From 50ac561d284e7ff4be438716ec876727bfc69e93 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 17:49:00 -0700 Subject: [PATCH 001/262] remove placeholders --- .../placeholder-connect-chain/.babelrc.js | 14 ---- .../placeholder-connect-chain/.editorconfig | 12 ---- .../placeholder-connect-chain/.eslintignore | 5 -- .../placeholder-connect-chain/.eslintrc.js | 71 ------------------- .../placeholder-connect-chain/.gitignore | 48 ------------- .../placeholder-connect-chain/.npmignore | 32 --------- templates/placeholder-connect-chain/.npmrc | 1 - .../placeholder-connect-chain/CHANGELOG.md | 8 --- templates/placeholder-connect-chain/LICENSE | 21 ------ templates/placeholder-connect-chain/README.md | 1 - .../placeholder-connect-chain/package.json | 64 ----------------- .../placeholder-connect-chain/src/index.ts | 3 - .../placeholder-connect-chain/tsconfig.json | 15 ---- .../.babelrc.js | 14 ---- .../.editorconfig | 12 ---- .../.eslintignore | 5 -- .../.eslintrc.js | 71 ------------------- .../.gitignore | 48 ------------- .../.npmignore | 32 --------- .../placeholder-connect-multi-chain/.npmrc | 1 - .../CHANGELOG.md | 8 --- .../placeholder-connect-multi-chain/LICENSE | 21 ------ .../placeholder-connect-multi-chain/README.md | 1 - .../package.json | 64 ----------------- .../src/index.ts | 3 - .../tsconfig.json | 15 ---- 26 files changed, 590 deletions(-) delete mode 100644 templates/placeholder-connect-chain/.babelrc.js delete mode 100644 templates/placeholder-connect-chain/.editorconfig delete mode 100644 templates/placeholder-connect-chain/.eslintignore delete mode 100644 templates/placeholder-connect-chain/.eslintrc.js delete mode 100644 templates/placeholder-connect-chain/.gitignore delete mode 100644 templates/placeholder-connect-chain/.npmignore delete mode 100644 templates/placeholder-connect-chain/.npmrc delete mode 100644 templates/placeholder-connect-chain/CHANGELOG.md delete mode 100644 templates/placeholder-connect-chain/LICENSE delete mode 100644 templates/placeholder-connect-chain/README.md delete mode 100644 templates/placeholder-connect-chain/package.json delete mode 100644 templates/placeholder-connect-chain/src/index.ts delete mode 100644 templates/placeholder-connect-chain/tsconfig.json delete mode 100644 templates/placeholder-connect-multi-chain/.babelrc.js delete mode 100644 templates/placeholder-connect-multi-chain/.editorconfig delete mode 100644 templates/placeholder-connect-multi-chain/.eslintignore delete mode 100644 templates/placeholder-connect-multi-chain/.eslintrc.js delete mode 100644 templates/placeholder-connect-multi-chain/.gitignore delete mode 100644 templates/placeholder-connect-multi-chain/.npmignore delete mode 100644 templates/placeholder-connect-multi-chain/.npmrc delete mode 100644 templates/placeholder-connect-multi-chain/CHANGELOG.md delete mode 100644 templates/placeholder-connect-multi-chain/LICENSE delete mode 100644 templates/placeholder-connect-multi-chain/README.md delete mode 100644 templates/placeholder-connect-multi-chain/package.json delete mode 100644 templates/placeholder-connect-multi-chain/src/index.ts delete mode 100644 templates/placeholder-connect-multi-chain/tsconfig.json diff --git a/templates/placeholder-connect-chain/.babelrc.js b/templates/placeholder-connect-chain/.babelrc.js deleted file mode 100644 index 57dd01481..000000000 --- a/templates/placeholder-connect-chain/.babelrc.js +++ /dev/null @@ -1,14 +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/proposal-export-default-from' - ], - presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] - }; -}; diff --git a/templates/placeholder-connect-chain/.editorconfig b/templates/placeholder-connect-chain/.editorconfig deleted file mode 100644 index 4a7ea3036..000000000 --- a/templates/placeholder-connect-chain/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/templates/placeholder-connect-chain/.eslintignore b/templates/placeholder-connect-chain/.eslintignore deleted file mode 100644 index 38ba48499..000000000 --- a/templates/placeholder-connect-chain/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules/ -dist/ -main/ -module/ -coverage/ \ No newline at end of file diff --git a/templates/placeholder-connect-chain/.eslintrc.js b/templates/placeholder-connect-chain/.eslintrc.js deleted file mode 100644 index 2718e8bc4..000000000 --- a/templates/placeholder-connect-chain/.eslintrc.js +++ /dev/null @@ -1,71 +0,0 @@ -module.exports = { - plugins: ['prettier'], - extends: ['eslint:recommended', 'prettier'], - parser: '@babel/eslint-parser', - parserOptions: { - ecmaVersion: 11, - requireConfigFile: false, - sourceType: 'module', - ecmaFeatures: { - jsx: true - } - }, - env: { - es6: true, - browser: true, - node: true, - jest: true - }, - rules: { - 'no-debugger': 2, - 'no-alert': 2, - 'no-await-in-loop': 0, - 'no-prototype-builtins': 0, - 'no-return-assign': ['error', 'except-parens'], - 'no-restricted-syntax': [ - 2, - 'ForInStatement', - 'LabeledStatement', - 'WithStatement' - ], - 'no-unused-vars': [ - 0, - { - ignoreSiblings: true, - argsIgnorePattern: 'React|res|next|^_' - } - ], - 'prefer-const': [ - 'error', - { - destructuring: 'all' - } - ], - 'no-unused-expressions': [ - 2, - { - allowTaggedTemplates: true - } - ], - 'no-console': 1, - 'comma-dangle': 2, - 'jsx-quotes': [2, 'prefer-double'], - 'linebreak-style': ['error', 'unix'], - quotes: [ - 2, - 'single', - { - avoidEscape: true, - allowTemplateLiterals: true - } - ], - 'prettier/prettier': [ - 'error', - { - trailingComma: 'none', - singleQuote: true, - printWidth: 80 - } - ] - } -}; diff --git a/templates/placeholder-connect-chain/.gitignore b/templates/placeholder-connect-chain/.gitignore deleted file mode 100644 index d93985ec4..000000000 --- a/templates/placeholder-connect-chain/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# dist -main -module - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history - -# Editors -.idea - -# Lib -lib - -# npm package lock -package-lock.json -yarn.lock - -# others -.DS_Store \ No newline at end of file diff --git a/templates/placeholder-connect-chain/.npmignore b/templates/placeholder-connect-chain/.npmignore deleted file mode 100644 index cc2605fa8..000000000 --- a/templates/placeholder-connect-chain/.npmignore +++ /dev/null @@ -1,32 +0,0 @@ -*.log -npm-debug.log* - -# Coverage directory used by tools like istanbul -coverage -.nyc_output - -# Dependency directories -node_modules - -# npm package lock -package-lock.json -yarn.lock - -# project files -__fixtures__ -__tests__ -.babelrc -.babelrc.js -.editorconfig -.eslintignore -.eslintrc -.eslintrc.js -.gitignore -.travis.yml -.vscode -CHANGELOG.md -examples -jest.config.js -package.json -src -test \ No newline at end of file diff --git a/templates/placeholder-connect-chain/.npmrc b/templates/placeholder-connect-chain/.npmrc deleted file mode 100644 index a21347f1b..000000000 --- a/templates/placeholder-connect-chain/.npmrc +++ /dev/null @@ -1 +0,0 @@ -scripts-prepend-node-path=true \ No newline at end of file diff --git a/templates/placeholder-connect-chain/CHANGELOG.md b/templates/placeholder-connect-chain/CHANGELOG.md deleted file mode 100644 index 24b83a2b3..000000000 --- a/templates/placeholder-connect-chain/CHANGELOG.md +++ /dev/null @@ -1,8 +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. - -## 0.0.2 (2022-08-18) - -**Note:** Version bump only for package connect-chain diff --git a/templates/placeholder-connect-chain/LICENSE b/templates/placeholder-connect-chain/LICENSE deleted file mode 100644 index b0b3013a6..000000000 --- a/templates/placeholder-connect-chain/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2022 Dan Lynch - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/templates/placeholder-connect-chain/README.md b/templates/placeholder-connect-chain/README.md deleted file mode 100644 index 157eac757..000000000 --- a/templates/placeholder-connect-chain/README.md +++ /dev/null @@ -1 +0,0 @@ -# connect-chain \ No newline at end of file diff --git a/templates/placeholder-connect-chain/package.json b/templates/placeholder-connect-chain/package.json deleted file mode 100644 index a33d31302..000000000 --- a/templates/placeholder-connect-chain/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "connect-chain", - "version": "0.0.2", - "description": "connect-chain", - "author": "Dan Lynch ", - "homepage": "https://github.com/cosmology-tech/connect-chain#readme", - "license": "SEE LICENSE IN LICENSE", - "main": "main/index.js", - "module": "module/index.js", - "typings": "types/index.d.ts", - "private": true, - "directories": { - "lib": "src", - "test": "__tests__" - }, - "files": [ - "types", - "main", - "module" - ], - "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": "npm run build:module && npm run build:main", - "build:ts": "tsc --project ./tsconfig.json", - "prepare": "npm run build", - "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", - "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", - "lint": "eslint .", - "format": "eslint --fix .", - "test": "jest", - "test:watch": "jest --watch", - "test:debug": "node --inspect node_modules/.bin/jest --runInBand" - }, - "devDependencies": { - "@babel/cli": "7.18.6", - "@babel/core": "7.18.6", - "@babel/eslint-parser": "^7.5.4", - "@babel/node": "^7.10.5", - "@babel/plugin-proposal-class-properties": "7.18.6", - "@babel/plugin-proposal-export-default-from": "7.18.6", - "@babel/plugin-proposal-object-rest-spread": "7.18.6", - "@babel/plugin-transform-runtime": "7.18.6", - "@babel/preset-env": "7.18.6", - "@babel/preset-typescript": "^7.16.7", - "@types/jest": "^28.1.5", - "babel-core": "7.0.0-bridge.0", - "babel-jest": "28.1.3", - "babel-watch": "^7.0.0", - "cross-env": "^7.0.2", - "eslint": "8.19.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.0.0", - "jest": "^28.1.3", - "jest-in-case": "^1.0.2", - "prettier": "^2.1.2", - "regenerator-runtime": "^0.13.7", - "ts-jest": "^28.0.5", - "typescript": "^4.6.2" - }, - "dependencies": { - "@babel/runtime": "^7.11.2" - } -} diff --git a/templates/placeholder-connect-chain/src/index.ts b/templates/placeholder-connect-chain/src/index.ts deleted file mode 100644 index d552654b5..000000000 --- a/templates/placeholder-connect-chain/src/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default () => { - -}; diff --git a/templates/placeholder-connect-chain/tsconfig.json b/templates/placeholder-connect-chain/tsconfig.json deleted file mode 100644 index 9aa2a288a..000000000 --- a/templates/placeholder-connect-chain/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "declaration": true, - "declarationDir": "./types", - "emitDeclarationOnly": true, - "isolatedModules": true, - "allowJs": true - }, - "include": [ - "src/**/*" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/.babelrc.js b/templates/placeholder-connect-multi-chain/.babelrc.js deleted file mode 100644 index 57dd01481..000000000 --- a/templates/placeholder-connect-multi-chain/.babelrc.js +++ /dev/null @@ -1,14 +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/proposal-export-default-from' - ], - presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] - }; -}; diff --git a/templates/placeholder-connect-multi-chain/.editorconfig b/templates/placeholder-connect-multi-chain/.editorconfig deleted file mode 100644 index 4a7ea3036..000000000 --- a/templates/placeholder-connect-multi-chain/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/templates/placeholder-connect-multi-chain/.eslintignore b/templates/placeholder-connect-multi-chain/.eslintignore deleted file mode 100644 index 38ba48499..000000000 --- a/templates/placeholder-connect-multi-chain/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules/ -dist/ -main/ -module/ -coverage/ \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/.eslintrc.js b/templates/placeholder-connect-multi-chain/.eslintrc.js deleted file mode 100644 index 2718e8bc4..000000000 --- a/templates/placeholder-connect-multi-chain/.eslintrc.js +++ /dev/null @@ -1,71 +0,0 @@ -module.exports = { - plugins: ['prettier'], - extends: ['eslint:recommended', 'prettier'], - parser: '@babel/eslint-parser', - parserOptions: { - ecmaVersion: 11, - requireConfigFile: false, - sourceType: 'module', - ecmaFeatures: { - jsx: true - } - }, - env: { - es6: true, - browser: true, - node: true, - jest: true - }, - rules: { - 'no-debugger': 2, - 'no-alert': 2, - 'no-await-in-loop': 0, - 'no-prototype-builtins': 0, - 'no-return-assign': ['error', 'except-parens'], - 'no-restricted-syntax': [ - 2, - 'ForInStatement', - 'LabeledStatement', - 'WithStatement' - ], - 'no-unused-vars': [ - 0, - { - ignoreSiblings: true, - argsIgnorePattern: 'React|res|next|^_' - } - ], - 'prefer-const': [ - 'error', - { - destructuring: 'all' - } - ], - 'no-unused-expressions': [ - 2, - { - allowTaggedTemplates: true - } - ], - 'no-console': 1, - 'comma-dangle': 2, - 'jsx-quotes': [2, 'prefer-double'], - 'linebreak-style': ['error', 'unix'], - quotes: [ - 2, - 'single', - { - avoidEscape: true, - allowTemplateLiterals: true - } - ], - 'prettier/prettier': [ - 'error', - { - trailingComma: 'none', - singleQuote: true, - printWidth: 80 - } - ] - } -}; diff --git a/templates/placeholder-connect-multi-chain/.gitignore b/templates/placeholder-connect-multi-chain/.gitignore deleted file mode 100644 index d93985ec4..000000000 --- a/templates/placeholder-connect-multi-chain/.gitignore +++ /dev/null @@ -1,48 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# dist -main -module - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history - -# Editors -.idea - -# Lib -lib - -# npm package lock -package-lock.json -yarn.lock - -# others -.DS_Store \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/.npmignore b/templates/placeholder-connect-multi-chain/.npmignore deleted file mode 100644 index cc2605fa8..000000000 --- a/templates/placeholder-connect-multi-chain/.npmignore +++ /dev/null @@ -1,32 +0,0 @@ -*.log -npm-debug.log* - -# Coverage directory used by tools like istanbul -coverage -.nyc_output - -# Dependency directories -node_modules - -# npm package lock -package-lock.json -yarn.lock - -# project files -__fixtures__ -__tests__ -.babelrc -.babelrc.js -.editorconfig -.eslintignore -.eslintrc -.eslintrc.js -.gitignore -.travis.yml -.vscode -CHANGELOG.md -examples -jest.config.js -package.json -src -test \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/.npmrc b/templates/placeholder-connect-multi-chain/.npmrc deleted file mode 100644 index a21347f1b..000000000 --- a/templates/placeholder-connect-multi-chain/.npmrc +++ /dev/null @@ -1 +0,0 @@ -scripts-prepend-node-path=true \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/CHANGELOG.md b/templates/placeholder-connect-multi-chain/CHANGELOG.md deleted file mode 100644 index 1f395be03..000000000 --- a/templates/placeholder-connect-multi-chain/CHANGELOG.md +++ /dev/null @@ -1,8 +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. - -## 0.0.2 (2022-08-18) - -**Note:** Version bump only for package connect-multi-chain diff --git a/templates/placeholder-connect-multi-chain/LICENSE b/templates/placeholder-connect-multi-chain/LICENSE deleted file mode 100644 index b0b3013a6..000000000 --- a/templates/placeholder-connect-multi-chain/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2022 Dan Lynch - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/templates/placeholder-connect-multi-chain/README.md b/templates/placeholder-connect-multi-chain/README.md deleted file mode 100644 index 43e7650ef..000000000 --- a/templates/placeholder-connect-multi-chain/README.md +++ /dev/null @@ -1 +0,0 @@ -# connect-multi-chain \ No newline at end of file diff --git a/templates/placeholder-connect-multi-chain/package.json b/templates/placeholder-connect-multi-chain/package.json deleted file mode 100644 index a09685c6d..000000000 --- a/templates/placeholder-connect-multi-chain/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "connect-multi-chain", - "version": "0.0.2", - "description": "connect-multi-chain", - "author": "Dan Lynch ", - "homepage": "https://github.com/cosmology-tech/connect-multi-chain#readme", - "license": "SEE LICENSE IN LICENSE", - "main": "main/index.js", - "module": "module/index.js", - "typings": "types/index.d.ts", - "private": true, - "directories": { - "lib": "src", - "test": "__tests__" - }, - "files": [ - "types", - "main", - "module" - ], - "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": "npm run build:module && npm run build:main", - "build:ts": "tsc --project ./tsconfig.json", - "prepare": "npm run build", - "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", - "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", - "lint": "eslint .", - "format": "eslint --fix .", - "test": "jest", - "test:watch": "jest --watch", - "test:debug": "node --inspect node_modules/.bin/jest --runInBand" - }, - "devDependencies": { - "@babel/cli": "7.18.6", - "@babel/core": "7.18.6", - "@babel/eslint-parser": "^7.5.4", - "@babel/node": "^7.10.5", - "@babel/plugin-proposal-class-properties": "7.18.6", - "@babel/plugin-proposal-export-default-from": "7.18.6", - "@babel/plugin-proposal-object-rest-spread": "7.18.6", - "@babel/plugin-transform-runtime": "7.18.6", - "@babel/preset-env": "7.18.6", - "@babel/preset-typescript": "^7.16.7", - "@types/jest": "^28.1.5", - "babel-core": "7.0.0-bridge.0", - "babel-jest": "28.1.3", - "babel-watch": "^7.0.0", - "cross-env": "^7.0.2", - "eslint": "8.19.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.0.0", - "jest": "^28.1.3", - "jest-in-case": "^1.0.2", - "prettier": "^2.1.2", - "regenerator-runtime": "^0.13.7", - "ts-jest": "^28.0.5", - "typescript": "^4.6.2" - }, - "dependencies": { - "@babel/runtime": "^7.11.2" - } -} diff --git a/templates/placeholder-connect-multi-chain/src/index.ts b/templates/placeholder-connect-multi-chain/src/index.ts deleted file mode 100644 index d552654b5..000000000 --- a/templates/placeholder-connect-multi-chain/src/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default () => { - -}; diff --git a/templates/placeholder-connect-multi-chain/tsconfig.json b/templates/placeholder-connect-multi-chain/tsconfig.json deleted file mode 100644 index 9aa2a288a..000000000 --- a/templates/placeholder-connect-multi-chain/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "declaration": true, - "declarationDir": "./types", - "emitDeclarationOnly": true, - "isolatedModules": true, - "allowJs": true - }, - "include": [ - "src/**/*" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file From 338da98be20222b9faa728cc5891a4aa81f15452 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 17:49:46 -0700 Subject: [PATCH 002/262] remove lock --- .../connect-multi-chain/package-lock.json | 13348 ---------------- 1 file changed, 13348 deletions(-) delete mode 100644 templates/connect-multi-chain/package-lock.json diff --git a/templates/connect-multi-chain/package-lock.json b/templates/connect-multi-chain/package-lock.json deleted file mode 100644 index 3266f61f1..000000000 --- a/templates/connect-multi-chain/package-lock.json +++ /dev/null @@ -1,13348 +0,0 @@ -{ - "name": "@cosmos-app/connect-multi-chain", - "version": "0.1.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@cosmos-app/connect-multi-chain", - "version": "0.1.0", - "dependencies": { - "@chakra-ui/icons": "^2.0.8", - "@chakra-ui/react": "^2.2.8", - "@cosmos-kit/react": "^0.11.0", - "@cosmos-kit/types": "^0.11.0", - "chain-registry": "^0.7.0", - "chakra-react-select": "^4.1.4", - "fast-fuzzy": "^1.11.2", - "next": "12.2.5", - "react": "18.2.0", - "react-dom": "18.2.0", - "react-icons": "^4.4.0" - }, - "devDependencies": { - "@types/node": "18.7.6", - "@types/react": "18.0.17", - "@types/react-dom": "18.0.6", - "eslint": "8.22.0", - "eslint-config-next": "12.2.5", - "typescript": "4.7.4" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.0", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.18.8", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.18.10", - "license": "MIT", - "peer": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.10", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helpers": "^7.18.9", - "@babel/parser": "^7.18.10", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.10", - "@babel/types": "^7.18.10", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.18.12", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.10", - "@jridgewell/gen-mapping": "^0.3.2", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "license": "MIT", - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.18.9", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.20.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.18.9", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "@babel/template": "^7.18.6", - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.18.9", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.18.9", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.18.6", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.18.10", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.18.6", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.18.9", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.18.11", - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.18.9", - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/runtime-corejs3": { - "version": "7.18.9", - "dev": true, - "license": "MIT", - "dependencies": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.18.10", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.18.11", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.10", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.18.11", - "@babel/types": "^7.18.10", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.18.10", - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.18.10", - "@babel/helper-validator-identifier": "^7.18.6", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@chain-registry/types": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.5.0.tgz", - "integrity": "sha512-GJ342SiOH3VH1ivqjcIGAQ+KGj/bSJGY6AptERc3cTgfeQjyRYgsRnC+at4COcGtAfxRYPLKWmr3iQoriKnrMg==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@keplr-wallet/cosmos": "^0.10.3", - "@keplr-wallet/crypto": "^0.10.11" - } - }, - "node_modules/@chakra-ui/accordion": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/react-use-controllable-state": "2.0.2", - "@chakra-ui/react-use-merge-refs": "2.0.2", - "@chakra-ui/transition": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/alert": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/spinner": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/anatomy": { - "version": "2.0.4", - "license": "MIT" - }, - "node_modules/@chakra-ui/avatar": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/image": "2.0.9", - "@chakra-ui/react-context": "2.0.2" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/breadcrumb": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/button": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/spinner": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/checkbox": { - "version": "2.1.7", - "license": "MIT", - "dependencies": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8", - "@zag-js/focus-visible": "0.1.0" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/clickable": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/close-button": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/color-mode": { - "version": "2.1.6", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/control-box": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/counter": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/css-reset": { - "version": "2.0.4", - "license": "MIT", - "peerDependencies": { - "@emotion/react": ">=10.0.35", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/descendant": { - "version": "3.0.7", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/editable": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/event-utils": { - "version": "2.0.2", - "license": "MIT" - }, - "node_modules/@chakra-ui/focus-lock": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8", - "react-focus-lock": "^2.9.1" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/form-control": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/hooks": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "compute-scroll-into-view": "1.0.14", - "copy-to-clipboard": "3.3.1" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/icon": { - "version": "3.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/icons": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz", - "integrity": "sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog==", - "dependencies": { - "@chakra-ui/icon": "3.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/image": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/input": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/layout": { - "version": "2.1.5", - "license": "MIT", - "dependencies": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/live-region": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/media-query": { - "version": "3.2.4", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "@chakra-ui/theme": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/menu": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "@chakra-ui/clickable": "2.0.8", - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/modal": { - "version": "2.1.6", - "license": "MIT", - "dependencies": { - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/focus-lock": "2.0.9", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8", - "aria-hidden": "^1.1.1", - "react-remove-scroll": "^2.5.4" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/number-input": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/counter": "2.0.8", - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/number-utils": { - "version": "2.0.2", - "license": "MIT" - }, - "node_modules/@chakra-ui/pin-input": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/popover": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/popper": { - "version": "3.0.6", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@popperjs/core": "^2.9.3" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/portal": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/progress": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/theme-tools": "2.0.9", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/provider": { - "version": "2.0.13", - "license": "MIT", - "dependencies": { - "@chakra-ui/css-reset": "2.0.4", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@emotion/react": "^11.0.0", - "@emotion/styled": "^11.0.0", - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/radio": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8", - "@zag-js/focus-visible": "0.1.0" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react": { - "version": "2.2.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/accordion": "2.0.10", - "@chakra-ui/alert": "2.0.8", - "@chakra-ui/avatar": "2.0.9", - "@chakra-ui/breadcrumb": "2.0.8", - "@chakra-ui/button": "2.0.8", - "@chakra-ui/checkbox": "2.1.7", - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/control-box": "2.0.8", - "@chakra-ui/counter": "2.0.8", - "@chakra-ui/css-reset": "2.0.4", - "@chakra-ui/editable": "2.0.8", - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/image": "2.0.9", - "@chakra-ui/input": "2.0.8", - "@chakra-ui/layout": "2.1.5", - "@chakra-ui/live-region": "2.0.8", - "@chakra-ui/media-query": "3.2.4", - "@chakra-ui/menu": "2.0.10", - "@chakra-ui/modal": "2.1.6", - "@chakra-ui/number-input": "2.0.8", - "@chakra-ui/pin-input": "2.0.10", - "@chakra-ui/popover": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/progress": "2.0.9", - "@chakra-ui/provider": "2.0.13", - "@chakra-ui/radio": "2.0.9", - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/select": "2.0.8", - "@chakra-ui/skeleton": "2.0.13", - "@chakra-ui/slider": "2.0.8", - "@chakra-ui/spinner": "2.0.8", - "@chakra-ui/stat": "2.0.8", - "@chakra-ui/switch": "2.0.10", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/table": "2.0.8", - "@chakra-ui/tabs": "2.0.10", - "@chakra-ui/tag": "2.0.8", - "@chakra-ui/textarea": "2.0.9", - "@chakra-ui/theme": "2.1.7", - "@chakra-ui/toast": "3.0.6", - "@chakra-ui/tooltip": "2.0.9", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - }, - "peerDependencies": { - "@emotion/react": "^11.0.0", - "@emotion/styled": "^11.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/react-context": { - "version": "2.0.2", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-env": { - "version": "2.0.8", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-types": { - "version": "2.0.2", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-callback-ref": { - "version": "2.0.2", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-controllable-state": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-use-callback-ref": "2.0.2" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-merge-refs": { - "version": "2.0.2", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-pan-event": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "@chakra-ui/event-utils": "2.0.2", - "framesync": "5.3.0" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-size": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "@zag-js/element-size": "0.1.0" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-use-update-effect": { - "version": "2.0.2", - "license": "MIT", - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/react-utils": { - "version": "2.0.5", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "react": ">=18" - } - }, - "node_modules/@chakra-ui/select": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/skeleton": { - "version": "2.0.13", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/media-query": "3.2.4", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/theme": ">=2.0.0", - "@emotion/react": "^11.0.0", - "@emotion/styled": "^11.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/slider": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/number-utils": "2.0.2", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/react-types": "2.0.2", - "@chakra-ui/react-use-callback-ref": "2.0.2", - "@chakra-ui/react-use-controllable-state": "2.0.2", - "@chakra-ui/react-use-merge-refs": "2.0.2", - "@chakra-ui/react-use-pan-event": "2.0.2", - "@chakra-ui/react-use-size": "2.0.2", - "@chakra-ui/react-use-update-effect": "2.0.2" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/spinner": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/stat": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/styled-system": { - "version": "2.2.7", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8", - "csstype": "^3.0.11" - } - }, - "node_modules/@chakra-ui/switch": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "@chakra-ui/checkbox": "2.1.7", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/system": { - "version": "2.2.6", - "license": "MIT", - "dependencies": { - "@chakra-ui/color-mode": "2.1.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/styled-system": "2.2.7", - "@chakra-ui/utils": "2.0.8", - "react-fast-compare": "3.2.0" - }, - "peerDependencies": { - "@emotion/react": "^11.0.0", - "@emotion/styled": "^11.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/table": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/tabs": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "@chakra-ui/clickable": "2.0.8", - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/tag": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/textarea": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/theme": { - "version": "2.1.7", - "license": "MIT", - "dependencies": { - "@chakra-ui/anatomy": "2.0.4", - "@chakra-ui/theme-tools": "2.0.9", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/styled-system": ">=2.0.0" - } - }, - "node_modules/@chakra-ui/theme-tools": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/anatomy": "2.0.4", - "@chakra-ui/utils": "2.0.8", - "@ctrl/tinycolor": "^3.4.0" - }, - "peerDependencies": { - "@chakra-ui/styled-system": ">=2.0.0" - } - }, - "node_modules/@chakra-ui/toast": { - "version": "3.0.6", - "license": "MIT", - "dependencies": { - "@chakra-ui/alert": "2.0.8", - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/theme": "2.1.7", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": "2.2.6", - "framer-motion": ">=4.0.0", - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/tooltip": { - "version": "2.0.9", - "license": "MIT", - "dependencies": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18", - "react-dom": ">=18" - } - }, - "node_modules/@chakra-ui/transition": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "framer-motion": ">=4.0.0", - "react": ">=18" - } - }, - "node_modules/@chakra-ui/utils": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@types/lodash.mergewith": "4.6.6", - "css-box-model": "1.2.1", - "framesync": "5.3.0", - "lodash.mergewith": "4.6.2" - } - }, - "node_modules/@chakra-ui/visually-hidden": { - "version": "2.0.8", - "license": "MIT", - "dependencies": { - "@chakra-ui/utils": "2.0.8" - }, - "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" - } - }, - "node_modules/@confio/ics23": { - "version": "0.6.8", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@noble/hashes": "^1.0.0", - "protobufjs": "^6.8.8" - } - }, - "node_modules/@cosmjs/amino": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13" - } - }, - "node_modules/@cosmjs/cosmwasm-stargate": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmjs/tendermint-rpc": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0", - "pako": "^2.0.2" - } - }, - "node_modules/@cosmjs/crypto": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "@noble/hashes": "^1", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "libsodium-wrappers": "^0.7.6" - } - }, - "node_modules/@cosmjs/encoding": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@cosmjs/json-rpc": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/stream": "0.28.13", - "xstream": "^11.14.0" - } - }, - "node_modules/@cosmjs/launchpad": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/amino": "0.27.1", - "@cosmjs/crypto": "0.27.1", - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1", - "axios": "^0.21.2", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/amino": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/crypto": "0.27.1", - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1" - } - }, - "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/crypto": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1", - "bip39": "^3.0.2", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11" - } - }, - "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/encoding": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/math": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, - "node_modules/@cosmjs/launchpad/node_modules/@cosmjs/utils": { - "version": "0.27.1", - "license": "Apache-2.0", - "peer": true - }, - "node_modules/@cosmjs/math": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "bn.js": "^5.2.0" - } - }, - "node_modules/@cosmjs/proto-signing": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0" - } - }, - "node_modules/@cosmjs/socket": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/stream": "0.28.13", - "isomorphic-ws": "^4.0.1", - "ws": "^7", - "xstream": "^11.14.0" - } - }, - "node_modules/@cosmjs/stargate": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@confio/ics23": "^0.6.8", - "@cosmjs/amino": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stream": "0.28.13", - "@cosmjs/tendermint-rpc": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0", - "protobufjs": "~6.11.3", - "xstream": "^11.14.0" - } - }, - "node_modules/@cosmjs/stream": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "xstream": "^11.14.0" - } - }, - "node_modules/@cosmjs/tendermint-rpc": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/json-rpc": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/socket": "0.28.13", - "@cosmjs/stream": "0.28.13", - "@cosmjs/utils": "0.28.13", - "axios": "^0.21.2", - "readonly-date": "^1.0.0", - "xstream": "^11.14.0" - } - }, - "node_modules/@cosmjs/utils": { - "version": "0.28.13", - "license": "Apache-2.0", - "peer": true - }, - "node_modules/@cosmos-kit/core": { - "version": "0.11.0", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/registry": "^0.11.0", - "@cosmos-kit/types": "^0.11.0", - "@keplr-wallet/cosmos": "^0.10.12", - "@walletconnect/client": "1.7.8" - }, - "peerDependencies": { - "@cosmjs/cosmwasm-stargate": "^0.28", - "@cosmjs/stargate": "^0.28", - "@keplr-wallet/types": "^0.10" - } - }, - "node_modules/@cosmos-kit/keplr": { - "version": "0.11.0", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/types": "^0.11.0", - "@keplr-wallet/common": "^0.10.12", - "@keplr-wallet/cosmos": "^0.10.12", - "@keplr-wallet/provider": "^0.10.12", - "@keplr-wallet/stores": "^0.10.12", - "@walletconnect/browser-utils": "1.7.8", - "@walletconnect/types": "1.7.8", - "@walletconnect/utils": "1.7.8", - "axios": "0.27.2", - "buffer": "6.0.3", - "deepmerge": "4.2.2", - "secretjs": "0.17.5" - }, - "peerDependencies": { - "@cosmjs/cosmwasm-stargate": "^0.28", - "@cosmjs/launchpad": "^0.27", - "@cosmjs/proto-signing": "^0.28", - "@cosmjs/stargate": "^0.28", - "@keplr-wallet/types": "^0.10" - } - }, - "node_modules/@cosmos-kit/keplr/node_modules/axios": { - "version": "0.27.2", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, - "node_modules/@cosmos-kit/react": { - "version": "0.11.0", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/core": "^0.11.0", - "@testing-library/react": "13.3.0", - "@walletconnect/browser-utils": "1.7.8", - "qrcode.react": "3.1.0", - "react-modal": "3.15.1", - "styled-components": "5.3.5" - }, - "peerDependencies": { - "@keplr-wallet/types": "^0.10", - "react": "^16 || ^17 || ^18", - "react-dom": "^16 || ^17 || ^18" - } - }, - "node_modules/@cosmos-kit/registry": { - "version": "0.11.0", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/keplr": "^0.11.0", - "@cosmos-kit/types": "^0.11.0" - } - }, - "node_modules/@cosmos-kit/types": { - "version": "0.11.0", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@walletconnect/client": "1.7.8", - "@walletconnect/types": "1.7.8" - }, - "peerDependencies": { - "@cosmjs/cosmwasm-stargate": "^0.28", - "@cosmjs/proto-signing": "^0.28", - "@cosmjs/stargate": "^0.28", - "@keplr-wallet/types": "^0.10" - } - }, - "node_modules/@ctrl/tinycolor": { - "version": "3.4.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/@emotion/babel-plugin": { - "version": "11.10.0", - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/plugin-syntax-jsx": "^7.17.12", - "@babel/runtime": "^7.18.3", - "@emotion/hash": "^0.9.0", - "@emotion/memoize": "^0.8.0", - "@emotion/serialize": "^1.1.0", - "babel-plugin-macros": "^3.1.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.0.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@emotion/cache": { - "version": "11.10.1", - "license": "MIT", - "dependencies": { - "@emotion/memoize": "^0.8.0", - "@emotion/sheet": "^1.2.0", - "@emotion/utils": "^1.2.0", - "@emotion/weak-memoize": "^0.3.0", - "stylis": "4.0.13" - } - }, - "node_modules/@emotion/hash": { - "version": "0.9.0", - "license": "MIT" - }, - "node_modules/@emotion/is-prop-valid": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "@emotion/memoize": "^0.8.0" - } - }, - "node_modules/@emotion/memoize": { - "version": "0.8.0", - "license": "MIT" - }, - "node_modules/@emotion/react": { - "version": "11.10.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.0", - "@emotion/cache": "^11.10.0", - "@emotion/serialize": "^1.1.0", - "@emotion/utils": "^1.2.0", - "@emotion/weak-memoize": "^0.3.0", - "hoist-non-react-statics": "^3.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/serialize": { - "version": "1.1.0", - "license": "MIT", - "dependencies": { - "@emotion/hash": "^0.9.0", - "@emotion/memoize": "^0.8.0", - "@emotion/unitless": "^0.8.0", - "@emotion/utils": "^1.2.0", - "csstype": "^3.0.2" - } - }, - "node_modules/@emotion/sheet": { - "version": "1.2.0", - "license": "MIT" - }, - "node_modules/@emotion/styled": { - "version": "11.10.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.0", - "@emotion/is-prop-valid": "^1.2.0", - "@emotion/serialize": "^1.1.0", - "@emotion/utils": "^1.2.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "@emotion/react": "^11.0.0-rc.0", - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/stylis": { - "version": "0.8.5", - "license": "MIT" - }, - "node_modules/@emotion/unitless": { - "version": "0.8.0", - "license": "MIT" - }, - "node_modules/@emotion/utils": { - "version": "1.2.0", - "license": "MIT" - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.3.0", - "license": "MIT" - }, - "node_modules/@eslint/eslintrc": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.3.2", - "globals": "^13.15.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" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.17.0", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@ethersproject/abstract-provider": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "node_modules/@ethersproject/abstract-signer": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "node_modules/@ethersproject/address": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/rlp": "^5.7.0" - } - }, - "node_modules/@ethersproject/base64": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "node_modules/@ethersproject/basex": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "node_modules/@ethersproject/bignumber": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "bn.js": "^5.2.1" - } - }, - "node_modules/@ethersproject/bytes": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/constants": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "node_modules/@ethersproject/hash": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/hdnode": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "node_modules/@ethersproject/json-wallets": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, - "node_modules/@ethersproject/json-wallets/node_modules/aes-js": { - "version": "3.0.0", - "license": "MIT" - }, - "node_modules/@ethersproject/keccak256": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "js-sha3": "0.8.0" - } - }, - "node_modules/@ethersproject/logger": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT" - }, - "node_modules/@ethersproject/networks": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/pbkdf2": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, - "node_modules/@ethersproject/properties": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/random": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/rlp": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/sha2": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/signing-key": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "node_modules/@ethersproject/strings": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "node_modules/@ethersproject/transactions": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "node_modules/@ethersproject/wallet": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "node_modules/@ethersproject/web": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@ethersproject/wordlists": { - "version": "5.7.0", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.10.4", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/gitignore-to-minimatch": { - "version": "1.0.2", - "dev": true, - "license": "Apache-2.0", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@iov/crypto": { - "version": "2.1.0", - "license": "Apache-2.0", - "dependencies": { - "@iov/encoding": "^2.1.0", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.4.0", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.0.16", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "type-tagger": "^1.0.0", - "unorm": "^1.5.0" - } - }, - "node_modules/@iov/crypto/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@iov/encoding": { - "version": "2.1.0", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.3", - "bn.js": "^4.11.8", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@iov/encoding/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@iov/utils": { - "version": "2.0.2", - "license": "Apache-2.0" - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "license": "MIT", - "peer": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.15", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@keplr-wallet/background": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/wallet": "^5.5.0", - "@keplr-wallet/common": "0.10.17", - "@keplr-wallet/cosmos": "0.10.17", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/popup": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "@ledgerhq/hw-transport": "^6.20.0", - "@ledgerhq/hw-transport-webhid": "^6.20.0", - "@ledgerhq/hw-transport-webusb": "^6.20.0", - "@tharsis/address-converter": "^0.1.5", - "aes-js": "^3.1.2", - "axios": "^0.21.4", - "big-integer": "^1.6.48", - "bip39": "^3.0.2", - "buffer": "^6.0.3", - "delay": "^4.4.0", - "joi": "^17.5.0", - "ledger-cosmos-js": "^2.1.8", - "long": "^4.0.0", - "pbkdf2": "^3.1.2", - "secp256k1": "^4.0.2", - "secretjs": "^0.17.0", - "utility-types": "^3.10.0" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/crypto": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/encoding": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/launchpad": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/math": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^4.11.8" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/proto-signing": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "node_modules/@keplr-wallet/background/node_modules/@cosmjs/utils": { - "version": "0.24.1", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/background/node_modules/@types/node": { - "version": "13.13.52", - "license": "MIT" - }, - "node_modules/@keplr-wallet/background/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@keplr-wallet/background/node_modules/protobufjs": { - "version": "6.10.3", - "hasInstallScript": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/@keplr-wallet/common": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@keplr-wallet/crypto": "0.10.17", - "buffer": "^6.0.3", - "delay": "^4.4.0" - } - }, - "node_modules/@keplr-wallet/cosmos": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "axios": "^0.21.4", - "bech32": "^1.1.4", - "buffer": "^6.0.3", - "long": "^4.0.0", - "protobufjs": "^6.11.2" - } - }, - "node_modules/@keplr-wallet/cosmos/node_modules/@cosmjs/crypto": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "node_modules/@keplr-wallet/cosmos/node_modules/@cosmjs/encoding": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@keplr-wallet/cosmos/node_modules/@cosmjs/launchpad": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@keplr-wallet/cosmos/node_modules/@cosmjs/math": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^4.11.8" - } - }, - "node_modules/@keplr-wallet/cosmos/node_modules/@cosmjs/utils": { - "version": "0.24.1", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/cosmos/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@keplr-wallet/crypto": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "bip32": "^2.0.6", - "bip39": "^3.0.3", - "bs58check": "^2.1.2", - "buffer": "^6.0.3", - "crypto-js": "^4.0.0", - "elliptic": "^6.5.3", - "sha.js": "^2.4.11" - } - }, - "node_modules/@keplr-wallet/popup": { - "version": "0.10.17", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/proto-types": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "^6.11.2" - } - }, - "node_modules/@keplr-wallet/provider": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "long": "^4.0.0", - "secretjs": "^0.17.0" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/crypto": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/encoding": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/launchpad": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/math": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^4.11.8" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/proto-signing": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "node_modules/@keplr-wallet/provider/node_modules/@cosmjs/utils": { - "version": "0.24.1", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/provider/node_modules/@types/node": { - "version": "13.13.52", - "license": "MIT" - }, - "node_modules/@keplr-wallet/provider/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@keplr-wallet/provider/node_modules/protobufjs": { - "version": "6.10.3", - "hasInstallScript": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/@keplr-wallet/router": { - "version": "0.10.17", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/stores": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.0-alpha.25", - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/tendermint-rpc": "^0.24.1", - "@ethersproject/address": "^5.6.0", - "@keplr-wallet/background": "0.10.17", - "@keplr-wallet/common": "0.10.17", - "@keplr-wallet/cosmos": "0.10.17", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "@tharsis/address-converter": "^0.1.5", - "axios": "^0.21.4", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "eventemitter3": "^4.0.7", - "mobx": "^6.1.7", - "mobx-utils": "^6.0.3", - "p-queue": "^6.6.2", - "utility-types": "^3.10.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/crypto": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/encoding": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/json-rpc": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/stream": "^0.24.1", - "xstream": "^11.14.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/launchpad": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/math": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^4.11.8" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/socket": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/stream": "^0.24.1", - "isomorphic-ws": "^4.0.1", - "ws": "^6.2.0", - "xstream": "^11.14.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/stream": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "xstream": "^11.14.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/tendermint-rpc": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/json-rpc": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/socket": "^0.24.1", - "@cosmjs/stream": "^0.24.1", - "axios": "^0.21.1", - "readonly-date": "^1.0.0", - "xstream": "^11.14.0" - } - }, - "node_modules/@keplr-wallet/stores/node_modules/@cosmjs/utils": { - "version": "0.24.1", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/stores/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@keplr-wallet/stores/node_modules/ws": { - "version": "6.2.2", - "license": "MIT", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/@keplr-wallet/types": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "axios": "^0.21.4", - "long": "^4.0.0", - "secretjs": "^0.17.0" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/crypto": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/encoding": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/launchpad": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/math": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^4.11.8" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/proto-signing": { - "version": "0.24.1", - "license": "Apache-2.0", - "dependencies": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "node_modules/@keplr-wallet/types/node_modules/@cosmjs/utils": { - "version": "0.24.1", - "license": "Apache-2.0" - }, - "node_modules/@keplr-wallet/types/node_modules/@types/node": { - "version": "13.13.52", - "license": "MIT" - }, - "node_modules/@keplr-wallet/types/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/@keplr-wallet/types/node_modules/protobufjs": { - "version": "6.10.3", - "hasInstallScript": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/@keplr-wallet/unit": { - "version": "0.10.17", - "license": "Apache-2.0", - "dependencies": { - "@keplr-wallet/types": "0.10.17", - "big-integer": "^1.6.48", - "utility-types": "^3.10.0" - } - }, - "node_modules/@ledgerhq/devices": { - "version": "7.0.0", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/logs": "^6.10.0", - "rxjs": "6", - "semver": "^7.3.5" - } - }, - "node_modules/@ledgerhq/devices/node_modules/semver": { - "version": "7.3.7", - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/errors": { - "version": "6.10.1", - "license": "Apache-2.0" - }, - "node_modules/@ledgerhq/hw-transport": { - "version": "6.27.2", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "events": "^3.3.0" - } - }, - "node_modules/@ledgerhq/hw-transport-webhid": { - "version": "6.27.2", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/hw-transport": "^6.27.2", - "@ledgerhq/logs": "^6.10.0" - } - }, - "node_modules/@ledgerhq/hw-transport-webusb": { - "version": "6.27.2", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/hw-transport": "^6.27.2", - "@ledgerhq/logs": "^6.10.0" - } - }, - "node_modules/@ledgerhq/logs": { - "version": "6.10.0", - "license": "Apache-2.0" - }, - "node_modules/@motionone/animation": { - "version": "10.14.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/easing": "^10.14.0", - "@motionone/types": "^10.14.0", - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "node_modules/@motionone/dom": { - "version": "10.13.1", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/animation": "^10.13.1", - "@motionone/generators": "^10.13.1", - "@motionone/types": "^10.13.0", - "@motionone/utils": "^10.13.1", - "hey-listen": "^1.0.8", - "tslib": "^2.3.1" - } - }, - "node_modules/@motionone/easing": { - "version": "10.14.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "node_modules/@motionone/generators": { - "version": "10.14.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/types": "^10.14.0", - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "node_modules/@motionone/types": { - "version": "10.14.0", - "license": "MIT", - "peer": true - }, - "node_modules/@motionone/utils": { - "version": "10.14.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/types": "^10.14.0", - "hey-listen": "^1.0.8", - "tslib": "^2.3.1" - } - }, - "node_modules/@next/env": { - "version": "12.2.5", - "license": "MIT" - }, - "node_modules/@next/eslint-plugin-next": { - "version": "12.2.5", - "dev": true, - "license": "MIT", - "dependencies": { - "glob": "7.1.7" - } - }, - "node_modules/@next/swc-darwin-x64": { - "version": "12.2.5", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@noble/hashes": { - "version": "1.1.2", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT", - "peer": true - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@popperjs/core": { - "version": "2.11.6", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "license": "BSD-3-Clause" - }, - "node_modules/@rushstack/eslint-patch": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/@sideway/address": { - "version": "4.1.4", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.0", - "license": "BSD-3-Clause" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "license": "BSD-3-Clause" - }, - "node_modules/@swc/helpers": { - "version": "0.4.3", - "license": "MIT", - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@testing-library/dom": { - "version": "8.17.1", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@testing-library/dom/node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@testing-library/dom/node_modules/chalk": { - "version": "4.1.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@testing-library/dom/node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@testing-library/dom/node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/@testing-library/dom/node_modules/has-flag": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/dom/node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@testing-library/react": { - "version": "13.3.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, - "node_modules/@tharsis/address-converter": { - "version": "0.1.8", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "bech32": "^2.0.0", - "crypto-addr-codec": "^0.1.7", - "link-module-alias": "^1.2.0", - "shx": "^0.3.4" - } - }, - "node_modules/@tharsis/address-converter/dist": { - "extraneous": true - }, - "node_modules/@tharsis/address-converter/node_modules/bech32": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/@types/aria-query": { - "version": "4.2.2", - "license": "MIT" - }, - "node_modules/@types/json5": { - "version": "0.0.29", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/lodash": { - "version": "4.14.184", - "license": "MIT" - }, - "node_modules/@types/lodash.mergewith": { - "version": "4.6.6", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, - "node_modules/@types/long": { - "version": "4.0.2", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "18.7.6", - "license": "MIT" - }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "license": "MIT" - }, - "node_modules/@types/prop-types": { - "version": "15.7.5", - "license": "MIT" - }, - "node_modules/@types/react": { - "version": "18.0.17", - "license": "MIT", - "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "node_modules/@types/react-dom": { - "version": "18.0.6", - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/@types/react-transition-group": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz", - "integrity": "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==", - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/@types/scheduler": { - "version": "0.16.2", - "license": "MIT" - }, - "node_modules/@typescript-eslint/parser": { - "version": "5.33.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/scope-manager": "5.33.1", - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/typescript-estree": "5.33.1", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.33.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/visitor-keys": "5.33.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.33.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.33.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/visitor-keys": "5.33.1", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.7", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.33.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.33.1", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@walletconnect/browser-utils": { - "version": "1.7.8", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.8", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "node_modules/@walletconnect/client": { - "version": "1.7.8", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/core": "^1.7.8", - "@walletconnect/iso-crypto": "^1.7.8", - "@walletconnect/types": "^1.7.8", - "@walletconnect/utils": "^1.7.8" - } - }, - "node_modules/@walletconnect/core": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/socket-transport": "^1.8.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0" - } - }, - "node_modules/@walletconnect/core/node_modules/@walletconnect/browser-utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "node_modules/@walletconnect/core/node_modules/@walletconnect/types": { - "version": "1.8.0", - "license": "Apache-2.0" - }, - "node_modules/@walletconnect/core/node_modules/@walletconnect/utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "node_modules/@walletconnect/core/node_modules/bn.js": { - "version": "4.11.8", - "license": "MIT" - }, - "node_modules/@walletconnect/crypto": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/environment": "^1.0.0", - "@walletconnect/randombytes": "^1.0.2", - "aes-js": "^3.1.2", - "hash.js": "^1.1.7" - } - }, - "node_modules/@walletconnect/encoding": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "is-typedarray": "1.0.0", - "typedarray-to-buffer": "3.1.5" - } - }, - "node_modules/@walletconnect/environment": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/@walletconnect/iso-crypto": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/crypto": "^1.0.2", - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0" - } - }, - "node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/browser-utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/types": { - "version": "1.8.0", - "license": "Apache-2.0" - }, - "node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "node_modules/@walletconnect/iso-crypto/node_modules/bn.js": { - "version": "4.11.8", - "license": "MIT" - }, - "node_modules/@walletconnect/jsonrpc-types": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "keyvaluestorage-interface": "^1.0.0" - } - }, - "node_modules/@walletconnect/jsonrpc-utils": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@walletconnect/environment": "^1.0.0", - "@walletconnect/jsonrpc-types": "^1.0.1" - } - }, - "node_modules/@walletconnect/randombytes": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/environment": "^1.0.0", - "randombytes": "^2.1.0" - } - }, - "node_modules/@walletconnect/safe-json": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/@walletconnect/socket-transport": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0", - "ws": "7.5.3" - } - }, - "node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/browser-utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/types": { - "version": "1.8.0", - "license": "Apache-2.0" - }, - "node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils": { - "version": "1.8.0", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "node_modules/@walletconnect/socket-transport/node_modules/bn.js": { - "version": "4.11.8", - "license": "MIT" - }, - "node_modules/@walletconnect/socket-transport/node_modules/ws": { - "version": "7.5.3", - "license": "MIT", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/@walletconnect/types": { - "version": "1.7.8", - "license": "Apache-2.0" - }, - "node_modules/@walletconnect/utils": { - "version": "1.7.8", - "license": "Apache-2.0", - "dependencies": { - "@walletconnect/browser-utils": "^1.7.8", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.8", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "node_modules/@walletconnect/utils/node_modules/bn.js": { - "version": "4.11.8", - "license": "MIT" - }, - "node_modules/@walletconnect/window-getters": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/@walletconnect/window-metadata": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@walletconnect/window-getters": "^1.0.0" - } - }, - "node_modules/@zag-js/element-size": { - "version": "0.1.0", - "license": "MIT" - }, - "node_modules/@zag-js/focus-visible": { - "version": "0.1.0", - "license": "MIT" - }, - "node_modules/acorn": { - "version": "8.8.0", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "dev": true, - "license": "MIT", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/aes-js": { - "version": "3.1.2", - "license": "MIT" - }, - "node_modules/ajv": { - "version": "6.12.6", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "dev": true, - "license": "Python-2.0" - }, - "node_modules/aria-hidden": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0", - "react": "^16.9.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/aria-query": { - "version": "5.0.0", - "license": "Apache-2.0", - "engines": { - "node": ">=6.0" - } - }, - "node_modules/array-includes": { - "version": "3.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/ast-types-flow": { - "version": "0.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "license": "MIT" - }, - "node_modules/axe-core": { - "version": "4.4.3", - "dev": true, - "license": "MPL-2.0", - "engines": { - "node": ">=4" - } - }, - "node_modules/axios": { - "version": "0.21.4", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, - "node_modules/axobject-query": { - "version": "2.2.0", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, - "node_modules/babel-plugin-styled-components": { - "version": "2.0.7", - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-module-imports": "^7.16.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "lodash": "^4.17.11", - "picomatch": "^2.3.0" - }, - "peerDependencies": { - "styled-components": ">= 2" - } - }, - "node_modules/babel-plugin-syntax-jsx": { - "version": "6.18.0", - "license": "MIT" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/base-x": { - "version": "3.0.9", - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/bech32": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/big-integer": { - "version": "1.6.51", - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "license": "MIT", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bip32": { - "version": "2.0.6", - "license": "MIT", - "dependencies": { - "@types/node": "10.12.18", - "bs58check": "^2.1.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "tiny-secp256k1": "^1.1.3", - "typeforce": "^1.11.5", - "wif": "^2.0.6" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/bip32/node_modules/@types/node": { - "version": "10.12.18", - "license": "MIT" - }, - "node_modules/bip39": { - "version": "3.0.4", - "license": "ISC", - "dependencies": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" - } - }, - "node_modules/bip39/node_modules/@types/node": { - "version": "11.11.6", - "license": "MIT" - }, - "node_modules/blakejs": { - "version": "1.2.1", - "license": "MIT" - }, - "node_modules/bn.js": { - "version": "5.2.1", - "license": "MIT" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/brorand": { - "version": "1.1.0", - "license": "MIT" - }, - "node_modules/browserslist": { - "version": "4.21.3", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "license": "MIT", - "peer": true, - "dependencies": { - "caniuse-lite": "^1.0.30001370", - "electron-to-chromium": "^1.4.202", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.5" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bs58": { - "version": "4.0.1", - "license": "MIT", - "dependencies": { - "base-x": "^3.0.2" - } - }, - "node_modules/bs58check": { - "version": "2.1.2", - "license": "MIT", - "dependencies": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/camelize": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001380", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/chain-registry": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-0.7.0.tgz", - "integrity": "sha512-6wCuCEE3aT50X8pk5mvxNBjTX9baSRS5QT18+mhi/QrvugQ6N7J0SVSPBr6EpRT7cJc5pnZXWNszy/hvNc2kAg==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@chain-registry/types": "^0.5.0" - } - }, - "node_modules/chakra-react-select": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz", - "integrity": "sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg==", - "dependencies": { - "react-select": "^5.4.0" - }, - "peerDependencies": { - "@chakra-ui/form-control": "^2.0.0", - "@chakra-ui/icon": "^3.0.0", - "@chakra-ui/layout": "^2.0.0", - "@chakra-ui/menu": "^2.0.0", - "@chakra-ui/spinner": "^2.0.0", - "@chakra-ui/system": "^2.0.0", - "@emotion/react": "^11.8.1", - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/escape-string-regexp": { - "version": "1.0.5", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/charenc": { - "version": "0.0.2", - "license": "BSD-3-Clause", - "engines": { - "node": "*" - } - }, - "node_modules/cipher-base": { - "version": "1.0.4", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "license": "MIT" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/compute-scroll-into-view": { - "version": "1.0.14", - "license": "MIT" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "license": "MIT" - }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/convert-source-map/node_modules/safe-buffer": { - "version": "5.1.2", - "license": "MIT" - }, - "node_modules/copy-to-clipboard": { - "version": "3.3.1", - "license": "MIT", - "dependencies": { - "toggle-selection": "^1.0.6" - } - }, - "node_modules/core-js-pure": { - "version": "3.24.1", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/cosmiconfig": { - "version": "7.0.1", - "license": "MIT", - "dependencies": { - "@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" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cosmjs-types": { - "version": "0.4.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } - }, - "node_modules/create-hash": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "node_modules/create-hmac": { - "version": "1.1.7", - "license": "MIT", - "dependencies": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/crypt": { - "version": "0.0.2", - "license": "BSD-3-Clause", - "engines": { - "node": "*" - } - }, - "node_modules/crypto-addr-codec": { - "version": "0.1.7", - "license": "MIT", - "dependencies": { - "base-x": "^3.0.8", - "big-integer": "1.6.36", - "blakejs": "^1.1.0", - "bs58": "^4.0.1", - "ripemd160-min": "0.0.6", - "safe-buffer": "^5.2.0", - "sha3": "^2.1.1" - } - }, - "node_modules/crypto-addr-codec/node_modules/big-integer": { - "version": "1.6.36", - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/crypto-js": { - "version": "4.1.1", - "license": "MIT" - }, - "node_modules/css-box-model": { - "version": "1.2.1", - "license": "MIT", - "dependencies": { - "tiny-invariant": "^1.0.6" - } - }, - "node_modules/css-color-keywords": { - "version": "1.0.0", - "license": "ISC", - "engines": { - "node": ">=4" - } - }, - "node_modules/css-to-react-native": { - "version": "3.0.0", - "license": "MIT", - "dependencies": { - "camelize": "^1.0.0", - "css-color-keywords": "^1.0.0", - "postcss-value-parser": "^4.0.2" - } - }, - "node_modules/csstype": { - "version": "3.1.0", - "license": "MIT" - }, - "node_modules/curve25519-js": { - "version": "0.0.4", - "license": "MIT" - }, - "node_modules/damerau-levenshtein": { - "version": "1.0.8", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/debug": { - "version": "4.3.4", - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-properties": { - "version": "1.1.4", - "license": "MIT", - "dependencies": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delay": { - "version": "4.4.1", - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/detect-browser": { - "version": "5.2.0", - "license": "MIT" - }, - "node_modules/detect-node-es": { - "version": "1.1.0", - "license": "MIT" - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/dom-accessibility-api": { - "version": "0.5.14", - "license": "MIT" - }, - "node_modules/dom-helpers": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", - "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", - "dependencies": { - "@babel/runtime": "^7.8.7", - "csstype": "^3.0.2" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.4.225", - "license": "ISC", - "peer": true - }, - "node_modules/elliptic": { - "version": "6.5.4", - "license": "MIT", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/elliptic/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "node_modules/error-ex": { - "version": "1.3.2", - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-abstract": { - "version": "1.20.1", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "regexp.prototype.flags": "^1.4.3", - "string.prototype.trimend": "^1.0.5", - "string.prototype.trimstart": "^1.0.5", - "unbox-primitive": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.22.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.10.4", - "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", - "ajv": "^6.10.0", - "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.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.3", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "globby": "^11.1.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-config-next": { - "version": "12.2.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@next/eslint-plugin-next": "12.2.5", - "@rushstack/eslint-patch": "^1.1.3", - "@typescript-eslint/parser": "^5.21.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.29.4", - "eslint-plugin-react-hooks": "^4.5.0" - }, - "peerDependencies": { - "eslint": "^7.23.0 || ^8.0.0", - "typescript": ">=3.3.1" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.6", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7", - "resolve": "^1.20.0" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-import-resolver-typescript": { - "version": "2.7.1", - "dev": true, - "license": "ISC", - "dependencies": { - "debug": "^4.3.4", - "glob": "^7.2.0", - "is-glob": "^4.0.3", - "resolve": "^1.22.0", - "tsconfig-paths": "^3.14.1" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "*", - "eslint-plugin-import": "*" - } - }, - "node_modules/eslint-import-resolver-typescript/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.7.4", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7" - }, - "engines": { - "node": ">=4" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - } - }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.26.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.4", - "array.prototype.flat": "^1.2.5", - "debug": "^2.6.9", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-module-utils": "^2.7.3", - "has": "^1.0.3", - "is-core-module": "^2.8.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.values": "^1.1.5", - "resolve": "^1.22.0", - "tsconfig-paths": "^3.14.1" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "2.6.9", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/ms": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.6.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.18.9", - "aria-query": "^4.2.2", - "array-includes": "^3.1.5", - "ast-types-flow": "^0.0.7", - "axe-core": "^4.4.3", - "axobject-query": "^2.2.0", - "damerau-levenshtein": "^1.0.8", - "emoji-regex": "^9.2.2", - "has": "^1.0.3", - "jsx-ast-utils": "^3.3.2", - "language-tags": "^1.0.5", - "minimatch": "^3.1.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=4.0" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/aria-query": { - "version": "4.2.2", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@babel/runtime": "^7.10.2", - "@babel/runtime-corejs3": "^7.10.2" - }, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/eslint-plugin-react": { - "version": "7.30.1", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.5", - "array.prototype.flatmap": "^1.3.0", - "doctrine": "^2.1.0", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.5", - "object.fromentries": "^2.0.5", - "object.hasown": "^1.1.1", - "object.values": "^1.1.5", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.3", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.7" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" - } - }, - "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" - } - }, - "node_modules/eslint-plugin-react/node_modules/doctrine": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-react/node_modules/resolve": { - "version": "2.0.0-next.4", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/eslint-scope": { - "version": "7.1.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint/node_modules/globals": { - "version": "13.17.0", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/espree": { - "version": "9.3.3", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esquery": { - "version": "1.4.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "license": "MIT" - }, - "node_modules/events": { - "version": "3.3.0", - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/exenv": { - "version": "1.2.2", - "license": "BSD-3-Clause" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "license": "MIT" - }, - "node_modules/fast-fuzzy": { - "version": "1.11.2", - "license": "ISC", - "dependencies": { - "graphemesplit": "^2.4.1" - } - }, - "node_modules/fast-glob": { - "version": "3.2.11", - "dev": true, - "license": "MIT", - "dependencies": { - "@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" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "dev": true, - "license": "MIT" - }, - "node_modules/fastq": { - "version": "1.13.0", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/fill-range": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "license": "MIT" - }, - "node_modules/find-up": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.7", - "dev": true, - "license": "ISC" - }, - "node_modules/focus-lock": { - "version": "0.11.2", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.3" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/follow-redirects": { - "version": "1.15.1", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/form-data": { - "version": "4.0.0", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/framer-motion": { - "version": "7.2.0", - "license": "MIT", - "peer": true, - "dependencies": { - "@motionone/dom": "10.13.1", - "framesync": "6.1.2", - "hey-listen": "^1.0.8", - "popmotion": "11.0.5", - "style-value-types": "5.1.2", - "tslib": "2.4.0" - }, - "optionalDependencies": { - "@emotion/is-prop-valid": "^0.8.2" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, - "node_modules/framer-motion/node_modules/@emotion/is-prop-valid": { - "version": "0.8.8", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "@emotion/memoize": "0.7.4" - } - }, - "node_modules/framer-motion/node_modules/@emotion/memoize": { - "version": "0.7.4", - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/framer-motion/node_modules/framesync": { - "version": "6.1.2", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "2.4.0" - } - }, - "node_modules/framesync": { - "version": "5.3.0", - "license": "MIT", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "license": "ISC" - }, - "node_modules/function-bind": { - "version": "1.1.1", - "license": "MIT" - }, - "node_modules/function.prototype.name": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functional-red-black-tree": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-nonce": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/glob": { - "version": "7.1.7", - "license": "ISC", - "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" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "dev": true, - "license": "MIT" - }, - "node_modules/graphemesplit": { - "version": "2.4.4", - "license": "MIT", - "dependencies": { - "js-base64": "^3.6.0", - "unicode-trie": "^2.0.0" - } - }, - "node_modules/has": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hash-base": { - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/hey-listen": { - "version": "1.0.8", - "license": "MIT", - "peer": true - }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "license": "BSD-3-Clause", - "dependencies": { - "react-is": "^16.7.0" - } - }, - "node_modules/hoist-non-react-statics/node_modules/react-is": { - "version": "16.13.1", - "license": "MIT" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/ignore": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "license": "ISC" - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/interpret": { - "version": "1.4.0", - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/invariant": { - "version": "2.2.4", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "license": "MIT" - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "license": "MIT" - }, - "node_modules/is-callable": { - "version": "1.2.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.10.0", - "license": "MIT", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/isomorphic-ws": { - "version": "4.0.1", - "license": "MIT", - "peerDependencies": { - "ws": "*" - } - }, - "node_modules/joi": { - "version": "17.6.0", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/js-base64": { - "version": "3.7.2", - "license": "BSD-3-Clause" - }, - "node_modules/js-crypto-env": { - "version": "0.3.2", - "license": "MIT" - }, - "node_modules/js-crypto-hash": { - "version": "0.6.3", - "license": "MIT", - "dependencies": { - "buffer": "~5.4.3", - "hash.js": "~1.1.7", - "js-crypto-env": "^0.3.2", - "md5": "~2.2.1", - "sha3": "~2.1.0" - } - }, - "node_modules/js-crypto-hash/node_modules/buffer": { - "version": "5.4.3", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - } - }, - "node_modules/js-crypto-hkdf": { - "version": "0.7.3", - "license": "MIT", - "dependencies": { - "js-crypto-env": "^0.3.2", - "js-crypto-hmac": "^0.6.3", - "js-crypto-random": "^0.4.3", - "js-encoding-utils": "0.5.6" - } - }, - "node_modules/js-crypto-hmac": { - "version": "0.6.3", - "license": "MIT", - "dependencies": { - "js-crypto-env": "^0.3.2", - "js-crypto-hash": "^0.6.3" - } - }, - "node_modules/js-crypto-random": { - "version": "0.4.3", - "license": "MIT", - "dependencies": { - "js-crypto-env": "^0.3.2" - } - }, - "node_modules/js-encoding-utils": { - "version": "0.5.6", - "license": "MIT" - }, - "node_modules/js-sha3": { - "version": "0.8.0", - "license": "MIT" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "license": "MIT" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "license": "MIT" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json5": { - "version": "2.2.1", - "license": "MIT", - "peer": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsx-ast-utils": { - "version": "3.3.3", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/keyvaluestorage-interface": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/language-subtag-registry": { - "version": "0.3.22", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/language-tags": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "language-subtag-registry": "~0.3.2" - } - }, - "node_modules/ledger-cosmos-js": { - "version": "2.1.8", - "license": "Apache-2.0", - "dependencies": { - "@babel/runtime": "^7.11.2", - "@ledgerhq/hw-transport": "^5.25.0", - "bech32": "^1.1.4", - "ripemd160": "^2.0.2" - } - }, - "node_modules/ledger-cosmos-js/node_modules/@ledgerhq/devices": { - "version": "5.51.1", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/errors": "^5.50.0", - "@ledgerhq/logs": "^5.50.0", - "rxjs": "6", - "semver": "^7.3.5" - } - }, - "node_modules/ledger-cosmos-js/node_modules/@ledgerhq/errors": { - "version": "5.50.0", - "license": "Apache-2.0" - }, - "node_modules/ledger-cosmos-js/node_modules/@ledgerhq/hw-transport": { - "version": "5.51.1", - "license": "Apache-2.0", - "dependencies": { - "@ledgerhq/devices": "^5.51.1", - "@ledgerhq/errors": "^5.50.0", - "events": "^3.3.0" - } - }, - "node_modules/ledger-cosmos-js/node_modules/@ledgerhq/logs": { - "version": "5.50.0", - "license": "Apache-2.0" - }, - "node_modules/ledger-cosmos-js/node_modules/semver": { - "version": "7.3.7", - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/libsodium": { - "version": "0.7.10", - "license": "ISC" - }, - "node_modules/libsodium-wrappers": { - "version": "0.7.10", - "license": "ISC", - "dependencies": { - "libsodium": "^0.7.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "license": "MIT" - }, - "node_modules/link-module-alias": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "chalk": "^2.4.1" - }, - "bin": { - "link-module-alias": "index.js" - }, - "engines": { - "node": "> 8.0.0" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "license": "MIT" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.mergewith": { - "version": "4.6.2", - "license": "MIT" - }, - "node_modules/long": { - "version": "4.0.0", - "license": "Apache-2.0" - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "license": "MIT", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/lz-string": { - "version": "1.4.4", - "license": "WTFPL", - "bin": { - "lz-string": "bin/bin.js" - } - }, - "node_modules/md5": { - "version": "2.2.1", - "license": "BSD-3-Clause", - "dependencies": { - "charenc": "~0.0.1", - "crypt": "~0.0.1", - "is-buffer": "~1.1.1" - } - }, - "node_modules/md5.js": { - "version": "1.3.5", - "license": "MIT", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/memoize-one": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", - "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==" - }, - "node_modules/merge2": { - "version": "1.4.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "license": "ISC" - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "license": "MIT" - }, - "node_modules/minimatch": { - "version": "3.1.2", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.6", - "license": "MIT" - }, - "node_modules/miscreant": { - "version": "0.3.2", - "license": "MIT" - }, - "node_modules/mobx": { - "version": "6.6.1", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mobx" - } - }, - "node_modules/mobx-utils": { - "version": "6.0.5", - "license": "MIT", - "peerDependencies": { - "mobx": "^6.0.0" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "license": "MIT" - }, - "node_modules/nan": { - "version": "2.16.0", - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.4", - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/next": { - "version": "12.2.5", - "license": "MIT", - "dependencies": { - "@next/env": "12.2.5", - "@swc/helpers": "0.4.3", - "caniuse-lite": "^1.0.30001332", - "postcss": "8.4.14", - "styled-jsx": "5.0.4", - "use-sync-external-store": "1.2.0" - }, - "bin": { - "next": "dist/bin/next" - }, - "engines": { - "node": ">=12.22.0" - }, - "optionalDependencies": { - "@next/swc-android-arm-eabi": "12.2.5", - "@next/swc-android-arm64": "12.2.5", - "@next/swc-darwin-arm64": "12.2.5", - "@next/swc-darwin-x64": "12.2.5", - "@next/swc-freebsd-x64": "12.2.5", - "@next/swc-linux-arm-gnueabihf": "12.2.5", - "@next/swc-linux-arm64-gnu": "12.2.5", - "@next/swc-linux-arm64-musl": "12.2.5", - "@next/swc-linux-x64-gnu": "12.2.5", - "@next/swc-linux-x64-musl": "12.2.5", - "@next/swc-win32-arm64-msvc": "12.2.5", - "@next/swc-win32-ia32-msvc": "12.2.5", - "@next/swc-win32-x64-msvc": "12.2.5" - }, - "peerDependencies": { - "fibers": ">= 3.1.0", - "node-sass": "^6.0.0 || ^7.0.0", - "react": "^17.0.2 || ^18.0.0-0", - "react-dom": "^17.0.2 || ^18.0.0-0", - "sass": "^1.3.0" - }, - "peerDependenciesMeta": { - "fibers": { - "optional": true - }, - "node-sass": { - "optional": true - }, - "sass": { - "optional": true - } - } - }, - "node_modules/node-addon-api": { - "version": "2.0.2", - "license": "MIT" - }, - "node_modules/node-gyp-build": { - "version": "4.5.0", - "license": "MIT", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/node-releases": { - "version": "2.0.6", - "license": "MIT", - "peer": true - }, - "node_modules/object-assign": { - "version": "4.1.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.entries": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.hasown": { - "version": "1.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.values": { - "version": "1.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/once": { - "version": "1.4.0", - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "dev": true, - "license": "MIT", - "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.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-queue": { - "version": "6.6.2", - "license": "MIT", - "dependencies": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-timeout": { - "version": "3.2.0", - "license": "MIT", - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pako": { - "version": "2.0.4", - "license": "(MIT AND Zlib)", - "peer": true - }, - "node_modules/parent-module": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "license": "MIT" - }, - "node_modules/path-type": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/pbkdf2": { - "version": "3.1.2", - "license": "MIT", - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/popmotion": { - "version": "11.0.5", - "license": "MIT", - "peer": true, - "dependencies": { - "framesync": "6.1.2", - "hey-listen": "^1.0.8", - "style-value-types": "5.1.2", - "tslib": "2.4.0" - } - }, - "node_modules/popmotion/node_modules/framesync": { - "version": "6.1.2", - "license": "MIT", - "peer": true, - "dependencies": { - "tslib": "2.4.0" - } - }, - "node_modules/postcss": { - "version": "8.4.14", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "license": "MIT" - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/pretty-format": { - "version": "27.5.1", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "license": "MIT" - }, - "node_modules/prop-types": { - "version": "15.8.1", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "license": "MIT" - }, - "node_modules/protobufjs": { - "version": "6.11.3", - "hasInstallScript": true, - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/qrcode.react": { - "version": "3.1.0", - "license": "ISC", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/query-string": { - "version": "6.13.5", - "license": "MIT", - "dependencies": { - "decode-uri-component": "^0.2.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/randombytes": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/react": { - "version": "18.2.0", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-clientside-effect": { - "version": "1.2.6", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.12.13" - }, - "peerDependencies": { - "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/react-dom": { - "version": "18.2.0", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - }, - "peerDependencies": { - "react": "^18.2.0" - } - }, - "node_modules/react-fast-compare": { - "version": "3.2.0", - "license": "MIT" - }, - "node_modules/react-focus-lock": { - "version": "2.9.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.2", - "prop-types": "^15.6.2", - "react-clientside-effect": "^1.2.6", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-icons": { - "version": "4.4.0", - "license": "MIT", - "peerDependencies": { - "react": "*" - } - }, - "node_modules/react-is": { - "version": "18.2.0", - "license": "MIT", - "peer": true - }, - "node_modules/react-lifecycles-compat": { - "version": "3.0.4", - "license": "MIT" - }, - "node_modules/react-modal": { - "version": "3.15.1", - "license": "MIT", - "dependencies": { - "exenv": "^1.2.0", - "prop-types": "^15.7.2", - "react-lifecycles-compat": "^3.0.0", - "warning": "^4.0.3" - }, - "engines": { - "node": ">=8" - }, - "peerDependencies": { - "react": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18", - "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18" - } - }, - "node_modules/react-remove-scroll": { - "version": "2.5.5", - "license": "MIT", - "dependencies": { - "react-remove-scroll-bar": "^2.3.3", - "react-style-singleton": "^2.2.1", - "tslib": "^2.1.0", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-remove-scroll-bar": { - "version": "2.3.3", - "license": "MIT", - "dependencies": { - "react-style-singleton": "^2.2.1", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-select": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz", - "integrity": "sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg==", - "dependencies": { - "@babel/runtime": "^7.12.0", - "@emotion/cache": "^11.4.0", - "@emotion/react": "^11.8.1", - "@types/react-transition-group": "^4.4.0", - "memoize-one": "^5.0.0", - "prop-types": "^15.6.0", - "react-transition-group": "^4.3.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/react-style-singleton": { - "version": "2.2.1", - "license": "MIT", - "dependencies": { - "get-nonce": "^1.0.0", - "invariant": "^2.2.4", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/react-transition-group": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", - "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", - "dependencies": { - "@babel/runtime": "^7.5.5", - "dom-helpers": "^5.0.1", - "loose-envify": "^1.4.0", - "prop-types": "^15.6.2" - }, - "peerDependencies": { - "react": ">=16.6.0", - "react-dom": ">=16.6.0" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readonly-date": { - "version": "1.0.0", - "license": "Apache-2.0" - }, - "node_modules/rechoir": { - "version": "0.6.2", - "dependencies": { - "resolve": "^1.1.6" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "license": "MIT" - }, - "node_modules/regexp.prototype.flags": { - "version": "1.4.3", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regexpp": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/resolve": { - "version": "1.22.1", - "license": "MIT", - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/ripemd160": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "node_modules/ripemd160-min": { - "version": "0.0.6", - "engines": { - "node": ">=8" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "6.6.7", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" - } - }, - "node_modules/rxjs/node_modules/tslib": { - "version": "1.14.1", - "license": "0BSD" - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/scheduler": { - "version": "0.23.0", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - } - }, - "node_modules/scrypt-js": { - "version": "3.0.1", - "license": "MIT" - }, - "node_modules/secp256k1": { - "version": "4.0.3", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/secretjs": { - "version": "0.17.5", - "license": "Apache-2.0", - "dependencies": { - "@iov/crypto": "2.1.0", - "@iov/encoding": "2.1.0", - "@iov/utils": "2.0.2", - "axios": "0.21.1", - "curve25519-js": "0.0.4", - "fast-deep-equal": "3.1.1", - "js-crypto-hkdf": "0.7.3", - "miscreant": "0.3.2", - "pako": "1.0.11", - "protobufjs": "^6.11.2", - "secure-random": "1.1.2" - } - }, - "node_modules/secretjs/node_modules/axios": { - "version": "0.21.1", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/secretjs/node_modules/fast-deep-equal": { - "version": "3.1.1", - "license": "MIT" - }, - "node_modules/secretjs/node_modules/pako": { - "version": "1.0.11", - "license": "(MIT AND Zlib)" - }, - "node_modules/secure-random": { - "version": "1.1.2", - "license": "MIT" - }, - "node_modules/semver": { - "version": "6.3.0", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/sha.js": { - "version": "2.4.11", - "license": "(MIT AND BSD-3-Clause)", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, - "node_modules/sha3": { - "version": "2.1.4", - "license": "MIT", - "dependencies": { - "buffer": "6.0.3" - } - }, - "node_modules/shallowequal": { - "version": "1.1.0", - "license": "MIT" - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/shelljs": { - "version": "0.8.5", - "license": "BSD-3-Clause", - "dependencies": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - }, - "bin": { - "shjs": "bin/shjs" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/shx": { - "version": "0.3.4", - "license": "MIT", - "dependencies": { - "minimist": "^1.2.3", - "shelljs": "^0.8.5" - }, - "bin": { - "shx": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.5.7", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-on-first": { - "version": "1.1.0", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/strict-uri-encode": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string.prototype.matchall": { - "version": "4.0.7", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.1", - "side-channel": "^1.0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/style-value-types": { - "version": "5.1.2", - "license": "MIT", - "peer": true, - "dependencies": { - "hey-listen": "^1.0.8", - "tslib": "2.4.0" - } - }, - "node_modules/styled-components": { - "version": "5.3.5", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/traverse": "^7.4.5", - "@emotion/is-prop-valid": "^1.1.0", - "@emotion/stylis": "^0.8.4", - "@emotion/unitless": "^0.7.4", - "babel-plugin-styled-components": ">= 1.12.0", - "css-to-react-native": "^3.0.0", - "hoist-non-react-statics": "^3.0.0", - "shallowequal": "^1.1.0", - "supports-color": "^5.5.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/styled-components" - }, - "peerDependencies": { - "react": ">= 16.8.0", - "react-dom": ">= 16.8.0", - "react-is": ">= 16.8.0" - } - }, - "node_modules/styled-components/node_modules/@emotion/unitless": { - "version": "0.7.5", - "license": "MIT" - }, - "node_modules/styled-jsx": { - "version": "5.0.4", - "license": "MIT", - "engines": { - "node": ">= 12.0.0" - }, - "peerDependencies": { - "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/stylis": { - "version": "4.0.13", - "license": "MIT" - }, - "node_modules/supports-color": { - "version": "5.5.0", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/symbol-observable": { - "version": "2.0.3", - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/tiny-inflate": { - "version": "1.0.3", - "license": "MIT" - }, - "node_modules/tiny-invariant": { - "version": "1.2.0", - "license": "MIT" - }, - "node_modules/tiny-secp256k1": { - "version": "1.1.6", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "bindings": "^1.3.0", - "bn.js": "^4.11.8", - "create-hmac": "^1.1.7", - "elliptic": "^6.4.0", - "nan": "^2.13.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/tiny-secp256k1/node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toggle-selection": { - "version": "1.0.6", - "license": "MIT" - }, - "node_modules/tsconfig-paths": { - "version": "3.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } - }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/tslib": { - "version": "2.4.0", - "license": "0BSD" - }, - "node_modules/tsutils": { - "version": "3.21.0", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "dev": true, - "license": "0BSD" - }, - "node_modules/type-check": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/type-tagger": { - "version": "1.0.0", - "license": "Apache-2.0" - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "license": "MIT", - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/typeforce": { - "version": "1.18.0", - "license": "MIT" - }, - "node_modules/typescript": { - "version": "4.7.4", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unicode-trie": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "pako": "^0.2.5", - "tiny-inflate": "^1.0.0" - } - }, - "node_modules/unicode-trie/node_modules/pako": { - "version": "0.2.9", - "license": "MIT" - }, - "node_modules/unorm": { - "version": "1.6.0", - "license": "MIT or GPL-2.0", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.0.5", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "license": "MIT", - "peer": true, - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist-lint": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/use-callback-ref": { - "version": "1.3.0", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/use-sidecar": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "detect-node-es": "^1.1.0", - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/use-sync-external-store": { - "version": "1.2.0", - "license": "MIT", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/utility-types": { - "version": "3.10.0", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/v8-compile-cache": { - "version": "2.3.0", - "dev": true, - "license": "MIT" - }, - "node_modules/warning": { - "version": "4.0.3", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wif": { - "version": "2.0.6", - "license": "MIT", - "dependencies": { - "bs58check": "<3.0.0" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "license": "ISC" - }, - "node_modules/ws": { - "version": "7.5.9", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xstream": { - "version": "11.14.0", - "license": "MIT", - "dependencies": { - "globalthis": "^1.0.1", - "symbol-observable": "^2.0.3" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "license": "ISC" - }, - "node_modules/yaml": { - "version": "1.10.2", - "license": "ISC", - "engines": { - "node": ">= 6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@next/swc-android-arm-eabi": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz", - "integrity": "sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-android-arm64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz", - "integrity": "sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-darwin-arm64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz", - "integrity": "sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-freebsd-x64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz", - "integrity": "sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm-gnueabihf": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz", - "integrity": "sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz", - "integrity": "sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz", - "integrity": "sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz", - "integrity": "sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz", - "integrity": "sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz", - "integrity": "sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz", - "integrity": "sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz", - "integrity": "sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - } - }, - "dependencies": { - "@ampproject/remapping": { - "version": "2.2.0", - "peer": true, - "requires": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "@babel/code-frame": { - "version": "7.18.6", - "requires": { - "@babel/highlight": "^7.18.6" - } - }, - "@babel/compat-data": { - "version": "7.18.8", - "peer": true - }, - "@babel/core": { - "version": "7.18.10", - "peer": true, - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.10", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helpers": "^7.18.9", - "@babel/parser": "^7.18.10", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.10", - "@babel/types": "^7.18.10", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" - } - }, - "@babel/generator": { - "version": "7.18.12", - "requires": { - "@babel/types": "^7.18.10", - "@jridgewell/gen-mapping": "^0.3.2", - "jsesc": "^2.5.1" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.2", - "requires": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.18.6", - "requires": { - "@babel/types": "^7.18.6" - } - }, - "@babel/helper-compilation-targets": { - "version": "7.18.9", - "peer": true, - "requires": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.20.2", - "semver": "^6.3.0" - } - }, - "@babel/helper-environment-visitor": { - "version": "7.18.9" - }, - "@babel/helper-function-name": { - "version": "7.18.9", - "requires": { - "@babel/template": "^7.18.6", - "@babel/types": "^7.18.9" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.18.6", - "requires": { - "@babel/types": "^7.18.6" - } - }, - "@babel/helper-module-imports": { - "version": "7.18.6", - "requires": { - "@babel/types": "^7.18.6" - } - }, - "@babel/helper-module-transforms": { - "version": "7.18.9", - "peer": true, - "requires": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.18.9" - }, - "@babel/helper-simple-access": { - "version": "7.18.6", - "peer": true, - "requires": { - "@babel/types": "^7.18.6" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.18.6", - "requires": { - "@babel/types": "^7.18.6" - } - }, - "@babel/helper-string-parser": { - "version": "7.18.10" - }, - "@babel/helper-validator-identifier": { - "version": "7.18.6" - }, - "@babel/helper-validator-option": { - "version": "7.18.6", - "peer": true - }, - "@babel/helpers": { - "version": "7.18.9", - "peer": true, - "requires": { - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" - } - }, - "@babel/highlight": { - "version": "7.18.6", - "requires": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.11" - }, - "@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" - } - }, - "@babel/runtime": { - "version": "7.18.9", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/runtime-corejs3": { - "version": "7.18.9", - "dev": true, - "requires": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/template": { - "version": "7.18.10", - "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" - } - }, - "@babel/traverse": { - "version": "7.18.11", - "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.10", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.18.11", - "@babel/types": "^7.18.10", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.10", - "requires": { - "@babel/helper-string-parser": "^7.18.10", - "@babel/helper-validator-identifier": "^7.18.6", - "to-fast-properties": "^2.0.0" - } - }, - "@chain-registry/types": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.5.0.tgz", - "integrity": "sha512-GJ342SiOH3VH1ivqjcIGAQ+KGj/bSJGY6AptERc3cTgfeQjyRYgsRnC+at4COcGtAfxRYPLKWmr3iQoriKnrMg==", - "requires": { - "@babel/runtime": "^7.18.3", - "@keplr-wallet/cosmos": "^0.10.3", - "@keplr-wallet/crypto": "^0.10.11" - } - }, - "@chakra-ui/accordion": { - "version": "2.0.10", - "requires": { - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/react-use-controllable-state": "2.0.2", - "@chakra-ui/react-use-merge-refs": "2.0.2", - "@chakra-ui/transition": "2.0.8" - } - }, - "@chakra-ui/alert": { - "version": "2.0.8", - "requires": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/spinner": "2.0.8" - } - }, - "@chakra-ui/anatomy": { - "version": "2.0.4" - }, - "@chakra-ui/avatar": { - "version": "2.0.9", - "requires": { - "@chakra-ui/image": "2.0.9", - "@chakra-ui/react-context": "2.0.2" - } - }, - "@chakra-ui/breadcrumb": { - "version": "2.0.8", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/button": { - "version": "2.0.8", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/spinner": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/checkbox": { - "version": "2.1.7", - "requires": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8", - "@zag-js/focus-visible": "0.1.0" - } - }, - "@chakra-ui/clickable": { - "version": "2.0.8", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/close-button": { - "version": "2.0.8", - "requires": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/color-mode": { - "version": "2.1.6", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/control-box": { - "version": "2.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/counter": { - "version": "2.0.8", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/css-reset": { - "version": "2.0.4", - "requires": {} - }, - "@chakra-ui/descendant": { - "version": "3.0.7", - "requires": { - "@chakra-ui/react-utils": "2.0.5" - } - }, - "@chakra-ui/editable": { - "version": "2.0.8", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/event-utils": { - "version": "2.0.2" - }, - "@chakra-ui/focus-lock": { - "version": "2.0.9", - "requires": { - "@chakra-ui/utils": "2.0.8", - "react-focus-lock": "^2.9.1" - } - }, - "@chakra-ui/form-control": { - "version": "2.0.8", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/hooks": { - "version": "2.0.8", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "compute-scroll-into-view": "1.0.14", - "copy-to-clipboard": "3.3.1" - } - }, - "@chakra-ui/icon": { - "version": "3.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/icons": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz", - "integrity": "sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog==", - "requires": { - "@chakra-ui/icon": "3.0.8" - } - }, - "@chakra-ui/image": { - "version": "2.0.9", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/input": { - "version": "2.0.8", - "requires": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/layout": { - "version": "2.1.5", - "requires": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/live-region": { - "version": "2.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/media-query": { - "version": "3.2.4", - "requires": { - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/menu": { - "version": "2.0.10", - "requires": { - "@chakra-ui/clickable": "2.0.8", - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/modal": { - "version": "2.1.6", - "requires": { - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/focus-lock": "2.0.9", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8", - "aria-hidden": "^1.1.1", - "react-remove-scroll": "^2.5.4" - } - }, - "@chakra-ui/number-input": { - "version": "2.0.8", - "requires": { - "@chakra-ui/counter": "2.0.8", - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/number-utils": { - "version": "2.0.2" - }, - "@chakra-ui/pin-input": { - "version": "2.0.10", - "requires": { - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/popover": { - "version": "2.0.8", - "requires": { - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/popper": { - "version": "3.0.6", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@popperjs/core": "^2.9.3" - } - }, - "@chakra-ui/portal": { - "version": "2.0.8", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/progress": { - "version": "2.0.9", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/theme-tools": "2.0.9", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/provider": { - "version": "2.0.13", - "requires": { - "@chakra-ui/css-reset": "2.0.4", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/radio": { - "version": "2.0.9", - "requires": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8", - "@zag-js/focus-visible": "0.1.0" - } - }, - "@chakra-ui/react": { - "version": "2.2.8", - "requires": { - "@chakra-ui/accordion": "2.0.10", - "@chakra-ui/alert": "2.0.8", - "@chakra-ui/avatar": "2.0.9", - "@chakra-ui/breadcrumb": "2.0.8", - "@chakra-ui/button": "2.0.8", - "@chakra-ui/checkbox": "2.1.7", - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/control-box": "2.0.8", - "@chakra-ui/counter": "2.0.8", - "@chakra-ui/css-reset": "2.0.4", - "@chakra-ui/editable": "2.0.8", - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/image": "2.0.9", - "@chakra-ui/input": "2.0.8", - "@chakra-ui/layout": "2.1.5", - "@chakra-ui/live-region": "2.0.8", - "@chakra-ui/media-query": "3.2.4", - "@chakra-ui/menu": "2.0.10", - "@chakra-ui/modal": "2.1.6", - "@chakra-ui/number-input": "2.0.8", - "@chakra-ui/pin-input": "2.0.10", - "@chakra-ui/popover": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/progress": "2.0.9", - "@chakra-ui/provider": "2.0.13", - "@chakra-ui/radio": "2.0.9", - "@chakra-ui/react-env": "2.0.8", - "@chakra-ui/select": "2.0.8", - "@chakra-ui/skeleton": "2.0.13", - "@chakra-ui/slider": "2.0.8", - "@chakra-ui/spinner": "2.0.8", - "@chakra-ui/stat": "2.0.8", - "@chakra-ui/switch": "2.0.10", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/table": "2.0.8", - "@chakra-ui/tabs": "2.0.10", - "@chakra-ui/tag": "2.0.8", - "@chakra-ui/textarea": "2.0.9", - "@chakra-ui/theme": "2.1.7", - "@chakra-ui/toast": "3.0.6", - "@chakra-ui/tooltip": "2.0.9", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - } - }, - "@chakra-ui/react-context": { - "version": "2.0.2", - "requires": {} - }, - "@chakra-ui/react-env": { - "version": "2.0.8", - "requires": {} - }, - "@chakra-ui/react-types": { - "version": "2.0.2", - "requires": {} - }, - "@chakra-ui/react-use-callback-ref": { - "version": "2.0.2", - "requires": {} - }, - "@chakra-ui/react-use-controllable-state": { - "version": "2.0.2", - "requires": { - "@chakra-ui/react-use-callback-ref": "2.0.2" - } - }, - "@chakra-ui/react-use-merge-refs": { - "version": "2.0.2", - "requires": {} - }, - "@chakra-ui/react-use-pan-event": { - "version": "2.0.2", - "requires": { - "@chakra-ui/event-utils": "2.0.2", - "framesync": "5.3.0" - } - }, - "@chakra-ui/react-use-size": { - "version": "2.0.2", - "requires": { - "@zag-js/element-size": "0.1.0" - } - }, - "@chakra-ui/react-use-update-effect": { - "version": "2.0.2", - "requires": {} - }, - "@chakra-ui/react-utils": { - "version": "2.0.5", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/select": { - "version": "2.0.8", - "requires": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/skeleton": { - "version": "2.0.13", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/media-query": "3.2.4", - "@chakra-ui/system": "2.2.6", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/slider": { - "version": "2.0.8", - "requires": { - "@chakra-ui/number-utils": "2.0.2", - "@chakra-ui/react-context": "2.0.2", - "@chakra-ui/react-types": "2.0.2", - "@chakra-ui/react-use-callback-ref": "2.0.2", - "@chakra-ui/react-use-controllable-state": "2.0.2", - "@chakra-ui/react-use-merge-refs": "2.0.2", - "@chakra-ui/react-use-pan-event": "2.0.2", - "@chakra-ui/react-use-size": "2.0.2", - "@chakra-ui/react-use-update-effect": "2.0.2" - } - }, - "@chakra-ui/spinner": { - "version": "2.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - } - }, - "@chakra-ui/stat": { - "version": "2.0.8", - "requires": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - } - }, - "@chakra-ui/styled-system": { - "version": "2.2.7", - "requires": { - "@chakra-ui/utils": "2.0.8", - "csstype": "^3.0.11" - } - }, - "@chakra-ui/switch": { - "version": "2.0.10", - "requires": { - "@chakra-ui/checkbox": "2.1.7", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/system": { - "version": "2.2.6", - "requires": { - "@chakra-ui/color-mode": "2.1.6", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/styled-system": "2.2.7", - "@chakra-ui/utils": "2.0.8", - "react-fast-compare": "3.2.0" - } - }, - "@chakra-ui/table": { - "version": "2.0.8", - "requires": { - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/tabs": { - "version": "2.0.10", - "requires": { - "@chakra-ui/clickable": "2.0.8", - "@chakra-ui/descendant": "3.0.7", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/tag": { - "version": "2.0.8", - "requires": { - "@chakra-ui/icon": "3.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/textarea": { - "version": "2.0.9", - "requires": { - "@chakra-ui/form-control": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/theme": { - "version": "2.1.7", - "requires": { - "@chakra-ui/anatomy": "2.0.4", - "@chakra-ui/theme-tools": "2.0.9", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/theme-tools": { - "version": "2.0.9", - "requires": { - "@chakra-ui/anatomy": "2.0.4", - "@chakra-ui/utils": "2.0.8", - "@ctrl/tinycolor": "^3.4.0" - } - }, - "@chakra-ui/toast": { - "version": "3.0.6", - "requires": { - "@chakra-ui/alert": "2.0.8", - "@chakra-ui/close-button": "2.0.8", - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/theme": "2.1.7", - "@chakra-ui/transition": "2.0.8", - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/tooltip": { - "version": "2.0.9", - "requires": { - "@chakra-ui/hooks": "2.0.8", - "@chakra-ui/popper": "3.0.6", - "@chakra-ui/portal": "2.0.8", - "@chakra-ui/react-utils": "2.0.5", - "@chakra-ui/utils": "2.0.8", - "@chakra-ui/visually-hidden": "2.0.8" - } - }, - "@chakra-ui/transition": { - "version": "2.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@chakra-ui/utils": { - "version": "2.0.8", - "requires": { - "@types/lodash.mergewith": "4.6.6", - "css-box-model": "1.2.1", - "framesync": "5.3.0", - "lodash.mergewith": "4.6.2" - } - }, - "@chakra-ui/visually-hidden": { - "version": "2.0.8", - "requires": { - "@chakra-ui/utils": "2.0.8" - } - }, - "@confio/ics23": { - "version": "0.6.8", - "peer": true, - "requires": { - "@noble/hashes": "^1.0.0", - "protobufjs": "^6.8.8" - } - }, - "@cosmjs/amino": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13" - } - }, - "@cosmjs/cosmwasm-stargate": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmjs/tendermint-rpc": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0", - "pako": "^2.0.2" - } - }, - "@cosmjs/crypto": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "@noble/hashes": "^1", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "libsodium-wrappers": "^0.7.6" - } - }, - "@cosmjs/encoding": { - "version": "0.28.13", - "peer": true, - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/json-rpc": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/stream": "0.28.13", - "xstream": "^11.14.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.27.1", - "peer": true, - "requires": { - "@cosmjs/amino": "0.27.1", - "@cosmjs/crypto": "0.27.1", - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1", - "axios": "^0.21.2", - "fast-deep-equal": "^3.1.3" - }, - "dependencies": { - "@cosmjs/amino": { - "version": "0.27.1", - "peer": true, - "requires": { - "@cosmjs/crypto": "0.27.1", - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1" - } - }, - "@cosmjs/crypto": { - "version": "0.27.1", - "peer": true, - "requires": { - "@cosmjs/encoding": "0.27.1", - "@cosmjs/math": "0.27.1", - "@cosmjs/utils": "0.27.1", - "bip39": "^3.0.2", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11" - } - }, - "@cosmjs/encoding": { - "version": "0.27.1", - "peer": true, - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/math": { - "version": "0.27.1", - "peer": true, - "requires": { - "bn.js": "^5.2.0" - } - }, - "@cosmjs/utils": { - "version": "0.27.1", - "peer": true - } - } - }, - "@cosmjs/math": { - "version": "0.28.13", - "peer": true, - "requires": { - "bn.js": "^5.2.0" - } - }, - "@cosmjs/proto-signing": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0" - } - }, - "@cosmjs/socket": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/stream": "0.28.13", - "isomorphic-ws": "^4.0.1", - "ws": "^7", - "xstream": "^11.14.0" - } - }, - "@cosmjs/stargate": { - "version": "0.28.13", - "peer": true, - "requires": { - "@confio/ics23": "^0.6.8", - "@cosmjs/amino": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/proto-signing": "0.28.13", - "@cosmjs/stream": "0.28.13", - "@cosmjs/tendermint-rpc": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0", - "protobufjs": "~6.11.3", - "xstream": "^11.14.0" - } - }, - "@cosmjs/stream": { - "version": "0.28.13", - "peer": true, - "requires": { - "xstream": "^11.14.0" - } - }, - "@cosmjs/tendermint-rpc": { - "version": "0.28.13", - "peer": true, - "requires": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/json-rpc": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/socket": "0.28.13", - "@cosmjs/stream": "0.28.13", - "@cosmjs/utils": "0.28.13", - "axios": "^0.21.2", - "readonly-date": "^1.0.0", - "xstream": "^11.14.0" - } - }, - "@cosmjs/utils": { - "version": "0.28.13", - "peer": true - }, - "@cosmos-kit/core": { - "version": "0.11.0", - "requires": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/registry": "^0.11.0", - "@cosmos-kit/types": "^0.11.0", - "@keplr-wallet/cosmos": "^0.10.12", - "@walletconnect/client": "1.7.8" - } - }, - "@cosmos-kit/keplr": { - "version": "0.11.0", - "requires": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/types": "^0.11.0", - "@keplr-wallet/common": "^0.10.12", - "@keplr-wallet/cosmos": "^0.10.12", - "@keplr-wallet/provider": "^0.10.12", - "@keplr-wallet/stores": "^0.10.12", - "@walletconnect/browser-utils": "1.7.8", - "@walletconnect/types": "1.7.8", - "@walletconnect/utils": "1.7.8", - "axios": "0.27.2", - "buffer": "6.0.3", - "deepmerge": "4.2.2", - "secretjs": "0.17.5" - }, - "dependencies": { - "axios": { - "version": "0.27.2", - "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - } - } - }, - "@cosmos-kit/react": { - "version": "0.11.0", - "requires": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/core": "^0.11.0", - "@testing-library/react": "13.3.0", - "@walletconnect/browser-utils": "1.7.8", - "qrcode.react": "3.1.0", - "react-modal": "3.15.1", - "styled-components": "5.3.5" - } - }, - "@cosmos-kit/registry": { - "version": "0.11.0", - "requires": { - "@babel/runtime": "^7.11.2", - "@cosmos-kit/keplr": "^0.11.0", - "@cosmos-kit/types": "^0.11.0" - } - }, - "@cosmos-kit/types": { - "version": "0.11.0", - "requires": { - "@babel/runtime": "^7.11.2", - "@walletconnect/client": "1.7.8", - "@walletconnect/types": "1.7.8" - } - }, - "@ctrl/tinycolor": { - "version": "3.4.1" - }, - "@emotion/babel-plugin": { - "version": "11.10.0", - "requires": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/plugin-syntax-jsx": "^7.17.12", - "@babel/runtime": "^7.18.3", - "@emotion/hash": "^0.9.0", - "@emotion/memoize": "^0.8.0", - "@emotion/serialize": "^1.1.0", - "babel-plugin-macros": "^3.1.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.0.13" - } - }, - "@emotion/cache": { - "version": "11.10.1", - "requires": { - "@emotion/memoize": "^0.8.0", - "@emotion/sheet": "^1.2.0", - "@emotion/utils": "^1.2.0", - "@emotion/weak-memoize": "^0.3.0", - "stylis": "4.0.13" - } - }, - "@emotion/hash": { - "version": "0.9.0" - }, - "@emotion/is-prop-valid": { - "version": "1.2.0", - "requires": { - "@emotion/memoize": "^0.8.0" - } - }, - "@emotion/memoize": { - "version": "0.8.0" - }, - "@emotion/react": { - "version": "11.10.0", - "requires": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.0", - "@emotion/cache": "^11.10.0", - "@emotion/serialize": "^1.1.0", - "@emotion/utils": "^1.2.0", - "@emotion/weak-memoize": "^0.3.0", - "hoist-non-react-statics": "^3.3.1" - } - }, - "@emotion/serialize": { - "version": "1.1.0", - "requires": { - "@emotion/hash": "^0.9.0", - "@emotion/memoize": "^0.8.0", - "@emotion/unitless": "^0.8.0", - "@emotion/utils": "^1.2.0", - "csstype": "^3.0.2" - } - }, - "@emotion/sheet": { - "version": "1.2.0" - }, - "@emotion/styled": { - "version": "11.10.0", - "peer": true, - "requires": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.0", - "@emotion/is-prop-valid": "^1.2.0", - "@emotion/serialize": "^1.1.0", - "@emotion/utils": "^1.2.0" - } - }, - "@emotion/stylis": { - "version": "0.8.5" - }, - "@emotion/unitless": { - "version": "0.8.0" - }, - "@emotion/utils": { - "version": "1.2.0" - }, - "@emotion/weak-memoize": { - "version": "0.3.0" - }, - "@eslint/eslintrc": { - "version": "1.3.0", - "dev": true, - "requires": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.3.2", - "globals": "^13.15.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" - }, - "dependencies": { - "globals": { - "version": "13.17.0", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - } - } - }, - "@ethersproject/abstract-provider": { - "version": "5.7.0", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/networks": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/web": "^5.7.0" - } - }, - "@ethersproject/abstract-signer": { - "version": "5.7.0", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/address": { - "version": "5.7.0", - "requires": { - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/rlp": "^5.7.0" - } - }, - "@ethersproject/base64": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0" - } - }, - "@ethersproject/basex": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/properties": "^5.7.0" - } - }, - "@ethersproject/bignumber": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "bn.js": "^5.2.1" - } - }, - "@ethersproject/bytes": { - "version": "5.7.0", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/constants": { - "version": "5.7.0", - "requires": { - "@ethersproject/bignumber": "^5.7.0" - } - }, - "@ethersproject/hash": { - "version": "5.7.0", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/hdnode": { - "version": "5.7.0", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/json-wallets": { - "version": "5.7.0", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - }, - "dependencies": { - "aes-js": { - "version": "3.0.0" - } - } - }, - "@ethersproject/keccak256": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "js-sha3": "0.8.0" - } - }, - "@ethersproject/logger": { - "version": "5.7.0" - }, - "@ethersproject/networks": { - "version": "5.7.0", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/pbkdf2": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, - "@ethersproject/properties": { - "version": "5.7.0", - "requires": { - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/random": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/rlp": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/sha2": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "hash.js": "1.1.7" - } - }, - "@ethersproject/signing-key": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "bn.js": "^5.2.1", - "elliptic": "6.5.4", - "hash.js": "1.1.7" - } - }, - "@ethersproject/strings": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/logger": "^5.7.0" - } - }, - "@ethersproject/transactions": { - "version": "5.7.0", - "requires": { - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/constants": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/rlp": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0" - } - }, - "@ethersproject/wallet": { - "version": "5.7.0", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/web": { - "version": "5.7.0", - "requires": { - "@ethersproject/base64": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@ethersproject/wordlists": { - "version": "5.7.0", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } - }, - "@hapi/hoek": { - "version": "9.3.0" - }, - "@hapi/topo": { - "version": "5.1.0", - "requires": { - "@hapi/hoek": "^9.0.0" - } - }, - "@humanwhocodes/config-array": { - "version": "0.10.4", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - } - }, - "@humanwhocodes/gitignore-to-minimatch": { - "version": "1.0.2", - "dev": true - }, - "@humanwhocodes/object-schema": { - "version": "1.2.1", - "dev": true - }, - "@iov/crypto": { - "version": "2.1.0", - "requires": { - "@iov/encoding": "^2.1.0", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.4.0", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.0.16", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "type-tagger": "^1.0.0", - "unorm": "^1.5.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0" - } - } - }, - "@iov/encoding": { - "version": "2.1.0", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.3", - "bn.js": "^4.11.8", - "readonly-date": "^1.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0" - } - } - }, - "@iov/utils": { - "version": "2.0.2" - }, - "@jridgewell/gen-mapping": { - "version": "0.1.1", - "peer": true, - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@jridgewell/resolve-uri": { - "version": "3.1.0" - }, - "@jridgewell/set-array": { - "version": "1.1.2" - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.14" - }, - "@jridgewell/trace-mapping": { - "version": "0.3.15", - "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@keplr-wallet/background": { - "version": "0.10.17", - "requires": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "@ethersproject/bytes": "^5.5.0", - "@ethersproject/keccak256": "^5.5.0", - "@ethersproject/wallet": "^5.5.0", - "@keplr-wallet/common": "0.10.17", - "@keplr-wallet/cosmos": "0.10.17", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/popup": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "@ledgerhq/hw-transport": "^6.20.0", - "@ledgerhq/hw-transport-webhid": "^6.20.0", - "@ledgerhq/hw-transport-webusb": "^6.20.0", - "@tharsis/address-converter": "^0.1.5", - "aes-js": "^3.1.2", - "axios": "^0.21.4", - "big-integer": "^1.6.48", - "bip39": "^3.0.2", - "buffer": "^6.0.3", - "delay": "^4.4.0", - "joi": "^17.5.0", - "ledger-cosmos-js": "^2.1.8", - "long": "^4.0.0", - "pbkdf2": "^3.1.2", - "secp256k1": "^4.0.2", - "secretjs": "^0.17.0", - "utility-types": "^3.10.0" - }, - "dependencies": { - "@cosmjs/crypto": { - "version": "0.24.1", - "requires": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "@cosmjs/encoding": { - "version": "0.24.1", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "@cosmjs/math": { - "version": "0.24.1", - "requires": { - "bn.js": "^4.11.8" - } - }, - "@cosmjs/proto-signing": { - "version": "0.24.1", - "requires": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "@cosmjs/utils": { - "version": "0.24.1" - }, - "@types/node": { - "version": "13.13.52" - }, - "bn.js": { - "version": "4.12.0" - }, - "protobufjs": { - "version": "6.10.3", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - } - } - } - }, - "@keplr-wallet/common": { - "version": "0.10.17", - "requires": { - "@keplr-wallet/crypto": "0.10.17", - "buffer": "^6.0.3", - "delay": "^4.4.0" - } - }, - "@keplr-wallet/cosmos": { - "version": "0.10.17", - "requires": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "axios": "^0.21.4", - "bech32": "^1.1.4", - "buffer": "^6.0.3", - "long": "^4.0.0", - "protobufjs": "^6.11.2" - }, - "dependencies": { - "@cosmjs/crypto": { - "version": "0.24.1", - "requires": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "@cosmjs/encoding": { - "version": "0.24.1", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "@cosmjs/math": { - "version": "0.24.1", - "requires": { - "bn.js": "^4.11.8" - } - }, - "@cosmjs/utils": { - "version": "0.24.1" - }, - "bn.js": { - "version": "4.12.0" - } - } - }, - "@keplr-wallet/crypto": { - "version": "0.10.17", - "requires": { - "bip32": "^2.0.6", - "bip39": "^3.0.3", - "bs58check": "^2.1.2", - "buffer": "^6.0.3", - "crypto-js": "^4.0.0", - "elliptic": "^6.5.3", - "sha.js": "^2.4.11" - } - }, - "@keplr-wallet/popup": { - "version": "0.10.17" - }, - "@keplr-wallet/proto-types": { - "version": "0.10.17", - "requires": { - "long": "^4.0.0", - "protobufjs": "^6.11.2" - } - }, - "@keplr-wallet/provider": { - "version": "0.10.17", - "requires": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "long": "^4.0.0", - "secretjs": "^0.17.0" - }, - "dependencies": { - "@cosmjs/crypto": { - "version": "0.24.1", - "requires": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "@cosmjs/encoding": { - "version": "0.24.1", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "@cosmjs/math": { - "version": "0.24.1", - "requires": { - "bn.js": "^4.11.8" - } - }, - "@cosmjs/proto-signing": { - "version": "0.24.1", - "requires": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "@cosmjs/utils": { - "version": "0.24.1" - }, - "@types/node": { - "version": "13.13.52" - }, - "bn.js": { - "version": "4.12.0" - }, - "protobufjs": { - "version": "6.10.3", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - } - } - } - }, - "@keplr-wallet/router": { - "version": "0.10.17" - }, - "@keplr-wallet/stores": { - "version": "0.10.17", - "requires": { - "@cosmjs/encoding": "^0.24.0-alpha.25", - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/tendermint-rpc": "^0.24.1", - "@ethersproject/address": "^5.6.0", - "@keplr-wallet/background": "0.10.17", - "@keplr-wallet/common": "0.10.17", - "@keplr-wallet/cosmos": "0.10.17", - "@keplr-wallet/crypto": "0.10.17", - "@keplr-wallet/proto-types": "0.10.17", - "@keplr-wallet/router": "0.10.17", - "@keplr-wallet/types": "0.10.17", - "@keplr-wallet/unit": "0.10.17", - "@tharsis/address-converter": "^0.1.5", - "axios": "^0.21.4", - "buffer": "^6.0.3", - "deepmerge": "^4.2.2", - "eventemitter3": "^4.0.7", - "mobx": "^6.1.7", - "mobx-utils": "^6.0.3", - "p-queue": "^6.6.2", - "utility-types": "^3.10.0" - }, - "dependencies": { - "@cosmjs/crypto": { - "version": "0.24.1", - "requires": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "@cosmjs/encoding": { - "version": "0.24.1", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/json-rpc": { - "version": "0.24.1", - "requires": { - "@cosmjs/stream": "^0.24.1", - "xstream": "^11.14.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "@cosmjs/math": { - "version": "0.24.1", - "requires": { - "bn.js": "^4.11.8" - } - }, - "@cosmjs/socket": { - "version": "0.24.1", - "requires": { - "@cosmjs/stream": "^0.24.1", - "isomorphic-ws": "^4.0.1", - "ws": "^6.2.0", - "xstream": "^11.14.0" - } - }, - "@cosmjs/stream": { - "version": "0.24.1", - "requires": { - "xstream": "^11.14.0" - } - }, - "@cosmjs/tendermint-rpc": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/json-rpc": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/socket": "^0.24.1", - "@cosmjs/stream": "^0.24.1", - "axios": "^0.21.1", - "readonly-date": "^1.0.0", - "xstream": "^11.14.0" - } - }, - "@cosmjs/utils": { - "version": "0.24.1" - }, - "bn.js": { - "version": "4.12.0" - }, - "ws": { - "version": "6.2.2", - "requires": { - "async-limiter": "~1.0.0" - } - } - } - }, - "@keplr-wallet/types": { - "version": "0.10.17", - "requires": { - "@cosmjs/launchpad": "^0.24.0-alpha.25", - "@cosmjs/proto-signing": "^0.24.0-alpha.25", - "axios": "^0.21.4", - "long": "^4.0.0", - "secretjs": "^0.17.0" - }, - "dependencies": { - "@cosmjs/crypto": { - "version": "0.24.1", - "requires": { - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "bip39": "^3.0.2", - "bn.js": "^4.11.8", - "elliptic": "^6.5.3", - "js-sha3": "^0.8.0", - "libsodium-wrappers": "^0.7.6", - "pbkdf2": "^3.1.1", - "ripemd160": "^2.0.2", - "sha.js": "^2.4.11", - "unorm": "^1.5.0" - } - }, - "@cosmjs/encoding": { - "version": "0.24.1", - "requires": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "@cosmjs/launchpad": { - "version": "0.24.1", - "requires": { - "@cosmjs/crypto": "^0.24.1", - "@cosmjs/encoding": "^0.24.1", - "@cosmjs/math": "^0.24.1", - "@cosmjs/utils": "^0.24.1", - "axios": "^0.21.1", - "fast-deep-equal": "^3.1.3" - } - }, - "@cosmjs/math": { - "version": "0.24.1", - "requires": { - "bn.js": "^4.11.8" - } - }, - "@cosmjs/proto-signing": { - "version": "0.24.1", - "requires": { - "@cosmjs/launchpad": "^0.24.1", - "long": "^4.0.0", - "protobufjs": "~6.10.2" - } - }, - "@cosmjs/utils": { - "version": "0.24.1" - }, - "@types/node": { - "version": "13.13.52" - }, - "bn.js": { - "version": "4.12.0" - }, - "protobufjs": { - "version": "6.10.3", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - } - } - } - }, - "@keplr-wallet/unit": { - "version": "0.10.17", - "requires": { - "@keplr-wallet/types": "0.10.17", - "big-integer": "^1.6.48", - "utility-types": "^3.10.0" - } - }, - "@ledgerhq/devices": { - "version": "7.0.0", - "requires": { - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/logs": "^6.10.0", - "rxjs": "6", - "semver": "^7.3.5" - }, - "dependencies": { - "semver": { - "version": "7.3.7", - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "@ledgerhq/errors": { - "version": "6.10.1" - }, - "@ledgerhq/hw-transport": { - "version": "6.27.2", - "requires": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "events": "^3.3.0" - } - }, - "@ledgerhq/hw-transport-webhid": { - "version": "6.27.2", - "requires": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/hw-transport": "^6.27.2", - "@ledgerhq/logs": "^6.10.0" - } - }, - "@ledgerhq/hw-transport-webusb": { - "version": "6.27.2", - "requires": { - "@ledgerhq/devices": "^7.0.0", - "@ledgerhq/errors": "^6.10.1", - "@ledgerhq/hw-transport": "^6.27.2", - "@ledgerhq/logs": "^6.10.0" - } - }, - "@ledgerhq/logs": { - "version": "6.10.0" - }, - "@motionone/animation": { - "version": "10.14.0", - "peer": true, - "requires": { - "@motionone/easing": "^10.14.0", - "@motionone/types": "^10.14.0", - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "@motionone/dom": { - "version": "10.13.1", - "peer": true, - "requires": { - "@motionone/animation": "^10.13.1", - "@motionone/generators": "^10.13.1", - "@motionone/types": "^10.13.0", - "@motionone/utils": "^10.13.1", - "hey-listen": "^1.0.8", - "tslib": "^2.3.1" - } - }, - "@motionone/easing": { - "version": "10.14.0", - "peer": true, - "requires": { - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "@motionone/generators": { - "version": "10.14.0", - "peer": true, - "requires": { - "@motionone/types": "^10.14.0", - "@motionone/utils": "^10.14.0", - "tslib": "^2.3.1" - } - }, - "@motionone/types": { - "version": "10.14.0", - "peer": true - }, - "@motionone/utils": { - "version": "10.14.0", - "peer": true, - "requires": { - "@motionone/types": "^10.14.0", - "hey-listen": "^1.0.8", - "tslib": "^2.3.1" - } - }, - "@next/env": { - "version": "12.2.5" - }, - "@next/eslint-plugin-next": { - "version": "12.2.5", - "dev": true, - "requires": { - "glob": "7.1.7" - } - }, - "@next/swc-darwin-x64": { - "version": "12.2.5", - "optional": true - }, - "@noble/hashes": { - "version": "1.1.2", - "peer": true - }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "dev": true - }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } - }, - "@popperjs/core": { - "version": "2.11.6" - }, - "@protobufjs/aspromise": { - "version": "1.1.2" - }, - "@protobufjs/base64": { - "version": "1.1.2" - }, - "@protobufjs/codegen": { - "version": "2.0.4" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2" - }, - "@protobufjs/inquire": { - "version": "1.1.0" - }, - "@protobufjs/path": { - "version": "1.1.2" - }, - "@protobufjs/pool": { - "version": "1.1.0" - }, - "@protobufjs/utf8": { - "version": "1.1.0" - }, - "@rushstack/eslint-patch": { - "version": "1.1.4", - "dev": true - }, - "@sideway/address": { - "version": "4.1.4", - "requires": { - "@hapi/hoek": "^9.0.0" - } - }, - "@sideway/formula": { - "version": "3.0.0" - }, - "@sideway/pinpoint": { - "version": "2.0.0" - }, - "@swc/helpers": { - "version": "0.4.3", - "requires": { - "tslib": "^2.4.0" - } - }, - "@testing-library/dom": { - "version": "8.17.1", - "requires": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4" - }, - "has-flag": { - "version": "4.0.0" - }, - "supports-color": { - "version": "7.2.0", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "@testing-library/react": { - "version": "13.3.0", - "requires": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - } - }, - "@tharsis/address-converter": { - "version": "0.1.8", - "requires": { - "bech32": "^2.0.0", - "crypto-addr-codec": "^0.1.7", - "link-module-alias": "^1.2.0", - "shx": "^0.3.4" - }, - "dependencies": { - "bech32": { - "version": "2.0.0" - } - } - }, - "@types/aria-query": { - "version": "4.2.2" - }, - "@types/json5": { - "version": "0.0.29", - "dev": true - }, - "@types/lodash": { - "version": "4.14.184" - }, - "@types/lodash.mergewith": { - "version": "4.6.6", - "requires": { - "@types/lodash": "*" - } - }, - "@types/long": { - "version": "4.0.2" - }, - "@types/node": { - "version": "18.7.6" - }, - "@types/parse-json": { - "version": "4.0.0" - }, - "@types/prop-types": { - "version": "15.7.5" - }, - "@types/react": { - "version": "18.0.17", - "requires": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "@types/react-dom": { - "version": "18.0.6", - "requires": { - "@types/react": "*" - } - }, - "@types/react-transition-group": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz", - "integrity": "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==", - "requires": { - "@types/react": "*" - } - }, - "@types/scheduler": { - "version": "0.16.2" - }, - "@typescript-eslint/parser": { - "version": "5.33.1", - "dev": true, - "requires": { - "@typescript-eslint/scope-manager": "5.33.1", - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/typescript-estree": "5.33.1", - "debug": "^4.3.4" - } - }, - "@typescript-eslint/scope-manager": { - "version": "5.33.1", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/visitor-keys": "5.33.1" - } - }, - "@typescript-eslint/types": { - "version": "5.33.1", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "5.33.1", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.33.1", - "@typescript-eslint/visitor-keys": "5.33.1", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "dependencies": { - "semver": { - "version": "7.3.7", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "@typescript-eslint/visitor-keys": { - "version": "5.33.1", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.33.1", - "eslint-visitor-keys": "^3.3.0" - } - }, - "@walletconnect/browser-utils": { - "version": "1.7.8", - "requires": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.8", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "@walletconnect/client": { - "version": "1.7.8", - "requires": { - "@walletconnect/core": "^1.7.8", - "@walletconnect/iso-crypto": "^1.7.8", - "@walletconnect/types": "^1.7.8", - "@walletconnect/utils": "^1.7.8" - } - }, - "@walletconnect/core": { - "version": "1.8.0", - "requires": { - "@walletconnect/socket-transport": "^1.8.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0" - }, - "dependencies": { - "@walletconnect/browser-utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "@walletconnect/types": { - "version": "1.8.0" - }, - "@walletconnect/utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "bn.js": { - "version": "4.11.8" - } - } - }, - "@walletconnect/crypto": { - "version": "1.0.2", - "requires": { - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/environment": "^1.0.0", - "@walletconnect/randombytes": "^1.0.2", - "aes-js": "^3.1.2", - "hash.js": "^1.1.7" - } - }, - "@walletconnect/encoding": { - "version": "1.0.1", - "requires": { - "is-typedarray": "1.0.0", - "typedarray-to-buffer": "3.1.5" - } - }, - "@walletconnect/environment": { - "version": "1.0.0" - }, - "@walletconnect/iso-crypto": { - "version": "1.8.0", - "requires": { - "@walletconnect/crypto": "^1.0.2", - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0" - }, - "dependencies": { - "@walletconnect/browser-utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "@walletconnect/types": { - "version": "1.8.0" - }, - "@walletconnect/utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "bn.js": { - "version": "4.11.8" - } - } - }, - "@walletconnect/jsonrpc-types": { - "version": "1.0.1", - "requires": { - "keyvaluestorage-interface": "^1.0.0" - } - }, - "@walletconnect/jsonrpc-utils": { - "version": "1.0.3", - "requires": { - "@walletconnect/environment": "^1.0.0", - "@walletconnect/jsonrpc-types": "^1.0.1" - } - }, - "@walletconnect/randombytes": { - "version": "1.0.2", - "requires": { - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/environment": "^1.0.0", - "randombytes": "^2.1.0" - } - }, - "@walletconnect/safe-json": { - "version": "1.0.0" - }, - "@walletconnect/socket-transport": { - "version": "1.8.0", - "requires": { - "@walletconnect/types": "^1.8.0", - "@walletconnect/utils": "^1.8.0", - "ws": "7.5.3" - }, - "dependencies": { - "@walletconnect/browser-utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.8.0", - "@walletconnect/window-getters": "1.0.0", - "@walletconnect/window-metadata": "1.0.0", - "detect-browser": "5.2.0" - } - }, - "@walletconnect/types": { - "version": "1.8.0" - }, - "@walletconnect/utils": { - "version": "1.8.0", - "requires": { - "@walletconnect/browser-utils": "^1.8.0", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.3", - "@walletconnect/types": "^1.8.0", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - } - }, - "bn.js": { - "version": "4.11.8" - }, - "ws": { - "version": "7.5.3", - "requires": {} - } - } - }, - "@walletconnect/types": { - "version": "1.7.8" - }, - "@walletconnect/utils": { - "version": "1.7.8", - "requires": { - "@walletconnect/browser-utils": "^1.7.8", - "@walletconnect/encoding": "^1.0.1", - "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.8", - "bn.js": "4.11.8", - "js-sha3": "0.8.0", - "query-string": "6.13.5" - }, - "dependencies": { - "bn.js": { - "version": "4.11.8" - } - } - }, - "@walletconnect/window-getters": { - "version": "1.0.0" - }, - "@walletconnect/window-metadata": { - "version": "1.0.0", - "requires": { - "@walletconnect/window-getters": "^1.0.0" - } - }, - "@zag-js/element-size": { - "version": "0.1.0" - }, - "@zag-js/focus-visible": { - "version": "0.1.0" - }, - "acorn": { - "version": "8.8.0", - "dev": true - }, - "acorn-jsx": { - "version": "5.3.2", - "dev": true, - "requires": {} - }, - "aes-js": { - "version": "3.1.2" - }, - "ajv": { - "version": "6.12.6", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-regex": { - "version": "5.0.1" - }, - "ansi-styles": { - "version": "3.2.1", - "requires": { - "color-convert": "^1.9.0" - } - }, - "argparse": { - "version": "2.0.1", - "dev": true - }, - "aria-hidden": { - "version": "1.2.0", - "requires": { - "tslib": "^2.0.0" - } - }, - "aria-query": { - "version": "5.0.0" - }, - "array-includes": { - "version": "3.1.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.7" - } - }, - "array-union": { - "version": "2.1.0", - "dev": true - }, - "array.prototype.flat": { - "version": "1.3.0", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.flatmap": { - "version": "1.3.0", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - } - }, - "ast-types-flow": { - "version": "0.0.7", - "dev": true - }, - "async-limiter": { - "version": "1.0.1" - }, - "asynckit": { - "version": "0.4.0" - }, - "axe-core": { - "version": "4.4.3", - "dev": true - }, - "axios": { - "version": "0.21.4", - "requires": { - "follow-redirects": "^1.14.0" - } - }, - "axobject-query": { - "version": "2.2.0", - "dev": true - }, - "babel-plugin-macros": { - "version": "3.1.0", - "requires": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - } - }, - "babel-plugin-styled-components": { - "version": "2.0.7", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-module-imports": "^7.16.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "lodash": "^4.17.11", - "picomatch": "^2.3.0" - } - }, - "babel-plugin-syntax-jsx": { - "version": "6.18.0" - }, - "balanced-match": { - "version": "1.0.2" - }, - "base-x": { - "version": "3.0.9", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "base64-js": { - "version": "1.5.1" - }, - "bech32": { - "version": "1.1.4" - }, - "big-integer": { - "version": "1.6.51" - }, - "bindings": { - "version": "1.5.0", - "requires": { - "file-uri-to-path": "1.0.0" - } - }, - "bip32": { - "version": "2.0.6", - "requires": { - "@types/node": "10.12.18", - "bs58check": "^2.1.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "tiny-secp256k1": "^1.1.3", - "typeforce": "^1.11.5", - "wif": "^2.0.6" - }, - "dependencies": { - "@types/node": { - "version": "10.12.18" - } - } - }, - "bip39": { - "version": "3.0.4", - "requires": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" - }, - "dependencies": { - "@types/node": { - "version": "11.11.6" - } - } - }, - "blakejs": { - "version": "1.2.1" - }, - "bn.js": { - "version": "5.2.1" - }, - "brace-expansion": { - "version": "1.1.11", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "brorand": { - "version": "1.1.0" - }, - "browserslist": { - "version": "4.21.3", - "peer": true, - "requires": { - "caniuse-lite": "^1.0.30001370", - "electron-to-chromium": "^1.4.202", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.5" - } - }, - "bs58": { - "version": "4.0.1", - "requires": { - "base-x": "^3.0.2" - } - }, - "bs58check": { - "version": "2.1.2", - "requires": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" - } - }, - "buffer": { - "version": "6.0.3", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "call-bind": { - "version": "1.0.2", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "callsites": { - "version": "3.1.0" - }, - "camelize": { - "version": "1.0.0" - }, - "caniuse-lite": { - "version": "1.0.30001380" - }, - "chain-registry": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-0.7.0.tgz", - "integrity": "sha512-6wCuCEE3aT50X8pk5mvxNBjTX9baSRS5QT18+mhi/QrvugQ6N7J0SVSPBr6EpRT7cJc5pnZXWNszy/hvNc2kAg==", - "requires": { - "@babel/runtime": "^7.18.3", - "@chain-registry/types": "^0.5.0" - } - }, - "chakra-react-select": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz", - "integrity": "sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg==", - "requires": { - "react-select": "^5.4.0" - } - }, - "chalk": { - "version": "2.4.2", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "1.0.5" - } - } - }, - "charenc": { - "version": "0.0.2" - }, - "cipher-base": { - "version": "1.0.4", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "color-convert": { - "version": "1.9.3", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3" - }, - "combined-stream": { - "version": "1.0.8", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "compute-scroll-into-view": { - "version": "1.0.14" - }, - "concat-map": { - "version": "0.0.1" - }, - "convert-source-map": { - "version": "1.8.0", - "requires": { - "safe-buffer": "~5.1.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2" - } - } - }, - "copy-to-clipboard": { - "version": "3.3.1", - "requires": { - "toggle-selection": "^1.0.6" - } - }, - "core-js-pure": { - "version": "3.24.1", - "dev": true - }, - "cosmiconfig": { - "version": "7.0.1", - "requires": { - "@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" - } - }, - "cosmjs-types": { - "version": "0.4.1", - "peer": true, - "requires": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } - }, - "create-hash": { - "version": "1.2.0", - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "create-hmac": { - "version": "1.1.7", - "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "cross-spawn": { - "version": "7.0.3", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "crypt": { - "version": "0.0.2" - }, - "crypto-addr-codec": { - "version": "0.1.7", - "requires": { - "base-x": "^3.0.8", - "big-integer": "1.6.36", - "blakejs": "^1.1.0", - "bs58": "^4.0.1", - "ripemd160-min": "0.0.6", - "safe-buffer": "^5.2.0", - "sha3": "^2.1.1" - }, - "dependencies": { - "big-integer": { - "version": "1.6.36" - } - } - }, - "crypto-js": { - "version": "4.1.1" - }, - "css-box-model": { - "version": "1.2.1", - "requires": { - "tiny-invariant": "^1.0.6" - } - }, - "css-color-keywords": { - "version": "1.0.0" - }, - "css-to-react-native": { - "version": "3.0.0", - "requires": { - "camelize": "^1.0.0", - "css-color-keywords": "^1.0.0", - "postcss-value-parser": "^4.0.2" - } - }, - "csstype": { - "version": "3.1.0" - }, - "curve25519-js": { - "version": "0.0.4" - }, - "damerau-levenshtein": { - "version": "1.0.8", - "dev": true - }, - "debug": { - "version": "4.3.4", - "requires": { - "ms": "2.1.2" - } - }, - "decode-uri-component": { - "version": "0.2.0" - }, - "deep-is": { - "version": "0.1.4", - "dev": true - }, - "deepmerge": { - "version": "4.2.2" - }, - "define-properties": { - "version": "1.1.4", - "requires": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - } - }, - "delay": { - "version": "4.4.1" - }, - "delayed-stream": { - "version": "1.0.0" - }, - "detect-browser": { - "version": "5.2.0" - }, - "detect-node-es": { - "version": "1.1.0" - }, - "dir-glob": { - "version": "3.0.1", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, - "doctrine": { - "version": "3.0.0", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "dom-accessibility-api": { - "version": "0.5.14" - }, - "dom-helpers": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", - "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", - "requires": { - "@babel/runtime": "^7.8.7", - "csstype": "^3.0.2" - } - }, - "electron-to-chromium": { - "version": "1.4.225", - "peer": true - }, - "elliptic": { - "version": "6.5.4", - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0" - } - } - }, - "emoji-regex": { - "version": "9.2.2", - "dev": true - }, - "error-ex": { - "version": "1.3.2", - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "es-abstract": { - "version": "1.20.1", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "regexp.prototype.flags": "^1.4.3", - "string.prototype.trimend": "^1.0.5", - "string.prototype.trimstart": "^1.0.5", - "unbox-primitive": "^1.0.2" - } - }, - "es-shim-unscopables": { - "version": "1.0.0", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "escalade": { - "version": "3.1.1", - "peer": true - }, - "escape-string-regexp": { - "version": "4.0.0" - }, - "eslint": { - "version": "8.22.0", - "dev": true, - "requires": { - "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.10.4", - "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", - "ajv": "^6.10.0", - "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.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.3", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "globby": "^11.1.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "dev": true - }, - "globals": { - "version": "13.17.0", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "has-flag": { - "version": "4.0.0", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "eslint-config-next": { - "version": "12.2.5", - "dev": true, - "requires": { - "@next/eslint-plugin-next": "12.2.5", - "@rushstack/eslint-patch": "^1.1.3", - "@typescript-eslint/parser": "^5.21.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-import-resolver-typescript": "^2.7.1", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.29.4", - "eslint-plugin-react-hooks": "^4.5.0" - } - }, - "eslint-import-resolver-node": { - "version": "0.3.6", - "dev": true, - "requires": { - "debug": "^3.2.7", - "resolve": "^1.20.0" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, - "eslint-import-resolver-typescript": { - "version": "2.7.1", - "dev": true, - "requires": { - "debug": "^4.3.4", - "glob": "^7.2.0", - "is-glob": "^4.0.3", - "resolve": "^1.22.0", - "tsconfig-paths": "^3.14.1" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - } - } - }, - "eslint-module-utils": { - "version": "2.7.4", - "dev": true, - "requires": { - "debug": "^3.2.7" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, - "eslint-plugin-import": { - "version": "2.26.0", - "dev": true, - "requires": { - "array-includes": "^3.1.4", - "array.prototype.flat": "^1.2.5", - "debug": "^2.6.9", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-module-utils": "^2.7.3", - "has": "^1.0.3", - "is-core-module": "^2.8.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.values": "^1.1.5", - "resolve": "^1.22.0", - "tsconfig-paths": "^3.14.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "2.1.0", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "ms": { - "version": "2.0.0", - "dev": true - } - } - }, - "eslint-plugin-jsx-a11y": { - "version": "6.6.1", - "dev": true, - "requires": { - "@babel/runtime": "^7.18.9", - "aria-query": "^4.2.2", - "array-includes": "^3.1.5", - "ast-types-flow": "^0.0.7", - "axe-core": "^4.4.3", - "axobject-query": "^2.2.0", - "damerau-levenshtein": "^1.0.8", - "emoji-regex": "^9.2.2", - "has": "^1.0.3", - "jsx-ast-utils": "^3.3.2", - "language-tags": "^1.0.5", - "minimatch": "^3.1.2", - "semver": "^6.3.0" - }, - "dependencies": { - "aria-query": { - "version": "4.2.2", - "dev": true, - "requires": { - "@babel/runtime": "^7.10.2", - "@babel/runtime-corejs3": "^7.10.2" - } - } - } - }, - "eslint-plugin-react": { - "version": "7.30.1", - "dev": true, - "requires": { - "array-includes": "^3.1.5", - "array.prototype.flatmap": "^1.3.0", - "doctrine": "^2.1.0", - "estraverse": "^5.3.0", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "minimatch": "^3.1.2", - "object.entries": "^1.1.5", - "object.fromentries": "^2.0.5", - "object.hasown": "^1.1.1", - "object.values": "^1.1.5", - "prop-types": "^15.8.1", - "resolve": "^2.0.0-next.3", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.7" - }, - "dependencies": { - "doctrine": { - "version": "2.1.0", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "resolve": { - "version": "2.0.0-next.4", - "dev": true, - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - } - } - }, - "eslint-plugin-react-hooks": { - "version": "4.6.0", - "dev": true, - "requires": {} - }, - "eslint-scope": { - "version": "7.1.1", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "eslint-utils": { - "version": "3.0.0", - "dev": true, - "requires": { - "eslint-visitor-keys": "^2.0.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "2.1.0", - "dev": true - } - } - }, - "eslint-visitor-keys": { - "version": "3.3.0", - "dev": true - }, - "espree": { - "version": "9.3.3", - "dev": true, - "requires": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" - } - }, - "esquery": { - "version": "1.4.0", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - } - }, - "esrecurse": { - "version": "4.3.0", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.3.0", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "dev": true - }, - "eventemitter3": { - "version": "4.0.7" - }, - "events": { - "version": "3.3.0" - }, - "exenv": { - "version": "1.2.2" - }, - "fast-deep-equal": { - "version": "3.1.3" - }, - "fast-fuzzy": { - "version": "1.11.2", - "requires": { - "graphemesplit": "^2.4.1" - } - }, - "fast-glob": { - "version": "3.2.11", - "dev": true, - "requires": { - "@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" - }, - "dependencies": { - "glob-parent": { - "version": "5.1.2", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - } - } - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "dev": true - }, - "fastq": { - "version": "1.13.0", - "dev": true, - "requires": { - "reusify": "^1.0.4" - } - }, - "file-entry-cache": { - "version": "6.0.1", - "dev": true, - "requires": { - "flat-cache": "^3.0.4" - } - }, - "file-uri-to-path": { - "version": "1.0.0" - }, - "fill-range": { - "version": "7.0.1", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-root": { - "version": "1.1.0" - }, - "find-up": { - "version": "5.0.0", - "dev": true, - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "flat-cache": { - "version": "3.0.4", - "dev": true, - "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - } - }, - "flatted": { - "version": "3.2.7", - "dev": true - }, - "focus-lock": { - "version": "0.11.2", - "requires": { - "tslib": "^2.0.3" - } - }, - "follow-redirects": { - "version": "1.15.1" - }, - "form-data": { - "version": "4.0.0", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "framer-motion": { - "version": "7.2.0", - "peer": true, - "requires": { - "@emotion/is-prop-valid": "^0.8.2", - "@motionone/dom": "10.13.1", - "framesync": "6.1.2", - "hey-listen": "^1.0.8", - "popmotion": "11.0.5", - "style-value-types": "5.1.2", - "tslib": "2.4.0" - }, - "dependencies": { - "@emotion/is-prop-valid": { - "version": "0.8.8", - "optional": true, - "peer": true, - "requires": { - "@emotion/memoize": "0.7.4" - } - }, - "@emotion/memoize": { - "version": "0.7.4", - "optional": true, - "peer": true - }, - "framesync": { - "version": "6.1.2", - "peer": true, - "requires": { - "tslib": "2.4.0" - } - } - } - }, - "framesync": { - "version": "5.3.0", - "requires": { - "tslib": "^2.1.0" - } - }, - "fs.realpath": { - "version": "1.0.0" - }, - "function-bind": { - "version": "1.1.1" - }, - "function.prototype.name": { - "version": "1.1.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" - } - }, - "functional-red-black-tree": { - "version": "1.0.1", - "dev": true - }, - "functions-have-names": { - "version": "1.2.3", - "dev": true - }, - "gensync": { - "version": "1.0.0-beta.2", - "peer": true - }, - "get-intrinsic": { - "version": "1.1.2", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - } - }, - "get-nonce": { - "version": "1.0.1" - }, - "get-symbol-description": { - "version": "1.0.0", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "glob": { - "version": "7.1.7", - "requires": { - "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-parent": { - "version": "6.0.2", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - }, - "globals": { - "version": "11.12.0" - }, - "globalthis": { - "version": "1.0.3", - "requires": { - "define-properties": "^1.1.3" - } - }, - "globby": { - "version": "11.1.0", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, - "grapheme-splitter": { - "version": "1.0.4", - "dev": true - }, - "graphemesplit": { - "version": "2.4.4", - "requires": { - "js-base64": "^3.6.0", - "unicode-trie": "^2.0.0" - } - }, - "has": { - "version": "1.0.3", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-bigints": { - "version": "1.0.2", - "dev": true - }, - "has-flag": { - "version": "3.0.0" - }, - "has-property-descriptors": { - "version": "1.0.0", - "requires": { - "get-intrinsic": "^1.1.1" - } - }, - "has-symbols": { - "version": "1.0.3" - }, - "has-tostringtag": { - "version": "1.0.0", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "hash-base": { - "version": "3.1.0", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "hash.js": { - "version": "1.1.7", - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "hey-listen": { - "version": "1.0.8", - "peer": true - }, - "hmac-drbg": { - "version": "1.0.1", - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "hoist-non-react-statics": { - "version": "3.3.2", - "requires": { - "react-is": "^16.7.0" - }, - "dependencies": { - "react-is": { - "version": "16.13.1" - } - } - }, - "ieee754": { - "version": "1.2.1" - }, - "ignore": { - "version": "5.2.0", - "dev": true - }, - "import-fresh": { - "version": "3.3.0", - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - } - }, - "imurmurhash": { - "version": "0.1.4", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4" - }, - "internal-slot": { - "version": "1.0.3", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "interpret": { - "version": "1.4.0" - }, - "invariant": { - "version": "2.2.4", - "requires": { - "loose-envify": "^1.0.0" - } - }, - "is-arrayish": { - "version": "0.2.1" - }, - "is-bigint": { - "version": "1.0.4", - "dev": true, - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-buffer": { - "version": "1.1.6" - }, - "is-callable": { - "version": "1.2.4", - "dev": true - }, - "is-core-module": { - "version": "2.10.0", - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.5", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "dev": true - }, - "is-glob": { - "version": "4.0.3", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-negative-zero": { - "version": "2.0.2", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "dev": true - }, - "is-number-object": { - "version": "1.0.7", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-regex": { - "version": "1.1.4", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-shared-array-buffer": { - "version": "1.0.2", - "dev": true, - "requires": { - "call-bind": "^1.0.2" - } - }, - "is-string": { - "version": "1.0.7", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-typedarray": { - "version": "1.0.0" - }, - "is-weakref": { - "version": "1.0.2", - "dev": true, - "requires": { - "call-bind": "^1.0.2" - } - }, - "isexe": { - "version": "2.0.0", - "dev": true - }, - "isomorphic-ws": { - "version": "4.0.1", - "requires": {} - }, - "joi": { - "version": "17.6.0", - "requires": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", - "@sideway/formula": "^3.0.0", - "@sideway/pinpoint": "^2.0.0" - } - }, - "js-base64": { - "version": "3.7.2" - }, - "js-crypto-env": { - "version": "0.3.2" - }, - "js-crypto-hash": { - "version": "0.6.3", - "requires": { - "buffer": "~5.4.3", - "hash.js": "~1.1.7", - "js-crypto-env": "^0.3.2", - "md5": "~2.2.1", - "sha3": "~2.1.0" - }, - "dependencies": { - "buffer": { - "version": "5.4.3", - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - } - } - } - }, - "js-crypto-hkdf": { - "version": "0.7.3", - "requires": { - "js-crypto-env": "^0.3.2", - "js-crypto-hmac": "^0.6.3", - "js-crypto-random": "^0.4.3", - "js-encoding-utils": "0.5.6" - } - }, - "js-crypto-hmac": { - "version": "0.6.3", - "requires": { - "js-crypto-env": "^0.3.2", - "js-crypto-hash": "^0.6.3" - } - }, - "js-crypto-random": { - "version": "0.4.3", - "requires": { - "js-crypto-env": "^0.3.2" - } - }, - "js-encoding-utils": { - "version": "0.5.6" - }, - "js-sha3": { - "version": "0.8.0" - }, - "js-tokens": { - "version": "4.0.0" - }, - "js-yaml": { - "version": "4.1.0", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - }, - "jsesc": { - "version": "2.5.2" - }, - "json-parse-even-better-errors": { - "version": "2.3.1" - }, - "json-schema-traverse": { - "version": "0.4.1", - "dev": true - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true - }, - "json5": { - "version": "2.2.1", - "peer": true - }, - "jsx-ast-utils": { - "version": "3.3.3", - "dev": true, - "requires": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" - } - }, - "keyvaluestorage-interface": { - "version": "1.0.0" - }, - "language-subtag-registry": { - "version": "0.3.22", - "dev": true - }, - "language-tags": { - "version": "1.0.5", - "dev": true, - "requires": { - "language-subtag-registry": "~0.3.2" - } - }, - "ledger-cosmos-js": { - "version": "2.1.8", - "requires": { - "@babel/runtime": "^7.11.2", - "@ledgerhq/hw-transport": "^5.25.0", - "bech32": "^1.1.4", - "ripemd160": "^2.0.2" - }, - "dependencies": { - "@ledgerhq/devices": { - "version": "5.51.1", - "requires": { - "@ledgerhq/errors": "^5.50.0", - "@ledgerhq/logs": "^5.50.0", - "rxjs": "6", - "semver": "^7.3.5" - } - }, - "@ledgerhq/errors": { - "version": "5.50.0" - }, - "@ledgerhq/hw-transport": { - "version": "5.51.1", - "requires": { - "@ledgerhq/devices": "^5.51.1", - "@ledgerhq/errors": "^5.50.0", - "events": "^3.3.0" - } - }, - "@ledgerhq/logs": { - "version": "5.50.0" - }, - "semver": { - "version": "7.3.7", - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "levn": { - "version": "0.4.1", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "libsodium": { - "version": "0.7.10" - }, - "libsodium-wrappers": { - "version": "0.7.10", - "requires": { - "libsodium": "^0.7.0" - } - }, - "lines-and-columns": { - "version": "1.2.4" - }, - "link-module-alias": { - "version": "1.2.0", - "requires": { - "chalk": "^2.4.1" - } - }, - "locate-path": { - "version": "6.0.0", - "dev": true, - "requires": { - "p-locate": "^5.0.0" - } - }, - "lodash": { - "version": "4.17.21" - }, - "lodash.merge": { - "version": "4.6.2", - "dev": true - }, - "lodash.mergewith": { - "version": "4.6.2" - }, - "long": { - "version": "4.0.0" - }, - "loose-envify": { - "version": "1.4.0", - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, - "lru-cache": { - "version": "6.0.0", - "requires": { - "yallist": "^4.0.0" - } - }, - "lz-string": { - "version": "1.4.4" - }, - "md5": { - "version": "2.2.1", - "requires": { - "charenc": "~0.0.1", - "crypt": "~0.0.1", - "is-buffer": "~1.1.1" - } - }, - "md5.js": { - "version": "1.3.5", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "memoize-one": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", - "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==" - }, - "merge2": { - "version": "1.4.1", - "dev": true - }, - "micromatch": { - "version": "4.0.5", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, - "mime-db": { - "version": "1.52.0" - }, - "mime-types": { - "version": "2.1.35", - "requires": { - "mime-db": "1.52.0" - } - }, - "minimalistic-assert": { - "version": "1.0.1" - }, - "minimalistic-crypto-utils": { - "version": "1.0.1" - }, - "minimatch": { - "version": "3.1.2", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.6" - }, - "miscreant": { - "version": "0.3.2" - }, - "mobx": { - "version": "6.6.1" - }, - "mobx-utils": { - "version": "6.0.5", - "requires": {} - }, - "ms": { - "version": "2.1.2" - }, - "nan": { - "version": "2.16.0" - }, - "nanoid": { - "version": "3.3.4" - }, - "natural-compare": { - "version": "1.4.0", - "dev": true - }, - "next": { - "version": "12.2.5", - "requires": { - "@next/env": "12.2.5", - "@next/swc-android-arm-eabi": "12.2.5", - "@next/swc-android-arm64": "12.2.5", - "@next/swc-darwin-arm64": "12.2.5", - "@next/swc-darwin-x64": "12.2.5", - "@next/swc-freebsd-x64": "12.2.5", - "@next/swc-linux-arm-gnueabihf": "12.2.5", - "@next/swc-linux-arm64-gnu": "12.2.5", - "@next/swc-linux-arm64-musl": "12.2.5", - "@next/swc-linux-x64-gnu": "12.2.5", - "@next/swc-linux-x64-musl": "12.2.5", - "@next/swc-win32-arm64-msvc": "12.2.5", - "@next/swc-win32-ia32-msvc": "12.2.5", - "@next/swc-win32-x64-msvc": "12.2.5", - "@swc/helpers": "0.4.3", - "caniuse-lite": "^1.0.30001332", - "postcss": "8.4.14", - "styled-jsx": "5.0.4", - "use-sync-external-store": "1.2.0" - } - }, - "node-addon-api": { - "version": "2.0.2" - }, - "node-gyp-build": { - "version": "4.5.0" - }, - "node-releases": { - "version": "2.0.6", - "peer": true - }, - "object-assign": { - "version": "4.1.1" - }, - "object-inspect": { - "version": "1.12.2", - "dev": true - }, - "object-keys": { - "version": "1.1.1" - }, - "object.assign": { - "version": "4.1.4", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - } - }, - "object.entries": { - "version": "1.1.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "object.fromentries": { - "version": "2.0.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "object.hasown": { - "version": "1.1.1", - "dev": true, - "requires": { - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - } - }, - "object.values": { - "version": "1.1.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "once": { - "version": "1.4.0", - "requires": { - "wrappy": "1" - } - }, - "optionator": { - "version": "0.9.1", - "dev": true, - "requires": { - "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.3" - } - }, - "p-finally": { - "version": "1.0.0" - }, - "p-limit": { - "version": "3.1.0", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "dev": true, - "requires": { - "p-limit": "^3.0.2" - } - }, - "p-queue": { - "version": "6.6.2", - "requires": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" - } - }, - "p-timeout": { - "version": "3.2.0", - "requires": { - "p-finally": "^1.0.0" - } - }, - "pako": { - "version": "2.0.4", - "peer": true - }, - "parent-module": { - "version": "1.0.1", - "requires": { - "callsites": "^3.0.0" - } - }, - "parse-json": { - "version": "5.2.0", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "path-exists": { - "version": "4.0.0", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1" - }, - "path-key": { - "version": "3.1.1", - "dev": true - }, - "path-parse": { - "version": "1.0.7" - }, - "path-type": { - "version": "4.0.0" - }, - "pbkdf2": { - "version": "3.1.2", - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "picocolors": { - "version": "1.0.0" - }, - "picomatch": { - "version": "2.3.1" - }, - "popmotion": { - "version": "11.0.5", - "peer": true, - "requires": { - "framesync": "6.1.2", - "hey-listen": "^1.0.8", - "style-value-types": "5.1.2", - "tslib": "2.4.0" - }, - "dependencies": { - "framesync": { - "version": "6.1.2", - "peer": true, - "requires": { - "tslib": "2.4.0" - } - } - } - }, - "postcss": { - "version": "8.4.14", - "requires": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - } - }, - "postcss-value-parser": { - "version": "4.2.0" - }, - "prelude-ls": { - "version": "1.2.1", - "dev": true - }, - "pretty-format": { - "version": "27.5.1", - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0" - }, - "react-is": { - "version": "17.0.2" - } - } - }, - "prop-types": { - "version": "15.8.1", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - }, - "dependencies": { - "react-is": { - "version": "16.13.1" - } - } - }, - "protobufjs": { - "version": "6.11.3", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - } - }, - "punycode": { - "version": "2.1.1", - "dev": true - }, - "qrcode.react": { - "version": "3.1.0", - "requires": {} - }, - "query-string": { - "version": "6.13.5", - "requires": { - "decode-uri-component": "^0.2.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - } - }, - "queue-microtask": { - "version": "1.2.3", - "dev": true - }, - "randombytes": { - "version": "2.1.0", - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "react": { - "version": "18.2.0", - "requires": { - "loose-envify": "^1.1.0" - } - }, - "react-clientside-effect": { - "version": "1.2.6", - "requires": { - "@babel/runtime": "^7.12.13" - } - }, - "react-dom": { - "version": "18.2.0", - "requires": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" - } - }, - "react-fast-compare": { - "version": "3.2.0" - }, - "react-focus-lock": { - "version": "2.9.1", - "requires": { - "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.2", - "prop-types": "^15.6.2", - "react-clientside-effect": "^1.2.6", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - } - }, - "react-icons": { - "version": "4.4.0", - "requires": {} - }, - "react-is": { - "version": "18.2.0", - "peer": true - }, - "react-lifecycles-compat": { - "version": "3.0.4" - }, - "react-modal": { - "version": "3.15.1", - "requires": { - "exenv": "^1.2.0", - "prop-types": "^15.7.2", - "react-lifecycles-compat": "^3.0.0", - "warning": "^4.0.3" - } - }, - "react-remove-scroll": { - "version": "2.5.5", - "requires": { - "react-remove-scroll-bar": "^2.3.3", - "react-style-singleton": "^2.2.1", - "tslib": "^2.1.0", - "use-callback-ref": "^1.3.0", - "use-sidecar": "^1.1.2" - } - }, - "react-remove-scroll-bar": { - "version": "2.3.3", - "requires": { - "react-style-singleton": "^2.2.1", - "tslib": "^2.0.0" - } - }, - "react-select": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz", - "integrity": "sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg==", - "requires": { - "@babel/runtime": "^7.12.0", - "@emotion/cache": "^11.4.0", - "@emotion/react": "^11.8.1", - "@types/react-transition-group": "^4.4.0", - "memoize-one": "^5.0.0", - "prop-types": "^15.6.0", - "react-transition-group": "^4.3.0" - } - }, - "react-style-singleton": { - "version": "2.2.1", - "requires": { - "get-nonce": "^1.0.0", - "invariant": "^2.2.4", - "tslib": "^2.0.0" - } - }, - "react-transition-group": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", - "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", - "requires": { - "@babel/runtime": "^7.5.5", - "dom-helpers": "^5.0.1", - "loose-envify": "^1.4.0", - "prop-types": "^15.6.2" - } - }, - "readable-stream": { - "version": "3.6.0", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "readonly-date": { - "version": "1.0.0" - }, - "rechoir": { - "version": "0.6.2", - "requires": { - "resolve": "^1.1.6" - } - }, - "regenerator-runtime": { - "version": "0.13.9" - }, - "regexp.prototype.flags": { - "version": "1.4.3", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" - } - }, - "regexpp": { - "version": "3.2.0", - "dev": true - }, - "resolve": { - "version": "1.22.1", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "resolve-from": { - "version": "4.0.0" - }, - "reusify": { - "version": "1.0.4", - "dev": true - }, - "rimraf": { - "version": "3.0.2", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "ripemd160": { - "version": "2.0.2", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "ripemd160-min": { - "version": "0.0.6" - }, - "run-parallel": { - "version": "1.2.0", - "dev": true, - "requires": { - "queue-microtask": "^1.2.2" - } - }, - "rxjs": { - "version": "6.6.7", - "requires": { - "tslib": "^1.9.0" - }, - "dependencies": { - "tslib": { - "version": "1.14.1" - } - } - }, - "safe-buffer": { - "version": "5.2.1" - }, - "scheduler": { - "version": "0.23.0", - "requires": { - "loose-envify": "^1.1.0" - } - }, - "scrypt-js": { - "version": "3.0.1" - }, - "secp256k1": { - "version": "4.0.3", - "requires": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - } - }, - "secretjs": { - "version": "0.17.5", - "requires": { - "@iov/crypto": "2.1.0", - "@iov/encoding": "2.1.0", - "@iov/utils": "2.0.2", - "axios": "0.21.1", - "curve25519-js": "0.0.4", - "fast-deep-equal": "3.1.1", - "js-crypto-hkdf": "0.7.3", - "miscreant": "0.3.2", - "pako": "1.0.11", - "protobufjs": "^6.11.2", - "secure-random": "1.1.2" - }, - "dependencies": { - "axios": { - "version": "0.21.1", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "fast-deep-equal": { - "version": "3.1.1" - }, - "pako": { - "version": "1.0.11" - } - } - }, - "secure-random": { - "version": "1.1.2" - }, - "semver": { - "version": "6.3.0" - }, - "sha.js": { - "version": "2.4.11", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "sha3": { - "version": "2.1.4", - "requires": { - "buffer": "6.0.3" - } - }, - "shallowequal": { - "version": "1.1.0" - }, - "shebang-command": { - "version": "2.0.0", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "dev": true - }, - "shelljs": { - "version": "0.8.5", - "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" - } - }, - "shx": { - "version": "0.3.4", - "requires": { - "minimist": "^1.2.3", - "shelljs": "^0.8.5" - } - }, - "side-channel": { - "version": "1.0.4", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "slash": { - "version": "3.0.0", - "dev": true - }, - "source-map": { - "version": "0.5.7" - }, - "source-map-js": { - "version": "1.0.2" - }, - "split-on-first": { - "version": "1.1.0" - }, - "strict-uri-encode": { - "version": "2.0.0" - }, - "string_decoder": { - "version": "1.3.0", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "string.prototype.matchall": { - "version": "4.0.7", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.1", - "side-channel": "^1.0.4" - } - }, - "string.prototype.trimend": { - "version": "1.0.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - } - }, - "string.prototype.trimstart": { - "version": "1.0.5", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - } - }, - "strip-ansi": { - "version": "6.0.1", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-bom": { - "version": "3.0.0", - "dev": true - }, - "strip-json-comments": { - "version": "3.1.1", - "dev": true - }, - "style-value-types": { - "version": "5.1.2", - "peer": true, - "requires": { - "hey-listen": "^1.0.8", - "tslib": "2.4.0" - } - }, - "styled-components": { - "version": "5.3.5", - "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/traverse": "^7.4.5", - "@emotion/is-prop-valid": "^1.1.0", - "@emotion/stylis": "^0.8.4", - "@emotion/unitless": "^0.7.4", - "babel-plugin-styled-components": ">= 1.12.0", - "css-to-react-native": "^3.0.0", - "hoist-non-react-statics": "^3.0.0", - "shallowequal": "^1.1.0", - "supports-color": "^5.5.0" - }, - "dependencies": { - "@emotion/unitless": { - "version": "0.7.5" - } - } - }, - "styled-jsx": { - "version": "5.0.4", - "requires": {} - }, - "stylis": { - "version": "4.0.13" - }, - "supports-color": { - "version": "5.5.0", - "requires": { - "has-flag": "^3.0.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0" - }, - "symbol-observable": { - "version": "2.0.3" - }, - "text-table": { - "version": "0.2.0", - "dev": true - }, - "tiny-inflate": { - "version": "1.0.3" - }, - "tiny-invariant": { - "version": "1.2.0" - }, - "tiny-secp256k1": { - "version": "1.1.6", - "requires": { - "bindings": "^1.3.0", - "bn.js": "^4.11.8", - "create-hmac": "^1.1.7", - "elliptic": "^6.4.0", - "nan": "^2.13.2" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0" - } - } - }, - "to-fast-properties": { - "version": "2.0.0" - }, - "to-regex-range": { - "version": "5.0.1", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "toggle-selection": { - "version": "1.0.6" - }, - "tsconfig-paths": { - "version": "3.14.1", - "dev": true, - "requires": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - }, - "dependencies": { - "json5": { - "version": "1.0.1", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - } - } - }, - "tslib": { - "version": "2.4.0" - }, - "tsutils": { - "version": "3.21.0", - "dev": true, - "requires": { - "tslib": "^1.8.1" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "dev": true - } - } - }, - "type-check": { - "version": "0.4.0", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1" - } - }, - "type-fest": { - "version": "0.20.2", - "dev": true - }, - "type-tagger": { - "version": "1.0.0" - }, - "typedarray-to-buffer": { - "version": "3.1.5", - "requires": { - "is-typedarray": "^1.0.0" - } - }, - "typeforce": { - "version": "1.18.0" - }, - "typescript": { - "version": "4.7.4", - "dev": true - }, - "unbox-primitive": { - "version": "1.0.2", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - } - }, - "unicode-trie": { - "version": "2.0.0", - "requires": { - "pako": "^0.2.5", - "tiny-inflate": "^1.0.0" - }, - "dependencies": { - "pako": { - "version": "0.2.9" - } - } - }, - "unorm": { - "version": "1.6.0" - }, - "update-browserslist-db": { - "version": "1.0.5", - "peer": true, - "requires": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - } - }, - "uri-js": { - "version": "4.4.1", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "use-callback-ref": { - "version": "1.3.0", - "requires": { - "tslib": "^2.0.0" - } - }, - "use-sidecar": { - "version": "1.1.2", - "requires": { - "detect-node-es": "^1.1.0", - "tslib": "^2.0.0" - } - }, - "use-sync-external-store": { - "version": "1.2.0", - "requires": {} - }, - "util-deprecate": { - "version": "1.0.2" - }, - "utility-types": { - "version": "3.10.0" - }, - "v8-compile-cache": { - "version": "2.3.0", - "dev": true - }, - "warning": { - "version": "4.0.3", - "requires": { - "loose-envify": "^1.0.0" - } - }, - "which": { - "version": "2.0.2", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "which-boxed-primitive": { - "version": "1.0.2", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "wif": { - "version": "2.0.6", - "requires": { - "bs58check": "<3.0.0" - } - }, - "word-wrap": { - "version": "1.2.3", - "dev": true - }, - "wrappy": { - "version": "1.0.2" - }, - "ws": { - "version": "7.5.9", - "peer": true, - "requires": {} - }, - "xstream": { - "version": "11.14.0", - "requires": { - "globalthis": "^1.0.1", - "symbol-observable": "^2.0.3" - } - }, - "yallist": { - "version": "4.0.0" - }, - "yaml": { - "version": "1.10.2" - }, - "yocto-queue": { - "version": "0.1.0", - "dev": true - }, - "@next/swc-android-arm-eabi": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz", - "integrity": "sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA==", - "optional": true - }, - "@next/swc-android-arm64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz", - "integrity": "sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg==", - "optional": true - }, - "@next/swc-darwin-arm64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz", - "integrity": "sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg==", - "optional": true - }, - "@next/swc-freebsd-x64": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz", - "integrity": "sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw==", - "optional": true - }, - "@next/swc-linux-arm-gnueabihf": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz", - "integrity": "sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg==", - "optional": true - }, - "@next/swc-linux-arm64-gnu": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz", - "integrity": "sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ==", - "optional": true - }, - "@next/swc-linux-arm64-musl": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz", - "integrity": "sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg==", - "optional": true - }, - "@next/swc-linux-x64-gnu": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz", - "integrity": "sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw==", - "optional": true - }, - "@next/swc-linux-x64-musl": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz", - "integrity": "sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g==", - "optional": true - }, - "@next/swc-win32-arm64-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz", - "integrity": "sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw==", - "optional": true - }, - "@next/swc-win32-ia32-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz", - "integrity": "sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw==", - "optional": true - }, - "@next/swc-win32-x64-msvc": { - "version": "12.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz", - "integrity": "sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q==", - "optional": true - } - } -} From 17288b425ed91f0c95a701da7bfae51c27c05a6b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 17:51:57 -0700 Subject: [PATCH 003/262] cleanup --- templates/connect-chain/pages/index.tsx | 6 +++--- templates/connect-multi-chain/pages/index.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index e42774dae..8f4113c23 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -84,7 +84,7 @@ export default function Home() { fontWeight={800} fontSize={{ base: '3xl', sm: '4xl', md: '6xl' }} lineHeight={'110%'}> - Cosmos App Made Easy
+ Cosmos Apps Made Easy
- CosmosKit.js + Telescope + Next.js + CosmosKit + Telescope + Next.js - Powered by @cosmology-tech + Powered by Cosmology diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 814c4b413..06501d8d7 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -115,7 +115,7 @@ export default function Home() { fontWeight={800} fontSize={{ base: '3xl', sm: '4xl', md: '6xl' }} lineHeight={'110%'}> - Cosmos App Made Easy
+ Cosmos Apps Made Easy
- CosmosKit.js + Telescope + Next.js + CosmosKit + Telescope + Next.js - Powered by @cosmology-tech + Powered by Cosmology From 854dd097a5940bc8c344dad3ac5e136190579fdc Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 18:22:32 -0700 Subject: [PATCH 004/262] templates --- package.json | 12 +- packages/create-cosmos-app/package.json | 20 +- templates/connect-chain/config/features.ts | 2 +- templates/connect-chain/package.json | 6 +- .../connect-multi-chain/config/features.ts | 2 +- templates/connect-multi-chain/package.json | 8 +- yarn.lock | 3876 +++++++++++++++-- 7 files changed, 3497 insertions(+), 429 deletions(-) diff --git a/package.json b/package.json index d2c3d7e69..873e2b602 100644 --- a/package.json +++ b/package.json @@ -14,18 +14,18 @@ "test": "lerna run test --stream" }, "devDependencies": { - "@babel/cli": "7.17.10", - "@babel/core": "7.18.5", + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", "@babel/eslint-parser": "^7.18.2", "@pyramation/babel-preset-env": "0.1.0", "babel-core": "7.0.0-bridge.0", "babel-jest": "^28.1.1", - "eslint": "8.17.0", + "eslint": "8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", - "jest": "28.1.1", + "jest": "28.1.3", "lerna": "4.0.0", - "prettier": "2.7.0" + "prettier": "2.7.1" }, "workspaces": [ "packages/*", @@ -35,4 +35,4 @@ "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" } -} \ No newline at end of file +} diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 147128b08..3c2907de3 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -53,23 +53,23 @@ ] }, "devDependencies": { - "@babel/cli": "7.18.6", - "@babel/core": "7.18.6", + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", "@babel/eslint-parser": "^7.5.4", - "@babel/node": "^7.10.5", + "@babel/node": "^7.18.10", "@babel/plugin-proposal-class-properties": "7.18.6", - "@babel/plugin-proposal-export-default-from": "7.18.6", - "@babel/plugin-proposal-object-rest-spread": "7.18.6", - "@babel/plugin-transform-runtime": "7.18.6", - "@babel/preset-env": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", "@babel/preset-typescript": "^7.16.7", - "@types/jest": "^28.1.5", + "@types/jest": "^28.1.7", "babel-core": "7.0.0-bridge.0", "babel-jest": "28.1.3", "babel-watch": "^7.0.0", "case": "1.6.3", "cross-env": "^7.0.2", - "eslint": "8.19.0", + "eslint": "8.22.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "glob": "8.0.3", @@ -77,7 +77,7 @@ "jest-in-case": "^1.0.2", "prettier": "^2.1.2", "regenerator-runtime": "^0.13.7", - "ts-jest": "^28.0.5", + "ts-jest": "^28.0.8", "typescript": "^4.6.2" }, "dependencies": { diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 14fa9eb99..fd69da32b 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -12,7 +12,7 @@ export const products: FeatureProps[] = [ href: 'https://github.com/osmosis-labs/telescope', }, { - title: 'Ts Codegen', + title: 'TS Codegen', text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', href: 'https://github.com/CosmWasm/ts-codegen', }, diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 8e224ba8c..e131cc3d0 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -11,15 +11,19 @@ "dependencies": { "@chakra-ui/icons": "^2.0.8", "@chakra-ui/react": "^2.2.8", + "@cosmjs/cosmwasm-stargate": "0.28.13", + "@cosmjs/stargate": "0.28.13", "@cosmos-kit/react": "^0.11.0", "@cosmos-kit/types": "^0.11.0", + "@emotion/styled": "11.10.0", + "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "^4.4.0" }, "devDependencies": { - "@types/node": "18.7.6", + "@types/node": "18.7.11", "@types/react": "18.0.17", "@types/react-dom": "18.0.6", "eslint": "8.22.0", diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 14fa9eb99..bd13aaccb 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -12,7 +12,7 @@ export const products: FeatureProps[] = [ href: 'https://github.com/osmosis-labs/telescope', }, { - title: 'Ts Codegen', + title: '@CosmWasm/TS Codegen', text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', href: 'https://github.com/CosmWasm/ts-codegen', }, diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 798a46159..8f3209287 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -11,18 +11,22 @@ "dependencies": { "@chakra-ui/icons": "^2.0.8", "@chakra-ui/react": "^2.2.8", + "@cosmjs/cosmwasm-stargate": "0.28.13", + "@cosmjs/stargate": "0.28.13", "@cosmos-kit/react": "^0.11.0", "@cosmos-kit/types": "^0.11.0", - "chain-registry": "^0.7.0", + "@emotion/styled": "11.10.0", + "chain-registry": "^0.8.1", "chakra-react-select": "^4.1.4", "fast-fuzzy": "^1.11.2", + "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "^4.4.0" }, "devDependencies": { - "@types/node": "18.7.6", + "@types/node": "18.7.11", "@types/react": "18.0.17", "@types/react-dom": "18.0.6", "eslint": "8.22.0", diff --git a/yarn.lock b/yarn.lock index 68bac59cc..8602c7b18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,32 +10,16 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/cli@7.17.10": - version "7.17.10" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.17.10.tgz#5ea0bf6298bb78f3b59c7c06954f9bd1c79d5943" - integrity sha512-OygVO1M2J4yPMNOW9pb+I6kFGpQK77HmG44Oz3hg8xQIl5L/2zq+ZohwAdSaqYgVwM0SfmPHZHphH4wR8qzVYw== +"@babel/cli@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz#4211adfc45ffa7d4f3cee6b60bb92e9fe68fe56a" + integrity sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw== dependencies: "@jridgewell/trace-mapping" "^0.3.8" commander "^4.0.1" convert-source-map "^1.1.0" fs-readdir-recursive "^1.1.0" - glob "^7.0.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/cli@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.18.6.tgz#b1228eb9196b34d608155a47508011d9e47ab1f2" - integrity sha512-jXNHoYCbxZ8rKy+2lyy0VjcaGxS4NPbN0qc95DjIiGZQL/mTNx3o2/yI0TG+X0VrrTuwmO7zH52T9NcNdbF9Uw== - dependencies: - "@jridgewell/trace-mapping" "^0.3.8" - commander "^4.0.1" - convert-source-map "^1.1.0" - fs-readdir-recursive "^1.1.0" - glob "^7.0.0" + glob "^7.2.0" make-dir "^2.1.0" slash "^2.0.0" optionalDependencies: @@ -56,7 +40,7 @@ dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.18.6": +"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== @@ -72,47 +56,26 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.6", "@babel/compat-data@^7.18.8": +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8": version "7.18.8" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== -"@babel/core@7.18.5": - version "7.18.5" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.5.tgz#c597fa680e58d571c28dda9827669c78cdd7f000" - integrity sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ== - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.18.2" - "@babel/helper-compilation-targets" "^7.18.2" - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helpers" "^7.18.2" - "@babel/parser" "^7.18.5" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.18.5" - "@babel/types" "^7.18.4" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" - -"@babel/core@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.6.tgz#54a107a3c298aee3fe5e1947a6464b9b6faca03d" - integrity sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ== +"@babel/core@7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz#9be8c44512751b05094a4d3ab05fc53a47ce00ac" + integrity sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.6" - "@babel/helper-compilation-targets" "^7.18.6" - "@babel/helper-module-transforms" "^7.18.6" - "@babel/helpers" "^7.18.6" - "@babel/parser" "^7.18.6" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/generator" "^7.18.13" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.13" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.13" + "@babel/types" "^7.18.13" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -180,7 +143,16 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.18.2", "@babel/generator@^7.18.6", "@babel/generator@^7.18.9", "@babel/generator@^7.7.2": +"@babel/generator@^7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz#59550cbb9ae79b8def15587bdfbaa388c4abf212" + integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== + dependencies: + "@babel/types" "^7.18.13" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.18.9", "@babel/generator@^7.7.2": version "7.18.9" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.9.tgz#68337e9ea8044d6ddc690fb29acae39359cca0a5" integrity sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug== @@ -206,7 +178,7 @@ dependencies: "@babel/types" "^7.10.4" -"@babel/helper-annotate-as-pure@^7.18.6": +"@babel/helper-annotate-as-pure@^7.16.0", "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== @@ -253,7 +225,7 @@ "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.2", "@babel/helper-compilation-targets@^7.18.6", "@babel/helper-compilation-targets@^7.18.9": +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz#69e64f57b524cde3e5ff6cc5a9f4a387ee5563bf" integrity sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg== @@ -333,7 +305,7 @@ "@babel/types" "^7.10.5" lodash "^4.17.19" -"@babel/helper-define-polyfill-provider@^0.3.1", "@babel/helper-define-polyfill-provider@^0.3.2": +"@babel/helper-define-polyfill-provider@^0.3.2": version "0.3.2" resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.2.tgz#bd10d0aca18e8ce012755395b05a79f45eca5073" integrity sha512-r9QJJ+uDWrd+94BSPcP6/de67ygLtvVy6cK4luE6MOuDsZIdoaPBnfSpbO/+LTifjPckbKXRuI9BB/Z2/y3iTg== @@ -345,7 +317,7 @@ resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-environment-visitor@^7.18.6", "@babel/helper-environment-visitor@^7.18.9": +"@babel/helper-environment-visitor@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== @@ -440,6 +412,13 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + "@babel/helper-module-imports@^7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz#4c5c54be04bd31670a7382797d75b9fa2e5b5620" @@ -447,13 +426,6 @@ dependencies: "@babel/types" "^7.10.4" -"@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== - dependencies: - "@babel/types" "^7.18.6" - "@babel/helper-module-imports@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" @@ -474,7 +446,7 @@ "@babel/types" "^7.11.0" lodash "^4.17.19" -"@babel/helper-module-transforms@^7.18.0", "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9": +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz#5a1079c005135ed627442df31a42887e80fcb712" integrity sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g== @@ -538,7 +510,7 @@ dependencies: lodash "^4.17.13" -"@babel/helper-remap-async-to-generator@^7.18.6": +"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== @@ -640,6 +612,11 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-string-parser@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" + integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== + "@babel/helper-validator-identifier@^7.10.4": version "7.10.4" resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" @@ -675,7 +652,7 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helpers@^7.18.2", "@babel/helpers@^7.18.6", "@babel/helpers@^7.18.9": +"@babel/helpers@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz#4bef3b893f253a1eced04516824ede94dcfe7ff9" integrity sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ== @@ -720,10 +697,10 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/node@^7.10.5": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/node/-/node-7.18.9.tgz#6a40aea1c7058d3dbda940b6fc7f2ea6ad9dbb09" - integrity sha512-fB7KOLz3l2r8g5xxyNf+F5yYhSnsKKjsOwNGwIJYWwDPYabBIamDZfTiPj9rwvmbatv5VEjiJqRgRDoBRrF3Sw== +"@babel/node@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/node/-/node-7.18.10.tgz#ab2be57785346b5bf0721c3d17572402419d9d8a" + integrity sha512-VbqzK6QXfQVi4Bpk6J7XqHXKFNbG2j3rdIdx68+/14GDU7jXDOSyUU/cwqCM1fDwCdxp37pNV/ToSCXsNChcyA== dependencies: "@babel/register" "^7.18.9" commander "^4.0.1" @@ -742,11 +719,16 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz#c7ff6303df71080ec7a4f5b8c003c58f1cf51037" integrity sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q== -"@babel/parser@^7.14.7", "@babel/parser@^7.18.5", "@babel/parser@^7.18.6", "@babel/parser@^7.18.9": +"@babel/parser@^7.14.7", "@babel/parser@^7.18.6", "@babel/parser@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.9.tgz#f2dde0c682ccc264a9a8595efd030a5cc8fd2539" integrity sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg== +"@babel/parser@^7.18.10", "@babel/parser@^7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz#5b2dd21cae4a2c5145f1fbd8ca103f9313d3b7e4" + integrity sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -754,7 +736,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.6": +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz#a11af19aa373d68d561f08e0a57242350ed0ec50" integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== @@ -763,14 +745,14 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.6.tgz#aedac81e6fc12bb643374656dd5f2605bf743d17" - integrity sha512-WAz4R9bvozx4qwf74M+sfqPMKfSqwM0phxPTR6iJIi8robgzXwkEgmeJG1gEKhm6sDqT/U9aV3lfcqybIpev8w== +"@babel/plugin-proposal-async-generator-functions@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz#85ea478c98b0095c3e4102bff3b67d306ed24952" + integrity sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew== dependencies: - "@babel/helper-environment-visitor" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/helper-remap-async-to-generator" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-proposal-async-generator-functions@^7.8.3": @@ -823,12 +805,12 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-export-default-from@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.6.tgz#121b3ba0152d0020865bc86271c8150e5115abc7" - integrity sha512-oTvzWB16T9cB4j5kX8c8DuUHo/4QtR2P9vnUNKed9xqFP8Jos/IRniz1FiIryn6luDYoltDJSYF7RCpbm2doMg== +"@babel/plugin-proposal-export-default-from@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206" + integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-default-from" "^7.18.6" "@babel/plugin-proposal-export-default-from@7.8.3": @@ -839,7 +821,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-export-default-from" "^7.8.3" -"@babel/plugin-proposal-export-namespace-from@^7.18.6": +"@babel/plugin-proposal-export-namespace-from@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== @@ -863,7 +845,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-logical-assignment-operators@^7.18.6": +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz#8148cbb350483bf6220af06fa6db3690e14b2e23" integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== @@ -903,16 +885,16 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.6.tgz#ec93bba06bfb3e15ebd7da73e953d84b094d5daf" - integrity sha512-9yuM6wr4rIsKa1wlUAbZEazkCrgw2sMPEXCr4Rnwetu7cEW1NydkCWytLuYletbf8vFxdJxFhwEZqMpOx2eZyw== +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" + integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== dependencies: - "@babel/compat-data" "^7.18.6" - "@babel/helper-compilation-targets" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" "@babel/plugin-proposal-object-rest-spread@7.9.6": version "7.9.6" @@ -923,17 +905,6 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.9.5" -"@babel/plugin-proposal-object-rest-spread@^7.18.6": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" - integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== - dependencies: - "@babel/compat-data" "^7.18.8" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.18.8" - "@babel/plugin-proposal-object-rest-spread@^7.9.6": version "7.11.0" resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz#bd81f95a1f746760ea43b6c2d3d62b11790ad0af" @@ -959,7 +930,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-optional-chaining@^7.18.6", "@babel/plugin-proposal-optional-chaining@^7.18.9": +"@babel/plugin-proposal-optional-chaining@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz#e8e8fe0723f2563960e4bf5e9690933691915993" integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== @@ -1103,6 +1074,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@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.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -1219,7 +1197,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-block-scoping@^7.18.6": +"@babel/plugin-transform-block-scoping@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz#f9b7e018ac3f373c81452d6ada8bd5a18928926d" integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== @@ -1234,7 +1212,7 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.18.6": +"@babel/plugin-transform-classes@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz#90818efc5b9746879b869d5ce83eb2aa48bbc3da" integrity sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g== @@ -1262,7 +1240,7 @@ "@babel/helper-split-export-declaration" "^7.10.4" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.18.6": +"@babel/plugin-transform-computed-properties@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz#2357a8224d402dad623caf6259b611e56aec746e" integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== @@ -1276,10 +1254,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-destructuring@^7.18.6": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.9.tgz#68906549c021cb231bee1db21d3b5b095f8ee292" - integrity sha512-p5VCYNddPLkZTq4XymQIaIfZNJwT9YsjkPOhkVEqt6QIpQFZVM9IltqqYpOEkJoN1DPznmxUDyZ5CTZs/ZCuHA== +"@babel/plugin-transform-destructuring@^7.18.9": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz#9e03bc4a94475d62b7f4114938e6c5c33372cbf5" + integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== dependencies: "@babel/helper-plugin-utils" "^7.18.9" @@ -1314,7 +1292,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-duplicate-keys@^7.18.6": +"@babel/plugin-transform-duplicate-keys@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== @@ -1344,7 +1322,7 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-for-of@^7.18.6": +"@babel/plugin-transform-for-of@^7.18.8": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== @@ -1358,7 +1336,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-function-name@^7.18.6": +"@babel/plugin-transform-function-name@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== @@ -1375,7 +1353,7 @@ "@babel/helper-function-name" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-literals@^7.18.6": +"@babel/plugin-transform-literals@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== @@ -1441,7 +1419,7 @@ "@babel/helper-simple-access" "^7.10.4" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.18.6": +"@babel/plugin-transform-modules-systemjs@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz#545df284a7ac6a05125e3e405e536c5853099a06" integrity sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A== @@ -1531,7 +1509,7 @@ "@babel/helper-get-function-arity" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-parameters@^7.18.6", "@babel/plugin-transform-parameters@^7.18.8": +"@babel/plugin-transform-parameters@^7.18.8": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz#ee9f1a0ce6d78af58d0956a9378ea3427cccb48a" integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== @@ -1623,16 +1601,16 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-runtime@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.6.tgz#77b14416015ea93367ca06979710f5000ff34ccb" - integrity sha512-8uRHk9ZmRSnWqUgyae249EJZ94b0yAGLBIqzZzl+0iEdbno55Pmlt/32JZsHwXD9k/uZj18Aqqk35wBX4CBTXA== +"@babel/plugin-transform-runtime@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz#37d14d1fa810a368fd635d4d1476c0154144a96f" + integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== dependencies: "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - babel-plugin-polyfill-corejs2 "^0.3.1" - babel-plugin-polyfill-corejs3 "^0.5.2" - babel-plugin-polyfill-regenerator "^0.3.1" + "@babel/helper-plugin-utils" "^7.18.9" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" semver "^6.3.0" "@babel/plugin-transform-runtime@7.9.6": @@ -1659,7 +1637,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-spread@^7.18.6": +"@babel/plugin-transform-spread@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz#6ea7a6297740f381c540ac56caf75b05b74fb664" integrity sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA== @@ -1689,7 +1667,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-regex" "^7.8.3" -"@babel/plugin-transform-template-literals@^7.18.6": +"@babel/plugin-transform-template-literals@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== @@ -1704,7 +1682,7 @@ "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-typeof-symbol@^7.18.6": +"@babel/plugin-transform-typeof-symbol@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== @@ -1727,12 +1705,12 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-typescript" "^7.18.6" -"@babel/plugin-transform-unicode-escapes@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.6.tgz#0d01fb7fb2243ae1c033f65f6e3b4be78db75f27" - integrity sha512-XNRwQUXYMP7VLuy54cr/KS/WeL3AZeORhrmeZ7iewgu+X2eBqmpaLI/hzqr9ZxCeUoq0ASK4GUzSM0BDhZkLFw== +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-transform-unicode-regex@^7.18.6": version "7.18.6" @@ -1750,29 +1728,29 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/preset-env@7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.6.tgz#953422e98a5f66bc56cd0b9074eaea127ec86ace" - integrity sha512-WrthhuIIYKrEFAwttYzgRNQ5hULGmwTj+D6l7Zdfsv5M7IWV/OZbUfbeL++Qrzx1nVJwWROIFhCHRYQV4xbPNw== +"@babel/preset-env@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" + integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== dependencies: - "@babel/compat-data" "^7.18.6" - "@babel/helper-compilation-targets" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.6" - "@babel/plugin-proposal-async-generator-functions" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.18.10" "@babel/plugin-proposal-class-properties" "^7.18.6" "@babel/plugin-proposal-class-static-block" "^7.18.6" "@babel/plugin-proposal-dynamic-import" "^7.18.6" - "@babel/plugin-proposal-export-namespace-from" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" "@babel/plugin-proposal-json-strings" "^7.18.6" - "@babel/plugin-proposal-logical-assignment-operators" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" "@babel/plugin-proposal-numeric-separator" "^7.18.6" - "@babel/plugin-proposal-object-rest-spread" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" - "@babel/plugin-proposal-optional-chaining" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" "@babel/plugin-proposal-private-methods" "^7.18.6" "@babel/plugin-proposal-private-property-in-object" "^7.18.6" "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" @@ -1794,40 +1772,40 @@ "@babel/plugin-transform-arrow-functions" "^7.18.6" "@babel/plugin-transform-async-to-generator" "^7.18.6" "@babel/plugin-transform-block-scoped-functions" "^7.18.6" - "@babel/plugin-transform-block-scoping" "^7.18.6" - "@babel/plugin-transform-classes" "^7.18.6" - "@babel/plugin-transform-computed-properties" "^7.18.6" - "@babel/plugin-transform-destructuring" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.18.9" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.9" "@babel/plugin-transform-dotall-regex" "^7.18.6" - "@babel/plugin-transform-duplicate-keys" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" "@babel/plugin-transform-exponentiation-operator" "^7.18.6" - "@babel/plugin-transform-for-of" "^7.18.6" - "@babel/plugin-transform-function-name" "^7.18.6" - "@babel/plugin-transform-literals" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" "@babel/plugin-transform-member-expression-literals" "^7.18.6" "@babel/plugin-transform-modules-amd" "^7.18.6" "@babel/plugin-transform-modules-commonjs" "^7.18.6" - "@babel/plugin-transform-modules-systemjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.18.9" "@babel/plugin-transform-modules-umd" "^7.18.6" "@babel/plugin-transform-named-capturing-groups-regex" "^7.18.6" "@babel/plugin-transform-new-target" "^7.18.6" "@babel/plugin-transform-object-super" "^7.18.6" - "@babel/plugin-transform-parameters" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" "@babel/plugin-transform-property-literals" "^7.18.6" "@babel/plugin-transform-regenerator" "^7.18.6" "@babel/plugin-transform-reserved-words" "^7.18.6" "@babel/plugin-transform-shorthand-properties" "^7.18.6" - "@babel/plugin-transform-spread" "^7.18.6" + "@babel/plugin-transform-spread" "^7.18.9" "@babel/plugin-transform-sticky-regex" "^7.18.6" - "@babel/plugin-transform-template-literals" "^7.18.6" - "@babel/plugin-transform-typeof-symbol" "^7.18.6" - "@babel/plugin-transform-unicode-escapes" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.18.6" - babel-plugin-polyfill-corejs2 "^0.3.1" - babel-plugin-polyfill-corejs3 "^0.5.2" - babel-plugin-polyfill-regenerator "^0.3.1" + "@babel/types" "^7.18.10" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" core-js-compat "^3.22.1" semver "^6.3.0" @@ -1959,7 +1937,7 @@ core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.18.9": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": version "7.18.9" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a" integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw== @@ -1989,7 +1967,16 @@ "@babel/parser" "^7.10.4" "@babel/types" "^7.10.4" -"@babel/template@^7.16.7", "@babel/template@^7.18.6", "@babel/template@^7.3.3": +"@babel/template@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" + integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.18.10" + "@babel/types" "^7.18.10" + +"@babel/template@^7.18.6", "@babel/template@^7.3.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz#1283f4993e00b929d6e2d3c72fdc9168a2977a31" integrity sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw== @@ -2022,7 +2009,23 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/traverse@^7.18.5", "@babel/traverse@^7.18.6", "@babel/traverse@^7.18.9", "@babel/traverse@^7.7.2": +"@babel/traverse@^7.18.13", "@babel/traverse@^7.4.5": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz#5ab59ef51a997b3f10c4587d648b9696b6cb1a68" + integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.13" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.13" + "@babel/types" "^7.18.13" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@^7.18.9", "@babel/traverse@^7.7.2": version "7.18.9" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.9.tgz#deeff3e8f1bad9786874cb2feda7a2d77a904f98" integrity sha512-LcPAnujXGwBgv3/WHv01pHtb2tihcyW1XuL9wd7jqh1Z8AQkTd+QVjMrMijrln0T7ED3UXLIy36P9Ao7W75rYg== @@ -2071,7 +2074,16 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.18.4", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.3": +"@babel/types@^7.18.10", "@babel/types@^7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" + integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.9.tgz#7148d64ba133d8d73a41b3172ac4b83a1452205f" integrity sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg== @@ -2084,6 +2096,1087 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@chain-registry/types@^0.6.0": + version "0.6.0" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.6.0.tgz#78f66fff12ab12924f590b0e1246a344e005db90" + integrity sha512-yQfTViCZV1+B2TMvLsT52BtCsdvSaa2upTwXnCSA+Wmq/S4SxflxOmAFWi8Jp053vPt/3ucy5BuZifNH9s1DRA== + dependencies: + "@babel/runtime" "^7.18.3" + "@keplr-wallet/cosmos" "^0.10.3" + "@keplr-wallet/crypto" "^0.10.11" + +"@chakra-ui/accordion@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.10.tgz#fc8ea40316b4be8872361ff9847fa95e861e401a" + integrity sha512-HD3yJ4LV3S5vMH7DwcwSOPrZ+R6+qzTd7LXYKiUphl1RiUM5h97dbGqpqI+ULjIo0xoOvHTyhvO4ENCRDEYkRg== + dependencies: + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/react-use-controllable-state" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.2" + "@chakra-ui/transition" "2.0.8" + +"@chakra-ui/alert@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.8.tgz#91847817f0de3d8f7d516a1a9b7b3a6ea92b3a42" + integrity sha512-giBBbAPlSw33Ua838c35ClCVmmrfn+pvZgA92Ogcz2fwkUFa+Elcq/nyVQ3XHxLzzmPE/vACcS8wXoCXQl4i/Q== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/spinner" "2.0.8" + +"@chakra-ui/anatomy@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.4.tgz#73a184a8f69d890c4580eb909a080a915f5b7d55" + integrity sha512-wWLvPrLOCO+nDb+cMcEJ/iDxgWEizRXOlIZCinCzkeEYhcWibINx6wh49uVUyMT/dIs/JTHQ4mUb9IzqJ1RY+g== + +"@chakra-ui/avatar@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.0.9.tgz#fc384422f433a9ed32fc7e1a1084acd08f83e219" + integrity sha512-kx77nTL9h8451lgAMZkD8UWGoxTjHKzeW55Ls4e7muqj3fl+hS3eNQ1zw66DDEFuYxBVyxZi1YgWFI7/Lgnx4w== + dependencies: + "@chakra-ui/image" "2.0.9" + "@chakra-ui/react-context" "2.0.2" + +"@chakra-ui/breadcrumb@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.8.tgz#02be54d4848a4ba66732a6b6f6802d40df5158d1" + integrity sha512-kTwNZqOMjVLm9smZMGZnkw8zChzwx1ycu8ZGSCYkwJxgO2yeztIcqpa9OjxhTkro6ZS9dels35+FbtyQCtz1wA== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/button@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.8.tgz#952956300931ba5cfed428ffc115c94b86988abd" + integrity sha512-sFAdPRZNGeIawEN60V/6Zhqt1DOkFosYeG83QkwkIEgOlTNQsqlxgKV9bGfn6b4Qb2HUoqMzmN+rk8kHKvHOrQ== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/checkbox@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.7.tgz#0310268629a3ceabcc3255810e8c24dd814d63fe" + integrity sha512-84NyP8hXLrcv1GtgloPcBs4Ypzxa/jSEkWzH69+J/rSDNz/ff23fCSNayMPXadWXmAMSBmsKY8gdpfcJioCf/g== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.8.tgz#9f8ebdec7511b3693cb3d6468d92abf68e2c8921" + integrity sha512-GlmSYfDd/E09fJKu6iFoKjQHHFDJFaESenVYQ0PuTHaKD9Ro8o70jBRKP9hxTSqZN1QPzgfexmkQKsI9aOuc9g== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/close-button@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.8.tgz#c71a55efdd017f7465836a75e616c371ea264111" + integrity sha512-UbsxusyGExuopIircNKbSw0kvA6KbIwd3zvoedzcH91pLlK5na+AThiANDnsQBU0uV78w8I9L0zjlrEcn30uBw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/color-mode@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.6.tgz#9ea02ecbfbcb9f6a1a3d4c657d491f093615b951" + integrity sha512-YtVoyYAe6kxoNDwB5Sv03Tz0dCIlo1JM57VfhKZTPxXmp3/FFvFe38+N5piNimuAl/xIDp6doFArnco3Bb7qFw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/control-box@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.8.tgz#23c423a52e0a021d4dd1a546bb7b0beeeec6d4d3" + integrity sha512-Q7JTjJG4uErpVsUAr3271NqafCcpYfgXsyk9RJWgSvGXT6wT3W1znYbRf4+oBeQFCRfGYEI7Dk+JHvI5Owm4CQ== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/counter@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.8.tgz#d6faf07f7c865e9289b39945e3ecaa872a1ea7b5" + integrity sha512-23YLtZA4Wh/dMfgumeYwAifYoNvq5y5q59FMSX9PHEffYxxKeN/J081zyvTvsWSY1Dl4t0BXMT2nStuBEKsvWA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/css-reset@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.4.tgz#b0e4abd6d90ddea3823a1351fe43ebd84b7f3f42" + integrity sha512-XJ8AcTHrxwHYqWmMR1b5WUWv+D3i6GKvXiw5M104Azny+VT3ZUTzzo/Yze0mCvudbePf6zMoMrFLIBWGKSj/0Q== + +"@chakra-ui/descendant@3.0.7": + version "3.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.7.tgz#53cdb0207eaef799222a1da11a68068b3ff618a7" + integrity sha512-C58jkUox54Y2sFn6H29QXkAyyalTMn3uYeeVNAftzL4SRFE9KyRAbMtOujZHH3GRr2sEykawiXh9BkqWpZuhiA== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + +"@chakra-ui/editable@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.8.tgz#133cc3248e6d046cf1fbdfef051a6e07c0f141f1" + integrity sha512-SgwsaRnEgHtlGL+Ie9U5AYn4FjYp22IMvtW6hU4Y0X0A51uvzKyi4NTUXsckogI79c6svvNoRWMTuymiiy9GLw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/event-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.2.tgz#20e218a23066c958e8e113054333088fc48f19f3" + integrity sha512-v2zZBfbXEN0MooPEunjUUFcLZe+NeFyE0K+hnsW7aVQbDccz2UAsAwgPIMt1EhZ5+Xai4+eyrLB4pfIBwrdPyg== + +"@chakra-ui/focus-lock@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.9.tgz#c6a42594a0ec810aff70ccb5246017636694e491" + integrity sha512-6MxgY6WJ46gndt4dAGzjBToxkAVoi4ke/FT998g7mcnl5VXbnO700iPRIks9lo0J9evFI9Afp7lpgElU1AzkHg== + dependencies: + "@chakra-ui/utils" "2.0.8" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.8.tgz#a086ac92bd17622709575abb886c86590db229be" + integrity sha512-W7yDHucTfFUu/PhkL8CVtB/Eph9DrsVGIy4VnYFWmfgIWcum0PaR20gNY3acSICV81pPr5R8veZ20oP1lXesLA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/hooks@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.8.tgz#8863041b7077104e7cb10cf66ac55f9c84955455" + integrity sha512-GXubX+BRP1UsbPZovgPH/TFBLAOvtHeIGAqdz9SwI2rmQ9UfF2lV9mSN3N2XXj9kKj9akN+pyHwW29UeATojnw== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.8.tgz#728476d657f1fc80c2ee0f39859703a0f3314b68" + integrity sha512-avd6mthBoG9R8cLLAROi/FItgk7wHy1YpeAXOrGdK/U/ECVWZev64RmI1UduKuVOLlSZldXWzFJmLdw6dAMG7A== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/icons@^2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz#38659b322165566806a8e7a9f1e0d38fa15128f1" + integrity sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog== + dependencies: + "@chakra-ui/icon" "3.0.8" + +"@chakra-ui/image@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.9.tgz#4ace3de5cfcad66bbf7fa87d78c5476d281b8cbe" + integrity sha512-06+Mud+7fkKQok5ukZjea3eVxOL5kIPAjT5bD9LmuuhKXOSJkManx17CRgUjG06JKXUbaJzZfxxKuIzvTdQ/Xw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/input@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.8.tgz#09a71bdef7b72c64c6216c6c3785e28b2470c60c" + integrity sha512-Cc1bYO2ee36MgTSmlREPrqF3D2Vh/RCbsLRjmwxOlSfitp8A9PkA04Kn7tz2bKrJ9TQsYzRXwioJRrYr7f0jfw== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/layout@2.1.5": + version "2.1.5" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.5.tgz#f307a23580de6cf04758be8e22fcb9507277186d" + integrity sha512-8qZwqgmY3itr+DfCXCxgEIwdy8GHKgAxojhIo7Exnu7GLHZhCcQ9Le4lVlHW3pK8Wy2wg3dPUX+APoMGkUcBsg== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/live-region@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.8.tgz#e5b2985e119952b937fd4122d2a156b897e5d061" + integrity sha512-1BPolMacPoxLVtE8hB+cdxN60CVVu1wzOOUnwJhJtKbfeXNPAsnV2U31/uR2kZ8sX0YPVtQpsB8xzTITD50JaQ== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/media-query@3.2.4": + version "3.2.4" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.4.tgz#696c4eefa779b95540d32d8fdf8b4980044e048c" + integrity sha512-Woke/7peH/4aceMytVhhMyhlhada51eCzCOSKfLmhgD4lYqZ9wncigor5phIdeTAYyNClbQL3Cm4E6yEWJxqyg== + dependencies: + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/menu@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.10.tgz#e400678013a5dfae034af7dd1273e8c5ff9bc456" + integrity sha512-qqdST2un/9qhO4mGec5XMwyexH+Xf3wFGHSrG7O+J0q2yaAGfLyq6tvuisLx2KHQiByiFQ2rs9ozfBkTfL+OYg== + dependencies: + "@chakra-ui/clickable" "2.0.8" + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/modal@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.6.tgz#af1b2cb900ff20f6c73c5161406e3ae8703ff991" + integrity sha512-uIQtD/XCS4YfPIsqBfMusDeUCSWvbT46wUcbyTNduldN5SXLOwqPZMGwX5BbyOMHUM6rRjc6RW4AeSj0rawo9w== + dependencies: + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/focus-lock" "2.0.9" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.8.tgz#8f5eb7c1a1d38fe47f1165bf4d4176219c5daad4" + integrity sha512-sltl67JFaYOxpibj/ioOEj4zLf/sF5rWKEH7Rl7XuPFJMJDNW/vjlFCDO31s1aHXtwAeKN5O0zCyC2snPXvXKA== + dependencies: + "@chakra-ui/counter" "2.0.8" + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/number-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.2.tgz#8e871cb68e2ae98e6f482eb2f7e45652fa7f3582" + integrity sha512-tAD8lWjmmCd8UfiELA7dlylEH7kv3KxQmLqLQifklH7hBaFIzJDc5PmZbmgMDG2UEzoBgGWepsSsjrD1HLATVw== + +"@chakra-ui/pin-input@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.10.tgz#9a9ccdba3cf5e1e9ad08944264f119aa19bbecf1" + integrity sha512-AO8lZdhdM9iv5iVZuTPj6ODPUpYsVR/bAbym95BJy1lmXHW0ZD7mtHeJQn0mdfz+j8ckjczg2kCG1ajNjVpjpA== + dependencies: + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/popover@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.8.tgz#d14386e5654fad27913b897ec22228170bab53f1" + integrity sha512-Qe2HMXGYXS+XEYtJg3Gd8JrX32fygjTDyhXHJeuBXZFqogayvdY+q7V7KfFRvTcER4cQeHDiZy6ZjVdoNH7Cmg== + dependencies: + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/popper@3.0.6": + version "3.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.6.tgz#2ade67459b22863ec0a879e86ddf91d26951185a" + integrity sha512-QKRzSgOsp2nmL8HXcN5DVujqV+TsECnKfMwzI++SgkIJUL5wj8w6VNqDJ4iym84Sgqw5qNVoOss1ZpgGKAriOg== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.8.tgz#73c72ef9c462af49e03c75c98da24d738d647393" + integrity sha512-ReBfeln+9n00Si/jOXJ0eO8+fOlmwqxGm5rIe0YnuLFxjTAIWH9Z9ZVZFzn458r2wbV9Q0TdeX/wj4fTeL+Urg== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/progress@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.9.tgz#3588d352cf9b60c1dde18ee570115d844f2add79" + integrity sha512-e6RaNMU+/Jk8OsKna7eE/oTGm3/Rvzy3LsbVhQxP9aYhl29+JrqT2DKVUvfQq/8gSDTyatRcKwYTPjQQdzd2DQ== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/theme-tools" "2.0.9" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/provider@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.13.tgz#fc9e3e30c65d6f139d8822e301f1a328266e7f22" + integrity sha512-AOZv4XEVip1wBmH7zcKQ5jWi7B1jCZm9Lt+6K9OUPozehTAuGGoPfFutr7JnO9zgGjovYFHk0GzNHE7MYOVEGg== + dependencies: + "@chakra-ui/css-reset" "2.0.4" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/radio@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.9.tgz#ce5e04dc5916263b737ea7657f2f695498981efc" + integrity sha512-6MQZLRF0oex2wgfMSeovIi0bXtr64DR3+2RK2WKeHz7JJssB+bGbhjmZCD6TFvqb9ItYizwTj+v270ZA+Ee8BA== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-context@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.2.tgz#2d55e148c772b4866beef6fd36016dfe7ced1753" + integrity sha512-xi9bGjE0eT7odgfuQHizO+AsXB6m9OOpsUKQiSgN7WTe6e10gkpeVbXtx7wF4RbaneMcmdrxkjAyj9rkuJMpkA== + +"@chakra-ui/react-env@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.8.tgz#3d2fd11cdc04297addfa568a97f4bae6c00d5b6b" + integrity sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA== + +"@chakra-ui/react-types@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.2.tgz#65ed7bc49e1fc9cc248a9f10ae255b049d1c4626" + integrity sha512-UWm4yg+RUz93wSF6TSGuFd3okefYghpWgZ2qCjpZHWiHFyw2qjXrJ9Iuz0H583ulsugdKPk72B0e6TOrmS4CLg== + +"@chakra-ui/react-use-callback-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.2.tgz#51ce43d3946589d0e29cb160757c4704731b287d" + integrity sha512-PWQk0pNkIUjLmj55yBNEIKfGd9dRXWIqeyXQtXnvBTUVxJ+r/KgtVP3hOx40Zn2mjB52jBJPF2CZO6lteLOJ9g== + +"@chakra-ui/react-use-controllable-state@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.2.tgz#18fa7e60e43a23cc806e0d1b1dae8e4f369bf7aa" + integrity sha512-JdVLIlh7V8kJ0h8Fl9pbf82PeSpkMrNuaQJKPOUgye3X0tjbD1JGeTegYvNsccxrZl09pSwy/LU+lkY0u2Gl2g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.2" + +"@chakra-ui/react-use-merge-refs@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.2.tgz#debc1011aea9e530484de8159823f55f9488be3f" + integrity sha512-SX4wv/YxMSif6Az3p8SKVgTUHZZmK77QbnFMAZcxVr4arQnRoEAwsjpsNrcvvc7mxczSM/BJB+lQ5YO8ePAu3g== + +"@chakra-ui/react-use-pan-event@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.2.tgz#c4aa0ed3cead00def34ce10a371ac1f7ce03a373" + integrity sha512-DGPyDPT7HP/UJ7d7xt3VdYUo7Wa3MpyYkMimGbWGTpP/Dl0z7mYfz75G6MoKDzTDGdZkT/D7mx68zYI1LZsAog== + dependencies: + "@chakra-ui/event-utils" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-size@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.2.tgz#7697a990d624458106e311f714dd0f0ad0a83985" + integrity sha512-KYyu5sCdWNEC8Qo6MTmnpJQsThLAwLbdW11IrrW0yhieJgOy6xnwIiEyULKxtygHQzaNbhayYV9p4vJuN2BpeQ== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-update-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.2.tgz#317ef0602127c7a91e0473d0c0671d0b550b35c1" + integrity sha512-loDqsfIdg8X8ClzScIBY0fp2oVN3YOgad50koHRPVi2pVkkpaZKAcpjazm2MRZDPp22SvFgXrl39DL2xZN579Q== + +"@chakra-ui/react-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.5.tgz#b094cca3919e7ca408e11a89160b826f4fcd6f47" + integrity sha512-YTkDtyqZcI+l6O41og8P0Gd2z4MUKUQWu10VrcSF26izJg3lphU04VlPf+fB4wFJ97OGJBgtNxKuToe4Aqzg6A== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/react@^2.2.8": + version "2.2.8" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.2.8.tgz#7dcc976c655d1f6ec2f71efb4cfd076ea940e6e8" + integrity sha512-yLHoE6NpDu3UORtv/drzYl+d/ngjLkEPuUggJd6gu+kv0lHLAmTkoNL8yNGPxuY/StiQEyCSjwFXmknklRr+BA== + dependencies: + "@chakra-ui/accordion" "2.0.10" + "@chakra-ui/alert" "2.0.8" + "@chakra-ui/avatar" "2.0.9" + "@chakra-ui/breadcrumb" "2.0.8" + "@chakra-ui/button" "2.0.8" + "@chakra-ui/checkbox" "2.1.7" + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/control-box" "2.0.8" + "@chakra-ui/counter" "2.0.8" + "@chakra-ui/css-reset" "2.0.4" + "@chakra-ui/editable" "2.0.8" + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/image" "2.0.9" + "@chakra-ui/input" "2.0.8" + "@chakra-ui/layout" "2.1.5" + "@chakra-ui/live-region" "2.0.8" + "@chakra-ui/media-query" "3.2.4" + "@chakra-ui/menu" "2.0.10" + "@chakra-ui/modal" "2.1.6" + "@chakra-ui/number-input" "2.0.8" + "@chakra-ui/pin-input" "2.0.10" + "@chakra-ui/popover" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/progress" "2.0.9" + "@chakra-ui/provider" "2.0.13" + "@chakra-ui/radio" "2.0.9" + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/select" "2.0.8" + "@chakra-ui/skeleton" "2.0.13" + "@chakra-ui/slider" "2.0.8" + "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/stat" "2.0.8" + "@chakra-ui/switch" "2.0.10" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/table" "2.0.8" + "@chakra-ui/tabs" "2.0.10" + "@chakra-ui/tag" "2.0.8" + "@chakra-ui/textarea" "2.0.9" + "@chakra-ui/theme" "2.1.7" + "@chakra-ui/toast" "3.0.6" + "@chakra-ui/tooltip" "2.0.9" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/select@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.8.tgz#f66ae7d4b7a459a79a4707df5f82a22fa1b4d41b" + integrity sha512-GiKw/t1+1hoa4K2BTJ5rJX/1iQ01QkSf3PfFuv+SOlhbb8XSwqd3tVFtmlVVLt+nOcICpcEFaTcBsuOdTvjRKw== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/skeleton@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.13.tgz#4d3c434498865298608cc3a8e455102582ce6969" + integrity sha512-YZeWZIVt6TKtrF3jQ9j6zcXN3VUmHiXGF2CkLLsJlbB4HocMCp7/eWsSy3BXQ7rrZvaZJhN36GUP3W3t1rHZCA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/media-query" "3.2.4" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/slider@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.8.tgz#d7a3fe1c33701e8562dbdbe76f2becc82fbdbd52" + integrity sha512-nUHQ1YcRDfELMR6n9tfko3Rn82j9JCEtSDy3F+HumUeg0YXYXaaHLijsUpRRUa8ew8jwVuooAcUWW1MYCYekhQ== + dependencies: + "@chakra-ui/number-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/react-types" "2.0.2" + "@chakra-ui/react-use-callback-ref" "2.0.2" + "@chakra-ui/react-use-controllable-state" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.2" + "@chakra-ui/react-use-pan-event" "2.0.2" + "@chakra-ui/react-use-size" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.2" + +"@chakra-ui/spinner@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.8.tgz#5f9778b0d7041be66d3d0a3d8520f2b807df9090" + integrity sha512-hRyUO6/qiP2qqeZIOJuPn7furrA1+72/mX7BfWuEifVgCcMJuGayHyFvhVwiEfnRZXLHMgZ8bxK2rycGr5xAYA== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/stat@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.8.tgz#8b762501ab4f686f6ee9d580975f8d695f375620" + integrity sha512-aKMxI/qpSXCAMS8TD8kHhT3cTJDvKT75K1r+azZDb3NHOMjIzjl2pFI7XgPmgizz/BS8ADByLipK9bEV97GIsw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/styled-system@2.2.7": + version "2.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.2.7.tgz#ad9bb2c6810b9b33c6a6360e035dd49fd8d790df" + integrity sha512-8kG4ItrQ26IB9B6+yfrslPUvOGxquaOCBg15mofsEIlwFHhBtcJ26hu2ByDGG3LRGHLStbcJcSPeg+sebkGiPw== + dependencies: + "@chakra-ui/utils" "2.0.8" + csstype "^3.0.11" + +"@chakra-ui/switch@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.10.tgz#dca19667174e3cf5e9b5dae62b2376c3704c70db" + integrity sha512-t7MYTuVWYovlgw1uh1aSzIwn5vwpyysBYMc71kx6rrC11aHwZWs5+agH05agUmYRXHXHSwDdWUjtbp4OoFctUA== + dependencies: + "@chakra-ui/checkbox" "2.1.7" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/system@2.2.6": + version "2.2.6" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.6.tgz#09824efd43d7568a5a34e40908bf2ad0e0f8d27f" + integrity sha512-I5q38ObqCrGXmLsxkc56F+1RONbpIIFJvOgq1upXMPOJWHqkzmdqaoJtpANhoE2LvB0GH/gRniiWN17WBCsOIQ== + dependencies: + "@chakra-ui/color-mode" "2.1.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/styled-system" "2.2.7" + "@chakra-ui/utils" "2.0.8" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.8.tgz#41e576da052fac545814fda06129b84e2dca6a03" + integrity sha512-V2fOKUsZT/wJp1GfYVf8jl1em8grCmp45hBhwEZu6U4579ihzddxFvg++YLNCzFJn2NOocm5gGMQGO/HLq4mkQ== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/tabs@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.0.10.tgz#3d1c2b32d8fb3a59422a44882415a784add9c80c" + integrity sha512-+qrpQjb8l8nbPjG9WhnANgXFFhsKEUKX+lkVqdB8gpOalPHo67d0vBBpgwBK31sY0X0JNErBT2td9lWuyrQsIg== + dependencies: + "@chakra-ui/clickable" "2.0.8" + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/tag@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.8.tgz#0c15e457f470eb8088d0bad584eb6dd942889e4c" + integrity sha512-TfAehlhq+peluH2xsj5KS43IggFRHX8m7FyewdRuacL6ZOCQW3qDtJpTP/hF2maqavIgdzdWN87Y6gbtnS4Kqw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/textarea@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.9.tgz#d7c95d54a93d8c986fa11a6716a29ca0610bd1b9" + integrity sha512-5GSxqb5UPvMu/EUHnkUUJd8msYXR6v325RM1Bhf+xSCmt/JX6ImKi0KF36tHQLhWWbqZUBukF9A3INy2VdSMgA== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/theme-tools@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.9.tgz#6e997899774595c8e425cd8e7d1e52253116b5d6" + integrity sha512-mdLONajdFWaXzEKvuod7ikioWTrAIAlZnXt55XfBOU3htJgRls49y/DltirN8+EUz6RlZ7oZfCYNf6aRMJH+rg== + dependencies: + "@chakra-ui/anatomy" "2.0.4" + "@chakra-ui/utils" "2.0.8" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.7.tgz#0d6d70c05bdba98901c66f928a2f8b6b067c9a07" + integrity sha512-p4UQPPTHhgAS0ieMS5xUnMY6rHizdvM7vLUrpz+bljvfaR+TX4aHFnUihAfEtaCmqMUxR2tgkRcvAFtlbTAezA== + dependencies: + "@chakra-ui/anatomy" "2.0.4" + "@chakra-ui/theme-tools" "2.0.9" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/toast@3.0.6": + version "3.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.6.tgz#c9a879bbf27876d40fd63e3d0132f4133cedfbd8" + integrity sha512-4e3RmpUxyvb0tt1pmezh/IiKEKMqrjsfMPNCMCJzN7gY/yuZAH1OrsqbgpZZ2WSzA8bAjlrpl8J0rXNlj9qHaQ== + dependencies: + "@chakra-ui/alert" "2.0.8" + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/theme" "2.1.7" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/tooltip@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.9.tgz#3ca28d4c3677d21c5cb3af3c7ede947bf9fa8578" + integrity sha512-woJl145UdVPrkIn/oSLTNZxtQnhgSINo6RXZlC4gA2Y+4DTdEd1whvVFhpVATXbnyTwLR44yytByTLuglt/z8A== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/transition@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.8.tgz#74ba4c644928b94128eb2bde3be073c11388454d" + integrity sha512-XBXYvynMkY1hju4BV8R+URo3OszmqeE4JwMtKond3QH9x6nMOJItGbdJKCng2hHIS2hm+jXMqFAVc29PZEiqeA== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.8.tgz#b75e1cd22479eaa64410bd42849e638138971b20" + integrity sha512-5xSzOYSYbJEh+myY1mC6rOX+mzM/F2fiDqAw0zybHhfUab4zPHCO5RlgYVJ0L1DlGZUogVgRP6szH1xoBCcWQg== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.8.tgz#45c94106dce46dfaee589238750355434b002679" + integrity sha512-BIFtNYNgYWAa40csnAqi+NCiMorD0JQg9pm43pmbgqgiX2GJTR3UYnx7JI9bOiQc6HQZnlV0/opJFDdWpQlHvg== + dependencies: + "@chakra-ui/utils" "2.0.8" + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz#b51417a23c1ff8ef8b85a6862eba8492c6c44f38" + integrity sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ== + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + +"@cosmjs/cosmwasm-stargate@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.28.13.tgz#bea77bc999aaafdb677f446465f648cd000c5b4a" + integrity sha512-dVZNOiRd8btQreRUabncGhVXGCS2wToXqxi9l3KEHwCJQ2RWTshuqV+EZAdCaYHE5W6823s2Ol2W/ukA9AXJPw== + dependencies: + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stargate" "0.28.13" + "@cosmjs/tendermint-rpc" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz#541b6a36f616b2da5a568ead46d4e83841ceb412" + integrity sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ== + dependencies: + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/encoding@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz#7994e8e2c435beaf0690296ffb0f7f3eaec8150b" + integrity sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.0-alpha.25", "@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz#ff3f0c4a2f363b1a2c6779f8624a897e217fe297" + integrity sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A== + dependencies: + "@cosmjs/stream" "0.28.13" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.24.1.tgz#5de8dde2b732639199785e4ff449039d92726e12" + integrity sha512-kZ6473O81TRMyP1XomnvgIny3nBY//JngnpGJSDZyYjlIm6t5BhLqCuZJiuMOc937RyHKmqUQaOUtDA7X0TKYg== + dependencies: + "@cosmjs/stream" "^0.24.1" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz#50c05bc67007a04216f7f5e0c93f57270f8cc077" + integrity sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/proto-signing@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz#95ac12f0da0f0814f348f5ae996c3e96d015df61" + integrity sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ== + dependencies: + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/socket@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz#d8443ad6e91d080fc6b80a7e9cf297a56b1f6833" + integrity sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug== + dependencies: + "@cosmjs/stream" "0.28.13" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.24.1.tgz#02ae2024890e71d3fc9389193a512d60a8074b99" + integrity sha512-L8zxUzn1C01u5iwLY9u+G8z2WEExU5G7XDRaoVvX22oVBy0wUaxBxmIDsmC/usSd2giYGy1/iVCd5132DwnKbw== + dependencies: + "@cosmjs/stream" "^0.24.1" + isomorphic-ws "^4.0.1" + ws "^6.2.0" + xstream "^11.14.0" + +"@cosmjs/stargate@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz#a73d837a46ee8944e6eafe162f2ff6943c14350e" + integrity sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/tendermint-rpc" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz#1e79d1116fda1e63e5ecddbd9d803d403942b1fa" + integrity sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.24.1.tgz#cf8364feb0e99e1097fc7bcf84fd5c4f1bee7262" + integrity sha512-NFoc7kA90vgYRMXzsDnTTTXsH5kCHIhmhEUoQptx5A7LqTjvJScnP1EU+MoT9231L6HVtx0RDIaUulouFGWkcw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz#0bf587ae66fa3f88319edbd258492d28e73f9f29" + integrity sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w== + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/json-rpc" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/socket" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/utils" "0.28.13" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.24.1.tgz#625b650c774cb507f48b582b95727d0d26436db9" + integrity sha512-2s7SmoLjLY9Bq6D4/CkOnwm4WZBSHo6T3oTTKE6NLD+2A8BLcjdDnA49eLe3XzkMtVyfLvfrmoEXkCadfDFPOw== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/json-rpc" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/socket" "^0.24.1" + "@cosmjs/stream" "^0.24.1" + axios "^0.21.1" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz#2fd2844ec832d7833811e2ae1691305d09791a08" + integrity sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg== + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmos-kit/core@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.11.0.tgz#5535fa5720203ceccaa20e9dc61eac068b4ff599" + integrity sha512-692WjrT8Vwlc0ItHcANsUZJDkj7AWwPDvXcukXqhVpeXM5kYsDETcPC1wCociCS1Hin0vq68x5ztkxBFz2gxXw== + dependencies: + "@babel/runtime" "^7.11.2" + "@cosmos-kit/registry" "^0.11.0" + "@cosmos-kit/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.12" + "@walletconnect/client" "1.7.8" + +"@cosmos-kit/keplr@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.11.0.tgz#ebcc62aa73270057a6917a5d37ac482b1f317ba2" + integrity sha512-rh3r/cHP0EHaXJUe7vtCdj2MEb+CRxyCzeB3H6KJ6W+RwI4pZiQ9icPi5rXN/tLxHLfDIyldd+nY+3m08YYsxQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@cosmos-kit/types" "^0.11.0" + "@keplr-wallet/common" "^0.10.12" + "@keplr-wallet/cosmos" "^0.10.12" + "@keplr-wallet/provider" "^0.10.12" + "@keplr-wallet/stores" "^0.10.12" + "@walletconnect/browser-utils" "1.7.8" + "@walletconnect/types" "1.7.8" + "@walletconnect/utils" "1.7.8" + axios "0.27.2" + buffer "6.0.3" + deepmerge "4.2.2" + secretjs "0.17.5" + +"@cosmos-kit/react@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.11.0.tgz#a8e8e3fd79bafffbe6fd5f32f0064701d1be11c6" + integrity sha512-igF1znvDtsUXyTXqdc5XFne4vEKgeE1juQMNRFtmc9QV6CpNCCgp5p61YG/NNnPCUpd8Jc/eDNzrUyR6cmhsAA== + dependencies: + "@babel/runtime" "^7.11.2" + "@cosmos-kit/core" "^0.11.0" + "@testing-library/react" "13.3.0" + "@walletconnect/browser-utils" "1.7.8" + qrcode.react "3.1.0" + react-modal "3.15.1" + styled-components "5.3.5" + +"@cosmos-kit/registry@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.11.0.tgz#1d11a21c97a7f9350597d63ca12897d5f02c7067" + integrity sha512-B2aS1JcW+pFF8jZvWYHbKXWC9F5TqffzE7JZvtbwiJsjvcMF3CTj7wWZL9WQRCPo7I4v2HX0cnwBYMzqY+yM8g== + dependencies: + "@babel/runtime" "^7.11.2" + "@cosmos-kit/keplr" "^0.11.0" + "@cosmos-kit/types" "^0.11.0" + +"@cosmos-kit/types@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz#7af1e09ecea5ea6213b409b8a2af7c05fc91bb2c" + integrity sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@walletconnect/client" "1.7.8" + "@walletconnect/types" "1.7.8" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/cache@^11.10.0", "@emotion/cache@^11.4.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.1.0", "@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@^11.8.1": + version "11.10.0" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz#53c577f063f26493f68a05188fb87528d912ff2e" + integrity sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/styled@11.10.0": + version "11.10.0" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.0.tgz#c19484dab4206ae46727c07efb4316423dd21312" + integrity sha512-V9oaEH6V4KePeQpgUE83i8ht+4Ri3E8Djp/ZPJ4DQlqWhSKITvgzlR3/YQE2hdfP4Jw3qVRkANJz01LLqK9/TA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/utils" "^1.2.0" + +"@emotion/stylis@^0.8.4": + version "0.8.5" + resolved "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" + integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ== + +"@emotion/unitless@^0.7.4": + version "0.7.5" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" + integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + "@eslint/eslintrc@^1.3.0": version "1.3.0" resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f" @@ -2099,11 +3192,287 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@ethersproject/abstract-provider@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" + integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + +"@ethersproject/abstract-signer@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" + integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/address@^5.6.0", "@ethersproject/address@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/base64@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" + integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== + dependencies: + "@ethersproject/bytes" "^5.7.0" + +"@ethersproject/basex@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" + integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.5.0", "@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/constants@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" + integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + +"@ethersproject/hash@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" + integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/hdnode@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" + integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/json-wallets@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" + integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + aes-js "3.0.0" + scrypt-js "3.0.1" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/networks@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.0.tgz#df72a392f1a63a57f87210515695a31a245845ad" + integrity sha512-MG6oHSQHd4ebvJrleEQQ4HhVu8Ichr0RDYEfHzsVAVjHNM+w36x9wp9r+hf1JstMXtseXDtkiVoARAG6M959AA== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/pbkdf2@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" + integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + +"@ethersproject/properties@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" + integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/random@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" + integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/sha2@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" + integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + hash.js "1.1.7" + +"@ethersproject/signing-key@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" + integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + bn.js "^5.2.1" + elliptic "6.5.4" + hash.js "1.1.7" + +"@ethersproject/strings@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" + integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/transactions@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" + integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== + dependencies: + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + +"@ethersproject/wallet@^5.5.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" + integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/json-wallets" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/web@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.0.tgz#40850c05260edad8b54827923bbad23d96aac0bc" + integrity sha512-ApHcbbj+muRASVDSCl/tgxaH2LBkRMEYfLOLVa0COipx0+nlu0QKet7U2lEg0vdkh8XRSLf2nd1f1Uk9SrVSGA== + dependencies: + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/wordlists@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" + integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@gar/promisify@^1.0.1": version "1.1.3" resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@hapi/hoek@^9.0.0": + version "9.3.0" + resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" + integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== + +"@hapi/topo@^5.0.0": + version "5.1.0" + resolved "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" + integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== + dependencies: + "@hapi/hoek" "^9.0.0" + "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" @@ -2113,15 +3482,6 @@ debug "^4.1.1" minimatch "^3.0.4" -"@humanwhocodes/config-array@^0.9.2": - version "0.9.5" - resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz#2cbaf9a89460da24b5ca6531b8bbfc23e1df50c7" - integrity sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw== - dependencies: - "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" - minimatch "^3.0.4" - "@humanwhocodes/gitignore-to-minimatch@^1.0.2": version "1.0.2" resolved "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" @@ -2137,6 +3497,48 @@ resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + "@istanbuljs/load-nyc-config@^1.0.0": version "1.0.0" resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" @@ -2164,7 +3566,7 @@ jest-util "^28.1.3" slash "^3.0.0" -"@jest/core@^28.1.1", "@jest/core@^28.1.3": +"@jest/core@^28.1.3": version "28.1.3" resolved "https://registry.npmjs.org/@jest/core/-/core-28.1.3.tgz#0ebf2bd39840f1233cd5f2d1e6fc8b71bd5a1ac7" integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== @@ -2333,7 +3735,7 @@ slash "^3.0.0" write-file-atomic "^4.0.1" -"@jest/types@^28.1.1", "@jest/types@^28.1.3": +"@jest/types@^28.1.3": version "28.1.3" resolved "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== @@ -2385,6 +3787,238 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@keplr-wallet/background@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.10.19.tgz#403503c09d306b0526e663f0ab84ad61d68b9b45" + integrity sha512-mZBrjj1PEIEfwbOG4Lt0ZFX4I7jyGCRMKw5OCzAwTKyXF8le6B0En7OLWuWDYYANHyPR42zhL91vurh3KQ4T6g== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/wallet" "^5.5.0" + "@keplr-wallet/common" "0.10.19" + "@keplr-wallet/cosmos" "0.10.19" + "@keplr-wallet/crypto" "0.10.19" + "@keplr-wallet/popup" "0.10.19" + "@keplr-wallet/proto-types" "0.10.19" + "@keplr-wallet/router" "0.10.19" + "@keplr-wallet/types" "0.10.19" + "@keplr-wallet/unit" "0.10.19" + "@ledgerhq/hw-transport" "^6.20.0" + "@ledgerhq/hw-transport-webhid" "^6.20.0" + "@ledgerhq/hw-transport-webusb" "^6.20.0" + "@tharsis/address-converter" "^0.1.5" + aes-js "^3.1.2" + axios "^0.21.4" + big-integer "^1.6.48" + bip39 "^3.0.2" + buffer "^6.0.3" + delay "^4.4.0" + joi "^17.5.0" + ledger-cosmos-js "^2.1.8" + long "^4.0.0" + pbkdf2 "^3.1.2" + secp256k1 "^4.0.2" + secretjs "^0.17.0" + utility-types "^3.10.0" + +"@keplr-wallet/common@0.10.19", "@keplr-wallet/common@^0.10.12": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.19.tgz#7ed8f1dbe8f030ff72edbd0fc725bb277d9f931a" + integrity sha512-ojp62UiuXbmEk8Li/GWekS2MYpI5x5GXMC9Zkh0edtNUVo4ZIB3G/ia/wf/vbM1tvsBuIh9OUJHfipyUqtx2/Q== + dependencies: + "@keplr-wallet/crypto" "0.10.19" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@0.10.19", "@keplr-wallet/cosmos@^0.10.12", "@keplr-wallet/cosmos@^0.10.3": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.19.tgz#f0ba0d40bcdf3a2b1a597f53c18adbe1b13191bb" + integrity sha512-PWWtCb6ZtJ+jOB9dpAM//u0/Sd8ITATPbteYI51W88Wulf18x3axdLx2xfRAlM5/UEL7dYcikxj+ByAHHBl28A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.19" + "@keplr-wallet/proto-types" "0.10.19" + "@keplr-wallet/types" "0.10.19" + "@keplr-wallet/unit" "0.10.19" + axios "^0.21.4" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.19", "@keplr-wallet/crypto@^0.10.11": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.19.tgz#6d8e72ec7a78d583d4804b806c905196b9f6c78c" + integrity sha512-jYtoAKmWX9IFzPdTC3D1ewwOgZNzUBf9crzS582DOhOOadBexJsN+QHq+kZCn15vYV74odJSmlkXn8NGFFtTSg== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/popup@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/popup/-/popup-0.10.19.tgz#b59f07cdc3b465ba9f86f65ab4db21c1ca84b0a2" + integrity sha512-rFNI6V15KpDI5I1P7opoPgM2Ln7zFUD5bRq472KWDapP+wcGlHnVQoU9JE/zNFC2tN8l7J23FyCyuIclqFL/zw== + +"@keplr-wallet/proto-types@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.19.tgz#ee3cc16d6cfdab8fe3fbd2353a892d96512cb7fa" + integrity sha512-HijRMUpt1MQurFkg2IV09vvJ3Ms3NmTTEkuAigbf2RRzloXlMk07qR/++caTkwbkphcrGgCzQG7Q+0D+vvq7Yw== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@^0.10.12": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.19.tgz#a8dadeae9d45d5831ce549056382e8360c7eeb54" + integrity sha512-ecWItSCtZ33wY0uJab5+jyjKtPg818Fj4rxubGah7pHUjl2rzoPsohzXz/ZB7MuzxWYLJ7nFnOCtkL7L3fOGDg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.10.19" + "@keplr-wallet/types" "0.10.19" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/router@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.19.tgz#d5ffb56422865c0ebae7d4d1a49a034adfbd087d" + integrity sha512-sWG6JQsCJYcjKbzxKZ19aR8+ZpKAOQD3Ehmsx7oBsFDKT+4e9Qks4/y9GLb0xCtnzsLxFl8/NXEYBSLqc25PDg== + +"@keplr-wallet/stores@^0.10.12": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/stores/-/stores-0.10.19.tgz#edb9b4c2a9b67df17a235de4a481a87e945547a8" + integrity sha512-iL9ijUuUhUEQLwxdEDJvN/9ltbfvp9AlaUAUkP6R9gG6KDG6+3HW931naMWyMScryH5y47f2JURkdX5fJPEptA== + dependencies: + "@cosmjs/encoding" "^0.24.0-alpha.25" + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/tendermint-rpc" "^0.24.1" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/background" "0.10.19" + "@keplr-wallet/common" "0.10.19" + "@keplr-wallet/cosmos" "0.10.19" + "@keplr-wallet/crypto" "0.10.19" + "@keplr-wallet/proto-types" "0.10.19" + "@keplr-wallet/router" "0.10.19" + "@keplr-wallet/types" "0.10.19" + "@keplr-wallet/unit" "0.10.19" + "@tharsis/address-converter" "^0.1.5" + axios "^0.21.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + eventemitter3 "^4.0.7" + mobx "^6.1.7" + mobx-utils "^6.0.3" + p-queue "^6.6.2" + utility-types "^3.10.0" + +"@keplr-wallet/types@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.19.tgz#cba3b7eb0012bfde87d5873ded39c3be95719dfc" + integrity sha512-oLljU2oj3aYCClxF1M9a6CWOzFsKcQqGJxPrZz2NoYkD1o0NmaRZ2Dw8Fd3qcfb2x9ZWzTkNl4M8w+8IDw+zSg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.21.4" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/unit@0.10.19": + version "0.10.19" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.19.tgz#c80fc572ee528962dcf54aad63a7b7ad53874757" + integrity sha512-3RLDqHC4FymOjJw8mUxwYf/eVhK06LkRikQBNFxIWiIQv13kcSs9r8vBioiuY1thvwWX0Xb6EGluvwcWK3YYJg== + dependencies: + "@keplr-wallet/types" "0.10.19" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@ledgerhq/devices@^5.51.1": + version "5.51.1" + resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-5.51.1.tgz#d741a4a5d8f17c2f9d282fd27147e6fe1999edb7" + integrity sha512-4w+P0VkbjzEXC7kv8T1GJ/9AVaP9I6uasMZ/JcdwZBS3qwvKo5A5z9uGhP5c7TvItzcmPb44b5Mw2kT+WjUuAA== + dependencies: + "@ledgerhq/errors" "^5.50.0" + "@ledgerhq/logs" "^5.50.0" + rxjs "6" + semver "^7.3.5" + +"@ledgerhq/devices@^7.0.0": + version "7.0.0" + resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.0.tgz#ba743aa6d0725562e8b1bd5c4f0b7db2cf573710" + integrity sha512-vq4B33WdU0dRAJIRFWZMj6w1W1yw1i4mekCmhk7N9wPaFrtGWZ2iI9WDihsNOBooCWKQe8Jsb9eD8RVThbSlFQ== + dependencies: + "@ledgerhq/errors" "^6.10.1" + "@ledgerhq/logs" "^6.10.0" + rxjs "6" + semver "^7.3.5" + +"@ledgerhq/errors@^5.50.0": + version "5.50.0" + resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-5.50.0.tgz#e3a6834cb8c19346efca214c1af84ed28e69dad9" + integrity sha512-gu6aJ/BHuRlpU7kgVpy2vcYk6atjB4iauP2ymF7Gk0ez0Y/6VSMVSJvubeEQN+IV60+OBK0JgeIZG7OiHaw8ow== + +"@ledgerhq/errors@^6.10.1": + version "6.10.1" + resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.10.1.tgz#510688251b6261744c6b1cde6cfd2dfb13fc27b2" + integrity sha512-92d1zRQleR1AQ4CAXgWgDtKUms+8EwShLVUcajI+BLWvgJ1Vclmq6PsBIDEQbsm+riVu/Ji3LcHdmgFgmi0VGw== + +"@ledgerhq/hw-transport-webhid@^6.20.0": + version "6.27.2" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.2.tgz#e3ee2501b1353a335d7436c1f2b95821d2b2f426" + integrity sha512-ZlyNheUhcxBZqjJzhSfJfeGQvNbeyWs9866rdQjVeG1zsbTJi0+6tfRv8J248QISS8vHtG5IMSxgMg9mtux9dQ== + dependencies: + "@ledgerhq/devices" "^7.0.0" + "@ledgerhq/errors" "^6.10.1" + "@ledgerhq/hw-transport" "^6.27.2" + "@ledgerhq/logs" "^6.10.0" + +"@ledgerhq/hw-transport-webusb@^6.20.0": + version "6.27.2" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.2.tgz#e8efe6392957ea048860db6a83a0111d6f525e4b" + integrity sha512-wuoBBHOtGhJMoZEBjL4OAhvlU3pCD4rMYlwBNchEzayzU9k5ItegP43o71N9Fj/MeKevBqatxJ+tp8eUQbwewA== + dependencies: + "@ledgerhq/devices" "^7.0.0" + "@ledgerhq/errors" "^6.10.1" + "@ledgerhq/hw-transport" "^6.27.2" + "@ledgerhq/logs" "^6.10.0" + +"@ledgerhq/hw-transport@^5.25.0": + version "5.51.1" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578" + integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw== + dependencies: + "@ledgerhq/devices" "^5.51.1" + "@ledgerhq/errors" "^5.50.0" + events "^3.3.0" + +"@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.27.2": + version "6.27.2" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.2.tgz#318e24b13b4bc392277d0b3b6fbc568f86b41f01" + integrity sha512-GF4pmK78rEKhZfbmunwQ131c+0MGa6L5IoYlwgFcg6CaFpUjjPiTCKUFsm4flsE0Z0Ltn9QuKoe+xEHULo7rGA== + dependencies: + "@ledgerhq/devices" "^7.0.0" + "@ledgerhq/errors" "^6.10.1" + events "^3.3.0" + +"@ledgerhq/logs@^5.50.0": + version "5.50.0" + resolved "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.50.0.tgz#29c6419e8379d496ab6d0426eadf3c4d100cd186" + integrity sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA== + +"@ledgerhq/logs@^6.10.0": + version "6.10.0" + resolved "https://registry.npmjs.org/@ledgerhq/logs/-/logs-6.10.0.tgz#c012c1ecc1a0e53d50e6af381618dca5268461c1" + integrity sha512-lLseUPEhSFUXYTKj6q7s2O3s2vW2ebgA11vMAlKodXGf5AFw4zUoEbTz9CoFOC9jS6xY4Qr8BmRnxP/odT4Uuw== + "@lerna/add@4.0.0": version "4.0.0" resolved "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f" @@ -3056,6 +4690,59 @@ npmlog "^4.1.2" write-file-atomic "^3.0.3" +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz#fc29ea5d12538f21b211b3168e502cfc07a24882" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + "@next/env@12.2.5": version "12.2.5" resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz#d908c57b35262b94db3e431e869b72ac3e1ad3e3" @@ -3138,6 +4825,11 @@ resolved "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.2" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" + integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -3330,6 +5022,64 @@ dependencies: "@octokit/openapi-types" "^12.11.0" +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + "@pyramation/babel-preset-env@0.1.0": version "0.1.0" resolved "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz#cb9bf3a507d79b9ceb8b7e83815ed1a672209952" @@ -3349,6 +5099,23 @@ resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27" integrity sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA== +"@sideway/address@^4.1.3": + version "4.1.4" + resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz#03dccebc6ea47fdc226f7d3d1ad512955d4783f0" + integrity sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw== + dependencies: + "@hapi/hoek" "^9.0.0" + +"@sideway/formula@^3.0.0": + version "3.0.0" + resolved "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz#fe158aee32e6bd5de85044be615bc08478a0a13c" + integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg== + +"@sideway/pinpoint@^2.0.0": + version "2.0.0" + resolved "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" + integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== + "@sinclair/typebox@^0.24.1": version "0.24.22" resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.22.tgz#0da18e6e75701d6609c7c68fe18002bb1f47345f" @@ -3375,11 +5142,49 @@ dependencies: tslib "^2.4.0" +"@testing-library/dom@^8.5.0": + version "8.17.1" + resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-8.17.1.tgz#2d7af4ff6dad8d837630fecd08835aee08320ad7" + integrity sha512-KnH2MnJUzmFNPW6RIKfd+zf2Wue8mEKX0M3cpX6aKl5ZXrJM1/c/Pc8c2xDNYQCnJO48Sm5ITbMXgqTr3h4jxQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/runtime" "^7.12.5" + "@types/aria-query" "^4.2.0" + aria-query "^5.0.0" + chalk "^4.1.0" + dom-accessibility-api "^0.5.9" + lz-string "^1.4.4" + pretty-format "^27.0.2" + +"@testing-library/react@13.3.0": + version "13.3.0" + resolved "https://registry.npmjs.org/@testing-library/react/-/react-13.3.0.tgz#bf298bfbc5589326bbcc8052b211f3bb097a97c5" + integrity sha512-DB79aA426+deFgGSjnf5grczDPiL4taK3hFaa+M5q7q20Kcve9eQottOG5kZ74KEr55v0tU2CQormSSDK87zYQ== + dependencies: + "@babel/runtime" "^7.12.5" + "@testing-library/dom" "^8.5.0" + "@types/react-dom" "^18.0.0" + +"@tharsis/address-converter@^0.1.5": + version "0.1.8" + resolved "https://registry.npmjs.org/@tharsis/address-converter/-/address-converter-0.1.8.tgz#15323e25f6b41d9a4741627f5a1b4ed4547d23f6" + integrity sha512-z7zdNczV8RIzBNxzIzRFhC5ujiQ3Lt04At9rooo2pL6QONDDMMLxsqH3o28ie80k5DXSXaMJ6gffATeehxwAkw== + dependencies: + bech32 "^2.0.0" + crypto-addr-codec "^0.1.7" + link-module-alias "^1.2.0" + shx "^0.3.4" + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@types/aria-query@^4.2.0": + version "4.2.2" + resolved "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc" + integrity sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig== + "@types/babel__core@^7.1.14": version "7.1.19" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" @@ -3444,12 +5249,12 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^28.1.5": - version "28.1.6" - resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.6.tgz#d6a9cdd38967d2d746861fb5be6b120e38284dd4" - integrity sha512-0RbGAFMfcBJKOmqRazM8L98uokwuwD5F8rHrv/ZMbrZBwVOWZUyPG6VFNscjYr/vjM3Vu4fRrCPbOs42AfemaQ== +"@types/jest@^28.1.7": + version "28.1.7" + resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.7.tgz#a680c5d05b69634c2d54a63cb106d7fb1adaba16" + integrity sha512-acDN4VHD40V24tgu0iC44jchXavRNVFXQ/E6Z5XNsswgoSO/4NgsXoEYmPUGookKldlZQyIpmrEXsHI9cA3ZTA== dependencies: - jest-matcher-utils "^28.0.0" + expect "^28.0.0" pretty-format "^28.0.0" "@types/json5@^0.0.29": @@ -3457,6 +5262,23 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.184" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.184.tgz#23f96cd2a21a28e106dc24d825d4aa966de7a9fe" + integrity sha512-RoZphVtHbxPZizt4IcILciSWiC6dcn+eZ8oX9IWEYfDMcocdd42f7NPI6fQj+6zI8y4E0L7gu2pcZKLGTRaV9Q== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + "@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" @@ -3472,10 +5294,25 @@ resolved "https://registry.npmjs.org/@types/node/-/node-13.7.4.tgz#76c3cb3a12909510f52e5dc04a6298cdf9504ffd" integrity sha512-oVeL12C6gQS/GAExndigSaLxTrKpQPxewx9bOcwfvJiJge4rr7wNaph4J+ns5hrmIV2as5qxqN8YKthn9qh0jw== -"@types/node@18.7.6": - version "18.7.6" - resolved "https://registry.npmjs.org/@types/node/-/node-18.7.6.tgz#31743bc5772b6ac223845e18c3fc26f042713c83" - integrity sha512-EdxgKRXgYsNITy5mjjXjVE/CS8YENSdhiagGrLqjG0pvA2owgJ6i4l7wy/PFZGC0B1/H20lWKN7ONVDNYDZm7A== +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@18.7.11", "@types/node@>=13.7.0": + version "18.7.11" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" + integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -3497,13 +5334,20 @@ resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== -"@types/react-dom@18.0.6": +"@types/react-dom@18.0.6", "@types/react-dom@^18.0.0": version "18.0.6" resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1" integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== dependencies: "@types/react" "*" +"@types/react-transition-group@^4.4.0": + version "4.4.5" + resolved "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz#aae20dcf773c5aa275d5b9f7cdbca638abc5e416" + integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== + dependencies: + "@types/react" "*" + "@types/react@*", "@types/react@18.0.17": version "18.0.17" resolved "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4" @@ -3579,6 +5423,176 @@ "@typescript-eslint/types" "5.33.1" eslint-visitor-keys "^3.3.0" +"@walletconnect/browser-utils@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.8.tgz#c9e27f69d838442d69ccf53cb38ffc3c554baee2" + integrity sha512-iCL0XCWOZaABIc0lqA79Vyaybr3z26nt8mxiwvfrG8oaKUf5Y21Of4dj+wIXQ4Hhblre6SgDlU0Ffb39+1THOw== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.7.8" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/browser-utils@^1.7.8", "@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz#62c2d7114e59495d90772ea8033831ceb29c6a78" + integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== + dependencies: + "@walletconnect/core" "^1.7.8" + "@walletconnect/iso-crypto" "^1.7.8" + "@walletconnect/types" "^1.7.8" + "@walletconnect/utils" "^1.7.8" + +"@walletconnect/core@^1.7.8": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.7.8": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.0", "@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz#ec397e6fbdc8147bccc17029edfeb41c50a5ca09" + integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== + +"@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.8.tgz#f94572bca5eb6b5f81daf8a35268f249f9c6b1ec" + integrity sha512-DSpfH6Do0TQmdrgzu+SyjVhupVjN0WEMvNWGK9K4VlSmLFpCWfme7qxzrvuxBZ47gDqs1kGWvjyJmviWqvOnAg== + dependencies: + "@walletconnect/browser-utils" "^1.7.8" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.0" + "@walletconnect/types" "^1.7.8" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -3597,7 +5611,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^8.7.1, acorn@^8.8.0: +acorn@^8.8.0: version "8.8.0" resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -3607,6 +5621,16 @@ add-stream@^1.0.0: resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== +aes-js@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" + integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -3631,20 +5655,20 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.5.5: - version "6.12.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7" - integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw== +ajv@^6.10.0, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== dependencies: fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== +ajv@^6.5.5: + version "6.12.0" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7" + integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw== dependencies: fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" @@ -3705,7 +5729,7 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0, ansi-styles@^4.1.0: +ansi-styles@^4.0.0: version "4.2.1" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== @@ -3713,6 +5737,13 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: "@types/color-name" "^1.1.1" color-convert "^2.0.1" +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + ansi-styles@^5.0.0: version "5.2.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" @@ -3764,6 +5795,13 @@ argparse@^2.0.1: resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + aria-query@^4.2.2: version "4.2.2" resolved "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" @@ -3772,6 +5810,11 @@ aria-query@^4.2.2: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" +aria-query@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" + integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== + array-differ@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" @@ -3850,6 +5893,11 @@ ast-types-flow@^0.0.7: resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -3875,6 +5923,28 @@ axe-core@^4.4.3: resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz#11c74d23d5013c0fa5d183796729bc3482bd2f6f" integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2, axios@^0.21.4: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + axobject-query@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" @@ -3935,7 +6005,16 @@ babel-plugin-macros@2.8.0: cosmiconfig "^6.0.0" resolve "^1.12.0" -babel-plugin-polyfill-corejs2@^0.3.1: +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +babel-plugin-polyfill-corejs2@^0.3.2: version "0.3.2" resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.2.tgz#e4c31d4c89b56f3cf85b92558954c66b54bd972d" integrity sha512-LPnodUl3lS0/4wN3Rb+m+UK8s7lj2jcLRrjho4gLw+OJs+I4bvGXshINesY5xx/apM+biTnQ9reDI8yj+0M5+Q== @@ -3944,7 +6023,7 @@ babel-plugin-polyfill-corejs2@^0.3.1: "@babel/helper-define-polyfill-provider" "^0.3.2" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.5.2: +babel-plugin-polyfill-corejs3@^0.5.3: version "0.5.3" resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz#d7e09c9a899079d71a8b670c6181af56ec19c5c7" integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== @@ -3952,12 +6031,28 @@ babel-plugin-polyfill-corejs3@^0.5.2: "@babel/helper-define-polyfill-provider" "^0.3.2" core-js-compat "^3.21.0" -babel-plugin-polyfill-regenerator@^0.3.1: - version "0.3.1" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz#2c0678ea47c75c8cc2fbb1852278d8fb68233990" - integrity sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A== +babel-plugin-polyfill-regenerator@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.0.tgz#8f51809b6d5883e07e71548d75966ff7635527fe" + integrity sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.2" + +"babel-plugin-styled-components@>= 1.12.0": + version "2.0.7" + resolved "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-2.0.7.tgz#c81ef34b713f9da2b7d3f5550df0d1e19e798086" + integrity sha512-i7YhvPgVqRKfoQ66toiZ06jPNA3p6ierpfUuEWxNF+fV27Uv5gxBkf8KZLHUCc1nFA9j6+80pYoIpqCeyW3/bA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.1" + "@babel/helper-annotate-as-pure" "^7.16.0" + "@babel/helper-module-imports" "^7.16.0" + babel-plugin-syntax-jsx "^6.18.0" + lodash "^4.17.11" + picomatch "^2.3.0" + +babel-plugin-syntax-jsx@^6.18.0: + version "6.18.0" + resolved "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" + integrity sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw== babel-preset-current-node-syntax@^1.0.0: version "1.0.1" @@ -4001,9 +6096,21 @@ babel-watch@^7.0.0: string-argv "^0.3.1" balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2, base-x@^3.0.8: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== bcrypt-pbkdf@^1.0.0: version "1.0.2" @@ -4012,16 +6119,86 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +bech32@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" + integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== + before-after-hook@^2.2.0: version "2.2.2" resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== +big-integer@1.6.36: + version "1.6.36" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" + integrity sha512-t70bfa7HYEA1D9idDbmuv7YbsbVkQ+Hp+8KFSul4aE5e/i1bjCNIRYJZlA8Q8p0r9T8cF/RVvwUgRA//FydEyg== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +blakejs@^1.1.0: + version "1.2.1" + resolved "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" + integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -4044,6 +6221,11 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + browserslist@^4.11.1, browserslist@^4.12.0: version "4.14.5" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz#1c751461a102ddc60e40993639b709be7f2c4015" @@ -4080,6 +6262,22 @@ bs-logger@0.x: dependencies: fast-json-stable-stringify "2.x" +bs58@^4.0.0, bs58@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + bser@2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -4092,6 +6290,22 @@ buffer-from@^1.0.0: resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + builtins@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" @@ -4163,6 +6377,11 @@ camelcase@^6.2.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== +camelize@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" + integrity sha512-W2lPwkBkMZwFlPCXhIlYgxu+7gC/NUlCtdK652DAJ1JdgV0sTrvuPFshNPrFa1TY2JOkLhgdeEBplB4ezEa+xg== + caniuse-lite@^1.0.30001027: version "1.0.30001028" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001028.tgz#f2241242ac70e0fa9cda55c2776d32a0867971c2" @@ -4193,6 +6412,21 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= +chain-registry@^0.8.1: + version "0.8.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.8.1.tgz#b10e32d8cea9987dea3a21b22e5425b998aa2b49" + integrity sha512-dbkze5uzezXfZSOB9w9Z4iojmNTQerNiNWw8TP0Tl8iz+ZjIbutpCVQzdu2W7e/WjavwTixiabLQKVn+h5NjYQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@chain-registry/types" "^0.6.0" + +chakra-react-select@^4.1.4: + version "4.1.4" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz#27ad5cd2953dd93a7fb594454e73bd386304ebb3" + integrity sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg== + dependencies: + react-select "^5.4.0" + chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -4204,7 +6438,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.4.2: +chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -4236,6 +6470,11 @@ chardet@^0.7.0: resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + chokidar@^3.4.0, chokidar@^3.4.3: version "3.5.3" resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" @@ -4271,6 +6510,14 @@ ci-info@^3.2.0: resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + cjs-module-lexer@^1.0.0: version "1.2.2" resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" @@ -4387,7 +6634,7 @@ columnify@^1.5.4: strip-ansi "^3.0.0" wcwidth "^1.0.0" -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: version "1.0.8" resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -4422,10 +6669,15 @@ compare-func@^2.0.0: array-ify "^1.0.0" dot-prop "^5.1.0" +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + concat-map@0.0.1: version "0.0.1" resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== concat-stream@^2.0.0: version "2.0.0" @@ -4539,6 +6791,20 @@ convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, dependencies: safe-buffer "~5.1.1" +convert-source-map@^1.5.0: + version "1.8.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + core-js-compat@^3.21.0, core-js-compat@^3.22.1: version "3.24.0" resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.24.0.tgz#885958fac38bf3f4464a90f2663b4620f6aee6e3" @@ -4592,6 +6858,37 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cosmjs-types@^0.4.0: + version "0.4.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" + integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + cross-env@^7.0.2: version "7.0.3" resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" @@ -4608,11 +6905,60 @@ cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -csstype@^3.0.2: +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-addr-codec@^0.1.7: + version "0.1.7" + resolved "https://registry.npmjs.org/crypto-addr-codec/-/crypto-addr-codec-0.1.7.tgz#e16cea892730178fe25a38f6d15b680cab3124ae" + integrity sha512-X4hzfBzNhy4mAc3UpiXEC/L0jo5E8wAa9unsnA8nNXYzXjCcGk83hfC5avJWCSGT8V91xMnAS9AKMHmjw5+XCg== + dependencies: + base-x "^3.0.8" + big-integer "1.6.36" + blakejs "^1.1.0" + bs58 "^4.0.1" + ripemd160-min "0.0.6" + safe-buffer "^5.2.0" + sha3 "^2.1.1" + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +css-color-keywords@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" + integrity sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg== + +css-to-react-native@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.0.0.tgz#62dbe678072a824a689bcfee011fc96e02a7d756" + integrity sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ== + dependencies: + camelize "^1.0.0" + css-color-keywords "^1.0.0" + postcss-value-parser "^4.0.2" + +csstype@^3.0.11, csstype@^3.0.2: version "3.1.0" resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" @@ -4635,7 +6981,7 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: +debug@4, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -4656,7 +7002,7 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.1.0, debug@^4.1.1: +debug@^4.1.0: version "4.1.1" resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== @@ -4681,6 +7027,11 @@ decamelize@^1.1.0: resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" @@ -4691,7 +7042,7 @@ deep-is@^0.1.3: resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -deepmerge@^4.2.2: +deepmerge@4.2.2, deepmerge@^4.2.2: version "4.2.2" resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== @@ -4718,6 +7069,11 @@ define-properties@^1.1.4: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -4738,6 +7094,11 @@ deprecation@^2.0.0, deprecation@^2.3.1: resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -4753,6 +7114,11 @@ detect-newline@^3.0.0: resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + dezalgo@^1.0.0: version "1.0.3" resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" @@ -4787,6 +7153,19 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +dom-accessibility-api@^0.5.9: + version "0.5.14" + resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz#56082f71b1dc7aac69d83c4285eef39c15d93f56" + integrity sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg== + +dom-helpers@^5.0.1: + version "5.2.1" + resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" + integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== + dependencies: + "@babel/runtime" "^7.8.7" + csstype "^3.0.2" + dot-prop@^5.1.0: version "5.3.0" resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" @@ -4829,6 +7208,19 @@ electron-to-chromium@^1.4.202: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.206.tgz#580ff85b54d7ec0c05f20b1e37ea0becdd7b0ee4" integrity sha512-h+Fadt1gIaQ06JaIiyqPsBjJ08fV5Q7md+V8bUvQW/9OvXfL2LRICTz2EcnnCP7QzrFTS6/27MRV6Bl9Yn97zA== +elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.10.2: version "0.10.2" resolved "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" @@ -5109,88 +7501,6 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@8.17.0: - version "8.17.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz#1cfc4b6b6912f77d24b874ca1506b0fe09328c21" - integrity sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw== - dependencies: - "@eslint/eslintrc" "^1.3.0" - "@humanwhocodes/config-array" "^0.9.2" - ajv "^6.10.0" - 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.1.1" - eslint-utils "^3.0.0" - eslint-visitor-keys "^3.3.0" - espree "^9.3.2" - esquery "^1.4.0" - 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 "^6.0.1" - globals "^13.15.0" - ignore "^5.2.0" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^4.1.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.1.2" - natural-compare "^1.4.0" - optionator "^0.9.1" - regexpp "^3.2.0" - strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -eslint@8.19.0: - version "8.19.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-8.19.0.tgz#7342a3cbc4fbc5c106a1eefe0fd0b50b6b1a7d28" - integrity sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw== - dependencies: - "@eslint/eslintrc" "^1.3.0" - "@humanwhocodes/config-array" "^0.9.2" - ajv "^6.10.0" - 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.1.1" - eslint-utils "^3.0.0" - eslint-visitor-keys "^3.3.0" - espree "^9.3.2" - esquery "^1.4.0" - 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 "^6.0.1" - globals "^13.15.0" - ignore "^5.2.0" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^4.1.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.1.2" - natural-compare "^1.4.0" - optionator "^0.9.1" - regexpp "^3.2.0" - strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - eslint@8.22.0: version "8.22.0" resolved "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48" @@ -5236,16 +7546,7 @@ eslint@8.22.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^9.3.2: - version "9.3.2" - resolved "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz#f58f77bd334731182801ced3380a8cc859091596" - integrity sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA== - dependencies: - acorn "^8.7.1" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.3.0" - -espree@^9.3.3: +espree@^9.3.2, espree@^9.3.3: version "9.3.3" resolved "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz#2dd37c4162bb05f433ad3c1a52ddf8a49dc08e9d" integrity sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng== @@ -5288,11 +7589,16 @@ esutils@^2.0.2: resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -eventemitter3@^4.0.4: +eventemitter3@^4.0.4, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +events@^3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + execa@^5.0.0: version "5.1.1" resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" @@ -5308,12 +7614,17 @@ execa@^5.0.0: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +exenv@^1.2.0: + version "1.2.2" + resolved "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" + integrity sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw== + exit@^0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expect@^28.1.3: +expect@^28.0.0, expect@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== @@ -5357,12 +7668,12 @@ extsprintf@^1.2.0: resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= -fast-deep-equal@^3.1.1: +fast-deep-equal@3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== -fast-deep-equal@^3.1.3: +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== @@ -5372,6 +7683,13 @@ fast-diff@^1.1.2: resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== +fast-fuzzy@^1.11.2: + version "1.11.2" + resolved "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz#25e6f81f10636237da48071e64eb9fa95e1e2574" + integrity sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw== + dependencies: + graphemesplit "^2.4.1" + fast-glob@^3.2.9: version "3.2.11" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" @@ -5428,6 +7746,11 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + fill-range@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -5444,6 +7767,11 @@ find-cache-dir@^2.0.0: make-dir "^2.0.0" pkg-dir "^3.0.0" +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + find-up@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" @@ -5483,15 +7811,36 @@ flat-cache@^3.0.4: rimraf "^3.0.2" flatted@^3.1.0: - version "3.2.6" - resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz#022e9218c637f9f3fc9c35ab9c9193f05add60b2" - integrity sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ== + version "3.2.7" + resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== + +focus-lock@^0.11.2: + version "0.11.2" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz#aeef3caf1cea757797ac8afdebaec8fd9ab243ed" + integrity sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.1" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" + integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + form-data@~2.3.2: version "2.3.3" resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -5501,6 +7850,34 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +framer-motion@7.2.1: + version "7.2.1" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.2.1.tgz#0db5992ece791cb58357787ef9c29dd76281720d" + integrity sha512-bt2ZqqGpPsW6UojYUa5poWQJu3sDr4Dp3IZsdVBYdKUJ8p+9PxOk1fYRAT8lTGGmaC5HFoKrbDXQeKWGAKZz9g== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + fs-extra@^9.1.0: version "9.1.0" resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" @@ -5533,7 +7910,7 @@ fs-readdir-recursive@^1.1.0: fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.3.2, fsevents@~2.3.2: version "2.3.2" @@ -5558,7 +7935,7 @@ function.prototype.name@^1.1.5: functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= + integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== functions-have-names@^1.2.2: version "1.2.3" @@ -5608,6 +7985,11 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: has "^1.0.3" has-symbols "^1.0.3" +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + get-pkg-repo@^4.0.0: version "4.2.1" resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" @@ -5729,7 +8111,7 @@ glob@8.0.3: minimatch "^5.0.1" once "^1.3.0" -glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.0, glob@^7.1.1, glob@^7.1.4: version "7.1.6" resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== @@ -5741,7 +8123,7 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.6, glob@^7.2.0: +glob@^7.1.3, glob@^7.1.6, glob@^7.2.0: version "7.2.3" resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5765,6 +8147,13 @@ globals@^13.15.0: dependencies: type-fest "^0.20.2" +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + globby@^11.0.2, globby@^11.1.0: version "11.1.0" resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" @@ -5792,6 +8181,14 @@ grapheme-splitter@^1.0.4: resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== +graphemesplit@^2.4.1: + version "2.4.4" + resolved "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz#6d325c61e928efdaec2189f54a9b87babf89b75a" + integrity sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w== + dependencies: + js-base64 "^3.6.0" + unicode-trie "^2.0.0" + handlebars@^4.7.7: version "4.7.7" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -5880,6 +8277,44 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + homedir-polyfill@^1.0.1: version "1.0.3" resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -5961,6 +8396,11 @@ iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + ignore-walk@^3.0.3: version "3.0.4" resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" @@ -5973,18 +8413,18 @@ ignore@^5.2.0: resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== -import-fresh@^3.0.0, import-fresh@^3.1.0: - version "3.2.1" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" -import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== +import-fresh@^3.1.0: + version "3.2.1" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" @@ -6000,7 +8440,7 @@ import-local@^3.0.2: imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== indent-string@^4.0.0: version "4.0.0" @@ -6015,12 +8455,12 @@ infer-owner@^1.0.4: inflight@^1.0.4: version "1.0.6" resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.3, inherits@~2.0.3: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -6181,6 +8621,11 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + is-callable@^1.1.4, is-callable@^1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" @@ -6220,7 +8665,7 @@ is-date-object@^1.0.1: is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== is-fullwidth-code-point@^1.0.0: version "1.0.0" @@ -6244,14 +8689,7 @@ is-generator-fn@^2.0.0: resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-glob@^4.0.3, is-glob@~4.0.1: +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.npmjs.org/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -6369,7 +8807,7 @@ is-text-path@^1.0.1: dependencies: text-extensions "^1.0.0" -is-typedarray@^1.0.0, is-typedarray@~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.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= @@ -6389,13 +8827,18 @@ isarray@~1.0.0: isexe@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== isobject@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/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.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -6481,7 +8924,7 @@ jest-circus@^28.1.3: slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^28.1.1, jest-cli@^28.1.3: +jest-cli@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-28.1.3.tgz#558b33c577d06de55087b8448d373b9f654e46b2" integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== @@ -6604,7 +9047,7 @@ jest-leak-detector@^28.1.3: jest-get-type "^28.0.2" pretty-format "^28.1.3" -jest-matcher-utils@^28.0.0, jest-matcher-utils@^28.1.3: +jest-matcher-utils@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== @@ -6801,17 +9244,7 @@ jest-worker@^28.1.3: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@28.1.1: - version "28.1.1" - resolved "https://registry.npmjs.org/jest/-/jest-28.1.1.tgz#3c39a3a09791e16e9ef283597d24ab19a0df701e" - integrity sha512-qw9YHBnjt6TCbIDMPMpJZqf9E12rh6869iZaN08/vpOGgHJSAaLLUn6H8W3IAEuy34Ls3rct064mZLETkxJ2XA== - dependencies: - "@jest/core" "^28.1.1" - "@jest/types" "^28.1.1" - import-local "^3.0.2" - jest-cli "^28.1.1" - -jest@^28.1.3: +jest@28.1.3, jest@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz#e9c6a7eecdebe3548ca2b18894a50f45b36dfc6b" integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== @@ -6821,6 +9254,73 @@ jest@^28.1.3: import-local "^3.0.2" jest-cli "^28.1.3" +joi@^17.5.0: + version "17.6.0" + resolved "https://registry.npmjs.org/joi/-/joi-17.6.0.tgz#0bb54f2f006c09a96e75ce687957bd04290054b2" + integrity sha512-OX5dG6DTbcr/kbMFj0KGYxuew69HPcAE3K/sZpEV2nP6e/j/C0HV+HNiBPCASxdx5T7DMoa0s8UeHWMnb6n2zw== + dependencies: + "@hapi/hoek" "^9.0.0" + "@hapi/topo" "^5.0.0" + "@sideway/address" "^4.1.3" + "@sideway/formula" "^3.0.0" + "@sideway/pinpoint" "^2.0.0" + +js-base64@^3.6.0: + version "3.7.2" + resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz#816d11d81a8aff241603d19ce5761e13e41d7745" + integrity sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -6879,7 +9379,7 @@ json-schema@0.2.3: json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" @@ -6937,6 +9437,11 @@ jsprim@^1.2.2: array-includes "^3.1.5" object.assign "^4.1.3" +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" @@ -6959,6 +9464,16 @@ language-tags@^1.0.5: dependencies: language-subtag-registry "~0.3.2" +ledger-cosmos-js@^2.1.8: + version "2.1.8" + resolved "https://registry.npmjs.org/ledger-cosmos-js/-/ledger-cosmos-js-2.1.8.tgz#b409ecd1e77f630e6fb212a9f602fe5c6e8f054b" + integrity sha512-Gl7SWMq+3R9OTkF1hLlg5+1geGOmcHX9OdS+INDsGNxSiKRWlsWCvQipGoDnRIQ6CPo2i/Ze58Dw0Mt/l3UYyA== + dependencies: + "@babel/runtime" "^7.11.2" + "@ledgerhq/hw-transport" "^5.25.0" + bech32 "^1.1.4" + ripemd160 "^2.0.2" + lerna@4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz#b139d685d50ea0ca1be87713a7c2f44a5b678e9e" @@ -7024,11 +9539,30 @@ libnpmpublish@^4.0.0: semver "^7.1.3" ssri "^8.0.1" +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= +link-module-alias@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/link-module-alias/-/link-module-alias-1.2.0.tgz#6a3b7b014cfe18b2759a1222fffce6a40fc120e4" + integrity sha512-ahPjXepbSVKbahTB6LxR//VHm8HPfI+QQygCH+E82spBY4HR5VPJTvlhKBc9F7muVxnS6C1rRfoPOXAbWO/fyw== + dependencies: + chalk "^2.4.1" + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -7114,6 +9648,11 @@ lodash.merge@^4.6.2: resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + lodash.template@^4.5.0: version "4.5.0" resolved "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" @@ -7129,7 +9668,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.12, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -7144,6 +9683,11 @@ lodash@^4.17.19: resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -7158,6 +9702,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lz-string@^1.4.4: + version "1.4.4" + resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" + integrity sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ== + make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -7238,6 +9787,29 @@ map-obj@^4.0.0: resolved "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +memoize-one@^5.0.0: + version "5.2.1" + resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e" + integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== + meow@^8.0.0: version "8.1.2" resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" @@ -7300,14 +9872,17 @@ min-indent@^1.0.0: resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -7335,7 +9910,7 @@ minimist@0.0.8: resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= -minimist@1.2.6, minimist@^1.2.6: +minimist@1.2.6, minimist@^1.2.3, minimist@^1.2.6: version "1.2.6" resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== @@ -7427,6 +10002,11 @@ minizlib@^2.0.0, minizlib@^2.1.1: minipass "^3.0.0" yallist "^4.0.0" +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + mkdirp-infer-owner@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" @@ -7448,6 +10028,16 @@ mkdirp@^0.5.0, mkdirp@^0.5.1: dependencies: minimist "0.0.8" +mobx-utils@^6.0.3: + version "6.0.5" + resolved "https://registry.npmjs.org/mobx-utils/-/mobx-utils-6.0.5.tgz#0cce9afb07fbba1fb559f959f8cea1f44baa7252" + integrity sha512-QOduwicYedD4mwYZRl8+c3BalljFDcubg+PUGqBkn8tOuBoj2q7GhjXBP6JXM9J+Zh+2mePK8IoToeLfqr3Z/w== + +mobx@^6.1.7: + version "6.6.1" + resolved "https://registry.npmjs.org/mobx/-/mobx-6.6.1.tgz#70ee6aa82f25aeb7e7d522bd621207434e509318" + integrity sha512-7su3UZv5JF+ohLr2opabjbUAERfXstMY+wiBtey8yNAPoB8H187RaQXuhFjNkH8aE4iHbDWnhDFZw0+5ic4nGQ== + modify-values@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -7458,11 +10048,16 @@ ms@2.0.0: resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== -ms@2.1.2, ms@^2.0.0, ms@^2.1.1: +ms@2.1.2, ms@^2.0.0: version "2.1.2" resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +ms@^2.1.1: + version "2.1.3" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + multimatch@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" @@ -7484,6 +10079,11 @@ mute-stream@0.0.8, mute-stream@~0.0.4: resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== +nan@^2.13.2: + version "2.16.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" + integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== + nanoid@^3.3.4: version "3.3.4" resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" @@ -7492,7 +10092,7 @@ nanoid@^3.3.4: natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== negotiator@^0.6.2: version "0.6.3" @@ -7530,6 +10130,11 @@ next@12.2.5: "@next/swc-win32-ia32-msvc" "12.2.5" "@next/swc-win32-x64-msvc" "12.2.5" +node-addon-api@^2.0.0: + version "2.0.2" + resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" + integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== + node-environment-flags@^1.0.5: version "1.0.6" resolved "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088" @@ -7545,6 +10150,11 @@ node-fetch@^2.6.1, node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" +node-gyp-build@^4.2.0: + version "4.5.0" + resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" + integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== + node-gyp@^5.0.2: version "5.1.0" resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.0.tgz#8e31260a7af4a2e2f994b0673d4e0b3866156332" @@ -8034,6 +10644,21 @@ pacote@^11.2.6: ssri "^8.0.1" tar "^6.1.0" +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^0.2.5: + version "0.2.9" + resolved "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" + integrity sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -8105,7 +10730,7 @@ path-exists@^4.0.0: path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" @@ -8134,6 +10759,17 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1, pbkdf2@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + performance-now@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" @@ -8149,7 +10785,7 @@ picomatch@^2.0.4: resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== -picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: +picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -8193,6 +10829,21 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz#8e3e014421a0ffa30ecd722564fd2558954e1f7d" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss-value-parser@^4.0.2: + version "4.2.0" + resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + postcss@8.4.14: version "8.4.14" resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" @@ -8214,16 +10865,20 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.7.0: - version "2.7.0" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.0.tgz#a4fdae07e5596c51c9857ea676cd41a0163879d6" - integrity sha512-nwoX4GMFgxoPC6diHvSwmK/4yU8FFH3V8XWtLQrbj4IBsK2pkYhG4kf/ljF/haaZ/aii+wNJqISrCDPgxGWDVQ== - -prettier@^2.1.2: +prettier@2.7.1, prettier@^2.1.2: version "2.7.1" resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +pretty-format@^27.0.2: + version "27.5.1" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + pretty-format@^28.0.0, pretty-format@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" @@ -8267,7 +10922,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.8.1: +prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -8281,6 +10936,44 @@ proto-list@~1.2.1: resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= +protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + protocols@^1.1.0, protocols@^1.4.0: version "1.4.7" resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32" @@ -8301,11 +10994,25 @@ q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= +qrcode.react@3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + qs@~6.5.2: version "6.5.2" resolved "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -8316,6 +11023,20 @@ quick-lru@^4.0.1: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + react-dom@18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" @@ -8324,16 +11045,109 @@ react-dom@18.2.0: loose-envify "^1.1.0" scheduler "^0.23.0" -react-is@^16.13.1: +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz#a13a8a20c254854e1ec9aecef28a95cdf24ef703" + integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== + +react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + react-is@^18.0.0: version "18.2.0" resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== +react-lifecycles-compat@^3.0.0: + version "3.0.4" + resolved "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" + integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== + +react-modal@3.15.1: + version "3.15.1" + resolved "https://registry.npmjs.org/react-modal/-/react-modal-3.15.1.tgz#950ce67bfef80971182dd0ed38f2d9b1a681288b" + integrity sha512-duB9bxOaYg7Zt6TMFldIFxQRtSP+Dg3F1ZX3FXxSUn+3tZZ/9JCgeAQKDg7rhZSAqopq8TFRw3yIbnx77gyFTw== + dependencies: + exenv "^1.2.0" + prop-types "^15.7.2" + react-lifecycles-compat "^3.0.0" + warning "^4.0.3" + +react-remove-scroll-bar@^2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz#e291f71b1bb30f5f67f023765b7435f4b2b2cd94" + integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-select@^5.4.0: + version "5.4.0" + resolved "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz#81f6ac73906126706f104751ee14437bd16798f4" + integrity sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg== + dependencies: + "@babel/runtime" "^7.12.0" + "@emotion/cache" "^11.4.0" + "@emotion/react" "^11.8.1" + "@types/react-transition-group" "^4.4.0" + memoize-one "^5.0.0" + prop-types "^15.6.0" + react-transition-group "^4.3.0" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react-transition-group@^4.3.0: + version "4.4.5" + resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== + dependencies: + "@babel/runtime" "^7.5.5" + dom-helpers "^5.0.1" + loose-envify "^1.4.0" + prop-types "^15.6.2" + react@18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" @@ -8438,7 +11252,7 @@ read@1, read@~1.0.1: dependencies: mute-stream "~0.0.4" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -8477,6 +11291,11 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + rechoir@^0.6.2: version "0.6.2" resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" @@ -8691,7 +11510,7 @@ resolve.exports@^1.1.0: resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.1.6, resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.0: +resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0: version "1.22.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -8756,6 +11575,19 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +ripemd160-min@0.0.6: + version "0.0.6" + resolved "https://registry.npmjs.org/ripemd160-min/-/ripemd160-min-0.0.6.tgz#a904b77658114474d02503e819dcc55853b67e62" + integrity sha512-+GcJgQivhs6S9qvLogusiTcS9kQUfgR75whKuy5jIhuiOfQuJ8fjqxV6EGD5duH1Y/FawFUMtMhyeq3Fbnib8A== + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: version "2.4.1" resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" @@ -8780,7 +11612,7 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== -rxjs@^6.4.0, rxjs@^6.6.0: +rxjs@6, rxjs@^6.4.0, rxjs@^6.6.0: version "6.6.7" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -8792,6 +11624,11 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== +safe-buffer@^5.1.0, safe-buffer@^5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -8809,6 +11646,42 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" +scrypt-js@3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" + integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== + +secp256k1@^4.0.2: + version "4.0.3" + resolved "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" + integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== + dependencies: + elliptic "^6.5.4" + node-addon-api "^2.0.0" + node-gyp-build "^4.2.0" + +secretjs@0.17.5, secretjs@^0.17.0: + version "0.17.5" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.5.tgz#5b55e46cfa2719714831fc2019e21c21959fe587" + integrity sha512-sf0+Je9KIEMQr/wJOgeqyBOV0ruiMNHSwP4L2vXiJbtzJWQqyVHyPkpavAhruNZ+91XlSzAFP2X5MPxqPBC9fQ== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "^6.11.2" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + "semver@2 || 3 || 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.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" @@ -8841,6 +11714,21 @@ set-blocking@~2.0.0: resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@^2.1.1, sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -8848,6 +11736,11 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" +shallowequal@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== + shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -8860,7 +11753,7 @@ shebang-regex@^3.0.0: resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@0.8.5: +shelljs@0.8.5, shelljs@^0.8.5: version "0.8.5" resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== @@ -8869,6 +11762,14 @@ shelljs@0.8.5: interpret "^1.0.0" rechoir "^0.6.2" +shx@^0.3.4: + version "0.3.4" + resolved "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02" + integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g== + dependencies: + minimist "^1.2.3" + shelljs "^0.8.5" + side-channel@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" @@ -8974,7 +11875,7 @@ source-map-support@^0.5.16, source-map-support@^0.5.19: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@^0.5.0: +source-map@^0.5.0, source-map@^0.5.7: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -9010,6 +11911,11 @@ spdx-license-ids@^3.0.0: resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + split2@^3.0.0: version "3.2.2" resolved "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" @@ -9058,6 +11964,11 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + string-argv@^0.3.1: version "0.3.1" resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" @@ -9239,30 +12150,66 @@ strong-log-transformer@^2.1.0: minimist "^1.2.0" through "^2.3.4" +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-components@5.3.5: + version "5.3.5" + resolved "https://registry.npmjs.org/styled-components/-/styled-components-5.3.5.tgz#a750a398d01f1ca73af16a241dec3da6deae5ec4" + integrity sha512-ndETJ9RKaaL6q41B69WudeqLzOpY1A/ET/glXkNZ2T7dPjPqpPCXXQjDFYZWwNnE5co0wX+gTCqx9mfxTmSIPg== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@babel/traverse" "^7.4.5" + "@emotion/is-prop-valid" "^1.1.0" + "@emotion/stylis" "^0.8.4" + "@emotion/unitless" "^0.7.4" + babel-plugin-styled-components ">= 1.12.0" + css-to-react-native "^3.0.0" + hoist-non-react-statics "^3.0.0" + shallowequal "^1.1.0" + supports-color "^5.5.0" + styled-jsx@5.0.4: version "5.0.4" resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz#5b1bd0b9ab44caae3dd1361295559706e044aa53" integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + supports-color@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== -supports-color@^5.3.0: +supports-color@^5.3.0, supports-color@^5.5.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" -supports-color@^7.0.0, supports-color@^7.1.0: +supports-color@^7.0.0: version "7.1.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== dependencies: has-flag "^4.0.0" +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + supports-color@^8.0.0: version "8.1.1" resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" @@ -9283,6 +12230,11 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + tar@^4.4.12: version "4.4.13" resolved "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" @@ -9349,7 +12301,7 @@ text-extensions@^1.0.0: text-table@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== through2@^2.0.0: version "2.0.5" @@ -9371,6 +12323,27 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +tiny-inflate@^1.0.0: + version "1.0.3" + resolved "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz#122715494913a1805166aaf7c93467933eea26c4" + integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== + +tiny-invariant@^1.0.6: + version "1.2.0" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" + integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -9395,6 +12368,11 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -9420,10 +12398,10 @@ trim-newlines@^3.0.0: resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-jest@^28.0.5: - version "28.0.7" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.7.tgz#e18757a9e44693da9980a79127e5df5a98b37ac6" - integrity sha512-wWXCSmTwBVmdvWrOpYhal79bDpioDy4rTT+0vyUnE3ZzM7LOAAGG9NXwzkEL/a516rQEgnMmS/WKP9jBPCVJyA== +ts-jest@^28.0.8: + version "28.0.8" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73" + integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" @@ -9444,6 +12422,11 @@ tsconfig-paths@^3.14.1: minimist "^1.2.6" strip-bom "^3.0.0" +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + tslib@^1.8.1: version "1.14.1" resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -9454,11 +12437,6 @@ tslib@^1.9.0: resolved "https://registry.npmjs.org/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc" integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg== -tslib@^2.4.0: - version "2.4.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -9515,7 +12493,12 @@ type-fest@^0.8.1: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== -typedarray-to-buffer@^3.1.5: +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== @@ -9527,6 +12510,11 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + typescript@4.7.4, typescript@^4.6.2: version "4.7.4" resolved "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" @@ -9611,6 +12599,14 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== +unicode-trie@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz#8fd8845696e2e14a8b67d78fa9e0dd2cad62fec8" + integrity sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ== + dependencies: + pako "^0.2.5" + tiny-inflate "^1.0.0" + unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" @@ -9635,6 +12631,11 @@ universalify@^2.0.0: resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + upath@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" @@ -9649,12 +12650,27 @@ update-browserslist-db@^1.0.5: picocolors "^1.0.0" uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== + version "4.4.1" + resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0" +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + use-sync-external-store@1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" @@ -9679,15 +12695,20 @@ util@^0.10.3: dependencies: inherits "2.0.3" +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + uuid@^3.3.2: version "3.4.0" resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== v8-compile-cache@^2.0.3: - version "2.1.0" - resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" - integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + version "2.3.0" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== v8-to-istanbul@^9.0.1: version "9.0.1" @@ -9736,6 +12757,13 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" +warning@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" + integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w== + dependencies: + loose-envify "^1.0.0" + wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -9802,6 +12830,13 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + word-wrap@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" @@ -9824,7 +12859,7 @@ wrap-ansi@^7.0.0: wrappy@1: version "1.0.2" resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== write-file-atomic@^2.4.2: version "2.4.3" @@ -9896,6 +12931,31 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^6.2.0: + version "6.2.2" + resolved "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" + integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== + dependencies: + async-limiter "~1.0.0" + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" From 79f3d9746854a0975a8848535a6d36449cd8636e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 18:23:24 -0700 Subject: [PATCH 005/262] landing --- templates/connect-multi-chain/config/features.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index bd13aaccb..fd69da32b 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -12,7 +12,7 @@ export const products: FeatureProps[] = [ href: 'https://github.com/osmosis-labs/telescope', }, { - title: '@CosmWasm/TS Codegen', + title: 'TS Codegen', text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', href: 'https://github.com/CosmWasm/ts-codegen', }, From 63813a9c27784cd09f19b68f59705c666aa826db Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 18:24:33 -0700 Subject: [PATCH 006/262] landing --- templates/connect-chain/config/features.ts | 2 +- templates/connect-multi-chain/config/features.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index fd69da32b..8772f3d94 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -2,7 +2,7 @@ import { FeatureProps } from "../components"; export const products: FeatureProps[] = [ { - title: 'Cosmos Kit', + title: 'CosmosKit', text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', href: 'https://github.com/cosmology-tech/cosmos-kit', }, diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index fd69da32b..8772f3d94 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -2,7 +2,7 @@ import { FeatureProps } from "../components"; export const products: FeatureProps[] = [ { - title: 'Cosmos Kit', + title: 'CosmosKit', text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', href: 'https://github.com/cosmology-tech/cosmos-kit', }, From d9be7b88637a7e6678bb3d27f907c9a3b0933875 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 18:26:18 -0700 Subject: [PATCH 007/262] landing --- templates/connect-chain/config/features.ts | 2 +- templates/connect-multi-chain/config/features.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 8772f3d94..3f51ef58b 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -28,7 +28,7 @@ export const products: FeatureProps[] = [ }, { title: 'Videos', - text: 'Learn more from the official website of @cosmology-tech.', + text: 'Learn more from the official website of Cosmology.', href: 'https://cosmology.tech/', } ] diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 8772f3d94..3f51ef58b 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -28,7 +28,7 @@ export const products: FeatureProps[] = [ }, { title: 'Videos', - text: 'Learn more from the official website of @cosmology-tech.', + text: 'Learn more from the official website of Cosmology.', href: 'https://cosmology.tech/', } ] From 16e46a1bbcb47c918cbab6199ea7d4e33a772b12 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 18:26:40 -0700 Subject: [PATCH 008/262] landing --- templates/connect-chain/config/features.ts | 2 +- templates/connect-multi-chain/config/features.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 3f51ef58b..dee2a1a31 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -28,7 +28,7 @@ export const products: FeatureProps[] = [ }, { title: 'Videos', - text: 'Learn more from the official website of Cosmology.', + text: 'Learn more from the official Cosmology website.', href: 'https://cosmology.tech/', } ] diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 3f51ef58b..dee2a1a31 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -28,7 +28,7 @@ export const products: FeatureProps[] = [ }, { title: 'Videos', - text: 'Learn more from the official website of Cosmology.', + text: 'Learn more from the official Cosmology website.', href: 'https://cosmology.tech/', } ] From 319eb66c56f699099bb9038982fa498fb0aaaa91 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 23 Aug 2022 19:28:32 -0700 Subject: [PATCH 009/262] cmd --- packages/create-cosmos-app/src/cmds.js | 11 ++- .../create-cosmos-app/src/git-cca-template.ts | 78 +++++++++++++++++++ .../{template.ts => git-question-template.ts} | 0 .../src/templates/cca-template.ts | 3 + .../src/templates/typescript-npm-module.ts | 2 +- templates/connect-chain/config/features.ts | 2 +- .../connect-multi-chain/.eslintrc copy.json | 3 - .../connect-multi-chain/config/features.ts | 2 +- .../connect-multi-chain/next.config copy.js | 7 -- 9 files changed, 91 insertions(+), 17 deletions(-) create mode 100644 packages/create-cosmos-app/src/git-cca-template.ts rename packages/create-cosmos-app/src/{template.ts => git-question-template.ts} (100%) create mode 100644 packages/create-cosmos-app/src/templates/cca-template.ts delete mode 100644 templates/connect-multi-chain/.eslintrc copy.json delete mode 100644 templates/connect-multi-chain/next.config copy.js diff --git a/packages/create-cosmos-app/src/cmds.js b/packages/create-cosmos-app/src/cmds.js index 2e85b2466..25961461f 100644 --- a/packages/create-cosmos-app/src/cmds.js +++ b/packages/create-cosmos-app/src/cmds.js @@ -1,7 +1,10 @@ + import _templates_cca_template from './templates/cca-template'; import _templates_typescript_npm_module from './templates/typescript-npm-module'; -const Templates = {}; + const Templates = {}; + Templates['cca-template'] = _templates_cca_template; Templates['typescript-npm-module'] = _templates_typescript_npm_module; - -export { Templates }; - + + export { Templates }; + + \ No newline at end of file diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts new file mode 100644 index 000000000..084819d14 --- /dev/null +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -0,0 +1,78 @@ +import * as shell from 'shelljs'; +import { prompt } from './prompt'; +import { join, dirname } from 'path'; +import { sync as mkdirp } from 'mkdirp'; +import { tmpdir } from 'os' +const dargs = require('dargs'); +const glob = require('glob').sync; +const fs = require('fs'); +const path = require('path'); + +export const createApp = (repo: string) => { + return async argv => { + const { name } = await prompt([ + { + name: 'name', + message: 'Enter your new module name', + required: true, + } + ], argv); + + if (!shell.which('git')) { + shell.echo('Sorry, this script requires git'); + return shell.exit(1); + } + + const tempname = Math.random().toString(36).slice(2, 7); + const dir = join(argv.tmpdir || tmpdir(), tempname); + mkdirp(dir); + const currentDirecotry = process.cwd(); + shell.cd(dir); + shell.exec(`git clone ${repo} ${name}`); + shell.cd(name); + const list = shell.ls('./templates'); + + const { template } = await prompt([ + { + type: 'list', + name: 'template', + message: 'which template', + required: true, + choices: list + } + ], argv); + + const files = [] + .concat(glob(join(process.cwd(), 'templates', template, '/**/.*'))) + .concat(glob(join(process.cwd(), 'templates', template, '/**/*'))); + + console.log(files); + for (let i = 0; i < files.length; i++) { + const templateFile = files[i]; + if (fs.lstatSync(templateFile).isDirectory()) continue; + + let content = fs.readFileSync(templateFile).toString(); + + const localfile = templateFile.split('templates/' + template)[1]; + const localdir = dirname(localfile); + const dirpath = join(currentDirecotry, localdir); + const filepath = join(currentDirecotry, localfile); + + console.log(filepath); + + mkdirp(dirpath); + fs.writeFileSync(templateFile, content); + + } + shell.cd(currentDirecotry); + shell.rm('-rf', dir); + console.log(` + + ||| + (o o) + ooO--(_)--Ooo- + + ✨ Great work! + `); + }; +}; diff --git a/packages/create-cosmos-app/src/template.ts b/packages/create-cosmos-app/src/git-question-template.ts similarity index 100% rename from packages/create-cosmos-app/src/template.ts rename to packages/create-cosmos-app/src/git-question-template.ts diff --git a/packages/create-cosmos-app/src/templates/cca-template.ts b/packages/create-cosmos-app/src/templates/cca-template.ts new file mode 100644 index 000000000..93cb57979 --- /dev/null +++ b/packages/create-cosmos-app/src/templates/cca-template.ts @@ -0,0 +1,3 @@ +import { createApp } from "../git-cca-template"; + +export default createApp('git@github.com:cosmology-tech/create-cosmos-app.git'); \ No newline at end of file diff --git a/packages/create-cosmos-app/src/templates/typescript-npm-module.ts b/packages/create-cosmos-app/src/templates/typescript-npm-module.ts index 0ab90b0f9..0e1dfc115 100644 --- a/packages/create-cosmos-app/src/templates/typescript-npm-module.ts +++ b/packages/create-cosmos-app/src/templates/typescript-npm-module.ts @@ -1,3 +1,3 @@ -import { createApp } from "../template"; +import { createApp } from "../git-question-template"; export default createApp('git@github.com:supercosmonauts/cca-ts-module.git'); \ No newline at end of file diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index dee2a1a31..0b085303d 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -18,7 +18,7 @@ export const products: FeatureProps[] = [ }, { title: 'Cosmology', - text: 'Build web3 applications on top of Osmosis and the Cosmos.', + text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', href: 'https://github.com/cosmology-tech/cosmology', }, { diff --git a/templates/connect-multi-chain/.eslintrc copy.json b/templates/connect-multi-chain/.eslintrc copy.json deleted file mode 100644 index bffb357a7..000000000 --- a/templates/connect-multi-chain/.eslintrc copy.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index dee2a1a31..0b085303d 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -18,7 +18,7 @@ export const products: FeatureProps[] = [ }, { title: 'Cosmology', - text: 'Build web3 applications on top of Osmosis and the Cosmos.', + text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', href: 'https://github.com/cosmology-tech/cosmology', }, { diff --git a/templates/connect-multi-chain/next.config copy.js b/templates/connect-multi-chain/next.config copy.js deleted file mode 100644 index ae887958d..000000000 --- a/templates/connect-multi-chain/next.config copy.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - reactStrictMode: true, - swcMinify: true, -} - -module.exports = nextConfig From 16a63ba3c3b3ab8b2017f7b3cb9d70ac4905596a Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Wed, 24 Aug 2022 15:02:38 +0800 Subject: [PATCH 010/262] replace userInfoCard --- .../components/wallet-connect.tsx | 23 +------------------ templates/connect-chain/pages/index.tsx | 14 +++++------ 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index c42f29396..d7b1ce54f 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -47,35 +47,14 @@ export const Disconnect = ({ }; export const Connected = ({ - userInfoCard, buttonText, onClick, }: { - userInfoCard: ReactNode; buttonText: string; onClick: MouseEventHandler; }) => { return ( - - {userInfoCard} - - + ); }; diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 1e17af8c7..41a274cc5 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -5,7 +5,6 @@ import { Divider, Grid, Heading, - SimpleGrid, Text, Stack, Container, @@ -63,11 +62,12 @@ export default function Home() { } connecting={} connected={ - + + + {userInfoCard} + + + } rejected={ + Create Cosmos App From 856c99b7f0e54d28e7512d00d9e0a8c7cb77efe9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 13:50:43 -0700 Subject: [PATCH 011/262] updates --- .../create-cosmos-app/scripts/build-cmds.js | 52 ------------------- packages/create-cosmos-app/src/cli.ts | 24 ++------- packages/create-cosmos-app/src/cmds.js | 10 ---- .../create-cosmos-app/src/git-cca-template.ts | 20 +++---- .../src/git-question-template.ts | 6 +-- .../src/templates/cca-template.ts | 3 -- .../src/templates/typescript-npm-module.ts | 3 -- templates/connect-chain/package.json | 1 + templates/connect-multi-chain/README copy.md | 34 ------------ templates/connect-multi-chain/package.json | 1 + yarn.lock | 2 +- 11 files changed, 19 insertions(+), 137 deletions(-) delete mode 100644 packages/create-cosmos-app/scripts/build-cmds.js delete mode 100644 packages/create-cosmos-app/src/cmds.js delete mode 100644 packages/create-cosmos-app/src/templates/cca-template.ts delete mode 100644 packages/create-cosmos-app/src/templates/typescript-npm-module.ts delete mode 100644 templates/connect-multi-chain/README copy.md diff --git a/packages/create-cosmos-app/scripts/build-cmds.js b/packages/create-cosmos-app/scripts/build-cmds.js deleted file mode 100644 index 05b0265b8..000000000 --- a/packages/create-cosmos-app/scripts/build-cmds.js +++ /dev/null @@ -1,52 +0,0 @@ -const fs = require('fs'); -const path = require('path'); -const glob = require('glob').sync; -const Case = require('case'); -const { pascal } = require('case'); - -const makeCommands = (folder) => { - const SuperName = pascal(folder); - const srcDir = path.resolve(`${__dirname}/../src/${folder}`); - - const cmds = path.resolve(`${__dirname}/../src/cmds.js`); - - const paths = glob(`${srcDir}/**.[j|t]s`).map((file) => { - const [, name] = file.match(/\/(.*)\.[j|t]s$/); - - let str = path - .relative(path.dirname(cmds), file) - .replace(/\.js$/, '') - .replace(/\.ts$/, ''); - if (!str.startsWith('.')) str = `./${str}`; - - return { - name: path.basename(name), - param: Case.kebab(path.basename(name)), - safe: Case.snake(folder + '_' + path.basename(name)), - path: str - }; - }); - - const imports = paths - .map((f) => { - return [`import _${f.safe} from '${f.path}';`]; - }) - .join('\n'); - - const out = ` - ${imports} - const ${SuperName} = {}; - ${paths - .map((a) => { - return `${SuperName}['${a.param}'] = _${a.safe};`; - }) - .join('\n')} - - export { ${SuperName} }; - - `; - - return out; -}; - -fs.writeFileSync(`${__dirname}/../src/cmds.js`, makeCommands('templates')); diff --git a/packages/create-cosmos-app/src/cli.ts b/packages/create-cosmos-app/src/cli.ts index 1ff86706b..f23e0d105 100644 --- a/packages/create-cosmos-app/src/cli.ts +++ b/packages/create-cosmos-app/src/cli.ts @@ -1,23 +1,5 @@ -import { prompt } from './prompt'; -import { Templates as templates } from './cmds'; - +import { createApp } from "./git-cca-template"; +const createCosmosApp = createApp('https://github.com/cosmology-tech/create-cosmos-app.git'); export const cli = async (argv) => { - const { cmd } = await prompt( - [ - { - _: true, - type: 'fuzzy', - name: 'cmd', - message: 'what do you want to create?', - choices: Object.keys(templates) - } - ], - argv - ); - if (typeof templates[cmd] === 'function') { - console.log(`calling ${cmd}`) - await templates[cmd](argv); - } else { - console.log('command not found.'); - } + await createCosmosApp(argv); }; diff --git a/packages/create-cosmos-app/src/cmds.js b/packages/create-cosmos-app/src/cmds.js deleted file mode 100644 index 25961461f..000000000 --- a/packages/create-cosmos-app/src/cmds.js +++ /dev/null @@ -1,10 +0,0 @@ - - import _templates_cca_template from './templates/cca-template'; -import _templates_typescript_npm_module from './templates/typescript-npm-module'; - const Templates = {}; - Templates['cca-template'] = _templates_cca_template; -Templates['typescript-npm-module'] = _templates_typescript_npm_module; - - export { Templates }; - - \ No newline at end of file diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 084819d14..145035692 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -46,7 +46,6 @@ export const createApp = (repo: string) => { .concat(glob(join(process.cwd(), 'templates', template, '/**/.*'))) .concat(glob(join(process.cwd(), 'templates', template, '/**/*'))); - console.log(files); for (let i = 0; i < files.length; i++) { const templateFile = files[i]; if (fs.lstatSync(templateFile).isDirectory()) continue; @@ -55,24 +54,25 @@ export const createApp = (repo: string) => { const localfile = templateFile.split('templates/' + template)[1]; const localdir = dirname(localfile); - const dirpath = join(currentDirecotry, localdir); - const filepath = join(currentDirecotry, localfile); - - console.log(filepath); + const dirpath = join(currentDirecotry, name, localdir); + const filepath = join(currentDirecotry, name, localfile); mkdirp(dirpath); - fs.writeFileSync(templateFile, content); + fs.writeFileSync(filepath, content); } shell.cd(currentDirecotry); shell.rm('-rf', dir); console.log(` + + | _ _ + === |.===. '\\-//\` + (o o) {}o o{} (o o) +ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- - ||| - (o o) - ooO--(_)--Ooo- +✨ Have fun! Now you can start on your project ⚛️ - ✨ Great work! +cd ./${name} && yarn && yarn dev `); }; }; diff --git a/packages/create-cosmos-app/src/git-question-template.ts b/packages/create-cosmos-app/src/git-question-template.ts index 82d2b0369..b501228df 100644 --- a/packages/create-cosmos-app/src/git-question-template.ts +++ b/packages/create-cosmos-app/src/git-question-template.ts @@ -129,9 +129,9 @@ export const createApp = (repo: string) => { shell.rm('-rf', '.questions.json'); console.log(` - - ||| - (o o) + + ||| + (o o) ooO--(_)--Ooo- ✨ Great work! diff --git a/packages/create-cosmos-app/src/templates/cca-template.ts b/packages/create-cosmos-app/src/templates/cca-template.ts deleted file mode 100644 index 93cb57979..000000000 --- a/packages/create-cosmos-app/src/templates/cca-template.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { createApp } from "../git-cca-template"; - -export default createApp('git@github.com:cosmology-tech/create-cosmos-app.git'); \ No newline at end of file diff --git a/packages/create-cosmos-app/src/templates/typescript-npm-module.ts b/packages/create-cosmos-app/src/templates/typescript-npm-module.ts deleted file mode 100644 index 0e1dfc115..000000000 --- a/packages/create-cosmos-app/src/templates/typescript-npm-module.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { createApp } from "../git-question-template"; - -export default createApp('git@github.com:supercosmonauts/cca-ts-module.git'); \ No newline at end of file diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index e131cc3d0..c7b26e2d3 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -15,6 +15,7 @@ "@cosmjs/stargate": "0.28.13", "@cosmos-kit/react": "^0.11.0", "@cosmos-kit/types": "^0.11.0", + "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", "framer-motion": "7.2.1", "next": "12.2.5", diff --git a/templates/connect-multi-chain/README copy.md b/templates/connect-multi-chain/README copy.md deleted file mode 100644 index c87e0421d..000000000 --- a/templates/connect-multi-chain/README copy.md +++ /dev/null @@ -1,34 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 8f3209287..fb41d101a 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -15,6 +15,7 @@ "@cosmjs/stargate": "0.28.13", "@cosmos-kit/react": "^0.11.0", "@cosmos-kit/types": "^0.11.0", + "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", "chain-registry": "^0.8.1", "chakra-react-select": "^4.1.4", diff --git a/yarn.lock b/yarn.lock index 8602c7b18..4edc94c9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3112,7 +3112,7 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@^11.8.1": +"@emotion/react@11.10.0", "@emotion/react@^11.8.1": version "11.10.0" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz#53c577f063f26493f68a05188fb87528d912ff2e" integrity sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ== From e723cd3a00b167f92d093d7b310759b57632e63c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 13:50:52 -0700 Subject: [PATCH 012/262] chore(release): publish - create-cosmos-app@0.0.7 - @cosmos-app/connect-chain@0.1.1 - @cosmos-app/connect-multi-chain@0.1.1 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 templates/connect-chain/CHANGELOG.md create mode 100644 templates/connect-multi-chain/CHANGELOG.md diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index ded2ffd65..4639ea93b 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.6...create-cosmos-app@0.0.7) (2022-08-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.5...create-cosmos-app@0.0.6) (2022-08-18) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 3c2907de3..7e1233d13 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.6", + "version": "0.0.7", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md new file mode 100644 index 000000000..c0fd9e096 --- /dev/null +++ b/templates/connect-chain/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index c7b26e2d3..f9309acb2 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmos-app/connect-chain", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md new file mode 100644 index 000000000..ca2fc3794 --- /dev/null +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index fb41d101a..6d167ad65 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmos-app/connect-multi-chain", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "dev": "next dev", From 6f1088b5295a72cdc6c1ca7360e7b58699a60b28 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:01:07 -0700 Subject: [PATCH 013/262] readme --- README.md | 53 +++++++++++++++++++++++++++- packages/create-cosmos-app/README.md | 53 +++++++++++++++++++++++++++- 2 files changed, 104 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 802b05358..a99ee154c 100644 --- a/README.md +++ b/README.md @@ -1 +1,52 @@ -# create-cosmos-app \ No newline at end of file +# create-cosmos-app + +Set up a modern Cosmos app by running one command + +## Overview + +``` +npx create-cosmos-app my-app +cd my-app +yarn && yarn dev +``` + +Or you can install in globally + +``` +npm install -g create-cosmos-app +``` +### Get Started Immediately + +You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel.
+They are preconfigured so that you can focus on the code. + +Create a project, and you’re good to go. +## Creating an App + +To create a new app, you may choose one of the following methods: +### npx + +```sh +npx create-cosmos-app my-app +``` + +_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_ + +### npm + +```sh +npm init cosmos-app my-app +``` + +_`npm init ` is available in npm 6+_ + +### Yarn + +```sh +yarn create cosmos-app my-app +``` + +_[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ + +It will create a directory called `my-app` inside the current folder.
+Inside that directory, it will generate the initial project structure and install the transitive dependencies: diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 802b05358..a99ee154c 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -1 +1,52 @@ -# create-cosmos-app \ No newline at end of file +# create-cosmos-app + +Set up a modern Cosmos app by running one command + +## Overview + +``` +npx create-cosmos-app my-app +cd my-app +yarn && yarn dev +``` + +Or you can install in globally + +``` +npm install -g create-cosmos-app +``` +### Get Started Immediately + +You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel.
+They are preconfigured so that you can focus on the code. + +Create a project, and you’re good to go. +## Creating an App + +To create a new app, you may choose one of the following methods: +### npx + +```sh +npx create-cosmos-app my-app +``` + +_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_ + +### npm + +```sh +npm init cosmos-app my-app +``` + +_`npm init ` is available in npm 6+_ + +### Yarn + +```sh +yarn create cosmos-app my-app +``` + +_[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ + +It will create a directory called `my-app` inside the current folder.
+Inside that directory, it will generate the initial project structure and install the transitive dependencies: From d2dfe74fd53a11e1a8f3cce7edd9091d5d28f7ec Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:01:14 -0700 Subject: [PATCH 014/262] chore(release): publish - create-cosmos-app@0.0.8 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 4639ea93b..edc90bb40 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.8](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.7...create-cosmos-app@0.0.8) (2022-08-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.6...create-cosmos-app@0.0.7) (2022-08-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 7e1233d13..8a9837f9d 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.7", + "version": "0.0.8", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From f6ad6c97e71553f2a32ead7f3b4c556d91072c8a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:02:26 -0700 Subject: [PATCH 015/262] readme --- README.md | 1 - packages/create-cosmos-app/README.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index a99ee154c..fcb34ee58 100644 --- a/README.md +++ b/README.md @@ -49,4 +49,3 @@ yarn create cosmos-app my-app _[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ It will create a directory called `my-app` inside the current folder.
-Inside that directory, it will generate the initial project structure and install the transitive dependencies: diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index a99ee154c..fcb34ee58 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -49,4 +49,3 @@ yarn create cosmos-app my-app _[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ It will create a directory called `my-app` inside the current folder.
-Inside that directory, it will generate the initial project structure and install the transitive dependencies: From c9e6a396155c97c212ff3c1956d6fc58b3a1f29f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:02:32 -0700 Subject: [PATCH 016/262] chore(release): publish - create-cosmos-app@0.0.9 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index edc90bb40..1aaa7687f 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.9](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.8...create-cosmos-app@0.0.9) (2022-08-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.8](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.7...create-cosmos-app@0.0.8) (2022-08-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 8a9837f9d..9346aa259 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.8", + "version": "0.0.9", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From b7611d27a8e17b48fbb41d83586c29f4d5fc40dc Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:04:45 -0700 Subject: [PATCH 017/262] readme --- README.md | 10 +++++++++- packages/create-cosmos-app/README.md | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcb34ee58..3d8bf4982 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ # create-cosmos-app -Set up a modern Cosmos app by running one command +

+ +

+ +

+ + +

+Set up a modern Cosmos app by running one command ## Overview ``` diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index fcb34ee58..3d8bf4982 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -1,7 +1,15 @@ # create-cosmos-app -Set up a modern Cosmos app by running one command +

+ +

+ +

+ + +

+Set up a modern Cosmos app by running one command ## Overview ``` From f0b80d680a444a695364c9854b531de741a8f2a9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 14:04:55 -0700 Subject: [PATCH 018/262] chore(release): publish - create-cosmos-app@0.0.10 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 1aaa7687f..1f706557e 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.10](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.9...create-cosmos-app@0.0.10) (2022-08-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.9](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.8...create-cosmos-app@0.0.9) (2022-08-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 9346aa259..bd292a1ae 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.9", + "version": "0.0.10", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 596100fac52b3913df1906de8c138f3ba539088f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:41:54 -0700 Subject: [PATCH 019/262] lint --- .../telescope-with-contracts/.eslintrc.json | 3 + examples/telescope-with-contracts/.gitignore | 36 ++ examples/telescope-with-contracts/README.md | 34 + .../codegen/JunoSwap.client.ts | 294 +++++++++ .../codegen/JunoSwap.types.ts | 125 ++++ .../codegen/contracts.ts | 13 + .../codegen/google/bundle.ts | 17 + .../codegen/google/protobuf/any.ts | 188 ++++++ .../codegen/google/protobuf/duration.ts | 150 +++++ .../codegen/google/protobuf/empty.ts | 57 ++ .../codegen/google/protobuf/field_mask.ts | 270 ++++++++ .../codegen/google/protobuf/struct.ts | 428 +++++++++++++ .../codegen/google/protobuf/timestamp.ts | 172 +++++ .../codegen/google/protobuf/wrappers.ts | 605 ++++++++++++++++++ .../telescope-with-contracts/codegen/index.ts | 8 + .../components/astronaut.tsx | 304 +++++++++ .../components/features.tsx | 45 ++ .../components/index.tsx | 5 + .../components/types.tsx | 38 ++ .../components/user-info.tsx | 54 ++ .../components/wallet-connect.tsx | 121 ++++ .../config/features.ts | 47 ++ .../telescope-with-contracts/config/index.ts | 2 + .../telescope-with-contracts/config/theme.ts | 65 ++ .../contracts/wasmswap/LICENSE | 202 ++++++ .../contracts/wasmswap/README.md | 1 + .../contracts/wasmswap/package.json | 21 + .../wasmswap/schema/balance_response.json | 19 + .../wasmswap/schema/execute_msg.json | 313 +++++++++ .../wasmswap/schema/info_response.json | 47 ++ .../wasmswap/schema/instantiate_msg.json | 43 ++ .../contracts/wasmswap/schema/query_msg.json | 85 +++ .../contracts/wasmswap/schema/token.json | 37 ++ .../token1_for_token2_price_response.json | 19 + .../token2_for_token1_price_response.json | 19 + .../telescope-with-contracts/next.config.js | 7 + .../telescope-with-contracts/package.json | 39 ++ .../telescope-with-contracts/pages/_app.tsx | 42 ++ .../pages/api/hello.ts | 13 + .../telescope-with-contracts/pages/index.tsx | 149 +++++ .../public/favicon.ico | Bin 0 -> 25531 bytes .../scripts/codegen.js | 78 +++ .../styles/Home.module.css | 25 + .../styles/globals.css | 26 + .../telescope-with-contracts/tsconfig.json | 20 + examples/telescope-with-contracts/utils.ts | 24 + lerna.json | 1 + package.json | 3 +- .../connect-chain/components/astronaut.tsx | 538 ++++++++-------- .../connect-chain/components/features.tsx | 64 +- templates/connect-chain/components/index.tsx | 2 +- templates/connect-chain/components/types.tsx | 16 +- .../connect-chain/components/user-info.tsx | 21 +- .../components/wallet-connect.tsx | 26 +- templates/connect-chain/config/features.ts | 86 +-- templates/connect-chain/config/index.ts | 2 +- templates/connect-chain/config/theme.ts | 120 ++-- templates/connect-chain/package.json | 4 +- templates/connect-chain/pages/_app.tsx | 22 +- templates/connect-chain/pages/api/hello.ts | 8 +- templates/connect-chain/pages/index.tsx | 50 +- .../connect-multi-chain/config/chain-infos.ts | 28 +- .../connect-multi-chain/config/features.ts | 86 +-- templates/connect-multi-chain/config/index.ts | 2 +- templates/connect-multi-chain/config/theme.ts | 120 ++-- templates/connect-multi-chain/package.json | 4 +- templates/connect-multi-chain/pages/_app.tsx | 22 +- .../connect-multi-chain/pages/api/hello.ts | 8 +- templates/connect-multi-chain/pages/index.tsx | 95 +-- yarn.lock | 586 +++++++++++++++-- 70 files changed, 5523 insertions(+), 701 deletions(-) create mode 100644 examples/telescope-with-contracts/.eslintrc.json create mode 100644 examples/telescope-with-contracts/.gitignore create mode 100644 examples/telescope-with-contracts/README.md create mode 100644 examples/telescope-with-contracts/codegen/JunoSwap.client.ts create mode 100644 examples/telescope-with-contracts/codegen/JunoSwap.types.ts create mode 100644 examples/telescope-with-contracts/codegen/contracts.ts create mode 100644 examples/telescope-with-contracts/codegen/google/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/any.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/duration.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/empty.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/struct.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts create mode 100644 examples/telescope-with-contracts/codegen/index.ts create mode 100644 examples/telescope-with-contracts/components/astronaut.tsx create mode 100644 examples/telescope-with-contracts/components/features.tsx create mode 100644 examples/telescope-with-contracts/components/index.tsx create mode 100644 examples/telescope-with-contracts/components/types.tsx create mode 100644 examples/telescope-with-contracts/components/user-info.tsx create mode 100644 examples/telescope-with-contracts/components/wallet-connect.tsx create mode 100644 examples/telescope-with-contracts/config/features.ts create mode 100644 examples/telescope-with-contracts/config/index.ts create mode 100644 examples/telescope-with-contracts/config/theme.ts create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/LICENSE create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/README.md create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/package.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/token.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json create mode 100644 examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json create mode 100644 examples/telescope-with-contracts/next.config.js create mode 100644 examples/telescope-with-contracts/package.json create mode 100644 examples/telescope-with-contracts/pages/_app.tsx create mode 100644 examples/telescope-with-contracts/pages/api/hello.ts create mode 100644 examples/telescope-with-contracts/pages/index.tsx create mode 100644 examples/telescope-with-contracts/public/favicon.ico create mode 100644 examples/telescope-with-contracts/scripts/codegen.js create mode 100644 examples/telescope-with-contracts/styles/Home.module.css create mode 100644 examples/telescope-with-contracts/styles/globals.css create mode 100644 examples/telescope-with-contracts/tsconfig.json create mode 100644 examples/telescope-with-contracts/utils.ts diff --git a/examples/telescope-with-contracts/.eslintrc.json b/examples/telescope-with-contracts/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/telescope-with-contracts/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/telescope-with-contracts/.gitignore b/examples/telescope-with-contracts/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/telescope-with-contracts/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/telescope-with-contracts/README.md b/examples/telescope-with-contracts/README.md new file mode 100644 index 000000000..c87e0421d --- /dev/null +++ b/examples/telescope-with-contracts/README.md @@ -0,0 +1,34 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/examples/telescope-with-contracts/codegen/JunoSwap.client.ts b/examples/telescope-with-contracts/codegen/JunoSwap.client.ts new file mode 100644 index 000000000..188eb28d3 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/JunoSwap.client.ts @@ -0,0 +1,294 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; +import { Coin, StdFee } from "@cosmjs/amino"; +import { Uint128, BalanceResponse, ExecuteMsg, Expiration, Timestamp, Uint64, TokenSelect, Addr, InfoResponse, InstantiateMsg, QueryMsg, Token, Token1ForToken2PriceResponse, Token2ForToken1PriceResponse } from "./JunoSwap.types"; +export interface JunoSwapReadOnlyInterface { + contractAddress: string; + balance: ({ + address + }: { + address: string; + }) => Promise; + info: () => Promise; + token1ForToken2Price: ({ + token1Amount + }: { + token1Amount: Uint128; + }) => Promise; + token2ForToken1Price: ({ + token2Amount + }: { + token2Amount: Uint128; + }) => Promise; +} +export class JunoSwapQueryClient implements JunoSwapReadOnlyInterface { + client: CosmWasmClient; + contractAddress: string; + + constructor(client: CosmWasmClient, contractAddress: string) { + this.client = client; + this.contractAddress = contractAddress; + this.balance = this.balance.bind(this); + this.info = this.info.bind(this); + this.token1ForToken2Price = this.token1ForToken2Price.bind(this); + this.token2ForToken1Price = this.token2ForToken1Price.bind(this); + } + + balance = async ({ + address + }: { + address: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + balance: { + address + } + }); + }; + info = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + info: {} + }); + }; + token1ForToken2Price = async ({ + token1Amount + }: { + token1Amount: Uint128; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token1_for_token2_price: { + token1_amount: token1Amount + } + }); + }; + token2ForToken1Price = async ({ + token2Amount + }: { + token2Amount: Uint128; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token2_for_token1_price: { + token2_amount: token2Amount + } + }); + }; +} +export interface JunoSwapInterface extends JunoSwapReadOnlyInterface { + contractAddress: string; + sender: string; + addLiquidity: ({ + expiration, + maxToken2, + minLiquidity, + token1Amount + }: { + expiration?: Expiration; + maxToken2: Uint128; + minLiquidity: Uint128; + token1Amount: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + removeLiquidity: ({ + amount, + expiration, + minToken1, + minToken2 + }: { + amount: Uint128; + expiration?: Expiration; + minToken1: Uint128; + minToken2: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + swapToken1ForToken2: ({ + expiration, + minToken2, + token1Amount + }: { + expiration?: Expiration; + minToken2: Uint128; + token1Amount: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + swapToken2ForToken1: ({ + expiration, + minToken1, + token2Amount + }: { + expiration?: Expiration; + minToken1: Uint128; + token2Amount: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + multiContractSwap: ({ + expiration, + inputToken, + inputTokenAmount, + outputAmmAddress, + outputMinToken, + outputToken + }: { + expiration?: Expiration; + inputToken: TokenSelect; + inputTokenAmount: Uint128; + outputAmmAddress: Addr; + outputMinToken: Uint128; + outputToken: TokenSelect; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + swapTo: ({ + expiration, + inputAmount, + inputToken, + minToken, + recipient + }: { + expiration?: Expiration; + inputAmount: Uint128; + inputToken: TokenSelect; + minToken: Uint128; + recipient: Addr; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; +} +export class JunoSwapClient extends JunoSwapQueryClient implements JunoSwapInterface { + client: SigningCosmWasmClient; + sender: string; + contractAddress: string; + + constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { + super(client, contractAddress); + this.client = client; + this.sender = sender; + this.contractAddress = contractAddress; + this.addLiquidity = this.addLiquidity.bind(this); + this.removeLiquidity = this.removeLiquidity.bind(this); + this.swapToken1ForToken2 = this.swapToken1ForToken2.bind(this); + this.swapToken2ForToken1 = this.swapToken2ForToken1.bind(this); + this.multiContractSwap = this.multiContractSwap.bind(this); + this.swapTo = this.swapTo.bind(this); + } + + addLiquidity = async ({ + expiration, + maxToken2, + minLiquidity, + token1Amount + }: { + expiration?: Expiration; + maxToken2: Uint128; + minLiquidity: Uint128; + token1Amount: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + add_liquidity: { + expiration, + max_token2: maxToken2, + min_liquidity: minLiquidity, + token1_amount: token1Amount + } + }, fee, memo, funds); + }; + removeLiquidity = async ({ + amount, + expiration, + minToken1, + minToken2 + }: { + amount: Uint128; + expiration?: Expiration; + minToken1: Uint128; + minToken2: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + remove_liquidity: { + amount, + expiration, + min_token1: minToken1, + min_token2: minToken2 + } + }, fee, memo, funds); + }; + swapToken1ForToken2 = async ({ + expiration, + minToken2, + token1Amount + }: { + expiration?: Expiration; + minToken2: Uint128; + token1Amount: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + swap_token1_for_token2: { + expiration, + min_token2: minToken2, + token1_amount: token1Amount + } + }, fee, memo, funds); + }; + swapToken2ForToken1 = async ({ + expiration, + minToken1, + token2Amount + }: { + expiration?: Expiration; + minToken1: Uint128; + token2Amount: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + swap_token2_for_token1: { + expiration, + min_token1: minToken1, + token2_amount: token2Amount + } + }, fee, memo, funds); + }; + multiContractSwap = async ({ + expiration, + inputToken, + inputTokenAmount, + outputAmmAddress, + outputMinToken, + outputToken + }: { + expiration?: Expiration; + inputToken: TokenSelect; + inputTokenAmount: Uint128; + outputAmmAddress: Addr; + outputMinToken: Uint128; + outputToken: TokenSelect; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + multi_contract_swap: { + expiration, + input_token: inputToken, + input_token_amount: inputTokenAmount, + output_amm_address: outputAmmAddress, + output_min_token: outputMinToken, + output_token: outputToken + } + }, fee, memo, funds); + }; + swapTo = async ({ + expiration, + inputAmount, + inputToken, + minToken, + recipient + }: { + expiration?: Expiration; + inputAmount: Uint128; + inputToken: TokenSelect; + minToken: Uint128; + recipient: Addr; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + swap_to: { + expiration, + input_amount: inputAmount, + input_token: inputToken, + min_token: minToken, + recipient + } + }, fee, memo, funds); + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/JunoSwap.types.ts b/examples/telescope-with-contracts/codegen/JunoSwap.types.ts new file mode 100644 index 000000000..c5dae2f44 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/JunoSwap.types.ts @@ -0,0 +1,125 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +export type Uint128 = string; +export interface BalanceResponse { + balance: Uint128; + [k: string]: unknown; +} +export type ExecuteMsg = { + add_liquidity: { + expiration?: Expiration | null; + max_token2: Uint128; + min_liquidity: Uint128; + token1_amount: Uint128; + [k: string]: unknown; + }; +} | { + remove_liquidity: { + amount: Uint128; + expiration?: Expiration | null; + min_token1: Uint128; + min_token2: Uint128; + [k: string]: unknown; + }; +} | { + swap_token1_for_token2: { + expiration?: Expiration | null; + min_token2: Uint128; + token1_amount: Uint128; + [k: string]: unknown; + }; +} | { + swap_token2_for_token1: { + expiration?: Expiration | null; + min_token1: Uint128; + token2_amount: Uint128; + [k: string]: unknown; + }; +} | { + multi_contract_swap: { + expiration?: Expiration | null; + input_token: TokenSelect; + input_token_amount: Uint128; + output_amm_address: Addr; + output_min_token: Uint128; + output_token: TokenSelect; + [k: string]: unknown; + }; +} | { + swap_to: { + expiration?: Expiration | null; + input_amount: Uint128; + input_token: TokenSelect; + min_token: Uint128; + recipient: Addr; + [k: string]: unknown; + }; +}; +export type Expiration = { + at_height: number; +} | { + at_time: Timestamp; +} | { + never: { + [k: string]: unknown; + }; +}; +export type Timestamp = Uint64; +export type Uint64 = string; +export type TokenSelect = "Token1" | "Token2"; +export type Addr = string; +export interface InfoResponse { + lp_token_supply: Uint128; + token1_address?: string | null; + token1_denom: string; + token1_reserve: Uint128; + token2_address?: string | null; + token2_denom: string; + token2_reserve: Uint128; + [k: string]: unknown; +} +export interface InstantiateMsg { + token1_address?: Addr | null; + token1_denom: string; + token2_address?: Addr | null; + token2_denom: string; + [k: string]: unknown; +} +export type QueryMsg = { + balance: { + address: string; + [k: string]: unknown; + }; +} | { + info: { + [k: string]: unknown; + }; +} | { + token1_for_token2_price: { + token1_amount: Uint128; + [k: string]: unknown; + }; +} | { + token2_for_token1_price: { + token2_amount: Uint128; + [k: string]: unknown; + }; +}; +export interface Token { + address?: Addr | null; + denom: string; + reserve: Uint128; + [k: string]: unknown; +} +export interface Token1ForToken2PriceResponse { + token2_amount: Uint128; + [k: string]: unknown; +} +export interface Token2ForToken1PriceResponse { + token1_amount: Uint128; + [k: string]: unknown; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/contracts.ts b/examples/telescope-with-contracts/codegen/contracts.ts new file mode 100644 index 000000000..205908413 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/contracts.ts @@ -0,0 +1,13 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import * as _0 from "./JunoSwap.types"; +import * as _1 from "./JunoSwap.client"; +export namespace contracts { + export const JunoSwap = { ..._0, + ..._1 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/bundle.ts b/examples/telescope-with-contracts/codegen/google/bundle.ts new file mode 100644 index 000000000..a84164676 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/bundle.ts @@ -0,0 +1,17 @@ +import * as _0 from "./protobuf/any"; +import * as _1 from "./protobuf/duration"; +import * as _2 from "./protobuf/timestamp"; +import * as _3 from "./protobuf/empty"; +import * as _4 from "./protobuf/struct"; +import * as _5 from "./protobuf/wrappers"; +import * as _6 from "./protobuf/field_mask"; +export namespace google { + export const protobuf = { ..._0, + ..._1, + ..._2, + ..._3, + ..._4, + ..._5, + ..._6 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/any.ts b/examples/telescope-with-contracts/codegen/google/protobuf/any.ts new file mode 100644 index 000000000..897c0029e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/any.ts @@ -0,0 +1,188 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * `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 { + /** + * 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; +} + +function createBaseAny(): Any { + return { + typeUrl: "", + value: new Uint8Array() + }; +} + +export const Any = { + encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.typeUrl !== "") { + writer.uint32(10).string(message.typeUrl); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Any { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAny(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.typeUrl = reader.string(); + break; + + case 2: + message.value = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/duration.ts b/examples/telescope-with-contracts/codegen/google/protobuf/duration.ts new file mode 100644 index 000000000..4438b0c5f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/duration.ts @@ -0,0 +1,150 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +function createBaseDuration(): Duration { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Duration = { + encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Duration { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuration(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Duration { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; + }, + + toJSON(message: Duration): unknown { + const obj: any = {}; + message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/empty.ts b/examples/telescope-with-contracts/codegen/google/protobuf/empty.ts new file mode 100644 index 000000000..19603f65e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/empty.ts @@ -0,0 +1,57 @@ +import * as _m0 from "protobufjs/minimal"; + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ +export interface Empty {} + +function createBaseEmpty(): Empty { + return {}; +} + +export const Empty = { + encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Empty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEmpty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): Empty { + return {}; + }, + + toJSON(_: Empty): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): Empty { + const message = createBaseEmpty(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts b/examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts new file mode 100644 index 000000000..dd95f4984 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts @@ -0,0 +1,270 @@ +import * as _m0 from "protobufjs/minimal"; + +/** + * `FieldMask` represents a set of symbolic field paths, for example: + * + * paths: "f.a" + * paths: "f.b.d" + * + * Here `f` represents a field in some root message, `a` and `b` + * fields in the message found in `f`, and `d` a field found in the + * message in `f.b`. + * + * Field masks are used to specify a subset of fields that should be + * returned by a get operation or modified by an update operation. + * Field masks also have a custom JSON encoding (see below). + * + * # Field Masks in Projections + * + * When used in the context of a projection, a response message or + * sub-message is filtered by the API to only contain those fields as + * specified in the mask. For example, if the mask in the previous + * example is applied to a response message as follows: + * + * f { + * a : 22 + * b { + * d : 1 + * x : 2 + * } + * y : 13 + * } + * z: 8 + * + * The result will not contain specific values for fields x,y and z + * (their value will be set to the default, and omitted in proto text + * output): + * + * + * f { + * a : 22 + * b { + * d : 1 + * } + * } + * + * A repeated field is not allowed except at the last position of a + * paths string. + * + * If a FieldMask object is not present in a get operation, the + * operation applies to all fields (as if a FieldMask of all fields + * had been specified). + * + * Note that a field mask does not necessarily apply to the + * top-level response message. In case of a REST get operation, the + * field mask applies directly to the response, but in case of a REST + * list operation, the mask instead applies to each individual message + * in the returned resource list. In case of a REST custom method, + * other definitions may be used. Where the mask applies will be + * clearly documented together with its declaration in the API. In + * any case, the effect on the returned resource/resources is required + * behavior for APIs. + * + * # Field Masks in Update Operations + * + * A field mask in update operations specifies which fields of the + * targeted resource are going to be updated. The API is required + * to only change the values of the fields as specified in the mask + * and leave the others untouched. If a resource is passed in to + * describe the updated values, the API ignores the values of all + * fields not covered by the mask. + * + * If a repeated field is specified for an update operation, new values will + * be appended to the existing repeated field in the target resource. Note that + * a repeated field is only allowed in the last position of a `paths` string. + * + * If a sub-message is specified in the last position of the field mask for an + * update operation, then new value will be merged into the existing sub-message + * in the target resource. + * + * For example, given the target message: + * + * f { + * b { + * d: 1 + * x: 2 + * } + * c: [1] + * } + * + * And an update message: + * + * f { + * b { + * d: 10 + * } + * c: [2] + * } + * + * then if the field mask is: + * + * paths: ["f.b", "f.c"] + * + * then the result will be: + * + * f { + * b { + * d: 10 + * x: 2 + * } + * c: [1, 2] + * } + * + * An implementation may provide options to override this default behavior for + * repeated and message fields. + * + * In order to reset a field's value to the default, the field must + * be in the mask and set to the default value in the provided resource. + * Hence, in order to reset all fields of a resource, provide a default + * instance of the resource and set all fields in the mask, or do + * not provide a mask as described below. + * + * If a field mask is not present on update, the operation applies to + * all fields (as if a field mask of all fields has been specified). + * Note that in the presence of schema evolution, this may mean that + * fields the client does not know and has therefore not filled into + * the request will be reset to their default. If this is unwanted + * behavior, a specific service may require a client to always specify + * a field mask, producing an error if not. + * + * As with get operations, the location of the resource which + * describes the updated values in the request message depends on the + * operation kind. In any case, the effect of the field mask is + * required to be honored by the API. + * + * ## Considerations for HTTP REST + * + * The HTTP kind of an update operation which uses a field mask must + * be set to PATCH instead of PUT in order to satisfy HTTP semantics + * (PUT must only be used for full updates). + * + * # JSON Encoding of Field Masks + * + * In JSON, a field mask is encoded as a single string where paths are + * separated by a comma. Fields name in each path are converted + * to/from lower-camel naming conventions. + * + * As an example, consider the following message declarations: + * + * message Profile { + * User user = 1; + * Photo photo = 2; + * } + * message User { + * string display_name = 1; + * string address = 2; + * } + * + * In proto a field mask for `Profile` may look as such: + * + * mask { + * paths: "user.display_name" + * paths: "photo" + * } + * + * In JSON, the same mask is represented as below: + * + * { + * mask: "user.displayName,photo" + * } + * + * # Field Masks and Oneof Fields + * + * Field masks treat fields in oneofs just as regular fields. Consider the + * following message: + * + * message SampleMessage { + * oneof test_oneof { + * string name = 4; + * SubMessage sub_message = 9; + * } + * } + * + * The field mask can be: + * + * mask { + * paths: "name" + * } + * + * Or: + * + * mask { + * paths: "sub_message" + * } + * + * Note that oneof type names ("test_oneof" in this case) cannot be used in + * paths. + * + * ## Field Mask Verification + * + * The implementation of any API method which has a FieldMask type field in the + * request should verify the included field paths, and return an + * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + */ +export interface FieldMask { + /** The set of field mask paths. */ + paths: string[]; +} + +function createBaseFieldMask(): FieldMask { + return { + paths: [] + }; +} + +export const FieldMask = { + encode(message: FieldMask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.paths) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldMask { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldMask(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FieldMask { + return { + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: FieldMask): unknown { + const obj: any = {}; + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): FieldMask { + const message = createBaseFieldMask(); + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/struct.ts b/examples/telescope-with-contracts/codegen/google/protobuf/struct.ts new file mode 100644 index 000000000..a77781660 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/struct.ts @@ -0,0 +1,428 @@ +//@ts-nocheck +import * as _m0 from "protobufjs/minimal"; +import { isSet, isObject } from "@osmonauts/helpers"; + +/** + * `NullValue` is a singleton enumeration to represent the null value for the + * `Value` type union. + * + * The JSON representation for `NullValue` is JSON `null`. + */ +export enum NullValue { + /** NULL_VALUE - Null value. */ + NULL_VALUE = 0, + UNRECOGNIZED = -1, +} +export function nullValueFromJSON(object: any): NullValue { + switch (object) { + case 0: + case "NULL_VALUE": + return NullValue.NULL_VALUE; + + case -1: + case "UNRECOGNIZED": + default: + return NullValue.UNRECOGNIZED; + } +} +export function nullValueToJSON(object: NullValue): string { + switch (object) { + case NullValue.NULL_VALUE: + return "NULL_VALUE"; + + default: + return "UNKNOWN"; + } +} +export interface Struct_FieldsEntry { + key: string; + value: Value | undefined; +} + +/** + * `Struct` represents a structured data value, consisting of fields + * which map to dynamically typed values. In some languages, `Struct` + * might be supported by a native representation. For example, in + * scripting languages like JS a struct is represented as an + * object. The details of that representation are described together + * with the proto support for the language. + * + * The JSON representation for `Struct` is JSON object. + */ +export interface Struct { + /** Unordered map of dynamically typed values. */ + fields: { + [key: string]: Value | undefined; + }; +} + +/** + * `Value` represents a dynamically typed value which can be either + * null, a number, a string, a boolean, a recursive struct value, or a + * list of values. A producer of value is expected to set one of that + * variants, absence of any variant indicates an error. + * + * The JSON representation for `Value` is JSON value. + */ +export interface Value { + /** Represents a null value. */ + nullValue?: NullValue; + + /** Represents a double value. */ + numberValue?: number; + + /** Represents a string value. */ + stringValue?: string; + + /** Represents a boolean value. */ + boolValue?: boolean; + + /** Represents a structured value. */ + structValue?: Struct | undefined; + + /** Represents a repeated `Value`. */ + listValue?: ListValue | undefined; +} + +/** + * `ListValue` is a wrapper around a repeated field of values. + * + * The JSON representation for `ListValue` is JSON array. + */ +export interface ListValue { + /** Repeated field of dynamically typed values. */ + values: Value[]; +} + +function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { + return { + key: "", + value: undefined + }; +} + +export const Struct_FieldsEntry = { + encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== undefined) { + Value.encode(message.value, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStruct_FieldsEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = Value.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Struct_FieldsEntry { + return { + key: isSet(object.key) ? String(object.key) : "", + value: isSet(object.value) ? Value.fromJSON(object.value) : undefined + }; + }, + + toJSON(message: Struct_FieldsEntry): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = message.key); + message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); + return obj; + }, + + fromPartial(object: Partial): Struct_FieldsEntry { + const message = createBaseStruct_FieldsEntry(); + message.key = object.key ?? ""; + message.value = object.value !== undefined && object.value !== null ? Value.fromPartial(object.value) : undefined; + return message; + } + +}; + +function createBaseStruct(): Struct { + return { + fields: {} + }; +} + +export const Struct = { + encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + Object.entries(message.fields).forEach(([key, value]) => { + Struct_FieldsEntry.encode({ + key: (key as any), + value + }, writer.uint32(10).fork()).ldelim(); + }); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Struct { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStruct(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32()); + + if (entry1.value !== undefined) { + message.fields[entry1.key] = entry1.value; + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Struct { + return { + fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ + [key: string]: Value; + }>((acc, [key, value]) => { + acc[key] = Value.fromJSON(value); + return acc; + }, {}) : {} + }; + }, + + toJSON(message: Struct): unknown { + const obj: any = {}; + obj.fields = {}; + + if (message.fields) { + Object.entries(message.fields).forEach(([k, v]) => { + obj.fields[k] = Value.toJSON(v); + }); + } + + return obj; + }, + + fromPartial(object: Partial): Struct { + const message = createBaseStruct(); + message.fields = Object.entries(object.fields ?? {}).reduce<{ + [key: string]: Value; + }>((acc, [key, value]) => { + if (value !== undefined) { + acc[key] = Value.fromPartial(value); + } + + return acc; + }, {}); + return message; + } + +}; + +function createBaseValue(): Value { + return { + nullValue: undefined, + numberValue: undefined, + stringValue: undefined, + boolValue: undefined, + structValue: undefined, + listValue: undefined + }; +} + +export const Value = { + encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nullValue !== undefined) { + writer.uint32(8).int32(message.nullValue); + } + + if (message.numberValue !== undefined) { + writer.uint32(17).double(message.numberValue); + } + + if (message.stringValue !== undefined) { + writer.uint32(26).string(message.stringValue); + } + + if (message.boolValue !== undefined) { + writer.uint32(32).bool(message.boolValue); + } + + if (message.structValue !== undefined) { + Struct.encode(message.structValue, writer.uint32(42).fork()).ldelim(); + } + + if (message.listValue !== undefined) { + ListValue.encode(message.listValue, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nullValue = (reader.int32() as any); + break; + + case 2: + message.numberValue = reader.double(); + break; + + case 3: + message.stringValue = reader.string(); + break; + + case 4: + message.boolValue = reader.bool(); + break; + + case 5: + message.structValue = Struct.decode(reader, reader.uint32()); + break; + + case 6: + message.listValue = ListValue.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Value { + return { + nullValue: isSet(object.nullValue) ? nullValueFromJSON(object.nullValue) : undefined, + numberValue: isSet(object.numberValue) ? Number(object.numberValue) : undefined, + stringValue: isSet(object.stringValue) ? String(object.stringValue) : undefined, + boolValue: isSet(object.boolValue) ? Boolean(object.boolValue) : undefined, + structValue: isSet(object.structValue) ? Struct.fromJSON(object.structValue) : undefined, + listValue: isSet(object.listValue) ? ListValue.fromJSON(object.listValue) : undefined + }; + }, + + toJSON(message: Value): unknown { + const obj: any = {}; + message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); + message.numberValue !== undefined && (obj.numberValue = message.numberValue); + message.stringValue !== undefined && (obj.stringValue = message.stringValue); + message.boolValue !== undefined && (obj.boolValue = message.boolValue); + message.structValue !== undefined && (obj.structValue = message.structValue ? Struct.toJSON(message.structValue) : undefined); + message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); + return obj; + }, + + fromPartial(object: Partial): Value { + const message = createBaseValue(); + message.nullValue = object.nullValue ?? undefined; + message.numberValue = object.numberValue ?? undefined; + message.stringValue = object.stringValue ?? undefined; + message.boolValue = object.boolValue ?? undefined; + message.structValue = object.structValue !== undefined && object.structValue !== null ? Struct.fromPartial(object.structValue) : undefined; + message.listValue = object.listValue !== undefined && object.listValue !== null ? ListValue.fromPartial(object.listValue) : undefined; + return message; + } + +}; + +function createBaseListValue(): ListValue { + return { + values: [] + }; +} + +export const ListValue = { + encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.values) { + Value.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseListValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.values.push(Value.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ListValue { + return { + values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromJSON(e)) : [] + }; + }, + + toJSON(message: ListValue): unknown { + const obj: any = {}; + + if (message.values) { + obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); + } else { + obj.values = []; + } + + return obj; + }, + + fromPartial(object: Partial): ListValue { + const message = createBaseListValue(); + message.values = object.values?.map(e => Value.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts b/examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts new file mode 100644 index 000000000..4811fdd08 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts @@ -0,0 +1,172 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/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 + * 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; +} + +function createBaseTimestamp(): Timestamp { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Timestamp = { + encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestamp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Timestamp { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; + }, + + toJSON(message: Timestamp): unknown { + const obj: any = {}; + message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts b/examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts new file mode 100644 index 000000000..5ded8df66 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts @@ -0,0 +1,605 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * Wrapper message for `double`. + * + * The JSON representation for `DoubleValue` is JSON number. + */ +export interface DoubleValue { + /** The double value. */ + value: number; +} + +/** + * Wrapper message for `float`. + * + * The JSON representation for `FloatValue` is JSON number. + */ +export interface FloatValue { + /** The float value. */ + value: number; +} + +/** + * Wrapper message for `int64`. + * + * The JSON representation for `Int64Value` is JSON string. + */ +export interface Int64Value { + /** The int64 value. */ + value: Long; +} + +/** + * Wrapper message for `uint64`. + * + * The JSON representation for `UInt64Value` is JSON string. + */ +export interface UInt64Value { + /** The uint64 value. */ + value: Long; +} + +/** + * Wrapper message for `int32`. + * + * The JSON representation for `Int32Value` is JSON number. + */ +export interface Int32Value { + /** The int32 value. */ + value: number; +} + +/** + * Wrapper message for `uint32`. + * + * The JSON representation for `UInt32Value` is JSON number. + */ +export interface UInt32Value { + /** The uint32 value. */ + value: number; +} + +/** + * Wrapper message for `bool`. + * + * The JSON representation for `BoolValue` is JSON `true` and `false`. + */ +export interface BoolValue { + /** The bool value. */ + value: boolean; +} + +/** + * Wrapper message for `string`. + * + * The JSON representation for `StringValue` is JSON string. + */ +export interface StringValue { + /** The string value. */ + value: string; +} + +/** + * Wrapper message for `bytes`. + * + * The JSON representation for `BytesValue` is JSON string. + */ +export interface BytesValue { + /** The bytes value. */ + value: Uint8Array; +} + +function createBaseDoubleValue(): DoubleValue { + return { + value: 0 + }; +} + +export const DoubleValue = { + encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(9).double(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDoubleValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.double(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): DoubleValue { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: DoubleValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): DoubleValue { + const message = createBaseDoubleValue(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseFloatValue(): FloatValue { + return { + value: 0 + }; +} + +export const FloatValue = { + encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(13).float(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFloatValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.float(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FloatValue { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: FloatValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): FloatValue { + const message = createBaseFloatValue(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseInt64Value(): Int64Value { + return { + value: Long.ZERO + }; +} + +export const Int64Value = { + encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.value.isZero()) { + writer.uint32(8).int64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInt64Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Int64Value { + return { + value: isSet(object.value) ? Long.fromString(object.value) : Long.ZERO + }; + }, + + toJSON(message: Int64Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Int64Value { + const message = createBaseInt64Value(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; + return message; + } + +}; + +function createBaseUInt64Value(): UInt64Value { + return { + value: Long.UZERO + }; +} + +export const UInt64Value = { + encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.value.isZero()) { + writer.uint32(8).uint64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUInt64Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UInt64Value { + return { + value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO + }; + }, + + toJSON(message: UInt64Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): UInt64Value { + const message = createBaseUInt64Value(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; + return message; + } + +}; + +function createBaseInt32Value(): Int32Value { + return { + value: 0 + }; +} + +export const Int32Value = { + encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).int32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInt32Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Int32Value { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: Int32Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = Math.round(message.value)); + return obj; + }, + + fromPartial(object: Partial): Int32Value { + const message = createBaseInt32Value(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseUInt32Value(): UInt32Value { + return { + value: 0 + }; +} + +export const UInt32Value = { + encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).uint32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUInt32Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UInt32Value { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: UInt32Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = Math.round(message.value)); + return obj; + }, + + fromPartial(object: Partial): UInt32Value { + const message = createBaseUInt32Value(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseBoolValue(): BoolValue { + return { + value: false + }; +} + +export const BoolValue = { + encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value === true) { + writer.uint32(8).bool(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBoolValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BoolValue { + return { + value: isSet(object.value) ? Boolean(object.value) : false + }; + }, + + toJSON(message: BoolValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): BoolValue { + const message = createBaseBoolValue(); + message.value = object.value ?? false; + return message; + } + +}; + +function createBaseStringValue(): StringValue { + return { + value: "" + }; +} + +export const StringValue = { + encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== "") { + writer.uint32(10).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StringValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStringValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): StringValue { + return { + value: isSet(object.value) ? String(object.value) : "" + }; + }, + + toJSON(message: StringValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): StringValue { + const message = createBaseStringValue(); + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseBytesValue(): BytesValue { + return { + value: new Uint8Array() + }; +} + +export const BytesValue = { + encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value.length !== 0) { + writer.uint32(10).bytes(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBytesValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BytesValue { + return { + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() + }; + }, + + toJSON(message: BytesValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): BytesValue { + const message = createBaseBytesValue(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/index.ts b/examples/telescope-with-contracts/codegen/index.ts new file mode 100644 index 000000000..9f561ae27 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/index.ts @@ -0,0 +1,8 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.18.7 + * 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 "./google/bundle"; +export * from "./contracts"; \ No newline at end of file diff --git a/examples/telescope-with-contracts/components/astronaut.tsx b/examples/telescope-with-contracts/components/astronaut.tsx new file mode 100644 index 000000000..572884aa7 --- /dev/null +++ b/examples/telescope-with-contracts/components/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/telescope-with-contracts/components/features.tsx b/examples/telescope-with-contracts/components/features.tsx new file mode 100644 index 000000000..37852ca15 --- /dev/null +++ b/examples/telescope-with-contracts/components/features.tsx @@ -0,0 +1,45 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + HStack, + Icon, + Link, + Text, + VStack +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + ); +}; diff --git a/examples/telescope-with-contracts/components/index.tsx b/examples/telescope-with-contracts/components/index.tsx new file mode 100644 index 000000000..fbf3bb494 --- /dev/null +++ b/examples/telescope-with-contracts/components/index.tsx @@ -0,0 +1,5 @@ +export * from './types'; +export * from './wallet-connect'; +export * from './user-info'; +export * from './astronaut'; +export * from './features'; diff --git a/examples/telescope-with-contracts/components/types.tsx b/examples/telescope-with-contracts/components/types.tsx new file mode 100644 index 000000000..93f463d0e --- /dev/null +++ b/examples/telescope-with-contracts/components/types.tsx @@ -0,0 +1,38 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainId: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + userName: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} diff --git a/examples/telescope-with-contracts/components/user-info.tsx b/examples/telescope-with-contracts/components/user-info.tsx new file mode 100644 index 000000000..14534b5b4 --- /dev/null +++ b/examples/telescope-with-contracts/components/user-info.tsx @@ -0,0 +1,54 @@ +import React, { ReactNode } from 'react'; +import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from './types'; + +export const ConnectedUserCard = ({ + userName, + icon +}: ConnectedUserCardType) => { + return ( + + + {icon} + + + {userName} + + + ); +}; + +export const ConnectedUserInfo = ({ + name, + icon +}: { + name: string; + icon?: ReactNode; +}) => { + return ; +}; diff --git a/examples/telescope-with-contracts/components/wallet-connect.tsx b/examples/telescope-with-contracts/components/wallet-connect.tsx new file mode 100644 index 000000000..bdb2fdc72 --- /dev/null +++ b/examples/telescope-with-contracts/components/wallet-connect.tsx @@ -0,0 +1,121 @@ +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnect = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning +}: { + buttonText: string; + wordOfWarning?: string; +}) => { + return ( + + + + + + + Warning:  + + {wordOfWarning} + + + + ); +}; + +export const NotExist = ({ buttonText }: { buttonText: string }) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + notExist +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.NotInit: + return <>{disconnect}; + case WalletStatus.Loading: + return <>{connecting}; + case WalletStatus.Loaded: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/telescope-with-contracts/config/features.ts new file mode 100644 index 000000000..0b085303d --- /dev/null +++ b/examples/telescope-with-contracts/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from "../components"; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit', + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope', + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen', + }, + { + title: 'Cosmology', + text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', + href: 'https://github.com/cosmology-tech/cosmology', + }, + { + title: 'Chain Registry', + text: 'The npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry', + }, + { + title: 'Videos', + text: 'Learn more from the official Cosmology website.', + href: 'https://cosmology.tech/', + } +] + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; \ No newline at end of file diff --git a/examples/telescope-with-contracts/config/index.ts b/examples/telescope-with-contracts/config/index.ts new file mode 100644 index 000000000..f97c1231f --- /dev/null +++ b/examples/telescope-with-contracts/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; \ No newline at end of file diff --git a/examples/telescope-with-contracts/config/theme.ts b/examples/telescope-with-contracts/config/theme.ts new file mode 100644 index 000000000..b50e4954e --- /dev/null +++ b/examples/telescope-with-contracts/config/theme.ts @@ -0,0 +1,65 @@ +import { extendTheme } from "@chakra-ui/react" + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif', + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9', + }, + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em', + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', + }, + styles: { + global: { + 'html, #__next': { + height: '100%', + }, + '#__next': { + display: 'flex', + flexDirection: 'column', + }, + '.body': { + // todo check how to do this without breaking the site + // height: '100%', // Push footer to bottom + overflowY: 'scroll', // Always show scrollbar to avoid flickering + }, + html: { + scrollBehavior: 'smooth', + }, + '#nprogress': { + pointerEvents: 'none', + }, + '#nprogress .bar': { + background: 'green.200', + position: 'fixed', + zIndex: '1031', + top: 0, + left: 0, + width: '100%', + height: '2px', + }, + }, + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/telescope-with-contracts/contracts/wasmswap/LICENSE b/examples/telescope-with-contracts/contracts/wasmswap/LICENSE new file mode 100644 index 000000000..7a4a3ea24 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/contracts/wasmswap/README.md b/examples/telescope-with-contracts/contracts/wasmswap/README.md new file mode 100644 index 000000000..6b15e40e9 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/README.md @@ -0,0 +1 @@ +# WasmSwap \ No newline at end of file diff --git a/examples/telescope-with-contracts/contracts/wasmswap/package.json b/examples/telescope-with-contracts/contracts/wasmswap/package.json new file mode 100644 index 000000000..fb9c19073 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/package.json @@ -0,0 +1,21 @@ +{ + "name": "@cosmjson/wasmswap", + "chain": "juno", + "contract": "wasmswap", + "version": "0.0.9", + "description": "wasmswap", + "author": "Dan Lynch ", + "homepage": "https://github.com/cosmology-tech/cosmjson/tree/master/packages/wasmswap#readme", + "license": "SEE LICENSE IN LICENSE", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/cosmology-tech/cosmjson" + }, + "bugs": { + "url": "https://github.com/cosmology-tech/cosmjson/issues" + }, + "gitHead": "236741e84afac1df89b843b04f608e26c1edf0df" +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json new file mode 100644 index 000000000..4e1a0be2b --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "BalanceResponse", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "$ref": "#/definitions/Uint128" + } + }, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json new file mode 100644 index 000000000..ebbd4f7eb --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json @@ -0,0 +1,313 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "ExecuteMsg", + "anyOf": [ + { + "type": "object", + "required": [ + "add_liquidity" + ], + "properties": { + "add_liquidity": { + "type": "object", + "required": [ + "max_token2", + "min_liquidity", + "token1_amount" + ], + "properties": { + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "max_token2": { + "$ref": "#/definitions/Uint128" + }, + "min_liquidity": { + "$ref": "#/definitions/Uint128" + }, + "token1_amount": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "remove_liquidity" + ], + "properties": { + "remove_liquidity": { + "type": "object", + "required": [ + "amount", + "min_token1", + "min_token2" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "min_token1": { + "$ref": "#/definitions/Uint128" + }, + "min_token2": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "swap_token1_for_token2" + ], + "properties": { + "swap_token1_for_token2": { + "type": "object", + "required": [ + "min_token2", + "token1_amount" + ], + "properties": { + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "min_token2": { + "$ref": "#/definitions/Uint128" + }, + "token1_amount": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "swap_token2_for_token1" + ], + "properties": { + "swap_token2_for_token1": { + "type": "object", + "required": [ + "min_token1", + "token2_amount" + ], + "properties": { + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "min_token1": { + "$ref": "#/definitions/Uint128" + }, + "token2_amount": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "multi_contract_swap" + ], + "properties": { + "multi_contract_swap": { + "type": "object", + "required": [ + "input_token", + "input_token_amount", + "output_amm_address", + "output_min_token", + "output_token" + ], + "properties": { + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "input_token": { + "$ref": "#/definitions/TokenSelect" + }, + "input_token_amount": { + "$ref": "#/definitions/Uint128" + }, + "output_amm_address": { + "$ref": "#/definitions/Addr" + }, + "output_min_token": { + "$ref": "#/definitions/Uint128" + }, + "output_token": { + "$ref": "#/definitions/TokenSelect" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "swap_to" + ], + "properties": { + "swap_to": { + "type": "object", + "required": [ + "input_amount", + "input_token", + "min_token", + "recipient" + ], + "properties": { + "expiration": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "input_amount": { + "$ref": "#/definitions/Uint128" + }, + "input_token": { + "$ref": "#/definitions/TokenSelect" + }, + "min_token": { + "$ref": "#/definitions/Uint128" + }, + "recipient": { + "$ref": "#/definitions/Addr" + } + } + } + }, + "additionalProperties": false + } + ], + "definitions": { + "Addr": { + "description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", + "type": "string" + }, + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "anyOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object" + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "TokenSelect": { + "type": "string", + "enum": [ + "Token1", + "Token2" + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json new file mode 100644 index 000000000..573d1a048 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json @@ -0,0 +1,47 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "InfoResponse", + "type": "object", + "required": [ + "lp_token_supply", + "token1_denom", + "token1_reserve", + "token2_denom", + "token2_reserve" + ], + "properties": { + "lp_token_supply": { + "$ref": "#/definitions/Uint128" + }, + "token1_address": { + "type": [ + "string", + "null" + ] + }, + "token1_denom": { + "type": "string" + }, + "token1_reserve": { + "$ref": "#/definitions/Uint128" + }, + "token2_address": { + "type": [ + "string", + "null" + ] + }, + "token2_denom": { + "type": "string" + }, + "token2_reserve": { + "$ref": "#/definitions/Uint128" + } + }, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json new file mode 100644 index 000000000..82b145a09 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json @@ -0,0 +1,43 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "InstantiateMsg", + "type": "object", + "required": [ + "token1_denom", + "token2_denom" + ], + "properties": { + "token1_address": { + "anyOf": [ + { + "$ref": "#/definitions/Addr" + }, + { + "type": "null" + } + ] + }, + "token1_denom": { + "type": "string" + }, + "token2_address": { + "anyOf": [ + { + "$ref": "#/definitions/Addr" + }, + { + "type": "null" + } + ] + }, + "token2_denom": { + "type": "string" + } + }, + "definitions": { + "Addr": { + "description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json new file mode 100644 index 000000000..dd6ca9139 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json @@ -0,0 +1,85 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "QueryMsg", + "anyOf": [ + { + "description": "Implements CW20. Returns the current balance of the given address, 0 if unset.", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "type": "object", + "required": [ + "address" + ], + "properties": { + "address": { + "type": "string" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "info" + ], + "properties": { + "info": { + "type": "object" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "token1_for_token2_price" + ], + "properties": { + "token1_for_token2_price": { + "type": "object", + "required": [ + "token1_amount" + ], + "properties": { + "token1_amount": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "token2_for_token1_price" + ], + "properties": { + "token2_for_token1_price": { + "type": "object", + "required": [ + "token2_amount" + ], + "properties": { + "token2_amount": { + "$ref": "#/definitions/Uint128" + } + } + } + }, + "additionalProperties": false + } + ], + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/token.json new file mode 100644 index 000000000..a12f172f9 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/token.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Token", + "type": "object", + "required": [ + "denom", + "reserve" + ], + "properties": { + "address": { + "anyOf": [ + { + "$ref": "#/definitions/Addr" + }, + { + "type": "null" + } + ] + }, + "denom": { + "type": "string" + }, + "reserve": { + "$ref": "#/definitions/Uint128" + } + }, + "definitions": { + "Addr": { + "description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", + "type": "string" + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json new file mode 100644 index 000000000..28a856fd9 --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Token1ForToken2PriceResponse", + "type": "object", + "required": [ + "token2_amount" + ], + "properties": { + "token2_amount": { + "$ref": "#/definitions/Uint128" + } + }, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json b/examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json new file mode 100644 index 000000000..4548db69c --- /dev/null +++ b/examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Token2ForToken1PriceResponse", + "type": "object", + "required": [ + "token1_amount" + ], + "properties": { + "token1_amount": { + "$ref": "#/definitions/Uint128" + } + }, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } +} diff --git a/examples/telescope-with-contracts/next.config.js b/examples/telescope-with-contracts/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/telescope-with-contracts/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json new file mode 100644 index 000000000..6b79a832f --- /dev/null +++ b/examples/telescope-with-contracts/package.json @@ -0,0 +1,39 @@ +{ + "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", + "version": "0.1.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "codegen": "node scripts/codegen.js" + }, + "dependencies": { + "@chakra-ui/icons": "^2.0.8", + "@chakra-ui/react": "^2.2.8", + "@cosmjs/cosmwasm-stargate": "0.28.13", + "@cosmjs/stargate": "0.28.13", + "@cosmos-kit/react": "^0.11.0", + "@cosmos-kit/types": "^0.11.0", + "@emotion/react": "11.10.0", + "@emotion/styled": "11.10.0", + "@osmonauts/helpers": "^0.4.3", + "@osmonauts/lcd": "^0.4.0", + "framer-motion": "7.2.1", + "next": "12.2.5", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "^4.4.0" + }, + "devDependencies": { + "@cosmjson/wasmswap": "^0.0.9", + "@osmonauts/telescope": "0.18.7", + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/pages/_app.tsx b/examples/telescope-with-contracts/pages/_app.tsx new file mode 100644 index 000000000..07169c83b --- /dev/null +++ b/examples/telescope-with-contracts/pages/_app.tsx @@ -0,0 +1,42 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { GasPrice } from '@cosmjs/stargate'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { ChainInfoID } from '@cosmos-kit/types'; +import { WalletManagerProvider } from '@cosmos-kit/react'; + +const LOCAL_STORAGE_KEY = 'connectedWalletId'; + +function MyApp({ Component, pageProps }: AppProps) { + return ( +

Loading...

} + localStorageKey={LOCAL_STORAGE_KEY} + defaultChainId={ChainInfoID.Juno1} + getSigningCosmWasmClientOptions={(chainInfo) => ({ + gasPrice: GasPrice.fromString( + '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom + ) + })} + getSigningStargateClientOptions={(chainInfo) => ({ + gasPrice: GasPrice.fromString( + '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom + ) + })} + > + + + +
+ ); +} + +export default MyApp; diff --git a/examples/telescope-with-contracts/pages/api/hello.ts b/examples/telescope-with-contracts/pages/api/hello.ts new file mode 100644 index 000000000..89e4d6bd9 --- /dev/null +++ b/examples/telescope-with-contracts/pages/api/hello.ts @@ -0,0 +1,13 @@ +// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +import type { NextApiRequest, NextApiResponse } from 'next'; + +type Data = { + name: string; +}; + +export default function handler( + req: NextApiRequest, + res: NextApiResponse +) { + res.status(200).json({ name: 'John Doe' }); +} diff --git a/examples/telescope-with-contracts/pages/index.tsx b/examples/telescope-with-contracts/pages/index.tsx new file mode 100644 index 000000000..b2106e0ef --- /dev/null +++ b/examples/telescope-with-contracts/pages/index.tsx @@ -0,0 +1,149 @@ +import { + Box, + Divider, + Grid, + Heading, + SimpleGrid, + Text, + Stack, + Container +} from '@chakra-ui/react'; +import { + Connected, + ConnectedUserInfo, + Connecting, + Disconnect, + NotExist, + Rejected, + WalletConnectComponent, + Astronaut, + Dependency, + Product +} from '../components'; +import styles from '../styles/Home.module.css'; +import { useWalletManager, useWallet } from '@cosmos-kit/react'; +import { mapStatusFromCosmosWallet } from '../utils'; +import { MouseEventHandler } from 'react'; +import Head from 'next/head'; +import { dependencies, products } from '../config'; + +export default function Home() { + const { connect, disconnect } = useWalletManager(); + const { status, error, name, address } = useWallet(); + const walletStatus = mapStatusFromCosmosWallet(status, error as Error); + + const onClickConnect: MouseEventHandler = (e) => { + e.preventDefault(); + connect(); + }; + + const onClickDisconnect: MouseEventHandler = (e) => { + e.preventDefault(); + disconnect(); + }; + + const userInfoCard = name ? ( + } /> + ) : ( + <> + ); + + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={ + + } + notExist={} + /> + ); + + return ( +
+ + Create Cosmos App + + + +
+ + + + Cosmos Apps Made Easy
+
+ + Welcome to + + CosmosKit + Telescope + Next.js + + + + {userInfoCard} + {connectWalletButton} + +
+ + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency, i) => ( + + ))} + +
+
+ +
+ ); +} diff --git a/examples/telescope-with-contracts/public/favicon.ico b/examples/telescope-with-contracts/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..aec78edd3b03a0c25a2c9a33b3a19ef7d8024ce5 GIT binary patch literal 25531 zcmdUY`CC=zxi*Lhh=731lY*iGq9}ua8w6yYL}c&HW(FDdW)hi)4NYr?CMR=G1`|zt zGBnj5Gbc@&+Us(TLrgRzQIpv5v`y2K@A|%f;JfejynF2}?GNYI)9Zf5_g!nf?=!q> zp~Qaw+u!W1DfL?!xzf$e&9A&{&ptP|<=_AIH^RL=;DrSgX-+ry(S4m+h_EUyP}7GCfyBg$T2VvCFUbKs);=*k>oeZoe-B|3m(_-`sQU z$t{?C<>HrXZoPZx(tBfULS<}UxJXwX;A%ks%R5hlXSXbIyP7J@8+D&5_gHawLA2>(P&SL!B3xu$wg%agUy5Dc+=bWfC0`;yQ@06 zc|tv=PiC+wfWJI_ZZ>H?dp+Eg8==P!f(?aljgct!ym?IKyeEQiJW#NGzcX0Z=LFbp#wThSJ90iOpn>yAx(r?p+A zz{8C&iY1^erDpe`bx<<*Fu9HCV1Vi=mPAck)>vt;h4E!xSn%6Hi6B8!lX`A~?pkgY zHShpacJUdpe5Xaul-*#I`gl7*6U4a}ZQz_QxOp$6s^r}}pr>$A`>Qj-zx$6jz;*CK zR!Re?KvhI&;~XC; z*tQjNupg|2o93mNyHde*@NFF_R>@aCQPrn{wRn%MiMMBU0_sU$JY5xP^4u>z;cDAr z@Nn2y(?7*iqd>)M2D%;e(d%IA=uDZOFm6;~w|2nciU}ADArLV!u}ieDMz&aV{VaHa zxP)ghzXw+~#x#yW@eBwyjIhdeR6^@kTN39oh(`M_ zE{vsFtB(C!kFe$vwx#i$-=13n4%|96!qkkOeV>j}Hb6p`KRCcGs}h3NbN&b7zWEwt zNalC1of4aiyzn!yG_Qj}5RF8v*gLL^UtRd*QFrK+MA;QZKeukOHocBf0nDmB_Nm=4Z$L*H z*trv6P0T28>oNXV!88^17p;I$D{AAC1pcQ_sa;Ixcr%~?cj}7#N?3bA#h}$7R&-+T z&G(`rS;ZmeU&`AFxxvT{t~y8^;G2XSVij%z0dt<+;Sk$+>WqL^^Ts+Dl4kDRAg%@G zt%Da(i4&(<`S3O|KfZ5W_Ac-47XBzuC$2-eD$aSlRKO+qdDN++>+AdVfkbHB!*Fel z_-ZJ>U=RTx5k=-HC_An`+orl#-2alZ2(m!xQhm-GG#*p`j7eA5Ay;E!bZ&0k>9M(v zHRwitwW!QFr#NHE=&Ov&6!68C z^ZCTA?@vCZn``-^YT&!b6&H^6!%Pwvm!PARO)KbDJ7ayYgn%LEmSCyKc5+pN`(u`- zBpB`tPz%VGkPi;{_&R>96Z^JGuvo&o87`m+WU>q%D1}@I17p>wC^4GDAhkxdhds6s z_!caK%@8`c&hoY`0W4kt&t~-!v8SovOtG{81`OaiTUY{?swPH?U--F)b*n-&3;RV7 zADW=fgQaz5#{{mtuwUa={Sqk7^7`~0m>(ba1J7@1ZL|(@qf1b`4-T%;+B}`HFxxz> zN<*!p!&m0pwm{~#@o7ML*CmE~H8bVjF!srRvc-n@36l&;2gTXar!(m6=GqMEE?1uR zfF;PThO82u+sOm12QfDQM;DKlhinvcd!P1!yATlv`-^*61YbTJFJs_C0cvaNywe9Z z>zXLx5X?^j`)YIO_WlI%tH5#8VSU1?85FtM-MFBYtK*iG38+b5{Ydo=Y=2dl&`5PF)j) zp$CF;!Sae1SeYzdV8D41tT0nsH3QGmRHbi(3hZg?+94WvUn^L?v%i_6T0a?PAbIAh zKtj9vAy^-~9pEv(_{$2lcNlj)-*V+dO_C`fqFXIkt^wyA%XJG%P4}+EN6X)?_YAQvN6&kqeG#Pc91G{PjL&6ay6iOmC18@UjEU_Vwq$@;qBZ z?0zgkW<0vEne{DT%m)gY@fL<)VxBLsjb5uwoSg##Dnx)AbgfB+pyjU9*2cB~R9mRv z!coF%EaKchy>bd1=(NO$;se2S6a{-7Qk5(N>hXQr#5_i!hoM`+!^#y*n~vL0L2VZ^ z+Cv?QVn)sCv+Sa&5~lU>ldUuL``WKPs?XVfhi_@Xd4JwO`y&w5DLnju&rgCeCoC0{ zmx@;}j1mx#HDXf7CJdW1{|!E>E@T?GN^r2bR(Ewk%Lj$^tq;nAOi$6);k+tJj?~ai_6&zBg?_mY?krFt`=}Bt1^dC)!w64Kh99e z<)%_VI;usx_(tL~Xr&=wY)2L>3sHx&tKez{@obvk+u>dbX}IxR?*gQNN%lBLTHogE`&(~hJ3+x?HXf2E~tD3@U#VTMChCk&gVqt zA`axd>2_Fva~*bA5lP~0wivjH!6~jff4~sGpz3q30S?{}SU1cB-IY5T&^dGG3hrPl zs3uI+elmjn#H^|8 zgu;WNW3Z}-OHt;HCqx&{Nco41r#H{;Dy!@aVi z@7oJS6<^$x%xb-S-`-a3FE+%sK@6}mnVa&dE^s#DxbA~t00DbIvoXDn$*{hBZmQZI z5>6iYq;wi3N#suIQH_Al1te^p=4FvGE22e>&GyCD- z#wKuUHyFSyv40}D)KRwJnw4gzl|{Pv?yh*|4XER!20p~b%Ke)$*Ryun(T!>=%a5sqHB-jYxhE{>734V*8?;3>gP3OZSvOdC+lD@#De zmi(65Chcp8Tk2Wi@^el(9GqXp-U8Ugw%iz{@eY7GiEi8rUBB2-ATq@pBAuO$i%nm> zt#K7pMkGW^?oU$bwz&)5pxWfdtKqA_Mt!R&d%V?|Niqg*YN3D{rvUUKj33|_a#X47YDNsY&Q5MK|~(_^AMMC z-ge(iBuh8)5ZDmt(hCgm+LREUzl`m=Ro8y?(J3gvJ_gAyI{P2EaU3iG6oto#%Lc&{ zhbsm=v~Pl}h*54TqMP@<^p*?>_YBR2!k^~^hnVJYWm_gjxx>tvVdjGyW;LnGY~AYI zPXHtSr;{&(500~rfkqIwE^hHniQruT768DV1EC^xZh^-2vPF8!!QwtT0S=^s)c&9` zctGB?$i1|8fLH+03{>>=xay*F{|>Vb1gI@C;3<>7+TR<0{{ueYB3Td{B-Oz3G=i9= z(orx~#?S=r5E=Qr7f<_MpK9|w6Dybzv8oL+U%d^Ws``&u;W-EElf&xBV+R9#it5O^ zVsUMS@Cw69VF@;NH1go<5jXdwgS`p3fx=ww%(V(Kbgi~3^TH8W znYsr`zM`(GqB}1^*M9s+$oHnd%inm7zM26qa34@$B&%Wzvla!?!7YUH4BfuH$0Xh{ z5it;Vzk0-f>6EoWv_K2@cHswLhUTVL!}_^WsC)#|Z(|VEE!WsLs_=KgIXm60Y6XTo zh8F_!yQ1gzLuMB`^K4|g7G!*egY0BMK$SP2mL(Ru4p7N}=An)N@w3V|fBF`E426Jo z1(b_my6uHzAf9n*c=0XhK&yxZ=G>o$G7tvJ<269Z!9T0b77VEs z@QY7C>kE&lhY++LWJ6Z_@m2}zz*dSMyyc*C+9p1OJ>m-6B&=$`6_?+xwS=^*X8ZD$ z6+FfOhLR@+@XZgwB3pYGTKyf*;DWtDpZ(Mayal9#djxiW@iXwsV9sO;l9Zn(fgp4S zGQA^%sRx+v{_PdlkBb==1lbKr``vL?W~ra4`0TOEZzK%BVD))kdAWh{ZY#|_{Yn{> zWh{rVkfzgbYI9&D?Y4x3-feS=!{cu9IF5pgJlG$W1zc~Z6(-miLuRZ z5j}|Y{K+F=wiV4G+uC9(#eeoGk=_icd6f6EaqnI}*WS!m*BU*U5$8!3cJl?!aKxN_ zN!5 ztN~$6QzK|LCb~aWeBf(9tYSg(TF8|=SFc-*pv(mG z=*Y-eza2uGr9vZ3e)zA`Q3j20pz&qih| ze%40@mW3ar?QU9p5F&C@hu>9grV1v5ovfxp`hDa(`YVY z*#mCY#UEb$QFc#AG zSvJ64P+zuI-Qr*~19My)lfPPzIqw?4jqy&av^PuF)rVK6+&ZTHxqg~j7glo;69Bsk zc)$i2S_QKJqSZTKezoJ}WMgpZSowg~0KAnQ)Z!;jaF;k1w)5;&FXiS6nGzAPBNUo; z1*_m=EhkVGA6O1HSBAEt-Zw& zY3MsW!8)cHH$TVDR2JdlZR54*$wpw>K+A5wzH9v)6d+%O&LeaU$}I1@T+0O%CMnFU zR$Ye*xNu~4HGDwyMjuuzPNnO|gGbsn2l&Lr!`9Xg=?wz72*98f&y!-*L6m?b18mwI zAUo*%!}HP%&>I$5StaA_zH+=(4)Cl|t^tW{v-Y!eJ^XzCFz5rK zts6wy%L5wN*0z0kId8bidX7(1iG+6cad%U(vkSR5hBzZk9ca*jy21;;77eR=(5pps za4RSqWGpUAj^)0;d+TjhkFgj`P|LNbqJwtvnfU#?c{~DJMHox3ANLN~3uF9uuippJ z1WIGZD^#Kf88Be#i^su}6tSmVarSXO1}o8>V-eQz^}5B4@w<$X%8bw=yK<9^at}I^ z3YjW{*jzm?1XOf6c=iDv1;Cl79XVLJiCF_GMS#1Tx?L6{?j4TYz^nkRZDNyp1ebzK z)R~-7kl?Jg<3dZFm>#7}Q4G6}#qA0Y{B4cqXMYMxm&xDY@aAkIAmU&#C$aN#RmEu~ zDx;C?7Qla{qZ|_$Q?`UFVqw_h%>Gr;di`~-zVjixr|$tv(0&krV&ttW+smD0yn7NJ z0lv&SpoNIVG=2V(_H_b{dDnhma5pglrmbABpc}$BJeTF677LB>N&)cz0Pd=cb{prl zf~sXy_<|QCZ`R=B>Nbe68=nK(yBuaod)jhGAIj($L<2}2Tt-jrXQOsi&lpJ2=4*cl zFb>lvWhF!CrUerUkShW_EfOywzJ_%Ko7b?`Sa!}rXbsoLwS>u+hD>=&ANu$Ws63Pe z6A=B&L&Y#^UxfNtsxKqP8d$lFtLp&gzR>C?_xB8T?*;yI}Iq9IKv8n{#DHB>G z)p6svlMF8G7;LQ4r$+aG^Iq8b$C=e$(A~j@gKuu2lV?Ci7{lT}%T)m!!r|!V_(l@% zLLRe?6lgy>gozWpcDJYvcpX$RGu&;_-Yl(fv<;h8zF1p39rdKTw^l9|UaH=lSMQze zSRNX{++Y#=A(q*|oT-%QCJ~GRzNQ$qjw<_oDq?Wpa9N=p8f$$CbB_By8rn42YQHkn_Vp|2VhwHDC3;~tvlE^RSa#2 z*sK^#wNMXFx5A)V?mQ_W`X*_2S&3vmIv^Sbj{Hiyu;#)GUW2B zoN(}C)u4`!0+|5r*ljZVLfN8a<+M7t#E+20pAPe6SOrQd(0+$3NoGdHh+N=qf$Yye z1g{;*Di#}DZ!72p?PO6h#&cVB;Ski=ph)mtym5vq_D#?yf~UX*&SP$kI)-MwwXa&g zex9=Gn|vcwRv?Rt6|D|2XgY4a4pl25COAX;oZ=lA61vx(In@Ob3<7qG08bZ9e>dcq zxuKRQBe)hE?d)1@b{=kt7moOD``z)!Ow4_isYq_1RvPRwF;d$RJGPLoamTK0s@YV$ z<#O$JA$nNO+BaMfj`UO+0bkdV0InTBHg9NlP)~+hIrJb9uzMK~BE$LtG4ZpOA1l{$ zO>B@+N{Sm|O7cCvf9ZZmb{}KO=dwAoK-|xaqmZCSw6gz~K#pgw<&TdaWtagJGd~BS zX%2!^V9KDfCipB@tn27@##bMhDKiJVyuU)HCo!a|s|zZBl-{b(Zm;3lterkd=Y9^A z0RUP(9QR0Tj2D+pgcii4>ONJDv#AMP6$detT@O}J$Uxw1(f&)G6uBapS59k7b^LcI zhm5QS7Gwp;$ctQ|eL<@>5Pw_3_a7XY-RW2qoTZ?hlf1GWeW|@`gJxh|eaeUNTM2T0 zo58sJZ1)1hd{vur^DB^t#wV|U37A124=`SBY#{Fe0sIEK_>3b9sm#m@Pzfjzq|Ju} z=D0B6(|a5bfRWZP%R{jRl$o>Eu?vf(K^;Kw16=nXA9)HqNgPY~EOW(=r3Rnt$30yK zYqkF>q{}+KQ~Ma>@sz+fR+9E3JFB~4M<)xRCQs!JdIbnzrRv~j1Ux11;|f<3qdTFn zLe*KDcJ;?F0+TwxnM+22cVlD#@9_@pOJ^mQ%wsCIkQ*q{T7%_a;}MZv=;ae|0E$+G z%xB6(4>%X??yT=E6R?3s^Q;@Sf;LOo>G;jGp?X0ndO4>)_=jsb5|Vmm1+1oU3?ZQYm4Co zrj>;H?Y(b;i!2mR5N8`= z{lQBtVEsY6z;)dDO~|;{_2W#d!H@S-nS|!)w_`g5n~_cq0!_`OckbyaPlg(1rti*k zVE+6D0K!2*p_*SDIv*@c&V-@;@=)MBw9~IGfJgJm+!PSlATku97^K3V#Mul9U?N?6 z+&IVZY(4)=^078UHFpL$_N$JL+B9xJz=!cU`G+#bAo6N>iDQ0mY=G+0@K`nyaQ(1I za0XP6=Hr_(ENXBb4-!96#{WBf_F;YATF%4Eqj5x&|$xG*xjUkK1}L9C_{0pE0S5NuHZ*njaPiG?%T&g(lI*E zbG1BqWtr9b*AIUV{mc*b!6k}TeGD&q;M*73b^@!rUDuPKMMV^4Lu9x8;pA^2Z#>V0 zb@Bk+q>=y?;CogHched%vj6r0S0S*kXs&D4Em5u=73rUH;YdWG=(CZ$d4Ft~MV$d` z0zhkP9*KZ))do?7FXNiDAKbJQu5VcAWo_n9fu+Tffq;SygZz4P1rN80BGy)jM`gd) zx4(MwAoN;qmUHJ+Blzx^EO3Dj1P{~YV)C6Wi0ruhDzx}Lx9$^%_II9K#9mNH9T<0| zQXI)jXt4yUlMM#2tiNiDc|~&|qZ$KpHf%(#FKl9iD0O-@1h>Uu1n*8ziZhVqOt6x4up#A1FGuhC~ z5D0o8Jay|DAAkDT3TyG#PeA+QQ}=;afE=rVs#Y>f7rP)IWK8El0rZMcttke0S~?GG zfR8tTN}Uy+Y%S&~owb4fbdV174pC=W5WO*A>7Tv9%&|CB2BA%Zw)ka$dz&obeWepc zOs3j*%Hh9Ch>wN za0AH&yn!|%1D79DmAV0TUrh{mI_(QqSK$L5ck_jaiH6cvsNejM&$5Hqvdnn+AQ+=K zGYpmk(veUw$_7b}I?cBq&yn7R1K@SeqJ*_Edj0-`kPI=)@e=D2;Da*0KlQL!`?rbo zgQ%Ok{c7IQ06;W zWPtMaE~qz69DED0tQAHyFqhXe4h)+sR*S(&92Tfas$O~PZ+>hqdNv%v4!w$iy=un3T?6^=cp7esztpiX> z4zy^0-pis1lYwRP`x~IOl%9Dn{=&oJ(|Mzch83Q3_kvY&?!*?E;4^UMP1RJ4`JB?B z?wlM;cbM9jYNZ9CC){8NygqT5u&=lK{N zk=(vrOtldh`#_di#(8c>@<;>Ip`-2Q)6i2vQS6?rp!|L?SFC0GF2Q8Ab0;!%*Cg$i zq2O0p=HRHB9x)-VLAOX3@RjCQE7F0i+VM|(*7|ImJIOU@BT~_;ngC( zd-O=R?rz@5(u@#WRua29%xuqNeA%2p4~QKM2n8NtM?XP_sb5TtiWVd62i;FtuCz4Pee=dykcAf4~aO74t*97+7wc7R8e> zR;36{J(ewd@zl0)?Y}ju=KXneaVH_|b)P;2Dd>XeP%pScTF~Lh0P!4Cp@CNF4c3{+ z*xEqx{d>V#AcBQ!r}*3;b9Ys1z@ZJ|^w)Gc5*0~z~kD1fP$QBhPE z2Zfmv`cr%=;q+_!!w-)`ssd`QO$+FcgUzUQw3+$#6lAa}HhR`X$3V64N7W!+|oOxB$CD@D@_9Lefi{`p(l@5jK>!IXxaJq515?pQa1auNN` zV=pK(FCp6icV?@M*?E9525}4qaQRmv4=t*jSX4k+Nas#8jjDO--aN$59ajCR`WddG zs}F;>^>LVA9{^RLq0utP)BfW}SXjW7AA=1p7lSoz=1JiAH=F#weeIoL?KUz2+<6$Z z`^Uo8x>QC>ASzl189bo8a#s5fU2H`M2E_xO15y#PX@BS|BUg^;GoY+)y!MQ%ee+o^ z%-LIiIn3>8Yn&;}N0%xiXjrHLLWfEF zy^0LR<7?Ha>H1(ny*mEvS@0QnH{SWuslDoZAyK9l+*8#?c*4FXj^Fqhlb$MSGGY~>^JZSjvikPe2NZmSE4XDr4una!L^1G^O(3nK z7gW?(4}!&0x(a1;ebfw(ncS_~$DK1ACN6@30@T?U3bmStL%<RZK_PpiH`S!h@a2H?od|oUebrc=YB274TGtf#rd?MYb_(Fg~bXwJ!|d z{OcbdhtN8L^U61St%5M~Bpm{!FHH`70B=<{%{m6|3h)LvV#N>sm;0UsXYy5?H+4b} zF!NwC*0S()q&7tzg0b9jS5_xb5Y)el#rgZ+Fiy;MKbLg-<;7RIzUl2OrkWTq9bUQy zrAIfCTB4zIEx_V^({?UZNA3a>Ptw5@0(?4i$G5K6d?vW57%ZI{=QGPjP!21;QY8m! zI7o+T@VR9?p;=x4t3c3cQ8m&zlcqa+{_pXhJb(T^X95Z^G@<>S%*_)r>%#r{G3o?U zolFN$?A_ciMs1k$&Xd|tP2%r`Flqldnb>WqZK`5AnI9EDZhr9% zFqLZq)bp%f71T`U5$mr~k3pb(KO@xC8Y1Qrp3Kn96{{KCpy^N_qxnTH!t~|vHbR_8-l*=!G zZ47gDjq!W(t4DR$0yJw5pLF$Auxsz#RahNx{qZMHgXhkG0e^nzexn6a-IR?rFu)wL ze`~KjbLTK53vmgCJX{@}Og-?;zkx9}e9%S^z+z)qc@U&`tzfxWa>4fIb%QsBM}ae@ z^+m~{5Ws~W6^R1w&!kNqG>e1Zkr#gCQO`$o8pY?F8zT;#v&%UXxccv42?xLoUR(js z@$eiz`d~5`uvWA908@v0(Qy)2uFTbUn{F@#jXYX_Xg-Xw^JEQX?+OPG@&yyDgV+!X zR+LrbUzzgdvryYZp>S<{zwlXEajY}PzZTh?^5s1oOl3W`^R9qePBqkF-VSj5+o>uR zZoCK3$|U)TE}Z27@LGUjSKD9>2vq6AX!RYRWY&NNbp_OV^?azTEnjyqS5&W4otl>^ z?zNXsB-ur6-3_U(KTz)t!`#{c&LReu-fCFf{vyDexMHAc-CV~uZZ;95YGaiQfx9uU zfOE|TSSvyKs+|fVWCr-Su8HE8S(IfgaCI`fdvu2?7qO=yYS!svqLf0cV<`ZfAW%=d z{hZoVT(Ob2TA@#vhZYC2T|EWv*Gt9-^4$L7750jtNd$M&1{xg$%e?d=xb~N&#;A(M zabCmf=Tc@HTe$tO#t?8Lhyy!va%XvSQiC0AU$XXZ-C6l+1B}-3$qr_QYmBY|OWpAK zyAV8_SWyis#(Zm-n;Pw3snvC;p!3N(m?dtz)H3+h1CSN^i1yE;*j2&6+rfJ;zFG!e zYBy|x$O8Q{%mLiLF)E(xBe8c9Kme;!jX+~7OoBofU-_4;psX4l$zUwhE}+GL1RHft zSJWY@9Uba~S6PqD)+b$jhOa4BXE(>7GMUVV$J_U`Kfzx^wHn9H-#2iQR& zR?)$uhWTo|^q*&5Rt3)JHi8C0I;x=gUH&DwxmlclefM5b7LRIwci93`fnMen z8Bzb`{W1sqvq!)dc>1xPia&oWp=%`+AaY1O8M^k{cY*3YJjj8MUlzFoVk2JpX$`hIrMS5T>L2VH!o zqiTk2k(g*bE<7q|WZxS&xw{w>FV|uyx5^>k3vONI4L|T~1=C!5b zN!0%3gAwkD3z}%z0M4_{8^khHd->}5W)r<5V3t_k0@&XHR>TTpMF{35qts$_*FIfq zZuP6r=d*y}aor8&kQiSbfn1pFY$(QH-E!YuAxhF%n&UXODJ{g|fnG#M?WumU;GJ zZg+3^{I}u-XQBj`--}|a@u8Dhw%Gr@|0f0i^Oa+({3_;_nJHD6Y){^!ytsznO@;in F{r|_@0MY;e literal 0 HcmV?d00001 diff --git a/examples/telescope-with-contracts/scripts/codegen.js b/examples/telescope-with-contracts/scripts/codegen.js new file mode 100644 index 000000000..d15cda137 --- /dev/null +++ b/examples/telescope-with-contracts/scripts/codegen.js @@ -0,0 +1,78 @@ +const { join, resolve } = require('path'); +const telescope = require('@osmonauts/telescope').default; + +const protoDirs = [join(__dirname, '/../proto')]; +const contractsDir = resolve(join(__dirname, '/../contracts')); +const contracts = [ + { + name: 'JunoSwap', + dir: join(contractsDir, 'wasmswap') + } +]; + +telescope({ + protoDirs, + outPath: join(__dirname, '../codegen'), + options: { + tsDisable: { + files: [ + 'ibc/core/types/v1/genesis.ts', + 'google/protobuf/descriptor.ts', + 'google/protobuf/struct.ts' + ] + }, + prototypes: { + allowUndefinedTypes: true, + fieldDefaultIsOptional: true, + includePackageVar: false, + typingsFormat: { + useDeepPartial: false, + useExact: false, + timestamp: 'date', + duration: 'duration' + }, + }, + cosmwasm: { + contracts, + outPath: join(__dirname, '../codegen'), + options: { + bundle: { + enabled: true, + bundleFile: 'contracts.ts', + scope: 'contracts' + }, + types: { + enabled: true + }, + client: { + enabled: true + }, + reactQuery: { + enabled: false, + optionalClient: true, + version: 'v4', + mutations: true + }, + recoil: { + enabled: false + }, + messageComposer: { + enabled: false + } + } + }, + aminoEncoding: { + enabled: false + }, + lcdClients: { + enabled: true + }, + rpcClients: { + enabled: true, + camelCase: true + } + } +}).then(() => { + console.log('✨ all done!'); +}); + diff --git a/examples/telescope-with-contracts/styles/Home.module.css b/examples/telescope-with-contracts/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/telescope-with-contracts/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/styles/globals.css b/examples/telescope-with-contracts/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/telescope-with-contracts/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/telescope-with-contracts/tsconfig.json b/examples/telescope-with-contracts/tsconfig.json new file mode 100644 index 000000000..99710e857 --- /dev/null +++ b/examples/telescope-with-contracts/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +} diff --git a/examples/telescope-with-contracts/utils.ts b/examples/telescope-with-contracts/utils.ts new file mode 100644 index 000000000..83e05bd10 --- /dev/null +++ b/examples/telescope-with-contracts/utils.ts @@ -0,0 +1,24 @@ +import { WalletStatus } from "./components"; +import { CosmosWalletStatus } from "@cosmos-kit/types"; + +export const mapStatusFromCosmosWallet = (status: CosmosWalletStatus, error?: Error): WalletStatus => { + switch (status) { + case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: + return WalletStatus.NotInit; + case CosmosWalletStatus.Connecting + || CosmosWalletStatus.ChoosingWallet + || CosmosWalletStatus.PendingWalletConnect + || CosmosWalletStatus.EnablingWallet: + return WalletStatus.Loading; + case CosmosWalletStatus.Connected: + return WalletStatus.Loaded; + case CosmosWalletStatus.Errored: + if (error && error.message === 'Request rejected') { + return WalletStatus.NotInit; + } else { + return WalletStatus.Rejected; + } + default: + return WalletStatus.NotInit; + } +} \ No newline at end of file diff --git a/lerna.json b/lerna.json index f2f75e049..5b425ea7f 100644 --- a/lerna.json +++ b/lerna.json @@ -8,6 +8,7 @@ ], "packages": [ "packages/*", + "examples/*", "templates/*" ], "version": "independent", diff --git a/package.json b/package.json index 873e2b602..2eaccb688 100644 --- a/package.json +++ b/package.json @@ -29,10 +29,11 @@ }, "workspaces": [ "packages/*", + "examples/*", "templates/*" ], "repository": { "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/components/astronaut.tsx b/templates/connect-chain/components/astronaut.tsx index c32c3f878..572884aa7 100644 --- a/templates/connect-chain/components/astronaut.tsx +++ b/templates/connect-chain/components/astronaut.tsx @@ -1,304 +1,304 @@ export const Astronaut = (props: any) => ( - - {"cosmology-astronaut"} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + - - - - - - + + + + + + + + + + + - - - - + - - + d="M69 250.7c-.1 2.8 0 7.5-3.3 9.3-3.2 1.7-31 3.2-36.5-2.8-5.4-6-15.4-25.5-17.2-36.5-1.2-7.3-2-20.5 4-22.2q6-1.8 12.2 1.1-5.9-8.9-5.9-16.4c0-3.6 1.3-9.5 5.9-10.5q4.6-1 18.8 1.5-3-10.8 0-15c6-8.5 22.5-7.2 27-6 4.5 1.3 39.8 37 42 46.4 1.4 5.7-2.3 21.4-6.7 24q-2.8 1.7-12.7 2.9 6.3 12 0 16.2-6.4 4.3-27.6 0v8z" + /> + - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - + - + d="M46.4 219.6c.9 3 3.7 7.6 6.1 11.6q3.8 6.4 5.1 8.3-12.3-10.5-14.1-17-1.8-6.5 0-11.3.8.8 2.9 8.4z" + /> + - + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - -); \ No newline at end of file + + + +); diff --git a/templates/connect-chain/components/features.tsx b/templates/connect-chain/components/features.tsx index e83df5d27..37852ca15 100644 --- a/templates/connect-chain/components/features.tsx +++ b/templates/connect-chain/components/features.tsx @@ -1,29 +1,45 @@ -import { LinkIcon } from "@chakra-ui/icons"; -import { Box, Heading, HStack, Icon, Link, Text, VStack } from "@chakra-ui/react"; -import { FeatureProps } from "./types"; +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + HStack, + Icon, + Link, + Text, + VStack +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { - return ( - - - {title} → - {text} - - - ); + return ( + + + {title} → + {text} + + + ); }; export const Dependency = ({ title, text, href }: FeatureProps) => { - return ( - - - - - - {title} - {text} - - - ) -} \ No newline at end of file + return ( + + + + + + + + {title} + + + {text} + + + ); +}; diff --git a/templates/connect-chain/components/index.tsx b/templates/connect-chain/components/index.tsx index f6b34f396..fbf3bb494 100644 --- a/templates/connect-chain/components/index.tsx +++ b/templates/connect-chain/components/index.tsx @@ -2,4 +2,4 @@ export * from './types'; export * from './wallet-connect'; export * from './user-info'; export * from './astronaut'; -export * from './features'; \ No newline at end of file +export * from './features'; diff --git a/templates/connect-chain/components/types.tsx b/templates/connect-chain/components/types.tsx index f273ae850..93f463d0e 100644 --- a/templates/connect-chain/components/types.tsx +++ b/templates/connect-chain/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainId: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected" + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { @@ -35,4 +35,4 @@ export interface FeatureProps { title: string; text: string; href: string; -} \ No newline at end of file +} diff --git a/templates/connect-chain/components/user-info.tsx b/templates/connect-chain/components/user-info.tsx index 2b8db2aa5..14534b5b4 100644 --- a/templates/connect-chain/components/user-info.tsx +++ b/templates/connect-chain/components/user-info.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Text, useColorModeValue, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "./types"; +import React, { ReactNode } from 'react'; +import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from './types'; export const ConnectedUserCard = ({ userName, - icon, + icon }: ConnectedUserCardType) => { return ( {icon} - + {userName} ); }; - export const ConnectedUserInfo = ({ name, - icon, + icon }: { name: string; icon?: ReactNode; diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index 9a4b7fe59..bdb2fdc72 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -41,7 +41,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -57,7 +57,7 @@ export const Connecting = () => { export const Rejected = ({ buttonText, - wordOfWarning, + wordOfWarning }: { buttonText: string; wordOfWarning?: string; @@ -68,7 +68,7 @@ export const Rejected = ({

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} @@ -25,26 +24,19 @@ function MyApp({ Component, pageProps }: AppProps) { getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ), + ) })} getSigningStargateClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ), + ) })} - // Choose a different RPC node for the desired chain. - // chainInfoOverrides={[ - // { - // ...ChainInfoMap[ChainInfoID.Juno1], - // rpc: "https://another.rpc.com", - // } - // ]} > - ) + ); } -export default MyApp +export default MyApp; diff --git a/templates/connect-chain/pages/api/hello.ts b/templates/connect-chain/pages/api/hello.ts index f8bcc7e5c..89e4d6bd9 100644 --- a/templates/connect-chain/pages/api/hello.ts +++ b/templates/connect-chain/pages/api/hello.ts @@ -1,13 +1,13 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next' +import type { NextApiRequest, NextApiResponse } from 'next'; type Data = { - name: string -} + name: string; +}; export default function handler( req: NextApiRequest, res: NextApiResponse ) { - res.status(200).json({ name: 'John Doe' }) + res.status(200).json({ name: 'John Doe' }); } diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 8f4113c23..b2106e0ef 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -22,12 +22,11 @@ import { } from '../components'; import styles from '../styles/Home.module.css'; import { useWalletManager, useWallet } from '@cosmos-kit/react'; -import { mapStatusFromCosmosWallet } from "../utils"; +import { mapStatusFromCosmosWallet } from '../utils'; import { MouseEventHandler } from 'react'; import Head from 'next/head'; import { dependencies, products } from '../config'; - export default function Home() { const { connect, disconnect } = useWalletManager(); const { status, error, name, address } = useWallet(); @@ -43,11 +42,11 @@ export default function Home() { disconnect(); }; - const userInfoCard = (name) - ? ( - } /> - ) - : <>; + const userInfoCard = name ? ( + } /> + ) : ( + <> + ); const connectWalletButton = ( } /> - ) + ); return (
@@ -78,21 +77,27 @@ export default function Home() {
- + + lineHeight={'110%'} + > Cosmos Apps Made Easy
- - Welcome to {' '} - + lineHeight={'110%'} + > + Welcome to CosmosKit + Telescope + Next.js @@ -114,14 +119,19 @@ export default function Home() { templateColumns={{ base: 'repeat(1, 1fr)', sm: 'repeat(2, 1fr)', - md: 'repeat(3, 1fr)', + md: 'repeat(3, 1fr)' }} - gap={{ base: '3', sm: '6', md: '8' }}> - {products.map(product => )} + gap={{ base: '3', sm: '6', md: '8' }} + > + {products.map((product) => ( + + ))} - {dependencies.map((dependency) => )} + {dependencies.map((dependency, i) => ( + + ))}
@@ -136,4 +146,4 @@ export default function Home() {
); -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/config/chain-infos.ts b/templates/connect-multi-chain/config/chain-infos.ts index 52a2a1f2b..6b1c473e2 100644 --- a/templates/connect-multi-chain/config/chain-infos.ts +++ b/templates/connect-multi-chain/config/chain-infos.ts @@ -1,15 +1,17 @@ -import { ChooseChainInfo } from "../components"; +import { ChooseChainInfo } from '../components'; import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; -export const chainInfos: ChooseChainInfo[] = chainsBase.map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainId: chain.chain_id, - label: chain.pretty_name, - value: chain.chain_id, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } -}); \ No newline at end of file +export const chainInfos: ChooseChainInfo[] = chainsBase.map((chain) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainId: chain.chain_id, + label: chain.pretty_name, + value: chain.chain_id, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; +}); diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 0b085303d..a9902de32 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -1,47 +1,47 @@ -import { FeatureProps } from "../components"; +import { FeatureProps } from '../components'; export const products: FeatureProps[] = [ - { - title: 'CosmosKit', - text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit', - }, - { - title: 'Telescope', - text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope', - }, - { - title: 'TS Codegen', - text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen', - }, - { - title: 'Cosmology', - text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', - href: 'https://github.com/cosmology-tech/cosmology', - }, - { - title: 'Chain Registry', - text: 'The npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry', - }, - { - title: 'Videos', - text: 'Learn more from the official Cosmology website.', - href: 'https://cosmology.tech/', - } -] + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'Cosmology', + text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', + href: 'https://github.com/cosmology-tech/cosmology' + }, + { + title: 'Chain Registry', + text: 'The npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'Learn more from the official Cosmology website.', + href: 'https://cosmology.tech/' + } +]; export const dependencies: FeatureProps[] = [ - { - title: 'Chakra UI', - text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/' - }, - { - title: 'Next.js', - text: 'A React Framework supports hybrid static & server rendering.', - href: 'https://nextjs.org/' - } -]; \ No newline at end of file + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/templates/connect-multi-chain/config/index.ts b/templates/connect-multi-chain/config/index.ts index c02b0ac33..0addef3f2 100644 --- a/templates/connect-multi-chain/config/index.ts +++ b/templates/connect-multi-chain/config/index.ts @@ -1,3 +1,3 @@ export * from './theme'; export * from './features'; -export * from './chain-infos'; \ No newline at end of file +export * from './chain-infos'; diff --git a/templates/connect-multi-chain/config/theme.ts b/templates/connect-multi-chain/config/theme.ts index b50e4954e..1d6be080b 100644 --- a/templates/connect-multi-chain/config/theme.ts +++ b/templates/connect-multi-chain/config/theme.ts @@ -1,65 +1,65 @@ -import { extendTheme } from "@chakra-ui/react" +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif', - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9', - }, - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em', - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', - }, - styles: { - global: { - 'html, #__next': { - height: '100%', - }, - '#__next': { - display: 'flex', - flexDirection: 'column', - }, - '.body': { - // todo check how to do this without breaking the site - // height: '100%', // Push footer to bottom - overflowY: 'scroll', // Always show scrollbar to avoid flickering - }, - html: { - scrollBehavior: 'smooth', - }, - '#nprogress': { - pointerEvents: 'none', - }, - '#nprogress .bar': { - background: 'green.200', - position: 'fixed', - zIndex: '1031', - top: 0, - left: 0, - width: '100%', - height: '2px', - }, - }, - }, + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + }, + styles: { + global: { + 'html, #__next': { + height: '100%' + }, + '#__next': { + display: 'flex', + flexDirection: 'column' + }, + '.body': { + // todo check how to do this without breaking the site + // height: '100%', // Push footer to bottom + overflowY: 'scroll' // Always show scrollbar to avoid flickering + }, + html: { + scrollBehavior: 'smooth' + }, + '#nprogress': { + pointerEvents: 'none' + }, + '#nprogress .bar': { + background: 'green.200', + position: 'fixed', + zIndex: '1031', + top: 0, + left: 0, + width: '100%', + height: '2px' + } + } + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 6d167ad65..2ce9fdf50 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmos-app/connect-multi-chain", + "name": "@cosmonauts/connect-multi-chain", "version": "0.1.1", "private": true, "scripts": { @@ -34,4 +34,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index ece869905..07169c83b 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -1,15 +1,14 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; -import { GasPrice } from '@cosmjs/stargate' +import { GasPrice } from '@cosmjs/stargate'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { ChainInfoID } from '@cosmos-kit/types'; import { WalletManagerProvider } from '@cosmos-kit/react'; -const LOCAL_STORAGE_KEY = 'connectedWalletId' +const LOCAL_STORAGE_KEY = 'connectedWalletId'; function MyApp({ Component, pageProps }: AppProps) { - return (

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} @@ -25,26 +24,19 @@ function MyApp({ Component, pageProps }: AppProps) { getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ), + ) })} getSigningStargateClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ), + ) })} - // Choose a different RPC node for the desired chain. - // chainInfoOverrides={[ - // { - // ...ChainInfoMap[ChainInfoID.Juno1], - // rpc: "https://another.rpc.com", - // } - // ]} >
- ) + ); } -export default MyApp +export default MyApp; diff --git a/templates/connect-multi-chain/pages/api/hello.ts b/templates/connect-multi-chain/pages/api/hello.ts index f8bcc7e5c..89e4d6bd9 100644 --- a/templates/connect-multi-chain/pages/api/hello.ts +++ b/templates/connect-multi-chain/pages/api/hello.ts @@ -1,13 +1,13 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next' +import type { NextApiRequest, NextApiResponse } from 'next'; type Data = { - name: string -} + name: string; +}; export default function handler( req: NextApiRequest, res: NextApiResponse ) { - res.status(200).json({ name: 'John Doe' }) + res.status(200).json({ name: 'John Doe' }); } diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 06501d8d7..79335b368 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -27,12 +27,11 @@ import { } from '../components'; import styles from '../styles/Home.module.css'; import { useWalletManager, useWallet } from '@cosmos-kit/react'; -import { mapStatusFromCosmosWallet } from "../utils"; +import { mapStatusFromCosmosWallet } from '../utils'; import { MouseEventHandler, useState } from 'react'; import Head from 'next/head'; import { chainInfos, dependencies, products } from '../config'; - export default function Home() { const [chainId, setChainId] = useState(); const { connect, disconnect } = useWalletManager(); @@ -49,20 +48,25 @@ export default function Home() { disconnect(); }; + const userInfoCard = name ? ( + } /> + ) : ( + <> + ); - const userInfoCard = (name) - ? ( - } /> - ) - : <>; - - const addressCard = (chainId && address && name) - ? ( - - + const addressCard = + chainId && address && name ? ( + + - ) - : <>; + ) : ( + <> + ); const connectWalletButton = ( } /> - ) + ); const onChainChange: handleSelectChainDropdown = ( selectedValue: ChainOption | null @@ -109,21 +113,27 @@ export default function Home() {
- + + lineHeight={'110%'} + > Cosmos Apps Made Easy
- - Welcome to {' '} - + lineHeight={'110%'} + > + Welcome to CosmosKit + Telescope + Next.js @@ -139,20 +149,18 @@ export default function Home() { {chooseChain} {connectWalletButton}
- { - (chainId && !address) - ? <> - : ( - - {(chainId && address) ? addressCard : userInfoCard} - - ) - } + {chainId && !address ? ( + <> + ) : ( + + {chainId && address ? addressCard : userInfoCard} + + )}
- {products.map(product => )} + gap={{ base: '3', sm: '6', md: '8' }} + > + {products.map((product) => ( + + ))} - {dependencies.map((dependency) => )} + {dependencies.map((dependency, i) => ( + + ))}
@@ -182,4 +195,4 @@ export default function Home() { ); -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 4edc94c9f..fb12776dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -61,6 +61,27 @@ resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== +"@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz#39ad504991d77f1f3da91be0b8b949a5bc466fb8" + integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.10" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + "@babel/core@7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz#9be8c44512751b05094a4d3ab05fc53a47ce00ac" @@ -134,16 +155,16 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@^7.11.5", "@babel/generator@^7.9.6": - version "7.11.6" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz#b868900f81b163b4d464ea24545c61cbac4dc620" - integrity sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA== +"@babel/generator@7.18.12": + version "7.18.12" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz#fa58daa303757bd6f5e4bbca91b342040463d9f4" + integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== dependencies: - "@babel/types" "^7.11.5" + "@babel/types" "^7.18.10" + "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" - source-map "^0.5.0" -"@babel/generator@^7.18.13": +"@babel/generator@7.18.13", "@babel/generator@^7.18.10", "@babel/generator@^7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz#59550cbb9ae79b8def15587bdfbaa388c4abf212" integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== @@ -152,6 +173,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@^7.11.5", "@babel/generator@^7.9.6": + version "7.11.6" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz#b868900f81b163b4d464ea24545c61cbac4dc620" + integrity sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA== + dependencies: + "@babel/types" "^7.11.5" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/generator@^7.18.9", "@babel/generator@^7.7.2": version "7.18.9" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.9.tgz#68337e9ea8044d6ddc690fb29acae39359cca0a5" @@ -709,6 +739,11 @@ regenerator-runtime "^0.13.4" v8flags "^3.1.1" +"@babel/parser@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" + integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== + "@babel/parser@^7.1.0", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" @@ -724,7 +759,7 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.9.tgz#f2dde0c682ccc264a9a8595efd030a5cc8fd2539" integrity sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg== -"@babel/parser@^7.18.10", "@babel/parser@^7.18.13": +"@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz#5b2dd21cae4a2c5145f1fbd8ca103f9313d3b7e4" integrity sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg== @@ -1909,7 +1944,7 @@ "@babel/plugin-transform-react-jsx-self" "^7.9.0" "@babel/plugin-transform-react-jsx-source" "^7.9.0" -"@babel/preset-typescript@^7.16.7": +"@babel/preset-typescript@^7.16.7", "@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz#ce64be3e63eddc44240c6358daefac17b3186399" integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== @@ -1994,22 +2029,23 @@ "@babel/parser" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/traverse@^7.10.4", "@babel/traverse@^7.9.6": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz#be777b93b518eb6d76ee2e1ea1d143daa11e61c3" - integrity sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ== +"@babel/traverse@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" + integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.11.5" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/parser" "^7.11.5" - "@babel/types" "^7.11.5" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.11" + "@babel/types" "^7.18.10" debug "^4.1.0" globals "^11.1.0" - lodash "^4.17.19" -"@babel/traverse@^7.18.13", "@babel/traverse@^7.4.5": +"@babel/traverse@7.18.13", "@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.4.5": version "7.18.13" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz#5ab59ef51a997b3f10c4587d648b9696b6cb1a68" integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== @@ -2025,6 +2061,21 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.10.4", "@babel/traverse@^7.9.6": + version "7.11.5" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz#be777b93b518eb6d76ee2e1ea1d143daa11e61c3" + integrity sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.11.5" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/parser" "^7.11.5" + "@babel/types" "^7.11.5" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.19" + "@babel/traverse@^7.18.9", "@babel/traverse@^7.7.2": version "7.18.9" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.9.tgz#deeff3e8f1bad9786874cb2feda7a2d77a904f98" @@ -2056,6 +2107,24 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/types@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" + integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@7.18.13", "@babel/types@^7.18.10", "@babel/types@^7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" + integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" @@ -2074,15 +2143,6 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.18.10", "@babel/types@^7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" - integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== - dependencies: - "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" - to-fast-properties "^2.0.0" - "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.9.tgz#7148d64ba133d8d73a41b3172ac4b83a1452205f" @@ -2988,6 +3048,11 @@ resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== +"@cosmjson/wasmswap@^0.0.9": + version "0.0.9" + resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz#f8dc7c6ffcceb74c7e877a28606f86e7ff5baab4" + integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== + "@cosmos-kit/core@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.11.0.tgz#5535fa5720203ceccaa20e9dc61eac068b4ff599" @@ -3049,6 +3114,39 @@ "@walletconnect/client" "1.7.8" "@walletconnect/types" "1.7.8" +"@cosmwasm/ts-codegen@0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.13.1.tgz#eeb5918171e2bf635e55870ed8492aa88e47d5f3" + integrity sha512-q56nncxid1TwlgvOcszal4MUSiqVQw6iR4AOOKekwqbPEOdO9oPcGi5OBmo1Z/hPcB3kTP6p8L/0Md499zU3RA== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.9.0" + "@ctrl/tinycolor@^3.4.0": version "3.4.1" resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" @@ -3714,7 +3812,7 @@ jest-haste-map "^28.1.3" slash "^3.0.0" -"@jest/transform@^28.1.3": +"@jest/transform@28.1.3", "@jest/transform@^28.1.3": version "28.1.3" resolved "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== @@ -3787,6 +3885,11 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "@keplr-wallet/background@0.10.19": version "0.10.19" resolved "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.10.19.tgz#403503c09d306b0526e663f0ab84ad61d68b9b45" @@ -5022,6 +5125,107 @@ dependencies: "@octokit/openapi-types" "^12.11.0" +"@osmonauts/ast@^0.14.7": + version "0.14.7" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.14.7.tgz#2388744dc4160335b970ff6ff158e4a9b487cfbc" + integrity sha512-oSGRDrmO8wLSISBFGxLr3LtsuZE6tyqovgeiarW2lC+t4LIdlVff7OaTEehqn6RLgGnoFWCGw9mfHeTJET8zGg== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.13" + "@osmonauts/proto-parser" "^0.11.5" + "@osmonauts/types" "^0.9.4" + "@osmonauts/utils" "^0.3.13" + case "1.6.3" + dotty "0.1.2" + +"@osmonauts/helpers@^0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.4.3.tgz#f73cce20c2d05cc4ab056efdd1f16bb1e9eef76e" + integrity sha512-Dd6CXSKoAP4kLptE8Fx2vsEqc0Ai4kF07l4zPsfOYop9SH5ayOKkRTfAkrBjBr84FsMPyu5TEhJeqj1i//Q/jg== + dependencies: + "@babel/runtime" "^7.18.9" + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stargate" "0.28.13" + cosmjs-types "0.5.1" + long "^5.2.0" + protobufjs "^6.11.3" + +"@osmonauts/lcd@^0.4.0": + version "0.4.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.4.0.tgz#94c14df420559530e5fbaec2b64e6e0603629605" + integrity sha512-DjzU2ZqJ6DHkRpNfIfut1LIVYxdqo5IQf9sgYPiDF2hmTCxvYeAZ6uvCuiUiKJO0QdjBs3criv0/CH+Ytl5dsA== + dependencies: + "@babel/runtime" "^7.18.9" + axios "0.27.2" + +"@osmonauts/proto-parser@^0.11.5": + version "0.11.5" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.11.5.tgz#520fda78f671878d514212e1877440e644f5fd61" + integrity sha512-y7Gkc9bBLjeBL3wzLoMOCaDWvi7CGmR9ELqTSB0f9Qz44oeFubyZSDXMCnvAu87NZM/9d5T+dHSybHRGzyPTMw== + dependencies: + "@babel/runtime" "^7.18.9" + "@osmonauts/types" "^0.9.4" + "@pyramation/protobufjs" "6.11.3" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + +"@osmonauts/telescope@0.18.7": + version "0.18.7" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.18.7.tgz#75e60e21f3311d08f415a541a62054a81571b6d5" + integrity sha512-6dKVxOthxaVdcdG+xDPRrLLwsl0zqwDCJJh+lmSaOpfa1eK6ZIZx48Z/YhMUY5P29sXaMJU1r/iANWG0ctlLhw== + dependencies: + "@babel/core" "7.18.13" + "@babel/generator" "7.18.13" + "@babel/parser" "^7.18.13" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.17.12" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.13" + "@babel/types" "7.18.13" + "@cosmwasm/ts-codegen" "0.13.1" + "@osmonauts/ast" "^0.14.7" + "@osmonauts/proto-parser" "^0.11.5" + "@osmonauts/types" "^0.9.4" + "@osmonauts/utils" "^0.3.13" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + +"@osmonauts/types@^0.9.4": + version "0.9.4" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.9.4.tgz#62ae85ed8387f11add4b682414d697d268349ce8" + integrity sha512-OpPFOlvAeAQzmHl9+mtuBFYPaoW3K3Rro2j39duPDo52MP/cRCaoqhVAlhQD3NyorN1lgF0TefrnSapYg+Sw/Q== + dependencies: + "@babel/runtime" "^7.18.9" + "@osmonauts/utils" "^0.3.13" + case "1.6.3" + +"@osmonauts/utils@^0.3.13": + version "0.3.13" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.3.13.tgz#ec520833aefcd3eb7487f2b045772bb12ed8939b" + integrity sha512-mVQH7yRY8gidRC/OBzMvYuaeHd7mYHq4CMyVmcvqTFZZi7ZWlcKplR81r+GsDTInW1EN/acuBKmpOw8gG2PeKQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@popperjs/core@^2.9.3": version "2.11.6" resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" @@ -5094,6 +5298,54 @@ "@babel/preset-react" "7.9.4" babel-plugin-macros "2.8.0" +"@pyramation/json-schema-ref-parser@9.0.6": + version "9.0.6" + resolved "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" + integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== + dependencies: + "@jsdevtools/ono" "^7.1.3" + call-me-maybe "^1.0.1" + js-yaml "^3.13.1" + +"@pyramation/json-schema-to-typescript@ 11.0.4": + version "11.0.4" + resolved "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz#959bdb631dad336e1fdbf608a9b5908ab0da1d6b" + integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== + dependencies: + "@pyramation/json-schema-ref-parser" "9.0.6" + "@types/json-schema" "^7.0.11" + "@types/lodash" "^4.14.182" + "@types/prettier" "^2.6.1" + cli-color "^2.0.2" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^4.2.2" + is-glob "^4.0.3" + lodash "^4.17.21" + minimist "^1.2.6" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.6.2" + +"@pyramation/protobufjs@6.11.3": + version "6.11.3" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.3.tgz#208bd1ba985c915cb55e0c7d1e20a477683ec531" + integrity sha512-CxqX5IUZsrsZXidzCjw25iDcX0EghDk3I/riK3KXzgxguxHHwEPlFMOPUMnsnFtK95+PQ3WPzZFfslsvCcLveg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + "@rushstack/eslint-patch@^1.1.3": version "1.1.4" resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27" @@ -5223,6 +5475,14 @@ resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== +"@types/glob@^7.1.3": + version "7.2.0" + resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" + integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + "@types/graceful-fs@^4.1.3": version "4.1.5" resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" @@ -5257,6 +5517,11 @@ expect "^28.0.0" pretty-format "^28.0.0" +"@types/json-schema@^7.0.11": + version "7.0.11" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -5269,7 +5534,7 @@ dependencies: "@types/lodash" "*" -"@types/lodash@*": +"@types/lodash@*", "@types/lodash@^4.14.182": version "4.14.184" resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.184.tgz#23f96cd2a21a28e106dc24d825d4aa966de7a9fe" integrity sha512-RoZphVtHbxPZizt4IcILciSWiC6dcn+eZ8oX9IWEYfDMcocdd42f7NPI6fQj+6zI8y4E0L7gu2pcZKLGTRaV9Q== @@ -5279,6 +5544,11 @@ resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== +"@types/minimatch@*": + version "5.1.0" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.0.tgz#c3018161691376002f8a22ebb87f341e0dba3219" + integrity sha512-0RJHq5FqDWo17kdHe+SMDJLfxmLaqHbWnqZ6gNKzDvStUlrmx/eKIY17+ifLS1yybo7X86aUshQMlittDOVNnw== + "@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" @@ -5324,11 +5594,21 @@ resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== +"@types/parse-package-name@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== + "@types/prettier@^2.1.5": version "2.6.4" resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.6.4.tgz#ad899dad022bab6b5a9f0a0fe67c2f7a4a8950ed" integrity sha512-fOwvpvQYStpb/zHMx0Cauwywu9yLDmzWiiQBC7gJyq5tYLUXFZvDG7VK1B7WBxxjBJNKFOZ0zLoOQn8vmATbhw== +"@types/prettier@^2.6.1": + version "2.7.0" + resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" + integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== + "@types/prop-types@*": version "15.7.5" resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" @@ -5749,6 +6029,11 @@ ansi-styles@^5.0.0: resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + anymatch@^3.0.3: version "3.1.1" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" @@ -5888,6 +6173,13 @@ assert-plus@1.0.0, assert-plus@^1.0.0: resolved "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= +ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== + dependencies: + "@babel/runtime" "^7.11.2" + ast-types-flow@^0.0.7: version "0.0.7" resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" @@ -6353,6 +6645,11 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-me-maybe@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" + integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== + callsites@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -6528,6 +6825,17 @@ clean-stack@^2.0.0: resolved "https://registry.npmjs.org/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.npmjs.org/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" + integrity sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.61" + es6-iterator "^2.0.3" + memoizee "^0.4.15" + timers-ext "^0.1.7" + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -6858,6 +7166,14 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cosmjs-types@0.5.1: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz#f9bc35e78c32b687fb6018dc573eb454b3ae2587" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + cosmjs-types@^0.4.0: version "0.4.1" resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" @@ -6959,6 +7275,14 @@ curve25519-js@0.0.4: resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + damerau-levenshtein@^1.0.8: version "1.0.8" resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" @@ -7180,6 +7504,11 @@ dot-prop@^6.0.1: dependencies: is-obj "^2.0.0" +dotty@0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz#512d44cc4111a724931226259297f235e8484f6f" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + duplexer@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" @@ -7327,6 +7656,42 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: + version "0.10.62" + resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" + integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + next-tick "^1.1.0" + +es6-iterator@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + +es6-symbol@^3.1.1, es6-symbol@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + escalade@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz#e8e2d7c7a8b76f6ee64c2181d6b8151441602d4e" @@ -7589,6 +7954,14 @@ esutils@^2.0.2: resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + eventemitter3@^4.0.4, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -7635,6 +8008,13 @@ expect@^28.0.0, expect@^28.1.3: jest-message-util "^28.1.3" jest-util "^28.1.3" +ext@^1.1.2: + version "1.6.0" + resolved "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" + integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== + dependencies: + type "^2.5.0" + extend@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" @@ -8005,6 +8385,11 @@ get-port@^5.1.1: resolved "https://registry.npmjs.org/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.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + get-stream@^6.0.0: version "6.0.1" resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -8088,6 +8473,13 @@ glob-parent@^6.0.1: dependencies: is-glob "^4.0.3" +glob-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz#15f44bcba0e14219cd93af36da6bb905ff007877" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== + dependencies: + "@types/glob" "^7.1.3" + glob@7.1.7: version "7.1.7" resolved "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" @@ -8745,6 +9137,11 @@ is-plain-object@^5.0.0: resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== + is-regex@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" @@ -9668,7 +10065,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9688,6 +10085,11 @@ long@^4.0.0: resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz#2696dadf4b4da2ce3f6f6b89186085d94d52fd61" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -9702,6 +10104,13 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" + lz-string@^1.4.4: version "1.4.4" resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" @@ -9810,6 +10219,20 @@ memoize-one@^5.0.0: resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e" integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== +memoizee@^0.4.15: + version "0.4.15" + resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz#e6f3d2da863f318d02225391829a6c5956555b72" + integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.53" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + meow@^8.0.0: version "8.1.2" resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" @@ -9882,6 +10305,13 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== +minimatch@5.1.0, minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -9889,13 +10319,6 @@ minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1: - version "5.1.0" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" - integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== - dependencies: - brace-expansion "^2.0.1" - minimist-options@4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -10079,6 +10502,15 @@ mute-stream@0.0.8, mute-stream@~0.0.4: resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + nan@^2.13.2: version "2.16.0" resolved "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" @@ -10104,6 +10536,11 @@ neo-async@^2.6.0: resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== +next-tick@1, next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + next@12.2.5: version "12.2.5" resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz#14fb5975e8841fad09553b8ef41fe1393602b717" @@ -10370,7 +10807,7 @@ oauth-sign@~0.9.0: resolved "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= @@ -10694,6 +11131,11 @@ parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/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.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" @@ -10865,7 +11307,7 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.7.1, prettier@^2.1.2: +prettier@2.7.1, prettier@^2.1.2, prettier@^2.6.2: version "2.7.1" resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== @@ -10936,7 +11378,7 @@ proto-list@~1.2.1: resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= -protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: +protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: version "6.11.3" resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== @@ -11561,6 +12003,13 @@ reusify@^1.0.4: resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== +rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + rimraf@^2.6.3: version "2.7.1" resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -11568,13 +12017,6 @@ rimraf@^2.6.3: dependencies: glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - ripemd160-min@0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/ripemd160-min/-/ripemd160-min-0.0.6.tgz#a904b77658114474d02503e819dcc55853b67e62" @@ -12303,6 +12745,20 @@ text-table@^0.2.0: resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + through2@^2.0.0: version "2.0.5" resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" @@ -12323,6 +12779,14 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + tiny-inflate@^1.0.0: version "1.0.3" resolved "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz#122715494913a1805166aaf7c93467933eea26c4" @@ -12498,6 +12962,16 @@ type-tagger@^1.0.0: resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== +type@^1.0.1: + version "1.2.0" + resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.5.0: + version "2.7.2" + resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" @@ -12764,6 +13238,18 @@ warning@^4.0.3: dependencies: loose-envify "^1.0.0" +wasm-ast-types@^0.9.0: + version "0.9.0" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.9.0.tgz#d0f15f669286d3bc32340f9017d6bdbe2bd8c9d8" + integrity sha512-C/dzYTSa/2Zxhzup2G5mEi1Vt2/rGI7MHTNgRwB4F++7Uh7cY+U3rVwD/Syanyj9RZss4kcW/ZczwC0Rg9ab6A== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" From 0ec966832fb5bdcddcc83a698fe1d72a8b5b2947 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:44:01 -0700 Subject: [PATCH 020/262] examples --- packages/create-cosmos-app/src/git-cca-template.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 145035692..9bcd72b56 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -23,6 +23,11 @@ export const createApp = (repo: string) => { return shell.exit(1); } + let folderName: 'templates' | 'examples' = 'templates'; + if (argv.examples) { + folderName = 'examples'; + } + const tempname = Math.random().toString(36).slice(2, 7); const dir = join(argv.tmpdir || tmpdir(), tempname); mkdirp(dir); @@ -30,7 +35,7 @@ export const createApp = (repo: string) => { shell.cd(dir); shell.exec(`git clone ${repo} ${name}`); shell.cd(name); - const list = shell.ls('./templates'); + const list = shell.ls(`./${folderName}`); const { template } = await prompt([ { @@ -43,8 +48,8 @@ export const createApp = (repo: string) => { ], argv); const files = [] - .concat(glob(join(process.cwd(), 'templates', template, '/**/.*'))) - .concat(glob(join(process.cwd(), 'templates', template, '/**/*'))); + .concat(glob(join(process.cwd(), folderName, template, '/**/.*'))) + .concat(glob(join(process.cwd(), folderName, template, '/**/*'))); for (let i = 0; i < files.length; i++) { const templateFile = files[i]; @@ -52,7 +57,7 @@ export const createApp = (repo: string) => { let content = fs.readFileSync(templateFile).toString(); - const localfile = templateFile.split('templates/' + template)[1]; + const localfile = templateFile.split(`${folderName}/` + template)[1]; const localdir = dirname(localfile); const dirpath = join(currentDirecotry, name, localdir); const filepath = join(currentDirecotry, name, localfile); From 07a99182d86ed0da33cc17d29eefab2a73e37b3e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:44:12 -0700 Subject: [PATCH 021/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.2 - create-cosmos-app@0.0.11 - @cosmonauts/connect-chain@0.1.2 - @cosmonauts/connect-multi-chain@0.1.2 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 4 ++-- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 4 ++-- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 4 ++-- 8 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 examples/telescope-with-contracts/CHANGELOG.md diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md new file mode 100644 index 000000000..9408bf198 --- /dev/null +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 6b79a832f..69d5632bb 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.1", + "version": "0.1.2", "private": true, "scripts": { "dev": "next dev", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 1f706557e..23c7e8e4f 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.11](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.10...create-cosmos-app@0.0.11) (2022-08-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.10](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.9...create-cosmos-app@0.0.10) (2022-08-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index bd292a1ae..0e45a7612 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.10", + "version": "0.0.11", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index c0fd9e096..4f73e0f89 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## 0.1.1 (2022-08-24) **Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index fb52301cd..ef526bf27 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.1", + "version": "0.1.2", "private": true, "scripts": { "dev": "next dev", @@ -31,4 +31,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index ca2fc3794..a02daaca0 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## 0.1.1 (2022-08-24) **Note:** Version bump only for package @cosmos-app/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 2ce9fdf50..41671b2e9 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.1", + "version": "0.1.2", "private": true, "scripts": { "dev": "next dev", @@ -34,4 +34,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} From a2f26d30ea9b3bc150e03b66d83f07eef43406f9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:46:04 -0700 Subject: [PATCH 022/262] ex --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 9bcd72b56..bac9b0885 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -24,7 +24,7 @@ export const createApp = (repo: string) => { } let folderName: 'templates' | 'examples' = 'templates'; - if (argv.examples) { + if (argv.examples || argv.example) { folderName = 'examples'; } From 134389b8c09deef2dfc8a9ca817e2fb41794855d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:46:11 -0700 Subject: [PATCH 023/262] chore(release): publish - create-cosmos-app@0.0.12 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 23c7e8e4f..ecdc5a5ae 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.12](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.11...create-cosmos-app@0.0.12) (2022-08-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.11](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.10...create-cosmos-app@0.0.11) (2022-08-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 0e45a7612..b430facd1 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.11", + "version": "0.0.12", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From d335675d262a2c20889539e5a4f5f44665b0ad3c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:50:29 -0700 Subject: [PATCH 024/262] examples --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index bac9b0885..c5b2836a2 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -24,7 +24,7 @@ export const createApp = (repo: string) => { } let folderName: 'templates' | 'examples' = 'templates'; - if (argv.examples || argv.example) { + if (argv.examples || argv.example || argv.ex) { folderName = 'examples'; } From b980ddd90034f9ab6fd81ef5f17a21851823b83a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:50:36 -0700 Subject: [PATCH 025/262] chore(release): publish - create-cosmos-app@0.1.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index ecdc5a5ae..06f5c01e2 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.12...create-cosmos-app@0.1.0) (2022-08-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.0.12](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.11...create-cosmos-app@0.0.12) (2022-08-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index b430facd1..00e4d32de 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.0.12", + "version": "0.1.0", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From c5d23a73fff95f156dbf1305500c84bddc96b80f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:51:12 -0700 Subject: [PATCH 026/262] examples --- packages/create-cosmos-app/package.json | 3 ++- packages/create-cosmos-app/src/git-cca-template.ts | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 00e4d32de..170bb38cb 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -88,5 +88,6 @@ "minimist": "1.2.6", "mkdirp": "1.0.4", "shelljs": "0.8.5" - } + }, + "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" } diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index c5b2836a2..aa5ef60ae 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -17,17 +17,14 @@ export const createApp = (repo: string) => { required: true, } ], argv); - if (!shell.which('git')) { shell.echo('Sorry, this script requires git'); return shell.exit(1); } - let folderName: 'templates' | 'examples' = 'templates'; if (argv.examples || argv.example || argv.ex) { folderName = 'examples'; } - const tempname = Math.random().toString(36).slice(2, 7); const dir = join(argv.tmpdir || tmpdir(), tempname); mkdirp(dir); From 28d4622049a020d3d6897e719aa92492e4a18fa3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:51:16 -0700 Subject: [PATCH 027/262] chore(release): publish - create-cosmos-app@0.2.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 06f5c01e2..82ad43433 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.1.0...create-cosmos-app@0.2.0) (2022-08-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.0.12...create-cosmos-app@0.1.0) (2022-08-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 170bb38cb..12951b24a 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.1.0", + "version": "0.2.0", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 21755748202e3bcc5f18bf5d82b112645018946c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 20:56:36 -0700 Subject: [PATCH 028/262] protos --- .../codegen/confio/proofs.ts | 1534 ++++++ .../codegen/cosmos/app/v1alpha1/config.ts | 172 + .../codegen/cosmos/app/v1alpha1/module.ts | 308 ++ .../cosmos/app/v1alpha1/query.rpc.query.ts | 26 + .../codegen/cosmos/app/v1alpha1/query.ts | 112 + .../codegen/cosmos/auth/v1beta1/auth.ts | 316 ++ .../codegen/cosmos/auth/v1beta1/genesis.ts | 88 + .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 88 + .../cosmos/auth/v1beta1/query.rpc.query.ts | 90 + .../codegen/cosmos/auth/v1beta1/query.ts | 865 ++++ .../codegen/cosmos/authz/v1beta1/authz.ts | 327 ++ .../codegen/cosmos/authz/v1beta1/event.ts | 188 + .../codegen/cosmos/authz/v1beta1/genesis.ts | 70 + .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 75 + .../cosmos/authz/v1beta1/query.rpc.query.ts | 51 + .../codegen/cosmos/authz/v1beta1/query.ts | 515 ++ .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 53 + .../codegen/cosmos/authz/v1beta1/tx.ts | 437 ++ .../codegen/cosmos/bank/v1beta1/authz.ts | 75 + .../codegen/cosmos/bank/v1beta1/bank.ts | 703 +++ .../codegen/cosmos/bank/v1beta1/genesis.ts | 218 + .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 135 + .../cosmos/bank/v1beta1/query.rpc.query.ts | 111 + .../codegen/cosmos/bank/v1beta1/query.ts | 1400 ++++++ .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 37 + .../codegen/cosmos/bank/v1beta1/tx.ts | 276 ++ .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1148 +++++ .../codegen/cosmos/base/kv/v1beta1/kv.ts | 145 + .../cosmos/base/query/v1beta1/pagination.ts | 246 + .../base/reflection/v1beta1/reflection.ts | 254 + .../base/reflection/v2alpha1/reflection.ts | 1853 +++++++ .../cosmos/base/snapshots/v1beta1/snapshot.ts | 759 +++ .../cosmos/base/store/v1beta1/commit_info.ts | 242 + .../cosmos/base/store/v1beta1/listening.ts | 112 + .../base/tendermint/v1beta1/query.rpc.svc.ts | 80 + .../cosmos/base/tendermint/v1beta1/query.ts | 1181 +++++ .../codegen/cosmos/base/v1beta1/coin.ts | 286 ++ .../codegen/cosmos/bundle.ts | 395 ++ .../cosmos/capability/v1beta1/capability.ts | 216 + .../cosmos/capability/v1beta1/genesis.ts | 168 + .../codegen/cosmos/crisis/v1beta1/genesis.ts | 69 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 25 + .../codegen/cosmos/crisis/v1beta1/tx.ts | 136 + .../codegen/cosmos/crypto/ed25519/keys.ts | 135 + .../codegen/cosmos/crypto/hd/v1/hd.ts | 128 + .../cosmos/crypto/keyring/v1/record.ts | 374 ++ .../codegen/cosmos/crypto/multisig/keys.ts | 88 + .../crypto/multisig/v1beta1/multisig.ts | 154 + .../codegen/cosmos/crypto/secp256k1/keys.ts | 132 + .../codegen/cosmos/crypto/secp256r1/keys.ts | 131 + .../distribution/v1beta1/distribution.ts | 1048 ++++ .../cosmos/distribution/v1beta1/genesis.ts | 861 ++++ .../cosmos/distribution/v1beta1/query.lcd.ts | 145 + .../distribution/v1beta1/query.rpc.query.ts | 109 + .../cosmos/distribution/v1beta1/query.ts | 1277 +++++ .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 60 + .../codegen/cosmos/distribution/v1beta1/tx.ts | 536 ++ .../cosmos/evidence/v1beta1/evidence.ts | 107 + .../cosmos/evidence/v1beta1/genesis.ts | 71 + .../cosmos/evidence/v1beta1/query.lcd.ts | 47 + .../evidence/v1beta1/query.rpc.query.ts | 37 + .../codegen/cosmos/evidence/v1beta1/query.ts | 283 ++ .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 27 + .../codegen/cosmos/evidence/v1beta1/tx.ts | 144 + .../cosmos/feegrant/v1beta1/feegrant.ts | 421 ++ .../cosmos/feegrant/v1beta1/genesis.ts | 70 + .../cosmos/feegrant/v1beta1/query.lcd.ts | 52 + .../feegrant/v1beta1/query.rpc.query.ts | 48 + .../codegen/cosmos/feegrant/v1beta1/query.ts | 467 ++ .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 38 + .../codegen/cosmos/feegrant/v1beta1/tx.ts | 269 + .../codegen/cosmos/genutil/v1beta1/genesis.ts | 71 + .../codegen/cosmos/gov/v1/genesis.ts | 172 + .../codegen/cosmos/gov/v1/gov.ts | 1000 ++++ .../codegen/cosmos/gov/v1/query.lcd.ts | 149 + .../codegen/cosmos/gov/v1/query.rpc.query.ts | 97 + .../codegen/cosmos/gov/v1/query.ts | 1213 +++++ .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 69 + .../codegen/cosmos/gov/v1/tx.ts | 751 +++ .../codegen/cosmos/gov/v1beta1/genesis.ts | 172 + .../codegen/cosmos/gov/v1beta1/gov.ts | 1069 ++++ .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 149 + .../cosmos/gov/v1beta1/query.rpc.query.ts | 97 + .../codegen/cosmos/gov/v1beta1/query.ts | 1213 +++++ .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 60 + .../codegen/cosmos/gov/v1beta1/tx.ts | 586 +++ .../codegen/cosmos/group/v1/events.ts | 600 +++ .../codegen/cosmos/group/v1/genesis.ts | 208 + .../codegen/cosmos/group/v1/query.lcd.ts | 203 + .../cosmos/group/v1/query.rpc.query.ts | 147 + .../codegen/cosmos/group/v1/query.ts | 1945 ++++++++ .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 157 + .../codegen/cosmos/group/v1/tx.ts | 2197 +++++++++ .../codegen/cosmos/group/v1/types.ts | 1577 ++++++ .../codegen/cosmos/lcd.ts | 81 + .../codegen/cosmos/mint/v1beta1/genesis.ts | 81 + .../codegen/cosmos/mint/v1beta1/mint.ts | 218 + .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 33 + .../cosmos/mint/v1beta1/query.rpc.query.ts | 46 + .../codegen/cosmos/mint/v1beta1/query.ts | 339 ++ .../codegen/cosmos/msg/v1/msg.ts | 1 + .../codegen/cosmos/nft/v1beta1/event.ts | 279 ++ .../codegen/cosmos/nft/v1beta1/genesis.ts | 174 + .../codegen/cosmos/nft/v1beta1/nft.ts | 279 ++ .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 126 + .../cosmos/nft/v1beta1/query.rpc.query.ts | 88 + .../codegen/cosmos/nft/v1beta1/query.ts | 976 ++++ .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 25 + .../codegen/cosmos/nft/v1beta1/tx.ts | 156 + .../codegen/cosmos/orm/v1/orm.ts | 392 ++ .../codegen/cosmos/orm/v1alpha1/schema.ts | 289 ++ .../codegen/cosmos/params/v1beta1/params.ts | 187 + .../cosmos/params/v1beta1/query.lcd.ts | 40 + .../cosmos/params/v1beta1/query.rpc.query.ts | 37 + .../codegen/cosmos/params/v1beta1/query.ts | 348 ++ .../codegen/cosmos/rpc.query.ts | 55 + .../codegen/cosmos/rpc.tx.ts | 49 + .../cosmos/slashing/v1beta1/genesis.ts | 356 ++ .../cosmos/slashing/v1beta1/query.lcd.ts | 53 + .../slashing/v1beta1/query.rpc.query.ts | 47 + .../codegen/cosmos/slashing/v1beta1/query.ts | 394 ++ .../cosmos/slashing/v1beta1/slashing.ts | 268 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 27 + .../codegen/cosmos/slashing/v1beta1/tx.ts | 110 + .../codegen/cosmos/staking/v1beta1/authz.ts | 251 + .../codegen/cosmos/staking/v1beta1/genesis.ts | 279 ++ .../cosmos/staking/v1beta1/query.lcd.ts | 241 + .../cosmos/staking/v1beta1/query.rpc.query.ts | 161 + .../codegen/cosmos/staking/v1beta1/query.ts | 2111 ++++++++ .../codegen/cosmos/staking/v1beta1/staking.ts | 2036 ++++++++ .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 72 + .../codegen/cosmos/staking/v1beta1/tx.ts | 802 +++ .../cosmos/tx/signing/v1beta1/signing.ts | 510 ++ .../cosmos/tx/v1beta1/service.rpc.svc.ts | 72 + .../codegen/cosmos/tx/v1beta1/service.ts | 986 ++++ .../codegen/cosmos/tx/v1beta1/tx.ts | 1456 ++++++ .../cosmos/upgrade/v1beta1/query.lcd.ts | 68 + .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 73 + .../codegen/cosmos/upgrade/v1beta1/query.ts | 651 +++ .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 41 + .../codegen/cosmos/upgrade/v1beta1/tx.ts | 252 + .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 412 ++ .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 50 + .../codegen/cosmos/vesting/v1beta1/tx.ts | 475 ++ .../codegen/cosmos/vesting/v1beta1/vesting.ts | 527 ++ .../codegen/cosmos_proto/bundle.ts | 3 + .../codegen/cosmos_proto/cosmos.ts | 265 + .../codegen/cosmwasm/bundle.ts | 30 + .../codegen/cosmwasm/lcd.ts | 88 + .../codegen/cosmwasm/rpc.query.ts | 60 + .../codegen/cosmwasm/rpc.tx.ts | 54 + .../codegen/cosmwasm/wasm/v1/genesis.ts | 502 ++ .../codegen/cosmwasm/wasm/v1/ibc.ts | 181 + .../codegen/cosmwasm/wasm/v1/proposal.ts | 1114 +++++ .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 143 + .../cosmwasm/wasm/v1/query.rpc.query.ts | 107 + .../codegen/cosmwasm/wasm/v1/query.ts | 1481 ++++++ .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 77 + .../codegen/cosmwasm/wasm/v1/tx.ts | 1002 ++++ .../codegen/cosmwasm/wasm/v1/types.ts | 862 ++++ .../codegen/gogoproto/bundle.ts | 3 + .../codegen/gogoproto/gogo.ts | 1 + .../codegen/google/api/annotations.ts | 1 + .../codegen/google/api/http.ts | 683 +++ .../codegen/google/bundle.ts | 35 +- .../codegen/google/protobuf/descriptor.ts | 4162 ++++++++++++++++ .../ibc/applications/transfer/v1/genesis.ts | 97 + .../ibc/applications/transfer/v1/query.lcd.ts | 45 + .../transfer/v1/query.rpc.query.ts | 47 + .../ibc/applications/transfer/v1/query.ts | 398 ++ .../ibc/applications/transfer/v1/transfer.ts | 175 + .../applications/transfer/v1/tx.rpc.msg.ts | 27 + .../ibc/applications/transfer/v1/tx.ts | 213 + .../ibc/applications/transfer/v2/packet.ts | 114 + .../codegen/ibc/bundle.ts | 121 + .../codegen/ibc/core/channel/v1/channel.ts | 878 ++++ .../codegen/ibc/core/channel/v1/genesis.ts | 285 ++ .../codegen/ibc/core/channel/v1/query.lcd.ts | 283 ++ .../ibc/core/channel/v1/query.rpc.query.ts | 157 + .../codegen/ibc/core/channel/v1/query.ts | 2536 ++++++++++ .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 118 + .../codegen/ibc/core/channel/v1/tx.ts | 1633 ++++++ .../codegen/ibc/core/client/v1/client.ts | 640 +++ .../codegen/ibc/core/client/v1/genesis.ts | 320 ++ .../codegen/ibc/core/client/v1/query.lcd.ts | 126 + .../ibc/core/client/v1/query.rpc.query.ts | 100 + .../codegen/ibc/core/client/v1/query.ts | 1176 +++++ .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 56 + .../codegen/ibc/core/client/v1/tx.ts | 622 +++ .../ibc/core/commitment/v1/commitment.ts | 280 ++ .../ibc/core/connection/v1/connection.ts | 764 +++ .../codegen/ibc/core/connection/v1/genesis.ts | 117 + .../ibc/core/connection/v1/query.lcd.ts | 102 + .../ibc/core/connection/v1/query.rpc.query.ts | 72 + .../codegen/ibc/core/connection/v1/query.ts | 869 ++++ .../ibc/core/connection/v1/tx.rpc.msg.ts | 59 + .../codegen/ibc/core/connection/v1/tx.ts | 837 ++++ .../ibc/core/port/v1/query.rpc.query.ts | 26 + .../codegen/ibc/core/port/v1/query.ts | 204 + .../codegen/ibc/core/types/v1/genesis.ts | 99 + .../codegen/ibc/lcd.ts | 107 + .../lightclients/localhost/v1/localhost.ts | 84 + .../solomachine/v1/solomachine.ts | 1542 ++++++ .../solomachine/v2/solomachine.ts | 1542 ++++++ .../lightclients/tendermint/v1/tendermint.ts | 627 +++ .../codegen/ibc/rpc.query.ts | 76 + .../codegen/ibc/rpc.tx.ts | 67 + .../codegen/ics23/bundle.ts | 3 + .../telescope-with-contracts/codegen/index.ts | 7 + .../codegen/tendermint/abci/types.ts | 4372 +++++++++++++++++ .../codegen/tendermint/bundle.ts | 32 + .../codegen/tendermint/crypto/keys.ts | 77 + .../codegen/tendermint/crypto/proof.ts | 429 ++ .../codegen/tendermint/libs/bits/types.ts | 93 + .../codegen/tendermint/p2p/types.ts | 504 ++ .../codegen/tendermint/types/block.ts | 103 + .../codegen/tendermint/types/evidence.ts | 378 ++ .../codegen/tendermint/types/params.ts | 531 ++ .../codegen/tendermint/types/types.ts | 1506 ++++++ .../codegen/tendermint/types/validator.ts | 267 + .../codegen/tendermint/version/types.ts | 160 + .../telescope-with-contracts/package.json | 5 +- .../proto/confio/LICENSE | 204 + .../proto/confio/README.md | 1 + .../proto/confio/proofs.proto | 234 + .../proto/cosmos/LICENSE | 204 + .../proto/cosmos/README.md | 1 + .../proto/cosmos/app/v1alpha1/config.proto | 36 + .../proto/cosmos/app/v1alpha1/module.proto | 93 + .../proto/cosmos/app/v1alpha1/query.proto | 22 + .../proto/cosmos/auth/v1beta1/auth.proto | 47 + .../proto/cosmos/auth/v1beta1/genesis.proto | 17 + .../proto/cosmos/auth/v1beta1/query.proto | 130 + .../proto/cosmos/authz/v1beta1/authz.proto | 46 + .../proto/cosmos/authz/v1beta1/event.proto | 27 + .../proto/cosmos/authz/v1beta1/genesis.proto | 13 + .../proto/cosmos/authz/v1beta1/query.proto | 82 + .../proto/cosmos/authz/v1beta1/tx.proto | 75 + .../proto/cosmos/bank/v1beta1/authz.proto | 19 + .../proto/cosmos/bank/v1beta1/bank.proto | 108 + .../proto/cosmos/bank/v1beta1/genesis.proto | 40 + .../proto/cosmos/bank/v1beta1/query.proto | 231 + .../proto/cosmos/bank/v1beta1/tx.proto | 48 + .../proto/cosmos/base/abci/v1beta1/abci.proto | 158 + .../proto/cosmos/base/kv/v1beta1/kv.proto | 17 + .../base/query/v1beta1/pagination.proto | 56 + .../base/reflection/v1beta1/reflection.proto | 44 + .../base/reflection/v2alpha1/reflection.proto | 218 + .../base/snapshots/v1beta1/snapshot.proto | 70 + .../base/store/v1beta1/commit_info.proto | 29 + .../cosmos/base/store/v1beta1/listening.proto | 16 + .../base/tendermint/v1beta1/query.proto | 138 + .../proto/cosmos/base/v1beta1/coin.proto | 43 + .../capability/v1beta1/capability.proto | 30 + .../cosmos/capability/v1beta1/genesis.proto | 26 + .../proto/cosmos/crisis/v1beta1/genesis.proto | 14 + .../proto/cosmos/crisis/v1beta1/tx.proto | 29 + .../proto/cosmos/crypto/ed25519/keys.proto | 23 + .../proto/cosmos/crypto/hd/v1/hd.proto | 23 + .../cosmos/crypto/keyring/v1/record.proto | 47 + .../proto/cosmos/crypto/multisig/keys.proto | 17 + .../crypto/multisig/v1beta1/multisig.proto | 25 + .../proto/cosmos/crypto/secp256k1/keys.proto | 22 + .../proto/cosmos/crypto/secp256r1/keys.proto | 23 + .../distribution/v1beta1/distribution.proto | 154 + .../cosmos/distribution/v1beta1/genesis.proto | 144 + .../cosmos/distribution/v1beta1/query.proto | 219 + .../cosmos/distribution/v1beta1/tx.proto | 95 + .../cosmos/evidence/v1beta1/evidence.proto | 22 + .../cosmos/evidence/v1beta1/genesis.proto | 12 + .../proto/cosmos/evidence/v1beta1/query.proto | 51 + .../proto/cosmos/evidence/v1beta1/tx.proto | 35 + .../cosmos/feegrant/v1beta1/feegrant.proto | 78 + .../cosmos/feegrant/v1beta1/genesis.proto | 13 + .../proto/cosmos/feegrant/v1beta1/query.proto | 79 + .../proto/cosmos/feegrant/v1beta1/tx.proto | 53 + .../cosmos/genutil/v1beta1/genesis.proto | 12 + .../proto/cosmos/gov/v1/genesis.proto | 26 + .../proto/cosmos/gov/v1/gov.proto | 132 + .../proto/cosmos/gov/v1/query.proto | 183 + .../proto/cosmos/gov/v1/tx.proto | 100 + .../proto/cosmos/gov/v1beta1/genesis.proto | 26 + .../proto/cosmos/gov/v1beta1/gov.proto | 201 + .../proto/cosmos/gov/v1beta1/query.proto | 191 + .../proto/cosmos/gov/v1beta1/tx.proto | 106 + .../proto/cosmos/group/v1/events.proto | 77 + .../proto/cosmos/group/v1/genesis.proto | 38 + .../proto/cosmos/group/v1/query.proto | 308 ++ .../proto/cosmos/group/v1/tx.proto | 364 ++ .../proto/cosmos/group/v1/types.proto | 308 ++ .../proto/cosmos/mint/v1beta1/genesis.proto | 16 + .../proto/cosmos/mint/v1beta1/mint.proto | 57 + .../proto/cosmos/mint/v1beta1/query.proto | 57 + .../proto/cosmos/msg/v1/msg.proto | 22 + .../proto/cosmos/nft/v1beta1/event.proto | 26 + .../proto/cosmos/nft/v1beta1/genesis.proto | 22 + .../proto/cosmos/nft/v1beta1/nft.proto | 48 + .../proto/cosmos/nft/v1beta1/query.proto | 125 + .../proto/cosmos/nft/v1beta1/tx.proto | 30 + .../proto/cosmos/orm/v1/orm.proto | 104 + .../proto/cosmos/orm/v1alpha1/schema.proto | 76 + .../proto/cosmos/params/v1beta1/params.proto | 29 + .../proto/cosmos/params/v1beta1/query.proto | 54 + .../cosmos/slashing/v1beta1/genesis.proto | 47 + .../proto/cosmos/slashing/v1beta1/query.proto | 64 + .../cosmos/slashing/v1beta1/slashing.proto | 45 + .../proto/cosmos/slashing/v1beta1/tx.proto | 30 + .../proto/cosmos/staking/v1beta1/authz.proto | 47 + .../cosmos/staking/v1beta1/genesis.proto | 49 + .../proto/cosmos/staking/v1beta1/query.proto | 349 ++ .../cosmos/staking/v1beta1/staking.proto | 358 ++ .../proto/cosmos/staking/v1beta1/tx.proto | 138 + .../cosmos/tx/signing/v1beta1/signing.proto | 94 + .../proto/cosmos/tx/v1beta1/service.proto | 163 + .../proto/cosmos/tx/v1beta1/tx.proto | 249 + .../proto/cosmos/upgrade/v1beta1/query.proto | 120 + .../proto/cosmos/upgrade/v1beta1/tx.proto | 55 + .../cosmos/upgrade/v1beta1/upgrade.proto | 86 + .../proto/cosmos/vesting/v1beta1/tx.proto | 74 + .../cosmos/vesting/v1beta1/vesting.proto | 76 + .../proto/cosmos_proto/LICENSE | 204 + .../proto/cosmos_proto/README.md | 1 + .../proto/cosmos_proto/cosmos.proto | 97 + .../proto/cosmwasm/LICENSE | 204 + .../proto/cosmwasm/README.md | 1 + .../proto/cosmwasm/wasm/v1/genesis.proto | 60 + .../proto/cosmwasm/wasm/v1/ibc.proto | 31 + .../proto/cosmwasm/wasm/v1/proposal.proto | 150 + .../proto/cosmwasm/wasm/v1/query.proto | 223 + .../proto/cosmwasm/wasm/v1/tx.proto | 135 + .../proto/cosmwasm/wasm/v1/types.proto | 140 + .../proto/gogoproto/LICENSE | 34 + .../proto/gogoproto/README.md | 1 + .../proto/gogoproto/gogo.proto | 145 + .../proto/google/LICENSE | 201 + .../proto/google/README.md | 1 + .../proto/google/api/annotations.proto | 31 + .../proto/google/api/http.proto | 375 ++ .../proto/google/protobuf/any.proto | 155 + .../proto/google/protobuf/descriptor.proto | 885 ++++ .../proto/google/protobuf/duration.proto | 116 + .../proto/google/protobuf/empty.proto | 52 + .../proto/google/protobuf/timestamp.proto | 138 + .../proto/ibc/LICENSE | 21 + .../proto/ibc/README.md | 1 + .../applications/transfer/v1/genesis.proto | 19 + .../ibc/applications/transfer/v1/query.proto | 67 + .../applications/transfer/v1/transfer.proto | 30 + .../ibc/applications/transfer/v1/tx.proto | 44 + .../ibc/applications/transfer/v2/packet.proto | 19 + .../proto/ibc/core/channel/v1/channel.proto | 148 + .../proto/ibc/core/channel/v1/genesis.proto | 32 + .../proto/ibc/core/channel/v1/query.proto | 376 ++ .../proto/ibc/core/channel/v1/tx.proto | 211 + .../proto/ibc/core/client/v1/client.proto | 104 + .../proto/ibc/core/client/v1/genesis.proto | 48 + .../proto/ibc/core/client/v1/query.proto | 184 + .../proto/ibc/core/client/v1/tx.proto | 99 + .../ibc/core/commitment/v1/commitment.proto | 41 + .../ibc/core/connection/v1/connection.proto | 114 + .../ibc/core/connection/v1/genesis.proto | 18 + .../proto/ibc/core/connection/v1/query.proto | 138 + .../proto/ibc/core/connection/v1/tx.proto | 119 + .../proto/ibc/core/port/v1/query.proto | 35 + .../proto/ibc/core/types/v1/genesis.proto | 23 + .../lightclients/localhost/v1/localhost.proto | 18 + .../solomachine/v1/solomachine.proto | 189 + .../solomachine/v2/solomachine.proto | 189 + .../tendermint/v1/tendermint.proto | 115 + .../proto/tendermint/LICENSE | 204 + .../proto/tendermint/README.md | 1 + .../proto/tendermint/abci/types.proto | 394 ++ .../proto/tendermint/crypto/keys.proto | 17 + .../proto/tendermint/crypto/proof.proto | 41 + .../proto/tendermint/libs/bits/types.proto | 9 + .../proto/tendermint/p2p/types.proto | 42 + .../proto/tendermint/types/block.proto | 15 + .../proto/tendermint/types/evidence.proto | 38 + .../proto/tendermint/types/params.proto | 79 + .../proto/tendermint/types/types.proto | 153 + .../proto/tendermint/types/validator.proto | 25 + .../proto/tendermint/version/types.proto | 24 + 382 files changed, 106080 insertions(+), 15 deletions(-) create mode 100644 examples/telescope-with-contracts/codegen/confio/proofs.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts create mode 100644 examples/telescope-with-contracts/codegen/gogoproto/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/gogoproto/gogo.ts create mode 100644 examples/telescope-with-contracts/codegen/google/api/annotations.ts create mode 100644 examples/telescope-with-contracts/codegen/google/api/http.ts create mode 100644 examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/lcd.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/rpc.query.ts create mode 100644 examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts create mode 100644 examples/telescope-with-contracts/codegen/ics23/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/abci/types.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/bundle.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/types/block.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/types/params.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/types/types.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/types/validator.ts create mode 100644 examples/telescope-with-contracts/codegen/tendermint/version/types.ts create mode 100644 examples/telescope-with-contracts/proto/confio/LICENSE create mode 100644 examples/telescope-with-contracts/proto/confio/README.md create mode 100644 examples/telescope-with-contracts/proto/confio/proofs.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/LICENSE create mode 100644 examples/telescope-with-contracts/proto/cosmos/README.md create mode 100644 examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto create mode 100644 examples/telescope-with-contracts/proto/cosmos_proto/LICENSE create mode 100644 examples/telescope-with-contracts/proto/cosmos_proto/README.md create mode 100644 examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/LICENSE create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/README.md create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto create mode 100644 examples/telescope-with-contracts/proto/gogoproto/LICENSE create mode 100644 examples/telescope-with-contracts/proto/gogoproto/README.md create mode 100644 examples/telescope-with-contracts/proto/gogoproto/gogo.proto create mode 100644 examples/telescope-with-contracts/proto/google/LICENSE create mode 100644 examples/telescope-with-contracts/proto/google/README.md create mode 100644 examples/telescope-with-contracts/proto/google/api/annotations.proto create mode 100644 examples/telescope-with-contracts/proto/google/api/http.proto create mode 100644 examples/telescope-with-contracts/proto/google/protobuf/any.proto create mode 100644 examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto create mode 100644 examples/telescope-with-contracts/proto/google/protobuf/duration.proto create mode 100644 examples/telescope-with-contracts/proto/google/protobuf/empty.proto create mode 100644 examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/LICENSE create mode 100644 examples/telescope-with-contracts/proto/ibc/README.md create mode 100644 examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto create mode 100644 examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/LICENSE create mode 100644 examples/telescope-with-contracts/proto/tendermint/README.md create mode 100644 examples/telescope-with-contracts/proto/tendermint/abci/types.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/p2p/types.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/types/block.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/types/evidence.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/types/params.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/types/types.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/types/validator.proto create mode 100644 examples/telescope-with-contracts/proto/tendermint/version/types.proto diff --git a/examples/telescope-with-contracts/codegen/confio/proofs.ts b/examples/telescope-with-contracts/codegen/confio/proofs.ts new file mode 100644 index 000000000..733236dee --- /dev/null +++ b/examples/telescope-with-contracts/codegen/confio/proofs.ts @@ -0,0 +1,1534 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export enum HashOp { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} +export function hashOpFromJSON(object: any): HashOp { + switch (object) { + case 0: + case "NO_HASH": + return HashOp.NO_HASH; + + case 1: + case "SHA256": + return HashOp.SHA256; + + case 2: + case "SHA512": + return HashOp.SHA512; + + case 3: + case "KECCAK": + return HashOp.KECCAK; + + case 4: + case "RIPEMD160": + return HashOp.RIPEMD160; + + case 5: + case "BITCOIN": + return HashOp.BITCOIN; + + case -1: + case "UNRECOGNIZED": + default: + return HashOp.UNRECOGNIZED; + } +} +export function hashOpToJSON(object: HashOp): string { + switch (object) { + case HashOp.NO_HASH: + return "NO_HASH"; + + case HashOp.SHA256: + return "SHA256"; + + case HashOp.SHA512: + return "SHA512"; + + case HashOp.KECCAK: + return "KECCAK"; + + case HashOp.RIPEMD160: + return "RIPEMD160"; + + case HashOp.BITCOIN: + return "BITCOIN"; + + default: + return "UNKNOWN"; + } +} + +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ +export enum LengthOp { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} +export function lengthOpFromJSON(object: any): LengthOp { + switch (object) { + case 0: + case "NO_PREFIX": + return LengthOp.NO_PREFIX; + + case 1: + case "VAR_PROTO": + return LengthOp.VAR_PROTO; + + case 2: + case "VAR_RLP": + return LengthOp.VAR_RLP; + + case 3: + case "FIXED32_BIG": + return LengthOp.FIXED32_BIG; + + case 4: + case "FIXED32_LITTLE": + return LengthOp.FIXED32_LITTLE; + + case 5: + case "FIXED64_BIG": + return LengthOp.FIXED64_BIG; + + case 6: + case "FIXED64_LITTLE": + return LengthOp.FIXED64_LITTLE; + + case 7: + case "REQUIRE_32_BYTES": + return LengthOp.REQUIRE_32_BYTES; + + case 8: + case "REQUIRE_64_BYTES": + return LengthOp.REQUIRE_64_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return LengthOp.UNRECOGNIZED; + } +} +export function lengthOpToJSON(object: LengthOp): string { + switch (object) { + case LengthOp.NO_PREFIX: + return "NO_PREFIX"; + + case LengthOp.VAR_PROTO: + return "VAR_PROTO"; + + case LengthOp.VAR_RLP: + return "VAR_RLP"; + + case LengthOp.FIXED32_BIG: + return "FIXED32_BIG"; + + case LengthOp.FIXED32_LITTLE: + return "FIXED32_LITTLE"; + + case LengthOp.FIXED64_BIG: + return "FIXED64_BIG"; + + case LengthOp.FIXED64_LITTLE: + return "FIXED64_LITTLE"; + + case LengthOp.REQUIRE_32_BYTES: + return "REQUIRE_32_BYTES"; + + case LengthOp.REQUIRE_64_BYTES: + return "REQUIRE_64_BYTES"; + + default: + return "UNKNOWN"; + } +} + +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ +export interface ExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOp | undefined; + path: InnerOp[]; +} + +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ +export interface NonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: ExistenceProof | undefined; + right: ExistenceProof | undefined; +} + +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ +export interface CommitmentProof { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; + batch?: BatchProof | undefined; + compressed?: CompressedBatchProof | undefined; +} + +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ +export interface LeafOp { + hash: HashOp; + prehashKey: HashOp; + prehashValue: HashOp; + length: LengthOp; + + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + prefix: Uint8Array; +} + +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ +export interface InnerOp { + hash: HashOp; + prefix: Uint8Array; + suffix: Uint8Array; +} + +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ +export interface ProofSpec { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leafSpec: LeafOp | undefined; + innerSpec: InnerSpec | undefined; + + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + maxDepth: number; + + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + minDepth: number; +} + +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ +export interface InnerSpec { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + childOrder: number[]; + childSize: number; + minPrefixLength: number; + maxPrefixLength: number; + + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + emptyChild: Uint8Array; + + /** hash is the algorithm that must be used for each InnerOp */ + hash: HashOp; +} + +/** BatchProof is a group of multiple proof types than can be compressed */ +export interface BatchProof { + entries: BatchEntry[]; +} + +/** Use BatchEntry not CommitmentProof, to avoid recursion */ +export interface BatchEntry { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; +} +export interface CompressedBatchProof { + entries: CompressedBatchEntry[]; + lookupInners: InnerOp[]; +} + +/** Use BatchEntry not CommitmentProof, to avoid recursion */ +export interface CompressedBatchEntry { + exist?: CompressedExistenceProof | undefined; + nonexist?: CompressedNonExistenceProof | undefined; +} +export interface CompressedExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOp | undefined; + + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; +} +export interface CompressedNonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: CompressedExistenceProof | undefined; + right: CompressedExistenceProof | undefined; +} + +function createBaseExistenceProof(): ExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const ExistenceProof = { + encode(message: ExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.path) { + InnerOp.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + message.path.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, + path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromJSON(e)) : [] + }; + }, + + toJSON(message: ExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); + + if (message.path) { + obj.path = message.path.map(e => e ? InnerOp.toJSON(e) : undefined); + } else { + obj.path = []; + } + + return obj; + }, + + fromPartial(object: Partial): ExistenceProof { + const message = createBaseExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseNonExistenceProof(): NonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const NonExistenceProof = { + encode(message: NonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = ExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NonExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + left: isSet(object.left) ? ExistenceProof.fromJSON(object.left) : undefined, + right: isSet(object.right) ? ExistenceProof.fromJSON(object.right) : undefined + }; + }, + + toJSON(message: NonExistenceProof): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); + message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined); + message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined); + return obj; + }, + + fromPartial(object: Partial): NonExistenceProof { + const message = createBaseNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? ExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? ExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; + +function createBaseCommitmentProof(): CommitmentProof { + return { + exist: undefined, + nonexist: undefined, + batch: undefined, + compressed: undefined + }; +} + +export const CommitmentProof = { + encode(message: CommitmentProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + if (message.batch !== undefined) { + BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim(); + } + + if (message.compressed !== undefined) { + CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitmentProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.batch = BatchProof.decode(reader, reader.uint32()); + break; + + case 4: + message.compressed = CompressedBatchProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CommitmentProof { + return { + exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined, + batch: isSet(object.batch) ? BatchProof.fromJSON(object.batch) : undefined, + compressed: isSet(object.compressed) ? CompressedBatchProof.fromJSON(object.compressed) : undefined + }; + }, + + toJSON(message: CommitmentProof): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); + message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined); + message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined); + return obj; + }, + + fromPartial(object: Partial): CommitmentProof { + const message = createBaseCommitmentProof(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + message.batch = object.batch !== undefined && object.batch !== null ? BatchProof.fromPartial(object.batch) : undefined; + message.compressed = object.compressed !== undefined && object.compressed !== null ? CompressedBatchProof.fromPartial(object.compressed) : undefined; + return message; + } + +}; + +function createBaseLeafOp(): LeafOp { + return { + hash: 0, + prehashKey: 0, + prehashValue: 0, + length: 0, + prefix: new Uint8Array() + }; +} + +export const LeafOp = { + encode(message: LeafOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prehashKey !== 0) { + writer.uint32(16).int32(message.prehashKey); + } + + if (message.prehashValue !== 0) { + writer.uint32(24).int32(message.prehashValue); + } + + if (message.length !== 0) { + writer.uint32(32).int32(message.length); + } + + if (message.prefix.length !== 0) { + writer.uint32(42).bytes(message.prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLeafOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prehashKey = (reader.int32() as any); + break; + + case 3: + message.prehashValue = (reader.int32() as any); + break; + + case 4: + message.length = (reader.int32() as any); + break; + + case 5: + message.prefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LeafOp { + return { + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, + prehashKey: isSet(object.prehashKey) ? hashOpFromJSON(object.prehashKey) : 0, + prehashValue: isSet(object.prehashValue) ? hashOpFromJSON(object.prehashValue) : 0, + length: isSet(object.length) ? lengthOpFromJSON(object.length) : 0, + prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array() + }; + }, + + toJSON(message: LeafOp): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey)); + message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue)); + message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); + message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): LeafOp { + const message = createBaseLeafOp(); + message.hash = object.hash ?? 0; + message.prehashKey = object.prehashKey ?? 0; + message.prehashValue = object.prehashValue ?? 0; + message.length = object.length ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseInnerOp(): InnerOp { + return { + hash: 0, + prefix: new Uint8Array(), + suffix: new Uint8Array() + }; +} + +export const InnerOp = { + encode(message: InnerOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prefix.length !== 0) { + writer.uint32(18).bytes(message.prefix); + } + + if (message.suffix.length !== 0) { + writer.uint32(26).bytes(message.suffix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prefix = reader.bytes(); + break; + + case 3: + message.suffix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InnerOp { + return { + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, + prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(), + suffix: isSet(object.suffix) ? bytesFromBase64(object.suffix) : new Uint8Array() + }; + }, + + toJSON(message: InnerOp): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); + message.suffix !== undefined && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): InnerOp { + const message = createBaseInnerOp(); + message.hash = object.hash ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + message.suffix = object.suffix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProofSpec(): ProofSpec { + return { + leafSpec: undefined, + innerSpec: undefined, + maxDepth: 0, + minDepth: 0 + }; +} + +export const ProofSpec = { + encode(message: ProofSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.leafSpec !== undefined) { + LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim(); + } + + if (message.innerSpec !== undefined) { + InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim(); + } + + if (message.maxDepth !== 0) { + writer.uint32(24).int32(message.maxDepth); + } + + if (message.minDepth !== 0) { + writer.uint32(32).int32(message.minDepth); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProofSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.leafSpec = LeafOp.decode(reader, reader.uint32()); + break; + + case 2: + message.innerSpec = InnerSpec.decode(reader, reader.uint32()); + break; + + case 3: + message.maxDepth = reader.int32(); + break; + + case 4: + message.minDepth = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ProofSpec { + return { + leafSpec: isSet(object.leafSpec) ? LeafOp.fromJSON(object.leafSpec) : undefined, + innerSpec: isSet(object.innerSpec) ? InnerSpec.fromJSON(object.innerSpec) : undefined, + maxDepth: isSet(object.maxDepth) ? Number(object.maxDepth) : 0, + minDepth: isSet(object.minDepth) ? Number(object.minDepth) : 0 + }; + }, + + toJSON(message: ProofSpec): unknown { + const obj: any = {}; + message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined); + message.innerSpec !== undefined && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined); + message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth)); + message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth)); + return obj; + }, + + fromPartial(object: Partial): ProofSpec { + const message = createBaseProofSpec(); + message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; + message.innerSpec = object.innerSpec !== undefined && object.innerSpec !== null ? InnerSpec.fromPartial(object.innerSpec) : undefined; + message.maxDepth = object.maxDepth ?? 0; + message.minDepth = object.minDepth ?? 0; + return message; + } + +}; + +function createBaseInnerSpec(): InnerSpec { + return { + childOrder: [], + childSize: 0, + minPrefixLength: 0, + maxPrefixLength: 0, + emptyChild: new Uint8Array(), + hash: 0 + }; +} + +export const InnerSpec = { + encode(message: InnerSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.childOrder) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.childSize !== 0) { + writer.uint32(16).int32(message.childSize); + } + + if (message.minPrefixLength !== 0) { + writer.uint32(24).int32(message.minPrefixLength); + } + + if (message.maxPrefixLength !== 0) { + writer.uint32(32).int32(message.maxPrefixLength); + } + + if (message.emptyChild.length !== 0) { + writer.uint32(42).bytes(message.emptyChild); + } + + if (message.hash !== 0) { + writer.uint32(48).int32(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.childOrder.push(reader.int32()); + } + } else { + message.childOrder.push(reader.int32()); + } + + break; + + case 2: + message.childSize = reader.int32(); + break; + + case 3: + message.minPrefixLength = reader.int32(); + break; + + case 4: + message.maxPrefixLength = reader.int32(); + break; + + case 5: + message.emptyChild = reader.bytes(); + break; + + case 6: + message.hash = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InnerSpec { + return { + childOrder: Array.isArray(object?.childOrder) ? object.childOrder.map((e: any) => Number(e)) : [], + childSize: isSet(object.childSize) ? Number(object.childSize) : 0, + minPrefixLength: isSet(object.minPrefixLength) ? Number(object.minPrefixLength) : 0, + maxPrefixLength: isSet(object.maxPrefixLength) ? Number(object.maxPrefixLength) : 0, + emptyChild: isSet(object.emptyChild) ? bytesFromBase64(object.emptyChild) : new Uint8Array(), + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0 + }; + }, + + toJSON(message: InnerSpec): unknown { + const obj: any = {}; + + if (message.childOrder) { + obj.childOrder = message.childOrder.map(e => Math.round(e)); + } else { + obj.childOrder = []; + } + + message.childSize !== undefined && (obj.childSize = Math.round(message.childSize)); + message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength)); + message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength)); + message.emptyChild !== undefined && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array())); + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + return obj; + }, + + fromPartial(object: Partial): InnerSpec { + const message = createBaseInnerSpec(); + message.childOrder = object.childOrder?.map(e => e) || []; + message.childSize = object.childSize ?? 0; + message.minPrefixLength = object.minPrefixLength ?? 0; + message.maxPrefixLength = object.maxPrefixLength ?? 0; + message.emptyChild = object.emptyChild ?? new Uint8Array(); + message.hash = object.hash ?? 0; + return message; + } + +}; + +function createBaseBatchProof(): BatchProof { + return { + entries: [] + }; +} + +export const BatchProof = { + encode(message: BatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + BatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(BatchEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BatchProof { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromJSON(e)) : [] + }; + }, + + toJSON(message: BatchProof): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? BatchEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + return obj; + }, + + fromPartial(object: Partial): BatchProof { + const message = createBaseBatchProof(); + message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBatchEntry(): BatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const BatchEntry = { + encode(message: BatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BatchEntry { + return { + exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined + }; + }, + + toJSON(message: BatchEntry): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); + return obj; + }, + + fromPartial(object: Partial): BatchEntry { + const message = createBaseBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedBatchProof(): CompressedBatchProof { + return { + entries: [], + lookupInners: [] + }; +} + +export const CompressedBatchProof = { + encode(message: CompressedBatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + CompressedBatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.lookupInners) { + InnerOp.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32())); + break; + + case 2: + message.lookupInners.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedBatchProof { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromJSON(e)) : [], + lookupInners: Array.isArray(object?.lookupInners) ? object.lookupInners.map((e: any) => InnerOp.fromJSON(e)) : [] + }; + }, + + toJSON(message: CompressedBatchProof): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + if (message.lookupInners) { + obj.lookupInners = message.lookupInners.map(e => e ? InnerOp.toJSON(e) : undefined); + } else { + obj.lookupInners = []; + } + + return obj; + }, + + fromPartial(object: Partial): CompressedBatchProof { + const message = createBaseCompressedBatchProof(); + message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; + message.lookupInners = object.lookupInners?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCompressedBatchEntry(): CompressedBatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const CompressedBatchEntry = { + encode(message: CompressedBatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedBatchEntry { + return { + exist: isSet(object.exist) ? CompressedExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? CompressedNonExistenceProof.fromJSON(object.nonexist) : undefined + }; + }, + + toJSON(message: CompressedBatchEntry): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined); + return obj; + }, + + fromPartial(object: Partial): CompressedBatchEntry { + const message = createBaseCompressedBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? CompressedNonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedExistenceProof(): CompressedExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const CompressedExistenceProof = { + encode(message: CompressedExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, + path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [] + }; + }, + + toJSON(message: CompressedExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); + + if (message.path) { + obj.path = message.path.map(e => Math.round(e)); + } else { + obj.path = []; + } + + return obj; + }, + + fromPartial(object: Partial): CompressedExistenceProof { + const message = createBaseCompressedExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => e) || []; + return message; + } + +}; + +function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const CompressedNonExistenceProof = { + encode(message: CompressedNonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedNonExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + left: isSet(object.left) ? CompressedExistenceProof.fromJSON(object.left) : undefined, + right: isSet(object.right) ? CompressedExistenceProof.fromJSON(object.right) : undefined + }; + }, + + toJSON(message: CompressedNonExistenceProof): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); + message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined); + message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined); + return obj; + }, + + fromPartial(object: Partial): CompressedNonExistenceProof { + const message = createBaseCompressedNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? CompressedExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? CompressedExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts new file mode 100644 index 000000000..af41c6a29 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts @@ -0,0 +1,172 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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[]; +} + +/** 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 | undefined; +} + +function createBaseConfig(): Config { + return { + modules: [] + }; +} + +export const Config = { + encode(message: Config, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.modules) { + ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Config { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModuleConfig(): ModuleConfig { + return { + name: "", + config: undefined + }; +} + +export const ModuleConfig = { + encode(message: ModuleConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts new file mode 100644 index 000000000..ff474b82b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts @@ -0,0 +1,308 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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[]; +} + +/** 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 fields containing the + * test "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + revision: number; +} + +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ +export interface MigrateFromInfo { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} + +function createBaseModuleDescriptor(): ModuleDescriptor { + return { + goImport: "", + usePackage: [], + canMigrateFrom: [] + }; +} + +export const ModuleDescriptor = { + encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.goImport !== "") { + writer.uint32(10).string(message.goImport); + } + + for (const v of message.usePackage) { + PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.canMigrateFrom) { + MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.goImport = reader.string(); + break; + + case 2: + message.usePackage.push(PackageReference.decode(reader, reader.uint32())); + break; + + case 3: + message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.usePackage = object.usePackage?.map(e => PackageReference.fromPartial(e)) || []; + message.canMigrateFrom = object.canMigrateFrom?.map(e => MigrateFromInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePackageReference(): PackageReference { + return { + name: "", + revision: 0 + }; +} + +export const PackageReference = { + encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.revision !== 0) { + writer.uint32(16).uint32(message.revision); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePackageReference(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.revision = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.revision = object.revision ?? 0; + return message; + } + +}; + +function createBaseMigrateFromInfo(): MigrateFromInfo { + return { + module: "" + }; +} + +export const MigrateFromInfo = { + encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateFromInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.module = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts new file mode 100644 index 000000000..21a42f3b3 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -0,0 +1,26 @@ +import { Config } from "./config"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryConfigRequest, QueryConfigResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + config(request: QueryConfigRequest): Promise; + /*Config returns the current app config.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts new file mode 100644 index 000000000..0c4705584 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts @@ -0,0 +1,112 @@ +import { Config } from "./config"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryConfigRequest is the Query/Config request type. */ +export interface QueryConfigRequest {} + +/** QueryConfigRequest is the Query/Config response type. */ +export interface QueryConfigResponse { + /** config is the current app config. */ + config: Config | undefined; +} + +function createBaseQueryConfigRequest(): QueryConfigRequest { + return {}; +} + +export const QueryConfigRequest = { + encode(_: QueryConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryConfigResponse(): QueryConfigResponse { + return { + config: undefined + }; +} + +export const QueryConfigResponse = { + encode(message: QueryConfigResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + Config.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts new file mode 100644 index 000000000..bc7847cf5 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts @@ -0,0 +1,316 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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 { + address: string; + pubKey: Any | undefined; + accountNumber: Long; + sequence: Long; +} + +/** ModuleAccount defines an account for modules that holds coins on a pool. */ +export interface ModuleAccount { + baseAccount: BaseAccount | undefined; + 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; +} + +function createBaseBaseAccount(): BaseAccount { + return { + address: "", + pubKey: undefined, + accountNumber: Long.UZERO, + sequence: Long.UZERO + }; +} + +export const BaseAccount = { + encode(message: BaseAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(24).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(32).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseAccount(); + + 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.accountNumber = (reader.uint64() as Long); + break; + + case 4: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO, + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BaseAccount { + const message = createBaseBaseAccount(); + message.address = object.address ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModuleAccount(): ModuleAccount { + return { + baseAccount: undefined, + name: "", + permissions: [] + }; +} + +export const ModuleAccount = { + encode(message: ModuleAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + for (const v of message.permissions) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.name = reader.string(); + break; + + case 3: + message.permissions.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.name = object.name ?? ""; + message.permissions = object.permissions?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxMemoCharacters: Long.UZERO, + txSigLimit: Long.UZERO, + txSizeCostPerByte: Long.UZERO, + sigVerifyCostEd25519: Long.UZERO, + sigVerifyCostSecp256k1: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxMemoCharacters.isZero()) { + writer.uint32(8).uint64(message.maxMemoCharacters); + } + + if (!message.txSigLimit.isZero()) { + writer.uint32(16).uint64(message.txSigLimit); + } + + if (!message.txSizeCostPerByte.isZero()) { + writer.uint32(24).uint64(message.txSizeCostPerByte); + } + + if (!message.sigVerifyCostEd25519.isZero()) { + writer.uint32(32).uint64(message.sigVerifyCostEd25519); + } + + if (!message.sigVerifyCostSecp256k1.isZero()) { + writer.uint32(40).uint64(message.sigVerifyCostSecp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxMemoCharacters = (reader.uint64() as Long); + break; + + case 2: + message.txSigLimit = (reader.uint64() as Long); + break; + + case 3: + message.txSizeCostPerByte = (reader.uint64() as Long); + break; + + case 4: + message.sigVerifyCostEd25519 = (reader.uint64() as Long); + break; + + case 5: + message.sigVerifyCostSecp256k1 = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + maxMemoCharacters: isSet(object.maxMemoCharacters) ? Long.fromString(object.maxMemoCharacters) : Long.UZERO, + txSigLimit: isSet(object.txSigLimit) ? Long.fromString(object.txSigLimit) : Long.UZERO, + txSizeCostPerByte: isSet(object.txSizeCostPerByte) ? Long.fromString(object.txSizeCostPerByte) : Long.UZERO, + sigVerifyCostEd25519: isSet(object.sigVerifyCostEd25519) ? Long.fromString(object.sigVerifyCostEd25519) : Long.UZERO, + sigVerifyCostSecp256k1: isSet(object.sigVerifyCostSecp256k1) ? Long.fromString(object.sigVerifyCostSecp256k1) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || Long.UZERO).toString()); + message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || Long.UZERO).toString()); + message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || Long.UZERO).toString()); + message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || Long.UZERO).toString()); + message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; + message.txSigLimit = object.txSigLimit !== undefined && object.txSigLimit !== null ? Long.fromValue(object.txSigLimit) : Long.UZERO; + message.txSizeCostPerByte = object.txSizeCostPerByte !== undefined && object.txSizeCostPerByte !== null ? Long.fromValue(object.txSizeCostPerByte) : Long.UZERO; + message.sigVerifyCostEd25519 = object.sigVerifyCostEd25519 !== undefined && object.sigVerifyCostEd25519 !== null ? Long.fromValue(object.sigVerifyCostEd25519) : Long.UZERO; + message.sigVerifyCostSecp256k1 = object.sigVerifyCostSecp256k1 !== undefined && object.sigVerifyCostSecp256k1 !== null ? Long.fromValue(object.sigVerifyCostSecp256k1) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts new file mode 100644 index 000000000..fbbe3e70a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts @@ -0,0 +1,88 @@ +import { Params } from "./auth"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the auth module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** accounts are the accounts present at genesis. */ + accounts: Any[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + accounts: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.accounts.push(Any.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, + 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; + message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts new file mode 100644 index 000000000..a81b2d977 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -0,0 +1,88 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43 */ + async accounts(params: QueryAccountsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/auth/v1beta1/accounts`; + return await this.request(endpoint, options); + } + + /* Account returns account details based on address. */ + async account(params: QueryAccountRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; + return await this.request(endpoint); + } + + /* Params queries all parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/params`; + return await this.request(endpoint); + } + + /* ModuleAccounts returns all the existing module accounts. */ + async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/module_accounts`; + return await this.request(endpoint); + } + + /* Bech32 queries bech32Prefix */ + async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32`; + return await this.request(endpoint); + } + + /* AddressBytesToString converts Account Address bytes to string */ + async addressBytesToString(params: AddressBytesToStringRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.addressBytes !== "undefined") { + options.params.address_bytes = params.addressBytes; + } + + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; + return await this.request(endpoint, options); + } + + /* AddressStringToBytes converts Address string to bytes */ + async addressStringToBytes(params: AddressStringToBytesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.addressString !== "undefined") { + options.params.address_string = params.addressString; + } + + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..47d81248e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -0,0 +1,90 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + accounts(request: QueryAccountsRequest): Promise; + /*Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43*/ + + account(request: QueryAccountRequest): Promise; + /*Account returns account details based on address.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters.*/ + + moduleAccounts(request: QueryModuleAccountsRequest): Promise; + /*ModuleAccounts returns all the existing module accounts.*/ + + bech32Prefix(request: Bech32PrefixRequest): Promise; + /*Bech32 queries bech32Prefix*/ + + addressBytesToString(request: AddressBytesToStringRequest): Promise; + /*AddressBytesToString converts Account Address bytes to string*/ + + addressStringToBytes(request: AddressStringToBytesRequest): Promise; + /*AddressStringToBytes converts Address string to bytes*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); + } + + accounts(request: QueryAccountsRequest): Promise { + const data = QueryAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); + return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); + } + + account(request: QueryAccountRequest): Promise { + const data = QueryAccountRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); + return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + moduleAccounts(request: QueryModuleAccountsRequest): Promise { + const data = QueryModuleAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); + return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); + } + + bech32Prefix(request: Bech32PrefixRequest): Promise { + const data = Bech32PrefixRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); + return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); + } + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + const data = AddressBytesToStringRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); + return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); + } + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + const data = AddressStringToBytesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); + return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts new file mode 100644 index 000000000..08b90d478 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts @@ -0,0 +1,865 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 | undefined; +} + +/** + * 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: Any[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ +export interface QueryAccountRequest { + /** address defines the address to query for. */ + address: string; +} + +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ +export interface QueryAccountResponse { + /** account defines the account of the corresponding address. */ + account: Any | undefined; +} + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsResponse { + accounts: Any[]; +} + +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ +export interface Bech32PrefixRequest {} + +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ +export interface Bech32PrefixResponse { + bech32Prefix: string; +} + +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ +export interface AddressBytesToStringRequest { + addressBytes: Uint8Array; +} + +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ +export interface AddressBytesToStringResponse { + addressString: string; +} + +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ +export interface AddressStringToBytesRequest { + addressString: string; +} + +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ +export interface AddressStringToBytesResponse { + addressBytes: Uint8Array; +} + +function createBaseQueryAccountsRequest(): QueryAccountsRequest { + return { + pagination: undefined + }; +} + +export const QueryAccountsRequest = { + encode(message: QueryAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryAccountsResponse(): QueryAccountsResponse { + return { + accounts: [], + pagination: undefined + }; +} + +export const QueryAccountsResponse = { + encode(message: QueryAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + 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: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAccountRequest(): QueryAccountRequest { + return { + address: "" + }; +} + +export const QueryAccountRequest = { + encode(message: QueryAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryModuleAccountsRequest(): QueryModuleAccountsRequest { + return {}; +} + +export const QueryModuleAccountsRequest = { + encode(_: QueryModuleAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryModuleAccountsRequest { + return {}; + }, + + toJSON(_: QueryModuleAccountsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryModuleAccountsRequest { + const message = createBaseQueryModuleAccountsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAccountResponse(): QueryAccountResponse { + return { + account: undefined + }; +} + +export const QueryAccountResponse = { + encode(message: QueryAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.account !== undefined) { + Any.encode(message.account, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.account = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryModuleAccountsResponse(): QueryModuleAccountsResponse { + return { + accounts: [] + }; +} + +export const QueryModuleAccountsResponse = { + encode(message: QueryModuleAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseBech32PrefixRequest(): Bech32PrefixRequest { + return {}; +} + +export const Bech32PrefixRequest = { + encode(_: Bech32PrefixRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): Bech32PrefixRequest { + return {}; + }, + + toJSON(_: Bech32PrefixRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): Bech32PrefixRequest { + const message = createBaseBech32PrefixRequest(); + return message; + } + +}; + +function createBaseBech32PrefixResponse(): Bech32PrefixResponse { + return { + bech32Prefix: "" + }; +} + +export const Bech32PrefixResponse = { + encode(message: Bech32PrefixResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32Prefix !== "") { + writer.uint32(10).string(message.bech32Prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32Prefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressBytesToStringRequest(): AddressBytesToStringRequest { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressBytesToStringRequest = { + encode(message: AddressBytesToStringRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseAddressBytesToStringResponse(): AddressBytesToStringResponse { + return { + addressString: "" + }; +} + +export const AddressBytesToStringResponse = { + encode(message: AddressBytesToStringResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesRequest(): AddressStringToBytesRequest { + return { + addressString: "" + }; +} + +export const AddressStringToBytesRequest = { + encode(message: AddressStringToBytesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesResponse(): AddressStringToBytesResponse { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressStringToBytesResponse = { + encode(message: AddressStringToBytesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts new file mode 100644 index 000000000..1992fcfc0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts @@ -0,0 +1,327 @@ +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ +export interface GenericAuthorization { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} + +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ +export interface Grant { + authorization: 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?: Date | 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 GrantAuthorization { + granter: string; + grantee: string; + authorization: Any | undefined; + expiration: Date | undefined; +} + +/** 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[]; +} + +function createBaseGenericAuthorization(): GenericAuthorization { + return { + msg: "" + }; +} + +export const GenericAuthorization = { + encode(message: GenericAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msg !== "") { + writer.uint32(10).string(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenericAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msg = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + authorization: undefined, + expiration: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseGrantAuthorization(): GrantAuthorization { + return { + granter: "", + grantee: "", + authorization: undefined, + expiration: undefined + }; +} + +export const GrantAuthorization = { + encode(message: GrantAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(26).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseGrantQueueItem(): GrantQueueItem { + return { + msgTypeUrls: [] + }; +} + +export const GrantQueueItem = { + encode(message: GrantQueueItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.msgTypeUrls) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantQueueItem(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrls.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts new file mode 100644 index 000000000..e5a0968e6 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts @@ -0,0 +1,188 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** 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; +} + +function createBaseEventGrant(): EventGrant { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventGrant = { + encode(message: EventGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseEventRevoke(): EventRevoke { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventRevoke = { + encode(message: EventRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts new file mode 100644 index 000000000..3cb847912 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts @@ -0,0 +1,70 @@ +import { GrantAuthorization } from "./authz"; +import * as _m0 from "protobufjs/minimal"; + +/** GenesisState defines the authz module's genesis state. */ +export interface GenesisState { + authorization: GrantAuthorization[]; +} + +function createBaseGenesisState(): GenesisState { + return { + authorization: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.authorization) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.authorization.push(GrantAuthorization.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts new file mode 100644 index 000000000..71432a9ba --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -0,0 +1,75 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Returns list of `Authorization`, granted to the grantee by the granter. */ + async grants(params: QueryGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.granter !== "undefined") { + options.params.granter = params.granter; + } + + if (typeof params?.grantee !== "undefined") { + options.params.grantee = params.grantee; + } + + if (typeof params?.msgTypeUrl !== "undefined") { + options.params.msg_type_url = params.msgTypeUrl; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants`; + return await this.request(endpoint, options); + } + + /* GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46 */ + async granterGrants(params: QueryGranterGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; + return await this.request(endpoint, options); + } + + /* GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46 */ + async granteeGrants(params: QueryGranteeGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..5e5242242 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -0,0 +1,51 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + grants(request: QueryGrantsRequest): Promise; + /*Returns list of `Authorization`, granted to the grantee by the granter.*/ + + granterGrants(request: QueryGranterGrantsRequest): Promise; + /*GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46*/ + + granteeGrants(request: QueryGranteeGrantsRequest): Promise; + /*GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); + } + + grants(request: QueryGrantsRequest): Promise { + const data = QueryGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); + return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); + } + + granterGrants(request: QueryGranterGrantsRequest): Promise { + const data = QueryGranterGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); + return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); + } + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + const data = QueryGranteeGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); + return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts new file mode 100644 index 000000000..670d347c1 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts @@ -0,0 +1,515 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +function createBaseQueryGrantsRequest(): QueryGrantsRequest { + return { + granter: "", + grantee: "", + msgTypeUrl: "", + pagination: undefined + }; +} + +export const QueryGrantsRequest = { + encode(message: QueryGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGrantsResponse(): QueryGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGrantsResponse = { + encode(message: QueryGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryGranterGrantsRequest = { + encode(message: QueryGranterGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranterGrantsResponse = { + encode(message: QueryGranterGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryGranteeGrantsRequest = { + encode(message: QueryGranteeGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranteeGrantsResponse = { + encode(message: QueryGranteeGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..6f29fb67d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,53 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + grant(request: MsgGrant): Promise; + /*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.*/ + + exec(request: MsgExec): 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.*/ + + revoke(request: MsgRevoke): Promise; + /*Revoke revokes any authorization corresponding to the provided method name on the + granter's account that has been granted to the grantee.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grant = this.grant.bind(this); + this.exec = this.exec.bind(this); + this.revoke = this.revoke.bind(this); + } + + grant(request: MsgGrant): Promise { + const data = MsgGrant.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); + return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + revoke(request: MsgRevoke): Promise { + const data = MsgRevoke.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); + return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts new file mode 100644 index 000000000..c8d97ef5a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts @@ -0,0 +1,437 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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. + */ +export interface MsgGrant { + granter: string; + grantee: string; + grant: Grant | undefined; +} + +/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ +export interface MsgExecResponse { + 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[]; +} + +/** MsgGrantResponse defines the Msg/MsgGrant response type. */ +export interface MsgGrantResponse {} + +/** + * 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; +} + +/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ +export interface MsgRevokeResponse {} + +function createBaseMsgGrant(): MsgGrant { + return { + granter: "", + grantee: "", + grant: undefined + }; +} + +export const MsgGrant = { + encode(message: MsgGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.grant !== undefined) { + Grant.encode(message.grant, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.grant = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.grant = object.grant !== undefined && object.grant !== null ? Grant.fromPartial(object.grant) : undefined; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return { + results: [] + }; +} + +export const MsgExecResponse = { + encode(message: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.results) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.results.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + grantee: "", + msgs: [] + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + for (const v of message.msgs) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.msgs.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.msgs = object.msgs?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgGrantResponse(): MsgGrantResponse { + return {}; +} + +export const MsgGrantResponse = { + encode(_: MsgGrantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgGrantResponse { + return {}; + }, + + toJSON(_: MsgGrantResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgGrantResponse { + const message = createBaseMsgGrantResponse(); + return message; + } + +}; + +function createBaseMsgRevoke(): MsgRevoke { + return { + granter: "", + grantee: "", + msgTypeUrl: "" + }; +} + +export const MsgRevoke = { + encode(message: MsgRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeResponse(): MsgRevokeResponse { + return {}; +} + +export const MsgRevokeResponse = { + encode(_: MsgRevokeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRevokeResponse { + return {}; + }, + + toJSON(_: MsgRevokeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRevokeResponse { + const message = createBaseMsgRevokeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts new file mode 100644 index 000000000..2e69df3ab --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts @@ -0,0 +1,75 @@ +import { Coin } 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 { + spendLimit: Coin[]; +} + +function createBaseSendAuthorization(): SendAuthorization { + return { + spendLimit: [] + }; +} + +export const SendAuthorization = { + encode(message: SendAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts new file mode 100644 index 000000000..74f16fd69 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts @@ -0,0 +1,703 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** Params defines the parameters for the bank module. */ +export interface Params { + sendEnabled: SendEnabled[]; + defaultSendEnabled: boolean; +} + +/** + * SendEnabled maps coin denom to a send_enabled status (whether a denom is + * sendable). + */ +export interface SendEnabled { + denom: string; + enabled: boolean; +} + +/** Input models transaction input. */ +export interface Input { + address: string; + coins: Coin[]; +} + +/** Output models transaction outputs. */ +export interface Output { + address: string; + coins: Coin[]; +} + +/** + * 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 { + total: Coin[]; +} + +/** + * 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[]; +} + +/** + * 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; +} + +function createBaseParams(): Params { + return { + sendEnabled: [], + defaultSendEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.sendEnabled) { + SendEnabled.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.defaultSendEnabled === true) { + writer.uint32(16).bool(message.defaultSendEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled.push(SendEnabled.decode(reader, reader.uint32())); + break; + + case 2: + message.defaultSendEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.defaultSendEnabled = object.defaultSendEnabled ?? false; + return message; + } + +}; + +function createBaseSendEnabled(): SendEnabled { + return { + denom: "", + enabled: false + }; +} + +export const SendEnabled = { + encode(message: SendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.enabled === true) { + writer.uint32(16).bool(message.enabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendEnabled(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.enabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.enabled = object.enabled ?? false; + return message; + } + +}; + +function createBaseInput(): Input { + return { + address: "", + coins: [] + }; +} + +export const Input = { + encode(message: Input, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Input { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOutput(): Output { + return { + address: "", + coins: [] + }; +} + +export const Output = { + encode(message: Output, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Output { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOutput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSupply(): Supply { + return { + total: [] + }; +} + +export const Supply = { + encode(message: Supply, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.total) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Supply { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSupply(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDenomUnit(): DenomUnit { + return { + denom: "", + exponent: 0, + aliases: [] + }; +} + +export const DenomUnit = { + encode(message: DenomUnit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.exponent !== 0) { + writer.uint32(16).uint32(message.exponent); + } + + for (const v of message.aliases) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomUnit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.exponent = reader.uint32(); + break; + + case 3: + message.aliases.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.exponent = object.exponent ?? 0; + message.aliases = object.aliases?.map(e => e) || []; + return message; + } + +}; + +function createBaseMetadata(): Metadata { + return { + description: "", + denomUnits: [], + base: "", + display: "", + name: "", + symbol: "", + uri: "", + uriHash: "" + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== "") { + writer.uint32(10).string(message.description); + } + + for (const v of message.denomUnits) { + DenomUnit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.base !== "") { + writer.uint32(26).string(message.base); + } + + if (message.display !== "") { + writer.uint32(34).string(message.display); + } + + if (message.name !== "") { + writer.uint32(42).string(message.name); + } + + if (message.symbol !== "") { + writer.uint32(50).string(message.symbol); + } + + if (message.uri !== "") { + writer.uint32(58).string(message.uri); + } + + if (message.uriHash !== "") { + writer.uint32(66).string(message.uriHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.description = reader.string(); + break; + + case 2: + message.denomUnits.push(DenomUnit.decode(reader, reader.uint32())); + break; + + case 3: + message.base = reader.string(); + break; + + case 4: + message.display = reader.string(); + break; + + case 5: + message.name = reader.string(); + break; + + case 6: + message.symbol = reader.string(); + break; + + case 7: + message.uri = reader.string(); + break; + + case 8: + message.uriHash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denomUnits = object.denomUnits?.map(e => DenomUnit.fromPartial(e)) || []; + message.base = object.base ?? ""; + message.display = object.display ?? ""; + message.name = object.name ?? ""; + message.symbol = object.symbol ?? ""; + message.uri = object.uri ?? ""; + message.uriHash = object.uriHash ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts new file mode 100644 index 000000000..fb48f84eb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts @@ -0,0 +1,218 @@ +import { Params, Metadata } from "./bank"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the bank module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** 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[]; +} + +/** + * 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + balances: [], + supply: [], + denomMetadata: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.balances) { + Balance.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.denomMetadata) { + Metadata.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balances.push(Balance.decode(reader, reader.uint32())); + break; + + case 3: + message.supply.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.denomMetadata.push(Metadata.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, + 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; + message.balances = object.balances?.map(e => Balance.fromPartial(e)) || []; + message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; + message.denomMetadata = object.denomMetadata?.map(e => Metadata.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBalance(): Balance { + return { + address: "", + coins: [] + }; +} + +export const Balance = { + encode(message: Balance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Balance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBalance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts new file mode 100644 index 000000000..09bc3da46 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -0,0 +1,135 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Balance queries the balance of a single coin for a single account. */ + async balance(params: QueryBalanceRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; + return await this.request(endpoint, options); + } + + /* AllBalances queries the balance of all coins for a single account. */ + async allBalances(params: QueryAllBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; + return await this.request(endpoint, options); + } + + /* SpendableBalances queries the spenable balance of all coins for a single + account. */ + async spendableBalances(params: QuerySpendableBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; + return await this.request(endpoint, options); + } + + /* TotalSupply queries the total supply of all coins. */ + async totalSupply(params: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/supply`; + return await this.request(endpoint, options); + } + + /* SupplyOf queries the supply of a single coin. */ + async supplyOf(params: QuerySupplyOfRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; + return await this.request(endpoint, options); + } + + /* Params queries the parameters of x/bank module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/bank/v1beta1/params`; + return await this.request(endpoint); + } + + /* DenomsMetadata queries the client metadata of a given coin denomination. */ + async denomMetadata(params: QueryDenomMetadataRequest): Promise { + const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; + return await this.request(endpoint); + } + + /* DenomsMetadata queries the client metadata for all registered coin + denominations. */ + async denomsMetadata(params: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; + return await this.request(endpoint, options); + } + + /* DenomOwners queries for all account addresses that own a particular token + denomination. */ + async denomOwners(params: QueryDenomOwnersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..58517177f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -0,0 +1,111 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + balance(request: QueryBalanceRequest): Promise; + /*Balance queries the balance of a single coin for a single account.*/ + + allBalances(request: QueryAllBalancesRequest): Promise; + /*AllBalances queries the balance of all coins for a single account.*/ + + spendableBalances(request: QuerySpendableBalancesRequest): Promise; + /*SpendableBalances queries the spenable balance of all coins for a single + account.*/ + + totalSupply(request: QueryTotalSupplyRequest): Promise; + /*TotalSupply queries the total supply of all coins.*/ + + supplyOf(request: QuerySupplyOfRequest): Promise; + /*SupplyOf queries the supply of a single coin.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries the parameters of x/bank module.*/ + + denomMetadata(request: QueryDenomMetadataRequest): Promise; + /*DenomsMetadata queries the client metadata of a given coin denomination.*/ + + denomsMetadata(request: QueryDenomsMetadataRequest): Promise; + /*DenomsMetadata queries the client metadata for all registered coin + denominations.*/ + + denomOwners(request: QueryDenomOwnersRequest): Promise; + /*DenomOwners queries for all account addresses that own a particular token + denomination.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); + } + + balance(request: QueryBalanceRequest): Promise { + const data = QueryBalanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); + return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); + } + + allBalances(request: QueryAllBalancesRequest): Promise { + const data = QueryAllBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); + return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); + } + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + const data = QuerySpendableBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); + return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); + } + + totalSupply(request: QueryTotalSupplyRequest): Promise { + const data = QueryTotalSupplyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); + return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); + } + + supplyOf(request: QuerySupplyOfRequest): Promise { + const data = QuerySupplyOfRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); + return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + const data = QueryDenomMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); + return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); + } + + denomsMetadata(request: QueryDenomsMetadataRequest): Promise { + const data = QueryDenomsMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); + return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); + } + + denomOwners(request: QueryDenomOwnersRequest): Promise { + const data = QueryDenomOwnersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); + return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts new file mode 100644 index 000000000..6925ce45e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts @@ -0,0 +1,1400 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ +export interface QueryBalanceResponse { + /** balance is the balance of the coin. */ + balance: Coin | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesRequest { + /** address is the address to query spendable balances for. */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesResponse { + /** balances is the spendable balances of all the coins. */ + balances: Coin[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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; +} + +/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfResponse { + /** amount is the supply of the coin. */ + amount: Coin | undefined; +} + +/** QueryParamsRequest defines the request type for querying x/bank parameters. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse defines the response type for querying x/bank parameters. */ +export interface QueryParamsResponse { + params: Params | undefined; +} + +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ +export interface QueryDenomsMetadataRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** 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; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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. + */ +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 | undefined; +} + +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ +export interface QueryDenomOwnersResponse { + denomOwners: DenomOwner[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + address: "", + denom: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.denom !== "") { + writer.uint32(18).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.address = reader.string(); + break; + + case 2: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denom = object.denom ?? ""; + return message; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + balance: undefined + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllBalancesRequest = { + encode(message: QueryAllBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QueryAllBalancesResponse = { + encode(message: QueryAllBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QuerySpendableBalancesRequest = { + encode(message: QuerySpendableBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QuerySpendableBalancesResponse = { + encode(message: QuerySpendableBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { + return { + pagination: undefined + }; +} + +export const QueryTotalSupplyRequest = { + encode(message: QueryTotalSupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { + return { + supply: [], + pagination: undefined + }; +} + +export const QueryTotalSupplyResponse = { + encode(message: QueryTotalSupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.supply.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySupplyOfRequest(): QuerySupplyOfRequest { + return { + denom: "" + }; +} + +export const QuerySupplyOfRequest = { + encode(message: QuerySupplyOfRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQuerySupplyOfResponse(): QuerySupplyOfResponse { + return { + amount: undefined + }; +} + +export const QuerySupplyOfResponse = { + encode(message: QuerySupplyOfResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomsMetadataRequest = { + encode(message: QueryDenomsMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { + return { + metadatas: [], + pagination: undefined + }; +} + +export const QueryDenomsMetadataResponse = { + encode(message: QueryDenomsMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.metadatas) { + Metadata.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadatas.push(Metadata.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDenomMetadataRequest(): QueryDenomMetadataRequest { + return { + denom: "" + }; +} + +export const QueryDenomMetadataRequest = { + encode(message: QueryDenomMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { + return { + metadata: undefined + }; +} + +export const QueryDenomMetadataResponse = { + encode(message: QueryDenomMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.metadata !== undefined) { + Metadata.encode(message.metadata, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadata = Metadata.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { + return { + denom: "", + pagination: undefined + }; +} + +export const QueryDenomOwnersRequest = { + encode(message: QueryDenomOwnersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseDenomOwner(): DenomOwner { + return { + address: "", + balance: undefined + }; +} + +export const DenomOwner = { + encode(message: DenomOwner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomOwner(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { + return { + denomOwners: [], + pagination: undefined + }; +} + +export const QueryDenomOwnersResponse = { + encode(message: QueryDenomOwnersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomOwners) { + DenomOwner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomOwners.push(DenomOwner.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..ee22c9d29 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,37 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + send(request: MsgSend): Promise; + /*Send defines a method for sending coins from one account to another account.*/ + + multiSend(request: MsgMultiSend): Promise; + /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.send = this.send.bind(this); + this.multiSend = this.multiSend.bind(this); + } + + send(request: MsgSend): Promise { + const data = MsgSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); + return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); + } + + multiSend(request: MsgMultiSend): Promise { + const data = MsgMultiSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); + return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts new file mode 100644 index 000000000..c44c98cda --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts @@ -0,0 +1,276 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgSend represents a message to send coins from one account to another. */ +export interface MsgSend { + fromAddress: string; + toAddress: string; + amount: Coin[]; +} + +/** MsgSendResponse defines the Msg/Send response type. */ +export interface MsgSendResponse {} + +/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ +export interface MsgMultiSend { + inputs: Input[]; + outputs: Output[]; +} + +/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ +export interface MsgMultiSendResponse {} + +function createBaseMsgSend(): MsgSend { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgMultiSend(): MsgMultiSend { + return { + inputs: [], + outputs: [] + }; +} + +export const MsgMultiSend = { + encode(message: MsgMultiSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.inputs) { + Input.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.outputs) { + Output.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inputs.push(Input.decode(reader, reader.uint32())); + break; + + case 2: + message.outputs.push(Output.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.outputs = object.outputs?.map(e => Output.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgMultiSendResponse(): MsgMultiSendResponse { + return {}; +} + +export const MsgMultiSendResponse = { + encode(_: MsgMultiSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSendResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgMultiSendResponse { + return {}; + }, + + toJSON(_: MsgMultiSendResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgMultiSendResponse { + const message = createBaseMsgMultiSendResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts new file mode 100644 index 000000000..d26d2f149 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -0,0 +1,1148 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Event } from "../../../../tendermint/abci/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 | undefined; + + /** + * 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 handler. 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[]; +} + +/** 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[]; +} + +/** + * 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[]; +} + +/** + * Attribute defines an attribute wrapper where the key and value are + * strings instead of raw bytes. + */ +export interface Attribute { + 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; +} + +/** 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[]; +} + +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ +export interface SimulationResponse { + gasInfo: GasInfo | undefined; + result: Result | undefined; +} + +/** + * MsgData defines the data returned in a Result object during message + * execution. + */ + +/** @deprecated */ +export interface MsgData { + msgType: 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[]; +} + +/** 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[]; +} + +function createBaseTxResponse(): TxResponse { + return { + height: Long.ZERO, + txhash: "", + codespace: "", + code: 0, + data: "", + rawLog: "", + logs: [], + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + tx: undefined, + timestamp: "", + events: [] + }; +} + +export const TxResponse = { + encode(message: TxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.txhash !== "") { + writer.uint32(18).string(message.txhash); + } + + if (message.codespace !== "") { + writer.uint32(26).string(message.codespace); + } + + if (message.code !== 0) { + writer.uint32(32).uint32(message.code); + } + + if (message.data !== "") { + writer.uint32(42).string(message.data); + } + + if (message.rawLog !== "") { + writer.uint32(50).string(message.rawLog); + } + + for (const v of message.logs) { + ABCIMessageLog.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.info !== "") { + writer.uint32(66).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(72).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(80).int64(message.gasUsed); + } + + if (message.tx !== undefined) { + Any.encode(message.tx, writer.uint32(90).fork()).ldelim(); + } + + if (message.timestamp !== "") { + writer.uint32(98).string(message.timestamp); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.txhash = reader.string(); + break; + + case 3: + message.codespace = reader.string(); + break; + + case 4: + message.code = reader.uint32(); + break; + + case 5: + message.data = reader.string(); + break; + + case 6: + message.rawLog = reader.string(); + break; + + case 7: + message.logs.push(ABCIMessageLog.decode(reader, reader.uint32())); + break; + + case 8: + message.info = reader.string(); + break; + + case 9: + message.gasWanted = (reader.int64() as Long); + break; + + case 10: + message.gasUsed = (reader.int64() as Long); + break; + + case 11: + message.tx = Any.decode(reader, reader.uint32()); + break; + + case 12: + message.timestamp = reader.string(); + break; + + case 13: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TxResponse { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.txhash = object.txhash ?? ""; + message.codespace = object.codespace ?? ""; + message.code = object.code ?? 0; + message.data = object.data ?? ""; + message.rawLog = object.rawLog ?? ""; + message.logs = object.logs?.map(e => ABCIMessageLog.fromPartial(e)) || []; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.tx = object.tx !== undefined && object.tx !== null ? Any.fromPartial(object.tx) : undefined; + message.timestamp = object.timestamp ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseABCIMessageLog(): ABCIMessageLog { + return { + msgIndex: 0, + log: "", + events: [] + }; +} + +export const ABCIMessageLog = { + encode(message: ABCIMessageLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgIndex !== 0) { + writer.uint32(8).uint32(message.msgIndex); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + StringEvent.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseABCIMessageLog(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgIndex = reader.uint32(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(StringEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.log = object.log ?? ""; + message.events = object.events?.map(e => StringEvent.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStringEvent(): StringEvent { + return { + type: "", + attributes: [] + }; +} + +export const StringEvent = { + encode(message: StringEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + Attribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStringEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(Attribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAttribute(): Attribute { + return { + key: "", + value: "" + }; +} + +export const Attribute = { + encode(message: Attribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Attribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAttribute(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseGasInfo(): GasInfo { + return { + gasWanted: Long.UZERO, + gasUsed: Long.UZERO + }; +} + +export const GasInfo = { + encode(message: GasInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.gasWanted.isZero()) { + writer.uint32(8).uint64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(16).uint64(message.gasUsed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGasInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasWanted = (reader.uint64() as Long); + break; + + case 2: + message.gasUsed = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GasInfo { + return { + gasWanted: isSet(object.gasWanted) ? Long.fromString(object.gasWanted) : Long.UZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.UZERO + }; + }, + + toJSON(message: GasInfo): unknown { + const obj: any = {}; + message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.UZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GasInfo { + const message = createBaseGasInfo(); + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.UZERO; + return message; + } + +}; + +function createBaseResult(): Result { + return { + data: new Uint8Array(), + log: "", + events: [], + msgResponses: [] + }; +} + +export const Result = { + encode(message: Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Result { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 4: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.log = object.log ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSimulationResponse(): SimulationResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulationResponse = { + encode(message: SimulationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseMsgData(): MsgData { + return { + msgType: "", + data: new Uint8Array() + }; +} + +export const MsgData = { + encode(message: MsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgType !== "") { + writer.uint32(10).string(message.msgType); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgType = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseTxMsgData(): TxMsgData { + return { + data: [], + msgResponses: [] + }; +} + +export const TxMsgData = { + encode(message: TxMsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.data) { + MsgData.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data.push(MsgData.decode(reader, reader.uint32())); + break; + + case 2: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSearchTxsResult(): SearchTxsResult { + return { + totalCount: Long.UZERO, + count: Long.UZERO, + pageNumber: Long.UZERO, + pageTotal: Long.UZERO, + limit: Long.UZERO, + txs: [] + }; +} + +export const SearchTxsResult = { + encode(message: SearchTxsResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.totalCount.isZero()) { + writer.uint32(8).uint64(message.totalCount); + } + + if (!message.count.isZero()) { + writer.uint32(16).uint64(message.count); + } + + if (!message.pageNumber.isZero()) { + writer.uint32(24).uint64(message.pageNumber); + } + + if (!message.pageTotal.isZero()) { + writer.uint32(32).uint64(message.pageTotal); + } + + if (!message.limit.isZero()) { + writer.uint32(40).uint64(message.limit); + } + + for (const v of message.txs) { + TxResponse.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSearchTxsResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.totalCount = (reader.uint64() as Long); + break; + + case 2: + message.count = (reader.uint64() as Long); + break; + + case 3: + message.pageNumber = (reader.uint64() as Long); + break; + + case 4: + message.pageTotal = (reader.uint64() as Long); + break; + + case 5: + message.limit = (reader.uint64() as Long); + break; + + case 6: + message.txs.push(TxResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SearchTxsResult { + return { + totalCount: isSet(object.totalCount) ? Long.fromString(object.totalCount) : Long.UZERO, + count: isSet(object.count) ? Long.fromString(object.count) : Long.UZERO, + pageNumber: isSet(object.pageNumber) ? Long.fromString(object.pageNumber) : Long.UZERO, + pageTotal: isSet(object.pageTotal) ? Long.fromString(object.pageTotal) : Long.UZERO, + limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.count !== undefined && (obj.count = (message.count || Long.UZERO).toString()); + message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || Long.UZERO).toString()); + message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || Long.UZERO).toString()); + message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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 ? Long.fromValue(object.totalCount) : Long.UZERO; + message.count = object.count !== undefined && object.count !== null ? Long.fromValue(object.count) : Long.UZERO; + message.pageNumber = object.pageNumber !== undefined && object.pageNumber !== null ? Long.fromValue(object.pageNumber) : Long.UZERO; + message.pageTotal = object.pageTotal !== undefined && object.pageTotal !== null ? Long.fromValue(object.pageTotal) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.txs = object.txs?.map(e => TxResponse.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts new file mode 100644 index 000000000..a925f2346 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts @@ -0,0 +1,145 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** Pairs defines a repeated slice of Pair objects. */ +export interface Pairs { + pairs: Pair[]; +} + +/** Pair defines a key/value bytes tuple. */ +export interface Pair { + key: Uint8Array; + value: Uint8Array; +} + +function createBasePairs(): Pairs { + return { + pairs: [] + }; +} + +export const Pairs = { + encode(message: Pairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + Pair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBasePair(): Pair { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Pair = { + encode(message: Pair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Pair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts new file mode 100644 index 000000000..a1896f5f0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -0,0 +1,246 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBasePageRequest(): PageRequest { + return { + key: new Uint8Array(), + offset: Long.UZERO, + limit: Long.UZERO, + countTotal: false, + reverse: false + }; +} + +export const PageRequest = { + encode(message: PageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (!message.offset.isZero()) { + writer.uint32(16).uint64(message.offset); + } + + if (!message.limit.isZero()) { + writer.uint32(24).uint64(message.limit); + } + + if (message.countTotal === true) { + writer.uint32(32).bool(message.countTotal); + } + + if (message.reverse === true) { + writer.uint32(40).bool(message.reverse); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.offset = (reader.uint64() as Long); + break; + + case 3: + message.limit = (reader.uint64() as Long); + break; + + case 4: + message.countTotal = reader.bool(); + break; + + case 5: + message.reverse = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PageRequest { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + offset: isSet(object.offset) ? Long.fromString(object.offset) : Long.UZERO, + limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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(); + message.offset = object.offset !== undefined && object.offset !== null ? Long.fromValue(object.offset) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.countTotal = object.countTotal ?? false; + message.reverse = object.reverse ?? false; + return message; + } + +}; + +function createBasePageResponse(): PageResponse { + return { + nextKey: new Uint8Array(), + total: Long.UZERO + }; +} + +export const PageResponse = { + encode(message: PageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nextKey.length !== 0) { + writer.uint32(10).bytes(message.nextKey); + } + + if (!message.total.isZero()) { + writer.uint32(16).uint64(message.total); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextKey = reader.bytes(); + break; + + case 2: + message.total = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PageResponse { + return { + nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array(), + total: isSet(object.total) ? Long.fromString(object.total) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): PageResponse { + const message = createBasePageResponse(); + message.nextKey = object.nextKey ?? new Uint8Array(); + message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts new file mode 100644 index 000000000..42369d351 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -0,0 +1,254 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesRequest {} + +/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesResponse { + /** interface_names is an array of all the registered interfaces. */ + interfaceNames: 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; +} + +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ +export interface ListImplementationsResponse { + implementationMessageNames: string[]; +} + +function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { + return {}; +} + +export const ListAllInterfacesRequest = { + encode(_: ListAllInterfacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { + return { + interfaceNames: [] + }; +} + +export const ListAllInterfacesResponse = { + encode(message: ListAllInterfacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaceNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListImplementationsRequest(): ListImplementationsRequest { + return { + interfaceName: "" + }; +} + +export const ListImplementationsRequest = { + encode(message: ListImplementationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.interfaceName !== "") { + writer.uint32(10).string(message.interfaceName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListImplementationsResponse(): ListImplementationsResponse { + return { + implementationMessageNames: [] + }; +} + +export const ListImplementationsResponse = { + encode(message: ListImplementationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.implementationMessageNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts new file mode 100644 index 000000000..d629b4537 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -0,0 +1,1853 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** chain provides the chain descriptor */ + chain: ChainDescriptor | undefined; + + /** codec provides metadata information regarding codec related types */ + codec: CodecDescriptor | undefined; + + /** configuration provides metadata information regarding the sdk.Config type */ + configuration: ConfigurationDescriptor | undefined; + + /** query_services provides metadata information regarding the available queriable endpoints */ + queryServices: QueryServicesDescriptor | undefined; + + /** tx provides metadata information regarding how to send transactions to the given application */ + tx: TxDescriptor | undefined; +} + +/** 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[]; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** ChainDescriptor describes chain information of the application */ +export interface ChainDescriptor { + /** id is the chain id */ + 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[]; +} + +/** 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[]; +} + +/** 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; +} + +/** + * 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[]; +} + +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ +export interface ConfigurationDescriptor { + /** bech32_account_address_prefix is the account address prefix */ + bech32AccountAddressPrefix: 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; +} + +/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ +export interface GetAuthnDescriptorRequest {} + +/** 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 | undefined; +} + +/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ +export interface GetChainDescriptorRequest {} + +/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ +export interface GetChainDescriptorResponse { + /** chain describes application chain information */ + chain: ChainDescriptor | undefined; +} + +/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ +export interface GetCodecDescriptorRequest {} + +/** 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 | undefined; +} + +/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorRequest {} + +/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorResponse { + /** config describes the application's sdk.Config */ + config: ConfigurationDescriptor | undefined; +} + +/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorRequest {} + +/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorResponse { + /** queries provides information on the available queryable services */ + queries: QueryServicesDescriptor | undefined; +} + +/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ +export interface GetTxDescriptorRequest {} + +/** 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 | undefined; +} + +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ +export interface QueryServicesDescriptor { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + queryServices: QueryServiceDescriptor[]; +} + +/** 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[]; +} + +/** + * 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; +} + +function createBaseAppDescriptor(): AppDescriptor { + return { + authn: undefined, + chain: undefined, + codec: undefined, + configuration: undefined, + queryServices: undefined, + tx: undefined + }; +} + +export const AppDescriptor = { + encode(message: AppDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(18).fork()).ldelim(); + } + + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(26).fork()).ldelim(); + } + + if (message.configuration !== undefined) { + ConfigurationDescriptor.encode(message.configuration, writer.uint32(34).fork()).ldelim(); + } + + if (message.queryServices !== undefined) { + QueryServicesDescriptor.encode(message.queryServices, writer.uint32(42).fork()).ldelim(); + } + + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAppDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + case 3: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + case 4: + message.configuration = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + case 5: + message.queryServices = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + case 6: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; + message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; + message.configuration = object.configuration !== undefined && object.configuration !== null ? ConfigurationDescriptor.fromPartial(object.configuration) : undefined; + message.queryServices = object.queryServices !== undefined && object.queryServices !== null ? QueryServicesDescriptor.fromPartial(object.queryServices) : undefined; + message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; + return message; + } + +}; + +function createBaseTxDescriptor(): TxDescriptor { + return { + fullname: "", + msgs: [] + }; +} + +export const TxDescriptor = { + encode(message: TxDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.msgs) { + MsgDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.msgs.push(MsgDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.msgs = object.msgs?.map(e => MsgDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthnDescriptor(): AuthnDescriptor { + return { + signModes: [] + }; +} + +export const AuthnDescriptor = { + encode(message: AuthnDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signModes) { + SigningModeDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthnDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signModes.push(SigningModeDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSigningModeDescriptor(): SigningModeDescriptor { + return { + name: "", + number: 0, + authnInfoProviderMethodFullname: "" + }; +} + +export const SigningModeDescriptor = { + encode(message: SigningModeDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.authnInfoProviderMethodFullname !== "") { + writer.uint32(26).string(message.authnInfoProviderMethodFullname); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSigningModeDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.authnInfoProviderMethodFullname = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.number = object.number ?? 0; + message.authnInfoProviderMethodFullname = object.authnInfoProviderMethodFullname ?? ""; + return message; + } + +}; + +function createBaseChainDescriptor(): ChainDescriptor { + return { + id: "" + }; +} + +export const ChainDescriptor = { + encode(message: ChainDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChainDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseCodecDescriptor(): CodecDescriptor { + return { + interfaces: [] + }; +} + +export const CodecDescriptor = { + encode(message: CodecDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaces) { + InterfaceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodecDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.interfaces.push(InterfaceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + fullname: "", + interfaceAcceptingMessages: [], + interfaceImplementers: [] + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.interfaceAcceptingMessages) { + InterfaceAcceptingMessageDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.interfaceImplementers) { + InterfaceImplementerDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.interfaceAcceptingMessages.push(InterfaceAcceptingMessageDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.interfaceImplementers.push(InterfaceImplementerDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.interfaceAcceptingMessages = object.interfaceAcceptingMessages?.map(e => InterfaceAcceptingMessageDescriptor.fromPartial(e)) || []; + message.interfaceImplementers = object.interfaceImplementers?.map(e => InterfaceImplementerDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseInterfaceImplementerDescriptor(): InterfaceImplementerDescriptor { + return { + fullname: "", + typeUrl: "" + }; +} + +export const InterfaceImplementerDescriptor = { + encode(message: InterfaceImplementerDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.typeUrl !== "") { + writer.uint32(18).string(message.typeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceImplementerDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.typeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.typeUrl = object.typeUrl ?? ""; + return message; + } + +}; + +function createBaseInterfaceAcceptingMessageDescriptor(): InterfaceAcceptingMessageDescriptor { + return { + fullname: "", + fieldDescriptorNames: [] + }; +} + +export const InterfaceAcceptingMessageDescriptor = { + encode(message: InterfaceAcceptingMessageDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.fieldDescriptorNames) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceAcceptingMessageDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.fieldDescriptorNames.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.fieldDescriptorNames = object.fieldDescriptorNames?.map(e => e) || []; + return message; + } + +}; + +function createBaseConfigurationDescriptor(): ConfigurationDescriptor { + return { + bech32AccountAddressPrefix: "" + }; +} + +export const ConfigurationDescriptor = { + encode(message: ConfigurationDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32AccountAddressPrefix !== "") { + writer.uint32(10).string(message.bech32AccountAddressPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConfigurationDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32AccountAddressPrefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgDescriptor(): MsgDescriptor { + return { + msgTypeUrl: "" + }; +} + +export const MsgDescriptor = { + encode(message: MsgDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(10).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGetAuthnDescriptorRequest(): GetAuthnDescriptorRequest { + return {}; +} + +export const GetAuthnDescriptorRequest = { + encode(_: GetAuthnDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetAuthnDescriptorRequest { + return {}; + }, + + toJSON(_: GetAuthnDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetAuthnDescriptorRequest { + const message = createBaseGetAuthnDescriptorRequest(); + return message; + } + +}; + +function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { + return { + authn: undefined + }; +} + +export const GetAuthnDescriptorResponse = { + encode(message: GetAuthnDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetChainDescriptorRequest(): GetChainDescriptorRequest { + return {}; +} + +export const GetChainDescriptorRequest = { + encode(_: GetChainDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetChainDescriptorRequest { + return {}; + }, + + toJSON(_: GetChainDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetChainDescriptorRequest { + const message = createBaseGetChainDescriptorRequest(); + return message; + } + +}; + +function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { + return { + chain: undefined + }; +} + +export const GetChainDescriptorResponse = { + encode(message: GetChainDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetCodecDescriptorRequest(): GetCodecDescriptorRequest { + return {}; +} + +export const GetCodecDescriptorRequest = { + encode(_: GetCodecDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetCodecDescriptorRequest { + return {}; + }, + + toJSON(_: GetCodecDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetCodecDescriptorRequest { + const message = createBaseGetCodecDescriptorRequest(); + return message; + } + +}; + +function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { + return { + codec: undefined + }; +} + +export const GetCodecDescriptorResponse = { + encode(message: GetCodecDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetConfigurationDescriptorRequest(): GetConfigurationDescriptorRequest { + return {}; +} + +export const GetConfigurationDescriptorRequest = { + encode(_: GetConfigurationDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetConfigurationDescriptorRequest { + return {}; + }, + + toJSON(_: GetConfigurationDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetConfigurationDescriptorRequest { + const message = createBaseGetConfigurationDescriptorRequest(); + return message; + } + +}; + +function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { + return { + config: undefined + }; +} + +export const GetConfigurationDescriptorResponse = { + encode(message: GetConfigurationDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + ConfigurationDescriptor.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.config = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorRequest(): GetQueryServicesDescriptorRequest { + return {}; +} + +export const GetQueryServicesDescriptorRequest = { + encode(_: GetQueryServicesDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetQueryServicesDescriptorRequest { + return {}; + }, + + toJSON(_: GetQueryServicesDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetQueryServicesDescriptorRequest { + const message = createBaseGetQueryServicesDescriptorRequest(); + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { + return { + queries: undefined + }; +} + +export const GetQueryServicesDescriptorResponse = { + encode(message: GetQueryServicesDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.queries !== undefined) { + QueryServicesDescriptor.encode(message.queries, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queries = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetTxDescriptorRequest(): GetTxDescriptorRequest { + return {}; +} + +export const GetTxDescriptorRequest = { + encode(_: GetTxDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetTxDescriptorRequest { + return {}; + }, + + toJSON(_: GetTxDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetTxDescriptorRequest { + const message = createBaseGetTxDescriptorRequest(); + return message; + } + +}; + +function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { + return { + tx: undefined + }; +} + +export const GetTxDescriptorResponse = { + encode(message: GetTxDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryServicesDescriptor(): QueryServicesDescriptor { + return { + queryServices: [] + }; +} + +export const QueryServicesDescriptor = { + encode(message: QueryServicesDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.queryServices) { + QueryServiceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServicesDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queryServices.push(QueryServiceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryServiceDescriptor(): QueryServiceDescriptor { + return { + fullname: "", + isModule: false, + methods: [] + }; +} + +export const QueryServiceDescriptor = { + encode(message: QueryServiceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.isModule === true) { + writer.uint32(16).bool(message.isModule); + } + + for (const v of message.methods) { + QueryMethodDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServiceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.isModule = reader.bool(); + break; + + case 3: + message.methods.push(QueryMethodDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.isModule = object.isModule ?? false; + message.methods = object.methods?.map(e => QueryMethodDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryMethodDescriptor(): QueryMethodDescriptor { + return { + name: "", + fullQueryPath: "" + }; +} + +export const QueryMethodDescriptor = { + encode(message: QueryMethodDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.fullQueryPath !== "") { + writer.uint32(18).string(message.fullQueryPath); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryMethodDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.fullQueryPath = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.fullQueryPath = object.fullQueryPath ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts new file mode 100644 index 000000000..7b831c728 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -0,0 +1,759 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** Snapshot contains Tendermint state sync snapshot info. */ +export interface Snapshot { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata: Metadata | undefined; +} + +/** Metadata contains SDK-specific snapshot metadata. */ +export interface Metadata { + /** SHA-256 chunk hashes */ + chunkHashes: Uint8Array[]; +} + +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ +export interface SnapshotItem { + store?: SnapshotStoreItem | undefined; + iavl?: SnapshotIAVLItem | undefined; + extension?: SnapshotExtensionMeta | undefined; + extensionPayload?: SnapshotExtensionPayload | undefined; + kv?: SnapshotKVItem | undefined; + schema?: SnapshotSchema | undefined; +} + +/** SnapshotStoreItem contains metadata about a snapshotted store. */ +export interface SnapshotStoreItem { + name: string; +} + +/** SnapshotIAVLItem is an exported IAVL node. */ +export interface SnapshotIAVLItem { + key: Uint8Array; + value: Uint8Array; + + /** version is block height */ + version: Long; + + /** height is depth of the tree. */ + height: number; +} + +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ +export interface SnapshotExtensionMeta { + name: string; + format: number; +} + +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ +export interface SnapshotExtensionPayload { + payload: Uint8Array; +} + +/** SnapshotKVItem is an exported Key/Value Pair */ +export interface SnapshotKVItem { + key: Uint8Array; + value: Uint8Array; +} + +/** SnapshotSchema is an exported schema of smt store */ +export interface SnapshotSchema { + keys: Uint8Array[]; +} + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: undefined + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + 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; + } + +}; + +function createBaseMetadata(): Metadata { + return { + chunkHashes: [] + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.chunkHashes) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotItem(): SnapshotItem { + return { + store: undefined, + iavl: undefined, + extension: undefined, + extensionPayload: undefined, + kv: undefined, + schema: undefined + }; +} + +export const SnapshotItem = { + encode(message: SnapshotItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotStoreItem(): SnapshotStoreItem { + return { + name: "" + }; +} + +export const SnapshotStoreItem = { + encode(message: SnapshotStoreItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { + return { + key: new Uint8Array(), + value: new Uint8Array(), + version: Long.ZERO, + height: 0 + }; +} + +export const SnapshotIAVLItem = { + encode(message: SnapshotIAVLItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.version); + } + + if (message.height !== 0) { + writer.uint32(32).int32(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.height = object.height ?? 0; + return message; + } + +}; + +function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { + return { + name: "", + format: 0 + }; +} + +export const SnapshotExtensionMeta = { + encode(message: SnapshotExtensionMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { + return { + payload: new Uint8Array() + }; +} + +export const SnapshotExtensionPayload = { + encode(message: SnapshotExtensionPayload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.payload.length !== 0) { + writer.uint32(10).bytes(message.payload); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotKVItem(): SnapshotKVItem { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const SnapshotKVItem = { + encode(message: SnapshotKVItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotSchema(): SnapshotSchema { + return { + keys: [] + }; +} + +export const SnapshotSchema = { + encode(message: SnapshotSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keys) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts new file mode 100644 index 000000000..5d7a60120 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -0,0 +1,242 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * CommitInfo defines commit information used by the multi-store when committing + * a version/height. + */ +export interface CommitInfo { + version: Long; + storeInfos: StoreInfo[]; +} + +/** + * 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 | undefined; +} + +/** + * CommitID defines the committment information when a specific store is + * committed. + */ +export interface CommitID { + version: Long; + hash: Uint8Array; +} + +function createBaseCommitInfo(): CommitInfo { + return { + version: Long.ZERO, + storeInfos: [] + }; +} + +export const CommitInfo = { + encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + for (const v of message.storeInfos) { + StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStoreInfo(): StoreInfo { + return { + name: "", + commitId: undefined + }; +} + +export const StoreInfo = { + encode(message: StoreInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseCommitID(): CommitID { + return { + version: Long.ZERO, + hash: new Uint8Array() + }; +} + +export const CommitID = { + encode(message: CommitID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() + }; + }, + + toJSON(message: CommitID): unknown { + const obj: any = {}; + message.version !== undefined && (obj.version = (message.version || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts new file mode 100644 index 000000000..f0a4203f7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts @@ -0,0 +1,112 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +function createBaseStoreKVPair(): StoreKVPair { + return { + storeKey: "", + delete: false, + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const StoreKVPair = { + encode(message: StoreKVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreKVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts new file mode 100644 index 000000000..641acd5b4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -0,0 +1,80 @@ +import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { BlockID } from "../../../../tendermint/types/types"; +import { Block } from "../../../../tendermint/types/block"; +import { NodeInfo } from "../../../../tendermint/p2p/types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; + +/** Service defines the RPC service */ +export interface Service { + getNodeInfo(request: GetNodeInfoRequest): Promise; + /*GetNodeInfo queries the current node info.*/ + + getSyncing(request: GetSyncingRequest): Promise; + /*GetSyncing queries node syncing.*/ + + getLatestBlock(request: GetLatestBlockRequest): Promise; + /*GetLatestBlock returns the latest block.*/ + + getBlockByHeight(request: GetBlockByHeightRequest): Promise; + /*GetBlockByHeight queries block for given height.*/ + + getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise; + /*GetLatestValidatorSet queries latest validator-set.*/ + + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; + /*GetValidatorSetByHeight queries validator-set at a given height.*/ + +} +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); + } + + 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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(data))); + } + + getLatestValidatorSet(request: GetLatestValidatorSetRequest): 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 _m0.Reader(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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts new file mode 100644 index 000000000..381cbb9bc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -0,0 +1,1181 @@ +import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { BlockID } from "../../../../tendermint/types/types"; +import { Block } from "../../../../tendermint/types/block"; +import { NodeInfo } from "../../../../tendermint/p2p/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetRequest { + /** pagination defines an pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** 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 | undefined; +} + +/** Validator is the type for the validator-set. */ +export interface Validator { + address: string; + pubKey: Any | undefined; + votingPower: Long; + proposerPriority: Long; +} + +/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightRequest { + height: Long; +} + +/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightResponse { + blockId: BlockID | undefined; + block: Block | undefined; +} + +/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockRequest {} + +/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockResponse { + blockId: BlockID | undefined; + block: Block | undefined; +} + +/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ +export interface GetSyncingRequest {} + +/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ +export interface GetSyncingResponse { + syncing: boolean; +} + +/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoRequest {} + +/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoResponse { + nodeInfo: NodeInfo | undefined; + applicationVersion: VersionInfo | undefined; +} + +/** 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; +} + +/** Module is the type for VersionInfo */ +export interface Module { + /** module path */ + path: string; + + /** module version */ + version: string; + + /** checksum */ + sum: string; +} + +function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetValidatorSetByHeightRequest = { + encode(message: GetValidatorSetByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.height) : Long.ZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: GetValidatorSetByHeightRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetValidatorSetByHeightResponse = { + encode(message: GetValidatorSetByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.blockHeight) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { + return { + pagination: undefined + }; +} + +export const GetLatestValidatorSetRequest = { + encode(message: GetLatestValidatorSetRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetLatestValidatorSetResponse = { + encode(message: GetLatestValidatorSetResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.blockHeight) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: "", + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + 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) ? Long.fromString(object.votingPower) : Long.ZERO, + proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).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 ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { + return { + height: Long.ZERO + }; +} + +export const GetBlockByHeightRequest = { + encode(message: GetBlockByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GetBlockByHeightRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: GetBlockByHeightRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GetBlockByHeightRequest { + const message = createBaseGetBlockByHeightRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetBlockByHeightResponse = { + encode(message: GetBlockByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.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) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { + return {}; +} + +export const GetLatestBlockRequest = { + encode(_: GetLatestBlockRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetLatestBlockResponse = { + encode(message: GetLatestBlockResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.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) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetSyncingRequest(): GetSyncingRequest { + return {}; +} + +export const GetSyncingRequest = { + encode(_: GetSyncingRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetSyncingResponse(): GetSyncingResponse { + return { + syncing: false + }; +} + +export const GetSyncingResponse = { + encode(message: GetSyncingResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.syncing === true) { + writer.uint32(8).bool(message.syncing); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { + return {}; +} + +export const GetNodeInfoRequest = { + encode(_: GetNodeInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { + return { + nodeInfo: undefined, + applicationVersion: undefined + }; +} + +export const GetNodeInfoResponse = { + encode(message: GetNodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nodeInfo !== undefined) { + NodeInfo.encode(message.nodeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.applicationVersion !== undefined) { + VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.nodeInfo = NodeInfo.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 { + nodeInfo: isSet(object.nodeInfo) ? NodeInfo.fromJSON(object.nodeInfo) : undefined, + applicationVersion: isSet(object.applicationVersion) ? VersionInfo.fromJSON(object.applicationVersion) : undefined + }; + }, + + toJSON(message: GetNodeInfoResponse): unknown { + const obj: any = {}; + message.nodeInfo !== undefined && (obj.nodeInfo = message.nodeInfo ? NodeInfo.toJSON(message.nodeInfo) : undefined); + message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); + return obj; + }, + + fromPartial(object: Partial): GetNodeInfoResponse { + const message = createBaseGetNodeInfoResponse(); + message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; + message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined; + return message; + } + +}; + +function createBaseVersionInfo(): VersionInfo { + return { + name: "", + appName: "", + version: "", + gitCommit: "", + buildTags: "", + goVersion: "", + buildDeps: [], + cosmosSdkVersion: "" + }; +} + +export const VersionInfo = { + encode(message: VersionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): VersionInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModule(): Module { + return { + path: "", + version: "", + sum: "" + }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts b/examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts new file mode 100644 index 000000000..524d3fcfe --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts @@ -0,0 +1,286 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +/** IntProto defines a Protobuf wrapper around an Int object. */ +export interface IntProto { + int: string; +} + +/** DecProto defines a Protobuf wrapper around a Dec object. */ +export interface DecProto { + dec: string; +} + +function createBaseCoin(): Coin { + return { + denom: "", + amount: "" + }; +} + +export const Coin = { + encode(message: Coin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Coin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseDecCoin(): DecCoin { + return { + denom: "", + amount: "" + }; +} + +export const DecCoin = { + encode(message: DecCoin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseIntProto(): IntProto { + return { + int: "" + }; +} + +export const IntProto = { + encode(message: IntProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.int !== "") { + writer.uint32(10).string(message.int); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IntProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIntProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.int = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseDecProto(): DecProto { + return { + dec: "" + }; +} + +export const DecProto = { + encode(message: DecProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.dec !== "") { + writer.uint32(10).string(message.dec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.dec = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bundle.ts b/examples/telescope-with-contracts/codegen/cosmos/bundle.ts new file mode 100644 index 000000000..a4ceb3fa2 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/bundle.ts @@ -0,0 +1,395 @@ +import * as _2 from "./app/v1alpha1/config"; +import * as _3 from "./app/v1alpha1/module"; +import * as _4 from "./app/v1alpha1/query"; +import * as _5 from "./auth/v1beta1/auth"; +import * as _6 from "./auth/v1beta1/genesis"; +import * as _7 from "./auth/v1beta1/query"; +import * as _8 from "./authz/v1beta1/authz"; +import * as _9 from "./authz/v1beta1/event"; +import * as _10 from "./authz/v1beta1/genesis"; +import * as _11 from "./authz/v1beta1/query"; +import * as _12 from "./authz/v1beta1/tx"; +import * as _13 from "./bank/v1beta1/authz"; +import * as _14 from "./bank/v1beta1/bank"; +import * as _15 from "./bank/v1beta1/genesis"; +import * as _16 from "./bank/v1beta1/query"; +import * as _17 from "./bank/v1beta1/tx"; +import * as _18 from "./base/abci/v1beta1/abci"; +import * as _19 from "./base/kv/v1beta1/kv"; +import * as _20 from "./base/query/v1beta1/pagination"; +import * as _21 from "./base/reflection/v1beta1/reflection"; +import * as _22 from "./base/reflection/v2alpha1/reflection"; +import * as _23 from "./base/snapshots/v1beta1/snapshot"; +import * as _24 from "./base/store/v1beta1/commit_info"; +import * as _25 from "./base/store/v1beta1/listening"; +import * as _26 from "./base/tendermint/v1beta1/query"; +import * as _27 from "./base/v1beta1/coin"; +import * as _28 from "./capability/v1beta1/capability"; +import * as _29 from "./capability/v1beta1/genesis"; +import * as _30 from "./crisis/v1beta1/genesis"; +import * as _31 from "./crisis/v1beta1/tx"; +import * as _32 from "./crypto/ed25519/keys"; +import * as _33 from "./crypto/hd/v1/hd"; +import * as _34 from "./crypto/keyring/v1/record"; +import * as _35 from "./crypto/multisig/keys"; +import * as _36 from "./crypto/secp256k1/keys"; +import * as _37 from "./crypto/secp256r1/keys"; +import * as _38 from "./distribution/v1beta1/distribution"; +import * as _39 from "./distribution/v1beta1/genesis"; +import * as _40 from "./distribution/v1beta1/query"; +import * as _41 from "./distribution/v1beta1/tx"; +import * as _42 from "./evidence/v1beta1/evidence"; +import * as _43 from "./evidence/v1beta1/genesis"; +import * as _44 from "./evidence/v1beta1/query"; +import * as _45 from "./evidence/v1beta1/tx"; +import * as _46 from "./feegrant/v1beta1/feegrant"; +import * as _47 from "./feegrant/v1beta1/genesis"; +import * as _48 from "./feegrant/v1beta1/query"; +import * as _49 from "./feegrant/v1beta1/tx"; +import * as _50 from "./genutil/v1beta1/genesis"; +import * as _51 from "./gov/v1/genesis"; +import * as _52 from "./gov/v1/gov"; +import * as _53 from "./gov/v1/query"; +import * as _54 from "./gov/v1/tx"; +import * as _55 from "./gov/v1beta1/genesis"; +import * as _56 from "./gov/v1beta1/gov"; +import * as _57 from "./gov/v1beta1/query"; +import * as _58 from "./gov/v1beta1/tx"; +import * as _59 from "./group/v1/events"; +import * as _60 from "./group/v1/genesis"; +import * as _61 from "./group/v1/query"; +import * as _62 from "./group/v1/tx"; +import * as _63 from "./group/v1/types"; +import * as _64 from "./mint/v1beta1/genesis"; +import * as _65 from "./mint/v1beta1/mint"; +import * as _66 from "./mint/v1beta1/query"; +import * as _67 from "./msg/v1/msg"; +import * as _68 from "./nft/v1beta1/event"; +import * as _69 from "./nft/v1beta1/genesis"; +import * as _70 from "./nft/v1beta1/nft"; +import * as _71 from "./nft/v1beta1/query"; +import * as _72 from "./nft/v1beta1/tx"; +import * as _73 from "./orm/v1/orm"; +import * as _74 from "./orm/v1alpha1/schema"; +import * as _75 from "./params/v1beta1/params"; +import * as _76 from "./params/v1beta1/query"; +import * as _77 from "./slashing/v1beta1/genesis"; +import * as _78 from "./slashing/v1beta1/query"; +import * as _79 from "./slashing/v1beta1/slashing"; +import * as _80 from "./slashing/v1beta1/tx"; +import * as _81 from "./staking/v1beta1/authz"; +import * as _82 from "./staking/v1beta1/genesis"; +import * as _83 from "./staking/v1beta1/query"; +import * as _84 from "./staking/v1beta1/staking"; +import * as _85 from "./staking/v1beta1/tx"; +import * as _86 from "./tx/signing/v1beta1/signing"; +import * as _87 from "./tx/v1beta1/service"; +import * as _88 from "./tx/v1beta1/tx"; +import * as _89 from "./upgrade/v1beta1/query"; +import * as _90 from "./upgrade/v1beta1/tx"; +import * as _91 from "./upgrade/v1beta1/upgrade"; +import * as _92 from "./vesting/v1beta1/tx"; +import * as _93 from "./vesting/v1beta1/vesting"; +import * as _146 from "./auth/v1beta1/query.lcd"; +import * as _147 from "./authz/v1beta1/query.lcd"; +import * as _148 from "./bank/v1beta1/query.lcd"; +import * as _149 from "./distribution/v1beta1/query.lcd"; +import * as _150 from "./evidence/v1beta1/query.lcd"; +import * as _151 from "./feegrant/v1beta1/query.lcd"; +import * as _152 from "./gov/v1/query.lcd"; +import * as _153 from "./gov/v1beta1/query.lcd"; +import * as _154 from "./group/v1/query.lcd"; +import * as _155 from "./mint/v1beta1/query.lcd"; +import * as _156 from "./nft/v1beta1/query.lcd"; +import * as _157 from "./params/v1beta1/query.lcd"; +import * as _158 from "./slashing/v1beta1/query.lcd"; +import * as _159 from "./staking/v1beta1/query.lcd"; +import * as _160 from "./upgrade/v1beta1/query.lcd"; +import * as _161 from "./app/v1alpha1/query.rpc.query"; +import * as _162 from "./auth/v1beta1/query.rpc.query"; +import * as _163 from "./authz/v1beta1/query.rpc.query"; +import * as _164 from "./bank/v1beta1/query.rpc.query"; +import * as _165 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _166 from "./distribution/v1beta1/query.rpc.query"; +import * as _167 from "./evidence/v1beta1/query.rpc.query"; +import * as _168 from "./feegrant/v1beta1/query.rpc.query"; +import * as _169 from "./gov/v1/query.rpc.query"; +import * as _170 from "./gov/v1beta1/query.rpc.query"; +import * as _171 from "./group/v1/query.rpc.query"; +import * as _172 from "./mint/v1beta1/query.rpc.query"; +import * as _173 from "./nft/v1beta1/query.rpc.query"; +import * as _174 from "./params/v1beta1/query.rpc.query"; +import * as _175 from "./slashing/v1beta1/query.rpc.query"; +import * as _176 from "./staking/v1beta1/query.rpc.query"; +import * as _177 from "./tx/v1beta1/service.rpc.svc"; +import * as _178 from "./upgrade/v1beta1/query.rpc.query"; +import * as _179 from "./authz/v1beta1/tx.rpc.msg"; +import * as _180 from "./bank/v1beta1/tx.rpc.msg"; +import * as _181 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _182 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _183 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _184 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _185 from "./gov/v1/tx.rpc.msg"; +import * as _186 from "./gov/v1beta1/tx.rpc.msg"; +import * as _187 from "./group/v1/tx.rpc.msg"; +import * as _188 from "./nft/v1beta1/tx.rpc.msg"; +import * as _189 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _190 from "./staking/v1beta1/tx.rpc.msg"; +import * as _191 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _192 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _209 from "./lcd"; +import * as _210 from "./rpc.query"; +import * as _211 from "./rpc.tx"; +export namespace cosmos { + export namespace app { + export const v1alpha1 = { ..._2, + ..._3, + ..._4, + ..._161 + }; + } + export namespace auth { + export const v1beta1 = { ..._5, + ..._6, + ..._7, + ..._146, + ..._162 + }; + } + export namespace authz { + export const v1beta1 = { ..._8, + ..._9, + ..._10, + ..._11, + ..._12, + ..._147, + ..._163, + ..._179 + }; + } + export namespace bank { + export const v1beta1 = { ..._13, + ..._14, + ..._15, + ..._16, + ..._17, + ..._148, + ..._164, + ..._180 + }; + } + export namespace base { + export namespace abci { + export const v1beta1 = { ..._18 + }; + } + export namespace kv { + export const v1beta1 = { ..._19 + }; + } + export namespace query { + export const v1beta1 = { ..._20 + }; + } + export namespace reflection { + export const v1beta1 = { ..._21 + }; + export const v2alpha1 = { ..._22 + }; + } + export namespace snapshots { + export const v1beta1 = { ..._23 + }; + } + export namespace store { + export const v1beta1 = { ..._24, + ..._25 + }; + } + export namespace tendermint { + export const v1beta1 = { ..._26, + ..._165 + }; + } + export const v1beta1 = { ..._27 + }; + } + export namespace capability { + export const v1beta1 = { ..._28, + ..._29 + }; + } + export namespace crisis { + export const v1beta1 = { ..._30, + ..._31, + ..._181 + }; + } + export namespace crypto { + export const ed25519 = { ..._32 + }; + export namespace hd { + export const v1 = { ..._33 + }; + } + export namespace keyring { + export const v1 = { ..._34 + }; + } + export const multisig = { ..._35 + }; + export const secp256k1 = { ..._36 + }; + export const secp256r1 = { ..._37 + }; + } + export namespace distribution { + export const v1beta1 = { ..._38, + ..._39, + ..._40, + ..._41, + ..._149, + ..._166, + ..._182 + }; + } + export namespace evidence { + export const v1beta1 = { ..._42, + ..._43, + ..._44, + ..._45, + ..._150, + ..._167, + ..._183 + }; + } + export namespace feegrant { + export const v1beta1 = { ..._46, + ..._47, + ..._48, + ..._49, + ..._151, + ..._168, + ..._184 + }; + } + export namespace genutil { + export const v1beta1 = { ..._50 + }; + } + export namespace gov { + export const v1 = { ..._51, + ..._52, + ..._53, + ..._54, + ..._152, + ..._169, + ..._185 + }; + export const v1beta1 = { ..._55, + ..._56, + ..._57, + ..._58, + ..._153, + ..._170, + ..._186 + }; + } + export namespace group { + export const v1 = { ..._59, + ..._60, + ..._61, + ..._62, + ..._63, + ..._154, + ..._171, + ..._187 + }; + } + export namespace mint { + export const v1beta1 = { ..._64, + ..._65, + ..._66, + ..._155, + ..._172 + }; + } + export namespace msg { + export const v1 = { ..._67 + }; + } + export namespace nft { + export const v1beta1 = { ..._68, + ..._69, + ..._70, + ..._71, + ..._72, + ..._156, + ..._173, + ..._188 + }; + } + export namespace orm { + export const v1 = { ..._73 + }; + export const v1alpha1 = { ..._74 + }; + } + export namespace params { + export const v1beta1 = { ..._75, + ..._76, + ..._157, + ..._174 + }; + } + export namespace slashing { + export const v1beta1 = { ..._77, + ..._78, + ..._79, + ..._80, + ..._158, + ..._175, + ..._189 + }; + } + export namespace staking { + export const v1beta1 = { ..._81, + ..._82, + ..._83, + ..._84, + ..._85, + ..._159, + ..._176, + ..._190 + }; + } + export namespace tx { + export namespace signing { + export const v1beta1 = { ..._86 + }; + } + export const v1beta1 = { ..._87, + ..._88, + ..._177 + }; + } + export namespace upgrade { + export const v1beta1 = { ..._89, + ..._90, + ..._91, + ..._160, + ..._178, + ..._191 + }; + } + export namespace vesting { + export const v1beta1 = { ..._92, + ..._93, + ..._192 + }; + } + export const ClientFactory = { ..._209, + ..._210, + ..._211 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts new file mode 100644 index 000000000..271685c24 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts @@ -0,0 +1,216 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * Capability defines an implementation of an object capability. The index + * provided to a Capability must be globally unique. + */ +export interface Capability { + 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; +} + +/** + * CapabilityOwners defines a set of owners of a single Capability. The set of + * owners must be unique. + */ +export interface CapabilityOwners { + owners: Owner[]; +} + +function createBaseCapability(): Capability { + return { + index: Long.UZERO + }; +} + +export const Capability = { + encode(message: Capability, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Capability { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Capability { + return { + index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO + }; + }, + + toJSON(message: Capability): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Capability { + const message = createBaseCapability(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; + return message; + } + +}; + +function createBaseOwner(): Owner { + return { + module: "", + name: "" + }; +} + +export const Owner = { + encode(message: Owner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Owner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseCapabilityOwners(): CapabilityOwners { + return { + owners: [] + }; +} + +export const CapabilityOwners = { + encode(message: CapabilityOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.owners) { + Owner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts new file mode 100644 index 000000000..f35b17850 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts @@ -0,0 +1,168 @@ +import { CapabilityOwners } from "./capability"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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[]; +} + +function createBaseGenesisOwners(): GenesisOwners { + return { + index: Long.UZERO, + indexOwners: undefined + }; +} + +export const GenesisOwners = { + encode(message: GenesisOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + if (message.indexOwners !== undefined) { + CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.UZERO, + indexOwners: isSet(object.indexOwners) ? CapabilityOwners.fromJSON(object.indexOwners) : undefined + }; + }, + + toJSON(message: GenesisOwners): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; + message.indexOwners = object.indexOwners !== undefined && object.indexOwners !== null ? CapabilityOwners.fromPartial(object.indexOwners) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + index: Long.UZERO, + owners: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + for (const v of message.owners) { + GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; + message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts new file mode 100644 index 000000000..4fb027081 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -0,0 +1,69 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + constantFee: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.constantFee !== undefined) { + Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..fd156a3be --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,25 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + verifyInvariant(request: MsgVerifyInvariant): Promise; + /*VerifyInvariant defines a method to verify a particular invariance.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts new file mode 100644 index 000000000..267a67c7b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts @@ -0,0 +1,136 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgVerifyInvariant represents a message to verify a particular invariance. */ +export interface MsgVerifyInvariant { + sender: string; + invariantModuleName: string; + invariantRoute: string; +} + +/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ +export interface MsgVerifyInvariantResponse {} + +function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { + return { + sender: "", + invariantModuleName: "", + invariantRoute: "" + }; +} + +export const MsgVerifyInvariant = { + encode(message: MsgVerifyInvariant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { + return {}; +} + +export const MsgVerifyInvariantResponse = { + encode(_: MsgVerifyInvariantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts new file mode 100644 index 000000000..1283cbc41 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts @@ -0,0 +1,135 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts new file mode 100644 index 000000000..93089b42a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts @@ -0,0 +1,128 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 */ + 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; +} + +function createBaseBIP44Params(): BIP44Params { + return { + purpose: 0, + coinType: 0, + account: 0, + change: false, + addressIndex: 0 + }; +} + +export const BIP44Params = { + encode(message: BIP44Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.purpose !== 0) { + writer.uint32(8).uint32(message.purpose); + } + + if (message.coinType !== 0) { + writer.uint32(16).uint32(message.coinType); + } + + if (message.account !== 0) { + writer.uint32(24).uint32(message.account); + } + + if (message.change === true) { + writer.uint32(32).bool(message.change); + } + + if (message.addressIndex !== 0) { + writer.uint32(40).uint32(message.addressIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBIP44Params(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.purpose = reader.uint32(); + break; + + case 2: + message.coinType = reader.uint32(); + break; + + case 3: + message.account = reader.uint32(); + break; + + case 4: + message.change = reader.bool(); + break; + + case 5: + message.addressIndex = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.coinType = object.coinType ?? 0; + message.account = object.account ?? 0; + message.change = object.change ?? false; + message.addressIndex = object.addressIndex ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts new file mode 100644 index 000000000..be1c46066 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts @@ -0,0 +1,374 @@ +import { Any } from "../../../../google/protobuf/any"; +import { BIP44Params } from "../../hd/v1/hd"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** local stores the public information about a locally stored key */ + local?: Record_Local | undefined; + + /** ledger stores the public information about a Ledger key */ + ledger?: Record_Ledger | undefined; + + /** Multi does not store any information. */ + multi?: Record_Multi | undefined; + + /** Offline does not store any information. */ + offline?: Record_Offline | undefined; +} + +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ +export interface Record_Local { + privKey: Any | undefined; + privKeyType: string; +} + +/** Ledger item */ +export interface Record_Ledger { + path: BIP44Params | undefined; +} + +/** Multi item */ +export interface Record_Multi {} + +/** Offline item */ +export interface Record_Offline {} + +function createBaseRecord(): Record { + return { + name: "", + pubKey: undefined, + local: undefined, + ledger: undefined, + multi: undefined, + offline: undefined + }; +} + +export const Record = { + encode(message: Record, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.local !== undefined) { + Record_Local.encode(message.local, writer.uint32(26).fork()).ldelim(); + } + + if (message.ledger !== undefined) { + Record_Ledger.encode(message.ledger, writer.uint32(34).fork()).ldelim(); + } + + if (message.multi !== undefined) { + Record_Multi.encode(message.multi, writer.uint32(42).fork()).ldelim(); + } + + if (message.offline !== undefined) { + Record_Offline.encode(message.offline, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.pubKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.local = Record_Local.decode(reader, reader.uint32()); + break; + + case 4: + message.ledger = Record_Ledger.decode(reader, reader.uint32()); + break; + + case 5: + message.multi = Record_Multi.decode(reader, reader.uint32()); + break; + + case 6: + message.offline = Record_Offline.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.local = object.local !== undefined && object.local !== null ? Record_Local.fromPartial(object.local) : undefined; + message.ledger = object.ledger !== undefined && object.ledger !== null ? Record_Ledger.fromPartial(object.ledger) : undefined; + message.multi = object.multi !== undefined && object.multi !== null ? Record_Multi.fromPartial(object.multi) : undefined; + message.offline = object.offline !== undefined && object.offline !== null ? Record_Offline.fromPartial(object.offline) : undefined; + return message; + } + +}; + +function createBaseRecord_Local(): Record_Local { + return { + privKey: undefined, + privKeyType: "" + }; +} + +export const Record_Local = { + encode(message: Record_Local, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.privKey !== undefined) { + Any.encode(message.privKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.privKeyType !== "") { + writer.uint32(18).string(message.privKeyType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Local(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.privKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.privKeyType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Record_Local { + return { + privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined, + privKeyType: isSet(object.privKeyType) ? String(object.privKeyType) : "" + }; + }, + + toJSON(message: Record_Local): unknown { + const obj: any = {}; + message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); + message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType); + return obj; + }, + + fromPartial(object: Partial): Record_Local { + const message = createBaseRecord_Local(); + message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; + message.privKeyType = object.privKeyType ?? ""; + return message; + } + +}; + +function createBaseRecord_Ledger(): Record_Ledger { + return { + path: undefined + }; +} + +export const Record_Ledger = { + encode(message: Record_Ledger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== undefined) { + BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Ledger(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = BIP44Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseRecord_Multi(): Record_Multi { + return {}; +} + +export const Record_Multi = { + encode(_: Record_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + } + +}; + +function createBaseRecord_Offline(): Record_Offline { + return {}; +} + +export const Record_Offline = { + encode(_: Record_Offline, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Offline(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts new file mode 100644 index 000000000..859eedc3b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts @@ -0,0 +1,88 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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[]; +} + +function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { + return { + threshold: 0, + publicKeys: [] + }; +} + +export const LegacyAminoPubKey = { + encode(message: LegacyAminoPubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== 0) { + writer.uint32(8).uint32(message.threshold); + } + + for (const v of message.publicKeys) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLegacyAminoPubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.uint32(); + break; + + case 2: + message.publicKeys.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts new file mode 100644 index 000000000..9ba9d59c8 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -0,0 +1,154 @@ +import * as _m0 from "protobufjs/minimal"; +import { bytesFromBase64, base64FromBytes, isSet } from "@osmonauts/helpers"; + +/** + * 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[]; +} + +/** + * 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; +} + +function createBaseMultiSignature(): MultiSignature { + return { + signatures: [] + }; +} + +export const MultiSignature = { + encode(message: MultiSignature, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMultiSignature(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseCompactBitArray(): CompactBitArray { + return { + extraBitsStored: 0, + elems: new Uint8Array() + }; +} + +export const CompactBitArray = { + encode(message: CompactBitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.extraBitsStored !== 0) { + writer.uint32(8).uint32(message.extraBitsStored); + } + + if (message.elems.length !== 0) { + writer.uint32(18).bytes(message.elems); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompactBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.extraBitsStored = reader.uint32(); + break; + + case 2: + message.elems = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.elems = object.elems ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts new file mode 100644 index 000000000..cc0a200bb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts @@ -0,0 +1,132 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** PrivKey defines a secp256k1 private key. */ +export interface PrivKey { + key: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts new file mode 100644 index 000000000..f9b840c3f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts @@ -0,0 +1,131 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** 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; +} + +/** PrivKey defines a secp256r1 ECDSA private key. */ +export interface PrivKey { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + secret: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.secret.length !== 0) { + writer.uint32(10).bytes(message.secret); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.secret = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts new file mode 100644 index 000000000..9bcd72a40 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -0,0 +1,1048 @@ +import { DecCoin, Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Params defines the set of params for the distribution module. */ +export interface Params { + communityTax: string; + baseProposerReward: string; + bonusProposerReward: string; + withdrawAddrEnabled: 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; +} + +/** + * 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; +} + +/** + * ValidatorAccumulatedCommission represents accumulated commission + * for a validator kept as a running counter, can be withdrawn at any time. + */ +export interface ValidatorAccumulatedCommission { + commission: DecCoin[]; +} + +/** + * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + * for a validator inexpensive to track, allows simple sanity checks. + */ +export interface ValidatorOutstandingRewards { + rewards: DecCoin[]; +} + +/** + * 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; +} + +/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ +export interface ValidatorSlashEvents { + validatorSlashEvents: ValidatorSlashEvent[]; +} + +/** FeePool is the global fee pool for distribution. */ +export interface FeePool { + communityPool: DecCoin[]; +} + +/** + * 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 { + title: string; + description: string; + recipient: string; + amount: Coin[]; +} + +/** + * 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; +} + +/** + * DelegationDelegatorReward represents the properties + * of a delegator's delegation reward. + */ +export interface DelegationDelegatorReward { + validatorAddress: string; + reward: DecCoin[]; +} + +/** + * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal + * with a deposit + */ +export interface CommunityPoolSpendProposalWithDeposit { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} + +function createBaseParams(): Params { + return { + communityTax: "", + baseProposerReward: "", + bonusProposerReward: "", + withdrawAddrEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.communityTax !== "") { + writer.uint32(10).string(message.communityTax); + } + + if (message.baseProposerReward !== "") { + writer.uint32(18).string(message.baseProposerReward); + } + + if (message.bonusProposerReward !== "") { + writer.uint32(26).string(message.bonusProposerReward); + } + + if (message.withdrawAddrEnabled === true) { + writer.uint32(32).bool(message.withdrawAddrEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.communityTax = reader.string(); + break; + + case 2: + message.baseProposerReward = reader.string(); + break; + + case 3: + message.bonusProposerReward = reader.string(); + break; + + case 4: + message.withdrawAddrEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.baseProposerReward = object.baseProposerReward ?? ""; + message.bonusProposerReward = object.bonusProposerReward ?? ""; + message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false; + return message; + } + +}; + +function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards { + return { + cumulativeRewardRatio: [], + referenceCount: 0 + }; +} + +export const ValidatorHistoricalRewards = { + encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.cumulativeRewardRatio) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.referenceCount !== 0) { + writer.uint32(16).uint32(message.referenceCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.referenceCount = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.referenceCount = object.referenceCount ?? 0; + return message; + } + +}; + +function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards { + return { + rewards: [], + period: Long.UZERO + }; +} + +export const ValidatorCurrentRewards = { + encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorCurrentRewards { + return { + rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromJSON(e)) : [], + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorCurrentRewards { + const message = createBaseValidatorCurrentRewards(); + message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission { + return { + commission: [] + }; +} + +export const ValidatorAccumulatedCommission = { + encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commission) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards { + return { + rewards: [] + }; +} + +export const ValidatorOutstandingRewards = { + encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseValidatorSlashEvent(): ValidatorSlashEvent { + return { + validatorPeriod: Long.UZERO, + fraction: "" + }; +} + +export const ValidatorSlashEvent = { + encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.validatorPeriod.isZero()) { + writer.uint32(8).uint64(message.validatorPeriod); + } + + if (message.fraction !== "") { + writer.uint32(18).string(message.fraction); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorPeriod = (reader.uint64() as Long); + break; + + case 2: + message.fraction = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorSlashEvent { + return { + validatorPeriod: isSet(object.validatorPeriod) ? Long.fromString(object.validatorPeriod) : Long.UZERO, + fraction: isSet(object.fraction) ? String(object.fraction) : "" + }; + }, + + toJSON(message: ValidatorSlashEvent): unknown { + const obj: any = {}; + message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || Long.UZERO).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 ? Long.fromValue(object.validatorPeriod) : Long.UZERO; + message.fraction = object.fraction ?? ""; + return message; + } + +}; + +function createBaseValidatorSlashEvents(): ValidatorSlashEvents { + return { + validatorSlashEvents: [] + }; +} + +export const ValidatorSlashEvents = { + encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorSlashEvents) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvents(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFeePool(): FeePool { + return { + communityPool: [] + }; +} + +export const FeePool = { + encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.communityPool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FeePool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFeePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.communityPool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal { + return { + title: "", + description: "", + recipient: "", + amount: [] + }; +} + +export const CommunityPoolSpendProposal = { + encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDelegatorStartingInfo(): DelegatorStartingInfo { + return { + previousPeriod: Long.UZERO, + stake: "", + height: Long.UZERO + }; +} + +export const DelegatorStartingInfo = { + encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.previousPeriod.isZero()) { + writer.uint32(8).uint64(message.previousPeriod); + } + + if (message.stake !== "") { + writer.uint32(18).string(message.stake); + } + + if (!message.height.isZero()) { + writer.uint32(24).uint64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.previousPeriod = (reader.uint64() as Long); + break; + + case 2: + message.stake = reader.string(); + break; + + case 3: + message.height = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): DelegatorStartingInfo { + return { + previousPeriod: isSet(object.previousPeriod) ? Long.fromString(object.previousPeriod) : Long.UZERO, + stake: isSet(object.stake) ? String(object.stake) : "", + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO + }; + }, + + toJSON(message: DelegatorStartingInfo): unknown { + const obj: any = {}; + message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || Long.UZERO).toString()); + message.stake !== undefined && (obj.stake = message.stake); + message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): DelegatorStartingInfo { + const message = createBaseDelegatorStartingInfo(); + message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; + message.stake = object.stake ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + return message; + } + +}; + +function createBaseDelegationDelegatorReward(): DelegationDelegatorReward { + return { + validatorAddress: "", + reward: [] + }; +} + +export const DelegationDelegatorReward = { + encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.reward) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.reward.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit { + return { + title: "", + description: "", + recipient: "", + amount: "", + deposit: "" + }; +} + +export const CommunityPoolSpendProposalWithDeposit = { + encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + if (message.amount !== "") { + writer.uint32(34).string(message.amount); + } + + if (message.deposit !== "") { + writer.uint32(42).string(message.deposit); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposalWithDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount = reader.string(); + break; + + case 5: + message.deposit = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount ?? ""; + message.deposit = object.deposit ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts new file mode 100644 index 000000000..dc6a2ef7b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -0,0 +1,861 @@ +import { DecCoin } from "../../base/v1beta1/coin"; +import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "./distribution"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** 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[]; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** GenesisState defines the distribution module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** fee_pool defines the fee pool at genesis. */ + feePool: FeePool | undefined; + + /** 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[]; +} + +function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const DelegatorWithdrawInfo = { + encode(message: DelegatorWithdrawInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorWithdrawInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseValidatorOutstandingRewardsRecord(): ValidatorOutstandingRewardsRecord { + return { + validatorAddress: "", + outstandingRewards: [] + }; +} + +export const ValidatorOutstandingRewardsRecord = { + encode(message: ValidatorOutstandingRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.outstandingRewards) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { + return { + validatorAddress: "", + accumulated: undefined + }; +} + +export const ValidatorAccumulatedCommissionRecord = { + encode(message: ValidatorAccumulatedCommissionRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.accumulated !== undefined) { + ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommissionRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.accumulated = object.accumulated !== undefined && object.accumulated !== null ? ValidatorAccumulatedCommission.fromPartial(object.accumulated) : undefined; + return message; + } + +}; + +function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalRewardsRecord { + return { + validatorAddress: "", + period: Long.UZERO, + rewards: undefined + }; +} + +export const ValidatorHistoricalRewardsRecord = { + encode(message: ValidatorHistoricalRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + if (message.rewards !== undefined) { + ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + case 3: + message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorHistoricalRewardsRecord { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, + 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 || Long.UZERO).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 ?? ""; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorHistoricalRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { + return { + validatorAddress: "", + rewards: undefined + }; +} + +export const ValidatorCurrentRewardsRecord = { + encode(message: ValidatorCurrentRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.rewards !== undefined) { + ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorCurrentRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { + return { + delegatorAddress: "", + validatorAddress: "", + startingInfo: undefined + }; +} + +export const DelegatorStartingInfoRecord = { + encode(message: DelegatorStartingInfoRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.startingInfo !== undefined) { + DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfoRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.startingInfo = object.startingInfo !== undefined && object.startingInfo !== null ? DelegatorStartingInfo.fromPartial(object.startingInfo) : undefined; + return message; + } + +}; + +function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { + return { + validatorAddress: "", + height: Long.UZERO, + period: Long.UZERO, + validatorSlashEvent: undefined + }; +} + +export const ValidatorSlashEventRecord = { + encode(message: ValidatorSlashEventRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.height.isZero()) { + writer.uint32(16).uint64(message.height); + } + + if (!message.period.isZero()) { + writer.uint32(24).uint64(message.period); + } + + if (message.validatorSlashEvent !== undefined) { + ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEventRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.height = (reader.uint64() as Long); + break; + + case 3: + message.period = (reader.uint64() as Long); + break; + + case 4: + message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorSlashEventRecord { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.period !== undefined && (obj.period = (message.period || Long.UZERO).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 ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.validatorSlashEvent = object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null ? ValidatorSlashEvent.fromPartial(object.validatorSlashEvent) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + feePool: undefined, + delegatorWithdrawInfos: [], + previousProposer: "", + outstandingRewards: [], + validatorAccumulatedCommissions: [], + validatorHistoricalRewards: [], + validatorCurrentRewards: [], + delegatorStartingInfos: [], + validatorSlashEvents: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.feePool !== undefined) { + FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatorWithdrawInfos) { + DelegatorWithdrawInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.previousProposer !== "") { + writer.uint32(34).string(message.previousProposer); + } + + for (const v of message.outstandingRewards) { + ValidatorOutstandingRewardsRecord.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.validatorAccumulatedCommissions) { + ValidatorAccumulatedCommissionRecord.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.validatorHistoricalRewards) { + ValidatorHistoricalRewardsRecord.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.validatorCurrentRewards) { + ValidatorCurrentRewardsRecord.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.delegatorStartingInfos) { + DelegatorStartingInfoRecord.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.validatorSlashEvents) { + ValidatorSlashEventRecord.encode(v!, writer.uint32(82).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.feePool = FeePool.decode(reader, reader.uint32()); + break; + + case 3: + message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32())); + break; + + case 4: + message.previousProposer = reader.string(); + break; + + case 5: + message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32())); + break; + + case 7: + message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32())); + break; + + case 8: + message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32())); + break; + + case 9: + message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32())); + break; + + case 10: + message.validatorSlashEvents.push(ValidatorSlashEventRecord.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, + 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; + message.feePool = object.feePool !== undefined && object.feePool !== null ? FeePool.fromPartial(object.feePool) : undefined; + message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map(e => DelegatorWithdrawInfo.fromPartial(e)) || []; + message.previousProposer = object.previousProposer ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => ValidatorOutstandingRewardsRecord.fromPartial(e)) || []; + message.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions?.map(e => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || []; + message.validatorHistoricalRewards = object.validatorHistoricalRewards?.map(e => ValidatorHistoricalRewardsRecord.fromPartial(e)) || []; + message.validatorCurrentRewards = object.validatorCurrentRewards?.map(e => ValidatorCurrentRewardsRecord.fromPartial(e)) || []; + message.delegatorStartingInfos = object.delegatorStartingInfos?.map(e => DelegatorStartingInfoRecord.fromPartial(e)) || []; + message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEventRecord.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts new file mode 100644 index 000000000..45a8c6c73 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -0,0 +1,145 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries params of the distribution module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/params`; + return await this.request(endpoint); + } + + /* ValidatorOutstandingRewards queries rewards of a validator address. */ + async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddress !== "undefined") { + options.params.validator_address = params.validatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; + return await this.request(endpoint, options); + } + + /* ValidatorCommission queries accumulated commission for a validator. */ + async validatorCommission(params: QueryValidatorCommissionRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddress !== "undefined") { + options.params.validator_address = params.validatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; + return await this.request(endpoint, options); + } + + /* ValidatorSlashes queries slash events of a validator. */ + async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddress !== "undefined") { + options.params.validator_address = params.validatorAddress; + } + + if (typeof params?.startingHeight !== "undefined") { + options.params.starting_height = params.startingHeight; + } + + if (typeof params?.endingHeight !== "undefined") { + options.params.ending_height = params.endingHeight; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; + return await this.request(endpoint, options); + } + + /* DelegationRewards queries the total rewards accrued by a delegation. */ + async delegationRewards(params: QueryDelegationRewardsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddress !== "undefined") { + options.params.delegator_address = params.delegatorAddress; + } + + if (typeof params?.validatorAddress !== "undefined") { + options.params.validator_address = params.validatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; + return await this.request(endpoint, options); + } + + /* DelegationTotalRewards queries the total rewards accrued by a each + validator. */ + async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddress !== "undefined") { + options.params.delegator_address = params.delegatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; + return await this.request(endpoint, options); + } + + /* DelegatorValidators queries the validators of a delegator. */ + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddress !== "undefined") { + options.params.delegator_address = params.delegatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; + return await this.request(endpoint, options); + } + + /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ + async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddress !== "undefined") { + options.params.delegator_address = params.delegatorAddress; + } + + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; + return await this.request(endpoint, options); + } + + /* CommunityPool queries the community pool coins. */ + async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/community_pool`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..b68258b3d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -0,0 +1,109 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries params of the distribution module.*/ + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + /*ValidatorOutstandingRewards queries rewards of a validator address.*/ + + validatorCommission(request: QueryValidatorCommissionRequest): Promise; + /*ValidatorCommission queries accumulated commission for a validator.*/ + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise; + /*ValidatorSlashes queries slash events of a validator.*/ + + delegationRewards(request: QueryDelegationRewardsRequest): Promise; + /*DelegationRewards queries the total rewards accrued by a delegation.*/ + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; + /*DelegationTotalRewards queries the total rewards accrued by a each + validator.*/ + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /*DelegatorValidators queries the validators of a delegator.*/ + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ + + communityPool(request: QueryCommunityPoolRequest): Promise; + /*CommunityPool queries the community pool coins.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); + return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); + } + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + const data = QueryValidatorCommissionRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); + return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + const data = QueryValidatorSlashesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); + return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); + } + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + const data = QueryDelegationRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); + return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); + } + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); + return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); + return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + communityPool(request: QueryCommunityPoolRequest): Promise { + const data = QueryCommunityPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); + return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts new file mode 100644 index 000000000..1e91dfcf5 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts @@ -0,0 +1,1277 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** + * 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; +} + +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsResponse { + rewards: ValidatorOutstandingRewards | undefined; +} + +/** + * 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; +} + +/** + * QueryValidatorCommissionResponse is the response type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionResponse { + /** commission defines the commision the validator received. */ + commission: ValidatorAccumulatedCommission | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegationRewardsResponse is the response type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsResponse { + /** rewards defines the rewards accrued by a delegation. */ + rewards: DecCoin[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC + * method. + */ +export interface QueryCommunityPoolRequest {} + +/** + * QueryCommunityPoolResponse is the response type for the Query/CommunityPool + * RPC method. + */ +export interface QueryCommunityPoolResponse { + /** pool defines community pool's coins. */ + pool: DecCoin[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsRequest(): QueryValidatorOutstandingRewardsRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorOutstandingRewardsRequest = { + encode(message: QueryValidatorOutstandingRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { + return { + rewards: undefined + }; +} + +export const QueryValidatorOutstandingRewardsResponse = { + encode(message: QueryValidatorOutstandingRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rewards !== undefined) { + ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorCommissionRequest(): QueryValidatorCommissionRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorCommissionRequest = { + encode(message: QueryValidatorCommissionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { + return { + commission: undefined + }; +} + +export const QueryValidatorCommissionResponse = { + encode(message: QueryValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commission !== undefined) { + ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest { + return { + validatorAddress: "", + startingHeight: Long.UZERO, + endingHeight: Long.UZERO, + pagination: undefined + }; +} + +export const QueryValidatorSlashesRequest = { + encode(message: QueryValidatorSlashesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.startingHeight.isZero()) { + writer.uint32(16).uint64(message.startingHeight); + } + + if (!message.endingHeight.isZero()) { + writer.uint32(24).uint64(message.endingHeight); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.startingHeight = (reader.uint64() as Long); + break; + + case 3: + message.endingHeight = (reader.uint64() as Long); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryValidatorSlashesRequest { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + startingHeight: isSet(object.startingHeight) ? Long.fromString(object.startingHeight) : Long.UZERO, + endingHeight: isSet(object.endingHeight) ? Long.fromString(object.endingHeight) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).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 ?? ""; + message.startingHeight = object.startingHeight !== undefined && object.startingHeight !== null ? Long.fromValue(object.startingHeight) : Long.UZERO; + message.endingHeight = object.endingHeight !== undefined && object.endingHeight !== null ? Long.fromValue(object.endingHeight) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { + return { + slashes: [], + pagination: undefined + }; +} + +export const QueryValidatorSlashesResponse = { + encode(message: QueryValidatorSlashesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.slashes) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.slashes.push(ValidatorSlashEvent.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRewardsRequest(): QueryDelegationRewardsRequest { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const QueryDelegationRewardsRequest = { + encode(message: QueryDelegationRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationRewardsResponse(): QueryDelegationRewardsResponse { + return { + rewards: [] + }; +} + +export const QueryDelegationRewardsResponse = { + encode(message: QueryDelegationRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsRequest(): QueryDelegationTotalRewardsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegationTotalRewardsRequest = { + encode(message: QueryDelegationTotalRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsResponse(): QueryDelegationTotalRewardsResponse { + return { + rewards: [], + total: [] + }; +} + +export const QueryDelegationTotalRewardsResponse = { + encode(message: QueryDelegationTotalRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DelegationDelegatorReward.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.total) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32())); + break; + + case 2: + message.total.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.total = object.total?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [] + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressRequest(): QueryDelegatorWithdrawAddressRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressRequest = { + encode(message: QueryDelegatorWithdrawAddressRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressResponse(): QueryDelegatorWithdrawAddressResponse { + return { + withdrawAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressResponse = { + encode(message: QueryDelegatorWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.withdrawAddress !== "") { + writer.uint32(10).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryCommunityPoolRequest(): QueryCommunityPoolRequest { + return {}; +} + +export const QueryCommunityPoolRequest = { + encode(_: QueryCommunityPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryCommunityPoolRequest { + return {}; + }, + + toJSON(_: QueryCommunityPoolRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryCommunityPoolRequest { + const message = createBaseQueryCommunityPoolRequest(); + return message; + } + +}; + +function createBaseQueryCommunityPoolResponse(): QueryCommunityPoolResponse { + return { + pool: [] + }; +} + +export const QueryCommunityPoolResponse = { + encode(message: QueryCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..a55f8b4c0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,60 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; + /*SetWithdrawAddress defines a method to change the withdraw address + for a delegator (or validator self-delegation).*/ + + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; + /*WithdrawDelegatorReward defines a method to withdraw rewards of delegator + from a single validator.*/ + + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + /*WithdrawValidatorCommission defines a method to withdraw the + full commission to the validator address.*/ + + fundCommunityPool(request: MsgFundCommunityPool): Promise; + /*FundCommunityPool defines a method to allow an account to directly + fund the community pool.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.setWithdrawAddress = this.setWithdrawAddress.bind(this); + this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this); + this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this); + this.fundCommunityPool = this.fundCommunityPool.bind(this); + } + + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + const data = MsgSetWithdrawAddress.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); + return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + const data = MsgWithdrawDelegatorReward.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); + return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); + } + + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + const data = MsgWithdrawValidatorCommission.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); + return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + fundCommunityPool(request: MsgFundCommunityPool): Promise { + const data = MsgFundCommunityPool.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); + return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts new file mode 100644 index 000000000..ef8a03387 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts @@ -0,0 +1,536 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * MsgSetWithdrawAddress sets the withdraw address for + * a delegator (or validator self-delegation). + */ +export interface MsgSetWithdrawAddress { + delegatorAddress: string; + withdrawAddress: string; +} + +/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ +export interface MsgSetWithdrawAddressResponse {} + +/** + * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator + * from a single validator. + */ +export interface MsgWithdrawDelegatorReward { + delegatorAddress: string; + validatorAddress: string; +} + +/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ +export interface MsgWithdrawDelegatorRewardResponse { + amount: Coin[]; +} + +/** + * MsgWithdrawValidatorCommission withdraws the full commission to the validator + * address. + */ +export interface MsgWithdrawValidatorCommission { + validatorAddress: string; +} + +/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ +export interface MsgWithdrawValidatorCommissionResponse { + amount: Coin[]; +} + +/** + * MsgFundCommunityPool allows an account to directly + * fund the community pool. + */ +export interface MsgFundCommunityPool { + amount: Coin[]; + depositor: string; +} + +/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ +export interface MsgFundCommunityPoolResponse {} + +function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const MsgSetWithdrawAddress = { + encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddress(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse { + return {}; +} + +export const MsgSetWithdrawAddressResponse = { + encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSetWithdrawAddressResponse { + return {}; + }, + + toJSON(_: MsgSetWithdrawAddressResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSetWithdrawAddressResponse { + const message = createBaseMsgSetWithdrawAddressResponse(); + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const MsgWithdrawDelegatorReward = { + encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawDelegatorRewardResponse = { + encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorRewardResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission { + return { + validatorAddress: "" + }; +} + +export const MsgWithdrawValidatorCommission = { + encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawValidatorCommissionResponse = { + encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseMsgFundCommunityPool(): MsgFundCommunityPool { + return { + amount: [], + depositor: "" + }; +} + +export const MsgFundCommunityPool = { + encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse { + return {}; +} + +export const MsgFundCommunityPoolResponse = { + encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgFundCommunityPoolResponse { + return {}; + }, + + toJSON(_: MsgFundCommunityPoolResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgFundCommunityPoolResponse { + const message = createBaseMsgFundCommunityPoolResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts new file mode 100644 index 000000000..6d1674271 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -0,0 +1,107 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ +export interface Equivocation { + height: Long; + time: Date | undefined; + power: Long; + consensusAddress: string; +} + +function createBaseEquivocation(): Equivocation { + return { + height: Long.ZERO, + time: undefined, + power: Long.ZERO, + consensusAddress: "" + }; +} + +export const Equivocation = { + encode(message: Equivocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + if (message.consensusAddress !== "") { + writer.uint32(34).string(message.consensusAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.power = (reader.int64() as Long); + 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) ? Long.fromString(object.height) : Long.ZERO, + time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO, + consensusAddress: isSet(object.consensusAddress) ? String(object.consensusAddress) : "" + }; + }, + + toJSON(message: Equivocation): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + message.time !== undefined && (obj.time = message.time.toISOString()); + message.power !== undefined && (obj.power = (message.power || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + message.consensusAddress = object.consensusAddress ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts new file mode 100644 index 000000000..429bb8405 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts @@ -0,0 +1,71 @@ +import { Any } 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + evidence: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts new file mode 100644 index 000000000..f235269f4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -0,0 +1,47 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Evidence queries evidence based on evidence hash. */ + async evidence(params: QueryEvidenceRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.evidenceHash !== "undefined") { + options.params.evidence_hash = params.evidenceHash; + } + + const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; + return await this.request(endpoint, options); + } + + /* 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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..84711f88f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -0,0 +1,37 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + evidence(request: QueryEvidenceRequest): Promise; + /*Evidence queries evidence based on evidence hash.*/ + + allEvidence(request: QueryAllEvidenceRequest): Promise; + /*AllEvidence queries all evidence.*/ + +} +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 _m0.Reader(data))); + } + + allEvidence(request: QueryAllEvidenceRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts new file mode 100644 index 000000000..57750b0cb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts @@ -0,0 +1,283 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ +export interface QueryEvidenceResponse { + /** evidence returns the requested evidence. */ + evidence: Any | undefined; +} + +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ +export interface QueryAllEvidenceRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { + return { + evidenceHash: new Uint8Array() + }; +} + +export const QueryEvidenceRequest = { + encode(message: QueryEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidenceHash.length !== 0) { + writer.uint32(10).bytes(message.evidenceHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { + return { + evidence: undefined + }; +} + +export const QueryEvidenceResponse = { + encode(message: QueryEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { + return { + pagination: undefined + }; +} + +export const QueryAllEvidenceRequest = { + encode(message: QueryAllEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { + return { + evidence: [], + pagination: undefined + }; +} + +export const QueryAllEvidenceResponse = { + encode(message: QueryAllEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..06a98a1aa --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitEvidence(request: MsgSubmitEvidence): Promise; + /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + counterfactual signing.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts new file mode 100644 index 000000000..e51b42e24 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts @@ -0,0 +1,144 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ +export interface MsgSubmitEvidenceResponse { + /** hash defines the hash of the evidence. */ + hash: Uint8Array; +} + +function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { + return { + submitter: "", + evidence: undefined + }; +} + +export const MsgSubmitEvidence = { + encode(message: MsgSubmitEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.submitter !== "") { + writer.uint32(10).string(message.submitter); + } + + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Any.decode(reader, reader.uint32()); + 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; + } + +}; + +function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { + return { + hash: new Uint8Array() + }; +} + +export const MsgSubmitEvidenceResponse = { + encode(message: MsgSubmitEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(34).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts new file mode 100644 index 000000000..3a0bc6abf --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -0,0 +1,421 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ +export interface BasicAllowance { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens 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: Date | undefined; +} + +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ +export interface PeriodicAllowance { + /** basic specifies a struct of `BasicAllowance` */ + basic: BasicAllowance | undefined; + + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + period: Duration | undefined; + + /** + * 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: Date | undefined; +} + +/** AllowedMsgAllowance creates allowance only for specified message types. */ +export interface AllowedMsgAllowance { + /** allowance can be any of basic and periodic fee allowance. */ + allowance: Any | undefined; + + /** allowed_messages are the messages for which the grantee has the access. */ + allowedMessages: 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: Any | undefined; +} + +function createBaseBasicAllowance(): BasicAllowance { + return { + spendLimit: [], + expiration: undefined + }; +} + +export const BasicAllowance = { + encode(message: BasicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBasicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBasePeriodicAllowance(): PeriodicAllowance { + return { + basic: undefined, + period: undefined, + periodSpendLimit: [], + periodCanSpend: [], + periodReset: undefined + }; +} + +export const PeriodicAllowance = { + encode(message: PeriodicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.basic !== undefined) { + BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim(); + } + + if (message.period !== undefined) { + Duration.encode(message.period, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.periodSpendLimit) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.periodCanSpend) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.periodReset !== undefined) { + Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.basic = BasicAllowance.decode(reader, reader.uint32()); + break; + + case 2: + message.period = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.periodSpendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + + 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 = 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; + message.periodSpendLimit = object.periodSpendLimit?.map(e => Coin.fromPartial(e)) || []; + message.periodCanSpend = object.periodCanSpend?.map(e => Coin.fromPartial(e)) || []; + message.periodReset = object.periodReset ?? undefined; + return message; + } + +}; + +function createBaseAllowedMsgAllowance(): AllowedMsgAllowance { + return { + allowance: undefined, + allowedMessages: [] + }; +} + +export const AllowedMsgAllowance = { + encode(message: AllowedMsgAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.allowedMessages) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAllowedMsgAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.allowedMessages.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.allowedMessages = object.allowedMessages?.map(e => e) || []; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts new file mode 100644 index 000000000..544d9b085 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts @@ -0,0 +1,70 @@ +import { Grant } from "./feegrant"; +import * as _m0 from "protobufjs/minimal"; + +/** GenesisState contains a set of fee allowances, persisted from the store */ +export interface GenesisState { + allowances: Grant[]; +} + +function createBaseGenesisState(): GenesisState { + return { + allowances: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowances.push(Grant.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts new file mode 100644 index 000000000..3472dc226 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -0,0 +1,52 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Allowance returns fee granted to the grantee by the granter. */ + async allowance(params: QueryAllowanceRequest): Promise { + const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; + return await this.request(endpoint); + } + + /* Allowances returns all the grants for address. */ + async allowances(params: QueryAllowancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; + return await this.request(endpoint, options); + } + + /* AllowancesByGranter returns all the grants given by an address + Since v0.46 */ + async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..05e09c0d7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -0,0 +1,48 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + allowance(request: QueryAllowanceRequest): Promise; + /*Allowance returns fee granted to the grantee by the granter.*/ + + allowances(request: QueryAllowancesRequest): Promise; + /*Allowances returns all the grants for address.*/ + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; + /*AllowancesByGranter returns all the grants given by an address + Since v0.46*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); + } + + allowance(request: QueryAllowanceRequest): Promise { + const data = QueryAllowanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); + return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); + } + + allowances(request: QueryAllowancesRequest): Promise { + const data = QueryAllowancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); + return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); + } + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + const data = QueryAllowancesByGranterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); + return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts new file mode 100644 index 000000000..51208b5d8 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts @@ -0,0 +1,467 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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. */ + granter: string; + + /** grantee is the address of the user being granted an allowance of another user's funds. */ + 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterRequest { + granter: string; + + /** pagination defines an pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterResponse { + /** allowances that have been issued by the granter. */ + allowances: Grant[]; + + /** pagination defines an pagination for the response. */ + pagination: PageResponse | undefined; +} + +function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { + return { + granter: "", + grantee: "" + }; +} + +export const QueryAllowanceRequest = { + encode(message: QueryAllowanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { + return { + allowance: undefined + }; +} + +export const QueryAllowanceResponse = { + encode(message: QueryAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryAllowancesRequest = { + encode(message: QueryAllowancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesResponse = { + encode(message: QueryAllowancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryAllowancesByGranterRequest = { + encode(message: QueryAllowancesByGranterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesByGranterResponse = { + encode(message: QueryAllowancesByGranterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..c61fedbde --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,38 @@ +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + grantAllowance(request: MsgGrantAllowance): Promise; + /*GrantAllowance grants fee allowance to the grantee on the granter's + account with the provided expiration time.*/ + + revokeAllowance(request: MsgRevokeAllowance): Promise; + /*RevokeAllowance revokes any fee allowance of granter's account that + has been granted to the grantee.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grantAllowance = this.grantAllowance.bind(this); + this.revokeAllowance = this.revokeAllowance.bind(this); + } + + grantAllowance(request: MsgGrantAllowance): Promise { + const data = MsgGrantAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); + return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); + } + + revokeAllowance(request: MsgRevokeAllowance): Promise { + const data = MsgRevokeAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); + return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts new file mode 100644 index 000000000..062a6d14b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -0,0 +1,269 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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: Any | undefined; +} + +/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ +export interface MsgGrantAllowanceResponse {} + +/** 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; +} + +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ +export interface MsgRevokeAllowanceResponse {} + +function createBaseMsgGrantAllowance(): MsgGrantAllowance { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const MsgGrantAllowance = { + encode(message: MsgGrantAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; + +function createBaseMsgGrantAllowanceResponse(): MsgGrantAllowanceResponse { + return {}; +} + +export const MsgGrantAllowanceResponse = { + encode(_: MsgGrantAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgGrantAllowanceResponse { + return {}; + }, + + toJSON(_: MsgGrantAllowanceResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgGrantAllowanceResponse { + const message = createBaseMsgGrantAllowanceResponse(); + return message; + } + +}; + +function createBaseMsgRevokeAllowance(): MsgRevokeAllowance { + return { + granter: "", + grantee: "" + }; +} + +export const MsgRevokeAllowance = { + encode(message: MsgRevokeAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeAllowanceResponse(): MsgRevokeAllowanceResponse { + return {}; +} + +export const MsgRevokeAllowanceResponse = { + encode(_: MsgRevokeAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRevokeAllowanceResponse { + return {}; + }, + + toJSON(_: MsgRevokeAllowanceResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRevokeAllowanceResponse { + const message = createBaseMsgRevokeAllowanceResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts new file mode 100644 index 000000000..a48c1c19b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts @@ -0,0 +1,71 @@ +import * as _m0 from "protobufjs/minimal"; +import { bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** GenesisState defines the raw genesis transaction in JSON. */ +export interface GenesisState { + /** gen_txs defines the genesis transactions. */ + genTxs: Uint8Array[]; +} + +function createBaseGenesisState(): GenesisState { + return { + genTxs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.genTxs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts new file mode 100644 index 000000000..02f4b27c0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts @@ -0,0 +1,172 @@ +import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** params defines all the paramaters of related to voting. */ + votingParams: VotingParams | undefined; + + /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts new file mode 100644 index 000000000..1dade1be7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts @@ -0,0 +1,1000 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/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. */ + 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus enumerates the valid statuses of a proposal. */ +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + default: + return "UNKNOWN"; + } +} + +/** WeightedVoteOption defines a unit of vote for vote split. */ +export interface WeightedVoteOption { + 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[]; +} + +/** 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 | undefined; + submitTime: Date | undefined; + depositEndTime: Date | undefined; + totalDeposit: Coin[]; + votingStartTime: Date | undefined; + votingEndTime: Date | undefined; + + /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; +} + +/** TallyResult defines a standard tally for a governance proposal. */ +export interface TallyResult { + yesCount: string; + abstainCount: string; + noCount: string; + noWithVetoCount: 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; +} + +/** 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 | undefined; +} + +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod: Duration | undefined; +} + +/** 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): WeightedVoteOption { + return { + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Deposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + messages: [], + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined, + metadata: "" + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(82).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); + message.votingEndTime !== undefined && (obj.votingEndTime = 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 ? Long.fromValue(object.id) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(42).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 5: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod ?? undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: "", + threshold: "", + vetoThreshold: "" + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum !== "") { + writer.uint32(10).string(message.quorum); + } + + if (message.threshold !== "") { + writer.uint32(18).string(message.threshold); + } + + if (message.vetoThreshold !== "") { + writer.uint32(26).string(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.string(); + break; + + case 2: + message.threshold = reader.string(); + break; + + case 3: + message.vetoThreshold = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.threshold = object.threshold ?? ""; + message.vetoThreshold = object.vetoThreshold ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts new file mode 100644 index 000000000..a2b4458b3 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts @@ -0,0 +1,149 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Proposal queries proposal details based on ProposalID. */ + async proposal(params: QueryProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; + return await this.request(endpoint, options); + } + + /* Proposals queries all proposals based on given status. */ + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals`; + return await this.request(endpoint, options); + } + + /* Vote queries voted information based on proposalID, voterAddr. */ + async vote(params: QueryVoteRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.request(endpoint, options); + } + + /* Votes queries votes of a given proposal. */ + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the gov module. */ + async params(params: QueryParamsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.paramsType !== "undefined") { + options.params.params_type = params.paramsType; + } + + const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; + return await this.request(endpoint, options); + } + + /* Deposit queries single deposit information based proposalID, depositAddr. */ + async deposit(params: QueryDepositRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.request(endpoint, options); + } + + /* Deposits queries all deposits of a single proposal. */ + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal vote. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts new file mode 100644 index 000000000..ed5c6595c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -0,0 +1,97 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries proposal details based on ProposalID.*/ + + proposals(request: QueryProposalsRequest): Promise; + /*Proposals queries all proposals based on given status.*/ + + vote(request: QueryVoteRequest): Promise; + /*Vote queries voted information based on proposalID, voterAddr.*/ + + votes(request: QueryVotesRequest): Promise; + /*Votes queries votes of a given proposal.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the gov module.*/ + + deposit(request: QueryDepositRequest): Promise; + /*Deposit queries single deposit information based proposalID, depositAddr.*/ + + deposits(request: QueryDepositsRequest): Promise; + /*Deposits queries all deposits of a single proposal.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal vote.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts new file mode 100644 index 000000000..65fe61fcc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts @@ -0,0 +1,1213 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponse { + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 oter address for the proposals. */ + voter: string; +} + +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** voting_params defines the parameters related to voting. */ + votingParams: VotingParams | undefined; + + /** deposit_params defines the parameters related to deposit. */ + depositParams: DepositParams | undefined; + + /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; +} + +/** 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; +} + +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit: Deposit | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalsRequest { + return { + proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, + 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; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + depositor: isSet(object.depositor) ? String(object.depositor) : "" + }; + }, + + toJSON(message: QueryDepositRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositsRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryDepositsRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..d9069dcb9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -0,0 +1,69 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal defines a method to create new proposal given a content.*/ + + execLegacyContent(request: MsgExecLegacyContent): Promise; + /*ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + to execute a legacy content-based proposal.*/ + + vote(request: MsgVote): Promise; + /*Vote defines a method to add a vote on a specific proposal.*/ + + voteWeighted(request: MsgVoteWeighted): Promise; + /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ + + deposit(request: MsgDeposit): Promise; + /*Deposit defines a method to add deposit on a specific proposal.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.execLegacyContent = this.execLegacyContent.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + execLegacyContent(request: MsgExecLegacyContent): Promise { + const data = MsgExecLegacyContent.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); + return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts new file mode 100644 index 000000000..6ab5c5fa4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts @@ -0,0 +1,751 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + proposalId: 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: Any | undefined; + + /** authority must be the gov module address. */ + authority: string; +} + +/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ +export interface MsgExecLegacyContentResponse {} + +/** MsgVote defines a message to cast a vote. */ +export interface MsgVote { + proposalId: Long; + voter: string; + option: VoteOption; + metadata: string; +} + +/** MsgVoteResponse defines the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** MsgVoteWeighted defines a message to cast a vote. */ +export interface MsgVoteWeighted { + proposalId: Long; + voter: string; + options: WeightedVoteOption[]; + metadata: string; +} + +/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ +export interface MsgVoteWeightedResponse {} + +/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ +export interface MsgDeposit { + proposalId: Long; + depositor: string; + amount: Coin[]; +} + +/** MsgDepositResponse defines the Msg/Deposit response type. */ +export interface MsgDepositResponse {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + messages: [], + initialDeposit: [], + proposer: "", + metadata: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgExecLegacyContent(): MsgExecLegacyContent { + return { + content: undefined, + authority: "" + }; +} + +export const MsgExecLegacyContent = { + encode(message: MsgExecLegacyContent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + if (message.authority !== "") { + writer.uint32(18).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.authority = object.authority ?? ""; + return message; + } + +}; + +function createBaseMsgExecLegacyContentResponse(): MsgExecLegacyContentResponse { + return {}; +} + +export const MsgExecLegacyContentResponse = { + encode(_: MsgExecLegacyContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgExecLegacyContentResponse { + return {}; + }, + + toJSON(_: MsgExecLegacyContentResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgExecLegacyContentResponse { + const message = createBaseMsgExecLegacyContentResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "" + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + metadata: isSet(object.metadata) ? String(object.metadata) : "" + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVoteWeighted { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteWeightedResponse { + return {}; + }, + + toJSON(_: MsgVoteWeightedResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgDeposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDepositResponse { + return {}; + }, + + toJSON(_: MsgDepositResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts new file mode 100644 index 000000000..02f4b27c0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts @@ -0,0 +1,172 @@ +import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** params defines all the paramaters of related to voting. */ + votingParams: VotingParams | undefined; + + /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts new file mode 100644 index 000000000..01968d681 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts @@ -0,0 +1,1069 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/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. */ + 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus enumerates the valid statuses of a proposal. */ +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + default: + return "UNKNOWN"; + } +} + +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ +export interface WeightedVoteOption { + option: VoteOption; + weight: string; +} + +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ +export interface TextProposal { + 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[]; +} + +/** Proposal defines the core field members of a governance proposal. */ +export interface Proposal { + proposalId: Long; + content: 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 | undefined; + submitTime: Date | undefined; + depositEndTime: Date | undefined; + totalDeposit: Coin[]; + votingStartTime: Date | undefined; + votingEndTime: Date | undefined; +} + +/** TallyResult defines a standard tally for a governance proposal. */ +export interface TallyResult { + yes: string; + abstain: string; + no: string; + noWithVeto: 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[]; +} + +/** 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 | undefined; +} + +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod: Duration | undefined; +} + +/** 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): WeightedVoteOption { + return { + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseTextProposal(): TextProposal { + return { + title: "", + description: "" + }; +} + +export const TextProposal = { + encode(message: TextProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTextProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Deposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + proposalId: Long.UZERO, + content: undefined, + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); + message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yes: "", + abstain: "", + no: "", + noWithVeto: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yes !== "") { + writer.uint32(10).string(message.yes); + } + + if (message.abstain !== "") { + writer.uint32(18).string(message.abstain); + } + + if (message.no !== "") { + writer.uint32(26).string(message.no); + } + + if (message.noWithVeto !== "") { + writer.uint32(34).string(message.noWithVeto); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yes = reader.string(); + break; + + case 2: + message.abstain = reader.string(); + break; + + case 3: + message.no = reader.string(); + break; + + case 4: + message.noWithVeto = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstain = object.abstain ?? ""; + message.no = object.no ?? ""; + message.noWithVeto = object.noWithVeto ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + options: [] + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod ?? undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: new Uint8Array(), + threshold: new Uint8Array(), + vetoThreshold: new Uint8Array() + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum.length !== 0) { + writer.uint32(10).bytes(message.quorum); + } + + if (message.threshold.length !== 0) { + writer.uint32(18).bytes(message.threshold); + } + + if (message.vetoThreshold.length !== 0) { + writer.uint32(26).bytes(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.bytes(); + break; + + case 2: + message.threshold = reader.bytes(); + break; + + case 3: + message.vetoThreshold = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.threshold = object.threshold ?? new Uint8Array(); + message.vetoThreshold = object.vetoThreshold ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts new file mode 100644 index 000000000..107e81329 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -0,0 +1,149 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Proposal queries proposal details based on ProposalID. */ + async proposal(params: QueryProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; + return await this.request(endpoint, options); + } + + /* Proposals queries all proposals based on given status. */ + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals`; + return await this.request(endpoint, options); + } + + /* Vote queries voted information based on proposalID, voterAddr. */ + async vote(params: QueryVoteRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.request(endpoint, options); + } + + /* Votes queries votes of a given proposal. */ + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the gov module. */ + async params(params: QueryParamsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.paramsType !== "undefined") { + options.params.params_type = params.paramsType; + } + + const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; + return await this.request(endpoint, options); + } + + /* Deposit queries single deposit information based proposalID, depositAddr. */ + async deposit(params: QueryDepositRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.request(endpoint, options); + } + + /* Deposits queries all deposits of a single proposal. */ + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal vote. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..f8bbb94ce --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -0,0 +1,97 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries proposal details based on ProposalID.*/ + + proposals(request: QueryProposalsRequest): Promise; + /*Proposals queries all proposals based on given status.*/ + + vote(request: QueryVoteRequest): Promise; + /*Vote queries voted information based on proposalID, voterAddr.*/ + + votes(request: QueryVotesRequest): Promise; + /*Votes queries votes of a given proposal.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the gov module.*/ + + deposit(request: QueryDepositRequest): Promise; + /*Deposit queries single deposit information based proposalID, depositAddr.*/ + + deposits(request: QueryDepositsRequest): Promise; + /*Deposits queries all deposits of a single proposal.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal vote.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts new file mode 100644 index 000000000..65fe61fcc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts @@ -0,0 +1,1213 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponse { + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 oter address for the proposals. */ + voter: string; +} + +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** voting_params defines the parameters related to voting. */ + votingParams: VotingParams | undefined; + + /** deposit_params defines the parameters related to deposit. */ + depositParams: DepositParams | undefined; + + /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; +} + +/** 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; +} + +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit: Deposit | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalsRequest { + return { + proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, + 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; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + depositor: isSet(object.depositor) ? String(object.depositor) : "" + }; + }, + + toJSON(message: QueryDepositRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositsRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryDepositsRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..e60011ec9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,60 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal defines a method to create new proposal given a content.*/ + + vote(request: MsgVote): Promise; + /*Vote defines a method to add a vote on a specific proposal.*/ + + voteWeighted(request: MsgVoteWeighted): Promise; + /*VoteWeighted defines a method to add a weighted vote on a specific proposal. + + Since: cosmos-sdk 0.43*/ + + deposit(request: MsgDeposit): Promise; + /*Deposit defines a method to add deposit on a specific proposal.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts new file mode 100644 index 000000000..cb1cd3477 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts @@ -0,0 +1,586 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ +export interface MsgSubmitProposal { + content: Any | undefined; + initialDeposit: Coin[]; + proposer: string; +} + +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + proposalId: Long; +} + +/** MsgVote defines a message to cast a vote. */ +export interface MsgVote { + proposalId: Long; + voter: string; + option: VoteOption; +} + +/** MsgVoteResponse defines the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** + * MsgVoteWeighted defines a message to cast a vote. + * + * Since: cosmos-sdk 0.43 + */ +export interface MsgVoteWeighted { + proposalId: Long; + voter: string; + options: WeightedVoteOption[]; +} + +/** + * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. + * + * Since: cosmos-sdk 0.43 + */ +export interface MsgVoteWeightedResponse {} + +/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ +export interface MsgDeposit { + proposalId: Long; + depositor: string; + amount: Coin[]; +} + +/** MsgDepositResponse defines the Msg/Deposit response type. */ +export interface MsgDepositResponse {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + content: undefined, + initialDeposit: [], + proposer: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0 + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [] + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVoteWeighted { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteWeightedResponse { + return {}; + }, + + toJSON(_: MsgVoteWeightedResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgDeposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDepositResponse { + return {}; + }, + + toJSON(_: MsgDepositResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts new file mode 100644 index 000000000..2f0929ecf --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts @@ -0,0 +1,600 @@ +import { ProposalExecutorResult, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** EventCreateGroup is an event emitted when a group is created. */ +export interface EventCreateGroup { + /** group_id is the unique ID of the group. */ + groupId: 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; +} + +/** 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; +} + +/** 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; +} + +/** EventSubmitProposal is an event emitted when a proposal is created. */ +export interface EventSubmitProposal { + /** proposal_id is the unique ID of the proposal. */ + proposalId: 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; +} + +/** 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; +} + +/** 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; +} + +/** 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; +} + +function createBaseEventCreateGroup(): EventCreateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventCreateGroup = { + encode(message: EventCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventCreateGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: EventCreateGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventCreateGroup { + const message = createBaseEventCreateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventUpdateGroup(): EventUpdateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventUpdateGroup = { + encode(message: EventUpdateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventUpdateGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: EventUpdateGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventUpdateGroup { + const message = createBaseEventUpdateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy { + return { + address: "" + }; +} + +export const EventCreateGroupPolicy = { + encode(message: EventCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy { + return { + address: "" + }; +} + +export const EventUpdateGroupPolicy = { + encode(message: EventUpdateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseEventSubmitProposal(): EventSubmitProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventSubmitProposal = { + encode(message: EventSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventSubmitProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventSubmitProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventSubmitProposal { + const message = createBaseEventSubmitProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventWithdrawProposal(): EventWithdrawProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventWithdrawProposal = { + encode(message: EventWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventWithdrawProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventWithdrawProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventWithdrawProposal { + const message = createBaseEventWithdrawProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventVote(): EventVote { + return { + proposalId: Long.UZERO + }; +} + +export const EventVote = { + encode(message: EventVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventVote { + const message = createBaseEventVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventExec(): EventExec { + return { + proposalId: Long.UZERO, + result: 0 + }; +} + +export const EventExec = { + encode(message: EventExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.result !== 0) { + writer.uint32(16).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventExec { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : 0 + }; + }, + + toJSON(message: EventExec): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); + return obj; + }, + + fromPartial(object: Partial): EventExec { + const message = createBaseEventExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.result = object.result ?? 0; + return message; + } + +}; + +function createBaseEventLeaveGroup(): EventLeaveGroup { + return { + groupId: Long.UZERO, + address: "" + }; +} + +export const EventLeaveGroup = { + encode(message: EventLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventLeaveGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: EventLeaveGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts new file mode 100644 index 000000000..4972c1920 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts @@ -0,0 +1,208 @@ +import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, Vote } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + groupSeq: Long.UZERO, + groups: [], + groupMembers: [], + groupPolicySeq: Long.UZERO, + groupPolicies: [], + proposalSeq: Long.UZERO, + proposals: [], + votes: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupSeq.isZero()) { + writer.uint32(8).uint64(message.groupSeq); + } + + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.groupMembers) { + GroupMember.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.groupPolicySeq.isZero()) { + writer.uint32(32).uint64(message.groupPolicySeq); + } + + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + if (!message.proposalSeq.isZero()) { + writer.uint32(48).uint64(message.proposalSeq); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.groupSeq = (reader.uint64() as Long); + break; + + case 2: + message.groups.push(GroupInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMembers.push(GroupMember.decode(reader, reader.uint32())); + break; + + case 4: + message.groupPolicySeq = (reader.uint64() as Long); + break; + + case 5: + message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); + break; + + case 6: + message.proposalSeq = (reader.uint64() as Long); + break; + + case 7: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 8: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + groupSeq: isSet(object.groupSeq) ? Long.fromString(object.groupSeq) : Long.UZERO, + 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) ? Long.fromString(object.groupPolicySeq) : Long.UZERO, + groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], + proposalSeq: isSet(object.proposalSeq) ? Long.fromString(object.proposalSeq) : Long.UZERO, + 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 || Long.UZERO).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 || Long.UZERO).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 || Long.UZERO).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 ? Long.fromValue(object.groupSeq) : Long.UZERO; + message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; + message.groupMembers = object.groupMembers?.map(e => GroupMember.fromPartial(e)) || []; + message.groupPolicySeq = object.groupPolicySeq !== undefined && object.groupPolicySeq !== null ? Long.fromValue(object.groupPolicySeq) : Long.UZERO; + message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; + message.proposalSeq = object.proposalSeq !== undefined && object.proposalSeq !== null ? Long.fromValue(object.proposalSeq) : Long.UZERO; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts new file mode 100644 index 000000000..6f0f7930e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts @@ -0,0 +1,203 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +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"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* GroupInfo queries group info based on group id. */ + async groupInfo(params: QueryGroupInfoRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.groupId !== "undefined") { + options.params.group_id = params.groupId; + } + + const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; + return await this.request(endpoint, options); + } + + /* GroupPolicyInfo queries group policy info based on account address of group policy. */ + async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { + const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; + return await this.request(endpoint); + } + + /* GroupMembers queries members of a group */ + async groupMembers(params: QueryGroupMembersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.groupId !== "undefined") { + options.params.group_id = params.groupId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; + return await this.request(endpoint, options); + } + + /* GroupsByAdmin queries groups by admin address. */ + async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; + return await this.request(endpoint, options); + } + + /* GroupPoliciesByGroup queries group policies by group id. */ + async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.groupId !== "undefined") { + options.params.group_id = params.groupId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; + return await this.request(endpoint, options); + } + + /* GroupsByAdmin queries group policies by admin address. */ + async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; + return await this.request(endpoint, options); + } + + /* Proposal queries a proposal based on proposal id. */ + async proposal(params: QueryProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; + return await this.request(endpoint, options); + } + + /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ + async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; + return await this.request(endpoint, options); + } + + /* VoteByProposalVoter queries a vote by proposal id and voter. */ + async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; + return await this.request(endpoint, options); + } + + /* VotesByProposal queries a vote by proposal. */ + async votesByProposal(params: QueryVotesByProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; + return await this.request(endpoint, options); + } + + /* VotesByVoter queries a vote by voter. */ + async votesByVoter(params: QueryVotesByVoterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; + return await this.request(endpoint, options); + } + + /* GroupsByMember queries groups by member address. */ + async groupsByMember(params: QueryGroupsByMemberRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal votes. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalId !== "undefined") { + options.params.proposal_id = params.proposalId; + } + + const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts new file mode 100644 index 000000000..f66380d4d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts @@ -0,0 +1,147 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 defines the RPC service */ +export interface Query { + groupInfo(request: QueryGroupInfoRequest): Promise; + /*GroupInfo queries group info based on group id.*/ + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; + /*GroupPolicyInfo queries group policy info based on account address of group policy.*/ + + groupMembers(request: QueryGroupMembersRequest): Promise; + /*GroupMembers queries members of a group*/ + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + /*GroupsByAdmin queries groups by admin address.*/ + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + /*GroupPoliciesByGroup queries group policies by group id.*/ + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + /*GroupsByAdmin queries group policies by admin address.*/ + + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries a proposal based on proposal id.*/ + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; + /*ProposalsByGroupPolicy queries proposals based on account address of group policy.*/ + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + /*VoteByProposalVoter queries a vote by proposal id and voter.*/ + + votesByProposal(request: QueryVotesByProposalRequest): Promise; + /*VotesByProposal queries a vote by proposal.*/ + + votesByVoter(request: QueryVotesByVoterRequest): Promise; + /*VotesByVoter queries a vote by voter.*/ + + groupsByMember(request: QueryGroupsByMemberRequest): Promise; + /*GroupsByMember queries groups by member address.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal votes.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + groupInfo(request: QueryGroupInfoRequest): Promise { + const data = QueryGroupInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); + return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); + } + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + const data = QueryGroupPolicyInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); + return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); + } + + groupMembers(request: QueryGroupMembersRequest): Promise { + const data = QueryGroupMembersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); + return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); + } + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + const data = QueryGroupsByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); + return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); + return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); + return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); + return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + const data = QueryVoteByProposalVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); + return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); + } + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + const data = QueryVotesByProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); + return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); + } + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + const data = QueryVotesByVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); + return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); + } + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + const data = QueryGroupsByMemberRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); + return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts new file mode 100644 index 000000000..23b5a944b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts @@ -0,0 +1,1945 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ +export interface QueryGroupInfoRequest { + /** group_id is the unique ID of the group. */ + groupId: Long; +} + +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ +export interface QueryGroupInfoResponse { + /** info is the GroupInfo for the group. */ + info: GroupInfo | undefined; +} + +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ +export interface QueryGroupPolicyInfoRequest { + /** address is the account address of the group policy. */ + address: string; +} + +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ +export interface QueryGroupPolicyInfoResponse { + /** info is the GroupPolicyInfo for the group policy. */ + info: GroupPolicyInfo | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryProposalRequest is the Query/Proposal request type. */ +export interface QueryProposalRequest { + /** proposal_id is the unique ID of a proposal. */ + proposalId: Long; +} + +/** QueryProposalResponse is the Query/Proposal response type. */ +export interface QueryProposalResponse { + /** proposal is the proposal info. */ + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ +export interface QueryVoteByProposalVoterResponse { + /** vote is the vote with given proposal_id and voter. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryTallyResultRequest is the Query/TallyResult request type. */ +export interface QueryTallyResultRequest { + /** proposal_id is the unique id of a proposal. */ + proposalId: Long; +} + +/** QueryTallyResultResponse is the Query/TallyResult response type. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { + return { + groupId: Long.UZERO + }; +} + +export const QueryGroupInfoRequest = { + encode(message: QueryGroupInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupInfoRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: QueryGroupInfoRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryGroupInfoRequest { + const message = createBaseQueryGroupInfoRequest(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupInfoResponse = { + encode(message: QueryGroupInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest { + return { + address: "" + }; +} + +export const QueryGroupPolicyInfoRequest = { + encode(message: QueryGroupPolicyInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupPolicyInfoResponse = { + encode(message: QueryGroupPolicyInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupPolicyInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupMembersRequest = { + encode(message: QueryGroupMembersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupMembersRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryGroupMembersRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { + return { + members: [], + pagination: undefined + }; +} + +export const QueryGroupMembersResponse = { + encode(message: QueryGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + GroupMember.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(GroupMember.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupsByAdminRequest = { + encode(message: QueryGroupsByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByAdminResponse = { + encode(message: QueryGroupsByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupRequest = { + encode(message: QueryGroupPoliciesByGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupPoliciesByGroupRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupResponse = { + encode(message: QueryGroupPoliciesByGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminRequest = { + encode(message: QueryGroupPoliciesByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminResponse = { + encode(message: QueryGroupPoliciesByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyRequest = { + encode(message: QueryProposalsByGroupPolicyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyResponse = { + encode(message: QueryProposalsByGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteByProposalVoterRequest = { + encode(message: QueryVoteByProposalVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteByProposalVoterRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteByProposalVoterRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { + return { + vote: undefined + }; +} + +export const QueryVoteByProposalVoterResponse = { + encode(message: QueryVoteByProposalVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesByProposalRequest = { + encode(message: QueryVotesByProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesByProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesByProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByProposalResponse = { + encode(message: QueryVotesByProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { + return { + voter: "", + pagination: undefined + }; +} + +export const QueryVotesByVoterRequest = { + encode(message: QueryVotesByVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voter !== "") { + writer.uint32(10).string(message.voter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByVoterResponse = { + encode(message: QueryVotesByVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryGroupsByMemberRequest = { + encode(message: QueryGroupsByMemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByMemberResponse = { + encode(message: QueryGroupsByMemberResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..562a750d4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -0,0 +1,157 @@ +import { Member, VoteOption } from "./types"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 defines the RPC service */ +export interface Msg { + createGroup(request: MsgCreateGroup): Promise; + /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ + + updateGroupMembers(request: MsgUpdateGroupMembers): Promise; + /*UpdateGroupMembers updates the group members with given group id and admin address.*/ + + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; + /*UpdateGroupAdmin updates the group admin with given group id and previous admin address.*/ + + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; + /*UpdateGroupMetadata updates the group metadata with given group id and admin address.*/ + + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ + + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + /*CreateGroupWithPolicy creates a new group with policy.*/ + + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; + /*UpdateGroupPolicyAdmin updates a group policy admin.*/ + + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; + /*UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.*/ + + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ + + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal submits a new proposal.*/ + + withdrawProposal(request: MsgWithdrawProposal): Promise; + /*WithdrawProposal aborts a proposal.*/ + + vote(request: MsgVote): Promise; + /*Vote allows a voter to vote on a proposal.*/ + + exec(request: MsgExec): Promise; + /*Exec executes a proposal.*/ + + leaveGroup(request: MsgLeaveGroup): Promise; + /*LeaveGroup allows a group member to leave the group.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createGroup = this.createGroup.bind(this); + this.updateGroupMembers = this.updateGroupMembers.bind(this); + this.updateGroupAdmin = this.updateGroupAdmin.bind(this); + this.updateGroupMetadata = this.updateGroupMetadata.bind(this); + this.createGroupPolicy = this.createGroupPolicy.bind(this); + this.createGroupWithPolicy = this.createGroupWithPolicy.bind(this); + this.updateGroupPolicyAdmin = this.updateGroupPolicyAdmin.bind(this); + this.updateGroupPolicyDecisionPolicy = this.updateGroupPolicyDecisionPolicy.bind(this); + this.updateGroupPolicyMetadata = this.updateGroupPolicyMetadata.bind(this); + this.submitProposal = this.submitProposal.bind(this); + this.withdrawProposal = this.withdrawProposal.bind(this); + this.vote = this.vote.bind(this); + this.exec = this.exec.bind(this); + this.leaveGroup = this.leaveGroup.bind(this); + } + + createGroup(request: MsgCreateGroup): Promise { + const data = MsgCreateGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); + return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); + } + + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + const data = MsgUpdateGroupMembers.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); + return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); + } + + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + const data = MsgUpdateGroupAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); + return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + const data = MsgUpdateGroupMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); + return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); + } + + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + const data = MsgCreateGroupPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); + return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + const data = MsgCreateGroupWithPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); + return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); + return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); + return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); + return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + withdrawProposal(request: MsgWithdrawProposal): Promise { + const data = MsgWithdrawProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); + return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + leaveGroup(request: MsgLeaveGroup): Promise { + const data = MsgLeaveGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); + return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts new file mode 100644 index 000000000..67ee95c9c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts @@ -0,0 +1,2197 @@ +import { Member, VoteOption, voteOptionFromJSON, voteOptionToJSON } from "./types"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Exec defines modes of execution of a proposal on creation or on new vote. */ +export 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 function execFromJSON(object: any): Exec { + switch (object) { + case 0: + case "EXEC_UNSPECIFIED": + return Exec.EXEC_UNSPECIFIED; + + case 1: + case "EXEC_TRY": + return Exec.EXEC_TRY; + + case -1: + case "UNRECOGNIZED": + default: + return Exec.UNRECOGNIZED; + } +} +export function execToJSON(object: Exec): string { + switch (object) { + case Exec.EXEC_UNSPECIFIED: + return "EXEC_UNSPECIFIED"; + + case Exec.EXEC_TRY: + return "EXEC_TRY"; + + default: + return "UNKNOWN"; + } +} + +/** 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: Member[]; + + /** metadata is any arbitrary metadata to attached to the group. */ + 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; +} + +/** 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: Member[]; +} + +/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ +export interface MsgUpdateGroupMembersResponse {} + +/** 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; +} + +/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ +export interface MsgUpdateGroupAdminResponse {} + +/** 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; +} + +/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ +export interface MsgUpdateGroupMetadataResponse {} + +/** 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: Any | undefined; +} + +/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ +export interface MsgCreateGroupPolicyResponse { + /** address is the account address of the newly created group policy. */ + address: string; +} + +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ +export interface MsgUpdateGroupPolicyAdmin { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of the group policy. */ + address: string; + + /** new_admin is the new group policy admin. */ + newAdmin: string; +} + +/** 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: Member[]; + + /** 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: Any | 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; +} + +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ +export interface MsgUpdateGroupPolicyAdminResponse {} + +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ +export interface MsgUpdateGroupPolicyDecisionPolicy { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of group policy. */ + address: string; + + /** decision_policy is the updated group policy's decision policy. */ + decisionPolicy: Any | undefined; +} + +/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ +export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} + +/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ +export interface MsgUpdateGroupPolicyMetadata { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of group policy. */ + address: string; + + /** metadata is the updated group policy metadata. */ + metadata: string; +} + +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ +export interface MsgUpdateGroupPolicyMetadataResponse {} + +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ +export interface MsgSubmitProposal { + /** address is the account address of 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: 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; +} + +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + /** proposal is the unique ID of the proposal. */ + proposalId: 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; +} + +/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ +export interface MsgWithdrawProposalResponse {} + +/** 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; +} + +/** MsgVoteResponse is the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** MsgExec is the Msg/Exec request type. */ +export interface MsgExec { + /** proposal is the unique ID of the proposal. */ + proposalId: Long; + + /** signer is the account address used to execute the proposal. */ + signer: string; +} + +/** MsgExecResponse is the Msg/Exec request type. */ +export interface MsgExecResponse {} + +/** 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; +} + +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ +export interface MsgLeaveGroupResponse {} + +function createBaseMsgCreateGroup(): MsgCreateGroup { + return { + admin: "", + members: [], + metadata: "" + }; +} + +export const MsgCreateGroup = { + encode(message: MsgCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroup { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.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 ? Member.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 ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse { + return { + groupId: Long.UZERO + }; +} + +export const MsgCreateGroupResponse = { + encode(message: MsgCreateGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupResponse { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: MsgCreateGroupResponse): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgCreateGroupResponse { + const message = createBaseMsgCreateGroupResponse(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers { + return { + admin: "", + groupId: Long.UZERO, + memberUpdates: [] + }; +} + +export const MsgUpdateGroupMembers = { + encode(message: MsgUpdateGroupMembers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + for (const v of message.memberUpdates) { + Member.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.memberUpdates.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupMembers { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + memberUpdates: Array.isArray(object?.memberUpdates) ? object.memberUpdates.map((e: any) => Member.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgUpdateGroupMembers): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + + if (message.memberUpdates) { + obj.memberUpdates = message.memberUpdates.map(e => e ? Member.toJSON(e) : undefined); + } else { + obj.memberUpdates = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupMembers { + const message = createBaseMsgUpdateGroupMembers(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.memberUpdates = object.memberUpdates?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse { + return {}; +} + +export const MsgUpdateGroupMembersResponse = { + encode(_: MsgUpdateGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupMembersResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupMembersResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupMembersResponse { + const message = createBaseMsgUpdateGroupMembersResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin { + return { + admin: "", + groupId: Long.UZERO, + newAdmin: "" + }; +} + +export const MsgUpdateGroupAdmin = { + encode(message: MsgUpdateGroupAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupAdmin { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupAdmin { + const message = createBaseMsgUpdateGroupAdmin(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse { + return {}; +} + +export const MsgUpdateGroupAdminResponse = { + encode(_: MsgUpdateGroupAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupAdminResponse { + const message = createBaseMsgUpdateGroupAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata { + return { + admin: "", + groupId: Long.UZERO, + metadata: "" + }; +} + +export const MsgUpdateGroupMetadata = { + encode(message: MsgUpdateGroupMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupMetadata { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.metadata !== undefined && (obj.metadata = message.metadata); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupMetadata { + const message = createBaseMsgUpdateGroupMetadata(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse { + return {}; +} + +export const MsgUpdateGroupMetadataResponse = { + encode(_: MsgUpdateGroupMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupMetadataResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupMetadataResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupMetadataResponse { + const message = createBaseMsgUpdateGroupMetadataResponse(); + return message; + } + +}; + +function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy { + return { + admin: "", + groupId: Long.UZERO, + metadata: "", + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupPolicy = { + encode(message: MsgCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).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 ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse { + return { + address: "" + }; +} + +export const MsgCreateGroupPolicyResponse = { + encode(message: MsgCreateGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin { + return { + admin: "", + address: "", + newAdmin: "" + }; +} + +export const MsgUpdateGroupPolicyAdmin = { + encode(message: MsgUpdateGroupPolicyAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyAdmin { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" + }; + }, + + toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { + const message = createBaseMsgUpdateGroupPolicyAdmin(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy { + return { + admin: "", + members: [], + groupMetadata: "", + groupPolicyMetadata: "", + groupPolicyAsAdmin: false, + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupWithPolicy = { + encode(message: MsgCreateGroupWithPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.groupMetadata !== "") { + writer.uint32(26).string(message.groupMetadata); + } + + if (message.groupPolicyMetadata !== "") { + writer.uint32(34).string(message.groupPolicyMetadata); + } + + if (message.groupPolicyAsAdmin === true) { + writer.uint32(40).bool(message.groupPolicyAsAdmin); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMetadata = reader.string(); + break; + + case 4: + message.groupPolicyMetadata = reader.string(); + break; + + case 5: + message.groupPolicyAsAdmin = reader.bool(); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupWithPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.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 ? Member.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 ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.groupMetadata = object.groupMetadata ?? ""; + message.groupPolicyMetadata = object.groupPolicyMetadata ?? ""; + message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse { + return { + groupId: Long.UZERO, + groupPolicyAddress: "" + }; +} + +export const MsgCreateGroupWithPolicyResponse = { + encode(message: MsgCreateGroupWithPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.groupPolicyAddress !== "") { + writer.uint32(18).string(message.groupPolicyAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.groupPolicyAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupWithPolicyResponse { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "" + }; + }, + + toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.groupPolicyAddress = object.groupPolicyAddress ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse { + return {}; +} + +export const MsgUpdateGroupPolicyAdminResponse = { + encode(_: MsgUpdateGroupPolicyAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse { + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy { + return { + admin: "", + address: "", + decisionPolicy: undefined + }; +} + +export const MsgUpdateGroupPolicyDecisionPolicy = { + encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined + }; + }, + + toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + 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 ?? ""; + message.address = object.address ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse { + return {}; +} + +export const MsgUpdateGroupPolicyDecisionPolicyResponse = { + encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse { + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata { + return { + admin: "", + address: "", + metadata: "" + }; +} + +export const MsgUpdateGroupPolicyMetadata = { + encode(message: MsgUpdateGroupPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyMetadata { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "" + }; + }, + + toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + message.metadata !== undefined && (obj.metadata = message.metadata); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { + const message = createBaseMsgUpdateGroupPolicyMetadata(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse { + return {}; +} + +export const MsgUpdateGroupPolicyMetadataResponse = { + encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse { + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + return message; + } + +}; + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + address: "", + proposers: [], + metadata: "", + messages: [], + exec: 0 + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.proposers) { + writer.uint32(18).string(v!); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.proposers.push(reader.string()); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposal { + return { + address: isSet(object.address) ? String(object.address) : "", + 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) : 0 + }; + }, + + toJSON(message: MsgSubmitProposal): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + + 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.address = object.address ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.metadata = object.metadata ?? ""; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgWithdrawProposal(): MsgWithdrawProposal { + return { + proposalId: Long.UZERO, + address: "" + }; +} + +export const MsgWithdrawProposal = { + encode(message: MsgWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgWithdrawProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: MsgWithdrawProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse { + return {}; +} + +export const MsgWithdrawProposalResponse = { + encode(_: MsgWithdrawProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgWithdrawProposalResponse { + return {}; + }, + + toJSON(_: MsgWithdrawProposalResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgWithdrawProposalResponse { + const message = createBaseMsgWithdrawProposalResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + exec: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + metadata: isSet(object.metadata) ? String(object.metadata) : "", + exec: isSet(object.exec) ? execFromJSON(object.exec) : 0 + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + proposalId: Long.UZERO, + signer: "" + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.signer !== "") { + writer.uint32(18).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExec { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgExec): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgExec { + const message = createBaseMsgExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return {}; +} + +export const MsgExecResponse = { + encode(_: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgExecResponse { + return {}; + }, + + toJSON(_: MsgExecResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgExecResponse { + const message = createBaseMsgExecResponse(); + return message; + } + +}; + +function createBaseMsgLeaveGroup(): MsgLeaveGroup { + return { + address: "", + groupId: Long.UZERO + }; +} + +export const MsgLeaveGroup = { + encode(message: MsgLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgLeaveGroup { + return { + address: isSet(object.address) ? String(object.address) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: MsgLeaveGroup): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgLeaveGroup { + const message = createBaseMsgLeaveGroup(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse { + return {}; +} + +export const MsgLeaveGroupResponse = { + encode(_: MsgLeaveGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgLeaveGroupResponse { + return {}; + }, + + toJSON(_: MsgLeaveGroupResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgLeaveGroupResponse { + const message = createBaseMsgLeaveGroupResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts b/examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts new file mode 100644 index 000000000..49423a2ed --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts @@ -0,0 +1,1577 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp, Long } from "@osmonauts/helpers"; + +/** VoteOption enumerates the valid vote options for a given proposal. */ +export 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus defines proposal statuses. */ +export 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 persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} +export function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_SUBMITTED": + return ProposalStatus.PROPOSAL_STATUS_SUBMITTED; + + case 2: + case "PROPOSAL_STATUS_CLOSED": + return ProposalStatus.PROPOSAL_STATUS_CLOSED; + + case 3: + case "PROPOSAL_STATUS_ABORTED": + return ProposalStatus.PROPOSAL_STATUS_ABORTED; + + case 4: + case "PROPOSAL_STATUS_WITHDRAWN": + return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_SUBMITTED: + return "PROPOSAL_STATUS_SUBMITTED"; + + case ProposalStatus.PROPOSAL_STATUS_CLOSED: + return "PROPOSAL_STATUS_CLOSED"; + + case ProposalStatus.PROPOSAL_STATUS_ABORTED: + return "PROPOSAL_STATUS_ABORTED"; + + case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: + return "PROPOSAL_STATUS_WITHDRAWN"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalResult defines types of proposal results. */ +export enum ProposalResult { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} +export function proposalResultFromJSON(object: any): ProposalResult { + switch (object) { + case 0: + case "PROPOSAL_RESULT_UNSPECIFIED": + return ProposalResult.PROPOSAL_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_RESULT_UNFINALIZED": + return ProposalResult.PROPOSAL_RESULT_UNFINALIZED; + + case 2: + case "PROPOSAL_RESULT_ACCEPTED": + return ProposalResult.PROPOSAL_RESULT_ACCEPTED; + + case 3: + case "PROPOSAL_RESULT_REJECTED": + return ProposalResult.PROPOSAL_RESULT_REJECTED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalResult.UNRECOGNIZED; + } +} +export function proposalResultToJSON(object: ProposalResult): string { + switch (object) { + case ProposalResult.PROPOSAL_RESULT_UNSPECIFIED: + return "PROPOSAL_RESULT_UNSPECIFIED"; + + case ProposalResult.PROPOSAL_RESULT_UNFINALIZED: + return "PROPOSAL_RESULT_UNFINALIZED"; + + case ProposalResult.PROPOSAL_RESULT_ACCEPTED: + return "PROPOSAL_RESULT_ACCEPTED"; + + case ProposalResult.PROPOSAL_RESULT_REJECTED: + return "PROPOSAL_RESULT_REJECTED"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalExecutorResult defines types of proposal executor results. */ +export 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { + switch (object) { + case 0: + case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN; + + case 2: + case "PROPOSAL_EXECUTOR_RESULT_SUCCESS": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS; + + case 3: + case "PROPOSAL_EXECUTOR_RESULT_FAILURE": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalExecutorResult.UNRECOGNIZED; + } +} +export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string { + switch (object) { + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: + return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN: + return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS: + return "PROPOSAL_EXECUTOR_RESULT_SUCCESS"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: + return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; + + default: + return "UNKNOWN"; + } +} + +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ +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 to attached to the member. */ + metadata: string; + + /** added_at is a timestamp specifying when a member was added. */ + addedAt: Date | undefined; +} + +/** Members defines a repeated slice of Member objects. */ +export interface Members { + /** members is the list of members. */ + members: Member[]; +} + +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ +export interface ThresholdDecisionPolicy { + /** 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 | undefined; +} + +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ +export interface PercentageDecisionPolicy { + /** 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 | undefined; +} + +/** 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 | undefined; + + /** + * 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 | undefined; +} + +/** 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: Date | undefined; +} + +/** 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 | undefined; +} + +/** 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: Any | undefined; + + /** created_at is a timestamp specifying when a group policy was created. */ + createdAt: Date | undefined; +} + +/** + * 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; + + /** address is the account address of 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. */ + submitTime: Date | undefined; + + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + groupVersion: Long; + + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + groupPolicyVersion: Long; + + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + status: ProposalStatus; + + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + result: ProposalResult; + + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + finalTallyResult: TallyResult | undefined; + + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + votingPeriodEnd: Date | undefined; + + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + executorResult: ProposalExecutorResult; + + /** messages is a list of Msgs that will be executed if the proposal passes. */ + messages: Any[]; +} + +/** 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 is the weighted sum of no votes. */ + noCount: string; + + /** no_with_veto_count is the weighted sum of veto. */ + noWithVetoCount: 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: Date | undefined; +} + +function createBaseMember(): Member { + return { + address: "", + weight: "", + metadata: "", + addedAt: undefined + }; +} + +export const Member = { + encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.addedAt !== undefined) { + Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Member { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.weight = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseMembers(): Members { + return { + members: [] + }; +} + +export const Members = { + encode(message: Members, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + Member.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Members { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Members { + return { + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromJSON(e)) : [] + }; + }, + + toJSON(message: Members): unknown { + const obj: any = {}; + + if (message.members) { + obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); + } else { + obj.members = []; + } + + return obj; + }, + + fromPartial(object: Partial): Members { + const message = createBaseMembers(); + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { + return { + threshold: "", + windows: undefined + }; +} + +export const ThresholdDecisionPolicy = { + encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== "") { + writer.uint32(10).string(message.threshold); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseThresholdDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { + return { + percentage: "", + windows: undefined + }; +} + +export const PercentageDecisionPolicy = { + encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.percentage !== "") { + writer.uint32(10).string(message.percentage); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePercentageDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.percentage = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBaseDecisionPolicyWindows(): DecisionPolicyWindows { + return { + votingPeriod: undefined, + minExecutionPeriod: undefined + }; +} + +export const DecisionPolicyWindows = { + encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + if (message.minExecutionPeriod !== undefined) { + Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecisionPolicyWindows(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.minExecutionPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod); + return obj; + }, + + fromPartial(object: Partial): DecisionPolicyWindows { + const message = createBaseDecisionPolicyWindows(); + message.votingPeriod = object.votingPeriod ?? undefined; + message.minExecutionPeriod = object.minExecutionPeriod ?? undefined; + return message; + } + +}; + +function createBaseGroupInfo(): GroupInfo { + return { + id: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + totalWeight: "", + createdAt: undefined + }; +} + +export const GroupInfo = { + encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(32).uint64(message.version); + } + + if (message.totalWeight !== "") { + writer.uint32(42).string(message.totalWeight); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.version = (reader.uint64() as Long); + break; + + case 5: + message.totalWeight = reader.string(); + break; + + case 6: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupInfo { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + admin: isSet(object.admin) ? String(object.admin) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.admin !== undefined && (obj.admin = message.admin); + message.metadata !== undefined && (obj.metadata = message.metadata); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); + message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); + return obj; + }, + + fromPartial(object: Partial): GroupInfo { + const message = createBaseGroupInfo(); + message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.totalWeight = object.totalWeight ?? ""; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseGroupMember(): GroupMember { + return { + groupId: Long.UZERO, + member: undefined + }; +} + +export const GroupMember = { + encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.member !== undefined) { + Member.encode(message.member, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.member = Member.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupMember { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + member: isSet(object.member) ? Member.fromJSON(object.member) : undefined + }; + }, + + toJSON(message: GroupMember): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined; + return message; + } + +}; + +function createBaseGroupPolicyInfo(): GroupPolicyInfo { + return { + address: "", + groupId: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + decisionPolicy: undefined, + createdAt: undefined + }; +} + +export const GroupPolicyInfo = { + encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(40).uint64(message.version); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupPolicyInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.version = (reader.uint64() as Long); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupPolicyInfo { + return { + address: isSet(object.address) ? String(object.address) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + admin: isSet(object.admin) ? String(object.admin) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.admin !== undefined && (obj.admin = message.admin); + message.metadata !== undefined && (obj.metadata = message.metadata); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); + message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); + return obj; + }, + + fromPartial(object: Partial): GroupPolicyInfo { + const message = createBaseGroupPolicyInfo(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + address: "", + metadata: "", + proposers: [], + submitTime: undefined, + groupVersion: Long.UZERO, + groupPolicyVersion: Long.UZERO, + status: 0, + result: 0, + finalTallyResult: undefined, + votingPeriodEnd: undefined, + executorResult: 0, + messages: [] + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.proposers) { + writer.uint32(34).string(v!); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (!message.groupVersion.isZero()) { + writer.uint32(48).uint64(message.groupVersion); + } + + if (!message.groupPolicyVersion.isZero()) { + writer.uint32(56).uint64(message.groupPolicyVersion); + } + + if (message.status !== 0) { + writer.uint32(64).int32(message.status); + } + + if (message.result !== 0) { + writer.uint32(72).int32(message.result); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(82).fork()).ldelim(); + } + + if (message.votingPeriodEnd !== undefined) { + Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(90).fork()).ldelim(); + } + + if (message.executorResult !== 0) { + writer.uint32(96).int32(message.executorResult); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.proposers.push(reader.string()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.groupVersion = (reader.uint64() as Long); + break; + + case 7: + message.groupPolicyVersion = (reader.uint64() as Long); + break; + + case 8: + message.status = (reader.int32() as any); + break; + + case 9: + message.result = (reader.int32() as any); + break; + + case 10: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 11: + message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 12: + message.executorResult = (reader.int32() as any); + break; + + case 13: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "", + 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) ? Long.fromString(object.groupVersion) : Long.UZERO, + groupPolicyVersion: isSet(object.groupPolicyVersion) ? Long.fromString(object.groupPolicyVersion) : Long.UZERO, + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + result: isSet(object.result) ? proposalResultFromJSON(object.result) : 0, + finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, + votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined, + executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0, + 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 || Long.UZERO).toString()); + message.address !== undefined && (obj.address = message.address); + 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 = message.submitTime.toISOString()); + message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString()); + message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString()); + message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); + message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); + message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); + message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = 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 ? Long.fromValue(object.id) : Long.UZERO; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.submitTime = object.submitTime ?? undefined; + message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? Long.fromValue(object.groupVersion) : Long.UZERO; + message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO; + message.status = object.status ?? 0; + message.result = object.result ?? 0; + message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; + message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; + message.executorResult = object.executorResult ?? 0; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + submitTime: undefined + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.submitTime = object.submitTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/lcd.ts new file mode 100644 index 000000000..079d528b8 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/lcd.ts @@ -0,0 +1,81 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts new file mode 100644 index 000000000..ed0818a4f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts @@ -0,0 +1,81 @@ +import { Minter, Params } from "./mint"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the mint module's genesis state. */ +export interface GenesisState { + /** minter is a space for holding current inflation information. */ + minter: Minter | undefined; + + /** params defines all the paramaters of the module. */ + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + minter: undefined, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.minter !== undefined) { + Minter.encode(message.minter, writer.uint32(10).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.minter = Minter.decode(reader, reader.uint32()); + break; + + case 2: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts new file mode 100644 index 000000000..8cde41929 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts @@ -0,0 +1,218 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Minter represents the minting state. */ +export interface Minter { + /** current annual inflation rate */ + inflation: string; + + /** current annual expected provisions */ + annualProvisions: 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; +} + +function createBaseMinter(): Minter { + return { + inflation: "", + annualProvisions: "" + }; +} + +export const Minter = { + encode(message: Minter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation !== "") { + writer.uint32(10).string(message.inflation); + } + + if (message.annualProvisions !== "") { + writer.uint32(18).string(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Minter { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMinter(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.string(); + break; + + case 2: + message.annualProvisions = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.annualProvisions = object.annualProvisions ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + mintDenom: "", + inflationRateChange: "", + inflationMax: "", + inflationMin: "", + goalBonded: "", + blocksPerYear: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mintDenom !== "") { + writer.uint32(10).string(message.mintDenom); + } + + if (message.inflationRateChange !== "") { + writer.uint32(18).string(message.inflationRateChange); + } + + if (message.inflationMax !== "") { + writer.uint32(26).string(message.inflationMax); + } + + if (message.inflationMin !== "") { + writer.uint32(34).string(message.inflationMin); + } + + if (message.goalBonded !== "") { + writer.uint32(42).string(message.goalBonded); + } + + if (!message.blocksPerYear.isZero()) { + writer.uint32(48).uint64(message.blocksPerYear); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.mintDenom = reader.string(); + break; + + case 2: + message.inflationRateChange = reader.string(); + break; + + case 3: + message.inflationMax = reader.string(); + break; + + case 4: + message.inflationMin = reader.string(); + break; + + case 5: + message.goalBonded = reader.string(); + break; + + case 6: + message.blocksPerYear = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.blocksPerYear) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.mintDenom = object.mintDenom ?? ""; + message.inflationRateChange = object.inflationRateChange ?? ""; + message.inflationMax = object.inflationMax ?? ""; + message.inflationMin = object.inflationMin ?? ""; + message.goalBonded = object.goalBonded ?? ""; + message.blocksPerYear = object.blocksPerYear !== undefined && object.blocksPerYear !== null ? Long.fromValue(object.blocksPerYear) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..408fe7872 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts @@ -0,0 +1,33 @@ +import { Params } from "./mint"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params returns the total set of minting parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/params`; + return await this.request(endpoint); + } + + /* Inflation returns the current minting inflation value. */ + async inflation(_params: QueryInflationRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/inflation`; + return await this.request(endpoint); + } + + /* AnnualProvisions current minting annual provisions value. */ + async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/annual_provisions`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..1cfec384e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -0,0 +1,46 @@ +import { Params } from "./mint"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params returns the total set of minting parameters.*/ + + inflation(request: QueryInflationRequest): Promise; + /*Inflation returns the current minting inflation value.*/ + + annualProvisions(request: QueryAnnualProvisionsRequest): Promise; + /*AnnualProvisions current minting annual provisions value.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + inflation(request: QueryInflationRequest): Promise { + const data = QueryInflationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); + return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); + } + + annualProvisions(request: QueryAnnualProvisionsRequest): Promise { + const data = QueryAnnualProvisionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); + return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts new file mode 100644 index 000000000..871fdd0a4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts @@ -0,0 +1,339 @@ +import { Params } from "./mint"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ +export interface QueryInflationRequest {} + +/** + * QueryInflationResponse is the response type for the Query/Inflation RPC + * method. + */ +export interface QueryInflationResponse { + /** inflation is the current minting inflation value. */ + inflation: Uint8Array; +} + +/** + * QueryAnnualProvisionsRequest is the request type for the + * Query/AnnualProvisions RPC method. + */ +export interface QueryAnnualProvisionsRequest {} + +/** + * 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; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryInflationRequest(): QueryInflationRequest { + return {}; +} + +export const QueryInflationRequest = { + encode(_: QueryInflationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryInflationRequest { + return {}; + }, + + toJSON(_: QueryInflationRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryInflationRequest { + const message = createBaseQueryInflationRequest(); + return message; + } + +}; + +function createBaseQueryInflationResponse(): QueryInflationResponse { + return { + inflation: new Uint8Array() + }; +} + +export const QueryInflationResponse = { + encode(message: QueryInflationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation.length !== 0) { + writer.uint32(10).bytes(message.inflation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsRequest(): QueryAnnualProvisionsRequest { + return {}; +} + +export const QueryAnnualProvisionsRequest = { + encode(_: QueryAnnualProvisionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryAnnualProvisionsRequest { + return {}; + }, + + toJSON(_: QueryAnnualProvisionsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryAnnualProvisionsRequest { + const message = createBaseQueryAnnualProvisionsRequest(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsResponse(): QueryAnnualProvisionsResponse { + return { + annualProvisions: new Uint8Array() + }; +} + +export const QueryAnnualProvisionsResponse = { + encode(message: QueryAnnualProvisionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.annualProvisions.length !== 0) { + writer.uint32(10).bytes(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annualProvisions = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts b/examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts new file mode 100644 index 000000000..0a183320d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts @@ -0,0 +1,279 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** EventSend is emitted on Msg/Send */ +export interface EventSend { + classId: string; + id: string; + sender: string; + receiver: string; +} + +/** EventMint is emitted on Mint */ +export interface EventMint { + classId: string; + id: string; + owner: string; +} + +/** EventBurn is emitted on Burn */ +export interface EventBurn { + classId: string; + id: string; + owner: string; +} + +function createBaseEventSend(): EventSend { + return { + classId: "", + id: "", + sender: "", + receiver: "" + }; +} + +export const EventSend = { + encode(message: EventSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEventMint(): EventMint { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventMint = { + encode(message: EventMint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventMint { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEventBurn(): EventBurn { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventBurn = { + encode(message: EventBurn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventBurn { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts new file mode 100644 index 000000000..5e1606405 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts @@ -0,0 +1,174 @@ +import { Class, NFT } from "./nft"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the nft module's genesis state. */ +export interface GenesisState { + /** class defines the class of the nft type. */ + classes: Class[]; + entries: Entry[]; +} + +/** 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + classes: [], + entries: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEntry(): Entry { + return { + owner: "", + nfts: [] + }; +} + +export const Entry = { + encode(message: Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Entry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts new file mode 100644 index 000000000..62b48229d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts @@ -0,0 +1,279 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 | undefined; +} + +/** 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 | undefined; +} + +function createBaseClass(): Class { + return { + id: "", + name: "", + symbol: "", + description: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const Class = { + encode(message: Class, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Class { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseNFT(): NFT { + return { + classId: "", + id: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const NFT = { + encode(message: NFT, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): NFT { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts new file mode 100644 index 000000000..5415a1e1d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -0,0 +1,126 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* 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 options: any = { + params: {} + }; + + if (typeof params?.classId !== "undefined") { + options.params.class_id = params.classId; + } + + const endpoint = `cosmos/nft/v1beta1/balance/${params.owner}/${params.classId}`; + return await this.request(endpoint, options); + } + + /* Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ + async owner(params: QueryOwnerRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.classId !== "undefined") { + options.params.class_id = params.classId; + } + + const endpoint = `cosmos/nft/v1beta1/owner/${params.classId}/${params.id}`; + return await this.request(endpoint, options); + } + + /* Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ + async supply(params: QuerySupplyRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.classId !== "undefined") { + options.params.class_id = params.classId; + } + + const endpoint = `cosmos/nft/v1beta1/supply/${params.classId}`; + return await this.request(endpoint, options); + } + + /* 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.request(endpoint, options); + } + + /* NFT queries an NFT based on its class and id. */ + async nFT(params: QueryNFTRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.classId !== "undefined") { + options.params.class_id = params.classId; + } + + const endpoint = `cosmos/nft/v1beta1/nfts/${params.classId}/${params.id}`; + return await this.request(endpoint, options); + } + + /* Class queries an NFT class based on its id */ + async class(params: QueryClassRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.classId !== "undefined") { + options.params.class_id = params.classId; + } + + const endpoint = `cosmos/nft/v1beta1/classes/${params.classId}`; + return await this.request(endpoint, options); + } + + /* 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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..b091e0a15 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -0,0 +1,88 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + balance(request: QueryBalanceRequest): Promise; + /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ + + owner(request: QueryOwnerRequest): Promise; + /*Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721*/ + + supply(request: QuerySupplyRequest): Promise; + /*Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.*/ + + nFTs(request: QueryNFTsRequest): Promise; + /*NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + ERC721Enumerable*/ + + nFT(request: QueryNFTRequest): Promise; + /*NFT queries an NFT based on its class and id.*/ + + class(request: QueryClassRequest): Promise; + /*Class queries an NFT class based on its id*/ + + classes(request: QueryClassesRequest): Promise; + /*Classes queries all NFT classes*/ + +} +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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(data))); + } + + classes(request: QueryClassesRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts new file mode 100644 index 000000000..6a36f511d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts @@ -0,0 +1,976 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ +export interface QueryBalanceRequest { + classId: string; + owner: string; +} + +/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ +export interface QueryBalanceResponse { + amount: Long; +} + +/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ +export interface QueryOwnerRequest { + classId: string; + id: string; +} + +/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ +export interface QueryOwnerResponse { + owner: string; +} + +/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ +export interface QuerySupplyRequest { + classId: string; +} + +/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ +export interface QuerySupplyResponse { + amount: Long; +} + +/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ +export interface QueryNFTsRequest { + classId: string; + owner: string; + pagination: PageRequest | undefined; +} + +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ +export interface QueryNFTsResponse { + nfts: NFT[]; + pagination: PageResponse | undefined; +} + +/** QueryNFTRequest is the request type for the Query/NFT RPC method */ +export interface QueryNFTRequest { + classId: string; + id: string; +} + +/** QueryNFTResponse is the response type for the Query/NFT RPC method */ +export interface QueryNFTResponse { + nft: NFT | undefined; +} + +/** QueryClassRequest is the request type for the Query/Class RPC method */ +export interface QueryClassRequest { + classId: string; +} + +/** QueryClassResponse is the response type for the Query/Class RPC method */ +export interface QueryClassResponse { + class: Class | undefined; +} + +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ +export interface QueryClassesRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ +export interface QueryClassesResponse { + classes: Class[]; + pagination: PageResponse | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + classId: "", + owner: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.owner !== "") { + writer.uint32(18).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + amount: Long.UZERO + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryBalanceResponse { + return { + amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO + }; + }, + + toJSON(message: QueryBalanceResponse): unknown { + const obj: any = {}; + message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryBalanceResponse { + const message = createBaseQueryBalanceResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryOwnerRequest(): QueryOwnerRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryOwnerRequest = { + encode(message: QueryOwnerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryOwnerResponse(): QueryOwnerResponse { + return { + owner: "" + }; +} + +export const QueryOwnerResponse = { + encode(message: QueryOwnerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.owner !== "") { + writer.uint32(10).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySupplyRequest(): QuerySupplyRequest { + return { + classId: "" + }; +} + +export const QuerySupplyRequest = { + encode(message: QuerySupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySupplyResponse(): QuerySupplyResponse { + return { + amount: Long.UZERO + }; +} + +export const QuerySupplyResponse = { + encode(message: QuerySupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySupplyResponse { + return { + amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO + }; + }, + + toJSON(message: QuerySupplyResponse): unknown { + const obj: any = {}; + message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QuerySupplyResponse { + const message = createBaseQuerySupplyResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryNFTsRequest(): QueryNFTsRequest { + return { + classId: "", + owner: "", + pagination: undefined + }; +} + +export const QueryNFTsRequest = { + encode(message: QueryNFTsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTsResponse(): QueryNFTsResponse { + return { + nfts: [], + pagination: undefined + }; +} + +export const QueryNFTsResponse = { + encode(message: QueryNFTsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTRequest(): QueryNFTRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryNFTRequest = { + encode(message: QueryNFTRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTResponse(): QueryNFTResponse { + return { + nft: undefined + }; +} + +export const QueryNFTResponse = { + encode(message: QueryNFTResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nft !== undefined) { + NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassRequest(): QueryClassRequest { + return { + classId: "" + }; +} + +export const QueryClassRequest = { + encode(message: QueryClassRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassResponse(): QueryClassResponse { + return { + class: undefined + }; +} + +export const QueryClassResponse = { + encode(message: QueryClassResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.class !== undefined) { + Class.encode(message.class, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassesRequest(): QueryClassesRequest { + return { + pagination: undefined + }; +} + +export const QueryClassesRequest = { + encode(message: QueryClassesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassesResponse(): QueryClassesResponse { + return { + classes: [], + pagination: undefined + }; +} + +export const QueryClassesResponse = { + encode(message: QueryClassesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..78ea50e14 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,25 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSend, MsgSendResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + send(request: MsgSend): Promise; + /*Send defines a method to send a nft from one account to another account.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts new file mode 100644 index 000000000..907d3c157 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts @@ -0,0 +1,156 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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; +} + +/** MsgSendResponse defines the Msg/Send response type. */ +export interface MsgSendResponse {} + +function createBaseMsgSend(): MsgSend { + return { + classId: "", + id: "", + sender: "", + receiver: "" + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts b/examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts new file mode 100644 index 000000000..d619d641d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts @@ -0,0 +1,392 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** TableDescriptor describes an ORM table. */ +export interface TableDescriptor { + /** primary_key defines the primary key for the table. */ + primaryKey: PrimaryKeyDescriptor | undefined; + + /** 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; +} + +/** 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; +} + +/** 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 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; +} + +/** 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; +} + +function createBaseTableDescriptor(): TableDescriptor { + return { + primaryKey: undefined, + index: [], + id: 0 + }; +} + +export const TableDescriptor = { + encode(message: TableDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.primaryKey !== undefined) { + PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.index) { + SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.id !== 0) { + writer.uint32(24).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTableDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.index = object.index?.map(e => SecondaryIndexDescriptor.fromPartial(e)) || []; + message.id = object.id ?? 0; + return message; + } + +}; + +function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor { + return { + fields: "", + autoIncrement: false + }; +} + +export const PrimaryKeyDescriptor = { + encode(message: PrimaryKeyDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.autoIncrement === true) { + writer.uint32(16).bool(message.autoIncrement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrimaryKeyDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.autoIncrement = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.autoIncrement = object.autoIncrement ?? false; + return message; + } + +}; + +function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor { + return { + fields: "", + id: 0, + unique: false + }; +} + +export const SecondaryIndexDescriptor = { + encode(message: SecondaryIndexDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.id !== 0) { + writer.uint32(16).uint32(message.id); + } + + if (message.unique === true) { + writer.uint32(24).bool(message.unique); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSecondaryIndexDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.id = reader.uint32(); + break; + + case 3: + message.unique = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.id = object.id ?? 0; + message.unique = object.unique ?? false; + return message; + } + +}; + +function createBaseSingletonDescriptor(): SingletonDescriptor { + return { + id: 0 + }; +} + +export const SingletonDescriptor = { + encode(message: SingletonDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== 0) { + writer.uint32(8).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSingletonDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts new file mode 100644 index 000000000..11e3c94dc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts @@ -0,0 +1,289 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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 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"; + + default: + return "UNKNOWN"; + } +} + +/** 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; +} + +/** 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; +} + +function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { + return { + schemaFile: [], + prefix: new Uint8Array() + }; +} + +export const ModuleSchemaDescriptor = { + encode(message: ModuleSchemaDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { + return { + id: 0, + protoFileName: "", + storageType: 0 + }; +} + +export const ModuleSchemaDescriptor_FileEntry = { + encode(message: ModuleSchemaDescriptor_FileEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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) : 0 + }; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts new file mode 100644 index 000000000..2023c7189 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts @@ -0,0 +1,187 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ +export interface ParameterChangeProposal { + title: string; + description: string; + changes: ParamChange[]; +} + +/** + * ParamChange defines an individual parameter change, for use in + * ParameterChangeProposal. + */ +export interface ParamChange { + subspace: string; + key: string; + value: string; +} + +function createBaseParameterChangeProposal(): ParameterChangeProposal { + return { + title: "", + description: "", + changes: [] + }; +} + +export const ParameterChangeProposal = { + encode(message: ParameterChangeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + for (const v of message.changes) { + ParamChange.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParameterChangeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.changes.push(ParamChange.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParamChange(): ParamChange { + return { + subspace: "", + key: "", + value: "" + }; +} + +export const ParamChange = { + encode(message: ParamChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + if (message.value !== "") { + writer.uint32(26).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParamChange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + case 3: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts new file mode 100644 index 000000000..5e8dd2b25 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -0,0 +1,40 @@ +import { ParamChange } from "./params"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries a specific parameter of a module, given its subspace and + key. */ + async params(params: QueryParamsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.subspace !== "undefined") { + options.params.subspace = params.subspace; + } + + if (typeof params?.key !== "undefined") { + options.params.key = params.key; + } + + const endpoint = `cosmos/params/v1beta1/params`; + return await this.request(endpoint, options); + } + + /* Subspaces queries for all registered subspaces and all keys for a subspace. */ + async subspaces(_params: QuerySubspacesRequest = {}): Promise { + const endpoint = `cosmos/params/v1beta1/subspaces`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..29b24104f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -0,0 +1,37 @@ +import { ParamChange } from "./params"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries a specific parameter of a module, given its subspace and + key.*/ + + subspaces(request: QuerySubspacesRequest): Promise; + /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + subspaces(request: QuerySubspacesRequest): Promise { + const data = QuerySubspacesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); + return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts new file mode 100644 index 000000000..9ba52a80f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts @@ -0,0 +1,348 @@ +import { ParamChange } from "./params"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** param defines the queried parameter. */ + param: ParamChange | undefined; +} + +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ +export interface QuerySubspacesRequest {} + +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ +export interface QuerySubspacesResponse { + subspaces: Subspace[]; +} + +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ +export interface Subspace { + subspace: string; + keys: string[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + subspace: "", + key: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.key = object.key ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + param: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.param !== undefined) { + ParamChange.encode(message.param, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.param = ParamChange.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQuerySubspacesRequest(): QuerySubspacesRequest { + return {}; +} + +export const QuerySubspacesRequest = { + encode(_: QuerySubspacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QuerySubspacesRequest { + return {}; + }, + + toJSON(_: QuerySubspacesRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QuerySubspacesRequest { + const message = createBaseQuerySubspacesRequest(); + return message; + } + +}; + +function createBaseQuerySubspacesResponse(): QuerySubspacesResponse { + return { + subspaces: [] + }; +} + +export const QuerySubspacesResponse = { + encode(message: QuerySubspacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.subspaces) { + Subspace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspaces.push(Subspace.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSubspace(): Subspace { + return { + subspace: "", + keys: [] + }; +} + +export const Subspace = { + encode(message: Subspace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + for (const v of message.keys) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Subspace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSubspace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.keys.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.keys = object.keys?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts new file mode 100644 index 000000000..8c8c4a608 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts @@ -0,0 +1,55 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("./app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("./auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("./gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("./gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("./group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("./nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("./params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("./slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("./staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts b/examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts new file mode 100644 index 000000000..e2598af91 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts @@ -0,0 +1,49 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("./authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("./gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("./gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("./vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts new file mode 100644 index 000000000..89d8403a0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -0,0 +1,356 @@ +import { Params, ValidatorSigningInfo } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** GenesisState defines the slashing module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params: Params | undefined; + + /** + * 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[]; +} + +/** 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 | undefined; +} + +/** + * 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[]; +} + +/** 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; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + signingInfos: [], + missedBlocks: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSigningInfo(): SigningInfo { + return { + address: "", + validatorSigningInfo: undefined + }; +} + +export const SigningInfo = { + encode(message: SigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { + return { + address: "", + missedBlocks: [] + }; +} + +export const ValidatorMissedBlocks = { + encode(message: ValidatorMissedBlocks, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMissedBlock(): MissedBlock { + return { + index: Long.ZERO, + missed: false + }; +} + +export const MissedBlock = { + encode(message: MissedBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).int64(message.index); + } + + if (message.missed === true) { + writer.uint32(16).bool(message.missed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.ZERO, + missed: isSet(object.missed) ? Boolean(object.missed) : false + }; + }, + + toJSON(message: MissedBlock): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.index) : Long.ZERO; + message.missed = object.missed ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts new file mode 100644 index 000000000..f01e6797e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -0,0 +1,53 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries the parameters of slashing module */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/slashing/v1beta1/params`; + return await this.request(endpoint); + } + + /* SigningInfo queries the signing info of given cons address */ + async signingInfo(params: QuerySigningInfoRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.consAddress !== "undefined") { + options.params.cons_address = params.consAddress; + } + + const endpoint = `cosmos/slashing/v1beta1/signing_infos/${params.consAddress}`; + return await this.request(endpoint, options); + } + + /* 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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..c52fcf97c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -0,0 +1,47 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries the parameters of slashing module*/ + + signingInfo(request: QuerySigningInfoRequest): Promise; + /*SigningInfo queries the signing info of given cons address*/ + + signingInfos(request: QuerySigningInfosRequest): Promise; + /*SigningInfos queries signing info of all validators*/ + +} +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 _m0.Reader(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 _m0.Reader(data))); + } + + signingInfos(request: QuerySigningInfosRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts new file mode 100644 index 000000000..774855756 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts @@ -0,0 +1,394 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method */ +export interface QueryParamsResponse { + params: Params | undefined; +} + +/** + * 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; +} + +/** + * 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 | undefined; +} + +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ +export interface QuerySigningInfosRequest { + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { + return { + consAddress: "" + }; +} + +export const QuerySigningInfoRequest = { + encode(message: QuerySigningInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consAddress !== "") { + writer.uint32(10).string(message.consAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { + return { + valSigningInfo: undefined + }; +} + +export const QuerySigningInfoResponse = { + encode(message: QuerySigningInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.valSigningInfo !== undefined) { + ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { + return { + pagination: undefined + }; +} + +export const QuerySigningInfosRequest = { + encode(message: QuerySigningInfosRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { + return { + info: [], + pagination: undefined + }; +} + +export const QuerySigningInfosResponse = { + encode(message: QuerySigningInfosResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts new file mode 100644 index 000000000..9bf5f95ee --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -0,0 +1,268 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/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: 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: Date | undefined; + + /** + * 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; +} + +/** Params represents the parameters used for by the slashing module. */ +export interface Params { + signedBlocksWindow: Long; + minSignedPerWindow: Uint8Array; + downtimeJailDuration: Duration | undefined; + slashFractionDoubleSign: Uint8Array; + slashFractionDowntime: Uint8Array; +} + +function createBaseValidatorSigningInfo(): ValidatorSigningInfo { + return { + address: "", + startHeight: Long.ZERO, + indexOffset: Long.ZERO, + jailedUntil: undefined, + tombstoned: false, + missedBlocksCounter: Long.ZERO + }; +} + +export const ValidatorSigningInfo = { + encode(message: ValidatorSigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.startHeight.isZero()) { + writer.uint32(16).int64(message.startHeight); + } + + if (!message.indexOffset.isZero()) { + writer.uint32(24).int64(message.indexOffset); + } + + if (message.jailedUntil !== undefined) { + Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim(); + } + + if (message.tombstoned === true) { + writer.uint32(40).bool(message.tombstoned); + } + + if (!message.missedBlocksCounter.isZero()) { + writer.uint32(48).int64(message.missedBlocksCounter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 3: + message.indexOffset = (reader.int64() as Long); + break; + + case 4: + message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.tombstoned = reader.bool(); + break; + + case 6: + message.missedBlocksCounter = (reader.int64() as Long); + 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) ? Long.fromString(object.startHeight) : Long.ZERO, + indexOffset: isSet(object.indexOffset) ? Long.fromString(object.indexOffset) : Long.ZERO, + jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined, + tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false, + missedBlocksCounter: isSet(object.missedBlocksCounter) ? Long.fromString(object.missedBlocksCounter) : Long.ZERO + }; + }, + + toJSON(message: ValidatorSigningInfo): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString()); + message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString()); + message.jailedUntil !== undefined && (obj.jailedUntil = message.jailedUntil.toISOString()); + message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); + message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorSigningInfo { + const message = createBaseValidatorSigningInfo(); + message.address = object.address ?? ""; + message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? Long.fromValue(object.startHeight) : Long.ZERO; + message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? Long.fromValue(object.indexOffset) : Long.ZERO; + message.jailedUntil = object.jailedUntil ?? undefined; + message.tombstoned = object.tombstoned ?? false; + message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + signedBlocksWindow: Long.ZERO, + minSignedPerWindow: new Uint8Array(), + downtimeJailDuration: undefined, + slashFractionDoubleSign: new Uint8Array(), + slashFractionDowntime: new Uint8Array() + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.signedBlocksWindow.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.signedBlocksWindow) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); + message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration); + 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 ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; + message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); + message.downtimeJailDuration = object.downtimeJailDuration ?? undefined; + message.slashFractionDoubleSign = object.slashFractionDoubleSign ?? new Uint8Array(); + message.slashFractionDowntime = object.slashFractionDowntime ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..4c7948316 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgUnjail, MsgUnjailResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + unjail(request: MsgUnjail): Promise; + /*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.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts new file mode 100644 index 000000000..6551bff33 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts @@ -0,0 +1,110 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgUnjail defines the Msg/Unjail request type */ +export interface MsgUnjail { + validatorAddr: string; +} + +/** MsgUnjailResponse defines the Msg/Unjail response type */ +export interface MsgUnjailResponse {} + +function createBaseMsgUnjail(): MsgUnjail { + return { + validatorAddr: "" + }; +} + +export const MsgUnjail = { + encode(message: MsgUnjail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgUnjailResponse(): MsgUnjailResponse { + return {}; +} + +export const MsgUnjailResponse = { + encode(_: MsgUnjailResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts new file mode 100644 index 000000000..a3f158574 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts @@ -0,0 +1,251 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * AuthorizationType defines the type of staking module authorization type + * + * Since: cosmos-sdk 0.43 + */ +export 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 function authorizationTypeFromJSON(object: any): AuthorizationType { + switch (object) { + case 0: + case "AUTHORIZATION_TYPE_UNSPECIFIED": + return AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED; + + case 1: + case "AUTHORIZATION_TYPE_DELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_DELEGATE; + + case 2: + case "AUTHORIZATION_TYPE_UNDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE; + + case 3: + case "AUTHORIZATION_TYPE_REDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE; + + case -1: + case "UNRECOGNIZED": + default: + return AuthorizationType.UNRECOGNIZED; + } +} +export function authorizationTypeToJSON(object: AuthorizationType): string { + switch (object) { + case AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED: + return "AUTHORIZATION_TYPE_UNSPECIFIED"; + + case AuthorizationType.AUTHORIZATION_TYPE_DELEGATE: + return "AUTHORIZATION_TYPE_DELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE: + return "AUTHORIZATION_TYPE_UNDELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: + return "AUTHORIZATION_TYPE_REDELEGATE"; + + default: + return "UNKNOWN"; + } +} + +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ +export interface StakeAuthorization { + /** + * 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 | undefined; + + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + allowList?: StakeAuthorization_Validators | undefined; + + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + denyList?: StakeAuthorization_Validators | undefined; + + /** authorization_type defines one of AuthorizationType. */ + authorizationType: AuthorizationType; +} + +/** Validators defines list of validator addresses. */ +export interface StakeAuthorization_Validators { + address: string[]; +} + +function createBaseStakeAuthorization(): StakeAuthorization { + return { + maxTokens: undefined, + allowList: undefined, + denyList: undefined, + authorizationType: 0 + }; +} + +export const StakeAuthorization = { + encode(message: StakeAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.maxTokens !== undefined) { + Coin.encode(message.maxTokens, writer.uint32(10).fork()).ldelim(); + } + + if (message.allowList !== undefined) { + StakeAuthorization_Validators.encode(message.allowList, writer.uint32(18).fork()).ldelim(); + } + + if (message.denyList !== undefined) { + StakeAuthorization_Validators.encode(message.denyList, writer.uint32(26).fork()).ldelim(); + } + + if (message.authorizationType !== 0) { + writer.uint32(32).int32(message.authorizationType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxTokens = Coin.decode(reader, reader.uint32()); + break; + + case 2: + message.allowList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 3: + message.denyList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 4: + message.authorizationType = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0 + }; + }, + + 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; + message.allowList = object.allowList !== undefined && object.allowList !== null ? StakeAuthorization_Validators.fromPartial(object.allowList) : undefined; + message.denyList = object.denyList !== undefined && object.denyList !== null ? StakeAuthorization_Validators.fromPartial(object.denyList) : undefined; + message.authorizationType = object.authorizationType ?? 0; + return message; + } + +}; + +function createBaseStakeAuthorization_Validators(): StakeAuthorization_Validators { + return { + address: [] + }; +} + +export const StakeAuthorization_Validators = { + encode(message: StakeAuthorization_Validators, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.address) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization_Validators(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts new file mode 100644 index 000000000..8aafa425b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts @@ -0,0 +1,279 @@ +import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** GenesisState defines the staking module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params: Params | undefined; + + /** + * 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; +} + +/** 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; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + lastTotalPower: new Uint8Array(), + lastValidatorPowers: [], + validators: [], + delegations: [], + unbondingDelegations: [], + redelegations: [], + exported: false + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.lastTotalPower.length !== 0) { + writer.uint32(18).bytes(message.lastTotalPower); + } + + for (const v of message.lastValidatorPowers) { + LastValidatorPower.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.delegations) { + Delegation.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.unbondingDelegations) { + UnbondingDelegation.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.redelegations) { + Redelegation.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.exported === true) { + writer.uint32(64).bool(message.exported); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.lastTotalPower = reader.bytes(); + break; + + case 3: + message.lastValidatorPowers.push(LastValidatorPower.decode(reader, reader.uint32())); + break; + + case 4: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 5: + message.delegations.push(Delegation.decode(reader, reader.uint32())); + break; + + case 6: + message.unbondingDelegations.push(UnbondingDelegation.decode(reader, reader.uint32())); + break; + + case 7: + message.redelegations.push(Redelegation.decode(reader, reader.uint32())); + break; + + case 8: + message.exported = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.lastTotalPower = object.lastTotalPower ?? new Uint8Array(); + message.lastValidatorPowers = object.lastValidatorPowers?.map(e => LastValidatorPower.fromPartial(e)) || []; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.delegations = object.delegations?.map(e => Delegation.fromPartial(e)) || []; + message.unbondingDelegations = object.unbondingDelegations?.map(e => UnbondingDelegation.fromPartial(e)) || []; + message.redelegations = object.redelegations?.map(e => Redelegation.fromPartial(e)) || []; + message.exported = object.exported ?? false; + return message; + } + +}; + +function createBaseLastValidatorPower(): LastValidatorPower { + return { + address: "", + power: Long.ZERO + }; +} + +export const LastValidatorPower = { + encode(message: LastValidatorPower, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastValidatorPower(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LastValidatorPower { + return { + address: isSet(object.address) ? String(object.address) : "", + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + toJSON(message: LastValidatorPower): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): LastValidatorPower { + const message = createBaseLastValidatorPower(); + message.address = object.address ?? ""; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts new file mode 100644 index 000000000..2c2ea9b84 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -0,0 +1,241 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +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"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Validators queries all validators that match the given status. */ + async validators(params: QueryValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.status !== "undefined") { + options.params.status = params.status; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators`; + return await this.request(endpoint, options); + } + + /* Validator queries validator info for given validator address. */ + async validator(params: QueryValidatorRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; + return await this.request(endpoint, options); + } + + /* ValidatorDelegations queries delegate info for given validator. */ + async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; + return await this.request(endpoint, options); + } + + /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ + async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; + return await this.request(endpoint, options); + } + + /* Delegation queries delegate info for given validator delegator pair. */ + async delegation(params: QueryDelegationRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; + return await this.request(endpoint, options); + } + + /* UnbondingDelegation queries unbonding info for given validator delegator + pair. */ + async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; + return await this.request(endpoint, options); + } + + /* DelegatorDelegations queries all delegations of a given delegator address. */ + async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; + return await this.request(endpoint, options); + } + + /* DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. */ + async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; + return await this.request(endpoint, options); + } + + /* Redelegations queries redelegations of given address. */ + async redelegations(params: QueryRedelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.srcValidatorAddr !== "undefined") { + options.params.src_validator_addr = params.srcValidatorAddr; + } + + if (typeof params?.dstValidatorAddr !== "undefined") { + options.params.dst_validator_addr = params.dstValidatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; + return await this.request(endpoint, options); + } + + /* DelegatorValidators queries all validators info for given delegator + address. */ + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; + return await this.request(endpoint, options); + } + + /* DelegatorValidator queries validator info for given delegator validator + pair. */ + async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.delegatorAddr !== "undefined") { + options.params.delegator_addr = params.delegatorAddr; + } + + if (typeof params?.validatorAddr !== "undefined") { + options.params.validator_addr = params.validatorAddr; + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; + return await this.request(endpoint, options); + } + + /* HistoricalInfo queries the historical info for given height. */ + async historicalInfo(params: QueryHistoricalInfoRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; + return await this.request(endpoint); + } + + /* Pool queries the pool info. */ + async pool(_params: QueryPoolRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/pool`; + return await this.request(endpoint); + } + + /* Parameters queries the staking parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/params`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..dfaca20aa --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -0,0 +1,161 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 RPC service */ +export interface Query { + validators(request: QueryValidatorsRequest): Promise; + /*Validators queries all validators that match the given status.*/ + + validator(request: QueryValidatorRequest): Promise; + /*Validator queries validator info for given validator address.*/ + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + /*ValidatorDelegations queries delegate info for given validator.*/ + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; + /*ValidatorUnbondingDelegations queries unbonding delegations of a validator.*/ + + delegation(request: QueryDelegationRequest): Promise; + /*Delegation queries delegate info for given validator delegator pair.*/ + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; + /*UnbondingDelegation queries unbonding info for given validator delegator + pair.*/ + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; + /*DelegatorDelegations queries all delegations of a given delegator address.*/ + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + /*DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address.*/ + + redelegations(request: QueryRedelegationsRequest): Promise; + /*Redelegations queries redelegations of given address.*/ + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /*DelegatorValidators queries all validators info for given delegator + address.*/ + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; + /*DelegatorValidator queries validator info for given delegator validator + pair.*/ + + historicalInfo(request: QueryHistoricalInfoRequest): Promise; + /*HistoricalInfo queries the historical info for given height.*/ + + pool(request: QueryPoolRequest): Promise; + /*Pool queries the pool info.*/ + + params(request: QueryParamsRequest): Promise; + /*Parameters queries the staking parameters.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); + } + + validators(request: QueryValidatorsRequest): Promise { + const data = QueryValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); + return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); + } + + validator(request: QueryValidatorRequest): Promise { + const data = QueryValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); + return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); + } + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + const data = QueryValidatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); + return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); + return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegation(request: QueryDelegationRequest): Promise { + const data = QueryDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); + return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); + } + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + const data = QueryUnbondingDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); + return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); + } + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + const data = QueryDelegatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); + return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); + return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + redelegations(request: QueryRedelegationsRequest): Promise { + const data = QueryRedelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); + return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + const data = QueryDelegatorValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); + return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); + } + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + const data = QueryHistoricalInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); + return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); + } + + pool(request: QueryPoolRequest): Promise { + const data = QueryPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); + return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts new file mode 100644 index 000000000..aea8d1bb0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts @@ -0,0 +1,2111 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ +export interface QueryValidatorRequest { + /** validator_addr defines the validator address to query for. */ + validatorAddr: string; +} + +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ +export interface QueryValidatorResponse { + /** validator defines the the validator info. */ + validator: Validator | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ +export interface QueryValidatorDelegationsResponse { + delegationResponses: DelegationResponse[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ +export interface QueryValidatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** 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; +} + +/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ +export interface QueryDelegationResponse { + /** delegation_responses defines the delegation info of a delegation. */ + delegationResponse: DelegationResponse | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegationResponse is response type for the Query/UnbondingDelegation + * RPC method. + */ +export interface QueryUnbondingDelegationResponse { + /** unbond defines the unbonding information of a delegation. */ + unbond: UnbondingDelegation | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ +export interface QueryRedelegationsResponse { + redelegationResponses: RedelegationResponse[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponse { + /** validators defines the the validators' info of a delegator. */ + validators: Validator[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorResponse { + /** validator defines the the validator info. */ + validator: Validator | undefined; +} + +/** + * 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; +} + +/** + * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoResponse { + /** hist defines the historical info at the given height. */ + hist: HistoricalInfo | undefined; +} + +/** QueryPoolRequest is request type for the Query/Pool RPC method. */ +export interface QueryPoolRequest {} + +/** QueryPoolResponse is response type for the Query/Pool RPC method. */ +export interface QueryPoolResponse { + /** pool defines the pool info. */ + pool: Pool | undefined; +} + +/** QueryParamsRequest is request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params holds all the parameters of this module. */ + params: Params | undefined; +} + +function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { + return { + status: "", + pagination: undefined + }; +} + +export const QueryValidatorsRequest = { + encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryValidatorsResponse = { + encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorRequest(): QueryValidatorRequest { + return { + validatorAddr: "" + }; +} + +export const QueryValidatorRequest = { + encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorRequest(); + + 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): 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorResponse(): QueryValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryValidatorResponse = { + encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorDelegationsRequest = { + encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorDelegationsResponse = { + encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsRequest = { + encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsResponse = { + encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRequest(): QueryDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegationRequest = { + encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationResponse(): QueryDelegationResponse { + return { + delegationResponse: undefined + }; +} + +export const QueryDelegationResponse = { + encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegationResponse !== undefined) { + DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponse = DelegationResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryUnbondingDelegationRequest = { + encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { + return { + unbond: undefined + }; +} + +export const QueryUnbondingDelegationResponse = { + encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbond !== undefined) { + UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbond = UnbondingDelegation.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsRequest = { + encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsResponse = { + encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsRequest = { + encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsResponse = { + encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { + return { + delegatorAddr: "", + srcValidatorAddr: "", + dstValidatorAddr: "", + pagination: undefined + }; +} + +export const QueryRedelegationsRequest = { + encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.srcValidatorAddr !== "") { + writer.uint32(18).string(message.srcValidatorAddr); + } + + if (message.dstValidatorAddr !== "") { + writer.uint32(26).string(message.dstValidatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.srcValidatorAddr = reader.string(); + break; + + case 3: + message.dstValidatorAddr = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.srcValidatorAddr = object.srcValidatorAddr ?? ""; + message.dstValidatorAddr = object.dstValidatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { + return { + redelegationResponses: [], + pagination: undefined + }; +} + +export const QueryRedelegationsResponse = { + encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.redelegationResponses) { + RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationResponses.push(RedelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegatorValidatorRequest = { + encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryDelegatorValidatorResponse = { + encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest { + return { + height: Long.ZERO + }; +} + +export const QueryHistoricalInfoRequest = { + encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryHistoricalInfoRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: QueryHistoricalInfoRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryHistoricalInfoRequest { + const message = createBaseQueryHistoricalInfoRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { + return { + hist: undefined + }; +} + +export const QueryHistoricalInfoResponse = { + encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hist !== undefined) { + HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hist = HistoricalInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryPoolRequest(): QueryPoolRequest { + return {}; +} + +export const QueryPoolRequest = { + encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryPoolRequest { + return {}; + }, + + toJSON(_: QueryPoolRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryPoolRequest { + const message = createBaseQueryPoolRequest(); + return message; + } + +}; + +function createBaseQueryPoolResponse(): QueryPoolResponse { + return { + pool: undefined + }; +} + +export const QueryPoolResponse = { + encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pool !== undefined) { + Pool.encode(message.pool, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool = Pool.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts new file mode 100644 index 000000000..54490d4ca --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts @@ -0,0 +1,2036 @@ +import { Header } from "../../../tendermint/types/types"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any } from "../../../google/protobuf/any"; +import { Duration } from "../../../google/protobuf/duration"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, Long } from "@osmonauts/helpers"; + +/** BondStatus is the status of a validator. */ +export 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 function bondStatusFromJSON(object: any): BondStatus { + switch (object) { + case 0: + case "BOND_STATUS_UNSPECIFIED": + return BondStatus.BOND_STATUS_UNSPECIFIED; + + case 1: + case "BOND_STATUS_UNBONDED": + return BondStatus.BOND_STATUS_UNBONDED; + + case 2: + case "BOND_STATUS_UNBONDING": + return BondStatus.BOND_STATUS_UNBONDING; + + case 3: + case "BOND_STATUS_BONDED": + return BondStatus.BOND_STATUS_BONDED; + + case -1: + case "UNRECOGNIZED": + default: + return BondStatus.UNRECOGNIZED; + } +} +export function bondStatusToJSON(object: BondStatus): string { + switch (object) { + case BondStatus.BOND_STATUS_UNSPECIFIED: + return "BOND_STATUS_UNSPECIFIED"; + + case BondStatus.BOND_STATUS_UNBONDED: + return "BOND_STATUS_UNBONDED"; + + case BondStatus.BOND_STATUS_UNBONDING: + return "BOND_STATUS_UNBONDING"; + + case BondStatus.BOND_STATUS_BONDED: + return "BOND_STATUS_BONDED"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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 | undefined; + valset: Validator[]; +} + +/** + * 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; +} + +/** 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 | undefined; + + /** update_time is the last time the commission rate was changed. */ + updateTime: Date | undefined; +} + +/** 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; +} + +/** + * 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 | undefined; + + /** 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: Date | undefined; + + /** commission defines the commission parameters. */ + commission: Commission | undefined; + + /** min_self_delegation is the validator's self declared minimum self delegation. */ + minSelfDelegation: string; +} + +/** ValAddresses defines a repeated set of validator addresses. */ +export interface ValAddresses { + 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; +} + +/** DVPairs defines an array of DVPair objects. */ +export interface DVPairs { + pairs: DVPair[]; +} + +/** + * 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; +} + +/** DVVTriplets defines an array of DVVTriplet objects. */ +export interface DVVTriplets { + triplets: DVVTriplet[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** 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: Date | undefined; + + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + initialBalance: string; + + /** balance defines the tokens to receive at completion. */ + 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: Date | undefined; + + /** 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; +} + +/** + * 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[]; +} + +/** Params defines the parameters for the staking module. */ +export interface Params { + /** unbonding_time is the time duration of unbonding. */ + unbondingTime: Duration | undefined; + + /** 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; +} + +/** + * 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 | undefined; + balance: Coin | undefined; +} + +/** + * 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 | undefined; + 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 | undefined; + entries: RedelegationEntryResponse[]; +} + +/** + * Pool is used for tracking bonded and not-bonded token supply of the bond + * denomination. + */ +export interface Pool { + notBondedTokens: string; + bondedTokens: string; +} + +function createBaseHistoricalInfo(): HistoricalInfo { + return { + header: undefined, + valset: [] + }; +} + +export const HistoricalInfo = { + encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.valset) { + Validator.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHistoricalInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.valset.push(Validator.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.valset = object.valset?.map(e => Validator.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommissionRates(): CommissionRates { + return { + rate: "", + maxRate: "", + maxChangeRate: "" + }; +} + +export const CommissionRates = { + encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rate !== "") { + writer.uint32(10).string(message.rate); + } + + if (message.maxRate !== "") { + writer.uint32(18).string(message.maxRate); + } + + if (message.maxChangeRate !== "") { + writer.uint32(26).string(message.maxChangeRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommissionRates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rate = reader.string(); + break; + + case 2: + message.maxRate = reader.string(); + break; + + case 3: + message.maxChangeRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.maxRate = object.maxRate ?? ""; + message.maxChangeRate = object.maxChangeRate ?? ""; + return message; + } + +}; + +function createBaseCommission(): Commission { + return { + commissionRates: undefined, + updateTime: undefined + }; +} + +export const Commission = { + encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commissionRates !== undefined) { + CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); + } + + if (message.updateTime !== undefined) { + Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commissionRates = CommissionRates.decode(reader, reader.uint32()); + break; + + case 2: + message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseDescription(): Description { + return { + moniker: "", + identity: "", + website: "", + securityContact: "", + details: "" + }; +} + +export const Description = { + encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moniker !== "") { + writer.uint32(10).string(message.moniker); + } + + if (message.identity !== "") { + writer.uint32(18).string(message.identity); + } + + if (message.website !== "") { + writer.uint32(26).string(message.website); + } + + if (message.securityContact !== "") { + writer.uint32(34).string(message.securityContact); + } + + if (message.details !== "") { + writer.uint32(42).string(message.details); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Description { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescription(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moniker = reader.string(); + break; + + case 2: + message.identity = reader.string(); + break; + + case 3: + message.website = reader.string(); + break; + + case 4: + message.securityContact = reader.string(); + break; + + case 5: + message.details = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.identity = object.identity ?? ""; + message.website = object.website ?? ""; + message.securityContact = object.securityContact ?? ""; + message.details = object.details ?? ""; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + operatorAddress: "", + consensusPubkey: undefined, + jailed: false, + status: 0, + tokens: "", + delegatorShares: "", + description: undefined, + unbondingHeight: Long.ZERO, + unbondingTime: undefined, + commission: undefined, + minSelfDelegation: "" + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operatorAddress !== "") { + writer.uint32(10).string(message.operatorAddress); + } + + if (message.consensusPubkey !== undefined) { + Any.encode(message.consensusPubkey, writer.uint32(18).fork()).ldelim(); + } + + if (message.jailed === true) { + writer.uint32(24).bool(message.jailed); + } + + if (message.status !== 0) { + writer.uint32(32).int32(message.status); + } + + if (message.tokens !== "") { + writer.uint32(42).string(message.tokens); + } + + if (message.delegatorShares !== "") { + writer.uint32(50).string(message.delegatorShares); + } + + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(58).fork()).ldelim(); + } + + if (!message.unbondingHeight.isZero()) { + writer.uint32(64).int64(message.unbondingHeight); + } + + if (message.unbondingTime !== undefined) { + Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.commission !== undefined) { + Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(90).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.operatorAddress = reader.string(); + break; + + case 2: + message.consensusPubkey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.jailed = reader.bool(); + break; + + case 4: + message.status = (reader.int32() as any); + break; + + case 5: + message.tokens = reader.string(); + break; + + case 6: + message.delegatorShares = reader.string(); + break; + + case 7: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 8: + message.unbondingHeight = (reader.int64() as Long); + break; + + case 9: + message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.commission = Commission.decode(reader, reader.uint32()); + break; + + case 11: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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) ? Long.fromString(object.unbondingHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.unbondingTime !== undefined && (obj.unbondingTime = 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 ?? ""; + message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? Any.fromPartial(object.consensusPubkey) : undefined; + message.jailed = object.jailed ?? false; + message.status = object.status ?? 0; + message.tokens = object.tokens ?? ""; + 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 ? Long.fromValue(object.unbondingHeight) : Long.ZERO; + message.unbondingTime = object.unbondingTime ?? undefined; + message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseValAddresses(): ValAddresses { + return { + addresses: [] + }; +} + +export const ValAddresses = { + encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.addresses) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValAddresses(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addresses.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseDVPair(): DVPair { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const DVPair = { + encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPair(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseDVPairs(): DVPairs { + return { + pairs: [] + }; +} + +export const DVPairs = { + encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + DVPair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPairs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pairs.push(DVPair.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDVVTriplet(): DVVTriplet { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "" + }; +} + +export const DVVTriplet = { + encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + return message; + } + +}; + +function createBaseDVVTriplets(): DVVTriplets { + return { + triplets: [] + }; +} + +export const DVVTriplets = { + encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.triplets) { + DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplets(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.triplets.push(DVVTriplet.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDelegation(): Delegation { + return { + delegatorAddress: "", + validatorAddress: "", + shares: "" + }; +} + +export const Delegation = { + encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.shares !== "") { + writer.uint32(26).string(message.shares); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Delegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.shares = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.shares = object.shares ?? ""; + return message; + } + +}; + +function createBaseUnbondingDelegation(): UnbondingDelegation { + return { + delegatorAddress: "", + validatorAddress: "", + entries: [] + }; +} + +export const UnbondingDelegation = { + encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + for (const v of message.entries) { + UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + balance: "" + }; +} + +export const UnbondingDelegationEntry = { + encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UnbondingDelegationEntry { + return { + creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationEntry(): RedelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + sharesDst: "" + }; +} + +export const RedelegationEntry = { + encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.sharesDst !== "") { + writer.uint32(34).string(message.sharesDst); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.sharesDst = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RedelegationEntry { + return { + creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.sharesDst = object.sharesDst ?? ""; + return message; + } + +}; + +function createBaseRedelegation(): Redelegation { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + entries: [] + }; +} + +export const Redelegation = { + encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + for (const v of message.entries) { + RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.entries.push(RedelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + unbondingTime: undefined, + maxValidators: 0, + maxEntries: 0, + historicalEntries: 0, + bondDenom: "", + minCommissionRate: "" + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbondingTime !== undefined) { + Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxValidators !== 0) { + writer.uint32(16).uint32(message.maxValidators); + } + + if (message.maxEntries !== 0) { + writer.uint32(24).uint32(message.maxEntries); + } + + if (message.historicalEntries !== 0) { + writer.uint32(32).uint32(message.historicalEntries); + } + + if (message.bondDenom !== "") { + writer.uint32(42).string(message.bondDenom); + } + + if (message.minCommissionRate !== "") { + writer.uint32(50).string(message.minCommissionRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.unbondingTime = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.maxValidators = reader.uint32(); + break; + + case 3: + message.maxEntries = reader.uint32(); + break; + + case 4: + message.historicalEntries = reader.uint32(); + break; + + case 5: + message.bondDenom = reader.string(); + break; + + case 6: + message.minCommissionRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + 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; + message.maxValidators = object.maxValidators ?? 0; + message.maxEntries = object.maxEntries ?? 0; + message.historicalEntries = object.historicalEntries ?? 0; + message.bondDenom = object.bondDenom ?? ""; + message.minCommissionRate = object.minCommissionRate ?? ""; + return message; + } + +}; + +function createBaseDelegationResponse(): DelegationResponse { + return { + delegation: undefined, + balance: undefined + }; +} + +export const DelegationResponse = { + encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegation !== undefined) { + Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegation = Delegation.decode(reader, reader.uint32()); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { + return { + redelegationEntry: undefined, + balance: "" + }; +} + +export const RedelegationEntryResponse = { + encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegationEntry !== undefined) { + RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32()); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationResponse(): RedelegationResponse { + return { + redelegation: undefined, + entries: [] + }; +} + +export const RedelegationResponse = { + encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegation !== undefined) { + Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.entries) { + RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegation = Redelegation.decode(reader, reader.uint32()); + break; + + case 2: + message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePool(): Pool { + return { + notBondedTokens: "", + bondedTokens: "" + }; +} + +export const Pool = { + encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.notBondedTokens !== "") { + writer.uint32(10).string(message.notBondedTokens); + } + + if (message.bondedTokens !== "") { + writer.uint32(18).string(message.bondedTokens); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.notBondedTokens = reader.string(); + break; + + case 2: + message.bondedTokens = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.bondedTokens = object.bondedTokens ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..592fd6163 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,72 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createValidator(request: MsgCreateValidator): Promise; + /*CreateValidator defines a method for creating a new validator.*/ + + editValidator(request: MsgEditValidator): Promise; + /*EditValidator defines a method for editing an existing validator.*/ + + delegate(request: MsgDelegate): Promise; + /*Delegate defines a method for performing a delegation of coins + from a delegator to a validator.*/ + + beginRedelegate(request: MsgBeginRedelegate): Promise; + /*BeginRedelegate defines a method for performing a redelegation + of coins from a delegator and source validator to a destination validator.*/ + + undelegate(request: MsgUndelegate): Promise; + /*Undelegate defines a method for performing an undelegation from a + delegate and a validator.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createValidator = this.createValidator.bind(this); + this.editValidator = this.editValidator.bind(this); + this.delegate = this.delegate.bind(this); + this.beginRedelegate = this.beginRedelegate.bind(this); + this.undelegate = this.undelegate.bind(this); + } + + createValidator(request: MsgCreateValidator): Promise { + const data = MsgCreateValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); + return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); + } + + editValidator(request: MsgEditValidator): Promise { + const data = MsgEditValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); + return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); + } + + delegate(request: MsgDelegate): Promise { + const data = MsgDelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); + return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); + } + + beginRedelegate(request: MsgBeginRedelegate): Promise { + const data = MsgBeginRedelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); + return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); + } + + undelegate(request: MsgUndelegate): Promise { + const data = MsgUndelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); + return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts new file mode 100644 index 000000000..f34a6e0c8 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts @@ -0,0 +1,802 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** MsgCreateValidator defines a SDK message for creating a new validator. */ +export interface MsgCreateValidator { + description: Description | undefined; + commission: CommissionRates | undefined; + minSelfDelegation: string; + delegatorAddress: string; + validatorAddress: string; + pubkey: Any | undefined; + value: Coin | undefined; +} + +/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ +export interface MsgCreateValidatorResponse {} + +/** MsgEditValidator defines a SDK message for editing an existing validator. */ +export interface MsgEditValidator { + description: Description | undefined; + 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; +} + +/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ +export interface MsgEditValidatorResponse {} + +/** + * 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 | undefined; +} + +/** MsgDelegateResponse defines the Msg/Delegate response type. */ +export interface MsgDelegateResponse {} + +/** + * 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 | undefined; +} + +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ +export interface MsgBeginRedelegateResponse { + completionTime: Date | undefined; +} + +/** + * MsgUndelegate defines a SDK message for performing an undelegation from a + * delegate and a validator. + */ +export interface MsgUndelegate { + delegatorAddress: string; + validatorAddress: string; + amount: Coin | undefined; +} + +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ +export interface MsgUndelegateResponse { + completionTime: Date | undefined; +} + +function createBaseMsgCreateValidator(): MsgCreateValidator { + return { + description: undefined, + commission: undefined, + minSelfDelegation: "", + delegatorAddress: "", + validatorAddress: "", + pubkey: undefined, + value: undefined + }; +} + +export const MsgCreateValidator = { + encode(message: MsgCreateValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.commission !== undefined) { + CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(26).string(message.minSelfDelegation); + } + + if (message.delegatorAddress !== "") { + writer.uint32(34).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(42).string(message.validatorAddress); + } + + if (message.pubkey !== undefined) { + Any.encode(message.pubkey, writer.uint32(50).fork()).ldelim(); + } + + if (message.value !== undefined) { + Coin.encode(message.value, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.commission = CommissionRates.decode(reader, reader.uint32()); + break; + + case 3: + message.minSelfDelegation = reader.string(); + break; + + case 4: + message.delegatorAddress = reader.string(); + break; + + case 5: + message.validatorAddress = reader.string(); + break; + + case 6: + message.pubkey = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.value = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.commission = object.commission !== undefined && object.commission !== null ? CommissionRates.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.pubkey = object.pubkey !== undefined && object.pubkey !== null ? Any.fromPartial(object.pubkey) : undefined; + message.value = object.value !== undefined && object.value !== null ? Coin.fromPartial(object.value) : undefined; + return message; + } + +}; + +function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse { + return {}; +} + +export const MsgCreateValidatorResponse = { + encode(_: MsgCreateValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateValidatorResponse { + return {}; + }, + + toJSON(_: MsgCreateValidatorResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateValidatorResponse { + const message = createBaseMsgCreateValidatorResponse(); + return message; + } + +}; + +function createBaseMsgEditValidator(): MsgEditValidator { + return { + description: undefined, + validatorAddress: "", + commissionRate: "", + minSelfDelegation: "" + }; +} + +export const MsgEditValidator = { + encode(message: MsgEditValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.commissionRate !== "") { + writer.uint32(26).string(message.commissionRate); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(34).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.commissionRate = reader.string(); + break; + + case 4: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validatorAddress = object.validatorAddress ?? ""; + message.commissionRate = object.commissionRate ?? ""; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse { + return {}; +} + +export const MsgEditValidatorResponse = { + encode(_: MsgEditValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgEditValidatorResponse { + return {}; + }, + + toJSON(_: MsgEditValidatorResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgEditValidatorResponse { + const message = createBaseMsgEditValidatorResponse(); + return message; + } + +}; + +function createBaseMsgDelegate(): MsgDelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgDelegate = { + encode(message: MsgDelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgDelegateResponse(): MsgDelegateResponse { + return {}; +} + +export const MsgDelegateResponse = { + encode(_: MsgDelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDelegateResponse { + return {}; + }, + + toJSON(_: MsgDelegateResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDelegateResponse { + const message = createBaseMsgDelegateResponse(); + return message; + } + +}; + +function createBaseMsgBeginRedelegate(): MsgBeginRedelegate { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + amount: undefined + }; +} + +export const MsgBeginRedelegate = { + encode(message: MsgBeginRedelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgBeginRedelegateResponse = { + encode(message: MsgBeginRedelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = message.completionTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): MsgBeginRedelegateResponse { + const message = createBaseMsgBeginRedelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; + +function createBaseMsgUndelegate(): MsgUndelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgUndelegate = { + encode(message: MsgUndelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgUndelegateResponse = { + encode(message: MsgUndelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = message.completionTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): MsgUndelegateResponse { + const message = createBaseMsgUndelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts new file mode 100644 index 000000000..432361417 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -0,0 +1,510 @@ +import { CompactBitArray } from "../../../crypto/multisig/v1beta1/multisig"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 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, + UNRECOGNIZED = -1, +} +export function signModeFromJSON(object: any): SignMode { + switch (object) { + case 0: + case "SIGN_MODE_UNSPECIFIED": + return SignMode.SIGN_MODE_UNSPECIFIED; + + case 1: + case "SIGN_MODE_DIRECT": + return SignMode.SIGN_MODE_DIRECT; + + case 2: + case "SIGN_MODE_TEXTUAL": + return SignMode.SIGN_MODE_TEXTUAL; + + case 3: + case "SIGN_MODE_DIRECT_AUX": + return SignMode.SIGN_MODE_DIRECT_AUX; + + case 127: + case "SIGN_MODE_LEGACY_AMINO_JSON": + return SignMode.SIGN_MODE_LEGACY_AMINO_JSON; + + case -1: + case "UNRECOGNIZED": + default: + return SignMode.UNRECOGNIZED; + } +} +export function signModeToJSON(object: SignMode): string { + switch (object) { + case SignMode.SIGN_MODE_UNSPECIFIED: + return "SIGN_MODE_UNSPECIFIED"; + + case SignMode.SIGN_MODE_DIRECT: + return "SIGN_MODE_DIRECT"; + + case SignMode.SIGN_MODE_TEXTUAL: + return "SIGN_MODE_TEXTUAL"; + + case SignMode.SIGN_MODE_DIRECT_AUX: + return "SIGN_MODE_DIRECT_AUX"; + + case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: + return "SIGN_MODE_LEGACY_AMINO_JSON"; + + default: + return "UNKNOWN"; + } +} + +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ +export interface SignatureDescriptors { + /** signatures are the signature descriptors */ + signatures: SignatureDescriptor[]; +} + +/** + * 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 | undefined; + data: SignatureDescriptor_Data | undefined; + + /** + * 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; +} + +/** Data represents signature data */ +export interface SignatureDescriptor_Data { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_Single | undefined; + + /** multi represents a multisig signer */ + multi?: SignatureDescriptor_Data_Multi | undefined; +} + +/** 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; +} + +/** 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 | undefined; + + /** signatures is the signatures of the multi-signature */ + signatures: SignatureDescriptor_Data[]; +} + +function createBaseSignatureDescriptors(): SignatureDescriptors { + return { + signatures: [] + }; +} + +export const SignatureDescriptors = { + encode(message: SignatureDescriptors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + SignatureDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptors(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(SignatureDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSignatureDescriptor(): SignatureDescriptor { + return { + publicKey: undefined, + data: undefined, + sequence: Long.UZERO + }; +} + +export const SignatureDescriptor = { + encode(message: SignatureDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.data !== undefined) { + SignatureDescriptor_Data.encode(message.data, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.data = SignatureDescriptor_Data.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureDescriptor { + const message = createBaseSignatureDescriptor(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.data = object.data !== undefined && object.data !== null ? SignatureDescriptor_Data.fromPartial(object.data) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data(): SignatureDescriptor_Data { + return { + single: undefined, + multi: undefined + }; +} + +export const SignatureDescriptor_Data = { + encode(message: SignatureDescriptor_Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + SignatureDescriptor_Data_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = SignatureDescriptor_Data_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = SignatureDescriptor_Data_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.multi = object.multi !== undefined && object.multi !== null ? SignatureDescriptor_Data_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Single(): SignatureDescriptor_Data_Single { + return { + mode: 0, + signature: new Uint8Array() + }; +} + +export const SignatureDescriptor_Data_Single = { + encode(message: SignatureDescriptor_Data_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + if (message.signature.length !== 0) { + writer.uint32(18).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + case 2: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureDescriptor_Data_Single { + return { + mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0, + 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { + return { + bitarray: undefined, + signatures: [] + }; +} + +export const SignatureDescriptor_Data_Multi = { + encode(message: SignatureDescriptor_Data_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.signatures) { + SignatureDescriptor_Data.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.signatures.push(SignatureDescriptor_Data.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.signatures = object.signatures?.map(e => SignatureDescriptor_Data.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts new file mode 100644 index 000000000..826839fa2 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -0,0 +1,72 @@ +import { Tx } from "./tx"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; +import { BlockID } from "../../../tendermint/types/types"; +import { Block } from "../../../tendermint/types/block"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; + +/** Service defines the RPC service */ +export interface Service { + simulate(request: SimulateRequest): Promise; + /*Simulate simulates executing a transaction for estimating gas usage.*/ + + getTx(request: GetTxRequest): Promise; + /*GetTx fetches a tx by hash.*/ + + broadcastTx(request: BroadcastTxRequest): Promise; + /*BroadcastTx broadcast transaction.*/ + + getTxsEvent(request: GetTxsEventRequest): Promise; + /*GetTxsEvent fetches txs by event.*/ + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; + /*GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2*/ + +} +export class ServiceClientImpl implements Service { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.simulate = this.simulate.bind(this); + this.getTx = this.getTx.bind(this); + this.broadcastTx = this.broadcastTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + + simulate(request: SimulateRequest): Promise { + const data = SimulateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); + return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); + } + + getTx(request: GetTxRequest): Promise { + const data = GetTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); + return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); + } + + broadcastTx(request: BroadcastTxRequest): Promise { + const data = BroadcastTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); + return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); + } + + getTxsEvent(request: GetTxsEventRequest): Promise { + const data = GetTxsEventRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); + return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); + } + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + const data = GetBlockWithTxsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); + return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts new file mode 100644 index 000000000..b83078866 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts @@ -0,0 +1,986 @@ +import { Tx } from "./tx"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; +import { BlockID } from "../../../tendermint/types/types"; +import { Block } from "../../../tendermint/types/block"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/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. */ + 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 function orderByFromJSON(object: any): OrderBy { + switch (object) { + case 0: + case "ORDER_BY_UNSPECIFIED": + return OrderBy.ORDER_BY_UNSPECIFIED; + + case 1: + case "ORDER_BY_ASC": + return OrderBy.ORDER_BY_ASC; + + case 2: + case "ORDER_BY_DESC": + return OrderBy.ORDER_BY_DESC; + + case -1: + case "UNRECOGNIZED": + default: + return OrderBy.UNRECOGNIZED; + } +} +export function orderByToJSON(object: OrderBy): string { + switch (object) { + case OrderBy.ORDER_BY_UNSPECIFIED: + return "ORDER_BY_UNSPECIFIED"; + + case OrderBy.ORDER_BY_ASC: + return "ORDER_BY_ASC"; + + case OrderBy.ORDER_BY_DESC: + return "ORDER_BY_DESC"; + + default: + return "UNKNOWN"; + } +} + +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ +export 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 function broadcastModeFromJSON(object: any): BroadcastMode { + switch (object) { + case 0: + case "BROADCAST_MODE_UNSPECIFIED": + return BroadcastMode.BROADCAST_MODE_UNSPECIFIED; + + case 1: + case "BROADCAST_MODE_BLOCK": + return BroadcastMode.BROADCAST_MODE_BLOCK; + + case 2: + case "BROADCAST_MODE_SYNC": + return BroadcastMode.BROADCAST_MODE_SYNC; + + case 3: + case "BROADCAST_MODE_ASYNC": + return BroadcastMode.BROADCAST_MODE_ASYNC; + + case -1: + case "UNRECOGNIZED": + default: + return BroadcastMode.UNRECOGNIZED; + } +} +export function broadcastModeToJSON(object: BroadcastMode): string { + switch (object) { + case BroadcastMode.BROADCAST_MODE_UNSPECIFIED: + return "BROADCAST_MODE_UNSPECIFIED"; + + case BroadcastMode.BROADCAST_MODE_BLOCK: + return "BROADCAST_MODE_BLOCK"; + + case BroadcastMode.BROADCAST_MODE_SYNC: + return "BROADCAST_MODE_SYNC"; + + case BroadcastMode.BROADCAST_MODE_ASYNC: + return "BROADCAST_MODE_ASYNC"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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. */ + pagination: PageRequest | undefined; + orderBy: OrderBy; +} + +/** + * 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. */ + pagination: PageResponse | undefined; +} + +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ +export interface BroadcastTxRequest { + /** tx_bytes is the raw transaction. */ + txBytes: Uint8Array; + mode: BroadcastMode; +} + +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ +export interface BroadcastTxResponse { + /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; +} + +/** + * 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 | undefined; + + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + txBytes: 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 | undefined; + + /** result is the result of the simulation. */ + result: Result | undefined; +} + +/** + * 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; +} + +/** GetTxResponse is the response type for the Service.GetTx method. */ +export interface GetTxResponse { + /** tx is the queried transaction. */ + tx: Tx | undefined; + + /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; + block: Block | undefined; + + /** pagination defines a pagination for the response. */ + pagination: PageResponse | undefined; +} + +function createBaseGetTxsEventRequest(): GetTxsEventRequest { + return { + events: [], + pagination: undefined, + orderBy: 0 + }; +} + +export const GetTxsEventRequest = { + encode(message: GetTxsEventRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.orderBy !== 0) { + writer.uint32(24).int32(message.orderBy); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(reader.string()); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 3: + message.orderBy = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 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)); + return obj; + }, + + fromPartial(object: Partial): GetTxsEventRequest { + const message = createBaseGetTxsEventRequest(); + message.events = object.events?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.orderBy = object.orderBy ?? 0; + return message; + } + +}; + +function createBaseGetTxsEventResponse(): GetTxsEventResponse { + return { + txs: [], + txResponses: [], + pagination: undefined + }; +} + +export const GetTxsEventResponse = { + encode(message: GetTxsEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.txResponses) { + TxResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.txResponses.push(TxResponse.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): 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 + }; + }, + + 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); + return obj; + }, + + fromPartial(object: Partial): GetTxsEventResponse { + const message = createBaseGetTxsEventResponse(); + message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; + message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseBroadcastTxRequest(): BroadcastTxRequest { + return { + txBytes: new Uint8Array(), + mode: 0 + }; +} + +export const BroadcastTxRequest = { + encode(message: BroadcastTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txBytes.length !== 0) { + writer.uint32(10).bytes(message.txBytes); + } + + if (message.mode !== 0) { + writer.uint32(16).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txBytes = reader.bytes(); + break; + + case 2: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BroadcastTxRequest { + return { + txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(), + mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : 0 + }; + }, + + 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(); + message.mode = object.mode ?? 0; + return message; + } + +}; + +function createBaseBroadcastTxResponse(): BroadcastTxResponse { + return { + txResponse: undefined + }; +} + +export const BroadcastTxResponse = { + encode(message: BroadcastTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseSimulateRequest(): SimulateRequest { + return { + tx: undefined, + txBytes: new Uint8Array() + }; +} + +export const SimulateRequest = { + encode(message: SimulateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txBytes.length !== 0) { + writer.uint32(18).bytes(message.txBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.txBytes = object.txBytes ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSimulateResponse(): SimulateResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulateResponse = { + encode(message: SimulateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseGetTxRequest(): GetTxRequest { + return { + hash: "" + }; +} + +export const GetTxRequest = { + encode(message: GetTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGetTxResponse(): GetTxResponse { + return { + tx: undefined, + txResponse: undefined + }; +} + +export const GetTxResponse = { + encode(message: GetTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetBlockWithTxsRequest = { + encode(message: GetBlockWithTxsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GetBlockWithTxsRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: GetBlockWithTxsRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { + return { + txs: [], + blockId: undefined, + block: undefined, + pagination: undefined + }; +} + +export const GetBlockWithTxsResponse = { + encode(message: GetBlockWithTxsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(26).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 3: + message.block = Block.decode(reader, reader.uint32()); + break; + + case 4: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.block = object.block !== undefined && object.block !== null ? Block.fromPartial(object.block) : undefined; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts new file mode 100644 index 000000000..bef2cf9d9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts @@ -0,0 +1,1456 @@ +import { Any } from "../../../google/protobuf/any"; +import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; +import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** Tx is the standard type used for broadcasting transactions. */ +export interface Tx { + /** body is the processable content of the transaction */ + body: TxBody | undefined; + + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + authInfo: AuthInfo | undefined; + + /** + * 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[]; +} + +/** + * 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[]; +} + +/** 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; +} + +/** + * 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 | undefined; + + /** + * 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 meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + tip: Tip | undefined; +} + +/** 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[]; +} + +/** + * 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 | undefined; + + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + tip: Tip | undefined; +} + +/** + * 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 | undefined; + + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + modeInfo: ModeInfo | undefined; + + /** + * 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; +} + +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ +export interface ModeInfo { + /** single represents a single signer */ + single?: ModeInfo_Single | undefined; + + /** multi represents a nested multisig signer */ + multi?: ModeInfo_Multi | undefined; +} + +/** + * 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; +} + +/** 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 | undefined; + + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + modeInfos: ModeInfo[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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_MOD_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 | undefined; + + /** mode is the signing mode of the single signer */ + mode: SignMode; + + /** sig is the signature of the sign doc. */ + sig: Uint8Array; +} + +function createBaseTx(): Tx { + return { + body: undefined, + authInfo: undefined, + signatures: [] + }; +} + +export const Tx = { + encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.body !== undefined) { + TxBody.encode(message.body, writer.uint32(10).fork()).ldelim(); + } + + if (message.authInfo !== undefined) { + AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.body = TxBody.decode(reader, reader.uint32()); + break; + + case 2: + message.authInfo = AuthInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined; + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseTxRaw(): TxRaw { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + signatures: [] + }; +} + +export const TxRaw = { + encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxRaw(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseSignDoc(): SignDoc { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + chainId: "", + accountNumber: Long.UZERO + }; +} + +export const SignDoc = { + encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDoc(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignDoc { + const message = createBaseSignDoc(); + message.bodyBytes = object.bodyBytes ?? new Uint8Array(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + return message; + } + +}; + +function createBaseSignDocDirectAux(): SignDocDirectAux { + return { + bodyBytes: new Uint8Array(), + publicKey: undefined, + chainId: "", + accountNumber: Long.UZERO, + sequence: Long.UZERO, + tip: undefined + }; +} + +export const SignDocDirectAux = { + encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(40).uint64(message.sequence); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDocDirectAux(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + case 5: + message.sequence = (reader.uint64() as Long); + break; + + case 6: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO, + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).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(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseTxBody(): TxBody { + return { + messages: [], + memo: "", + timeoutHeight: Long.UZERO, + extensionOptions: [], + nonCriticalExtensionOptions: [] + }; +} + +export const TxBody = { + encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.memo !== "") { + writer.uint32(18).string(message.memo); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(24).uint64(message.timeoutHeight); + } + + for (const v of message.extensionOptions) { + Any.encode(v!, writer.uint32(8186).fork()).ldelim(); + } + + for (const v of message.nonCriticalExtensionOptions) { + Any.encode(v!, writer.uint32(16378).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxBody { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxBody(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.memo = reader.string(); + break; + + case 3: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 1023: + message.extensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + case 2047: + message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.timeoutHeight) : Long.UZERO, + 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 || Long.UZERO).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)) || []; + message.memo = object.memo ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || []; + message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthInfo(): AuthInfo { + return { + signerInfos: [], + fee: undefined, + tip: undefined + }; +} + +export const AuthInfo = { + encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signerInfos) { + SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fee !== undefined) { + Fee.encode(message.fee, writer.uint32(18).fork()).ldelim(); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signerInfos.push(SignerInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.fee = Fee.decode(reader, reader.uint32()); + break; + + case 3: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseSignerInfo(): SignerInfo { + return { + publicKey: undefined, + modeInfo: undefined, + sequence: Long.UZERO + }; +} + +export const SignerInfo = { + encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.modeInfo !== undefined) { + ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfo = ModeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignerInfo { + const message = createBaseSignerInfo(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModeInfo(): ModeInfo { + return { + single: undefined, + multi: undefined + }; +} + +export const ModeInfo = { + encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = ModeInfo_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = ModeInfo_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseModeInfo_Single(): ModeInfo_Single { + return { + mode: 0 + }; +} + +export const ModeInfo_Single = { + encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ModeInfo_Single { + return { + mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0 + }; + }, + + 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; + return message; + } + +}; + +function createBaseModeInfo_Multi(): ModeInfo_Multi { + return { + bitarray: undefined, + modeInfos: [] + }; +} + +export const ModeInfo_Multi = { + encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.modeInfos) { + ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfos.push(ModeInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFee(): Fee { + return { + amount: [], + gasLimit: Long.UZERO, + payer: "", + granter: "" + }; +} + +export const Fee = { + encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.gasLimit.isZero()) { + writer.uint32(16).uint64(message.gasLimit); + } + + if (message.payer !== "") { + writer.uint32(26).string(message.payer); + } + + if (message.granter !== "") { + writer.uint32(34).string(message.granter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fee { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFee(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.gasLimit = (reader.uint64() as Long); + break; + + case 3: + message.payer = reader.string(); + break; + + case 4: + message.granter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Fee { + return { + amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + gasLimit: isSet(object.gasLimit) ? Long.fromString(object.gasLimit) : Long.UZERO, + 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 || Long.UZERO).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)) || []; + message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO; + message.payer = object.payer ?? ""; + message.granter = object.granter ?? ""; + return message; + } + +}; + +function createBaseTip(): Tip { + return { + amount: [], + tipper: "" + }; +} + +export const Tip = { + encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.tipper !== "") { + writer.uint32(18).string(message.tipper); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tip { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTip(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.tipper = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.tipper = object.tipper ?? ""; + return message; + } + +}; + +function createBaseAuxSignerData(): AuxSignerData { + return { + address: "", + signDoc: undefined, + mode: 0, + sig: new Uint8Array() + }; +} + +export const AuxSignerData = { + encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.signDoc !== undefined) { + SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim(); + } + + if (message.mode !== 0) { + writer.uint32(24).int32(message.mode); + } + + if (message.sig.length !== 0) { + writer.uint32(34).bytes(message.sig); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuxSignerData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.signDoc = SignDocDirectAux.decode(reader, reader.uint32()); + break; + + case 3: + message.mode = (reader.int32() as any); + break; + + case 4: + message.sig = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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 ?? ""; + message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined; + message.mode = object.mode ?? 0; + message.sig = object.sig ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts new file mode 100644 index 000000000..f727be5b7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -0,0 +1,68 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* CurrentPlan queries the current upgrade plan. */ + async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/current_plan`; + return await this.request(endpoint); + } + + /* AppliedPlan queries a previously applied upgrade plan by its name. */ + async appliedPlan(params: QueryAppliedPlanRequest): Promise { + const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; + return await this.request(endpoint); + } + + /* 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) */ + async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.lastHeight !== "undefined") { + options.params.last_height = params.lastHeight; + } + + const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; + return await this.request(endpoint, options); + } + + /* ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43 */ + async moduleVersions(params: QueryModuleVersionsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.moduleName !== "undefined") { + options.params.module_name = params.moduleName; + } + + const endpoint = `cosmos/upgrade/v1beta1/module_versions`; + return await this.request(endpoint, options); + } + + /* Returns the account with authority to conduct upgrades */ + async authority(_params: QueryAuthorityRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/authority`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..a306342ca --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -0,0 +1,73 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + currentPlan(request: QueryCurrentPlanRequest): Promise; + /*CurrentPlan queries the current upgrade plan.*/ + + appliedPlan(request: QueryAppliedPlanRequest): Promise; + /*AppliedPlan queries a previously applied upgrade plan by its name.*/ + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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)*/ + + moduleVersions(request: QueryModuleVersionsRequest): Promise; + /*ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43*/ + + authority(request: QueryAuthorityRequest): Promise; + /*Returns the account with authority to conduct upgrades*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); + } + + currentPlan(request: QueryCurrentPlanRequest): Promise { + const data = QueryCurrentPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); + return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); + } + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + const data = QueryAppliedPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); + return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + const data = QueryModuleVersionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); + return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); + } + + authority(request: QueryAuthorityRequest): Promise { + const data = QueryAuthorityRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); + return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts new file mode 100644 index 000000000..0dfa6ab9c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts @@ -0,0 +1,651 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanRequest {} + +/** + * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanResponse { + /** plan is the current upgrade plan. */ + plan: Plan | undefined; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateResponse { + /** Since: cosmos-sdk 0.43 */ + upgradedConsensusState: 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; +} + +/** + * 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[]; +} + +/** + * QueryAuthorityRequest is the request type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ +export interface QueryAuthorityRequest {} + +/** + * QueryAuthorityResponse is the response type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ +export interface QueryAuthorityResponse { + address: string; +} + +function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { + return {}; +} + +export const QueryCurrentPlanRequest = { + encode(_: QueryCurrentPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryCurrentPlanRequest { + return {}; + }, + + toJSON(_: QueryCurrentPlanRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryCurrentPlanRequest { + const message = createBaseQueryCurrentPlanRequest(); + return message; + } + +}; + +function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { + return { + plan: undefined + }; +} + +export const QueryCurrentPlanResponse = { + encode(message: QueryCurrentPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAppliedPlanRequest(): QueryAppliedPlanRequest { + return { + name: "" + }; +} + +export const QueryAppliedPlanRequest = { + encode(message: QueryAppliedPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanRequest(); + + 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): 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 ?? ""; + return message; + } + +}; + +function createBaseQueryAppliedPlanResponse(): QueryAppliedPlanResponse { + return { + height: Long.ZERO + }; +} + +export const QueryAppliedPlanResponse = { + encode(message: QueryAppliedPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppliedPlanResponse { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: QueryAppliedPlanResponse): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryAppliedPlanResponse { + const message = createBaseQueryAppliedPlanResponse(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return { + lastHeight: Long.ZERO + }; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(message: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.lastHeight.isZero()) { + writer.uint32(8).int64(message.lastHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.lastHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUpgradedConsensusStateRequest { + return { + lastHeight: isSet(object.lastHeight) ? Long.fromString(object.lastHeight) : Long.ZERO + }; + }, + + toJSON(message: QueryUpgradedConsensusStateRequest): unknown { + const obj: any = {}; + message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: new Uint8Array() + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState.length !== 0) { + writer.uint32(18).bytes(message.upgradedConsensusState); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.upgradedConsensusState = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseQueryModuleVersionsRequest(): QueryModuleVersionsRequest { + return { + moduleName: "" + }; +} + +export const QueryModuleVersionsRequest = { + encode(message: QueryModuleVersionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moduleName !== "") { + writer.uint32(10).string(message.moduleName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleName = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryModuleVersionsResponse(): QueryModuleVersionsResponse { + return { + moduleVersions: [] + }; +} + +export const QueryModuleVersionsResponse = { + encode(message: QueryModuleVersionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.moduleVersions) { + ModuleVersion.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleVersions.push(ModuleVersion.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryAuthorityRequest(): QueryAuthorityRequest { + return {}; +} + +export const QueryAuthorityRequest = { + encode(_: QueryAuthorityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryAuthorityRequest { + return {}; + }, + + toJSON(_: QueryAuthorityRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryAuthorityRequest { + const message = createBaseQueryAuthorityRequest(); + return message; + } + +}; + +function createBaseQueryAuthorityResponse(): QueryAuthorityResponse { + return { + address: "" + }; +} + +export const QueryAuthorityResponse = { + encode(message: QueryAuthorityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..9ddd3d445 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,41 @@ +import { Plan } from "./upgrade"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise; + /*SoftwareUpgrade is a governance operation for initiating a software upgrade. + + Since: cosmos-sdk 0.46*/ + + cancelUpgrade(request: MsgCancelUpgrade): Promise; + /*CancelUpgrade is a governance operation for cancelling a previously + approvid software upgrade. + + Since: cosmos-sdk 0.46*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.softwareUpgrade = this.softwareUpgrade.bind(this); + this.cancelUpgrade = this.cancelUpgrade.bind(this); + } + + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + const data = MsgSoftwareUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); + return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); + } + + cancelUpgrade(request: MsgCancelUpgrade): Promise { + const data = MsgCancelUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); + return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts new file mode 100644 index 000000000..586a2d0e7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -0,0 +1,252 @@ +import { Plan } from "./upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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 | undefined; +} + +/** + * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgSoftwareUpgradeResponse {} + +/** + * 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; +} + +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgCancelUpgradeResponse {} + +function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { + return { + authority: "", + plan: undefined + }; +} + +export const MsgSoftwareUpgrade = { + encode(message: MsgSoftwareUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + case 2: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseMsgSoftwareUpgradeResponse(): MsgSoftwareUpgradeResponse { + return {}; +} + +export const MsgSoftwareUpgradeResponse = { + encode(_: MsgSoftwareUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSoftwareUpgradeResponse { + return {}; + }, + + toJSON(_: MsgSoftwareUpgradeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSoftwareUpgradeResponse { + const message = createBaseMsgSoftwareUpgradeResponse(); + return message; + } + +}; + +function createBaseMsgCancelUpgrade(): MsgCancelUpgrade { + return { + authority: "" + }; +} + +export const MsgCancelUpgrade = { + encode(message: MsgCancelUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgCancelUpgradeResponse(): MsgCancelUpgradeResponse { + return {}; +} + +export const MsgCancelUpgradeResponse = { + encode(_: MsgCancelUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCancelUpgradeResponse { + return {}; + }, + + toJSON(_: MsgCancelUpgradeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCancelUpgradeResponse { + const message = createBaseMsgCancelUpgradeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts new file mode 100644 index 000000000..be743beb9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -0,0 +1,412 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** 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: Date | undefined; + + /** + * 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 | undefined; +} + +/** + * 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 { + title: string; + description: string; + plan: Plan | undefined; +} + +/** + * 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 { + 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; +} + +function createBasePlan(): Plan { + return { + name: "", + time: undefined, + height: Long.ZERO, + info: "", + upgradedClientState: undefined + }; +} + +export const Plan = { + encode(message: Plan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Plan { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePlan(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 = message.time.toISOString()); + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.info = object.info ?? ""; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { + return { + title: "", + description: "", + plan: undefined + }; +} + +export const SoftwareUpgradeProposal = { + encode(message: SoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseCancelSoftwareUpgradeProposal(): CancelSoftwareUpgradeProposal { + return { + title: "", + description: "" + }; +} + +export const CancelSoftwareUpgradeProposal = { + encode(message: CancelSoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCancelSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseModuleVersion(): ModuleVersion { + return { + name: "", + version: Long.UZERO + }; +} + +export const ModuleVersion = { + encode(message: ModuleVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (!message.version.isZero()) { + writer.uint32(16).uint64(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.version = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ModuleVersion { + return { + name: isSet(object.name) ? String(object.name) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO + }; + }, + + toJSON(message: ModuleVersion): unknown { + const obj: any = {}; + message.name !== undefined && (obj.name = message.name); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ModuleVersion { + const message = createBaseModuleVersion(); + message.name = object.name ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..94ba2e960 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,50 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createVestingAccount(request: MsgCreateVestingAccount): Promise; + /*CreateVestingAccount defines a method that enables creating a vesting + account.*/ + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + /*CreatePermanentLockedAccount defines a method that enables creating a permanent + locked account.*/ + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; + /*CreatePeriodicVestingAccount defines a method that enables creating a + periodic vesting account.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createVestingAccount = this.createVestingAccount.bind(this); + this.createPermanentLockedAccount = this.createPermanentLockedAccount.bind(this); + this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); + } + + createVestingAccount(request: MsgCreateVestingAccount): Promise { + const data = MsgCreateVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); + return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); + } + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + const data = MsgCreatePermanentLockedAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); + return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); + } + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); + return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts new file mode 100644 index 000000000..1c44cd75b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts @@ -0,0 +1,475 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreateVestingAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; + endTime: Long; + delayed: boolean; +} + +/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ +export interface MsgCreateVestingAccountResponse {} + +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ +export interface MsgCreatePermanentLockedAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; +} + +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ +export interface MsgCreatePermanentLockedAccountResponse {} + +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreatePeriodicVestingAccount { + fromAddress: string; + toAddress: string; + startTime: Long; + vestingPeriods: Period[]; +} + +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ +export interface MsgCreatePeriodicVestingAccountResponse {} + +function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { + return { + fromAddress: "", + toAddress: "", + amount: [], + endTime: Long.ZERO, + delayed: false + }; +} + +export const MsgCreateVestingAccount = { + encode(message: MsgCreateVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(32).int64(message.endTime); + } + + if (message.delayed === true) { + writer.uint32(40).bool(message.delayed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.endTime = (reader.int64() as Long); + break; + + case 5: + message.delayed = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.endTime) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.delayed !== undefined && (obj.delayed = message.delayed); + return obj; + }, + + fromPartial(object: Partial): MsgCreateVestingAccount { + const message = createBaseMsgCreateVestingAccount(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + message.delayed = object.delayed ?? false; + return message; + } + +}; + +function createBaseMsgCreateVestingAccountResponse(): MsgCreateVestingAccountResponse { + return {}; +} + +export const MsgCreateVestingAccountResponse = { + encode(_: MsgCreateVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateVestingAccountResponse { + return {}; + }, + + toJSON(_: MsgCreateVestingAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateVestingAccountResponse { + const message = createBaseMsgCreateVestingAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccount(): MsgCreatePermanentLockedAccount { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgCreatePermanentLockedAccount = { + encode(message: MsgCreatePermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccountResponse(): MsgCreatePermanentLockedAccountResponse { + return {}; +} + +export const MsgCreatePermanentLockedAccountResponse = { + encode(_: MsgCreatePermanentLockedAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreatePermanentLockedAccountResponse { + return {}; + }, + + toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse { + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccount(): MsgCreatePeriodicVestingAccount { + return { + fromAddress: "", + toAddress: "", + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const MsgCreatePeriodicVestingAccount = { + encode(message: MsgCreatePeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + if (!message.startTime.isZero()) { + writer.uint32(24).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.startTime = (reader.int64() as Long); + break; + + case 4: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.startTime) : Long.ZERO, + 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 || Long.ZERO).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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccountResponse(): MsgCreatePeriodicVestingAccountResponse { + return {}; +} + +export const MsgCreatePeriodicVestingAccountResponse = { + encode(_: MsgCreatePeriodicVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse { + return {}; + }, + + toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse { + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts new file mode 100644 index 000000000..a4f832a4d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -0,0 +1,527 @@ +import { BaseAccount } from "../../auth/v1beta1/auth"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ +export interface BaseVestingAccount { + baseAccount: BaseAccount | undefined; + originalVesting: Coin[]; + delegatedFree: Coin[]; + delegatedVesting: Coin[]; + endTime: Long; +} + +/** + * ContinuousVestingAccount implements the VestingAccount interface. It + * continuously vests by unlocking coins linearly with respect to time. + */ +export interface ContinuousVestingAccount { + baseVestingAccount: BaseVestingAccount | undefined; + startTime: 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 | undefined; +} + +/** Period defines a length of time and amount of coins that will vest. */ +export interface Period { + length: Long; + amount: Coin[]; +} + +/** + * PeriodicVestingAccount implements the VestingAccount interface. It + * periodically vests by unlocking coins during each specified period. + */ +export interface PeriodicVestingAccount { + baseVestingAccount: BaseVestingAccount | undefined; + startTime: Long; + vestingPeriods: Period[]; +} + +/** + * 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 | undefined; +} + +function createBaseBaseVestingAccount(): BaseVestingAccount { + return { + baseAccount: undefined, + originalVesting: [], + delegatedFree: [], + delegatedVesting: [], + endTime: Long.ZERO + }; +} + +export const BaseVestingAccount = { + encode(message: BaseVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.originalVesting) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatedFree) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.delegatedVesting) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(40).int64(message.endTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.originalVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.delegatedFree.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.delegatedVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.endTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.endTime) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BaseVestingAccount { + const message = createBaseBaseVestingAccount(); + message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; + message.originalVesting = object.originalVesting?.map(e => Coin.fromPartial(e)) || []; + message.delegatedFree = object.delegatedFree?.map(e => Coin.fromPartial(e)) || []; + message.delegatedVesting = object.delegatedVesting?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + return message; + } + +}; + +function createBaseContinuousVestingAccount(): ContinuousVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO + }; +} + +export const ContinuousVestingAccount = { + encode(message: ContinuousVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContinuousVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContinuousVestingAccount { + return { + baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, + startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ContinuousVestingAccount { + const message = createBaseContinuousVestingAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + return message; + } + +}; + +function createBaseDelayedVestingAccount(): DelayedVestingAccount { + return { + baseVestingAccount: undefined + }; +} + +export const DelayedVestingAccount = { + encode(message: DelayedVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelayedVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBasePeriod(): Period { + return { + length: Long.ZERO, + amount: [] + }; +} + +export const Period = { + encode(message: Period, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.length.isZero()) { + writer.uint32(8).int64(message.length); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Period { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriod(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.length = (reader.int64() as Long); + break; + + case 2: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Period { + return { + length: isSet(object.length) ? Long.fromString(object.length) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.length) : Long.ZERO; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePeriodicVestingAccount(): PeriodicVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const PeriodicVestingAccount = { + encode(message: PeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + case 3: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeriodicVestingAccount { + return { + baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, + startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO, + 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 || Long.ZERO).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; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePermanentLockedAccount(): PermanentLockedAccount { + return { + baseVestingAccount: undefined + }; +} + +export const PermanentLockedAccount = { + encode(message: PermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts b/examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts new file mode 100644 index 000000000..58b9e9aef --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts @@ -0,0 +1,3 @@ +import * as _1 from "./cosmos"; +export const cosmos_proto = { ..._1 +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts b/examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts new file mode 100644 index 000000000..fa1af2061 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts @@ -0,0 +1,265 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; +export enum ScalarType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} +export function scalarTypeFromJSON(object: any): ScalarType { + switch (object) { + case 0: + case "SCALAR_TYPE_UNSPECIFIED": + return ScalarType.SCALAR_TYPE_UNSPECIFIED; + + case 1: + case "SCALAR_TYPE_STRING": + return ScalarType.SCALAR_TYPE_STRING; + + case 2: + case "SCALAR_TYPE_BYTES": + return ScalarType.SCALAR_TYPE_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return ScalarType.UNRECOGNIZED; + } +} +export function scalarTypeToJSON(object: ScalarType): string { + switch (object) { + case ScalarType.SCALAR_TYPE_UNSPECIFIED: + return "SCALAR_TYPE_UNSPECIFIED"; + + case ScalarType.SCALAR_TYPE_STRING: + return "SCALAR_TYPE_STRING"; + + case ScalarType.SCALAR_TYPE_BYTES: + return "SCALAR_TYPE_BYTES"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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; +} + +/** + * 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[]; +} + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + name: "", + description: "" + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseScalarDescriptor(): ScalarDescriptor { + return { + name: "", + description: "", + fieldType: [] + }; +} + +export const ScalarDescriptor = { + encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.fieldType) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseScalarDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.fieldType.push((reader.int32() as any)); + } + } else { + message.fieldType.push((reader.int32() as any)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.fieldType = object.fieldType?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts b/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts new file mode 100644 index 000000000..510536812 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts @@ -0,0 +1,30 @@ +import * as _94 from "./wasm/v1/genesis"; +import * as _95 from "./wasm/v1/ibc"; +import * as _96 from "./wasm/v1/proposal"; +import * as _97 from "./wasm/v1/query"; +import * as _98 from "./wasm/v1/tx"; +import * as _99 from "./wasm/v1/types"; +import * as _193 from "./wasm/v1/query.lcd"; +import * as _194 from "./wasm/v1/query.rpc.query"; +import * as _195 from "./wasm/v1/tx.rpc.msg"; +import * as _212 from "./lcd"; +import * as _213 from "./rpc.query"; +import * as _214 from "./rpc.tx"; +export namespace cosmwasm { + export namespace wasm { + export const v1 = { ..._94, + ..._95, + ..._96, + ..._97, + ..._98, + ..._99, + ..._193, + ..._194, + ..._195 + }; + } + export const ClientFactory = { ..._212, + ..._213, + ..._214 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts b/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts new file mode 100644 index 000000000..958751f26 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts @@ -0,0 +1,88 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts new file mode 100644 index 000000000..8faccf38d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts @@ -0,0 +1,60 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.rpc.query")).QueryClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts b/examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts new file mode 100644 index 000000000..5424c674f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts @@ -0,0 +1,54 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts new file mode 100644 index 000000000..158f5a13c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts @@ -0,0 +1,502 @@ +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract } from "./tx"; +import { Params, CodeInfo, ContractInfo, Model } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** GenesisState - genesis state of x/wasm */ +export interface GenesisState { + params: Params | undefined; + codes: Code[]; + contracts: Contract[]; + sequences: Sequence[]; + genMsgs: GenesisState_GenMsgs[]; +} + +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ +export interface GenesisState_GenMsgs { + storeCode?: MsgStoreCode | undefined; + instantiateContract?: MsgInstantiateContract | undefined; + executeContract?: MsgExecuteContract | undefined; +} + +/** Code struct encompasses CodeInfo and CodeBytes */ +export interface Code { + codeId: Long; + codeInfo: CodeInfo | undefined; + codeBytes: Uint8Array; + + /** Pinned to wasmvm cache */ + pinned: boolean; +} + +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ +export interface Contract { + contractAddress: string; + contractInfo: ContractInfo | undefined; + contractState: Model[]; +} + +/** Sequence key and value of an id generation counter */ +export interface Sequence { + idKey: Uint8Array; + value: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + codes: [], + contracts: [], + sequences: [], + genMsgs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.codes) { + Code.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contracts) { + Contract.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.sequences) { + Sequence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.genMsgs) { + GenesisState_GenMsgs.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codes.push(Code.decode(reader, reader.uint32())); + break; + + case 3: + message.contracts.push(Contract.decode(reader, reader.uint32())); + break; + + case 4: + message.sequences.push(Sequence.decode(reader, reader.uint32())); + break; + + case 5: + message.genMsgs.push(GenesisState_GenMsgs.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, + codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromJSON(e)) : [], + contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromJSON(e)) : [], + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromJSON(e)) : [], + genMsgs: Array.isArray(object?.genMsgs) ? object.genMsgs.map((e: any) => GenesisState_GenMsgs.fromJSON(e)) : [] + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); + + if (message.codes) { + obj.codes = message.codes.map(e => e ? Code.toJSON(e) : undefined); + } else { + obj.codes = []; + } + + if (message.contracts) { + obj.contracts = message.contracts.map(e => e ? Contract.toJSON(e) : undefined); + } else { + obj.contracts = []; + } + + if (message.sequences) { + obj.sequences = message.sequences.map(e => e ? Sequence.toJSON(e) : undefined); + } else { + obj.sequences = []; + } + + if (message.genMsgs) { + obj.genMsgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toJSON(e) : undefined); + } else { + obj.genMsgs = []; + } + + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.codes = object.codes?.map(e => Code.fromPartial(e)) || []; + message.contracts = object.contracts?.map(e => Contract.fromPartial(e)) || []; + message.sequences = object.sequences?.map(e => Sequence.fromPartial(e)) || []; + message.genMsgs = object.genMsgs?.map(e => GenesisState_GenMsgs.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseGenesisState_GenMsgs(): GenesisState_GenMsgs { + return { + storeCode: undefined, + instantiateContract: undefined, + executeContract: undefined + }; +} + +export const GenesisState_GenMsgs = { + encode(message: GenesisState_GenMsgs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.storeCode !== undefined) { + MsgStoreCode.encode(message.storeCode, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateContract !== undefined) { + MsgInstantiateContract.encode(message.instantiateContract, writer.uint32(18).fork()).ldelim(); + } + + if (message.executeContract !== undefined) { + MsgExecuteContract.encode(message.executeContract, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState_GenMsgs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisState_GenMsgs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.storeCode = MsgStoreCode.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateContract = MsgInstantiateContract.decode(reader, reader.uint32()); + break; + + case 3: + message.executeContract = MsgExecuteContract.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState_GenMsgs { + return { + storeCode: isSet(object.storeCode) ? MsgStoreCode.fromJSON(object.storeCode) : undefined, + instantiateContract: isSet(object.instantiateContract) ? MsgInstantiateContract.fromJSON(object.instantiateContract) : undefined, + executeContract: isSet(object.executeContract) ? MsgExecuteContract.fromJSON(object.executeContract) : undefined + }; + }, + + toJSON(message: GenesisState_GenMsgs): unknown { + const obj: any = {}; + message.storeCode !== undefined && (obj.storeCode = message.storeCode ? MsgStoreCode.toJSON(message.storeCode) : undefined); + message.instantiateContract !== undefined && (obj.instantiateContract = message.instantiateContract ? MsgInstantiateContract.toJSON(message.instantiateContract) : undefined); + message.executeContract !== undefined && (obj.executeContract = message.executeContract ? MsgExecuteContract.toJSON(message.executeContract) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState_GenMsgs { + const message = createBaseGenesisState_GenMsgs(); + message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; + message.instantiateContract = object.instantiateContract !== undefined && object.instantiateContract !== null ? MsgInstantiateContract.fromPartial(object.instantiateContract) : undefined; + message.executeContract = object.executeContract !== undefined && object.executeContract !== null ? MsgExecuteContract.fromPartial(object.executeContract) : undefined; + return message; + } + +}; + +function createBaseCode(): Code { + return { + codeId: Long.UZERO, + codeInfo: undefined, + codeBytes: new Uint8Array(), + pinned: false + }; +} + +export const Code = { + encode(message: Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.codeInfo !== undefined) { + CodeInfo.encode(message.codeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (message.codeBytes.length !== 0) { + writer.uint32(26).bytes(message.codeBytes); + } + + if (message.pinned === true) { + writer.uint32(32).bool(message.pinned); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Code { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.codeInfo = CodeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.codeBytes = reader.bytes(); + break; + + case 4: + message.pinned = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Code { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + codeInfo: isSet(object.codeInfo) ? CodeInfo.fromJSON(object.codeInfo) : undefined, + codeBytes: isSet(object.codeBytes) ? bytesFromBase64(object.codeBytes) : new Uint8Array(), + pinned: isSet(object.pinned) ? Boolean(object.pinned) : false + }; + }, + + toJSON(message: Code): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfo.toJSON(message.codeInfo) : undefined); + message.codeBytes !== undefined && (obj.codeBytes = base64FromBytes(message.codeBytes !== undefined ? message.codeBytes : new Uint8Array())); + message.pinned !== undefined && (obj.pinned = message.pinned); + return obj; + }, + + fromPartial(object: Partial): Code { + const message = createBaseCode(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfo.fromPartial(object.codeInfo) : undefined; + message.codeBytes = object.codeBytes ?? new Uint8Array(); + message.pinned = object.pinned ?? false; + return message; + } + +}; + +function createBaseContract(): Contract { + return { + contractAddress: "", + contractInfo: undefined, + contractState: [] + }; +} + +export const Contract = { + encode(message: Contract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.contractAddress !== "") { + writer.uint32(10).string(message.contractAddress); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contractState) { + Model.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Contract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contractAddress = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.contractState.push(Model.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Contract { + return { + contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "", + contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined, + contractState: Array.isArray(object?.contractState) ? object.contractState.map((e: any) => Model.fromJSON(e)) : [] + }; + }, + + toJSON(message: Contract): unknown { + const obj: any = {}; + message.contractAddress !== undefined && (obj.contractAddress = message.contractAddress); + message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); + + if (message.contractState) { + obj.contractState = message.contractState.map(e => e ? Model.toJSON(e) : undefined); + } else { + obj.contractState = []; + } + + return obj; + }, + + fromPartial(object: Partial): Contract { + const message = createBaseContract(); + message.contractAddress = object.contractAddress ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + message.contractState = object.contractState?.map(e => Model.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSequence(): Sequence { + return { + idKey: new Uint8Array(), + value: Long.UZERO + }; +} + +export const Sequence = { + encode(message: Sequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.idKey.length !== 0) { + writer.uint32(10).bytes(message.idKey); + } + + if (!message.value.isZero()) { + writer.uint32(16).uint64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Sequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.idKey = reader.bytes(); + break; + + case 2: + message.value = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Sequence { + return { + idKey: isSet(object.idKey) ? bytesFromBase64(object.idKey) : new Uint8Array(), + value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO + }; + }, + + toJSON(message: Sequence): unknown { + const obj: any = {}; + message.idKey !== undefined && (obj.idKey = base64FromBytes(message.idKey !== undefined ? message.idKey : new Uint8Array())); + message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Sequence { + const message = createBaseSequence(); + message.idKey = object.idKey ?? new Uint8Array(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts new file mode 100644 index 000000000..3da4300ef --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts @@ -0,0 +1,181 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** MsgIBCSend */ +export interface MsgIBCSend { + /** the channel by which the packet will be sent */ + channel: string; + + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + timeoutHeight: Long; + + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeoutTimestamp: Long; + + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + data: Uint8Array; +} + +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ +export interface MsgIBCCloseChannel { + channel: string; +} + +function createBaseMsgIBCSend(): MsgIBCSend { + return { + channel: "", + timeoutHeight: Long.UZERO, + timeoutTimestamp: Long.UZERO, + data: new Uint8Array() + }; +} + +export const MsgIBCSend = { + encode(message: MsgIBCSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(32).uint64(message.timeoutHeight); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(40).uint64(message.timeoutTimestamp); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + case 4: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 5: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + case 6: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgIBCSend { + return { + channel: isSet(object.channel) ? String(object.channel) : "", + timeoutHeight: isSet(object.timeoutHeight) ? Long.fromString(object.timeoutHeight) : Long.UZERO, + timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgIBCSend): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel); + message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); + message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgIBCSend { + const message = createBaseMsgIBCSend(); + message.channel = object.channel ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgIBCCloseChannel(): MsgIBCCloseChannel { + return { + channel: "" + }; +} + +export const MsgIBCCloseChannel = { + encode(message: MsgIBCCloseChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCCloseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgIBCCloseChannel { + return { + channel: isSet(object.channel) ? String(object.channel) : "" + }; + }, + + toJSON(message: MsgIBCCloseChannel): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel); + return obj; + }, + + fromPartial(object: Partial): MsgIBCCloseChannel { + const message = createBaseMsgIBCCloseChannel(); + message.channel = object.channel ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts new file mode 100644 index 000000000..ac0c2baae --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts @@ -0,0 +1,1114 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ +export interface StoreCodeProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** WASMByteCode can be raw or gzip compressed */ + wasmByteCode: Uint8Array; + + /** InstantiatePermission to apply on contract creation, optional */ + instantiatePermission: AccessConfig | undefined; +} + +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ +export interface InstantiateContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Label is optional metadata to be stored with a constract instance. */ + label: string; + + /** Msg json encoded message to be passed to the contract on instantiation */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** MigrateContractProposal gov proposal content type to migrate a contract. */ +export interface MigrateContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** CodeID references the new WASM codesudo */ + codeId: Long; + + /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; +} + +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ +export interface SudoContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; +} + +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ +export interface ExecuteContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract as execute */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ +export interface UpdateAdminProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** NewAdmin address to be set */ + newAdmin: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ +export interface ClearAdminProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ +export interface PinCodesProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** CodeIDs references the new WASM codes */ + codeIds: Long[]; +} + +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ +export interface UnpinCodesProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** CodeIDs references the WASM codes */ + codeIds: Long[]; +} + +function createBaseStoreCodeProposal(): StoreCodeProposal { + return { + title: "", + description: "", + runAs: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const StoreCodeProposal = { + encode(message: StoreCodeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(34).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStoreCodeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.wasmByteCode = reader.bytes(); + break; + + case 7: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): StoreCodeProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), + instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined + }; + }, + + toJSON(message: StoreCodeProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); + message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); + return obj; + }, + + fromPartial(object: Partial): StoreCodeProposal { + const message = createBaseStoreCodeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseInstantiateContractProposal(): InstantiateContractProposal { + return { + title: "", + description: "", + runAs: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const InstantiateContractProposal = { + encode(message: InstantiateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.admin !== "") { + writer.uint32(34).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(50).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(58).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInstantiateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.admin = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.label = reader.string(); + break; + + case 7: + message.msg = reader.bytes(); + break; + + case 8: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InstantiateContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + label: isSet(object.label) ? String(object.label) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: InstantiateContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.admin !== undefined && (obj.admin = message.admin); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.label !== undefined && (obj.label = message.label); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): InstantiateContractProposal { + const message = createBaseInstantiateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMigrateContractProposal(): MigrateContractProposal { + return { + title: "", + description: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MigrateContractProposal = { + encode(message: MigrateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(50).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MigrateContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: MigrateContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MigrateContractProposal { + const message = createBaseMigrateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSudoContractProposal(): SudoContractProposal { + return { + title: "", + description: "", + contract: "", + msg: new Uint8Array() + }; +} + +export const SudoContractProposal = { + encode(message: SudoContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSudoContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SudoContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: SudoContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SudoContractProposal { + const message = createBaseSudoContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseExecuteContractProposal(): ExecuteContractProposal { + return { + title: "", + description: "", + runAs: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const ExecuteContractProposal = { + encode(message: ExecuteContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExecuteContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ExecuteContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: ExecuteContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): ExecuteContractProposal { + const message = createBaseExecuteContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUpdateAdminProposal(): UpdateAdminProposal { + return { + title: "", + description: "", + newAdmin: "", + contract: "" + }; +} + +export const UpdateAdminProposal = { + encode(message: UpdateAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpdateAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UpdateAdminProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: UpdateAdminProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): UpdateAdminProposal { + const message = createBaseUpdateAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseClearAdminProposal(): ClearAdminProposal { + return { + title: "", + description: "", + contract: "" + }; +} + +export const ClearAdminProposal = { + encode(message: ClearAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClearAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClearAdminProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: ClearAdminProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): ClearAdminProposal { + const message = createBaseClearAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBasePinCodesProposal(): PinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const PinCodesProposal = { + encode(message: PinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PinCodesProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: PinCodesProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + return obj; + }, + + fromPartial(object: Partial): PinCodesProposal { + const message = createBasePinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseUnpinCodesProposal(): UnpinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const UnpinCodesProposal = { + encode(message: UnpinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnpinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UnpinCodesProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: UnpinCodesProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + return obj; + }, + + fromPartial(object: Partial): UnpinCodesProposal { + const message = createBaseUnpinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts new file mode 100644 index 000000000..fa0e6334f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -0,0 +1,143 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* ContractInfo gets the contract meta data */ + async contractInfo(params: QueryContractInfoRequest): Promise { + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; + return await this.request(endpoint); + } + + /* ContractHistory gets the contract code history */ + async contractHistory(params: QueryContractHistoryRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; + return await this.request(endpoint, options); + } + + /* ContractsByCode lists all smart contracts for a code id */ + async contractsByCode(params: QueryContractsByCodeRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.codeId !== "undefined") { + options.params.code_id = params.codeId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; + return await this.request(endpoint, options); + } + + /* AllContractState gets all raw store data for a single contract */ + async allContractState(params: QueryAllContractStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; + return await this.request(endpoint, options); + } + + /* RawContractState gets single key from the raw store data of a contract */ + async rawContractState(params: QueryRawContractStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.queryData !== "undefined") { + options.params.query_data = params.queryData; + } + + const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; + return await this.request(endpoint, options); + } + + /* SmartContractState get smart query result from the contract */ + async smartContractState(params: QuerySmartContractStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.queryData !== "undefined") { + options.params.query_data = params.queryData; + } + + const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; + return await this.request(endpoint, options); + } + + /* Code gets the binary code and metadata for a singe wasm code */ + async code(params: QueryCodeRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.codeId !== "undefined") { + options.params.code_id = params.codeId; + } + + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; + return await this.request(endpoint, options); + } + + /* Codes gets the metadata for all stored wasm codes */ + async codes(params: QueryCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code`; + return await this.request(endpoint, options); + } + + /* PinnedCodes gets the pinned code ids */ + async pinnedCodes(params: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/codes/pinned`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts new file mode 100644 index 000000000..f6fc84b21 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -0,0 +1,107 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + contractInfo(request: QueryContractInfoRequest): Promise; + /*ContractInfo gets the contract meta data*/ + + contractHistory(request: QueryContractHistoryRequest): Promise; + /*ContractHistory gets the contract code history*/ + + contractsByCode(request: QueryContractsByCodeRequest): Promise; + /*ContractsByCode lists all smart contracts for a code id*/ + + allContractState(request: QueryAllContractStateRequest): Promise; + /*AllContractState gets all raw store data for a single contract*/ + + rawContractState(request: QueryRawContractStateRequest): Promise; + /*RawContractState gets single key from the raw store data of a contract*/ + + smartContractState(request: QuerySmartContractStateRequest): Promise; + /*SmartContractState get smart query result from the contract*/ + + code(request: QueryCodeRequest): Promise; + /*Code gets the binary code and metadata for a singe wasm code*/ + + codes(request: QueryCodesRequest): Promise; + /*Codes gets the metadata for all stored wasm codes*/ + + pinnedCodes(request: QueryPinnedCodesRequest): Promise; + /*PinnedCodes gets the pinned code ids*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); + } + + contractInfo(request: QueryContractInfoRequest): Promise { + const data = QueryContractInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); + return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); + } + + contractHistory(request: QueryContractHistoryRequest): Promise { + const data = QueryContractHistoryRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); + return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); + } + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + const data = QueryContractsByCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); + return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); + } + + allContractState(request: QueryAllContractStateRequest): Promise { + const data = QueryAllContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); + return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); + } + + rawContractState(request: QueryRawContractStateRequest): Promise { + const data = QueryRawContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); + return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); + } + + smartContractState(request: QuerySmartContractStateRequest): Promise { + const data = QuerySmartContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); + return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); + } + + code(request: QueryCodeRequest): Promise { + const data = QueryCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); + return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); + } + + codes(request: QueryCodesRequest): Promise { + const data = QueryCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); + return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); + } + + pinnedCodes(request: QueryPinnedCodesRequest): Promise { + const data = QueryPinnedCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); + return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts new file mode 100644 index 000000000..abd081e66 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts @@ -0,0 +1,1481 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoRequest { + /** address is the address of the contract to query */ + address: string; +} + +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoResponse { + /** address is the address of the contract */ + address: string; + contractInfo: ContractInfo | undefined; +} + +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ +export interface QueryContractHistoryRequest { + /** address is the address of the contract to query */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ +export interface QueryContractHistoryResponse { + entries: ContractCodeHistoryEntry[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ +export interface QueryContractsByCodeRequest { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + codeId: Long; + pagination: PageRequest | undefined; +} + +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ +export interface QueryContractsByCodeResponse { + /** contracts are a set of contract addresses */ + contracts: string[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ +export interface QueryAllContractStateRequest { + /** address is the address of the contract */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ +export interface QueryAllContractStateResponse { + models: Model[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateRequest { + /** address is the address of the contract */ + address: string; + queryData: Uint8Array; +} + +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateResponse { + /** Data contains the raw store data */ + data: Uint8Array; +} + +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateRequest { + /** address is the address of the contract */ + address: string; + + /** QueryData contains the query data passed to the contract */ + queryData: Uint8Array; +} + +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateResponse { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} + +/** QueryCodeRequest is the request type for the Query/Code RPC method */ +export interface QueryCodeRequest { + /** grpc-gateway_out does not support Go style CodID */ + codeId: Long; +} + +/** CodeInfoResponse contains code meta data from CodeInfo */ +export interface CodeInfoResponse { + codeId: Long; + creator: string; + dataHash: Uint8Array; +} + +/** QueryCodeResponse is the response type for the Query/Code RPC method */ +export interface QueryCodeResponse { + codeInfo: CodeInfoResponse | undefined; + data: Uint8Array; +} + +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ +export interface QueryCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ +export interface QueryCodesResponse { + codeInfos: CodeInfoResponse[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ +export interface QueryPinnedCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ +export interface QueryPinnedCodesResponse { + codeIds: Long[]; + + /** pagination defines the pagination in the response. */ + pagination: PageResponse | undefined; +} + +function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { + return { + address: "" + }; +} + +export const QueryContractInfoRequest = { + encode(message: QueryContractInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractInfoRequest { + return { + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: QueryContractInfoRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + return obj; + }, + + fromPartial(object: Partial): QueryContractInfoRequest { + const message = createBaseQueryContractInfoRequest(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { + return { + address: "", + contractInfo: undefined + }; +} + +export const QueryContractInfoResponse = { + encode(message: QueryContractInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractInfoResponse { + return { + address: isSet(object.address) ? String(object.address) : "", + contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined + }; + }, + + toJSON(message: QueryContractInfoResponse): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractInfoResponse { + const message = createBaseQueryContractInfoResponse(); + message.address = object.address ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryContractHistoryRequest = { + encode(message: QueryContractHistoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractHistoryRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractHistoryRequest): 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): QueryContractHistoryRequest { + const message = createBaseQueryContractHistoryRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { + return { + entries: [], + pagination: undefined + }; +} + +export const QueryContractHistoryResponse = { + encode(message: QueryContractHistoryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(ContractCodeHistoryEntry.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): QueryContractHistoryResponse { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractHistoryResponse): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractHistoryResponse { + const message = createBaseQueryContractHistoryResponse(); + message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { + return { + codeId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryContractsByCodeRequest = { + encode(message: QueryContractsByCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractsByCodeRequest { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractsByCodeRequest): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractsByCodeRequest { + const message = createBaseQueryContractsByCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { + return { + contracts: [], + pagination: undefined + }; +} + +export const QueryContractsByCodeResponse = { + encode(message: QueryContractsByCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.contracts) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contracts.push(reader.string()); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractsByCodeResponse { + return { + contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => String(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractsByCodeResponse): unknown { + const obj: any = {}; + + if (message.contracts) { + obj.contracts = message.contracts.map(e => e); + } else { + obj.contracts = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractsByCodeResponse { + const message = createBaseQueryContractsByCodeResponse(); + message.contracts = object.contracts?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllContractStateRequest = { + encode(message: QueryAllContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAllContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryAllContractStateRequest): 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): QueryAllContractStateRequest { + const message = createBaseQueryAllContractStateRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { + return { + models: [], + pagination: undefined + }; +} + +export const QueryAllContractStateResponse = { + encode(message: QueryAllContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.models) { + Model.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.models.push(Model.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): QueryAllContractStateResponse { + return { + models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryAllContractStateResponse): unknown { + const obj: any = {}; + + if (message.models) { + obj.models = message.models.map(e => e ? Model.toJSON(e) : undefined); + } else { + obj.models = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryAllContractStateResponse { + const message = createBaseQueryAllContractStateResponse(); + message.models = object.models?.map(e => Model.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QueryRawContractStateRequest = { + encode(message: QueryRawContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryRawContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() + }; + }, + + toJSON(message: QueryRawContractStateRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryRawContractStateRequest { + const message = createBaseQueryRawContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QueryRawContractStateResponse = { + encode(message: QueryRawContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryRawContractStateResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QueryRawContractStateResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryRawContractStateResponse { + const message = createBaseQueryRawContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QuerySmartContractStateRequest = { + encode(message: QuerySmartContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySmartContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() + }; + }, + + toJSON(message: QuerySmartContractStateRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QuerySmartContractStateRequest { + const message = createBaseQuerySmartContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QuerySmartContractStateResponse = { + encode(message: QuerySmartContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySmartContractStateResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QuerySmartContractStateResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QuerySmartContractStateResponse { + const message = createBaseQuerySmartContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeRequest(): QueryCodeRequest { + return { + codeId: Long.UZERO + }; +} + +export const QueryCodeRequest = { + encode(message: QueryCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryCodeRequest { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO + }; + }, + + toJSON(message: QueryCodeRequest): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryCodeRequest { + const message = createBaseQueryCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfoResponse(): CodeInfoResponse { + return { + codeId: Long.UZERO, + creator: "", + dataHash: new Uint8Array() + }; +} + +export const CodeInfoResponse = { + encode(message: CodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.dataHash.length !== 0) { + writer.uint32(26).bytes(message.dataHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.dataHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CodeInfoResponse { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + creator: isSet(object.creator) ? String(object.creator) : "", + dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array() + }; + }, + + toJSON(message: CodeInfoResponse): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.creator !== undefined && (obj.creator = message.creator); + message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): CodeInfoResponse { + const message = createBaseCodeInfoResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.dataHash = object.dataHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeResponse(): QueryCodeResponse { + return { + codeInfo: undefined, + data: new Uint8Array() + }; +} + +export const QueryCodeResponse = { + encode(message: QueryCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeInfo !== undefined) { + CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32()); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryCodeResponse { + return { + codeInfo: isSet(object.codeInfo) ? CodeInfoResponse.fromJSON(object.codeInfo) : undefined, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QueryCodeResponse): unknown { + const obj: any = {}; + message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfoResponse.toJSON(message.codeInfo) : undefined); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryCodeResponse { + const message = createBaseQueryCodeResponse(); + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodesRequest(): QueryCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryCodesRequest = { + encode(message: QueryCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesRequest(); + + 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): QueryCodesRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryCodesRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryCodesRequest { + const message = createBaseQueryCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryCodesResponse(): QueryCodesResponse { + return { + codeInfos: [], + pagination: undefined + }; +} + +export const QueryCodesResponse = { + encode(message: QueryCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.codeInfos) { + CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfos.push(CodeInfoResponse.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): QueryCodesResponse { + return { + codeInfos: Array.isArray(object?.codeInfos) ? object.codeInfos.map((e: any) => CodeInfoResponse.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryCodesResponse): unknown { + const obj: any = {}; + + if (message.codeInfos) { + obj.codeInfos = message.codeInfos.map(e => e ? CodeInfoResponse.toJSON(e) : undefined); + } else { + obj.codeInfos = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryCodesResponse { + const message = createBaseQueryCodesResponse(); + message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryPinnedCodesRequest = { + encode(message: QueryPinnedCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPinnedCodesRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPinnedCodesRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPinnedCodesRequest { + const message = createBaseQueryPinnedCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { + return { + codeIds: [], + pagination: undefined + }; +} + +export const QueryPinnedCodesResponse = { + encode(message: QueryPinnedCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPinnedCodesResponse { + return { + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPinnedCodesResponse): unknown { + const obj: any = {}; + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPinnedCodesResponse { + const message = createBaseQueryPinnedCodesResponse(); + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..c95f5b1e9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -0,0 +1,77 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + storeCode(request: MsgStoreCode): Promise; + /*StoreCode to submit Wasm code to the system*/ + + instantiateContract(request: MsgInstantiateContract): Promise; + /*Instantiate creates a new smart contract instance for the given code id.*/ + + executeContract(request: MsgExecuteContract): Promise; + /*Execute submits the given message data to a smart contract*/ + + migrateContract(request: MsgMigrateContract): Promise; + /*Migrate runs a code upgrade/ downgrade for a smart contract*/ + + updateAdmin(request: MsgUpdateAdmin): Promise; + /*UpdateAdmin sets a new admin for a smart contract*/ + + clearAdmin(request: MsgClearAdmin): Promise; + /*ClearAdmin removes any admin stored for a smart contract*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.storeCode = this.storeCode.bind(this); + this.instantiateContract = this.instantiateContract.bind(this); + this.executeContract = this.executeContract.bind(this); + this.migrateContract = this.migrateContract.bind(this); + this.updateAdmin = this.updateAdmin.bind(this); + this.clearAdmin = this.clearAdmin.bind(this); + } + + storeCode(request: MsgStoreCode): Promise { + const data = MsgStoreCode.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); + return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); + } + + instantiateContract(request: MsgInstantiateContract): Promise { + const data = MsgInstantiateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); + return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); + } + + executeContract(request: MsgExecuteContract): Promise { + const data = MsgExecuteContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); + return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); + } + + migrateContract(request: MsgMigrateContract): Promise { + const data = MsgMigrateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); + return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); + } + + updateAdmin(request: MsgUpdateAdmin): Promise { + const data = MsgUpdateAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); + return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); + } + + clearAdmin(request: MsgClearAdmin): Promise { + const data = MsgClearAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); + return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts new file mode 100644 index 000000000..140096e8e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts @@ -0,0 +1,1002 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** MsgStoreCode submit Wasm code to the system */ +export interface MsgStoreCode { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** WASMByteCode can be raw or gzip compressed */ + wasmByteCode: Uint8Array; + + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + instantiatePermission: AccessConfig | undefined; +} + +/** MsgStoreCodeResponse returns store result data. */ +export interface MsgStoreCodeResponse { + /** CodeID is the reference to the stored WASM code */ + codeId: Long; +} + +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ +export interface MsgInstantiateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Label is optional metadata to be stored with a contract instance. */ + label: string; + + /** Msg json encoded message to be passed to the contract on instantiation */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** MsgInstantiateContractResponse return instantiation result data */ +export interface MsgInstantiateContractResponse { + /** Address is the bech32 address of the new contract instance. */ + address: string; + + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} + +/** MsgExecuteContract submits the given message data to a smart contract */ +export interface MsgExecuteContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on execution */ + funds: Coin[]; +} + +/** MsgExecuteContractResponse returns execution result data. */ +export interface MsgExecuteContractResponse { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} + +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ +export interface MsgMigrateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** CodeID references the new WASM code */ + codeId: Long; + + /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; +} + +/** MsgMigrateContractResponse returns contract migration result data. */ +export interface MsgMigrateContractResponse { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} + +/** MsgUpdateAdmin sets a new admin for a smart contract */ +export interface MsgUpdateAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** NewAdmin address to be set */ + newAdmin: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** MsgUpdateAdminResponse returns empty data */ +export interface MsgUpdateAdminResponse {} + +/** MsgClearAdmin removes any admin stored for a smart contract */ +export interface MsgClearAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** MsgClearAdminResponse returns empty data */ +export interface MsgClearAdminResponse {} + +function createBaseMsgStoreCode(): MsgStoreCode { + return { + sender: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const MsgStoreCode = { + encode(message: MsgStoreCode, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(18).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.wasmByteCode = reader.bytes(); + break; + + case 5: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgStoreCode { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), + instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined + }; + }, + + toJSON(message: MsgStoreCode): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); + message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); + return obj; + }, + + fromPartial(object: Partial): MsgStoreCode { + const message = createBaseMsgStoreCode(); + message.sender = object.sender ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseMsgStoreCodeResponse(): MsgStoreCodeResponse { + return { + codeId: Long.UZERO + }; +} + +export const MsgStoreCodeResponse = { + encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgStoreCodeResponse { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO + }; + }, + + toJSON(message: MsgStoreCodeResponse): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgStoreCodeResponse { + const message = createBaseMsgStoreCodeResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgInstantiateContract(): MsgInstantiateContract { + return { + sender: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgInstantiateContract = { + encode(message: MsgInstantiateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgInstantiateContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + label: isSet(object.label) ? String(object.label) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgInstantiateContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.admin !== undefined && (obj.admin = message.admin); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.label !== undefined && (obj.label = message.label); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgInstantiateContract { + const message = createBaseMsgInstantiateContract(); + message.sender = object.sender ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgInstantiateContractResponse(): MsgInstantiateContractResponse { + return { + address: "", + data: new Uint8Array() + }; +} + +export const MsgInstantiateContractResponse = { + encode(message: MsgInstantiateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgInstantiateContractResponse { + return { + address: isSet(object.address) ? String(object.address) : "", + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgInstantiateContractResponse): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgInstantiateContractResponse { + const message = createBaseMsgInstantiateContractResponse(); + message.address = object.address ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgExecuteContract(): MsgExecuteContract { + return { + sender: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgExecuteContract = { + encode(message: MsgExecuteContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(26).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.msg = reader.bytes(); + break; + + case 5: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExecuteContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgExecuteContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgExecuteContract { + const message = createBaseMsgExecuteContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgExecuteContractResponse(): MsgExecuteContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgExecuteContractResponse = { + encode(message: MsgExecuteContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExecuteContractResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgExecuteContractResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgExecuteContractResponse { + const message = createBaseMsgExecuteContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContract(): MsgMigrateContract { + return { + sender: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MsgMigrateContract = { + encode(message: MsgMigrateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgMigrateContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: MsgMigrateContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgMigrateContract { + const message = createBaseMsgMigrateContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContractResponse(): MsgMigrateContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgMigrateContractResponse = { + encode(message: MsgMigrateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgMigrateContractResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgMigrateContractResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgMigrateContractResponse { + const message = createBaseMsgMigrateContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgUpdateAdmin(): MsgUpdateAdmin { + return { + sender: "", + newAdmin: "", + contract: "" + }; +} + +export const MsgUpdateAdmin = { + encode(message: MsgUpdateAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.newAdmin !== "") { + writer.uint32(18).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.newAdmin = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateAdmin { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: MsgUpdateAdmin): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateAdmin { + const message = createBaseMsgUpdateAdmin(); + message.sender = object.sender ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateAdminResponse(): MsgUpdateAdminResponse { + return {}; +} + +export const MsgUpdateAdminResponse = { + encode(_: MsgUpdateAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateAdminResponse { + const message = createBaseMsgUpdateAdminResponse(); + return message; + } + +}; + +function createBaseMsgClearAdmin(): MsgClearAdmin { + return { + sender: "", + contract: "" + }; +} + +export const MsgClearAdmin = { + encode(message: MsgClearAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgClearAdmin { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: MsgClearAdmin): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): MsgClearAdmin { + const message = createBaseMsgClearAdmin(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgClearAdminResponse(): MsgClearAdminResponse { + return {}; +} + +export const MsgClearAdminResponse = { + encode(_: MsgClearAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgClearAdminResponse { + return {}; + }, + + toJSON(_: MsgClearAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgClearAdminResponse { + const message = createBaseMsgClearAdminResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts new file mode 100644 index 000000000..f7eeb3c67 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts @@ -0,0 +1,862 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** AccessType permission types */ +export enum AccessType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} +export function accessTypeFromJSON(object: any): AccessType { + switch (object) { + case 0: + case "ACCESS_TYPE_UNSPECIFIED": + return AccessType.ACCESS_TYPE_UNSPECIFIED; + + case 1: + case "ACCESS_TYPE_NOBODY": + return AccessType.ACCESS_TYPE_NOBODY; + + case 2: + case "ACCESS_TYPE_ONLY_ADDRESS": + return AccessType.ACCESS_TYPE_ONLY_ADDRESS; + + case 3: + case "ACCESS_TYPE_EVERYBODY": + return AccessType.ACCESS_TYPE_EVERYBODY; + + case -1: + case "UNRECOGNIZED": + default: + return AccessType.UNRECOGNIZED; + } +} +export function accessTypeToJSON(object: AccessType): string { + switch (object) { + case AccessType.ACCESS_TYPE_UNSPECIFIED: + return "ACCESS_TYPE_UNSPECIFIED"; + + case AccessType.ACCESS_TYPE_NOBODY: + return "ACCESS_TYPE_NOBODY"; + + case AccessType.ACCESS_TYPE_ONLY_ADDRESS: + return "ACCESS_TYPE_ONLY_ADDRESS"; + + case AccessType.ACCESS_TYPE_EVERYBODY: + return "ACCESS_TYPE_EVERYBODY"; + + default: + return "UNKNOWN"; + } +} + +/** ContractCodeHistoryOperationType actions that caused a code change */ +export enum ContractCodeHistoryOperationType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} +export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { + switch (object) { + case 0: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED; + + case 1: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT; + + case 2: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE; + + case 3: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS; + + case -1: + case "UNRECOGNIZED": + default: + return ContractCodeHistoryOperationType.UNRECOGNIZED; + } +} +export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string { + switch (object) { + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; + + default: + return "UNKNOWN"; + } +} + +/** AccessTypeParam */ +export interface AccessTypeParam { + value: AccessType; +} + +/** AccessConfig access control type. */ +export interface AccessConfig { + permission: AccessType; + address: string; +} + +/** Params defines the set of wasm parameters. */ +export interface Params { + codeUploadAccess: AccessConfig | undefined; + instantiateDefaultPermission: AccessType; + maxWasmCodeSize: Long; +} + +/** CodeInfo is data for the uploaded contract WASM code */ +export interface CodeInfo { + /** CodeHash is the unique identifier created by wasmvm */ + codeHash: Uint8Array; + + /** Creator address who initially stored the code */ + creator: string; + + /** InstantiateConfig access control to apply on contract creation, optional */ + instantiateConfig: AccessConfig | undefined; +} + +/** ContractInfo stores a WASM contract instance */ +export interface ContractInfo { + /** CodeID is the reference to the stored Wasm code */ + codeId: Long; + + /** Creator address who initially instantiated the contract */ + creator: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** Label is optional metadata to be stored with a contract instance. */ + label: string; + + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + created: AbsoluteTxPosition | undefined; + ibcPortId: string; + + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + extension: Any | undefined; +} + +/** ContractCodeHistoryEntry metadata to a contract. */ +export interface ContractCodeHistoryEntry { + operation: ContractCodeHistoryOperationType; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Updated Tx position when the operation was executed. */ + updated: AbsoluteTxPosition | undefined; + msg: Uint8Array; +} + +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ +export interface AbsoluteTxPosition { + /** BlockHeight is the block the contract was created at */ + blockHeight: Long; + + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + txIndex: Long; +} + +/** Model is a struct that holds a KV pair */ +export interface Model { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; + + /** base64-encode raw value */ + value: Uint8Array; +} + +function createBaseAccessTypeParam(): AccessTypeParam { + return { + value: 0 + }; +} + +export const AccessTypeParam = { + encode(message: AccessTypeParam, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).int32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessTypeParam(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AccessTypeParam { + return { + value: isSet(object.value) ? accessTypeFromJSON(object.value) : 0 + }; + }, + + toJSON(message: AccessTypeParam): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); + return obj; + }, + + fromPartial(object: Partial): AccessTypeParam { + const message = createBaseAccessTypeParam(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseAccessConfig(): AccessConfig { + return { + permission: 0, + address: "" + }; +} + +export const AccessConfig = { + encode(message: AccessConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.permission !== 0) { + writer.uint32(8).int32(message.permission); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessConfig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.permission = (reader.int32() as any); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AccessConfig { + return { + permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : 0, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: AccessConfig): unknown { + const obj: any = {}; + message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); + message.address !== undefined && (obj.address = message.address); + return obj; + }, + + fromPartial(object: Partial): AccessConfig { + const message = createBaseAccessConfig(); + message.permission = object.permission ?? 0; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + codeUploadAccess: undefined, + instantiateDefaultPermission: 0, + maxWasmCodeSize: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeUploadAccess !== undefined) { + AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateDefaultPermission !== 0) { + writer.uint32(16).int32(message.instantiateDefaultPermission); + } + + if (!message.maxWasmCodeSize.isZero()) { + writer.uint32(24).uint64(message.maxWasmCodeSize); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codeUploadAccess = AccessConfig.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateDefaultPermission = (reader.int32() as any); + break; + + case 3: + message.maxWasmCodeSize = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + codeUploadAccess: isSet(object.codeUploadAccess) ? AccessConfig.fromJSON(object.codeUploadAccess) : undefined, + instantiateDefaultPermission: isSet(object.instantiateDefaultPermission) ? accessTypeFromJSON(object.instantiateDefaultPermission) : 0, + maxWasmCodeSize: isSet(object.maxWasmCodeSize) ? Long.fromString(object.maxWasmCodeSize) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.codeUploadAccess !== undefined && (obj.codeUploadAccess = message.codeUploadAccess ? AccessConfig.toJSON(message.codeUploadAccess) : undefined); + message.instantiateDefaultPermission !== undefined && (obj.instantiateDefaultPermission = accessTypeToJSON(message.instantiateDefaultPermission)); + message.maxWasmCodeSize !== undefined && (obj.maxWasmCodeSize = (message.maxWasmCodeSize || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; + message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; + message.maxWasmCodeSize = object.maxWasmCodeSize !== undefined && object.maxWasmCodeSize !== null ? Long.fromValue(object.maxWasmCodeSize) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfo(): CodeInfo { + return { + codeHash: new Uint8Array(), + creator: "", + instantiateConfig: undefined + }; +} + +export const CodeInfo = { + encode(message: CodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeHash.length !== 0) { + writer.uint32(10).bytes(message.codeHash); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.instantiateConfig !== undefined) { + AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeHash = reader.bytes(); + break; + + case 2: + message.creator = reader.string(); + break; + + case 5: + message.instantiateConfig = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CodeInfo { + return { + codeHash: isSet(object.codeHash) ? bytesFromBase64(object.codeHash) : new Uint8Array(), + creator: isSet(object.creator) ? String(object.creator) : "", + instantiateConfig: isSet(object.instantiateConfig) ? AccessConfig.fromJSON(object.instantiateConfig) : undefined + }; + }, + + toJSON(message: CodeInfo): unknown { + const obj: any = {}; + message.codeHash !== undefined && (obj.codeHash = base64FromBytes(message.codeHash !== undefined ? message.codeHash : new Uint8Array())); + message.creator !== undefined && (obj.creator = message.creator); + message.instantiateConfig !== undefined && (obj.instantiateConfig = message.instantiateConfig ? AccessConfig.toJSON(message.instantiateConfig) : undefined); + return obj; + }, + + fromPartial(object: Partial): CodeInfo { + const message = createBaseCodeInfo(); + message.codeHash = object.codeHash ?? new Uint8Array(); + message.creator = object.creator ?? ""; + message.instantiateConfig = object.instantiateConfig !== undefined && object.instantiateConfig !== null ? AccessConfig.fromPartial(object.instantiateConfig) : undefined; + return message; + } + +}; + +function createBaseContractInfo(): ContractInfo { + return { + codeId: Long.UZERO, + creator: "", + admin: "", + label: "", + created: undefined, + ibcPortId: "", + extension: undefined + }; +} + +export const ContractInfo = { + encode(message: ContractInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.created !== undefined) { + AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim(); + } + + if (message.ibcPortId !== "") { + writer.uint32(50).string(message.ibcPortId); + } + + if (message.extension !== undefined) { + Any.encode(message.extension, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.created = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 6: + message.ibcPortId = reader.string(); + break; + + case 7: + message.extension = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContractInfo { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + creator: isSet(object.creator) ? String(object.creator) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + label: isSet(object.label) ? String(object.label) : "", + created: isSet(object.created) ? AbsoluteTxPosition.fromJSON(object.created) : undefined, + ibcPortId: isSet(object.ibcPortId) ? String(object.ibcPortId) : "", + extension: isSet(object.extension) ? Any.fromJSON(object.extension) : undefined + }; + }, + + toJSON(message: ContractInfo): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.creator !== undefined && (obj.creator = message.creator); + message.admin !== undefined && (obj.admin = message.admin); + message.label !== undefined && (obj.label = message.label); + message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toJSON(message.created) : undefined); + message.ibcPortId !== undefined && (obj.ibcPortId = message.ibcPortId); + message.extension !== undefined && (obj.extension = message.extension ? Any.toJSON(message.extension) : undefined); + return obj; + }, + + fromPartial(object: Partial): ContractInfo { + const message = createBaseContractInfo(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.admin = object.admin ?? ""; + message.label = object.label ?? ""; + message.created = object.created !== undefined && object.created !== null ? AbsoluteTxPosition.fromPartial(object.created) : undefined; + message.ibcPortId = object.ibcPortId ?? ""; + message.extension = object.extension !== undefined && object.extension !== null ? Any.fromPartial(object.extension) : undefined; + return message; + } + +}; + +function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { + return { + operation: 0, + codeId: Long.UZERO, + updated: undefined, + msg: new Uint8Array() + }; +} + +export const ContractCodeHistoryEntry = { + encode(message: ContractCodeHistoryEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operation !== 0) { + writer.uint32(8).int32(message.operation); + } + + if (!message.codeId.isZero()) { + writer.uint32(16).uint64(message.codeId); + } + + if (message.updated !== undefined) { + AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim(); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractCodeHistoryEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.operation = (reader.int32() as any); + break; + + case 2: + message.codeId = (reader.uint64() as Long); + break; + + case 3: + message.updated = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContractCodeHistoryEntry { + return { + operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : 0, + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + updated: isSet(object.updated) ? AbsoluteTxPosition.fromJSON(object.updated) : undefined, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: ContractCodeHistoryEntry): unknown { + const obj: any = {}; + message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toJSON(message.updated) : undefined); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): ContractCodeHistoryEntry { + const message = createBaseContractCodeHistoryEntry(); + message.operation = object.operation ?? 0; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.updated = object.updated !== undefined && object.updated !== null ? AbsoluteTxPosition.fromPartial(object.updated) : undefined; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAbsoluteTxPosition(): AbsoluteTxPosition { + return { + blockHeight: Long.UZERO, + txIndex: Long.UZERO + }; +} + +export const AbsoluteTxPosition = { + encode(message: AbsoluteTxPosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + writer.uint32(8).uint64(message.blockHeight); + } + + if (!message.txIndex.isZero()) { + writer.uint32(16).uint64(message.txIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAbsoluteTxPosition(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockHeight = (reader.uint64() as Long); + break; + + case 2: + message.txIndex = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AbsoluteTxPosition { + return { + blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.UZERO, + txIndex: isSet(object.txIndex) ? Long.fromString(object.txIndex) : Long.UZERO + }; + }, + + toJSON(message: AbsoluteTxPosition): unknown { + const obj: any = {}; + message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.UZERO).toString()); + message.txIndex !== undefined && (obj.txIndex = (message.txIndex || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): AbsoluteTxPosition { + const message = createBaseAbsoluteTxPosition(); + message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; + message.txIndex = object.txIndex !== undefined && object.txIndex !== null ? Long.fromValue(object.txIndex) : Long.UZERO; + return message; + } + +}; + +function createBaseModel(): Model { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Model = { + encode(message: Model, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Model { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModel(); + + 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): Model { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() + }; + }, + + toJSON(message: Model): 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): Model { + const message = createBaseModel(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/gogoproto/bundle.ts b/examples/telescope-with-contracts/codegen/gogoproto/bundle.ts new file mode 100644 index 000000000..c34b9c64c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/gogoproto/bundle.ts @@ -0,0 +1,3 @@ +import * as _100 from "./gogo"; +export const gogoproto = { ..._100 +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/gogoproto/gogo.ts b/examples/telescope-with-contracts/codegen/gogoproto/gogo.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/gogoproto/gogo.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/api/annotations.ts b/examples/telescope-with-contracts/codegen/google/api/annotations.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/api/annotations.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/api/http.ts b/examples/telescope-with-contracts/codegen/google/api/http.ts new file mode 100644 index 000000000..9185ccdc6 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/api/http.ts @@ -0,0 +1,683 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 + * to one or more HTTP REST API methods. + */ +export interface Http { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRule[]; + + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + fullyDecodeReservedExpansion: boolean; +} + +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ +export interface HttpRule { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + get?: string; + + /** Maps to HTTP PUT. Used for replacing a resource. */ + put?: string; + + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + post?: string; + + /** Maps to HTTP DELETE. Used for deleting a resource. */ + delete?: string; + + /** Maps to HTTP PATCH. Used for updating a resource. */ + patch?: string; + + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + custom?: CustomHttpPattern | undefined; + + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + body: string; + + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + responseBody: string; + + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + additionalBindings: HttpRule[]; +} + +/** A custom pattern is used for defining custom HTTP verb. */ +export interface CustomHttpPattern { + /** The name of this custom HTTP verb. */ + kind: string; + + /** The path matched by this custom verb. */ + path: string; +} + +function createBaseHttp(): Http { + return { + rules: [], + fullyDecodeReservedExpansion: false + }; +} + +export const Http = { + encode(message: Http, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rules) { + HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fullyDecodeReservedExpansion === true) { + writer.uint32(16).bool(message.fullyDecodeReservedExpansion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Http { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rules.push(HttpRule.decode(reader, reader.uint32())); + break; + + case 2: + message.fullyDecodeReservedExpansion = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false; + return message; + } + +}; + +function createBaseHttpRule(): HttpRule { + return { + selector: "", + get: undefined, + put: undefined, + post: undefined, + delete: undefined, + patch: undefined, + custom: undefined, + body: "", + responseBody: "", + additionalBindings: [] + }; +} + +export const HttpRule = { + encode(message: HttpRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.selector !== "") { + writer.uint32(10).string(message.selector); + } + + if (message.get !== undefined) { + writer.uint32(18).string(message.get); + } + + if (message.put !== undefined) { + writer.uint32(26).string(message.put); + } + + if (message.post !== undefined) { + writer.uint32(34).string(message.post); + } + + if (message.delete !== undefined) { + writer.uint32(42).string(message.delete); + } + + if (message.patch !== undefined) { + writer.uint32(50).string(message.patch); + } + + if (message.custom !== undefined) { + CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim(); + } + + if (message.body !== "") { + writer.uint32(58).string(message.body); + } + + if (message.responseBody !== "") { + writer.uint32(98).string(message.responseBody); + } + + for (const v of message.additionalBindings) { + HttpRule.encode(v!, writer.uint32(90).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttpRule(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.selector = reader.string(); + break; + + case 2: + message.get = reader.string(); + break; + + case 3: + message.put = reader.string(); + break; + + case 4: + message.post = reader.string(); + break; + + case 5: + message.delete = reader.string(); + break; + + case 6: + message.patch = reader.string(); + break; + + case 8: + message.custom = CustomHttpPattern.decode(reader, reader.uint32()); + break; + + case 7: + message.body = reader.string(); + break; + + case 12: + message.responseBody = reader.string(); + break; + + case 11: + message.additionalBindings.push(HttpRule.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.get = object.get ?? undefined; + message.put = object.put ?? undefined; + message.post = object.post ?? undefined; + message.delete = object.delete ?? undefined; + message.patch = object.patch ?? undefined; + message.custom = object.custom !== undefined && object.custom !== null ? CustomHttpPattern.fromPartial(object.custom) : undefined; + message.body = object.body ?? ""; + message.responseBody = object.responseBody ?? ""; + message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCustomHttpPattern(): CustomHttpPattern { + return { + kind: "", + path: "" + }; +} + +export const CustomHttpPattern = { + encode(message: CustomHttpPattern, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.kind !== "") { + writer.uint32(10).string(message.kind); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCustomHttpPattern(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.kind = reader.string(); + break; + + case 2: + message.path = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.path = object.path ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/bundle.ts b/examples/telescope-with-contracts/codegen/google/bundle.ts index a84164676..9cc4276a0 100644 --- a/examples/telescope-with-contracts/codegen/google/bundle.ts +++ b/examples/telescope-with-contracts/codegen/google/bundle.ts @@ -1,17 +1,24 @@ -import * as _0 from "./protobuf/any"; -import * as _1 from "./protobuf/duration"; -import * as _2 from "./protobuf/timestamp"; -import * as _3 from "./protobuf/empty"; -import * as _4 from "./protobuf/struct"; -import * as _5 from "./protobuf/wrappers"; -import * as _6 from "./protobuf/field_mask"; +import * as _101 from "./api/annotations"; +import * as _102 from "./api/http"; +import * as _103 from "./protobuf/any"; +import * as _104 from "./protobuf/descriptor"; +import * as _105 from "./protobuf/duration"; +import * as _106 from "./protobuf/empty"; +import * as _107 from "./protobuf/timestamp"; +import * as _108 from "./protobuf/struct"; +import * as _109 from "./protobuf/wrappers"; +import * as _110 from "./protobuf/field_mask"; export namespace google { - export const protobuf = { ..._0, - ..._1, - ..._2, - ..._3, - ..._4, - ..._5, - ..._6 + export const api = { ..._101, + ..._102 + }; + export const protobuf = { ..._103, + ..._104, + ..._105, + ..._106, + ..._107, + ..._108, + ..._109, + ..._110 }; } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts b/examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts new file mode 100644 index 000000000..b549b17b1 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts @@ -0,0 +1,4162 @@ +//@ts-nocheck +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { + switch (object) { + case 1: + case "TYPE_DOUBLE": + return FieldDescriptorProto_Type.TYPE_DOUBLE; + + case 2: + case "TYPE_FLOAT": + return FieldDescriptorProto_Type.TYPE_FLOAT; + + case 3: + case "TYPE_INT64": + return FieldDescriptorProto_Type.TYPE_INT64; + + case 4: + case "TYPE_UINT64": + return FieldDescriptorProto_Type.TYPE_UINT64; + + case 5: + case "TYPE_INT32": + return FieldDescriptorProto_Type.TYPE_INT32; + + case 6: + case "TYPE_FIXED64": + return FieldDescriptorProto_Type.TYPE_FIXED64; + + case 7: + case "TYPE_FIXED32": + return FieldDescriptorProto_Type.TYPE_FIXED32; + + case 8: + case "TYPE_BOOL": + return FieldDescriptorProto_Type.TYPE_BOOL; + + case 9: + case "TYPE_STRING": + return FieldDescriptorProto_Type.TYPE_STRING; + + case 10: + case "TYPE_GROUP": + return FieldDescriptorProto_Type.TYPE_GROUP; + + case 11: + case "TYPE_MESSAGE": + return FieldDescriptorProto_Type.TYPE_MESSAGE; + + case 12: + case "TYPE_BYTES": + return FieldDescriptorProto_Type.TYPE_BYTES; + + case 13: + case "TYPE_UINT32": + return FieldDescriptorProto_Type.TYPE_UINT32; + + case 14: + case "TYPE_ENUM": + return FieldDescriptorProto_Type.TYPE_ENUM; + + case 15: + case "TYPE_SFIXED32": + return FieldDescriptorProto_Type.TYPE_SFIXED32; + + case 16: + case "TYPE_SFIXED64": + return FieldDescriptorProto_Type.TYPE_SFIXED64; + + case 17: + case "TYPE_SINT32": + return FieldDescriptorProto_Type.TYPE_SINT32; + + case 18: + case "TYPE_SINT64": + return FieldDescriptorProto_Type.TYPE_SINT64; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Type.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string { + switch (object) { + case FieldDescriptorProto_Type.TYPE_DOUBLE: + return "TYPE_DOUBLE"; + + case FieldDescriptorProto_Type.TYPE_FLOAT: + return "TYPE_FLOAT"; + + case FieldDescriptorProto_Type.TYPE_INT64: + return "TYPE_INT64"; + + case FieldDescriptorProto_Type.TYPE_UINT64: + return "TYPE_UINT64"; + + case FieldDescriptorProto_Type.TYPE_INT32: + return "TYPE_INT32"; + + case FieldDescriptorProto_Type.TYPE_FIXED64: + return "TYPE_FIXED64"; + + case FieldDescriptorProto_Type.TYPE_FIXED32: + return "TYPE_FIXED32"; + + case FieldDescriptorProto_Type.TYPE_BOOL: + return "TYPE_BOOL"; + + case FieldDescriptorProto_Type.TYPE_STRING: + return "TYPE_STRING"; + + case FieldDescriptorProto_Type.TYPE_GROUP: + return "TYPE_GROUP"; + + case FieldDescriptorProto_Type.TYPE_MESSAGE: + return "TYPE_MESSAGE"; + + case FieldDescriptorProto_Type.TYPE_BYTES: + return "TYPE_BYTES"; + + case FieldDescriptorProto_Type.TYPE_UINT32: + return "TYPE_UINT32"; + + case FieldDescriptorProto_Type.TYPE_ENUM: + return "TYPE_ENUM"; + + case FieldDescriptorProto_Type.TYPE_SFIXED32: + return "TYPE_SFIXED32"; + + case FieldDescriptorProto_Type.TYPE_SFIXED64: + return "TYPE_SFIXED64"; + + case FieldDescriptorProto_Type.TYPE_SINT32: + return "TYPE_SINT32"; + + case FieldDescriptorProto_Type.TYPE_SINT64: + return "TYPE_SINT64"; + + default: + return "UNKNOWN"; + } +} +export enum FieldDescriptorProto_Label { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} +export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { + switch (object) { + case 1: + case "LABEL_OPTIONAL": + return FieldDescriptorProto_Label.LABEL_OPTIONAL; + + case 2: + case "LABEL_REQUIRED": + return FieldDescriptorProto_Label.LABEL_REQUIRED; + + case 3: + case "LABEL_REPEATED": + return FieldDescriptorProto_Label.LABEL_REPEATED; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Label.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string { + switch (object) { + case FieldDescriptorProto_Label.LABEL_OPTIONAL: + return "LABEL_OPTIONAL"; + + case FieldDescriptorProto_Label.LABEL_REQUIRED: + return "LABEL_REQUIRED"; + + case FieldDescriptorProto_Label.LABEL_REPEATED: + return "LABEL_REPEATED"; + + default: + return "UNKNOWN"; + } +} + +/** Generated classes can be optimized for speed or code size. */ +export 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { + switch (object) { + case 1: + case "SPEED": + return FileOptions_OptimizeMode.SPEED; + + case 2: + case "CODE_SIZE": + return FileOptions_OptimizeMode.CODE_SIZE; + + case 3: + case "LITE_RUNTIME": + return FileOptions_OptimizeMode.LITE_RUNTIME; + + case -1: + case "UNRECOGNIZED": + default: + return FileOptions_OptimizeMode.UNRECOGNIZED; + } +} +export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string { + switch (object) { + case FileOptions_OptimizeMode.SPEED: + return "SPEED"; + + case FileOptions_OptimizeMode.CODE_SIZE: + return "CODE_SIZE"; + + case FileOptions_OptimizeMode.LITE_RUNTIME: + return "LITE_RUNTIME"; + + default: + return "UNKNOWN"; + } +} +export enum FieldOptions_CType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} +export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { + switch (object) { + case 0: + case "STRING": + return FieldOptions_CType.STRING; + + case 1: + case "CORD": + return FieldOptions_CType.CORD; + + case 2: + case "STRING_PIECE": + return FieldOptions_CType.STRING_PIECE; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_CType.UNRECOGNIZED; + } +} +export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { + switch (object) { + case FieldOptions_CType.STRING: + return "STRING"; + + case FieldOptions_CType.CORD: + return "CORD"; + + case FieldOptions_CType.STRING_PIECE: + return "STRING_PIECE"; + + default: + return "UNKNOWN"; + } +} +export 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { + switch (object) { + case 0: + case "JS_NORMAL": + return FieldOptions_JSType.JS_NORMAL; + + case 1: + case "JS_STRING": + return FieldOptions_JSType.JS_STRING; + + case 2: + case "JS_NUMBER": + return FieldOptions_JSType.JS_NUMBER; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_JSType.UNRECOGNIZED; + } +} +export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { + switch (object) { + case FieldOptions_JSType.JS_NORMAL: + return "JS_NORMAL"; + + case FieldOptions_JSType.JS_STRING: + return "JS_STRING"; + + case FieldOptions_JSType.JS_NUMBER: + return "JS_NUMBER"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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 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 function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { + switch (object) { + case 0: + case "IDEMPOTENCY_UNKNOWN": + return MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN; + + case 1: + case "NO_SIDE_EFFECTS": + return MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS; + + case 2: + case "IDEMPOTENT": + return MethodOptions_IdempotencyLevel.IDEMPOTENT; + + case -1: + case "UNRECOGNIZED": + default: + return MethodOptions_IdempotencyLevel.UNRECOGNIZED; + } +} +export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string { + switch (object) { + case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN: + return "IDEMPOTENCY_UNKNOWN"; + + case MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS: + return "NO_SIDE_EFFECTS"; + + case MethodOptions_IdempotencyLevel.IDEMPOTENT: + return "IDEMPOTENT"; + + default: + return "UNKNOWN"; + } +} + +/** + * The protocol compiler can output a FileDescriptorSet containing the .proto + * files it parses. + */ +export interface FileDescriptorSet { + file: FileDescriptorProto[]; +} + +/** 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 | undefined; + + /** + * 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 | undefined; + + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + 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 | undefined; + 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 DescriptorProto_ExtensionRange { + /** Inclusive. */ + start: number; + + /** Exclusive. */ + end: number; + options: ExtensionRangeOptions | undefined; +} + +/** + * 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 ExtensionRangeOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} + +/** 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 | undefined; +} + +/** Describes a oneof. */ +export interface OneofDescriptorProto { + name: string; + options: OneofOptions | undefined; +} + +/** Describes an enum type. */ +export interface EnumDescriptorProto { + name: string; + value: EnumValueDescriptorProto[]; + options: EnumOptions | undefined; + + /** + * 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[]; +} + +/** + * 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; +} + +/** Describes a value within an enum. */ +export interface EnumValueDescriptorProto { + name: string; + number: number; + options: EnumValueOptions | undefined; +} + +/** Describes a service. */ +export interface ServiceDescriptorProto { + name: string; + method: MethodDescriptorProto[]; + options: ServiceOptions | undefined; +} + +/** 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 | undefined; + + /** Identifies if client streams multiple client messages */ + clientStreaming: boolean; + + /** Identifies if server streams multiple server messages */ + serverStreaming: 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 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 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 OneofOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} +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 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 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 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[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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 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[]; +} + +/** + * 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 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; +} + +function createBaseFileDescriptorSet(): FileDescriptorSet { + return { + file: [] + }; +} + +export const FileDescriptorSet = { + encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.file) { + FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.file.push(FileDescriptorProto.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFileDescriptorProto(): FileDescriptorProto { + return { + name: "", + package: "", + dependency: [], + publicDependency: [], + weakDependency: [], + messageType: [], + enumType: [], + service: [], + extension: [], + options: undefined, + sourceCodeInfo: undefined, + syntax: "" + }; +} + +export const FileDescriptorProto = { + encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.package !== "") { + writer.uint32(18).string(message.package); + } + + for (const v of message.dependency) { + writer.uint32(26).string(v!); + } + + writer.uint32(82).fork(); + + for (const v of message.publicDependency) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(90).fork(); + + for (const v of message.weakDependency) { + writer.int32(v); + } + + writer.ldelim(); + + for (const v of message.messageType) { + DescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.service) { + ServiceDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.options !== undefined) { + FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + if (message.sourceCodeInfo !== undefined) { + SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim(); + } + + if (message.syntax !== "") { + writer.uint32(98).string(message.syntax); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.package = reader.string(); + break; + + case 3: + message.dependency.push(reader.string()); + break; + + case 10: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.publicDependency.push(reader.int32()); + } + } else { + message.publicDependency.push(reader.int32()); + } + + break; + + case 11: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.weakDependency.push(reader.int32()); + } + } else { + message.weakDependency.push(reader.int32()); + } + + break; + + case 4: + message.messageType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 8: + message.options = FileOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32()); + break; + + case 12: + message.syntax = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.package = object.package ?? ""; + message.dependency = object.dependency?.map(e => e) || []; + message.publicDependency = object.publicDependency?.map(e => e) || []; + message.weakDependency = object.weakDependency?.map(e => e) || []; + message.messageType = object.messageType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.service = object.service?.map(e => ServiceDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? FileOptions.fromPartial(object.options) : undefined; + message.sourceCodeInfo = object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; + message.syntax = object.syntax ?? ""; + return message; + } + +}; + +function createBaseDescriptorProto(): DescriptorProto { + return { + name: "", + field: [], + extension: [], + nestedType: [], + enumType: [], + extensionRange: [], + oneofDecl: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const DescriptorProto = { + encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.field) { + FieldDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.nestedType) { + DescriptorProto.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.extensionRange) { + DescriptorProto_ExtensionRange.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.oneofDecl) { + OneofDescriptorProto.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + if (message.options !== undefined) { + MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + DescriptorProto_ReservedRange.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(82).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.field.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.nestedType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 4: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32())); + break; + + case 8: + message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.options = MessageOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32())); + break; + + case 10: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.field = object.field?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.nestedType = object.nestedType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.extensionRange = object.extensionRange?.map(e => DescriptorProto_ExtensionRange.fromPartial(e)) || []; + message.oneofDecl = object.oneofDecl?.map(e => OneofDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? MessageOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => DescriptorProto_ReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange { + return { + start: 0, + end: 0, + options: undefined + }; +} + +export const DescriptorProto_ExtensionRange = { + encode(message: DescriptorProto_ExtensionRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + if (message.options !== undefined) { + ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ExtensionRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + case 3: + message.options = ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + message.options = object.options !== undefined && object.options !== null ? ExtensionRangeOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const DescriptorProto_ReservedRange = { + encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseExtensionRangeOptions(): ExtensionRangeOptions { + return { + uninterpretedOption: [] + }; +} + +export const ExtensionRangeOptions = { + encode(message: ExtensionRangeOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExtensionRangeOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFieldDescriptorProto(): FieldDescriptorProto { + return { + name: "", + number: 0, + label: 0, + type: 0, + typeName: "", + extendee: "", + defaultValue: "", + oneofIndex: 0, + jsonName: "", + options: undefined + }; +} + +export const FieldDescriptorProto = { + encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(24).int32(message.number); + } + + if (message.label !== 0) { + writer.uint32(32).int32(message.label); + } + + if (message.type !== 0) { + writer.uint32(40).int32(message.type); + } + + if (message.typeName !== "") { + writer.uint32(50).string(message.typeName); + } + + if (message.extendee !== "") { + writer.uint32(18).string(message.extendee); + } + + if (message.defaultValue !== "") { + writer.uint32(58).string(message.defaultValue); + } + + if (message.oneofIndex !== 0) { + writer.uint32(72).int32(message.oneofIndex); + } + + if (message.jsonName !== "") { + writer.uint32(82).string(message.jsonName); + } + + if (message.options !== undefined) { + FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 3: + message.number = reader.int32(); + break; + + case 4: + message.label = (reader.int32() as any); + break; + + case 5: + message.type = (reader.int32() as any); + break; + + case 6: + message.typeName = reader.string(); + break; + + case 2: + message.extendee = reader.string(); + break; + + case 7: + message.defaultValue = reader.string(); + break; + + case 9: + message.oneofIndex = reader.int32(); + break; + + case 10: + message.jsonName = reader.string(); + break; + + case 8: + message.options = FieldOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : 0, + 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 ?? ""; + message.number = object.number ?? 0; + message.label = object.label ?? 0; + message.type = object.type ?? 0; + message.typeName = object.typeName ?? ""; + message.extendee = object.extendee ?? ""; + message.defaultValue = object.defaultValue ?? ""; + message.oneofIndex = object.oneofIndex ?? 0; + message.jsonName = object.jsonName ?? ""; + message.options = object.options !== undefined && object.options !== null ? FieldOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseOneofDescriptorProto(): OneofDescriptorProto { + return { + name: "", + options: undefined + }; +} + +export const OneofDescriptorProto = { + encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.options !== undefined) { + OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.options = OneofOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.options = object.options !== undefined && object.options !== null ? OneofOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseEnumDescriptorProto(): EnumDescriptorProto { + return { + name: "", + value: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const EnumDescriptorProto = { + encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.value) { + EnumValueDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + EnumDescriptorProto_EnumReservedRange.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(42).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = EnumOptions.decode(reader, reader.uint32()); + break; + + case 4: + message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32())); + break; + + case 5: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value?.map(e => EnumValueDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? EnumOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseEnumDescriptorProto_EnumReservedRange(): EnumDescriptorProto_EnumReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const EnumDescriptorProto_EnumReservedRange = { + encode(message: EnumDescriptorProto_EnumReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto_EnumReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { + return { + name: "", + number: 0, + options: undefined + }; +} + +export const EnumValueDescriptorProto = { + encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.options !== undefined) { + EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.options = EnumValueOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.number = object.number ?? 0; + message.options = object.options !== undefined && object.options !== null ? EnumValueOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseServiceDescriptorProto(): ServiceDescriptorProto { + return { + name: "", + method: [], + options: undefined + }; +} + +export const ServiceDescriptorProto = { + encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.method) { + MethodDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.method.push(MethodDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = ServiceOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.method = object.method?.map(e => MethodDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? ServiceOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseMethodDescriptorProto(): MethodDescriptorProto { + return { + name: "", + inputType: "", + outputType: "", + options: undefined, + clientStreaming: false, + serverStreaming: false + }; +} + +export const MethodDescriptorProto = { + encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.inputType !== "") { + writer.uint32(18).string(message.inputType); + } + + if (message.outputType !== "") { + writer.uint32(26).string(message.outputType); + } + + if (message.options !== undefined) { + MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim(); + } + + if (message.clientStreaming === true) { + writer.uint32(40).bool(message.clientStreaming); + } + + if (message.serverStreaming === true) { + writer.uint32(48).bool(message.serverStreaming); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.inputType = reader.string(); + break; + + case 3: + message.outputType = reader.string(); + break; + + case 4: + message.options = MethodOptions.decode(reader, reader.uint32()); + break; + + case 5: + message.clientStreaming = reader.bool(); + break; + + case 6: + message.serverStreaming = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.inputType = object.inputType ?? ""; + message.outputType = object.outputType ?? ""; + message.options = object.options !== undefined && object.options !== null ? MethodOptions.fromPartial(object.options) : undefined; + message.clientStreaming = object.clientStreaming ?? false; + message.serverStreaming = object.serverStreaming ?? false; + return message; + } + +}; + +function createBaseFileOptions(): FileOptions { + return { + javaPackage: "", + javaOuterClassname: "", + javaMultipleFiles: false, + javaGenerateEqualsAndHash: false, + javaStringCheckUtf8: false, + optimizeFor: 0, + goPackage: "", + ccGenericServices: false, + javaGenericServices: false, + pyGenericServices: false, + phpGenericServices: false, + deprecated: false, + ccEnableArenas: false, + objcClassPrefix: "", + csharpNamespace: "", + swiftPrefix: "", + phpClassPrefix: "", + phpNamespace: "", + phpMetadataNamespace: "", + rubyPackage: "", + uninterpretedOption: [] + }; +} + +export const FileOptions = { + encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.javaPackage !== "") { + writer.uint32(10).string(message.javaPackage); + } + + if (message.javaOuterClassname !== "") { + writer.uint32(66).string(message.javaOuterClassname); + } + + if (message.javaMultipleFiles === true) { + writer.uint32(80).bool(message.javaMultipleFiles); + } + + if (message.javaGenerateEqualsAndHash === true) { + writer.uint32(160).bool(message.javaGenerateEqualsAndHash); + } + + if (message.javaStringCheckUtf8 === true) { + writer.uint32(216).bool(message.javaStringCheckUtf8); + } + + if (message.optimizeFor !== 0) { + writer.uint32(72).int32(message.optimizeFor); + } + + if (message.goPackage !== "") { + writer.uint32(90).string(message.goPackage); + } + + if (message.ccGenericServices === true) { + writer.uint32(128).bool(message.ccGenericServices); + } + + if (message.javaGenericServices === true) { + writer.uint32(136).bool(message.javaGenericServices); + } + + if (message.pyGenericServices === true) { + writer.uint32(144).bool(message.pyGenericServices); + } + + if (message.phpGenericServices === true) { + writer.uint32(336).bool(message.phpGenericServices); + } + + if (message.deprecated === true) { + writer.uint32(184).bool(message.deprecated); + } + + if (message.ccEnableArenas === true) { + writer.uint32(248).bool(message.ccEnableArenas); + } + + if (message.objcClassPrefix !== "") { + writer.uint32(290).string(message.objcClassPrefix); + } + + if (message.csharpNamespace !== "") { + writer.uint32(298).string(message.csharpNamespace); + } + + if (message.swiftPrefix !== "") { + writer.uint32(314).string(message.swiftPrefix); + } + + if (message.phpClassPrefix !== "") { + writer.uint32(322).string(message.phpClassPrefix); + } + + if (message.phpNamespace !== "") { + writer.uint32(330).string(message.phpNamespace); + } + + if (message.phpMetadataNamespace !== "") { + writer.uint32(354).string(message.phpMetadataNamespace); + } + + if (message.rubyPackage !== "") { + writer.uint32(362).string(message.rubyPackage); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.javaPackage = reader.string(); + break; + + case 8: + message.javaOuterClassname = reader.string(); + break; + + case 10: + message.javaMultipleFiles = reader.bool(); + break; + + case 20: + message.javaGenerateEqualsAndHash = reader.bool(); + break; + + case 27: + message.javaStringCheckUtf8 = reader.bool(); + break; + + case 9: + message.optimizeFor = (reader.int32() as any); + break; + + case 11: + message.goPackage = reader.string(); + break; + + case 16: + message.ccGenericServices = reader.bool(); + break; + + case 17: + message.javaGenericServices = reader.bool(); + break; + + case 18: + message.pyGenericServices = reader.bool(); + break; + + case 42: + message.phpGenericServices = reader.bool(); + break; + + case 23: + message.deprecated = reader.bool(); + break; + + case 31: + message.ccEnableArenas = reader.bool(); + break; + + case 36: + message.objcClassPrefix = reader.string(); + break; + + case 37: + message.csharpNamespace = reader.string(); + break; + + case 39: + message.swiftPrefix = reader.string(); + break; + + case 40: + message.phpClassPrefix = reader.string(); + break; + + case 41: + message.phpNamespace = reader.string(); + break; + + case 44: + message.phpMetadataNamespace = reader.string(); + break; + + case 45: + message.rubyPackage = reader.string(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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 ?? ""; + message.javaOuterClassname = object.javaOuterClassname ?? ""; + message.javaMultipleFiles = object.javaMultipleFiles ?? false; + message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; + message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; + message.optimizeFor = object.optimizeFor ?? 0; + message.goPackage = object.goPackage ?? ""; + message.ccGenericServices = object.ccGenericServices ?? false; + message.javaGenericServices = object.javaGenericServices ?? false; + message.pyGenericServices = object.pyGenericServices ?? false; + message.phpGenericServices = object.phpGenericServices ?? false; + message.deprecated = object.deprecated ?? false; + message.ccEnableArenas = object.ccEnableArenas ?? false; + message.objcClassPrefix = object.objcClassPrefix ?? ""; + message.csharpNamespace = object.csharpNamespace ?? ""; + message.swiftPrefix = object.swiftPrefix ?? ""; + message.phpClassPrefix = object.phpClassPrefix ?? ""; + message.phpNamespace = object.phpNamespace ?? ""; + message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; + message.rubyPackage = object.rubyPackage ?? ""; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMessageOptions(): MessageOptions { + return { + messageSetWireFormat: false, + noStandardDescriptorAccessor: false, + deprecated: false, + mapEntry: false, + uninterpretedOption: [] + }; +} + +export const MessageOptions = { + encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.messageSetWireFormat === true) { + writer.uint32(8).bool(message.messageSetWireFormat); + } + + if (message.noStandardDescriptorAccessor === true) { + writer.uint32(16).bool(message.noStandardDescriptorAccessor); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.mapEntry === true) { + writer.uint32(56).bool(message.mapEntry); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMessageOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messageSetWireFormat = reader.bool(); + break; + + case 2: + message.noStandardDescriptorAccessor = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 7: + message.mapEntry = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; + message.deprecated = object.deprecated ?? false; + message.mapEntry = object.mapEntry ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFieldOptions(): FieldOptions { + return { + ctype: 0, + packed: false, + jstype: 0, + lazy: false, + deprecated: false, + weak: false, + uninterpretedOption: [] + }; +} + +export const FieldOptions = { + encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ctype !== 0) { + writer.uint32(8).int32(message.ctype); + } + + if (message.packed === true) { + writer.uint32(16).bool(message.packed); + } + + if (message.jstype !== 0) { + writer.uint32(48).int32(message.jstype); + } + + if (message.lazy === true) { + writer.uint32(40).bool(message.lazy); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.weak === true) { + writer.uint32(80).bool(message.weak); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ctype = (reader.int32() as any); + break; + + case 2: + message.packed = reader.bool(); + break; + + case 6: + message.jstype = (reader.int32() as any); + break; + + case 5: + message.lazy = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 10: + message.weak = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FieldOptions { + return { + ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0, + packed: isSet(object.packed) ? Boolean(object.packed) : false, + jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : 0, + 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 ?? 0; + message.packed = object.packed ?? false; + message.jstype = object.jstype ?? 0; + message.lazy = object.lazy ?? false; + message.deprecated = object.deprecated ?? false; + message.weak = object.weak ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOneofOptions(): OneofOptions { + return { + uninterpretedOption: [] + }; +} + +export const OneofOptions = { + encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseEnumOptions(): EnumOptions { + return { + allowAlias: false, + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumOptions = { + encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowAlias === true) { + writer.uint32(16).bool(message.allowAlias); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.allowAlias = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.deprecated = object.deprecated ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEnumValueOptions(): EnumValueOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumValueOptions = { + encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(8).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseServiceOptions(): ServiceOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const ServiceOptions = { + encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMethodOptions(): MethodOptions { + return { + deprecated: false, + idempotencyLevel: 0, + uninterpretedOption: [] + }; +} + +export const MethodOptions = { + encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + if (message.idempotencyLevel !== 0) { + writer.uint32(272).int32(message.idempotencyLevel); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 34: + message.idempotencyLevel = (reader.int32() as any); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MethodOptions { + return { + deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, + idempotencyLevel: isSet(object.idempotencyLevel) ? methodOptions_IdempotencyLevelFromJSON(object.idempotencyLevel) : 0, + 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; + message.idempotencyLevel = object.idempotencyLevel ?? 0; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUninterpretedOption(): UninterpretedOption { + return { + name: [], + identifierValue: "", + positiveIntValue: Long.UZERO, + negativeIntValue: Long.ZERO, + doubleValue: 0, + stringValue: new Uint8Array(), + aggregateValue: "" + }; +} + +export const UninterpretedOption = { + encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.name) { + UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.identifierValue !== "") { + writer.uint32(26).string(message.identifierValue); + } + + if (!message.positiveIntValue.isZero()) { + writer.uint32(32).uint64(message.positiveIntValue); + } + + if (!message.negativeIntValue.isZero()) { + writer.uint32(40).int64(message.negativeIntValue); + } + + if (message.doubleValue !== 0) { + writer.uint32(49).double(message.doubleValue); + } + + if (message.stringValue.length !== 0) { + writer.uint32(58).bytes(message.stringValue); + } + + if (message.aggregateValue !== "") { + writer.uint32(66).string(message.aggregateValue); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32())); + break; + + case 3: + message.identifierValue = reader.string(); + break; + + case 4: + message.positiveIntValue = (reader.uint64() as Long); + break; + + case 5: + message.negativeIntValue = (reader.int64() as Long); + break; + + case 6: + message.doubleValue = reader.double(); + break; + + case 7: + message.stringValue = reader.bytes(); + break; + + case 8: + message.aggregateValue = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.positiveIntValue) : Long.UZERO, + negativeIntValue: isSet(object.negativeIntValue) ? Long.fromString(object.negativeIntValue) : Long.ZERO, + 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 || Long.UZERO).toString()); + message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || Long.ZERO).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)) || []; + message.identifierValue = object.identifierValue ?? ""; + message.positiveIntValue = object.positiveIntValue !== undefined && object.positiveIntValue !== null ? Long.fromValue(object.positiveIntValue) : Long.UZERO; + message.negativeIntValue = object.negativeIntValue !== undefined && object.negativeIntValue !== null ? Long.fromValue(object.negativeIntValue) : Long.ZERO; + message.doubleValue = object.doubleValue ?? 0; + message.stringValue = object.stringValue ?? new Uint8Array(); + message.aggregateValue = object.aggregateValue ?? ""; + return message; + } + +}; + +function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart { + return { + namePart: "", + isExtension: false + }; +} + +export const UninterpretedOption_NamePart = { + encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.namePart !== "") { + writer.uint32(10).string(message.namePart); + } + + if (message.isExtension === true) { + writer.uint32(16).bool(message.isExtension); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption_NamePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.namePart = reader.string(); + break; + + case 2: + message.isExtension = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.isExtension = object.isExtension ?? false; + return message; + } + +}; + +function createBaseSourceCodeInfo(): SourceCodeInfo { + return { + location: [] + }; +} + +export const SourceCodeInfo = { + encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.location) { + SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location { + return { + path: [], + span: [], + leadingComments: "", + trailingComments: "", + leadingDetachedComments: [] + }; +} + +export const SourceCodeInfo_Location = { + encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(18).fork(); + + for (const v of message.span) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.leadingComments !== "") { + writer.uint32(26).string(message.leadingComments); + } + + if (message.trailingComments !== "") { + writer.uint32(34).string(message.trailingComments); + } + + for (const v of message.leadingDetachedComments) { + writer.uint32(50).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo_Location(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.span.push(reader.int32()); + } + } else { + message.span.push(reader.int32()); + } + + break; + + case 3: + message.leadingComments = reader.string(); + break; + + case 4: + message.trailingComments = reader.string(); + break; + + case 6: + message.leadingDetachedComments.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + message.span = object.span?.map(e => e) || []; + message.leadingComments = object.leadingComments ?? ""; + message.trailingComments = object.trailingComments ?? ""; + message.leadingDetachedComments = object.leadingDetachedComments?.map(e => e) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo(): GeneratedCodeInfo { + return { + annotation: [] + }; +} + +export const GeneratedCodeInfo = { + encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.annotation) { + GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { + return { + path: [], + sourceFile: "", + begin: 0, + end: 0 + }; +} + +export const GeneratedCodeInfo_Annotation = { + encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.sourceFile !== "") { + writer.uint32(18).string(message.sourceFile); + } + + if (message.begin !== 0) { + writer.uint32(24).int32(message.begin); + } + + if (message.end !== 0) { + writer.uint32(32).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo_Annotation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + message.sourceFile = reader.string(); + break; + + case 3: + message.begin = reader.int32(); + break; + + case 4: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + message.sourceFile = object.sourceFile ?? ""; + message.begin = object.begin ?? 0; + message.end = object.end ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts new file mode 100644 index 000000000..196f933c0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts @@ -0,0 +1,97 @@ +import { DenomTrace, Params } from "./transfer"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc-transfer genesis state */ +export interface GenesisState { + portId: string; + denomTraces: DenomTrace[]; + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + portId: "", + denomTraces: [], + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.portId = reader.string(); + break; + + case 2: + message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); + break; + + case 3: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts new file mode 100644 index 000000000..5f73eaa31 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -0,0 +1,45 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* DenomTrace queries a denomination trace information. */ + async denomTrace(params: QueryDenomTraceRequest): Promise { + const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; + return await this.request(endpoint); + } + + /* DenomTraces queries all denomination traces. */ + async denomTraces(params: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/apps/transfer/v1/denom_traces`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the ibc-transfer module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `ibc/apps/transfer/v1/params`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts new file mode 100644 index 000000000..e68f597a6 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -0,0 +1,47 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + denomTrace(request: QueryDenomTraceRequest): Promise; + /*DenomTrace queries a denomination trace information.*/ + + denomTraces(request: QueryDenomTracesRequest): Promise; + /*DenomTraces queries all denomination traces.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the ibc-transfer module.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); + } + + denomTrace(request: QueryDenomTraceRequest): Promise { + const data = QueryDenomTraceRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); + return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); + } + + denomTraces(request: QueryDenomTracesRequest): Promise { + const data = QueryDenomTracesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); + return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts new file mode 100644 index 000000000..f052bcb40 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts @@ -0,0 +1,398 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC + * method + */ +export interface QueryDenomTraceRequest { + /** hash (in hex format) of the denomination trace information. */ + 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 | undefined; +} + +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ +export interface QueryDenomTracesRequest { + /** pagination defines an optional pagination for the request. */ + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { + return { + hash: "" + }; +} + +export const QueryDenomTraceRequest = { + encode(message: QueryDenomTraceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { + return { + denomTrace: undefined + }; +} + +export const QueryDenomTraceResponse = { + encode(message: QueryDenomTraceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denomTrace !== undefined) { + DenomTrace.encode(message.denomTrace, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTrace = DenomTrace.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomTracesRequest = { + encode(message: QueryDenomTracesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { + return { + denomTraces: [], + pagination: undefined + }; +} + +export const QueryDenomTracesResponse = { + encode(message: QueryDenomTracesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTraces.push(DenomTrace.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts new file mode 100644 index 000000000..dffc2bc1f --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts @@ -0,0 +1,175 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBaseDenomTrace(): DenomTrace { + return { + path: "", + baseDenom: "" + }; +} + +export const DenomTrace = { + encode(message: DenomTrace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== "") { + writer.uint32(10).string(message.path); + } + + if (message.baseDenom !== "") { + writer.uint32(18).string(message.baseDenom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomTrace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.string(); + break; + + case 2: + message.baseDenom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.baseDenom = object.baseDenom ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + sendEnabled: false, + receiveEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sendEnabled === true) { + writer.uint32(8).bool(message.sendEnabled); + } + + if (message.receiveEnabled === true) { + writer.uint32(16).bool(message.receiveEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled = reader.bool(); + break; + + case 2: + message.receiveEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.receiveEnabled = object.receiveEnabled ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..cae05171e --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgTransfer, MsgTransferResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + transfer(request: MsgTransfer): Promise; + /*Transfer defines a rpc handler method for MsgTransfer.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.transfer = this.transfer.bind(this); + } + + transfer(request: MsgTransfer): Promise { + const data = MsgTransfer.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); + return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts new file mode 100644 index 000000000..75c874f76 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts @@ -0,0 +1,213 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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 | undefined; + + /** 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 | undefined; + + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeoutTimestamp: Long; +} + +/** MsgTransferResponse defines the Msg/Transfer response type. */ +export interface MsgTransferResponse {} + +function createBaseMsgTransfer(): MsgTransfer { + return { + sourcePort: "", + sourceChannel: "", + token: undefined, + sender: "", + receiver: "", + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const MsgTransfer = { + encode(message: MsgTransfer, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sourcePort !== "") { + writer.uint32(10).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(18).string(message.sourceChannel); + } + + if (message.token !== undefined) { + Coin.encode(message.token, writer.uint32(26).fork()).ldelim(); + } + + if (message.sender !== "") { + writer.uint32(34).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(42).string(message.receiver); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(50).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(56).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransfer(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sourcePort = reader.string(); + break; + + case 2: + message.sourceChannel = reader.string(); + break; + + case 3: + message.token = Coin.decode(reader, reader.uint32()); + break; + + case 4: + message.sender = reader.string(); + break; + + case 5: + message.receiver = reader.string(); + break; + + case 6: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgTransfer { + const message = createBaseMsgTransfer(); + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.token = object.token !== undefined && object.token !== null ? Coin.fromPartial(object.token) : undefined; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgTransferResponse(): MsgTransferResponse { + return {}; +} + +export const MsgTransferResponse = { + encode(_: MsgTransferResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransferResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTransferResponse { + return {}; + }, + + toJSON(_: MsgTransferResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTransferResponse { + const message = createBaseMsgTransferResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts new file mode 100644 index 000000000..6e7cebfa0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts @@ -0,0 +1,114 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ +export interface FungibleTokenPacketData { + /** the token denomination to be transferred */ + denom: string; + + /** the token amount to be transferred */ + amount: string; + + /** the sender address */ + sender: string; + + /** the recipient address on the destination chain */ + receiver: string; +} + +function createBaseFungibleTokenPacketData(): FungibleTokenPacketData { + return { + denom: "", + amount: "", + sender: "", + receiver: "" + }; +} + +export const FungibleTokenPacketData = { + encode(message: FungibleTokenPacketData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(34).string(message.receiver); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FungibleTokenPacketData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFungibleTokenPacketData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = 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): FungibleTokenPacketData { + return { + denom: isSet(object.denom) ? String(object.denom) : "", + amount: isSet(object.amount) ? String(object.amount) : "", + sender: isSet(object.sender) ? String(object.sender) : "", + receiver: isSet(object.receiver) ? String(object.receiver) : "" + }; + }, + + toJSON(message: FungibleTokenPacketData): unknown { + const obj: any = {}; + message.denom !== undefined && (obj.denom = message.denom); + message.amount !== undefined && (obj.amount = message.amount); + message.sender !== undefined && (obj.sender = message.sender); + message.receiver !== undefined && (obj.receiver = message.receiver); + return obj; + }, + + fromPartial(object: Partial): FungibleTokenPacketData { + const message = createBaseFungibleTokenPacketData(); + message.denom = object.denom ?? ""; + message.amount = object.amount ?? ""; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/bundle.ts b/examples/telescope-with-contracts/codegen/ibc/bundle.ts new file mode 100644 index 000000000..fb9edeb12 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/bundle.ts @@ -0,0 +1,121 @@ +import * as _111 from "./applications/transfer/v1/genesis"; +import * as _112 from "./applications/transfer/v1/query"; +import * as _113 from "./applications/transfer/v1/transfer"; +import * as _114 from "./applications/transfer/v1/tx"; +import * as _115 from "./applications/transfer/v2/packet"; +import * as _116 from "./core/channel/v1/channel"; +import * as _117 from "./core/channel/v1/genesis"; +import * as _118 from "./core/channel/v1/query"; +import * as _119 from "./core/channel/v1/tx"; +import * as _120 from "./core/client/v1/client"; +import * as _121 from "./core/client/v1/genesis"; +import * as _122 from "./core/client/v1/query"; +import * as _123 from "./core/client/v1/tx"; +import * as _124 from "./core/commitment/v1/commitment"; +import * as _125 from "./core/connection/v1/connection"; +import * as _126 from "./core/connection/v1/genesis"; +import * as _127 from "./core/connection/v1/query"; +import * as _128 from "./core/connection/v1/tx"; +import * as _129 from "./core/port/v1/query"; +import * as _130 from "./core/types/v1/genesis"; +import * as _131 from "./lightclients/localhost/v1/localhost"; +import * as _132 from "./lightclients/solomachine/v1/solomachine"; +import * as _133 from "./lightclients/solomachine/v2/solomachine"; +import * as _134 from "./lightclients/tendermint/v1/tendermint"; +import * as _196 from "./applications/transfer/v1/query.lcd"; +import * as _197 from "./core/channel/v1/query.lcd"; +import * as _198 from "./core/client/v1/query.lcd"; +import * as _199 from "./core/connection/v1/query.lcd"; +import * as _200 from "./applications/transfer/v1/query.rpc.query"; +import * as _201 from "./core/channel/v1/query.rpc.query"; +import * as _202 from "./core/client/v1/query.rpc.query"; +import * as _203 from "./core/connection/v1/query.rpc.query"; +import * as _204 from "./core/port/v1/query.rpc.query"; +import * as _205 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _206 from "./core/channel/v1/tx.rpc.msg"; +import * as _207 from "./core/client/v1/tx.rpc.msg"; +import * as _208 from "./core/connection/v1/tx.rpc.msg"; +import * as _215 from "./lcd"; +import * as _216 from "./rpc.query"; +import * as _217 from "./rpc.tx"; +export namespace ibc { + export namespace applications { + export namespace transfer { + export const v1 = { ..._111, + ..._112, + ..._113, + ..._114, + ..._196, + ..._200, + ..._205 + }; + export const v2 = { ..._115 + }; + } + } + export namespace core { + export namespace channel { + export const v1 = { ..._116, + ..._117, + ..._118, + ..._119, + ..._197, + ..._201, + ..._206 + }; + } + export namespace client { + export const v1 = { ..._120, + ..._121, + ..._122, + ..._123, + ..._198, + ..._202, + ..._207 + }; + } + export namespace commitment { + export const v1 = { ..._124 + }; + } + export namespace connection { + export const v1 = { ..._125, + ..._126, + ..._127, + ..._128, + ..._199, + ..._203, + ..._208 + }; + } + export namespace port { + export const v1 = { ..._129, + ..._204 + }; + } + export namespace types { + export const v1 = { ..._130 + }; + } + } + export namespace lightclients { + export namespace localhost { + export const v1 = { ..._131 + }; + } + export namespace solomachine { + export const v1 = { ..._132 + }; + export const v2 = { ..._133 + }; + } + export namespace tendermint { + export const v1 = { ..._134 + }; + } + } + export const ClientFactory = { ..._215, + ..._216, + ..._217 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts new file mode 100644 index 000000000..586ca377a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts @@ -0,0 +1,878 @@ +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case 4: + case "STATE_CLOSED": + return State.STATE_CLOSED; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + case State.STATE_CLOSED: + return "STATE_CLOSED"; + + default: + return "UNKNOWN"; + } +} + +/** Order defines if a channel is ORDERED or UNORDERED */ +export enum Order { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} +export function orderFromJSON(object: any): Order { + switch (object) { + case 0: + case "ORDER_NONE_UNSPECIFIED": + return Order.ORDER_NONE_UNSPECIFIED; + + case 1: + case "ORDER_UNORDERED": + return Order.ORDER_UNORDERED; + + case 2: + case "ORDER_ORDERED": + return Order.ORDER_ORDERED; + + case -1: + case "UNRECOGNIZED": + default: + return Order.UNRECOGNIZED; + } +} +export function orderToJSON(object: Order): string { + switch (object) { + case Order.ORDER_NONE_UNSPECIFIED: + return "ORDER_NONE_UNSPECIFIED"; + + case Order.ORDER_UNORDERED: + return "ORDER_UNORDERED"; + + case Order.ORDER_ORDERED: + return "ORDER_ORDERED"; + + default: + return "UNKNOWN"; + } +} + +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ +export interface Channel { + /** current state of the channel end */ + state: State; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + connectionHops: string[]; + + /** opaque channel version, which is agreed upon during the handshake */ + version: string; +} + +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ +export interface IdentifiedChannel { + /** current state of the channel end */ + state: State; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + connectionHops: string[]; + + /** opaque channel version, which is agreed upon during the handshake */ + version: string; + + /** port identifier */ + portId: string; + + /** channel identifier */ + channelId: string; +} + +/** Counterparty defines a channel end counterparty */ +export interface Counterparty { + /** port on the counterparty chain which owns the other end of the channel. */ + portId: string; + + /** channel end on the counterparty chain */ + channelId: string; +} + +/** Packet defines a type that carries data across different chains through IBC */ +export interface Packet { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + + /** identifies the port on the sending chain. */ + sourcePort: string; + + /** identifies the channel end on the sending chain. */ + sourceChannel: string; + + /** identifies the port on the receiving chain. */ + destinationPort: string; + + /** identifies the channel end on the receiving chain. */ + destinationChannel: string; + + /** actual opaque bytes transferred directly to the application module */ + data: Uint8Array; + + /** block height after which the packet times out */ + timeoutHeight: Height | undefined; + + /** block timestamp (in nanoseconds) after which the packet times out */ + timeoutTimestamp: Long; +} + +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ +export interface PacketState { + /** channel port identifier. */ + portId: string; + + /** channel unique identifier. */ + channelId: string; + + /** packet sequence. */ + sequence: Long; + + /** embedded data that represents packet state. */ + data: Uint8Array; +} + +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ +export interface Acknowledgement { + result?: Uint8Array; + error?: string; +} + +function createBaseChannel(): Channel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "" + }; +} + +export const Channel = { + encode(message: Channel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Channel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Channel { + return { + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], + version: isSet(object.version) ? String(object.version) : "" + }; + }, + + toJSON(message: Channel): unknown { + const obj: any = {}; + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + + if (message.connectionHops) { + obj.connectionHops = message.connectionHops.map(e => e); + } else { + obj.connectionHops = []; + } + + message.version !== undefined && (obj.version = message.version); + return obj; + }, + + fromPartial(object: Partial): Channel { + const message = createBaseChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + return message; + } + +}; + +function createBaseIdentifiedChannel(): IdentifiedChannel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "", + portId: "", + channelId: "" + }; +} + +export const IdentifiedChannel = { + encode(message: IdentifiedChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.portId !== "") { + writer.uint32(50).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(58).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.portId = reader.string(); + break; + + case 7: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): IdentifiedChannel { + return { + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], + version: isSet(object.version) ? String(object.version) : "", + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: IdentifiedChannel): unknown { + const obj: any = {}; + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + + if (message.connectionHops) { + obj.connectionHops = message.connectionHops.map(e => e); + } else { + obj.connectionHops = []; + } + + message.version !== undefined && (obj.version = message.version); + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): IdentifiedChannel { + const message = createBaseIdentifiedChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + portId: "", + channelId: "" + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Counterparty { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: Counterparty): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBasePacket(): Packet { + return { + sequence: Long.UZERO, + sourcePort: "", + sourceChannel: "", + destinationPort: "", + destinationChannel: "", + data: new Uint8Array(), + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const Packet = { + encode(message: Packet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.sourcePort !== "") { + writer.uint32(18).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(26).string(message.sourceChannel); + } + + if (message.destinationPort !== "") { + writer.uint32(34).string(message.destinationPort); + } + + if (message.destinationChannel !== "") { + writer.uint32(42).string(message.destinationChannel); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(58).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(64).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Packet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.sourcePort = reader.string(); + break; + + case 3: + message.sourceChannel = reader.string(); + break; + + case 4: + message.destinationPort = reader.string(); + break; + + case 5: + message.destinationChannel = reader.string(); + break; + + case 6: + message.data = reader.bytes(); + break; + + case 7: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Packet { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + sourcePort: isSet(object.sourcePort) ? String(object.sourcePort) : "", + sourceChannel: isSet(object.sourceChannel) ? String(object.sourceChannel) : "", + destinationPort: isSet(object.destinationPort) ? String(object.destinationPort) : "", + destinationChannel: isSet(object.destinationChannel) ? String(object.destinationChannel) : "", + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined, + timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO + }; + }, + + toJSON(message: Packet): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.sourcePort !== undefined && (obj.sourcePort = message.sourcePort); + message.sourceChannel !== undefined && (obj.sourceChannel = message.sourceChannel); + message.destinationPort !== undefined && (obj.destinationPort = message.destinationPort); + message.destinationChannel !== undefined && (obj.destinationChannel = message.destinationChannel); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timeoutHeight !== undefined && (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined); + message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Packet { + const message = createBasePacket(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.destinationPort = object.destinationPort ?? ""; + message.destinationChannel = object.destinationChannel ?? ""; + message.data = object.data ?? new Uint8Array(); + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBasePacketState(): PacketState { + return { + portId: "", + channelId: "", + sequence: Long.UZERO, + data: new Uint8Array() + }; +} + +export const PacketState = { + encode(message: PacketState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + if (message.data.length !== 0) { + writer.uint32(34).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + case 4: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketState { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: PacketState): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketState { + const message = createBasePacketState(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAcknowledgement(): Acknowledgement { + return { + result: undefined, + error: undefined + }; +} + +export const Acknowledgement = { + encode(message: Acknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== undefined) { + writer.uint32(170).bytes(message.result); + } + + if (message.error !== undefined) { + writer.uint32(178).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 21: + message.result = reader.bytes(); + break; + + case 22: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Acknowledgement { + return { + result: isSet(object.result) ? bytesFromBase64(object.result) : undefined, + error: isSet(object.error) ? String(object.error) : undefined + }; + }, + + toJSON(message: Acknowledgement): unknown { + const obj: any = {}; + message.result !== undefined && (obj.result = message.result !== undefined ? base64FromBytes(message.result) : undefined); + message.error !== undefined && (obj.error = message.error); + return obj; + }, + + fromPartial(object: Partial): Acknowledgement { + const message = createBaseAcknowledgement(); + message.result = object.result ?? undefined; + message.error = object.error ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts new file mode 100644 index 000000000..54ddd91a8 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts @@ -0,0 +1,285 @@ +import { IdentifiedChannel, PacketState } from "./channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc channel submodule's genesis state. */ +export interface GenesisState { + channels: IdentifiedChannel[]; + acknowledgements: PacketState[]; + commitments: PacketState[]; + receipts: PacketState[]; + sendSequences: PacketSequence[]; + recvSequences: PacketSequence[]; + ackSequences: PacketSequence[]; + + /** the sequence for the next generated channel identifier */ + nextChannelSequence: Long; +} + +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ +export interface PacketSequence { + portId: string; + channelId: string; + sequence: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + channels: [], + acknowledgements: [], + commitments: [], + receipts: [], + sendSequences: [], + recvSequences: [], + ackSequences: [], + nextChannelSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.receipts) { + PacketState.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.sendSequences) { + PacketSequence.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.recvSequences) { + PacketSequence.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.ackSequences) { + PacketSequence.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (!message.nextChannelSequence.isZero()) { + writer.uint32(64).uint64(message.nextChannelSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 3: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 4: + message.receipts.push(PacketState.decode(reader, reader.uint32())); + break; + + case 5: + message.sendSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 6: + message.recvSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 7: + message.ackSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 8: + message.nextChannelSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], + commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], + receipts: Array.isArray(object?.receipts) ? object.receipts.map((e: any) => PacketState.fromJSON(e)) : [], + sendSequences: Array.isArray(object?.sendSequences) ? object.sendSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + recvSequences: Array.isArray(object?.recvSequences) ? object.recvSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + ackSequences: Array.isArray(object?.ackSequences) ? object.ackSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + nextChannelSequence: isSet(object.nextChannelSequence) ? Long.fromString(object.nextChannelSequence) : Long.UZERO + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + if (message.acknowledgements) { + obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.acknowledgements = []; + } + + if (message.commitments) { + obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.commitments = []; + } + + if (message.receipts) { + obj.receipts = message.receipts.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.receipts = []; + } + + if (message.sendSequences) { + obj.sendSequences = message.sendSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.sendSequences = []; + } + + if (message.recvSequences) { + obj.recvSequences = message.recvSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.recvSequences = []; + } + + if (message.ackSequences) { + obj.ackSequences = message.ackSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.ackSequences = []; + } + + message.nextChannelSequence !== undefined && (obj.nextChannelSequence = (message.nextChannelSequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.receipts = object.receipts?.map(e => PacketState.fromPartial(e)) || []; + message.sendSequences = object.sendSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.recvSequences = object.recvSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.ackSequences = object.ackSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.nextChannelSequence = object.nextChannelSequence !== undefined && object.nextChannelSequence !== null ? Long.fromValue(object.nextChannelSequence) : Long.UZERO; + return message; + } + +}; + +function createBasePacketSequence(): PacketSequence { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const PacketSequence = { + encode(message: PacketSequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketSequence { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: PacketSequence): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): PacketSequence { + const message = createBasePacketSequence(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts new file mode 100644 index 000000000..9c8912705 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts @@ -0,0 +1,283 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Channel queries an IBC Channel. */ + async channel(params: QueryChannelRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; + return await this.request(endpoint, options); + } + + /* Channels queries all the IBC channels of a chain. */ + async channels(params: QueryChannelsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels`; + return await this.request(endpoint, options); + } + + /* ConnectionChannels queries all the channels associated with a connection + end. */ + async connectionChannels(params: QueryConnectionChannelsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; + return await this.request(endpoint, options); + } + + /* ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. */ + async channelClientState(params: QueryChannelClientStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; + return await this.request(endpoint, options); + } + + /* ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. */ + async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + if (typeof params?.revisionNumber !== "undefined") { + options.params.revision_number = params.revisionNumber; + } + + if (typeof params?.revisionHeight !== "undefined") { + options.params.revision_height = params.revisionHeight; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint, options); + } + + /* PacketCommitment queries a stored packet commitment hash. */ + async packetCommitment(params: QueryPacketCommitmentRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; + return await this.request(endpoint, options); + } + + /* PacketCommitments returns all the packet commitments hashes associated + with a channel. */ + async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; + return await this.request(endpoint, options); + } + + /* PacketReceipt queries if a given packet sequence has been received on the + queried chain */ + async packetReceipt(params: QueryPacketReceiptRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; + return await this.request(endpoint, options); + } + + /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ + async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; + return await this.request(endpoint, options); + } + + /* PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. */ + async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.packetCommitmentSequences !== "undefined") { + options.params.packet_commitment_sequences = params.packetCommitmentSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; + return await this.request(endpoint, options); + } + + /* UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. */ + async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + if (typeof params?.packetCommitmentSequences !== "undefined") { + options.params.packet_commitment_sequences = params.packetCommitmentSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; + return await this.request(endpoint, options); + } + + /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. */ + async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + if (typeof params?.packetAckSequences !== "undefined") { + options.params.packet_ack_sequences = params.packetAckSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; + return await this.request(endpoint, options); + } + + /* NextSequenceReceive returns the next receive sequence for a given channel. */ + async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.portId !== "undefined") { + options.params.port_id = params.portId; + } + + if (typeof params?.channelId !== "undefined") { + options.params.channel_id = params.channelId; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts new file mode 100644 index 000000000..1e3ec7ac1 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -0,0 +1,157 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + channel(request: QueryChannelRequest): Promise; + /*Channel queries an IBC Channel.*/ + + channels(request: QueryChannelsRequest): Promise; + /*Channels queries all the IBC channels of a chain.*/ + + connectionChannels(request: QueryConnectionChannelsRequest): Promise; + /*ConnectionChannels queries all the channels associated with a connection + end.*/ + + channelClientState(request: QueryChannelClientStateRequest): Promise; + /*ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers.*/ + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + /*ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers.*/ + + packetCommitment(request: QueryPacketCommitmentRequest): Promise; + /*PacketCommitment queries a stored packet commitment hash.*/ + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + /*PacketCommitments returns all the packet commitments hashes associated + with a channel.*/ + + packetReceipt(request: QueryPacketReceiptRequest): Promise; + /*PacketReceipt queries if a given packet sequence has been received on the + queried chain*/ + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + /*PacketAcknowledgements returns all the packet acknowledgements associated + with a channel.*/ + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + /*UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences.*/ + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences.*/ + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; + /*NextSequenceReceive returns the next receive sequence for a given channel.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); + } + + channel(request: QueryChannelRequest): Promise { + const data = QueryChannelRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); + return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); + } + + channels(request: QueryChannelsRequest): Promise { + const data = QueryChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); + return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); + } + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + const data = QueryConnectionChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); + return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); + } + + channelClientState(request: QueryChannelClientStateRequest): Promise { + const data = QueryChannelClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); + return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); + } + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + const data = QueryChannelConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); + return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); + } + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + const data = QueryPacketCommitmentRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); + return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); + } + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + const data = QueryPacketCommitmentsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); + return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); + } + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + const data = QueryPacketReceiptRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); + return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + const data = QueryPacketAcknowledgementRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); + return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); + return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); + } + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + const data = QueryUnreceivedPacketsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); + return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); + } + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + const data = QueryUnreceivedAcksRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); + return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); + } + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + const data = QueryNextSequenceReceiveRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); + return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts new file mode 100644 index 000000000..05b72e02c --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts @@ -0,0 +1,2536 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ +export interface QueryChannelRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ +export interface QueryChannelResponse { + /** channel associated with the request identifiers */ + channel: Channel | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ +export interface QueryChannelsRequest { + /** pagination request */ + pagination: PageRequest | undefined; +} + +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ +export interface QueryChannelsResponse { + /** list of stored channels of the chain. */ + channels: IdentifiedChannel[]; + + /** pagination response */ + pagination: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsRequest { + /** connection unique identifier */ + connection: string; + + /** pagination request */ + pagination: PageRequest | undefined; +} + +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsResponse { + /** list of channels associated with a connection. */ + channels: IdentifiedChannel[]; + + /** pagination response */ + pagination: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ +export interface QueryChannelClientStateRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ +export interface QueryChannelClientStateResponse { + /** client state associated with the channel */ + identifiedClientState: IdentifiedClientState | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ +export interface QueryChannelConsensusStateRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** revision number of the consensus state */ + revisionNumber: Long; + + /** revision height of the consensus state */ + revisionHeight: Long; +} + +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ +export interface QueryChannelConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState: Any | undefined; + + /** client ID associated with the consensus state */ + clientId: string; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ +export interface QueryPacketCommitmentRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ +export interface QueryPacketCommitmentResponse { + /** packet associated with the request fields */ + commitment: Uint8Array; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** pagination request */ + pagination: PageRequest | undefined; +} + +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsResponse { + commitments: PacketState[]; + + /** pagination response */ + pagination: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ +export interface QueryPacketReceiptRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ +export interface QueryPacketReceiptResponse { + /** success flag for if receipt exists */ + received: boolean; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ +export interface QueryPacketAcknowledgementRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ +export interface QueryPacketAcknowledgementResponse { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketAcknowledgementsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** pagination request */ + pagination: PageRequest | undefined; + + /** list of packet sequences */ + packetCommitmentSequences: Long[]; +} + +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ +export interface QueryPacketAcknowledgementsResponse { + acknowledgements: PacketState[]; + + /** pagination response */ + pagination: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ +export interface QueryUnreceivedPacketsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** list of packet sequences */ + packetCommitmentSequences: Long[]; +} + +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ +export interface QueryUnreceivedPacketsResponse { + /** list of unreceived packet sequences */ + sequences: Long[]; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ +export interface QueryUnreceivedAcksRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** list of acknowledgement sequences */ + packetAckSequences: Long[]; +} + +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ +export interface QueryUnreceivedAcksResponse { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ +export interface QueryNextSequenceReceiveRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ +export interface QueryNextSequenceReceiveResponse { + /** next sequence receive number */ + nextSequenceReceive: Long; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +function createBaseQueryChannelRequest(): QueryChannelRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelRequest = { + encode(message: QueryChannelRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryChannelRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryChannelRequest { + const message = createBaseQueryChannelRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelResponse(): QueryChannelResponse { + return { + channel: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelResponse = { + encode(message: QueryChannelResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelResponse { + return { + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelResponse): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : 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): QueryChannelResponse { + const message = createBaseQueryChannelResponse(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsRequest(): QueryChannelsRequest { + return { + pagination: undefined + }; +} + +export const QueryChannelsRequest = { + encode(message: QueryChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsRequest(); + + 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): QueryChannelsRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryChannelsRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryChannelsRequest { + const message = createBaseQueryChannelsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsResponse(): QueryChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryChannelsResponse = { + encode(message: QueryChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelsResponse { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryChannelsResponse): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryChannelsResponse { + const message = createBaseQueryChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { + return { + connection: "", + pagination: undefined + }; +} + +export const QueryConnectionChannelsRequest = { + encode(message: QueryConnectionChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== "") { + writer.uint32(10).string(message.connection); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionChannelsRequest { + return { + connection: isSet(object.connection) ? String(object.connection) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryConnectionChannelsRequest): unknown { + const obj: any = {}; + message.connection !== undefined && (obj.connection = message.connection); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionChannelsRequest { + const message = createBaseQueryConnectionChannelsRequest(); + message.connection = object.connection ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionChannelsResponse = { + encode(message: QueryConnectionChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionChannelsResponse { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryConnectionChannelsResponse): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionChannelsResponse { + const message = createBaseQueryConnectionChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryChannelClientStateRequest(): QueryChannelClientStateRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelClientStateRequest = { + encode(message: QueryChannelClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelClientStateRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryChannelClientStateRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryChannelClientStateRequest { + const message = createBaseQueryChannelClientStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelClientStateResponse = { + encode(message: QueryChannelClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelClientStateResponse { + return { + identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelClientStateResponse): unknown { + const obj: any = {}; + message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryChannelClientStateResponse { + const message = createBaseQueryChannelClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateRequest(): QueryChannelConsensusStateRequest { + return { + portId: "", + channelId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryChannelConsensusStateRequest = { + encode(message: QueryChannelConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(24).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(32).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 4: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelConsensusStateRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: QueryChannelConsensusStateRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryChannelConsensusStateRequest { + const message = createBaseQueryChannelConsensusStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelConsensusStateResponse = { + encode(message: QueryChannelConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelConsensusStateResponse { + return { + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, + clientId: isSet(object.clientId) ? String(object.clientId) : "", + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelConsensusStateResponse): unknown { + const obj: any = {}; + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + message.clientId !== undefined && (obj.clientId = message.clientId); + 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): QueryChannelConsensusStateResponse { + const message = createBaseQueryChannelConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentRequest(): QueryPacketCommitmentRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketCommitmentRequest = { + encode(message: QueryPacketCommitmentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketCommitmentRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentRequest { + const message = createBaseQueryPacketCommitmentRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentResponse { + return { + commitment: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketCommitmentResponse = { + encode(message: QueryPacketCommitmentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commitment.length !== 0) { + writer.uint32(10).bytes(message.commitment); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitment = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentResponse { + return { + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array(), + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentResponse): unknown { + const obj: any = {}; + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + 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): QueryPacketCommitmentResponse { + const message = createBaseQueryPacketCommitmentResponse(); + message.commitment = object.commitment ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsRequest { + return { + portId: "", + channelId: "", + pagination: undefined + }; +} + +export const QueryPacketCommitmentsRequest = { + encode(message: QueryPacketCommitmentsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsRequest { + const message = createBaseQueryPacketCommitmentsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { + return { + commitments: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketCommitmentsResponse = { + encode(message: QueryPacketCommitmentsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentsResponse { + return { + commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentsResponse): unknown { + const obj: any = {}; + + if (message.commitments) { + obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.commitments = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsResponse { + const message = createBaseQueryPacketCommitmentsResponse(); + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryPacketReceiptRequest(): QueryPacketReceiptRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketReceiptRequest = { + encode(message: QueryPacketReceiptRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketReceiptRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketReceiptRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketReceiptRequest { + const message = createBaseQueryPacketReceiptRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { + return { + received: false, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketReceiptResponse = { + encode(message: QueryPacketReceiptResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.received === true) { + writer.uint32(16).bool(message.received); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.received = reader.bool(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketReceiptResponse { + return { + received: isSet(object.received) ? Boolean(object.received) : false, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketReceiptResponse): unknown { + const obj: any = {}; + message.received !== undefined && (obj.received = message.received); + 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): QueryPacketReceiptResponse { + const message = createBaseQueryPacketReceiptResponse(); + message.received = object.received ?? false; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementRequest(): QueryPacketAcknowledgementRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketAcknowledgementRequest = { + encode(message: QueryPacketAcknowledgementRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketAcknowledgementRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementRequest { + const message = createBaseQueryPacketAcknowledgementRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgementResponse { + return { + acknowledgement: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketAcknowledgementResponse = { + encode(message: QueryPacketAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.acknowledgement.length !== 0) { + writer.uint32(10).bytes(message.acknowledgement); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgement = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementResponse { + return { + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketAcknowledgementResponse): unknown { + const obj: any = {}; + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + 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): QueryPacketAcknowledgementResponse { + const message = createBaseQueryPacketAcknowledgementResponse(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgementsRequest { + return { + portId: "", + channelId: "", + pagination: undefined, + packetCommitmentSequences: [] + }; +} + +export const QueryPacketAcknowledgementsRequest = { + encode(message: QueryPacketAcknowledgementsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined, + packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryPacketAcknowledgementsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + + if (message.packetCommitmentSequences) { + obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetCommitmentSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { + const message = createBaseQueryPacketAcknowledgementsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { + return { + acknowledgements: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketAcknowledgementsResponse = { + encode(message: QueryPacketAcknowledgementsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementsResponse { + return { + acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryPacketAcknowledgementsResponse): unknown { + const obj: any = {}; + + if (message.acknowledgements) { + obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.acknowledgements = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { + const message = createBaseQueryPacketAcknowledgementsResponse(); + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsRequest(): QueryUnreceivedPacketsRequest { + return { + portId: "", + channelId: "", + packetCommitmentSequences: [] + }; +} + +export const QueryUnreceivedPacketsRequest = { + encode(message: QueryUnreceivedPacketsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedPacketsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryUnreceivedPacketsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + + if (message.packetCommitmentSequences) { + obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetCommitmentSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsRequest { + const message = createBaseQueryUnreceivedPacketsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedPacketsResponse = { + encode(message: QueryUnreceivedPacketsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedPacketsResponse { + return { + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryUnreceivedPacketsResponse): unknown { + const obj: any = {}; + + if (message.sequences) { + obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.sequences = []; + } + + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsResponse { + const message = createBaseQueryUnreceivedPacketsResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksRequest(): QueryUnreceivedAcksRequest { + return { + portId: "", + channelId: "", + packetAckSequences: [] + }; +} + +export const QueryUnreceivedAcksRequest = { + encode(message: QueryUnreceivedAcksRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetAckSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetAckSequences.push((reader.uint64() as Long)); + } + } else { + message.packetAckSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedAcksRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + packetAckSequences: Array.isArray(object?.packetAckSequences) ? object.packetAckSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryUnreceivedAcksRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + + if (message.packetAckSequences) { + obj.packetAckSequences = message.packetAckSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetAckSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksRequest { + const message = createBaseQueryUnreceivedAcksRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetAckSequences = object.packetAckSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedAcksResponse = { + encode(message: QueryUnreceivedAcksResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedAcksResponse { + return { + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryUnreceivedAcksResponse): unknown { + const obj: any = {}; + + if (message.sequences) { + obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.sequences = []; + } + + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksResponse { + const message = createBaseQueryUnreceivedAcksResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveRequest(): QueryNextSequenceReceiveRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryNextSequenceReceiveRequest = { + encode(message: QueryNextSequenceReceiveRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryNextSequenceReceiveRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryNextSequenceReceiveRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryNextSequenceReceiveRequest { + const message = createBaseQueryNextSequenceReceiveRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveResponse { + return { + nextSequenceReceive: Long.UZERO, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryNextSequenceReceiveResponse = { + encode(message: QueryNextSequenceReceiveResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.nextSequenceReceive.isZero()) { + writer.uint32(8).uint64(message.nextSequenceReceive); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextSequenceReceive = (reader.uint64() as Long); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryNextSequenceReceiveResponse { + return { + nextSequenceReceive: isSet(object.nextSequenceReceive) ? Long.fromString(object.nextSequenceReceive) : Long.UZERO, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryNextSequenceReceiveResponse): unknown { + const obj: any = {}; + message.nextSequenceReceive !== undefined && (obj.nextSequenceReceive = (message.nextSequenceReceive || Long.UZERO).toString()); + 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): QueryNextSequenceReceiveResponse { + const message = createBaseQueryNextSequenceReceiveResponse(); + message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..bf2f4b238 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -0,0 +1,118 @@ +import { Channel, Packet } from "./channel"; +import { Height } from "../../client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + channelOpenInit(request: MsgChannelOpenInit): Promise; + /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ + + channelOpenTry(request: MsgChannelOpenTry): Promise; + /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ + + channelOpenAck(request: MsgChannelOpenAck): Promise; + /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ + + channelCloseInit(request: MsgChannelCloseInit): Promise; + /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + /*ChannelCloseConfirm defines a rpc handler method for + MsgChannelCloseConfirm.*/ + + recvPacket(request: MsgRecvPacket): Promise; + /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ + + timeout(request: MsgTimeout): Promise; + /*Timeout defines a rpc handler method for MsgTimeout.*/ + + timeoutOnClose(request: MsgTimeoutOnClose): Promise; + /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ + + acknowledgement(request: MsgAcknowledgement): Promise; + /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channelOpenInit = this.channelOpenInit.bind(this); + this.channelOpenTry = this.channelOpenTry.bind(this); + this.channelOpenAck = this.channelOpenAck.bind(this); + this.channelOpenConfirm = this.channelOpenConfirm.bind(this); + this.channelCloseInit = this.channelCloseInit.bind(this); + this.channelCloseConfirm = this.channelCloseConfirm.bind(this); + this.recvPacket = this.recvPacket.bind(this); + this.timeout = this.timeout.bind(this); + this.timeoutOnClose = this.timeoutOnClose.bind(this); + this.acknowledgement = this.acknowledgement.bind(this); + } + + channelOpenInit(request: MsgChannelOpenInit): Promise { + const data = MsgChannelOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); + return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); + } + + channelOpenTry(request: MsgChannelOpenTry): Promise { + const data = MsgChannelOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); + return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); + } + + channelOpenAck(request: MsgChannelOpenAck): Promise { + const data = MsgChannelOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); + return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); + } + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + const data = MsgChannelOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); + return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); + } + + channelCloseInit(request: MsgChannelCloseInit): Promise { + const data = MsgChannelCloseInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); + return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); + } + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + const data = MsgChannelCloseConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); + return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); + } + + recvPacket(request: MsgRecvPacket): Promise { + const data = MsgRecvPacket.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); + return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); + } + + timeout(request: MsgTimeout): Promise { + const data = MsgTimeout.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); + return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); + } + + timeoutOnClose(request: MsgTimeoutOnClose): Promise { + const data = MsgTimeoutOnClose.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); + return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); + } + + acknowledgement(request: MsgAcknowledgement): Promise { + const data = MsgAcknowledgement.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); + return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts new file mode 100644 index 000000000..bb0d36aea --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts @@ -0,0 +1,1633 @@ +import { Channel, Packet } from "./channel"; +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ +export interface MsgChannelOpenInit { + portId: string; + channel: Channel | undefined; + signer: string; +} + +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ +export interface MsgChannelOpenInitResponse {} + +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ +export interface MsgChannelOpenTry { + portId: string; + + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + previousChannelId: string; + channel: Channel | undefined; + counterpartyVersion: string; + proofInit: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ +export interface MsgChannelOpenTryResponse {} + +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ +export interface MsgChannelOpenAck { + portId: string; + channelId: string; + counterpartyChannelId: string; + counterpartyVersion: string; + proofTry: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ +export interface MsgChannelOpenAckResponse {} + +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ +export interface MsgChannelOpenConfirm { + portId: string; + channelId: string; + proofAck: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ +export interface MsgChannelOpenConfirmResponse {} + +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ +export interface MsgChannelCloseInit { + portId: string; + channelId: string; + signer: string; +} + +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ +export interface MsgChannelCloseInitResponse {} + +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ +export interface MsgChannelCloseConfirm { + portId: string; + channelId: string; + proofInit: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ +export interface MsgChannelCloseConfirmResponse {} + +/** MsgRecvPacket receives incoming IBC packet */ +export interface MsgRecvPacket { + packet: Packet | undefined; + proofCommitment: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ +export interface MsgRecvPacketResponse {} + +/** MsgTimeout receives timed-out packet */ +export interface MsgTimeout { + packet: Packet | undefined; + proofUnreceived: Uint8Array; + proofHeight: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} + +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ +export interface MsgTimeoutResponse {} + +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ +export interface MsgTimeoutOnClose { + packet: Packet | undefined; + proofUnreceived: Uint8Array; + proofClose: Uint8Array; + proofHeight: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} + +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ +export interface MsgTimeoutOnCloseResponse {} + +/** MsgAcknowledgement receives incoming IBC acknowledgement */ +export interface MsgAcknowledgement { + packet: Packet | undefined; + acknowledgement: Uint8Array; + proofAcked: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ +export interface MsgAcknowledgementResponse {} + +function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { + return { + portId: "", + channel: undefined, + signer: "" + }; +} + +export const MsgChannelOpenInit = { + encode(message: MsgChannelOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenInit { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenInit): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenInit { + const message = createBaseMsgChannelOpenInit(); + message.portId = object.portId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenInitResponse(): MsgChannelOpenInitResponse { + return {}; +} + +export const MsgChannelOpenInitResponse = { + encode(_: MsgChannelOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenInitResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenInitResponse { + const message = createBaseMsgChannelOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { + return { + portId: "", + previousChannelId: "", + channel: undefined, + counterpartyVersion: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenTry = { + encode(message: MsgChannelOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.previousChannelId !== "") { + writer.uint32(18).string(message.previousChannelId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofInit.length !== 0) { + writer.uint32(42).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.previousChannelId = reader.string(); + break; + + case 3: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofInit = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenTry { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + previousChannelId: isSet(object.previousChannelId) ? String(object.previousChannelId) : "", + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenTry): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.previousChannelId !== undefined && (obj.previousChannelId = message.previousChannelId); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenTry { + const message = createBaseMsgChannelOpenTry(); + message.portId = object.portId ?? ""; + message.previousChannelId = object.previousChannelId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenTryResponse(): MsgChannelOpenTryResponse { + return {}; +} + +export const MsgChannelOpenTryResponse = { + encode(_: MsgChannelOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenTryResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenTryResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenTryResponse { + const message = createBaseMsgChannelOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { + return { + portId: "", + channelId: "", + counterpartyChannelId: "", + counterpartyVersion: "", + proofTry: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenAck = { + encode(message: MsgChannelOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.counterpartyChannelId !== "") { + writer.uint32(26).string(message.counterpartyChannelId); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofTry.length !== 0) { + writer.uint32(42).bytes(message.proofTry); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.counterpartyChannelId = reader.string(); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofTry = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenAck { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + counterpartyChannelId: isSet(object.counterpartyChannelId) ? String(object.counterpartyChannelId) : "", + counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", + proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenAck): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.counterpartyChannelId !== undefined && (obj.counterpartyChannelId = message.counterpartyChannelId); + message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); + message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenAck { + const message = createBaseMsgChannelOpenAck(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.counterpartyChannelId = object.counterpartyChannelId ?? ""; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenAckResponse(): MsgChannelOpenAckResponse { + return {}; +} + +export const MsgChannelOpenAckResponse = { + encode(_: MsgChannelOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenAckResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenAckResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenAckResponse { + const message = createBaseMsgChannelOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { + return { + portId: "", + channelId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenConfirm = { + encode(message: MsgChannelOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(26).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofAck = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenConfirm { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenConfirm): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenConfirm { + const message = createBaseMsgChannelOpenConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenConfirmResponse(): MsgChannelOpenConfirmResponse { + return {}; +} + +export const MsgChannelOpenConfirmResponse = { + encode(_: MsgChannelOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenConfirmResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenConfirmResponse { + const message = createBaseMsgChannelOpenConfirmResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseInit(): MsgChannelCloseInit { + return { + portId: "", + channelId: "", + signer: "" + }; +} + +export const MsgChannelCloseInit = { + encode(message: MsgChannelCloseInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelCloseInit { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelCloseInit): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelCloseInit { + const message = createBaseMsgChannelCloseInit(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseInitResponse(): MsgChannelCloseInitResponse { + return {}; +} + +export const MsgChannelCloseInitResponse = { + encode(_: MsgChannelCloseInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelCloseInitResponse { + return {}; + }, + + toJSON(_: MsgChannelCloseInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelCloseInitResponse { + const message = createBaseMsgChannelCloseInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { + return { + portId: "", + channelId: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelCloseConfirm = { + encode(message: MsgChannelCloseConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofInit.length !== 0) { + writer.uint32(26).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofInit = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelCloseConfirm { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelCloseConfirm): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelCloseConfirm { + const message = createBaseMsgChannelCloseConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseConfirmResponse(): MsgChannelCloseConfirmResponse { + return {}; +} + +export const MsgChannelCloseConfirmResponse = { + encode(_: MsgChannelCloseConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelCloseConfirmResponse { + return {}; + }, + + toJSON(_: MsgChannelCloseConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelCloseConfirmResponse { + const message = createBaseMsgChannelCloseConfirmResponse(); + return message; + } + +}; + +function createBaseMsgRecvPacket(): MsgRecvPacket { + return { + packet: undefined, + proofCommitment: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgRecvPacket = { + encode(message: MsgRecvPacket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofCommitment.length !== 0) { + writer.uint32(18).bytes(message.proofCommitment); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacket { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofCommitment = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgRecvPacket { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofCommitment: isSet(object.proofCommitment) ? bytesFromBase64(object.proofCommitment) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgRecvPacket): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofCommitment !== undefined && (obj.proofCommitment = base64FromBytes(message.proofCommitment !== undefined ? message.proofCommitment : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgRecvPacket { + const message = createBaseMsgRecvPacket(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofCommitment = object.proofCommitment ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgRecvPacketResponse(): MsgRecvPacketResponse { + return {}; +} + +export const MsgRecvPacketResponse = { + encode(_: MsgRecvPacketResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacketResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRecvPacketResponse { + return {}; + }, + + toJSON(_: MsgRecvPacketResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRecvPacketResponse { + const message = createBaseMsgRecvPacketResponse(); + return message; + } + +}; + +function createBaseMsgTimeout(): MsgTimeout { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeout = { + encode(message: MsgTimeout, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(32).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeout { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeout(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgTimeout { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgTimeout): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgTimeout { + const message = createBaseMsgTimeout(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutResponse(): MsgTimeoutResponse { + return {}; +} + +export const MsgTimeoutResponse = { + encode(_: MsgTimeoutResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTimeoutResponse { + return {}; + }, + + toJSON(_: MsgTimeoutResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTimeoutResponse { + const message = createBaseMsgTimeoutResponse(); + return message; + } + +}; + +function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofClose: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeoutOnClose = { + encode(message: MsgTimeoutOnClose, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofClose.length !== 0) { + writer.uint32(26).bytes(message.proofClose); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(40).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnClose { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnClose(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofClose = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgTimeoutOnClose { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), + proofClose: isSet(object.proofClose) ? bytesFromBase64(object.proofClose) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgTimeoutOnClose): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); + message.proofClose !== undefined && (obj.proofClose = base64FromBytes(message.proofClose !== undefined ? message.proofClose : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgTimeoutOnClose { + const message = createBaseMsgTimeoutOnClose(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofClose = object.proofClose ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutOnCloseResponse(): MsgTimeoutOnCloseResponse { + return {}; +} + +export const MsgTimeoutOnCloseResponse = { + encode(_: MsgTimeoutOnCloseResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnCloseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTimeoutOnCloseResponse { + return {}; + }, + + toJSON(_: MsgTimeoutOnCloseResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTimeoutOnCloseResponse { + const message = createBaseMsgTimeoutOnCloseResponse(); + return message; + } + +}; + +function createBaseMsgAcknowledgement(): MsgAcknowledgement { + return { + packet: undefined, + acknowledgement: new Uint8Array(), + proofAcked: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgAcknowledgement = { + encode(message: MsgAcknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + if (message.proofAcked.length !== 0) { + writer.uint32(26).bytes(message.proofAcked); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + case 3: + message.proofAcked = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgAcknowledgement { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), + proofAcked: isSet(object.proofAcked) ? bytesFromBase64(object.proofAcked) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgAcknowledgement): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + message.proofAcked !== undefined && (obj.proofAcked = base64FromBytes(message.proofAcked !== undefined ? message.proofAcked : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgAcknowledgement { + const message = createBaseMsgAcknowledgement(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proofAcked = object.proofAcked ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgAcknowledgementResponse(): MsgAcknowledgementResponse { + return {}; +} + +export const MsgAcknowledgementResponse = { + encode(_: MsgAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgAcknowledgementResponse { + return {}; + }, + + toJSON(_: MsgAcknowledgementResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgAcknowledgementResponse { + const message = createBaseMsgAcknowledgementResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts new file mode 100644 index 000000000..008be5aeb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts @@ -0,0 +1,640 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ +export interface IdentifiedClientState { + /** client identifier */ + clientId: string; + + /** client state */ + clientState: Any | undefined; +} + +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ +export interface ConsensusStateWithHeight { + /** consensus state height */ + height: Height | undefined; + + /** consensus state */ + consensusState: Any | undefined; +} + +/** + * 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[]; +} + +/** + * 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 { + /** 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; +} + +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ +export interface UpgradeProposal { + title: string; + description: string; + plan: Plan | undefined; + + /** + * 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 | undefined; +} + +/** + * 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; +} + +/** Params defines the set of IBC light client parameters. */ +export interface Params { + /** allowed_clients defines the list of allowed client state types. */ + allowedClients: string[]; +} + +function createBaseIdentifiedClientState(): IdentifiedClientState { + return { + clientId: "", + clientState: undefined + }; +} + +export const IdentifiedClientState = { + encode(message: IdentifiedClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { + return { + height: undefined, + consensusState: undefined + }; +} + +export const ConsensusStateWithHeight = { + encode(message: ConsensusStateWithHeight, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateWithHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = Height.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseClientConsensusStates(): ClientConsensusStates { + return { + clientId: "", + consensusStates: [] + }; +} + +export const ClientConsensusStates = { + encode(message: ClientConsensusStates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientConsensusStates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseClientUpdateProposal(): ClientUpdateProposal { + return { + title: "", + description: "", + subjectClientId: "", + substituteClientId: "" + }; +} + +export const ClientUpdateProposal = { + encode(message: ClientUpdateProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.subjectClientId !== "") { + writer.uint32(26).string(message.subjectClientId); + } + + if (message.substituteClientId !== "") { + writer.uint32(34).string(message.substituteClientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientUpdateProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.subjectClientId = reader.string(); + break; + + case 4: + message.substituteClientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.subjectClientId = object.subjectClientId ?? ""; + message.substituteClientId = object.substituteClientId ?? ""; + return message; + } + +}; + +function createBaseUpgradeProposal(): UpgradeProposal { + return { + title: "", + description: "", + plan: undefined, + upgradedClientState: undefined + }; +} + +export const UpgradeProposal = { + encode(message: UpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + case 4: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseHeight(): Height { + return { + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const Height = { + encode(message: Height, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.revisionNumber.isZero()) { + writer.uint32(8).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(16).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Height { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 2: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Height { + return { + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: Height): unknown { + const obj: any = {}; + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Height { + const message = createBaseHeight(); + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + allowedClients: [] + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowedClients) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowedClients.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts new file mode 100644 index 000000000..682402ad6 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts @@ -0,0 +1,320 @@ +import { IdentifiedClientState, ClientConsensusStates, Params } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** create localhost on initialization */ + createLocalhost: boolean; + + /** the sequence for the next generated client identifier */ + nextClientSequence: 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; +} + +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ +export interface IdentifiedGenesisMetadata { + clientId: string; + clientMetadata: GenesisMetadata[]; +} + +function createBaseGenesisState(): GenesisState { + return { + clients: [], + clientsConsensus: [], + clientsMetadata: [], + params: undefined, + createLocalhost: false, + nextClientSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clients) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientsConsensus) { + ClientConsensusStates.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.clientsMetadata) { + IdentifiedGenesisMetadata.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + if (message.createLocalhost === true) { + writer.uint32(40).bool(message.createLocalhost); + } + + if (!message.nextClientSequence.isZero()) { + writer.uint32(48).uint64(message.nextClientSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clients.push(IdentifiedClientState.decode(reader, reader.uint32())); + break; + + case 2: + message.clientsConsensus.push(ClientConsensusStates.decode(reader, reader.uint32())); + break; + + case 3: + message.clientsMetadata.push(IdentifiedGenesisMetadata.decode(reader, reader.uint32())); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + case 5: + message.createLocalhost = reader.bool(); + break; + + case 6: + message.nextClientSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.nextClientSequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; + message.clientsConsensus = object.clientsConsensus?.map(e => ClientConsensusStates.fromPartial(e)) || []; + message.clientsMetadata = object.clientsMetadata?.map(e => IdentifiedGenesisMetadata.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.createLocalhost = object.createLocalhost ?? false; + message.nextClientSequence = object.nextClientSequence !== undefined && object.nextClientSequence !== null ? Long.fromValue(object.nextClientSequence) : Long.UZERO; + return message; + } + +}; + +function createBaseGenesisMetadata(): GenesisMetadata { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const GenesisMetadata = { + encode(message: GenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisMetadata(); + + 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): 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(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; + +function createBaseIdentifiedGenesisMetadata(): IdentifiedGenesisMetadata { + return { + clientId: "", + clientMetadata: [] + }; +} + +export const IdentifiedGenesisMetadata = { + encode(message: IdentifiedGenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.clientMetadata) { + GenesisMetadata.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedGenesisMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientMetadata.push(GenesisMetadata.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientMetadata = object.clientMetadata?.map(e => GenesisMetadata.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts new file mode 100644 index 000000000..417383bf9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts @@ -0,0 +1,126 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* ClientState queries an IBC light client. */ + async clientState(params: QueryClientStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.clientId !== "undefined") { + options.params.client_id = params.clientId; + } + + const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; + return await this.request(endpoint, options); + } + + /* ClientStates queries all the IBC light clients of a chain. */ + async clientStates(params: QueryClientStatesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/client_states`; + return await this.request(endpoint, options); + } + + /* ConsensusState queries a consensus state associated with a client state at + a given height. */ + async consensusState(params: QueryConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.clientId !== "undefined") { + options.params.client_id = params.clientId; + } + + if (typeof params?.revisionNumber !== "undefined") { + options.params.revision_number = params.revisionNumber; + } + + if (typeof params?.revisionHeight !== "undefined") { + options.params.revision_height = params.revisionHeight; + } + + if (typeof params?.latestHeight !== "undefined") { + options.params.latest_height = params.latestHeight; + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint, options); + } + + /* ConsensusStates queries all the consensus state associated with a given + client. */ + async consensusStates(params: QueryConsensusStatesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.clientId !== "undefined") { + options.params.client_id = params.clientId; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; + return await this.request(endpoint, options); + } + + /* Status queries the status of an IBC client. */ + async clientStatus(params: QueryClientStatusRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.clientId !== "undefined") { + options.params.client_id = params.clientId; + } + + const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; + return await this.request(endpoint, options); + } + + /* ClientParams queries all parameters of the ibc client. */ + async clientParams(_params: QueryClientParamsRequest = {}): Promise { + const endpoint = `ibc/client/v1/params`; + return await this.request(endpoint); + } + + /* UpgradedClientState queries an Upgraded IBC light client. */ + async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_client_states`; + return await this.request(endpoint); + } + + /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ + async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts new file mode 100644 index 000000000..26b9e9e6d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -0,0 +1,100 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + clientState(request: QueryClientStateRequest): Promise; + /*ClientState queries an IBC light client.*/ + + clientStates(request: QueryClientStatesRequest): Promise; + /*ClientStates queries all the IBC light clients of a chain.*/ + + consensusState(request: QueryConsensusStateRequest): Promise; + /*ConsensusState queries a consensus state associated with a client state at + a given height.*/ + + consensusStates(request: QueryConsensusStatesRequest): Promise; + /*ConsensusStates queries all the consensus state associated with a given + client.*/ + + clientStatus(request: QueryClientStatusRequest): Promise; + /*Status queries the status of an IBC client.*/ + + clientParams(request: QueryClientParamsRequest): Promise; + /*ClientParams queries all parameters of the ibc client.*/ + + upgradedClientState(request: QueryUpgradedClientStateRequest): Promise; + /*UpgradedClientState queries an Upgraded IBC light client.*/ + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + } + + clientState(request: QueryClientStateRequest): Promise { + const data = QueryClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); + return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); + } + + clientStates(request: QueryClientStatesRequest): Promise { + const data = QueryClientStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); + return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); + } + + consensusState(request: QueryConsensusStateRequest): Promise { + const data = QueryConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); + return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); + } + + consensusStates(request: QueryConsensusStatesRequest): Promise { + const data = QueryConsensusStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); + return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); + } + + clientStatus(request: QueryClientStatusRequest): Promise { + const data = QueryClientStatusRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); + return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); + } + + clientParams(request: QueryClientParamsRequest): Promise { + const data = QueryClientParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); + return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); + } + + upgradedClientState(request: QueryUpgradedClientStateRequest): Promise { + const data = QueryUpgradedClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); + return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts new file mode 100644 index 000000000..a7af83f1a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts @@ -0,0 +1,1176 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ +export interface QueryClientStateRequest { + /** client state unique identifier */ + clientId: 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 | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ +export interface QueryClientStatesRequest { + /** pagination request */ + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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; +} + +/** + * 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 | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ +export interface QueryConsensusStatesRequest { + /** client identifier */ + clientId: string; + + /** pagination request */ + pagination: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ +export interface QueryClientStatusRequest { + /** client unique identifier */ + clientId: 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; +} + +/** + * QueryClientParamsRequest is the request type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsRequest {} + +/** + * QueryClientParamsResponse is the response type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** + * QueryUpgradedClientStateRequest is the request type for the + * Query/UpgradedClientState RPC method + */ +export interface QueryUpgradedClientStateRequest {} + +/** + * QueryUpgradedClientStateResponse is the response type for the + * Query/UpgradedClientState RPC method. + */ +export interface QueryUpgradedClientStateResponse { + /** client state associated with the request identifier */ + upgradedClientState: Any | undefined; +} + +/** + * QueryUpgradedConsensusStateRequest is the request type for the + * Query/UpgradedConsensusState RPC method + */ +export interface QueryUpgradedConsensusStateRequest {} + +/** + * QueryUpgradedConsensusStateResponse is the response type for the + * Query/UpgradedConsensusState RPC method. + */ +export interface QueryUpgradedConsensusStateResponse { + /** Consensus state associated with the request identifier */ + upgradedConsensusState: Any | undefined; +} + +function createBaseQueryClientStateRequest(): QueryClientStateRequest { + return { + clientId: "" + }; +} + +export const QueryClientStateRequest = { + encode(message: QueryClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientStateResponse(): QueryClientStateResponse { + return { + clientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientStateResponse = { + encode(message: QueryClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { + return { + pagination: undefined + }; +} + +export const QueryClientStatesRequest = { + encode(message: QueryClientStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { + return { + clientStates: [], + pagination: undefined + }; +} + +export const QueryClientStatesResponse = { + encode(message: QueryClientStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clientStates) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientStates.push(IdentifiedClientState.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest { + return { + clientId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO, + latestHeight: false + }; +} + +export const QueryConsensusStateRequest = { + encode(message: QueryConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + if (message.latestHeight === true) { + writer.uint32(32).bool(message.latestHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + case 4: + message.latestHeight = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConsensusStateRequest { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight); + return obj; + }, + + fromPartial(object: Partial): QueryConsensusStateRequest { + const message = createBaseQueryConsensusStateRequest(); + message.clientId = object.clientId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + message.latestHeight = object.latestHeight ?? false; + return message; + } + +}; + +function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { + return { + consensusState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConsensusStateResponse = { + encode(message: QueryConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { + return { + clientId: "", + pagination: undefined + }; +} + +export const QueryConsensusStatesRequest = { + encode(message: QueryConsensusStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { + return { + consensusStates: [], + pagination: undefined + }; +} + +export const QueryConsensusStatesResponse = { + encode(message: QueryConsensusStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusStates.push(ConsensusStateWithHeight.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatusRequest(): QueryClientStatusRequest { + return { + clientId: "" + }; +} + +export const QueryClientStatusRequest = { + encode(message: QueryClientStatusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientStatusResponse(): QueryClientStatusResponse { + return { + status: "" + }; +} + +export const QueryClientStatusResponse = { + encode(message: QueryClientStatusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientParamsRequest(): QueryClientParamsRequest { + return {}; +} + +export const QueryClientParamsRequest = { + encode(_: QueryClientParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryClientParamsRequest { + return {}; + }, + + toJSON(_: QueryClientParamsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryClientParamsRequest { + const message = createBaseQueryClientParamsRequest(); + return message; + } + +}; + +function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { + return { + params: undefined + }; +} + +export const QueryClientParamsResponse = { + encode(message: QueryClientParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsResponse(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest { + return {}; +} + +export const QueryUpgradedClientStateRequest = { + encode(_: QueryUpgradedClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryUpgradedClientStateRequest { + return {}; + }, + + toJSON(_: QueryUpgradedClientStateRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryUpgradedClientStateRequest { + const message = createBaseQueryUpgradedClientStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse { + return { + upgradedClientState: undefined + }; +} + +export const QueryUpgradedClientStateResponse = { + encode(message: QueryUpgradedClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return {}; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(_: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryUpgradedConsensusStateRequest { + return {}; + }, + + toJSON(_: QueryUpgradedConsensusStateRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: undefined + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState !== undefined) { + Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedConsensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..38fcce3cf --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -0,0 +1,56 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createClient(request: MsgCreateClient): Promise; + /*CreateClient defines a rpc handler method for MsgCreateClient.*/ + + updateClient(request: MsgUpdateClient): Promise; + /*UpdateClient defines a rpc handler method for MsgUpdateClient.*/ + + upgradeClient(request: MsgUpgradeClient): Promise; + /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ + + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; + /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createClient = this.createClient.bind(this); + this.updateClient = this.updateClient.bind(this); + this.upgradeClient = this.upgradeClient.bind(this); + this.submitMisbehaviour = this.submitMisbehaviour.bind(this); + } + + createClient(request: MsgCreateClient): Promise { + const data = MsgCreateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); + return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); + } + + updateClient(request: MsgUpdateClient): Promise { + const data = MsgUpdateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); + return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); + } + + upgradeClient(request: MsgUpgradeClient): Promise { + const data = MsgUpgradeClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); + return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); + } + + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + const data = MsgSubmitMisbehaviour.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); + return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts new file mode 100644 index 000000000..25a17d447 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts @@ -0,0 +1,622 @@ +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** MsgCreateClient defines a message to create an IBC client */ +export interface MsgCreateClient { + /** light client state */ + clientState: Any | undefined; + + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + consensusState: Any | undefined; + + /** signer address */ + signer: string; +} + +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ +export interface MsgCreateClientResponse {} + +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ +export interface MsgUpdateClient { + /** client unique identifier */ + clientId: string; + + /** header to update the light client */ + header: Any | undefined; + + /** signer address */ + signer: string; +} + +/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ +export interface MsgUpdateClientResponse {} + +/** + * 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 | undefined; + + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + consensusState: Any | undefined; + + /** 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; +} + +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ +export interface MsgUpgradeClientResponse {} + +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ +export interface MsgSubmitMisbehaviour { + /** client unique identifier */ + clientId: string; + + /** misbehaviour used for freezing the light client */ + misbehaviour: Any | undefined; + + /** signer address */ + signer: string; +} + +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ +export interface MsgSubmitMisbehaviourResponse {} + +function createBaseMsgCreateClient(): MsgCreateClient { + return { + clientState: undefined, + consensusState: undefined, + signer: "" + }; +} + +export const MsgCreateClient = { + encode(message: MsgCreateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgCreateClientResponse(): MsgCreateClientResponse { + return {}; +} + +export const MsgCreateClientResponse = { + encode(_: MsgCreateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateClientResponse { + return {}; + }, + + toJSON(_: MsgCreateClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateClientResponse { + const message = createBaseMsgCreateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpdateClient(): MsgUpdateClient { + return { + clientId: "", + header: undefined, + signer: "" + }; +} + +export const MsgUpdateClient = { + encode(message: MsgUpdateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header !== undefined) { + Any.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateClient { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + header: isSet(object.header) ? Any.fromJSON(object.header) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgUpdateClient): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.header !== undefined && (obj.header = message.header ? Any.toJSON(message.header) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateClient { + const message = createBaseMsgUpdateClient(); + message.clientId = object.clientId ?? ""; + message.header = object.header !== undefined && object.header !== null ? Any.fromPartial(object.header) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateClientResponse(): MsgUpdateClientResponse { + return {}; +} + +export const MsgUpdateClientResponse = { + encode(_: MsgUpdateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateClientResponse { + return {}; + }, + + toJSON(_: MsgUpdateClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateClientResponse { + const message = createBaseMsgUpdateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpgradeClient(): MsgUpgradeClient { + return { + clientId: "", + clientState: undefined, + consensusState: undefined, + proofUpgradeClient: new Uint8Array(), + proofUpgradeConsensusState: new Uint8Array(), + signer: "" + }; +} + +export const MsgUpgradeClient = { + encode(message: MsgUpgradeClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.proofUpgradeClient.length !== 0) { + writer.uint32(34).bytes(message.proofUpgradeClient); + } + + if (message.proofUpgradeConsensusState.length !== 0) { + writer.uint32(42).bytes(message.proofUpgradeConsensusState); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.proofUpgradeClient = reader.bytes(); + break; + + case 5: + message.proofUpgradeConsensusState = reader.bytes(); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.proofUpgradeClient = object.proofUpgradeClient ?? new Uint8Array(); + message.proofUpgradeConsensusState = object.proofUpgradeConsensusState ?? new Uint8Array(); + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpgradeClientResponse(): MsgUpgradeClientResponse { + return {}; +} + +export const MsgUpgradeClientResponse = { + encode(_: MsgUpgradeClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpgradeClientResponse { + return {}; + }, + + toJSON(_: MsgUpgradeClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpgradeClientResponse { + const message = createBaseMsgUpgradeClientResponse(); + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviour(): MsgSubmitMisbehaviour { + return { + clientId: "", + misbehaviour: undefined, + signer: "" + }; +} + +export const MsgSubmitMisbehaviour = { + encode(message: MsgSubmitMisbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.misbehaviour !== undefined) { + Any.encode(message.misbehaviour, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.misbehaviour = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.misbehaviour = object.misbehaviour !== undefined && object.misbehaviour !== null ? Any.fromPartial(object.misbehaviour) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviourResponse(): MsgSubmitMisbehaviourResponse { + return {}; +} + +export const MsgSubmitMisbehaviourResponse = { + encode(_: MsgSubmitMisbehaviourResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviourResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSubmitMisbehaviourResponse { + return {}; + }, + + toJSON(_: MsgSubmitMisbehaviourResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSubmitMisbehaviourResponse { + const message = createBaseMsgSubmitMisbehaviourResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts b/examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts new file mode 100644 index 000000000..bb3c68749 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts @@ -0,0 +1,280 @@ +import { CommitmentProof } from "../../../../confio/proofs"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ +export interface MerkleRoot { + hash: Uint8Array; +} + +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ +export interface MerklePrefix { + keyPrefix: Uint8Array; +} + +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ +export interface MerklePath { + keyPath: string[]; +} + +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ +export interface MerkleProof { + proofs: CommitmentProof[]; +} + +function createBaseMerkleRoot(): MerkleRoot { + return { + hash: new Uint8Array() + }; +} + +export const MerkleRoot = { + encode(message: MerkleRoot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleRoot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerkleRoot { + return { + hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() + }; + }, + + toJSON(message: MerkleRoot): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MerkleRoot { + const message = createBaseMerkleRoot(); + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePrefix(): MerklePrefix { + return { + keyPrefix: new Uint8Array() + }; +} + +export const MerklePrefix = { + encode(message: MerklePrefix, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.keyPrefix.length !== 0) { + writer.uint32(10).bytes(message.keyPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePrefix(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPrefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerklePrefix { + return { + keyPrefix: isSet(object.keyPrefix) ? bytesFromBase64(object.keyPrefix) : new Uint8Array() + }; + }, + + toJSON(message: MerklePrefix): unknown { + const obj: any = {}; + message.keyPrefix !== undefined && (obj.keyPrefix = base64FromBytes(message.keyPrefix !== undefined ? message.keyPrefix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MerklePrefix { + const message = createBaseMerklePrefix(); + message.keyPrefix = object.keyPrefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePath(): MerklePath { + return { + keyPath: [] + }; +} + +export const MerklePath = { + encode(message: MerklePath, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keyPath) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePath(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPath.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerklePath { + return { + keyPath: Array.isArray(object?.keyPath) ? object.keyPath.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: MerklePath): unknown { + const obj: any = {}; + + if (message.keyPath) { + obj.keyPath = message.keyPath.map(e => e); + } else { + obj.keyPath = []; + } + + return obj; + }, + + fromPartial(object: Partial): MerklePath { + const message = createBaseMerklePath(); + message.keyPath = object.keyPath?.map(e => e) || []; + return message; + } + +}; + +function createBaseMerkleProof(): MerkleProof { + return { + proofs: [] + }; +} + +export const MerkleProof = { + encode(message: MerkleProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proofs) { + CommitmentProof.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proofs.push(CommitmentProof.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerkleProof { + return { + proofs: Array.isArray(object?.proofs) ? object.proofs.map((e: any) => CommitmentProof.fromJSON(e)) : [] + }; + }, + + toJSON(message: MerkleProof): unknown { + const obj: any = {}; + + if (message.proofs) { + obj.proofs = message.proofs.map(e => e ? CommitmentProof.toJSON(e) : undefined); + } else { + obj.proofs = []; + } + + return obj; + }, + + fromPartial(object: Partial): MerkleProof { + const message = createBaseMerkleProof(); + message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts new file mode 100644 index 000000000..81de3f490 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts @@ -0,0 +1,764 @@ +import { MerklePrefix } from "../../commitment/v1/commitment"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + default: + return "UNKNOWN"; + } +} + +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ +export interface ConnectionEnd { + /** client associated with this connection. */ + clientId: string; + + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + versions: Version[]; + + /** current state of the connection end. */ + state: State; + + /** counterparty chain associated with this connection. */ + counterparty: Counterparty | undefined; + + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + delayPeriod: Long; +} + +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ +export interface IdentifiedConnection { + /** connection identifier. */ + id: string; + + /** client associated with this connection. */ + clientId: string; + + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + versions: Version[]; + + /** current state of the connection end. */ + state: State; + + /** counterparty chain associated with this connection. */ + counterparty: Counterparty | undefined; + + /** delay period associated with this connection. */ + delayPeriod: Long; +} + +/** Counterparty defines the counterparty chain associated with a connection end. */ +export interface Counterparty { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + clientId: string; + + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + connectionId: string; + + /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefix | undefined; +} + +/** ClientPaths define all the connection paths for a client state. */ +export interface ClientPaths { + /** list of connection paths */ + paths: string[]; +} + +/** ConnectionPaths define all the connection paths for a given client state. */ +export interface ConnectionPaths { + /** client state unique identifier */ + clientId: string; + + /** list of connection paths */ + paths: string[]; +} + +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ +export interface Version { + /** unique version identifier */ + identifier: string; + + /** list of features compatible with the specified identifier */ + features: string[]; +} + +/** Params defines the set of Connection parameters. */ +export interface Params { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + maxExpectedTimePerBlock: Long; +} + +function createBaseConnectionEnd(): ConnectionEnd { + return { + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const ConnectionEnd = { + encode(message: ConnectionEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(24).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionEnd(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 3: + message.state = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionEnd { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO + }; + }, + + toJSON(message: ConnectionEnd): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.versions) { + obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.versions = []; + } + + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConnectionEnd { + const message = createBaseConnectionEnd(); + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseIdentifiedConnection(): IdentifiedConnection { + return { + id: "", + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const IdentifiedConnection = { + encode(message: IdentifiedConnection, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(32).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(42).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(48).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedConnection(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 4: + message.state = (reader.int32() as any); + break; + + case 5: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 6: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): IdentifiedConnection { + return { + id: isSet(object.id) ? String(object.id) : "", + clientId: isSet(object.clientId) ? String(object.clientId) : "", + versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO + }; + }, + + toJSON(message: IdentifiedConnection): unknown { + const obj: any = {}; + message.id !== undefined && (obj.id = message.id); + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.versions) { + obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.versions = []; + } + + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): IdentifiedConnection { + const message = createBaseIdentifiedConnection(); + message.id = object.id ?? ""; + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + clientId: "", + connectionId: "", + prefix: undefined + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.prefix !== undefined) { + MerklePrefix.encode(message.prefix, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.prefix = MerklePrefix.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Counterparty { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + prefix: isSet(object.prefix) ? MerklePrefix.fromJSON(object.prefix) : undefined + }; + }, + + toJSON(message: Counterparty): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.prefix !== undefined && (obj.prefix = message.prefix ? MerklePrefix.toJSON(message.prefix) : undefined); + return obj; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.clientId = object.clientId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.prefix = object.prefix !== undefined && object.prefix !== null ? MerklePrefix.fromPartial(object.prefix) : undefined; + return message; + } + +}; + +function createBaseClientPaths(): ClientPaths { + return { + paths: [] + }; +} + +export const ClientPaths = { + encode(message: ClientPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.paths) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientPaths { + return { + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: ClientPaths): unknown { + const obj: any = {}; + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): ClientPaths { + const message = createBaseClientPaths(); + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseConnectionPaths(): ConnectionPaths { + return { + clientId: "", + paths: [] + }; +} + +export const ConnectionPaths = { + encode(message: ConnectionPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.paths) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionPaths { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: ConnectionPaths): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): ConnectionPaths { + const message = createBaseConnectionPaths(); + message.clientId = object.clientId ?? ""; + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseVersion(): Version { + return { + identifier: "", + features: [] + }; +} + +export const Version = { + encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifier !== "") { + writer.uint32(10).string(message.identifier); + } + + for (const v of message.features) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Version { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifier = reader.string(); + break; + + case 2: + message.features.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Version { + return { + identifier: isSet(object.identifier) ? String(object.identifier) : "", + features: Array.isArray(object?.features) ? object.features.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: Version): unknown { + const obj: any = {}; + message.identifier !== undefined && (obj.identifier = message.identifier); + + if (message.features) { + obj.features = message.features.map(e => e); + } else { + obj.features = []; + } + + return obj; + }, + + fromPartial(object: Partial): Version { + const message = createBaseVersion(); + message.identifier = object.identifier ?? ""; + message.features = object.features?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxExpectedTimePerBlock: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxExpectedTimePerBlock.isZero()) { + writer.uint32(8).uint64(message.maxExpectedTimePerBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxExpectedTimePerBlock = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + maxExpectedTimePerBlock: isSet(object.maxExpectedTimePerBlock) ? Long.fromString(object.maxExpectedTimePerBlock) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.maxExpectedTimePerBlock !== undefined && (obj.maxExpectedTimePerBlock = (message.maxExpectedTimePerBlock || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts new file mode 100644 index 000000000..91a46ff82 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts @@ -0,0 +1,117 @@ +import { IdentifiedConnection, ConnectionPaths, Params } from "./connection"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc connection submodule's genesis state. */ +export interface GenesisState { + connections: IdentifiedConnection[]; + clientConnectionPaths: ConnectionPaths[]; + + /** the sequence for the next generated connection identifier */ + nextConnectionSequence: Long; + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + connections: [], + clientConnectionPaths: [], + nextConnectionSequence: Long.UZERO, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientConnectionPaths) { + ConnectionPaths.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (!message.nextConnectionSequence.isZero()) { + writer.uint32(24).uint64(message.nextConnectionSequence); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.clientConnectionPaths.push(ConnectionPaths.decode(reader, reader.uint32())); + break; + + case 3: + message.nextConnectionSequence = (reader.uint64() as Long); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], + clientConnectionPaths: Array.isArray(object?.clientConnectionPaths) ? object.clientConnectionPaths.map((e: any) => ConnectionPaths.fromJSON(e)) : [], + nextConnectionSequence: isSet(object.nextConnectionSequence) ? Long.fromString(object.nextConnectionSequence) : Long.UZERO, + params: isSet(object.params) ? Params.fromJSON(object.params) : undefined + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + + if (message.connections) { + obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); + } else { + obj.connections = []; + } + + if (message.clientConnectionPaths) { + obj.clientConnectionPaths = message.clientConnectionPaths.map(e => e ? ConnectionPaths.toJSON(e) : undefined); + } else { + obj.clientConnectionPaths = []; + } + + message.nextConnectionSequence !== undefined && (obj.nextConnectionSequence = (message.nextConnectionSequence || Long.UZERO).toString()); + message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.clientConnectionPaths = object.clientConnectionPaths?.map(e => ConnectionPaths.fromPartial(e)) || []; + message.nextConnectionSequence = object.nextConnectionSequence !== undefined && object.nextConnectionSequence !== null ? Long.fromValue(object.nextConnectionSequence) : Long.UZERO; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts new file mode 100644 index 000000000..701e3f76a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts @@ -0,0 +1,102 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Connection queries an IBC connection end. */ + async connection(params: QueryConnectionRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.connectionId !== "undefined") { + options.params.connection_id = params.connectionId; + } + + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; + return await this.request(endpoint, options); + } + + /* Connections queries all the IBC connections of a chain. */ + async connections(params: QueryConnectionsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/connection/v1/connections`; + return await this.request(endpoint, options); + } + + /* ClientConnections queries the connection paths associated with a client + state. */ + async clientConnections(params: QueryClientConnectionsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.clientId !== "undefined") { + options.params.client_id = params.clientId; + } + + const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; + return await this.request(endpoint, options); + } + + /* ConnectionClientState queries the client state associated with the + connection. */ + async connectionClientState(params: QueryConnectionClientStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.connectionId !== "undefined") { + options.params.connection_id = params.connectionId; + } + + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; + return await this.request(endpoint, options); + } + + /* ConnectionConsensusState queries the consensus state associated with the + connection. */ + async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.connectionId !== "undefined") { + options.params.connection_id = params.connectionId; + } + + if (typeof params?.revisionNumber !== "undefined") { + options.params.revision_number = params.revisionNumber; + } + + if (typeof params?.revisionHeight !== "undefined") { + options.params.revision_height = params.revisionHeight; + } + + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts new file mode 100644 index 000000000..c8aa8c327 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -0,0 +1,72 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + connection(request: QueryConnectionRequest): Promise; + /*Connection queries an IBC connection end.*/ + + connections(request: QueryConnectionsRequest): Promise; + /*Connections queries all the IBC connections of a chain.*/ + + clientConnections(request: QueryClientConnectionsRequest): Promise; + /*ClientConnections queries the connection paths associated with a client + state.*/ + + connectionClientState(request: QueryConnectionClientStateRequest): Promise; + /*ConnectionClientState queries the client state associated with the + connection.*/ + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; + /*ConnectionConsensusState queries the consensus state associated with the + connection.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); + } + + connection(request: QueryConnectionRequest): Promise { + const data = QueryConnectionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); + return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); + } + + connections(request: QueryConnectionsRequest): Promise { + const data = QueryConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); + return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); + } + + clientConnections(request: QueryClientConnectionsRequest): Promise { + const data = QueryClientConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); + return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); + } + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + const data = QueryConnectionClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); + return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); + } + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + const data = QueryConnectionConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); + return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts new file mode 100644 index 000000000..fdcfc0f04 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts @@ -0,0 +1,869 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ +export interface QueryConnectionRequest { + /** connection unique identifier */ + connectionId: string; +} + +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ +export interface QueryConnectionResponse { + /** connection associated with the request identifier */ + connection: ConnectionEnd | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ +export interface QueryConnectionsRequest { + pagination: PageRequest | undefined; +} + +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ +export interface QueryConnectionsResponse { + /** list of stored connections of the chain. */ + connections: IdentifiedConnection[]; + + /** pagination response */ + pagination: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsRequest { + /** client identifier associated with a connection */ + clientId: string; +} + +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsResponse { + /** slice of all the connection paths associated with a client. */ + connectionPaths: string[]; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was generated */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateRequest { + /** connection identifier */ + connectionId: string; +} + +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateResponse { + /** client state associated with the channel */ + identifiedClientState: IdentifiedClientState | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateRequest { + /** connection identifier */ + connectionId: string; + revisionNumber: Long; + revisionHeight: Long; +} + +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState: Any | undefined; + + /** client ID associated with the consensus state */ + clientId: string; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +function createBaseQueryConnectionRequest(): QueryConnectionRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionRequest = { + encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" + }; + }, + + toJSON(message: QueryConnectionRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionRequest { + const message = createBaseQueryConnectionRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionResponse(): QueryConnectionResponse { + return { + connection: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionResponse = { + encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionResponse { + return { + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionResponse): unknown { + const obj: any = {}; + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : 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): QueryConnectionResponse { + const message = createBaseQueryConnectionResponse(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { + return { + pagination: undefined + }; +} + +export const QueryConnectionsRequest = { + encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsRequest(); + + 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): QueryConnectionsRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryConnectionsRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionsRequest { + const message = createBaseQueryConnectionsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { + return { + connections: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionsResponse = { + encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionsResponse { + return { + connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryConnectionsResponse): unknown { + const obj: any = {}; + + if (message.connections) { + obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); + } else { + obj.connections = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionsResponse { + const message = createBaseQueryConnectionsResponse(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest { + return { + clientId: "" + }; +} + +export const QueryClientConnectionsRequest = { + encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryClientConnectionsRequest { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "" + }; + }, + + toJSON(message: QueryClientConnectionsRequest): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + return obj; + }, + + fromPartial(object: Partial): QueryClientConnectionsRequest { + const message = createBaseQueryClientConnectionsRequest(); + message.clientId = object.clientId ?? ""; + return message; + } + +}; + +function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse { + return { + connectionPaths: [], + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientConnectionsResponse = { + encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connectionPaths) { + writer.uint32(10).string(v!); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionPaths.push(reader.string()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryClientConnectionsResponse { + return { + connectionPaths: Array.isArray(object?.connectionPaths) ? object.connectionPaths.map((e: any) => String(e)) : [], + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryClientConnectionsResponse): unknown { + const obj: any = {}; + + if (message.connectionPaths) { + obj.connectionPaths = message.connectionPaths.map(e => e); + } else { + obj.connectionPaths = []; + } + + 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): QueryClientConnectionsResponse { + const message = createBaseQueryClientConnectionsResponse(); + message.connectionPaths = object.connectionPaths?.map(e => e) || []; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionClientStateRequest = { + encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionClientStateRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" + }; + }, + + toJSON(message: QueryConnectionClientStateRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionClientStateRequest { + const message = createBaseQueryConnectionClientStateRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionClientStateResponse = { + encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionClientStateResponse { + return { + identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionClientStateResponse): unknown { + const obj: any = {}; + message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryConnectionClientStateResponse { + const message = createBaseQueryConnectionClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest { + return { + connectionId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryConnectionConsensusStateRequest = { + encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionConsensusStateRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: QueryConnectionConsensusStateRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionConsensusStateRequest { + const message = createBaseQueryConnectionConsensusStateRequest(); + message.connectionId = object.connectionId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionConsensusStateResponse = { + encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionConsensusStateResponse { + return { + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, + clientId: isSet(object.clientId) ? String(object.clientId) : "", + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionConsensusStateResponse): unknown { + const obj: any = {}; + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + message.clientId !== undefined && (obj.clientId = message.clientId); + 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): QueryConnectionConsensusStateResponse { + const message = createBaseQueryConnectionConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..c25e4f693 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -0,0 +1,59 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + connectionOpenInit(request: MsgConnectionOpenInit): Promise; + /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ + + connectionOpenTry(request: MsgConnectionOpenTry): Promise; + /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ + + connectionOpenAck(request: MsgConnectionOpenAck): Promise; + /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; + /*ConnectionOpenConfirm defines a rpc handler method for + MsgConnectionOpenConfirm.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connectionOpenInit = this.connectionOpenInit.bind(this); + this.connectionOpenTry = this.connectionOpenTry.bind(this); + this.connectionOpenAck = this.connectionOpenAck.bind(this); + this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); + } + + connectionOpenInit(request: MsgConnectionOpenInit): Promise { + const data = MsgConnectionOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); + return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); + } + + connectionOpenTry(request: MsgConnectionOpenTry): Promise { + const data = MsgConnectionOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); + return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); + } + + connectionOpenAck(request: MsgConnectionOpenAck): Promise { + const data = MsgConnectionOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); + return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); + } + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + const data = MsgConnectionOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); + return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts new file mode 100644 index 000000000..8ccaed5cb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts @@ -0,0 +1,837 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ +export interface MsgConnectionOpenInit { + clientId: string; + counterparty: Counterparty | undefined; + version: Version | undefined; + delayPeriod: Long; + signer: string; +} + +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ +export interface MsgConnectionOpenInitResponse {} + +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ +export interface MsgConnectionOpenTry { + clientId: string; + + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + previousConnectionId: string; + clientState: Any | undefined; + counterparty: Counterparty | undefined; + delayPeriod: Long; + counterpartyVersions: Version[]; + proofHeight: Height | undefined; + + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + proofInit: Uint8Array; + + /** proof of client state included in message */ + proofClient: Uint8Array; + + /** proof of client consensus state */ + proofConsensus: Uint8Array; + consensusHeight: Height | undefined; + signer: string; +} + +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ +export interface MsgConnectionOpenTryResponse {} + +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ +export interface MsgConnectionOpenAck { + connectionId: string; + counterpartyConnectionId: string; + version: Version | undefined; + clientState: Any | undefined; + proofHeight: Height | undefined; + + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + proofTry: Uint8Array; + + /** proof of client state included in message */ + proofClient: Uint8Array; + + /** proof of client consensus state */ + proofConsensus: Uint8Array; + consensusHeight: Height | undefined; + signer: string; +} + +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ +export interface MsgConnectionOpenAckResponse {} + +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ +export interface MsgConnectionOpenConfirm { + connectionId: string; + + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proofAck: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ +export interface MsgConnectionOpenConfirmResponse {} + +function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { + return { + clientId: "", + counterparty: undefined, + version: undefined, + delayPeriod: Long.UZERO, + signer: "" + }; +} + +export const MsgConnectionOpenInit = { + encode(message: MsgConnectionOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(18).fork()).ldelim(); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(32).uint64(message.delayPeriod); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenInit { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenInit): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenInit { + const message = createBaseMsgConnectionOpenInit(); + message.clientId = object.clientId ?? ""; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenInitResponse(): MsgConnectionOpenInitResponse { + return {}; +} + +export const MsgConnectionOpenInitResponse = { + encode(_: MsgConnectionOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenInitResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenInitResponse { + const message = createBaseMsgConnectionOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { + return { + clientId: "", + previousConnectionId: "", + clientState: undefined, + counterparty: undefined, + delayPeriod: Long.UZERO, + counterpartyVersions: [], + proofHeight: undefined, + proofInit: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenTry = { + encode(message: MsgConnectionOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.previousConnectionId !== "") { + writer.uint32(18).string(message.previousConnectionId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + for (const v of message.counterpartyVersions) { + Version.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(58).fork()).ldelim(); + } + + if (message.proofInit.length !== 0) { + writer.uint32(66).bytes(message.proofInit); + } + + if (message.proofClient.length !== 0) { + writer.uint32(74).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(82).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(90).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(98).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.previousConnectionId = reader.string(); + break; + + case 3: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 6: + message.counterpartyVersions.push(Version.decode(reader, reader.uint32())); + break; + + case 7: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofInit = reader.bytes(); + break; + + case 9: + message.proofClient = reader.bytes(); + break; + + case 10: + message.proofConsensus = reader.bytes(); + break; + + case 11: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 12: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenTry { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + previousConnectionId: isSet(object.previousConnectionId) ? String(object.previousConnectionId) : "", + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, + counterpartyVersions: Array.isArray(object?.counterpartyVersions) ? object.counterpartyVersions.map((e: any) => Version.fromJSON(e)) : [], + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), + proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), + consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenTry): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.previousConnectionId !== undefined && (obj.previousConnectionId = message.previousConnectionId); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + + if (message.counterpartyVersions) { + obj.counterpartyVersions = message.counterpartyVersions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.counterpartyVersions = []; + } + + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); + message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); + message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenTry { + const message = createBaseMsgConnectionOpenTry(); + message.clientId = object.clientId ?? ""; + message.previousConnectionId = object.previousConnectionId ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.counterpartyVersions = object.counterpartyVersions?.map(e => Version.fromPartial(e)) || []; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenTryResponse(): MsgConnectionOpenTryResponse { + return {}; +} + +export const MsgConnectionOpenTryResponse = { + encode(_: MsgConnectionOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenTryResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenTryResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenTryResponse { + const message = createBaseMsgConnectionOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { + return { + connectionId: "", + counterpartyConnectionId: "", + version: undefined, + clientState: undefined, + proofHeight: undefined, + proofTry: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenAck = { + encode(message: MsgConnectionOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.counterpartyConnectionId !== "") { + writer.uint32(18).string(message.counterpartyConnectionId); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(34).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim(); + } + + if (message.proofTry.length !== 0) { + writer.uint32(50).bytes(message.proofTry); + } + + if (message.proofClient.length !== 0) { + writer.uint32(58).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(66).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(74).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(82).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.counterpartyConnectionId = reader.string(); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 6: + message.proofTry = reader.bytes(); + break; + + case 7: + message.proofClient = reader.bytes(); + break; + + case 8: + message.proofConsensus = reader.bytes(); + break; + + case 9: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 10: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenAck { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + counterpartyConnectionId: isSet(object.counterpartyConnectionId) ? String(object.counterpartyConnectionId) : "", + version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), + proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), + proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), + consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenAck): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.counterpartyConnectionId !== undefined && (obj.counterpartyConnectionId = message.counterpartyConnectionId); + message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); + message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); + message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); + message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenAck { + const message = createBaseMsgConnectionOpenAck(); + message.connectionId = object.connectionId ?? ""; + message.counterpartyConnectionId = object.counterpartyConnectionId ?? ""; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenAckResponse(): MsgConnectionOpenAckResponse { + return {}; +} + +export const MsgConnectionOpenAckResponse = { + encode(_: MsgConnectionOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenAckResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenAckResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenAckResponse { + const message = createBaseMsgConnectionOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { + return { + connectionId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenConfirm = { + encode(message: MsgConnectionOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(18).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.proofAck = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenConfirm { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenConfirm): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenConfirm { + const message = createBaseMsgConnectionOpenConfirm(); + message.connectionId = object.connectionId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirmResponse(): MsgConnectionOpenConfirmResponse { + return {}; +} + +export const MsgConnectionOpenConfirmResponse = { + encode(_: MsgConnectionOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenConfirmResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { + const message = createBaseMsgConnectionOpenConfirmResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts new file mode 100644 index 000000000..466bff1b0 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -0,0 +1,26 @@ +import { Order, Counterparty } from "../../channel/v1/channel"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + appVersion(request: QueryAppVersionRequest): Promise; + /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.appVersion = this.appVersion.bind(this); + } + + appVersion(request: QueryAppVersionRequest): Promise { + const data = QueryAppVersionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); + return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts b/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts new file mode 100644 index 000000000..c1cdb8e64 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts @@ -0,0 +1,204 @@ +import { Order, Counterparty, orderFromJSON, orderToJSON } from "../../channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ +export interface QueryAppVersionRequest { + /** port unique identifier */ + portId: string; + + /** connection unique identifier */ + connectionId: string; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** proposed version */ + proposedVersion: string; +} + +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ +export interface QueryAppVersionResponse { + /** port id associated with the request identifiers */ + portId: string; + + /** supported app version */ + version: string; +} + +function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { + return { + portId: "", + connectionId: "", + ordering: 0, + counterparty: undefined, + proposedVersion: "" + }; +} + +export const QueryAppVersionRequest = { + encode(message: QueryAppVersionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.ordering !== 0) { + writer.uint32(24).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (message.proposedVersion !== "") { + writer.uint32(42).string(message.proposedVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.ordering = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.proposedVersion = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppVersionRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + proposedVersion: isSet(object.proposedVersion) ? String(object.proposedVersion) : "" + }; + }, + + toJSON(message: QueryAppVersionRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.proposedVersion !== undefined && (obj.proposedVersion = message.proposedVersion); + return obj; + }, + + fromPartial(object: Partial): QueryAppVersionRequest { + const message = createBaseQueryAppVersionRequest(); + message.portId = object.portId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.proposedVersion = object.proposedVersion ?? ""; + return message; + } + +}; + +function createBaseQueryAppVersionResponse(): QueryAppVersionResponse { + return { + portId: "", + version: "" + }; +} + +export const QueryAppVersionResponse = { + encode(message: QueryAppVersionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppVersionResponse { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + version: isSet(object.version) ? String(object.version) : "" + }; + }, + + toJSON(message: QueryAppVersionResponse): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.version !== undefined && (obj.version = message.version); + return obj; + }, + + fromPartial(object: Partial): QueryAppVersionResponse { + const message = createBaseQueryAppVersionResponse(); + message.portId = object.portId ?? ""; + message.version = object.version ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts new file mode 100644 index 000000000..6e53d2f99 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts @@ -0,0 +1,99 @@ +//@ts-nocheck +import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; +import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; +import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc module's genesis state. */ +export interface GenesisState { + /** ICS002 - Clients genesis state */ + clientGenesis: GenesisState1 | undefined; + + /** ICS003 - Connections genesis state */ + connectionGenesis: GenesisState2 | undefined; + + /** ICS004 - Channel genesis state */ + channelGenesis: GenesisState3 | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + clientGenesis: undefined, + connectionGenesis: undefined, + channelGenesis: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientGenesis !== undefined) { + GenesisState1.encode(message.clientGenesis, writer.uint32(10).fork()).ldelim(); + } + + if (message.connectionGenesis !== undefined) { + GenesisState2.encode(message.connectionGenesis, writer.uint32(18).fork()).ldelim(); + } + + if (message.channelGenesis !== undefined) { + GenesisState3.encode(message.channelGenesis, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clientGenesis = GenesisState1.decode(reader, reader.uint32()); + break; + + case 2: + message.connectionGenesis = GenesisState2.decode(reader, reader.uint32()); + break; + + case 3: + message.channelGenesis = GenesisState3.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + clientGenesis: isSet(object.clientGenesis) ? GenesisState1.fromJSON(object.clientGenesis) : undefined, + connectionGenesis: isSet(object.connectionGenesis) ? GenesisState2.fromJSON(object.connectionGenesis) : undefined, + channelGenesis: isSet(object.channelGenesis) ? GenesisState3.fromJSON(object.channelGenesis) : undefined + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + message.clientGenesis !== undefined && (obj.clientGenesis = message.clientGenesis ? GenesisState1.toJSON(message.clientGenesis) : undefined); + message.connectionGenesis !== undefined && (obj.connectionGenesis = message.connectionGenesis ? GenesisState2.toJSON(message.connectionGenesis) : undefined); + message.channelGenesis !== undefined && (obj.channelGenesis = message.channelGenesis ? GenesisState3.toJSON(message.channelGenesis) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; + message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState.fromPartial(object.connectionGenesis) : undefined; + message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState.fromPartial(object.channelGenesis) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lcd.ts b/examples/telescope-with-contracts/codegen/ibc/lcd.ts new file mode 100644 index 000000000..a94dfcf73 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/lcd.ts @@ -0,0 +1,107 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + client: { + v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + connection: { + v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts new file mode 100644 index 000000000..b45f245ca --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -0,0 +1,84 @@ +import { Height } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ +export interface ClientState { + /** self chain ID */ + chainId: string; + + /** self latest block height */ + height: Height | undefined; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + height: undefined + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + chainId: isSet(object.chainId) ? String(object.chainId) : "", + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.chainId !== undefined && (obj.chainId = message.chainId); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts new file mode 100644 index 000000000..e0d19c412 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -0,0 +1,1542 @@ +import { Any } from "../../../../google/protobuf/any"; +import { ConnectionEnd } from "../../../core/connection/v1/connection"; +import { Channel } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + default: + return "UNKNOWN"; + } +} + +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + + /** frozen sequence of the solo machine */ + frozenSequence: Long; + consensusState: ConsensusState | undefined; + + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + allowUpdateAfterProposal: boolean; +} + +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ +export interface ConsensusState { + /** public key of the solo machine */ + publicKey: Any | undefined; + + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} + +/** Header defines a solo machine consensus header */ +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey: Any | undefined; + newDiversifier: string; +} + +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne: SignatureAndData | undefined; + signatureTwo: SignatureAndData | undefined; +} + +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} + +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} + +/** SignBytes defines the signed bytes used for signature verification. */ +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + + /** type of the data used */ + dataType: DataType; + + /** marshaled data */ + data: Uint8Array; +} + +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderData { + /** header public key */ + newPubKey: Any | undefined; + + /** header diversifier */ + newDiversifier: string; +} + +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateData { + path: Uint8Array; + clientState: Any | undefined; +} + +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateData { + path: Uint8Array; + consensusState: Any | undefined; +} + +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateData { + path: Uint8Array; + connection: ConnectionEnd | undefined; +} + +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateData { + path: Uint8Array; + channel: Channel | undefined; +} + +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} + +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} + +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} + +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + frozenSequence: Long.UZERO, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.frozenSequence.isZero()) { + writer.uint32(16).uint64(message.frozenSequence); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.frozenSequence = (reader.uint64() as Long); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + frozenSequence: isSet(object.frozenSequence) ? Long.fromString(object.frozenSequence) : Long.UZERO, + consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, + allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.frozenSequence !== undefined && (obj.frozenSequence = (message.frozenSequence || Long.UZERO).toString()); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); + message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.frozenSequence = object.frozenSequence !== undefined && object.frozenSequence !== null ? Long.fromValue(object.frozenSequence) : Long.UZERO; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: Header): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, + signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); + message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureAndData { + return { + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: SignatureAndData): unknown { + const obj: any = {}; + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TimestampedSignatureData { + return { + signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: TimestampedSignatureData): unknown { + const obj: any = {}; + message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignBytes { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: SignBytes): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HeaderData { + return { + newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: HeaderData): unknown { + const obj: any = {}; + message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined + }; + }, + + toJSON(message: ClientStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined + }; + }, + + toJSON(message: ConsensusStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined + }; + }, + + toJSON(message: ConnectionStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ChannelStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined + }; + }, + + toJSON(message: ChannelStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + return obj; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketCommitmentData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() + }; + }, + + toJSON(message: PacketCommitmentData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketAcknowledgementData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() + }; + }, + + toJSON(message: PacketAcknowledgementData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketReceiptAbsenceData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() + }; + }, + + toJSON(message: PacketReceiptAbsenceData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NextSequenceRecvData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO + }; + }, + + toJSON(message: NextSequenceRecvData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts new file mode 100644 index 000000000..bc7f2d1cd --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -0,0 +1,1542 @@ +import { Any } from "../../../../google/protobuf/any"; +import { ConnectionEnd } from "../../../core/connection/v1/connection"; +import { Channel } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + default: + return "UNKNOWN"; + } +} + +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + + /** frozen sequence of the solo machine */ + isFrozen: boolean; + consensusState: ConsensusState | undefined; + + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + allowUpdateAfterProposal: boolean; +} + +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ +export interface ConsensusState { + /** public key of the solo machine */ + publicKey: Any | undefined; + + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} + +/** Header defines a solo machine consensus header */ +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey: Any | undefined; + newDiversifier: string; +} + +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne: SignatureAndData | undefined; + signatureTwo: SignatureAndData | undefined; +} + +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} + +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} + +/** SignBytes defines the signed bytes used for signature verification. */ +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + + /** type of the data used */ + dataType: DataType; + + /** marshaled data */ + data: Uint8Array; +} + +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderData { + /** header public key */ + newPubKey: Any | undefined; + + /** header diversifier */ + newDiversifier: string; +} + +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateData { + path: Uint8Array; + clientState: Any | undefined; +} + +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateData { + path: Uint8Array; + consensusState: Any | undefined; +} + +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateData { + path: Uint8Array; + connection: ConnectionEnd | undefined; +} + +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateData { + path: Uint8Array; + channel: Channel | undefined; +} + +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} + +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} + +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} + +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + isFrozen: false, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.isFrozen === true) { + writer.uint32(16).bool(message.isFrozen); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.isFrozen = reader.bool(); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + isFrozen: isSet(object.isFrozen) ? Boolean(object.isFrozen) : false, + consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, + allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.isFrozen !== undefined && (obj.isFrozen = message.isFrozen); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); + message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.isFrozen = object.isFrozen ?? false; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: Header): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, + signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); + message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureAndData { + return { + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: SignatureAndData): unknown { + const obj: any = {}; + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TimestampedSignatureData { + return { + signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: TimestampedSignatureData): unknown { + const obj: any = {}; + message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignBytes { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: SignBytes): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HeaderData { + return { + newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: HeaderData): unknown { + const obj: any = {}; + message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined + }; + }, + + toJSON(message: ClientStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined + }; + }, + + toJSON(message: ConsensusStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined + }; + }, + + toJSON(message: ConnectionStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ChannelStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined + }; + }, + + toJSON(message: ChannelStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + return obj; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketCommitmentData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() + }; + }, + + toJSON(message: PacketCommitmentData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketAcknowledgementData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() + }; + }, + + toJSON(message: PacketAcknowledgementData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketReceiptAbsenceData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() + }; + }, + + toJSON(message: PacketReceiptAbsenceData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NextSequenceRecvData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO + }; + }, + + toJSON(message: NextSequenceRecvData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts new file mode 100644 index 000000000..86d30d6d7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -0,0 +1,627 @@ +import { Duration } from "../../../../google/protobuf/duration"; +import { Height } from "../../../core/client/v1/client"; +import { ProofSpec } from "../../../../confio/proofs"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; +import { MerkleRoot } from "../../../core/commitment/v1/commitment"; +import { SignedHeader } from "../../../../tendermint/types/types"; +import { ValidatorSet } from "../../../../tendermint/types/validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ +export interface ClientState { + chainId: string; + trustLevel: Fraction | undefined; + + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + trustingPeriod: Duration | undefined; + + /** duration of the staking unbonding period */ + unbondingPeriod: Duration | undefined; + + /** defines how much new (untrusted) header's Time can drift into the future. */ + maxClockDrift: Duration | undefined; + + /** Block height when the client was frozen due to a misbehaviour */ + frozenHeight: Height | undefined; + + /** Latest height the client was updated to */ + latestHeight: Height | undefined; + + /** Proof specifications used in verifying counterparty state */ + proofSpecs: ProofSpec[]; + + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + upgradePath: string[]; + + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + allowUpdateAfterExpiry: boolean; + + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + allowUpdateAfterMisbehaviour: boolean; +} + +/** ConsensusState defines the consensus state from Tendermint. */ +export interface ConsensusState { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp: Date | undefined; + + /** commitment root (i.e app hash) */ + root: MerkleRoot | undefined; + nextValidatorsHash: Uint8Array; +} + +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ +export interface Misbehaviour { + clientId: string; + header_1: Header | undefined; + header_2: Header | undefined; +} + +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ +export interface Header { + signedHeader: SignedHeader | undefined; + validatorSet: ValidatorSet | undefined; + trustedHeight: Height | undefined; + trustedValidators: ValidatorSet | undefined; +} + +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ +export interface Fraction { + numerator: Long; + denominator: Long; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + trustLevel: undefined, + trustingPeriod: undefined, + unbondingPeriod: undefined, + maxClockDrift: undefined, + frozenHeight: undefined, + latestHeight: undefined, + proofSpecs: [], + upgradePath: [], + allowUpdateAfterExpiry: false, + allowUpdateAfterMisbehaviour: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.trustLevel !== undefined) { + Fraction.encode(message.trustLevel, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustingPeriod !== undefined) { + Duration.encode(message.trustingPeriod, writer.uint32(26).fork()).ldelim(); + } + + if (message.unbondingPeriod !== undefined) { + Duration.encode(message.unbondingPeriod, writer.uint32(34).fork()).ldelim(); + } + + if (message.maxClockDrift !== undefined) { + Duration.encode(message.maxClockDrift, writer.uint32(42).fork()).ldelim(); + } + + if (message.frozenHeight !== undefined) { + Height.encode(message.frozenHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.latestHeight !== undefined) { + Height.encode(message.latestHeight, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.proofSpecs) { + ProofSpec.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.upgradePath) { + writer.uint32(74).string(v!); + } + + if (message.allowUpdateAfterExpiry === true) { + writer.uint32(80).bool(message.allowUpdateAfterExpiry); + } + + if (message.allowUpdateAfterMisbehaviour === true) { + writer.uint32(88).bool(message.allowUpdateAfterMisbehaviour); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.trustLevel = Fraction.decode(reader, reader.uint32()); + break; + + case 3: + message.trustingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 4: + message.unbondingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 5: + message.maxClockDrift = Duration.decode(reader, reader.uint32()); + break; + + case 6: + message.frozenHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.latestHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofSpecs.push(ProofSpec.decode(reader, reader.uint32())); + break; + + case 9: + message.upgradePath.push(reader.string()); + break; + + case 10: + message.allowUpdateAfterExpiry = reader.bool(); + break; + + case 11: + message.allowUpdateAfterMisbehaviour = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + chainId: isSet(object.chainId) ? String(object.chainId) : "", + trustLevel: isSet(object.trustLevel) ? Fraction.fromJSON(object.trustLevel) : undefined, + trustingPeriod: isSet(object.trustingPeriod) ? Duration.fromJSON(object.trustingPeriod) : undefined, + unbondingPeriod: isSet(object.unbondingPeriod) ? Duration.fromJSON(object.unbondingPeriod) : undefined, + maxClockDrift: isSet(object.maxClockDrift) ? Duration.fromJSON(object.maxClockDrift) : undefined, + frozenHeight: isSet(object.frozenHeight) ? Height.fromJSON(object.frozenHeight) : undefined, + latestHeight: isSet(object.latestHeight) ? Height.fromJSON(object.latestHeight) : undefined, + proofSpecs: Array.isArray(object?.proofSpecs) ? object.proofSpecs.map((e: any) => ProofSpec.fromJSON(e)) : [], + upgradePath: Array.isArray(object?.upgradePath) ? object.upgradePath.map((e: any) => String(e)) : [], + allowUpdateAfterExpiry: isSet(object.allowUpdateAfterExpiry) ? Boolean(object.allowUpdateAfterExpiry) : false, + allowUpdateAfterMisbehaviour: isSet(object.allowUpdateAfterMisbehaviour) ? Boolean(object.allowUpdateAfterMisbehaviour) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.chainId !== undefined && (obj.chainId = message.chainId); + message.trustLevel !== undefined && (obj.trustLevel = message.trustLevel ? Fraction.toJSON(message.trustLevel) : undefined); + message.trustingPeriod !== undefined && (obj.trustingPeriod = message.trustingPeriod); + message.unbondingPeriod !== undefined && (obj.unbondingPeriod = message.unbondingPeriod); + message.maxClockDrift !== undefined && (obj.maxClockDrift = message.maxClockDrift); + message.frozenHeight !== undefined && (obj.frozenHeight = message.frozenHeight ? Height.toJSON(message.frozenHeight) : undefined); + message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight ? Height.toJSON(message.latestHeight) : undefined); + + if (message.proofSpecs) { + obj.proofSpecs = message.proofSpecs.map(e => e ? ProofSpec.toJSON(e) : undefined); + } else { + obj.proofSpecs = []; + } + + if (message.upgradePath) { + obj.upgradePath = message.upgradePath.map(e => e); + } else { + obj.upgradePath = []; + } + + message.allowUpdateAfterExpiry !== undefined && (obj.allowUpdateAfterExpiry = message.allowUpdateAfterExpiry); + message.allowUpdateAfterMisbehaviour !== undefined && (obj.allowUpdateAfterMisbehaviour = message.allowUpdateAfterMisbehaviour); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; + message.trustingPeriod = object.trustingPeriod ?? undefined; + message.unbondingPeriod = object.unbondingPeriod ?? undefined; + message.maxClockDrift = object.maxClockDrift ?? undefined; + message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; + message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; + message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; + message.upgradePath = object.upgradePath?.map(e => e) || []; + message.allowUpdateAfterExpiry = object.allowUpdateAfterExpiry ?? false; + message.allowUpdateAfterMisbehaviour = object.allowUpdateAfterMisbehaviour ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + timestamp: undefined, + root: undefined, + nextValidatorsHash: new Uint8Array() + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim(); + } + + if (message.root !== undefined) { + MerkleRoot.encode(message.root, writer.uint32(18).fork()).ldelim(); + } + + if (message.nextValidatorsHash.length !== 0) { + writer.uint32(26).bytes(message.nextValidatorsHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.root = MerkleRoot.decode(reader, reader.uint32()); + break; + + case 3: + message.nextValidatorsHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, + root: isSet(object.root) ? MerkleRoot.fromJSON(object.root) : undefined, + nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array() + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); + message.root !== undefined && (obj.root = message.root ? MerkleRoot.toJSON(message.root) : undefined); + message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.timestamp = object.timestamp ?? undefined; + message.root = object.root !== undefined && object.root !== null ? MerkleRoot.fromPartial(object.root) : undefined; + message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + header_1: undefined, + header_2: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header_1 !== undefined) { + Header.encode(message.header_1, writer.uint32(18).fork()).ldelim(); + } + + if (message.header_2 !== undefined) { + Header.encode(message.header_2, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header_1 = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.header_2 = Header.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + header_1: isSet(object.header_1) ? Header.fromJSON(object.header_1) : undefined, + header_2: isSet(object.header_2) ? Header.fromJSON(object.header_2) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.header_1 !== undefined && (obj.header_1 = message.header_1 ? Header.toJSON(message.header_1) : undefined); + message.header_2 !== undefined && (obj.header_2 = message.header_2 ? Header.toJSON(message.header_2) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.header_1 = object.header_1 !== undefined && object.header_1 !== null ? Header.fromPartial(object.header_1) : undefined; + message.header_2 = object.header_2 !== undefined && object.header_2 !== null ? Header.fromPartial(object.header_2) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + signedHeader: undefined, + validatorSet: undefined, + trustedHeight: undefined, + trustedValidators: undefined + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustedHeight !== undefined) { + Height.encode(message.trustedHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.trustedValidators !== undefined) { + ValidatorSet.encode(message.trustedValidators, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + case 3: + message.trustedHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.trustedValidators = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + signedHeader: isSet(object.signedHeader) ? SignedHeader.fromJSON(object.signedHeader) : undefined, + validatorSet: isSet(object.validatorSet) ? ValidatorSet.fromJSON(object.validatorSet) : undefined, + trustedHeight: isSet(object.trustedHeight) ? Height.fromJSON(object.trustedHeight) : undefined, + trustedValidators: isSet(object.trustedValidators) ? ValidatorSet.fromJSON(object.trustedValidators) : undefined + }; + }, + + toJSON(message: Header): 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); + message.trustedHeight !== undefined && (obj.trustedHeight = message.trustedHeight ? Height.toJSON(message.trustedHeight) : undefined); + message.trustedValidators !== undefined && (obj.trustedValidators = message.trustedValidators ? ValidatorSet.toJSON(message.trustedValidators) : undefined); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + message.trustedHeight = object.trustedHeight !== undefined && object.trustedHeight !== null ? Height.fromPartial(object.trustedHeight) : undefined; + message.trustedValidators = object.trustedValidators !== undefined && object.trustedValidators !== null ? ValidatorSet.fromPartial(object.trustedValidators) : undefined; + return message; + } + +}; + +function createBaseFraction(): Fraction { + return { + numerator: Long.UZERO, + denominator: Long.UZERO + }; +} + +export const Fraction = { + encode(message: Fraction, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.numerator.isZero()) { + writer.uint32(8).uint64(message.numerator); + } + + if (!message.denominator.isZero()) { + writer.uint32(16).uint64(message.denominator); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fraction { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFraction(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.numerator = (reader.uint64() as Long); + break; + + case 2: + message.denominator = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Fraction { + return { + numerator: isSet(object.numerator) ? Long.fromString(object.numerator) : Long.UZERO, + denominator: isSet(object.denominator) ? Long.fromString(object.denominator) : Long.UZERO + }; + }, + + toJSON(message: Fraction): unknown { + const obj: any = {}; + message.numerator !== undefined && (obj.numerator = (message.numerator || Long.UZERO).toString()); + message.denominator !== undefined && (obj.denominator = (message.denominator || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Fraction { + const message = createBaseFraction(); + message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; + message.denominator = object.denominator !== undefined && object.denominator !== null ? Long.fromValue(object.denominator) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts new file mode 100644 index 000000000..0568319fc --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts @@ -0,0 +1,76 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + client: { + v1: new (await import("./core/client/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + connection: { + v1: new (await import("./core/connection/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + port: { + v1: new (await import("./core/port/v1/query.rpc.query")).QueryClientImpl(rpc) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts b/examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts new file mode 100644 index 000000000..42f534440 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts @@ -0,0 +1,67 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + client: { + v1: new (await import("./core/client/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + connection: { + v1: new (await import("./core/connection/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ics23/bundle.ts b/examples/telescope-with-contracts/codegen/ics23/bundle.ts new file mode 100644 index 000000000..dcacaf237 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/ics23/bundle.ts @@ -0,0 +1,3 @@ +import * as _0 from "../confio/proofs"; +export const ics23 = { ..._0 +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/index.ts b/examples/telescope-with-contracts/codegen/index.ts index 9f561ae27..aad1545bb 100644 --- a/examples/telescope-with-contracts/codegen/index.ts +++ b/examples/telescope-with-contracts/codegen/index.ts @@ -4,5 +4,12 @@ * and run the transpile command or yarn proto command to regenerate this bundle. */ +export * from "./ics23/bundle"; +export * from "./cosmos_proto/bundle"; +export * from "./cosmos/bundle"; +export * from "./cosmwasm/bundle"; +export * from "./gogoproto/bundle"; export * from "./google/bundle"; +export * from "./ibc/bundle"; +export * from "./tendermint/bundle"; export * from "./contracts"; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/abci/types.ts b/examples/telescope-with-contracts/codegen/tendermint/abci/types.ts new file mode 100644 index 000000000..f341a1795 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/abci/types.ts @@ -0,0 +1,4372 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Header } from "../types/types"; +import { ProofOps } from "../crypto/proof"; +import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params"; +import { PublicKey } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export enum CheckTxType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} +export function checkTxTypeFromJSON(object: any): CheckTxType { + switch (object) { + case 0: + case "NEW": + return CheckTxType.NEW; + + case 1: + case "RECHECK": + return CheckTxType.RECHECK; + + case -1: + case "UNRECOGNIZED": + default: + return CheckTxType.UNRECOGNIZED; + } +} +export function checkTxTypeToJSON(object: CheckTxType): string { + switch (object) { + case CheckTxType.NEW: + return "NEW"; + + case CheckTxType.RECHECK: + return "RECHECK"; + + default: + return "UNKNOWN"; + } +} +export 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseOfferSnapshot_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseOfferSnapshot_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseOfferSnapshot_Result.ABORT; + + case 3: + case "REJECT": + return ResponseOfferSnapshot_Result.REJECT; + + case 4: + case "REJECT_FORMAT": + return ResponseOfferSnapshot_Result.REJECT_FORMAT; + + case 5: + case "REJECT_SENDER": + return ResponseOfferSnapshot_Result.REJECT_SENDER; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseOfferSnapshot_Result.UNRECOGNIZED; + } +} +export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string { + switch (object) { + case ResponseOfferSnapshot_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseOfferSnapshot_Result.ACCEPT: + return "ACCEPT"; + + case ResponseOfferSnapshot_Result.ABORT: + return "ABORT"; + + case ResponseOfferSnapshot_Result.REJECT: + return "REJECT"; + + case ResponseOfferSnapshot_Result.REJECT_FORMAT: + return "REJECT_FORMAT"; + + case ResponseOfferSnapshot_Result.REJECT_SENDER: + return "REJECT_SENDER"; + + default: + return "UNKNOWN"; + } +} +export 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseApplySnapshotChunk_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseApplySnapshotChunk_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseApplySnapshotChunk_Result.ABORT; + + case 3: + case "RETRY": + return ResponseApplySnapshotChunk_Result.RETRY; + + case 4: + case "RETRY_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT; + + case 5: + case "REJECT_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseApplySnapshotChunk_Result.UNRECOGNIZED; + } +} +export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string { + switch (object) { + case ResponseApplySnapshotChunk_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseApplySnapshotChunk_Result.ACCEPT: + return "ACCEPT"; + + case ResponseApplySnapshotChunk_Result.ABORT: + return "ABORT"; + + case ResponseApplySnapshotChunk_Result.RETRY: + return "RETRY"; + + case ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT: + return "RETRY_SNAPSHOT"; + + case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: + return "REJECT_SNAPSHOT"; + + default: + return "UNKNOWN"; + } +} +export enum EvidenceType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} +export function evidenceTypeFromJSON(object: any): EvidenceType { + switch (object) { + case 0: + case "UNKNOWN": + return EvidenceType.UNKNOWN; + + case 1: + case "DUPLICATE_VOTE": + return EvidenceType.DUPLICATE_VOTE; + + case 2: + case "LIGHT_CLIENT_ATTACK": + return EvidenceType.LIGHT_CLIENT_ATTACK; + + case -1: + case "UNRECOGNIZED": + default: + return EvidenceType.UNRECOGNIZED; + } +} +export function evidenceTypeToJSON(object: EvidenceType): string { + switch (object) { + case EvidenceType.UNKNOWN: + return "UNKNOWN"; + + case EvidenceType.DUPLICATE_VOTE: + return "DUPLICATE_VOTE"; + + case EvidenceType.LIGHT_CLIENT_ATTACK: + return "LIGHT_CLIENT_ATTACK"; + + default: + return "UNKNOWN"; + } +} +export interface Request { + echo?: RequestEcho | undefined; + flush?: RequestFlush | undefined; + info?: RequestInfo | undefined; + setOption?: RequestSetOption | undefined; + initChain?: RequestInitChain | undefined; + query?: RequestQuery | undefined; + beginBlock?: RequestBeginBlock | undefined; + checkTx?: RequestCheckTx | undefined; + deliverTx?: RequestDeliverTx | undefined; + endBlock?: RequestEndBlock | undefined; + commit?: RequestCommit | undefined; + listSnapshots?: RequestListSnapshots | undefined; + offerSnapshot?: RequestOfferSnapshot | undefined; + loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; + applySnapshotChunk?: RequestApplySnapshotChunk | undefined; +} +export interface RequestEcho { + message: string; +} +export interface RequestFlush {} +export interface RequestInfo { + version: string; + blockVersion: Long; + p2pVersion: Long; +} + +/** nondeterministic */ +export interface RequestSetOption { + key: string; + value: string; +} +export interface RequestInitChain { + time: Date | undefined; + chainId: string; + consensusParams: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appStateBytes: Uint8Array; + initialHeight: Long; +} +export interface RequestQuery { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} +export interface RequestBeginBlock { + hash: Uint8Array; + header: Header | undefined; + lastCommitInfo: LastCommitInfo | undefined; + byzantineValidators: Evidence[]; +} +export interface RequestCheckTx { + tx: Uint8Array; + type: CheckTxType; +} +export interface RequestDeliverTx { + tx: Uint8Array; +} +export interface RequestEndBlock { + height: Long; +} +export interface RequestCommit {} + +/** lists available snapshots */ +export interface RequestListSnapshots {} + +/** offers a snapshot to the application */ +export interface RequestOfferSnapshot { + /** snapshot offered by peers */ + snapshot: Snapshot | undefined; + + /** light client-verified app hash for snapshot height */ + appHash: Uint8Array; +} + +/** loads a snapshot chunk */ +export interface RequestLoadSnapshotChunk { + height: Long; + format: number; + chunk: number; +} + +/** Applies a snapshot chunk */ +export interface RequestApplySnapshotChunk { + index: number; + chunk: Uint8Array; + sender: string; +} +export interface Response { + exception?: ResponseException | undefined; + echo?: ResponseEcho | undefined; + flush?: ResponseFlush | undefined; + info?: ResponseInfo | undefined; + setOption?: ResponseSetOption | undefined; + initChain?: ResponseInitChain | undefined; + query?: ResponseQuery | undefined; + beginBlock?: ResponseBeginBlock | undefined; + checkTx?: ResponseCheckTx | undefined; + deliverTx?: ResponseDeliverTx | undefined; + endBlock?: ResponseEndBlock | undefined; + commit?: ResponseCommit | undefined; + listSnapshots?: ResponseListSnapshots | undefined; + offerSnapshot?: ResponseOfferSnapshot | undefined; + loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; + applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; +} + +/** nondeterministic */ +export interface ResponseException { + error: string; +} +export interface ResponseEcho { + message: string; +} +export interface ResponseFlush {} +export interface ResponseInfo { + data: string; + version: string; + appVersion: Long; + lastBlockHeight: Long; + lastBlockAppHash: Uint8Array; +} + +/** nondeterministic */ +export interface ResponseSetOption { + code: number; + + /** bytes data = 2; */ + log: string; + info: string; +} +export interface ResponseInitChain { + consensusParams: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appHash: 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 | undefined; + height: Long; + codespace: string; +} +export interface ResponseBeginBlock { + events: Event[]; +} +export interface ResponseCheckTx { + code: number; + data: Uint8Array; + + /** nondeterministic */ + log: string; + + /** nondeterministic */ + info: string; + gasWanted: Long; + gasUsed: Long; + events: Event[]; + codespace: string; +} +export interface ResponseDeliverTx { + code: number; + data: Uint8Array; + + /** nondeterministic */ + log: string; + + /** nondeterministic */ + info: string; + gasWanted: Long; + gasUsed: Long; + events: Event[]; + codespace: string; +} +export interface ResponseEndBlock { + validatorUpdates: ValidatorUpdate[]; + consensusParamUpdates: ConsensusParams | undefined; + events: Event[]; +} +export interface ResponseCommit { + /** reserve 1 */ + data: Uint8Array; + retainHeight: Long; +} +export interface ResponseListSnapshots { + snapshots: Snapshot[]; +} +export interface ResponseOfferSnapshot { + result: ResponseOfferSnapshot_Result; +} +export interface ResponseLoadSnapshotChunk { + chunk: Uint8Array; +} +export interface ResponseApplySnapshotChunk { + result: ResponseApplySnapshotChunk_Result; + + /** Chunks to refetch and reapply */ + refetchChunks: number[]; + + /** Chunk senders to reject and ban */ + rejectSenders: string[]; +} + +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ +export interface ConsensusParams { + block: BlockParams | undefined; + evidence: EvidenceParams | undefined; + validator: ValidatorParams | undefined; + version: VersionParams | undefined; +} + +/** BlockParams contains limits on the block size. */ +export interface BlockParams { + /** Note: must be greater than 0 */ + maxBytes: Long; + + /** Note: must be greater or equal to -1 */ + maxGas: Long; +} +export interface LastCommitInfo { + round: number; + votes: VoteInfo[]; +} + +/** + * 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[]; +} + +/** EventAttribute is a single key-value pair, associated with an event. */ +export interface EventAttribute { + key: Uint8Array; + value: Uint8Array; + + /** nondeterministic */ + 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 | undefined; +} + +/** 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; +} + +/** ValidatorUpdate */ +export interface ValidatorUpdate { + pubKey: PublicKey | undefined; + power: Long; +} + +/** VoteInfo */ +export interface VoteInfo { + validator: Validator | undefined; + signedLastBlock: boolean; +} +export interface Evidence { + type: EvidenceType; + + /** The offending validator */ + validator: Validator | undefined; + + /** The height when the offense occurred */ + height: Long; + + /** The corresponding time where the offense occurred */ + time: Date | undefined; + + /** + * 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 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; +} + +function createBaseRequest(): Request { + return { + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Request = { + encode(message: Request, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.echo !== undefined) { + RequestEcho.encode(message.echo, writer.uint32(10).fork()).ldelim(); + } + + if (message.flush !== undefined) { + RequestFlush.encode(message.flush, writer.uint32(18).fork()).ldelim(); + } + + if (message.info !== undefined) { + RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim(); + } + + if (message.query !== undefined) { + RequestQuery.encode(message.query, writer.uint32(50).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + RequestBeginBlock.encode(message.beginBlock, writer.uint32(58).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + RequestCheckTx.encode(message.checkTx, writer.uint32(66).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + RequestDeliverTx.encode(message.deliverTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + RequestEndBlock.encode(message.endBlock, writer.uint32(82).fork()).ldelim(); + } + + if (message.commit !== undefined) { + RequestCommit.encode(message.commit, writer.uint32(90).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + RequestListSnapshots.encode(message.listSnapshots, writer.uint32(98).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + RequestOfferSnapshot.encode(message.offerSnapshot, writer.uint32(106).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + RequestLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(114).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Request { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.echo = RequestEcho.decode(reader, reader.uint32()); + break; + + case 2: + message.flush = RequestFlush.decode(reader, reader.uint32()); + break; + + case 3: + message.info = RequestInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.setOption = RequestSetOption.decode(reader, reader.uint32()); + break; + + case 5: + message.initChain = RequestInitChain.decode(reader, reader.uint32()); + break; + + case 6: + message.query = RequestQuery.decode(reader, reader.uint32()); + break; + + case 7: + message.beginBlock = RequestBeginBlock.decode(reader, reader.uint32()); + break; + + case 8: + message.checkTx = RequestCheckTx.decode(reader, reader.uint32()); + break; + + case 9: + message.deliverTx = RequestDeliverTx.decode(reader, reader.uint32()); + break; + + case 10: + message.endBlock = RequestEndBlock.decode(reader, reader.uint32()); + break; + + case 11: + message.commit = RequestCommit.decode(reader, reader.uint32()); + break; + + case 12: + message.listSnapshots = RequestListSnapshots.decode(reader, reader.uint32()); + break; + + case 13: + message.offerSnapshot = RequestOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 14: + message.loadSnapshotChunk = RequestLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 15: + message.applySnapshotChunk = RequestApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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, + setOption: isSet(object.setOption) ? RequestSetOption.fromJSON(object.setOption) : 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 + }; + }, + + 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.setOption !== undefined && (obj.setOption = message.setOption ? RequestSetOption.toJSON(message.setOption) : 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); + return obj; + }, + + fromPartial(object: Partial): Request { + const message = createBaseRequest(); + message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? RequestFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? RequestInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? RequestSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? RequestInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? RequestQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? RequestBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? RequestCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? RequestDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? RequestEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? RequestCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? RequestListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? RequestOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? RequestLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseRequestEcho(): RequestEcho { + return { + message: "" + }; +} + +export const RequestEcho = { + encode(message: RequestEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseRequestFlush(): RequestFlush { + return {}; +} + +export const RequestFlush = { + encode(_: RequestFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestFlush { + return {}; + }, + + toJSON(_: RequestFlush): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestFlush { + const message = createBaseRequestFlush(); + return message; + } + +}; + +function createBaseRequestInfo(): RequestInfo { + return { + version: "", + blockVersion: Long.UZERO, + p2pVersion: Long.UZERO + }; +} + +export const RequestInfo = { + encode(message: RequestInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.version !== "") { + writer.uint32(10).string(message.version); + } + + if (!message.blockVersion.isZero()) { + writer.uint32(16).uint64(message.blockVersion); + } + + if (!message.p2pVersion.isZero()) { + writer.uint32(24).uint64(message.p2pVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.version = reader.string(); + break; + + case 2: + message.blockVersion = (reader.uint64() as Long); + break; + + case 3: + message.p2pVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestInfo { + return { + version: isSet(object.version) ? String(object.version) : "", + blockVersion: isSet(object.blockVersion) ? Long.fromString(object.blockVersion) : Long.UZERO, + p2pVersion: isSet(object.p2pVersion) ? Long.fromString(object.p2pVersion) : Long.UZERO + }; + }, + + toJSON(message: RequestInfo): unknown { + const obj: any = {}; + message.version !== undefined && (obj.version = message.version); + message.blockVersion !== undefined && (obj.blockVersion = (message.blockVersion || Long.UZERO).toString()); + message.p2pVersion !== undefined && (obj.p2pVersion = (message.p2pVersion || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestInfo { + const message = createBaseRequestInfo(); + message.version = object.version ?? ""; + message.blockVersion = object.blockVersion !== undefined && object.blockVersion !== null ? Long.fromValue(object.blockVersion) : Long.UZERO; + message.p2pVersion = object.p2pVersion !== undefined && object.p2pVersion !== null ? Long.fromValue(object.p2pVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseRequestSetOption(): RequestSetOption { + return { + key: "", + value: "" + }; +} + +export const RequestSetOption = { + encode(message: RequestSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestSetOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestSetOption { + return { + key: isSet(object.key) ? String(object.key) : "", + value: isSet(object.value) ? String(object.value) : "" + }; + }, + + toJSON(message: RequestSetOption): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = message.key); + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): RequestSetOption { + const message = createBaseRequestSetOption(); + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseRequestInitChain(): RequestInitChain { + return { + time: undefined, + chainId: "", + consensusParams: undefined, + validators: [], + appStateBytes: new Uint8Array(), + initialHeight: Long.ZERO + }; +} + +export const RequestInitChain = { + encode(message: RequestInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(18).string(message.chainId); + } + + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.appStateBytes.length !== 0) { + writer.uint32(42).bytes(message.appStateBytes); + } + + if (!message.initialHeight.isZero()) { + writer.uint32(48).int64(message.initialHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.chainId = reader.string(); + break; + + case 3: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 4: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 5: + message.appStateBytes = reader.bytes(); + break; + + case 6: + message.initialHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.initialHeight) : Long.ZERO + }; + }, + + toJSON(message: RequestInitChain): unknown { + const obj: any = {}; + message.time !== undefined && (obj.time = 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestInitChain { + const message = createBaseRequestInitChain(); + 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)) || []; + message.appStateBytes = object.appStateBytes ?? new Uint8Array(); + message.initialHeight = object.initialHeight !== undefined && object.initialHeight !== null ? Long.fromValue(object.initialHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestQuery(): RequestQuery { + return { + data: new Uint8Array(), + path: "", + height: Long.ZERO, + prove: false + }; +} + +export const RequestQuery = { + encode(message: RequestQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.prove === true) { + writer.uint32(32).bool(message.prove); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestQuery(); + + 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() as Long); + break; + + case 4: + message.prove = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.prove !== undefined && (obj.prove = message.prove); + return obj; + }, + + fromPartial(object: Partial): RequestQuery { + const message = createBaseRequestQuery(); + message.data = object.data ?? new Uint8Array(); + message.path = object.path ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.prove = object.prove ?? false; + return message; + } + +}; + +function createBaseRequestBeginBlock(): RequestBeginBlock { + return { + hash: new Uint8Array(), + header: undefined, + lastCommitInfo: undefined, + byzantineValidators: [] + }; +} + +export const RequestBeginBlock = { + encode(message: RequestBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastCommitInfo !== undefined) { + LastCommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.byzantineValidators) { + Evidence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.lastCommitInfo = LastCommitInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.byzantineValidators.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? LastCommitInfo.fromJSON(object.lastCommitInfo) : undefined, + byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Evidence.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 ? LastCommitInfo.toJSON(message.lastCommitInfo) : undefined); + + if (message.byzantineValidators) { + obj.byzantineValidators = message.byzantineValidators.map(e => e ? Evidence.toJSON(e) : undefined); + } else { + obj.byzantineValidators = []; + } + + return obj; + }, + + fromPartial(object: Partial): RequestBeginBlock { + const message = createBaseRequestBeginBlock(); + message.hash = object.hash ?? new Uint8Array(); + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.lastCommitInfo = object.lastCommitInfo !== undefined && object.lastCommitInfo !== null ? LastCommitInfo.fromPartial(object.lastCommitInfo) : undefined; + message.byzantineValidators = object.byzantineValidators?.map(e => Evidence.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseRequestCheckTx(): RequestCheckTx { + return { + tx: new Uint8Array(), + type: 0 + }; +} + +export const RequestCheckTx = { + encode(message: RequestCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + if (message.type !== 0) { + writer.uint32(16).int32(message.type); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + case 2: + message.type = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestCheckTx { + return { + tx: isSet(object.tx) ? bytesFromBase64(object.tx) : new Uint8Array(), + type: isSet(object.type) ? checkTxTypeFromJSON(object.type) : 0 + }; + }, + + 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(); + message.type = object.type ?? 0; + return message; + } + +}; + +function createBaseRequestDeliverTx(): RequestDeliverTx { + return { + tx: new Uint8Array() + }; +} + +export const RequestDeliverTx = { + encode(message: RequestDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseRequestEndBlock(): RequestEndBlock { + return { + height: Long.ZERO + }; +} + +export const RequestEndBlock = { + encode(message: RequestEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestEndBlock { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: RequestEndBlock): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestEndBlock { + const message = createBaseRequestEndBlock(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestCommit(): RequestCommit { + return {}; +} + +export const RequestCommit = { + encode(_: RequestCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestCommit { + return {}; + }, + + toJSON(_: RequestCommit): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestCommit { + const message = createBaseRequestCommit(); + return message; + } + +}; + +function createBaseRequestListSnapshots(): RequestListSnapshots { + return {}; +} + +export const RequestListSnapshots = { + encode(_: RequestListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestListSnapshots { + return {}; + }, + + toJSON(_: RequestListSnapshots): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestListSnapshots { + const message = createBaseRequestListSnapshots(); + return message; + } + +}; + +function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { + return { + snapshot: undefined, + appHash: new Uint8Array() + }; +} + +export const RequestOfferSnapshot = { + encode(message: RequestOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.snapshot !== undefined) { + Snapshot.encode(message.snapshot, writer.uint32(10).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(18).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshot = Snapshot.decode(reader, reader.uint32()); + break; + + case 2: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseRequestLoadSnapshotChunk(): RequestLoadSnapshotChunk { + return { + height: Long.UZERO, + format: 0, + chunk: 0 + }; +} + +export const RequestLoadSnapshotChunk = { + encode(message: RequestLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).uint64(message.height); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + if (message.chunk !== 0) { + writer.uint32(24).uint32(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.uint64() as Long); + break; + + case 2: + message.format = reader.uint32(); + break; + + case 3: + message.chunk = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestLoadSnapshotChunk { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunk = object.chunk ?? 0; + return message; + } + +}; + +function createBaseRequestApplySnapshotChunk(): RequestApplySnapshotChunk { + return { + index: 0, + chunk: new Uint8Array(), + sender: "" + }; +} + +export const RequestApplySnapshotChunk = { + encode(message: RequestApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.chunk.length !== 0) { + writer.uint32(18).bytes(message.chunk); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.chunk = reader.bytes(); + break; + + case 3: + message.sender = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.chunk = object.chunk ?? new Uint8Array(); + message.sender = object.sender ?? ""; + return message; + } + +}; + +function createBaseResponse(): Response { + return { + exception: undefined, + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Response = { + encode(message: Response, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exception !== undefined) { + ResponseException.encode(message.exception, writer.uint32(10).fork()).ldelim(); + } + + if (message.echo !== undefined) { + ResponseEcho.encode(message.echo, writer.uint32(18).fork()).ldelim(); + } + + if (message.flush !== undefined) { + ResponseFlush.encode(message.flush, writer.uint32(26).fork()).ldelim(); + } + + if (message.info !== undefined) { + ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim(); + } + + if (message.query !== undefined) { + ResponseQuery.encode(message.query, writer.uint32(58).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + ResponseBeginBlock.encode(message.beginBlock, writer.uint32(66).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + ResponseCheckTx.encode(message.checkTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + ResponseDeliverTx.encode(message.deliverTx, writer.uint32(82).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + ResponseEndBlock.encode(message.endBlock, writer.uint32(90).fork()).ldelim(); + } + + if (message.commit !== undefined) { + ResponseCommit.encode(message.commit, writer.uint32(98).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + ResponseListSnapshots.encode(message.listSnapshots, writer.uint32(106).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + ResponseOfferSnapshot.encode(message.offerSnapshot, writer.uint32(114).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + ResponseLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Response { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exception = ResponseException.decode(reader, reader.uint32()); + break; + + case 2: + message.echo = ResponseEcho.decode(reader, reader.uint32()); + break; + + case 3: + message.flush = ResponseFlush.decode(reader, reader.uint32()); + break; + + case 4: + message.info = ResponseInfo.decode(reader, reader.uint32()); + break; + + case 5: + message.setOption = ResponseSetOption.decode(reader, reader.uint32()); + break; + + case 6: + message.initChain = ResponseInitChain.decode(reader, reader.uint32()); + break; + + case 7: + message.query = ResponseQuery.decode(reader, reader.uint32()); + break; + + case 8: + message.beginBlock = ResponseBeginBlock.decode(reader, reader.uint32()); + break; + + case 9: + message.checkTx = ResponseCheckTx.decode(reader, reader.uint32()); + break; + + case 10: + message.deliverTx = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + case 11: + message.endBlock = ResponseEndBlock.decode(reader, reader.uint32()); + break; + + case 12: + message.commit = ResponseCommit.decode(reader, reader.uint32()); + break; + + case 13: + message.listSnapshots = ResponseListSnapshots.decode(reader, reader.uint32()); + break; + + case 14: + message.offerSnapshot = ResponseOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 15: + message.loadSnapshotChunk = ResponseLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 16: + message.applySnapshotChunk = ResponseApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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, + setOption: isSet(object.setOption) ? ResponseSetOption.fromJSON(object.setOption) : 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 + }; + }, + + 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.setOption !== undefined && (obj.setOption = message.setOption ? ResponseSetOption.toJSON(message.setOption) : 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); + return obj; + }, + + fromPartial(object: Partial): Response { + const message = createBaseResponse(); + message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; + message.echo = object.echo !== undefined && object.echo !== null ? ResponseEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? ResponseFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? ResponseInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? ResponseSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? ResponseInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? ResponseQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? ResponseBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? ResponseCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? ResponseDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? ResponseEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? ResponseCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? ResponseListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? ResponseOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? ResponseLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseResponseException(): ResponseException { + return { + error: "" + }; +} + +export const ResponseException = { + encode(message: ResponseException, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.error !== "") { + writer.uint32(10).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseException(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseResponseEcho(): ResponseEcho { + return { + message: "" + }; +} + +export const ResponseEcho = { + encode(message: ResponseEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseResponseFlush(): ResponseFlush { + return {}; +} + +export const ResponseFlush = { + encode(_: ResponseFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): ResponseFlush { + return {}; + }, + + toJSON(_: ResponseFlush): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): ResponseFlush { + const message = createBaseResponseFlush(); + return message; + } + +}; + +function createBaseResponseInfo(): ResponseInfo { + return { + data: "", + version: "", + appVersion: Long.UZERO, + lastBlockHeight: Long.ZERO, + lastBlockAppHash: new Uint8Array() + }; +} + +export const ResponseInfo = { + encode(message: ResponseInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data !== "") { + writer.uint32(10).string(message.data); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + if (!message.appVersion.isZero()) { + writer.uint32(24).uint64(message.appVersion); + } + + if (!message.lastBlockHeight.isZero()) { + writer.uint32(32).int64(message.lastBlockHeight); + } + + if (message.lastBlockAppHash.length !== 0) { + writer.uint32(42).bytes(message.lastBlockAppHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + case 3: + message.appVersion = (reader.uint64() as Long); + break; + + case 4: + message.lastBlockHeight = (reader.int64() as Long); + break; + + case 5: + message.lastBlockAppHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.appVersion) : Long.UZERO, + lastBlockHeight: isSet(object.lastBlockHeight) ? Long.fromString(object.lastBlockHeight) : Long.ZERO, + 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 || Long.UZERO).toString()); + message.lastBlockHeight !== undefined && (obj.lastBlockHeight = (message.lastBlockHeight || Long.ZERO).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 ?? ""; + message.version = object.version ?? ""; + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + message.lastBlockHeight = object.lastBlockHeight !== undefined && object.lastBlockHeight !== null ? Long.fromValue(object.lastBlockHeight) : Long.ZERO; + message.lastBlockAppHash = object.lastBlockAppHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseSetOption(): ResponseSetOption { + return { + code: 0, + log: "", + info: "" + }; +} + +export const ResponseSetOption = { + encode(message: ResponseSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseSetOption(); + + 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; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseSetOption { + return { + code: isSet(object.code) ? Number(object.code) : 0, + log: isSet(object.log) ? String(object.log) : "", + info: isSet(object.info) ? String(object.info) : "" + }; + }, + + toJSON(message: ResponseSetOption): 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); + return obj; + }, + + fromPartial(object: Partial): ResponseSetOption { + const message = createBaseResponseSetOption(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + return message; + } + +}; + +function createBaseResponseInitChain(): ResponseInitChain { + return { + consensusParams: undefined, + validators: [], + appHash: new Uint8Array() + }; +} + +export const ResponseInitChain = { + encode(message: ResponseInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(26).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 2: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 3: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validators = object.validators?.map(e => ValidatorUpdate.fromPartial(e)) || []; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseQuery(): ResponseQuery { + return { + code: 0, + log: "", + info: "", + index: Long.ZERO, + key: new Uint8Array(), + value: new Uint8Array(), + proofOps: undefined, + height: Long.ZERO, + codespace: "" + }; +} + +export const ResponseQuery = { + encode(message: ResponseQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + 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.isZero()) { + writer.uint32(72).int64(message.height); + } + + if (message.codespace !== "") { + writer.uint32(82).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseQuery(); + + 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() as Long); + 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() as Long); + break; + + case 10: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.index) : Long.ZERO, + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.codespace !== undefined && (obj.codespace = message.codespace); + return obj; + }, + + fromPartial(object: Partial): ResponseQuery { + const message = createBaseResponseQuery(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseBeginBlock(): ResponseBeginBlock { + return { + events: [] + }; +} + +export const ResponseBeginBlock = { + encode(message: ResponseBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + Event.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseResponseCheckTx(): ResponseCheckTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseCheckTx = { + encode(message: ResponseCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], + codespace: isSet(object.codespace) ? String(object.codespace) : "" + }; + }, + + 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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): ResponseCheckTx { + const message = createBaseResponseCheckTx(); + message.code = object.code ?? 0; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseDeliverTx(): ResponseDeliverTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseDeliverTx = { + encode(message: ResponseDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseEndBlock(): ResponseEndBlock { + return { + validatorUpdates: [], + consensusParamUpdates: undefined, + events: [] + }; +} + +export const ResponseEndBlock = { + encode(message: ResponseEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorUpdates) { + ValidatorUpdate.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusParamUpdates !== undefined) { + ConsensusParams.encode(message.consensusParamUpdates, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorUpdates.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 2: + message.consensusParamUpdates = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.consensusParamUpdates = object.consensusParamUpdates !== undefined && object.consensusParamUpdates !== null ? ConsensusParams.fromPartial(object.consensusParamUpdates) : undefined; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseResponseCommit(): ResponseCommit { + return { + data: new Uint8Array(), + retainHeight: Long.ZERO + }; +} + +export const ResponseCommit = { + encode(message: ResponseCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (!message.retainHeight.isZero()) { + writer.uint32(24).int64(message.retainHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.retainHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseCommit { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + retainHeight: isSet(object.retainHeight) ? Long.fromString(object.retainHeight) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ResponseCommit { + const message = createBaseResponseCommit(); + message.data = object.data ?? new Uint8Array(); + message.retainHeight = object.retainHeight !== undefined && object.retainHeight !== null ? Long.fromValue(object.retainHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseResponseListSnapshots(): ResponseListSnapshots { + return { + snapshots: [] + }; +} + +export const ResponseListSnapshots = { + encode(message: ResponseListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.snapshots) { + Snapshot.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshots.push(Snapshot.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseResponseOfferSnapshot(): ResponseOfferSnapshot { + return { + result: 0 + }; +} + +export const ResponseOfferSnapshot = { + encode(message: ResponseOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseOfferSnapshot { + return { + result: isSet(object.result) ? responseOfferSnapshot_ResultFromJSON(object.result) : 0 + }; + }, + + 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; + return message; + } + +}; + +function createBaseResponseLoadSnapshotChunk(): ResponseLoadSnapshotChunk { + return { + chunk: new Uint8Array() + }; +} + +export const ResponseLoadSnapshotChunk = { + encode(message: ResponseLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chunk.length !== 0) { + writer.uint32(10).bytes(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chunk = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseResponseApplySnapshotChunk(): ResponseApplySnapshotChunk { + return { + result: 0, + refetchChunks: [], + rejectSenders: [] + }; +} + +export const ResponseApplySnapshotChunk = { + encode(message: ResponseApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + writer.uint32(18).fork(); + + for (const v of message.refetchChunks) { + writer.uint32(v); + } + + writer.ldelim(); + + for (const v of message.rejectSenders) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.refetchChunks.push(reader.uint32()); + } + } else { + message.refetchChunks.push(reader.uint32()); + } + + break; + + case 3: + message.rejectSenders.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseApplySnapshotChunk { + return { + result: isSet(object.result) ? responseApplySnapshotChunk_ResultFromJSON(object.result) : 0, + 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; + message.refetchChunks = object.refetchChunks?.map(e => e) || []; + message.rejectSenders = object.rejectSenders?.map(e => e) || []; + return message; + } + +}; + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockParams { + return { + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, + maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO + }; + }, + + toJSON(message: BlockParams): unknown { + const obj: any = {}; + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + return message; + } + +}; + +function createBaseLastCommitInfo(): LastCommitInfo { + return { + round: 0, + votes: [] + }; +} + +export const LastCommitInfo = { + encode(message: LastCommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.round !== 0) { + writer.uint32(8).int32(message.round); + } + + for (const v of message.votes) { + VoteInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastCommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastCommitInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.round = reader.int32(); + break; + + case 2: + message.votes.push(VoteInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LastCommitInfo { + return { + round: isSet(object.round) ? Number(object.round) : 0, + votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [] + }; + }, + + toJSON(message: LastCommitInfo): 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): LastCommitInfo { + const message = createBaseLastCommitInfo(); + message.round = object.round ?? 0; + message.votes = object.votes?.map(e => VoteInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEvent(): Event { + return { + type: "", + attributes: [] + }; +} + +export const Event = { + encode(message: Event, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + EventAttribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Event { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(EventAttribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.attributes = object.attributes?.map(e => EventAttribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEventAttribute(): EventAttribute { + return { + key: new Uint8Array(), + value: new Uint8Array(), + index: false + }; +} + +export const EventAttribute = { + encode(message: EventAttribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.index === true) { + writer.uint32(24).bool(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventAttribute(); + + 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.index = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventAttribute { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + index: isSet(object.index) ? Boolean(object.index) : false + }; + }, + + toJSON(message: EventAttribute): 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.index !== undefined && (obj.index = message.index); + return obj; + }, + + fromPartial(object: Partial): EventAttribute { + const message = createBaseEventAttribute(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.index = object.index ?? false; + return message; + } + +}; + +function createBaseTxResult(): TxResult { + return { + height: Long.ZERO, + index: 0, + tx: new Uint8Array(), + result: undefined + }; +} + +export const TxResult = { + encode(message: TxResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.index !== 0) { + writer.uint32(16).uint32(message.index); + } + + if (message.tx.length !== 0) { + writer.uint32(26).bytes(message.tx); + } + + if (message.result !== undefined) { + ResponseDeliverTx.encode(message.result, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.index = reader.uint32(); + break; + + case 3: + message.tx = reader.bytes(); + break; + + case 4: + message.result = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TxResult { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.index = object.index ?? 0; + message.tx = object.tx ?? new Uint8Array(); + message.result = object.result !== undefined && object.result !== null ? ResponseDeliverTx.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + power: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 3: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Validator { + return { + address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorUpdate(): ValidatorUpdate { + return { + pubKey: undefined, + power: Long.ZERO + }; +} + +export const ValidatorUpdate = { + encode(message: ValidatorUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorUpdate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorUpdate { + return { + pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorUpdate { + const message = createBaseValidatorUpdate(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseVoteInfo(): VoteInfo { + return { + validator: undefined, + signedLastBlock: false + }; +} + +export const VoteInfo = { + encode(message: VoteInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + if (message.signedLastBlock === true) { + writer.uint32(16).bool(message.signedLastBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVoteInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 2: + message.signedLastBlock = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.signedLastBlock = object.signedLastBlock ?? false; + return message; + } + +}; + +function createBaseEvidence(): Evidence { + return { + type: 0, + validator: undefined, + height: Long.ZERO, + time: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(40).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Evidence { + return { + type: isSet(object.type) ? evidenceTypeFromJSON(object.type) : 0, + validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, + totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO + }; + }, + + toJSON(message: Evidence): unknown { + const obj: any = {}; + message.type !== undefined && (obj.type = evidenceTypeToJSON(message.type)); + message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + message.time !== undefined && (obj.time = message.time.toISOString()); + message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Evidence { + const message = createBaseEvidence(); + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: new Uint8Array() + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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.length !== 0) { + writer.uint32(42).bytes(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Snapshot { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunks = object.chunks ?? 0; + message.hash = object.hash ?? new Uint8Array(); + message.metadata = object.metadata ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/bundle.ts b/examples/telescope-with-contracts/codegen/tendermint/bundle.ts new file mode 100644 index 000000000..63e9a909d --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/bundle.ts @@ -0,0 +1,32 @@ +import * as _135 from "./abci/types"; +import * as _136 from "./crypto/keys"; +import * as _137 from "./crypto/proof"; +import * as _138 from "./libs/bits/types"; +import * as _139 from "./p2p/types"; +import * as _140 from "./types/block"; +import * as _141 from "./types/evidence"; +import * as _142 from "./types/params"; +import * as _143 from "./types/types"; +import * as _144 from "./types/validator"; +import * as _145 from "./version/types"; +export namespace tendermint { + export const abci = { ..._135 + }; + export const crypto = { ..._136, + ..._137 + }; + export namespace libs { + export const bits = { ..._138 + }; + } + export const p2p = { ..._139 + }; + export const types = { ..._140, + ..._141, + ..._142, + ..._143, + ..._144 + }; + export const version = { ..._145 + }; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts b/examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts new file mode 100644 index 000000000..344590142 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts @@ -0,0 +1,77 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** PublicKey defines the keys available for use with Tendermint Validators */ +export interface PublicKey { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} + +function createBasePublicKey(): PublicKey { + return { + ed25519: undefined, + secp256k1: undefined + }; +} + +export const PublicKey = { + encode(message: PublicKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ed25519 !== undefined) { + writer.uint32(10).bytes(message.ed25519); + } + + if (message.secp256k1 !== undefined) { + writer.uint32(18).bytes(message.secp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePublicKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ed25519 = reader.bytes(); + break; + + case 2: + message.secp256k1 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.secp256k1 = object.secp256k1 ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts b/examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts new file mode 100644 index 000000000..b75f5ec6a --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts @@ -0,0 +1,429 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export interface Proof { + total: Long; + index: Long; + leafHash: Uint8Array; + aunts: Uint8Array[]; +} +export interface ValueOp { + /** Encoded in ProofOp.Key. */ + key: Uint8Array; + + /** To encode in ProofOp.Data */ + proof: Proof | undefined; +} +export interface DominoOp { + 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; +} + +/** ProofOps is Merkle proof defined by the list of ProofOps */ +export interface ProofOps { + ops: ProofOp[]; +} + +function createBaseProof(): Proof { + return { + total: Long.ZERO, + index: Long.ZERO, + leafHash: new Uint8Array(), + aunts: [] + }; +} + +export const Proof = { + encode(message: Proof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.total.isZero()) { + writer.uint32(8).int64(message.total); + } + + if (!message.index.isZero()) { + writer.uint32(16).int64(message.index); + } + + if (message.leafHash.length !== 0) { + writer.uint32(26).bytes(message.leafHash); + } + + for (const v of message.aunts) { + writer.uint32(34).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = (reader.int64() as Long); + break; + + case 2: + message.index = (reader.int64() as Long); + break; + + case 3: + message.leafHash = reader.bytes(); + break; + + case 4: + message.aunts.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proof { + return { + total: isSet(object.total) ? Long.fromString(object.total) : Long.ZERO, + index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.total) : Long.ZERO; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + message.leafHash = object.leafHash ?? new Uint8Array(); + message.aunts = object.aunts?.map(e => e) || []; + return message; + } + +}; + +function createBaseValueOp(): ValueOp { + return { + key: new Uint8Array(), + proof: undefined + }; +} + +export const ValueOp = { + encode(message: ValueOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValueOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseDominoOp(): DominoOp { + return { + key: "", + input: "", + output: "" + }; +} + +export const DominoOp = { + encode(message: DominoOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.input !== "") { + writer.uint32(18).string(message.input); + } + + if (message.output !== "") { + writer.uint32(26).string(message.output); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDominoOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.input = reader.string(); + break; + + case 3: + message.output = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.input = object.input ?? ""; + message.output = object.output ?? ""; + return message; + } + +}; + +function createBaseProofOp(): ProofOp { + return { + type: "", + key: new Uint8Array(), + data: new Uint8Array() + }; +} + +export const ProofOp = { + encode(message: ProofOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ProofOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseProofOps(): ProofOps { + return { + ops: [] + }; +} + +export const ProofOps = { + encode(message: ProofOps, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.ops) { + ProofOp.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts b/examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts new file mode 100644 index 000000000..76319b490 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts @@ -0,0 +1,93 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; +export interface BitArray { + bits: Long; + elems: Long[]; +} + +function createBaseBitArray(): BitArray { + return { + bits: Long.ZERO, + elems: [] + }; +} + +export const BitArray = { + encode(message: BitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.bits.isZero()) { + writer.uint32(8).int64(message.bits); + } + + writer.uint32(18).fork(); + + for (const v of message.elems) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bits = (reader.int64() as Long); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.elems.push((reader.uint64() as Long)); + } + } else { + message.elems.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BitArray { + return { + bits: isSet(object.bits) ? Long.fromString(object.bits) : Long.ZERO, + elems: Array.isArray(object?.elems) ? object.elems.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: BitArray): unknown { + const obj: any = {}; + message.bits !== undefined && (obj.bits = (message.bits || Long.ZERO).toString()); + + if (message.elems) { + obj.elems = message.elems.map(e => (e || Long.UZERO).toString()); + } else { + obj.elems = []; + } + + return obj; + }, + + fromPartial(object: Partial): BitArray { + const message = createBaseBitArray(); + message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; + message.elems = object.elems?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts b/examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts new file mode 100644 index 000000000..131e862f7 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts @@ -0,0 +1,504 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +export interface ProtocolVersion { + p2p: Long; + block: Long; + app: Long; +} +export interface NodeInfo { + protocolVersion: ProtocolVersion | undefined; + nodeId: string; + listenAddr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other: NodeInfoOther | undefined; +} +export interface NodeInfoOther { + txIndex: string; + rpcAddress: string; +} +export interface PeerInfo { + id: string; + addressInfo: PeerAddressInfo[]; + lastConnected: Date | undefined; +} +export interface PeerAddressInfo { + address: string; + lastDialSuccess: Date | undefined; + lastDialFailure: Date | undefined; + dialFailures: number; +} + +function createBaseProtocolVersion(): ProtocolVersion { + return { + p2p: Long.UZERO, + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const ProtocolVersion = { + encode(message: ProtocolVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.p2p.isZero()) { + writer.uint32(8).uint64(message.p2p); + } + + if (!message.block.isZero()) { + writer.uint32(16).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(24).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProtocolVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.p2p = (reader.uint64() as Long); + break; + + case 2: + message.block = (reader.uint64() as Long); + break; + + case 3: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ProtocolVersion { + return { + p2p: isSet(object.p2p) ? Long.fromString(object.p2p) : Long.UZERO, + block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, + app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO + }; + }, + + toJSON(message: ProtocolVersion): unknown { + const obj: any = {}; + message.p2p !== undefined && (obj.p2p = (message.p2p || Long.UZERO).toString()); + message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); + message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ProtocolVersion { + const message = createBaseProtocolVersion(); + message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; + +function createBaseNodeInfo(): NodeInfo { + return { + protocolVersion: undefined, + nodeId: "", + listenAddr: "", + network: "", + version: "", + channels: new Uint8Array(), + moniker: "", + other: undefined + }; +} + +export const NodeInfo = { + encode(message: NodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.protocolVersion !== undefined) { + ProtocolVersion.encode(message.protocolVersion, writer.uint32(10).fork()).ldelim(); + } + + if (message.nodeId !== "") { + writer.uint32(18).string(message.nodeId); + } + + if (message.listenAddr !== "") { + writer.uint32(26).string(message.listenAddr); + } + + if (message.network !== "") { + writer.uint32(34).string(message.network); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.channels.length !== 0) { + writer.uint32(50).bytes(message.channels); + } + + if (message.moniker !== "") { + writer.uint32(58).string(message.moniker); + } + + if (message.other !== undefined) { + NodeInfoOther.encode(message.other, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocolVersion = ProtocolVersion.decode(reader, reader.uint32()); + break; + + case 2: + message.nodeId = reader.string(); + break; + + case 3: + message.listenAddr = reader.string(); + break; + + case 4: + message.network = reader.string(); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.channels = reader.bytes(); + break; + + case 7: + message.moniker = reader.string(); + break; + + case 8: + message.other = NodeInfoOther.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NodeInfo { + return { + protocolVersion: isSet(object.protocolVersion) ? ProtocolVersion.fromJSON(object.protocolVersion) : undefined, + nodeId: isSet(object.nodeId) ? String(object.nodeId) : "", + 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) ? NodeInfoOther.fromJSON(object.other) : undefined + }; + }, + + toJSON(message: NodeInfo): unknown { + const obj: any = {}; + message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion ? ProtocolVersion.toJSON(message.protocolVersion) : undefined); + message.nodeId !== undefined && (obj.nodeId = message.nodeId); + 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 ? NodeInfoOther.toJSON(message.other) : undefined); + return obj; + }, + + fromPartial(object: Partial): NodeInfo { + const message = createBaseNodeInfo(); + message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; + message.nodeId = object.nodeId ?? ""; + message.listenAddr = object.listenAddr ?? ""; + message.network = object.network ?? ""; + message.version = object.version ?? ""; + message.channels = object.channels ?? new Uint8Array(); + message.moniker = object.moniker ?? ""; + message.other = object.other !== undefined && object.other !== null ? NodeInfoOther.fromPartial(object.other) : undefined; + return message; + } + +}; + +function createBaseNodeInfoOther(): NodeInfoOther { + return { + txIndex: "", + rpcAddress: "" + }; +} + +export const NodeInfoOther = { + encode(message: NodeInfoOther, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txIndex !== "") { + writer.uint32(10).string(message.txIndex); + } + + if (message.rpcAddress !== "") { + writer.uint32(18).string(message.rpcAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfoOther { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfoOther(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txIndex = reader.string(); + break; + + case 2: + message.rpcAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NodeInfoOther { + return { + txIndex: isSet(object.txIndex) ? String(object.txIndex) : "", + rpcAddress: isSet(object.rpcAddress) ? String(object.rpcAddress) : "" + }; + }, + + toJSON(message: NodeInfoOther): unknown { + const obj: any = {}; + message.txIndex !== undefined && (obj.txIndex = message.txIndex); + message.rpcAddress !== undefined && (obj.rpcAddress = message.rpcAddress); + return obj; + }, + + fromPartial(object: Partial): NodeInfoOther { + const message = createBaseNodeInfoOther(); + message.txIndex = object.txIndex ?? ""; + message.rpcAddress = object.rpcAddress ?? ""; + return message; + } + +}; + +function createBasePeerInfo(): PeerInfo { + return { + id: "", + addressInfo: [], + lastConnected: undefined + }; +} + +export const PeerInfo = { + encode(message: PeerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + for (const v of message.addressInfo) { + PeerAddressInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastConnected !== undefined) { + Timestamp.encode(toTimestamp(message.lastConnected), writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.addressInfo.push(PeerAddressInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.lastConnected = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeerInfo { + return { + id: isSet(object.id) ? String(object.id) : "", + addressInfo: Array.isArray(object?.addressInfo) ? object.addressInfo.map((e: any) => PeerAddressInfo.fromJSON(e)) : [], + lastConnected: isSet(object.lastConnected) ? fromJsonTimestamp(object.lastConnected) : undefined + }; + }, + + toJSON(message: PeerInfo): unknown { + const obj: any = {}; + message.id !== undefined && (obj.id = message.id); + + if (message.addressInfo) { + obj.addressInfo = message.addressInfo.map(e => e ? PeerAddressInfo.toJSON(e) : undefined); + } else { + obj.addressInfo = []; + } + + message.lastConnected !== undefined && (obj.lastConnected = message.lastConnected.toISOString()); + return obj; + }, + + fromPartial(object: Partial): PeerInfo { + const message = createBasePeerInfo(); + message.id = object.id ?? ""; + message.addressInfo = object.addressInfo?.map(e => PeerAddressInfo.fromPartial(e)) || []; + message.lastConnected = object.lastConnected ?? undefined; + return message; + } + +}; + +function createBasePeerAddressInfo(): PeerAddressInfo { + return { + address: "", + lastDialSuccess: undefined, + lastDialFailure: undefined, + dialFailures: 0 + }; +} + +export const PeerAddressInfo = { + encode(message: PeerAddressInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.lastDialSuccess !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialSuccess), writer.uint32(18).fork()).ldelim(); + } + + if (message.lastDialFailure !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialFailure), writer.uint32(26).fork()).ldelim(); + } + + if (message.dialFailures !== 0) { + writer.uint32(32).uint32(message.dialFailures); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerAddressInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerAddressInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.lastDialSuccess = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.lastDialFailure = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.dialFailures = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeerAddressInfo { + return { + address: isSet(object.address) ? String(object.address) : "", + lastDialSuccess: isSet(object.lastDialSuccess) ? fromJsonTimestamp(object.lastDialSuccess) : undefined, + lastDialFailure: isSet(object.lastDialFailure) ? fromJsonTimestamp(object.lastDialFailure) : undefined, + dialFailures: isSet(object.dialFailures) ? Number(object.dialFailures) : 0 + }; + }, + + toJSON(message: PeerAddressInfo): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.lastDialSuccess !== undefined && (obj.lastDialSuccess = message.lastDialSuccess.toISOString()); + message.lastDialFailure !== undefined && (obj.lastDialFailure = message.lastDialFailure.toISOString()); + message.dialFailures !== undefined && (obj.dialFailures = Math.round(message.dialFailures)); + return obj; + }, + + fromPartial(object: Partial): PeerAddressInfo { + const message = createBasePeerAddressInfo(); + message.address = object.address ?? ""; + message.lastDialSuccess = object.lastDialSuccess ?? undefined; + message.lastDialFailure = object.lastDialFailure ?? undefined; + message.dialFailures = object.dialFailures ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/block.ts b/examples/telescope-with-contracts/codegen/tendermint/types/block.ts new file mode 100644 index 000000000..fdb181db9 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/types/block.ts @@ -0,0 +1,103 @@ +import { Header, Data, Commit } from "./types"; +import { EvidenceList } from "./evidence"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; +export interface Block { + header: Header | undefined; + data: Data | undefined; + evidence: EvidenceList | undefined; + lastCommit: Commit | undefined; +} + +function createBaseBlock(): Block { + return { + header: undefined, + data: undefined, + evidence: undefined, + lastCommit: undefined + }; +} + +export const Block = { + encode(message: Block, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Block { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts b/examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts new file mode 100644 index 000000000..acb465ecb --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts @@ -0,0 +1,378 @@ +import { Vote, LightBlock } from "./types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Validator } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +export interface Evidence { + duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; + lightClientAttackEvidence?: LightClientAttackEvidence | undefined; +} + +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ +export interface DuplicateVoteEvidence { + voteA: Vote | undefined; + voteB: Vote | undefined; + totalVotingPower: Long; + validatorPower: Long; + timestamp: Date | undefined; +} + +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ +export interface LightClientAttackEvidence { + conflictingBlock: LightBlock | undefined; + commonHeight: Long; + byzantineValidators: Validator[]; + totalVotingPower: Long; + timestamp: Date | undefined; +} +export interface EvidenceList { + evidence: Evidence[]; +} + +function createBaseEvidence(): Evidence { + return { + duplicateVoteEvidence: undefined, + lightClientAttackEvidence: undefined + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.duplicateVoteEvidence !== undefined) { + DuplicateVoteEvidence.encode(message.duplicateVoteEvidence, writer.uint32(10).fork()).ldelim(); + } + + if (message.lightClientAttackEvidence !== undefined) { + LightClientAttackEvidence.encode(message.lightClientAttackEvidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.duplicateVoteEvidence = DuplicateVoteEvidence.decode(reader, reader.uint32()); + break; + + case 2: + message.lightClientAttackEvidence = LightClientAttackEvidence.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.lightClientAttackEvidence = object.lightClientAttackEvidence !== undefined && object.lightClientAttackEvidence !== null ? LightClientAttackEvidence.fromPartial(object.lightClientAttackEvidence) : undefined; + return message; + } + +}; + +function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { + return { + voteA: undefined, + voteB: undefined, + totalVotingPower: Long.ZERO, + validatorPower: Long.ZERO, + timestamp: undefined + }; +} + +export const DuplicateVoteEvidence = { + encode(message: DuplicateVoteEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voteA !== undefined) { + Vote.encode(message.voteA, writer.uint32(10).fork()).ldelim(); + } + + if (message.voteB !== undefined) { + Vote.encode(message.voteB, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + if (!message.validatorPower.isZero()) { + writer.uint32(32).int64(message.validatorPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuplicateVoteEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voteA = Vote.decode(reader, reader.uint32()); + break; + + case 2: + message.voteB = Vote.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 4: + message.validatorPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO, + validatorPower: isSet(object.validatorPower) ? Long.fromString(object.validatorPower) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.validatorPower !== undefined && (obj.validatorPower = (message.validatorPower || Long.ZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = 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 ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.validatorPower = object.validatorPower !== undefined && object.validatorPower !== null ? Long.fromValue(object.validatorPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { + return { + conflictingBlock: undefined, + commonHeight: Long.ZERO, + byzantineValidators: [], + totalVotingPower: Long.ZERO, + timestamp: undefined + }; +} + +export const LightClientAttackEvidence = { + encode(message: LightClientAttackEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.conflictingBlock !== undefined) { + LightBlock.encode(message.conflictingBlock, writer.uint32(10).fork()).ldelim(); + } + + if (!message.commonHeight.isZero()) { + writer.uint32(16).int64(message.commonHeight); + } + + for (const v of message.byzantineValidators) { + Validator.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(32).int64(message.totalVotingPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightClientAttackEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.conflictingBlock = LightBlock.decode(reader, reader.uint32()); + break; + + case 2: + message.commonHeight = (reader.int64() as Long); + break; + + case 3: + message.byzantineValidators.push(Validator.decode(reader, reader.uint32())); + break; + + case 4: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LightClientAttackEvidence { + return { + conflictingBlock: isSet(object.conflictingBlock) ? LightBlock.fromJSON(object.conflictingBlock) : undefined, + commonHeight: isSet(object.commonHeight) ? Long.fromString(object.commonHeight) : Long.ZERO, + byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Validator.fromJSON(e)) : [], + totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = 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 ? Long.fromValue(object.commonHeight) : Long.ZERO; + message.byzantineValidators = object.byzantineValidators?.map(e => Validator.fromPartial(e)) || []; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseEvidenceList(): EvidenceList { + return { + evidence: [] + }; +} + +export const EvidenceList = { + encode(message: EvidenceList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Evidence.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceList(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.evidence.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/params.ts b/examples/telescope-with-contracts/codegen/tendermint/types/params.ts new file mode 100644 index 000000000..af175d89b --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/types/params.ts @@ -0,0 +1,531 @@ +import { Duration } from "../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ +export interface ConsensusParams { + block: BlockParams | undefined; + evidence: EvidenceParams | undefined; + validator: ValidatorParams | undefined; + version: VersionParams | undefined; +} + +/** 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; + + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + timeIotaMs: 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 | undefined; + + /** + * 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; +} + +/** + * ValidatorParams restrict the public key types validators can use. + * NOTE: uses ABCI pubkey naming, not Amino names. + */ +export interface ValidatorParams { + pubKeyTypes: string[]; +} + +/** VersionParams contains the ABCI application version. */ +export interface VersionParams { + appVersion: Long; +} + +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ +export interface HashedParams { + blockMaxBytes: Long; + blockMaxGas: Long; +} + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO, + timeIotaMs: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + if (!message.timeIotaMs.isZero()) { + writer.uint32(24).int64(message.timeIotaMs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + case 3: + message.timeIotaMs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockParams { + return { + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, + maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO, + timeIotaMs: isSet(object.timeIotaMs) ? Long.fromString(object.timeIotaMs) : Long.ZERO + }; + }, + + toJSON(message: BlockParams): unknown { + const obj: any = {}; + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); + message.timeIotaMs !== undefined && (obj.timeIotaMs = (message.timeIotaMs || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + message.timeIotaMs = object.timeIotaMs !== undefined && object.timeIotaMs !== null ? Long.fromValue(object.timeIotaMs) : Long.ZERO; + return message; + } + +}; + +function createBaseEvidenceParams(): EvidenceParams { + return { + maxAgeNumBlocks: Long.ZERO, + maxAgeDuration: undefined, + maxBytes: Long.ZERO + }; +} + +export const EvidenceParams = { + encode(message: EvidenceParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxAgeNumBlocks.isZero()) { + writer.uint32(8).int64(message.maxAgeNumBlocks); + } + + if (message.maxAgeDuration !== undefined) { + Duration.encode(message.maxAgeDuration, writer.uint32(18).fork()).ldelim(); + } + + if (!message.maxBytes.isZero()) { + writer.uint32(24).int64(message.maxBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxAgeNumBlocks = (reader.int64() as Long); + break; + + case 2: + message.maxAgeDuration = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.maxBytes = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EvidenceParams { + return { + maxAgeNumBlocks: isSet(object.maxAgeNumBlocks) ? Long.fromString(object.maxAgeNumBlocks) : Long.ZERO, + maxAgeDuration: isSet(object.maxAgeDuration) ? Duration.fromJSON(object.maxAgeDuration) : undefined, + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO + }; + }, + + toJSON(message: EvidenceParams): unknown { + const obj: any = {}; + message.maxAgeNumBlocks !== undefined && (obj.maxAgeNumBlocks = (message.maxAgeNumBlocks || Long.ZERO).toString()); + message.maxAgeDuration !== undefined && (obj.maxAgeDuration = message.maxAgeDuration); + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EvidenceParams { + const message = createBaseEvidenceParams(); + message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; + message.maxAgeDuration = object.maxAgeDuration ?? undefined; + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorParams(): ValidatorParams { + return { + pubKeyTypes: [] + }; +} + +export const ValidatorParams = { + encode(message: ValidatorParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pubKeyTypes) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKeyTypes.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseVersionParams(): VersionParams { + return { + appVersion: Long.UZERO + }; +} + +export const VersionParams = { + encode(message: VersionParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.appVersion.isZero()) { + writer.uint32(8).uint64(message.appVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersionParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.appVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): VersionParams { + return { + appVersion: isSet(object.appVersion) ? Long.fromString(object.appVersion) : Long.UZERO + }; + }, + + toJSON(message: VersionParams): unknown { + const obj: any = {}; + message.appVersion !== undefined && (obj.appVersion = (message.appVersion || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): VersionParams { + const message = createBaseVersionParams(); + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseHashedParams(): HashedParams { + return { + blockMaxBytes: Long.ZERO, + blockMaxGas: Long.ZERO + }; +} + +export const HashedParams = { + encode(message: HashedParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockMaxBytes.isZero()) { + writer.uint32(8).int64(message.blockMaxBytes); + } + + if (!message.blockMaxGas.isZero()) { + writer.uint32(16).int64(message.blockMaxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHashedParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockMaxBytes = (reader.int64() as Long); + break; + + case 2: + message.blockMaxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HashedParams { + return { + blockMaxBytes: isSet(object.blockMaxBytes) ? Long.fromString(object.blockMaxBytes) : Long.ZERO, + blockMaxGas: isSet(object.blockMaxGas) ? Long.fromString(object.blockMaxGas) : Long.ZERO + }; + }, + + toJSON(message: HashedParams): unknown { + const obj: any = {}; + message.blockMaxBytes !== undefined && (obj.blockMaxBytes = (message.blockMaxBytes || Long.ZERO).toString()); + message.blockMaxGas !== undefined && (obj.blockMaxGas = (message.blockMaxGas || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): HashedParams { + const message = createBaseHashedParams(); + message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; + message.blockMaxGas = object.blockMaxGas !== undefined && object.blockMaxGas !== null ? Long.fromValue(object.blockMaxGas) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/types.ts b/examples/telescope-with-contracts/codegen/tendermint/types/types.ts new file mode 100644 index 000000000..32fce40b4 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/types/types.ts @@ -0,0 +1,1506 @@ +import { Proof } from "../crypto/proof"; +import { Consensus } from "../version/types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { ValidatorSet } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** BlockIdFlag indicates which BlcokID the signature is for */ +export 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 function blockIDFlagFromJSON(object: any): BlockIDFlag { + switch (object) { + case 0: + case "BLOCK_ID_FLAG_UNKNOWN": + return BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN; + + case 1: + case "BLOCK_ID_FLAG_ABSENT": + return BlockIDFlag.BLOCK_ID_FLAG_ABSENT; + + case 2: + case "BLOCK_ID_FLAG_COMMIT": + return BlockIDFlag.BLOCK_ID_FLAG_COMMIT; + + case 3: + case "BLOCK_ID_FLAG_NIL": + return BlockIDFlag.BLOCK_ID_FLAG_NIL; + + case -1: + case "UNRECOGNIZED": + default: + return BlockIDFlag.UNRECOGNIZED; + } +} +export function blockIDFlagToJSON(object: BlockIDFlag): string { + switch (object) { + case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN: + return "BLOCK_ID_FLAG_UNKNOWN"; + + case BlockIDFlag.BLOCK_ID_FLAG_ABSENT: + return "BLOCK_ID_FLAG_ABSENT"; + + case BlockIDFlag.BLOCK_ID_FLAG_COMMIT: + return "BLOCK_ID_FLAG_COMMIT"; + + case BlockIDFlag.BLOCK_ID_FLAG_NIL: + return "BLOCK_ID_FLAG_NIL"; + + default: + return "UNKNOWN"; + } +} + +/** SignedMsgType is a type of signed message in the consensus. */ +export 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { + switch (object) { + case 0: + case "SIGNED_MSG_TYPE_UNKNOWN": + return SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN; + + case 1: + case "SIGNED_MSG_TYPE_PREVOTE": + return SignedMsgType.SIGNED_MSG_TYPE_PREVOTE; + + case 2: + case "SIGNED_MSG_TYPE_PRECOMMIT": + return SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT; + + case 32: + case "SIGNED_MSG_TYPE_PROPOSAL": + return SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL; + + case -1: + case "UNRECOGNIZED": + default: + return SignedMsgType.UNRECOGNIZED; + } +} +export function signedMsgTypeToJSON(object: SignedMsgType): string { + switch (object) { + case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN: + return "SIGNED_MSG_TYPE_UNKNOWN"; + + case SignedMsgType.SIGNED_MSG_TYPE_PREVOTE: + return "SIGNED_MSG_TYPE_PREVOTE"; + + case SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT: + return "SIGNED_MSG_TYPE_PRECOMMIT"; + + case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: + return "SIGNED_MSG_TYPE_PROPOSAL"; + + default: + return "UNKNOWN"; + } +} + +/** PartsetHeader */ +export interface PartSetHeader { + total: number; + hash: Uint8Array; +} +export interface Part { + index: number; + bytes: Uint8Array; + proof: Proof | undefined; +} + +/** BlockID */ +export interface BlockID { + hash: Uint8Array; + partSetHeader: PartSetHeader | undefined; +} + +/** Header defines the structure of a Tendermint block header. */ +export interface Header { + /** basic block info */ + version: Consensus | undefined; + chainId: string; + height: Long; + time: Date | undefined; + + /** prev block info */ + lastBlockId: BlockID | undefined; + + /** 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; +} + +/** 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[]; +} + +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ +export interface Vote { + type: SignedMsgType; + height: Long; + round: number; + + /** zero if vote is nil. */ + blockId: BlockID | undefined; + timestamp: Date | undefined; + validatorAddress: Uint8Array; + validatorIndex: 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 | undefined; + signatures: CommitSig[]; +} + +/** CommitSig is a part of the Vote included in a Commit. */ +export interface CommitSig { + blockIdFlag: BlockIDFlag; + validatorAddress: Uint8Array; + timestamp: Date | undefined; + signature: Uint8Array; +} +export interface Proposal { + type: SignedMsgType; + height: Long; + round: number; + polRound: number; + blockId: BlockID | undefined; + timestamp: Date | undefined; + signature: Uint8Array; +} +export interface SignedHeader { + header: Header | undefined; + commit: Commit | undefined; +} +export interface LightBlock { + signedHeader: SignedHeader | undefined; + validatorSet: ValidatorSet | undefined; +} +export interface BlockMeta { + blockId: BlockID | undefined; + blockSize: Long; + header: Header | undefined; + numTxs: 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 | undefined; +} + +function createBasePartSetHeader(): PartSetHeader { + return { + total: 0, + hash: new Uint8Array() + }; +} + +export const PartSetHeader = { + encode(message: PartSetHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.total !== 0) { + writer.uint32(8).uint32(message.total); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePartSetHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = reader.uint32(); + break; + + case 2: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBasePart(): Part { + return { + index: 0, + bytes: new Uint8Array(), + proof: undefined + }; +} + +export const Part = { + encode(message: Part, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.bytes.length !== 0) { + writer.uint32(18).bytes(message.bytes); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Part { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.bytes = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.bytes = object.bytes ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseBlockID(): BlockID { + return { + hash: new Uint8Array(), + partSetHeader: undefined + }; +} + +export const BlockID = { + encode(message: BlockID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.partSetHeader !== undefined) { + PartSetHeader.encode(message.partSetHeader, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockID(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.partSetHeader = PartSetHeader.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.partSetHeader = object.partSetHeader !== undefined && object.partSetHeader !== null ? PartSetHeader.fromPartial(object.partSetHeader) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + version: undefined, + chainId: "", + height: Long.ZERO, + time: undefined, + lastBlockId: undefined, + 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: new Uint8Array() + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(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.length !== 0) { + writer.uint32(114).bytes(message.proposerAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.time = fromTimestamp(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.bytes(); + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.time !== undefined && (obj.time = 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 ? Long.fromValue(object.height) : Long.ZERO; + 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(); + 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 ?? new Uint8Array(); + return message; + } + +}; + +function createBaseData(): Data { + return { + txs: [] + }; +} + +export const Data = { + encode(message: Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + type: 0, + height: Long.ZERO, + round: 0, + blockId: undefined, + timestamp: undefined, + validatorAddress: new Uint8Array(), + validatorIndex: 0, + signature: new Uint8Array() + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(50).bytes(message.validatorAddress); + } + + if (message.validatorIndex !== 0) { + writer.uint32(56).int32(message.validatorIndex); + } + + if (message.signature.length !== 0) { + writer.uint32(66).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAddress = reader.bytes(); + break; + + case 7: + message.validatorIndex = reader.int32(); + break; + + case 8: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 = 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 ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.timestamp = object.timestamp ?? undefined; + message.validatorAddress = object.validatorAddress ?? new Uint8Array(); + message.validatorIndex = object.validatorIndex ?? 0; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseCommit(): Commit { + return { + height: Long.ZERO, + round: 0, + blockId: undefined, + signatures: [] + }; +} + +export const Commit = { + encode(message: Commit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(16).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.signatures) { + CommitSig.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.round = reader.int32(); + break; + + case 3: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 4: + message.signatures.push(CommitSig.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Commit { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.signatures = object.signatures?.map(e => CommitSig.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommitSig(): CommitSig { + return { + blockIdFlag: 0, + validatorAddress: new Uint8Array(), + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const CommitSig = { + encode(message: CommitSig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockIdFlag !== 0) { + writer.uint32(8).int32(message.blockIdFlag); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(18).bytes(message.validatorAddress); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(34).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitSig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockIdFlag = (reader.int32() as any); + break; + + case 2: + message.validatorAddress = reader.bytes(); + break; + + case 3: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CommitSig { + return { + blockIdFlag: isSet(object.blockIdFlag) ? blockIDFlagFromJSON(object.blockIdFlag) : 0, + 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 = 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + type: 0, + height: Long.ZERO, + round: 0, + polRound: 0, + blockId: undefined, + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.polRound !== 0) { + writer.uint32(32).int32(message.polRound); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(58).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.polRound = reader.int32(); + break; + + case 5: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 6: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 = 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; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignedHeader(): SignedHeader { + return { + header: undefined, + commit: undefined + }; +} + +export const SignedHeader = { + encode(message: SignedHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + if (message.commit !== undefined) { + Commit.encode(message.commit, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignedHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.commit = Commit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.commit = object.commit !== undefined && object.commit !== null ? Commit.fromPartial(object.commit) : undefined; + return message; + } + +}; + +function createBaseLightBlock(): LightBlock { + return { + signedHeader: undefined, + validatorSet: undefined + }; +} + +export const LightBlock = { + encode(message: LightBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + return message; + } + +}; + +function createBaseBlockMeta(): BlockMeta { + return { + blockId: undefined, + blockSize: Long.ZERO, + header: undefined, + numTxs: Long.ZERO + }; +} + +export const BlockMeta = { + encode(message: BlockMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (!message.blockSize.isZero()) { + writer.uint32(16).int64(message.blockSize); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(26).fork()).ldelim(); + } + + if (!message.numTxs.isZero()) { + writer.uint32(32).int64(message.numTxs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockMeta(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 2: + message.blockSize = (reader.int64() as Long); + break; + + case 3: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 4: + message.numTxs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockMeta { + return { + blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, + blockSize: isSet(object.blockSize) ? Long.fromString(object.blockSize) : Long.ZERO, + header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, + numTxs: isSet(object.numTxs) ? Long.fromString(object.numTxs) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); + message.numTxs !== undefined && (obj.numTxs = (message.numTxs || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockMeta { + const message = createBaseBlockMeta(); + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.blockSize = object.blockSize !== undefined && object.blockSize !== null ? Long.fromValue(object.blockSize) : Long.ZERO; + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.numTxs = object.numTxs !== undefined && object.numTxs !== null ? Long.fromValue(object.numTxs) : Long.ZERO; + return message; + } + +}; + +function createBaseTxProof(): TxProof { + return { + rootHash: new Uint8Array(), + data: new Uint8Array(), + proof: undefined + }; +} + +export const TxProof = { + encode(message: TxProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rootHash.length !== 0) { + writer.uint32(10).bytes(message.rootHash); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rootHash = reader.bytes(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.data = object.data ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/validator.ts b/examples/telescope-with-contracts/codegen/tendermint/types/validator.ts new file mode 100644 index 000000000..28963e1bd --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/types/validator.ts @@ -0,0 +1,267 @@ +import { PublicKey } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export interface ValidatorSet { + validators: Validator[]; + proposer: Validator | undefined; + totalVotingPower: Long; +} +export interface Validator { + address: Uint8Array; + pubKey: PublicKey | undefined; + votingPower: Long; + proposerPriority: Long; +} +export interface SimpleValidator { + pubKey: PublicKey | undefined; + votingPower: Long; +} + +function createBaseValidatorSet(): ValidatorSet { + return { + validators: [], + proposer: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const ValidatorSet = { + encode(message: ValidatorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.proposer !== undefined) { + Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 2: + message.proposer = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorSet { + const message = createBaseValidatorSet(); + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.proposer = object.proposer !== undefined && object.proposer !== null ? Validator.fromPartial(object.proposer) : undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 2: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 3: + message.votingPower = (reader.int64() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.votingPower) : Long.ZERO, + proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseSimpleValidator(): SimpleValidator { + return { + pubKey: undefined, + votingPower: Long.ZERO + }; +} + +export const SimpleValidator = { + encode(message: SimpleValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(16).int64(message.votingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimpleValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.votingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SimpleValidator { + return { + pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, + votingPower: isSet(object.votingPower) ? Long.fromString(object.votingPower) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SimpleValidator { + const message = createBaseSimpleValidator(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/version/types.ts b/examples/telescope-with-contracts/codegen/tendermint/version/types.ts new file mode 100644 index 000000000..50b49b343 --- /dev/null +++ b/examples/telescope-with-contracts/codegen/tendermint/version/types.ts @@ -0,0 +1,160 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBaseApp(): App { + return { + protocol: Long.UZERO, + software: "" + }; +} + +export const App = { + encode(message: App, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.protocol.isZero()) { + writer.uint32(8).uint64(message.protocol); + } + + if (message.software !== "") { + writer.uint32(18).string(message.software); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): App { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseApp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocol = (reader.uint64() as Long); + break; + + case 2: + message.software = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): App { + return { + protocol: isSet(object.protocol) ? Long.fromString(object.protocol) : Long.UZERO, + software: isSet(object.software) ? String(object.software) : "" + }; + }, + + toJSON(message: App): unknown { + const obj: any = {}; + message.protocol !== undefined && (obj.protocol = (message.protocol || Long.UZERO).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 ? Long.fromValue(object.protocol) : Long.UZERO; + message.software = object.software ?? ""; + return message; + } + +}; + +function createBaseConsensus(): Consensus { + return { + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const Consensus = { + encode(message: Consensus, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.block.isZero()) { + writer.uint32(8).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(16).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Consensus { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensus(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = (reader.uint64() as Long); + break; + + case 2: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Consensus { + return { + block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, + app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO + }; + }, + + toJSON(message: Consensus): unknown { + const obj: any = {}; + message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); + message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Consensus { + const message = createBaseConsensus(); + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 69d5632bb..1c578236a 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -29,6 +29,9 @@ "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", "@osmonauts/telescope": "0.18.7", + "@protobufs/cosmos": "^0.0.11", + "@protobufs/cosmwasm": "^0.0.11", + "@protobufs/ibc": "^0.0.11", "@types/node": "18.7.11", "@types/react": "18.0.17", "@types/react-dom": "18.0.6", @@ -36,4 +39,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/confio/LICENSE b/examples/telescope-with-contracts/proto/confio/LICENSE new file mode 100644 index 000000000..deaad1f50 --- /dev/null +++ b/examples/telescope-with-contracts/proto/confio/LICENSE @@ -0,0 +1,204 @@ +Confio/ICS23 +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Confio UO + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/confio/README.md b/examples/telescope-with-contracts/proto/confio/README.md new file mode 100644 index 000000000..af52fb63a --- /dev/null +++ b/examples/telescope-with-contracts/proto/confio/README.md @@ -0,0 +1 @@ +# confio \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/confio/proofs.proto b/examples/telescope-with-contracts/proto/confio/proofs.proto new file mode 100644 index 000000000..da43503ec --- /dev/null +++ b/examples/telescope-with-contracts/proto/confio/proofs.proto @@ -0,0 +1,234 @@ +syntax = "proto3"; + +package ics23; +option go_package = "github.com/confio/ics23/go"; + +enum HashOp { + // NO_HASH is the default if no data passed. Note this is an illegal argument some places. + NO_HASH = 0; + SHA256 = 1; + SHA512 = 2; + KECCAK = 3; + RIPEMD160 = 4; + BITCOIN = 5; // ripemd160(sha256(x)) +} + +/** +LengthOp defines how to process the key and value of the LeafOp +to include length information. After encoding the length with the given +algorithm, the length will be prepended to the key and value bytes. +(Each one with it's own encoded length) +*/ +enum LengthOp { + // NO_PREFIX don't include any length info + NO_PREFIX = 0; + // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length + VAR_PROTO = 1; + // VAR_RLP uses rlp int encoding of the length + VAR_RLP = 2; + // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer + FIXED32_BIG = 3; + // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer + FIXED32_LITTLE = 4; + // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer + FIXED64_BIG = 5; + // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer + FIXED64_LITTLE = 6; + // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) + REQUIRE_32_BYTES = 7; + // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) + REQUIRE_64_BYTES = 8; +} + +/** +ExistenceProof takes a key and a value and a set of steps to perform on it. +The result of peforming all these steps will provide a "root hash", which can +be compared to the value in a header. + +Since it is computationally infeasible to produce a hash collission for any of the used +cryptographic hash functions, if someone can provide a series of operations to transform +a given key and value into a root hash that matches some trusted root, these key and values +must be in the referenced merkle tree. + +The only possible issue is maliablity in LeafOp, such as providing extra prefix data, +which should be controlled by a spec. Eg. with lengthOp as NONE, + prefix = FOO, key = BAR, value = CHOICE +and + prefix = F, key = OOBAR, value = CHOICE +would produce the same value. + +With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field +in the ProofSpec is valuable to prevent this mutability. And why all trees should +length-prefix the data before hashing it. +*/ +message ExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + repeated InnerOp path = 4; +} + +/* +NonExistenceProof takes a proof of two neighbors, one left of the desired key, +one right of the desired key. If both proofs are valid AND they are neighbors, +then there is no valid proof for the given key. +*/ +message NonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + ExistenceProof left = 2; + ExistenceProof right = 3; +} + +/* +CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages +*/ +message CommitmentProof { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + BatchProof batch = 3; + CompressedBatchProof compressed = 4; + } +} + +/** +LeafOp represents the raw key-value data we wish to prove, and +must be flexible to represent the internal transformation from +the original key-value pairs into the basis hash, for many existing +merkle trees. + +key and value are passed in. So that the signature of this operation is: + leafOp(key, value) -> output + +To process this, first prehash the keys and values if needed (ANY means no hash in this case): + hkey = prehashKey(key) + hvalue = prehashValue(value) + +Then combine the bytes, and hash it + output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) +*/ +message LeafOp { + HashOp hash = 1; + HashOp prehash_key = 2; + HashOp prehash_value = 3; + LengthOp length = 4; + // prefix is a fixed bytes that may optionally be included at the beginning to differentiate + // a leaf node from an inner node. + bytes prefix = 5; +} + +/** +InnerOp represents a merkle-proof step that is not a leaf. +It represents concatenating two children and hashing them to provide the next result. + +The result of the previous step is passed in, so the signature of this op is: + innerOp(child) -> output + +The result of applying InnerOp should be: + output = op.hash(op.prefix || child || op.suffix) + + where the || operator is concatenation of binary data, +and child is the result of hashing all the tree below this step. + +Any special data, like prepending child with the length, or prepending the entire operation with +some value to differentiate from leaf nodes, should be included in prefix and suffix. +If either of prefix or suffix is empty, we just treat it as an empty string +*/ +message InnerOp { + HashOp hash = 1; + bytes prefix = 2; + bytes suffix = 3; +} + + +/** +ProofSpec defines what the expected parameters are for a given proof type. +This can be stored in the client and used to validate any incoming proofs. + + verify(ProofSpec, Proof) -> Proof | Error + +As demonstrated in tests, if we don't fix the algorithm used to calculate the +LeafHash for a given tree, there are many possible key-value pairs that can +generate a given hash (by interpretting the preimage differently). +We need this for proper security, requires client knows a priori what +tree format server uses. But not in code, rather a configuration object. +*/ +message ProofSpec { + // any field in the ExistenceProof must be the same as in this spec. + // except Prefix, which is just the first bytes of prefix (spec can be longer) + LeafOp leaf_spec = 1; + InnerSpec inner_spec = 2; + // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) + int32 max_depth = 3; + // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) + int32 min_depth = 4; +} + +/* +InnerSpec contains all store-specific structure info to determine if two proofs from a +given store are neighbors. + +This enables: + + isLeftMost(spec: InnerSpec, op: InnerOp) + isRightMost(spec: InnerSpec, op: InnerOp) + isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) +*/ +message InnerSpec { + // Child order is the ordering of the children node, must count from 0 + // iavl tree is [0, 1] (left then right) + // merk is [0, 2, 1] (left, right, here) + repeated int32 child_order = 1; + int32 child_size = 2; + int32 min_prefix_length = 3; + int32 max_prefix_length = 4; + // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) + bytes empty_child = 5; + // hash is the algorithm that must be used for each InnerOp + HashOp hash = 6; +} + +/* +BatchProof is a group of multiple proof types than can be compressed +*/ +message BatchProof { + repeated BatchEntry entries = 1; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message BatchEntry { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + } +} + + +/****** all items here are compressed forms *******/ + +message CompressedBatchProof { + repeated CompressedBatchEntry entries = 1; + repeated InnerOp lookup_inners = 2; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message CompressedBatchEntry { + oneof proof { + CompressedExistenceProof exist = 1; + CompressedNonExistenceProof nonexist = 2; + } +} + +message CompressedExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + // these are indexes into the lookup_inners table in CompressedBatchProof + repeated int32 path = 4; +} + +message CompressedNonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + CompressedExistenceProof left = 2; + CompressedExistenceProof right = 3; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/LICENSE b/examples/telescope-with-contracts/proto/cosmos/LICENSE new file mode 100644 index 000000000..063e03fc9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/LICENSE @@ -0,0 +1,204 @@ +Cosmos SDK +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/README.md b/examples/telescope-with-contracts/proto/cosmos/README.md new file mode 100644 index 000000000..98a49c6bd --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/README.md @@ -0,0 +1 @@ +# cosmos \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto new file mode 100644 index 000000000..ed7750061 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "google/protobuf/any.proto"; + +// 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. +message Config { + // modules are the module configurations for the app. + repeated ModuleConfig modules = 1; +} + +// ModuleConfig is a module configuration for an app. +message 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. + string name = 1; + + // config is the config object for the module. Module config messages should + // define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. + google.protobuf.Any config = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto new file mode 100644 index 000000000..599078d7e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto @@ -0,0 +1,93 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + // module indicates that this proto type is a config object for an app module + // and optionally provides other descriptive information about the module. + // It is recommended that a new module config object and go module is versioned + // for every state machine breaking version of a module. The recommended + // pattern for doing this is to put module config objects in a separate proto + // package from the API they expose. Ex: the cosmos.group.v1 API would be + // exposed by module configs cosmos.group.module.v1, cosmos.group.module.v2, etc. + ModuleDescriptor module = 57193479; +} + +// ModuleDescriptor describes an app module. +message ModuleDescriptor { + // go_import names the package that should be imported by an app to load the + // module in the runtime module registry. Either go_import must be defined here + // or the go_package option must be defined at the file level to indicate + // to users where to location the module implementation. go_import takes + // precedence over go_package when both are defined. + string go_import = 1; + + // 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. + repeated PackageReference use_package = 2; + + // 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. + repeated MigrateFromInfo can_migrate_from = 3; +} + +// PackageReference is a reference to a protobuf package used by a module. +message PackageReference { + // name is the fully-qualified name of the package. + string name = 1; + + // 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 fields containing the + // test "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 + uint32 revision = 2; +} + +// MigrateFromInfo is information on a module version that a newer module +// can migrate from. +message MigrateFromInfo { + + // module is the fully-qualified protobuf name of the module config object + // for the previous module version, ex: "cosmos.group.module.v1.Module". + string module = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto new file mode 100644 index 000000000..efec9c81a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "cosmos/app/v1alpha1/config.proto"; + +// Query is the app module query service. +service Query { + + // Config returns the current app config. + rpc Config(QueryConfigRequest) returns (QueryConfigResponse) {} +} + +// QueryConfigRequest is the Query/Config request type. +message QueryConfigRequest {} + +// QueryConfigRequest is the Query/Config response type. +message QueryConfigResponse { + + // config is the current app config. + Config config = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto new file mode 100644 index 000000000..963c6f151 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// 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). +message BaseAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = false; + + option (cosmos_proto.implements_interface) = "AccountI"; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty"]; + uint64 account_number = 3; + uint64 sequence = 4; +} + +// ModuleAccount defines an account for modules that holds coins on a pool. +message ModuleAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "ModuleAccountI"; + + BaseAccount base_account = 1 [(gogoproto.embed) = true]; + string name = 2; + repeated string permissions = 3; +} + +// Params defines the parameters for the auth module. +message Params { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + uint64 max_memo_characters = 1; + uint64 tx_sig_limit = 2; + uint64 tx_size_cost_per_byte = 3; + uint64 sig_verify_cost_ed25519 = 4 [(gogoproto.customname) = "SigVerifyCostED25519"]; + uint64 sig_verify_cost_secp256k1 = 5 [(gogoproto.customname) = "SigVerifyCostSecp256k1"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto new file mode 100644 index 000000000..c88b94ee4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; +import "cosmos/auth/v1beta1/auth.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// GenesisState defines the auth module's genesis state. +message GenesisState { + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // accounts are the accounts present at genesis. + repeated google.protobuf.Any accounts = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto new file mode 100644 index 000000000..7798da002 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto @@ -0,0 +1,130 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "cosmos/auth/v1beta1/auth.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// Query defines the gRPC querier service. +service Query { + // Accounts returns all the existing accounts + // + // Since: cosmos-sdk 0.43 + rpc Accounts(QueryAccountsRequest) returns (QueryAccountsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/accounts"; + } + + // Account returns account details based on address. + rpc Account(QueryAccountRequest) returns (QueryAccountResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/accounts/{address}"; + } + + // Params queries all parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/params"; + } + + // ModuleAccounts returns all the existing module accounts. + rpc ModuleAccounts(QueryModuleAccountsRequest) returns (QueryModuleAccountsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/module_accounts"; + } + + // Bech32 queries bech32Prefix + rpc Bech32Prefix(Bech32PrefixRequest) returns (Bech32PrefixResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32"; + } + + // AddressBytesToString converts Account Address bytes to string + rpc AddressBytesToString(AddressBytesToStringRequest) returns (AddressBytesToStringResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_bytes}"; + } + + // AddressStringToBytes converts Address string to bytes + rpc AddressStringToBytes(AddressStringToBytesRequest) returns (AddressStringToBytesResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_string}"; + } +} + +// QueryAccountsRequest is the request type for the Query/Accounts RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryAccountsRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryAccountsResponse is the response type for the Query/Accounts RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryAccountsResponse { + // accounts are the existing accounts + repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAccountRequest is the request type for the Query/Account RPC method. +message QueryAccountRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address defines the address to query for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. +message QueryModuleAccountsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryAccountResponse is the response type for the Query/Account RPC method. +message QueryAccountResponse { + // account defines the account of the corresponding address. + google.protobuf.Any account = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. +message QueryModuleAccountsResponse { + repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "ModuleAccountI"]; +} + +// Bech32PrefixRequest is the request type for Bech32Prefix rpc method +message Bech32PrefixRequest {} + +// Bech32PrefixResponse is the response type for Bech32Prefix rpc method +message Bech32PrefixResponse { + string bech32_prefix = 1; +} + +// AddressBytesToStringRequest is the request type for AddressString rpc method +message AddressBytesToStringRequest { + bytes address_bytes = 1; +} + +// AddressBytesToStringResponse is the response type for AddressString rpc method +message AddressBytesToStringResponse { + string address_string = 1; +} + +// AddressStringToBytesRequest is the request type for AccountBytes rpc method +message AddressStringToBytesRequest { + string address_string = 1; +} + +// AddressStringToBytesResponse is the response type for AddressBytes rpc method +message AddressStringToBytesResponse { + bytes address_bytes = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto new file mode 100644 index 000000000..06ce288ab --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto @@ -0,0 +1,46 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option (gogoproto.goproto_getters_all) = false; + +// GenericAuthorization gives the grantee unrestricted permissions to execute +// the provided method on behalf of the granter's account. +message GenericAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + // Msg, identified by it's type URL, to grant unrestricted permissions to execute + string msg = 1; +} + +// Grant gives permissions to execute +// the provide method with expiration time. +message Grant { + google.protobuf.Any authorization = 1 [(cosmos_proto.accepts_interface) = "Authorization"]; + // 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) + google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = true]; +} + +// GrantAuthorization extends a grant with both the addresses of the grantee and granter. +// It is used in genesis.proto and query.proto +message GrantAuthorization { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "Authorization"]; + google.protobuf.Timestamp expiration = 4 [(gogoproto.stdtime) = true]; +} + +// GrantQueueItem contains the list of TypeURL of a sdk.Msg. +message GrantQueueItem { + // msg_type_urls contains the list of TypeURL of a sdk.Msg. + repeated string msg_type_urls = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto new file mode 100644 index 000000000..0476649af --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto @@ -0,0 +1,27 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// EventGrant is emitted on Msg/Grant +message EventGrant { + // Msg type URL for which an autorization is granted + string msg_type_url = 2; + // Granter account address + string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Grantee account address + string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventRevoke is emitted on Msg/Revoke +message EventRevoke { + // Msg type URL for which an autorization is revoked + string msg_type_url = 2; + // Granter account address + string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Grantee account address + string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto new file mode 100644 index 000000000..310f62656 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto @@ -0,0 +1,13 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/authz/v1beta1/authz.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// GenesisState defines the authz module's genesis state. +message GenesisState { + repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto new file mode 100644 index 000000000..62154ac19 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto @@ -0,0 +1,82 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos/authz/v1beta1/authz.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// Query defines the gRPC querier service. +service Query { + // Returns list of `Authorization`, granted to the grantee by the granter. + rpc Grants(QueryGrantsRequest) returns (QueryGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants"; + } + + // GranterGrants returns list of `GrantAuthorization`, granted by granter. + // + // Since: cosmos-sdk 0.46 + rpc GranterGrants(QueryGranterGrantsRequest) returns (QueryGranterGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants/granter/{granter}"; + } + + // GranteeGrants returns a list of `GrantAuthorization` by grantee. + // + // Since: cosmos-sdk 0.46 + rpc GranteeGrants(QueryGranteeGrantsRequest) returns (QueryGranteeGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; + } +} + +// QueryGrantsRequest is the request type for the Query/Grants RPC method. +message QueryGrantsRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Optional, msg_type_url, when set, will query only grants matching given msg type. + string msg_type_url = 3; + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. +message QueryGrantsResponse { + // authorizations is a list of grants granted for grantee by granter. + repeated Grant grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. +message QueryGranterGrantsRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. +message QueryGranterGrantsResponse { + // grants is a list of grants granted by the granter. + repeated GrantAuthorization grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. +message QueryGranteeGrantsRequest { + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. +message QueryGranteeGrantsResponse { + // grants is a list of grants granted to the grantee. + repeated GrantAuthorization grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto new file mode 100644 index 000000000..068218fff --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto @@ -0,0 +1,75 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/authz/v1beta1/authz.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option (gogoproto.goproto_getters_all) = false; + +// Msg defines the authz Msg service. +service 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. + rpc Grant(MsgGrant) returns (MsgGrantResponse); + + // 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. + rpc Exec(MsgExec) returns (MsgExecResponse); + + // Revoke revokes any authorization corresponding to the provided method name on the + // granter's account that has been granted to the grantee. + rpc Revoke(MsgRevoke) returns (MsgRevokeResponse); +} + +// MsgGrant is a request type for Grant method. It declares authorization to the grantee +// on behalf of the granter with the provided expiration time. +message MsgGrant { + option (cosmos.msg.v1.signer) = "granter"; + + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false]; +} + +// MsgExecResponse defines the Msg/MsgExecResponse response type. +message MsgExecResponse { + repeated bytes results = 1; +} + +// 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. +message MsgExec { + option (cosmos.msg.v1.signer) = "grantee"; + + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // 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. + repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg, authz.Authorization"]; +} + +// MsgGrantResponse defines the Msg/MsgGrant response type. +message MsgGrantResponse {} + +// MsgRevoke revokes any authorization with the provided sdk.Msg type on the +// granter's account with that has been granted to the grantee. +message MsgRevoke { + option (cosmos.msg.v1.signer) = "granter"; + + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string msg_type_url = 3; +} + +// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. +message MsgRevokeResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto new file mode 100644 index 000000000..4f58b15e4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// SendAuthorization allows the grantee to spend up to spend_limit coins from +// the granter's account. +// +// Since: cosmos-sdk 0.43 +message SendAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + repeated cosmos.base.v1beta1.Coin spend_limit = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto new file mode 100644 index 000000000..7bc9819d2 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto @@ -0,0 +1,108 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Params defines the parameters for the bank module. +message Params { + option (gogoproto.goproto_stringer) = false; + repeated SendEnabled send_enabled = 1; + bool default_send_enabled = 2; +} + +// SendEnabled maps coin denom to a send_enabled status (whether a denom is +// sendable). +message SendEnabled { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + string denom = 1; + bool enabled = 2; +} + +// Input models transaction input. +message Input { + option (cosmos.msg.v1.signer) = "address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// Output models transaction outputs. +message Output { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// 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. +message Supply { + option deprecated = true; + + option (gogoproto.equal) = true; + option (gogoproto.goproto_getters) = false; + + option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/migrations/v040.SupplyI"; + + repeated cosmos.base.v1beta1.Coin total = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// DenomUnit represents a struct that describes a given +// denomination unit of the basic token. +message DenomUnit { + // denom represents the string name of the given denom unit (e.g uatom). + string denom = 1; + // 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). + uint32 exponent = 2; + // aliases is a list of string aliases for the given denom + repeated string aliases = 3; +} + +// Metadata represents a struct that describes +// a basic token. +message Metadata { + string description = 1; + // denom_units represents the list of DenomUnit's for a given coin + repeated DenomUnit denom_units = 2; + // base represents the base denom (should be the DenomUnit with exponent = 0). + string base = 3; + // display indicates the suggested denom that should be + // displayed in clients. + string display = 4; + // name defines the name of the token (eg: Cosmos Atom) + // + // Since: cosmos-sdk 0.43 + string name = 5; + // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + // be the same as the display. + // + // Since: cosmos-sdk 0.43 + string symbol = 6; + // URI to a document (on or off-chain) that contains additional information. Optional. + // + // Since: cosmos-sdk 0.46 + string uri = 7 [(gogoproto.customname) = "URI"]; + // 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 + string uri_hash = 8 [(gogoproto.customname) = "URIHash"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto new file mode 100644 index 000000000..aa35790b7 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto @@ -0,0 +1,40 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// GenesisState defines the bank module's genesis state. +message GenesisState { + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // balances is an array containing the balances of all the accounts. + repeated Balance balances = 2 [(gogoproto.nullable) = false]; + + // 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. + repeated cosmos.base.v1beta1.Coin supply = 3 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + + // denom_metadata defines the metadata of the differents coins. + repeated Metadata denom_metadata = 4 [(gogoproto.nullable) = false]; +} + +// Balance defines an account address and balance pair used in the bank module's +// genesis state. +message Balance { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address of the balance holder. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // coins defines the different coins this balance holds. + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto new file mode 100644 index 000000000..cbe7f38ad --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto @@ -0,0 +1,231 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Query defines the gRPC querier service. +service Query { + // Balance queries the balance of a single coin for a single account. + rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}/by_denom"; + } + + // AllBalances queries the balance of all coins for a single account. + rpc AllBalances(QueryAllBalancesRequest) returns (QueryAllBalancesResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}"; + } + + // SpendableBalances queries the spenable balance of all coins for a single + // account. + rpc SpendableBalances(QuerySpendableBalancesRequest) returns (QuerySpendableBalancesResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/spendable_balances/{address}"; + } + + // TotalSupply queries the total supply of all coins. + rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/supply"; + } + + // SupplyOf queries the supply of a single coin. + rpc SupplyOf(QuerySupplyOfRequest) returns (QuerySupplyOfResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/supply/by_denom"; + } + + // Params queries the parameters of x/bank module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/params"; + } + + // DenomsMetadata queries the client metadata of a given coin denomination. + rpc DenomMetadata(QueryDenomMetadataRequest) returns (QueryDenomMetadataResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; + } + + // DenomsMetadata queries the client metadata for all registered coin + // denominations. + rpc DenomsMetadata(QueryDenomsMetadataRequest) returns (QueryDenomsMetadataResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata"; + } + + // DenomOwners queries for all account addresses that own a particular token + // denomination. + rpc DenomOwners(QueryDenomOwnersRequest) returns (QueryDenomOwnersResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denom_owners/{denom}"; + } +} + +// QueryBalanceRequest is the request type for the Query/Balance RPC method. +message QueryBalanceRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // denom is the coin denom to query balances for. + string denom = 2; +} + +// QueryBalanceResponse is the response type for the Query/Balance RPC method. +message QueryBalanceResponse { + // balance is the balance of the coin. + cosmos.base.v1beta1.Coin balance = 1; +} + +// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. +message QueryAllBalancesRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC +// method. +message QueryAllBalancesResponse { + // balances is the balances of all the coins. + repeated cosmos.base.v1beta1.Coin balances = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QuerySpendableBalancesRequest defines the gRPC request structure for querying +// an account's spendable balances. +message QuerySpendableBalancesRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query spendable balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QuerySpendableBalancesResponse defines the gRPC response structure for querying +// an account's spendable balances. +message QuerySpendableBalancesResponse { + // balances is the spendable balances of all the coins. + repeated cosmos.base.v1beta1.Coin balances = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC +// method. +message QueryTotalSupplyRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // pagination defines an optional pagination for the request. + // + // Since: cosmos-sdk 0.43 + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC +// method +message QueryTotalSupplyResponse { + // supply is the supply of the coins + repeated cosmos.base.v1beta1.Coin supply = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + // + // Since: cosmos-sdk 0.43 + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. +message QuerySupplyOfRequest { + // denom is the coin denom to query balances for. + string denom = 1; +} + +// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. +message QuerySupplyOfResponse { + // amount is the supply of the coin. + cosmos.base.v1beta1.Coin amount = 1 [(gogoproto.nullable) = false]; +} + +// QueryParamsRequest defines the request type for querying x/bank parameters. +message QueryParamsRequest {} + +// QueryParamsResponse defines the response type for querying x/bank parameters. +message QueryParamsResponse { + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. +message QueryDenomsMetadataRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC +// method. +message QueryDenomsMetadataResponse { + // metadata provides the client information for all the registered tokens. + repeated Metadata metadatas = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. +message QueryDenomMetadataRequest { + // denom is the coin denom to query the metadata for. + string denom = 1; +} + +// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC +// method. +message QueryDenomMetadataResponse { + // metadata describes and provides all the client information for the requested token. + Metadata metadata = 1 [(gogoproto.nullable) = false]; +} + +// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, +// which queries for a paginated set of all account holders of a particular +// denomination. +message QueryDenomOwnersRequest { + // denom defines the coin denomination to query all account holders for. + string denom = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// 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. +message DenomOwner { + // address defines the address that owns a particular denomination. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // balance is the balance of the denominated coin for an account. + cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; +} + +// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. +message QueryDenomOwnersResponse { + repeated DenomOwner denom_owners = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto new file mode 100644 index 000000000..22e62cbf5 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Msg defines the bank Msg service. +service Msg { + // Send defines a method for sending coins from one account to another account. + rpc Send(MsgSend) returns (MsgSendResponse); + + // MultiSend defines a method for sending coins from some accounts to other accounts. + rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); +} + +// MsgSend represents a message to send coins from one account to another. +message MsgSend { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgSendResponse defines the Msg/Send response type. +message MsgSendResponse {} + +// MsgMultiSend represents an arbitrary multi-in, multi-out send message. +message MsgMultiSend { + option (cosmos.msg.v1.signer) = "inputs"; + + option (gogoproto.equal) = false; + + repeated Input inputs = 1 [(gogoproto.nullable) = false]; + repeated Output outputs = 2 [(gogoproto.nullable) = false]; +} + +// MsgMultiSendResponse defines the Msg/MultiSend response type. +message MsgMultiSendResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto b/examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto new file mode 100644 index 000000000..09a2fcc47 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto @@ -0,0 +1,158 @@ +syntax = "proto3"; +package cosmos.base.abci.v1beta1; + +import "gogoproto/gogo.proto"; +import "tendermint/abci/types.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types"; +option (gogoproto.goproto_stringer_all) = false; + +// TxResponse defines a structure containing relevant tx data and metadata. The +// tags are stringified and the log is JSON decoded. +message TxResponse { + option (gogoproto.goproto_getters) = false; + // The block height + int64 height = 1; + // The transaction hash. + string txhash = 2 [(gogoproto.customname) = "TxHash"]; + // Namespace for the Code + string codespace = 3; + // Response code. + uint32 code = 4; + // Result bytes, if any. + string data = 5; + // The output of the application's logger (raw string). May be + // non-deterministic. + string raw_log = 6; + // The output of the application's logger (typed). May be non-deterministic. + repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; + // Additional information. May be non-deterministic. + string info = 8; + // Amount of gas requested for transaction. + int64 gas_wanted = 9; + // Amount of gas consumed by transaction. + int64 gas_used = 10; + // The request transaction bytes. + google.protobuf.Any tx = 11; + // 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. + string timestamp = 12; + // 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 handler. 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 + repeated tendermint.abci.Event events = 13 [(gogoproto.nullable) = false]; +} + +// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. +message ABCIMessageLog { + option (gogoproto.stringer) = true; + + uint32 msg_index = 1 [(gogoproto.jsontag) = "msg_index"]; + string log = 2; + + // Events contains a slice of Event objects that were emitted during some + // execution. + repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; +} + +// StringEvent defines en Event object wrapper where all the attributes +// contain key/value pairs that are strings instead of raw bytes. +message StringEvent { + option (gogoproto.stringer) = true; + + string type = 1; + repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; +} + +// Attribute defines an attribute wrapper where the key and value are +// strings instead of raw bytes. +message Attribute { + string key = 1; + string value = 2; +} + +// GasInfo defines tx execution gas context. +message GasInfo { + // GasWanted is the maximum units of work we allow this tx to perform. + uint64 gas_wanted = 1; + + // GasUsed is the amount of gas actually consumed. + uint64 gas_used = 2; +} + +// Result is the union of ResponseFormat and ResponseCheckTx. +message Result { + option (gogoproto.goproto_getters) = false; + + // 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. + bytes data = 1 [deprecated = true]; + + // Log contains the log information from message or handler execution. + string log = 2; + + // Events contains a slice of Event objects that were emitted during message + // or handler execution. + repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; + + // msg_responses contains the Msg handler responses type packed in Anys. + // + // Since: cosmos-sdk 0.46 + repeated google.protobuf.Any msg_responses = 4; +} + +// SimulationResponse defines the response generated when a transaction is +// successfully simulated. +message SimulationResponse { + GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + Result result = 2; +} + +// MsgData defines the data returned in a Result object during message +// execution. +message MsgData { + option deprecated = true; + option (gogoproto.stringer) = true; + + string msg_type = 1; + bytes data = 2; +} + +// TxMsgData defines a list of MsgData. A transaction will have a MsgData object +// for each message. +message TxMsgData { + option (gogoproto.stringer) = true; + + // data field is deprecated and not populated. + repeated MsgData data = 1 [deprecated = true]; + + // msg_responses contains the Msg handler responses packed into Anys. + // + // Since: cosmos-sdk 0.46 + repeated google.protobuf.Any msg_responses = 2; +} + +// SearchTxsResult defines a structure for querying txs pageable +message SearchTxsResult { + option (gogoproto.stringer) = true; + + // Count of all txs + uint64 total_count = 1; + // Count of txs in current page + uint64 count = 2; + // Index of current page, start from 1 + uint64 page_number = 3; + // Count of total pages + uint64 page_total = 4; + // Max count txs per page + uint64 limit = 5; + // List of txs in current page + repeated TxResponse txs = 6; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto b/examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto new file mode 100644 index 000000000..4e9b8d285 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.base.kv.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; + +// Pairs defines a repeated slice of Pair objects. +message Pairs { + repeated Pair pairs = 1 [(gogoproto.nullable) = false]; +} + +// Pair defines a key/value bytes tuple. +message Pair { + bytes key = 1; + bytes value = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto b/examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto new file mode 100644 index 000000000..0a368144a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto @@ -0,0 +1,56 @@ +syntax = "proto3"; +package cosmos.base.query.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/types/query"; + +// PageRequest is to be embedded in gRPC request messages for efficient +// pagination. Ex: +// +// message SomeRequest { +// Foo some_parameter = 1; +// PageRequest pagination = 2; +// } +message 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. + bytes key = 1; + + // 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. + uint64 offset = 2; + + // 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. + uint64 limit = 3; + + // 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. + bool count_total = 4; + + // reverse is set to true if results are to be returned in the descending order. + // + // Since: cosmos-sdk 0.43 + bool reverse = 5; +} + +// 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; +// } +message 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. + bytes next_key = 1; + + // total is total number of results available if PageRequest.count_total + // was set, its value is undefined otherwise + uint64 total = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto b/examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto new file mode 100644 index 000000000..22670e72b --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; +package cosmos.base.reflection.v1beta1; + +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; + +// ReflectionService defines a service for interface reflection. +service ReflectionService { + // ListAllInterfaces lists all the interfaces registered in the interface + // registry. + rpc ListAllInterfaces(ListAllInterfacesRequest) returns (ListAllInterfacesResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces"; + }; + + // ListImplementations list all the concrete types that implement a given + // interface. + rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/" + "{interface_name}/implementations"; + }; +} + +// ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. +message ListAllInterfacesRequest {} + +// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. +message ListAllInterfacesResponse { + // interface_names is an array of all the registered interfaces. + repeated string interface_names = 1; +} + +// ListImplementationsRequest is the request type of the ListImplementations +// RPC. +message ListImplementationsRequest { + // interface_name defines the interface to query the implementations for. + string interface_name = 1; +} + +// ListImplementationsResponse is the response type of the ListImplementations +// RPC. +message ListImplementationsResponse { + repeated string implementation_message_names = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto new file mode 100644 index 000000000..d5b048558 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto @@ -0,0 +1,218 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.base.reflection.v2alpha1; + +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"; + +// AppDescriptor describes a cosmos-sdk based application +message AppDescriptor { + // AuthnDescriptor provides information on how to authenticate transactions on the application + // NOTE: experimental and subject to change in future releases. + AuthnDescriptor authn = 1; + // chain provides the chain descriptor + ChainDescriptor chain = 2; + // codec provides metadata information regarding codec related types + CodecDescriptor codec = 3; + // configuration provides metadata information regarding the sdk.Config type + ConfigurationDescriptor configuration = 4; + // query_services provides metadata information regarding the available queriable endpoints + QueryServicesDescriptor query_services = 5; + // tx provides metadata information regarding how to send transactions to the given application + TxDescriptor tx = 6; +} + +// TxDescriptor describes the accepted transaction type +message 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. + string fullname = 1; + // msgs lists the accepted application messages (sdk.Msg) + repeated MsgDescriptor msgs = 2; +} + +// AuthnDescriptor provides information on how to sign transactions without relying +// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures +message AuthnDescriptor { + // sign_modes defines the supported signature algorithm + repeated SigningModeDescriptor sign_modes = 1; +} + +// 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 +message SigningModeDescriptor { + // name defines the unique name of the signing mode + string name = 1; + // number is the unique int32 identifier for the sign_mode enum + int32 number = 2; + // 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 + string authn_info_provider_method_fullname = 3; +} + +// ChainDescriptor describes chain information of the application +message ChainDescriptor { + // id is the chain id + string id = 1; +} + +// CodecDescriptor describes the registered interfaces and provides metadata information on the types +message CodecDescriptor { + // interfaces is a list of the registerted interfaces descriptors + repeated InterfaceDescriptor interfaces = 1; +} + +// InterfaceDescriptor describes the implementation of an interface +message InterfaceDescriptor { + // fullname is the name of the interface + string fullname = 1; + // interface_accepting_messages contains information regarding the proto messages which contain the interface as + // google.protobuf.Any field + repeated InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2; + // interface_implementers is a list of the descriptors of the interface implementers + repeated InterfaceImplementerDescriptor interface_implementers = 3; +} + +// InterfaceImplementerDescriptor describes an interface implementer +message InterfaceImplementerDescriptor { + // fullname is the protobuf queryable name of the interface implementer + string fullname = 1; + // 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 + string type_url = 2; +} + +// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains +// an interface represented as a google.protobuf.Any +message InterfaceAcceptingMessageDescriptor { + // fullname is the protobuf fullname of the type containing the interface + string fullname = 1; + // 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) + repeated string field_descriptor_names = 2; +} + +// ConfigurationDescriptor contains metadata information on the sdk.Config +message ConfigurationDescriptor { + // bech32_account_address_prefix is the account address prefix + string bech32_account_address_prefix = 1; +} + +// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction +message MsgDescriptor { + // msg_type_url contains the TypeURL of a sdk.Msg. + string msg_type_url = 1; +} + +// ReflectionService defines a service for application reflection. +service ReflectionService { + // GetAuthnDescriptor returns information on how to authenticate transactions in the application + // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in + // future releases of the cosmos-sdk. + rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) returns (GetAuthnDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; + } + // GetChainDescriptor returns the description of the chain + rpc GetChainDescriptor(GetChainDescriptorRequest) returns (GetChainDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; + }; + // GetCodecDescriptor returns the descriptor of the codec of the application + rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; + } + // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application + rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; + } + // GetQueryServicesDescriptor returns the available gRPC queryable services of the application + rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; + } + // GetTxDescriptor returns information on the used transaction object and available msgs that can be used + rpc GetTxDescriptor(GetTxDescriptorRequest) returns (GetTxDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; + } +} + +// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC +message GetAuthnDescriptorRequest {} +// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC +message GetAuthnDescriptorResponse { + // authn describes how to authenticate to the application when sending transactions + AuthnDescriptor authn = 1; +} + +// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC +message GetChainDescriptorRequest {} +// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC +message GetChainDescriptorResponse { + // chain describes application chain information + ChainDescriptor chain = 1; +} + +// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC +message GetCodecDescriptorRequest {} +// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC +message GetCodecDescriptorResponse { + // codec describes the application codec such as registered interfaces and implementations + CodecDescriptor codec = 1; +} + +// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC +message GetConfigurationDescriptorRequest {} +// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC +message GetConfigurationDescriptorResponse { + // config describes the application's sdk.Config + ConfigurationDescriptor config = 1; +} + +// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC +message GetQueryServicesDescriptorRequest {} +// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC +message GetQueryServicesDescriptorResponse { + // queries provides information on the available queryable services + QueryServicesDescriptor queries = 1; +} + +// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC +message GetTxDescriptorRequest {} +// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC +message GetTxDescriptorResponse { + // tx provides information on msgs that can be forwarded to the application + // alongside the accepted transaction protobuf type + TxDescriptor tx = 1; +} + +// QueryServicesDescriptor contains the list of cosmos-sdk queriable services +message QueryServicesDescriptor { + // query_services is a list of cosmos-sdk QueryServiceDescriptor + repeated QueryServiceDescriptor query_services = 1; +} + +// QueryServiceDescriptor describes a cosmos-sdk queryable service +message QueryServiceDescriptor { + // fullname is the protobuf fullname of the service descriptor + string fullname = 1; + // is_module describes if this service is actually exposed by an application's module + bool is_module = 2; + // methods provides a list of query service methods + repeated QueryMethodDescriptor methods = 3; +} + +// 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 +message QueryMethodDescriptor { + // name is the protobuf name (not fullname) of the method + string name = 1; + // full_query_path is the path that can be used to query + // this method via tendermint abci.Query + string full_query_path = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto new file mode 100644 index 000000000..a89e0b4c3 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto @@ -0,0 +1,70 @@ +syntax = "proto3"; +package cosmos.base.snapshots.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; + +// Snapshot contains Tendermint state sync snapshot info. +message Snapshot { + uint64 height = 1; + uint32 format = 2; + uint32 chunks = 3; + bytes hash = 4; + Metadata metadata = 5 [(gogoproto.nullable) = false]; +} + +// Metadata contains SDK-specific snapshot metadata. +message Metadata { + repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes +} + +// SnapshotItem is an item contained in a rootmulti.Store snapshot. +message SnapshotItem { + // item is the specific type of snapshot item. + oneof item { + SnapshotStoreItem store = 1; + SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"]; + SnapshotExtensionMeta extension = 3; + SnapshotExtensionPayload extension_payload = 4; + SnapshotKVItem kv = 5 [(gogoproto.customname) = "KV"]; + SnapshotSchema schema = 6; + } +} + +// SnapshotStoreItem contains metadata about a snapshotted store. +message SnapshotStoreItem { + string name = 1; +} + +// SnapshotIAVLItem is an exported IAVL node. +message SnapshotIAVLItem { + bytes key = 1; + bytes value = 2; + // version is block height + int64 version = 3; + // height is depth of the tree. + int32 height = 4; +} + +// SnapshotExtensionMeta contains metadata about an external snapshotter. +message SnapshotExtensionMeta { + string name = 1; + uint32 format = 2; +} + +// SnapshotExtensionPayload contains payloads of an external snapshotter. +message SnapshotExtensionPayload { + bytes payload = 1; +} + +// SnapshotKVItem is an exported Key/Value Pair +message SnapshotKVItem { + bytes key = 1; + bytes value = 2; +} + +// SnapshotSchema is an exported schema of smt store +message SnapshotSchema{ + repeated bytes keys = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto b/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto new file mode 100644 index 000000000..98a33d30e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.base.store.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/store/types"; + +// CommitInfo defines commit information used by the multi-store when committing +// a version/height. +message CommitInfo { + int64 version = 1; + repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false]; +} + +// StoreInfo defines store-specific commit information. It contains a reference +// between a store name and the commit ID. +message StoreInfo { + string name = 1; + CommitID commit_id = 2 [(gogoproto.nullable) = false]; +} + +// CommitID defines the committment information when a specific store is +// committed. +message CommitID { + option (gogoproto.goproto_stringer) = false; + + int64 version = 1; + bytes hash = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto b/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto new file mode 100644 index 000000000..359997109 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package cosmos.base.store.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/store/types"; + +// 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 +message StoreKVPair { + string store_key = 1; // the store key for the KVStore this pair originates from + bool delete = 2; // true indicates a delete operation, false indicates a set operation + bytes key = 3; + bytes value = 4; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto new file mode 100644 index 000000000..96a46e53c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; +package cosmos.base.tendermint.v1beta1; + +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "tendermint/p2p/types.proto"; +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; + +// Service defines the gRPC querier service for tendermint queries. +service Service { + // GetNodeInfo queries the current node info. + rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/node_info"; + } + // GetSyncing queries node syncing. + rpc GetSyncing(GetSyncingRequest) returns (GetSyncingResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/syncing"; + } + // GetLatestBlock returns the latest block. + rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest"; + } + // GetBlockByHeight queries block for given height. + rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}"; + } + + // GetLatestValidatorSet queries latest validator-set. + rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; + } + // GetValidatorSetByHeight queries validator-set at a given height. + rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; + } +} + +// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +message GetValidatorSetByHeightRequest { + int64 height = 1; + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +message GetValidatorSetByHeightResponse { + int64 block_height = 1; + repeated Validator validators = 2; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +message GetLatestValidatorSetRequest { + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +message GetLatestValidatorSetResponse { + int64 block_height = 1; + repeated Validator validators = 2; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// Validator is the type for the validator-set. +message Validator { + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pub_key = 2; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightRequest { + int64 height = 1; +} + +// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightResponse { + .tendermint.types.BlockID block_id = 1; + .tendermint.types.Block block = 2; +} + +// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. +message GetLatestBlockRequest {} + +// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. +message GetLatestBlockResponse { + .tendermint.types.BlockID block_id = 1; + .tendermint.types.Block block = 2; +} + +// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. +message GetSyncingRequest {} + +// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. +message GetSyncingResponse { + bool syncing = 1; +} + +// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. +message GetNodeInfoRequest {} + +// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. +message GetNodeInfoResponse { + .tendermint.p2p.NodeInfo node_info = 1; + VersionInfo application_version = 2; +} + +// VersionInfo is the type for the GetNodeInfoResponse message. +message VersionInfo { + string name = 1; + string app_name = 2; + string version = 3; + string git_commit = 4; + string build_tags = 5; + string go_version = 6; + repeated Module build_deps = 7; + // Since: cosmos-sdk 0.43 + string cosmos_sdk_version = 8; +} + +// Module is the type for VersionInfo +message Module { + // module path + string path = 1; + // module version + string version = 2; + // checksum + string sum = 3; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto b/examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto new file mode 100644 index 000000000..69e67e099 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto @@ -0,0 +1,43 @@ +syntax = "proto3"; +package cosmos.base.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types"; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.stringer_all) = false; + +// 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. +message Coin { + option (gogoproto.equal) = true; + + string denom = 1; + string amount = 2 + [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; +} + +// 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. +message DecCoin { + option (gogoproto.equal) = true; + + string denom = 1; + string amount = 2 + [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; +} + +// IntProto defines a Protobuf wrapper around an Int object. +message IntProto { + string int = 1 [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; +} + +// DecProto defines a Protobuf wrapper around a Dec object. +message DecProto { + string dec = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto b/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto new file mode 100644 index 000000000..c433566d3 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.capability.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; + +import "gogoproto/gogo.proto"; + +// Capability defines an implementation of an object capability. The index +// provided to a Capability must be globally unique. +message Capability { + option (gogoproto.goproto_stringer) = false; + + uint64 index = 1; +} + +// Owner defines a single capability owner. An owner is defined by the name of +// capability and the module name. +message Owner { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + + string module = 1; + string name = 2; +} + +// CapabilityOwners defines a set of owners of a single Capability. The set of +// owners must be unique. +message CapabilityOwners { + repeated Owner owners = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto new file mode 100644 index 000000000..b5482439c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package cosmos.capability.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/capability/v1beta1/capability.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; + +// GenesisOwners defines the capability owners with their corresponding index. +message GenesisOwners { + // index is the index of the capability owner. + uint64 index = 1; + + // index_owners are the owners at the given index. + CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false]; +} + +// GenesisState defines the capability module's genesis state. +message GenesisState { + // index is the capability global index. + uint64 index = 1; + + // owners represents a map from index to owners of the capability index + // index key is string to allow amino marshalling. + repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto new file mode 100644 index 000000000..5c2916046 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package cosmos.crisis.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +// GenesisState defines the crisis module's genesis state. +message GenesisState { + // constant_fee is the fee used to verify the invariant in the crisis + // module. + cosmos.base.v1beta1.Coin constant_fee = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto new file mode 100644 index 000000000..fea9059f6 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.crisis.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the bank Msg service. +service Msg { + // VerifyInvariant defines a method to verify a particular invariance. + rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse); +} + +// MsgVerifyInvariant represents a message to verify a particular invariance. +message MsgVerifyInvariant { + option (cosmos.msg.v1.signer) = "sender"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string invariant_module_name = 2; + string invariant_route = 3; +} + +// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. +message MsgVerifyInvariantResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto new file mode 100644 index 000000000..6ffec3448 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package cosmos.crypto.ed25519; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; + +// 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. +message PubKey { + option (gogoproto.goproto_stringer) = false; + + bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PublicKey"]; +} + +// Deprecated: PrivKey defines a ed25519 private key. +// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. +message PrivKey { + bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PrivateKey"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto new file mode 100644 index 000000000..e4a95afcb --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package cosmos.crypto.hd.v1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/hd"; +option (gogoproto.goproto_getters_all) = false; + +// BIP44Params is used as path field in ledger item in Record. +message BIP44Params { + option (gogoproto.goproto_stringer) = false; + // purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation + uint32 purpose = 1; + // coin_type is a constant that improves privacy + uint32 coin_type = 2; + // account splits the key space into independent user identities + uint32 account = 3; + // change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal + // chain. + bool change = 4; + // address_index is used as child index in BIP32 derivation + uint32 address_index = 5; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto new file mode 100644 index 000000000..9b2d3c964 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.crypto.keyring.v1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/crypto/hd/v1/hd.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keyring"; +option (gogoproto.goproto_getters_all) = false; + +// Record is used for representing a key in the keyring. +message Record { + // name represents a name of Record + string name = 1; + // pub_key represents a public key in any format + google.protobuf.Any pub_key = 2; + + // Record contains one of the following items + oneof item { + // local stores the public information about a locally stored key + Local local = 3; + // ledger stores the public information about a Ledger key + Ledger ledger = 4; + // Multi does not store any information. + Multi multi = 5; + // Offline does not store any information. + Offline offline = 6; + } + + // Item is a keyring item stored in a keyring backend. + // Local item + message Local { + google.protobuf.Any priv_key = 1; + string priv_key_type = 2; + } + + // Ledger item + message Ledger { + hd.v1.BIP44Params path = 1; + } + + // Multi item + message Multi {} + + // Offline item + message Offline {} +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto new file mode 100644 index 000000000..7a11fe336 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.crypto.multisig; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; + +// LegacyAminoPubKey specifies a public key type +// which nests multiple public keys and a threshold, +// it uses legacy amino address rules. +message LegacyAminoPubKey { + option (gogoproto.goproto_getters) = false; + + uint32 threshold = 1; + repeated google.protobuf.Any public_keys = 2 [(gogoproto.customname) = "PubKeys"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto new file mode 100644 index 000000000..bf671f171 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package cosmos.crypto.multisig.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; + +// 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. +message MultiSignature { + option (gogoproto.goproto_unrecognized) = true; + repeated bytes signatures = 1; +} + +// 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. +message CompactBitArray { + option (gogoproto.goproto_stringer) = false; + + uint32 extra_bits_stored = 1; + bytes elems = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto new file mode 100644 index 000000000..a22725713 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.crypto.secp256k1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; + +// 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. +message PubKey { + option (gogoproto.goproto_stringer) = false; + + bytes key = 1; +} + +// PrivKey defines a secp256k1 private key. +message PrivKey { + bytes key = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto b/examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto new file mode 100644 index 000000000..2e96c6e3c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto @@ -0,0 +1,23 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.crypto.secp256r1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; +option (gogoproto.messagename_all) = true; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; + +// PubKey defines a secp256r1 ECDSA public key. +message 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 + bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; +} + +// PrivKey defines a secp256r1 ECDSA private key. +message PrivKey { + // secret number serialized using big-endian encoding + bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto new file mode 100644 index 000000000..1afe25ae4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto @@ -0,0 +1,154 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; + +// Params defines the set of params for the distribution module. +message Params { + option (gogoproto.goproto_stringer) = false; + string community_tax = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + string base_proposer_reward = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + string bonus_proposer_reward = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + bool withdraw_addr_enabled = 4; +} + +// 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 +message ValidatorHistoricalRewards { + repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + uint32 reference_count = 2; +} + +// 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. +message ValidatorCurrentRewards { + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + uint64 period = 2; +} + +// ValidatorAccumulatedCommission represents accumulated commission +// for a validator kept as a running counter, can be withdrawn at any time. +message ValidatorAccumulatedCommission { + repeated cosmos.base.v1beta1.DecCoin commission = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards +// for a validator inexpensive to track, allows simple sanity checks. +message ValidatorOutstandingRewards { + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// 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. +message ValidatorSlashEvent { + uint64 validator_period = 1; + string fraction = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. +message ValidatorSlashEvents { + option (gogoproto.goproto_stringer) = false; + repeated ValidatorSlashEvent validator_slash_events = 1 [(gogoproto.nullable) = false]; +} + +// FeePool is the global fee pool for distribution. +message FeePool { + repeated cosmos.base.v1beta1.DecCoin community_pool = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// CommunityPoolSpendProposal details a proposal for use of community funds, +// together with how many coins are proposed to be spent, and to which +// recipient account. +message CommunityPoolSpendProposal { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + string recipient = 3; + repeated cosmos.base.v1beta1.Coin amount = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// 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. +message DelegatorStartingInfo { + uint64 previous_period = 1; + string stake = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + uint64 height = 3 [(gogoproto.jsontag) = "creation_height"]; +} + +// DelegationDelegatorReward represents the properties +// of a delegator's delegation reward. +message DelegationDelegatorReward { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + repeated cosmos.base.v1beta1.DecCoin reward = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal +// with a deposit +message CommunityPoolSpendProposalWithDeposit { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + string recipient = 3; + string amount = 4; + string deposit = 5; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto new file mode 100644 index 000000000..4662e8df4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto @@ -0,0 +1,144 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/distribution/v1beta1/distribution.proto"; +import "cosmos_proto/cosmos.proto"; + +// 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. +message DelegatorWithdrawInfo { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address is the address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // withdraw_address is the address to withdraw the delegation rewards to. + string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. +message ValidatorOutstandingRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // outstanding_rewards represents the oustanding rewards of a validator. + repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// ValidatorAccumulatedCommissionRecord is used for import / export via genesis +// json. +message ValidatorAccumulatedCommissionRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // accumulated is the accumulated commission of a validator. + ValidatorAccumulatedCommission accumulated = 2 [(gogoproto.nullable) = false]; +} + +// ValidatorHistoricalRewardsRecord is used for import / export via genesis +// json. +message ValidatorHistoricalRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // period defines the period the historical rewards apply to. + uint64 period = 2; + + // rewards defines the historical rewards of a validator. + ValidatorHistoricalRewards rewards = 3 [(gogoproto.nullable) = false]; +} + +// ValidatorCurrentRewardsRecord is used for import / export via genesis json. +message ValidatorCurrentRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // rewards defines the current rewards of a validator. + ValidatorCurrentRewards rewards = 2 [(gogoproto.nullable) = false]; +} + +// DelegatorStartingInfoRecord used for import / export via genesis json. +message DelegatorStartingInfoRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address is the address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_address is the address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // starting_info defines the starting info of a delegator. + DelegatorStartingInfo starting_info = 3 [(gogoproto.nullable) = false]; +} + +// ValidatorSlashEventRecord is used for import / export via genesis json. +message ValidatorSlashEventRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // height defines the block height at which the slash event occured. + uint64 height = 2; + // period is the period of the slash event. + uint64 period = 3; + // validator_slash_event describes the slash event. + ValidatorSlashEvent validator_slash_event = 4 [(gogoproto.nullable) = false]; +} + +// GenesisState defines the distribution module's genesis state. +message GenesisState { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // fee_pool defines the fee pool at genesis. + FeePool fee_pool = 2 [(gogoproto.nullable) = false]; + + // fee_pool defines the delegator withdraw infos at genesis. + repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 [(gogoproto.nullable) = false]; + + // fee_pool defines the previous proposer at genesis. + string previous_proposer = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // fee_pool defines the outstanding rewards of all validators at genesis. + repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 [(gogoproto.nullable) = false]; + + // fee_pool defines the accumulated commisions of all validators at genesis. + repeated ValidatorAccumulatedCommissionRecord validator_accumulated_commissions = 6 [(gogoproto.nullable) = false]; + + // fee_pool defines the historical rewards of all validators at genesis. + repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 [(gogoproto.nullable) = false]; + + // fee_pool defines the current rewards of all validators at genesis. + repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 [(gogoproto.nullable) = false]; + + // fee_pool defines the delegator starting infos at genesis. + repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 [(gogoproto.nullable) = false]; + + // fee_pool defines the validator slash events at genesis. + repeated ValidatorSlashEventRecord validator_slash_events = 10 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto new file mode 100644 index 000000000..a09413fc9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto @@ -0,0 +1,219 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/distribution/v1beta1/distribution.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; + +// Query defines the gRPC querier service for distribution module. +service Query { + // Params queries params of the distribution module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/params"; + } + + // ValidatorOutstandingRewards queries rewards of a validator address. + rpc ValidatorOutstandingRewards(QueryValidatorOutstandingRewardsRequest) + returns (QueryValidatorOutstandingRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" + "{validator_address}/outstanding_rewards"; + } + + // ValidatorCommission queries accumulated commission for a validator. + rpc ValidatorCommission(QueryValidatorCommissionRequest) returns (QueryValidatorCommissionResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" + "{validator_address}/commission"; + } + + // ValidatorSlashes queries slash events of a validator. + rpc ValidatorSlashes(QueryValidatorSlashesRequest) returns (QueryValidatorSlashesResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; + } + + // DelegationRewards queries the total rewards accrued by a delegation. + rpc DelegationRewards(QueryDelegationRewardsRequest) returns (QueryDelegationRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" + "{validator_address}"; + } + + // DelegationTotalRewards queries the total rewards accrued by a each + // validator. + rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) returns (QueryDelegationTotalRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; + } + + // DelegatorValidators queries the validators of a delegator. + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" + "{delegator_address}/validators"; + } + + // DelegatorWithdrawAddress queries withdraw address of a delegator. + rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) returns (QueryDelegatorWithdrawAddressResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" + "{delegator_address}/withdraw_address"; + } + + // CommunityPool queries the community pool coins. + rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/community_pool"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorOutstandingRewardsRequest is the request type for the +// Query/ValidatorOutstandingRewards RPC method. +message QueryValidatorOutstandingRewardsRequest { + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorOutstandingRewardsResponse is the response type for the +// Query/ValidatorOutstandingRewards RPC method. +message QueryValidatorOutstandingRewardsResponse { + ValidatorOutstandingRewards rewards = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorCommissionRequest is the request type for the +// Query/ValidatorCommission RPC method +message QueryValidatorCommissionRequest { + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorCommissionResponse is the response type for the +// Query/ValidatorCommission RPC method +message QueryValidatorCommissionResponse { + // commission defines the commision the validator received. + ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorSlashesRequest is the request type for the +// Query/ValidatorSlashes RPC method +message QueryValidatorSlashesRequest { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // starting_height defines the optional starting height to query the slashes. + uint64 starting_height = 2; + // starting_height defines the optional ending height to query the slashes. + uint64 ending_height = 3; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryValidatorSlashesResponse is the response type for the +// Query/ValidatorSlashes RPC method. +message QueryValidatorSlashesResponse { + // slashes defines the slashes the validator received. + repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegationRewardsRequest is the request type for the +// Query/DelegationRewards RPC method. +message QueryDelegationRewardsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address defines the validator address to query for. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationRewardsResponse is the response type for the +// Query/DelegationRewards RPC method. +message QueryDelegationRewardsResponse { + // rewards defines the rewards accrued by a delegation. + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// QueryDelegationTotalRewardsRequest is the request type for the +// Query/DelegationTotalRewards RPC method. +message QueryDelegationTotalRewardsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationTotalRewardsResponse is the response type for the +// Query/DelegationTotalRewards RPC method. +message QueryDelegationTotalRewardsResponse { + // rewards defines all the rewards accrued by a delegator. + repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; + // total defines the sum of all the rewards. + repeated cosmos.base.v1beta1.DecCoin total = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// QueryDelegatorValidatorsRequest is the request type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorValidatorsResponse is the response type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validators defines the validators a delegator is delegating for. + repeated string validators = 1; +} + +// QueryDelegatorWithdrawAddressRequest is the request type for the +// Query/DelegatorWithdrawAddress RPC method. +message QueryDelegatorWithdrawAddressRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorWithdrawAddressResponse is the response type for the +// Query/DelegatorWithdrawAddress RPC method. +message QueryDelegatorWithdrawAddressResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // withdraw_address defines the delegator address to query for. + string withdraw_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC +// method. +message QueryCommunityPoolRequest {} + +// QueryCommunityPoolResponse is the response type for the Query/CommunityPool +// RPC method. +message QueryCommunityPoolResponse { + // pool defines community pool's coins. + repeated cosmos.base.v1beta1.DecCoin pool = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto new file mode 100644 index 000000000..7f22dce95 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto @@ -0,0 +1,95 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the distribution Msg service. +service Msg { + // SetWithdrawAddress defines a method to change the withdraw address + // for a delegator (or validator self-delegation). + rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); + + // WithdrawDelegatorReward defines a method to withdraw rewards of delegator + // from a single validator. + rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); + + // WithdrawValidatorCommission defines a method to withdraw the + // full commission to the validator address. + rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); + + // FundCommunityPool defines a method to allow an account to directly + // fund the community pool. + rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); +} + +// MsgSetWithdrawAddress sets the withdraw address for +// a delegator (or validator self-delegation). +message MsgSetWithdrawAddress { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. +message MsgSetWithdrawAddressResponse {} + +// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator +// from a single validator. +message MsgWithdrawDelegatorReward { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. +message MsgWithdrawDelegatorRewardResponse { + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgWithdrawValidatorCommission withdraws the full commission to the validator +// address. +message MsgWithdrawValidatorCommission { + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. +message MsgWithdrawValidatorCommissionResponse { + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgFundCommunityPool allows an account to directly +// fund the community pool. +message MsgFundCommunityPool { + option (cosmos.msg.v1.signer) = "depositor"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. +message MsgFundCommunityPoolResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto new file mode 100644 index 000000000..83f9ec3d3 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +// Equivocation implements the Evidence interface and defines evidence of double +// signing misbehavior. +message Equivocation { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + int64 height = 1; + google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + int64 power = 3; + string consensus_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto new file mode 100644 index 000000000..199f446f7 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; + +import "google/protobuf/any.proto"; + +// GenesisState defines the evidence module's genesis state. +message GenesisState { + // evidence defines all the evidence at genesis. + repeated google.protobuf.Any evidence = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto new file mode 100644 index 000000000..eda00544c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto @@ -0,0 +1,51 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; + +// Query defines the gRPC querier service. +service Query { + // Evidence queries evidence based on evidence hash. + rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) { + option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; + } + + // AllEvidence queries all evidence. + rpc AllEvidence(QueryAllEvidenceRequest) returns (QueryAllEvidenceResponse) { + option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence"; + } +} + +// QueryEvidenceRequest is the request type for the Query/Evidence RPC method. +message QueryEvidenceRequest { + // evidence_hash defines the hash of the requested evidence. + bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"]; +} + +// QueryEvidenceResponse is the response type for the Query/Evidence RPC method. +message QueryEvidenceResponse { + // evidence returns the requested evidence. + google.protobuf.Any evidence = 1; +} + +// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC +// method. +message QueryAllEvidenceRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC +// method. +message QueryAllEvidenceResponse { + // evidence returns all evidences. + repeated google.protobuf.Any evidence = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto new file mode 100644 index 000000000..223f7e111 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the evidence Msg service. +service Msg { + // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + // counterfactual signing. + rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); +} + +// MsgSubmitEvidence represents a message that supports submitting arbitrary +// Evidence of misbehavior such as equivocation or counterfactual signing. +message MsgSubmitEvidence { + option (cosmos.msg.v1.signer) = "submitter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string submitter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"]; +} + +// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. +message MsgSubmitEvidenceResponse { + // hash defines the hash of the evidence. + bytes hash = 4; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto new file mode 100644 index 000000000..eca71e2b9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto @@ -0,0 +1,78 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/duration.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// BasicAllowance implements Allowance with a one-time grant of tokens +// that optionally expires. The grantee can use up to SpendLimit to cover fees. +message BasicAllowance { + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // spend_limit specifies the maximum amount of tokens that can be spent + // by this allowance and will be updated as tokens are spent. If it is + // empty, there is no spend limit and any amount of coins can be spent. + repeated cosmos.base.v1beta1.Coin spend_limit = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // expiration specifies an optional time when this allowance expires + google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true]; +} + +// PeriodicAllowance extends Allowance to allow for both a maximum cap, +// as well as a limit per time period. +message PeriodicAllowance { + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // basic specifies a struct of `BasicAllowance` + BasicAllowance basic = 1 [(gogoproto.nullable) = false]; + + // period specifies the time duration in which period_spend_limit coins can + // be spent before that allowance is reset + google.protobuf.Duration period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; + + // period_spend_limit specifies the maximum number of coins that can be spent + // in the period + repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // period_can_spend is the number of coins left to be spent before the period_reset time + repeated cosmos.base.v1beta1.Coin period_can_spend = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // 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 + google.protobuf.Timestamp period_reset = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; +} + +// AllowedMsgAllowance creates allowance only for specified message types. +message AllowedMsgAllowance { + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // allowance can be any of basic and periodic fee allowance. + google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; + + // allowed_messages are the messages for which the grantee has the access. + repeated string allowed_messages = 2; +} + +// Grant is stored in the KVStore to record a grant with full context +message Grant { + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // allowance can be any of basic, periodic, allowed fee allowance. + google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto new file mode 100644 index 000000000..5b1ac4ca5 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto @@ -0,0 +1,13 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/feegrant/v1beta1/feegrant.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// GenesisState contains a set of fee allowances, persisted from the store +message GenesisState { + repeated Grant allowances = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto new file mode 100644 index 000000000..59c992c91 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto @@ -0,0 +1,79 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "cosmos/feegrant/v1beta1/feegrant.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// Query defines the gRPC querier service. +service Query { + + // Allowance returns fee granted to the grantee by the granter. + rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; + } + + // Allowances returns all the grants for address. + rpc Allowances(QueryAllowancesRequest) returns (QueryAllowancesResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowances/{grantee}"; + } + + // AllowancesByGranter returns all the grants given by an address + // Since v0.46 + rpc AllowancesByGranter(QueryAllowancesByGranterRequest) returns (QueryAllowancesByGranterResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/issued/{granter}"; + } +} + +// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. +message QueryAllowanceRequest { + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. +message QueryAllowanceResponse { + // allowance is a allowance granted for grantee by granter. + cosmos.feegrant.v1beta1.Grant allowance = 1; +} + +// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. +message QueryAllowancesRequest { + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. +message QueryAllowancesResponse { + // allowances are allowance's granted for grantee by granter. + repeated cosmos.feegrant.v1beta1.Grant allowances = 1; + + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. +message QueryAllowancesByGranterRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. +message QueryAllowancesByGranterResponse { + // allowances that have been issued by the granter. + repeated cosmos.feegrant.v1beta1.Grant allowances = 1; + + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto new file mode 100644 index 000000000..a12d9aaab --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto @@ -0,0 +1,53 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// Msg defines the feegrant msg service. +service Msg { + + // GrantAllowance grants fee allowance to the grantee on the granter's + // account with the provided expiration time. + rpc GrantAllowance(MsgGrantAllowance) returns (MsgGrantAllowanceResponse); + + // RevokeAllowance revokes any fee allowance of granter's account that + // has been granted to the grantee. + rpc RevokeAllowance(MsgRevokeAllowance) returns (MsgRevokeAllowanceResponse); +} + +// MsgGrantAllowance adds permission for Grantee to spend up to Allowance +// of fees from the account of Granter. +message MsgGrantAllowance { + option (cosmos.msg.v1.signer) = "granter"; + + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // allowance can be any of basic, periodic, allowed fee allowance. + google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; +} + +// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. +message MsgGrantAllowanceResponse {} + +// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. +message MsgRevokeAllowance { + option (cosmos.msg.v1.signer) = "granter"; + + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. +message MsgRevokeAllowanceResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto new file mode 100644 index 000000000..958d15feb --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package cosmos.genutil.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; + +// GenesisState defines the raw genesis transaction in JSON. +message GenesisState { + // gen_txs defines the genesis transactions. + repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage", (gogoproto.jsontag) = "gentxs"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto new file mode 100644 index 000000000..cb44a7f34 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto @@ -0,0 +1,26 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; + +package cosmos.gov.v1; + +import "cosmos/gov/v1/gov.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// GenesisState defines the gov module's genesis state. +message GenesisState { + // starting_proposal_id is the ID of the starting proposal. + uint64 starting_proposal_id = 1; + // deposits defines all the deposits present at genesis. + repeated Deposit deposits = 2; + // votes defines all the votes present at genesis. + repeated Vote votes = 3; + // proposals defines all the proposals present at genesis. + repeated Proposal proposals = 4; + // params defines all the paramaters of related to deposit. + DepositParams deposit_params = 5; + // params defines all the paramaters of related to voting. + VotingParams voting_params = 6; + // params defines all the paramaters of related to tally. + TallyParams tally_params = 7; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto new file mode 100644 index 000000000..fb014d65c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto @@ -0,0 +1,132 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// VoteOption enumerates the valid vote options for a given governance proposal. +enum VoteOption { + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4; +} + +// WeightedVoteOption defines a unit of vote for vote split. +message WeightedVoteOption { + VoteOption option = 1; + string weight = 2 [(cosmos_proto.scalar) = "cosmos.Dec"]; +} + +// Deposit defines an amount deposited by an account address to an active +// proposal. +message Deposit { + uint64 proposal_id = 1; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// Proposal defines the core field members of a governance proposal. +message Proposal { + uint64 id = 1; + repeated google.protobuf.Any messages = 2; + ProposalStatus status = 3; + // 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. + TallyResult final_tally_result = 4; + google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true]; + repeated cosmos.base.v1beta1.Coin total_deposit = 7 [(gogoproto.nullable) = false]; + google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true]; + + // metadata is any arbitrary metadata attached to the proposal. + string metadata = 10; +} + +// ProposalStatus enumerates the valid statuses of a proposal. +enum ProposalStatus { + // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + PROPOSAL_STATUS_UNSPECIFIED = 0; + // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + // period. + PROPOSAL_STATUS_DEPOSIT_PERIOD = 1; + // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + // period. + PROPOSAL_STATUS_VOTING_PERIOD = 2; + // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + // passed. + PROPOSAL_STATUS_PASSED = 3; + // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + // been rejected. + PROPOSAL_STATUS_REJECTED = 4; + // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + // failed. + PROPOSAL_STATUS_FAILED = 5; +} + +// TallyResult defines a standard tally for a governance proposal. +message TallyResult { + string yes_count = 1 [(cosmos_proto.scalar) = "cosmos.Int"]; + string abstain_count = 2 [(cosmos_proto.scalar) = "cosmos.Int"]; + string no_count = 3 [(cosmos_proto.scalar) = "cosmos.Int"]; + string no_with_veto_count = 4 [(cosmos_proto.scalar) = "cosmos.Int"]; +} + +// Vote defines a vote on a governance proposal. +// A Vote consists of a proposal ID, the voter, and the vote option. +message Vote { + uint64 proposal_id = 1; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + reserved 3; + repeated WeightedVoteOption options = 4; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 5; +} + +// DepositParams defines the params for deposits on governance proposals. +message DepositParams { + // Minimum deposit for a proposal to enter voting period. + repeated cosmos.base.v1beta1.Coin min_deposit = 1 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "min_deposit,omitempty"]; + + // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + // months. + google.protobuf.Duration max_deposit_period = 2 + [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; +} + +// VotingParams defines the params for voting on governance proposals. +message VotingParams { + // Length of the voting period. + google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true]; +} + +// TallyParams defines the params for tallying votes on governance proposals. +message TallyParams { + // Minimum percentage of total stake needed to vote for a result to be + // considered valid. + string quorum = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "quorum,omitempty"]; + + // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + string threshold = 2 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "threshold,omitempty"]; + + // Minimum value of Veto votes to Total votes ratio for proposal to be + // vetoed. Default value: 1/3. + string veto_threshold = 3 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "veto_threshold,omitempty"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto new file mode 100644 index 000000000..ea46472aa --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto @@ -0,0 +1,183 @@ + +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos/gov/v1/gov.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// Query defines the gRPC querier service for gov module +service Query { + // Proposal queries proposal details based on ProposalID. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}"; + } + + // Proposals queries all proposals based on given status. + rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals"; + } + + // Vote queries voted information based on proposalID, voterAddr. + rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}"; + } + + // Votes queries votes of a given proposal. + rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes"; + } + + // Params queries all parameters of the gov module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/params/{params_type}"; + } + + // Deposit queries single deposit information based proposalID, depositAddr. + rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}"; + } + + // Deposits queries all deposits of a single proposal. + rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits"; + } + + // TallyResult queries the tally of a proposal vote. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/tally"; + } +} + +// QueryProposalRequest is the request type for the Query/Proposal RPC method. +message QueryProposalRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the response type for the Query/Proposal RPC method. +message QueryProposalResponse { + Proposal proposal = 1; +} + +// QueryProposalsRequest is the request type for the Query/Proposals RPC method. +message QueryProposalsRequest { + // proposal_status defines the status of the proposals. + ProposalStatus proposal_status = 1; + + // voter defines the voter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // depositor defines the deposit addresses from the proposals. + string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryProposalsResponse is the response type for the Query/Proposals RPC +// method. +message QueryProposalsResponse { + repeated Proposal proposals = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteRequest is the request type for the Query/Vote RPC method. +message QueryVoteRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // voter defines the oter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteResponse is the response type for the Query/Vote RPC method. +message QueryVoteResponse { + // vote defined the queried vote. + Vote vote = 1; +} + +// QueryVotesRequest is the request type for the Query/Votes RPC method. +message QueryVotesRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesResponse is the response type for the Query/Votes RPC method. +message QueryVotesResponse { + // votes defined the queried votes. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest { + // params_type defines which parameters to query for, can be one of "voting", + // "tallying" or "deposit". + string params_type = 1; +} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // voting_params defines the parameters related to voting. + VotingParams voting_params = 1; + // deposit_params defines the parameters related to deposit. + DepositParams deposit_params = 2; + // tally_params defines the parameters related to tally. + TallyParams tally_params = 3; +} + +// QueryDepositRequest is the request type for the Query/Deposit RPC method. +message QueryDepositRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // depositor defines the deposit addresses from the proposals. + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDepositResponse is the response type for the Query/Deposit RPC method. +message QueryDepositResponse { + // deposit defines the requested deposit. + Deposit deposit = 1; +} + +// QueryDepositsRequest is the request type for the Query/Deposits RPC method. +message QueryDepositsRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDepositsResponse is the response type for the Query/Deposits RPC method. +message QueryDepositsResponse { + repeated Deposit deposits = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the request type for the Query/Tally RPC method. +message QueryTallyResultRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the response type for the Query/Tally RPC method. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto new file mode 100644 index 000000000..9306c51e8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto @@ -0,0 +1,100 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/gov/v1/gov.proto"; +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// Msg defines the gov Msg service. +service Msg { + // SubmitProposal defines a method to create new proposal given a content. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + // to execute a legacy content-based proposal. + rpc ExecLegacyContent(MsgExecLegacyContent) returns (MsgExecLegacyContentResponse); + + // Vote defines a method to add a vote on a specific proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // VoteWeighted defines a method to add a weighted vote on a specific proposal. + rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); + + // Deposit defines a method to add deposit on a specific proposal. + rpc Deposit(MsgDeposit) returns (MsgDepositResponse); +} + +// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary +// proposal Content. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposer"; + + repeated google.protobuf.Any messages = 1; + repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [(gogoproto.nullable) = false]; + string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // metadata is any arbitrary metadata attached to the proposal. + string metadata = 4; +} + +// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + uint64 proposal_id = 1; +} + +// MsgExecLegacyContent is used to wrap the legacy content field into a message. +// This ensures backwards compatibility with v1beta1.MsgSubmitProposal. +message MsgExecLegacyContent { + option (cosmos.msg.v1.signer) = "authority"; + + // content is the proposal's content. + google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + // authority must be the gov module address. + string authority = 2; +} + +// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. +message MsgExecLegacyContentResponse {} + +// MsgVote defines a message to cast a vote. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + VoteOption option = 3; + string metadata = 4; +} + +// MsgVoteResponse defines the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgVoteWeighted defines a message to cast a vote. +message MsgVoteWeighted { + option (cosmos.msg.v1.signer) = "voter"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated WeightedVoteOption options = 3; + string metadata = 4; +} + +// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. +message MsgVoteWeightedResponse {} + +// MsgDeposit defines a message to submit a deposit to an existing proposal. +message MsgDeposit { + option (cosmos.msg.v1.signer) = "depositor"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgDepositResponse defines the Msg/Deposit response type. +message MsgDepositResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto new file mode 100644 index 000000000..be9b07e46 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + +package cosmos.gov.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/gov/v1beta1/gov.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// GenesisState defines the gov module's genesis state. +message GenesisState { + // starting_proposal_id is the ID of the starting proposal. + uint64 starting_proposal_id = 1; + // deposits defines all the deposits present at genesis. + repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false]; + // votes defines all the votes present at genesis. + repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false]; + // proposals defines all the proposals present at genesis. + repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false]; + // params defines all the paramaters of related to deposit. + DepositParams deposit_params = 5 [(gogoproto.nullable) = false]; + // params defines all the paramaters of related to voting. + VotingParams voting_params = 6 [(gogoproto.nullable) = false]; + // params defines all the paramaters of related to tally. + TallyParams tally_params = 7 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto new file mode 100644 index 000000000..f1487fe4b --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto @@ -0,0 +1,201 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; + +// VoteOption enumerates the valid vote options for a given governance proposal. +enum VoteOption { + option (gogoproto.goproto_enum_prefix) = false; + + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"]; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"]; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"]; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"]; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"]; +} + +// WeightedVoteOption defines a unit of vote for vote split. +// +// Since: cosmos-sdk 0.43 +message WeightedVoteOption { + VoteOption option = 1; + string weight = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// TextProposal defines a standard text proposal whose changes need to be +// manually updated in case of approval. +message TextProposal { + option (cosmos_proto.implements_interface) = "Content"; + + option (gogoproto.equal) = true; + + string title = 1; + string description = 2; +} + +// Deposit defines an amount deposited by an account address to an active +// proposal. +message Deposit { + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + uint64 proposal_id = 1; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// Proposal defines the core field members of a governance proposal. +message Proposal { + option (gogoproto.equal) = true; + + uint64 proposal_id = 1; + google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "Content"]; + ProposalStatus status = 3; + // 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. + TallyResult final_tally_result = 4 [(gogoproto.nullable) = false]; + google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin total_deposit = 7 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; +} + +// ProposalStatus enumerates the valid statuses of a proposal. +enum ProposalStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"]; + // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + // period. + PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"]; + // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + // period. + PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"]; + // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + // passed. + PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"]; + // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + // been rejected. + PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"]; + // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + // failed. + PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"]; +} + +// TallyResult defines a standard tally for a governance proposal. +message TallyResult { + option (gogoproto.equal) = true; + + string yes = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string abstain = 2 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string no = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string no_with_veto = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// Vote defines a vote on a governance proposal. +// A Vote consists of a proposal ID, the voter, and the vote option. +message Vote { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // 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. + VoteOption option = 3 [deprecated = true]; + // Since: cosmos-sdk 0.43 + repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false]; +} + +// DepositParams defines the params for deposits on governance proposals. +message DepositParams { + // Minimum deposit for a proposal to enter voting period. + repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.jsontag) = "min_deposit,omitempty" + ]; + + // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + // months. + google.protobuf.Duration max_deposit_period = 2 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.jsontag) = "max_deposit_period,omitempty" + ]; +} + +// VotingParams defines the params for voting on governance proposals. +message VotingParams { + // Length of the voting period. + google.protobuf.Duration voting_period = 1 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"]; +} + +// TallyParams defines the params for tallying votes on governance proposals. +message TallyParams { + // Minimum percentage of total stake needed to vote for a result to be + // considered valid. + bytes quorum = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "quorum,omitempty" + ]; + + // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + bytes threshold = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "threshold,omitempty" + ]; + + // Minimum value of Veto votes to Total votes ratio for proposal to be + // vetoed. Default value: 1/3. + bytes veto_threshold = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "veto_threshold,omitempty" + ]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto new file mode 100644 index 000000000..e8837fd27 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto @@ -0,0 +1,191 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/gov/v1beta1/gov.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// Query defines the gRPC querier service for gov module +service Query { + // Proposal queries proposal details based on ProposalID. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}"; + } + + // Proposals queries all proposals based on given status. + rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals"; + } + + // Vote queries voted information based on proposalID, voterAddr. + rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; + } + + // Votes queries votes of a given proposal. + rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; + } + + // Params queries all parameters of the gov module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/params/{params_type}"; + } + + // Deposit queries single deposit information based proposalID, depositAddr. + rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; + } + + // Deposits queries all deposits of a single proposal. + rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; + } + + // TallyResult queries the tally of a proposal vote. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; + } +} + +// QueryProposalRequest is the request type for the Query/Proposal RPC method. +message QueryProposalRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the response type for the Query/Proposal RPC method. +message QueryProposalResponse { + Proposal proposal = 1 [(gogoproto.nullable) = false]; +} + +// QueryProposalsRequest is the request type for the Query/Proposals RPC method. +message QueryProposalsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // proposal_status defines the status of the proposals. + ProposalStatus proposal_status = 1; + + // voter defines the voter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // depositor defines the deposit addresses from the proposals. + string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryProposalsResponse is the response type for the Query/Proposals RPC +// method. +message QueryProposalsResponse { + repeated Proposal proposals = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteRequest is the request type for the Query/Vote RPC method. +message QueryVoteRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // voter defines the oter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteResponse is the response type for the Query/Vote RPC method. +message QueryVoteResponse { + // vote defined the queried vote. + Vote vote = 1 [(gogoproto.nullable) = false]; +} + +// QueryVotesRequest is the request type for the Query/Votes RPC method. +message QueryVotesRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesResponse is the response type for the Query/Votes RPC method. +message QueryVotesResponse { + // votes defined the queried votes. + repeated Vote votes = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest { + // params_type defines which parameters to query for, can be one of "voting", + // "tallying" or "deposit". + string params_type = 1; +} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // voting_params defines the parameters related to voting. + VotingParams voting_params = 1 [(gogoproto.nullable) = false]; + // deposit_params defines the parameters related to deposit. + DepositParams deposit_params = 2 [(gogoproto.nullable) = false]; + // tally_params defines the parameters related to tally. + TallyParams tally_params = 3 [(gogoproto.nullable) = false]; +} + +// QueryDepositRequest is the request type for the Query/Deposit RPC method. +message QueryDepositRequest { + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // depositor defines the deposit addresses from the proposals. + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDepositResponse is the response type for the Query/Deposit RPC method. +message QueryDepositResponse { + // deposit defines the requested deposit. + Deposit deposit = 1 [(gogoproto.nullable) = false]; +} + +// QueryDepositsRequest is the request type for the Query/Deposits RPC method. +message QueryDepositsRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDepositsResponse is the response type for the Query/Deposits RPC method. +message QueryDepositsResponse { + repeated Deposit deposits = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the request type for the Query/Tally RPC method. +message QueryTallyResultRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the response type for the Query/Tally RPC method. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto new file mode 100644 index 000000000..00ce2253e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto @@ -0,0 +1,106 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/gov/v1beta1/gov.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// Msg defines the bank Msg service. +service Msg { + // SubmitProposal defines a method to create new proposal given a content. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // Vote defines a method to add a vote on a specific proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // VoteWeighted defines a method to add a weighted vote on a specific proposal. + // + // Since: cosmos-sdk 0.43 + rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); + + // Deposit defines a method to add deposit on a specific proposal. + rpc Deposit(MsgDeposit) returns (MsgDepositResponse); +} + +// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary +// proposal Content. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposer"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + repeated cosmos.base.v1beta1.Coin initial_deposit = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; +} + +// MsgVote defines a message to cast a vote. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + VoteOption option = 3; +} + +// MsgVoteResponse defines the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgVoteWeighted defines a message to cast a vote. +// +// Since: cosmos-sdk 0.43 +message MsgVoteWeighted { + option (cosmos.msg.v1.signer) = "voter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false]; +} + +// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. +// +// Since: cosmos-sdk 0.43 +message MsgVoteWeightedResponse {} + +// MsgDeposit defines a message to submit a deposit to an existing proposal. +message MsgDeposit { + option (cosmos.msg.v1.signer) = "depositor"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgDepositResponse defines the Msg/Deposit response type. +message MsgDepositResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto b/examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto new file mode 100644 index 000000000..e8907243a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto @@ -0,0 +1,77 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/group/v1/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +// EventCreateGroup is an event emitted when a group is created. +message EventCreateGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// EventUpdateGroup is an event emitted when a group is updated. +message EventUpdateGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// EventCreateGroupPolicy is an event emitted when a group policy is created. +message EventCreateGroupPolicy { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventUpdateGroupPolicy is an event emitted when a group policy is updated. +message EventUpdateGroupPolicy { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventSubmitProposal is an event emitted when a proposal is created. +message EventSubmitProposal { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventWithdrawProposal is an event emitted when a proposal is withdrawn. +message EventWithdrawProposal { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventVote is an event emitted when a voter votes on a proposal. +message EventVote { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventExec is an event emitted when a proposal is executed. +message EventExec { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; + + // result is the proposal execution result. + ProposalExecutorResult result = 2; +} + +// EventLeaveGroup is an event emitted when group member leaves the group. +message EventLeaveGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // address is the account address of the group member. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto new file mode 100644 index 000000000..49655ad2f --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "cosmos/group/v1/types.proto"; + +// GenesisState defines the group module's genesis state. +message GenesisState { + + // group_seq is the group table orm.Sequence, + // it is used to get the next group ID. + uint64 group_seq = 1; + + // groups is the list of groups info. + repeated GroupInfo groups = 2; + + // group_members is the list of groups members. + repeated GroupMember group_members = 3; + + // group_policy_seq is the group policy table orm.Sequence, + // it is used to generate the next group policy account address. + uint64 group_policy_seq = 4; + + // group_policies is the list of group policies info. + repeated GroupPolicyInfo group_policies = 5; + + // proposal_seq is the proposal table orm.Sequence, + // it is used to get the next proposal ID. + uint64 proposal_seq = 6; + + // proposals is the list of proposals. + repeated Proposal proposals = 7; + + // votes is the list of votes. + repeated Vote votes = 8; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto b/examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto new file mode 100644 index 000000000..1690d5b73 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto @@ -0,0 +1,308 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/group/v1/types.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +// Query is the cosmos.group.v1 Query service. +service Query { + + // GroupInfo queries group info based on group id. + rpc GroupInfo(QueryGroupInfoRequest) returns (QueryGroupInfoResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_info/{group_id}"; + }; + + // GroupPolicyInfo queries group policy info based on account address of group policy. + rpc GroupPolicyInfo(QueryGroupPolicyInfoRequest) returns (QueryGroupPolicyInfoResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policy_info/{address}"; + }; + + // GroupMembers queries members of a group + rpc GroupMembers(QueryGroupMembersRequest) returns (QueryGroupMembersResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_members/{group_id}"; + }; + + // GroupsByAdmin queries groups by admin address. + rpc GroupsByAdmin(QueryGroupsByAdminRequest) returns (QueryGroupsByAdminResponse) { + option (google.api.http).get = "/cosmos/group/v1/groups_by_admin/{admin}"; + }; + + // GroupPoliciesByGroup queries group policies by group id. + rpc GroupPoliciesByGroup(QueryGroupPoliciesByGroupRequest) returns (QueryGroupPoliciesByGroupResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policies_by_group/{group_id}"; + }; + + // GroupsByAdmin queries group policies by admin address. + rpc GroupPoliciesByAdmin(QueryGroupPoliciesByAdminRequest) returns (QueryGroupPoliciesByAdminResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policies_by_admin/{admin}"; + }; + + // Proposal queries a proposal based on proposal id. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposal/{proposal_id}"; + }; + + // ProposalsByGroupPolicy queries proposals based on account address of group policy. + rpc ProposalsByGroupPolicy(QueryProposalsByGroupPolicyRequest) returns (QueryProposalsByGroupPolicyResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposals_by_group_policy/{address}"; + }; + + // VoteByProposalVoter queries a vote by proposal id and voter. + rpc VoteByProposalVoter(QueryVoteByProposalVoterRequest) returns (QueryVoteByProposalVoterResponse) { + option (google.api.http).get = "/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}"; + }; + + // VotesByProposal queries a vote by proposal. + rpc VotesByProposal(QueryVotesByProposalRequest) returns (QueryVotesByProposalResponse) { + option (google.api.http).get = "/cosmos/group/v1/votes_by_proposal/{proposal_id}"; + }; + + // VotesByVoter queries a vote by voter. + rpc VotesByVoter(QueryVotesByVoterRequest) returns (QueryVotesByVoterResponse) { + option (google.api.http).get = "/cosmos/group/v1/votes_by_voter/{voter}"; + }; + + // GroupsByMember queries groups by member address. + rpc GroupsByMember(QueryGroupsByMemberRequest) returns (QueryGroupsByMemberResponse) { + option (google.api.http).get = "/cosmos/group/v1/groups_by_member/{address}"; + }; + + // TallyResult queries the tally of a proposal votes. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposals/{proposal_id}/tally"; + }; +} + +// QueryGroupInfoRequest is the Query/GroupInfo request type. +message QueryGroupInfoRequest { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// QueryGroupInfoResponse is the Query/GroupInfo response type. +message QueryGroupInfoResponse { + + // info is the GroupInfo for the group. + GroupInfo info = 1; +} + +// QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. +message QueryGroupPolicyInfoRequest { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. +message QueryGroupPolicyInfoResponse { + + // info is the GroupPolicyInfo for the group policy. + GroupPolicyInfo info = 1; +} + +// QueryGroupMembersRequest is the Query/GroupMembers request type. +message QueryGroupMembersRequest { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupMembersResponse is the Query/GroupMembersResponse response type. +message QueryGroupMembersResponse { + + // members are the members of the group with given group_id. + repeated GroupMember members = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. +message QueryGroupsByAdminRequest { + + // admin is the account address of a group's admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. +message QueryGroupsByAdminResponse { + + // groups are the groups info with the provided admin. + repeated GroupInfo groups = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. +message QueryGroupPoliciesByGroupRequest { + + // group_id is the unique ID of the group policy's group. + uint64 group_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. +message QueryGroupPoliciesByGroupResponse { + + // group_policies are the group policies info associated with the provided group. + repeated GroupPolicyInfo group_policies = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. +message QueryGroupPoliciesByAdminRequest { + + // admin is the admin address of the group policy. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. +message QueryGroupPoliciesByAdminResponse { + + // group_policies are the group policies info with provided admin. + repeated GroupPolicyInfo group_policies = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryProposalRequest is the Query/Proposal request type. +message QueryProposalRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the Query/Proposal response type. +message QueryProposalResponse { + + // proposal is the proposal info. + Proposal proposal = 1; +} + +// QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. +message QueryProposalsByGroupPolicyRequest { + + // address is the account address of the group policy related to proposals. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. +message QueryProposalsByGroupPolicyResponse { + + // proposals are the proposals with given group policy. + repeated Proposal proposals = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. +message QueryVoteByProposalVoterRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; + + // voter is a proposal voter account address. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. +message QueryVoteByProposalVoterResponse { + + // vote is the vote with given proposal_id and voter. + Vote vote = 1; +} + +// QueryVotesByProposalRequest is the Query/VotesByProposal request type. +message QueryVotesByProposalRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesByProposalResponse is the Query/VotesByProposal response type. +message QueryVotesByProposalResponse { + + // votes are the list of votes for given proposal_id. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVotesByVoterRequest is the Query/VotesByVoter request type. +message QueryVotesByVoterRequest { + // voter is a proposal voter account address. + string voter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesByVoterResponse is the Query/VotesByVoter response type. +message QueryVotesByVoterResponse { + + // votes are the list of votes by given voter. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupsByMemberRequest is the Query/GroupsByMember request type. +message QueryGroupsByMemberRequest { + // address is the group member address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupsByMemberResponse is the Query/GroupsByMember response type. +message QueryGroupsByMemberResponse { + // groups are the groups info with the provided group member. + repeated GroupInfo groups = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the Query/TallyResult request type. +message QueryTallyResultRequest { + // proposal_id is the unique id of a proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the Query/TallyResult response type. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto new file mode 100644 index 000000000..08d83ede8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto @@ -0,0 +1,364 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; +import "cosmos/group/v1/types.proto"; + +import "cosmos/msg/v1/msg.proto"; + +// Msg is the cosmos.group.v1 Msg service. +service Msg { + + // CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. + rpc CreateGroup(MsgCreateGroup) returns (MsgCreateGroupResponse); + + // UpdateGroupMembers updates the group members with given group id and admin address. + rpc UpdateGroupMembers(MsgUpdateGroupMembers) returns (MsgUpdateGroupMembersResponse); + + // UpdateGroupAdmin updates the group admin with given group id and previous admin address. + rpc UpdateGroupAdmin(MsgUpdateGroupAdmin) returns (MsgUpdateGroupAdminResponse); + + // UpdateGroupMetadata updates the group metadata with given group id and admin address. + rpc UpdateGroupMetadata(MsgUpdateGroupMetadata) returns (MsgUpdateGroupMetadataResponse); + + // CreateGroupPolicy creates a new group policy using given DecisionPolicy. + rpc CreateGroupPolicy(MsgCreateGroupPolicy) returns (MsgCreateGroupPolicyResponse); + + // CreateGroupWithPolicy creates a new group with policy. + rpc CreateGroupWithPolicy(MsgCreateGroupWithPolicy) returns (MsgCreateGroupWithPolicyResponse); + + // UpdateGroupPolicyAdmin updates a group policy admin. + rpc UpdateGroupPolicyAdmin(MsgUpdateGroupPolicyAdmin) returns (MsgUpdateGroupPolicyAdminResponse); + + // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. + rpc UpdateGroupPolicyDecisionPolicy(MsgUpdateGroupPolicyDecisionPolicy) + returns (MsgUpdateGroupPolicyDecisionPolicyResponse); + + // UpdateGroupPolicyMetadata updates a group policy metadata. + rpc UpdateGroupPolicyMetadata(MsgUpdateGroupPolicyMetadata) returns (MsgUpdateGroupPolicyMetadataResponse); + + // SubmitProposal submits a new proposal. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // WithdrawProposal aborts a proposal. + rpc WithdrawProposal(MsgWithdrawProposal) returns (MsgWithdrawProposalResponse); + + // Vote allows a voter to vote on a proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // Exec executes a proposal. + rpc Exec(MsgExec) returns (MsgExecResponse); + + // LeaveGroup allows a group member to leave the group. + rpc LeaveGroup(MsgLeaveGroup) returns (MsgLeaveGroupResponse); +} + +// +// Groups +// + +// MsgCreateGroup is the Msg/CreateGroup request type. +message MsgCreateGroup { + option (cosmos.msg.v1.signer) = "admin"; + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // members defines the group members. + repeated Member members = 2 [(gogoproto.nullable) = false]; + + // metadata is any arbitrary metadata to attached to the group. + string metadata = 3; +} + +// MsgCreateGroupResponse is the Msg/CreateGroup response type. +message MsgCreateGroupResponse { + + // group_id is the unique ID of the newly created group. + uint64 group_id = 1; +} + +// MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. +message MsgUpdateGroupMembers { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // member_updates is the list of members to update, + // set weight to 0 to remove a member. + repeated Member member_updates = 3 [(gogoproto.nullable) = false]; +} + +// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. +message MsgUpdateGroupMembersResponse {} + +// MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. +message MsgUpdateGroupAdmin { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the current account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // new_admin is the group new admin account address. + string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. +message MsgUpdateGroupAdminResponse {} + +// MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. +message MsgUpdateGroupMetadata { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // metadata is the updated group's metadata. + string metadata = 3; +} + +// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. +message MsgUpdateGroupMetadataResponse {} + +// +// Group Policies +// + +// MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. +message MsgCreateGroupPolicy { + option (cosmos.msg.v1.signer) = "admin"; + + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // metadata is any arbitrary metadata attached to the group policy. + string metadata = 3; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 4 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. +message MsgCreateGroupPolicyResponse { + + // address is the account address of the newly created group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. +message MsgUpdateGroupPolicyAdmin { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of the group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // new_admin is the new group policy admin. + string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. +message MsgCreateGroupWithPolicy { + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group and group policy admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // members defines the group members. + repeated Member members = 2 [(gogoproto.nullable) = false]; + + // group_metadata is any arbitrary metadata attached to the group. + string group_metadata = 3; + + // group_policy_metadata is any arbitrary metadata attached to the group policy. + string group_policy_metadata = 4; + + // 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. + bool group_policy_as_admin = 5; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. +message MsgCreateGroupWithPolicyResponse { + + // group_id is the unique ID of the newly created group with policy. + uint64 group_id = 1; + + // group_policy_address is the account address of the newly created group policy. + string group_policy_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. +message MsgUpdateGroupPolicyAdminResponse {} + +// MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. +message MsgUpdateGroupPolicyDecisionPolicy { + option (cosmos.msg.v1.signer) = "admin"; + + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // decision_policy is the updated group policy's decision policy. + google.protobuf.Any decision_policy = 3 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. +message MsgUpdateGroupPolicyDecisionPolicyResponse {} + +// MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. +message MsgUpdateGroupPolicyMetadata { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is the updated group policy metadata. + string metadata = 3; +} + +// MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. +message MsgUpdateGroupPolicyMetadataResponse {} + +// +// Proposals and Voting +// + +// Exec defines modes of execution of a proposal on creation or on new vote. +enum Exec { + + // An empty value means that there should be a separate + // MsgExec request for the proposal to execute. + EXEC_UNSPECIFIED = 0; + + // 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; +} + +// MsgSubmitProposal is the Msg/SubmitProposal request type. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposers"; + + option (gogoproto.goproto_getters) = false; + + // address is the account address of group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // proposers are the account addresses of the proposers. + // Proposers signatures will be counted as yes votes. + repeated string proposers = 2; + + // metadata is any arbitrary metadata to attached to the proposal. + string metadata = 3; + + // messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + repeated google.protobuf.Any messages = 4; + + // 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 = 5; +} + +// MsgSubmitProposalResponse is the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// MsgWithdrawProposal is the Msg/WithdrawProposal request type. +message MsgWithdrawProposal { + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // address is the admin of the group policy or one of the proposer of the proposal. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. +message MsgWithdrawProposalResponse {} + +// MsgVote is the Msg/Vote request type. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + // voter is the voter account address. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // option is the voter's choice on the proposal. + VoteOption option = 3; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 4; + + // exec defines whether the proposal should be executed + // immediately after voting or not. + Exec exec = 5; +} + +// MsgVoteResponse is the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgExec is the Msg/Exec request type. +message MsgExec { + option (cosmos.msg.v1.signer) = "signer"; + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // signer is the account address used to execute the proposal. + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgExecResponse is the Msg/Exec request type. +message MsgExecResponse {} + +// MsgLeaveGroup is the Msg/LeaveGroup request type. +message MsgLeaveGroup { + option (cosmos.msg.v1.signer) = "address"; + + // address is the account address of the group member. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; +} + +// MsgLeaveGroupResponse is the Msg/LeaveGroup response type. +message MsgLeaveGroupResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto b/examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto new file mode 100644 index 000000000..e09a74c13 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto @@ -0,0 +1,308 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; + +// Member represents a group member with an account address, +// non-zero weight and metadata. +message Member { + + // address is the member's account address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // weight is the member's voting weight that should be greater than 0. + string weight = 2; + + // metadata is any arbitrary metadata to attached to the member. + string metadata = 3; + + // added_at is a timestamp specifying when a member was added. + google.protobuf.Timestamp added_at = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// Members defines a repeated slice of Member objects. +message Members { + + // members is the list of members. + repeated Member members = 1 [(gogoproto.nullable) = false]; +} + +// ThresholdDecisionPolicy implements the DecisionPolicy interface +message ThresholdDecisionPolicy { + option (cosmos_proto.implements_interface) = "DecisionPolicy"; + + // threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. + string threshold = 1; + + // windows defines the different windows for voting and execution. + DecisionPolicyWindows windows = 2; +} + +// PercentageDecisionPolicy implements the DecisionPolicy interface +message PercentageDecisionPolicy { + option (cosmos_proto.implements_interface) = "DecisionPolicy"; + + // percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. + string percentage = 1; + + // windows defines the different windows for voting and execution. + DecisionPolicyWindows windows = 2; +} + +// DecisionPolicyWindows defines the different windows for voting and execution. +message 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. + google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; + + // 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. + google.protobuf.Duration min_execution_period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; +} + +// VoteOption enumerates the valid vote options for a given proposal. +enum VoteOption { + option (gogoproto.goproto_enum_prefix) = false; + + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4; +} + +// +// State +// + +// GroupInfo represents the high-level on-chain information for a group. +message GroupInfo { + + // id is the unique ID of the group. + uint64 id = 1; + + // admin is the account address of the group's admin. + string admin = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the group. + string metadata = 3; + + // 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 + uint64 version = 4; + + // total_weight is the sum of the group members' weights. + string total_weight = 5; + + // created_at is a timestamp specifying when a group was created. + google.protobuf.Timestamp created_at = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// GroupMember represents the relationship between a group and a member. +message GroupMember { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // member is the member data. + Member member = 2; +} + +// GroupPolicyInfo represents the high-level on-chain information for a group policy. +message GroupPolicyInfo { + option (gogoproto.equal) = true; + option (gogoproto.goproto_getters) = false; + + // address is the account address of group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // admin is the account address of the group admin. + string admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the group policy. + string metadata = 4; + + // version is used to track changes to a group's GroupPolicyInfo structure that + // would create a different result on a running proposal. + uint64 version = 5; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; + + // created_at is a timestamp specifying when a group policy was created. + google.protobuf.Timestamp created_at = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// 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. +message Proposal { + option (gogoproto.goproto_getters) = false; + + // id is the unique id of the proposal. + uint64 id = 1; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the proposal. + string metadata = 3; + + // proposers are the account addresses of the proposers. + repeated string proposers = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // submit_time is a timestamp specifying when a proposal was submitted. + google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // group_version tracks the version of the group that this proposal corresponds to. + // When group membership is changed, existing proposals from previous group versions will become invalid. + uint64 group_version = 6; + + // group_policy_version tracks the version of the group policy that this proposal corresponds to. + // When a decision policy is changed, existing proposals from previous policy versions will become invalid. + uint64 group_policy_version = 7; + + // status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + ProposalStatus status = 8; + + // result is the final result based on the votes and election rule. Initial value is unfinalized. + // The result is persisted so that clients can always rely on this state and not have to replicate the logic. + ProposalResult result = 9; + + // final_tally_result contains the sums of all weighted votes for this + // proposal for each vote option, after tallying. When querying a proposal + // via gRPC, this field is not populated until the proposal's voting period + // has ended. + TallyResult final_tally_result = 10 [(gogoproto.nullable) = false]; + + // 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`, as well + // as `status` and `result` fields will be accordingly updated. + google.protobuf.Timestamp voting_period_end = 11 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // executor_result is the final result based on the votes and election rule. Initial value is NotRun. + ProposalExecutorResult executor_result = 12; + + // messages is a list of Msgs that will be executed if the proposal passes. + repeated google.protobuf.Any messages = 13; +} + +// ProposalStatus defines proposal statuses. +enum ProposalStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is invalid and not allowed. + PROPOSAL_STATUS_UNSPECIFIED = 0; + + // Initial status of a proposal when persisted. + PROPOSAL_STATUS_SUBMITTED = 1; + + // Final status of a proposal when the final tally was executed. + PROPOSAL_STATUS_CLOSED = 2; + + // Final status of a proposal when the group was modified before the final tally. + PROPOSAL_STATUS_ABORTED = 3; + + // A proposal can be deleted before the voting start time by the owner. When this happens the final status + // is Withdrawn. + PROPOSAL_STATUS_WITHDRAWN = 4; +} + +// ProposalResult defines types of proposal results. +enum ProposalResult { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is invalid and not allowed + PROPOSAL_RESULT_UNSPECIFIED = 0; + + // Until a final tally has happened the status is unfinalized + PROPOSAL_RESULT_UNFINALIZED = 1; + + // Final result of the tally + PROPOSAL_RESULT_ACCEPTED = 2; + + // Final result of the tally + PROPOSAL_RESULT_REJECTED = 3; +} + +// ProposalExecutorResult defines types of proposal executor results. +enum ProposalExecutorResult { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is not allowed. + PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0; + + // We have not yet run the executor. + PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1; + + // The executor was successful and proposed action updated state. + PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2; + + // The executor returned an error and proposed action didn't update state. + PROPOSAL_EXECUTOR_RESULT_FAILURE = 3; +} + +// TallyResult represents the sum of weighted votes for each vote option. +message TallyResult { + option (gogoproto.goproto_getters) = false; + + // yes_count is the weighted sum of yes votes. + string yes_count = 1; + + // abstain_count is the weighted sum of abstainers. + string abstain_count = 2; + + // no is the weighted sum of no votes. + string no_count = 3; + + // no_with_veto_count is the weighted sum of veto. + string no_with_veto_count = 4; +} + +// Vote represents a vote for a proposal. +message Vote { + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // voter is the account address of the voter. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // option is the voter's choice on the proposal. + VoteOption option = 3; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 4; + + // submit_time is the timestamp when the vote was submitted. + google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto new file mode 100644 index 000000000..4e783fb54 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/mint/v1beta1/mint.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +// GenesisState defines the mint module's genesis state. +message GenesisState { + // minter is a space for holding current inflation information. + Minter minter = 1 [(gogoproto.nullable) = false]; + + // params defines all the paramaters of the module. + Params params = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto new file mode 100644 index 000000000..9cfe2b760 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +// Minter represents the minting state. +message Minter { + // current annual inflation rate + string inflation = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // current annual expected provisions + string annual_provisions = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Params holds parameters for the mint module. +message Params { + option (gogoproto.goproto_stringer) = false; + + // type of coin to mint + string mint_denom = 1; + // maximum annual change in inflation rate + string inflation_rate_change = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // maximum inflation rate + string inflation_max = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // minimum inflation rate + string inflation_min = 4 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // goal of percent bonded atoms + string goal_bonded = 5 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // expected blocks per year + uint64 blocks_per_year = 6; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto new file mode 100644 index 000000000..acd341d77 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/mint/v1beta1/mint.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +// Query provides defines the gRPC querier service. +service Query { + // Params returns the total set of minting parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/params"; + } + + // Inflation returns the current minting inflation value. + rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/inflation"; + } + + // AnnualProvisions current minting annual provisions value. + rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryInflationRequest is the request type for the Query/Inflation RPC method. +message QueryInflationRequest {} + +// QueryInflationResponse is the response type for the Query/Inflation RPC +// method. +message QueryInflationResponse { + // inflation is the current minting inflation value. + bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} + +// QueryAnnualProvisionsRequest is the request type for the +// Query/AnnualProvisions RPC method. +message QueryAnnualProvisionsRequest {} + +// QueryAnnualProvisionsResponse is the response type for the +// Query/AnnualProvisions RPC method. +message QueryAnnualProvisionsResponse { + // annual_provisions is the current minting annual provisions value. + bytes annual_provisions = 1 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto b/examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto new file mode 100644 index 000000000..89bdf3129 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package cosmos.msg.v1; + +import "google/protobuf/descriptor.proto"; + +// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. +// We need this right now because gogoproto codegen needs to import the extension. +option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; + +extend google.protobuf.MessageOptions { + // signer must be used in cosmos messages in order + // to signal to external clients which fields in a + // given cosmos message must be filled with signer + // information (address). + // The field must be the protobuf name of the message + // field extended with this MessageOption. + // The field must either be of string kind, or of message + // kind in case the signer information is contained within + // a message inside the cosmos message. + repeated string signer = 11110000; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto new file mode 100644 index 000000000..96964f08a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// EventSend is emitted on Msg/Send +message EventSend { + string class_id = 1; + string id = 2; + string sender = 3; + string receiver = 4; +} + +// EventMint is emitted on Mint +message EventMint { + string class_id = 1; + string id = 2; + string owner = 3; +} + +// EventBurn is emitted on Burn +message EventBurn { + string class_id = 1; + string id = 2; + string owner = 3; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto new file mode 100644 index 000000000..6f36ed34d --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "cosmos/nft/v1beta1/nft.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// GenesisState defines the nft module's genesis state. +message GenesisState { + // class defines the class of the nft type. + repeated cosmos.nft.v1beta1.Class classes = 1; + repeated Entry entries = 2; +} + +// Entry Defines all nft owned by a person +message Entry { + // owner is the owner address of the following nft + string owner = 1; + + // nfts is a group of nfts of the same owner + repeated cosmos.nft.v1beta1.NFT nfts = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto new file mode 100644 index 000000000..b12412600 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// Class defines the class of the nft type. +message Class { + // id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + string id = 1; + + // name defines the human-readable name of the NFT classification. Optional + string name = 2; + + // symbol is an abbreviated name for nft classification. Optional + string symbol = 3; + + // description is a brief description of nft classification. Optional + string description = 4; + + // uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + string uri = 5; + + // uri_hash is a hash of the document pointed by uri. Optional + string uri_hash = 6; + + // data is the app specific metadata of the NFT class. Optional + google.protobuf.Any data = 7; +} + +// NFT defines the NFT. +message NFT { + // class_id associated with the NFT, similar to the contract address of ERC721 + string class_id = 1; + + // id is a unique identifier of the NFT + string id = 2; + + // uri for the NFT metadata stored off chain + string uri = 3; + + // uri_hash is a hash of the document pointed by uri + string uri_hash = 4; + + // data is an app specific data of the NFT. Optional + google.protobuf.Any data = 10; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto new file mode 100644 index 000000000..c1d8070f4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto @@ -0,0 +1,125 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos/nft/v1beta1/nft.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// Query defines the gRPC querier service. +service Query { + // Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/balance/{owner}/{class_id}"; + } + + // Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + rpc Owner(QueryOwnerRequest) returns (QueryOwnerResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/owner/{class_id}/{id}"; + } + + // Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + rpc Supply(QuerySupplyRequest) returns (QuerySupplyResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/supply/{class_id}"; + } + + // NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + // ERC721Enumerable + rpc NFTs(QueryNFTsRequest) returns (QueryNFTsResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/nfts"; + } + + // NFT queries an NFT based on its class and id. + rpc NFT(QueryNFTRequest) returns (QueryNFTResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/nfts/{class_id}/{id}"; + } + + // Class queries an NFT class based on its id + rpc Class(QueryClassRequest) returns (QueryClassResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/classes/{class_id}"; + } + + // Classes queries all NFT classes + rpc Classes(QueryClassesRequest) returns (QueryClassesResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/classes"; + } +} + +// QueryBalanceRequest is the request type for the Query/Balance RPC method +message QueryBalanceRequest { + string class_id = 1; + string owner = 2; +} + +// QueryBalanceResponse is the response type for the Query/Balance RPC method +message QueryBalanceResponse { + uint64 amount = 1; +} + +// QueryOwnerRequest is the request type for the Query/Owner RPC method +message QueryOwnerRequest { + string class_id = 1; + string id = 2; +} + +// QueryOwnerResponse is the response type for the Query/Owner RPC method +message QueryOwnerResponse { + string owner = 1; +} + +// QuerySupplyRequest is the request type for the Query/Supply RPC method +message QuerySupplyRequest { + string class_id = 1; +} + +// QuerySupplyResponse is the response type for the Query/Supply RPC method +message QuerySupplyResponse { + uint64 amount = 1; +} + +// QueryNFTstRequest is the request type for the Query/NFTs RPC method +message QueryNFTsRequest { + string class_id = 1; + string owner = 2; + cosmos.base.query.v1beta1.PageRequest pagination = 3; +} + +// QueryNFTsResponse is the response type for the Query/NFTs RPC methods +message QueryNFTsResponse { + repeated cosmos.nft.v1beta1.NFT nfts = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryNFTRequest is the request type for the Query/NFT RPC method +message QueryNFTRequest { + string class_id = 1; + string id = 2; +} + +// QueryNFTResponse is the response type for the Query/NFT RPC method +message QueryNFTResponse { + cosmos.nft.v1beta1.NFT nft = 1; +} + +// QueryClassRequest is the request type for the Query/Class RPC method +message QueryClassRequest { + string class_id = 1; +} + +// QueryClassResponse is the response type for the Query/Class RPC method +message QueryClassResponse { + cosmos.nft.v1beta1.Class class = 1; +} + +// QueryClassesRequest is the request type for the Query/Classes RPC method +message QueryClassesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryClassesResponse is the response type for the Query/Classes RPC method +message QueryClassesResponse { + repeated cosmos.nft.v1beta1.Class classes = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto new file mode 100644 index 000000000..95b402ced --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the nft Msg service. +service Msg { + // Send defines a method to send a nft from one account to another account. + rpc Send(MsgSend) returns (MsgSendResponse); +} +// MsgSend represents a message to send a nft from one account to another account. +message MsgSend { + option (cosmos.msg.v1.signer) = "sender"; + + // class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 + string class_id = 1; + + // id defines the unique identification of nft + string id = 2; + + // sender is the address of the owner of nft + string sender = 3; + + // receiver is the receiver address of nft + string receiver = 4; +} +// MsgSendResponse defines the Msg/Send response type. +message MsgSendResponse {} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto b/examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto new file mode 100644 index 000000000..abfbbd4f5 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto @@ -0,0 +1,104 @@ +syntax = "proto3"; + +package cosmos.orm.v1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + + // table specifies that this message will be used as an ORM table. It cannot + // be used together with the singleton option. + TableDescriptor table = 104503790; + + // singleton specifies that this message will be used as an ORM singleton. It cannot + // be used together with the table option. + SingletonDescriptor singleton = 104503791; +} + +// TableDescriptor describes an ORM table. +message TableDescriptor { + + // primary_key defines the primary key for the table. + PrimaryKeyDescriptor primary_key = 1; + + // index defines one or more secondary indexes. + repeated SecondaryIndexDescriptor index = 2; + + // 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. + uint32 id = 3; +} + +// PrimaryKeyDescriptor describes a table primary key. +message 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. + string fields = 1; + + // 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. + bool auto_increment = 2; +} + +// PrimaryKeyDescriptor describes a table secondary index. +message 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 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.. + string fields = 1; + + // 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. + uint32 id = 2; + + // unique specifies that this an unique index. + bool unique = 3; +} + +// TableDescriptor describes an ORM singleton table which has at most one instance. +message 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. + uint32 id = 1; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto b/examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto new file mode 100644 index 000000000..ab713340e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto @@ -0,0 +1,76 @@ +syntax = "proto3"; + +package cosmos.orm.v1alpha1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + // module_schema is used to define the ORM schema for an app module. + // All module config messages that use module_schema must also declare + // themselves as app module config messages using the cosmos.app.v1.is_module + // option. + ModuleSchemaDescriptor module_schema = 104503792; +} + +// ModuleSchemaDescriptor describe's a module's ORM schema. +message ModuleSchemaDescriptor { + repeated FileEntry schema_file = 1; + + // FileEntry describes an ORM file used in a module. + message FileEntry { + // id is a prefix that will be varint encoded and prepended to all the + // table keys specified in the file's tables. + uint32 id = 1; + + // 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. + string proto_file_name = 2; + + // 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 storage_type = 3; + } + + // prefix is an optional prefix that precedes all keys in this module's + // store. + bytes prefix = 2; +} + +// StorageType +enum StorageType { + // 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 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 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 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_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; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto b/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto new file mode 100644 index 000000000..e5aabfeca --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.params.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +// ParameterChangeProposal defines a proposal to change one or more parameters. +message ParameterChangeProposal { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + repeated ParamChange changes = 3 [(gogoproto.nullable) = false]; +} + +// ParamChange defines an individual parameter change, for use in +// ParameterChangeProposal. +message ParamChange { + option (gogoproto.goproto_stringer) = false; + + string subspace = 1; + string key = 2; + string value = 3; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto new file mode 100644 index 000000000..3b1c9a760 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto @@ -0,0 +1,54 @@ +syntax = "proto3"; +package cosmos.params.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/params/v1beta1/params.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; + +// Query defines the gRPC querier service. +service Query { + // Params queries a specific parameter of a module, given its subspace and + // key. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/params/v1beta1/params"; + } + + // Subspaces queries for all registered subspaces and all keys for a subspace. + rpc Subspaces(QuerySubspacesRequest) returns (QuerySubspacesResponse) { + option (google.api.http).get = "/cosmos/params/v1beta1/subspaces"; + } +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest { + // subspace defines the module to query the parameter for. + string subspace = 1; + + // key defines the key of the parameter in the subspace. + string key = 2; +} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // param defines the queried parameter. + ParamChange param = 1 [(gogoproto.nullable) = false]; +} + +// QuerySubspacesRequest defines a request type for querying for all registered +// subspaces and all keys for a subspace. +message QuerySubspacesRequest {} + +// QuerySubspacesResponse defines the response types for querying for all +// registered subspaces and all keys for a subspace. +message QuerySubspacesResponse { + repeated Subspace subspaces = 1; +} + +// Subspace defines a parameter subspace name and all the keys that exist for +// the subspace. +message Subspace { + string subspace = 1; + repeated string keys = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto new file mode 100644 index 000000000..312d56aa2 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/slashing/v1beta1/slashing.proto"; +import "cosmos_proto/cosmos.proto"; + +// GenesisState defines the slashing module's genesis state. +message GenesisState { + // params defines all the paramaters of related to deposit. + Params params = 1 [(gogoproto.nullable) = false]; + + // signing_infos represents a map between validator addresses and their + // signing infos. + repeated SigningInfo signing_infos = 2 [(gogoproto.nullable) = false]; + + // missed_blocks represents a map between validator addresses and their + // missed blocks. + repeated ValidatorMissedBlocks missed_blocks = 3 [(gogoproto.nullable) = false]; +} + +// SigningInfo stores validator signing info of corresponding address. +message SigningInfo { + // address is the validator address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_signing_info represents the signing info of this validator. + ValidatorSigningInfo validator_signing_info = 2 [(gogoproto.nullable) = false]; +} + +// ValidatorMissedBlocks contains array of missed blocks of corresponding +// address. +message ValidatorMissedBlocks { + // address is the validator address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // missed_blocks is an array of missed blocks by the validator. + repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; +} + +// MissedBlock contains height and missed status as boolean. +message MissedBlock { + // index is the height at which the block was missed. + int64 index = 1; + // missed is the missed status. + bool missed = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto new file mode 100644 index 000000000..f742c1f8a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto @@ -0,0 +1,64 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/slashing/v1beta1/slashing.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; + +// Query provides defines the gRPC querier service +service Query { + // Params queries the parameters of slashing module + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/params"; + } + + // SigningInfo queries the signing info of given cons address + rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; + } + + // SigningInfos queries signing info of all validators + rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method +message QueryParamsResponse { + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC +// method +message QuerySigningInfoRequest { + // cons_address is the address to query signing info of + string cons_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC +// method +message QuerySigningInfoResponse { + // val_signing_info is the signing info of requested val cons address + ValidatorSigningInfo val_signing_info = 1 [(gogoproto.nullable) = false]; +} + +// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC +// method +message QuerySigningInfosRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC +// method +message QuerySigningInfosResponse { + // info is the signing info of all validators + repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto new file mode 100644 index 000000000..0aa9f61ff --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto @@ -0,0 +1,45 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +// ValidatorSigningInfo defines a validator's signing info for monitoring their +// liveness activity. +message ValidatorSigningInfo { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Height at which validator was first a candidate OR was unjailed + int64 start_height = 2; + // 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`. + int64 index_offset = 3; + // Timestamp until which the validator is jailed due to liveness downtime. + google.protobuf.Timestamp jailed_until = 4 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + // 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. + bool tombstoned = 5; + // A counter kept to avoid unnecessary array reads. + // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + int64 missed_blocks_counter = 6; +} + +// Params represents the parameters used for by the slashing module. +message Params { + int64 signed_blocks_window = 1; + bytes min_signed_per_window = 2 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + google.protobuf.Duration downtime_jail_duration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + bytes slash_fraction_double_sign = 4 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + bytes slash_fraction_downtime = 5 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto new file mode 100644 index 000000000..7c90304b8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the slashing Msg service. +service 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. + rpc Unjail(MsgUnjail) returns (MsgUnjailResponse); +} + +// MsgUnjail defines the Msg/Unjail request type +message MsgUnjail { + option (cosmos.msg.v1.signer) = "validator_addr"; + + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "address"]; +} + +// MsgUnjailResponse defines the Msg/Unjail response type +message MsgUnjailResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto new file mode 100644 index 000000000..677edaad1 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// StakeAuthorization defines authorization for delegate/undelegate/redelegate. +// +// Since: cosmos-sdk 0.43 +message StakeAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + // 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. + cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + // validators is the oneof that represents either allow_list or deny_list + oneof validators { + // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + // account. + Validators allow_list = 2; + // deny_list specifies list of validator addresses to whom grantee can not delegate tokens. + Validators deny_list = 3; + } + // Validators defines list of validator addresses. + message Validators { + repeated string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + } + // authorization_type defines one of AuthorizationType. + AuthorizationType authorization_type = 4; +} + +// AuthorizationType defines the type of staking module authorization type +// +// Since: cosmos-sdk 0.43 +enum AuthorizationType { + // AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type + AUTHORIZATION_TYPE_UNSPECIFIED = 0; + // AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate + AUTHORIZATION_TYPE_DELEGATE = 1; + // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate + AUTHORIZATION_TYPE_UNDELEGATE = 2; + // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate + AUTHORIZATION_TYPE_REDELEGATE = 3; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto new file mode 100644 index 000000000..bf3c298e3 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto @@ -0,0 +1,49 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/staking/v1beta1/staking.proto"; +import "cosmos_proto/cosmos.proto"; + +// GenesisState defines the staking module's genesis state. +message GenesisState { + // params defines all the paramaters of related to deposit. + Params params = 1 [(gogoproto.nullable) = false]; + + // last_total_power tracks the total amounts of bonded tokens recorded during + // the previous end block. + bytes last_total_power = 2 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + + // last_validator_powers is a special index that provides a historical list + // of the last-block's bonded validators. + repeated LastValidatorPower last_validator_powers = 3 [(gogoproto.nullable) = false]; + + // delegations defines the validator set at genesis. + repeated Validator validators = 4 [(gogoproto.nullable) = false]; + + // delegations defines the delegations active at genesis. + repeated Delegation delegations = 5 [(gogoproto.nullable) = false]; + + // unbonding_delegations defines the unbonding delegations active at genesis. + repeated UnbondingDelegation unbonding_delegations = 6 [(gogoproto.nullable) = false]; + + // redelegations defines the redelegations active at genesis. + repeated Redelegation redelegations = 7 [(gogoproto.nullable) = false]; + + bool exported = 8; +} + +// LastValidatorPower required for validator set update logic. +message LastValidatorPower { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address of the validator. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // power defines the power of the validator. + int64 power = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto new file mode 100644 index 000000000..02469232b --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto @@ -0,0 +1,349 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/staking/v1beta1/staking.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// Query defines the gRPC querier service. +service Query { + // Validators queries all validators that match the given status. + rpc Validators(QueryValidatorsRequest) returns (QueryValidatorsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators"; + } + + // Validator queries validator info for given validator address. + rpc Validator(QueryValidatorRequest) returns (QueryValidatorResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}"; + } + + // ValidatorDelegations queries delegate info for given validator. + rpc ValidatorDelegations(QueryValidatorDelegationsRequest) returns (QueryValidatorDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; + } + + // ValidatorUnbondingDelegations queries unbonding delegations of a validator. + rpc ValidatorUnbondingDelegations(QueryValidatorUnbondingDelegationsRequest) + returns (QueryValidatorUnbondingDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/" + "{validator_addr}/unbonding_delegations"; + } + + // Delegation queries delegate info for given validator delegator pair. + rpc Delegation(QueryDelegationRequest) returns (QueryDelegationResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}"; + } + + // UnbondingDelegation queries unbonding info for given validator delegator + // pair. + rpc UnbondingDelegation(QueryUnbondingDelegationRequest) returns (QueryUnbondingDelegationResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}/unbonding_delegation"; + } + + // DelegatorDelegations queries all delegations of a given delegator address. + rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) returns (QueryDelegatorDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; + } + + // DelegatorUnbondingDelegations queries all unbonding delegations of a given + // delegator address. + rpc DelegatorUnbondingDelegations(QueryDelegatorUnbondingDelegationsRequest) + returns (QueryDelegatorUnbondingDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/" + "{delegator_addr}/unbonding_delegations"; + } + + // Redelegations queries redelegations of given address. + rpc Redelegations(QueryRedelegationsRequest) returns (QueryRedelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; + } + + // DelegatorValidators queries all validators info for given delegator + // address. + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; + } + + // DelegatorValidator queries validator info for given delegator validator + // pair. + rpc DelegatorValidator(QueryDelegatorValidatorRequest) returns (QueryDelegatorValidatorResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" + "{validator_addr}"; + } + + // HistoricalInfo queries the historical info for given height. + rpc HistoricalInfo(QueryHistoricalInfoRequest) returns (QueryHistoricalInfoResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/historical_info/{height}"; + } + + // Pool queries the pool info. + rpc Pool(QueryPoolRequest) returns (QueryPoolResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/pool"; + } + + // Parameters queries the staking parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/params"; + } +} + +// QueryValidatorsRequest is request type for Query/Validators RPC method. +message QueryValidatorsRequest { + // status enables to query for validators matching a given status. + string status = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorsResponse is response type for the Query/Validators RPC method +message QueryValidatorsResponse { + // validators contains all the queried validators. + repeated Validator validators = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryValidatorRequest is response type for the Query/Validator RPC method +message QueryValidatorRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorResponse is response type for the Query/Validator RPC method +message QueryValidatorResponse { + // validator defines the the validator info. + Validator validator = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorDelegationsRequest is request type for the +// Query/ValidatorDelegations RPC method +message QueryValidatorDelegationsRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorDelegationsResponse is response type for the +// Query/ValidatorDelegations RPC method +message QueryValidatorDelegationsResponse { + repeated DelegationResponse delegation_responses = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryValidatorUnbondingDelegationsRequest is required type for the +// Query/ValidatorUnbondingDelegations RPC method +message QueryValidatorUnbondingDelegationsRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorUnbondingDelegationsResponse is response type for the +// Query/ValidatorUnbondingDelegations RPC method. +message QueryValidatorUnbondingDelegationsResponse { + repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegationRequest is request type for the Query/Delegation RPC method. +message QueryDelegationRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationResponse is response type for the Query/Delegation RPC method. +message QueryDelegationResponse { + // delegation_responses defines the delegation info of a delegation. + DelegationResponse delegation_response = 1; +} + +// QueryUnbondingDelegationRequest is request type for the +// Query/UnbondingDelegation RPC method. +message QueryUnbondingDelegationRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationResponse is response type for the Query/UnbondingDelegation +// RPC method. +message QueryUnbondingDelegationResponse { + // unbond defines the unbonding information of a delegation. + UnbondingDelegation unbond = 1 [(gogoproto.nullable) = false]; +} + +// QueryDelegatorDelegationsRequest is request type for the +// Query/DelegatorDelegations RPC method. +message QueryDelegatorDelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDelegatorDelegationsResponse is response type for the +// Query/DelegatorDelegations RPC method. +message QueryDelegatorDelegationsResponse { + // delegation_responses defines all the delegations' info of a delegator. + repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorUnbondingDelegationsRequest is request type for the +// Query/DelegatorUnbondingDelegations RPC method. +message QueryDelegatorUnbondingDelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryUnbondingDelegatorDelegationsResponse is response type for the +// Query/UnbondingDelegatorDelegations RPC method. +message QueryDelegatorUnbondingDelegationsResponse { + repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryRedelegationsRequest is request type for the Query/Redelegations RPC +// method. +message QueryRedelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // src_validator_addr defines the validator address to redelegate from. + string src_validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // dst_validator_addr defines the validator address to redelegate to. + string dst_validator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryRedelegationsResponse is response type for the Query/Redelegations RPC +// method. +message QueryRedelegationsResponse { + repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorValidatorsRequest is request type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDelegatorValidatorsResponse is response type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsResponse { + // validators defines the the validators' info of a delegator. + repeated Validator validators = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorValidatorRequest is request type for the +// Query/DelegatorValidator RPC method. +message QueryDelegatorValidatorRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorValidatorResponse response type for the +// Query/DelegatorValidator RPC method. +message QueryDelegatorValidatorResponse { + // validator defines the the validator info. + Validator validator = 1 [(gogoproto.nullable) = false]; +} + +// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC +// method. +message QueryHistoricalInfoRequest { + // height defines at which height to query the historical info. + int64 height = 1; +} + +// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC +// method. +message QueryHistoricalInfoResponse { + // hist defines the historical info at the given height. + HistoricalInfo hist = 1; +} + +// QueryPoolRequest is request type for the Query/Pool RPC method. +message QueryPoolRequest {} + +// QueryPoolResponse is response type for the Query/Pool RPC method. +message QueryPoolResponse { + // pool defines the pool info. + Pool pool = 1 [(gogoproto.nullable) = false]; +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto new file mode 100644 index 000000000..dcf2645fa --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto @@ -0,0 +1,358 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "tendermint/types/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// 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). +message HistoricalInfo { + tendermint.types.Header header = 1 [(gogoproto.nullable) = false]; + repeated Validator valset = 2 [(gogoproto.nullable) = false]; +} + +// CommissionRates defines the initial commission rates to be used for creating +// a validator. +message CommissionRates { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // rate is the commission rate charged to delegators, as a fraction. + string rate = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + string max_rate = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + string max_change_rate = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Commission defines commission parameters for a given validator. +message Commission { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // commission_rates defines the initial commission rates to be used for creating a validator. + CommissionRates commission_rates = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + // update_time is the last time the commission rate was changed. + google.protobuf.Timestamp update_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// Description defines a validator description. +message Description { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // moniker defines a human-readable name for the validator. + string moniker = 1; + // identity defines an optional identity signature (ex. UPort or Keybase). + string identity = 2; + // website defines an optional website link. + string website = 3; + // security_contact defines an optional email for security contact. + string security_contact = 4; + // details define other optional details. + string details = 5; +} + +// 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. +message Validator { + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + + // operator_address defines the address of the validator's operator; bech encoded in JSON. + string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + google.protobuf.Any consensus_pubkey = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + // jailed defined whether the validator has been jailed from bonded status or not. + bool jailed = 3; + // status is the validator status (bonded/unbonding/unbonded). + BondStatus status = 4; + // tokens define the delegated tokens (incl. self-delegation). + string tokens = 5 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // delegator_shares defines total shares issued to a validator's delegators. + string delegator_shares = 6 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // description defines the description terms for the validator. + Description description = 7 [(gogoproto.nullable) = false]; + // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + int64 unbonding_height = 8; + // unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + google.protobuf.Timestamp unbonding_time = 9 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // commission defines the commission parameters. + Commission commission = 10 [(gogoproto.nullable) = false]; + // min_self_delegation is the validator's self declared minimum self delegation. + string min_self_delegation = 11 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// BondStatus is the status of a validator. +enum BondStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // UNSPECIFIED defines an invalid validator status. + BOND_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; + // UNBONDED defines a validator that is not bonded. + BOND_STATUS_UNBONDED = 1 [(gogoproto.enumvalue_customname) = "Unbonded"]; + // UNBONDING defines a validator that is unbonding. + BOND_STATUS_UNBONDING = 2 [(gogoproto.enumvalue_customname) = "Unbonding"]; + // BONDED defines a validator that is bonded. + BOND_STATUS_BONDED = 3 [(gogoproto.enumvalue_customname) = "Bonded"]; +} + +// ValAddresses defines a repeated set of validator addresses. +message ValAddresses { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = true; + + repeated string addresses = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// 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. +message DVPair { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// DVPairs defines an array of DVPair objects. +message DVPairs { + repeated DVPair pairs = 1 [(gogoproto.nullable) = false]; +} + +// 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. +message DVVTriplet { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// DVVTriplets defines an array of DVVTriplet objects. +message DVVTriplets { + repeated DVVTriplet triplets = 1 [(gogoproto.nullable) = false]; +} + +// 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. +message Delegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address is the bech32-encoded address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // shares define the delegation shares received. + string shares = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// UnbondingDelegation stores all of a single delegator's unbonding bonds +// for a single validator in an time-ordered list. +message UnbondingDelegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address is the bech32-encoded address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // entries are the unbonding delegation entries. + repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries +} + +// UnbondingDelegationEntry defines an unbonding object with relevant metadata. +message UnbondingDelegationEntry { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // creation_height is the height which the unbonding took place. + int64 creation_height = 1; + // completion_time is the unix time for unbonding completion. + google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // initial_balance defines the tokens initially scheduled to receive at completion. + string initial_balance = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // balance defines the tokens to receive at completion. + string balance = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// RedelegationEntry defines a redelegation object with relevant metadata. +message RedelegationEntry { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // creation_height defines the height which the redelegation took place. + int64 creation_height = 1; + // completion_time defines the unix time for redelegation completion. + google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // initial_balance defines the initial balance when redelegation started. + string initial_balance = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // shares_dst is the amount of destination-validator shares created by redelegation. + string shares_dst = 4 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Redelegation contains the list of a particular delegator's redelegating bonds +// from a particular source validator to a particular destination validator. +message Redelegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_src_address is the validator redelegation source operator address. + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_dst_address is the validator redelegation destination operator address. + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // entries are the redelegation entries. + repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries +} + +// Params defines the parameters for the staking module. +message Params { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // unbonding_time is the time duration of unbonding. + google.protobuf.Duration unbonding_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + // max_validators is the maximum number of validators. + uint32 max_validators = 2; + // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + uint32 max_entries = 3; + // historical_entries is the number of historical entries to persist. + uint32 historical_entries = 4; + // bond_denom defines the bondable coin denomination. + string bond_denom = 5; + // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + string min_commission_rate = 6 [ + (gogoproto.moretags) = "yaml:\"min_commission_rate\"", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// DelegationResponse is equivalent to Delegation except that it contains a +// balance in addition to shares which is more suitable for client responses. +message DelegationResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + + Delegation delegation = 1 [(gogoproto.nullable) = false]; + + cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; +} + +// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it +// contains a balance in addition to shares which is more suitable for client +// responses. +message RedelegationEntryResponse { + option (gogoproto.equal) = true; + + RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; + string balance = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// RedelegationResponse is equivalent to a Redelegation except that its entries +// contain a balance in addition to shares which is more suitable for client +// responses. +message RedelegationResponse { + option (gogoproto.equal) = false; + + Redelegation redelegation = 1 [(gogoproto.nullable) = false]; + repeated RedelegationEntryResponse entries = 2 [(gogoproto.nullable) = false]; +} + +// Pool is used for tracking bonded and not-bonded token supply of the bond +// denomination. +message Pool { + option (gogoproto.description) = true; + option (gogoproto.equal) = true; + string not_bonded_tokens = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "not_bonded_tokens" + ]; + string bonded_tokens = 2 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "bonded_tokens" + ]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto new file mode 100644 index 000000000..6c8d40a76 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/staking/v1beta1/staking.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// Msg defines the staking Msg service. +service Msg { + // CreateValidator defines a method for creating a new validator. + rpc CreateValidator(MsgCreateValidator) returns (MsgCreateValidatorResponse); + + // EditValidator defines a method for editing an existing validator. + rpc EditValidator(MsgEditValidator) returns (MsgEditValidatorResponse); + + // Delegate defines a method for performing a delegation of coins + // from a delegator to a validator. + rpc Delegate(MsgDelegate) returns (MsgDelegateResponse); + + // BeginRedelegate defines a method for performing a redelegation + // of coins from a delegator and source validator to a destination validator. + rpc BeginRedelegate(MsgBeginRedelegate) returns (MsgBeginRedelegateResponse); + + // Undelegate defines a method for performing an undelegation from a + // delegate and a validator. + rpc Undelegate(MsgUndelegate) returns (MsgUndelegateResponse); +} + +// MsgCreateValidator defines a SDK message for creating a new validator. +message MsgCreateValidator { + // NOTE(fdymylja): this is a particular case in which + // if validator_address == delegator_address then only one + // is expected to sign, otherwise both are. + option (cosmos.msg.v1.signer) = "delegator_address"; + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Description description = 1 [(gogoproto.nullable) = false]; + CommissionRates commission = 2 [(gogoproto.nullable) = false]; + string min_self_delegation = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string delegator_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 5 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false]; +} + +// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. +message MsgCreateValidatorResponse {} + +// MsgEditValidator defines a SDK message for editing an existing validator. +message MsgEditValidator { + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Description description = 1 [(gogoproto.nullable) = false]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // 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 + string commission_rate = 3 + [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"]; + string min_self_delegation = 4 + [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; +} + +// MsgEditValidatorResponse defines the Msg/EditValidator response type. +message MsgEditValidatorResponse {} + +// MsgDelegate defines a SDK message for performing a delegation of coins +// from a delegator to a validator. +message MsgDelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgDelegateResponse defines the Msg/Delegate response type. +message MsgDelegateResponse {} + +// MsgBeginRedelegate defines a SDK message for performing a redelegation +// of coins from a delegator and source validator to a destination validator. +message MsgBeginRedelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false]; +} + +// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. +message MsgBeginRedelegateResponse { + google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// MsgUndelegate defines a SDK message for performing an undelegation from a +// delegate and a validator. +message MsgUndelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgUndelegateResponse defines the Msg/Undelegate response type. +message MsgUndelegateResponse { + google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto b/examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto new file mode 100644 index 000000000..5a22616fe --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -0,0 +1,94 @@ +syntax = "proto3"; +package cosmos.tx.signing.v1beta1; + +import "cosmos/crypto/multisig/v1beta1/multisig.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; + +// 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. +enum SignMode { + // SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be + // rejected. + SIGN_MODE_UNSPECIFIED = 0; + + // 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 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 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 is a backwards compatibility mode which uses + // Amino JSON and will be removed in the future. + SIGN_MODE_LEGACY_AMINO_JSON = 127; +} + +// SignatureDescriptors wraps multiple SignatureDescriptor's. +message SignatureDescriptors { + // signatures are the signature descriptors + repeated SignatureDescriptor signatures = 1; +} + +// 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. +message SignatureDescriptor { + // public_key is the public key of the signer + google.protobuf.Any public_key = 1; + + Data data = 2; + + // 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. + uint64 sequence = 3; + + // Data represents signature data + message Data { + // sum is the oneof that specifies whether this represents single or multi-signature data + oneof sum { + // single represents a single signer + Single single = 1; + + // multi represents a multisig signer + Multi multi = 2; + } + + // Single is the signature data for a single signer + message Single { + // mode is the signing mode of the single signer + SignMode mode = 1; + + // signature is the raw signature bytes + bytes signature = 2; + } + + // Multi is the signature data for a multisig public key + message Multi { + // bitarray specifies which keys within the multisig are signing + cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; + + // signatures is the signatures of the multi-signature + repeated Data signatures = 2; + } + } +} diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto b/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto new file mode 100644 index 000000000..e7af15269 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto @@ -0,0 +1,163 @@ +syntax = "proto3"; +package cosmos.tx.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/base/abci/v1beta1/abci.proto"; +import "cosmos/tx/v1beta1/tx.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; + +// Service defines a gRPC service for interacting with transactions. +service Service { + // Simulate simulates executing a transaction for estimating gas usage. + rpc Simulate(SimulateRequest) returns (SimulateResponse) { + option (google.api.http) = { + post: "/cosmos/tx/v1beta1/simulate" + body: "*" + }; + } + // GetTx fetches a tx by hash. + rpc GetTx(GetTxRequest) returns (GetTxResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs/{hash}"; + } + // BroadcastTx broadcast transaction. + rpc BroadcastTx(BroadcastTxRequest) returns (BroadcastTxResponse) { + option (google.api.http) = { + post: "/cosmos/tx/v1beta1/txs" + body: "*" + }; + } + // GetTxsEvent fetches txs by event. + rpc GetTxsEvent(GetTxsEventRequest) returns (GetTxsEventResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs"; + } + // GetBlockWithTxs fetches a block with decoded txs. + // + // Since: cosmos-sdk 0.45.2 + rpc GetBlockWithTxs(GetBlockWithTxsRequest) returns (GetBlockWithTxsResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs/block/{height}"; + } +} + +// GetTxsEventRequest is the request type for the Service.TxsByEvents +// RPC method. +message GetTxsEventRequest { + // events is the list of transaction event type. + repeated string events = 1; + // pagination defines a pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; + OrderBy order_by = 3; +} + +// OrderBy defines the sorting order +enum OrderBy { + // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. + ORDER_BY_UNSPECIFIED = 0; + // ORDER_BY_ASC defines ascending order + ORDER_BY_ASC = 1; + // ORDER_BY_DESC defines descending order + ORDER_BY_DESC = 2; +} + +// GetTxsEventResponse is the response type for the Service.TxsByEvents +// RPC method. +message GetTxsEventResponse { + // txs is the list of queried transactions. + repeated cosmos.tx.v1beta1.Tx txs = 1; + // tx_responses is the list of queried TxResponses. + repeated cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; + // pagination defines a pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest +// RPC method. +message BroadcastTxRequest { + // tx_bytes is the raw transaction. + bytes tx_bytes = 1; + BroadcastMode mode = 2; +} + +// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. +enum BroadcastMode { + // zero-value for mode ordering + BROADCAST_MODE_UNSPECIFIED = 0; + // 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 defines a tx broadcasting mode where the client waits for + // a CheckTx execution response only. + BROADCAST_MODE_SYNC = 2; + // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns + // immediately. + BROADCAST_MODE_ASYNC = 3; +} + +// BroadcastTxResponse is the response type for the +// Service.BroadcastTx method. +message BroadcastTxResponse { + // tx_response is the queried TxResponses. + cosmos.base.abci.v1beta1.TxResponse tx_response = 1; +} + +// SimulateRequest is the request type for the Service.Simulate +// RPC method. +message SimulateRequest { + // tx is the transaction to simulate. + // Deprecated. Send raw tx bytes instead. + cosmos.tx.v1beta1.Tx tx = 1 [deprecated = true]; + // tx_bytes is the raw transaction. + // + // Since: cosmos-sdk 0.43 + bytes tx_bytes = 2; +} + +// SimulateResponse is the response type for the +// Service.SimulateRPC method. +message SimulateResponse { + // gas_info is the information about gas used in the simulation. + cosmos.base.abci.v1beta1.GasInfo gas_info = 1; + // result is the result of the simulation. + cosmos.base.abci.v1beta1.Result result = 2; +} + +// GetTxRequest is the request type for the Service.GetTx +// RPC method. +message GetTxRequest { + // hash is the tx hash to query, encoded as a hex string. + string hash = 1; +} + +// GetTxResponse is the response type for the Service.GetTx method. +message GetTxResponse { + // tx is the queried transaction. + cosmos.tx.v1beta1.Tx tx = 1; + // tx_response is the queried TxResponses. + cosmos.base.abci.v1beta1.TxResponse tx_response = 2; +} + +// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs +// RPC method. +// +// Since: cosmos-sdk 0.45.2 +message GetBlockWithTxsRequest { + // height is the height of the block to query. + int64 height = 1; + // pagination defines a pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. +// +// Since: cosmos-sdk 0.45.2 +message GetBlockWithTxsResponse { + // txs are the transactions in the block. + repeated cosmos.tx.v1beta1.Tx txs = 1; + .tendermint.types.BlockID block_id = 2; + .tendermint.types.Block block = 3; + // pagination defines a pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 4; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto new file mode 100644 index 000000000..ac7b690f4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto @@ -0,0 +1,249 @@ +syntax = "proto3"; +package cosmos.tx.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/crypto/multisig/v1beta1/multisig.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/tx/signing/v1beta1/signing.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; + +// Tx is the standard type used for broadcasting transactions. +message Tx { + // body is the processable content of the transaction + TxBody body = 1; + + // auth_info is the authorization related content of the transaction, + // specifically signers, signer modes and fee + AuthInfo auth_info = 2; + + // 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. + repeated bytes signatures = 3; +} + +// 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. +message TxRaw { + // body_bytes is a protobuf serialization of a TxBody that matches the + // representation in SignDoc. + bytes body_bytes = 1; + + // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the + // representation in SignDoc. + bytes auth_info_bytes = 2; + + // 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. + repeated bytes signatures = 3; +} + +// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. +message SignDoc { + // body_bytes is protobuf serialization of a TxBody that matches the + // representation in TxRaw. + bytes body_bytes = 1; + + // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the + // representation in TxRaw. + bytes auth_info_bytes = 2; + + // 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 + string chain_id = 3; + + // account_number is the account number of the account in state + uint64 account_number = 4; +} + +// SignDocDirectAux is the type used for generating sign bytes for +// SIGN_MODE_DIRECT_AUX. +// +// Since: cosmos-sdk 0.46 +message SignDocDirectAux { + // body_bytes is protobuf serialization of a TxBody that matches the + // representation in TxRaw. + bytes body_bytes = 1; + + // public_key is the public key of the signing account. + google.protobuf.Any public_key = 2; + + // chain_id is the identifier of the chain this transaction targets. + // It prevents signed transactions from being used on another chain by an + // attacker. + string chain_id = 3; + + // account_number is the account number of the account in state. + uint64 account_number = 4; + + // sequence is the sequence number of the signing account. + uint64 sequence = 5; + + // Tip is the optional tip used for meta-transactions. It should be left + // empty if the signer is not the tipper for this transaction. + Tip tip = 6; +} + +// TxBody is the body of a transaction that all signers sign over. +message 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. + repeated google.protobuf.Any messages = 1; + + // 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). + string memo = 2; + + // timeout is the block height after which this transaction will not + // be processed by the chain + uint64 timeout_height = 3; + + // 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 + repeated google.protobuf.Any extension_options = 1023; + + // 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 + repeated google.protobuf.Any non_critical_extension_options = 2047; +} + +// AuthInfo describes the fee and signer modes that are used to sign a +// transaction. +message 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. + repeated SignerInfo signer_infos = 1; + + // 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 = 2; + + // Tip is the optional tip used for meta-transactions. + // + // Since: cosmos-sdk 0.46 + Tip tip = 3; +} + +// SignerInfo describes the public key and signing mode of a single top-level +// signer. +message 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. + google.protobuf.Any public_key = 1; + + // mode_info describes the signing mode of the signer and is a nested + // structure to support nested multisig pubkey's + ModeInfo mode_info = 2; + + // 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. + uint64 sequence = 3; +} + +// ModeInfo describes the signing mode of a single or nested multisig signer. +message ModeInfo { + // sum is the oneof that specifies whether this represents a single or nested + // multisig signer + oneof sum { + // single represents a single signer + Single single = 1; + + // multi represents a nested multisig signer + Multi multi = 2; + } + + // 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 + message Single { + // mode is the signing mode of the single signer + cosmos.tx.signing.v1beta1.SignMode mode = 1; + } + + // Multi is the mode info for a multisig public key + message Multi { + // bitarray specifies which keys within the multisig are signing + cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; + + // mode_infos is the corresponding modes of the signers of the multisig + // which could include nested multisig public keys + repeated ModeInfo mode_infos = 2; + } +} + +// 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. +message Fee { + // amount is the amount of coins to be paid as a fee + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // gas_limit is the maximum gas that can be used in transaction processing + // before an out of gas error occurs + uint64 gas_limit = 2; + + // 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. + string payer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // 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 + string granter = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// Tip is the tip used for meta-transactions. +// +// Since: cosmos-sdk 0.46 +message Tip { + // amount is the amount of the tip + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + // tipper is the address of the account paying for the tip + string tipper = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// 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 +message 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. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // sign_doc is the SIGN_MOD_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. + SignDocDirectAux sign_doc = 2; + // mode is the signing mode of the single signer + cosmos.tx.signing.v1beta1.SignMode mode = 3; + // sig is the signature of the sign doc. + bytes sig = 4; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto new file mode 100644 index 000000000..e8c4baa0d --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto @@ -0,0 +1,120 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; + +// Query defines the gRPC upgrade querier service. +service Query { + // CurrentPlan queries the current upgrade plan. + rpc CurrentPlan(QueryCurrentPlanRequest) returns (QueryCurrentPlanResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/current_plan"; + } + + // AppliedPlan queries a previously applied upgrade plan by its name. + rpc AppliedPlan(QueryAppliedPlanRequest) returns (QueryAppliedPlanResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/applied_plan/{name}"; + } + + // 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) + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { + option deprecated = true; + option (google.api.http).get = "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; + } + + // ModuleVersions queries the list of module versions from state. + // + // Since: cosmos-sdk 0.43 + rpc ModuleVersions(QueryModuleVersionsRequest) returns (QueryModuleVersionsResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/module_versions"; + } + + // Returns the account with authority to conduct upgrades + rpc Authority(QueryAuthorityRequest) returns (QueryAuthorityResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/authority"; + } +} + +// QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC +// method. +message QueryCurrentPlanRequest {} + +// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC +// method. +message QueryCurrentPlanResponse { + // plan is the current upgrade plan. + Plan plan = 1; +} + +// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC +// method. +message QueryAppliedPlanRequest { + // name is the name of the applied plan to query for. + string name = 1; +} + +// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC +// method. +message QueryAppliedPlanResponse { + // height is the block height at which the plan was applied. + int64 height = 1; +} + +// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState +// RPC method. +message QueryUpgradedConsensusStateRequest { + option deprecated = true; + + // last height of the current chain must be sent in request + // as this is the height under which next consensus state is stored + int64 last_height = 1; +} + +// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState +// RPC method. +message QueryUpgradedConsensusStateResponse { + option deprecated = true; + reserved 1; + + // Since: cosmos-sdk 0.43 + bytes upgraded_consensus_state = 2; +} + +// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions +// RPC method. +// +// Since: cosmos-sdk 0.43 +message 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 + string module_name = 1; +} + +// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions +// RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryModuleVersionsResponse { + // module_versions is a list of module names with their consensus versions. + repeated ModuleVersion module_versions = 1; +} + +// QueryAuthorityRequest is the request type for Query/Authority +// +// Since: cosmos-sdk 0.46 +message QueryAuthorityRequest {} + +// QueryAuthorityResponse is the response type for Query/Authority +// +// Since: cosmos-sdk 0.46 +message QueryAuthorityResponse { + string address = 1; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto new file mode 100644 index 000000000..9b04bf44b --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto @@ -0,0 +1,55 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; + +// Msg defines the upgrade Msg service. +service Msg { + // SoftwareUpgrade is a governance operation for initiating a software upgrade. + // + // Since: cosmos-sdk 0.46 + rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse); + // CancelUpgrade is a governance operation for cancelling a previously + // approvid software upgrade. + // + // Since: cosmos-sdk 0.46 + rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse); +} + +// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. +// +// Since: cosmos-sdk 0.46 +message MsgSoftwareUpgrade { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // plan is the upgrade plan. + Plan plan = 2 [(gogoproto.nullable) = false]; +} + +// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. +// +// Since: cosmos-sdk 0.46 +message MsgSoftwareUpgradeResponse {} + +// MsgCancelUpgrade is the Msg/CancelUpgrade request type. +// +// Since: cosmos-sdk 0.46 +message MsgCancelUpgrade { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. +// +// Since: cosmos-sdk 0.46 +message MsgCancelUpgradeResponse {} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto new file mode 100644 index 000000000..dc15e27cc --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto @@ -0,0 +1,86 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option (gogoproto.goproto_getters_all) = false; + +// Plan specifies information about a planned upgrade and when it should occur. +message Plan { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // 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. + string name = 1; + + // 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. + google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + + // The height at which the upgrade must be performed. + // Only used if Time is not set. + int64 height = 3; + + // Any application specific upgrade info to be included on-chain + // such as a git commit that validators could automatically upgrade to + string info = 4; + + // 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. + google.protobuf.Any upgraded_client_state = 5 [deprecated = true]; +} + +// 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. +message SoftwareUpgradeProposal { + option deprecated = true; + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + Plan plan = 3 [(gogoproto.nullable) = false]; +} + +// 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. +message CancelSoftwareUpgradeProposal { + option deprecated = true; + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; +} + +// ModuleVersion specifies a module and its consensus version. +// +// Since: cosmos-sdk 0.43 +message ModuleVersion { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = true; + + // name of the app module + string name = 1; + + // consensus version of the app module + uint64 version = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto b/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto new file mode 100644 index 000000000..211bad09e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto @@ -0,0 +1,74 @@ +syntax = "proto3"; +package cosmos.vesting.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/vesting/v1beta1/vesting.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; + +// Msg defines the bank Msg service. +service Msg { + // CreateVestingAccount defines a method that enables creating a vesting + // account. + rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); + // CreatePermanentLockedAccount defines a method that enables creating a permanent + // locked account. + rpc CreatePermanentLockedAccount(MsgCreatePermanentLockedAccount) returns (MsgCreatePermanentLockedAccountResponse); + // CreatePeriodicVestingAccount defines a method that enables creating a + // periodic vesting account. + rpc CreatePeriodicVestingAccount(MsgCreatePeriodicVestingAccount) returns (MsgCreatePeriodicVestingAccountResponse); +} + +// MsgCreateVestingAccount defines a message that enables creating a vesting +// account. +message MsgCreateVestingAccount { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = true; + + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + int64 end_time = 4; + bool delayed = 5; +} + +// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. +message MsgCreateVestingAccountResponse {} + +// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent +// locked account. +message MsgCreatePermanentLockedAccount { + option (gogoproto.equal) = true; + + string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; + string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. +message MsgCreatePermanentLockedAccountResponse {} + +// MsgCreateVestingAccount defines a message that enables creating a vesting +// account. +message MsgCreatePeriodicVestingAccount { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = false; + + string from_address = 1; + string to_address = 2; + int64 start_time = 3; + repeated Period vesting_periods = 4 [(gogoproto.nullable) = false]; +} + +// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount +// response type. +message MsgCreatePeriodicVestingAccountResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto b/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto new file mode 100644 index 000000000..824cc30d8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto @@ -0,0 +1,76 @@ +syntax = "proto3"; +package cosmos.vesting.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/auth/v1beta1/auth.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; + +// BaseVestingAccount implements the VestingAccount interface. It contains all +// the necessary fields needed for any vesting account implementation. +message BaseVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; + repeated cosmos.base.v1beta1.Coin original_vesting = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin delegated_free = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + int64 end_time = 5; +} + +// ContinuousVestingAccount implements the VestingAccount interface. It +// continuously vests by unlocking coins linearly with respect to time. +message ContinuousVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + int64 start_time = 2; +} + +// 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. +message DelayedVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; +} + +// Period defines a length of time and amount of coins that will vest. +message Period { + option (gogoproto.goproto_stringer) = false; + + int64 length = 1; + repeated cosmos.base.v1beta1.Coin amount = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// PeriodicVestingAccount implements the VestingAccount interface. It +// periodically vests by unlocking coins during each specified period. +message PeriodicVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + int64 start_time = 2; + repeated Period vesting_periods = 3 [(gogoproto.nullable) = false]; +} + +// 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 +message PermanentLockedAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; +} diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/LICENSE b/examples/telescope-with-contracts/proto/cosmos_proto/LICENSE new file mode 100644 index 000000000..6b3e3508c --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos_proto/LICENSE @@ -0,0 +1,204 @@ +Pulsar +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Regen Network Development, Inc. & All in Bits, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/README.md b/examples/telescope-with-contracts/proto/cosmos_proto/README.md new file mode 100644 index 000000000..9599cc650 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos_proto/README.md @@ -0,0 +1 @@ +# cosmos_proto \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto b/examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto new file mode 100644 index 000000000..5c63b86f0 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto @@ -0,0 +1,97 @@ +syntax = "proto3"; +package cosmos_proto; + +import "google/protobuf/descriptor.proto"; + +option go_package = "github.com/cosmos/cosmos-proto;cosmos_proto"; + +extend google.protobuf.MessageOptions { + + // implements_interface is used to indicate the type name of the interface + // that a message implements so that it can be used in google.protobuf.Any + // fields that accept that interface. A message can implement multiple + // interfaces. Interfaces should be declared using a declare_interface + // file option. + repeated string implements_interface = 93001; +} + +extend google.protobuf.FieldOptions { + + // accepts_interface is used to annotate that a google.protobuf.Any + // field accepts messages that implement the specified interface. + // Interfaces should be declared using a declare_interface file option. + string accepts_interface = 93001; + + // scalar is used to indicate that this field follows the formatting defined + // by the named scalar which should be declared with declare_scalar. Code + // generators may choose to use this information to map this field to a + // language-specific type representing the scalar. + string scalar = 93002; +} + +extend google.protobuf.FileOptions { + + // declare_interface declares an interface type to be used with + // accepts_interface and implements_interface. Interface names are + // expected to follow the following convention such that their declaration + // can be discovered by tools: for a given interface type a.b.C, it is + // expected that the declaration will be found in a protobuf file named + // a/b/interfaces.proto in the file descriptor set. + repeated InterfaceDescriptor declare_interface = 793021; + + // declare_scalar declares a scalar type to be used with + // the scalar field option. Scalar names are + // expected to follow the following convention such that their declaration + // can be discovered by tools: for a given scalar type a.b.C, it is + // expected that the declaration will be found in a protobuf file named + // a/b/scalars.proto in the file descriptor set. + repeated ScalarDescriptor declare_scalar = 793022; +} + +// InterfaceDescriptor describes an interface type to be used with +// accepts_interface and implements_interface and declared by declare_interface. +message 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. + string name = 1; + + // description is a human-readable description of the interface and its + // purpose. + string description = 2; +} + +// 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. +message 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. + string name = 1; + + // 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. + string description = 2; + + // 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. + repeated ScalarType field_type = 3; +} + +enum ScalarType { + SCALAR_TYPE_UNSPECIFIED = 0; + SCALAR_TYPE_STRING = 1; + SCALAR_TYPE_BYTES = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmwasm/LICENSE b/examples/telescope-with-contracts/proto/cosmwasm/LICENSE new file mode 100644 index 000000000..5a23302b8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/LICENSE @@ -0,0 +1,204 @@ +Cosmos-SDK +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmwasm/README.md b/examples/telescope-with-contracts/proto/cosmwasm/README.md new file mode 100644 index 000000000..63192e81a --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/README.md @@ -0,0 +1 @@ +# cosmwasm \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto new file mode 100644 index 000000000..f02f33075 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto @@ -0,0 +1,60 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; +import "cosmwasm/wasm/v1/tx.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; + +// GenesisState - genesis state of x/wasm +message GenesisState { + Params params = 1 [ (gogoproto.nullable) = false ]; + repeated Code codes = 2 + [ (gogoproto.nullable) = false, (gogoproto.jsontag) = "codes,omitempty" ]; + repeated Contract contracts = 3 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "contracts,omitempty" + ]; + repeated Sequence sequences = 4 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "sequences,omitempty" + ]; + repeated GenMsgs gen_msgs = 5 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "gen_msgs,omitempty" + ]; + + // GenMsgs define the messages that can be executed during genesis phase in + // order. The intention is to have more human readable data that is auditable. + message GenMsgs { + // sum is a single message + oneof sum { + MsgStoreCode store_code = 1; + MsgInstantiateContract instantiate_contract = 2; + MsgExecuteContract execute_contract = 3; + } + } +} + +// Code struct encompasses CodeInfo and CodeBytes +message Code { + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; + CodeInfo code_info = 2 [ (gogoproto.nullable) = false ]; + bytes code_bytes = 3; + // Pinned to wasmvm cache + bool pinned = 4; +} + +// Contract struct encompasses ContractAddress, ContractInfo, and ContractState +message Contract { + string contract_address = 1; + ContractInfo contract_info = 2 [ (gogoproto.nullable) = false ]; + repeated Model contract_state = 3 [ (gogoproto.nullable) = false ]; +} + +// Sequence key and value of an id generation counter +message Sequence { + bytes id_key = 1 [ (gogoproto.customname) = "IDKey" ]; + uint64 value = 2; +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto new file mode 100644 index 000000000..d880a7078 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto @@ -0,0 +1,31 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; + +// MsgIBCSend +message MsgIBCSend { + // the channel by which the packet will be sent + string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; + + // Timeout height relative to the current block height. + // The timeout is disabled when set to 0. + uint64 timeout_height = 4 + [ (gogoproto.moretags) = "yaml:\"timeout_height\"" ]; + // Timeout timestamp (in nanoseconds) relative to the current block timestamp. + // The timeout is disabled when set to 0. + uint64 timeout_timestamp = 5 + [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; + + // Data is the payload to transfer. We must not make assumption what format or + // content is in here. + bytes data = 6; +} + +// MsgIBCCloseChannel port and channel need to be owned by the contract +message MsgIBCCloseChannel { + string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; +} diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto new file mode 100644 index 000000000..2f36f87f9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto @@ -0,0 +1,150 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmwasm/wasm/v1/types.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = true; + +// StoreCodeProposal gov proposal content type to submit WASM code to the system +message StoreCodeProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // WASMByteCode can be raw or gzip compressed + bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ]; + // Used in v1beta1 + reserved 5, 6; + // InstantiatePermission to apply on contract creation, optional + AccessConfig instantiate_permission = 7; +} + +// InstantiateContractProposal gov proposal content type to instantiate a +// contract. +message InstantiateContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // Admin is an optional address that can execute migrations + string admin = 4; + // CodeID is the reference to the stored WASM code + uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; + // Label is optional metadata to be stored with a constract instance. + string label = 6; + // Msg json encoded message to be passed to the contract on instantiation + bytes msg = 7 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 8 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// MigrateContractProposal gov proposal content type to migrate a contract. +message MigrateContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Note: skipping 3 as this was previously used for unneeded run_as + + // Contract is the address of the smart contract + string contract = 4; + // CodeID references the new WASM codesudo + uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; + // Msg json encoded message to be passed to the contract on migration + bytes msg = 6 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// SudoContractProposal gov proposal content type to call sudo on a contract. +message SudoContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Contract is the address of the smart contract + string contract = 3; + // Msg json encoded message to be passed to the contract as sudo + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// ExecuteContractProposal gov proposal content type to call execute on a +// contract. +message ExecuteContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // Contract is the address of the smart contract + string contract = 4; + // Msg json encoded message to be passed to the contract as execute + bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 6 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// UpdateAdminProposal gov proposal content type to set an admin for a contract. +message UpdateAdminProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // NewAdmin address to be set + string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; + // Contract is the address of the smart contract + string contract = 4; +} + +// ClearAdminProposal gov proposal content type to clear the admin of a +// contract. +message ClearAdminProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Contract is the address of the smart contract + string contract = 3; +} + +// PinCodesProposal gov proposal content type to pin a set of code ids in the +// wasmvm cache. +message PinCodesProposal { + // Title is a short summary + string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; + // Description is a human readable text + string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; + // CodeIDs references the new WASM codes + repeated uint64 code_ids = 3 [ + (gogoproto.customname) = "CodeIDs", + (gogoproto.moretags) = "yaml:\"code_ids\"" + ]; +} + +// UnpinCodesProposal gov proposal content type to unpin a set of code ids in +// the wasmvm cache. +message UnpinCodesProposal { + // Title is a short summary + string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; + // Description is a human readable text + string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; + // CodeIDs references the WASM codes + repeated uint64 code_ids = 3 [ + (gogoproto.customname) = "CodeIDs", + (gogoproto.moretags) = "yaml:\"code_ids\"" + ]; +} diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto new file mode 100644 index 000000000..dbe7c0fbc --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto @@ -0,0 +1,223 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = false; + +// Query provides defines the gRPC querier service +service Query { + // ContractInfo gets the contract meta data + rpc ContractInfo(QueryContractInfoRequest) + returns (QueryContractInfoResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}"; + } + // ContractHistory gets the contract code history + rpc ContractHistory(QueryContractHistoryRequest) + returns (QueryContractHistoryResponse) { + option (google.api.http).get = + "/cosmwasm/wasm/v1/contract/{address}/history"; + } + // ContractsByCode lists all smart contracts for a code id + rpc ContractsByCode(QueryContractsByCodeRequest) + returns (QueryContractsByCodeResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}/contracts"; + } + // AllContractState gets all raw store data for a single contract + rpc AllContractState(QueryAllContractStateRequest) + returns (QueryAllContractStateResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}/state"; + } + // RawContractState gets single key from the raw store data of a contract + rpc RawContractState(QueryRawContractStateRequest) + returns (QueryRawContractStateResponse) { + option (google.api.http).get = + "/wasm/v1/contract/{address}/raw/{query_data}"; + } + // SmartContractState get smart query result from the contract + rpc SmartContractState(QuerySmartContractStateRequest) + returns (QuerySmartContractStateResponse) { + option (google.api.http).get = + "/wasm/v1/contract/{address}/smart/{query_data}"; + } + // Code gets the binary code and metadata for a singe wasm code + rpc Code(QueryCodeRequest) returns (QueryCodeResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}"; + } + // Codes gets the metadata for all stored wasm codes + rpc Codes(QueryCodesRequest) returns (QueryCodesResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code"; + } + + // PinnedCodes gets the pinned code ids + rpc PinnedCodes(QueryPinnedCodesRequest) returns (QueryPinnedCodesResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/codes/pinned"; + } +} + +// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC +// method +message QueryContractInfoRequest { + // address is the address of the contract to query + string address = 1; +} +// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC +// method +message QueryContractInfoResponse { + option (gogoproto.equal) = true; + + // address is the address of the contract + string address = 1; + ContractInfo contract_info = 2 [ + (gogoproto.embed) = true, + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "" + ]; +} + +// QueryContractHistoryRequest is the request type for the Query/ContractHistory +// RPC method +message QueryContractHistoryRequest { + // address is the address of the contract to query + string address = 1; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryContractHistoryResponse is the response type for the +// Query/ContractHistory RPC method +message QueryContractHistoryResponse { + repeated ContractCodeHistoryEntry entries = 1 + [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode +// RPC method +message QueryContractsByCodeRequest { + uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryContractsByCodeResponse is the response type for the +// Query/ContractsByCode RPC method +message QueryContractsByCodeResponse { + // contracts are a set of contract addresses + repeated string contracts = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAllContractStateRequest is the request type for the +// Query/AllContractState RPC method +message QueryAllContractStateRequest { + // address is the address of the contract + string address = 1; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllContractStateResponse is the response type for the +// Query/AllContractState RPC method +message QueryAllContractStateResponse { + repeated Model models = 1 [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryRawContractStateRequest is the request type for the +// Query/RawContractState RPC method +message QueryRawContractStateRequest { + // address is the address of the contract + string address = 1; + bytes query_data = 2; +} + +// QueryRawContractStateResponse is the response type for the +// Query/RawContractState RPC method +message QueryRawContractStateResponse { + // Data contains the raw store data + bytes data = 1; +} + +// QuerySmartContractStateRequest is the request type for the +// Query/SmartContractState RPC method +message QuerySmartContractStateRequest { + // address is the address of the contract + string address = 1; + // QueryData contains the query data passed to the contract + bytes query_data = 2 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// QuerySmartContractStateResponse is the response type for the +// Query/SmartContractState RPC method +message QuerySmartContractStateResponse { + // Data contains the json data returned from the smart contract + bytes data = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// QueryCodeRequest is the request type for the Query/Code RPC method +message QueryCodeRequest { + uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID +} + +// CodeInfoResponse contains code meta data from CodeInfo +message CodeInfoResponse { + option (gogoproto.equal) = true; + + uint64 code_id = 1 [ + (gogoproto.customname) = "CodeID", + (gogoproto.jsontag) = "id" + ]; // id for legacy support + string creator = 2; + bytes data_hash = 3 + [ (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; + // Used in v1beta1 + reserved 4, 5; +} + +// QueryCodeResponse is the response type for the Query/Code RPC method +message QueryCodeResponse { + option (gogoproto.equal) = true; + CodeInfoResponse code_info = 1 + [ (gogoproto.embed) = true, (gogoproto.jsontag) = "" ]; + bytes data = 2 [ (gogoproto.jsontag) = "data" ]; +} + +// QueryCodesRequest is the request type for the Query/Codes RPC method +message QueryCodesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryCodesResponse is the response type for the Query/Codes RPC method +message QueryCodesResponse { + repeated CodeInfoResponse code_infos = 1 [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes +// RPC method +message QueryPinnedCodesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryPinnedCodesResponse is the response type for the +// Query/PinnedCodes RPC method +message QueryPinnedCodesResponse { + repeated uint64 code_ids = 1 + [ (gogoproto.nullable) = false, (gogoproto.customname) = "CodeIDs" ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto new file mode 100644 index 000000000..8295907eb --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto @@ -0,0 +1,135 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; + +// Msg defines the wasm Msg service. +service Msg { + // StoreCode to submit Wasm code to the system + rpc StoreCode(MsgStoreCode) returns (MsgStoreCodeResponse); + // Instantiate creates a new smart contract instance for the given code id. + rpc InstantiateContract(MsgInstantiateContract) + returns (MsgInstantiateContractResponse); + // Execute submits the given message data to a smart contract + rpc ExecuteContract(MsgExecuteContract) returns (MsgExecuteContractResponse); + // Migrate runs a code upgrade/ downgrade for a smart contract + rpc MigrateContract(MsgMigrateContract) returns (MsgMigrateContractResponse); + // UpdateAdmin sets a new admin for a smart contract + rpc UpdateAdmin(MsgUpdateAdmin) returns (MsgUpdateAdminResponse); + // ClearAdmin removes any admin stored for a smart contract + rpc ClearAdmin(MsgClearAdmin) returns (MsgClearAdminResponse); +} + +// MsgStoreCode submit Wasm code to the system +message MsgStoreCode { + // Sender is the that actor that signed the messages + string sender = 1; + // WASMByteCode can be raw or gzip compressed + bytes wasm_byte_code = 2 [ (gogoproto.customname) = "WASMByteCode" ]; + // Used in v1beta1 + reserved 3, 4; + // InstantiatePermission access control to apply on contract creation, + // optional + AccessConfig instantiate_permission = 5; +} +// MsgStoreCodeResponse returns store result data. +message MsgStoreCodeResponse { + // CodeID is the reference to the stored WASM code + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; +} + +// MsgInstantiateContract create a new smart contract instance for the given +// code id. +message MsgInstantiateContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Admin is an optional address that can execute migrations + string admin = 2; + // CodeID is the reference to the stored WASM code + uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; + // Label is optional metadata to be stored with a contract instance. + string label = 4; + // Msg json encoded message to be passed to the contract on instantiation + bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 6 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} +// MsgInstantiateContractResponse return instantiation result data +message MsgInstantiateContractResponse { + // Address is the bech32 address of the new contract instance. + string address = 1; + // Data contains base64-encoded bytes to returned from the contract + bytes data = 2; +} + +// MsgExecuteContract submits the given message data to a smart contract +message MsgExecuteContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 2; + // Msg json encoded message to be passed to the contract + bytes msg = 3 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on execution + repeated cosmos.base.v1beta1.Coin funds = 5 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// MsgExecuteContractResponse returns execution result data. +message MsgExecuteContractResponse { + // Data contains base64-encoded bytes to returned from the contract + bytes data = 1; +} + +// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract +message MsgMigrateContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 2; + // CodeID references the new WASM code + uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; + // Msg json encoded message to be passed to the contract on migration + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// MsgMigrateContractResponse returns contract migration result data. +message MsgMigrateContractResponse { + // Data contains same raw bytes returned as data from the wasm contract. + // (May be empty) + bytes data = 1; +} + +// MsgUpdateAdmin sets a new admin for a smart contract +message MsgUpdateAdmin { + // Sender is the that actor that signed the messages + string sender = 1; + // NewAdmin address to be set + string new_admin = 2; + // Contract is the address of the smart contract + string contract = 3; +} + +// MsgUpdateAdminResponse returns empty data +message MsgUpdateAdminResponse {} + +// MsgClearAdmin removes any admin stored for a smart contract +message MsgClearAdmin { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 3; +} + +// MsgClearAdminResponse returns empty data +message MsgClearAdminResponse {} diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto new file mode 100644 index 000000000..7ee2f639e --- /dev/null +++ b/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto @@ -0,0 +1,140 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = true; + +// AccessType permission types +enum AccessType { + option (gogoproto.goproto_enum_prefix) = false; + option (gogoproto.goproto_enum_stringer) = false; + // AccessTypeUnspecified placeholder for empty value + ACCESS_TYPE_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "AccessTypeUnspecified" ]; + // AccessTypeNobody forbidden + ACCESS_TYPE_NOBODY = 1 + [ (gogoproto.enumvalue_customname) = "AccessTypeNobody" ]; + // AccessTypeOnlyAddress restricted to an address + ACCESS_TYPE_ONLY_ADDRESS = 2 + [ (gogoproto.enumvalue_customname) = "AccessTypeOnlyAddress" ]; + // AccessTypeEverybody unrestricted + ACCESS_TYPE_EVERYBODY = 3 + [ (gogoproto.enumvalue_customname) = "AccessTypeEverybody" ]; +} + +// AccessTypeParam +message AccessTypeParam { + option (gogoproto.goproto_stringer) = true; + AccessType value = 1 [ (gogoproto.moretags) = "yaml:\"value\"" ]; +} + +// AccessConfig access control type. +message AccessConfig { + option (gogoproto.goproto_stringer) = true; + AccessType permission = 1 [ (gogoproto.moretags) = "yaml:\"permission\"" ]; + string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; +} + +// Params defines the set of wasm parameters. +message Params { + option (gogoproto.goproto_stringer) = false; + AccessConfig code_upload_access = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"code_upload_access\"" + ]; + AccessType instantiate_default_permission = 2 + [ (gogoproto.moretags) = "yaml:\"instantiate_default_permission\"" ]; + uint64 max_wasm_code_size = 3 + [ (gogoproto.moretags) = "yaml:\"max_wasm_code_size\"" ]; +} + +// CodeInfo is data for the uploaded contract WASM code +message CodeInfo { + // CodeHash is the unique identifier created by wasmvm + bytes code_hash = 1; + // Creator address who initially stored the code + string creator = 2; + // Used in v1beta1 + reserved 3, 4; + // InstantiateConfig access control to apply on contract creation, optional + AccessConfig instantiate_config = 5 [ (gogoproto.nullable) = false ]; +} + +// ContractInfo stores a WASM contract instance +message ContractInfo { + option (gogoproto.equal) = true; + + // CodeID is the reference to the stored Wasm code + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; + // Creator address who initially instantiated the contract + string creator = 2; + // Admin is an optional address that can execute migrations + string admin = 3; + // Label is optional metadata to be stored with a contract instance. + string label = 4; + // Created Tx position when the contract was instantiated. + // This data should kept internal and not be exposed via query results. Just + // use for sorting + AbsoluteTxPosition created = 5; + string ibc_port_id = 6 [ (gogoproto.customname) = "IBCPortID" ]; + + // Extension is an extension point to store custom metadata within the + // persistence model. + google.protobuf.Any extension = 7 + [ (cosmos_proto.accepts_interface) = "ContractInfoExtension" ]; +} + +// ContractCodeHistoryOperationType actions that caused a code change +enum ContractCodeHistoryOperationType { + option (gogoproto.goproto_enum_prefix) = false; + // ContractCodeHistoryOperationTypeUnspecified placeholder for empty value + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeUnspecified" ]; + // ContractCodeHistoryOperationTypeInit on chain contract instantiation + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeInit" ]; + // ContractCodeHistoryOperationTypeMigrate code migration + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeMigrate" ]; + // ContractCodeHistoryOperationTypeGenesis based on genesis data + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeGenesis" ]; +} + +// ContractCodeHistoryEntry metadata to a contract. +message ContractCodeHistoryEntry { + ContractCodeHistoryOperationType operation = 1; + // CodeID is the reference to the stored WASM code + uint64 code_id = 2 [ (gogoproto.customname) = "CodeID" ]; + // Updated Tx position when the operation was executed. + AbsoluteTxPosition updated = 3; + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// AbsoluteTxPosition is a unique transaction position that allows for global +// ordering of transactions. +message AbsoluteTxPosition { + // BlockHeight is the block the contract was created at + uint64 block_height = 1; + // TxIndex is a monotonic counter within the block (actual transaction index, + // or gas consumed) + uint64 tx_index = 2; +} + +// Model is a struct that holds a KV pair +message Model { + // hex-encode key to read it better (this is often ascii) + bytes key = 1 [ (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; + // base64-encode raw value + bytes value = 2; +} diff --git a/examples/telescope-with-contracts/proto/gogoproto/LICENSE b/examples/telescope-with-contracts/proto/gogoproto/LICENSE new file mode 100644 index 000000000..992eb2bd4 --- /dev/null +++ b/examples/telescope-with-contracts/proto/gogoproto/LICENSE @@ -0,0 +1,34 @@ +Copyright (c) 2013, The GoGo Authors. All rights reserved. + +Protocol Buffers for Go with Gadgets + +Go support for Protocol Buffers - Google's data interchange format + +Copyright 2010 The Go Authors. All rights reserved. +https://github.com/golang/protobuf + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/examples/telescope-with-contracts/proto/gogoproto/README.md b/examples/telescope-with-contracts/proto/gogoproto/README.md new file mode 100644 index 000000000..4cfc47689 --- /dev/null +++ b/examples/telescope-with-contracts/proto/gogoproto/README.md @@ -0,0 +1 @@ +# gogoproto \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/gogoproto/gogo.proto b/examples/telescope-with-contracts/proto/gogoproto/gogo.proto new file mode 100644 index 000000000..49e78f99f --- /dev/null +++ b/examples/telescope-with-contracts/proto/gogoproto/gogo.proto @@ -0,0 +1,145 @@ +// Protocol Buffers for Go with Gadgets +// +// Copyright (c) 2013, The GoGo Authors. All rights reserved. +// http://github.com/gogo/protobuf +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto2"; +package gogoproto; + +import "google/protobuf/descriptor.proto"; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "GoGoProtos"; +option go_package = "github.com/gogo/protobuf/gogoproto"; + +extend google.protobuf.EnumOptions { + optional bool goproto_enum_prefix = 62001; + optional bool goproto_enum_stringer = 62021; + optional bool enum_stringer = 62022; + optional string enum_customname = 62023; + optional bool enumdecl = 62024; +} + +extend google.protobuf.EnumValueOptions { + optional string enumvalue_customname = 66001; +} + +extend google.protobuf.FileOptions { + optional bool goproto_getters_all = 63001; + optional bool goproto_enum_prefix_all = 63002; + optional bool goproto_stringer_all = 63003; + optional bool verbose_equal_all = 63004; + optional bool face_all = 63005; + optional bool gostring_all = 63006; + optional bool populate_all = 63007; + optional bool stringer_all = 63008; + optional bool onlyone_all = 63009; + + optional bool equal_all = 63013; + optional bool description_all = 63014; + optional bool testgen_all = 63015; + optional bool benchgen_all = 63016; + optional bool marshaler_all = 63017; + optional bool unmarshaler_all = 63018; + optional bool stable_marshaler_all = 63019; + + optional bool sizer_all = 63020; + + optional bool goproto_enum_stringer_all = 63021; + optional bool enum_stringer_all = 63022; + + optional bool unsafe_marshaler_all = 63023; + optional bool unsafe_unmarshaler_all = 63024; + + optional bool goproto_extensions_map_all = 63025; + optional bool goproto_unrecognized_all = 63026; + optional bool gogoproto_import = 63027; + optional bool protosizer_all = 63028; + optional bool compare_all = 63029; + optional bool typedecl_all = 63030; + optional bool enumdecl_all = 63031; + + optional bool goproto_registration = 63032; + optional bool messagename_all = 63033; + + optional bool goproto_sizecache_all = 63034; + optional bool goproto_unkeyed_all = 63035; +} + +extend google.protobuf.MessageOptions { + optional bool goproto_getters = 64001; + optional bool goproto_stringer = 64003; + optional bool verbose_equal = 64004; + optional bool face = 64005; + optional bool gostring = 64006; + optional bool populate = 64007; + optional bool stringer = 67008; + optional bool onlyone = 64009; + + optional bool equal = 64013; + optional bool description = 64014; + optional bool testgen = 64015; + optional bool benchgen = 64016; + optional bool marshaler = 64017; + optional bool unmarshaler = 64018; + optional bool stable_marshaler = 64019; + + optional bool sizer = 64020; + + optional bool unsafe_marshaler = 64023; + optional bool unsafe_unmarshaler = 64024; + + optional bool goproto_extensions_map = 64025; + optional bool goproto_unrecognized = 64026; + + optional bool protosizer = 64028; + optional bool compare = 64029; + + optional bool typedecl = 64030; + + optional bool messagename = 64033; + + optional bool goproto_sizecache = 64034; + optional bool goproto_unkeyed = 64035; +} + +extend google.protobuf.FieldOptions { + optional bool nullable = 65001; + optional bool embed = 65002; + optional string customtype = 65003; + optional string customname = 65004; + optional string jsontag = 65005; + optional string moretags = 65006; + optional string casttype = 65007; + optional string castkey = 65008; + optional string castvalue = 65009; + + optional bool stdtime = 65010; + optional bool stdduration = 65011; + optional bool wktpointer = 65012; + + optional string castrepeated = 65013; +} diff --git a/examples/telescope-with-contracts/proto/google/LICENSE b/examples/telescope-with-contracts/proto/google/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/examples/telescope-with-contracts/proto/google/README.md b/examples/telescope-with-contracts/proto/google/README.md new file mode 100644 index 000000000..3bdc1f836 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/README.md @@ -0,0 +1 @@ +# google \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/google/api/annotations.proto b/examples/telescope-with-contracts/proto/google/api/annotations.proto new file mode 100644 index 000000000..efdab3db6 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/api/annotations.proto @@ -0,0 +1,31 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/api/http.proto"; +import "google/protobuf/descriptor.proto"; + +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "AnnotationsProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.MethodOptions { + // See `HttpRule`. + HttpRule http = 72295728; +} diff --git a/examples/telescope-with-contracts/proto/google/api/http.proto b/examples/telescope-with-contracts/proto/google/api/http.proto new file mode 100644 index 000000000..113fa936a --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/api/http.proto @@ -0,0 +1,375 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "HttpProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +// 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 +// to one or more HTTP REST API methods. +message Http { + // A list of HTTP configuration rules that apply to individual API methods. + // + // **NOTE:** All service configuration rules follow "last one wins" order. + repeated HttpRule rules = 1; + + // When set to true, URL path parameters will be fully URI-decoded except in + // cases of single segment matches in reserved expansion, where "%2F" will be + // left encoded. + // + // The default behavior is to not decode RFC 6570 reserved characters in multi + // segment matches. + bool fully_decode_reserved_expansion = 2; +} + +// # gRPC Transcoding +// +// gRPC Transcoding is a feature for mapping between a gRPC method and one or +// more HTTP REST endpoints. It allows developers to build a single API service +// that supports both gRPC APIs and REST APIs. Many systems, including [Google +// APIs](https://github.com/googleapis/googleapis), +// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC +// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), +// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature +// and use it for large scale production services. +// +// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies +// how different portions of the gRPC request message are mapped to the URL +// path, URL query parameters, and HTTP request body. It also controls how the +// gRPC response message is mapped to the HTTP response body. `HttpRule` is +// typically specified as an `google.api.http` annotation on the gRPC method. +// +// Each mapping specifies a URL path template and an HTTP method. The path +// template may refer to one or more fields in the gRPC request message, as long +// as each field is a non-repeated field with a primitive (non-message) type. +// The path template controls how fields of the request message are mapped to +// the URL path. +// +// Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/{name=messages/*}" +// }; +// } +// } +// message GetMessageRequest { +// string name = 1; // Mapped to URL path. +// } +// message Message { +// string text = 1; // The resource content. +// } +// +// This enables an HTTP REST to gRPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +// +// Any fields in the request message which are not bound by the path template +// automatically become HTTP query parameters if there is no HTTP request body. +// For example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get:"/v1/messages/{message_id}" +// }; +// } +// } +// message GetMessageRequest { +// message SubMessage { +// string subfield = 1; +// } +// string message_id = 1; // Mapped to URL path. +// int64 revision = 2; // Mapped to URL query parameter `revision`. +// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. +// } +// +// This enables a HTTP JSON to RPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | +// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +// "foo"))` +// +// Note that fields which are mapped to URL query parameters must have a +// primitive type or a repeated primitive type or a non-repeated message type. +// In the case of a repeated type, the parameter can be repeated in the URL +// as `...?param=A¶m=B`. In the case of a message type, each field of the +// message is mapped to a separate parameter, such as +// `...?foo.a=A&foo.b=B&foo.c=C`. +// +// For HTTP methods that allow a request body, the `body` field +// specifies the mapping. Consider a REST update method on the +// message resource collection: +// +// service Messaging { +// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "message" +// }; +// } +// } +// message UpdateMessageRequest { +// string message_id = 1; // mapped to the URL +// Message message = 2; // mapped to the body +// } +// +// The following HTTP JSON to RPC mapping is enabled, where the +// representation of the JSON in the request body is determined by +// protos JSON encoding: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" message { text: "Hi!" })` +// +// The special name `*` can be used in the body mapping to define that +// every field not bound by the path template should be mapped to the +// request body. This enables the following alternative definition of +// the update method: +// +// service Messaging { +// rpc UpdateMessage(Message) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "*" +// }; +// } +// } +// message Message { +// string message_id = 1; +// string text = 2; +// } +// +// +// The following HTTP JSON to RPC mapping is enabled: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" text: "Hi!")` +// +// Note that when using `*` in the body mapping, it is not possible to +// have HTTP parameters, as all fields not bound by the path end in +// the body. This makes this option more rarely used in practice when +// defining REST APIs. The common usage of `*` is in custom methods +// which don't use the URL at all for transferring data. +// +// It is possible to define multiple HTTP methods for one RPC by using +// the `additional_bindings` option. Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/messages/{message_id}" +// additional_bindings { +// get: "/v1/users/{user_id}/messages/{message_id}" +// } +// }; +// } +// } +// message GetMessageRequest { +// string message_id = 1; +// string user_id = 2; +// } +// +// This enables the following two alternative HTTP JSON to RPC mappings: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` +// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: +// "123456")` +// +// ## Rules for HTTP mapping +// +// 1. Leaf request fields (recursive expansion nested messages in the request +// message) are classified into three categories: +// - Fields referred by the path template. They are passed via the URL path. +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// request body. +// - All other fields are passed via the URL query parameters, and the +// parameter name is the field path in the request message. A repeated +// field can be represented as multiple query parameters under the same +// name. +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// are passed via URL path and HTTP request body. +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// fields are passed via URL path and URL query parameters. +// +// ### Path template syntax +// +// Template = "/" Segments [ Verb ] ; +// Segments = Segment { "/" Segment } ; +// Segment = "*" | "**" | LITERAL | Variable ; +// Variable = "{" FieldPath [ "=" Segments ] "}" ; +// FieldPath = IDENT { "." IDENT } ; +// Verb = ":" LITERAL ; +// +// The syntax `*` matches a single URL path segment. The syntax `**` matches +// zero or more URL path segments, which must be the last part of the URL path +// except the `Verb`. +// +// The syntax `Variable` matches part of the URL path as specified by its +// template. A variable template must not contain other variables. If a variable +// matches a single path segment, its template may be omitted, e.g. `{var}` +// is equivalent to `{var=*}`. +// +// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +// contains any reserved character, such characters should be percent-encoded +// before the matching. +// +// If a variable contains exactly one path segment, such as `"{var}"` or +// `"{var=*}"`, when such a variable is expanded into a URL path on the client +// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The +// server side does the reverse decoding. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{var}`. +// +// If a variable contains multiple path segments, such as `"{var=foo/*}"` +// or `"{var=**}"`, when such a variable is expanded into a URL path on the +// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. +// The server side does the reverse decoding, except "%2F" and "%2f" are left +// unchanged. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{+var}`. +// +// ## Using gRPC API Service Configuration +// +// gRPC API Service Configuration (service config) is a configuration language +// for configuring a gRPC service to become a user-facing product. The +// service config is simply the YAML representation of the `google.api.Service` +// proto message. +// +// As an alternative to annotating your proto file, you can configure gRPC +// transcoding in your service config YAML files. You do this by specifying a +// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same +// effect as the proto annotation. This can be particularly useful if you +// have a proto that is reused in multiple services. Note that any transcoding +// specified in the service config will override any matching transcoding +// configuration in the proto. +// +// Example: +// +// http: +// rules: +// # Selects a gRPC method and applies HttpRule to it. +// - selector: example.v1.Messaging.GetMessage +// get: /v1/messages/{message_id}/{sub.subfield} +// +// ## Special notes +// +// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +// proto to JSON conversion must follow the [proto3 +// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). +// +// While the single segment variable follows the semantics of +// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String +// Expansion, the multi segment variable **does not** follow RFC 6570 Section +// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion +// does not expand special characters like `?` and `#`, which would lead +// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding +// for multi segment variables. +// +// The path variables **must not** refer to any repeated or mapped field, +// because client libraries are not capable of handling such variable expansion. +// +// The path variables **must not** capture the leading "/" character. The reason +// is that the most common use case "{var}" does not capture the leading "/" +// character. For consistency, all path variables must share the same behavior. +// +// Repeated message fields must not be mapped to URL query parameters, because +// no client library can support such complicated mapping. +// +// If an API needs to use a JSON array for request or response body, it can map +// the request or response body to a repeated field. However, some gRPC +// Transcoding implementations may not support this feature. +message HttpRule { + // Selects a method to which this rule applies. + // + // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + string selector = 1; + + // Determines the URL pattern is matched by this rules. This pattern can be + // used with any of the {get|put|post|delete|patch} methods. A custom method + // can be defined using the 'custom' field. + oneof pattern { + // Maps to HTTP GET. Used for listing and getting information about + // resources. + string get = 2; + + // Maps to HTTP PUT. Used for replacing a resource. + string put = 3; + + // Maps to HTTP POST. Used for creating a resource or performing an action. + string post = 4; + + // Maps to HTTP DELETE. Used for deleting a resource. + string delete = 5; + + // Maps to HTTP PATCH. Used for updating a resource. + string patch = 6; + + // The custom pattern is used for specifying an HTTP method that is not + // included in the `pattern` field, such as HEAD, or "*" to leave the + // HTTP method unspecified for this rule. The wild-card rule is useful + // for services that provide content to Web (HTML) clients. + CustomHttpPattern custom = 8; + } + + // The name of the request field whose value is mapped to the HTTP request + // body, or `*` for mapping all request fields not captured by the path + // pattern to the HTTP body, or omitted for not having any HTTP request body. + // + // NOTE: the referred field must be present at the top-level of the request + // message type. + string body = 7; + + // Optional. The name of the response field whose value is mapped to the HTTP + // response body. When omitted, the entire response message will be used + // as the HTTP response body. + // + // NOTE: The referred field must be present at the top-level of the response + // message type. + string response_body = 12; + + // Additional HTTP bindings for the selector. Nested bindings must + // not contain an `additional_bindings` field themselves (that is, + // the nesting may only be one level deep). + repeated HttpRule additional_bindings = 11; +} + +// A custom pattern is used for defining custom HTTP verb. +message CustomHttpPattern { + // The name of this custom HTTP verb. + string kind = 1; + + // The path matched by this custom verb. + string path = 2; +} diff --git a/examples/telescope-with-contracts/proto/google/protobuf/any.proto b/examples/telescope-with-contracts/proto/google/protobuf/any.proto new file mode 100644 index 000000000..4cf3843bd --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/protobuf/any.proto @@ -0,0 +1,155 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "AnyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// `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" +// } +// +message Any { + // 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. + // + string type_url = 1; + + // Must be a valid serialized protocol buffer of the above specified type. + bytes value = 2; +} diff --git a/examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto b/examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto new file mode 100644 index 000000000..4a08905a5 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto @@ -0,0 +1,885 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + + +syntax = "proto2"; + +package google.protobuf; + +option go_package = "descriptor"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DescriptorProtos"; +option csharp_namespace = "Google.Protobuf.Reflection"; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// descriptor.proto must be optimized for speed because reflection-based +// algorithms don't work during bootstrapping. +option optimize_for = SPEED; + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +message FileDescriptorSet { + repeated FileDescriptorProto file = 1; +} + +// Describes a complete .proto file. +message FileDescriptorProto { + optional string name = 1; // file name, relative to root of source tree + optional string package = 2; // e.g. "foo", "foo.bar", etc. + + // Names of files imported by this file. + repeated string dependency = 3; + // Indexes of the public imported files in the dependency list above. + repeated int32 public_dependency = 10; + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + repeated int32 weak_dependency = 11; + + // All top-level definitions in this file. + repeated DescriptorProto message_type = 4; + repeated EnumDescriptorProto enum_type = 5; + repeated ServiceDescriptorProto service = 6; + repeated FieldDescriptorProto extension = 7; + + optional FileOptions options = 8; + + // 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. + optional SourceCodeInfo source_code_info = 9; + + // The syntax of the proto file. + // The supported values are "proto2" and "proto3". + optional string syntax = 12; +} + +// Describes a message type. +message DescriptorProto { + optional string name = 1; + + repeated FieldDescriptorProto field = 2; + repeated FieldDescriptorProto extension = 6; + + repeated DescriptorProto nested_type = 3; + repeated EnumDescriptorProto enum_type = 4; + + message ExtensionRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + + optional ExtensionRangeOptions options = 3; + } + repeated ExtensionRange extension_range = 5; + + repeated OneofDescriptorProto oneof_decl = 8; + + optional MessageOptions options = 7; + + // 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. + message ReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + } + repeated ReservedRange reserved_range = 9; + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + repeated string reserved_name = 10; +} + +message ExtensionRangeOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// Describes a field within a message. +message FieldDescriptorProto { + enum Type { + // 0 is reserved for errors. + // Order is weird for historical reasons. + TYPE_DOUBLE = 1; + TYPE_FLOAT = 2; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + TYPE_INT64 = 3; + TYPE_UINT64 = 4; + // 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; + // 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; // Length-delimited aggregate. + + // New in version 2. + TYPE_BYTES = 12; + TYPE_UINT32 = 13; + TYPE_ENUM = 14; + TYPE_SFIXED32 = 15; + TYPE_SFIXED64 = 16; + TYPE_SINT32 = 17; // Uses ZigZag encoding. + TYPE_SINT64 = 18; // Uses ZigZag encoding. + } + + enum Label { + // 0 is reserved for errors + LABEL_OPTIONAL = 1; + LABEL_REQUIRED = 2; + LABEL_REPEATED = 3; + } + + optional string name = 1; + optional int32 number = 3; + optional Label label = 4; + + // 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. + optional Type type = 5; + + // 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). + optional string type_name = 6; + + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + optional string extendee = 2; + + // 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? + optional string default_value = 7; + + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + optional int32 oneof_index = 9; + + // 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. + optional string json_name = 10; + + optional FieldOptions options = 8; +} + +// Describes a oneof. +message OneofDescriptorProto { + optional string name = 1; + optional OneofOptions options = 2; +} + +// Describes an enum type. +message EnumDescriptorProto { + optional string name = 1; + + repeated EnumValueDescriptorProto value = 2; + + optional EnumOptions options = 3; + + // 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. + message EnumReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Inclusive. + } + + // 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. + repeated EnumReservedRange reserved_range = 4; + + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + repeated string reserved_name = 5; +} + +// Describes a value within an enum. +message EnumValueDescriptorProto { + optional string name = 1; + optional int32 number = 2; + + optional EnumValueOptions options = 3; +} + +// Describes a service. +message ServiceDescriptorProto { + optional string name = 1; + repeated MethodDescriptorProto method = 2; + + optional ServiceOptions options = 3; +} + +// Describes a method of a service. +message MethodDescriptorProto { + optional string name = 1; + + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + optional string input_type = 2; + optional string output_type = 3; + + optional MethodOptions options = 4; + + // Identifies if client streams multiple client messages + optional bool client_streaming = 5 [default = false]; + // Identifies if server streams multiple server messages + optional bool server_streaming = 6 [default = false]; +} + + +// =================================================================== +// Options + +// Each of the definitions above may have "options" attached. These are +// just annotations which may cause code to be generated slightly differently +// or may contain hints for code that manipulates protocol messages. +// +// Clients may define custom options as extensions of the *Options messages. +// These extensions may not yet be known at parsing time, so the parser cannot +// store the values in them. Instead it stores them in a field in the *Options +// message called uninterpreted_option. This field must have the same name +// across all *Options messages. We then use this field to populate the +// extensions when we build a descriptor, at which point all protos have been +// parsed and so all extensions are known. +// +// Extension numbers for custom options may be chosen as follows: +// * For options which will only be used within a single application or +// organization, or for experimental options, use field numbers 50000 +// through 99999. It is up to you to ensure that you do not use the +// same number for multiple options. +// * For options which will be published and used publicly by multiple +// independent entities, e-mail protobuf-global-extension-registry@google.com +// to reserve extension numbers. Simply provide your project name (e.g. +// Objective-C plugin) and your project website (if available) -- there's no +// need to explain how you intend to use them. Usually you only need one +// extension number. You can declare multiple options with only one extension +// number by putting them in a sub-message. See the Custom Options section of +// the docs for examples: +// https://developers.google.com/protocol-buffers/docs/proto#options +// If this turns out to be popular, a web service will be set up +// to automatically assign option numbers. + +message 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. + optional string java_package = 1; + + + // 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). + optional string java_outer_classname = 8; + + // 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. + optional bool java_multiple_files = 10 [default = false]; + + // This option does nothing. + optional bool java_generate_equals_and_hash = 20 [deprecated=true]; + + // 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. + optional bool java_string_check_utf8 = 27 [default = false]; + + + // Generated classes can be optimized for speed or code size. + enum OptimizeMode { + SPEED = 1; // Generate complete code for parsing, serialization, + // etc. + CODE_SIZE = 2; // Use ReflectionOps to implement these methods. + LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. + } + optional OptimizeMode optimize_for = 9 [default = SPEED]; + + // 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. + optional string go_package = 11; + + + + + // 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. + optional bool cc_generic_services = 16 [default = false]; + optional bool java_generic_services = 17 [default = false]; + optional bool py_generic_services = 18 [default = false]; + optional bool php_generic_services = 42 [default = false]; + + // 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. + optional bool deprecated = 23 [default = false]; + + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + optional bool cc_enable_arenas = 31 [default = false]; + + + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + optional string objc_class_prefix = 36; + + // Namespace for generated classes; defaults to the package. + optional string csharp_namespace = 37; + + // 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. + optional string swift_prefix = 39; + + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + + // 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. + optional string php_namespace = 41; + + // 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. + optional string php_metadata_namespace = 44; + + // 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. + optional string ruby_package = 45; + + + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. + // See the documentation for the "Options" section above. + extensions 1000 to max; + + //reserved 38; +} + +message 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. + optional bool message_set_wire_format = 1 [default = false]; + + // 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". + optional bool no_standard_descriptor_accessor = 2 [default = false]; + + // 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. + optional bool deprecated = 3 [default = false]; + + // 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. + optional bool map_entry = 7; + + //reserved 8; // javalite_serializable + //reserved 9; // javanano_as_lite + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message 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! + optional CType ctype = 1 [default = STRING]; + enum CType { + // Default mode. + STRING = 0; + + CORD = 1; + + STRING_PIECE = 2; + } + // 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. + optional bool packed = 2; + + // 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. + optional JSType jstype = 6 [default = JS_NORMAL]; + enum JSType { + // Use the default type. + JS_NORMAL = 0; + + // Use JavaScript strings. + JS_STRING = 1; + + // Use JavaScript numbers. + JS_NUMBER = 2; + } + + // 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. + optional bool lazy = 5 [default = false]; + + // 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. + optional bool deprecated = 3 [default = false]; + + // For Google-internal migration only. Do not use. + optional bool weak = 10 [default = false]; + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; + + //reserved 4; // removed jtype +} + +message OneofOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumOptions { + + // Set this option to true to allow mapping different tag names to the same + // value. + optional bool allow_alias = 2; + + // 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. + optional bool deprecated = 3 [default = false]; + + //reserved 5; // javanano_as_lite + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message 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. + optional bool deprecated = 1 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message ServiceOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // 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. + optional bool deprecated = 33 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message MethodOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // 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. + optional bool deprecated = 33 [default = false]; + + // 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. + enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0; + NO_SIDE_EFFECTS = 1; // implies idempotent + IDEMPOTENT = 2; // idempotent, but may have side effects + } + optional IdempotencyLevel idempotency_level = 34 + [default = IDEMPOTENCY_UNKNOWN]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + + +// 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. +message UninterpretedOption { + // 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". + message NamePart { + required string name_part = 1; + required bool is_extension = 2; + } + repeated NamePart name = 2; + + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + optional string identifier_value = 3; + optional uint64 positive_int_value = 4; + optional int64 negative_int_value = 5; + optional double double_value = 6; + optional bytes string_value = 7; + optional string aggregate_value = 8; +} + +// =================================================================== +// Optional source code info + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +message 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. + repeated Location location = 1; + message 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). + repeated int32 path = 1 [packed = true]; + + // 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. + repeated int32 span = 2 [packed = true]; + + // 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. + optional string leading_comments = 3; + optional string trailing_comments = 4; + repeated string leading_detached_comments = 6; + } +} + +// 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. +message GeneratedCodeInfo { + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + repeated Annotation annotation = 1; + message Annotation { + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + repeated int32 path = 1 [packed = true]; + + // Identifies the filesystem path to the original source .proto. + optional string source_file = 2; + + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + optional int32 begin = 3; + + // 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). + optional int32 end = 4; + } +} diff --git a/examples/telescope-with-contracts/proto/google/protobuf/duration.proto b/examples/telescope-with-contracts/proto/google/protobuf/duration.proto new file mode 100644 index 000000000..b14bea5d0 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/protobuf/duration.proto @@ -0,0 +1,116 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DurationProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// 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". +// +// +message 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 + int64 seconds = 1; + + // 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. + int32 nanos = 2; +} diff --git a/examples/telescope-with-contracts/proto/google/protobuf/empty.proto b/examples/telescope-with-contracts/proto/google/protobuf/empty.proto new file mode 100644 index 000000000..6057c8522 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/protobuf/empty.proto @@ -0,0 +1,52 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "EmptyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// A generic empty message that you can re-use to avoid defining duplicated +// empty messages in your APIs. A typical example is to use it as the request +// or the response type of an API method. For instance: +// +// service Foo { +// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +// } +// +// The JSON representation for `Empty` is empty JSON object `{}`. +message Empty {} diff --git a/examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto b/examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto new file mode 100644 index 000000000..0ebe36ea7 --- /dev/null +++ b/examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto @@ -0,0 +1,138 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TimestampProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// 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. +// +// +message 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. + int64 seconds = 1; + + // 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. + int32 nanos = 2; +} diff --git a/examples/telescope-with-contracts/proto/ibc/LICENSE b/examples/telescope-with-contracts/proto/ibc/LICENSE new file mode 100644 index 000000000..c04a16b34 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 COSMOS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/ibc/README.md b/examples/telescope-with-contracts/proto/ibc/README.md new file mode 100644 index 000000000..e4ee70c74 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/README.md @@ -0,0 +1 @@ +# ibc \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto new file mode 100644 index 000000000..73d9fdddf --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "ibc/applications/transfer/v1/transfer.proto"; +import "gogoproto/gogo.proto"; + +// GenesisState defines the ibc-transfer genesis state +message GenesisState { + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + repeated DenomTrace denom_traces = 2 [ + (gogoproto.castrepeated) = "Traces", + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"denom_traces\"" + ]; + Params params = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto new file mode 100644 index 000000000..f2faa87b8 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto @@ -0,0 +1,67 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/applications/transfer/v1/transfer.proto"; +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +// Query provides defines the gRPC querier service. +service Query { + // DenomTrace queries a denomination trace information. + rpc DenomTrace(QueryDenomTraceRequest) returns (QueryDenomTraceResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces/{hash}"; + } + + // DenomTraces queries all denomination traces. + rpc DenomTraces(QueryDenomTracesRequest) returns (QueryDenomTracesResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces"; + } + + // Params queries all parameters of the ibc-transfer module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/params"; + } +} + +// QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC +// method +message QueryDenomTraceRequest { + // hash (in hex format) of the denomination trace information. + string hash = 1; +} + +// QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC +// method. +message QueryDenomTraceResponse { + // denom_trace returns the requested denomination trace information. + DenomTrace denom_trace = 1; +} + +// QueryConnectionsRequest is the request type for the Query/DenomTraces RPC +// method +message QueryDenomTracesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryConnectionsResponse is the response type for the Query/DenomTraces RPC +// method. +message QueryDenomTracesResponse { + // denom_traces returns all denominations trace information. + repeated DenomTrace denom_traces = 1 [(gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1; +} diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto new file mode 100644 index 000000000..10ce92f90 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "gogoproto/gogo.proto"; + +// DenomTrace contains the base denomination for ICS20 fungible tokens and the +// source tracing information path. +message DenomTrace { + // path defines the chain of port/channel identifiers used for tracing the + // source of the fungible token. + string path = 1; + // base denomination of the relayed fungible token. + string base_denom = 2; +} + +// 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. +message Params { + // send_enabled enables or disables all cross-chain token transfers from this + // chain. + bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""]; + // receive_enabled enables or disables all cross-chain token transfers to this + // chain. + bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto new file mode 100644 index 000000000..dfc480d07 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "ibc/core/client/v1/client.proto"; + +// Msg defines the ibc/transfer Msg service. +service Msg { + // Transfer defines a rpc handler method for MsgTransfer. + rpc Transfer(MsgTransfer) returns (MsgTransferResponse); +} + +// 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 +message MsgTransfer { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // the port on which the packet will be sent + string source_port = 1 [(gogoproto.moretags) = "yaml:\"source_port\""]; + // the channel by which the packet will be sent + string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + // the tokens to be transferred + cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false]; + // the sender address + string sender = 4; + // the recipient address on the destination chain + string receiver = 5; + // Timeout height relative to the current block height. + // The timeout is disabled when set to 0. + ibc.core.client.v1.Height timeout_height = 6 + [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + // Timeout timestamp (in nanoseconds) relative to the current block timestamp. + // The timeout is disabled when set to 0. + uint64 timeout_timestamp = 7 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; +} + +// MsgTransferResponse defines the Msg/Transfer response type. +message MsgTransferResponse {} diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto new file mode 100644 index 000000000..593392a90 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v2; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +// FungibleTokenPacketData defines a struct for the packet payload +// See FungibleTokenPacketData spec: +// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures +message FungibleTokenPacketData { + // the token denomination to be transferred + string denom = 1; + // the token amount to be transferred + string amount = 2; + // the sender address + string sender = 3; + // the recipient address on the destination chain + string receiver = 4; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto new file mode 100644 index 000000000..c7f42dbf9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto @@ -0,0 +1,148 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; + +// Channel defines pipeline for exactly-once packet delivery between specific +// modules on separate blockchains, which has at least one end capable of +// sending packets and one end capable of receiving packets. +message Channel { + option (gogoproto.goproto_getters) = false; + + // current state of the channel end + State state = 1; + // whether the channel is ordered or unordered + Order ordering = 2; + // counterparty channel end + Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + // list of connection identifiers, in order, along which packets sent on + // this channel will travel + repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + // opaque channel version, which is agreed upon during the handshake + string version = 5; +} + +// IdentifiedChannel defines a channel with additional port and channel +// identifier fields. +message IdentifiedChannel { + option (gogoproto.goproto_getters) = false; + + // current state of the channel end + State state = 1; + // whether the channel is ordered or unordered + Order ordering = 2; + // counterparty channel end + Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + // list of connection identifiers, in order, along which packets sent on + // this channel will travel + repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + // opaque channel version, which is agreed upon during the handshake + string version = 5; + // port identifier + string port_id = 6; + // channel identifier + string channel_id = 7; +} + +// State defines if a channel is in one of the following states: +// CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. +enum State { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + // A channel has just started the opening handshake. + STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + // A channel has acknowledged the handshake step on the counterparty chain. + STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + // A channel has completed the handshake. Open channels are + // ready to send and receive packets. + STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; + // A channel has been closed and can no longer be used to send or receive + // packets. + STATE_CLOSED = 4 [(gogoproto.enumvalue_customname) = "CLOSED"]; +} + +// Order defines if a channel is ORDERED or UNORDERED +enum Order { + option (gogoproto.goproto_enum_prefix) = false; + + // zero-value for channel ordering + ORDER_NONE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "NONE"]; + // packets can be delivered in any order, which may differ from the order in + // which they were sent. + ORDER_UNORDERED = 1 [(gogoproto.enumvalue_customname) = "UNORDERED"]; + // packets are delivered exactly in the order which they were sent + ORDER_ORDERED = 2 [(gogoproto.enumvalue_customname) = "ORDERED"]; +} + +// Counterparty defines a channel end counterparty +message Counterparty { + option (gogoproto.goproto_getters) = false; + + // port on the counterparty chain which owns the other end of the channel. + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // channel end on the counterparty chain + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; +} + +// Packet defines a type that carries data across different chains through IBC +message Packet { + option (gogoproto.goproto_getters) = false; + + // number corresponds to the order of sends and receives, where a Packet + // with an earlier sequence number must be sent and received before a Packet + // with a later sequence number. + uint64 sequence = 1; + // identifies the port on the sending chain. + string source_port = 2 [(gogoproto.moretags) = "yaml:\"source_port\""]; + // identifies the channel end on the sending chain. + string source_channel = 3 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + // identifies the port on the receiving chain. + string destination_port = 4 [(gogoproto.moretags) = "yaml:\"destination_port\""]; + // identifies the channel end on the receiving chain. + string destination_channel = 5 [(gogoproto.moretags) = "yaml:\"destination_channel\""]; + // actual opaque bytes transferred directly to the application module + bytes data = 6; + // block height after which the packet times out + ibc.core.client.v1.Height timeout_height = 7 + [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + // block timestamp (in nanoseconds) after which the packet times out + uint64 timeout_timestamp = 8 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; +} + +// PacketState defines the generic type necessary to retrieve and store +// packet commitments, acknowledgements, and receipts. +// Caller is responsible for knowing the context necessary to interpret this +// state as a commitment, acknowledgement, or a receipt. +message PacketState { + option (gogoproto.goproto_getters) = false; + + // channel port identifier. + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // channel unique identifier. + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + // packet sequence. + uint64 sequence = 3; + // embedded data that represents packet state. + bytes data = 4; +} + +// Acknowledgement is the recommended acknowledgement format to be used by +// app-specific protocols. +// NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental +// conflicts with other protobuf message formats used for acknowledgements. +// The first byte of any message with this format will be the non-ASCII values +// `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: +// https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope +message Acknowledgement { + // response contains either a result or an error and must be non-empty + oneof response { + bytes result = 21; + string error = 22; + } +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto new file mode 100644 index 000000000..38b57ed6c --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/channel/v1/channel.proto"; + +// GenesisState defines the ibc channel submodule's genesis state. +message GenesisState { + repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false]; + repeated PacketState acknowledgements = 2 [(gogoproto.nullable) = false]; + repeated PacketState commitments = 3 [(gogoproto.nullable) = false]; + repeated PacketState receipts = 4 [(gogoproto.nullable) = false]; + repeated PacketSequence send_sequences = 5 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""]; + repeated PacketSequence recv_sequences = 6 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""]; + repeated PacketSequence ack_sequences = 7 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""]; + // the sequence for the next generated channel identifier + uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""]; +} + +// PacketSequence defines the genesis type necessary to retrieve and store +// next send and receive sequences. +message PacketSequence { + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + uint64 sequence = 3; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto new file mode 100644 index 000000000..212cb645a --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto @@ -0,0 +1,376 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "ibc/core/client/v1/client.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; + +// Query provides defines the gRPC querier service +service Query { + // Channel queries an IBC Channel. + rpc Channel(QueryChannelRequest) returns (QueryChannelResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; + } + + // Channels queries all the IBC channels of a chain. + rpc Channels(QueryChannelsRequest) returns (QueryChannelsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels"; + } + + // ConnectionChannels queries all the channels associated with a connection + // end. + rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/connections/{connection}/channels"; + } + + // ChannelClientState queries for the client state for the channel associated + // with the provided channel identifiers. + rpc ChannelClientState(QueryChannelClientStateRequest) returns (QueryChannelClientStateResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/client_state"; + } + + // ChannelConsensusState queries for the consensus state for the channel + // associated with the provided channel identifiers. + rpc ChannelConsensusState(QueryChannelConsensusStateRequest) returns (QueryChannelConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/consensus_state/revision/" + "{revision_number}/height/{revision_height}"; + } + + // PacketCommitment queries a stored packet commitment hash. + rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/{sequence}"; + } + + // PacketCommitments returns all the packet commitments hashes associated + // with a channel. + rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_commitments"; + } + + // PacketReceipt queries if a given packet sequence has been received on the + // queried chain + rpc PacketReceipt(QueryPacketReceiptRequest) returns (QueryPacketReceiptResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_receipts/{sequence}"; + } + + // PacketAcknowledgement queries a stored packet acknowledgement hash. + rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) returns (QueryPacketAcknowledgementResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_acks/{sequence}"; + } + + // PacketAcknowledgements returns all the packet acknowledgements associated + // with a channel. + rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) returns (QueryPacketAcknowledgementsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_acknowledgements"; + } + + // UnreceivedPackets returns all the unreceived IBC packets associated with a + // channel and sequences. + rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) returns (QueryUnreceivedPacketsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/" + "{packet_commitment_sequences}/unreceived_packets"; + } + + // UnreceivedAcks returns all the unreceived IBC acknowledgements associated + // with a channel and sequences. + rpc UnreceivedAcks(QueryUnreceivedAcksRequest) returns (QueryUnreceivedAcksResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_commitments/" + "{packet_ack_sequences}/unreceived_acks"; + } + + // NextSequenceReceive returns the next receive sequence for a given channel. + rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/next_sequence"; + } +} + +// QueryChannelRequest is the request type for the Query/Channel RPC method +message QueryChannelRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QueryChannelResponse is the response type for the Query/Channel RPC method. +// Besides the Channel end, it includes a proof and the height from which the +// proof was retrieved. +message QueryChannelResponse { + // channel associated with the request identifiers + ibc.core.channel.v1.Channel channel = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelsRequest is the request type for the Query/Channels RPC method +message QueryChannelsRequest { + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryChannelsResponse is the response type for the Query/Channels RPC method. +message QueryChannelsResponse { + // list of stored channels of the chain. + repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionChannelsRequest is the request type for the +// Query/QueryConnectionChannels RPC method +message QueryConnectionChannelsRequest { + // connection unique identifier + string connection = 1; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryConnectionChannelsResponse is the Response type for the +// Query/QueryConnectionChannels RPC method +message QueryConnectionChannelsResponse { + // list of channels associated with a connection. + repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelClientStateRequest is the request type for the Query/ClientState +// RPC method +message QueryChannelClientStateRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QueryChannelClientStateResponse is the Response type for the +// Query/QueryChannelClientState RPC method +message QueryChannelClientStateResponse { + // client state associated with the channel + ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelConsensusStateRequest is the request type for the +// Query/ConsensusState RPC method +message QueryChannelConsensusStateRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // revision number of the consensus state + uint64 revision_number = 3; + // revision height of the consensus state + uint64 revision_height = 4; +} + +// QueryChannelClientStateResponse is the Response type for the +// Query/QueryChannelClientState RPC method +message QueryChannelConsensusStateResponse { + // consensus state associated with the channel + google.protobuf.Any consensus_state = 1; + // client ID associated with the consensus state + string client_id = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} + +// QueryPacketCommitmentRequest is the request type for the +// Query/PacketCommitment RPC method +message QueryPacketCommitmentRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketCommitmentResponse defines the client query response for a packet +// which also includes a proof and the height from which the proof was +// retrieved +message QueryPacketCommitmentResponse { + // packet associated with the request fields + bytes commitment = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketCommitmentsRequest is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketCommitmentsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 3; +} + +// QueryPacketCommitmentsResponse is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketCommitmentsResponse { + repeated ibc.core.channel.v1.PacketState commitments = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketReceiptRequest is the request type for the +// Query/PacketReceipt RPC method +message QueryPacketReceiptRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketReceiptResponse defines the client query response for a packet +// receipt which also includes a proof, and the height from which the proof was +// retrieved +message QueryPacketReceiptResponse { + // success flag for if receipt exists + bool received = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} + +// QueryPacketAcknowledgementRequest is the request type for the +// Query/PacketAcknowledgement RPC method +message QueryPacketAcknowledgementRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketAcknowledgementResponse defines the client query response for a +// packet which also includes a proof and the height from which the +// proof was retrieved +message QueryPacketAcknowledgementResponse { + // packet associated with the request fields + bytes acknowledgement = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketAcknowledgementsRequest is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketAcknowledgementsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 3; + // list of packet sequences + repeated uint64 packet_commitment_sequences = 4; +} + +// QueryPacketAcknowledgemetsResponse is the request type for the +// Query/QueryPacketAcknowledgements RPC method +message QueryPacketAcknowledgementsResponse { + repeated ibc.core.channel.v1.PacketState acknowledgements = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryUnreceivedPacketsRequest is the request type for the +// Query/UnreceivedPackets RPC method +message QueryUnreceivedPacketsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // list of packet sequences + repeated uint64 packet_commitment_sequences = 3; +} + +// QueryUnreceivedPacketsResponse is the response type for the +// Query/UnreceivedPacketCommitments RPC method +message QueryUnreceivedPacketsResponse { + // list of unreceived packet sequences + repeated uint64 sequences = 1; + // query block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} + +// QueryUnreceivedAcks is the request type for the +// Query/UnreceivedAcks RPC method +message QueryUnreceivedAcksRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // list of acknowledgement sequences + repeated uint64 packet_ack_sequences = 3; +} + +// QueryUnreceivedAcksResponse is the response type for the +// Query/UnreceivedAcks RPC method +message QueryUnreceivedAcksResponse { + // list of unreceived acknowledgement sequences + repeated uint64 sequences = 1; + // query block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} + +// QueryNextSequenceReceiveRequest is the request type for the +// Query/QueryNextSequenceReceiveRequest RPC method +message QueryNextSequenceReceiveRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QuerySequenceResponse is the request type for the +// Query/QueryNextSequenceReceiveResponse RPC method +message QueryNextSequenceReceiveResponse { + // next sequence receive number + uint64 next_sequence_receive = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto new file mode 100644 index 000000000..dab45080f --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto @@ -0,0 +1,211 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/channel/v1/channel.proto"; + +// Msg defines the ibc/channel Msg service. +service Msg { + // ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. + rpc ChannelOpenInit(MsgChannelOpenInit) returns (MsgChannelOpenInitResponse); + + // ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. + rpc ChannelOpenTry(MsgChannelOpenTry) returns (MsgChannelOpenTryResponse); + + // ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. + rpc ChannelOpenAck(MsgChannelOpenAck) returns (MsgChannelOpenAckResponse); + + // ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. + rpc ChannelOpenConfirm(MsgChannelOpenConfirm) returns (MsgChannelOpenConfirmResponse); + + // ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. + rpc ChannelCloseInit(MsgChannelCloseInit) returns (MsgChannelCloseInitResponse); + + // ChannelCloseConfirm defines a rpc handler method for + // MsgChannelCloseConfirm. + rpc ChannelCloseConfirm(MsgChannelCloseConfirm) returns (MsgChannelCloseConfirmResponse); + + // RecvPacket defines a rpc handler method for MsgRecvPacket. + rpc RecvPacket(MsgRecvPacket) returns (MsgRecvPacketResponse); + + // Timeout defines a rpc handler method for MsgTimeout. + rpc Timeout(MsgTimeout) returns (MsgTimeoutResponse); + + // TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. + rpc TimeoutOnClose(MsgTimeoutOnClose) returns (MsgTimeoutOnCloseResponse); + + // Acknowledgement defines a rpc handler method for MsgAcknowledgement. + rpc Acknowledgement(MsgAcknowledgement) returns (MsgAcknowledgementResponse); +} + +// MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It +// is called by a relayer on Chain A. +message MsgChannelOpenInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + Channel channel = 2 [(gogoproto.nullable) = false]; + string signer = 3; +} + +// MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. +message MsgChannelOpenInitResponse {} + +// MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel +// on Chain B. +message MsgChannelOpenTry { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // in the case of crossing hello's, when both chains call OpenInit, we need + // the channel identifier of the previous channel in state INIT + string previous_channel_id = 2 [(gogoproto.moretags) = "yaml:\"previous_channel_id\""]; + Channel channel = 3 [(gogoproto.nullable) = false]; + string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; + bytes proof_init = 5 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + ibc.core.client.v1.Height proof_height = 6 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 7; +} + +// MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. +message MsgChannelOpenTryResponse {} + +// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge +// the change of channel state to TRYOPEN on Chain B. +message MsgChannelOpenAck { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string counterparty_channel_id = 3 [(gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; + string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; + bytes proof_try = 5 [(gogoproto.moretags) = "yaml:\"proof_try\""]; + ibc.core.client.v1.Height proof_height = 6 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 7; +} + +// MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. +message MsgChannelOpenAckResponse {} + +// MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to +// acknowledge the change of channel state to OPEN on Chain A. +message MsgChannelOpenConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + bytes proof_ack = 3 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response +// type. +message MsgChannelOpenConfirmResponse {} + +// MsgChannelCloseInit defines a msg sent by a Relayer to Chain A +// to close a channel with Chain B. +message MsgChannelCloseInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string signer = 3; +} + +// MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. +message MsgChannelCloseInitResponse {} + +// MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B +// to acknowledge the change of channel state to CLOSED on Chain A. +message MsgChannelCloseConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + bytes proof_init = 3 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response +// type. +message MsgChannelCloseConfirmResponse {} + +// MsgRecvPacket receives incoming IBC packet +message MsgRecvPacket { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_commitment = 2 [(gogoproto.moretags) = "yaml:\"proof_commitment\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 4; +} + +// MsgRecvPacketResponse defines the Msg/RecvPacket response type. +message MsgRecvPacketResponse {} + +// MsgTimeout receives timed-out packet +message MsgTimeout { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + uint64 next_sequence_recv = 4 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; + string signer = 5; +} + +// MsgTimeoutResponse defines the Msg/Timeout response type. +message MsgTimeoutResponse {} + +// MsgTimeoutOnClose timed-out packet upon counterparty channel closure. +message MsgTimeoutOnClose { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; + bytes proof_close = 3 [(gogoproto.moretags) = "yaml:\"proof_close\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + uint64 next_sequence_recv = 5 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; + string signer = 6; +} + +// MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. +message MsgTimeoutOnCloseResponse {} + +// MsgAcknowledgement receives incoming IBC acknowledgement +message MsgAcknowledgement { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes acknowledgement = 2; + bytes proof_acked = 3 [(gogoproto.moretags) = "yaml:\"proof_acked\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. +message MsgAcknowledgementResponse {} diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto b/examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto new file mode 100644 index 000000000..f0a1538e9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto @@ -0,0 +1,104 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; +import "cosmos_proto/cosmos.proto"; + +// IdentifiedClientState defines a client state with an additional client +// identifier field. +message IdentifiedClientState { + // client identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // client state + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateWithHeight defines a consensus state with an additional height +// field. +message ConsensusStateWithHeight { + // consensus state height + Height height = 1 [(gogoproto.nullable) = false]; + // consensus state + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml\"consensus_state\""]; +} + +// ClientConsensusStates defines all the stored consensus states for a given +// client. +message ClientConsensusStates { + // client identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // consensus states and their heights associated with the client + repeated ConsensusStateWithHeight consensus_states = 2 + [(gogoproto.moretags) = "yaml:\"consensus_states\"", (gogoproto.nullable) = false]; +} + +// 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). +message ClientUpdateProposal { + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + // the title of the update proposal + string title = 1; + // the description of the proposal + string description = 2; + // the client identifier for the client to be updated if the proposal passes + string subject_client_id = 3 [(gogoproto.moretags) = "yaml:\"subject_client_id\""]; + // the substitute client identifier for the client standing in for the subject + // client + string substitute_client_id = 4 [(gogoproto.moretags) = "yaml:\"substitute_client_id\""]; +} + +// UpgradeProposal is a gov Content type for initiating an IBC breaking +// upgrade. +message UpgradeProposal { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = true; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + cosmos.upgrade.v1beta1.Plan plan = 3 [(gogoproto.nullable) = false]; + + // 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 + google.protobuf.Any upgraded_client_state = 4 [(gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; +} + +// 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 +message Height { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // the revision that the client is currently on + uint64 revision_number = 1 [(gogoproto.moretags) = "yaml:\"revision_number\""]; + // the height within the given revision + uint64 revision_height = 2 [(gogoproto.moretags) = "yaml:\"revision_height\""]; +} + +// Params defines the set of IBC light client parameters. +message Params { + // allowed_clients defines the list of allowed client state types. + repeated string allowed_clients = 1 [(gogoproto.moretags) = "yaml:\"allowed_clients\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto b/examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto new file mode 100644 index 000000000..6668f2cad --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "ibc/core/client/v1/client.proto"; +import "gogoproto/gogo.proto"; + +// GenesisState defines the ibc client submodule's genesis state. +message GenesisState { + // client states with their corresponding identifiers + repeated IdentifiedClientState clients = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + // consensus states from each client + repeated ClientConsensusStates clients_consensus = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "ClientsConsensusStates", + (gogoproto.moretags) = "yaml:\"clients_consensus\"" + ]; + // metadata from each client + repeated IdentifiedGenesisMetadata clients_metadata = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"clients_metadata\""]; + Params params = 4 [(gogoproto.nullable) = false]; + // create localhost on initialization + bool create_localhost = 5 [(gogoproto.moretags) = "yaml:\"create_localhost\""]; + // the sequence for the next generated client identifier + uint64 next_client_sequence = 6 [(gogoproto.moretags) = "yaml:\"next_client_sequence\""]; +} + +// GenesisMetadata defines the genesis type for metadata that clients may return +// with ExportMetadata +message GenesisMetadata { + option (gogoproto.goproto_getters) = false; + + // store key of metadata without clientID-prefix + bytes key = 1; + // metadata value + bytes value = 2; +} + +// IdentifiedGenesisMetadata has the client metadata with the corresponding +// client id. +message IdentifiedGenesisMetadata { + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + repeated GenesisMetadata client_metadata = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto b/examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto new file mode 100644 index 000000000..b6f8eb474 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto @@ -0,0 +1,184 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/client/v1/client.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "gogoproto/gogo.proto"; + +// Query provides defines the gRPC querier service +service Query { + // ClientState queries an IBC light client. + rpc ClientState(QueryClientStateRequest) returns (QueryClientStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_states/{client_id}"; + } + + // ClientStates queries all the IBC light clients of a chain. + rpc ClientStates(QueryClientStatesRequest) returns (QueryClientStatesResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_states"; + } + + // ConsensusState queries a consensus state associated with a client state at + // a given height. + rpc ConsensusState(QueryConsensusStateRequest) returns (QueryConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/consensus_states/" + "{client_id}/revision/{revision_number}/" + "height/{revision_height}"; + } + + // ConsensusStates queries all the consensus state associated with a given + // client. + rpc ConsensusStates(QueryConsensusStatesRequest) returns (QueryConsensusStatesResponse) { + option (google.api.http).get = "/ibc/core/client/v1/consensus_states/{client_id}"; + } + + // Status queries the status of an IBC client. + rpc ClientStatus(QueryClientStatusRequest) returns (QueryClientStatusResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_status/{client_id}"; + } + + // ClientParams queries all parameters of the ibc client. + rpc ClientParams(QueryClientParamsRequest) returns (QueryClientParamsResponse) { + option (google.api.http).get = "/ibc/client/v1/params"; + } + + // UpgradedClientState queries an Upgraded IBC light client. + rpc UpgradedClientState(QueryUpgradedClientStateRequest) returns (QueryUpgradedClientStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/upgraded_client_states"; + } + + // UpgradedConsensusState queries an Upgraded IBC consensus state. + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/upgraded_consensus_states"; + } +} + +// QueryClientStateRequest is the request type for the Query/ClientState RPC +// method +message QueryClientStateRequest { + // client state unique identifier + string client_id = 1; +} + +// 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. +message QueryClientStateResponse { + // client state associated with the request identifier + google.protobuf.Any client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryClientStatesRequest is the request type for the Query/ClientStates RPC +// method +message QueryClientStatesRequest { + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryClientStatesResponse is the response type for the Query/ClientStates RPC +// method. +message QueryClientStatesResponse { + // list of stored ClientStates of the chain. + repeated IdentifiedClientState client_states = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// 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. +message QueryConsensusStateRequest { + // client identifier + string client_id = 1; + // consensus state revision number + uint64 revision_number = 2; + // consensus state revision height + uint64 revision_height = 3; + // latest_height overrrides the height field and queries the latest stored + // ConsensusState + bool latest_height = 4; +} + +// QueryConsensusStateResponse is the response type for the Query/ConsensusState +// RPC method +message QueryConsensusStateResponse { + // consensus state associated with the client identifier at the given height + google.protobuf.Any consensus_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConsensusStatesRequest is the request type for the Query/ConsensusStates +// RPC method. +message QueryConsensusStatesRequest { + // client identifier + string client_id = 1; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryConsensusStatesResponse is the response type for the +// Query/ConsensusStates RPC method +message QueryConsensusStatesResponse { + // consensus states associated with the identifier + repeated ConsensusStateWithHeight consensus_states = 1 [(gogoproto.nullable) = false]; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryClientStatusRequest is the request type for the Query/ClientStatus RPC +// method +message QueryClientStatusRequest { + // client unique identifier + string client_id = 1; +} + +// QueryClientStatusResponse is the response type for the Query/ClientStatus RPC +// method. It returns the current status of the IBC client. +message QueryClientStatusResponse { + string status = 1; +} + +// QueryClientParamsRequest is the request type for the Query/ClientParams RPC +// method. +message QueryClientParamsRequest {} + +// QueryClientParamsResponse is the response type for the Query/ClientParams RPC +// method. +message QueryClientParamsResponse { + // params defines the parameters of the module. + Params params = 1; +} + +// QueryUpgradedClientStateRequest is the request type for the +// Query/UpgradedClientState RPC method +message QueryUpgradedClientStateRequest {} + +// QueryUpgradedClientStateResponse is the response type for the +// Query/UpgradedClientState RPC method. +message QueryUpgradedClientStateResponse { + // client state associated with the request identifier + google.protobuf.Any upgraded_client_state = 1; +} + +// QueryUpgradedConsensusStateRequest is the request type for the +// Query/UpgradedConsensusState RPC method +message QueryUpgradedConsensusStateRequest {} + +// QueryUpgradedConsensusStateResponse is the response type for the +// Query/UpgradedConsensusState RPC method. +message QueryUpgradedConsensusStateResponse { + // Consensus state associated with the request identifier + google.protobuf.Any upgraded_consensus_state = 1; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto b/examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto new file mode 100644 index 000000000..82df96dec --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto @@ -0,0 +1,99 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// Msg defines the ibc/client Msg service. +service Msg { + // CreateClient defines a rpc handler method for MsgCreateClient. + rpc CreateClient(MsgCreateClient) returns (MsgCreateClientResponse); + + // UpdateClient defines a rpc handler method for MsgUpdateClient. + rpc UpdateClient(MsgUpdateClient) returns (MsgUpdateClientResponse); + + // UpgradeClient defines a rpc handler method for MsgUpgradeClient. + rpc UpgradeClient(MsgUpgradeClient) returns (MsgUpgradeClientResponse); + + // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. + rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) returns (MsgSubmitMisbehaviourResponse); +} + +// MsgCreateClient defines a message to create an IBC client +message MsgCreateClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // light client state + google.protobuf.Any client_state = 1 [(gogoproto.moretags) = "yaml:\"client_state\""]; + // consensus state associated with the client that corresponds to a given + // height. + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // signer address + string signer = 3; +} + +// MsgCreateClientResponse defines the Msg/CreateClient response type. +message MsgCreateClientResponse {} + +// MsgUpdateClient defines an sdk.Msg to update a IBC client state using +// the given header. +message MsgUpdateClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // header to update the light client + google.protobuf.Any header = 2; + // signer address + string signer = 3; +} + +// MsgUpdateClientResponse defines the Msg/UpdateClient response type. +message MsgUpdateClientResponse {} + +// MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client +// state +message MsgUpgradeClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // upgraded client state + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + // upgraded consensus state, only contains enough information to serve as a + // basis of trust in update logic + google.protobuf.Any consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // proof that old chain committed to new client + bytes proof_upgrade_client = 4 [(gogoproto.moretags) = "yaml:\"proof_upgrade_client\""]; + // proof that old chain committed to new consensus state + bytes proof_upgrade_consensus_state = 5 [(gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\""]; + // signer address + string signer = 6; +} + +// MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. +message MsgUpgradeClientResponse {} + +// MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for +// light client misbehaviour. +message MsgSubmitMisbehaviour { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // misbehaviour used for freezing the light client + google.protobuf.Any misbehaviour = 2; + // signer address + string signer = 3; +} + +// MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response +// type. +message MsgSubmitMisbehaviourResponse {} diff --git a/examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto b/examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto new file mode 100644 index 000000000..b460b9a1e --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; + +package ibc.core.commitment.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types"; + +import "gogoproto/gogo.proto"; +import "confio/proofs.proto"; + +// MerkleRoot defines a merkle root hash. +// In the Cosmos SDK, the AppHash of a block header becomes the root. +message MerkleRoot { + option (gogoproto.goproto_getters) = false; + + bytes hash = 1; +} + +// MerklePrefix is merkle path prefixed to the key. +// The constructed key from the Path and the key will be append(Path.KeyPath, +// append(Path.KeyPrefix, key...)) +message MerklePrefix { + bytes key_prefix = 1 [(gogoproto.moretags) = "yaml:\"key_prefix\""]; +} + +// MerklePath is the path used to verify commitment proofs, which can be an +// arbitrary structured object (defined by a commitment type). +// MerklePath is represented from root-to-leaf +message MerklePath { + option (gogoproto.goproto_stringer) = false; + + repeated string key_path = 1 [(gogoproto.moretags) = "yaml:\"key_path\""]; +} + +// MerkleProof is a wrapper type over a chain of CommitmentProofs. +// It demonstrates membership or non-membership for an element or set of +// elements, verifiable in conjunction with a known commitment root. Proofs +// should be succinct. +// MerkleProofs are ordered from leaf-to-root +message MerkleProof { + repeated ics23.CommitmentProof proofs = 1; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto new file mode 100644 index 000000000..74c39e26e --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto @@ -0,0 +1,114 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/commitment/v1/commitment.proto"; + +// ICS03 - Connection Data Structures as defined in +// https://github.com/cosmos/ibc/blob/master/spec/core/ics-003-connection-semantics#data-structures + +// ConnectionEnd defines a stateful object on a chain connected to another +// separate one. +// NOTE: there must only be 2 defined ConnectionEnds to establish +// a connection between two chains. +message ConnectionEnd { + option (gogoproto.goproto_getters) = false; + // client associated with this connection. + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // IBC version which can be utilised to determine encodings or protocols for + // channels or packets utilising this connection. + repeated Version versions = 2; + // current state of the connection end. + State state = 3; + // counterparty chain associated with this connection. + Counterparty counterparty = 4 [(gogoproto.nullable) = false]; + // delay period that must pass before a consensus state can be used for + // packet-verification NOTE: delay period logic is only implemented by some + // clients. + uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; +} + +// IdentifiedConnection defines a connection with additional connection +// identifier field. +message IdentifiedConnection { + option (gogoproto.goproto_getters) = false; + // connection identifier. + string id = 1 [(gogoproto.moretags) = "yaml:\"id\""]; + // client associated with this connection. + string client_id = 2 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // IBC version which can be utilised to determine encodings or protocols for + // channels or packets utilising this connection + repeated Version versions = 3; + // current state of the connection end. + State state = 4; + // counterparty chain associated with this connection. + Counterparty counterparty = 5 [(gogoproto.nullable) = false]; + // delay period associated with this connection. + uint64 delay_period = 6 [(gogoproto.moretags) = "yaml:\"delay_period\""]; +} + +// State defines if a connection is in one of the following states: +// INIT, TRYOPEN, OPEN or UNINITIALIZED. +enum State { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + // A connection end has just started the opening handshake. + STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + // A connection end has acknowledged the handshake step on the counterparty + // chain. + STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + // A connection end has completed the handshake. + STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; +} + +// Counterparty defines the counterparty chain associated with a connection end. +message Counterparty { + option (gogoproto.goproto_getters) = false; + + // identifies the client on the counterparty chain associated with a given + // connection. + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // identifies the connection end on the counterparty chain associated with a + // given connection. + string connection_id = 2 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + // commitment merkle prefix of the counterparty chain. + ibc.core.commitment.v1.MerklePrefix prefix = 3 [(gogoproto.nullable) = false]; +} + +// ClientPaths define all the connection paths for a client state. +message ClientPaths { + // list of connection paths + repeated string paths = 1; +} + +// ConnectionPaths define all the connection paths for a given client state. +message ConnectionPaths { + // client state unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // list of connection paths + repeated string paths = 2; +} + +// Version defines the versioning scheme used to negotiate the IBC verison in +// the connection handshake. +message Version { + option (gogoproto.goproto_getters) = false; + + // unique version identifier + string identifier = 1; + // list of features compatible with the specified identifier + repeated string features = 2; +} + +// Params defines the set of Connection parameters. +message Params { + // maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + // largest amount of time that the chain might reasonably take to produce the next block under normal operating + // conditions. A safe choice is 3-5x the expected time per block. + uint64 max_expected_time_per_block = 1 [(gogoproto.moretags) = "yaml:\"max_expected_time_per_block\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto new file mode 100644 index 000000000..ec5be6428 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/connection/v1/connection.proto"; + +// GenesisState defines the ibc connection submodule's genesis state. +message GenesisState { + repeated IdentifiedConnection connections = 1 [(gogoproto.nullable) = false]; + repeated ConnectionPaths client_connection_paths = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_connection_paths\""]; + // the sequence for the next generated connection identifier + uint64 next_connection_sequence = 3 [(gogoproto.moretags) = "yaml:\"next_connection_sequence\""]; + Params params = 4 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto new file mode 100644 index 000000000..d668c3d28 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/connection/v1/connection.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/any.proto"; + +// Query provides defines the gRPC querier service +service Query { + // Connection queries an IBC connection end. + rpc Connection(QueryConnectionRequest) returns (QueryConnectionResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}"; + } + + // Connections queries all the IBC connections of a chain. + rpc Connections(QueryConnectionsRequest) returns (QueryConnectionsResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections"; + } + + // ClientConnections queries the connection paths associated with a client + // state. + rpc ClientConnections(QueryClientConnectionsRequest) returns (QueryClientConnectionsResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/client_connections/{client_id}"; + } + + // ConnectionClientState queries the client state associated with the + // connection. + rpc ConnectionClientState(QueryConnectionClientStateRequest) returns (QueryConnectionClientStateResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/client_state"; + } + + // ConnectionConsensusState queries the consensus state associated with the + // connection. + rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) returns (QueryConnectionConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" + "revision/{revision_number}/height/{revision_height}"; + } +} + +// QueryConnectionRequest is the request type for the Query/Connection RPC +// method +message QueryConnectionRequest { + // connection unique identifier + string connection_id = 1; +} + +// QueryConnectionResponse is the response type for the Query/Connection RPC +// method. Besides the connection end, it includes a proof and the height from +// which the proof was retrieved. +message QueryConnectionResponse { + // connection associated with the request identifier + ibc.core.connection.v1.ConnectionEnd connection = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionsRequest is the request type for the Query/Connections RPC +// method +message QueryConnectionsRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryConnectionsResponse is the response type for the Query/Connections RPC +// method. +message QueryConnectionsResponse { + // list of stored connections of the chain. + repeated ibc.core.connection.v1.IdentifiedConnection connections = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryClientConnectionsRequest is the request type for the +// Query/ClientConnections RPC method +message QueryClientConnectionsRequest { + // client identifier associated with a connection + string client_id = 1; +} + +// QueryClientConnectionsResponse is the response type for the +// Query/ClientConnections RPC method +message QueryClientConnectionsResponse { + // slice of all the connection paths associated with a client. + repeated string connection_paths = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was generated + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionClientStateRequest is the request type for the +// Query/ConnectionClientState RPC method +message QueryConnectionClientStateRequest { + // connection identifier + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; +} + +// QueryConnectionClientStateResponse is the response type for the +// Query/ConnectionClientState RPC method +message QueryConnectionClientStateResponse { + // client state associated with the channel + ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionConsensusStateRequest is the request type for the +// Query/ConnectionConsensusState RPC method +message QueryConnectionConsensusStateRequest { + // connection identifier + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + uint64 revision_number = 2; + uint64 revision_height = 3; +} + +// QueryConnectionConsensusStateResponse is the response type for the +// Query/ConnectionConsensusState RPC method +message QueryConnectionConsensusStateResponse { + // consensus state associated with the channel + google.protobuf.Any consensus_state = 1; + // client ID associated with the consensus state + string client_id = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto new file mode 100644 index 000000000..9d4e577e2 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto @@ -0,0 +1,119 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/connection/v1/connection.proto"; + +// Msg defines the ibc/connection Msg service. +service Msg { + // ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. + rpc ConnectionOpenInit(MsgConnectionOpenInit) returns (MsgConnectionOpenInitResponse); + + // ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. + rpc ConnectionOpenTry(MsgConnectionOpenTry) returns (MsgConnectionOpenTryResponse); + + // ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. + rpc ConnectionOpenAck(MsgConnectionOpenAck) returns (MsgConnectionOpenAckResponse); + + // ConnectionOpenConfirm defines a rpc handler method for + // MsgConnectionOpenConfirm. + rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) returns (MsgConnectionOpenConfirmResponse); +} + +// MsgConnectionOpenInit defines the msg sent by an account on Chain A to +// initialize a connection with Chain B. +message MsgConnectionOpenInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + Counterparty counterparty = 2 [(gogoproto.nullable) = false]; + Version version = 3; + uint64 delay_period = 4 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + string signer = 5; +} + +// MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response +// type. +message MsgConnectionOpenInitResponse {} + +// MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a +// connection on Chain B. +message MsgConnectionOpenTry { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // in the case of crossing hello's, when both chains call OpenInit, we need + // the connection identifier of the previous connection in state INIT + string previous_connection_id = 2 [(gogoproto.moretags) = "yaml:\"previous_connection_id\""]; + google.protobuf.Any client_state = 3 [(gogoproto.moretags) = "yaml:\"client_state\""]; + Counterparty counterparty = 4 [(gogoproto.nullable) = false]; + uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + repeated Version counterparty_versions = 6 [(gogoproto.moretags) = "yaml:\"counterparty_versions\""]; + ibc.core.client.v1.Height proof_height = 7 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + // proof of the initialization the connection on Chain A: `UNITIALIZED -> + // INIT` + bytes proof_init = 8 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + // proof of client state included in message + bytes proof_client = 9 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + // proof of client consensus state + bytes proof_consensus = 10 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; + ibc.core.client.v1.Height consensus_height = 11 + [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + string signer = 12; +} + +// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. +message MsgConnectionOpenTryResponse {} + +// MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to +// acknowledge the change of connection state to TRYOPEN on Chain B. +message MsgConnectionOpenAck { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string counterparty_connection_id = 2 [(gogoproto.moretags) = "yaml:\"counterparty_connection_id\""]; + Version version = 3; + google.protobuf.Any client_state = 4 [(gogoproto.moretags) = "yaml:\"client_state\""]; + ibc.core.client.v1.Height proof_height = 5 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + // proof of the initialization the connection on Chain B: `UNITIALIZED -> + // TRYOPEN` + bytes proof_try = 6 [(gogoproto.moretags) = "yaml:\"proof_try\""]; + // proof of client state included in message + bytes proof_client = 7 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + // proof of client consensus state + bytes proof_consensus = 8 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; + ibc.core.client.v1.Height consensus_height = 9 + [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + string signer = 10; +} + +// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. +message MsgConnectionOpenAckResponse {} + +// MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to +// acknowledge the change of connection state to OPEN on Chain A. +message MsgConnectionOpenConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + // proof for the change of the connection state on Chain A: `INIT -> OPEN` + bytes proof_ack = 2 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 4; +} + +// MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm +// response type. +message MsgConnectionOpenConfirmResponse {} diff --git a/examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto b/examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto new file mode 100644 index 000000000..3c7fb7cb9 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; + +package ibc.core.port.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/05-port/types"; + +import "ibc/core/channel/v1/channel.proto"; + +// Query defines the gRPC querier service +service Query { + // AppVersion queries an IBC Port and determines the appropriate application version to be used + rpc AppVersion(QueryAppVersionRequest) returns (QueryAppVersionResponse) {} +} + +// QueryAppVersionRequest is the request type for the Query/AppVersion RPC method +message QueryAppVersionRequest { + // port unique identifier + string port_id = 1; + // connection unique identifier + string connection_id = 2; + // whether the channel is ordered or unordered + ibc.core.channel.v1.Order ordering = 3; + // counterparty channel end + ibc.core.channel.v1.Counterparty counterparty = 4; + // proposed version + string proposed_version = 5; +} + +// QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. +message QueryAppVersionResponse { + // port id associated with the request identifiers + string port_id = 1; + // supported app version + string version = 2; +} diff --git a/examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto b/examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto new file mode 100644 index 000000000..e39f6cdbb --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package ibc.core.types.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/genesis.proto"; +import "ibc/core/connection/v1/genesis.proto"; +import "ibc/core/channel/v1/genesis.proto"; + +// GenesisState defines the ibc module's genesis state. +message GenesisState { + // ICS002 - Clients genesis state + ibc.core.client.v1.GenesisState client_genesis = 1 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_genesis\""]; + // ICS003 - Connections genesis state + ibc.core.connection.v1.GenesisState connection_genesis = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"connection_genesis\""]; + // ICS004 - Channel genesis state + ibc.core.channel.v1.GenesisState channel_genesis = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"channel_genesis\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto b/examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto new file mode 100644 index 000000000..4fe05b785 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package ibc.lightclients.localhost.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/09-localhost/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; + +// ClientState defines a loopback (localhost) client. It requires (read-only) +// access to keys outside the client prefix. +message ClientState { + option (gogoproto.goproto_getters) = false; + // self chain ID + string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""]; + // self latest block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto new file mode 100644 index 000000000..b9b8a3a2a --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto @@ -0,0 +1,189 @@ +syntax = "proto3"; + +package ibc.lightclients.solomachine.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/legacy/v100"; + +import "ibc/core/connection/v1/connection.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// ClientState defines a solo machine client that tracks the current consensus +// state and if the client is frozen. +message ClientState { + option (gogoproto.goproto_getters) = false; + // latest sequence of the client state + uint64 sequence = 1; + // frozen sequence of the solo machine + uint64 frozen_sequence = 2 [(gogoproto.moretags) = "yaml:\"frozen_sequence\""]; + ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // when set to true, will allow governance to update a solo machine client. + // The client will be unfrozen if it is frozen. + bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; +} + +// ConsensusState defines a solo machine consensus state. The sequence of a +// consensus state is contained in the "height" key used in storing the +// consensus state. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + // public key of the solo machine + google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + // diversifier allows the same public key to be re-used across different solo + // machine clients (potentially on different chains) without being considered + // misbehaviour. + string diversifier = 2; + uint64 timestamp = 3; +} + +// Header defines a solo machine consensus header +message Header { + option (gogoproto.goproto_getters) = false; + // sequence to update solo machine public key at + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; + string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// Misbehaviour defines misbehaviour for a solo machine which consists +// of a sequence and two signatures over different messages at that sequence. +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; + SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; +} + +// SignatureAndData contains a signature and the data signed over to create that +// signature. +message SignatureAndData { + option (gogoproto.goproto_getters) = false; + bytes signature = 1; + DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; + bytes data = 3; + uint64 timestamp = 4; +} + +// TimestampedSignatureData contains the signature data and the timestamp of the +// signature. +message TimestampedSignatureData { + option (gogoproto.goproto_getters) = false; + bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; + uint64 timestamp = 2; +} + +// SignBytes defines the signed bytes used for signature verification. +message SignBytes { + option (gogoproto.goproto_getters) = false; + + uint64 sequence = 1; + uint64 timestamp = 2; + string diversifier = 3; + // type of the data used + DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + // marshaled data + bytes data = 5; +} + +// DataType defines the type of solo machine proof being created. This is done +// to preserve uniqueness of different data sign byte encodings. +enum DataType { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + // Data type for client state verification + DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + // Data type for consensus state verification + DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + // Data type for connection state verification + DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + // Data type for channel state verification + DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + // Data type for packet commitment verification + DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + // Data type for packet acknowledgement verification + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + // Data type for packet receipt absence verification + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + // Data type for next sequence recv verification + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + // Data type for header verification + DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; +} + +// HeaderData returns the SignBytes data for update verification. +message HeaderData { + option (gogoproto.goproto_getters) = false; + + // header public key + google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + // header diversifier + string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// ClientStateData returns the SignBytes data for client state verification. +message ClientStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateData returns the SignBytes data for consensus state +// verification. +message ConsensusStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; +} + +// ConnectionStateData returns the SignBytes data for connection state +// verification. +message ConnectionStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.connection.v1.ConnectionEnd connection = 2; +} + +// ChannelStateData returns the SignBytes data for channel state +// verification. +message ChannelStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.channel.v1.Channel channel = 2; +} + +// PacketCommitmentData returns the SignBytes data for packet commitment +// verification. +message PacketCommitmentData { + bytes path = 1; + bytes commitment = 2; +} + +// PacketAcknowledgementData returns the SignBytes data for acknowledgement +// verification. +message PacketAcknowledgementData { + bytes path = 1; + bytes acknowledgement = 2; +} + +// PacketReceiptAbsenceData returns the SignBytes data for +// packet receipt absence verification. +message PacketReceiptAbsenceData { + bytes path = 1; +} + +// NextSequenceRecvData returns the SignBytes data for verification of the next +// sequence to be received. +message NextSequenceRecvData { + bytes path = 1; + uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto new file mode 100644 index 000000000..0c8c638c1 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto @@ -0,0 +1,189 @@ +syntax = "proto3"; + +package ibc.lightclients.solomachine.v2; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/06-solomachine/types"; + +import "ibc/core/connection/v1/connection.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// ClientState defines a solo machine client that tracks the current consensus +// state and if the client is frozen. +message ClientState { + option (gogoproto.goproto_getters) = false; + // latest sequence of the client state + uint64 sequence = 1; + // frozen sequence of the solo machine + bool is_frozen = 2 [(gogoproto.moretags) = "yaml:\"is_frozen\""]; + ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // when set to true, will allow governance to update a solo machine client. + // The client will be unfrozen if it is frozen. + bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; +} + +// ConsensusState defines a solo machine consensus state. The sequence of a +// consensus state is contained in the "height" key used in storing the +// consensus state. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + // public key of the solo machine + google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + // diversifier allows the same public key to be re-used across different solo + // machine clients (potentially on different chains) without being considered + // misbehaviour. + string diversifier = 2; + uint64 timestamp = 3; +} + +// Header defines a solo machine consensus header +message Header { + option (gogoproto.goproto_getters) = false; + // sequence to update solo machine public key at + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; + string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// Misbehaviour defines misbehaviour for a solo machine which consists +// of a sequence and two signatures over different messages at that sequence. +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; + SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; +} + +// SignatureAndData contains a signature and the data signed over to create that +// signature. +message SignatureAndData { + option (gogoproto.goproto_getters) = false; + bytes signature = 1; + DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; + bytes data = 3; + uint64 timestamp = 4; +} + +// TimestampedSignatureData contains the signature data and the timestamp of the +// signature. +message TimestampedSignatureData { + option (gogoproto.goproto_getters) = false; + bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; + uint64 timestamp = 2; +} + +// SignBytes defines the signed bytes used for signature verification. +message SignBytes { + option (gogoproto.goproto_getters) = false; + + uint64 sequence = 1; + uint64 timestamp = 2; + string diversifier = 3; + // type of the data used + DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + // marshaled data + bytes data = 5; +} + +// DataType defines the type of solo machine proof being created. This is done +// to preserve uniqueness of different data sign byte encodings. +enum DataType { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + // Data type for client state verification + DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + // Data type for consensus state verification + DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + // Data type for connection state verification + DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + // Data type for channel state verification + DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + // Data type for packet commitment verification + DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + // Data type for packet acknowledgement verification + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + // Data type for packet receipt absence verification + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + // Data type for next sequence recv verification + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + // Data type for header verification + DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; +} + +// HeaderData returns the SignBytes data for update verification. +message HeaderData { + option (gogoproto.goproto_getters) = false; + + // header public key + google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + // header diversifier + string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// ClientStateData returns the SignBytes data for client state verification. +message ClientStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateData returns the SignBytes data for consensus state +// verification. +message ConsensusStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; +} + +// ConnectionStateData returns the SignBytes data for connection state +// verification. +message ConnectionStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.connection.v1.ConnectionEnd connection = 2; +} + +// ChannelStateData returns the SignBytes data for channel state +// verification. +message ChannelStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.channel.v1.Channel channel = 2; +} + +// PacketCommitmentData returns the SignBytes data for packet commitment +// verification. +message PacketCommitmentData { + bytes path = 1; + bytes commitment = 2; +} + +// PacketAcknowledgementData returns the SignBytes data for acknowledgement +// verification. +message PacketAcknowledgementData { + bytes path = 1; + bytes acknowledgement = 2; +} + +// PacketReceiptAbsenceData returns the SignBytes data for +// packet receipt absence verification. +message PacketReceiptAbsenceData { + bytes path = 1; +} + +// NextSequenceRecvData returns the SignBytes data for verification of the next +// sequence to be received. +message NextSequenceRecvData { + bytes path = 1; + uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; +} diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto new file mode 100644 index 000000000..54e229b28 --- /dev/null +++ b/examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto @@ -0,0 +1,115 @@ +syntax = "proto3"; + +package ibc.lightclients.tendermint.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/07-tendermint/types"; + +import "tendermint/types/validator.proto"; +import "tendermint/types/types.proto"; +import "confio/proofs.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/commitment/v1/commitment.proto"; +import "gogoproto/gogo.proto"; + +// ClientState from Tendermint tracks the current validator set, latest height, +// and a possible frozen height. +message ClientState { + option (gogoproto.goproto_getters) = false; + + string chain_id = 1; + Fraction trust_level = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trust_level\""]; + // duration of the period since the LastestTimestamp during which the + // submitted headers are valid for upgrade + google.protobuf.Duration trusting_period = 3 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"trusting_period\""]; + // duration of the staking unbonding period + google.protobuf.Duration unbonding_period = 4 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.moretags) = "yaml:\"unbonding_period\"" + ]; + // defines how much new (untrusted) header's Time can drift into the future. + google.protobuf.Duration max_clock_drift = 5 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"max_clock_drift\""]; + // Block height when the client was frozen due to a misbehaviour + ibc.core.client.v1.Height frozen_height = 6 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"frozen_height\""]; + // Latest height the client was updated to + ibc.core.client.v1.Height latest_height = 7 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"latest_height\""]; + + // Proof specifications used in verifying counterparty state + repeated ics23.ProofSpec proof_specs = 8 [(gogoproto.moretags) = "yaml:\"proof_specs\""]; + + // Path at which next upgraded client will be committed. + // Each element corresponds to the key for a single CommitmentProof in the + // chained proof. NOTE: ClientState must stored under + // `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + // under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + // the default upgrade module, upgrade_path should be []string{"upgrade", + // "upgradedIBCState"}` + repeated string upgrade_path = 9 [(gogoproto.moretags) = "yaml:\"upgrade_path\""]; + + // This flag, when set to true, will allow governance to recover a client + // which has expired + bool allow_update_after_expiry = 10 [(gogoproto.moretags) = "yaml:\"allow_update_after_expiry\""]; + // This flag, when set to true, will allow governance to unfreeze a client + // whose chain has experienced a misbehaviour event + bool allow_update_after_misbehaviour = 11 [(gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\""]; +} + +// ConsensusState defines the consensus state from Tendermint. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + + // timestamp that corresponds to the block height in which the ConsensusState + // was stored. + google.protobuf.Timestamp timestamp = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // commitment root (i.e app hash) + ibc.core.commitment.v1.MerkleRoot root = 2 [(gogoproto.nullable) = false]; + bytes next_validators_hash = 3 [ + (gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes", + (gogoproto.moretags) = "yaml:\"next_validators_hash\"" + ]; +} + +// Misbehaviour is a wrapper over two conflicting Headers +// that implements Misbehaviour interface expected by ICS-02 +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + Header header_1 = 2 [(gogoproto.customname) = "Header1", (gogoproto.moretags) = "yaml:\"header_1\""]; + Header header_2 = 3 [(gogoproto.customname) = "Header2", (gogoproto.moretags) = "yaml:\"header_2\""]; +} + +// Header defines the Tendermint client consensus Header. +// It encapsulates all the information necessary to update from a trusted +// Tendermint ConsensusState. The inclusion of TrustedHeight and +// TrustedValidators allows this update to process correctly, so long as the +// ConsensusState for the TrustedHeight exists, this removes race conditions +// among relayers The SignedHeader and ValidatorSet are the new untrusted update +// fields for the client. The TrustedHeight is the height of a stored +// ConsensusState on the client that will be used to verify the new untrusted +// header. The Trusted ConsensusState must be within the unbonding period of +// current time in order to correctly verify, and the TrustedValidators must +// hash to TrustedConsensusState.NextValidatorsHash since that is the last +// trusted validator set at the TrustedHeight. +message Header { + .tendermint.types.SignedHeader signed_header = 1 + [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"signed_header\""]; + + .tendermint.types.ValidatorSet validator_set = 2 [(gogoproto.moretags) = "yaml:\"validator_set\""]; + ibc.core.client.v1.Height trusted_height = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trusted_height\""]; + .tendermint.types.ValidatorSet trusted_validators = 4 [(gogoproto.moretags) = "yaml:\"trusted_validators\""]; +} + +// Fraction defines the protobuf message type for tmmath.Fraction that only +// supports positive values. +message Fraction { + uint64 numerator = 1; + uint64 denominator = 2; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/LICENSE b/examples/telescope-with-contracts/proto/tendermint/LICENSE new file mode 100644 index 000000000..eaf92fbf6 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/LICENSE @@ -0,0 +1,204 @@ +Tendermint Core +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/tendermint/README.md b/examples/telescope-with-contracts/proto/tendermint/README.md new file mode 100644 index 000000000..74fcf8b8b --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/README.md @@ -0,0 +1 @@ +# tendermint \ No newline at end of file diff --git a/examples/telescope-with-contracts/proto/tendermint/abci/types.proto b/examples/telescope-with-contracts/proto/tendermint/abci/types.proto new file mode 100644 index 000000000..d41a52268 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/abci/types.proto @@ -0,0 +1,394 @@ +syntax = "proto3"; +package tendermint.abci; + +option go_package = "github.com/tendermint/tendermint/abci/types"; + +// For more information on gogo.proto, see: +// https://github.com/gogo/protobuf/blob/master/extensions.md +import "tendermint/crypto/proof.proto"; +import "tendermint/types/types.proto"; +import "tendermint/crypto/keys.proto"; +import "tendermint/types/params.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; + +// This file is copied from http://github.com/tendermint/abci +// NOTE: When using custom types, mind the warnings. +// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues + +//---------------------------------------- +// Request types + +message Request { + oneof value { + RequestEcho echo = 1; + RequestFlush flush = 2; + RequestInfo info = 3; + RequestSetOption set_option = 4; + RequestInitChain init_chain = 5; + RequestQuery query = 6; + RequestBeginBlock begin_block = 7; + RequestCheckTx check_tx = 8; + RequestDeliverTx deliver_tx = 9; + RequestEndBlock end_block = 10; + RequestCommit commit = 11; + RequestListSnapshots list_snapshots = 12; + RequestOfferSnapshot offer_snapshot = 13; + RequestLoadSnapshotChunk load_snapshot_chunk = 14; + RequestApplySnapshotChunk apply_snapshot_chunk = 15; + } +} + +message RequestEcho { + string message = 1; +} + +message RequestFlush {} + +message RequestInfo { + string version = 1; + uint64 block_version = 2; + uint64 p2p_version = 3; +} + +// nondeterministic +message RequestSetOption { + string key = 1; + string value = 2; +} + +message RequestInitChain { + google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 2; + ConsensusParams consensus_params = 3; + repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; + bytes app_state_bytes = 5; + int64 initial_height = 6; +} + +message RequestQuery { + bytes data = 1; + string path = 2; + int64 height = 3; + bool prove = 4; +} + +message RequestBeginBlock { + bytes hash = 1; + tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; + LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; + repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; +} + +enum CheckTxType { + NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; + RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; +} + +message RequestCheckTx { + bytes tx = 1; + CheckTxType type = 2; +} + +message RequestDeliverTx { + bytes tx = 1; +} + +message RequestEndBlock { + int64 height = 1; +} + +message RequestCommit {} + +// lists available snapshots +message RequestListSnapshots {} + +// offers a snapshot to the application +message RequestOfferSnapshot { + Snapshot snapshot = 1; // snapshot offered by peers + bytes app_hash = 2; // light client-verified app hash for snapshot height +} + +// loads a snapshot chunk +message RequestLoadSnapshotChunk { + uint64 height = 1; + uint32 format = 2; + uint32 chunk = 3; +} + +// Applies a snapshot chunk +message RequestApplySnapshotChunk { + uint32 index = 1; + bytes chunk = 2; + string sender = 3; +} + +//---------------------------------------- +// Response types + +message Response { + oneof value { + ResponseException exception = 1; + ResponseEcho echo = 2; + ResponseFlush flush = 3; + ResponseInfo info = 4; + ResponseSetOption set_option = 5; + ResponseInitChain init_chain = 6; + ResponseQuery query = 7; + ResponseBeginBlock begin_block = 8; + ResponseCheckTx check_tx = 9; + ResponseDeliverTx deliver_tx = 10; + ResponseEndBlock end_block = 11; + ResponseCommit commit = 12; + ResponseListSnapshots list_snapshots = 13; + ResponseOfferSnapshot offer_snapshot = 14; + ResponseLoadSnapshotChunk load_snapshot_chunk = 15; + ResponseApplySnapshotChunk apply_snapshot_chunk = 16; + } +} + +// nondeterministic +message ResponseException { + string error = 1; +} + +message ResponseEcho { + string message = 1; +} + +message ResponseFlush {} + +message ResponseInfo { + string data = 1; + + string version = 2; + uint64 app_version = 3; + + int64 last_block_height = 4; + bytes last_block_app_hash = 5; +} + +// nondeterministic +message ResponseSetOption { + uint32 code = 1; + // bytes data = 2; + string log = 3; + string info = 4; +} + +message ResponseInitChain { + ConsensusParams consensus_params = 1; + repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; + bytes app_hash = 3; +} + +message ResponseQuery { + uint32 code = 1; + // bytes data = 2; // use "value" instead. + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 index = 5; + bytes key = 6; + bytes value = 7; + tendermint.crypto.ProofOps proof_ops = 8; + int64 height = 9; + string codespace = 10; +} + +message ResponseBeginBlock { + repeated Event events = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +message ResponseCheckTx { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; +} + +message ResponseDeliverTx { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; +} + +message ResponseEndBlock { + repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; + ConsensusParams consensus_param_updates = 2; + repeated Event events = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +message ResponseCommit { + // reserve 1 + bytes data = 2; + int64 retain_height = 3; +} + +message ResponseListSnapshots { + repeated Snapshot snapshots = 1; +} + +message ResponseOfferSnapshot { + Result result = 1; + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Snapshot accepted, apply chunks + ABORT = 2; // Abort all snapshot restoration + REJECT = 3; // Reject this specific snapshot, try others + REJECT_FORMAT = 4; // Reject all snapshots of this format, try others + REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others + } +} + +message ResponseLoadSnapshotChunk { + bytes chunk = 1; +} + +message ResponseApplySnapshotChunk { + Result result = 1; + repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply + repeated string reject_senders = 3; // Chunk senders to reject and ban + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Chunk successfully accepted + ABORT = 2; // Abort all snapshot restoration + RETRY = 3; // Retry chunk (combine with refetch and reject) + RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) + REJECT_SNAPSHOT = 5; // Reject this snapshot, try others + } +} + +//---------------------------------------- +// Misc. + +// ConsensusParams contains all consensus-relevant parameters +// that can be adjusted by the abci app +message ConsensusParams { + BlockParams block = 1; + tendermint.types.EvidenceParams evidence = 2; + tendermint.types.ValidatorParams validator = 3; + tendermint.types.VersionParams version = 4; +} + +// BlockParams contains limits on the block size. +message BlockParams { + // Note: must be greater than 0 + int64 max_bytes = 1; + // Note: must be greater or equal to -1 + int64 max_gas = 2; +} + +message LastCommitInfo { + int32 round = 1; + repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; +} + +// Event allows application developers to attach additional information to +// ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. +// Later, transactions may be queried using these events. +message Event { + string type = 1; + repeated EventAttribute attributes = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "attributes,omitempty"]; +} + +// EventAttribute is a single key-value pair, associated with an event. +message EventAttribute { + bytes key = 1; + bytes value = 2; + bool index = 3; // nondeterministic +} + +// TxResult contains results of executing the transaction. +// +// One usage is indexing transaction results. +message TxResult { + int64 height = 1; + uint32 index = 2; + bytes tx = 3; + ResponseDeliverTx result = 4 [(gogoproto.nullable) = false]; +} + +//---------------------------------------- +// Blockchain Types + +// Validator +message Validator { + bytes address = 1; // The first 20 bytes of SHA256(public key) + // PubKey pub_key = 2 [(gogoproto.nullable)=false]; + int64 power = 3; // The voting power +} + +// ValidatorUpdate +message ValidatorUpdate { + tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; + int64 power = 2; +} + +// VoteInfo +message VoteInfo { + Validator validator = 1 [(gogoproto.nullable) = false]; + bool signed_last_block = 2; +} + +enum EvidenceType { + UNKNOWN = 0; + DUPLICATE_VOTE = 1; + LIGHT_CLIENT_ATTACK = 2; +} + +message Evidence { + EvidenceType type = 1; + // The offending validator + Validator validator = 2 [(gogoproto.nullable) = false]; + // The height when the offense occurred + int64 height = 3; + // The corresponding time where the offense occurred + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // Total voting power of the validator set in case the ABCI application does + // not store historical validators. + // https://github.com/tendermint/tendermint/issues/4581 + int64 total_voting_power = 5; +} + +//---------------------------------------- +// State Sync Types + +message Snapshot { + uint64 height = 1; // The height at which the snapshot was taken + uint32 format = 2; // The application-specific snapshot format + uint32 chunks = 3; // Number of chunks in the snapshot + bytes hash = 4; // Arbitrary snapshot hash, equal only if identical + bytes metadata = 5; // Arbitrary application metadata +} + +//---------------------------------------- +// Service Definition + +service ABCIApplication { + rpc Echo(RequestEcho) returns (ResponseEcho); + rpc Flush(RequestFlush) returns (ResponseFlush); + rpc Info(RequestInfo) returns (ResponseInfo); + rpc SetOption(RequestSetOption) returns (ResponseSetOption); + rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); + rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); + rpc Query(RequestQuery) returns (ResponseQuery); + rpc Commit(RequestCommit) returns (ResponseCommit); + rpc InitChain(RequestInitChain) returns (ResponseInitChain); + rpc BeginBlock(RequestBeginBlock) returns (ResponseBeginBlock); + rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); + rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); + rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); + rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); + rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); +} diff --git a/examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto b/examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto new file mode 100644 index 000000000..16fd7adf3 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +// PublicKey defines the keys available for use with Tendermint Validators +message PublicKey { + option (gogoproto.compare) = true; + option (gogoproto.equal) = true; + + oneof sum { + bytes ed25519 = 1; + bytes secp256k1 = 2; + } +} diff --git a/examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto b/examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto new file mode 100644 index 000000000..975df7685 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +message Proof { + int64 total = 1; + int64 index = 2; + bytes leaf_hash = 3; + repeated bytes aunts = 4; +} + +message ValueOp { + // Encoded in ProofOp.Key. + bytes key = 1; + + // To encode in ProofOp.Data + Proof proof = 2; +} + +message DominoOp { + string key = 1; + string input = 2; + string output = 3; +} + +// ProofOp defines an operation used for calculating Merkle root +// The data could be arbitrary format, providing nessecary data +// for example neighbouring node hash +message ProofOp { + string type = 1; + bytes key = 2; + bytes data = 3; +} + +// ProofOps is Merkle proof defined by the list of ProofOps +message ProofOps { + repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto b/examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto new file mode 100644 index 000000000..3111d113a --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; +package tendermint.libs.bits; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits"; + +message BitArray { + int64 bits = 1; + repeated uint64 elems = 2; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/p2p/types.proto b/examples/telescope-with-contracts/proto/tendermint/p2p/types.proto new file mode 100644 index 000000000..216a6d8d0 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/p2p/types.proto @@ -0,0 +1,42 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; + +message ProtocolVersion { + uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; + uint64 block = 2; + uint64 app = 3; +} + +message NodeInfo { + ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; + string node_id = 2 [(gogoproto.customname) = "NodeID"]; + string listen_addr = 3; + string network = 4; + string version = 5; + bytes channels = 6; + string moniker = 7; + NodeInfoOther other = 8 [(gogoproto.nullable) = false]; +} + +message NodeInfoOther { + string tx_index = 1; + string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; +} + +message PeerInfo { + string id = 1 [(gogoproto.customname) = "ID"]; + repeated PeerAddressInfo address_info = 2; + google.protobuf.Timestamp last_connected = 3 [(gogoproto.stdtime) = true]; +} + +message PeerAddressInfo { + string address = 1; + google.protobuf.Timestamp last_dial_success = 2 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp last_dial_failure = 3 [(gogoproto.stdtime) = true]; + uint32 dial_failures = 4; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/types/block.proto b/examples/telescope-with-contracts/proto/tendermint/types/block.proto new file mode 100644 index 000000000..84e9bb15d --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/types/block.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/evidence.proto"; + +message Block { + Header header = 1 [(gogoproto.nullable) = false]; + Data data = 2 [(gogoproto.nullable) = false]; + tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; + Commit last_commit = 4; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/types/evidence.proto b/examples/telescope-with-contracts/proto/tendermint/types/evidence.proto new file mode 100644 index 000000000..d9548a430 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/types/evidence.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; + +message Evidence { + oneof sum { + DuplicateVoteEvidence duplicate_vote_evidence = 1; + LightClientAttackEvidence light_client_attack_evidence = 2; + } +} + +// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. +message DuplicateVoteEvidence { + tendermint.types.Vote vote_a = 1; + tendermint.types.Vote vote_b = 2; + int64 total_voting_power = 3; + int64 validator_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. +message LightClientAttackEvidence { + tendermint.types.LightBlock conflicting_block = 1; + int64 common_height = 2; + repeated tendermint.types.Validator byzantine_validators = 3; + int64 total_voting_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +message EvidenceList { + repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/types/params.proto b/examples/telescope-with-contracts/proto/tendermint/types/params.proto new file mode 100644 index 000000000..70789222a --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/types/params.proto @@ -0,0 +1,79 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; + +option (gogoproto.equal_all) = true; + +// ConsensusParams contains consensus critical parameters that determine the +// validity of blocks. +message ConsensusParams { + BlockParams block = 1 [(gogoproto.nullable) = false]; + EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; + ValidatorParams validator = 3 [(gogoproto.nullable) = false]; + VersionParams version = 4 [(gogoproto.nullable) = false]; +} + +// BlockParams contains limits on the block size. +message BlockParams { + // Max block size, in bytes. + // Note: must be greater than 0 + int64 max_bytes = 1; + // Max gas per block. + // Note: must be greater or equal to -1 + int64 max_gas = 2; + // Minimum time increment between consecutive blocks (in milliseconds) If the + // block header timestamp is ahead of the system clock, decrease this value. + // + // Not exposed to the application. + int64 time_iota_ms = 3; +} + +// EvidenceParams determine how we handle evidence of malfeasance. +message EvidenceParams { + // Max age of evidence, in blocks. + // + // The basic formula for calculating this is: MaxAgeDuration / {average block + // time}. + int64 max_age_num_blocks = 1; + + // 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). + google.protobuf.Duration max_age_duration = 2 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + + // 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 + int64 max_bytes = 3; +} + +// ValidatorParams restrict the public key types validators can use. +// NOTE: uses ABCI pubkey naming, not Amino names. +message ValidatorParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + repeated string pub_key_types = 1; +} + +// VersionParams contains the ABCI application version. +message VersionParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + uint64 app_version = 1; +} + +// HashedParams is a subset of ConsensusParams. +// +// It is hashed into the Header.ConsensusHash. +message HashedParams { + int64 block_max_bytes = 1; + int64 block_max_gas = 2; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/types/types.proto b/examples/telescope-with-contracts/proto/tendermint/types/types.proto new file mode 100644 index 000000000..57efc33c5 --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/types/types.proto @@ -0,0 +1,153 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/crypto/proof.proto"; +import "tendermint/version/types.proto"; +import "tendermint/types/validator.proto"; + +// BlockIdFlag indicates which BlcokID the signature is for +enum BlockIDFlag { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; + BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; + BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; + BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; +} + +// SignedMsgType is a type of signed message in the consensus. +enum SignedMsgType { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; + // Votes + SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; + SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; + + // Proposals + SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; +} + +// PartsetHeader +message PartSetHeader { + uint32 total = 1; + bytes hash = 2; +} + +message Part { + uint32 index = 1; + bytes bytes = 2; + tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; +} + +// BlockID +message BlockID { + bytes hash = 1; + PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; +} + +// -------------------------------- + +// Header defines the structure of a Tendermint block header. +message Header { + // basic block info + tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; + string chain_id = 2 [(gogoproto.customname) = "ChainID"]; + int64 height = 3; + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // prev block info + BlockID last_block_id = 5 [(gogoproto.nullable) = false]; + + // hashes of block data + bytes last_commit_hash = 6; // commit from validators from the last block + bytes data_hash = 7; // transactions + + // hashes from the app output from the prev block + bytes validators_hash = 8; // validators for the current block + bytes next_validators_hash = 9; // validators for the next block + bytes consensus_hash = 10; // consensus params for current block + bytes app_hash = 11; // state after txs from the previous block + bytes last_results_hash = 12; // root hash of all results from the txs from the previous block + + // consensus info + bytes evidence_hash = 13; // evidence included in the block + bytes proposer_address = 14; // original proposer of the block +} + +// Data contains the set of transactions included in the block +message 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. + repeated bytes txs = 1; +} + +// Vote represents a prevote, precommit, or commit vote from validators for +// consensus. +message Vote { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + BlockID block_id = 4 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes validator_address = 6; + int32 validator_index = 7; + bytes signature = 8; +} + +// Commit contains the evidence that a block was committed by a set of validators. +message Commit { + int64 height = 1; + int32 round = 2; + BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; + repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; +} + +// CommitSig is a part of the Vote included in a Commit. +message CommitSig { + BlockIDFlag block_id_flag = 1; + bytes validator_address = 2; + google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; +} + +message Proposal { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + int32 pol_round = 4; + BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 7; +} + +message SignedHeader { + Header header = 1; + Commit commit = 2; +} + +message LightBlock { + SignedHeader signed_header = 1; + tendermint.types.ValidatorSet validator_set = 2; +} + +message BlockMeta { + BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + int64 block_size = 2; + Header header = 3 [(gogoproto.nullable) = false]; + int64 num_txs = 4; +} + +// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. +message TxProof { + bytes root_hash = 1; + bytes data = 2; + tendermint.crypto.Proof proof = 3; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/types/validator.proto b/examples/telescope-with-contracts/proto/tendermint/types/validator.proto new file mode 100644 index 000000000..49860b96d --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/types/validator.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/crypto/keys.proto"; + +message ValidatorSet { + repeated Validator validators = 1; + Validator proposer = 2; + int64 total_voting_power = 3; +} + +message Validator { + bytes address = 1; + tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +message SimpleValidator { + tendermint.crypto.PublicKey pub_key = 1; + int64 voting_power = 2; +} diff --git a/examples/telescope-with-contracts/proto/tendermint/version/types.proto b/examples/telescope-with-contracts/proto/tendermint/version/types.proto new file mode 100644 index 000000000..6061868bd --- /dev/null +++ b/examples/telescope-with-contracts/proto/tendermint/version/types.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package tendermint.version; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/version"; + +import "gogoproto/gogo.proto"; + +// App includes the protocol and software version for the application. +// This information is included in ResponseInfo. The App.Protocol can be +// updated in ResponseEndBlock. +message App { + uint64 protocol = 1; + string software = 2; +} + +// 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. +message Consensus { + option (gogoproto.equal) = true; + + uint64 block = 1; + uint64 app = 2; +} From 0c9f5c82d7f8fbfac6a050b8dc2daf061931aa5f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 22:24:06 -0700 Subject: [PATCH 029/262] chakra --- examples/telescope-with-contracts/config/features.ts | 2 +- templates/connect-chain/config/features.ts | 2 +- templates/connect-multi-chain/config/features.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/telescope-with-contracts/config/features.ts index 0b085303d..c2dfe4761 100644 --- a/examples/telescope-with-contracts/config/features.ts +++ b/examples/telescope-with-contracts/config/features.ts @@ -37,7 +37,7 @@ export const dependencies: FeatureProps[] = [ { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/' + href: 'https://chakra-ui.com/docs/components/' }, { title: 'Next.js', diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index a9902de32..6e6f8568f 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -37,7 +37,7 @@ export const dependencies: FeatureProps[] = [ { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/' + href: 'https://chakra-ui.com/docs/components/' }, { title: 'Next.js', diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index a9902de32..6e6f8568f 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -37,7 +37,7 @@ export const dependencies: FeatureProps[] = [ { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/' + href: 'https://chakra-ui.com/docs/components/' }, { title: 'Next.js', From 541da38ef0f63c7858ded8cc119af57ece9a4b24 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 24 Aug 2022 22:24:22 -0700 Subject: [PATCH 030/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3 - @cosmonauts/connect-chain@0.1.3 - @cosmonauts/connect-multi-chain@0.1.3 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 4 ++-- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 28 insertions(+), 4 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 9408bf198..de3dea1f4 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.2...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## 0.1.2 (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 1c578236a..fa9c5c070 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.2", + "version": "0.1.3", "private": true, "scripts": { "dev": "next dev", @@ -39,4 +39,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 4f73e0f89..e7e1dfd87 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## 0.1.2 (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index ef526bf27..107c123c3 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.2", + "version": "0.1.3", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index a02daaca0..c4d63b93c 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.2...@cosmonauts/connect-multi-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## 0.1.2 (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 41671b2e9..37c30f796 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.2", + "version": "0.1.3", "private": true, "scripts": { "dev": "next dev", From c53218aaf22931641c500386e369d0750ef224f4 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 25 Aug 2022 02:08:20 -0700 Subject: [PATCH 031/262] readme --- README.md | 2 +- packages/create-cosmos-app/README.md | 2 +- packages/create-cosmos-app/package.json | 2 +- packages/create-cosmos-app/src/cli.ts | 4 ++-- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- packages/create-cosmos-app/src/git-question-template.ts | 2 +- packages/create-cosmos-app/src/index.ts | 4 +++- packages/create-cosmos-app/types/cli.d.ts | 1 + packages/create-cosmos-app/types/git-cca-template.d.ts | 1 + packages/create-cosmos-app/types/git-question-template.d.ts | 1 + packages/create-cosmos-app/types/index.d.ts | 1 + packages/create-cosmos-app/types/prompt.d.ts | 3 +++ 12 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 packages/create-cosmos-app/types/cli.d.ts create mode 100644 packages/create-cosmos-app/types/git-cca-template.d.ts create mode 100644 packages/create-cosmos-app/types/git-question-template.d.ts create mode 100644 packages/create-cosmos-app/types/index.d.ts create mode 100644 packages/create-cosmos-app/types/prompt.d.ts diff --git a/README.md b/README.md index 3d8bf4982..1f32ccaeb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # create-cosmos-app

- +

diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 3d8bf4982..1f32ccaeb 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -1,7 +1,7 @@ # create-cosmos-app

- +

diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 12951b24a..035cffe10 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -90,4 +90,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} +} \ No newline at end of file diff --git a/packages/create-cosmos-app/src/cli.ts b/packages/create-cosmos-app/src/cli.ts index f23e0d105..d9682512b 100644 --- a/packages/create-cosmos-app/src/cli.ts +++ b/packages/create-cosmos-app/src/cli.ts @@ -1,5 +1,5 @@ -import { createApp } from "./git-cca-template"; -const createCosmosApp = createApp('https://github.com/cosmology-tech/create-cosmos-app.git'); +import { createGitApp } from "./git-cca-template"; +const createCosmosApp = createGitApp('https://github.com/cosmology-tech/create-cosmos-app.git'); export const cli = async (argv) => { await createCosmosApp(argv); }; diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index aa5ef60ae..87816481b 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -8,7 +8,7 @@ const glob = require('glob').sync; const fs = require('fs'); const path = require('path'); -export const createApp = (repo: string) => { +export const createGitApp = (repo: string) => { return async argv => { const { name } = await prompt([ { diff --git a/packages/create-cosmos-app/src/git-question-template.ts b/packages/create-cosmos-app/src/git-question-template.ts index b501228df..f5e141669 100644 --- a/packages/create-cosmos-app/src/git-question-template.ts +++ b/packages/create-cosmos-app/src/git-question-template.ts @@ -5,7 +5,7 @@ const glob = require('glob').sync; const fs = require('fs'); const path = require('path'); -export const createApp = (repo: string) => { +export const createQuestionTemplate = (repo: string) => { return async argv => { const { name } = await prompt([ { diff --git a/packages/create-cosmos-app/src/index.ts b/packages/create-cosmos-app/src/index.ts index 625c0891b..5a115171a 100644 --- a/packages/create-cosmos-app/src/index.ts +++ b/packages/create-cosmos-app/src/index.ts @@ -1 +1,3 @@ -// noop \ No newline at end of file +// noop + +export * from './git-cca-template'; \ No newline at end of file diff --git a/packages/create-cosmos-app/types/cli.d.ts b/packages/create-cosmos-app/types/cli.d.ts new file mode 100644 index 000000000..77179954f --- /dev/null +++ b/packages/create-cosmos-app/types/cli.d.ts @@ -0,0 +1 @@ +export declare const cli: (argv: any) => Promise; diff --git a/packages/create-cosmos-app/types/git-cca-template.d.ts b/packages/create-cosmos-app/types/git-cca-template.d.ts new file mode 100644 index 000000000..cfa303228 --- /dev/null +++ b/packages/create-cosmos-app/types/git-cca-template.d.ts @@ -0,0 +1 @@ +export declare const createApp: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmos-app/types/git-question-template.d.ts b/packages/create-cosmos-app/types/git-question-template.d.ts new file mode 100644 index 000000000..cfa303228 --- /dev/null +++ b/packages/create-cosmos-app/types/git-question-template.d.ts @@ -0,0 +1 @@ +export declare const createApp: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmos-app/types/index.d.ts b/packages/create-cosmos-app/types/index.d.ts new file mode 100644 index 000000000..fcd5973e7 --- /dev/null +++ b/packages/create-cosmos-app/types/index.d.ts @@ -0,0 +1 @@ +export * from './git-cca-template'; diff --git a/packages/create-cosmos-app/types/prompt.d.ts b/packages/create-cosmos-app/types/prompt.d.ts new file mode 100644 index 000000000..2c3dfe583 --- /dev/null +++ b/packages/create-cosmos-app/types/prompt.d.ts @@ -0,0 +1,3 @@ +export declare const getFuzzySearch: (list: any) => (answers: any, input: any) => Promise; +export declare const getFuzzySearchNames: (nameValueItemList: any) => (answers: any, input: any) => Promise; +export declare const prompt: (questions?: any[], argv?: {}) => Promise; From 046bff8cedb0f643944a00ca9e2caf8648e1c8f8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 25 Aug 2022 02:08:38 -0700 Subject: [PATCH 032/262] chore(release): publish - create-cosmos-app@0.2.1 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 82ad43433..ca7fe0a3e 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.0...create-cosmos-app@0.2.1) (2022-08-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.1.0...create-cosmos-app@0.2.0) (2022-08-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 035cffe10..71976a233 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.2.0", + "version": "0.2.1", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -90,4 +90,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} \ No newline at end of file +} From 246775db8a9eecfccb66e081a59b1e5eee65bdc9 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:11:33 +0800 Subject: [PATCH 033/262] replace multi style --- templates/connect-chain/config/theme.ts | 87 ++---- .../components/address-card.tsx | 170 +++++------- .../components/choose-chain.tsx | 19 +- .../components/features.tsx | 94 +++++-- .../connect-multi-chain/components/index.tsx | 17 +- .../connect-multi-chain/components/types.tsx | 6 +- .../components/user-card.tsx | 57 ++-- .../components/wallet-connect.tsx | 54 ++-- .../components/warn-block.tsx | 93 +++++++ templates/connect-multi-chain/config/theme.ts | 87 ++---- templates/connect-multi-chain/pages/index.tsx | 253 ++++++++++-------- 11 files changed, 494 insertions(+), 443 deletions(-) create mode 100644 templates/connect-multi-chain/components/warn-block.tsx diff --git a/templates/connect-chain/config/theme.ts b/templates/connect-chain/config/theme.ts index b50e4954e..12bb0f21c 100644 --- a/templates/connect-chain/config/theme.ts +++ b/templates/connect-chain/config/theme.ts @@ -1,65 +1,34 @@ -import { extendTheme } from "@chakra-ui/react" +import { extendTheme } from "@chakra-ui/react"; export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif', - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9', - }, - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em', - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', - }, - styles: { - global: { - 'html, #__next': { - height: '100%', - }, - '#__next': { - display: 'flex', - flexDirection: 'column', - }, - '.body': { - // todo check how to do this without breaking the site - // height: '100%', // Push footer to bottom - overflowY: 'scroll', // Always show scrollbar to avoid flickering - }, - html: { - scrollBehavior: 'smooth', - }, - '#nprogress': { - pointerEvents: 'none', - }, - '#nprogress .bar': { - background: 'green.200', - position: 'fixed', - zIndex: '1031', - top: 0, - left: 0, - width: '100%', - height: '2px', - }, - }, + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/templates/connect-multi-chain/components/address-card.tsx b/templates/connect-multi-chain/components/address-card.tsx index f3bc92a33..a3da17c3e 100644 --- a/templates/connect-multi-chain/components/address-card.tsx +++ b/templates/connect-multi-chain/components/address-card.tsx @@ -1,108 +1,78 @@ -import React from "react"; +import React, { ReactNode } from "react"; import { - Box, - Text, - useColorModeValue, - Flex, - Button, - Icon, - Link, - useClipboard, - Skeleton, - Center, + Text, + useColorModeValue, + Button, + Icon, + useClipboard, } from "@chakra-ui/react"; import { FaRegCopy } from "react-icons/fa"; -import { IoWallet } from "react-icons/io5"; -import { FiExternalLink } from "react-icons/fi"; - +import { WalletStatus } from "./types"; export const ConnectedShowAddress = ({ - username, - showLink, - address, - isLoading, + address, + isLoading, }: { - username: string, - showLink: boolean, - address: string, - isLoading: boolean, + address?: string; + isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address); + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; - return ( -

- - - {isLoading ? ( - - ) : ( - - - - {username ? username : "user not identified yet"} - - - )} - {showLink && ( - - - - )} - - - -
- ); -}; \ No newline at end of file +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Loaded: + return <>{connected}; + default: + return <>; + } +}; diff --git a/templates/connect-multi-chain/components/choose-chain.tsx b/templates/connect-multi-chain/components/choose-chain.tsx index 5a418f9fb..7faec20ac 100644 --- a/templates/connect-multi-chain/components/choose-chain.tsx +++ b/templates/connect-multi-chain/components/choose-chain.tsx @@ -1,7 +1,10 @@ import { useState, useEffect } from "react"; import { ChangeChainDropdown } from "./chain-dropdown"; -import { ChooseChainInfo, ChainOption, handleSelectChainDropdown } from "./types"; -import { Box } from "@chakra-ui/react"; +import { + ChooseChainInfo, + ChainOption, + handleSelectChainDropdown, +} from "./types"; export function ChooseChain({ chainId, @@ -21,12 +24,10 @@ export function ChooseChain({ if (!chainId) setSelectedItem(undefined); }, [chainId]); return ( - - - + ); } diff --git a/templates/connect-multi-chain/components/features.tsx b/templates/connect-multi-chain/components/features.tsx index e83df5d27..19a4a1648 100644 --- a/templates/connect-multi-chain/components/features.tsx +++ b/templates/connect-multi-chain/components/features.tsx @@ -1,29 +1,79 @@ import { LinkIcon } from "@chakra-ui/icons"; -import { Box, Heading, HStack, Icon, Link, Text, VStack } from "@chakra-ui/react"; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue, +} from "@chakra-ui/react"; import { FeatureProps } from "./types"; export const Product = ({ title, text, href }: FeatureProps) => { - return ( - - - {title} → - {text} - - - ); + return ( + + + {title} → + {text} + + + ); }; export const Dependency = ({ title, text, href }: FeatureProps) => { - return ( - - - - - - {title} - {text} - - - ) -} \ No newline at end of file + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/templates/connect-multi-chain/components/index.tsx b/templates/connect-multi-chain/components/index.tsx index 4786bc333..509af1634 100644 --- a/templates/connect-multi-chain/components/index.tsx +++ b/templates/connect-multi-chain/components/index.tsx @@ -1,8 +1,9 @@ -export * from './types'; -export * from './wallet-connect'; -export * from './user-card'; -export * from './astronaut'; -export * from './choose-chain'; -export * from './chain-dropdown'; -export * from './address-card'; -export * from './features'; \ No newline at end of file +export * from "./types"; +export * from "./wallet-connect"; +export * from "./user-card"; +export * from "./astronaut"; +export * from "./choose-chain"; +export * from "./chain-dropdown"; +export * from "./address-card"; +export * from "./features"; +export * from "./warn-block"; diff --git a/templates/connect-multi-chain/components/types.tsx b/templates/connect-multi-chain/components/types.tsx index 6cb5ec7f5..3e0b9a215 100644 --- a/templates/connect-multi-chain/components/types.tsx +++ b/templates/connect-multi-chain/components/types.tsx @@ -15,7 +15,7 @@ export enum WalletStatus { Loading = "Loading", Loaded = "Loaded", NotExist = "NotExist", - Rejected = "Rejected" + Rejected = "Rejected", } export interface ConnectWalletType { @@ -27,7 +27,7 @@ export interface ConnectWalletType { } export interface ConnectedUserCardType { - userName: string; + username?: string; icon?: ReactNode; } @@ -68,4 +68,4 @@ export interface FeatureProps { title: string; text: string; href: string; -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/components/user-card.tsx b/templates/connect-multi-chain/components/user-card.tsx index eeb116782..554575d15 100644 --- a/templates/connect-multi-chain/components/user-card.tsx +++ b/templates/connect-multi-chain/components/user-card.tsx @@ -1,56 +1,31 @@ -import React, { ReactNode } from "react"; -import { WalletStatus } from "@keplr-wallet/stores"; -import { Text, useColorModeValue, Stack, Box } from "@chakra-ui/react"; +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; import { ConnectedUserCardType } from "./types"; -export const ConnectedUserCard = ({ - userName, +export const ConnectedUserInfo = ({ + username, icon, }: ConnectedUserCardType) => { return ( - + {icon} - - {userName} - + {username && ( + + {username} + + )} ); }; - - -export const ConnectedUserInfo = ({ - name, - icon, -}: { - name: string; - icon?: ReactNode; -}) => { - return ; -}; diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx index 4b3f74689..c47747485 100644 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/wallet-connect.tsx @@ -1,6 +1,6 @@ import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { FiAlertTriangle } from "react-icons/fi"; +import { Button, Icon, useColorModeValue } from "@chakra-ui/react"; + import { WalletStatus } from "./types"; import { IoWallet } from "react-icons/io5"; import { ConnectWalletType } from "./types"; @@ -14,11 +14,25 @@ export const ConnectWalletButton = ({ }: ConnectWalletType) => { return ( + + + + Cosmos App Made Easy + + + Welcome to  + + CosmosKit.js + Telescope + Next.js + + + +
+ + {chooseChain} + {connectWalletWarn} + - {chooseChain} - {connectWalletButton} + {userInfo} + {addressBtn} + + {connectWalletButton} + - { - (chainId && !address) - ? <> - : ( - - {(chainId && address) ? addressCard : userInfoCard} - - ) - } - - - {products.map(product => )} - - - - {dependencies.map((dependency) => )} - - - -
+ + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Powered by + - Powered by Cosmology - - - + @cosmology-tech + +
+ ); -} \ No newline at end of file +} From 376388adcd50f74eab127ae5fb4aa2e15e46a27b Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:13:56 +0800 Subject: [PATCH 034/262] remove unused import --- .../components/astronaut.tsx | 538 +++++++++--------- .../components/wallet-connect.tsx | 2 +- .../components/warn-block.tsx | 11 +- 3 files changed, 272 insertions(+), 279 deletions(-) diff --git a/templates/connect-multi-chain/components/astronaut.tsx b/templates/connect-multi-chain/components/astronaut.tsx index c32c3f878..382d8cc6e 100644 --- a/templates/connect-multi-chain/components/astronaut.tsx +++ b/templates/connect-multi-chain/components/astronaut.tsx @@ -1,304 +1,304 @@ export const Astronaut = (props: any) => ( - - {"cosmology-astronaut"} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + - - - - - - + + + + + + + + + + + - - - - + - - + d="M69 250.7c-.1 2.8 0 7.5-3.3 9.3-3.2 1.7-31 3.2-36.5-2.8-5.4-6-15.4-25.5-17.2-36.5-1.2-7.3-2-20.5 4-22.2q6-1.8 12.2 1.1-5.9-8.9-5.9-16.4c0-3.6 1.3-9.5 5.9-10.5q4.6-1 18.8 1.5-3-10.8 0-15c6-8.5 22.5-7.2 27-6 4.5 1.3 39.8 37 42 46.4 1.4 5.7-2.3 21.4-6.7 24q-2.8 1.7-12.7 2.9 6.3 12 0 16.2-6.4 4.3-27.6 0v8z" + /> + - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - + - + d="M46.4 219.6c.9 3 3.7 7.6 6.1 11.6q3.8 6.4 5.1 8.3-12.3-10.5-14.1-17-1.8-6.5 0-11.3.8.8 2.9 8.4z" + /> + - + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - -); \ No newline at end of file + + + +); diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx index c47747485..8f3ef2dc8 100644 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/wallet-connect.tsx @@ -1,5 +1,5 @@ import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, useColorModeValue } from "@chakra-ui/react"; +import { Button, Icon } from "@chakra-ui/react"; import { WalletStatus } from "./types"; import { IoWallet } from "react-icons/io5"; diff --git a/templates/connect-multi-chain/components/warn-block.tsx b/templates/connect-multi-chain/components/warn-block.tsx index 287b4a001..b794e9e24 100644 --- a/templates/connect-multi-chain/components/warn-block.tsx +++ b/templates/connect-multi-chain/components/warn-block.tsx @@ -1,12 +1,5 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { - Box, - Button, - Icon, - Stack, - Text, - useColorModeValue, -} from "@chakra-ui/react"; +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; import { WalletStatus } from "./types"; export const WarnBlock = ({ From 882c48da2a915637424edcba12f9d74e21c7b004 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 26 Aug 2022 17:54:14 -0700 Subject: [PATCH 035/262] cli --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- packages/create-cosmos-app/src/git-question-template.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 87816481b..22b759aec 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -13,7 +13,7 @@ export const createGitApp = (repo: string) => { const { name } = await prompt([ { name: 'name', - message: 'Enter your new module name', + message: 'Enter your new app name', required: true, } ], argv); diff --git a/packages/create-cosmos-app/src/git-question-template.ts b/packages/create-cosmos-app/src/git-question-template.ts index f5e141669..00dea0bd3 100644 --- a/packages/create-cosmos-app/src/git-question-template.ts +++ b/packages/create-cosmos-app/src/git-question-template.ts @@ -10,7 +10,7 @@ export const createQuestionTemplate = (repo: string) => { const { name } = await prompt([ { name: 'name', - message: 'Enter your new module name', + message: 'Enter your new app name', required: true, } ], argv); From 98019df05c87134c8d56b385312d1b822737719c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 26 Aug 2022 17:54:57 -0700 Subject: [PATCH 036/262] chore(release): publish - create-cosmos-app@0.2.2 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index ca7fe0a3e..cff7ce840 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.1...create-cosmos-app@0.2.2) (2022-08-27) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.0...create-cosmos-app@0.2.1) (2022-08-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 71976a233..21829e2ae 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.2.1", + "version": "0.2.2", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 7779c1a9b43cb4f28c43564760dbb1bdef4fc2b0 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:17:33 -0700 Subject: [PATCH 037/262] links --- .../config/features.ts | 91 ++++++++++--------- templates/connect-chain/config/features.ts | 13 ++- .../connect-multi-chain/config/features.ts | 13 ++- 3 files changed, 66 insertions(+), 51 deletions(-) diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/telescope-with-contracts/config/features.ts index c2dfe4761..6c8010076 100644 --- a/examples/telescope-with-contracts/config/features.ts +++ b/examples/telescope-with-contracts/config/features.ts @@ -1,47 +1,52 @@ -import { FeatureProps } from "../components"; +import { FeatureProps } from '../components'; export const products: FeatureProps[] = [ - { - title: 'CosmosKit', - text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit', - }, - { - title: 'Telescope', - text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope', - }, - { - title: 'TS Codegen', - text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen', - }, - { - title: 'Cosmology', - text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', - href: 'https://github.com/cosmology-tech/cosmology', - }, - { - title: 'Chain Registry', - text: 'The npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry', - }, - { - title: 'Videos', - text: 'Learn more from the official Cosmology website.', - href: 'https://cosmology.tech/', - } -] + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'The npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'Learn more from the official Cosmology website.', + href: 'https://cosmology.tech/learn' + } +]; export const dependencies: FeatureProps[] = [ - { - title: 'Chakra UI', - text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/docs/components/' - }, - { - title: 'Next.js', - text: 'A React Framework supports hybrid static & server rendering.', - href: 'https://nextjs.org/' - } -]; \ No newline at end of file + { + title: 'CosmJS', + text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', + href: 'https://cosmos.github.io/cosmjs/' + }, + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 6e6f8568f..6c8010076 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -17,9 +17,9 @@ export const products: FeatureProps[] = [ href: 'https://github.com/CosmWasm/ts-codegen' }, { - title: 'Cosmology', - text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', - href: 'https://github.com/cosmology-tech/cosmology' + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' }, { title: 'Chain Registry', @@ -29,11 +29,16 @@ export const products: FeatureProps[] = [ { title: 'Videos', text: 'Learn more from the official Cosmology website.', - href: 'https://cosmology.tech/' + href: 'https://cosmology.tech/learn' } ]; export const dependencies: FeatureProps[] = [ + { + title: 'CosmJS', + text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', + href: 'https://cosmos.github.io/cosmjs/' + }, { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 6e6f8568f..6c8010076 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -17,9 +17,9 @@ export const products: FeatureProps[] = [ href: 'https://github.com/CosmWasm/ts-codegen' }, { - title: 'Cosmology', - text: 'Build web3 applications in the Cosmos and Intechain Ecosystem.', - href: 'https://github.com/cosmology-tech/cosmology' + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' }, { title: 'Chain Registry', @@ -29,11 +29,16 @@ export const products: FeatureProps[] = [ { title: 'Videos', text: 'Learn more from the official Cosmology website.', - href: 'https://cosmology.tech/' + href: 'https://cosmology.tech/learn' } ]; export const dependencies: FeatureProps[] = [ + { + title: 'CosmJS', + text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', + href: 'https://cosmos.github.io/cosmjs/' + }, { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', From 95ad171b8192aa316280eaef35d80a4b27b40228 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:17:39 -0700 Subject: [PATCH 038/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4 - @cosmonauts/connect-chain@0.1.4 - @cosmonauts/connect-multi-chain@0.1.4 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index de3dea1f4..33cbb34d9 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.2...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3) (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index fa9c5c070..b8d9aa03e 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.3", + "version": "0.1.4", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index e7e1dfd87..f261cc0b2 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 107c123c3..2b77ac667 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.3", + "version": "0.1.4", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index c4d63b93c..011488f87 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.3...@cosmonauts/connect-multi-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.2...@cosmonauts/connect-multi-chain@0.1.3) (2022-08-25) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 37c30f796..f192f42ed 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.3", + "version": "0.1.4", "private": true, "scripts": { "dev": "next dev", From 2760645654f6d8848df07ecfd9d8272896767b89 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:26:01 -0700 Subject: [PATCH 039/262] layout --- examples/telescope-with-contracts/config/features.ts | 4 ++-- examples/telescope-with-contracts/pages/index.tsx | 4 ++-- templates/connect-chain/config/features.ts | 4 ++-- templates/connect-chain/pages/index.tsx | 4 ++-- templates/connect-multi-chain/config/features.ts | 4 ++-- templates/connect-multi-chain/pages/index.tsx | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/telescope-with-contracts/config/features.ts index 6c8010076..8fb4121c8 100644 --- a/examples/telescope-with-contracts/config/features.ts +++ b/examples/telescope-with-contracts/config/features.ts @@ -23,12 +23,12 @@ export const products: FeatureProps[] = [ }, { title: 'Chain Registry', - text: 'The npm package for the Official Cosmos chain registry.', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', href: 'https://github.com/cosmology-tech/chain-registry' }, { title: 'Videos', - text: 'Learn more from the official Cosmology website.', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', href: 'https://cosmology.tech/learn' } ]; diff --git a/examples/telescope-with-contracts/pages/index.tsx b/examples/telescope-with-contracts/pages/index.tsx index b2106e0ef..7e7582a1e 100644 --- a/examples/telescope-with-contracts/pages/index.tsx +++ b/examples/telescope-with-contracts/pages/index.tsx @@ -128,7 +128,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} @@ -141,7 +141,7 @@ export default function Home() { target="_blank" rel="noopener noreferrer" > - Powered by Cosmology + Built with Cosmology diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 6c8010076..8fb4121c8 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -23,12 +23,12 @@ export const products: FeatureProps[] = [ }, { title: 'Chain Registry', - text: 'The npm package for the Official Cosmos chain registry.', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', href: 'https://github.com/cosmology-tech/chain-registry' }, { title: 'Videos', - text: 'Learn more from the official Cosmology website.', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', href: 'https://cosmology.tech/learn' } ]; diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index b2106e0ef..7e7582a1e 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -128,7 +128,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} @@ -141,7 +141,7 @@ export default function Home() { target="_blank" rel="noopener noreferrer" > - Powered by Cosmology + Built with Cosmology diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 6c8010076..8fb4121c8 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -23,12 +23,12 @@ export const products: FeatureProps[] = [ }, { title: 'Chain Registry', - text: 'The npm package for the Official Cosmos chain registry.', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', href: 'https://github.com/cosmology-tech/chain-registry' }, { title: 'Videos', - text: 'Learn more from the official Cosmology website.', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', href: 'https://cosmology.tech/learn' } ]; diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 79335b368..b83e53ca3 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -177,7 +177,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} @@ -190,7 +190,7 @@ export default function Home() { target="_blank" rel="noopener noreferrer" > - Powered by Cosmology + Built with Cosmology From 75dcda0a627c575d86315428e4bd2790fe4932b5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:26:08 -0700 Subject: [PATCH 040/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5 - @cosmonauts/connect-chain@0.1.5 - @cosmonauts/connect-multi-chain@0.1.5 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 33cbb34d9..6abfda9da 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.3...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index b8d9aa03e..77762efa3 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.4", + "version": "0.1.5", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index f261cc0b2..57da39d9b 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 2b77ac667..9d626f63e 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.4", + "version": "0.1.5", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 011488f87..bae74aefe 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.4...@cosmonauts/connect-multi-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.3...@cosmonauts/connect-multi-chain@0.1.4) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index f192f42ed..34d006695 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.4", + "version": "0.1.5", "private": true, "scripts": { "dev": "next dev", From 0ca57fe02af1b5ade6cadf8c6c284aaa09794bb5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:31:04 -0700 Subject: [PATCH 041/262] simplify --- examples/telescope-with-contracts/config/features.ts | 5 ----- examples/telescope-with-contracts/pages/index.tsx | 2 +- templates/connect-chain/config/features.ts | 5 ----- templates/connect-chain/pages/index.tsx | 2 +- templates/connect-multi-chain/config/features.ts | 5 ----- templates/connect-multi-chain/pages/index.tsx | 2 +- 6 files changed, 3 insertions(+), 18 deletions(-) diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/telescope-with-contracts/config/features.ts index 8fb4121c8..f4e62ff4e 100644 --- a/examples/telescope-with-contracts/config/features.ts +++ b/examples/telescope-with-contracts/config/features.ts @@ -34,11 +34,6 @@ export const products: FeatureProps[] = [ ]; export const dependencies: FeatureProps[] = [ - { - title: 'CosmJS', - text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', - href: 'https://cosmos.github.io/cosmjs/' - }, { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', diff --git a/examples/telescope-with-contracts/pages/index.tsx b/examples/telescope-with-contracts/pages/index.tsx index 7e7582a1e..e5a09f1a1 100644 --- a/examples/telescope-with-contracts/pages/index.tsx +++ b/examples/telescope-with-contracts/pages/index.tsx @@ -128,7 +128,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} diff --git a/templates/connect-chain/config/features.ts b/templates/connect-chain/config/features.ts index 8fb4121c8..f4e62ff4e 100644 --- a/templates/connect-chain/config/features.ts +++ b/templates/connect-chain/config/features.ts @@ -34,11 +34,6 @@ export const products: FeatureProps[] = [ ]; export const dependencies: FeatureProps[] = [ - { - title: 'CosmJS', - text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', - href: 'https://cosmos.github.io/cosmjs/' - }, { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 7e7582a1e..e5a09f1a1 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -128,7 +128,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} diff --git a/templates/connect-multi-chain/config/features.ts b/templates/connect-multi-chain/config/features.ts index 8fb4121c8..f4e62ff4e 100644 --- a/templates/connect-multi-chain/config/features.ts +++ b/templates/connect-multi-chain/config/features.ts @@ -34,11 +34,6 @@ export const products: FeatureProps[] = [ ]; export const dependencies: FeatureProps[] = [ - { - title: 'CosmJS', - text: 'The Swiss Army knife Cosmos library for building JavaScript apps.', - href: 'https://cosmos.github.io/cosmjs/' - }, { title: 'Chakra UI', text: 'A simple, modular and accessible React Component Library.', diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index b83e53ca3..c6900fe37 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -177,7 +177,7 @@ export default function Home() { ))} - + {dependencies.map((dependency, i) => ( ))} From 1951c16083a76e46e52373d30bb340b31e862483 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 13:31:11 -0700 Subject: [PATCH 042/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6 - @cosmonauts/connect-chain@0.1.6 - @cosmonauts/connect-multi-chain@0.1.6 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 6abfda9da..b675027f1 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.4...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 77762efa3..fa1c7b247 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.5", + "version": "0.1.6", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 57da39d9b..1ceb064f7 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 9d626f63e..13274bac7 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.5", + "version": "0.1.6", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index bae74aefe..6f5cb2837 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.5...@cosmonauts/connect-multi-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.4...@cosmonauts/connect-multi-chain@0.1.5) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 34d006695..363f6126a 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.5", + "version": "0.1.6", "private": true, "scripts": { "dev": "next dev", From deb7d4a5a9ddee338e0f82678691a6c3210e0e0d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 20:16:47 -0700 Subject: [PATCH 043/262] defaults --- examples/telescope-with-contracts/pages/_app.tsx | 2 +- templates/connect-chain/pages/_app.tsx | 2 +- templates/connect-multi-chain/pages/_app.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/pages/_app.tsx b/examples/telescope-with-contracts/pages/_app.tsx index 07169c83b..6d7458251 100644 --- a/examples/telescope-with-contracts/pages/_app.tsx +++ b/examples/telescope-with-contracts/pages/_app.tsx @@ -20,7 +20,7 @@ function MyApp({ Component, pageProps }: AppProps) { }} renderLoader={() =>

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Juno1} + defaultChainId={ChainInfoID.Cosmoshub4} getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index 07169c83b..6d7458251 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -20,7 +20,7 @@ function MyApp({ Component, pageProps }: AppProps) { }} renderLoader={() =>

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Juno1} + defaultChainId={ChainInfoID.Cosmoshub4} getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index 07169c83b..6d7458251 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -20,7 +20,7 @@ function MyApp({ Component, pageProps }: AppProps) { }} renderLoader={() =>

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Juno1} + defaultChainId={ChainInfoID.Cosmoshub4} getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom From 3072cdfad8ee8dd3e9cca879214735aeaba71087 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 27 Aug 2022 20:19:45 -0700 Subject: [PATCH 044/262] lint --- .../components/address-card.tsx | 203 ++++--- .../components/astronaut.tsx | 538 +++++++++--------- .../components/chain-dropdown.tsx | 114 ++-- .../components/choose-chain.tsx | 14 +- .../components/features.tsx | 64 ++- .../connect-multi-chain/components/index.tsx | 2 +- .../connect-multi-chain/components/types.tsx | 16 +- .../components/user-card.tsx | 23 +- .../components/wallet-connect.tsx | 24 +- 9 files changed, 508 insertions(+), 490 deletions(-) diff --git a/templates/connect-multi-chain/components/address-card.tsx b/templates/connect-multi-chain/components/address-card.tsx index f3bc92a33..52aa379e2 100644 --- a/templates/connect-multi-chain/components/address-card.tsx +++ b/templates/connect-multi-chain/components/address-card.tsx @@ -1,108 +1,107 @@ -import React from "react"; +import React from 'react'; import { - Box, - Text, - useColorModeValue, - Flex, - Button, - Icon, - Link, - useClipboard, - Skeleton, - Center, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { IoWallet } from "react-icons/io5"; -import { FiExternalLink } from "react-icons/fi"; - + Box, + Text, + useColorModeValue, + Flex, + Button, + Icon, + Link, + useClipboard, + Skeleton, + Center +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { IoWallet } from 'react-icons/io5'; +import { FiExternalLink } from 'react-icons/fi'; export const ConnectedShowAddress = ({ - username, - showLink, - address, - isLoading, + username, + showLink, + address, + isLoading }: { - username: string, - showLink: boolean, - address: string, - isLoading: boolean, + username: string; + showLink: boolean; + address: string; + isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address); + const { hasCopied, onCopy } = useClipboard(address); - return ( -
- - - {isLoading ? ( - - ) : ( - - - - {username ? username : "user not identified yet"} - - - )} - {showLink && ( - - - - )} - - - -
- ); -}; \ No newline at end of file + return ( +
+ + + {isLoading ? ( + + ) : ( + + + + {username ? username : 'user not identified yet'} + + + )} + {showLink && ( + + + + )} + + + +
+ ); +}; diff --git a/templates/connect-multi-chain/components/astronaut.tsx b/templates/connect-multi-chain/components/astronaut.tsx index c32c3f878..572884aa7 100644 --- a/templates/connect-multi-chain/components/astronaut.tsx +++ b/templates/connect-multi-chain/components/astronaut.tsx @@ -1,304 +1,304 @@ export const Astronaut = (props: any) => ( - - {"cosmology-astronaut"} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + - - - - - - + + + + + + + + + + + - - - - + - - + d="M69 250.7c-.1 2.8 0 7.5-3.3 9.3-3.2 1.7-31 3.2-36.5-2.8-5.4-6-15.4-25.5-17.2-36.5-1.2-7.3-2-20.5 4-22.2q6-1.8 12.2 1.1-5.9-8.9-5.9-16.4c0-3.6 1.3-9.5 5.9-10.5q4.6-1 18.8 1.5-3-10.8 0-15c6-8.5 22.5-7.2 27-6 4.5 1.3 39.8 37 42 46.4 1.4 5.7-2.3 21.4-6.7 24q-2.8 1.7-12.7 2.9 6.3 12 0 16.2-6.4 4.3-27.6 0v8z" + /> + - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - + - + d="M46.4 219.6c.9 3 3.7 7.6 6.1 11.6q3.8 6.4 5.1 8.3-12.3-10.5-14.1-17-1.8-6.5 0-11.3.8.8 2.9 8.4z" + /> + - + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - -); \ No newline at end of file + + + +); diff --git a/templates/connect-multi-chain/components/chain-dropdown.tsx b/templates/connect-multi-chain/components/chain-dropdown.tsx index ddc813106..d9bcf5e72 100644 --- a/templates/connect-multi-chain/components/chain-dropdown.tsx +++ b/templates/connect-multi-chain/components/chain-dropdown.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React from 'react'; import { Box, Text, @@ -9,23 +9,23 @@ import { useBreakpointValue, SystemStyleObject, SkeletonCircle, - Skeleton, -} from "@chakra-ui/react"; -import { Searcher } from "fast-fuzzy"; -import { FiChevronDown } from "react-icons/fi"; + Skeleton +} from '@chakra-ui/react'; +import { Searcher } from 'fast-fuzzy'; +import { FiChevronDown } from 'react-icons/fi'; import { AsyncSelect, OptionProps, chakraComponents, GroupBase, DropdownIndicatorProps, - PlaceholderProps, -} from "chakra-react-select"; + PlaceholderProps +} from 'chakra-react-select'; import { ChainOption, ChangeChainDropdownType, - ChangeChainMenuType, -} from "./types"; + ChangeChainMenuType +} from './types'; const SkeletonOptions = () => { return ( @@ -41,52 +41,52 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const customStyles = { control: (provided: SystemStyleObject) => ({ ...provided, - height: 12, + height: 12 }), menu: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, mt: 4, mb: 0, - bg: useColorModeValue("white", "gray.900"), - boxShadow: useColorModeValue("0 1px 5px #e3e3e3", "0 0px 4px #4b4b4b"), - borderRadius: "0.3rem", + bg: useColorModeValue('white', 'gray.900'), + boxShadow: useColorModeValue('0 1px 5px #e3e3e3', '0 0px 4px #4b4b4b'), + borderRadius: '0.3rem' }), menuList: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, - bg: "transparent", - border: "none", - borderRadius: "none", + bg: 'transparent', + border: 'none', + borderRadius: 'none', p: 2, // For Firefox - scrollbarWidth: "auto", + scrollbarWidth: 'auto', scrollbarColor: useColorModeValue( - "rgba(0,0,0,0.3) rgba(0,0,0,0.2)", - "rgba(255,255,255,0.2) rgba(255,255,255,0.1)" + 'rgba(0,0,0,0.3) rgba(0,0,0,0.2)', + 'rgba(255,255,255,0.2) rgba(255,255,255,0.1)' ), // For Chrome and other browsers except Firefox - "&::-webkit-scrollbar": { - width: "14px", + '&::-webkit-scrollbar': { + width: '14px', background: useColorModeValue( - "rgba(220,220,220,0.1)", - "rgba(60,60,60,0.1)" + 'rgba(220,220,220,0.1)', + 'rgba(60,60,60,0.1)' ), - borderRadius: "3px", + borderRadius: '3px' }, - "&::-webkit-scrollbar-thumb": { + '&::-webkit-scrollbar-thumb': { background: useColorModeValue( - "rgba(0,0,0,0.1)", - "rgba(255,255,255,0.1)" + 'rgba(0,0,0,0.1)', + 'rgba(255,255,255,0.1)' ), - borderRadius: "10px", - border: "3px solid transparent", - backgroundClip: "content-box", - }, + borderRadius: '10px', + border: '3px solid transparent', + backgroundClip: 'content-box' + } }), dropdownIndicator: (provided: SystemStyleObject) => ({ ...provided, - bg: "transparent", + bg: 'transparent' }), option: ( provided: SystemStyleObject, @@ -94,34 +94,34 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { ) => { return { ...provided, - borderRadius: "lg", + borderRadius: 'lg', h: 14, - color: "inherit", + color: 'inherit', bg: useColorModeValue( state.isSelected ? state.isFocused - ? "primary.200" - : "primary.100" + ? 'primary.200' + : 'primary.100' : state.isFocused - ? "blackAlpha.200" - : "transparent", + ? 'blackAlpha.200' + : 'transparent', state.isSelected ? state.isFocused - ? "primary.600" - : "primary.500" + ? 'primary.600' + : 'primary.500' : state.isFocused - ? "whiteAlpha.200" - : "transparent" + ? 'whiteAlpha.200' + : 'transparent' ), _notFirst: { - mt: 2, + mt: 2 }, _active: { - bg: "primary.50", + bg: 'primary.50' }, - _disabled: { bg: "transparent", _hover: { bg: "transparent" } }, + _disabled: { bg: 'transparent', _hover: { bg: 'transparent' } } }; - }, + } }; const IndicatorSeparator = () => { return null; @@ -135,7 +135,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { as={FiChevronDown} w={6} h={6} - color={useColorModeValue("blackAlpha.600", "whiteAlpha.600")} + color={useColorModeValue('blackAlpha.600', 'whiteAlpha.600')} /> ); @@ -151,7 +151,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} + color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} w="full" > { h="full" border="1px solid" borderColor={useColorModeValue( - "blackAlpha.200", - "whiteAlpha.200" + 'blackAlpha.200', + 'whiteAlpha.200' )} borderRadius="full" overflow="hidden" > @@ -196,7 +196,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} + color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} w="full" > { w="full" h="full" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.200")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.200')} borderRadius="full" overflow="hidden" > @@ -240,7 +240,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { defaultOptions={data} loadOptions={(inputValue, callback) => { const searcher = new Searcher(data, { - keySelector: (obj) => obj.label, + keySelector: (obj) => obj.label }); callback(searcher.search(inputValue)); }} @@ -249,7 +249,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { DropdownIndicator, IndicatorSeparator, Placeholder, - Option: CustomOption, + Option: CustomOption }} /> ); @@ -258,7 +258,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { export const ChangeChainDropdown = ({ data, selectedItem, - onChange, + onChange }: ChangeChainDropdownType) => { return ( diff --git a/templates/connect-multi-chain/components/choose-chain.tsx b/templates/connect-multi-chain/components/choose-chain.tsx index 5a418f9fb..3893ed897 100644 --- a/templates/connect-multi-chain/components/choose-chain.tsx +++ b/templates/connect-multi-chain/components/choose-chain.tsx @@ -1,12 +1,16 @@ -import { useState, useEffect } from "react"; -import { ChangeChainDropdown } from "./chain-dropdown"; -import { ChooseChainInfo, ChainOption, handleSelectChainDropdown } from "./types"; -import { Box } from "@chakra-ui/react"; +import { useState, useEffect } from 'react'; +import { ChangeChainDropdown } from './chain-dropdown'; +import { + ChooseChainInfo, + ChainOption, + handleSelectChainDropdown +} from './types'; +import { Box } from '@chakra-ui/react'; export function ChooseChain({ chainId, chainInfos, - onChange, + onChange }: { chainId?: string; chainInfos: ChooseChainInfo[]; diff --git a/templates/connect-multi-chain/components/features.tsx b/templates/connect-multi-chain/components/features.tsx index e83df5d27..37852ca15 100644 --- a/templates/connect-multi-chain/components/features.tsx +++ b/templates/connect-multi-chain/components/features.tsx @@ -1,29 +1,45 @@ -import { LinkIcon } from "@chakra-ui/icons"; -import { Box, Heading, HStack, Icon, Link, Text, VStack } from "@chakra-ui/react"; -import { FeatureProps } from "./types"; +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + HStack, + Icon, + Link, + Text, + VStack +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { - return ( - - - {title} → - {text} - - - ); + return ( + + + {title} → + {text} + + + ); }; export const Dependency = ({ title, text, href }: FeatureProps) => { - return ( - - - - - - {title} - {text} - - - ) -} \ No newline at end of file + return ( + + + + + + + + {title} + + + {text} + + + ); +}; diff --git a/templates/connect-multi-chain/components/index.tsx b/templates/connect-multi-chain/components/index.tsx index 4786bc333..6aa637f68 100644 --- a/templates/connect-multi-chain/components/index.tsx +++ b/templates/connect-multi-chain/components/index.tsx @@ -5,4 +5,4 @@ export * from './astronaut'; export * from './choose-chain'; export * from './chain-dropdown'; export * from './address-card'; -export * from './features'; \ No newline at end of file +export * from './features'; diff --git a/templates/connect-multi-chain/components/types.tsx b/templates/connect-multi-chain/components/types.tsx index 6cb5ec7f5..bc88665a3 100644 --- a/templates/connect-multi-chain/components/types.tsx +++ b/templates/connect-multi-chain/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode, RefObject } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode, RefObject } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainId: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected" + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { @@ -68,4 +68,4 @@ export interface FeatureProps { title: string; text: string; href: string; -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/components/user-card.tsx b/templates/connect-multi-chain/components/user-card.tsx index eeb116782..b91a57a1c 100644 --- a/templates/connect-multi-chain/components/user-card.tsx +++ b/templates/connect-multi-chain/components/user-card.tsx @@ -1,11 +1,11 @@ -import React, { ReactNode } from "react"; -import { WalletStatus } from "@keplr-wallet/stores"; -import { Text, useColorModeValue, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "./types"; +import React, { ReactNode } from 'react'; +import { WalletStatus } from '@keplr-wallet/stores'; +import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from './types'; export const ConnectedUserCard = ({ userName, - icon, + icon }: ConnectedUserCardType) => { return ( {icon} - + {userName} ); }; - export const ConnectedUserInfo = ({ name, - icon, + icon }: { name: string; icon?: ReactNode; diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx index 4b3f74689..40cc07812 100644 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -41,7 +41,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -57,7 +57,7 @@ export const Connecting = () => { export const Rejected = ({ buttonText, - wordOfWarning, + wordOfWarning }: { buttonText: string; wordOfWarning?: string; @@ -97,7 +97,7 @@ export const WalletConnectComponent = ({ connecting, connected, rejected, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; From 4cbd16d031d15f902e62b736fbabdfe3fccc96f6 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Mon, 29 Aug 2022 11:34:06 +0800 Subject: [PATCH 045/262] connect-chain add address card --- .../connect-chain/components/address-card.tsx | 78 +++ .../connect-chain/components/astronaut.tsx | 538 +++++++++--------- .../components/chain-dropdown.tsx | 268 +++++++++ .../connect-chain/components/choose-chain.tsx | 33 ++ .../connect-chain/components/features.tsx | 4 +- templates/connect-chain/components/index.tsx | 14 +- templates/connect-chain/components/types.tsx | 41 +- .../connect-chain/components/user-card.tsx | 31 + .../connect-chain/components/user-info.tsx | 46 -- .../components/wallet-connect.tsx | 61 +- .../connect-chain/components/warn-block.tsx | 86 +++ templates/connect-chain/config/chain-infos.ts | 15 + templates/connect-chain/config/index.ts | 3 +- templates/connect-chain/package.json | 3 + templates/connect-chain/pages/index.tsx | 186 +++--- templates/connect-multi-chain/README copy.md | 34 -- 16 files changed, 969 insertions(+), 472 deletions(-) create mode 100644 templates/connect-chain/components/address-card.tsx create mode 100644 templates/connect-chain/components/chain-dropdown.tsx create mode 100644 templates/connect-chain/components/choose-chain.tsx create mode 100644 templates/connect-chain/components/user-card.tsx delete mode 100644 templates/connect-chain/components/user-info.tsx create mode 100644 templates/connect-chain/components/warn-block.tsx create mode 100644 templates/connect-chain/config/chain-infos.ts delete mode 100644 templates/connect-multi-chain/README copy.md diff --git a/templates/connect-chain/components/address-card.tsx b/templates/connect-chain/components/address-card.tsx new file mode 100644 index 000000000..a3da17c3e --- /dev/null +++ b/templates/connect-chain/components/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "./types"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Loaded: + return <>{connected}; + default: + return <>; + } +}; diff --git a/templates/connect-chain/components/astronaut.tsx b/templates/connect-chain/components/astronaut.tsx index c32c3f878..382d8cc6e 100644 --- a/templates/connect-chain/components/astronaut.tsx +++ b/templates/connect-chain/components/astronaut.tsx @@ -1,304 +1,304 @@ export const Astronaut = (props: any) => ( - - {"cosmology-astronaut"} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + - - - - - - + + + + + + + + + + + - - - - + - - + d="M69 250.7c-.1 2.8 0 7.5-3.3 9.3-3.2 1.7-31 3.2-36.5-2.8-5.4-6-15.4-25.5-17.2-36.5-1.2-7.3-2-20.5 4-22.2q6-1.8 12.2 1.1-5.9-8.9-5.9-16.4c0-3.6 1.3-9.5 5.9-10.5q4.6-1 18.8 1.5-3-10.8 0-15c6-8.5 22.5-7.2 27-6 4.5 1.3 39.8 37 42 46.4 1.4 5.7-2.3 21.4-6.7 24q-2.8 1.7-12.7 2.9 6.3 12 0 16.2-6.4 4.3-27.6 0v8z" + /> + - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - + - + d="M46.4 219.6c.9 3 3.7 7.6 6.1 11.6q3.8 6.4 5.1 8.3-12.3-10.5-14.1-17-1.8-6.5 0-11.3.8.8 2.9 8.4z" + /> + - + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - -); \ No newline at end of file + + + +); diff --git a/templates/connect-chain/components/chain-dropdown.tsx b/templates/connect-chain/components/chain-dropdown.tsx new file mode 100644 index 000000000..ddc813106 --- /dev/null +++ b/templates/connect-chain/components/chain-dropdown.tsx @@ -0,0 +1,268 @@ +import React from "react"; +import { + Box, + Text, + Stack, + useColorModeValue, + Image, + Icon, + useBreakpointValue, + SystemStyleObject, + SkeletonCircle, + Skeleton, +} from "@chakra-ui/react"; +import { Searcher } from "fast-fuzzy"; +import { FiChevronDown } from "react-icons/fi"; +import { + AsyncSelect, + OptionProps, + chakraComponents, + GroupBase, + DropdownIndicatorProps, + PlaceholderProps, +} from "chakra-react-select"; +import { + ChainOption, + ChangeChainDropdownType, + ChangeChainMenuType, +} from "./types"; + +const SkeletonOptions = () => { + return ( + + + + + ); +}; + +const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { + const menuHeight = useBreakpointValue({ base: 60, md: 56 }); + const customStyles = { + control: (provided: SystemStyleObject) => ({ + ...provided, + height: 12, + }), + menu: (provided: SystemStyleObject) => ({ + ...provided, + h: menuHeight, + mt: 4, + mb: 0, + bg: useColorModeValue("white", "gray.900"), + boxShadow: useColorModeValue("0 1px 5px #e3e3e3", "0 0px 4px #4b4b4b"), + borderRadius: "0.3rem", + }), + menuList: (provided: SystemStyleObject) => ({ + ...provided, + h: menuHeight, + bg: "transparent", + border: "none", + borderRadius: "none", + p: 2, + // For Firefox + scrollbarWidth: "auto", + scrollbarColor: useColorModeValue( + "rgba(0,0,0,0.3) rgba(0,0,0,0.2)", + "rgba(255,255,255,0.2) rgba(255,255,255,0.1)" + ), + // For Chrome and other browsers except Firefox + "&::-webkit-scrollbar": { + width: "14px", + background: useColorModeValue( + "rgba(220,220,220,0.1)", + "rgba(60,60,60,0.1)" + ), + borderRadius: "3px", + }, + "&::-webkit-scrollbar-thumb": { + background: useColorModeValue( + "rgba(0,0,0,0.1)", + "rgba(255,255,255,0.1)" + ), + borderRadius: "10px", + border: "3px solid transparent", + backgroundClip: "content-box", + }, + }), + dropdownIndicator: (provided: SystemStyleObject) => ({ + ...provided, + bg: "transparent", + }), + option: ( + provided: SystemStyleObject, + state: { isSelected: boolean; isFocused: boolean } + ) => { + return { + ...provided, + borderRadius: "lg", + h: 14, + color: "inherit", + bg: useColorModeValue( + state.isSelected + ? state.isFocused + ? "primary.200" + : "primary.100" + : state.isFocused + ? "blackAlpha.200" + : "transparent", + state.isSelected + ? state.isFocused + ? "primary.600" + : "primary.500" + : state.isFocused + ? "whiteAlpha.200" + : "transparent" + ), + _notFirst: { + mt: 2, + }, + _active: { + bg: "primary.50", + }, + _disabled: { bg: "transparent", _hover: { bg: "transparent" } }, + }; + }, + }; + const IndicatorSeparator = () => { + return null; + }; + const DropdownIndicator = ({ + ...props + }: DropdownIndicatorProps>) => { + return ( + + + + ); + }; + const Placeholder = (props: PlaceholderProps) => { + if (props.hasValue) { + return ( + + + + + + + {props.getValue()[0].label} + + + + ); + } + return ; + }; + const CustomOption = ({ + children, + ...props + }: OptionProps>) => { + return ( + + + + + + + {children} + + + + ); + }; + + return ( + option.isDisabled || false} + blurInputOnSelect={true} + controlShouldRenderValue={false} + loadingMessage={() => } + value={value ? value : null} + defaultOptions={data} + loadOptions={(inputValue, callback) => { + const searcher = new Searcher(data, { + keySelector: (obj) => obj.label, + }); + callback(searcher.search(inputValue)); + }} + onChange={onChange} + components={{ + DropdownIndicator, + IndicatorSeparator, + Placeholder, + Option: CustomOption, + }} + /> + ); +}; + +export const ChangeChainDropdown = ({ + data, + selectedItem, + onChange, +}: ChangeChainDropdownType) => { + return ( + + + + ); +}; diff --git a/templates/connect-chain/components/choose-chain.tsx b/templates/connect-chain/components/choose-chain.tsx new file mode 100644 index 000000000..7faec20ac --- /dev/null +++ b/templates/connect-chain/components/choose-chain.tsx @@ -0,0 +1,33 @@ +import { useState, useEffect } from "react"; +import { ChangeChainDropdown } from "./chain-dropdown"; +import { + ChooseChainInfo, + ChainOption, + handleSelectChainDropdown, +} from "./types"; + +export function ChooseChain({ + chainId, + chainInfos, + onChange, +}: { + chainId?: string; + chainInfos: ChooseChainInfo[]; + onChange: handleSelectChainDropdown; +}) { + const [selectedItem, setSelectedItem] = useState(); + useEffect(() => { + if (chainId && chainInfos.length > 0) + setSelectedItem( + chainInfos.filter((options) => options.chainId === chainId)[0] + ); + if (!chainId) setSelectedItem(undefined); + }, [chainId]); + return ( + + ); +} diff --git a/templates/connect-chain/components/features.tsx b/templates/connect-chain/components/features.tsx index 26ee6623c..19a4a1648 100644 --- a/templates/connect-chain/components/features.tsx +++ b/templates/connect-chain/components/features.tsx @@ -1,3 +1,4 @@ +import { LinkIcon } from "@chakra-ui/icons"; import { Box, Heading, @@ -7,7 +8,6 @@ import { Text, useColorModeValue, } from "@chakra-ui/react"; -import { LinkIcon } from "@chakra-ui/icons"; import { FeatureProps } from "./types"; export const Product = ({ title, text, href }: FeatureProps) => { @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + void; + +export interface ChangeChainDropdownType { + data: ChainOption[]; + selectedItem?: ChainOption; + onChange: handleSelectChainDropdown; + chainDropdownLoading?: boolean; +} + +export interface ChangeChainMenuType { + data: ChainOption[]; + value?: ChainOption; + onClose?: () => void; + onChange: handleSelectChainDropdown; + innerRef?: RefObject; +} + export interface FeatureProps { title: string; text: string; href: string; -} \ No newline at end of file +} diff --git a/templates/connect-chain/components/user-card.tsx b/templates/connect-chain/components/user-card.tsx new file mode 100644 index 000000000..554575d15 --- /dev/null +++ b/templates/connect-chain/components/user-card.tsx @@ -0,0 +1,31 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "./types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + + {icon} + + {username && ( + + {username} + + )} + + ); +}; diff --git a/templates/connect-chain/components/user-info.tsx b/templates/connect-chain/components/user-info.tsx deleted file mode 100644 index cffc085df..000000000 --- a/templates/connect-chain/components/user-info.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import React, { ReactNode } from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "./types"; - -export const ConnectedUserCard = ({ - userName, - icon, -}: ConnectedUserCardType) => { - return ( - - - {icon} - - - {userName} - - - ); -}; - -export const ConnectedUserInfo = ({ - name, - icon, -}: { - name: string; - icon?: ReactNode; -}) => { - return ; -}; diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index d7b1ce54f..8f3ef2dc8 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -1,13 +1,6 @@ import React, { MouseEventHandler, ReactNode } from "react"; -import { - Box, - Button, - Icon, - Stack, - Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FiAlertTriangle } from "react-icons/fi"; +import { Button, Icon } from "@chakra-ui/react"; + import { WalletStatus } from "./types"; import { IoWallet } from "react-icons/io5"; import { ConnectWalletType } from "./types"; @@ -21,11 +14,25 @@ export const ConnectWalletButton = ({ }: ConnectWalletType) => { return ( - - + - - - Cosmos App Made Easy - - - Welcome to  - - CosmosKit.js + Telescope + Next.js - - - - {connectWalletComponent} - + Cosmos App Made Easy + + + Welcome to  + + CosmosKit.js + Telescope + Next.js + + + +
- {products.map((product) => ( - - ))} - - - {dependencies.map((dependency) => ( - - ))} + {connectWalletWarn} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + + - +
+ + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + diff --git a/templates/connect-multi-chain/README copy.md b/templates/connect-multi-chain/README copy.md deleted file mode 100644 index c87e0421d..000000000 --- a/templates/connect-multi-chain/README copy.md +++ /dev/null @@ -1,34 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. From 02fd5474d3d4e964ba3fddb6ffa93982e80884b5 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Mon, 29 Aug 2022 12:47:32 +0800 Subject: [PATCH 046/262] delete extra codes --- .../components/chain-dropdown.tsx | 268 ------------------ .../connect-chain/components/choose-chain.tsx | 33 --- templates/connect-chain/components/index.tsx | 2 - templates/connect-chain/config/chain-infos.ts | 15 - templates/connect-chain/config/index.ts | 3 +- templates/connect-chain/pages/index.tsx | 3 +- 6 files changed, 2 insertions(+), 322 deletions(-) delete mode 100644 templates/connect-chain/components/chain-dropdown.tsx delete mode 100644 templates/connect-chain/components/choose-chain.tsx delete mode 100644 templates/connect-chain/config/chain-infos.ts diff --git a/templates/connect-chain/components/chain-dropdown.tsx b/templates/connect-chain/components/chain-dropdown.tsx deleted file mode 100644 index ddc813106..000000000 --- a/templates/connect-chain/components/chain-dropdown.tsx +++ /dev/null @@ -1,268 +0,0 @@ -import React from "react"; -import { - Box, - Text, - Stack, - useColorModeValue, - Image, - Icon, - useBreakpointValue, - SystemStyleObject, - SkeletonCircle, - Skeleton, -} from "@chakra-ui/react"; -import { Searcher } from "fast-fuzzy"; -import { FiChevronDown } from "react-icons/fi"; -import { - AsyncSelect, - OptionProps, - chakraComponents, - GroupBase, - DropdownIndicatorProps, - PlaceholderProps, -} from "chakra-react-select"; -import { - ChainOption, - ChangeChainDropdownType, - ChangeChainMenuType, -} from "./types"; - -const SkeletonOptions = () => { - return ( - - - - - ); -}; - -const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { - const menuHeight = useBreakpointValue({ base: 60, md: 56 }); - const customStyles = { - control: (provided: SystemStyleObject) => ({ - ...provided, - height: 12, - }), - menu: (provided: SystemStyleObject) => ({ - ...provided, - h: menuHeight, - mt: 4, - mb: 0, - bg: useColorModeValue("white", "gray.900"), - boxShadow: useColorModeValue("0 1px 5px #e3e3e3", "0 0px 4px #4b4b4b"), - borderRadius: "0.3rem", - }), - menuList: (provided: SystemStyleObject) => ({ - ...provided, - h: menuHeight, - bg: "transparent", - border: "none", - borderRadius: "none", - p: 2, - // For Firefox - scrollbarWidth: "auto", - scrollbarColor: useColorModeValue( - "rgba(0,0,0,0.3) rgba(0,0,0,0.2)", - "rgba(255,255,255,0.2) rgba(255,255,255,0.1)" - ), - // For Chrome and other browsers except Firefox - "&::-webkit-scrollbar": { - width: "14px", - background: useColorModeValue( - "rgba(220,220,220,0.1)", - "rgba(60,60,60,0.1)" - ), - borderRadius: "3px", - }, - "&::-webkit-scrollbar-thumb": { - background: useColorModeValue( - "rgba(0,0,0,0.1)", - "rgba(255,255,255,0.1)" - ), - borderRadius: "10px", - border: "3px solid transparent", - backgroundClip: "content-box", - }, - }), - dropdownIndicator: (provided: SystemStyleObject) => ({ - ...provided, - bg: "transparent", - }), - option: ( - provided: SystemStyleObject, - state: { isSelected: boolean; isFocused: boolean } - ) => { - return { - ...provided, - borderRadius: "lg", - h: 14, - color: "inherit", - bg: useColorModeValue( - state.isSelected - ? state.isFocused - ? "primary.200" - : "primary.100" - : state.isFocused - ? "blackAlpha.200" - : "transparent", - state.isSelected - ? state.isFocused - ? "primary.600" - : "primary.500" - : state.isFocused - ? "whiteAlpha.200" - : "transparent" - ), - _notFirst: { - mt: 2, - }, - _active: { - bg: "primary.50", - }, - _disabled: { bg: "transparent", _hover: { bg: "transparent" } }, - }; - }, - }; - const IndicatorSeparator = () => { - return null; - }; - const DropdownIndicator = ({ - ...props - }: DropdownIndicatorProps>) => { - return ( - - - - ); - }; - const Placeholder = (props: PlaceholderProps) => { - if (props.hasValue) { - return ( - - - - - - - {props.getValue()[0].label} - - - - ); - } - return ; - }; - const CustomOption = ({ - children, - ...props - }: OptionProps>) => { - return ( - - - - - - - {children} - - - - ); - }; - - return ( - option.isDisabled || false} - blurInputOnSelect={true} - controlShouldRenderValue={false} - loadingMessage={() => } - value={value ? value : null} - defaultOptions={data} - loadOptions={(inputValue, callback) => { - const searcher = new Searcher(data, { - keySelector: (obj) => obj.label, - }); - callback(searcher.search(inputValue)); - }} - onChange={onChange} - components={{ - DropdownIndicator, - IndicatorSeparator, - Placeholder, - Option: CustomOption, - }} - /> - ); -}; - -export const ChangeChainDropdown = ({ - data, - selectedItem, - onChange, -}: ChangeChainDropdownType) => { - return ( - - - - ); -}; diff --git a/templates/connect-chain/components/choose-chain.tsx b/templates/connect-chain/components/choose-chain.tsx deleted file mode 100644 index 7faec20ac..000000000 --- a/templates/connect-chain/components/choose-chain.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { useState, useEffect } from "react"; -import { ChangeChainDropdown } from "./chain-dropdown"; -import { - ChooseChainInfo, - ChainOption, - handleSelectChainDropdown, -} from "./types"; - -export function ChooseChain({ - chainId, - chainInfos, - onChange, -}: { - chainId?: string; - chainInfos: ChooseChainInfo[]; - onChange: handleSelectChainDropdown; -}) { - const [selectedItem, setSelectedItem] = useState(); - useEffect(() => { - if (chainId && chainInfos.length > 0) - setSelectedItem( - chainInfos.filter((options) => options.chainId === chainId)[0] - ); - if (!chainId) setSelectedItem(undefined); - }, [chainId]); - return ( - - ); -} diff --git a/templates/connect-chain/components/index.tsx b/templates/connect-chain/components/index.tsx index 509af1634..62d98f674 100644 --- a/templates/connect-chain/components/index.tsx +++ b/templates/connect-chain/components/index.tsx @@ -2,8 +2,6 @@ export * from "./types"; export * from "./wallet-connect"; export * from "./user-card"; export * from "./astronaut"; -export * from "./choose-chain"; -export * from "./chain-dropdown"; export * from "./address-card"; export * from "./features"; export * from "./warn-block"; diff --git a/templates/connect-chain/config/chain-infos.ts b/templates/connect-chain/config/chain-infos.ts deleted file mode 100644 index 52a2a1f2b..000000000 --- a/templates/connect-chain/config/chain-infos.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase.map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainId: chain.chain_id, - label: chain.pretty_name, - value: chain.chain_id, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } -}); \ No newline at end of file diff --git a/templates/connect-chain/config/index.ts b/templates/connect-chain/config/index.ts index c02b0ac33..f97c1231f 100644 --- a/templates/connect-chain/config/index.ts +++ b/templates/connect-chain/config/index.ts @@ -1,3 +1,2 @@ export * from './theme'; -export * from './features'; -export * from './chain-infos'; \ No newline at end of file +export * from './features'; \ No newline at end of file diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 4bcaee02b..3f2aed84c 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -29,7 +29,6 @@ import { Rejected, ConnectWalletButtonStatus, Astronaut, - ChooseChain, handleSelectChainDropdown, ChainOption, ConnectedShowAddress, @@ -40,7 +39,7 @@ import { CopyAddressBtn, } from "../components"; import { mapStatusFromCosmosWallet } from "../utils"; -import { chainInfos, dependencies, products } from "../config"; +import { dependencies, products } from "../config"; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); From 5b3737b155bd577b0c95ca5cb5a7044431ca55a5 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Mon, 29 Aug 2022 13:13:45 +0800 Subject: [PATCH 047/262] delete extra codes --- templates/connect-chain/components/types.tsx | 35 +------------------- templates/connect-chain/pages/index.tsx | 14 ++------ 2 files changed, 3 insertions(+), 46 deletions(-) diff --git a/templates/connect-chain/components/types.tsx b/templates/connect-chain/components/types.tsx index 3e0b9a215..6a83129f9 100644 --- a/templates/connect-chain/components/types.tsx +++ b/templates/connect-chain/components/types.tsx @@ -1,4 +1,4 @@ -import { MouseEventHandler, ReactNode, RefObject } from "react"; +import { MouseEventHandler, ReactNode } from "react"; import { IconType } from "react-icons"; export interface ChooseChainInfo { @@ -31,39 +31,6 @@ export interface ConnectedUserCardType { icon?: ReactNode; } -export interface OptionBase { - variant?: string; - colorScheme?: string; - isFixed?: boolean; - isDisabled?: boolean; -} - -export interface ChainOption extends OptionBase { - isDisabled?: boolean; - label: string; - value: string; - icon?: string; - chainId: string; - chainRoute?: string; -} - -export type handleSelectChainDropdown = (value: ChainOption | null) => void; - -export interface ChangeChainDropdownType { - data: ChainOption[]; - selectedItem?: ChainOption; - onChange: handleSelectChainDropdown; - chainDropdownLoading?: boolean; -} - -export interface ChangeChainMenuType { - data: ChainOption[]; - value?: ChainOption; - onClose?: () => void; - onChange: handleSelectChainDropdown; - innerRef?: RefObject; -} - export interface FeatureProps { title: string; text: string; diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 3f2aed84c..39660cb32 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -1,4 +1,4 @@ -import { MouseEventHandler, useState } from "react"; +import { MouseEventHandler } from "react"; import Head from "next/head"; import { Box, @@ -29,8 +29,6 @@ import { Rejected, ConnectWalletButtonStatus, Astronaut, - handleSelectChainDropdown, - ChainOption, ConnectedShowAddress, Product, Dependency, @@ -43,9 +41,8 @@ import { dependencies, products } from "../config"; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const [chainId, setChainId] = useState(); const { connect, disconnect } = useWalletManager(); - const { status, error, name, address } = useWallet(chainId); + const { status, error, name, address } = useWallet(); const walletStatus = mapStatusFromCosmosWallet(status, error as Error); const onClickConnect: MouseEventHandler = (e) => { @@ -56,13 +53,6 @@ export default function Home() { e.preventDefault(); disconnect(); }; - const onChainChange: handleSelectChainDropdown = ( - selectedValue: ChainOption | null - ) => { - if (selectedValue) { - setChainId(selectedValue.chainId); - } - }; const userInfo = } />; const addressBtn = ( From 0ec6a7a31fa89715fc4cf67372618071cbf949b2 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Tue, 30 Aug 2022 11:03:41 +0800 Subject: [PATCH 048/262] fix error --- templates/connect-chain/pages/index.tsx | 7 +- .../components/address-card.tsx | 114 ++++++------------ .../components/user-card.tsx | 17 +-- yarn.lock | 63 ++++++++++ 4 files changed, 104 insertions(+), 97 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 428234e5e..052875e24 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -71,12 +71,7 @@ export default function Home() { connected={ } - rejected={ - - } + rejected={} notExist={} /> ); diff --git a/templates/connect-multi-chain/components/address-card.tsx b/templates/connect-multi-chain/components/address-card.tsx index 21b909d4d..a3da17c3e 100644 --- a/templates/connect-multi-chain/components/address-card.tsx +++ b/templates/connect-multi-chain/components/address-card.tsx @@ -19,85 +19,49 @@ export const ConnectedShowAddress = ({ const { hasCopied, onCopy } = useClipboard(address ? address : ""); return ( -
- onCopy()} + isLoading={isLoading} + isDisabled={address ? hasCopied : true} + rightIcon={} + > + - - {isLoading ? ( - - ) : ( - - - - {username ? username : 'user not identified yet'} - - - )} - {showLink && ( - - - - )} - - - -
+ {address ? address : "address not identified yet"} +
+ ); ->>>>>>> main }; - export const CopyAddressBtn = ({ walletStatus, connected, diff --git a/templates/connect-multi-chain/components/user-card.tsx b/templates/connect-multi-chain/components/user-card.tsx index 325813ea2..554575d15 100644 --- a/templates/connect-multi-chain/components/user-card.tsx +++ b/templates/connect-multi-chain/components/user-card.tsx @@ -7,22 +7,7 @@ export const ConnectedUserInfo = ({ icon, }: ConnectedUserCardType) => { return ( - + Date: Tue, 30 Aug 2022 12:03:52 +0800 Subject: [PATCH 049/262] change default chain --- templates/connect-chain/pages/_app.tsx | 2 +- templates/connect-multi-chain/pages/_app.tsx | 2 +- templates/connect-multi-chain/pages/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index 6d7458251..07169c83b 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -20,7 +20,7 @@ function MyApp({ Component, pageProps }: AppProps) { }} renderLoader={() =>

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Cosmoshub4} + defaultChainId={ChainInfoID.Juno1} getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index 6d7458251..07169c83b 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -20,7 +20,7 @@ function MyApp({ Component, pageProps }: AppProps) { }} renderLoader={() =>

Loading...

} localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Cosmoshub4} + defaultChainId={ChainInfoID.Juno1} getSigningCosmWasmClientOptions={(chainInfo) => ({ gasPrice: GasPrice.fromString( '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 330a76fcc..8e08a5020 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -85,7 +85,7 @@ export default function Home() { rejected={ } notExist={} From adfa1c812d667d78771f1d4b84f0daf63b0c21f1 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Tue, 30 Aug 2022 12:46:37 +0800 Subject: [PATCH 050/262] remove text --- templates/connect-multi-chain/pages/index.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 8e08a5020..866537221 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -82,12 +82,7 @@ export default function Home() { connected={ } - rejected={ - - } + rejected={} notExist={} /> ); From 6aa9610a11e5b4de1808c8eeca3d7726c685f71b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 30 Aug 2022 09:16:46 -0700 Subject: [PATCH 051/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7 - @cosmonauts/connect-chain@0.1.7 - @cosmonauts/connect-multi-chain@0.1.7 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index b675027f1..02b36daa1 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.5...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index fa1c7b247..80e7c0129 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.6", + "version": "0.1.7", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 1ceb064f7..72714bc18 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 582aaf142..814d67298 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.6", + "version": "0.1.7", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 6f5cb2837..6f1d5d7f2 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.6...@cosmonauts/connect-multi-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.5...@cosmonauts/connect-multi-chain@0.1.6) (2022-08-27) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 363f6126a..2f1d04382 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.6", + "version": "0.1.7", "private": true, "scripts": { "dev": "next dev", From 5a3f75c0837483a9a024568e8d1de85ca652a21e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 30 Aug 2022 09:25:16 -0700 Subject: [PATCH 052/262] cosmoskit --- templates/connect-chain/pages/index.tsx | 44 +++++++++---------- templates/connect-multi-chain/pages/index.tsx | 44 +++++++++---------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 052875e24..7e3e38cf2 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler } from "react"; -import Head from "next/head"; +import { MouseEventHandler } from 'react'; +import Head from 'next/head'; import { Box, Divider, @@ -15,11 +15,11 @@ import { useColorMode, useColorModeValue, GridItem, - Center, -} from "@chakra-ui/react"; -import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { FiAlertTriangle } from "react-icons/fi"; -import { useWalletManager, useWallet } from "@cosmos-kit/react"; + Center +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { useWalletManager, useWallet } from '@cosmos-kit/react'; import { Connected, ConnectedUserInfo, @@ -34,10 +34,10 @@ import { Dependency, ConnectStatusWarn, RejectedWarn, - CopyAddressBtn, -} from "../components"; -import { mapStatusFromCosmosWallet } from "../utils"; -import { dependencies, products } from "../config"; + CopyAddressBtn +} from '../components'; +import { mapStatusFromCosmosWallet } from '../utils'; +import { dependencies, products } from '../config'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -97,14 +97,14 @@ export default function Home() { @@ -113,14 +113,14 @@ export default function Home() { Welcome to  - CosmosKit.js + Telescope + Next.js + CosmosKit + Telescope + Next.js @@ -139,10 +139,10 @@ export default function Home() { justifyContent="center" alignItems="center" borderRadius="lg" - bg={useColorModeValue("white", "blackAlpha.400")} + bg={useColorModeValue('white', 'blackAlpha.400')} boxShadow={useColorModeValue( - "0 0 2px #dfdfdf, 0 0 6px -2px #d3d3d3", - "0 0 2px #363636, 0 0 8px -2px #4f4f4f" + '0 0 2px #dfdfdf, 0 0 6px -2px #d3d3d3', + '0 0 2px #363636, 0 0 8px -2px #4f4f4f' )} spacing={4} px={4} @@ -159,8 +159,8 @@ export default function Home() { ))} - + {dependencies.map((dependency) => ( ))} diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 866537221..e9afb1e86 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, useState } from "react"; -import Head from "next/head"; +import { MouseEventHandler, useState } from 'react'; +import Head from 'next/head'; import { Box, Divider, @@ -15,11 +15,11 @@ import { useColorMode, useColorModeValue, GridItem, - Center, -} from "@chakra-ui/react"; -import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { FiAlertTriangle } from "react-icons/fi"; -import { useWalletManager, useWallet } from "@cosmos-kit/react"; + Center +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { useWalletManager, useWallet } from '@cosmos-kit/react'; import { Connected, ConnectedUserInfo, @@ -37,10 +37,10 @@ import { Dependency, ConnectStatusWarn, RejectedWarn, - CopyAddressBtn, -} from "../components"; -import { mapStatusFromCosmosWallet } from "../utils"; -import { chainInfos, dependencies, products } from "../config"; + CopyAddressBtn +} from '../components'; +import { mapStatusFromCosmosWallet } from '../utils'; +import { chainInfos, dependencies, products } from '../config'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -115,14 +115,14 @@ export default function Home() { @@ -131,14 +131,14 @@ export default function Home() { Welcome to  - CosmosKit.js + Telescope + Next.js + CosmosKit + Telescope + Next.js @@ -158,10 +158,10 @@ export default function Home() { justifyContent="center" alignItems="center" borderRadius="lg" - bg={useColorModeValue("white", "blackAlpha.400")} + bg={useColorModeValue('white', 'blackAlpha.400')} boxShadow={useColorModeValue( - "0 0 2px #dfdfdf, 0 0 6px -2px #d3d3d3", - "0 0 2px #363636, 0 0 8px -2px #4f4f4f" + '0 0 2px #dfdfdf, 0 0 6px -2px #d3d3d3', + '0 0 2px #363636, 0 0 8px -2px #4f4f4f' )} spacing={4} px={4} @@ -178,8 +178,8 @@ export default function Home() { ))} - + {dependencies.map((dependency) => ( ))} From b2f724a20e6e7c0bf974769f5dc227f9513f050f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 30 Aug 2022 09:26:19 -0700 Subject: [PATCH 053/262] cosmoskit --- .../components/wallet-connect.tsx | 28 +++++++++---------- .../components/wallet-connect.tsx | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index 8f3ef2dc8..116afdcf6 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon } from "@chakra-ui/react"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon } from '@chakra-ui/react'; -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -83,7 +83,7 @@ export const ConnectWalletButtonStatus = ({ connecting, connected, rejected, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx index 8f3ef2dc8..116afdcf6 100644 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon } from "@chakra-ui/react"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon } from '@chakra-ui/react'; -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -83,7 +83,7 @@ export const ConnectWalletButtonStatus = ({ connecting, connected, rejected, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; From 585fe3a7d31318876f68c2f3bd6d8ea6c5f51b6a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 30 Aug 2022 09:29:23 -0700 Subject: [PATCH 054/262] fixes --- templates/connect-chain/pages/index.tsx | 4 ++-- templates/connect-multi-chain/pages/index.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 7e3e38cf2..5dd1f5e68 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -184,13 +184,13 @@ export default function Home() { opacity={0.5} fontSize="sm" > - Powered by + Built with - @cosmology-tech + Cosmology
diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index e9afb1e86..bb23d9854 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -203,13 +203,13 @@ export default function Home() { opacity={0.5} fontSize="sm" > - Powered by + Built with - @cosmology-tech + Cosmology
From 4af60c1cc0d8e2f988e390109f931015be3d290c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 30 Aug 2022 09:41:52 -0700 Subject: [PATCH 055/262] updates --- templates/connect-chain/pages/index.tsx | 5 +- templates/connect-chain/utils.ts | 49 ++++++++++--------- templates/connect-multi-chain/pages/index.tsx | 5 +- 3 files changed, 34 insertions(+), 25 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 5dd1f5e68..da01a5d19 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -38,6 +38,7 @@ import { } from '../components'; import { mapStatusFromCosmosWallet } from '../utils'; import { dependencies, products } from '../config'; +import { WalletStatus } from '../components'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -54,7 +55,9 @@ export default function Home() { disconnect(); }; - const userInfo = } />; + const userInfo = walletStatus === WalletStatus.Loaded && ( + } /> + ); const addressBtn = ( { - switch (status) { - case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: - return WalletStatus.NotInit; - case CosmosWalletStatus.Connecting - || CosmosWalletStatus.ChoosingWallet - || CosmosWalletStatus.PendingWalletConnect - || CosmosWalletStatus.EnablingWallet: - return WalletStatus.Loading; - case CosmosWalletStatus.Connected: - return WalletStatus.Loaded; - case CosmosWalletStatus.Errored: - if (error && error.message === 'Request rejected') { - return WalletStatus.NotInit; - } else { - return WalletStatus.Rejected; - } - default: - return WalletStatus.NotInit; - } -} \ No newline at end of file +export const mapStatusFromCosmosWallet = ( + status: CosmosWalletStatus, + error?: Error +): WalletStatus => { + switch (status) { + case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: + return WalletStatus.NotInit; + case CosmosWalletStatus.Connecting || + CosmosWalletStatus.ChoosingWallet || + CosmosWalletStatus.PendingWalletConnect || + CosmosWalletStatus.EnablingWallet: + return WalletStatus.Loading; + case CosmosWalletStatus.Connected: + return WalletStatus.Loaded; + case CosmosWalletStatus.Errored: + if (error && error.message === 'Request rejected') { + return WalletStatus.NotInit; + } else { + return WalletStatus.Rejected; + } + default: + return WalletStatus.NotInit; + } +}; diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index bb23d9854..058ac168a 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -41,6 +41,7 @@ import { } from '../components'; import { mapStatusFromCosmosWallet } from '../utils'; import { chainInfos, dependencies, products } from '../config'; +import { WalletStatus } from '../components'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -65,7 +66,9 @@ export default function Home() { } }; - const userInfo = } />; + const userInfo = walletStatus === WalletStatus.Loaded && ( + } /> + ); const addressBtn = chainId && ( Date: Thu, 1 Sep 2022 14:16:59 +0800 Subject: [PATCH 056/262] fix isDisabled hover bg --- .../components/wallet-connect.tsx | 28 +++++++++---------- .../components/wallet-connect.tsx | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index 116afdcf6..0cc029af4 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from 'react'; -import { Button, Icon } from '@chakra-ui/react'; +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon } from "@chakra-ui/react"; -import { WalletStatus } from './types'; -import { IoWallet } from 'react-icons/io5'; -import { ConnectWalletType } from './types'; +import { WalletStatus } from "./types"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "./types"; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn + onClickConnectBtn, }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick + onClick, }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick + onClick, }: { buttonText: string; onClick: MouseEventHandler; @@ -83,7 +83,7 @@ export const ConnectWalletButtonStatus = ({ connecting, connected, rejected, - notExist + notExist, }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx index 116afdcf6..0cc029af4 100644 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from 'react'; -import { Button, Icon } from '@chakra-ui/react'; +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon } from "@chakra-ui/react"; -import { WalletStatus } from './types'; -import { IoWallet } from 'react-icons/io5'; -import { ConnectWalletType } from './types'; +import { WalletStatus } from "./types"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "./types"; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn + onClickConnectBtn, }: ConnectWalletType) => { return ( ); }; export const Disconnect = ({ buttonText, - onClick + onClick, }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnect = ({ export const Connected = ({ buttonText, - onClick + onClick, }: { buttonText: string; onClick: MouseEventHandler; @@ -83,7 +83,7 @@ export const ConnectWalletButtonStatus = ({ connecting, connected, rejected, - notExist + notExist, }: { walletStatus: WalletStatus; disconnect: ReactNode; From 453a18731753b3f6327b97aed2454955ac3d67be Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Fri, 2 Sep 2022 14:38:15 +0800 Subject: [PATCH 057/262] update style --- .../connect-chain/components/address-card.tsx | 81 +++++----- templates/connect-chain/components/index.tsx | 1 + templates/connect-chain/components/types.tsx | 1 + .../connect-chain/components/user-card.tsx | 51 +++--- .../connect-chain/components/user-info.tsx | 57 +++++++ .../components/wallet-connect.tsx | 3 +- templates/connect-chain/pages/index.tsx | 63 +++----- .../components/address-card.tsx | 81 +++++----- .../components/chain-dropdown.tsx | 148 +++++++++++------- .../connect-multi-chain/components/index.tsx | 1 + .../connect-multi-chain/components/types.tsx | 1 + .../components/user-card.tsx | 51 +++--- .../components/user-info.tsx | 57 +++++++ templates/connect-multi-chain/pages/index.tsx | 64 +++----- 14 files changed, 396 insertions(+), 264 deletions(-) create mode 100644 templates/connect-chain/components/user-info.tsx create mode 100644 templates/connect-multi-chain/components/user-info.tsx diff --git a/templates/connect-chain/components/address-card.tsx b/templates/connect-chain/components/address-card.tsx index a3da17c3e..e8fa040fa 100644 --- a/templates/connect-chain/components/address-card.tsx +++ b/templates/connect-chain/components/address-card.tsx @@ -5,6 +5,7 @@ import { Button, Icon, useClipboard, + Box, } from "@chakra-ui/react"; import { FaRegCopy } from "react-icons/fa"; import { WalletStatus } from "./types"; @@ -19,46 +20,48 @@ export const ConnectedShowAddress = ({ const { hasCopied, onCopy } = useClipboard(address ? address : ""); return ( - + + {address ? address : "address not identified yet"} + + + ); }; diff --git a/templates/connect-chain/components/index.tsx b/templates/connect-chain/components/index.tsx index 62d98f674..36d480526 100644 --- a/templates/connect-chain/components/index.tsx +++ b/templates/connect-chain/components/index.tsx @@ -1,5 +1,6 @@ export * from "./types"; export * from "./wallet-connect"; +export * from "./user-info"; export * from "./user-card"; export * from "./astronaut"; export * from "./address-card"; diff --git a/templates/connect-chain/components/types.tsx b/templates/connect-chain/components/types.tsx index 6a83129f9..0ab2641c2 100644 --- a/templates/connect-chain/components/types.tsx +++ b/templates/connect-chain/components/types.tsx @@ -27,6 +27,7 @@ export interface ConnectWalletType { } export interface ConnectedUserCardType { + walletIcon?: string; username?: string; icon?: ReactNode; } diff --git a/templates/connect-chain/components/user-card.tsx b/templates/connect-chain/components/user-card.tsx index 554575d15..4c5f8b39c 100644 --- a/templates/connect-chain/components/user-card.tsx +++ b/templates/connect-chain/components/user-card.tsx @@ -1,31 +1,32 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "./types"; +import React, { ReactNode } from "react"; +import { Stack, useColorModeValue } from "@chakra-ui/react"; -export const ConnectedUserInfo = ({ - username, - icon, -}: ConnectedUserCardType) => { +export const ConnectWalletCard = ({ + userInfo, + addressBtn, + connectWalletButton, +}: { + userInfo: ReactNode; + addressBtn: ReactNode; + connectWalletButton: ReactNode; +}) => { return ( - - - {icon} - - {username && ( - - {username} - + + {userInfo} + {addressBtn} + {connectWalletButton} ); }; diff --git a/templates/connect-chain/components/user-info.tsx b/templates/connect-chain/components/user-info.tsx new file mode 100644 index 000000000..e658ce356 --- /dev/null +++ b/templates/connect-chain/components/user-info.tsx @@ -0,0 +1,57 @@ +import React from "react"; +import { + Text, + Stack, + Box, + Image, + Icon, + Center, + useColorModeValue, +} from "@chakra-ui/react"; +import { IoMdWallet } from "react-icons/io"; +import { ConnectedUserCardType } from "./types"; + +export const ConnectedUserInfo = ({ + walletIcon, + username, + icon, +}: ConnectedUserCardType) => { + return ( + + + {icon} + + {username && ( + + {walletIcon ? ( + + + + ) : ( +
+ +
+ )} + + {username} + +
+ )} +
+ ); +}; diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx index 0cc029af4..3394531f5 100644 --- a/templates/connect-chain/components/wallet-connect.tsx +++ b/templates/connect-chain/components/wallet-connect.tsx @@ -15,7 +15,8 @@ export const ConnectWalletButton = ({ return ( @@ -116,12 +117,12 @@ export default function Home() { Welcome to  CosmosKit + Telescope + Next.js @@ -138,32 +139,18 @@ export default function Home() { > {connectWalletWarn} - - {userInfo} - {addressBtn} - - {connectWalletButton} - - + ))} - + {dependencies.map((dependency) => ( ))} diff --git a/templates/connect-multi-chain/components/address-card.tsx b/templates/connect-multi-chain/components/address-card.tsx index a3da17c3e..e8fa040fa 100644 --- a/templates/connect-multi-chain/components/address-card.tsx +++ b/templates/connect-multi-chain/components/address-card.tsx @@ -5,6 +5,7 @@ import { Button, Icon, useClipboard, + Box, } from "@chakra-ui/react"; import { FaRegCopy } from "react-icons/fa"; import { WalletStatus } from "./types"; @@ -19,46 +20,48 @@ export const ConnectedShowAddress = ({ const { hasCopied, onCopy } = useClipboard(address ? address : ""); return ( - + + {address ? address : "address not identified yet"} + + + ); }; diff --git a/templates/connect-multi-chain/components/chain-dropdown.tsx b/templates/connect-multi-chain/components/chain-dropdown.tsx index d9bcf5e72..ab756d1b7 100644 --- a/templates/connect-multi-chain/components/chain-dropdown.tsx +++ b/templates/connect-multi-chain/components/chain-dropdown.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; import { Box, Text, @@ -9,23 +9,27 @@ import { useBreakpointValue, SystemStyleObject, SkeletonCircle, - Skeleton -} from '@chakra-ui/react'; -import { Searcher } from 'fast-fuzzy'; -import { FiChevronDown } from 'react-icons/fi'; + Skeleton, + Center, +} from "@chakra-ui/react"; +import { Searcher } from "fast-fuzzy"; +import { FiChevronDown } from "react-icons/fi"; +import { FaSlash } from "react-icons/fa"; +import { HiOutlineLink } from "react-icons/hi"; import { AsyncSelect, OptionProps, chakraComponents, GroupBase, DropdownIndicatorProps, - PlaceholderProps -} from 'chakra-react-select'; + PlaceholderProps, + ClearIndicatorProps, +} from "chakra-react-select"; import { ChainOption, ChangeChainDropdownType, - ChangeChainMenuType -} from './types'; + ChangeChainMenuType, +} from "./types"; const SkeletonOptions = () => { return ( @@ -41,52 +45,56 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const customStyles = { control: (provided: SystemStyleObject) => ({ ...provided, - height: 12 + height: 12, }), menu: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, mt: 4, mb: 0, - bg: useColorModeValue('white', 'gray.900'), - boxShadow: useColorModeValue('0 1px 5px #e3e3e3', '0 0px 4px #4b4b4b'), - borderRadius: '0.3rem' + bg: useColorModeValue("white", "gray.900"), + boxShadow: useColorModeValue("0 1px 5px #e3e3e3", "0 0px 4px #4b4b4b"), + borderRadius: "0.3rem", }), menuList: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, - bg: 'transparent', - border: 'none', - borderRadius: 'none', + bg: "transparent", + border: "none", + borderRadius: "none", p: 2, // For Firefox - scrollbarWidth: 'auto', + scrollbarWidth: "auto", scrollbarColor: useColorModeValue( - 'rgba(0,0,0,0.3) rgba(0,0,0,0.2)', - 'rgba(255,255,255,0.2) rgba(255,255,255,0.1)' + "rgba(0,0,0,0.3) rgba(0,0,0,0.2)", + "rgba(255,255,255,0.2) rgba(255,255,255,0.1)" ), // For Chrome and other browsers except Firefox - '&::-webkit-scrollbar': { - width: '14px', + "&::-webkit-scrollbar": { + width: "14px", background: useColorModeValue( - 'rgba(220,220,220,0.1)', - 'rgba(60,60,60,0.1)' + "rgba(220,220,220,0.1)", + "rgba(60,60,60,0.1)" ), - borderRadius: '3px' + borderRadius: "3px", }, - '&::-webkit-scrollbar-thumb': { + "&::-webkit-scrollbar-thumb": { background: useColorModeValue( - 'rgba(0,0,0,0.1)', - 'rgba(255,255,255,0.1)' + "rgba(0,0,0,0.1)", + "rgba(255,255,255,0.1)" ), - borderRadius: '10px', - border: '3px solid transparent', - backgroundClip: 'content-box' - } + borderRadius: "10px", + border: "3px solid transparent", + backgroundClip: "content-box", + }, }), dropdownIndicator: (provided: SystemStyleObject) => ({ ...provided, - bg: 'transparent' + bg: "transparent", + }), + clearIndicator: (provided: SystemStyleObject) => ({ + ...provided, + borderRadius: "full", }), option: ( provided: SystemStyleObject, @@ -94,38 +102,59 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { ) => { return { ...provided, - borderRadius: 'lg', + borderRadius: "lg", h: 14, - color: 'inherit', + color: "inherit", bg: useColorModeValue( state.isSelected ? state.isFocused - ? 'primary.200' - : 'primary.100' + ? "primary.200" + : "primary.100" : state.isFocused - ? 'blackAlpha.200' - : 'transparent', + ? "blackAlpha.200" + : "transparent", state.isSelected ? state.isFocused - ? 'primary.600' - : 'primary.500' + ? "primary.600" + : "primary.500" : state.isFocused - ? 'whiteAlpha.200' - : 'transparent' + ? "whiteAlpha.200" + : "transparent" ), _notFirst: { - mt: 2 + mt: 2, }, _active: { - bg: 'primary.50' + bg: "primary.50", }, - _disabled: { bg: 'transparent', _hover: { bg: 'transparent' } } + _disabled: { bg: "transparent", _hover: { bg: "transparent" } }, }; - } + }, }; const IndicatorSeparator = () => { return null; }; + const ClearIndicator = ( + props: ClearIndicatorProps> + ) => ( + +
+ + +
+
+ ); const DropdownIndicator = ({ ...props }: DropdownIndicatorProps>) => { @@ -135,7 +164,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { as={FiChevronDown} w={6} h={6} - color={useColorModeValue('blackAlpha.600', 'whiteAlpha.600')} + color={useColorModeValue("blackAlpha.600", "whiteAlpha.600")} /> ); @@ -151,7 +180,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} + color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} w="full" > { h="full" border="1px solid" borderColor={useColorModeValue( - 'blackAlpha.200', - 'whiteAlpha.200' + "blackAlpha.200", + "whiteAlpha.200" )} borderRadius="full" overflow="hidden" > @@ -196,7 +225,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} + color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} w="full" > { w="full" h="full" border="1px solid" - borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.200')} + borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.200")} borderRadius="full" overflow="hidden" > @@ -230,17 +259,17 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { instanceId="select-chain" placeholder="Choose a chain" chakraStyles={customStyles} - isClearable={false} + isClearable={true} isMulti={false} isOptionDisabled={(option) => option.isDisabled || false} blurInputOnSelect={true} controlShouldRenderValue={false} loadingMessage={() => } - value={value ? value : null} + value={value} defaultOptions={data} loadOptions={(inputValue, callback) => { const searcher = new Searcher(data, { - keySelector: (obj) => obj.label + keySelector: (obj) => obj.label, }); callback(searcher.search(inputValue)); }} @@ -248,8 +277,9 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { components={{ DropdownIndicator, IndicatorSeparator, + ClearIndicator, Placeholder, - Option: CustomOption + Option: CustomOption, }} /> ); @@ -258,7 +288,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { export const ChangeChainDropdown = ({ data, selectedItem, - onChange + onChange, }: ChangeChainDropdownType) => { return ( diff --git a/templates/connect-multi-chain/components/index.tsx b/templates/connect-multi-chain/components/index.tsx index 509af1634..3481e63ce 100644 --- a/templates/connect-multi-chain/components/index.tsx +++ b/templates/connect-multi-chain/components/index.tsx @@ -1,5 +1,6 @@ export * from "./types"; export * from "./wallet-connect"; +export * from "./user-info"; export * from "./user-card"; export * from "./astronaut"; export * from "./choose-chain"; diff --git a/templates/connect-multi-chain/components/types.tsx b/templates/connect-multi-chain/components/types.tsx index 3e0b9a215..0b4dfd058 100644 --- a/templates/connect-multi-chain/components/types.tsx +++ b/templates/connect-multi-chain/components/types.tsx @@ -29,6 +29,7 @@ export interface ConnectWalletType { export interface ConnectedUserCardType { username?: string; icon?: ReactNode; + walletIcon?: string; } export interface OptionBase { diff --git a/templates/connect-multi-chain/components/user-card.tsx b/templates/connect-multi-chain/components/user-card.tsx index 554575d15..4c5f8b39c 100644 --- a/templates/connect-multi-chain/components/user-card.tsx +++ b/templates/connect-multi-chain/components/user-card.tsx @@ -1,31 +1,32 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "./types"; +import React, { ReactNode } from "react"; +import { Stack, useColorModeValue } from "@chakra-ui/react"; -export const ConnectedUserInfo = ({ - username, - icon, -}: ConnectedUserCardType) => { +export const ConnectWalletCard = ({ + userInfo, + addressBtn, + connectWalletButton, +}: { + userInfo: ReactNode; + addressBtn: ReactNode; + connectWalletButton: ReactNode; +}) => { return ( - - - {icon} - - {username && ( - - {username} - + + {userInfo} + {addressBtn} + {connectWalletButton} ); }; diff --git a/templates/connect-multi-chain/components/user-info.tsx b/templates/connect-multi-chain/components/user-info.tsx new file mode 100644 index 000000000..e658ce356 --- /dev/null +++ b/templates/connect-multi-chain/components/user-info.tsx @@ -0,0 +1,57 @@ +import React from "react"; +import { + Text, + Stack, + Box, + Image, + Icon, + Center, + useColorModeValue, +} from "@chakra-ui/react"; +import { IoMdWallet } from "react-icons/io"; +import { ConnectedUserCardType } from "./types"; + +export const ConnectedUserInfo = ({ + walletIcon, + username, + icon, +}: ConnectedUserCardType) => { + return ( + + + {icon} + + {username && ( + + {walletIcon ? ( + + + + ) : ( +
+ +
+ )} + + {username} + +
+ )} +
+ ); +}; diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 058ac168a..4f11a9ea8 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, useState } from 'react'; -import Head from 'next/head'; +import { MouseEventHandler, useState } from "react"; +import Head from "next/head"; import { Box, Divider, @@ -15,11 +15,11 @@ import { useColorMode, useColorModeValue, GridItem, - Center -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { useWalletManager, useWallet } from '@cosmos-kit/react'; + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { FiAlertTriangle } from "react-icons/fi"; +import { useWalletManager, useWallet } from "@cosmos-kit/react"; import { Connected, ConnectedUserInfo, @@ -37,11 +37,12 @@ import { Dependency, ConnectStatusWarn, RejectedWarn, - CopyAddressBtn -} from '../components'; -import { mapStatusFromCosmosWallet } from '../utils'; -import { chainInfos, dependencies, products } from '../config'; -import { WalletStatus } from '../components'; + CopyAddressBtn, + ConnectWalletCard, +} from "../components"; +import { mapStatusFromCosmosWallet } from "../utils"; +import { chainInfos, dependencies, products } from "../config"; +import { WalletStatus } from "../components"; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -64,6 +65,7 @@ export default function Home() { if (selectedValue) { setChainId(selectedValue.chainId); } + if (selectedValue === null) setChainId(undefined); }; const userInfo = walletStatus === WalletStatus.Loaded && ( @@ -118,14 +120,14 @@ export default function Home() { @@ -134,12 +136,12 @@ export default function Home() { Welcome to  CosmosKit + Telescope + Next.js @@ -157,32 +159,18 @@ export default function Home() { {chooseChain} {connectWalletWarn} - - {userInfo} - {addressBtn} - - {connectWalletButton} - - + ))} - + {dependencies.map((dependency) => ( ))} From f72678fa10db77d543425284caabfc1c8de83130 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 09:26:54 -0700 Subject: [PATCH 058/262] landing --- templates/connect-chain/pages/index.tsx | 2 +- templates/connect-multi-chain/pages/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index da01a5d19..cd61654e3 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -111,7 +111,7 @@ export default function Home() { fontWeight="extrabold" mb={3} > - Cosmos App Made Easy + Cosmos Apps Made Easy - Cosmos App Made Easy + Cosmos Apps Made Easy Date: Fri, 2 Sep 2022 15:22:59 -0700 Subject: [PATCH 059/262] shallow clone --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 22b759aec..c2db8a4ff 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -30,7 +30,7 @@ export const createGitApp = (repo: string) => { mkdirp(dir); const currentDirecotry = process.cwd(); shell.cd(dir); - shell.exec(`git clone ${repo} ${name}`); + shell.exec(`git clone -–depth 1 ${repo} ${name}`); shell.cd(name); const list = shell.ls(`./${folderName}`); From 19f9bcbd15ca17e7706089a240188d989e889e9d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:23:05 -0700 Subject: [PATCH 060/262] chore(release): publish - create-cosmos-app@0.2.3 - @cosmonauts/connect-chain@0.1.8 - @cosmonauts/connect-multi-chain@0.1.8 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index cff7ce840..8a4cb1f95 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.2...create-cosmos-app@0.2.3) (2022-09-02) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.2.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.1...create-cosmos-app@0.2.2) (2022-08-27) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 21829e2ae..ec6c9754e 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.2.2", + "version": "0.2.3", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 72714bc18..b3c71d85d 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 814d67298..f75a87789 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.7", + "version": "0.1.8", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 6f1d5d7f2..60fd9aa09 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.7...@cosmonauts/connect-multi-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.6...@cosmonauts/connect-multi-chain@0.1.7) (2022-08-30) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 2f1d04382..c01b31126 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.7", + "version": "0.1.8", "private": true, "scripts": { "dev": "next dev", From 611c92e3edb5b38b281e546fd8349dfda4e62804 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:24:32 -0700 Subject: [PATCH 061/262] fix --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index c2db8a4ff..13821bca2 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -30,7 +30,7 @@ export const createGitApp = (repo: string) => { mkdirp(dir); const currentDirecotry = process.cwd(); shell.cd(dir); - shell.exec(`git clone -–depth 1 ${repo} ${name}`); + shell.exec(`git clone --depth 1 ${repo} ${name}`); shell.cd(name); const list = shell.ls(`./${folderName}`); From 825fdaa4574f35d0c795b5757705757dd38d815c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:24:37 -0700 Subject: [PATCH 062/262] chore(release): publish - create-cosmos-app@0.2.4 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 8a4cb1f95..e3484c0a2 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.3...create-cosmos-app@0.2.4) (2022-09-02) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.2.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.2...create-cosmos-app@0.2.3) (2022-09-02) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index ec6c9754e..8211e99e8 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.2.3", + "version": "0.2.4", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From ba5752020dc919333227f22719017467b035ab1a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:25:51 -0700 Subject: [PATCH 063/262] fix --- packages/create-cosmos-app/src/git-cca-template.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 13821bca2..4980b3e48 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -3,10 +3,8 @@ import { prompt } from './prompt'; import { join, dirname } from 'path'; import { sync as mkdirp } from 'mkdirp'; import { tmpdir } from 'os' -const dargs = require('dargs'); -const glob = require('glob').sync; -const fs = require('fs'); -const path = require('path'); +import { sync as glob } from 'glob'; +import * as fs from 'fs'; export const createGitApp = (repo: string) => { return async argv => { From dc8ba859570f51962489f0819b53cb947ae07eca Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:25:56 -0700 Subject: [PATCH 064/262] chore(release): publish - create-cosmos-app@0.3.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index e3484c0a2..34a458831 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.4...create-cosmos-app@0.3.0) (2022-09-02) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.2.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.3...create-cosmos-app@0.2.4) (2022-09-02) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 8211e99e8..70e3c31d4 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.2.4", + "version": "0.3.0", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From ec15aa48339257c55ecb98500160ffe3cc419cc2 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:28:05 -0700 Subject: [PATCH 065/262] fix --- packages/create-cosmos-app/src/git-question-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-question-template.ts b/packages/create-cosmos-app/src/git-question-template.ts index 00dea0bd3..ca7eeb776 100644 --- a/packages/create-cosmos-app/src/git-question-template.ts +++ b/packages/create-cosmos-app/src/git-question-template.ts @@ -20,7 +20,7 @@ export const createQuestionTemplate = (repo: string) => { return shell.exit(1); } - shell.exec(`git clone ${repo} ${name}`); + shell.exec(`git clone --depth 1 ${repo} ${name}`); shell.cd(name); const questions = JSON.parse(fs.readFileSync(`.questions.json`)); From 34a7b3f8b010fbf7040c55ac69ed0564398af5ca Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 2 Sep 2022 15:28:13 -0700 Subject: [PATCH 066/262] chore(release): publish - create-cosmos-app@0.3.1 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 34a458831..e4e1b8361 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.0...create-cosmos-app@0.3.1) (2022-09-02) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.2.4...create-cosmos-app@0.3.0) (2022-09-02) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 70e3c31d4..ef1903bf5 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.3.0", + "version": "0.3.1", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 6dc2c3a5216c6c75b3bab3e152c1c42551a9c7a5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 7 Sep 2022 20:04:45 -0700 Subject: [PATCH 067/262] readme --- README.md | 11 +++++++++++ templates/connect-chain/README.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index 1f32ccaeb..2dbe183bc 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,14 @@ yarn create cosmos-app my-app _[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ It will create a directory called `my-app` inside the current folder.
+ +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/templates/connect-chain/README.md b/templates/connect-chain/README.md index c87e0421d..b91761247 100644 --- a/templates/connect-chain/README.md +++ b/templates/connect-chain/README.md @@ -32,3 +32,14 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. From 5b973c1985af7671a942f8568cc9c4683f265cf3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 7 Sep 2022 20:05:02 -0700 Subject: [PATCH 068/262] chore(release): publish - @cosmonauts/connect-chain@0.1.9 --- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index b3c71d85d..78573e340 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index f75a87789..35dfff339 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "dev": "next dev", From 7f37f5014c9a3100d3c83df077e4ecbeac68e463 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 7 Sep 2022 20:06:03 -0700 Subject: [PATCH 069/262] readme --- examples/telescope-with-contracts/README.md | 11 +++++++++++ packages/create-cosmos-app/README.md | 11 +++++++++++ templates/connect-multi-chain/README.md | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/examples/telescope-with-contracts/README.md b/examples/telescope-with-contracts/README.md index c87e0421d..b91761247 100644 --- a/examples/telescope-with-contracts/README.md +++ b/examples/telescope-with-contracts/README.md @@ -32,3 +32,14 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 1f32ccaeb..2dbe183bc 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -57,3 +57,14 @@ yarn create cosmos-app my-app _[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ It will create a directory called `my-app` inside the current folder.
+ +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/templates/connect-multi-chain/README.md b/templates/connect-multi-chain/README.md index c87e0421d..b91761247 100644 --- a/templates/connect-multi-chain/README.md +++ b/templates/connect-multi-chain/README.md @@ -32,3 +32,14 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. From 70a2daac839a478163b186fbaab8d4a73c34763b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 7 Sep 2022 20:06:23 -0700 Subject: [PATCH 070/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8 - create-cosmos-app@0.3.2 - @cosmonauts/connect-multi-chain@0.1.9 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 02b36daa1..8b1137ab6 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.6...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7) (2022-08-30) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 80e7c0129..ca0c26490 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.7", + "version": "0.1.8", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index e4e1b8361..6ce6ce728 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.1...create-cosmos-app@0.3.2) (2022-09-08) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.3.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.0...create-cosmos-app@0.3.1) (2022-09-02) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index ef1903bf5..382f095ad 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.3.1", + "version": "0.3.2", "description": "create cosmos app", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 60fd9aa09..be03c55bf 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.8...@cosmonauts/connect-multi-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.7...@cosmonauts/connect-multi-chain@0.1.8) (2022-09-02) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index c01b31126..e11218acf 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "dev": "next dev", From f4dd0971c4d977ca65c8ff9d5511c01451cce0e5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 11 Sep 2022 15:11:04 -0400 Subject: [PATCH 071/262] telescope --- .../telescope-with-contracts/package.json | 2 +- examples/telescope/.eslintrc.json | 3 + examples/telescope/.gitignore | 36 + examples/telescope/README.md | 45 + examples/telescope/codegen/confio/proofs.ts | 1534 ++++++ .../codegen/cosmos/app/v1alpha1/config.ts | 172 + .../codegen/cosmos/app/v1alpha1/module.ts | 308 ++ .../cosmos/app/v1alpha1/query.rpc.query.ts | 26 + .../codegen/cosmos/app/v1alpha1/query.ts | 112 + .../codegen/cosmos/auth/v1beta1/auth.ts | 316 ++ .../codegen/cosmos/auth/v1beta1/genesis.ts | 88 + .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 72 + .../cosmos/auth/v1beta1/query.rpc.query.ts | 90 + .../codegen/cosmos/auth/v1beta1/query.ts | 865 ++++ .../codegen/cosmos/authz/v1beta1/authz.ts | 327 ++ .../codegen/cosmos/authz/v1beta1/event.ts | 188 + .../codegen/cosmos/authz/v1beta1/genesis.ts | 70 + .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 75 + .../cosmos/authz/v1beta1/query.rpc.query.ts | 51 + .../codegen/cosmos/authz/v1beta1/query.ts | 515 ++ .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 131 + .../cosmos/authz/v1beta1/tx.registry.ts | 127 + .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 53 + .../codegen/cosmos/authz/v1beta1/tx.ts | 437 ++ .../codegen/cosmos/bank/v1beta1/authz.ts | 75 + .../codegen/cosmos/bank/v1beta1/bank.ts | 703 +++ .../codegen/cosmos/bank/v1beta1/genesis.ts | 218 + .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 135 + .../cosmos/bank/v1beta1/query.rpc.query.ts | 111 + .../codegen/cosmos/bank/v1beta1/query.ts | 1400 ++++++ .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 112 + .../cosmos/bank/v1beta1/tx.registry.ts | 92 + .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 37 + .../codegen/cosmos/bank/v1beta1/tx.ts | 276 ++ .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1148 +++++ .../codegen/cosmos/base/kv/v1beta1/kv.ts | 145 + .../cosmos/base/query/v1beta1/pagination.ts | 246 + .../base/reflection/v1beta1/reflection.ts | 254 + .../base/reflection/v2alpha1/reflection.ts | 1853 +++++++ .../cosmos/base/snapshots/v1beta1/snapshot.ts | 759 +++ .../cosmos/base/store/v1beta1/commit_info.ts | 242 + .../cosmos/base/store/v1beta1/listening.ts | 112 + .../base/tendermint/v1beta1/query.rpc.svc.ts | 80 + .../cosmos/base/tendermint/v1beta1/query.ts | 1181 +++++ .../codegen/cosmos/base/v1beta1/coin.ts | 286 ++ examples/telescope/codegen/cosmos/bundle.ts | 451 ++ .../cosmos/capability/v1beta1/capability.ts | 216 + .../cosmos/capability/v1beta1/genesis.ts | 168 + examples/telescope/codegen/cosmos/client.ts | 72 + .../codegen/cosmos/crisis/v1beta1/genesis.ts | 69 + .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 37 + .../cosmos/crisis/v1beta1/tx.registry.ts | 55 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 25 + .../codegen/cosmos/crisis/v1beta1/tx.ts | 136 + .../codegen/cosmos/crypto/ed25519/keys.ts | 135 + .../codegen/cosmos/crypto/hd/v1/hd.ts | 128 + .../cosmos/crypto/keyring/v1/record.ts | 374 ++ .../codegen/cosmos/crypto/multisig/keys.ts | 88 + .../crypto/multisig/v1beta1/multisig.ts | 154 + .../codegen/cosmos/crypto/secp256k1/keys.ts | 132 + .../codegen/cosmos/crypto/secp256r1/keys.ts | 131 + .../distribution/v1beta1/distribution.ts | 1048 ++++ .../cosmos/distribution/v1beta1/genesis.ts | 861 ++++ .../cosmos/distribution/v1beta1/query.lcd.ts | 89 + .../distribution/v1beta1/query.rpc.query.ts | 109 + .../cosmos/distribution/v1beta1/query.ts | 1277 +++++ .../cosmos/distribution/v1beta1/tx.amino.ts | 121 + .../distribution/v1beta1/tx.registry.ts | 161 + .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 60 + .../codegen/cosmos/distribution/v1beta1/tx.ts | 536 ++ .../cosmos/evidence/v1beta1/evidence.ts | 107 + .../cosmos/evidence/v1beta1/genesis.ts | 71 + .../cosmos/evidence/v1beta1/query.lcd.ts | 39 + .../evidence/v1beta1/query.rpc.query.ts | 37 + .../codegen/cosmos/evidence/v1beta1/query.ts | 283 ++ .../cosmos/evidence/v1beta1/tx.amino.ts | 42 + .../cosmos/evidence/v1beta1/tx.registry.ts | 56 + .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 27 + .../codegen/cosmos/evidence/v1beta1/tx.ts | 144 + .../cosmos/feegrant/v1beta1/feegrant.ts | 421 ++ .../cosmos/feegrant/v1beta1/genesis.ts | 70 + .../cosmos/feegrant/v1beta1/query.lcd.ts | 52 + .../feegrant/v1beta1/query.rpc.query.ts | 48 + .../codegen/cosmos/feegrant/v1beta1/query.ts | 467 ++ .../cosmos/feegrant/v1beta1/tx.amino.ts | 75 + .../cosmos/feegrant/v1beta1/tx.registry.ts | 91 + .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 38 + .../codegen/cosmos/feegrant/v1beta1/tx.ts | 269 + .../codegen/cosmos/genutil/v1beta1/genesis.ts | 71 + .../codegen/cosmos/gov/v1/genesis.ts | 172 + .../telescope/codegen/cosmos/gov/v1/gov.ts | 1000 ++++ .../codegen/cosmos/gov/v1/query.lcd.ts | 101 + .../codegen/cosmos/gov/v1/query.rpc.query.ts | 97 + .../telescope/codegen/cosmos/gov/v1/query.ts | 1213 +++++ .../codegen/cosmos/gov/v1/tx.amino.ts | 228 + .../codegen/cosmos/gov/v1/tx.registry.ts | 198 + .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 69 + .../telescope/codegen/cosmos/gov/v1/tx.ts | 751 +++ .../codegen/cosmos/gov/v1beta1/genesis.ts | 172 + .../codegen/cosmos/gov/v1beta1/gov.ts | 1069 ++++ .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 101 + .../cosmos/gov/v1beta1/query.rpc.query.ts | 97 + .../codegen/cosmos/gov/v1beta1/query.ts | 1213 +++++ .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 176 + .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 163 + .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 60 + .../codegen/cosmos/gov/v1beta1/tx.ts | 586 +++ .../codegen/cosmos/group/v1/events.ts | 600 +++ .../codegen/cosmos/group/v1/genesis.ts | 208 + .../codegen/cosmos/group/v1/query.lcd.ts | 159 + .../cosmos/group/v1/query.rpc.query.ts | 147 + .../codegen/cosmos/group/v1/query.ts | 1945 ++++++++ .../codegen/cosmos/group/v1/tx.amino.ts | 585 +++ .../codegen/cosmos/group/v1/tx.registry.ts | 512 ++ .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 157 + .../telescope/codegen/cosmos/group/v1/tx.ts | 2197 +++++++++ .../codegen/cosmos/group/v1/types.ts | 1577 ++++++ examples/telescope/codegen/cosmos/lcd.ts | 81 + .../codegen/cosmos/mint/v1beta1/genesis.ts | 81 + .../codegen/cosmos/mint/v1beta1/mint.ts | 218 + .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 33 + .../cosmos/mint/v1beta1/query.rpc.query.ts | 46 + .../codegen/cosmos/mint/v1beta1/query.ts | 339 ++ .../telescope/codegen/cosmos/msg/v1/msg.ts | 1 + .../codegen/cosmos/nft/v1beta1/event.ts | 279 ++ .../codegen/cosmos/nft/v1beta1/genesis.ts | 174 + .../codegen/cosmos/nft/v1beta1/nft.ts | 279 ++ .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 86 + .../cosmos/nft/v1beta1/query.rpc.query.ts | 88 + .../codegen/cosmos/nft/v1beta1/query.ts | 976 ++++ .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 42 + .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 55 + .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 25 + .../codegen/cosmos/nft/v1beta1/tx.ts | 156 + .../telescope/codegen/cosmos/orm/v1/orm.ts | 392 ++ .../codegen/cosmos/orm/v1alpha1/schema.ts | 289 ++ .../codegen/cosmos/params/v1beta1/params.ts | 187 + .../cosmos/params/v1beta1/query.lcd.ts | 40 + .../cosmos/params/v1beta1/query.rpc.query.ts | 37 + .../codegen/cosmos/params/v1beta1/query.ts | 348 ++ .../telescope/codegen/cosmos/rpc.query.ts | 55 + examples/telescope/codegen/cosmos/rpc.tx.ts | 49 + .../cosmos/slashing/v1beta1/genesis.ts | 356 ++ .../cosmos/slashing/v1beta1/query.lcd.ts | 45 + .../slashing/v1beta1/query.rpc.query.ts | 47 + .../codegen/cosmos/slashing/v1beta1/query.ts | 394 ++ .../cosmos/slashing/v1beta1/slashing.ts | 268 + .../cosmos/slashing/v1beta1/tx.amino.ts | 27 + .../cosmos/slashing/v1beta1/tx.registry.ts | 55 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 27 + .../codegen/cosmos/slashing/v1beta1/tx.ts | 110 + .../codegen/cosmos/staking/v1beta1/authz.ts | 251 + .../codegen/cosmos/staking/v1beta1/genesis.ts | 279 ++ .../cosmos/staking/v1beta1/query.lcd.ts | 173 + .../cosmos/staking/v1beta1/query.rpc.query.ts | 161 + .../codegen/cosmos/staking/v1beta1/query.ts | 2111 ++++++++ .../codegen/cosmos/staking/v1beta1/staking.ts | 2036 ++++++++ .../cosmos/staking/v1beta1/tx.amino.ts | 298 ++ .../cosmos/staking/v1beta1/tx.registry.ts | 199 + .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 72 + .../codegen/cosmos/staking/v1beta1/tx.ts | 802 +++ .../cosmos/tx/signing/v1beta1/signing.ts | 510 ++ .../cosmos/tx/v1beta1/service.rpc.svc.ts | 72 + .../codegen/cosmos/tx/v1beta1/service.ts | 986 ++++ .../telescope/codegen/cosmos/tx/v1beta1/tx.ts | 1456 ++++++ .../cosmos/upgrade/v1beta1/query.lcd.ts | 60 + .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 73 + .../codegen/cosmos/upgrade/v1beta1/query.ts | 651 +++ .../cosmos/upgrade/v1beta1/tx.amino.ts | 89 + .../cosmos/upgrade/v1beta1/tx.registry.ts | 91 + .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 41 + .../codegen/cosmos/upgrade/v1beta1/tx.ts | 252 + .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 412 ++ .../cosmos/vesting/v1beta1/tx.amino.ts | 157 + .../cosmos/vesting/v1beta1/tx.registry.ts | 127 + .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 50 + .../codegen/cosmos/vesting/v1beta1/tx.ts | 475 ++ .../codegen/cosmos/vesting/v1beta1/vesting.ts | 527 ++ .../telescope/codegen/cosmos_proto/bundle.ts | 3 + .../telescope/codegen/cosmos_proto/cosmos.ts | 265 + examples/telescope/codegen/cosmwasm/bundle.ts | 34 + examples/telescope/codegen/cosmwasm/client.ts | 41 + examples/telescope/codegen/cosmwasm/lcd.ts | 88 + .../telescope/codegen/cosmwasm/rpc.query.ts | 60 + examples/telescope/codegen/cosmwasm/rpc.tx.ts | 54 + .../codegen/cosmwasm/wasm/v1/genesis.ts | 502 ++ .../telescope/codegen/cosmwasm/wasm/v1/ibc.ts | 181 + .../codegen/cosmwasm/wasm/v1/proposal.ts | 1114 +++++ .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 115 + .../cosmwasm/wasm/v1/query.rpc.query.ts | 107 + .../codegen/cosmwasm/wasm/v1/query.ts | 1481 ++++++ .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 253 + .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 232 + .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 77 + .../telescope/codegen/cosmwasm/wasm/v1/tx.ts | 1002 ++++ .../codegen/cosmwasm/wasm/v1/types.ts | 862 ++++ .../telescope/codegen/gogoproto/bundle.ts | 3 + examples/telescope/codegen/gogoproto/gogo.ts | 1 + .../codegen/google/api/annotations.ts | 1 + examples/telescope/codegen/google/api/http.ts | 683 +++ examples/telescope/codegen/google/bundle.ts | 24 + .../telescope/codegen/google/protobuf/any.ts | 188 + .../codegen/google/protobuf/descriptor.ts | 4162 ++++++++++++++++ .../codegen/google/protobuf/duration.ts | 150 + .../codegen/google/protobuf/empty.ts | 57 + .../codegen/google/protobuf/field_mask.ts | 270 + .../codegen/google/protobuf/struct.ts | 428 ++ .../codegen/google/protobuf/timestamp.ts | 172 + .../codegen/google/protobuf/wrappers.ts | 605 +++ .../ibc/applications/transfer/v1/genesis.ts | 97 + .../ibc/applications/transfer/v1/query.lcd.ts | 45 + .../transfer/v1/query.rpc.query.ts | 47 + .../ibc/applications/transfer/v1/query.ts | 398 ++ .../ibc/applications/transfer/v1/transfer.ts | 175 + .../ibc/applications/transfer/v1/tx.amino.ts | 75 + .../applications/transfer/v1/tx.registry.ts | 57 + .../applications/transfer/v1/tx.rpc.msg.ts | 27 + .../ibc/applications/transfer/v1/tx.ts | 213 + .../ibc/applications/transfer/v2/packet.ts | 114 + examples/telescope/codegen/ibc/bundle.ts | 137 + examples/telescope/codegen/ibc/client.ts | 50 + .../codegen/ibc/core/channel/v1/channel.ts | 878 ++++ .../codegen/ibc/core/channel/v1/genesis.ts | 285 ++ .../codegen/ibc/core/channel/v1/query.lcd.ts | 143 + .../ibc/core/channel/v1/query.rpc.query.ts | 157 + .../codegen/ibc/core/channel/v1/query.ts | 2536 ++++++++++ .../codegen/ibc/core/channel/v1/tx.amino.ts | 671 +++ .../ibc/core/channel/v1/tx.registry.ts | 372 ++ .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 118 + .../codegen/ibc/core/channel/v1/tx.ts | 1633 ++++++ .../codegen/ibc/core/client/v1/client.ts | 640 +++ .../codegen/ibc/core/client/v1/genesis.ts | 320 ++ .../codegen/ibc/core/client/v1/query.lcd.ts | 94 + .../ibc/core/client/v1/query.rpc.query.ts | 100 + .../codegen/ibc/core/client/v1/query.ts | 1176 +++++ .../codegen/ibc/core/client/v1/tx.amino.ts | 206 + .../codegen/ibc/core/client/v1/tx.registry.ts | 161 + .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 56 + .../codegen/ibc/core/client/v1/tx.ts | 622 +++ .../ibc/core/commitment/v1/commitment.ts | 280 ++ .../ibc/core/connection/v1/connection.ts | 764 +++ .../codegen/ibc/core/connection/v1/genesis.ts | 117 + .../ibc/core/connection/v1/query.lcd.ts | 62 + .../ibc/core/connection/v1/query.rpc.query.ts | 72 + .../codegen/ibc/core/connection/v1/query.ts | 869 ++++ .../ibc/core/connection/v1/tx.amino.ts | 347 ++ .../ibc/core/connection/v1/tx.registry.ts | 163 + .../ibc/core/connection/v1/tx.rpc.msg.ts | 59 + .../codegen/ibc/core/connection/v1/tx.ts | 837 ++++ .../ibc/core/port/v1/query.rpc.query.ts | 26 + .../codegen/ibc/core/port/v1/query.ts | 204 + .../codegen/ibc/core/types/v1/genesis.ts | 99 + examples/telescope/codegen/ibc/lcd.ts | 107 + .../lightclients/localhost/v1/localhost.ts | 84 + .../solomachine/v1/solomachine.ts | 1542 ++++++ .../solomachine/v2/solomachine.ts | 1542 ++++++ .../lightclients/tendermint/v1/tendermint.ts | 627 +++ examples/telescope/codegen/ibc/rpc.query.ts | 76 + examples/telescope/codegen/ibc/rpc.tx.ts | 67 + examples/telescope/codegen/ics23/bundle.ts | 3 + examples/telescope/codegen/index.ts | 17 + .../codegen/tendermint/abci/types.ts | 4372 +++++++++++++++++ .../telescope/codegen/tendermint/bundle.ts | 32 + .../codegen/tendermint/crypto/keys.ts | 77 + .../codegen/tendermint/crypto/proof.ts | 429 ++ .../codegen/tendermint/libs/bits/types.ts | 93 + .../telescope/codegen/tendermint/p2p/types.ts | 504 ++ .../codegen/tendermint/types/block.ts | 103 + .../codegen/tendermint/types/evidence.ts | 378 ++ .../codegen/tendermint/types/params.ts | 531 ++ .../codegen/tendermint/types/types.ts | 1506 ++++++ .../codegen/tendermint/types/validator.ts | 267 + .../codegen/tendermint/version/types.ts | 160 + examples/telescope/components/astronaut.tsx | 304 ++ examples/telescope/components/features.tsx | 45 + examples/telescope/components/index.tsx | 5 + examples/telescope/components/types.tsx | 38 + examples/telescope/components/user-info.tsx | 54 + .../telescope/components/wallet-connect.tsx | 121 + examples/telescope/config/features.ts | 47 + examples/telescope/config/index.ts | 2 + examples/telescope/config/theme.ts | 65 + examples/telescope/next.config.js | 7 + examples/telescope/package.json | 42 + examples/telescope/pages/_app.tsx | 42 + examples/telescope/pages/api/hello.ts | 13 + examples/telescope/pages/index.tsx | 149 + examples/telescope/proto/confio/LICENSE | 204 + examples/telescope/proto/confio/README.md | 1 + examples/telescope/proto/confio/proofs.proto | 234 + examples/telescope/proto/cosmos/LICENSE | 204 + examples/telescope/proto/cosmos/README.md | 1 + .../proto/cosmos/app/v1alpha1/config.proto | 36 + .../proto/cosmos/app/v1alpha1/module.proto | 93 + .../proto/cosmos/app/v1alpha1/query.proto | 22 + .../proto/cosmos/auth/v1beta1/auth.proto | 47 + .../proto/cosmos/auth/v1beta1/genesis.proto | 17 + .../proto/cosmos/auth/v1beta1/query.proto | 130 + .../proto/cosmos/authz/v1beta1/authz.proto | 46 + .../proto/cosmos/authz/v1beta1/event.proto | 27 + .../proto/cosmos/authz/v1beta1/genesis.proto | 13 + .../proto/cosmos/authz/v1beta1/query.proto | 82 + .../proto/cosmos/authz/v1beta1/tx.proto | 75 + .../proto/cosmos/bank/v1beta1/authz.proto | 19 + .../proto/cosmos/bank/v1beta1/bank.proto | 108 + .../proto/cosmos/bank/v1beta1/genesis.proto | 40 + .../proto/cosmos/bank/v1beta1/query.proto | 231 + .../proto/cosmos/bank/v1beta1/tx.proto | 48 + .../proto/cosmos/base/abci/v1beta1/abci.proto | 158 + .../proto/cosmos/base/kv/v1beta1/kv.proto | 17 + .../base/query/v1beta1/pagination.proto | 56 + .../base/reflection/v1beta1/reflection.proto | 44 + .../base/reflection/v2alpha1/reflection.proto | 218 + .../base/snapshots/v1beta1/snapshot.proto | 70 + .../base/store/v1beta1/commit_info.proto | 29 + .../cosmos/base/store/v1beta1/listening.proto | 16 + .../base/tendermint/v1beta1/query.proto | 138 + .../proto/cosmos/base/v1beta1/coin.proto | 43 + .../capability/v1beta1/capability.proto | 30 + .../cosmos/capability/v1beta1/genesis.proto | 26 + .../proto/cosmos/crisis/v1beta1/genesis.proto | 14 + .../proto/cosmos/crisis/v1beta1/tx.proto | 29 + .../proto/cosmos/crypto/ed25519/keys.proto | 23 + .../proto/cosmos/crypto/hd/v1/hd.proto | 23 + .../cosmos/crypto/keyring/v1/record.proto | 47 + .../proto/cosmos/crypto/multisig/keys.proto | 17 + .../crypto/multisig/v1beta1/multisig.proto | 25 + .../proto/cosmos/crypto/secp256k1/keys.proto | 22 + .../proto/cosmos/crypto/secp256r1/keys.proto | 23 + .../distribution/v1beta1/distribution.proto | 154 + .../cosmos/distribution/v1beta1/genesis.proto | 144 + .../cosmos/distribution/v1beta1/query.proto | 219 + .../cosmos/distribution/v1beta1/tx.proto | 95 + .../cosmos/evidence/v1beta1/evidence.proto | 22 + .../cosmos/evidence/v1beta1/genesis.proto | 12 + .../proto/cosmos/evidence/v1beta1/query.proto | 51 + .../proto/cosmos/evidence/v1beta1/tx.proto | 35 + .../cosmos/feegrant/v1beta1/feegrant.proto | 78 + .../cosmos/feegrant/v1beta1/genesis.proto | 13 + .../proto/cosmos/feegrant/v1beta1/query.proto | 79 + .../proto/cosmos/feegrant/v1beta1/tx.proto | 53 + .../cosmos/genutil/v1beta1/genesis.proto | 12 + .../proto/cosmos/gov/v1/genesis.proto | 26 + .../telescope/proto/cosmos/gov/v1/gov.proto | 132 + .../telescope/proto/cosmos/gov/v1/query.proto | 183 + .../telescope/proto/cosmos/gov/v1/tx.proto | 100 + .../proto/cosmos/gov/v1beta1/genesis.proto | 26 + .../proto/cosmos/gov/v1beta1/gov.proto | 201 + .../proto/cosmos/gov/v1beta1/query.proto | 191 + .../proto/cosmos/gov/v1beta1/tx.proto | 106 + .../proto/cosmos/group/v1/events.proto | 77 + .../proto/cosmos/group/v1/genesis.proto | 38 + .../proto/cosmos/group/v1/query.proto | 308 ++ .../telescope/proto/cosmos/group/v1/tx.proto | 364 ++ .../proto/cosmos/group/v1/types.proto | 308 ++ .../proto/cosmos/mint/v1beta1/genesis.proto | 16 + .../proto/cosmos/mint/v1beta1/mint.proto | 57 + .../proto/cosmos/mint/v1beta1/query.proto | 57 + .../telescope/proto/cosmos/msg/v1/msg.proto | 22 + .../proto/cosmos/nft/v1beta1/event.proto | 26 + .../proto/cosmos/nft/v1beta1/genesis.proto | 22 + .../proto/cosmos/nft/v1beta1/nft.proto | 48 + .../proto/cosmos/nft/v1beta1/query.proto | 125 + .../proto/cosmos/nft/v1beta1/tx.proto | 30 + .../telescope/proto/cosmos/orm/v1/orm.proto | 104 + .../proto/cosmos/orm/v1alpha1/schema.proto | 76 + .../proto/cosmos/params/v1beta1/params.proto | 29 + .../proto/cosmos/params/v1beta1/query.proto | 54 + .../cosmos/slashing/v1beta1/genesis.proto | 47 + .../proto/cosmos/slashing/v1beta1/query.proto | 64 + .../cosmos/slashing/v1beta1/slashing.proto | 45 + .../proto/cosmos/slashing/v1beta1/tx.proto | 30 + .../proto/cosmos/staking/v1beta1/authz.proto | 47 + .../cosmos/staking/v1beta1/genesis.proto | 49 + .../proto/cosmos/staking/v1beta1/query.proto | 349 ++ .../cosmos/staking/v1beta1/staking.proto | 358 ++ .../proto/cosmos/staking/v1beta1/tx.proto | 138 + .../cosmos/tx/signing/v1beta1/signing.proto | 94 + .../proto/cosmos/tx/v1beta1/service.proto | 163 + .../proto/cosmos/tx/v1beta1/tx.proto | 249 + .../proto/cosmos/upgrade/v1beta1/query.proto | 120 + .../proto/cosmos/upgrade/v1beta1/tx.proto | 55 + .../cosmos/upgrade/v1beta1/upgrade.proto | 86 + .../proto/cosmos/vesting/v1beta1/tx.proto | 74 + .../cosmos/vesting/v1beta1/vesting.proto | 76 + examples/telescope/proto/cosmos_proto/LICENSE | 204 + .../telescope/proto/cosmos_proto/README.md | 1 + .../telescope/proto/cosmos_proto/cosmos.proto | 97 + examples/telescope/proto/cosmwasm/LICENSE | 204 + examples/telescope/proto/cosmwasm/README.md | 1 + .../proto/cosmwasm/wasm/v1/genesis.proto | 60 + .../proto/cosmwasm/wasm/v1/ibc.proto | 31 + .../proto/cosmwasm/wasm/v1/proposal.proto | 150 + .../proto/cosmwasm/wasm/v1/query.proto | 223 + .../telescope/proto/cosmwasm/wasm/v1/tx.proto | 135 + .../proto/cosmwasm/wasm/v1/types.proto | 140 + examples/telescope/proto/gogoproto/LICENSE | 34 + examples/telescope/proto/gogoproto/README.md | 1 + examples/telescope/proto/gogoproto/gogo.proto | 145 + examples/telescope/proto/google/LICENSE | 201 + examples/telescope/proto/google/README.md | 1 + .../proto/google/api/annotations.proto | 31 + .../telescope/proto/google/api/http.proto | 375 ++ .../telescope/proto/google/protobuf/any.proto | 155 + .../proto/google/protobuf/descriptor.proto | 885 ++++ .../proto/google/protobuf/duration.proto | 116 + .../proto/google/protobuf/empty.proto | 52 + .../proto/google/protobuf/timestamp.proto | 138 + examples/telescope/proto/ibc/LICENSE | 21 + examples/telescope/proto/ibc/README.md | 1 + .../applications/transfer/v1/genesis.proto | 19 + .../ibc/applications/transfer/v1/query.proto | 67 + .../applications/transfer/v1/transfer.proto | 30 + .../ibc/applications/transfer/v1/tx.proto | 44 + .../ibc/applications/transfer/v2/packet.proto | 19 + .../proto/ibc/core/channel/v1/channel.proto | 148 + .../proto/ibc/core/channel/v1/genesis.proto | 32 + .../proto/ibc/core/channel/v1/query.proto | 376 ++ .../proto/ibc/core/channel/v1/tx.proto | 211 + .../proto/ibc/core/client/v1/client.proto | 104 + .../proto/ibc/core/client/v1/genesis.proto | 48 + .../proto/ibc/core/client/v1/query.proto | 184 + .../proto/ibc/core/client/v1/tx.proto | 99 + .../ibc/core/commitment/v1/commitment.proto | 41 + .../ibc/core/connection/v1/connection.proto | 114 + .../ibc/core/connection/v1/genesis.proto | 18 + .../proto/ibc/core/connection/v1/query.proto | 138 + .../proto/ibc/core/connection/v1/tx.proto | 119 + .../proto/ibc/core/port/v1/query.proto | 35 + .../proto/ibc/core/types/v1/genesis.proto | 23 + .../lightclients/localhost/v1/localhost.proto | 18 + .../solomachine/v1/solomachine.proto | 189 + .../solomachine/v2/solomachine.proto | 189 + .../tendermint/v1/tendermint.proto | 115 + examples/telescope/proto/tendermint/LICENSE | 204 + examples/telescope/proto/tendermint/README.md | 1 + .../proto/tendermint/abci/types.proto | 394 ++ .../proto/tendermint/crypto/keys.proto | 17 + .../proto/tendermint/crypto/proof.proto | 41 + .../proto/tendermint/libs/bits/types.proto | 9 + .../proto/tendermint/p2p/types.proto | 42 + .../proto/tendermint/types/block.proto | 15 + .../proto/tendermint/types/evidence.proto | 38 + .../proto/tendermint/types/params.proto | 79 + .../proto/tendermint/types/types.proto | 153 + .../proto/tendermint/types/validator.proto | 25 + .../proto/tendermint/version/types.proto | 24 + examples/telescope/public/favicon.ico | Bin 0 -> 25531 bytes examples/telescope/scripts/codegen.js | 42 + examples/telescope/styles/Home.module.css | 25 + examples/telescope/styles/globals.css | 26 + examples/telescope/tsconfig.json | 20 + examples/telescope/utils.ts | 24 + templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/package.json | 2 +- yarn.lock | 62 +- 456 files changed, 115442 insertions(+), 34 deletions(-) create mode 100644 examples/telescope/.eslintrc.json create mode 100644 examples/telescope/.gitignore create mode 100644 examples/telescope/README.md create mode 100644 examples/telescope/codegen/confio/proofs.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/config.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/module.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/event.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts create mode 100644 examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts create mode 100644 examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts create mode 100644 examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts create mode 100644 examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts create mode 100644 examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts create mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts create mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/base/v1beta1/coin.ts create mode 100644 examples/telescope/codegen/cosmos/bundle.ts create mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts create mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/client.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/gov.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/events.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/types.ts create mode 100644 examples/telescope/codegen/cosmos/lcd.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/msg/v1/msg.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/event.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/orm/v1/orm.ts create mode 100644 examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/params.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/rpc.tx.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts create mode 100644 examples/telescope/codegen/cosmos_proto/bundle.ts create mode 100644 examples/telescope/codegen/cosmos_proto/cosmos.ts create mode 100644 examples/telescope/codegen/cosmwasm/bundle.ts create mode 100644 examples/telescope/codegen/cosmwasm/client.ts create mode 100644 examples/telescope/codegen/cosmwasm/lcd.ts create mode 100644 examples/telescope/codegen/cosmwasm/rpc.query.ts create mode 100644 examples/telescope/codegen/cosmwasm/rpc.tx.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/types.ts create mode 100644 examples/telescope/codegen/gogoproto/bundle.ts create mode 100644 examples/telescope/codegen/gogoproto/gogo.ts create mode 100644 examples/telescope/codegen/google/api/annotations.ts create mode 100644 examples/telescope/codegen/google/api/http.ts create mode 100644 examples/telescope/codegen/google/bundle.ts create mode 100644 examples/telescope/codegen/google/protobuf/any.ts create mode 100644 examples/telescope/codegen/google/protobuf/descriptor.ts create mode 100644 examples/telescope/codegen/google/protobuf/duration.ts create mode 100644 examples/telescope/codegen/google/protobuf/empty.ts create mode 100644 examples/telescope/codegen/google/protobuf/field_mask.ts create mode 100644 examples/telescope/codegen/google/protobuf/struct.ts create mode 100644 examples/telescope/codegen/google/protobuf/timestamp.ts create mode 100644 examples/telescope/codegen/google/protobuf/wrappers.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts create mode 100644 examples/telescope/codegen/ibc/bundle.ts create mode 100644 examples/telescope/codegen/ibc/client.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/channel.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/client.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/connection.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/types/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/lcd.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts create mode 100644 examples/telescope/codegen/ibc/rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/rpc.tx.ts create mode 100644 examples/telescope/codegen/ics23/bundle.ts create mode 100644 examples/telescope/codegen/index.ts create mode 100644 examples/telescope/codegen/tendermint/abci/types.ts create mode 100644 examples/telescope/codegen/tendermint/bundle.ts create mode 100644 examples/telescope/codegen/tendermint/crypto/keys.ts create mode 100644 examples/telescope/codegen/tendermint/crypto/proof.ts create mode 100644 examples/telescope/codegen/tendermint/libs/bits/types.ts create mode 100644 examples/telescope/codegen/tendermint/p2p/types.ts create mode 100644 examples/telescope/codegen/tendermint/types/block.ts create mode 100644 examples/telescope/codegen/tendermint/types/evidence.ts create mode 100644 examples/telescope/codegen/tendermint/types/params.ts create mode 100644 examples/telescope/codegen/tendermint/types/types.ts create mode 100644 examples/telescope/codegen/tendermint/types/validator.ts create mode 100644 examples/telescope/codegen/tendermint/version/types.ts create mode 100644 examples/telescope/components/astronaut.tsx create mode 100644 examples/telescope/components/features.tsx create mode 100644 examples/telescope/components/index.tsx create mode 100644 examples/telescope/components/types.tsx create mode 100644 examples/telescope/components/user-info.tsx create mode 100644 examples/telescope/components/wallet-connect.tsx create mode 100644 examples/telescope/config/features.ts create mode 100644 examples/telescope/config/index.ts create mode 100644 examples/telescope/config/theme.ts create mode 100644 examples/telescope/next.config.js create mode 100644 examples/telescope/package.json create mode 100644 examples/telescope/pages/_app.tsx create mode 100644 examples/telescope/pages/api/hello.ts create mode 100644 examples/telescope/pages/index.tsx create mode 100644 examples/telescope/proto/confio/LICENSE create mode 100644 examples/telescope/proto/confio/README.md create mode 100644 examples/telescope/proto/confio/proofs.proto create mode 100644 examples/telescope/proto/cosmos/LICENSE create mode 100644 examples/telescope/proto/cosmos/README.md create mode 100644 examples/telescope/proto/cosmos/app/v1alpha1/config.proto create mode 100644 examples/telescope/proto/cosmos/app/v1alpha1/module.proto create mode 100644 examples/telescope/proto/cosmos/app/v1alpha1/query.proto create mode 100644 examples/telescope/proto/cosmos/auth/v1beta1/auth.proto create mode 100644 examples/telescope/proto/cosmos/auth/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/auth/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/authz/v1beta1/authz.proto create mode 100644 examples/telescope/proto/cosmos/authz/v1beta1/event.proto create mode 100644 examples/telescope/proto/cosmos/authz/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/authz/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/authz/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/bank/v1beta1/authz.proto create mode 100644 examples/telescope/proto/cosmos/bank/v1beta1/bank.proto create mode 100644 examples/telescope/proto/cosmos/bank/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/bank/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/bank/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/base/abci/v1beta1/abci.proto create mode 100644 examples/telescope/proto/cosmos/base/kv/v1beta1/kv.proto create mode 100644 examples/telescope/proto/cosmos/base/query/v1beta1/pagination.proto create mode 100644 examples/telescope/proto/cosmos/base/reflection/v1beta1/reflection.proto create mode 100644 examples/telescope/proto/cosmos/base/reflection/v2alpha1/reflection.proto create mode 100644 examples/telescope/proto/cosmos/base/snapshots/v1beta1/snapshot.proto create mode 100644 examples/telescope/proto/cosmos/base/store/v1beta1/commit_info.proto create mode 100644 examples/telescope/proto/cosmos/base/store/v1beta1/listening.proto create mode 100644 examples/telescope/proto/cosmos/base/tendermint/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/base/v1beta1/coin.proto create mode 100644 examples/telescope/proto/cosmos/capability/v1beta1/capability.proto create mode 100644 examples/telescope/proto/cosmos/capability/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/crisis/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/crisis/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/crypto/ed25519/keys.proto create mode 100644 examples/telescope/proto/cosmos/crypto/hd/v1/hd.proto create mode 100644 examples/telescope/proto/cosmos/crypto/keyring/v1/record.proto create mode 100644 examples/telescope/proto/cosmos/crypto/multisig/keys.proto create mode 100644 examples/telescope/proto/cosmos/crypto/multisig/v1beta1/multisig.proto create mode 100644 examples/telescope/proto/cosmos/crypto/secp256k1/keys.proto create mode 100644 examples/telescope/proto/cosmos/crypto/secp256r1/keys.proto create mode 100644 examples/telescope/proto/cosmos/distribution/v1beta1/distribution.proto create mode 100644 examples/telescope/proto/cosmos/distribution/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/distribution/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/distribution/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/evidence/v1beta1/evidence.proto create mode 100644 examples/telescope/proto/cosmos/evidence/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/evidence/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/evidence/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/feegrant/v1beta1/feegrant.proto create mode 100644 examples/telescope/proto/cosmos/feegrant/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/feegrant/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/feegrant/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/genutil/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1/gov.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1/query.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1/tx.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1beta1/gov.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/gov/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/group/v1/events.proto create mode 100644 examples/telescope/proto/cosmos/group/v1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/group/v1/query.proto create mode 100644 examples/telescope/proto/cosmos/group/v1/tx.proto create mode 100644 examples/telescope/proto/cosmos/group/v1/types.proto create mode 100644 examples/telescope/proto/cosmos/mint/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/mint/v1beta1/mint.proto create mode 100644 examples/telescope/proto/cosmos/mint/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/msg/v1/msg.proto create mode 100644 examples/telescope/proto/cosmos/nft/v1beta1/event.proto create mode 100644 examples/telescope/proto/cosmos/nft/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/nft/v1beta1/nft.proto create mode 100644 examples/telescope/proto/cosmos/nft/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/nft/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/orm/v1/orm.proto create mode 100644 examples/telescope/proto/cosmos/orm/v1alpha1/schema.proto create mode 100644 examples/telescope/proto/cosmos/params/v1beta1/params.proto create mode 100644 examples/telescope/proto/cosmos/params/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/slashing/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/slashing/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/slashing/v1beta1/slashing.proto create mode 100644 examples/telescope/proto/cosmos/slashing/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/staking/v1beta1/authz.proto create mode 100644 examples/telescope/proto/cosmos/staking/v1beta1/genesis.proto create mode 100644 examples/telescope/proto/cosmos/staking/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/staking/v1beta1/staking.proto create mode 100644 examples/telescope/proto/cosmos/staking/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/tx/signing/v1beta1/signing.proto create mode 100644 examples/telescope/proto/cosmos/tx/v1beta1/service.proto create mode 100644 examples/telescope/proto/cosmos/tx/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/upgrade/v1beta1/query.proto create mode 100644 examples/telescope/proto/cosmos/upgrade/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/upgrade/v1beta1/upgrade.proto create mode 100644 examples/telescope/proto/cosmos/vesting/v1beta1/tx.proto create mode 100644 examples/telescope/proto/cosmos/vesting/v1beta1/vesting.proto create mode 100644 examples/telescope/proto/cosmos_proto/LICENSE create mode 100644 examples/telescope/proto/cosmos_proto/README.md create mode 100644 examples/telescope/proto/cosmos_proto/cosmos.proto create mode 100644 examples/telescope/proto/cosmwasm/LICENSE create mode 100644 examples/telescope/proto/cosmwasm/README.md create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/genesis.proto create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/ibc.proto create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/proposal.proto create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/query.proto create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/tx.proto create mode 100644 examples/telescope/proto/cosmwasm/wasm/v1/types.proto create mode 100644 examples/telescope/proto/gogoproto/LICENSE create mode 100644 examples/telescope/proto/gogoproto/README.md create mode 100644 examples/telescope/proto/gogoproto/gogo.proto create mode 100644 examples/telescope/proto/google/LICENSE create mode 100644 examples/telescope/proto/google/README.md create mode 100644 examples/telescope/proto/google/api/annotations.proto create mode 100644 examples/telescope/proto/google/api/http.proto create mode 100644 examples/telescope/proto/google/protobuf/any.proto create mode 100644 examples/telescope/proto/google/protobuf/descriptor.proto create mode 100644 examples/telescope/proto/google/protobuf/duration.proto create mode 100644 examples/telescope/proto/google/protobuf/empty.proto create mode 100644 examples/telescope/proto/google/protobuf/timestamp.proto create mode 100644 examples/telescope/proto/ibc/LICENSE create mode 100644 examples/telescope/proto/ibc/README.md create mode 100644 examples/telescope/proto/ibc/applications/transfer/v1/genesis.proto create mode 100644 examples/telescope/proto/ibc/applications/transfer/v1/query.proto create mode 100644 examples/telescope/proto/ibc/applications/transfer/v1/transfer.proto create mode 100644 examples/telescope/proto/ibc/applications/transfer/v1/tx.proto create mode 100644 examples/telescope/proto/ibc/applications/transfer/v2/packet.proto create mode 100644 examples/telescope/proto/ibc/core/channel/v1/channel.proto create mode 100644 examples/telescope/proto/ibc/core/channel/v1/genesis.proto create mode 100644 examples/telescope/proto/ibc/core/channel/v1/query.proto create mode 100644 examples/telescope/proto/ibc/core/channel/v1/tx.proto create mode 100644 examples/telescope/proto/ibc/core/client/v1/client.proto create mode 100644 examples/telescope/proto/ibc/core/client/v1/genesis.proto create mode 100644 examples/telescope/proto/ibc/core/client/v1/query.proto create mode 100644 examples/telescope/proto/ibc/core/client/v1/tx.proto create mode 100644 examples/telescope/proto/ibc/core/commitment/v1/commitment.proto create mode 100644 examples/telescope/proto/ibc/core/connection/v1/connection.proto create mode 100644 examples/telescope/proto/ibc/core/connection/v1/genesis.proto create mode 100644 examples/telescope/proto/ibc/core/connection/v1/query.proto create mode 100644 examples/telescope/proto/ibc/core/connection/v1/tx.proto create mode 100644 examples/telescope/proto/ibc/core/port/v1/query.proto create mode 100644 examples/telescope/proto/ibc/core/types/v1/genesis.proto create mode 100644 examples/telescope/proto/ibc/lightclients/localhost/v1/localhost.proto create mode 100644 examples/telescope/proto/ibc/lightclients/solomachine/v1/solomachine.proto create mode 100644 examples/telescope/proto/ibc/lightclients/solomachine/v2/solomachine.proto create mode 100644 examples/telescope/proto/ibc/lightclients/tendermint/v1/tendermint.proto create mode 100644 examples/telescope/proto/tendermint/LICENSE create mode 100644 examples/telescope/proto/tendermint/README.md create mode 100644 examples/telescope/proto/tendermint/abci/types.proto create mode 100644 examples/telescope/proto/tendermint/crypto/keys.proto create mode 100644 examples/telescope/proto/tendermint/crypto/proof.proto create mode 100644 examples/telescope/proto/tendermint/libs/bits/types.proto create mode 100644 examples/telescope/proto/tendermint/p2p/types.proto create mode 100644 examples/telescope/proto/tendermint/types/block.proto create mode 100644 examples/telescope/proto/tendermint/types/evidence.proto create mode 100644 examples/telescope/proto/tendermint/types/params.proto create mode 100644 examples/telescope/proto/tendermint/types/types.proto create mode 100644 examples/telescope/proto/tendermint/types/validator.proto create mode 100644 examples/telescope/proto/tendermint/version/types.proto create mode 100644 examples/telescope/public/favicon.ico create mode 100644 examples/telescope/scripts/codegen.js create mode 100644 examples/telescope/styles/Home.module.css create mode 100644 examples/telescope/styles/globals.css create mode 100644 examples/telescope/tsconfig.json create mode 100644 examples/telescope/utils.ts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index ca0c26490..f2075cf1a 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.18.7", + "@osmonauts/telescope": "0.19.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/telescope/.eslintrc.json b/examples/telescope/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/telescope/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/telescope/.gitignore b/examples/telescope/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/telescope/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/telescope/README.md b/examples/telescope/README.md new file mode 100644 index 000000000..b91761247 --- /dev/null +++ b/examples/telescope/README.md @@ -0,0 +1,45 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/telescope/codegen/confio/proofs.ts b/examples/telescope/codegen/confio/proofs.ts new file mode 100644 index 000000000..733236dee --- /dev/null +++ b/examples/telescope/codegen/confio/proofs.ts @@ -0,0 +1,1534 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export enum HashOp { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} +export function hashOpFromJSON(object: any): HashOp { + switch (object) { + case 0: + case "NO_HASH": + return HashOp.NO_HASH; + + case 1: + case "SHA256": + return HashOp.SHA256; + + case 2: + case "SHA512": + return HashOp.SHA512; + + case 3: + case "KECCAK": + return HashOp.KECCAK; + + case 4: + case "RIPEMD160": + return HashOp.RIPEMD160; + + case 5: + case "BITCOIN": + return HashOp.BITCOIN; + + case -1: + case "UNRECOGNIZED": + default: + return HashOp.UNRECOGNIZED; + } +} +export function hashOpToJSON(object: HashOp): string { + switch (object) { + case HashOp.NO_HASH: + return "NO_HASH"; + + case HashOp.SHA256: + return "SHA256"; + + case HashOp.SHA512: + return "SHA512"; + + case HashOp.KECCAK: + return "KECCAK"; + + case HashOp.RIPEMD160: + return "RIPEMD160"; + + case HashOp.BITCOIN: + return "BITCOIN"; + + default: + return "UNKNOWN"; + } +} + +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ +export enum LengthOp { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} +export function lengthOpFromJSON(object: any): LengthOp { + switch (object) { + case 0: + case "NO_PREFIX": + return LengthOp.NO_PREFIX; + + case 1: + case "VAR_PROTO": + return LengthOp.VAR_PROTO; + + case 2: + case "VAR_RLP": + return LengthOp.VAR_RLP; + + case 3: + case "FIXED32_BIG": + return LengthOp.FIXED32_BIG; + + case 4: + case "FIXED32_LITTLE": + return LengthOp.FIXED32_LITTLE; + + case 5: + case "FIXED64_BIG": + return LengthOp.FIXED64_BIG; + + case 6: + case "FIXED64_LITTLE": + return LengthOp.FIXED64_LITTLE; + + case 7: + case "REQUIRE_32_BYTES": + return LengthOp.REQUIRE_32_BYTES; + + case 8: + case "REQUIRE_64_BYTES": + return LengthOp.REQUIRE_64_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return LengthOp.UNRECOGNIZED; + } +} +export function lengthOpToJSON(object: LengthOp): string { + switch (object) { + case LengthOp.NO_PREFIX: + return "NO_PREFIX"; + + case LengthOp.VAR_PROTO: + return "VAR_PROTO"; + + case LengthOp.VAR_RLP: + return "VAR_RLP"; + + case LengthOp.FIXED32_BIG: + return "FIXED32_BIG"; + + case LengthOp.FIXED32_LITTLE: + return "FIXED32_LITTLE"; + + case LengthOp.FIXED64_BIG: + return "FIXED64_BIG"; + + case LengthOp.FIXED64_LITTLE: + return "FIXED64_LITTLE"; + + case LengthOp.REQUIRE_32_BYTES: + return "REQUIRE_32_BYTES"; + + case LengthOp.REQUIRE_64_BYTES: + return "REQUIRE_64_BYTES"; + + default: + return "UNKNOWN"; + } +} + +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ +export interface ExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOp | undefined; + path: InnerOp[]; +} + +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ +export interface NonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: ExistenceProof | undefined; + right: ExistenceProof | undefined; +} + +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ +export interface CommitmentProof { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; + batch?: BatchProof | undefined; + compressed?: CompressedBatchProof | undefined; +} + +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ +export interface LeafOp { + hash: HashOp; + prehashKey: HashOp; + prehashValue: HashOp; + length: LengthOp; + + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + prefix: Uint8Array; +} + +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ +export interface InnerOp { + hash: HashOp; + prefix: Uint8Array; + suffix: Uint8Array; +} + +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ +export interface ProofSpec { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leafSpec: LeafOp | undefined; + innerSpec: InnerSpec | undefined; + + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + maxDepth: number; + + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + minDepth: number; +} + +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ +export interface InnerSpec { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + childOrder: number[]; + childSize: number; + minPrefixLength: number; + maxPrefixLength: number; + + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + emptyChild: Uint8Array; + + /** hash is the algorithm that must be used for each InnerOp */ + hash: HashOp; +} + +/** BatchProof is a group of multiple proof types than can be compressed */ +export interface BatchProof { + entries: BatchEntry[]; +} + +/** Use BatchEntry not CommitmentProof, to avoid recursion */ +export interface BatchEntry { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; +} +export interface CompressedBatchProof { + entries: CompressedBatchEntry[]; + lookupInners: InnerOp[]; +} + +/** Use BatchEntry not CommitmentProof, to avoid recursion */ +export interface CompressedBatchEntry { + exist?: CompressedExistenceProof | undefined; + nonexist?: CompressedNonExistenceProof | undefined; +} +export interface CompressedExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOp | undefined; + + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; +} +export interface CompressedNonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: CompressedExistenceProof | undefined; + right: CompressedExistenceProof | undefined; +} + +function createBaseExistenceProof(): ExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const ExistenceProof = { + encode(message: ExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.path) { + InnerOp.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + message.path.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, + path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromJSON(e)) : [] + }; + }, + + toJSON(message: ExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); + + if (message.path) { + obj.path = message.path.map(e => e ? InnerOp.toJSON(e) : undefined); + } else { + obj.path = []; + } + + return obj; + }, + + fromPartial(object: Partial): ExistenceProof { + const message = createBaseExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseNonExistenceProof(): NonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const NonExistenceProof = { + encode(message: NonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = ExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NonExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + left: isSet(object.left) ? ExistenceProof.fromJSON(object.left) : undefined, + right: isSet(object.right) ? ExistenceProof.fromJSON(object.right) : undefined + }; + }, + + toJSON(message: NonExistenceProof): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); + message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined); + message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined); + return obj; + }, + + fromPartial(object: Partial): NonExistenceProof { + const message = createBaseNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? ExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? ExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; + +function createBaseCommitmentProof(): CommitmentProof { + return { + exist: undefined, + nonexist: undefined, + batch: undefined, + compressed: undefined + }; +} + +export const CommitmentProof = { + encode(message: CommitmentProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + if (message.batch !== undefined) { + BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim(); + } + + if (message.compressed !== undefined) { + CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitmentProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.batch = BatchProof.decode(reader, reader.uint32()); + break; + + case 4: + message.compressed = CompressedBatchProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CommitmentProof { + return { + exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined, + batch: isSet(object.batch) ? BatchProof.fromJSON(object.batch) : undefined, + compressed: isSet(object.compressed) ? CompressedBatchProof.fromJSON(object.compressed) : undefined + }; + }, + + toJSON(message: CommitmentProof): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); + message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined); + message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined); + return obj; + }, + + fromPartial(object: Partial): CommitmentProof { + const message = createBaseCommitmentProof(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + message.batch = object.batch !== undefined && object.batch !== null ? BatchProof.fromPartial(object.batch) : undefined; + message.compressed = object.compressed !== undefined && object.compressed !== null ? CompressedBatchProof.fromPartial(object.compressed) : undefined; + return message; + } + +}; + +function createBaseLeafOp(): LeafOp { + return { + hash: 0, + prehashKey: 0, + prehashValue: 0, + length: 0, + prefix: new Uint8Array() + }; +} + +export const LeafOp = { + encode(message: LeafOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prehashKey !== 0) { + writer.uint32(16).int32(message.prehashKey); + } + + if (message.prehashValue !== 0) { + writer.uint32(24).int32(message.prehashValue); + } + + if (message.length !== 0) { + writer.uint32(32).int32(message.length); + } + + if (message.prefix.length !== 0) { + writer.uint32(42).bytes(message.prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLeafOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prehashKey = (reader.int32() as any); + break; + + case 3: + message.prehashValue = (reader.int32() as any); + break; + + case 4: + message.length = (reader.int32() as any); + break; + + case 5: + message.prefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LeafOp { + return { + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, + prehashKey: isSet(object.prehashKey) ? hashOpFromJSON(object.prehashKey) : 0, + prehashValue: isSet(object.prehashValue) ? hashOpFromJSON(object.prehashValue) : 0, + length: isSet(object.length) ? lengthOpFromJSON(object.length) : 0, + prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array() + }; + }, + + toJSON(message: LeafOp): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey)); + message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue)); + message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); + message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): LeafOp { + const message = createBaseLeafOp(); + message.hash = object.hash ?? 0; + message.prehashKey = object.prehashKey ?? 0; + message.prehashValue = object.prehashValue ?? 0; + message.length = object.length ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseInnerOp(): InnerOp { + return { + hash: 0, + prefix: new Uint8Array(), + suffix: new Uint8Array() + }; +} + +export const InnerOp = { + encode(message: InnerOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prefix.length !== 0) { + writer.uint32(18).bytes(message.prefix); + } + + if (message.suffix.length !== 0) { + writer.uint32(26).bytes(message.suffix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prefix = reader.bytes(); + break; + + case 3: + message.suffix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InnerOp { + return { + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, + prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(), + suffix: isSet(object.suffix) ? bytesFromBase64(object.suffix) : new Uint8Array() + }; + }, + + toJSON(message: InnerOp): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); + message.suffix !== undefined && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): InnerOp { + const message = createBaseInnerOp(); + message.hash = object.hash ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + message.suffix = object.suffix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProofSpec(): ProofSpec { + return { + leafSpec: undefined, + innerSpec: undefined, + maxDepth: 0, + minDepth: 0 + }; +} + +export const ProofSpec = { + encode(message: ProofSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.leafSpec !== undefined) { + LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim(); + } + + if (message.innerSpec !== undefined) { + InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim(); + } + + if (message.maxDepth !== 0) { + writer.uint32(24).int32(message.maxDepth); + } + + if (message.minDepth !== 0) { + writer.uint32(32).int32(message.minDepth); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProofSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.leafSpec = LeafOp.decode(reader, reader.uint32()); + break; + + case 2: + message.innerSpec = InnerSpec.decode(reader, reader.uint32()); + break; + + case 3: + message.maxDepth = reader.int32(); + break; + + case 4: + message.minDepth = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ProofSpec { + return { + leafSpec: isSet(object.leafSpec) ? LeafOp.fromJSON(object.leafSpec) : undefined, + innerSpec: isSet(object.innerSpec) ? InnerSpec.fromJSON(object.innerSpec) : undefined, + maxDepth: isSet(object.maxDepth) ? Number(object.maxDepth) : 0, + minDepth: isSet(object.minDepth) ? Number(object.minDepth) : 0 + }; + }, + + toJSON(message: ProofSpec): unknown { + const obj: any = {}; + message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined); + message.innerSpec !== undefined && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined); + message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth)); + message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth)); + return obj; + }, + + fromPartial(object: Partial): ProofSpec { + const message = createBaseProofSpec(); + message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; + message.innerSpec = object.innerSpec !== undefined && object.innerSpec !== null ? InnerSpec.fromPartial(object.innerSpec) : undefined; + message.maxDepth = object.maxDepth ?? 0; + message.minDepth = object.minDepth ?? 0; + return message; + } + +}; + +function createBaseInnerSpec(): InnerSpec { + return { + childOrder: [], + childSize: 0, + minPrefixLength: 0, + maxPrefixLength: 0, + emptyChild: new Uint8Array(), + hash: 0 + }; +} + +export const InnerSpec = { + encode(message: InnerSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.childOrder) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.childSize !== 0) { + writer.uint32(16).int32(message.childSize); + } + + if (message.minPrefixLength !== 0) { + writer.uint32(24).int32(message.minPrefixLength); + } + + if (message.maxPrefixLength !== 0) { + writer.uint32(32).int32(message.maxPrefixLength); + } + + if (message.emptyChild.length !== 0) { + writer.uint32(42).bytes(message.emptyChild); + } + + if (message.hash !== 0) { + writer.uint32(48).int32(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.childOrder.push(reader.int32()); + } + } else { + message.childOrder.push(reader.int32()); + } + + break; + + case 2: + message.childSize = reader.int32(); + break; + + case 3: + message.minPrefixLength = reader.int32(); + break; + + case 4: + message.maxPrefixLength = reader.int32(); + break; + + case 5: + message.emptyChild = reader.bytes(); + break; + + case 6: + message.hash = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InnerSpec { + return { + childOrder: Array.isArray(object?.childOrder) ? object.childOrder.map((e: any) => Number(e)) : [], + childSize: isSet(object.childSize) ? Number(object.childSize) : 0, + minPrefixLength: isSet(object.minPrefixLength) ? Number(object.minPrefixLength) : 0, + maxPrefixLength: isSet(object.maxPrefixLength) ? Number(object.maxPrefixLength) : 0, + emptyChild: isSet(object.emptyChild) ? bytesFromBase64(object.emptyChild) : new Uint8Array(), + hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0 + }; + }, + + toJSON(message: InnerSpec): unknown { + const obj: any = {}; + + if (message.childOrder) { + obj.childOrder = message.childOrder.map(e => Math.round(e)); + } else { + obj.childOrder = []; + } + + message.childSize !== undefined && (obj.childSize = Math.round(message.childSize)); + message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength)); + message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength)); + message.emptyChild !== undefined && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array())); + message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); + return obj; + }, + + fromPartial(object: Partial): InnerSpec { + const message = createBaseInnerSpec(); + message.childOrder = object.childOrder?.map(e => e) || []; + message.childSize = object.childSize ?? 0; + message.minPrefixLength = object.minPrefixLength ?? 0; + message.maxPrefixLength = object.maxPrefixLength ?? 0; + message.emptyChild = object.emptyChild ?? new Uint8Array(); + message.hash = object.hash ?? 0; + return message; + } + +}; + +function createBaseBatchProof(): BatchProof { + return { + entries: [] + }; +} + +export const BatchProof = { + encode(message: BatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + BatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(BatchEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BatchProof { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromJSON(e)) : [] + }; + }, + + toJSON(message: BatchProof): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? BatchEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + return obj; + }, + + fromPartial(object: Partial): BatchProof { + const message = createBaseBatchProof(); + message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBatchEntry(): BatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const BatchEntry = { + encode(message: BatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BatchEntry { + return { + exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined + }; + }, + + toJSON(message: BatchEntry): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); + return obj; + }, + + fromPartial(object: Partial): BatchEntry { + const message = createBaseBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedBatchProof(): CompressedBatchProof { + return { + entries: [], + lookupInners: [] + }; +} + +export const CompressedBatchProof = { + encode(message: CompressedBatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + CompressedBatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.lookupInners) { + InnerOp.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32())); + break; + + case 2: + message.lookupInners.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedBatchProof { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromJSON(e)) : [], + lookupInners: Array.isArray(object?.lookupInners) ? object.lookupInners.map((e: any) => InnerOp.fromJSON(e)) : [] + }; + }, + + toJSON(message: CompressedBatchProof): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + if (message.lookupInners) { + obj.lookupInners = message.lookupInners.map(e => e ? InnerOp.toJSON(e) : undefined); + } else { + obj.lookupInners = []; + } + + return obj; + }, + + fromPartial(object: Partial): CompressedBatchProof { + const message = createBaseCompressedBatchProof(); + message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; + message.lookupInners = object.lookupInners?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCompressedBatchEntry(): CompressedBatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const CompressedBatchEntry = { + encode(message: CompressedBatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedBatchEntry { + return { + exist: isSet(object.exist) ? CompressedExistenceProof.fromJSON(object.exist) : undefined, + nonexist: isSet(object.nonexist) ? CompressedNonExistenceProof.fromJSON(object.nonexist) : undefined + }; + }, + + toJSON(message: CompressedBatchEntry): unknown { + const obj: any = {}; + message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined); + message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined); + return obj; + }, + + fromPartial(object: Partial): CompressedBatchEntry { + const message = createBaseCompressedBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? CompressedNonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedExistenceProof(): CompressedExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const CompressedExistenceProof = { + encode(message: CompressedExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, + path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [] + }; + }, + + toJSON(message: CompressedExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); + + if (message.path) { + obj.path = message.path.map(e => Math.round(e)); + } else { + obj.path = []; + } + + return obj; + }, + + fromPartial(object: Partial): CompressedExistenceProof { + const message = createBaseCompressedExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => e) || []; + return message; + } + +}; + +function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const CompressedNonExistenceProof = { + encode(message: CompressedNonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CompressedNonExistenceProof { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + left: isSet(object.left) ? CompressedExistenceProof.fromJSON(object.left) : undefined, + right: isSet(object.right) ? CompressedExistenceProof.fromJSON(object.right) : undefined + }; + }, + + toJSON(message: CompressedNonExistenceProof): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); + message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined); + message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined); + return obj; + }, + + fromPartial(object: Partial): CompressedNonExistenceProof { + const message = createBaseCompressedNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? CompressedExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? CompressedExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts new file mode 100644 index 000000000..af41c6a29 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts @@ -0,0 +1,172 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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[]; +} + +/** 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 | undefined; +} + +function createBaseConfig(): Config { + return { + modules: [] + }; +} + +export const Config = { + encode(message: Config, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.modules) { + ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Config { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModuleConfig(): ModuleConfig { + return { + name: "", + config: undefined + }; +} + +export const ModuleConfig = { + encode(message: ModuleConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts new file mode 100644 index 000000000..ff474b82b --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts @@ -0,0 +1,308 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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[]; +} + +/** 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 fields containing the + * test "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + revision: number; +} + +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ +export interface MigrateFromInfo { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} + +function createBaseModuleDescriptor(): ModuleDescriptor { + return { + goImport: "", + usePackage: [], + canMigrateFrom: [] + }; +} + +export const ModuleDescriptor = { + encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.goImport !== "") { + writer.uint32(10).string(message.goImport); + } + + for (const v of message.usePackage) { + PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.canMigrateFrom) { + MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.goImport = reader.string(); + break; + + case 2: + message.usePackage.push(PackageReference.decode(reader, reader.uint32())); + break; + + case 3: + message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.usePackage = object.usePackage?.map(e => PackageReference.fromPartial(e)) || []; + message.canMigrateFrom = object.canMigrateFrom?.map(e => MigrateFromInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePackageReference(): PackageReference { + return { + name: "", + revision: 0 + }; +} + +export const PackageReference = { + encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.revision !== 0) { + writer.uint32(16).uint32(message.revision); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePackageReference(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.revision = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.revision = object.revision ?? 0; + return message; + } + +}; + +function createBaseMigrateFromInfo(): MigrateFromInfo { + return { + module: "" + }; +} + +export const MigrateFromInfo = { + encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateFromInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.module = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts new file mode 100644 index 000000000..21a42f3b3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -0,0 +1,26 @@ +import { Config } from "./config"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryConfigRequest, QueryConfigResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + config(request: QueryConfigRequest): Promise; + /*Config returns the current app config.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts new file mode 100644 index 000000000..0c4705584 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts @@ -0,0 +1,112 @@ +import { Config } from "./config"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryConfigRequest is the Query/Config request type. */ +export interface QueryConfigRequest {} + +/** QueryConfigRequest is the Query/Config response type. */ +export interface QueryConfigResponse { + /** config is the current app config. */ + config: Config | undefined; +} + +function createBaseQueryConfigRequest(): QueryConfigRequest { + return {}; +} + +export const QueryConfigRequest = { + encode(_: QueryConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryConfigResponse(): QueryConfigResponse { + return { + config: undefined + }; +} + +export const QueryConfigResponse = { + encode(message: QueryConfigResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + Config.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts new file mode 100644 index 000000000..bc7847cf5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts @@ -0,0 +1,316 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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 { + address: string; + pubKey: Any | undefined; + accountNumber: Long; + sequence: Long; +} + +/** ModuleAccount defines an account for modules that holds coins on a pool. */ +export interface ModuleAccount { + baseAccount: BaseAccount | undefined; + 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; +} + +function createBaseBaseAccount(): BaseAccount { + return { + address: "", + pubKey: undefined, + accountNumber: Long.UZERO, + sequence: Long.UZERO + }; +} + +export const BaseAccount = { + encode(message: BaseAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(24).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(32).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseAccount(); + + 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.accountNumber = (reader.uint64() as Long); + break; + + case 4: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO, + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BaseAccount { + const message = createBaseBaseAccount(); + message.address = object.address ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModuleAccount(): ModuleAccount { + return { + baseAccount: undefined, + name: "", + permissions: [] + }; +} + +export const ModuleAccount = { + encode(message: ModuleAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + for (const v of message.permissions) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.name = reader.string(); + break; + + case 3: + message.permissions.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.name = object.name ?? ""; + message.permissions = object.permissions?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxMemoCharacters: Long.UZERO, + txSigLimit: Long.UZERO, + txSizeCostPerByte: Long.UZERO, + sigVerifyCostEd25519: Long.UZERO, + sigVerifyCostSecp256k1: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxMemoCharacters.isZero()) { + writer.uint32(8).uint64(message.maxMemoCharacters); + } + + if (!message.txSigLimit.isZero()) { + writer.uint32(16).uint64(message.txSigLimit); + } + + if (!message.txSizeCostPerByte.isZero()) { + writer.uint32(24).uint64(message.txSizeCostPerByte); + } + + if (!message.sigVerifyCostEd25519.isZero()) { + writer.uint32(32).uint64(message.sigVerifyCostEd25519); + } + + if (!message.sigVerifyCostSecp256k1.isZero()) { + writer.uint32(40).uint64(message.sigVerifyCostSecp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxMemoCharacters = (reader.uint64() as Long); + break; + + case 2: + message.txSigLimit = (reader.uint64() as Long); + break; + + case 3: + message.txSizeCostPerByte = (reader.uint64() as Long); + break; + + case 4: + message.sigVerifyCostEd25519 = (reader.uint64() as Long); + break; + + case 5: + message.sigVerifyCostSecp256k1 = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + maxMemoCharacters: isSet(object.maxMemoCharacters) ? Long.fromString(object.maxMemoCharacters) : Long.UZERO, + txSigLimit: isSet(object.txSigLimit) ? Long.fromString(object.txSigLimit) : Long.UZERO, + txSizeCostPerByte: isSet(object.txSizeCostPerByte) ? Long.fromString(object.txSizeCostPerByte) : Long.UZERO, + sigVerifyCostEd25519: isSet(object.sigVerifyCostEd25519) ? Long.fromString(object.sigVerifyCostEd25519) : Long.UZERO, + sigVerifyCostSecp256k1: isSet(object.sigVerifyCostSecp256k1) ? Long.fromString(object.sigVerifyCostSecp256k1) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || Long.UZERO).toString()); + message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || Long.UZERO).toString()); + message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || Long.UZERO).toString()); + message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || Long.UZERO).toString()); + message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; + message.txSigLimit = object.txSigLimit !== undefined && object.txSigLimit !== null ? Long.fromValue(object.txSigLimit) : Long.UZERO; + message.txSizeCostPerByte = object.txSizeCostPerByte !== undefined && object.txSizeCostPerByte !== null ? Long.fromValue(object.txSizeCostPerByte) : Long.UZERO; + message.sigVerifyCostEd25519 = object.sigVerifyCostEd25519 !== undefined && object.sigVerifyCostEd25519 !== null ? Long.fromValue(object.sigVerifyCostEd25519) : Long.UZERO; + message.sigVerifyCostSecp256k1 = object.sigVerifyCostSecp256k1 !== undefined && object.sigVerifyCostSecp256k1 !== null ? Long.fromValue(object.sigVerifyCostSecp256k1) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts new file mode 100644 index 000000000..fbbe3e70a --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts @@ -0,0 +1,88 @@ +import { Params } from "./auth"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the auth module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** accounts are the accounts present at genesis. */ + accounts: Any[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + accounts: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.accounts.push(Any.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, + 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; + message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts new file mode 100644 index 000000000..cd2a09263 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -0,0 +1,72 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43 */ + async accounts(params: QueryAccountsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/auth/v1beta1/accounts`; + return await this.request(endpoint, options); + } + + /* Account returns account details based on address. */ + async account(params: QueryAccountRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; + return await this.request(endpoint); + } + + /* Params queries all parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/params`; + return await this.request(endpoint); + } + + /* ModuleAccounts returns all the existing module accounts. */ + async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/module_accounts`; + return await this.request(endpoint); + } + + /* Bech32 queries bech32Prefix */ + async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32`; + return await this.request(endpoint); + } + + /* AddressBytesToString converts Account Address bytes to string */ + async addressBytesToString(params: AddressBytesToStringRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; + return await this.request(endpoint); + } + + /* AddressStringToBytes converts Address string to bytes */ + async addressStringToBytes(params: AddressStringToBytesRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..47d81248e --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -0,0 +1,90 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + accounts(request: QueryAccountsRequest): Promise; + /*Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43*/ + + account(request: QueryAccountRequest): Promise; + /*Account returns account details based on address.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters.*/ + + moduleAccounts(request: QueryModuleAccountsRequest): Promise; + /*ModuleAccounts returns all the existing module accounts.*/ + + bech32Prefix(request: Bech32PrefixRequest): Promise; + /*Bech32 queries bech32Prefix*/ + + addressBytesToString(request: AddressBytesToStringRequest): Promise; + /*AddressBytesToString converts Account Address bytes to string*/ + + addressStringToBytes(request: AddressStringToBytesRequest): Promise; + /*AddressStringToBytes converts Address string to bytes*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); + } + + accounts(request: QueryAccountsRequest): Promise { + const data = QueryAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); + return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); + } + + account(request: QueryAccountRequest): Promise { + const data = QueryAccountRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); + return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + moduleAccounts(request: QueryModuleAccountsRequest): Promise { + const data = QueryModuleAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); + return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); + } + + bech32Prefix(request: Bech32PrefixRequest): Promise { + const data = Bech32PrefixRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); + return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); + } + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + const data = AddressBytesToStringRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); + return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); + } + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + const data = AddressStringToBytesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); + return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts new file mode 100644 index 000000000..4f43d1114 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts @@ -0,0 +1,865 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Params } from "./auth"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 | undefined; +} + +/** + * 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: Any[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ +export interface QueryAccountRequest { + /** address defines the address to query for. */ + address: string; +} + +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ +export interface QueryAccountResponse { + /** account defines the account of the corresponding address. */ + account: Any | undefined; +} + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsResponse { + accounts: Any[]; +} + +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ +export interface Bech32PrefixRequest {} + +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ +export interface Bech32PrefixResponse { + bech32Prefix: string; +} + +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ +export interface AddressBytesToStringRequest { + addressBytes: Uint8Array; +} + +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ +export interface AddressBytesToStringResponse { + addressString: string; +} + +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ +export interface AddressStringToBytesRequest { + addressString: string; +} + +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ +export interface AddressStringToBytesResponse { + addressBytes: Uint8Array; +} + +function createBaseQueryAccountsRequest(): QueryAccountsRequest { + return { + pagination: undefined + }; +} + +export const QueryAccountsRequest = { + encode(message: QueryAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryAccountsResponse(): QueryAccountsResponse { + return { + accounts: [], + pagination: undefined + }; +} + +export const QueryAccountsResponse = { + encode(message: QueryAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + 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: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAccountRequest(): QueryAccountRequest { + return { + address: "" + }; +} + +export const QueryAccountRequest = { + encode(message: QueryAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryModuleAccountsRequest(): QueryModuleAccountsRequest { + return {}; +} + +export const QueryModuleAccountsRequest = { + encode(_: QueryModuleAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryModuleAccountsRequest { + return {}; + }, + + toJSON(_: QueryModuleAccountsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryModuleAccountsRequest { + const message = createBaseQueryModuleAccountsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAccountResponse(): QueryAccountResponse { + return { + account: undefined + }; +} + +export const QueryAccountResponse = { + encode(message: QueryAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.account !== undefined) { + Any.encode(message.account, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.account = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryModuleAccountsResponse(): QueryModuleAccountsResponse { + return { + accounts: [] + }; +} + +export const QueryModuleAccountsResponse = { + encode(message: QueryModuleAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseBech32PrefixRequest(): Bech32PrefixRequest { + return {}; +} + +export const Bech32PrefixRequest = { + encode(_: Bech32PrefixRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): Bech32PrefixRequest { + return {}; + }, + + toJSON(_: Bech32PrefixRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): Bech32PrefixRequest { + const message = createBaseBech32PrefixRequest(); + return message; + } + +}; + +function createBaseBech32PrefixResponse(): Bech32PrefixResponse { + return { + bech32Prefix: "" + }; +} + +export const Bech32PrefixResponse = { + encode(message: Bech32PrefixResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32Prefix !== "") { + writer.uint32(10).string(message.bech32Prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32Prefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressBytesToStringRequest(): AddressBytesToStringRequest { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressBytesToStringRequest = { + encode(message: AddressBytesToStringRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseAddressBytesToStringResponse(): AddressBytesToStringResponse { + return { + addressString: "" + }; +} + +export const AddressBytesToStringResponse = { + encode(message: AddressBytesToStringResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesRequest(): AddressStringToBytesRequest { + return { + addressString: "" + }; +} + +export const AddressStringToBytesRequest = { + encode(message: AddressStringToBytesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesResponse(): AddressStringToBytesResponse { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressStringToBytesResponse = { + encode(message: AddressStringToBytesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts new file mode 100644 index 000000000..1992fcfc0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts @@ -0,0 +1,327 @@ +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ +export interface GenericAuthorization { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} + +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ +export interface Grant { + authorization: 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?: Date | 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 GrantAuthorization { + granter: string; + grantee: string; + authorization: Any | undefined; + expiration: Date | undefined; +} + +/** 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[]; +} + +function createBaseGenericAuthorization(): GenericAuthorization { + return { + msg: "" + }; +} + +export const GenericAuthorization = { + encode(message: GenericAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msg !== "") { + writer.uint32(10).string(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenericAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msg = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + authorization: undefined, + expiration: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseGrantAuthorization(): GrantAuthorization { + return { + granter: "", + grantee: "", + authorization: undefined, + expiration: undefined + }; +} + +export const GrantAuthorization = { + encode(message: GrantAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(26).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseGrantQueueItem(): GrantQueueItem { + return { + msgTypeUrls: [] + }; +} + +export const GrantQueueItem = { + encode(message: GrantQueueItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.msgTypeUrls) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantQueueItem(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrls.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts new file mode 100644 index 000000000..e5a0968e6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts @@ -0,0 +1,188 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** 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; +} + +function createBaseEventGrant(): EventGrant { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventGrant = { + encode(message: EventGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseEventRevoke(): EventRevoke { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventRevoke = { + encode(message: EventRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts new file mode 100644 index 000000000..3cb847912 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts @@ -0,0 +1,70 @@ +import { GrantAuthorization } from "./authz"; +import * as _m0 from "protobufjs/minimal"; + +/** GenesisState defines the authz module's genesis state. */ +export interface GenesisState { + authorization: GrantAuthorization[]; +} + +function createBaseGenesisState(): GenesisState { + return { + authorization: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.authorization) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.authorization.push(GrantAuthorization.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts new file mode 100644 index 000000000..71432a9ba --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -0,0 +1,75 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Returns list of `Authorization`, granted to the grantee by the granter. */ + async grants(params: QueryGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.granter !== "undefined") { + options.params.granter = params.granter; + } + + if (typeof params?.grantee !== "undefined") { + options.params.grantee = params.grantee; + } + + if (typeof params?.msgTypeUrl !== "undefined") { + options.params.msg_type_url = params.msgTypeUrl; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants`; + return await this.request(endpoint, options); + } + + /* GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46 */ + async granterGrants(params: QueryGranterGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; + return await this.request(endpoint, options); + } + + /* GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46 */ + async granteeGrants(params: QueryGranteeGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..5e5242242 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -0,0 +1,51 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + grants(request: QueryGrantsRequest): Promise; + /*Returns list of `Authorization`, granted to the grantee by the granter.*/ + + granterGrants(request: QueryGranterGrantsRequest): Promise; + /*GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46*/ + + granteeGrants(request: QueryGranteeGrantsRequest): Promise; + /*GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); + } + + grants(request: QueryGrantsRequest): Promise { + const data = QueryGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); + return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); + } + + granterGrants(request: QueryGranterGrantsRequest): Promise { + const data = QueryGranterGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); + return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); + } + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + const data = QueryGranteeGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); + return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts new file mode 100644 index 000000000..4361c30e1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts @@ -0,0 +1,515 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantAuthorization } from "./authz"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +function createBaseQueryGrantsRequest(): QueryGrantsRequest { + return { + granter: "", + grantee: "", + msgTypeUrl: "", + pagination: undefined + }; +} + +export const QueryGrantsRequest = { + encode(message: QueryGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGrantsResponse(): QueryGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGrantsResponse = { + encode(message: QueryGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryGranterGrantsRequest = { + encode(message: QueryGranterGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranterGrantsResponse = { + encode(message: QueryGranterGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryGranteeGrantsRequest = { + encode(message: QueryGranteeGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranteeGrantsResponse = { + encode(message: QueryGranteeGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts new file mode 100644 index 000000000..016e9c182 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts @@ -0,0 +1,131 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +import { AminoMsg } from "@cosmjs/amino"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; +export interface AminoMsgGrant extends AminoMsg { + type: "cosmos-sdk/MsgGrant"; + value: { + granter: string; + grantee: string; + grant: { + authorization: { + type_url: string; + value: Uint8Array; + }; + expiration: { + seconds: string; + nanos: number; + }; + }; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/MsgExec"; + value: { + grantee: string; + msgs: { + type_url: string; + value: Uint8Array; + }[]; + }; +} +export interface AminoMsgRevoke extends AminoMsg { + type: "cosmos-sdk/MsgRevoke"; + value: { + granter: string; + grantee: string; + msg_type_url: string; + }; +} +export const AminoConverter = { + "/cosmos.authz.v1beta1.MsgGrant": { + aminoType: "cosmos-sdk/MsgGrant", + toAmino: ({ + granter, + grantee, + grant + }: MsgGrant): AminoMsgGrant["value"] => { + return { + granter, + grantee, + grant: { + authorization: { + type_url: grant.authorization.typeUrl, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + }, + fromAmino: ({ + granter, + grantee, + grant + }: AminoMsgGrant["value"]): MsgGrant => { + return { + granter, + grantee, + grant: { + authorization: { + typeUrl: grant.authorization.type_url, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + } + }, + "/cosmos.authz.v1beta1.MsgExec": { + aminoType: "cosmos-sdk/MsgExec", + toAmino: ({ + grantee, + msgs + }: MsgExec): AminoMsgExec["value"] => { + return { + grantee, + msgs: msgs.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })) + }; + }, + fromAmino: ({ + grantee, + msgs + }: AminoMsgExec["value"]): MsgExec => { + return { + grantee, + msgs: msgs.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })) + }; + } + }, + "/cosmos.authz.v1beta1.MsgRevoke": { + aminoType: "cosmos-sdk/MsgRevoke", + toAmino: ({ + granter, + grantee, + msgTypeUrl + }: MsgRevoke): AminoMsgRevoke["value"] => { + return { + granter, + grantee, + msg_type_url: msgTypeUrl + }; + }, + fromAmino: ({ + granter, + grantee, + msg_type_url + }: AminoMsgRevoke["value"]): MsgRevoke => { + return { + granter, + grantee, + msgTypeUrl: msg_type_url + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts new file mode 100644 index 000000000..ae6eec3b5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts @@ -0,0 +1,127 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..6f29fb67d --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,53 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + grant(request: MsgGrant): Promise; + /*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.*/ + + exec(request: MsgExec): 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.*/ + + revoke(request: MsgRevoke): Promise; + /*Revoke revokes any authorization corresponding to the provided method name on the + granter's account that has been granted to the grantee.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grant = this.grant.bind(this); + this.exec = this.exec.bind(this); + this.revoke = this.revoke.bind(this); + } + + grant(request: MsgGrant): Promise { + const data = MsgGrant.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); + return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + revoke(request: MsgRevoke): Promise { + const data = MsgRevoke.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); + return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts new file mode 100644 index 000000000..c8d97ef5a --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts @@ -0,0 +1,437 @@ +import { Grant } from "./authz"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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. + */ +export interface MsgGrant { + granter: string; + grantee: string; + grant: Grant | undefined; +} + +/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ +export interface MsgExecResponse { + 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[]; +} + +/** MsgGrantResponse defines the Msg/MsgGrant response type. */ +export interface MsgGrantResponse {} + +/** + * 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; +} + +/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ +export interface MsgRevokeResponse {} + +function createBaseMsgGrant(): MsgGrant { + return { + granter: "", + grantee: "", + grant: undefined + }; +} + +export const MsgGrant = { + encode(message: MsgGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.grant !== undefined) { + Grant.encode(message.grant, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.grant = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.grant = object.grant !== undefined && object.grant !== null ? Grant.fromPartial(object.grant) : undefined; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return { + results: [] + }; +} + +export const MsgExecResponse = { + encode(message: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.results) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.results.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + grantee: "", + msgs: [] + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + for (const v of message.msgs) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.msgs.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.msgs = object.msgs?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgGrantResponse(): MsgGrantResponse { + return {}; +} + +export const MsgGrantResponse = { + encode(_: MsgGrantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgGrantResponse { + return {}; + }, + + toJSON(_: MsgGrantResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgGrantResponse { + const message = createBaseMsgGrantResponse(); + return message; + } + +}; + +function createBaseMsgRevoke(): MsgRevoke { + return { + granter: "", + grantee: "", + msgTypeUrl: "" + }; +} + +export const MsgRevoke = { + encode(message: MsgRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeResponse(): MsgRevokeResponse { + return {}; +} + +export const MsgRevokeResponse = { + encode(_: MsgRevokeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRevokeResponse { + return {}; + }, + + toJSON(_: MsgRevokeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRevokeResponse { + const message = createBaseMsgRevokeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts new file mode 100644 index 000000000..2e69df3ab --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts @@ -0,0 +1,75 @@ +import { Coin } 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 { + spendLimit: Coin[]; +} + +function createBaseSendAuthorization(): SendAuthorization { + return { + spendLimit: [] + }; +} + +export const SendAuthorization = { + encode(message: SendAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts new file mode 100644 index 000000000..74f16fd69 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts @@ -0,0 +1,703 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** Params defines the parameters for the bank module. */ +export interface Params { + sendEnabled: SendEnabled[]; + defaultSendEnabled: boolean; +} + +/** + * SendEnabled maps coin denom to a send_enabled status (whether a denom is + * sendable). + */ +export interface SendEnabled { + denom: string; + enabled: boolean; +} + +/** Input models transaction input. */ +export interface Input { + address: string; + coins: Coin[]; +} + +/** Output models transaction outputs. */ +export interface Output { + address: string; + coins: Coin[]; +} + +/** + * 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 { + total: Coin[]; +} + +/** + * 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[]; +} + +/** + * 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; +} + +function createBaseParams(): Params { + return { + sendEnabled: [], + defaultSendEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.sendEnabled) { + SendEnabled.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.defaultSendEnabled === true) { + writer.uint32(16).bool(message.defaultSendEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled.push(SendEnabled.decode(reader, reader.uint32())); + break; + + case 2: + message.defaultSendEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.defaultSendEnabled = object.defaultSendEnabled ?? false; + return message; + } + +}; + +function createBaseSendEnabled(): SendEnabled { + return { + denom: "", + enabled: false + }; +} + +export const SendEnabled = { + encode(message: SendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.enabled === true) { + writer.uint32(16).bool(message.enabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendEnabled(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.enabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.enabled = object.enabled ?? false; + return message; + } + +}; + +function createBaseInput(): Input { + return { + address: "", + coins: [] + }; +} + +export const Input = { + encode(message: Input, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Input { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOutput(): Output { + return { + address: "", + coins: [] + }; +} + +export const Output = { + encode(message: Output, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Output { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOutput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSupply(): Supply { + return { + total: [] + }; +} + +export const Supply = { + encode(message: Supply, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.total) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Supply { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSupply(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDenomUnit(): DenomUnit { + return { + denom: "", + exponent: 0, + aliases: [] + }; +} + +export const DenomUnit = { + encode(message: DenomUnit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.exponent !== 0) { + writer.uint32(16).uint32(message.exponent); + } + + for (const v of message.aliases) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomUnit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.exponent = reader.uint32(); + break; + + case 3: + message.aliases.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.exponent = object.exponent ?? 0; + message.aliases = object.aliases?.map(e => e) || []; + return message; + } + +}; + +function createBaseMetadata(): Metadata { + return { + description: "", + denomUnits: [], + base: "", + display: "", + name: "", + symbol: "", + uri: "", + uriHash: "" + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== "") { + writer.uint32(10).string(message.description); + } + + for (const v of message.denomUnits) { + DenomUnit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.base !== "") { + writer.uint32(26).string(message.base); + } + + if (message.display !== "") { + writer.uint32(34).string(message.display); + } + + if (message.name !== "") { + writer.uint32(42).string(message.name); + } + + if (message.symbol !== "") { + writer.uint32(50).string(message.symbol); + } + + if (message.uri !== "") { + writer.uint32(58).string(message.uri); + } + + if (message.uriHash !== "") { + writer.uint32(66).string(message.uriHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.description = reader.string(); + break; + + case 2: + message.denomUnits.push(DenomUnit.decode(reader, reader.uint32())); + break; + + case 3: + message.base = reader.string(); + break; + + case 4: + message.display = reader.string(); + break; + + case 5: + message.name = reader.string(); + break; + + case 6: + message.symbol = reader.string(); + break; + + case 7: + message.uri = reader.string(); + break; + + case 8: + message.uriHash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denomUnits = object.denomUnits?.map(e => DenomUnit.fromPartial(e)) || []; + message.base = object.base ?? ""; + message.display = object.display ?? ""; + message.name = object.name ?? ""; + message.symbol = object.symbol ?? ""; + message.uri = object.uri ?? ""; + message.uriHash = object.uriHash ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts new file mode 100644 index 000000000..fb48f84eb --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts @@ -0,0 +1,218 @@ +import { Params, Metadata } from "./bank"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the bank module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** 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[]; +} + +/** + * 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + balances: [], + supply: [], + denomMetadata: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.balances) { + Balance.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.denomMetadata) { + Metadata.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balances.push(Balance.decode(reader, reader.uint32())); + break; + + case 3: + message.supply.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.denomMetadata.push(Metadata.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, + 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; + message.balances = object.balances?.map(e => Balance.fromPartial(e)) || []; + message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; + message.denomMetadata = object.denomMetadata?.map(e => Metadata.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBalance(): Balance { + return { + address: "", + coins: [] + }; +} + +export const Balance = { + encode(message: Balance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Balance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBalance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts new file mode 100644 index 000000000..09bc3da46 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -0,0 +1,135 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Balance queries the balance of a single coin for a single account. */ + async balance(params: QueryBalanceRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; + return await this.request(endpoint, options); + } + + /* AllBalances queries the balance of all coins for a single account. */ + async allBalances(params: QueryAllBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; + return await this.request(endpoint, options); + } + + /* SpendableBalances queries the spenable balance of all coins for a single + account. */ + async spendableBalances(params: QuerySpendableBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; + return await this.request(endpoint, options); + } + + /* TotalSupply queries the total supply of all coins. */ + async totalSupply(params: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/supply`; + return await this.request(endpoint, options); + } + + /* SupplyOf queries the supply of a single coin. */ + async supplyOf(params: QuerySupplyOfRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; + return await this.request(endpoint, options); + } + + /* Params queries the parameters of x/bank module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/bank/v1beta1/params`; + return await this.request(endpoint); + } + + /* DenomsMetadata queries the client metadata of a given coin denomination. */ + async denomMetadata(params: QueryDenomMetadataRequest): Promise { + const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; + return await this.request(endpoint); + } + + /* DenomsMetadata queries the client metadata for all registered coin + denominations. */ + async denomsMetadata(params: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; + return await this.request(endpoint, options); + } + + /* DenomOwners queries for all account addresses that own a particular token + denomination. */ + async denomOwners(params: QueryDenomOwnersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..58517177f --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -0,0 +1,111 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + balance(request: QueryBalanceRequest): Promise; + /*Balance queries the balance of a single coin for a single account.*/ + + allBalances(request: QueryAllBalancesRequest): Promise; + /*AllBalances queries the balance of all coins for a single account.*/ + + spendableBalances(request: QuerySpendableBalancesRequest): Promise; + /*SpendableBalances queries the spenable balance of all coins for a single + account.*/ + + totalSupply(request: QueryTotalSupplyRequest): Promise; + /*TotalSupply queries the total supply of all coins.*/ + + supplyOf(request: QuerySupplyOfRequest): Promise; + /*SupplyOf queries the supply of a single coin.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries the parameters of x/bank module.*/ + + denomMetadata(request: QueryDenomMetadataRequest): Promise; + /*DenomsMetadata queries the client metadata of a given coin denomination.*/ + + denomsMetadata(request: QueryDenomsMetadataRequest): Promise; + /*DenomsMetadata queries the client metadata for all registered coin + denominations.*/ + + denomOwners(request: QueryDenomOwnersRequest): Promise; + /*DenomOwners queries for all account addresses that own a particular token + denomination.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); + } + + balance(request: QueryBalanceRequest): Promise { + const data = QueryBalanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); + return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); + } + + allBalances(request: QueryAllBalancesRequest): Promise { + const data = QueryAllBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); + return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); + } + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + const data = QuerySpendableBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); + return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); + } + + totalSupply(request: QueryTotalSupplyRequest): Promise { + const data = QueryTotalSupplyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); + return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); + } + + supplyOf(request: QuerySupplyOfRequest): Promise { + const data = QuerySupplyOfRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); + return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + const data = QueryDenomMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); + return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); + } + + denomsMetadata(request: QueryDenomsMetadataRequest): Promise { + const data = QueryDenomsMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); + return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); + } + + denomOwners(request: QueryDenomOwnersRequest): Promise { + const data = QueryDenomOwnersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); + return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts new file mode 100644 index 000000000..910af3ec6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts @@ -0,0 +1,1400 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Coin } from "../../base/v1beta1/coin"; +import { Params, Metadata } from "./bank"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ +export interface QueryBalanceResponse { + /** balance is the balance of the coin. */ + balance: Coin | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesRequest { + /** address is the address to query spendable balances for. */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesResponse { + /** balances is the spendable balances of all the coins. */ + balances: Coin[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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; +} + +/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfResponse { + /** amount is the supply of the coin. */ + amount: Coin | undefined; +} + +/** QueryParamsRequest defines the request type for querying x/bank parameters. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse defines the response type for querying x/bank parameters. */ +export interface QueryParamsResponse { + params: Params | undefined; +} + +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ +export interface QueryDenomsMetadataRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** 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; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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. + */ +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 | undefined; +} + +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ +export interface QueryDenomOwnersResponse { + denomOwners: DenomOwner[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + address: "", + denom: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.denom !== "") { + writer.uint32(18).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.address = reader.string(); + break; + + case 2: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denom = object.denom ?? ""; + return message; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + balance: undefined + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllBalancesRequest = { + encode(message: QueryAllBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QueryAllBalancesResponse = { + encode(message: QueryAllBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QuerySpendableBalancesRequest = { + encode(message: QuerySpendableBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QuerySpendableBalancesResponse = { + encode(message: QuerySpendableBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { + return { + pagination: undefined + }; +} + +export const QueryTotalSupplyRequest = { + encode(message: QueryTotalSupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { + return { + supply: [], + pagination: undefined + }; +} + +export const QueryTotalSupplyResponse = { + encode(message: QueryTotalSupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.supply.push(Coin.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySupplyOfRequest(): QuerySupplyOfRequest { + return { + denom: "" + }; +} + +export const QuerySupplyOfRequest = { + encode(message: QuerySupplyOfRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQuerySupplyOfResponse(): QuerySupplyOfResponse { + return { + amount: undefined + }; +} + +export const QuerySupplyOfResponse = { + encode(message: QuerySupplyOfResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomsMetadataRequest = { + encode(message: QueryDenomsMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { + return { + metadatas: [], + pagination: undefined + }; +} + +export const QueryDenomsMetadataResponse = { + encode(message: QueryDenomsMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.metadatas) { + Metadata.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadatas.push(Metadata.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDenomMetadataRequest(): QueryDenomMetadataRequest { + return { + denom: "" + }; +} + +export const QueryDenomMetadataRequest = { + encode(message: QueryDenomMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { + return { + metadata: undefined + }; +} + +export const QueryDenomMetadataResponse = { + encode(message: QueryDenomMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.metadata !== undefined) { + Metadata.encode(message.metadata, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadata = Metadata.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { + return { + denom: "", + pagination: undefined + }; +} + +export const QueryDenomOwnersRequest = { + encode(message: QueryDenomOwnersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseDenomOwner(): DenomOwner { + return { + address: "", + balance: undefined + }; +} + +export const DenomOwner = { + encode(message: DenomOwner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomOwner(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { + return { + denomOwners: [], + pagination: undefined + }; +} + +export const QueryDenomOwnersResponse = { + encode(message: QueryDenomOwnersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomOwners) { + DenomOwner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomOwners.push(DenomOwner.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts new file mode 100644 index 000000000..5bbf7b58e --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts @@ -0,0 +1,112 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend, MsgMultiSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgSend"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMultiSend extends AminoMsg { + type: "cosmos-sdk/MsgMultiSend"; + value: { + inputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + outputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.bank.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgSend", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgSend): AminoMsgSend["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgSend["value"]): MsgSend => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.bank.v1beta1.MsgMultiSend": { + aminoType: "cosmos-sdk/MsgMultiSend", + toAmino: ({ + inputs, + outputs + }: MsgMultiSend): AminoMsgMultiSend["value"] => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + inputs, + outputs + }: AminoMsgMultiSend["value"]): MsgMultiSend => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts new file mode 100644 index 000000000..b04a069a7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts @@ -0,0 +1,92 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.encode(value).finish() + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.encode(value).finish() + }; + } + + }, + withTypeUrl: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.fromPartial(value) + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..ee22c9d29 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,37 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + send(request: MsgSend): Promise; + /*Send defines a method for sending coins from one account to another account.*/ + + multiSend(request: MsgMultiSend): Promise; + /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.send = this.send.bind(this); + this.multiSend = this.multiSend.bind(this); + } + + send(request: MsgSend): Promise { + const data = MsgSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); + return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); + } + + multiSend(request: MsgMultiSend): Promise { + const data = MsgMultiSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); + return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts new file mode 100644 index 000000000..c44c98cda --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts @@ -0,0 +1,276 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Input, Output } from "./bank"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgSend represents a message to send coins from one account to another. */ +export interface MsgSend { + fromAddress: string; + toAddress: string; + amount: Coin[]; +} + +/** MsgSendResponse defines the Msg/Send response type. */ +export interface MsgSendResponse {} + +/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ +export interface MsgMultiSend { + inputs: Input[]; + outputs: Output[]; +} + +/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ +export interface MsgMultiSendResponse {} + +function createBaseMsgSend(): MsgSend { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgMultiSend(): MsgMultiSend { + return { + inputs: [], + outputs: [] + }; +} + +export const MsgMultiSend = { + encode(message: MsgMultiSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.inputs) { + Input.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.outputs) { + Output.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inputs.push(Input.decode(reader, reader.uint32())); + break; + + case 2: + message.outputs.push(Output.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.outputs = object.outputs?.map(e => Output.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgMultiSendResponse(): MsgMultiSendResponse { + return {}; +} + +export const MsgMultiSendResponse = { + encode(_: MsgMultiSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSendResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgMultiSendResponse { + return {}; + }, + + toJSON(_: MsgMultiSendResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgMultiSendResponse { + const message = createBaseMsgMultiSendResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts new file mode 100644 index 000000000..d26d2f149 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -0,0 +1,1148 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Event } from "../../../../tendermint/abci/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 | undefined; + + /** + * 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 handler. 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[]; +} + +/** 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[]; +} + +/** + * 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[]; +} + +/** + * Attribute defines an attribute wrapper where the key and value are + * strings instead of raw bytes. + */ +export interface Attribute { + 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; +} + +/** 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[]; +} + +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ +export interface SimulationResponse { + gasInfo: GasInfo | undefined; + result: Result | undefined; +} + +/** + * MsgData defines the data returned in a Result object during message + * execution. + */ + +/** @deprecated */ +export interface MsgData { + msgType: 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[]; +} + +/** 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[]; +} + +function createBaseTxResponse(): TxResponse { + return { + height: Long.ZERO, + txhash: "", + codespace: "", + code: 0, + data: "", + rawLog: "", + logs: [], + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + tx: undefined, + timestamp: "", + events: [] + }; +} + +export const TxResponse = { + encode(message: TxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.txhash !== "") { + writer.uint32(18).string(message.txhash); + } + + if (message.codespace !== "") { + writer.uint32(26).string(message.codespace); + } + + if (message.code !== 0) { + writer.uint32(32).uint32(message.code); + } + + if (message.data !== "") { + writer.uint32(42).string(message.data); + } + + if (message.rawLog !== "") { + writer.uint32(50).string(message.rawLog); + } + + for (const v of message.logs) { + ABCIMessageLog.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.info !== "") { + writer.uint32(66).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(72).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(80).int64(message.gasUsed); + } + + if (message.tx !== undefined) { + Any.encode(message.tx, writer.uint32(90).fork()).ldelim(); + } + + if (message.timestamp !== "") { + writer.uint32(98).string(message.timestamp); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.txhash = reader.string(); + break; + + case 3: + message.codespace = reader.string(); + break; + + case 4: + message.code = reader.uint32(); + break; + + case 5: + message.data = reader.string(); + break; + + case 6: + message.rawLog = reader.string(); + break; + + case 7: + message.logs.push(ABCIMessageLog.decode(reader, reader.uint32())); + break; + + case 8: + message.info = reader.string(); + break; + + case 9: + message.gasWanted = (reader.int64() as Long); + break; + + case 10: + message.gasUsed = (reader.int64() as Long); + break; + + case 11: + message.tx = Any.decode(reader, reader.uint32()); + break; + + case 12: + message.timestamp = reader.string(); + break; + + case 13: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TxResponse { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.txhash = object.txhash ?? ""; + message.codespace = object.codespace ?? ""; + message.code = object.code ?? 0; + message.data = object.data ?? ""; + message.rawLog = object.rawLog ?? ""; + message.logs = object.logs?.map(e => ABCIMessageLog.fromPartial(e)) || []; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.tx = object.tx !== undefined && object.tx !== null ? Any.fromPartial(object.tx) : undefined; + message.timestamp = object.timestamp ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseABCIMessageLog(): ABCIMessageLog { + return { + msgIndex: 0, + log: "", + events: [] + }; +} + +export const ABCIMessageLog = { + encode(message: ABCIMessageLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgIndex !== 0) { + writer.uint32(8).uint32(message.msgIndex); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + StringEvent.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseABCIMessageLog(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgIndex = reader.uint32(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(StringEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.log = object.log ?? ""; + message.events = object.events?.map(e => StringEvent.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStringEvent(): StringEvent { + return { + type: "", + attributes: [] + }; +} + +export const StringEvent = { + encode(message: StringEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + Attribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStringEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(Attribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAttribute(): Attribute { + return { + key: "", + value: "" + }; +} + +export const Attribute = { + encode(message: Attribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Attribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAttribute(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseGasInfo(): GasInfo { + return { + gasWanted: Long.UZERO, + gasUsed: Long.UZERO + }; +} + +export const GasInfo = { + encode(message: GasInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.gasWanted.isZero()) { + writer.uint32(8).uint64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(16).uint64(message.gasUsed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGasInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasWanted = (reader.uint64() as Long); + break; + + case 2: + message.gasUsed = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GasInfo { + return { + gasWanted: isSet(object.gasWanted) ? Long.fromString(object.gasWanted) : Long.UZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.UZERO + }; + }, + + toJSON(message: GasInfo): unknown { + const obj: any = {}; + message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.UZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GasInfo { + const message = createBaseGasInfo(); + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.UZERO; + return message; + } + +}; + +function createBaseResult(): Result { + return { + data: new Uint8Array(), + log: "", + events: [], + msgResponses: [] + }; +} + +export const Result = { + encode(message: Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Result { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 4: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.log = object.log ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSimulationResponse(): SimulationResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulationResponse = { + encode(message: SimulationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseMsgData(): MsgData { + return { + msgType: "", + data: new Uint8Array() + }; +} + +export const MsgData = { + encode(message: MsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgType !== "") { + writer.uint32(10).string(message.msgType); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgType = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseTxMsgData(): TxMsgData { + return { + data: [], + msgResponses: [] + }; +} + +export const TxMsgData = { + encode(message: TxMsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.data) { + MsgData.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data.push(MsgData.decode(reader, reader.uint32())); + break; + + case 2: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSearchTxsResult(): SearchTxsResult { + return { + totalCount: Long.UZERO, + count: Long.UZERO, + pageNumber: Long.UZERO, + pageTotal: Long.UZERO, + limit: Long.UZERO, + txs: [] + }; +} + +export const SearchTxsResult = { + encode(message: SearchTxsResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.totalCount.isZero()) { + writer.uint32(8).uint64(message.totalCount); + } + + if (!message.count.isZero()) { + writer.uint32(16).uint64(message.count); + } + + if (!message.pageNumber.isZero()) { + writer.uint32(24).uint64(message.pageNumber); + } + + if (!message.pageTotal.isZero()) { + writer.uint32(32).uint64(message.pageTotal); + } + + if (!message.limit.isZero()) { + writer.uint32(40).uint64(message.limit); + } + + for (const v of message.txs) { + TxResponse.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSearchTxsResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.totalCount = (reader.uint64() as Long); + break; + + case 2: + message.count = (reader.uint64() as Long); + break; + + case 3: + message.pageNumber = (reader.uint64() as Long); + break; + + case 4: + message.pageTotal = (reader.uint64() as Long); + break; + + case 5: + message.limit = (reader.uint64() as Long); + break; + + case 6: + message.txs.push(TxResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SearchTxsResult { + return { + totalCount: isSet(object.totalCount) ? Long.fromString(object.totalCount) : Long.UZERO, + count: isSet(object.count) ? Long.fromString(object.count) : Long.UZERO, + pageNumber: isSet(object.pageNumber) ? Long.fromString(object.pageNumber) : Long.UZERO, + pageTotal: isSet(object.pageTotal) ? Long.fromString(object.pageTotal) : Long.UZERO, + limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.count !== undefined && (obj.count = (message.count || Long.UZERO).toString()); + message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || Long.UZERO).toString()); + message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || Long.UZERO).toString()); + message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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 ? Long.fromValue(object.totalCount) : Long.UZERO; + message.count = object.count !== undefined && object.count !== null ? Long.fromValue(object.count) : Long.UZERO; + message.pageNumber = object.pageNumber !== undefined && object.pageNumber !== null ? Long.fromValue(object.pageNumber) : Long.UZERO; + message.pageTotal = object.pageTotal !== undefined && object.pageTotal !== null ? Long.fromValue(object.pageTotal) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.txs = object.txs?.map(e => TxResponse.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts new file mode 100644 index 000000000..a925f2346 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts @@ -0,0 +1,145 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** Pairs defines a repeated slice of Pair objects. */ +export interface Pairs { + pairs: Pair[]; +} + +/** Pair defines a key/value bytes tuple. */ +export interface Pair { + key: Uint8Array; + value: Uint8Array; +} + +function createBasePairs(): Pairs { + return { + pairs: [] + }; +} + +export const Pairs = { + encode(message: Pairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + Pair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBasePair(): Pair { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Pair = { + encode(message: Pair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Pair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts new file mode 100644 index 000000000..a1896f5f0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -0,0 +1,246 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBasePageRequest(): PageRequest { + return { + key: new Uint8Array(), + offset: Long.UZERO, + limit: Long.UZERO, + countTotal: false, + reverse: false + }; +} + +export const PageRequest = { + encode(message: PageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (!message.offset.isZero()) { + writer.uint32(16).uint64(message.offset); + } + + if (!message.limit.isZero()) { + writer.uint32(24).uint64(message.limit); + } + + if (message.countTotal === true) { + writer.uint32(32).bool(message.countTotal); + } + + if (message.reverse === true) { + writer.uint32(40).bool(message.reverse); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.offset = (reader.uint64() as Long); + break; + + case 3: + message.limit = (reader.uint64() as Long); + break; + + case 4: + message.countTotal = reader.bool(); + break; + + case 5: + message.reverse = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PageRequest { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + offset: isSet(object.offset) ? Long.fromString(object.offset) : Long.UZERO, + limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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(); + message.offset = object.offset !== undefined && object.offset !== null ? Long.fromValue(object.offset) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.countTotal = object.countTotal ?? false; + message.reverse = object.reverse ?? false; + return message; + } + +}; + +function createBasePageResponse(): PageResponse { + return { + nextKey: new Uint8Array(), + total: Long.UZERO + }; +} + +export const PageResponse = { + encode(message: PageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nextKey.length !== 0) { + writer.uint32(10).bytes(message.nextKey); + } + + if (!message.total.isZero()) { + writer.uint32(16).uint64(message.total); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextKey = reader.bytes(); + break; + + case 2: + message.total = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PageResponse { + return { + nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array(), + total: isSet(object.total) ? Long.fromString(object.total) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): PageResponse { + const message = createBasePageResponse(); + message.nextKey = object.nextKey ?? new Uint8Array(); + message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts new file mode 100644 index 000000000..42369d351 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -0,0 +1,254 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesRequest {} + +/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesResponse { + /** interface_names is an array of all the registered interfaces. */ + interfaceNames: 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; +} + +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ +export interface ListImplementationsResponse { + implementationMessageNames: string[]; +} + +function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { + return {}; +} + +export const ListAllInterfacesRequest = { + encode(_: ListAllInterfacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { + return { + interfaceNames: [] + }; +} + +export const ListAllInterfacesResponse = { + encode(message: ListAllInterfacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaceNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListImplementationsRequest(): ListImplementationsRequest { + return { + interfaceName: "" + }; +} + +export const ListImplementationsRequest = { + encode(message: ListImplementationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.interfaceName !== "") { + writer.uint32(10).string(message.interfaceName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseListImplementationsResponse(): ListImplementationsResponse { + return { + implementationMessageNames: [] + }; +} + +export const ListImplementationsResponse = { + encode(message: ListImplementationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.implementationMessageNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts new file mode 100644 index 000000000..d629b4537 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -0,0 +1,1853 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** chain provides the chain descriptor */ + chain: ChainDescriptor | undefined; + + /** codec provides metadata information regarding codec related types */ + codec: CodecDescriptor | undefined; + + /** configuration provides metadata information regarding the sdk.Config type */ + configuration: ConfigurationDescriptor | undefined; + + /** query_services provides metadata information regarding the available queriable endpoints */ + queryServices: QueryServicesDescriptor | undefined; + + /** tx provides metadata information regarding how to send transactions to the given application */ + tx: TxDescriptor | undefined; +} + +/** 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[]; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** ChainDescriptor describes chain information of the application */ +export interface ChainDescriptor { + /** id is the chain id */ + 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[]; +} + +/** 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[]; +} + +/** 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; +} + +/** + * 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[]; +} + +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ +export interface ConfigurationDescriptor { + /** bech32_account_address_prefix is the account address prefix */ + bech32AccountAddressPrefix: 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; +} + +/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ +export interface GetAuthnDescriptorRequest {} + +/** 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 | undefined; +} + +/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ +export interface GetChainDescriptorRequest {} + +/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ +export interface GetChainDescriptorResponse { + /** chain describes application chain information */ + chain: ChainDescriptor | undefined; +} + +/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ +export interface GetCodecDescriptorRequest {} + +/** 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 | undefined; +} + +/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorRequest {} + +/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorResponse { + /** config describes the application's sdk.Config */ + config: ConfigurationDescriptor | undefined; +} + +/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorRequest {} + +/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorResponse { + /** queries provides information on the available queryable services */ + queries: QueryServicesDescriptor | undefined; +} + +/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ +export interface GetTxDescriptorRequest {} + +/** 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 | undefined; +} + +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ +export interface QueryServicesDescriptor { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + queryServices: QueryServiceDescriptor[]; +} + +/** 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[]; +} + +/** + * 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; +} + +function createBaseAppDescriptor(): AppDescriptor { + return { + authn: undefined, + chain: undefined, + codec: undefined, + configuration: undefined, + queryServices: undefined, + tx: undefined + }; +} + +export const AppDescriptor = { + encode(message: AppDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(18).fork()).ldelim(); + } + + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(26).fork()).ldelim(); + } + + if (message.configuration !== undefined) { + ConfigurationDescriptor.encode(message.configuration, writer.uint32(34).fork()).ldelim(); + } + + if (message.queryServices !== undefined) { + QueryServicesDescriptor.encode(message.queryServices, writer.uint32(42).fork()).ldelim(); + } + + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAppDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + case 3: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + case 4: + message.configuration = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + case 5: + message.queryServices = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + case 6: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; + message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; + message.configuration = object.configuration !== undefined && object.configuration !== null ? ConfigurationDescriptor.fromPartial(object.configuration) : undefined; + message.queryServices = object.queryServices !== undefined && object.queryServices !== null ? QueryServicesDescriptor.fromPartial(object.queryServices) : undefined; + message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; + return message; + } + +}; + +function createBaseTxDescriptor(): TxDescriptor { + return { + fullname: "", + msgs: [] + }; +} + +export const TxDescriptor = { + encode(message: TxDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.msgs) { + MsgDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.msgs.push(MsgDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.msgs = object.msgs?.map(e => MsgDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthnDescriptor(): AuthnDescriptor { + return { + signModes: [] + }; +} + +export const AuthnDescriptor = { + encode(message: AuthnDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signModes) { + SigningModeDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthnDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signModes.push(SigningModeDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSigningModeDescriptor(): SigningModeDescriptor { + return { + name: "", + number: 0, + authnInfoProviderMethodFullname: "" + }; +} + +export const SigningModeDescriptor = { + encode(message: SigningModeDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.authnInfoProviderMethodFullname !== "") { + writer.uint32(26).string(message.authnInfoProviderMethodFullname); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSigningModeDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.authnInfoProviderMethodFullname = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.number = object.number ?? 0; + message.authnInfoProviderMethodFullname = object.authnInfoProviderMethodFullname ?? ""; + return message; + } + +}; + +function createBaseChainDescriptor(): ChainDescriptor { + return { + id: "" + }; +} + +export const ChainDescriptor = { + encode(message: ChainDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChainDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseCodecDescriptor(): CodecDescriptor { + return { + interfaces: [] + }; +} + +export const CodecDescriptor = { + encode(message: CodecDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaces) { + InterfaceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodecDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.interfaces.push(InterfaceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + fullname: "", + interfaceAcceptingMessages: [], + interfaceImplementers: [] + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.interfaceAcceptingMessages) { + InterfaceAcceptingMessageDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.interfaceImplementers) { + InterfaceImplementerDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.interfaceAcceptingMessages.push(InterfaceAcceptingMessageDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.interfaceImplementers.push(InterfaceImplementerDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.interfaceAcceptingMessages = object.interfaceAcceptingMessages?.map(e => InterfaceAcceptingMessageDescriptor.fromPartial(e)) || []; + message.interfaceImplementers = object.interfaceImplementers?.map(e => InterfaceImplementerDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseInterfaceImplementerDescriptor(): InterfaceImplementerDescriptor { + return { + fullname: "", + typeUrl: "" + }; +} + +export const InterfaceImplementerDescriptor = { + encode(message: InterfaceImplementerDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.typeUrl !== "") { + writer.uint32(18).string(message.typeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceImplementerDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.typeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.typeUrl = object.typeUrl ?? ""; + return message; + } + +}; + +function createBaseInterfaceAcceptingMessageDescriptor(): InterfaceAcceptingMessageDescriptor { + return { + fullname: "", + fieldDescriptorNames: [] + }; +} + +export const InterfaceAcceptingMessageDescriptor = { + encode(message: InterfaceAcceptingMessageDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.fieldDescriptorNames) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceAcceptingMessageDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.fieldDescriptorNames.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.fieldDescriptorNames = object.fieldDescriptorNames?.map(e => e) || []; + return message; + } + +}; + +function createBaseConfigurationDescriptor(): ConfigurationDescriptor { + return { + bech32AccountAddressPrefix: "" + }; +} + +export const ConfigurationDescriptor = { + encode(message: ConfigurationDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32AccountAddressPrefix !== "") { + writer.uint32(10).string(message.bech32AccountAddressPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConfigurationDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32AccountAddressPrefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgDescriptor(): MsgDescriptor { + return { + msgTypeUrl: "" + }; +} + +export const MsgDescriptor = { + encode(message: MsgDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(10).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGetAuthnDescriptorRequest(): GetAuthnDescriptorRequest { + return {}; +} + +export const GetAuthnDescriptorRequest = { + encode(_: GetAuthnDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetAuthnDescriptorRequest { + return {}; + }, + + toJSON(_: GetAuthnDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetAuthnDescriptorRequest { + const message = createBaseGetAuthnDescriptorRequest(); + return message; + } + +}; + +function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { + return { + authn: undefined + }; +} + +export const GetAuthnDescriptorResponse = { + encode(message: GetAuthnDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetChainDescriptorRequest(): GetChainDescriptorRequest { + return {}; +} + +export const GetChainDescriptorRequest = { + encode(_: GetChainDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetChainDescriptorRequest { + return {}; + }, + + toJSON(_: GetChainDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetChainDescriptorRequest { + const message = createBaseGetChainDescriptorRequest(); + return message; + } + +}; + +function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { + return { + chain: undefined + }; +} + +export const GetChainDescriptorResponse = { + encode(message: GetChainDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetCodecDescriptorRequest(): GetCodecDescriptorRequest { + return {}; +} + +export const GetCodecDescriptorRequest = { + encode(_: GetCodecDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetCodecDescriptorRequest { + return {}; + }, + + toJSON(_: GetCodecDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetCodecDescriptorRequest { + const message = createBaseGetCodecDescriptorRequest(); + return message; + } + +}; + +function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { + return { + codec: undefined + }; +} + +export const GetCodecDescriptorResponse = { + encode(message: GetCodecDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetConfigurationDescriptorRequest(): GetConfigurationDescriptorRequest { + return {}; +} + +export const GetConfigurationDescriptorRequest = { + encode(_: GetConfigurationDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetConfigurationDescriptorRequest { + return {}; + }, + + toJSON(_: GetConfigurationDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetConfigurationDescriptorRequest { + const message = createBaseGetConfigurationDescriptorRequest(); + return message; + } + +}; + +function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { + return { + config: undefined + }; +} + +export const GetConfigurationDescriptorResponse = { + encode(message: GetConfigurationDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + ConfigurationDescriptor.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.config = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorRequest(): GetQueryServicesDescriptorRequest { + return {}; +} + +export const GetQueryServicesDescriptorRequest = { + encode(_: GetQueryServicesDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetQueryServicesDescriptorRequest { + return {}; + }, + + toJSON(_: GetQueryServicesDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetQueryServicesDescriptorRequest { + const message = createBaseGetQueryServicesDescriptorRequest(); + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { + return { + queries: undefined + }; +} + +export const GetQueryServicesDescriptorResponse = { + encode(message: GetQueryServicesDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.queries !== undefined) { + QueryServicesDescriptor.encode(message.queries, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queries = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseGetTxDescriptorRequest(): GetTxDescriptorRequest { + return {}; +} + +export const GetTxDescriptorRequest = { + encode(_: GetTxDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): GetTxDescriptorRequest { + return {}; + }, + + toJSON(_: GetTxDescriptorRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): GetTxDescriptorRequest { + const message = createBaseGetTxDescriptorRequest(); + return message; + } + +}; + +function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { + return { + tx: undefined + }; +} + +export const GetTxDescriptorResponse = { + encode(message: GetTxDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryServicesDescriptor(): QueryServicesDescriptor { + return { + queryServices: [] + }; +} + +export const QueryServicesDescriptor = { + encode(message: QueryServicesDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.queryServices) { + QueryServiceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServicesDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queryServices.push(QueryServiceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryServiceDescriptor(): QueryServiceDescriptor { + return { + fullname: "", + isModule: false, + methods: [] + }; +} + +export const QueryServiceDescriptor = { + encode(message: QueryServiceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.isModule === true) { + writer.uint32(16).bool(message.isModule); + } + + for (const v of message.methods) { + QueryMethodDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServiceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.isModule = reader.bool(); + break; + + case 3: + message.methods.push(QueryMethodDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.isModule = object.isModule ?? false; + message.methods = object.methods?.map(e => QueryMethodDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryMethodDescriptor(): QueryMethodDescriptor { + return { + name: "", + fullQueryPath: "" + }; +} + +export const QueryMethodDescriptor = { + encode(message: QueryMethodDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.fullQueryPath !== "") { + writer.uint32(18).string(message.fullQueryPath); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryMethodDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.fullQueryPath = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.fullQueryPath = object.fullQueryPath ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts new file mode 100644 index 000000000..7b831c728 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -0,0 +1,759 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** Snapshot contains Tendermint state sync snapshot info. */ +export interface Snapshot { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata: Metadata | undefined; +} + +/** Metadata contains SDK-specific snapshot metadata. */ +export interface Metadata { + /** SHA-256 chunk hashes */ + chunkHashes: Uint8Array[]; +} + +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ +export interface SnapshotItem { + store?: SnapshotStoreItem | undefined; + iavl?: SnapshotIAVLItem | undefined; + extension?: SnapshotExtensionMeta | undefined; + extensionPayload?: SnapshotExtensionPayload | undefined; + kv?: SnapshotKVItem | undefined; + schema?: SnapshotSchema | undefined; +} + +/** SnapshotStoreItem contains metadata about a snapshotted store. */ +export interface SnapshotStoreItem { + name: string; +} + +/** SnapshotIAVLItem is an exported IAVL node. */ +export interface SnapshotIAVLItem { + key: Uint8Array; + value: Uint8Array; + + /** version is block height */ + version: Long; + + /** height is depth of the tree. */ + height: number; +} + +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ +export interface SnapshotExtensionMeta { + name: string; + format: number; +} + +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ +export interface SnapshotExtensionPayload { + payload: Uint8Array; +} + +/** SnapshotKVItem is an exported Key/Value Pair */ +export interface SnapshotKVItem { + key: Uint8Array; + value: Uint8Array; +} + +/** SnapshotSchema is an exported schema of smt store */ +export interface SnapshotSchema { + keys: Uint8Array[]; +} + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: undefined + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + 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; + } + +}; + +function createBaseMetadata(): Metadata { + return { + chunkHashes: [] + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.chunkHashes) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotItem(): SnapshotItem { + return { + store: undefined, + iavl: undefined, + extension: undefined, + extensionPayload: undefined, + kv: undefined, + schema: undefined + }; +} + +export const SnapshotItem = { + encode(message: SnapshotItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotStoreItem(): SnapshotStoreItem { + return { + name: "" + }; +} + +export const SnapshotStoreItem = { + encode(message: SnapshotStoreItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { + return { + key: new Uint8Array(), + value: new Uint8Array(), + version: Long.ZERO, + height: 0 + }; +} + +export const SnapshotIAVLItem = { + encode(message: SnapshotIAVLItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.version); + } + + if (message.height !== 0) { + writer.uint32(32).int32(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.height = object.height ?? 0; + return message; + } + +}; + +function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { + return { + name: "", + format: 0 + }; +} + +export const SnapshotExtensionMeta = { + encode(message: SnapshotExtensionMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { + return { + payload: new Uint8Array() + }; +} + +export const SnapshotExtensionPayload = { + encode(message: SnapshotExtensionPayload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.payload.length !== 0) { + writer.uint32(10).bytes(message.payload); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotKVItem(): SnapshotKVItem { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const SnapshotKVItem = { + encode(message: SnapshotKVItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSnapshotSchema(): SnapshotSchema { + return { + keys: [] + }; +} + +export const SnapshotSchema = { + encode(message: SnapshotSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keys) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts new file mode 100644 index 000000000..5d7a60120 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -0,0 +1,242 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * CommitInfo defines commit information used by the multi-store when committing + * a version/height. + */ +export interface CommitInfo { + version: Long; + storeInfos: StoreInfo[]; +} + +/** + * 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 | undefined; +} + +/** + * CommitID defines the committment information when a specific store is + * committed. + */ +export interface CommitID { + version: Long; + hash: Uint8Array; +} + +function createBaseCommitInfo(): CommitInfo { + return { + version: Long.ZERO, + storeInfos: [] + }; +} + +export const CommitInfo = { + encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + for (const v of message.storeInfos) { + StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStoreInfo(): StoreInfo { + return { + name: "", + commitId: undefined + }; +} + +export const StoreInfo = { + encode(message: StoreInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseCommitID(): CommitID { + return { + version: Long.ZERO, + hash: new Uint8Array() + }; +} + +export const CommitID = { + encode(message: CommitID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.version) : Long.ZERO, + hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() + }; + }, + + toJSON(message: CommitID): unknown { + const obj: any = {}; + message.version !== undefined && (obj.version = (message.version || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts new file mode 100644 index 000000000..f0a4203f7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts @@ -0,0 +1,112 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +function createBaseStoreKVPair(): StoreKVPair { + return { + storeKey: "", + delete: false, + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const StoreKVPair = { + encode(message: StoreKVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreKVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts new file mode 100644 index 000000000..641acd5b4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -0,0 +1,80 @@ +import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { BlockID } from "../../../../tendermint/types/types"; +import { Block } from "../../../../tendermint/types/block"; +import { NodeInfo } from "../../../../tendermint/p2p/types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; + +/** Service defines the RPC service */ +export interface Service { + getNodeInfo(request: GetNodeInfoRequest): Promise; + /*GetNodeInfo queries the current node info.*/ + + getSyncing(request: GetSyncingRequest): Promise; + /*GetSyncing queries node syncing.*/ + + getLatestBlock(request: GetLatestBlockRequest): Promise; + /*GetLatestBlock returns the latest block.*/ + + getBlockByHeight(request: GetBlockByHeightRequest): Promise; + /*GetBlockByHeight queries block for given height.*/ + + getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise; + /*GetLatestValidatorSet queries latest validator-set.*/ + + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; + /*GetValidatorSetByHeight queries validator-set at a given height.*/ + +} +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); + } + + 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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(data))); + } + + getLatestValidatorSet(request: GetLatestValidatorSetRequest): 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 _m0.Reader(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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts new file mode 100644 index 000000000..f4308c229 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -0,0 +1,1181 @@ +import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { BlockID } from "../../../../tendermint/types/types"; +import { Block } from "../../../../tendermint/types/block"; +import { NodeInfo } from "../../../../tendermint/p2p/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetRequest { + /** pagination defines an pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** 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 | undefined; +} + +/** Validator is the type for the validator-set. */ +export interface Validator { + address: string; + pubKey: Any | undefined; + votingPower: Long; + proposerPriority: Long; +} + +/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightRequest { + height: Long; +} + +/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightResponse { + blockId: BlockID | undefined; + block: Block | undefined; +} + +/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockRequest {} + +/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockResponse { + blockId: BlockID | undefined; + block: Block | undefined; +} + +/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ +export interface GetSyncingRequest {} + +/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ +export interface GetSyncingResponse { + syncing: boolean; +} + +/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoRequest {} + +/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoResponse { + nodeInfo: NodeInfo | undefined; + applicationVersion: VersionInfo | undefined; +} + +/** 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; +} + +/** Module is the type for VersionInfo */ +export interface Module { + /** module path */ + path: string; + + /** module version */ + version: string; + + /** checksum */ + sum: string; +} + +function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetValidatorSetByHeightRequest = { + encode(message: GetValidatorSetByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.height) : Long.ZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: GetValidatorSetByHeightRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetValidatorSetByHeightResponse = { + encode(message: GetValidatorSetByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.blockHeight) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { + return { + pagination: undefined + }; +} + +export const GetLatestValidatorSetRequest = { + encode(message: GetLatestValidatorSetRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetLatestValidatorSetResponse = { + encode(message: GetLatestValidatorSetResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.blockHeight) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: "", + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + 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) ? Long.fromString(object.votingPower) : Long.ZERO, + proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).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 ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { + return { + height: Long.ZERO + }; +} + +export const GetBlockByHeightRequest = { + encode(message: GetBlockByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GetBlockByHeightRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: GetBlockByHeightRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GetBlockByHeightRequest { + const message = createBaseGetBlockByHeightRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetBlockByHeightResponse = { + encode(message: GetBlockByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.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) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { + return {}; +} + +export const GetLatestBlockRequest = { + encode(_: GetLatestBlockRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetLatestBlockResponse = { + encode(message: GetLatestBlockResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.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) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetSyncingRequest(): GetSyncingRequest { + return {}; +} + +export const GetSyncingRequest = { + encode(_: GetSyncingRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetSyncingResponse(): GetSyncingResponse { + return { + syncing: false + }; +} + +export const GetSyncingResponse = { + encode(message: GetSyncingResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.syncing === true) { + writer.uint32(8).bool(message.syncing); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { + return {}; +} + +export const GetNodeInfoRequest = { + encode(_: GetNodeInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { + return { + nodeInfo: undefined, + applicationVersion: undefined + }; +} + +export const GetNodeInfoResponse = { + encode(message: GetNodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nodeInfo !== undefined) { + NodeInfo.encode(message.nodeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.applicationVersion !== undefined) { + VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.nodeInfo = NodeInfo.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 { + nodeInfo: isSet(object.nodeInfo) ? NodeInfo.fromJSON(object.nodeInfo) : undefined, + applicationVersion: isSet(object.applicationVersion) ? VersionInfo.fromJSON(object.applicationVersion) : undefined + }; + }, + + toJSON(message: GetNodeInfoResponse): unknown { + const obj: any = {}; + message.nodeInfo !== undefined && (obj.nodeInfo = message.nodeInfo ? NodeInfo.toJSON(message.nodeInfo) : undefined); + message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); + return obj; + }, + + fromPartial(object: Partial): GetNodeInfoResponse { + const message = createBaseGetNodeInfoResponse(); + message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; + message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined; + return message; + } + +}; + +function createBaseVersionInfo(): VersionInfo { + return { + name: "", + appName: "", + version: "", + gitCommit: "", + buildTags: "", + goVersion: "", + buildDeps: [], + cosmosSdkVersion: "" + }; +} + +export const VersionInfo = { + encode(message: VersionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): VersionInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModule(): Module { + return { + path: "", + version: "", + sum: "" + }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts new file mode 100644 index 000000000..524d3fcfe --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts @@ -0,0 +1,286 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +/** IntProto defines a Protobuf wrapper around an Int object. */ +export interface IntProto { + int: string; +} + +/** DecProto defines a Protobuf wrapper around a Dec object. */ +export interface DecProto { + dec: string; +} + +function createBaseCoin(): Coin { + return { + denom: "", + amount: "" + }; +} + +export const Coin = { + encode(message: Coin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Coin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseDecCoin(): DecCoin { + return { + denom: "", + amount: "" + }; +} + +export const DecCoin = { + encode(message: DecCoin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseIntProto(): IntProto { + return { + int: "" + }; +} + +export const IntProto = { + encode(message: IntProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.int !== "") { + writer.uint32(10).string(message.int); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IntProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIntProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.int = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseDecProto(): DecProto { + return { + dec: "" + }; +} + +export const DecProto = { + encode(message: DecProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.dec !== "") { + writer.uint32(10).string(message.dec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.dec = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts new file mode 100644 index 000000000..a3170e685 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bundle.ts @@ -0,0 +1,451 @@ +import * as _2 from "./app/v1alpha1/config"; +import * as _3 from "./app/v1alpha1/module"; +import * as _4 from "./app/v1alpha1/query"; +import * as _5 from "./auth/v1beta1/auth"; +import * as _6 from "./auth/v1beta1/genesis"; +import * as _7 from "./auth/v1beta1/query"; +import * as _8 from "./authz/v1beta1/authz"; +import * as _9 from "./authz/v1beta1/event"; +import * as _10 from "./authz/v1beta1/genesis"; +import * as _11 from "./authz/v1beta1/query"; +import * as _12 from "./authz/v1beta1/tx"; +import * as _13 from "./bank/v1beta1/authz"; +import * as _14 from "./bank/v1beta1/bank"; +import * as _15 from "./bank/v1beta1/genesis"; +import * as _16 from "./bank/v1beta1/query"; +import * as _17 from "./bank/v1beta1/tx"; +import * as _18 from "./base/abci/v1beta1/abci"; +import * as _19 from "./base/kv/v1beta1/kv"; +import * as _20 from "./base/query/v1beta1/pagination"; +import * as _21 from "./base/reflection/v1beta1/reflection"; +import * as _22 from "./base/reflection/v2alpha1/reflection"; +import * as _23 from "./base/snapshots/v1beta1/snapshot"; +import * as _24 from "./base/store/v1beta1/commit_info"; +import * as _25 from "./base/store/v1beta1/listening"; +import * as _26 from "./base/tendermint/v1beta1/query"; +import * as _27 from "./base/v1beta1/coin"; +import * as _28 from "./capability/v1beta1/capability"; +import * as _29 from "./capability/v1beta1/genesis"; +import * as _30 from "./crisis/v1beta1/genesis"; +import * as _31 from "./crisis/v1beta1/tx"; +import * as _32 from "./crypto/ed25519/keys"; +import * as _33 from "./crypto/hd/v1/hd"; +import * as _34 from "./crypto/keyring/v1/record"; +import * as _35 from "./crypto/multisig/keys"; +import * as _36 from "./crypto/secp256k1/keys"; +import * as _37 from "./crypto/secp256r1/keys"; +import * as _38 from "./distribution/v1beta1/distribution"; +import * as _39 from "./distribution/v1beta1/genesis"; +import * as _40 from "./distribution/v1beta1/query"; +import * as _41 from "./distribution/v1beta1/tx"; +import * as _42 from "./evidence/v1beta1/evidence"; +import * as _43 from "./evidence/v1beta1/genesis"; +import * as _44 from "./evidence/v1beta1/query"; +import * as _45 from "./evidence/v1beta1/tx"; +import * as _46 from "./feegrant/v1beta1/feegrant"; +import * as _47 from "./feegrant/v1beta1/genesis"; +import * as _48 from "./feegrant/v1beta1/query"; +import * as _49 from "./feegrant/v1beta1/tx"; +import * as _50 from "./genutil/v1beta1/genesis"; +import * as _51 from "./gov/v1/genesis"; +import * as _52 from "./gov/v1/gov"; +import * as _53 from "./gov/v1/query"; +import * as _54 from "./gov/v1/tx"; +import * as _55 from "./gov/v1beta1/genesis"; +import * as _56 from "./gov/v1beta1/gov"; +import * as _57 from "./gov/v1beta1/query"; +import * as _58 from "./gov/v1beta1/tx"; +import * as _59 from "./group/v1/events"; +import * as _60 from "./group/v1/genesis"; +import * as _61 from "./group/v1/query"; +import * as _62 from "./group/v1/tx"; +import * as _63 from "./group/v1/types"; +import * as _64 from "./mint/v1beta1/genesis"; +import * as _65 from "./mint/v1beta1/mint"; +import * as _66 from "./mint/v1beta1/query"; +import * as _67 from "./msg/v1/msg"; +import * as _68 from "./nft/v1beta1/event"; +import * as _69 from "./nft/v1beta1/genesis"; +import * as _70 from "./nft/v1beta1/nft"; +import * as _71 from "./nft/v1beta1/query"; +import * as _72 from "./nft/v1beta1/tx"; +import * as _73 from "./orm/v1/orm"; +import * as _74 from "./orm/v1alpha1/schema"; +import * as _75 from "./params/v1beta1/params"; +import * as _76 from "./params/v1beta1/query"; +import * as _77 from "./slashing/v1beta1/genesis"; +import * as _78 from "./slashing/v1beta1/query"; +import * as _79 from "./slashing/v1beta1/slashing"; +import * as _80 from "./slashing/v1beta1/tx"; +import * as _81 from "./staking/v1beta1/authz"; +import * as _82 from "./staking/v1beta1/genesis"; +import * as _83 from "./staking/v1beta1/query"; +import * as _84 from "./staking/v1beta1/staking"; +import * as _85 from "./staking/v1beta1/tx"; +import * as _86 from "./tx/signing/v1beta1/signing"; +import * as _87 from "./tx/v1beta1/service"; +import * as _88 from "./tx/v1beta1/tx"; +import * as _89 from "./upgrade/v1beta1/query"; +import * as _90 from "./upgrade/v1beta1/tx"; +import * as _91 from "./upgrade/v1beta1/upgrade"; +import * as _92 from "./vesting/v1beta1/tx"; +import * as _93 from "./vesting/v1beta1/vesting"; +import * as _146 from "./authz/v1beta1/tx.amino"; +import * as _147 from "./bank/v1beta1/tx.amino"; +import * as _148 from "./crisis/v1beta1/tx.amino"; +import * as _149 from "./distribution/v1beta1/tx.amino"; +import * as _150 from "./evidence/v1beta1/tx.amino"; +import * as _151 from "./feegrant/v1beta1/tx.amino"; +import * as _152 from "./gov/v1/tx.amino"; +import * as _153 from "./gov/v1beta1/tx.amino"; +import * as _154 from "./group/v1/tx.amino"; +import * as _155 from "./nft/v1beta1/tx.amino"; +import * as _156 from "./slashing/v1beta1/tx.amino"; +import * as _157 from "./staking/v1beta1/tx.amino"; +import * as _158 from "./upgrade/v1beta1/tx.amino"; +import * as _159 from "./vesting/v1beta1/tx.amino"; +import * as _160 from "./authz/v1beta1/tx.registry"; +import * as _161 from "./bank/v1beta1/tx.registry"; +import * as _162 from "./crisis/v1beta1/tx.registry"; +import * as _163 from "./distribution/v1beta1/tx.registry"; +import * as _164 from "./evidence/v1beta1/tx.registry"; +import * as _165 from "./feegrant/v1beta1/tx.registry"; +import * as _166 from "./gov/v1/tx.registry"; +import * as _167 from "./gov/v1beta1/tx.registry"; +import * as _168 from "./group/v1/tx.registry"; +import * as _169 from "./nft/v1beta1/tx.registry"; +import * as _170 from "./slashing/v1beta1/tx.registry"; +import * as _171 from "./staking/v1beta1/tx.registry"; +import * as _172 from "./upgrade/v1beta1/tx.registry"; +import * as _173 from "./vesting/v1beta1/tx.registry"; +import * as _174 from "./auth/v1beta1/query.lcd"; +import * as _175 from "./authz/v1beta1/query.lcd"; +import * as _176 from "./bank/v1beta1/query.lcd"; +import * as _177 from "./distribution/v1beta1/query.lcd"; +import * as _178 from "./evidence/v1beta1/query.lcd"; +import * as _179 from "./feegrant/v1beta1/query.lcd"; +import * as _180 from "./gov/v1/query.lcd"; +import * as _181 from "./gov/v1beta1/query.lcd"; +import * as _182 from "./group/v1/query.lcd"; +import * as _183 from "./mint/v1beta1/query.lcd"; +import * as _184 from "./nft/v1beta1/query.lcd"; +import * as _185 from "./params/v1beta1/query.lcd"; +import * as _186 from "./slashing/v1beta1/query.lcd"; +import * as _187 from "./staking/v1beta1/query.lcd"; +import * as _188 from "./upgrade/v1beta1/query.lcd"; +import * as _189 from "./app/v1alpha1/query.rpc.query"; +import * as _190 from "./auth/v1beta1/query.rpc.query"; +import * as _191 from "./authz/v1beta1/query.rpc.query"; +import * as _192 from "./bank/v1beta1/query.rpc.query"; +import * as _193 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _194 from "./distribution/v1beta1/query.rpc.query"; +import * as _195 from "./evidence/v1beta1/query.rpc.query"; +import * as _196 from "./feegrant/v1beta1/query.rpc.query"; +import * as _197 from "./gov/v1/query.rpc.query"; +import * as _198 from "./gov/v1beta1/query.rpc.query"; +import * as _199 from "./group/v1/query.rpc.query"; +import * as _200 from "./mint/v1beta1/query.rpc.query"; +import * as _201 from "./nft/v1beta1/query.rpc.query"; +import * as _202 from "./params/v1beta1/query.rpc.query"; +import * as _203 from "./slashing/v1beta1/query.rpc.query"; +import * as _204 from "./staking/v1beta1/query.rpc.query"; +import * as _205 from "./tx/v1beta1/service.rpc.svc"; +import * as _206 from "./upgrade/v1beta1/query.rpc.query"; +import * as _207 from "./authz/v1beta1/tx.rpc.msg"; +import * as _208 from "./bank/v1beta1/tx.rpc.msg"; +import * as _209 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _210 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _211 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _212 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _213 from "./gov/v1/tx.rpc.msg"; +import * as _214 from "./gov/v1beta1/tx.rpc.msg"; +import * as _215 from "./group/v1/tx.rpc.msg"; +import * as _216 from "./nft/v1beta1/tx.rpc.msg"; +import * as _217 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _218 from "./staking/v1beta1/tx.rpc.msg"; +import * as _219 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _220 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _247 from "./lcd"; +import * as _248 from "./rpc.query"; +import * as _249 from "./rpc.tx"; +export namespace cosmos { + export namespace app { + export const v1alpha1 = { ..._2, + ..._3, + ..._4, + ..._189 + }; + } + export namespace auth { + export const v1beta1 = { ..._5, + ..._6, + ..._7, + ..._174, + ..._190 + }; + } + export namespace authz { + export const v1beta1 = { ..._8, + ..._9, + ..._10, + ..._11, + ..._12, + ..._146, + ..._160, + ..._175, + ..._191, + ..._207 + }; + } + export namespace bank { + export const v1beta1 = { ..._13, + ..._14, + ..._15, + ..._16, + ..._17, + ..._147, + ..._161, + ..._176, + ..._192, + ..._208 + }; + } + export namespace base { + export namespace abci { + export const v1beta1 = { ..._18 + }; + } + export namespace kv { + export const v1beta1 = { ..._19 + }; + } + export namespace query { + export const v1beta1 = { ..._20 + }; + } + export namespace reflection { + export const v1beta1 = { ..._21 + }; + export const v2alpha1 = { ..._22 + }; + } + export namespace snapshots { + export const v1beta1 = { ..._23 + }; + } + export namespace store { + export const v1beta1 = { ..._24, + ..._25 + }; + } + export namespace tendermint { + export const v1beta1 = { ..._26, + ..._193 + }; + } + export const v1beta1 = { ..._27 + }; + } + export namespace capability { + export const v1beta1 = { ..._28, + ..._29 + }; + } + export namespace crisis { + export const v1beta1 = { ..._30, + ..._31, + ..._148, + ..._162, + ..._209 + }; + } + export namespace crypto { + export const ed25519 = { ..._32 + }; + export namespace hd { + export const v1 = { ..._33 + }; + } + export namespace keyring { + export const v1 = { ..._34 + }; + } + export const multisig = { ..._35 + }; + export const secp256k1 = { ..._36 + }; + export const secp256r1 = { ..._37 + }; + } + export namespace distribution { + export const v1beta1 = { ..._38, + ..._39, + ..._40, + ..._41, + ..._149, + ..._163, + ..._177, + ..._194, + ..._210 + }; + } + export namespace evidence { + export const v1beta1 = { ..._42, + ..._43, + ..._44, + ..._45, + ..._150, + ..._164, + ..._178, + ..._195, + ..._211 + }; + } + export namespace feegrant { + export const v1beta1 = { ..._46, + ..._47, + ..._48, + ..._49, + ..._151, + ..._165, + ..._179, + ..._196, + ..._212 + }; + } + export namespace genutil { + export const v1beta1 = { ..._50 + }; + } + export namespace gov { + export const v1 = { ..._51, + ..._52, + ..._53, + ..._54, + ..._152, + ..._166, + ..._180, + ..._197, + ..._213 + }; + export const v1beta1 = { ..._55, + ..._56, + ..._57, + ..._58, + ..._153, + ..._167, + ..._181, + ..._198, + ..._214 + }; + } + export namespace group { + export const v1 = { ..._59, + ..._60, + ..._61, + ..._62, + ..._63, + ..._154, + ..._168, + ..._182, + ..._199, + ..._215 + }; + } + export namespace mint { + export const v1beta1 = { ..._64, + ..._65, + ..._66, + ..._183, + ..._200 + }; + } + export namespace msg { + export const v1 = { ..._67 + }; + } + export namespace nft { + export const v1beta1 = { ..._68, + ..._69, + ..._70, + ..._71, + ..._72, + ..._155, + ..._169, + ..._184, + ..._201, + ..._216 + }; + } + export namespace orm { + export const v1 = { ..._73 + }; + export const v1alpha1 = { ..._74 + }; + } + export namespace params { + export const v1beta1 = { ..._75, + ..._76, + ..._185, + ..._202 + }; + } + export namespace slashing { + export const v1beta1 = { ..._77, + ..._78, + ..._79, + ..._80, + ..._156, + ..._170, + ..._186, + ..._203, + ..._217 + }; + } + export namespace staking { + export const v1beta1 = { ..._81, + ..._82, + ..._83, + ..._84, + ..._85, + ..._157, + ..._171, + ..._187, + ..._204, + ..._218 + }; + } + export namespace tx { + export namespace signing { + export const v1beta1 = { ..._86 + }; + } + export const v1beta1 = { ..._87, + ..._88, + ..._205 + }; + } + export namespace upgrade { + export const v1beta1 = { ..._89, + ..._90, + ..._91, + ..._158, + ..._172, + ..._188, + ..._206, + ..._219 + }; + } + export namespace vesting { + export const v1beta1 = { ..._92, + ..._93, + ..._159, + ..._173, + ..._220 + }; + } + export const ClientFactory = { ..._247, + ..._248, + ..._249 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts new file mode 100644 index 000000000..271685c24 --- /dev/null +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts @@ -0,0 +1,216 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * Capability defines an implementation of an object capability. The index + * provided to a Capability must be globally unique. + */ +export interface Capability { + 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; +} + +/** + * CapabilityOwners defines a set of owners of a single Capability. The set of + * owners must be unique. + */ +export interface CapabilityOwners { + owners: Owner[]; +} + +function createBaseCapability(): Capability { + return { + index: Long.UZERO + }; +} + +export const Capability = { + encode(message: Capability, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Capability { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Capability { + return { + index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO + }; + }, + + toJSON(message: Capability): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Capability { + const message = createBaseCapability(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; + return message; + } + +}; + +function createBaseOwner(): Owner { + return { + module: "", + name: "" + }; +} + +export const Owner = { + encode(message: Owner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Owner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseCapabilityOwners(): CapabilityOwners { + return { + owners: [] + }; +} + +export const CapabilityOwners = { + encode(message: CapabilityOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.owners) { + Owner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts new file mode 100644 index 000000000..f35b17850 --- /dev/null +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts @@ -0,0 +1,168 @@ +import { CapabilityOwners } from "./capability"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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[]; +} + +function createBaseGenesisOwners(): GenesisOwners { + return { + index: Long.UZERO, + indexOwners: undefined + }; +} + +export const GenesisOwners = { + encode(message: GenesisOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + if (message.indexOwners !== undefined) { + CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.UZERO, + indexOwners: isSet(object.indexOwners) ? CapabilityOwners.fromJSON(object.indexOwners) : undefined + }; + }, + + toJSON(message: GenesisOwners): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; + message.indexOwners = object.indexOwners !== undefined && object.indexOwners !== null ? CapabilityOwners.fromPartial(object.indexOwners) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + index: Long.UZERO, + owners: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + for (const v of message.owners) { + GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; + message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/client.ts b/examples/telescope/codegen/cosmos/client.ts new file mode 100644 index 000000000..dc97ef93e --- /dev/null +++ b/examples/telescope/codegen/cosmos/client.ts @@ -0,0 +1,72 @@ +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +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 getSigningCosmosClientOptions = (): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...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]); + const aminoTypes = new AminoTypes({ ...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 + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmosClient = async ({ + rpcEndpoint, + signer +}: { + rpcEndpoint: string; + signer: OfflineSigner; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmosClientOptions(); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts new file mode 100644 index 000000000..4fb027081 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -0,0 +1,69 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + constantFee: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.constantFee !== undefined) { + Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts new file mode 100644 index 000000000..7d4adbcef --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts @@ -0,0 +1,37 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgVerifyInvariant } from "./tx"; +export interface AminoMsgVerifyInvariant extends AminoMsg { + type: "cosmos-sdk/MsgVerifyInvariant"; + value: { + sender: string; + invariant_module_name: string; + invariant_route: string; + }; +} +export const AminoConverter = { + "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { + aminoType: "cosmos-sdk/MsgVerifyInvariant", + toAmino: ({ + sender, + invariantModuleName, + invariantRoute + }: MsgVerifyInvariant): AminoMsgVerifyInvariant["value"] => { + return { + sender, + invariant_module_name: invariantModuleName, + invariant_route: invariantRoute + }; + }, + fromAmino: ({ + sender, + invariant_module_name, + invariant_route + }: AminoMsgVerifyInvariant["value"]): MsgVerifyInvariant => { + return { + sender, + invariantModuleName: invariant_module_name, + invariantRoute: invariant_route + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts new file mode 100644 index 000000000..42cab48f2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts @@ -0,0 +1,55 @@ +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/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..fd156a3be --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,25 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + verifyInvariant(request: MsgVerifyInvariant): Promise; + /*VerifyInvariant defines a method to verify a particular invariance.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts new file mode 100644 index 000000000..267a67c7b --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts @@ -0,0 +1,136 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgVerifyInvariant represents a message to verify a particular invariance. */ +export interface MsgVerifyInvariant { + sender: string; + invariantModuleName: string; + invariantRoute: string; +} + +/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ +export interface MsgVerifyInvariantResponse {} + +function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { + return { + sender: "", + invariantModuleName: "", + invariantRoute: "" + }; +} + +export const MsgVerifyInvariant = { + encode(message: MsgVerifyInvariant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { + return {}; +} + +export const MsgVerifyInvariantResponse = { + encode(_: MsgVerifyInvariantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts new file mode 100644 index 000000000..1283cbc41 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts @@ -0,0 +1,135 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts new file mode 100644 index 000000000..93089b42a --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts @@ -0,0 +1,128 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 */ + 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; +} + +function createBaseBIP44Params(): BIP44Params { + return { + purpose: 0, + coinType: 0, + account: 0, + change: false, + addressIndex: 0 + }; +} + +export const BIP44Params = { + encode(message: BIP44Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.purpose !== 0) { + writer.uint32(8).uint32(message.purpose); + } + + if (message.coinType !== 0) { + writer.uint32(16).uint32(message.coinType); + } + + if (message.account !== 0) { + writer.uint32(24).uint32(message.account); + } + + if (message.change === true) { + writer.uint32(32).bool(message.change); + } + + if (message.addressIndex !== 0) { + writer.uint32(40).uint32(message.addressIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBIP44Params(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.purpose = reader.uint32(); + break; + + case 2: + message.coinType = reader.uint32(); + break; + + case 3: + message.account = reader.uint32(); + break; + + case 4: + message.change = reader.bool(); + break; + + case 5: + message.addressIndex = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.coinType = object.coinType ?? 0; + message.account = object.account ?? 0; + message.change = object.change ?? false; + message.addressIndex = object.addressIndex ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts new file mode 100644 index 000000000..be1c46066 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts @@ -0,0 +1,374 @@ +import { Any } from "../../../../google/protobuf/any"; +import { BIP44Params } from "../../hd/v1/hd"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** local stores the public information about a locally stored key */ + local?: Record_Local | undefined; + + /** ledger stores the public information about a Ledger key */ + ledger?: Record_Ledger | undefined; + + /** Multi does not store any information. */ + multi?: Record_Multi | undefined; + + /** Offline does not store any information. */ + offline?: Record_Offline | undefined; +} + +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ +export interface Record_Local { + privKey: Any | undefined; + privKeyType: string; +} + +/** Ledger item */ +export interface Record_Ledger { + path: BIP44Params | undefined; +} + +/** Multi item */ +export interface Record_Multi {} + +/** Offline item */ +export interface Record_Offline {} + +function createBaseRecord(): Record { + return { + name: "", + pubKey: undefined, + local: undefined, + ledger: undefined, + multi: undefined, + offline: undefined + }; +} + +export const Record = { + encode(message: Record, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.local !== undefined) { + Record_Local.encode(message.local, writer.uint32(26).fork()).ldelim(); + } + + if (message.ledger !== undefined) { + Record_Ledger.encode(message.ledger, writer.uint32(34).fork()).ldelim(); + } + + if (message.multi !== undefined) { + Record_Multi.encode(message.multi, writer.uint32(42).fork()).ldelim(); + } + + if (message.offline !== undefined) { + Record_Offline.encode(message.offline, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.pubKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.local = Record_Local.decode(reader, reader.uint32()); + break; + + case 4: + message.ledger = Record_Ledger.decode(reader, reader.uint32()); + break; + + case 5: + message.multi = Record_Multi.decode(reader, reader.uint32()); + break; + + case 6: + message.offline = Record_Offline.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.local = object.local !== undefined && object.local !== null ? Record_Local.fromPartial(object.local) : undefined; + message.ledger = object.ledger !== undefined && object.ledger !== null ? Record_Ledger.fromPartial(object.ledger) : undefined; + message.multi = object.multi !== undefined && object.multi !== null ? Record_Multi.fromPartial(object.multi) : undefined; + message.offline = object.offline !== undefined && object.offline !== null ? Record_Offline.fromPartial(object.offline) : undefined; + return message; + } + +}; + +function createBaseRecord_Local(): Record_Local { + return { + privKey: undefined, + privKeyType: "" + }; +} + +export const Record_Local = { + encode(message: Record_Local, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.privKey !== undefined) { + Any.encode(message.privKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.privKeyType !== "") { + writer.uint32(18).string(message.privKeyType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Local(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.privKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.privKeyType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Record_Local { + return { + privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined, + privKeyType: isSet(object.privKeyType) ? String(object.privKeyType) : "" + }; + }, + + toJSON(message: Record_Local): unknown { + const obj: any = {}; + message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); + message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType); + return obj; + }, + + fromPartial(object: Partial): Record_Local { + const message = createBaseRecord_Local(); + message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; + message.privKeyType = object.privKeyType ?? ""; + return message; + } + +}; + +function createBaseRecord_Ledger(): Record_Ledger { + return { + path: undefined + }; +} + +export const Record_Ledger = { + encode(message: Record_Ledger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== undefined) { + BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Ledger(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = BIP44Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseRecord_Multi(): Record_Multi { + return {}; +} + +export const Record_Multi = { + encode(_: Record_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + } + +}; + +function createBaseRecord_Offline(): Record_Offline { + return {}; +} + +export const Record_Offline = { + encode(_: Record_Offline, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Offline(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts new file mode 100644 index 000000000..859eedc3b --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts @@ -0,0 +1,88 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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[]; +} + +function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { + return { + threshold: 0, + publicKeys: [] + }; +} + +export const LegacyAminoPubKey = { + encode(message: LegacyAminoPubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== 0) { + writer.uint32(8).uint32(message.threshold); + } + + for (const v of message.publicKeys) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLegacyAminoPubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.uint32(); + break; + + case 2: + message.publicKeys.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts new file mode 100644 index 000000000..9ba9d59c8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -0,0 +1,154 @@ +import * as _m0 from "protobufjs/minimal"; +import { bytesFromBase64, base64FromBytes, isSet } from "@osmonauts/helpers"; + +/** + * 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[]; +} + +/** + * 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; +} + +function createBaseMultiSignature(): MultiSignature { + return { + signatures: [] + }; +} + +export const MultiSignature = { + encode(message: MultiSignature, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMultiSignature(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseCompactBitArray(): CompactBitArray { + return { + extraBitsStored: 0, + elems: new Uint8Array() + }; +} + +export const CompactBitArray = { + encode(message: CompactBitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.extraBitsStored !== 0) { + writer.uint32(8).uint32(message.extraBitsStored); + } + + if (message.elems.length !== 0) { + writer.uint32(18).bytes(message.elems); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompactBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.extraBitsStored = reader.uint32(); + break; + + case 2: + message.elems = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.elems = object.elems ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts new file mode 100644 index 000000000..cc0a200bb --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts @@ -0,0 +1,132 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** PrivKey defines a secp256k1 private key. */ +export interface PrivKey { + key: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts new file mode 100644 index 000000000..f9b840c3f --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts @@ -0,0 +1,131 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** 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; +} + +/** PrivKey defines a secp256r1 ECDSA private key. */ +export interface PrivKey { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + secret: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.secret.length !== 0) { + writer.uint32(10).bytes(message.secret); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.secret = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts new file mode 100644 index 000000000..9bcd72a40 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -0,0 +1,1048 @@ +import { DecCoin, Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Params defines the set of params for the distribution module. */ +export interface Params { + communityTax: string; + baseProposerReward: string; + bonusProposerReward: string; + withdrawAddrEnabled: 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; +} + +/** + * 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; +} + +/** + * ValidatorAccumulatedCommission represents accumulated commission + * for a validator kept as a running counter, can be withdrawn at any time. + */ +export interface ValidatorAccumulatedCommission { + commission: DecCoin[]; +} + +/** + * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards + * for a validator inexpensive to track, allows simple sanity checks. + */ +export interface ValidatorOutstandingRewards { + rewards: DecCoin[]; +} + +/** + * 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; +} + +/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ +export interface ValidatorSlashEvents { + validatorSlashEvents: ValidatorSlashEvent[]; +} + +/** FeePool is the global fee pool for distribution. */ +export interface FeePool { + communityPool: DecCoin[]; +} + +/** + * 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 { + title: string; + description: string; + recipient: string; + amount: Coin[]; +} + +/** + * 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; +} + +/** + * DelegationDelegatorReward represents the properties + * of a delegator's delegation reward. + */ +export interface DelegationDelegatorReward { + validatorAddress: string; + reward: DecCoin[]; +} + +/** + * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal + * with a deposit + */ +export interface CommunityPoolSpendProposalWithDeposit { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} + +function createBaseParams(): Params { + return { + communityTax: "", + baseProposerReward: "", + bonusProposerReward: "", + withdrawAddrEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.communityTax !== "") { + writer.uint32(10).string(message.communityTax); + } + + if (message.baseProposerReward !== "") { + writer.uint32(18).string(message.baseProposerReward); + } + + if (message.bonusProposerReward !== "") { + writer.uint32(26).string(message.bonusProposerReward); + } + + if (message.withdrawAddrEnabled === true) { + writer.uint32(32).bool(message.withdrawAddrEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.communityTax = reader.string(); + break; + + case 2: + message.baseProposerReward = reader.string(); + break; + + case 3: + message.bonusProposerReward = reader.string(); + break; + + case 4: + message.withdrawAddrEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.baseProposerReward = object.baseProposerReward ?? ""; + message.bonusProposerReward = object.bonusProposerReward ?? ""; + message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false; + return message; + } + +}; + +function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards { + return { + cumulativeRewardRatio: [], + referenceCount: 0 + }; +} + +export const ValidatorHistoricalRewards = { + encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.cumulativeRewardRatio) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.referenceCount !== 0) { + writer.uint32(16).uint32(message.referenceCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.referenceCount = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.referenceCount = object.referenceCount ?? 0; + return message; + } + +}; + +function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards { + return { + rewards: [], + period: Long.UZERO + }; +} + +export const ValidatorCurrentRewards = { + encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorCurrentRewards { + return { + rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromJSON(e)) : [], + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorCurrentRewards { + const message = createBaseValidatorCurrentRewards(); + message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission { + return { + commission: [] + }; +} + +export const ValidatorAccumulatedCommission = { + encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commission) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards { + return { + rewards: [] + }; +} + +export const ValidatorOutstandingRewards = { + encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseValidatorSlashEvent(): ValidatorSlashEvent { + return { + validatorPeriod: Long.UZERO, + fraction: "" + }; +} + +export const ValidatorSlashEvent = { + encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.validatorPeriod.isZero()) { + writer.uint32(8).uint64(message.validatorPeriod); + } + + if (message.fraction !== "") { + writer.uint32(18).string(message.fraction); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorPeriod = (reader.uint64() as Long); + break; + + case 2: + message.fraction = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorSlashEvent { + return { + validatorPeriod: isSet(object.validatorPeriod) ? Long.fromString(object.validatorPeriod) : Long.UZERO, + fraction: isSet(object.fraction) ? String(object.fraction) : "" + }; + }, + + toJSON(message: ValidatorSlashEvent): unknown { + const obj: any = {}; + message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || Long.UZERO).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 ? Long.fromValue(object.validatorPeriod) : Long.UZERO; + message.fraction = object.fraction ?? ""; + return message; + } + +}; + +function createBaseValidatorSlashEvents(): ValidatorSlashEvents { + return { + validatorSlashEvents: [] + }; +} + +export const ValidatorSlashEvents = { + encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorSlashEvents) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvents(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFeePool(): FeePool { + return { + communityPool: [] + }; +} + +export const FeePool = { + encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.communityPool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FeePool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFeePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.communityPool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal { + return { + title: "", + description: "", + recipient: "", + amount: [] + }; +} + +export const CommunityPoolSpendProposal = { + encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDelegatorStartingInfo(): DelegatorStartingInfo { + return { + previousPeriod: Long.UZERO, + stake: "", + height: Long.UZERO + }; +} + +export const DelegatorStartingInfo = { + encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.previousPeriod.isZero()) { + writer.uint32(8).uint64(message.previousPeriod); + } + + if (message.stake !== "") { + writer.uint32(18).string(message.stake); + } + + if (!message.height.isZero()) { + writer.uint32(24).uint64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.previousPeriod = (reader.uint64() as Long); + break; + + case 2: + message.stake = reader.string(); + break; + + case 3: + message.height = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): DelegatorStartingInfo { + return { + previousPeriod: isSet(object.previousPeriod) ? Long.fromString(object.previousPeriod) : Long.UZERO, + stake: isSet(object.stake) ? String(object.stake) : "", + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO + }; + }, + + toJSON(message: DelegatorStartingInfo): unknown { + const obj: any = {}; + message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || Long.UZERO).toString()); + message.stake !== undefined && (obj.stake = message.stake); + message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): DelegatorStartingInfo { + const message = createBaseDelegatorStartingInfo(); + message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; + message.stake = object.stake ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + return message; + } + +}; + +function createBaseDelegationDelegatorReward(): DelegationDelegatorReward { + return { + validatorAddress: "", + reward: [] + }; +} + +export const DelegationDelegatorReward = { + encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.reward) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.reward.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit { + return { + title: "", + description: "", + recipient: "", + amount: "", + deposit: "" + }; +} + +export const CommunityPoolSpendProposalWithDeposit = { + encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + if (message.amount !== "") { + writer.uint32(34).string(message.amount); + } + + if (message.deposit !== "") { + writer.uint32(42).string(message.deposit); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposalWithDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount = reader.string(); + break; + + case 5: + message.deposit = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount ?? ""; + message.deposit = object.deposit ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts new file mode 100644 index 000000000..dc6a2ef7b --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -0,0 +1,861 @@ +import { DecCoin } from "../../base/v1beta1/coin"; +import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "./distribution"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** 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[]; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** GenesisState defines the distribution module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params: Params | undefined; + + /** fee_pool defines the fee pool at genesis. */ + feePool: FeePool | undefined; + + /** 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[]; +} + +function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const DelegatorWithdrawInfo = { + encode(message: DelegatorWithdrawInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorWithdrawInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseValidatorOutstandingRewardsRecord(): ValidatorOutstandingRewardsRecord { + return { + validatorAddress: "", + outstandingRewards: [] + }; +} + +export const ValidatorOutstandingRewardsRecord = { + encode(message: ValidatorOutstandingRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.outstandingRewards) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { + return { + validatorAddress: "", + accumulated: undefined + }; +} + +export const ValidatorAccumulatedCommissionRecord = { + encode(message: ValidatorAccumulatedCommissionRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.accumulated !== undefined) { + ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommissionRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.accumulated = object.accumulated !== undefined && object.accumulated !== null ? ValidatorAccumulatedCommission.fromPartial(object.accumulated) : undefined; + return message; + } + +}; + +function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalRewardsRecord { + return { + validatorAddress: "", + period: Long.UZERO, + rewards: undefined + }; +} + +export const ValidatorHistoricalRewardsRecord = { + encode(message: ValidatorHistoricalRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + if (message.rewards !== undefined) { + ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + case 3: + message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorHistoricalRewardsRecord { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, + 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 || Long.UZERO).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 ?? ""; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorHistoricalRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { + return { + validatorAddress: "", + rewards: undefined + }; +} + +export const ValidatorCurrentRewardsRecord = { + encode(message: ValidatorCurrentRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.rewards !== undefined) { + ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorCurrentRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { + return { + delegatorAddress: "", + validatorAddress: "", + startingInfo: undefined + }; +} + +export const DelegatorStartingInfoRecord = { + encode(message: DelegatorStartingInfoRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.startingInfo !== undefined) { + DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfoRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.startingInfo = object.startingInfo !== undefined && object.startingInfo !== null ? DelegatorStartingInfo.fromPartial(object.startingInfo) : undefined; + return message; + } + +}; + +function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { + return { + validatorAddress: "", + height: Long.UZERO, + period: Long.UZERO, + validatorSlashEvent: undefined + }; +} + +export const ValidatorSlashEventRecord = { + encode(message: ValidatorSlashEventRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.height.isZero()) { + writer.uint32(16).uint64(message.height); + } + + if (!message.period.isZero()) { + writer.uint32(24).uint64(message.period); + } + + if (message.validatorSlashEvent !== undefined) { + ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEventRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.height = (reader.uint64() as Long); + break; + + case 3: + message.period = (reader.uint64() as Long); + break; + + case 4: + message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorSlashEventRecord { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.period !== undefined && (obj.period = (message.period || Long.UZERO).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 ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.validatorSlashEvent = object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null ? ValidatorSlashEvent.fromPartial(object.validatorSlashEvent) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + feePool: undefined, + delegatorWithdrawInfos: [], + previousProposer: "", + outstandingRewards: [], + validatorAccumulatedCommissions: [], + validatorHistoricalRewards: [], + validatorCurrentRewards: [], + delegatorStartingInfos: [], + validatorSlashEvents: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.feePool !== undefined) { + FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatorWithdrawInfos) { + DelegatorWithdrawInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.previousProposer !== "") { + writer.uint32(34).string(message.previousProposer); + } + + for (const v of message.outstandingRewards) { + ValidatorOutstandingRewardsRecord.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.validatorAccumulatedCommissions) { + ValidatorAccumulatedCommissionRecord.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.validatorHistoricalRewards) { + ValidatorHistoricalRewardsRecord.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.validatorCurrentRewards) { + ValidatorCurrentRewardsRecord.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.delegatorStartingInfos) { + DelegatorStartingInfoRecord.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.validatorSlashEvents) { + ValidatorSlashEventRecord.encode(v!, writer.uint32(82).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.feePool = FeePool.decode(reader, reader.uint32()); + break; + + case 3: + message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32())); + break; + + case 4: + message.previousProposer = reader.string(); + break; + + case 5: + message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32())); + break; + + case 7: + message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32())); + break; + + case 8: + message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32())); + break; + + case 9: + message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32())); + break; + + case 10: + message.validatorSlashEvents.push(ValidatorSlashEventRecord.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, + 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; + message.feePool = object.feePool !== undefined && object.feePool !== null ? FeePool.fromPartial(object.feePool) : undefined; + message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map(e => DelegatorWithdrawInfo.fromPartial(e)) || []; + message.previousProposer = object.previousProposer ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => ValidatorOutstandingRewardsRecord.fromPartial(e)) || []; + message.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions?.map(e => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || []; + message.validatorHistoricalRewards = object.validatorHistoricalRewards?.map(e => ValidatorHistoricalRewardsRecord.fromPartial(e)) || []; + message.validatorCurrentRewards = object.validatorCurrentRewards?.map(e => ValidatorCurrentRewardsRecord.fromPartial(e)) || []; + message.delegatorStartingInfos = object.delegatorStartingInfos?.map(e => DelegatorStartingInfoRecord.fromPartial(e)) || []; + message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEventRecord.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts new file mode 100644 index 000000000..ddaad5896 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -0,0 +1,89 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries params of the distribution module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/params`; + return await this.request(endpoint); + } + + /* ValidatorOutstandingRewards queries rewards of a validator address. */ + async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; + return await this.request(endpoint); + } + + /* ValidatorCommission queries accumulated commission for a validator. */ + async validatorCommission(params: QueryValidatorCommissionRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; + return await this.request(endpoint); + } + + /* ValidatorSlashes queries slash events of a validator. */ + async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.startingHeight !== "undefined") { + options.params.starting_height = params.startingHeight; + } + + if (typeof params?.endingHeight !== "undefined") { + options.params.ending_height = params.endingHeight; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; + return await this.request(endpoint, options); + } + + /* DelegationRewards queries the total rewards accrued by a delegation. */ + async delegationRewards(params: QueryDelegationRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; + return await this.request(endpoint); + } + + /* DelegationTotalRewards queries the total rewards accrued by a each + validator. */ + async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; + return await this.request(endpoint); + } + + /* DelegatorValidators queries the validators of a delegator. */ + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; + return await this.request(endpoint); + } + + /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ + async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; + return await this.request(endpoint); + } + + /* CommunityPool queries the community pool coins. */ + async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/community_pool`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..b68258b3d --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -0,0 +1,109 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries params of the distribution module.*/ + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + /*ValidatorOutstandingRewards queries rewards of a validator address.*/ + + validatorCommission(request: QueryValidatorCommissionRequest): Promise; + /*ValidatorCommission queries accumulated commission for a validator.*/ + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise; + /*ValidatorSlashes queries slash events of a validator.*/ + + delegationRewards(request: QueryDelegationRewardsRequest): Promise; + /*DelegationRewards queries the total rewards accrued by a delegation.*/ + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; + /*DelegationTotalRewards queries the total rewards accrued by a each + validator.*/ + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /*DelegatorValidators queries the validators of a delegator.*/ + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ + + communityPool(request: QueryCommunityPoolRequest): Promise; + /*CommunityPool queries the community pool coins.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); + return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); + } + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + const data = QueryValidatorCommissionRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); + return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + const data = QueryValidatorSlashesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); + return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); + } + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + const data = QueryDelegationRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); + return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); + } + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); + return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); + return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + communityPool(request: QueryCommunityPoolRequest): Promise { + const data = QueryCommunityPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); + return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts new file mode 100644 index 000000000..deddac47c --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts @@ -0,0 +1,1277 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; +import { DecCoin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** + * 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; +} + +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsResponse { + rewards: ValidatorOutstandingRewards | undefined; +} + +/** + * 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; +} + +/** + * QueryValidatorCommissionResponse is the response type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionResponse { + /** commission defines the commision the validator received. */ + commission: ValidatorAccumulatedCommission | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegationRewardsResponse is the response type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsResponse { + /** rewards defines the rewards accrued by a delegation. */ + rewards: DecCoin[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC + * method. + */ +export interface QueryCommunityPoolRequest {} + +/** + * QueryCommunityPoolResponse is the response type for the Query/CommunityPool + * RPC method. + */ +export interface QueryCommunityPoolResponse { + /** pool defines community pool's coins. */ + pool: DecCoin[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsRequest(): QueryValidatorOutstandingRewardsRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorOutstandingRewardsRequest = { + encode(message: QueryValidatorOutstandingRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { + return { + rewards: undefined + }; +} + +export const QueryValidatorOutstandingRewardsResponse = { + encode(message: QueryValidatorOutstandingRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rewards !== undefined) { + ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorCommissionRequest(): QueryValidatorCommissionRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorCommissionRequest = { + encode(message: QueryValidatorCommissionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { + return { + commission: undefined + }; +} + +export const QueryValidatorCommissionResponse = { + encode(message: QueryValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commission !== undefined) { + ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest { + return { + validatorAddress: "", + startingHeight: Long.UZERO, + endingHeight: Long.UZERO, + pagination: undefined + }; +} + +export const QueryValidatorSlashesRequest = { + encode(message: QueryValidatorSlashesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.startingHeight.isZero()) { + writer.uint32(16).uint64(message.startingHeight); + } + + if (!message.endingHeight.isZero()) { + writer.uint32(24).uint64(message.endingHeight); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.startingHeight = (reader.uint64() as Long); + break; + + case 3: + message.endingHeight = (reader.uint64() as Long); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryValidatorSlashesRequest { + return { + validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", + startingHeight: isSet(object.startingHeight) ? Long.fromString(object.startingHeight) : Long.UZERO, + endingHeight: isSet(object.endingHeight) ? Long.fromString(object.endingHeight) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).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 ?? ""; + message.startingHeight = object.startingHeight !== undefined && object.startingHeight !== null ? Long.fromValue(object.startingHeight) : Long.UZERO; + message.endingHeight = object.endingHeight !== undefined && object.endingHeight !== null ? Long.fromValue(object.endingHeight) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { + return { + slashes: [], + pagination: undefined + }; +} + +export const QueryValidatorSlashesResponse = { + encode(message: QueryValidatorSlashesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.slashes) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.slashes.push(ValidatorSlashEvent.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRewardsRequest(): QueryDelegationRewardsRequest { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const QueryDelegationRewardsRequest = { + encode(message: QueryDelegationRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationRewardsResponse(): QueryDelegationRewardsResponse { + return { + rewards: [] + }; +} + +export const QueryDelegationRewardsResponse = { + encode(message: QueryDelegationRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsRequest(): QueryDelegationTotalRewardsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegationTotalRewardsRequest = { + encode(message: QueryDelegationTotalRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsResponse(): QueryDelegationTotalRewardsResponse { + return { + rewards: [], + total: [] + }; +} + +export const QueryDelegationTotalRewardsResponse = { + encode(message: QueryDelegationTotalRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DelegationDelegatorReward.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.total) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32())); + break; + + case 2: + message.total.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.total = object.total?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [] + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressRequest(): QueryDelegatorWithdrawAddressRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressRequest = { + encode(message: QueryDelegatorWithdrawAddressRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressResponse(): QueryDelegatorWithdrawAddressResponse { + return { + withdrawAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressResponse = { + encode(message: QueryDelegatorWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.withdrawAddress !== "") { + writer.uint32(10).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryCommunityPoolRequest(): QueryCommunityPoolRequest { + return {}; +} + +export const QueryCommunityPoolRequest = { + encode(_: QueryCommunityPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryCommunityPoolRequest { + return {}; + }, + + toJSON(_: QueryCommunityPoolRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryCommunityPoolRequest { + const message = createBaseQueryCommunityPoolRequest(); + return message; + } + +}; + +function createBaseQueryCommunityPoolResponse(): QueryCommunityPoolResponse { + return { + pool: [] + }; +} + +export const QueryCommunityPoolResponse = { + encode(message: QueryCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts new file mode 100644 index 000000000..3848f8312 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts @@ -0,0 +1,121 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; +export interface AminoMsgSetWithdrawAddress extends AminoMsg { + type: "cosmos-sdk/MsgModifyWithdrawAddress"; + value: { + delegator_address: string; + withdraw_address: string; + }; +} +export interface AminoMsgWithdrawDelegatorReward extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawDelegationReward"; + value: { + delegator_address: string; + validator_address: string; + }; +} +export interface AminoMsgWithdrawValidatorCommission extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawValidatorCommission"; + value: { + validator_address: string; + }; +} +export interface AminoMsgFundCommunityPool extends AminoMsg { + type: "cosmos-sdk/MsgFundCommunityPool"; + value: { + amount: { + denom: string; + amount: string; + }[]; + depositor: string; + }; +} +export const AminoConverter = { + "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { + aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", + toAmino: ({ + delegatorAddress, + withdrawAddress + }: MsgSetWithdrawAddress): AminoMsgSetWithdrawAddress["value"] => { + return { + delegator_address: delegatorAddress, + withdraw_address: withdrawAddress + }; + }, + fromAmino: ({ + delegator_address, + withdraw_address + }: AminoMsgSetWithdrawAddress["value"]): MsgSetWithdrawAddress => { + return { + delegatorAddress: delegator_address, + withdrawAddress: withdraw_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { + aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", + toAmino: ({ + delegatorAddress, + validatorAddress + }: MsgWithdrawDelegatorReward): AminoMsgWithdrawDelegatorReward["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress + }; + }, + fromAmino: ({ + delegator_address, + validator_address + }: AminoMsgWithdrawDelegatorReward["value"]): MsgWithdrawDelegatorReward => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { + aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", + toAmino: ({ + validatorAddress + }: MsgWithdrawValidatorCommission): AminoMsgWithdrawValidatorCommission["value"] => { + return { + validator_address: validatorAddress + }; + }, + fromAmino: ({ + validator_address + }: AminoMsgWithdrawValidatorCommission["value"]): MsgWithdrawValidatorCommission => { + return { + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { + aminoType: "cosmos-sdk/MsgFundCommunityPool", + toAmino: ({ + amount, + depositor + }: MsgFundCommunityPool): AminoMsgFundCommunityPool["value"] => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + }, + fromAmino: ({ + amount, + depositor + }: AminoMsgFundCommunityPool["value"]): MsgFundCommunityPool => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts new file mode 100644 index 000000000..dbebd8c07 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts @@ -0,0 +1,161 @@ +import { Coin } from "../../base/v1beta1/coin"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.encode(value).finish() + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.encode(value).finish() + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.encode(value).finish() + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.encode(value).finish() + }; + } + + }, + withTypeUrl: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.fromPartial(value) + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.fromPartial(value) + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.fromPartial(value) + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..a55f8b4c0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,60 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; + /*SetWithdrawAddress defines a method to change the withdraw address + for a delegator (or validator self-delegation).*/ + + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; + /*WithdrawDelegatorReward defines a method to withdraw rewards of delegator + from a single validator.*/ + + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + /*WithdrawValidatorCommission defines a method to withdraw the + full commission to the validator address.*/ + + fundCommunityPool(request: MsgFundCommunityPool): Promise; + /*FundCommunityPool defines a method to allow an account to directly + fund the community pool.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.setWithdrawAddress = this.setWithdrawAddress.bind(this); + this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this); + this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this); + this.fundCommunityPool = this.fundCommunityPool.bind(this); + } + + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + const data = MsgSetWithdrawAddress.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); + return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + const data = MsgWithdrawDelegatorReward.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); + return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); + } + + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + const data = MsgWithdrawValidatorCommission.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); + return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + fundCommunityPool(request: MsgFundCommunityPool): Promise { + const data = MsgFundCommunityPool.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); + return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts new file mode 100644 index 000000000..ef8a03387 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts @@ -0,0 +1,536 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * MsgSetWithdrawAddress sets the withdraw address for + * a delegator (or validator self-delegation). + */ +export interface MsgSetWithdrawAddress { + delegatorAddress: string; + withdrawAddress: string; +} + +/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ +export interface MsgSetWithdrawAddressResponse {} + +/** + * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator + * from a single validator. + */ +export interface MsgWithdrawDelegatorReward { + delegatorAddress: string; + validatorAddress: string; +} + +/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ +export interface MsgWithdrawDelegatorRewardResponse { + amount: Coin[]; +} + +/** + * MsgWithdrawValidatorCommission withdraws the full commission to the validator + * address. + */ +export interface MsgWithdrawValidatorCommission { + validatorAddress: string; +} + +/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ +export interface MsgWithdrawValidatorCommissionResponse { + amount: Coin[]; +} + +/** + * MsgFundCommunityPool allows an account to directly + * fund the community pool. + */ +export interface MsgFundCommunityPool { + amount: Coin[]; + depositor: string; +} + +/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ +export interface MsgFundCommunityPoolResponse {} + +function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const MsgSetWithdrawAddress = { + encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddress(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse { + return {}; +} + +export const MsgSetWithdrawAddressResponse = { + encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSetWithdrawAddressResponse { + return {}; + }, + + toJSON(_: MsgSetWithdrawAddressResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSetWithdrawAddressResponse { + const message = createBaseMsgSetWithdrawAddressResponse(); + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const MsgWithdrawDelegatorReward = { + encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawDelegatorRewardResponse = { + encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorRewardResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission { + return { + validatorAddress: "" + }; +} + +export const MsgWithdrawValidatorCommission = { + encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawValidatorCommissionResponse = { + encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseMsgFundCommunityPool(): MsgFundCommunityPool { + return { + amount: [], + depositor: "" + }; +} + +export const MsgFundCommunityPool = { + encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse { + return {}; +} + +export const MsgFundCommunityPoolResponse = { + encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgFundCommunityPoolResponse { + return {}; + }, + + toJSON(_: MsgFundCommunityPoolResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgFundCommunityPoolResponse { + const message = createBaseMsgFundCommunityPoolResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts new file mode 100644 index 000000000..6d1674271 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -0,0 +1,107 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ +export interface Equivocation { + height: Long; + time: Date | undefined; + power: Long; + consensusAddress: string; +} + +function createBaseEquivocation(): Equivocation { + return { + height: Long.ZERO, + time: undefined, + power: Long.ZERO, + consensusAddress: "" + }; +} + +export const Equivocation = { + encode(message: Equivocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + if (message.consensusAddress !== "") { + writer.uint32(34).string(message.consensusAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.power = (reader.int64() as Long); + 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) ? Long.fromString(object.height) : Long.ZERO, + time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO, + consensusAddress: isSet(object.consensusAddress) ? String(object.consensusAddress) : "" + }; + }, + + toJSON(message: Equivocation): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + message.time !== undefined && (obj.time = message.time.toISOString()); + message.power !== undefined && (obj.power = (message.power || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + message.consensusAddress = object.consensusAddress ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts new file mode 100644 index 000000000..429bb8405 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts @@ -0,0 +1,71 @@ +import { Any } 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + evidence: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts new file mode 100644 index 000000000..b7e375478 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -0,0 +1,39 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Evidence queries evidence based on evidence hash. */ + async evidence(params: QueryEvidenceRequest): Promise { + const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; + return await this.request(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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..84711f88f --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -0,0 +1,37 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + evidence(request: QueryEvidenceRequest): Promise; + /*Evidence queries evidence based on evidence hash.*/ + + allEvidence(request: QueryAllEvidenceRequest): Promise; + /*AllEvidence queries all evidence.*/ + +} +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 _m0.Reader(data))); + } + + allEvidence(request: QueryAllEvidenceRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts new file mode 100644 index 000000000..d56b1b9cd --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts @@ -0,0 +1,283 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ +export interface QueryEvidenceResponse { + /** evidence returns the requested evidence. */ + evidence: Any | undefined; +} + +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ +export interface QueryAllEvidenceRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { + return { + evidenceHash: new Uint8Array() + }; +} + +export const QueryEvidenceRequest = { + encode(message: QueryEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidenceHash.length !== 0) { + writer.uint32(10).bytes(message.evidenceHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { + return { + evidence: undefined + }; +} + +export const QueryEvidenceResponse = { + encode(message: QueryEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { + return { + pagination: undefined + }; +} + +export const QueryAllEvidenceRequest = { + encode(message: QueryAllEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { + return { + evidence: [], + pagination: undefined + }; +} + +export const QueryAllEvidenceResponse = { + encode(message: QueryAllEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b5e6312a2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts @@ -0,0 +1,42 @@ +import { Any } from "../../../google/protobuf/any"; +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSubmitEvidence } from "./tx"; +export interface AminoMsgSubmitEvidence extends AminoMsg { + type: "cosmos-sdk/MsgSubmitEvidence"; + value: { + submitter: string; + evidence: { + type_url: string; + value: Uint8Array; + }; + }; +} +export const AminoConverter = { + "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { + aminoType: "cosmos-sdk/MsgSubmitEvidence", + toAmino: ({ + submitter, + evidence + }: MsgSubmitEvidence): AminoMsgSubmitEvidence["value"] => { + return { + submitter, + evidence: { + type_url: evidence.typeUrl, + value: evidence.value + } + }; + }, + fromAmino: ({ + submitter, + evidence + }: AminoMsgSubmitEvidence["value"]): MsgSubmitEvidence => { + return { + submitter, + evidence: { + typeUrl: evidence.type_url, + value: evidence.value + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts new file mode 100644 index 000000000..e577554c3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts @@ -0,0 +1,56 @@ +import { Any } from "../../../google/protobuf/any"; +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/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..06a98a1aa --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitEvidence(request: MsgSubmitEvidence): Promise; + /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + counterfactual signing.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts new file mode 100644 index 000000000..e51b42e24 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts @@ -0,0 +1,144 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; +} + +/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ +export interface MsgSubmitEvidenceResponse { + /** hash defines the hash of the evidence. */ + hash: Uint8Array; +} + +function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { + return { + submitter: "", + evidence: undefined + }; +} + +export const MsgSubmitEvidence = { + encode(message: MsgSubmitEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.submitter !== "") { + writer.uint32(10).string(message.submitter); + } + + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Any.decode(reader, reader.uint32()); + 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; + } + +}; + +function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { + return { + hash: new Uint8Array() + }; +} + +export const MsgSubmitEvidenceResponse = { + encode(message: MsgSubmitEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(34).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts new file mode 100644 index 000000000..3a0bc6abf --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -0,0 +1,421 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ +export interface BasicAllowance { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens 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: Date | undefined; +} + +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ +export interface PeriodicAllowance { + /** basic specifies a struct of `BasicAllowance` */ + basic: BasicAllowance | undefined; + + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + period: Duration | undefined; + + /** + * 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: Date | undefined; +} + +/** AllowedMsgAllowance creates allowance only for specified message types. */ +export interface AllowedMsgAllowance { + /** allowance can be any of basic and periodic fee allowance. */ + allowance: Any | undefined; + + /** allowed_messages are the messages for which the grantee has the access. */ + allowedMessages: 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: Any | undefined; +} + +function createBaseBasicAllowance(): BasicAllowance { + return { + spendLimit: [], + expiration: undefined + }; +} + +export const BasicAllowance = { + encode(message: BasicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBasicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBasePeriodicAllowance(): PeriodicAllowance { + return { + basic: undefined, + period: undefined, + periodSpendLimit: [], + periodCanSpend: [], + periodReset: undefined + }; +} + +export const PeriodicAllowance = { + encode(message: PeriodicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.basic !== undefined) { + BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim(); + } + + if (message.period !== undefined) { + Duration.encode(message.period, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.periodSpendLimit) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.periodCanSpend) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.periodReset !== undefined) { + Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.basic = BasicAllowance.decode(reader, reader.uint32()); + break; + + case 2: + message.period = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.periodSpendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + + 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 = 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; + message.periodSpendLimit = object.periodSpendLimit?.map(e => Coin.fromPartial(e)) || []; + message.periodCanSpend = object.periodCanSpend?.map(e => Coin.fromPartial(e)) || []; + message.periodReset = object.periodReset ?? undefined; + return message; + } + +}; + +function createBaseAllowedMsgAllowance(): AllowedMsgAllowance { + return { + allowance: undefined, + allowedMessages: [] + }; +} + +export const AllowedMsgAllowance = { + encode(message: AllowedMsgAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.allowedMessages) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAllowedMsgAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.allowedMessages.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.allowedMessages = object.allowedMessages?.map(e => e) || []; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts new file mode 100644 index 000000000..544d9b085 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts @@ -0,0 +1,70 @@ +import { Grant } from "./feegrant"; +import * as _m0 from "protobufjs/minimal"; + +/** GenesisState contains a set of fee allowances, persisted from the store */ +export interface GenesisState { + allowances: Grant[]; +} + +function createBaseGenesisState(): GenesisState { + return { + allowances: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowances.push(Grant.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts new file mode 100644 index 000000000..3472dc226 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -0,0 +1,52 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Allowance returns fee granted to the grantee by the granter. */ + async allowance(params: QueryAllowanceRequest): Promise { + const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; + return await this.request(endpoint); + } + + /* Allowances returns all the grants for address. */ + async allowances(params: QueryAllowancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; + return await this.request(endpoint, options); + } + + /* AllowancesByGranter returns all the grants given by an address + Since v0.46 */ + async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..05e09c0d7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -0,0 +1,48 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + allowance(request: QueryAllowanceRequest): Promise; + /*Allowance returns fee granted to the grantee by the granter.*/ + + allowances(request: QueryAllowancesRequest): Promise; + /*Allowances returns all the grants for address.*/ + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; + /*AllowancesByGranter returns all the grants given by an address + Since v0.46*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); + } + + allowance(request: QueryAllowanceRequest): Promise { + const data = QueryAllowanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); + return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); + } + + allowances(request: QueryAllowancesRequest): Promise { + const data = QueryAllowancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); + return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); + } + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + const data = QueryAllowancesByGranterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); + return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts new file mode 100644 index 000000000..29cc7db85 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts @@ -0,0 +1,467 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Grant } from "./feegrant"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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. */ + granter: string; + + /** grantee is the address of the user being granted an allowance of another user's funds. */ + 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterRequest { + granter: string; + + /** pagination defines an pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterResponse { + /** allowances that have been issued by the granter. */ + allowances: Grant[]; + + /** pagination defines an pagination for the response. */ + pagination?: PageResponse | undefined; +} + +function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { + return { + granter: "", + grantee: "" + }; +} + +export const QueryAllowanceRequest = { + encode(message: QueryAllowanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { + return { + allowance: undefined + }; +} + +export const QueryAllowanceResponse = { + encode(message: QueryAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryAllowancesRequest = { + encode(message: QueryAllowancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesResponse = { + encode(message: QueryAllowancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryAllowancesByGranterRequest = { + encode(message: QueryAllowancesByGranterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesByGranterResponse = { + encode(message: QueryAllowancesByGranterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b01266753 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts @@ -0,0 +1,75 @@ +import { Any } from "../../../google/protobuf/any"; +import { AminoMsg } from "@cosmjs/amino"; +import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; +export interface AminoMsgGrantAllowance extends AminoMsg { + type: "cosmos-sdk/MsgGrantAllowance"; + value: { + granter: string; + grantee: string; + allowance: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgRevokeAllowance extends AminoMsg { + type: "cosmos-sdk/MsgRevokeAllowance"; + value: { + granter: string; + grantee: string; + }; +} +export const AminoConverter = { + "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { + aminoType: "cosmos-sdk/MsgGrantAllowance", + toAmino: ({ + granter, + grantee, + allowance + }: MsgGrantAllowance): AminoMsgGrantAllowance["value"] => { + return { + granter, + grantee, + allowance: { + type_url: allowance.typeUrl, + value: allowance.value + } + }; + }, + fromAmino: ({ + granter, + grantee, + allowance + }: AminoMsgGrantAllowance["value"]): MsgGrantAllowance => { + return { + granter, + grantee, + allowance: { + typeUrl: allowance.type_url, + value: allowance.value + } + }; + } + }, + "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { + aminoType: "cosmos-sdk/MsgRevokeAllowance", + toAmino: ({ + granter, + grantee + }: MsgRevokeAllowance): AminoMsgRevokeAllowance["value"] => { + return { + granter, + grantee + }; + }, + fromAmino: ({ + granter, + grantee + }: AminoMsgRevokeAllowance["value"]): MsgRevokeAllowance => { + return { + granter, + grantee + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts new file mode 100644 index 000000000..c14fa48f3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts @@ -0,0 +1,91 @@ +import { Any } from "../../../google/protobuf/any"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.encode(value).finish() + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.fromPartial(value) + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..c61fedbde --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,38 @@ +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + grantAllowance(request: MsgGrantAllowance): Promise; + /*GrantAllowance grants fee allowance to the grantee on the granter's + account with the provided expiration time.*/ + + revokeAllowance(request: MsgRevokeAllowance): Promise; + /*RevokeAllowance revokes any fee allowance of granter's account that + has been granted to the grantee.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grantAllowance = this.grantAllowance.bind(this); + this.revokeAllowance = this.revokeAllowance.bind(this); + } + + grantAllowance(request: MsgGrantAllowance): Promise { + const data = MsgGrantAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); + return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); + } + + revokeAllowance(request: MsgRevokeAllowance): Promise { + const data = MsgRevokeAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); + return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts new file mode 100644 index 000000000..062a6d14b --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -0,0 +1,269 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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: Any | undefined; +} + +/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ +export interface MsgGrantAllowanceResponse {} + +/** 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; +} + +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ +export interface MsgRevokeAllowanceResponse {} + +function createBaseMsgGrantAllowance(): MsgGrantAllowance { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const MsgGrantAllowance = { + encode(message: MsgGrantAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; + +function createBaseMsgGrantAllowanceResponse(): MsgGrantAllowanceResponse { + return {}; +} + +export const MsgGrantAllowanceResponse = { + encode(_: MsgGrantAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgGrantAllowanceResponse { + return {}; + }, + + toJSON(_: MsgGrantAllowanceResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgGrantAllowanceResponse { + const message = createBaseMsgGrantAllowanceResponse(); + return message; + } + +}; + +function createBaseMsgRevokeAllowance(): MsgRevokeAllowance { + return { + granter: "", + grantee: "" + }; +} + +export const MsgRevokeAllowance = { + encode(message: MsgRevokeAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeAllowanceResponse(): MsgRevokeAllowanceResponse { + return {}; +} + +export const MsgRevokeAllowanceResponse = { + encode(_: MsgRevokeAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRevokeAllowanceResponse { + return {}; + }, + + toJSON(_: MsgRevokeAllowanceResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRevokeAllowanceResponse { + const message = createBaseMsgRevokeAllowanceResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts new file mode 100644 index 000000000..a48c1c19b --- /dev/null +++ b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts @@ -0,0 +1,71 @@ +import * as _m0 from "protobufjs/minimal"; +import { bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** GenesisState defines the raw genesis transaction in JSON. */ +export interface GenesisState { + /** gen_txs defines the genesis transactions. */ + genTxs: Uint8Array[]; +} + +function createBaseGenesisState(): GenesisState { + return { + genTxs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.genTxs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts new file mode 100644 index 000000000..02f4b27c0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts @@ -0,0 +1,172 @@ +import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** params defines all the paramaters of related to voting. */ + votingParams: VotingParams | undefined; + + /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1/gov.ts new file mode 100644 index 000000000..1dade1be7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/gov.ts @@ -0,0 +1,1000 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/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. */ + 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus enumerates the valid statuses of a proposal. */ +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + default: + return "UNKNOWN"; + } +} + +/** WeightedVoteOption defines a unit of vote for vote split. */ +export interface WeightedVoteOption { + 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[]; +} + +/** 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 | undefined; + submitTime: Date | undefined; + depositEndTime: Date | undefined; + totalDeposit: Coin[]; + votingStartTime: Date | undefined; + votingEndTime: Date | undefined; + + /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; +} + +/** TallyResult defines a standard tally for a governance proposal. */ +export interface TallyResult { + yesCount: string; + abstainCount: string; + noCount: string; + noWithVetoCount: 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; +} + +/** 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 | undefined; +} + +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod: Duration | undefined; +} + +/** 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): WeightedVoteOption { + return { + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Deposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + messages: [], + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined, + metadata: "" + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(82).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); + message.votingEndTime !== undefined && (obj.votingEndTime = 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 ? Long.fromValue(object.id) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(42).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 5: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod ?? undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: "", + threshold: "", + vetoThreshold: "" + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum !== "") { + writer.uint32(10).string(message.quorum); + } + + if (message.threshold !== "") { + writer.uint32(18).string(message.threshold); + } + + if (message.vetoThreshold !== "") { + writer.uint32(26).string(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.string(); + break; + + case 2: + message.threshold = reader.string(); + break; + + case 3: + message.vetoThreshold = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.threshold = object.threshold ?? ""; + message.vetoThreshold = object.vetoThreshold ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts new file mode 100644 index 000000000..d8ae0534e --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts @@ -0,0 +1,101 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Proposal queries proposal details based on ProposalID. */ + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; + return await this.request(endpoint); + } + + /* Proposals queries all proposals based on given status. */ + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals`; + return await this.request(endpoint, options); + } + + /* Vote queries voted information based on proposalID, voterAddr. */ + async vote(params: QueryVoteRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.request(endpoint); + } + + /* Votes queries votes of a given proposal. */ + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the gov module. */ + async params(params: QueryParamsRequest): Promise { + const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; + return await this.request(endpoint); + } + + /* Deposit queries single deposit information based proposalID, depositAddr. */ + async deposit(params: QueryDepositRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.request(endpoint); + } + + /* Deposits queries all deposits of a single proposal. */ + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal vote. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts new file mode 100644 index 000000000..ed5c6595c --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -0,0 +1,97 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries proposal details based on ProposalID.*/ + + proposals(request: QueryProposalsRequest): Promise; + /*Proposals queries all proposals based on given status.*/ + + vote(request: QueryVoteRequest): Promise; + /*Vote queries voted information based on proposalID, voterAddr.*/ + + votes(request: QueryVotesRequest): Promise; + /*Votes queries votes of a given proposal.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the gov module.*/ + + deposit(request: QueryDepositRequest): Promise; + /*Deposit queries single deposit information based proposalID, depositAddr.*/ + + deposits(request: QueryDepositsRequest): Promise; + /*Deposits queries all deposits of a single proposal.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal vote.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.ts new file mode 100644 index 000000000..dd1833786 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.ts @@ -0,0 +1,1213 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponse { + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 oter address for the proposals. */ + voter: string; +} + +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** voting_params defines the parameters related to voting. */ + votingParams: VotingParams | undefined; + + /** deposit_params defines the parameters related to deposit. */ + depositParams: DepositParams | undefined; + + /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; +} + +/** 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; +} + +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit: Deposit | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalsRequest { + return { + proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, + 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; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + depositor: isSet(object.depositor) ? String(object.depositor) : "" + }; + }, + + toJSON(message: QueryDepositRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositsRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryDepositsRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts new file mode 100644 index 000000000..607b375c4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts @@ -0,0 +1,228 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/MsgSubmitProposal"; + value: { + messages: { + type_url: string; + value: Uint8Array; + }[]; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + metadata: string; + }; +} +export interface AminoMsgExecLegacyContent extends AminoMsg { + type: "cosmos-sdk/MsgExecLegacyContent"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + authority: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + metadata: string; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/MsgSubmitProposal", + toAmino: ({ + messages, + initialDeposit, + proposer, + metadata + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + }, + fromAmino: ({ + messages, + initial_deposit, + proposer, + metadata + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + } + }, + "/cosmos.gov.v1.MsgExecLegacyContent": { + aminoType: "cosmos-sdk/MsgExecLegacyContent", + toAmino: ({ + content, + authority + }: MsgExecLegacyContent): AminoMsgExecLegacyContent["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + authority + }; + }, + fromAmino: ({ + content, + authority + }: AminoMsgExecLegacyContent["value"]): MsgExecLegacyContent => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + authority + }; + } + }, + "/cosmos.gov.v1.MsgVote": { + aminoType: "cosmos-sdk/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options, + metadata + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })), + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + options, + metadata + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgDeposit": { + aminoType: "cosmos-sdk/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts new file mode 100644 index 000000000..ccf9e57ce --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts @@ -0,0 +1,198 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..d9069dcb9 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -0,0 +1,69 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal defines a method to create new proposal given a content.*/ + + execLegacyContent(request: MsgExecLegacyContent): Promise; + /*ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + to execute a legacy content-based proposal.*/ + + vote(request: MsgVote): Promise; + /*Vote defines a method to add a vote on a specific proposal.*/ + + voteWeighted(request: MsgVoteWeighted): Promise; + /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ + + deposit(request: MsgDeposit): Promise; + /*Deposit defines a method to add deposit on a specific proposal.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.execLegacyContent = this.execLegacyContent.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + execLegacyContent(request: MsgExecLegacyContent): Promise { + const data = MsgExecLegacyContent.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); + return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.ts new file mode 100644 index 000000000..6ab5c5fa4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.ts @@ -0,0 +1,751 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + proposalId: 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: Any | undefined; + + /** authority must be the gov module address. */ + authority: string; +} + +/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ +export interface MsgExecLegacyContentResponse {} + +/** MsgVote defines a message to cast a vote. */ +export interface MsgVote { + proposalId: Long; + voter: string; + option: VoteOption; + metadata: string; +} + +/** MsgVoteResponse defines the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** MsgVoteWeighted defines a message to cast a vote. */ +export interface MsgVoteWeighted { + proposalId: Long; + voter: string; + options: WeightedVoteOption[]; + metadata: string; +} + +/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ +export interface MsgVoteWeightedResponse {} + +/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ +export interface MsgDeposit { + proposalId: Long; + depositor: string; + amount: Coin[]; +} + +/** MsgDepositResponse defines the Msg/Deposit response type. */ +export interface MsgDepositResponse {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + messages: [], + initialDeposit: [], + proposer: "", + metadata: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgExecLegacyContent(): MsgExecLegacyContent { + return { + content: undefined, + authority: "" + }; +} + +export const MsgExecLegacyContent = { + encode(message: MsgExecLegacyContent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + if (message.authority !== "") { + writer.uint32(18).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.authority = object.authority ?? ""; + return message; + } + +}; + +function createBaseMsgExecLegacyContentResponse(): MsgExecLegacyContentResponse { + return {}; +} + +export const MsgExecLegacyContentResponse = { + encode(_: MsgExecLegacyContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgExecLegacyContentResponse { + return {}; + }, + + toJSON(_: MsgExecLegacyContentResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgExecLegacyContentResponse { + const message = createBaseMsgExecLegacyContentResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "" + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + metadata: isSet(object.metadata) ? String(object.metadata) : "" + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVoteWeighted { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteWeightedResponse { + return {}; + }, + + toJSON(_: MsgVoteWeightedResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgDeposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDepositResponse { + return {}; + }, + + toJSON(_: MsgDepositResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts new file mode 100644 index 000000000..02f4b27c0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts @@ -0,0 +1,172 @@ +import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** params defines all the paramaters of related to voting. */ + votingParams: VotingParams | undefined; + + /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts new file mode 100644 index 000000000..01968d681 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts @@ -0,0 +1,1069 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/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. */ + 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus enumerates the valid statuses of a proposal. */ +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + default: + return "UNKNOWN"; + } +} + +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ +export interface WeightedVoteOption { + option: VoteOption; + weight: string; +} + +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ +export interface TextProposal { + 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[]; +} + +/** Proposal defines the core field members of a governance proposal. */ +export interface Proposal { + proposalId: Long; + content: 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 | undefined; + submitTime: Date | undefined; + depositEndTime: Date | undefined; + totalDeposit: Coin[]; + votingStartTime: Date | undefined; + votingEndTime: Date | undefined; +} + +/** TallyResult defines a standard tally for a governance proposal. */ +export interface TallyResult { + yes: string; + abstain: string; + no: string; + noWithVeto: 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[]; +} + +/** 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 | undefined; +} + +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod: Duration | undefined; +} + +/** 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): WeightedVoteOption { + return { + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseTextProposal(): TextProposal { + return { + title: "", + description: "" + }; +} + +export const TextProposal = { + encode(message: TextProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTextProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Deposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + proposalId: Long.UZERO, + content: undefined, + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); + message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yes: "", + abstain: "", + no: "", + noWithVeto: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yes !== "") { + writer.uint32(10).string(message.yes); + } + + if (message.abstain !== "") { + writer.uint32(18).string(message.abstain); + } + + if (message.no !== "") { + writer.uint32(26).string(message.no); + } + + if (message.noWithVeto !== "") { + writer.uint32(34).string(message.noWithVeto); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yes = reader.string(); + break; + + case 2: + message.abstain = reader.string(); + break; + + case 3: + message.no = reader.string(); + break; + + case 4: + message.noWithVeto = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstain = object.abstain ?? ""; + message.no = object.no ?? ""; + message.noWithVeto = object.noWithVeto ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + options: [] + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + return obj; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod ?? undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: new Uint8Array(), + threshold: new Uint8Array(), + vetoThreshold: new Uint8Array() + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum.length !== 0) { + writer.uint32(10).bytes(message.quorum); + } + + if (message.threshold.length !== 0) { + writer.uint32(18).bytes(message.threshold); + } + + if (message.vetoThreshold.length !== 0) { + writer.uint32(26).bytes(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.bytes(); + break; + + case 2: + message.threshold = reader.bytes(); + break; + + case 3: + message.vetoThreshold = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.threshold = object.threshold ?? new Uint8Array(); + message.vetoThreshold = object.vetoThreshold ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts new file mode 100644 index 000000000..e7d375980 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -0,0 +1,101 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Proposal queries proposal details based on ProposalID. */ + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; + return await this.request(endpoint); + } + + /* Proposals queries all proposals based on given status. */ + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals`; + return await this.request(endpoint, options); + } + + /* Vote queries voted information based on proposalID, voterAddr. */ + async vote(params: QueryVoteRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.request(endpoint); + } + + /* Votes queries votes of a given proposal. */ + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the gov module. */ + async params(params: QueryParamsRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; + return await this.request(endpoint); + } + + /* Deposit queries single deposit information based proposalID, depositAddr. */ + async deposit(params: QueryDepositRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.request(endpoint); + } + + /* Deposits queries all deposits of a single proposal. */ + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal vote. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..f8bbb94ce --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -0,0 +1,97 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries proposal details based on ProposalID.*/ + + proposals(request: QueryProposalsRequest): Promise; + /*Proposals queries all proposals based on given status.*/ + + vote(request: QueryVoteRequest): Promise; + /*Vote queries voted information based on proposalID, voterAddr.*/ + + votes(request: QueryVotesRequest): Promise; + /*Votes queries votes of a given proposal.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the gov module.*/ + + deposit(request: QueryDepositRequest): Promise; + /*Deposit queries single deposit information based proposalID, depositAddr.*/ + + deposits(request: QueryDepositsRequest): Promise; + /*Deposits queries all deposits of a single proposal.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal vote.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts new file mode 100644 index 000000000..dd1833786 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts @@ -0,0 +1,1213 @@ +import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponse { + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** 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 oter address for the proposals. */ + voter: string; +} + +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** voting_params defines the parameters related to voting. */ + votingParams: VotingParams | undefined; + + /** deposit_params defines the parameters related to deposit. */ + depositParams: DepositParams | undefined; + + /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; +} + +/** 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; +} + +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit: Deposit | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalsRequest { + return { + proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, + 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; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + depositor: isSet(object.depositor) ? String(object.depositor) : "" + }; + }, + + toJSON(message: QueryDepositRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryDepositsRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryDepositsRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts new file mode 100644 index 000000000..2c6ba184e --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -0,0 +1,176 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/MsgSubmitProposal"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1beta1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/MsgSubmitProposal", + toAmino: ({ + content, + initialDeposit, + proposer + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + }, + fromAmino: ({ + content, + initial_deposit, + proposer + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + } + }, + "/cosmos.gov.v1beta1.MsgVote": { + aminoType: "cosmos-sdk/MsgVote", + toAmino: ({ + proposalId, + voter, + option + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option + }; + }, + fromAmino: ({ + proposal_id, + voter, + option + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option) + }; + } + }, + "/cosmos.gov.v1beta1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })) + }; + }, + fromAmino: ({ + proposal_id, + voter, + options + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })) + }; + } + }, + "/cosmos.gov.v1beta1.MsgDeposit": { + aminoType: "cosmos-sdk/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts new file mode 100644 index 000000000..d70c814dc --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts @@ -0,0 +1,163 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..e60011ec9 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,60 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption } from "./gov"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal defines a method to create new proposal given a content.*/ + + vote(request: MsgVote): Promise; + /*Vote defines a method to add a vote on a specific proposal.*/ + + voteWeighted(request: MsgVoteWeighted): Promise; + /*VoteWeighted defines a method to add a weighted vote on a specific proposal. + + Since: cosmos-sdk 0.43*/ + + deposit(request: MsgDeposit): Promise; + /*Deposit defines a method to add deposit on a specific proposal.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts new file mode 100644 index 000000000..cb1cd3477 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts @@ -0,0 +1,586 @@ +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ +export interface MsgSubmitProposal { + content: Any | undefined; + initialDeposit: Coin[]; + proposer: string; +} + +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + proposalId: Long; +} + +/** MsgVote defines a message to cast a vote. */ +export interface MsgVote { + proposalId: Long; + voter: string; + option: VoteOption; +} + +/** MsgVoteResponse defines the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** + * MsgVoteWeighted defines a message to cast a vote. + * + * Since: cosmos-sdk 0.43 + */ +export interface MsgVoteWeighted { + proposalId: Long; + voter: string; + options: WeightedVoteOption[]; +} + +/** + * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. + * + * Since: cosmos-sdk 0.43 + */ +export interface MsgVoteWeightedResponse {} + +/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ +export interface MsgDeposit { + proposalId: Long; + depositor: string; + amount: Coin[]; +} + +/** MsgDepositResponse defines the Msg/Deposit response type. */ +export interface MsgDepositResponse {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + content: undefined, + initialDeposit: [], + proposer: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0 + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [] + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVoteWeighted { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteWeightedResponse { + return {}; + }, + + toJSON(_: MsgVoteWeightedResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgDeposit { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDepositResponse { + return {}; + }, + + toJSON(_: MsgDepositResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/events.ts b/examples/telescope/codegen/cosmos/group/v1/events.ts new file mode 100644 index 000000000..2f0929ecf --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/events.ts @@ -0,0 +1,600 @@ +import { ProposalExecutorResult, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** EventCreateGroup is an event emitted when a group is created. */ +export interface EventCreateGroup { + /** group_id is the unique ID of the group. */ + groupId: 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; +} + +/** 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; +} + +/** 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; +} + +/** EventSubmitProposal is an event emitted when a proposal is created. */ +export interface EventSubmitProposal { + /** proposal_id is the unique ID of the proposal. */ + proposalId: 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; +} + +/** 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; +} + +/** 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; +} + +/** 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; +} + +function createBaseEventCreateGroup(): EventCreateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventCreateGroup = { + encode(message: EventCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventCreateGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: EventCreateGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventCreateGroup { + const message = createBaseEventCreateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventUpdateGroup(): EventUpdateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventUpdateGroup = { + encode(message: EventUpdateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventUpdateGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: EventUpdateGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventUpdateGroup { + const message = createBaseEventUpdateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy { + return { + address: "" + }; +} + +export const EventCreateGroupPolicy = { + encode(message: EventCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy { + return { + address: "" + }; +} + +export const EventUpdateGroupPolicy = { + encode(message: EventUpdateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseEventSubmitProposal(): EventSubmitProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventSubmitProposal = { + encode(message: EventSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventSubmitProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventSubmitProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventSubmitProposal { + const message = createBaseEventSubmitProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventWithdrawProposal(): EventWithdrawProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventWithdrawProposal = { + encode(message: EventWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventWithdrawProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventWithdrawProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventWithdrawProposal { + const message = createBaseEventWithdrawProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventVote(): EventVote { + return { + proposalId: Long.UZERO + }; +} + +export const EventVote = { + encode(message: EventVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: EventVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EventVote { + const message = createBaseEventVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventExec(): EventExec { + return { + proposalId: Long.UZERO, + result: 0 + }; +} + +export const EventExec = { + encode(message: EventExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.result !== 0) { + writer.uint32(16).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventExec { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : 0 + }; + }, + + toJSON(message: EventExec): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); + return obj; + }, + + fromPartial(object: Partial): EventExec { + const message = createBaseEventExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.result = object.result ?? 0; + return message; + } + +}; + +function createBaseEventLeaveGroup(): EventLeaveGroup { + return { + groupId: Long.UZERO, + address: "" + }; +} + +export const EventLeaveGroup = { + encode(message: EventLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventLeaveGroup { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: EventLeaveGroup): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/genesis.ts b/examples/telescope/codegen/cosmos/group/v1/genesis.ts new file mode 100644 index 000000000..4972c1920 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/genesis.ts @@ -0,0 +1,208 @@ +import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, Vote } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + groupSeq: Long.UZERO, + groups: [], + groupMembers: [], + groupPolicySeq: Long.UZERO, + groupPolicies: [], + proposalSeq: Long.UZERO, + proposals: [], + votes: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupSeq.isZero()) { + writer.uint32(8).uint64(message.groupSeq); + } + + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.groupMembers) { + GroupMember.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.groupPolicySeq.isZero()) { + writer.uint32(32).uint64(message.groupPolicySeq); + } + + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + if (!message.proposalSeq.isZero()) { + writer.uint32(48).uint64(message.proposalSeq); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.groupSeq = (reader.uint64() as Long); + break; + + case 2: + message.groups.push(GroupInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMembers.push(GroupMember.decode(reader, reader.uint32())); + break; + + case 4: + message.groupPolicySeq = (reader.uint64() as Long); + break; + + case 5: + message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); + break; + + case 6: + message.proposalSeq = (reader.uint64() as Long); + break; + + case 7: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 8: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + groupSeq: isSet(object.groupSeq) ? Long.fromString(object.groupSeq) : Long.UZERO, + 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) ? Long.fromString(object.groupPolicySeq) : Long.UZERO, + groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], + proposalSeq: isSet(object.proposalSeq) ? Long.fromString(object.proposalSeq) : Long.UZERO, + 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 || Long.UZERO).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 || Long.UZERO).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 || Long.UZERO).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 ? Long.fromValue(object.groupSeq) : Long.UZERO; + message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; + message.groupMembers = object.groupMembers?.map(e => GroupMember.fromPartial(e)) || []; + message.groupPolicySeq = object.groupPolicySeq !== undefined && object.groupPolicySeq !== null ? Long.fromValue(object.groupPolicySeq) : Long.UZERO; + message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; + message.proposalSeq = object.proposalSeq !== undefined && object.proposalSeq !== null ? Long.fromValue(object.proposalSeq) : Long.UZERO; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts new file mode 100644 index 000000000..e2b1796b1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts @@ -0,0 +1,159 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +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"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* GroupInfo queries group info based on group id. */ + async groupInfo(params: QueryGroupInfoRequest): Promise { + const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; + return await this.request(endpoint); + } + + /* GroupPolicyInfo queries group policy info based on account address of group policy. */ + async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { + const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; + return await this.request(endpoint); + } + + /* GroupMembers queries members of a group */ + async groupMembers(params: QueryGroupMembersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; + return await this.request(endpoint, options); + } + + /* GroupsByAdmin queries groups by admin address. */ + async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; + return await this.request(endpoint, options); + } + + /* GroupPoliciesByGroup queries group policies by group id. */ + async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; + return await this.request(endpoint, options); + } + + /* GroupsByAdmin queries group policies by admin address. */ + async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; + return await this.request(endpoint, options); + } + + /* Proposal queries a proposal based on proposal id. */ + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; + return await this.request(endpoint); + } + + /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ + async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; + return await this.request(endpoint, options); + } + + /* VoteByProposalVoter queries a vote by proposal id and voter. */ + async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { + const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; + return await this.request(endpoint); + } + + /* VotesByProposal queries a vote by proposal. */ + async votesByProposal(params: QueryVotesByProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; + return await this.request(endpoint, options); + } + + /* VotesByVoter queries a vote by voter. */ + async votesByVoter(params: QueryVotesByVoterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; + return await this.request(endpoint, options); + } + + /* GroupsByMember queries groups by member address. */ + async groupsByMember(params: QueryGroupsByMemberRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; + return await this.request(endpoint, options); + } + + /* TallyResult queries the tally of a proposal votes. */ + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts new file mode 100644 index 000000000..f66380d4d --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts @@ -0,0 +1,147 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 defines the RPC service */ +export interface Query { + groupInfo(request: QueryGroupInfoRequest): Promise; + /*GroupInfo queries group info based on group id.*/ + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; + /*GroupPolicyInfo queries group policy info based on account address of group policy.*/ + + groupMembers(request: QueryGroupMembersRequest): Promise; + /*GroupMembers queries members of a group*/ + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + /*GroupsByAdmin queries groups by admin address.*/ + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + /*GroupPoliciesByGroup queries group policies by group id.*/ + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + /*GroupsByAdmin queries group policies by admin address.*/ + + proposal(request: QueryProposalRequest): Promise; + /*Proposal queries a proposal based on proposal id.*/ + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; + /*ProposalsByGroupPolicy queries proposals based on account address of group policy.*/ + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + /*VoteByProposalVoter queries a vote by proposal id and voter.*/ + + votesByProposal(request: QueryVotesByProposalRequest): Promise; + /*VotesByProposal queries a vote by proposal.*/ + + votesByVoter(request: QueryVotesByVoterRequest): Promise; + /*VotesByVoter queries a vote by voter.*/ + + groupsByMember(request: QueryGroupsByMemberRequest): Promise; + /*GroupsByMember queries groups by member address.*/ + + tallyResult(request: QueryTallyResultRequest): Promise; + /*TallyResult queries the tally of a proposal votes.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + groupInfo(request: QueryGroupInfoRequest): Promise { + const data = QueryGroupInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); + return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); + } + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + const data = QueryGroupPolicyInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); + return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); + } + + groupMembers(request: QueryGroupMembersRequest): Promise { + const data = QueryGroupMembersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); + return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); + } + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + const data = QueryGroupsByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); + return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); + return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); + return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); + return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + const data = QueryVoteByProposalVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); + return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); + } + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + const data = QueryVotesByProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); + return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); + } + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + const data = QueryVotesByVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); + return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); + } + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + const data = QueryGroupsByMemberRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); + return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.ts b/examples/telescope/codegen/cosmos/group/v1/query.ts new file mode 100644 index 000000000..5a285601b --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.ts @@ -0,0 +1,1945 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ +export interface QueryGroupInfoRequest { + /** group_id is the unique ID of the group. */ + groupId: Long; +} + +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ +export interface QueryGroupInfoResponse { + /** info is the GroupInfo for the group. */ + info: GroupInfo | undefined; +} + +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ +export interface QueryGroupPolicyInfoRequest { + /** address is the account address of the group policy. */ + address: string; +} + +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ +export interface QueryGroupPolicyInfoResponse { + /** info is the GroupPolicyInfo for the group policy. */ + info: GroupPolicyInfo | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryProposalRequest is the Query/Proposal request type. */ +export interface QueryProposalRequest { + /** proposal_id is the unique ID of a proposal. */ + proposalId: Long; +} + +/** QueryProposalResponse is the Query/Proposal response type. */ +export interface QueryProposalResponse { + /** proposal is the proposal info. */ + proposal: Proposal | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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; +} + +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ +export interface QueryVoteByProposalVoterResponse { + /** vote is the vote with given proposal_id and voter. */ + vote: Vote | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryTallyResultRequest is the Query/TallyResult request type. */ +export interface QueryTallyResultRequest { + /** proposal_id is the unique id of a proposal. */ + proposalId: Long; +} + +/** QueryTallyResultResponse is the Query/TallyResult response type. */ +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally: TallyResult | undefined; +} + +function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { + return { + groupId: Long.UZERO + }; +} + +export const QueryGroupInfoRequest = { + encode(message: QueryGroupInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupInfoRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: QueryGroupInfoRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryGroupInfoRequest { + const message = createBaseQueryGroupInfoRequest(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupInfoResponse = { + encode(message: QueryGroupInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest { + return { + address: "" + }; +} + +export const QueryGroupPolicyInfoRequest = { + encode(message: QueryGroupPolicyInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupPolicyInfoResponse = { + encode(message: QueryGroupPolicyInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupPolicyInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupMembersRequest = { + encode(message: QueryGroupMembersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupMembersRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryGroupMembersRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { + return { + members: [], + pagination: undefined + }; +} + +export const QueryGroupMembersResponse = { + encode(message: QueryGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + GroupMember.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(GroupMember.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupsByAdminRequest = { + encode(message: QueryGroupsByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByAdminResponse = { + encode(message: QueryGroupsByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupRequest = { + encode(message: QueryGroupPoliciesByGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryGroupPoliciesByGroupRequest { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupResponse = { + encode(message: QueryGroupPoliciesByGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminRequest = { + encode(message: QueryGroupPoliciesByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminResponse = { + encode(message: QueryGroupPoliciesByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyRequest = { + encode(message: QueryProposalsByGroupPolicyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyResponse = { + encode(message: QueryProposalsByGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteByProposalVoterRequest = { + encode(message: QueryVoteByProposalVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVoteByProposalVoterRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "" + }; + }, + + toJSON(message: QueryVoteByProposalVoterRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { + return { + vote: undefined + }; +} + +export const QueryVoteByProposalVoterResponse = { + encode(message: QueryVoteByProposalVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesByProposalRequest = { + encode(message: QueryVotesByProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryVotesByProposalRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryVotesByProposalRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByProposalResponse = { + encode(message: QueryVotesByProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { + return { + voter: "", + pagination: undefined + }; +} + +export const QueryVotesByVoterRequest = { + encode(message: QueryVotesByVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voter !== "") { + writer.uint32(10).string(message.voter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByVoterResponse = { + encode(message: QueryVotesByVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryGroupsByMemberRequest = { + encode(message: QueryGroupsByMemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByMemberResponse = { + encode(message: QueryGroupsByMemberResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryTallyResultRequest { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: QueryTallyResultRequest): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts new file mode 100644 index 000000000..b5cfb163d --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts @@ -0,0 +1,585 @@ +import { Member, VoteOption, voteOptionFromJSON } from "./types"; +import { Any } from "../../../google/protobuf/any"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; +export interface AminoMsgCreateGroup extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroup"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + metadata: string; + }; +} +export interface AminoMsgUpdateGroupMembers extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMembers"; + value: { + admin: string; + group_id: string; + member_updates: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + }; +} +export interface AminoMsgUpdateGroupAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupAdmin"; + value: { + admin: string; + group_id: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMetadata"; + value: { + admin: string; + group_id: string; + metadata: string; + }; +} +export interface AminoMsgCreateGroupPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupPolicy"; + value: { + admin: string; + group_id: string; + metadata: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgCreateGroupWithPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupWithPolicy"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + group_metadata: string; + group_policy_metadata: string; + group_policy_as_admin: boolean; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; + value: { + admin: string; + address: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; + value: { + admin: string; + address: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; + value: { + admin: string; + address: string; + metadata: string; + }; +} +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/MsgSubmitProposal"; + value: { + address: string; + proposers: string[]; + metadata: string; + messages: { + type_url: string; + value: Uint8Array; + }[]; + exec: number; + }; +} +export interface AminoMsgWithdrawProposal extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawProposal"; + value: { + proposal_id: string; + address: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + exec: number; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/MsgExec"; + value: { + proposal_id: string; + signer: string; + }; +} +export interface AminoMsgLeaveGroup extends AminoMsg { + type: "cosmos-sdk/MsgLeaveGroup"; + value: { + address: string; + group_id: string; + }; +} +export const AminoConverter = { + "/cosmos.group.v1.MsgCreateGroup": { + aminoType: "cosmos-sdk/MsgCreateGroup", + toAmino: ({ + admin, + members, + metadata + }: MsgCreateGroup): AminoMsgCreateGroup["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + metadata + }; + }, + fromAmino: ({ + admin, + members, + metadata + }: AminoMsgCreateGroup["value"]): MsgCreateGroup => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + metadata + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMembers": { + aminoType: "cosmos-sdk/MsgUpdateGroupMembers", + toAmino: ({ + admin, + groupId, + memberUpdates + }: MsgUpdateGroupMembers): AminoMsgUpdateGroupMembers["value"] => { + return { + admin, + group_id: groupId.toString(), + member_updates: memberUpdates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })) + }; + }, + fromAmino: ({ + admin, + group_id, + member_updates + }: AminoMsgUpdateGroupMembers["value"]): MsgUpdateGroupMembers => { + return { + admin, + groupId: Long.fromString(group_id), + memberUpdates: member_updates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })) + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", + toAmino: ({ + admin, + groupId, + newAdmin + }: MsgUpdateGroupAdmin): AminoMsgUpdateGroupAdmin["value"] => { + return { + admin, + group_id: groupId.toString(), + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + group_id, + new_admin + }: AminoMsgUpdateGroupAdmin["value"]): MsgUpdateGroupAdmin => { + return { + admin, + groupId: Long.fromString(group_id), + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", + toAmino: ({ + admin, + groupId, + metadata + }: MsgUpdateGroupMetadata): AminoMsgUpdateGroupMetadata["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata + }; + }, + fromAmino: ({ + admin, + group_id, + metadata + }: AminoMsgUpdateGroupMetadata["value"]): MsgUpdateGroupMetadata => { + return { + admin, + groupId: Long.fromString(group_id), + metadata + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupPolicy", + toAmino: ({ + admin, + groupId, + metadata, + decisionPolicy + }: MsgCreateGroupPolicy): AminoMsgCreateGroupPolicy["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + group_id, + metadata, + decision_policy + }: AminoMsgCreateGroupPolicy["value"]): MsgCreateGroupPolicy => { + return { + admin, + groupId: Long.fromString(group_id), + metadata, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupWithPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", + toAmino: ({ + admin, + members, + groupMetadata, + groupPolicyMetadata, + groupPolicyAsAdmin, + decisionPolicy + }: MsgCreateGroupWithPolicy): AminoMsgCreateGroupWithPolicy["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + group_metadata: groupMetadata, + group_policy_metadata: groupPolicyMetadata, + group_policy_as_admin: groupPolicyAsAdmin, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + members, + group_metadata, + group_policy_metadata, + group_policy_as_admin, + decision_policy + }: AminoMsgCreateGroupWithPolicy["value"]): MsgCreateGroupWithPolicy => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + groupMetadata: group_metadata, + groupPolicyMetadata: group_policy_metadata, + groupPolicyAsAdmin: group_policy_as_admin, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", + toAmino: ({ + admin, + address, + newAdmin + }: MsgUpdateGroupPolicyAdmin): AminoMsgUpdateGroupPolicyAdmin["value"] => { + return { + admin, + address, + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + address, + new_admin + }: AminoMsgUpdateGroupPolicyAdmin["value"]): MsgUpdateGroupPolicyAdmin => { + return { + admin, + address, + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", + toAmino: ({ + admin, + address, + decisionPolicy + }: MsgUpdateGroupPolicyDecisionPolicy): AminoMsgUpdateGroupPolicyDecisionPolicy["value"] => { + return { + admin, + address, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + address, + decision_policy + }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]): MsgUpdateGroupPolicyDecisionPolicy => { + return { + admin, + address, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", + toAmino: ({ + admin, + address, + metadata + }: MsgUpdateGroupPolicyMetadata): AminoMsgUpdateGroupPolicyMetadata["value"] => { + return { + admin, + address, + metadata + }; + }, + fromAmino: ({ + admin, + address, + metadata + }: AminoMsgUpdateGroupPolicyMetadata["value"]): MsgUpdateGroupPolicyMetadata => { + return { + admin, + address, + metadata + }; + } + }, + "/cosmos.group.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/MsgSubmitProposal", + toAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + exec + }; + }, + fromAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgWithdrawProposal": { + aminoType: "cosmos-sdk/MsgWithdrawProposal", + toAmino: ({ + proposalId, + address + }: MsgWithdrawProposal): AminoMsgWithdrawProposal["value"] => { + return { + proposal_id: proposalId.toString(), + address + }; + }, + fromAmino: ({ + proposal_id, + address + }: AminoMsgWithdrawProposal["value"]): MsgWithdrawProposal => { + return { + proposalId: Long.fromString(proposal_id), + address + }; + } + }, + "/cosmos.group.v1.MsgVote": { + aminoType: "cosmos-sdk/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata, + exec + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata, + exec + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata, + exec + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata, + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgExec": { + aminoType: "cosmos-sdk/MsgExec", + toAmino: ({ + proposalId, + signer + }: MsgExec): AminoMsgExec["value"] => { + return { + proposal_id: proposalId.toString(), + signer + }; + }, + fromAmino: ({ + proposal_id, + signer + }: AminoMsgExec["value"]): MsgExec => { + return { + proposalId: Long.fromString(proposal_id), + signer + }; + } + }, + "/cosmos.group.v1.MsgLeaveGroup": { + aminoType: "cosmos-sdk/MsgLeaveGroup", + toAmino: ({ + address, + groupId + }: MsgLeaveGroup): AminoMsgLeaveGroup["value"] => { + return { + address, + group_id: groupId.toString() + }; + }, + fromAmino: ({ + address, + group_id + }: AminoMsgLeaveGroup["value"]): MsgLeaveGroup => { + return { + address, + groupId: Long.fromString(group_id) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts new file mode 100644 index 000000000..5d3341186 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts @@ -0,0 +1,512 @@ +import { Member, VoteOption } from "./types"; +import { Any } from "../../../google/protobuf/any"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.encode(value).finish() + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.encode(value).finish() + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.encode(value).finish() + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.encode(value).finish() + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.encode(value).finish() + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.encode(value).finish() + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.encode(value).finish() + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.fromPartial(value) + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.fromPartial(value) + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.fromPartial(value) + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.fromPartial(value) + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.fromPartial(value) + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.fromPartial(value) + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.fromPartial(value) + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..562a750d4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -0,0 +1,157 @@ +import { Member, VoteOption } from "./types"; +import { Any } from "../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 defines the RPC service */ +export interface Msg { + createGroup(request: MsgCreateGroup): Promise; + /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ + + updateGroupMembers(request: MsgUpdateGroupMembers): Promise; + /*UpdateGroupMembers updates the group members with given group id and admin address.*/ + + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; + /*UpdateGroupAdmin updates the group admin with given group id and previous admin address.*/ + + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; + /*UpdateGroupMetadata updates the group metadata with given group id and admin address.*/ + + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ + + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + /*CreateGroupWithPolicy creates a new group with policy.*/ + + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; + /*UpdateGroupPolicyAdmin updates a group policy admin.*/ + + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; + /*UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.*/ + + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ + + submitProposal(request: MsgSubmitProposal): Promise; + /*SubmitProposal submits a new proposal.*/ + + withdrawProposal(request: MsgWithdrawProposal): Promise; + /*WithdrawProposal aborts a proposal.*/ + + vote(request: MsgVote): Promise; + /*Vote allows a voter to vote on a proposal.*/ + + exec(request: MsgExec): Promise; + /*Exec executes a proposal.*/ + + leaveGroup(request: MsgLeaveGroup): Promise; + /*LeaveGroup allows a group member to leave the group.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createGroup = this.createGroup.bind(this); + this.updateGroupMembers = this.updateGroupMembers.bind(this); + this.updateGroupAdmin = this.updateGroupAdmin.bind(this); + this.updateGroupMetadata = this.updateGroupMetadata.bind(this); + this.createGroupPolicy = this.createGroupPolicy.bind(this); + this.createGroupWithPolicy = this.createGroupWithPolicy.bind(this); + this.updateGroupPolicyAdmin = this.updateGroupPolicyAdmin.bind(this); + this.updateGroupPolicyDecisionPolicy = this.updateGroupPolicyDecisionPolicy.bind(this); + this.updateGroupPolicyMetadata = this.updateGroupPolicyMetadata.bind(this); + this.submitProposal = this.submitProposal.bind(this); + this.withdrawProposal = this.withdrawProposal.bind(this); + this.vote = this.vote.bind(this); + this.exec = this.exec.bind(this); + this.leaveGroup = this.leaveGroup.bind(this); + } + + createGroup(request: MsgCreateGroup): Promise { + const data = MsgCreateGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); + return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); + } + + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + const data = MsgUpdateGroupMembers.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); + return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); + } + + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + const data = MsgUpdateGroupAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); + return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + const data = MsgUpdateGroupMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); + return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); + } + + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + const data = MsgCreateGroupPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); + return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + const data = MsgCreateGroupWithPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); + return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); + return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); + return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); + return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + withdrawProposal(request: MsgWithdrawProposal): Promise { + const data = MsgWithdrawProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); + return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + leaveGroup(request: MsgLeaveGroup): Promise { + const data = MsgLeaveGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); + return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.ts b/examples/telescope/codegen/cosmos/group/v1/tx.ts new file mode 100644 index 000000000..67ee95c9c --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.ts @@ -0,0 +1,2197 @@ +import { Member, VoteOption, voteOptionFromJSON, voteOptionToJSON } from "./types"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Exec defines modes of execution of a proposal on creation or on new vote. */ +export 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 function execFromJSON(object: any): Exec { + switch (object) { + case 0: + case "EXEC_UNSPECIFIED": + return Exec.EXEC_UNSPECIFIED; + + case 1: + case "EXEC_TRY": + return Exec.EXEC_TRY; + + case -1: + case "UNRECOGNIZED": + default: + return Exec.UNRECOGNIZED; + } +} +export function execToJSON(object: Exec): string { + switch (object) { + case Exec.EXEC_UNSPECIFIED: + return "EXEC_UNSPECIFIED"; + + case Exec.EXEC_TRY: + return "EXEC_TRY"; + + default: + return "UNKNOWN"; + } +} + +/** 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: Member[]; + + /** metadata is any arbitrary metadata to attached to the group. */ + 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; +} + +/** 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: Member[]; +} + +/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ +export interface MsgUpdateGroupMembersResponse {} + +/** 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; +} + +/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ +export interface MsgUpdateGroupAdminResponse {} + +/** 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; +} + +/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ +export interface MsgUpdateGroupMetadataResponse {} + +/** 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: Any | undefined; +} + +/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ +export interface MsgCreateGroupPolicyResponse { + /** address is the account address of the newly created group policy. */ + address: string; +} + +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ +export interface MsgUpdateGroupPolicyAdmin { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of the group policy. */ + address: string; + + /** new_admin is the new group policy admin. */ + newAdmin: string; +} + +/** 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: Member[]; + + /** 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: Any | 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; +} + +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ +export interface MsgUpdateGroupPolicyAdminResponse {} + +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ +export interface MsgUpdateGroupPolicyDecisionPolicy { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of group policy. */ + address: string; + + /** decision_policy is the updated group policy's decision policy. */ + decisionPolicy: Any | undefined; +} + +/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ +export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} + +/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ +export interface MsgUpdateGroupPolicyMetadata { + /** admin is the account address of the group admin. */ + admin: string; + + /** address is the account address of group policy. */ + address: string; + + /** metadata is the updated group policy metadata. */ + metadata: string; +} + +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ +export interface MsgUpdateGroupPolicyMetadataResponse {} + +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ +export interface MsgSubmitProposal { + /** address is the account address of 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: 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; +} + +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponse { + /** proposal is the unique ID of the proposal. */ + proposalId: 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; +} + +/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ +export interface MsgWithdrawProposalResponse {} + +/** 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; +} + +/** MsgVoteResponse is the Msg/Vote response type. */ +export interface MsgVoteResponse {} + +/** MsgExec is the Msg/Exec request type. */ +export interface MsgExec { + /** proposal is the unique ID of the proposal. */ + proposalId: Long; + + /** signer is the account address used to execute the proposal. */ + signer: string; +} + +/** MsgExecResponse is the Msg/Exec request type. */ +export interface MsgExecResponse {} + +/** 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; +} + +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ +export interface MsgLeaveGroupResponse {} + +function createBaseMsgCreateGroup(): MsgCreateGroup { + return { + admin: "", + members: [], + metadata: "" + }; +} + +export const MsgCreateGroup = { + encode(message: MsgCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroup { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.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 ? Member.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 ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse { + return { + groupId: Long.UZERO + }; +} + +export const MsgCreateGroupResponse = { + encode(message: MsgCreateGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupResponse { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: MsgCreateGroupResponse): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgCreateGroupResponse { + const message = createBaseMsgCreateGroupResponse(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers { + return { + admin: "", + groupId: Long.UZERO, + memberUpdates: [] + }; +} + +export const MsgUpdateGroupMembers = { + encode(message: MsgUpdateGroupMembers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + for (const v of message.memberUpdates) { + Member.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.memberUpdates.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupMembers { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + memberUpdates: Array.isArray(object?.memberUpdates) ? object.memberUpdates.map((e: any) => Member.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgUpdateGroupMembers): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + + if (message.memberUpdates) { + obj.memberUpdates = message.memberUpdates.map(e => e ? Member.toJSON(e) : undefined); + } else { + obj.memberUpdates = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupMembers { + const message = createBaseMsgUpdateGroupMembers(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.memberUpdates = object.memberUpdates?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse { + return {}; +} + +export const MsgUpdateGroupMembersResponse = { + encode(_: MsgUpdateGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupMembersResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupMembersResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupMembersResponse { + const message = createBaseMsgUpdateGroupMembersResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin { + return { + admin: "", + groupId: Long.UZERO, + newAdmin: "" + }; +} + +export const MsgUpdateGroupAdmin = { + encode(message: MsgUpdateGroupAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupAdmin { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupAdmin { + const message = createBaseMsgUpdateGroupAdmin(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse { + return {}; +} + +export const MsgUpdateGroupAdminResponse = { + encode(_: MsgUpdateGroupAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupAdminResponse { + const message = createBaseMsgUpdateGroupAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata { + return { + admin: "", + groupId: Long.UZERO, + metadata: "" + }; +} + +export const MsgUpdateGroupMetadata = { + encode(message: MsgUpdateGroupMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupMetadata { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.metadata !== undefined && (obj.metadata = message.metadata); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupMetadata { + const message = createBaseMsgUpdateGroupMetadata(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse { + return {}; +} + +export const MsgUpdateGroupMetadataResponse = { + encode(_: MsgUpdateGroupMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupMetadataResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupMetadataResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupMetadataResponse { + const message = createBaseMsgUpdateGroupMetadataResponse(); + return message; + } + +}; + +function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy { + return { + admin: "", + groupId: Long.UZERO, + metadata: "", + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupPolicy = { + encode(message: MsgCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + 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 || Long.UZERO).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 ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse { + return { + address: "" + }; +} + +export const MsgCreateGroupPolicyResponse = { + encode(message: MsgCreateGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin { + return { + admin: "", + address: "", + newAdmin: "" + }; +} + +export const MsgUpdateGroupPolicyAdmin = { + encode(message: MsgUpdateGroupPolicyAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyAdmin { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" + }; + }, + + toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { + const message = createBaseMsgUpdateGroupPolicyAdmin(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy { + return { + admin: "", + members: [], + groupMetadata: "", + groupPolicyMetadata: "", + groupPolicyAsAdmin: false, + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupWithPolicy = { + encode(message: MsgCreateGroupWithPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.groupMetadata !== "") { + writer.uint32(26).string(message.groupMetadata); + } + + if (message.groupPolicyMetadata !== "") { + writer.uint32(34).string(message.groupPolicyMetadata); + } + + if (message.groupPolicyAsAdmin === true) { + writer.uint32(40).bool(message.groupPolicyAsAdmin); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMetadata = reader.string(); + break; + + case 4: + message.groupPolicyMetadata = reader.string(); + break; + + case 5: + message.groupPolicyAsAdmin = reader.bool(); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupWithPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.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 ? Member.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 ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.groupMetadata = object.groupMetadata ?? ""; + message.groupPolicyMetadata = object.groupPolicyMetadata ?? ""; + message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse { + return { + groupId: Long.UZERO, + groupPolicyAddress: "" + }; +} + +export const MsgCreateGroupWithPolicyResponse = { + encode(message: MsgCreateGroupWithPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.groupPolicyAddress !== "") { + writer.uint32(18).string(message.groupPolicyAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.groupPolicyAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgCreateGroupWithPolicyResponse { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "" + }; + }, + + toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.groupPolicyAddress = object.groupPolicyAddress ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse { + return {}; +} + +export const MsgUpdateGroupPolicyAdminResponse = { + encode(_: MsgUpdateGroupPolicyAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse { + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy { + return { + admin: "", + address: "", + decisionPolicy: undefined + }; +} + +export const MsgUpdateGroupPolicyDecisionPolicy = { + encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined + }; + }, + + toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + 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 ?? ""; + message.address = object.address ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse { + return {}; +} + +export const MsgUpdateGroupPolicyDecisionPolicyResponse = { + encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse { + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata { + return { + admin: "", + address: "", + metadata: "" + }; +} + +export const MsgUpdateGroupPolicyMetadata = { + encode(message: MsgUpdateGroupPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateGroupPolicyMetadata { + return { + admin: isSet(object.admin) ? String(object.admin) : "", + address: isSet(object.address) ? String(object.address) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "" + }; + }, + + toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { + const obj: any = {}; + message.admin !== undefined && (obj.admin = message.admin); + message.address !== undefined && (obj.address = message.address); + message.metadata !== undefined && (obj.metadata = message.metadata); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { + const message = createBaseMsgUpdateGroupPolicyMetadata(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse { + return {}; +} + +export const MsgUpdateGroupPolicyMetadataResponse = { + encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse { + return {}; + }, + + toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse { + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + return message; + } + +}; + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + address: "", + proposers: [], + metadata: "", + messages: [], + exec: 0 + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.proposers) { + writer.uint32(18).string(v!); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.proposers.push(reader.string()); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposal { + return { + address: isSet(object.address) ? String(object.address) : "", + 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) : 0 + }; + }, + + toJSON(message: MsgSubmitProposal): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + + 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.address = object.address ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.metadata = object.metadata ?? ""; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgSubmitProposalResponse { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO + }; + }, + + toJSON(message: MsgSubmitProposalResponse): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgWithdrawProposal(): MsgWithdrawProposal { + return { + proposalId: Long.UZERO, + address: "" + }; +} + +export const MsgWithdrawProposal = { + encode(message: MsgWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgWithdrawProposal { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: MsgWithdrawProposal): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse { + return {}; +} + +export const MsgWithdrawProposalResponse = { + encode(_: MsgWithdrawProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgWithdrawProposalResponse { + return {}; + }, + + toJSON(_: MsgWithdrawProposalResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgWithdrawProposalResponse { + const message = createBaseMsgWithdrawProposalResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + exec: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgVote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + metadata: isSet(object.metadata) ? String(object.metadata) : "", + exec: isSet(object.exec) ? execFromJSON(object.exec) : 0 + }; + }, + + toJSON(message: MsgVote): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgVoteResponse { + return {}; + }, + + toJSON(_: MsgVoteResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + proposalId: Long.UZERO, + signer: "" + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.signer !== "") { + writer.uint32(18).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExec { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgExec): unknown { + const obj: any = {}; + message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgExec { + const message = createBaseMsgExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return {}; +} + +export const MsgExecResponse = { + encode(_: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgExecResponse { + return {}; + }, + + toJSON(_: MsgExecResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgExecResponse { + const message = createBaseMsgExecResponse(); + return message; + } + +}; + +function createBaseMsgLeaveGroup(): MsgLeaveGroup { + return { + address: "", + groupId: Long.UZERO + }; +} + +export const MsgLeaveGroup = { + encode(message: MsgLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgLeaveGroup { + return { + address: isSet(object.address) ? String(object.address) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO + }; + }, + + toJSON(message: MsgLeaveGroup): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgLeaveGroup { + const message = createBaseMsgLeaveGroup(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse { + return {}; +} + +export const MsgLeaveGroupResponse = { + encode(_: MsgLeaveGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgLeaveGroupResponse { + return {}; + }, + + toJSON(_: MsgLeaveGroupResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgLeaveGroupResponse { + const message = createBaseMsgLeaveGroupResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/types.ts b/examples/telescope/codegen/cosmos/group/v1/types.ts new file mode 100644 index 000000000..49423a2ed --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/types.ts @@ -0,0 +1,1577 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp, Long } from "@osmonauts/helpers"; + +/** VoteOption enumerates the valid vote options for a given proposal. */ +export 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalStatus defines proposal statuses. */ +export 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 persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} +export function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_SUBMITTED": + return ProposalStatus.PROPOSAL_STATUS_SUBMITTED; + + case 2: + case "PROPOSAL_STATUS_CLOSED": + return ProposalStatus.PROPOSAL_STATUS_CLOSED; + + case 3: + case "PROPOSAL_STATUS_ABORTED": + return ProposalStatus.PROPOSAL_STATUS_ABORTED; + + case 4: + case "PROPOSAL_STATUS_WITHDRAWN": + return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_SUBMITTED: + return "PROPOSAL_STATUS_SUBMITTED"; + + case ProposalStatus.PROPOSAL_STATUS_CLOSED: + return "PROPOSAL_STATUS_CLOSED"; + + case ProposalStatus.PROPOSAL_STATUS_ABORTED: + return "PROPOSAL_STATUS_ABORTED"; + + case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: + return "PROPOSAL_STATUS_WITHDRAWN"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalResult defines types of proposal results. */ +export enum ProposalResult { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} +export function proposalResultFromJSON(object: any): ProposalResult { + switch (object) { + case 0: + case "PROPOSAL_RESULT_UNSPECIFIED": + return ProposalResult.PROPOSAL_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_RESULT_UNFINALIZED": + return ProposalResult.PROPOSAL_RESULT_UNFINALIZED; + + case 2: + case "PROPOSAL_RESULT_ACCEPTED": + return ProposalResult.PROPOSAL_RESULT_ACCEPTED; + + case 3: + case "PROPOSAL_RESULT_REJECTED": + return ProposalResult.PROPOSAL_RESULT_REJECTED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalResult.UNRECOGNIZED; + } +} +export function proposalResultToJSON(object: ProposalResult): string { + switch (object) { + case ProposalResult.PROPOSAL_RESULT_UNSPECIFIED: + return "PROPOSAL_RESULT_UNSPECIFIED"; + + case ProposalResult.PROPOSAL_RESULT_UNFINALIZED: + return "PROPOSAL_RESULT_UNFINALIZED"; + + case ProposalResult.PROPOSAL_RESULT_ACCEPTED: + return "PROPOSAL_RESULT_ACCEPTED"; + + case ProposalResult.PROPOSAL_RESULT_REJECTED: + return "PROPOSAL_RESULT_REJECTED"; + + default: + return "UNKNOWN"; + } +} + +/** ProposalExecutorResult defines types of proposal executor results. */ +export 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { + switch (object) { + case 0: + case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN; + + case 2: + case "PROPOSAL_EXECUTOR_RESULT_SUCCESS": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS; + + case 3: + case "PROPOSAL_EXECUTOR_RESULT_FAILURE": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalExecutorResult.UNRECOGNIZED; + } +} +export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string { + switch (object) { + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: + return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN: + return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS: + return "PROPOSAL_EXECUTOR_RESULT_SUCCESS"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: + return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; + + default: + return "UNKNOWN"; + } +} + +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ +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 to attached to the member. */ + metadata: string; + + /** added_at is a timestamp specifying when a member was added. */ + addedAt: Date | undefined; +} + +/** Members defines a repeated slice of Member objects. */ +export interface Members { + /** members is the list of members. */ + members: Member[]; +} + +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ +export interface ThresholdDecisionPolicy { + /** 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 | undefined; +} + +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ +export interface PercentageDecisionPolicy { + /** 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 | undefined; +} + +/** 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 | undefined; + + /** + * 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 | undefined; +} + +/** 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: Date | undefined; +} + +/** 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 | undefined; +} + +/** 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: Any | undefined; + + /** created_at is a timestamp specifying when a group policy was created. */ + createdAt: Date | undefined; +} + +/** + * 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; + + /** address is the account address of 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. */ + submitTime: Date | undefined; + + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + groupVersion: Long; + + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + groupPolicyVersion: Long; + + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + status: ProposalStatus; + + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + result: ProposalResult; + + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + finalTallyResult: TallyResult | undefined; + + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + votingPeriodEnd: Date | undefined; + + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + executorResult: ProposalExecutorResult; + + /** messages is a list of Msgs that will be executed if the proposal passes. */ + messages: Any[]; +} + +/** 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 is the weighted sum of no votes. */ + noCount: string; + + /** no_with_veto_count is the weighted sum of veto. */ + noWithVetoCount: 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: Date | undefined; +} + +function createBaseMember(): Member { + return { + address: "", + weight: "", + metadata: "", + addedAt: undefined + }; +} + +export const Member = { + encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.addedAt !== undefined) { + Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Member { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.weight = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseMembers(): Members { + return { + members: [] + }; +} + +export const Members = { + encode(message: Members, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + Member.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Members { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Members { + return { + members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromJSON(e)) : [] + }; + }, + + toJSON(message: Members): unknown { + const obj: any = {}; + + if (message.members) { + obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); + } else { + obj.members = []; + } + + return obj; + }, + + fromPartial(object: Partial): Members { + const message = createBaseMembers(); + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { + return { + threshold: "", + windows: undefined + }; +} + +export const ThresholdDecisionPolicy = { + encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== "") { + writer.uint32(10).string(message.threshold); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseThresholdDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { + return { + percentage: "", + windows: undefined + }; +} + +export const PercentageDecisionPolicy = { + encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.percentage !== "") { + writer.uint32(10).string(message.percentage); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePercentageDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.percentage = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBaseDecisionPolicyWindows(): DecisionPolicyWindows { + return { + votingPeriod: undefined, + minExecutionPeriod: undefined + }; +} + +export const DecisionPolicyWindows = { + encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + if (message.minExecutionPeriod !== undefined) { + Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecisionPolicyWindows(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.minExecutionPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod); + return obj; + }, + + fromPartial(object: Partial): DecisionPolicyWindows { + const message = createBaseDecisionPolicyWindows(); + message.votingPeriod = object.votingPeriod ?? undefined; + message.minExecutionPeriod = object.minExecutionPeriod ?? undefined; + return message; + } + +}; + +function createBaseGroupInfo(): GroupInfo { + return { + id: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + totalWeight: "", + createdAt: undefined + }; +} + +export const GroupInfo = { + encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(32).uint64(message.version); + } + + if (message.totalWeight !== "") { + writer.uint32(42).string(message.totalWeight); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.version = (reader.uint64() as Long); + break; + + case 5: + message.totalWeight = reader.string(); + break; + + case 6: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupInfo { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + admin: isSet(object.admin) ? String(object.admin) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.admin !== undefined && (obj.admin = message.admin); + message.metadata !== undefined && (obj.metadata = message.metadata); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); + message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); + return obj; + }, + + fromPartial(object: Partial): GroupInfo { + const message = createBaseGroupInfo(); + message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.totalWeight = object.totalWeight ?? ""; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseGroupMember(): GroupMember { + return { + groupId: Long.UZERO, + member: undefined + }; +} + +export const GroupMember = { + encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.member !== undefined) { + Member.encode(message.member, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.member = Member.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupMember { + return { + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + member: isSet(object.member) ? Member.fromJSON(object.member) : undefined + }; + }, + + toJSON(message: GroupMember): unknown { + const obj: any = {}; + message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; + message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined; + return message; + } + +}; + +function createBaseGroupPolicyInfo(): GroupPolicyInfo { + return { + address: "", + groupId: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + decisionPolicy: undefined, + createdAt: undefined + }; +} + +export const GroupPolicyInfo = { + encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(40).uint64(message.version); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupPolicyInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.version = (reader.uint64() as Long); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GroupPolicyInfo { + return { + address: isSet(object.address) ? String(object.address) : "", + groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, + admin: isSet(object.admin) ? String(object.admin) : "", + metadata: isSet(object.metadata) ? String(object.metadata) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.admin !== undefined && (obj.admin = message.admin); + message.metadata !== undefined && (obj.metadata = message.metadata); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); + message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); + return obj; + }, + + fromPartial(object: Partial): GroupPolicyInfo { + const message = createBaseGroupPolicyInfo(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + address: "", + metadata: "", + proposers: [], + submitTime: undefined, + groupVersion: Long.UZERO, + groupPolicyVersion: Long.UZERO, + status: 0, + result: 0, + finalTallyResult: undefined, + votingPeriodEnd: undefined, + executorResult: 0, + messages: [] + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.proposers) { + writer.uint32(34).string(v!); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (!message.groupVersion.isZero()) { + writer.uint32(48).uint64(message.groupVersion); + } + + if (!message.groupPolicyVersion.isZero()) { + writer.uint32(56).uint64(message.groupPolicyVersion); + } + + if (message.status !== 0) { + writer.uint32(64).int32(message.status); + } + + if (message.result !== 0) { + writer.uint32(72).int32(message.result); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(82).fork()).ldelim(); + } + + if (message.votingPeriodEnd !== undefined) { + Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(90).fork()).ldelim(); + } + + if (message.executorResult !== 0) { + writer.uint32(96).int32(message.executorResult); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.proposers.push(reader.string()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.groupVersion = (reader.uint64() as Long); + break; + + case 7: + message.groupPolicyVersion = (reader.uint64() as Long); + break; + + case 8: + message.status = (reader.int32() as any); + break; + + case 9: + message.result = (reader.int32() as any); + break; + + case 10: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 11: + message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 12: + message.executorResult = (reader.int32() as any); + break; + + case 13: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, + address: isSet(object.address) ? String(object.address) : "", + 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) ? Long.fromString(object.groupVersion) : Long.UZERO, + groupPolicyVersion: isSet(object.groupPolicyVersion) ? Long.fromString(object.groupPolicyVersion) : Long.UZERO, + status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, + result: isSet(object.result) ? proposalResultFromJSON(object.result) : 0, + finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, + votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined, + executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0, + 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 || Long.UZERO).toString()); + message.address !== undefined && (obj.address = message.address); + 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 = message.submitTime.toISOString()); + message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString()); + message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString()); + message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); + message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); + message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); + message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = 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 ? Long.fromValue(object.id) : Long.UZERO; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.submitTime = object.submitTime ?? undefined; + message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? Long.fromValue(object.groupVersion) : Long.UZERO; + message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO; + message.status = object.status ?? 0; + message.result = object.result ?? 0; + message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; + message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; + message.executorResult = object.executorResult ?? 0; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + submitTime: undefined + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, + voter: isSet(object.voter) ? String(object.voter) : "", + option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, + 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 || Long.UZERO).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 = message.submitTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.submitTime = object.submitTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/lcd.ts b/examples/telescope/codegen/cosmos/lcd.ts new file mode 100644 index 000000000..079d528b8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/lcd.ts @@ -0,0 +1,81 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts new file mode 100644 index 000000000..ed0818a4f --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts @@ -0,0 +1,81 @@ +import { Minter, Params } from "./mint"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the mint module's genesis state. */ +export interface GenesisState { + /** minter is a space for holding current inflation information. */ + minter: Minter | undefined; + + /** params defines all the paramaters of the module. */ + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + minter: undefined, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.minter !== undefined) { + Minter.encode(message.minter, writer.uint32(10).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.minter = Minter.decode(reader, reader.uint32()); + break; + + case 2: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts new file mode 100644 index 000000000..8cde41929 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts @@ -0,0 +1,218 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** Minter represents the minting state. */ +export interface Minter { + /** current annual inflation rate */ + inflation: string; + + /** current annual expected provisions */ + annualProvisions: 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; +} + +function createBaseMinter(): Minter { + return { + inflation: "", + annualProvisions: "" + }; +} + +export const Minter = { + encode(message: Minter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation !== "") { + writer.uint32(10).string(message.inflation); + } + + if (message.annualProvisions !== "") { + writer.uint32(18).string(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Minter { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMinter(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.string(); + break; + + case 2: + message.annualProvisions = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.annualProvisions = object.annualProvisions ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + mintDenom: "", + inflationRateChange: "", + inflationMax: "", + inflationMin: "", + goalBonded: "", + blocksPerYear: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mintDenom !== "") { + writer.uint32(10).string(message.mintDenom); + } + + if (message.inflationRateChange !== "") { + writer.uint32(18).string(message.inflationRateChange); + } + + if (message.inflationMax !== "") { + writer.uint32(26).string(message.inflationMax); + } + + if (message.inflationMin !== "") { + writer.uint32(34).string(message.inflationMin); + } + + if (message.goalBonded !== "") { + writer.uint32(42).string(message.goalBonded); + } + + if (!message.blocksPerYear.isZero()) { + writer.uint32(48).uint64(message.blocksPerYear); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.mintDenom = reader.string(); + break; + + case 2: + message.inflationRateChange = reader.string(); + break; + + case 3: + message.inflationMax = reader.string(); + break; + + case 4: + message.inflationMin = reader.string(); + break; + + case 5: + message.goalBonded = reader.string(); + break; + + case 6: + message.blocksPerYear = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.blocksPerYear) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.mintDenom = object.mintDenom ?? ""; + message.inflationRateChange = object.inflationRateChange ?? ""; + message.inflationMax = object.inflationMax ?? ""; + message.inflationMin = object.inflationMin ?? ""; + message.goalBonded = object.goalBonded ?? ""; + message.blocksPerYear = object.blocksPerYear !== undefined && object.blocksPerYear !== null ? Long.fromValue(object.blocksPerYear) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..408fe7872 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts @@ -0,0 +1,33 @@ +import { Params } from "./mint"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params returns the total set of minting parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/params`; + return await this.request(endpoint); + } + + /* Inflation returns the current minting inflation value. */ + async inflation(_params: QueryInflationRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/inflation`; + return await this.request(endpoint); + } + + /* AnnualProvisions current minting annual provisions value. */ + async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/annual_provisions`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..1cfec384e --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -0,0 +1,46 @@ +import { Params } from "./mint"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params returns the total set of minting parameters.*/ + + inflation(request: QueryInflationRequest): Promise; + /*Inflation returns the current minting inflation value.*/ + + annualProvisions(request: QueryAnnualProvisionsRequest): Promise; + /*AnnualProvisions current minting annual provisions value.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + inflation(request: QueryInflationRequest): Promise { + const data = QueryInflationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); + return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); + } + + annualProvisions(request: QueryAnnualProvisionsRequest): Promise { + const data = QueryAnnualProvisionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); + return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts new file mode 100644 index 000000000..871fdd0a4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts @@ -0,0 +1,339 @@ +import { Params } from "./mint"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ +export interface QueryInflationRequest {} + +/** + * QueryInflationResponse is the response type for the Query/Inflation RPC + * method. + */ +export interface QueryInflationResponse { + /** inflation is the current minting inflation value. */ + inflation: Uint8Array; +} + +/** + * QueryAnnualProvisionsRequest is the request type for the + * Query/AnnualProvisions RPC method. + */ +export interface QueryAnnualProvisionsRequest {} + +/** + * 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; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryInflationRequest(): QueryInflationRequest { + return {}; +} + +export const QueryInflationRequest = { + encode(_: QueryInflationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryInflationRequest { + return {}; + }, + + toJSON(_: QueryInflationRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryInflationRequest { + const message = createBaseQueryInflationRequest(); + return message; + } + +}; + +function createBaseQueryInflationResponse(): QueryInflationResponse { + return { + inflation: new Uint8Array() + }; +} + +export const QueryInflationResponse = { + encode(message: QueryInflationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation.length !== 0) { + writer.uint32(10).bytes(message.inflation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsRequest(): QueryAnnualProvisionsRequest { + return {}; +} + +export const QueryAnnualProvisionsRequest = { + encode(_: QueryAnnualProvisionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryAnnualProvisionsRequest { + return {}; + }, + + toJSON(_: QueryAnnualProvisionsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryAnnualProvisionsRequest { + const message = createBaseQueryAnnualProvisionsRequest(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsResponse(): QueryAnnualProvisionsResponse { + return { + annualProvisions: new Uint8Array() + }; +} + +export const QueryAnnualProvisionsResponse = { + encode(message: QueryAnnualProvisionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.annualProvisions.length !== 0) { + writer.uint32(10).bytes(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annualProvisions = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/msg/v1/msg.ts b/examples/telescope/codegen/cosmos/msg/v1/msg.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/cosmos/msg/v1/msg.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts new file mode 100644 index 000000000..0a183320d --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts @@ -0,0 +1,279 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** EventSend is emitted on Msg/Send */ +export interface EventSend { + classId: string; + id: string; + sender: string; + receiver: string; +} + +/** EventMint is emitted on Mint */ +export interface EventMint { + classId: string; + id: string; + owner: string; +} + +/** EventBurn is emitted on Burn */ +export interface EventBurn { + classId: string; + id: string; + owner: string; +} + +function createBaseEventSend(): EventSend { + return { + classId: "", + id: "", + sender: "", + receiver: "" + }; +} + +export const EventSend = { + encode(message: EventSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEventMint(): EventMint { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventMint = { + encode(message: EventMint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventMint { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEventBurn(): EventBurn { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventBurn = { + encode(message: EventBurn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventBurn { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts new file mode 100644 index 000000000..5e1606405 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts @@ -0,0 +1,174 @@ +import { Class, NFT } from "./nft"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the nft module's genesis state. */ +export interface GenesisState { + /** class defines the class of the nft type. */ + classes: Class[]; + entries: Entry[]; +} + +/** 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[]; +} + +function createBaseGenesisState(): GenesisState { + return { + classes: [], + entries: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseEntry(): Entry { + return { + owner: "", + nfts: [] + }; +} + +export const Entry = { + encode(message: Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Entry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts new file mode 100644 index 000000000..62b48229d --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts @@ -0,0 +1,279 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 | undefined; +} + +/** 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 | undefined; +} + +function createBaseClass(): Class { + return { + id: "", + name: "", + symbol: "", + description: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const Class = { + encode(message: Class, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Class { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseNFT(): NFT { + return { + classId: "", + id: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const NFT = { + encode(message: NFT, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): NFT { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts new file mode 100644 index 000000000..fa426695e --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -0,0 +1,86 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* 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.request(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.request(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.request(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.request(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.request(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.request(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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..b091e0a15 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -0,0 +1,88 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + balance(request: QueryBalanceRequest): Promise; + /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ + + owner(request: QueryOwnerRequest): Promise; + /*Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721*/ + + supply(request: QuerySupplyRequest): Promise; + /*Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.*/ + + nFTs(request: QueryNFTsRequest): Promise; + /*NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + ERC721Enumerable*/ + + nFT(request: QueryNFTRequest): Promise; + /*NFT queries an NFT based on its class and id.*/ + + class(request: QueryClassRequest): Promise; + /*Class queries an NFT class based on its id*/ + + classes(request: QueryClassesRequest): Promise; + /*Classes queries all NFT classes*/ + +} +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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(data))); + } + + classes(request: QueryClassesRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts new file mode 100644 index 000000000..059042c69 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts @@ -0,0 +1,976 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { NFT, Class } from "./nft"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ +export interface QueryBalanceRequest { + classId: string; + owner: string; +} + +/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ +export interface QueryBalanceResponse { + amount: Long; +} + +/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ +export interface QueryOwnerRequest { + classId: string; + id: string; +} + +/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ +export interface QueryOwnerResponse { + owner: string; +} + +/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ +export interface QuerySupplyRequest { + classId: string; +} + +/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ +export interface QuerySupplyResponse { + amount: Long; +} + +/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ +export interface QueryNFTsRequest { + classId: string; + owner: string; + pagination?: PageRequest | undefined; +} + +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ +export interface QueryNFTsResponse { + nfts: NFT[]; + pagination?: PageResponse | undefined; +} + +/** QueryNFTRequest is the request type for the Query/NFT RPC method */ +export interface QueryNFTRequest { + classId: string; + id: string; +} + +/** QueryNFTResponse is the response type for the Query/NFT RPC method */ +export interface QueryNFTResponse { + nft: NFT | undefined; +} + +/** QueryClassRequest is the request type for the Query/Class RPC method */ +export interface QueryClassRequest { + classId: string; +} + +/** QueryClassResponse is the response type for the Query/Class RPC method */ +export interface QueryClassResponse { + class: Class | undefined; +} + +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ +export interface QueryClassesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ +export interface QueryClassesResponse { + classes: Class[]; + pagination?: PageResponse | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + classId: "", + owner: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.owner !== "") { + writer.uint32(18).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + amount: Long.UZERO + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryBalanceResponse { + return { + amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO + }; + }, + + toJSON(message: QueryBalanceResponse): unknown { + const obj: any = {}; + message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryBalanceResponse { + const message = createBaseQueryBalanceResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryOwnerRequest(): QueryOwnerRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryOwnerRequest = { + encode(message: QueryOwnerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryOwnerResponse(): QueryOwnerResponse { + return { + owner: "" + }; +} + +export const QueryOwnerResponse = { + encode(message: QueryOwnerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.owner !== "") { + writer.uint32(10).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySupplyRequest(): QuerySupplyRequest { + return { + classId: "" + }; +} + +export const QuerySupplyRequest = { + encode(message: QuerySupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySupplyResponse(): QuerySupplyResponse { + return { + amount: Long.UZERO + }; +} + +export const QuerySupplyResponse = { + encode(message: QuerySupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySupplyResponse { + return { + amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO + }; + }, + + toJSON(message: QuerySupplyResponse): unknown { + const obj: any = {}; + message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QuerySupplyResponse { + const message = createBaseQuerySupplyResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryNFTsRequest(): QueryNFTsRequest { + return { + classId: "", + owner: "", + pagination: undefined + }; +} + +export const QueryNFTsRequest = { + encode(message: QueryNFTsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTsResponse(): QueryNFTsResponse { + return { + nfts: [], + pagination: undefined + }; +} + +export const QueryNFTsResponse = { + encode(message: QueryNFTsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTRequest(): QueryNFTRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryNFTRequest = { + encode(message: QueryNFTRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryNFTResponse(): QueryNFTResponse { + return { + nft: undefined + }; +} + +export const QueryNFTResponse = { + encode(message: QueryNFTResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nft !== undefined) { + NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassRequest(): QueryClassRequest { + return { + classId: "" + }; +} + +export const QueryClassRequest = { + encode(message: QueryClassRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassResponse(): QueryClassResponse { + return { + class: undefined + }; +} + +export const QueryClassResponse = { + encode(message: QueryClassResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.class !== undefined) { + Class.encode(message.class, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassesRequest(): QueryClassesRequest { + return { + pagination: undefined + }; +} + +export const QueryClassesRequest = { + encode(message: QueryClassesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryClassesResponse(): QueryClassesResponse { + return { + classes: [], + pagination: undefined + }; +} + +export const QueryClassesResponse = { + encode(message: QueryClassesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts new file mode 100644 index 000000000..68f2beb79 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts @@ -0,0 +1,42 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgNFTSend"; + value: { + class_id: string; + id: string; + sender: string; + receiver: string; + }; +} +export const AminoConverter = { + "/cosmos.nft.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgNFTSend", + toAmino: ({ + classId, + id, + sender, + receiver + }: MsgSend): AminoMsgSend["value"] => { + return { + class_id: classId, + id, + sender, + receiver + }; + }, + fromAmino: ({ + class_id, + id, + sender, + receiver + }: AminoMsgSend["value"]): MsgSend => { + return { + classId: class_id, + id, + sender, + receiver + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts new file mode 100644 index 000000000..e148f1934 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts @@ -0,0 +1,55 @@ +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/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..78ea50e14 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,25 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSend, MsgSendResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + send(request: MsgSend): Promise; + /*Send defines a method to send a nft from one account to another account.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts new file mode 100644 index 000000000..907d3c157 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts @@ -0,0 +1,156 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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; +} + +/** MsgSendResponse defines the Msg/Send response type. */ +export interface MsgSendResponse {} + +function createBaseMsgSend(): MsgSend { + return { + classId: "", + id: "", + sender: "", + receiver: "" + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1/orm.ts b/examples/telescope/codegen/cosmos/orm/v1/orm.ts new file mode 100644 index 000000000..d619d641d --- /dev/null +++ b/examples/telescope/codegen/cosmos/orm/v1/orm.ts @@ -0,0 +1,392 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** TableDescriptor describes an ORM table. */ +export interface TableDescriptor { + /** primary_key defines the primary key for the table. */ + primaryKey: PrimaryKeyDescriptor | undefined; + + /** 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; +} + +/** 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; +} + +/** 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 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; +} + +/** 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; +} + +function createBaseTableDescriptor(): TableDescriptor { + return { + primaryKey: undefined, + index: [], + id: 0 + }; +} + +export const TableDescriptor = { + encode(message: TableDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.primaryKey !== undefined) { + PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.index) { + SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.id !== 0) { + writer.uint32(24).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTableDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.index = object.index?.map(e => SecondaryIndexDescriptor.fromPartial(e)) || []; + message.id = object.id ?? 0; + return message; + } + +}; + +function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor { + return { + fields: "", + autoIncrement: false + }; +} + +export const PrimaryKeyDescriptor = { + encode(message: PrimaryKeyDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.autoIncrement === true) { + writer.uint32(16).bool(message.autoIncrement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrimaryKeyDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.autoIncrement = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.autoIncrement = object.autoIncrement ?? false; + return message; + } + +}; + +function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor { + return { + fields: "", + id: 0, + unique: false + }; +} + +export const SecondaryIndexDescriptor = { + encode(message: SecondaryIndexDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.id !== 0) { + writer.uint32(16).uint32(message.id); + } + + if (message.unique === true) { + writer.uint32(24).bool(message.unique); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSecondaryIndexDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.id = reader.uint32(); + break; + + case 3: + message.unique = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.id = object.id ?? 0; + message.unique = object.unique ?? false; + return message; + } + +}; + +function createBaseSingletonDescriptor(): SingletonDescriptor { + return { + id: 0 + }; +} + +export const SingletonDescriptor = { + encode(message: SingletonDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== 0) { + writer.uint32(8).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSingletonDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts new file mode 100644 index 000000000..11e3c94dc --- /dev/null +++ b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts @@ -0,0 +1,289 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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 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"; + + default: + return "UNKNOWN"; + } +} + +/** 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; +} + +/** 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; +} + +function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { + return { + schemaFile: [], + prefix: new Uint8Array() + }; +} + +export const ModuleSchemaDescriptor = { + encode(message: ModuleSchemaDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { + return { + id: 0, + protoFileName: "", + storageType: 0 + }; +} + +export const ModuleSchemaDescriptor_FileEntry = { + encode(message: ModuleSchemaDescriptor_FileEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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) : 0 + }; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts new file mode 100644 index 000000000..2023c7189 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts @@ -0,0 +1,187 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ +export interface ParameterChangeProposal { + title: string; + description: string; + changes: ParamChange[]; +} + +/** + * ParamChange defines an individual parameter change, for use in + * ParameterChangeProposal. + */ +export interface ParamChange { + subspace: string; + key: string; + value: string; +} + +function createBaseParameterChangeProposal(): ParameterChangeProposal { + return { + title: "", + description: "", + changes: [] + }; +} + +export const ParameterChangeProposal = { + encode(message: ParameterChangeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + for (const v of message.changes) { + ParamChange.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParameterChangeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.changes.push(ParamChange.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParamChange(): ParamChange { + return { + subspace: "", + key: "", + value: "" + }; +} + +export const ParamChange = { + encode(message: ParamChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + if (message.value !== "") { + writer.uint32(26).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParamChange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + case 3: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts new file mode 100644 index 000000000..5e8dd2b25 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -0,0 +1,40 @@ +import { ParamChange } from "./params"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries a specific parameter of a module, given its subspace and + key. */ + async params(params: QueryParamsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.subspace !== "undefined") { + options.params.subspace = params.subspace; + } + + if (typeof params?.key !== "undefined") { + options.params.key = params.key; + } + + const endpoint = `cosmos/params/v1beta1/params`; + return await this.request(endpoint, options); + } + + /* Subspaces queries for all registered subspaces and all keys for a subspace. */ + async subspaces(_params: QuerySubspacesRequest = {}): Promise { + const endpoint = `cosmos/params/v1beta1/subspaces`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..29b24104f --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -0,0 +1,37 @@ +import { ParamChange } from "./params"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries a specific parameter of a module, given its subspace and + key.*/ + + subspaces(request: QuerySubspacesRequest): Promise; + /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + subspaces(request: QuerySubspacesRequest): Promise { + const data = QuerySubspacesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); + return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts new file mode 100644 index 000000000..9ba52a80f --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts @@ -0,0 +1,348 @@ +import { ParamChange } from "./params"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** 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; +} + +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** param defines the queried parameter. */ + param: ParamChange | undefined; +} + +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ +export interface QuerySubspacesRequest {} + +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ +export interface QuerySubspacesResponse { + subspaces: Subspace[]; +} + +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ +export interface Subspace { + subspace: string; + keys: string[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + subspace: "", + key: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.key = object.key ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + param: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.param !== undefined) { + ParamChange.encode(message.param, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.param = ParamChange.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQuerySubspacesRequest(): QuerySubspacesRequest { + return {}; +} + +export const QuerySubspacesRequest = { + encode(_: QuerySubspacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QuerySubspacesRequest { + return {}; + }, + + toJSON(_: QuerySubspacesRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QuerySubspacesRequest { + const message = createBaseQuerySubspacesRequest(); + return message; + } + +}; + +function createBaseQuerySubspacesResponse(): QuerySubspacesResponse { + return { + subspaces: [] + }; +} + +export const QuerySubspacesResponse = { + encode(message: QuerySubspacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.subspaces) { + Subspace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspaces.push(Subspace.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSubspace(): Subspace { + return { + subspace: "", + keys: [] + }; +} + +export const Subspace = { + encode(message: Subspace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + for (const v of message.keys) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Subspace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSubspace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.keys.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.keys = object.keys?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.query.ts b/examples/telescope/codegen/cosmos/rpc.query.ts new file mode 100644 index 000000000..8c8c4a608 --- /dev/null +++ b/examples/telescope/codegen/cosmos/rpc.query.ts @@ -0,0 +1,55 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("./app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("./auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("./gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("./gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("./group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("./nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("./params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("./slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("./staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.tx.ts b/examples/telescope/codegen/cosmos/rpc.tx.ts new file mode 100644 index 000000000..e2598af91 --- /dev/null +++ b/examples/telescope/codegen/cosmos/rpc.tx.ts @@ -0,0 +1,49 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("./authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("./gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("./gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("./vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts new file mode 100644 index 000000000..89d8403a0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -0,0 +1,356 @@ +import { Params, ValidatorSigningInfo } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** GenesisState defines the slashing module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params: Params | undefined; + + /** + * 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[]; +} + +/** 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 | undefined; +} + +/** + * 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[]; +} + +/** 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; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + signingInfos: [], + missedBlocks: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseSigningInfo(): SigningInfo { + return { + address: "", + validatorSigningInfo: undefined + }; +} + +export const SigningInfo = { + encode(message: SigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { + return { + address: "", + missedBlocks: [] + }; +} + +export const ValidatorMissedBlocks = { + encode(message: ValidatorMissedBlocks, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMissedBlock(): MissedBlock { + return { + index: Long.ZERO, + missed: false + }; +} + +export const MissedBlock = { + encode(message: MissedBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).int64(message.index); + } + + if (message.missed === true) { + writer.uint32(16).bool(message.missed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.index) : Long.ZERO, + missed: isSet(object.missed) ? Boolean(object.missed) : false + }; + }, + + toJSON(message: MissedBlock): unknown { + const obj: any = {}; + message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.index) : Long.ZERO; + message.missed = object.missed ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts new file mode 100644 index 000000000..f7b2ae984 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -0,0 +1,45 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Params queries the parameters of slashing module */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/slashing/v1beta1/params`; + return await this.request(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.request(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.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..c52fcf97c --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -0,0 +1,47 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + params(request: QueryParamsRequest): Promise; + /*Params queries the parameters of slashing module*/ + + signingInfo(request: QuerySigningInfoRequest): Promise; + /*SigningInfo queries the signing info of given cons address*/ + + signingInfos(request: QuerySigningInfosRequest): Promise; + /*SigningInfos queries signing info of all validators*/ + +} +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 _m0.Reader(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 _m0.Reader(data))); + } + + signingInfos(request: QuerySigningInfosRequest): 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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts new file mode 100644 index 000000000..61a7cffc8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts @@ -0,0 +1,394 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Params, ValidatorSigningInfo } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryParamsRequest is the request type for the Query/Params RPC method */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method */ +export interface QueryParamsResponse { + params: Params | undefined; +} + +/** + * 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; +} + +/** + * 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 | undefined; +} + +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ +export interface QuerySigningInfosRequest { + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { + return { + consAddress: "" + }; +} + +export const QuerySigningInfoRequest = { + encode(message: QuerySigningInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consAddress !== "") { + writer.uint32(10).string(message.consAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { + return { + valSigningInfo: undefined + }; +} + +export const QuerySigningInfoResponse = { + encode(message: QuerySigningInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.valSigningInfo !== undefined) { + ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { + return { + pagination: undefined + }; +} + +export const QuerySigningInfosRequest = { + encode(message: QuerySigningInfosRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { + return { + info: [], + pagination: undefined + }; +} + +export const QuerySigningInfosResponse = { + encode(message: QuerySigningInfosResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts new file mode 100644 index 000000000..9bf5f95ee --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -0,0 +1,268 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/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: 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: Date | undefined; + + /** + * 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; +} + +/** Params represents the parameters used for by the slashing module. */ +export interface Params { + signedBlocksWindow: Long; + minSignedPerWindow: Uint8Array; + downtimeJailDuration: Duration | undefined; + slashFractionDoubleSign: Uint8Array; + slashFractionDowntime: Uint8Array; +} + +function createBaseValidatorSigningInfo(): ValidatorSigningInfo { + return { + address: "", + startHeight: Long.ZERO, + indexOffset: Long.ZERO, + jailedUntil: undefined, + tombstoned: false, + missedBlocksCounter: Long.ZERO + }; +} + +export const ValidatorSigningInfo = { + encode(message: ValidatorSigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.startHeight.isZero()) { + writer.uint32(16).int64(message.startHeight); + } + + if (!message.indexOffset.isZero()) { + writer.uint32(24).int64(message.indexOffset); + } + + if (message.jailedUntil !== undefined) { + Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim(); + } + + if (message.tombstoned === true) { + writer.uint32(40).bool(message.tombstoned); + } + + if (!message.missedBlocksCounter.isZero()) { + writer.uint32(48).int64(message.missedBlocksCounter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 3: + message.indexOffset = (reader.int64() as Long); + break; + + case 4: + message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.tombstoned = reader.bool(); + break; + + case 6: + message.missedBlocksCounter = (reader.int64() as Long); + 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) ? Long.fromString(object.startHeight) : Long.ZERO, + indexOffset: isSet(object.indexOffset) ? Long.fromString(object.indexOffset) : Long.ZERO, + jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined, + tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false, + missedBlocksCounter: isSet(object.missedBlocksCounter) ? Long.fromString(object.missedBlocksCounter) : Long.ZERO + }; + }, + + toJSON(message: ValidatorSigningInfo): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString()); + message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString()); + message.jailedUntil !== undefined && (obj.jailedUntil = message.jailedUntil.toISOString()); + message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); + message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorSigningInfo { + const message = createBaseValidatorSigningInfo(); + message.address = object.address ?? ""; + message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? Long.fromValue(object.startHeight) : Long.ZERO; + message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? Long.fromValue(object.indexOffset) : Long.ZERO; + message.jailedUntil = object.jailedUntil ?? undefined; + message.tombstoned = object.tombstoned ?? false; + message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + signedBlocksWindow: Long.ZERO, + minSignedPerWindow: new Uint8Array(), + downtimeJailDuration: undefined, + slashFractionDoubleSign: new Uint8Array(), + slashFractionDowntime: new Uint8Array() + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.signedBlocksWindow.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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) ? Long.fromString(object.signedBlocksWindow) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); + message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration); + 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 ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; + message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); + message.downtimeJailDuration = object.downtimeJailDuration ?? undefined; + message.slashFractionDoubleSign = object.slashFractionDoubleSign ?? new Uint8Array(); + message.slashFractionDowntime = object.slashFractionDowntime ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts new file mode 100644 index 000000000..2947b6068 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts @@ -0,0 +1,27 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgUnjail } from "./tx"; +export interface AminoMsgUnjail extends AminoMsg { + type: "cosmos-sdk/MsgUnjail"; + value: { + validator_addr: string; + }; +} +export const AminoConverter = { + "/cosmos.slashing.v1beta1.MsgUnjail": { + aminoType: "cosmos-sdk/MsgUnjail", + toAmino: ({ + validatorAddr + }: MsgUnjail): AminoMsgUnjail["value"] => { + return { + validator_addr: validatorAddr + }; + }, + fromAmino: ({ + validator_addr + }: AminoMsgUnjail["value"]): MsgUnjail => { + return { + validatorAddr: validator_addr + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts new file mode 100644 index 000000000..8921edc0f --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts @@ -0,0 +1,55 @@ +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/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..4c7948316 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgUnjail, MsgUnjailResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + unjail(request: MsgUnjail): Promise; + /*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.*/ + +} +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts new file mode 100644 index 000000000..6551bff33 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts @@ -0,0 +1,110 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** MsgUnjail defines the Msg/Unjail request type */ +export interface MsgUnjail { + validatorAddr: string; +} + +/** MsgUnjailResponse defines the Msg/Unjail response type */ +export interface MsgUnjailResponse {} + +function createBaseMsgUnjail(): MsgUnjail { + return { + validatorAddr: "" + }; +} + +export const MsgUnjail = { + encode(message: MsgUnjail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseMsgUnjailResponse(): MsgUnjailResponse { + return {}; +} + +export const MsgUnjailResponse = { + encode(_: MsgUnjailResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts new file mode 100644 index 000000000..a3f158574 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts @@ -0,0 +1,251 @@ +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * AuthorizationType defines the type of staking module authorization type + * + * Since: cosmos-sdk 0.43 + */ +export 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 function authorizationTypeFromJSON(object: any): AuthorizationType { + switch (object) { + case 0: + case "AUTHORIZATION_TYPE_UNSPECIFIED": + return AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED; + + case 1: + case "AUTHORIZATION_TYPE_DELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_DELEGATE; + + case 2: + case "AUTHORIZATION_TYPE_UNDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE; + + case 3: + case "AUTHORIZATION_TYPE_REDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE; + + case -1: + case "UNRECOGNIZED": + default: + return AuthorizationType.UNRECOGNIZED; + } +} +export function authorizationTypeToJSON(object: AuthorizationType): string { + switch (object) { + case AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED: + return "AUTHORIZATION_TYPE_UNSPECIFIED"; + + case AuthorizationType.AUTHORIZATION_TYPE_DELEGATE: + return "AUTHORIZATION_TYPE_DELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE: + return "AUTHORIZATION_TYPE_UNDELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: + return "AUTHORIZATION_TYPE_REDELEGATE"; + + default: + return "UNKNOWN"; + } +} + +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ +export interface StakeAuthorization { + /** + * 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 | undefined; + + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + allowList?: StakeAuthorization_Validators | undefined; + + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + denyList?: StakeAuthorization_Validators | undefined; + + /** authorization_type defines one of AuthorizationType. */ + authorizationType: AuthorizationType; +} + +/** Validators defines list of validator addresses. */ +export interface StakeAuthorization_Validators { + address: string[]; +} + +function createBaseStakeAuthorization(): StakeAuthorization { + return { + maxTokens: undefined, + allowList: undefined, + denyList: undefined, + authorizationType: 0 + }; +} + +export const StakeAuthorization = { + encode(message: StakeAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.maxTokens !== undefined) { + Coin.encode(message.maxTokens, writer.uint32(10).fork()).ldelim(); + } + + if (message.allowList !== undefined) { + StakeAuthorization_Validators.encode(message.allowList, writer.uint32(18).fork()).ldelim(); + } + + if (message.denyList !== undefined) { + StakeAuthorization_Validators.encode(message.denyList, writer.uint32(26).fork()).ldelim(); + } + + if (message.authorizationType !== 0) { + writer.uint32(32).int32(message.authorizationType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxTokens = Coin.decode(reader, reader.uint32()); + break; + + case 2: + message.allowList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 3: + message.denyList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 4: + message.authorizationType = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0 + }; + }, + + 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; + message.allowList = object.allowList !== undefined && object.allowList !== null ? StakeAuthorization_Validators.fromPartial(object.allowList) : undefined; + message.denyList = object.denyList !== undefined && object.denyList !== null ? StakeAuthorization_Validators.fromPartial(object.denyList) : undefined; + message.authorizationType = object.authorizationType ?? 0; + return message; + } + +}; + +function createBaseStakeAuthorization_Validators(): StakeAuthorization_Validators { + return { + address: [] + }; +} + +export const StakeAuthorization_Validators = { + encode(message: StakeAuthorization_Validators, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.address) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization_Validators(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts new file mode 100644 index 000000000..8aafa425b --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts @@ -0,0 +1,279 @@ +import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** GenesisState defines the staking module's genesis state. */ +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params: Params | undefined; + + /** + * 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; +} + +/** 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; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + lastTotalPower: new Uint8Array(), + lastValidatorPowers: [], + validators: [], + delegations: [], + unbondingDelegations: [], + redelegations: [], + exported: false + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.lastTotalPower.length !== 0) { + writer.uint32(18).bytes(message.lastTotalPower); + } + + for (const v of message.lastValidatorPowers) { + LastValidatorPower.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.delegations) { + Delegation.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.unbondingDelegations) { + UnbondingDelegation.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.redelegations) { + Redelegation.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.exported === true) { + writer.uint32(64).bool(message.exported); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.lastTotalPower = reader.bytes(); + break; + + case 3: + message.lastValidatorPowers.push(LastValidatorPower.decode(reader, reader.uint32())); + break; + + case 4: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 5: + message.delegations.push(Delegation.decode(reader, reader.uint32())); + break; + + case 6: + message.unbondingDelegations.push(UnbondingDelegation.decode(reader, reader.uint32())); + break; + + case 7: + message.redelegations.push(Redelegation.decode(reader, reader.uint32())); + break; + + case 8: + message.exported = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.lastTotalPower = object.lastTotalPower ?? new Uint8Array(); + message.lastValidatorPowers = object.lastValidatorPowers?.map(e => LastValidatorPower.fromPartial(e)) || []; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.delegations = object.delegations?.map(e => Delegation.fromPartial(e)) || []; + message.unbondingDelegations = object.unbondingDelegations?.map(e => UnbondingDelegation.fromPartial(e)) || []; + message.redelegations = object.redelegations?.map(e => Redelegation.fromPartial(e)) || []; + message.exported = object.exported ?? false; + return message; + } + +}; + +function createBaseLastValidatorPower(): LastValidatorPower { + return { + address: "", + power: Long.ZERO + }; +} + +export const LastValidatorPower = { + encode(message: LastValidatorPower, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastValidatorPower(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LastValidatorPower { + return { + address: isSet(object.address) ? String(object.address) : "", + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + toJSON(message: LastValidatorPower): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): LastValidatorPower { + const message = createBaseLastValidatorPower(); + message.address = object.address ?? ""; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts new file mode 100644 index 000000000..d5760d35e --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -0,0 +1,173 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +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"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Validators queries all validators that match the given status. */ + async validators(params: QueryValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.status !== "undefined") { + options.params.status = params.status; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators`; + return await this.request(endpoint, options); + } + + /* Validator queries validator info for given validator address. */ + async validator(params: QueryValidatorRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; + return await this.request(endpoint); + } + + /* ValidatorDelegations queries delegate info for given validator. */ + async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; + return await this.request(endpoint, options); + } + + /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ + async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; + return await this.request(endpoint, options); + } + + /* Delegation queries delegate info for given validator delegator pair. */ + async delegation(params: QueryDelegationRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; + return await this.request(endpoint); + } + + /* UnbondingDelegation queries unbonding info for given validator delegator + pair. */ + async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; + return await this.request(endpoint); + } + + /* DelegatorDelegations queries all delegations of a given delegator address. */ + async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; + return await this.request(endpoint, options); + } + + /* DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. */ + async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; + return await this.request(endpoint, options); + } + + /* Redelegations queries redelegations of given address. */ + async redelegations(params: QueryRedelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.srcValidatorAddr !== "undefined") { + options.params.src_validator_addr = params.srcValidatorAddr; + } + + if (typeof params?.dstValidatorAddr !== "undefined") { + options.params.dst_validator_addr = params.dstValidatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; + return await this.request(endpoint, options); + } + + /* DelegatorValidators queries all validators info for given delegator + address. */ + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; + return await this.request(endpoint, options); + } + + /* DelegatorValidator queries validator info for given delegator validator + pair. */ + async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; + return await this.request(endpoint); + } + + /* HistoricalInfo queries the historical info for given height. */ + async historicalInfo(params: QueryHistoricalInfoRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; + return await this.request(endpoint); + } + + /* Pool queries the pool info. */ + async pool(_params: QueryPoolRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/pool`; + return await this.request(endpoint); + } + + /* Parameters queries the staking parameters. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/params`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..dfaca20aa --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -0,0 +1,161 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +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 RPC service */ +export interface Query { + validators(request: QueryValidatorsRequest): Promise; + /*Validators queries all validators that match the given status.*/ + + validator(request: QueryValidatorRequest): Promise; + /*Validator queries validator info for given validator address.*/ + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + /*ValidatorDelegations queries delegate info for given validator.*/ + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; + /*ValidatorUnbondingDelegations queries unbonding delegations of a validator.*/ + + delegation(request: QueryDelegationRequest): Promise; + /*Delegation queries delegate info for given validator delegator pair.*/ + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; + /*UnbondingDelegation queries unbonding info for given validator delegator + pair.*/ + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; + /*DelegatorDelegations queries all delegations of a given delegator address.*/ + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + /*DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address.*/ + + redelegations(request: QueryRedelegationsRequest): Promise; + /*Redelegations queries redelegations of given address.*/ + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /*DelegatorValidators queries all validators info for given delegator + address.*/ + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; + /*DelegatorValidator queries validator info for given delegator validator + pair.*/ + + historicalInfo(request: QueryHistoricalInfoRequest): Promise; + /*HistoricalInfo queries the historical info for given height.*/ + + pool(request: QueryPoolRequest): Promise; + /*Pool queries the pool info.*/ + + params(request: QueryParamsRequest): Promise; + /*Parameters queries the staking parameters.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); + } + + validators(request: QueryValidatorsRequest): Promise { + const data = QueryValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); + return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); + } + + validator(request: QueryValidatorRequest): Promise { + const data = QueryValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); + return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); + } + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + const data = QueryValidatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); + return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); + return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegation(request: QueryDelegationRequest): Promise { + const data = QueryDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); + return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); + } + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + const data = QueryUnbondingDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); + return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); + } + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + const data = QueryDelegatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); + return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); + return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + redelegations(request: QueryRedelegationsRequest): Promise { + const data = QueryRedelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); + return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + const data = QueryDelegatorValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); + return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); + } + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + const data = QueryHistoricalInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); + return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); + } + + pool(request: QueryPoolRequest): Promise { + const data = QueryPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); + return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts new file mode 100644 index 000000000..f2ba259ed --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts @@ -0,0 +1,2111 @@ +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** 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 | undefined; +} + +/** 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 | undefined; +} + +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ +export interface QueryValidatorRequest { + /** validator_addr defines the validator address to query for. */ + validatorAddr: string; +} + +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ +export interface QueryValidatorResponse { + /** validator defines the the validator info. */ + validator: Validator | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ +export interface QueryValidatorDelegationsResponse { + delegationResponses: DelegationResponse[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ +export interface QueryValidatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** 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; +} + +/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ +export interface QueryDelegationResponse { + /** delegation_responses defines the delegation info of a delegation. */ + delegationResponse: DelegationResponse | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegationResponse is response type for the Query/UnbondingDelegation + * RPC method. + */ +export interface QueryUnbondingDelegationResponse { + /** unbond defines the unbonding information of a delegation. */ + unbond: UnbondingDelegation | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ +export interface QueryRedelegationsResponse { + redelegationResponses: RedelegationResponse[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponse { + /** validators defines the the validators' info of a delegator. */ + validators: Validator[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * 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; +} + +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorResponse { + /** validator defines the the validator info. */ + validator: Validator | undefined; +} + +/** + * 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; +} + +/** + * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoResponse { + /** hist defines the historical info at the given height. */ + hist: HistoricalInfo | undefined; +} + +/** QueryPoolRequest is request type for the Query/Pool RPC method. */ +export interface QueryPoolRequest {} + +/** QueryPoolResponse is response type for the Query/Pool RPC method. */ +export interface QueryPoolResponse { + /** pool defines the pool info. */ + pool: Pool | undefined; +} + +/** QueryParamsRequest is request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params holds all the parameters of this module. */ + params: Params | undefined; +} + +function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { + return { + status: "", + pagination: undefined + }; +} + +export const QueryValidatorsRequest = { + encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryValidatorsResponse = { + encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorRequest(): QueryValidatorRequest { + return { + validatorAddr: "" + }; +} + +export const QueryValidatorRequest = { + encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorRequest(); + + 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): 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 ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorResponse(): QueryValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryValidatorResponse = { + encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorDelegationsRequest = { + encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorDelegationsResponse = { + encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsRequest = { + encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsResponse = { + encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRequest(): QueryDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegationRequest = { + encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationResponse(): QueryDelegationResponse { + return { + delegationResponse: undefined + }; +} + +export const QueryDelegationResponse = { + encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegationResponse !== undefined) { + DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponse = DelegationResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryUnbondingDelegationRequest = { + encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { + return { + unbond: undefined + }; +} + +export const QueryUnbondingDelegationResponse = { + encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbond !== undefined) { + UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbond = UnbondingDelegation.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsRequest = { + encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsResponse = { + encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsRequest = { + encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsResponse = { + encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { + return { + delegatorAddr: "", + srcValidatorAddr: "", + dstValidatorAddr: "", + pagination: undefined + }; +} + +export const QueryRedelegationsRequest = { + encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.srcValidatorAddr !== "") { + writer.uint32(18).string(message.srcValidatorAddr); + } + + if (message.dstValidatorAddr !== "") { + writer.uint32(26).string(message.dstValidatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.srcValidatorAddr = reader.string(); + break; + + case 3: + message.dstValidatorAddr = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.srcValidatorAddr = object.srcValidatorAddr ?? ""; + message.dstValidatorAddr = object.dstValidatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { + return { + redelegationResponses: [], + pagination: undefined + }; +} + +export const QueryRedelegationsResponse = { + encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.redelegationResponses) { + RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationResponses.push(RedelegationResponse.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegatorValidatorRequest = { + encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryDelegatorValidatorResponse = { + encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest { + return { + height: Long.ZERO + }; +} + +export const QueryHistoricalInfoRequest = { + encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryHistoricalInfoRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: QueryHistoricalInfoRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryHistoricalInfoRequest { + const message = createBaseQueryHistoricalInfoRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { + return { + hist: undefined + }; +} + +export const QueryHistoricalInfoResponse = { + encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hist !== undefined) { + HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hist = HistoricalInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryPoolRequest(): QueryPoolRequest { + return {}; +} + +export const QueryPoolRequest = { + encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryPoolRequest { + return {}; + }, + + toJSON(_: QueryPoolRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryPoolRequest { + const message = createBaseQueryPoolRequest(); + return message; + } + +}; + +function createBaseQueryPoolResponse(): QueryPoolResponse { + return { + pool: undefined + }; +} + +export const QueryPoolResponse = { + encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pool !== undefined) { + Pool.encode(message.pool, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool = Pool.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts new file mode 100644 index 000000000..54490d4ca --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts @@ -0,0 +1,2036 @@ +import { Header } from "../../../tendermint/types/types"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any } from "../../../google/protobuf/any"; +import { Duration } from "../../../google/protobuf/duration"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, Long } from "@osmonauts/helpers"; + +/** BondStatus is the status of a validator. */ +export 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 function bondStatusFromJSON(object: any): BondStatus { + switch (object) { + case 0: + case "BOND_STATUS_UNSPECIFIED": + return BondStatus.BOND_STATUS_UNSPECIFIED; + + case 1: + case "BOND_STATUS_UNBONDED": + return BondStatus.BOND_STATUS_UNBONDED; + + case 2: + case "BOND_STATUS_UNBONDING": + return BondStatus.BOND_STATUS_UNBONDING; + + case 3: + case "BOND_STATUS_BONDED": + return BondStatus.BOND_STATUS_BONDED; + + case -1: + case "UNRECOGNIZED": + default: + return BondStatus.UNRECOGNIZED; + } +} +export function bondStatusToJSON(object: BondStatus): string { + switch (object) { + case BondStatus.BOND_STATUS_UNSPECIFIED: + return "BOND_STATUS_UNSPECIFIED"; + + case BondStatus.BOND_STATUS_UNBONDED: + return "BOND_STATUS_UNBONDED"; + + case BondStatus.BOND_STATUS_UNBONDING: + return "BOND_STATUS_UNBONDING"; + + case BondStatus.BOND_STATUS_BONDED: + return "BOND_STATUS_BONDED"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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 | undefined; + valset: Validator[]; +} + +/** + * 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; +} + +/** 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 | undefined; + + /** update_time is the last time the commission rate was changed. */ + updateTime: Date | undefined; +} + +/** 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; +} + +/** + * 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 | undefined; + + /** 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: Date | undefined; + + /** commission defines the commission parameters. */ + commission: Commission | undefined; + + /** min_self_delegation is the validator's self declared minimum self delegation. */ + minSelfDelegation: string; +} + +/** ValAddresses defines a repeated set of validator addresses. */ +export interface ValAddresses { + 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; +} + +/** DVPairs defines an array of DVPair objects. */ +export interface DVPairs { + pairs: DVPair[]; +} + +/** + * 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; +} + +/** DVVTriplets defines an array of DVVTriplet objects. */ +export interface DVVTriplets { + triplets: DVVTriplet[]; +} + +/** + * 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; +} + +/** + * 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[]; +} + +/** 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: Date | undefined; + + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + initialBalance: string; + + /** balance defines the tokens to receive at completion. */ + 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: Date | undefined; + + /** 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; +} + +/** + * 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[]; +} + +/** Params defines the parameters for the staking module. */ +export interface Params { + /** unbonding_time is the time duration of unbonding. */ + unbondingTime: Duration | undefined; + + /** 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; +} + +/** + * 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 | undefined; + balance: Coin | undefined; +} + +/** + * 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 | undefined; + 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 | undefined; + entries: RedelegationEntryResponse[]; +} + +/** + * Pool is used for tracking bonded and not-bonded token supply of the bond + * denomination. + */ +export interface Pool { + notBondedTokens: string; + bondedTokens: string; +} + +function createBaseHistoricalInfo(): HistoricalInfo { + return { + header: undefined, + valset: [] + }; +} + +export const HistoricalInfo = { + encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.valset) { + Validator.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHistoricalInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.valset.push(Validator.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.valset = object.valset?.map(e => Validator.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommissionRates(): CommissionRates { + return { + rate: "", + maxRate: "", + maxChangeRate: "" + }; +} + +export const CommissionRates = { + encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rate !== "") { + writer.uint32(10).string(message.rate); + } + + if (message.maxRate !== "") { + writer.uint32(18).string(message.maxRate); + } + + if (message.maxChangeRate !== "") { + writer.uint32(26).string(message.maxChangeRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommissionRates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rate = reader.string(); + break; + + case 2: + message.maxRate = reader.string(); + break; + + case 3: + message.maxChangeRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.maxRate = object.maxRate ?? ""; + message.maxChangeRate = object.maxChangeRate ?? ""; + return message; + } + +}; + +function createBaseCommission(): Commission { + return { + commissionRates: undefined, + updateTime: undefined + }; +} + +export const Commission = { + encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commissionRates !== undefined) { + CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); + } + + if (message.updateTime !== undefined) { + Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commissionRates = CommissionRates.decode(reader, reader.uint32()); + break; + + case 2: + message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = 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; + return message; + } + +}; + +function createBaseDescription(): Description { + return { + moniker: "", + identity: "", + website: "", + securityContact: "", + details: "" + }; +} + +export const Description = { + encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moniker !== "") { + writer.uint32(10).string(message.moniker); + } + + if (message.identity !== "") { + writer.uint32(18).string(message.identity); + } + + if (message.website !== "") { + writer.uint32(26).string(message.website); + } + + if (message.securityContact !== "") { + writer.uint32(34).string(message.securityContact); + } + + if (message.details !== "") { + writer.uint32(42).string(message.details); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Description { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescription(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moniker = reader.string(); + break; + + case 2: + message.identity = reader.string(); + break; + + case 3: + message.website = reader.string(); + break; + + case 4: + message.securityContact = reader.string(); + break; + + case 5: + message.details = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.identity = object.identity ?? ""; + message.website = object.website ?? ""; + message.securityContact = object.securityContact ?? ""; + message.details = object.details ?? ""; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + operatorAddress: "", + consensusPubkey: undefined, + jailed: false, + status: 0, + tokens: "", + delegatorShares: "", + description: undefined, + unbondingHeight: Long.ZERO, + unbondingTime: undefined, + commission: undefined, + minSelfDelegation: "" + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operatorAddress !== "") { + writer.uint32(10).string(message.operatorAddress); + } + + if (message.consensusPubkey !== undefined) { + Any.encode(message.consensusPubkey, writer.uint32(18).fork()).ldelim(); + } + + if (message.jailed === true) { + writer.uint32(24).bool(message.jailed); + } + + if (message.status !== 0) { + writer.uint32(32).int32(message.status); + } + + if (message.tokens !== "") { + writer.uint32(42).string(message.tokens); + } + + if (message.delegatorShares !== "") { + writer.uint32(50).string(message.delegatorShares); + } + + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(58).fork()).ldelim(); + } + + if (!message.unbondingHeight.isZero()) { + writer.uint32(64).int64(message.unbondingHeight); + } + + if (message.unbondingTime !== undefined) { + Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.commission !== undefined) { + Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(90).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.operatorAddress = reader.string(); + break; + + case 2: + message.consensusPubkey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.jailed = reader.bool(); + break; + + case 4: + message.status = (reader.int32() as any); + break; + + case 5: + message.tokens = reader.string(); + break; + + case 6: + message.delegatorShares = reader.string(); + break; + + case 7: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 8: + message.unbondingHeight = (reader.int64() as Long); + break; + + case 9: + message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.commission = Commission.decode(reader, reader.uint32()); + break; + + case 11: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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) ? Long.fromString(object.unbondingHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.unbondingTime !== undefined && (obj.unbondingTime = 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 ?? ""; + message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? Any.fromPartial(object.consensusPubkey) : undefined; + message.jailed = object.jailed ?? false; + message.status = object.status ?? 0; + message.tokens = object.tokens ?? ""; + 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 ? Long.fromValue(object.unbondingHeight) : Long.ZERO; + message.unbondingTime = object.unbondingTime ?? undefined; + message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseValAddresses(): ValAddresses { + return { + addresses: [] + }; +} + +export const ValAddresses = { + encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.addresses) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValAddresses(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addresses.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseDVPair(): DVPair { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const DVPair = { + encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPair(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseDVPairs(): DVPairs { + return { + pairs: [] + }; +} + +export const DVPairs = { + encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + DVPair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPairs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pairs.push(DVPair.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDVVTriplet(): DVVTriplet { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "" + }; +} + +export const DVVTriplet = { + encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + return message; + } + +}; + +function createBaseDVVTriplets(): DVVTriplets { + return { + triplets: [] + }; +} + +export const DVVTriplets = { + encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.triplets) { + DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplets(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.triplets.push(DVVTriplet.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseDelegation(): Delegation { + return { + delegatorAddress: "", + validatorAddress: "", + shares: "" + }; +} + +export const Delegation = { + encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.shares !== "") { + writer.uint32(26).string(message.shares); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Delegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.shares = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.shares = object.shares ?? ""; + return message; + } + +}; + +function createBaseUnbondingDelegation(): UnbondingDelegation { + return { + delegatorAddress: "", + validatorAddress: "", + entries: [] + }; +} + +export const UnbondingDelegation = { + encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + for (const v of message.entries) { + UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + balance: "" + }; +} + +export const UnbondingDelegationEntry = { + encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UnbondingDelegationEntry { + return { + creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationEntry(): RedelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + sharesDst: "" + }; +} + +export const RedelegationEntry = { + encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.sharesDst !== "") { + writer.uint32(34).string(message.sharesDst); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.sharesDst = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RedelegationEntry { + return { + creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.sharesDst = object.sharesDst ?? ""; + return message; + } + +}; + +function createBaseRedelegation(): Redelegation { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + entries: [] + }; +} + +export const Redelegation = { + encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + for (const v of message.entries) { + RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.entries.push(RedelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + unbondingTime: undefined, + maxValidators: 0, + maxEntries: 0, + historicalEntries: 0, + bondDenom: "", + minCommissionRate: "" + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbondingTime !== undefined) { + Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxValidators !== 0) { + writer.uint32(16).uint32(message.maxValidators); + } + + if (message.maxEntries !== 0) { + writer.uint32(24).uint32(message.maxEntries); + } + + if (message.historicalEntries !== 0) { + writer.uint32(32).uint32(message.historicalEntries); + } + + if (message.bondDenom !== "") { + writer.uint32(42).string(message.bondDenom); + } + + if (message.minCommissionRate !== "") { + writer.uint32(50).string(message.minCommissionRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.unbondingTime = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.maxValidators = reader.uint32(); + break; + + case 3: + message.maxEntries = reader.uint32(); + break; + + case 4: + message.historicalEntries = reader.uint32(); + break; + + case 5: + message.bondDenom = reader.string(); + break; + + case 6: + message.minCommissionRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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); + 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; + message.maxValidators = object.maxValidators ?? 0; + message.maxEntries = object.maxEntries ?? 0; + message.historicalEntries = object.historicalEntries ?? 0; + message.bondDenom = object.bondDenom ?? ""; + message.minCommissionRate = object.minCommissionRate ?? ""; + return message; + } + +}; + +function createBaseDelegationResponse(): DelegationResponse { + return { + delegation: undefined, + balance: undefined + }; +} + +export const DelegationResponse = { + encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegation !== undefined) { + Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegation = Delegation.decode(reader, reader.uint32()); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { + return { + redelegationEntry: undefined, + balance: "" + }; +} + +export const RedelegationEntryResponse = { + encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegationEntry !== undefined) { + RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32()); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationResponse(): RedelegationResponse { + return { + redelegation: undefined, + entries: [] + }; +} + +export const RedelegationResponse = { + encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegation !== undefined) { + Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.entries) { + RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegation = Redelegation.decode(reader, reader.uint32()); + break; + + case 2: + message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePool(): Pool { + return { + notBondedTokens: "", + bondedTokens: "" + }; +} + +export const Pool = { + encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.notBondedTokens !== "") { + writer.uint32(10).string(message.notBondedTokens); + } + + if (message.bondedTokens !== "") { + writer.uint32(18).string(message.bondedTokens); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.notBondedTokens = reader.string(); + break; + + case 2: + message.bondedTokens = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.bondedTokens = object.bondedTokens ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b9bde0570 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -0,0 +1,298 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; +import { fromBase64, toBase64 } from "@cosmjs/encoding"; +import { Long } from "@osmonauts/helpers"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; +export interface AminoMsgCreateValidator extends AminoMsg { + type: "cosmos-sdk/MsgCreateValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + commission: { + rate: string; + max_rate: string; + max_change_rate: string; + }; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey: { + type_url: string; + value: Uint8Array; + }; + value: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgEditValidator extends AminoMsg { + type: "cosmos-sdk/MsgEditValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + validator_address: string; + commission_rate: string; + min_self_delegation: string; + }; +} +export interface AminoMsgDelegate extends AminoMsg { + type: "cosmos-sdk/MsgDelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgBeginRedelegate extends AminoMsg { + type: "cosmos-sdk/MsgBeginRedelegate"; + value: { + delegator_address: string; + validator_src_address: string; + validator_dst_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgUndelegate extends AminoMsg { + type: "cosmos-sdk/MsgUndelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export const AminoConverter = { + "/cosmos.staking.v1beta1.MsgCreateValidator": { + aminoType: "cosmos-sdk/MsgCreateValidator", + toAmino: ({ + description, + commission, + minSelfDelegation, + delegatorAddress, + validatorAddress, + pubkey, + value + }: MsgCreateValidator): AminoMsgCreateValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + commission: { + rate: commission.rate, + max_rate: commission.maxRate, + max_change_rate: commission.maxChangeRate + }, + min_self_delegation: minSelfDelegation, + delegator_address: delegatorAddress, + validator_address: validatorAddress, + pubkey: { + typeUrl: "/cosmos.crypto.secp256k1.PubKey", + value: fromBase64(decodeBech32Pubkey(pubkey).value) + }, + value: { + denom: value.denom, + amount: Long.fromNumber(value.amount).toString() + } + }; + }, + fromAmino: ({ + description, + commission, + min_self_delegation, + delegator_address, + validator_address, + pubkey, + value + }: AminoMsgCreateValidator["value"]): MsgCreateValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + commission: { + rate: commission.rate, + maxRate: commission.max_rate, + maxChangeRate: commission.max_change_rate + }, + minSelfDelegation: min_self_delegation, + delegatorAddress: delegator_address, + validatorAddress: validator_address, + pubkey: encodeBech32Pubkey({ + type: "tendermint/PubKeySecp256k1", + value: toBase64(pubkey.value) + }, "cosmos"), + value: { + denom: value.denom, + amount: value.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgEditValidator": { + aminoType: "cosmos-sdk/MsgEditValidator", + toAmino: ({ + description, + validatorAddress, + commissionRate, + minSelfDelegation + }: MsgEditValidator): AminoMsgEditValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + validator_address: validatorAddress, + commission_rate: commissionRate, + min_self_delegation: minSelfDelegation + }; + }, + fromAmino: ({ + description, + validator_address, + commission_rate, + min_self_delegation + }: AminoMsgEditValidator["value"]): MsgEditValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + validatorAddress: validator_address, + commissionRate: commission_rate, + minSelfDelegation: min_self_delegation + }; + } + }, + "/cosmos.staking.v1beta1.MsgDelegate": { + aminoType: "cosmos-sdk/MsgDelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgDelegate): AminoMsgDelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgDelegate["value"]): MsgDelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgBeginRedelegate": { + aminoType: "cosmos-sdk/MsgBeginRedelegate", + toAmino: ({ + delegatorAddress, + validatorSrcAddress, + validatorDstAddress, + amount + }: MsgBeginRedelegate): AminoMsgBeginRedelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_src_address: validatorSrcAddress, + validator_dst_address: validatorDstAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_src_address, + validator_dst_address, + amount + }: AminoMsgBeginRedelegate["value"]): MsgBeginRedelegate => { + return { + delegatorAddress: delegator_address, + validatorSrcAddress: validator_src_address, + validatorDstAddress: validator_dst_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgUndelegate": { + aminoType: "cosmos-sdk/MsgUndelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgUndelegate): AminoMsgUndelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgUndelegate["value"]): MsgUndelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts new file mode 100644 index 000000000..4853da5dc --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts @@ -0,0 +1,199 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } 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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.encode(value).finish() + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.encode(value).finish() + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.encode(value).finish() + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.encode(value).finish() + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value + }; + } + + }, + 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) + }; + } + + }, + 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) + }; + } + + }, + fromPartial: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.fromPartial(value) + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.fromPartial(value) + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.fromPartial(value) + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.fromPartial(value) + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..592fd6163 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,72 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createValidator(request: MsgCreateValidator): Promise; + /*CreateValidator defines a method for creating a new validator.*/ + + editValidator(request: MsgEditValidator): Promise; + /*EditValidator defines a method for editing an existing validator.*/ + + delegate(request: MsgDelegate): Promise; + /*Delegate defines a method for performing a delegation of coins + from a delegator to a validator.*/ + + beginRedelegate(request: MsgBeginRedelegate): Promise; + /*BeginRedelegate defines a method for performing a redelegation + of coins from a delegator and source validator to a destination validator.*/ + + undelegate(request: MsgUndelegate): Promise; + /*Undelegate defines a method for performing an undelegation from a + delegate and a validator.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createValidator = this.createValidator.bind(this); + this.editValidator = this.editValidator.bind(this); + this.delegate = this.delegate.bind(this); + this.beginRedelegate = this.beginRedelegate.bind(this); + this.undelegate = this.undelegate.bind(this); + } + + createValidator(request: MsgCreateValidator): Promise { + const data = MsgCreateValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); + return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); + } + + editValidator(request: MsgEditValidator): Promise { + const data = MsgEditValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); + return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); + } + + delegate(request: MsgDelegate): Promise { + const data = MsgDelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); + return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); + } + + beginRedelegate(request: MsgBeginRedelegate): Promise { + const data = MsgBeginRedelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); + return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); + } + + undelegate(request: MsgUndelegate): Promise { + const data = MsgUndelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); + return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts new file mode 100644 index 000000000..f34a6e0c8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts @@ -0,0 +1,802 @@ +import { Description, CommissionRates } from "./staking"; +import { Any } from "../../../google/protobuf/any"; +import { Coin } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** MsgCreateValidator defines a SDK message for creating a new validator. */ +export interface MsgCreateValidator { + description: Description | undefined; + commission: CommissionRates | undefined; + minSelfDelegation: string; + delegatorAddress: string; + validatorAddress: string; + pubkey: Any | undefined; + value: Coin | undefined; +} + +/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ +export interface MsgCreateValidatorResponse {} + +/** MsgEditValidator defines a SDK message for editing an existing validator. */ +export interface MsgEditValidator { + description: Description | undefined; + 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; +} + +/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ +export interface MsgEditValidatorResponse {} + +/** + * 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 | undefined; +} + +/** MsgDelegateResponse defines the Msg/Delegate response type. */ +export interface MsgDelegateResponse {} + +/** + * 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 | undefined; +} + +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ +export interface MsgBeginRedelegateResponse { + completionTime: Date | undefined; +} + +/** + * MsgUndelegate defines a SDK message for performing an undelegation from a + * delegate and a validator. + */ +export interface MsgUndelegate { + delegatorAddress: string; + validatorAddress: string; + amount: Coin | undefined; +} + +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ +export interface MsgUndelegateResponse { + completionTime: Date | undefined; +} + +function createBaseMsgCreateValidator(): MsgCreateValidator { + return { + description: undefined, + commission: undefined, + minSelfDelegation: "", + delegatorAddress: "", + validatorAddress: "", + pubkey: undefined, + value: undefined + }; +} + +export const MsgCreateValidator = { + encode(message: MsgCreateValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.commission !== undefined) { + CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(26).string(message.minSelfDelegation); + } + + if (message.delegatorAddress !== "") { + writer.uint32(34).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(42).string(message.validatorAddress); + } + + if (message.pubkey !== undefined) { + Any.encode(message.pubkey, writer.uint32(50).fork()).ldelim(); + } + + if (message.value !== undefined) { + Coin.encode(message.value, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.commission = CommissionRates.decode(reader, reader.uint32()); + break; + + case 3: + message.minSelfDelegation = reader.string(); + break; + + case 4: + message.delegatorAddress = reader.string(); + break; + + case 5: + message.validatorAddress = reader.string(); + break; + + case 6: + message.pubkey = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.value = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.commission = object.commission !== undefined && object.commission !== null ? CommissionRates.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.pubkey = object.pubkey !== undefined && object.pubkey !== null ? Any.fromPartial(object.pubkey) : undefined; + message.value = object.value !== undefined && object.value !== null ? Coin.fromPartial(object.value) : undefined; + return message; + } + +}; + +function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse { + return {}; +} + +export const MsgCreateValidatorResponse = { + encode(_: MsgCreateValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateValidatorResponse { + return {}; + }, + + toJSON(_: MsgCreateValidatorResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateValidatorResponse { + const message = createBaseMsgCreateValidatorResponse(); + return message; + } + +}; + +function createBaseMsgEditValidator(): MsgEditValidator { + return { + description: undefined, + validatorAddress: "", + commissionRate: "", + minSelfDelegation: "" + }; +} + +export const MsgEditValidator = { + encode(message: MsgEditValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.commissionRate !== "") { + writer.uint32(26).string(message.commissionRate); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(34).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.commissionRate = reader.string(); + break; + + case 4: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validatorAddress = object.validatorAddress ?? ""; + message.commissionRate = object.commissionRate ?? ""; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse { + return {}; +} + +export const MsgEditValidatorResponse = { + encode(_: MsgEditValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgEditValidatorResponse { + return {}; + }, + + toJSON(_: MsgEditValidatorResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgEditValidatorResponse { + const message = createBaseMsgEditValidatorResponse(); + return message; + } + +}; + +function createBaseMsgDelegate(): MsgDelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgDelegate = { + encode(message: MsgDelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgDelegateResponse(): MsgDelegateResponse { + return {}; +} + +export const MsgDelegateResponse = { + encode(_: MsgDelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgDelegateResponse { + return {}; + }, + + toJSON(_: MsgDelegateResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgDelegateResponse { + const message = createBaseMsgDelegateResponse(); + return message; + } + +}; + +function createBaseMsgBeginRedelegate(): MsgBeginRedelegate { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + amount: undefined + }; +} + +export const MsgBeginRedelegate = { + encode(message: MsgBeginRedelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgBeginRedelegateResponse = { + encode(message: MsgBeginRedelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = message.completionTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): MsgBeginRedelegateResponse { + const message = createBaseMsgBeginRedelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; + +function createBaseMsgUndelegate(): MsgUndelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgUndelegate = { + encode(message: MsgUndelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgUndelegateResponse = { + encode(message: MsgUndelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 = message.completionTime.toISOString()); + return obj; + }, + + fromPartial(object: Partial): MsgUndelegateResponse { + const message = createBaseMsgUndelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts new file mode 100644 index 000000000..432361417 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -0,0 +1,510 @@ +import { CompactBitArray } from "../../../crypto/multisig/v1beta1/multisig"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * 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 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, + UNRECOGNIZED = -1, +} +export function signModeFromJSON(object: any): SignMode { + switch (object) { + case 0: + case "SIGN_MODE_UNSPECIFIED": + return SignMode.SIGN_MODE_UNSPECIFIED; + + case 1: + case "SIGN_MODE_DIRECT": + return SignMode.SIGN_MODE_DIRECT; + + case 2: + case "SIGN_MODE_TEXTUAL": + return SignMode.SIGN_MODE_TEXTUAL; + + case 3: + case "SIGN_MODE_DIRECT_AUX": + return SignMode.SIGN_MODE_DIRECT_AUX; + + case 127: + case "SIGN_MODE_LEGACY_AMINO_JSON": + return SignMode.SIGN_MODE_LEGACY_AMINO_JSON; + + case -1: + case "UNRECOGNIZED": + default: + return SignMode.UNRECOGNIZED; + } +} +export function signModeToJSON(object: SignMode): string { + switch (object) { + case SignMode.SIGN_MODE_UNSPECIFIED: + return "SIGN_MODE_UNSPECIFIED"; + + case SignMode.SIGN_MODE_DIRECT: + return "SIGN_MODE_DIRECT"; + + case SignMode.SIGN_MODE_TEXTUAL: + return "SIGN_MODE_TEXTUAL"; + + case SignMode.SIGN_MODE_DIRECT_AUX: + return "SIGN_MODE_DIRECT_AUX"; + + case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: + return "SIGN_MODE_LEGACY_AMINO_JSON"; + + default: + return "UNKNOWN"; + } +} + +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ +export interface SignatureDescriptors { + /** signatures are the signature descriptors */ + signatures: SignatureDescriptor[]; +} + +/** + * 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 | undefined; + data: SignatureDescriptor_Data | undefined; + + /** + * 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; +} + +/** Data represents signature data */ +export interface SignatureDescriptor_Data { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_Single | undefined; + + /** multi represents a multisig signer */ + multi?: SignatureDescriptor_Data_Multi | undefined; +} + +/** 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; +} + +/** 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 | undefined; + + /** signatures is the signatures of the multi-signature */ + signatures: SignatureDescriptor_Data[]; +} + +function createBaseSignatureDescriptors(): SignatureDescriptors { + return { + signatures: [] + }; +} + +export const SignatureDescriptors = { + encode(message: SignatureDescriptors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + SignatureDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptors(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(SignatureDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSignatureDescriptor(): SignatureDescriptor { + return { + publicKey: undefined, + data: undefined, + sequence: Long.UZERO + }; +} + +export const SignatureDescriptor = { + encode(message: SignatureDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.data !== undefined) { + SignatureDescriptor_Data.encode(message.data, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.data = SignatureDescriptor_Data.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureDescriptor { + const message = createBaseSignatureDescriptor(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.data = object.data !== undefined && object.data !== null ? SignatureDescriptor_Data.fromPartial(object.data) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data(): SignatureDescriptor_Data { + return { + single: undefined, + multi: undefined + }; +} + +export const SignatureDescriptor_Data = { + encode(message: SignatureDescriptor_Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + SignatureDescriptor_Data_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = SignatureDescriptor_Data_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = SignatureDescriptor_Data_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.multi = object.multi !== undefined && object.multi !== null ? SignatureDescriptor_Data_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Single(): SignatureDescriptor_Data_Single { + return { + mode: 0, + signature: new Uint8Array() + }; +} + +export const SignatureDescriptor_Data_Single = { + encode(message: SignatureDescriptor_Data_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + if (message.signature.length !== 0) { + writer.uint32(18).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + case 2: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureDescriptor_Data_Single { + return { + mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0, + 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { + return { + bitarray: undefined, + signatures: [] + }; +} + +export const SignatureDescriptor_Data_Multi = { + encode(message: SignatureDescriptor_Data_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.signatures) { + SignatureDescriptor_Data.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.signatures.push(SignatureDescriptor_Data.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.signatures = object.signatures?.map(e => SignatureDescriptor_Data.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts new file mode 100644 index 000000000..826839fa2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -0,0 +1,72 @@ +import { Tx } from "./tx"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; +import { BlockID } from "../../../tendermint/types/types"; +import { Block } from "../../../tendermint/types/block"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; + +/** Service defines the RPC service */ +export interface Service { + simulate(request: SimulateRequest): Promise; + /*Simulate simulates executing a transaction for estimating gas usage.*/ + + getTx(request: GetTxRequest): Promise; + /*GetTx fetches a tx by hash.*/ + + broadcastTx(request: BroadcastTxRequest): Promise; + /*BroadcastTx broadcast transaction.*/ + + getTxsEvent(request: GetTxsEventRequest): Promise; + /*GetTxsEvent fetches txs by event.*/ + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; + /*GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2*/ + +} +export class ServiceClientImpl implements Service { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.simulate = this.simulate.bind(this); + this.getTx = this.getTx.bind(this); + this.broadcastTx = this.broadcastTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + + simulate(request: SimulateRequest): Promise { + const data = SimulateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); + return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); + } + + getTx(request: GetTxRequest): Promise { + const data = GetTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); + return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); + } + + broadcastTx(request: BroadcastTxRequest): Promise { + const data = BroadcastTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); + return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); + } + + getTxsEvent(request: GetTxsEventRequest): Promise { + const data = GetTxsEventRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); + return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); + } + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + const data = GetBlockWithTxsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); + return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts new file mode 100644 index 000000000..4756c1574 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts @@ -0,0 +1,986 @@ +import { Tx } from "./tx"; +import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; +import { BlockID } from "../../../tendermint/types/types"; +import { Block } from "../../../tendermint/types/block"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/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. */ + 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 function orderByFromJSON(object: any): OrderBy { + switch (object) { + case 0: + case "ORDER_BY_UNSPECIFIED": + return OrderBy.ORDER_BY_UNSPECIFIED; + + case 1: + case "ORDER_BY_ASC": + return OrderBy.ORDER_BY_ASC; + + case 2: + case "ORDER_BY_DESC": + return OrderBy.ORDER_BY_DESC; + + case -1: + case "UNRECOGNIZED": + default: + return OrderBy.UNRECOGNIZED; + } +} +export function orderByToJSON(object: OrderBy): string { + switch (object) { + case OrderBy.ORDER_BY_UNSPECIFIED: + return "ORDER_BY_UNSPECIFIED"; + + case OrderBy.ORDER_BY_ASC: + return "ORDER_BY_ASC"; + + case OrderBy.ORDER_BY_DESC: + return "ORDER_BY_DESC"; + + default: + return "UNKNOWN"; + } +} + +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ +export 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 function broadcastModeFromJSON(object: any): BroadcastMode { + switch (object) { + case 0: + case "BROADCAST_MODE_UNSPECIFIED": + return BroadcastMode.BROADCAST_MODE_UNSPECIFIED; + + case 1: + case "BROADCAST_MODE_BLOCK": + return BroadcastMode.BROADCAST_MODE_BLOCK; + + case 2: + case "BROADCAST_MODE_SYNC": + return BroadcastMode.BROADCAST_MODE_SYNC; + + case 3: + case "BROADCAST_MODE_ASYNC": + return BroadcastMode.BROADCAST_MODE_ASYNC; + + case -1: + case "UNRECOGNIZED": + default: + return BroadcastMode.UNRECOGNIZED; + } +} +export function broadcastModeToJSON(object: BroadcastMode): string { + switch (object) { + case BroadcastMode.BROADCAST_MODE_UNSPECIFIED: + return "BROADCAST_MODE_UNSPECIFIED"; + + case BroadcastMode.BROADCAST_MODE_BLOCK: + return "BROADCAST_MODE_BLOCK"; + + case BroadcastMode.BROADCAST_MODE_SYNC: + return "BROADCAST_MODE_SYNC"; + + case BroadcastMode.BROADCAST_MODE_ASYNC: + return "BROADCAST_MODE_ASYNC"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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. */ + pagination?: PageRequest | undefined; + orderBy: OrderBy; +} + +/** + * 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. */ + pagination?: PageResponse | undefined; +} + +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ +export interface BroadcastTxRequest { + /** tx_bytes is the raw transaction. */ + txBytes: Uint8Array; + mode: BroadcastMode; +} + +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ +export interface BroadcastTxResponse { + /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; +} + +/** + * 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 | undefined; + + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + txBytes: 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 | undefined; + + /** result is the result of the simulation. */ + result: Result | undefined; +} + +/** + * 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; +} + +/** GetTxResponse is the response type for the Service.GetTx method. */ +export interface GetTxResponse { + /** tx is the queried transaction. */ + tx: Tx | undefined; + + /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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 | undefined; + block: Block | undefined; + + /** pagination defines a pagination for the response. */ + pagination?: PageResponse | undefined; +} + +function createBaseGetTxsEventRequest(): GetTxsEventRequest { + return { + events: [], + pagination: undefined, + orderBy: 0 + }; +} + +export const GetTxsEventRequest = { + encode(message: GetTxsEventRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.orderBy !== 0) { + writer.uint32(24).int32(message.orderBy); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(reader.string()); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 3: + message.orderBy = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 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)); + return obj; + }, + + fromPartial(object: Partial): GetTxsEventRequest { + const message = createBaseGetTxsEventRequest(); + message.events = object.events?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.orderBy = object.orderBy ?? 0; + return message; + } + +}; + +function createBaseGetTxsEventResponse(): GetTxsEventResponse { + return { + txs: [], + txResponses: [], + pagination: undefined + }; +} + +export const GetTxsEventResponse = { + encode(message: GetTxsEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.txResponses) { + TxResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.txResponses.push(TxResponse.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): 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 + }; + }, + + 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); + return obj; + }, + + fromPartial(object: Partial): GetTxsEventResponse { + const message = createBaseGetTxsEventResponse(); + message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; + message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseBroadcastTxRequest(): BroadcastTxRequest { + return { + txBytes: new Uint8Array(), + mode: 0 + }; +} + +export const BroadcastTxRequest = { + encode(message: BroadcastTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txBytes.length !== 0) { + writer.uint32(10).bytes(message.txBytes); + } + + if (message.mode !== 0) { + writer.uint32(16).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txBytes = reader.bytes(); + break; + + case 2: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BroadcastTxRequest { + return { + txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(), + mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : 0 + }; + }, + + 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(); + message.mode = object.mode ?? 0; + return message; + } + +}; + +function createBaseBroadcastTxResponse(): BroadcastTxResponse { + return { + txResponse: undefined + }; +} + +export const BroadcastTxResponse = { + encode(message: BroadcastTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseSimulateRequest(): SimulateRequest { + return { + tx: undefined, + txBytes: new Uint8Array() + }; +} + +export const SimulateRequest = { + encode(message: SimulateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txBytes.length !== 0) { + writer.uint32(18).bytes(message.txBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.txBytes = object.txBytes ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSimulateResponse(): SimulateResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulateResponse = { + encode(message: SimulateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseGetTxRequest(): GetTxRequest { + return { + hash: "" + }; +} + +export const GetTxRequest = { + encode(message: GetTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseGetTxResponse(): GetTxResponse { + return { + tx: undefined, + txResponse: undefined + }; +} + +export const GetTxResponse = { + encode(message: GetTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetBlockWithTxsRequest = { + encode(message: GetBlockWithTxsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GetBlockWithTxsRequest { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: GetBlockWithTxsRequest): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { + return { + txs: [], + blockId: undefined, + block: undefined, + pagination: undefined + }; +} + +export const GetBlockWithTxsResponse = { + encode(message: GetBlockWithTxsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(26).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 3: + message.block = Block.decode(reader, reader.uint32()); + break; + + case 4: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.block = object.block !== undefined && object.block !== null ? Block.fromPartial(object.block) : undefined; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts new file mode 100644 index 000000000..bef2cf9d9 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts @@ -0,0 +1,1456 @@ +import { Any } from "../../../google/protobuf/any"; +import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; +import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** Tx is the standard type used for broadcasting transactions. */ +export interface Tx { + /** body is the processable content of the transaction */ + body: TxBody | undefined; + + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + authInfo: AuthInfo | undefined; + + /** + * 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[]; +} + +/** + * 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[]; +} + +/** 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; +} + +/** + * 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 | undefined; + + /** + * 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 meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + tip: Tip | undefined; +} + +/** 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[]; +} + +/** + * 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 | undefined; + + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + tip: Tip | undefined; +} + +/** + * 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 | undefined; + + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + modeInfo: ModeInfo | undefined; + + /** + * 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; +} + +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ +export interface ModeInfo { + /** single represents a single signer */ + single?: ModeInfo_Single | undefined; + + /** multi represents a nested multisig signer */ + multi?: ModeInfo_Multi | undefined; +} + +/** + * 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; +} + +/** 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 | undefined; + + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + modeInfos: ModeInfo[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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_MOD_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 | undefined; + + /** mode is the signing mode of the single signer */ + mode: SignMode; + + /** sig is the signature of the sign doc. */ + sig: Uint8Array; +} + +function createBaseTx(): Tx { + return { + body: undefined, + authInfo: undefined, + signatures: [] + }; +} + +export const Tx = { + encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.body !== undefined) { + TxBody.encode(message.body, writer.uint32(10).fork()).ldelim(); + } + + if (message.authInfo !== undefined) { + AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.body = TxBody.decode(reader, reader.uint32()); + break; + + case 2: + message.authInfo = AuthInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined; + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseTxRaw(): TxRaw { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + signatures: [] + }; +} + +export const TxRaw = { + encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxRaw(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseSignDoc(): SignDoc { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + chainId: "", + accountNumber: Long.UZERO + }; +} + +export const SignDoc = { + encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDoc(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignDoc { + const message = createBaseSignDoc(); + message.bodyBytes = object.bodyBytes ?? new Uint8Array(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + return message; + } + +}; + +function createBaseSignDocDirectAux(): SignDocDirectAux { + return { + bodyBytes: new Uint8Array(), + publicKey: undefined, + chainId: "", + accountNumber: Long.UZERO, + sequence: Long.UZERO, + tip: undefined + }; +} + +export const SignDocDirectAux = { + encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(40).uint64(message.sequence); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDocDirectAux(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + case 5: + message.sequence = (reader.uint64() as Long); + break; + + case 6: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.accountNumber) : Long.UZERO, + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).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(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseTxBody(): TxBody { + return { + messages: [], + memo: "", + timeoutHeight: Long.UZERO, + extensionOptions: [], + nonCriticalExtensionOptions: [] + }; +} + +export const TxBody = { + encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.memo !== "") { + writer.uint32(18).string(message.memo); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(24).uint64(message.timeoutHeight); + } + + for (const v of message.extensionOptions) { + Any.encode(v!, writer.uint32(8186).fork()).ldelim(); + } + + for (const v of message.nonCriticalExtensionOptions) { + Any.encode(v!, writer.uint32(16378).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxBody { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxBody(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.memo = reader.string(); + break; + + case 3: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 1023: + message.extensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + case 2047: + message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.timeoutHeight) : Long.UZERO, + 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 || Long.UZERO).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)) || []; + message.memo = object.memo ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || []; + message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthInfo(): AuthInfo { + return { + signerInfos: [], + fee: undefined, + tip: undefined + }; +} + +export const AuthInfo = { + encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signerInfos) { + SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fee !== undefined) { + Fee.encode(message.fee, writer.uint32(18).fork()).ldelim(); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signerInfos.push(SignerInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.fee = Fee.decode(reader, reader.uint32()); + break; + + case 3: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseSignerInfo(): SignerInfo { + return { + publicKey: undefined, + modeInfo: undefined, + sequence: Long.UZERO + }; +} + +export const SignerInfo = { + encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.modeInfo !== undefined) { + ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfo = ModeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignerInfo { + const message = createBaseSignerInfo(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModeInfo(): ModeInfo { + return { + single: undefined, + multi: undefined + }; +} + +export const ModeInfo = { + encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = ModeInfo_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = ModeInfo_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseModeInfo_Single(): ModeInfo_Single { + return { + mode: 0 + }; +} + +export const ModeInfo_Single = { + encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ModeInfo_Single { + return { + mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0 + }; + }, + + 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; + return message; + } + +}; + +function createBaseModeInfo_Multi(): ModeInfo_Multi { + return { + bitarray: undefined, + modeInfos: [] + }; +} + +export const ModeInfo_Multi = { + encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.modeInfos) { + ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfos.push(ModeInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFee(): Fee { + return { + amount: [], + gasLimit: Long.UZERO, + payer: "", + granter: "" + }; +} + +export const Fee = { + encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.gasLimit.isZero()) { + writer.uint32(16).uint64(message.gasLimit); + } + + if (message.payer !== "") { + writer.uint32(26).string(message.payer); + } + + if (message.granter !== "") { + writer.uint32(34).string(message.granter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fee { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFee(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.gasLimit = (reader.uint64() as Long); + break; + + case 3: + message.payer = reader.string(); + break; + + case 4: + message.granter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Fee { + return { + amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + gasLimit: isSet(object.gasLimit) ? Long.fromString(object.gasLimit) : Long.UZERO, + 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 || Long.UZERO).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)) || []; + message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO; + message.payer = object.payer ?? ""; + message.granter = object.granter ?? ""; + return message; + } + +}; + +function createBaseTip(): Tip { + return { + amount: [], + tipper: "" + }; +} + +export const Tip = { + encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.tipper !== "") { + writer.uint32(18).string(message.tipper); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tip { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTip(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.tipper = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.tipper = object.tipper ?? ""; + return message; + } + +}; + +function createBaseAuxSignerData(): AuxSignerData { + return { + address: "", + signDoc: undefined, + mode: 0, + sig: new Uint8Array() + }; +} + +export const AuxSignerData = { + encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.signDoc !== undefined) { + SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim(); + } + + if (message.mode !== 0) { + writer.uint32(24).int32(message.mode); + } + + if (message.sig.length !== 0) { + writer.uint32(34).bytes(message.sig); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuxSignerData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.signDoc = SignDocDirectAux.decode(reader, reader.uint32()); + break; + + case 3: + message.mode = (reader.int32() as any); + break; + + case 4: + message.sig = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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 ?? ""; + message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined; + message.mode = object.mode ?? 0; + message.sig = object.sig ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts new file mode 100644 index 000000000..75898f347 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -0,0 +1,60 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* CurrentPlan queries the current upgrade plan. */ + async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/current_plan`; + return await this.request(endpoint); + } + + /* AppliedPlan queries a previously applied upgrade plan by its name. */ + async appliedPlan(params: QueryAppliedPlanRequest): Promise { + const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; + return await this.request(endpoint); + } + + /* 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) */ + async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { + const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; + return await this.request(endpoint); + } + + /* ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43 */ + async moduleVersions(params: QueryModuleVersionsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.moduleName !== "undefined") { + options.params.module_name = params.moduleName; + } + + const endpoint = `cosmos/upgrade/v1beta1/module_versions`; + return await this.request(endpoint, options); + } + + /* Returns the account with authority to conduct upgrades */ + async authority(_params: QueryAuthorityRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/authority`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..a306342ca --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -0,0 +1,73 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + currentPlan(request: QueryCurrentPlanRequest): Promise; + /*CurrentPlan queries the current upgrade plan.*/ + + appliedPlan(request: QueryAppliedPlanRequest): Promise; + /*AppliedPlan queries a previously applied upgrade plan by its name.*/ + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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)*/ + + moduleVersions(request: QueryModuleVersionsRequest): Promise; + /*ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43*/ + + authority(request: QueryAuthorityRequest): Promise; + /*Returns the account with authority to conduct upgrades*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); + } + + currentPlan(request: QueryCurrentPlanRequest): Promise { + const data = QueryCurrentPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); + return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); + } + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + const data = QueryAppliedPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); + return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + const data = QueryModuleVersionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); + return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); + } + + authority(request: QueryAuthorityRequest): Promise { + const data = QueryAuthorityRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); + return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts new file mode 100644 index 000000000..0dfa6ab9c --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts @@ -0,0 +1,651 @@ +import { Plan, ModuleVersion } from "./upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanRequest {} + +/** + * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanResponse { + /** plan is the current upgrade plan. */ + plan: Plan | undefined; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateResponse { + /** Since: cosmos-sdk 0.43 */ + upgradedConsensusState: 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; +} + +/** + * 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[]; +} + +/** + * QueryAuthorityRequest is the request type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ +export interface QueryAuthorityRequest {} + +/** + * QueryAuthorityResponse is the response type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ +export interface QueryAuthorityResponse { + address: string; +} + +function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { + return {}; +} + +export const QueryCurrentPlanRequest = { + encode(_: QueryCurrentPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryCurrentPlanRequest { + return {}; + }, + + toJSON(_: QueryCurrentPlanRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryCurrentPlanRequest { + const message = createBaseQueryCurrentPlanRequest(); + return message; + } + +}; + +function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { + return { + plan: undefined + }; +} + +export const QueryCurrentPlanResponse = { + encode(message: QueryCurrentPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryAppliedPlanRequest(): QueryAppliedPlanRequest { + return { + name: "" + }; +} + +export const QueryAppliedPlanRequest = { + encode(message: QueryAppliedPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanRequest(); + + 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): 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 ?? ""; + return message; + } + +}; + +function createBaseQueryAppliedPlanResponse(): QueryAppliedPlanResponse { + return { + height: Long.ZERO + }; +} + +export const QueryAppliedPlanResponse = { + encode(message: QueryAppliedPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppliedPlanResponse { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: QueryAppliedPlanResponse): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryAppliedPlanResponse { + const message = createBaseQueryAppliedPlanResponse(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return { + lastHeight: Long.ZERO + }; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(message: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.lastHeight.isZero()) { + writer.uint32(8).int64(message.lastHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.lastHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUpgradedConsensusStateRequest { + return { + lastHeight: isSet(object.lastHeight) ? Long.fromString(object.lastHeight) : Long.ZERO + }; + }, + + toJSON(message: QueryUpgradedConsensusStateRequest): unknown { + const obj: any = {}; + message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: new Uint8Array() + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState.length !== 0) { + writer.uint32(18).bytes(message.upgradedConsensusState); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.upgradedConsensusState = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseQueryModuleVersionsRequest(): QueryModuleVersionsRequest { + return { + moduleName: "" + }; +} + +export const QueryModuleVersionsRequest = { + encode(message: QueryModuleVersionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moduleName !== "") { + writer.uint32(10).string(message.moduleName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleName = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryModuleVersionsResponse(): QueryModuleVersionsResponse { + return { + moduleVersions: [] + }; +} + +export const QueryModuleVersionsResponse = { + encode(message: QueryModuleVersionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.moduleVersions) { + ModuleVersion.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleVersions.push(ModuleVersion.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseQueryAuthorityRequest(): QueryAuthorityRequest { + return {}; +} + +export const QueryAuthorityRequest = { + encode(_: QueryAuthorityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryAuthorityRequest { + return {}; + }, + + toJSON(_: QueryAuthorityRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryAuthorityRequest { + const message = createBaseQueryAuthorityRequest(); + return message; + } + +}; + +function createBaseQueryAuthorityResponse(): QueryAuthorityResponse { + return { + address: "" + }; +} + +export const QueryAuthorityResponse = { + encode(message: QueryAuthorityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts new file mode 100644 index 000000000..a2c708c91 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -0,0 +1,89 @@ +import { Plan } from "./upgrade"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any } from "../../../google/protobuf/any"; +import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; +export interface AminoMsgSoftwareUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgSoftwareUpgrade"; + value: { + authority: string; + plan: { + name: string; + time: { + seconds: string; + nanos: number; + }; + height: string; + info: string; + upgraded_client_state: { + type_url: string; + value: Uint8Array; + }; + }; + }; +} +export interface AminoMsgCancelUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgCancelUpgrade"; + value: { + authority: string; + }; +} +export const AminoConverter = { + "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { + aminoType: "cosmos-sdk/MsgSoftwareUpgrade", + toAmino: ({ + authority, + plan + }: MsgSoftwareUpgrade): AminoMsgSoftwareUpgrade["value"] => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: plan.height.toString(), + info: plan.info, + upgraded_client_state: { + type_url: plan.upgradedClientState.typeUrl, + value: plan.upgradedClientState.value + } + } + }; + }, + fromAmino: ({ + authority, + plan + }: AminoMsgSoftwareUpgrade["value"]): MsgSoftwareUpgrade => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: Long.fromString(plan.height), + info: plan.info, + upgradedClientState: { + typeUrl: plan.upgraded_client_state.type_url, + value: plan.upgraded_client_state.value + } + } + }; + } + }, + "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { + aminoType: "cosmos-sdk/MsgCancelUpgrade", + toAmino: ({ + authority + }: MsgCancelUpgrade): AminoMsgCancelUpgrade["value"] => { + return { + authority + }; + }, + fromAmino: ({ + authority + }: AminoMsgCancelUpgrade["value"]): MsgCancelUpgrade => { + return { + authority + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts new file mode 100644 index 000000000..b8ada4388 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts @@ -0,0 +1,91 @@ +import { Plan } from "./upgrade"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.encode(value).finish() + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.encode(value).finish() + }; + } + + }, + withTypeUrl: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.fromPartial(value) + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..9ddd3d445 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,41 @@ +import { Plan } from "./upgrade"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise; + /*SoftwareUpgrade is a governance operation for initiating a software upgrade. + + Since: cosmos-sdk 0.46*/ + + cancelUpgrade(request: MsgCancelUpgrade): Promise; + /*CancelUpgrade is a governance operation for cancelling a previously + approvid software upgrade. + + Since: cosmos-sdk 0.46*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.softwareUpgrade = this.softwareUpgrade.bind(this); + this.cancelUpgrade = this.cancelUpgrade.bind(this); + } + + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + const data = MsgSoftwareUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); + return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); + } + + cancelUpgrade(request: MsgCancelUpgrade): Promise { + const data = MsgCancelUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); + return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts new file mode 100644 index 000000000..586a2d0e7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -0,0 +1,252 @@ +import { Plan } from "./upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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 | undefined; +} + +/** + * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgSoftwareUpgradeResponse {} + +/** + * 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; +} + +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgCancelUpgradeResponse {} + +function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { + return { + authority: "", + plan: undefined + }; +} + +export const MsgSoftwareUpgrade = { + encode(message: MsgSoftwareUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + case 2: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseMsgSoftwareUpgradeResponse(): MsgSoftwareUpgradeResponse { + return {}; +} + +export const MsgSoftwareUpgradeResponse = { + encode(_: MsgSoftwareUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSoftwareUpgradeResponse { + return {}; + }, + + toJSON(_: MsgSoftwareUpgradeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSoftwareUpgradeResponse { + const message = createBaseMsgSoftwareUpgradeResponse(); + return message; + } + +}; + +function createBaseMsgCancelUpgrade(): MsgCancelUpgrade { + return { + authority: "" + }; +} + +export const MsgCancelUpgrade = { + encode(message: MsgCancelUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseMsgCancelUpgradeResponse(): MsgCancelUpgradeResponse { + return {}; +} + +export const MsgCancelUpgradeResponse = { + encode(_: MsgCancelUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCancelUpgradeResponse { + return {}; + }, + + toJSON(_: MsgCancelUpgradeResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCancelUpgradeResponse { + const message = createBaseMsgCancelUpgradeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts new file mode 100644 index 000000000..be743beb9 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -0,0 +1,412 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** 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: Date | undefined; + + /** + * 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 | undefined; +} + +/** + * 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 { + title: string; + description: string; + plan: Plan | undefined; +} + +/** + * 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 { + 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; +} + +function createBasePlan(): Plan { + return { + name: "", + time: undefined, + height: Long.ZERO, + info: "", + upgradedClientState: undefined + }; +} + +export const Plan = { + encode(message: Plan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Plan { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePlan(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 = message.time.toISOString()); + message.height !== undefined && (obj.height = (message.height || Long.ZERO).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; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.info = object.info ?? ""; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { + return { + title: "", + description: "", + plan: undefined + }; +} + +export const SoftwareUpgradeProposal = { + encode(message: SoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseCancelSoftwareUpgradeProposal(): CancelSoftwareUpgradeProposal { + return { + title: "", + description: "" + }; +} + +export const CancelSoftwareUpgradeProposal = { + encode(message: CancelSoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCancelSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseModuleVersion(): ModuleVersion { + return { + name: "", + version: Long.UZERO + }; +} + +export const ModuleVersion = { + encode(message: ModuleVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (!message.version.isZero()) { + writer.uint32(16).uint64(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.version = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ModuleVersion { + return { + name: isSet(object.name) ? String(object.name) : "", + version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO + }; + }, + + toJSON(message: ModuleVersion): unknown { + const obj: any = {}; + message.name !== undefined && (obj.name = message.name); + message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ModuleVersion { + const message = createBaseModuleVersion(); + message.name = object.name ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts new file mode 100644 index 000000000..825d7fed6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -0,0 +1,157 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; +export interface AminoMsgCreateVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreateVestingAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + end_time: string; + delayed: boolean; + }; +} +export interface AminoMsgCreatePermanentLockedAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgCreatePeriodicVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; + value: { + from_address: string; + to_address: string; + start_time: string; + vesting_periods: { + length: string; + amount: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { + aminoType: "cosmos-sdk/MsgCreateVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + amount, + endTime, + delayed + }: MsgCreateVestingAccount): AminoMsgCreateVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + end_time: endTime.toString(), + delayed + }; + }, + fromAmino: ({ + from_address, + to_address, + amount, + end_time, + delayed + }: AminoMsgCreateVestingAccount["value"]): MsgCreateVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + endTime: Long.fromString(end_time), + delayed + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { + aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgCreatePermanentLockedAccount): AminoMsgCreatePermanentLockedAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgCreatePermanentLockedAccount["value"]): MsgCreatePermanentLockedAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { + aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + startTime, + vestingPeriods + }: MsgCreatePeriodicVestingAccount): AminoMsgCreatePeriodicVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + start_time: startTime.toString(), + vesting_periods: vestingPeriods.map(el0 => ({ + length: el0.length.toString(), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + start_time, + vesting_periods + }: AminoMsgCreatePeriodicVestingAccount["value"]): MsgCreatePeriodicVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + startTime: Long.fromString(start_time), + vestingPeriods: vesting_periods.map(el0 => ({ + length: Long.fromString(el0.length), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts new file mode 100644 index 000000000..ac8165ded --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts @@ -0,0 +1,127 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.encode(value).finish() + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.encode(value).finish() + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value + }; + } + + }, + 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 { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.fromPartial(value) + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.fromPartial(value) + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..94ba2e960 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,50 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createVestingAccount(request: MsgCreateVestingAccount): Promise; + /*CreateVestingAccount defines a method that enables creating a vesting + account.*/ + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + /*CreatePermanentLockedAccount defines a method that enables creating a permanent + locked account.*/ + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; + /*CreatePeriodicVestingAccount defines a method that enables creating a + periodic vesting account.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createVestingAccount = this.createVestingAccount.bind(this); + this.createPermanentLockedAccount = this.createPermanentLockedAccount.bind(this); + this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); + } + + createVestingAccount(request: MsgCreateVestingAccount): Promise { + const data = MsgCreateVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); + return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); + } + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + const data = MsgCreatePermanentLockedAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); + return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); + } + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); + return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts new file mode 100644 index 000000000..1c44cd75b --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts @@ -0,0 +1,475 @@ +import { Coin } from "../../base/v1beta1/coin"; +import { Period } from "./vesting"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreateVestingAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; + endTime: Long; + delayed: boolean; +} + +/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ +export interface MsgCreateVestingAccountResponse {} + +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ +export interface MsgCreatePermanentLockedAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; +} + +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ +export interface MsgCreatePermanentLockedAccountResponse {} + +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreatePeriodicVestingAccount { + fromAddress: string; + toAddress: string; + startTime: Long; + vestingPeriods: Period[]; +} + +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ +export interface MsgCreatePeriodicVestingAccountResponse {} + +function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { + return { + fromAddress: "", + toAddress: "", + amount: [], + endTime: Long.ZERO, + delayed: false + }; +} + +export const MsgCreateVestingAccount = { + encode(message: MsgCreateVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(32).int64(message.endTime); + } + + if (message.delayed === true) { + writer.uint32(40).bool(message.delayed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.endTime = (reader.int64() as Long); + break; + + case 5: + message.delayed = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.endTime) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.delayed !== undefined && (obj.delayed = message.delayed); + return obj; + }, + + fromPartial(object: Partial): MsgCreateVestingAccount { + const message = createBaseMsgCreateVestingAccount(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + message.delayed = object.delayed ?? false; + return message; + } + +}; + +function createBaseMsgCreateVestingAccountResponse(): MsgCreateVestingAccountResponse { + return {}; +} + +export const MsgCreateVestingAccountResponse = { + encode(_: MsgCreateVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateVestingAccountResponse { + return {}; + }, + + toJSON(_: MsgCreateVestingAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateVestingAccountResponse { + const message = createBaseMsgCreateVestingAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccount(): MsgCreatePermanentLockedAccount { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgCreatePermanentLockedAccount = { + encode(message: MsgCreatePermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccountResponse(): MsgCreatePermanentLockedAccountResponse { + return {}; +} + +export const MsgCreatePermanentLockedAccountResponse = { + encode(_: MsgCreatePermanentLockedAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreatePermanentLockedAccountResponse { + return {}; + }, + + toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse { + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccount(): MsgCreatePeriodicVestingAccount { + return { + fromAddress: "", + toAddress: "", + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const MsgCreatePeriodicVestingAccount = { + encode(message: MsgCreatePeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + if (!message.startTime.isZero()) { + writer.uint32(24).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.startTime = (reader.int64() as Long); + break; + + case 4: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.startTime) : Long.ZERO, + 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 || Long.ZERO).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 ?? ""; + message.toAddress = object.toAddress ?? ""; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccountResponse(): MsgCreatePeriodicVestingAccountResponse { + return {}; +} + +export const MsgCreatePeriodicVestingAccountResponse = { + encode(_: MsgCreatePeriodicVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse { + return {}; + }, + + toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse { + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts new file mode 100644 index 000000000..a4f832a4d --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -0,0 +1,527 @@ +import { BaseAccount } from "../../auth/v1beta1/auth"; +import { Coin } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ +export interface BaseVestingAccount { + baseAccount: BaseAccount | undefined; + originalVesting: Coin[]; + delegatedFree: Coin[]; + delegatedVesting: Coin[]; + endTime: Long; +} + +/** + * ContinuousVestingAccount implements the VestingAccount interface. It + * continuously vests by unlocking coins linearly with respect to time. + */ +export interface ContinuousVestingAccount { + baseVestingAccount: BaseVestingAccount | undefined; + startTime: 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 | undefined; +} + +/** Period defines a length of time and amount of coins that will vest. */ +export interface Period { + length: Long; + amount: Coin[]; +} + +/** + * PeriodicVestingAccount implements the VestingAccount interface. It + * periodically vests by unlocking coins during each specified period. + */ +export interface PeriodicVestingAccount { + baseVestingAccount: BaseVestingAccount | undefined; + startTime: Long; + vestingPeriods: Period[]; +} + +/** + * 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 | undefined; +} + +function createBaseBaseVestingAccount(): BaseVestingAccount { + return { + baseAccount: undefined, + originalVesting: [], + delegatedFree: [], + delegatedVesting: [], + endTime: Long.ZERO + }; +} + +export const BaseVestingAccount = { + encode(message: BaseVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.originalVesting) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatedFree) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.delegatedVesting) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(40).int64(message.endTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.originalVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.delegatedFree.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.delegatedVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.endTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.endTime) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BaseVestingAccount { + const message = createBaseBaseVestingAccount(); + message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; + message.originalVesting = object.originalVesting?.map(e => Coin.fromPartial(e)) || []; + message.delegatedFree = object.delegatedFree?.map(e => Coin.fromPartial(e)) || []; + message.delegatedVesting = object.delegatedVesting?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + return message; + } + +}; + +function createBaseContinuousVestingAccount(): ContinuousVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO + }; +} + +export const ContinuousVestingAccount = { + encode(message: ContinuousVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContinuousVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContinuousVestingAccount { + return { + baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, + startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ContinuousVestingAccount { + const message = createBaseContinuousVestingAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + return message; + } + +}; + +function createBaseDelayedVestingAccount(): DelayedVestingAccount { + return { + baseVestingAccount: undefined + }; +} + +export const DelayedVestingAccount = { + encode(message: DelayedVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelayedVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBasePeriod(): Period { + return { + length: Long.ZERO, + amount: [] + }; +} + +export const Period = { + encode(message: Period, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.length.isZero()) { + writer.uint32(8).int64(message.length); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Period { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriod(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.length = (reader.int64() as Long); + break; + + case 2: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Period { + return { + length: isSet(object.length) ? Long.fromString(object.length) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.length) : Long.ZERO; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePeriodicVestingAccount(): PeriodicVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const PeriodicVestingAccount = { + encode(message: PeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + case 3: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeriodicVestingAccount { + return { + baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, + startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO, + 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 || Long.ZERO).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; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePermanentLockedAccount(): PermanentLockedAccount { + return { + baseVestingAccount: undefined + }; +} + +export const PermanentLockedAccount = { + encode(message: PermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/bundle.ts b/examples/telescope/codegen/cosmos_proto/bundle.ts new file mode 100644 index 000000000..58b9e9aef --- /dev/null +++ b/examples/telescope/codegen/cosmos_proto/bundle.ts @@ -0,0 +1,3 @@ +import * as _1 from "./cosmos"; +export const cosmos_proto = { ..._1 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/cosmos.ts b/examples/telescope/codegen/cosmos_proto/cosmos.ts new file mode 100644 index 000000000..fa1af2061 --- /dev/null +++ b/examples/telescope/codegen/cosmos_proto/cosmos.ts @@ -0,0 +1,265 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; +export enum ScalarType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} +export function scalarTypeFromJSON(object: any): ScalarType { + switch (object) { + case 0: + case "SCALAR_TYPE_UNSPECIFIED": + return ScalarType.SCALAR_TYPE_UNSPECIFIED; + + case 1: + case "SCALAR_TYPE_STRING": + return ScalarType.SCALAR_TYPE_STRING; + + case 2: + case "SCALAR_TYPE_BYTES": + return ScalarType.SCALAR_TYPE_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return ScalarType.UNRECOGNIZED; + } +} +export function scalarTypeToJSON(object: ScalarType): string { + switch (object) { + case ScalarType.SCALAR_TYPE_UNSPECIFIED: + return "SCALAR_TYPE_UNSPECIFIED"; + + case ScalarType.SCALAR_TYPE_STRING: + return "SCALAR_TYPE_STRING"; + + case ScalarType.SCALAR_TYPE_BYTES: + return "SCALAR_TYPE_BYTES"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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; +} + +/** + * 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[]; +} + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + name: "", + description: "" + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseScalarDescriptor(): ScalarDescriptor { + return { + name: "", + description: "", + fieldType: [] + }; +} + +export const ScalarDescriptor = { + encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.fieldType) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseScalarDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.fieldType.push((reader.int32() as any)); + } + } else { + message.fieldType.push((reader.int32() as any)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.fieldType = object.fieldType?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/bundle.ts b/examples/telescope/codegen/cosmwasm/bundle.ts new file mode 100644 index 000000000..5aeee3c69 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/bundle.ts @@ -0,0 +1,34 @@ +import * as _94 from "./wasm/v1/genesis"; +import * as _95 from "./wasm/v1/ibc"; +import * as _96 from "./wasm/v1/proposal"; +import * as _97 from "./wasm/v1/query"; +import * as _98 from "./wasm/v1/tx"; +import * as _99 from "./wasm/v1/types"; +import * as _221 from "./wasm/v1/tx.amino"; +import * as _222 from "./wasm/v1/tx.registry"; +import * as _223 from "./wasm/v1/query.lcd"; +import * as _224 from "./wasm/v1/query.rpc.query"; +import * as _225 from "./wasm/v1/tx.rpc.msg"; +import * as _250 from "./lcd"; +import * as _251 from "./rpc.query"; +import * as _252 from "./rpc.tx"; +export namespace cosmwasm { + export namespace wasm { + export const v1 = { ..._94, + ..._95, + ..._96, + ..._97, + ..._98, + ..._99, + ..._221, + ..._222, + ..._223, + ..._224, + ..._225 + }; + } + export const ClientFactory = { ..._250, + ..._251, + ..._252 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/client.ts b/examples/telescope/codegen/cosmwasm/client.ts new file mode 100644 index 000000000..a917b15c5 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/client.ts @@ -0,0 +1,41 @@ +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; +import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; +export const getSigningCosmwasmClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...cosmwasmWasmV1TxRegistry.registry]); + const aminoTypes = new AminoTypes({ ...cosmwasmWasmV1TxAmino.AminoConverter + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmwasmClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmwasmClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/lcd.ts b/examples/telescope/codegen/cosmwasm/lcd.ts new file mode 100644 index 000000000..958751f26 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/lcd.ts @@ -0,0 +1,88 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.query.ts b/examples/telescope/codegen/cosmwasm/rpc.query.ts new file mode 100644 index 000000000..8faccf38d --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/rpc.query.ts @@ -0,0 +1,60 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.rpc.query")).QueryClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.tx.ts b/examples/telescope/codegen/cosmwasm/rpc.tx.ts new file mode 100644 index 000000000..5424c674f --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/rpc.tx.ts @@ -0,0 +1,54 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts new file mode 100644 index 000000000..158f5a13c --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts @@ -0,0 +1,502 @@ +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract } from "./tx"; +import { Params, CodeInfo, ContractInfo, Model } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** GenesisState - genesis state of x/wasm */ +export interface GenesisState { + params: Params | undefined; + codes: Code[]; + contracts: Contract[]; + sequences: Sequence[]; + genMsgs: GenesisState_GenMsgs[]; +} + +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ +export interface GenesisState_GenMsgs { + storeCode?: MsgStoreCode | undefined; + instantiateContract?: MsgInstantiateContract | undefined; + executeContract?: MsgExecuteContract | undefined; +} + +/** Code struct encompasses CodeInfo and CodeBytes */ +export interface Code { + codeId: Long; + codeInfo: CodeInfo | undefined; + codeBytes: Uint8Array; + + /** Pinned to wasmvm cache */ + pinned: boolean; +} + +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ +export interface Contract { + contractAddress: string; + contractInfo: ContractInfo | undefined; + contractState: Model[]; +} + +/** Sequence key and value of an id generation counter */ +export interface Sequence { + idKey: Uint8Array; + value: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + codes: [], + contracts: [], + sequences: [], + genMsgs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.codes) { + Code.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contracts) { + Contract.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.sequences) { + Sequence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.genMsgs) { + GenesisState_GenMsgs.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codes.push(Code.decode(reader, reader.uint32())); + break; + + case 3: + message.contracts.push(Contract.decode(reader, reader.uint32())); + break; + + case 4: + message.sequences.push(Sequence.decode(reader, reader.uint32())); + break; + + case 5: + message.genMsgs.push(GenesisState_GenMsgs.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, + codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromJSON(e)) : [], + contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromJSON(e)) : [], + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromJSON(e)) : [], + genMsgs: Array.isArray(object?.genMsgs) ? object.genMsgs.map((e: any) => GenesisState_GenMsgs.fromJSON(e)) : [] + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); + + if (message.codes) { + obj.codes = message.codes.map(e => e ? Code.toJSON(e) : undefined); + } else { + obj.codes = []; + } + + if (message.contracts) { + obj.contracts = message.contracts.map(e => e ? Contract.toJSON(e) : undefined); + } else { + obj.contracts = []; + } + + if (message.sequences) { + obj.sequences = message.sequences.map(e => e ? Sequence.toJSON(e) : undefined); + } else { + obj.sequences = []; + } + + if (message.genMsgs) { + obj.genMsgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toJSON(e) : undefined); + } else { + obj.genMsgs = []; + } + + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.codes = object.codes?.map(e => Code.fromPartial(e)) || []; + message.contracts = object.contracts?.map(e => Contract.fromPartial(e)) || []; + message.sequences = object.sequences?.map(e => Sequence.fromPartial(e)) || []; + message.genMsgs = object.genMsgs?.map(e => GenesisState_GenMsgs.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseGenesisState_GenMsgs(): GenesisState_GenMsgs { + return { + storeCode: undefined, + instantiateContract: undefined, + executeContract: undefined + }; +} + +export const GenesisState_GenMsgs = { + encode(message: GenesisState_GenMsgs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.storeCode !== undefined) { + MsgStoreCode.encode(message.storeCode, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateContract !== undefined) { + MsgInstantiateContract.encode(message.instantiateContract, writer.uint32(18).fork()).ldelim(); + } + + if (message.executeContract !== undefined) { + MsgExecuteContract.encode(message.executeContract, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState_GenMsgs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisState_GenMsgs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.storeCode = MsgStoreCode.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateContract = MsgInstantiateContract.decode(reader, reader.uint32()); + break; + + case 3: + message.executeContract = MsgExecuteContract.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState_GenMsgs { + return { + storeCode: isSet(object.storeCode) ? MsgStoreCode.fromJSON(object.storeCode) : undefined, + instantiateContract: isSet(object.instantiateContract) ? MsgInstantiateContract.fromJSON(object.instantiateContract) : undefined, + executeContract: isSet(object.executeContract) ? MsgExecuteContract.fromJSON(object.executeContract) : undefined + }; + }, + + toJSON(message: GenesisState_GenMsgs): unknown { + const obj: any = {}; + message.storeCode !== undefined && (obj.storeCode = message.storeCode ? MsgStoreCode.toJSON(message.storeCode) : undefined); + message.instantiateContract !== undefined && (obj.instantiateContract = message.instantiateContract ? MsgInstantiateContract.toJSON(message.instantiateContract) : undefined); + message.executeContract !== undefined && (obj.executeContract = message.executeContract ? MsgExecuteContract.toJSON(message.executeContract) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState_GenMsgs { + const message = createBaseGenesisState_GenMsgs(); + message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; + message.instantiateContract = object.instantiateContract !== undefined && object.instantiateContract !== null ? MsgInstantiateContract.fromPartial(object.instantiateContract) : undefined; + message.executeContract = object.executeContract !== undefined && object.executeContract !== null ? MsgExecuteContract.fromPartial(object.executeContract) : undefined; + return message; + } + +}; + +function createBaseCode(): Code { + return { + codeId: Long.UZERO, + codeInfo: undefined, + codeBytes: new Uint8Array(), + pinned: false + }; +} + +export const Code = { + encode(message: Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.codeInfo !== undefined) { + CodeInfo.encode(message.codeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (message.codeBytes.length !== 0) { + writer.uint32(26).bytes(message.codeBytes); + } + + if (message.pinned === true) { + writer.uint32(32).bool(message.pinned); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Code { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.codeInfo = CodeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.codeBytes = reader.bytes(); + break; + + case 4: + message.pinned = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Code { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + codeInfo: isSet(object.codeInfo) ? CodeInfo.fromJSON(object.codeInfo) : undefined, + codeBytes: isSet(object.codeBytes) ? bytesFromBase64(object.codeBytes) : new Uint8Array(), + pinned: isSet(object.pinned) ? Boolean(object.pinned) : false + }; + }, + + toJSON(message: Code): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfo.toJSON(message.codeInfo) : undefined); + message.codeBytes !== undefined && (obj.codeBytes = base64FromBytes(message.codeBytes !== undefined ? message.codeBytes : new Uint8Array())); + message.pinned !== undefined && (obj.pinned = message.pinned); + return obj; + }, + + fromPartial(object: Partial): Code { + const message = createBaseCode(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfo.fromPartial(object.codeInfo) : undefined; + message.codeBytes = object.codeBytes ?? new Uint8Array(); + message.pinned = object.pinned ?? false; + return message; + } + +}; + +function createBaseContract(): Contract { + return { + contractAddress: "", + contractInfo: undefined, + contractState: [] + }; +} + +export const Contract = { + encode(message: Contract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.contractAddress !== "") { + writer.uint32(10).string(message.contractAddress); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contractState) { + Model.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Contract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contractAddress = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.contractState.push(Model.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Contract { + return { + contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "", + contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined, + contractState: Array.isArray(object?.contractState) ? object.contractState.map((e: any) => Model.fromJSON(e)) : [] + }; + }, + + toJSON(message: Contract): unknown { + const obj: any = {}; + message.contractAddress !== undefined && (obj.contractAddress = message.contractAddress); + message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); + + if (message.contractState) { + obj.contractState = message.contractState.map(e => e ? Model.toJSON(e) : undefined); + } else { + obj.contractState = []; + } + + return obj; + }, + + fromPartial(object: Partial): Contract { + const message = createBaseContract(); + message.contractAddress = object.contractAddress ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + message.contractState = object.contractState?.map(e => Model.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSequence(): Sequence { + return { + idKey: new Uint8Array(), + value: Long.UZERO + }; +} + +export const Sequence = { + encode(message: Sequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.idKey.length !== 0) { + writer.uint32(10).bytes(message.idKey); + } + + if (!message.value.isZero()) { + writer.uint32(16).uint64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Sequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.idKey = reader.bytes(); + break; + + case 2: + message.value = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Sequence { + return { + idKey: isSet(object.idKey) ? bytesFromBase64(object.idKey) : new Uint8Array(), + value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO + }; + }, + + toJSON(message: Sequence): unknown { + const obj: any = {}; + message.idKey !== undefined && (obj.idKey = base64FromBytes(message.idKey !== undefined ? message.idKey : new Uint8Array())); + message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Sequence { + const message = createBaseSequence(); + message.idKey = object.idKey ?? new Uint8Array(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts new file mode 100644 index 000000000..3da4300ef --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts @@ -0,0 +1,181 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** MsgIBCSend */ +export interface MsgIBCSend { + /** the channel by which the packet will be sent */ + channel: string; + + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + timeoutHeight: Long; + + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeoutTimestamp: Long; + + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + data: Uint8Array; +} + +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ +export interface MsgIBCCloseChannel { + channel: string; +} + +function createBaseMsgIBCSend(): MsgIBCSend { + return { + channel: "", + timeoutHeight: Long.UZERO, + timeoutTimestamp: Long.UZERO, + data: new Uint8Array() + }; +} + +export const MsgIBCSend = { + encode(message: MsgIBCSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(32).uint64(message.timeoutHeight); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(40).uint64(message.timeoutTimestamp); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + case 4: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 5: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + case 6: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgIBCSend { + return { + channel: isSet(object.channel) ? String(object.channel) : "", + timeoutHeight: isSet(object.timeoutHeight) ? Long.fromString(object.timeoutHeight) : Long.UZERO, + timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgIBCSend): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel); + message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); + message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgIBCSend { + const message = createBaseMsgIBCSend(); + message.channel = object.channel ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgIBCCloseChannel(): MsgIBCCloseChannel { + return { + channel: "" + }; +} + +export const MsgIBCCloseChannel = { + encode(message: MsgIBCCloseChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCCloseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgIBCCloseChannel { + return { + channel: isSet(object.channel) ? String(object.channel) : "" + }; + }, + + toJSON(message: MsgIBCCloseChannel): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel); + return obj; + }, + + fromPartial(object: Partial): MsgIBCCloseChannel { + const message = createBaseMsgIBCCloseChannel(); + message.channel = object.channel ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts new file mode 100644 index 000000000..ac0c2baae --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts @@ -0,0 +1,1114 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ +export interface StoreCodeProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** WASMByteCode can be raw or gzip compressed */ + wasmByteCode: Uint8Array; + + /** InstantiatePermission to apply on contract creation, optional */ + instantiatePermission: AccessConfig | undefined; +} + +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ +export interface InstantiateContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Label is optional metadata to be stored with a constract instance. */ + label: string; + + /** Msg json encoded message to be passed to the contract on instantiation */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** MigrateContractProposal gov proposal content type to migrate a contract. */ +export interface MigrateContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** CodeID references the new WASM codesudo */ + codeId: Long; + + /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; +} + +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ +export interface SudoContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; +} + +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ +export interface ExecuteContractProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** RunAs is the address that is passed to the contract's environment as sender */ + runAs: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract as execute */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ +export interface UpdateAdminProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** NewAdmin address to be set */ + newAdmin: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ +export interface ClearAdminProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ +export interface PinCodesProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** CodeIDs references the new WASM codes */ + codeIds: Long[]; +} + +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ +export interface UnpinCodesProposal { + /** Title is a short summary */ + title: string; + + /** Description is a human readable text */ + description: string; + + /** CodeIDs references the WASM codes */ + codeIds: Long[]; +} + +function createBaseStoreCodeProposal(): StoreCodeProposal { + return { + title: "", + description: "", + runAs: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const StoreCodeProposal = { + encode(message: StoreCodeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(34).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStoreCodeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.wasmByteCode = reader.bytes(); + break; + + case 7: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): StoreCodeProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), + instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined + }; + }, + + toJSON(message: StoreCodeProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); + message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); + return obj; + }, + + fromPartial(object: Partial): StoreCodeProposal { + const message = createBaseStoreCodeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseInstantiateContractProposal(): InstantiateContractProposal { + return { + title: "", + description: "", + runAs: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const InstantiateContractProposal = { + encode(message: InstantiateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.admin !== "") { + writer.uint32(34).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(50).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(58).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInstantiateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.admin = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.label = reader.string(); + break; + + case 7: + message.msg = reader.bytes(); + break; + + case 8: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): InstantiateContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + label: isSet(object.label) ? String(object.label) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: InstantiateContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.admin !== undefined && (obj.admin = message.admin); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.label !== undefined && (obj.label = message.label); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): InstantiateContractProposal { + const message = createBaseInstantiateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMigrateContractProposal(): MigrateContractProposal { + return { + title: "", + description: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MigrateContractProposal = { + encode(message: MigrateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(50).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MigrateContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: MigrateContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MigrateContractProposal { + const message = createBaseMigrateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSudoContractProposal(): SudoContractProposal { + return { + title: "", + description: "", + contract: "", + msg: new Uint8Array() + }; +} + +export const SudoContractProposal = { + encode(message: SudoContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSudoContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SudoContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: SudoContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SudoContractProposal { + const message = createBaseSudoContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseExecuteContractProposal(): ExecuteContractProposal { + return { + title: "", + description: "", + runAs: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const ExecuteContractProposal = { + encode(message: ExecuteContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExecuteContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ExecuteContractProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + runAs: isSet(object.runAs) ? String(object.runAs) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: ExecuteContractProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.runAs !== undefined && (obj.runAs = message.runAs); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): ExecuteContractProposal { + const message = createBaseExecuteContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUpdateAdminProposal(): UpdateAdminProposal { + return { + title: "", + description: "", + newAdmin: "", + contract: "" + }; +} + +export const UpdateAdminProposal = { + encode(message: UpdateAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpdateAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UpdateAdminProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: UpdateAdminProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): UpdateAdminProposal { + const message = createBaseUpdateAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseClearAdminProposal(): ClearAdminProposal { + return { + title: "", + description: "", + contract: "" + }; +} + +export const ClearAdminProposal = { + encode(message: ClearAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClearAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClearAdminProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: ClearAdminProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): ClearAdminProposal { + const message = createBaseClearAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBasePinCodesProposal(): PinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const PinCodesProposal = { + encode(message: PinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PinCodesProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: PinCodesProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + return obj; + }, + + fromPartial(object: Partial): PinCodesProposal { + const message = createBasePinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseUnpinCodesProposal(): UnpinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const UnpinCodesProposal = { + encode(message: UnpinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnpinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UnpinCodesProposal { + return { + title: isSet(object.title) ? String(object.title) : "", + description: isSet(object.description) ? String(object.description) : "", + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: UnpinCodesProposal): unknown { + const obj: any = {}; + message.title !== undefined && (obj.title = message.title); + message.description !== undefined && (obj.description = message.description); + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + return obj; + }, + + fromPartial(object: Partial): UnpinCodesProposal { + const message = createBaseUnpinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts new file mode 100644 index 000000000..f4a5118cf --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -0,0 +1,115 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* ContractInfo gets the contract meta data */ + async contractInfo(params: QueryContractInfoRequest): Promise { + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; + return await this.request(endpoint); + } + + /* ContractHistory gets the contract code history */ + async contractHistory(params: QueryContractHistoryRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; + return await this.request(endpoint, options); + } + + /* ContractsByCode lists all smart contracts for a code id */ + async contractsByCode(params: QueryContractsByCodeRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; + return await this.request(endpoint, options); + } + + /* AllContractState gets all raw store data for a single contract */ + async allContractState(params: QueryAllContractStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; + return await this.request(endpoint, options); + } + + /* RawContractState gets single key from the raw store data of a contract */ + async rawContractState(params: QueryRawContractStateRequest): Promise { + const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; + return await this.request(endpoint); + } + + /* SmartContractState get smart query result from the contract */ + async smartContractState(params: QuerySmartContractStateRequest): Promise { + const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; + return await this.request(endpoint); + } + + /* Code gets the binary code and metadata for a singe wasm code */ + async code(params: QueryCodeRequest): Promise { + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; + return await this.request(endpoint); + } + + /* Codes gets the metadata for all stored wasm codes */ + async codes(params: QueryCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code`; + return await this.request(endpoint, options); + } + + /* PinnedCodes gets the pinned code ids */ + async pinnedCodes(params: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/codes/pinned`; + return await this.request(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts new file mode 100644 index 000000000..f6fc84b21 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -0,0 +1,107 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + contractInfo(request: QueryContractInfoRequest): Promise; + /*ContractInfo gets the contract meta data*/ + + contractHistory(request: QueryContractHistoryRequest): Promise; + /*ContractHistory gets the contract code history*/ + + contractsByCode(request: QueryContractsByCodeRequest): Promise; + /*ContractsByCode lists all smart contracts for a code id*/ + + allContractState(request: QueryAllContractStateRequest): Promise; + /*AllContractState gets all raw store data for a single contract*/ + + rawContractState(request: QueryRawContractStateRequest): Promise; + /*RawContractState gets single key from the raw store data of a contract*/ + + smartContractState(request: QuerySmartContractStateRequest): Promise; + /*SmartContractState get smart query result from the contract*/ + + code(request: QueryCodeRequest): Promise; + /*Code gets the binary code and metadata for a singe wasm code*/ + + codes(request: QueryCodesRequest): Promise; + /*Codes gets the metadata for all stored wasm codes*/ + + pinnedCodes(request: QueryPinnedCodesRequest): Promise; + /*PinnedCodes gets the pinned code ids*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); + } + + contractInfo(request: QueryContractInfoRequest): Promise { + const data = QueryContractInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); + return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); + } + + contractHistory(request: QueryContractHistoryRequest): Promise { + const data = QueryContractHistoryRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); + return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); + } + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + const data = QueryContractsByCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); + return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); + } + + allContractState(request: QueryAllContractStateRequest): Promise { + const data = QueryAllContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); + return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); + } + + rawContractState(request: QueryRawContractStateRequest): Promise { + const data = QueryRawContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); + return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); + } + + smartContractState(request: QuerySmartContractStateRequest): Promise { + const data = QuerySmartContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); + return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); + } + + code(request: QueryCodeRequest): Promise { + const data = QueryCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); + return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); + } + + codes(request: QueryCodesRequest): Promise { + const data = QueryCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); + return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); + } + + pinnedCodes(request: QueryPinnedCodesRequest): Promise { + const data = QueryPinnedCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); + return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts new file mode 100644 index 000000000..a307d9ed2 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts @@ -0,0 +1,1481 @@ +import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoRequest { + /** address is the address of the contract to query */ + address: string; +} + +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoResponse { + /** address is the address of the contract */ + address: string; + contractInfo: ContractInfo | undefined; +} + +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ +export interface QueryContractHistoryRequest { + /** address is the address of the contract to query */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ +export interface QueryContractHistoryResponse { + entries: ContractCodeHistoryEntry[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ +export interface QueryContractsByCodeRequest { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + codeId: Long; + pagination?: PageRequest | undefined; +} + +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ +export interface QueryContractsByCodeResponse { + /** contracts are a set of contract addresses */ + contracts: string[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ +export interface QueryAllContractStateRequest { + /** address is the address of the contract */ + address: string; + + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ +export interface QueryAllContractStateResponse { + models: Model[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateRequest { + /** address is the address of the contract */ + address: string; + queryData: Uint8Array; +} + +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateResponse { + /** Data contains the raw store data */ + data: Uint8Array; +} + +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateRequest { + /** address is the address of the contract */ + address: string; + + /** QueryData contains the query data passed to the contract */ + queryData: Uint8Array; +} + +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateResponse { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} + +/** QueryCodeRequest is the request type for the Query/Code RPC method */ +export interface QueryCodeRequest { + /** grpc-gateway_out does not support Go style CodID */ + codeId: Long; +} + +/** CodeInfoResponse contains code meta data from CodeInfo */ +export interface CodeInfoResponse { + codeId: Long; + creator: string; + dataHash: Uint8Array; +} + +/** QueryCodeResponse is the response type for the Query/Code RPC method */ +export interface QueryCodeResponse { + codeInfo: CodeInfoResponse | undefined; + data: Uint8Array; +} + +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ +export interface QueryCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ +export interface QueryCodesResponse { + codeInfos: CodeInfoResponse[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ +export interface QueryPinnedCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ +export interface QueryPinnedCodesResponse { + codeIds: Long[]; + + /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; +} + +function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { + return { + address: "" + }; +} + +export const QueryContractInfoRequest = { + encode(message: QueryContractInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractInfoRequest { + return { + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: QueryContractInfoRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + return obj; + }, + + fromPartial(object: Partial): QueryContractInfoRequest { + const message = createBaseQueryContractInfoRequest(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { + return { + address: "", + contractInfo: undefined + }; +} + +export const QueryContractInfoResponse = { + encode(message: QueryContractInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractInfoResponse { + return { + address: isSet(object.address) ? String(object.address) : "", + contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined + }; + }, + + toJSON(message: QueryContractInfoResponse): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractInfoResponse { + const message = createBaseQueryContractInfoResponse(); + message.address = object.address ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryContractHistoryRequest = { + encode(message: QueryContractHistoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractHistoryRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractHistoryRequest): 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): QueryContractHistoryRequest { + const message = createBaseQueryContractHistoryRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { + return { + entries: [], + pagination: undefined + }; +} + +export const QueryContractHistoryResponse = { + encode(message: QueryContractHistoryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(ContractCodeHistoryEntry.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): QueryContractHistoryResponse { + return { + entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractHistoryResponse): unknown { + const obj: any = {}; + + if (message.entries) { + obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toJSON(e) : undefined); + } else { + obj.entries = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractHistoryResponse { + const message = createBaseQueryContractHistoryResponse(); + message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { + return { + codeId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryContractsByCodeRequest = { + encode(message: QueryContractsByCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractsByCodeRequest { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractsByCodeRequest): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractsByCodeRequest { + const message = createBaseQueryContractsByCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { + return { + contracts: [], + pagination: undefined + }; +} + +export const QueryContractsByCodeResponse = { + encode(message: QueryContractsByCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.contracts) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contracts.push(reader.string()); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryContractsByCodeResponse { + return { + contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => String(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryContractsByCodeResponse): unknown { + const obj: any = {}; + + if (message.contracts) { + obj.contracts = message.contracts.map(e => e); + } else { + obj.contracts = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryContractsByCodeResponse { + const message = createBaseQueryContractsByCodeResponse(); + message.contracts = object.contracts?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllContractStateRequest = { + encode(message: QueryAllContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAllContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryAllContractStateRequest): 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): QueryAllContractStateRequest { + const message = createBaseQueryAllContractStateRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { + return { + models: [], + pagination: undefined + }; +} + +export const QueryAllContractStateResponse = { + encode(message: QueryAllContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.models) { + Model.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.models.push(Model.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): QueryAllContractStateResponse { + return { + models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryAllContractStateResponse): unknown { + const obj: any = {}; + + if (message.models) { + obj.models = message.models.map(e => e ? Model.toJSON(e) : undefined); + } else { + obj.models = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryAllContractStateResponse { + const message = createBaseQueryAllContractStateResponse(); + message.models = object.models?.map(e => Model.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QueryRawContractStateRequest = { + encode(message: QueryRawContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryRawContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() + }; + }, + + toJSON(message: QueryRawContractStateRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryRawContractStateRequest { + const message = createBaseQueryRawContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QueryRawContractStateResponse = { + encode(message: QueryRawContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryRawContractStateResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QueryRawContractStateResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryRawContractStateResponse { + const message = createBaseQueryRawContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QuerySmartContractStateRequest = { + encode(message: QuerySmartContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySmartContractStateRequest { + return { + address: isSet(object.address) ? String(object.address) : "", + queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() + }; + }, + + toJSON(message: QuerySmartContractStateRequest): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QuerySmartContractStateRequest { + const message = createBaseQuerySmartContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QuerySmartContractStateResponse = { + encode(message: QuerySmartContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QuerySmartContractStateResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QuerySmartContractStateResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QuerySmartContractStateResponse { + const message = createBaseQuerySmartContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeRequest(): QueryCodeRequest { + return { + codeId: Long.UZERO + }; +} + +export const QueryCodeRequest = { + encode(message: QueryCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryCodeRequest { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO + }; + }, + + toJSON(message: QueryCodeRequest): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryCodeRequest { + const message = createBaseQueryCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfoResponse(): CodeInfoResponse { + return { + codeId: Long.UZERO, + creator: "", + dataHash: new Uint8Array() + }; +} + +export const CodeInfoResponse = { + encode(message: CodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.dataHash.length !== 0) { + writer.uint32(26).bytes(message.dataHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.dataHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CodeInfoResponse { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + creator: isSet(object.creator) ? String(object.creator) : "", + dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array() + }; + }, + + toJSON(message: CodeInfoResponse): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.creator !== undefined && (obj.creator = message.creator); + message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): CodeInfoResponse { + const message = createBaseCodeInfoResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.dataHash = object.dataHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeResponse(): QueryCodeResponse { + return { + codeInfo: undefined, + data: new Uint8Array() + }; +} + +export const QueryCodeResponse = { + encode(message: QueryCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeInfo !== undefined) { + CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32()); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryCodeResponse { + return { + codeInfo: isSet(object.codeInfo) ? CodeInfoResponse.fromJSON(object.codeInfo) : undefined, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: QueryCodeResponse): unknown { + const obj: any = {}; + message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfoResponse.toJSON(message.codeInfo) : undefined); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): QueryCodeResponse { + const message = createBaseQueryCodeResponse(); + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodesRequest(): QueryCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryCodesRequest = { + encode(message: QueryCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesRequest(); + + 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): QueryCodesRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryCodesRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryCodesRequest { + const message = createBaseQueryCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryCodesResponse(): QueryCodesResponse { + return { + codeInfos: [], + pagination: undefined + }; +} + +export const QueryCodesResponse = { + encode(message: QueryCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.codeInfos) { + CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfos.push(CodeInfoResponse.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): QueryCodesResponse { + return { + codeInfos: Array.isArray(object?.codeInfos) ? object.codeInfos.map((e: any) => CodeInfoResponse.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryCodesResponse): unknown { + const obj: any = {}; + + if (message.codeInfos) { + obj.codeInfos = message.codeInfos.map(e => e ? CodeInfoResponse.toJSON(e) : undefined); + } else { + obj.codeInfos = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryCodesResponse { + const message = createBaseQueryCodesResponse(); + message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryPinnedCodesRequest = { + encode(message: QueryPinnedCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPinnedCodesRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPinnedCodesRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPinnedCodesRequest { + const message = createBaseQueryPinnedCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { + return { + codeIds: [], + pagination: undefined + }; +} + +export const QueryPinnedCodesResponse = { + encode(message: QueryPinnedCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPinnedCodesResponse { + return { + codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPinnedCodesResponse): unknown { + const obj: any = {}; + + if (message.codeIds) { + obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); + } else { + obj.codeIds = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPinnedCodesResponse { + const message = createBaseQueryPinnedCodesResponse(); + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts new file mode 100644 index 000000000..43a114957 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -0,0 +1,253 @@ +import { AccessConfig, accessTypeFromJSON } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { AminoMsg } from "@cosmjs/amino"; +import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; +import { Long } from "@osmonauts/helpers"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export interface AminoMsgStoreCode extends AminoMsg { + type: "wasm/MsgStoreCode"; + value: { + sender: string; + wasm_byte_code: string; + instantiate_permission: { + permission: number; + address: string; + }; + }; +} +export interface AminoMsgInstantiateContract extends AminoMsg { + type: "wasm/MsgInstantiateContract"; + value: { + sender: string; + admin: string; + code_id: string; + label: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgExecuteContract extends AminoMsg { + type: "wasm/MsgExecuteContract"; + value: { + sender: string; + contract: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMigrateContract extends AminoMsg { + type: "wasm/MsgMigrateContract"; + value: { + sender: string; + contract: string; + code_id: string; + msg: Uint8Array; + }; +} +export interface AminoMsgUpdateAdmin extends AminoMsg { + type: "wasm/MsgUpdateAdmin"; + value: { + sender: string; + new_admin: string; + contract: string; + }; +} +export interface AminoMsgClearAdmin extends AminoMsg { + type: "wasm/MsgClearAdmin"; + value: { + sender: string; + contract: string; + }; +} +export const AminoConverter = { + "/cosmwasm.wasm.v1.MsgStoreCode": { + aminoType: "wasm/MsgStoreCode", + toAmino: ({ + sender, + wasmByteCode, + instantiatePermission + }: MsgStoreCode): AminoMsgStoreCode["value"] => { + return { + sender, + wasm_byte_code: toBase64(wasmByteCode), + instantiate_permission: { + permission: instantiatePermission.permission, + address: instantiatePermission.address + } + }; + }, + fromAmino: ({ + sender, + wasm_byte_code, + instantiate_permission + }: AminoMsgStoreCode["value"]): MsgStoreCode => { + return { + sender, + wasmByteCode: fromBase64(wasm_byte_code), + instantiatePermission: { + permission: accessTypeFromJSON(instantiate_permission.permission), + address: instantiate_permission.address + } + }; + } + }, + "/cosmwasm.wasm.v1.MsgInstantiateContract": { + aminoType: "wasm/MsgInstantiateContract", + toAmino: ({ + sender, + admin, + codeId, + label, + msg, + funds + }: MsgInstantiateContract): AminoMsgInstantiateContract["value"] => { + return { + sender, + admin, + code_id: codeId.toString(), + label, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + admin, + code_id, + label, + msg, + funds + }: AminoMsgInstantiateContract["value"]): MsgInstantiateContract => { + return { + sender, + admin, + codeId: Long.fromString(code_id), + label, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgExecuteContract": { + aminoType: "wasm/MsgExecuteContract", + toAmino: ({ + sender, + contract, + msg, + funds + }: MsgExecuteContract): AminoMsgExecuteContract["value"] => { + return { + sender, + contract, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + contract, + msg, + funds + }: AminoMsgExecuteContract["value"]): MsgExecuteContract => { + return { + sender, + contract, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgMigrateContract": { + aminoType: "wasm/MsgMigrateContract", + toAmino: ({ + sender, + contract, + codeId, + msg + }: MsgMigrateContract): AminoMsgMigrateContract["value"] => { + return { + sender, + contract, + code_id: codeId.toString(), + msg: JSON.parse(fromUtf8(msg)) + }; + }, + fromAmino: ({ + sender, + contract, + code_id, + msg + }: AminoMsgMigrateContract["value"]): MsgMigrateContract => { + return { + sender, + contract, + codeId: Long.fromString(code_id), + msg: toUtf8(JSON.stringify(msg)) + }; + } + }, + "/cosmwasm.wasm.v1.MsgUpdateAdmin": { + aminoType: "wasm/MsgUpdateAdmin", + toAmino: ({ + sender, + newAdmin, + contract + }: MsgUpdateAdmin): AminoMsgUpdateAdmin["value"] => { + return { + sender, + new_admin: newAdmin, + contract + }; + }, + fromAmino: ({ + sender, + new_admin, + contract + }: AminoMsgUpdateAdmin["value"]): MsgUpdateAdmin => { + return { + sender, + newAdmin: new_admin, + contract + }; + } + }, + "/cosmwasm.wasm.v1.MsgClearAdmin": { + aminoType: "wasm/MsgClearAdmin", + toAmino: ({ + sender, + contract + }: MsgClearAdmin): AminoMsgClearAdmin["value"] => { + return { + sender, + contract + }; + }, + fromAmino: ({ + sender, + contract + }: AminoMsgClearAdmin["value"]): MsgClearAdmin => { + return { + sender, + contract + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts new file mode 100644 index 000000000..759a475d9 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts @@ -0,0 +1,232 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.encode(value).finish() + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.encode(value).finish() + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.encode(value).finish() + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.encode(value).finish() + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.encode(value).finish() + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.encode(value).finish() + }; + } + + }, + withTypeUrl: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value + }; + } + + }, + toJSON: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.toJSON(value) + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.toJSON(value) + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.toJSON(value) + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.toJSON(value) + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.toJSON(value) + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.toJSON(value) + }; + } + + }, + fromJSON: { + storeCode(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.fromJSON(value) + }; + }, + + instantiateContract(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.fromJSON(value) + }; + }, + + executeContract(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.fromJSON(value) + }; + }, + + migrateContract(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.fromJSON(value) + }; + }, + + updateAdmin(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.fromJSON(value) + }; + }, + + clearAdmin(value: any) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.fromJSON(value) + }; + } + + }, + fromPartial: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.fromPartial(value) + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.fromPartial(value) + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.fromPartial(value) + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.fromPartial(value) + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.fromPartial(value) + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..c95f5b1e9 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -0,0 +1,77 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + storeCode(request: MsgStoreCode): Promise; + /*StoreCode to submit Wasm code to the system*/ + + instantiateContract(request: MsgInstantiateContract): Promise; + /*Instantiate creates a new smart contract instance for the given code id.*/ + + executeContract(request: MsgExecuteContract): Promise; + /*Execute submits the given message data to a smart contract*/ + + migrateContract(request: MsgMigrateContract): Promise; + /*Migrate runs a code upgrade/ downgrade for a smart contract*/ + + updateAdmin(request: MsgUpdateAdmin): Promise; + /*UpdateAdmin sets a new admin for a smart contract*/ + + clearAdmin(request: MsgClearAdmin): Promise; + /*ClearAdmin removes any admin stored for a smart contract*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.storeCode = this.storeCode.bind(this); + this.instantiateContract = this.instantiateContract.bind(this); + this.executeContract = this.executeContract.bind(this); + this.migrateContract = this.migrateContract.bind(this); + this.updateAdmin = this.updateAdmin.bind(this); + this.clearAdmin = this.clearAdmin.bind(this); + } + + storeCode(request: MsgStoreCode): Promise { + const data = MsgStoreCode.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); + return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); + } + + instantiateContract(request: MsgInstantiateContract): Promise { + const data = MsgInstantiateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); + return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); + } + + executeContract(request: MsgExecuteContract): Promise { + const data = MsgExecuteContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); + return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); + } + + migrateContract(request: MsgMigrateContract): Promise { + const data = MsgMigrateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); + return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); + } + + updateAdmin(request: MsgUpdateAdmin): Promise { + const data = MsgUpdateAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); + return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); + } + + clearAdmin(request: MsgClearAdmin): Promise { + const data = MsgClearAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); + return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts new file mode 100644 index 000000000..140096e8e --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts @@ -0,0 +1,1002 @@ +import { AccessConfig } from "./types"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** MsgStoreCode submit Wasm code to the system */ +export interface MsgStoreCode { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** WASMByteCode can be raw or gzip compressed */ + wasmByteCode: Uint8Array; + + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + instantiatePermission: AccessConfig | undefined; +} + +/** MsgStoreCodeResponse returns store result data. */ +export interface MsgStoreCodeResponse { + /** CodeID is the reference to the stored WASM code */ + codeId: Long; +} + +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ +export interface MsgInstantiateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Label is optional metadata to be stored with a contract instance. */ + label: string; + + /** Msg json encoded message to be passed to the contract on instantiation */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; +} + +/** MsgInstantiateContractResponse return instantiation result data */ +export interface MsgInstantiateContractResponse { + /** Address is the bech32 address of the new contract instance. */ + address: string; + + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} + +/** MsgExecuteContract submits the given message data to a smart contract */ +export interface MsgExecuteContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** Msg json encoded message to be passed to the contract */ + msg: Uint8Array; + + /** Funds coins that are transferred to the contract on execution */ + funds: Coin[]; +} + +/** MsgExecuteContractResponse returns execution result data. */ +export interface MsgExecuteContractResponse { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} + +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ +export interface MsgMigrateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; + + /** CodeID references the new WASM code */ + codeId: Long; + + /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; +} + +/** MsgMigrateContractResponse returns contract migration result data. */ +export interface MsgMigrateContractResponse { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} + +/** MsgUpdateAdmin sets a new admin for a smart contract */ +export interface MsgUpdateAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** NewAdmin address to be set */ + newAdmin: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** MsgUpdateAdminResponse returns empty data */ +export interface MsgUpdateAdminResponse {} + +/** MsgClearAdmin removes any admin stored for a smart contract */ +export interface MsgClearAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + + /** Contract is the address of the smart contract */ + contract: string; +} + +/** MsgClearAdminResponse returns empty data */ +export interface MsgClearAdminResponse {} + +function createBaseMsgStoreCode(): MsgStoreCode { + return { + sender: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const MsgStoreCode = { + encode(message: MsgStoreCode, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(18).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.wasmByteCode = reader.bytes(); + break; + + case 5: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgStoreCode { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), + instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined + }; + }, + + toJSON(message: MsgStoreCode): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); + message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); + return obj; + }, + + fromPartial(object: Partial): MsgStoreCode { + const message = createBaseMsgStoreCode(); + message.sender = object.sender ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseMsgStoreCodeResponse(): MsgStoreCodeResponse { + return { + codeId: Long.UZERO + }; +} + +export const MsgStoreCodeResponse = { + encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgStoreCodeResponse { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO + }; + }, + + toJSON(message: MsgStoreCodeResponse): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgStoreCodeResponse { + const message = createBaseMsgStoreCodeResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgInstantiateContract(): MsgInstantiateContract { + return { + sender: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgInstantiateContract = { + encode(message: MsgInstantiateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgInstantiateContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + label: isSet(object.label) ? String(object.label) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgInstantiateContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.admin !== undefined && (obj.admin = message.admin); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.label !== undefined && (obj.label = message.label); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgInstantiateContract { + const message = createBaseMsgInstantiateContract(); + message.sender = object.sender ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgInstantiateContractResponse(): MsgInstantiateContractResponse { + return { + address: "", + data: new Uint8Array() + }; +} + +export const MsgInstantiateContractResponse = { + encode(message: MsgInstantiateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgInstantiateContractResponse { + return { + address: isSet(object.address) ? String(object.address) : "", + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgInstantiateContractResponse): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgInstantiateContractResponse { + const message = createBaseMsgInstantiateContractResponse(); + message.address = object.address ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgExecuteContract(): MsgExecuteContract { + return { + sender: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgExecuteContract = { + encode(message: MsgExecuteContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(26).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.msg = reader.bytes(); + break; + + case 5: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExecuteContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), + funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] + }; + }, + + toJSON(message: MsgExecuteContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + + if (message.funds) { + obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); + } else { + obj.funds = []; + } + + return obj; + }, + + fromPartial(object: Partial): MsgExecuteContract { + const message = createBaseMsgExecuteContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgExecuteContractResponse(): MsgExecuteContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgExecuteContractResponse = { + encode(message: MsgExecuteContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgExecuteContractResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgExecuteContractResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgExecuteContractResponse { + const message = createBaseMsgExecuteContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContract(): MsgMigrateContract { + return { + sender: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MsgMigrateContract = { + encode(message: MsgMigrateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgMigrateContract { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "", + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: MsgMigrateContract): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgMigrateContract { + const message = createBaseMsgMigrateContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContractResponse(): MsgMigrateContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgMigrateContractResponse = { + encode(message: MsgMigrateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgMigrateContractResponse { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: MsgMigrateContractResponse): unknown { + const obj: any = {}; + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MsgMigrateContractResponse { + const message = createBaseMsgMigrateContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgUpdateAdmin(): MsgUpdateAdmin { + return { + sender: "", + newAdmin: "", + contract: "" + }; +} + +export const MsgUpdateAdmin = { + encode(message: MsgUpdateAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.newAdmin !== "") { + writer.uint32(18).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.newAdmin = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateAdmin { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: MsgUpdateAdmin): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateAdmin { + const message = createBaseMsgUpdateAdmin(); + message.sender = object.sender ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateAdminResponse(): MsgUpdateAdminResponse { + return {}; +} + +export const MsgUpdateAdminResponse = { + encode(_: MsgUpdateAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateAdminResponse { + return {}; + }, + + toJSON(_: MsgUpdateAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateAdminResponse { + const message = createBaseMsgUpdateAdminResponse(); + return message; + } + +}; + +function createBaseMsgClearAdmin(): MsgClearAdmin { + return { + sender: "", + contract: "" + }; +} + +export const MsgClearAdmin = { + encode(message: MsgClearAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgClearAdmin { + return { + sender: isSet(object.sender) ? String(object.sender) : "", + contract: isSet(object.contract) ? String(object.contract) : "" + }; + }, + + toJSON(message: MsgClearAdmin): unknown { + const obj: any = {}; + message.sender !== undefined && (obj.sender = message.sender); + message.contract !== undefined && (obj.contract = message.contract); + return obj; + }, + + fromPartial(object: Partial): MsgClearAdmin { + const message = createBaseMsgClearAdmin(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgClearAdminResponse(): MsgClearAdminResponse { + return {}; +} + +export const MsgClearAdminResponse = { + encode(_: MsgClearAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgClearAdminResponse { + return {}; + }, + + toJSON(_: MsgClearAdminResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgClearAdminResponse { + const message = createBaseMsgClearAdminResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts new file mode 100644 index 000000000..f7eeb3c67 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts @@ -0,0 +1,862 @@ +import { Any } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** AccessType permission types */ +export enum AccessType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} +export function accessTypeFromJSON(object: any): AccessType { + switch (object) { + case 0: + case "ACCESS_TYPE_UNSPECIFIED": + return AccessType.ACCESS_TYPE_UNSPECIFIED; + + case 1: + case "ACCESS_TYPE_NOBODY": + return AccessType.ACCESS_TYPE_NOBODY; + + case 2: + case "ACCESS_TYPE_ONLY_ADDRESS": + return AccessType.ACCESS_TYPE_ONLY_ADDRESS; + + case 3: + case "ACCESS_TYPE_EVERYBODY": + return AccessType.ACCESS_TYPE_EVERYBODY; + + case -1: + case "UNRECOGNIZED": + default: + return AccessType.UNRECOGNIZED; + } +} +export function accessTypeToJSON(object: AccessType): string { + switch (object) { + case AccessType.ACCESS_TYPE_UNSPECIFIED: + return "ACCESS_TYPE_UNSPECIFIED"; + + case AccessType.ACCESS_TYPE_NOBODY: + return "ACCESS_TYPE_NOBODY"; + + case AccessType.ACCESS_TYPE_ONLY_ADDRESS: + return "ACCESS_TYPE_ONLY_ADDRESS"; + + case AccessType.ACCESS_TYPE_EVERYBODY: + return "ACCESS_TYPE_EVERYBODY"; + + default: + return "UNKNOWN"; + } +} + +/** ContractCodeHistoryOperationType actions that caused a code change */ +export enum ContractCodeHistoryOperationType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} +export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { + switch (object) { + case 0: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED; + + case 1: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT; + + case 2: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE; + + case 3: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS; + + case -1: + case "UNRECOGNIZED": + default: + return ContractCodeHistoryOperationType.UNRECOGNIZED; + } +} +export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string { + switch (object) { + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; + + default: + return "UNKNOWN"; + } +} + +/** AccessTypeParam */ +export interface AccessTypeParam { + value: AccessType; +} + +/** AccessConfig access control type. */ +export interface AccessConfig { + permission: AccessType; + address: string; +} + +/** Params defines the set of wasm parameters. */ +export interface Params { + codeUploadAccess: AccessConfig | undefined; + instantiateDefaultPermission: AccessType; + maxWasmCodeSize: Long; +} + +/** CodeInfo is data for the uploaded contract WASM code */ +export interface CodeInfo { + /** CodeHash is the unique identifier created by wasmvm */ + codeHash: Uint8Array; + + /** Creator address who initially stored the code */ + creator: string; + + /** InstantiateConfig access control to apply on contract creation, optional */ + instantiateConfig: AccessConfig | undefined; +} + +/** ContractInfo stores a WASM contract instance */ +export interface ContractInfo { + /** CodeID is the reference to the stored Wasm code */ + codeId: Long; + + /** Creator address who initially instantiated the contract */ + creator: string; + + /** Admin is an optional address that can execute migrations */ + admin: string; + + /** Label is optional metadata to be stored with a contract instance. */ + label: string; + + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + created: AbsoluteTxPosition | undefined; + ibcPortId: string; + + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + extension: Any | undefined; +} + +/** ContractCodeHistoryEntry metadata to a contract. */ +export interface ContractCodeHistoryEntry { + operation: ContractCodeHistoryOperationType; + + /** CodeID is the reference to the stored WASM code */ + codeId: Long; + + /** Updated Tx position when the operation was executed. */ + updated: AbsoluteTxPosition | undefined; + msg: Uint8Array; +} + +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ +export interface AbsoluteTxPosition { + /** BlockHeight is the block the contract was created at */ + blockHeight: Long; + + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + txIndex: Long; +} + +/** Model is a struct that holds a KV pair */ +export interface Model { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; + + /** base64-encode raw value */ + value: Uint8Array; +} + +function createBaseAccessTypeParam(): AccessTypeParam { + return { + value: 0 + }; +} + +export const AccessTypeParam = { + encode(message: AccessTypeParam, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).int32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessTypeParam(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AccessTypeParam { + return { + value: isSet(object.value) ? accessTypeFromJSON(object.value) : 0 + }; + }, + + toJSON(message: AccessTypeParam): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); + return obj; + }, + + fromPartial(object: Partial): AccessTypeParam { + const message = createBaseAccessTypeParam(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseAccessConfig(): AccessConfig { + return { + permission: 0, + address: "" + }; +} + +export const AccessConfig = { + encode(message: AccessConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.permission !== 0) { + writer.uint32(8).int32(message.permission); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessConfig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.permission = (reader.int32() as any); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AccessConfig { + return { + permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : 0, + address: isSet(object.address) ? String(object.address) : "" + }; + }, + + toJSON(message: AccessConfig): unknown { + const obj: any = {}; + message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); + message.address !== undefined && (obj.address = message.address); + return obj; + }, + + fromPartial(object: Partial): AccessConfig { + const message = createBaseAccessConfig(); + message.permission = object.permission ?? 0; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + codeUploadAccess: undefined, + instantiateDefaultPermission: 0, + maxWasmCodeSize: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeUploadAccess !== undefined) { + AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateDefaultPermission !== 0) { + writer.uint32(16).int32(message.instantiateDefaultPermission); + } + + if (!message.maxWasmCodeSize.isZero()) { + writer.uint32(24).uint64(message.maxWasmCodeSize); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codeUploadAccess = AccessConfig.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateDefaultPermission = (reader.int32() as any); + break; + + case 3: + message.maxWasmCodeSize = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + codeUploadAccess: isSet(object.codeUploadAccess) ? AccessConfig.fromJSON(object.codeUploadAccess) : undefined, + instantiateDefaultPermission: isSet(object.instantiateDefaultPermission) ? accessTypeFromJSON(object.instantiateDefaultPermission) : 0, + maxWasmCodeSize: isSet(object.maxWasmCodeSize) ? Long.fromString(object.maxWasmCodeSize) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.codeUploadAccess !== undefined && (obj.codeUploadAccess = message.codeUploadAccess ? AccessConfig.toJSON(message.codeUploadAccess) : undefined); + message.instantiateDefaultPermission !== undefined && (obj.instantiateDefaultPermission = accessTypeToJSON(message.instantiateDefaultPermission)); + message.maxWasmCodeSize !== undefined && (obj.maxWasmCodeSize = (message.maxWasmCodeSize || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; + message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; + message.maxWasmCodeSize = object.maxWasmCodeSize !== undefined && object.maxWasmCodeSize !== null ? Long.fromValue(object.maxWasmCodeSize) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfo(): CodeInfo { + return { + codeHash: new Uint8Array(), + creator: "", + instantiateConfig: undefined + }; +} + +export const CodeInfo = { + encode(message: CodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeHash.length !== 0) { + writer.uint32(10).bytes(message.codeHash); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.instantiateConfig !== undefined) { + AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeHash = reader.bytes(); + break; + + case 2: + message.creator = reader.string(); + break; + + case 5: + message.instantiateConfig = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CodeInfo { + return { + codeHash: isSet(object.codeHash) ? bytesFromBase64(object.codeHash) : new Uint8Array(), + creator: isSet(object.creator) ? String(object.creator) : "", + instantiateConfig: isSet(object.instantiateConfig) ? AccessConfig.fromJSON(object.instantiateConfig) : undefined + }; + }, + + toJSON(message: CodeInfo): unknown { + const obj: any = {}; + message.codeHash !== undefined && (obj.codeHash = base64FromBytes(message.codeHash !== undefined ? message.codeHash : new Uint8Array())); + message.creator !== undefined && (obj.creator = message.creator); + message.instantiateConfig !== undefined && (obj.instantiateConfig = message.instantiateConfig ? AccessConfig.toJSON(message.instantiateConfig) : undefined); + return obj; + }, + + fromPartial(object: Partial): CodeInfo { + const message = createBaseCodeInfo(); + message.codeHash = object.codeHash ?? new Uint8Array(); + message.creator = object.creator ?? ""; + message.instantiateConfig = object.instantiateConfig !== undefined && object.instantiateConfig !== null ? AccessConfig.fromPartial(object.instantiateConfig) : undefined; + return message; + } + +}; + +function createBaseContractInfo(): ContractInfo { + return { + codeId: Long.UZERO, + creator: "", + admin: "", + label: "", + created: undefined, + ibcPortId: "", + extension: undefined + }; +} + +export const ContractInfo = { + encode(message: ContractInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.created !== undefined) { + AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim(); + } + + if (message.ibcPortId !== "") { + writer.uint32(50).string(message.ibcPortId); + } + + if (message.extension !== undefined) { + Any.encode(message.extension, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.created = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 6: + message.ibcPortId = reader.string(); + break; + + case 7: + message.extension = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContractInfo { + return { + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + creator: isSet(object.creator) ? String(object.creator) : "", + admin: isSet(object.admin) ? String(object.admin) : "", + label: isSet(object.label) ? String(object.label) : "", + created: isSet(object.created) ? AbsoluteTxPosition.fromJSON(object.created) : undefined, + ibcPortId: isSet(object.ibcPortId) ? String(object.ibcPortId) : "", + extension: isSet(object.extension) ? Any.fromJSON(object.extension) : undefined + }; + }, + + toJSON(message: ContractInfo): unknown { + const obj: any = {}; + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.creator !== undefined && (obj.creator = message.creator); + message.admin !== undefined && (obj.admin = message.admin); + message.label !== undefined && (obj.label = message.label); + message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toJSON(message.created) : undefined); + message.ibcPortId !== undefined && (obj.ibcPortId = message.ibcPortId); + message.extension !== undefined && (obj.extension = message.extension ? Any.toJSON(message.extension) : undefined); + return obj; + }, + + fromPartial(object: Partial): ContractInfo { + const message = createBaseContractInfo(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.admin = object.admin ?? ""; + message.label = object.label ?? ""; + message.created = object.created !== undefined && object.created !== null ? AbsoluteTxPosition.fromPartial(object.created) : undefined; + message.ibcPortId = object.ibcPortId ?? ""; + message.extension = object.extension !== undefined && object.extension !== null ? Any.fromPartial(object.extension) : undefined; + return message; + } + +}; + +function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { + return { + operation: 0, + codeId: Long.UZERO, + updated: undefined, + msg: new Uint8Array() + }; +} + +export const ContractCodeHistoryEntry = { + encode(message: ContractCodeHistoryEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operation !== 0) { + writer.uint32(8).int32(message.operation); + } + + if (!message.codeId.isZero()) { + writer.uint32(16).uint64(message.codeId); + } + + if (message.updated !== undefined) { + AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim(); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractCodeHistoryEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.operation = (reader.int32() as any); + break; + + case 2: + message.codeId = (reader.uint64() as Long); + break; + + case 3: + message.updated = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ContractCodeHistoryEntry { + return { + operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : 0, + codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, + updated: isSet(object.updated) ? AbsoluteTxPosition.fromJSON(object.updated) : undefined, + msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() + }; + }, + + toJSON(message: ContractCodeHistoryEntry): unknown { + const obj: any = {}; + message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); + message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); + message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toJSON(message.updated) : undefined); + message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): ContractCodeHistoryEntry { + const message = createBaseContractCodeHistoryEntry(); + message.operation = object.operation ?? 0; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.updated = object.updated !== undefined && object.updated !== null ? AbsoluteTxPosition.fromPartial(object.updated) : undefined; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAbsoluteTxPosition(): AbsoluteTxPosition { + return { + blockHeight: Long.UZERO, + txIndex: Long.UZERO + }; +} + +export const AbsoluteTxPosition = { + encode(message: AbsoluteTxPosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + writer.uint32(8).uint64(message.blockHeight); + } + + if (!message.txIndex.isZero()) { + writer.uint32(16).uint64(message.txIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAbsoluteTxPosition(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockHeight = (reader.uint64() as Long); + break; + + case 2: + message.txIndex = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): AbsoluteTxPosition { + return { + blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.UZERO, + txIndex: isSet(object.txIndex) ? Long.fromString(object.txIndex) : Long.UZERO + }; + }, + + toJSON(message: AbsoluteTxPosition): unknown { + const obj: any = {}; + message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.UZERO).toString()); + message.txIndex !== undefined && (obj.txIndex = (message.txIndex || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): AbsoluteTxPosition { + const message = createBaseAbsoluteTxPosition(); + message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; + message.txIndex = object.txIndex !== undefined && object.txIndex !== null ? Long.fromValue(object.txIndex) : Long.UZERO; + return message; + } + +}; + +function createBaseModel(): Model { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Model = { + encode(message: Model, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Model { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModel(); + + 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): Model { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() + }; + }, + + toJSON(message: Model): 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): Model { + const message = createBaseModel(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/bundle.ts b/examples/telescope/codegen/gogoproto/bundle.ts new file mode 100644 index 000000000..c34b9c64c --- /dev/null +++ b/examples/telescope/codegen/gogoproto/bundle.ts @@ -0,0 +1,3 @@ +import * as _100 from "./gogo"; +export const gogoproto = { ..._100 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/gogo.ts b/examples/telescope/codegen/gogoproto/gogo.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/gogoproto/gogo.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/annotations.ts b/examples/telescope/codegen/google/api/annotations.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/google/api/annotations.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/http.ts b/examples/telescope/codegen/google/api/http.ts new file mode 100644 index 000000000..9185ccdc6 --- /dev/null +++ b/examples/telescope/codegen/google/api/http.ts @@ -0,0 +1,683 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/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 + * to one or more HTTP REST API methods. + */ +export interface Http { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRule[]; + + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + fullyDecodeReservedExpansion: boolean; +} + +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ +export interface HttpRule { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + get?: string; + + /** Maps to HTTP PUT. Used for replacing a resource. */ + put?: string; + + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + post?: string; + + /** Maps to HTTP DELETE. Used for deleting a resource. */ + delete?: string; + + /** Maps to HTTP PATCH. Used for updating a resource. */ + patch?: string; + + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + custom?: CustomHttpPattern | undefined; + + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + body: string; + + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + responseBody: string; + + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + additionalBindings: HttpRule[]; +} + +/** A custom pattern is used for defining custom HTTP verb. */ +export interface CustomHttpPattern { + /** The name of this custom HTTP verb. */ + kind: string; + + /** The path matched by this custom verb. */ + path: string; +} + +function createBaseHttp(): Http { + return { + rules: [], + fullyDecodeReservedExpansion: false + }; +} + +export const Http = { + encode(message: Http, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rules) { + HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fullyDecodeReservedExpansion === true) { + writer.uint32(16).bool(message.fullyDecodeReservedExpansion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Http { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rules.push(HttpRule.decode(reader, reader.uint32())); + break; + + case 2: + message.fullyDecodeReservedExpansion = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false; + return message; + } + +}; + +function createBaseHttpRule(): HttpRule { + return { + selector: "", + get: undefined, + put: undefined, + post: undefined, + delete: undefined, + patch: undefined, + custom: undefined, + body: "", + responseBody: "", + additionalBindings: [] + }; +} + +export const HttpRule = { + encode(message: HttpRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.selector !== "") { + writer.uint32(10).string(message.selector); + } + + if (message.get !== undefined) { + writer.uint32(18).string(message.get); + } + + if (message.put !== undefined) { + writer.uint32(26).string(message.put); + } + + if (message.post !== undefined) { + writer.uint32(34).string(message.post); + } + + if (message.delete !== undefined) { + writer.uint32(42).string(message.delete); + } + + if (message.patch !== undefined) { + writer.uint32(50).string(message.patch); + } + + if (message.custom !== undefined) { + CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim(); + } + + if (message.body !== "") { + writer.uint32(58).string(message.body); + } + + if (message.responseBody !== "") { + writer.uint32(98).string(message.responseBody); + } + + for (const v of message.additionalBindings) { + HttpRule.encode(v!, writer.uint32(90).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttpRule(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.selector = reader.string(); + break; + + case 2: + message.get = reader.string(); + break; + + case 3: + message.put = reader.string(); + break; + + case 4: + message.post = reader.string(); + break; + + case 5: + message.delete = reader.string(); + break; + + case 6: + message.patch = reader.string(); + break; + + case 8: + message.custom = CustomHttpPattern.decode(reader, reader.uint32()); + break; + + case 7: + message.body = reader.string(); + break; + + case 12: + message.responseBody = reader.string(); + break; + + case 11: + message.additionalBindings.push(HttpRule.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.get = object.get ?? undefined; + message.put = object.put ?? undefined; + message.post = object.post ?? undefined; + message.delete = object.delete ?? undefined; + message.patch = object.patch ?? undefined; + message.custom = object.custom !== undefined && object.custom !== null ? CustomHttpPattern.fromPartial(object.custom) : undefined; + message.body = object.body ?? ""; + message.responseBody = object.responseBody ?? ""; + message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCustomHttpPattern(): CustomHttpPattern { + return { + kind: "", + path: "" + }; +} + +export const CustomHttpPattern = { + encode(message: CustomHttpPattern, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.kind !== "") { + writer.uint32(10).string(message.kind); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCustomHttpPattern(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.kind = reader.string(); + break; + + case 2: + message.path = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.path = object.path ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/bundle.ts b/examples/telescope/codegen/google/bundle.ts new file mode 100644 index 000000000..9cc4276a0 --- /dev/null +++ b/examples/telescope/codegen/google/bundle.ts @@ -0,0 +1,24 @@ +import * as _101 from "./api/annotations"; +import * as _102 from "./api/http"; +import * as _103 from "./protobuf/any"; +import * as _104 from "./protobuf/descriptor"; +import * as _105 from "./protobuf/duration"; +import * as _106 from "./protobuf/empty"; +import * as _107 from "./protobuf/timestamp"; +import * as _108 from "./protobuf/struct"; +import * as _109 from "./protobuf/wrappers"; +import * as _110 from "./protobuf/field_mask"; +export namespace google { + export const api = { ..._101, + ..._102 + }; + export const protobuf = { ..._103, + ..._104, + ..._105, + ..._106, + ..._107, + ..._108, + ..._109, + ..._110 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/any.ts b/examples/telescope/codegen/google/protobuf/any.ts new file mode 100644 index 000000000..897c0029e --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/any.ts @@ -0,0 +1,188 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * `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 { + /** + * 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; +} + +function createBaseAny(): Any { + return { + typeUrl: "", + value: new Uint8Array() + }; +} + +export const Any = { + encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.typeUrl !== "") { + writer.uint32(10).string(message.typeUrl); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Any { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAny(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.typeUrl = reader.string(); + break; + + case 2: + message.value = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/descriptor.ts b/examples/telescope/codegen/google/protobuf/descriptor.ts new file mode 100644 index 000000000..b549b17b1 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/descriptor.ts @@ -0,0 +1,4162 @@ +//@ts-nocheck +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { + switch (object) { + case 1: + case "TYPE_DOUBLE": + return FieldDescriptorProto_Type.TYPE_DOUBLE; + + case 2: + case "TYPE_FLOAT": + return FieldDescriptorProto_Type.TYPE_FLOAT; + + case 3: + case "TYPE_INT64": + return FieldDescriptorProto_Type.TYPE_INT64; + + case 4: + case "TYPE_UINT64": + return FieldDescriptorProto_Type.TYPE_UINT64; + + case 5: + case "TYPE_INT32": + return FieldDescriptorProto_Type.TYPE_INT32; + + case 6: + case "TYPE_FIXED64": + return FieldDescriptorProto_Type.TYPE_FIXED64; + + case 7: + case "TYPE_FIXED32": + return FieldDescriptorProto_Type.TYPE_FIXED32; + + case 8: + case "TYPE_BOOL": + return FieldDescriptorProto_Type.TYPE_BOOL; + + case 9: + case "TYPE_STRING": + return FieldDescriptorProto_Type.TYPE_STRING; + + case 10: + case "TYPE_GROUP": + return FieldDescriptorProto_Type.TYPE_GROUP; + + case 11: + case "TYPE_MESSAGE": + return FieldDescriptorProto_Type.TYPE_MESSAGE; + + case 12: + case "TYPE_BYTES": + return FieldDescriptorProto_Type.TYPE_BYTES; + + case 13: + case "TYPE_UINT32": + return FieldDescriptorProto_Type.TYPE_UINT32; + + case 14: + case "TYPE_ENUM": + return FieldDescriptorProto_Type.TYPE_ENUM; + + case 15: + case "TYPE_SFIXED32": + return FieldDescriptorProto_Type.TYPE_SFIXED32; + + case 16: + case "TYPE_SFIXED64": + return FieldDescriptorProto_Type.TYPE_SFIXED64; + + case 17: + case "TYPE_SINT32": + return FieldDescriptorProto_Type.TYPE_SINT32; + + case 18: + case "TYPE_SINT64": + return FieldDescriptorProto_Type.TYPE_SINT64; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Type.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string { + switch (object) { + case FieldDescriptorProto_Type.TYPE_DOUBLE: + return "TYPE_DOUBLE"; + + case FieldDescriptorProto_Type.TYPE_FLOAT: + return "TYPE_FLOAT"; + + case FieldDescriptorProto_Type.TYPE_INT64: + return "TYPE_INT64"; + + case FieldDescriptorProto_Type.TYPE_UINT64: + return "TYPE_UINT64"; + + case FieldDescriptorProto_Type.TYPE_INT32: + return "TYPE_INT32"; + + case FieldDescriptorProto_Type.TYPE_FIXED64: + return "TYPE_FIXED64"; + + case FieldDescriptorProto_Type.TYPE_FIXED32: + return "TYPE_FIXED32"; + + case FieldDescriptorProto_Type.TYPE_BOOL: + return "TYPE_BOOL"; + + case FieldDescriptorProto_Type.TYPE_STRING: + return "TYPE_STRING"; + + case FieldDescriptorProto_Type.TYPE_GROUP: + return "TYPE_GROUP"; + + case FieldDescriptorProto_Type.TYPE_MESSAGE: + return "TYPE_MESSAGE"; + + case FieldDescriptorProto_Type.TYPE_BYTES: + return "TYPE_BYTES"; + + case FieldDescriptorProto_Type.TYPE_UINT32: + return "TYPE_UINT32"; + + case FieldDescriptorProto_Type.TYPE_ENUM: + return "TYPE_ENUM"; + + case FieldDescriptorProto_Type.TYPE_SFIXED32: + return "TYPE_SFIXED32"; + + case FieldDescriptorProto_Type.TYPE_SFIXED64: + return "TYPE_SFIXED64"; + + case FieldDescriptorProto_Type.TYPE_SINT32: + return "TYPE_SINT32"; + + case FieldDescriptorProto_Type.TYPE_SINT64: + return "TYPE_SINT64"; + + default: + return "UNKNOWN"; + } +} +export enum FieldDescriptorProto_Label { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} +export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { + switch (object) { + case 1: + case "LABEL_OPTIONAL": + return FieldDescriptorProto_Label.LABEL_OPTIONAL; + + case 2: + case "LABEL_REQUIRED": + return FieldDescriptorProto_Label.LABEL_REQUIRED; + + case 3: + case "LABEL_REPEATED": + return FieldDescriptorProto_Label.LABEL_REPEATED; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Label.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string { + switch (object) { + case FieldDescriptorProto_Label.LABEL_OPTIONAL: + return "LABEL_OPTIONAL"; + + case FieldDescriptorProto_Label.LABEL_REQUIRED: + return "LABEL_REQUIRED"; + + case FieldDescriptorProto_Label.LABEL_REPEATED: + return "LABEL_REPEATED"; + + default: + return "UNKNOWN"; + } +} + +/** Generated classes can be optimized for speed or code size. */ +export 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { + switch (object) { + case 1: + case "SPEED": + return FileOptions_OptimizeMode.SPEED; + + case 2: + case "CODE_SIZE": + return FileOptions_OptimizeMode.CODE_SIZE; + + case 3: + case "LITE_RUNTIME": + return FileOptions_OptimizeMode.LITE_RUNTIME; + + case -1: + case "UNRECOGNIZED": + default: + return FileOptions_OptimizeMode.UNRECOGNIZED; + } +} +export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string { + switch (object) { + case FileOptions_OptimizeMode.SPEED: + return "SPEED"; + + case FileOptions_OptimizeMode.CODE_SIZE: + return "CODE_SIZE"; + + case FileOptions_OptimizeMode.LITE_RUNTIME: + return "LITE_RUNTIME"; + + default: + return "UNKNOWN"; + } +} +export enum FieldOptions_CType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} +export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { + switch (object) { + case 0: + case "STRING": + return FieldOptions_CType.STRING; + + case 1: + case "CORD": + return FieldOptions_CType.CORD; + + case 2: + case "STRING_PIECE": + return FieldOptions_CType.STRING_PIECE; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_CType.UNRECOGNIZED; + } +} +export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { + switch (object) { + case FieldOptions_CType.STRING: + return "STRING"; + + case FieldOptions_CType.CORD: + return "CORD"; + + case FieldOptions_CType.STRING_PIECE: + return "STRING_PIECE"; + + default: + return "UNKNOWN"; + } +} +export 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { + switch (object) { + case 0: + case "JS_NORMAL": + return FieldOptions_JSType.JS_NORMAL; + + case 1: + case "JS_STRING": + return FieldOptions_JSType.JS_STRING; + + case 2: + case "JS_NUMBER": + return FieldOptions_JSType.JS_NUMBER; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_JSType.UNRECOGNIZED; + } +} +export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { + switch (object) { + case FieldOptions_JSType.JS_NORMAL: + return "JS_NORMAL"; + + case FieldOptions_JSType.JS_STRING: + return "JS_STRING"; + + case FieldOptions_JSType.JS_NUMBER: + return "JS_NUMBER"; + + default: + return "UNKNOWN"; + } +} + +/** + * 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 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 function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { + switch (object) { + case 0: + case "IDEMPOTENCY_UNKNOWN": + return MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN; + + case 1: + case "NO_SIDE_EFFECTS": + return MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS; + + case 2: + case "IDEMPOTENT": + return MethodOptions_IdempotencyLevel.IDEMPOTENT; + + case -1: + case "UNRECOGNIZED": + default: + return MethodOptions_IdempotencyLevel.UNRECOGNIZED; + } +} +export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string { + switch (object) { + case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN: + return "IDEMPOTENCY_UNKNOWN"; + + case MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS: + return "NO_SIDE_EFFECTS"; + + case MethodOptions_IdempotencyLevel.IDEMPOTENT: + return "IDEMPOTENT"; + + default: + return "UNKNOWN"; + } +} + +/** + * The protocol compiler can output a FileDescriptorSet containing the .proto + * files it parses. + */ +export interface FileDescriptorSet { + file: FileDescriptorProto[]; +} + +/** 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 | undefined; + + /** + * 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 | undefined; + + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + 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 | undefined; + 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 DescriptorProto_ExtensionRange { + /** Inclusive. */ + start: number; + + /** Exclusive. */ + end: number; + options: ExtensionRangeOptions | undefined; +} + +/** + * 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 ExtensionRangeOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} + +/** 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 | undefined; +} + +/** Describes a oneof. */ +export interface OneofDescriptorProto { + name: string; + options: OneofOptions | undefined; +} + +/** Describes an enum type. */ +export interface EnumDescriptorProto { + name: string; + value: EnumValueDescriptorProto[]; + options: EnumOptions | undefined; + + /** + * 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[]; +} + +/** + * 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; +} + +/** Describes a value within an enum. */ +export interface EnumValueDescriptorProto { + name: string; + number: number; + options: EnumValueOptions | undefined; +} + +/** Describes a service. */ +export interface ServiceDescriptorProto { + name: string; + method: MethodDescriptorProto[]; + options: ServiceOptions | undefined; +} + +/** 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 | undefined; + + /** Identifies if client streams multiple client messages */ + clientStreaming: boolean; + + /** Identifies if server streams multiple server messages */ + serverStreaming: 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 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 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 OneofOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} +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 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 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 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[]; +} + +/** + * 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; +} + +/** + * 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; +} + +/** + * 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 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[]; +} + +/** + * 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 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; +} + +function createBaseFileDescriptorSet(): FileDescriptorSet { + return { + file: [] + }; +} + +export const FileDescriptorSet = { + encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.file) { + FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.file.push(FileDescriptorProto.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFileDescriptorProto(): FileDescriptorProto { + return { + name: "", + package: "", + dependency: [], + publicDependency: [], + weakDependency: [], + messageType: [], + enumType: [], + service: [], + extension: [], + options: undefined, + sourceCodeInfo: undefined, + syntax: "" + }; +} + +export const FileDescriptorProto = { + encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.package !== "") { + writer.uint32(18).string(message.package); + } + + for (const v of message.dependency) { + writer.uint32(26).string(v!); + } + + writer.uint32(82).fork(); + + for (const v of message.publicDependency) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(90).fork(); + + for (const v of message.weakDependency) { + writer.int32(v); + } + + writer.ldelim(); + + for (const v of message.messageType) { + DescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.service) { + ServiceDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.options !== undefined) { + FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + if (message.sourceCodeInfo !== undefined) { + SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim(); + } + + if (message.syntax !== "") { + writer.uint32(98).string(message.syntax); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.package = reader.string(); + break; + + case 3: + message.dependency.push(reader.string()); + break; + + case 10: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.publicDependency.push(reader.int32()); + } + } else { + message.publicDependency.push(reader.int32()); + } + + break; + + case 11: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.weakDependency.push(reader.int32()); + } + } else { + message.weakDependency.push(reader.int32()); + } + + break; + + case 4: + message.messageType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 8: + message.options = FileOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32()); + break; + + case 12: + message.syntax = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.package = object.package ?? ""; + message.dependency = object.dependency?.map(e => e) || []; + message.publicDependency = object.publicDependency?.map(e => e) || []; + message.weakDependency = object.weakDependency?.map(e => e) || []; + message.messageType = object.messageType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.service = object.service?.map(e => ServiceDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? FileOptions.fromPartial(object.options) : undefined; + message.sourceCodeInfo = object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; + message.syntax = object.syntax ?? ""; + return message; + } + +}; + +function createBaseDescriptorProto(): DescriptorProto { + return { + name: "", + field: [], + extension: [], + nestedType: [], + enumType: [], + extensionRange: [], + oneofDecl: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const DescriptorProto = { + encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.field) { + FieldDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.nestedType) { + DescriptorProto.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.extensionRange) { + DescriptorProto_ExtensionRange.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.oneofDecl) { + OneofDescriptorProto.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + if (message.options !== undefined) { + MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + DescriptorProto_ReservedRange.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(82).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.field.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.nestedType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 4: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32())); + break; + + case 8: + message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.options = MessageOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32())); + break; + + case 10: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.field = object.field?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.nestedType = object.nestedType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.extensionRange = object.extensionRange?.map(e => DescriptorProto_ExtensionRange.fromPartial(e)) || []; + message.oneofDecl = object.oneofDecl?.map(e => OneofDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? MessageOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => DescriptorProto_ReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange { + return { + start: 0, + end: 0, + options: undefined + }; +} + +export const DescriptorProto_ExtensionRange = { + encode(message: DescriptorProto_ExtensionRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + if (message.options !== undefined) { + ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ExtensionRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + case 3: + message.options = ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + message.options = object.options !== undefined && object.options !== null ? ExtensionRangeOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const DescriptorProto_ReservedRange = { + encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseExtensionRangeOptions(): ExtensionRangeOptions { + return { + uninterpretedOption: [] + }; +} + +export const ExtensionRangeOptions = { + encode(message: ExtensionRangeOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExtensionRangeOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseFieldDescriptorProto(): FieldDescriptorProto { + return { + name: "", + number: 0, + label: 0, + type: 0, + typeName: "", + extendee: "", + defaultValue: "", + oneofIndex: 0, + jsonName: "", + options: undefined + }; +} + +export const FieldDescriptorProto = { + encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(24).int32(message.number); + } + + if (message.label !== 0) { + writer.uint32(32).int32(message.label); + } + + if (message.type !== 0) { + writer.uint32(40).int32(message.type); + } + + if (message.typeName !== "") { + writer.uint32(50).string(message.typeName); + } + + if (message.extendee !== "") { + writer.uint32(18).string(message.extendee); + } + + if (message.defaultValue !== "") { + writer.uint32(58).string(message.defaultValue); + } + + if (message.oneofIndex !== 0) { + writer.uint32(72).int32(message.oneofIndex); + } + + if (message.jsonName !== "") { + writer.uint32(82).string(message.jsonName); + } + + if (message.options !== undefined) { + FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 3: + message.number = reader.int32(); + break; + + case 4: + message.label = (reader.int32() as any); + break; + + case 5: + message.type = (reader.int32() as any); + break; + + case 6: + message.typeName = reader.string(); + break; + + case 2: + message.extendee = reader.string(); + break; + + case 7: + message.defaultValue = reader.string(); + break; + + case 9: + message.oneofIndex = reader.int32(); + break; + + case 10: + message.jsonName = reader.string(); + break; + + case 8: + message.options = FieldOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : 0, + 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 ?? ""; + message.number = object.number ?? 0; + message.label = object.label ?? 0; + message.type = object.type ?? 0; + message.typeName = object.typeName ?? ""; + message.extendee = object.extendee ?? ""; + message.defaultValue = object.defaultValue ?? ""; + message.oneofIndex = object.oneofIndex ?? 0; + message.jsonName = object.jsonName ?? ""; + message.options = object.options !== undefined && object.options !== null ? FieldOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseOneofDescriptorProto(): OneofDescriptorProto { + return { + name: "", + options: undefined + }; +} + +export const OneofDescriptorProto = { + encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.options !== undefined) { + OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.options = OneofOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.options = object.options !== undefined && object.options !== null ? OneofOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseEnumDescriptorProto(): EnumDescriptorProto { + return { + name: "", + value: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const EnumDescriptorProto = { + encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.value) { + EnumValueDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + EnumDescriptorProto_EnumReservedRange.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(42).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = EnumOptions.decode(reader, reader.uint32()); + break; + + case 4: + message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32())); + break; + + case 5: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.value = object.value?.map(e => EnumValueDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? EnumOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseEnumDescriptorProto_EnumReservedRange(): EnumDescriptorProto_EnumReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const EnumDescriptorProto_EnumReservedRange = { + encode(message: EnumDescriptorProto_EnumReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto_EnumReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { + return { + name: "", + number: 0, + options: undefined + }; +} + +export const EnumValueDescriptorProto = { + encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.options !== undefined) { + EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.options = EnumValueOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.number = object.number ?? 0; + message.options = object.options !== undefined && object.options !== null ? EnumValueOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseServiceDescriptorProto(): ServiceDescriptorProto { + return { + name: "", + method: [], + options: undefined + }; +} + +export const ServiceDescriptorProto = { + encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.method) { + MethodDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.method.push(MethodDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = ServiceOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.method = object.method?.map(e => MethodDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? ServiceOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseMethodDescriptorProto(): MethodDescriptorProto { + return { + name: "", + inputType: "", + outputType: "", + options: undefined, + clientStreaming: false, + serverStreaming: false + }; +} + +export const MethodDescriptorProto = { + encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.inputType !== "") { + writer.uint32(18).string(message.inputType); + } + + if (message.outputType !== "") { + writer.uint32(26).string(message.outputType); + } + + if (message.options !== undefined) { + MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim(); + } + + if (message.clientStreaming === true) { + writer.uint32(40).bool(message.clientStreaming); + } + + if (message.serverStreaming === true) { + writer.uint32(48).bool(message.serverStreaming); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.inputType = reader.string(); + break; + + case 3: + message.outputType = reader.string(); + break; + + case 4: + message.options = MethodOptions.decode(reader, reader.uint32()); + break; + + case 5: + message.clientStreaming = reader.bool(); + break; + + case 6: + message.serverStreaming = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.inputType = object.inputType ?? ""; + message.outputType = object.outputType ?? ""; + message.options = object.options !== undefined && object.options !== null ? MethodOptions.fromPartial(object.options) : undefined; + message.clientStreaming = object.clientStreaming ?? false; + message.serverStreaming = object.serverStreaming ?? false; + return message; + } + +}; + +function createBaseFileOptions(): FileOptions { + return { + javaPackage: "", + javaOuterClassname: "", + javaMultipleFiles: false, + javaGenerateEqualsAndHash: false, + javaStringCheckUtf8: false, + optimizeFor: 0, + goPackage: "", + ccGenericServices: false, + javaGenericServices: false, + pyGenericServices: false, + phpGenericServices: false, + deprecated: false, + ccEnableArenas: false, + objcClassPrefix: "", + csharpNamespace: "", + swiftPrefix: "", + phpClassPrefix: "", + phpNamespace: "", + phpMetadataNamespace: "", + rubyPackage: "", + uninterpretedOption: [] + }; +} + +export const FileOptions = { + encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.javaPackage !== "") { + writer.uint32(10).string(message.javaPackage); + } + + if (message.javaOuterClassname !== "") { + writer.uint32(66).string(message.javaOuterClassname); + } + + if (message.javaMultipleFiles === true) { + writer.uint32(80).bool(message.javaMultipleFiles); + } + + if (message.javaGenerateEqualsAndHash === true) { + writer.uint32(160).bool(message.javaGenerateEqualsAndHash); + } + + if (message.javaStringCheckUtf8 === true) { + writer.uint32(216).bool(message.javaStringCheckUtf8); + } + + if (message.optimizeFor !== 0) { + writer.uint32(72).int32(message.optimizeFor); + } + + if (message.goPackage !== "") { + writer.uint32(90).string(message.goPackage); + } + + if (message.ccGenericServices === true) { + writer.uint32(128).bool(message.ccGenericServices); + } + + if (message.javaGenericServices === true) { + writer.uint32(136).bool(message.javaGenericServices); + } + + if (message.pyGenericServices === true) { + writer.uint32(144).bool(message.pyGenericServices); + } + + if (message.phpGenericServices === true) { + writer.uint32(336).bool(message.phpGenericServices); + } + + if (message.deprecated === true) { + writer.uint32(184).bool(message.deprecated); + } + + if (message.ccEnableArenas === true) { + writer.uint32(248).bool(message.ccEnableArenas); + } + + if (message.objcClassPrefix !== "") { + writer.uint32(290).string(message.objcClassPrefix); + } + + if (message.csharpNamespace !== "") { + writer.uint32(298).string(message.csharpNamespace); + } + + if (message.swiftPrefix !== "") { + writer.uint32(314).string(message.swiftPrefix); + } + + if (message.phpClassPrefix !== "") { + writer.uint32(322).string(message.phpClassPrefix); + } + + if (message.phpNamespace !== "") { + writer.uint32(330).string(message.phpNamespace); + } + + if (message.phpMetadataNamespace !== "") { + writer.uint32(354).string(message.phpMetadataNamespace); + } + + if (message.rubyPackage !== "") { + writer.uint32(362).string(message.rubyPackage); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.javaPackage = reader.string(); + break; + + case 8: + message.javaOuterClassname = reader.string(); + break; + + case 10: + message.javaMultipleFiles = reader.bool(); + break; + + case 20: + message.javaGenerateEqualsAndHash = reader.bool(); + break; + + case 27: + message.javaStringCheckUtf8 = reader.bool(); + break; + + case 9: + message.optimizeFor = (reader.int32() as any); + break; + + case 11: + message.goPackage = reader.string(); + break; + + case 16: + message.ccGenericServices = reader.bool(); + break; + + case 17: + message.javaGenericServices = reader.bool(); + break; + + case 18: + message.pyGenericServices = reader.bool(); + break; + + case 42: + message.phpGenericServices = reader.bool(); + break; + + case 23: + message.deprecated = reader.bool(); + break; + + case 31: + message.ccEnableArenas = reader.bool(); + break; + + case 36: + message.objcClassPrefix = reader.string(); + break; + + case 37: + message.csharpNamespace = reader.string(); + break; + + case 39: + message.swiftPrefix = reader.string(); + break; + + case 40: + message.phpClassPrefix = reader.string(); + break; + + case 41: + message.phpNamespace = reader.string(); + break; + + case 44: + message.phpMetadataNamespace = reader.string(); + break; + + case 45: + message.rubyPackage = reader.string(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) : 0, + 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 ?? ""; + message.javaOuterClassname = object.javaOuterClassname ?? ""; + message.javaMultipleFiles = object.javaMultipleFiles ?? false; + message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; + message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; + message.optimizeFor = object.optimizeFor ?? 0; + message.goPackage = object.goPackage ?? ""; + message.ccGenericServices = object.ccGenericServices ?? false; + message.javaGenericServices = object.javaGenericServices ?? false; + message.pyGenericServices = object.pyGenericServices ?? false; + message.phpGenericServices = object.phpGenericServices ?? false; + message.deprecated = object.deprecated ?? false; + message.ccEnableArenas = object.ccEnableArenas ?? false; + message.objcClassPrefix = object.objcClassPrefix ?? ""; + message.csharpNamespace = object.csharpNamespace ?? ""; + message.swiftPrefix = object.swiftPrefix ?? ""; + message.phpClassPrefix = object.phpClassPrefix ?? ""; + message.phpNamespace = object.phpNamespace ?? ""; + message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; + message.rubyPackage = object.rubyPackage ?? ""; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMessageOptions(): MessageOptions { + return { + messageSetWireFormat: false, + noStandardDescriptorAccessor: false, + deprecated: false, + mapEntry: false, + uninterpretedOption: [] + }; +} + +export const MessageOptions = { + encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.messageSetWireFormat === true) { + writer.uint32(8).bool(message.messageSetWireFormat); + } + + if (message.noStandardDescriptorAccessor === true) { + writer.uint32(16).bool(message.noStandardDescriptorAccessor); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.mapEntry === true) { + writer.uint32(56).bool(message.mapEntry); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMessageOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messageSetWireFormat = reader.bool(); + break; + + case 2: + message.noStandardDescriptorAccessor = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 7: + message.mapEntry = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; + message.deprecated = object.deprecated ?? false; + message.mapEntry = object.mapEntry ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFieldOptions(): FieldOptions { + return { + ctype: 0, + packed: false, + jstype: 0, + lazy: false, + deprecated: false, + weak: false, + uninterpretedOption: [] + }; +} + +export const FieldOptions = { + encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ctype !== 0) { + writer.uint32(8).int32(message.ctype); + } + + if (message.packed === true) { + writer.uint32(16).bool(message.packed); + } + + if (message.jstype !== 0) { + writer.uint32(48).int32(message.jstype); + } + + if (message.lazy === true) { + writer.uint32(40).bool(message.lazy); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.weak === true) { + writer.uint32(80).bool(message.weak); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ctype = (reader.int32() as any); + break; + + case 2: + message.packed = reader.bool(); + break; + + case 6: + message.jstype = (reader.int32() as any); + break; + + case 5: + message.lazy = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 10: + message.weak = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FieldOptions { + return { + ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0, + packed: isSet(object.packed) ? Boolean(object.packed) : false, + jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : 0, + 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 ?? 0; + message.packed = object.packed ?? false; + message.jstype = object.jstype ?? 0; + message.lazy = object.lazy ?? false; + message.deprecated = object.deprecated ?? false; + message.weak = object.weak ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOneofOptions(): OneofOptions { + return { + uninterpretedOption: [] + }; +} + +export const OneofOptions = { + encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseEnumOptions(): EnumOptions { + return { + allowAlias: false, + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumOptions = { + encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowAlias === true) { + writer.uint32(16).bool(message.allowAlias); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.allowAlias = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.deprecated = object.deprecated ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEnumValueOptions(): EnumValueOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumValueOptions = { + encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(8).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseServiceOptions(): ServiceOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const ServiceOptions = { + encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMethodOptions(): MethodOptions { + return { + deprecated: false, + idempotencyLevel: 0, + uninterpretedOption: [] + }; +} + +export const MethodOptions = { + encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + if (message.idempotencyLevel !== 0) { + writer.uint32(272).int32(message.idempotencyLevel); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 34: + message.idempotencyLevel = (reader.int32() as any); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MethodOptions { + return { + deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, + idempotencyLevel: isSet(object.idempotencyLevel) ? methodOptions_IdempotencyLevelFromJSON(object.idempotencyLevel) : 0, + 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; + message.idempotencyLevel = object.idempotencyLevel ?? 0; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUninterpretedOption(): UninterpretedOption { + return { + name: [], + identifierValue: "", + positiveIntValue: Long.UZERO, + negativeIntValue: Long.ZERO, + doubleValue: 0, + stringValue: new Uint8Array(), + aggregateValue: "" + }; +} + +export const UninterpretedOption = { + encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.name) { + UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.identifierValue !== "") { + writer.uint32(26).string(message.identifierValue); + } + + if (!message.positiveIntValue.isZero()) { + writer.uint32(32).uint64(message.positiveIntValue); + } + + if (!message.negativeIntValue.isZero()) { + writer.uint32(40).int64(message.negativeIntValue); + } + + if (message.doubleValue !== 0) { + writer.uint32(49).double(message.doubleValue); + } + + if (message.stringValue.length !== 0) { + writer.uint32(58).bytes(message.stringValue); + } + + if (message.aggregateValue !== "") { + writer.uint32(66).string(message.aggregateValue); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32())); + break; + + case 3: + message.identifierValue = reader.string(); + break; + + case 4: + message.positiveIntValue = (reader.uint64() as Long); + break; + + case 5: + message.negativeIntValue = (reader.int64() as Long); + break; + + case 6: + message.doubleValue = reader.double(); + break; + + case 7: + message.stringValue = reader.bytes(); + break; + + case 8: + message.aggregateValue = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.positiveIntValue) : Long.UZERO, + negativeIntValue: isSet(object.negativeIntValue) ? Long.fromString(object.negativeIntValue) : Long.ZERO, + 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 || Long.UZERO).toString()); + message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || Long.ZERO).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)) || []; + message.identifierValue = object.identifierValue ?? ""; + message.positiveIntValue = object.positiveIntValue !== undefined && object.positiveIntValue !== null ? Long.fromValue(object.positiveIntValue) : Long.UZERO; + message.negativeIntValue = object.negativeIntValue !== undefined && object.negativeIntValue !== null ? Long.fromValue(object.negativeIntValue) : Long.ZERO; + message.doubleValue = object.doubleValue ?? 0; + message.stringValue = object.stringValue ?? new Uint8Array(); + message.aggregateValue = object.aggregateValue ?? ""; + return message; + } + +}; + +function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart { + return { + namePart: "", + isExtension: false + }; +} + +export const UninterpretedOption_NamePart = { + encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.namePart !== "") { + writer.uint32(10).string(message.namePart); + } + + if (message.isExtension === true) { + writer.uint32(16).bool(message.isExtension); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption_NamePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.namePart = reader.string(); + break; + + case 2: + message.isExtension = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.isExtension = object.isExtension ?? false; + return message; + } + +}; + +function createBaseSourceCodeInfo(): SourceCodeInfo { + return { + location: [] + }; +} + +export const SourceCodeInfo = { + encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.location) { + SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location { + return { + path: [], + span: [], + leadingComments: "", + trailingComments: "", + leadingDetachedComments: [] + }; +} + +export const SourceCodeInfo_Location = { + encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(18).fork(); + + for (const v of message.span) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.leadingComments !== "") { + writer.uint32(26).string(message.leadingComments); + } + + if (message.trailingComments !== "") { + writer.uint32(34).string(message.trailingComments); + } + + for (const v of message.leadingDetachedComments) { + writer.uint32(50).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo_Location(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.span.push(reader.int32()); + } + } else { + message.span.push(reader.int32()); + } + + break; + + case 3: + message.leadingComments = reader.string(); + break; + + case 4: + message.trailingComments = reader.string(); + break; + + case 6: + message.leadingDetachedComments.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + message.span = object.span?.map(e => e) || []; + message.leadingComments = object.leadingComments ?? ""; + message.trailingComments = object.trailingComments ?? ""; + message.leadingDetachedComments = object.leadingDetachedComments?.map(e => e) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo(): GeneratedCodeInfo { + return { + annotation: [] + }; +} + +export const GeneratedCodeInfo = { + encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.annotation) { + GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { + return { + path: [], + sourceFile: "", + begin: 0, + end: 0 + }; +} + +export const GeneratedCodeInfo_Annotation = { + encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.sourceFile !== "") { + writer.uint32(18).string(message.sourceFile); + } + + if (message.begin !== 0) { + writer.uint32(24).int32(message.begin); + } + + if (message.end !== 0) { + writer.uint32(32).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo_Annotation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + message.sourceFile = reader.string(); + break; + + case 3: + message.begin = reader.int32(); + break; + + case 4: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + message.sourceFile = object.sourceFile ?? ""; + message.begin = object.begin ?? 0; + message.end = object.end ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/duration.ts b/examples/telescope/codegen/google/protobuf/duration.ts new file mode 100644 index 000000000..4438b0c5f --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/duration.ts @@ -0,0 +1,150 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +function createBaseDuration(): Duration { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Duration = { + encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Duration { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuration(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Duration { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; + }, + + toJSON(message: Duration): unknown { + const obj: any = {}; + message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/empty.ts b/examples/telescope/codegen/google/protobuf/empty.ts new file mode 100644 index 000000000..19603f65e --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/empty.ts @@ -0,0 +1,57 @@ +import * as _m0 from "protobufjs/minimal"; + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ +export interface Empty {} + +function createBaseEmpty(): Empty { + return {}; +} + +export const Empty = { + encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Empty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEmpty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): Empty { + return {}; + }, + + toJSON(_: Empty): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): Empty { + const message = createBaseEmpty(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/field_mask.ts b/examples/telescope/codegen/google/protobuf/field_mask.ts new file mode 100644 index 000000000..dd95f4984 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/field_mask.ts @@ -0,0 +1,270 @@ +import * as _m0 from "protobufjs/minimal"; + +/** + * `FieldMask` represents a set of symbolic field paths, for example: + * + * paths: "f.a" + * paths: "f.b.d" + * + * Here `f` represents a field in some root message, `a` and `b` + * fields in the message found in `f`, and `d` a field found in the + * message in `f.b`. + * + * Field masks are used to specify a subset of fields that should be + * returned by a get operation or modified by an update operation. + * Field masks also have a custom JSON encoding (see below). + * + * # Field Masks in Projections + * + * When used in the context of a projection, a response message or + * sub-message is filtered by the API to only contain those fields as + * specified in the mask. For example, if the mask in the previous + * example is applied to a response message as follows: + * + * f { + * a : 22 + * b { + * d : 1 + * x : 2 + * } + * y : 13 + * } + * z: 8 + * + * The result will not contain specific values for fields x,y and z + * (their value will be set to the default, and omitted in proto text + * output): + * + * + * f { + * a : 22 + * b { + * d : 1 + * } + * } + * + * A repeated field is not allowed except at the last position of a + * paths string. + * + * If a FieldMask object is not present in a get operation, the + * operation applies to all fields (as if a FieldMask of all fields + * had been specified). + * + * Note that a field mask does not necessarily apply to the + * top-level response message. In case of a REST get operation, the + * field mask applies directly to the response, but in case of a REST + * list operation, the mask instead applies to each individual message + * in the returned resource list. In case of a REST custom method, + * other definitions may be used. Where the mask applies will be + * clearly documented together with its declaration in the API. In + * any case, the effect on the returned resource/resources is required + * behavior for APIs. + * + * # Field Masks in Update Operations + * + * A field mask in update operations specifies which fields of the + * targeted resource are going to be updated. The API is required + * to only change the values of the fields as specified in the mask + * and leave the others untouched. If a resource is passed in to + * describe the updated values, the API ignores the values of all + * fields not covered by the mask. + * + * If a repeated field is specified for an update operation, new values will + * be appended to the existing repeated field in the target resource. Note that + * a repeated field is only allowed in the last position of a `paths` string. + * + * If a sub-message is specified in the last position of the field mask for an + * update operation, then new value will be merged into the existing sub-message + * in the target resource. + * + * For example, given the target message: + * + * f { + * b { + * d: 1 + * x: 2 + * } + * c: [1] + * } + * + * And an update message: + * + * f { + * b { + * d: 10 + * } + * c: [2] + * } + * + * then if the field mask is: + * + * paths: ["f.b", "f.c"] + * + * then the result will be: + * + * f { + * b { + * d: 10 + * x: 2 + * } + * c: [1, 2] + * } + * + * An implementation may provide options to override this default behavior for + * repeated and message fields. + * + * In order to reset a field's value to the default, the field must + * be in the mask and set to the default value in the provided resource. + * Hence, in order to reset all fields of a resource, provide a default + * instance of the resource and set all fields in the mask, or do + * not provide a mask as described below. + * + * If a field mask is not present on update, the operation applies to + * all fields (as if a field mask of all fields has been specified). + * Note that in the presence of schema evolution, this may mean that + * fields the client does not know and has therefore not filled into + * the request will be reset to their default. If this is unwanted + * behavior, a specific service may require a client to always specify + * a field mask, producing an error if not. + * + * As with get operations, the location of the resource which + * describes the updated values in the request message depends on the + * operation kind. In any case, the effect of the field mask is + * required to be honored by the API. + * + * ## Considerations for HTTP REST + * + * The HTTP kind of an update operation which uses a field mask must + * be set to PATCH instead of PUT in order to satisfy HTTP semantics + * (PUT must only be used for full updates). + * + * # JSON Encoding of Field Masks + * + * In JSON, a field mask is encoded as a single string where paths are + * separated by a comma. Fields name in each path are converted + * to/from lower-camel naming conventions. + * + * As an example, consider the following message declarations: + * + * message Profile { + * User user = 1; + * Photo photo = 2; + * } + * message User { + * string display_name = 1; + * string address = 2; + * } + * + * In proto a field mask for `Profile` may look as such: + * + * mask { + * paths: "user.display_name" + * paths: "photo" + * } + * + * In JSON, the same mask is represented as below: + * + * { + * mask: "user.displayName,photo" + * } + * + * # Field Masks and Oneof Fields + * + * Field masks treat fields in oneofs just as regular fields. Consider the + * following message: + * + * message SampleMessage { + * oneof test_oneof { + * string name = 4; + * SubMessage sub_message = 9; + * } + * } + * + * The field mask can be: + * + * mask { + * paths: "name" + * } + * + * Or: + * + * mask { + * paths: "sub_message" + * } + * + * Note that oneof type names ("test_oneof" in this case) cannot be used in + * paths. + * + * ## Field Mask Verification + * + * The implementation of any API method which has a FieldMask type field in the + * request should verify the included field paths, and return an + * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + */ +export interface FieldMask { + /** The set of field mask paths. */ + paths: string[]; +} + +function createBaseFieldMask(): FieldMask { + return { + paths: [] + }; +} + +export const FieldMask = { + encode(message: FieldMask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.paths) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldMask { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldMask(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FieldMask { + return { + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: FieldMask): unknown { + const obj: any = {}; + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): FieldMask { + const message = createBaseFieldMask(); + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/struct.ts b/examples/telescope/codegen/google/protobuf/struct.ts new file mode 100644 index 000000000..a77781660 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/struct.ts @@ -0,0 +1,428 @@ +//@ts-nocheck +import * as _m0 from "protobufjs/minimal"; +import { isSet, isObject } from "@osmonauts/helpers"; + +/** + * `NullValue` is a singleton enumeration to represent the null value for the + * `Value` type union. + * + * The JSON representation for `NullValue` is JSON `null`. + */ +export enum NullValue { + /** NULL_VALUE - Null value. */ + NULL_VALUE = 0, + UNRECOGNIZED = -1, +} +export function nullValueFromJSON(object: any): NullValue { + switch (object) { + case 0: + case "NULL_VALUE": + return NullValue.NULL_VALUE; + + case -1: + case "UNRECOGNIZED": + default: + return NullValue.UNRECOGNIZED; + } +} +export function nullValueToJSON(object: NullValue): string { + switch (object) { + case NullValue.NULL_VALUE: + return "NULL_VALUE"; + + default: + return "UNKNOWN"; + } +} +export interface Struct_FieldsEntry { + key: string; + value: Value | undefined; +} + +/** + * `Struct` represents a structured data value, consisting of fields + * which map to dynamically typed values. In some languages, `Struct` + * might be supported by a native representation. For example, in + * scripting languages like JS a struct is represented as an + * object. The details of that representation are described together + * with the proto support for the language. + * + * The JSON representation for `Struct` is JSON object. + */ +export interface Struct { + /** Unordered map of dynamically typed values. */ + fields: { + [key: string]: Value | undefined; + }; +} + +/** + * `Value` represents a dynamically typed value which can be either + * null, a number, a string, a boolean, a recursive struct value, or a + * list of values. A producer of value is expected to set one of that + * variants, absence of any variant indicates an error. + * + * The JSON representation for `Value` is JSON value. + */ +export interface Value { + /** Represents a null value. */ + nullValue?: NullValue; + + /** Represents a double value. */ + numberValue?: number; + + /** Represents a string value. */ + stringValue?: string; + + /** Represents a boolean value. */ + boolValue?: boolean; + + /** Represents a structured value. */ + structValue?: Struct | undefined; + + /** Represents a repeated `Value`. */ + listValue?: ListValue | undefined; +} + +/** + * `ListValue` is a wrapper around a repeated field of values. + * + * The JSON representation for `ListValue` is JSON array. + */ +export interface ListValue { + /** Repeated field of dynamically typed values. */ + values: Value[]; +} + +function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { + return { + key: "", + value: undefined + }; +} + +export const Struct_FieldsEntry = { + encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== undefined) { + Value.encode(message.value, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStruct_FieldsEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = Value.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Struct_FieldsEntry { + return { + key: isSet(object.key) ? String(object.key) : "", + value: isSet(object.value) ? Value.fromJSON(object.value) : undefined + }; + }, + + toJSON(message: Struct_FieldsEntry): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = message.key); + message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); + return obj; + }, + + fromPartial(object: Partial): Struct_FieldsEntry { + const message = createBaseStruct_FieldsEntry(); + message.key = object.key ?? ""; + message.value = object.value !== undefined && object.value !== null ? Value.fromPartial(object.value) : undefined; + return message; + } + +}; + +function createBaseStruct(): Struct { + return { + fields: {} + }; +} + +export const Struct = { + encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + Object.entries(message.fields).forEach(([key, value]) => { + Struct_FieldsEntry.encode({ + key: (key as any), + value + }, writer.uint32(10).fork()).ldelim(); + }); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Struct { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStruct(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32()); + + if (entry1.value !== undefined) { + message.fields[entry1.key] = entry1.value; + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Struct { + return { + fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ + [key: string]: Value; + }>((acc, [key, value]) => { + acc[key] = Value.fromJSON(value); + return acc; + }, {}) : {} + }; + }, + + toJSON(message: Struct): unknown { + const obj: any = {}; + obj.fields = {}; + + if (message.fields) { + Object.entries(message.fields).forEach(([k, v]) => { + obj.fields[k] = Value.toJSON(v); + }); + } + + return obj; + }, + + fromPartial(object: Partial): Struct { + const message = createBaseStruct(); + message.fields = Object.entries(object.fields ?? {}).reduce<{ + [key: string]: Value; + }>((acc, [key, value]) => { + if (value !== undefined) { + acc[key] = Value.fromPartial(value); + } + + return acc; + }, {}); + return message; + } + +}; + +function createBaseValue(): Value { + return { + nullValue: undefined, + numberValue: undefined, + stringValue: undefined, + boolValue: undefined, + structValue: undefined, + listValue: undefined + }; +} + +export const Value = { + encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nullValue !== undefined) { + writer.uint32(8).int32(message.nullValue); + } + + if (message.numberValue !== undefined) { + writer.uint32(17).double(message.numberValue); + } + + if (message.stringValue !== undefined) { + writer.uint32(26).string(message.stringValue); + } + + if (message.boolValue !== undefined) { + writer.uint32(32).bool(message.boolValue); + } + + if (message.structValue !== undefined) { + Struct.encode(message.structValue, writer.uint32(42).fork()).ldelim(); + } + + if (message.listValue !== undefined) { + ListValue.encode(message.listValue, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nullValue = (reader.int32() as any); + break; + + case 2: + message.numberValue = reader.double(); + break; + + case 3: + message.stringValue = reader.string(); + break; + + case 4: + message.boolValue = reader.bool(); + break; + + case 5: + message.structValue = Struct.decode(reader, reader.uint32()); + break; + + case 6: + message.listValue = ListValue.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Value { + return { + nullValue: isSet(object.nullValue) ? nullValueFromJSON(object.nullValue) : undefined, + numberValue: isSet(object.numberValue) ? Number(object.numberValue) : undefined, + stringValue: isSet(object.stringValue) ? String(object.stringValue) : undefined, + boolValue: isSet(object.boolValue) ? Boolean(object.boolValue) : undefined, + structValue: isSet(object.structValue) ? Struct.fromJSON(object.structValue) : undefined, + listValue: isSet(object.listValue) ? ListValue.fromJSON(object.listValue) : undefined + }; + }, + + toJSON(message: Value): unknown { + const obj: any = {}; + message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); + message.numberValue !== undefined && (obj.numberValue = message.numberValue); + message.stringValue !== undefined && (obj.stringValue = message.stringValue); + message.boolValue !== undefined && (obj.boolValue = message.boolValue); + message.structValue !== undefined && (obj.structValue = message.structValue ? Struct.toJSON(message.structValue) : undefined); + message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); + return obj; + }, + + fromPartial(object: Partial): Value { + const message = createBaseValue(); + message.nullValue = object.nullValue ?? undefined; + message.numberValue = object.numberValue ?? undefined; + message.stringValue = object.stringValue ?? undefined; + message.boolValue = object.boolValue ?? undefined; + message.structValue = object.structValue !== undefined && object.structValue !== null ? Struct.fromPartial(object.structValue) : undefined; + message.listValue = object.listValue !== undefined && object.listValue !== null ? ListValue.fromPartial(object.listValue) : undefined; + return message; + } + +}; + +function createBaseListValue(): ListValue { + return { + values: [] + }; +} + +export const ListValue = { + encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.values) { + Value.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseListValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.values.push(Value.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ListValue { + return { + values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromJSON(e)) : [] + }; + }, + + toJSON(message: ListValue): unknown { + const obj: any = {}; + + if (message.values) { + obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); + } else { + obj.values = []; + } + + return obj; + }, + + fromPartial(object: Partial): ListValue { + const message = createBaseListValue(); + message.values = object.values?.map(e => Value.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/timestamp.ts b/examples/telescope/codegen/google/protobuf/timestamp.ts new file mode 100644 index 000000000..4811fdd08 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/timestamp.ts @@ -0,0 +1,172 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/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 + * 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; +} + +function createBaseTimestamp(): Timestamp { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Timestamp = { + encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestamp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Timestamp { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; + }, + + toJSON(message: Timestamp): unknown { + const obj: any = {}; + message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/wrappers.ts b/examples/telescope/codegen/google/protobuf/wrappers.ts new file mode 100644 index 000000000..5ded8df66 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/wrappers.ts @@ -0,0 +1,605 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * Wrapper message for `double`. + * + * The JSON representation for `DoubleValue` is JSON number. + */ +export interface DoubleValue { + /** The double value. */ + value: number; +} + +/** + * Wrapper message for `float`. + * + * The JSON representation for `FloatValue` is JSON number. + */ +export interface FloatValue { + /** The float value. */ + value: number; +} + +/** + * Wrapper message for `int64`. + * + * The JSON representation for `Int64Value` is JSON string. + */ +export interface Int64Value { + /** The int64 value. */ + value: Long; +} + +/** + * Wrapper message for `uint64`. + * + * The JSON representation for `UInt64Value` is JSON string. + */ +export interface UInt64Value { + /** The uint64 value. */ + value: Long; +} + +/** + * Wrapper message for `int32`. + * + * The JSON representation for `Int32Value` is JSON number. + */ +export interface Int32Value { + /** The int32 value. */ + value: number; +} + +/** + * Wrapper message for `uint32`. + * + * The JSON representation for `UInt32Value` is JSON number. + */ +export interface UInt32Value { + /** The uint32 value. */ + value: number; +} + +/** + * Wrapper message for `bool`. + * + * The JSON representation for `BoolValue` is JSON `true` and `false`. + */ +export interface BoolValue { + /** The bool value. */ + value: boolean; +} + +/** + * Wrapper message for `string`. + * + * The JSON representation for `StringValue` is JSON string. + */ +export interface StringValue { + /** The string value. */ + value: string; +} + +/** + * Wrapper message for `bytes`. + * + * The JSON representation for `BytesValue` is JSON string. + */ +export interface BytesValue { + /** The bytes value. */ + value: Uint8Array; +} + +function createBaseDoubleValue(): DoubleValue { + return { + value: 0 + }; +} + +export const DoubleValue = { + encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(9).double(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDoubleValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.double(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): DoubleValue { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: DoubleValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): DoubleValue { + const message = createBaseDoubleValue(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseFloatValue(): FloatValue { + return { + value: 0 + }; +} + +export const FloatValue = { + encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(13).float(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFloatValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.float(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): FloatValue { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: FloatValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): FloatValue { + const message = createBaseFloatValue(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseInt64Value(): Int64Value { + return { + value: Long.ZERO + }; +} + +export const Int64Value = { + encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.value.isZero()) { + writer.uint32(8).int64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInt64Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Int64Value { + return { + value: isSet(object.value) ? Long.fromString(object.value) : Long.ZERO + }; + }, + + toJSON(message: Int64Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Int64Value { + const message = createBaseInt64Value(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; + return message; + } + +}; + +function createBaseUInt64Value(): UInt64Value { + return { + value: Long.UZERO + }; +} + +export const UInt64Value = { + encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.value.isZero()) { + writer.uint32(8).uint64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUInt64Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UInt64Value { + return { + value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO + }; + }, + + toJSON(message: UInt64Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): UInt64Value { + const message = createBaseUInt64Value(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; + return message; + } + +}; + +function createBaseInt32Value(): Int32Value { + return { + value: 0 + }; +} + +export const Int32Value = { + encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).int32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInt32Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Int32Value { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: Int32Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = Math.round(message.value)); + return obj; + }, + + fromPartial(object: Partial): Int32Value { + const message = createBaseInt32Value(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseUInt32Value(): UInt32Value { + return { + value: 0 + }; +} + +export const UInt32Value = { + encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).uint32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUInt32Value(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): UInt32Value { + return { + value: isSet(object.value) ? Number(object.value) : 0 + }; + }, + + toJSON(message: UInt32Value): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = Math.round(message.value)); + return obj; + }, + + fromPartial(object: Partial): UInt32Value { + const message = createBaseUInt32Value(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseBoolValue(): BoolValue { + return { + value: false + }; +} + +export const BoolValue = { + encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value === true) { + writer.uint32(8).bool(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBoolValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BoolValue { + return { + value: isSet(object.value) ? Boolean(object.value) : false + }; + }, + + toJSON(message: BoolValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): BoolValue { + const message = createBaseBoolValue(); + message.value = object.value ?? false; + return message; + } + +}; + +function createBaseStringValue(): StringValue { + return { + value: "" + }; +} + +export const StringValue = { + encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== "") { + writer.uint32(10).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StringValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStringValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): StringValue { + return { + value: isSet(object.value) ? String(object.value) : "" + }; + }, + + toJSON(message: StringValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): StringValue { + const message = createBaseStringValue(); + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseBytesValue(): BytesValue { + return { + value: new Uint8Array() + }; +} + +export const BytesValue = { + encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value.length !== 0) { + writer.uint32(10).bytes(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBytesValue(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BytesValue { + return { + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() + }; + }, + + toJSON(message: BytesValue): unknown { + const obj: any = {}; + message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): BytesValue { + const message = createBaseBytesValue(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts new file mode 100644 index 000000000..196f933c0 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts @@ -0,0 +1,97 @@ +import { DenomTrace, Params } from "./transfer"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc-transfer genesis state */ +export interface GenesisState { + portId: string; + denomTraces: DenomTrace[]; + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + portId: "", + denomTraces: [], + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.portId = reader.string(); + break; + + case 2: + message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); + break; + + case 3: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts new file mode 100644 index 000000000..5f73eaa31 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -0,0 +1,45 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* DenomTrace queries a denomination trace information. */ + async denomTrace(params: QueryDenomTraceRequest): Promise { + const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; + return await this.request(endpoint); + } + + /* DenomTraces queries all denomination traces. */ + async denomTraces(params: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/apps/transfer/v1/denom_traces`; + return await this.request(endpoint, options); + } + + /* Params queries all parameters of the ibc-transfer module. */ + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `ibc/apps/transfer/v1/params`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts new file mode 100644 index 000000000..e68f597a6 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -0,0 +1,47 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + denomTrace(request: QueryDenomTraceRequest): Promise; + /*DenomTrace queries a denomination trace information.*/ + + denomTraces(request: QueryDenomTracesRequest): Promise; + /*DenomTraces queries all denomination traces.*/ + + params(request: QueryParamsRequest): Promise; + /*Params queries all parameters of the ibc-transfer module.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); + } + + denomTrace(request: QueryDenomTraceRequest): Promise { + const data = QueryDenomTraceRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); + return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); + } + + denomTraces(request: QueryDenomTracesRequest): Promise { + const data = QueryDenomTracesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); + return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts new file mode 100644 index 000000000..8ee45701e --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts @@ -0,0 +1,398 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, Params } from "./transfer"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC + * method + */ +export interface QueryDenomTraceRequest { + /** hash (in hex format) of the denomination trace information. */ + 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 | undefined; +} + +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ +export interface QueryDenomTracesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequest {} + +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { + return { + hash: "" + }; +} + +export const QueryDenomTraceRequest = { + encode(message: QueryDenomTraceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { + return { + denomTrace: undefined + }; +} + +export const QueryDenomTraceResponse = { + encode(message: QueryDenomTraceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denomTrace !== undefined) { + DenomTrace.encode(message.denomTrace, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTrace = DenomTrace.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomTracesRequest = { + encode(message: QueryDenomTracesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { + return { + denomTraces: [], + pagination: undefined + }; +} + +export const QueryDenomTracesResponse = { + encode(message: QueryDenomTracesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTraces.push(DenomTrace.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts new file mode 100644 index 000000000..dffc2bc1f --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts @@ -0,0 +1,175 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBaseDenomTrace(): DenomTrace { + return { + path: "", + baseDenom: "" + }; +} + +export const DenomTrace = { + encode(message: DenomTrace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== "") { + writer.uint32(10).string(message.path); + } + + if (message.baseDenom !== "") { + writer.uint32(18).string(message.baseDenom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomTrace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.string(); + break; + + case 2: + message.baseDenom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.baseDenom = object.baseDenom ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + sendEnabled: false, + receiveEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sendEnabled === true) { + writer.uint32(8).bool(message.sendEnabled); + } + + if (message.receiveEnabled === true) { + writer.uint32(16).bool(message.receiveEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled = reader.bool(); + break; + + case 2: + message.receiveEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.receiveEnabled = object.receiveEnabled ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts new file mode 100644 index 000000000..8037a781f --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -0,0 +1,75 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { MsgTransfer } from "./tx"; +export interface AminoMsgTransfer extends AminoMsg { + type: "cosmos-sdk/MsgTransfer"; + value: { + source_port: string; + source_channel: string; + token: { + denom: string; + amount: string; + }; + sender: string; + receiver: string; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; +} +export const AminoConverter = { + "/ibc.applications.transfer.v1.MsgTransfer": { + aminoType: "cosmos-sdk/MsgTransfer", + toAmino: ({ + sourcePort, + sourceChannel, + token, + sender, + receiver, + timeoutHeight, + timeoutTimestamp + }: MsgTransfer): AminoMsgTransfer["value"] => { + return { + source_port: sourcePort, + source_channel: sourceChannel, + token: { + denom: token.denom, + amount: Long.fromNumber(token.amount).toString() + }, + sender, + receiver, + timeout_height: timeoutHeight ? { + revision_height: omitDefault(timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: timeoutTimestamp.toString() + }; + }, + fromAmino: ({ + source_port, + source_channel, + token, + sender, + receiver, + timeout_height, + timeout_timestamp + }: AminoMsgTransfer["value"]): MsgTransfer => { + return { + sourcePort: source_port, + sourceChannel: source_channel, + token: { + denom: token.denom, + amount: token.amount + }, + sender, + receiver, + timeoutHeight: timeout_height ? { + revisionHeight: Long.fromString(timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(timeout_timestamp) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts new file mode 100644 index 000000000..e73ca6283 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts @@ -0,0 +1,57 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgTransfer } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.encode(value).finish() + }; + } + + }, + withTypeUrl: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value + }; + } + + }, + 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 { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..cae05171e --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgTransfer, MsgTransferResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + transfer(request: MsgTransfer): Promise; + /*Transfer defines a rpc handler method for MsgTransfer.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.transfer = this.transfer.bind(this); + } + + transfer(request: MsgTransfer): Promise { + const data = MsgTransfer.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); + return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts new file mode 100644 index 000000000..75c874f76 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts @@ -0,0 +1,213 @@ +import { Coin } from "../../../../cosmos/base/v1beta1/coin"; +import { Height } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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 | undefined; + + /** 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 | undefined; + + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeoutTimestamp: Long; +} + +/** MsgTransferResponse defines the Msg/Transfer response type. */ +export interface MsgTransferResponse {} + +function createBaseMsgTransfer(): MsgTransfer { + return { + sourcePort: "", + sourceChannel: "", + token: undefined, + sender: "", + receiver: "", + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const MsgTransfer = { + encode(message: MsgTransfer, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sourcePort !== "") { + writer.uint32(10).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(18).string(message.sourceChannel); + } + + if (message.token !== undefined) { + Coin.encode(message.token, writer.uint32(26).fork()).ldelim(); + } + + if (message.sender !== "") { + writer.uint32(34).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(42).string(message.receiver); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(50).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(56).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransfer(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sourcePort = reader.string(); + break; + + case 2: + message.sourceChannel = reader.string(); + break; + + case 3: + message.token = Coin.decode(reader, reader.uint32()); + break; + + case 4: + message.sender = reader.string(); + break; + + case 5: + message.receiver = reader.string(); + break; + + case 6: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): MsgTransfer { + const message = createBaseMsgTransfer(); + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.token = object.token !== undefined && object.token !== null ? Coin.fromPartial(object.token) : undefined; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgTransferResponse(): MsgTransferResponse { + return {}; +} + +export const MsgTransferResponse = { + encode(_: MsgTransferResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransferResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTransferResponse { + return {}; + }, + + toJSON(_: MsgTransferResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTransferResponse { + const message = createBaseMsgTransferResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts new file mode 100644 index 000000000..6e7cebfa0 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts @@ -0,0 +1,114 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ +export interface FungibleTokenPacketData { + /** the token denomination to be transferred */ + denom: string; + + /** the token amount to be transferred */ + amount: string; + + /** the sender address */ + sender: string; + + /** the recipient address on the destination chain */ + receiver: string; +} + +function createBaseFungibleTokenPacketData(): FungibleTokenPacketData { + return { + denom: "", + amount: "", + sender: "", + receiver: "" + }; +} + +export const FungibleTokenPacketData = { + encode(message: FungibleTokenPacketData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(34).string(message.receiver); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FungibleTokenPacketData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFungibleTokenPacketData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = 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): FungibleTokenPacketData { + return { + denom: isSet(object.denom) ? String(object.denom) : "", + amount: isSet(object.amount) ? String(object.amount) : "", + sender: isSet(object.sender) ? String(object.sender) : "", + receiver: isSet(object.receiver) ? String(object.receiver) : "" + }; + }, + + toJSON(message: FungibleTokenPacketData): unknown { + const obj: any = {}; + message.denom !== undefined && (obj.denom = message.denom); + message.amount !== undefined && (obj.amount = message.amount); + message.sender !== undefined && (obj.sender = message.sender); + message.receiver !== undefined && (obj.receiver = message.receiver); + return obj; + }, + + fromPartial(object: Partial): FungibleTokenPacketData { + const message = createBaseFungibleTokenPacketData(); + message.denom = object.denom ?? ""; + message.amount = object.amount ?? ""; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/bundle.ts b/examples/telescope/codegen/ibc/bundle.ts new file mode 100644 index 000000000..f9f3adb5c --- /dev/null +++ b/examples/telescope/codegen/ibc/bundle.ts @@ -0,0 +1,137 @@ +import * as _111 from "./applications/transfer/v1/genesis"; +import * as _112 from "./applications/transfer/v1/query"; +import * as _113 from "./applications/transfer/v1/transfer"; +import * as _114 from "./applications/transfer/v1/tx"; +import * as _115 from "./applications/transfer/v2/packet"; +import * as _116 from "./core/channel/v1/channel"; +import * as _117 from "./core/channel/v1/genesis"; +import * as _118 from "./core/channel/v1/query"; +import * as _119 from "./core/channel/v1/tx"; +import * as _120 from "./core/client/v1/client"; +import * as _121 from "./core/client/v1/genesis"; +import * as _122 from "./core/client/v1/query"; +import * as _123 from "./core/client/v1/tx"; +import * as _124 from "./core/commitment/v1/commitment"; +import * as _125 from "./core/connection/v1/connection"; +import * as _126 from "./core/connection/v1/genesis"; +import * as _127 from "./core/connection/v1/query"; +import * as _128 from "./core/connection/v1/tx"; +import * as _129 from "./core/port/v1/query"; +import * as _130 from "./core/types/v1/genesis"; +import * as _131 from "./lightclients/localhost/v1/localhost"; +import * as _132 from "./lightclients/solomachine/v1/solomachine"; +import * as _133 from "./lightclients/solomachine/v2/solomachine"; +import * as _134 from "./lightclients/tendermint/v1/tendermint"; +import * as _226 from "./applications/transfer/v1/tx.amino"; +import * as _227 from "./core/channel/v1/tx.amino"; +import * as _228 from "./core/client/v1/tx.amino"; +import * as _229 from "./core/connection/v1/tx.amino"; +import * as _230 from "./applications/transfer/v1/tx.registry"; +import * as _231 from "./core/channel/v1/tx.registry"; +import * as _232 from "./core/client/v1/tx.registry"; +import * as _233 from "./core/connection/v1/tx.registry"; +import * as _234 from "./applications/transfer/v1/query.lcd"; +import * as _235 from "./core/channel/v1/query.lcd"; +import * as _236 from "./core/client/v1/query.lcd"; +import * as _237 from "./core/connection/v1/query.lcd"; +import * as _238 from "./applications/transfer/v1/query.rpc.query"; +import * as _239 from "./core/channel/v1/query.rpc.query"; +import * as _240 from "./core/client/v1/query.rpc.query"; +import * as _241 from "./core/connection/v1/query.rpc.query"; +import * as _242 from "./core/port/v1/query.rpc.query"; +import * as _243 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _244 from "./core/channel/v1/tx.rpc.msg"; +import * as _245 from "./core/client/v1/tx.rpc.msg"; +import * as _246 from "./core/connection/v1/tx.rpc.msg"; +import * as _253 from "./lcd"; +import * as _254 from "./rpc.query"; +import * as _255 from "./rpc.tx"; +export namespace ibc { + export namespace applications { + export namespace transfer { + export const v1 = { ..._111, + ..._112, + ..._113, + ..._114, + ..._226, + ..._230, + ..._234, + ..._238, + ..._243 + }; + export const v2 = { ..._115 + }; + } + } + export namespace core { + export namespace channel { + export const v1 = { ..._116, + ..._117, + ..._118, + ..._119, + ..._227, + ..._231, + ..._235, + ..._239, + ..._244 + }; + } + export namespace client { + export const v1 = { ..._120, + ..._121, + ..._122, + ..._123, + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 + }; + } + export namespace commitment { + export const v1 = { ..._124 + }; + } + export namespace connection { + export const v1 = { ..._125, + ..._126, + ..._127, + ..._128, + ..._229, + ..._233, + ..._237, + ..._241, + ..._246 + }; + } + export namespace port { + export const v1 = { ..._129, + ..._242 + }; + } + export namespace types { + export const v1 = { ..._130 + }; + } + } + export namespace lightclients { + export namespace localhost { + export const v1 = { ..._131 + }; + } + export namespace solomachine { + export const v1 = { ..._132 + }; + export const v2 = { ..._133 + }; + } + export namespace tendermint { + export const v1 = { ..._134 + }; + } + } + export const ClientFactory = { ..._253, + ..._254, + ..._255 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/client.ts b/examples/telescope/codegen/ibc/client.ts new file mode 100644 index 000000000..4c4240336 --- /dev/null +++ b/examples/telescope/codegen/ibc/client.ts @@ -0,0 +1,50 @@ +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import * as ibcApplicationsTransferV1TxRegistry from "./applications/transfer/v1/tx.registry"; +import * as ibcCoreChannelV1TxRegistry from "./core/channel/v1/tx.registry"; +import * as ibcCoreClientV1TxRegistry from "./core/client/v1/tx.registry"; +import * as ibcCoreConnectionV1TxRegistry from "./core/connection/v1/tx.registry"; +import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx.amino"; +import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; +import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; +import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; +export const getSigningIbcClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]); + const aminoTypes = new AminoTypes({ ...ibcApplicationsTransferV1TxAmino.AminoConverter, + ...ibcCoreChannelV1TxAmino.AminoConverter, + ...ibcCoreClientV1TxAmino.AminoConverter, + ...ibcCoreConnectionV1TxAmino.AminoConverter + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningIbcClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningIbcClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts new file mode 100644 index 000000000..586ca377a --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts @@ -0,0 +1,878 @@ +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case 4: + case "STATE_CLOSED": + return State.STATE_CLOSED; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + case State.STATE_CLOSED: + return "STATE_CLOSED"; + + default: + return "UNKNOWN"; + } +} + +/** Order defines if a channel is ORDERED or UNORDERED */ +export enum Order { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} +export function orderFromJSON(object: any): Order { + switch (object) { + case 0: + case "ORDER_NONE_UNSPECIFIED": + return Order.ORDER_NONE_UNSPECIFIED; + + case 1: + case "ORDER_UNORDERED": + return Order.ORDER_UNORDERED; + + case 2: + case "ORDER_ORDERED": + return Order.ORDER_ORDERED; + + case -1: + case "UNRECOGNIZED": + default: + return Order.UNRECOGNIZED; + } +} +export function orderToJSON(object: Order): string { + switch (object) { + case Order.ORDER_NONE_UNSPECIFIED: + return "ORDER_NONE_UNSPECIFIED"; + + case Order.ORDER_UNORDERED: + return "ORDER_UNORDERED"; + + case Order.ORDER_ORDERED: + return "ORDER_ORDERED"; + + default: + return "UNKNOWN"; + } +} + +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ +export interface Channel { + /** current state of the channel end */ + state: State; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + connectionHops: string[]; + + /** opaque channel version, which is agreed upon during the handshake */ + version: string; +} + +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ +export interface IdentifiedChannel { + /** current state of the channel end */ + state: State; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + connectionHops: string[]; + + /** opaque channel version, which is agreed upon during the handshake */ + version: string; + + /** port identifier */ + portId: string; + + /** channel identifier */ + channelId: string; +} + +/** Counterparty defines a channel end counterparty */ +export interface Counterparty { + /** port on the counterparty chain which owns the other end of the channel. */ + portId: string; + + /** channel end on the counterparty chain */ + channelId: string; +} + +/** Packet defines a type that carries data across different chains through IBC */ +export interface Packet { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + + /** identifies the port on the sending chain. */ + sourcePort: string; + + /** identifies the channel end on the sending chain. */ + sourceChannel: string; + + /** identifies the port on the receiving chain. */ + destinationPort: string; + + /** identifies the channel end on the receiving chain. */ + destinationChannel: string; + + /** actual opaque bytes transferred directly to the application module */ + data: Uint8Array; + + /** block height after which the packet times out */ + timeoutHeight: Height | undefined; + + /** block timestamp (in nanoseconds) after which the packet times out */ + timeoutTimestamp: Long; +} + +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ +export interface PacketState { + /** channel port identifier. */ + portId: string; + + /** channel unique identifier. */ + channelId: string; + + /** packet sequence. */ + sequence: Long; + + /** embedded data that represents packet state. */ + data: Uint8Array; +} + +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ +export interface Acknowledgement { + result?: Uint8Array; + error?: string; +} + +function createBaseChannel(): Channel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "" + }; +} + +export const Channel = { + encode(message: Channel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Channel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Channel { + return { + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], + version: isSet(object.version) ? String(object.version) : "" + }; + }, + + toJSON(message: Channel): unknown { + const obj: any = {}; + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + + if (message.connectionHops) { + obj.connectionHops = message.connectionHops.map(e => e); + } else { + obj.connectionHops = []; + } + + message.version !== undefined && (obj.version = message.version); + return obj; + }, + + fromPartial(object: Partial): Channel { + const message = createBaseChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + return message; + } + +}; + +function createBaseIdentifiedChannel(): IdentifiedChannel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "", + portId: "", + channelId: "" + }; +} + +export const IdentifiedChannel = { + encode(message: IdentifiedChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.portId !== "") { + writer.uint32(50).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(58).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.portId = reader.string(); + break; + + case 7: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): IdentifiedChannel { + return { + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], + version: isSet(object.version) ? String(object.version) : "", + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: IdentifiedChannel): unknown { + const obj: any = {}; + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + + if (message.connectionHops) { + obj.connectionHops = message.connectionHops.map(e => e); + } else { + obj.connectionHops = []; + } + + message.version !== undefined && (obj.version = message.version); + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): IdentifiedChannel { + const message = createBaseIdentifiedChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + portId: "", + channelId: "" + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Counterparty { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: Counterparty): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBasePacket(): Packet { + return { + sequence: Long.UZERO, + sourcePort: "", + sourceChannel: "", + destinationPort: "", + destinationChannel: "", + data: new Uint8Array(), + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const Packet = { + encode(message: Packet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.sourcePort !== "") { + writer.uint32(18).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(26).string(message.sourceChannel); + } + + if (message.destinationPort !== "") { + writer.uint32(34).string(message.destinationPort); + } + + if (message.destinationChannel !== "") { + writer.uint32(42).string(message.destinationChannel); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(58).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(64).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Packet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.sourcePort = reader.string(); + break; + + case 3: + message.sourceChannel = reader.string(); + break; + + case 4: + message.destinationPort = reader.string(); + break; + + case 5: + message.destinationChannel = reader.string(); + break; + + case 6: + message.data = reader.bytes(); + break; + + case 7: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Packet { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + sourcePort: isSet(object.sourcePort) ? String(object.sourcePort) : "", + sourceChannel: isSet(object.sourceChannel) ? String(object.sourceChannel) : "", + destinationPort: isSet(object.destinationPort) ? String(object.destinationPort) : "", + destinationChannel: isSet(object.destinationChannel) ? String(object.destinationChannel) : "", + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined, + timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO + }; + }, + + toJSON(message: Packet): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.sourcePort !== undefined && (obj.sourcePort = message.sourcePort); + message.sourceChannel !== undefined && (obj.sourceChannel = message.sourceChannel); + message.destinationPort !== undefined && (obj.destinationPort = message.destinationPort); + message.destinationChannel !== undefined && (obj.destinationChannel = message.destinationChannel); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timeoutHeight !== undefined && (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined); + message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Packet { + const message = createBasePacket(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.destinationPort = object.destinationPort ?? ""; + message.destinationChannel = object.destinationChannel ?? ""; + message.data = object.data ?? new Uint8Array(); + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBasePacketState(): PacketState { + return { + portId: "", + channelId: "", + sequence: Long.UZERO, + data: new Uint8Array() + }; +} + +export const PacketState = { + encode(message: PacketState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + if (message.data.length !== 0) { + writer.uint32(34).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + case 4: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketState { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: PacketState): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketState { + const message = createBasePacketState(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAcknowledgement(): Acknowledgement { + return { + result: undefined, + error: undefined + }; +} + +export const Acknowledgement = { + encode(message: Acknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== undefined) { + writer.uint32(170).bytes(message.result); + } + + if (message.error !== undefined) { + writer.uint32(178).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 21: + message.result = reader.bytes(); + break; + + case 22: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Acknowledgement { + return { + result: isSet(object.result) ? bytesFromBase64(object.result) : undefined, + error: isSet(object.error) ? String(object.error) : undefined + }; + }, + + toJSON(message: Acknowledgement): unknown { + const obj: any = {}; + message.result !== undefined && (obj.result = message.result !== undefined ? base64FromBytes(message.result) : undefined); + message.error !== undefined && (obj.error = message.error); + return obj; + }, + + fromPartial(object: Partial): Acknowledgement { + const message = createBaseAcknowledgement(); + message.result = object.result ?? undefined; + message.error = object.error ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts new file mode 100644 index 000000000..54ddd91a8 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts @@ -0,0 +1,285 @@ +import { IdentifiedChannel, PacketState } from "./channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc channel submodule's genesis state. */ +export interface GenesisState { + channels: IdentifiedChannel[]; + acknowledgements: PacketState[]; + commitments: PacketState[]; + receipts: PacketState[]; + sendSequences: PacketSequence[]; + recvSequences: PacketSequence[]; + ackSequences: PacketSequence[]; + + /** the sequence for the next generated channel identifier */ + nextChannelSequence: Long; +} + +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ +export interface PacketSequence { + portId: string; + channelId: string; + sequence: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + channels: [], + acknowledgements: [], + commitments: [], + receipts: [], + sendSequences: [], + recvSequences: [], + ackSequences: [], + nextChannelSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.receipts) { + PacketState.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.sendSequences) { + PacketSequence.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.recvSequences) { + PacketSequence.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.ackSequences) { + PacketSequence.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (!message.nextChannelSequence.isZero()) { + writer.uint32(64).uint64(message.nextChannelSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 3: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 4: + message.receipts.push(PacketState.decode(reader, reader.uint32())); + break; + + case 5: + message.sendSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 6: + message.recvSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 7: + message.ackSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 8: + message.nextChannelSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], + commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], + receipts: Array.isArray(object?.receipts) ? object.receipts.map((e: any) => PacketState.fromJSON(e)) : [], + sendSequences: Array.isArray(object?.sendSequences) ? object.sendSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + recvSequences: Array.isArray(object?.recvSequences) ? object.recvSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + ackSequences: Array.isArray(object?.ackSequences) ? object.ackSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], + nextChannelSequence: isSet(object.nextChannelSequence) ? Long.fromString(object.nextChannelSequence) : Long.UZERO + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + if (message.acknowledgements) { + obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.acknowledgements = []; + } + + if (message.commitments) { + obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.commitments = []; + } + + if (message.receipts) { + obj.receipts = message.receipts.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.receipts = []; + } + + if (message.sendSequences) { + obj.sendSequences = message.sendSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.sendSequences = []; + } + + if (message.recvSequences) { + obj.recvSequences = message.recvSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.recvSequences = []; + } + + if (message.ackSequences) { + obj.ackSequences = message.ackSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); + } else { + obj.ackSequences = []; + } + + message.nextChannelSequence !== undefined && (obj.nextChannelSequence = (message.nextChannelSequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.receipts = object.receipts?.map(e => PacketState.fromPartial(e)) || []; + message.sendSequences = object.sendSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.recvSequences = object.recvSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.ackSequences = object.ackSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.nextChannelSequence = object.nextChannelSequence !== undefined && object.nextChannelSequence !== null ? Long.fromValue(object.nextChannelSequence) : Long.UZERO; + return message; + } + +}; + +function createBasePacketSequence(): PacketSequence { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const PacketSequence = { + encode(message: PacketSequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketSequence { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: PacketSequence): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): PacketSequence { + const message = createBasePacketSequence(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts new file mode 100644 index 000000000..aac189cc6 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts @@ -0,0 +1,143 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Channel queries an IBC Channel. */ + async channel(params: QueryChannelRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; + return await this.request(endpoint); + } + + /* Channels queries all the IBC channels of a chain. */ + async channels(params: QueryChannelsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels`; + return await this.request(endpoint, options); + } + + /* ConnectionChannels queries all the channels associated with a connection + end. */ + async connectionChannels(params: QueryConnectionChannelsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; + return await this.request(endpoint, options); + } + + /* ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. */ + async channelClientState(params: QueryChannelClientStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; + return await this.request(endpoint); + } + + /* ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. */ + async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint); + } + + /* PacketCommitment queries a stored packet commitment hash. */ + async packetCommitment(params: QueryPacketCommitmentRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; + return await this.request(endpoint); + } + + /* PacketCommitments returns all the packet commitments hashes associated + with a channel. */ + async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; + return await this.request(endpoint, options); + } + + /* PacketReceipt queries if a given packet sequence has been received on the + queried chain */ + async packetReceipt(params: QueryPacketReceiptRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; + return await this.request(endpoint); + } + + /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ + async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; + return await this.request(endpoint); + } + + /* PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. */ + async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.packetCommitmentSequences !== "undefined") { + options.params.packet_commitment_sequences = params.packetCommitmentSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; + return await this.request(endpoint, options); + } + + /* UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. */ + async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; + return await this.request(endpoint); + } + + /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. */ + async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; + return await this.request(endpoint); + } + + /* NextSequenceReceive returns the next receive sequence for a given channel. */ + async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts new file mode 100644 index 000000000..1e3ec7ac1 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -0,0 +1,157 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + channel(request: QueryChannelRequest): Promise; + /*Channel queries an IBC Channel.*/ + + channels(request: QueryChannelsRequest): Promise; + /*Channels queries all the IBC channels of a chain.*/ + + connectionChannels(request: QueryConnectionChannelsRequest): Promise; + /*ConnectionChannels queries all the channels associated with a connection + end.*/ + + channelClientState(request: QueryChannelClientStateRequest): Promise; + /*ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers.*/ + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + /*ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers.*/ + + packetCommitment(request: QueryPacketCommitmentRequest): Promise; + /*PacketCommitment queries a stored packet commitment hash.*/ + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + /*PacketCommitments returns all the packet commitments hashes associated + with a channel.*/ + + packetReceipt(request: QueryPacketReceiptRequest): Promise; + /*PacketReceipt queries if a given packet sequence has been received on the + queried chain*/ + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + /*PacketAcknowledgements returns all the packet acknowledgements associated + with a channel.*/ + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + /*UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences.*/ + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences.*/ + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; + /*NextSequenceReceive returns the next receive sequence for a given channel.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); + } + + channel(request: QueryChannelRequest): Promise { + const data = QueryChannelRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); + return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); + } + + channels(request: QueryChannelsRequest): Promise { + const data = QueryChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); + return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); + } + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + const data = QueryConnectionChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); + return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); + } + + channelClientState(request: QueryChannelClientStateRequest): Promise { + const data = QueryChannelClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); + return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); + } + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + const data = QueryChannelConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); + return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); + } + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + const data = QueryPacketCommitmentRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); + return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); + } + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + const data = QueryPacketCommitmentsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); + return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); + } + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + const data = QueryPacketReceiptRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); + return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + const data = QueryPacketAcknowledgementRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); + return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); + return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); + } + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + const data = QueryUnreceivedPacketsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); + return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); + } + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + const data = QueryUnreceivedAcksRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); + return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); + } + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + const data = QueryNextSequenceReceiveRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); + return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.ts new file mode 100644 index 000000000..7b1d232c0 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.ts @@ -0,0 +1,2536 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, IdentifiedChannel, PacketState } from "./channel"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ +export interface QueryChannelRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ +export interface QueryChannelResponse { + /** channel associated with the request identifiers */ + channel: Channel | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ +export interface QueryChannelsRequest { + /** pagination request */ + pagination?: PageRequest | undefined; +} + +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ +export interface QueryChannelsResponse { + /** list of stored channels of the chain. */ + channels: IdentifiedChannel[]; + + /** pagination response */ + pagination?: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsRequest { + /** connection unique identifier */ + connection: string; + + /** pagination request */ + pagination?: PageRequest | undefined; +} + +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsResponse { + /** list of channels associated with a connection. */ + channels: IdentifiedChannel[]; + + /** pagination response */ + pagination?: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ +export interface QueryChannelClientStateRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ +export interface QueryChannelClientStateResponse { + /** client state associated with the channel */ + identifiedClientState: IdentifiedClientState | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ +export interface QueryChannelConsensusStateRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** revision number of the consensus state */ + revisionNumber: Long; + + /** revision height of the consensus state */ + revisionHeight: Long; +} + +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ +export interface QueryChannelConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState: Any | undefined; + + /** client ID associated with the consensus state */ + clientId: string; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ +export interface QueryPacketCommitmentRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ +export interface QueryPacketCommitmentResponse { + /** packet associated with the request fields */ + commitment: Uint8Array; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** pagination request */ + pagination?: PageRequest | undefined; +} + +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsResponse { + commitments: PacketState[]; + + /** pagination response */ + pagination?: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ +export interface QueryPacketReceiptRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ +export interface QueryPacketReceiptResponse { + /** success flag for if receipt exists */ + received: boolean; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ +export interface QueryPacketAcknowledgementRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** packet sequence */ + sequence: Long; +} + +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ +export interface QueryPacketAcknowledgementResponse { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketAcknowledgementsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** pagination request */ + pagination?: PageRequest | undefined; + + /** list of packet sequences */ + packetCommitmentSequences: Long[]; +} + +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ +export interface QueryPacketAcknowledgementsResponse { + acknowledgements: PacketState[]; + + /** pagination response */ + pagination?: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ +export interface QueryUnreceivedPacketsRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** list of packet sequences */ + packetCommitmentSequences: Long[]; +} + +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ +export interface QueryUnreceivedPacketsResponse { + /** list of unreceived packet sequences */ + sequences: Long[]; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ +export interface QueryUnreceivedAcksRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; + + /** list of acknowledgement sequences */ + packetAckSequences: Long[]; +} + +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ +export interface QueryUnreceivedAcksResponse { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ +export interface QueryNextSequenceReceiveRequest { + /** port unique identifier */ + portId: string; + + /** channel unique identifier */ + channelId: string; +} + +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ +export interface QueryNextSequenceReceiveResponse { + /** next sequence receive number */ + nextSequenceReceive: Long; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +function createBaseQueryChannelRequest(): QueryChannelRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelRequest = { + encode(message: QueryChannelRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryChannelRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryChannelRequest { + const message = createBaseQueryChannelRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelResponse(): QueryChannelResponse { + return { + channel: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelResponse = { + encode(message: QueryChannelResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelResponse { + return { + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelResponse): unknown { + const obj: any = {}; + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : 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): QueryChannelResponse { + const message = createBaseQueryChannelResponse(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsRequest(): QueryChannelsRequest { + return { + pagination: undefined + }; +} + +export const QueryChannelsRequest = { + encode(message: QueryChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsRequest(); + + 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): QueryChannelsRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryChannelsRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryChannelsRequest { + const message = createBaseQueryChannelsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsResponse(): QueryChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryChannelsResponse = { + encode(message: QueryChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelsResponse { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryChannelsResponse): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryChannelsResponse { + const message = createBaseQueryChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { + return { + connection: "", + pagination: undefined + }; +} + +export const QueryConnectionChannelsRequest = { + encode(message: QueryConnectionChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== "") { + writer.uint32(10).string(message.connection); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionChannelsRequest { + return { + connection: isSet(object.connection) ? String(object.connection) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryConnectionChannelsRequest): unknown { + const obj: any = {}; + message.connection !== undefined && (obj.connection = message.connection); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionChannelsRequest { + const message = createBaseQueryConnectionChannelsRequest(); + message.connection = object.connection ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionChannelsResponse = { + encode(message: QueryConnectionChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionChannelsResponse { + return { + channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryConnectionChannelsResponse): unknown { + const obj: any = {}; + + if (message.channels) { + obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); + } else { + obj.channels = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionChannelsResponse { + const message = createBaseQueryConnectionChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryChannelClientStateRequest(): QueryChannelClientStateRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelClientStateRequest = { + encode(message: QueryChannelClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelClientStateRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryChannelClientStateRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryChannelClientStateRequest { + const message = createBaseQueryChannelClientStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelClientStateResponse = { + encode(message: QueryChannelClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelClientStateResponse { + return { + identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelClientStateResponse): unknown { + const obj: any = {}; + message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryChannelClientStateResponse { + const message = createBaseQueryChannelClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateRequest(): QueryChannelConsensusStateRequest { + return { + portId: "", + channelId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryChannelConsensusStateRequest = { + encode(message: QueryChannelConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(24).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(32).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 4: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelConsensusStateRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: QueryChannelConsensusStateRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryChannelConsensusStateRequest { + const message = createBaseQueryChannelConsensusStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelConsensusStateResponse = { + encode(message: QueryChannelConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryChannelConsensusStateResponse { + return { + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, + clientId: isSet(object.clientId) ? String(object.clientId) : "", + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryChannelConsensusStateResponse): unknown { + const obj: any = {}; + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + message.clientId !== undefined && (obj.clientId = message.clientId); + 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): QueryChannelConsensusStateResponse { + const message = createBaseQueryChannelConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentRequest(): QueryPacketCommitmentRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketCommitmentRequest = { + encode(message: QueryPacketCommitmentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketCommitmentRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentRequest { + const message = createBaseQueryPacketCommitmentRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentResponse { + return { + commitment: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketCommitmentResponse = { + encode(message: QueryPacketCommitmentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commitment.length !== 0) { + writer.uint32(10).bytes(message.commitment); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitment = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentResponse { + return { + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array(), + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentResponse): unknown { + const obj: any = {}; + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + 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): QueryPacketCommitmentResponse { + const message = createBaseQueryPacketCommitmentResponse(); + message.commitment = object.commitment ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsRequest { + return { + portId: "", + channelId: "", + pagination: undefined + }; +} + +export const QueryPacketCommitmentsRequest = { + encode(message: QueryPacketCommitmentsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsRequest { + const message = createBaseQueryPacketCommitmentsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { + return { + commitments: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketCommitmentsResponse = { + encode(message: QueryPacketCommitmentsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketCommitmentsResponse { + return { + commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryPacketCommitmentsResponse): unknown { + const obj: any = {}; + + if (message.commitments) { + obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.commitments = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsResponse { + const message = createBaseQueryPacketCommitmentsResponse(); + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryPacketReceiptRequest(): QueryPacketReceiptRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketReceiptRequest = { + encode(message: QueryPacketReceiptRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketReceiptRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketReceiptRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketReceiptRequest { + const message = createBaseQueryPacketReceiptRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { + return { + received: false, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketReceiptResponse = { + encode(message: QueryPacketReceiptResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.received === true) { + writer.uint32(16).bool(message.received); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.received = reader.bool(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketReceiptResponse { + return { + received: isSet(object.received) ? Boolean(object.received) : false, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketReceiptResponse): unknown { + const obj: any = {}; + message.received !== undefined && (obj.received = message.received); + 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): QueryPacketReceiptResponse { + const message = createBaseQueryPacketReceiptResponse(); + message.received = object.received ?? false; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementRequest(): QueryPacketAcknowledgementRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketAcknowledgementRequest = { + encode(message: QueryPacketAcknowledgementRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO + }; + }, + + toJSON(message: QueryPacketAcknowledgementRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementRequest { + const message = createBaseQueryPacketAcknowledgementRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgementResponse { + return { + acknowledgement: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketAcknowledgementResponse = { + encode(message: QueryPacketAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.acknowledgement.length !== 0) { + writer.uint32(10).bytes(message.acknowledgement); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgement = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementResponse { + return { + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryPacketAcknowledgementResponse): unknown { + const obj: any = {}; + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + 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): QueryPacketAcknowledgementResponse { + const message = createBaseQueryPacketAcknowledgementResponse(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgementsRequest { + return { + portId: "", + channelId: "", + pagination: undefined, + packetCommitmentSequences: [] + }; +} + +export const QueryPacketAcknowledgementsRequest = { + encode(message: QueryPacketAcknowledgementsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined, + packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryPacketAcknowledgementsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + + if (message.packetCommitmentSequences) { + obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetCommitmentSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { + const message = createBaseQueryPacketAcknowledgementsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { + return { + acknowledgements: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketAcknowledgementsResponse = { + encode(message: QueryPacketAcknowledgementsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryPacketAcknowledgementsResponse { + return { + acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryPacketAcknowledgementsResponse): unknown { + const obj: any = {}; + + if (message.acknowledgements) { + obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); + } else { + obj.acknowledgements = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { + const message = createBaseQueryPacketAcknowledgementsResponse(); + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsRequest(): QueryUnreceivedPacketsRequest { + return { + portId: "", + channelId: "", + packetCommitmentSequences: [] + }; +} + +export const QueryUnreceivedPacketsRequest = { + encode(message: QueryUnreceivedPacketsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedPacketsRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryUnreceivedPacketsRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + + if (message.packetCommitmentSequences) { + obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetCommitmentSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsRequest { + const message = createBaseQueryUnreceivedPacketsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedPacketsResponse = { + encode(message: QueryUnreceivedPacketsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedPacketsResponse { + return { + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryUnreceivedPacketsResponse): unknown { + const obj: any = {}; + + if (message.sequences) { + obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.sequences = []; + } + + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsResponse { + const message = createBaseQueryUnreceivedPacketsResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksRequest(): QueryUnreceivedAcksRequest { + return { + portId: "", + channelId: "", + packetAckSequences: [] + }; +} + +export const QueryUnreceivedAcksRequest = { + encode(message: QueryUnreceivedAcksRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetAckSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetAckSequences.push((reader.uint64() as Long)); + } + } else { + message.packetAckSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedAcksRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + packetAckSequences: Array.isArray(object?.packetAckSequences) ? object.packetAckSequences.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: QueryUnreceivedAcksRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + + if (message.packetAckSequences) { + obj.packetAckSequences = message.packetAckSequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.packetAckSequences = []; + } + + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksRequest { + const message = createBaseQueryUnreceivedAcksRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetAckSequences = object.packetAckSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedAcksResponse = { + encode(message: QueryUnreceivedAcksResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryUnreceivedAcksResponse { + return { + sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryUnreceivedAcksResponse): unknown { + const obj: any = {}; + + if (message.sequences) { + obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); + } else { + obj.sequences = []; + } + + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksResponse { + const message = createBaseQueryUnreceivedAcksResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveRequest(): QueryNextSequenceReceiveRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryNextSequenceReceiveRequest = { + encode(message: QueryNextSequenceReceiveRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryNextSequenceReceiveRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "" + }; + }, + + toJSON(message: QueryNextSequenceReceiveRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + return obj; + }, + + fromPartial(object: Partial): QueryNextSequenceReceiveRequest { + const message = createBaseQueryNextSequenceReceiveRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveResponse { + return { + nextSequenceReceive: Long.UZERO, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryNextSequenceReceiveResponse = { + encode(message: QueryNextSequenceReceiveResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.nextSequenceReceive.isZero()) { + writer.uint32(8).uint64(message.nextSequenceReceive); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextSequenceReceive = (reader.uint64() as Long); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryNextSequenceReceiveResponse { + return { + nextSequenceReceive: isSet(object.nextSequenceReceive) ? Long.fromString(object.nextSequenceReceive) : Long.UZERO, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryNextSequenceReceiveResponse): unknown { + const obj: any = {}; + message.nextSequenceReceive !== undefined && (obj.nextSequenceReceive = (message.nextSequenceReceive || Long.UZERO).toString()); + 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): QueryNextSequenceReceiveResponse { + const message = createBaseQueryNextSequenceReceiveResponse(); + message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts new file mode 100644 index 000000000..973b9a374 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts @@ -0,0 +1,671 @@ +import { Channel, Packet, Counterparty, stateFromJSON, orderFromJSON } from "./channel"; +import { Height } from "../../client/v1/client"; +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, omitDefault, Long } from "@osmonauts/helpers"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export interface AminoMsgChannelOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenInit"; + value: { + port_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + signer: string; + }; +} +export interface AminoMsgChannelOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenTry"; + value: { + port_id: string; + previous_channel_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + counterparty_version: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenAck"; + value: { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenConfirm"; + value: { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelCloseInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseInit"; + value: { + port_id: string; + channel_id: string; + signer: string; + }; +} +export interface AminoMsgChannelCloseConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseConfirm"; + value: { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgRecvPacket extends AminoMsg { + type: "cosmos-sdk/MsgRecvPacket"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_commitment: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgTimeout extends AminoMsg { + type: "cosmos-sdk/MsgTimeout"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgTimeoutOnClose extends AminoMsg { + type: "cosmos-sdk/MsgTimeoutOnClose"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgAcknowledgement extends AminoMsg { + type: "cosmos-sdk/MsgAcknowledgement"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.channel.v1.MsgChannelOpenInit": { + aminoType: "cosmos-sdk/MsgChannelOpenInit", + toAmino: ({ + portId, + channel, + signer + }: MsgChannelOpenInit): AminoMsgChannelOpenInit["value"] => { + return { + port_id: portId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + signer + }; + }, + fromAmino: ({ + port_id, + channel, + signer + }: AminoMsgChannelOpenInit["value"]): MsgChannelOpenInit => { + return { + portId: port_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenTry": { + aminoType: "cosmos-sdk/MsgChannelOpenTry", + toAmino: ({ + portId, + previousChannelId, + channel, + counterpartyVersion, + proofInit, + proofHeight, + signer + }: MsgChannelOpenTry): AminoMsgChannelOpenTry["value"] => { + return { + port_id: portId, + previous_channel_id: previousChannelId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + counterparty_version: counterpartyVersion, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + previous_channel_id, + channel, + counterparty_version, + proof_init, + proof_height, + signer + }: AminoMsgChannelOpenTry["value"]): MsgChannelOpenTry => { + return { + portId: port_id, + previousChannelId: previous_channel_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + counterpartyVersion: counterparty_version, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenAck": { + aminoType: "cosmos-sdk/MsgChannelOpenAck", + toAmino: ({ + portId, + channelId, + counterpartyChannelId, + counterpartyVersion, + proofTry, + proofHeight, + signer + }: MsgChannelOpenAck): AminoMsgChannelOpenAck["value"] => { + return { + port_id: portId, + channel_id: channelId, + counterparty_channel_id: counterpartyChannelId, + counterparty_version: counterpartyVersion, + proof_try: proofTry, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + counterparty_channel_id, + counterparty_version, + proof_try, + proof_height, + signer + }: AminoMsgChannelOpenAck["value"]): MsgChannelOpenAck => { + return { + portId: port_id, + channelId: channel_id, + counterpartyChannelId: counterparty_channel_id, + counterpartyVersion: counterparty_version, + proofTry: proof_try, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenConfirm": { + aminoType: "cosmos-sdk/MsgChannelOpenConfirm", + toAmino: ({ + portId, + channelId, + proofAck, + proofHeight, + signer + }: MsgChannelOpenConfirm): AminoMsgChannelOpenConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_ack, + proof_height, + signer + }: AminoMsgChannelOpenConfirm["value"]): MsgChannelOpenConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseInit": { + aminoType: "cosmos-sdk/MsgChannelCloseInit", + toAmino: ({ + portId, + channelId, + signer + }: MsgChannelCloseInit): AminoMsgChannelCloseInit["value"] => { + return { + port_id: portId, + channel_id: channelId, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + signer + }: AminoMsgChannelCloseInit["value"]): MsgChannelCloseInit => { + return { + portId: port_id, + channelId: channel_id, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseConfirm": { + aminoType: "cosmos-sdk/MsgChannelCloseConfirm", + toAmino: ({ + portId, + channelId, + proofInit, + proofHeight, + signer + }: MsgChannelCloseConfirm): AminoMsgChannelCloseConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_init, + proof_height, + signer + }: AminoMsgChannelCloseConfirm["value"]): MsgChannelCloseConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgRecvPacket": { + aminoType: "cosmos-sdk/MsgRecvPacket", + toAmino: ({ + packet, + proofCommitment, + proofHeight, + signer + }: MsgRecvPacket): AminoMsgRecvPacket["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_commitment: proofCommitment, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + proof_commitment, + proof_height, + signer + }: AminoMsgRecvPacket["value"]): MsgRecvPacket => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofCommitment: proof_commitment, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeout": { + aminoType: "cosmos-sdk/MsgTimeout", + toAmino: ({ + packet, + proofUnreceived, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeout): AminoMsgTimeout["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeout["value"]): MsgTimeout => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeoutOnClose": { + aminoType: "cosmos-sdk/MsgTimeoutOnClose", + toAmino: ({ + packet, + proofUnreceived, + proofClose, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeoutOnClose): AminoMsgTimeoutOnClose["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_close: proofClose, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_close, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeoutOnClose["value"]): MsgTimeoutOnClose => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofClose: proof_close, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgAcknowledgement": { + aminoType: "cosmos-sdk/MsgAcknowledgement", + toAmino: ({ + packet, + acknowledgement, + proofAcked, + proofHeight, + signer + }: MsgAcknowledgement): AminoMsgAcknowledgement["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + acknowledgement, + proof_acked: proofAcked, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + acknowledgement, + proof_acked, + proof_height, + signer + }: AminoMsgAcknowledgement["value"]): MsgAcknowledgement => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + acknowledgement, + proofAcked: proof_acked, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts new file mode 100644 index 000000000..292a6781f --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts @@ -0,0 +1,372 @@ +import { Channel, Packet } from "./channel"; +import { Height } from "../../client/v1/client"; +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.encode(value).finish() + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.encode(value).finish() + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.encode(value).finish() + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.encode(value).finish() + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.encode(value).finish() + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.encode(value).finish() + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.encode(value).finish() + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.encode(value).finish() + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.encode(value).finish() + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.encode(value).finish() + }; + } + + }, + withTypeUrl: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value + }; + } + + }, + toJSON: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.toJSON(value) + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.toJSON(value) + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.toJSON(value) + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.toJSON(value) + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.toJSON(value) + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.toJSON(value) + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.toJSON(value) + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.toJSON(value) + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.toJSON(value) + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.toJSON(value) + }; + } + + }, + fromJSON: { + channelOpenInit(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.fromJSON(value) + }; + }, + + channelOpenTry(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.fromJSON(value) + }; + }, + + channelOpenAck(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.fromJSON(value) + }; + }, + + channelOpenConfirm(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.fromJSON(value) + }; + }, + + channelCloseInit(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.fromJSON(value) + }; + }, + + channelCloseConfirm(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.fromJSON(value) + }; + }, + + recvPacket(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.fromJSON(value) + }; + }, + + timeout(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.fromJSON(value) + }; + }, + + timeoutOnClose(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.fromJSON(value) + }; + }, + + acknowledgement(value: any) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.fromJSON(value) + }; + } + + }, + fromPartial: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.fromPartial(value) + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.fromPartial(value) + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.fromPartial(value) + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.fromPartial(value) + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.fromPartial(value) + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.fromPartial(value) + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.fromPartial(value) + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.fromPartial(value) + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.fromPartial(value) + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..bf2f4b238 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -0,0 +1,118 @@ +import { Channel, Packet } from "./channel"; +import { Height } from "../../client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + channelOpenInit(request: MsgChannelOpenInit): Promise; + /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ + + channelOpenTry(request: MsgChannelOpenTry): Promise; + /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ + + channelOpenAck(request: MsgChannelOpenAck): Promise; + /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ + + channelCloseInit(request: MsgChannelCloseInit): Promise; + /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + /*ChannelCloseConfirm defines a rpc handler method for + MsgChannelCloseConfirm.*/ + + recvPacket(request: MsgRecvPacket): Promise; + /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ + + timeout(request: MsgTimeout): Promise; + /*Timeout defines a rpc handler method for MsgTimeout.*/ + + timeoutOnClose(request: MsgTimeoutOnClose): Promise; + /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ + + acknowledgement(request: MsgAcknowledgement): Promise; + /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channelOpenInit = this.channelOpenInit.bind(this); + this.channelOpenTry = this.channelOpenTry.bind(this); + this.channelOpenAck = this.channelOpenAck.bind(this); + this.channelOpenConfirm = this.channelOpenConfirm.bind(this); + this.channelCloseInit = this.channelCloseInit.bind(this); + this.channelCloseConfirm = this.channelCloseConfirm.bind(this); + this.recvPacket = this.recvPacket.bind(this); + this.timeout = this.timeout.bind(this); + this.timeoutOnClose = this.timeoutOnClose.bind(this); + this.acknowledgement = this.acknowledgement.bind(this); + } + + channelOpenInit(request: MsgChannelOpenInit): Promise { + const data = MsgChannelOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); + return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); + } + + channelOpenTry(request: MsgChannelOpenTry): Promise { + const data = MsgChannelOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); + return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); + } + + channelOpenAck(request: MsgChannelOpenAck): Promise { + const data = MsgChannelOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); + return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); + } + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + const data = MsgChannelOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); + return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); + } + + channelCloseInit(request: MsgChannelCloseInit): Promise { + const data = MsgChannelCloseInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); + return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); + } + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + const data = MsgChannelCloseConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); + return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); + } + + recvPacket(request: MsgRecvPacket): Promise { + const data = MsgRecvPacket.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); + return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); + } + + timeout(request: MsgTimeout): Promise { + const data = MsgTimeout.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); + return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); + } + + timeoutOnClose(request: MsgTimeoutOnClose): Promise { + const data = MsgTimeoutOnClose.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); + return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); + } + + acknowledgement(request: MsgAcknowledgement): Promise { + const data = MsgAcknowledgement.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); + return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts new file mode 100644 index 000000000..bb0d36aea --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts @@ -0,0 +1,1633 @@ +import { Channel, Packet } from "./channel"; +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ +export interface MsgChannelOpenInit { + portId: string; + channel: Channel | undefined; + signer: string; +} + +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ +export interface MsgChannelOpenInitResponse {} + +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ +export interface MsgChannelOpenTry { + portId: string; + + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + previousChannelId: string; + channel: Channel | undefined; + counterpartyVersion: string; + proofInit: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ +export interface MsgChannelOpenTryResponse {} + +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ +export interface MsgChannelOpenAck { + portId: string; + channelId: string; + counterpartyChannelId: string; + counterpartyVersion: string; + proofTry: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ +export interface MsgChannelOpenAckResponse {} + +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ +export interface MsgChannelOpenConfirm { + portId: string; + channelId: string; + proofAck: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ +export interface MsgChannelOpenConfirmResponse {} + +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ +export interface MsgChannelCloseInit { + portId: string; + channelId: string; + signer: string; +} + +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ +export interface MsgChannelCloseInitResponse {} + +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ +export interface MsgChannelCloseConfirm { + portId: string; + channelId: string; + proofInit: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ +export interface MsgChannelCloseConfirmResponse {} + +/** MsgRecvPacket receives incoming IBC packet */ +export interface MsgRecvPacket { + packet: Packet | undefined; + proofCommitment: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ +export interface MsgRecvPacketResponse {} + +/** MsgTimeout receives timed-out packet */ +export interface MsgTimeout { + packet: Packet | undefined; + proofUnreceived: Uint8Array; + proofHeight: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} + +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ +export interface MsgTimeoutResponse {} + +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ +export interface MsgTimeoutOnClose { + packet: Packet | undefined; + proofUnreceived: Uint8Array; + proofClose: Uint8Array; + proofHeight: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} + +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ +export interface MsgTimeoutOnCloseResponse {} + +/** MsgAcknowledgement receives incoming IBC acknowledgement */ +export interface MsgAcknowledgement { + packet: Packet | undefined; + acknowledgement: Uint8Array; + proofAcked: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ +export interface MsgAcknowledgementResponse {} + +function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { + return { + portId: "", + channel: undefined, + signer: "" + }; +} + +export const MsgChannelOpenInit = { + encode(message: MsgChannelOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenInit { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenInit): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenInit { + const message = createBaseMsgChannelOpenInit(); + message.portId = object.portId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenInitResponse(): MsgChannelOpenInitResponse { + return {}; +} + +export const MsgChannelOpenInitResponse = { + encode(_: MsgChannelOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenInitResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenInitResponse { + const message = createBaseMsgChannelOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { + return { + portId: "", + previousChannelId: "", + channel: undefined, + counterpartyVersion: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenTry = { + encode(message: MsgChannelOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.previousChannelId !== "") { + writer.uint32(18).string(message.previousChannelId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofInit.length !== 0) { + writer.uint32(42).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.previousChannelId = reader.string(); + break; + + case 3: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofInit = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenTry { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + previousChannelId: isSet(object.previousChannelId) ? String(object.previousChannelId) : "", + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, + counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenTry): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.previousChannelId !== undefined && (obj.previousChannelId = message.previousChannelId); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenTry { + const message = createBaseMsgChannelOpenTry(); + message.portId = object.portId ?? ""; + message.previousChannelId = object.previousChannelId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenTryResponse(): MsgChannelOpenTryResponse { + return {}; +} + +export const MsgChannelOpenTryResponse = { + encode(_: MsgChannelOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenTryResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenTryResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenTryResponse { + const message = createBaseMsgChannelOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { + return { + portId: "", + channelId: "", + counterpartyChannelId: "", + counterpartyVersion: "", + proofTry: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenAck = { + encode(message: MsgChannelOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.counterpartyChannelId !== "") { + writer.uint32(26).string(message.counterpartyChannelId); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofTry.length !== 0) { + writer.uint32(42).bytes(message.proofTry); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.counterpartyChannelId = reader.string(); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofTry = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenAck { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + counterpartyChannelId: isSet(object.counterpartyChannelId) ? String(object.counterpartyChannelId) : "", + counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", + proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenAck): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.counterpartyChannelId !== undefined && (obj.counterpartyChannelId = message.counterpartyChannelId); + message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); + message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenAck { + const message = createBaseMsgChannelOpenAck(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.counterpartyChannelId = object.counterpartyChannelId ?? ""; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenAckResponse(): MsgChannelOpenAckResponse { + return {}; +} + +export const MsgChannelOpenAckResponse = { + encode(_: MsgChannelOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenAckResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenAckResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenAckResponse { + const message = createBaseMsgChannelOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { + return { + portId: "", + channelId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenConfirm = { + encode(message: MsgChannelOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(26).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofAck = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelOpenConfirm { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelOpenConfirm): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelOpenConfirm { + const message = createBaseMsgChannelOpenConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenConfirmResponse(): MsgChannelOpenConfirmResponse { + return {}; +} + +export const MsgChannelOpenConfirmResponse = { + encode(_: MsgChannelOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelOpenConfirmResponse { + return {}; + }, + + toJSON(_: MsgChannelOpenConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelOpenConfirmResponse { + const message = createBaseMsgChannelOpenConfirmResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseInit(): MsgChannelCloseInit { + return { + portId: "", + channelId: "", + signer: "" + }; +} + +export const MsgChannelCloseInit = { + encode(message: MsgChannelCloseInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelCloseInit { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelCloseInit): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelCloseInit { + const message = createBaseMsgChannelCloseInit(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseInitResponse(): MsgChannelCloseInitResponse { + return {}; +} + +export const MsgChannelCloseInitResponse = { + encode(_: MsgChannelCloseInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelCloseInitResponse { + return {}; + }, + + toJSON(_: MsgChannelCloseInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelCloseInitResponse { + const message = createBaseMsgChannelCloseInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { + return { + portId: "", + channelId: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelCloseConfirm = { + encode(message: MsgChannelCloseConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofInit.length !== 0) { + writer.uint32(26).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofInit = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgChannelCloseConfirm { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + channelId: isSet(object.channelId) ? String(object.channelId) : "", + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgChannelCloseConfirm): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.channelId !== undefined && (obj.channelId = message.channelId); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgChannelCloseConfirm { + const message = createBaseMsgChannelCloseConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseConfirmResponse(): MsgChannelCloseConfirmResponse { + return {}; +} + +export const MsgChannelCloseConfirmResponse = { + encode(_: MsgChannelCloseConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgChannelCloseConfirmResponse { + return {}; + }, + + toJSON(_: MsgChannelCloseConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgChannelCloseConfirmResponse { + const message = createBaseMsgChannelCloseConfirmResponse(); + return message; + } + +}; + +function createBaseMsgRecvPacket(): MsgRecvPacket { + return { + packet: undefined, + proofCommitment: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgRecvPacket = { + encode(message: MsgRecvPacket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofCommitment.length !== 0) { + writer.uint32(18).bytes(message.proofCommitment); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacket { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofCommitment = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgRecvPacket { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofCommitment: isSet(object.proofCommitment) ? bytesFromBase64(object.proofCommitment) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgRecvPacket): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofCommitment !== undefined && (obj.proofCommitment = base64FromBytes(message.proofCommitment !== undefined ? message.proofCommitment : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgRecvPacket { + const message = createBaseMsgRecvPacket(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofCommitment = object.proofCommitment ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgRecvPacketResponse(): MsgRecvPacketResponse { + return {}; +} + +export const MsgRecvPacketResponse = { + encode(_: MsgRecvPacketResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacketResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgRecvPacketResponse { + return {}; + }, + + toJSON(_: MsgRecvPacketResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgRecvPacketResponse { + const message = createBaseMsgRecvPacketResponse(); + return message; + } + +}; + +function createBaseMsgTimeout(): MsgTimeout { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeout = { + encode(message: MsgTimeout, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(32).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeout { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeout(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgTimeout { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgTimeout): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgTimeout { + const message = createBaseMsgTimeout(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutResponse(): MsgTimeoutResponse { + return {}; +} + +export const MsgTimeoutResponse = { + encode(_: MsgTimeoutResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTimeoutResponse { + return {}; + }, + + toJSON(_: MsgTimeoutResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTimeoutResponse { + const message = createBaseMsgTimeoutResponse(); + return message; + } + +}; + +function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofClose: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeoutOnClose = { + encode(message: MsgTimeoutOnClose, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofClose.length !== 0) { + writer.uint32(26).bytes(message.proofClose); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(40).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnClose { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnClose(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofClose = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgTimeoutOnClose { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), + proofClose: isSet(object.proofClose) ? bytesFromBase64(object.proofClose) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgTimeoutOnClose): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); + message.proofClose !== undefined && (obj.proofClose = base64FromBytes(message.proofClose !== undefined ? message.proofClose : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgTimeoutOnClose { + const message = createBaseMsgTimeoutOnClose(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofClose = object.proofClose ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutOnCloseResponse(): MsgTimeoutOnCloseResponse { + return {}; +} + +export const MsgTimeoutOnCloseResponse = { + encode(_: MsgTimeoutOnCloseResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnCloseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgTimeoutOnCloseResponse { + return {}; + }, + + toJSON(_: MsgTimeoutOnCloseResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgTimeoutOnCloseResponse { + const message = createBaseMsgTimeoutOnCloseResponse(); + return message; + } + +}; + +function createBaseMsgAcknowledgement(): MsgAcknowledgement { + return { + packet: undefined, + acknowledgement: new Uint8Array(), + proofAcked: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgAcknowledgement = { + encode(message: MsgAcknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + if (message.proofAcked.length !== 0) { + writer.uint32(26).bytes(message.proofAcked); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + case 3: + message.proofAcked = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgAcknowledgement { + return { + packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), + proofAcked: isSet(object.proofAcked) ? bytesFromBase64(object.proofAcked) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgAcknowledgement): unknown { + const obj: any = {}; + message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + message.proofAcked !== undefined && (obj.proofAcked = base64FromBytes(message.proofAcked !== undefined ? message.proofAcked : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgAcknowledgement { + const message = createBaseMsgAcknowledgement(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proofAcked = object.proofAcked ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgAcknowledgementResponse(): MsgAcknowledgementResponse { + return {}; +} + +export const MsgAcknowledgementResponse = { + encode(_: MsgAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgAcknowledgementResponse { + return {}; + }, + + toJSON(_: MsgAcknowledgementResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgAcknowledgementResponse { + const message = createBaseMsgAcknowledgementResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/client.ts b/examples/telescope/codegen/ibc/core/client/v1/client.ts new file mode 100644 index 000000000..008be5aeb --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/client.ts @@ -0,0 +1,640 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ +export interface IdentifiedClientState { + /** client identifier */ + clientId: string; + + /** client state */ + clientState: Any | undefined; +} + +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ +export interface ConsensusStateWithHeight { + /** consensus state height */ + height: Height | undefined; + + /** consensus state */ + consensusState: Any | undefined; +} + +/** + * 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[]; +} + +/** + * 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 { + /** 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; +} + +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ +export interface UpgradeProposal { + title: string; + description: string; + plan: Plan | undefined; + + /** + * 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 | undefined; +} + +/** + * 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; +} + +/** Params defines the set of IBC light client parameters. */ +export interface Params { + /** allowed_clients defines the list of allowed client state types. */ + allowedClients: string[]; +} + +function createBaseIdentifiedClientState(): IdentifiedClientState { + return { + clientId: "", + clientState: undefined + }; +} + +export const IdentifiedClientState = { + encode(message: IdentifiedClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { + return { + height: undefined, + consensusState: undefined + }; +} + +export const ConsensusStateWithHeight = { + encode(message: ConsensusStateWithHeight, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateWithHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = Height.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseClientConsensusStates(): ClientConsensusStates { + return { + clientId: "", + consensusStates: [] + }; +} + +export const ClientConsensusStates = { + encode(message: ClientConsensusStates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientConsensusStates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseClientUpdateProposal(): ClientUpdateProposal { + return { + title: "", + description: "", + subjectClientId: "", + substituteClientId: "" + }; +} + +export const ClientUpdateProposal = { + encode(message: ClientUpdateProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.subjectClientId !== "") { + writer.uint32(26).string(message.subjectClientId); + } + + if (message.substituteClientId !== "") { + writer.uint32(34).string(message.substituteClientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientUpdateProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.subjectClientId = reader.string(); + break; + + case 4: + message.substituteClientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.subjectClientId = object.subjectClientId ?? ""; + message.substituteClientId = object.substituteClientId ?? ""; + return message; + } + +}; + +function createBaseUpgradeProposal(): UpgradeProposal { + return { + title: "", + description: "", + plan: undefined, + upgradedClientState: undefined + }; +} + +export const UpgradeProposal = { + encode(message: UpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + case 4: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseHeight(): Height { + return { + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const Height = { + encode(message: Height, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.revisionNumber.isZero()) { + writer.uint32(8).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(16).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Height { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 2: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Height { + return { + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: Height): unknown { + const obj: any = {}; + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Height { + const message = createBaseHeight(); + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + allowedClients: [] + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowedClients) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowedClients.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts new file mode 100644 index 000000000..682402ad6 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts @@ -0,0 +1,320 @@ +import { IdentifiedClientState, ClientConsensusStates, Params } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** 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 | undefined; + + /** create localhost on initialization */ + createLocalhost: boolean; + + /** the sequence for the next generated client identifier */ + nextClientSequence: 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; +} + +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ +export interface IdentifiedGenesisMetadata { + clientId: string; + clientMetadata: GenesisMetadata[]; +} + +function createBaseGenesisState(): GenesisState { + return { + clients: [], + clientsConsensus: [], + clientsMetadata: [], + params: undefined, + createLocalhost: false, + nextClientSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clients) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientsConsensus) { + ClientConsensusStates.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.clientsMetadata) { + IdentifiedGenesisMetadata.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + if (message.createLocalhost === true) { + writer.uint32(40).bool(message.createLocalhost); + } + + if (!message.nextClientSequence.isZero()) { + writer.uint32(48).uint64(message.nextClientSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clients.push(IdentifiedClientState.decode(reader, reader.uint32())); + break; + + case 2: + message.clientsConsensus.push(ClientConsensusStates.decode(reader, reader.uint32())); + break; + + case 3: + message.clientsMetadata.push(IdentifiedGenesisMetadata.decode(reader, reader.uint32())); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + case 5: + message.createLocalhost = reader.bool(); + break; + + case 6: + message.nextClientSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.nextClientSequence) : Long.UZERO + }; + }, + + 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 || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; + message.clientsConsensus = object.clientsConsensus?.map(e => ClientConsensusStates.fromPartial(e)) || []; + message.clientsMetadata = object.clientsMetadata?.map(e => IdentifiedGenesisMetadata.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.createLocalhost = object.createLocalhost ?? false; + message.nextClientSequence = object.nextClientSequence !== undefined && object.nextClientSequence !== null ? Long.fromValue(object.nextClientSequence) : Long.UZERO; + return message; + } + +}; + +function createBaseGenesisMetadata(): GenesisMetadata { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const GenesisMetadata = { + encode(message: GenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisMetadata(); + + 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): 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(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; + +function createBaseIdentifiedGenesisMetadata(): IdentifiedGenesisMetadata { + return { + clientId: "", + clientMetadata: [] + }; +} + +export const IdentifiedGenesisMetadata = { + encode(message: IdentifiedGenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.clientMetadata) { + GenesisMetadata.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedGenesisMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientMetadata.push(GenesisMetadata.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientMetadata = object.clientMetadata?.map(e => GenesisMetadata.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts new file mode 100644 index 000000000..7c51bb8e1 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts @@ -0,0 +1,94 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* ClientState queries an IBC light client. */ + async clientState(params: QueryClientStateRequest): Promise { + const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; + return await this.request(endpoint); + } + + /* ClientStates queries all the IBC light clients of a chain. */ + async clientStates(params: QueryClientStatesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/client_states`; + return await this.request(endpoint, options); + } + + /* ConsensusState queries a consensus state associated with a client state at + a given height. */ + async consensusState(params: QueryConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.latestHeight !== "undefined") { + options.params.latest_height = params.latestHeight; + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint, options); + } + + /* ConsensusStates queries all the consensus state associated with a given + client. */ + async consensusStates(params: QueryConsensusStatesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; + return await this.request(endpoint, options); + } + + /* Status queries the status of an IBC client. */ + async clientStatus(params: QueryClientStatusRequest): Promise { + const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; + return await this.request(endpoint); + } + + /* ClientParams queries all parameters of the ibc client. */ + async clientParams(_params: QueryClientParamsRequest = {}): Promise { + const endpoint = `ibc/client/v1/params`; + return await this.request(endpoint); + } + + /* UpgradedClientState queries an Upgraded IBC light client. */ + async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_client_states`; + return await this.request(endpoint); + } + + /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ + async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts new file mode 100644 index 000000000..26b9e9e6d --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -0,0 +1,100 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + clientState(request: QueryClientStateRequest): Promise; + /*ClientState queries an IBC light client.*/ + + clientStates(request: QueryClientStatesRequest): Promise; + /*ClientStates queries all the IBC light clients of a chain.*/ + + consensusState(request: QueryConsensusStateRequest): Promise; + /*ConsensusState queries a consensus state associated with a client state at + a given height.*/ + + consensusStates(request: QueryConsensusStatesRequest): Promise; + /*ConsensusStates queries all the consensus state associated with a given + client.*/ + + clientStatus(request: QueryClientStatusRequest): Promise; + /*Status queries the status of an IBC client.*/ + + clientParams(request: QueryClientParamsRequest): Promise; + /*ClientParams queries all parameters of the ibc client.*/ + + upgradedClientState(request: QueryUpgradedClientStateRequest): Promise; + /*UpgradedClientState queries an Upgraded IBC light client.*/ + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + } + + clientState(request: QueryClientStateRequest): Promise { + const data = QueryClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); + return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); + } + + clientStates(request: QueryClientStatesRequest): Promise { + const data = QueryClientStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); + return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); + } + + consensusState(request: QueryConsensusStateRequest): Promise { + const data = QueryConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); + return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); + } + + consensusStates(request: QueryConsensusStatesRequest): Promise { + const data = QueryConsensusStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); + return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); + } + + clientStatus(request: QueryClientStatusRequest): Promise { + const data = QueryClientStatusRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); + return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); + } + + clientParams(request: QueryClientParamsRequest): Promise { + const data = QueryClientParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); + return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); + } + + upgradedClientState(request: QueryUpgradedClientStateRequest): Promise { + const data = QueryUpgradedClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); + return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.ts new file mode 100644 index 000000000..f7ff90606 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.ts @@ -0,0 +1,1176 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any } from "../../../../google/protobuf/any"; +import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ +export interface QueryClientStateRequest { + /** client state unique identifier */ + clientId: 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 | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ +export interface QueryClientStatesRequest { + /** pagination request */ + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** + * 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; +} + +/** + * 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 | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ +export interface QueryConsensusStatesRequest { + /** client identifier */ + clientId: string; + + /** pagination request */ + pagination?: PageRequest | undefined; +} + +/** + * 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 | undefined; +} + +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ +export interface QueryClientStatusRequest { + /** client unique identifier */ + clientId: 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; +} + +/** + * QueryClientParamsRequest is the request type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsRequest {} + +/** + * QueryClientParamsResponse is the response type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsResponse { + /** params defines the parameters of the module. */ + params: Params | undefined; +} + +/** + * QueryUpgradedClientStateRequest is the request type for the + * Query/UpgradedClientState RPC method + */ +export interface QueryUpgradedClientStateRequest {} + +/** + * QueryUpgradedClientStateResponse is the response type for the + * Query/UpgradedClientState RPC method. + */ +export interface QueryUpgradedClientStateResponse { + /** client state associated with the request identifier */ + upgradedClientState: Any | undefined; +} + +/** + * QueryUpgradedConsensusStateRequest is the request type for the + * Query/UpgradedConsensusState RPC method + */ +export interface QueryUpgradedConsensusStateRequest {} + +/** + * QueryUpgradedConsensusStateResponse is the response type for the + * Query/UpgradedConsensusState RPC method. + */ +export interface QueryUpgradedConsensusStateResponse { + /** Consensus state associated with the request identifier */ + upgradedConsensusState: Any | undefined; +} + +function createBaseQueryClientStateRequest(): QueryClientStateRequest { + return { + clientId: "" + }; +} + +export const QueryClientStateRequest = { + encode(message: QueryClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientStateResponse(): QueryClientStateResponse { + return { + clientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientStateResponse = { + encode(message: QueryClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { + return { + pagination: undefined + }; +} + +export const QueryClientStatesRequest = { + encode(message: QueryClientStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesRequest(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { + return { + clientStates: [], + pagination: undefined + }; +} + +export const QueryClientStatesResponse = { + encode(message: QueryClientStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clientStates) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientStates.push(IdentifiedClientState.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest { + return { + clientId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO, + latestHeight: false + }; +} + +export const QueryConsensusStateRequest = { + encode(message: QueryConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + if (message.latestHeight === true) { + writer.uint32(32).bool(message.latestHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + case 4: + message.latestHeight = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConsensusStateRequest { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO, + 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 || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight); + return obj; + }, + + fromPartial(object: Partial): QueryConsensusStateRequest { + const message = createBaseQueryConsensusStateRequest(); + message.clientId = object.clientId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + message.latestHeight = object.latestHeight ?? false; + return message; + } + +}; + +function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { + return { + consensusState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConsensusStateResponse = { + encode(message: QueryConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { + return { + clientId: "", + pagination: undefined + }; +} + +export const QueryConsensusStatesRequest = { + encode(message: QueryConsensusStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { + return { + consensusStates: [], + pagination: undefined + }; +} + +export const QueryConsensusStatesResponse = { + encode(message: QueryConsensusStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusStates.push(ConsensusStateWithHeight.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): 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)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatusRequest(): QueryClientStatusRequest { + return { + clientId: "" + }; +} + +export const QueryClientStatusRequest = { + encode(message: QueryClientStatusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientStatusResponse(): QueryClientStatusResponse { + return { + status: "" + }; +} + +export const QueryClientStatusResponse = { + encode(message: QueryClientStatusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseQueryClientParamsRequest(): QueryClientParamsRequest { + return {}; +} + +export const QueryClientParamsRequest = { + encode(_: QueryClientParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryClientParamsRequest { + return {}; + }, + + toJSON(_: QueryClientParamsRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryClientParamsRequest { + const message = createBaseQueryClientParamsRequest(); + return message; + } + +}; + +function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { + return { + params: undefined + }; +} + +export const QueryClientParamsResponse = { + encode(message: QueryClientParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsResponse(); + + 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): 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; + return message; + } + +}; + +function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest { + return {}; +} + +export const QueryUpgradedClientStateRequest = { + encode(_: QueryUpgradedClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryUpgradedClientStateRequest { + return {}; + }, + + toJSON(_: QueryUpgradedClientStateRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryUpgradedClientStateRequest { + const message = createBaseQueryUpgradedClientStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse { + return { + upgradedClientState: undefined + }; +} + +export const QueryUpgradedClientStateResponse = { + encode(message: QueryUpgradedClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return {}; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(_: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): QueryUpgradedConsensusStateRequest { + return {}; + }, + + toJSON(_: QueryUpgradedConsensusStateRequest): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: undefined + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState !== undefined) { + Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedConsensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts new file mode 100644 index 000000000..e9d9e3b16 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts @@ -0,0 +1,206 @@ +import { Any } from "../../../../google/protobuf/any"; +import { AminoMsg } from "@cosmjs/amino"; +import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; +export interface AminoMsgCreateClient extends AminoMsg { + type: "cosmos-sdk/MsgCreateClient"; + value: { + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpdateClient extends AminoMsg { + type: "cosmos-sdk/MsgUpdateClient"; + value: { + client_id: string; + header: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpgradeClient extends AminoMsg { + type: "cosmos-sdk/MsgUpgradeClient"; + value: { + client_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + proof_upgrade_client: Uint8Array; + proof_upgrade_consensus_state: Uint8Array; + signer: string; + }; +} +export interface AminoMsgSubmitMisbehaviour extends AminoMsg { + type: "cosmos-sdk/MsgSubmitMisbehaviour"; + value: { + client_id: string; + misbehaviour: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.client.v1.MsgCreateClient": { + aminoType: "cosmos-sdk/MsgCreateClient", + toAmino: ({ + clientState, + consensusState, + signer + }: MsgCreateClient): AminoMsgCreateClient["value"] => { + return { + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + signer + }; + }, + fromAmino: ({ + client_state, + consensus_state, + signer + }: AminoMsgCreateClient["value"]): MsgCreateClient => { + return { + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpdateClient": { + aminoType: "cosmos-sdk/MsgUpdateClient", + toAmino: ({ + clientId, + header, + signer + }: MsgUpdateClient): AminoMsgUpdateClient["value"] => { + return { + client_id: clientId, + header: { + type_url: header.typeUrl, + value: header.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + header, + signer + }: AminoMsgUpdateClient["value"]): MsgUpdateClient => { + return { + clientId: client_id, + header: { + typeUrl: header.type_url, + value: header.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpgradeClient": { + aminoType: "cosmos-sdk/MsgUpgradeClient", + toAmino: ({ + clientId, + clientState, + consensusState, + proofUpgradeClient, + proofUpgradeConsensusState, + signer + }: MsgUpgradeClient): AminoMsgUpgradeClient["value"] => { + return { + client_id: clientId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + proof_upgrade_client: proofUpgradeClient, + proof_upgrade_consensus_state: proofUpgradeConsensusState, + signer + }; + }, + fromAmino: ({ + client_id, + client_state, + consensus_state, + proof_upgrade_client, + proof_upgrade_consensus_state, + signer + }: AminoMsgUpgradeClient["value"]): MsgUpgradeClient => { + return { + clientId: client_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + proofUpgradeClient: proof_upgrade_client, + proofUpgradeConsensusState: proof_upgrade_consensus_state, + signer + }; + } + }, + "/ibc.core.client.v1.MsgSubmitMisbehaviour": { + aminoType: "cosmos-sdk/MsgSubmitMisbehaviour", + toAmino: ({ + clientId, + misbehaviour, + signer + }: MsgSubmitMisbehaviour): AminoMsgSubmitMisbehaviour["value"] => { + return { + client_id: clientId, + misbehaviour: { + type_url: misbehaviour.typeUrl, + value: misbehaviour.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + misbehaviour, + signer + }: AminoMsgSubmitMisbehaviour["value"]): MsgSubmitMisbehaviour => { + return { + clientId: client_id, + misbehaviour: { + typeUrl: misbehaviour.type_url, + value: misbehaviour.value + }, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts new file mode 100644 index 000000000..8af7812ea --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts @@ -0,0 +1,161 @@ +import { Any } from "../../../../google/protobuf/any"; +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.encode(value).finish() + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.encode(value).finish() + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.encode(value).finish() + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value + }; + } + + }, + 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 { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.fromPartial(value) + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.fromPartial(value) + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.fromPartial(value) + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..38fcce3cf --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -0,0 +1,56 @@ +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + createClient(request: MsgCreateClient): Promise; + /*CreateClient defines a rpc handler method for MsgCreateClient.*/ + + updateClient(request: MsgUpdateClient): Promise; + /*UpdateClient defines a rpc handler method for MsgUpdateClient.*/ + + upgradeClient(request: MsgUpgradeClient): Promise; + /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ + + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; + /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createClient = this.createClient.bind(this); + this.updateClient = this.updateClient.bind(this); + this.upgradeClient = this.upgradeClient.bind(this); + this.submitMisbehaviour = this.submitMisbehaviour.bind(this); + } + + createClient(request: MsgCreateClient): Promise { + const data = MsgCreateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); + return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); + } + + updateClient(request: MsgUpdateClient): Promise { + const data = MsgUpdateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); + return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); + } + + upgradeClient(request: MsgUpgradeClient): Promise { + const data = MsgUpgradeClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); + return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); + } + + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + const data = MsgSubmitMisbehaviour.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); + return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.ts new file mode 100644 index 000000000..25a17d447 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.ts @@ -0,0 +1,622 @@ +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** MsgCreateClient defines a message to create an IBC client */ +export interface MsgCreateClient { + /** light client state */ + clientState: Any | undefined; + + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + consensusState: Any | undefined; + + /** signer address */ + signer: string; +} + +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ +export interface MsgCreateClientResponse {} + +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ +export interface MsgUpdateClient { + /** client unique identifier */ + clientId: string; + + /** header to update the light client */ + header: Any | undefined; + + /** signer address */ + signer: string; +} + +/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ +export interface MsgUpdateClientResponse {} + +/** + * 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 | undefined; + + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + consensusState: Any | undefined; + + /** 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; +} + +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ +export interface MsgUpgradeClientResponse {} + +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ +export interface MsgSubmitMisbehaviour { + /** client unique identifier */ + clientId: string; + + /** misbehaviour used for freezing the light client */ + misbehaviour: Any | undefined; + + /** signer address */ + signer: string; +} + +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ +export interface MsgSubmitMisbehaviourResponse {} + +function createBaseMsgCreateClient(): MsgCreateClient { + return { + clientState: undefined, + consensusState: undefined, + signer: "" + }; +} + +export const MsgCreateClient = { + encode(message: MsgCreateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgCreateClientResponse(): MsgCreateClientResponse { + return {}; +} + +export const MsgCreateClientResponse = { + encode(_: MsgCreateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgCreateClientResponse { + return {}; + }, + + toJSON(_: MsgCreateClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgCreateClientResponse { + const message = createBaseMsgCreateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpdateClient(): MsgUpdateClient { + return { + clientId: "", + header: undefined, + signer: "" + }; +} + +export const MsgUpdateClient = { + encode(message: MsgUpdateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header !== undefined) { + Any.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgUpdateClient { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + header: isSet(object.header) ? Any.fromJSON(object.header) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgUpdateClient): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.header !== undefined && (obj.header = message.header ? Any.toJSON(message.header) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgUpdateClient { + const message = createBaseMsgUpdateClient(); + message.clientId = object.clientId ?? ""; + message.header = object.header !== undefined && object.header !== null ? Any.fromPartial(object.header) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateClientResponse(): MsgUpdateClientResponse { + return {}; +} + +export const MsgUpdateClientResponse = { + encode(_: MsgUpdateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpdateClientResponse { + return {}; + }, + + toJSON(_: MsgUpdateClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpdateClientResponse { + const message = createBaseMsgUpdateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpgradeClient(): MsgUpgradeClient { + return { + clientId: "", + clientState: undefined, + consensusState: undefined, + proofUpgradeClient: new Uint8Array(), + proofUpgradeConsensusState: new Uint8Array(), + signer: "" + }; +} + +export const MsgUpgradeClient = { + encode(message: MsgUpgradeClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.proofUpgradeClient.length !== 0) { + writer.uint32(34).bytes(message.proofUpgradeClient); + } + + if (message.proofUpgradeConsensusState.length !== 0) { + writer.uint32(42).bytes(message.proofUpgradeConsensusState); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.proofUpgradeClient = reader.bytes(); + break; + + case 5: + message.proofUpgradeConsensusState = reader.bytes(); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.proofUpgradeClient = object.proofUpgradeClient ?? new Uint8Array(); + message.proofUpgradeConsensusState = object.proofUpgradeConsensusState ?? new Uint8Array(); + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpgradeClientResponse(): MsgUpgradeClientResponse { + return {}; +} + +export const MsgUpgradeClientResponse = { + encode(_: MsgUpgradeClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgUpgradeClientResponse { + return {}; + }, + + toJSON(_: MsgUpgradeClientResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgUpgradeClientResponse { + const message = createBaseMsgUpgradeClientResponse(); + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviour(): MsgSubmitMisbehaviour { + return { + clientId: "", + misbehaviour: undefined, + signer: "" + }; +} + +export const MsgSubmitMisbehaviour = { + encode(message: MsgSubmitMisbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.misbehaviour !== undefined) { + Any.encode(message.misbehaviour, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.misbehaviour = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.misbehaviour = object.misbehaviour !== undefined && object.misbehaviour !== null ? Any.fromPartial(object.misbehaviour) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviourResponse(): MsgSubmitMisbehaviourResponse { + return {}; +} + +export const MsgSubmitMisbehaviourResponse = { + encode(_: MsgSubmitMisbehaviourResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviourResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgSubmitMisbehaviourResponse { + return {}; + }, + + toJSON(_: MsgSubmitMisbehaviourResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgSubmitMisbehaviourResponse { + const message = createBaseMsgSubmitMisbehaviourResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts new file mode 100644 index 000000000..bb3c68749 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts @@ -0,0 +1,280 @@ +import { CommitmentProof } from "../../../../confio/proofs"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ +export interface MerkleRoot { + hash: Uint8Array; +} + +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ +export interface MerklePrefix { + keyPrefix: Uint8Array; +} + +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ +export interface MerklePath { + keyPath: string[]; +} + +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ +export interface MerkleProof { + proofs: CommitmentProof[]; +} + +function createBaseMerkleRoot(): MerkleRoot { + return { + hash: new Uint8Array() + }; +} + +export const MerkleRoot = { + encode(message: MerkleRoot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleRoot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerkleRoot { + return { + hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() + }; + }, + + toJSON(message: MerkleRoot): unknown { + const obj: any = {}; + message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MerkleRoot { + const message = createBaseMerkleRoot(); + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePrefix(): MerklePrefix { + return { + keyPrefix: new Uint8Array() + }; +} + +export const MerklePrefix = { + encode(message: MerklePrefix, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.keyPrefix.length !== 0) { + writer.uint32(10).bytes(message.keyPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePrefix(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPrefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerklePrefix { + return { + keyPrefix: isSet(object.keyPrefix) ? bytesFromBase64(object.keyPrefix) : new Uint8Array() + }; + }, + + toJSON(message: MerklePrefix): unknown { + const obj: any = {}; + message.keyPrefix !== undefined && (obj.keyPrefix = base64FromBytes(message.keyPrefix !== undefined ? message.keyPrefix : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): MerklePrefix { + const message = createBaseMerklePrefix(); + message.keyPrefix = object.keyPrefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePath(): MerklePath { + return { + keyPath: [] + }; +} + +export const MerklePath = { + encode(message: MerklePath, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keyPath) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePath(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPath.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerklePath { + return { + keyPath: Array.isArray(object?.keyPath) ? object.keyPath.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: MerklePath): unknown { + const obj: any = {}; + + if (message.keyPath) { + obj.keyPath = message.keyPath.map(e => e); + } else { + obj.keyPath = []; + } + + return obj; + }, + + fromPartial(object: Partial): MerklePath { + const message = createBaseMerklePath(); + message.keyPath = object.keyPath?.map(e => e) || []; + return message; + } + +}; + +function createBaseMerkleProof(): MerkleProof { + return { + proofs: [] + }; +} + +export const MerkleProof = { + encode(message: MerkleProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proofs) { + CommitmentProof.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proofs.push(CommitmentProof.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MerkleProof { + return { + proofs: Array.isArray(object?.proofs) ? object.proofs.map((e: any) => CommitmentProof.fromJSON(e)) : [] + }; + }, + + toJSON(message: MerkleProof): unknown { + const obj: any = {}; + + if (message.proofs) { + obj.proofs = message.proofs.map(e => e ? CommitmentProof.toJSON(e) : undefined); + } else { + obj.proofs = []; + } + + return obj; + }, + + fromPartial(object: Partial): MerkleProof { + const message = createBaseMerkleProof(); + message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts new file mode 100644 index 000000000..81de3f490 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts @@ -0,0 +1,764 @@ +import { MerklePrefix } from "../../commitment/v1/commitment"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + default: + return "UNKNOWN"; + } +} + +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ +export interface ConnectionEnd { + /** client associated with this connection. */ + clientId: string; + + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + versions: Version[]; + + /** current state of the connection end. */ + state: State; + + /** counterparty chain associated with this connection. */ + counterparty: Counterparty | undefined; + + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + delayPeriod: Long; +} + +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ +export interface IdentifiedConnection { + /** connection identifier. */ + id: string; + + /** client associated with this connection. */ + clientId: string; + + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + versions: Version[]; + + /** current state of the connection end. */ + state: State; + + /** counterparty chain associated with this connection. */ + counterparty: Counterparty | undefined; + + /** delay period associated with this connection. */ + delayPeriod: Long; +} + +/** Counterparty defines the counterparty chain associated with a connection end. */ +export interface Counterparty { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + clientId: string; + + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + connectionId: string; + + /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefix | undefined; +} + +/** ClientPaths define all the connection paths for a client state. */ +export interface ClientPaths { + /** list of connection paths */ + paths: string[]; +} + +/** ConnectionPaths define all the connection paths for a given client state. */ +export interface ConnectionPaths { + /** client state unique identifier */ + clientId: string; + + /** list of connection paths */ + paths: string[]; +} + +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ +export interface Version { + /** unique version identifier */ + identifier: string; + + /** list of features compatible with the specified identifier */ + features: string[]; +} + +/** Params defines the set of Connection parameters. */ +export interface Params { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + maxExpectedTimePerBlock: Long; +} + +function createBaseConnectionEnd(): ConnectionEnd { + return { + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const ConnectionEnd = { + encode(message: ConnectionEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(24).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionEnd(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 3: + message.state = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionEnd { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO + }; + }, + + toJSON(message: ConnectionEnd): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.versions) { + obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.versions = []; + } + + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConnectionEnd { + const message = createBaseConnectionEnd(); + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseIdentifiedConnection(): IdentifiedConnection { + return { + id: "", + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const IdentifiedConnection = { + encode(message: IdentifiedConnection, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(32).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(42).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(48).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedConnection(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 4: + message.state = (reader.int32() as any); + break; + + case 5: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 6: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): IdentifiedConnection { + return { + id: isSet(object.id) ? String(object.id) : "", + clientId: isSet(object.clientId) ? String(object.clientId) : "", + versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], + state: isSet(object.state) ? stateFromJSON(object.state) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO + }; + }, + + toJSON(message: IdentifiedConnection): unknown { + const obj: any = {}; + message.id !== undefined && (obj.id = message.id); + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.versions) { + obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.versions = []; + } + + message.state !== undefined && (obj.state = stateToJSON(message.state)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): IdentifiedConnection { + const message = createBaseIdentifiedConnection(); + message.id = object.id ?? ""; + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + clientId: "", + connectionId: "", + prefix: undefined + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.prefix !== undefined) { + MerklePrefix.encode(message.prefix, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.prefix = MerklePrefix.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Counterparty { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + prefix: isSet(object.prefix) ? MerklePrefix.fromJSON(object.prefix) : undefined + }; + }, + + toJSON(message: Counterparty): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.prefix !== undefined && (obj.prefix = message.prefix ? MerklePrefix.toJSON(message.prefix) : undefined); + return obj; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.clientId = object.clientId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.prefix = object.prefix !== undefined && object.prefix !== null ? MerklePrefix.fromPartial(object.prefix) : undefined; + return message; + } + +}; + +function createBaseClientPaths(): ClientPaths { + return { + paths: [] + }; +} + +export const ClientPaths = { + encode(message: ClientPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.paths) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientPaths { + return { + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: ClientPaths): unknown { + const obj: any = {}; + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): ClientPaths { + const message = createBaseClientPaths(); + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseConnectionPaths(): ConnectionPaths { + return { + clientId: "", + paths: [] + }; +} + +export const ConnectionPaths = { + encode(message: ConnectionPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.paths) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionPaths { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: ConnectionPaths): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + + if (message.paths) { + obj.paths = message.paths.map(e => e); + } else { + obj.paths = []; + } + + return obj; + }, + + fromPartial(object: Partial): ConnectionPaths { + const message = createBaseConnectionPaths(); + message.clientId = object.clientId ?? ""; + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseVersion(): Version { + return { + identifier: "", + features: [] + }; +} + +export const Version = { + encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifier !== "") { + writer.uint32(10).string(message.identifier); + } + + for (const v of message.features) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Version { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifier = reader.string(); + break; + + case 2: + message.features.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Version { + return { + identifier: isSet(object.identifier) ? String(object.identifier) : "", + features: Array.isArray(object?.features) ? object.features.map((e: any) => String(e)) : [] + }; + }, + + toJSON(message: Version): unknown { + const obj: any = {}; + message.identifier !== undefined && (obj.identifier = message.identifier); + + if (message.features) { + obj.features = message.features.map(e => e); + } else { + obj.features = []; + } + + return obj; + }, + + fromPartial(object: Partial): Version { + const message = createBaseVersion(); + message.identifier = object.identifier ?? ""; + message.features = object.features?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxExpectedTimePerBlock: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxExpectedTimePerBlock.isZero()) { + writer.uint32(8).uint64(message.maxExpectedTimePerBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxExpectedTimePerBlock = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Params { + return { + maxExpectedTimePerBlock: isSet(object.maxExpectedTimePerBlock) ? Long.fromString(object.maxExpectedTimePerBlock) : Long.UZERO + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + message.maxExpectedTimePerBlock !== undefined && (obj.maxExpectedTimePerBlock = (message.maxExpectedTimePerBlock || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts new file mode 100644 index 000000000..91a46ff82 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts @@ -0,0 +1,117 @@ +import { IdentifiedConnection, ConnectionPaths, Params } from "./connection"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc connection submodule's genesis state. */ +export interface GenesisState { + connections: IdentifiedConnection[]; + clientConnectionPaths: ConnectionPaths[]; + + /** the sequence for the next generated connection identifier */ + nextConnectionSequence: Long; + params: Params | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + connections: [], + clientConnectionPaths: [], + nextConnectionSequence: Long.UZERO, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientConnectionPaths) { + ConnectionPaths.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (!message.nextConnectionSequence.isZero()) { + writer.uint32(24).uint64(message.nextConnectionSequence); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.clientConnectionPaths.push(ConnectionPaths.decode(reader, reader.uint32())); + break; + + case 3: + message.nextConnectionSequence = (reader.uint64() as Long); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], + clientConnectionPaths: Array.isArray(object?.clientConnectionPaths) ? object.clientConnectionPaths.map((e: any) => ConnectionPaths.fromJSON(e)) : [], + nextConnectionSequence: isSet(object.nextConnectionSequence) ? Long.fromString(object.nextConnectionSequence) : Long.UZERO, + params: isSet(object.params) ? Params.fromJSON(object.params) : undefined + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + + if (message.connections) { + obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); + } else { + obj.connections = []; + } + + if (message.clientConnectionPaths) { + obj.clientConnectionPaths = message.clientConnectionPaths.map(e => e ? ConnectionPaths.toJSON(e) : undefined); + } else { + obj.clientConnectionPaths = []; + } + + message.nextConnectionSequence !== undefined && (obj.nextConnectionSequence = (message.nextConnectionSequence || Long.UZERO).toString()); + message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.clientConnectionPaths = object.clientConnectionPaths?.map(e => ConnectionPaths.fromPartial(e)) || []; + message.nextConnectionSequence = object.nextConnectionSequence !== undefined && object.nextConnectionSequence !== null ? Long.fromValue(object.nextConnectionSequence) : Long.UZERO; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts new file mode 100644 index 000000000..d49442213 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts @@ -0,0 +1,62 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { LCDClient } from "@osmonauts/lcd"; +import { setPaginationParams } from "@osmonauts/helpers"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +export class LCDQueryClient extends LCDClient { + constructor({ + restEndpoint + }: { + restEndpoint: string; + }) { + super({ + restEndpoint + }); + } + + /* Connection queries an IBC connection end. */ + async connection(params: QueryConnectionRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; + return await this.request(endpoint); + } + + /* Connections queries all the IBC connections of a chain. */ + async connections(params: QueryConnectionsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/connection/v1/connections`; + return await this.request(endpoint, options); + } + + /* ClientConnections queries the connection paths associated with a client + state. */ + async clientConnections(params: QueryClientConnectionsRequest): Promise { + const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; + return await this.request(endpoint); + } + + /* ConnectionClientState queries the client state associated with the + connection. */ + async connectionClientState(params: QueryConnectionClientStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; + return await this.request(endpoint); + } + + /* ConnectionConsensusState queries the consensus state associated with the + connection. */ + async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.request(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts new file mode 100644 index 000000000..c8aa8c327 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -0,0 +1,72 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + connection(request: QueryConnectionRequest): Promise; + /*Connection queries an IBC connection end.*/ + + connections(request: QueryConnectionsRequest): Promise; + /*Connections queries all the IBC connections of a chain.*/ + + clientConnections(request: QueryClientConnectionsRequest): Promise; + /*ClientConnections queries the connection paths associated with a client + state.*/ + + connectionClientState(request: QueryConnectionClientStateRequest): Promise; + /*ConnectionClientState queries the client state associated with the + connection.*/ + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; + /*ConnectionConsensusState queries the consensus state associated with the + connection.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); + } + + connection(request: QueryConnectionRequest): Promise { + const data = QueryConnectionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); + return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); + } + + connections(request: QueryConnectionsRequest): Promise { + const data = QueryConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); + return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); + } + + clientConnections(request: QueryClientConnectionsRequest): Promise { + const data = QueryClientConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); + return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); + } + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + const data = QueryConnectionClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); + return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); + } + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + const data = QueryConnectionConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); + return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.ts new file mode 100644 index 000000000..c6c0d9ac5 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.ts @@ -0,0 +1,869 @@ +import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, IdentifiedConnection } from "./connection"; +import { Height, IdentifiedClientState } from "../../client/v1/client"; +import { Any } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ +export interface QueryConnectionRequest { + /** connection unique identifier */ + connectionId: string; +} + +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ +export interface QueryConnectionResponse { + /** connection associated with the request identifier */ + connection: ConnectionEnd | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ +export interface QueryConnectionsRequest { + pagination?: PageRequest | undefined; +} + +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ +export interface QueryConnectionsResponse { + /** list of stored connections of the chain. */ + connections: IdentifiedConnection[]; + + /** pagination response */ + pagination?: PageResponse | undefined; + + /** query block height */ + height: Height | undefined; +} + +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsRequest { + /** client identifier associated with a connection */ + clientId: string; +} + +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsResponse { + /** slice of all the connection paths associated with a client. */ + connectionPaths: string[]; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was generated */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateRequest { + /** connection identifier */ + connectionId: string; +} + +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateResponse { + /** client state associated with the channel */ + identifiedClientState: IdentifiedClientState | undefined; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateRequest { + /** connection identifier */ + connectionId: string; + revisionNumber: Long; + revisionHeight: Long; +} + +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState: Any | undefined; + + /** client ID associated with the consensus state */ + clientId: string; + + /** merkle proof of existence */ + proof: Uint8Array; + + /** height at which the proof was retrieved */ + proofHeight: Height | undefined; +} + +function createBaseQueryConnectionRequest(): QueryConnectionRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionRequest = { + encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" + }; + }, + + toJSON(message: QueryConnectionRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionRequest { + const message = createBaseQueryConnectionRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionResponse(): QueryConnectionResponse { + return { + connection: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionResponse = { + encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionResponse { + return { + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionResponse): unknown { + const obj: any = {}; + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : 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): QueryConnectionResponse { + const message = createBaseQueryConnectionResponse(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { + return { + pagination: undefined + }; +} + +export const QueryConnectionsRequest = { + encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsRequest(); + + 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): QueryConnectionsRequest { + return { + pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined + }; + }, + + toJSON(message: QueryConnectionsRequest): unknown { + const obj: any = {}; + message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionsRequest { + const message = createBaseQueryConnectionsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { + return { + connections: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionsResponse = { + encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionsResponse { + return { + connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], + pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: QueryConnectionsResponse): unknown { + const obj: any = {}; + + if (message.connections) { + obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); + } else { + obj.connections = []; + } + + message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionsResponse { + const message = createBaseQueryConnectionsResponse(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest { + return { + clientId: "" + }; +} + +export const QueryClientConnectionsRequest = { + encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryClientConnectionsRequest { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "" + }; + }, + + toJSON(message: QueryClientConnectionsRequest): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + return obj; + }, + + fromPartial(object: Partial): QueryClientConnectionsRequest { + const message = createBaseQueryClientConnectionsRequest(); + message.clientId = object.clientId ?? ""; + return message; + } + +}; + +function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse { + return { + connectionPaths: [], + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientConnectionsResponse = { + encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connectionPaths) { + writer.uint32(10).string(v!); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionPaths.push(reader.string()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryClientConnectionsResponse { + return { + connectionPaths: Array.isArray(object?.connectionPaths) ? object.connectionPaths.map((e: any) => String(e)) : [], + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryClientConnectionsResponse): unknown { + const obj: any = {}; + + if (message.connectionPaths) { + obj.connectionPaths = message.connectionPaths.map(e => e); + } else { + obj.connectionPaths = []; + } + + 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): QueryClientConnectionsResponse { + const message = createBaseQueryClientConnectionsResponse(); + message.connectionPaths = object.connectionPaths?.map(e => e) || []; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionClientStateRequest = { + encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionClientStateRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" + }; + }, + + toJSON(message: QueryConnectionClientStateRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionClientStateRequest { + const message = createBaseQueryConnectionClientStateRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionClientStateResponse = { + encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionClientStateResponse { + return { + identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionClientStateResponse): unknown { + const obj: any = {}; + message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryConnectionClientStateResponse { + const message = createBaseQueryConnectionClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest { + return { + connectionId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryConnectionConsensusStateRequest = { + encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionConsensusStateRequest { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, + revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO + }; + }, + + toJSON(message: QueryConnectionConsensusStateRequest): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); + message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): QueryConnectionConsensusStateRequest { + const message = createBaseQueryConnectionConsensusStateRequest(); + message.connectionId = object.connectionId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionConsensusStateResponse = { + encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryConnectionConsensusStateResponse { + return { + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, + clientId: isSet(object.clientId) ? String(object.clientId) : "", + proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined + }; + }, + + toJSON(message: QueryConnectionConsensusStateResponse): unknown { + const obj: any = {}; + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + message.clientId !== undefined && (obj.clientId = message.clientId); + 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): QueryConnectionConsensusStateResponse { + const message = createBaseQueryConnectionConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts new file mode 100644 index 000000000..2ef8153ad --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts @@ -0,0 +1,347 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { MerklePrefix } from "../../commitment/v1/commitment"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export interface AminoMsgConnectionOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenInit"; + value: { + client_id: string; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + version: { + identifier: string; + features: string[]; + }; + delay_period: string; + signer: string; + }; +} +export interface AminoMsgConnectionOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenTry"; + value: { + client_id: string; + previous_connection_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + delay_period: string; + counterparty_versions: { + identifier: string; + features: string[]; + }[]; + proof_height: AminoHeight; + proof_init: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenAck"; + value: { + connection_id: string; + counterparty_connection_id: string; + version: { + identifier: string; + features: string[]; + }; + client_state: { + type_url: string; + value: Uint8Array; + }; + proof_height: AminoHeight; + proof_try: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenConfirm"; + value: { + connection_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.connection.v1.MsgConnectionOpenInit": { + aminoType: "cosmos-sdk/MsgConnectionOpenInit", + toAmino: ({ + clientId, + counterparty, + version, + delayPeriod, + signer + }: MsgConnectionOpenInit): AminoMsgConnectionOpenInit["value"] => { + return { + client_id: clientId, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delay_period: delayPeriod.toString(), + signer + }; + }, + fromAmino: ({ + client_id, + counterparty, + version, + delay_period, + signer + }: AminoMsgConnectionOpenInit["value"]): MsgConnectionOpenInit => { + return { + clientId: client_id, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delayPeriod: Long.fromString(delay_period), + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenTry": { + aminoType: "cosmos-sdk/MsgConnectionOpenTry", + toAmino: ({ + clientId, + previousConnectionId, + clientState, + counterparty, + delayPeriod, + counterpartyVersions, + proofHeight, + proofInit, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenTry): AminoMsgConnectionOpenTry["value"] => { + return { + client_id: clientId, + previous_connection_id: previousConnectionId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + delay_period: delayPeriod.toString(), + counterparty_versions: counterpartyVersions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_init: proofInit, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + client_id, + previous_connection_id, + client_state, + counterparty, + delay_period, + counterparty_versions, + proof_height, + proof_init, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenTry["value"]): MsgConnectionOpenTry => { + return { + clientId: client_id, + previousConnectionId: previous_connection_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + delayPeriod: Long.fromString(delay_period), + counterpartyVersions: counterparty_versions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofInit: proof_init, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenAck": { + aminoType: "cosmos-sdk/MsgConnectionOpenAck", + toAmino: ({ + connectionId, + counterpartyConnectionId, + version, + clientState, + proofHeight, + proofTry, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenAck): AminoMsgConnectionOpenAck["value"] => { + return { + connection_id: connectionId, + counterparty_connection_id: counterpartyConnectionId, + version: { + identifier: version.identifier, + features: version.features + }, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_try: proofTry, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + counterparty_connection_id, + version, + client_state, + proof_height, + proof_try, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenAck["value"]): MsgConnectionOpenAck => { + return { + connectionId: connection_id, + counterpartyConnectionId: counterparty_connection_id, + version: { + identifier: version.identifier, + features: version.features + }, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofTry: proof_try, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { + aminoType: "cosmos-sdk/MsgConnectionOpenConfirm", + toAmino: ({ + connectionId, + proofAck, + proofHeight, + signer + }: MsgConnectionOpenConfirm): AminoMsgConnectionOpenConfirm["value"] => { + return { + connection_id: connectionId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + proof_ack, + proof_height, + signer + }: AminoMsgConnectionOpenConfirm["value"]): MsgConnectionOpenConfirm => { + return { + connectionId: connection_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts new file mode 100644 index 000000000..9fef6dbdd --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts @@ -0,0 +1,163 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.encode(value).finish() + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.encode(value).finish() + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.encode(value).finish() + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.encode(value).finish() + }; + } + + }, + withTypeUrl: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value + }; + } + + }, + toJSON: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.toJSON(value) + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.toJSON(value) + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.toJSON(value) + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.toJSON(value) + }; + } + + }, + fromJSON: { + connectionOpenInit(value: any) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.fromJSON(value) + }; + }, + + connectionOpenTry(value: any) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.fromJSON(value) + }; + }, + + connectionOpenAck(value: any) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.fromJSON(value) + }; + }, + + connectionOpenConfirm(value: any) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.fromJSON(value) + }; + } + + }, + fromPartial: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.fromPartial(value) + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.fromPartial(value) + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.fromPartial(value) + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..c25e4f693 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -0,0 +1,59 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; + +/** Msg defines the RPC service */ +export interface Msg { + connectionOpenInit(request: MsgConnectionOpenInit): Promise; + /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ + + connectionOpenTry(request: MsgConnectionOpenTry): Promise; + /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ + + connectionOpenAck(request: MsgConnectionOpenAck): Promise; + /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; + /*ConnectionOpenConfirm defines a rpc handler method for + MsgConnectionOpenConfirm.*/ + +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connectionOpenInit = this.connectionOpenInit.bind(this); + this.connectionOpenTry = this.connectionOpenTry.bind(this); + this.connectionOpenAck = this.connectionOpenAck.bind(this); + this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); + } + + connectionOpenInit(request: MsgConnectionOpenInit): Promise { + const data = MsgConnectionOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); + return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); + } + + connectionOpenTry(request: MsgConnectionOpenTry): Promise { + const data = MsgConnectionOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); + return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); + } + + connectionOpenAck(request: MsgConnectionOpenAck): Promise { + const data = MsgConnectionOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); + return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); + } + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + const data = MsgConnectionOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); + return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts new file mode 100644 index 000000000..8ccaed5cb --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts @@ -0,0 +1,837 @@ +import { Counterparty, Version } from "./connection"; +import { Any } from "../../../../google/protobuf/any"; +import { Height } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ +export interface MsgConnectionOpenInit { + clientId: string; + counterparty: Counterparty | undefined; + version: Version | undefined; + delayPeriod: Long; + signer: string; +} + +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ +export interface MsgConnectionOpenInitResponse {} + +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ +export interface MsgConnectionOpenTry { + clientId: string; + + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + previousConnectionId: string; + clientState: Any | undefined; + counterparty: Counterparty | undefined; + delayPeriod: Long; + counterpartyVersions: Version[]; + proofHeight: Height | undefined; + + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + proofInit: Uint8Array; + + /** proof of client state included in message */ + proofClient: Uint8Array; + + /** proof of client consensus state */ + proofConsensus: Uint8Array; + consensusHeight: Height | undefined; + signer: string; +} + +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ +export interface MsgConnectionOpenTryResponse {} + +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ +export interface MsgConnectionOpenAck { + connectionId: string; + counterpartyConnectionId: string; + version: Version | undefined; + clientState: Any | undefined; + proofHeight: Height | undefined; + + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + proofTry: Uint8Array; + + /** proof of client state included in message */ + proofClient: Uint8Array; + + /** proof of client consensus state */ + proofConsensus: Uint8Array; + consensusHeight: Height | undefined; + signer: string; +} + +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ +export interface MsgConnectionOpenAckResponse {} + +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ +export interface MsgConnectionOpenConfirm { + connectionId: string; + + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proofAck: Uint8Array; + proofHeight: Height | undefined; + signer: string; +} + +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ +export interface MsgConnectionOpenConfirmResponse {} + +function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { + return { + clientId: "", + counterparty: undefined, + version: undefined, + delayPeriod: Long.UZERO, + signer: "" + }; +} + +export const MsgConnectionOpenInit = { + encode(message: MsgConnectionOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(18).fork()).ldelim(); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(32).uint64(message.delayPeriod); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenInit { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenInit): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenInit { + const message = createBaseMsgConnectionOpenInit(); + message.clientId = object.clientId ?? ""; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenInitResponse(): MsgConnectionOpenInitResponse { + return {}; +} + +export const MsgConnectionOpenInitResponse = { + encode(_: MsgConnectionOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenInitResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenInitResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenInitResponse { + const message = createBaseMsgConnectionOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { + return { + clientId: "", + previousConnectionId: "", + clientState: undefined, + counterparty: undefined, + delayPeriod: Long.UZERO, + counterpartyVersions: [], + proofHeight: undefined, + proofInit: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenTry = { + encode(message: MsgConnectionOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.previousConnectionId !== "") { + writer.uint32(18).string(message.previousConnectionId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + for (const v of message.counterpartyVersions) { + Version.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(58).fork()).ldelim(); + } + + if (message.proofInit.length !== 0) { + writer.uint32(66).bytes(message.proofInit); + } + + if (message.proofClient.length !== 0) { + writer.uint32(74).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(82).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(90).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(98).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.previousConnectionId = reader.string(); + break; + + case 3: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 6: + message.counterpartyVersions.push(Version.decode(reader, reader.uint32())); + break; + + case 7: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofInit = reader.bytes(); + break; + + case 9: + message.proofClient = reader.bytes(); + break; + + case 10: + message.proofConsensus = reader.bytes(); + break; + + case 11: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 12: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenTry { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + previousConnectionId: isSet(object.previousConnectionId) ? String(object.previousConnectionId) : "", + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, + counterpartyVersions: Array.isArray(object?.counterpartyVersions) ? object.counterpartyVersions.map((e: any) => Version.fromJSON(e)) : [], + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), + proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), + proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), + consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenTry): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.previousConnectionId !== undefined && (obj.previousConnectionId = message.previousConnectionId); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); + + if (message.counterpartyVersions) { + obj.counterpartyVersions = message.counterpartyVersions.map(e => e ? Version.toJSON(e) : undefined); + } else { + obj.counterpartyVersions = []; + } + + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); + message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); + message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); + message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenTry { + const message = createBaseMsgConnectionOpenTry(); + message.clientId = object.clientId ?? ""; + message.previousConnectionId = object.previousConnectionId ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.counterpartyVersions = object.counterpartyVersions?.map(e => Version.fromPartial(e)) || []; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenTryResponse(): MsgConnectionOpenTryResponse { + return {}; +} + +export const MsgConnectionOpenTryResponse = { + encode(_: MsgConnectionOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenTryResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenTryResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenTryResponse { + const message = createBaseMsgConnectionOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { + return { + connectionId: "", + counterpartyConnectionId: "", + version: undefined, + clientState: undefined, + proofHeight: undefined, + proofTry: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenAck = { + encode(message: MsgConnectionOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.counterpartyConnectionId !== "") { + writer.uint32(18).string(message.counterpartyConnectionId); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(34).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim(); + } + + if (message.proofTry.length !== 0) { + writer.uint32(50).bytes(message.proofTry); + } + + if (message.proofClient.length !== 0) { + writer.uint32(58).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(66).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(74).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(82).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.counterpartyConnectionId = reader.string(); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 6: + message.proofTry = reader.bytes(); + break; + + case 7: + message.proofClient = reader.bytes(); + break; + + case 8: + message.proofConsensus = reader.bytes(); + break; + + case 9: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 10: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenAck { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + counterpartyConnectionId: isSet(object.counterpartyConnectionId) ? String(object.counterpartyConnectionId) : "", + version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), + proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), + proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), + consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenAck): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.counterpartyConnectionId !== undefined && (obj.counterpartyConnectionId = message.counterpartyConnectionId); + message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); + message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); + message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); + message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenAck { + const message = createBaseMsgConnectionOpenAck(); + message.connectionId = object.connectionId ?? ""; + message.counterpartyConnectionId = object.counterpartyConnectionId ?? ""; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenAckResponse(): MsgConnectionOpenAckResponse { + return {}; +} + +export const MsgConnectionOpenAckResponse = { + encode(_: MsgConnectionOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenAckResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenAckResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenAckResponse { + const message = createBaseMsgConnectionOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { + return { + connectionId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenConfirm = { + encode(message: MsgConnectionOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(18).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.proofAck = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): MsgConnectionOpenConfirm { + return { + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), + proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, + signer: isSet(object.signer) ? String(object.signer) : "" + }; + }, + + toJSON(message: MsgConnectionOpenConfirm): unknown { + const obj: any = {}; + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); + message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); + message.signer !== undefined && (obj.signer = message.signer); + return obj; + }, + + fromPartial(object: Partial): MsgConnectionOpenConfirm { + const message = createBaseMsgConnectionOpenConfirm(); + message.connectionId = object.connectionId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirmResponse(): MsgConnectionOpenConfirmResponse { + return {}; +} + +export const MsgConnectionOpenConfirmResponse = { + encode(_: MsgConnectionOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): MsgConnectionOpenConfirmResponse { + return {}; + }, + + toJSON(_: MsgConnectionOpenConfirmResponse): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { + const message = createBaseMsgConnectionOpenConfirmResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts new file mode 100644 index 000000000..466bff1b0 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -0,0 +1,26 @@ +import { Order, Counterparty } from "../../channel/v1/channel"; +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; + +/** Query defines the RPC service */ +export interface Query { + appVersion(request: QueryAppVersionRequest): Promise; + /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.appVersion = this.appVersion.bind(this); + } + + appVersion(request: QueryAppVersionRequest): Promise { + const data = QueryAppVersionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); + return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.ts new file mode 100644 index 000000000..c1cdb8e64 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/port/v1/query.ts @@ -0,0 +1,204 @@ +import { Order, Counterparty, orderFromJSON, orderToJSON } from "../../channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ +export interface QueryAppVersionRequest { + /** port unique identifier */ + portId: string; + + /** connection unique identifier */ + connectionId: string; + + /** whether the channel is ordered or unordered */ + ordering: Order; + + /** counterparty channel end */ + counterparty: Counterparty | undefined; + + /** proposed version */ + proposedVersion: string; +} + +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ +export interface QueryAppVersionResponse { + /** port id associated with the request identifiers */ + portId: string; + + /** supported app version */ + version: string; +} + +function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { + return { + portId: "", + connectionId: "", + ordering: 0, + counterparty: undefined, + proposedVersion: "" + }; +} + +export const QueryAppVersionRequest = { + encode(message: QueryAppVersionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.ordering !== 0) { + writer.uint32(24).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (message.proposedVersion !== "") { + writer.uint32(42).string(message.proposedVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.ordering = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.proposedVersion = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppVersionRequest { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", + ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, + counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, + proposedVersion: isSet(object.proposedVersion) ? String(object.proposedVersion) : "" + }; + }, + + toJSON(message: QueryAppVersionRequest): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.connectionId !== undefined && (obj.connectionId = message.connectionId); + message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); + message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); + message.proposedVersion !== undefined && (obj.proposedVersion = message.proposedVersion); + return obj; + }, + + fromPartial(object: Partial): QueryAppVersionRequest { + const message = createBaseQueryAppVersionRequest(); + message.portId = object.portId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.proposedVersion = object.proposedVersion ?? ""; + return message; + } + +}; + +function createBaseQueryAppVersionResponse(): QueryAppVersionResponse { + return { + portId: "", + version: "" + }; +} + +export const QueryAppVersionResponse = { + encode(message: QueryAppVersionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): QueryAppVersionResponse { + return { + portId: isSet(object.portId) ? String(object.portId) : "", + version: isSet(object.version) ? String(object.version) : "" + }; + }, + + toJSON(message: QueryAppVersionResponse): unknown { + const obj: any = {}; + message.portId !== undefined && (obj.portId = message.portId); + message.version !== undefined && (obj.version = message.version); + return obj; + }, + + fromPartial(object: Partial): QueryAppVersionResponse { + const message = createBaseQueryAppVersionResponse(); + message.portId = object.portId ?? ""; + message.version = object.version ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts new file mode 100644 index 000000000..6e53d2f99 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts @@ -0,0 +1,99 @@ +//@ts-nocheck +import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; +import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; +import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** GenesisState defines the ibc module's genesis state. */ +export interface GenesisState { + /** ICS002 - Clients genesis state */ + clientGenesis: GenesisState1 | undefined; + + /** ICS003 - Connections genesis state */ + connectionGenesis: GenesisState2 | undefined; + + /** ICS004 - Channel genesis state */ + channelGenesis: GenesisState3 | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + clientGenesis: undefined, + connectionGenesis: undefined, + channelGenesis: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientGenesis !== undefined) { + GenesisState1.encode(message.clientGenesis, writer.uint32(10).fork()).ldelim(); + } + + if (message.connectionGenesis !== undefined) { + GenesisState2.encode(message.connectionGenesis, writer.uint32(18).fork()).ldelim(); + } + + if (message.channelGenesis !== undefined) { + GenesisState3.encode(message.channelGenesis, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clientGenesis = GenesisState1.decode(reader, reader.uint32()); + break; + + case 2: + message.connectionGenesis = GenesisState2.decode(reader, reader.uint32()); + break; + + case 3: + message.channelGenesis = GenesisState3.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): GenesisState { + return { + clientGenesis: isSet(object.clientGenesis) ? GenesisState1.fromJSON(object.clientGenesis) : undefined, + connectionGenesis: isSet(object.connectionGenesis) ? GenesisState2.fromJSON(object.connectionGenesis) : undefined, + channelGenesis: isSet(object.channelGenesis) ? GenesisState3.fromJSON(object.channelGenesis) : undefined + }; + }, + + toJSON(message: GenesisState): unknown { + const obj: any = {}; + message.clientGenesis !== undefined && (obj.clientGenesis = message.clientGenesis ? GenesisState1.toJSON(message.clientGenesis) : undefined); + message.connectionGenesis !== undefined && (obj.connectionGenesis = message.connectionGenesis ? GenesisState2.toJSON(message.connectionGenesis) : undefined); + message.channelGenesis !== undefined && (obj.channelGenesis = message.channelGenesis ? GenesisState3.toJSON(message.channelGenesis) : undefined); + return obj; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; + message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState.fromPartial(object.connectionGenesis) : undefined; + message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState.fromPartial(object.channelGenesis) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lcd.ts b/examples/telescope/codegen/ibc/lcd.ts new file mode 100644 index 000000000..a94dfcf73 --- /dev/null +++ b/examples/telescope/codegen/ibc/lcd.ts @@ -0,0 +1,107 @@ +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => ({ + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + client: { + v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + }, + connection: { + v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ + restEndpoint + }) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts new file mode 100644 index 000000000..b45f245ca --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -0,0 +1,84 @@ +import { Height } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; + +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ +export interface ClientState { + /** self chain ID */ + chainId: string; + + /** self latest block height */ + height: Height | undefined; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + height: undefined + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + chainId: isSet(object.chainId) ? String(object.chainId) : "", + height: isSet(object.height) ? Height.fromJSON(object.height) : undefined + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.chainId !== undefined && (obj.chainId = message.chainId); + message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts new file mode 100644 index 000000000..e0d19c412 --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -0,0 +1,1542 @@ +import { Any } from "../../../../google/protobuf/any"; +import { ConnectionEnd } from "../../../core/connection/v1/connection"; +import { Channel } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + default: + return "UNKNOWN"; + } +} + +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + + /** frozen sequence of the solo machine */ + frozenSequence: Long; + consensusState: ConsensusState | undefined; + + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + allowUpdateAfterProposal: boolean; +} + +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ +export interface ConsensusState { + /** public key of the solo machine */ + publicKey: Any | undefined; + + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} + +/** Header defines a solo machine consensus header */ +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey: Any | undefined; + newDiversifier: string; +} + +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne: SignatureAndData | undefined; + signatureTwo: SignatureAndData | undefined; +} + +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} + +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} + +/** SignBytes defines the signed bytes used for signature verification. */ +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + + /** type of the data used */ + dataType: DataType; + + /** marshaled data */ + data: Uint8Array; +} + +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderData { + /** header public key */ + newPubKey: Any | undefined; + + /** header diversifier */ + newDiversifier: string; +} + +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateData { + path: Uint8Array; + clientState: Any | undefined; +} + +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateData { + path: Uint8Array; + consensusState: Any | undefined; +} + +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateData { + path: Uint8Array; + connection: ConnectionEnd | undefined; +} + +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateData { + path: Uint8Array; + channel: Channel | undefined; +} + +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} + +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} + +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} + +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + frozenSequence: Long.UZERO, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.frozenSequence.isZero()) { + writer.uint32(16).uint64(message.frozenSequence); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.frozenSequence = (reader.uint64() as Long); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + frozenSequence: isSet(object.frozenSequence) ? Long.fromString(object.frozenSequence) : Long.UZERO, + consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, + allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.frozenSequence !== undefined && (obj.frozenSequence = (message.frozenSequence || Long.UZERO).toString()); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); + message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.frozenSequence = object.frozenSequence !== undefined && object.frozenSequence !== null ? Long.fromValue(object.frozenSequence) : Long.UZERO; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: Header): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, + signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); + message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureAndData { + return { + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: SignatureAndData): unknown { + const obj: any = {}; + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TimestampedSignatureData { + return { + signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: TimestampedSignatureData): unknown { + const obj: any = {}; + message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignBytes { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: SignBytes): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HeaderData { + return { + newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: HeaderData): unknown { + const obj: any = {}; + message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined + }; + }, + + toJSON(message: ClientStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined + }; + }, + + toJSON(message: ConsensusStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined + }; + }, + + toJSON(message: ConnectionStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ChannelStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined + }; + }, + + toJSON(message: ChannelStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + return obj; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketCommitmentData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() + }; + }, + + toJSON(message: PacketCommitmentData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketAcknowledgementData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() + }; + }, + + toJSON(message: PacketAcknowledgementData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketReceiptAbsenceData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() + }; + }, + + toJSON(message: PacketReceiptAbsenceData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NextSequenceRecvData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO + }; + }, + + toJSON(message: NextSequenceRecvData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts new file mode 100644 index 000000000..bc7f2d1cd --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -0,0 +1,1542 @@ +import { Any } from "../../../../google/protobuf/any"; +import { ConnectionEnd } from "../../../core/connection/v1/connection"; +import { Channel } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + default: + return "UNKNOWN"; + } +} + +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + + /** frozen sequence of the solo machine */ + isFrozen: boolean; + consensusState: ConsensusState | undefined; + + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + allowUpdateAfterProposal: boolean; +} + +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ +export interface ConsensusState { + /** public key of the solo machine */ + publicKey: Any | undefined; + + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} + +/** Header defines a solo machine consensus header */ +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey: Any | undefined; + newDiversifier: string; +} + +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne: SignatureAndData | undefined; + signatureTwo: SignatureAndData | undefined; +} + +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} + +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} + +/** SignBytes defines the signed bytes used for signature verification. */ +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + + /** type of the data used */ + dataType: DataType; + + /** marshaled data */ + data: Uint8Array; +} + +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderData { + /** header public key */ + newPubKey: Any | undefined; + + /** header diversifier */ + newDiversifier: string; +} + +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateData { + path: Uint8Array; + clientState: Any | undefined; +} + +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateData { + path: Uint8Array; + consensusState: Any | undefined; +} + +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateData { + path: Uint8Array; + connection: ConnectionEnd | undefined; +} + +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateData { + path: Uint8Array; + channel: Channel | undefined; +} + +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} + +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} + +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} + +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + isFrozen: false, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.isFrozen === true) { + writer.uint32(16).bool(message.isFrozen); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.isFrozen = reader.bool(); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + isFrozen: isSet(object.isFrozen) ? Boolean(object.isFrozen) : false, + consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, + allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.isFrozen !== undefined && (obj.isFrozen = message.isFrozen); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); + message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.isFrozen = object.isFrozen ?? false; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: Header): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, + signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); + message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignatureAndData { + return { + signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: SignatureAndData): unknown { + const obj: any = {}; + message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TimestampedSignatureData { + return { + signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO + }; + }, + + toJSON(message: TimestampedSignatureData): unknown { + const obj: any = {}; + message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SignBytes { + return { + sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, + timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, + diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", + dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() + }; + }, + + toJSON(message: SignBytes): unknown { + const obj: any = {}; + message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); + message.diversifier !== undefined && (obj.diversifier = message.diversifier); + message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); + message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HeaderData { + return { + newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, + newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" + }; + }, + + toJSON(message: HeaderData): unknown { + const obj: any = {}; + message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); + message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); + return obj; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined + }; + }, + + toJSON(message: ClientStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined + }; + }, + + toJSON(message: ConsensusStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConnectionStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined + }; + }, + + toJSON(message: ConnectionStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); + return obj; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ChannelStateData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined + }; + }, + + toJSON(message: ChannelStateData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); + return obj; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketCommitmentData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() + }; + }, + + toJSON(message: PacketCommitmentData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketAcknowledgementData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() + }; + }, + + toJSON(message: PacketAcknowledgementData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PacketReceiptAbsenceData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() + }; + }, + + toJSON(message: PacketReceiptAbsenceData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NextSequenceRecvData { + return { + path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), + nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO + }; + }, + + toJSON(message: NextSequenceRecvData): unknown { + const obj: any = {}; + message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); + message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts new file mode 100644 index 000000000..86d30d6d7 --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -0,0 +1,627 @@ +import { Duration } from "../../../../google/protobuf/duration"; +import { Height } from "../../../core/client/v1/client"; +import { ProofSpec } from "../../../../confio/proofs"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; +import { MerkleRoot } from "../../../core/commitment/v1/commitment"; +import { SignedHeader } from "../../../../tendermint/types/types"; +import { ValidatorSet } from "../../../../tendermint/types/validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; + +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ +export interface ClientState { + chainId: string; + trustLevel: Fraction | undefined; + + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + trustingPeriod: Duration | undefined; + + /** duration of the staking unbonding period */ + unbondingPeriod: Duration | undefined; + + /** defines how much new (untrusted) header's Time can drift into the future. */ + maxClockDrift: Duration | undefined; + + /** Block height when the client was frozen due to a misbehaviour */ + frozenHeight: Height | undefined; + + /** Latest height the client was updated to */ + latestHeight: Height | undefined; + + /** Proof specifications used in verifying counterparty state */ + proofSpecs: ProofSpec[]; + + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + upgradePath: string[]; + + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + allowUpdateAfterExpiry: boolean; + + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + allowUpdateAfterMisbehaviour: boolean; +} + +/** ConsensusState defines the consensus state from Tendermint. */ +export interface ConsensusState { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp: Date | undefined; + + /** commitment root (i.e app hash) */ + root: MerkleRoot | undefined; + nextValidatorsHash: Uint8Array; +} + +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ +export interface Misbehaviour { + clientId: string; + header_1: Header | undefined; + header_2: Header | undefined; +} + +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ +export interface Header { + signedHeader: SignedHeader | undefined; + validatorSet: ValidatorSet | undefined; + trustedHeight: Height | undefined; + trustedValidators: ValidatorSet | undefined; +} + +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ +export interface Fraction { + numerator: Long; + denominator: Long; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + trustLevel: undefined, + trustingPeriod: undefined, + unbondingPeriod: undefined, + maxClockDrift: undefined, + frozenHeight: undefined, + latestHeight: undefined, + proofSpecs: [], + upgradePath: [], + allowUpdateAfterExpiry: false, + allowUpdateAfterMisbehaviour: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.trustLevel !== undefined) { + Fraction.encode(message.trustLevel, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustingPeriod !== undefined) { + Duration.encode(message.trustingPeriod, writer.uint32(26).fork()).ldelim(); + } + + if (message.unbondingPeriod !== undefined) { + Duration.encode(message.unbondingPeriod, writer.uint32(34).fork()).ldelim(); + } + + if (message.maxClockDrift !== undefined) { + Duration.encode(message.maxClockDrift, writer.uint32(42).fork()).ldelim(); + } + + if (message.frozenHeight !== undefined) { + Height.encode(message.frozenHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.latestHeight !== undefined) { + Height.encode(message.latestHeight, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.proofSpecs) { + ProofSpec.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.upgradePath) { + writer.uint32(74).string(v!); + } + + if (message.allowUpdateAfterExpiry === true) { + writer.uint32(80).bool(message.allowUpdateAfterExpiry); + } + + if (message.allowUpdateAfterMisbehaviour === true) { + writer.uint32(88).bool(message.allowUpdateAfterMisbehaviour); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.trustLevel = Fraction.decode(reader, reader.uint32()); + break; + + case 3: + message.trustingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 4: + message.unbondingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 5: + message.maxClockDrift = Duration.decode(reader, reader.uint32()); + break; + + case 6: + message.frozenHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.latestHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofSpecs.push(ProofSpec.decode(reader, reader.uint32())); + break; + + case 9: + message.upgradePath.push(reader.string()); + break; + + case 10: + message.allowUpdateAfterExpiry = reader.bool(); + break; + + case 11: + message.allowUpdateAfterMisbehaviour = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ClientState { + return { + chainId: isSet(object.chainId) ? String(object.chainId) : "", + trustLevel: isSet(object.trustLevel) ? Fraction.fromJSON(object.trustLevel) : undefined, + trustingPeriod: isSet(object.trustingPeriod) ? Duration.fromJSON(object.trustingPeriod) : undefined, + unbondingPeriod: isSet(object.unbondingPeriod) ? Duration.fromJSON(object.unbondingPeriod) : undefined, + maxClockDrift: isSet(object.maxClockDrift) ? Duration.fromJSON(object.maxClockDrift) : undefined, + frozenHeight: isSet(object.frozenHeight) ? Height.fromJSON(object.frozenHeight) : undefined, + latestHeight: isSet(object.latestHeight) ? Height.fromJSON(object.latestHeight) : undefined, + proofSpecs: Array.isArray(object?.proofSpecs) ? object.proofSpecs.map((e: any) => ProofSpec.fromJSON(e)) : [], + upgradePath: Array.isArray(object?.upgradePath) ? object.upgradePath.map((e: any) => String(e)) : [], + allowUpdateAfterExpiry: isSet(object.allowUpdateAfterExpiry) ? Boolean(object.allowUpdateAfterExpiry) : false, + allowUpdateAfterMisbehaviour: isSet(object.allowUpdateAfterMisbehaviour) ? Boolean(object.allowUpdateAfterMisbehaviour) : false + }; + }, + + toJSON(message: ClientState): unknown { + const obj: any = {}; + message.chainId !== undefined && (obj.chainId = message.chainId); + message.trustLevel !== undefined && (obj.trustLevel = message.trustLevel ? Fraction.toJSON(message.trustLevel) : undefined); + message.trustingPeriod !== undefined && (obj.trustingPeriod = message.trustingPeriod); + message.unbondingPeriod !== undefined && (obj.unbondingPeriod = message.unbondingPeriod); + message.maxClockDrift !== undefined && (obj.maxClockDrift = message.maxClockDrift); + message.frozenHeight !== undefined && (obj.frozenHeight = message.frozenHeight ? Height.toJSON(message.frozenHeight) : undefined); + message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight ? Height.toJSON(message.latestHeight) : undefined); + + if (message.proofSpecs) { + obj.proofSpecs = message.proofSpecs.map(e => e ? ProofSpec.toJSON(e) : undefined); + } else { + obj.proofSpecs = []; + } + + if (message.upgradePath) { + obj.upgradePath = message.upgradePath.map(e => e); + } else { + obj.upgradePath = []; + } + + message.allowUpdateAfterExpiry !== undefined && (obj.allowUpdateAfterExpiry = message.allowUpdateAfterExpiry); + message.allowUpdateAfterMisbehaviour !== undefined && (obj.allowUpdateAfterMisbehaviour = message.allowUpdateAfterMisbehaviour); + return obj; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; + message.trustingPeriod = object.trustingPeriod ?? undefined; + message.unbondingPeriod = object.unbondingPeriod ?? undefined; + message.maxClockDrift = object.maxClockDrift ?? undefined; + message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; + message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; + message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; + message.upgradePath = object.upgradePath?.map(e => e) || []; + message.allowUpdateAfterExpiry = object.allowUpdateAfterExpiry ?? false; + message.allowUpdateAfterMisbehaviour = object.allowUpdateAfterMisbehaviour ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + timestamp: undefined, + root: undefined, + nextValidatorsHash: new Uint8Array() + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim(); + } + + if (message.root !== undefined) { + MerkleRoot.encode(message.root, writer.uint32(18).fork()).ldelim(); + } + + if (message.nextValidatorsHash.length !== 0) { + writer.uint32(26).bytes(message.nextValidatorsHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.root = MerkleRoot.decode(reader, reader.uint32()); + break; + + case 3: + message.nextValidatorsHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ConsensusState { + return { + timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, + root: isSet(object.root) ? MerkleRoot.fromJSON(object.root) : undefined, + nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array() + }; + }, + + toJSON(message: ConsensusState): unknown { + const obj: any = {}; + message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); + message.root !== undefined && (obj.root = message.root ? MerkleRoot.toJSON(message.root) : undefined); + message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); + return obj; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.timestamp = object.timestamp ?? undefined; + message.root = object.root !== undefined && object.root !== null ? MerkleRoot.fromPartial(object.root) : undefined; + message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + header_1: undefined, + header_2: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header_1 !== undefined) { + Header.encode(message.header_1, writer.uint32(18).fork()).ldelim(); + } + + if (message.header_2 !== undefined) { + Header.encode(message.header_2, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header_1 = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.header_2 = Header.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Misbehaviour { + return { + clientId: isSet(object.clientId) ? String(object.clientId) : "", + header_1: isSet(object.header_1) ? Header.fromJSON(object.header_1) : undefined, + header_2: isSet(object.header_2) ? Header.fromJSON(object.header_2) : undefined + }; + }, + + toJSON(message: Misbehaviour): unknown { + const obj: any = {}; + message.clientId !== undefined && (obj.clientId = message.clientId); + message.header_1 !== undefined && (obj.header_1 = message.header_1 ? Header.toJSON(message.header_1) : undefined); + message.header_2 !== undefined && (obj.header_2 = message.header_2 ? Header.toJSON(message.header_2) : undefined); + return obj; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.header_1 = object.header_1 !== undefined && object.header_1 !== null ? Header.fromPartial(object.header_1) : undefined; + message.header_2 = object.header_2 !== undefined && object.header_2 !== null ? Header.fromPartial(object.header_2) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + signedHeader: undefined, + validatorSet: undefined, + trustedHeight: undefined, + trustedValidators: undefined + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustedHeight !== undefined) { + Height.encode(message.trustedHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.trustedValidators !== undefined) { + ValidatorSet.encode(message.trustedValidators, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + case 3: + message.trustedHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.trustedValidators = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Header { + return { + signedHeader: isSet(object.signedHeader) ? SignedHeader.fromJSON(object.signedHeader) : undefined, + validatorSet: isSet(object.validatorSet) ? ValidatorSet.fromJSON(object.validatorSet) : undefined, + trustedHeight: isSet(object.trustedHeight) ? Height.fromJSON(object.trustedHeight) : undefined, + trustedValidators: isSet(object.trustedValidators) ? ValidatorSet.fromJSON(object.trustedValidators) : undefined + }; + }, + + toJSON(message: Header): 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); + message.trustedHeight !== undefined && (obj.trustedHeight = message.trustedHeight ? Height.toJSON(message.trustedHeight) : undefined); + message.trustedValidators !== undefined && (obj.trustedValidators = message.trustedValidators ? ValidatorSet.toJSON(message.trustedValidators) : undefined); + return obj; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + message.trustedHeight = object.trustedHeight !== undefined && object.trustedHeight !== null ? Height.fromPartial(object.trustedHeight) : undefined; + message.trustedValidators = object.trustedValidators !== undefined && object.trustedValidators !== null ? ValidatorSet.fromPartial(object.trustedValidators) : undefined; + return message; + } + +}; + +function createBaseFraction(): Fraction { + return { + numerator: Long.UZERO, + denominator: Long.UZERO + }; +} + +export const Fraction = { + encode(message: Fraction, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.numerator.isZero()) { + writer.uint32(8).uint64(message.numerator); + } + + if (!message.denominator.isZero()) { + writer.uint32(16).uint64(message.denominator); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fraction { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFraction(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.numerator = (reader.uint64() as Long); + break; + + case 2: + message.denominator = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Fraction { + return { + numerator: isSet(object.numerator) ? Long.fromString(object.numerator) : Long.UZERO, + denominator: isSet(object.denominator) ? Long.fromString(object.denominator) : Long.UZERO + }; + }, + + toJSON(message: Fraction): unknown { + const obj: any = {}; + message.numerator !== undefined && (obj.numerator = (message.numerator || Long.UZERO).toString()); + message.denominator !== undefined && (obj.denominator = (message.denominator || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Fraction { + const message = createBaseFraction(); + message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; + message.denominator = object.denominator !== undefined && object.denominator !== null ? Long.fromValue(object.denominator) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.query.ts b/examples/telescope/codegen/ibc/rpc.query.ts new file mode 100644 index 000000000..0568319fc --- /dev/null +++ b/examples/telescope/codegen/ibc/rpc.query.ts @@ -0,0 +1,76 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCQueryClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + app: { + v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + }, + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + nft: { + v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + params: { + v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + slashing: { + v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + staking: { + v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.rpc.query")).QueryClientImpl(rpc) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + client: { + v1: new (await import("./core/client/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + connection: { + v1: new (await import("./core/connection/v1/query.rpc.query")).QueryClientImpl(rpc) + }, + port: { + v1: new (await import("./core/port/v1/query.rpc.query")).QueryClientImpl(rpc) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.tx.ts b/examples/telescope/codegen/ibc/rpc.tx.ts new file mode 100644 index 000000000..42f534440 --- /dev/null +++ b/examples/telescope/codegen/ibc/rpc.tx.ts @@ -0,0 +1,67 @@ +import { Rpc } from "@osmonauts/helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + client: { + v1: new (await import("./core/client/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + connection: { + v1: new (await import("./core/connection/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/ics23/bundle.ts b/examples/telescope/codegen/ics23/bundle.ts new file mode 100644 index 000000000..dcacaf237 --- /dev/null +++ b/examples/telescope/codegen/ics23/bundle.ts @@ -0,0 +1,3 @@ +import * as _0 from "../confio/proofs"; +export const ics23 = { ..._0 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/index.ts b/examples/telescope/codegen/index.ts new file mode 100644 index 000000000..1ed82a54d --- /dev/null +++ b/examples/telescope/codegen/index.ts @@ -0,0 +1,17 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.19.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 "./ics23/bundle"; +export * from "./cosmos_proto/bundle"; +export * from "./cosmos/bundle"; +export * from "./cosmos/client"; +export * from "./cosmwasm/bundle"; +export * from "./cosmwasm/client"; +export * from "./gogoproto/bundle"; +export * from "./google/bundle"; +export * from "./ibc/bundle"; +export * from "./ibc/client"; +export * from "./tendermint/bundle"; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/abci/types.ts b/examples/telescope/codegen/tendermint/abci/types.ts new file mode 100644 index 000000000..f341a1795 --- /dev/null +++ b/examples/telescope/codegen/tendermint/abci/types.ts @@ -0,0 +1,4372 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Header } from "../types/types"; +import { ProofOps } from "../crypto/proof"; +import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params"; +import { PublicKey } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export enum CheckTxType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} +export function checkTxTypeFromJSON(object: any): CheckTxType { + switch (object) { + case 0: + case "NEW": + return CheckTxType.NEW; + + case 1: + case "RECHECK": + return CheckTxType.RECHECK; + + case -1: + case "UNRECOGNIZED": + default: + return CheckTxType.UNRECOGNIZED; + } +} +export function checkTxTypeToJSON(object: CheckTxType): string { + switch (object) { + case CheckTxType.NEW: + return "NEW"; + + case CheckTxType.RECHECK: + return "RECHECK"; + + default: + return "UNKNOWN"; + } +} +export 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseOfferSnapshot_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseOfferSnapshot_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseOfferSnapshot_Result.ABORT; + + case 3: + case "REJECT": + return ResponseOfferSnapshot_Result.REJECT; + + case 4: + case "REJECT_FORMAT": + return ResponseOfferSnapshot_Result.REJECT_FORMAT; + + case 5: + case "REJECT_SENDER": + return ResponseOfferSnapshot_Result.REJECT_SENDER; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseOfferSnapshot_Result.UNRECOGNIZED; + } +} +export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string { + switch (object) { + case ResponseOfferSnapshot_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseOfferSnapshot_Result.ACCEPT: + return "ACCEPT"; + + case ResponseOfferSnapshot_Result.ABORT: + return "ABORT"; + + case ResponseOfferSnapshot_Result.REJECT: + return "REJECT"; + + case ResponseOfferSnapshot_Result.REJECT_FORMAT: + return "REJECT_FORMAT"; + + case ResponseOfferSnapshot_Result.REJECT_SENDER: + return "REJECT_SENDER"; + + default: + return "UNKNOWN"; + } +} +export 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseApplySnapshotChunk_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseApplySnapshotChunk_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseApplySnapshotChunk_Result.ABORT; + + case 3: + case "RETRY": + return ResponseApplySnapshotChunk_Result.RETRY; + + case 4: + case "RETRY_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT; + + case 5: + case "REJECT_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseApplySnapshotChunk_Result.UNRECOGNIZED; + } +} +export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string { + switch (object) { + case ResponseApplySnapshotChunk_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseApplySnapshotChunk_Result.ACCEPT: + return "ACCEPT"; + + case ResponseApplySnapshotChunk_Result.ABORT: + return "ABORT"; + + case ResponseApplySnapshotChunk_Result.RETRY: + return "RETRY"; + + case ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT: + return "RETRY_SNAPSHOT"; + + case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: + return "REJECT_SNAPSHOT"; + + default: + return "UNKNOWN"; + } +} +export enum EvidenceType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} +export function evidenceTypeFromJSON(object: any): EvidenceType { + switch (object) { + case 0: + case "UNKNOWN": + return EvidenceType.UNKNOWN; + + case 1: + case "DUPLICATE_VOTE": + return EvidenceType.DUPLICATE_VOTE; + + case 2: + case "LIGHT_CLIENT_ATTACK": + return EvidenceType.LIGHT_CLIENT_ATTACK; + + case -1: + case "UNRECOGNIZED": + default: + return EvidenceType.UNRECOGNIZED; + } +} +export function evidenceTypeToJSON(object: EvidenceType): string { + switch (object) { + case EvidenceType.UNKNOWN: + return "UNKNOWN"; + + case EvidenceType.DUPLICATE_VOTE: + return "DUPLICATE_VOTE"; + + case EvidenceType.LIGHT_CLIENT_ATTACK: + return "LIGHT_CLIENT_ATTACK"; + + default: + return "UNKNOWN"; + } +} +export interface Request { + echo?: RequestEcho | undefined; + flush?: RequestFlush | undefined; + info?: RequestInfo | undefined; + setOption?: RequestSetOption | undefined; + initChain?: RequestInitChain | undefined; + query?: RequestQuery | undefined; + beginBlock?: RequestBeginBlock | undefined; + checkTx?: RequestCheckTx | undefined; + deliverTx?: RequestDeliverTx | undefined; + endBlock?: RequestEndBlock | undefined; + commit?: RequestCommit | undefined; + listSnapshots?: RequestListSnapshots | undefined; + offerSnapshot?: RequestOfferSnapshot | undefined; + loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; + applySnapshotChunk?: RequestApplySnapshotChunk | undefined; +} +export interface RequestEcho { + message: string; +} +export interface RequestFlush {} +export interface RequestInfo { + version: string; + blockVersion: Long; + p2pVersion: Long; +} + +/** nondeterministic */ +export interface RequestSetOption { + key: string; + value: string; +} +export interface RequestInitChain { + time: Date | undefined; + chainId: string; + consensusParams: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appStateBytes: Uint8Array; + initialHeight: Long; +} +export interface RequestQuery { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} +export interface RequestBeginBlock { + hash: Uint8Array; + header: Header | undefined; + lastCommitInfo: LastCommitInfo | undefined; + byzantineValidators: Evidence[]; +} +export interface RequestCheckTx { + tx: Uint8Array; + type: CheckTxType; +} +export interface RequestDeliverTx { + tx: Uint8Array; +} +export interface RequestEndBlock { + height: Long; +} +export interface RequestCommit {} + +/** lists available snapshots */ +export interface RequestListSnapshots {} + +/** offers a snapshot to the application */ +export interface RequestOfferSnapshot { + /** snapshot offered by peers */ + snapshot: Snapshot | undefined; + + /** light client-verified app hash for snapshot height */ + appHash: Uint8Array; +} + +/** loads a snapshot chunk */ +export interface RequestLoadSnapshotChunk { + height: Long; + format: number; + chunk: number; +} + +/** Applies a snapshot chunk */ +export interface RequestApplySnapshotChunk { + index: number; + chunk: Uint8Array; + sender: string; +} +export interface Response { + exception?: ResponseException | undefined; + echo?: ResponseEcho | undefined; + flush?: ResponseFlush | undefined; + info?: ResponseInfo | undefined; + setOption?: ResponseSetOption | undefined; + initChain?: ResponseInitChain | undefined; + query?: ResponseQuery | undefined; + beginBlock?: ResponseBeginBlock | undefined; + checkTx?: ResponseCheckTx | undefined; + deliverTx?: ResponseDeliverTx | undefined; + endBlock?: ResponseEndBlock | undefined; + commit?: ResponseCommit | undefined; + listSnapshots?: ResponseListSnapshots | undefined; + offerSnapshot?: ResponseOfferSnapshot | undefined; + loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; + applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; +} + +/** nondeterministic */ +export interface ResponseException { + error: string; +} +export interface ResponseEcho { + message: string; +} +export interface ResponseFlush {} +export interface ResponseInfo { + data: string; + version: string; + appVersion: Long; + lastBlockHeight: Long; + lastBlockAppHash: Uint8Array; +} + +/** nondeterministic */ +export interface ResponseSetOption { + code: number; + + /** bytes data = 2; */ + log: string; + info: string; +} +export interface ResponseInitChain { + consensusParams: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appHash: 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 | undefined; + height: Long; + codespace: string; +} +export interface ResponseBeginBlock { + events: Event[]; +} +export interface ResponseCheckTx { + code: number; + data: Uint8Array; + + /** nondeterministic */ + log: string; + + /** nondeterministic */ + info: string; + gasWanted: Long; + gasUsed: Long; + events: Event[]; + codespace: string; +} +export interface ResponseDeliverTx { + code: number; + data: Uint8Array; + + /** nondeterministic */ + log: string; + + /** nondeterministic */ + info: string; + gasWanted: Long; + gasUsed: Long; + events: Event[]; + codespace: string; +} +export interface ResponseEndBlock { + validatorUpdates: ValidatorUpdate[]; + consensusParamUpdates: ConsensusParams | undefined; + events: Event[]; +} +export interface ResponseCommit { + /** reserve 1 */ + data: Uint8Array; + retainHeight: Long; +} +export interface ResponseListSnapshots { + snapshots: Snapshot[]; +} +export interface ResponseOfferSnapshot { + result: ResponseOfferSnapshot_Result; +} +export interface ResponseLoadSnapshotChunk { + chunk: Uint8Array; +} +export interface ResponseApplySnapshotChunk { + result: ResponseApplySnapshotChunk_Result; + + /** Chunks to refetch and reapply */ + refetchChunks: number[]; + + /** Chunk senders to reject and ban */ + rejectSenders: string[]; +} + +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ +export interface ConsensusParams { + block: BlockParams | undefined; + evidence: EvidenceParams | undefined; + validator: ValidatorParams | undefined; + version: VersionParams | undefined; +} + +/** BlockParams contains limits on the block size. */ +export interface BlockParams { + /** Note: must be greater than 0 */ + maxBytes: Long; + + /** Note: must be greater or equal to -1 */ + maxGas: Long; +} +export interface LastCommitInfo { + round: number; + votes: VoteInfo[]; +} + +/** + * 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[]; +} + +/** EventAttribute is a single key-value pair, associated with an event. */ +export interface EventAttribute { + key: Uint8Array; + value: Uint8Array; + + /** nondeterministic */ + 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 | undefined; +} + +/** 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; +} + +/** ValidatorUpdate */ +export interface ValidatorUpdate { + pubKey: PublicKey | undefined; + power: Long; +} + +/** VoteInfo */ +export interface VoteInfo { + validator: Validator | undefined; + signedLastBlock: boolean; +} +export interface Evidence { + type: EvidenceType; + + /** The offending validator */ + validator: Validator | undefined; + + /** The height when the offense occurred */ + height: Long; + + /** The corresponding time where the offense occurred */ + time: Date | undefined; + + /** + * 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 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; +} + +function createBaseRequest(): Request { + return { + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Request = { + encode(message: Request, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.echo !== undefined) { + RequestEcho.encode(message.echo, writer.uint32(10).fork()).ldelim(); + } + + if (message.flush !== undefined) { + RequestFlush.encode(message.flush, writer.uint32(18).fork()).ldelim(); + } + + if (message.info !== undefined) { + RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim(); + } + + if (message.query !== undefined) { + RequestQuery.encode(message.query, writer.uint32(50).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + RequestBeginBlock.encode(message.beginBlock, writer.uint32(58).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + RequestCheckTx.encode(message.checkTx, writer.uint32(66).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + RequestDeliverTx.encode(message.deliverTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + RequestEndBlock.encode(message.endBlock, writer.uint32(82).fork()).ldelim(); + } + + if (message.commit !== undefined) { + RequestCommit.encode(message.commit, writer.uint32(90).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + RequestListSnapshots.encode(message.listSnapshots, writer.uint32(98).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + RequestOfferSnapshot.encode(message.offerSnapshot, writer.uint32(106).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + RequestLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(114).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Request { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.echo = RequestEcho.decode(reader, reader.uint32()); + break; + + case 2: + message.flush = RequestFlush.decode(reader, reader.uint32()); + break; + + case 3: + message.info = RequestInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.setOption = RequestSetOption.decode(reader, reader.uint32()); + break; + + case 5: + message.initChain = RequestInitChain.decode(reader, reader.uint32()); + break; + + case 6: + message.query = RequestQuery.decode(reader, reader.uint32()); + break; + + case 7: + message.beginBlock = RequestBeginBlock.decode(reader, reader.uint32()); + break; + + case 8: + message.checkTx = RequestCheckTx.decode(reader, reader.uint32()); + break; + + case 9: + message.deliverTx = RequestDeliverTx.decode(reader, reader.uint32()); + break; + + case 10: + message.endBlock = RequestEndBlock.decode(reader, reader.uint32()); + break; + + case 11: + message.commit = RequestCommit.decode(reader, reader.uint32()); + break; + + case 12: + message.listSnapshots = RequestListSnapshots.decode(reader, reader.uint32()); + break; + + case 13: + message.offerSnapshot = RequestOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 14: + message.loadSnapshotChunk = RequestLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 15: + message.applySnapshotChunk = RequestApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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, + setOption: isSet(object.setOption) ? RequestSetOption.fromJSON(object.setOption) : 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 + }; + }, + + 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.setOption !== undefined && (obj.setOption = message.setOption ? RequestSetOption.toJSON(message.setOption) : 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); + return obj; + }, + + fromPartial(object: Partial): Request { + const message = createBaseRequest(); + message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? RequestFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? RequestInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? RequestSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? RequestInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? RequestQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? RequestBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? RequestCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? RequestDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? RequestEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? RequestCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? RequestListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? RequestOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? RequestLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseRequestEcho(): RequestEcho { + return { + message: "" + }; +} + +export const RequestEcho = { + encode(message: RequestEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseRequestFlush(): RequestFlush { + return {}; +} + +export const RequestFlush = { + encode(_: RequestFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestFlush { + return {}; + }, + + toJSON(_: RequestFlush): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestFlush { + const message = createBaseRequestFlush(); + return message; + } + +}; + +function createBaseRequestInfo(): RequestInfo { + return { + version: "", + blockVersion: Long.UZERO, + p2pVersion: Long.UZERO + }; +} + +export const RequestInfo = { + encode(message: RequestInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.version !== "") { + writer.uint32(10).string(message.version); + } + + if (!message.blockVersion.isZero()) { + writer.uint32(16).uint64(message.blockVersion); + } + + if (!message.p2pVersion.isZero()) { + writer.uint32(24).uint64(message.p2pVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.version = reader.string(); + break; + + case 2: + message.blockVersion = (reader.uint64() as Long); + break; + + case 3: + message.p2pVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestInfo { + return { + version: isSet(object.version) ? String(object.version) : "", + blockVersion: isSet(object.blockVersion) ? Long.fromString(object.blockVersion) : Long.UZERO, + p2pVersion: isSet(object.p2pVersion) ? Long.fromString(object.p2pVersion) : Long.UZERO + }; + }, + + toJSON(message: RequestInfo): unknown { + const obj: any = {}; + message.version !== undefined && (obj.version = message.version); + message.blockVersion !== undefined && (obj.blockVersion = (message.blockVersion || Long.UZERO).toString()); + message.p2pVersion !== undefined && (obj.p2pVersion = (message.p2pVersion || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestInfo { + const message = createBaseRequestInfo(); + message.version = object.version ?? ""; + message.blockVersion = object.blockVersion !== undefined && object.blockVersion !== null ? Long.fromValue(object.blockVersion) : Long.UZERO; + message.p2pVersion = object.p2pVersion !== undefined && object.p2pVersion !== null ? Long.fromValue(object.p2pVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseRequestSetOption(): RequestSetOption { + return { + key: "", + value: "" + }; +} + +export const RequestSetOption = { + encode(message: RequestSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestSetOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestSetOption { + return { + key: isSet(object.key) ? String(object.key) : "", + value: isSet(object.value) ? String(object.value) : "" + }; + }, + + toJSON(message: RequestSetOption): unknown { + const obj: any = {}; + message.key !== undefined && (obj.key = message.key); + message.value !== undefined && (obj.value = message.value); + return obj; + }, + + fromPartial(object: Partial): RequestSetOption { + const message = createBaseRequestSetOption(); + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseRequestInitChain(): RequestInitChain { + return { + time: undefined, + chainId: "", + consensusParams: undefined, + validators: [], + appStateBytes: new Uint8Array(), + initialHeight: Long.ZERO + }; +} + +export const RequestInitChain = { + encode(message: RequestInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(18).string(message.chainId); + } + + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.appStateBytes.length !== 0) { + writer.uint32(42).bytes(message.appStateBytes); + } + + if (!message.initialHeight.isZero()) { + writer.uint32(48).int64(message.initialHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.chainId = reader.string(); + break; + + case 3: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 4: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 5: + message.appStateBytes = reader.bytes(); + break; + + case 6: + message.initialHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.initialHeight) : Long.ZERO + }; + }, + + toJSON(message: RequestInitChain): unknown { + const obj: any = {}; + message.time !== undefined && (obj.time = 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestInitChain { + const message = createBaseRequestInitChain(); + 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)) || []; + message.appStateBytes = object.appStateBytes ?? new Uint8Array(); + message.initialHeight = object.initialHeight !== undefined && object.initialHeight !== null ? Long.fromValue(object.initialHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestQuery(): RequestQuery { + return { + data: new Uint8Array(), + path: "", + height: Long.ZERO, + prove: false + }; +} + +export const RequestQuery = { + encode(message: RequestQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.prove === true) { + writer.uint32(32).bool(message.prove); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestQuery(); + + 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() as Long); + break; + + case 4: + message.prove = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.prove !== undefined && (obj.prove = message.prove); + return obj; + }, + + fromPartial(object: Partial): RequestQuery { + const message = createBaseRequestQuery(); + message.data = object.data ?? new Uint8Array(); + message.path = object.path ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.prove = object.prove ?? false; + return message; + } + +}; + +function createBaseRequestBeginBlock(): RequestBeginBlock { + return { + hash: new Uint8Array(), + header: undefined, + lastCommitInfo: undefined, + byzantineValidators: [] + }; +} + +export const RequestBeginBlock = { + encode(message: RequestBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastCommitInfo !== undefined) { + LastCommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.byzantineValidators) { + Evidence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.lastCommitInfo = LastCommitInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.byzantineValidators.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? LastCommitInfo.fromJSON(object.lastCommitInfo) : undefined, + byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Evidence.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 ? LastCommitInfo.toJSON(message.lastCommitInfo) : undefined); + + if (message.byzantineValidators) { + obj.byzantineValidators = message.byzantineValidators.map(e => e ? Evidence.toJSON(e) : undefined); + } else { + obj.byzantineValidators = []; + } + + return obj; + }, + + fromPartial(object: Partial): RequestBeginBlock { + const message = createBaseRequestBeginBlock(); + message.hash = object.hash ?? new Uint8Array(); + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.lastCommitInfo = object.lastCommitInfo !== undefined && object.lastCommitInfo !== null ? LastCommitInfo.fromPartial(object.lastCommitInfo) : undefined; + message.byzantineValidators = object.byzantineValidators?.map(e => Evidence.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseRequestCheckTx(): RequestCheckTx { + return { + tx: new Uint8Array(), + type: 0 + }; +} + +export const RequestCheckTx = { + encode(message: RequestCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + if (message.type !== 0) { + writer.uint32(16).int32(message.type); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + case 2: + message.type = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestCheckTx { + return { + tx: isSet(object.tx) ? bytesFromBase64(object.tx) : new Uint8Array(), + type: isSet(object.type) ? checkTxTypeFromJSON(object.type) : 0 + }; + }, + + 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(); + message.type = object.type ?? 0; + return message; + } + +}; + +function createBaseRequestDeliverTx(): RequestDeliverTx { + return { + tx: new Uint8Array() + }; +} + +export const RequestDeliverTx = { + encode(message: RequestDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseRequestEndBlock(): RequestEndBlock { + return { + height: Long.ZERO + }; +} + +export const RequestEndBlock = { + encode(message: RequestEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestEndBlock { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO + }; + }, + + toJSON(message: RequestEndBlock): unknown { + const obj: any = {}; + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): RequestEndBlock { + const message = createBaseRequestEndBlock(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestCommit(): RequestCommit { + return {}; +} + +export const RequestCommit = { + encode(_: RequestCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestCommit { + return {}; + }, + + toJSON(_: RequestCommit): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestCommit { + const message = createBaseRequestCommit(); + return message; + } + +}; + +function createBaseRequestListSnapshots(): RequestListSnapshots { + return {}; +} + +export const RequestListSnapshots = { + encode(_: RequestListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): RequestListSnapshots { + return {}; + }, + + toJSON(_: RequestListSnapshots): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): RequestListSnapshots { + const message = createBaseRequestListSnapshots(); + return message; + } + +}; + +function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { + return { + snapshot: undefined, + appHash: new Uint8Array() + }; +} + +export const RequestOfferSnapshot = { + encode(message: RequestOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.snapshot !== undefined) { + Snapshot.encode(message.snapshot, writer.uint32(10).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(18).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshot = Snapshot.decode(reader, reader.uint32()); + break; + + case 2: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseRequestLoadSnapshotChunk(): RequestLoadSnapshotChunk { + return { + height: Long.UZERO, + format: 0, + chunk: 0 + }; +} + +export const RequestLoadSnapshotChunk = { + encode(message: RequestLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).uint64(message.height); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + if (message.chunk !== 0) { + writer.uint32(24).uint32(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.uint64() as Long); + break; + + case 2: + message.format = reader.uint32(); + break; + + case 3: + message.chunk = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): RequestLoadSnapshotChunk { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunk = object.chunk ?? 0; + return message; + } + +}; + +function createBaseRequestApplySnapshotChunk(): RequestApplySnapshotChunk { + return { + index: 0, + chunk: new Uint8Array(), + sender: "" + }; +} + +export const RequestApplySnapshotChunk = { + encode(message: RequestApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.chunk.length !== 0) { + writer.uint32(18).bytes(message.chunk); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.chunk = reader.bytes(); + break; + + case 3: + message.sender = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.chunk = object.chunk ?? new Uint8Array(); + message.sender = object.sender ?? ""; + return message; + } + +}; + +function createBaseResponse(): Response { + return { + exception: undefined, + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Response = { + encode(message: Response, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exception !== undefined) { + ResponseException.encode(message.exception, writer.uint32(10).fork()).ldelim(); + } + + if (message.echo !== undefined) { + ResponseEcho.encode(message.echo, writer.uint32(18).fork()).ldelim(); + } + + if (message.flush !== undefined) { + ResponseFlush.encode(message.flush, writer.uint32(26).fork()).ldelim(); + } + + if (message.info !== undefined) { + ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim(); + } + + if (message.query !== undefined) { + ResponseQuery.encode(message.query, writer.uint32(58).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + ResponseBeginBlock.encode(message.beginBlock, writer.uint32(66).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + ResponseCheckTx.encode(message.checkTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + ResponseDeliverTx.encode(message.deliverTx, writer.uint32(82).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + ResponseEndBlock.encode(message.endBlock, writer.uint32(90).fork()).ldelim(); + } + + if (message.commit !== undefined) { + ResponseCommit.encode(message.commit, writer.uint32(98).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + ResponseListSnapshots.encode(message.listSnapshots, writer.uint32(106).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + ResponseOfferSnapshot.encode(message.offerSnapshot, writer.uint32(114).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + ResponseLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Response { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exception = ResponseException.decode(reader, reader.uint32()); + break; + + case 2: + message.echo = ResponseEcho.decode(reader, reader.uint32()); + break; + + case 3: + message.flush = ResponseFlush.decode(reader, reader.uint32()); + break; + + case 4: + message.info = ResponseInfo.decode(reader, reader.uint32()); + break; + + case 5: + message.setOption = ResponseSetOption.decode(reader, reader.uint32()); + break; + + case 6: + message.initChain = ResponseInitChain.decode(reader, reader.uint32()); + break; + + case 7: + message.query = ResponseQuery.decode(reader, reader.uint32()); + break; + + case 8: + message.beginBlock = ResponseBeginBlock.decode(reader, reader.uint32()); + break; + + case 9: + message.checkTx = ResponseCheckTx.decode(reader, reader.uint32()); + break; + + case 10: + message.deliverTx = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + case 11: + message.endBlock = ResponseEndBlock.decode(reader, reader.uint32()); + break; + + case 12: + message.commit = ResponseCommit.decode(reader, reader.uint32()); + break; + + case 13: + message.listSnapshots = ResponseListSnapshots.decode(reader, reader.uint32()); + break; + + case 14: + message.offerSnapshot = ResponseOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 15: + message.loadSnapshotChunk = ResponseLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 16: + message.applySnapshotChunk = ResponseApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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, + setOption: isSet(object.setOption) ? ResponseSetOption.fromJSON(object.setOption) : 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 + }; + }, + + 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.setOption !== undefined && (obj.setOption = message.setOption ? ResponseSetOption.toJSON(message.setOption) : 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); + return obj; + }, + + fromPartial(object: Partial): Response { + const message = createBaseResponse(); + message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; + message.echo = object.echo !== undefined && object.echo !== null ? ResponseEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? ResponseFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? ResponseInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? ResponseSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? ResponseInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? ResponseQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? ResponseBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? ResponseCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? ResponseDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? ResponseEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? ResponseCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? ResponseListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? ResponseOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? ResponseLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseResponseException(): ResponseException { + return { + error: "" + }; +} + +export const ResponseException = { + encode(message: ResponseException, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.error !== "") { + writer.uint32(10).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseException(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseResponseEcho(): ResponseEcho { + return { + message: "" + }; +} + +export const ResponseEcho = { + encode(message: ResponseEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + return message; + } + +}; + +function createBaseResponseFlush(): ResponseFlush { + return {}; +} + +export const ResponseFlush = { + encode(_: ResponseFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(_: any): ResponseFlush { + return {}; + }, + + toJSON(_: ResponseFlush): unknown { + const obj: any = {}; + return obj; + }, + + fromPartial(_: Partial): ResponseFlush { + const message = createBaseResponseFlush(); + return message; + } + +}; + +function createBaseResponseInfo(): ResponseInfo { + return { + data: "", + version: "", + appVersion: Long.UZERO, + lastBlockHeight: Long.ZERO, + lastBlockAppHash: new Uint8Array() + }; +} + +export const ResponseInfo = { + encode(message: ResponseInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data !== "") { + writer.uint32(10).string(message.data); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + if (!message.appVersion.isZero()) { + writer.uint32(24).uint64(message.appVersion); + } + + if (!message.lastBlockHeight.isZero()) { + writer.uint32(32).int64(message.lastBlockHeight); + } + + if (message.lastBlockAppHash.length !== 0) { + writer.uint32(42).bytes(message.lastBlockAppHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + case 3: + message.appVersion = (reader.uint64() as Long); + break; + + case 4: + message.lastBlockHeight = (reader.int64() as Long); + break; + + case 5: + message.lastBlockAppHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.appVersion) : Long.UZERO, + lastBlockHeight: isSet(object.lastBlockHeight) ? Long.fromString(object.lastBlockHeight) : Long.ZERO, + 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 || Long.UZERO).toString()); + message.lastBlockHeight !== undefined && (obj.lastBlockHeight = (message.lastBlockHeight || Long.ZERO).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 ?? ""; + message.version = object.version ?? ""; + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + message.lastBlockHeight = object.lastBlockHeight !== undefined && object.lastBlockHeight !== null ? Long.fromValue(object.lastBlockHeight) : Long.ZERO; + message.lastBlockAppHash = object.lastBlockAppHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseSetOption(): ResponseSetOption { + return { + code: 0, + log: "", + info: "" + }; +} + +export const ResponseSetOption = { + encode(message: ResponseSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseSetOption(); + + 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; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseSetOption { + return { + code: isSet(object.code) ? Number(object.code) : 0, + log: isSet(object.log) ? String(object.log) : "", + info: isSet(object.info) ? String(object.info) : "" + }; + }, + + toJSON(message: ResponseSetOption): 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); + return obj; + }, + + fromPartial(object: Partial): ResponseSetOption { + const message = createBaseResponseSetOption(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + return message; + } + +}; + +function createBaseResponseInitChain(): ResponseInitChain { + return { + consensusParams: undefined, + validators: [], + appHash: new Uint8Array() + }; +} + +export const ResponseInitChain = { + encode(message: ResponseInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(26).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 2: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 3: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validators = object.validators?.map(e => ValidatorUpdate.fromPartial(e)) || []; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseQuery(): ResponseQuery { + return { + code: 0, + log: "", + info: "", + index: Long.ZERO, + key: new Uint8Array(), + value: new Uint8Array(), + proofOps: undefined, + height: Long.ZERO, + codespace: "" + }; +} + +export const ResponseQuery = { + encode(message: ResponseQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + 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.isZero()) { + writer.uint32(72).int64(message.height); + } + + if (message.codespace !== "") { + writer.uint32(82).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseQuery(); + + 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() as Long); + 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() as Long); + break; + + case 10: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.index) : Long.ZERO, + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.codespace !== undefined && (obj.codespace = message.codespace); + return obj; + }, + + fromPartial(object: Partial): ResponseQuery { + const message = createBaseResponseQuery(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseBeginBlock(): ResponseBeginBlock { + return { + events: [] + }; +} + +export const ResponseBeginBlock = { + encode(message: ResponseBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + Event.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseResponseCheckTx(): ResponseCheckTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseCheckTx = { + encode(message: ResponseCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], + codespace: isSet(object.codespace) ? String(object.codespace) : "" + }; + }, + + 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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): ResponseCheckTx { + const message = createBaseResponseCheckTx(); + message.code = object.code ?? 0; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseDeliverTx(): ResponseDeliverTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseDeliverTx = { + encode(message: ResponseDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, + gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, + 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); + message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseEndBlock(): ResponseEndBlock { + return { + validatorUpdates: [], + consensusParamUpdates: undefined, + events: [] + }; +} + +export const ResponseEndBlock = { + encode(message: ResponseEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorUpdates) { + ValidatorUpdate.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusParamUpdates !== undefined) { + ConsensusParams.encode(message.consensusParamUpdates, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorUpdates.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 2: + message.consensusParamUpdates = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + message.consensusParamUpdates = object.consensusParamUpdates !== undefined && object.consensusParamUpdates !== null ? ConsensusParams.fromPartial(object.consensusParamUpdates) : undefined; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseResponseCommit(): ResponseCommit { + return { + data: new Uint8Array(), + retainHeight: Long.ZERO + }; +} + +export const ResponseCommit = { + encode(message: ResponseCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (!message.retainHeight.isZero()) { + writer.uint32(24).int64(message.retainHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.retainHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseCommit { + return { + data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), + retainHeight: isSet(object.retainHeight) ? Long.fromString(object.retainHeight) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ResponseCommit { + const message = createBaseResponseCommit(); + message.data = object.data ?? new Uint8Array(); + message.retainHeight = object.retainHeight !== undefined && object.retainHeight !== null ? Long.fromValue(object.retainHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseResponseListSnapshots(): ResponseListSnapshots { + return { + snapshots: [] + }; +} + +export const ResponseListSnapshots = { + encode(message: ResponseListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.snapshots) { + Snapshot.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshots.push(Snapshot.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; + +function createBaseResponseOfferSnapshot(): ResponseOfferSnapshot { + return { + result: 0 + }; +} + +export const ResponseOfferSnapshot = { + encode(message: ResponseOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseOfferSnapshot { + return { + result: isSet(object.result) ? responseOfferSnapshot_ResultFromJSON(object.result) : 0 + }; + }, + + 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; + return message; + } + +}; + +function createBaseResponseLoadSnapshotChunk(): ResponseLoadSnapshotChunk { + return { + chunk: new Uint8Array() + }; +} + +export const ResponseLoadSnapshotChunk = { + encode(message: ResponseLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chunk.length !== 0) { + writer.uint32(10).bytes(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chunk = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + return message; + } + +}; + +function createBaseResponseApplySnapshotChunk(): ResponseApplySnapshotChunk { + return { + result: 0, + refetchChunks: [], + rejectSenders: [] + }; +} + +export const ResponseApplySnapshotChunk = { + encode(message: ResponseApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + writer.uint32(18).fork(); + + for (const v of message.refetchChunks) { + writer.uint32(v); + } + + writer.ldelim(); + + for (const v of message.rejectSenders) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.refetchChunks.push(reader.uint32()); + } + } else { + message.refetchChunks.push(reader.uint32()); + } + + break; + + case 3: + message.rejectSenders.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ResponseApplySnapshotChunk { + return { + result: isSet(object.result) ? responseApplySnapshotChunk_ResultFromJSON(object.result) : 0, + 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; + message.refetchChunks = object.refetchChunks?.map(e => e) || []; + message.rejectSenders = object.rejectSenders?.map(e => e) || []; + return message; + } + +}; + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockParams { + return { + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, + maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO + }; + }, + + toJSON(message: BlockParams): unknown { + const obj: any = {}; + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + return message; + } + +}; + +function createBaseLastCommitInfo(): LastCommitInfo { + return { + round: 0, + votes: [] + }; +} + +export const LastCommitInfo = { + encode(message: LastCommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.round !== 0) { + writer.uint32(8).int32(message.round); + } + + for (const v of message.votes) { + VoteInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastCommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastCommitInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.round = reader.int32(); + break; + + case 2: + message.votes.push(VoteInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LastCommitInfo { + return { + round: isSet(object.round) ? Number(object.round) : 0, + votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [] + }; + }, + + toJSON(message: LastCommitInfo): 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): LastCommitInfo { + const message = createBaseLastCommitInfo(); + message.round = object.round ?? 0; + message.votes = object.votes?.map(e => VoteInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEvent(): Event { + return { + type: "", + attributes: [] + }; +} + +export const Event = { + encode(message: Event, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + EventAttribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Event { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(EventAttribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.attributes = object.attributes?.map(e => EventAttribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEventAttribute(): EventAttribute { + return { + key: new Uint8Array(), + value: new Uint8Array(), + index: false + }; +} + +export const EventAttribute = { + encode(message: EventAttribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.index === true) { + writer.uint32(24).bool(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventAttribute(); + + 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.index = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EventAttribute { + return { + key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), + value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), + index: isSet(object.index) ? Boolean(object.index) : false + }; + }, + + toJSON(message: EventAttribute): 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.index !== undefined && (obj.index = message.index); + return obj; + }, + + fromPartial(object: Partial): EventAttribute { + const message = createBaseEventAttribute(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.index = object.index ?? false; + return message; + } + +}; + +function createBaseTxResult(): TxResult { + return { + height: Long.ZERO, + index: 0, + tx: new Uint8Array(), + result: undefined + }; +} + +export const TxResult = { + encode(message: TxResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.index !== 0) { + writer.uint32(16).uint32(message.index); + } + + if (message.tx.length !== 0) { + writer.uint32(26).bytes(message.tx); + } + + if (message.result !== undefined) { + ResponseDeliverTx.encode(message.result, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.index = reader.uint32(); + break; + + case 3: + message.tx = reader.bytes(); + break; + + case 4: + message.result = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): TxResult { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.index = object.index ?? 0; + message.tx = object.tx ?? new Uint8Array(); + message.result = object.result !== undefined && object.result !== null ? ResponseDeliverTx.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + power: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 3: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Validator { + return { + address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorUpdate(): ValidatorUpdate { + return { + pubKey: undefined, + power: Long.ZERO + }; +} + +export const ValidatorUpdate = { + encode(message: ValidatorUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorUpdate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ValidatorUpdate { + return { + pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, + power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorUpdate { + const message = createBaseValidatorUpdate(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseVoteInfo(): VoteInfo { + return { + validator: undefined, + signedLastBlock: false + }; +} + +export const VoteInfo = { + encode(message: VoteInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + if (message.signedLastBlock === true) { + writer.uint32(16).bool(message.signedLastBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVoteInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 2: + message.signedLastBlock = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.signedLastBlock = object.signedLastBlock ?? false; + return message; + } + +}; + +function createBaseEvidence(): Evidence { + return { + type: 0, + validator: undefined, + height: Long.ZERO, + time: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(40).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Evidence { + return { + type: isSet(object.type) ? evidenceTypeFromJSON(object.type) : 0, + validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, + totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO + }; + }, + + toJSON(message: Evidence): unknown { + const obj: any = {}; + message.type !== undefined && (obj.type = evidenceTypeToJSON(message.type)); + message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); + message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); + message.time !== undefined && (obj.time = message.time.toISOString()); + message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Evidence { + const message = createBaseEvidence(); + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: new Uint8Array() + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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.length !== 0) { + writer.uint32(42).bytes(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Snapshot { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, + 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunks = object.chunks ?? 0; + message.hash = object.hash ?? new Uint8Array(); + message.metadata = object.metadata ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/bundle.ts b/examples/telescope/codegen/tendermint/bundle.ts new file mode 100644 index 000000000..63e9a909d --- /dev/null +++ b/examples/telescope/codegen/tendermint/bundle.ts @@ -0,0 +1,32 @@ +import * as _135 from "./abci/types"; +import * as _136 from "./crypto/keys"; +import * as _137 from "./crypto/proof"; +import * as _138 from "./libs/bits/types"; +import * as _139 from "./p2p/types"; +import * as _140 from "./types/block"; +import * as _141 from "./types/evidence"; +import * as _142 from "./types/params"; +import * as _143 from "./types/types"; +import * as _144 from "./types/validator"; +import * as _145 from "./version/types"; +export namespace tendermint { + export const abci = { ..._135 + }; + export const crypto = { ..._136, + ..._137 + }; + export namespace libs { + export const bits = { ..._138 + }; + } + export const p2p = { ..._139 + }; + export const types = { ..._140, + ..._141, + ..._142, + ..._143, + ..._144 + }; + export const version = { ..._145 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/keys.ts b/examples/telescope/codegen/tendermint/crypto/keys.ts new file mode 100644 index 000000000..344590142 --- /dev/null +++ b/examples/telescope/codegen/tendermint/crypto/keys.ts @@ -0,0 +1,77 @@ +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; + +/** PublicKey defines the keys available for use with Tendermint Validators */ +export interface PublicKey { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} + +function createBasePublicKey(): PublicKey { + return { + ed25519: undefined, + secp256k1: undefined + }; +} + +export const PublicKey = { + encode(message: PublicKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ed25519 !== undefined) { + writer.uint32(10).bytes(message.ed25519); + } + + if (message.secp256k1 !== undefined) { + writer.uint32(18).bytes(message.secp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePublicKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ed25519 = reader.bytes(); + break; + + case 2: + message.secp256k1 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.secp256k1 = object.secp256k1 ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/proof.ts b/examples/telescope/codegen/tendermint/crypto/proof.ts new file mode 100644 index 000000000..b75f5ec6a --- /dev/null +++ b/examples/telescope/codegen/tendermint/crypto/proof.ts @@ -0,0 +1,429 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export interface Proof { + total: Long; + index: Long; + leafHash: Uint8Array; + aunts: Uint8Array[]; +} +export interface ValueOp { + /** Encoded in ProofOp.Key. */ + key: Uint8Array; + + /** To encode in ProofOp.Data */ + proof: Proof | undefined; +} +export interface DominoOp { + 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; +} + +/** ProofOps is Merkle proof defined by the list of ProofOps */ +export interface ProofOps { + ops: ProofOp[]; +} + +function createBaseProof(): Proof { + return { + total: Long.ZERO, + index: Long.ZERO, + leafHash: new Uint8Array(), + aunts: [] + }; +} + +export const Proof = { + encode(message: Proof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.total.isZero()) { + writer.uint32(8).int64(message.total); + } + + if (!message.index.isZero()) { + writer.uint32(16).int64(message.index); + } + + if (message.leafHash.length !== 0) { + writer.uint32(26).bytes(message.leafHash); + } + + for (const v of message.aunts) { + writer.uint32(34).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = (reader.int64() as Long); + break; + + case 2: + message.index = (reader.int64() as Long); + break; + + case 3: + message.leafHash = reader.bytes(); + break; + + case 4: + message.aunts.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proof { + return { + total: isSet(object.total) ? Long.fromString(object.total) : Long.ZERO, + index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.total) : Long.ZERO; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + message.leafHash = object.leafHash ?? new Uint8Array(); + message.aunts = object.aunts?.map(e => e) || []; + return message; + } + +}; + +function createBaseValueOp(): ValueOp { + return { + key: new Uint8Array(), + proof: undefined + }; +} + +export const ValueOp = { + encode(message: ValueOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValueOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseDominoOp(): DominoOp { + return { + key: "", + input: "", + output: "" + }; +} + +export const DominoOp = { + encode(message: DominoOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.input !== "") { + writer.uint32(18).string(message.input); + } + + if (message.output !== "") { + writer.uint32(26).string(message.output); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDominoOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.input = reader.string(); + break; + + case 3: + message.output = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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 ?? ""; + message.input = object.input ?? ""; + message.output = object.output ?? ""; + return message; + } + +}; + +function createBaseProofOp(): ProofOp { + return { + type: "", + key: new Uint8Array(), + data: new Uint8Array() + }; +} + +export const ProofOp = { + encode(message: ProofOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ProofOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; + +function createBaseProofOps(): ProofOps { + return { + ops: [] + }; +} + +export const ProofOps = { + encode(message: ProofOps, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.ops) { + ProofOp.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/libs/bits/types.ts b/examples/telescope/codegen/tendermint/libs/bits/types.ts new file mode 100644 index 000000000..76319b490 --- /dev/null +++ b/examples/telescope/codegen/tendermint/libs/bits/types.ts @@ -0,0 +1,93 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; +export interface BitArray { + bits: Long; + elems: Long[]; +} + +function createBaseBitArray(): BitArray { + return { + bits: Long.ZERO, + elems: [] + }; +} + +export const BitArray = { + encode(message: BitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.bits.isZero()) { + writer.uint32(8).int64(message.bits); + } + + writer.uint32(18).fork(); + + for (const v of message.elems) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bits = (reader.int64() as Long); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.elems.push((reader.uint64() as Long)); + } + } else { + message.elems.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BitArray { + return { + bits: isSet(object.bits) ? Long.fromString(object.bits) : Long.ZERO, + elems: Array.isArray(object?.elems) ? object.elems.map((e: any) => Long.fromString(e)) : [] + }; + }, + + toJSON(message: BitArray): unknown { + const obj: any = {}; + message.bits !== undefined && (obj.bits = (message.bits || Long.ZERO).toString()); + + if (message.elems) { + obj.elems = message.elems.map(e => (e || Long.UZERO).toString()); + } else { + obj.elems = []; + } + + return obj; + }, + + fromPartial(object: Partial): BitArray { + const message = createBaseBitArray(); + message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; + message.elems = object.elems?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/p2p/types.ts b/examples/telescope/codegen/tendermint/p2p/types.ts new file mode 100644 index 000000000..131e862f7 --- /dev/null +++ b/examples/telescope/codegen/tendermint/p2p/types.ts @@ -0,0 +1,504 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +export interface ProtocolVersion { + p2p: Long; + block: Long; + app: Long; +} +export interface NodeInfo { + protocolVersion: ProtocolVersion | undefined; + nodeId: string; + listenAddr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other: NodeInfoOther | undefined; +} +export interface NodeInfoOther { + txIndex: string; + rpcAddress: string; +} +export interface PeerInfo { + id: string; + addressInfo: PeerAddressInfo[]; + lastConnected: Date | undefined; +} +export interface PeerAddressInfo { + address: string; + lastDialSuccess: Date | undefined; + lastDialFailure: Date | undefined; + dialFailures: number; +} + +function createBaseProtocolVersion(): ProtocolVersion { + return { + p2p: Long.UZERO, + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const ProtocolVersion = { + encode(message: ProtocolVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.p2p.isZero()) { + writer.uint32(8).uint64(message.p2p); + } + + if (!message.block.isZero()) { + writer.uint32(16).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(24).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProtocolVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.p2p = (reader.uint64() as Long); + break; + + case 2: + message.block = (reader.uint64() as Long); + break; + + case 3: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): ProtocolVersion { + return { + p2p: isSet(object.p2p) ? Long.fromString(object.p2p) : Long.UZERO, + block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, + app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO + }; + }, + + toJSON(message: ProtocolVersion): unknown { + const obj: any = {}; + message.p2p !== undefined && (obj.p2p = (message.p2p || Long.UZERO).toString()); + message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); + message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ProtocolVersion { + const message = createBaseProtocolVersion(); + message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; + +function createBaseNodeInfo(): NodeInfo { + return { + protocolVersion: undefined, + nodeId: "", + listenAddr: "", + network: "", + version: "", + channels: new Uint8Array(), + moniker: "", + other: undefined + }; +} + +export const NodeInfo = { + encode(message: NodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.protocolVersion !== undefined) { + ProtocolVersion.encode(message.protocolVersion, writer.uint32(10).fork()).ldelim(); + } + + if (message.nodeId !== "") { + writer.uint32(18).string(message.nodeId); + } + + if (message.listenAddr !== "") { + writer.uint32(26).string(message.listenAddr); + } + + if (message.network !== "") { + writer.uint32(34).string(message.network); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.channels.length !== 0) { + writer.uint32(50).bytes(message.channels); + } + + if (message.moniker !== "") { + writer.uint32(58).string(message.moniker); + } + + if (message.other !== undefined) { + NodeInfoOther.encode(message.other, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocolVersion = ProtocolVersion.decode(reader, reader.uint32()); + break; + + case 2: + message.nodeId = reader.string(); + break; + + case 3: + message.listenAddr = reader.string(); + break; + + case 4: + message.network = reader.string(); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.channels = reader.bytes(); + break; + + case 7: + message.moniker = reader.string(); + break; + + case 8: + message.other = NodeInfoOther.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NodeInfo { + return { + protocolVersion: isSet(object.protocolVersion) ? ProtocolVersion.fromJSON(object.protocolVersion) : undefined, + nodeId: isSet(object.nodeId) ? String(object.nodeId) : "", + 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) ? NodeInfoOther.fromJSON(object.other) : undefined + }; + }, + + toJSON(message: NodeInfo): unknown { + const obj: any = {}; + message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion ? ProtocolVersion.toJSON(message.protocolVersion) : undefined); + message.nodeId !== undefined && (obj.nodeId = message.nodeId); + 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 ? NodeInfoOther.toJSON(message.other) : undefined); + return obj; + }, + + fromPartial(object: Partial): NodeInfo { + const message = createBaseNodeInfo(); + message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; + message.nodeId = object.nodeId ?? ""; + message.listenAddr = object.listenAddr ?? ""; + message.network = object.network ?? ""; + message.version = object.version ?? ""; + message.channels = object.channels ?? new Uint8Array(); + message.moniker = object.moniker ?? ""; + message.other = object.other !== undefined && object.other !== null ? NodeInfoOther.fromPartial(object.other) : undefined; + return message; + } + +}; + +function createBaseNodeInfoOther(): NodeInfoOther { + return { + txIndex: "", + rpcAddress: "" + }; +} + +export const NodeInfoOther = { + encode(message: NodeInfoOther, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txIndex !== "") { + writer.uint32(10).string(message.txIndex); + } + + if (message.rpcAddress !== "") { + writer.uint32(18).string(message.rpcAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfoOther { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfoOther(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txIndex = reader.string(); + break; + + case 2: + message.rpcAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): NodeInfoOther { + return { + txIndex: isSet(object.txIndex) ? String(object.txIndex) : "", + rpcAddress: isSet(object.rpcAddress) ? String(object.rpcAddress) : "" + }; + }, + + toJSON(message: NodeInfoOther): unknown { + const obj: any = {}; + message.txIndex !== undefined && (obj.txIndex = message.txIndex); + message.rpcAddress !== undefined && (obj.rpcAddress = message.rpcAddress); + return obj; + }, + + fromPartial(object: Partial): NodeInfoOther { + const message = createBaseNodeInfoOther(); + message.txIndex = object.txIndex ?? ""; + message.rpcAddress = object.rpcAddress ?? ""; + return message; + } + +}; + +function createBasePeerInfo(): PeerInfo { + return { + id: "", + addressInfo: [], + lastConnected: undefined + }; +} + +export const PeerInfo = { + encode(message: PeerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + for (const v of message.addressInfo) { + PeerAddressInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastConnected !== undefined) { + Timestamp.encode(toTimestamp(message.lastConnected), writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.addressInfo.push(PeerAddressInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.lastConnected = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeerInfo { + return { + id: isSet(object.id) ? String(object.id) : "", + addressInfo: Array.isArray(object?.addressInfo) ? object.addressInfo.map((e: any) => PeerAddressInfo.fromJSON(e)) : [], + lastConnected: isSet(object.lastConnected) ? fromJsonTimestamp(object.lastConnected) : undefined + }; + }, + + toJSON(message: PeerInfo): unknown { + const obj: any = {}; + message.id !== undefined && (obj.id = message.id); + + if (message.addressInfo) { + obj.addressInfo = message.addressInfo.map(e => e ? PeerAddressInfo.toJSON(e) : undefined); + } else { + obj.addressInfo = []; + } + + message.lastConnected !== undefined && (obj.lastConnected = message.lastConnected.toISOString()); + return obj; + }, + + fromPartial(object: Partial): PeerInfo { + const message = createBasePeerInfo(); + message.id = object.id ?? ""; + message.addressInfo = object.addressInfo?.map(e => PeerAddressInfo.fromPartial(e)) || []; + message.lastConnected = object.lastConnected ?? undefined; + return message; + } + +}; + +function createBasePeerAddressInfo(): PeerAddressInfo { + return { + address: "", + lastDialSuccess: undefined, + lastDialFailure: undefined, + dialFailures: 0 + }; +} + +export const PeerAddressInfo = { + encode(message: PeerAddressInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.lastDialSuccess !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialSuccess), writer.uint32(18).fork()).ldelim(); + } + + if (message.lastDialFailure !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialFailure), writer.uint32(26).fork()).ldelim(); + } + + if (message.dialFailures !== 0) { + writer.uint32(32).uint32(message.dialFailures); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerAddressInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerAddressInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.lastDialSuccess = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.lastDialFailure = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.dialFailures = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): PeerAddressInfo { + return { + address: isSet(object.address) ? String(object.address) : "", + lastDialSuccess: isSet(object.lastDialSuccess) ? fromJsonTimestamp(object.lastDialSuccess) : undefined, + lastDialFailure: isSet(object.lastDialFailure) ? fromJsonTimestamp(object.lastDialFailure) : undefined, + dialFailures: isSet(object.dialFailures) ? Number(object.dialFailures) : 0 + }; + }, + + toJSON(message: PeerAddressInfo): unknown { + const obj: any = {}; + message.address !== undefined && (obj.address = message.address); + message.lastDialSuccess !== undefined && (obj.lastDialSuccess = message.lastDialSuccess.toISOString()); + message.lastDialFailure !== undefined && (obj.lastDialFailure = message.lastDialFailure.toISOString()); + message.dialFailures !== undefined && (obj.dialFailures = Math.round(message.dialFailures)); + return obj; + }, + + fromPartial(object: Partial): PeerAddressInfo { + const message = createBasePeerAddressInfo(); + message.address = object.address ?? ""; + message.lastDialSuccess = object.lastDialSuccess ?? undefined; + message.lastDialFailure = object.lastDialFailure ?? undefined; + message.dialFailures = object.dialFailures ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/block.ts b/examples/telescope/codegen/tendermint/types/block.ts new file mode 100644 index 000000000..fdb181db9 --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/block.ts @@ -0,0 +1,103 @@ +import { Header, Data, Commit } from "./types"; +import { EvidenceList } from "./evidence"; +import * as _m0 from "protobufjs/minimal"; +import { isSet } from "@osmonauts/helpers"; +export interface Block { + header: Header | undefined; + data: Data | undefined; + evidence: EvidenceList | undefined; + lastCommit: Commit | undefined; +} + +function createBaseBlock(): Block { + return { + header: undefined, + data: undefined, + evidence: undefined, + lastCommit: undefined + }; +} + +export const Block = { + encode(message: Block, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Block { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/evidence.ts b/examples/telescope/codegen/tendermint/types/evidence.ts new file mode 100644 index 000000000..acb465ecb --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/evidence.ts @@ -0,0 +1,378 @@ +import { Vote, LightBlock } from "./types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Validator } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +export interface Evidence { + duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; + lightClientAttackEvidence?: LightClientAttackEvidence | undefined; +} + +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ +export interface DuplicateVoteEvidence { + voteA: Vote | undefined; + voteB: Vote | undefined; + totalVotingPower: Long; + validatorPower: Long; + timestamp: Date | undefined; +} + +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ +export interface LightClientAttackEvidence { + conflictingBlock: LightBlock | undefined; + commonHeight: Long; + byzantineValidators: Validator[]; + totalVotingPower: Long; + timestamp: Date | undefined; +} +export interface EvidenceList { + evidence: Evidence[]; +} + +function createBaseEvidence(): Evidence { + return { + duplicateVoteEvidence: undefined, + lightClientAttackEvidence: undefined + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.duplicateVoteEvidence !== undefined) { + DuplicateVoteEvidence.encode(message.duplicateVoteEvidence, writer.uint32(10).fork()).ldelim(); + } + + if (message.lightClientAttackEvidence !== undefined) { + LightClientAttackEvidence.encode(message.lightClientAttackEvidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.duplicateVoteEvidence = DuplicateVoteEvidence.decode(reader, reader.uint32()); + break; + + case 2: + message.lightClientAttackEvidence = LightClientAttackEvidence.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.lightClientAttackEvidence = object.lightClientAttackEvidence !== undefined && object.lightClientAttackEvidence !== null ? LightClientAttackEvidence.fromPartial(object.lightClientAttackEvidence) : undefined; + return message; + } + +}; + +function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { + return { + voteA: undefined, + voteB: undefined, + totalVotingPower: Long.ZERO, + validatorPower: Long.ZERO, + timestamp: undefined + }; +} + +export const DuplicateVoteEvidence = { + encode(message: DuplicateVoteEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voteA !== undefined) { + Vote.encode(message.voteA, writer.uint32(10).fork()).ldelim(); + } + + if (message.voteB !== undefined) { + Vote.encode(message.voteB, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + if (!message.validatorPower.isZero()) { + writer.uint32(32).int64(message.validatorPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuplicateVoteEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voteA = Vote.decode(reader, reader.uint32()); + break; + + case 2: + message.voteB = Vote.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 4: + message.validatorPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO, + validatorPower: isSet(object.validatorPower) ? Long.fromString(object.validatorPower) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.validatorPower !== undefined && (obj.validatorPower = (message.validatorPower || Long.ZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = 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 ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.validatorPower = object.validatorPower !== undefined && object.validatorPower !== null ? Long.fromValue(object.validatorPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { + return { + conflictingBlock: undefined, + commonHeight: Long.ZERO, + byzantineValidators: [], + totalVotingPower: Long.ZERO, + timestamp: undefined + }; +} + +export const LightClientAttackEvidence = { + encode(message: LightClientAttackEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.conflictingBlock !== undefined) { + LightBlock.encode(message.conflictingBlock, writer.uint32(10).fork()).ldelim(); + } + + if (!message.commonHeight.isZero()) { + writer.uint32(16).int64(message.commonHeight); + } + + for (const v of message.byzantineValidators) { + Validator.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(32).int64(message.totalVotingPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightClientAttackEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.conflictingBlock = LightBlock.decode(reader, reader.uint32()); + break; + + case 2: + message.commonHeight = (reader.int64() as Long); + break; + + case 3: + message.byzantineValidators.push(Validator.decode(reader, reader.uint32())); + break; + + case 4: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): LightClientAttackEvidence { + return { + conflictingBlock: isSet(object.conflictingBlock) ? LightBlock.fromJSON(object.conflictingBlock) : undefined, + commonHeight: isSet(object.commonHeight) ? Long.fromString(object.commonHeight) : Long.ZERO, + byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Validator.fromJSON(e)) : [], + totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO, + 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 || Long.ZERO).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 || Long.ZERO).toString()); + message.timestamp !== undefined && (obj.timestamp = 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 ? Long.fromValue(object.commonHeight) : Long.ZERO; + message.byzantineValidators = object.byzantineValidators?.map(e => Validator.fromPartial(e)) || []; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseEvidenceList(): EvidenceList { + return { + evidence: [] + }; +} + +export const EvidenceList = { + encode(message: EvidenceList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Evidence.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceList(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.evidence.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/params.ts b/examples/telescope/codegen/tendermint/types/params.ts new file mode 100644 index 000000000..af175d89b --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/params.ts @@ -0,0 +1,531 @@ +import { Duration } from "../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, Long } from "@osmonauts/helpers"; + +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ +export interface ConsensusParams { + block: BlockParams | undefined; + evidence: EvidenceParams | undefined; + validator: ValidatorParams | undefined; + version: VersionParams | undefined; +} + +/** 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; + + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + timeIotaMs: 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 | undefined; + + /** + * 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; +} + +/** + * ValidatorParams restrict the public key types validators can use. + * NOTE: uses ABCI pubkey naming, not Amino names. + */ +export interface ValidatorParams { + pubKeyTypes: string[]; +} + +/** VersionParams contains the ABCI application version. */ +export interface VersionParams { + appVersion: Long; +} + +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ +export interface HashedParams { + blockMaxBytes: Long; + blockMaxGas: Long; +} + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO, + timeIotaMs: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + if (!message.timeIotaMs.isZero()) { + writer.uint32(24).int64(message.timeIotaMs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + case 3: + message.timeIotaMs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockParams { + return { + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, + maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO, + timeIotaMs: isSet(object.timeIotaMs) ? Long.fromString(object.timeIotaMs) : Long.ZERO + }; + }, + + toJSON(message: BlockParams): unknown { + const obj: any = {}; + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); + message.timeIotaMs !== undefined && (obj.timeIotaMs = (message.timeIotaMs || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + message.timeIotaMs = object.timeIotaMs !== undefined && object.timeIotaMs !== null ? Long.fromValue(object.timeIotaMs) : Long.ZERO; + return message; + } + +}; + +function createBaseEvidenceParams(): EvidenceParams { + return { + maxAgeNumBlocks: Long.ZERO, + maxAgeDuration: undefined, + maxBytes: Long.ZERO + }; +} + +export const EvidenceParams = { + encode(message: EvidenceParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxAgeNumBlocks.isZero()) { + writer.uint32(8).int64(message.maxAgeNumBlocks); + } + + if (message.maxAgeDuration !== undefined) { + Duration.encode(message.maxAgeDuration, writer.uint32(18).fork()).ldelim(); + } + + if (!message.maxBytes.isZero()) { + writer.uint32(24).int64(message.maxBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxAgeNumBlocks = (reader.int64() as Long); + break; + + case 2: + message.maxAgeDuration = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.maxBytes = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): EvidenceParams { + return { + maxAgeNumBlocks: isSet(object.maxAgeNumBlocks) ? Long.fromString(object.maxAgeNumBlocks) : Long.ZERO, + maxAgeDuration: isSet(object.maxAgeDuration) ? Duration.fromJSON(object.maxAgeDuration) : undefined, + maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO + }; + }, + + toJSON(message: EvidenceParams): unknown { + const obj: any = {}; + message.maxAgeNumBlocks !== undefined && (obj.maxAgeNumBlocks = (message.maxAgeNumBlocks || Long.ZERO).toString()); + message.maxAgeDuration !== undefined && (obj.maxAgeDuration = message.maxAgeDuration); + message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): EvidenceParams { + const message = createBaseEvidenceParams(); + message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; + message.maxAgeDuration = object.maxAgeDuration ?? undefined; + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorParams(): ValidatorParams { + return { + pubKeyTypes: [] + }; +} + +export const ValidatorParams = { + encode(message: ValidatorParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pubKeyTypes) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKeyTypes.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseVersionParams(): VersionParams { + return { + appVersion: Long.UZERO + }; +} + +export const VersionParams = { + encode(message: VersionParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.appVersion.isZero()) { + writer.uint32(8).uint64(message.appVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersionParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.appVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): VersionParams { + return { + appVersion: isSet(object.appVersion) ? Long.fromString(object.appVersion) : Long.UZERO + }; + }, + + toJSON(message: VersionParams): unknown { + const obj: any = {}; + message.appVersion !== undefined && (obj.appVersion = (message.appVersion || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): VersionParams { + const message = createBaseVersionParams(); + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseHashedParams(): HashedParams { + return { + blockMaxBytes: Long.ZERO, + blockMaxGas: Long.ZERO + }; +} + +export const HashedParams = { + encode(message: HashedParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockMaxBytes.isZero()) { + writer.uint32(8).int64(message.blockMaxBytes); + } + + if (!message.blockMaxGas.isZero()) { + writer.uint32(16).int64(message.blockMaxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHashedParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockMaxBytes = (reader.int64() as Long); + break; + + case 2: + message.blockMaxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): HashedParams { + return { + blockMaxBytes: isSet(object.blockMaxBytes) ? Long.fromString(object.blockMaxBytes) : Long.ZERO, + blockMaxGas: isSet(object.blockMaxGas) ? Long.fromString(object.blockMaxGas) : Long.ZERO + }; + }, + + toJSON(message: HashedParams): unknown { + const obj: any = {}; + message.blockMaxBytes !== undefined && (obj.blockMaxBytes = (message.blockMaxBytes || Long.ZERO).toString()); + message.blockMaxGas !== undefined && (obj.blockMaxGas = (message.blockMaxGas || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): HashedParams { + const message = createBaseHashedParams(); + message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; + message.blockMaxGas = object.blockMaxGas !== undefined && object.blockMaxGas !== null ? Long.fromValue(object.blockMaxGas) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/types.ts b/examples/telescope/codegen/tendermint/types/types.ts new file mode 100644 index 000000000..32fce40b4 --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/types.ts @@ -0,0 +1,1506 @@ +import { Proof } from "../crypto/proof"; +import { Consensus } from "../version/types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { ValidatorSet } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { isSet, bytesFromBase64, base64FromBytes, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; + +/** BlockIdFlag indicates which BlcokID the signature is for */ +export 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 function blockIDFlagFromJSON(object: any): BlockIDFlag { + switch (object) { + case 0: + case "BLOCK_ID_FLAG_UNKNOWN": + return BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN; + + case 1: + case "BLOCK_ID_FLAG_ABSENT": + return BlockIDFlag.BLOCK_ID_FLAG_ABSENT; + + case 2: + case "BLOCK_ID_FLAG_COMMIT": + return BlockIDFlag.BLOCK_ID_FLAG_COMMIT; + + case 3: + case "BLOCK_ID_FLAG_NIL": + return BlockIDFlag.BLOCK_ID_FLAG_NIL; + + case -1: + case "UNRECOGNIZED": + default: + return BlockIDFlag.UNRECOGNIZED; + } +} +export function blockIDFlagToJSON(object: BlockIDFlag): string { + switch (object) { + case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN: + return "BLOCK_ID_FLAG_UNKNOWN"; + + case BlockIDFlag.BLOCK_ID_FLAG_ABSENT: + return "BLOCK_ID_FLAG_ABSENT"; + + case BlockIDFlag.BLOCK_ID_FLAG_COMMIT: + return "BLOCK_ID_FLAG_COMMIT"; + + case BlockIDFlag.BLOCK_ID_FLAG_NIL: + return "BLOCK_ID_FLAG_NIL"; + + default: + return "UNKNOWN"; + } +} + +/** SignedMsgType is a type of signed message in the consensus. */ +export 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { + switch (object) { + case 0: + case "SIGNED_MSG_TYPE_UNKNOWN": + return SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN; + + case 1: + case "SIGNED_MSG_TYPE_PREVOTE": + return SignedMsgType.SIGNED_MSG_TYPE_PREVOTE; + + case 2: + case "SIGNED_MSG_TYPE_PRECOMMIT": + return SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT; + + case 32: + case "SIGNED_MSG_TYPE_PROPOSAL": + return SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL; + + case -1: + case "UNRECOGNIZED": + default: + return SignedMsgType.UNRECOGNIZED; + } +} +export function signedMsgTypeToJSON(object: SignedMsgType): string { + switch (object) { + case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN: + return "SIGNED_MSG_TYPE_UNKNOWN"; + + case SignedMsgType.SIGNED_MSG_TYPE_PREVOTE: + return "SIGNED_MSG_TYPE_PREVOTE"; + + case SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT: + return "SIGNED_MSG_TYPE_PRECOMMIT"; + + case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: + return "SIGNED_MSG_TYPE_PROPOSAL"; + + default: + return "UNKNOWN"; + } +} + +/** PartsetHeader */ +export interface PartSetHeader { + total: number; + hash: Uint8Array; +} +export interface Part { + index: number; + bytes: Uint8Array; + proof: Proof | undefined; +} + +/** BlockID */ +export interface BlockID { + hash: Uint8Array; + partSetHeader: PartSetHeader | undefined; +} + +/** Header defines the structure of a Tendermint block header. */ +export interface Header { + /** basic block info */ + version: Consensus | undefined; + chainId: string; + height: Long; + time: Date | undefined; + + /** prev block info */ + lastBlockId: BlockID | undefined; + + /** 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; +} + +/** 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[]; +} + +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ +export interface Vote { + type: SignedMsgType; + height: Long; + round: number; + + /** zero if vote is nil. */ + blockId: BlockID | undefined; + timestamp: Date | undefined; + validatorAddress: Uint8Array; + validatorIndex: 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 | undefined; + signatures: CommitSig[]; +} + +/** CommitSig is a part of the Vote included in a Commit. */ +export interface CommitSig { + blockIdFlag: BlockIDFlag; + validatorAddress: Uint8Array; + timestamp: Date | undefined; + signature: Uint8Array; +} +export interface Proposal { + type: SignedMsgType; + height: Long; + round: number; + polRound: number; + blockId: BlockID | undefined; + timestamp: Date | undefined; + signature: Uint8Array; +} +export interface SignedHeader { + header: Header | undefined; + commit: Commit | undefined; +} +export interface LightBlock { + signedHeader: SignedHeader | undefined; + validatorSet: ValidatorSet | undefined; +} +export interface BlockMeta { + blockId: BlockID | undefined; + blockSize: Long; + header: Header | undefined; + numTxs: 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 | undefined; +} + +function createBasePartSetHeader(): PartSetHeader { + return { + total: 0, + hash: new Uint8Array() + }; +} + +export const PartSetHeader = { + encode(message: PartSetHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.total !== 0) { + writer.uint32(8).uint32(message.total); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePartSetHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = reader.uint32(); + break; + + case 2: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBasePart(): Part { + return { + index: 0, + bytes: new Uint8Array(), + proof: undefined + }; +} + +export const Part = { + encode(message: Part, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.bytes.length !== 0) { + writer.uint32(18).bytes(message.bytes); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Part { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.bytes = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.bytes = object.bytes ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseBlockID(): BlockID { + return { + hash: new Uint8Array(), + partSetHeader: undefined + }; +} + +export const BlockID = { + encode(message: BlockID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.partSetHeader !== undefined) { + PartSetHeader.encode(message.partSetHeader, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockID(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.partSetHeader = PartSetHeader.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.partSetHeader = object.partSetHeader !== undefined && object.partSetHeader !== null ? PartSetHeader.fromPartial(object.partSetHeader) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + version: undefined, + chainId: "", + height: Long.ZERO, + time: undefined, + lastBlockId: undefined, + 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: new Uint8Array() + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(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.length !== 0) { + writer.uint32(114).bytes(message.proposerAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.time = fromTimestamp(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.bytes(); + 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) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).toString()); + message.time !== undefined && (obj.time = 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 ? Long.fromValue(object.height) : Long.ZERO; + 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(); + 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 ?? new Uint8Array(); + return message; + } + +}; + +function createBaseData(): Data { + return { + txs: [] + }; +} + +export const Data = { + encode(message: Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) || []; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + type: 0, + height: Long.ZERO, + round: 0, + blockId: undefined, + timestamp: undefined, + validatorAddress: new Uint8Array(), + validatorIndex: 0, + signature: new Uint8Array() + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(50).bytes(message.validatorAddress); + } + + if (message.validatorIndex !== 0) { + writer.uint32(56).int32(message.validatorIndex); + } + + if (message.signature.length !== 0) { + writer.uint32(66).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAddress = reader.bytes(); + break; + + case 7: + message.validatorIndex = reader.int32(); + break; + + case 8: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Vote { + return { + type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 = 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 ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.timestamp = object.timestamp ?? undefined; + message.validatorAddress = object.validatorAddress ?? new Uint8Array(); + message.validatorIndex = object.validatorIndex ?? 0; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseCommit(): Commit { + return { + height: Long.ZERO, + round: 0, + blockId: undefined, + signatures: [] + }; +} + +export const Commit = { + encode(message: Commit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(16).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.signatures) { + CommitSig.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.round = reader.int32(); + break; + + case 3: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 4: + message.signatures.push(CommitSig.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Commit { + return { + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.signatures = object.signatures?.map(e => CommitSig.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommitSig(): CommitSig { + return { + blockIdFlag: 0, + validatorAddress: new Uint8Array(), + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const CommitSig = { + encode(message: CommitSig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockIdFlag !== 0) { + writer.uint32(8).int32(message.blockIdFlag); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(18).bytes(message.validatorAddress); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(34).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitSig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockIdFlag = (reader.int32() as any); + break; + + case 2: + message.validatorAddress = reader.bytes(); + break; + + case 3: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): CommitSig { + return { + blockIdFlag: isSet(object.blockIdFlag) ? blockIDFlagFromJSON(object.blockIdFlag) : 0, + 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 = 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + type: 0, + height: Long.ZERO, + round: 0, + polRound: 0, + blockId: undefined, + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.polRound !== 0) { + writer.uint32(32).int32(message.polRound); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(58).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.polRound = reader.int32(); + break; + + case 5: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 6: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Proposal { + return { + type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, + height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, + 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 || Long.ZERO).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 = 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; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignedHeader(): SignedHeader { + return { + header: undefined, + commit: undefined + }; +} + +export const SignedHeader = { + encode(message: SignedHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + if (message.commit !== undefined) { + Commit.encode(message.commit, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignedHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.commit = Commit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.commit = object.commit !== undefined && object.commit !== null ? Commit.fromPartial(object.commit) : undefined; + return message; + } + +}; + +function createBaseLightBlock(): LightBlock { + return { + signedHeader: undefined, + validatorSet: undefined + }; +} + +export const LightBlock = { + encode(message: LightBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + return message; + } + +}; + +function createBaseBlockMeta(): BlockMeta { + return { + blockId: undefined, + blockSize: Long.ZERO, + header: undefined, + numTxs: Long.ZERO + }; +} + +export const BlockMeta = { + encode(message: BlockMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (!message.blockSize.isZero()) { + writer.uint32(16).int64(message.blockSize); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(26).fork()).ldelim(); + } + + if (!message.numTxs.isZero()) { + writer.uint32(32).int64(message.numTxs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockMeta(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 2: + message.blockSize = (reader.int64() as Long); + break; + + case 3: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 4: + message.numTxs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): BlockMeta { + return { + blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, + blockSize: isSet(object.blockSize) ? Long.fromString(object.blockSize) : Long.ZERO, + header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, + numTxs: isSet(object.numTxs) ? Long.fromString(object.numTxs) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); + message.numTxs !== undefined && (obj.numTxs = (message.numTxs || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): BlockMeta { + const message = createBaseBlockMeta(); + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.blockSize = object.blockSize !== undefined && object.blockSize !== null ? Long.fromValue(object.blockSize) : Long.ZERO; + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.numTxs = object.numTxs !== undefined && object.numTxs !== null ? Long.fromValue(object.numTxs) : Long.ZERO; + return message; + } + +}; + +function createBaseTxProof(): TxProof { + return { + rootHash: new Uint8Array(), + data: new Uint8Array(), + proof: undefined + }; +} + +export const TxProof = { + encode(message: TxProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rootHash.length !== 0) { + writer.uint32(10).bytes(message.rootHash); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rootHash = reader.bytes(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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(); + message.data = object.data ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/validator.ts b/examples/telescope/codegen/tendermint/types/validator.ts new file mode 100644 index 000000000..28963e1bd --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/validator.ts @@ -0,0 +1,267 @@ +import { PublicKey } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +export interface ValidatorSet { + validators: Validator[]; + proposer: Validator | undefined; + totalVotingPower: Long; +} +export interface Validator { + address: Uint8Array; + pubKey: PublicKey | undefined; + votingPower: Long; + proposerPriority: Long; +} +export interface SimpleValidator { + pubKey: PublicKey | undefined; + votingPower: Long; +} + +function createBaseValidatorSet(): ValidatorSet { + return { + validators: [], + proposer: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const ValidatorSet = { + encode(message: ValidatorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.proposer !== undefined) { + Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 2: + message.proposer = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): ValidatorSet { + const message = createBaseValidatorSet(); + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.proposer = object.proposer !== undefined && object.proposer !== null ? Validator.fromPartial(object.proposer) : undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 2: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 3: + message.votingPower = (reader.int64() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + 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) ? Long.fromString(object.votingPower) : Long.ZERO, + proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseSimpleValidator(): SimpleValidator { + return { + pubKey: undefined, + votingPower: Long.ZERO + }; +} + +export const SimpleValidator = { + encode(message: SimpleValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(16).int64(message.votingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimpleValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.votingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): SimpleValidator { + return { + pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, + votingPower: isSet(object.votingPower) ? Long.fromString(object.votingPower) : Long.ZERO + }; + }, + + 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 || Long.ZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): SimpleValidator { + const message = createBaseSimpleValidator(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/version/types.ts b/examples/telescope/codegen/tendermint/version/types.ts new file mode 100644 index 000000000..50b49b343 --- /dev/null +++ b/examples/telescope/codegen/tendermint/version/types.ts @@ -0,0 +1,160 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long, isSet } from "@osmonauts/helpers"; + +/** + * 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; +} + +/** + * 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; +} + +function createBaseApp(): App { + return { + protocol: Long.UZERO, + software: "" + }; +} + +export const App = { + encode(message: App, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.protocol.isZero()) { + writer.uint32(8).uint64(message.protocol); + } + + if (message.software !== "") { + writer.uint32(18).string(message.software); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): App { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseApp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocol = (reader.uint64() as Long); + break; + + case 2: + message.software = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): App { + return { + protocol: isSet(object.protocol) ? Long.fromString(object.protocol) : Long.UZERO, + software: isSet(object.software) ? String(object.software) : "" + }; + }, + + toJSON(message: App): unknown { + const obj: any = {}; + message.protocol !== undefined && (obj.protocol = (message.protocol || Long.UZERO).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 ? Long.fromValue(object.protocol) : Long.UZERO; + message.software = object.software ?? ""; + return message; + } + +}; + +function createBaseConsensus(): Consensus { + return { + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const Consensus = { + encode(message: Consensus, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.block.isZero()) { + writer.uint32(8).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(16).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Consensus { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensus(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = (reader.uint64() as Long); + break; + + case 2: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromJSON(object: any): Consensus { + return { + block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, + app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO + }; + }, + + toJSON(message: Consensus): unknown { + const obj: any = {}; + message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); + message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); + return obj; + }, + + fromPartial(object: Partial): Consensus { + const message = createBaseConsensus(); + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/components/astronaut.tsx b/examples/telescope/components/astronaut.tsx new file mode 100644 index 000000000..572884aa7 --- /dev/null +++ b/examples/telescope/components/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/telescope/components/features.tsx b/examples/telescope/components/features.tsx new file mode 100644 index 000000000..37852ca15 --- /dev/null +++ b/examples/telescope/components/features.tsx @@ -0,0 +1,45 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + HStack, + Icon, + Link, + Text, + VStack +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + ); +}; diff --git a/examples/telescope/components/index.tsx b/examples/telescope/components/index.tsx new file mode 100644 index 000000000..fbf3bb494 --- /dev/null +++ b/examples/telescope/components/index.tsx @@ -0,0 +1,5 @@ +export * from './types'; +export * from './wallet-connect'; +export * from './user-info'; +export * from './astronaut'; +export * from './features'; diff --git a/examples/telescope/components/types.tsx b/examples/telescope/components/types.tsx new file mode 100644 index 000000000..93f463d0e --- /dev/null +++ b/examples/telescope/components/types.tsx @@ -0,0 +1,38 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainId: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + userName: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} diff --git a/examples/telescope/components/user-info.tsx b/examples/telescope/components/user-info.tsx new file mode 100644 index 000000000..14534b5b4 --- /dev/null +++ b/examples/telescope/components/user-info.tsx @@ -0,0 +1,54 @@ +import React, { ReactNode } from 'react'; +import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from './types'; + +export const ConnectedUserCard = ({ + userName, + icon +}: ConnectedUserCardType) => { + return ( + + + {icon} + + + {userName} + + + ); +}; + +export const ConnectedUserInfo = ({ + name, + icon +}: { + name: string; + icon?: ReactNode; +}) => { + return ; +}; diff --git a/examples/telescope/components/wallet-connect.tsx b/examples/telescope/components/wallet-connect.tsx new file mode 100644 index 000000000..bdb2fdc72 --- /dev/null +++ b/examples/telescope/components/wallet-connect.tsx @@ -0,0 +1,121 @@ +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from './types'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from './types'; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnect = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning +}: { + buttonText: string; + wordOfWarning?: string; +}) => { + return ( + + + + + + + Warning:  + + {wordOfWarning} + + + + ); +}; + +export const NotExist = ({ buttonText }: { buttonText: string }) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + notExist +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.NotInit: + return <>{disconnect}; + case WalletStatus.Loading: + return <>{connecting}; + case WalletStatus.Loaded: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/telescope/config/features.ts b/examples/telescope/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/telescope/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/telescope/config/index.ts b/examples/telescope/config/index.ts new file mode 100644 index 000000000..f97c1231f --- /dev/null +++ b/examples/telescope/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; \ No newline at end of file diff --git a/examples/telescope/config/theme.ts b/examples/telescope/config/theme.ts new file mode 100644 index 000000000..b50e4954e --- /dev/null +++ b/examples/telescope/config/theme.ts @@ -0,0 +1,65 @@ +import { extendTheme } from "@chakra-ui/react" + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif', + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9', + }, + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em', + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', + }, + styles: { + global: { + 'html, #__next': { + height: '100%', + }, + '#__next': { + display: 'flex', + flexDirection: 'column', + }, + '.body': { + // todo check how to do this without breaking the site + // height: '100%', // Push footer to bottom + overflowY: 'scroll', // Always show scrollbar to avoid flickering + }, + html: { + scrollBehavior: 'smooth', + }, + '#nprogress': { + pointerEvents: 'none', + }, + '#nprogress .bar': { + background: 'green.200', + position: 'fixed', + zIndex: '1031', + top: 0, + left: 0, + width: '100%', + height: '2px', + }, + }, + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/telescope/next.config.js b/examples/telescope/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/telescope/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/telescope/package.json b/examples/telescope/package.json new file mode 100644 index 000000000..4994f6f28 --- /dev/null +++ b/examples/telescope/package.json @@ -0,0 +1,42 @@ +{ + "name": "@cosmonauts/connect-chain-with-telescope", + "version": "0.1.8", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "codegen": "node scripts/codegen.js" + }, + "dependencies": { + "@chakra-ui/icons": "^2.0.8", + "@chakra-ui/react": "^2.2.8", + "@cosmjs/cosmwasm-stargate": "0.28.13", + "@cosmjs/stargate": "0.28.13", + "@cosmos-kit/react": "^0.11.0", + "@cosmos-kit/types": "^0.11.0", + "@emotion/react": "11.10.0", + "@emotion/styled": "11.10.0", + "@osmonauts/helpers": "^0.4.3", + "@osmonauts/lcd": "^0.4.0", + "framer-motion": "7.2.1", + "next": "12.2.5", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "^4.4.0" + }, + "devDependencies": { + "@cosmjson/wasmswap": "^0.0.9", + "@osmonauts/telescope": "0.19.0", + "@protobufs/cosmos": "^0.0.11", + "@protobufs/cosmwasm": "^0.0.11", + "@protobufs/ibc": "^0.0.11", + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx new file mode 100644 index 000000000..6d7458251 --- /dev/null +++ b/examples/telescope/pages/_app.tsx @@ -0,0 +1,42 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { GasPrice } from '@cosmjs/stargate'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { ChainInfoID } from '@cosmos-kit/types'; +import { WalletManagerProvider } from '@cosmos-kit/react'; + +const LOCAL_STORAGE_KEY = 'connectedWalletId'; + +function MyApp({ Component, pageProps }: AppProps) { + return ( +

Loading...

} + localStorageKey={LOCAL_STORAGE_KEY} + defaultChainId={ChainInfoID.Cosmoshub4} + getSigningCosmWasmClientOptions={(chainInfo) => ({ + gasPrice: GasPrice.fromString( + '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom + ) + })} + getSigningStargateClientOptions={(chainInfo) => ({ + gasPrice: GasPrice.fromString( + '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom + ) + })} + > + + + +
+ ); +} + +export default MyApp; diff --git a/examples/telescope/pages/api/hello.ts b/examples/telescope/pages/api/hello.ts new file mode 100644 index 000000000..89e4d6bd9 --- /dev/null +++ b/examples/telescope/pages/api/hello.ts @@ -0,0 +1,13 @@ +// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +import type { NextApiRequest, NextApiResponse } from 'next'; + +type Data = { + name: string; +}; + +export default function handler( + req: NextApiRequest, + res: NextApiResponse +) { + res.status(200).json({ name: 'John Doe' }); +} diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx new file mode 100644 index 000000000..e5a09f1a1 --- /dev/null +++ b/examples/telescope/pages/index.tsx @@ -0,0 +1,149 @@ +import { + Box, + Divider, + Grid, + Heading, + SimpleGrid, + Text, + Stack, + Container +} from '@chakra-ui/react'; +import { + Connected, + ConnectedUserInfo, + Connecting, + Disconnect, + NotExist, + Rejected, + WalletConnectComponent, + Astronaut, + Dependency, + Product +} from '../components'; +import styles from '../styles/Home.module.css'; +import { useWalletManager, useWallet } from '@cosmos-kit/react'; +import { mapStatusFromCosmosWallet } from '../utils'; +import { MouseEventHandler } from 'react'; +import Head from 'next/head'; +import { dependencies, products } from '../config'; + +export default function Home() { + const { connect, disconnect } = useWalletManager(); + const { status, error, name, address } = useWallet(); + const walletStatus = mapStatusFromCosmosWallet(status, error as Error); + + const onClickConnect: MouseEventHandler = (e) => { + e.preventDefault(); + connect(); + }; + + const onClickDisconnect: MouseEventHandler = (e) => { + e.preventDefault(); + disconnect(); + }; + + const userInfoCard = name ? ( + } /> + ) : ( + <> + ); + + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={ + + } + notExist={} + /> + ); + + return ( +
+ + Create Cosmos App + + + +
+ + + + Cosmos Apps Made Easy
+
+ + Welcome to + + CosmosKit + Telescope + Next.js + + + + {userInfoCard} + {connectWalletButton} + +
+ + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency, i) => ( + + ))} + +
+
+ +
+ ); +} diff --git a/examples/telescope/proto/confio/LICENSE b/examples/telescope/proto/confio/LICENSE new file mode 100644 index 000000000..deaad1f50 --- /dev/null +++ b/examples/telescope/proto/confio/LICENSE @@ -0,0 +1,204 @@ +Confio/ICS23 +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2019 Confio UO + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope/proto/confio/README.md b/examples/telescope/proto/confio/README.md new file mode 100644 index 000000000..af52fb63a --- /dev/null +++ b/examples/telescope/proto/confio/README.md @@ -0,0 +1 @@ +# confio \ No newline at end of file diff --git a/examples/telescope/proto/confio/proofs.proto b/examples/telescope/proto/confio/proofs.proto new file mode 100644 index 000000000..da43503ec --- /dev/null +++ b/examples/telescope/proto/confio/proofs.proto @@ -0,0 +1,234 @@ +syntax = "proto3"; + +package ics23; +option go_package = "github.com/confio/ics23/go"; + +enum HashOp { + // NO_HASH is the default if no data passed. Note this is an illegal argument some places. + NO_HASH = 0; + SHA256 = 1; + SHA512 = 2; + KECCAK = 3; + RIPEMD160 = 4; + BITCOIN = 5; // ripemd160(sha256(x)) +} + +/** +LengthOp defines how to process the key and value of the LeafOp +to include length information. After encoding the length with the given +algorithm, the length will be prepended to the key and value bytes. +(Each one with it's own encoded length) +*/ +enum LengthOp { + // NO_PREFIX don't include any length info + NO_PREFIX = 0; + // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length + VAR_PROTO = 1; + // VAR_RLP uses rlp int encoding of the length + VAR_RLP = 2; + // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer + FIXED32_BIG = 3; + // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer + FIXED32_LITTLE = 4; + // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer + FIXED64_BIG = 5; + // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer + FIXED64_LITTLE = 6; + // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) + REQUIRE_32_BYTES = 7; + // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) + REQUIRE_64_BYTES = 8; +} + +/** +ExistenceProof takes a key and a value and a set of steps to perform on it. +The result of peforming all these steps will provide a "root hash", which can +be compared to the value in a header. + +Since it is computationally infeasible to produce a hash collission for any of the used +cryptographic hash functions, if someone can provide a series of operations to transform +a given key and value into a root hash that matches some trusted root, these key and values +must be in the referenced merkle tree. + +The only possible issue is maliablity in LeafOp, such as providing extra prefix data, +which should be controlled by a spec. Eg. with lengthOp as NONE, + prefix = FOO, key = BAR, value = CHOICE +and + prefix = F, key = OOBAR, value = CHOICE +would produce the same value. + +With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field +in the ProofSpec is valuable to prevent this mutability. And why all trees should +length-prefix the data before hashing it. +*/ +message ExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + repeated InnerOp path = 4; +} + +/* +NonExistenceProof takes a proof of two neighbors, one left of the desired key, +one right of the desired key. If both proofs are valid AND they are neighbors, +then there is no valid proof for the given key. +*/ +message NonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + ExistenceProof left = 2; + ExistenceProof right = 3; +} + +/* +CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages +*/ +message CommitmentProof { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + BatchProof batch = 3; + CompressedBatchProof compressed = 4; + } +} + +/** +LeafOp represents the raw key-value data we wish to prove, and +must be flexible to represent the internal transformation from +the original key-value pairs into the basis hash, for many existing +merkle trees. + +key and value are passed in. So that the signature of this operation is: + leafOp(key, value) -> output + +To process this, first prehash the keys and values if needed (ANY means no hash in this case): + hkey = prehashKey(key) + hvalue = prehashValue(value) + +Then combine the bytes, and hash it + output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) +*/ +message LeafOp { + HashOp hash = 1; + HashOp prehash_key = 2; + HashOp prehash_value = 3; + LengthOp length = 4; + // prefix is a fixed bytes that may optionally be included at the beginning to differentiate + // a leaf node from an inner node. + bytes prefix = 5; +} + +/** +InnerOp represents a merkle-proof step that is not a leaf. +It represents concatenating two children and hashing them to provide the next result. + +The result of the previous step is passed in, so the signature of this op is: + innerOp(child) -> output + +The result of applying InnerOp should be: + output = op.hash(op.prefix || child || op.suffix) + + where the || operator is concatenation of binary data, +and child is the result of hashing all the tree below this step. + +Any special data, like prepending child with the length, or prepending the entire operation with +some value to differentiate from leaf nodes, should be included in prefix and suffix. +If either of prefix or suffix is empty, we just treat it as an empty string +*/ +message InnerOp { + HashOp hash = 1; + bytes prefix = 2; + bytes suffix = 3; +} + + +/** +ProofSpec defines what the expected parameters are for a given proof type. +This can be stored in the client and used to validate any incoming proofs. + + verify(ProofSpec, Proof) -> Proof | Error + +As demonstrated in tests, if we don't fix the algorithm used to calculate the +LeafHash for a given tree, there are many possible key-value pairs that can +generate a given hash (by interpretting the preimage differently). +We need this for proper security, requires client knows a priori what +tree format server uses. But not in code, rather a configuration object. +*/ +message ProofSpec { + // any field in the ExistenceProof must be the same as in this spec. + // except Prefix, which is just the first bytes of prefix (spec can be longer) + LeafOp leaf_spec = 1; + InnerSpec inner_spec = 2; + // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) + int32 max_depth = 3; + // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) + int32 min_depth = 4; +} + +/* +InnerSpec contains all store-specific structure info to determine if two proofs from a +given store are neighbors. + +This enables: + + isLeftMost(spec: InnerSpec, op: InnerOp) + isRightMost(spec: InnerSpec, op: InnerOp) + isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) +*/ +message InnerSpec { + // Child order is the ordering of the children node, must count from 0 + // iavl tree is [0, 1] (left then right) + // merk is [0, 2, 1] (left, right, here) + repeated int32 child_order = 1; + int32 child_size = 2; + int32 min_prefix_length = 3; + int32 max_prefix_length = 4; + // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) + bytes empty_child = 5; + // hash is the algorithm that must be used for each InnerOp + HashOp hash = 6; +} + +/* +BatchProof is a group of multiple proof types than can be compressed +*/ +message BatchProof { + repeated BatchEntry entries = 1; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message BatchEntry { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + } +} + + +/****** all items here are compressed forms *******/ + +message CompressedBatchProof { + repeated CompressedBatchEntry entries = 1; + repeated InnerOp lookup_inners = 2; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message CompressedBatchEntry { + oneof proof { + CompressedExistenceProof exist = 1; + CompressedNonExistenceProof nonexist = 2; + } +} + +message CompressedExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + // these are indexes into the lookup_inners table in CompressedBatchProof + repeated int32 path = 4; +} + +message CompressedNonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + CompressedExistenceProof left = 2; + CompressedExistenceProof right = 3; +} diff --git a/examples/telescope/proto/cosmos/LICENSE b/examples/telescope/proto/cosmos/LICENSE new file mode 100644 index 000000000..063e03fc9 --- /dev/null +++ b/examples/telescope/proto/cosmos/LICENSE @@ -0,0 +1,204 @@ +Cosmos SDK +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/README.md b/examples/telescope/proto/cosmos/README.md new file mode 100644 index 000000000..98a49c6bd --- /dev/null +++ b/examples/telescope/proto/cosmos/README.md @@ -0,0 +1 @@ +# cosmos \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/app/v1alpha1/config.proto b/examples/telescope/proto/cosmos/app/v1alpha1/config.proto new file mode 100644 index 000000000..ed7750061 --- /dev/null +++ b/examples/telescope/proto/cosmos/app/v1alpha1/config.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "google/protobuf/any.proto"; + +// 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. +message Config { + // modules are the module configurations for the app. + repeated ModuleConfig modules = 1; +} + +// ModuleConfig is a module configuration for an app. +message 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. + string name = 1; + + // config is the config object for the module. Module config messages should + // define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. + google.protobuf.Any config = 2; +} diff --git a/examples/telescope/proto/cosmos/app/v1alpha1/module.proto b/examples/telescope/proto/cosmos/app/v1alpha1/module.proto new file mode 100644 index 000000000..599078d7e --- /dev/null +++ b/examples/telescope/proto/cosmos/app/v1alpha1/module.proto @@ -0,0 +1,93 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + // module indicates that this proto type is a config object for an app module + // and optionally provides other descriptive information about the module. + // It is recommended that a new module config object and go module is versioned + // for every state machine breaking version of a module. The recommended + // pattern for doing this is to put module config objects in a separate proto + // package from the API they expose. Ex: the cosmos.group.v1 API would be + // exposed by module configs cosmos.group.module.v1, cosmos.group.module.v2, etc. + ModuleDescriptor module = 57193479; +} + +// ModuleDescriptor describes an app module. +message ModuleDescriptor { + // go_import names the package that should be imported by an app to load the + // module in the runtime module registry. Either go_import must be defined here + // or the go_package option must be defined at the file level to indicate + // to users where to location the module implementation. go_import takes + // precedence over go_package when both are defined. + string go_import = 1; + + // 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. + repeated PackageReference use_package = 2; + + // 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. + repeated MigrateFromInfo can_migrate_from = 3; +} + +// PackageReference is a reference to a protobuf package used by a module. +message PackageReference { + // name is the fully-qualified name of the package. + string name = 1; + + // 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 fields containing the + // test "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 + uint32 revision = 2; +} + +// MigrateFromInfo is information on a module version that a newer module +// can migrate from. +message MigrateFromInfo { + + // module is the fully-qualified protobuf name of the module config object + // for the previous module version, ex: "cosmos.group.module.v1.Module". + string module = 1; +} diff --git a/examples/telescope/proto/cosmos/app/v1alpha1/query.proto b/examples/telescope/proto/cosmos/app/v1alpha1/query.proto new file mode 100644 index 000000000..efec9c81a --- /dev/null +++ b/examples/telescope/proto/cosmos/app/v1alpha1/query.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package cosmos.app.v1alpha1; + +import "cosmos/app/v1alpha1/config.proto"; + +// Query is the app module query service. +service Query { + + // Config returns the current app config. + rpc Config(QueryConfigRequest) returns (QueryConfigResponse) {} +} + +// QueryConfigRequest is the Query/Config request type. +message QueryConfigRequest {} + +// QueryConfigRequest is the Query/Config response type. +message QueryConfigResponse { + + // config is the current app config. + Config config = 1; +} diff --git a/examples/telescope/proto/cosmos/auth/v1beta1/auth.proto b/examples/telescope/proto/cosmos/auth/v1beta1/auth.proto new file mode 100644 index 000000000..963c6f151 --- /dev/null +++ b/examples/telescope/proto/cosmos/auth/v1beta1/auth.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// 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). +message BaseAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = false; + + option (cosmos_proto.implements_interface) = "AccountI"; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty"]; + uint64 account_number = 3; + uint64 sequence = 4; +} + +// ModuleAccount defines an account for modules that holds coins on a pool. +message ModuleAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "ModuleAccountI"; + + BaseAccount base_account = 1 [(gogoproto.embed) = true]; + string name = 2; + repeated string permissions = 3; +} + +// Params defines the parameters for the auth module. +message Params { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + uint64 max_memo_characters = 1; + uint64 tx_sig_limit = 2; + uint64 tx_size_cost_per_byte = 3; + uint64 sig_verify_cost_ed25519 = 4 [(gogoproto.customname) = "SigVerifyCostED25519"]; + uint64 sig_verify_cost_secp256k1 = 5 [(gogoproto.customname) = "SigVerifyCostSecp256k1"]; +} diff --git a/examples/telescope/proto/cosmos/auth/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/auth/v1beta1/genesis.proto new file mode 100644 index 000000000..c88b94ee4 --- /dev/null +++ b/examples/telescope/proto/cosmos/auth/v1beta1/genesis.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; +import "cosmos/auth/v1beta1/auth.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// GenesisState defines the auth module's genesis state. +message GenesisState { + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // accounts are the accounts present at genesis. + repeated google.protobuf.Any accounts = 2; +} diff --git a/examples/telescope/proto/cosmos/auth/v1beta1/query.proto b/examples/telescope/proto/cosmos/auth/v1beta1/query.proto new file mode 100644 index 000000000..7798da002 --- /dev/null +++ b/examples/telescope/proto/cosmos/auth/v1beta1/query.proto @@ -0,0 +1,130 @@ +syntax = "proto3"; +package cosmos.auth.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "cosmos/auth/v1beta1/auth.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; + +// Query defines the gRPC querier service. +service Query { + // Accounts returns all the existing accounts + // + // Since: cosmos-sdk 0.43 + rpc Accounts(QueryAccountsRequest) returns (QueryAccountsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/accounts"; + } + + // Account returns account details based on address. + rpc Account(QueryAccountRequest) returns (QueryAccountResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/accounts/{address}"; + } + + // Params queries all parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/params"; + } + + // ModuleAccounts returns all the existing module accounts. + rpc ModuleAccounts(QueryModuleAccountsRequest) returns (QueryModuleAccountsResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/module_accounts"; + } + + // Bech32 queries bech32Prefix + rpc Bech32Prefix(Bech32PrefixRequest) returns (Bech32PrefixResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32"; + } + + // AddressBytesToString converts Account Address bytes to string + rpc AddressBytesToString(AddressBytesToStringRequest) returns (AddressBytesToStringResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_bytes}"; + } + + // AddressStringToBytes converts Address string to bytes + rpc AddressStringToBytes(AddressStringToBytesRequest) returns (AddressStringToBytesResponse) { + option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_string}"; + } +} + +// QueryAccountsRequest is the request type for the Query/Accounts RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryAccountsRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryAccountsResponse is the response type for the Query/Accounts RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryAccountsResponse { + // accounts are the existing accounts + repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAccountRequest is the request type for the Query/Account RPC method. +message QueryAccountRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address defines the address to query for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. +message QueryModuleAccountsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryAccountResponse is the response type for the Query/Account RPC method. +message QueryAccountResponse { + // account defines the account of the corresponding address. + google.protobuf.Any account = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. +message QueryModuleAccountsResponse { + repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "ModuleAccountI"]; +} + +// Bech32PrefixRequest is the request type for Bech32Prefix rpc method +message Bech32PrefixRequest {} + +// Bech32PrefixResponse is the response type for Bech32Prefix rpc method +message Bech32PrefixResponse { + string bech32_prefix = 1; +} + +// AddressBytesToStringRequest is the request type for AddressString rpc method +message AddressBytesToStringRequest { + bytes address_bytes = 1; +} + +// AddressBytesToStringResponse is the response type for AddressString rpc method +message AddressBytesToStringResponse { + string address_string = 1; +} + +// AddressStringToBytesRequest is the request type for AccountBytes rpc method +message AddressStringToBytesRequest { + string address_string = 1; +} + +// AddressStringToBytesResponse is the response type for AddressBytes rpc method +message AddressStringToBytesResponse { + bytes address_bytes = 1; +} diff --git a/examples/telescope/proto/cosmos/authz/v1beta1/authz.proto b/examples/telescope/proto/cosmos/authz/v1beta1/authz.proto new file mode 100644 index 000000000..06ce288ab --- /dev/null +++ b/examples/telescope/proto/cosmos/authz/v1beta1/authz.proto @@ -0,0 +1,46 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option (gogoproto.goproto_getters_all) = false; + +// GenericAuthorization gives the grantee unrestricted permissions to execute +// the provided method on behalf of the granter's account. +message GenericAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + // Msg, identified by it's type URL, to grant unrestricted permissions to execute + string msg = 1; +} + +// Grant gives permissions to execute +// the provide method with expiration time. +message Grant { + google.protobuf.Any authorization = 1 [(cosmos_proto.accepts_interface) = "Authorization"]; + // 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) + google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = true]; +} + +// GrantAuthorization extends a grant with both the addresses of the grantee and granter. +// It is used in genesis.proto and query.proto +message GrantAuthorization { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "Authorization"]; + google.protobuf.Timestamp expiration = 4 [(gogoproto.stdtime) = true]; +} + +// GrantQueueItem contains the list of TypeURL of a sdk.Msg. +message GrantQueueItem { + // msg_type_urls contains the list of TypeURL of a sdk.Msg. + repeated string msg_type_urls = 1; +} diff --git a/examples/telescope/proto/cosmos/authz/v1beta1/event.proto b/examples/telescope/proto/cosmos/authz/v1beta1/event.proto new file mode 100644 index 000000000..0476649af --- /dev/null +++ b/examples/telescope/proto/cosmos/authz/v1beta1/event.proto @@ -0,0 +1,27 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// EventGrant is emitted on Msg/Grant +message EventGrant { + // Msg type URL for which an autorization is granted + string msg_type_url = 2; + // Granter account address + string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Grantee account address + string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventRevoke is emitted on Msg/Revoke +message EventRevoke { + // Msg type URL for which an autorization is revoked + string msg_type_url = 2; + // Granter account address + string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Grantee account address + string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} diff --git a/examples/telescope/proto/cosmos/authz/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/authz/v1beta1/genesis.proto new file mode 100644 index 000000000..310f62656 --- /dev/null +++ b/examples/telescope/proto/cosmos/authz/v1beta1/genesis.proto @@ -0,0 +1,13 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/authz/v1beta1/authz.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// GenesisState defines the authz module's genesis state. +message GenesisState { + repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/authz/v1beta1/query.proto b/examples/telescope/proto/cosmos/authz/v1beta1/query.proto new file mode 100644 index 000000000..62154ac19 --- /dev/null +++ b/examples/telescope/proto/cosmos/authz/v1beta1/query.proto @@ -0,0 +1,82 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos/authz/v1beta1/authz.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; + +// Query defines the gRPC querier service. +service Query { + // Returns list of `Authorization`, granted to the grantee by the granter. + rpc Grants(QueryGrantsRequest) returns (QueryGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants"; + } + + // GranterGrants returns list of `GrantAuthorization`, granted by granter. + // + // Since: cosmos-sdk 0.46 + rpc GranterGrants(QueryGranterGrantsRequest) returns (QueryGranterGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants/granter/{granter}"; + } + + // GranteeGrants returns a list of `GrantAuthorization` by grantee. + // + // Since: cosmos-sdk 0.46 + rpc GranteeGrants(QueryGranteeGrantsRequest) returns (QueryGranteeGrantsResponse) { + option (google.api.http).get = "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; + } +} + +// QueryGrantsRequest is the request type for the Query/Grants RPC method. +message QueryGrantsRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Optional, msg_type_url, when set, will query only grants matching given msg type. + string msg_type_url = 3; + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. +message QueryGrantsResponse { + // authorizations is a list of grants granted for grantee by granter. + repeated Grant grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. +message QueryGranterGrantsRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. +message QueryGranterGrantsResponse { + // grants is a list of grants granted by the granter. + repeated GrantAuthorization grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. +message QueryGranteeGrantsRequest { + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. +message QueryGranteeGrantsResponse { + // grants is a list of grants granted to the grantee. + repeated GrantAuthorization grants = 1; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/authz/v1beta1/tx.proto b/examples/telescope/proto/cosmos/authz/v1beta1/tx.proto new file mode 100644 index 000000000..068218fff --- /dev/null +++ b/examples/telescope/proto/cosmos/authz/v1beta1/tx.proto @@ -0,0 +1,75 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.authz.v1beta1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/authz/v1beta1/authz.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option (gogoproto.goproto_getters_all) = false; + +// Msg defines the authz Msg service. +service 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. + rpc Grant(MsgGrant) returns (MsgGrantResponse); + + // 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. + rpc Exec(MsgExec) returns (MsgExecResponse); + + // Revoke revokes any authorization corresponding to the provided method name on the + // granter's account that has been granted to the grantee. + rpc Revoke(MsgRevoke) returns (MsgRevokeResponse); +} + +// MsgGrant is a request type for Grant method. It declares authorization to the grantee +// on behalf of the granter with the provided expiration time. +message MsgGrant { + option (cosmos.msg.v1.signer) = "granter"; + + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false]; +} + +// MsgExecResponse defines the Msg/MsgExecResponse response type. +message MsgExecResponse { + repeated bytes results = 1; +} + +// 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. +message MsgExec { + option (cosmos.msg.v1.signer) = "grantee"; + + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // 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. + repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg, authz.Authorization"]; +} + +// MsgGrantResponse defines the Msg/MsgGrant response type. +message MsgGrantResponse {} + +// MsgRevoke revokes any authorization with the provided sdk.Msg type on the +// granter's account with that has been granted to the grantee. +message MsgRevoke { + option (cosmos.msg.v1.signer) = "granter"; + + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string msg_type_url = 3; +} + +// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. +message MsgRevokeResponse {} diff --git a/examples/telescope/proto/cosmos/bank/v1beta1/authz.proto b/examples/telescope/proto/cosmos/bank/v1beta1/authz.proto new file mode 100644 index 000000000..4f58b15e4 --- /dev/null +++ b/examples/telescope/proto/cosmos/bank/v1beta1/authz.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// SendAuthorization allows the grantee to spend up to spend_limit coins from +// the granter's account. +// +// Since: cosmos-sdk 0.43 +message SendAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + repeated cosmos.base.v1beta1.Coin spend_limit = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} diff --git a/examples/telescope/proto/cosmos/bank/v1beta1/bank.proto b/examples/telescope/proto/cosmos/bank/v1beta1/bank.proto new file mode 100644 index 000000000..7bc9819d2 --- /dev/null +++ b/examples/telescope/proto/cosmos/bank/v1beta1/bank.proto @@ -0,0 +1,108 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Params defines the parameters for the bank module. +message Params { + option (gogoproto.goproto_stringer) = false; + repeated SendEnabled send_enabled = 1; + bool default_send_enabled = 2; +} + +// SendEnabled maps coin denom to a send_enabled status (whether a denom is +// sendable). +message SendEnabled { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + string denom = 1; + bool enabled = 2; +} + +// Input models transaction input. +message Input { + option (cosmos.msg.v1.signer) = "address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// Output models transaction outputs. +message Output { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// 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. +message Supply { + option deprecated = true; + + option (gogoproto.equal) = true; + option (gogoproto.goproto_getters) = false; + + option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/migrations/v040.SupplyI"; + + repeated cosmos.base.v1beta1.Coin total = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// DenomUnit represents a struct that describes a given +// denomination unit of the basic token. +message DenomUnit { + // denom represents the string name of the given denom unit (e.g uatom). + string denom = 1; + // 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). + uint32 exponent = 2; + // aliases is a list of string aliases for the given denom + repeated string aliases = 3; +} + +// Metadata represents a struct that describes +// a basic token. +message Metadata { + string description = 1; + // denom_units represents the list of DenomUnit's for a given coin + repeated DenomUnit denom_units = 2; + // base represents the base denom (should be the DenomUnit with exponent = 0). + string base = 3; + // display indicates the suggested denom that should be + // displayed in clients. + string display = 4; + // name defines the name of the token (eg: Cosmos Atom) + // + // Since: cosmos-sdk 0.43 + string name = 5; + // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + // be the same as the display. + // + // Since: cosmos-sdk 0.43 + string symbol = 6; + // URI to a document (on or off-chain) that contains additional information. Optional. + // + // Since: cosmos-sdk 0.46 + string uri = 7 [(gogoproto.customname) = "URI"]; + // 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 + string uri_hash = 8 [(gogoproto.customname) = "URIHash"]; +} diff --git a/examples/telescope/proto/cosmos/bank/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/bank/v1beta1/genesis.proto new file mode 100644 index 000000000..aa35790b7 --- /dev/null +++ b/examples/telescope/proto/cosmos/bank/v1beta1/genesis.proto @@ -0,0 +1,40 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// GenesisState defines the bank module's genesis state. +message GenesisState { + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // balances is an array containing the balances of all the accounts. + repeated Balance balances = 2 [(gogoproto.nullable) = false]; + + // 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. + repeated cosmos.base.v1beta1.Coin supply = 3 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + + // denom_metadata defines the metadata of the differents coins. + repeated Metadata denom_metadata = 4 [(gogoproto.nullable) = false]; +} + +// Balance defines an account address and balance pair used in the bank module's +// genesis state. +message Balance { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address of the balance holder. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // coins defines the different coins this balance holds. + repeated cosmos.base.v1beta1.Coin coins = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/bank/v1beta1/query.proto b/examples/telescope/proto/cosmos/bank/v1beta1/query.proto new file mode 100644 index 000000000..cbe7f38ad --- /dev/null +++ b/examples/telescope/proto/cosmos/bank/v1beta1/query.proto @@ -0,0 +1,231 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Query defines the gRPC querier service. +service Query { + // Balance queries the balance of a single coin for a single account. + rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}/by_denom"; + } + + // AllBalances queries the balance of all coins for a single account. + rpc AllBalances(QueryAllBalancesRequest) returns (QueryAllBalancesResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}"; + } + + // SpendableBalances queries the spenable balance of all coins for a single + // account. + rpc SpendableBalances(QuerySpendableBalancesRequest) returns (QuerySpendableBalancesResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/spendable_balances/{address}"; + } + + // TotalSupply queries the total supply of all coins. + rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/supply"; + } + + // SupplyOf queries the supply of a single coin. + rpc SupplyOf(QuerySupplyOfRequest) returns (QuerySupplyOfResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/supply/by_denom"; + } + + // Params queries the parameters of x/bank module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/params"; + } + + // DenomsMetadata queries the client metadata of a given coin denomination. + rpc DenomMetadata(QueryDenomMetadataRequest) returns (QueryDenomMetadataResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; + } + + // DenomsMetadata queries the client metadata for all registered coin + // denominations. + rpc DenomsMetadata(QueryDenomsMetadataRequest) returns (QueryDenomsMetadataResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata"; + } + + // DenomOwners queries for all account addresses that own a particular token + // denomination. + rpc DenomOwners(QueryDenomOwnersRequest) returns (QueryDenomOwnersResponse) { + option (google.api.http).get = "/cosmos/bank/v1beta1/denom_owners/{denom}"; + } +} + +// QueryBalanceRequest is the request type for the Query/Balance RPC method. +message QueryBalanceRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // denom is the coin denom to query balances for. + string denom = 2; +} + +// QueryBalanceResponse is the response type for the Query/Balance RPC method. +message QueryBalanceResponse { + // balance is the balance of the coin. + cosmos.base.v1beta1.Coin balance = 1; +} + +// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. +message QueryAllBalancesRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC +// method. +message QueryAllBalancesResponse { + // balances is the balances of all the coins. + repeated cosmos.base.v1beta1.Coin balances = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QuerySpendableBalancesRequest defines the gRPC request structure for querying +// an account's spendable balances. +message QuerySpendableBalancesRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address to query spendable balances for. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QuerySpendableBalancesResponse defines the gRPC response structure for querying +// an account's spendable balances. +message QuerySpendableBalancesResponse { + // balances is the spendable balances of all the coins. + repeated cosmos.base.v1beta1.Coin balances = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC +// method. +message QueryTotalSupplyRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // pagination defines an optional pagination for the request. + // + // Since: cosmos-sdk 0.43 + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC +// method +message QueryTotalSupplyResponse { + // supply is the supply of the coins + repeated cosmos.base.v1beta1.Coin supply = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // pagination defines the pagination in the response. + // + // Since: cosmos-sdk 0.43 + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. +message QuerySupplyOfRequest { + // denom is the coin denom to query balances for. + string denom = 1; +} + +// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. +message QuerySupplyOfResponse { + // amount is the supply of the coin. + cosmos.base.v1beta1.Coin amount = 1 [(gogoproto.nullable) = false]; +} + +// QueryParamsRequest defines the request type for querying x/bank parameters. +message QueryParamsRequest {} + +// QueryParamsResponse defines the response type for querying x/bank parameters. +message QueryParamsResponse { + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. +message QueryDenomsMetadataRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC +// method. +message QueryDenomsMetadataResponse { + // metadata provides the client information for all the registered tokens. + repeated Metadata metadatas = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. +message QueryDenomMetadataRequest { + // denom is the coin denom to query the metadata for. + string denom = 1; +} + +// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC +// method. +message QueryDenomMetadataResponse { + // metadata describes and provides all the client information for the requested token. + Metadata metadata = 1 [(gogoproto.nullable) = false]; +} + +// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, +// which queries for a paginated set of all account holders of a particular +// denomination. +message QueryDenomOwnersRequest { + // denom defines the coin denomination to query all account holders for. + string denom = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// 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. +message DenomOwner { + // address defines the address that owns a particular denomination. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // balance is the balance of the denominated coin for an account. + cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; +} + +// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. +message QueryDenomOwnersResponse { + repeated DenomOwner denom_owners = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/bank/v1beta1/tx.proto b/examples/telescope/proto/cosmos/bank/v1beta1/tx.proto new file mode 100644 index 000000000..22e62cbf5 --- /dev/null +++ b/examples/telescope/proto/cosmos/bank/v1beta1/tx.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package cosmos.bank.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/bank/v1beta1/bank.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; + +// Msg defines the bank Msg service. +service Msg { + // Send defines a method for sending coins from one account to another account. + rpc Send(MsgSend) returns (MsgSendResponse); + + // MultiSend defines a method for sending coins from some accounts to other accounts. + rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); +} + +// MsgSend represents a message to send coins from one account to another. +message MsgSend { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgSendResponse defines the Msg/Send response type. +message MsgSendResponse {} + +// MsgMultiSend represents an arbitrary multi-in, multi-out send message. +message MsgMultiSend { + option (cosmos.msg.v1.signer) = "inputs"; + + option (gogoproto.equal) = false; + + repeated Input inputs = 1 [(gogoproto.nullable) = false]; + repeated Output outputs = 2 [(gogoproto.nullable) = false]; +} + +// MsgMultiSendResponse defines the Msg/MultiSend response type. +message MsgMultiSendResponse {} diff --git a/examples/telescope/proto/cosmos/base/abci/v1beta1/abci.proto b/examples/telescope/proto/cosmos/base/abci/v1beta1/abci.proto new file mode 100644 index 000000000..09a2fcc47 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/abci/v1beta1/abci.proto @@ -0,0 +1,158 @@ +syntax = "proto3"; +package cosmos.base.abci.v1beta1; + +import "gogoproto/gogo.proto"; +import "tendermint/abci/types.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types"; +option (gogoproto.goproto_stringer_all) = false; + +// TxResponse defines a structure containing relevant tx data and metadata. The +// tags are stringified and the log is JSON decoded. +message TxResponse { + option (gogoproto.goproto_getters) = false; + // The block height + int64 height = 1; + // The transaction hash. + string txhash = 2 [(gogoproto.customname) = "TxHash"]; + // Namespace for the Code + string codespace = 3; + // Response code. + uint32 code = 4; + // Result bytes, if any. + string data = 5; + // The output of the application's logger (raw string). May be + // non-deterministic. + string raw_log = 6; + // The output of the application's logger (typed). May be non-deterministic. + repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; + // Additional information. May be non-deterministic. + string info = 8; + // Amount of gas requested for transaction. + int64 gas_wanted = 9; + // Amount of gas consumed by transaction. + int64 gas_used = 10; + // The request transaction bytes. + google.protobuf.Any tx = 11; + // 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. + string timestamp = 12; + // 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 handler. 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 + repeated tendermint.abci.Event events = 13 [(gogoproto.nullable) = false]; +} + +// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. +message ABCIMessageLog { + option (gogoproto.stringer) = true; + + uint32 msg_index = 1 [(gogoproto.jsontag) = "msg_index"]; + string log = 2; + + // Events contains a slice of Event objects that were emitted during some + // execution. + repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; +} + +// StringEvent defines en Event object wrapper where all the attributes +// contain key/value pairs that are strings instead of raw bytes. +message StringEvent { + option (gogoproto.stringer) = true; + + string type = 1; + repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; +} + +// Attribute defines an attribute wrapper where the key and value are +// strings instead of raw bytes. +message Attribute { + string key = 1; + string value = 2; +} + +// GasInfo defines tx execution gas context. +message GasInfo { + // GasWanted is the maximum units of work we allow this tx to perform. + uint64 gas_wanted = 1; + + // GasUsed is the amount of gas actually consumed. + uint64 gas_used = 2; +} + +// Result is the union of ResponseFormat and ResponseCheckTx. +message Result { + option (gogoproto.goproto_getters) = false; + + // 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. + bytes data = 1 [deprecated = true]; + + // Log contains the log information from message or handler execution. + string log = 2; + + // Events contains a slice of Event objects that were emitted during message + // or handler execution. + repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; + + // msg_responses contains the Msg handler responses type packed in Anys. + // + // Since: cosmos-sdk 0.46 + repeated google.protobuf.Any msg_responses = 4; +} + +// SimulationResponse defines the response generated when a transaction is +// successfully simulated. +message SimulationResponse { + GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + Result result = 2; +} + +// MsgData defines the data returned in a Result object during message +// execution. +message MsgData { + option deprecated = true; + option (gogoproto.stringer) = true; + + string msg_type = 1; + bytes data = 2; +} + +// TxMsgData defines a list of MsgData. A transaction will have a MsgData object +// for each message. +message TxMsgData { + option (gogoproto.stringer) = true; + + // data field is deprecated and not populated. + repeated MsgData data = 1 [deprecated = true]; + + // msg_responses contains the Msg handler responses packed into Anys. + // + // Since: cosmos-sdk 0.46 + repeated google.protobuf.Any msg_responses = 2; +} + +// SearchTxsResult defines a structure for querying txs pageable +message SearchTxsResult { + option (gogoproto.stringer) = true; + + // Count of all txs + uint64 total_count = 1; + // Count of txs in current page + uint64 count = 2; + // Index of current page, start from 1 + uint64 page_number = 3; + // Count of total pages + uint64 page_total = 4; + // Max count txs per page + uint64 limit = 5; + // List of txs in current page + repeated TxResponse txs = 6; +} diff --git a/examples/telescope/proto/cosmos/base/kv/v1beta1/kv.proto b/examples/telescope/proto/cosmos/base/kv/v1beta1/kv.proto new file mode 100644 index 000000000..4e9b8d285 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/kv/v1beta1/kv.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.base.kv.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; + +// Pairs defines a repeated slice of Pair objects. +message Pairs { + repeated Pair pairs = 1 [(gogoproto.nullable) = false]; +} + +// Pair defines a key/value bytes tuple. +message Pair { + bytes key = 1; + bytes value = 2; +} diff --git a/examples/telescope/proto/cosmos/base/query/v1beta1/pagination.proto b/examples/telescope/proto/cosmos/base/query/v1beta1/pagination.proto new file mode 100644 index 000000000..0a368144a --- /dev/null +++ b/examples/telescope/proto/cosmos/base/query/v1beta1/pagination.proto @@ -0,0 +1,56 @@ +syntax = "proto3"; +package cosmos.base.query.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/types/query"; + +// PageRequest is to be embedded in gRPC request messages for efficient +// pagination. Ex: +// +// message SomeRequest { +// Foo some_parameter = 1; +// PageRequest pagination = 2; +// } +message 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. + bytes key = 1; + + // 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. + uint64 offset = 2; + + // 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. + uint64 limit = 3; + + // 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. + bool count_total = 4; + + // reverse is set to true if results are to be returned in the descending order. + // + // Since: cosmos-sdk 0.43 + bool reverse = 5; +} + +// 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; +// } +message 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. + bytes next_key = 1; + + // total is total number of results available if PageRequest.count_total + // was set, its value is undefined otherwise + uint64 total = 2; +} diff --git a/examples/telescope/proto/cosmos/base/reflection/v1beta1/reflection.proto b/examples/telescope/proto/cosmos/base/reflection/v1beta1/reflection.proto new file mode 100644 index 000000000..22670e72b --- /dev/null +++ b/examples/telescope/proto/cosmos/base/reflection/v1beta1/reflection.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; +package cosmos.base.reflection.v1beta1; + +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; + +// ReflectionService defines a service for interface reflection. +service ReflectionService { + // ListAllInterfaces lists all the interfaces registered in the interface + // registry. + rpc ListAllInterfaces(ListAllInterfacesRequest) returns (ListAllInterfacesResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces"; + }; + + // ListImplementations list all the concrete types that implement a given + // interface. + rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/" + "{interface_name}/implementations"; + }; +} + +// ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. +message ListAllInterfacesRequest {} + +// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. +message ListAllInterfacesResponse { + // interface_names is an array of all the registered interfaces. + repeated string interface_names = 1; +} + +// ListImplementationsRequest is the request type of the ListImplementations +// RPC. +message ListImplementationsRequest { + // interface_name defines the interface to query the implementations for. + string interface_name = 1; +} + +// ListImplementationsResponse is the response type of the ListImplementations +// RPC. +message ListImplementationsResponse { + repeated string implementation_message_names = 1; +} diff --git a/examples/telescope/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/examples/telescope/proto/cosmos/base/reflection/v2alpha1/reflection.proto new file mode 100644 index 000000000..d5b048558 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/reflection/v2alpha1/reflection.proto @@ -0,0 +1,218 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.base.reflection.v2alpha1; + +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"; + +// AppDescriptor describes a cosmos-sdk based application +message AppDescriptor { + // AuthnDescriptor provides information on how to authenticate transactions on the application + // NOTE: experimental and subject to change in future releases. + AuthnDescriptor authn = 1; + // chain provides the chain descriptor + ChainDescriptor chain = 2; + // codec provides metadata information regarding codec related types + CodecDescriptor codec = 3; + // configuration provides metadata information regarding the sdk.Config type + ConfigurationDescriptor configuration = 4; + // query_services provides metadata information regarding the available queriable endpoints + QueryServicesDescriptor query_services = 5; + // tx provides metadata information regarding how to send transactions to the given application + TxDescriptor tx = 6; +} + +// TxDescriptor describes the accepted transaction type +message 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. + string fullname = 1; + // msgs lists the accepted application messages (sdk.Msg) + repeated MsgDescriptor msgs = 2; +} + +// AuthnDescriptor provides information on how to sign transactions without relying +// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures +message AuthnDescriptor { + // sign_modes defines the supported signature algorithm + repeated SigningModeDescriptor sign_modes = 1; +} + +// 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 +message SigningModeDescriptor { + // name defines the unique name of the signing mode + string name = 1; + // number is the unique int32 identifier for the sign_mode enum + int32 number = 2; + // 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 + string authn_info_provider_method_fullname = 3; +} + +// ChainDescriptor describes chain information of the application +message ChainDescriptor { + // id is the chain id + string id = 1; +} + +// CodecDescriptor describes the registered interfaces and provides metadata information on the types +message CodecDescriptor { + // interfaces is a list of the registerted interfaces descriptors + repeated InterfaceDescriptor interfaces = 1; +} + +// InterfaceDescriptor describes the implementation of an interface +message InterfaceDescriptor { + // fullname is the name of the interface + string fullname = 1; + // interface_accepting_messages contains information regarding the proto messages which contain the interface as + // google.protobuf.Any field + repeated InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2; + // interface_implementers is a list of the descriptors of the interface implementers + repeated InterfaceImplementerDescriptor interface_implementers = 3; +} + +// InterfaceImplementerDescriptor describes an interface implementer +message InterfaceImplementerDescriptor { + // fullname is the protobuf queryable name of the interface implementer + string fullname = 1; + // 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 + string type_url = 2; +} + +// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains +// an interface represented as a google.protobuf.Any +message InterfaceAcceptingMessageDescriptor { + // fullname is the protobuf fullname of the type containing the interface + string fullname = 1; + // 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) + repeated string field_descriptor_names = 2; +} + +// ConfigurationDescriptor contains metadata information on the sdk.Config +message ConfigurationDescriptor { + // bech32_account_address_prefix is the account address prefix + string bech32_account_address_prefix = 1; +} + +// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction +message MsgDescriptor { + // msg_type_url contains the TypeURL of a sdk.Msg. + string msg_type_url = 1; +} + +// ReflectionService defines a service for application reflection. +service ReflectionService { + // GetAuthnDescriptor returns information on how to authenticate transactions in the application + // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in + // future releases of the cosmos-sdk. + rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) returns (GetAuthnDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; + } + // GetChainDescriptor returns the description of the chain + rpc GetChainDescriptor(GetChainDescriptorRequest) returns (GetChainDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; + }; + // GetCodecDescriptor returns the descriptor of the codec of the application + rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; + } + // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application + rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; + } + // GetQueryServicesDescriptor returns the available gRPC queryable services of the application + rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; + } + // GetTxDescriptor returns information on the used transaction object and available msgs that can be used + rpc GetTxDescriptor(GetTxDescriptorRequest) returns (GetTxDescriptorResponse) { + option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; + } +} + +// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC +message GetAuthnDescriptorRequest {} +// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC +message GetAuthnDescriptorResponse { + // authn describes how to authenticate to the application when sending transactions + AuthnDescriptor authn = 1; +} + +// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC +message GetChainDescriptorRequest {} +// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC +message GetChainDescriptorResponse { + // chain describes application chain information + ChainDescriptor chain = 1; +} + +// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC +message GetCodecDescriptorRequest {} +// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC +message GetCodecDescriptorResponse { + // codec describes the application codec such as registered interfaces and implementations + CodecDescriptor codec = 1; +} + +// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC +message GetConfigurationDescriptorRequest {} +// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC +message GetConfigurationDescriptorResponse { + // config describes the application's sdk.Config + ConfigurationDescriptor config = 1; +} + +// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC +message GetQueryServicesDescriptorRequest {} +// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC +message GetQueryServicesDescriptorResponse { + // queries provides information on the available queryable services + QueryServicesDescriptor queries = 1; +} + +// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC +message GetTxDescriptorRequest {} +// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC +message GetTxDescriptorResponse { + // tx provides information on msgs that can be forwarded to the application + // alongside the accepted transaction protobuf type + TxDescriptor tx = 1; +} + +// QueryServicesDescriptor contains the list of cosmos-sdk queriable services +message QueryServicesDescriptor { + // query_services is a list of cosmos-sdk QueryServiceDescriptor + repeated QueryServiceDescriptor query_services = 1; +} + +// QueryServiceDescriptor describes a cosmos-sdk queryable service +message QueryServiceDescriptor { + // fullname is the protobuf fullname of the service descriptor + string fullname = 1; + // is_module describes if this service is actually exposed by an application's module + bool is_module = 2; + // methods provides a list of query service methods + repeated QueryMethodDescriptor methods = 3; +} + +// 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 +message QueryMethodDescriptor { + // name is the protobuf name (not fullname) of the method + string name = 1; + // full_query_path is the path that can be used to query + // this method via tendermint abci.Query + string full_query_path = 2; +} diff --git a/examples/telescope/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/examples/telescope/proto/cosmos/base/snapshots/v1beta1/snapshot.proto new file mode 100644 index 000000000..a89e0b4c3 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/snapshots/v1beta1/snapshot.proto @@ -0,0 +1,70 @@ +syntax = "proto3"; +package cosmos.base.snapshots.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; + +// Snapshot contains Tendermint state sync snapshot info. +message Snapshot { + uint64 height = 1; + uint32 format = 2; + uint32 chunks = 3; + bytes hash = 4; + Metadata metadata = 5 [(gogoproto.nullable) = false]; +} + +// Metadata contains SDK-specific snapshot metadata. +message Metadata { + repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes +} + +// SnapshotItem is an item contained in a rootmulti.Store snapshot. +message SnapshotItem { + // item is the specific type of snapshot item. + oneof item { + SnapshotStoreItem store = 1; + SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"]; + SnapshotExtensionMeta extension = 3; + SnapshotExtensionPayload extension_payload = 4; + SnapshotKVItem kv = 5 [(gogoproto.customname) = "KV"]; + SnapshotSchema schema = 6; + } +} + +// SnapshotStoreItem contains metadata about a snapshotted store. +message SnapshotStoreItem { + string name = 1; +} + +// SnapshotIAVLItem is an exported IAVL node. +message SnapshotIAVLItem { + bytes key = 1; + bytes value = 2; + // version is block height + int64 version = 3; + // height is depth of the tree. + int32 height = 4; +} + +// SnapshotExtensionMeta contains metadata about an external snapshotter. +message SnapshotExtensionMeta { + string name = 1; + uint32 format = 2; +} + +// SnapshotExtensionPayload contains payloads of an external snapshotter. +message SnapshotExtensionPayload { + bytes payload = 1; +} + +// SnapshotKVItem is an exported Key/Value Pair +message SnapshotKVItem { + bytes key = 1; + bytes value = 2; +} + +// SnapshotSchema is an exported schema of smt store +message SnapshotSchema{ + repeated bytes keys = 1; +} diff --git a/examples/telescope/proto/cosmos/base/store/v1beta1/commit_info.proto b/examples/telescope/proto/cosmos/base/store/v1beta1/commit_info.proto new file mode 100644 index 000000000..98a33d30e --- /dev/null +++ b/examples/telescope/proto/cosmos/base/store/v1beta1/commit_info.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.base.store.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/store/types"; + +// CommitInfo defines commit information used by the multi-store when committing +// a version/height. +message CommitInfo { + int64 version = 1; + repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false]; +} + +// StoreInfo defines store-specific commit information. It contains a reference +// between a store name and the commit ID. +message StoreInfo { + string name = 1; + CommitID commit_id = 2 [(gogoproto.nullable) = false]; +} + +// CommitID defines the committment information when a specific store is +// committed. +message CommitID { + option (gogoproto.goproto_stringer) = false; + + int64 version = 1; + bytes hash = 2; +} diff --git a/examples/telescope/proto/cosmos/base/store/v1beta1/listening.proto b/examples/telescope/proto/cosmos/base/store/v1beta1/listening.proto new file mode 100644 index 000000000..359997109 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/store/v1beta1/listening.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package cosmos.base.store.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/store/types"; + +// 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 +message StoreKVPair { + string store_key = 1; // the store key for the KVStore this pair originates from + bool delete = 2; // true indicates a delete operation, false indicates a set operation + bytes key = 3; + bytes value = 4; +} diff --git a/examples/telescope/proto/cosmos/base/tendermint/v1beta1/query.proto b/examples/telescope/proto/cosmos/base/tendermint/v1beta1/query.proto new file mode 100644 index 000000000..96a46e53c --- /dev/null +++ b/examples/telescope/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; +package cosmos.base.tendermint.v1beta1; + +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "tendermint/p2p/types.proto"; +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; + +// Service defines the gRPC querier service for tendermint queries. +service Service { + // GetNodeInfo queries the current node info. + rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/node_info"; + } + // GetSyncing queries node syncing. + rpc GetSyncing(GetSyncingRequest) returns (GetSyncingResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/syncing"; + } + // GetLatestBlock returns the latest block. + rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest"; + } + // GetBlockByHeight queries block for given height. + rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}"; + } + + // GetLatestValidatorSet queries latest validator-set. + rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; + } + // GetValidatorSetByHeight queries validator-set at a given height. + rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) { + option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; + } +} + +// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +message GetValidatorSetByHeightRequest { + int64 height = 1; + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +message GetValidatorSetByHeightResponse { + int64 block_height = 1; + repeated Validator validators = 2; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +message GetLatestValidatorSetRequest { + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +message GetLatestValidatorSetResponse { + int64 block_height = 1; + repeated Validator validators = 2; + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// Validator is the type for the validator-set. +message Validator { + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pub_key = 2; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightRequest { + int64 height = 1; +} + +// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightResponse { + .tendermint.types.BlockID block_id = 1; + .tendermint.types.Block block = 2; +} + +// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. +message GetLatestBlockRequest {} + +// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. +message GetLatestBlockResponse { + .tendermint.types.BlockID block_id = 1; + .tendermint.types.Block block = 2; +} + +// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. +message GetSyncingRequest {} + +// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. +message GetSyncingResponse { + bool syncing = 1; +} + +// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. +message GetNodeInfoRequest {} + +// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. +message GetNodeInfoResponse { + .tendermint.p2p.NodeInfo node_info = 1; + VersionInfo application_version = 2; +} + +// VersionInfo is the type for the GetNodeInfoResponse message. +message VersionInfo { + string name = 1; + string app_name = 2; + string version = 3; + string git_commit = 4; + string build_tags = 5; + string go_version = 6; + repeated Module build_deps = 7; + // Since: cosmos-sdk 0.43 + string cosmos_sdk_version = 8; +} + +// Module is the type for VersionInfo +message Module { + // module path + string path = 1; + // module version + string version = 2; + // checksum + string sum = 3; +} diff --git a/examples/telescope/proto/cosmos/base/v1beta1/coin.proto b/examples/telescope/proto/cosmos/base/v1beta1/coin.proto new file mode 100644 index 000000000..69e67e099 --- /dev/null +++ b/examples/telescope/proto/cosmos/base/v1beta1/coin.proto @@ -0,0 +1,43 @@ +syntax = "proto3"; +package cosmos.base.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types"; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.stringer_all) = false; + +// 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. +message Coin { + option (gogoproto.equal) = true; + + string denom = 1; + string amount = 2 + [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; +} + +// 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. +message DecCoin { + option (gogoproto.equal) = true; + + string denom = 1; + string amount = 2 + [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; +} + +// IntProto defines a Protobuf wrapper around an Int object. +message IntProto { + string int = 1 [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; +} + +// DecProto defines a Protobuf wrapper around a Dec object. +message DecProto { + string dec = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/capability/v1beta1/capability.proto b/examples/telescope/proto/cosmos/capability/v1beta1/capability.proto new file mode 100644 index 000000000..c433566d3 --- /dev/null +++ b/examples/telescope/proto/cosmos/capability/v1beta1/capability.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.capability.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; + +import "gogoproto/gogo.proto"; + +// Capability defines an implementation of an object capability. The index +// provided to a Capability must be globally unique. +message Capability { + option (gogoproto.goproto_stringer) = false; + + uint64 index = 1; +} + +// Owner defines a single capability owner. An owner is defined by the name of +// capability and the module name. +message Owner { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + + string module = 1; + string name = 2; +} + +// CapabilityOwners defines a set of owners of a single Capability. The set of +// owners must be unique. +message CapabilityOwners { + repeated Owner owners = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/capability/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/capability/v1beta1/genesis.proto new file mode 100644 index 000000000..b5482439c --- /dev/null +++ b/examples/telescope/proto/cosmos/capability/v1beta1/genesis.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package cosmos.capability.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/capability/v1beta1/capability.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; + +// GenesisOwners defines the capability owners with their corresponding index. +message GenesisOwners { + // index is the index of the capability owner. + uint64 index = 1; + + // index_owners are the owners at the given index. + CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false]; +} + +// GenesisState defines the capability module's genesis state. +message GenesisState { + // index is the capability global index. + uint64 index = 1; + + // owners represents a map from index to owners of the capability index + // index key is string to allow amino marshalling. + repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/crisis/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/crisis/v1beta1/genesis.proto new file mode 100644 index 000000000..5c2916046 --- /dev/null +++ b/examples/telescope/proto/cosmos/crisis/v1beta1/genesis.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package cosmos.crisis.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +// GenesisState defines the crisis module's genesis state. +message GenesisState { + // constant_fee is the fee used to verify the invariant in the crisis + // module. + cosmos.base.v1beta1.Coin constant_fee = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/crisis/v1beta1/tx.proto b/examples/telescope/proto/cosmos/crisis/v1beta1/tx.proto new file mode 100644 index 000000000..fea9059f6 --- /dev/null +++ b/examples/telescope/proto/cosmos/crisis/v1beta1/tx.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.crisis.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the bank Msg service. +service Msg { + // VerifyInvariant defines a method to verify a particular invariance. + rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse); +} + +// MsgVerifyInvariant represents a message to verify a particular invariance. +message MsgVerifyInvariant { + option (cosmos.msg.v1.signer) = "sender"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string invariant_module_name = 2; + string invariant_route = 3; +} + +// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. +message MsgVerifyInvariantResponse {} diff --git a/examples/telescope/proto/cosmos/crypto/ed25519/keys.proto b/examples/telescope/proto/cosmos/crypto/ed25519/keys.proto new file mode 100644 index 000000000..6ffec3448 --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/ed25519/keys.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package cosmos.crypto.ed25519; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; + +// 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. +message PubKey { + option (gogoproto.goproto_stringer) = false; + + bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PublicKey"]; +} + +// Deprecated: PrivKey defines a ed25519 private key. +// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. +message PrivKey { + bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PrivateKey"]; +} diff --git a/examples/telescope/proto/cosmos/crypto/hd/v1/hd.proto b/examples/telescope/proto/cosmos/crypto/hd/v1/hd.proto new file mode 100644 index 000000000..e4a95afcb --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/hd/v1/hd.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package cosmos.crypto.hd.v1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/hd"; +option (gogoproto.goproto_getters_all) = false; + +// BIP44Params is used as path field in ledger item in Record. +message BIP44Params { + option (gogoproto.goproto_stringer) = false; + // purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation + uint32 purpose = 1; + // coin_type is a constant that improves privacy + uint32 coin_type = 2; + // account splits the key space into independent user identities + uint32 account = 3; + // change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal + // chain. + bool change = 4; + // address_index is used as child index in BIP32 derivation + uint32 address_index = 5; +} diff --git a/examples/telescope/proto/cosmos/crypto/keyring/v1/record.proto b/examples/telescope/proto/cosmos/crypto/keyring/v1/record.proto new file mode 100644 index 000000000..9b2d3c964 --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/keyring/v1/record.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.crypto.keyring.v1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/crypto/hd/v1/hd.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keyring"; +option (gogoproto.goproto_getters_all) = false; + +// Record is used for representing a key in the keyring. +message Record { + // name represents a name of Record + string name = 1; + // pub_key represents a public key in any format + google.protobuf.Any pub_key = 2; + + // Record contains one of the following items + oneof item { + // local stores the public information about a locally stored key + Local local = 3; + // ledger stores the public information about a Ledger key + Ledger ledger = 4; + // Multi does not store any information. + Multi multi = 5; + // Offline does not store any information. + Offline offline = 6; + } + + // Item is a keyring item stored in a keyring backend. + // Local item + message Local { + google.protobuf.Any priv_key = 1; + string priv_key_type = 2; + } + + // Ledger item + message Ledger { + hd.v1.BIP44Params path = 1; + } + + // Multi item + message Multi {} + + // Offline item + message Offline {} +} diff --git a/examples/telescope/proto/cosmos/crypto/multisig/keys.proto b/examples/telescope/proto/cosmos/crypto/multisig/keys.proto new file mode 100644 index 000000000..7a11fe336 --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/multisig/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package cosmos.crypto.multisig; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; + +// LegacyAminoPubKey specifies a public key type +// which nests multiple public keys and a threshold, +// it uses legacy amino address rules. +message LegacyAminoPubKey { + option (gogoproto.goproto_getters) = false; + + uint32 threshold = 1; + repeated google.protobuf.Any public_keys = 2 [(gogoproto.customname) = "PubKeys"]; +} diff --git a/examples/telescope/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/examples/telescope/proto/cosmos/crypto/multisig/v1beta1/multisig.proto new file mode 100644 index 000000000..bf671f171 --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/multisig/v1beta1/multisig.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package cosmos.crypto.multisig.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; + +// 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. +message MultiSignature { + option (gogoproto.goproto_unrecognized) = true; + repeated bytes signatures = 1; +} + +// 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. +message CompactBitArray { + option (gogoproto.goproto_stringer) = false; + + uint32 extra_bits_stored = 1; + bytes elems = 2; +} diff --git a/examples/telescope/proto/cosmos/crypto/secp256k1/keys.proto b/examples/telescope/proto/cosmos/crypto/secp256k1/keys.proto new file mode 100644 index 000000000..a22725713 --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/secp256k1/keys.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.crypto.secp256k1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; + +// 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. +message PubKey { + option (gogoproto.goproto_stringer) = false; + + bytes key = 1; +} + +// PrivKey defines a secp256k1 private key. +message PrivKey { + bytes key = 1; +} diff --git a/examples/telescope/proto/cosmos/crypto/secp256r1/keys.proto b/examples/telescope/proto/cosmos/crypto/secp256r1/keys.proto new file mode 100644 index 000000000..2e96c6e3c --- /dev/null +++ b/examples/telescope/proto/cosmos/crypto/secp256r1/keys.proto @@ -0,0 +1,23 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.crypto.secp256r1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; +option (gogoproto.messagename_all) = true; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; + +// PubKey defines a secp256r1 ECDSA public key. +message 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 + bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; +} + +// PrivKey defines a secp256r1 ECDSA private key. +message PrivKey { + // secret number serialized using big-endian encoding + bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; +} diff --git a/examples/telescope/proto/cosmos/distribution/v1beta1/distribution.proto b/examples/telescope/proto/cosmos/distribution/v1beta1/distribution.proto new file mode 100644 index 000000000..1afe25ae4 --- /dev/null +++ b/examples/telescope/proto/cosmos/distribution/v1beta1/distribution.proto @@ -0,0 +1,154 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; + +// Params defines the set of params for the distribution module. +message Params { + option (gogoproto.goproto_stringer) = false; + string community_tax = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + string base_proposer_reward = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + string bonus_proposer_reward = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + bool withdraw_addr_enabled = 4; +} + +// 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 +message ValidatorHistoricalRewards { + repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + uint32 reference_count = 2; +} + +// 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. +message ValidatorCurrentRewards { + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + uint64 period = 2; +} + +// ValidatorAccumulatedCommission represents accumulated commission +// for a validator kept as a running counter, can be withdrawn at any time. +message ValidatorAccumulatedCommission { + repeated cosmos.base.v1beta1.DecCoin commission = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards +// for a validator inexpensive to track, allows simple sanity checks. +message ValidatorOutstandingRewards { + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// 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. +message ValidatorSlashEvent { + uint64 validator_period = 1; + string fraction = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. +message ValidatorSlashEvents { + option (gogoproto.goproto_stringer) = false; + repeated ValidatorSlashEvent validator_slash_events = 1 [(gogoproto.nullable) = false]; +} + +// FeePool is the global fee pool for distribution. +message FeePool { + repeated cosmos.base.v1beta1.DecCoin community_pool = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// CommunityPoolSpendProposal details a proposal for use of community funds, +// together with how many coins are proposed to be spent, and to which +// recipient account. +message CommunityPoolSpendProposal { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + string recipient = 3; + repeated cosmos.base.v1beta1.Coin amount = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// 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. +message DelegatorStartingInfo { + uint64 previous_period = 1; + string stake = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + uint64 height = 3 [(gogoproto.jsontag) = "creation_height"]; +} + +// DelegationDelegatorReward represents the properties +// of a delegator's delegation reward. +message DelegationDelegatorReward { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + repeated cosmos.base.v1beta1.DecCoin reward = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal +// with a deposit +message CommunityPoolSpendProposalWithDeposit { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + string recipient = 3; + string amount = 4; + string deposit = 5; +} diff --git a/examples/telescope/proto/cosmos/distribution/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/distribution/v1beta1/genesis.proto new file mode 100644 index 000000000..4662e8df4 --- /dev/null +++ b/examples/telescope/proto/cosmos/distribution/v1beta1/genesis.proto @@ -0,0 +1,144 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/distribution/v1beta1/distribution.proto"; +import "cosmos_proto/cosmos.proto"; + +// 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. +message DelegatorWithdrawInfo { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address is the address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // withdraw_address is the address to withdraw the delegation rewards to. + string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. +message ValidatorOutstandingRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // outstanding_rewards represents the oustanding rewards of a validator. + repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} + +// ValidatorAccumulatedCommissionRecord is used for import / export via genesis +// json. +message ValidatorAccumulatedCommissionRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // accumulated is the accumulated commission of a validator. + ValidatorAccumulatedCommission accumulated = 2 [(gogoproto.nullable) = false]; +} + +// ValidatorHistoricalRewardsRecord is used for import / export via genesis +// json. +message ValidatorHistoricalRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // period defines the period the historical rewards apply to. + uint64 period = 2; + + // rewards defines the historical rewards of a validator. + ValidatorHistoricalRewards rewards = 3 [(gogoproto.nullable) = false]; +} + +// ValidatorCurrentRewardsRecord is used for import / export via genesis json. +message ValidatorCurrentRewardsRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // rewards defines the current rewards of a validator. + ValidatorCurrentRewards rewards = 2 [(gogoproto.nullable) = false]; +} + +// DelegatorStartingInfoRecord used for import / export via genesis json. +message DelegatorStartingInfoRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address is the address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_address is the address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // starting_info defines the starting info of a delegator. + DelegatorStartingInfo starting_info = 3 [(gogoproto.nullable) = false]; +} + +// ValidatorSlashEventRecord is used for import / export via genesis json. +message ValidatorSlashEventRecord { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validator_address is the address of the validator. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // height defines the block height at which the slash event occured. + uint64 height = 2; + // period is the period of the slash event. + uint64 period = 3; + // validator_slash_event describes the slash event. + ValidatorSlashEvent validator_slash_event = 4 [(gogoproto.nullable) = false]; +} + +// GenesisState defines the distribution module's genesis state. +message GenesisState { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // params defines all the paramaters of the module. + Params params = 1 [(gogoproto.nullable) = false]; + + // fee_pool defines the fee pool at genesis. + FeePool fee_pool = 2 [(gogoproto.nullable) = false]; + + // fee_pool defines the delegator withdraw infos at genesis. + repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 [(gogoproto.nullable) = false]; + + // fee_pool defines the previous proposer at genesis. + string previous_proposer = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // fee_pool defines the outstanding rewards of all validators at genesis. + repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 [(gogoproto.nullable) = false]; + + // fee_pool defines the accumulated commisions of all validators at genesis. + repeated ValidatorAccumulatedCommissionRecord validator_accumulated_commissions = 6 [(gogoproto.nullable) = false]; + + // fee_pool defines the historical rewards of all validators at genesis. + repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 [(gogoproto.nullable) = false]; + + // fee_pool defines the current rewards of all validators at genesis. + repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 [(gogoproto.nullable) = false]; + + // fee_pool defines the delegator starting infos at genesis. + repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 [(gogoproto.nullable) = false]; + + // fee_pool defines the validator slash events at genesis. + repeated ValidatorSlashEventRecord validator_slash_events = 10 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/distribution/v1beta1/query.proto b/examples/telescope/proto/cosmos/distribution/v1beta1/query.proto new file mode 100644 index 000000000..a09413fc9 --- /dev/null +++ b/examples/telescope/proto/cosmos/distribution/v1beta1/query.proto @@ -0,0 +1,219 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/distribution/v1beta1/distribution.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; + +// Query defines the gRPC querier service for distribution module. +service Query { + // Params queries params of the distribution module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/params"; + } + + // ValidatorOutstandingRewards queries rewards of a validator address. + rpc ValidatorOutstandingRewards(QueryValidatorOutstandingRewardsRequest) + returns (QueryValidatorOutstandingRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" + "{validator_address}/outstanding_rewards"; + } + + // ValidatorCommission queries accumulated commission for a validator. + rpc ValidatorCommission(QueryValidatorCommissionRequest) returns (QueryValidatorCommissionResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" + "{validator_address}/commission"; + } + + // ValidatorSlashes queries slash events of a validator. + rpc ValidatorSlashes(QueryValidatorSlashesRequest) returns (QueryValidatorSlashesResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; + } + + // DelegationRewards queries the total rewards accrued by a delegation. + rpc DelegationRewards(QueryDelegationRewardsRequest) returns (QueryDelegationRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" + "{validator_address}"; + } + + // DelegationTotalRewards queries the total rewards accrued by a each + // validator. + rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) returns (QueryDelegationTotalRewardsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; + } + + // DelegatorValidators queries the validators of a delegator. + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" + "{delegator_address}/validators"; + } + + // DelegatorWithdrawAddress queries withdraw address of a delegator. + rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) returns (QueryDelegatorWithdrawAddressResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" + "{delegator_address}/withdraw_address"; + } + + // CommunityPool queries the community pool coins. + rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) { + option (google.api.http).get = "/cosmos/distribution/v1beta1/community_pool"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorOutstandingRewardsRequest is the request type for the +// Query/ValidatorOutstandingRewards RPC method. +message QueryValidatorOutstandingRewardsRequest { + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorOutstandingRewardsResponse is the response type for the +// Query/ValidatorOutstandingRewards RPC method. +message QueryValidatorOutstandingRewardsResponse { + ValidatorOutstandingRewards rewards = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorCommissionRequest is the request type for the +// Query/ValidatorCommission RPC method +message QueryValidatorCommissionRequest { + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorCommissionResponse is the response type for the +// Query/ValidatorCommission RPC method +message QueryValidatorCommissionResponse { + // commission defines the commision the validator received. + ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorSlashesRequest is the request type for the +// Query/ValidatorSlashes RPC method +message QueryValidatorSlashesRequest { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + // validator_address defines the validator address to query for. + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // starting_height defines the optional starting height to query the slashes. + uint64 starting_height = 2; + // starting_height defines the optional ending height to query the slashes. + uint64 ending_height = 3; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryValidatorSlashesResponse is the response type for the +// Query/ValidatorSlashes RPC method. +message QueryValidatorSlashesResponse { + // slashes defines the slashes the validator received. + repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegationRewardsRequest is the request type for the +// Query/DelegationRewards RPC method. +message QueryDelegationRewardsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address defines the validator address to query for. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationRewardsResponse is the response type for the +// Query/DelegationRewards RPC method. +message QueryDelegationRewardsResponse { + // rewards defines the rewards accrued by a delegation. + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// QueryDelegationTotalRewardsRequest is the request type for the +// Query/DelegationTotalRewards RPC method. +message QueryDelegationTotalRewardsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationTotalRewardsResponse is the response type for the +// Query/DelegationTotalRewards RPC method. +message QueryDelegationTotalRewardsResponse { + // rewards defines all the rewards accrued by a delegator. + repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; + // total defines the sum of all the rewards. + repeated cosmos.base.v1beta1.DecCoin total = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; +} + +// QueryDelegatorValidatorsRequest is the request type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorValidatorsResponse is the response type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // validators defines the validators a delegator is delegating for. + repeated string validators = 1; +} + +// QueryDelegatorWithdrawAddressRequest is the request type for the +// Query/DelegatorWithdrawAddress RPC method. +message QueryDelegatorWithdrawAddressRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_address defines the delegator address to query for. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorWithdrawAddressResponse is the response type for the +// Query/DelegatorWithdrawAddress RPC method. +message QueryDelegatorWithdrawAddressResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // withdraw_address defines the delegator address to query for. + string withdraw_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC +// method. +message QueryCommunityPoolRequest {} + +// QueryCommunityPoolResponse is the response type for the Query/CommunityPool +// RPC method. +message QueryCommunityPoolResponse { + // pool defines community pool's coins. + repeated cosmos.base.v1beta1.DecCoin pool = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/distribution/v1beta1/tx.proto b/examples/telescope/proto/cosmos/distribution/v1beta1/tx.proto new file mode 100644 index 000000000..7f22dce95 --- /dev/null +++ b/examples/telescope/proto/cosmos/distribution/v1beta1/tx.proto @@ -0,0 +1,95 @@ +syntax = "proto3"; +package cosmos.distribution.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the distribution Msg service. +service Msg { + // SetWithdrawAddress defines a method to change the withdraw address + // for a delegator (or validator self-delegation). + rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); + + // WithdrawDelegatorReward defines a method to withdraw rewards of delegator + // from a single validator. + rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); + + // WithdrawValidatorCommission defines a method to withdraw the + // full commission to the validator address. + rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); + + // FundCommunityPool defines a method to allow an account to directly + // fund the community pool. + rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); +} + +// MsgSetWithdrawAddress sets the withdraw address for +// a delegator (or validator self-delegation). +message MsgSetWithdrawAddress { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. +message MsgSetWithdrawAddressResponse {} + +// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator +// from a single validator. +message MsgWithdrawDelegatorReward { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. +message MsgWithdrawDelegatorRewardResponse { + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgWithdrawValidatorCommission withdraws the full commission to the validator +// address. +message MsgWithdrawValidatorCommission { + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. +message MsgWithdrawValidatorCommissionResponse { + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgFundCommunityPool allows an account to directly +// fund the community pool. +message MsgFundCommunityPool { + option (cosmos.msg.v1.signer) = "depositor"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. +message MsgFundCommunityPoolResponse {} diff --git a/examples/telescope/proto/cosmos/evidence/v1beta1/evidence.proto b/examples/telescope/proto/cosmos/evidence/v1beta1/evidence.proto new file mode 100644 index 000000000..83f9ec3d3 --- /dev/null +++ b/examples/telescope/proto/cosmos/evidence/v1beta1/evidence.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +// Equivocation implements the Evidence interface and defines evidence of double +// signing misbehavior. +message Equivocation { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + int64 height = 1; + google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + int64 power = 3; + string consensus_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/evidence/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/evidence/v1beta1/genesis.proto new file mode 100644 index 000000000..199f446f7 --- /dev/null +++ b/examples/telescope/proto/cosmos/evidence/v1beta1/genesis.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; + +import "google/protobuf/any.proto"; + +// GenesisState defines the evidence module's genesis state. +message GenesisState { + // evidence defines all the evidence at genesis. + repeated google.protobuf.Any evidence = 1; +} diff --git a/examples/telescope/proto/cosmos/evidence/v1beta1/query.proto b/examples/telescope/proto/cosmos/evidence/v1beta1/query.proto new file mode 100644 index 000000000..eda00544c --- /dev/null +++ b/examples/telescope/proto/cosmos/evidence/v1beta1/query.proto @@ -0,0 +1,51 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; + +// Query defines the gRPC querier service. +service Query { + // Evidence queries evidence based on evidence hash. + rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) { + option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; + } + + // AllEvidence queries all evidence. + rpc AllEvidence(QueryAllEvidenceRequest) returns (QueryAllEvidenceResponse) { + option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence"; + } +} + +// QueryEvidenceRequest is the request type for the Query/Evidence RPC method. +message QueryEvidenceRequest { + // evidence_hash defines the hash of the requested evidence. + bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"]; +} + +// QueryEvidenceResponse is the response type for the Query/Evidence RPC method. +message QueryEvidenceResponse { + // evidence returns the requested evidence. + google.protobuf.Any evidence = 1; +} + +// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC +// method. +message QueryAllEvidenceRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC +// method. +message QueryAllEvidenceResponse { + // evidence returns all evidences. + repeated google.protobuf.Any evidence = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/evidence/v1beta1/tx.proto b/examples/telescope/proto/cosmos/evidence/v1beta1/tx.proto new file mode 100644 index 000000000..223f7e111 --- /dev/null +++ b/examples/telescope/proto/cosmos/evidence/v1beta1/tx.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the evidence Msg service. +service Msg { + // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or + // counterfactual signing. + rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); +} + +// MsgSubmitEvidence represents a message that supports submitting arbitrary +// Evidence of misbehavior such as equivocation or counterfactual signing. +message MsgSubmitEvidence { + option (cosmos.msg.v1.signer) = "submitter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string submitter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"]; +} + +// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. +message MsgSubmitEvidenceResponse { + // hash defines the hash of the evidence. + bytes hash = 4; +} diff --git a/examples/telescope/proto/cosmos/feegrant/v1beta1/feegrant.proto b/examples/telescope/proto/cosmos/feegrant/v1beta1/feegrant.proto new file mode 100644 index 000000000..eca71e2b9 --- /dev/null +++ b/examples/telescope/proto/cosmos/feegrant/v1beta1/feegrant.proto @@ -0,0 +1,78 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/duration.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// BasicAllowance implements Allowance with a one-time grant of tokens +// that optionally expires. The grantee can use up to SpendLimit to cover fees. +message BasicAllowance { + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // spend_limit specifies the maximum amount of tokens that can be spent + // by this allowance and will be updated as tokens are spent. If it is + // empty, there is no spend limit and any amount of coins can be spent. + repeated cosmos.base.v1beta1.Coin spend_limit = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // expiration specifies an optional time when this allowance expires + google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true]; +} + +// PeriodicAllowance extends Allowance to allow for both a maximum cap, +// as well as a limit per time period. +message PeriodicAllowance { + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // basic specifies a struct of `BasicAllowance` + BasicAllowance basic = 1 [(gogoproto.nullable) = false]; + + // period specifies the time duration in which period_spend_limit coins can + // be spent before that allowance is reset + google.protobuf.Duration period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; + + // period_spend_limit specifies the maximum number of coins that can be spent + // in the period + repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // period_can_spend is the number of coins left to be spent before the period_reset time + repeated cosmos.base.v1beta1.Coin period_can_spend = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // 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 + google.protobuf.Timestamp period_reset = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; +} + +// AllowedMsgAllowance creates allowance only for specified message types. +message AllowedMsgAllowance { + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "FeeAllowanceI"; + + // allowance can be any of basic and periodic fee allowance. + google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; + + // allowed_messages are the messages for which the grantee has the access. + repeated string allowed_messages = 2; +} + +// Grant is stored in the KVStore to record a grant with full context +message Grant { + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // allowance can be any of basic, periodic, allowed fee allowance. + google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; +} diff --git a/examples/telescope/proto/cosmos/feegrant/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/feegrant/v1beta1/genesis.proto new file mode 100644 index 000000000..5b1ac4ca5 --- /dev/null +++ b/examples/telescope/proto/cosmos/feegrant/v1beta1/genesis.proto @@ -0,0 +1,13 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/feegrant/v1beta1/feegrant.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// GenesisState contains a set of fee allowances, persisted from the store +message GenesisState { + repeated Grant allowances = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/feegrant/v1beta1/query.proto b/examples/telescope/proto/cosmos/feegrant/v1beta1/query.proto new file mode 100644 index 000000000..59c992c91 --- /dev/null +++ b/examples/telescope/proto/cosmos/feegrant/v1beta1/query.proto @@ -0,0 +1,79 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "cosmos/feegrant/v1beta1/feegrant.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// Query defines the gRPC querier service. +service Query { + + // Allowance returns fee granted to the grantee by the granter. + rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; + } + + // Allowances returns all the grants for address. + rpc Allowances(QueryAllowancesRequest) returns (QueryAllowancesResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowances/{grantee}"; + } + + // AllowancesByGranter returns all the grants given by an address + // Since v0.46 + rpc AllowancesByGranter(QueryAllowancesByGranterRequest) returns (QueryAllowancesByGranterResponse) { + option (google.api.http).get = "/cosmos/feegrant/v1beta1/issued/{granter}"; + } +} + +// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. +message QueryAllowanceRequest { + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. +message QueryAllowanceResponse { + // allowance is a allowance granted for grantee by granter. + cosmos.feegrant.v1beta1.Grant allowance = 1; +} + +// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. +message QueryAllowancesRequest { + string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. +message QueryAllowancesResponse { + // allowances are allowance's granted for grantee by granter. + repeated cosmos.feegrant.v1beta1.Grant allowances = 1; + + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. +message QueryAllowancesByGranterRequest { + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. +message QueryAllowancesByGranterResponse { + // allowances that have been issued by the granter. + repeated cosmos.feegrant.v1beta1.Grant allowances = 1; + + // pagination defines an pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/feegrant/v1beta1/tx.proto b/examples/telescope/proto/cosmos/feegrant/v1beta1/tx.proto new file mode 100644 index 000000000..a12d9aaab --- /dev/null +++ b/examples/telescope/proto/cosmos/feegrant/v1beta1/tx.proto @@ -0,0 +1,53 @@ +// Since: cosmos-sdk 0.43 +syntax = "proto3"; +package cosmos.feegrant.v1beta1; + +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; + +// Msg defines the feegrant msg service. +service Msg { + + // GrantAllowance grants fee allowance to the grantee on the granter's + // account with the provided expiration time. + rpc GrantAllowance(MsgGrantAllowance) returns (MsgGrantAllowanceResponse); + + // RevokeAllowance revokes any fee allowance of granter's account that + // has been granted to the grantee. + rpc RevokeAllowance(MsgRevokeAllowance) returns (MsgRevokeAllowanceResponse); +} + +// MsgGrantAllowance adds permission for Grantee to spend up to Allowance +// of fees from the account of Granter. +message MsgGrantAllowance { + option (cosmos.msg.v1.signer) = "granter"; + + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // allowance can be any of basic, periodic, allowed fee allowance. + google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; +} + +// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. +message MsgGrantAllowanceResponse {} + +// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. +message MsgRevokeAllowance { + option (cosmos.msg.v1.signer) = "granter"; + + // granter is the address of the user granting an allowance of their funds. + string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // grantee is the address of the user being granted an allowance of another user's funds. + string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. +message MsgRevokeAllowanceResponse {} diff --git a/examples/telescope/proto/cosmos/genutil/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/genutil/v1beta1/genesis.proto new file mode 100644 index 000000000..958d15feb --- /dev/null +++ b/examples/telescope/proto/cosmos/genutil/v1beta1/genesis.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package cosmos.genutil.v1beta1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; + +// GenesisState defines the raw genesis transaction in JSON. +message GenesisState { + // gen_txs defines the genesis transactions. + repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage", (gogoproto.jsontag) = "gentxs"]; +} diff --git a/examples/telescope/proto/cosmos/gov/v1/genesis.proto b/examples/telescope/proto/cosmos/gov/v1/genesis.proto new file mode 100644 index 000000000..cb44a7f34 --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1/genesis.proto @@ -0,0 +1,26 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; + +package cosmos.gov.v1; + +import "cosmos/gov/v1/gov.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// GenesisState defines the gov module's genesis state. +message GenesisState { + // starting_proposal_id is the ID of the starting proposal. + uint64 starting_proposal_id = 1; + // deposits defines all the deposits present at genesis. + repeated Deposit deposits = 2; + // votes defines all the votes present at genesis. + repeated Vote votes = 3; + // proposals defines all the proposals present at genesis. + repeated Proposal proposals = 4; + // params defines all the paramaters of related to deposit. + DepositParams deposit_params = 5; + // params defines all the paramaters of related to voting. + VotingParams voting_params = 6; + // params defines all the paramaters of related to tally. + TallyParams tally_params = 7; +} diff --git a/examples/telescope/proto/cosmos/gov/v1/gov.proto b/examples/telescope/proto/cosmos/gov/v1/gov.proto new file mode 100644 index 000000000..fb014d65c --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1/gov.proto @@ -0,0 +1,132 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// VoteOption enumerates the valid vote options for a given governance proposal. +enum VoteOption { + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4; +} + +// WeightedVoteOption defines a unit of vote for vote split. +message WeightedVoteOption { + VoteOption option = 1; + string weight = 2 [(cosmos_proto.scalar) = "cosmos.Dec"]; +} + +// Deposit defines an amount deposited by an account address to an active +// proposal. +message Deposit { + uint64 proposal_id = 1; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// Proposal defines the core field members of a governance proposal. +message Proposal { + uint64 id = 1; + repeated google.protobuf.Any messages = 2; + ProposalStatus status = 3; + // 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. + TallyResult final_tally_result = 4; + google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true]; + repeated cosmos.base.v1beta1.Coin total_deposit = 7 [(gogoproto.nullable) = false]; + google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true]; + + // metadata is any arbitrary metadata attached to the proposal. + string metadata = 10; +} + +// ProposalStatus enumerates the valid statuses of a proposal. +enum ProposalStatus { + // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + PROPOSAL_STATUS_UNSPECIFIED = 0; + // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + // period. + PROPOSAL_STATUS_DEPOSIT_PERIOD = 1; + // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + // period. + PROPOSAL_STATUS_VOTING_PERIOD = 2; + // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + // passed. + PROPOSAL_STATUS_PASSED = 3; + // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + // been rejected. + PROPOSAL_STATUS_REJECTED = 4; + // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + // failed. + PROPOSAL_STATUS_FAILED = 5; +} + +// TallyResult defines a standard tally for a governance proposal. +message TallyResult { + string yes_count = 1 [(cosmos_proto.scalar) = "cosmos.Int"]; + string abstain_count = 2 [(cosmos_proto.scalar) = "cosmos.Int"]; + string no_count = 3 [(cosmos_proto.scalar) = "cosmos.Int"]; + string no_with_veto_count = 4 [(cosmos_proto.scalar) = "cosmos.Int"]; +} + +// Vote defines a vote on a governance proposal. +// A Vote consists of a proposal ID, the voter, and the vote option. +message Vote { + uint64 proposal_id = 1; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + reserved 3; + repeated WeightedVoteOption options = 4; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 5; +} + +// DepositParams defines the params for deposits on governance proposals. +message DepositParams { + // Minimum deposit for a proposal to enter voting period. + repeated cosmos.base.v1beta1.Coin min_deposit = 1 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "min_deposit,omitempty"]; + + // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + // months. + google.protobuf.Duration max_deposit_period = 2 + [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; +} + +// VotingParams defines the params for voting on governance proposals. +message VotingParams { + // Length of the voting period. + google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true]; +} + +// TallyParams defines the params for tallying votes on governance proposals. +message TallyParams { + // Minimum percentage of total stake needed to vote for a result to be + // considered valid. + string quorum = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "quorum,omitempty"]; + + // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + string threshold = 2 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "threshold,omitempty"]; + + // Minimum value of Veto votes to Total votes ratio for proposal to be + // vetoed. Default value: 1/3. + string veto_threshold = 3 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "veto_threshold,omitempty"]; +} diff --git a/examples/telescope/proto/cosmos/gov/v1/query.proto b/examples/telescope/proto/cosmos/gov/v1/query.proto new file mode 100644 index 000000000..ea46472aa --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1/query.proto @@ -0,0 +1,183 @@ + +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos/gov/v1/gov.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// Query defines the gRPC querier service for gov module +service Query { + // Proposal queries proposal details based on ProposalID. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}"; + } + + // Proposals queries all proposals based on given status. + rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals"; + } + + // Vote queries voted information based on proposalID, voterAddr. + rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}"; + } + + // Votes queries votes of a given proposal. + rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes"; + } + + // Params queries all parameters of the gov module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/params/{params_type}"; + } + + // Deposit queries single deposit information based proposalID, depositAddr. + rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}"; + } + + // Deposits queries all deposits of a single proposal. + rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits"; + } + + // TallyResult queries the tally of a proposal vote. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/tally"; + } +} + +// QueryProposalRequest is the request type for the Query/Proposal RPC method. +message QueryProposalRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the response type for the Query/Proposal RPC method. +message QueryProposalResponse { + Proposal proposal = 1; +} + +// QueryProposalsRequest is the request type for the Query/Proposals RPC method. +message QueryProposalsRequest { + // proposal_status defines the status of the proposals. + ProposalStatus proposal_status = 1; + + // voter defines the voter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // depositor defines the deposit addresses from the proposals. + string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryProposalsResponse is the response type for the Query/Proposals RPC +// method. +message QueryProposalsResponse { + repeated Proposal proposals = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteRequest is the request type for the Query/Vote RPC method. +message QueryVoteRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // voter defines the oter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteResponse is the response type for the Query/Vote RPC method. +message QueryVoteResponse { + // vote defined the queried vote. + Vote vote = 1; +} + +// QueryVotesRequest is the request type for the Query/Votes RPC method. +message QueryVotesRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesResponse is the response type for the Query/Votes RPC method. +message QueryVotesResponse { + // votes defined the queried votes. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest { + // params_type defines which parameters to query for, can be one of "voting", + // "tallying" or "deposit". + string params_type = 1; +} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // voting_params defines the parameters related to voting. + VotingParams voting_params = 1; + // deposit_params defines the parameters related to deposit. + DepositParams deposit_params = 2; + // tally_params defines the parameters related to tally. + TallyParams tally_params = 3; +} + +// QueryDepositRequest is the request type for the Query/Deposit RPC method. +message QueryDepositRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // depositor defines the deposit addresses from the proposals. + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDepositResponse is the response type for the Query/Deposit RPC method. +message QueryDepositResponse { + // deposit defines the requested deposit. + Deposit deposit = 1; +} + +// QueryDepositsRequest is the request type for the Query/Deposits RPC method. +message QueryDepositsRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDepositsResponse is the response type for the Query/Deposits RPC method. +message QueryDepositsResponse { + repeated Deposit deposits = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the request type for the Query/Tally RPC method. +message QueryTallyResultRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the response type for the Query/Tally RPC method. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1; +} diff --git a/examples/telescope/proto/cosmos/gov/v1/tx.proto b/examples/telescope/proto/cosmos/gov/v1/tx.proto new file mode 100644 index 000000000..9306c51e8 --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1/tx.proto @@ -0,0 +1,100 @@ +// Since: cosmos-sdk 0.46 +syntax = "proto3"; +package cosmos.gov.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/gov/v1/gov.proto"; +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; + +// Msg defines the gov Msg service. +service Msg { + // SubmitProposal defines a method to create new proposal given a content. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal + // to execute a legacy content-based proposal. + rpc ExecLegacyContent(MsgExecLegacyContent) returns (MsgExecLegacyContentResponse); + + // Vote defines a method to add a vote on a specific proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // VoteWeighted defines a method to add a weighted vote on a specific proposal. + rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); + + // Deposit defines a method to add deposit on a specific proposal. + rpc Deposit(MsgDeposit) returns (MsgDepositResponse); +} + +// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary +// proposal Content. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposer"; + + repeated google.protobuf.Any messages = 1; + repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [(gogoproto.nullable) = false]; + string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // metadata is any arbitrary metadata attached to the proposal. + string metadata = 4; +} + +// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + uint64 proposal_id = 1; +} + +// MsgExecLegacyContent is used to wrap the legacy content field into a message. +// This ensures backwards compatibility with v1beta1.MsgSubmitProposal. +message MsgExecLegacyContent { + option (cosmos.msg.v1.signer) = "authority"; + + // content is the proposal's content. + google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + // authority must be the gov module address. + string authority = 2; +} + +// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. +message MsgExecLegacyContentResponse {} + +// MsgVote defines a message to cast a vote. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + VoteOption option = 3; + string metadata = 4; +} + +// MsgVoteResponse defines the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgVoteWeighted defines a message to cast a vote. +message MsgVoteWeighted { + option (cosmos.msg.v1.signer) = "voter"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated WeightedVoteOption options = 3; + string metadata = 4; +} + +// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. +message MsgVoteWeightedResponse {} + +// MsgDeposit defines a message to submit a deposit to an existing proposal. +message MsgDeposit { + option (cosmos.msg.v1.signer) = "depositor"; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgDepositResponse defines the Msg/Deposit response type. +message MsgDepositResponse {} diff --git a/examples/telescope/proto/cosmos/gov/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/gov/v1beta1/genesis.proto new file mode 100644 index 000000000..be9b07e46 --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1beta1/genesis.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + +package cosmos.gov.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/gov/v1beta1/gov.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// GenesisState defines the gov module's genesis state. +message GenesisState { + // starting_proposal_id is the ID of the starting proposal. + uint64 starting_proposal_id = 1; + // deposits defines all the deposits present at genesis. + repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false]; + // votes defines all the votes present at genesis. + repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false]; + // proposals defines all the proposals present at genesis. + repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false]; + // params defines all the paramaters of related to deposit. + DepositParams deposit_params = 5 [(gogoproto.nullable) = false]; + // params defines all the paramaters of related to voting. + VotingParams voting_params = 6 [(gogoproto.nullable) = false]; + // params defines all the paramaters of related to tally. + TallyParams tally_params = 7 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/gov/v1beta1/gov.proto b/examples/telescope/proto/cosmos/gov/v1beta1/gov.proto new file mode 100644 index 000000000..f1487fe4b --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1beta1/gov.proto @@ -0,0 +1,201 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; + +// VoteOption enumerates the valid vote options for a given governance proposal. +enum VoteOption { + option (gogoproto.goproto_enum_prefix) = false; + + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"]; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"]; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"]; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"]; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"]; +} + +// WeightedVoteOption defines a unit of vote for vote split. +// +// Since: cosmos-sdk 0.43 +message WeightedVoteOption { + VoteOption option = 1; + string weight = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// TextProposal defines a standard text proposal whose changes need to be +// manually updated in case of approval. +message TextProposal { + option (cosmos_proto.implements_interface) = "Content"; + + option (gogoproto.equal) = true; + + string title = 1; + string description = 2; +} + +// Deposit defines an amount deposited by an account address to an active +// proposal. +message Deposit { + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + uint64 proposal_id = 1; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// Proposal defines the core field members of a governance proposal. +message Proposal { + option (gogoproto.equal) = true; + + uint64 proposal_id = 1; + google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "Content"]; + ProposalStatus status = 3; + // 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. + TallyResult final_tally_result = 4 [(gogoproto.nullable) = false]; + google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin total_deposit = 7 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; +} + +// ProposalStatus enumerates the valid statuses of a proposal. +enum ProposalStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. + PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"]; + // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit + // period. + PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"]; + // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting + // period. + PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"]; + // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has + // passed. + PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"]; + // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has + // been rejected. + PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"]; + // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has + // failed. + PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"]; +} + +// TallyResult defines a standard tally for a governance proposal. +message TallyResult { + option (gogoproto.equal) = true; + + string yes = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string abstain = 2 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string no = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string no_with_veto = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// Vote defines a vote on a governance proposal. +// A Vote consists of a proposal ID, the voter, and the vote option. +message Vote { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // 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. + VoteOption option = 3 [deprecated = true]; + // Since: cosmos-sdk 0.43 + repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false]; +} + +// DepositParams defines the params for deposits on governance proposals. +message DepositParams { + // Minimum deposit for a proposal to enter voting period. + repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.jsontag) = "min_deposit,omitempty" + ]; + + // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + // months. + google.protobuf.Duration max_deposit_period = 2 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.jsontag) = "max_deposit_period,omitempty" + ]; +} + +// VotingParams defines the params for voting on governance proposals. +message VotingParams { + // Length of the voting period. + google.protobuf.Duration voting_period = 1 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"]; +} + +// TallyParams defines the params for tallying votes on governance proposals. +message TallyParams { + // Minimum percentage of total stake needed to vote for a result to be + // considered valid. + bytes quorum = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "quorum,omitempty" + ]; + + // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + bytes threshold = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "threshold,omitempty" + ]; + + // Minimum value of Veto votes to Total votes ratio for proposal to be + // vetoed. Default value: 1/3. + bytes veto_threshold = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "veto_threshold,omitempty" + ]; +} diff --git a/examples/telescope/proto/cosmos/gov/v1beta1/query.proto b/examples/telescope/proto/cosmos/gov/v1beta1/query.proto new file mode 100644 index 000000000..e8837fd27 --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1beta1/query.proto @@ -0,0 +1,191 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/gov/v1beta1/gov.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// Query defines the gRPC querier service for gov module +service Query { + // Proposal queries proposal details based on ProposalID. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}"; + } + + // Proposals queries all proposals based on given status. + rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals"; + } + + // Vote queries voted information based on proposalID, voterAddr. + rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; + } + + // Votes queries votes of a given proposal. + rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; + } + + // Params queries all parameters of the gov module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/params/{params_type}"; + } + + // Deposit queries single deposit information based proposalID, depositAddr. + rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; + } + + // Deposits queries all deposits of a single proposal. + rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; + } + + // TallyResult queries the tally of a proposal vote. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; + } +} + +// QueryProposalRequest is the request type for the Query/Proposal RPC method. +message QueryProposalRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the response type for the Query/Proposal RPC method. +message QueryProposalResponse { + Proposal proposal = 1 [(gogoproto.nullable) = false]; +} + +// QueryProposalsRequest is the request type for the Query/Proposals RPC method. +message QueryProposalsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // proposal_status defines the status of the proposals. + ProposalStatus proposal_status = 1; + + // voter defines the voter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // depositor defines the deposit addresses from the proposals. + string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryProposalsResponse is the response type for the Query/Proposals RPC +// method. +message QueryProposalsResponse { + repeated Proposal proposals = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteRequest is the request type for the Query/Vote RPC method. +message QueryVoteRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // voter defines the oter address for the proposals. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteResponse is the response type for the Query/Vote RPC method. +message QueryVoteResponse { + // vote defined the queried vote. + Vote vote = 1 [(gogoproto.nullable) = false]; +} + +// QueryVotesRequest is the request type for the Query/Votes RPC method. +message QueryVotesRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesResponse is the response type for the Query/Votes RPC method. +message QueryVotesResponse { + // votes defined the queried votes. + repeated Vote votes = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest { + // params_type defines which parameters to query for, can be one of "voting", + // "tallying" or "deposit". + string params_type = 1; +} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // voting_params defines the parameters related to voting. + VotingParams voting_params = 1 [(gogoproto.nullable) = false]; + // deposit_params defines the parameters related to deposit. + DepositParams deposit_params = 2 [(gogoproto.nullable) = false]; + // tally_params defines the parameters related to tally. + TallyParams tally_params = 3 [(gogoproto.nullable) = false]; +} + +// QueryDepositRequest is the request type for the Query/Deposit RPC method. +message QueryDepositRequest { + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // depositor defines the deposit addresses from the proposals. + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDepositResponse is the response type for the Query/Deposit RPC method. +message QueryDepositResponse { + // deposit defines the requested deposit. + Deposit deposit = 1 [(gogoproto.nullable) = false]; +} + +// QueryDepositsRequest is the request type for the Query/Deposits RPC method. +message QueryDepositsRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDepositsResponse is the response type for the Query/Deposits RPC method. +message QueryDepositsResponse { + repeated Deposit deposits = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the request type for the Query/Tally RPC method. +message QueryTallyResultRequest { + // proposal_id defines the unique id of the proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the response type for the Query/Tally RPC method. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/gov/v1beta1/tx.proto b/examples/telescope/proto/cosmos/gov/v1beta1/tx.proto new file mode 100644 index 000000000..00ce2253e --- /dev/null +++ b/examples/telescope/proto/cosmos/gov/v1beta1/tx.proto @@ -0,0 +1,106 @@ +syntax = "proto3"; +package cosmos.gov.v1beta1; + +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/gov/v1beta1/gov.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; + +// Msg defines the bank Msg service. +service Msg { + // SubmitProposal defines a method to create new proposal given a content. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // Vote defines a method to add a vote on a specific proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // VoteWeighted defines a method to add a weighted vote on a specific proposal. + // + // Since: cosmos-sdk 0.43 + rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); + + // Deposit defines a method to add deposit on a specific proposal. + rpc Deposit(MsgDeposit) returns (MsgDepositResponse); +} + +// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary +// proposal Content. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposer"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + repeated cosmos.base.v1beta1.Coin initial_deposit = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; +} + +// MsgVote defines a message to cast a vote. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + VoteOption option = 3; +} + +// MsgVoteResponse defines the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgVoteWeighted defines a message to cast a vote. +// +// Since: cosmos-sdk 0.43 +message MsgVoteWeighted { + option (cosmos.msg.v1.signer) = "voter"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false]; +} + +// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. +// +// Since: cosmos-sdk 0.43 +message MsgVoteWeightedResponse {} + +// MsgDeposit defines a message to submit a deposit to an existing proposal. +message MsgDeposit { + option (cosmos.msg.v1.signer) = "depositor"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; + + uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; + string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgDepositResponse defines the Msg/Deposit response type. +message MsgDepositResponse {} diff --git a/examples/telescope/proto/cosmos/group/v1/events.proto b/examples/telescope/proto/cosmos/group/v1/events.proto new file mode 100644 index 000000000..e8907243a --- /dev/null +++ b/examples/telescope/proto/cosmos/group/v1/events.proto @@ -0,0 +1,77 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/group/v1/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +// EventCreateGroup is an event emitted when a group is created. +message EventCreateGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// EventUpdateGroup is an event emitted when a group is updated. +message EventUpdateGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// EventCreateGroupPolicy is an event emitted when a group policy is created. +message EventCreateGroupPolicy { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventUpdateGroupPolicy is an event emitted when a group policy is updated. +message EventUpdateGroupPolicy { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// EventSubmitProposal is an event emitted when a proposal is created. +message EventSubmitProposal { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventWithdrawProposal is an event emitted when a proposal is withdrawn. +message EventWithdrawProposal { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventVote is an event emitted when a voter votes on a proposal. +message EventVote { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// EventExec is an event emitted when a proposal is executed. +message EventExec { + + // proposal_id is the unique ID of the proposal. + uint64 proposal_id = 1; + + // result is the proposal execution result. + ProposalExecutorResult result = 2; +} + +// EventLeaveGroup is an event emitted when group member leaves the group. +message EventLeaveGroup { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // address is the account address of the group member. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} diff --git a/examples/telescope/proto/cosmos/group/v1/genesis.proto b/examples/telescope/proto/cosmos/group/v1/genesis.proto new file mode 100644 index 000000000..49655ad2f --- /dev/null +++ b/examples/telescope/proto/cosmos/group/v1/genesis.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "cosmos/group/v1/types.proto"; + +// GenesisState defines the group module's genesis state. +message GenesisState { + + // group_seq is the group table orm.Sequence, + // it is used to get the next group ID. + uint64 group_seq = 1; + + // groups is the list of groups info. + repeated GroupInfo groups = 2; + + // group_members is the list of groups members. + repeated GroupMember group_members = 3; + + // group_policy_seq is the group policy table orm.Sequence, + // it is used to generate the next group policy account address. + uint64 group_policy_seq = 4; + + // group_policies is the list of group policies info. + repeated GroupPolicyInfo group_policies = 5; + + // proposal_seq is the proposal table orm.Sequence, + // it is used to get the next proposal ID. + uint64 proposal_seq = 6; + + // proposals is the list of proposals. + repeated Proposal proposals = 7; + + // votes is the list of votes. + repeated Vote votes = 8; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/group/v1/query.proto b/examples/telescope/proto/cosmos/group/v1/query.proto new file mode 100644 index 000000000..1690d5b73 --- /dev/null +++ b/examples/telescope/proto/cosmos/group/v1/query.proto @@ -0,0 +1,308 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/group/v1/types.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +// Query is the cosmos.group.v1 Query service. +service Query { + + // GroupInfo queries group info based on group id. + rpc GroupInfo(QueryGroupInfoRequest) returns (QueryGroupInfoResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_info/{group_id}"; + }; + + // GroupPolicyInfo queries group policy info based on account address of group policy. + rpc GroupPolicyInfo(QueryGroupPolicyInfoRequest) returns (QueryGroupPolicyInfoResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policy_info/{address}"; + }; + + // GroupMembers queries members of a group + rpc GroupMembers(QueryGroupMembersRequest) returns (QueryGroupMembersResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_members/{group_id}"; + }; + + // GroupsByAdmin queries groups by admin address. + rpc GroupsByAdmin(QueryGroupsByAdminRequest) returns (QueryGroupsByAdminResponse) { + option (google.api.http).get = "/cosmos/group/v1/groups_by_admin/{admin}"; + }; + + // GroupPoliciesByGroup queries group policies by group id. + rpc GroupPoliciesByGroup(QueryGroupPoliciesByGroupRequest) returns (QueryGroupPoliciesByGroupResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policies_by_group/{group_id}"; + }; + + // GroupsByAdmin queries group policies by admin address. + rpc GroupPoliciesByAdmin(QueryGroupPoliciesByAdminRequest) returns (QueryGroupPoliciesByAdminResponse) { + option (google.api.http).get = "/cosmos/group/v1/group_policies_by_admin/{admin}"; + }; + + // Proposal queries a proposal based on proposal id. + rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposal/{proposal_id}"; + }; + + // ProposalsByGroupPolicy queries proposals based on account address of group policy. + rpc ProposalsByGroupPolicy(QueryProposalsByGroupPolicyRequest) returns (QueryProposalsByGroupPolicyResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposals_by_group_policy/{address}"; + }; + + // VoteByProposalVoter queries a vote by proposal id and voter. + rpc VoteByProposalVoter(QueryVoteByProposalVoterRequest) returns (QueryVoteByProposalVoterResponse) { + option (google.api.http).get = "/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}"; + }; + + // VotesByProposal queries a vote by proposal. + rpc VotesByProposal(QueryVotesByProposalRequest) returns (QueryVotesByProposalResponse) { + option (google.api.http).get = "/cosmos/group/v1/votes_by_proposal/{proposal_id}"; + }; + + // VotesByVoter queries a vote by voter. + rpc VotesByVoter(QueryVotesByVoterRequest) returns (QueryVotesByVoterResponse) { + option (google.api.http).get = "/cosmos/group/v1/votes_by_voter/{voter}"; + }; + + // GroupsByMember queries groups by member address. + rpc GroupsByMember(QueryGroupsByMemberRequest) returns (QueryGroupsByMemberResponse) { + option (google.api.http).get = "/cosmos/group/v1/groups_by_member/{address}"; + }; + + // TallyResult queries the tally of a proposal votes. + rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { + option (google.api.http).get = "/cosmos/group/v1/proposals/{proposal_id}/tally"; + }; +} + +// QueryGroupInfoRequest is the Query/GroupInfo request type. +message QueryGroupInfoRequest { + + // group_id is the unique ID of the group. + uint64 group_id = 1; +} + +// QueryGroupInfoResponse is the Query/GroupInfo response type. +message QueryGroupInfoResponse { + + // info is the GroupInfo for the group. + GroupInfo info = 1; +} + +// QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. +message QueryGroupPolicyInfoRequest { + + // address is the account address of the group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. +message QueryGroupPolicyInfoResponse { + + // info is the GroupPolicyInfo for the group policy. + GroupPolicyInfo info = 1; +} + +// QueryGroupMembersRequest is the Query/GroupMembers request type. +message QueryGroupMembersRequest { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupMembersResponse is the Query/GroupMembersResponse response type. +message QueryGroupMembersResponse { + + // members are the members of the group with given group_id. + repeated GroupMember members = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. +message QueryGroupsByAdminRequest { + + // admin is the account address of a group's admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. +message QueryGroupsByAdminResponse { + + // groups are the groups info with the provided admin. + repeated GroupInfo groups = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. +message QueryGroupPoliciesByGroupRequest { + + // group_id is the unique ID of the group policy's group. + uint64 group_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. +message QueryGroupPoliciesByGroupResponse { + + // group_policies are the group policies info associated with the provided group. + repeated GroupPolicyInfo group_policies = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. +message QueryGroupPoliciesByAdminRequest { + + // admin is the admin address of the group policy. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. +message QueryGroupPoliciesByAdminResponse { + + // group_policies are the group policies info with provided admin. + repeated GroupPolicyInfo group_policies = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryProposalRequest is the Query/Proposal request type. +message QueryProposalRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; +} + +// QueryProposalResponse is the Query/Proposal response type. +message QueryProposalResponse { + + // proposal is the proposal info. + Proposal proposal = 1; +} + +// QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. +message QueryProposalsByGroupPolicyRequest { + + // address is the account address of the group policy related to proposals. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. +message QueryProposalsByGroupPolicyResponse { + + // proposals are the proposals with given group policy. + repeated Proposal proposals = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. +message QueryVoteByProposalVoterRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; + + // voter is a proposal voter account address. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. +message QueryVoteByProposalVoterResponse { + + // vote is the vote with given proposal_id and voter. + Vote vote = 1; +} + +// QueryVotesByProposalRequest is the Query/VotesByProposal request type. +message QueryVotesByProposalRequest { + + // proposal_id is the unique ID of a proposal. + uint64 proposal_id = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesByProposalResponse is the Query/VotesByProposal response type. +message QueryVotesByProposalResponse { + + // votes are the list of votes for given proposal_id. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryVotesByVoterRequest is the Query/VotesByVoter request type. +message QueryVotesByVoterRequest { + // voter is a proposal voter account address. + string voter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryVotesByVoterResponse is the Query/VotesByVoter response type. +message QueryVotesByVoterResponse { + + // votes are the list of votes by given voter. + repeated Vote votes = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryGroupsByMemberRequest is the Query/GroupsByMember request type. +message QueryGroupsByMemberRequest { + // address is the group member address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryGroupsByMemberResponse is the Query/GroupsByMember response type. +message QueryGroupsByMemberResponse { + // groups are the groups info with the provided group member. + repeated GroupInfo groups = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryTallyResultRequest is the Query/TallyResult request type. +message QueryTallyResultRequest { + // proposal_id is the unique id of a proposal. + uint64 proposal_id = 1; +} + +// QueryTallyResultResponse is the Query/TallyResult response type. +message QueryTallyResultResponse { + // tally defines the requested tally. + TallyResult tally = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/group/v1/tx.proto b/examples/telescope/proto/cosmos/group/v1/tx.proto new file mode 100644 index 000000000..08d83ede8 --- /dev/null +++ b/examples/telescope/proto/cosmos/group/v1/tx.proto @@ -0,0 +1,364 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; +import "cosmos/group/v1/types.proto"; + +import "cosmos/msg/v1/msg.proto"; + +// Msg is the cosmos.group.v1 Msg service. +service Msg { + + // CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. + rpc CreateGroup(MsgCreateGroup) returns (MsgCreateGroupResponse); + + // UpdateGroupMembers updates the group members with given group id and admin address. + rpc UpdateGroupMembers(MsgUpdateGroupMembers) returns (MsgUpdateGroupMembersResponse); + + // UpdateGroupAdmin updates the group admin with given group id and previous admin address. + rpc UpdateGroupAdmin(MsgUpdateGroupAdmin) returns (MsgUpdateGroupAdminResponse); + + // UpdateGroupMetadata updates the group metadata with given group id and admin address. + rpc UpdateGroupMetadata(MsgUpdateGroupMetadata) returns (MsgUpdateGroupMetadataResponse); + + // CreateGroupPolicy creates a new group policy using given DecisionPolicy. + rpc CreateGroupPolicy(MsgCreateGroupPolicy) returns (MsgCreateGroupPolicyResponse); + + // CreateGroupWithPolicy creates a new group with policy. + rpc CreateGroupWithPolicy(MsgCreateGroupWithPolicy) returns (MsgCreateGroupWithPolicyResponse); + + // UpdateGroupPolicyAdmin updates a group policy admin. + rpc UpdateGroupPolicyAdmin(MsgUpdateGroupPolicyAdmin) returns (MsgUpdateGroupPolicyAdminResponse); + + // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. + rpc UpdateGroupPolicyDecisionPolicy(MsgUpdateGroupPolicyDecisionPolicy) + returns (MsgUpdateGroupPolicyDecisionPolicyResponse); + + // UpdateGroupPolicyMetadata updates a group policy metadata. + rpc UpdateGroupPolicyMetadata(MsgUpdateGroupPolicyMetadata) returns (MsgUpdateGroupPolicyMetadataResponse); + + // SubmitProposal submits a new proposal. + rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); + + // WithdrawProposal aborts a proposal. + rpc WithdrawProposal(MsgWithdrawProposal) returns (MsgWithdrawProposalResponse); + + // Vote allows a voter to vote on a proposal. + rpc Vote(MsgVote) returns (MsgVoteResponse); + + // Exec executes a proposal. + rpc Exec(MsgExec) returns (MsgExecResponse); + + // LeaveGroup allows a group member to leave the group. + rpc LeaveGroup(MsgLeaveGroup) returns (MsgLeaveGroupResponse); +} + +// +// Groups +// + +// MsgCreateGroup is the Msg/CreateGroup request type. +message MsgCreateGroup { + option (cosmos.msg.v1.signer) = "admin"; + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // members defines the group members. + repeated Member members = 2 [(gogoproto.nullable) = false]; + + // metadata is any arbitrary metadata to attached to the group. + string metadata = 3; +} + +// MsgCreateGroupResponse is the Msg/CreateGroup response type. +message MsgCreateGroupResponse { + + // group_id is the unique ID of the newly created group. + uint64 group_id = 1; +} + +// MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. +message MsgUpdateGroupMembers { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // member_updates is the list of members to update, + // set weight to 0 to remove a member. + repeated Member member_updates = 3 [(gogoproto.nullable) = false]; +} + +// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. +message MsgUpdateGroupMembersResponse {} + +// MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. +message MsgUpdateGroupAdmin { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the current account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // new_admin is the group new admin account address. + string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. +message MsgUpdateGroupAdminResponse {} + +// MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. +message MsgUpdateGroupMetadata { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // metadata is the updated group's metadata. + string metadata = 3; +} + +// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. +message MsgUpdateGroupMetadataResponse {} + +// +// Group Policies +// + +// MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. +message MsgCreateGroupPolicy { + option (cosmos.msg.v1.signer) = "admin"; + + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // metadata is any arbitrary metadata attached to the group policy. + string metadata = 3; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 4 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. +message MsgCreateGroupPolicyResponse { + + // address is the account address of the newly created group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. +message MsgUpdateGroupPolicyAdmin { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of the group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // new_admin is the new group policy admin. + string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. +message MsgCreateGroupWithPolicy { + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group and group policy admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // members defines the group members. + repeated Member members = 2 [(gogoproto.nullable) = false]; + + // group_metadata is any arbitrary metadata attached to the group. + string group_metadata = 3; + + // group_policy_metadata is any arbitrary metadata attached to the group policy. + string group_policy_metadata = 4; + + // 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. + bool group_policy_as_admin = 5; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. +message MsgCreateGroupWithPolicyResponse { + + // group_id is the unique ID of the newly created group with policy. + uint64 group_id = 1; + + // group_policy_address is the account address of the newly created group policy. + string group_policy_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. +message MsgUpdateGroupPolicyAdminResponse {} + +// MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. +message MsgUpdateGroupPolicyDecisionPolicy { + option (cosmos.msg.v1.signer) = "admin"; + + option (gogoproto.goproto_getters) = false; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // decision_policy is the updated group policy's decision policy. + google.protobuf.Any decision_policy = 3 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; +} + +// MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. +message MsgUpdateGroupPolicyDecisionPolicyResponse {} + +// MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. +message MsgUpdateGroupPolicyMetadata { + option (cosmos.msg.v1.signer) = "admin"; + + // admin is the account address of the group admin. + string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is the updated group policy metadata. + string metadata = 3; +} + +// MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. +message MsgUpdateGroupPolicyMetadataResponse {} + +// +// Proposals and Voting +// + +// Exec defines modes of execution of a proposal on creation or on new vote. +enum Exec { + + // An empty value means that there should be a separate + // MsgExec request for the proposal to execute. + EXEC_UNSPECIFIED = 0; + + // 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; +} + +// MsgSubmitProposal is the Msg/SubmitProposal request type. +message MsgSubmitProposal { + option (cosmos.msg.v1.signer) = "proposers"; + + option (gogoproto.goproto_getters) = false; + + // address is the account address of group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // proposers are the account addresses of the proposers. + // Proposers signatures will be counted as yes votes. + repeated string proposers = 2; + + // metadata is any arbitrary metadata to attached to the proposal. + string metadata = 3; + + // messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + repeated google.protobuf.Any messages = 4; + + // 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 = 5; +} + +// MsgSubmitProposalResponse is the Msg/SubmitProposal response type. +message MsgSubmitProposalResponse { + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; +} + +// MsgWithdrawProposal is the Msg/WithdrawProposal request type. +message MsgWithdrawProposal { + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // address is the admin of the group policy or one of the proposer of the proposal. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. +message MsgWithdrawProposalResponse {} + +// MsgVote is the Msg/Vote request type. +message MsgVote { + option (cosmos.msg.v1.signer) = "voter"; + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + // voter is the voter account address. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // option is the voter's choice on the proposal. + VoteOption option = 3; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 4; + + // exec defines whether the proposal should be executed + // immediately after voting or not. + Exec exec = 5; +} + +// MsgVoteResponse is the Msg/Vote response type. +message MsgVoteResponse {} + +// MsgExec is the Msg/Exec request type. +message MsgExec { + option (cosmos.msg.v1.signer) = "signer"; + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // signer is the account address used to execute the proposal. + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgExecResponse is the Msg/Exec request type. +message MsgExecResponse {} + +// MsgLeaveGroup is the Msg/LeaveGroup request type. +message MsgLeaveGroup { + option (cosmos.msg.v1.signer) = "address"; + + // address is the account address of the group member. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; +} + +// MsgLeaveGroupResponse is the Msg/LeaveGroup response type. +message MsgLeaveGroupResponse {} diff --git a/examples/telescope/proto/cosmos/group/v1/types.proto b/examples/telescope/proto/cosmos/group/v1/types.proto new file mode 100644 index 000000000..e09a74c13 --- /dev/null +++ b/examples/telescope/proto/cosmos/group/v1/types.proto @@ -0,0 +1,308 @@ +syntax = "proto3"; + +package cosmos.group.v1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/group"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; + +// Member represents a group member with an account address, +// non-zero weight and metadata. +message Member { + + // address is the member's account address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // weight is the member's voting weight that should be greater than 0. + string weight = 2; + + // metadata is any arbitrary metadata to attached to the member. + string metadata = 3; + + // added_at is a timestamp specifying when a member was added. + google.protobuf.Timestamp added_at = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// Members defines a repeated slice of Member objects. +message Members { + + // members is the list of members. + repeated Member members = 1 [(gogoproto.nullable) = false]; +} + +// ThresholdDecisionPolicy implements the DecisionPolicy interface +message ThresholdDecisionPolicy { + option (cosmos_proto.implements_interface) = "DecisionPolicy"; + + // threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. + string threshold = 1; + + // windows defines the different windows for voting and execution. + DecisionPolicyWindows windows = 2; +} + +// PercentageDecisionPolicy implements the DecisionPolicy interface +message PercentageDecisionPolicy { + option (cosmos_proto.implements_interface) = "DecisionPolicy"; + + // percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. + string percentage = 1; + + // windows defines the different windows for voting and execution. + DecisionPolicyWindows windows = 2; +} + +// DecisionPolicyWindows defines the different windows for voting and execution. +message 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. + google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; + + // 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. + google.protobuf.Duration min_execution_period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; +} + +// VoteOption enumerates the valid vote options for a given proposal. +enum VoteOption { + option (gogoproto.goproto_enum_prefix) = false; + + // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. + VOTE_OPTION_UNSPECIFIED = 0; + // VOTE_OPTION_YES defines a yes vote option. + VOTE_OPTION_YES = 1; + // VOTE_OPTION_ABSTAIN defines an abstain vote option. + VOTE_OPTION_ABSTAIN = 2; + // VOTE_OPTION_NO defines a no vote option. + VOTE_OPTION_NO = 3; + // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. + VOTE_OPTION_NO_WITH_VETO = 4; +} + +// +// State +// + +// GroupInfo represents the high-level on-chain information for a group. +message GroupInfo { + + // id is the unique ID of the group. + uint64 id = 1; + + // admin is the account address of the group's admin. + string admin = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the group. + string metadata = 3; + + // 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 + uint64 version = 4; + + // total_weight is the sum of the group members' weights. + string total_weight = 5; + + // created_at is a timestamp specifying when a group was created. + google.protobuf.Timestamp created_at = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// GroupMember represents the relationship between a group and a member. +message GroupMember { + + // group_id is the unique ID of the group. + uint64 group_id = 1; + + // member is the member data. + Member member = 2; +} + +// GroupPolicyInfo represents the high-level on-chain information for a group policy. +message GroupPolicyInfo { + option (gogoproto.equal) = true; + option (gogoproto.goproto_getters) = false; + + // address is the account address of group policy. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // group_id is the unique ID of the group. + uint64 group_id = 2; + + // admin is the account address of the group admin. + string admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the group policy. + string metadata = 4; + + // version is used to track changes to a group's GroupPolicyInfo structure that + // would create a different result on a running proposal. + uint64 version = 5; + + // decision_policy specifies the group policy's decision policy. + google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; + + // created_at is a timestamp specifying when a group policy was created. + google.protobuf.Timestamp created_at = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// 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. +message Proposal { + option (gogoproto.goproto_getters) = false; + + // id is the unique id of the proposal. + uint64 id = 1; + + // address is the account address of group policy. + string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // metadata is any arbitrary metadata to attached to the proposal. + string metadata = 3; + + // proposers are the account addresses of the proposers. + repeated string proposers = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // submit_time is a timestamp specifying when a proposal was submitted. + google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // group_version tracks the version of the group that this proposal corresponds to. + // When group membership is changed, existing proposals from previous group versions will become invalid. + uint64 group_version = 6; + + // group_policy_version tracks the version of the group policy that this proposal corresponds to. + // When a decision policy is changed, existing proposals from previous policy versions will become invalid. + uint64 group_policy_version = 7; + + // status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + ProposalStatus status = 8; + + // result is the final result based on the votes and election rule. Initial value is unfinalized. + // The result is persisted so that clients can always rely on this state and not have to replicate the logic. + ProposalResult result = 9; + + // final_tally_result contains the sums of all weighted votes for this + // proposal for each vote option, after tallying. When querying a proposal + // via gRPC, this field is not populated until the proposal's voting period + // has ended. + TallyResult final_tally_result = 10 [(gogoproto.nullable) = false]; + + // 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`, as well + // as `status` and `result` fields will be accordingly updated. + google.protobuf.Timestamp voting_period_end = 11 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // executor_result is the final result based on the votes and election rule. Initial value is NotRun. + ProposalExecutorResult executor_result = 12; + + // messages is a list of Msgs that will be executed if the proposal passes. + repeated google.protobuf.Any messages = 13; +} + +// ProposalStatus defines proposal statuses. +enum ProposalStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is invalid and not allowed. + PROPOSAL_STATUS_UNSPECIFIED = 0; + + // Initial status of a proposal when persisted. + PROPOSAL_STATUS_SUBMITTED = 1; + + // Final status of a proposal when the final tally was executed. + PROPOSAL_STATUS_CLOSED = 2; + + // Final status of a proposal when the group was modified before the final tally. + PROPOSAL_STATUS_ABORTED = 3; + + // A proposal can be deleted before the voting start time by the owner. When this happens the final status + // is Withdrawn. + PROPOSAL_STATUS_WITHDRAWN = 4; +} + +// ProposalResult defines types of proposal results. +enum ProposalResult { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is invalid and not allowed + PROPOSAL_RESULT_UNSPECIFIED = 0; + + // Until a final tally has happened the status is unfinalized + PROPOSAL_RESULT_UNFINALIZED = 1; + + // Final result of the tally + PROPOSAL_RESULT_ACCEPTED = 2; + + // Final result of the tally + PROPOSAL_RESULT_REJECTED = 3; +} + +// ProposalExecutorResult defines types of proposal executor results. +enum ProposalExecutorResult { + option (gogoproto.goproto_enum_prefix) = false; + + // An empty value is not allowed. + PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0; + + // We have not yet run the executor. + PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1; + + // The executor was successful and proposed action updated state. + PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2; + + // The executor returned an error and proposed action didn't update state. + PROPOSAL_EXECUTOR_RESULT_FAILURE = 3; +} + +// TallyResult represents the sum of weighted votes for each vote option. +message TallyResult { + option (gogoproto.goproto_getters) = false; + + // yes_count is the weighted sum of yes votes. + string yes_count = 1; + + // abstain_count is the weighted sum of abstainers. + string abstain_count = 2; + + // no is the weighted sum of no votes. + string no_count = 3; + + // no_with_veto_count is the weighted sum of veto. + string no_with_veto_count = 4; +} + +// Vote represents a vote for a proposal. +message Vote { + + // proposal is the unique ID of the proposal. + uint64 proposal_id = 1; + + // voter is the account address of the voter. + string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // option is the voter's choice on the proposal. + VoteOption option = 3; + + // metadata is any arbitrary metadata to attached to the vote. + string metadata = 4; + + // submit_time is the timestamp when the vote was submitted. + google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} diff --git a/examples/telescope/proto/cosmos/mint/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/mint/v1beta1/genesis.proto new file mode 100644 index 000000000..4e783fb54 --- /dev/null +++ b/examples/telescope/proto/cosmos/mint/v1beta1/genesis.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/mint/v1beta1/mint.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +// GenesisState defines the mint module's genesis state. +message GenesisState { + // minter is a space for holding current inflation information. + Minter minter = 1 [(gogoproto.nullable) = false]; + + // params defines all the paramaters of the module. + Params params = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/mint/v1beta1/mint.proto b/examples/telescope/proto/cosmos/mint/v1beta1/mint.proto new file mode 100644 index 000000000..9cfe2b760 --- /dev/null +++ b/examples/telescope/proto/cosmos/mint/v1beta1/mint.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +// Minter represents the minting state. +message Minter { + // current annual inflation rate + string inflation = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // current annual expected provisions + string annual_provisions = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Params holds parameters for the mint module. +message Params { + option (gogoproto.goproto_stringer) = false; + + // type of coin to mint + string mint_denom = 1; + // maximum annual change in inflation rate + string inflation_rate_change = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // maximum inflation rate + string inflation_max = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // minimum inflation rate + string inflation_min = 4 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // goal of percent bonded atoms + string goal_bonded = 5 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // expected blocks per year + uint64 blocks_per_year = 6; +} diff --git a/examples/telescope/proto/cosmos/mint/v1beta1/query.proto b/examples/telescope/proto/cosmos/mint/v1beta1/query.proto new file mode 100644 index 000000000..acd341d77 --- /dev/null +++ b/examples/telescope/proto/cosmos/mint/v1beta1/query.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; +package cosmos.mint.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/mint/v1beta1/mint.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; + +// Query provides defines the gRPC querier service. +service Query { + // Params returns the total set of minting parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/params"; + } + + // Inflation returns the current minting inflation value. + rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/inflation"; + } + + // AnnualProvisions current minting annual provisions value. + rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) { + option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QueryInflationRequest is the request type for the Query/Inflation RPC method. +message QueryInflationRequest {} + +// QueryInflationResponse is the response type for the Query/Inflation RPC +// method. +message QueryInflationResponse { + // inflation is the current minting inflation value. + bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} + +// QueryAnnualProvisionsRequest is the request type for the +// Query/AnnualProvisions RPC method. +message QueryAnnualProvisionsRequest {} + +// QueryAnnualProvisionsResponse is the response type for the +// Query/AnnualProvisions RPC method. +message QueryAnnualProvisionsResponse { + // annual_provisions is the current minting annual provisions value. + bytes annual_provisions = 1 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/msg/v1/msg.proto b/examples/telescope/proto/cosmos/msg/v1/msg.proto new file mode 100644 index 000000000..89bdf3129 --- /dev/null +++ b/examples/telescope/proto/cosmos/msg/v1/msg.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package cosmos.msg.v1; + +import "google/protobuf/descriptor.proto"; + +// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. +// We need this right now because gogoproto codegen needs to import the extension. +option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; + +extend google.protobuf.MessageOptions { + // signer must be used in cosmos messages in order + // to signal to external clients which fields in a + // given cosmos message must be filled with signer + // information (address). + // The field must be the protobuf name of the message + // field extended with this MessageOption. + // The field must either be of string kind, or of message + // kind in case the signer information is contained within + // a message inside the cosmos message. + repeated string signer = 11110000; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/nft/v1beta1/event.proto b/examples/telescope/proto/cosmos/nft/v1beta1/event.proto new file mode 100644 index 000000000..96964f08a --- /dev/null +++ b/examples/telescope/proto/cosmos/nft/v1beta1/event.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// EventSend is emitted on Msg/Send +message EventSend { + string class_id = 1; + string id = 2; + string sender = 3; + string receiver = 4; +} + +// EventMint is emitted on Mint +message EventMint { + string class_id = 1; + string id = 2; + string owner = 3; +} + +// EventBurn is emitted on Burn +message EventBurn { + string class_id = 1; + string id = 2; + string owner = 3; +} diff --git a/examples/telescope/proto/cosmos/nft/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/nft/v1beta1/genesis.proto new file mode 100644 index 000000000..6f36ed34d --- /dev/null +++ b/examples/telescope/proto/cosmos/nft/v1beta1/genesis.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "cosmos/nft/v1beta1/nft.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// GenesisState defines the nft module's genesis state. +message GenesisState { + // class defines the class of the nft type. + repeated cosmos.nft.v1beta1.Class classes = 1; + repeated Entry entries = 2; +} + +// Entry Defines all nft owned by a person +message Entry { + // owner is the owner address of the following nft + string owner = 1; + + // nfts is a group of nfts of the same owner + repeated cosmos.nft.v1beta1.NFT nfts = 2; +} diff --git a/examples/telescope/proto/cosmos/nft/v1beta1/nft.proto b/examples/telescope/proto/cosmos/nft/v1beta1/nft.proto new file mode 100644 index 000000000..b12412600 --- /dev/null +++ b/examples/telescope/proto/cosmos/nft/v1beta1/nft.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// Class defines the class of the nft type. +message Class { + // id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 + string id = 1; + + // name defines the human-readable name of the NFT classification. Optional + string name = 2; + + // symbol is an abbreviated name for nft classification. Optional + string symbol = 3; + + // description is a brief description of nft classification. Optional + string description = 4; + + // uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional + string uri = 5; + + // uri_hash is a hash of the document pointed by uri. Optional + string uri_hash = 6; + + // data is the app specific metadata of the NFT class. Optional + google.protobuf.Any data = 7; +} + +// NFT defines the NFT. +message NFT { + // class_id associated with the NFT, similar to the contract address of ERC721 + string class_id = 1; + + // id is a unique identifier of the NFT + string id = 2; + + // uri for the NFT metadata stored off chain + string uri = 3; + + // uri_hash is a hash of the document pointed by uri + string uri_hash = 4; + + // data is an app specific data of the NFT. Optional + google.protobuf.Any data = 10; +} diff --git a/examples/telescope/proto/cosmos/nft/v1beta1/query.proto b/examples/telescope/proto/cosmos/nft/v1beta1/query.proto new file mode 100644 index 000000000..c1d8070f4 --- /dev/null +++ b/examples/telescope/proto/cosmos/nft/v1beta1/query.proto @@ -0,0 +1,125 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "google/api/annotations.proto"; +import "cosmos/nft/v1beta1/nft.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +// Query defines the gRPC querier service. +service Query { + // Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 + rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/balance/{owner}/{class_id}"; + } + + // Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 + rpc Owner(QueryOwnerRequest) returns (QueryOwnerResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/owner/{class_id}/{id}"; + } + + // Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. + rpc Supply(QuerySupplyRequest) returns (QuerySupplyResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/supply/{class_id}"; + } + + // NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in + // ERC721Enumerable + rpc NFTs(QueryNFTsRequest) returns (QueryNFTsResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/nfts"; + } + + // NFT queries an NFT based on its class and id. + rpc NFT(QueryNFTRequest) returns (QueryNFTResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/nfts/{class_id}/{id}"; + } + + // Class queries an NFT class based on its id + rpc Class(QueryClassRequest) returns (QueryClassResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/classes/{class_id}"; + } + + // Classes queries all NFT classes + rpc Classes(QueryClassesRequest) returns (QueryClassesResponse) { + option (google.api.http).get = "/cosmos/nft/v1beta1/classes"; + } +} + +// QueryBalanceRequest is the request type for the Query/Balance RPC method +message QueryBalanceRequest { + string class_id = 1; + string owner = 2; +} + +// QueryBalanceResponse is the response type for the Query/Balance RPC method +message QueryBalanceResponse { + uint64 amount = 1; +} + +// QueryOwnerRequest is the request type for the Query/Owner RPC method +message QueryOwnerRequest { + string class_id = 1; + string id = 2; +} + +// QueryOwnerResponse is the response type for the Query/Owner RPC method +message QueryOwnerResponse { + string owner = 1; +} + +// QuerySupplyRequest is the request type for the Query/Supply RPC method +message QuerySupplyRequest { + string class_id = 1; +} + +// QuerySupplyResponse is the response type for the Query/Supply RPC method +message QuerySupplyResponse { + uint64 amount = 1; +} + +// QueryNFTstRequest is the request type for the Query/NFTs RPC method +message QueryNFTsRequest { + string class_id = 1; + string owner = 2; + cosmos.base.query.v1beta1.PageRequest pagination = 3; +} + +// QueryNFTsResponse is the response type for the Query/NFTs RPC methods +message QueryNFTsResponse { + repeated cosmos.nft.v1beta1.NFT nfts = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryNFTRequest is the request type for the Query/NFT RPC method +message QueryNFTRequest { + string class_id = 1; + string id = 2; +} + +// QueryNFTResponse is the response type for the Query/NFT RPC method +message QueryNFTResponse { + cosmos.nft.v1beta1.NFT nft = 1; +} + +// QueryClassRequest is the request type for the Query/Class RPC method +message QueryClassRequest { + string class_id = 1; +} + +// QueryClassResponse is the response type for the Query/Class RPC method +message QueryClassResponse { + cosmos.nft.v1beta1.Class class = 1; +} + +// QueryClassesRequest is the request type for the Query/Classes RPC method +message QueryClassesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryClassesResponse is the response type for the Query/Classes RPC method +message QueryClassesResponse { + repeated cosmos.nft.v1beta1.Class classes = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/nft/v1beta1/tx.proto b/examples/telescope/proto/cosmos/nft/v1beta1/tx.proto new file mode 100644 index 000000000..95b402ced --- /dev/null +++ b/examples/telescope/proto/cosmos/nft/v1beta1/tx.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.nft.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; + +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the nft Msg service. +service Msg { + // Send defines a method to send a nft from one account to another account. + rpc Send(MsgSend) returns (MsgSendResponse); +} +// MsgSend represents a message to send a nft from one account to another account. +message MsgSend { + option (cosmos.msg.v1.signer) = "sender"; + + // class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 + string class_id = 1; + + // id defines the unique identification of nft + string id = 2; + + // sender is the address of the owner of nft + string sender = 3; + + // receiver is the receiver address of nft + string receiver = 4; +} +// MsgSendResponse defines the Msg/Send response type. +message MsgSendResponse {} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/orm/v1/orm.proto b/examples/telescope/proto/cosmos/orm/v1/orm.proto new file mode 100644 index 000000000..abfbbd4f5 --- /dev/null +++ b/examples/telescope/proto/cosmos/orm/v1/orm.proto @@ -0,0 +1,104 @@ +syntax = "proto3"; + +package cosmos.orm.v1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + + // table specifies that this message will be used as an ORM table. It cannot + // be used together with the singleton option. + TableDescriptor table = 104503790; + + // singleton specifies that this message will be used as an ORM singleton. It cannot + // be used together with the table option. + SingletonDescriptor singleton = 104503791; +} + +// TableDescriptor describes an ORM table. +message TableDescriptor { + + // primary_key defines the primary key for the table. + PrimaryKeyDescriptor primary_key = 1; + + // index defines one or more secondary indexes. + repeated SecondaryIndexDescriptor index = 2; + + // 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. + uint32 id = 3; +} + +// PrimaryKeyDescriptor describes a table primary key. +message 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. + string fields = 1; + + // 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. + bool auto_increment = 2; +} + +// PrimaryKeyDescriptor describes a table secondary index. +message 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 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.. + string fields = 1; + + // 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. + uint32 id = 2; + + // unique specifies that this an unique index. + bool unique = 3; +} + +// TableDescriptor describes an ORM singleton table which has at most one instance. +message 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. + uint32 id = 1; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/orm/v1alpha1/schema.proto b/examples/telescope/proto/cosmos/orm/v1alpha1/schema.proto new file mode 100644 index 000000000..ab713340e --- /dev/null +++ b/examples/telescope/proto/cosmos/orm/v1alpha1/schema.proto @@ -0,0 +1,76 @@ +syntax = "proto3"; + +package cosmos.orm.v1alpha1; + +import "google/protobuf/descriptor.proto"; + +extend google.protobuf.MessageOptions { + // module_schema is used to define the ORM schema for an app module. + // All module config messages that use module_schema must also declare + // themselves as app module config messages using the cosmos.app.v1.is_module + // option. + ModuleSchemaDescriptor module_schema = 104503792; +} + +// ModuleSchemaDescriptor describe's a module's ORM schema. +message ModuleSchemaDescriptor { + repeated FileEntry schema_file = 1; + + // FileEntry describes an ORM file used in a module. + message FileEntry { + // id is a prefix that will be varint encoded and prepended to all the + // table keys specified in the file's tables. + uint32 id = 1; + + // 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. + string proto_file_name = 2; + + // 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 storage_type = 3; + } + + // prefix is an optional prefix that precedes all keys in this module's + // store. + bytes prefix = 2; +} + +// StorageType +enum StorageType { + // 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 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 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 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_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; +} diff --git a/examples/telescope/proto/cosmos/params/v1beta1/params.proto b/examples/telescope/proto/cosmos/params/v1beta1/params.proto new file mode 100644 index 000000000..e5aabfeca --- /dev/null +++ b/examples/telescope/proto/cosmos/params/v1beta1/params.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +package cosmos.params.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; + +// ParameterChangeProposal defines a proposal to change one or more parameters. +message ParameterChangeProposal { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + repeated ParamChange changes = 3 [(gogoproto.nullable) = false]; +} + +// ParamChange defines an individual parameter change, for use in +// ParameterChangeProposal. +message ParamChange { + option (gogoproto.goproto_stringer) = false; + + string subspace = 1; + string key = 2; + string value = 3; +} diff --git a/examples/telescope/proto/cosmos/params/v1beta1/query.proto b/examples/telescope/proto/cosmos/params/v1beta1/query.proto new file mode 100644 index 000000000..3b1c9a760 --- /dev/null +++ b/examples/telescope/proto/cosmos/params/v1beta1/query.proto @@ -0,0 +1,54 @@ +syntax = "proto3"; +package cosmos.params.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/params/v1beta1/params.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; + +// Query defines the gRPC querier service. +service Query { + // Params queries a specific parameter of a module, given its subspace and + // key. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/params/v1beta1/params"; + } + + // Subspaces queries for all registered subspaces and all keys for a subspace. + rpc Subspaces(QuerySubspacesRequest) returns (QuerySubspacesResponse) { + option (google.api.http).get = "/cosmos/params/v1beta1/subspaces"; + } +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest { + // subspace defines the module to query the parameter for. + string subspace = 1; + + // key defines the key of the parameter in the subspace. + string key = 2; +} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // param defines the queried parameter. + ParamChange param = 1 [(gogoproto.nullable) = false]; +} + +// QuerySubspacesRequest defines a request type for querying for all registered +// subspaces and all keys for a subspace. +message QuerySubspacesRequest {} + +// QuerySubspacesResponse defines the response types for querying for all +// registered subspaces and all keys for a subspace. +message QuerySubspacesResponse { + repeated Subspace subspaces = 1; +} + +// Subspace defines a parameter subspace name and all the keys that exist for +// the subspace. +message Subspace { + string subspace = 1; + repeated string keys = 2; +} diff --git a/examples/telescope/proto/cosmos/slashing/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/slashing/v1beta1/genesis.proto new file mode 100644 index 000000000..312d56aa2 --- /dev/null +++ b/examples/telescope/proto/cosmos/slashing/v1beta1/genesis.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/slashing/v1beta1/slashing.proto"; +import "cosmos_proto/cosmos.proto"; + +// GenesisState defines the slashing module's genesis state. +message GenesisState { + // params defines all the paramaters of related to deposit. + Params params = 1 [(gogoproto.nullable) = false]; + + // signing_infos represents a map between validator addresses and their + // signing infos. + repeated SigningInfo signing_infos = 2 [(gogoproto.nullable) = false]; + + // missed_blocks represents a map between validator addresses and their + // missed blocks. + repeated ValidatorMissedBlocks missed_blocks = 3 [(gogoproto.nullable) = false]; +} + +// SigningInfo stores validator signing info of corresponding address. +message SigningInfo { + // address is the validator address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_signing_info represents the signing info of this validator. + ValidatorSigningInfo validator_signing_info = 2 [(gogoproto.nullable) = false]; +} + +// ValidatorMissedBlocks contains array of missed blocks of corresponding +// address. +message ValidatorMissedBlocks { + // address is the validator address. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // missed_blocks is an array of missed blocks by the validator. + repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; +} + +// MissedBlock contains height and missed status as boolean. +message MissedBlock { + // index is the height at which the block was missed. + int64 index = 1; + // missed is the missed status. + bool missed = 2; +} diff --git a/examples/telescope/proto/cosmos/slashing/v1beta1/query.proto b/examples/telescope/proto/cosmos/slashing/v1beta1/query.proto new file mode 100644 index 000000000..f742c1f8a --- /dev/null +++ b/examples/telescope/proto/cosmos/slashing/v1beta1/query.proto @@ -0,0 +1,64 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/slashing/v1beta1/slashing.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; + +// Query provides defines the gRPC querier service +service Query { + // Params queries the parameters of slashing module + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/params"; + } + + // SigningInfo queries the signing info of given cons address + rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; + } + + // SigningInfos queries signing info of all validators + rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { + option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos"; + } +} + +// QueryParamsRequest is the request type for the Query/Params RPC method +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method +message QueryParamsResponse { + Params params = 1 [(gogoproto.nullable) = false]; +} + +// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC +// method +message QuerySigningInfoRequest { + // cons_address is the address to query signing info of + string cons_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC +// method +message QuerySigningInfoResponse { + // val_signing_info is the signing info of requested val cons address + ValidatorSigningInfo val_signing_info = 1 [(gogoproto.nullable) = false]; +} + +// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC +// method +message QuerySigningInfosRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC +// method +message QuerySigningInfosResponse { + // info is the signing info of all validators + repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmos/slashing/v1beta1/slashing.proto b/examples/telescope/proto/cosmos/slashing/v1beta1/slashing.proto new file mode 100644 index 000000000..0aa9f61ff --- /dev/null +++ b/examples/telescope/proto/cosmos/slashing/v1beta1/slashing.proto @@ -0,0 +1,45 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +// ValidatorSigningInfo defines a validator's signing info for monitoring their +// liveness activity. +message ValidatorSigningInfo { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Height at which validator was first a candidate OR was unjailed + int64 start_height = 2; + // 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`. + int64 index_offset = 3; + // Timestamp until which the validator is jailed due to liveness downtime. + google.protobuf.Timestamp jailed_until = 4 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + // 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. + bool tombstoned = 5; + // A counter kept to avoid unnecessary array reads. + // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + int64 missed_blocks_counter = 6; +} + +// Params represents the parameters used for by the slashing module. +message Params { + int64 signed_blocks_window = 1; + bytes min_signed_per_window = 2 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + google.protobuf.Duration downtime_jail_duration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + bytes slash_fraction_double_sign = 4 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + bytes slash_fraction_downtime = 5 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/slashing/v1beta1/tx.proto b/examples/telescope/proto/cosmos/slashing/v1beta1/tx.proto new file mode 100644 index 000000000..7c90304b8 --- /dev/null +++ b/examples/telescope/proto/cosmos/slashing/v1beta1/tx.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package cosmos.slashing.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/msg/v1/msg.proto"; + +// Msg defines the slashing Msg service. +service 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. + rpc Unjail(MsgUnjail) returns (MsgUnjailResponse); +} + +// MsgUnjail defines the Msg/Unjail request type +message MsgUnjail { + option (cosmos.msg.v1.signer) = "validator_addr"; + + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = true; + + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "address"]; +} + +// MsgUnjailResponse defines the Msg/Unjail response type +message MsgUnjailResponse {} diff --git a/examples/telescope/proto/cosmos/staking/v1beta1/authz.proto b/examples/telescope/proto/cosmos/staking/v1beta1/authz.proto new file mode 100644 index 000000000..677edaad1 --- /dev/null +++ b/examples/telescope/proto/cosmos/staking/v1beta1/authz.proto @@ -0,0 +1,47 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// StakeAuthorization defines authorization for delegate/undelegate/redelegate. +// +// Since: cosmos-sdk 0.43 +message StakeAuthorization { + option (cosmos_proto.implements_interface) = "Authorization"; + + // 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. + cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + // validators is the oneof that represents either allow_list or deny_list + oneof validators { + // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + // account. + Validators allow_list = 2; + // deny_list specifies list of validator addresses to whom grantee can not delegate tokens. + Validators deny_list = 3; + } + // Validators defines list of validator addresses. + message Validators { + repeated string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + } + // authorization_type defines one of AuthorizationType. + AuthorizationType authorization_type = 4; +} + +// AuthorizationType defines the type of staking module authorization type +// +// Since: cosmos-sdk 0.43 +enum AuthorizationType { + // AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type + AUTHORIZATION_TYPE_UNSPECIFIED = 0; + // AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate + AUTHORIZATION_TYPE_DELEGATE = 1; + // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate + AUTHORIZATION_TYPE_UNDELEGATE = 2; + // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate + AUTHORIZATION_TYPE_REDELEGATE = 3; +} diff --git a/examples/telescope/proto/cosmos/staking/v1beta1/genesis.proto b/examples/telescope/proto/cosmos/staking/v1beta1/genesis.proto new file mode 100644 index 000000000..bf3c298e3 --- /dev/null +++ b/examples/telescope/proto/cosmos/staking/v1beta1/genesis.proto @@ -0,0 +1,49 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/staking/v1beta1/staking.proto"; +import "cosmos_proto/cosmos.proto"; + +// GenesisState defines the staking module's genesis state. +message GenesisState { + // params defines all the paramaters of related to deposit. + Params params = 1 [(gogoproto.nullable) = false]; + + // last_total_power tracks the total amounts of bonded tokens recorded during + // the previous end block. + bytes last_total_power = 2 + [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + + // last_validator_powers is a special index that provides a historical list + // of the last-block's bonded validators. + repeated LastValidatorPower last_validator_powers = 3 [(gogoproto.nullable) = false]; + + // delegations defines the validator set at genesis. + repeated Validator validators = 4 [(gogoproto.nullable) = false]; + + // delegations defines the delegations active at genesis. + repeated Delegation delegations = 5 [(gogoproto.nullable) = false]; + + // unbonding_delegations defines the unbonding delegations active at genesis. + repeated UnbondingDelegation unbonding_delegations = 6 [(gogoproto.nullable) = false]; + + // redelegations defines the redelegations active at genesis. + repeated Redelegation redelegations = 7 [(gogoproto.nullable) = false]; + + bool exported = 8; +} + +// LastValidatorPower required for validator set update logic. +message LastValidatorPower { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // address is the address of the validator. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // power defines the power of the validator. + int64 power = 2; +} diff --git a/examples/telescope/proto/cosmos/staking/v1beta1/query.proto b/examples/telescope/proto/cosmos/staking/v1beta1/query.proto new file mode 100644 index 000000000..02469232b --- /dev/null +++ b/examples/telescope/proto/cosmos/staking/v1beta1/query.proto @@ -0,0 +1,349 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/staking/v1beta1/staking.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// Query defines the gRPC querier service. +service Query { + // Validators queries all validators that match the given status. + rpc Validators(QueryValidatorsRequest) returns (QueryValidatorsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators"; + } + + // Validator queries validator info for given validator address. + rpc Validator(QueryValidatorRequest) returns (QueryValidatorResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}"; + } + + // ValidatorDelegations queries delegate info for given validator. + rpc ValidatorDelegations(QueryValidatorDelegationsRequest) returns (QueryValidatorDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; + } + + // ValidatorUnbondingDelegations queries unbonding delegations of a validator. + rpc ValidatorUnbondingDelegations(QueryValidatorUnbondingDelegationsRequest) + returns (QueryValidatorUnbondingDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/" + "{validator_addr}/unbonding_delegations"; + } + + // Delegation queries delegate info for given validator delegator pair. + rpc Delegation(QueryDelegationRequest) returns (QueryDelegationResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}"; + } + + // UnbondingDelegation queries unbonding info for given validator delegator + // pair. + rpc UnbondingDelegation(QueryUnbondingDelegationRequest) returns (QueryUnbondingDelegationResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}/unbonding_delegation"; + } + + // DelegatorDelegations queries all delegations of a given delegator address. + rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) returns (QueryDelegatorDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; + } + + // DelegatorUnbondingDelegations queries all unbonding delegations of a given + // delegator address. + rpc DelegatorUnbondingDelegations(QueryDelegatorUnbondingDelegationsRequest) + returns (QueryDelegatorUnbondingDelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/" + "{delegator_addr}/unbonding_delegations"; + } + + // Redelegations queries redelegations of given address. + rpc Redelegations(QueryRedelegationsRequest) returns (QueryRedelegationsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; + } + + // DelegatorValidators queries all validators info for given delegator + // address. + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; + } + + // DelegatorValidator queries validator info for given delegator validator + // pair. + rpc DelegatorValidator(QueryDelegatorValidatorRequest) returns (QueryDelegatorValidatorResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" + "{validator_addr}"; + } + + // HistoricalInfo queries the historical info for given height. + rpc HistoricalInfo(QueryHistoricalInfoRequest) returns (QueryHistoricalInfoResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/historical_info/{height}"; + } + + // Pool queries the pool info. + rpc Pool(QueryPoolRequest) returns (QueryPoolResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/pool"; + } + + // Parameters queries the staking parameters. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/cosmos/staking/v1beta1/params"; + } +} + +// QueryValidatorsRequest is request type for Query/Validators RPC method. +message QueryValidatorsRequest { + // status enables to query for validators matching a given status. + string status = 1; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorsResponse is response type for the Query/Validators RPC method +message QueryValidatorsResponse { + // validators contains all the queried validators. + repeated Validator validators = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryValidatorRequest is response type for the Query/Validator RPC method +message QueryValidatorRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryValidatorResponse is response type for the Query/Validator RPC method +message QueryValidatorResponse { + // validator defines the the validator info. + Validator validator = 1 [(gogoproto.nullable) = false]; +} + +// QueryValidatorDelegationsRequest is request type for the +// Query/ValidatorDelegations RPC method +message QueryValidatorDelegationsRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorDelegationsResponse is response type for the +// Query/ValidatorDelegations RPC method +message QueryValidatorDelegationsResponse { + repeated DelegationResponse delegation_responses = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryValidatorUnbondingDelegationsRequest is required type for the +// Query/ValidatorUnbondingDelegations RPC method +message QueryValidatorUnbondingDelegationsRequest { + // validator_addr defines the validator address to query for. + string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryValidatorUnbondingDelegationsResponse is response type for the +// Query/ValidatorUnbondingDelegations RPC method. +message QueryValidatorUnbondingDelegationsResponse { + repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegationRequest is request type for the Query/Delegation RPC method. +message QueryDelegationRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationResponse is response type for the Query/Delegation RPC method. +message QueryDelegationResponse { + // delegation_responses defines the delegation info of a delegation. + DelegationResponse delegation_response = 1; +} + +// QueryUnbondingDelegationRequest is request type for the +// Query/UnbondingDelegation RPC method. +message QueryUnbondingDelegationRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegationResponse is response type for the Query/UnbondingDelegation +// RPC method. +message QueryUnbondingDelegationResponse { + // unbond defines the unbonding information of a delegation. + UnbondingDelegation unbond = 1 [(gogoproto.nullable) = false]; +} + +// QueryDelegatorDelegationsRequest is request type for the +// Query/DelegatorDelegations RPC method. +message QueryDelegatorDelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDelegatorDelegationsResponse is response type for the +// Query/DelegatorDelegations RPC method. +message QueryDelegatorDelegationsResponse { + // delegation_responses defines all the delegations' info of a delegator. + repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorUnbondingDelegationsRequest is request type for the +// Query/DelegatorUnbondingDelegations RPC method. +message QueryDelegatorUnbondingDelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryUnbondingDelegatorDelegationsResponse is response type for the +// Query/UnbondingDelegatorDelegations RPC method. +message QueryDelegatorUnbondingDelegationsResponse { + repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryRedelegationsRequest is request type for the Query/Redelegations RPC +// method. +message QueryRedelegationsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // src_validator_addr defines the validator address to redelegate from. + string src_validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // dst_validator_addr defines the validator address to redelegate to. + string dst_validator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 4; +} + +// QueryRedelegationsResponse is response type for the Query/Redelegations RPC +// method. +message QueryRedelegationsResponse { + repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorValidatorsRequest is request type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryDelegatorValidatorsResponse is response type for the +// Query/DelegatorValidators RPC method. +message QueryDelegatorValidatorsResponse { + // validators defines the the validators' info of a delegator. + repeated Validator validators = 1 [(gogoproto.nullable) = false]; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryDelegatorValidatorRequest is request type for the +// Query/DelegatorValidator RPC method. +message QueryDelegatorValidatorRequest { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // delegator_addr defines the delegator address to query for. + string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // validator_addr defines the validator address to query for. + string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// QueryDelegatorValidatorResponse response type for the +// Query/DelegatorValidator RPC method. +message QueryDelegatorValidatorResponse { + // validator defines the the validator info. + Validator validator = 1 [(gogoproto.nullable) = false]; +} + +// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC +// method. +message QueryHistoricalInfoRequest { + // height defines at which height to query the historical info. + int64 height = 1; +} + +// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC +// method. +message QueryHistoricalInfoResponse { + // hist defines the historical info at the given height. + HistoricalInfo hist = 1; +} + +// QueryPoolRequest is request type for the Query/Pool RPC method. +message QueryPoolRequest {} + +// QueryPoolResponse is response type for the Query/Pool RPC method. +message QueryPoolResponse { + // pool defines the pool info. + Pool pool = 1 [(gogoproto.nullable) = false]; +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/cosmos/staking/v1beta1/staking.proto b/examples/telescope/proto/cosmos/staking/v1beta1/staking.proto new file mode 100644 index 000000000..dcf2645fa --- /dev/null +++ b/examples/telescope/proto/cosmos/staking/v1beta1/staking.proto @@ -0,0 +1,358 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "tendermint/types/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// 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). +message HistoricalInfo { + tendermint.types.Header header = 1 [(gogoproto.nullable) = false]; + repeated Validator valset = 2 [(gogoproto.nullable) = false]; +} + +// CommissionRates defines the initial commission rates to be used for creating +// a validator. +message CommissionRates { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // rate is the commission rate charged to delegators, as a fraction. + string rate = 1 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + string max_rate = 2 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + string max_change_rate = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Commission defines commission parameters for a given validator. +message Commission { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // commission_rates defines the initial commission rates to be used for creating a validator. + CommissionRates commission_rates = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + // update_time is the last time the commission rate was changed. + google.protobuf.Timestamp update_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// Description defines a validator description. +message Description { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // moniker defines a human-readable name for the validator. + string moniker = 1; + // identity defines an optional identity signature (ex. UPort or Keybase). + string identity = 2; + // website defines an optional website link. + string website = 3; + // security_contact defines an optional email for security contact. + string security_contact = 4; + // details define other optional details. + string details = 5; +} + +// 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. +message Validator { + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + + // operator_address defines the address of the validator's operator; bech encoded in JSON. + string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. + google.protobuf.Any consensus_pubkey = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + // jailed defined whether the validator has been jailed from bonded status or not. + bool jailed = 3; + // status is the validator status (bonded/unbonding/unbonded). + BondStatus status = 4; + // tokens define the delegated tokens (incl. self-delegation). + string tokens = 5 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // delegator_shares defines total shares issued to a validator's delegators. + string delegator_shares = 6 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // description defines the description terms for the validator. + Description description = 7 [(gogoproto.nullable) = false]; + // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. + int64 unbonding_height = 8; + // unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. + google.protobuf.Timestamp unbonding_time = 9 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // commission defines the commission parameters. + Commission commission = 10 [(gogoproto.nullable) = false]; + // min_self_delegation is the validator's self declared minimum self delegation. + string min_self_delegation = 11 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// BondStatus is the status of a validator. +enum BondStatus { + option (gogoproto.goproto_enum_prefix) = false; + + // UNSPECIFIED defines an invalid validator status. + BOND_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; + // UNBONDED defines a validator that is not bonded. + BOND_STATUS_UNBONDED = 1 [(gogoproto.enumvalue_customname) = "Unbonded"]; + // UNBONDING defines a validator that is unbonding. + BOND_STATUS_UNBONDING = 2 [(gogoproto.enumvalue_customname) = "Unbonding"]; + // BONDED defines a validator that is bonded. + BOND_STATUS_BONDED = 3 [(gogoproto.enumvalue_customname) = "Bonded"]; +} + +// ValAddresses defines a repeated set of validator addresses. +message ValAddresses { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.stringer) = true; + + repeated string addresses = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// 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. +message DVPair { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// DVPairs defines an array of DVPair objects. +message DVPairs { + repeated DVPair pairs = 1 [(gogoproto.nullable) = false]; +} + +// 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. +message DVVTriplet { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// DVVTriplets defines an array of DVVTriplet objects. +message DVVTriplets { + repeated DVVTriplet triplets = 1 [(gogoproto.nullable) = false]; +} + +// 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. +message Delegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address is the bech32-encoded address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // shares define the delegation shares received. + string shares = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// UnbondingDelegation stores all of a single delegator's unbonding bonds +// for a single validator in an time-ordered list. +message UnbondingDelegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_address is the bech32-encoded address of the validator. + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // entries are the unbonding delegation entries. + repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries +} + +// UnbondingDelegationEntry defines an unbonding object with relevant metadata. +message UnbondingDelegationEntry { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // creation_height is the height which the unbonding took place. + int64 creation_height = 1; + // completion_time is the unix time for unbonding completion. + google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // initial_balance defines the tokens initially scheduled to receive at completion. + string initial_balance = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // balance defines the tokens to receive at completion. + string balance = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// RedelegationEntry defines a redelegation object with relevant metadata. +message RedelegationEntry { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // creation_height defines the height which the redelegation took place. + int64 creation_height = 1; + // completion_time defines the unix time for redelegation completion. + google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // initial_balance defines the initial balance when redelegation started. + string initial_balance = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // shares_dst is the amount of destination-validator shares created by redelegation. + string shares_dst = 4 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// Redelegation contains the list of a particular delegator's redelegating bonds +// from a particular source validator to a particular destination validator. +message Redelegation { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // delegator_address is the bech32-encoded address of the delegator. + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_src_address is the validator redelegation source operator address. + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // validator_dst_address is the validator redelegation destination operator address. + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // entries are the redelegation entries. + repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries +} + +// Params defines the parameters for the staking module. +message Params { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // unbonding_time is the time duration of unbonding. + google.protobuf.Duration unbonding_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + // max_validators is the maximum number of validators. + uint32 max_validators = 2; + // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). + uint32 max_entries = 3; + // historical_entries is the number of historical entries to persist. + uint32 historical_entries = 4; + // bond_denom defines the bondable coin denomination. + string bond_denom = 5; + // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators + string min_commission_rate = 6 [ + (gogoproto.moretags) = "yaml:\"min_commission_rate\"", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; +} + +// DelegationResponse is equivalent to Delegation except that it contains a +// balance in addition to shares which is more suitable for client responses. +message DelegationResponse { + option (gogoproto.equal) = false; + option (gogoproto.goproto_stringer) = false; + + Delegation delegation = 1 [(gogoproto.nullable) = false]; + + cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; +} + +// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it +// contains a balance in addition to shares which is more suitable for client +// responses. +message RedelegationEntryResponse { + option (gogoproto.equal) = true; + + RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; + string balance = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; +} + +// RedelegationResponse is equivalent to a Redelegation except that its entries +// contain a balance in addition to shares which is more suitable for client +// responses. +message RedelegationResponse { + option (gogoproto.equal) = false; + + Redelegation redelegation = 1 [(gogoproto.nullable) = false]; + repeated RedelegationEntryResponse entries = 2 [(gogoproto.nullable) = false]; +} + +// Pool is used for tracking bonded and not-bonded token supply of the bond +// denomination. +message Pool { + option (gogoproto.description) = true; + option (gogoproto.equal) = true; + string not_bonded_tokens = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "not_bonded_tokens" + ]; + string bonded_tokens = 2 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "bonded_tokens" + ]; +} diff --git a/examples/telescope/proto/cosmos/staking/v1beta1/tx.proto b/examples/telescope/proto/cosmos/staking/v1beta1/tx.proto new file mode 100644 index 000000000..6c8d40a76 --- /dev/null +++ b/examples/telescope/proto/cosmos/staking/v1beta1/tx.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; +package cosmos.staking.v1beta1; + +import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; + +import "cosmos_proto/cosmos.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/staking/v1beta1/staking.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; + +// Msg defines the staking Msg service. +service Msg { + // CreateValidator defines a method for creating a new validator. + rpc CreateValidator(MsgCreateValidator) returns (MsgCreateValidatorResponse); + + // EditValidator defines a method for editing an existing validator. + rpc EditValidator(MsgEditValidator) returns (MsgEditValidatorResponse); + + // Delegate defines a method for performing a delegation of coins + // from a delegator to a validator. + rpc Delegate(MsgDelegate) returns (MsgDelegateResponse); + + // BeginRedelegate defines a method for performing a redelegation + // of coins from a delegator and source validator to a destination validator. + rpc BeginRedelegate(MsgBeginRedelegate) returns (MsgBeginRedelegateResponse); + + // Undelegate defines a method for performing an undelegation from a + // delegate and a validator. + rpc Undelegate(MsgUndelegate) returns (MsgUndelegateResponse); +} + +// MsgCreateValidator defines a SDK message for creating a new validator. +message MsgCreateValidator { + // NOTE(fdymylja): this is a particular case in which + // if validator_address == delegator_address then only one + // is expected to sign, otherwise both are. + option (cosmos.msg.v1.signer) = "delegator_address"; + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Description description = 1 [(gogoproto.nullable) = false]; + CommissionRates commission = 2 [(gogoproto.nullable) = false]; + string min_self_delegation = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string delegator_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 5 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false]; +} + +// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. +message MsgCreateValidatorResponse {} + +// MsgEditValidator defines a SDK message for editing an existing validator. +message MsgEditValidator { + option (cosmos.msg.v1.signer) = "validator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Description description = 1 [(gogoproto.nullable) = false]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // 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 + string commission_rate = 3 + [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"]; + string min_self_delegation = 4 + [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; +} + +// MsgEditValidatorResponse defines the Msg/EditValidator response type. +message MsgEditValidatorResponse {} + +// MsgDelegate defines a SDK message for performing a delegation of coins +// from a delegator to a validator. +message MsgDelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgDelegateResponse defines the Msg/Delegate response type. +message MsgDelegateResponse {} + +// MsgBeginRedelegate defines a SDK message for performing a redelegation +// of coins from a delegator and source validator to a destination validator. +message MsgBeginRedelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false]; +} + +// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. +message MsgBeginRedelegateResponse { + google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// MsgUndelegate defines a SDK message for performing an undelegation from a +// delegate and a validator. +message MsgUndelegate { + option (cosmos.msg.v1.signer) = "delegator_address"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; +} + +// MsgUndelegateResponse defines the Msg/Undelegate response type. +message MsgUndelegateResponse { + google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} diff --git a/examples/telescope/proto/cosmos/tx/signing/v1beta1/signing.proto b/examples/telescope/proto/cosmos/tx/signing/v1beta1/signing.proto new file mode 100644 index 000000000..5a22616fe --- /dev/null +++ b/examples/telescope/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -0,0 +1,94 @@ +syntax = "proto3"; +package cosmos.tx.signing.v1beta1; + +import "cosmos/crypto/multisig/v1beta1/multisig.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; + +// 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. +enum SignMode { + // SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be + // rejected. + SIGN_MODE_UNSPECIFIED = 0; + + // 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 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 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 is a backwards compatibility mode which uses + // Amino JSON and will be removed in the future. + SIGN_MODE_LEGACY_AMINO_JSON = 127; +} + +// SignatureDescriptors wraps multiple SignatureDescriptor's. +message SignatureDescriptors { + // signatures are the signature descriptors + repeated SignatureDescriptor signatures = 1; +} + +// 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. +message SignatureDescriptor { + // public_key is the public key of the signer + google.protobuf.Any public_key = 1; + + Data data = 2; + + // 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. + uint64 sequence = 3; + + // Data represents signature data + message Data { + // sum is the oneof that specifies whether this represents single or multi-signature data + oneof sum { + // single represents a single signer + Single single = 1; + + // multi represents a multisig signer + Multi multi = 2; + } + + // Single is the signature data for a single signer + message Single { + // mode is the signing mode of the single signer + SignMode mode = 1; + + // signature is the raw signature bytes + bytes signature = 2; + } + + // Multi is the signature data for a multisig public key + message Multi { + // bitarray specifies which keys within the multisig are signing + cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; + + // signatures is the signatures of the multi-signature + repeated Data signatures = 2; + } + } +} diff --git a/examples/telescope/proto/cosmos/tx/v1beta1/service.proto b/examples/telescope/proto/cosmos/tx/v1beta1/service.proto new file mode 100644 index 000000000..e7af15269 --- /dev/null +++ b/examples/telescope/proto/cosmos/tx/v1beta1/service.proto @@ -0,0 +1,163 @@ +syntax = "proto3"; +package cosmos.tx.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/base/abci/v1beta1/abci.proto"; +import "cosmos/tx/v1beta1/tx.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; + +// Service defines a gRPC service for interacting with transactions. +service Service { + // Simulate simulates executing a transaction for estimating gas usage. + rpc Simulate(SimulateRequest) returns (SimulateResponse) { + option (google.api.http) = { + post: "/cosmos/tx/v1beta1/simulate" + body: "*" + }; + } + // GetTx fetches a tx by hash. + rpc GetTx(GetTxRequest) returns (GetTxResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs/{hash}"; + } + // BroadcastTx broadcast transaction. + rpc BroadcastTx(BroadcastTxRequest) returns (BroadcastTxResponse) { + option (google.api.http) = { + post: "/cosmos/tx/v1beta1/txs" + body: "*" + }; + } + // GetTxsEvent fetches txs by event. + rpc GetTxsEvent(GetTxsEventRequest) returns (GetTxsEventResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs"; + } + // GetBlockWithTxs fetches a block with decoded txs. + // + // Since: cosmos-sdk 0.45.2 + rpc GetBlockWithTxs(GetBlockWithTxsRequest) returns (GetBlockWithTxsResponse) { + option (google.api.http).get = "/cosmos/tx/v1beta1/txs/block/{height}"; + } +} + +// GetTxsEventRequest is the request type for the Service.TxsByEvents +// RPC method. +message GetTxsEventRequest { + // events is the list of transaction event type. + repeated string events = 1; + // pagination defines a pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; + OrderBy order_by = 3; +} + +// OrderBy defines the sorting order +enum OrderBy { + // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. + ORDER_BY_UNSPECIFIED = 0; + // ORDER_BY_ASC defines ascending order + ORDER_BY_ASC = 1; + // ORDER_BY_DESC defines descending order + ORDER_BY_DESC = 2; +} + +// GetTxsEventResponse is the response type for the Service.TxsByEvents +// RPC method. +message GetTxsEventResponse { + // txs is the list of queried transactions. + repeated cosmos.tx.v1beta1.Tx txs = 1; + // tx_responses is the list of queried TxResponses. + repeated cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; + // pagination defines a pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 3; +} + +// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest +// RPC method. +message BroadcastTxRequest { + // tx_bytes is the raw transaction. + bytes tx_bytes = 1; + BroadcastMode mode = 2; +} + +// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. +enum BroadcastMode { + // zero-value for mode ordering + BROADCAST_MODE_UNSPECIFIED = 0; + // 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 defines a tx broadcasting mode where the client waits for + // a CheckTx execution response only. + BROADCAST_MODE_SYNC = 2; + // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns + // immediately. + BROADCAST_MODE_ASYNC = 3; +} + +// BroadcastTxResponse is the response type for the +// Service.BroadcastTx method. +message BroadcastTxResponse { + // tx_response is the queried TxResponses. + cosmos.base.abci.v1beta1.TxResponse tx_response = 1; +} + +// SimulateRequest is the request type for the Service.Simulate +// RPC method. +message SimulateRequest { + // tx is the transaction to simulate. + // Deprecated. Send raw tx bytes instead. + cosmos.tx.v1beta1.Tx tx = 1 [deprecated = true]; + // tx_bytes is the raw transaction. + // + // Since: cosmos-sdk 0.43 + bytes tx_bytes = 2; +} + +// SimulateResponse is the response type for the +// Service.SimulateRPC method. +message SimulateResponse { + // gas_info is the information about gas used in the simulation. + cosmos.base.abci.v1beta1.GasInfo gas_info = 1; + // result is the result of the simulation. + cosmos.base.abci.v1beta1.Result result = 2; +} + +// GetTxRequest is the request type for the Service.GetTx +// RPC method. +message GetTxRequest { + // hash is the tx hash to query, encoded as a hex string. + string hash = 1; +} + +// GetTxResponse is the response type for the Service.GetTx method. +message GetTxResponse { + // tx is the queried transaction. + cosmos.tx.v1beta1.Tx tx = 1; + // tx_response is the queried TxResponses. + cosmos.base.abci.v1beta1.TxResponse tx_response = 2; +} + +// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs +// RPC method. +// +// Since: cosmos-sdk 0.45.2 +message GetBlockWithTxsRequest { + // height is the height of the block to query. + int64 height = 1; + // pagination defines a pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. +// +// Since: cosmos-sdk 0.45.2 +message GetBlockWithTxsResponse { + // txs are the transactions in the block. + repeated cosmos.tx.v1beta1.Tx txs = 1; + .tendermint.types.BlockID block_id = 2; + .tendermint.types.Block block = 3; + // pagination defines a pagination for the response. + cosmos.base.query.v1beta1.PageResponse pagination = 4; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/tx/v1beta1/tx.proto b/examples/telescope/proto/cosmos/tx/v1beta1/tx.proto new file mode 100644 index 000000000..ac7b690f4 --- /dev/null +++ b/examples/telescope/proto/cosmos/tx/v1beta1/tx.proto @@ -0,0 +1,249 @@ +syntax = "proto3"; +package cosmos.tx.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/crypto/multisig/v1beta1/multisig.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/tx/signing/v1beta1/signing.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; + +// Tx is the standard type used for broadcasting transactions. +message Tx { + // body is the processable content of the transaction + TxBody body = 1; + + // auth_info is the authorization related content of the transaction, + // specifically signers, signer modes and fee + AuthInfo auth_info = 2; + + // 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. + repeated bytes signatures = 3; +} + +// 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. +message TxRaw { + // body_bytes is a protobuf serialization of a TxBody that matches the + // representation in SignDoc. + bytes body_bytes = 1; + + // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the + // representation in SignDoc. + bytes auth_info_bytes = 2; + + // 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. + repeated bytes signatures = 3; +} + +// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. +message SignDoc { + // body_bytes is protobuf serialization of a TxBody that matches the + // representation in TxRaw. + bytes body_bytes = 1; + + // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the + // representation in TxRaw. + bytes auth_info_bytes = 2; + + // 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 + string chain_id = 3; + + // account_number is the account number of the account in state + uint64 account_number = 4; +} + +// SignDocDirectAux is the type used for generating sign bytes for +// SIGN_MODE_DIRECT_AUX. +// +// Since: cosmos-sdk 0.46 +message SignDocDirectAux { + // body_bytes is protobuf serialization of a TxBody that matches the + // representation in TxRaw. + bytes body_bytes = 1; + + // public_key is the public key of the signing account. + google.protobuf.Any public_key = 2; + + // chain_id is the identifier of the chain this transaction targets. + // It prevents signed transactions from being used on another chain by an + // attacker. + string chain_id = 3; + + // account_number is the account number of the account in state. + uint64 account_number = 4; + + // sequence is the sequence number of the signing account. + uint64 sequence = 5; + + // Tip is the optional tip used for meta-transactions. It should be left + // empty if the signer is not the tipper for this transaction. + Tip tip = 6; +} + +// TxBody is the body of a transaction that all signers sign over. +message 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. + repeated google.protobuf.Any messages = 1; + + // 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). + string memo = 2; + + // timeout is the block height after which this transaction will not + // be processed by the chain + uint64 timeout_height = 3; + + // 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 + repeated google.protobuf.Any extension_options = 1023; + + // 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 + repeated google.protobuf.Any non_critical_extension_options = 2047; +} + +// AuthInfo describes the fee and signer modes that are used to sign a +// transaction. +message 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. + repeated SignerInfo signer_infos = 1; + + // 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 = 2; + + // Tip is the optional tip used for meta-transactions. + // + // Since: cosmos-sdk 0.46 + Tip tip = 3; +} + +// SignerInfo describes the public key and signing mode of a single top-level +// signer. +message 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. + google.protobuf.Any public_key = 1; + + // mode_info describes the signing mode of the signer and is a nested + // structure to support nested multisig pubkey's + ModeInfo mode_info = 2; + + // 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. + uint64 sequence = 3; +} + +// ModeInfo describes the signing mode of a single or nested multisig signer. +message ModeInfo { + // sum is the oneof that specifies whether this represents a single or nested + // multisig signer + oneof sum { + // single represents a single signer + Single single = 1; + + // multi represents a nested multisig signer + Multi multi = 2; + } + + // 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 + message Single { + // mode is the signing mode of the single signer + cosmos.tx.signing.v1beta1.SignMode mode = 1; + } + + // Multi is the mode info for a multisig public key + message Multi { + // bitarray specifies which keys within the multisig are signing + cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; + + // mode_infos is the corresponding modes of the signers of the multisig + // which could include nested multisig public keys + repeated ModeInfo mode_infos = 2; + } +} + +// 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. +message Fee { + // amount is the amount of coins to be paid as a fee + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + // gas_limit is the maximum gas that can be used in transaction processing + // before an out of gas error occurs + uint64 gas_limit = 2; + + // 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. + string payer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // 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 + string granter = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// Tip is the tip used for meta-transactions. +// +// Since: cosmos-sdk 0.46 +message Tip { + // amount is the amount of the tip + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + // tipper is the address of the account paying for the tip + string tipper = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// 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 +message 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. + string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // sign_doc is the SIGN_MOD_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. + SignDocDirectAux sign_doc = 2; + // mode is the signing mode of the single signer + cosmos.tx.signing.v1beta1.SignMode mode = 3; + // sig is the signature of the sign doc. + bytes sig = 4; +} diff --git a/examples/telescope/proto/cosmos/upgrade/v1beta1/query.proto b/examples/telescope/proto/cosmos/upgrade/v1beta1/query.proto new file mode 100644 index 000000000..e8c4baa0d --- /dev/null +++ b/examples/telescope/proto/cosmos/upgrade/v1beta1/query.proto @@ -0,0 +1,120 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "google/api/annotations.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; + +// Query defines the gRPC upgrade querier service. +service Query { + // CurrentPlan queries the current upgrade plan. + rpc CurrentPlan(QueryCurrentPlanRequest) returns (QueryCurrentPlanResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/current_plan"; + } + + // AppliedPlan queries a previously applied upgrade plan by its name. + rpc AppliedPlan(QueryAppliedPlanRequest) returns (QueryAppliedPlanResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/applied_plan/{name}"; + } + + // 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) + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { + option deprecated = true; + option (google.api.http).get = "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; + } + + // ModuleVersions queries the list of module versions from state. + // + // Since: cosmos-sdk 0.43 + rpc ModuleVersions(QueryModuleVersionsRequest) returns (QueryModuleVersionsResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/module_versions"; + } + + // Returns the account with authority to conduct upgrades + rpc Authority(QueryAuthorityRequest) returns (QueryAuthorityResponse) { + option (google.api.http).get = "/cosmos/upgrade/v1beta1/authority"; + } +} + +// QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC +// method. +message QueryCurrentPlanRequest {} + +// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC +// method. +message QueryCurrentPlanResponse { + // plan is the current upgrade plan. + Plan plan = 1; +} + +// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC +// method. +message QueryAppliedPlanRequest { + // name is the name of the applied plan to query for. + string name = 1; +} + +// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC +// method. +message QueryAppliedPlanResponse { + // height is the block height at which the plan was applied. + int64 height = 1; +} + +// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState +// RPC method. +message QueryUpgradedConsensusStateRequest { + option deprecated = true; + + // last height of the current chain must be sent in request + // as this is the height under which next consensus state is stored + int64 last_height = 1; +} + +// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState +// RPC method. +message QueryUpgradedConsensusStateResponse { + option deprecated = true; + reserved 1; + + // Since: cosmos-sdk 0.43 + bytes upgraded_consensus_state = 2; +} + +// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions +// RPC method. +// +// Since: cosmos-sdk 0.43 +message 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 + string module_name = 1; +} + +// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions +// RPC method. +// +// Since: cosmos-sdk 0.43 +message QueryModuleVersionsResponse { + // module_versions is a list of module names with their consensus versions. + repeated ModuleVersion module_versions = 1; +} + +// QueryAuthorityRequest is the request type for Query/Authority +// +// Since: cosmos-sdk 0.46 +message QueryAuthorityRequest {} + +// QueryAuthorityResponse is the response type for Query/Authority +// +// Since: cosmos-sdk 0.46 +message QueryAuthorityResponse { + string address = 1; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/upgrade/v1beta1/tx.proto b/examples/telescope/proto/cosmos/upgrade/v1beta1/tx.proto new file mode 100644 index 000000000..9b04bf44b --- /dev/null +++ b/examples/telescope/proto/cosmos/upgrade/v1beta1/tx.proto @@ -0,0 +1,55 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; + +// Msg defines the upgrade Msg service. +service Msg { + // SoftwareUpgrade is a governance operation for initiating a software upgrade. + // + // Since: cosmos-sdk 0.46 + rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse); + // CancelUpgrade is a governance operation for cancelling a previously + // approvid software upgrade. + // + // Since: cosmos-sdk 0.46 + rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse); +} + +// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. +// +// Since: cosmos-sdk 0.46 +message MsgSoftwareUpgrade { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + + // plan is the upgrade plan. + Plan plan = 2 [(gogoproto.nullable) = false]; +} + +// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. +// +// Since: cosmos-sdk 0.46 +message MsgSoftwareUpgradeResponse {} + +// MsgCancelUpgrade is the Msg/CancelUpgrade request type. +// +// Since: cosmos-sdk 0.46 +message MsgCancelUpgrade { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. +// +// Since: cosmos-sdk 0.46 +message MsgCancelUpgradeResponse {} \ No newline at end of file diff --git a/examples/telescope/proto/cosmos/upgrade/v1beta1/upgrade.proto b/examples/telescope/proto/cosmos/upgrade/v1beta1/upgrade.proto new file mode 100644 index 000000000..dc15e27cc --- /dev/null +++ b/examples/telescope/proto/cosmos/upgrade/v1beta1/upgrade.proto @@ -0,0 +1,86 @@ +syntax = "proto3"; +package cosmos.upgrade.v1beta1; + +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option (gogoproto.goproto_getters_all) = false; + +// Plan specifies information about a planned upgrade and when it should occur. +message Plan { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + + // 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. + string name = 1; + + // 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. + google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + + // The height at which the upgrade must be performed. + // Only used if Time is not set. + int64 height = 3; + + // Any application specific upgrade info to be included on-chain + // such as a git commit that validators could automatically upgrade to + string info = 4; + + // 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. + google.protobuf.Any upgraded_client_state = 5 [deprecated = true]; +} + +// 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. +message SoftwareUpgradeProposal { + option deprecated = true; + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + Plan plan = 3 [(gogoproto.nullable) = false]; +} + +// 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. +message CancelSoftwareUpgradeProposal { + option deprecated = true; + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; +} + +// ModuleVersion specifies a module and its consensus version. +// +// Since: cosmos-sdk 0.43 +message ModuleVersion { + option (gogoproto.equal) = true; + option (gogoproto.goproto_stringer) = true; + + // name of the app module + string name = 1; + + // consensus version of the app module + uint64 version = 2; +} diff --git a/examples/telescope/proto/cosmos/vesting/v1beta1/tx.proto b/examples/telescope/proto/cosmos/vesting/v1beta1/tx.proto new file mode 100644 index 000000000..211bad09e --- /dev/null +++ b/examples/telescope/proto/cosmos/vesting/v1beta1/tx.proto @@ -0,0 +1,74 @@ +syntax = "proto3"; +package cosmos.vesting.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos_proto/cosmos.proto"; +import "cosmos/vesting/v1beta1/vesting.proto"; + +import "cosmos/msg/v1/msg.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; + +// Msg defines the bank Msg service. +service Msg { + // CreateVestingAccount defines a method that enables creating a vesting + // account. + rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); + // CreatePermanentLockedAccount defines a method that enables creating a permanent + // locked account. + rpc CreatePermanentLockedAccount(MsgCreatePermanentLockedAccount) returns (MsgCreatePermanentLockedAccountResponse); + // CreatePeriodicVestingAccount defines a method that enables creating a + // periodic vesting account. + rpc CreatePeriodicVestingAccount(MsgCreatePeriodicVestingAccount) returns (MsgCreatePeriodicVestingAccountResponse); +} + +// MsgCreateVestingAccount defines a message that enables creating a vesting +// account. +message MsgCreateVestingAccount { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = true; + + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + int64 end_time = 4; + bool delayed = 5; +} + +// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. +message MsgCreateVestingAccountResponse {} + +// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent +// locked account. +message MsgCreatePermanentLockedAccount { + option (gogoproto.equal) = true; + + string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; + string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. +message MsgCreatePermanentLockedAccountResponse {} + +// MsgCreateVestingAccount defines a message that enables creating a vesting +// account. +message MsgCreatePeriodicVestingAccount { + option (cosmos.msg.v1.signer) = "from_address"; + + option (gogoproto.equal) = false; + + string from_address = 1; + string to_address = 2; + int64 start_time = 3; + repeated Period vesting_periods = 4 [(gogoproto.nullable) = false]; +} + +// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount +// response type. +message MsgCreatePeriodicVestingAccountResponse {} diff --git a/examples/telescope/proto/cosmos/vesting/v1beta1/vesting.proto b/examples/telescope/proto/cosmos/vesting/v1beta1/vesting.proto new file mode 100644 index 000000000..824cc30d8 --- /dev/null +++ b/examples/telescope/proto/cosmos/vesting/v1beta1/vesting.proto @@ -0,0 +1,76 @@ +syntax = "proto3"; +package cosmos.vesting.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/auth/v1beta1/auth.proto"; + +option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; + +// BaseVestingAccount implements the VestingAccount interface. It contains all +// the necessary fields needed for any vesting account implementation. +message BaseVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; + repeated cosmos.base.v1beta1.Coin original_vesting = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin delegated_free = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + int64 end_time = 5; +} + +// ContinuousVestingAccount implements the VestingAccount interface. It +// continuously vests by unlocking coins linearly with respect to time. +message ContinuousVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + int64 start_time = 2; +} + +// 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. +message DelayedVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; +} + +// Period defines a length of time and amount of coins that will vest. +message Period { + option (gogoproto.goproto_stringer) = false; + + int64 length = 1; + repeated cosmos.base.v1beta1.Coin amount = 2 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; +} + +// PeriodicVestingAccount implements the VestingAccount interface. It +// periodically vests by unlocking coins during each specified period. +message PeriodicVestingAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + int64 start_time = 2; + repeated Period vesting_periods = 3 [(gogoproto.nullable) = false]; +} + +// 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 +message PermanentLockedAccount { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; +} diff --git a/examples/telescope/proto/cosmos_proto/LICENSE b/examples/telescope/proto/cosmos_proto/LICENSE new file mode 100644 index 000000000..6b3e3508c --- /dev/null +++ b/examples/telescope/proto/cosmos_proto/LICENSE @@ -0,0 +1,204 @@ +Pulsar +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2021 Regen Network Development, Inc. & All in Bits, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope/proto/cosmos_proto/README.md b/examples/telescope/proto/cosmos_proto/README.md new file mode 100644 index 000000000..9599cc650 --- /dev/null +++ b/examples/telescope/proto/cosmos_proto/README.md @@ -0,0 +1 @@ +# cosmos_proto \ No newline at end of file diff --git a/examples/telescope/proto/cosmos_proto/cosmos.proto b/examples/telescope/proto/cosmos_proto/cosmos.proto new file mode 100644 index 000000000..5c63b86f0 --- /dev/null +++ b/examples/telescope/proto/cosmos_proto/cosmos.proto @@ -0,0 +1,97 @@ +syntax = "proto3"; +package cosmos_proto; + +import "google/protobuf/descriptor.proto"; + +option go_package = "github.com/cosmos/cosmos-proto;cosmos_proto"; + +extend google.protobuf.MessageOptions { + + // implements_interface is used to indicate the type name of the interface + // that a message implements so that it can be used in google.protobuf.Any + // fields that accept that interface. A message can implement multiple + // interfaces. Interfaces should be declared using a declare_interface + // file option. + repeated string implements_interface = 93001; +} + +extend google.protobuf.FieldOptions { + + // accepts_interface is used to annotate that a google.protobuf.Any + // field accepts messages that implement the specified interface. + // Interfaces should be declared using a declare_interface file option. + string accepts_interface = 93001; + + // scalar is used to indicate that this field follows the formatting defined + // by the named scalar which should be declared with declare_scalar. Code + // generators may choose to use this information to map this field to a + // language-specific type representing the scalar. + string scalar = 93002; +} + +extend google.protobuf.FileOptions { + + // declare_interface declares an interface type to be used with + // accepts_interface and implements_interface. Interface names are + // expected to follow the following convention such that their declaration + // can be discovered by tools: for a given interface type a.b.C, it is + // expected that the declaration will be found in a protobuf file named + // a/b/interfaces.proto in the file descriptor set. + repeated InterfaceDescriptor declare_interface = 793021; + + // declare_scalar declares a scalar type to be used with + // the scalar field option. Scalar names are + // expected to follow the following convention such that their declaration + // can be discovered by tools: for a given scalar type a.b.C, it is + // expected that the declaration will be found in a protobuf file named + // a/b/scalars.proto in the file descriptor set. + repeated ScalarDescriptor declare_scalar = 793022; +} + +// InterfaceDescriptor describes an interface type to be used with +// accepts_interface and implements_interface and declared by declare_interface. +message 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. + string name = 1; + + // description is a human-readable description of the interface and its + // purpose. + string description = 2; +} + +// 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. +message 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. + string name = 1; + + // 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. + string description = 2; + + // 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. + repeated ScalarType field_type = 3; +} + +enum ScalarType { + SCALAR_TYPE_UNSPECIFIED = 0; + SCALAR_TYPE_STRING = 1; + SCALAR_TYPE_BYTES = 2; +} diff --git a/examples/telescope/proto/cosmwasm/LICENSE b/examples/telescope/proto/cosmwasm/LICENSE new file mode 100644 index 000000000..5a23302b8 --- /dev/null +++ b/examples/telescope/proto/cosmwasm/LICENSE @@ -0,0 +1,204 @@ +Cosmos-SDK +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope/proto/cosmwasm/README.md b/examples/telescope/proto/cosmwasm/README.md new file mode 100644 index 000000000..63192e81a --- /dev/null +++ b/examples/telescope/proto/cosmwasm/README.md @@ -0,0 +1 @@ +# cosmwasm \ No newline at end of file diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/genesis.proto b/examples/telescope/proto/cosmwasm/wasm/v1/genesis.proto new file mode 100644 index 000000000..f02f33075 --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/genesis.proto @@ -0,0 +1,60 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; +import "cosmwasm/wasm/v1/tx.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; + +// GenesisState - genesis state of x/wasm +message GenesisState { + Params params = 1 [ (gogoproto.nullable) = false ]; + repeated Code codes = 2 + [ (gogoproto.nullable) = false, (gogoproto.jsontag) = "codes,omitempty" ]; + repeated Contract contracts = 3 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "contracts,omitempty" + ]; + repeated Sequence sequences = 4 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "sequences,omitempty" + ]; + repeated GenMsgs gen_msgs = 5 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "gen_msgs,omitempty" + ]; + + // GenMsgs define the messages that can be executed during genesis phase in + // order. The intention is to have more human readable data that is auditable. + message GenMsgs { + // sum is a single message + oneof sum { + MsgStoreCode store_code = 1; + MsgInstantiateContract instantiate_contract = 2; + MsgExecuteContract execute_contract = 3; + } + } +} + +// Code struct encompasses CodeInfo and CodeBytes +message Code { + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; + CodeInfo code_info = 2 [ (gogoproto.nullable) = false ]; + bytes code_bytes = 3; + // Pinned to wasmvm cache + bool pinned = 4; +} + +// Contract struct encompasses ContractAddress, ContractInfo, and ContractState +message Contract { + string contract_address = 1; + ContractInfo contract_info = 2 [ (gogoproto.nullable) = false ]; + repeated Model contract_state = 3 [ (gogoproto.nullable) = false ]; +} + +// Sequence key and value of an id generation counter +message Sequence { + bytes id_key = 1 [ (gogoproto.customname) = "IDKey" ]; + uint64 value = 2; +} \ No newline at end of file diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/ibc.proto b/examples/telescope/proto/cosmwasm/wasm/v1/ibc.proto new file mode 100644 index 000000000..d880a7078 --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/ibc.proto @@ -0,0 +1,31 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; + +// MsgIBCSend +message MsgIBCSend { + // the channel by which the packet will be sent + string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; + + // Timeout height relative to the current block height. + // The timeout is disabled when set to 0. + uint64 timeout_height = 4 + [ (gogoproto.moretags) = "yaml:\"timeout_height\"" ]; + // Timeout timestamp (in nanoseconds) relative to the current block timestamp. + // The timeout is disabled when set to 0. + uint64 timeout_timestamp = 5 + [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; + + // Data is the payload to transfer. We must not make assumption what format or + // content is in here. + bytes data = 6; +} + +// MsgIBCCloseChannel port and channel need to be owned by the contract +message MsgIBCCloseChannel { + string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; +} diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/proposal.proto b/examples/telescope/proto/cosmwasm/wasm/v1/proposal.proto new file mode 100644 index 000000000..2f36f87f9 --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/proposal.proto @@ -0,0 +1,150 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmwasm/wasm/v1/types.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = true; + +// StoreCodeProposal gov proposal content type to submit WASM code to the system +message StoreCodeProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // WASMByteCode can be raw or gzip compressed + bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ]; + // Used in v1beta1 + reserved 5, 6; + // InstantiatePermission to apply on contract creation, optional + AccessConfig instantiate_permission = 7; +} + +// InstantiateContractProposal gov proposal content type to instantiate a +// contract. +message InstantiateContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // Admin is an optional address that can execute migrations + string admin = 4; + // CodeID is the reference to the stored WASM code + uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; + // Label is optional metadata to be stored with a constract instance. + string label = 6; + // Msg json encoded message to be passed to the contract on instantiation + bytes msg = 7 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 8 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// MigrateContractProposal gov proposal content type to migrate a contract. +message MigrateContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Note: skipping 3 as this was previously used for unneeded run_as + + // Contract is the address of the smart contract + string contract = 4; + // CodeID references the new WASM codesudo + uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; + // Msg json encoded message to be passed to the contract on migration + bytes msg = 6 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// SudoContractProposal gov proposal content type to call sudo on a contract. +message SudoContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Contract is the address of the smart contract + string contract = 3; + // Msg json encoded message to be passed to the contract as sudo + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// ExecuteContractProposal gov proposal content type to call execute on a +// contract. +message ExecuteContractProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // RunAs is the address that is passed to the contract's environment as sender + string run_as = 3; + // Contract is the address of the smart contract + string contract = 4; + // Msg json encoded message to be passed to the contract as execute + bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 6 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// UpdateAdminProposal gov proposal content type to set an admin for a contract. +message UpdateAdminProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // NewAdmin address to be set + string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; + // Contract is the address of the smart contract + string contract = 4; +} + +// ClearAdminProposal gov proposal content type to clear the admin of a +// contract. +message ClearAdminProposal { + // Title is a short summary + string title = 1; + // Description is a human readable text + string description = 2; + // Contract is the address of the smart contract + string contract = 3; +} + +// PinCodesProposal gov proposal content type to pin a set of code ids in the +// wasmvm cache. +message PinCodesProposal { + // Title is a short summary + string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; + // Description is a human readable text + string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; + // CodeIDs references the new WASM codes + repeated uint64 code_ids = 3 [ + (gogoproto.customname) = "CodeIDs", + (gogoproto.moretags) = "yaml:\"code_ids\"" + ]; +} + +// UnpinCodesProposal gov proposal content type to unpin a set of code ids in +// the wasmvm cache. +message UnpinCodesProposal { + // Title is a short summary + string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; + // Description is a human readable text + string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; + // CodeIDs references the WASM codes + repeated uint64 code_ids = 3 [ + (gogoproto.customname) = "CodeIDs", + (gogoproto.moretags) = "yaml:\"code_ids\"" + ]; +} diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/query.proto b/examples/telescope/proto/cosmwasm/wasm/v1/query.proto new file mode 100644 index 000000000..dbe7c0fbc --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/query.proto @@ -0,0 +1,223 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = false; + +// Query provides defines the gRPC querier service +service Query { + // ContractInfo gets the contract meta data + rpc ContractInfo(QueryContractInfoRequest) + returns (QueryContractInfoResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}"; + } + // ContractHistory gets the contract code history + rpc ContractHistory(QueryContractHistoryRequest) + returns (QueryContractHistoryResponse) { + option (google.api.http).get = + "/cosmwasm/wasm/v1/contract/{address}/history"; + } + // ContractsByCode lists all smart contracts for a code id + rpc ContractsByCode(QueryContractsByCodeRequest) + returns (QueryContractsByCodeResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}/contracts"; + } + // AllContractState gets all raw store data for a single contract + rpc AllContractState(QueryAllContractStateRequest) + returns (QueryAllContractStateResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}/state"; + } + // RawContractState gets single key from the raw store data of a contract + rpc RawContractState(QueryRawContractStateRequest) + returns (QueryRawContractStateResponse) { + option (google.api.http).get = + "/wasm/v1/contract/{address}/raw/{query_data}"; + } + // SmartContractState get smart query result from the contract + rpc SmartContractState(QuerySmartContractStateRequest) + returns (QuerySmartContractStateResponse) { + option (google.api.http).get = + "/wasm/v1/contract/{address}/smart/{query_data}"; + } + // Code gets the binary code and metadata for a singe wasm code + rpc Code(QueryCodeRequest) returns (QueryCodeResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}"; + } + // Codes gets the metadata for all stored wasm codes + rpc Codes(QueryCodesRequest) returns (QueryCodesResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/code"; + } + + // PinnedCodes gets the pinned code ids + rpc PinnedCodes(QueryPinnedCodesRequest) returns (QueryPinnedCodesResponse) { + option (google.api.http).get = "/cosmwasm/wasm/v1/codes/pinned"; + } +} + +// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC +// method +message QueryContractInfoRequest { + // address is the address of the contract to query + string address = 1; +} +// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC +// method +message QueryContractInfoResponse { + option (gogoproto.equal) = true; + + // address is the address of the contract + string address = 1; + ContractInfo contract_info = 2 [ + (gogoproto.embed) = true, + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "" + ]; +} + +// QueryContractHistoryRequest is the request type for the Query/ContractHistory +// RPC method +message QueryContractHistoryRequest { + // address is the address of the contract to query + string address = 1; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryContractHistoryResponse is the response type for the +// Query/ContractHistory RPC method +message QueryContractHistoryResponse { + repeated ContractCodeHistoryEntry entries = 1 + [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode +// RPC method +message QueryContractsByCodeRequest { + uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryContractsByCodeResponse is the response type for the +// Query/ContractsByCode RPC method +message QueryContractsByCodeResponse { + // contracts are a set of contract addresses + repeated string contracts = 1; + + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryAllContractStateRequest is the request type for the +// Query/AllContractState RPC method +message QueryAllContractStateRequest { + // address is the address of the contract + string address = 1; + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryAllContractStateResponse is the response type for the +// Query/AllContractState RPC method +message QueryAllContractStateResponse { + repeated Model models = 1 [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryRawContractStateRequest is the request type for the +// Query/RawContractState RPC method +message QueryRawContractStateRequest { + // address is the address of the contract + string address = 1; + bytes query_data = 2; +} + +// QueryRawContractStateResponse is the response type for the +// Query/RawContractState RPC method +message QueryRawContractStateResponse { + // Data contains the raw store data + bytes data = 1; +} + +// QuerySmartContractStateRequest is the request type for the +// Query/SmartContractState RPC method +message QuerySmartContractStateRequest { + // address is the address of the contract + string address = 1; + // QueryData contains the query data passed to the contract + bytes query_data = 2 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// QuerySmartContractStateResponse is the response type for the +// Query/SmartContractState RPC method +message QuerySmartContractStateResponse { + // Data contains the json data returned from the smart contract + bytes data = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// QueryCodeRequest is the request type for the Query/Code RPC method +message QueryCodeRequest { + uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID +} + +// CodeInfoResponse contains code meta data from CodeInfo +message CodeInfoResponse { + option (gogoproto.equal) = true; + + uint64 code_id = 1 [ + (gogoproto.customname) = "CodeID", + (gogoproto.jsontag) = "id" + ]; // id for legacy support + string creator = 2; + bytes data_hash = 3 + [ (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; + // Used in v1beta1 + reserved 4, 5; +} + +// QueryCodeResponse is the response type for the Query/Code RPC method +message QueryCodeResponse { + option (gogoproto.equal) = true; + CodeInfoResponse code_info = 1 + [ (gogoproto.embed) = true, (gogoproto.jsontag) = "" ]; + bytes data = 2 [ (gogoproto.jsontag) = "data" ]; +} + +// QueryCodesRequest is the request type for the Query/Codes RPC method +message QueryCodesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryCodesResponse is the response type for the Query/Codes RPC method +message QueryCodesResponse { + repeated CodeInfoResponse code_infos = 1 [ (gogoproto.nullable) = false ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes +// RPC method +message QueryPinnedCodesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryPinnedCodesResponse is the response type for the +// Query/PinnedCodes RPC method +message QueryPinnedCodesResponse { + repeated uint64 code_ids = 1 + [ (gogoproto.nullable) = false, (gogoproto.customname) = "CodeIDs" ]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/tx.proto b/examples/telescope/proto/cosmwasm/wasm/v1/tx.proto new file mode 100644 index 000000000..8295907eb --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/tx.proto @@ -0,0 +1,135 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; +import "cosmwasm/wasm/v1/types.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; + +// Msg defines the wasm Msg service. +service Msg { + // StoreCode to submit Wasm code to the system + rpc StoreCode(MsgStoreCode) returns (MsgStoreCodeResponse); + // Instantiate creates a new smart contract instance for the given code id. + rpc InstantiateContract(MsgInstantiateContract) + returns (MsgInstantiateContractResponse); + // Execute submits the given message data to a smart contract + rpc ExecuteContract(MsgExecuteContract) returns (MsgExecuteContractResponse); + // Migrate runs a code upgrade/ downgrade for a smart contract + rpc MigrateContract(MsgMigrateContract) returns (MsgMigrateContractResponse); + // UpdateAdmin sets a new admin for a smart contract + rpc UpdateAdmin(MsgUpdateAdmin) returns (MsgUpdateAdminResponse); + // ClearAdmin removes any admin stored for a smart contract + rpc ClearAdmin(MsgClearAdmin) returns (MsgClearAdminResponse); +} + +// MsgStoreCode submit Wasm code to the system +message MsgStoreCode { + // Sender is the that actor that signed the messages + string sender = 1; + // WASMByteCode can be raw or gzip compressed + bytes wasm_byte_code = 2 [ (gogoproto.customname) = "WASMByteCode" ]; + // Used in v1beta1 + reserved 3, 4; + // InstantiatePermission access control to apply on contract creation, + // optional + AccessConfig instantiate_permission = 5; +} +// MsgStoreCodeResponse returns store result data. +message MsgStoreCodeResponse { + // CodeID is the reference to the stored WASM code + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; +} + +// MsgInstantiateContract create a new smart contract instance for the given +// code id. +message MsgInstantiateContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Admin is an optional address that can execute migrations + string admin = 2; + // CodeID is the reference to the stored WASM code + uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; + // Label is optional metadata to be stored with a contract instance. + string label = 4; + // Msg json encoded message to be passed to the contract on instantiation + bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on instantiation + repeated cosmos.base.v1beta1.Coin funds = 6 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} +// MsgInstantiateContractResponse return instantiation result data +message MsgInstantiateContractResponse { + // Address is the bech32 address of the new contract instance. + string address = 1; + // Data contains base64-encoded bytes to returned from the contract + bytes data = 2; +} + +// MsgExecuteContract submits the given message data to a smart contract +message MsgExecuteContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 2; + // Msg json encoded message to be passed to the contract + bytes msg = 3 [ (gogoproto.casttype) = "RawContractMessage" ]; + // Funds coins that are transferred to the contract on execution + repeated cosmos.base.v1beta1.Coin funds = 5 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +// MsgExecuteContractResponse returns execution result data. +message MsgExecuteContractResponse { + // Data contains base64-encoded bytes to returned from the contract + bytes data = 1; +} + +// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract +message MsgMigrateContract { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 2; + // CodeID references the new WASM code + uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; + // Msg json encoded message to be passed to the contract on migration + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// MsgMigrateContractResponse returns contract migration result data. +message MsgMigrateContractResponse { + // Data contains same raw bytes returned as data from the wasm contract. + // (May be empty) + bytes data = 1; +} + +// MsgUpdateAdmin sets a new admin for a smart contract +message MsgUpdateAdmin { + // Sender is the that actor that signed the messages + string sender = 1; + // NewAdmin address to be set + string new_admin = 2; + // Contract is the address of the smart contract + string contract = 3; +} + +// MsgUpdateAdminResponse returns empty data +message MsgUpdateAdminResponse {} + +// MsgClearAdmin removes any admin stored for a smart contract +message MsgClearAdmin { + // Sender is the that actor that signed the messages + string sender = 1; + // Contract is the address of the smart contract + string contract = 3; +} + +// MsgClearAdminResponse returns empty data +message MsgClearAdminResponse {} diff --git a/examples/telescope/proto/cosmwasm/wasm/v1/types.proto b/examples/telescope/proto/cosmwasm/wasm/v1/types.proto new file mode 100644 index 000000000..7ee2f639e --- /dev/null +++ b/examples/telescope/proto/cosmwasm/wasm/v1/types.proto @@ -0,0 +1,140 @@ +syntax = "proto3"; +package cosmwasm.wasm.v1; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; +option (gogoproto.goproto_getters_all) = false; +option (gogoproto.equal_all) = true; + +// AccessType permission types +enum AccessType { + option (gogoproto.goproto_enum_prefix) = false; + option (gogoproto.goproto_enum_stringer) = false; + // AccessTypeUnspecified placeholder for empty value + ACCESS_TYPE_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "AccessTypeUnspecified" ]; + // AccessTypeNobody forbidden + ACCESS_TYPE_NOBODY = 1 + [ (gogoproto.enumvalue_customname) = "AccessTypeNobody" ]; + // AccessTypeOnlyAddress restricted to an address + ACCESS_TYPE_ONLY_ADDRESS = 2 + [ (gogoproto.enumvalue_customname) = "AccessTypeOnlyAddress" ]; + // AccessTypeEverybody unrestricted + ACCESS_TYPE_EVERYBODY = 3 + [ (gogoproto.enumvalue_customname) = "AccessTypeEverybody" ]; +} + +// AccessTypeParam +message AccessTypeParam { + option (gogoproto.goproto_stringer) = true; + AccessType value = 1 [ (gogoproto.moretags) = "yaml:\"value\"" ]; +} + +// AccessConfig access control type. +message AccessConfig { + option (gogoproto.goproto_stringer) = true; + AccessType permission = 1 [ (gogoproto.moretags) = "yaml:\"permission\"" ]; + string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; +} + +// Params defines the set of wasm parameters. +message Params { + option (gogoproto.goproto_stringer) = false; + AccessConfig code_upload_access = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"code_upload_access\"" + ]; + AccessType instantiate_default_permission = 2 + [ (gogoproto.moretags) = "yaml:\"instantiate_default_permission\"" ]; + uint64 max_wasm_code_size = 3 + [ (gogoproto.moretags) = "yaml:\"max_wasm_code_size\"" ]; +} + +// CodeInfo is data for the uploaded contract WASM code +message CodeInfo { + // CodeHash is the unique identifier created by wasmvm + bytes code_hash = 1; + // Creator address who initially stored the code + string creator = 2; + // Used in v1beta1 + reserved 3, 4; + // InstantiateConfig access control to apply on contract creation, optional + AccessConfig instantiate_config = 5 [ (gogoproto.nullable) = false ]; +} + +// ContractInfo stores a WASM contract instance +message ContractInfo { + option (gogoproto.equal) = true; + + // CodeID is the reference to the stored Wasm code + uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; + // Creator address who initially instantiated the contract + string creator = 2; + // Admin is an optional address that can execute migrations + string admin = 3; + // Label is optional metadata to be stored with a contract instance. + string label = 4; + // Created Tx position when the contract was instantiated. + // This data should kept internal and not be exposed via query results. Just + // use for sorting + AbsoluteTxPosition created = 5; + string ibc_port_id = 6 [ (gogoproto.customname) = "IBCPortID" ]; + + // Extension is an extension point to store custom metadata within the + // persistence model. + google.protobuf.Any extension = 7 + [ (cosmos_proto.accepts_interface) = "ContractInfoExtension" ]; +} + +// ContractCodeHistoryOperationType actions that caused a code change +enum ContractCodeHistoryOperationType { + option (gogoproto.goproto_enum_prefix) = false; + // ContractCodeHistoryOperationTypeUnspecified placeholder for empty value + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeUnspecified" ]; + // ContractCodeHistoryOperationTypeInit on chain contract instantiation + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeInit" ]; + // ContractCodeHistoryOperationTypeMigrate code migration + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeMigrate" ]; + // ContractCodeHistoryOperationTypeGenesis based on genesis data + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3 + [ (gogoproto.enumvalue_customname) = + "ContractCodeHistoryOperationTypeGenesis" ]; +} + +// ContractCodeHistoryEntry metadata to a contract. +message ContractCodeHistoryEntry { + ContractCodeHistoryOperationType operation = 1; + // CodeID is the reference to the stored WASM code + uint64 code_id = 2 [ (gogoproto.customname) = "CodeID" ]; + // Updated Tx position when the operation was executed. + AbsoluteTxPosition updated = 3; + bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; +} + +// AbsoluteTxPosition is a unique transaction position that allows for global +// ordering of transactions. +message AbsoluteTxPosition { + // BlockHeight is the block the contract was created at + uint64 block_height = 1; + // TxIndex is a monotonic counter within the block (actual transaction index, + // or gas consumed) + uint64 tx_index = 2; +} + +// Model is a struct that holds a KV pair +message Model { + // hex-encode key to read it better (this is often ascii) + bytes key = 1 [ (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; + // base64-encode raw value + bytes value = 2; +} diff --git a/examples/telescope/proto/gogoproto/LICENSE b/examples/telescope/proto/gogoproto/LICENSE new file mode 100644 index 000000000..992eb2bd4 --- /dev/null +++ b/examples/telescope/proto/gogoproto/LICENSE @@ -0,0 +1,34 @@ +Copyright (c) 2013, The GoGo Authors. All rights reserved. + +Protocol Buffers for Go with Gadgets + +Go support for Protocol Buffers - Google's data interchange format + +Copyright 2010 The Go Authors. All rights reserved. +https://github.com/golang/protobuf + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/examples/telescope/proto/gogoproto/README.md b/examples/telescope/proto/gogoproto/README.md new file mode 100644 index 000000000..4cfc47689 --- /dev/null +++ b/examples/telescope/proto/gogoproto/README.md @@ -0,0 +1 @@ +# gogoproto \ No newline at end of file diff --git a/examples/telescope/proto/gogoproto/gogo.proto b/examples/telescope/proto/gogoproto/gogo.proto new file mode 100644 index 000000000..49e78f99f --- /dev/null +++ b/examples/telescope/proto/gogoproto/gogo.proto @@ -0,0 +1,145 @@ +// Protocol Buffers for Go with Gadgets +// +// Copyright (c) 2013, The GoGo Authors. All rights reserved. +// http://github.com/gogo/protobuf +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto2"; +package gogoproto; + +import "google/protobuf/descriptor.proto"; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "GoGoProtos"; +option go_package = "github.com/gogo/protobuf/gogoproto"; + +extend google.protobuf.EnumOptions { + optional bool goproto_enum_prefix = 62001; + optional bool goproto_enum_stringer = 62021; + optional bool enum_stringer = 62022; + optional string enum_customname = 62023; + optional bool enumdecl = 62024; +} + +extend google.protobuf.EnumValueOptions { + optional string enumvalue_customname = 66001; +} + +extend google.protobuf.FileOptions { + optional bool goproto_getters_all = 63001; + optional bool goproto_enum_prefix_all = 63002; + optional bool goproto_stringer_all = 63003; + optional bool verbose_equal_all = 63004; + optional bool face_all = 63005; + optional bool gostring_all = 63006; + optional bool populate_all = 63007; + optional bool stringer_all = 63008; + optional bool onlyone_all = 63009; + + optional bool equal_all = 63013; + optional bool description_all = 63014; + optional bool testgen_all = 63015; + optional bool benchgen_all = 63016; + optional bool marshaler_all = 63017; + optional bool unmarshaler_all = 63018; + optional bool stable_marshaler_all = 63019; + + optional bool sizer_all = 63020; + + optional bool goproto_enum_stringer_all = 63021; + optional bool enum_stringer_all = 63022; + + optional bool unsafe_marshaler_all = 63023; + optional bool unsafe_unmarshaler_all = 63024; + + optional bool goproto_extensions_map_all = 63025; + optional bool goproto_unrecognized_all = 63026; + optional bool gogoproto_import = 63027; + optional bool protosizer_all = 63028; + optional bool compare_all = 63029; + optional bool typedecl_all = 63030; + optional bool enumdecl_all = 63031; + + optional bool goproto_registration = 63032; + optional bool messagename_all = 63033; + + optional bool goproto_sizecache_all = 63034; + optional bool goproto_unkeyed_all = 63035; +} + +extend google.protobuf.MessageOptions { + optional bool goproto_getters = 64001; + optional bool goproto_stringer = 64003; + optional bool verbose_equal = 64004; + optional bool face = 64005; + optional bool gostring = 64006; + optional bool populate = 64007; + optional bool stringer = 67008; + optional bool onlyone = 64009; + + optional bool equal = 64013; + optional bool description = 64014; + optional bool testgen = 64015; + optional bool benchgen = 64016; + optional bool marshaler = 64017; + optional bool unmarshaler = 64018; + optional bool stable_marshaler = 64019; + + optional bool sizer = 64020; + + optional bool unsafe_marshaler = 64023; + optional bool unsafe_unmarshaler = 64024; + + optional bool goproto_extensions_map = 64025; + optional bool goproto_unrecognized = 64026; + + optional bool protosizer = 64028; + optional bool compare = 64029; + + optional bool typedecl = 64030; + + optional bool messagename = 64033; + + optional bool goproto_sizecache = 64034; + optional bool goproto_unkeyed = 64035; +} + +extend google.protobuf.FieldOptions { + optional bool nullable = 65001; + optional bool embed = 65002; + optional string customtype = 65003; + optional string customname = 65004; + optional string jsontag = 65005; + optional string moretags = 65006; + optional string casttype = 65007; + optional string castkey = 65008; + optional string castvalue = 65009; + + optional bool stdtime = 65010; + optional bool stdduration = 65011; + optional bool wktpointer = 65012; + + optional string castrepeated = 65013; +} diff --git a/examples/telescope/proto/google/LICENSE b/examples/telescope/proto/google/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/examples/telescope/proto/google/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/examples/telescope/proto/google/README.md b/examples/telescope/proto/google/README.md new file mode 100644 index 000000000..3bdc1f836 --- /dev/null +++ b/examples/telescope/proto/google/README.md @@ -0,0 +1 @@ +# google \ No newline at end of file diff --git a/examples/telescope/proto/google/api/annotations.proto b/examples/telescope/proto/google/api/annotations.proto new file mode 100644 index 000000000..efdab3db6 --- /dev/null +++ b/examples/telescope/proto/google/api/annotations.proto @@ -0,0 +1,31 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/api/http.proto"; +import "google/protobuf/descriptor.proto"; + +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "AnnotationsProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.MethodOptions { + // See `HttpRule`. + HttpRule http = 72295728; +} diff --git a/examples/telescope/proto/google/api/http.proto b/examples/telescope/proto/google/api/http.proto new file mode 100644 index 000000000..113fa936a --- /dev/null +++ b/examples/telescope/proto/google/api/http.proto @@ -0,0 +1,375 @@ +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "HttpProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +// 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 +// to one or more HTTP REST API methods. +message Http { + // A list of HTTP configuration rules that apply to individual API methods. + // + // **NOTE:** All service configuration rules follow "last one wins" order. + repeated HttpRule rules = 1; + + // When set to true, URL path parameters will be fully URI-decoded except in + // cases of single segment matches in reserved expansion, where "%2F" will be + // left encoded. + // + // The default behavior is to not decode RFC 6570 reserved characters in multi + // segment matches. + bool fully_decode_reserved_expansion = 2; +} + +// # gRPC Transcoding +// +// gRPC Transcoding is a feature for mapping between a gRPC method and one or +// more HTTP REST endpoints. It allows developers to build a single API service +// that supports both gRPC APIs and REST APIs. Many systems, including [Google +// APIs](https://github.com/googleapis/googleapis), +// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC +// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), +// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature +// and use it for large scale production services. +// +// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies +// how different portions of the gRPC request message are mapped to the URL +// path, URL query parameters, and HTTP request body. It also controls how the +// gRPC response message is mapped to the HTTP response body. `HttpRule` is +// typically specified as an `google.api.http` annotation on the gRPC method. +// +// Each mapping specifies a URL path template and an HTTP method. The path +// template may refer to one or more fields in the gRPC request message, as long +// as each field is a non-repeated field with a primitive (non-message) type. +// The path template controls how fields of the request message are mapped to +// the URL path. +// +// Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/{name=messages/*}" +// }; +// } +// } +// message GetMessageRequest { +// string name = 1; // Mapped to URL path. +// } +// message Message { +// string text = 1; // The resource content. +// } +// +// This enables an HTTP REST to gRPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +// +// Any fields in the request message which are not bound by the path template +// automatically become HTTP query parameters if there is no HTTP request body. +// For example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get:"/v1/messages/{message_id}" +// }; +// } +// } +// message GetMessageRequest { +// message SubMessage { +// string subfield = 1; +// } +// string message_id = 1; // Mapped to URL path. +// int64 revision = 2; // Mapped to URL query parameter `revision`. +// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. +// } +// +// This enables a HTTP JSON to RPC mapping as below: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | +// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +// "foo"))` +// +// Note that fields which are mapped to URL query parameters must have a +// primitive type or a repeated primitive type or a non-repeated message type. +// In the case of a repeated type, the parameter can be repeated in the URL +// as `...?param=A¶m=B`. In the case of a message type, each field of the +// message is mapped to a separate parameter, such as +// `...?foo.a=A&foo.b=B&foo.c=C`. +// +// For HTTP methods that allow a request body, the `body` field +// specifies the mapping. Consider a REST update method on the +// message resource collection: +// +// service Messaging { +// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "message" +// }; +// } +// } +// message UpdateMessageRequest { +// string message_id = 1; // mapped to the URL +// Message message = 2; // mapped to the body +// } +// +// The following HTTP JSON to RPC mapping is enabled, where the +// representation of the JSON in the request body is determined by +// protos JSON encoding: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" message { text: "Hi!" })` +// +// The special name `*` can be used in the body mapping to define that +// every field not bound by the path template should be mapped to the +// request body. This enables the following alternative definition of +// the update method: +// +// service Messaging { +// rpc UpdateMessage(Message) returns (Message) { +// option (google.api.http) = { +// patch: "/v1/messages/{message_id}" +// body: "*" +// }; +// } +// } +// message Message { +// string message_id = 1; +// string text = 2; +// } +// +// +// The following HTTP JSON to RPC mapping is enabled: +// +// HTTP | gRPC +// -----|----- +// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +// "123456" text: "Hi!")` +// +// Note that when using `*` in the body mapping, it is not possible to +// have HTTP parameters, as all fields not bound by the path end in +// the body. This makes this option more rarely used in practice when +// defining REST APIs. The common usage of `*` is in custom methods +// which don't use the URL at all for transferring data. +// +// It is possible to define multiple HTTP methods for one RPC by using +// the `additional_bindings` option. Example: +// +// service Messaging { +// rpc GetMessage(GetMessageRequest) returns (Message) { +// option (google.api.http) = { +// get: "/v1/messages/{message_id}" +// additional_bindings { +// get: "/v1/users/{user_id}/messages/{message_id}" +// } +// }; +// } +// } +// message GetMessageRequest { +// string message_id = 1; +// string user_id = 2; +// } +// +// This enables the following two alternative HTTP JSON to RPC mappings: +// +// HTTP | gRPC +// -----|----- +// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` +// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: +// "123456")` +// +// ## Rules for HTTP mapping +// +// 1. Leaf request fields (recursive expansion nested messages in the request +// message) are classified into three categories: +// - Fields referred by the path template. They are passed via the URL path. +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// request body. +// - All other fields are passed via the URL query parameters, and the +// parameter name is the field path in the request message. A repeated +// field can be represented as multiple query parameters under the same +// name. +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// are passed via URL path and HTTP request body. +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// fields are passed via URL path and URL query parameters. +// +// ### Path template syntax +// +// Template = "/" Segments [ Verb ] ; +// Segments = Segment { "/" Segment } ; +// Segment = "*" | "**" | LITERAL | Variable ; +// Variable = "{" FieldPath [ "=" Segments ] "}" ; +// FieldPath = IDENT { "." IDENT } ; +// Verb = ":" LITERAL ; +// +// The syntax `*` matches a single URL path segment. The syntax `**` matches +// zero or more URL path segments, which must be the last part of the URL path +// except the `Verb`. +// +// The syntax `Variable` matches part of the URL path as specified by its +// template. A variable template must not contain other variables. If a variable +// matches a single path segment, its template may be omitted, e.g. `{var}` +// is equivalent to `{var=*}`. +// +// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +// contains any reserved character, such characters should be percent-encoded +// before the matching. +// +// If a variable contains exactly one path segment, such as `"{var}"` or +// `"{var=*}"`, when such a variable is expanded into a URL path on the client +// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The +// server side does the reverse decoding. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{var}`. +// +// If a variable contains multiple path segments, such as `"{var=foo/*}"` +// or `"{var=**}"`, when such a variable is expanded into a URL path on the +// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. +// The server side does the reverse decoding, except "%2F" and "%2f" are left +// unchanged. Such variables show up in the +// [Discovery +// Document](https://developers.google.com/discovery/v1/reference/apis) as +// `{+var}`. +// +// ## Using gRPC API Service Configuration +// +// gRPC API Service Configuration (service config) is a configuration language +// for configuring a gRPC service to become a user-facing product. The +// service config is simply the YAML representation of the `google.api.Service` +// proto message. +// +// As an alternative to annotating your proto file, you can configure gRPC +// transcoding in your service config YAML files. You do this by specifying a +// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same +// effect as the proto annotation. This can be particularly useful if you +// have a proto that is reused in multiple services. Note that any transcoding +// specified in the service config will override any matching transcoding +// configuration in the proto. +// +// Example: +// +// http: +// rules: +// # Selects a gRPC method and applies HttpRule to it. +// - selector: example.v1.Messaging.GetMessage +// get: /v1/messages/{message_id}/{sub.subfield} +// +// ## Special notes +// +// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +// proto to JSON conversion must follow the [proto3 +// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). +// +// While the single segment variable follows the semantics of +// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String +// Expansion, the multi segment variable **does not** follow RFC 6570 Section +// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion +// does not expand special characters like `?` and `#`, which would lead +// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding +// for multi segment variables. +// +// The path variables **must not** refer to any repeated or mapped field, +// because client libraries are not capable of handling such variable expansion. +// +// The path variables **must not** capture the leading "/" character. The reason +// is that the most common use case "{var}" does not capture the leading "/" +// character. For consistency, all path variables must share the same behavior. +// +// Repeated message fields must not be mapped to URL query parameters, because +// no client library can support such complicated mapping. +// +// If an API needs to use a JSON array for request or response body, it can map +// the request or response body to a repeated field. However, some gRPC +// Transcoding implementations may not support this feature. +message HttpRule { + // Selects a method to which this rule applies. + // + // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + string selector = 1; + + // Determines the URL pattern is matched by this rules. This pattern can be + // used with any of the {get|put|post|delete|patch} methods. A custom method + // can be defined using the 'custom' field. + oneof pattern { + // Maps to HTTP GET. Used for listing and getting information about + // resources. + string get = 2; + + // Maps to HTTP PUT. Used for replacing a resource. + string put = 3; + + // Maps to HTTP POST. Used for creating a resource or performing an action. + string post = 4; + + // Maps to HTTP DELETE. Used for deleting a resource. + string delete = 5; + + // Maps to HTTP PATCH. Used for updating a resource. + string patch = 6; + + // The custom pattern is used for specifying an HTTP method that is not + // included in the `pattern` field, such as HEAD, or "*" to leave the + // HTTP method unspecified for this rule. The wild-card rule is useful + // for services that provide content to Web (HTML) clients. + CustomHttpPattern custom = 8; + } + + // The name of the request field whose value is mapped to the HTTP request + // body, or `*` for mapping all request fields not captured by the path + // pattern to the HTTP body, or omitted for not having any HTTP request body. + // + // NOTE: the referred field must be present at the top-level of the request + // message type. + string body = 7; + + // Optional. The name of the response field whose value is mapped to the HTTP + // response body. When omitted, the entire response message will be used + // as the HTTP response body. + // + // NOTE: The referred field must be present at the top-level of the response + // message type. + string response_body = 12; + + // Additional HTTP bindings for the selector. Nested bindings must + // not contain an `additional_bindings` field themselves (that is, + // the nesting may only be one level deep). + repeated HttpRule additional_bindings = 11; +} + +// A custom pattern is used for defining custom HTTP verb. +message CustomHttpPattern { + // The name of this custom HTTP verb. + string kind = 1; + + // The path matched by this custom verb. + string path = 2; +} diff --git a/examples/telescope/proto/google/protobuf/any.proto b/examples/telescope/proto/google/protobuf/any.proto new file mode 100644 index 000000000..4cf3843bd --- /dev/null +++ b/examples/telescope/proto/google/protobuf/any.proto @@ -0,0 +1,155 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "AnyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// `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" +// } +// +message Any { + // 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. + // + string type_url = 1; + + // Must be a valid serialized protocol buffer of the above specified type. + bytes value = 2; +} diff --git a/examples/telescope/proto/google/protobuf/descriptor.proto b/examples/telescope/proto/google/protobuf/descriptor.proto new file mode 100644 index 000000000..4a08905a5 --- /dev/null +++ b/examples/telescope/proto/google/protobuf/descriptor.proto @@ -0,0 +1,885 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + + +syntax = "proto2"; + +package google.protobuf; + +option go_package = "descriptor"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DescriptorProtos"; +option csharp_namespace = "Google.Protobuf.Reflection"; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// descriptor.proto must be optimized for speed because reflection-based +// algorithms don't work during bootstrapping. +option optimize_for = SPEED; + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +message FileDescriptorSet { + repeated FileDescriptorProto file = 1; +} + +// Describes a complete .proto file. +message FileDescriptorProto { + optional string name = 1; // file name, relative to root of source tree + optional string package = 2; // e.g. "foo", "foo.bar", etc. + + // Names of files imported by this file. + repeated string dependency = 3; + // Indexes of the public imported files in the dependency list above. + repeated int32 public_dependency = 10; + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + repeated int32 weak_dependency = 11; + + // All top-level definitions in this file. + repeated DescriptorProto message_type = 4; + repeated EnumDescriptorProto enum_type = 5; + repeated ServiceDescriptorProto service = 6; + repeated FieldDescriptorProto extension = 7; + + optional FileOptions options = 8; + + // 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. + optional SourceCodeInfo source_code_info = 9; + + // The syntax of the proto file. + // The supported values are "proto2" and "proto3". + optional string syntax = 12; +} + +// Describes a message type. +message DescriptorProto { + optional string name = 1; + + repeated FieldDescriptorProto field = 2; + repeated FieldDescriptorProto extension = 6; + + repeated DescriptorProto nested_type = 3; + repeated EnumDescriptorProto enum_type = 4; + + message ExtensionRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + + optional ExtensionRangeOptions options = 3; + } + repeated ExtensionRange extension_range = 5; + + repeated OneofDescriptorProto oneof_decl = 8; + + optional MessageOptions options = 7; + + // 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. + message ReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Exclusive. + } + repeated ReservedRange reserved_range = 9; + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + repeated string reserved_name = 10; +} + +message ExtensionRangeOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +// Describes a field within a message. +message FieldDescriptorProto { + enum Type { + // 0 is reserved for errors. + // Order is weird for historical reasons. + TYPE_DOUBLE = 1; + TYPE_FLOAT = 2; + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + TYPE_INT64 = 3; + TYPE_UINT64 = 4; + // 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; + // 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; // Length-delimited aggregate. + + // New in version 2. + TYPE_BYTES = 12; + TYPE_UINT32 = 13; + TYPE_ENUM = 14; + TYPE_SFIXED32 = 15; + TYPE_SFIXED64 = 16; + TYPE_SINT32 = 17; // Uses ZigZag encoding. + TYPE_SINT64 = 18; // Uses ZigZag encoding. + } + + enum Label { + // 0 is reserved for errors + LABEL_OPTIONAL = 1; + LABEL_REQUIRED = 2; + LABEL_REPEATED = 3; + } + + optional string name = 1; + optional int32 number = 3; + optional Label label = 4; + + // 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. + optional Type type = 5; + + // 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). + optional string type_name = 6; + + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + optional string extendee = 2; + + // 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? + optional string default_value = 7; + + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + optional int32 oneof_index = 9; + + // 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. + optional string json_name = 10; + + optional FieldOptions options = 8; +} + +// Describes a oneof. +message OneofDescriptorProto { + optional string name = 1; + optional OneofOptions options = 2; +} + +// Describes an enum type. +message EnumDescriptorProto { + optional string name = 1; + + repeated EnumValueDescriptorProto value = 2; + + optional EnumOptions options = 3; + + // 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. + message EnumReservedRange { + optional int32 start = 1; // Inclusive. + optional int32 end = 2; // Inclusive. + } + + // 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. + repeated EnumReservedRange reserved_range = 4; + + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + repeated string reserved_name = 5; +} + +// Describes a value within an enum. +message EnumValueDescriptorProto { + optional string name = 1; + optional int32 number = 2; + + optional EnumValueOptions options = 3; +} + +// Describes a service. +message ServiceDescriptorProto { + optional string name = 1; + repeated MethodDescriptorProto method = 2; + + optional ServiceOptions options = 3; +} + +// Describes a method of a service. +message MethodDescriptorProto { + optional string name = 1; + + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + optional string input_type = 2; + optional string output_type = 3; + + optional MethodOptions options = 4; + + // Identifies if client streams multiple client messages + optional bool client_streaming = 5 [default = false]; + // Identifies if server streams multiple server messages + optional bool server_streaming = 6 [default = false]; +} + + +// =================================================================== +// Options + +// Each of the definitions above may have "options" attached. These are +// just annotations which may cause code to be generated slightly differently +// or may contain hints for code that manipulates protocol messages. +// +// Clients may define custom options as extensions of the *Options messages. +// These extensions may not yet be known at parsing time, so the parser cannot +// store the values in them. Instead it stores them in a field in the *Options +// message called uninterpreted_option. This field must have the same name +// across all *Options messages. We then use this field to populate the +// extensions when we build a descriptor, at which point all protos have been +// parsed and so all extensions are known. +// +// Extension numbers for custom options may be chosen as follows: +// * For options which will only be used within a single application or +// organization, or for experimental options, use field numbers 50000 +// through 99999. It is up to you to ensure that you do not use the +// same number for multiple options. +// * For options which will be published and used publicly by multiple +// independent entities, e-mail protobuf-global-extension-registry@google.com +// to reserve extension numbers. Simply provide your project name (e.g. +// Objective-C plugin) and your project website (if available) -- there's no +// need to explain how you intend to use them. Usually you only need one +// extension number. You can declare multiple options with only one extension +// number by putting them in a sub-message. See the Custom Options section of +// the docs for examples: +// https://developers.google.com/protocol-buffers/docs/proto#options +// If this turns out to be popular, a web service will be set up +// to automatically assign option numbers. + +message 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. + optional string java_package = 1; + + + // 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). + optional string java_outer_classname = 8; + + // 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. + optional bool java_multiple_files = 10 [default = false]; + + // This option does nothing. + optional bool java_generate_equals_and_hash = 20 [deprecated=true]; + + // 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. + optional bool java_string_check_utf8 = 27 [default = false]; + + + // Generated classes can be optimized for speed or code size. + enum OptimizeMode { + SPEED = 1; // Generate complete code for parsing, serialization, + // etc. + CODE_SIZE = 2; // Use ReflectionOps to implement these methods. + LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. + } + optional OptimizeMode optimize_for = 9 [default = SPEED]; + + // 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. + optional string go_package = 11; + + + + + // 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. + optional bool cc_generic_services = 16 [default = false]; + optional bool java_generic_services = 17 [default = false]; + optional bool py_generic_services = 18 [default = false]; + optional bool php_generic_services = 42 [default = false]; + + // 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. + optional bool deprecated = 23 [default = false]; + + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + optional bool cc_enable_arenas = 31 [default = false]; + + + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + optional string objc_class_prefix = 36; + + // Namespace for generated classes; defaults to the package. + optional string csharp_namespace = 37; + + // 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. + optional string swift_prefix = 39; + + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + optional string php_class_prefix = 40; + + // 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. + optional string php_namespace = 41; + + // 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. + optional string php_metadata_namespace = 44; + + // 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. + optional string ruby_package = 45; + + + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. + // See the documentation for the "Options" section above. + extensions 1000 to max; + + //reserved 38; +} + +message 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. + optional bool message_set_wire_format = 1 [default = false]; + + // 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". + optional bool no_standard_descriptor_accessor = 2 [default = false]; + + // 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. + optional bool deprecated = 3 [default = false]; + + // 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. + optional bool map_entry = 7; + + //reserved 8; // javalite_serializable + //reserved 9; // javanano_as_lite + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message 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! + optional CType ctype = 1 [default = STRING]; + enum CType { + // Default mode. + STRING = 0; + + CORD = 1; + + STRING_PIECE = 2; + } + // 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. + optional bool packed = 2; + + // 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. + optional JSType jstype = 6 [default = JS_NORMAL]; + enum JSType { + // Use the default type. + JS_NORMAL = 0; + + // Use JavaScript strings. + JS_STRING = 1; + + // Use JavaScript numbers. + JS_NUMBER = 2; + } + + // 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. + optional bool lazy = 5 [default = false]; + + // 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. + optional bool deprecated = 3 [default = false]; + + // For Google-internal migration only. Do not use. + optional bool weak = 10 [default = false]; + + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; + + //reserved 4; // removed jtype +} + +message OneofOptions { + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message EnumOptions { + + // Set this option to true to allow mapping different tag names to the same + // value. + optional bool allow_alias = 2; + + // 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. + optional bool deprecated = 3 [default = false]; + + //reserved 5; // javanano_as_lite + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message 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. + optional bool deprecated = 1 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message ServiceOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // 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. + optional bool deprecated = 33 [default = false]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + +message MethodOptions { + + // Note: Field numbers 1 through 32 are reserved for Google's internal RPC + // framework. We apologize for hoarding these numbers to ourselves, but + // we were already using them long before we decided to release Protocol + // Buffers. + + // 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. + optional bool deprecated = 33 [default = false]; + + // 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. + enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0; + NO_SIDE_EFFECTS = 1; // implies idempotent + IDEMPOTENT = 2; // idempotent, but may have side effects + } + optional IdempotencyLevel idempotency_level = 34 + [default = IDEMPOTENCY_UNKNOWN]; + + // The parser stores options it doesn't recognize here. See above. + repeated UninterpretedOption uninterpreted_option = 999; + + // Clients can define custom options in extensions of this message. See above. + extensions 1000 to max; +} + + +// 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. +message UninterpretedOption { + // 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". + message NamePart { + required string name_part = 1; + required bool is_extension = 2; + } + repeated NamePart name = 2; + + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + optional string identifier_value = 3; + optional uint64 positive_int_value = 4; + optional int64 negative_int_value = 5; + optional double double_value = 6; + optional bytes string_value = 7; + optional string aggregate_value = 8; +} + +// =================================================================== +// Optional source code info + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +message 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. + repeated Location location = 1; + message 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). + repeated int32 path = 1 [packed = true]; + + // 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. + repeated int32 span = 2 [packed = true]; + + // 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. + optional string leading_comments = 3; + optional string trailing_comments = 4; + repeated string leading_detached_comments = 6; + } +} + +// 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. +message GeneratedCodeInfo { + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + repeated Annotation annotation = 1; + message Annotation { + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + repeated int32 path = 1 [packed = true]; + + // Identifies the filesystem path to the original source .proto. + optional string source_file = 2; + + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + optional int32 begin = 3; + + // 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). + optional int32 end = 4; + } +} diff --git a/examples/telescope/proto/google/protobuf/duration.proto b/examples/telescope/proto/google/protobuf/duration.proto new file mode 100644 index 000000000..b14bea5d0 --- /dev/null +++ b/examples/telescope/proto/google/protobuf/duration.proto @@ -0,0 +1,116 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DurationProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// 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". +// +// +message 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 + int64 seconds = 1; + + // 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. + int32 nanos = 2; +} diff --git a/examples/telescope/proto/google/protobuf/empty.proto b/examples/telescope/proto/google/protobuf/empty.proto new file mode 100644 index 000000000..6057c8522 --- /dev/null +++ b/examples/telescope/proto/google/protobuf/empty.proto @@ -0,0 +1,52 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "EmptyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// A generic empty message that you can re-use to avoid defining duplicated +// empty messages in your APIs. A typical example is to use it as the request +// or the response type of an API method. For instance: +// +// service Foo { +// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +// } +// +// The JSON representation for `Empty` is empty JSON object `{}`. +message Empty {} diff --git a/examples/telescope/proto/google/protobuf/timestamp.proto b/examples/telescope/proto/google/protobuf/timestamp.proto new file mode 100644 index 000000000..0ebe36ea7 --- /dev/null +++ b/examples/telescope/proto/google/protobuf/timestamp.proto @@ -0,0 +1,138 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "types"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TimestampProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// 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. +// +// +message 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. + int64 seconds = 1; + + // 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. + int32 nanos = 2; +} diff --git a/examples/telescope/proto/ibc/LICENSE b/examples/telescope/proto/ibc/LICENSE new file mode 100644 index 000000000..c04a16b34 --- /dev/null +++ b/examples/telescope/proto/ibc/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 COSMOS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/examples/telescope/proto/ibc/README.md b/examples/telescope/proto/ibc/README.md new file mode 100644 index 000000000..e4ee70c74 --- /dev/null +++ b/examples/telescope/proto/ibc/README.md @@ -0,0 +1 @@ +# ibc \ No newline at end of file diff --git a/examples/telescope/proto/ibc/applications/transfer/v1/genesis.proto b/examples/telescope/proto/ibc/applications/transfer/v1/genesis.proto new file mode 100644 index 000000000..73d9fdddf --- /dev/null +++ b/examples/telescope/proto/ibc/applications/transfer/v1/genesis.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "ibc/applications/transfer/v1/transfer.proto"; +import "gogoproto/gogo.proto"; + +// GenesisState defines the ibc-transfer genesis state +message GenesisState { + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + repeated DenomTrace denom_traces = 2 [ + (gogoproto.castrepeated) = "Traces", + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"denom_traces\"" + ]; + Params params = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/ibc/applications/transfer/v1/query.proto b/examples/telescope/proto/ibc/applications/transfer/v1/query.proto new file mode 100644 index 000000000..f2faa87b8 --- /dev/null +++ b/examples/telescope/proto/ibc/applications/transfer/v1/query.proto @@ -0,0 +1,67 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +import "gogoproto/gogo.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/applications/transfer/v1/transfer.proto"; +import "google/api/annotations.proto"; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +// Query provides defines the gRPC querier service. +service Query { + // DenomTrace queries a denomination trace information. + rpc DenomTrace(QueryDenomTraceRequest) returns (QueryDenomTraceResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces/{hash}"; + } + + // DenomTraces queries all denomination traces. + rpc DenomTraces(QueryDenomTracesRequest) returns (QueryDenomTracesResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces"; + } + + // Params queries all parameters of the ibc-transfer module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/ibc/apps/transfer/v1/params"; + } +} + +// QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC +// method +message QueryDenomTraceRequest { + // hash (in hex format) of the denomination trace information. + string hash = 1; +} + +// QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC +// method. +message QueryDenomTraceResponse { + // denom_trace returns the requested denomination trace information. + DenomTrace denom_trace = 1; +} + +// QueryConnectionsRequest is the request type for the Query/DenomTraces RPC +// method +message QueryDenomTracesRequest { + // pagination defines an optional pagination for the request. + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryConnectionsResponse is the response type for the Query/DenomTraces RPC +// method. +message QueryDenomTracesResponse { + // denom_traces returns all denominations trace information. + repeated DenomTrace denom_traces = 1 [(gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryParamsRequest is the request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is the response type for the Query/Params RPC method. +message QueryParamsResponse { + // params defines the parameters of the module. + Params params = 1; +} diff --git a/examples/telescope/proto/ibc/applications/transfer/v1/transfer.proto b/examples/telescope/proto/ibc/applications/transfer/v1/transfer.proto new file mode 100644 index 000000000..10ce92f90 --- /dev/null +++ b/examples/telescope/proto/ibc/applications/transfer/v1/transfer.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "gogoproto/gogo.proto"; + +// DenomTrace contains the base denomination for ICS20 fungible tokens and the +// source tracing information path. +message DenomTrace { + // path defines the chain of port/channel identifiers used for tracing the + // source of the fungible token. + string path = 1; + // base denomination of the relayed fungible token. + string base_denom = 2; +} + +// 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. +message Params { + // send_enabled enables or disables all cross-chain token transfers from this + // chain. + bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""]; + // receive_enabled enables or disables all cross-chain token transfers to this + // chain. + bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""]; +} diff --git a/examples/telescope/proto/ibc/applications/transfer/v1/tx.proto b/examples/telescope/proto/ibc/applications/transfer/v1/tx.proto new file mode 100644 index 000000000..dfc480d07 --- /dev/null +++ b/examples/telescope/proto/ibc/applications/transfer/v1/tx.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "ibc/core/client/v1/client.proto"; + +// Msg defines the ibc/transfer Msg service. +service Msg { + // Transfer defines a rpc handler method for MsgTransfer. + rpc Transfer(MsgTransfer) returns (MsgTransferResponse); +} + +// 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 +message MsgTransfer { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // the port on which the packet will be sent + string source_port = 1 [(gogoproto.moretags) = "yaml:\"source_port\""]; + // the channel by which the packet will be sent + string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + // the tokens to be transferred + cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false]; + // the sender address + string sender = 4; + // the recipient address on the destination chain + string receiver = 5; + // Timeout height relative to the current block height. + // The timeout is disabled when set to 0. + ibc.core.client.v1.Height timeout_height = 6 + [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + // Timeout timestamp (in nanoseconds) relative to the current block timestamp. + // The timeout is disabled when set to 0. + uint64 timeout_timestamp = 7 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; +} + +// MsgTransferResponse defines the Msg/Transfer response type. +message MsgTransferResponse {} diff --git a/examples/telescope/proto/ibc/applications/transfer/v2/packet.proto b/examples/telescope/proto/ibc/applications/transfer/v2/packet.proto new file mode 100644 index 000000000..593392a90 --- /dev/null +++ b/examples/telescope/proto/ibc/applications/transfer/v2/packet.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package ibc.applications.transfer.v2; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; + +// FungibleTokenPacketData defines a struct for the packet payload +// See FungibleTokenPacketData spec: +// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures +message FungibleTokenPacketData { + // the token denomination to be transferred + string denom = 1; + // the token amount to be transferred + string amount = 2; + // the sender address + string sender = 3; + // the recipient address on the destination chain + string receiver = 4; +} diff --git a/examples/telescope/proto/ibc/core/channel/v1/channel.proto b/examples/telescope/proto/ibc/core/channel/v1/channel.proto new file mode 100644 index 000000000..c7f42dbf9 --- /dev/null +++ b/examples/telescope/proto/ibc/core/channel/v1/channel.proto @@ -0,0 +1,148 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; + +// Channel defines pipeline for exactly-once packet delivery between specific +// modules on separate blockchains, which has at least one end capable of +// sending packets and one end capable of receiving packets. +message Channel { + option (gogoproto.goproto_getters) = false; + + // current state of the channel end + State state = 1; + // whether the channel is ordered or unordered + Order ordering = 2; + // counterparty channel end + Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + // list of connection identifiers, in order, along which packets sent on + // this channel will travel + repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + // opaque channel version, which is agreed upon during the handshake + string version = 5; +} + +// IdentifiedChannel defines a channel with additional port and channel +// identifier fields. +message IdentifiedChannel { + option (gogoproto.goproto_getters) = false; + + // current state of the channel end + State state = 1; + // whether the channel is ordered or unordered + Order ordering = 2; + // counterparty channel end + Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + // list of connection identifiers, in order, along which packets sent on + // this channel will travel + repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + // opaque channel version, which is agreed upon during the handshake + string version = 5; + // port identifier + string port_id = 6; + // channel identifier + string channel_id = 7; +} + +// State defines if a channel is in one of the following states: +// CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. +enum State { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + // A channel has just started the opening handshake. + STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + // A channel has acknowledged the handshake step on the counterparty chain. + STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + // A channel has completed the handshake. Open channels are + // ready to send and receive packets. + STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; + // A channel has been closed and can no longer be used to send or receive + // packets. + STATE_CLOSED = 4 [(gogoproto.enumvalue_customname) = "CLOSED"]; +} + +// Order defines if a channel is ORDERED or UNORDERED +enum Order { + option (gogoproto.goproto_enum_prefix) = false; + + // zero-value for channel ordering + ORDER_NONE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "NONE"]; + // packets can be delivered in any order, which may differ from the order in + // which they were sent. + ORDER_UNORDERED = 1 [(gogoproto.enumvalue_customname) = "UNORDERED"]; + // packets are delivered exactly in the order which they were sent + ORDER_ORDERED = 2 [(gogoproto.enumvalue_customname) = "ORDERED"]; +} + +// Counterparty defines a channel end counterparty +message Counterparty { + option (gogoproto.goproto_getters) = false; + + // port on the counterparty chain which owns the other end of the channel. + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // channel end on the counterparty chain + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; +} + +// Packet defines a type that carries data across different chains through IBC +message Packet { + option (gogoproto.goproto_getters) = false; + + // number corresponds to the order of sends and receives, where a Packet + // with an earlier sequence number must be sent and received before a Packet + // with a later sequence number. + uint64 sequence = 1; + // identifies the port on the sending chain. + string source_port = 2 [(gogoproto.moretags) = "yaml:\"source_port\""]; + // identifies the channel end on the sending chain. + string source_channel = 3 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + // identifies the port on the receiving chain. + string destination_port = 4 [(gogoproto.moretags) = "yaml:\"destination_port\""]; + // identifies the channel end on the receiving chain. + string destination_channel = 5 [(gogoproto.moretags) = "yaml:\"destination_channel\""]; + // actual opaque bytes transferred directly to the application module + bytes data = 6; + // block height after which the packet times out + ibc.core.client.v1.Height timeout_height = 7 + [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + // block timestamp (in nanoseconds) after which the packet times out + uint64 timeout_timestamp = 8 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; +} + +// PacketState defines the generic type necessary to retrieve and store +// packet commitments, acknowledgements, and receipts. +// Caller is responsible for knowing the context necessary to interpret this +// state as a commitment, acknowledgement, or a receipt. +message PacketState { + option (gogoproto.goproto_getters) = false; + + // channel port identifier. + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // channel unique identifier. + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + // packet sequence. + uint64 sequence = 3; + // embedded data that represents packet state. + bytes data = 4; +} + +// Acknowledgement is the recommended acknowledgement format to be used by +// app-specific protocols. +// NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental +// conflicts with other protobuf message formats used for acknowledgements. +// The first byte of any message with this format will be the non-ASCII values +// `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: +// https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope +message Acknowledgement { + // response contains either a result or an error and must be non-empty + oneof response { + bytes result = 21; + string error = 22; + } +} diff --git a/examples/telescope/proto/ibc/core/channel/v1/genesis.proto b/examples/telescope/proto/ibc/core/channel/v1/genesis.proto new file mode 100644 index 000000000..38b57ed6c --- /dev/null +++ b/examples/telescope/proto/ibc/core/channel/v1/genesis.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/channel/v1/channel.proto"; + +// GenesisState defines the ibc channel submodule's genesis state. +message GenesisState { + repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false]; + repeated PacketState acknowledgements = 2 [(gogoproto.nullable) = false]; + repeated PacketState commitments = 3 [(gogoproto.nullable) = false]; + repeated PacketState receipts = 4 [(gogoproto.nullable) = false]; + repeated PacketSequence send_sequences = 5 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""]; + repeated PacketSequence recv_sequences = 6 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""]; + repeated PacketSequence ack_sequences = 7 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""]; + // the sequence for the next generated channel identifier + uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""]; +} + +// PacketSequence defines the genesis type necessary to retrieve and store +// next send and receive sequences. +message PacketSequence { + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + uint64 sequence = 3; +} diff --git a/examples/telescope/proto/ibc/core/channel/v1/query.proto b/examples/telescope/proto/ibc/core/channel/v1/query.proto new file mode 100644 index 000000000..212cb645a --- /dev/null +++ b/examples/telescope/proto/ibc/core/channel/v1/query.proto @@ -0,0 +1,376 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "ibc/core/client/v1/client.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/any.proto"; +import "gogoproto/gogo.proto"; + +// Query provides defines the gRPC querier service +service Query { + // Channel queries an IBC Channel. + rpc Channel(QueryChannelRequest) returns (QueryChannelResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; + } + + // Channels queries all the IBC channels of a chain. + rpc Channels(QueryChannelsRequest) returns (QueryChannelsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels"; + } + + // ConnectionChannels queries all the channels associated with a connection + // end. + rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/connections/{connection}/channels"; + } + + // ChannelClientState queries for the client state for the channel associated + // with the provided channel identifiers. + rpc ChannelClientState(QueryChannelClientStateRequest) returns (QueryChannelClientStateResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/client_state"; + } + + // ChannelConsensusState queries for the consensus state for the channel + // associated with the provided channel identifiers. + rpc ChannelConsensusState(QueryChannelConsensusStateRequest) returns (QueryChannelConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/consensus_state/revision/" + "{revision_number}/height/{revision_height}"; + } + + // PacketCommitment queries a stored packet commitment hash. + rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/{sequence}"; + } + + // PacketCommitments returns all the packet commitments hashes associated + // with a channel. + rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_commitments"; + } + + // PacketReceipt queries if a given packet sequence has been received on the + // queried chain + rpc PacketReceipt(QueryPacketReceiptRequest) returns (QueryPacketReceiptResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_receipts/{sequence}"; + } + + // PacketAcknowledgement queries a stored packet acknowledgement hash. + rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) returns (QueryPacketAcknowledgementResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_acks/{sequence}"; + } + + // PacketAcknowledgements returns all the packet acknowledgements associated + // with a channel. + rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) returns (QueryPacketAcknowledgementsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_acknowledgements"; + } + + // UnreceivedPackets returns all the unreceived IBC packets associated with a + // channel and sequences. + rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) returns (QueryUnreceivedPacketsResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/" + "{packet_commitment_sequences}/unreceived_packets"; + } + + // UnreceivedAcks returns all the unreceived IBC acknowledgements associated + // with a channel and sequences. + rpc UnreceivedAcks(QueryUnreceivedAcksRequest) returns (QueryUnreceivedAcksResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/packet_commitments/" + "{packet_ack_sequences}/unreceived_acks"; + } + + // NextSequenceReceive returns the next receive sequence for a given channel. + rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) { + option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" + "ports/{port_id}/next_sequence"; + } +} + +// QueryChannelRequest is the request type for the Query/Channel RPC method +message QueryChannelRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QueryChannelResponse is the response type for the Query/Channel RPC method. +// Besides the Channel end, it includes a proof and the height from which the +// proof was retrieved. +message QueryChannelResponse { + // channel associated with the request identifiers + ibc.core.channel.v1.Channel channel = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelsRequest is the request type for the Query/Channels RPC method +message QueryChannelsRequest { + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryChannelsResponse is the response type for the Query/Channels RPC method. +message QueryChannelsResponse { + // list of stored channels of the chain. + repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionChannelsRequest is the request type for the +// Query/QueryConnectionChannels RPC method +message QueryConnectionChannelsRequest { + // connection unique identifier + string connection = 1; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryConnectionChannelsResponse is the Response type for the +// Query/QueryConnectionChannels RPC method +message QueryConnectionChannelsResponse { + // list of channels associated with a connection. + repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelClientStateRequest is the request type for the Query/ClientState +// RPC method +message QueryChannelClientStateRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QueryChannelClientStateResponse is the Response type for the +// Query/QueryChannelClientState RPC method +message QueryChannelClientStateResponse { + // client state associated with the channel + ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryChannelConsensusStateRequest is the request type for the +// Query/ConsensusState RPC method +message QueryChannelConsensusStateRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // revision number of the consensus state + uint64 revision_number = 3; + // revision height of the consensus state + uint64 revision_height = 4; +} + +// QueryChannelClientStateResponse is the Response type for the +// Query/QueryChannelClientState RPC method +message QueryChannelConsensusStateResponse { + // consensus state associated with the channel + google.protobuf.Any consensus_state = 1; + // client ID associated with the consensus state + string client_id = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} + +// QueryPacketCommitmentRequest is the request type for the +// Query/PacketCommitment RPC method +message QueryPacketCommitmentRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketCommitmentResponse defines the client query response for a packet +// which also includes a proof and the height from which the proof was +// retrieved +message QueryPacketCommitmentResponse { + // packet associated with the request fields + bytes commitment = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketCommitmentsRequest is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketCommitmentsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 3; +} + +// QueryPacketCommitmentsResponse is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketCommitmentsResponse { + repeated ibc.core.channel.v1.PacketState commitments = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketReceiptRequest is the request type for the +// Query/PacketReceipt RPC method +message QueryPacketReceiptRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketReceiptResponse defines the client query response for a packet +// receipt which also includes a proof, and the height from which the proof was +// retrieved +message QueryPacketReceiptResponse { + // success flag for if receipt exists + bool received = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} + +// QueryPacketAcknowledgementRequest is the request type for the +// Query/PacketAcknowledgement RPC method +message QueryPacketAcknowledgementRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // packet sequence + uint64 sequence = 3; +} + +// QueryPacketAcknowledgementResponse defines the client query response for a +// packet which also includes a proof and the height from which the +// proof was retrieved +message QueryPacketAcknowledgementResponse { + // packet associated with the request fields + bytes acknowledgement = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryPacketAcknowledgementsRequest is the request type for the +// Query/QueryPacketCommitments RPC method +message QueryPacketAcknowledgementsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 3; + // list of packet sequences + repeated uint64 packet_commitment_sequences = 4; +} + +// QueryPacketAcknowledgemetsResponse is the request type for the +// Query/QueryPacketAcknowledgements RPC method +message QueryPacketAcknowledgementsResponse { + repeated ibc.core.channel.v1.PacketState acknowledgements = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryUnreceivedPacketsRequest is the request type for the +// Query/UnreceivedPackets RPC method +message QueryUnreceivedPacketsRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // list of packet sequences + repeated uint64 packet_commitment_sequences = 3; +} + +// QueryUnreceivedPacketsResponse is the response type for the +// Query/UnreceivedPacketCommitments RPC method +message QueryUnreceivedPacketsResponse { + // list of unreceived packet sequences + repeated uint64 sequences = 1; + // query block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} + +// QueryUnreceivedAcks is the request type for the +// Query/UnreceivedAcks RPC method +message QueryUnreceivedAcksRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; + // list of acknowledgement sequences + repeated uint64 packet_ack_sequences = 3; +} + +// QueryUnreceivedAcksResponse is the response type for the +// Query/UnreceivedAcks RPC method +message QueryUnreceivedAcksResponse { + // list of unreceived acknowledgement sequences + repeated uint64 sequences = 1; + // query block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} + +// QueryNextSequenceReceiveRequest is the request type for the +// Query/QueryNextSequenceReceiveRequest RPC method +message QueryNextSequenceReceiveRequest { + // port unique identifier + string port_id = 1; + // channel unique identifier + string channel_id = 2; +} + +// QuerySequenceResponse is the request type for the +// Query/QueryNextSequenceReceiveResponse RPC method +message QueryNextSequenceReceiveResponse { + // next sequence receive number + uint64 next_sequence_receive = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/ibc/core/channel/v1/tx.proto b/examples/telescope/proto/ibc/core/channel/v1/tx.proto new file mode 100644 index 000000000..dab45080f --- /dev/null +++ b/examples/telescope/proto/ibc/core/channel/v1/tx.proto @@ -0,0 +1,211 @@ +syntax = "proto3"; + +package ibc.core.channel.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/channel/v1/channel.proto"; + +// Msg defines the ibc/channel Msg service. +service Msg { + // ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. + rpc ChannelOpenInit(MsgChannelOpenInit) returns (MsgChannelOpenInitResponse); + + // ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. + rpc ChannelOpenTry(MsgChannelOpenTry) returns (MsgChannelOpenTryResponse); + + // ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. + rpc ChannelOpenAck(MsgChannelOpenAck) returns (MsgChannelOpenAckResponse); + + // ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. + rpc ChannelOpenConfirm(MsgChannelOpenConfirm) returns (MsgChannelOpenConfirmResponse); + + // ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. + rpc ChannelCloseInit(MsgChannelCloseInit) returns (MsgChannelCloseInitResponse); + + // ChannelCloseConfirm defines a rpc handler method for + // MsgChannelCloseConfirm. + rpc ChannelCloseConfirm(MsgChannelCloseConfirm) returns (MsgChannelCloseConfirmResponse); + + // RecvPacket defines a rpc handler method for MsgRecvPacket. + rpc RecvPacket(MsgRecvPacket) returns (MsgRecvPacketResponse); + + // Timeout defines a rpc handler method for MsgTimeout. + rpc Timeout(MsgTimeout) returns (MsgTimeoutResponse); + + // TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. + rpc TimeoutOnClose(MsgTimeoutOnClose) returns (MsgTimeoutOnCloseResponse); + + // Acknowledgement defines a rpc handler method for MsgAcknowledgement. + rpc Acknowledgement(MsgAcknowledgement) returns (MsgAcknowledgementResponse); +} + +// MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It +// is called by a relayer on Chain A. +message MsgChannelOpenInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + Channel channel = 2 [(gogoproto.nullable) = false]; + string signer = 3; +} + +// MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. +message MsgChannelOpenInitResponse {} + +// MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel +// on Chain B. +message MsgChannelOpenTry { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + // in the case of crossing hello's, when both chains call OpenInit, we need + // the channel identifier of the previous channel in state INIT + string previous_channel_id = 2 [(gogoproto.moretags) = "yaml:\"previous_channel_id\""]; + Channel channel = 3 [(gogoproto.nullable) = false]; + string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; + bytes proof_init = 5 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + ibc.core.client.v1.Height proof_height = 6 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 7; +} + +// MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. +message MsgChannelOpenTryResponse {} + +// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge +// the change of channel state to TRYOPEN on Chain B. +message MsgChannelOpenAck { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string counterparty_channel_id = 3 [(gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; + string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; + bytes proof_try = 5 [(gogoproto.moretags) = "yaml:\"proof_try\""]; + ibc.core.client.v1.Height proof_height = 6 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 7; +} + +// MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. +message MsgChannelOpenAckResponse {} + +// MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to +// acknowledge the change of channel state to OPEN on Chain A. +message MsgChannelOpenConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + bytes proof_ack = 3 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response +// type. +message MsgChannelOpenConfirmResponse {} + +// MsgChannelCloseInit defines a msg sent by a Relayer to Chain A +// to close a channel with Chain B. +message MsgChannelCloseInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string signer = 3; +} + +// MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. +message MsgChannelCloseInitResponse {} + +// MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B +// to acknowledge the change of channel state to CLOSED on Chain A. +message MsgChannelCloseConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + bytes proof_init = 3 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response +// type. +message MsgChannelCloseConfirmResponse {} + +// MsgRecvPacket receives incoming IBC packet +message MsgRecvPacket { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_commitment = 2 [(gogoproto.moretags) = "yaml:\"proof_commitment\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 4; +} + +// MsgRecvPacketResponse defines the Msg/RecvPacket response type. +message MsgRecvPacketResponse {} + +// MsgTimeout receives timed-out packet +message MsgTimeout { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + uint64 next_sequence_recv = 4 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; + string signer = 5; +} + +// MsgTimeoutResponse defines the Msg/Timeout response type. +message MsgTimeoutResponse {} + +// MsgTimeoutOnClose timed-out packet upon counterparty channel closure. +message MsgTimeoutOnClose { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; + bytes proof_close = 3 [(gogoproto.moretags) = "yaml:\"proof_close\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + uint64 next_sequence_recv = 5 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; + string signer = 6; +} + +// MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. +message MsgTimeoutOnCloseResponse {} + +// MsgAcknowledgement receives incoming IBC acknowledgement +message MsgAcknowledgement { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + Packet packet = 1 [(gogoproto.nullable) = false]; + bytes acknowledgement = 2; + bytes proof_acked = 3 [(gogoproto.moretags) = "yaml:\"proof_acked\""]; + ibc.core.client.v1.Height proof_height = 4 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 5; +} + +// MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. +message MsgAcknowledgementResponse {} diff --git a/examples/telescope/proto/ibc/core/client/v1/client.proto b/examples/telescope/proto/ibc/core/client/v1/client.proto new file mode 100644 index 000000000..f0a1538e9 --- /dev/null +++ b/examples/telescope/proto/ibc/core/client/v1/client.proto @@ -0,0 +1,104 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos/upgrade/v1beta1/upgrade.proto"; +import "cosmos_proto/cosmos.proto"; + +// IdentifiedClientState defines a client state with an additional client +// identifier field. +message IdentifiedClientState { + // client identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // client state + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateWithHeight defines a consensus state with an additional height +// field. +message ConsensusStateWithHeight { + // consensus state height + Height height = 1 [(gogoproto.nullable) = false]; + // consensus state + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml\"consensus_state\""]; +} + +// ClientConsensusStates defines all the stored consensus states for a given +// client. +message ClientConsensusStates { + // client identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // consensus states and their heights associated with the client + repeated ConsensusStateWithHeight consensus_states = 2 + [(gogoproto.moretags) = "yaml:\"consensus_states\"", (gogoproto.nullable) = false]; +} + +// 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). +message ClientUpdateProposal { + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + // the title of the update proposal + string title = 1; + // the description of the proposal + string description = 2; + // the client identifier for the client to be updated if the proposal passes + string subject_client_id = 3 [(gogoproto.moretags) = "yaml:\"subject_client_id\""]; + // the substitute client identifier for the client standing in for the subject + // client + string substitute_client_id = 4 [(gogoproto.moretags) = "yaml:\"substitute_client_id\""]; +} + +// UpgradeProposal is a gov Content type for initiating an IBC breaking +// upgrade. +message UpgradeProposal { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + option (gogoproto.equal) = true; + option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; + + string title = 1; + string description = 2; + cosmos.upgrade.v1beta1.Plan plan = 3 [(gogoproto.nullable) = false]; + + // 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 + google.protobuf.Any upgraded_client_state = 4 [(gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; +} + +// 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 +message Height { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // the revision that the client is currently on + uint64 revision_number = 1 [(gogoproto.moretags) = "yaml:\"revision_number\""]; + // the height within the given revision + uint64 revision_height = 2 [(gogoproto.moretags) = "yaml:\"revision_height\""]; +} + +// Params defines the set of IBC light client parameters. +message Params { + // allowed_clients defines the list of allowed client state types. + repeated string allowed_clients = 1 [(gogoproto.moretags) = "yaml:\"allowed_clients\""]; +} diff --git a/examples/telescope/proto/ibc/core/client/v1/genesis.proto b/examples/telescope/proto/ibc/core/client/v1/genesis.proto new file mode 100644 index 000000000..6668f2cad --- /dev/null +++ b/examples/telescope/proto/ibc/core/client/v1/genesis.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "ibc/core/client/v1/client.proto"; +import "gogoproto/gogo.proto"; + +// GenesisState defines the ibc client submodule's genesis state. +message GenesisState { + // client states with their corresponding identifiers + repeated IdentifiedClientState clients = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + // consensus states from each client + repeated ClientConsensusStates clients_consensus = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "ClientsConsensusStates", + (gogoproto.moretags) = "yaml:\"clients_consensus\"" + ]; + // metadata from each client + repeated IdentifiedGenesisMetadata clients_metadata = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"clients_metadata\""]; + Params params = 4 [(gogoproto.nullable) = false]; + // create localhost on initialization + bool create_localhost = 5 [(gogoproto.moretags) = "yaml:\"create_localhost\""]; + // the sequence for the next generated client identifier + uint64 next_client_sequence = 6 [(gogoproto.moretags) = "yaml:\"next_client_sequence\""]; +} + +// GenesisMetadata defines the genesis type for metadata that clients may return +// with ExportMetadata +message GenesisMetadata { + option (gogoproto.goproto_getters) = false; + + // store key of metadata without clientID-prefix + bytes key = 1; + // metadata value + bytes value = 2; +} + +// IdentifiedGenesisMetadata has the client metadata with the corresponding +// client id. +message IdentifiedGenesisMetadata { + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + repeated GenesisMetadata client_metadata = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; +} diff --git a/examples/telescope/proto/ibc/core/client/v1/query.proto b/examples/telescope/proto/ibc/core/client/v1/query.proto new file mode 100644 index 000000000..b6f8eb474 --- /dev/null +++ b/examples/telescope/proto/ibc/core/client/v1/query.proto @@ -0,0 +1,184 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/client/v1/client.proto"; +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; +import "gogoproto/gogo.proto"; + +// Query provides defines the gRPC querier service +service Query { + // ClientState queries an IBC light client. + rpc ClientState(QueryClientStateRequest) returns (QueryClientStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_states/{client_id}"; + } + + // ClientStates queries all the IBC light clients of a chain. + rpc ClientStates(QueryClientStatesRequest) returns (QueryClientStatesResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_states"; + } + + // ConsensusState queries a consensus state associated with a client state at + // a given height. + rpc ConsensusState(QueryConsensusStateRequest) returns (QueryConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/consensus_states/" + "{client_id}/revision/{revision_number}/" + "height/{revision_height}"; + } + + // ConsensusStates queries all the consensus state associated with a given + // client. + rpc ConsensusStates(QueryConsensusStatesRequest) returns (QueryConsensusStatesResponse) { + option (google.api.http).get = "/ibc/core/client/v1/consensus_states/{client_id}"; + } + + // Status queries the status of an IBC client. + rpc ClientStatus(QueryClientStatusRequest) returns (QueryClientStatusResponse) { + option (google.api.http).get = "/ibc/core/client/v1/client_status/{client_id}"; + } + + // ClientParams queries all parameters of the ibc client. + rpc ClientParams(QueryClientParamsRequest) returns (QueryClientParamsResponse) { + option (google.api.http).get = "/ibc/client/v1/params"; + } + + // UpgradedClientState queries an Upgraded IBC light client. + rpc UpgradedClientState(QueryUpgradedClientStateRequest) returns (QueryUpgradedClientStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/upgraded_client_states"; + } + + // UpgradedConsensusState queries an Upgraded IBC consensus state. + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/client/v1/upgraded_consensus_states"; + } +} + +// QueryClientStateRequest is the request type for the Query/ClientState RPC +// method +message QueryClientStateRequest { + // client state unique identifier + string client_id = 1; +} + +// 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. +message QueryClientStateResponse { + // client state associated with the request identifier + google.protobuf.Any client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryClientStatesRequest is the request type for the Query/ClientStates RPC +// method +message QueryClientStatesRequest { + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryClientStatesResponse is the response type for the Query/ClientStates RPC +// method. +message QueryClientStatesResponse { + // list of stored ClientStates of the chain. + repeated IdentifiedClientState client_states = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// 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. +message QueryConsensusStateRequest { + // client identifier + string client_id = 1; + // consensus state revision number + uint64 revision_number = 2; + // consensus state revision height + uint64 revision_height = 3; + // latest_height overrrides the height field and queries the latest stored + // ConsensusState + bool latest_height = 4; +} + +// QueryConsensusStateResponse is the response type for the Query/ConsensusState +// RPC method +message QueryConsensusStateResponse { + // consensus state associated with the client identifier at the given height + google.protobuf.Any consensus_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConsensusStatesRequest is the request type for the Query/ConsensusStates +// RPC method. +message QueryConsensusStatesRequest { + // client identifier + string client_id = 1; + // pagination request + cosmos.base.query.v1beta1.PageRequest pagination = 2; +} + +// QueryConsensusStatesResponse is the response type for the +// Query/ConsensusStates RPC method +message QueryConsensusStatesResponse { + // consensus states associated with the identifier + repeated ConsensusStateWithHeight consensus_states = 1 [(gogoproto.nullable) = false]; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +// QueryClientStatusRequest is the request type for the Query/ClientStatus RPC +// method +message QueryClientStatusRequest { + // client unique identifier + string client_id = 1; +} + +// QueryClientStatusResponse is the response type for the Query/ClientStatus RPC +// method. It returns the current status of the IBC client. +message QueryClientStatusResponse { + string status = 1; +} + +// QueryClientParamsRequest is the request type for the Query/ClientParams RPC +// method. +message QueryClientParamsRequest {} + +// QueryClientParamsResponse is the response type for the Query/ClientParams RPC +// method. +message QueryClientParamsResponse { + // params defines the parameters of the module. + Params params = 1; +} + +// QueryUpgradedClientStateRequest is the request type for the +// Query/UpgradedClientState RPC method +message QueryUpgradedClientStateRequest {} + +// QueryUpgradedClientStateResponse is the response type for the +// Query/UpgradedClientState RPC method. +message QueryUpgradedClientStateResponse { + // client state associated with the request identifier + google.protobuf.Any upgraded_client_state = 1; +} + +// QueryUpgradedConsensusStateRequest is the request type for the +// Query/UpgradedConsensusState RPC method +message QueryUpgradedConsensusStateRequest {} + +// QueryUpgradedConsensusStateResponse is the response type for the +// Query/UpgradedConsensusState RPC method. +message QueryUpgradedConsensusStateResponse { + // Consensus state associated with the request identifier + google.protobuf.Any upgraded_consensus_state = 1; +} diff --git a/examples/telescope/proto/ibc/core/client/v1/tx.proto b/examples/telescope/proto/ibc/core/client/v1/tx.proto new file mode 100644 index 000000000..82df96dec --- /dev/null +++ b/examples/telescope/proto/ibc/core/client/v1/tx.proto @@ -0,0 +1,99 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// Msg defines the ibc/client Msg service. +service Msg { + // CreateClient defines a rpc handler method for MsgCreateClient. + rpc CreateClient(MsgCreateClient) returns (MsgCreateClientResponse); + + // UpdateClient defines a rpc handler method for MsgUpdateClient. + rpc UpdateClient(MsgUpdateClient) returns (MsgUpdateClientResponse); + + // UpgradeClient defines a rpc handler method for MsgUpgradeClient. + rpc UpgradeClient(MsgUpgradeClient) returns (MsgUpgradeClientResponse); + + // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. + rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) returns (MsgSubmitMisbehaviourResponse); +} + +// MsgCreateClient defines a message to create an IBC client +message MsgCreateClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // light client state + google.protobuf.Any client_state = 1 [(gogoproto.moretags) = "yaml:\"client_state\""]; + // consensus state associated with the client that corresponds to a given + // height. + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // signer address + string signer = 3; +} + +// MsgCreateClientResponse defines the Msg/CreateClient response type. +message MsgCreateClientResponse {} + +// MsgUpdateClient defines an sdk.Msg to update a IBC client state using +// the given header. +message MsgUpdateClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // header to update the light client + google.protobuf.Any header = 2; + // signer address + string signer = 3; +} + +// MsgUpdateClientResponse defines the Msg/UpdateClient response type. +message MsgUpdateClientResponse {} + +// MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client +// state +message MsgUpgradeClient { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // upgraded client state + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + // upgraded consensus state, only contains enough information to serve as a + // basis of trust in update logic + google.protobuf.Any consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // proof that old chain committed to new client + bytes proof_upgrade_client = 4 [(gogoproto.moretags) = "yaml:\"proof_upgrade_client\""]; + // proof that old chain committed to new consensus state + bytes proof_upgrade_consensus_state = 5 [(gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\""]; + // signer address + string signer = 6; +} + +// MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. +message MsgUpgradeClientResponse {} + +// MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for +// light client misbehaviour. +message MsgSubmitMisbehaviour { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + // client unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // misbehaviour used for freezing the light client + google.protobuf.Any misbehaviour = 2; + // signer address + string signer = 3; +} + +// MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response +// type. +message MsgSubmitMisbehaviourResponse {} diff --git a/examples/telescope/proto/ibc/core/commitment/v1/commitment.proto b/examples/telescope/proto/ibc/core/commitment/v1/commitment.proto new file mode 100644 index 000000000..b460b9a1e --- /dev/null +++ b/examples/telescope/proto/ibc/core/commitment/v1/commitment.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; + +package ibc.core.commitment.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types"; + +import "gogoproto/gogo.proto"; +import "confio/proofs.proto"; + +// MerkleRoot defines a merkle root hash. +// In the Cosmos SDK, the AppHash of a block header becomes the root. +message MerkleRoot { + option (gogoproto.goproto_getters) = false; + + bytes hash = 1; +} + +// MerklePrefix is merkle path prefixed to the key. +// The constructed key from the Path and the key will be append(Path.KeyPath, +// append(Path.KeyPrefix, key...)) +message MerklePrefix { + bytes key_prefix = 1 [(gogoproto.moretags) = "yaml:\"key_prefix\""]; +} + +// MerklePath is the path used to verify commitment proofs, which can be an +// arbitrary structured object (defined by a commitment type). +// MerklePath is represented from root-to-leaf +message MerklePath { + option (gogoproto.goproto_stringer) = false; + + repeated string key_path = 1 [(gogoproto.moretags) = "yaml:\"key_path\""]; +} + +// MerkleProof is a wrapper type over a chain of CommitmentProofs. +// It demonstrates membership or non-membership for an element or set of +// elements, verifiable in conjunction with a known commitment root. Proofs +// should be succinct. +// MerkleProofs are ordered from leaf-to-root +message MerkleProof { + repeated ics23.CommitmentProof proofs = 1; +} diff --git a/examples/telescope/proto/ibc/core/connection/v1/connection.proto b/examples/telescope/proto/ibc/core/connection/v1/connection.proto new file mode 100644 index 000000000..74c39e26e --- /dev/null +++ b/examples/telescope/proto/ibc/core/connection/v1/connection.proto @@ -0,0 +1,114 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/commitment/v1/commitment.proto"; + +// ICS03 - Connection Data Structures as defined in +// https://github.com/cosmos/ibc/blob/master/spec/core/ics-003-connection-semantics#data-structures + +// ConnectionEnd defines a stateful object on a chain connected to another +// separate one. +// NOTE: there must only be 2 defined ConnectionEnds to establish +// a connection between two chains. +message ConnectionEnd { + option (gogoproto.goproto_getters) = false; + // client associated with this connection. + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // IBC version which can be utilised to determine encodings or protocols for + // channels or packets utilising this connection. + repeated Version versions = 2; + // current state of the connection end. + State state = 3; + // counterparty chain associated with this connection. + Counterparty counterparty = 4 [(gogoproto.nullable) = false]; + // delay period that must pass before a consensus state can be used for + // packet-verification NOTE: delay period logic is only implemented by some + // clients. + uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; +} + +// IdentifiedConnection defines a connection with additional connection +// identifier field. +message IdentifiedConnection { + option (gogoproto.goproto_getters) = false; + // connection identifier. + string id = 1 [(gogoproto.moretags) = "yaml:\"id\""]; + // client associated with this connection. + string client_id = 2 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // IBC version which can be utilised to determine encodings or protocols for + // channels or packets utilising this connection + repeated Version versions = 3; + // current state of the connection end. + State state = 4; + // counterparty chain associated with this connection. + Counterparty counterparty = 5 [(gogoproto.nullable) = false]; + // delay period associated with this connection. + uint64 delay_period = 6 [(gogoproto.moretags) = "yaml:\"delay_period\""]; +} + +// State defines if a connection is in one of the following states: +// INIT, TRYOPEN, OPEN or UNINITIALIZED. +enum State { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + // A connection end has just started the opening handshake. + STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + // A connection end has acknowledged the handshake step on the counterparty + // chain. + STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + // A connection end has completed the handshake. + STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; +} + +// Counterparty defines the counterparty chain associated with a connection end. +message Counterparty { + option (gogoproto.goproto_getters) = false; + + // identifies the client on the counterparty chain associated with a given + // connection. + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // identifies the connection end on the counterparty chain associated with a + // given connection. + string connection_id = 2 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + // commitment merkle prefix of the counterparty chain. + ibc.core.commitment.v1.MerklePrefix prefix = 3 [(gogoproto.nullable) = false]; +} + +// ClientPaths define all the connection paths for a client state. +message ClientPaths { + // list of connection paths + repeated string paths = 1; +} + +// ConnectionPaths define all the connection paths for a given client state. +message ConnectionPaths { + // client state unique identifier + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // list of connection paths + repeated string paths = 2; +} + +// Version defines the versioning scheme used to negotiate the IBC verison in +// the connection handshake. +message Version { + option (gogoproto.goproto_getters) = false; + + // unique version identifier + string identifier = 1; + // list of features compatible with the specified identifier + repeated string features = 2; +} + +// Params defines the set of Connection parameters. +message Params { + // maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + // largest amount of time that the chain might reasonably take to produce the next block under normal operating + // conditions. A safe choice is 3-5x the expected time per block. + uint64 max_expected_time_per_block = 1 [(gogoproto.moretags) = "yaml:\"max_expected_time_per_block\""]; +} diff --git a/examples/telescope/proto/ibc/core/connection/v1/genesis.proto b/examples/telescope/proto/ibc/core/connection/v1/genesis.proto new file mode 100644 index 000000000..ec5be6428 --- /dev/null +++ b/examples/telescope/proto/ibc/core/connection/v1/genesis.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/connection/v1/connection.proto"; + +// GenesisState defines the ibc connection submodule's genesis state. +message GenesisState { + repeated IdentifiedConnection connections = 1 [(gogoproto.nullable) = false]; + repeated ConnectionPaths client_connection_paths = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_connection_paths\""]; + // the sequence for the next generated connection identifier + uint64 next_connection_sequence = 3 [(gogoproto.moretags) = "yaml:\"next_connection_sequence\""]; + Params params = 4 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/ibc/core/connection/v1/query.proto b/examples/telescope/proto/ibc/core/connection/v1/query.proto new file mode 100644 index 000000000..d668c3d28 --- /dev/null +++ b/examples/telescope/proto/ibc/core/connection/v1/query.proto @@ -0,0 +1,138 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/connection/v1/connection.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/any.proto"; + +// Query provides defines the gRPC querier service +service Query { + // Connection queries an IBC connection end. + rpc Connection(QueryConnectionRequest) returns (QueryConnectionResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}"; + } + + // Connections queries all the IBC connections of a chain. + rpc Connections(QueryConnectionsRequest) returns (QueryConnectionsResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections"; + } + + // ClientConnections queries the connection paths associated with a client + // state. + rpc ClientConnections(QueryClientConnectionsRequest) returns (QueryClientConnectionsResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/client_connections/{client_id}"; + } + + // ConnectionClientState queries the client state associated with the + // connection. + rpc ConnectionClientState(QueryConnectionClientStateRequest) returns (QueryConnectionClientStateResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/client_state"; + } + + // ConnectionConsensusState queries the consensus state associated with the + // connection. + rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) returns (QueryConnectionConsensusStateResponse) { + option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" + "revision/{revision_number}/height/{revision_height}"; + } +} + +// QueryConnectionRequest is the request type for the Query/Connection RPC +// method +message QueryConnectionRequest { + // connection unique identifier + string connection_id = 1; +} + +// QueryConnectionResponse is the response type for the Query/Connection RPC +// method. Besides the connection end, it includes a proof and the height from +// which the proof was retrieved. +message QueryConnectionResponse { + // connection associated with the request identifier + ibc.core.connection.v1.ConnectionEnd connection = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionsRequest is the request type for the Query/Connections RPC +// method +message QueryConnectionsRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QueryConnectionsResponse is the response type for the Query/Connections RPC +// method. +message QueryConnectionsResponse { + // list of stored connections of the chain. + repeated ibc.core.connection.v1.IdentifiedConnection connections = 1; + // pagination response + cosmos.base.query.v1beta1.PageResponse pagination = 2; + // query block height + ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; +} + +// QueryClientConnectionsRequest is the request type for the +// Query/ClientConnections RPC method +message QueryClientConnectionsRequest { + // client identifier associated with a connection + string client_id = 1; +} + +// QueryClientConnectionsResponse is the response type for the +// Query/ClientConnections RPC method +message QueryClientConnectionsResponse { + // slice of all the connection paths associated with a client. + repeated string connection_paths = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was generated + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionClientStateRequest is the request type for the +// Query/ConnectionClientState RPC method +message QueryConnectionClientStateRequest { + // connection identifier + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; +} + +// QueryConnectionClientStateResponse is the response type for the +// Query/ConnectionClientState RPC method +message QueryConnectionClientStateResponse { + // client state associated with the channel + ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; + // merkle proof of existence + bytes proof = 2; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; +} + +// QueryConnectionConsensusStateRequest is the request type for the +// Query/ConnectionConsensusState RPC method +message QueryConnectionConsensusStateRequest { + // connection identifier + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + uint64 revision_number = 2; + uint64 revision_height = 3; +} + +// QueryConnectionConsensusStateResponse is the response type for the +// Query/ConnectionConsensusState RPC method +message QueryConnectionConsensusStateResponse { + // consensus state associated with the channel + google.protobuf.Any consensus_state = 1; + // client ID associated with the consensus state + string client_id = 2; + // merkle proof of existence + bytes proof = 3; + // height at which the proof was retrieved + ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/ibc/core/connection/v1/tx.proto b/examples/telescope/proto/ibc/core/connection/v1/tx.proto new file mode 100644 index 000000000..9d4e577e2 --- /dev/null +++ b/examples/telescope/proto/ibc/core/connection/v1/tx.proto @@ -0,0 +1,119 @@ +syntax = "proto3"; + +package ibc.core.connection.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/connection/v1/connection.proto"; + +// Msg defines the ibc/connection Msg service. +service Msg { + // ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. + rpc ConnectionOpenInit(MsgConnectionOpenInit) returns (MsgConnectionOpenInitResponse); + + // ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. + rpc ConnectionOpenTry(MsgConnectionOpenTry) returns (MsgConnectionOpenTryResponse); + + // ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. + rpc ConnectionOpenAck(MsgConnectionOpenAck) returns (MsgConnectionOpenAckResponse); + + // ConnectionOpenConfirm defines a rpc handler method for + // MsgConnectionOpenConfirm. + rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) returns (MsgConnectionOpenConfirmResponse); +} + +// MsgConnectionOpenInit defines the msg sent by an account on Chain A to +// initialize a connection with Chain B. +message MsgConnectionOpenInit { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + Counterparty counterparty = 2 [(gogoproto.nullable) = false]; + Version version = 3; + uint64 delay_period = 4 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + string signer = 5; +} + +// MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response +// type. +message MsgConnectionOpenInitResponse {} + +// MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a +// connection on Chain B. +message MsgConnectionOpenTry { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + // in the case of crossing hello's, when both chains call OpenInit, we need + // the connection identifier of the previous connection in state INIT + string previous_connection_id = 2 [(gogoproto.moretags) = "yaml:\"previous_connection_id\""]; + google.protobuf.Any client_state = 3 [(gogoproto.moretags) = "yaml:\"client_state\""]; + Counterparty counterparty = 4 [(gogoproto.nullable) = false]; + uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + repeated Version counterparty_versions = 6 [(gogoproto.moretags) = "yaml:\"counterparty_versions\""]; + ibc.core.client.v1.Height proof_height = 7 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + // proof of the initialization the connection on Chain A: `UNITIALIZED -> + // INIT` + bytes proof_init = 8 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + // proof of client state included in message + bytes proof_client = 9 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + // proof of client consensus state + bytes proof_consensus = 10 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; + ibc.core.client.v1.Height consensus_height = 11 + [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + string signer = 12; +} + +// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. +message MsgConnectionOpenTryResponse {} + +// MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to +// acknowledge the change of connection state to TRYOPEN on Chain B. +message MsgConnectionOpenAck { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string counterparty_connection_id = 2 [(gogoproto.moretags) = "yaml:\"counterparty_connection_id\""]; + Version version = 3; + google.protobuf.Any client_state = 4 [(gogoproto.moretags) = "yaml:\"client_state\""]; + ibc.core.client.v1.Height proof_height = 5 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + // proof of the initialization the connection on Chain B: `UNITIALIZED -> + // TRYOPEN` + bytes proof_try = 6 [(gogoproto.moretags) = "yaml:\"proof_try\""]; + // proof of client state included in message + bytes proof_client = 7 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + // proof of client consensus state + bytes proof_consensus = 8 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; + ibc.core.client.v1.Height consensus_height = 9 + [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + string signer = 10; +} + +// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. +message MsgConnectionOpenAckResponse {} + +// MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to +// acknowledge the change of connection state to OPEN on Chain A. +message MsgConnectionOpenConfirm { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + // proof for the change of the connection state on Chain A: `INIT -> OPEN` + bytes proof_ack = 2 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; + ibc.core.client.v1.Height proof_height = 3 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 4; +} + +// MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm +// response type. +message MsgConnectionOpenConfirmResponse {} diff --git a/examples/telescope/proto/ibc/core/port/v1/query.proto b/examples/telescope/proto/ibc/core/port/v1/query.proto new file mode 100644 index 000000000..3c7fb7cb9 --- /dev/null +++ b/examples/telescope/proto/ibc/core/port/v1/query.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; + +package ibc.core.port.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/05-port/types"; + +import "ibc/core/channel/v1/channel.proto"; + +// Query defines the gRPC querier service +service Query { + // AppVersion queries an IBC Port and determines the appropriate application version to be used + rpc AppVersion(QueryAppVersionRequest) returns (QueryAppVersionResponse) {} +} + +// QueryAppVersionRequest is the request type for the Query/AppVersion RPC method +message QueryAppVersionRequest { + // port unique identifier + string port_id = 1; + // connection unique identifier + string connection_id = 2; + // whether the channel is ordered or unordered + ibc.core.channel.v1.Order ordering = 3; + // counterparty channel end + ibc.core.channel.v1.Counterparty counterparty = 4; + // proposed version + string proposed_version = 5; +} + +// QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. +message QueryAppVersionResponse { + // port id associated with the request identifiers + string port_id = 1; + // supported app version + string version = 2; +} diff --git a/examples/telescope/proto/ibc/core/types/v1/genesis.proto b/examples/telescope/proto/ibc/core/types/v1/genesis.proto new file mode 100644 index 000000000..e39f6cdbb --- /dev/null +++ b/examples/telescope/proto/ibc/core/types/v1/genesis.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package ibc.core.types.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/genesis.proto"; +import "ibc/core/connection/v1/genesis.proto"; +import "ibc/core/channel/v1/genesis.proto"; + +// GenesisState defines the ibc module's genesis state. +message GenesisState { + // ICS002 - Clients genesis state + ibc.core.client.v1.GenesisState client_genesis = 1 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_genesis\""]; + // ICS003 - Connections genesis state + ibc.core.connection.v1.GenesisState connection_genesis = 2 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"connection_genesis\""]; + // ICS004 - Channel genesis state + ibc.core.channel.v1.GenesisState channel_genesis = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"channel_genesis\""]; +} diff --git a/examples/telescope/proto/ibc/lightclients/localhost/v1/localhost.proto b/examples/telescope/proto/ibc/lightclients/localhost/v1/localhost.proto new file mode 100644 index 000000000..4fe05b785 --- /dev/null +++ b/examples/telescope/proto/ibc/lightclients/localhost/v1/localhost.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package ibc.lightclients.localhost.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/09-localhost/types"; + +import "gogoproto/gogo.proto"; +import "ibc/core/client/v1/client.proto"; + +// ClientState defines a loopback (localhost) client. It requires (read-only) +// access to keys outside the client prefix. +message ClientState { + option (gogoproto.goproto_getters) = false; + // self chain ID + string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""]; + // self latest block height + ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/examples/telescope/proto/ibc/lightclients/solomachine/v1/solomachine.proto new file mode 100644 index 000000000..b9b8a3a2a --- /dev/null +++ b/examples/telescope/proto/ibc/lightclients/solomachine/v1/solomachine.proto @@ -0,0 +1,189 @@ +syntax = "proto3"; + +package ibc.lightclients.solomachine.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/legacy/v100"; + +import "ibc/core/connection/v1/connection.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// ClientState defines a solo machine client that tracks the current consensus +// state and if the client is frozen. +message ClientState { + option (gogoproto.goproto_getters) = false; + // latest sequence of the client state + uint64 sequence = 1; + // frozen sequence of the solo machine + uint64 frozen_sequence = 2 [(gogoproto.moretags) = "yaml:\"frozen_sequence\""]; + ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // when set to true, will allow governance to update a solo machine client. + // The client will be unfrozen if it is frozen. + bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; +} + +// ConsensusState defines a solo machine consensus state. The sequence of a +// consensus state is contained in the "height" key used in storing the +// consensus state. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + // public key of the solo machine + google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + // diversifier allows the same public key to be re-used across different solo + // machine clients (potentially on different chains) without being considered + // misbehaviour. + string diversifier = 2; + uint64 timestamp = 3; +} + +// Header defines a solo machine consensus header +message Header { + option (gogoproto.goproto_getters) = false; + // sequence to update solo machine public key at + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; + string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// Misbehaviour defines misbehaviour for a solo machine which consists +// of a sequence and two signatures over different messages at that sequence. +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; + SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; +} + +// SignatureAndData contains a signature and the data signed over to create that +// signature. +message SignatureAndData { + option (gogoproto.goproto_getters) = false; + bytes signature = 1; + DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; + bytes data = 3; + uint64 timestamp = 4; +} + +// TimestampedSignatureData contains the signature data and the timestamp of the +// signature. +message TimestampedSignatureData { + option (gogoproto.goproto_getters) = false; + bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; + uint64 timestamp = 2; +} + +// SignBytes defines the signed bytes used for signature verification. +message SignBytes { + option (gogoproto.goproto_getters) = false; + + uint64 sequence = 1; + uint64 timestamp = 2; + string diversifier = 3; + // type of the data used + DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + // marshaled data + bytes data = 5; +} + +// DataType defines the type of solo machine proof being created. This is done +// to preserve uniqueness of different data sign byte encodings. +enum DataType { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + // Data type for client state verification + DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + // Data type for consensus state verification + DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + // Data type for connection state verification + DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + // Data type for channel state verification + DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + // Data type for packet commitment verification + DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + // Data type for packet acknowledgement verification + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + // Data type for packet receipt absence verification + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + // Data type for next sequence recv verification + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + // Data type for header verification + DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; +} + +// HeaderData returns the SignBytes data for update verification. +message HeaderData { + option (gogoproto.goproto_getters) = false; + + // header public key + google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + // header diversifier + string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// ClientStateData returns the SignBytes data for client state verification. +message ClientStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateData returns the SignBytes data for consensus state +// verification. +message ConsensusStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; +} + +// ConnectionStateData returns the SignBytes data for connection state +// verification. +message ConnectionStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.connection.v1.ConnectionEnd connection = 2; +} + +// ChannelStateData returns the SignBytes data for channel state +// verification. +message ChannelStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.channel.v1.Channel channel = 2; +} + +// PacketCommitmentData returns the SignBytes data for packet commitment +// verification. +message PacketCommitmentData { + bytes path = 1; + bytes commitment = 2; +} + +// PacketAcknowledgementData returns the SignBytes data for acknowledgement +// verification. +message PacketAcknowledgementData { + bytes path = 1; + bytes acknowledgement = 2; +} + +// PacketReceiptAbsenceData returns the SignBytes data for +// packet receipt absence verification. +message PacketReceiptAbsenceData { + bytes path = 1; +} + +// NextSequenceRecvData returns the SignBytes data for verification of the next +// sequence to be received. +message NextSequenceRecvData { + bytes path = 1; + uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; +} diff --git a/examples/telescope/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/examples/telescope/proto/ibc/lightclients/solomachine/v2/solomachine.proto new file mode 100644 index 000000000..0c8c638c1 --- /dev/null +++ b/examples/telescope/proto/ibc/lightclients/solomachine/v2/solomachine.proto @@ -0,0 +1,189 @@ +syntax = "proto3"; + +package ibc.lightclients.solomachine.v2; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/06-solomachine/types"; + +import "ibc/core/connection/v1/connection.proto"; +import "ibc/core/channel/v1/channel.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// ClientState defines a solo machine client that tracks the current consensus +// state and if the client is frozen. +message ClientState { + option (gogoproto.goproto_getters) = false; + // latest sequence of the client state + uint64 sequence = 1; + // frozen sequence of the solo machine + bool is_frozen = 2 [(gogoproto.moretags) = "yaml:\"is_frozen\""]; + ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + // when set to true, will allow governance to update a solo machine client. + // The client will be unfrozen if it is frozen. + bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; +} + +// ConsensusState defines a solo machine consensus state. The sequence of a +// consensus state is contained in the "height" key used in storing the +// consensus state. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + // public key of the solo machine + google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + // diversifier allows the same public key to be re-used across different solo + // machine clients (potentially on different chains) without being considered + // misbehaviour. + string diversifier = 2; + uint64 timestamp = 3; +} + +// Header defines a solo machine consensus header +message Header { + option (gogoproto.goproto_getters) = false; + // sequence to update solo machine public key at + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; + string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// Misbehaviour defines misbehaviour for a solo machine which consists +// of a sequence and two signatures over different messages at that sequence. +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; + SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; +} + +// SignatureAndData contains a signature and the data signed over to create that +// signature. +message SignatureAndData { + option (gogoproto.goproto_getters) = false; + bytes signature = 1; + DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; + bytes data = 3; + uint64 timestamp = 4; +} + +// TimestampedSignatureData contains the signature data and the timestamp of the +// signature. +message TimestampedSignatureData { + option (gogoproto.goproto_getters) = false; + bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; + uint64 timestamp = 2; +} + +// SignBytes defines the signed bytes used for signature verification. +message SignBytes { + option (gogoproto.goproto_getters) = false; + + uint64 sequence = 1; + uint64 timestamp = 2; + string diversifier = 3; + // type of the data used + DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + // marshaled data + bytes data = 5; +} + +// DataType defines the type of solo machine proof being created. This is done +// to preserve uniqueness of different data sign byte encodings. +enum DataType { + option (gogoproto.goproto_enum_prefix) = false; + + // Default State + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + // Data type for client state verification + DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + // Data type for consensus state verification + DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + // Data type for connection state verification + DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + // Data type for channel state verification + DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + // Data type for packet commitment verification + DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + // Data type for packet acknowledgement verification + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + // Data type for packet receipt absence verification + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + // Data type for next sequence recv verification + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + // Data type for header verification + DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; +} + +// HeaderData returns the SignBytes data for update verification. +message HeaderData { + option (gogoproto.goproto_getters) = false; + + // header public key + google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + // header diversifier + string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; +} + +// ClientStateData returns the SignBytes data for client state verification. +message ClientStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; +} + +// ConsensusStateData returns the SignBytes data for consensus state +// verification. +message ConsensusStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; +} + +// ConnectionStateData returns the SignBytes data for connection state +// verification. +message ConnectionStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.connection.v1.ConnectionEnd connection = 2; +} + +// ChannelStateData returns the SignBytes data for channel state +// verification. +message ChannelStateData { + option (gogoproto.goproto_getters) = false; + + bytes path = 1; + ibc.core.channel.v1.Channel channel = 2; +} + +// PacketCommitmentData returns the SignBytes data for packet commitment +// verification. +message PacketCommitmentData { + bytes path = 1; + bytes commitment = 2; +} + +// PacketAcknowledgementData returns the SignBytes data for acknowledgement +// verification. +message PacketAcknowledgementData { + bytes path = 1; + bytes acknowledgement = 2; +} + +// PacketReceiptAbsenceData returns the SignBytes data for +// packet receipt absence verification. +message PacketReceiptAbsenceData { + bytes path = 1; +} + +// NextSequenceRecvData returns the SignBytes data for verification of the next +// sequence to be received. +message NextSequenceRecvData { + bytes path = 1; + uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; +} diff --git a/examples/telescope/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/examples/telescope/proto/ibc/lightclients/tendermint/v1/tendermint.proto new file mode 100644 index 000000000..54e229b28 --- /dev/null +++ b/examples/telescope/proto/ibc/lightclients/tendermint/v1/tendermint.proto @@ -0,0 +1,115 @@ +syntax = "proto3"; + +package ibc.lightclients.tendermint.v1; + +option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/07-tendermint/types"; + +import "tendermint/types/validator.proto"; +import "tendermint/types/types.proto"; +import "confio/proofs.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "ibc/core/client/v1/client.proto"; +import "ibc/core/commitment/v1/commitment.proto"; +import "gogoproto/gogo.proto"; + +// ClientState from Tendermint tracks the current validator set, latest height, +// and a possible frozen height. +message ClientState { + option (gogoproto.goproto_getters) = false; + + string chain_id = 1; + Fraction trust_level = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trust_level\""]; + // duration of the period since the LastestTimestamp during which the + // submitted headers are valid for upgrade + google.protobuf.Duration trusting_period = 3 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"trusting_period\""]; + // duration of the staking unbonding period + google.protobuf.Duration unbonding_period = 4 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.moretags) = "yaml:\"unbonding_period\"" + ]; + // defines how much new (untrusted) header's Time can drift into the future. + google.protobuf.Duration max_clock_drift = 5 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"max_clock_drift\""]; + // Block height when the client was frozen due to a misbehaviour + ibc.core.client.v1.Height frozen_height = 6 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"frozen_height\""]; + // Latest height the client was updated to + ibc.core.client.v1.Height latest_height = 7 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"latest_height\""]; + + // Proof specifications used in verifying counterparty state + repeated ics23.ProofSpec proof_specs = 8 [(gogoproto.moretags) = "yaml:\"proof_specs\""]; + + // Path at which next upgraded client will be committed. + // Each element corresponds to the key for a single CommitmentProof in the + // chained proof. NOTE: ClientState must stored under + // `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + // under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + // the default upgrade module, upgrade_path should be []string{"upgrade", + // "upgradedIBCState"}` + repeated string upgrade_path = 9 [(gogoproto.moretags) = "yaml:\"upgrade_path\""]; + + // This flag, when set to true, will allow governance to recover a client + // which has expired + bool allow_update_after_expiry = 10 [(gogoproto.moretags) = "yaml:\"allow_update_after_expiry\""]; + // This flag, when set to true, will allow governance to unfreeze a client + // whose chain has experienced a misbehaviour event + bool allow_update_after_misbehaviour = 11 [(gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\""]; +} + +// ConsensusState defines the consensus state from Tendermint. +message ConsensusState { + option (gogoproto.goproto_getters) = false; + + // timestamp that corresponds to the block height in which the ConsensusState + // was stored. + google.protobuf.Timestamp timestamp = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // commitment root (i.e app hash) + ibc.core.commitment.v1.MerkleRoot root = 2 [(gogoproto.nullable) = false]; + bytes next_validators_hash = 3 [ + (gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes", + (gogoproto.moretags) = "yaml:\"next_validators_hash\"" + ]; +} + +// Misbehaviour is a wrapper over two conflicting Headers +// that implements Misbehaviour interface expected by ICS-02 +message Misbehaviour { + option (gogoproto.goproto_getters) = false; + + string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + Header header_1 = 2 [(gogoproto.customname) = "Header1", (gogoproto.moretags) = "yaml:\"header_1\""]; + Header header_2 = 3 [(gogoproto.customname) = "Header2", (gogoproto.moretags) = "yaml:\"header_2\""]; +} + +// Header defines the Tendermint client consensus Header. +// It encapsulates all the information necessary to update from a trusted +// Tendermint ConsensusState. The inclusion of TrustedHeight and +// TrustedValidators allows this update to process correctly, so long as the +// ConsensusState for the TrustedHeight exists, this removes race conditions +// among relayers The SignedHeader and ValidatorSet are the new untrusted update +// fields for the client. The TrustedHeight is the height of a stored +// ConsensusState on the client that will be used to verify the new untrusted +// header. The Trusted ConsensusState must be within the unbonding period of +// current time in order to correctly verify, and the TrustedValidators must +// hash to TrustedConsensusState.NextValidatorsHash since that is the last +// trusted validator set at the TrustedHeight. +message Header { + .tendermint.types.SignedHeader signed_header = 1 + [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"signed_header\""]; + + .tendermint.types.ValidatorSet validator_set = 2 [(gogoproto.moretags) = "yaml:\"validator_set\""]; + ibc.core.client.v1.Height trusted_height = 3 + [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trusted_height\""]; + .tendermint.types.ValidatorSet trusted_validators = 4 [(gogoproto.moretags) = "yaml:\"trusted_validators\""]; +} + +// Fraction defines the protobuf message type for tmmath.Fraction that only +// supports positive values. +message Fraction { + uint64 numerator = 1; + uint64 denominator = 2; +} diff --git a/examples/telescope/proto/tendermint/LICENSE b/examples/telescope/proto/tendermint/LICENSE new file mode 100644 index 000000000..eaf92fbf6 --- /dev/null +++ b/examples/telescope/proto/tendermint/LICENSE @@ -0,0 +1,204 @@ +Tendermint Core +License: Apache2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 All in Bits, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/examples/telescope/proto/tendermint/README.md b/examples/telescope/proto/tendermint/README.md new file mode 100644 index 000000000..74fcf8b8b --- /dev/null +++ b/examples/telescope/proto/tendermint/README.md @@ -0,0 +1 @@ +# tendermint \ No newline at end of file diff --git a/examples/telescope/proto/tendermint/abci/types.proto b/examples/telescope/proto/tendermint/abci/types.proto new file mode 100644 index 000000000..d41a52268 --- /dev/null +++ b/examples/telescope/proto/tendermint/abci/types.proto @@ -0,0 +1,394 @@ +syntax = "proto3"; +package tendermint.abci; + +option go_package = "github.com/tendermint/tendermint/abci/types"; + +// For more information on gogo.proto, see: +// https://github.com/gogo/protobuf/blob/master/extensions.md +import "tendermint/crypto/proof.proto"; +import "tendermint/types/types.proto"; +import "tendermint/crypto/keys.proto"; +import "tendermint/types/params.proto"; +import "google/protobuf/timestamp.proto"; +import "gogoproto/gogo.proto"; + +// This file is copied from http://github.com/tendermint/abci +// NOTE: When using custom types, mind the warnings. +// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues + +//---------------------------------------- +// Request types + +message Request { + oneof value { + RequestEcho echo = 1; + RequestFlush flush = 2; + RequestInfo info = 3; + RequestSetOption set_option = 4; + RequestInitChain init_chain = 5; + RequestQuery query = 6; + RequestBeginBlock begin_block = 7; + RequestCheckTx check_tx = 8; + RequestDeliverTx deliver_tx = 9; + RequestEndBlock end_block = 10; + RequestCommit commit = 11; + RequestListSnapshots list_snapshots = 12; + RequestOfferSnapshot offer_snapshot = 13; + RequestLoadSnapshotChunk load_snapshot_chunk = 14; + RequestApplySnapshotChunk apply_snapshot_chunk = 15; + } +} + +message RequestEcho { + string message = 1; +} + +message RequestFlush {} + +message RequestInfo { + string version = 1; + uint64 block_version = 2; + uint64 p2p_version = 3; +} + +// nondeterministic +message RequestSetOption { + string key = 1; + string value = 2; +} + +message RequestInitChain { + google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 2; + ConsensusParams consensus_params = 3; + repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; + bytes app_state_bytes = 5; + int64 initial_height = 6; +} + +message RequestQuery { + bytes data = 1; + string path = 2; + int64 height = 3; + bool prove = 4; +} + +message RequestBeginBlock { + bytes hash = 1; + tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; + LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; + repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; +} + +enum CheckTxType { + NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; + RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; +} + +message RequestCheckTx { + bytes tx = 1; + CheckTxType type = 2; +} + +message RequestDeliverTx { + bytes tx = 1; +} + +message RequestEndBlock { + int64 height = 1; +} + +message RequestCommit {} + +// lists available snapshots +message RequestListSnapshots {} + +// offers a snapshot to the application +message RequestOfferSnapshot { + Snapshot snapshot = 1; // snapshot offered by peers + bytes app_hash = 2; // light client-verified app hash for snapshot height +} + +// loads a snapshot chunk +message RequestLoadSnapshotChunk { + uint64 height = 1; + uint32 format = 2; + uint32 chunk = 3; +} + +// Applies a snapshot chunk +message RequestApplySnapshotChunk { + uint32 index = 1; + bytes chunk = 2; + string sender = 3; +} + +//---------------------------------------- +// Response types + +message Response { + oneof value { + ResponseException exception = 1; + ResponseEcho echo = 2; + ResponseFlush flush = 3; + ResponseInfo info = 4; + ResponseSetOption set_option = 5; + ResponseInitChain init_chain = 6; + ResponseQuery query = 7; + ResponseBeginBlock begin_block = 8; + ResponseCheckTx check_tx = 9; + ResponseDeliverTx deliver_tx = 10; + ResponseEndBlock end_block = 11; + ResponseCommit commit = 12; + ResponseListSnapshots list_snapshots = 13; + ResponseOfferSnapshot offer_snapshot = 14; + ResponseLoadSnapshotChunk load_snapshot_chunk = 15; + ResponseApplySnapshotChunk apply_snapshot_chunk = 16; + } +} + +// nondeterministic +message ResponseException { + string error = 1; +} + +message ResponseEcho { + string message = 1; +} + +message ResponseFlush {} + +message ResponseInfo { + string data = 1; + + string version = 2; + uint64 app_version = 3; + + int64 last_block_height = 4; + bytes last_block_app_hash = 5; +} + +// nondeterministic +message ResponseSetOption { + uint32 code = 1; + // bytes data = 2; + string log = 3; + string info = 4; +} + +message ResponseInitChain { + ConsensusParams consensus_params = 1; + repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; + bytes app_hash = 3; +} + +message ResponseQuery { + uint32 code = 1; + // bytes data = 2; // use "value" instead. + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 index = 5; + bytes key = 6; + bytes value = 7; + tendermint.crypto.ProofOps proof_ops = 8; + int64 height = 9; + string codespace = 10; +} + +message ResponseBeginBlock { + repeated Event events = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +message ResponseCheckTx { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; +} + +message ResponseDeliverTx { + uint32 code = 1; + bytes data = 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 gas_wanted = 5 [json_name = "gas_wanted"]; + int64 gas_used = 6 [json_name = "gas_used"]; + repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; +} + +message ResponseEndBlock { + repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; + ConsensusParams consensus_param_updates = 2; + repeated Event events = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; +} + +message ResponseCommit { + // reserve 1 + bytes data = 2; + int64 retain_height = 3; +} + +message ResponseListSnapshots { + repeated Snapshot snapshots = 1; +} + +message ResponseOfferSnapshot { + Result result = 1; + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Snapshot accepted, apply chunks + ABORT = 2; // Abort all snapshot restoration + REJECT = 3; // Reject this specific snapshot, try others + REJECT_FORMAT = 4; // Reject all snapshots of this format, try others + REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others + } +} + +message ResponseLoadSnapshotChunk { + bytes chunk = 1; +} + +message ResponseApplySnapshotChunk { + Result result = 1; + repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply + repeated string reject_senders = 3; // Chunk senders to reject and ban + + enum Result { + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Chunk successfully accepted + ABORT = 2; // Abort all snapshot restoration + RETRY = 3; // Retry chunk (combine with refetch and reject) + RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) + REJECT_SNAPSHOT = 5; // Reject this snapshot, try others + } +} + +//---------------------------------------- +// Misc. + +// ConsensusParams contains all consensus-relevant parameters +// that can be adjusted by the abci app +message ConsensusParams { + BlockParams block = 1; + tendermint.types.EvidenceParams evidence = 2; + tendermint.types.ValidatorParams validator = 3; + tendermint.types.VersionParams version = 4; +} + +// BlockParams contains limits on the block size. +message BlockParams { + // Note: must be greater than 0 + int64 max_bytes = 1; + // Note: must be greater or equal to -1 + int64 max_gas = 2; +} + +message LastCommitInfo { + int32 round = 1; + repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; +} + +// Event allows application developers to attach additional information to +// ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. +// Later, transactions may be queried using these events. +message Event { + string type = 1; + repeated EventAttribute attributes = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "attributes,omitempty"]; +} + +// EventAttribute is a single key-value pair, associated with an event. +message EventAttribute { + bytes key = 1; + bytes value = 2; + bool index = 3; // nondeterministic +} + +// TxResult contains results of executing the transaction. +// +// One usage is indexing transaction results. +message TxResult { + int64 height = 1; + uint32 index = 2; + bytes tx = 3; + ResponseDeliverTx result = 4 [(gogoproto.nullable) = false]; +} + +//---------------------------------------- +// Blockchain Types + +// Validator +message Validator { + bytes address = 1; // The first 20 bytes of SHA256(public key) + // PubKey pub_key = 2 [(gogoproto.nullable)=false]; + int64 power = 3; // The voting power +} + +// ValidatorUpdate +message ValidatorUpdate { + tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; + int64 power = 2; +} + +// VoteInfo +message VoteInfo { + Validator validator = 1 [(gogoproto.nullable) = false]; + bool signed_last_block = 2; +} + +enum EvidenceType { + UNKNOWN = 0; + DUPLICATE_VOTE = 1; + LIGHT_CLIENT_ATTACK = 2; +} + +message Evidence { + EvidenceType type = 1; + // The offending validator + Validator validator = 2 [(gogoproto.nullable) = false]; + // The height when the offense occurred + int64 height = 3; + // The corresponding time where the offense occurred + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + // Total voting power of the validator set in case the ABCI application does + // not store historical validators. + // https://github.com/tendermint/tendermint/issues/4581 + int64 total_voting_power = 5; +} + +//---------------------------------------- +// State Sync Types + +message Snapshot { + uint64 height = 1; // The height at which the snapshot was taken + uint32 format = 2; // The application-specific snapshot format + uint32 chunks = 3; // Number of chunks in the snapshot + bytes hash = 4; // Arbitrary snapshot hash, equal only if identical + bytes metadata = 5; // Arbitrary application metadata +} + +//---------------------------------------- +// Service Definition + +service ABCIApplication { + rpc Echo(RequestEcho) returns (ResponseEcho); + rpc Flush(RequestFlush) returns (ResponseFlush); + rpc Info(RequestInfo) returns (ResponseInfo); + rpc SetOption(RequestSetOption) returns (ResponseSetOption); + rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); + rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); + rpc Query(RequestQuery) returns (ResponseQuery); + rpc Commit(RequestCommit) returns (ResponseCommit); + rpc InitChain(RequestInitChain) returns (ResponseInitChain); + rpc BeginBlock(RequestBeginBlock) returns (ResponseBeginBlock); + rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); + rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); + rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); + rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); + rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); +} diff --git a/examples/telescope/proto/tendermint/crypto/keys.proto b/examples/telescope/proto/tendermint/crypto/keys.proto new file mode 100644 index 000000000..16fd7adf3 --- /dev/null +++ b/examples/telescope/proto/tendermint/crypto/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +// PublicKey defines the keys available for use with Tendermint Validators +message PublicKey { + option (gogoproto.compare) = true; + option (gogoproto.equal) = true; + + oneof sum { + bytes ed25519 = 1; + bytes secp256k1 = 2; + } +} diff --git a/examples/telescope/proto/tendermint/crypto/proof.proto b/examples/telescope/proto/tendermint/crypto/proof.proto new file mode 100644 index 000000000..975df7685 --- /dev/null +++ b/examples/telescope/proto/tendermint/crypto/proof.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +message Proof { + int64 total = 1; + int64 index = 2; + bytes leaf_hash = 3; + repeated bytes aunts = 4; +} + +message ValueOp { + // Encoded in ProofOp.Key. + bytes key = 1; + + // To encode in ProofOp.Data + Proof proof = 2; +} + +message DominoOp { + string key = 1; + string input = 2; + string output = 3; +} + +// ProofOp defines an operation used for calculating Merkle root +// The data could be arbitrary format, providing nessecary data +// for example neighbouring node hash +message ProofOp { + string type = 1; + bytes key = 2; + bytes data = 3; +} + +// ProofOps is Merkle proof defined by the list of ProofOps +message ProofOps { + repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/tendermint/libs/bits/types.proto b/examples/telescope/proto/tendermint/libs/bits/types.proto new file mode 100644 index 000000000..3111d113a --- /dev/null +++ b/examples/telescope/proto/tendermint/libs/bits/types.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; +package tendermint.libs.bits; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits"; + +message BitArray { + int64 bits = 1; + repeated uint64 elems = 2; +} diff --git a/examples/telescope/proto/tendermint/p2p/types.proto b/examples/telescope/proto/tendermint/p2p/types.proto new file mode 100644 index 000000000..216a6d8d0 --- /dev/null +++ b/examples/telescope/proto/tendermint/p2p/types.proto @@ -0,0 +1,42 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; + +message ProtocolVersion { + uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; + uint64 block = 2; + uint64 app = 3; +} + +message NodeInfo { + ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; + string node_id = 2 [(gogoproto.customname) = "NodeID"]; + string listen_addr = 3; + string network = 4; + string version = 5; + bytes channels = 6; + string moniker = 7; + NodeInfoOther other = 8 [(gogoproto.nullable) = false]; +} + +message NodeInfoOther { + string tx_index = 1; + string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; +} + +message PeerInfo { + string id = 1 [(gogoproto.customname) = "ID"]; + repeated PeerAddressInfo address_info = 2; + google.protobuf.Timestamp last_connected = 3 [(gogoproto.stdtime) = true]; +} + +message PeerAddressInfo { + string address = 1; + google.protobuf.Timestamp last_dial_success = 2 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp last_dial_failure = 3 [(gogoproto.stdtime) = true]; + uint32 dial_failures = 4; +} diff --git a/examples/telescope/proto/tendermint/types/block.proto b/examples/telescope/proto/tendermint/types/block.proto new file mode 100644 index 000000000..84e9bb15d --- /dev/null +++ b/examples/telescope/proto/tendermint/types/block.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/evidence.proto"; + +message Block { + Header header = 1 [(gogoproto.nullable) = false]; + Data data = 2 [(gogoproto.nullable) = false]; + tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; + Commit last_commit = 4; +} diff --git a/examples/telescope/proto/tendermint/types/evidence.proto b/examples/telescope/proto/tendermint/types/evidence.proto new file mode 100644 index 000000000..d9548a430 --- /dev/null +++ b/examples/telescope/proto/tendermint/types/evidence.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; + +message Evidence { + oneof sum { + DuplicateVoteEvidence duplicate_vote_evidence = 1; + LightClientAttackEvidence light_client_attack_evidence = 2; + } +} + +// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. +message DuplicateVoteEvidence { + tendermint.types.Vote vote_a = 1; + tendermint.types.Vote vote_b = 2; + int64 total_voting_power = 3; + int64 validator_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. +message LightClientAttackEvidence { + tendermint.types.LightBlock conflicting_block = 1; + int64 common_height = 2; + repeated tendermint.types.Validator byzantine_validators = 3; + int64 total_voting_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +message EvidenceList { + repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; +} diff --git a/examples/telescope/proto/tendermint/types/params.proto b/examples/telescope/proto/tendermint/types/params.proto new file mode 100644 index 000000000..70789222a --- /dev/null +++ b/examples/telescope/proto/tendermint/types/params.proto @@ -0,0 +1,79 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/duration.proto"; + +option (gogoproto.equal_all) = true; + +// ConsensusParams contains consensus critical parameters that determine the +// validity of blocks. +message ConsensusParams { + BlockParams block = 1 [(gogoproto.nullable) = false]; + EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; + ValidatorParams validator = 3 [(gogoproto.nullable) = false]; + VersionParams version = 4 [(gogoproto.nullable) = false]; +} + +// BlockParams contains limits on the block size. +message BlockParams { + // Max block size, in bytes. + // Note: must be greater than 0 + int64 max_bytes = 1; + // Max gas per block. + // Note: must be greater or equal to -1 + int64 max_gas = 2; + // Minimum time increment between consecutive blocks (in milliseconds) If the + // block header timestamp is ahead of the system clock, decrease this value. + // + // Not exposed to the application. + int64 time_iota_ms = 3; +} + +// EvidenceParams determine how we handle evidence of malfeasance. +message EvidenceParams { + // Max age of evidence, in blocks. + // + // The basic formula for calculating this is: MaxAgeDuration / {average block + // time}. + int64 max_age_num_blocks = 1; + + // 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). + google.protobuf.Duration max_age_duration = 2 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + + // 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 + int64 max_bytes = 3; +} + +// ValidatorParams restrict the public key types validators can use. +// NOTE: uses ABCI pubkey naming, not Amino names. +message ValidatorParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + repeated string pub_key_types = 1; +} + +// VersionParams contains the ABCI application version. +message VersionParams { + option (gogoproto.populate) = true; + option (gogoproto.equal) = true; + + uint64 app_version = 1; +} + +// HashedParams is a subset of ConsensusParams. +// +// It is hashed into the Header.ConsensusHash. +message HashedParams { + int64 block_max_bytes = 1; + int64 block_max_gas = 2; +} diff --git a/examples/telescope/proto/tendermint/types/types.proto b/examples/telescope/proto/tendermint/types/types.proto new file mode 100644 index 000000000..57efc33c5 --- /dev/null +++ b/examples/telescope/proto/tendermint/types/types.proto @@ -0,0 +1,153 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/crypto/proof.proto"; +import "tendermint/version/types.proto"; +import "tendermint/types/validator.proto"; + +// BlockIdFlag indicates which BlcokID the signature is for +enum BlockIDFlag { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; + BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; + BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; + BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; +} + +// SignedMsgType is a type of signed message in the consensus. +enum SignedMsgType { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; + // Votes + SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; + SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; + + // Proposals + SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; +} + +// PartsetHeader +message PartSetHeader { + uint32 total = 1; + bytes hash = 2; +} + +message Part { + uint32 index = 1; + bytes bytes = 2; + tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; +} + +// BlockID +message BlockID { + bytes hash = 1; + PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; +} + +// -------------------------------- + +// Header defines the structure of a Tendermint block header. +message Header { + // basic block info + tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; + string chain_id = 2 [(gogoproto.customname) = "ChainID"]; + int64 height = 3; + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // prev block info + BlockID last_block_id = 5 [(gogoproto.nullable) = false]; + + // hashes of block data + bytes last_commit_hash = 6; // commit from validators from the last block + bytes data_hash = 7; // transactions + + // hashes from the app output from the prev block + bytes validators_hash = 8; // validators for the current block + bytes next_validators_hash = 9; // validators for the next block + bytes consensus_hash = 10; // consensus params for current block + bytes app_hash = 11; // state after txs from the previous block + bytes last_results_hash = 12; // root hash of all results from the txs from the previous block + + // consensus info + bytes evidence_hash = 13; // evidence included in the block + bytes proposer_address = 14; // original proposer of the block +} + +// Data contains the set of transactions included in the block +message 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. + repeated bytes txs = 1; +} + +// Vote represents a prevote, precommit, or commit vote from validators for +// consensus. +message Vote { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + BlockID block_id = 4 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes validator_address = 6; + int32 validator_index = 7; + bytes signature = 8; +} + +// Commit contains the evidence that a block was committed by a set of validators. +message Commit { + int64 height = 1; + int32 round = 2; + BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; + repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; +} + +// CommitSig is a part of the Vote included in a Commit. +message CommitSig { + BlockIDFlag block_id_flag = 1; + bytes validator_address = 2; + google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; +} + +message Proposal { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + int32 pol_round = 4; + BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 7; +} + +message SignedHeader { + Header header = 1; + Commit commit = 2; +} + +message LightBlock { + SignedHeader signed_header = 1; + tendermint.types.ValidatorSet validator_set = 2; +} + +message BlockMeta { + BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + int64 block_size = 2; + Header header = 3 [(gogoproto.nullable) = false]; + int64 num_txs = 4; +} + +// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. +message TxProof { + bytes root_hash = 1; + bytes data = 2; + tendermint.crypto.Proof proof = 3; +} diff --git a/examples/telescope/proto/tendermint/types/validator.proto b/examples/telescope/proto/tendermint/types/validator.proto new file mode 100644 index 000000000..49860b96d --- /dev/null +++ b/examples/telescope/proto/tendermint/types/validator.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/crypto/keys.proto"; + +message ValidatorSet { + repeated Validator validators = 1; + Validator proposer = 2; + int64 total_voting_power = 3; +} + +message Validator { + bytes address = 1; + tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +message SimpleValidator { + tendermint.crypto.PublicKey pub_key = 1; + int64 voting_power = 2; +} diff --git a/examples/telescope/proto/tendermint/version/types.proto b/examples/telescope/proto/tendermint/version/types.proto new file mode 100644 index 000000000..6061868bd --- /dev/null +++ b/examples/telescope/proto/tendermint/version/types.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package tendermint.version; + +option go_package = "github.com/tendermint/tendermint/proto/tendermint/version"; + +import "gogoproto/gogo.proto"; + +// App includes the protocol and software version for the application. +// This information is included in ResponseInfo. The App.Protocol can be +// updated in ResponseEndBlock. +message App { + uint64 protocol = 1; + string software = 2; +} + +// 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. +message Consensus { + option (gogoproto.equal) = true; + + uint64 block = 1; + uint64 app = 2; +} diff --git a/examples/telescope/public/favicon.ico b/examples/telescope/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..aec78edd3b03a0c25a2c9a33b3a19ef7d8024ce5 GIT binary patch literal 25531 zcmdUY`CC=zxi*Lhh=731lY*iGq9}ua8w6yYL}c&HW(FDdW)hi)4NYr?CMR=G1`|zt zGBnj5Gbc@&+Us(TLrgRzQIpv5v`y2K@A|%f;JfejynF2}?GNYI)9Zf5_g!nf?=!q> zp~Qaw+u!W1DfL?!xzf$e&9A&{&ptP|<=_AIH^RL=;DrSgX-+ry(S4m+h_EUyP}7GCfyBg$T2VvCFUbKs);=*k>oeZoe-B|3m(_-`sQU z$t{?C<>HrXZoPZx(tBfULS<}UxJXwX;A%ks%R5hlXSXbIyP7J@8+D&5_gHawLA2>(P&SL!B3xu$wg%agUy5Dc+=bWfC0`;yQ@06 zc|tv=PiC+wfWJI_ZZ>H?dp+Eg8==P!f(?aljgct!ym?IKyeEQiJW#NGzcX0Z=LFbp#wThSJ90iOpn>yAx(r?p+A zz{8C&iY1^erDpe`bx<<*Fu9HCV1Vi=mPAck)>vt;h4E!xSn%6Hi6B8!lX`A~?pkgY zHShpacJUdpe5Xaul-*#I`gl7*6U4a}ZQz_QxOp$6s^r}}pr>$A`>Qj-zx$6jz;*CK zR!Re?KvhI&;~XC; z*tQjNupg|2o93mNyHde*@NFF_R>@aCQPrn{wRn%MiMMBU0_sU$JY5xP^4u>z;cDAr z@Nn2y(?7*iqd>)M2D%;e(d%IA=uDZOFm6;~w|2nciU}ADArLV!u}ieDMz&aV{VaHa zxP)ghzXw+~#x#yW@eBwyjIhdeR6^@kTN39oh(`M_ zE{vsFtB(C!kFe$vwx#i$-=13n4%|96!qkkOeV>j}Hb6p`KRCcGs}h3NbN&b7zWEwt zNalC1of4aiyzn!yG_Qj}5RF8v*gLL^UtRd*QFrK+MA;QZKeukOHocBf0nDmB_Nm=4Z$L*H z*trv6P0T28>oNXV!88^17p;I$D{AAC1pcQ_sa;Ixcr%~?cj}7#N?3bA#h}$7R&-+T z&G(`rS;ZmeU&`AFxxvT{t~y8^;G2XSVij%z0dt<+;Sk$+>WqL^^Ts+Dl4kDRAg%@G zt%Da(i4&(<`S3O|KfZ5W_Ac-47XBzuC$2-eD$aSlRKO+qdDN++>+AdVfkbHB!*Fel z_-ZJ>U=RTx5k=-HC_An`+orl#-2alZ2(m!xQhm-GG#*p`j7eA5Ay;E!bZ&0k>9M(v zHRwitwW!QFr#NHE=&Ov&6!68C z^ZCTA?@vCZn``-^YT&!b6&H^6!%Pwvm!PARO)KbDJ7ayYgn%LEmSCyKc5+pN`(u`- zBpB`tPz%VGkPi;{_&R>96Z^JGuvo&o87`m+WU>q%D1}@I17p>wC^4GDAhkxdhds6s z_!caK%@8`c&hoY`0W4kt&t~-!v8SovOtG{81`OaiTUY{?swPH?U--F)b*n-&3;RV7 zADW=fgQaz5#{{mtuwUa={Sqk7^7`~0m>(ba1J7@1ZL|(@qf1b`4-T%;+B}`HFxxz> zN<*!p!&m0pwm{~#@o7ML*CmE~H8bVjF!srRvc-n@36l&;2gTXar!(m6=GqMEE?1uR zfF;PThO82u+sOm12QfDQM;DKlhinvcd!P1!yATlv`-^*61YbTJFJs_C0cvaNywe9Z z>zXLx5X?^j`)YIO_WlI%tH5#8VSU1?85FtM-MFBYtK*iG38+b5{Ydo=Y=2dl&`5PF)j) zp$CF;!Sae1SeYzdV8D41tT0nsH3QGmRHbi(3hZg?+94WvUn^L?v%i_6T0a?PAbIAh zKtj9vAy^-~9pEv(_{$2lcNlj)-*V+dO_C`fqFXIkt^wyA%XJG%P4}+EN6X)?_YAQvN6&kqeG#Pc91G{PjL&6ay6iOmC18@UjEU_Vwq$@;qBZ z?0zgkW<0vEne{DT%m)gY@fL<)VxBLsjb5uwoSg##Dnx)AbgfB+pyjU9*2cB~R9mRv z!coF%EaKchy>bd1=(NO$;se2S6a{-7Qk5(N>hXQr#5_i!hoM`+!^#y*n~vL0L2VZ^ z+Cv?QVn)sCv+Sa&5~lU>ldUuL``WKPs?XVfhi_@Xd4JwO`y&w5DLnju&rgCeCoC0{ zmx@;}j1mx#HDXf7CJdW1{|!E>E@T?GN^r2bR(Ewk%Lj$^tq;nAOi$6);k+tJj?~ai_6&zBg?_mY?krFt`=}Bt1^dC)!w64Kh99e z<)%_VI;usx_(tL~Xr&=wY)2L>3sHx&tKez{@obvk+u>dbX}IxR?*gQNN%lBLTHogE`&(~hJ3+x?HXf2E~tD3@U#VTMChCk&gVqt zA`axd>2_Fva~*bA5lP~0wivjH!6~jff4~sGpz3q30S?{}SU1cB-IY5T&^dGG3hrPl zs3uI+elmjn#H^|8 zgu;WNW3Z}-OHt;HCqx&{Nco41r#H{;Dy!@aVi z@7oJS6<^$x%xb-S-`-a3FE+%sK@6}mnVa&dE^s#DxbA~t00DbIvoXDn$*{hBZmQZI z5>6iYq;wi3N#suIQH_Al1te^p=4FvGE22e>&GyCD- z#wKuUHyFSyv40}D)KRwJnw4gzl|{Pv?yh*|4XER!20p~b%Ke)$*Ryun(T!>=%a5sqHB-jYxhE{>734V*8?;3>gP3OZSvOdC+lD@#De zmi(65Chcp8Tk2Wi@^el(9GqXp-U8Ugw%iz{@eY7GiEi8rUBB2-ATq@pBAuO$i%nm> zt#K7pMkGW^?oU$bwz&)5pxWfdtKqA_Mt!R&d%V?|Niqg*YN3D{rvUUKj33|_a#X47YDNsY&Q5MK|~(_^AMMC z-ge(iBuh8)5ZDmt(hCgm+LREUzl`m=Ro8y?(J3gvJ_gAyI{P2EaU3iG6oto#%Lc&{ zhbsm=v~Pl}h*54TqMP@<^p*?>_YBR2!k^~^hnVJYWm_gjxx>tvVdjGyW;LnGY~AYI zPXHtSr;{&(500~rfkqIwE^hHniQruT768DV1EC^xZh^-2vPF8!!QwtT0S=^s)c&9` zctGB?$i1|8fLH+03{>>=xay*F{|>Vb1gI@C;3<>7+TR<0{{ueYB3Td{B-Oz3G=i9= z(orx~#?S=r5E=Qr7f<_MpK9|w6Dybzv8oL+U%d^Ws``&u;W-EElf&xBV+R9#it5O^ zVsUMS@Cw69VF@;NH1go<5jXdwgS`p3fx=ww%(V(Kbgi~3^TH8W znYsr`zM`(GqB}1^*M9s+$oHnd%inm7zM26qa34@$B&%Wzvla!?!7YUH4BfuH$0Xh{ z5it;Vzk0-f>6EoWv_K2@cHswLhUTVL!}_^WsC)#|Z(|VEE!WsLs_=KgIXm60Y6XTo zh8F_!yQ1gzLuMB`^K4|g7G!*egY0BMK$SP2mL(Ru4p7N}=An)N@w3V|fBF`E426Jo z1(b_my6uHzAf9n*c=0XhK&yxZ=G>o$G7tvJ<269Z!9T0b77VEs z@QY7C>kE&lhY++LWJ6Z_@m2}zz*dSMyyc*C+9p1OJ>m-6B&=$`6_?+xwS=^*X8ZD$ z6+FfOhLR@+@XZgwB3pYGTKyf*;DWtDpZ(Mayal9#djxiW@iXwsV9sO;l9Zn(fgp4S zGQA^%sRx+v{_PdlkBb==1lbKr``vL?W~ra4`0TOEZzK%BVD))kdAWh{ZY#|_{Yn{> zWh{rVkfzgbYI9&D?Y4x3-feS=!{cu9IF5pgJlG$W1zc~Z6(-miLuRZ z5j}|Y{K+F=wiV4G+uC9(#eeoGk=_icd6f6EaqnI}*WS!m*BU*U5$8!3cJl?!aKxN_ zN!5 ztN~$6QzK|LCb~aWeBf(9tYSg(TF8|=SFc-*pv(mG z=*Y-eza2uGr9vZ3e)zA`Q3j20pz&qih| ze%40@mW3ar?QU9p5F&C@hu>9grV1v5ovfxp`hDa(`YVY z*#mCY#UEb$QFc#AG zSvJ64P+zuI-Qr*~19My)lfPPzIqw?4jqy&av^PuF)rVK6+&ZTHxqg~j7glo;69Bsk zc)$i2S_QKJqSZTKezoJ}WMgpZSowg~0KAnQ)Z!;jaF;k1w)5;&FXiS6nGzAPBNUo; z1*_m=EhkVGA6O1HSBAEt-Zw& zY3MsW!8)cHH$TVDR2JdlZR54*$wpw>K+A5wzH9v)6d+%O&LeaU$}I1@T+0O%CMnFU zR$Ye*xNu~4HGDwyMjuuzPNnO|gGbsn2l&Lr!`9Xg=?wz72*98f&y!-*L6m?b18mwI zAUo*%!}HP%&>I$5StaA_zH+=(4)Cl|t^tW{v-Y!eJ^XzCFz5rK zts6wy%L5wN*0z0kId8bidX7(1iG+6cad%U(vkSR5hBzZk9ca*jy21;;77eR=(5pps za4RSqWGpUAj^)0;d+TjhkFgj`P|LNbqJwtvnfU#?c{~DJMHox3ANLN~3uF9uuippJ z1WIGZD^#Kf88Be#i^su}6tSmVarSXO1}o8>V-eQz^}5B4@w<$X%8bw=yK<9^at}I^ z3YjW{*jzm?1XOf6c=iDv1;Cl79XVLJiCF_GMS#1Tx?L6{?j4TYz^nkRZDNyp1ebzK z)R~-7kl?Jg<3dZFm>#7}Q4G6}#qA0Y{B4cqXMYMxm&xDY@aAkIAmU&#C$aN#RmEu~ zDx;C?7Qla{qZ|_$Q?`UFVqw_h%>Gr;di`~-zVjixr|$tv(0&krV&ttW+smD0yn7NJ z0lv&SpoNIVG=2V(_H_b{dDnhma5pglrmbABpc}$BJeTF677LB>N&)cz0Pd=cb{prl zf~sXy_<|QCZ`R=B>Nbe68=nK(yBuaod)jhGAIj($L<2}2Tt-jrXQOsi&lpJ2=4*cl zFb>lvWhF!CrUerUkShW_EfOywzJ_%Ko7b?`Sa!}rXbsoLwS>u+hD>=&ANu$Ws63Pe z6A=B&L&Y#^UxfNtsxKqP8d$lFtLp&gzR>C?_xB8T?*;yI}Iq9IKv8n{#DHB>G z)p6svlMF8G7;LQ4r$+aG^Iq8b$C=e$(A~j@gKuu2lV?Ci7{lT}%T)m!!r|!V_(l@% zLLRe?6lgy>gozWpcDJYvcpX$RGu&;_-Yl(fv<;h8zF1p39rdKTw^l9|UaH=lSMQze zSRNX{++Y#=A(q*|oT-%QCJ~GRzNQ$qjw<_oDq?Wpa9N=p8f$$CbB_By8rn42YQHkn_Vp|2VhwHDC3;~tvlE^RSa#2 z*sK^#wNMXFx5A)V?mQ_W`X*_2S&3vmIv^Sbj{Hiyu;#)GUW2B zoN(}C)u4`!0+|5r*ljZVLfN8a<+M7t#E+20pAPe6SOrQd(0+$3NoGdHh+N=qf$Yye z1g{;*Di#}DZ!72p?PO6h#&cVB;Ski=ph)mtym5vq_D#?yf~UX*&SP$kI)-MwwXa&g zex9=Gn|vcwRv?Rt6|D|2XgY4a4pl25COAX;oZ=lA61vx(In@Ob3<7qG08bZ9e>dcq zxuKRQBe)hE?d)1@b{=kt7moOD``z)!Ow4_isYq_1RvPRwF;d$RJGPLoamTK0s@YV$ z<#O$JA$nNO+BaMfj`UO+0bkdV0InTBHg9NlP)~+hIrJb9uzMK~BE$LtG4ZpOA1l{$ zO>B@+N{Sm|O7cCvf9ZZmb{}KO=dwAoK-|xaqmZCSw6gz~K#pgw<&TdaWtagJGd~BS zX%2!^V9KDfCipB@tn27@##bMhDKiJVyuU)HCo!a|s|zZBl-{b(Zm;3lterkd=Y9^A z0RUP(9QR0Tj2D+pgcii4>ONJDv#AMP6$detT@O}J$Uxw1(f&)G6uBapS59k7b^LcI zhm5QS7Gwp;$ctQ|eL<@>5Pw_3_a7XY-RW2qoTZ?hlf1GWeW|@`gJxh|eaeUNTM2T0 zo58sJZ1)1hd{vur^DB^t#wV|U37A124=`SBY#{Fe0sIEK_>3b9sm#m@Pzfjzq|Ju} z=D0B6(|a5bfRWZP%R{jRl$o>Eu?vf(K^;Kw16=nXA9)HqNgPY~EOW(=r3Rnt$30yK zYqkF>q{}+KQ~Ma>@sz+fR+9E3JFB~4M<)xRCQs!JdIbnzrRv~j1Ux11;|f<3qdTFn zLe*KDcJ;?F0+TwxnM+22cVlD#@9_@pOJ^mQ%wsCIkQ*q{T7%_a;}MZv=;ae|0E$+G z%xB6(4>%X??yT=E6R?3s^Q;@Sf;LOo>G;jGp?X0ndO4>)_=jsb5|Vmm1+1oU3?ZQYm4Co zrj>;H?Y(b;i!2mR5N8`= z{lQBtVEsY6z;)dDO~|;{_2W#d!H@S-nS|!)w_`g5n~_cq0!_`OckbyaPlg(1rti*k zVE+6D0K!2*p_*SDIv*@c&V-@;@=)MBw9~IGfJgJm+!PSlATku97^K3V#Mul9U?N?6 z+&IVZY(4)=^078UHFpL$_N$JL+B9xJz=!cU`G+#bAo6N>iDQ0mY=G+0@K`nyaQ(1I za0XP6=Hr_(ENXBb4-!96#{WBf_F;YATF%4Eqj5x&|$xG*xjUkK1}L9C_{0pE0S5NuHZ*njaPiG?%T&g(lI*E zbG1BqWtr9b*AIUV{mc*b!6k}TeGD&q;M*73b^@!rUDuPKMMV^4Lu9x8;pA^2Z#>V0 zb@Bk+q>=y?;CogHched%vj6r0S0S*kXs&D4Em5u=73rUH;YdWG=(CZ$d4Ft~MV$d` z0zhkP9*KZ))do?7FXNiDAKbJQu5VcAWo_n9fu+Tffq;SygZz4P1rN80BGy)jM`gd) zx4(MwAoN;qmUHJ+Blzx^EO3Dj1P{~YV)C6Wi0ruhDzx}Lx9$^%_II9K#9mNH9T<0| zQXI)jXt4yUlMM#2tiNiDc|~&|qZ$KpHf%(#FKl9iD0O-@1h>Uu1n*8ziZhVqOt6x4up#A1FGuhC~ z5D0o8Jay|DAAkDT3TyG#PeA+QQ}=;afE=rVs#Y>f7rP)IWK8El0rZMcttke0S~?GG zfR8tTN}Uy+Y%S&~owb4fbdV174pC=W5WO*A>7Tv9%&|CB2BA%Zw)ka$dz&obeWepc zOs3j*%Hh9Ch>wN za0AH&yn!|%1D79DmAV0TUrh{mI_(QqSK$L5ck_jaiH6cvsNejM&$5Hqvdnn+AQ+=K zGYpmk(veUw$_7b}I?cBq&yn7R1K@SeqJ*_Edj0-`kPI=)@e=D2;Da*0KlQL!`?rbo zgQ%Ok{c7IQ06;W zWPtMaE~qz69DED0tQAHyFqhXe4h)+sR*S(&92Tfas$O~PZ+>hqdNv%v4!w$iy=un3T?6^=cp7esztpiX> z4zy^0-pis1lYwRP`x~IOl%9Dn{=&oJ(|Mzch83Q3_kvY&?!*?E;4^UMP1RJ4`JB?B z?wlM;cbM9jYNZ9CC){8NygqT5u&=lK{N zk=(vrOtldh`#_di#(8c>@<;>Ip`-2Q)6i2vQS6?rp!|L?SFC0GF2Q8Ab0;!%*Cg$i zq2O0p=HRHB9x)-VLAOX3@RjCQE7F0i+VM|(*7|ImJIOU@BT~_;ngC( zd-O=R?rz@5(u@#WRua29%xuqNeA%2p4~QKM2n8NtM?XP_sb5TtiWVd62i;FtuCz4Pee=dykcAf4~aO74t*97+7wc7R8e> zR;36{J(ewd@zl0)?Y}ju=KXneaVH_|b)P;2Dd>XeP%pScTF~Lh0P!4Cp@CNF4c3{+ z*xEqx{d>V#AcBQ!r}*3;b9Ys1z@ZJ|^w)Gc5*0~z~kD1fP$QBhPE z2Zfmv`cr%=;q+_!!w-)`ssd`QO$+FcgUzUQw3+$#6lAa}HhR`X$3V64N7W!+|oOxB$CD@D@_9Lefi{`p(l@5jK>!IXxaJq515?pQa1auNN` zV=pK(FCp6icV?@M*?E9525}4qaQRmv4=t*jSX4k+Nas#8jjDO--aN$59ajCR`WddG zs}F;>^>LVA9{^RLq0utP)BfW}SXjW7AA=1p7lSoz=1JiAH=F#weeIoL?KUz2+<6$Z z`^Uo8x>QC>ASzl189bo8a#s5fU2H`M2E_xO15y#PX@BS|BUg^;GoY+)y!MQ%ee+o^ z%-LIiIn3>8Yn&;}N0%xiXjrHLLWfEF zy^0LR<7?Ha>H1(ny*mEvS@0QnH{SWuslDoZAyK9l+*8#?c*4FXj^Fqhlb$MSGGY~>^JZSjvikPe2NZmSE4XDr4una!L^1G^O(3nK z7gW?(4}!&0x(a1;ebfw(ncS_~$DK1ACN6@30@T?U3bmStL%<RZK_PpiH`S!h@a2H?od|oUebrc=YB274TGtf#rd?MYb_(Fg~bXwJ!|d z{OcbdhtN8L^U61St%5M~Bpm{!FHH`70B=<{%{m6|3h)LvV#N>sm;0UsXYy5?H+4b} zF!NwC*0S()q&7tzg0b9jS5_xb5Y)el#rgZ+Fiy;MKbLg-<;7RIzUl2OrkWTq9bUQy zrAIfCTB4zIEx_V^({?UZNA3a>Ptw5@0(?4i$G5K6d?vW57%ZI{=QGPjP!21;QY8m! zI7o+T@VR9?p;=x4t3c3cQ8m&zlcqa+{_pXhJb(T^X95Z^G@<>S%*_)r>%#r{G3o?U zolFN$?A_ciMs1k$&Xd|tP2%r`Flqldnb>WqZK`5AnI9EDZhr9% zFqLZq)bp%f71T`U5$mr~k3pb(KO@xC8Y1Qrp3Kn96{{KCpy^N_qxnTH!t~|vHbR_8-l*=!G zZ47gDjq!W(t4DR$0yJw5pLF$Auxsz#RahNx{qZMHgXhkG0e^nzexn6a-IR?rFu)wL ze`~KjbLTK53vmgCJX{@}Og-?;zkx9}e9%S^z+z)qc@U&`tzfxWa>4fIb%QsBM}ae@ z^+m~{5Ws~W6^R1w&!kNqG>e1Zkr#gCQO`$o8pY?F8zT;#v&%UXxccv42?xLoUR(js z@$eiz`d~5`uvWA908@v0(Qy)2uFTbUn{F@#jXYX_Xg-Xw^JEQX?+OPG@&yyDgV+!X zR+LrbUzzgdvryYZp>S<{zwlXEajY}PzZTh?^5s1oOl3W`^R9qePBqkF-VSj5+o>uR zZoCK3$|U)TE}Z27@LGUjSKD9>2vq6AX!RYRWY&NNbp_OV^?azTEnjyqS5&W4otl>^ z?zNXsB-ur6-3_U(KTz)t!`#{c&LReu-fCFf{vyDexMHAc-CV~uZZ;95YGaiQfx9uU zfOE|TSSvyKs+|fVWCr-Su8HE8S(IfgaCI`fdvu2?7qO=yYS!svqLf0cV<`ZfAW%=d z{hZoVT(Ob2TA@#vhZYC2T|EWv*Gt9-^4$L7750jtNd$M&1{xg$%e?d=xb~N&#;A(M zabCmf=Tc@HTe$tO#t?8Lhyy!va%XvSQiC0AU$XXZ-C6l+1B}-3$qr_QYmBY|OWpAK zyAV8_SWyis#(Zm-n;Pw3snvC;p!3N(m?dtz)H3+h1CSN^i1yE;*j2&6+rfJ;zFG!e zYBy|x$O8Q{%mLiLF)E(xBe8c9Kme;!jX+~7OoBofU-_4;psX4l$zUwhE}+GL1RHft zSJWY@9Uba~S6PqD)+b$jhOa4BXE(>7GMUVV$J_U`Kfzx^wHn9H-#2iQR& zR?)$uhWTo|^q*&5Rt3)JHi8C0I;x=gUH&DwxmlclefM5b7LRIwci93`fnMen z8Bzb`{W1sqvq!)dc>1xPia&oWp=%`+AaY1O8M^k{cY*3YJjj8MUlzFoVk2JpX$`hIrMS5T>L2VH!o zqiTk2k(g*bE<7q|WZxS&xw{w>FV|uyx5^>k3vONI4L|T~1=C!5b zN!0%3gAwkD3z}%z0M4_{8^khHd->}5W)r<5V3t_k0@&XHR>TTpMF{35qts$_*FIfq zZuP6r=d*y}aor8&kQiSbfn1pFY$(QH-E!YuAxhF%n&UXODJ{g|fnG#M?WumU;GJ zZg+3^{I}u-XQBj`--}|a@u8Dhw%Gr@|0f0i^Oa+({3_;_nJHD6Y){^!ytsznO@;in F{r|_@0MY;e literal 0 HcmV?d00001 diff --git a/examples/telescope/scripts/codegen.js b/examples/telescope/scripts/codegen.js new file mode 100644 index 000000000..90d452594 --- /dev/null +++ b/examples/telescope/scripts/codegen.js @@ -0,0 +1,42 @@ +const { join, resolve } = require('path'); +const telescope = require('@osmonauts/telescope').default; + +const protoDirs = [join(__dirname, '/../proto')]; + +telescope({ + protoDirs, + outPath: join(__dirname, '../codegen'), + options: { + tsDisable: { + files: [ + 'ibc/core/types/v1/genesis.ts', + 'google/protobuf/descriptor.ts', + 'google/protobuf/struct.ts' + ] + }, + prototypes: { + allowUndefinedTypes: true, + fieldDefaultIsOptional: true, + includePackageVar: false, + typingsFormat: { + useDeepPartial: false, + useExact: false, + timestamp: 'date', + duration: 'duration' + }, + }, + aminoEncoding: { + enabled: true + }, + lcdClients: { + enabled: true + }, + rpcClients: { + enabled: true, + camelCase: true + } + } +}).then(() => { + console.log('✨ all done!'); +}); + diff --git a/examples/telescope/styles/Home.module.css b/examples/telescope/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/telescope/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/telescope/styles/globals.css b/examples/telescope/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/telescope/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/telescope/tsconfig.json b/examples/telescope/tsconfig.json new file mode 100644 index 000000000..99710e857 --- /dev/null +++ b/examples/telescope/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +} diff --git a/examples/telescope/utils.ts b/examples/telescope/utils.ts new file mode 100644 index 000000000..83e05bd10 --- /dev/null +++ b/examples/telescope/utils.ts @@ -0,0 +1,24 @@ +import { WalletStatus } from "./components"; +import { CosmosWalletStatus } from "@cosmos-kit/types"; + +export const mapStatusFromCosmosWallet = (status: CosmosWalletStatus, error?: Error): WalletStatus => { + switch (status) { + case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: + return WalletStatus.NotInit; + case CosmosWalletStatus.Connecting + || CosmosWalletStatus.ChoosingWallet + || CosmosWalletStatus.PendingWalletConnect + || CosmosWalletStatus.EnablingWallet: + return WalletStatus.Loading; + case CosmosWalletStatus.Connected: + return WalletStatus.Loaded; + case CosmosWalletStatus.Errored: + if (error && error.message === 'Request rejected') { + return WalletStatus.NotInit; + } else { + return WalletStatus.Rejected; + } + default: + return WalletStatus.NotInit; + } +} \ No newline at end of file diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 35dfff339..bb52bd089 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -17,7 +17,7 @@ "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "^0.8.1", + "chain-registry": "^0.10.3", "chakra-react-select": "^4.1.4", "fast-fuzzy": "^1.11.2", "framer-motion": "7.2.1", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e11218acf..e0d59ce71 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -17,7 +17,7 @@ "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "^0.8.1", + "chain-registry": "^0.10.3", "chakra-react-select": "^4.1.4", "fast-fuzzy": "^1.11.2", "framer-motion": "7.2.1", diff --git a/yarn.lock b/yarn.lock index c3447497b..9bdd0a4f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2156,10 +2156,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@chain-registry/types@^0.6.0": - version "0.6.0" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.6.0.tgz#78f66fff12ab12924f590b0e1246a344e005db90" - integrity sha512-yQfTViCZV1+B2TMvLsT52BtCsdvSaa2upTwXnCSA+Wmq/S4SxflxOmAFWi8Jp053vPt/3ucy5BuZifNH9s1DRA== +"@chain-registry/types@^0.7.1": + version "0.7.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz#2f8adc5d6319b93df61ecadc6f81bde3c1c03948" + integrity sha512-KJpW4CnUEDyVFUigKrTMdEWJhTFPmPk1gFY/SLuaoHXfNYLSMAS3UJJtWUqiVaEwxAgyeilSgoNkuB5EaW5KaQ== dependencies: "@babel/runtime" "^7.18.3" "@keplr-wallet/cosmos" "^0.10.3" @@ -5125,15 +5125,15 @@ dependencies: "@octokit/openapi-types" "^12.11.0" -"@osmonauts/ast@^0.14.7": - version "0.14.7" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.14.7.tgz#2388744dc4160335b970ff6ff158e4a9b487cfbc" - integrity sha512-oSGRDrmO8wLSISBFGxLr3LtsuZE6tyqovgeiarW2lC+t4LIdlVff7OaTEehqn6RLgGnoFWCGw9mfHeTJET8zGg== +"@osmonauts/ast@^0.15.0": + version "0.15.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.15.0.tgz#2f117949b833d323e5ca7832c9d4382bf962b0b0" + integrity sha512-55VKOv/1P4HRPnsgTpFIMIOY45HLpDXdMA3t4yzonupmOXfwghQb2Tmw68HGo7xwwYQy7DkpZXhcYrset8Ufmw== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.11.5" - "@osmonauts/types" "^0.9.4" + "@osmonauts/proto-parser" "^0.12.0" + "@osmonauts/types" "^0.10.0" "@osmonauts/utils" "^0.3.13" case "1.6.3" dotty "0.1.2" @@ -5160,22 +5160,22 @@ "@babel/runtime" "^7.18.9" axios "0.27.2" -"@osmonauts/proto-parser@^0.11.5": - version "0.11.5" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.11.5.tgz#520fda78f671878d514212e1877440e644f5fd61" - integrity sha512-y7Gkc9bBLjeBL3wzLoMOCaDWvi7CGmR9ELqTSB0f9Qz44oeFubyZSDXMCnvAu87NZM/9d5T+dHSybHRGzyPTMw== +"@osmonauts/proto-parser@^0.12.0": + version "0.12.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.12.0.tgz#191763a5b0d790acddc0426b910070263fe3bbcb" + integrity sha512-xxRNmErNk3Tuvv6fFxwgVgRXCa3hKwS0sGpOkPQHNxfafHTI0heUyfT4htf0XIfK32afc8I6ugqHSF7wnLWMRA== dependencies: "@babel/runtime" "^7.18.9" - "@osmonauts/types" "^0.9.4" + "@osmonauts/types" "^0.10.0" "@pyramation/protobufjs" "6.11.3" dotty "0.1.2" glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.18.7": - version "0.18.7" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.18.7.tgz#75e60e21f3311d08f415a541a62054a81571b6d5" - integrity sha512-6dKVxOthxaVdcdG+xDPRrLLwsl0zqwDCJJh+lmSaOpfa1eK6ZIZx48Z/YhMUY5P29sXaMJU1r/iANWG0ctlLhw== +"@osmonauts/telescope@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.19.0.tgz#e18d82becf0fcff34f361ccafccaafa852e2bb15" + integrity sha512-yqeDekvZw+7ldCIq2OXs/NbiVCSeeHpCleY9z++5PE2kXOMBPigxq4kdWbXPir5IPBUTtJ9IxGyUFciLffN0GQ== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -5190,9 +5190,9 @@ "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" "@cosmwasm/ts-codegen" "0.13.1" - "@osmonauts/ast" "^0.14.7" - "@osmonauts/proto-parser" "^0.11.5" - "@osmonauts/types" "^0.9.4" + "@osmonauts/ast" "^0.15.0" + "@osmonauts/proto-parser" "^0.12.0" + "@osmonauts/types" "^0.10.0" "@osmonauts/utils" "^0.3.13" "@types/parse-package-name" "0.1.0" case "1.6.3" @@ -5210,10 +5210,10 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/types@^0.9.4": - version "0.9.4" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.9.4.tgz#62ae85ed8387f11add4b682414d697d268349ce8" - integrity sha512-OpPFOlvAeAQzmHl9+mtuBFYPaoW3K3Rro2j39duPDo52MP/cRCaoqhVAlhQD3NyorN1lgF0TefrnSapYg+Sw/Q== +"@osmonauts/types@^0.10.0": + version "0.10.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.10.0.tgz#99873eedf1b41864459747f24853925e589ca7c3" + integrity sha512-SNgspDv9+rQX8tkmx/bxiE2LqSRPb7lE0BHG1iFR1VpaGSz3WArv4/ke8+Ey3mAdppuYl3ETRpSDf+PFm9oKjA== dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/utils" "^0.3.13" @@ -6772,13 +6772,13 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chain-registry@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.8.1.tgz#b10e32d8cea9987dea3a21b22e5425b998aa2b49" - integrity sha512-dbkze5uzezXfZSOB9w9Z4iojmNTQerNiNWw8TP0Tl8iz+ZjIbutpCVQzdu2W7e/WjavwTixiabLQKVn+h5NjYQ== +chain-registry@^0.10.3: + version "0.10.3" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz#d3ff23c49a670adf710e5c33e2bb247b9695c1c3" + integrity sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA== dependencies: "@babel/runtime" "^7.18.3" - "@chain-registry/types" "^0.6.0" + "@chain-registry/types" "^0.7.1" chakra-react-select@^4.1.4: version "4.1.4" From 479bca6c521eaf8b5f06daaf856ea90b63177a5a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 11 Sep 2022 15:11:09 -0400 Subject: [PATCH 072/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9 - @cosmonauts/connect-chain-with-telescope@0.1.9 - @cosmonauts/connect-chain@0.1.10 - @cosmonauts/connect-multi-chain@0.1.10 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 8 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 examples/telescope/CHANGELOG.md diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 8b1137ab6..139740528 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.7...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8) (2022-09-08) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index f2075cf1a..01e5c4055 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md new file mode 100644 index 000000000..7279c5d5d --- /dev/null +++ b/examples/telescope/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.1.9 (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 4994f6f28..2044bf6d9 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 78573e340..537e7267c 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index bb52bd089..53b8f864e 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.9", + "version": "0.1.10", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index be03c55bf..fda489df9 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.9...@cosmonauts/connect-multi-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.8...@cosmonauts/connect-multi-chain@0.1.9) (2022-09-08) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e0d59ce71..b3dd5ef59 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.9", + "version": "0.1.10", "private": true, "scripts": { "dev": "next dev", From 6de1da65d41ce64fab84bf5520950c3cce136d26 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Sat, 17 Sep 2022 22:23:49 +0800 Subject: [PATCH 073/262] using new cosmos-kit --- package.json | 8 +- .../connect-chain/components/address-card.tsx | 81 - templates/connect-chain/components/index.tsx | 8 +- .../components/react/address-card.tsx | 78 + .../components/{ => react}/astronaut.tsx | 0 .../components/react/chain-card.tsx | 38 + .../connect-chain/components/react/index.ts | 6 + .../components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 183 + .../components/{ => react}/warn-block.tsx | 6 +- templates/connect-chain/components/types.tsx | 7 +- .../connect-chain/components/user-card.tsx | 32 - .../connect-chain/components/user-info.tsx | 57 - .../components/wallet-connect.tsx | 110 - templates/connect-chain/components/wallet.tsx | 147 + templates/connect-chain/config/chain-infos.ts | 17 + templates/connect-chain/package.json | 8 +- .../pages/{index.tsx => [chainName].tsx} | 93 +- templates/connect-chain/pages/_app.tsx | 67 +- templates/connect-chain/utils.ts | 37 +- .../components/address-card.tsx | 81 - .../connect-multi-chain/components/index.tsx | 10 +- .../components/react/address-card.tsx | 78 + .../components/{ => react}/astronaut.tsx | 0 .../components/{ => react}/chain-dropdown.tsx | 58 +- .../components/{ => react}/choose-chain.tsx | 14 +- .../components/react/index.ts | 7 + .../components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 183 + .../components/{ => react}/warn-block.tsx | 6 +- .../connect-multi-chain/components/types.tsx | 13 +- .../components/user-card.tsx | 32 - .../components/user-info.tsx | 57 - .../components/wallet-connect.tsx | 109 - .../connect-multi-chain/components/wallet.tsx | 151 + .../connect-multi-chain/config/chain-infos.ts | 30 +- templates/connect-multi-chain/next.config.js | 7 +- templates/connect-multi-chain/package.json | 6 +- templates/connect-multi-chain/pages/_app.tsx | 67 +- templates/connect-multi-chain/pages/index.tsx | 110 +- templates/connect-multi-chain/utils.ts | 32 +- yarn.lock | 4584 +++++++---------- 42 files changed, 2931 insertions(+), 3753 deletions(-) delete mode 100644 templates/connect-chain/components/address-card.tsx create mode 100644 templates/connect-chain/components/react/address-card.tsx rename templates/connect-chain/components/{ => react}/astronaut.tsx (100%) create mode 100644 templates/connect-chain/components/react/chain-card.tsx create mode 100644 templates/connect-chain/components/react/index.ts create mode 100644 templates/connect-chain/components/react/user-card.tsx create mode 100644 templates/connect-chain/components/react/wallet-connect.tsx rename templates/connect-chain/components/{ => react}/warn-block.tsx (93%) delete mode 100644 templates/connect-chain/components/user-card.tsx delete mode 100644 templates/connect-chain/components/user-info.tsx delete mode 100644 templates/connect-chain/components/wallet-connect.tsx create mode 100644 templates/connect-chain/components/wallet.tsx create mode 100644 templates/connect-chain/config/chain-infos.ts rename templates/connect-chain/pages/{index.tsx => [chainName].tsx} (50%) delete mode 100644 templates/connect-multi-chain/components/address-card.tsx create mode 100644 templates/connect-multi-chain/components/react/address-card.tsx rename templates/connect-multi-chain/components/{ => react}/astronaut.tsx (100%) rename templates/connect-multi-chain/components/{ => react}/chain-dropdown.tsx (84%) rename templates/connect-multi-chain/components/{ => react}/choose-chain.tsx (70%) create mode 100644 templates/connect-multi-chain/components/react/index.ts create mode 100644 templates/connect-multi-chain/components/react/user-card.tsx create mode 100644 templates/connect-multi-chain/components/react/wallet-connect.tsx rename templates/connect-multi-chain/components/{ => react}/warn-block.tsx (93%) delete mode 100644 templates/connect-multi-chain/components/user-card.tsx delete mode 100644 templates/connect-multi-chain/components/user-info.tsx delete mode 100644 templates/connect-multi-chain/components/wallet-connect.tsx create mode 100644 templates/connect-multi-chain/components/wallet.tsx diff --git a/package.json b/package.json index 2eaccb688..8970551cb 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,11 @@ "repository": { "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" + }, + "dependencies": { + "@cosmos-kit/core": "0.12.3", + "@cosmos-kit/keplr": "0.12.3", + "@cosmos-kit/react": "0.12.7", + "@cosmos-kit/registry": "0.12.6" } -} \ No newline at end of file +} diff --git a/templates/connect-chain/components/address-card.tsx b/templates/connect-chain/components/address-card.tsx deleted file mode 100644 index e8fa040fa..000000000 --- a/templates/connect-chain/components/address-card.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import React, { ReactNode } from "react"; -import { - Text, - useColorModeValue, - Button, - Icon, - useClipboard, - Box, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "./types"; - -export const ConnectedShowAddress = ({ - address, - isLoading, -}: { - address?: string; - isLoading: boolean; -}) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); - - return ( - - - - ); -}; - -export const CopyAddressBtn = ({ - walletStatus, - connected, -}: { - walletStatus: WalletStatus; - connected: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Loaded: - return <>{connected}; - default: - return <>; - } -}; diff --git a/templates/connect-chain/components/index.tsx b/templates/connect-chain/components/index.tsx index 36d480526..3e7078f7c 100644 --- a/templates/connect-chain/components/index.tsx +++ b/templates/connect-chain/components/index.tsx @@ -1,8 +1,4 @@ export * from "./types"; -export * from "./wallet-connect"; -export * from "./user-info"; -export * from "./user-card"; -export * from "./astronaut"; -export * from "./address-card"; +export * from "./react"; export * from "./features"; -export * from "./warn-block"; +export * from "./wallet"; \ No newline at end of file diff --git a/templates/connect-chain/components/react/address-card.tsx b/templates/connect-chain/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/templates/connect-chain/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/templates/connect-chain/components/astronaut.tsx b/templates/connect-chain/components/react/astronaut.tsx similarity index 100% rename from templates/connect-chain/components/astronaut.tsx rename to templates/connect-chain/components/react/astronaut.tsx diff --git a/templates/connect-chain/components/react/chain-card.tsx b/templates/connect-chain/components/react/chain-card.tsx new file mode 100644 index 000000000..9e79554f0 --- /dev/null +++ b/templates/connect-chain/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from "@chakra-ui/react" +import { ChainCardProps } from "../types" + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/templates/connect-chain/components/react/index.ts b/templates/connect-chain/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/templates/connect-chain/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/templates/connect-chain/components/react/user-card.tsx b/templates/connect-chain/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/templates/connect-chain/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/templates/connect-chain/components/react/wallet-connect.tsx b/templates/connect-chain/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/templates/connect-chain/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/templates/connect-chain/components/warn-block.tsx b/templates/connect-chain/components/react/warn-block.tsx similarity index 93% rename from templates/connect-chain/components/warn-block.tsx rename to templates/connect-chain/components/react/warn-block.tsx index b794e9e24..ce056e879 100644 --- a/templates/connect-chain/components/warn-block.tsx +++ b/templates/connect-chain/components/react/warn-block.tsx @@ -1,6 +1,6 @@ import React, { ReactNode } from "react"; import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "./types"; +import { WalletStatus } from "@cosmos-kit/core"; export const WarnBlock = ({ wordOfWarning, @@ -73,13 +73,17 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, + error, }: { walletStatus: WalletStatus; rejected: ReactNode; + error: ReactNode; }) => { switch (walletStatus) { case WalletStatus.Rejected: return <>{rejected}; + case WalletStatus.Error: + return <>{error}; default: return <>; } diff --git a/templates/connect-chain/components/types.tsx b/templates/connect-chain/components/types.tsx index 0ab2641c2..866512e75 100644 --- a/templates/connect-chain/components/types.tsx +++ b/templates/connect-chain/components/types.tsx @@ -2,7 +2,7 @@ import { MouseEventHandler, ReactNode } from "react"; import { IconType } from "react-icons"; export interface ChooseChainInfo { - chainId: string; + chainName: string; chainRoute?: string; label: string; value: string; @@ -37,3 +37,8 @@ export interface FeatureProps { text: string; href: string; } + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/templates/connect-chain/components/user-card.tsx b/templates/connect-chain/components/user-card.tsx deleted file mode 100644 index 4c5f8b39c..000000000 --- a/templates/connect-chain/components/user-card.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React, { ReactNode } from "react"; -import { Stack, useColorModeValue } from "@chakra-ui/react"; - -export const ConnectWalletCard = ({ - userInfo, - addressBtn, - connectWalletButton, -}: { - userInfo: ReactNode; - addressBtn: ReactNode; - connectWalletButton: ReactNode; -}) => { - return ( - - {userInfo} - {addressBtn} - {connectWalletButton} - - ); -}; diff --git a/templates/connect-chain/components/user-info.tsx b/templates/connect-chain/components/user-info.tsx deleted file mode 100644 index e658ce356..000000000 --- a/templates/connect-chain/components/user-info.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import React from "react"; -import { - Text, - Stack, - Box, - Image, - Icon, - Center, - useColorModeValue, -} from "@chakra-ui/react"; -import { IoMdWallet } from "react-icons/io"; -import { ConnectedUserCardType } from "./types"; - -export const ConnectedUserInfo = ({ - walletIcon, - username, - icon, -}: ConnectedUserCardType) => { - return ( - - - {icon} - - {username && ( - - {walletIcon ? ( - - - - ) : ( -
- -
- )} - - {username} - -
- )} -
- ); -}; diff --git a/templates/connect-chain/components/wallet-connect.tsx b/templates/connect-chain/components/wallet-connect.tsx deleted file mode 100644 index 3394531f5..000000000 --- a/templates/connect-chain/components/wallet-connect.tsx +++ /dev/null @@ -1,110 +0,0 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon } from "@chakra-ui/react"; - -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; - -export const ConnectWalletButton = ({ - buttonText, - isLoading, - isDisabled, - icon, - onClickConnectBtn, -}: ConnectWalletType) => { - return ( - - ); -}; - -export const Disconnect = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connected = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connecting = () => { - return ; -}; - -export const Rejected = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const NotExist = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const ConnectWalletButtonStatus = ({ - walletStatus, - disconnect, - connecting, - connected, - rejected, - notExist, -}: { - walletStatus: WalletStatus; - disconnect: ReactNode; - connecting: ReactNode; - connected: ReactNode; - rejected: ReactNode; - notExist: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.NotInit: - return <>{disconnect}; - case WalletStatus.Loading: - return <>{connecting}; - case WalletStatus.Loaded: - return <>{connected}; - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.NotExist: - return <>{notExist}; - default: - return <>{disconnect}; - } -}; diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx new file mode 100644 index 000000000..1e67d7927 --- /dev/null +++ b/templates/connect-chain/components/wallet.tsx @@ -0,0 +1,147 @@ +import { useWallet } from "@cosmos-kit/react"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; +import { MouseEventHandler, useEffect } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/registry"; +import { ChainName } from "@cosmos-kit/core"; +import { chainInfos } from "../config/chain-infos"; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { connect, disconnect, openModal, setCurrentChain, + walletStatus, username, address, message, + currentChainName, currentWalletName } = walletManager; + + const chain = chainInfos.find(c => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openModal(); + await connect(); + }; + + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openModal(); + // await disconnect(); + }; + + const onClickOpenModal: MouseEventHandler = (e) => { + e.preventDefault(); + openModal(); + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={ + + } + error={ + + } + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +} \ No newline at end of file diff --git a/templates/connect-chain/config/chain-infos.ts b/templates/connect-chain/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/templates/connect-chain/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 53b8f864e..93f956946 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,13 +13,13 @@ "@chakra-ui/react": "^2.2.8", "@cosmjs/cosmwasm-stargate": "0.28.13", "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/react": "^0.11.0", - "@cosmos-kit/types": "^0.11.0", + "@cosmos-kit/core": "^0.12.3", + "@cosmos-kit/keplr": "^0.12.7", + "@cosmos-kit/react": "^0.12.7", + "@cosmos-kit/registry": "^0.12.6", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", "chain-registry": "^0.10.3", - "chakra-react-select": "^4.1.4", - "fast-fuzzy": "^1.11.2", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/[chainName].tsx similarity index 50% rename from templates/connect-chain/pages/index.tsx rename to templates/connect-chain/pages/[chainName].tsx index 4c9a66329..a0d6054f3 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/[chainName].tsx @@ -1,4 +1,3 @@ -import { MouseEventHandler } from "react"; import Head from "next/head"; import { Box, @@ -14,82 +13,22 @@ import { Icon, useColorMode, useColorModeValue, - GridItem, - Center, } from "@chakra-ui/react"; import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { FiAlertTriangle } from "react-icons/fi"; -import { useWalletManager, useWallet } from "@cosmos-kit/react"; import { - Connected, - ConnectedUserInfo, - Connecting, - Disconnect, - NotExist, - Rejected, - ConnectWalletButtonStatus, - Astronaut, - ConnectedShowAddress, Product, Dependency, - ConnectStatusWarn, - RejectedWarn, - CopyAddressBtn, - ConnectWalletCard, + WalletSection, } from "../components"; -import { mapStatusFromCosmosWallet } from "../utils"; import { dependencies, products } from "../config"; -import { WalletStatus } from "../components"; +import { useRouter } from "next/router"; + export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { connect, disconnect } = useWalletManager(); - const { status, error, name, address } = useWallet(); - const walletStatus = mapStatusFromCosmosWallet(status, error as Error); - - const onClickConnect: MouseEventHandler = (e) => { - e.preventDefault(); - connect(); - }; - const onClickDisconnect: MouseEventHandler = (e) => { - e.preventDefault(); - disconnect(); - }; - - const userInfo = walletStatus === WalletStatus.Loaded && ( - } /> - ); - const addressBtn = ( - } - /> - ); - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - notExist={} - /> - ); - const connectWalletWarn = ( - } - wordOfWarning="Warning: There is not enough chain information to connect to this chain." - /> - } - /> - ); + const router = useRouter(); + let { chainName } = router.query; + chainName = chainName ? chainName as string : undefined; return ( @@ -128,25 +67,7 @@ export default function Home() { -
- - {connectWalletWarn} - - - - -
+ chain.network_type !== 'testnet') + .map((chain) => convert(chain)); -const LOCAL_STORAGE_KEY = 'connectedWalletId'; function MyApp({ Component, pageProps }: AppProps) { + const walletManager = new WalletManager( + chains, + allWallets + ) + // walletManager.useWallets('keplr-extension'); + // walletManager.useChains(); + + walletManager.setAutos({ + closeModalWhenWalletIsConnected: false, + closeModalWhenWalletIsDisconnected: true, + closeModalWhenWalletIsRejected: false, + }) + return ( -

Loading...

} - localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Juno1} - getSigningCosmWasmClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - getSigningStargateClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - > - + + - -
- ); + + + ) } -export default MyApp; +export default MyApp diff --git a/templates/connect-chain/utils.ts b/templates/connect-chain/utils.ts index 5412f8b82..0aad51717 100644 --- a/templates/connect-chain/utils.ts +++ b/templates/connect-chain/utils.ts @@ -1,27 +1,12 @@ -import { WalletStatus } from './components'; -import { CosmosWalletStatus } from '@cosmos-kit/types'; +import { Chain } from '@chain-registry/types'; +import { ChainRegistry } from '@cosmos-kit/core'; -export const mapStatusFromCosmosWallet = ( - status: CosmosWalletStatus, - error?: Error -): WalletStatus => { - switch (status) { - case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: - return WalletStatus.NotInit; - case CosmosWalletStatus.Connecting || - CosmosWalletStatus.ChoosingWallet || - CosmosWalletStatus.PendingWalletConnect || - CosmosWalletStatus.EnablingWallet: - return WalletStatus.Loading; - case CosmosWalletStatus.Connected: - return WalletStatus.Loaded; - case CosmosWalletStatus.Errored: - if (error && error.message === 'Request rejected') { - return WalletStatus.NotInit; - } else { - return WalletStatus.Rejected; - } - default: - return WalletStatus.NotInit; - } -}; +// TODO discuss Chain +// maybe simplify so we can use `Chain` throughout the app +export function convert(chain: Chain): ChainRegistry { + return { + name: chain.chain_name, + active: false, + raw: chain, + }; +} \ No newline at end of file diff --git a/templates/connect-multi-chain/components/address-card.tsx b/templates/connect-multi-chain/components/address-card.tsx deleted file mode 100644 index e8fa040fa..000000000 --- a/templates/connect-multi-chain/components/address-card.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import React, { ReactNode } from "react"; -import { - Text, - useColorModeValue, - Button, - Icon, - useClipboard, - Box, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "./types"; - -export const ConnectedShowAddress = ({ - address, - isLoading, -}: { - address?: string; - isLoading: boolean; -}) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); - - return ( - - - - ); -}; - -export const CopyAddressBtn = ({ - walletStatus, - connected, -}: { - walletStatus: WalletStatus; - connected: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Loaded: - return <>{connected}; - default: - return <>; - } -}; diff --git a/templates/connect-multi-chain/components/index.tsx b/templates/connect-multi-chain/components/index.tsx index 3481e63ce..21aad9a64 100644 --- a/templates/connect-multi-chain/components/index.tsx +++ b/templates/connect-multi-chain/components/index.tsx @@ -1,10 +1,4 @@ export * from "./types"; -export * from "./wallet-connect"; -export * from "./user-info"; -export * from "./user-card"; -export * from "./astronaut"; -export * from "./choose-chain"; -export * from "./chain-dropdown"; -export * from "./address-card"; +export * from "./react"; export * from "./features"; -export * from "./warn-block"; +export * from "./wallet"; diff --git a/templates/connect-multi-chain/components/react/address-card.tsx b/templates/connect-multi-chain/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/templates/connect-multi-chain/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/templates/connect-multi-chain/components/astronaut.tsx b/templates/connect-multi-chain/components/react/astronaut.tsx similarity index 100% rename from templates/connect-multi-chain/components/astronaut.tsx rename to templates/connect-multi-chain/components/react/astronaut.tsx diff --git a/templates/connect-multi-chain/components/chain-dropdown.tsx b/templates/connect-multi-chain/components/react/chain-dropdown.tsx similarity index 84% rename from templates/connect-multi-chain/components/chain-dropdown.tsx rename to templates/connect-multi-chain/components/react/chain-dropdown.tsx index ab756d1b7..6d9e80b9b 100644 --- a/templates/connect-multi-chain/components/chain-dropdown.tsx +++ b/templates/connect-multi-chain/components/react/chain-dropdown.tsx @@ -10,12 +10,9 @@ import { SystemStyleObject, SkeletonCircle, Skeleton, - Center, } from "@chakra-ui/react"; import { Searcher } from "fast-fuzzy"; import { FiChevronDown } from "react-icons/fi"; -import { FaSlash } from "react-icons/fa"; -import { HiOutlineLink } from "react-icons/hi"; import { AsyncSelect, OptionProps, @@ -23,13 +20,12 @@ import { GroupBase, DropdownIndicatorProps, PlaceholderProps, - ClearIndicatorProps, } from "chakra-react-select"; import { - ChainOption, + DataType, ChangeChainDropdownType, ChangeChainMenuType, -} from "./types"; +} from "../types"; const SkeletonOptions = () => { return ( @@ -88,13 +84,15 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { backgroundClip: "content-box", }, }), - dropdownIndicator: (provided: SystemStyleObject) => ({ - ...provided, - bg: "transparent", - }), clearIndicator: (provided: SystemStyleObject) => ({ ...provided, borderRadius: "full", + color: useColorModeValue("blackAlpha.600", "whiteAlpha.600"), + }), + dropdownIndicator: (provided: SystemStyleObject) => ({ + ...provided, + bg: "transparent", + pl: 1.5, }), option: ( provided: SystemStyleObject, @@ -111,15 +109,15 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { ? "primary.200" : "primary.100" : state.isFocused - ? "blackAlpha.200" - : "transparent", + ? "blackAlpha.200" + : "transparent", state.isSelected ? state.isFocused ? "primary.600" : "primary.500" : state.isFocused - ? "whiteAlpha.200" - : "transparent" + ? "whiteAlpha.200" + : "transparent" ), _notFirst: { mt: 2, @@ -134,30 +132,9 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const IndicatorSeparator = () => { return null; }; - const ClearIndicator = ( - props: ClearIndicatorProps> - ) => ( - -
- - -
-
- ); const DropdownIndicator = ({ ...props - }: DropdownIndicatorProps>) => { + }: DropdownIndicatorProps>) => { return ( { ); }; - const Placeholder = (props: PlaceholderProps) => { + const Placeholder = (props: PlaceholderProps) => { if (props.hasValue) { return ( @@ -215,7 +192,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const CustomOption = ({ children, ...props - }: OptionProps>) => { + }: OptionProps>) => { return ( { chakraStyles={customStyles} isClearable={true} isMulti={false} - isOptionDisabled={(option) => option.isDisabled || false} + isOptionDisabled={(option) => option.isDisabled} blurInputOnSelect={true} controlShouldRenderValue={false} loadingMessage={() => } @@ -277,7 +254,6 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { components={{ DropdownIndicator, IndicatorSeparator, - ClearIndicator, Placeholder, Option: CustomOption, }} @@ -291,7 +267,7 @@ export const ChangeChainDropdown = ({ onChange, }: ChangeChainDropdownType) => { return ( - + ); diff --git a/templates/connect-multi-chain/components/choose-chain.tsx b/templates/connect-multi-chain/components/react/choose-chain.tsx similarity index 70% rename from templates/connect-multi-chain/components/choose-chain.tsx rename to templates/connect-multi-chain/components/react/choose-chain.tsx index 7faec20ac..4dc457016 100644 --- a/templates/connect-multi-chain/components/choose-chain.tsx +++ b/templates/connect-multi-chain/components/react/choose-chain.tsx @@ -4,25 +4,25 @@ import { ChooseChainInfo, ChainOption, handleSelectChainDropdown, -} from "./types"; +} from "../types"; export function ChooseChain({ - chainId, + chainName, chainInfos, onChange, }: { - chainId?: string; + chainName?: string; chainInfos: ChooseChainInfo[]; onChange: handleSelectChainDropdown; }) { const [selectedItem, setSelectedItem] = useState(); useEffect(() => { - if (chainId && chainInfos.length > 0) + if (chainName && chainInfos.length > 0) setSelectedItem( - chainInfos.filter((options) => options.chainId === chainId)[0] + chainInfos.filter((options) => options.chainName === chainName)[0] ); - if (!chainId) setSelectedItem(undefined); - }, [chainId]); + if (!chainName) setSelectedItem(undefined); + }, [chainName]); return ( { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/templates/connect-multi-chain/components/react/wallet-connect.tsx b/templates/connect-multi-chain/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/templates/connect-multi-chain/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/templates/connect-multi-chain/components/warn-block.tsx b/templates/connect-multi-chain/components/react/warn-block.tsx similarity index 93% rename from templates/connect-multi-chain/components/warn-block.tsx rename to templates/connect-multi-chain/components/react/warn-block.tsx index b794e9e24..ce056e879 100644 --- a/templates/connect-multi-chain/components/warn-block.tsx +++ b/templates/connect-multi-chain/components/react/warn-block.tsx @@ -1,6 +1,6 @@ import React, { ReactNode } from "react"; import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "./types"; +import { WalletStatus } from "@cosmos-kit/core"; export const WarnBlock = ({ wordOfWarning, @@ -73,13 +73,17 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, + error, }: { walletStatus: WalletStatus; rejected: ReactNode; + error: ReactNode; }) => { switch (walletStatus) { case WalletStatus.Rejected: return <>{rejected}; + case WalletStatus.Error: + return <>{error}; default: return <>; } diff --git a/templates/connect-multi-chain/components/types.tsx b/templates/connect-multi-chain/components/types.tsx index 0b4dfd058..1b487f818 100644 --- a/templates/connect-multi-chain/components/types.tsx +++ b/templates/connect-multi-chain/components/types.tsx @@ -1,9 +1,18 @@ import { MouseEventHandler, ReactNode, RefObject } from "react"; import { IconType } from "react-icons"; -export interface ChooseChainInfo { +export interface DataType extends OptionBase { + isDisabled?: boolean; + label: string; + value: string; + icon?: string; chainId: string; chainRoute?: string; +} + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; label: string; value: string; icon?: string; @@ -44,7 +53,7 @@ export interface ChainOption extends OptionBase { label: string; value: string; icon?: string; - chainId: string; + chainName: string; chainRoute?: string; } diff --git a/templates/connect-multi-chain/components/user-card.tsx b/templates/connect-multi-chain/components/user-card.tsx deleted file mode 100644 index 4c5f8b39c..000000000 --- a/templates/connect-multi-chain/components/user-card.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React, { ReactNode } from "react"; -import { Stack, useColorModeValue } from "@chakra-ui/react"; - -export const ConnectWalletCard = ({ - userInfo, - addressBtn, - connectWalletButton, -}: { - userInfo: ReactNode; - addressBtn: ReactNode; - connectWalletButton: ReactNode; -}) => { - return ( - - {userInfo} - {addressBtn} - {connectWalletButton} - - ); -}; diff --git a/templates/connect-multi-chain/components/user-info.tsx b/templates/connect-multi-chain/components/user-info.tsx deleted file mode 100644 index e658ce356..000000000 --- a/templates/connect-multi-chain/components/user-info.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import React from "react"; -import { - Text, - Stack, - Box, - Image, - Icon, - Center, - useColorModeValue, -} from "@chakra-ui/react"; -import { IoMdWallet } from "react-icons/io"; -import { ConnectedUserCardType } from "./types"; - -export const ConnectedUserInfo = ({ - walletIcon, - username, - icon, -}: ConnectedUserCardType) => { - return ( - - - {icon} - - {username && ( - - {walletIcon ? ( - - - - ) : ( -
- -
- )} - - {username} - -
- )} -
- ); -}; diff --git a/templates/connect-multi-chain/components/wallet-connect.tsx b/templates/connect-multi-chain/components/wallet-connect.tsx deleted file mode 100644 index 0cc029af4..000000000 --- a/templates/connect-multi-chain/components/wallet-connect.tsx +++ /dev/null @@ -1,109 +0,0 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon } from "@chakra-ui/react"; - -import { WalletStatus } from "./types"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "./types"; - -export const ConnectWalletButton = ({ - buttonText, - isLoading, - isDisabled, - icon, - onClickConnectBtn, -}: ConnectWalletType) => { - return ( - - ); -}; - -export const Disconnect = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connected = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connecting = () => { - return ; -}; - -export const Rejected = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const NotExist = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const ConnectWalletButtonStatus = ({ - walletStatus, - disconnect, - connecting, - connected, - rejected, - notExist, -}: { - walletStatus: WalletStatus; - disconnect: ReactNode; - connecting: ReactNode; - connected: ReactNode; - rejected: ReactNode; - notExist: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.NotInit: - return <>{disconnect}; - case WalletStatus.Loading: - return <>{connecting}; - case WalletStatus.Loaded: - return <>{connected}; - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.NotExist: - return <>{notExist}; - default: - return <>{disconnect}; - } -}; diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx new file mode 100644 index 000000000..d930fbebd --- /dev/null +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -0,0 +1,151 @@ +import { useWallet } from "@cosmos-kit/react"; +import { chainInfos } from "../config"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue } from "@chakra-ui/react"; +import { MouseEventHandler } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, ChainOption, ChooseChain, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, handleSelectChainDropdown, NotExist, Rejected, RejectedWarn, WalletConnectComponent } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/registry"; + +export const WalletSection = () => { + const walletManager = useWallet(); + const { connect, disconnect, openModal, setCurrentChain, + walletStatus, username, address, message, + currentChainName: chainName, currentWalletName } = walletManager; + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openModal(); + await connect(); + }; + + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openModal(); + // await disconnect(); + }; + + const onClickOpenModal: MouseEventHandler = (e) => { + e.preventDefault(); + openModal(); + }; + + const onChainChange: handleSelectChainDropdown = async ( + selectedValue: ChainOption | null + ) => { + setCurrentChain(selectedValue?.chainName); + openModal(); + if (currentWalletName) { + await connect(); + } + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={ + + } + error={ + + } + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + const chooseChain = ( + + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chooseChain} + {connectWalletWarn} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + + + +
+ ); +} \ No newline at end of file diff --git a/templates/connect-multi-chain/config/chain-infos.ts b/templates/connect-multi-chain/config/chain-infos.ts index 6b1c473e2..feded1c45 100644 --- a/templates/connect-multi-chain/config/chain-infos.ts +++ b/templates/connect-multi-chain/config/chain-infos.ts @@ -1,17 +1,17 @@ -import { ChooseChainInfo } from '../components'; +import { ChooseChainInfo } from "../components"; import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; -export const chainInfos: ChooseChainInfo[] = chainsBase.map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainId: chain.chain_id, - label: chain.pretty_name, - value: chain.chain_id, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; -}); +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/templates/connect-multi-chain/next.config.js b/templates/connect-multi-chain/next.config.js index ae887958d..53fde0402 100644 --- a/templates/connect-multi-chain/next.config.js +++ b/templates/connect-multi-chain/next.config.js @@ -1,7 +1,6 @@ /** @type {import('next').NextConfig} */ -const nextConfig = { + +module.exports = { reactStrictMode: true, - swcMinify: true, + swcMinify: true } - -module.exports = nextConfig diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index b3dd5ef59..9bd447be9 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -13,8 +13,10 @@ "@chakra-ui/react": "^2.2.8", "@cosmjs/cosmwasm-stargate": "0.28.13", "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/react": "^0.11.0", - "@cosmos-kit/types": "^0.11.0", + "@cosmos-kit/core": "^0.12.3", + "@cosmos-kit/keplr": "^0.12.7", + "@cosmos-kit/react": "^0.12.7", + "@cosmos-kit/registry": "^0.12.6", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", "chain-registry": "^0.10.3", diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index 07169c83b..4319cf0ab 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -1,42 +1,43 @@ -import '../styles/globals.css'; -import type { AppProps } from 'next/app'; -import { GasPrice } from '@cosmjs/stargate'; +import '../styles/globals.css' +import type { AppProps } from 'next/app' +import { WalletProvider } from '@cosmos-kit/react' import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { ChainInfoID } from '@cosmos-kit/types'; -import { WalletManagerProvider } from '@cosmos-kit/react'; +import { WalletManager, ChainRegistry } from '@cosmos-kit/core'; +import { allWallets } from '@cosmos-kit/registry'; +import { chains as rawChains } from 'chain-registry'; +import { convert } from '../utils'; + + +const chains: ChainRegistry[] = rawChains + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => convert(chain)); -const LOCAL_STORAGE_KEY = 'connectedWalletId'; function MyApp({ Component, pageProps }: AppProps) { + const walletManager = new WalletManager( + chains, + allWallets + ) + // walletManager.useWallets('keplr-extension'); + // walletManager.useChains(); + + walletManager.setAutos({ + closeModalWhenWalletIsConnected: false, + closeModalWhenWalletIsDisconnected: true, + closeModalWhenWalletIsRejected: false, + }) + return ( -

Loading...

} - localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Juno1} - getSigningCosmWasmClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - getSigningStargateClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - > - + + - -
- ); + + + ) } -export default MyApp; +export default MyApp diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index 124aff7a8..e67901191 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -1,4 +1,3 @@ -import { MouseEventHandler, useState } from "react"; import Head from "next/head"; import { Box, @@ -14,101 +13,17 @@ import { Icon, useColorMode, useColorModeValue, - GridItem, - Center, } from "@chakra-ui/react"; import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { FiAlertTriangle } from "react-icons/fi"; -import { useWalletManager, useWallet } from "@cosmos-kit/react"; import { - Connected, - ConnectedUserInfo, - Connecting, - Disconnect, - NotExist, - Rejected, - ConnectWalletButtonStatus, - Astronaut, - ChooseChain, - handleSelectChainDropdown, - ChainOption, - ConnectedShowAddress, Product, Dependency, - ConnectStatusWarn, - RejectedWarn, - CopyAddressBtn, - ConnectWalletCard, + WalletSection, } from "../components"; -import { mapStatusFromCosmosWallet } from "../utils"; -import { chainInfos, dependencies, products } from "../config"; -import { WalletStatus } from "../components"; +import { dependencies, products } from "../config"; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const [chainId, setChainId] = useState(); - const { connect, disconnect } = useWalletManager(); - const { status, error, name, address } = useWallet(chainId); - const walletStatus = mapStatusFromCosmosWallet(status, error as Error); - - const onClickConnect: MouseEventHandler = (e) => { - e.preventDefault(); - connect(); - }; - const onClickDisconnect: MouseEventHandler = (e) => { - e.preventDefault(); - disconnect(); - }; - const onChainChange: handleSelectChainDropdown = ( - selectedValue: ChainOption | null - ) => { - if (selectedValue) { - setChainId(selectedValue.chainId); - } - if (selectedValue === null) setChainId(undefined); - }; - - const userInfo = walletStatus === WalletStatus.Loaded && ( - } /> - ); - const addressBtn = chainId && ( - } - /> - ); - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - notExist={} - /> - ); - const connectWalletWarn = ( - } - wordOfWarning="Warning: There is not enough chain information to connect to this chain." - /> - } - /> - ); - const chooseChain = ( - - ); return ( @@ -147,26 +62,7 @@ export default function Home() {
-
- - {chooseChain} - {connectWalletWarn} - - - - -
+ { - switch (status) { - case CosmosWalletStatus.Uninitialized || CosmosWalletStatus.Disconnected: - return WalletStatus.NotInit; - case CosmosWalletStatus.Connecting - || CosmosWalletStatus.ChoosingWallet - || CosmosWalletStatus.PendingWalletConnect - || CosmosWalletStatus.EnablingWallet: - return WalletStatus.Loading; - case CosmosWalletStatus.Connected: - return WalletStatus.Loaded; - case CosmosWalletStatus.Errored: - if (error && error.message === 'Request rejected') { - return WalletStatus.NotInit; - } else { - return WalletStatus.Rejected; - } - default: - return WalletStatus.NotInit; - } +// TODO discuss Chain +// maybe simplify so we can use `Chain` throughout the app +export function convert(chain: Chain): ChainRegistry { + return { + name: chain.chain_name, + active: false, + raw: chain, + }; } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 9bdd0a4f6..e419396d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,40 +26,17 @@ "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" chokidar "^3.4.0" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" - integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== - dependencies: - "@babel/highlight" "^7.8.3" - -"@babel/code-frame@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" - integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== - dependencies: - "@babel/highlight" "^7.10.4" - -"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": +"@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.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.10.4", "@babel/compat-data@^7.9.6": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz#e9f73efe09af1355b723a7f39b11bad637d7c99c" - integrity sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ== - dependencies: - browserslist "^4.12.0" - invariant "^2.2.4" - semver "^5.5.0" - -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8": - version "7.18.8" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.8.tgz#2483f565faca607b8535590e84e7de323f27764d" - integrity sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1", "@babel/compat-data@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz#72d647b4ff6a4f82878d184613353af1dd0290f9" + integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== "@babel/core@7.18.10": version "7.18.10" @@ -126,20 +103,20 @@ source-map "^0.5.0" "@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.9.tgz#805461f967c77ff46c74ca0460ccf4fe933ddd59" - integrity sha512-1LIb1eL8APMy91/IMW+31ckrfBM4yCoLaVzoDhZUKSM4cu1L1nIidyxkCgzPAgrC5WEz36IPEr/eSeSF9pIn+g== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz#c8fa615c5e88e272564ace3d42fbc8b17bfeb22b" + integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.9" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-module-transforms" "^7.18.9" - "@babel/helpers" "^7.18.9" - "@babel/parser" "^7.18.9" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.1" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -147,11 +124,11 @@ semver "^6.3.0" "@babel/eslint-parser@^7.18.2", "@babel/eslint-parser@^7.5.4": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.18.9.tgz#255a63796819a97b7578751bb08ab9f2a375a031" - integrity sha512-KzSGpMBggz4fKbRbWLNyPVTuQr6cmCcBhOyXTw/fieOVaw5oYAwcAj4a7UKcDYCPxQq+CG1NCDZH9e2JTXquiQ== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz#4f68f6b0825489e00a24b41b6a1ae35414ecd2f4" + integrity sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ== dependencies: - eslint-scope "^5.1.1" + "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" semver "^6.3.0" @@ -164,7 +141,7 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@7.18.13", "@babel/generator@^7.18.10", "@babel/generator@^7.18.13": +"@babel/generator@7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz#59550cbb9ae79b8def15587bdfbaa388c4abf212" integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== @@ -173,41 +150,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.11.5", "@babel/generator@^7.9.6": - version "7.11.6" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz#b868900f81b163b4d464ea24545c61cbac4dc620" - integrity sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA== - dependencies: - "@babel/types" "^7.11.5" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/generator@^7.18.9", "@babel/generator@^7.7.2": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.9.tgz#68337e9ea8044d6ddc690fb29acae39359cca0a5" - integrity sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug== +"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2", "@babel/generator@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz#785596c06425e59334df2ccee63ab166b738419a" + integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== dependencies: - "@babel/types" "^7.18.9" + "@babel/types" "^7.19.0" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.8.4": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz#35bbc74486956fe4251829f9f6c48330e8d0985e" - integrity sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA== - dependencies: - "@babel/types" "^7.8.3" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/helper-annotate-as-pure@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3" - integrity sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA== - dependencies: - "@babel/types" "^7.10.4" - "@babel/helper-annotate-as-pure@^7.16.0", "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" @@ -215,13 +166,6 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-annotate-as-pure@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" - integrity sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw== - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" @@ -230,115 +174,41 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" - integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== - dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-builder-react-jsx-experimental@^7.10.4", "@babel/helper-builder-react-jsx-experimental@^7.11.5": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.11.5.tgz#4ea43dd63857b0a35cd1f1b161dc29b43414e79f" - integrity sha512-Vc4aPJnRZKWfzeCBsqTBnzulVNjABVdahSPhtdMD3Vs80ykx4a87jTHtF/VR+alSrDmNvat7l13yrRHauGcHVw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-module-imports" "^7.10.4" - "@babel/types" "^7.11.5" - -"@babel/helper-builder-react-jsx@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.10.4.tgz#8095cddbff858e6fa9c326daee54a2f2732c1d5d" - integrity sha512-5nPcIZ7+KKDxT1427oBivl9V9YTal7qk0diccnh7RrcgrT/pGFOjgGw1dgryyx1GvHEpXVfoDF6Ak3rTiWh8Rg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz#69e64f57b524cde3e5ff6cc5a9f4a387ee5563bf" - integrity sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz#7f630911d83b408b76fe584831c98e5395d7a17c" + integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== dependencies: - "@babel/compat-data" "^7.18.8" + "@babel/compat-data" "^7.19.1" "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.20.2" + browserslist "^4.21.3" semver "^6.3.0" -"@babel/helper-compilation-targets@^7.9.6": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz#804ae8e3f04376607cc791b9d47d540276332bd2" - integrity sha512-a3rYhlsGV0UHNDvrtOXBg8/OpfV0OKTkxKPzIplS1zpx7CygDcWWxckxZeDd3gzPzC4kUT0A4nVFDK0wGMh4MQ== - dependencies: - "@babel/compat-data" "^7.10.4" - browserslist "^4.12.0" - invariant "^2.2.4" - levenary "^1.1.1" - semver "^5.5.0" - -"@babel/helper-create-class-features-plugin@^7.18.6": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.9.tgz#d802ee16a64a9e824fcbf0a2ffc92f19d58550ce" - integrity sha512-WvypNAYaVh23QcjpMR24CwZY2Nz6hqdOcFdPbNpV56hL5H6KiFheO7Xm1aPdlLQ7d5emYZX7VZwPp9x3z+2opw== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0", "@babel/helper-create-class-features-plugin@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz#bfd6904620df4e46470bae4850d66be1054c404b" + integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" "@babel/helper-member-expression-to-functions" "^7.18.9" "@babel/helper-optimise-call-expression" "^7.18.6" "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" -"@babel/helper-create-class-features-plugin@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.8.3.tgz#5b94be88c255f140fd2c10dd151e7f98f4bff397" - integrity sha512-qmp4pD7zeTxsv0JNecSBsEmG1ei2MqwJq4YQcK3ZWm/0t07QstWfvuV/vm3Qt5xNMFETn2SZqpMx2MQzbtq+KA== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - -"@babel/helper-create-regexp-features-plugin@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz#fdd60d88524659a0b6959c0579925e425714f3b8" - integrity sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-regex" "^7.10.4" - regexpu-core "^4.7.0" - -"@babel/helper-create-regexp-features-plugin@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz#3e35f4e04acbbf25f1b3534a657610a000543d3c" - integrity sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A== +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz#7976aca61c0984202baca73d84e2337a5424a41b" + integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" regexpu-core "^5.1.0" -"@babel/helper-create-regexp-features-plugin@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.3.tgz#c774268c95ec07ee92476a3862b75cc2839beb79" - integrity sha512-Gcsm1OHCUr9o9TcJln57xhWHtdXbA2pgQ58S0Lxlks0WMGNXuki4+GLfX0p+L2ZkINUGZvfkz8rzoqJQSthI+Q== - dependencies: - "@babel/helper-regex" "^7.8.3" - regexpu-core "^4.6.0" - -"@babel/helper-define-map@^7.10.4": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz#b53c10db78a640800152692b13393147acb9bb30" - integrity sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ== - dependencies: - "@babel/helper-function-name" "^7.10.4" - "@babel/types" "^7.10.5" - lodash "^4.17.19" - -"@babel/helper-define-polyfill-provider@^0.3.2": - version "0.3.2" - resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.2.tgz#bd10d0aca18e8ce012755395b05a79f45eca5073" - integrity sha512-r9QJJ+uDWrd+94BSPcP6/de67ygLtvVy6cK4luE6MOuDsZIdoaPBnfSpbO/+LTifjPckbKXRuI9BB/Z2/y3iTg== +"@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== dependencies: "@babel/helper-compilation-targets" "^7.17.7" "@babel/helper-plugin-utils" "^7.16.7" @@ -359,60 +229,13 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== - dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-function-name@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz#d2d3b20c59ad8c47112fa7d2a94bc09d5ef82f1a" - integrity sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ== - dependencies: - "@babel/helper-get-function-arity" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/helper-function-name@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz#940e6084a55dee867d33b4e487da2676365e86b0" - integrity sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A== - dependencies: - "@babel/template" "^7.18.6" - "@babel/types" "^7.18.9" - -"@babel/helper-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" - integrity sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA== - dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-get-function-arity@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2" - integrity sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-get-function-arity@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" - integrity sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-hoist-variables@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz#d49b001d1d5a68ca5e6604dda01a6297f7c9381e" - integrity sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA== +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== dependencies: - "@babel/types" "^7.10.4" + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" @@ -421,13 +244,6 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-member-expression-to-functions@^7.10.4": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz#ae69c83d84ee82f4b42f96e2a09410935a8f26df" - integrity sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q== - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-member-expression-to-functions@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz#1531661e8375af843ad37ac692c132841e2fd815" @@ -435,67 +251,26 @@ dependencies: "@babel/types" "^7.18.9" -"@babel/helper-member-expression-to-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz#659b710498ea6c1d9907e0c73f206eee7dadc24c" - integrity sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-imports@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz#4c5c54be04bd31670a7382797d75b9fa2e5b5620" - integrity sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw== - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-module-imports@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz#7fe39589b39c016331b6b8c3f441e8f0b1419498" - integrity sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-transforms@^7.10.4", "@babel/helper-module-transforms@^7.10.5", "@babel/helper-module-transforms@^7.9.0": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz#b16f250229e47211abdd84b34b64737c2ab2d359" - integrity sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg== - dependencies: - "@babel/helper-module-imports" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-simple-access" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/template" "^7.10.4" - "@babel/types" "^7.11.0" - lodash "^4.17.19" - -"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz#5a1079c005135ed627442df31a42887e80fcb712" - integrity sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g== +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0", "@babel/helper-module-transforms@^7.9.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz#309b230f04e22c58c6a2c0c0c7e50b216d350c30" + integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" "@babel/helper-simple-access" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.18.6" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helper-optimise-call-expression@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz#50dc96413d594f995a77905905b05893cd779673" - integrity sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg== - dependencies: - "@babel/types" "^7.10.4" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" @@ -504,41 +279,10 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-optimise-call-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" - integrity sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ== - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" - integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== - -"@babel/helper-plugin-utils@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" - integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== - -"@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz#4b8aea3b069d8cb8a72cdfe28ddf5ceca695ef2f" - integrity sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w== - -"@babel/helper-regex@^7.10.4": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.10.5.tgz#32dfbb79899073c415557053a19bd055aae50ae0" - integrity sha512-68kdUAzDrljqBrio7DYAEgCoJHxppJOERHOgOrDN7WjOzP0ZQ1LsSDRXcemzVZaLvjaJsJEESb6qt+znNuENDg== - dependencies: - lodash "^4.17.19" - -"@babel/helper-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" - integrity sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ== - dependencies: - lodash "^4.17.13" +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== "@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": version "7.18.9" @@ -550,55 +294,16 @@ "@babel/helper-wrap-function" "^7.18.9" "@babel/types" "^7.18.9" -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-replace-supers@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz#d585cd9388ea06e6031e4cd44b6713cbead9e6cf" - integrity sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - "@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.9.tgz#1092e002feca980fbbb0bd4d51b74a65c6a500e6" - integrity sha512-dNsWibVI4lNT6HiuOIBr1oyxo40HvIVmbwPUm3XZ7wMh4k2WxrxTqZwSqw/eEmXDS9np0ey5M2bz9tBmO9c+YQ== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz#e1592a9b4b368aa6bdb8784a711e0bcbf0612b78" + integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-member-expression-to-functions" "^7.18.9" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helper-replace-supers@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz#91192d25f6abbcd41da8a989d4492574fb1530bc" - integrity sha512-xOUssL6ho41U81etpLoT2RTdvdus4VfHamCuAm4AHxGr+0it5fnwoVdwUJ7GFEqCsQYzJUhcbsN9wB9apcYKFA== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-simple-access@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz#0f5ccda2945277a2a7a2d3a821e15395edcf3461" - integrity sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw== - dependencies: - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.4" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" "@babel/helper-simple-access@^7.18.6": version "7.18.6" @@ -607,13 +312,6 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-skip-transparent-expression-wrappers@^7.11.0": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz#eec162f112c2f58d3af0af125e3bb57665146729" - integrity sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q== - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-skip-transparent-expression-wrappers@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz#778d87b3a758d90b471e7b9918f34a9a02eb5818" @@ -621,13 +319,6 @@ dependencies: "@babel/types" "^7.18.9" -"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz#f8a491244acf6a676158ac42072911ba83ad099f" - integrity sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg== - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-split-export-declaration@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" @@ -635,27 +326,15 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-split-export-declaration@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" - integrity sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA== - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-string-parser@^7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== -"@babel/helper-validator-identifier@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" - integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== - "@babel/helper-validator-identifier@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" - integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== "@babel/helper-validator-option@^7.18.6": version "7.18.6" @@ -663,51 +342,23 @@ integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== "@babel/helper-wrap-function@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.9.tgz#ae1feddc6ebbaa2fd79346b77821c3bd73a39646" - integrity sha512-cG2ru3TRAL6a60tfQflpEfs4ldiPwF6YW3zfJiRgmoFVIaC1vGnBBgatfec+ZUziPHkHSaXAuEck3Cdkf3eRpQ== - dependencies: - "@babel/helper-function-name" "^7.18.9" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz#89f18335cff1152373222f76a4b37799636ae8b1" + integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helpers@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz#4bef3b893f253a1eced04516824ede94dcfe7ff9" - integrity sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ== - dependencies: - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helpers@^7.9.6": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz#2abeb0d721aff7c0a97376b9e1f6f65d7a475044" - integrity sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA== - dependencies: - "@babel/template" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" -"@babel/highlight@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" - integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== +"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz#f30534657faf246ae96551d88dd31e9d1fa1fc18" + integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - chalk "^2.0.0" - js-tokens "^4.0.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" "@babel/highlight@^7.18.6": version "7.18.6" @@ -718,23 +369,14 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/highlight@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" - integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - "@babel/node@^7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/node/-/node-7.18.10.tgz#ab2be57785346b5bf0721c3d17572402419d9d8a" - integrity sha512-VbqzK6QXfQVi4Bpk6J7XqHXKFNbG2j3rdIdx68+/14GDU7jXDOSyUU/cwqCM1fDwCdxp37pNV/ToSCXsNChcyA== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/node/-/node-7.19.1.tgz#10237a480dfd9f84dee9b68ba5cb991de4b2e0fb" + integrity sha512-gfxJNrawPso6kx7SwKfAdX1rEzVc09speJLFKrdxuZXGlve92pjbB3nJVmuwrxNN4+jvytj2zvliNXuW6uaSOw== dependencies: "@babel/register" "^7.18.9" commander "^4.0.1" - core-js "^3.22.1" + core-js "^3.25.1" node-environment-flags "^1.0.5" regenerator-runtime "^0.13.4" v8flags "^3.1.1" @@ -744,25 +386,10 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== -"@babel/parser@^7.1.0", "@babel/parser@^7.8.3", "@babel/parser@^7.8.4": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8" - integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw== - -"@babel/parser@^7.10.4", "@babel/parser@^7.11.5", "@babel/parser@^7.9.6": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz#c7ff6303df71080ec7a4f5b8c003c58f1cf51037" - integrity sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q== - -"@babel/parser@^7.14.7", "@babel/parser@^7.18.6", "@babel/parser@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.9.tgz#f2dde0c682ccc264a9a8595efd030a5cc8fd2539" - integrity sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg== - -"@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz#5b2dd21cae4a2c5145f1fbd8ca103f9313d3b7e4" - integrity sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz#6f6d6c2e621aad19a92544cc217ed13f1aac5b4c" + integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" @@ -780,25 +407,16 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz#85ea478c98b0095c3e4102bff3b67d306ed24952" - integrity sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew== +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.8.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz#34f6f5174b688529342288cd264f80c9ea9fb4a7" + integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== dependencies: "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-async-generator-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" - integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - "@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" @@ -824,7 +442,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-dynamic-import@^7.18.6": +"@babel/plugin-proposal-dynamic-import@^7.18.6", "@babel/plugin-proposal-dynamic-import@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== @@ -832,14 +450,6 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-proposal-export-default-from@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206" @@ -864,7 +474,7 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.18.6": +"@babel/plugin-proposal-json-strings@^7.18.6", "@babel/plugin-proposal-json-strings@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== @@ -872,14 +482,6 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-proposal-logical-assignment-operators@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz#8148cbb350483bf6220af06fa6db3690e14b2e23" @@ -888,7 +490,7 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== @@ -896,15 +498,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" - integrity sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - -"@babel/plugin-proposal-numeric-separator@^7.18.6": +"@babel/plugin-proposal-numeric-separator@^7.18.6", "@babel/plugin-proposal-numeric-separator@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== @@ -912,15 +506,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-numeric-separator@^7.8.3": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.4.tgz#ce1590ff0a65ad12970a609d78855e9a4c1aef06" - integrity sha512-73/G7QoRoeNkLZFxsoCCvlg4ezE4eM+57PnOqgaPOozd5myfj7p0muD1mRVJvbUWbOzD+q3No2bWbaKy+DJ8DA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9": +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.9.6": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== @@ -940,16 +526,7 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.9.5" -"@babel/plugin-proposal-object-rest-spread@^7.9.6": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz#bd81f95a1f746760ea43b6c2d3d62b11790ad0af" - integrity sha512-wzch41N4yztwoRw0ak+37wxwJM2oiIiy6huGCoqkvSTA9acYWcPfn9Y4aJqmFFJ70KTJUu29f3DQ43uJ9HXzEA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.10.4" - -"@babel/plugin-proposal-optional-catch-binding@^7.18.6": +"@babel/plugin-proposal-optional-catch-binding@^7.18.6", "@babel/plugin-proposal-optional-catch-binding@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== @@ -957,15 +534,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - -"@babel/plugin-proposal-optional-chaining@^7.18.9": +"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.9.0": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz#e8e8fe0723f2563960e4bf5e9690933691915993" integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== @@ -974,15 +543,6 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.9.0": - version "7.11.0" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.11.0.tgz#de5866d0646f6afdaab8a566382fe3a221755076" - integrity sha512-v9fZIu3Y8562RRwhm1BbMRxtqZNFmFA2EG+pT2diuU8PT3H6T/KXoZ54KgYisfOFZHV6PfvAiBIZ9Rcz+/JCxA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-skip-transparent-expression-wrappers" "^7.11.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-proposal-private-methods@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" @@ -1001,7 +561,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.18.6": +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== @@ -1009,22 +569,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.4.tgz#4483cda53041ce3413b7fe2f00022665ddfaa75d" - integrity sha512-H+3fOgPnEXFL9zGYtKQe4IDOPKYlZdF1kqFDQRRb8PK4B8af1vAGK04tF5iQAAsui+mHNBQSAtd2/ndEDe9wuA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-proposal-unicode-property-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.3.tgz#b646c3adea5f98800c9ab45105ac34d06cd4a47f" - integrity sha512-1/1/rEZv2XGweRwwSkLpY+s60za9OZ1hJs4YDqFHCw0kYWYwL5IFljVY1MYBL+weT1l9pokDO2uhSTLVxzoHkQ== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -1060,20 +604,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.18.6": +"@babel/plugin-syntax-export-default-from@^7.18.6", "@babel/plugin-syntax-export-default-from@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz#8df076711a4818c4ce4f23e61d622b0ba2ff84bc" integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-export-default-from@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.8.3.tgz#f1e55ce850091442af4ba9c2550106035b29d678" - integrity sha512-a1qnnsr73KLNIQcQlcQ4ZHxqqfBKM6iNQZW2OMTyxNbA2WC7SHWHtGVpFzWtQAuS2pspkWVzdEBXXx8Ik0Za4w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" @@ -1102,14 +639,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.10.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz#39abaae3cbf710c4373d8429484e6ba21340166c" - integrity sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-jsx@^7.17.12": +"@babel/plugin-syntax-jsx@^7.17.12", "@babel/plugin-syntax-jsx@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== @@ -1165,20 +695,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-top-level-await@^7.14.5": +"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" - integrity sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-typescript@^7.18.6", "@babel/plugin-syntax-typescript@^7.7.2": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz#1c09cd25795c7c2b8a4ba9ae49394576d4133285" @@ -1186,21 +709,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.18.6": +"@babel/plugin-transform-arrow-functions@^7.18.6", "@babel/plugin-transform-arrow-functions@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz#19063fcf8771ec7b31d742339dac62433d0611fe" integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-async-to-generator@^7.18.6": +"@babel/plugin-transform-async-to-generator@^7.18.6", "@babel/plugin-transform-async-to-generator@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz#ccda3d1ab9d5ced5265fdb13f1882d5476c71615" integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== @@ -1209,101 +725,50 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-remap-async-to-generator" "^7.18.6" -"@babel/plugin-transform-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - -"@babel/plugin-transform-block-scoped-functions@^7.18.6": +"@babel/plugin-transform-block-scoped-functions@^7.18.6", "@babel/plugin-transform-block-scoped-functions@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoped-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-block-scoping@^7.18.9": +"@babel/plugin-transform-block-scoping@^7.18.9", "@babel/plugin-transform-block-scoping@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz#f9b7e018ac3f373c81452d6ada8bd5a18928926d" integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-block-scoping@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - lodash "^4.17.13" - -"@babel/plugin-transform-classes@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz#90818efc5b9746879b869d5ce83eb2aa48bbc3da" - integrity sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g== +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.9.5": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz#0e61ec257fba409c41372175e7c1e606dc79bb20" + integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.19.0" "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" -"@babel/plugin-transform-classes@^7.9.5": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.4.tgz#405136af2b3e218bc4a1926228bc917ab1a0adc7" - integrity sha512-2oZ9qLjt161dn1ZE0Ms66xBncQH4In8Sqw1YWgBUZuGVJJS5c0OFZXL6dP2MRHrkU/eKhWg8CzFJhRQl50rQxA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-define-map" "^7.10.4" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.18.9": +"@babel/plugin-transform-computed-properties@^7.18.9", "@babel/plugin-transform-computed-properties@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz#2357a8224d402dad623caf6259b611e56aec746e" integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-computed-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-destructuring@^7.18.9": +"@babel/plugin-transform-destructuring@^7.18.9", "@babel/plugin-transform-destructuring@^7.9.5": version "7.18.13" resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz#9e03bc4a94475d62b7f4114938e6c5c33372cbf5" integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.9.5": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.4.tgz#70ddd2b3d1bea83d01509e9bb25ddb3a74fc85e5" - integrity sha512-+WmfvyfsyF603iPa6825mq6Qrb7uLjTOsa3XOFzlYcYDHSS4QmpOWOL0NNBY5qMbvrcf3tq0Cw+v4lxswOBpgA== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-dotall-regex@^7.18.6": +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== @@ -1311,37 +776,14 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-dotall-regex@^7.4.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.4.tgz#469c2062105c1eb6a040eaf4fac4b488078395ee" - integrity sha512-ZEAVvUTCMlMFAbASYSVQoxIbHm2OkG2MseW6bV2JjIygOjdVv8tuxrCTzj1+Rynh7ODb8GivUy7dzEXzEhuPaA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-dotall-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" - integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-duplicate-keys@^7.18.9": +"@babel/plugin-transform-duplicate-keys@^7.18.9", "@babel/plugin-transform-duplicate-keys@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-duplicate-keys@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-exponentiation-operator@^7.18.6": +"@babel/plugin-transform-exponentiation-operator@^7.18.6", "@babel/plugin-transform-exponentiation-operator@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== @@ -1349,29 +791,14 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-exponentiation-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-for-of@^7.18.8": +"@babel/plugin-transform-for-of@^7.18.8", "@babel/plugin-transform-for-of@^7.9.0": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-for-of@^7.9.0": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz#c08892e8819d3a5db29031b115af511dbbfebae9" - integrity sha512-ItdQfAzu9AlEqmusA/65TqJ79eRcgGmpPPFvBnGILXZH975G0LNjP1yjHvGgfuCxqrPPueXOPe+FsvxmxKiHHQ== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-function-name@^7.18.9": +"@babel/plugin-transform-function-name@^7.18.9", "@babel/plugin-transform-function-name@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== @@ -1380,43 +807,21 @@ "@babel/helper-function-name" "^7.18.9" "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-literals@^7.18.9": +"@babel/plugin-transform-literals@^7.18.9", "@babel/plugin-transform-literals@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-member-expression-literals@^7.18.6": +"@babel/plugin-transform-member-expression-literals@^7.18.6", "@babel/plugin-transform-member-expression-literals@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-member-expression-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-modules-amd@^7.18.6": +"@babel/plugin-transform-modules-amd@^7.18.6", "@babel/plugin-transform-modules-amd@^7.9.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz#8c91f8c5115d2202f277549848874027d7172d21" integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== @@ -1425,16 +830,7 @@ "@babel/helper-plugin-utils" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-amd@^7.9.6": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.5.tgz#1b9cddaf05d9e88b3aad339cb3e445c4f020a9b1" - integrity sha512-elm5uruNio7CTLFItVC/rIzKLfQ17+fX7EVz5W0TMgIHFo1zY0Ozzx+lgwhL4plzl8OzVn6Qasx5DeEFyoNiRw== - dependencies: - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helper-plugin-utils" "^7.10.4" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-commonjs@^7.18.6": +"@babel/plugin-transform-modules-commonjs@^7.18.6", "@babel/plugin-transform-modules-commonjs@^7.9.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz#afd243afba166cca69892e24a8fd8c9f2ca87883" integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== @@ -1444,38 +840,18 @@ "@babel/helper-simple-access" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.9.6": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.4.tgz#66667c3eeda1ebf7896d41f1f16b17105a2fbca0" - integrity sha512-Xj7Uq5o80HDLlW64rVfDBhao6OX89HKUmb+9vWYaLXBZOma4gA6tw4Ni1O5qVDoZWUV0fxMYA0aYzOawz0l+1w== - dependencies: - "@babel/helper-module-transforms" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-simple-access" "^7.10.4" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-systemjs@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz#545df284a7ac6a05125e3e405e536c5853099a06" - integrity sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A== +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz#5f20b471284430f02d9c5059d9b9a16d4b085a1f" + integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== dependencies: "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-module-transforms" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-identifier" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.6": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.5.tgz#6270099c854066681bae9e05f87e1b9cadbe8c85" - integrity sha512-f4RLO/OL14/FP1AEbcsWMzpbUz6tssRaeQg11RH1BP/XnPpRoVwgeYViMFacnkaw4k4wjRSjn3ip1Uw9TaXuMw== - dependencies: - "@babel/helper-hoist-variables" "^7.10.4" - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helper-plugin-utils" "^7.10.4" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-umd@^7.18.6": +"@babel/plugin-transform-modules-umd@^7.18.6", "@babel/plugin-transform-modules-umd@^7.9.0": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== @@ -1483,44 +859,22 @@ "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-umd@^7.9.0": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.4.tgz#9a8481fe81b824654b3a0b65da3df89f3d21839e" - integrity sha512-mohW5q3uAEt8T45YT7Qc5ws6mWgJAaL/8BfWD9Dodo1A3RKWli8wTS+WiQ/knF+tXlPirW/1/MqzzGfCExKECA== - dependencies: - "@babel/helper-module-transforms" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz#c89bfbc7cc6805d692f3a49bc5fc1b630007246d" - integrity sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz#a2a72bffa202ac0e2d0506afd0939c5ecbc48c6c" - integrity sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz#ec7455bab6cd8fb05c525a94876f435a48128888" + integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-create-regexp-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-new-target@^7.18.6": +"@babel/plugin-transform-new-target@^7.18.6", "@babel/plugin-transform-new-target@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz#d128f376ae200477f37c4ddfcc722a8a1b3246a8" integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-new-target@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-object-super@^7.18.6": +"@babel/plugin-transform-object-super@^7.18.6", "@babel/plugin-transform-object-super@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== @@ -1528,86 +882,60 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-object-super@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - -"@babel/plugin-transform-parameters@^7.10.4", "@babel/plugin-transform-parameters@^7.9.5": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz#59d339d58d0b1950435f4043e74e2510005e2c4a" - integrity sha512-xPHwUj5RdFV8l1wuYiu5S9fqWGM2DrYc24TMvUiRrPVm+SM3XeqU9BcokQX/kEUe+p2RBwy+yoiR1w/Blq6ubw== - dependencies: - "@babel/helper-get-function-arity" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-parameters@^7.18.8": +"@babel/plugin-transform-parameters@^7.18.8", "@babel/plugin-transform-parameters@^7.9.5": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz#ee9f1a0ce6d78af58d0956a9378ea3427cccb48a" integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.18.6": +"@babel/plugin-transform-property-literals@^7.18.6", "@babel/plugin-transform-property-literals@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" - integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-react-display-name@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.8.3.tgz#70ded987c91609f78353dd76d2fb2a0bb991e8e5" - integrity sha512-3Jy/PCw8Fe6uBKtEgz3M82ljt+lTg+xJaM4og+eyu83qLT87ZUSckn0wy7r31jflURWLO83TW6Ylf7lyXj3m5A== + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz#8b1125f919ef36ebdfff061d664e266c666b9415" + integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-development@^7.9.0": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.11.5.tgz#e1439e6a57ee3d43e9f54ace363fb29cefe5d7b6" - integrity sha512-cImAmIlKJ84sDmpQzm4/0q/2xrXlDezQoixy3qoz1NJeZL/8PRon6xZtluvr4H4FzwlDGI5tCcFupMnXGtr+qw== + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz#dbe5c972811e49c7405b630e4d0d2e1380c0ddc5" + integrity sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA== dependencies: - "@babel/helper-builder-react-jsx-experimental" "^7.11.5" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx" "^7.18.6" "@babel/plugin-transform-react-jsx-self@^7.9.0": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz#cd301a5fed8988c182ed0b9d55e9bd6db0bd9369" - integrity sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg== + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz#3849401bab7ae8ffa1e3e5687c94a753fc75bda7" + integrity sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-source@^7.9.0": - version "7.10.5" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz#34f1779117520a779c054f2cdd9680435b9222b4" - integrity sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA== + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz#06e9ae8a14d2bc19ce6e3c447d842032a50598fc" + integrity sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-react-jsx@^7.9.4": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz#673c9f913948764a4421683b2bef2936968fddf2" - integrity sha512-L+MfRhWjX0eI7Js093MM6MacKU4M6dnCRa/QPDwYMxjljzSCzzlzKzj9Pk4P3OtrPcxr2N3znR419nr3Xw+65A== +"@babel/plugin-transform-react-jsx@^7.18.6", "@babel/plugin-transform-react-jsx@^7.9.4": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz#b3cbb7c3a00b92ec8ae1027910e331ba5c500eb9" + integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg== dependencies: - "@babel/helper-builder-react-jsx" "^7.10.4" - "@babel/helper-builder-react-jsx-experimental" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-jsx" "^7.18.6" + "@babel/types" "^7.19.0" -"@babel/plugin-transform-regenerator@^7.18.6": +"@babel/plugin-transform-regenerator@^7.18.6", "@babel/plugin-transform-regenerator@^7.8.7": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz#585c66cb84d4b4bf72519a34cfce761b8676ca73" integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== @@ -1615,27 +943,13 @@ "@babel/helper-plugin-utils" "^7.18.6" regenerator-transform "^0.15.0" -"@babel/plugin-transform-regenerator@^7.8.7": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.4.tgz#2015e59d839074e76838de2159db421966fd8b63" - integrity sha512-3thAHwtor39A7C04XucbMg17RcZ3Qppfxr22wYzZNcVIkPHfpM9J0SO8zuCV6SZa265kxBJSrfKTvDCYqBFXGw== - dependencies: - regenerator-transform "^0.14.2" - -"@babel/plugin-transform-reserved-words@^7.18.6": +"@babel/plugin-transform-reserved-words@^7.18.6", "@babel/plugin-transform-reserved-words@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz#b1abd8ebf8edaa5f7fe6bbb8d2133d23b6a6f76a" integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-reserved-words@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-runtime@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz#37d14d1fa810a368fd635d4d1476c0154144a96f" @@ -1658,86 +972,49 @@ resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-shorthand-properties@^7.18.6": +"@babel/plugin-transform-shorthand-properties@^7.18.6", "@babel/plugin-transform-shorthand-properties@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-shorthand-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-spread@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz#6ea7a6297740f381c540ac56caf75b05b74fb664" - integrity sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA== +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz#dd60b4620c2fec806d60cfaae364ec2188d593b6" + integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" -"@babel/plugin-transform-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-sticky-regex@^7.18.6": +"@babel/plugin-transform-sticky-regex@^7.18.6", "@babel/plugin-transform-sticky-regex@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz#c6706eb2b1524028e317720339583ad0f444adcc" integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-sticky-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - -"@babel/plugin-transform-template-literals@^7.18.9": +"@babel/plugin-transform-template-literals@^7.18.9", "@babel/plugin-transform-template-literals@^7.8.3": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-template-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-typeof-symbol@^7.18.9": +"@babel/plugin-transform-typeof-symbol@^7.18.9", "@babel/plugin-transform-typeof-symbol@^7.8.4": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typeof-symbol@^7.8.4": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" - integrity sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typescript@^7.18.6": - version "7.18.8" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.8.tgz#303feb7a920e650f2213ef37b36bbf327e6fa5a0" - integrity sha512-p2xM8HI83UObjsZGofMV/EdYjamsDm6MoN3hXPYIT0+gxIoopE+B7rPYKAxfrz9K9PK7JafTTjqYC6qipLExYA== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz#adcf180a041dcbd29257ad31b0c65d4de531ce8d" + integrity sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-typescript" "^7.18.6" "@babel/plugin-transform-unicode-escapes@^7.18.10": @@ -1747,7 +1024,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-regex@^7.18.6": +"@babel/plugin-transform-unicode-regex@^7.18.6", "@babel/plugin-transform-unicode-regex@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== @@ -1755,14 +1032,6 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-unicode-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/preset-env@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" @@ -1910,18 +1179,7 @@ levenary "^1.1.1" semver "^5.5.0" -"@babel/preset-modules@^0.1.3": - version "0.1.4" - resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e" - integrity sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/preset-modules@^0.1.5": +"@babel/preset-modules@^0.1.3", "@babel/preset-modules@^0.1.5": version "0.1.5" resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== @@ -1965,44 +1223,21 @@ source-map-support "^0.5.16" "@babel/runtime-corejs3@^7.10.2": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.18.9.tgz#7bacecd1cb2dd694eacd32a91fcf7021c20770ae" - integrity sha512-qZEWeccZCrHA2Au4/X05QW5CMdm4VjUDCrGq5gf1ZDcM4hRqreKrtwAn7yci9zfgAS9apvnsFXiGBHBAxZdK9A== - dependencies: - core-js-pure "^3.20.2" - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a" - integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw== + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz#f0cbbe7edda7c4109cd253bb1dee99aba4594ad9" + integrity sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g== dependencies: + core-js-pure "^3.25.1" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.4.tgz#d79f5a2040f7caa24d53e563aad49cbc05581308" - integrity sha512-neAp3zt80trRVBI1x0azq6c57aNBqYZH8KhMm3TaB7wEI5Q4A2SHfBHE8w9gOhI/lrqxtEbXZgQIrHP+wvSGwQ== - dependencies: - regenerator-runtime "^0.13.2" - -"@babel/runtime@^7.8.4": - version "7.11.2" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736" - integrity sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.10.4", "@babel/template@^7.8.6": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278" - integrity sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/parser" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/template@^7.18.10": +"@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": version "7.18.10" resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== @@ -2011,24 +1246,6 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/template@^7.18.6", "@babel/template@^7.3.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz#1283f4993e00b929d6e2d3c72fdc9168a2977a31" - integrity sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.18.6" - "@babel/types" "^7.18.6" - -"@babel/template@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8" - integrity sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/parser" "^7.8.3" - "@babel/types" "^7.8.3" - "@babel/traverse@7.18.11": version "7.18.11" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" @@ -2045,7 +1262,7 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@7.18.13", "@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.4.5": +"@babel/traverse@7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz#5ab59ef51a997b3f10c4587d648b9696b6cb1a68" integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== @@ -2061,52 +1278,22 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.10.4", "@babel/traverse@^7.9.6": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz#be777b93b518eb6d76ee2e1ea1d143daa11e61c3" - integrity sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.11.5" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/parser" "^7.11.5" - "@babel/types" "^7.11.5" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.19" - -"@babel/traverse@^7.18.9", "@babel/traverse@^7.7.2": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.9.tgz#deeff3e8f1bad9786874cb2feda7a2d77a904f98" - integrity sha512-LcPAnujXGwBgv3/WHv01pHtb2tihcyW1XuL9wd7jqh1Z8AQkTd+QVjMrMijrln0T7ED3UXLIy36P9Ao7W75rYg== +"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz#0fafe100a8c2a603b4718b1d9bf2568d1d193347" + integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.9" + "@babel/generator" "^7.19.0" "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.18.9" - "@babel/types" "^7.18.9" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.8.3": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c" - integrity sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.8.4" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/parser" "^7.8.4" - "@babel/types" "^7.8.3" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" - "@babel/types@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" @@ -2116,7 +1303,7 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@7.18.13", "@babel/types@^7.18.10", "@babel/types@^7.18.13": +"@babel/types@7.18.13": version "7.18.13" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== @@ -2125,29 +1312,12 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c" - integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg== - dependencies: - esutils "^2.0.2" - lodash "^4.17.13" - to-fast-properties "^2.0.0" - -"@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.11.5", "@babel/types@^7.4.4", "@babel/types@^7.9.6": - version "7.11.5" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz#d9de577d01252d77c6800cee039ee64faf75662d" - integrity sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q== - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - lodash "^4.17.19" - to-fast-properties "^2.0.0" - -"@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.9.tgz#7148d64ba133d8d73a41b3172ac4b83a1452205f" - integrity sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== dependencies: + "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" @@ -2156,7 +1326,7 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@chain-registry/types@^0.7.1": +"@chain-registry/types@^0.7.0", "@chain-registry/types@^0.7.1": version "0.7.1" resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz#2f8adc5d6319b93df61ecadc6f81bde3c1c03948" integrity sha512-KJpW4CnUEDyVFUigKrTMdEWJhTFPmPk1gFY/SLuaoHXfNYLSMAS3UJJtWUqiVaEwxAgyeilSgoNkuB5EaW5KaQ== @@ -2165,626 +1335,728 @@ "@keplr-wallet/cosmos" "^0.10.3" "@keplr-wallet/crypto" "^0.10.11" -"@chakra-ui/accordion@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.10.tgz#fc8ea40316b4be8872361ff9847fa95e861e401a" - integrity sha512-HD3yJ4LV3S5vMH7DwcwSOPrZ+R6+qzTd7LXYKiUphl1RiUM5h97dbGqpqI+ULjIo0xoOvHTyhvO4ENCRDEYkRg== - dependencies: - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/react-use-controllable-state" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.2" - "@chakra-ui/transition" "2.0.8" - -"@chakra-ui/alert@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.8.tgz#91847817f0de3d8f7d516a1a9b7b3a6ea92b3a42" - integrity sha512-giBBbAPlSw33Ua838c35ClCVmmrfn+pvZgA92Ogcz2fwkUFa+Elcq/nyVQ3XHxLzzmPE/vACcS8wXoCXQl4i/Q== - dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/spinner" "2.0.8" - -"@chakra-ui/anatomy@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.4.tgz#73a184a8f69d890c4580eb909a080a915f5b7d55" - integrity sha512-wWLvPrLOCO+nDb+cMcEJ/iDxgWEizRXOlIZCinCzkeEYhcWibINx6wh49uVUyMT/dIs/JTHQ4mUb9IzqJ1RY+g== +"@chakra-ui/accordion@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz#dd260fbecb639748314f440c89052ed45006c585" + integrity sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ== + dependencies: + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" -"@chakra-ui/avatar@2.0.9": +"@chakra-ui/alert@2.0.9": version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.0.9.tgz#fc384422f433a9ed32fc7e1a1084acd08f83e219" - integrity sha512-kx77nTL9h8451lgAMZkD8UWGoxTjHKzeW55Ls4e7muqj3fl+hS3eNQ1zw66DDEFuYxBVyxZi1YgWFI7/Lgnx4w== + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz#25e88c105e095def374c9fe1e3c8a3f6fab08f6c" + integrity sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw== dependencies: - "@chakra-ui/image" "2.0.9" - "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/spinner" "2.0.9" + +"@chakra-ui/anatomy@2.0.6": + version "2.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" + integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== -"@chakra-ui/breadcrumb@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.8.tgz#02be54d4848a4ba66732a6b6f6802d40df5158d1" - integrity sha512-kTwNZqOMjVLm9smZMGZnkw8zChzwx1ycu8ZGSCYkwJxgO2yeztIcqpa9OjxhTkro6ZS9dels35+FbtyQCtz1wA== +"@chakra-ui/avatar@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" + integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/button@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.8.tgz#952956300931ba5cfed428ffc115c94b86988abd" - integrity sha512-sFAdPRZNGeIawEN60V/6Zhqt1DOkFosYeG83QkwkIEgOlTNQsqlxgKV9bGfn6b4Qb2HUoqMzmN+rk8kHKvHOrQ== +"@chakra-ui/breadcrumb@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" + integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/spinner" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/checkbox@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.7.tgz#0310268629a3ceabcc3255810e8c24dd814d63fe" - integrity sha512-84NyP8hXLrcv1GtgloPcBs4Ypzxa/jSEkWzH69+J/rSDNz/ff23fCSNayMPXadWXmAMSBmsKY8gdpfcJioCf/g== - dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/breakpoint-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" + integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== -"@chakra-ui/clickable@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.8.tgz#9f8ebdec7511b3693cb3d6468d92abf68e2c8921" - integrity sha512-GlmSYfDd/E09fJKu6iFoKjQHHFDJFaESenVYQ0PuTHaKD9Ro8o70jBRKP9hxTSqZN1QPzgfexmkQKsI9aOuc9g== +"@chakra-ui/button@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz#f005f98bb5f1d5673a244957e6b3e2396acdf395" + integrity sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/spinner" "2.0.9" -"@chakra-ui/close-button@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.8.tgz#c71a55efdd017f7465836a75e616c371ea264111" - integrity sha512-UbsxusyGExuopIircNKbSw0kvA6KbIwd3zvoedzcH91pLlK5na+AThiANDnsQBU0uV78w8I9L0zjlrEcn30uBw== - dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/utils" "2.0.8" +"@chakra-ui/checkbox@2.1.8": + version "2.1.8" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz#d04a9a65494cf22e8bcfafa161bb7185d92dc13b" + integrity sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q== + dependencies: + "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/visually-hidden" "2.0.9" + "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/color-mode@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.6.tgz#9ea02ecbfbcb9f6a1a3d4c657d491f093615b951" - integrity sha512-YtVoyYAe6kxoNDwB5Sv03Tz0dCIlo1JM57VfhKZTPxXmp3/FFvFe38+N5piNimuAl/xIDp6doFArnco3Bb7qFw== +"@chakra-ui/clickable@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz#c06486d36f4a4cb517ea75176e05021dfde117cd" + integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/control-box@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.8.tgz#23c423a52e0a021d4dd1a546bb7b0beeeec6d4d3" - integrity sha512-Q7JTjJG4uErpVsUAr3271NqafCcpYfgXsyk9RJWgSvGXT6wT3W1znYbRf4+oBeQFCRfGYEI7Dk+JHvI5Owm4CQ== +"@chakra-ui/close-button@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz#dab2d66c7a240c4d3d150e370980709336a4a266" + integrity sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.9" -"@chakra-ui/counter@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.8.tgz#d6faf07f7c865e9289b39945e3ecaa872a1ea7b5" - integrity sha512-23YLtZA4Wh/dMfgumeYwAifYoNvq5y5q59FMSX9PHEffYxxKeN/J081zyvTvsWSY1Dl4t0BXMT2nStuBEKsvWA== +"@chakra-ui/color-mode@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz#91c02e82e551c5448081e4934efeddb10bb732c5" + integrity sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/css-reset@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.4.tgz#b0e4abd6d90ddea3823a1351fe43ebd84b7f3f42" - integrity sha512-XJ8AcTHrxwHYqWmMR1b5WUWv+D3i6GKvXiw5M104Azny+VT3ZUTzzo/Yze0mCvudbePf6zMoMrFLIBWGKSj/0Q== +"@chakra-ui/control-box@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" + integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== -"@chakra-ui/descendant@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.7.tgz#53cdb0207eaef799222a1da11a68068b3ff618a7" - integrity sha512-C58jkUox54Y2sFn6H29QXkAyyalTMn3uYeeVNAftzL4SRFE9KyRAbMtOujZHH3GRr2sEykawiXh9BkqWpZuhiA== +"@chakra-ui/counter@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" + integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== dependencies: - "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/number-utils" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/css-reset@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" + integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== -"@chakra-ui/editable@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.8.tgz#133cc3248e6d046cf1fbdfef051a6e07c0f141f1" - integrity sha512-SgwsaRnEgHtlGL+Ie9U5AYn4FjYp22IMvtW6hU4Y0X0A51uvzKyi4NTUXsckogI79c6svvNoRWMTuymiiy9GLw== +"@chakra-ui/descendant@3.0.9": + version "3.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" + integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/event-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.2.tgz#20e218a23066c958e8e113054333088fc48f19f3" - integrity sha512-v2zZBfbXEN0MooPEunjUUFcLZe+NeFyE0K+hnsW7aVQbDccz2UAsAwgPIMt1EhZ5+Xai4+eyrLB4pfIBwrdPyg== +"@chakra-ui/dom-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz#3061819ac365f5947423d63a5fcc26a281bbb5c2" + integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== -"@chakra-ui/focus-lock@2.0.9": +"@chakra-ui/editable@2.0.9": version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.9.tgz#c6a42594a0ec810aff70ccb5246017636694e491" - integrity sha512-6MxgY6WJ46gndt4dAGzjBToxkAVoi4ke/FT998g7mcnl5VXbnO700iPRIks9lo0J9evFI9Afp7lpgElU1AzkHg== + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz#a31d2e1c176c0817574e98a8567314c1a74444ab" + integrity sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.1" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" + +"@chakra-ui/event-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" + integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== + +"@chakra-ui/focus-lock@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz#8f17d212786bd2977afc07f72b520aeae30b9434" + integrity sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/dom-utils" "2.0.1" react-focus-lock "^2.9.1" -"@chakra-ui/form-control@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.8.tgz#a086ac92bd17622709575abb886c86590db229be" - integrity sha512-W7yDHucTfFUu/PhkL8CVtB/Eph9DrsVGIy4VnYFWmfgIWcum0PaR20gNY3acSICV81pPr5R8veZ20oP1lXesLA== +"@chakra-ui/form-control@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz#10678857e6586e7d1be0a34c8d045c6484c1180b" + integrity sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/hooks@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.8.tgz#8863041b7077104e7cb10cf66ac55f9c84955455" - integrity sha512-GXubX+BRP1UsbPZovgPH/TFBLAOvtHeIGAqdz9SwI2rmQ9UfF2lV9mSN3N2XXj9kKj9akN+pyHwW29UeATojnw== +"@chakra-ui/hooks@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz#1f6d6157968a60dd9678112763d8f5fd3bdeffad" + integrity sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-utils" "2.0.6" + "@chakra-ui/utils" "2.0.9" compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" -"@chakra-ui/icon@3.0.8": - version "3.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.8.tgz#728476d657f1fc80c2ee0f39859703a0f3314b68" - integrity sha512-avd6mthBoG9R8cLLAROi/FItgk7wHy1YpeAXOrGdK/U/ECVWZev64RmI1UduKuVOLlSZldXWzFJmLdw6dAMG7A== +"@chakra-ui/icon@3.0.9": + version "3.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz#ba127d9eefd727f62e9bce07a23eca39ae506744" + integrity sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/icons@^2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz#38659b322165566806a8e7a9f1e0d38fa15128f1" - integrity sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog== - dependencies: - "@chakra-ui/icon" "3.0.8" - -"@chakra-ui/image@2.0.9": version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.9.tgz#4ace3de5cfcad66bbf7fa87d78c5476d281b8cbe" - integrity sha512-06+Mud+7fkKQok5ukZjea3eVxOL5kIPAjT5bD9LmuuhKXOSJkManx17CRgUjG06JKXUbaJzZfxxKuIzvTdQ/Xw== + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.9.tgz#35edcf9c61b8e158a5d03aeda6bd4e756960dfc7" + integrity sha512-6xvV2rC8wATgfnRH+fC9mi0nLcgKjhHKO29lV1pGioVI0yWK0dqc//zjcyBhMMpW5ABnSfig7ujVBf3op/Syzg== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.9" -"@chakra-ui/input@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.8.tgz#09a71bdef7b72c64c6216c6c3785e28b2470c60c" - integrity sha512-Cc1bYO2ee36MgTSmlREPrqF3D2Vh/RCbsLRjmwxOlSfitp8A9PkA04Kn7tz2bKrJ9TQsYzRXwioJRrYr7f0jfw== +"@chakra-ui/image@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz#712c0e1c579d959225bd8316d8d8f66cbeb95bb8" + integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/layout@2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.5.tgz#f307a23580de6cf04758be8e22fcb9507277186d" - integrity sha512-8qZwqgmY3itr+DfCXCxgEIwdy8GHKgAxojhIo7Exnu7GLHZhCcQ9Le4lVlHW3pK8Wy2wg3dPUX+APoMGkUcBsg== +"@chakra-ui/input@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz#905b82ed647a20080a25a6a7e6740e3bb65586c1" + integrity sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/live-region@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.8.tgz#e5b2985e119952b937fd4122d2a156b897e5d061" - integrity sha512-1BPolMacPoxLVtE8hB+cdxN60CVVu1wzOOUnwJhJtKbfeXNPAsnV2U31/uR2kZ8sX0YPVtQpsB8xzTITD50JaQ== +"@chakra-ui/layout@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz#3dfdd8b3f08d9ff34fc923d44ebe4bc86291b889" + integrity sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/media-query@3.2.4": - version "3.2.4" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.4.tgz#696c4eefa779b95540d32d8fdf8b4980044e048c" - integrity sha512-Woke/7peH/4aceMytVhhMyhlhada51eCzCOSKfLmhgD4lYqZ9wncigor5phIdeTAYyNClbQL3Cm4E6yEWJxqyg== +"@chakra-ui/lazy-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" + integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== + +"@chakra-ui/live-region@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" + integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== + +"@chakra-ui/media-query@3.2.5": + version "3.2.5" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz#c0b9dc4bc6245d9abddcbe17693e40bf5dfe34f8" + integrity sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg== dependencies: - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/react-env" "2.0.9" -"@chakra-ui/menu@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.10.tgz#e400678013a5dfae034af7dd1273e8c5ff9bc456" - integrity sha512-qqdST2un/9qhO4mGec5XMwyexH+Xf3wFGHSrG7O+J0q2yaAGfLyq6tvuisLx2KHQiByiFQ2rs9ozfBkTfL+OYg== - dependencies: - "@chakra-ui/clickable" "2.0.8" - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/modal@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.6.tgz#af1b2cb900ff20f6c73c5161406e3ae8703ff991" - integrity sha512-uIQtD/XCS4YfPIsqBfMusDeUCSWvbT46wUcbyTNduldN5SXLOwqPZMGwX5BbyOMHUM6rRjc6RW4AeSj0rawo9w== - dependencies: - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/focus-lock" "2.0.9" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" +"@chakra-ui/menu@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz#3ac5f448efc894045769c606ebe1376051556be9" + integrity sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA== + dependencies: + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.3" + "@chakra-ui/react-use-focus-effect" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-outside-click" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/transition" "2.0.9" + +"@chakra-ui/modal@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz#dba55bddd407689f4c2bba886b03a5355578a20d" + integrity sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw== + dependencies: + "@chakra-ui/close-button" "2.0.9" + "@chakra-ui/focus-lock" "2.0.10" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" -"@chakra-ui/number-input@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.8.tgz#8f5eb7c1a1d38fe47f1165bf4d4176219c5daad4" - integrity sha512-sltl67JFaYOxpibj/ioOEj4zLf/sF5rWKEH7Rl7XuPFJMJDNW/vjlFCDO31s1aHXtwAeKN5O0zCyC2snPXvXKA== +"@chakra-ui/number-input@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz#c5ebfa0311f7586fb4c1e5f4284355b1d1f04383" + integrity sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ== + dependencies: + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-interval" "2.0.1" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + +"@chakra-ui/number-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" + integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== + +"@chakra-ui/object-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" + integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== + +"@chakra-ui/pin-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz#1ff927fdc61433a7b9b4421ceafad5674299e91a" + integrity sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw== dependencies: - "@chakra-ui/counter" "2.0.8" - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/number-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.2.tgz#8e871cb68e2ae98e6f482eb2f7e45652fa7f3582" - integrity sha512-tAD8lWjmmCd8UfiELA7dlylEH7kv3KxQmLqLQifklH7hBaFIzJDc5PmZbmgMDG2UEzoBgGWepsSsjrD1HLATVw== +"@chakra-ui/popover@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz#7f2df4cbbc3eee7440c311750e18ba00150f973f" + integrity sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg== + dependencies: + "@chakra-ui/close-button" "2.0.9" + "@chakra-ui/hooks" "2.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/popper@3.0.7": + version "3.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz#af3428bf5d64ad9372210a70181f69a9d79eefb2" + integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@popperjs/core" "^2.9.3" -"@chakra-ui/pin-input@2.0.10": +"@chakra-ui/portal@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" + integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/progress@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.10.tgz#9a9ccdba3cf5e1e9ad08944264f119aa19bbecf1" - integrity sha512-AO8lZdhdM9iv5iVZuTPj6ODPUpYsVR/bAbym95BJy1lmXHW0ZD7mtHeJQn0mdfz+j8ckjczg2kCG1ajNjVpjpA== - dependencies: - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/popover@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.8.tgz#d14386e5654fad27913b897ec22228170bab53f1" - integrity sha512-Qe2HMXGYXS+XEYtJg3Gd8JrX32fygjTDyhXHJeuBXZFqogayvdY+q7V7KfFRvTcER4cQeHDiZy6ZjVdoNH7Cmg== - dependencies: - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/popper@3.0.6": - version "3.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.6.tgz#2ade67459b22863ec0a879e86ddf91d26951185a" - integrity sha512-QKRzSgOsp2nmL8HXcN5DVujqV+TsECnKfMwzI++SgkIJUL5wj8w6VNqDJ4iym84Sgqw5qNVoOss1ZpgGKAriOg== - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@popperjs/core" "^2.9.3" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz#9191ae9061ef08066d37c5cb8341fedc10214a29" + integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== + dependencies: + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/provider@2.0.16": + version "2.0.16" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz#a4afdb4c8f2050beb5d2b61db8971a145481c6f2" + integrity sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w== + dependencies: + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/system" "2.2.9" + "@chakra-ui/utils" "2.0.9" -"@chakra-ui/portal@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.8.tgz#73c72ef9c462af49e03c75c98da24d738d647393" - integrity sha512-ReBfeln+9n00Si/jOXJ0eO8+fOlmwqxGm5rIe0YnuLFxjTAIWH9Z9ZVZFzn458r2wbV9Q0TdeX/wj4fTeL+Urg== +"@chakra-ui/radio@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz#82eb02313efafc460da3030d011bfd434b1ecabc" + integrity sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" + integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== -"@chakra-ui/progress@2.0.9": +"@chakra-ui/react-context@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" + integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== + +"@chakra-ui/react-env@2.0.9": version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.9.tgz#3588d352cf9b60c1dde18ee570115d844f2add79" - integrity sha512-e6RaNMU+/Jk8OsKna7eE/oTGm3/Rvzy3LsbVhQxP9aYhl29+JrqT2DKVUvfQq/8gSDTyatRcKwYTPjQQdzd2DQ== + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" + integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz#c10e575de76e907a84358595884a819039b24200" + integrity sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/theme-tools" "2.0.9" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/dom-utils" "2.0.1" + "@chakra-ui/react-use-event-listener" "2.0.3" -"@chakra-ui/provider@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.13.tgz#fc9e3e30c65d6f139d8822e301f1a328266e7f22" - integrity sha512-AOZv4XEVip1wBmH7zcKQ5jWi7B1jCZm9Lt+6K9OUPozehTAuGGoPfFutr7JnO9zgGjovYFHk0GzNHE7MYOVEGg== +"@chakra-ui/react-use-callback-ref@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" + integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== + +"@chakra-ui/react-use-controllable-state@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz#7aa3f9c038513763332f6754e69ece90aed55a9c" + integrity sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ== dependencies: - "@chakra-ui/css-reset" "2.0.4" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/radio@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.9.tgz#ce5e04dc5916263b737ea7657f2f695498981efc" - integrity sha512-6MQZLRF0oex2wgfMSeovIi0bXtr64DR3+2RK2WKeHz7JJssB+bGbhjmZCD6TFvqb9ItYizwTj+v270ZA+Ee8BA== - dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/react-use-disclosure@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz#c27bfc7e3af0728423b9e2def1e1665d0ba941bb" + integrity sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-context@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.2.tgz#2d55e148c772b4866beef6fd36016dfe7ced1753" - integrity sha512-xi9bGjE0eT7odgfuQHizO+AsXB6m9OOpsUKQiSgN7WTe6e10gkpeVbXtx7wF4RbaneMcmdrxkjAyj9rkuJMpkA== +"@chakra-ui/react-use-event-listener@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz#11b5409c4442888e7981d5288c9e781acdacd685" + integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-env@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.8.tgz#3d2fd11cdc04297addfa568a97f4bae6c00d5b6b" - integrity sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA== +"@chakra-ui/react-use-focus-effect@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz#3e221a5e9b06a7b832a6fca1f883e6335fd69f19" + integrity sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA== + dependencies: + "@chakra-ui/dom-utils" "2.0.1" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" -"@chakra-ui/react-types@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.2.tgz#65ed7bc49e1fc9cc248a9f10ae255b049d1c4626" - integrity sha512-UWm4yg+RUz93wSF6TSGuFd3okefYghpWgZ2qCjpZHWiHFyw2qjXrJ9Iuz0H583ulsugdKPk72B0e6TOrmS4CLg== +"@chakra-ui/react-use-focus-on-pointer-down@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz#be0668ff844dec8bbfe978d6eaff50534f290c48" + integrity sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.3" -"@chakra-ui/react-use-callback-ref@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.2.tgz#51ce43d3946589d0e29cb160757c4704731b287d" - integrity sha512-PWQk0pNkIUjLmj55yBNEIKfGd9dRXWIqeyXQtXnvBTUVxJ+r/KgtVP3hOx40Zn2mjB52jBJPF2CZO6lteLOJ9g== +"@chakra-ui/react-use-interval@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz#a8f5dbf83607f5dc53022aa2a766fdcb09d8a081" + integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-use-controllable-state@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.2.tgz#18fa7e60e43a23cc806e0d1b1dae8e4f369bf7aa" - integrity sha512-JdVLIlh7V8kJ0h8Fl9pbf82PeSpkMrNuaQJKPOUgye3X0tjbD1JGeTegYvNsccxrZl09pSwy/LU+lkY0u2Gl2g== +"@chakra-ui/react-use-merge-refs@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" + integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== + +"@chakra-ui/react-use-outside-click@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz#d0136d1c2fb45d86361224e98e3a50648bf9b85f" + integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.2" + "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-use-merge-refs@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.2.tgz#debc1011aea9e530484de8159823f55f9488be3f" - integrity sha512-SX4wv/YxMSif6Az3p8SKVgTUHZZmK77QbnFMAZcxVr4arQnRoEAwsjpsNrcvvc7mxczSM/BJB+lQ5YO8ePAu3g== +"@chakra-ui/react-use-pan-event@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" + integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== + dependencies: + "@chakra-ui/event-utils" "2.0.4" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz#e19f6b363271f62c36c9f3bd91dc60caa4c4e340" + integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== + +"@chakra-ui/react-use-safe-layout-effect@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" + integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== + +"@chakra-ui/react-use-size@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" + integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz#acacadfb7c1443aacf634ddce710b1cd7cf3b6ec" + integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-update-effect@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" + integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== + +"@chakra-ui/react-utils@2.0.6": + version "2.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz#bb471ce2bff724b99563685962145a2cc56bf61d" + integrity sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg== + dependencies: + "@chakra-ui/utils" "2.0.9" + +"@chakra-ui/react@^2.2.8", "@chakra-ui/react@^2.2.9": + version "2.3.2" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz#4ffcd5b79d21d14e240efc37adab7831f2aac37f" + integrity sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg== + dependencies: + "@chakra-ui/accordion" "2.0.12" + "@chakra-ui/alert" "2.0.9" + "@chakra-ui/avatar" "2.1.0" + "@chakra-ui/breadcrumb" "2.0.9" + "@chakra-ui/button" "2.0.9" + "@chakra-ui/checkbox" "2.1.8" + "@chakra-ui/close-button" "2.0.9" + "@chakra-ui/control-box" "2.0.9" + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/editable" "2.0.9" + "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/hooks" "2.0.9" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/input" "2.0.9" + "@chakra-ui/layout" "2.1.6" + "@chakra-ui/live-region" "2.0.9" + "@chakra-ui/media-query" "3.2.5" + "@chakra-ui/menu" "2.0.13" + "@chakra-ui/modal" "2.1.7" + "@chakra-ui/number-input" "2.0.9" + "@chakra-ui/pin-input" "2.0.12" + "@chakra-ui/popover" "2.0.9" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/progress" "2.0.10" + "@chakra-ui/provider" "2.0.16" + "@chakra-ui/radio" "2.0.10" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/select" "2.0.10" + "@chakra-ui/skeleton" "2.0.15" + "@chakra-ui/slider" "2.0.10" + "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/stat" "2.0.9" + "@chakra-ui/switch" "2.0.11" + "@chakra-ui/system" "2.2.9" + "@chakra-ui/table" "2.0.9" + "@chakra-ui/tabs" "2.1.1" + "@chakra-ui/tag" "2.0.9" + "@chakra-ui/textarea" "2.0.10" + "@chakra-ui/theme" "2.1.11" + "@chakra-ui/toast" "3.0.10" + "@chakra-ui/tooltip" "2.0.10" + "@chakra-ui/transition" "2.0.9" + "@chakra-ui/utils" "2.0.9" + "@chakra-ui/visually-hidden" "2.0.9" + +"@chakra-ui/select@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz#827028484769a32205f99baed3098a115da292b3" + integrity sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q== + dependencies: + "@chakra-ui/form-control" "2.0.9" + +"@chakra-ui/shared-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" + integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== + +"@chakra-ui/skeleton@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz#fd41383bf84319e47c6ea1f4f3138f5f5e0dabca" + integrity sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q== + dependencies: + "@chakra-ui/media-query" "3.2.5" + "@chakra-ui/react-use-previous" "2.0.1" + +"@chakra-ui/slider@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz#ffd7376d4a7fd9aa02e72b148e3ad4739c880498" + integrity sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g== + dependencies: + "@chakra-ui/number-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-pan-event" "2.0.4" + "@chakra-ui/react-use-size" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + +"@chakra-ui/spinner@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" + integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== -"@chakra-ui/react-use-pan-event@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.2.tgz#c4aa0ed3cead00def34ce10a371ac1f7ce03a373" - integrity sha512-DGPyDPT7HP/UJ7d7xt3VdYUo7Wa3MpyYkMimGbWGTpP/Dl0z7mYfz75G6MoKDzTDGdZkT/D7mx68zYI1LZsAog== +"@chakra-ui/stat@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz#cecf35a4392a88227c3b85e80a45f0f5ac5f298d" + integrity sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg== dependencies: - "@chakra-ui/event-utils" "2.0.2" - framesync "5.3.0" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/react-use-size@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.2.tgz#7697a990d624458106e311f714dd0f0ad0a83985" - integrity sha512-KYyu5sCdWNEC8Qo6MTmnpJQsThLAwLbdW11IrrW0yhieJgOy6xnwIiEyULKxtygHQzaNbhayYV9p4vJuN2BpeQ== +"@chakra-ui/styled-system@2.3.1": + version "2.3.1" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz#abf7c4e1638aaa9d92e7cf9acde17785703d166e" + integrity sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA== dependencies: - "@zag-js/element-size" "0.1.0" - -"@chakra-ui/react-use-update-effect@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.2.tgz#317ef0602127c7a91e0473d0c0671d0b550b35c1" - integrity sha512-loDqsfIdg8X8ClzScIBY0fp2oVN3YOgad50koHRPVi2pVkkpaZKAcpjazm2MRZDPp22SvFgXrl39DL2xZN579Q== - -"@chakra-ui/react-utils@2.0.5": - version "2.0.5" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.5.tgz#b094cca3919e7ca408e11a89160b826f4fcd6f47" - integrity sha512-YTkDtyqZcI+l6O41og8P0Gd2z4MUKUQWu10VrcSF26izJg3lphU04VlPf+fB4wFJ97OGJBgtNxKuToe4Aqzg6A== - dependencies: - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/react@^2.2.8": - version "2.2.8" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.2.8.tgz#7dcc976c655d1f6ec2f71efb4cfd076ea940e6e8" - integrity sha512-yLHoE6NpDu3UORtv/drzYl+d/ngjLkEPuUggJd6gu+kv0lHLAmTkoNL8yNGPxuY/StiQEyCSjwFXmknklRr+BA== - dependencies: - "@chakra-ui/accordion" "2.0.10" - "@chakra-ui/alert" "2.0.8" - "@chakra-ui/avatar" "2.0.9" - "@chakra-ui/breadcrumb" "2.0.8" - "@chakra-ui/button" "2.0.8" - "@chakra-ui/checkbox" "2.1.7" - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/control-box" "2.0.8" - "@chakra-ui/counter" "2.0.8" - "@chakra-ui/css-reset" "2.0.4" - "@chakra-ui/editable" "2.0.8" - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/image" "2.0.9" - "@chakra-ui/input" "2.0.8" - "@chakra-ui/layout" "2.1.5" - "@chakra-ui/live-region" "2.0.8" - "@chakra-ui/media-query" "3.2.4" - "@chakra-ui/menu" "2.0.10" - "@chakra-ui/modal" "2.1.6" - "@chakra-ui/number-input" "2.0.8" - "@chakra-ui/pin-input" "2.0.10" - "@chakra-ui/popover" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/progress" "2.0.9" - "@chakra-ui/provider" "2.0.13" - "@chakra-ui/radio" "2.0.9" - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/select" "2.0.8" - "@chakra-ui/skeleton" "2.0.13" - "@chakra-ui/slider" "2.0.8" - "@chakra-ui/spinner" "2.0.8" - "@chakra-ui/stat" "2.0.8" - "@chakra-ui/switch" "2.0.10" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/table" "2.0.8" - "@chakra-ui/tabs" "2.0.10" - "@chakra-ui/tag" "2.0.8" - "@chakra-ui/textarea" "2.0.9" - "@chakra-ui/theme" "2.1.7" - "@chakra-ui/toast" "3.0.6" - "@chakra-ui/tooltip" "2.0.9" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/select@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.8.tgz#f66ae7d4b7a459a79a4707df5f82a22fa1b4d41b" - integrity sha512-GiKw/t1+1hoa4K2BTJ5rJX/1iQ01QkSf3PfFuv+SOlhbb8XSwqd3tVFtmlVVLt+nOcICpcEFaTcBsuOdTvjRKw== - dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/skeleton@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.13.tgz#4d3c434498865298608cc3a8e455102582ce6969" - integrity sha512-YZeWZIVt6TKtrF3jQ9j6zcXN3VUmHiXGF2CkLLsJlbB4HocMCp7/eWsSy3BXQ7rrZvaZJhN36GUP3W3t1rHZCA== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/media-query" "3.2.4" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/slider@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.8.tgz#d7a3fe1c33701e8562dbdbe76f2becc82fbdbd52" - integrity sha512-nUHQ1YcRDfELMR6n9tfko3Rn82j9JCEtSDy3F+HumUeg0YXYXaaHLijsUpRRUa8ew8jwVuooAcUWW1MYCYekhQ== - dependencies: - "@chakra-ui/number-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/react-types" "2.0.2" - "@chakra-ui/react-use-callback-ref" "2.0.2" - "@chakra-ui/react-use-controllable-state" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.2" - "@chakra-ui/react-use-pan-event" "2.0.2" - "@chakra-ui/react-use-size" "2.0.2" - "@chakra-ui/react-use-update-effect" "2.0.2" - -"@chakra-ui/spinner@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.8.tgz#5f9778b0d7041be66d3d0a3d8520f2b807df9090" - integrity sha512-hRyUO6/qiP2qqeZIOJuPn7furrA1+72/mX7BfWuEifVgCcMJuGayHyFvhVwiEfnRZXLHMgZ8bxK2rycGr5xAYA== - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/stat@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.8.tgz#8b762501ab4f686f6ee9d580975f8d695f375620" - integrity sha512-aKMxI/qpSXCAMS8TD8kHhT3cTJDvKT75K1r+azZDb3NHOMjIzjl2pFI7XgPmgizz/BS8ADByLipK9bEV97GIsw== - dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/styled-system@2.2.7": - version "2.2.7" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.2.7.tgz#ad9bb2c6810b9b33c6a6360e035dd49fd8d790df" - integrity sha512-8kG4ItrQ26IB9B6+yfrslPUvOGxquaOCBg15mofsEIlwFHhBtcJ26hu2ByDGG3LRGHLStbcJcSPeg+sebkGiPw== - dependencies: - "@chakra-ui/utils" "2.0.8" csstype "^3.0.11" + lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.10.tgz#dca19667174e3cf5e9b5dae62b2376c3704c70db" - integrity sha512-t7MYTuVWYovlgw1uh1aSzIwn5vwpyysBYMc71kx6rrC11aHwZWs5+agH05agUmYRXHXHSwDdWUjtbp4OoFctUA== +"@chakra-ui/switch@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz#57117417d1bb072f506c8c30e1a961ee7f78496b" + integrity sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw== dependencies: - "@chakra-ui/checkbox" "2.1.7" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/checkbox" "2.1.8" -"@chakra-ui/system@2.2.6": - version "2.2.6" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.6.tgz#09824efd43d7568a5a34e40908bf2ad0e0f8d27f" - integrity sha512-I5q38ObqCrGXmLsxkc56F+1RONbpIIFJvOgq1upXMPOJWHqkzmdqaoJtpANhoE2LvB0GH/gRniiWN17WBCsOIQ== +"@chakra-ui/system@2.2.9": + version "2.2.9" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz#d6e7dfb9a954b8ab03c28e14c69aad56a9fcffbd" + integrity sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ== dependencies: - "@chakra-ui/color-mode" "2.1.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/styled-system" "2.2.7" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/color-mode" "2.1.7" + "@chakra-ui/react-utils" "2.0.6" + "@chakra-ui/styled-system" "2.3.1" + "@chakra-ui/utils" "2.0.9" react-fast-compare "3.2.0" -"@chakra-ui/table@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.8.tgz#41e576da052fac545814fda06129b84e2dca6a03" - integrity sha512-V2fOKUsZT/wJp1GfYVf8jl1em8grCmp45hBhwEZu6U4579ihzddxFvg++YLNCzFJn2NOocm5gGMQGO/HLq4mkQ== +"@chakra-ui/table@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz#2ddb0202e8146e517bf602e62195d13fee8f1b0a" + integrity sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/tabs@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.0.10.tgz#3d1c2b32d8fb3a59422a44882415a784add9c80c" - integrity sha512-+qrpQjb8l8nbPjG9WhnANgXFFhsKEUKX+lkVqdB8gpOalPHo67d0vBBpgwBK31sY0X0JNErBT2td9lWuyrQsIg== +"@chakra-ui/tabs@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz#0fb540782c2e4122b63a203fc1f04eff850f2c0e" + integrity sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ== + dependencies: + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/tag@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz#bf8530aa766bd6b9196d374ff75b0b1ce62cd0d3" + integrity sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg== dependencies: - "@chakra-ui/clickable" "2.0.8" - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/tag@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.8.tgz#0c15e457f470eb8088d0bad584eb6dd942889e4c" - integrity sha512-TfAehlhq+peluH2xsj5KS43IggFRHX8m7FyewdRuacL6ZOCQW3qDtJpTP/hF2maqavIgdzdWN87Y6gbtnS4Kqw== +"@chakra-ui/textarea@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz#dbbc8df8adddb488d0ee97164917e7be33d6b247" + integrity sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.9" -"@chakra-ui/textarea@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.9.tgz#d7c95d54a93d8c986fa11a6716a29ca0610bd1b9" - integrity sha512-5GSxqb5UPvMu/EUHnkUUJd8msYXR6v325RM1Bhf+xSCmt/JX6ImKi0KF36tHQLhWWbqZUBukF9A3INy2VdSMgA== +"@chakra-ui/theme-tools@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz#de97b422799627b5a514ae424ca08c1d348bc2a5" + integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/anatomy" "2.0.6" + "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/theme-tools@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.9.tgz#6e997899774595c8e425cd8e7d1e52253116b5d6" - integrity sha512-mdLONajdFWaXzEKvuod7ikioWTrAIAlZnXt55XfBOU3htJgRls49y/DltirN8+EUz6RlZ7oZfCYNf6aRMJH+rg== +"@chakra-ui/theme@2.1.11": + version "2.1.11" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz#cdfca3e84fc6913c5bb1a06e24b7cbb1246e127e" + integrity sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA== dependencies: - "@chakra-ui/anatomy" "2.0.4" - "@chakra-ui/utils" "2.0.8" - "@ctrl/tinycolor" "^3.4.0" + "@chakra-ui/anatomy" "2.0.6" + "@chakra-ui/theme-tools" "2.0.11" -"@chakra-ui/theme@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.7.tgz#0d6d70c05bdba98901c66f928a2f8b6b067c9a07" - integrity sha512-p4UQPPTHhgAS0ieMS5xUnMY6rHizdvM7vLUrpz+bljvfaR+TX4aHFnUihAfEtaCmqMUxR2tgkRcvAFtlbTAezA== - dependencies: - "@chakra-ui/anatomy" "2.0.4" - "@chakra-ui/theme-tools" "2.0.9" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/toast@3.0.6": - version "3.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.6.tgz#c9a879bbf27876d40fd63e3d0132f4133cedfbd8" - integrity sha512-4e3RmpUxyvb0tt1pmezh/IiKEKMqrjsfMPNCMCJzN7gY/yuZAH1OrsqbgpZZ2WSzA8bAjlrpl8J0rXNlj9qHaQ== - dependencies: - "@chakra-ui/alert" "2.0.8" - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/theme" "2.1.7" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/tooltip@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.9.tgz#3ca28d4c3677d21c5cb3af3c7ede947bf9fa8578" - integrity sha512-woJl145UdVPrkIn/oSLTNZxtQnhgSINo6RXZlC4gA2Y+4DTdEd1whvVFhpVATXbnyTwLR44yytByTLuglt/z8A== +"@chakra-ui/toast@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz#5918beb208ca592f72a9e24923254341fa38df58" + integrity sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" + "@chakra-ui/alert" "2.0.9" + "@chakra-ui/close-button" "2.0.9" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-use-timeout" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/theme" "2.1.11" -"@chakra-ui/transition@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.8.tgz#74ba4c644928b94128eb2bde3be073c11388454d" - integrity sha512-XBXYvynMkY1hju4BV8R+URo3OszmqeE4JwMtKond3QH9x6nMOJItGbdJKCng2hHIS2hm+jXMqFAVc29PZEiqeA== +"@chakra-ui/tooltip@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz#2166753f9f246dd217d3170fd85f95a86392d9b6" + integrity sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/transition@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" + integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== -"@chakra-ui/utils@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.8.tgz#b75e1cd22479eaa64410bd42849e638138971b20" - integrity sha512-5xSzOYSYbJEh+myY1mC6rOX+mzM/F2fiDqAw0zybHhfUab4zPHCO5RlgYVJ0L1DlGZUogVgRP6szH1xoBCcWQg== +"@chakra-ui/utils@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz#1af3882b31fb46e0a411998d8e3607656f8d5043" + integrity sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" framesync "5.3.0" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.8.tgz#45c94106dce46dfaee589238750355434b002679" - integrity sha512-BIFtNYNgYWAa40csnAqi+NCiMorD0JQg9pm43pmbgqgiX2GJTR3UYnx7JI9bOiQc6HQZnlV0/opJFDdWpQlHvg== - dependencies: - "@chakra-ui/utils" "2.0.8" +"@chakra-ui/visually-hidden@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz#b43a3dd0bc1108954ad0eeb50d0261887ab5e31c" + integrity sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg== "@confio/ics23@^0.6.8": version "0.6.8" @@ -3053,6 +2325,15 @@ resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz#f8dc7c6ffcceb74c7e877a28606f86e7ff5baab4" integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== +"@cosmos-kit/core@0.12.3", "@cosmos-kit/core@^0.12.2", "@cosmos-kit/core@^0.12.3": + version "0.12.3" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.3.tgz#5c25684c258bd73a031c4c72b3bd85c26dcb8aa7" + integrity sha512-SKCehNW73y+AhEbBkIJrGP1c3uy4gKi/YmI1nxC/Fmx/5uWyoj3fvkz7VpkE1l9ZGU0OEY9qE7dSshMAOpiDGg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + chain-registry "^0.10.0" + "@cosmos-kit/core@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.11.0.tgz#5535fa5720203ceccaa20e9dc61eac068b4ff599" @@ -3064,6 +2345,26 @@ "@keplr-wallet/cosmos" "^0.10.12" "@walletconnect/client" "1.7.8" +"@cosmos-kit/keplr@0.12.3": + version "0.12.3" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.3.tgz#d590cca76175442c354f5d13d457d599750723e1" + integrity sha512-2kP99DCh5zoslJbtc8XmQ+XuFD9eermNHNbP1a7rAGJ2xWh1zg5mRfTuqySNj2iakjjoc1Z2Q7ggdgjB5MzGRg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.12.3" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.10" + "@keplr-wallet/wc-client" "^0.10.20" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + "@cosmos-kit/keplr@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.11.0.tgz#ebcc62aa73270057a6917a5d37ac482b1f317ba2" @@ -3083,6 +2384,54 @@ deepmerge "4.2.2" secretjs "0.17.5" +"@cosmos-kit/keplr@^0.12.2", "@cosmos-kit/keplr@^0.12.3": + version "0.12.7" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.7.tgz#1c59295537469e4dc7fe5b15cfb825d3bf2c1e2e" + integrity sha512-5Q9Lb+XY2/nd4/HWZ1095k1T0SImQi0pRPYjfxnANqD7GqMnBzMW0qj/QPZcKOP32fk6hWXgT4U7LzP8cZpCSg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.12.3" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.10" + "@keplr-wallet/wc-client" "^0.10.20" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.12.4": + version "0.12.4" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.4.tgz#5e3f913244f4e2a3830c21169415533a119d4075" + integrity sha512-R0kbwkdgxmVG6HS+qpppY8YWhajs4/S8IziCO2A5upV+2BRL9Pqos5Yepj0zRsWLD9cFlMA9LV9rBhEquCX/LQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@chakra-ui/react" "^2.2.9" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.12.7": + version "0.12.7" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.7.tgz#4ae8d1bd76213814aded28f18928dff2483fdd3e" + integrity sha512-86Vh4DO8NqwDB6K6mh/X/hxIDSuaZndtrx/8gve8bZ95ag+g3N0l7AcaA5/gxQfe5wqPNr3KVpELyw/wqDK7vQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@chakra-ui/react" "^2.2.9" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + "@cosmos-kit/react@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.11.0.tgz#a8e8e3fd79bafffbe6fd5f32f0064701d1be11c6" @@ -3096,6 +2445,29 @@ react-modal "3.15.1" styled-components "5.3.5" +"@cosmos-kit/react@^0.12.2": + version "0.12.5" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.5.tgz#0040c05ae34ab466e07984d49fca4f7259f49ff8" + integrity sha512-+wCcWMYO0x2590y1PbgHogoEM0eFJZQtMcax/Nt8d998L0mUp7R5jvaWqR38sTsEnu28kwRtuBheQEujPpby+A== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@chakra-ui/react" "^2.2.9" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmos-kit/registry@0.12.6", "@cosmos-kit/registry@^0.12.2": + version "0.12.6" + resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.12.6.tgz#2b6f475aed5dd9fc6e062f8529f7f70f3f3abaa8" + integrity sha512-7uu1k7JTMP2uRsBrWbvy64Ubj6Gc5/k/g366ib9dfo6zl47HxfZJl+Y0ultyOBtHMtxrOt7+bT605yeBa/nUNQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@cosmos-kit/keplr" "^0.12.3" + "@cosmos-kit/registry@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.11.0.tgz#1d11a21c97a7f9350597d63ca12897d5f02c7067" @@ -3210,7 +2582,7 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@11.10.0", "@emotion/react@^11.8.1": +"@emotion/react@11.10.0": version "11.10.0" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz#53c577f063f26493f68a05188fb87528d912ff2e" integrity sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ== @@ -3223,6 +2595,20 @@ "@emotion/weak-memoize" "^0.3.0" hoist-non-react-statics "^3.3.1" +"@emotion/react@^11", "@emotion/react@^11.8.1": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz#9dc6bccbda5d70ff68fdb204746c0e8b13a79199" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + "@emotion/serialize@^1.1.0": version "1.1.0" resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" @@ -3250,6 +2636,18 @@ "@emotion/serialize" "^1.1.0" "@emotion/utils" "^1.2.0" +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz#e93f84a4d54003c2acbde178c3f97b421fce1cd4" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/stylis@^0.8.4": version "0.8.5" resolved "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" @@ -3265,6 +2663,11 @@ resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + "@emotion/utils@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" @@ -3276,13 +2679,13 @@ integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== "@eslint/eslintrc@^1.3.0": - version "1.3.0" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f" - integrity sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw== + version "1.3.2" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" + integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== dependencies: ajv "^6.12.4" debug "^4.3.2" - espree "^9.3.2" + espree "^9.4.0" globals "^13.15.0" ignore "^5.2.0" import-fresh "^3.2.1" @@ -3429,9 +2832,9 @@ integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== "@ethersproject/networks@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.0.tgz#df72a392f1a63a57f87210515695a31a245845ad" - integrity sha512-MG6oHSQHd4ebvJrleEQQ4HhVu8Ichr0RDYEfHzsVAVjHNM+w36x9wp9r+hf1JstMXtseXDtkiVoARAG6M959AA== + version "5.7.1" + resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" + integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== dependencies: "@ethersproject/logger" "^5.7.0" @@ -3533,9 +2936,9 @@ "@ethersproject/wordlists" "^5.7.0" "@ethersproject/web@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.0.tgz#40850c05260edad8b54827923bbad23d96aac0bc" - integrity sha512-ApHcbbj+muRASVDSCl/tgxaH2LBkRMEYfLOLVa0COipx0+nlu0QKet7U2lEg0vdkh8XRSLf2nd1f1Uk9SrVSGA== + version "5.7.1" + resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" + integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== dependencies: "@ethersproject/base64" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -3638,19 +3041,20 @@ integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== "@istanbuljs/load-nyc-config@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" - integrity sha512-ZR0rq/f/E4f4XcgnDvtMWXCUJpi8eO0rssVhmztsZqLIEFA9UUP9zmpE0VxlM+kv/E1ul2I876Fwil2ayptDVg== + version "1.1.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== dependencies: camelcase "^5.3.1" find-up "^4.1.0" + get-package-type "^0.1.0" js-yaml "^3.13.1" resolve-from "^5.0.0" "@istanbuljs/schema@^0.1.2": - version "0.1.2" - resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" - integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== + version "0.1.3" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== "@jest/console@^28.1.3": version "28.1.3" @@ -3878,9 +3282,9 @@ integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.8", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.14" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" - integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ== + version "0.3.15" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" + integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== dependencies: "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" @@ -3890,30 +3294,29 @@ resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@keplr-wallet/background@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.10.19.tgz#403503c09d306b0526e663f0ab84ad61d68b9b45" - integrity sha512-mZBrjj1PEIEfwbOG4Lt0ZFX4I7jyGCRMKw5OCzAwTKyXF8le6B0En7OLWuWDYYANHyPR42zhL91vurh3KQ4T6g== +"@keplr-wallet/background@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.10.24.tgz#21abe313a432c9fd031576d034f20f44e2191515" + integrity sha512-goDDvovYv73QUa7FHk0MPwPNiT4ObGggwr6GMOlTF4pUuM2RDzG5BXbkFFRsIJoL/t2+CjnJ3IKJyYnX/CfTrw== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" "@ethersproject/bytes" "^5.5.0" "@ethersproject/keccak256" "^5.5.0" "@ethersproject/wallet" "^5.5.0" - "@keplr-wallet/common" "0.10.19" - "@keplr-wallet/cosmos" "0.10.19" - "@keplr-wallet/crypto" "0.10.19" - "@keplr-wallet/popup" "0.10.19" - "@keplr-wallet/proto-types" "0.10.19" - "@keplr-wallet/router" "0.10.19" - "@keplr-wallet/types" "0.10.19" - "@keplr-wallet/unit" "0.10.19" + "@keplr-wallet/common" "0.10.24" + "@keplr-wallet/cosmos" "0.10.24" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/popup" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/router" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" "@ledgerhq/hw-transport" "^6.20.0" "@ledgerhq/hw-transport-webhid" "^6.20.0" "@ledgerhq/hw-transport-webusb" "^6.20.0" - "@tharsis/address-converter" "^0.1.5" aes-js "^3.1.2" - axios "^0.21.4" + axios "^0.27.2" big-integer "^1.6.48" bip39 "^3.0.2" buffer "^6.0.3" @@ -3926,36 +3329,36 @@ secretjs "^0.17.0" utility-types "^3.10.0" -"@keplr-wallet/common@0.10.19", "@keplr-wallet/common@^0.10.12": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.19.tgz#7ed8f1dbe8f030ff72edbd0fc725bb277d9f931a" - integrity sha512-ojp62UiuXbmEk8Li/GWekS2MYpI5x5GXMC9Zkh0edtNUVo4ZIB3G/ia/wf/vbM1tvsBuIh9OUJHfipyUqtx2/Q== +"@keplr-wallet/common@0.10.24", "@keplr-wallet/common@^0.10.12": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.24.tgz#f6c625975b494b6ac4326180d75ec5524e150638" + integrity sha512-cQgGSgvQGJ4f6yjH2JPtpR7xve83VGHEgNPuYV2C0lIKYjWHmu7Zq20uF3BWU6tc+5LAieOoz3mJDfdLNNvN+w== dependencies: - "@keplr-wallet/crypto" "0.10.19" + "@keplr-wallet/crypto" "0.10.24" buffer "^6.0.3" delay "^4.4.0" -"@keplr-wallet/cosmos@0.10.19", "@keplr-wallet/cosmos@^0.10.12", "@keplr-wallet/cosmos@^0.10.3": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.19.tgz#f0ba0d40bcdf3a2b1a597f53c18adbe1b13191bb" - integrity sha512-PWWtCb6ZtJ+jOB9dpAM//u0/Sd8ITATPbteYI51W88Wulf18x3axdLx2xfRAlM5/UEL7dYcikxj+ByAHHBl28A== +"@keplr-wallet/cosmos@0.10.24", "@keplr-wallet/cosmos@^0.10.12", "@keplr-wallet/cosmos@^0.10.3": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@ethersproject/address" "^5.6.0" - "@keplr-wallet/crypto" "0.10.19" - "@keplr-wallet/proto-types" "0.10.19" - "@keplr-wallet/types" "0.10.19" - "@keplr-wallet/unit" "0.10.19" - axios "^0.21.4" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.10.19", "@keplr-wallet/crypto@^0.10.11": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.19.tgz#6d8e72ec7a78d583d4804b806c905196b9f6c78c" - integrity sha512-jYtoAKmWX9IFzPdTC3D1ewwOgZNzUBf9crzS582DOhOOadBexJsN+QHq+kZCn15vYV74odJSmlkXn8NGFFtTSg== +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.11": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== dependencies: bip32 "^2.0.6" bip39 "^3.0.3" @@ -3965,57 +3368,56 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/popup@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/popup/-/popup-0.10.19.tgz#b59f07cdc3b465ba9f86f65ab4db21c1ca84b0a2" - integrity sha512-rFNI6V15KpDI5I1P7opoPgM2Ln7zFUD5bRq472KWDapP+wcGlHnVQoU9JE/zNFC2tN8l7J23FyCyuIclqFL/zw== +"@keplr-wallet/popup@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/popup/-/popup-0.10.24.tgz#00bfdb0decdc4e3186ea7370ea74c35b5674af12" + integrity sha512-rGr9ItNf5fk1XM5aCKYrH9i/ZK1RnLhJORZQTzzihhaYel1Ox+zHSYF1RQIeoBZ5Vc6cE5h/yL76LSsFBS9PRA== -"@keplr-wallet/proto-types@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.19.tgz#ee3cc16d6cfdab8fe3fbd2353a892d96512cb7fa" - integrity sha512-HijRMUpt1MQurFkg2IV09vvJ3Ms3NmTTEkuAigbf2RRzloXlMk07qR/++caTkwbkphcrGgCzQG7Q+0D+vvq7Yw== +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/provider@^0.10.12": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.19.tgz#a8dadeae9d45d5831ce549056382e8360c7eeb54" - integrity sha512-ecWItSCtZ33wY0uJab5+jyjKtPg818Fj4rxubGah7pHUjl2rzoPsohzXz/ZB7MuzxWYLJ7nFnOCtkL7L3fOGDg== +"@keplr-wallet/provider@0.10.24", "@keplr-wallet/provider@^0.10.12": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.24.tgz#e5dbdb667dc78f76a93290d098cfa227637db318" + integrity sha512-m0PP9A3T41G9jI8gTCAP+3oakKMRx2Y2cXi+WTK02l9XzRRzO2uUU6aQwmaqArYSF2Qyq361UF/mUIbK43f6qw== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/router" "0.10.19" - "@keplr-wallet/types" "0.10.19" + "@keplr-wallet/router" "0.10.24" + "@keplr-wallet/types" "0.10.24" buffer "^6.0.3" deepmerge "^4.2.2" long "^4.0.0" secretjs "^0.17.0" -"@keplr-wallet/router@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.19.tgz#d5ffb56422865c0ebae7d4d1a49a034adfbd087d" - integrity sha512-sWG6JQsCJYcjKbzxKZ19aR8+ZpKAOQD3Ehmsx7oBsFDKT+4e9Qks4/y9GLb0xCtnzsLxFl8/NXEYBSLqc25PDg== +"@keplr-wallet/router@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.24.tgz#7d975d5e9273bbe9496d8af7d952eef3727e54fb" + integrity sha512-hZLzCSm9lrL5rWLYuEzoIc4lLGMfs+PNTlTcUGgEjd9BjQiBlEGAPK6a4cfa0L5SUirJv5szBoBR2UI2LwB/wg== "@keplr-wallet/stores@^0.10.12": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/stores/-/stores-0.10.19.tgz#edb9b4c2a9b67df17a235de4a481a87e945547a8" - integrity sha512-iL9ijUuUhUEQLwxdEDJvN/9ltbfvp9AlaUAUkP6R9gG6KDG6+3HW931naMWyMScryH5y47f2JURkdX5fJPEptA== + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/stores/-/stores-0.10.24.tgz#92654c97f36585146c8947d0850df3c17477ac2f" + integrity sha512-L5oBugSgXhXVoolthHjLYYEV1ccn/loPNBtLn94JrN2nx0qF7Wiqnro/Gfrgm79qI4B9BzonF0X3wAMQirL+Cg== dependencies: "@cosmjs/encoding" "^0.24.0-alpha.25" "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/tendermint-rpc" "^0.24.1" "@ethersproject/address" "^5.6.0" - "@keplr-wallet/background" "0.10.19" - "@keplr-wallet/common" "0.10.19" - "@keplr-wallet/cosmos" "0.10.19" - "@keplr-wallet/crypto" "0.10.19" - "@keplr-wallet/proto-types" "0.10.19" - "@keplr-wallet/router" "0.10.19" - "@keplr-wallet/types" "0.10.19" - "@keplr-wallet/unit" "0.10.19" - "@tharsis/address-converter" "^0.1.5" - axios "^0.21.4" + "@keplr-wallet/background" "0.10.24" + "@keplr-wallet/common" "0.10.24" + "@keplr-wallet/cosmos" "0.10.24" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/router" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" buffer "^6.0.3" deepmerge "^4.2.2" eventemitter3 "^4.0.7" @@ -4024,26 +3426,42 @@ p-queue "^6.6.2" utility-types "^3.10.0" -"@keplr-wallet/types@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.19.tgz#cba3b7eb0012bfde87d5873ded39c3be95719dfc" - integrity sha512-oLljU2oj3aYCClxF1M9a6CWOzFsKcQqGJxPrZz2NoYkD1o0NmaRZ2Dw8Fd3qcfb2x9ZWzTkNl4M8w+8IDw+zSg== +"@keplr-wallet/types@0.10.24", "@keplr-wallet/types@^0.10": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - axios "^0.21.4" + axios "^0.27.2" long "^4.0.0" secretjs "^0.17.0" -"@keplr-wallet/unit@0.10.19": - version "0.10.19" - resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.19.tgz#c80fc572ee528962dcf54aad63a7b7ad53874757" - integrity sha512-3RLDqHC4FymOjJw8mUxwYf/eVhK06LkRikQBNFxIWiIQv13kcSs9r8vBioiuY1thvwWX0Xb6EGluvwcWK3YYJg== +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== dependencies: - "@keplr-wallet/types" "0.10.19" + "@keplr-wallet/types" "0.10.24" big-integer "^1.6.48" utility-types "^3.10.0" +"@keplr-wallet/wc-client@^0.10.20": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.10.24.tgz#5226772a7100aec56055844d4573426953b92496" + integrity sha512-vJOoZNX8Qr63kMQ4cLHYFaM4Q5FwsUypp4Tnztrt//yHreI9Qtwb2Am2E5MFYln4lb/JFOz94R09GEEEDP7hKA== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.10.24" + "@keplr-wallet/provider" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "^0.17.0" + "@ledgerhq/devices@^5.51.1": version "5.51.1" resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-5.51.1.tgz#d741a4a5d8f17c2f9d282fd27147e6fe1999edb7" @@ -4054,12 +3472,12 @@ rxjs "6" semver "^7.3.5" -"@ledgerhq/devices@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.0.tgz#ba743aa6d0725562e8b1bd5c4f0b7db2cf573710" - integrity sha512-vq4B33WdU0dRAJIRFWZMj6w1W1yw1i4mekCmhk7N9wPaFrtGWZ2iI9WDihsNOBooCWKQe8Jsb9eD8RVThbSlFQ== +"@ledgerhq/devices@^7.0.1": + version "7.0.1" + resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.1.tgz#c014fbb806ba3d48efb2fd757e8588c9300f54fc" + integrity sha512-LlAyDU5+GH0w+J1wscLU+Ga4z5a5ACKmMGQKILj5XscCtp63NjbtVdVt4oc/xrmoUdRqVehIw2Ui+e9nIF52yA== dependencies: - "@ledgerhq/errors" "^6.10.1" + "@ledgerhq/errors" "^6.10.2" "@ledgerhq/logs" "^6.10.0" rxjs "6" semver "^7.3.5" @@ -4069,29 +3487,29 @@ resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-5.50.0.tgz#e3a6834cb8c19346efca214c1af84ed28e69dad9" integrity sha512-gu6aJ/BHuRlpU7kgVpy2vcYk6atjB4iauP2ymF7Gk0ez0Y/6VSMVSJvubeEQN+IV60+OBK0JgeIZG7OiHaw8ow== -"@ledgerhq/errors@^6.10.1": - version "6.10.1" - resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.10.1.tgz#510688251b6261744c6b1cde6cfd2dfb13fc27b2" - integrity sha512-92d1zRQleR1AQ4CAXgWgDtKUms+8EwShLVUcajI+BLWvgJ1Vclmq6PsBIDEQbsm+riVu/Ji3LcHdmgFgmi0VGw== +"@ledgerhq/errors@^6.10.2": + version "6.10.2" + resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.10.2.tgz#ba104d495eae5ee91264de91a9ba8e3dcaa1a4ea" + integrity sha512-iMfEJPWaan8QaZw87WMUnFFRJqveE3FpU2ObTE0ydTJLPJNOUJjjurGBklqdWM/j5BIQvpi3byGKFChfNg8CaQ== "@ledgerhq/hw-transport-webhid@^6.20.0": - version "6.27.2" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.2.tgz#e3ee2501b1353a335d7436c1f2b95821d2b2f426" - integrity sha512-ZlyNheUhcxBZqjJzhSfJfeGQvNbeyWs9866rdQjVeG1zsbTJi0+6tfRv8J248QISS8vHtG5IMSxgMg9mtux9dQ== + version "6.27.4" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.4.tgz#dedf70454e7bc6029cd73d1fa8375f1d107c744f" + integrity sha512-r30GAzaJkyCWnsdxyQKeYYSkzN3kiIBEVQiZ7MTMeVO2KRJFMDjO/2ZQ7AV6kjJWmENdfsHrlibSnxj933wB/A== dependencies: - "@ledgerhq/devices" "^7.0.0" - "@ledgerhq/errors" "^6.10.1" - "@ledgerhq/hw-transport" "^6.27.2" + "@ledgerhq/devices" "^7.0.1" + "@ledgerhq/errors" "^6.10.2" + "@ledgerhq/hw-transport" "^6.27.4" "@ledgerhq/logs" "^6.10.0" "@ledgerhq/hw-transport-webusb@^6.20.0": - version "6.27.2" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.2.tgz#e8efe6392957ea048860db6a83a0111d6f525e4b" - integrity sha512-wuoBBHOtGhJMoZEBjL4OAhvlU3pCD4rMYlwBNchEzayzU9k5ItegP43o71N9Fj/MeKevBqatxJ+tp8eUQbwewA== + version "6.27.4" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.4.tgz#738c177321d4271a0697d199dd87df0b1a28ee2c" + integrity sha512-yth7Sba1YrR51qJ9clBT3qDGdVAy72eapSgN3kbnhas1oqJBmP+os9QukUhimuwthsEurIv78eP1UPtBU80ZOg== dependencies: - "@ledgerhq/devices" "^7.0.0" - "@ledgerhq/errors" "^6.10.1" - "@ledgerhq/hw-transport" "^6.27.2" + "@ledgerhq/devices" "^7.0.1" + "@ledgerhq/errors" "^6.10.2" + "@ledgerhq/hw-transport" "^6.27.4" "@ledgerhq/logs" "^6.10.0" "@ledgerhq/hw-transport@^5.25.0": @@ -4103,13 +3521,13 @@ "@ledgerhq/errors" "^5.50.0" events "^3.3.0" -"@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.27.2": - version "6.27.2" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.2.tgz#318e24b13b4bc392277d0b3b6fbc568f86b41f01" - integrity sha512-GF4pmK78rEKhZfbmunwQ131c+0MGa6L5IoYlwgFcg6CaFpUjjPiTCKUFsm4flsE0Z0Ltn9QuKoe+xEHULo7rGA== +"@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.27.4": + version "6.27.4" + resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.4.tgz#a06853fabb1795f728b5989078e58cad44146cc4" + integrity sha512-i3RYKfSIZ7PHM2sFljAU443qOYMTlghx8l5AZqsNKsXbawHkuOr7EtISW3zqbC0Wh3uws7u63qQ/50TLmylr7g== dependencies: - "@ledgerhq/devices" "^7.0.0" - "@ledgerhq/errors" "^6.10.1" + "@ledgerhq/devices" "^7.0.1" + "@ledgerhq/errors" "^6.10.2" events "^3.3.0" "@ledgerhq/logs@^5.50.0": @@ -4928,6 +4346,13 @@ resolved "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== +"@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": + version "5.1.1-v1" + resolved "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129" + integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg== + dependencies: + eslint-scope "5.1.1" + "@noble/hashes@^1", "@noble/hashes@^1.0.0": version "1.1.2" resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" @@ -5153,9 +4578,9 @@ protobufjs "^6.11.3" "@osmonauts/lcd@^0.4.0": - version "0.4.0" - resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.4.0.tgz#94c14df420559530e5fbaec2b64e6e0603629605" - integrity sha512-DjzU2ZqJ6DHkRpNfIfut1LIVYxdqo5IQf9sgYPiDF2hmTCxvYeAZ6uvCuiUiKJO0QdjBs3criv0/CH+Ytl5dsA== + version "0.4.1" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.4.1.tgz#78df03e256796c43de8291efb6aab4fab1c1b3df" + integrity sha512-N8QzBk2VopBlism9P1y/aoly2G32U/9NJuls/yL6eubVtAZ61OWb+wV7pzaT+zQmDkylehFPCmdGD4JiTJxQig== dependencies: "@babel/runtime" "^7.18.9" axios "0.27.2" @@ -5410,9 +4835,9 @@ long "^4.0.0" "@rushstack/eslint-patch@^1.1.3": - version "1.1.4" - resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27" - integrity sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA== + version "1.2.0" + resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" + integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== "@sideway/address@^4.1.3": version "4.1.4" @@ -5432,14 +4857,14 @@ integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== "@sinclair/typebox@^0.24.1": - version "0.24.22" - resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.22.tgz#0da18e6e75701d6609c7c68fe18002bb1f47345f" - integrity sha512-JsBe3cOFpNZ6yjBYnXKhcENWy5qZE3PQZwExQ5ksA/h8qp4bwwxFmy07A6bC2R6qv6+RF3SfrbQTskTwYNTXUQ== + version "0.24.41" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz#45470b8bae32a28f1e0501066d0bacbd8b772804" + integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== "@sinonjs/commons@^1.7.0": - version "1.7.1" - resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.1.tgz#da5fd19a5f71177a53778073978873964f49acf1" - integrity sha512-Debi3Baff1Qu1Unc3mjJ96MgpbwTn43S1+9yJ0llWygPwDNu2aaWBD6yc9y/Z8XDRNhx7U+u2UDg2OGQXkclUQ== + version "1.8.3" + resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" + integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== dependencies: type-detect "4.0.8" @@ -5458,9 +4883,9 @@ tslib "^2.4.0" "@testing-library/dom@^8.5.0": - version "8.17.1" - resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-8.17.1.tgz#2d7af4ff6dad8d837630fecd08835aee08320ad7" - integrity sha512-KnH2MnJUzmFNPW6RIKfd+zf2Wue8mEKX0M3cpX6aKl5ZXrJM1/c/Pc8c2xDNYQCnJO48Sm5ITbMXgqTr3h4jxQ== + version "8.18.0" + resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-8.18.0.tgz#fe5903a456f2c2b64770d91e50237a031c382121" + integrity sha512-hP7v7Ifiq104Lb4dTuQzUtlkbX4sgsmxVwOTnVSDOU4ntApvPfp+eFLvasS8GpMP6pVfdbNRXNF/bSK7LTriEg== dependencies: "@babel/code-frame" "^7.10.4" "@babel/runtime" "^7.12.5" @@ -5480,16 +4905,6 @@ "@testing-library/dom" "^8.5.0" "@types/react-dom" "^18.0.0" -"@tharsis/address-converter@^0.1.5": - version "0.1.8" - resolved "https://registry.npmjs.org/@tharsis/address-converter/-/address-converter-0.1.8.tgz#15323e25f6b41d9a4741627f5a1b4ed4547d23f6" - integrity sha512-z7zdNczV8RIzBNxzIzRFhC5ujiQ3Lt04At9rooo2pL6QONDDMMLxsqH3o28ie80k5DXSXaMJ6gffATeehxwAkw== - dependencies: - bech32 "^2.0.0" - crypto-addr-codec "^0.1.7" - link-module-alias "^1.2.0" - shx "^0.3.4" - "@tootallnate/once@1": version "1.1.2" resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" @@ -5512,32 +4927,27 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.1" - resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz#4901767b397e8711aeb99df8d396d7ba7b7f0e04" - integrity sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew== + version "7.6.4" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" + integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.0.2" - resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz#4ff63d6b52eddac1de7b975a5223ed32ecea9307" - integrity sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg== + version "7.4.1" + resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.0.9" - resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.9.tgz#be82fab304b141c3eee81a4ce3b034d0eba1590a" - integrity sha512-jEFQ8L1tuvPjOI8lnpaf73oCJe+aoxL6ygqSy6c8LcW98zaC+4mzWuQIRCEvKeCOu+lbqdXcg4Uqmm1S8AP1tw== + version "7.18.1" + resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.1.tgz#ce5e2c8c272b99b7a9fd69fa39f0b4cd85028bd9" + integrity sha512-FSdLaZh2UxaMuLp9lixWaHq/golWTRWOnRsAXzDTDSDOQLuZb1nsdCt6pJSPWSEQt2eFZ2YVk3oYhn+1kLMeMA== dependencies: "@babel/types" "^7.3.0" -"@types/color-name@^1.1.1": - version "1.1.1" - resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" - integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== - "@types/glob@^7.1.3": version "7.2.0" resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" @@ -5554,9 +4964,9 @@ "@types/node" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz#42995b446db9a48a11a07ec083499a860e9138ff" - integrity sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg== + version "2.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== "@types/istanbul-lib-report@*": version "3.0.0" @@ -5573,9 +4983,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@^28.1.7": - version "28.1.7" - resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.7.tgz#a680c5d05b69634c2d54a63cb106d7fb1adaba16" - integrity sha512-acDN4VHD40V24tgu0iC44jchXavRNVFXQ/E6Z5XNsswgoSO/4NgsXoEYmPUGookKldlZQyIpmrEXsHI9cA3ZTA== + version "28.1.8" + resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz#6936409f3c9724ea431efd412ea0238a0f03b09b" + integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== dependencies: expect "^28.0.0" pretty-format "^28.0.0" @@ -5598,9 +5008,9 @@ "@types/lodash" "*" "@types/lodash@*", "@types/lodash@^4.14.182": - version "4.14.184" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.184.tgz#23f96cd2a21a28e106dc24d825d4aa966de7a9fe" - integrity sha512-RoZphVtHbxPZizt4IcILciSWiC6dcn+eZ8oX9IWEYfDMcocdd42f7NPI6fQj+6zI8y4E0L7gu2pcZKLGTRaV9Q== + version "4.14.185" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz#c9843f5a40703a8f5edfd53358a58ae729816908" + integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== "@types/long@^4.0.1": version "4.0.2" @@ -5608,9 +5018,9 @@ integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== "@types/minimatch@*": - version "5.1.0" - resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.0.tgz#c3018161691376002f8a22ebb87f341e0dba3219" - integrity sha512-0RJHq5FqDWo17kdHe+SMDJLfxmLaqHbWnqZ6gNKzDvStUlrmx/eKIY17+ifLS1yybo7X86aUshQMlittDOVNnw== + version "5.1.2" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/minimatch@^3.0.3": version "3.0.5" @@ -5622,10 +5032,10 @@ resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== -"@types/node@*": - version "13.7.4" - resolved "https://registry.npmjs.org/@types/node/-/node-13.7.4.tgz#76c3cb3a12909510f52e5dc04a6298cdf9504ffd" - integrity sha512-oVeL12C6gQS/GAExndigSaLxTrKpQPxewx9bOcwfvJiJge4rr7wNaph4J+ns5hrmIV2as5qxqN8YKthn9qh0jw== +"@types/node@*", "@types/node@>=13.7.0": + version "18.7.18" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz#633184f55c322e4fb08612307c274ee6d5ed3154" + integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== "@types/node@10.12.18": version "10.12.18" @@ -5637,7 +5047,7 @@ resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== -"@types/node@18.7.11", "@types/node@>=13.7.0": +"@types/node@18.7.11": version "18.7.11" resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== @@ -5648,9 +5058,9 @@ integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/normalize-package-data@^2.4.0": - version "2.4.0" - resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" - integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== + version "2.4.1" + resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" + integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== "@types/parse-json@^4.0.0": version "4.0.0" @@ -5662,12 +5072,7 @@ resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== -"@types/prettier@^2.1.5": - version "2.6.4" - resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.6.4.tgz#ad899dad022bab6b5a9f0a0fe67c2f7a4a8950ed" - integrity sha512-fOwvpvQYStpb/zHMx0Cauwywu9yLDmzWiiQBC7gJyq5tYLUXFZvDG7VK1B7WBxxjBJNKFOZ0zLoOQn8vmATbhw== - -"@types/prettier@^2.6.1": +"@types/prettier@^2.1.5", "@types/prettier@^2.6.1": version "2.7.0" resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== @@ -5691,7 +5096,16 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@18.0.17": +"@types/react@*": + version "18.0.20" + resolved "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz#e4c36be3a55eb5b456ecf501bd4a00fd4fd0c9ab" + integrity sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/react@18.0.17": version "18.0.17" resolved "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4" integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ== @@ -5711,59 +5125,59 @@ integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== "@types/yargs-parser@*": - version "15.0.0" - resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" - integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw== + version "21.0.0" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== "@types/yargs@^17.0.8": - version "17.0.10" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.10.tgz#591522fce85d8739bca7b8bb90d048e4478d186a" - integrity sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA== + version "17.0.12" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz#0745ff3e4872b4ace98616d4b7e37ccbd75f9526" + integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== dependencies: "@types/yargs-parser" "*" "@typescript-eslint/parser@^5.21.0": - version "5.33.1" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.33.1.tgz#e4b253105b4d2a4362cfaa4e184e2d226c440ff3" - integrity sha512-IgLLtW7FOzoDlmaMoXdxG8HOCByTBXrB1V2ZQYSEV1ggMmJfAkMWTwUjjzagS6OkfpySyhKFkBw7A9jYmcHpZA== + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" + integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== dependencies: - "@typescript-eslint/scope-manager" "5.33.1" - "@typescript-eslint/types" "5.33.1" - "@typescript-eslint/typescript-estree" "5.33.1" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/typescript-estree" "5.37.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.33.1": - version "5.33.1" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.33.1.tgz#8d31553e1b874210018ca069b3d192c6d23bc493" - integrity sha512-8ibcZSqy4c5m69QpzJn8XQq9NnqAToC8OdH/W6IXPXv83vRyEDPYLdjAlUx8h/rbusq6MkW4YdQzURGOqsn3CA== +"@typescript-eslint/scope-manager@5.37.0": + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz#044980e4f1516a774a418dafe701a483a6c9f9ca" + integrity sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q== dependencies: - "@typescript-eslint/types" "5.33.1" - "@typescript-eslint/visitor-keys" "5.33.1" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" -"@typescript-eslint/types@5.33.1": - version "5.33.1" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.33.1.tgz#3faef41793d527a519e19ab2747c12d6f3741ff7" - integrity sha512-7K6MoQPQh6WVEkMrMW5QOA5FO+BOwzHSNd0j3+BlBwd6vtzfZceJ8xJ7Um2XDi/O3umS8/qDX6jdy2i7CijkwQ== +"@typescript-eslint/types@5.37.0": + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" + integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== -"@typescript-eslint/typescript-estree@5.33.1": - version "5.33.1" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.33.1.tgz#a573bd360790afdcba80844e962d8b2031984f34" - integrity sha512-JOAzJ4pJ+tHzA2pgsWQi4804XisPHOtbvwUyqsuuq8+y5B5GMZs7lI1xDWs6V2d7gE/Ez5bTGojSK12+IIPtXA== +"@typescript-eslint/typescript-estree@5.37.0": + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" + integrity sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA== dependencies: - "@typescript-eslint/types" "5.33.1" - "@typescript-eslint/visitor-keys" "5.33.1" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@5.33.1": - version "5.33.1" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.33.1.tgz#0155c7571c8cd08956580b880aea327d5c34a18b" - integrity sha512-nwIxOK8Z2MPWltLKMLOEZwmfBZReqUdbEoHQXeCpa+sRVARe5twpJGHCB4dk9903Yaf0nMAlGbQfaAH92F60eg== +"@typescript-eslint/visitor-keys@5.37.0": + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" + integrity sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA== dependencies: - "@typescript-eslint/types" "5.33.1" + "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" "@walletconnect/browser-utils@1.7.8": @@ -5798,7 +5212,17 @@ "@walletconnect/types" "^1.7.8" "@walletconnect/utils" "^1.7.8" -"@walletconnect/core@^1.7.8": +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.7.8", "@walletconnect/core@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== @@ -5831,7 +5255,7 @@ resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== -"@walletconnect/iso-crypto@^1.7.8": +"@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== @@ -5855,6 +5279,24 @@ "@walletconnect/environment" "^1.0.0" "@walletconnect/jsonrpc-types" "^1.0.1" +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + "@walletconnect/randombytes@^1.0.2": version "1.0.2" resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" @@ -5883,7 +5325,7 @@ resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz#ec397e6fbdc8147bccc17029edfeb41c50a5ca09" integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== -"@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== @@ -5901,7 +5343,7 @@ js-sha3 "0.8.0" query-string "6.13.5" -"@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== @@ -5998,7 +5440,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.12.4: +ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: version "6.12.6" resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -6008,16 +5450,6 @@ ajv@^6.10.0, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^6.5.5: - version "6.12.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7" - integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - ansi-escapes@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" @@ -6029,32 +5461,27 @@ ansi-escapes@^3.2.0: integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== ansi-escapes@^4.2.1: - version "4.3.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d" - integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg== + version "4.3.2" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== dependencies: - type-fest "^0.8.1" + type-fest "^0.21.3" ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= + version "3.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== ansi-regex@^4.1.0: version "4.1.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== -ansi-regex@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== - ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" @@ -6072,15 +5499,7 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0: - version "4.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" - integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA== - dependencies: - "@types/color-name" "^1.1.1" - color-convert "^2.0.1" - -ansi-styles@^4.1.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -6097,15 +5516,7 @@ any-promise@^1.0.0: resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== -anymatch@^3.0.3: - version "3.1.1" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" - integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -anymatch@~3.1.2: +anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -6124,9 +5535,9 @@ aproba@^2.0.0: integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== + version "1.1.7" + resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" + integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== dependencies: delegates "^1.0.0" readable-stream "^2.0.6" @@ -6159,9 +5570,9 @@ aria-query@^4.2.2: "@babel/runtime-corejs3" "^7.10.2" aria-query@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" - integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== + version "5.0.2" + resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.0.2.tgz#0b8a744295271861e1d933f8feca13f9b70cfdc1" + integrity sha512-eigU3vhqSO+Z8BKDnVLN/ompjhf3pYzecKXz8+whRy+9gZu8n1TCGfwzQUUPnqdHl9ax1Hr9031orZ+UOEYr7Q== array-differ@^3.0.0: version "3.0.0" @@ -6171,7 +5582,7 @@ array-differ@^3.0.0: array-ify@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= + integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== array-includes@^3.1.4, array-includes@^3.1.5: version "3.1.5" @@ -6209,10 +5620,21 @@ array.prototype.flatmap@^1.3.0: es-abstract "^1.19.2" es-shim-unscopables "^1.0.0" +array.prototype.reduce@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz#8167e80089f78bff70a99e20bd4201d4663b0a6f" + integrity sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-array-method-boxes-properly "^1.0.0" + is-string "^1.0.7" + arrify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= + integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== arrify@^2.0.1: version "2.0.1" @@ -6222,19 +5644,19 @@ arrify@^2.0.1: asap@^2.0.0: version "2.0.6" resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== + version "0.2.6" + resolved "https://registry.npmjs.org/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.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= + integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== ast-stringify@0.1.0: version "0.1.0" @@ -6256,7 +5678,7 @@ async-limiter@~1.0.0: asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== at-least-node@^1.0.0: version "1.0.0" @@ -6266,12 +5688,12 @@ at-least-node@^1.0.0: aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= + integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== aws4@^1.8.0: - version "1.9.1" - resolved "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e" - integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug== + version "1.11.0" + resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" + integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== axe-core@^4.4.3: version "4.4.3" @@ -6285,7 +5707,7 @@ axios@0.21.1: dependencies: follow-redirects "^1.10.0" -axios@0.27.2: +axios@0.27.2, axios@^0.27.2: version "0.27.2" resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== @@ -6293,7 +5715,7 @@ axios@0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -axios@^0.21.1, axios@^0.21.2, axios@^0.21.4: +axios@^0.21.1, axios@^0.21.2: version "0.21.4" resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== @@ -6370,12 +5792,12 @@ babel-plugin-macros@^3.1.0: resolve "^1.19.0" babel-plugin-polyfill-corejs2@^0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.2.tgz#e4c31d4c89b56f3cf85b92558954c66b54bd972d" - integrity sha512-LPnodUl3lS0/4wN3Rb+m+UK8s7lj2jcLRrjho4gLw+OJs+I4bvGXshINesY5xx/apM+biTnQ9reDI8yj+0M5+Q== + version "0.3.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== dependencies: "@babel/compat-data" "^7.17.7" - "@babel/helper-define-polyfill-provider" "^0.3.2" + "@babel/helper-define-polyfill-provider" "^0.3.3" semver "^6.1.1" babel-plugin-polyfill-corejs3@^0.5.3: @@ -6387,11 +5809,11 @@ babel-plugin-polyfill-corejs3@^0.5.3: core-js-compat "^3.21.0" babel-plugin-polyfill-regenerator@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.0.tgz#8f51809b6d5883e07e71548d75966ff7635527fe" - integrity sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw== + version "0.4.1" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.2" + "@babel/helper-define-polyfill-provider" "^0.3.3" "babel-plugin-styled-components@>= 1.12.0": version "2.0.7" @@ -6455,7 +5877,7 @@ balanced-match@^1.0.0: resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base-x@^3.0.2, base-x@^3.0.8: +base-x@^3.0.2: version "3.0.9" resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== @@ -6470,7 +5892,7 @@ base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: bcrypt-pbkdf@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= + integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== dependencies: tweetnacl "^0.14.3" @@ -6479,21 +5901,11 @@ bech32@^1.1.3, bech32@^1.1.4: resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== -bech32@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" - integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== - before-after-hook@^2.2.0: version "2.2.2" resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== -big-integer@1.6.36: - version "1.6.36" - resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" - integrity sha512-t70bfa7HYEA1D9idDbmuv7YbsbVkQ+Hp+8KFSul4aE5e/i1bjCNIRYJZlA8Q8p0r9T8cF/RVvwUgRA//FydEyg== - big-integer@^1.6.48: version "1.6.51" resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" @@ -6534,11 +5946,6 @@ bip39@^3.0.2, bip39@^3.0.3: pbkdf2 "^3.0.9" randombytes "^2.0.1" -blakejs@^1.1.0: - version "1.2.1" - resolved "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" - integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== - bn.js@4.11.8: version "4.11.8" resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" @@ -6554,6 +5961,11 @@ bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -6581,34 +5993,15 @@ brorand@^1.1.0: resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browserslist@^4.11.1, browserslist@^4.12.0: - version "4.14.5" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz#1c751461a102ddc60e40993639b709be7f2c4015" - integrity sha512-Z+vsCZIvCBvqLoYkBFTwEYH3v5MCQbsAjp50ERycpOjnPmolg1Gjy4+KaWWpm8QOJt9GHkhdqAl14NpCX73CWA== +browserslist@^4.11.1, browserslist@^4.21.3: + version "4.21.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== dependencies: - caniuse-lite "^1.0.30001135" - electron-to-chromium "^1.3.571" - escalade "^3.1.0" - node-releases "^1.1.61" - -browserslist@^4.20.2, browserslist@^4.21.2: - version "4.21.3" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz#5df277694eb3c48bc5c4b05af3e8b7e09c5a6d1a" - integrity sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ== - dependencies: - caniuse-lite "^1.0.30001370" - electron-to-chromium "^1.4.202" + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" node-releases "^2.0.6" - update-browserslist-db "^1.0.5" - -browserslist@^4.8.3: - version "4.8.7" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.8.7.tgz#ec8301ff415e6a42c949d0e66b405eb539c532d0" - integrity sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA== - dependencies: - caniuse-lite "^1.0.30001027" - electron-to-chromium "^1.3.349" - node-releases "^1.1.49" + update-browserslist-db "^1.0.9" bs-logger@0.x: version "0.2.6" @@ -6617,7 +6010,7 @@ bs-logger@0.x: dependencies: fast-json-stable-stringify "2.x" -bs58@^4.0.0, bs58@^4.0.1: +bs58@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== @@ -6641,9 +6034,9 @@ bser@2.1.1: node-int64 "^0.4.0" buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" - integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== + version "1.1.2" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== buffer@6.0.3, buffer@^6.0.3: version "6.0.3" @@ -6664,12 +6057,12 @@ buffer@~5.4.3: builtins@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== byline@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - integrity sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE= + integrity sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q== byte-size@^7.0.0: version "7.0.1" @@ -6742,25 +6135,10 @@ camelize@^1.0.0: resolved "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" integrity sha512-W2lPwkBkMZwFlPCXhIlYgxu+7gC/NUlCtdK652DAJ1JdgV0sTrvuPFshNPrFa1TY2JOkLhgdeEBplB4ezEa+xg== -caniuse-lite@^1.0.30001027: - version "1.0.30001028" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001028.tgz#f2241242ac70e0fa9cda55c2776d32a0867971c2" - integrity sha512-Vnrq+XMSHpT7E+LWoIYhs3Sne8h9lx9YJV3acH3THNCwU/9zV93/ta4xVfzTtnqd3rvnuVpVjE3DFqf56tr3aQ== - -caniuse-lite@^1.0.30001135: - version "1.0.30001137" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001137.tgz#6f0127b1d3788742561a25af3607a17fc778b803" - integrity sha512-54xKQZTqZrKVHmVz0+UvdZR6kQc7pJDgfhsMYDG19ID1BWoNnDMFm5Q3uSBSU401pBvKYMsHAt9qhEDcxmk8aw== - -caniuse-lite@^1.0.30001332: - version "1.0.30001378" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001378.tgz#3d2159bf5a8f9ca093275b0d3ecc717b00f27b67" - integrity sha512-JVQnfoO7FK7WvU4ZkBRbPjaot4+YqxogSDosHv0Hv5mWpUESmN+UubMU6L/hGz8QlQ2aY5U0vR6MOs6j/CXpNA== - -caniuse-lite@^1.0.30001370: - version "1.0.30001373" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz#2dc3bc3bfcb5d5a929bec11300883040d7b4b4be" - integrity sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ== +caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz#aa29e1f47f5055b0d0c07696a67b8b08023d14c8" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== case@1.6.3: version "1.6.3" @@ -6770,9 +6148,9 @@ case@1.6.3: caseless@~0.12.0: version "0.12.0" resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= + integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@^0.10.3: +chain-registry@^0.10.0, chain-registry@^0.10.3: version "0.10.3" resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz#d3ff23c49a670adf710e5c33e2bb247b9695c1c3" integrity sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA== @@ -6781,9 +6159,9 @@ chain-registry@^0.10.3: "@chain-registry/types" "^0.7.1" chakra-react-select@^4.1.4: - version "4.1.4" - resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz#27ad5cd2953dd93a7fb594454e73bd386304ebb3" - integrity sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg== + version "4.2.2" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz#f523779fd123b5e42894d1038e5687ba913464a9" + integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== dependencies: react-select "^5.4.0" @@ -6798,7 +6176,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.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -6850,7 +6228,7 @@ chokidar@^3.4.0, chokidar@^3.4.3: optionalDependencies: fsevents "~2.3.2" -chownr@^1.1.1: +chownr@^1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== @@ -6866,9 +6244,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0: - version "3.3.2" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" - integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== + version "3.4.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz#b28484fd436cbc267900364f096c9dc185efb251" + integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" @@ -6944,7 +6322,7 @@ clone-deep@^4.0.1: clone@^1.0.2: version "1.0.4" resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== cmd-shim@^4.1.0: version "4.1.0" @@ -6956,17 +6334,17 @@ cmd-shim@^4.1.0: co@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= + integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== collect-v8-coverage@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.0.tgz#150ee634ac3650b71d9c985eb7f608942334feb1" - integrity sha512-VKIhJgvk8E1W28m5avZ2Gv2Ruv5YiF56ug2oclvaG9md69BuZImMG2sk9g7QNKLUbtYAKQjXjYxbYZVUlMMKmQ== + version "1.0.1" + resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" + integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== color-convert@^1.9.0: version "1.9.3" @@ -6985,7 +6363,7 @@ color-convert@^2.0.1: color-name@1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== color-name@~1.1.4: version "1.1.4" @@ -6998,11 +6376,11 @@ colors@^1.1.2: integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== columnify@^1.5.4: - version "1.5.4" - resolved "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" - integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs= + version "1.6.0" + resolved "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" + integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== dependencies: - strip-ansi "^3.0.0" + strip-ansi "^6.0.1" wcwidth "^1.0.0" combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: @@ -7022,11 +6400,6 @@ commander@^6.2.0: resolved "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== -commander@~2.20.3: - version "2.20.3" - resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commondir@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -7071,7 +6444,7 @@ config-chain@^1.1.12: console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== conventional-changelog-angular@^5.0.12: version "5.0.13" @@ -7155,14 +6528,7 @@ conventional-recommended-bump@^6.1.0: 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: - version "1.7.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" - integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - dependencies: - safe-buffer "~5.1.1" - -convert-source-map@^1.5.0: +convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== @@ -7176,36 +6542,32 @@ copy-to-clipboard@3.3.1: dependencies: toggle-selection "^1.0.6" -core-js-compat@^3.21.0, core-js-compat@^3.22.1: - version "3.24.0" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.24.0.tgz#885958fac38bf3f4464a90f2663b4620f6aee6e3" - integrity sha512-F+2E63X3ff/nj8uIrf8Rf24UDGIz7p838+xjEp+Bx3y8OWXj+VTPPZNCtdqovPaS9o7Tka5mCH01Zn5vOd6UQg== - dependencies: - browserslist "^4.21.2" - semver "7.0.0" - -core-js-compat@^3.6.2: - version "3.6.4" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17" - integrity sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA== +core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz#6f13a90de52f89bbe6267e5620a412c7f7ff7e42" + integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== dependencies: - browserslist "^4.8.3" - semver "7.0.0" + browserslist "^4.21.3" -core-js-pure@^3.20.2: - version "3.24.1" - resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.24.1.tgz#8839dde5da545521bf282feb7dc6d0b425f39fd3" - integrity sha512-r1nJk41QLLPyozHUUPmILCEMtMw24NG4oWK6RbsDdjzQgg9ZvrUsPBj1MnG0wXXp1DCDU6j+wUvEmBSrtRbLXg== +core-js-pure@^3.25.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz#79546518ae87cc362c991d9c2d211f45107991ee" + integrity sha512-7Fr74bliUDdeJCBMxkkIuQ4xfxn/SwrVg+HkJUAoNEXVqYLv55l6Af0dJ5Lq2YBUW9yKqSkLXaS5SYPK6MGa/A== -core-js@^3.22.1: - version "3.24.0" - resolved "https://registry.npmjs.org/core-js/-/core-js-3.24.0.tgz#4928d4e99c593a234eb1a1f9abd3122b04d3ac57" - integrity sha512-IeOyT8A6iK37Ep4kZDD423mpi6JfPRoPUdQwEWYiGolvn4o6j2diaRzNfDfpTdu3a5qMbrGUzKUpYpRY8jXCkQ== +core-js@^3.25.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js/-/core-js-3.25.1.tgz#5818e09de0db8956e16bf10e2a7141e931b7c69c" + integrity sha512-sr0FY4lnO1hkQ4gLDr24K0DGnweGO1QwSj5BpfQjpSJPdqWalja4cTps29Y/PJVG/P7FYlPDkH3hO+Tr0CvDgQ== -core-util-is@1.0.2, core-util-is@~1.0.0: +core-util-is@1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= + integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== cosmiconfig@^6.0.0: version "6.0.0" @@ -7289,19 +6651,6 @@ crypt@~0.0.1: resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== -crypto-addr-codec@^0.1.7: - version "0.1.7" - resolved "https://registry.npmjs.org/crypto-addr-codec/-/crypto-addr-codec-0.1.7.tgz#e16cea892730178fe25a38f6d15b680cab3124ae" - integrity sha512-X4hzfBzNhy4mAc3UpiXEC/L0jo5E8wAa9unsnA8nNXYzXjCcGk83hfC5avJWCSGT8V91xMnAS9AKMHmjw5+XCg== - dependencies: - base-x "^3.0.8" - big-integer "1.6.36" - blakejs "^1.1.0" - bs58 "^4.0.1" - ripemd160-min "0.0.6" - safe-buffer "^5.2.0" - sha3 "^2.1.1" - crypto-js@^4.0.0: version "4.1.1" resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" @@ -7329,9 +6678,9 @@ css-to-react-native@^3.0.0: postcss-value-parser "^4.0.2" csstype@^3.0.11, csstype@^3.0.2: - version "3.1.0" - resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" - integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== curve25519-js@0.0.4: version "0.0.4" @@ -7359,7 +6708,7 @@ dargs@7.0.0, dargs@^7.0.0: dashdash@^1.12.0: version "1.14.1" resolved "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= + integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== dependencies: assert-plus "^1.0.0" @@ -7368,7 +6717,7 @@ dateformat@^3.0.0: resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, 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.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -7389,17 +6738,10 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.1.0: - version "4.1.1" - resolved "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== - dependencies: - ms "^2.1.1" - debuglog@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== decamelize-keys@^1.1.0: version "1.1.0" @@ -7412,7 +6754,7 @@ decamelize-keys@^1.1.0: decamelize@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== decode-uri-component@^0.2.0: version "0.2.0" @@ -7422,7 +6764,7 @@ decode-uri-component@^0.2.0: dedent@^0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== deep-is@^0.1.3: version "0.1.4" @@ -7437,18 +6779,11 @@ deepmerge@4.2.2, deepmerge@^4.2.2: defaults@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= + integrity sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA== dependencies: clone "^1.0.2" -define-properties@^1.1.2, define-properties@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" - integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== - dependencies: - object-keys "^1.0.12" - -define-properties@^1.1.4: +define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== @@ -7464,12 +6799,12 @@ delay@^4.4.0: delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== delegates@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== depd@^1.1.2: version "1.1.2" @@ -7489,7 +6824,7 @@ detect-browser@5.2.0: detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= + integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== detect-indent@^6.0.0: version "6.1.0" @@ -7507,9 +6842,9 @@ detect-node-es@^1.1.0: integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== dezalgo@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= + version "1.0.4" + resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== dependencies: asap "^2.0.0" wrappy "1" @@ -7573,32 +6908,22 @@ dotty@0.1.2: integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== duplexer@^0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" - integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= + version "0.1.2" + resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== ecc-jsbn@~0.1.1: version "0.1.2" resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= + integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== dependencies: jsbn "~0.1.0" safer-buffer "^2.1.0" -electron-to-chromium@^1.3.349: - version "1.3.358" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.358.tgz#1964cab37f57d49a5a421a4de4dba3c6baf14608" - integrity sha512-y9xvv+9PplXSUkOSxgtOfwNrqD/948VIScyWURnY27PXprg3PmRl7e8ekRJhnksDNjxLVyBYY6I2nQmNBzdi6g== - -electron-to-chromium@^1.3.571: - version "1.3.576" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.576.tgz#2e70234484e03d7c7e90310d7d79fd3775379c34" - integrity sha512-uSEI0XZ//5ic+0NdOqlxp0liCD44ck20OAGyLMSymIWTEAtHKVJi6JM18acOnRgUgX7Q65QqnI+sNncNvIy8ew== - -electron-to-chromium@^1.4.202: - version "1.4.206" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.206.tgz#580ff85b54d7ec0c05f20b1e37ea0becdd7b0ee4" - integrity sha512-h+Fadt1gIaQ06JaIiyqPsBjJ08fV5Q7md+V8bUvQW/9OvXfL2LRICTz2EcnnCP7QzrFTS6/27MRV6Bl9Yn97zA== +electron-to-chromium@^1.4.251: + version "1.4.254" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz#c6203583890abf88dfc0be046cd72d3b48f8beb6" + integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -7636,9 +6961,9 @@ encoding@^0.1.12: iconv-lite "^0.6.2" env-paths@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" - integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== + version "2.2.1" + resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" + integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== envinfo@^7.7.4: version "7.8.1" @@ -7657,33 +6982,16 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.17.0-next.1: - version "1.17.4" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz#e3aedf19706b20e7c2594c35fc0d57605a79e184" - integrity sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ== - dependencies: - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - is-callable "^1.1.5" - is-regex "^1.0.5" - object-inspect "^1.7.0" - object-keys "^1.1.1" - object.assign "^4.1.0" - string.prototype.trimleft "^2.1.1" - string.prototype.trimright "^2.1.1" - -es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5: - version "1.20.1" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz#027292cd6ef44bd12b1913b828116f54787d1814" - integrity sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA== +es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5, es-abstract@^1.20.1: + version "1.20.2" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz#8495a07bc56d342a3b8ea3ab01bd986700c2ccb3" + integrity sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ== dependencies: call-bind "^1.0.2" es-to-primitive "^1.2.1" function-bind "^1.1.1" function.prototype.name "^1.1.5" - get-intrinsic "^1.1.1" + get-intrinsic "^1.1.2" get-symbol-description "^1.0.0" has "^1.0.3" has-property-descriptors "^1.0.0" @@ -7695,14 +7003,19 @@ es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19 is-shared-array-buffer "^1.0.2" is-string "^1.0.7" is-weakref "^1.0.2" - object-inspect "^1.12.0" + object-inspect "^1.12.2" object-keys "^1.1.1" - object.assign "^4.1.2" + object.assign "^4.1.4" regexp.prototype.flags "^1.4.3" string.prototype.trimend "^1.0.5" string.prototype.trimstart "^1.0.5" unbox-primitive "^1.0.2" +es-array-method-boxes-properly@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" + integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== + es-shim-unscopables@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" @@ -7755,11 +7068,6 @@ es6-weak-map@^2.0.3: es6-iterator "^2.0.3" es6-symbol "^3.1.1" -escalade@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz#e8e2d7c7a8b76f6ee64c2181d6b8151441602d4e" - integrity sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig== - escalade@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -7768,7 +7076,7 @@ escalade@^3.1.1: escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^2.0.0: version "2.0.0" @@ -7877,9 +7185,9 @@ eslint-plugin-react-hooks@^4.5.0: integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== eslint-plugin-react@^7.29.4: - version "7.30.1" - resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22" - integrity sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg== + version "7.31.8" + resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz#3a4f80c10be1bcbc8197be9e8b641b2a3ef219bf" + integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== dependencies: array-includes "^3.1.5" array.prototype.flatmap "^1.3.0" @@ -7896,7 +7204,7 @@ eslint-plugin-react@^7.29.4: semver "^6.3.0" string.prototype.matchall "^4.0.7" -eslint-scope@^5.1.1: +eslint-scope@5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -7974,10 +7282,10 @@ eslint@8.22.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^9.3.2, espree@^9.3.3: - version "9.3.3" - resolved "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz#2dd37c4162bb05f433ad3c1a52ddf8a49dc08e9d" - integrity sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng== +espree@^9.3.3, espree@^9.4.0: + version "9.4.0" + resolved "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a" + integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw== dependencies: acorn "^8.8.0" acorn-jsx "^5.3.2" @@ -8030,7 +7338,7 @@ eventemitter3@^4.0.4, eventemitter3@^4.0.7: resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@^3.3.0: +events@3.3.0, events@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -8058,7 +7366,7 @@ exenv@^1.2.0: exit@^0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== expect@^28.0.0, expect@^28.1.3: version "28.1.3" @@ -8072,11 +7380,11 @@ expect@^28.0.0, expect@^28.1.3: jest-util "^28.1.3" ext@^1.1.2: - version "1.6.0" - resolved "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" - integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== + version "1.7.0" + resolved "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== dependencies: - type "^2.5.0" + type "^2.7.2" extend@~3.0.2: version "3.0.2" @@ -8104,12 +7412,12 @@ external-editor@^3.0.3: extsprintf@1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= + integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= + version "1.4.1" + resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" + integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== fast-deep-equal@3.1.1: version "3.1.1" @@ -8134,9 +7442,9 @@ fast-fuzzy@^1.11.2: graphemesplit "^2.4.1" fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + version "3.2.12" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -8201,6 +7509,11 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" + integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== + find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" @@ -8218,7 +7531,7 @@ find-root@^1.1.0: find-up@^2.0.0: version "2.1.0" resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= + integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== dependencies: locate-path "^2.0.0" @@ -8266,14 +7579,14 @@ focus-lock@^0.11.2: tslib "^2.0.3" follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: - version "1.15.1" - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" - integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= + integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== form-data@^4.0.0: version "4.0.0" @@ -8331,7 +7644,7 @@ fs-extra@^9.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^1.2.5: +fs-minipass@^1.2.7: version "1.2.7" resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== @@ -8393,7 +7706,7 @@ fuzzy@0.1.3: gauge@~2.7.3: version "2.7.4" resolved "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= + integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg== dependencies: aproba "^1.0.3" console-control-strings "^1.0.0" @@ -8404,12 +7717,7 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" -gensync@^1.0.0-beta.1: - version "1.0.0-beta.1" - resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" - integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== - -gensync@^1.0.0-beta.2: +gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== @@ -8419,10 +7727,10 @@ get-caller-file@^2.0.5: resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.2" - resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" - integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.2: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== dependencies: function-bind "^1.1.1" has "^1.0.3" @@ -8433,6 +7741,11 @@ get-nonce@^1.0.0: resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + get-pkg-repo@^4.0.0: version "4.2.1" resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" @@ -8469,7 +7782,7 @@ get-symbol-description@^1.0.0: getpass@^0.1.1: version "0.1.7" resolved "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= + integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== dependencies: assert-plus "^1.0.0" @@ -8487,7 +7800,7 @@ git-raw-commits@^2.0.8: git-remote-origin-url@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha1-UoJlna4hBxRaERJhEq0yFuxfpl8= + integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== dependencies: gitconfiglocal "^1.0.0" pify "^2.3.0" @@ -8501,12 +7814,12 @@ git-semver-tags@^4.1.1: semver "^6.0.0" git-up@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0" - integrity sha512-LFTZZrBlrCrGCG07/dm1aCjjpL1z9L3+5aEeI9SBhAqSc+kiA9Or1bgZhQFNppJX6h/f5McrvJt1mQXTFm6Qrw== + version "4.0.5" + resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz#e7bb70981a37ea2fb8fe049669800a1f9a01d759" + integrity sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA== dependencies: is-ssh "^1.3.0" - parse-url "^5.0.0" + parse-url "^6.0.0" git-url-parse@^11.4.4: version "11.6.0" @@ -8518,7 +7831,7 @@ git-url-parse@^11.4.4: gitconfiglocal@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha1-QdBF84UaXqiPA/JMocYXgRRGS5s= + integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== dependencies: ini "^1.3.2" @@ -8566,19 +7879,7 @@ glob@8.0.3: minimatch "^5.0.1" once "^1.3.0" -glob@^7.0.0, glob@^7.1.1, glob@^7.1.4: - version "7.1.6" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - 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.3, glob@^7.1.6, glob@^7.2.0: +glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: version "7.2.3" resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -8621,12 +7922,7 @@ globby@^11.0.2, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -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.3: - version "4.2.3" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== - -graceful-fs@^4.2.9: +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.3, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== @@ -8659,14 +7955,14 @@ handlebars@^4.7.7: har-schema@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= + integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== har-validator@~5.1.3: - version "5.1.3" - resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== + version "5.1.5" + resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" + integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== dependencies: - ajv "^6.5.5" + ajv "^6.12.3" har-schema "^2.0.0" hard-rejection@^2.1.0: @@ -8689,7 +7985,7 @@ has-bigints@^1.0.1, has-bigints@^1.0.2: has-flag@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== has-flag@^4.0.0: version "4.0.0" @@ -8703,11 +7999,6 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.1.1" -has-symbols@^1.0.0, has-symbols@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" - integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg== - has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" @@ -8723,7 +8014,7 @@ has-tostringtag@^1.0.0: has-unicode@^2.0.0, has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== has@^1.0.3: version "1.0.3" @@ -8778,9 +8069,9 @@ homedir-polyfill@^1.0.1: parse-passwd "^1.0.0" hosted-git-info@^2.1.4: - version "2.8.5" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" - integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== + version "2.8.9" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" + integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: version "4.1.0" @@ -8790,9 +8081,9 @@ hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: lru-cache "^6.0.0" html-escaper@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491" - integrity sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig== + version "2.0.2" + resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== http-cache-semantics@^4.1.0: version "4.1.0" @@ -8811,7 +8102,7 @@ http-proxy-agent@^4.0.1: http-signature@~1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= + integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== dependencies: assert-plus "^1.0.0" jsprim "^1.2.2" @@ -8833,7 +8124,7 @@ human-signals@^2.1.0: humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== dependencies: ms "^2.0.0" @@ -8868,7 +8159,7 @@ ignore@^5.2.0: resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -8876,18 +8167,10 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" -import-fresh@^3.1.0: - version "3.2.1" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" - integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - import-local@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" - integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA== + version "3.1.0" + resolved "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== dependencies: pkg-dir "^4.2.0" resolve-cwd "^3.0.0" @@ -8926,9 +8209,9 @@ inherits@2.0.3: integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== ini@^1.3.2, ini@^1.3.4: - version "1.3.5" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== + version "1.3.8" + resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== init-package-json@^2.0.2: version "2.0.5" @@ -9052,7 +8335,7 @@ ip@^2.0.0: is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== is-bigint@^1.0.1: version "1.0.4" @@ -9081,15 +8364,10 @@ is-buffer@~1.1.1: resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== -is-callable@^1.1.4, is-callable@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" - integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q== - -is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-callable@^1.1.4, is-callable@^1.2.4: + version "1.2.6" + resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.6.tgz#fd6170b0b8c7e2cc73de342ef8284a2202023c44" + integrity sha512-krO72EO2NptOGAX2KYyqbP9vYMlNAXdB53rq6f8LXY6RY7JdSR/3BD6wLUlPHSAesmY9vstNrjvqGaCiRK/91Q== is-ci@^2.0.0: version "2.0.0" @@ -9098,14 +8376,7 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.5.0, is-core-module@^2.9.0: - version "2.9.0" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" - integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== - dependencies: - has "^1.0.3" - -is-core-module@^2.8.1: +is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: version "2.10.0" resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== @@ -9113,9 +8384,11 @@ is-core-module@^2.8.1: has "^1.0.3" is-date-object@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e" - integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g== + version "1.0.5" + resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" is-extglob@^2.1.1: version "2.1.1" @@ -9125,14 +8398,14 @@ is-extglob@^2.1.1: is-fullwidth-code-point@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= + 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.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -9181,7 +8454,7 @@ is-obj@^2.0.0: is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= + integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== is-plain-obj@^2.0.0: version "2.1.0" @@ -9205,13 +8478,6 @@ is-promise@^2.2.2: resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== -is-regex@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae" - integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== - dependencies: - has "^1.0.3" - is-regex@^1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" @@ -9228,16 +8494,16 @@ is-shared-array-buffer@^1.0.2: call-bind "^1.0.2" is-ssh@^1.3.0: - version "1.3.1" - resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3" - integrity sha512-0eRIASHZt1E68/ixClI8bp2YK2wmBPVWEismTs6M+M099jKgrzl/3E976zIbImSIob48N2/XGe9y7ZiYdImSlg== + version "1.4.0" + resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" + integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== dependencies: - protocols "^1.1.0" + protocols "^2.0.1" is-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" - integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== + version "2.0.1" + resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" @@ -9246,14 +8512,7 @@ is-string@^1.0.5, is-string@^1.0.7: dependencies: has-tostringtag "^1.0.0" -is-symbol@^1.0.2: - version "1.0.3" - resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" - integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ== - dependencies: - has-symbols "^1.0.1" - -is-symbol@^1.0.3: +is-symbol@^1.0.2, is-symbol@^1.0.3: version "1.0.4" resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== @@ -9263,14 +8522,14 @@ is-symbol@^1.0.3: is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= + integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== dependencies: text-extensions "^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.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== is-weakref@^1.0.2: version "1.0.2" @@ -9282,7 +8541,7 @@ is-weakref@^1.0.2: isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== isexe@^2.0.0: version "2.0.0" @@ -9292,7 +8551,7 @@ isexe@^2.0.0: isobject@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== isomorphic-ws@^4.0.1: version "4.0.1" @@ -9302,14 +8561,9 @@ isomorphic-ws@^4.0.1: isstream@~0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= - -istanbul-lib-coverage@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" - integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg== + integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== -istanbul-lib-coverage@^3.2.0: +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== @@ -9335,9 +8589,9 @@ istanbul-lib-report@^3.0.0: supports-color "^7.1.0" istanbul-lib-source-maps@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz#75743ce6d96bb86dc7ee4352cf6366a23f0b1ad9" - integrity sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg== + version "4.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== dependencies: debug "^4.1.1" istanbul-lib-coverage "^3.0.0" @@ -9787,9 +9041,9 @@ js-sha3@0.8.0, js-sha3@^0.8.0: integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^3.13.1: - version "3.13.1" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== + version "3.14.1" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -9804,7 +9058,7 @@ js-yaml@^4.1.0: jsbn@~0.1.0: version "0.1.1" resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= + integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== jsesc@^2.5.1: version "2.5.2" @@ -9814,7 +9068,7 @@ jsesc@^2.5.1: jsesc@~0.5.0: version "0.5.0" resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== json-parse-better-errors@^1.0.1: version "1.0.2" @@ -9831,10 +9085,10 @@ json-schema-traverse@^0.4.1: resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= +json-schema@0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" + integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" @@ -9844,7 +9098,7 @@ json-stable-stringify-without-jsonify@^1.0.1: json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== json5@^1.0.1: version "1.0.1" @@ -9853,14 +9107,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.1.2: - version "2.1.3" - resolved "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" - integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA== - dependencies: - minimist "^1.2.5" - -json5@^2.2.1: +json5@^2.1.2, json5@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -9880,13 +9127,13 @@ jsonparse@^1.2.0, jsonparse@^1.3.1: integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= + version "1.4.2" + resolved "https://registry.npmjs.org/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.2.3" + json-schema "0.4.0" verror "1.10.0" "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.2: @@ -10012,21 +9259,14 @@ libsodium@^0.7.0: integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" - integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= - -link-module-alias@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/link-module-alias/-/link-module-alias-1.2.0.tgz#6a3b7b014cfe18b2759a1222fffce6a40fc120e4" - integrity sha512-ahPjXepbSVKbahTB6LxR//VHm8HPfI+QQygCH+E82spBY4HR5VPJTvlhKBc9F7muVxnS6C1rRfoPOXAbWO/fyw== - dependencies: - chalk "^2.4.1" + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs= + integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== dependencies: graceful-fs "^4.1.2" parse-json "^4.0.0" @@ -10046,7 +9286,7 @@ load-json-file@^6.2.0: locate-path@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= + integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== dependencies: p-locate "^2.0.0" path-exists "^3.0.0" @@ -10076,7 +9316,7 @@ locate-path@^6.0.0: lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= + integrity sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA== lodash.debounce@^4.0.8: version "4.0.8" @@ -10086,7 +9326,7 @@ lodash.debounce@^4.0.8: lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc= + integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== lodash.isregexp@^4.0.1: version "4.0.1" @@ -10128,21 +9368,11 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -lodash@^4.17.13, lodash@^4.17.15: - version "4.17.15" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" - integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== - -lodash@^4.17.19: - version "4.17.20" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" - integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== - long@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" @@ -10188,9 +9418,9 @@ make-dir@^2.0.0, make-dir@^2.1.0: semver "^5.6.0" make-dir@^3.0.0: - version "3.0.2" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.0.2.tgz#04a1acbf22221e1d6ef43559f43e05a90dbb4392" - integrity sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w== + version "3.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" @@ -10252,7 +9482,7 @@ makeerror@1.0.12: map-obj@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= + integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== map-obj@^4.0.0: version "4.3.0" @@ -10331,17 +9561,17 @@ micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -mime-db@1.43.0: - version "1.43.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" - integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.26" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" - integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: - mime-db "1.43.0" + mime-db "1.52.0" mimic-fn@^1.0.0: version "1.2.0" @@ -10391,26 +9621,11 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= - -minimist@1.2.6, minimist@^1.2.3, minimist@^1.2.6: +minimist@1.2.6, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: version "1.2.6" resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= - -minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== - minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" @@ -10458,7 +9673,7 @@ minipass-sized@^1.0.3: dependencies: minipass "^3.0.0" -minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: +minipass@^2.6.0, minipass@^2.9.0: version "2.9.0" resolved "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== @@ -10473,7 +9688,7 @@ minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: dependencies: yallist "^4.0.0" -minizlib@^1.2.1: +minizlib@^1.3.3: version "1.3.3" resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== @@ -10507,12 +9722,12 @@ mkdirp@1.0.4, mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mkdirp@^0.5.0, mkdirp@^0.5.1: - version "0.5.1" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= +mkdirp@^0.5.1, mkdirp@^0.5.5: + version "0.5.6" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== dependencies: - minimist "0.0.8" + minimist "^1.2.6" mobx-utils@^6.0.3: version "6.0.5" @@ -10520,9 +9735,9 @@ mobx-utils@^6.0.3: integrity sha512-QOduwicYedD4mwYZRl8+c3BalljFDcubg+PUGqBkn8tOuBoj2q7GhjXBP6JXM9J+Zh+2mePK8IoToeLfqr3Z/w== mobx@^6.1.7: - version "6.6.1" - resolved "https://registry.npmjs.org/mobx/-/mobx-6.6.1.tgz#70ee6aa82f25aeb7e7d522bd621207434e509318" - integrity sha512-7su3UZv5JF+ohLr2opabjbUAERfXstMY+wiBtey8yNAPoB8H187RaQXuhFjNkH8aE4iHbDWnhDFZw0+5ic4nGQ== + version "6.6.2" + resolved "https://registry.npmjs.org/mobx/-/mobx-6.6.2.tgz#9d9102a0e337e3fc09cb2d8ca0c6f00b61270d5a" + integrity sha512-IOpS0bf3+hXIhDIy+CmlNMBfFpAbHS0aVHcNC+xH/TFYEKIIVDKNYRh9eKlXuVfJ1iRKAp0cRVmO145CyJAMVQ== modify-values@^1.0.0: version "1.0.1" @@ -10534,12 +9749,12 @@ ms@2.0.0: resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== -ms@2.1.2, ms@^2.0.0: +ms@2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.1.1: +ms@^2.0.0, ms@^2.1.1: version "2.1.3" resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -10595,9 +9810,9 @@ negotiator@^0.6.2: integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== neo-async@^2.6.0: - version "2.6.1" - resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" - integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== + version "2.6.2" + resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== next-tick@1, next-tick@^1.1.0: version "1.1.0" @@ -10656,9 +9871,9 @@ node-gyp-build@^4.2.0: integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== node-gyp@^5.0.2: - version "5.1.0" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.0.tgz#8e31260a7af4a2e2f994b0673d4e0b3866156332" - integrity sha512-OUTryc5bt/P8zVgNUmC6xdXiDJxLMAW8cF5tLQOT9E5sOQj+UeQxnnPy74K3CLCa/SOjjBlbuzDLR8ANwA+wmw== + version "5.1.1" + resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz#eb915f7b631c937d282e33aed44cb7a025f62a3e" + integrity sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw== dependencies: env-paths "^2.2.0" glob "^7.1.4" @@ -10691,19 +9906,7 @@ node-gyp@^7.1.0: node-int64@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs= - -node-releases@^1.1.49: - version "1.1.50" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.50.tgz#803c40d2c45db172d0410e4efec83aa8c6ad0592" - integrity sha512-lgAmPv9eYZ0bGwUYAKlr8MG6K4CvWliWqnkcT2P8mMAgVrH3lqfBPorFlxiG1pHQnqmavJZ9vbMXUTNyMLbrgQ== - dependencies: - semver "^6.3.0" - -node-releases@^1.1.61: - version "1.1.61" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz#707b0fca9ce4e11783612ba4a2fcba09047af16e" - integrity sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g== + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== node-releases@^2.0.6: version "2.0.6" @@ -10711,9 +9914,9 @@ node-releases@^2.0.6: integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== nopt@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= + version "4.0.3" + resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" + integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== dependencies: abbrev "1" osenv "^0.1.4" @@ -10750,10 +9953,10 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-url@^3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" - integrity sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg== +normalize-url@^6.1.0: + version "6.1.0" + resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== npm-bundled@^1.1.1: version "1.1.2" @@ -10863,7 +10066,7 @@ npmlog@^4.1.2: number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= + integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== oauth-sign@~0.9.0: version "0.9.0" @@ -10873,34 +10076,19 @@ oauth-sign@~0.9.0: object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.12.0, object-inspect@^1.9.0: +object-inspect@^1.12.2, object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== -object-inspect@^1.7.0: - version "1.7.0" - resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" - integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== - -object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: +object-keys@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" - integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w== - dependencies: - define-properties "^1.1.2" - function-bind "^1.1.1" - has-symbols "^1.0.0" - object-keys "^1.0.11" - -object.assign@^4.1.2, object.assign@^4.1.3: +object.assign@^4.1.0, object.assign@^4.1.3, object.assign@^4.1.4: version "4.1.4" resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== @@ -10929,12 +10117,14 @@ object.fromentries@^2.0.5: es-abstract "^1.19.1" object.getownpropertydescriptors@^2.0.3: - version "2.1.0" - resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" - integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== + version "2.1.4" + resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz#7965e6437a57278b587383831a9b829455a4bc37" + integrity sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ== dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" + array.prototype.reduce "^1.0.4" + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.1" object.hasown@^1.1.1: version "1.1.1" @@ -10956,7 +10146,7 @@ object.values@^1.1.5: once@^1.3.0, once@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" @@ -10967,14 +10157,7 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== - dependencies: - mimic-fn "^2.1.0" - -onetime@^5.1.2: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -10996,12 +10179,12 @@ optionator@^0.9.1: os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= + integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== osenv@^0.1.4: version "0.1.5" @@ -11014,7 +10197,7 @@ osenv@^0.1.4: p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== p-limit@^1.1.0: version "1.3.0" @@ -11024,9 +10207,9 @@ p-limit@^1.1.0: p-try "^1.0.0" p-limit@^2.0.0, p-limit@^2.2.0: - version "2.2.2" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" - integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" @@ -11040,7 +10223,7 @@ p-limit@^3.0.2, p-limit@^3.1.0: p-locate@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= + integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== dependencies: p-limit "^1.1.0" @@ -11105,7 +10288,7 @@ p-timeout@^3.2.0: p-try@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= + integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== p-try@^2.0.0: version "2.2.0" @@ -11169,22 +10352,12 @@ parent-module@^1.0.0: parse-json@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz#73e5114c986d143efa3712d4ea24db9a4266f60f" - integrity sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw== + integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== dependencies: - "@babel/code-frame" "^7.0.0" error-ex "^1.3.1" json-parse-better-errors "^1.0.1" - lines-and-columns "^1.1.6" -parse-json@^5.2.0: +parse-json@^5.0.0, parse-json@^5.2.0: version "5.2.0" resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== @@ -11202,30 +10375,32 @@ parse-package-name@1.0.0: parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== parse-path@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" - integrity sha512-d7yhga0Oc+PwNXDvQ0Jv1BuWkLVPXcAoQ/WREgd6vNNoKYaW52KI+RdOFjI63wjkmps9yUE8VS4veP+AgpQ/hA== + version "4.0.4" + resolved "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz#4bf424e6b743fb080831f03b536af9fc43f0ffea" + integrity sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw== dependencies: is-ssh "^1.3.0" protocols "^1.4.0" + qs "^6.9.4" + query-string "^6.13.8" -parse-url@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f" - integrity sha512-flNUPP27r3vJpROi0/R3/2efgKkyXqnXwyP1KQ2U0SfFRgdizOdWfvrrvJg1LuOoxs7GQhmxJlq23IpQ/BkByg== +parse-url@^6.0.0: + version "6.0.5" + resolved "https://registry.npmjs.org/parse-url/-/parse-url-6.0.5.tgz#4acab8982cef1846a0f8675fa686cef24b2f6f9b" + integrity sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA== dependencies: is-ssh "^1.3.0" - normalize-url "^3.3.0" + normalize-url "^6.1.0" parse-path "^4.0.0" protocols "^1.4.0" path-exists@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== path-exists@^4.0.0: version "4.0.0" @@ -11242,11 +10417,6 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -path-parse@^1.0.6: - version "1.0.6" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" - integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== - path-parse@^1.0.7: version "1.0.7" resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" @@ -11278,19 +10448,14 @@ pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1, pbkdf2@^3.1.2: performance-now@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= + integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== picocolors@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4: - version "2.2.1" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" - integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA== - -picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -11298,12 +10463,12 @@ picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: pify@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== pify@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== pify@^4.0.1: version "4.0.1" @@ -11402,7 +10567,7 @@ process-nextick-args@~2.0.0: promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== promise-retry@^2.0.1: version "2.0.1" @@ -11413,17 +10578,17 @@ promise-retry@^2.0.1: retry "^0.12.0" prompts@^2.0.1: - version "2.3.1" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.3.1.tgz#b63a9ce2809f106fa9ae1277c275b167af46ea05" - integrity sha512-qIP2lQyCwYbdzcqHIUi2HAxiWixhoM9OdLCWf8txXsapC/X9YdsCoeyRIXE/GP+Q0J37Q7+XN/MFqbUa7IzXNA== + version "2.4.2" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== dependencies: kleur "^3.0.3" - sisteransi "^1.0.4" + sisteransi "^1.0.5" promzard@^0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4= + integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== dependencies: read "1" @@ -11439,9 +10604,9 @@ prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: proto-list@~1.2.1: version "1.2.4" resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== -protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: version "6.11.3" resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== @@ -11479,15 +10644,20 @@ protobufjs@~6.10.2: "@types/node" "^13.7.0" long "^4.0.0" -protocols@^1.1.0, protocols@^1.4.0: - version "1.4.7" - resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32" - integrity sha512-Fx65lf9/YDn3hUX08XUc0J8rSux36rEsyiv21ZGUC1mOyeM3lTRpZLcrm8aAolzS4itwVfm7TAPyxC2E5zd6xg== +protocols@^1.4.0: + version "1.4.8" + resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz#48eea2d8f58d9644a4a32caae5d5db290a075ce8" + integrity sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg== + +protocols@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" + integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== psl@^1.1.28: - version "1.7.0" - resolved "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" - integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== + version "1.9.0" + resolved "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" @@ -11497,17 +10667,24 @@ punycode@^2.1.0, punycode@^2.1.1: q@^1.5.1: version "1.5.1" resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= + integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== -qrcode.react@3.1.0: +qrcode.react@3.1.0, qrcode.react@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== +qs@^6.9.4: + version "6.11.0" + resolved "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" + qs@~6.5.2: - version "6.5.2" - resolved "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== + version "6.5.3" + resolved "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" + integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== query-string@6.13.5: version "6.13.5" @@ -11518,6 +10695,16 @@ query-string@6.13.5: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" +query-string@^6.13.8: + version "6.14.1" + resolved "https://registry.npmjs.org/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" + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -11674,16 +10861,14 @@ read-package-json-fast@^2.0.1: npm-normalize-package-bin "^1.0.1" read-package-json@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" - integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== + version "2.1.2" + resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz#6992b2b66c7177259feb8eaac73c3acd28b9222a" + integrity sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA== dependencies: glob "^7.1.1" - json-parse-better-errors "^1.0.1" + json-parse-even-better-errors "^2.3.0" normalize-package-data "^2.0.0" npm-normalize-package-bin "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" read-package-json@^3.0.0: version "3.0.1" @@ -11717,7 +10902,7 @@ read-package-tree@^5.3.1: read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc= + integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== dependencies: find-up "^2.0.0" read-pkg "^3.0.0" @@ -11734,7 +10919,7 @@ read-pkg-up@^7.0.1: read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k= + integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== dependencies: load-json-file "^4.0.0" normalize-package-data "^2.3.2" @@ -11753,7 +10938,7 @@ read-pkg@^5.2.0: read@1, read@~1.0.1: version "1.0.7" resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= + integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== dependencies: mute-stream "~0.0.4" @@ -11816,59 +11001,23 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" -regenerate-unicode-properties@^10.0.1: - version "10.0.1" - resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz#7f442732aa7934a3740c779bb9b3340dccc1fb56" - integrity sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw== +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== dependencies: regenerate "^1.4.2" -regenerate-unicode-properties@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e" - integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA== - dependencies: - regenerate "^1.4.0" - -regenerate-unicode-properties@^8.2.0: - version "8.2.0" - resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec" - integrity sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA== - dependencies: - regenerate "^1.4.0" - -regenerate@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" - integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg== - regenerate@^1.4.2: version "1.4.2" resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@^0.13.2: - version "0.13.3" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" - integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== - -regenerator-runtime@^0.13.4: - version "0.13.7" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" - integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== - -regenerator-runtime@^0.13.7: +regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: version "0.13.9" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== -regenerator-transform@^0.14.2: - version "0.14.5" - resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz#c98da154683671c9c4dcb16ece736517e1b7feb4" - integrity sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw== - dependencies: - "@babel/runtime" "^7.8.4" - regenerator-transform@^0.15.0: version "0.15.0" resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz#cbd9ead5d77fae1a48d957cf889ad0586adb6537" @@ -11890,75 +11039,27 @@ regexpp@^3.2.0: resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== -regexpu-core@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" - integrity sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg== - dependencies: - regenerate "^1.4.0" - regenerate-unicode-properties "^8.1.0" - regjsgen "^0.5.0" - regjsparser "^0.6.0" - unicode-match-property-ecmascript "^1.0.4" - unicode-match-property-value-ecmascript "^1.1.0" - -regexpu-core@^4.7.0: - version "4.7.1" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz#2dea5a9a07233298fbf0db91fa9abc4c6e0f8ad6" - integrity sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ== - dependencies: - regenerate "^1.4.0" - regenerate-unicode-properties "^8.2.0" - regjsgen "^0.5.1" - regjsparser "^0.6.4" - unicode-match-property-ecmascript "^1.0.4" - unicode-match-property-value-ecmascript "^1.2.0" - regexpu-core@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz#2f8504c3fd0ebe11215783a41541e21c79942c6d" - integrity sha512-bb6hk+xWd2PEOkj5It46A16zFMs2mv86Iwpdu94la4S3sJ7C973h2dHpYKwIBGaWSO7cIRJ+UX0IeMaWcO4qwA== + version "5.2.1" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz#a69c26f324c1e962e9ffd0b88b055caba8089139" + integrity sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ== dependencies: regenerate "^1.4.2" - regenerate-unicode-properties "^10.0.1" - regjsgen "^0.6.0" - regjsparser "^0.8.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" unicode-match-property-ecmascript "^2.0.0" unicode-match-property-value-ecmascript "^2.0.0" -regjsgen@^0.5.0: - version "0.5.1" - resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz#48f0bf1a5ea205196929c0d9798b42d1ed98443c" - integrity sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg== - -regjsgen@^0.5.1: - version "0.5.2" - resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733" - integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A== - -regjsgen@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz#83414c5354afd7d6627b16af5f10f41c4e71808d" - integrity sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA== - -regjsparser@^0.6.0: - version "0.6.3" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.3.tgz#74192c5805d35e9f5ebe3c1fb5b40d40a8a38460" - integrity sha512-8uZvYbnfAtEm9Ab8NTb3hdLwL4g/LQzEYP7Xs27T96abJCCE2d6r3cPZPQEsLKy0vRSGVNG+/zVGtLr86HQduA== - dependencies: - jsesc "~0.5.0" - -regjsparser@^0.6.4: - version "0.6.4" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.4.tgz#a769f8684308401a66e9b529d2436ff4d0666272" - integrity sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw== - dependencies: - jsesc "~0.5.0" +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== -regjsparser@^0.8.2: - version "0.8.4" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz#8a14285ffcc5de78c5b95d62bbf413b6bc132d5f" - integrity sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA== +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== dependencies: jsesc "~0.5.0" @@ -11991,7 +11092,7 @@ request@^2.88.0, request@^2.88.2: require-directory@^2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== resolve-cwd@^3.0.0: version "3.0.0" @@ -12015,7 +11116,7 @@ resolve.exports@^1.1.0: resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.3.2, resolve@^1.8.1: version "1.22.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -12024,13 +11125,6 @@ resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22 path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.10.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.8.1: - version "1.15.1" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" - integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== - dependencies: - path-parse "^1.0.6" - resolve@^2.0.0-next.3: version "2.0.0-next.4" resolved "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" @@ -12080,11 +11174,6 @@ rimraf@^2.6.3: dependencies: glob "^7.1.3" -ripemd160-min@0.0.6: - version "0.0.6" - resolved "https://registry.npmjs.org/ripemd160-min/-/ripemd160-min-0.0.6.tgz#a904b77658114474d02503e819dcc55853b67e62" - integrity sha512-+GcJgQivhs6S9qvLogusiTcS9kQUfgR75whKuy5jIhuiOfQuJ8fjqxV6EGD5duH1Y/FawFUMtMhyeq3Fbnib8A== - ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -12124,12 +11213,7 @@ rxjs@6, rxjs@^6.4.0, rxjs@^6.6.0: dependencies: tslib "^1.9.0" -safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== - -safe-buffer@^5.1.0, safe-buffer@^5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -12165,7 +11249,7 @@ secp256k1@^4.0.2: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" -secretjs@0.17.5, secretjs@^0.17.0: +secretjs@0.17.5: version "0.17.5" resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.5.tgz#5b55e46cfa2719714831fc2019e21c21959fe587" integrity sha512-sf0+Je9KIEMQr/wJOgeqyBOV0ruiMNHSwP4L2vXiJbtzJWQqyVHyPkpavAhruNZ+91XlSzAFP2X5MPxqPBC9fQ== @@ -12182,6 +11266,23 @@ secretjs@0.17.5, secretjs@^0.17.0: protobufjs "^6.11.2" secure-random "1.1.2" +secretjs@^0.17.0: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + secure-random@1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" @@ -12192,12 +11293,7 @@ secure-random@1.1.2: resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - -semver@7.x, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: version "7.3.7" resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -12209,15 +11305,10 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.1.1: - version "7.1.3" - resolved "https://registry.npmjs.org/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" - integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== - set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: version "2.4.11" @@ -12227,7 +11318,7 @@ sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -sha3@^2.1.1, sha3@~2.1.0: +sha3@~2.1.0: version "2.1.4" resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== @@ -12258,7 +11349,7 @@ shebang-regex@^3.0.0: resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@0.8.5, shelljs@^0.8.5: +shelljs@0.8.5: version "0.8.5" resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== @@ -12267,14 +11358,6 @@ shelljs@0.8.5, shelljs@^0.8.5: interpret "^1.0.0" rechoir "^0.6.2" -shx@^0.3.4: - version "0.3.4" - resolved "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02" - integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g== - dependencies: - minimist "^1.2.3" - shelljs "^0.8.5" - side-channel@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" @@ -12284,20 +11367,15 @@ 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: - version "3.0.2" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -sisteransi@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz#386713f1ef688c7c0304dc4c0632898941cad2e3" - integrity sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig== +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== slash@^2.0.0: version "2.0.0" @@ -12312,7 +11390,7 @@ slash@^3.0.0: slide@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= + integrity sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw== smart-buffer@^4.2.0: version "4.2.0" @@ -12348,7 +11426,7 @@ socks@^2.3.3, socks@^2.6.2: sort-keys@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg= + integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== dependencies: is-plain-obj "^1.0.0" @@ -12383,38 +11461,38 @@ source-map-support@^0.5.16, source-map-support@^0.5.19: source-map@^0.5.0, source-map@^0.5.7: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: +source-map@^0.6.0, source-map@^0.6.1: version "0.6.1" resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== spdx-correct@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" - integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== + version "3.1.1" + resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" + integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.2.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" - integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== + version "2.3.0" + resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" + integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== + version "3.0.1" + resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" + integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== dependencies: spdx-exceptions "^2.1.0" spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.5" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" - integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== + version "3.0.12" + resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" + integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== split-on-first@^1.0.0: version "1.1.0" @@ -12438,12 +11516,12 @@ split@^1.0.0: sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== + version "1.17.0" + resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" + integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" @@ -12490,30 +11568,13 @@ string-length@^4.0.1: string-width@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= + 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@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0: - version "2.1.1" - resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^4.1.0, string-width@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" - integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" - -string-width@^4.2.3: +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -12522,6 +11583,14 @@ string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^2.0.0, string-width@^2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + string.prototype.matchall@^4.0.7: version "4.0.7" resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" @@ -12545,22 +11614,6 @@ string.prototype.trimend@^1.0.5: define-properties "^1.1.4" es-abstract "^1.19.5" -string.prototype.trimleft@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" - integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - -string.prototype.trimright@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9" - integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g== - dependencies: - define-properties "^1.1.3" - function-bind "^1.1.1" - string.prototype.trimstart@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" @@ -12587,14 +11640,14 @@ string_decoder@~1.1.1: strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== dependencies: ansi-regex "^2.0.0" strip-ansi@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== dependencies: ansi-regex "^3.0.0" @@ -12605,14 +11658,7 @@ strip-ansi@^5.1.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== - dependencies: - ansi-regex "^5.0.0" - -strip-ansi@^6.0.1: +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -12622,7 +11668,7 @@ strip-ansi@^6.0.1: strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== strip-bom@^4.0.0: version "4.0.0" @@ -12701,14 +11747,7 @@ supports-color@^5.3.0, supports-color@^5.5.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0: - version "7.1.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" - integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== - dependencies: - has-flag "^4.0.0" - -supports-color@^7.1.0: +supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== @@ -12723,9 +11762,9 @@ supports-color@^8.0.0: has-flag "^4.0.0" supports-hyperlinks@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz#f663df252af5f37c5d49bbd7eeefa9e0b9e59e47" - integrity sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA== + version "2.3.0" + resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== dependencies: has-flag "^4.0.0" supports-color "^7.0.0" @@ -12741,17 +11780,17 @@ symbol-observable@^2.0.3: integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== tar@^4.4.12: - version "4.4.13" - resolved "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" + version "4.4.19" + resolved "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" + integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== + 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" tar@^6.0.2, tar@^6.1.0: version "6.1.11" @@ -12768,7 +11807,7 @@ tar@^6.0.2, tar@^6.1.0: temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= + integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== temp-write@^4.0.0: version "4.0.0" @@ -12840,7 +11879,7 @@ through2@^4.0.0: through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: version "2.3.8" resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== timers-ext@^0.1.7: version "0.1.7" @@ -12886,7 +11925,7 @@ tmpl@1.0.5: to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== to-regex-range@^5.0.1: version "5.0.1" @@ -12954,16 +11993,11 @@ tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4. resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== -tslib@^1.8.1: +tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^1.9.0: - version "1.11.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc" - integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -12974,14 +12008,14 @@ tsutils@^3.21.0: tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= + integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== dependencies: safe-buffer "^5.0.1" tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= + integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" @@ -13005,6 +12039,11 @@ type-fest@^0.20.2: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + type-fest@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" @@ -13030,7 +12069,7 @@ type@^1.0.1: resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== -type@^2.5.0: +type@^2.7.2: version "2.7.2" resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== @@ -13045,35 +12084,37 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: typedarray@^0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== typeforce@^1.11.5: version "1.18.0" resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== -typescript@4.7.4, typescript@^4.6.2: +typescript@4.7.4: version "4.7.4" resolved "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== +typescript@^4.6.2: + version "4.8.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" + integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== + uglify-js@^3.1.4: - version "3.8.0" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.0.tgz#f3541ae97b2f048d7e7e3aa4f39fd8a1f5d7a805" - integrity sha512-ugNSTT8ierCsDHso2jkBHXYrU8Y5/fY2ZUprfrJUiD7YpuFvV4jODLFmb3h4btQjqr5Nh4TX4XtgDfCU1WdioQ== - dependencies: - commander "~2.20.3" - source-map "~0.6.1" + version "3.17.0" + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz#55bd6e9d19ce5eef0d5ad17cd1f587d85b180a85" + integrity sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg== uid-number@0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE= + integrity sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w== umask@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" - integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= + integrity sha512-lE/rxOhmiScJu9L6RTNVgB/zZbF+vGC0/p6D3xnkAePI2o0sMyFG966iR5Ki50OI/0mNi2yaRnxfLsPmEZF/JA== unbox-primitive@^1.0.2: version "1.0.2" @@ -13085,24 +12126,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -unicode-canonical-property-names-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818" - integrity sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ== - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== -unicode-match-property-ecmascript@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c" - integrity sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg== - dependencies: - unicode-canonical-property-names-ecmascript "^1.0.4" - unicode-property-aliases-ecmascript "^1.0.4" - unicode-match-property-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" @@ -13111,30 +12139,15 @@ unicode-match-property-ecmascript@^2.0.0: unicode-canonical-property-names-ecmascript "^2.0.0" unicode-property-aliases-ecmascript "^2.0.0" -unicode-match-property-value-ecmascript@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277" - integrity sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g== - -unicode-match-property-value-ecmascript@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz#0d91f600eeeb3096aa962b1d6fc88876e64ea531" - integrity sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ== - unicode-match-property-value-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz#1a01aa57247c14c568b89775a54938788189a714" integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== -unicode-property-aliases-ecmascript@^1.0.4: - version "1.0.5" - resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" - integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== - unicode-property-aliases-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" - integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== + version "2.1.0" + resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== unicode-trie@^2.0.0: version "2.0.0" @@ -13178,10 +12191,10 @@ upath@^2.0.1: resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== -update-browserslist-db@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz#be06a5eedd62f107b7c19eb5bcefb194411abf38" - integrity sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q== +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz#2924d3927367a38d5c555413a7ce138fc95fcb18" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== dependencies: escalade "^3.1.1" picocolors "^1.0.0" @@ -13216,12 +12229,12 @@ use-sync-external-store@1.2.0: util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== util-promisify@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" - integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM= + integrity sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA== dependencies: object.getownpropertydescriptors "^2.0.3" @@ -13274,14 +12287,14 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== dependencies: builtins "^1.0.3" verror@1.10.0: version "1.10.0" resolved "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= + integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== dependencies: assert-plus "^1.0.0" core-util-is "1.0.2" @@ -13316,7 +12329,7 @@ wasm-ast-types@^0.9.0: wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== dependencies: defaults "^1.0.3" @@ -13373,11 +12386,11 @@ which@^2.0.1, which@^2.0.2: isexe "^2.0.0" wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== + version "1.1.5" + resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== dependencies: - string-width "^1.0.2 || 2" + string-width "^1.0.2 || 2 || 3 || 4" wif@^2.0.6: version "2.0.6" @@ -13419,17 +12432,7 @@ write-file-atomic@^2.4.2: imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz#558328352e673b5bb192cf86500d60b230667d4b" - integrity sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -write-file-atomic@^3.0.3: +write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: version "3.0.3" resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== @@ -13440,9 +12443,9 @@ write-file-atomic@^3.0.3: typedarray-to-buffer "^3.1.5" write-file-atomic@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" - integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== + version "4.0.2" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== dependencies: imurmurhash "^0.1.4" signal-exit "^3.0.7" @@ -13515,7 +12518,7 @@ y18n@^5.0.5: resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^3.0.0, yallist@^3.0.3: +yallist@^3.0.0, yallist@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== @@ -13525,18 +12528,11 @@ yallist@^4.0.0: resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0: +yaml@^1.10.0, yaml@^1.7.2: version "1.10.2" resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yaml@^1.7.2: - version "1.7.2" - resolved "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz#f26aabf738590ab61efaca502358e48dc9f348b2" - integrity sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw== - dependencies: - "@babel/runtime" "^7.6.3" - yargs-parser@20.2.4: version "20.2.4" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" @@ -13548,9 +12544,9 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.3: integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== yargs-parser@^21.0.0, yargs-parser@^21.0.1: - version "21.0.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" - integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== + version "21.1.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== yargs@^16.2.0: version "16.2.0" From fbb02f894f5bab7e0546c8de1d7ca0bc439a1b22 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Thu, 22 Sep 2022 21:05:16 +0800 Subject: [PATCH 074/262] update --- package.json | 7 +- templates/connect-chain/components/wallet.tsx | 54 +++-------- templates/connect-chain/package.json | 15 ++- templates/connect-chain/pages/_app.tsx | 28 +----- templates/connect-chain/pages/api/hello.ts | 13 --- .../connect-multi-chain/components/wallet.tsx | 56 +++-------- templates/connect-multi-chain/package.json | 19 ++-- templates/connect-multi-chain/pages/_app.tsx | 28 +----- .../connect-multi-chain/pages/api/hello.ts | 13 --- yarn.lock | 92 ++++++++++++++----- 10 files changed, 119 insertions(+), 206 deletions(-) delete mode 100644 templates/connect-chain/pages/api/hello.ts delete mode 100644 templates/connect-multi-chain/pages/api/hello.ts diff --git a/package.json b/package.json index 8970551cb..c5935566d 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,10 @@ "url": "https://github.com/cosmology-tech/create-cosmos-app" }, "dependencies": { - "@cosmos-kit/core": "0.12.3", - "@cosmos-kit/keplr": "0.12.3", - "@cosmos-kit/react": "0.12.7", + "@cosmos-kit/config": "0.13.2", + "@cosmos-kit/core": "0.13.2", + "@cosmos-kit/keplr": "0.13.2", + "@cosmos-kit/react": "0.13.2", "@cosmos-kit/registry": "0.12.6" } } diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index 1e67d7927..f49396c2f 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -9,7 +9,7 @@ import { chainInfos } from "../config/chain-infos"; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const walletManager = useWallet(); - const { connect, disconnect, openModal, setCurrentChain, + const { connect, disconnect, openView, setCurrentChain, walletStatus, username, address, message, currentChainName, currentWalletName } = walletManager; @@ -22,57 +22,27 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openModal(); - await connect(); + openView(); + if (currentWalletName) { + await connect(); + } }; - const onClickDisconnect: MouseEventHandler = async (e) => { + const onClickOpenView: MouseEventHandler = (e) => { e.preventDefault(); - openModal(); - // await disconnect(); - }; - - const onClickOpenModal: MouseEventHandler = (e) => { - e.preventDefault(); - openModal(); + openView(); }; // Components const connectWalletButton = ( - } + disconnect={} connecting={} - connected={ - - } - rejected={ - - } - error={ - - } - notExist={} + connected={} + rejected={} + error={} + notExist={} /> ); diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 93f956946..71ececbd7 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -9,22 +9,21 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "^2.0.8", - "@chakra-ui/react": "^2.2.8", + "@chakra-ui/icons": "2.0.8", + "@chakra-ui/react": "2.2.8", "@cosmjs/cosmwasm-stargate": "0.28.13", "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/core": "^0.12.3", - "@cosmos-kit/keplr": "^0.12.7", - "@cosmos-kit/react": "^0.12.7", - "@cosmos-kit/registry": "^0.12.6", + "@cosmos-kit/config": "0.13.2", + "@cosmos-kit/core": "0.13.2", + "@cosmos-kit/react": "0.13.2", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "^0.10.3", + "chain-registry": "0.10.3", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "^4.4.0" + "react-icons": "4.4.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index 4319cf0ab..bff476423 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -3,37 +3,15 @@ import type { AppProps } from 'next/app' import { WalletProvider } from '@cosmos-kit/react' import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { WalletManager, ChainRegistry } from '@cosmos-kit/core'; -import { allWallets } from '@cosmos-kit/registry'; -import { chains as rawChains } from 'chain-registry'; -import { convert } from '../utils'; - - -const chains: ChainRegistry[] = rawChains - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => convert(chain)); +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; function MyApp({ Component, pageProps }: AppProps) { - const walletManager = new WalletManager( - chains, - allWallets - ) - // walletManager.useWallets('keplr-extension'); - // walletManager.useChains(); - - walletManager.setAutos({ - closeModalWhenWalletIsConnected: false, - closeModalWhenWalletIsDisconnected: true, - closeModalWhenWalletIsRejected: false, - }) return ( - + diff --git a/templates/connect-chain/pages/api/hello.ts b/templates/connect-chain/pages/api/hello.ts deleted file mode 100644 index 89e4d6bd9..000000000 --- a/templates/connect-chain/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next'; - -type Data = { - name: string; -}; - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }); -} diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index d930fbebd..790bd5723 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -8,33 +8,29 @@ import { getWalletPrettyName } from "@cosmos-kit/registry"; export const WalletSection = () => { const walletManager = useWallet(); - const { connect, disconnect, openModal, setCurrentChain, + const { connect, openView, setCurrentChain, walletStatus, username, address, message, currentChainName: chainName, currentWalletName } = walletManager; // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openModal(); - await connect(); - }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openModal(); - // await disconnect(); + openView(); + if (currentWalletName) { + await connect(); + } }; - const onClickOpenModal: MouseEventHandler = (e) => { + const onClickOpenView: MouseEventHandler = (e) => { e.preventDefault(); - openModal(); + openView(); }; const onChainChange: handleSelectChainDropdown = async ( selectedValue: ChainOption | null ) => { setCurrentChain(selectedValue?.chainName); - openModal(); + openView(); if (currentWalletName) { await connect(); } @@ -44,38 +40,12 @@ export const WalletSection = () => { const connectWalletButton = ( - } + disconnect={} connecting={} - connected={ - - } - rejected={ - - } - error={ - - } - notExist={} + connected={} + rejected={} + error={} + notExist={} /> ); diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 9bd447be9..5d495adcd 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -9,24 +9,23 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "^2.0.8", - "@chakra-ui/react": "^2.2.8", + "@chakra-ui/icons": "2.0.8", + "@chakra-ui/react": "2.2.8", "@cosmjs/cosmwasm-stargate": "0.28.13", "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/core": "^0.12.3", - "@cosmos-kit/keplr": "^0.12.7", - "@cosmos-kit/react": "^0.12.7", - "@cosmos-kit/registry": "^0.12.6", + "@cosmos-kit/config": "0.13.2", + "@cosmos-kit/core": "0.13.2", + "@cosmos-kit/react": "0.13.2", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "^0.10.3", - "chakra-react-select": "^4.1.4", - "fast-fuzzy": "^1.11.2", + "chain-registry": "0.10.3", + "chakra-react-select": "4.1.4", + "fast-fuzzy": "1.11.2", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "^4.4.0" + "react-icons": "4.4.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index 4319cf0ab..bff476423 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -3,37 +3,15 @@ import type { AppProps } from 'next/app' import { WalletProvider } from '@cosmos-kit/react' import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { WalletManager, ChainRegistry } from '@cosmos-kit/core'; -import { allWallets } from '@cosmos-kit/registry'; -import { chains as rawChains } from 'chain-registry'; -import { convert } from '../utils'; - - -const chains: ChainRegistry[] = rawChains - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => convert(chain)); +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; function MyApp({ Component, pageProps }: AppProps) { - const walletManager = new WalletManager( - chains, - allWallets - ) - // walletManager.useWallets('keplr-extension'); - // walletManager.useChains(); - - walletManager.setAutos({ - closeModalWhenWalletIsConnected: false, - closeModalWhenWalletIsDisconnected: true, - closeModalWhenWalletIsRejected: false, - }) return ( - + diff --git a/templates/connect-multi-chain/pages/api/hello.ts b/templates/connect-multi-chain/pages/api/hello.ts deleted file mode 100644 index 89e4d6bd9..000000000 --- a/templates/connect-multi-chain/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next'; - -type Data = { - name: string; -}; - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }); -} diff --git a/yarn.lock b/yarn.lock index e419396d5..4cdc3ab54 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2325,10 +2325,20 @@ resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz#f8dc7c6ffcceb74c7e877a28606f86e7ff5baab4" integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== -"@cosmos-kit/core@0.12.3", "@cosmos-kit/core@^0.12.2", "@cosmos-kit/core@^0.12.3": - version "0.12.3" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.3.tgz#5c25684c258bd73a031c4c72b3bd85c26dcb8aa7" - integrity sha512-SKCehNW73y+AhEbBkIJrGP1c3uy4gKi/YmI1nxC/Fmx/5uWyoj3fvkz7VpkE1l9ZGU0OEY9qE7dSshMAOpiDGg== +"@cosmos-kit/config@0.13.2", "@cosmos-kit/config@^0.13.2": + version "0.13.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.13.2.tgz#b07c61c774b7fd21d0e1600d4afe5eda782e7cac" + integrity sha512-o1YDA0r3Lupv2JZ7fRKVQP5ETdLfVHmM4rh3zv9/2bMu8m9RoGAJLKH8pEJoTbxjITYY8tjxdBeoPBBQ24G27Q== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@cosmos-kit/core" "^0.13.2" + "@cosmos-kit/keplr" "^0.13.2" + +"@cosmos-kit/core@0.13.2", "@cosmos-kit/core@^0.13.2": + version "0.13.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.13.2.tgz#5e0c047ed404e30da2b8e11992499ce00efeb7e2" + integrity sha512-iTPgN2PnlvsuCuhdkeeZxRrlbVfwc8enMkV/tbqAB3u5tW3kApM0BciTybxVFRusD1T/hOgifDy1WIn4y9LGUg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" @@ -2345,15 +2355,33 @@ "@keplr-wallet/cosmos" "^0.10.12" "@walletconnect/client" "1.7.8" -"@cosmos-kit/keplr@0.12.3": +"@cosmos-kit/core@^0.12.3": version "0.12.3" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.3.tgz#d590cca76175442c354f5d13d457d599750723e1" - integrity sha512-2kP99DCh5zoslJbtc8XmQ+XuFD9eermNHNbP1a7rAGJ2xWh1zg5mRfTuqySNj2iakjjoc1Z2Q7ggdgjB5MzGRg== + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.3.tgz#5c25684c258bd73a031c4c72b3bd85c26dcb8aa7" + integrity sha512-SKCehNW73y+AhEbBkIJrGP1c3uy4gKi/YmI1nxC/Fmx/5uWyoj3fvkz7VpkE1l9ZGU0OEY9qE7dSshMAOpiDGg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + chain-registry "^0.10.0" + +"@cosmos-kit/core@^0.12.4": + version "0.12.4" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.4.tgz#b74d0bc2f630056bf5e1637a7073195873cd6885" + integrity sha512-y8R9VqpHLL+U4IWisNoaFGjYcVYjadldARLf7HgMDbvlLgXbPCVNW8riXhYkhjM62vFRbs7a+q7lh5OZ8GqrDw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + chain-registry "^0.10.0" + +"@cosmos-kit/keplr@0.13.2", "@cosmos-kit/keplr@^0.13.2": + version "0.13.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.13.2.tgz#e35967965b2406a841a7b0db209f009164ecfcfd" + integrity sha512-66ieIohQaJl4dTRMCyaE+TW6nmZdoHJZbirEgdCX2n/uV4e9YMwU9ScnsOwLjm9/Pm0MxEtlQ1buk581KCoOqA== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.12.3" + "@cosmos-kit/core" "^0.13.2" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.10" @@ -2384,7 +2412,7 @@ deepmerge "4.2.2" secretjs "0.17.5" -"@cosmos-kit/keplr@^0.12.2", "@cosmos-kit/keplr@^0.12.3": +"@cosmos-kit/keplr@^0.12.3": version "0.12.7" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.7.tgz#1c59295537469e4dc7fe5b15cfb825d3bf2c1e2e" integrity sha512-5Q9Lb+XY2/nd4/HWZ1095k1T0SImQi0pRPYjfxnANqD7GqMnBzMW0qj/QPZcKOP32fk6hWXgT4U7LzP8cZpCSg== @@ -2404,28 +2432,35 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.12.4": - version "0.12.4" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.4.tgz#5e3f913244f4e2a3830c21169415533a119d4075" - integrity sha512-R0kbwkdgxmVG6HS+qpppY8YWhajs4/S8IziCO2A5upV+2BRL9Pqos5Yepj0zRsWLD9cFlMA9LV9rBhEquCX/LQ== +"@cosmos-kit/keplr@^0.12.7", "@cosmos-kit/keplr@^0.12.8": + version "0.12.8" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.8.tgz#52a4797eca1b548e132ab386196c8aabe182c796" + integrity sha512-uiw6JiQcjTRhCzu+qOrkPXj1E7+VjTn4ChYqUfX8F3WJw7kYV8qzrQ84CgGwVYg9KeeKXwnWA3HeNxepmzNYeg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.12.4" "@emotion/react" "^11" "@emotion/styled" "^11" - bowser "2.11.0" - qrcode.react "^3.1.0" + "@keplr-wallet/types" "^0.10" + "@keplr-wallet/wc-client" "^0.10.20" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.12.7": - version "0.12.7" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.7.tgz#4ae8d1bd76213814aded28f18928dff2483fdd3e" - integrity sha512-86Vh4DO8NqwDB6K6mh/X/hxIDSuaZndtrx/8gve8bZ95ag+g3N0l7AcaA5/gxQfe5wqPNr3KVpELyw/wqDK7vQ== +"@cosmos-kit/react@0.13.2": + version "0.13.2" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.13.2.tgz#daecd6022cac5e8b0056c66b94b188097fcea9f9" + integrity sha512-8Y6f8avCRS+tlomiJCpyI0TJuKkTmG+wR/OTC8XGIv9a60VYCxWou1RPPlHFFW6ASTxF8CfrSiMQrHbwbOm+XQ== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.13.2" "@emotion/react" "^11" "@emotion/styled" "^11" bowser "2.11.0" @@ -2445,10 +2480,10 @@ react-modal "3.15.1" styled-components "5.3.5" -"@cosmos-kit/react@^0.12.2": - version "0.12.5" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.5.tgz#0040c05ae34ab466e07984d49fca4f7259f49ff8" - integrity sha512-+wCcWMYO0x2590y1PbgHogoEM0eFJZQtMcax/Nt8d998L0mUp7R5jvaWqR38sTsEnu28kwRtuBheQEujPpby+A== +"@cosmos-kit/react@^0.12.7": + version "0.12.8" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.8.tgz#d0ea0a40227eda45dfee39a558bfefd3d905d5d7" + integrity sha512-7CHA9xYjYFVfWGgYJk+FRmH1cdxEGC/Y74hOV+S9qCguxYWlVtV8YZ9zfxiNwZ5+aoM6VxnKC0sam7svwSpGsw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" @@ -2459,7 +2494,7 @@ qrcode.react "^3.1.0" react-icons "^4.4.0" -"@cosmos-kit/registry@0.12.6", "@cosmos-kit/registry@^0.12.2": +"@cosmos-kit/registry@0.12.6": version "0.12.6" resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.12.6.tgz#2b6f475aed5dd9fc6e062f8529f7f70f3f3abaa8" integrity sha512-7uu1k7JTMP2uRsBrWbvy64Ubj6Gc5/k/g366ib9dfo6zl47HxfZJl+Y0ultyOBtHMtxrOt7+bT605yeBa/nUNQ== @@ -2477,6 +2512,15 @@ "@cosmos-kit/keplr" "^0.11.0" "@cosmos-kit/types" "^0.11.0" +"@cosmos-kit/registry@^0.12.6": + version "0.12.7" + resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.12.7.tgz#a5866c3d647f082702f86ce0b9fb49444df17bdf" + integrity sha512-H+qa327Rd2E+mB/IQKsAP/cR2SCVdGSbRdA7xxhlVV7+492saQZerDxK5FqlBZGcjuDNdi8OUs2iHfIG3TC4EQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.7.0" + "@cosmos-kit/keplr" "^0.12.8" + "@cosmos-kit/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz#7af1e09ecea5ea6213b409b8a2af7c05fc91bb2c" From 7970d0e06540eade9c4ce783ec3ecd69e9158ae6 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Thu, 22 Sep 2022 22:06:46 +0800 Subject: [PATCH 075/262] update --- templates/connect-chain/components/wallet.tsx | 2 +- templates/connect-chain/utils.ts | 12 ------------ templates/connect-multi-chain/components/wallet.tsx | 2 +- templates/connect-multi-chain/utils.ts | 12 ------------ 4 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 templates/connect-chain/utils.ts delete mode 100644 templates/connect-multi-chain/utils.ts diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index f49396c2f..3a0dd2318 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -3,7 +3,7 @@ import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } fro import { MouseEventHandler, useEffect } from "react"; import { FiAlertTriangle } from "react-icons/fi"; import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/registry"; +import { getWalletPrettyName } from "@cosmos-kit/config"; import { ChainName } from "@cosmos-kit/core"; import { chainInfos } from "../config/chain-infos"; diff --git a/templates/connect-chain/utils.ts b/templates/connect-chain/utils.ts deleted file mode 100644 index 0aad51717..000000000 --- a/templates/connect-chain/utils.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Chain } from '@chain-registry/types'; -import { ChainRegistry } from '@cosmos-kit/core'; - -// TODO discuss Chain -// maybe simplify so we can use `Chain` throughout the app -export function convert(chain: Chain): ChainRegistry { - return { - name: chain.chain_name, - active: false, - raw: chain, - }; -} \ No newline at end of file diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index 790bd5723..2560d88c7 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -4,7 +4,7 @@ import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue } from "@ch import { MouseEventHandler } from "react"; import { FiAlertTriangle } from "react-icons/fi"; import { Astronaut, Error, ChainOption, ChooseChain, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, handleSelectChainDropdown, NotExist, Rejected, RejectedWarn, WalletConnectComponent } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/registry"; +import { getWalletPrettyName } from "@cosmos-kit/config"; export const WalletSection = () => { const walletManager = useWallet(); diff --git a/templates/connect-multi-chain/utils.ts b/templates/connect-multi-chain/utils.ts deleted file mode 100644 index 8c1562626..000000000 --- a/templates/connect-multi-chain/utils.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Chain } from '@chain-registry/types'; -import { ChainRegistry } from '@cosmos-kit/core'; - -// TODO discuss Chain -// maybe simplify so we can use `Chain` throughout the app -export function convert(chain: Chain): ChainRegistry { - return { - name: chain.chain_name, - active: false, - raw: chain, - }; -} \ No newline at end of file From cb97d87867fd15fe2cc49267c801bd1872ad8a5c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 09:11:06 -0500 Subject: [PATCH 076/262] pkg bump --- .../telescope-with-contracts/package.json | 10 +- examples/telescope/package.json | 10 +- package.json | 8 +- templates/connect-chain/package.json | 12 +- templates/connect-multi-chain/package.json | 12 +- yarn.lock | 1695 ++++++++--------- 6 files changed, 850 insertions(+), 897 deletions(-) diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 01e5c4055..0f757f9a4 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -12,14 +12,14 @@ "dependencies": { "@chakra-ui/icons": "^2.0.8", "@chakra-ui/react": "^2.2.8", - "@cosmjs/cosmwasm-stargate": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/react": "^0.11.0", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/react": "^0.14.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "@osmonauts/helpers": "^0.4.3", - "@osmonauts/lcd": "^0.4.0", + "@osmonauts/helpers": "^0.6.0", + "@osmonauts/lcd": "^0.6.0", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 2044bf6d9..8a27e282e 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -12,14 +12,14 @@ "dependencies": { "@chakra-ui/icons": "^2.0.8", "@chakra-ui/react": "^2.2.8", - "@cosmjs/cosmwasm-stargate": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/react": "^0.11.0", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/react": "^0.14.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "@osmonauts/helpers": "^0.4.3", - "@osmonauts/lcd": "^0.4.0", + "@osmonauts/helpers": "^0.6.0", + "@osmonauts/lcd": "^0.6.0", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", diff --git a/package.json b/package.json index c5935566d..8034ee07c 100644 --- a/package.json +++ b/package.json @@ -37,10 +37,10 @@ "url": "https://github.com/cosmology-tech/create-cosmos-app" }, "dependencies": { - "@cosmos-kit/config": "0.13.2", - "@cosmos-kit/core": "0.13.2", - "@cosmos-kit/keplr": "0.13.2", - "@cosmos-kit/react": "0.13.2", + "@cosmos-kit/config": "0.14.0", + "@cosmos-kit/core": "0.14.0", + "@cosmos-kit/keplr": "0.14.0", + "@cosmos-kit/react": "0.14.0", "@cosmos-kit/registry": "0.12.6" } } diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 71ececbd7..a15a81cbc 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -11,14 +11,14 @@ "dependencies": { "@chakra-ui/icons": "2.0.8", "@chakra-ui/react": "2.2.8", - "@cosmjs/cosmwasm-stargate": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/config": "0.13.2", - "@cosmos-kit/core": "0.13.2", - "@cosmos-kit/react": "0.13.2", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.14.0", + "@cosmos-kit/core": "0.14.0", + "@cosmos-kit/react": "0.14.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "0.10.3", + "chain-registry": "0.14.0", "framer-motion": "7.2.1", "next": "12.2.5", "react": "18.2.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 5d495adcd..e6df66f16 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -11,14 +11,14 @@ "dependencies": { "@chakra-ui/icons": "2.0.8", "@chakra-ui/react": "2.2.8", - "@cosmjs/cosmwasm-stargate": "0.28.13", - "@cosmjs/stargate": "0.28.13", - "@cosmos-kit/config": "0.13.2", - "@cosmos-kit/core": "0.13.2", - "@cosmos-kit/react": "0.13.2", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.14.0", + "@cosmos-kit/core": "0.14.0", + "@cosmos-kit/react": "0.14.0", "@emotion/react": "11.10.0", "@emotion/styled": "11.10.0", - "chain-registry": "0.10.3", + "chain-registry": "0.14.0", "chakra-react-select": "4.1.4", "fast-fuzzy": "1.11.2", "framer-motion": "7.2.1", diff --git a/yarn.lock b/yarn.lock index 4cdc3ab54..203c8b841 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,7 +26,7 @@ "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" chokidar "^3.4.0" -"@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.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== @@ -159,7 +159,7 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/helper-annotate-as-pure@^7.16.0", "@babel/helper-annotate-as-pure@^7.18.6": +"@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== @@ -251,7 +251,7 @@ dependencies: "@babel/types" "^7.18.9" -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.16.0", "@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== @@ -1230,7 +1230,7 @@ core-js-pure "^3.25.1" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": version "7.19.0" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== @@ -1278,7 +1278,7 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": +"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": version "7.19.1" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz#0fafe100a8c2a603b4718b1d9bf2568d1d193347" integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== @@ -1326,6 +1326,15 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@chain-registry/types@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" + integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + "@chain-registry/types@^0.7.0", "@chain-registry/types@^0.7.1": version "0.7.1" resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz#2f8adc5d6319b93df61ecadc6f81bde3c1c03948" @@ -1335,6 +1344,18 @@ "@keplr-wallet/cosmos" "^0.10.3" "@keplr-wallet/crypto" "^0.10.11" +"@chakra-ui/accordion@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.10.tgz#fc8ea40316b4be8872361ff9847fa95e861e401a" + integrity sha512-HD3yJ4LV3S5vMH7DwcwSOPrZ+R6+qzTd7LXYKiUphl1RiUM5h97dbGqpqI+ULjIo0xoOvHTyhvO4ENCRDEYkRg== + dependencies: + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/react-use-controllable-state" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.2" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/accordion@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz#dd260fbecb639748314f440c89052ed45006c585" @@ -1347,6 +1368,15 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" +"@chakra-ui/alert@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.8.tgz#91847817f0de3d8f7d516a1a9b7b3a6ea92b3a42" + integrity sha512-giBBbAPlSw33Ua838c35ClCVmmrfn+pvZgA92Ogcz2fwkUFa+Elcq/nyVQ3XHxLzzmPE/vACcS8wXoCXQl4i/Q== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/alert@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz#25e88c105e095def374c9fe1e3c8a3f6fab08f6c" @@ -1356,11 +1386,24 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/spinner" "2.0.9" +"@chakra-ui/anatomy@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.4.tgz#73a184a8f69d890c4580eb909a080a915f5b7d55" + integrity sha512-wWLvPrLOCO+nDb+cMcEJ/iDxgWEizRXOlIZCinCzkeEYhcWibINx6wh49uVUyMT/dIs/JTHQ4mUb9IzqJ1RY+g== + "@chakra-ui/anatomy@2.0.6": version "2.0.6" resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== +"@chakra-ui/avatar@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.0.9.tgz#fc384422f433a9ed32fc7e1a1084acd08f83e219" + integrity sha512-kx77nTL9h8451lgAMZkD8UWGoxTjHKzeW55Ls4e7muqj3fl+hS3eNQ1zw66DDEFuYxBVyxZi1YgWFI7/Lgnx4w== + dependencies: + "@chakra-ui/image" "2.0.9" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/avatar@2.1.0": version "2.1.0" resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" @@ -1370,6 +1413,14 @@ "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/breadcrumb@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.8.tgz#02be54d4848a4ba66732a6b6f6802d40df5158d1" + integrity sha512-kTwNZqOMjVLm9smZMGZnkw8zChzwx1ycu8ZGSCYkwJxgO2yeztIcqpa9OjxhTkro6ZS9dels35+FbtyQCtz1wA== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/breadcrumb@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" @@ -1383,6 +1434,16 @@ resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== +"@chakra-ui/button@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.8.tgz#952956300931ba5cfed428ffc115c94b86988abd" + integrity sha512-sFAdPRZNGeIawEN60V/6Zhqt1DOkFosYeG83QkwkIEgOlTNQsqlxgKV9bGfn6b4Qb2HUoqMzmN+rk8kHKvHOrQ== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/button@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz#f005f98bb5f1d5673a244957e6b3e2396acdf395" @@ -1392,6 +1453,18 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" +"@chakra-ui/checkbox@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.7.tgz#0310268629a3ceabcc3255810e8c24dd814d63fe" + integrity sha512-84NyP8hXLrcv1GtgloPcBs4Ypzxa/jSEkWzH69+J/rSDNz/ff23fCSNayMPXadWXmAMSBmsKY8gdpfcJioCf/g== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@zag-js/focus-visible" "0.1.0" + "@chakra-ui/checkbox@2.1.8": version "2.1.8" resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz#d04a9a65494cf22e8bcfafa161bb7185d92dc13b" @@ -1408,6 +1481,14 @@ "@chakra-ui/visually-hidden" "2.0.9" "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/clickable@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.8.tgz#9f8ebdec7511b3693cb3d6468d92abf68e2c8921" + integrity sha512-GlmSYfDd/E09fJKu6iFoKjQHHFDJFaESenVYQ0PuTHaKD9Ro8o70jBRKP9hxTSqZN1QPzgfexmkQKsI9aOuc9g== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/clickable@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz#c06486d36f4a4cb517ea75176e05021dfde117cd" @@ -1415,6 +1496,14 @@ dependencies: "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/close-button@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.8.tgz#c71a55efdd017f7465836a75e616c371ea264111" + integrity sha512-UbsxusyGExuopIircNKbSw0kvA6KbIwd3zvoedzcH91pLlK5na+AThiANDnsQBU0uV78w8I9L0zjlrEcn30uBw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/close-button@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz#dab2d66c7a240c4d3d150e370980709336a4a266" @@ -1422,6 +1511,14 @@ dependencies: "@chakra-ui/icon" "3.0.9" +"@chakra-ui/color-mode@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.6.tgz#9ea02ecbfbcb9f6a1a3d4c657d491f093615b951" + integrity sha512-YtVoyYAe6kxoNDwB5Sv03Tz0dCIlo1JM57VfhKZTPxXmp3/FFvFe38+N5piNimuAl/xIDp6doFArnco3Bb7qFw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/color-mode@2.1.7": version "2.1.7" resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz#91c02e82e551c5448081e4934efeddb10bb732c5" @@ -1429,11 +1526,26 @@ dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" +"@chakra-ui/control-box@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.8.tgz#23c423a52e0a021d4dd1a546bb7b0beeeec6d4d3" + integrity sha512-Q7JTjJG4uErpVsUAr3271NqafCcpYfgXsyk9RJWgSvGXT6wT3W1znYbRf4+oBeQFCRfGYEI7Dk+JHvI5Owm4CQ== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/control-box@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== +"@chakra-ui/counter@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.8.tgz#d6faf07f7c865e9289b39945e3ecaa872a1ea7b5" + integrity sha512-23YLtZA4Wh/dMfgumeYwAifYoNvq5y5q59FMSX9PHEffYxxKeN/J081zyvTvsWSY1Dl4t0BXMT2nStuBEKsvWA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/counter@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" @@ -1442,11 +1554,23 @@ "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/css-reset@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.4.tgz#b0e4abd6d90ddea3823a1351fe43ebd84b7f3f42" + integrity sha512-XJ8AcTHrxwHYqWmMR1b5WUWv+D3i6GKvXiw5M104Azny+VT3ZUTzzo/Yze0mCvudbePf6zMoMrFLIBWGKSj/0Q== + "@chakra-ui/css-reset@2.0.7": version "2.0.7" resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== +"@chakra-ui/descendant@3.0.7": + version "3.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.7.tgz#53cdb0207eaef799222a1da11a68068b3ff618a7" + integrity sha512-C58jkUox54Y2sFn6H29QXkAyyalTMn3uYeeVNAftzL4SRFE9KyRAbMtOujZHH3GRr2sEykawiXh9BkqWpZuhiA== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/descendant@3.0.9": version "3.0.9" resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" @@ -1460,6 +1584,15 @@ resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz#3061819ac365f5947423d63a5fcc26a281bbb5c2" integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== +"@chakra-ui/editable@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.8.tgz#133cc3248e6d046cf1fbdfef051a6e07c0f141f1" + integrity sha512-SgwsaRnEgHtlGL+Ie9U5AYn4FjYp22IMvtW6hU4Y0X0A51uvzKyi4NTUXsckogI79c6svvNoRWMTuymiiy9GLw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/editable@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz#a31d2e1c176c0817574e98a8567314c1a74444ab" @@ -1474,6 +1607,11 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/event-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.2.tgz#20e218a23066c958e8e113054333088fc48f19f3" + integrity sha512-v2zZBfbXEN0MooPEunjUUFcLZe+NeFyE0K+hnsW7aVQbDccz2UAsAwgPIMt1EhZ5+Xai4+eyrLB4pfIBwrdPyg== + "@chakra-ui/event-utils@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" @@ -1487,6 +1625,24 @@ "@chakra-ui/dom-utils" "2.0.1" react-focus-lock "^2.9.1" +"@chakra-ui/focus-lock@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.9.tgz#c6a42594a0ec810aff70ccb5246017636694e491" + integrity sha512-6MxgY6WJ46gndt4dAGzjBToxkAVoi4ke/FT998g7mcnl5VXbnO700iPRIks9lo0J9evFI9Afp7lpgElU1AzkHg== + dependencies: + "@chakra-ui/utils" "2.0.8" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.8.tgz#a086ac92bd17622709575abb886c86590db229be" + integrity sha512-W7yDHucTfFUu/PhkL8CVtB/Eph9DrsVGIy4VnYFWmfgIWcum0PaR20gNY3acSICV81pPr5R8veZ20oP1lXesLA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz#10678857e6586e7d1be0a34c8d045c6484c1180b" @@ -1497,6 +1653,16 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/hooks@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.8.tgz#8863041b7077104e7cb10cf66ac55f9c84955455" + integrity sha512-GXubX+BRP1UsbPZovgPH/TFBLAOvtHeIGAqdz9SwI2rmQ9UfF2lV9mSN3N2XXj9kKj9akN+pyHwW29UeATojnw== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + "@chakra-ui/hooks@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz#1f6d6157968a60dd9678112763d8f5fd3bdeffad" @@ -1507,6 +1673,13 @@ compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" +"@chakra-ui/icon@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.8.tgz#728476d657f1fc80c2ee0f39859703a0f3314b68" + integrity sha512-avd6mthBoG9R8cLLAROi/FItgk7wHy1YpeAXOrGdK/U/ECVWZev64RmI1UduKuVOLlSZldXWzFJmLdw6dAMG7A== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon@3.0.9": version "3.0.9" resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz#ba127d9eefd727f62e9bce07a23eca39ae506744" @@ -1514,6 +1687,13 @@ dependencies: "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/icons@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz#38659b322165566806a8e7a9f1e0d38fa15128f1" + integrity sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/icons@^2.0.8": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.9.tgz#35edcf9c61b8e158a5d03aeda6bd4e756960dfc7" @@ -1528,6 +1708,23 @@ dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" +"@chakra-ui/image@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.9.tgz#4ace3de5cfcad66bbf7fa87d78c5476d281b8cbe" + integrity sha512-06+Mud+7fkKQok5ukZjea3eVxOL5kIPAjT5bD9LmuuhKXOSJkManx17CRgUjG06JKXUbaJzZfxxKuIzvTdQ/Xw== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/input@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.8.tgz#09a71bdef7b72c64c6216c6c3785e28b2470c60c" + integrity sha512-Cc1bYO2ee36MgTSmlREPrqF3D2Vh/RCbsLRjmwxOlSfitp8A9PkA04Kn7tz2bKrJ9TQsYzRXwioJRrYr7f0jfw== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/input@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz#905b82ed647a20080a25a6a7e6740e3bb65586c1" @@ -1539,6 +1736,15 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/layout@2.1.5": + version "2.1.5" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.5.tgz#f307a23580de6cf04758be8e22fcb9507277186d" + integrity sha512-8qZwqgmY3itr+DfCXCxgEIwdy8GHKgAxojhIo7Exnu7GLHZhCcQ9Le4lVlHW3pK8Wy2wg3dPUX+APoMGkUcBsg== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/layout@2.1.6": version "2.1.6" resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz#3dfdd8b3f08d9ff34fc923d44ebe4bc86291b889" @@ -1556,11 +1762,26 @@ resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== +"@chakra-ui/live-region@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.8.tgz#e5b2985e119952b937fd4122d2a156b897e5d061" + integrity sha512-1BPolMacPoxLVtE8hB+cdxN60CVVu1wzOOUnwJhJtKbfeXNPAsnV2U31/uR2kZ8sX0YPVtQpsB8xzTITD50JaQ== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/live-region@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== +"@chakra-ui/media-query@3.2.4": + version "3.2.4" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.4.tgz#696c4eefa779b95540d32d8fdf8b4980044e048c" + integrity sha512-Woke/7peH/4aceMytVhhMyhlhada51eCzCOSKfLmhgD4lYqZ9wncigor5phIdeTAYyNClbQL3Cm4E6yEWJxqyg== + dependencies: + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/media-query@3.2.5": version "3.2.5" resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz#c0b9dc4bc6245d9abddcbe17693e40bf5dfe34f8" @@ -1569,6 +1790,19 @@ "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" +"@chakra-ui/menu@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.10.tgz#e400678013a5dfae034af7dd1273e8c5ff9bc456" + integrity sha512-qqdST2un/9qhO4mGec5XMwyexH+Xf3wFGHSrG7O+J0q2yaAGfLyq6tvuisLx2KHQiByiFQ2rs9ozfBkTfL+OYg== + dependencies: + "@chakra-ui/clickable" "2.0.8" + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/menu@2.0.13": version "2.0.13" resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz#3ac5f448efc894045769c606ebe1376051556be9" @@ -1589,6 +1823,21 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" +"@chakra-ui/modal@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.6.tgz#af1b2cb900ff20f6c73c5161406e3ae8703ff991" + integrity sha512-uIQtD/XCS4YfPIsqBfMusDeUCSWvbT46wUcbyTNduldN5SXLOwqPZMGwX5BbyOMHUM6rRjc6RW4AeSj0rawo9w== + dependencies: + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/focus-lock" "2.0.9" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + "@chakra-ui/modal@2.1.7": version "2.1.7" resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz#dba55bddd407689f4c2bba886b03a5355578a20d" @@ -1604,6 +1853,18 @@ aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" +"@chakra-ui/number-input@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.8.tgz#8f5eb7c1a1d38fe47f1165bf4d4176219c5daad4" + integrity sha512-sltl67JFaYOxpibj/ioOEj4zLf/sF5rWKEH7Rl7XuPFJMJDNW/vjlFCDO31s1aHXtwAeKN5O0zCyC2snPXvXKA== + dependencies: + "@chakra-ui/counter" "2.0.8" + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/number-input@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz#c5ebfa0311f7586fb4c1e5f4284355b1d1f04383" @@ -1621,6 +1882,11 @@ "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/react-use-update-effect" "2.0.3" +"@chakra-ui/number-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.2.tgz#8e871cb68e2ae98e6f482eb2f7e45652fa7f3582" + integrity sha512-tAD8lWjmmCd8UfiELA7dlylEH7kv3KxQmLqLQifklH7hBaFIzJDc5PmZbmgMDG2UEzoBgGWepsSsjrD1HLATVw== + "@chakra-ui/number-utils@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" @@ -1631,6 +1897,16 @@ resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== +"@chakra-ui/pin-input@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.10.tgz#9a9ccdba3cf5e1e9ad08944264f119aa19bbecf1" + integrity sha512-AO8lZdhdM9iv5iVZuTPj6ODPUpYsVR/bAbym95BJy1lmXHW0ZD7mtHeJQn0mdfz+j8ckjczg2kCG1ajNjVpjpA== + dependencies: + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/pin-input@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz#1ff927fdc61433a7b9b4421ceafad5674299e91a" @@ -1642,6 +1918,17 @@ "@chakra-ui/react-use-controllable-state" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/popover@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.8.tgz#d14386e5654fad27913b897ec22228170bab53f1" + integrity sha512-Qe2HMXGYXS+XEYtJg3Gd8JrX32fygjTDyhXHJeuBXZFqogayvdY+q7V7KfFRvTcER4cQeHDiZy6ZjVdoNH7Cmg== + dependencies: + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/popover@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz#7f2df4cbbc3eee7440c311750e18ba00150f973f" @@ -1656,6 +1943,14 @@ "@chakra-ui/react-use-disclosure" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/popper@3.0.6": + version "3.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.6.tgz#2ade67459b22863ec0a879e86ddf91d26951185a" + integrity sha512-QKRzSgOsp2nmL8HXcN5DVujqV+TsECnKfMwzI++SgkIJUL5wj8w6VNqDJ4iym84Sgqw5qNVoOss1ZpgGKAriOg== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@popperjs/core" "^2.9.3" + "@chakra-ui/popper@3.0.7": version "3.0.7" resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz#af3428bf5d64ad9372210a70181f69a9d79eefb2" @@ -1665,6 +1960,15 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@popperjs/core" "^2.9.3" +"@chakra-ui/portal@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.8.tgz#73c72ef9c462af49e03c75c98da24d738d647393" + integrity sha512-ReBfeln+9n00Si/jOXJ0eO8+fOlmwqxGm5rIe0YnuLFxjTAIWH9Z9ZVZFzn458r2wbV9Q0TdeX/wj4fTeL+Urg== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/portal@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" @@ -1680,6 +1984,26 @@ dependencies: "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/progress@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.9.tgz#3588d352cf9b60c1dde18ee570115d844f2add79" + integrity sha512-e6RaNMU+/Jk8OsKna7eE/oTGm3/Rvzy3LsbVhQxP9aYhl29+JrqT2DKVUvfQq/8gSDTyatRcKwYTPjQQdzd2DQ== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/theme-tools" "2.0.9" + "@chakra-ui/utils" "2.0.8" + +"@chakra-ui/provider@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.13.tgz#fc9e3e30c65d6f139d8822e301f1a328266e7f22" + integrity sha512-AOZv4XEVip1wBmH7zcKQ5jWi7B1jCZm9Lt+6K9OUPozehTAuGGoPfFutr7JnO9zgGjovYFHk0GzNHE7MYOVEGg== + dependencies: + "@chakra-ui/css-reset" "2.0.4" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/provider@2.0.16": version "2.0.16" resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz#a4afdb4c8f2050beb5d2b61db8971a145481c6f2" @@ -1702,21 +2026,48 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/radio@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.9.tgz#ce5e04dc5916263b737ea7657f2f695498981efc" + integrity sha512-6MQZLRF0oex2wgfMSeovIi0bXtr64DR3+2RK2WKeHz7JJssB+bGbhjmZCD6TFvqb9ItYizwTj+v270ZA+Ee8BA== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@zag-js/focus-visible" "0.1.0" + "@chakra-ui/react-children-utils@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== +"@chakra-ui/react-context@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.2.tgz#2d55e148c772b4866beef6fd36016dfe7ced1753" + integrity sha512-xi9bGjE0eT7odgfuQHizO+AsXB6m9OOpsUKQiSgN7WTe6e10gkpeVbXtx7wF4RbaneMcmdrxkjAyj9rkuJMpkA== + "@chakra-ui/react-context@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== +"@chakra-ui/react-env@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.8.tgz#3d2fd11cdc04297addfa568a97f4bae6c00d5b6b" + integrity sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA== + "@chakra-ui/react-env@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== +"@chakra-ui/react-types@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.2.tgz#65ed7bc49e1fc9cc248a9f10ae255b049d1c4626" + integrity sha512-UWm4yg+RUz93wSF6TSGuFd3okefYghpWgZ2qCjpZHWiHFyw2qjXrJ9Iuz0H583ulsugdKPk72B0e6TOrmS4CLg== + "@chakra-ui/react-types@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" @@ -1730,11 +2081,23 @@ "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" +"@chakra-ui/react-use-callback-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.2.tgz#51ce43d3946589d0e29cb160757c4704731b287d" + integrity sha512-PWQk0pNkIUjLmj55yBNEIKfGd9dRXWIqeyXQtXnvBTUVxJ+r/KgtVP3hOx40Zn2mjB52jBJPF2CZO6lteLOJ9g== + "@chakra-ui/react-use-callback-ref@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== +"@chakra-ui/react-use-controllable-state@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.2.tgz#18fa7e60e43a23cc806e0d1b1dae8e4f369bf7aa" + integrity sha512-JdVLIlh7V8kJ0h8Fl9pbf82PeSpkMrNuaQJKPOUgye3X0tjbD1JGeTegYvNsccxrZl09pSwy/LU+lkY0u2Gl2g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.2" + "@chakra-ui/react-use-controllable-state@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz#7aa3f9c038513763332f6754e69ece90aed55a9c" @@ -1779,6 +2142,11 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-merge-refs@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.2.tgz#debc1011aea9e530484de8159823f55f9488be3f" + integrity sha512-SX4wv/YxMSif6Az3p8SKVgTUHZZmK77QbnFMAZcxVr4arQnRoEAwsjpsNrcvvc7mxczSM/BJB+lQ5YO8ePAu3g== + "@chakra-ui/react-use-merge-refs@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" @@ -1791,6 +2159,14 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-pan-event@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.2.tgz#c4aa0ed3cead00def34ce10a371ac1f7ce03a373" + integrity sha512-DGPyDPT7HP/UJ7d7xt3VdYUo7Wa3MpyYkMimGbWGTpP/Dl0z7mYfz75G6MoKDzTDGdZkT/D7mx68zYI1LZsAog== + dependencies: + "@chakra-ui/event-utils" "2.0.2" + framesync "5.3.0" + "@chakra-ui/react-use-pan-event@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" @@ -1809,6 +2185,13 @@ resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== +"@chakra-ui/react-use-size@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.2.tgz#7697a990d624458106e311f714dd0f0ad0a83985" + integrity sha512-KYyu5sCdWNEC8Qo6MTmnpJQsThLAwLbdW11IrrW0yhieJgOy6xnwIiEyULKxtygHQzaNbhayYV9p4vJuN2BpeQ== + dependencies: + "@zag-js/element-size" "0.1.0" + "@chakra-ui/react-use-size@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" @@ -1823,11 +2206,23 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-update-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.2.tgz#317ef0602127c7a91e0473d0c0671d0b550b35c1" + integrity sha512-loDqsfIdg8X8ClzScIBY0fp2oVN3YOgad50koHRPVi2pVkkpaZKAcpjazm2MRZDPp22SvFgXrl39DL2xZN579Q== + "@chakra-ui/react-use-update-effect@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== +"@chakra-ui/react-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.5.tgz#b094cca3919e7ca408e11a89160b826f4fcd6f47" + integrity sha512-YTkDtyqZcI+l6O41og8P0Gd2z4MUKUQWu10VrcSF26izJg3lphU04VlPf+fB4wFJ97OGJBgtNxKuToe4Aqzg6A== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-utils@2.0.6": version "2.0.6" resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz#bb471ce2bff724b99563685962145a2cc56bf61d" @@ -1835,6 +2230,59 @@ dependencies: "@chakra-ui/utils" "2.0.9" +"@chakra-ui/react@2.2.8": + version "2.2.8" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.2.8.tgz#7dcc976c655d1f6ec2f71efb4cfd076ea940e6e8" + integrity sha512-yLHoE6NpDu3UORtv/drzYl+d/ngjLkEPuUggJd6gu+kv0lHLAmTkoNL8yNGPxuY/StiQEyCSjwFXmknklRr+BA== + dependencies: + "@chakra-ui/accordion" "2.0.10" + "@chakra-ui/alert" "2.0.8" + "@chakra-ui/avatar" "2.0.9" + "@chakra-ui/breadcrumb" "2.0.8" + "@chakra-ui/button" "2.0.8" + "@chakra-ui/checkbox" "2.1.7" + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/control-box" "2.0.8" + "@chakra-ui/counter" "2.0.8" + "@chakra-ui/css-reset" "2.0.4" + "@chakra-ui/editable" "2.0.8" + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/image" "2.0.9" + "@chakra-ui/input" "2.0.8" + "@chakra-ui/layout" "2.1.5" + "@chakra-ui/live-region" "2.0.8" + "@chakra-ui/media-query" "3.2.4" + "@chakra-ui/menu" "2.0.10" + "@chakra-ui/modal" "2.1.6" + "@chakra-ui/number-input" "2.0.8" + "@chakra-ui/pin-input" "2.0.10" + "@chakra-ui/popover" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/progress" "2.0.9" + "@chakra-ui/provider" "2.0.13" + "@chakra-ui/radio" "2.0.9" + "@chakra-ui/react-env" "2.0.8" + "@chakra-ui/select" "2.0.8" + "@chakra-ui/skeleton" "2.0.13" + "@chakra-ui/slider" "2.0.8" + "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/stat" "2.0.8" + "@chakra-ui/switch" "2.0.10" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/table" "2.0.8" + "@chakra-ui/tabs" "2.0.10" + "@chakra-ui/tag" "2.0.8" + "@chakra-ui/textarea" "2.0.9" + "@chakra-ui/theme" "2.1.7" + "@chakra-ui/toast" "3.0.6" + "@chakra-ui/tooltip" "2.0.9" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@chakra-ui/react@^2.2.8", "@chakra-ui/react@^2.2.9": version "2.3.2" resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz#4ffcd5b79d21d14e240efc37adab7831f2aac37f" @@ -1895,11 +2343,29 @@ dependencies: "@chakra-ui/form-control" "2.0.9" +"@chakra-ui/select@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.8.tgz#f66ae7d4b7a459a79a4707df5f82a22fa1b4d41b" + integrity sha512-GiKw/t1+1hoa4K2BTJ5rJX/1iQ01QkSf3PfFuv+SOlhbb8XSwqd3tVFtmlVVLt+nOcICpcEFaTcBsuOdTvjRKw== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/shared-utils@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== +"@chakra-ui/skeleton@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.13.tgz#4d3c434498865298608cc3a8e455102582ce6969" + integrity sha512-YZeWZIVt6TKtrF3jQ9j6zcXN3VUmHiXGF2CkLLsJlbB4HocMCp7/eWsSy3BXQ7rrZvaZJhN36GUP3W3t1rHZCA== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/media-query" "3.2.4" + "@chakra-ui/system" "2.2.6" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/skeleton@2.0.15": version "2.0.15" resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz#fd41383bf84319e47c6ea1f4f3138f5f5e0dabca" @@ -1923,11 +2389,44 @@ "@chakra-ui/react-use-size" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" +"@chakra-ui/slider@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.8.tgz#d7a3fe1c33701e8562dbdbe76f2becc82fbdbd52" + integrity sha512-nUHQ1YcRDfELMR6n9tfko3Rn82j9JCEtSDy3F+HumUeg0YXYXaaHLijsUpRRUa8ew8jwVuooAcUWW1MYCYekhQ== + dependencies: + "@chakra-ui/number-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/react-types" "2.0.2" + "@chakra-ui/react-use-callback-ref" "2.0.2" + "@chakra-ui/react-use-controllable-state" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.2" + "@chakra-ui/react-use-pan-event" "2.0.2" + "@chakra-ui/react-use-size" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.2" + +"@chakra-ui/spinner@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.8.tgz#5f9778b0d7041be66d3d0a3d8520f2b807df9090" + integrity sha512-hRyUO6/qiP2qqeZIOJuPn7furrA1+72/mX7BfWuEifVgCcMJuGayHyFvhVwiEfnRZXLHMgZ8bxK2rycGr5xAYA== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@chakra-ui/spinner@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== +"@chakra-ui/stat@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.8.tgz#8b762501ab4f686f6ee9d580975f8d695f375620" + integrity sha512-aKMxI/qpSXCAMS8TD8kHhT3cTJDvKT75K1r+azZDb3NHOMjIzjl2pFI7XgPmgizz/BS8ADByLipK9bEV97GIsw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + "@chakra-ui/stat@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz#cecf35a4392a88227c3b85e80a45f0f5ac5f298d" @@ -1936,6 +2435,14 @@ "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/styled-system@2.2.7": + version "2.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.2.7.tgz#ad9bb2c6810b9b33c6a6360e035dd49fd8d790df" + integrity sha512-8kG4ItrQ26IB9B6+yfrslPUvOGxquaOCBg15mofsEIlwFHhBtcJ26hu2ByDGG3LRGHLStbcJcSPeg+sebkGiPw== + dependencies: + "@chakra-ui/utils" "2.0.8" + csstype "^3.0.11" + "@chakra-ui/styled-system@2.3.1": version "2.3.1" resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz#abf7c4e1638aaa9d92e7cf9acde17785703d166e" @@ -1944,6 +2451,14 @@ csstype "^3.0.11" lodash.mergewith "4.6.2" +"@chakra-ui/switch@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.10.tgz#dca19667174e3cf5e9b5dae62b2376c3704c70db" + integrity sha512-t7MYTuVWYovlgw1uh1aSzIwn5vwpyysBYMc71kx6rrC11aHwZWs5+agH05agUmYRXHXHSwDdWUjtbp4OoFctUA== + dependencies: + "@chakra-ui/checkbox" "2.1.7" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/switch@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz#57117417d1bb072f506c8c30e1a961ee7f78496b" @@ -1951,6 +2466,17 @@ dependencies: "@chakra-ui/checkbox" "2.1.8" +"@chakra-ui/system@2.2.6": + version "2.2.6" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.6.tgz#09824efd43d7568a5a34e40908bf2ad0e0f8d27f" + integrity sha512-I5q38ObqCrGXmLsxkc56F+1RONbpIIFJvOgq1upXMPOJWHqkzmdqaoJtpANhoE2LvB0GH/gRniiWN17WBCsOIQ== + dependencies: + "@chakra-ui/color-mode" "2.1.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/styled-system" "2.2.7" + "@chakra-ui/utils" "2.0.8" + react-fast-compare "3.2.0" + "@chakra-ui/system@2.2.9": version "2.2.9" resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz#d6e7dfb9a954b8ab03c28e14c69aad56a9fcffbd" @@ -1962,6 +2488,14 @@ "@chakra-ui/utils" "2.0.9" react-fast-compare "3.2.0" +"@chakra-ui/table@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.8.tgz#41e576da052fac545814fda06129b84e2dca6a03" + integrity sha512-V2fOKUsZT/wJp1GfYVf8jl1em8grCmp45hBhwEZu6U4579ihzddxFvg++YLNCzFJn2NOocm5gGMQGO/HLq4mkQ== + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/table@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz#2ddb0202e8146e517bf602e62195d13fee8f1b0a" @@ -1969,6 +2503,17 @@ dependencies: "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/tabs@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.0.10.tgz#3d1c2b32d8fb3a59422a44882415a784add9c80c" + integrity sha512-+qrpQjb8l8nbPjG9WhnANgXFFhsKEUKX+lkVqdB8gpOalPHo67d0vBBpgwBK31sY0X0JNErBT2td9lWuyrQsIg== + dependencies: + "@chakra-ui/clickable" "2.0.8" + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/tabs@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz#0fb540782c2e4122b63a203fc1f04eff850f2c0e" @@ -1983,6 +2528,15 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-safe-layout-effect" "2.0.1" +"@chakra-ui/tag@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.8.tgz#0c15e457f470eb8088d0bad584eb6dd942889e4c" + integrity sha512-TfAehlhq+peluH2xsj5KS43IggFRHX8m7FyewdRuacL6ZOCQW3qDtJpTP/hF2maqavIgdzdWN87Y6gbtnS4Kqw== + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/tag@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz#bf8530aa766bd6b9196d374ff75b0b1ce62cd0d3" @@ -1998,6 +2552,14 @@ dependencies: "@chakra-ui/form-control" "2.0.9" +"@chakra-ui/textarea@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.9.tgz#d7c95d54a93d8c986fa11a6716a29ca0610bd1b9" + integrity sha512-5GSxqb5UPvMu/EUHnkUUJd8msYXR6v325RM1Bhf+xSCmt/JX6ImKi0KF36tHQLhWWbqZUBukF9A3INy2VdSMgA== + dependencies: + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/theme-tools@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz#de97b422799627b5a514ae424ca08c1d348bc2a5" @@ -2006,6 +2568,15 @@ "@chakra-ui/anatomy" "2.0.6" "@ctrl/tinycolor" "^3.4.0" +"@chakra-ui/theme-tools@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.9.tgz#6e997899774595c8e425cd8e7d1e52253116b5d6" + integrity sha512-mdLONajdFWaXzEKvuod7ikioWTrAIAlZnXt55XfBOU3htJgRls49y/DltirN8+EUz6RlZ7oZfCYNf6aRMJH+rg== + dependencies: + "@chakra-ui/anatomy" "2.0.4" + "@chakra-ui/utils" "2.0.8" + "@ctrl/tinycolor" "^3.4.0" + "@chakra-ui/theme@2.1.11": version "2.1.11" resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz#cdfca3e84fc6913c5bb1a06e24b7cbb1246e127e" @@ -2014,6 +2585,15 @@ "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" +"@chakra-ui/theme@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.7.tgz#0d6d70c05bdba98901c66f928a2f8b6b067c9a07" + integrity sha512-p4UQPPTHhgAS0ieMS5xUnMY6rHizdvM7vLUrpz+bljvfaR+TX4aHFnUihAfEtaCmqMUxR2tgkRcvAFtlbTAezA== + dependencies: + "@chakra-ui/anatomy" "2.0.4" + "@chakra-ui/theme-tools" "2.0.9" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/toast@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz#5918beb208ca592f72a9e24923254341fa38df58" @@ -2026,6 +2606,20 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/theme" "2.1.11" +"@chakra-ui/toast@3.0.6": + version "3.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.6.tgz#c9a879bbf27876d40fd63e3d0132f4133cedfbd8" + integrity sha512-4e3RmpUxyvb0tt1pmezh/IiKEKMqrjsfMPNCMCJzN7gY/yuZAH1OrsqbgpZZ2WSzA8bAjlrpl8J0rXNlj9qHaQ== + dependencies: + "@chakra-ui/alert" "2.0.8" + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/theme" "2.1.7" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/tooltip@2.0.10": version "2.0.10" resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz#2166753f9f246dd217d3170fd85f95a86392d9b6" @@ -2038,11 +2632,40 @@ "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/tooltip@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.9.tgz#3ca28d4c3677d21c5cb3af3c7ede947bf9fa8578" + integrity sha512-woJl145UdVPrkIn/oSLTNZxtQnhgSINo6RXZlC4gA2Y+4DTdEd1whvVFhpVATXbnyTwLR44yytByTLuglt/z8A== + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/transition@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.8.tgz#74ba4c644928b94128eb2bde3be073c11388454d" + integrity sha512-XBXYvynMkY1hju4BV8R+URo3OszmqeE4JwMtKond3QH9x6nMOJItGbdJKCng2hHIS2hm+jXMqFAVc29PZEiqeA== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/transition@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== +"@chakra-ui/utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.8.tgz#b75e1cd22479eaa64410bd42849e638138971b20" + integrity sha512-5xSzOYSYbJEh+myY1mC6rOX+mzM/F2fiDqAw0zybHhfUab4zPHCO5RlgYVJ0L1DlGZUogVgRP6szH1xoBCcWQg== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + "@chakra-ui/utils@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz#1af3882b31fb46e0a411998d8e3607656f8d5043" @@ -2053,6 +2676,13 @@ framesync "5.3.0" lodash.mergewith "4.6.2" +"@chakra-ui/visually-hidden@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.8.tgz#45c94106dce46dfaee589238750355434b002679" + integrity sha512-BIFtNYNgYWAa40csnAqi+NCiMorD0JQg9pm43pmbgqgiX2GJTR3UYnx7JI9bOiQc6HQZnlV0/opJFDdWpQlHvg== + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz#b43a3dd0bc1108954ad0eeb50d0261887ab5e31c" @@ -2076,20 +2706,30 @@ "@cosmjs/math" "0.28.13" "@cosmjs/utils" "0.28.13" -"@cosmjs/cosmwasm-stargate@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.28.13.tgz#bea77bc999aaafdb677f446465f648cd000c5b4a" - integrity sha512-dVZNOiRd8btQreRUabncGhVXGCS2wToXqxi9l3KEHwCJQ2RWTshuqV+EZAdCaYHE5W6823s2Ol2W/ukA9AXJPw== - dependencies: - "@cosmjs/amino" "0.28.13" - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/proto-signing" "0.28.13" - "@cosmjs/stargate" "0.28.13" - "@cosmjs/tendermint-rpc" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" +"@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz#35873a580a6102e48415ed2b5b97477f146fb50d" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/cosmwasm-stargate@0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz#dea1c16fe80daf14072c3796574fe8cb34a3729b" + integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stargate" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" long "^4.0.0" pako "^2.0.2" @@ -2124,6 +2764,19 @@ sha.js "^2.4.11" unorm "^1.5.0" +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz#c914424a8b538f6624e505bc2015a71e3977c2fb" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + "@cosmjs/encoding@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz#7994e8e2c435beaf0690296ffb0f7f3eaec8150b" @@ -2142,7 +2795,7 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/encoding@^0.24.0-alpha.25", "@cosmjs/encoding@^0.24.1": +"@cosmjs/encoding@^0.24.1": version "0.24.1" resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== @@ -2151,6 +2804,15 @@ bech32 "^1.1.4" readonly-date "^1.0.0" +"@cosmjs/encoding@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz#75b1b41a2f31f71fcb0982cd1b210d6410739fd0" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + "@cosmjs/json-rpc@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz#ff3f0c4a2f363b1a2c6779f8624a897e217fe297" @@ -2159,12 +2821,12 @@ "@cosmjs/stream" "0.28.13" xstream "^11.14.0" -"@cosmjs/json-rpc@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.24.1.tgz#5de8dde2b732639199785e4ff449039d92726e12" - integrity sha512-kZ6473O81TRMyP1XomnvgIny3nBY//JngnpGJSDZyYjlIm6t5BhLqCuZJiuMOc937RyHKmqUQaOUtDA7X0TKYg== +"@cosmjs/json-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz#481f282bcb3457c71f393342691e957a4fa56535" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== dependencies: - "@cosmjs/stream" "^0.24.1" + "@cosmjs/stream" "^0.29.0" xstream "^11.14.0" "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": @@ -2200,6 +2862,13 @@ dependencies: bn.js "^4.11.8" +"@cosmjs/math@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz#2c34f96d94055fe82ca310bec7b2d8a9f1c507cb" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + dependencies: + bn.js "^5.2.0" + "@cosmjs/proto-signing@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz#95ac12f0da0f0814f348f5ae996c3e96d015df61" @@ -2222,6 +2891,19 @@ long "^4.0.0" protobufjs "~6.10.2" +"@cosmjs/proto-signing@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz#4d9c10fc3a5c64b454bd2d9b407861fcffdfbbe0" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + "@cosmjs/socket@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz#d8443ad6e91d080fc6b80a7e9cf297a56b1f6833" @@ -2232,14 +2914,14 @@ ws "^7" xstream "^11.14.0" -"@cosmjs/socket@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.24.1.tgz#02ae2024890e71d3fc9389193a512d60a8074b99" - integrity sha512-L8zxUzn1C01u5iwLY9u+G8z2WEExU5G7XDRaoVvX22oVBy0wUaxBxmIDsmC/usSd2giYGy1/iVCd5132DwnKbw== +"@cosmjs/socket@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz#6f8f56799e69ead02f9ffe8925c782804635ac89" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== dependencies: - "@cosmjs/stream" "^0.24.1" + "@cosmjs/stream" "^0.29.0" isomorphic-ws "^4.0.1" - ws "^6.2.0" + ws "^7" xstream "^11.14.0" "@cosmjs/stargate@0.28.13": @@ -2260,6 +2942,24 @@ protobufjs "~6.11.3" xstream "^11.14.0" +"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz#55263ed9d414f2c3073a451527576e4c3d6f04a6" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + "@cosmjs/stream@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz#1e79d1116fda1e63e5ecddbd9d803d403942b1fa" @@ -2267,10 +2967,10 @@ dependencies: xstream "^11.14.0" -"@cosmjs/stream@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.24.1.tgz#cf8364feb0e99e1097fc7bcf84fd5c4f1bee7262" - integrity sha512-NFoc7kA90vgYRMXzsDnTTTXsH5kCHIhmhEUoQptx5A7LqTjvJScnP1EU+MoT9231L6HVtx0RDIaUulouFGWkcw== +"@cosmjs/stream@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz#df2d7ea23293170bc192e91c0fa3e9f8d993b7cc" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== dependencies: xstream "^11.14.0" @@ -2290,18 +2990,19 @@ readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/tendermint-rpc@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.24.1.tgz#625b650c774cb507f48b582b95727d0d26436db9" - integrity sha512-2s7SmoLjLY9Bq6D4/CkOnwm4WZBSHo6T3oTTKE6NLD+2A8BLcjdDnA49eLe3XzkMtVyfLvfrmoEXkCadfDFPOw== - dependencies: - "@cosmjs/crypto" "^0.24.1" - "@cosmjs/encoding" "^0.24.1" - "@cosmjs/json-rpc" "^0.24.1" - "@cosmjs/math" "^0.24.1" - "@cosmjs/socket" "^0.24.1" - "@cosmjs/stream" "^0.24.1" - axios "^0.21.1" +"@cosmjs/tendermint-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz#db71e743d2ee8dde706c09bc92ac47cc6197f672" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/json-rpc" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/socket" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + axios "^0.21.2" readonly-date "^1.0.0" xstream "^11.14.0" @@ -2320,41 +3021,35 @@ resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== +"@cosmjs/utils@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz#0a61e6d608e9f6f89a278cc71f4e7cee01199657" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + "@cosmjson/wasmswap@^0.0.9": version "0.0.9" resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz#f8dc7c6ffcceb74c7e877a28606f86e7ff5baab4" integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== -"@cosmos-kit/config@0.13.2", "@cosmos-kit/config@^0.13.2": - version "0.13.2" - resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.13.2.tgz#b07c61c774b7fd21d0e1600d4afe5eda782e7cac" - integrity sha512-o1YDA0r3Lupv2JZ7fRKVQP5ETdLfVHmM4rh3zv9/2bMu8m9RoGAJLKH8pEJoTbxjITYY8tjxdBeoPBBQ24G27Q== +"@cosmos-kit/config@0.14.0", "@cosmos-kit/config@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.14.0.tgz#999befd9cf7a5513615c48713301b246538c3ec1" + integrity sha512-kU0/+agF+mFHWEZXPRuB85VDA3TLte4nELDnlFV3otcenX07G3bSPrMB7Tyxdt+PnVks9hodcquxHyTTd6cu1w== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" - "@cosmos-kit/core" "^0.13.2" - "@cosmos-kit/keplr" "^0.13.2" + "@cosmos-kit/core" "^0.14.0" + "@cosmos-kit/keplr" "^0.14.0" -"@cosmos-kit/core@0.13.2", "@cosmos-kit/core@^0.13.2": - version "0.13.2" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.13.2.tgz#5e0c047ed404e30da2b8e11992499ce00efeb7e2" - integrity sha512-iTPgN2PnlvsuCuhdkeeZxRrlbVfwc8enMkV/tbqAB3u5tW3kApM0BciTybxVFRusD1T/hOgifDy1WIn4y9LGUg== +"@cosmos-kit/core@0.14.0", "@cosmos-kit/core@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.14.0.tgz#78d9f121cbd238773d70d59dfe406fca7cb488d8" + integrity sha512-1DpIXnk7Q4zF0NzaVX5quEOxSNSs7Rd4j1ibcHytGuEdwYdE4g3Ld11i12BBBAdgJq+6Uv9zQFBpvpn0MiarvQ== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" chain-registry "^0.10.0" -"@cosmos-kit/core@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.11.0.tgz#5535fa5720203ceccaa20e9dc61eac068b4ff599" - integrity sha512-692WjrT8Vwlc0ItHcANsUZJDkj7AWwPDvXcukXqhVpeXM5kYsDETcPC1wCociCS1Hin0vq68x5ztkxBFz2gxXw== - dependencies: - "@babel/runtime" "^7.11.2" - "@cosmos-kit/registry" "^0.11.0" - "@cosmos-kit/types" "^0.11.0" - "@keplr-wallet/cosmos" "^0.10.12" - "@walletconnect/client" "1.7.8" - "@cosmos-kit/core@^0.12.3": version "0.12.3" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.3.tgz#5c25684c258bd73a031c4c72b3bd85c26dcb8aa7" @@ -2364,24 +3059,15 @@ "@chain-registry/types" "^0.7.0" chain-registry "^0.10.0" -"@cosmos-kit/core@^0.12.4": - version "0.12.4" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.4.tgz#b74d0bc2f630056bf5e1637a7073195873cd6885" - integrity sha512-y8R9VqpHLL+U4IWisNoaFGjYcVYjadldARLf7HgMDbvlLgXbPCVNW8riXhYkhjM62vFRbs7a+q7lh5OZ8GqrDw== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - chain-registry "^0.10.0" - -"@cosmos-kit/keplr@0.13.2", "@cosmos-kit/keplr@^0.13.2": - version "0.13.2" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.13.2.tgz#e35967965b2406a841a7b0db209f009164ecfcfd" - integrity sha512-66ieIohQaJl4dTRMCyaE+TW6nmZdoHJZbirEgdCX2n/uV4e9YMwU9ScnsOwLjm9/Pm0MxEtlQ1buk581KCoOqA== +"@cosmos-kit/keplr@0.14.0", "@cosmos-kit/keplr@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.14.0.tgz#78f4911a9b78fc4e193b567d5b8a83ad2b6bed67" + integrity sha512-RowKEGJE1Kk5WNmnZVXPE1ysAdrAfRHNbJZtef+2jPzpshkpT17w/hUaqeGQYZ5r+hjVST3b476BIkqbUr3Czw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.13.2" + "@cosmos-kit/core" "^0.14.0" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.10" @@ -2393,25 +3079,6 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/keplr@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.11.0.tgz#ebcc62aa73270057a6917a5d37ac482b1f317ba2" - integrity sha512-rh3r/cHP0EHaXJUe7vtCdj2MEb+CRxyCzeB3H6KJ6W+RwI4pZiQ9icPi5rXN/tLxHLfDIyldd+nY+3m08YYsxQ== - dependencies: - "@babel/runtime" "^7.11.2" - "@cosmos-kit/types" "^0.11.0" - "@keplr-wallet/common" "^0.10.12" - "@keplr-wallet/cosmos" "^0.10.12" - "@keplr-wallet/provider" "^0.10.12" - "@keplr-wallet/stores" "^0.10.12" - "@walletconnect/browser-utils" "1.7.8" - "@walletconnect/types" "1.7.8" - "@walletconnect/utils" "1.7.8" - axios "0.27.2" - buffer "6.0.3" - deepmerge "4.2.2" - secretjs "0.17.5" - "@cosmos-kit/keplr@^0.12.3": version "0.12.7" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.7.tgz#1c59295537469e4dc7fe5b15cfb825d3bf2c1e2e" @@ -2432,62 +3099,15 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/keplr@^0.12.7", "@cosmos-kit/keplr@^0.12.8": - version "0.12.8" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.8.tgz#52a4797eca1b548e132ab386196c8aabe182c796" - integrity sha512-uiw6JiQcjTRhCzu+qOrkPXj1E7+VjTn4ChYqUfX8F3WJw7kYV8qzrQ84CgGwVYg9KeeKXwnWA3HeNxepmzNYeg== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.12.4" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.10" - "@keplr-wallet/wc-client" "^0.10.20" - "@walletconnect/client" "1.8.0" - "@walletconnect/node" "1.0.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - -"@cosmos-kit/react@0.13.2": - version "0.13.2" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.13.2.tgz#daecd6022cac5e8b0056c66b94b188097fcea9f9" - integrity sha512-8Y6f8avCRS+tlomiJCpyI0TJuKkTmG+wR/OTC8XGIv9a60VYCxWou1RPPlHFFW6ASTxF8CfrSiMQrHbwbOm+XQ== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/config" "^0.13.2" - "@emotion/react" "^11" - "@emotion/styled" "^11" - bowser "2.11.0" - qrcode.react "^3.1.0" - react-icons "^4.4.0" - -"@cosmos-kit/react@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.11.0.tgz#a8e8e3fd79bafffbe6fd5f32f0064701d1be11c6" - integrity sha512-igF1znvDtsUXyTXqdc5XFne4vEKgeE1juQMNRFtmc9QV6CpNCCgp5p61YG/NNnPCUpd8Jc/eDNzrUyR6cmhsAA== - dependencies: - "@babel/runtime" "^7.11.2" - "@cosmos-kit/core" "^0.11.0" - "@testing-library/react" "13.3.0" - "@walletconnect/browser-utils" "1.7.8" - qrcode.react "3.1.0" - react-modal "3.15.1" - styled-components "5.3.5" - -"@cosmos-kit/react@^0.12.7": - version "0.12.8" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.12.8.tgz#d0ea0a40227eda45dfee39a558bfefd3d905d5d7" - integrity sha512-7CHA9xYjYFVfWGgYJk+FRmH1cdxEGC/Y74hOV+S9qCguxYWlVtV8YZ9zfxiNwZ5+aoM6VxnKC0sam7svwSpGsw== +"@cosmos-kit/react@0.14.0", "@cosmos-kit/react@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.14.0.tgz#6788a0ec221a01f02301300d6fb98955a83c9419" + integrity sha512-c+xhLBOGuTVDdurjrZotFkNP38Ht6hiOGuuNvRBmn6+kPT5/QeG84rL/w90BqaZQJWzcXBiyK/SXxi1IJ6QqVA== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.14.0" "@emotion/react" "^11" "@emotion/styled" "^11" bowser "2.11.0" @@ -2503,24 +3123,6 @@ "@chain-registry/types" "^0.7.0" "@cosmos-kit/keplr" "^0.12.3" -"@cosmos-kit/registry@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.11.0.tgz#1d11a21c97a7f9350597d63ca12897d5f02c7067" - integrity sha512-B2aS1JcW+pFF8jZvWYHbKXWC9F5TqffzE7JZvtbwiJsjvcMF3CTj7wWZL9WQRCPo7I4v2HX0cnwBYMzqY+yM8g== - dependencies: - "@babel/runtime" "^7.11.2" - "@cosmos-kit/keplr" "^0.11.0" - "@cosmos-kit/types" "^0.11.0" - -"@cosmos-kit/registry@^0.12.6": - version "0.12.7" - resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.12.7.tgz#a5866c3d647f082702f86ce0b9fb49444df17bdf" - integrity sha512-H+qa327Rd2E+mB/IQKsAP/cR2SCVdGSbRdA7xxhlVV7+492saQZerDxK5FqlBZGcjuDNdi8OUs2iHfIG3TC4EQ== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@cosmos-kit/keplr" "^0.12.8" - "@cosmos-kit/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz#7af1e09ecea5ea6213b409b8a2af7c05fc91bb2c" @@ -2609,7 +3211,7 @@ dependencies: "@emotion/memoize" "0.7.4" -"@emotion/is-prop-valid@^1.1.0", "@emotion/is-prop-valid@^1.2.0": +"@emotion/is-prop-valid@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== @@ -2692,16 +3294,6 @@ "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" "@emotion/utils" "^1.2.0" -"@emotion/stylis@^0.8.4": - version "0.8.5" - resolved "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" - integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ== - -"@emotion/unitless@^0.7.4": - version "0.7.5" - resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" - integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== - "@emotion/unitless@^0.8.0": version "0.8.0" resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" @@ -2732,36 +3324,12 @@ espree "^9.4.0" globals "^13.15.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" - -"@ethersproject/abstract-provider@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" - integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== - dependencies: - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/networks" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/web" "^5.7.0" - -"@ethersproject/abstract-signer@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" - integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== - dependencies: - "@ethersproject/abstract-provider" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" -"@ethersproject/address@^5.6.0", "@ethersproject/address@^5.7.0": +"@ethersproject/address@^5.6.0": version "5.7.0" resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== @@ -2772,21 +3340,6 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/base64@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" - integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== - dependencies: - "@ethersproject/bytes" "^5.7.0" - -"@ethersproject/basex@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" - integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" @@ -2796,73 +3349,14 @@ "@ethersproject/logger" "^5.7.0" bn.js "^5.2.1" -"@ethersproject/bytes@^5.5.0", "@ethersproject/bytes@^5.7.0": +"@ethersproject/bytes@^5.7.0": version "5.7.0" resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" - integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== - dependencies: - "@ethersproject/bignumber" "^5.7.0" - -"@ethersproject/hash@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" - integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== - dependencies: - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/base64" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/keccak256" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - -"@ethersproject/hdnode@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" - integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== - dependencies: - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/basex" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/pbkdf2" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/sha2" "^5.7.0" - "@ethersproject/signing-key" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/wordlists" "^5.7.0" - -"@ethersproject/json-wallets@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" - integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== - dependencies: - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/hdnode" "^5.7.0" - "@ethersproject/keccak256" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/pbkdf2" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/random" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - aes-js "3.0.0" - scrypt-js "3.0.1" - -"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@^5.7.0": version "5.7.0" resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== @@ -2875,36 +3369,6 @@ resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== -"@ethersproject/networks@^5.7.0": - version "5.7.1" - resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" - integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== - dependencies: - "@ethersproject/logger" "^5.7.0" - -"@ethersproject/pbkdf2@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" - integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/sha2" "^5.7.0" - -"@ethersproject/properties@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" - integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== - dependencies: - "@ethersproject/logger" "^5.7.0" - -"@ethersproject/random@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" - integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/rlp@^5.7.0": version "5.7.0" resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" @@ -2913,111 +3377,11 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/sha2@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" - integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - hash.js "1.1.7" - -"@ethersproject/signing-key@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" - integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - bn.js "^5.2.1" - elliptic "6.5.4" - hash.js "1.1.7" - -"@ethersproject/strings@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" - integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/constants" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - -"@ethersproject/transactions@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" - integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== - dependencies: - "@ethersproject/address" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/constants" "^5.7.0" - "@ethersproject/keccak256" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/rlp" "^5.7.0" - "@ethersproject/signing-key" "^5.7.0" - -"@ethersproject/wallet@^5.5.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" - integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== - dependencies: - "@ethersproject/abstract-provider" "^5.7.0" - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/hash" "^5.7.0" - "@ethersproject/hdnode" "^5.7.0" - "@ethersproject/json-wallets" "^5.7.0" - "@ethersproject/keccak256" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/random" "^5.7.0" - "@ethersproject/signing-key" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/wordlists" "^5.7.0" - -"@ethersproject/web@^5.7.0": - version "5.7.1" - resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" - integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== - dependencies: - "@ethersproject/base64" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - -"@ethersproject/wordlists@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" - integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/hash" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@gar/promisify@^1.0.1": version "1.1.3" resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@hapi/hoek@^9.0.0": - version "9.3.0" - resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" - integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== - -"@hapi/topo@^5.0.0": - version "5.1.0" - resolved "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" - integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== - dependencies: - "@hapi/hoek" "^9.0.0" - "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" @@ -3338,42 +3702,7 @@ resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@keplr-wallet/background@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/background/-/background-0.10.24.tgz#21abe313a432c9fd031576d034f20f44e2191515" - integrity sha512-goDDvovYv73QUa7FHk0MPwPNiT4ObGggwr6GMOlTF4pUuM2RDzG5BXbkFFRsIJoL/t2+CjnJ3IKJyYnX/CfTrw== - dependencies: - "@cosmjs/launchpad" "^0.24.0-alpha.25" - "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/wallet" "^5.5.0" - "@keplr-wallet/common" "0.10.24" - "@keplr-wallet/cosmos" "0.10.24" - "@keplr-wallet/crypto" "0.10.24" - "@keplr-wallet/popup" "0.10.24" - "@keplr-wallet/proto-types" "0.10.24" - "@keplr-wallet/router" "0.10.24" - "@keplr-wallet/types" "0.10.24" - "@keplr-wallet/unit" "0.10.24" - "@ledgerhq/hw-transport" "^6.20.0" - "@ledgerhq/hw-transport-webhid" "^6.20.0" - "@ledgerhq/hw-transport-webusb" "^6.20.0" - aes-js "^3.1.2" - axios "^0.27.2" - big-integer "^1.6.48" - bip39 "^3.0.2" - buffer "^6.0.3" - delay "^4.4.0" - joi "^17.5.0" - ledger-cosmos-js "^2.1.8" - long "^4.0.0" - pbkdf2 "^3.1.2" - secp256k1 "^4.0.2" - secretjs "^0.17.0" - utility-types "^3.10.0" - -"@keplr-wallet/common@0.10.24", "@keplr-wallet/common@^0.10.12": +"@keplr-wallet/common@0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.24.tgz#f6c625975b494b6ac4326180d75ec5524e150638" integrity sha512-cQgGSgvQGJ4f6yjH2JPtpR7xve83VGHEgNPuYV2C0lIKYjWHmu7Zq20uF3BWU6tc+5LAieOoz3mJDfdLNNvN+w== @@ -3382,7 +3711,7 @@ buffer "^6.0.3" delay "^4.4.0" -"@keplr-wallet/cosmos@0.10.24", "@keplr-wallet/cosmos@^0.10.12", "@keplr-wallet/cosmos@^0.10.3": +"@keplr-wallet/cosmos@^0.10.24", "@keplr-wallet/cosmos@^0.10.3": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== @@ -3399,7 +3728,7 @@ long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.11": +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.11", "@keplr-wallet/crypto@^0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== @@ -3412,11 +3741,6 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/popup@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/popup/-/popup-0.10.24.tgz#00bfdb0decdc4e3186ea7370ea74c35b5674af12" - integrity sha512-rGr9ItNf5fk1XM5aCKYrH9i/ZK1RnLhJORZQTzzihhaYel1Ox+zHSYF1RQIeoBZ5Vc6cE5h/yL76LSsFBS9PRA== - "@keplr-wallet/proto-types@0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" @@ -3425,7 +3749,7 @@ long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/provider@0.10.24", "@keplr-wallet/provider@^0.10.12": +"@keplr-wallet/provider@0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.24.tgz#e5dbdb667dc78f76a93290d098cfa227637db318" integrity sha512-m0PP9A3T41G9jI8gTCAP+3oakKMRx2Y2cXi+WTK02l9XzRRzO2uUU6aQwmaqArYSF2Qyq361UF/mUIbK43f6qw== @@ -3444,32 +3768,6 @@ resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.24.tgz#7d975d5e9273bbe9496d8af7d952eef3727e54fb" integrity sha512-hZLzCSm9lrL5rWLYuEzoIc4lLGMfs+PNTlTcUGgEjd9BjQiBlEGAPK6a4cfa0L5SUirJv5szBoBR2UI2LwB/wg== -"@keplr-wallet/stores@^0.10.12": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/stores/-/stores-0.10.24.tgz#92654c97f36585146c8947d0850df3c17477ac2f" - integrity sha512-L5oBugSgXhXVoolthHjLYYEV1ccn/loPNBtLn94JrN2nx0qF7Wiqnro/Gfrgm79qI4B9BzonF0X3wAMQirL+Cg== - dependencies: - "@cosmjs/encoding" "^0.24.0-alpha.25" - "@cosmjs/launchpad" "^0.24.0-alpha.25" - "@cosmjs/tendermint-rpc" "^0.24.1" - "@ethersproject/address" "^5.6.0" - "@keplr-wallet/background" "0.10.24" - "@keplr-wallet/common" "0.10.24" - "@keplr-wallet/cosmos" "0.10.24" - "@keplr-wallet/crypto" "0.10.24" - "@keplr-wallet/proto-types" "0.10.24" - "@keplr-wallet/router" "0.10.24" - "@keplr-wallet/types" "0.10.24" - "@keplr-wallet/unit" "0.10.24" - axios "^0.27.2" - buffer "^6.0.3" - deepmerge "^4.2.2" - eventemitter3 "^4.0.7" - mobx "^6.1.7" - mobx-utils "^6.0.3" - p-queue "^6.6.2" - utility-types "^3.10.0" - "@keplr-wallet/types@0.10.24", "@keplr-wallet/types@^0.10": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" @@ -3506,84 +3804,6 @@ deepmerge "^4.2.2" secretjs "^0.17.0" -"@ledgerhq/devices@^5.51.1": - version "5.51.1" - resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-5.51.1.tgz#d741a4a5d8f17c2f9d282fd27147e6fe1999edb7" - integrity sha512-4w+P0VkbjzEXC7kv8T1GJ/9AVaP9I6uasMZ/JcdwZBS3qwvKo5A5z9uGhP5c7TvItzcmPb44b5Mw2kT+WjUuAA== - dependencies: - "@ledgerhq/errors" "^5.50.0" - "@ledgerhq/logs" "^5.50.0" - rxjs "6" - semver "^7.3.5" - -"@ledgerhq/devices@^7.0.1": - version "7.0.1" - resolved "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.1.tgz#c014fbb806ba3d48efb2fd757e8588c9300f54fc" - integrity sha512-LlAyDU5+GH0w+J1wscLU+Ga4z5a5ACKmMGQKILj5XscCtp63NjbtVdVt4oc/xrmoUdRqVehIw2Ui+e9nIF52yA== - dependencies: - "@ledgerhq/errors" "^6.10.2" - "@ledgerhq/logs" "^6.10.0" - rxjs "6" - semver "^7.3.5" - -"@ledgerhq/errors@^5.50.0": - version "5.50.0" - resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-5.50.0.tgz#e3a6834cb8c19346efca214c1af84ed28e69dad9" - integrity sha512-gu6aJ/BHuRlpU7kgVpy2vcYk6atjB4iauP2ymF7Gk0ez0Y/6VSMVSJvubeEQN+IV60+OBK0JgeIZG7OiHaw8ow== - -"@ledgerhq/errors@^6.10.2": - version "6.10.2" - resolved "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.10.2.tgz#ba104d495eae5ee91264de91a9ba8e3dcaa1a4ea" - integrity sha512-iMfEJPWaan8QaZw87WMUnFFRJqveE3FpU2ObTE0ydTJLPJNOUJjjurGBklqdWM/j5BIQvpi3byGKFChfNg8CaQ== - -"@ledgerhq/hw-transport-webhid@^6.20.0": - version "6.27.4" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.4.tgz#dedf70454e7bc6029cd73d1fa8375f1d107c744f" - integrity sha512-r30GAzaJkyCWnsdxyQKeYYSkzN3kiIBEVQiZ7MTMeVO2KRJFMDjO/2ZQ7AV6kjJWmENdfsHrlibSnxj933wB/A== - dependencies: - "@ledgerhq/devices" "^7.0.1" - "@ledgerhq/errors" "^6.10.2" - "@ledgerhq/hw-transport" "^6.27.4" - "@ledgerhq/logs" "^6.10.0" - -"@ledgerhq/hw-transport-webusb@^6.20.0": - version "6.27.4" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.4.tgz#738c177321d4271a0697d199dd87df0b1a28ee2c" - integrity sha512-yth7Sba1YrR51qJ9clBT3qDGdVAy72eapSgN3kbnhas1oqJBmP+os9QukUhimuwthsEurIv78eP1UPtBU80ZOg== - dependencies: - "@ledgerhq/devices" "^7.0.1" - "@ledgerhq/errors" "^6.10.2" - "@ledgerhq/hw-transport" "^6.27.4" - "@ledgerhq/logs" "^6.10.0" - -"@ledgerhq/hw-transport@^5.25.0": - version "5.51.1" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578" - integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw== - dependencies: - "@ledgerhq/devices" "^5.51.1" - "@ledgerhq/errors" "^5.50.0" - events "^3.3.0" - -"@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.27.4": - version "6.27.4" - resolved "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.4.tgz#a06853fabb1795f728b5989078e58cad44146cc4" - integrity sha512-i3RYKfSIZ7PHM2sFljAU443qOYMTlghx8l5AZqsNKsXbawHkuOr7EtISW3zqbC0Wh3uws7u63qQ/50TLmylr7g== - dependencies: - "@ledgerhq/devices" "^7.0.1" - "@ledgerhq/errors" "^6.10.2" - events "^3.3.0" - -"@ledgerhq/logs@^5.50.0": - version "5.50.0" - resolved "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.50.0.tgz#29c6419e8379d496ab6d0426eadf3c4d100cd186" - integrity sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA== - -"@ledgerhq/logs@^6.10.0": - version "6.10.0" - resolved "https://registry.npmjs.org/@ledgerhq/logs/-/logs-6.10.0.tgz#c012c1ecc1a0e53d50e6af381618dca5268461c1" - integrity sha512-lLseUPEhSFUXYTKj6q7s2O3s2vW2ebgA11vMAlKodXGf5AFw4zUoEbTz9CoFOC9jS6xY4Qr8BmRnxP/odT4Uuw== - "@lerna/add@4.0.0": version "4.0.0" resolved "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f" @@ -4607,10 +4827,10 @@ case "1.6.3" dotty "0.1.2" -"@osmonauts/helpers@^0.4.3": - version "0.4.3" - resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.4.3.tgz#f73cce20c2d05cc4ab056efdd1f16bb1e9eef76e" - integrity sha512-Dd6CXSKoAP4kLptE8Fx2vsEqc0Ai4kF07l4zPsfOYop9SH5ayOKkRTfAkrBjBr84FsMPyu5TEhJeqj1i//Q/jg== +"@osmonauts/helpers@^0.6.0": + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz#86324110ba1ec76637836ef6ec12ce263e1a7a97" + integrity sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw== dependencies: "@babel/runtime" "^7.18.9" "@cosmjs/amino" "0.28.13" @@ -4621,10 +4841,10 @@ long "^5.2.0" protobufjs "^6.11.3" -"@osmonauts/lcd@^0.4.0": - version "0.4.1" - resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.4.1.tgz#78df03e256796c43de8291efb6aab4fab1c1b3df" - integrity sha512-N8QzBk2VopBlism9P1y/aoly2G32U/9NJuls/yL6eubVtAZ61OWb+wV7pzaT+zQmDkylehFPCmdGD4JiTJxQig== +"@osmonauts/lcd@^0.6.0": + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz#9545b793b77b4a175e6dc733341940fe192c6655" + integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== dependencies: "@babel/runtime" "^7.18.9" axios "0.27.2" @@ -4883,23 +5103,6 @@ resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== -"@sideway/address@^4.1.3": - version "4.1.4" - resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz#03dccebc6ea47fdc226f7d3d1ad512955d4783f0" - integrity sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw== - dependencies: - "@hapi/hoek" "^9.0.0" - -"@sideway/formula@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz#fe158aee32e6bd5de85044be615bc08478a0a13c" - integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg== - -"@sideway/pinpoint@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" - integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== - "@sinclair/typebox@^0.24.1": version "0.24.41" resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz#45470b8bae32a28f1e0501066d0bacbd8b772804" @@ -4926,39 +5129,11 @@ dependencies: tslib "^2.4.0" -"@testing-library/dom@^8.5.0": - version "8.18.0" - resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-8.18.0.tgz#fe5903a456f2c2b64770d91e50237a031c382121" - integrity sha512-hP7v7Ifiq104Lb4dTuQzUtlkbX4sgsmxVwOTnVSDOU4ntApvPfp+eFLvasS8GpMP6pVfdbNRXNF/bSK7LTriEg== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/runtime" "^7.12.5" - "@types/aria-query" "^4.2.0" - aria-query "^5.0.0" - chalk "^4.1.0" - dom-accessibility-api "^0.5.9" - lz-string "^1.4.4" - pretty-format "^27.0.2" - -"@testing-library/react@13.3.0": - version "13.3.0" - resolved "https://registry.npmjs.org/@testing-library/react/-/react-13.3.0.tgz#bf298bfbc5589326bbcc8052b211f3bb097a97c5" - integrity sha512-DB79aA426+deFgGSjnf5grczDPiL4taK3hFaa+M5q7q20Kcve9eQottOG5kZ74KEr55v0tU2CQormSSDK87zYQ== - dependencies: - "@babel/runtime" "^7.12.5" - "@testing-library/dom" "^8.5.0" - "@types/react-dom" "^18.0.0" - "@tootallnate/once@1": version "1.1.2" resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== -"@types/aria-query@^4.2.0": - version "4.2.2" - resolved "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc" - integrity sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig== - "@types/babel__core@^7.1.14": version "7.1.19" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" @@ -5126,7 +5301,7 @@ resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== -"@types/react-dom@18.0.6", "@types/react-dom@^18.0.0": +"@types/react-dom@18.0.6": version "18.0.6" resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1" integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== @@ -5224,18 +5399,7 @@ "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" -"@walletconnect/browser-utils@1.7.8": - version "1.7.8" - resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.8.tgz#c9e27f69d838442d69ccf53cb38ffc3c554baee2" - integrity sha512-iCL0XCWOZaABIc0lqA79Vyaybr3z26nt8mxiwvfrG8oaKUf5Y21Of4dj+wIXQ4Hhblre6SgDlU0Ffb39+1THOw== - dependencies: - "@walletconnect/safe-json" "1.0.0" - "@walletconnect/types" "^1.7.8" - "@walletconnect/window-getters" "1.0.0" - "@walletconnect/window-metadata" "1.0.0" - detect-browser "5.2.0" - -"@walletconnect/browser-utils@^1.7.8", "@walletconnect/browser-utils@^1.8.0": +"@walletconnect/browser-utils@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== @@ -5315,7 +5479,7 @@ dependencies: keyvaluestorage-interface "^1.0.0" -"@walletconnect/jsonrpc-utils@^1.0.0", "@walletconnect/jsonrpc-utils@^1.0.3": +"@walletconnect/jsonrpc-utils@^1.0.3": version "1.0.3" resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== @@ -5374,19 +5538,6 @@ resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== -"@walletconnect/utils@1.7.8": - version "1.7.8" - resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.8.tgz#f94572bca5eb6b5f81daf8a35268f249f9c6b1ec" - integrity sha512-DSpfH6Do0TQmdrgzu+SyjVhupVjN0WEMvNWGK9K4VlSmLFpCWfme7qxzrvuxBZ47gDqs1kGWvjyJmviWqvOnAg== - dependencies: - "@walletconnect/browser-utils" "^1.7.8" - "@walletconnect/encoding" "^1.0.1" - "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/types" "^1.7.8" - bn.js "4.11.8" - js-sha3 "0.8.0" - query-string "6.13.5" - "@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": version "1.8.0" resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" @@ -5450,11 +5601,6 @@ add-stream@^1.0.0: resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== -aes-js@3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" - integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== - aes-js@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" @@ -5613,11 +5759,6 @@ aria-query@^4.2.2: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" -aria-query@^5.0.0: - version "5.0.2" - resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.0.2.tgz#0b8a744295271861e1d933f8feca13f9b70cfdc1" - integrity sha512-eigU3vhqSO+Z8BKDnVLN/ompjhf3pYzecKXz8+whRy+9gZu8n1TCGfwzQUUPnqdHl9ax1Hr9031orZ+UOEYr7Q== - array-differ@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" @@ -5714,11 +5855,6 @@ ast-types-flow@^0.0.7: resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -5859,22 +5995,6 @@ babel-plugin-polyfill-regenerator@^0.4.0: dependencies: "@babel/helper-define-polyfill-provider" "^0.3.3" -"babel-plugin-styled-components@>= 1.12.0": - version "2.0.7" - resolved "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-2.0.7.tgz#c81ef34b713f9da2b7d3f5550df0d1e19e798086" - integrity sha512-i7YhvPgVqRKfoQ66toiZ06jPNA3p6ierpfUuEWxNF+fV27Uv5gxBkf8KZLHUCc1nFA9j6+80pYoIpqCeyW3/bA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.0" - "@babel/helper-module-imports" "^7.16.0" - babel-plugin-syntax-jsx "^6.18.0" - lodash "^4.17.11" - picomatch "^2.3.0" - -babel-plugin-syntax-jsx@^6.18.0: - version "6.18.0" - resolved "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" - integrity sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw== - babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -6174,11 +6294,6 @@ camelcase@^6.2.0: resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -camelize@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" - integrity sha512-W2lPwkBkMZwFlPCXhIlYgxu+7gC/NUlCtdK652DAJ1JdgV0sTrvuPFshNPrFa1TY2JOkLhgdeEBplB4ezEa+xg== - caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: version "1.0.30001402" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz#aa29e1f47f5055b0d0c07696a67b8b08023d14c8" @@ -6194,7 +6309,15 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@^0.10.0, chain-registry@^0.10.3: +chain-registry@0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chain-registry@^0.10.0: version "0.10.3" resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz#d3ff23c49a670adf710e5c33e2bb247b9695c1c3" integrity sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA== @@ -6202,10 +6325,10 @@ chain-registry@^0.10.0, chain-registry@^0.10.3: "@babel/runtime" "^7.18.3" "@chain-registry/types" "^0.7.1" -chakra-react-select@^4.1.4: - version "4.2.2" - resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz#f523779fd123b5e42894d1038e5687ba913464a9" - integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== +chakra-react-select@4.1.4: + version "4.1.4" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz#27ad5cd2953dd93a7fb594454e73bd386304ebb3" + integrity sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg== dependencies: react-select "^5.4.0" @@ -6635,7 +6758,7 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -cosmjs-types@0.5.1: +cosmjs-types@0.5.1, cosmjs-types@^0.5.0: version "0.5.1" resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz#f9bc35e78c32b687fb6018dc573eb454b3ae2587" integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== @@ -6707,20 +6830,6 @@ css-box-model@1.2.1: dependencies: tiny-invariant "^1.0.6" -css-color-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" - integrity sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg== - -css-to-react-native@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.0.0.tgz#62dbe678072a824a689bcfee011fc96e02a7d756" - integrity sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ== - dependencies: - camelize "^1.0.0" - css-color-keywords "^1.0.0" - postcss-value-parser "^4.0.2" - csstype@^3.0.11, csstype@^3.0.2: version "3.1.1" resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" @@ -6919,11 +7028,6 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-accessibility-api@^0.5.9: - version "0.5.14" - resolved "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz#56082f71b1dc7aac69d83c4285eef39c15d93f56" - integrity sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg== - dom-helpers@^5.0.1: version "5.2.1" resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" @@ -6969,7 +7073,7 @@ electron-to-chromium@^1.4.251: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz#c6203583890abf88dfc0be046cd72d3b48f8beb6" integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: +elliptic@^6.4.0, elliptic@^6.5.3: version "6.5.4" resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -7377,12 +7481,12 @@ event-emitter@^0.3.5: d "1" es5-ext "~0.10.14" -eventemitter3@^4.0.4, eventemitter3@^4.0.7: +eventemitter3@^4.0.4: version "4.0.7" resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@3.3.0, events@^3.3.0: +events@3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -7402,11 +7506,6 @@ execa@^5.0.0: signal-exit "^3.0.3" strip-final-newline "^2.0.0" -exenv@^1.2.0: - version "1.2.2" - resolved "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" - integrity sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw== - exit@^0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -7478,7 +7577,7 @@ fast-diff@^1.1.2: resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== -fast-fuzzy@^1.11.2: +fast-fuzzy@1.11.2: version "1.11.2" resolved "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz#25e6f81f10636237da48071e64eb9fa95e1e2574" integrity sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw== @@ -8076,7 +8175,7 @@ hash-base@^3.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" -hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: version "1.1.7" resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== @@ -8098,7 +8197,7 @@ hmac-drbg@^1.0.1: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.1: +hoist-non-react-statics@^3.3.1: version "3.3.2" resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -9012,17 +9111,6 @@ jest@28.1.3, jest@^28.1.3: import-local "^3.0.2" jest-cli "^28.1.3" -joi@^17.5.0: - version "17.6.0" - resolved "https://registry.npmjs.org/joi/-/joi-17.6.0.tgz#0bb54f2f006c09a96e75ce687957bd04290054b2" - integrity sha512-OX5dG6DTbcr/kbMFj0KGYxuew69HPcAE3K/sZpEV2nP6e/j/C0HV+HNiBPCASxdx5T7DMoa0s8UeHWMnb6n2zw== - dependencies: - "@hapi/hoek" "^9.0.0" - "@hapi/topo" "^5.0.0" - "@sideway/address" "^4.1.3" - "@sideway/formula" "^3.0.0" - "@sideway/pinpoint" "^2.0.0" - js-base64@^3.6.0: version "3.7.2" resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz#816d11d81a8aff241603d19ce5761e13e41d7745" @@ -9215,16 +9303,6 @@ language-tags@^1.0.5: dependencies: language-subtag-registry "~0.3.2" -ledger-cosmos-js@^2.1.8: - version "2.1.8" - resolved "https://registry.npmjs.org/ledger-cosmos-js/-/ledger-cosmos-js-2.1.8.tgz#b409ecd1e77f630e6fb212a9f602fe5c6e8f054b" - integrity sha512-Gl7SWMq+3R9OTkF1hLlg5+1geGOmcHX9OdS+INDsGNxSiKRWlsWCvQipGoDnRIQ6CPo2i/Ze58Dw0Mt/l3UYyA== - dependencies: - "@babel/runtime" "^7.11.2" - "@ledgerhq/hw-transport" "^5.25.0" - bech32 "^1.1.4" - ripemd160 "^2.0.2" - lerna@4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz#b139d685d50ea0ca1be87713a7c2f44a5b678e9e" @@ -9412,7 +9490,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9448,11 +9526,6 @@ lru-queue@^0.1.0: dependencies: es5-ext "~0.10.2" -lz-string@^1.4.4: - version "1.4.4" - resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" - integrity sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ== - make-dir@^2.0.0, make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -9773,16 +9846,6 @@ mkdirp@^0.5.1, mkdirp@^0.5.5: dependencies: minimist "^1.2.6" -mobx-utils@^6.0.3: - version "6.0.5" - resolved "https://registry.npmjs.org/mobx-utils/-/mobx-utils-6.0.5.tgz#0cce9afb07fbba1fb559f959f8cea1f44baa7252" - integrity sha512-QOduwicYedD4mwYZRl8+c3BalljFDcubg+PUGqBkn8tOuBoj2q7GhjXBP6JXM9J+Zh+2mePK8IoToeLfqr3Z/w== - -mobx@^6.1.7: - version "6.6.2" - resolved "https://registry.npmjs.org/mobx/-/mobx-6.6.2.tgz#9d9102a0e337e3fc09cb2d8ca0c6f00b61270d5a" - integrity sha512-IOpS0bf3+hXIhDIy+CmlNMBfFpAbHS0aVHcNC+xH/TFYEKIIVDKNYRh9eKlXuVfJ1iRKAp0cRVmO145CyJAMVQ== - modify-values@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -9889,11 +9952,6 @@ next@12.2.5: "@next/swc-win32-ia32-msvc" "12.2.5" "@next/swc-win32-x64-msvc" "12.2.5" -node-addon-api@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" - integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== - node-environment-flags@^1.0.5: version "1.0.6" resolved "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088" @@ -9909,11 +9967,6 @@ node-fetch@^2.6.1, node-fetch@^2.6.7: dependencies: whatwg-url "^5.0.0" -node-gyp-build@^4.2.0: - version "4.5.0" - resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" - integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== - node-gyp@^5.0.2: version "5.1.1" resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz#eb915f7b631c937d282e33aed44cb7a025f62a3e" @@ -10478,7 +10531,7 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1, pbkdf2@^3.1.2: +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: version "3.1.2" resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== @@ -10499,7 +10552,7 @@ picocolors@^1.0.0: resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -10553,11 +10606,6 @@ popmotion@11.0.5: style-value-types "5.1.2" tslib "2.4.0" -postcss-value-parser@^4.0.2: - version "4.2.0" - resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" - integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== - postcss@8.4.14: version "8.4.14" resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" @@ -10584,15 +10632,6 @@ prettier@2.7.1, prettier@^2.1.2, prettier@^2.6.2: resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== -pretty-format@^27.0.2: - version "27.5.1" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" - integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== - dependencies: - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^17.0.1" - pretty-format@^28.0.0, pretty-format@^28.1.3: version "28.1.3" resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" @@ -10636,7 +10675,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: +prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -10713,7 +10752,7 @@ q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== -qrcode.react@3.1.0, qrcode.react@^3.1.0: +qrcode.react@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== @@ -10798,7 +10837,7 @@ react-focus-lock@^2.9.1: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-icons@^4.4.0: +react-icons@4.4.0, react-icons@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz#a13a8a20c254854e1ec9aecef28a95cdf24ef703" integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== @@ -10808,31 +10847,11 @@ react-is@^16.13.1, react-is@^16.7.0: resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== -react-is@^17.0.1: - version "17.0.2" - resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== - react-is@^18.0.0: version "18.2.0" resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -react-lifecycles-compat@^3.0.0: - version "3.0.4" - resolved "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" - integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== - -react-modal@3.15.1: - version "3.15.1" - resolved "https://registry.npmjs.org/react-modal/-/react-modal-3.15.1.tgz#950ce67bfef80971182dd0ed38f2d9b1a681288b" - integrity sha512-duB9bxOaYg7Zt6TMFldIFxQRtSP+Dg3F1ZX3FXxSUn+3tZZ/9JCgeAQKDg7rhZSAqopq8TFRw3yIbnx77gyFTw== - dependencies: - exenv "^1.2.0" - prop-types "^15.7.2" - react-lifecycles-compat "^3.0.0" - warning "^4.0.3" - react-remove-scroll-bar@^2.3.3: version "2.3.3" resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz#e291f71b1bb30f5f67f023765b7435f4b2b2cd94" @@ -11250,7 +11269,7 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== -rxjs@6, rxjs@^6.4.0, rxjs@^6.6.0: +rxjs@^6.4.0, rxjs@^6.6.0: version "6.6.7" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -11279,37 +11298,6 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -scrypt-js@3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" - integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== - -secp256k1@^4.0.2: - version "4.0.3" - resolved "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - -secretjs@0.17.5: - version "0.17.5" - resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.5.tgz#5b55e46cfa2719714831fc2019e21c21959fe587" - integrity sha512-sf0+Je9KIEMQr/wJOgeqyBOV0ruiMNHSwP4L2vXiJbtzJWQqyVHyPkpavAhruNZ+91XlSzAFP2X5MPxqPBC9fQ== - dependencies: - "@iov/crypto" "2.1.0" - "@iov/encoding" "2.1.0" - "@iov/utils" "2.0.2" - axios "0.21.1" - curve25519-js "0.0.4" - fast-deep-equal "3.1.1" - js-crypto-hkdf "0.7.3" - miscreant "0.3.2" - pako "1.0.11" - protobufjs "^6.11.2" - secure-random "1.1.2" - secretjs@^0.17.0: version "0.17.7" resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" @@ -11376,11 +11364,6 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" -shallowequal@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" - integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -11753,22 +11736,6 @@ style-value-types@5.1.2: hey-listen "^1.0.8" tslib "2.4.0" -styled-components@5.3.5: - version "5.3.5" - resolved "https://registry.npmjs.org/styled-components/-/styled-components-5.3.5.tgz#a750a398d01f1ca73af16a241dec3da6deae5ec4" - integrity sha512-ndETJ9RKaaL6q41B69WudeqLzOpY1A/ET/glXkNZ2T7dPjPqpPCXXQjDFYZWwNnE5co0wX+gTCqx9mfxTmSIPg== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/traverse" "^7.4.5" - "@emotion/is-prop-valid" "^1.1.0" - "@emotion/stylis" "^0.8.4" - "@emotion/unitless" "^0.7.4" - babel-plugin-styled-components ">= 1.12.0" - css-to-react-native "^3.0.0" - hoist-non-react-statics "^3.0.0" - shallowequal "^1.1.0" - supports-color "^5.5.0" - styled-jsx@5.0.4: version "5.0.4" resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz#5b1bd0b9ab44caae3dd1361295559706e044aa53" @@ -11784,7 +11751,7 @@ supports-color@^2.0.0: resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== -supports-color@^5.3.0, supports-color@^5.5.0: +supports-color@^5.3.0: version "5.5.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== @@ -12351,13 +12318,6 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -warning@^4.0.3: - version "4.0.3" - resolved "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" - integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w== - dependencies: - loose-envify "^1.0.0" - wasm-ast-types@^0.9.0: version "0.9.0" resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.9.0.tgz#d0f15f669286d3bc32340f9017d6bdbe2bd8c9d8" @@ -12532,13 +12492,6 @@ ws@7.5.3: resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== -ws@^6.2.0: - version "6.2.2" - resolved "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" - integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== - dependencies: - async-limiter "~1.0.0" - ws@^7: version "7.5.9" resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" From 8b9872848687126b38dbdf1a9b2f9221f4aef04e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 09:11:12 -0500 Subject: [PATCH 077/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0 - @cosmonauts/connect-chain-with-telescope@0.2.0 - @cosmonauts/connect-chain@0.2.0 - @cosmonauts/connect-multi-chain@0.2.0 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 8 files changed, 36 insertions(+), 4 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index 139740528..e6bc3a5db 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9...@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.8...@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9) (2022-09-11) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 0f757f9a4..a54623f13 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.1.9", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 7279c5d5d..5fdbceca1 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.1.9...@cosmonauts/connect-chain-with-telescope@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + ## 0.1.9 (2022-09-11) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 8a27e282e..ea16cdaa4 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.1.9", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 537e7267c..8251f4c50 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index a15a81cbc..ba1e615b8 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.1.10", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index fda489df9..010de6a5c 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.10...@cosmonauts/connect-multi-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.9...@cosmonauts/connect-multi-chain@0.1.10) (2022-09-11) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e6df66f16..256ec77bf 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.1.10", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", From 047f337523debf3bbc769325d714cc49d40aeff1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:43:54 -0500 Subject: [PATCH 078/262] updates --- examples/telescope-with-contracts/README.md | 41 +- .../telescope-with-contracts/package.json | 12 +- examples/telescope/README.md | 41 +- examples/telescope/package.json | 12 +- package.json | 9 +- templates/connect-chain/README.md | 41 +- templates/connect-chain/package.json | 10 +- templates/connect-multi-chain/README.md | 41 +- templates/connect-multi-chain/package.json | 12 +- yarn.lock | 1165 +++++++---------- 10 files changed, 659 insertions(+), 725 deletions(-) diff --git a/examples/telescope-with-contracts/README.md b/examples/telescope-with-contracts/README.md index b91761247..c27bf699a 100644 --- a/examples/telescope-with-contracts/README.md +++ b/examples/telescope-with-contracts/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). ## Getting Started @@ -14,11 +14,44 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. +## Learn More -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. +### Chain Registry -## Learn More +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js To learn more about Next.js, take a look at the following resources: diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index a54623f13..e3ae96d33 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -10,17 +10,17 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chakra-ui/icons": "^2.0.8", - "@chakra-ui/react": "^2.2.8", + "@chakra-ui/icons": "^2.0.10", + "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", "@cosmos-kit/react": "^0.14.0", "@cosmos-kit/types": "^0.11.0", - "@emotion/react": "11.10.0", - "@emotion/styled": "11.10.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", "@osmonauts/helpers": "^0.6.0", "@osmonauts/lcd": "^0.6.0", - "framer-motion": "7.2.1", + "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", @@ -28,7 +28,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.19.0", + "@osmonauts/telescope": "0.30.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/telescope/README.md b/examples/telescope/README.md index b91761247..c27bf699a 100644 --- a/examples/telescope/README.md +++ b/examples/telescope/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). ## Getting Started @@ -14,11 +14,44 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. +## Learn More -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. +### Chain Registry -## Learn More +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js To learn more about Next.js, take a look at the following resources: diff --git a/examples/telescope/package.json b/examples/telescope/package.json index ea16cdaa4..d0cfe2d18 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -10,17 +10,17 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chakra-ui/icons": "^2.0.8", - "@chakra-ui/react": "^2.2.8", + "@chakra-ui/icons": "^2.0.10", + "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", "@cosmos-kit/react": "^0.14.0", "@cosmos-kit/types": "^0.11.0", - "@emotion/react": "11.10.0", - "@emotion/styled": "11.10.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", "@osmonauts/helpers": "^0.6.0", "@osmonauts/lcd": "^0.6.0", - "framer-motion": "7.2.1", + "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", @@ -28,7 +28,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.19.0", + "@osmonauts/telescope": "0.30.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/package.json b/package.json index 8034ee07c..2eaccb688 100644 --- a/package.json +++ b/package.json @@ -35,12 +35,5 @@ "repository": { "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" - }, - "dependencies": { - "@cosmos-kit/config": "0.14.0", - "@cosmos-kit/core": "0.14.0", - "@cosmos-kit/keplr": "0.14.0", - "@cosmos-kit/react": "0.14.0", - "@cosmos-kit/registry": "0.12.6" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/README.md b/templates/connect-chain/README.md index b91761247..c27bf699a 100644 --- a/templates/connect-chain/README.md +++ b/templates/connect-chain/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). ## Getting Started @@ -14,11 +14,44 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. +## Learn More -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. +### Chain Registry -## Learn More +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js To learn more about Next.js, take a look at the following resources: diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index ba1e615b8..5dfffc4f3 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -9,17 +9,17 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "2.0.8", - "@chakra-ui/react": "2.2.8", + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", "@cosmos-kit/config": "0.14.0", "@cosmos-kit/core": "0.14.0", "@cosmos-kit/react": "0.14.0", - "@emotion/react": "11.10.0", - "@emotion/styled": "11.10.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", - "framer-motion": "7.2.1", + "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/templates/connect-multi-chain/README.md b/templates/connect-multi-chain/README.md index b91761247..c27bf699a 100644 --- a/templates/connect-multi-chain/README.md +++ b/templates/connect-multi-chain/README.md @@ -1,4 +1,4 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). ## Getting Started @@ -14,11 +14,44 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. +## Learn More -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. +### Chain Registry -## Learn More +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js To learn more about Next.js, take a look at the following resources: diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 256ec77bf..a9478745d 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -9,19 +9,19 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "2.0.8", - "@chakra-ui/react": "2.2.8", + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", "@cosmos-kit/config": "0.14.0", "@cosmos-kit/core": "0.14.0", "@cosmos-kit/react": "0.14.0", - "@emotion/react": "11.10.0", - "@emotion/styled": "11.10.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", - "chakra-react-select": "4.1.4", + "chakra-react-select": "4.2.2", "fast-fuzzy": "1.11.2", - "framer-motion": "7.2.1", + "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/yarn.lock b/yarn.lock index 203c8b841..aa2ddbfc4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1344,18 +1344,6 @@ "@keplr-wallet/cosmos" "^0.10.3" "@keplr-wallet/crypto" "^0.10.11" -"@chakra-ui/accordion@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.10.tgz#fc8ea40316b4be8872361ff9847fa95e861e401a" - integrity sha512-HD3yJ4LV3S5vMH7DwcwSOPrZ+R6+qzTd7LXYKiUphl1RiUM5h97dbGqpqI+ULjIo0xoOvHTyhvO4ENCRDEYkRg== - dependencies: - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/react-use-controllable-state" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.2" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/accordion@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz#dd260fbecb639748314f440c89052ed45006c585" @@ -1368,14 +1356,26 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/alert@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.8.tgz#91847817f0de3d8f7d516a1a9b7b3a6ea92b3a42" - integrity sha512-giBBbAPlSw33Ua838c35ClCVmmrfn+pvZgA92Ogcz2fwkUFa+Elcq/nyVQ3XHxLzzmPE/vACcS8wXoCXQl4i/Q== +"@chakra-ui/accordion@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz#8e42132ae451a2e4cbd9872a7b921612e5e61073" + integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" + +"@chakra-ui/alert@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" + integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/spinner" "2.0.9" "@chakra-ui/alert@2.0.9": version "2.0.9" @@ -1386,24 +1386,11 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/spinner" "2.0.9" -"@chakra-ui/anatomy@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.4.tgz#73a184a8f69d890c4580eb909a080a915f5b7d55" - integrity sha512-wWLvPrLOCO+nDb+cMcEJ/iDxgWEizRXOlIZCinCzkeEYhcWibINx6wh49uVUyMT/dIs/JTHQ4mUb9IzqJ1RY+g== - "@chakra-ui/anatomy@2.0.6": version "2.0.6" resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== -"@chakra-ui/avatar@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.0.9.tgz#fc384422f433a9ed32fc7e1a1084acd08f83e219" - integrity sha512-kx77nTL9h8451lgAMZkD8UWGoxTjHKzeW55Ls4e7muqj3fl+hS3eNQ1zw66DDEFuYxBVyxZi1YgWFI7/Lgnx4w== - dependencies: - "@chakra-ui/image" "2.0.9" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/avatar@2.1.0": version "2.1.0" resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" @@ -1413,14 +1400,6 @@ "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/breadcrumb@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.8.tgz#02be54d4848a4ba66732a6b6f6802d40df5158d1" - integrity sha512-kTwNZqOMjVLm9smZMGZnkw8zChzwx1ycu8ZGSCYkwJxgO2yeztIcqpa9OjxhTkro6ZS9dels35+FbtyQCtz1wA== - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/breadcrumb@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" @@ -1434,15 +1413,14 @@ resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== -"@chakra-ui/button@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.8.tgz#952956300931ba5cfed428ffc115c94b86988abd" - integrity sha512-sFAdPRZNGeIawEN60V/6Zhqt1DOkFosYeG83QkwkIEgOlTNQsqlxgKV9bGfn6b4Qb2HUoqMzmN+rk8kHKvHOrQ== +"@chakra-ui/button@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz#432051952fa074fd9eee8c4c6c7a6d67895b3ea2" + integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/spinner" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/spinner" "2.0.9" "@chakra-ui/button@2.0.9": version "2.0.9" @@ -1453,18 +1431,6 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" -"@chakra-ui/checkbox@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.7.tgz#0310268629a3ceabcc3255810e8c24dd814d63fe" - integrity sha512-84NyP8hXLrcv1GtgloPcBs4Ypzxa/jSEkWzH69+J/rSDNz/ff23fCSNayMPXadWXmAMSBmsKY8gdpfcJioCf/g== - dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - "@zag-js/focus-visible" "0.1.0" - "@chakra-ui/checkbox@2.1.8": version "2.1.8" resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz#d04a9a65494cf22e8bcfafa161bb7185d92dc13b" @@ -1481,13 +1447,21 @@ "@chakra-ui/visually-hidden" "2.0.9" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/clickable@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.8.tgz#9f8ebdec7511b3693cb3d6468d92abf68e2c8921" - integrity sha512-GlmSYfDd/E09fJKu6iFoKjQHHFDJFaESenVYQ0PuTHaKD9Ro8o70jBRKP9hxTSqZN1QPzgfexmkQKsI9aOuc9g== +"@chakra-ui/checkbox@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz#aeec60c0486e4a0913d9a32708607417c99aefdd" + integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/visually-hidden" "2.0.10" + "@zag-js/focus-visible" "0.1.0" "@chakra-ui/clickable@2.0.9": version "2.0.9" @@ -1496,13 +1470,12 @@ dependencies: "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/close-button@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.8.tgz#c71a55efdd017f7465836a75e616c371ea264111" - integrity sha512-UbsxusyGExuopIircNKbSw0kvA6KbIwd3zvoedzcH91pLlK5na+AThiANDnsQBU0uV78w8I9L0zjlrEcn30uBw== +"@chakra-ui/close-button@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz#30c143682edc13e458270cb3ec2bc80780408830" + integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.10" "@chakra-ui/close-button@2.0.9": version "2.0.9" @@ -1511,14 +1484,6 @@ dependencies: "@chakra-ui/icon" "3.0.9" -"@chakra-ui/color-mode@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.6.tgz#9ea02ecbfbcb9f6a1a3d4c657d491f093615b951" - integrity sha512-YtVoyYAe6kxoNDwB5Sv03Tz0dCIlo1JM57VfhKZTPxXmp3/FFvFe38+N5piNimuAl/xIDp6doFArnco3Bb7qFw== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/color-mode@2.1.7": version "2.1.7" resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz#91c02e82e551c5448081e4934efeddb10bb732c5" @@ -1526,26 +1491,18 @@ dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/control-box@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.8.tgz#23c423a52e0a021d4dd1a546bb7b0beeeec6d4d3" - integrity sha512-Q7JTjJG4uErpVsUAr3271NqafCcpYfgXsyk9RJWgSvGXT6wT3W1znYbRf4+oBeQFCRfGYEI7Dk+JHvI5Owm4CQ== +"@chakra-ui/color-mode@2.1.8": + version "2.1.8" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz#887325572cd64da0a063d063df631c74fd25de2e" + integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/control-box@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== -"@chakra-ui/counter@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.8.tgz#d6faf07f7c865e9289b39945e3ecaa872a1ea7b5" - integrity sha512-23YLtZA4Wh/dMfgumeYwAifYoNvq5y5q59FMSX9PHEffYxxKeN/J081zyvTvsWSY1Dl4t0BXMT2nStuBEKsvWA== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/counter@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" @@ -1554,23 +1511,11 @@ "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/css-reset@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.4.tgz#b0e4abd6d90ddea3823a1351fe43ebd84b7f3f42" - integrity sha512-XJ8AcTHrxwHYqWmMR1b5WUWv+D3i6GKvXiw5M104Azny+VT3ZUTzzo/Yze0mCvudbePf6zMoMrFLIBWGKSj/0Q== - "@chakra-ui/css-reset@2.0.7": version "2.0.7" resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== -"@chakra-ui/descendant@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.7.tgz#53cdb0207eaef799222a1da11a68068b3ff618a7" - integrity sha512-C58jkUox54Y2sFn6H29QXkAyyalTMn3uYeeVNAftzL4SRFE9KyRAbMtOujZHH3GRr2sEykawiXh9BkqWpZuhiA== - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/descendant@3.0.9": version "3.0.9" resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" @@ -1584,14 +1529,25 @@ resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz#3061819ac365f5947423d63a5fcc26a281bbb5c2" integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== -"@chakra-ui/editable@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.8.tgz#133cc3248e6d046cf1fbdfef051a6e07c0f141f1" - integrity sha512-SgwsaRnEgHtlGL+Ie9U5AYn4FjYp22IMvtW6hU4Y0X0A51uvzKyi4NTUXsckogI79c6svvNoRWMTuymiiy9GLw== +"@chakra-ui/dom-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz#5a90916bd64c12fe202b7844052035311669aa2a" + integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== + +"@chakra-ui/editable@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz#1568b2450ed71693c9936054e9b393208b087adf" + integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/editable@2.0.9": version "2.0.9" @@ -1607,11 +1563,6 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/event-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.2.tgz#20e218a23066c958e8e113054333088fc48f19f3" - integrity sha512-v2zZBfbXEN0MooPEunjUUFcLZe+NeFyE0K+hnsW7aVQbDccz2UAsAwgPIMt1EhZ5+Xai4+eyrLB4pfIBwrdPyg== - "@chakra-ui/event-utils@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" @@ -1625,23 +1576,23 @@ "@chakra-ui/dom-utils" "2.0.1" react-focus-lock "^2.9.1" -"@chakra-ui/focus-lock@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.9.tgz#c6a42594a0ec810aff70ccb5246017636694e491" - integrity sha512-6MxgY6WJ46gndt4dAGzjBToxkAVoi4ke/FT998g7mcnl5VXbnO700iPRIks9lo0J9evFI9Afp7lpgElU1AzkHg== +"@chakra-ui/focus-lock@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz#3cd66ef8fb84af819aa6db79f28fbd3d3354a24e" + integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/dom-utils" "2.0.2" react-focus-lock "^2.9.1" -"@chakra-ui/form-control@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.8.tgz#a086ac92bd17622709575abb886c86590db229be" - integrity sha512-W7yDHucTfFUu/PhkL8CVtB/Eph9DrsVGIy4VnYFWmfgIWcum0PaR20gNY3acSICV81pPr5R8veZ20oP1lXesLA== +"@chakra-ui/form-control@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz#b279c51728a53d2e448736a5cdbea6cb53d3e394" + integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/form-control@2.0.9": version "2.0.9" @@ -1653,13 +1604,13 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/hooks@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.8.tgz#8863041b7077104e7cb10cf66ac55f9c84955455" - integrity sha512-GXubX+BRP1UsbPZovgPH/TFBLAOvtHeIGAqdz9SwI2rmQ9UfF2lV9mSN3N2XXj9kKj9akN+pyHwW29UeATojnw== +"@chakra-ui/hooks@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz#43ceef03c2def98c2add470f7056eae268c113e1" + integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-utils" "2.0.7" + "@chakra-ui/utils" "2.0.10" compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" @@ -1673,12 +1624,12 @@ compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" -"@chakra-ui/icon@3.0.8": - version "3.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.8.tgz#728476d657f1fc80c2ee0f39859703a0f3314b68" - integrity sha512-avd6mthBoG9R8cLLAROi/FItgk7wHy1YpeAXOrGdK/U/ECVWZev64RmI1UduKuVOLlSZldXWzFJmLdw6dAMG7A== +"@chakra-ui/icon@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz#1a11b5edb42a8af7aa5b6dec2bf2c6c4df1869fc" + integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/icon@3.0.9": version "3.0.9" @@ -1687,19 +1638,12 @@ dependencies: "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/icons@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.8.tgz#38659b322165566806a8e7a9f1e0d38fa15128f1" - integrity sha512-otX85/laLd9rC26EsaRK/QufXxclfK/JGw3vdxh+sEULFgwuC56tUzmXTwIt8GcDIx/LvZBkDgkXN0sn6Cqmog== - dependencies: - "@chakra-ui/icon" "3.0.8" - -"@chakra-ui/icons@^2.0.8": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.9.tgz#35edcf9c61b8e158a5d03aeda6bd4e756960dfc7" - integrity sha512-6xvV2rC8wATgfnRH+fC9mi0nLcgKjhHKO29lV1pGioVI0yWK0dqc//zjcyBhMMpW5ABnSfig7ujVBf3op/Syzg== +"@chakra-ui/icons@2.0.10", "@chakra-ui/icons@^2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz#61aeb44c913c10e7ff77addc798494e50d66c760" + integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== dependencies: - "@chakra-ui/icon" "3.0.9" + "@chakra-ui/icon" "3.0.10" "@chakra-ui/image@2.0.10": version "2.0.10" @@ -1708,22 +1652,16 @@ dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/image@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.9.tgz#4ace3de5cfcad66bbf7fa87d78c5476d281b8cbe" - integrity sha512-06+Mud+7fkKQok5ukZjea3eVxOL5kIPAjT5bD9LmuuhKXOSJkManx17CRgUjG06JKXUbaJzZfxxKuIzvTdQ/Xw== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/input@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.8.tgz#09a71bdef7b72c64c6216c6c3785e28b2470c60c" - integrity sha512-Cc1bYO2ee36MgTSmlREPrqF3D2Vh/RCbsLRjmwxOlSfitp8A9PkA04Kn7tz2bKrJ9TQsYzRXwioJRrYr7f0jfw== +"@chakra-ui/input@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz#f00466daacd5e1d24aca59f326c8e9d7fcb92919" + integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/input@2.0.9": version "2.0.9" @@ -1736,15 +1674,6 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/layout@2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.5.tgz#f307a23580de6cf04758be8e22fcb9507277186d" - integrity sha512-8qZwqgmY3itr+DfCXCxgEIwdy8GHKgAxojhIo7Exnu7GLHZhCcQ9Le4lVlHW3pK8Wy2wg3dPUX+APoMGkUcBsg== - dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/layout@2.1.6": version "2.1.6" resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz#3dfdd8b3f08d9ff34fc923d44ebe4bc86291b889" @@ -1757,31 +1686,28 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/layout@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz#a273a220a1001d145ca96f3c88edad90ed0f7ec8" + integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" + "@chakra-ui/lazy-utils@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== -"@chakra-ui/live-region@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.8.tgz#e5b2985e119952b937fd4122d2a156b897e5d061" - integrity sha512-1BPolMacPoxLVtE8hB+cdxN60CVVu1wzOOUnwJhJtKbfeXNPAsnV2U31/uR2kZ8sX0YPVtQpsB8xzTITD50JaQ== - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/live-region@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== -"@chakra-ui/media-query@3.2.4": - version "3.2.4" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.4.tgz#696c4eefa779b95540d32d8fdf8b4980044e048c" - integrity sha512-Woke/7peH/4aceMytVhhMyhlhada51eCzCOSKfLmhgD4lYqZ9wncigor5phIdeTAYyNClbQL3Cm4E6yEWJxqyg== - dependencies: - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/media-query@3.2.5": version "3.2.5" resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz#c0b9dc4bc6245d9abddcbe17693e40bf5dfe34f8" @@ -1790,18 +1716,13 @@ "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" -"@chakra-ui/menu@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.10.tgz#e400678013a5dfae034af7dd1273e8c5ff9bc456" - integrity sha512-qqdST2un/9qhO4mGec5XMwyexH+Xf3wFGHSrG7O+J0q2yaAGfLyq6tvuisLx2KHQiByiFQ2rs9ozfBkTfL+OYg== +"@chakra-ui/media-query@3.2.6": + version "3.2.6" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz#7de9e1ddac367bcdda4e70e3bb7293bb2322e36f" + integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== dependencies: - "@chakra-ui/clickable" "2.0.8" - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/react-env" "2.0.9" "@chakra-ui/menu@2.0.13": version "2.0.13" @@ -1823,20 +1744,25 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/modal@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.6.tgz#af1b2cb900ff20f6c73c5161406e3ae8703ff991" - integrity sha512-uIQtD/XCS4YfPIsqBfMusDeUCSWvbT46wUcbyTNduldN5SXLOwqPZMGwX5BbyOMHUM6rRjc6RW4AeSj0rawo9w== - dependencies: - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/focus-lock" "2.0.9" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" - aria-hidden "^1.1.1" - react-remove-scroll "^2.5.4" +"@chakra-ui/menu@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz#14891c7d3000acacf3213696cd1ed3b6c84029e2" + integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== + dependencies: + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-outside-click" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/transition" "2.0.9" "@chakra-ui/modal@2.1.7": version "2.1.7" @@ -1853,17 +1779,37 @@ aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" -"@chakra-ui/number-input@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.8.tgz#8f5eb7c1a1d38fe47f1165bf4d4176219c5daad4" - integrity sha512-sltl67JFaYOxpibj/ioOEj4zLf/sF5rWKEH7Rl7XuPFJMJDNW/vjlFCDO31s1aHXtwAeKN5O0zCyC2snPXvXKA== +"@chakra-ui/modal@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz#99517a51446179489137ddfaf91809b392530f59" + integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== dependencies: - "@chakra-ui/counter" "2.0.8" - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/focus-lock" "2.0.11" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz#8dfaf8387a4fac17a1e29703002afd1910608e0f" + integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== + dependencies: + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-interval" "2.0.1" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/number-input@2.0.9": version "2.0.9" @@ -1882,11 +1828,6 @@ "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/react-use-update-effect" "2.0.3" -"@chakra-ui/number-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.2.tgz#8e871cb68e2ae98e6f482eb2f7e45652fa7f3582" - integrity sha512-tAD8lWjmmCd8UfiELA7dlylEH7kv3KxQmLqLQifklH7hBaFIzJDc5PmZbmgMDG2UEzoBgGWepsSsjrD1HLATVw== - "@chakra-ui/number-utils@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" @@ -1897,16 +1838,6 @@ resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== -"@chakra-ui/pin-input@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.10.tgz#9a9ccdba3cf5e1e9ad08944264f119aa19bbecf1" - integrity sha512-AO8lZdhdM9iv5iVZuTPj6ODPUpYsVR/bAbym95BJy1lmXHW0ZD7mtHeJQn0mdfz+j8ckjczg2kCG1ajNjVpjpA== - dependencies: - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/pin-input@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz#1ff927fdc61433a7b9b4421ceafad5674299e91a" @@ -1918,16 +1849,16 @@ "@chakra-ui/react-use-controllable-state" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/popover@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.8.tgz#d14386e5654fad27913b897ec22228170bab53f1" - integrity sha512-Qe2HMXGYXS+XEYtJg3Gd8JrX32fygjTDyhXHJeuBXZFqogayvdY+q7V7KfFRvTcER4cQeHDiZy6ZjVdoNH7Cmg== +"@chakra-ui/pin-input@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz#2f2c168066eaed63a100315202be97a6a1e60271" + integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== dependencies: - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popover@2.0.9": version "2.0.9" @@ -1943,13 +1874,21 @@ "@chakra-ui/react-use-disclosure" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/popper@3.0.6": - version "3.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.6.tgz#2ade67459b22863ec0a879e86ddf91d26951185a" - integrity sha512-QKRzSgOsp2nmL8HXcN5DVujqV+TsECnKfMwzI++SgkIJUL5wj8w6VNqDJ4iym84Sgqw5qNVoOss1ZpgGKAriOg== +"@chakra-ui/popover@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz#a67cf5a10167eeb130ddf5362929e7d5d1df0958" + integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@popperjs/core" "^2.9.3" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popper@3.0.7": version "3.0.7" @@ -1960,15 +1899,6 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.8.tgz#73c72ef9c462af49e03c75c98da24d738d647393" - integrity sha512-ReBfeln+9n00Si/jOXJ0eO8+fOlmwqxGm5rIe0YnuLFxjTAIWH9Z9ZVZFzn458r2wbV9Q0TdeX/wj4fTeL+Urg== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/portal@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" @@ -1984,26 +1914,6 @@ dependencies: "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/progress@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.9.tgz#3588d352cf9b60c1dde18ee570115d844f2add79" - integrity sha512-e6RaNMU+/Jk8OsKna7eE/oTGm3/Rvzy3LsbVhQxP9aYhl29+JrqT2DKVUvfQq/8gSDTyatRcKwYTPjQQdzd2DQ== - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/theme-tools" "2.0.9" - "@chakra-ui/utils" "2.0.8" - -"@chakra-ui/provider@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.13.tgz#fc9e3e30c65d6f139d8822e301f1a328266e7f22" - integrity sha512-AOZv4XEVip1wBmH7zcKQ5jWi7B1jCZm9Lt+6K9OUPozehTAuGGoPfFutr7JnO9zgGjovYFHk0GzNHE7MYOVEGg== - dependencies: - "@chakra-ui/css-reset" "2.0.4" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/provider@2.0.16": version "2.0.16" resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz#a4afdb4c8f2050beb5d2b61db8971a145481c6f2" @@ -2015,6 +1925,17 @@ "@chakra-ui/system" "2.2.9" "@chakra-ui/utils" "2.0.9" +"@chakra-ui/provider@2.0.18": + version "2.0.18" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz#b98f06975752eab21df797d0bd7e75dffb7c9230" + integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== + dependencies: + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/utils" "2.0.10" + "@chakra-ui/radio@2.0.10": version "2.0.10" resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz#82eb02313efafc460da3030d011bfd434b1ecabc" @@ -2026,16 +1947,15 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/radio@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.9.tgz#ce5e04dc5916263b737ea7657f2f695498981efc" - integrity sha512-6MQZLRF0oex2wgfMSeovIi0bXtr64DR3+2RK2WKeHz7JJssB+bGbhjmZCD6TFvqb9ItYizwTj+v270ZA+Ee8BA== - dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" +"@chakra-ui/radio@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz#e52142140c2aa00fa758f504cef1c83513be0b2d" + integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== + dependencies: + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@zag-js/focus-visible" "0.1.0" "@chakra-ui/react-children-utils@2.0.1": @@ -2043,31 +1963,16 @@ resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== -"@chakra-ui/react-context@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.2.tgz#2d55e148c772b4866beef6fd36016dfe7ced1753" - integrity sha512-xi9bGjE0eT7odgfuQHizO+AsXB6m9OOpsUKQiSgN7WTe6e10gkpeVbXtx7wF4RbaneMcmdrxkjAyj9rkuJMpkA== - "@chakra-ui/react-context@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== -"@chakra-ui/react-env@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.8.tgz#3d2fd11cdc04297addfa568a97f4bae6c00d5b6b" - integrity sha512-DmRxJkw2mhk26FRKqvTk1RnZJK4mPc+dMWELo2oY2e2i2QvzvHw0ggvkAeyibyorsIJ2fFlrhHzPxMiNwL1SkA== - "@chakra-ui/react-env@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== -"@chakra-ui/react-types@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.2.tgz#65ed7bc49e1fc9cc248a9f10ae255b049d1c4626" - integrity sha512-UWm4yg+RUz93wSF6TSGuFd3okefYghpWgZ2qCjpZHWiHFyw2qjXrJ9Iuz0H583ulsugdKPk72B0e6TOrmS4CLg== - "@chakra-ui/react-types@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" @@ -2081,23 +1986,19 @@ "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" -"@chakra-ui/react-use-callback-ref@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.2.tgz#51ce43d3946589d0e29cb160757c4704731b287d" - integrity sha512-PWQk0pNkIUjLmj55yBNEIKfGd9dRXWIqeyXQtXnvBTUVxJ+r/KgtVP3hOx40Zn2mjB52jBJPF2CZO6lteLOJ9g== +"@chakra-ui/react-use-animation-state@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz#ac95e7fc9a0175eb6f423cca2c039101ff6996e2" + integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== + dependencies: + "@chakra-ui/dom-utils" "2.0.2" + "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-callback-ref@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== -"@chakra-ui/react-use-controllable-state@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.2.tgz#18fa7e60e43a23cc806e0d1b1dae8e4f369bf7aa" - integrity sha512-JdVLIlh7V8kJ0h8Fl9pbf82PeSpkMrNuaQJKPOUgye3X0tjbD1JGeTegYvNsccxrZl09pSwy/LU+lkY0u2Gl2g== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.2" - "@chakra-ui/react-use-controllable-state@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz#7aa3f9c038513763332f6754e69ece90aed55a9c" @@ -2105,6 +2006,13 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-controllable-state@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz#aa1fb1b238a8297edc750726e52968540b323897" + integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-disclosure@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz#c27bfc7e3af0728423b9e2def1e1665d0ba941bb" @@ -2112,6 +2020,13 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-disclosure@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz#5f1fb8de00992277c8e2f751fb14970a587c8a38" + integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-event-listener@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz#11b5409c4442888e7981d5288c9e781acdacd685" @@ -2128,6 +2043,15 @@ "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" +"@chakra-ui/react-use-focus-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz#d6b1f6360c402b4b018c579981631a0c7c5f61a8" + integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== + dependencies: + "@chakra-ui/dom-utils" "2.0.2" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/react-use-focus-on-pointer-down@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz#be0668ff844dec8bbfe978d6eaff50534f290c48" @@ -2135,6 +2059,13 @@ dependencies: "@chakra-ui/react-use-event-listener" "2.0.3" +"@chakra-ui/react-use-focus-on-pointer-down@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz#f02abb3cecad408677b5f4d2a9faf805537a2cfd" + integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-interval@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz#a8f5dbf83607f5dc53022aa2a766fdcb09d8a081" @@ -2142,11 +2073,6 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-use-merge-refs@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.2.tgz#debc1011aea9e530484de8159823f55f9488be3f" - integrity sha512-SX4wv/YxMSif6Az3p8SKVgTUHZZmK77QbnFMAZcxVr4arQnRoEAwsjpsNrcvvc7mxczSM/BJB+lQ5YO8ePAu3g== - "@chakra-ui/react-use-merge-refs@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" @@ -2159,14 +2085,6 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-use-pan-event@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.2.tgz#c4aa0ed3cead00def34ce10a371ac1f7ce03a373" - integrity sha512-DGPyDPT7HP/UJ7d7xt3VdYUo7Wa3MpyYkMimGbWGTpP/Dl0z7mYfz75G6MoKDzTDGdZkT/D7mx68zYI1LZsAog== - dependencies: - "@chakra-ui/event-utils" "2.0.2" - framesync "5.3.0" - "@chakra-ui/react-use-pan-event@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" @@ -2185,13 +2103,6 @@ resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== -"@chakra-ui/react-use-size@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.2.tgz#7697a990d624458106e311f714dd0f0ad0a83985" - integrity sha512-KYyu5sCdWNEC8Qo6MTmnpJQsThLAwLbdW11IrrW0yhieJgOy6xnwIiEyULKxtygHQzaNbhayYV9p4vJuN2BpeQ== - dependencies: - "@zag-js/element-size" "0.1.0" - "@chakra-ui/react-use-size@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" @@ -2206,23 +2117,11 @@ dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" -"@chakra-ui/react-use-update-effect@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.2.tgz#317ef0602127c7a91e0473d0c0671d0b550b35c1" - integrity sha512-loDqsfIdg8X8ClzScIBY0fp2oVN3YOgad50koHRPVi2pVkkpaZKAcpjazm2MRZDPp22SvFgXrl39DL2xZN579Q== - "@chakra-ui/react-use-update-effect@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== -"@chakra-ui/react-utils@2.0.5": - version "2.0.5" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.5.tgz#b094cca3919e7ca408e11a89160b826f4fcd6f47" - integrity sha512-YTkDtyqZcI+l6O41og8P0Gd2z4MUKUQWu10VrcSF26izJg3lphU04VlPf+fB4wFJ97OGJBgtNxKuToe4Aqzg6A== - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/react-utils@2.0.6": version "2.0.6" resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz#bb471ce2bff724b99563685962145a2cc56bf61d" @@ -2230,60 +2129,67 @@ dependencies: "@chakra-ui/utils" "2.0.9" -"@chakra-ui/react@2.2.8": - version "2.2.8" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.2.8.tgz#7dcc976c655d1f6ec2f71efb4cfd076ea940e6e8" - integrity sha512-yLHoE6NpDu3UORtv/drzYl+d/ngjLkEPuUggJd6gu+kv0lHLAmTkoNL8yNGPxuY/StiQEyCSjwFXmknklRr+BA== - dependencies: - "@chakra-ui/accordion" "2.0.10" - "@chakra-ui/alert" "2.0.8" - "@chakra-ui/avatar" "2.0.9" - "@chakra-ui/breadcrumb" "2.0.8" - "@chakra-ui/button" "2.0.8" - "@chakra-ui/checkbox" "2.1.7" - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/control-box" "2.0.8" - "@chakra-ui/counter" "2.0.8" - "@chakra-ui/css-reset" "2.0.4" - "@chakra-ui/editable" "2.0.8" - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/image" "2.0.9" - "@chakra-ui/input" "2.0.8" - "@chakra-ui/layout" "2.1.5" - "@chakra-ui/live-region" "2.0.8" - "@chakra-ui/media-query" "3.2.4" - "@chakra-ui/menu" "2.0.10" - "@chakra-ui/modal" "2.1.6" - "@chakra-ui/number-input" "2.0.8" - "@chakra-ui/pin-input" "2.0.10" - "@chakra-ui/popover" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/progress" "2.0.9" - "@chakra-ui/provider" "2.0.13" - "@chakra-ui/radio" "2.0.9" - "@chakra-ui/react-env" "2.0.8" - "@chakra-ui/select" "2.0.8" - "@chakra-ui/skeleton" "2.0.13" - "@chakra-ui/slider" "2.0.8" - "@chakra-ui/spinner" "2.0.8" - "@chakra-ui/stat" "2.0.8" - "@chakra-ui/switch" "2.0.10" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/table" "2.0.8" - "@chakra-ui/tabs" "2.0.10" - "@chakra-ui/tag" "2.0.8" - "@chakra-ui/textarea" "2.0.9" - "@chakra-ui/theme" "2.1.7" - "@chakra-ui/toast" "3.0.6" - "@chakra-ui/tooltip" "2.0.9" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/react@^2.2.8", "@chakra-ui/react@^2.2.9": +"@chakra-ui/react-utils@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz#5be991b6ba858fe481a3d454165f499f7f8de082" + integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== + dependencies: + "@chakra-ui/utils" "2.0.10" + +"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz#e3f7364e155b805fcaf1ef65c5e6e2db4f840563" + integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== + dependencies: + "@chakra-ui/accordion" "2.1.0" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/avatar" "2.1.0" + "@chakra-ui/breadcrumb" "2.0.9" + "@chakra-ui/button" "2.0.10" + "@chakra-ui/checkbox" "2.2.0" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/control-box" "2.0.9" + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/editable" "2.0.11" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/hooks" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/input" "2.0.10" + "@chakra-ui/layout" "2.1.7" + "@chakra-ui/live-region" "2.0.9" + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/menu" "2.1.0" + "@chakra-ui/modal" "2.2.0" + "@chakra-ui/number-input" "2.0.11" + "@chakra-ui/pin-input" "2.0.13" + "@chakra-ui/popover" "2.1.0" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/progress" "2.0.10" + "@chakra-ui/provider" "2.0.18" + "@chakra-ui/radio" "2.0.11" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/select" "2.0.11" + "@chakra-ui/skeleton" "2.0.16" + "@chakra-ui/slider" "2.0.11" + "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/stat" "2.0.10" + "@chakra-ui/switch" "2.0.12" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/table" "2.0.10" + "@chakra-ui/tabs" "2.1.2" + "@chakra-ui/tag" "2.0.10" + "@chakra-ui/textarea" "2.0.11" + "@chakra-ui/theme" "2.1.12" + "@chakra-ui/toast" "3.0.12" + "@chakra-ui/tooltip" "2.1.0" + "@chakra-ui/transition" "2.0.9" + "@chakra-ui/utils" "2.0.10" + "@chakra-ui/visually-hidden" "2.0.10" + +"@chakra-ui/react@^2.2.9": version "2.3.2" resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz#4ffcd5b79d21d14e240efc37adab7831f2aac37f" integrity sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg== @@ -2343,29 +2249,18 @@ dependencies: "@chakra-ui/form-control" "2.0.9" -"@chakra-ui/select@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.8.tgz#f66ae7d4b7a459a79a4707df5f82a22fa1b4d41b" - integrity sha512-GiKw/t1+1hoa4K2BTJ5rJX/1iQ01QkSf3PfFuv+SOlhbb8XSwqd3tVFtmlVVLt+nOcICpcEFaTcBsuOdTvjRKw== +"@chakra-ui/select@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz#d4234e89f531f7a185be8c6cad372de3dc6d7391" + integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.10" "@chakra-ui/shared-utils@2.0.1": version "2.0.1" resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== -"@chakra-ui/skeleton@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.13.tgz#4d3c434498865298608cc3a8e455102582ce6969" - integrity sha512-YZeWZIVt6TKtrF3jQ9j6zcXN3VUmHiXGF2CkLLsJlbB4HocMCp7/eWsSy3BXQ7rrZvaZJhN36GUP3W3t1rHZCA== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/media-query" "3.2.4" - "@chakra-ui/system" "2.2.6" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/skeleton@2.0.15": version "2.0.15" resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz#fd41383bf84319e47c6ea1f4f3138f5f5e0dabca" @@ -2374,6 +2269,14 @@ "@chakra-ui/media-query" "3.2.5" "@chakra-ui/react-use-previous" "2.0.1" +"@chakra-ui/skeleton@2.0.16": + version "2.0.16" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz#7a62c7e11ab2d3a2bb68c0829e0a00c138a9692d" + integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== + dependencies: + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/react-use-previous" "2.0.1" + "@chakra-ui/slider@2.0.10": version "2.0.10" resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz#ffd7376d4a7fd9aa02e72b148e3ad4739c880498" @@ -2389,43 +2292,33 @@ "@chakra-ui/react-use-size" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" -"@chakra-ui/slider@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.8.tgz#d7a3fe1c33701e8562dbdbe76f2becc82fbdbd52" - integrity sha512-nUHQ1YcRDfELMR6n9tfko3Rn82j9JCEtSDy3F+HumUeg0YXYXaaHLijsUpRRUa8ew8jwVuooAcUWW1MYCYekhQ== - dependencies: - "@chakra-ui/number-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/react-types" "2.0.2" - "@chakra-ui/react-use-callback-ref" "2.0.2" - "@chakra-ui/react-use-controllable-state" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.2" - "@chakra-ui/react-use-pan-event" "2.0.2" - "@chakra-ui/react-use-size" "2.0.2" - "@chakra-ui/react-use-update-effect" "2.0.2" - -"@chakra-ui/spinner@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.8.tgz#5f9778b0d7041be66d3d0a3d8520f2b807df9090" - integrity sha512-hRyUO6/qiP2qqeZIOJuPn7furrA1+72/mX7BfWuEifVgCcMJuGayHyFvhVwiEfnRZXLHMgZ8bxK2rycGr5xAYA== - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" +"@chakra-ui/slider@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz#ff90a8883d52af9d7f5362714b8e838a05d4d133" + integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== + dependencies: + "@chakra-ui/number-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-pan-event" "2.0.4" + "@chakra-ui/react-use-size" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/spinner@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== -"@chakra-ui/stat@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.8.tgz#8b762501ab4f686f6ee9d580975f8d695f375620" - integrity sha512-aKMxI/qpSXCAMS8TD8kHhT3cTJDvKT75K1r+azZDb3NHOMjIzjl2pFI7XgPmgizz/BS8ADByLipK9bEV97GIsw== +"@chakra-ui/stat@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz#5bf995b8e96c9c12ee63ce511626eb89f432a667" + integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" "@chakra-ui/stat@2.0.9": version "2.0.9" @@ -2435,14 +2328,6 @@ "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/styled-system@2.2.7": - version "2.2.7" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.2.7.tgz#ad9bb2c6810b9b33c6a6360e035dd49fd8d790df" - integrity sha512-8kG4ItrQ26IB9B6+yfrslPUvOGxquaOCBg15mofsEIlwFHhBtcJ26hu2ByDGG3LRGHLStbcJcSPeg+sebkGiPw== - dependencies: - "@chakra-ui/utils" "2.0.8" - csstype "^3.0.11" - "@chakra-ui/styled-system@2.3.1": version "2.3.1" resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz#abf7c4e1638aaa9d92e7cf9acde17785703d166e" @@ -2451,13 +2336,13 @@ csstype "^3.0.11" lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.10.tgz#dca19667174e3cf5e9b5dae62b2376c3704c70db" - integrity sha512-t7MYTuVWYovlgw1uh1aSzIwn5vwpyysBYMc71kx6rrC11aHwZWs5+agH05agUmYRXHXHSwDdWUjtbp4OoFctUA== +"@chakra-ui/styled-system@2.3.3": + version "2.3.3" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz#6152739f817b6c6786a53c8388ea7ab5b338e7cc" + integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== dependencies: - "@chakra-ui/checkbox" "2.1.7" - "@chakra-ui/utils" "2.0.8" + csstype "^3.0.11" + lodash.mergewith "4.6.2" "@chakra-ui/switch@2.0.11": version "2.0.11" @@ -2466,15 +2351,22 @@ dependencies: "@chakra-ui/checkbox" "2.1.8" -"@chakra-ui/system@2.2.6": - version "2.2.6" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.6.tgz#09824efd43d7568a5a34e40908bf2ad0e0f8d27f" - integrity sha512-I5q38ObqCrGXmLsxkc56F+1RONbpIIFJvOgq1upXMPOJWHqkzmdqaoJtpANhoE2LvB0GH/gRniiWN17WBCsOIQ== +"@chakra-ui/switch@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz#372333fab885fb9f46caa95ead37be85cf6b3913" + integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== dependencies: - "@chakra-ui/color-mode" "2.1.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/styled-system" "2.2.7" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/checkbox" "2.2.0" + +"@chakra-ui/system@2.2.11": + version "2.2.11" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz#88f600589d2349489b09e448e974bbaf93e173c9" + integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== + dependencies: + "@chakra-ui/color-mode" "2.1.8" + "@chakra-ui/react-utils" "2.0.7" + "@chakra-ui/styled-system" "2.3.3" + "@chakra-ui/utils" "2.0.10" react-fast-compare "3.2.0" "@chakra-ui/system@2.2.9": @@ -2488,13 +2380,12 @@ "@chakra-ui/utils" "2.0.9" react-fast-compare "3.2.0" -"@chakra-ui/table@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.8.tgz#41e576da052fac545814fda06129b84e2dca6a03" - integrity sha512-V2fOKUsZT/wJp1GfYVf8jl1em8grCmp45hBhwEZu6U4579ihzddxFvg++YLNCzFJn2NOocm5gGMQGO/HLq4mkQ== +"@chakra-ui/table@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" + integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" "@chakra-ui/table@2.0.9": version "2.0.9" @@ -2503,17 +2394,6 @@ dependencies: "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/tabs@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.0.10.tgz#3d1c2b32d8fb3a59422a44882415a784add9c80c" - integrity sha512-+qrpQjb8l8nbPjG9WhnANgXFFhsKEUKX+lkVqdB8gpOalPHo67d0vBBpgwBK31sY0X0JNErBT2td9lWuyrQsIg== - dependencies: - "@chakra-ui/clickable" "2.0.8" - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/tabs@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz#0fb540782c2e4122b63a203fc1f04eff850f2c0e" @@ -2528,14 +2408,27 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/tag@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.8.tgz#0c15e457f470eb8088d0bad584eb6dd942889e4c" - integrity sha512-TfAehlhq+peluH2xsj5KS43IggFRHX8m7FyewdRuacL6ZOCQW3qDtJpTP/hF2maqavIgdzdWN87Y6gbtnS4Kqw== +"@chakra-ui/tabs@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" + integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/tag@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" + integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" "@chakra-ui/tag@2.0.9": version "2.0.9" @@ -2552,13 +2445,12 @@ dependencies: "@chakra-ui/form-control" "2.0.9" -"@chakra-ui/textarea@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.9.tgz#d7c95d54a93d8c986fa11a6716a29ca0610bd1b9" - integrity sha512-5GSxqb5UPvMu/EUHnkUUJd8msYXR6v325RM1Bhf+xSCmt/JX6ImKi0KF36tHQLhWWbqZUBukF9A3INy2VdSMgA== +"@chakra-ui/textarea@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" + integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.10" "@chakra-ui/theme-tools@2.0.11": version "2.0.11" @@ -2568,15 +2460,6 @@ "@chakra-ui/anatomy" "2.0.6" "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/theme-tools@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.9.tgz#6e997899774595c8e425cd8e7d1e52253116b5d6" - integrity sha512-mdLONajdFWaXzEKvuod7ikioWTrAIAlZnXt55XfBOU3htJgRls49y/DltirN8+EUz6RlZ7oZfCYNf6aRMJH+rg== - dependencies: - "@chakra-ui/anatomy" "2.0.4" - "@chakra-ui/utils" "2.0.8" - "@ctrl/tinycolor" "^3.4.0" - "@chakra-ui/theme@2.1.11": version "2.1.11" resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz#cdfca3e84fc6913c5bb1a06e24b7cbb1246e127e" @@ -2585,14 +2468,13 @@ "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" -"@chakra-ui/theme@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.7.tgz#0d6d70c05bdba98901c66f928a2f8b6b067c9a07" - integrity sha512-p4UQPPTHhgAS0ieMS5xUnMY6rHizdvM7vLUrpz+bljvfaR+TX4aHFnUihAfEtaCmqMUxR2tgkRcvAFtlbTAezA== +"@chakra-ui/theme@2.1.12": + version "2.1.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz#bb4ffe38849a5f7163895f74a08a06aa916fe020" + integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== dependencies: - "@chakra-ui/anatomy" "2.0.4" - "@chakra-ui/theme-tools" "2.0.9" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/anatomy" "2.0.6" + "@chakra-ui/theme-tools" "2.0.11" "@chakra-ui/toast@3.0.10": version "3.0.10" @@ -2606,19 +2488,17 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/theme" "2.1.11" -"@chakra-ui/toast@3.0.6": - version "3.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.6.tgz#c9a879bbf27876d40fd63e3d0132f4133cedfbd8" - integrity sha512-4e3RmpUxyvb0tt1pmezh/IiKEKMqrjsfMPNCMCJzN7gY/yuZAH1OrsqbgpZZ2WSzA8bAjlrpl8J0rXNlj9qHaQ== +"@chakra-ui/toast@3.0.12": + version "3.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" + integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== dependencies: - "@chakra-ui/alert" "2.0.8" - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/theme" "2.1.7" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-use-timeout" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/theme" "2.1.12" "@chakra-ui/tooltip@2.0.10": version "2.0.10" @@ -2632,34 +2512,27 @@ "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/tooltip@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.9.tgz#3ca28d4c3677d21c5cb3af3c7ede947bf9fa8578" - integrity sha512-woJl145UdVPrkIn/oSLTNZxtQnhgSINo6RXZlC4gA2Y+4DTdEd1whvVFhpVATXbnyTwLR44yytByTLuglt/z8A== - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/transition@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.8.tgz#74ba4c644928b94128eb2bde3be073c11388454d" - integrity sha512-XBXYvynMkY1hju4BV8R+URo3OszmqeE4JwMtKond3QH9x6nMOJItGbdJKCng2hHIS2hm+jXMqFAVc29PZEiqeA== +"@chakra-ui/tooltip@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" + integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition@2.0.9": version "2.0.9" resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== -"@chakra-ui/utils@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.8.tgz#b75e1cd22479eaa64410bd42849e638138971b20" - integrity sha512-5xSzOYSYbJEh+myY1mC6rOX+mzM/F2fiDqAw0zybHhfUab4zPHCO5RlgYVJ0L1DlGZUogVgRP6szH1xoBCcWQg== +"@chakra-ui/utils@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz#72e870f53753fd2d8c5f9258c76e8d59959bc1ce" + integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" @@ -2676,12 +2549,10 @@ framesync "5.3.0" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.8": - version "2.0.8" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.8.tgz#45c94106dce46dfaee589238750355434b002679" - integrity sha512-BIFtNYNgYWAa40csnAqi+NCiMorD0JQg9pm43pmbgqgiX2GJTR3UYnx7JI9bOiQc6HQZnlV0/opJFDdWpQlHvg== - dependencies: - "@chakra-ui/utils" "2.0.8" +"@chakra-ui/visually-hidden@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz#3e85e9fb48ccc419392cb0d97bd8fd45bb37aa1c" + integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== "@chakra-ui/visually-hidden@2.0.9": version "2.0.9" @@ -3050,16 +2921,7 @@ "@chain-registry/types" "^0.7.0" chain-registry "^0.10.0" -"@cosmos-kit/core@^0.12.3": - version "0.12.3" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.12.3.tgz#5c25684c258bd73a031c4c72b3bd85c26dcb8aa7" - integrity sha512-SKCehNW73y+AhEbBkIJrGP1c3uy4gKi/YmI1nxC/Fmx/5uWyoj3fvkz7VpkE1l9ZGU0OEY9qE7dSshMAOpiDGg== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - chain-registry "^0.10.0" - -"@cosmos-kit/keplr@0.14.0", "@cosmos-kit/keplr@^0.14.0": +"@cosmos-kit/keplr@^0.14.0": version "0.14.0" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.14.0.tgz#78f4911a9b78fc4e193b567d5b8a83ad2b6bed67" integrity sha512-RowKEGJE1Kk5WNmnZVXPE1ysAdrAfRHNbJZtef+2jPzpshkpT17w/hUaqeGQYZ5r+hjVST3b476BIkqbUr3Czw== @@ -3079,26 +2941,6 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/keplr@^0.12.3": - version "0.12.7" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.12.7.tgz#1c59295537469e4dc7fe5b15cfb825d3bf2c1e2e" - integrity sha512-5Q9Lb+XY2/nd4/HWZ1095k1T0SImQi0pRPYjfxnANqD7GqMnBzMW0qj/QPZcKOP32fk6hWXgT4U7LzP8cZpCSg== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.12.3" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.10" - "@keplr-wallet/wc-client" "^0.10.20" - "@walletconnect/client" "1.8.0" - "@walletconnect/node" "1.0.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - "@cosmos-kit/react@0.14.0", "@cosmos-kit/react@^0.14.0": version "0.14.0" resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.14.0.tgz#6788a0ec221a01f02301300d6fb98955a83c9419" @@ -3114,15 +2956,6 @@ qrcode.react "^3.1.0" react-icons "^4.4.0" -"@cosmos-kit/registry@0.12.6": - version "0.12.6" - resolved "https://registry.npmjs.org/@cosmos-kit/registry/-/registry-0.12.6.tgz#2b6f475aed5dd9fc6e062f8529f7f70f3f3abaa8" - integrity sha512-7uu1k7JTMP2uRsBrWbvy64Ubj6Gc5/k/g366ib9dfo6zl47HxfZJl+Y0ultyOBtHMtxrOt7+bT605yeBa/nUNQ== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@cosmos-kit/keplr" "^0.12.3" - "@cosmos-kit/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz#7af1e09ecea5ea6213b409b8a2af7c05fc91bb2c" @@ -3132,10 +2965,10 @@ "@walletconnect/client" "1.7.8" "@walletconnect/types" "1.7.8" -"@cosmwasm/ts-codegen@0.13.1": - version "0.13.1" - resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.13.1.tgz#eeb5918171e2bf635e55870ed8492aa88e47d5f3" - integrity sha512-q56nncxid1TwlgvOcszal4MUSiqVQw6iR4AOOKekwqbPEOdO9oPcGi5OBmo1Z/hPcB3kTP6p8L/0Md499zU3RA== +"@cosmwasm/ts-codegen@0.16.1": + version "0.16.1" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz#7199ca61f08e6a4ab7b264f32095585d2a4ba22a" + integrity sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w== dependencies: "@babel/core" "7.18.10" "@babel/generator" "7.18.12" @@ -3163,7 +2996,7 @@ parse-package-name "1.0.0" rimraf "3.0.2" shelljs "0.8.5" - wasm-ast-types "^0.9.0" + wasm-ast-types "^0.11.1" "@ctrl/tinycolor@^3.4.0": version "3.4.1" @@ -3228,20 +3061,7 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@11.10.0": - version "11.10.0" - resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.0.tgz#53c577f063f26493f68a05188fb87528d912ff2e" - integrity sha512-K6z9zlHxxBXwN8TcpwBKcEsBsOw4JWCCmR+BeeOWgqp8GIU1yA2Odd41bwdAAr0ssbQrbJbVnndvv7oiv1bZeQ== - dependencies: - "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.10.0" - "@emotion/cache" "^11.10.0" - "@emotion/serialize" "^1.1.0" - "@emotion/utils" "^1.2.0" - "@emotion/weak-memoize" "^0.3.0" - hoist-non-react-statics "^3.3.1" - -"@emotion/react@^11", "@emotion/react@^11.8.1": +"@emotion/react@11.10.4", "@emotion/react@^11", "@emotion/react@^11.8.1": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz#9dc6bccbda5d70ff68fdb204746c0e8b13a79199" integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== @@ -3271,18 +3091,7 @@ resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== -"@emotion/styled@11.10.0": - version "11.10.0" - resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.0.tgz#c19484dab4206ae46727c07efb4316423dd21312" - integrity sha512-V9oaEH6V4KePeQpgUE83i8ht+4Ri3E8Djp/ZPJ4DQlqWhSKITvgzlR3/YQE2hdfP4Jw3qVRkANJz01LLqK9/TA== - dependencies: - "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.10.0" - "@emotion/is-prop-valid" "^1.2.0" - "@emotion/serialize" "^1.1.0" - "@emotion/utils" "^1.2.0" - -"@emotion/styled@^11": +"@emotion/styled@11.10.4", "@emotion/styled@^11": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz#e93f84a4d54003c2acbde178c3f97b421fce1cd4" integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== @@ -4814,16 +4623,16 @@ dependencies: "@octokit/openapi-types" "^12.11.0" -"@osmonauts/ast@^0.15.0": - version "0.15.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.15.0.tgz#2f117949b833d323e5ca7832c9d4382bf962b0b0" - integrity sha512-55VKOv/1P4HRPnsgTpFIMIOY45HLpDXdMA3t4yzonupmOXfwghQb2Tmw68HGo7xwwYQy7DkpZXhcYrset8Ufmw== +"@osmonauts/ast@^0.26.0": + version "0.26.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz#e6a83349879e567106d0afc9bd0ff63cab6c2dd7" + integrity sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.12.0" - "@osmonauts/types" "^0.10.0" - "@osmonauts/utils" "^0.3.13" + "@osmonauts/proto-parser" "^0.19.0" + "@osmonauts/types" "^0.15.0" + "@osmonauts/utils" "^0.4.0" case "1.6.3" dotty "0.1.2" @@ -4849,22 +4658,22 @@ "@babel/runtime" "^7.18.9" axios "0.27.2" -"@osmonauts/proto-parser@^0.12.0": - version "0.12.0" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.12.0.tgz#191763a5b0d790acddc0426b910070263fe3bbcb" - integrity sha512-xxRNmErNk3Tuvv6fFxwgVgRXCa3hKwS0sGpOkPQHNxfafHTI0heUyfT4htf0XIfK32afc8I6ugqHSF7wnLWMRA== +"@osmonauts/proto-parser@^0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz#e32d2611984d317379f41e01f74b311f46f784b1" + integrity sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g== dependencies: "@babel/runtime" "^7.18.9" - "@osmonauts/types" "^0.10.0" - "@pyramation/protobufjs" "6.11.3" + "@osmonauts/types" "^0.15.0" + "@pyramation/protobufjs" "6.11.4" dotty "0.1.2" glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.19.0": - version "0.19.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.19.0.tgz#e18d82becf0fcff34f361ccafccaafa852e2bb15" - integrity sha512-yqeDekvZw+7ldCIq2OXs/NbiVCSeeHpCleY9z++5PE2kXOMBPigxq4kdWbXPir5IPBUTtJ9IxGyUFciLffN0GQ== +"@osmonauts/telescope@0.30.0": + version "0.30.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz#9f7e2e10714fe9ecf7dfea90f6178168cc6f50b1" + integrity sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4878,11 +4687,11 @@ "@babel/runtime" "^7.18.9" "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" - "@cosmwasm/ts-codegen" "0.13.1" - "@osmonauts/ast" "^0.15.0" - "@osmonauts/proto-parser" "^0.12.0" - "@osmonauts/types" "^0.10.0" - "@osmonauts/utils" "^0.3.13" + "@cosmwasm/ts-codegen" "0.16.1" + "@osmonauts/ast" "^0.26.0" + "@osmonauts/proto-parser" "^0.19.0" + "@osmonauts/types" "^0.15.0" + "@osmonauts/utils" "^0.4.0" "@types/parse-package-name" "0.1.0" case "1.6.3" dargs "7.0.0" @@ -4899,19 +4708,19 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/types@^0.10.0": - version "0.10.0" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.10.0.tgz#99873eedf1b41864459747f24853925e589ca7c3" - integrity sha512-SNgspDv9+rQX8tkmx/bxiE2LqSRPb7lE0BHG1iFR1VpaGSz3WArv4/ke8+Ey3mAdppuYl3ETRpSDf+PFm9oKjA== +"@osmonauts/types@^0.15.0": + version "0.15.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz#847282f303ab7729c9ec2513532749f687247c68" + integrity sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ== dependencies: "@babel/runtime" "^7.18.9" - "@osmonauts/utils" "^0.3.13" + "@osmonauts/utils" "^0.4.0" case "1.6.3" -"@osmonauts/utils@^0.3.13": - version "0.3.13" - resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.3.13.tgz#ec520833aefcd3eb7487f2b045772bb12ed8939b" - integrity sha512-mVQH7yRY8gidRC/OBzMvYuaeHd7mYHq4CMyVmcvqTFZZi7ZWlcKplR81r+GsDTInW1EN/acuBKmpOw8gG2PeKQ== +"@osmonauts/utils@^0.4.0": + version "0.4.0" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz#817c17a91803b2e74446e9356c0c2ad024d26145" + integrity sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ== dependencies: "@babel/runtime" "^7.18.9" @@ -5079,10 +4888,10 @@ mz "^2.7.0" prettier "^2.6.2" -"@pyramation/protobufjs@6.11.3": - version "6.11.3" - resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.3.tgz#208bd1ba985c915cb55e0c7d1e20a477683ec531" - integrity sha512-CxqX5IUZsrsZXidzCjw25iDcX0EghDk3I/riK3KXzgxguxHHwEPlFMOPUMnsnFtK95+PQ3WPzZFfslsvCcLveg== +"@pyramation/protobufjs@6.11.4": + version "6.11.4" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz#3d7f39181e6d922597b23db96d88fbcda5d24a0b" + integrity sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -6325,10 +6134,10 @@ chain-registry@^0.10.0: "@babel/runtime" "^7.18.3" "@chain-registry/types" "^0.7.1" -chakra-react-select@4.1.4: - version "4.1.4" - resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.1.4.tgz#27ad5cd2953dd93a7fb594454e73bd386304ebb3" - integrity sha512-zhLIGWxVZWYZv/EOxzrnVfIT+JmNdBgFEbRYR2H7I7ViLcR434KRV5Wz9zZByUmhVxID34WMOInDZYeLXAMkNg== +chakra-react-select@4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz#f523779fd123b5e42894d1038e5687ba913464a9" + integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== dependencies: react-select "^5.4.0" @@ -7749,10 +7558,10 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" -framer-motion@7.2.1: - version "7.2.1" - resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.2.1.tgz#0db5992ece791cb58357787ef9c29dd76281720d" - integrity sha512-bt2ZqqGpPsW6UojYUa5poWQJu3sDr4Dp3IZsdVBYdKUJ8p+9PxOk1fYRAT8lTGGmaC5HFoKrbDXQeKWGAKZz9g== +framer-motion@7.3.6: + version "7.3.6" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz#aff993b9b7064c8d13cf0afa118d24e07713570a" + integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== dependencies: "@motionone/dom" "10.13.1" framesync "6.1.2" @@ -12318,10 +12127,10 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -wasm-ast-types@^0.9.0: - version "0.9.0" - resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.9.0.tgz#d0f15f669286d3bc32340f9017d6bdbe2bd8c9d8" - integrity sha512-C/dzYTSa/2Zxhzup2G5mEi1Vt2/rGI7MHTNgRwB4F++7Uh7cY+U3rVwD/Syanyj9RZss4kcW/ZczwC0Rg9ab6A== +wasm-ast-types@^0.11.1: + version "0.11.3" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz#d91b6456e11b3cb23d77b34e5156d13d2ead3a22" + integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.10" From ce49e5535a4a7099b01e3c94c0626761432eafc0 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:44:05 -0500 Subject: [PATCH 079/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0 - @cosmonauts/connect-chain-with-telescope@0.3.0 - @cosmonauts/connect-chain@0.3.0 - @cosmonauts/connect-multi-chain@0.3.0 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 8 files changed, 36 insertions(+), 4 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index e6bc3a5db..fb556e495 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.1.9...@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index e3ae96d33..cbf3864f2 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.2.0", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 5fdbceca1..df546999d 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.2.0...@cosmonauts/connect-chain-with-telescope@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.1.9...@cosmonauts/connect-chain-with-telescope@0.2.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index d0cfe2d18..9e4e77606 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.2.0", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 8251f4c50..a8a38868e 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 5dfffc4f3..b9a1b5952 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.2.0", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 010de6a5c..91cd8bc5c 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.2.0...@cosmonauts/connect-multi-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.1.10...@cosmonauts/connect-multi-chain@0.2.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index a9478745d..849017372 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.2.0", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev", From 573e0ac8906a5d25314a58e73e5c7c28f53ebafb Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:44:27 -0500 Subject: [PATCH 080/262] yarn --- yarn.lock | 19384 +++++++++++++++++++++++++++------------------------- 1 file changed, 10172 insertions(+), 9212 deletions(-) diff --git a/yarn.lock b/yarn.lock index aa2ddbfc4..ecb63242a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,66 +3,57 @@ "@ampproject/remapping@^2.1.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" - integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + "integrity" "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==" + "resolved" "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" + "version" "2.2.0" dependencies: "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" "@babel/cli@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz#4211adfc45ffa7d4f3cee6b60bb92e9fe68fe56a" - integrity sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw== + "integrity" "sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw==" + "resolved" "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz" + "version" "7.18.10" dependencies: "@jridgewell/trace-mapping" "^0.3.8" - 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" + "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" + "chokidar" "^3.4.0" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + "integrity" "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==" + "resolved" "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1", "@babel/compat-data@^7.9.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz#72d647b4ff6a4f82878d184613353af1dd0290f9" - integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== +"@babel/code-frame@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/highlight" "^7.10.4" -"@babel/core@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz#39ad504991d77f1f3da91be0b8b949a5bc466fb8" - integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== +"@babel/compat-data@^7.10.4", "@babel/compat-data@^7.9.6": + "version" "7.11.0" dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.10" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-module-transforms" "^7.18.9" - "@babel/helpers" "^7.18.9" - "@babel/parser" "^7.18.10" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.18.10" - "@babel/types" "^7.18.10" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" + "browserslist" "^4.12.0" + "invariant" "^2.2.4" + "semver" "^5.5.0" -"@babel/core@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz#9be8c44512751b05094a4d3ab05fc53a47ce00ac" - integrity sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": + "integrity" "sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg==" + "resolved" "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" + "version" "7.19.1" + +"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.12.0", "@babel/core@^7.13.0", "@babel/core@^7.4.0-0", "@babel/core@^7.8.0", "@babel/core@>=7.0.0-beta.0 <8", "@babel/core@>=7.11.0", "@babel/core@7.18.13": + "integrity" "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz" + "version" "7.18.13" dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" @@ -74,38 +65,37 @@ "@babel/template" "^7.18.10" "@babel/traverse" "^7.18.13" "@babel/types" "^7.18.13" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.2" + "json5" "^2.2.1" + "semver" "^6.3.0" -"@babel/core@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" - integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== +"@babel/core@^7.11.6": + "integrity" "sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" + "version" "7.19.1" dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.9.6" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helpers" "^7.9.6" - "@babel/parser" "^7.9.6" - "@babel/template" "^7.8.6" - "@babel/traverse" "^7.9.6" - "@babel/types" "^7.9.6" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.1" - json5 "^2.1.2" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - -"@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz#c8fa615c5e88e272564ace3d42fbc8b17bfeb22b" - integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.1" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.2" + "json5" "^2.2.1" + "semver" "^6.3.0" + +"@babel/core@^7.12.3": + "integrity" "sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" + "version" "7.19.1" dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" @@ -117,77 +107,174 @@ "@babel/template" "^7.18.10" "@babel/traverse" "^7.19.1" "@babel/types" "^7.19.0" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.2" + "json5" "^2.2.1" + "semver" "^6.3.0" + +"@babel/core@7.18.10": + "integrity" "sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" + "version" "7.18.10" + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.10" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.2" + "json5" "^2.2.1" + "semver" "^6.3.0" + +"@babel/core@7.9.6": + "integrity" "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz" + "version" "7.9.6" + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.9.6" + "@babel/helper-module-transforms" "^7.9.0" + "@babel/helpers" "^7.9.6" + "@babel/parser" "^7.9.6" + "@babel/template" "^7.8.6" + "@babel/traverse" "^7.9.6" + "@babel/types" "^7.9.6" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.1" + "json5" "^2.1.2" + "lodash" "^4.17.13" + "resolve" "^1.3.2" + "semver" "^5.4.1" + "source-map" "^0.5.0" "@babel/eslint-parser@^7.18.2", "@babel/eslint-parser@^7.5.4": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz#4f68f6b0825489e00a24b41b6a1ae35414ecd2f4" - integrity sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ== + "integrity" "sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==" + "resolved" "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz" + "version" "7.19.1" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" - eslint-visitor-keys "^2.1.0" - semver "^6.3.0" + "eslint-visitor-keys" "^2.1.0" + "semver" "^6.3.0" + +"@babel/generator@^7.11.5": + "version" "7.11.6" + dependencies: + "@babel/types" "^7.11.5" + "jsesc" "^2.5.1" + "source-map" "^0.5.0" + +"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.9.6": + "integrity" "sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==" + "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" + "version" "7.19.0" + dependencies: + "@babel/types" "^7.19.0" + "@jridgewell/gen-mapping" "^0.3.2" + "jsesc" "^2.5.1" + +"@babel/generator@^7.18.6", "@babel/generator@^7.7.2": + "version" "7.18.9" + dependencies: + "@babel/types" "^7.18.9" + "@jridgewell/gen-mapping" "^0.3.2" + "jsesc" "^2.5.1" + +"@babel/generator@^7.18.9": + "version" "7.18.9" + dependencies: + "@babel/types" "^7.18.9" + "@jridgewell/gen-mapping" "^0.3.2" + "jsesc" "^2.5.1" + +"@babel/generator@^7.8.4": + "version" "7.8.4" + dependencies: + "@babel/types" "^7.8.3" + "jsesc" "^2.5.1" + "lodash" "^4.17.13" + "source-map" "^0.5.0" "@babel/generator@7.18.12": - version "7.18.12" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz#fa58daa303757bd6f5e4bbca91b342040463d9f4" - integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== + "integrity" "sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==" + "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz" + "version" "7.18.12" dependencies: "@babel/types" "^7.18.10" "@jridgewell/gen-mapping" "^0.3.2" - jsesc "^2.5.1" + "jsesc" "^2.5.1" "@babel/generator@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz#59550cbb9ae79b8def15587bdfbaa388c4abf212" - integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== + "integrity" "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==" + "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz" + "version" "7.18.13" dependencies: "@babel/types" "^7.18.13" "@jridgewell/gen-mapping" "^0.3.2" - jsesc "^2.5.1" + "jsesc" "^2.5.1" -"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2", "@babel/generator@^7.9.6": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz#785596c06425e59334df2ccee63ab166b738419a" - integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== +"@babel/helper-annotate-as-pure@^7.10.4": + "version" "7.10.4" dependencies: - "@babel/types" "^7.19.0" - "@jridgewell/gen-mapping" "^0.3.2" - jsesc "^2.5.1" + "@babel/types" "^7.10.4" "@babel/helper-annotate-as-pure@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" - integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== + "integrity" "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==" + "resolved" "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-annotate-as-pure@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + "@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" - integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== + "integrity" "sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==" + "resolved" "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.9.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz#7f630911d83b408b76fe584831c98e5395d7a17c" - integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-explode-assignable-expression" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.6", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": + "integrity" "sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg==" + "resolved" "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/compat-data" "^7.19.1" "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.21.3" - semver "^6.3.0" + "browserslist" "^4.21.3" + "semver" "^6.3.0" + +"@babel/helper-compilation-targets@^7.9.6": + "version" "7.10.4" + dependencies: + "@babel/compat-data" "^7.10.4" + "browserslist" "^4.12.0" + "invariant" "^2.2.4" + "levenary" "^1.1.1" + "semver" "^5.5.0" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0", "@babel/helper-create-class-features-plugin@^7.8.3": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz#bfd6904620df4e46470bae4850d66be1054c404b" - integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0": + "integrity" "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==" + "resolved" "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" @@ -197,71 +284,163 @@ "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz#7976aca61c0984202baca73d84e2337a5424a41b" - integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== +"@babel/helper-create-class-features-plugin@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-member-expression-to-functions" "^7.8.3" + "@babel/helper-optimise-call-expression" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-replace-supers" "^7.8.3" + "@babel/helper-split-export-declaration" "^7.8.3" + +"@babel/helper-create-regexp-features-plugin@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-regex" "^7.10.4" + "regexpu-core" "^4.7.0" + +"@babel/helper-create-regexp-features-plugin@^7.18.6": + "integrity" "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==" + "resolved" "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" + "version" "7.19.0" + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "regexpu-core" "^5.1.0" + +"@babel/helper-create-regexp-features-plugin@^7.19.0": + "integrity" "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==" + "resolved" "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" - regexpu-core "^5.1.0" + "regexpu-core" "^5.1.0" + +"@babel/helper-create-regexp-features-plugin@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-regex" "^7.8.3" + "regexpu-core" "^4.6.0" "@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": - version "0.3.3" - resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" - integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + "integrity" "sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==" + "resolved" "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz" + "version" "0.3.3" dependencies: "@babel/helper-compilation-targets" "^7.17.7" "@babel/helper-plugin-utils" "^7.16.7" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - semver "^6.1.2" + "debug" "^4.1.1" + "lodash.debounce" "^4.0.8" + "resolve" "^1.14.2" + "semver" "^6.1.2" "@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + "integrity" "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==" + "resolved" "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + "version" "7.18.9" "@babel/helper-explode-assignable-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" - integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== + "integrity" "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==" + "resolved" "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-explode-assignable-expression@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-function-name@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/helper-get-function-arity" "^7.10.4" + "@babel/template" "^7.10.4" + "@babel/types" "^7.10.4" + "@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" - integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== + "integrity" "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==" + "resolved" "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/template" "^7.18.10" "@babel/types" "^7.19.0" +"@babel/helper-function-name@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-get-function-arity" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-get-function-arity@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + +"@babel/helper-hoist-variables@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/types" "^7.10.4" + "@babel/helper-hoist-variables@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" - integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + "integrity" "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==" + "resolved" "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-member-expression-to-functions@^7.10.4": + "version" "7.11.0" + dependencies: + "@babel/types" "^7.11.0" + "@babel/helper-member-expression-to-functions@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz#1531661e8375af843ad37ac692c132841e2fd815" - integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== + "integrity" "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==" + "resolved" "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/types" "^7.18.9" -"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== +"@babel/helper-member-expression-to-functions@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + +"@babel/helper-module-imports@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/types" "^7.10.4" + +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": + "integrity" "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==" + "resolved" "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-module-imports@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + +"@babel/helper-module-transforms@^7.10.4", "@babel/helper-module-transforms@^7.10.5": + "version" "7.11.0" + dependencies: + "@babel/helper-module-imports" "^7.10.4" + "@babel/helper-replace-supers" "^7.10.4" + "@babel/helper-simple-access" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/template" "^7.10.4" + "@babel/types" "^7.11.0" + "lodash" "^4.17.19" + "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0", "@babel/helper-module-transforms@^7.9.0": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz#309b230f04e22c58c6a2c0c0c7e50b216d350c30" - integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== + "integrity" "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==" + "resolved" "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" @@ -272,32 +451,74 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/helper-optimise-call-expression@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/types" "^7.10.4" + "@babel/helper-optimise-call-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" - integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== + "integrity" "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==" + "resolved" "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-optimise-call-expression@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" - integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + "integrity" "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==" + "resolved" "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + "version" "7.19.0" -"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" - integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== +"@babel/helper-regex@^7.10.4": + "version" "7.10.5" + dependencies: + "lodash" "^4.17.19" + +"@babel/helper-remap-async-to-generator@^7.18.6": + "integrity" "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==" + "resolved" "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-wrap-function" "^7.18.9" "@babel/types" "^7.18.9" +"@babel/helper-remap-async-to-generator@^7.18.9": + "integrity" "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==" + "resolved" "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" + "version" "7.18.9" + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-wrap-function" "^7.18.9" + "@babel/types" "^7.18.9" + +"@babel/helper-remap-async-to-generator@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-annotate-as-pure" "^7.8.3" + "@babel/helper-wrap-function" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-replace-supers@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/helper-member-expression-to-functions" "^7.10.4" + "@babel/helper-optimise-call-expression" "^7.10.4" + "@babel/traverse" "^7.10.4" + "@babel/types" "^7.10.4" + "@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.18.9": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz#e1592a9b4b368aa6bdb8784a711e0bcbf0612b78" - integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== + "integrity" "sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw==" + "resolved" "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-member-expression-to-functions" "^7.18.9" @@ -305,211 +526,318 @@ "@babel/traverse" "^7.19.1" "@babel/types" "^7.19.0" -"@babel/helper-simple-access@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz#d6d8f51f4ac2978068df934b569f08f29788c7ea" - integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g== +"@babel/helper-replace-supers@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-member-expression-to-functions" "^7.8.3" + "@babel/helper-optimise-call-expression" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helper-simple-access@^7.10.4", "@babel/helper-simple-access@^7.18.6": + "integrity" "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==" + "resolved" "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-skip-transparent-expression-wrappers@^7.11.0": + "version" "7.11.0" + dependencies: + "@babel/types" "^7.11.0" + "@babel/helper-skip-transparent-expression-wrappers@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz#778d87b3a758d90b471e7b9918f34a9a02eb5818" - integrity sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw== + "integrity" "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==" + "resolved" "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/types" "^7.18.9" +"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0": + "version" "7.11.0" + dependencies: + "@babel/types" "^7.11.0" + "@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + "integrity" "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==" + "resolved" "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" +"@babel/helper-split-export-declaration@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/types" "^7.8.3" + "@babel/helper-string-parser@^7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" - integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== + "integrity" "sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==" + "resolved" "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" + "version" "7.18.10" + +"@babel/helper-validator-identifier@^7.10.4": + "version" "7.10.4" "@babel/helper-validator-identifier@^7.18.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + "integrity" "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" + "resolved" "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + "version" "7.19.1" "@babel/helper-validator-option@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" - integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + "integrity" "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==" + "resolved" "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" + "version" "7.18.6" "@babel/helper-wrap-function@^7.18.9": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz#89f18335cff1152373222f76a4b37799636ae8b1" - integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== + "integrity" "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==" + "resolved" "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-function-name" "^7.19.0" "@babel/template" "^7.18.10" "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" -"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz#f30534657faf246ae96551d88dd31e9d1fa1fc18" - integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== +"@babel/helper-wrap-function@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-function-name" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/traverse" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/helpers@^7.18.6", "@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": + "integrity" "sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==" + "resolved" "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/template" "^7.18.10" "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/highlight@^7.10.4": + "version" "7.10.4" + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + "chalk" "^2.0.0" + "js-tokens" "^4.0.0" + "@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + "integrity" "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==" + "resolved" "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" + "chalk" "^2.0.0" + "js-tokens" "^4.0.0" + +"@babel/highlight@^7.8.3": + "version" "7.8.3" + dependencies: + "chalk" "^2.0.0" + "esutils" "^2.0.2" + "js-tokens" "^4.0.0" "@babel/node@^7.18.10": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/node/-/node-7.19.1.tgz#10237a480dfd9f84dee9b68ba5cb991de4b2e0fb" - integrity sha512-gfxJNrawPso6kx7SwKfAdX1rEzVc09speJLFKrdxuZXGlve92pjbB3nJVmuwrxNN4+jvytj2zvliNXuW6uaSOw== + "integrity" "sha512-gfxJNrawPso6kx7SwKfAdX1rEzVc09speJLFKrdxuZXGlve92pjbB3nJVmuwrxNN4+jvytj2zvliNXuW6uaSOw==" + "resolved" "https://registry.npmjs.org/@babel/node/-/node-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/register" "^7.18.9" - commander "^4.0.1" - core-js "^3.25.1" - node-environment-flags "^1.0.5" - regenerator-runtime "^0.13.4" - v8flags "^3.1.1" + "commander" "^4.0.1" + "core-js" "^3.25.1" + "node-environment-flags" "^1.0.5" + "regenerator-runtime" "^0.13.4" + "v8flags" "^3.1.1" -"@babel/parser@7.18.11": - version "7.18.11" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" - integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.18.10", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": + "integrity" "sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" + "version" "7.19.1" + +"@babel/parser@^7.10.4", "@babel/parser@^7.11.5": + "version" "7.11.5" + +"@babel/parser@^7.14.7": + "version" "7.18.9" + +"@babel/parser@^7.18.11": + "integrity" "sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" + "version" "7.19.1" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz#6f6d6c2e621aad19a92544cc217ed13f1aac5b4c" - integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== +"@babel/parser@^7.18.6", "@babel/parser@^7.18.9": + "version" "7.18.9" + +"@babel/parser@^7.8.3", "@babel/parser@^7.8.4": + "version" "7.8.4" + +"@babel/parser@7.18.11": + "integrity" "sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" + "version" "7.18.11" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" - integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== + "integrity" "sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz#a11af19aa373d68d561f08e0a57242350ed0ec50" - integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== + "integrity" "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.8.3": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz#34f6f5174b688529342288cd264f80c9ea9fb4a7" - integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== +"@babel/plugin-proposal-async-generator-functions@^7.18.10": + "integrity" "sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" - integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== +"@babel/plugin-proposal-async-generator-functions@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/plugin-syntax-async-generators" "^7.8.0" + +"@babel/plugin-proposal-class-properties@^7.18.6", "@babel/plugin-proposal-class-properties@7.18.6": + "integrity" "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-class-properties@7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz#5e06654af5cd04b608915aada9b2a6788004464e" - integrity sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA== + "integrity" "sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-create-class-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-proposal-class-static-block@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz#8aa81d403ab72d3962fc06c26e222dacfc9b9020" - integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== + "integrity" "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-dynamic-import@^7.18.6", "@babel/plugin-proposal-dynamic-import@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" - integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== +"@babel/plugin-proposal-dynamic-import@^7.18.6": + "integrity" "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-dynamic-import" "^7.8.3" +"@babel/plugin-proposal-dynamic-import@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-proposal-export-default-from@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206" - integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== + "integrity" "sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-default-from" "^7.18.6" "@babel/plugin-proposal-export-default-from@7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz#4cb7c2fdeaed490b60d9bfd3dc8a20f81f9c2e7c" - integrity sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA== + "integrity" "sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-export-default-from" "^7.8.3" "@babel/plugin-proposal-export-namespace-from@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" - integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== + "integrity" "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.18.6", "@babel/plugin-proposal-json-strings@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" - integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== +"@babel/plugin-proposal-json-strings@^7.18.6": + "integrity" "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-json-strings" "^7.8.3" +"@babel/plugin-proposal-json-strings@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-proposal-logical-assignment-operators@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz#8148cbb350483bf6220af06fa6db3690e14b2e23" - integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== + "integrity" "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" - integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + "integrity" "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@^7.18.6", "@babel/plugin-proposal-numeric-separator@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" - integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + +"@babel/plugin-proposal-numeric-separator@^7.18.6": + "integrity" "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.9.6": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" - integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== +"@babel/plugin-proposal-numeric-separator@^7.8.3": + "version" "7.10.4" + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@7.18.9": + "integrity" "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" + "version" "7.18.9" + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.18.8" + +"@babel/plugin-proposal-object-rest-spread@^7.9.6": + "integrity" "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/compat-data" "^7.18.8" "@babel/helper-compilation-targets" "^7.18.9" @@ -518,231 +846,332 @@ "@babel/plugin-transform-parameters" "^7.18.8" "@babel/plugin-proposal-object-rest-spread@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" - integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== + "integrity" "sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz" + "version" "7.9.6" dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.9.5" -"@babel/plugin-proposal-optional-catch-binding@^7.18.6", "@babel/plugin-proposal-optional-catch-binding@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" - integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + "integrity" "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.9.0": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz#e8e8fe0723f2563960e4bf5e9690933691915993" - integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== +"@babel/plugin-proposal-optional-catch-binding@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" + +"@babel/plugin-proposal-optional-chaining@^7.18.9": + "integrity" "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-syntax-optional-chaining" "^7.8.3" +"@babel/plugin-proposal-optional-chaining@^7.9.0": + "version" "7.11.0" + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-skip-transparent-expression-wrappers" "^7.11.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-proposal-private-methods@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" - integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== + "integrity" "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-private-property-in-object@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz#a64137b232f0aca3733a67eb1a144c192389c503" - integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw== + "integrity" "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" - integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + "integrity" "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==" + "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== +"@babel/plugin-proposal-unicode-property-regex@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-async-generators@^7.8.0": + "integrity" "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + "version" "7.8.4" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-async-generators@^7.8.4": + "integrity" "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + "version" "7.8.4" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-bigint@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + "integrity" "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": - version "7.12.13" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + "integrity" "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + "version" "7.12.13" dependencies: "@babel/helper-plugin-utils" "^7.12.13" "@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + "integrity" "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" + "version" "7.14.5" dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" - integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== +"@babel/plugin-syntax-dynamic-import@^7.8.0": + "integrity" "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.18.6", "@babel/plugin-syntax-export-default-from@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz#8df076711a4818c4ce4f23e61d622b0ba2ff84bc" - integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== +"@babel/plugin-syntax-dynamic-import@^7.8.3": + "integrity" "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-default-from@^7.18.6": + "integrity" "sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-syntax-export-default-from@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" - integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + "integrity" "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-import-assertions@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz#cd6190500a4fa2fe31990a963ffab4b63e4505e4" - integrity sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ== + "integrity" "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-import-meta@^7.8.3": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + "integrity" "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== +"@babel/plugin-syntax-json-strings@^7.8.0": + "integrity" "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-json-strings@^7.8.3": + "integrity" "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.17.12", "@babel/plugin-syntax-jsx@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" - integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== +"@babel/plugin-syntax-jsx@^7.17.12": + "integrity" "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-syntax-jsx@^7.18.6": + "version" "7.10.4" + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@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.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + "integrity" "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": + "integrity" "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + "integrity" "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": - version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + "integrity" "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + "integrity" "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== +"@babel/plugin-syntax-optional-catch-binding@^7.8.0": + "integrity" "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + "integrity" "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.0": + "integrity" "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + "integrity" "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + "integrity" "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" + "version" "7.14.5" dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.14.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + "integrity" "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + "version" "7.14.5" dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.18.6", "@babel/plugin-syntax-typescript@^7.7.2": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz#1c09cd25795c7c2b8a4ba9ae49394576d4133285" - integrity sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA== +"@babel/plugin-syntax-typescript@^7.18.6": + "integrity" "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" + "version" "7.18.6" + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-typescript@^7.7.2": + "integrity" "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.18.6", "@babel/plugin-transform-arrow-functions@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz#19063fcf8771ec7b31d742339dac62433d0611fe" - integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== +"@babel/plugin-transform-arrow-functions@^7.18.6": + "integrity" "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-async-to-generator@^7.18.6", "@babel/plugin-transform-async-to-generator@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz#ccda3d1ab9d5ced5265fdb13f1882d5476c71615" - integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== +"@babel/plugin-transform-arrow-functions@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-async-to-generator@^7.18.6": + "integrity" "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-module-imports" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-remap-async-to-generator" "^7.18.6" -"@babel/plugin-transform-block-scoped-functions@^7.18.6", "@babel/plugin-transform-block-scoped-functions@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" - integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== +"@babel/plugin-transform-async-to-generator@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-module-imports" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-remap-async-to-generator" "^7.8.3" + +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + "integrity" "sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.18.9", "@babel/plugin-transform-block-scoping@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz#f9b7e018ac3f373c81452d6ada8bd5a18928926d" - integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== +"@babel/plugin-transform-block-scoped-functions@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-block-scoping@^7.18.9": + "integrity" "sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.9.5": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz#0e61ec257fba409c41372175e7c1e606dc79bb20" - integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== +"@babel/plugin-transform-block-scoping@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "lodash" "^4.17.13" + +"@babel/plugin-transform-classes@^7.18.9": + "integrity" "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-compilation-targets" "^7.19.0" @@ -752,182 +1181,292 @@ "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" - globals "^11.1.0" + "globals" "^11.1.0" + +"@babel/plugin-transform-classes@^7.9.5": + "version" "7.10.4" + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-define-map" "^7.10.4" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-optimise-call-expression" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-replace-supers" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.10.4" + "globals" "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.18.9", "@babel/plugin-transform-computed-properties@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz#2357a8224d402dad623caf6259b611e56aec746e" - integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== +"@babel/plugin-transform-computed-properties@^7.18.9": + "integrity" "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.18.9", "@babel/plugin-transform-destructuring@^7.9.5": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz#9e03bc4a94475d62b7f4114938e6c5c33372cbf5" - integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== +"@babel/plugin-transform-computed-properties@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-destructuring@^7.18.9": + "integrity" "sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" + "version" "7.18.13" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" - integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== +"@babel/plugin-transform-destructuring@^7.9.5": + "version" "7.10.4" + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + "integrity" "sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-duplicate-keys@^7.18.9", "@babel/plugin-transform-duplicate-keys@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" - integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== +"@babel/plugin-transform-dotall-regex@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-duplicate-keys@^7.18.9": + "integrity" "sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-exponentiation-operator@^7.18.6", "@babel/plugin-transform-exponentiation-operator@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" - integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== +"@babel/plugin-transform-duplicate-keys@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + "integrity" "sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-for-of@^7.18.8", "@babel/plugin-transform-for-of@^7.9.0": - version "7.18.8" - resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" - integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== +"@babel/plugin-transform-exponentiation-operator@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-for-of@^7.18.8": + "integrity" "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" + "version" "7.18.8" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-function-name@^7.18.9", "@babel/plugin-transform-function-name@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" - integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== +"@babel/plugin-transform-for-of@^7.9.0": + "version" "7.10.4" + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-function-name@^7.18.9": + "integrity" "sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-compilation-targets" "^7.18.9" "@babel/helper-function-name" "^7.18.9" "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-literals@^7.18.9", "@babel/plugin-transform-literals@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" - integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== +"@babel/plugin-transform-function-name@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-literals@^7.18.9": + "integrity" "sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-member-expression-literals@^7.18.6", "@babel/plugin-transform-member-expression-literals@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" - integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== +"@babel/plugin-transform-literals@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-member-expression-literals@^7.18.6": + "integrity" "sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-amd@^7.18.6", "@babel/plugin-transform-modules-amd@^7.9.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz#8c91f8c5115d2202f277549848874027d7172d21" - integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== +"@babel/plugin-transform-member-expression-literals@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-modules-amd@^7.18.6": + "integrity" "sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" - babel-plugin-dynamic-import-node "^2.3.3" + "babel-plugin-dynamic-import-node" "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.18.6", "@babel/plugin-transform-modules-commonjs@^7.9.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz#afd243afba166cca69892e24a8fd8c9f2ca87883" - integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== +"@babel/plugin-transform-modules-amd@^7.9.6": + "version" "7.10.5" + dependencies: + "@babel/helper-module-transforms" "^7.10.5" + "@babel/helper-plugin-utils" "^7.10.4" + "babel-plugin-dynamic-import-node" "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.18.6": + "integrity" "sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-simple-access" "^7.18.6" - babel-plugin-dynamic-import-node "^2.3.3" + "babel-plugin-dynamic-import-node" "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.9.6": + "version" "7.10.4" + dependencies: + "@babel/helper-module-transforms" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/helper-simple-access" "^7.10.4" + "babel-plugin-dynamic-import-node" "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.9.6": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz#5f20b471284430f02d9c5059d9b9a16d4b085a1f" - integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== +"@babel/plugin-transform-modules-systemjs@^7.18.9": + "integrity" "sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-module-transforms" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-identifier" "^7.18.6" - babel-plugin-dynamic-import-node "^2.3.3" + "babel-plugin-dynamic-import-node" "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.18.6", "@babel/plugin-transform-modules-umd@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" - integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== +"@babel/plugin-transform-modules-systemjs@^7.9.6": + "version" "7.10.5" + dependencies: + "@babel/helper-hoist-variables" "^7.10.4" + "@babel/helper-module-transforms" "^7.10.5" + "@babel/helper-plugin-utils" "^7.10.4" + "babel-plugin-dynamic-import-node" "^2.3.3" + +"@babel/plugin-transform-modules-umd@^7.18.6": + "integrity" "sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz#ec7455bab6cd8fb05c525a94876f435a48128888" - integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== +"@babel/plugin-transform-modules-umd@^7.9.0": + "version" "7.10.4" + dependencies: + "@babel/helper-module-transforms" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6": + "integrity" "sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-new-target@^7.18.6", "@babel/plugin-transform-new-target@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz#d128f376ae200477f37c4ddfcc722a8a1b3246a8" - integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + +"@babel/plugin-transform-new-target@^7.18.6": + "integrity" "sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-object-super@^7.18.6", "@babel/plugin-transform-object-super@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" - integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== +"@babel/plugin-transform-new-target@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-object-super@^7.18.6": + "integrity" "sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" +"@babel/plugin-transform-object-super@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-replace-supers" "^7.8.3" + "@babel/plugin-transform-parameters@^7.18.8", "@babel/plugin-transform-parameters@^7.9.5": - version "7.18.8" - resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz#ee9f1a0ce6d78af58d0956a9378ea3427cccb48a" - integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== + "integrity" "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" + "version" "7.18.8" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.18.6", "@babel/plugin-transform-property-literals@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" - integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== +"@babel/plugin-transform-property-literals@^7.18.6": + "integrity" "sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-transform-property-literals@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-transform-react-display-name@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz#8b1125f919ef36ebdfff061d664e266c666b9415" - integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== + "integrity" "sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-development@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz#dbe5c972811e49c7405b630e4d0d2e1380c0ddc5" - integrity sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA== + "integrity" "sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/plugin-transform-react-jsx" "^7.18.6" "@babel/plugin-transform-react-jsx-self@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz#3849401bab7ae8ffa1e3e5687c94a753fc75bda7" - integrity sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig== + "integrity" "sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-source@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz#06e9ae8a14d2bc19ce6e3c447d842032a50598fc" - integrity sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw== + "integrity" "sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx@^7.18.6", "@babel/plugin-transform-react-jsx@^7.9.4": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz#b3cbb7c3a00b92ec8ae1027910e331ba5c500eb9" - integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg== + "integrity" "sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-module-imports" "^7.18.6" @@ -935,107 +1474,150 @@ "@babel/plugin-syntax-jsx" "^7.18.6" "@babel/types" "^7.19.0" -"@babel/plugin-transform-regenerator@^7.18.6", "@babel/plugin-transform-regenerator@^7.8.7": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz#585c66cb84d4b4bf72519a34cfce761b8676ca73" - integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== +"@babel/plugin-transform-regenerator@^7.18.6": + "integrity" "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" - regenerator-transform "^0.15.0" + "regenerator-transform" "^0.15.0" + +"@babel/plugin-transform-regenerator@^7.8.7": + "version" "7.10.4" + dependencies: + "regenerator-transform" "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.18.6", "@babel/plugin-transform-reserved-words@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz#b1abd8ebf8edaa5f7fe6bbb8d2133d23b6a6f76a" - integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== +"@babel/plugin-transform-reserved-words@^7.18.6": + "integrity" "sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-transform-reserved-words@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-transform-runtime@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz#37d14d1fa810a368fd635d4d1476c0154144a96f" - integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== + "integrity" "sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/helper-module-imports" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.9" - babel-plugin-polyfill-corejs2 "^0.3.2" - babel-plugin-polyfill-corejs3 "^0.5.3" - babel-plugin-polyfill-regenerator "^0.4.0" - semver "^6.3.0" + "babel-plugin-polyfill-corejs2" "^0.3.2" + "babel-plugin-polyfill-corejs3" "^0.5.3" + "babel-plugin-polyfill-regenerator" "^0.4.0" + "semver" "^6.3.0" "@babel/plugin-transform-runtime@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" - integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== + "integrity" "sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz" + "version" "7.9.6" dependencies: "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" - resolve "^1.8.1" - semver "^5.5.1" + "resolve" "^1.8.1" + "semver" "^5.5.1" -"@babel/plugin-transform-shorthand-properties@^7.18.6", "@babel/plugin-transform-shorthand-properties@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" - integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== +"@babel/plugin-transform-shorthand-properties@^7.18.6": + "integrity" "sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.8.3": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz#dd60b4620c2fec806d60cfaae364ec2188d593b6" - integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== +"@babel/plugin-transform-shorthand-properties@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-spread@^7.18.9": + "integrity" "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" -"@babel/plugin-transform-sticky-regex@^7.18.6", "@babel/plugin-transform-sticky-regex@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz#c6706eb2b1524028e317720339583ad0f444adcc" - integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== +"@babel/plugin-transform-spread@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-sticky-regex@^7.18.6": + "integrity" "sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-template-literals@^7.18.9", "@babel/plugin-transform-template-literals@^7.8.3": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" - integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== +"@babel/plugin-transform-sticky-regex@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-regex" "^7.8.3" + +"@babel/plugin-transform-template-literals@^7.18.9": + "integrity" "sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typeof-symbol@^7.18.9", "@babel/plugin-transform-typeof-symbol@^7.8.4": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" - integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== +"@babel/plugin-transform-template-literals@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-annotate-as-pure" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-transform-typeof-symbol@^7.18.9": + "integrity" "sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" + "version" "7.18.9" dependencies: "@babel/helper-plugin-utils" "^7.18.9" +"@babel/plugin-transform-typeof-symbol@^7.8.4": + "version" "7.8.4" + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-transform-typescript@^7.18.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz#adcf180a041dcbd29257ad31b0c65d4de531ce8d" - integrity sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ== + "integrity" "sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz" + "version" "7.19.1" dependencies: "@babel/helper-create-class-features-plugin" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-typescript" "^7.18.6" "@babel/plugin-transform-unicode-escapes@^7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" - integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== + "integrity" "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-regex@^7.18.6", "@babel/plugin-transform-unicode-regex@^7.8.3": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" - integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== +"@babel/plugin-transform-unicode-regex@^7.18.6": + "integrity" "sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" +"@babel/plugin-transform-unicode-regex@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.8.3" + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/preset-env@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" - integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== + "integrity" "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==" + "resolved" "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/compat-data" "^7.18.8" "@babel/helper-compilation-targets" "^7.18.9" @@ -1107,16 +1689,16 @@ "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" "@babel/types" "^7.18.10" - babel-plugin-polyfill-corejs2 "^0.3.2" - babel-plugin-polyfill-corejs3 "^0.5.3" - babel-plugin-polyfill-regenerator "^0.4.0" - core-js-compat "^3.22.1" - semver "^6.3.0" + "babel-plugin-polyfill-corejs2" "^0.3.2" + "babel-plugin-polyfill-corejs3" "^0.5.3" + "babel-plugin-polyfill-regenerator" "^0.4.0" + "core-js-compat" "^3.22.1" + "semver" "^6.3.0" "@babel/preset-env@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" - integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== + "integrity" "sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ==" + "resolved" "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz" + "version" "7.9.6" dependencies: "@babel/compat-data" "^7.9.6" "@babel/helper-compilation-targets" "^7.9.6" @@ -1173,27 +1755,36 @@ "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" "@babel/types" "^7.9.6" - browserslist "^4.11.1" - core-js-compat "^3.6.2" - invariant "^2.2.2" - levenary "^1.1.1" - semver "^5.5.0" + "browserslist" "^4.11.1" + "core-js-compat" "^3.6.2" + "invariant" "^2.2.2" + "levenary" "^1.1.1" + "semver" "^5.5.0" + +"@babel/preset-modules@^0.1.3": + "version" "0.1.4" + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + "esutils" "^2.0.2" -"@babel/preset-modules@^0.1.3", "@babel/preset-modules@^0.1.5": - version "0.1.5" - resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" - integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== +"@babel/preset-modules@^0.1.5": + "integrity" "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==" + "resolved" "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" + "version" "0.1.5" dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" "@babel/plugin-transform-dotall-regex" "^7.4.4" "@babel/types" "^7.4.4" - esutils "^2.0.2" + "esutils" "^2.0.2" "@babel/preset-react@7.9.4": - version "7.9.4" - resolved "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.9.4.tgz#c6c97693ac65b6b9c0b4f25b948a8f665463014d" - integrity sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ== + "integrity" "sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ==" + "resolved" "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.9.4.tgz" + "version" "7.9.4" dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-react-display-name" "^7.8.3" @@ -1203,53 +1794,139 @@ "@babel/plugin-transform-react-jsx-source" "^7.9.0" "@babel/preset-typescript@^7.16.7", "@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz#ce64be3e63eddc44240c6358daefac17b3186399" - integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== + "integrity" "sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==" + "resolved" "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-transform-typescript" "^7.18.6" "@babel/register@^7.18.9": - version "7.18.9" - resolved "https://registry.npmjs.org/@babel/register/-/register-7.18.9.tgz#1888b24bc28d5cc41c412feb015e9ff6b96e439c" - integrity sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw== + "integrity" "sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw==" + "resolved" "https://registry.npmjs.org/@babel/register/-/register-7.18.9.tgz" + "version" "7.18.9" 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" + "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/runtime-corejs3@^7.10.2": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz#f0cbbe7edda7c4109cd253bb1dee99aba4594ad9" - integrity sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g== + "integrity" "sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g==" + "resolved" "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz" + "version" "7.19.1" dependencies: - core-js-pure "^3.25.1" - regenerator-runtime "^0.13.4" + "core-js-pure" "^3.25.1" + "regenerator-runtime" "^0.13.4" "@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" - integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + "integrity" "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==" + "resolved" "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + "version" "7.19.0" + dependencies: + "regenerator-runtime" "^0.13.4" + +"@babel/template@^7.10.4": + "version" "7.10.4" dependencies: - regenerator-runtime "^0.13.4" + "@babel/code-frame" "^7.10.4" + "@babel/parser" "^7.10.4" + "@babel/types" "^7.10.4" -"@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" - integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== +"@babel/template@^7.18.10", "@babel/template@^7.18.6", "@babel/template@^7.3.3", "@babel/template@^7.8.6": + "integrity" "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==" + "resolved" "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/code-frame" "^7.18.6" "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" +"@babel/template@^7.8.3": + "version" "7.8.3" + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/parser" "^7.8.3" + "@babel/types" "^7.8.3" + +"@babel/traverse@^7.10.4": + "version" "7.11.5" + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.11.5" + "@babel/helper-function-name" "^7.10.4" + "@babel/helper-split-export-declaration" "^7.11.0" + "@babel/parser" "^7.11.5" + "@babel/types" "^7.11.5" + "debug" "^4.1.0" + "globals" "^11.1.0" + "lodash" "^4.17.19" + +"@babel/traverse@^7.18.10": + "integrity" "sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA==" + "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" + "version" "7.19.1" + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" + "debug" "^4.1.0" + "globals" "^11.1.0" + +"@babel/traverse@^7.18.13", "@babel/traverse@^7.18.6", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": + "integrity" "sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA==" + "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" + "version" "7.19.1" + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" + "debug" "^4.1.0" + "globals" "^11.1.0" + +"@babel/traverse@^7.18.9": + "version" "7.18.9" + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.9" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.9" + "@babel/types" "^7.18.9" + "debug" "^4.1.0" + "globals" "^11.1.0" + +"@babel/traverse@^7.8.3": + "version" "7.8.4" + dependencies: + "@babel/code-frame" "^7.8.3" + "@babel/generator" "^7.8.4" + "@babel/helper-function-name" "^7.8.3" + "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/parser" "^7.8.4" + "@babel/types" "^7.8.3" + "debug" "^4.1.0" + "globals" "^11.1.0" + "lodash" "^4.17.13" + "@babel/traverse@7.18.11": - version "7.18.11" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" - integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== + "integrity" "sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ==" + "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz" + "version" "7.18.11" dependencies: "@babel/code-frame" "^7.18.6" "@babel/generator" "^7.18.10" @@ -1259,13 +1936,13 @@ "@babel/helper-split-export-declaration" "^7.18.6" "@babel/parser" "^7.18.11" "@babel/types" "^7.18.10" - debug "^4.1.0" - globals "^11.1.0" + "debug" "^4.1.0" + "globals" "^11.1.0" "@babel/traverse@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz#5ab59ef51a997b3f10c4587d648b9696b6cb1a68" - integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== + "integrity" "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==" + "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz" + "version" "7.18.13" dependencies: "@babel/code-frame" "^7.18.6" "@babel/generator" "^7.18.13" @@ -1275,79 +1952,77 @@ "@babel/helper-split-export-declaration" "^7.18.6" "@babel/parser" "^7.18.13" "@babel/types" "^7.18.13" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz#0fafe100a8c2a603b4718b1d9bf2568d1d193347" - integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.19.1" - "@babel/types" "^7.19.0" - debug "^4.1.0" - globals "^11.1.0" + "debug" "^4.1.0" + "globals" "^11.1.0" -"@babel/types@7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" - integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": + "integrity" "sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" + "version" "7.19.0" dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" - to-fast-properties "^2.0.0" + "to-fast-properties" "^2.0.0" -"@babel/types@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" - integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== +"@babel/types@^7.10.4", "@babel/types@^7.11.0", "@babel/types@^7.11.5": + "version" "7.11.5" + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + "lodash" "^4.17.19" + "to-fast-properties" "^2.0.0" + +"@babel/types@^7.8.3": + "version" "7.8.3" + dependencies: + "esutils" "^2.0.2" + "lodash" "^4.17.13" + "to-fast-properties" "^2.0.0" + +"@babel/types@7.18.10": + "integrity" "sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" + "version" "7.18.10" dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" - to-fast-properties "^2.0.0" + "to-fast-properties" "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" - integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== +"@babel/types@7.18.13": + "integrity" "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz" + "version" "7.18.13" dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" - to-fast-properties "^2.0.0" + "to-fast-properties" "^2.0.0" "@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" - integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + "integrity" "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" + "resolved" "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" + "version" "0.2.3" "@chain-registry/types@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" - integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== + "integrity" "sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q==" + "resolved" "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz" + "version" "0.11.0" dependencies: "@babel/runtime" "^7.19.0" "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" "@chain-registry/types@^0.7.0", "@chain-registry/types@^0.7.1": - version "0.7.1" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz#2f8adc5d6319b93df61ecadc6f81bde3c1c03948" - integrity sha512-KJpW4CnUEDyVFUigKrTMdEWJhTFPmPk1gFY/SLuaoHXfNYLSMAS3UJJtWUqiVaEwxAgyeilSgoNkuB5EaW5KaQ== + "integrity" "sha512-KJpW4CnUEDyVFUigKrTMdEWJhTFPmPk1gFY/SLuaoHXfNYLSMAS3UJJtWUqiVaEwxAgyeilSgoNkuB5EaW5KaQ==" + "resolved" "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz" + "version" "0.7.1" dependencies: "@babel/runtime" "^7.18.3" "@keplr-wallet/cosmos" "^0.10.3" "@keplr-wallet/crypto" "^0.10.11" "@chakra-ui/accordion@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz#dd260fbecb639748314f440c89052ed45006c585" - integrity sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ== + "integrity" "sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz" + "version" "2.0.12" dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/icon" "3.0.9" @@ -1357,9 +2032,9 @@ "@chakra-ui/transition" "2.0.9" "@chakra-ui/accordion@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz#8e42132ae451a2e4cbd9872a7b921612e5e61073" - integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== + "integrity" "sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz" + "version" "2.1.0" dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/icon" "3.0.10" @@ -1368,73 +2043,74 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/alert@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" - integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== +"@chakra-ui/alert@2.0.10", "@chakra-ui/alert@2.0.8": + "version" "2.0.8" dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-context" "2.0.2" + "@chakra-ui/spinner" "2.0.8" "@chakra-ui/alert@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz#25e88c105e095def374c9fe1e3c8a3f6fab08f6c" - integrity sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw== + "integrity" "sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/spinner" "2.0.9" +"@chakra-ui/anatomy@2.0.4": + "version" "2.0.4" + "@chakra-ui/anatomy@2.0.6": - version "2.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" - integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== + "integrity" "sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz" + "version" "2.0.6" "@chakra-ui/avatar@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" - integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== + "integrity" "sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz" + "version" "2.1.0" dependencies: "@chakra-ui/image" "2.0.10" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/breadcrumb@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" - integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== + "integrity" "sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w==" + "resolved" "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/breakpoint-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" - integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== + "integrity" "sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/button@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz#432051952fa074fd9eee8c4c6c7a6d67895b3ea2" - integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== + "integrity" "sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" "@chakra-ui/button@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz#f005f98bb5f1d5673a244957e6b3e2396acdf395" - integrity sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg== + "integrity" "sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" "@chakra-ui/checkbox@2.1.8": - version "2.1.8" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz#d04a9a65494cf22e8bcfafa161bb7185d92dc13b" - integrity sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q== + "integrity" "sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz" + "version" "2.1.8" dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/react-context" "2.0.3" @@ -1448,9 +2124,9 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/checkbox@2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz#aeec60c0486e4a0913d9a32708607417c99aefdd" - integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== + "integrity" "sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz" + "version" "2.2.0" dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/react-context" "2.0.3" @@ -1463,81 +2139,104 @@ "@chakra-ui/visually-hidden" "2.0.10" "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/clickable@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/clickable@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz#c06486d36f4a4cb517ea75176e05021dfde117cd" - integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== + "integrity" "sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/close-button@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz#30c143682edc13e458270cb3ec2bc80780408830" - integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== + "integrity" "sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A==" + "resolved" "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/icon" "3.0.10" +"@chakra-ui/close-button@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/close-button@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz#dab2d66c7a240c4d3d150e370980709336a4a266" - integrity sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w== + "integrity" "sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w==" + "resolved" "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/icon" "3.0.9" +"@chakra-ui/color-mode@2.1.6": + "version" "2.1.6" + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/color-mode@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz#91c02e82e551c5448081e4934efeddb10bb732c5" - integrity sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w== + "integrity" "sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w==" + "resolved" "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz" + "version" "2.1.7" dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/color-mode@2.1.8": - version "2.1.8" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz#887325572cd64da0a063d063df631c74fd25de2e" - integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== + "integrity" "sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz" + "version" "2.1.8" dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/control-box@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" - integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== + "integrity" "sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g==" + "resolved" "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz" + "version" "2.0.9" "@chakra-ui/counter@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" - integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== + "integrity" "sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/css-reset@2.0.7": - version "2.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" - integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== + "integrity" "sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz" + "version" "2.0.7" + +"@chakra-ui/descendant@3.0.7": + "version" "3.0.7" + dependencies: + "@chakra-ui/react-utils" "2.0.5" "@chakra-ui/descendant@3.0.9": - version "3.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" - integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== + "integrity" "sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w==" + "resolved" "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz" + "version" "3.0.9" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/dom-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz#3061819ac365f5947423d63a5fcc26a281bbb5c2" - integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== + "integrity" "sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz" + "version" "2.0.1" "@chakra-ui/dom-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz#5a90916bd64c12fe202b7844052035311669aa2a" - integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== + "integrity" "sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew==" + "resolved" "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz" + "version" "2.0.2" "@chakra-ui/editable@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz#1568b2450ed71693c9936054e9b393208b087adf" - integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== + "integrity" "sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" @@ -1550,9 +2249,9 @@ "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/editable@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz#a31d2e1c176c0817574e98a8567314c1a74444ab" - integrity sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg== + "integrity" "sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" @@ -1563,41 +2262,52 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/event-utils@2.0.2": + "version" "2.0.2" + "@chakra-ui/event-utils@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" - integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== + "integrity" "sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz" + "version" "2.0.4" "@chakra-ui/focus-lock@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz#8f17d212786bd2977afc07f72b520aeae30b9434" - integrity sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw== + "integrity" "sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/dom-utils" "2.0.1" - react-focus-lock "^2.9.1" + "react-focus-lock" "^2.9.1" "@chakra-ui/focus-lock@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz#3cd66ef8fb84af819aa6db79f28fbd3d3354a24e" - integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== + "integrity" "sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/dom-utils" "2.0.2" - react-focus-lock "^2.9.1" + "react-focus-lock" "^2.9.1" -"@chakra-ui/form-control@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz#b279c51728a53d2e448736a5cdbea6cb53d3e394" - integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== +"@chakra-ui/form-control@^2.0.0", "@chakra-ui/form-control@2.0.10": + "integrity" "sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/form-control@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz#10678857e6586e7d1be0a34c8d045c6484c1180b" - integrity sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw== + "integrity" "sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" @@ -1605,57 +2315,76 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/hooks@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz#43ceef03c2def98c2add470f7056eae268c113e1" - integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== + "integrity" "sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/react-utils" "2.0.7" "@chakra-ui/utils" "2.0.10" - compute-scroll-into-view "1.0.14" - copy-to-clipboard "3.3.1" + "compute-scroll-into-view" "1.0.14" + "copy-to-clipboard" "3.3.1" + +"@chakra-ui/hooks@2.0.8": + "version" "2.0.9" + dependencies: + "@chakra-ui/react-utils" "2.0.6" + "@chakra-ui/utils" "2.0.9" + "compute-scroll-into-view" "1.0.14" + "copy-to-clipboard" "3.3.1" "@chakra-ui/hooks@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz#1f6d6157968a60dd9678112763d8f5fd3bdeffad" - integrity sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg== + "integrity" "sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-utils" "2.0.6" "@chakra-ui/utils" "2.0.9" - compute-scroll-into-view "1.0.14" - copy-to-clipboard "3.3.1" + "compute-scroll-into-view" "1.0.14" + "copy-to-clipboard" "3.3.1" -"@chakra-ui/icon@3.0.10": - version "3.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz#1a11b5edb42a8af7aa5b6dec2bf2c6c4df1869fc" - integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== +"@chakra-ui/icon@^3.0.0", "@chakra-ui/icon@3.0.10": + "integrity" "sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz" + "version" "3.0.10" dependencies: "@chakra-ui/shared-utils" "2.0.1" +"@chakra-ui/icon@3.0.8": + "version" "3.0.8" + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon@3.0.9": - version "3.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz#ba127d9eefd727f62e9bce07a23eca39ae506744" - integrity sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA== + "integrity" "sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz" + "version" "3.0.9" dependencies: "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/icons@2.0.10", "@chakra-ui/icons@^2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz#61aeb44c913c10e7ff77addc798494e50d66c760" - integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== +"@chakra-ui/icons@^2.0.10", "@chakra-ui/icons@2.0.10": + "integrity" "sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/image@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz#712c0e1c579d959225bd8316d8d8f66cbeb95bb8" - integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== + "integrity" "sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" +"@chakra-ui/image@2.0.9": + "version" "2.0.9" + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/input@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz#f00466daacd5e1d24aca59f326c8e9d7fcb92919" - integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== + "integrity" "sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/object-utils" "2.0.3" @@ -1664,9 +2393,9 @@ "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/input@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz#905b82ed647a20080a25a6a7e6740e3bb65586c1" - integrity sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw== + "integrity" "sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/object-utils" "2.0.3" @@ -1674,60 +2403,60 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/layout@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz#3dfdd8b3f08d9ff34fc923d44ebe4bc86291b889" - integrity sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww== +"@chakra-ui/layout@^2.0.0", "@chakra-ui/layout@2.1.7": + "integrity" "sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz" + "version" "2.1.7" dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.9" + "@chakra-ui/icon" "3.0.10" "@chakra-ui/object-utils" "2.0.3" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/layout@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz#a273a220a1001d145ca96f3c88edad90ed0f7ec8" - integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== +"@chakra-ui/layout@2.1.6": + "integrity" "sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww==" + "resolved" "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz" + "version" "2.1.6" dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.10" + "@chakra-ui/icon" "3.0.9" "@chakra-ui/object-utils" "2.0.3" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/lazy-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" - integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== + "integrity" "sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz" + "version" "2.0.1" "@chakra-ui/live-region@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" - integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== + "integrity" "sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz" + "version" "2.0.9" "@chakra-ui/media-query@3.2.5": - version "3.2.5" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz#c0b9dc4bc6245d9abddcbe17693e40bf5dfe34f8" - integrity sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg== + "integrity" "sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz" + "version" "3.2.5" dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" "@chakra-ui/media-query@3.2.6": - version "3.2.6" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz#7de9e1ddac367bcdda4e70e3bb7293bb2322e36f" - integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== + "integrity" "sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow==" + "resolved" "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz" + "version" "3.2.6" dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" -"@chakra-ui/menu@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz#3ac5f448efc894045769c606ebe1376051556be9" - integrity sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA== +"@chakra-ui/menu@^2.0.0", "@chakra-ui/menu@2.1.0": + "integrity" "sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz" + "version" "2.1.0" dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -1735,19 +2464,19 @@ "@chakra-ui/popper" "3.0.7" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.3" - "@chakra-ui/react-use-focus-effect" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-outside-click" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/menu@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz#14891c7d3000acacf3213696cd1ed3b6c84029e2" - integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== +"@chakra-ui/menu@2.0.13": + "integrity" "sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz" + "version" "2.0.13" dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -1755,19 +2484,19 @@ "@chakra-ui/popper" "3.0.7" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.3" + "@chakra-ui/react-use-focus-effect" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-outside-click" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" "@chakra-ui/modal@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz#dba55bddd407689f4c2bba886b03a5355578a20d" - integrity sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw== + "integrity" "sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz" + "version" "2.1.7" dependencies: "@chakra-ui/close-button" "2.0.9" "@chakra-ui/focus-lock" "2.0.10" @@ -1776,13 +2505,13 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" - aria-hidden "^1.1.1" - react-remove-scroll "^2.5.4" + "aria-hidden" "^1.1.1" + "react-remove-scroll" "^2.5.4" "@chakra-ui/modal@2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz#99517a51446179489137ddfaf91809b392530f59" - integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== + "integrity" "sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz" + "version" "2.2.0" dependencies: "@chakra-ui/close-button" "2.0.10" "@chakra-ui/focus-lock" "2.0.11" @@ -1791,13 +2520,13 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" - aria-hidden "^1.1.1" - react-remove-scroll "^2.5.4" + "aria-hidden" "^1.1.1" + "react-remove-scroll" "^2.5.4" "@chakra-ui/number-input@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz#8dfaf8387a4fac17a1e29703002afd1910608e0f" - integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== + "integrity" "sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/counter" "2.0.9" "@chakra-ui/form-control" "2.0.10" @@ -1812,9 +2541,9 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/number-input@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz#c5ebfa0311f7586fb4c1e5f4284355b1d1f04383" - integrity sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ== + "integrity" "sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/counter" "2.0.9" "@chakra-ui/form-control" "2.0.9" @@ -1829,19 +2558,19 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/number-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" - integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== + "integrity" "sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/object-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" - integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== + "integrity" "sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g==" + "resolved" "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/pin-input@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz#1ff927fdc61433a7b9b4421ceafad5674299e91a" - integrity sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw== + "integrity" "sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz" + "version" "2.0.12" dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/react-children-utils" "2.0.1" @@ -1850,9 +2579,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/pin-input@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz#2f2c168066eaed63a100315202be97a6a1e60271" - integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== + "integrity" "sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz" + "version" "2.0.13" dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/react-children-utils" "2.0.1" @@ -1861,9 +2590,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popover@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz#7f2df4cbbc3eee7440c311750e18ba00150f973f" - integrity sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg== + "integrity" "sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/close-button" "2.0.9" "@chakra-ui/hooks" "2.0.9" @@ -1875,9 +2604,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popover@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz#a67cf5a10167eeb130ddf5362929e7d5d1df0958" - integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== + "integrity" "sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz" + "version" "2.1.0" dependencies: "@chakra-ui/close-button" "2.0.10" "@chakra-ui/lazy-utils" "2.0.1" @@ -1890,34 +2619,47 @@ "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" "@chakra-ui/react-use-merge-refs" "2.0.3" +"@chakra-ui/popper@3.0.6": + "version" "3.0.6" + dependencies: + "@chakra-ui/react-utils" "2.0.5" + "@popperjs/core" "^2.9.3" + "@chakra-ui/popper@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz#af3428bf5d64ad9372210a70181f69a9d79eefb2" - integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== + "integrity" "sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz" + "version" "3.0.7" dependencies: "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@popperjs/core" "^2.9.3" +"@chakra-ui/portal@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/portal@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" - integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== + "integrity" "sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/progress@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz#9191ae9061ef08066d37c5cb8341fedc10214a29" - integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== + "integrity" "sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/provider@2.0.16": - version "2.0.16" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz#a4afdb4c8f2050beb5d2b61db8971a145481c6f2" - integrity sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w== + "integrity" "sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w==" + "resolved" "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz" + "version" "2.0.16" dependencies: "@chakra-ui/css-reset" "2.0.7" "@chakra-ui/portal" "2.0.9" @@ -1926,9 +2668,9 @@ "@chakra-ui/utils" "2.0.9" "@chakra-ui/provider@2.0.18": - version "2.0.18" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz#b98f06975752eab21df797d0bd7e75dffb7c9230" - integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== + "integrity" "sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz" + "version" "2.0.18" dependencies: "@chakra-ui/css-reset" "2.0.7" "@chakra-ui/portal" "2.0.9" @@ -1937,9 +2679,9 @@ "@chakra-ui/utils" "2.0.10" "@chakra-ui/radio@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz#82eb02313efafc460da3030d011bfd434b1ecabc" - integrity sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA== + "integrity" "sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/react-context" "2.0.3" @@ -1948,9 +2690,9 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/radio@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz#e52142140c2aa00fa758f504cef1c83513be0b2d" - integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== + "integrity" "sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/react-context" "2.0.3" @@ -1959,240 +2701,190 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/react-children-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" - integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== + "integrity" "sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz" + "version" "2.0.1" + +"@chakra-ui/react-context@2.0.2": + "version" "2.0.2" "@chakra-ui/react-context@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" - integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== + "integrity" "sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/react-env@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" - integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== + "integrity" "sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz" + "version" "2.0.9" "@chakra-ui/react-types@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" - integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + "integrity" "sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/react-use-animation-state@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz#c10e575de76e907a84358595884a819039b24200" - integrity sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ== + "integrity" "sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-animation-state@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz#ac95e7fc9a0175eb6f423cca2c039101ff6996e2" - integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== + "integrity" "sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz" + "version" "2.0.4" dependencies: "@chakra-ui/dom-utils" "2.0.2" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-callback-ref@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" - integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== + "integrity" "sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/react-use-controllable-state@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz#7aa3f9c038513763332f6754e69ece90aed55a9c" - integrity sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ== + "integrity" "sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-controllable-state@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz#aa1fb1b238a8297edc750726e52968540b323897" - integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== + "integrity" "sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz" + "version" "2.0.4" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-disclosure@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz#c27bfc7e3af0728423b9e2def1e1665d0ba941bb" - integrity sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg== + "integrity" "sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-disclosure@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz#5f1fb8de00992277c8e2f751fb14970a587c8a38" - integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== + "integrity" "sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz" + "version" "2.0.4" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-event-listener@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz#11b5409c4442888e7981d5288c9e781acdacd685" - integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== + "integrity" "sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-focus-effect@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz#3e221a5e9b06a7b832a6fca1f883e6335fd69f19" - integrity sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA== + "integrity" "sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/react-use-focus-effect@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz#d6b1f6360c402b4b018c579981631a0c7c5f61a8" - integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== + "integrity" "sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz" + "version" "2.0.4" dependencies: "@chakra-ui/dom-utils" "2.0.2" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/react-use-focus-on-pointer-down@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz#be0668ff844dec8bbfe978d6eaff50534f290c48" - integrity sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA== + "integrity" "sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz" + "version" "2.0.1" dependencies: "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-focus-on-pointer-down@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz#f02abb3cecad408677b5f4d2a9faf805537a2cfd" - integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== + "integrity" "sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz" + "version" "2.0.2" dependencies: "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-interval@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz#a8f5dbf83607f5dc53022aa2a766fdcb09d8a081" - integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== + "integrity" "sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz" + "version" "2.0.1" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-merge-refs@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" - integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== + "integrity" "sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz" + "version" "2.0.3" "@chakra-ui/react-use-outside-click@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz#d0136d1c2fb45d86361224e98e3a50648bf9b85f" - integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== + "integrity" "sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz" + "version" "2.0.3" dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-pan-event@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" - integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== + "integrity" "sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz" + "version" "2.0.4" + dependencies: + "@chakra-ui/event-utils" "2.0.4" + "framesync" "5.3.0" + +"@chakra-ui/react-use-previous@2.0.1": + "integrity" "sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz" + "version" "2.0.1" + +"@chakra-ui/react-use-safe-layout-effect@2.0.1": + "integrity" "sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz" + "version" "2.0.1" + +"@chakra-ui/react-use-size@2.0.3": + "integrity" "sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.1": + "integrity" "sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-update-effect@2.0.3": + "integrity" "sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz" + "version" "2.0.3" + +"@chakra-ui/react-utils@2.0.5", "@chakra-ui/react-utils@2.0.6": + "integrity" "sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz" + "version" "2.0.6" + dependencies: + "@chakra-ui/utils" "2.0.9" + +"@chakra-ui/react-utils@2.0.7": + "integrity" "sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz" + "version" "2.0.7" dependencies: - "@chakra-ui/event-utils" "2.0.4" - framesync "5.3.0" - -"@chakra-ui/react-use-previous@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz#e19f6b363271f62c36c9f3bd91dc60caa4c4e340" - integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== - -"@chakra-ui/react-use-safe-layout-effect@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" - integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== - -"@chakra-ui/react-use-size@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" - integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== - dependencies: - "@zag-js/element-size" "0.1.0" - -"@chakra-ui/react-use-timeout@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz#acacadfb7c1443aacf634ddce710b1cd7cf3b6ec" - integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" - -"@chakra-ui/react-use-update-effect@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" - integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== - -"@chakra-ui/react-utils@2.0.6": - version "2.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz#bb471ce2bff724b99563685962145a2cc56bf61d" - integrity sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg== - dependencies: - "@chakra-ui/utils" "2.0.9" - -"@chakra-ui/react-utils@2.0.7": - version "2.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz#5be991b6ba858fe481a3d454165f499f7f8de082" - integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== - dependencies: - "@chakra-ui/utils" "2.0.10" - -"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.3.4": - version "2.3.4" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz#e3f7364e155b805fcaf1ef65c5e6e2db4f840563" - integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== - dependencies: - "@chakra-ui/accordion" "2.1.0" - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/avatar" "2.1.0" - "@chakra-ui/breadcrumb" "2.0.9" - "@chakra-ui/button" "2.0.10" - "@chakra-ui/checkbox" "2.2.0" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/control-box" "2.0.9" - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/editable" "2.0.11" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/hooks" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/image" "2.0.10" - "@chakra-ui/input" "2.0.10" - "@chakra-ui/layout" "2.1.7" - "@chakra-ui/live-region" "2.0.9" - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/menu" "2.1.0" - "@chakra-ui/modal" "2.2.0" - "@chakra-ui/number-input" "2.0.11" - "@chakra-ui/pin-input" "2.0.13" - "@chakra-ui/popover" "2.1.0" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/progress" "2.0.10" - "@chakra-ui/provider" "2.0.18" - "@chakra-ui/radio" "2.0.11" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/select" "2.0.11" - "@chakra-ui/skeleton" "2.0.16" - "@chakra-ui/slider" "2.0.11" - "@chakra-ui/spinner" "2.0.9" - "@chakra-ui/stat" "2.0.10" - "@chakra-ui/switch" "2.0.12" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/table" "2.0.10" - "@chakra-ui/tabs" "2.1.2" - "@chakra-ui/tag" "2.0.10" - "@chakra-ui/textarea" "2.0.11" - "@chakra-ui/theme" "2.1.12" - "@chakra-ui/toast" "3.0.12" - "@chakra-ui/tooltip" "2.1.0" - "@chakra-ui/transition" "2.0.9" "@chakra-ui/utils" "2.0.10" - "@chakra-ui/visually-hidden" "2.0.10" "@chakra-ui/react@^2.2.9": - version "2.3.2" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz#4ffcd5b79d21d14e240efc37adab7831f2aac37f" - integrity sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg== + "integrity" "sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz" + "version" "2.3.2" dependencies: "@chakra-ui/accordion" "2.0.12" "@chakra-ui/alert" "2.0.9" @@ -2242,45 +2934,98 @@ "@chakra-ui/utils" "2.0.9" "@chakra-ui/visually-hidden" "2.0.9" +"@chakra-ui/react@^2.3.4", "@chakra-ui/react@2.3.4": + "integrity" "sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz" + "version" "2.3.4" + dependencies: + "@chakra-ui/accordion" "2.1.0" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/avatar" "2.1.0" + "@chakra-ui/breadcrumb" "2.0.9" + "@chakra-ui/button" "2.0.10" + "@chakra-ui/checkbox" "2.2.0" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/control-box" "2.0.9" + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/editable" "2.0.11" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/hooks" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/input" "2.0.10" + "@chakra-ui/layout" "2.1.7" + "@chakra-ui/live-region" "2.0.9" + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/menu" "2.1.0" + "@chakra-ui/modal" "2.2.0" + "@chakra-ui/number-input" "2.0.11" + "@chakra-ui/pin-input" "2.0.13" + "@chakra-ui/popover" "2.1.0" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/progress" "2.0.10" + "@chakra-ui/provider" "2.0.18" + "@chakra-ui/radio" "2.0.11" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/select" "2.0.11" + "@chakra-ui/skeleton" "2.0.16" + "@chakra-ui/slider" "2.0.11" + "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/stat" "2.0.10" + "@chakra-ui/switch" "2.0.12" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/table" "2.0.10" + "@chakra-ui/tabs" "2.1.2" + "@chakra-ui/tag" "2.0.10" + "@chakra-ui/textarea" "2.0.11" + "@chakra-ui/theme" "2.1.12" + "@chakra-ui/toast" "3.0.12" + "@chakra-ui/tooltip" "2.1.0" + "@chakra-ui/transition" "2.0.9" + "@chakra-ui/utils" "2.0.10" + "@chakra-ui/visually-hidden" "2.0.10" + "@chakra-ui/select@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz#827028484769a32205f99baed3098a115da292b3" - integrity sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q== + "integrity" "sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/select@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz#d4234e89f531f7a185be8c6cad372de3dc6d7391" - integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== + "integrity" "sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/shared-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" - integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== + "integrity" "sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz" + "version" "2.0.1" "@chakra-ui/skeleton@2.0.15": - version "2.0.15" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz#fd41383bf84319e47c6ea1f4f3138f5f5e0dabca" - integrity sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q== + "integrity" "sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q==" + "resolved" "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz" + "version" "2.0.15" dependencies: "@chakra-ui/media-query" "3.2.5" "@chakra-ui/react-use-previous" "2.0.1" "@chakra-ui/skeleton@2.0.16": - version "2.0.16" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz#7a62c7e11ab2d3a2bb68c0829e0a00c138a9692d" - integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== + "integrity" "sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz" + "version" "2.0.16" dependencies: "@chakra-ui/media-query" "3.2.6" "@chakra-ui/react-use-previous" "2.0.1" "@chakra-ui/slider@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz#ffd7376d4a7fd9aa02e72b148e3ad4739c880498" - integrity sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g== + "integrity" "sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g==" + "resolved" "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-context" "2.0.3" @@ -2293,9 +3038,9 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/slider@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz#ff90a8883d52af9d7f5362714b8e838a05d4d133" - integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== + "integrity" "sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-context" "2.0.3" @@ -2307,97 +3052,117 @@ "@chakra-ui/react-use-size" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" -"@chakra-ui/spinner@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" - integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== +"@chakra-ui/spinner@^2.0.0", "@chakra-ui/spinner@2.0.9": + "integrity" "sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz" + "version" "2.0.9" + +"@chakra-ui/spinner@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" "@chakra-ui/stat@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz#5bf995b8e96c9c12ee63ce511626eb89f432a667" - integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== + "integrity" "sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/stat@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz#cecf35a4392a88227c3b85e80a45f0f5ac5f298d" - integrity sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg== + "integrity" "sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/styled-system@2.3.1": - version "2.3.1" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz#abf7c4e1638aaa9d92e7cf9acde17785703d166e" - integrity sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA== +"@chakra-ui/styled-system@>=2.0.0", "@chakra-ui/styled-system@2.3.3": + "integrity" "sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g==" + "resolved" "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz" + "version" "2.3.3" + dependencies: + "csstype" "^3.0.11" + "lodash.mergewith" "4.6.2" + +"@chakra-ui/styled-system@2.2.7": + "version" "2.2.7" dependencies: - csstype "^3.0.11" - lodash.mergewith "4.6.2" + "@chakra-ui/utils" "2.0.8" + "csstype" "^3.0.11" -"@chakra-ui/styled-system@2.3.3": - version "2.3.3" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz#6152739f817b6c6786a53c8388ea7ab5b338e7cc" - integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== +"@chakra-ui/styled-system@2.3.1": + "integrity" "sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz" + "version" "2.3.1" dependencies: - csstype "^3.0.11" - lodash.mergewith "4.6.2" + "csstype" "^3.0.11" + "lodash.mergewith" "4.6.2" "@chakra-ui/switch@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz#57117417d1bb072f506c8c30e1a961ee7f78496b" - integrity sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw== + "integrity" "sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/checkbox" "2.1.8" "@chakra-ui/switch@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz#372333fab885fb9f46caa95ead37be85cf6b3913" - integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== + "integrity" "sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz" + "version" "2.0.12" dependencies: "@chakra-ui/checkbox" "2.2.0" -"@chakra-ui/system@2.2.11": - version "2.2.11" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz#88f600589d2349489b09e448e974bbaf93e173c9" - integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== +"@chakra-ui/system@^2.0.0", "@chakra-ui/system@>=2.0.0", "@chakra-ui/system@2.2.11": + "integrity" "sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz" + "version" "2.2.11" dependencies: "@chakra-ui/color-mode" "2.1.8" "@chakra-ui/react-utils" "2.0.7" "@chakra-ui/styled-system" "2.3.3" "@chakra-ui/utils" "2.0.10" - react-fast-compare "3.2.0" + "react-fast-compare" "3.2.0" + +"@chakra-ui/system@2.2.6": + "version" "2.2.6" + dependencies: + "@chakra-ui/color-mode" "2.1.6" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/styled-system" "2.2.7" + "@chakra-ui/utils" "2.0.8" + "react-fast-compare" "3.2.0" "@chakra-ui/system@2.2.9": - version "2.2.9" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz#d6e7dfb9a954b8ab03c28e14c69aad56a9fcffbd" - integrity sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ== + "integrity" "sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz" + "version" "2.2.9" dependencies: "@chakra-ui/color-mode" "2.1.7" "@chakra-ui/react-utils" "2.0.6" "@chakra-ui/styled-system" "2.3.1" "@chakra-ui/utils" "2.0.9" - react-fast-compare "3.2.0" + "react-fast-compare" "3.2.0" "@chakra-ui/table@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" - integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== + "version" "2.0.8" dependencies: - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" "@chakra-ui/table@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz#2ddb0202e8146e517bf602e62195d13fee8f1b0a" - integrity sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ== + "integrity" "sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/tabs@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz#0fb540782c2e4122b63a203fc1f04eff850f2c0e" - integrity sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ== + "integrity" "sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz" + "version" "2.1.1" dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -2409,77 +3174,77 @@ "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/tabs@2.1.2": - version "2.1.2" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" - integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== + "version" "2.0.10" dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/clickable" "2.0.8" + "@chakra-ui/descendant" "3.0.7" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" "@chakra-ui/tag@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" - integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== + "version" "2.0.8" dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/icon" "3.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" "@chakra-ui/tag@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz#bf8530aa766bd6b9196d374ff75b0b1ce62cd0d3" - integrity sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg== + "integrity" "sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz" + "version" "2.0.9" dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/textarea@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz#dbbc8df8adddb488d0ee97164917e7be33d6b247" - integrity sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw== + "integrity" "sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw==" + "resolved" "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/textarea@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" - integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== + "version" "2.0.9" dependencies: - "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/form-control" "2.0.8" + "@chakra-ui/utils" "2.0.8" "@chakra-ui/theme-tools@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz#de97b422799627b5a514ae424ca08c1d348bc2a5" - integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== + "integrity" "sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz" + "version" "2.0.11" dependencies: "@chakra-ui/anatomy" "2.0.6" "@ctrl/tinycolor" "^3.4.0" +"@chakra-ui/theme-tools@2.0.9": + "version" "2.0.9" + dependencies: + "@chakra-ui/anatomy" "2.0.4" + "@chakra-ui/utils" "2.0.8" + "@ctrl/tinycolor" "^3.4.0" + "@chakra-ui/theme@2.1.11": - version "2.1.11" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz#cdfca3e84fc6913c5bb1a06e24b7cbb1246e127e" - integrity sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA== + "integrity" "sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz" + "version" "2.1.11" dependencies: "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" -"@chakra-ui/theme@2.1.12": - version "2.1.12" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz#bb4ffe38849a5f7163895f74a08a06aa916fe020" - integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== +"@chakra-ui/theme@2.1.12", "@chakra-ui/theme@2.1.7": + "integrity" "sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz" + "version" "2.1.12" dependencies: "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" "@chakra-ui/toast@3.0.10": - version "3.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz#5918beb208ca592f72a9e24923254341fa38df58" - integrity sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ== + "integrity" "sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz" + "version" "3.0.10" dependencies: "@chakra-ui/alert" "2.0.9" "@chakra-ui/close-button" "2.0.9" @@ -2489,21 +3254,21 @@ "@chakra-ui/theme" "2.1.11" "@chakra-ui/toast@3.0.12": - version "3.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" - integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== + "version" "3.0.6" dependencies: - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-use-timeout" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/theme" "2.1.12" + "@chakra-ui/alert" "2.0.8" + "@chakra-ui/close-button" "2.0.8" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/theme" "2.1.7" + "@chakra-ui/transition" "2.0.8" + "@chakra-ui/utils" "2.0.8" "@chakra-ui/tooltip@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz#2166753f9f246dd217d3170fd85f95a86392d9b6" - integrity sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA== + "integrity" "sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz" + "version" "2.0.10" dependencies: "@chakra-ui/popper" "3.0.7" "@chakra-ui/portal" "2.0.9" @@ -2513,84 +3278,87 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/tooltip@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" - integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== + "version" "2.0.9" dependencies: - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/hooks" "2.0.8" + "@chakra-ui/popper" "3.0.6" + "@chakra-ui/portal" "2.0.8" + "@chakra-ui/react-utils" "2.0.5" + "@chakra-ui/utils" "2.0.8" + "@chakra-ui/visually-hidden" "2.0.8" + +"@chakra-ui/transition@2.0.8": + "version" "2.0.8" + dependencies: + "@chakra-ui/utils" "2.0.8" "@chakra-ui/transition@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" - integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== + "integrity" "sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz" + "version" "2.0.9" "@chakra-ui/utils@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz#72e870f53753fd2d8c5f9258c76e8d59959bc1ce" - integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== + "integrity" "sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz" + "version" "2.0.10" dependencies: "@types/lodash.mergewith" "4.6.6" - css-box-model "1.2.1" - framesync "5.3.0" - lodash.mergewith "4.6.2" + "css-box-model" "1.2.1" + "framesync" "5.3.0" + "lodash.mergewith" "4.6.2" -"@chakra-ui/utils@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz#1af3882b31fb46e0a411998d8e3607656f8d5043" - integrity sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ== +"@chakra-ui/utils@2.0.8", "@chakra-ui/utils@2.0.9": + "integrity" "sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ==" + "resolved" "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz" + "version" "2.0.9" dependencies: "@types/lodash.mergewith" "4.6.6" - css-box-model "1.2.1" - framesync "5.3.0" - lodash.mergewith "4.6.2" + "css-box-model" "1.2.1" + "framesync" "5.3.0" + "lodash.mergewith" "4.6.2" -"@chakra-ui/visually-hidden@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz#3e85e9fb48ccc419392cb0d97bd8fd45bb37aa1c" - integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== +"@chakra-ui/visually-hidden@2.0.10", "@chakra-ui/visually-hidden@2.0.8": + "integrity" "sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA==" + "resolved" "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz" + "version" "2.0.10" "@chakra-ui/visually-hidden@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz#b43a3dd0bc1108954ad0eeb50d0261887ab5e31c" - integrity sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg== + "integrity" "sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg==" + "resolved" "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz" + "version" "2.0.9" "@confio/ics23@^0.6.8": - version "0.6.8" - resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" - integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + "integrity" "sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==" + "resolved" "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz" + "version" "0.6.8" dependencies: "@noble/hashes" "^1.0.0" - protobufjs "^6.8.8" - -"@cosmjs/amino@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz#b51417a23c1ff8ef8b85a6862eba8492c6c44f38" - integrity sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ== - dependencies: - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" + "protobufjs" "^6.8.8" "@cosmjs/amino@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz#35873a580a6102e48415ed2b5b97477f146fb50d" - integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + "integrity" "sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw==" + "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/crypto" "^0.29.0" "@cosmjs/encoding" "^0.29.0" "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" -"@cosmjs/cosmwasm-stargate@0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz#dea1c16fe80daf14072c3796574fe8cb34a3729b" - integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== +"@cosmjs/amino@0.28.13": + "integrity" "sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz" + "version" "0.28.13" + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + +"@cosmjs/cosmwasm-stargate@^0.28", "@cosmjs/cosmwasm-stargate@0.29.0": + "integrity" "sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw==" + "resolved" "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/amino" "^0.29.0" "@cosmjs/crypto" "^0.29.0" @@ -2600,223 +3368,205 @@ "@cosmjs/stargate" "^0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" - long "^4.0.0" - pako "^2.0.2" - -"@cosmjs/crypto@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz#541b6a36f616b2da5a568ead46d4e83841ceb412" - integrity sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ== - dependencies: - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - "@noble/hashes" "^1" - bn.js "^5.2.0" - elliptic "^6.5.3" - libsodium-wrappers "^0.7.6" + "cosmjs-types" "^0.5.0" + "long" "^4.0.0" + "pako" "^2.0.2" "@cosmjs/crypto@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" - integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + "integrity" "sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q==" + "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz" + "version" "0.24.1" dependencies: "@cosmjs/encoding" "^0.24.1" "@cosmjs/math" "^0.24.1" "@cosmjs/utils" "^0.24.1" - bip39 "^3.0.2" - bn.js "^4.11.8" - elliptic "^6.5.3" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - pbkdf2 "^3.1.1" - ripemd160 "^2.0.2" - sha.js "^2.4.11" - unorm "^1.5.0" + "bip39" "^3.0.2" + "bn.js" "^4.11.8" + "elliptic" "^6.5.3" + "js-sha3" "^0.8.0" + "libsodium-wrappers" "^0.7.6" + "pbkdf2" "^3.1.1" + "ripemd160" "^2.0.2" + "sha.js" "^2.4.11" + "unorm" "^1.5.0" "@cosmjs/crypto@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz#c914424a8b538f6624e505bc2015a71e3977c2fb" - integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + "integrity" "sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA==" + "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/encoding" "^0.29.0" "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" "@noble/hashes" "^1" - bn.js "^5.2.0" - elliptic "^6.5.3" - libsodium-wrappers "^0.7.6" + "bn.js" "^5.2.0" + "elliptic" "^6.5.3" + "libsodium-wrappers" "^0.7.6" -"@cosmjs/encoding@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz#7994e8e2c435beaf0690296ffb0f7f3eaec8150b" - integrity sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA== +"@cosmjs/crypto@0.28.13": + "integrity" "sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz" + "version" "0.28.13" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + "@noble/hashes" "^1" + "bn.js" "^5.2.0" + "elliptic" "^6.5.3" + "libsodium-wrappers" "^0.7.6" "@cosmjs/encoding@^0.20.0": - version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" - integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + "integrity" "sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz" + "version" "0.20.1" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" "@cosmjs/encoding@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" - integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + "integrity" "sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz" + "version" "0.24.1" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" "@cosmjs/encoding@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz#75b1b41a2f31f71fcb0982cd1b210d6410739fd0" - integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + "integrity" "sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" + "version" "0.29.0" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" -"@cosmjs/json-rpc@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz#ff3f0c4a2f363b1a2c6779f8624a897e217fe297" - integrity sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A== +"@cosmjs/encoding@0.28.13": + "integrity" "sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz" + "version" "0.28.13" dependencies: - "@cosmjs/stream" "0.28.13" - xstream "^11.14.0" + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" "@cosmjs/json-rpc@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz#481f282bcb3457c71f393342691e957a4fa56535" - integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== + "integrity" "sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA==" + "resolved" "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/stream" "^0.29.0" - xstream "^11.14.0" + "xstream" "^11.14.0" + +"@cosmjs/json-rpc@0.28.13": + "integrity" "sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A==" + "resolved" "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" + "version" "0.28.13" + dependencies: + "@cosmjs/stream" "0.28.13" + "xstream" "^11.14.0" "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" - integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + "integrity" "sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz" + "version" "0.24.1" dependencies: "@cosmjs/crypto" "^0.24.1" "@cosmjs/encoding" "^0.24.1" "@cosmjs/math" "^0.24.1" "@cosmjs/utils" "^0.24.1" - axios "^0.21.1" - fast-deep-equal "^3.1.3" - -"@cosmjs/math@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz#50c05bc67007a04216f7f5e0c93f57270f8cc077" - integrity sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g== - dependencies: - bn.js "^5.2.0" + "axios" "^0.21.1" + "fast-deep-equal" "^3.1.3" "@cosmjs/math@^0.20.0": - version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" - integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + "integrity" "sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz" + "version" "0.20.1" dependencies: - bn.js "^4.11.8" + "bn.js" "^4.11.8" "@cosmjs/math@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" - integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + "integrity" "sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz" + "version" "0.24.1" dependencies: - bn.js "^4.11.8" + "bn.js" "^4.11.8" "@cosmjs/math@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz#2c34f96d94055fe82ca310bec7b2d8a9f1c507cb" - integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + "integrity" "sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" + "version" "0.29.0" dependencies: - bn.js "^5.2.0" + "bn.js" "^5.2.0" -"@cosmjs/proto-signing@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz#95ac12f0da0f0814f348f5ae996c3e96d015df61" - integrity sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ== +"@cosmjs/math@0.28.13": + "integrity" "sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz" + "version" "0.28.13" dependencies: - "@cosmjs/amino" "0.28.13" - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" - long "^4.0.0" + "bn.js" "^5.2.0" -"@cosmjs/proto-signing@^0.24.0-alpha.25": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" - integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== +"@cosmjs/proto-signing@^0.24.0-alpha.25", "@cosmjs/proto-signing@^0.28": + "integrity" "sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg==" + "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" + "version" "0.24.1" dependencies: "@cosmjs/launchpad" "^0.24.1" - long "^4.0.0" - protobufjs "~6.10.2" + "long" "^4.0.0" + "protobufjs" "~6.10.2" "@cosmjs/proto-signing@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz#4d9c10fc3a5c64b454bd2d9b407861fcffdfbbe0" - integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + "integrity" "sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw==" + "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/amino" "^0.29.0" "@cosmjs/crypto" "^0.29.0" "@cosmjs/encoding" "^0.29.0" "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" - long "^4.0.0" + "cosmjs-types" "^0.5.0" + "long" "^4.0.0" -"@cosmjs/socket@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz#d8443ad6e91d080fc6b80a7e9cf297a56b1f6833" - integrity sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug== +"@cosmjs/proto-signing@0.28.13": + "integrity" "sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" + "version" "0.28.13" dependencies: - "@cosmjs/stream" "0.28.13" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + "cosmjs-types" "^0.4.0" + "long" "^4.0.0" "@cosmjs/socket@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz#6f8f56799e69ead02f9ffe8925c782804635ac89" - integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== + "integrity" "sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig==" + "resolved" "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/stream" "^0.29.0" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" + "isomorphic-ws" "^4.0.1" + "ws" "^7" + "xstream" "^11.14.0" -"@cosmjs/stargate@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz#a73d837a46ee8944e6eafe162f2ff6943c14350e" - integrity sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg== +"@cosmjs/socket@0.28.13": + "integrity" "sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug==" + "resolved" "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" + "version" "0.28.13" dependencies: - "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/proto-signing" "0.28.13" "@cosmjs/stream" "0.28.13" - "@cosmjs/tendermint-rpc" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.11.3" - xstream "^11.14.0" + "isomorphic-ws" "^4.0.1" + "ws" "^7" + "xstream" "^11.14.0" -"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz#55263ed9d414f2c3073a451527576e4c3d6f04a6" - integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== +"@cosmjs/stargate@^0.28", "@cosmjs/stargate@^0.29.0", "@cosmjs/stargate@0.29.0": + "integrity" "sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg==" + "resolved" "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" + "version" "0.29.0" dependencies: "@confio/ics23" "^0.6.8" "@cosmjs/amino" "^0.29.0" @@ -2826,45 +3576,47 @@ "@cosmjs/stream" "^0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" - long "^4.0.0" - protobufjs "~6.11.3" - xstream "^11.14.0" + "cosmjs-types" "^0.5.0" + "long" "^4.0.0" + "protobufjs" "~6.11.3" + "xstream" "^11.14.0" -"@cosmjs/stream@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz#1e79d1116fda1e63e5ecddbd9d803d403942b1fa" - integrity sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg== +"@cosmjs/stargate@0.28.13": + "integrity" "sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg==" + "resolved" "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" + "version" "0.28.13" dependencies: - xstream "^11.14.0" + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/tendermint-rpc" "0.28.13" + "@cosmjs/utils" "0.28.13" + "cosmjs-types" "^0.4.0" + "long" "^4.0.0" + "protobufjs" "~6.11.3" + "xstream" "^11.14.0" "@cosmjs/stream@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz#df2d7ea23293170bc192e91c0fa3e9f8d993b7cc" - integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== + "integrity" "sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" + "version" "0.29.0" dependencies: - xstream "^11.14.0" + "xstream" "^11.14.0" -"@cosmjs/tendermint-rpc@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz#0bf587ae66fa3f88319edbd258492d28e73f9f29" - integrity sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w== +"@cosmjs/stream@0.28.13": + "integrity" "sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg==" + "resolved" "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" + "version" "0.28.13" dependencies: - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/json-rpc" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/socket" "0.28.13" - "@cosmjs/stream" "0.28.13" - "@cosmjs/utils" "0.28.13" - axios "^0.21.2" - readonly-date "^1.0.0" - xstream "^11.14.0" + "xstream" "^11.14.0" "@cosmjs/tendermint-rpc@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz#db71e743d2ee8dde706c09bc92ac47cc6197f672" - integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + "integrity" "sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg==" + "resolved" "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" + "version" "0.29.0" dependencies: "@cosmjs/crypto" "^0.29.0" "@cosmjs/encoding" "^0.29.0" @@ -2873,58 +3625,156 @@ "@cosmjs/socket" "^0.29.0" "@cosmjs/stream" "^0.29.0" "@cosmjs/utils" "^0.29.0" - axios "^0.21.2" - readonly-date "^1.0.0" - xstream "^11.14.0" + "axios" "^0.21.2" + "readonly-date" "^1.0.0" + "xstream" "^11.14.0" -"@cosmjs/utils@0.28.13": - version "0.28.13" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz#2fd2844ec832d7833811e2ae1691305d09791a08" - integrity sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg== +"@cosmjs/tendermint-rpc@0.28.13": + "integrity" "sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w==" + "resolved" "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" + "version" "0.28.13" + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/json-rpc" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/socket" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/utils" "0.28.13" + "axios" "^0.21.2" + "readonly-date" "^1.0.0" + "xstream" "^11.14.0" "@cosmjs/utils@^0.20.0": - version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" - integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + "integrity" "sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz" + "version" "0.20.1" "@cosmjs/utils@^0.24.1": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" - integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + "integrity" "sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz" + "version" "0.24.1" "@cosmjs/utils@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz#0a61e6d608e9f6f89a278cc71f4e7cee01199657" - integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + "integrity" "sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" + "version" "0.29.0" -"@cosmjson/wasmswap@^0.0.9": - version "0.0.9" - resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz#f8dc7c6ffcceb74c7e877a28606f86e7ff5baab4" - integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== +"@cosmjs/utils@0.28.13": + "integrity" "sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" + "version" "0.28.13" -"@cosmos-kit/config@0.14.0", "@cosmos-kit/config@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.14.0.tgz#999befd9cf7a5513615c48713301b246538c3ec1" - integrity sha512-kU0/+agF+mFHWEZXPRuB85VDA3TLte4nELDnlFV3otcenX07G3bSPrMB7Tyxdt+PnVks9hodcquxHyTTd6cu1w== +"@cosmjson/wasmswap@^0.0.9": + "integrity" "sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw==" + "resolved" "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" + "version" "0.0.9" + +"@cosmonauts/connect-chain-with-telescope-and-contracts@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope-with-contracts": + "resolved" "file:examples/telescope-with-contracts" + "version" "0.2.0" + dependencies: + "@chakra-ui/icons" "^2.0.10" + "@chakra-ui/react" "^2.3.4" + "@cosmjs/cosmwasm-stargate" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmos-kit/react" "^0.14.0" + "@cosmos-kit/types" "^0.11.0" + "@emotion/react" "11.10.4" + "@emotion/styled" "11.10.4" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "^0.6.0" + "framer-motion" "7.3.6" + "next" "12.2.5" + "react" "18.2.0" + "react-dom" "18.2.0" + "react-icons" "^4.4.0" + +"@cosmonauts/connect-chain-with-telescope@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope": + "resolved" "file:examples/telescope" + "version" "0.2.0" + dependencies: + "@chakra-ui/icons" "^2.0.10" + "@chakra-ui/react" "^2.3.4" + "@cosmjs/cosmwasm-stargate" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmos-kit/react" "^0.14.0" + "@cosmos-kit/types" "^0.11.0" + "@emotion/react" "11.10.4" + "@emotion/styled" "11.10.4" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "^0.6.0" + "framer-motion" "7.3.6" + "next" "12.2.5" + "react" "18.2.0" + "react-dom" "18.2.0" + "react-icons" "^4.4.0" + +"@cosmonauts/connect-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-chain": + "resolved" "file:templates/connect-chain" + "version" "0.2.0" + dependencies: + "@chakra-ui/icons" "2.0.10" + "@chakra-ui/react" "2.3.4" + "@cosmjs/cosmwasm-stargate" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmos-kit/config" "0.14.0" + "@cosmos-kit/core" "0.14.0" + "@cosmos-kit/react" "0.14.0" + "@emotion/react" "11.10.4" + "@emotion/styled" "11.10.4" + "chain-registry" "0.14.0" + "framer-motion" "7.3.6" + "next" "12.2.5" + "react" "18.2.0" + "react-dom" "18.2.0" + "react-icons" "4.4.0" + +"@cosmonauts/connect-multi-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-multi-chain": + "resolved" "file:templates/connect-multi-chain" + "version" "0.2.0" + dependencies: + "@chakra-ui/icons" "2.0.10" + "@chakra-ui/react" "2.3.4" + "@cosmjs/cosmwasm-stargate" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmos-kit/config" "0.14.0" + "@cosmos-kit/core" "0.14.0" + "@cosmos-kit/react" "0.14.0" + "@emotion/react" "11.10.4" + "@emotion/styled" "11.10.4" + "chain-registry" "0.14.0" + "chakra-react-select" "4.2.2" + "fast-fuzzy" "1.11.2" + "framer-motion" "7.3.6" + "next" "12.2.5" + "react" "18.2.0" + "react-dom" "18.2.0" + "react-icons" "4.4.0" + +"@cosmos-kit/config@^0.14.0", "@cosmos-kit/config@0.14.0": + "integrity" "sha512-kU0/+agF+mFHWEZXPRuB85VDA3TLte4nELDnlFV3otcenX07G3bSPrMB7Tyxdt+PnVks9hodcquxHyTTd6cu1w==" + "resolved" "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.14.0.tgz" + "version" "0.14.0" dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" "@cosmos-kit/core" "^0.14.0" "@cosmos-kit/keplr" "^0.14.0" -"@cosmos-kit/core@0.14.0", "@cosmos-kit/core@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.14.0.tgz#78d9f121cbd238773d70d59dfe406fca7cb488d8" - integrity sha512-1DpIXnk7Q4zF0NzaVX5quEOxSNSs7Rd4j1ibcHytGuEdwYdE4g3Ld11i12BBBAdgJq+6Uv9zQFBpvpn0MiarvQ== +"@cosmos-kit/core@^0.14.0", "@cosmos-kit/core@0.14.0": + "integrity" "sha512-1DpIXnk7Q4zF0NzaVX5quEOxSNSs7Rd4j1ibcHytGuEdwYdE4g3Ld11i12BBBAdgJq+6Uv9zQFBpvpn0MiarvQ==" + "resolved" "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.14.0.tgz" + "version" "0.14.0" dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" - chain-registry "^0.10.0" + "chain-registry" "^0.10.0" "@cosmos-kit/keplr@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.14.0.tgz#78f4911a9b78fc4e193b567d5b8a83ad2b6bed67" - integrity sha512-RowKEGJE1Kk5WNmnZVXPE1ysAdrAfRHNbJZtef+2jPzpshkpT17w/hUaqeGQYZ5r+hjVST3b476BIkqbUr3Czw== + "integrity" "sha512-RowKEGJE1Kk5WNmnZVXPE1ysAdrAfRHNbJZtef+2jPzpshkpT17w/hUaqeGQYZ5r+hjVST3b476BIkqbUr3Czw==" + "resolved" "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.14.0.tgz" + "version" "0.14.0" dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" @@ -2936,15 +3786,15 @@ "@keplr-wallet/wc-client" "^0.10.20" "@walletconnect/client" "1.8.0" "@walletconnect/node" "1.0.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" + "events" "3.3.0" + "react" "18.2.0" + "react-dom" "18.2.0" + "react-icons" "^4.4.0" -"@cosmos-kit/react@0.14.0", "@cosmos-kit/react@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.14.0.tgz#6788a0ec221a01f02301300d6fb98955a83c9419" - integrity sha512-c+xhLBOGuTVDdurjrZotFkNP38Ht6hiOGuuNvRBmn6+kPT5/QeG84rL/w90BqaZQJWzcXBiyK/SXxi1IJ6QqVA== +"@cosmos-kit/react@^0.14.0", "@cosmos-kit/react@0.14.0": + "integrity" "sha512-c+xhLBOGuTVDdurjrZotFkNP38Ht6hiOGuuNvRBmn6+kPT5/QeG84rL/w90BqaZQJWzcXBiyK/SXxi1IJ6QqVA==" + "resolved" "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.14.0.tgz" + "version" "0.14.0" dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.7.0" @@ -2952,23 +3802,23 @@ "@cosmos-kit/config" "^0.14.0" "@emotion/react" "^11" "@emotion/styled" "^11" - bowser "2.11.0" - qrcode.react "^3.1.0" - react-icons "^4.4.0" + "bowser" "2.11.0" + "qrcode.react" "^3.1.0" + "react-icons" "^4.4.0" "@cosmos-kit/types@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz#7af1e09ecea5ea6213b409b8a2af7c05fc91bb2c" - integrity sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ== + "integrity" "sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ==" + "resolved" "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" + "version" "0.11.0" dependencies: "@babel/runtime" "^7.11.2" "@walletconnect/client" "1.7.8" "@walletconnect/types" "1.7.8" "@cosmwasm/ts-codegen@0.16.1": - version "0.16.1" - resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz#7199ca61f08e6a4ab7b264f32095585d2a4ba22a" - integrity sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w== + "integrity" "sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w==" + "resolved" "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz" + "version" "0.16.1" dependencies: "@babel/core" "7.18.10" "@babel/generator" "7.18.12" @@ -2983,30 +3833,30 @@ "@babel/traverse" "7.18.11" "@babel/types" "7.18.10" "@pyramation/json-schema-to-typescript" " 11.0.4" - case "1.6.3" - dargs "7.0.0" - deepmerge "4.2.2" - dotty "0.1.2" - fuzzy "0.1.3" - glob "8.0.3" - inquirerer "0.1.3" - long "^5.2.0" - minimist "1.2.6" - mkdirp "1.0.4" - parse-package-name "1.0.0" - rimraf "3.0.2" - shelljs "0.8.5" - wasm-ast-types "^0.11.1" + "case" "1.6.3" + "dargs" "7.0.0" + "deepmerge" "4.2.2" + "dotty" "0.1.2" + "fuzzy" "0.1.3" + "glob" "8.0.3" + "inquirerer" "0.1.3" + "long" "^5.2.0" + "minimist" "1.2.6" + "mkdirp" "1.0.4" + "parse-package-name" "1.0.0" + "rimraf" "3.0.2" + "shelljs" "0.8.5" + "wasm-ast-types" "^0.11.1" "@ctrl/tinycolor@^3.4.0": - version "3.4.1" - resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" - integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + "integrity" "sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==" + "resolved" "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" + "version" "3.4.1" "@emotion/babel-plugin@^11.10.0": - version "11.10.2" - resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" - integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + "integrity" "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==" + "resolved" "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz" + "version" "11.10.2" dependencies: "@babel/helper-module-imports" "^7.16.7" "@babel/plugin-syntax-jsx" "^7.17.12" @@ -3014,57 +3864,57 @@ "@emotion/hash" "^0.9.0" "@emotion/memoize" "^0.8.0" "@emotion/serialize" "^1.1.0" - babel-plugin-macros "^3.1.0" - convert-source-map "^1.5.0" - escape-string-regexp "^4.0.0" - find-root "^1.1.0" - source-map "^0.5.7" - stylis "4.0.13" + "babel-plugin-macros" "^3.1.0" + "convert-source-map" "^1.5.0" + "escape-string-regexp" "^4.0.0" + "find-root" "^1.1.0" + "source-map" "^0.5.7" + "stylis" "4.0.13" "@emotion/cache@^11.10.0", "@emotion/cache@^11.4.0": - version "11.10.3" - resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87" - integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + "integrity" "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==" + "resolved" "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + "version" "11.10.3" dependencies: "@emotion/memoize" "^0.8.0" "@emotion/sheet" "^1.2.0" "@emotion/utils" "^1.2.0" "@emotion/weak-memoize" "^0.3.0" - stylis "4.0.13" + "stylis" "4.0.13" "@emotion/hash@^0.9.0": - version "0.9.0" - resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" - integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + "integrity" "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==" + "resolved" "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz" + "version" "0.9.0" "@emotion/is-prop-valid@^0.8.2": - version "0.8.8" - resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" - integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + "integrity" "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==" + "resolved" "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + "version" "0.8.8" dependencies: "@emotion/memoize" "0.7.4" "@emotion/is-prop-valid@^1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" - integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + "integrity" "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==" + "resolved" "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz" + "version" "1.2.0" dependencies: "@emotion/memoize" "^0.8.0" -"@emotion/memoize@0.7.4": - version "0.7.4" - resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" - integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== - "@emotion/memoize@^0.8.0": - version "0.8.0" - resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" - integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + "integrity" "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==" + "resolved" "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz" + "version" "0.8.0" + +"@emotion/memoize@0.7.4": + "integrity" "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==" + "resolved" "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + "version" "0.7.4" -"@emotion/react@11.10.4", "@emotion/react@^11", "@emotion/react@^11.8.1": - version "11.10.4" - resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz#9dc6bccbda5d70ff68fdb204746c0e8b13a79199" - integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== +"@emotion/react@^11", "@emotion/react@^11.0.0", "@emotion/react@^11.0.0-rc.0", "@emotion/react@^11.8.1", "@emotion/react@>=10.0.35", "@emotion/react@11.10.4": + "integrity" "sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA==" + "resolved" "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + "version" "11.10.4" dependencies: "@babel/runtime" "^7.18.3" "@emotion/babel-plugin" "^11.10.0" @@ -3073,28 +3923,28 @@ "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" "@emotion/utils" "^1.2.0" "@emotion/weak-memoize" "^0.3.0" - hoist-non-react-statics "^3.3.1" + "hoist-non-react-statics" "^3.3.1" "@emotion/serialize@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" - integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + "integrity" "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==" + "resolved" "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz" + "version" "1.1.0" dependencies: "@emotion/hash" "^0.9.0" "@emotion/memoize" "^0.8.0" "@emotion/unitless" "^0.8.0" "@emotion/utils" "^1.2.0" - csstype "^3.0.2" + "csstype" "^3.0.2" "@emotion/sheet@^1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" - integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + "integrity" "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w==" + "resolved" "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz" + "version" "1.2.0" -"@emotion/styled@11.10.4", "@emotion/styled@^11": - version "11.10.4" - resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz#e93f84a4d54003c2acbde178c3f97b421fce1cd4" - integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== +"@emotion/styled@^11", "@emotion/styled@^11.0.0", "@emotion/styled@11.10.4": + "integrity" "sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ==" + "resolved" "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + "version" "11.10.4" dependencies: "@babel/runtime" "^7.18.3" "@emotion/babel-plugin" "^11.10.0" @@ -3104,44 +3954,44 @@ "@emotion/utils" "^1.2.0" "@emotion/unitless@^0.8.0": - version "0.8.0" - resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" - integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + "integrity" "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw==" + "resolved" "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz" + "version" "0.8.0" "@emotion/use-insertion-effect-with-fallbacks@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" - integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + "integrity" "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==" + "resolved" "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz" + "version" "1.0.0" "@emotion/utils@^1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" - integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + "integrity" "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw==" + "resolved" "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz" + "version" "1.2.0" "@emotion/weak-memoize@^0.3.0": - version "0.3.0" - resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" - integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + "integrity" "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==" + "resolved" "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz" + "version" "0.3.0" "@eslint/eslintrc@^1.3.0": - version "1.3.2" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" - integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== - dependencies: - ajv "^6.12.4" - debug "^4.3.2" - espree "^9.4.0" - globals "^13.15.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" + "integrity" "sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==" + "resolved" "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz" + "version" "1.3.2" + dependencies: + "ajv" "^6.12.4" + "debug" "^4.3.2" + "espree" "^9.4.0" + "globals" "^13.15.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" "@ethersproject/address@^5.6.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" - integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + "integrity" "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==" + "resolved" "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -3150,145 +4000,145 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/bignumber@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" - integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + "integrity" "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==" + "resolved" "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" - bn.js "^5.2.1" + "bn.js" "^5.2.1" "@ethersproject/bytes@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" - integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + "integrity" "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==" + "resolved" "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/logger" "^5.7.0" "@ethersproject/keccak256@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" - integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + "integrity" "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==" + "resolved" "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" - js-sha3 "0.8.0" + "js-sha3" "0.8.0" "@ethersproject/logger@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" - integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + "integrity" "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" + "resolved" "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz" + "version" "5.7.0" "@ethersproject/rlp@^5.7.0": - version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" - integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + "integrity" "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==" + "resolved" "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" "@gar/promisify@^1.0.1": - version "1.1.3" - resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== + "integrity" "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" + "resolved" "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" + "version" "1.1.3" "@humanwhocodes/config-array@^0.10.4": - version "0.10.4" - resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" - integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw== + "integrity" "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==" + "resolved" "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" + "version" "0.10.4" dependencies: "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" - minimatch "^3.0.4" + "debug" "^4.1.1" + "minimatch" "^3.0.4" "@humanwhocodes/gitignore-to-minimatch@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" - integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== + "integrity" "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==" + "resolved" "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz" + "version" "1.0.2" "@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== + "integrity" "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "resolved" "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" + "version" "1.2.1" "@hutson/parse-repository-url@^3.0.0": - version "3.0.2" - resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" - integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== + "integrity" "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==" + "resolved" "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz" + "version" "3.0.2" "@iov/crypto@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" - integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + "integrity" "sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q==" + "resolved" "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz" + "version" "2.1.0" dependencies: "@iov/encoding" "^2.1.0" - bip39 "^3.0.2" - bn.js "^4.11.8" - elliptic "^6.4.0" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - pbkdf2 "^3.0.16" - ripemd160 "^2.0.2" - sha.js "^2.4.11" - type-tagger "^1.0.0" - unorm "^1.5.0" - -"@iov/encoding@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" - integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== - dependencies: - base64-js "^1.3.0" - bech32 "^1.1.3" - bn.js "^4.11.8" - readonly-date "^1.0.0" + "bip39" "^3.0.2" + "bn.js" "^4.11.8" + "elliptic" "^6.4.0" + "js-sha3" "^0.8.0" + "libsodium-wrappers" "^0.7.6" + "pbkdf2" "^3.0.16" + "ripemd160" "^2.0.2" + "sha.js" "^2.4.11" + "type-tagger" "^1.0.0" + "unorm" "^1.5.0" "@iov/encoding@^2.1.0": - version "2.5.0" - resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" - integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + "integrity" "sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA==" + "resolved" "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz" + "version" "2.5.0" dependencies: "@cosmjs/encoding" "^0.20.0" "@cosmjs/math" "^0.20.0" "@cosmjs/utils" "^0.20.0" - readonly-date "^1.0.0" + "readonly-date" "^1.0.0" + +"@iov/encoding@2.1.0": + "integrity" "sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w==" + "resolved" "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "base64-js" "^1.3.0" + "bech32" "^1.1.3" + "bn.js" "^4.11.8" + "readonly-date" "^1.0.0" "@iov/utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" - integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + "integrity" "sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw==" + "resolved" "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz" + "version" "2.0.2" "@istanbuljs/load-nyc-config@^1.0.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" - integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + "integrity" "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==" + "resolved" "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + "version" "1.1.0" dependencies: - camelcase "^5.3.1" - find-up "^4.1.0" - get-package-type "^0.1.0" - js-yaml "^3.13.1" - resolve-from "^5.0.0" + "camelcase" "^5.3.1" + "find-up" "^4.1.0" + "get-package-type" "^0.1.0" + "js-yaml" "^3.13.1" + "resolve-from" "^5.0.0" "@istanbuljs/schema@^0.1.2": - version "0.1.3" - resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + "integrity" "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==" + "resolved" "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + "version" "0.1.3" "@jest/console@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz#2030606ec03a18c31803b8a36382762e447655df" - integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== + "integrity" "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==" + "resolved" "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" "@types/node" "*" - chalk "^4.0.0" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - slash "^3.0.0" + "chalk" "^4.0.0" + "jest-message-util" "^28.1.3" + "jest-util" "^28.1.3" + "slash" "^3.0.0" "@jest/core@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/core/-/core-28.1.3.tgz#0ebf2bd39840f1233cd5f2d1e6fc8b71bd5a1ac7" - integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== + "integrity" "sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA==" + "resolved" "https://registry.npmjs.org/@jest/core/-/core-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/console" "^28.1.3" "@jest/reporters" "^28.1.3" @@ -3296,80 +4146,80 @@ "@jest/transform" "^28.1.3" "@jest/types" "^28.1.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 "^28.1.3" - jest-config "^28.1.3" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-resolve-dependencies "^28.1.3" - jest-runner "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" - jest-watcher "^28.1.3" - micromatch "^4.0.4" - pretty-format "^28.1.3" - rimraf "^3.0.0" - slash "^3.0.0" - strip-ansi "^6.0.0" + "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" "^28.1.3" + "jest-config" "^28.1.3" + "jest-haste-map" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-regex-util" "^28.0.2" + "jest-resolve" "^28.1.3" + "jest-resolve-dependencies" "^28.1.3" + "jest-runner" "^28.1.3" + "jest-runtime" "^28.1.3" + "jest-snapshot" "^28.1.3" + "jest-util" "^28.1.3" + "jest-validate" "^28.1.3" + "jest-watcher" "^28.1.3" + "micromatch" "^4.0.4" + "pretty-format" "^28.1.3" + "rimraf" "^3.0.0" + "slash" "^3.0.0" + "strip-ansi" "^6.0.0" "@jest/environment@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-28.1.3.tgz#abed43a6b040a4c24fdcb69eab1f97589b2d663e" - integrity sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA== + "integrity" "sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA==" + "resolved" "https://registry.npmjs.org/@jest/environment/-/environment-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/fake-timers" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - jest-mock "^28.1.3" + "jest-mock" "^28.1.3" "@jest/expect-utils@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-28.1.3.tgz#58561ce5db7cd253a7edddbc051fb39dda50f525" - integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== + "integrity" "sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA==" + "resolved" "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-28.1.3.tgz" + "version" "28.1.3" dependencies: - jest-get-type "^28.0.2" + "jest-get-type" "^28.0.2" "@jest/expect@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/expect/-/expect-28.1.3.tgz#9ac57e1d4491baca550f6bdbd232487177ad6a72" - integrity sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw== + "integrity" "sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw==" + "resolved" "https://registry.npmjs.org/@jest/expect/-/expect-28.1.3.tgz" + "version" "28.1.3" dependencies: - expect "^28.1.3" - jest-snapshot "^28.1.3" + "expect" "^28.1.3" + "jest-snapshot" "^28.1.3" "@jest/fake-timers@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-28.1.3.tgz#230255b3ad0a3d4978f1d06f70685baea91c640e" - integrity sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw== + "integrity" "sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw==" + "resolved" "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-util "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-mock" "^28.1.3" + "jest-util" "^28.1.3" "@jest/globals@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/globals/-/globals-28.1.3.tgz#a601d78ddc5fdef542728309894895b4a42dc333" - integrity sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA== + "integrity" "sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA==" + "resolved" "https://registry.npmjs.org/@jest/globals/-/globals-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/environment" "^28.1.3" "@jest/expect" "^28.1.3" "@jest/types" "^28.1.3" "@jest/reporters@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-28.1.3.tgz#9adf6d265edafc5fc4a434cfb31e2df5a67a369a" - integrity sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg== + "integrity" "sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg==" + "resolved" "https://registry.npmjs.org/@jest/reporters/-/reporters-28.1.3.tgz" + "version" "28.1.3" dependencies: "@bcoe/v8-coverage" "^0.2.3" "@jest/console" "^28.1.3" @@ -3378,152 +4228,152 @@ "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" "@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 "^5.1.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - jest-worker "^28.1.3" - slash "^3.0.0" - string-length "^4.0.1" - strip-ansi "^6.0.0" - terminal-link "^2.0.0" - v8-to-istanbul "^9.0.1" + "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" "^5.1.0" + "istanbul-lib-report" "^3.0.0" + "istanbul-lib-source-maps" "^4.0.0" + "istanbul-reports" "^3.1.3" + "jest-message-util" "^28.1.3" + "jest-util" "^28.1.3" + "jest-worker" "^28.1.3" + "slash" "^3.0.0" + "string-length" "^4.0.1" + "strip-ansi" "^6.0.0" + "terminal-link" "^2.0.0" + "v8-to-istanbul" "^9.0.1" "@jest/schemas@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" - integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + "integrity" "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==" + "resolved" "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz" + "version" "28.1.3" dependencies: "@sinclair/typebox" "^0.24.1" "@jest/source-map@^28.1.2": - version "28.1.2" - resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-28.1.2.tgz#7fe832b172b497d6663cdff6c13b0a920e139e24" - integrity sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww== + "integrity" "sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww==" + "resolved" "https://registry.npmjs.org/@jest/source-map/-/source-map-28.1.2.tgz" + "version" "28.1.2" dependencies: "@jridgewell/trace-mapping" "^0.3.13" - callsites "^3.0.0" - graceful-fs "^4.2.9" + "callsites" "^3.0.0" + "graceful-fs" "^4.2.9" "@jest/test-result@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz#5eae945fd9f4b8fcfce74d239e6f725b6bf076c5" - integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== + "integrity" "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==" + "resolved" "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/console" "^28.1.3" "@jest/types" "^28.1.3" "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" + "collect-v8-coverage" "^1.0.0" "@jest/test-sequencer@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz#9d0c283d906ac599c74bde464bc0d7e6a82886c3" - integrity sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw== + "integrity" "sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw==" + "resolved" "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/test-result" "^28.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - slash "^3.0.0" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^28.1.3" + "slash" "^3.0.0" -"@jest/transform@28.1.3", "@jest/transform@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" - integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== +"@jest/transform@^28.1.3", "@jest/transform@28.1.3": + "integrity" "sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==" + "resolved" "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz" + "version" "28.1.3" dependencies: "@babel/core" "^7.11.6" "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - write-file-atomic "^4.0.1" - -"@jest/types@^28.1.3": - version "28.1.3" - resolved "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" - integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== + "babel-plugin-istanbul" "^6.1.1" + "chalk" "^4.0.0" + "convert-source-map" "^1.4.0" + "fast-json-stable-stringify" "^2.0.0" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^28.1.3" + "jest-regex-util" "^28.0.2" + "jest-util" "^28.1.3" + "micromatch" "^4.0.4" + "pirates" "^4.0.4" + "slash" "^3.0.0" + "write-file-atomic" "^4.0.1" + +"@jest/types@^28.0.0", "@jest/types@^28.1.3": + "integrity" "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==" + "resolved" "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/schemas" "^28.1.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" + "chalk" "^4.0.0" "@jridgewell/gen-mapping@^0.1.0": - version "0.1.1" - resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" - integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + "integrity" "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==" + "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + "version" "0.1.1" dependencies: "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/gen-mapping@^0.3.2": - version "0.3.2" - resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" - integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + "integrity" "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==" + "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + "version" "0.3.2" dependencies: "@jridgewell/set-array" "^1.0.1" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" "@jridgewell/resolve-uri@^3.0.3": - version "3.1.0" - resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + "integrity" "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" + "resolved" "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + "version" "3.1.0" "@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + "integrity" "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" + "resolved" "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + "version" "1.1.2" "@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + "integrity" "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "resolved" "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + "version" "1.4.14" "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.8", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.15" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" - integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== + "integrity" "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==" + "resolved" "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz" + "version" "0.3.15" dependencies: "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" "@jsdevtools/ono@^7.1.3": - version "7.1.3" - resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" - integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "integrity" "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + "resolved" "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" + "version" "7.1.3" "@keplr-wallet/common@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.24.tgz#f6c625975b494b6ac4326180d75ec5524e150638" - integrity sha512-cQgGSgvQGJ4f6yjH2JPtpR7xve83VGHEgNPuYV2C0lIKYjWHmu7Zq20uF3BWU6tc+5LAieOoz3mJDfdLNNvN+w== + "integrity" "sha512-cQgGSgvQGJ4f6yjH2JPtpR7xve83VGHEgNPuYV2C0lIKYjWHmu7Zq20uF3BWU6tc+5LAieOoz3mJDfdLNNvN+w==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.24.tgz" + "version" "0.10.24" dependencies: "@keplr-wallet/crypto" "0.10.24" - buffer "^6.0.3" - delay "^4.4.0" + "buffer" "^6.0.3" + "delay" "^4.4.0" "@keplr-wallet/cosmos@^0.10.24", "@keplr-wallet/cosmos@^0.10.3": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" - integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + "integrity" "sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz" + "version" "0.10.24" dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@ethersproject/address" "^5.6.0" @@ -3531,76 +4381,76 @@ "@keplr-wallet/proto-types" "0.10.24" "@keplr-wallet/types" "0.10.24" "@keplr-wallet/unit" "0.10.24" - axios "^0.27.2" - bech32 "^1.1.4" - buffer "^6.0.3" - long "^4.0.0" - protobufjs "^6.11.2" - -"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.11", "@keplr-wallet/crypto@^0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" - integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== - dependencies: - bip32 "^2.0.6" - bip39 "^3.0.3" - bs58check "^2.1.2" - buffer "^6.0.3" - crypto-js "^4.0.0" - elliptic "^6.5.3" - sha.js "^2.4.11" + "axios" "^0.27.2" + "bech32" "^1.1.4" + "buffer" "^6.0.3" + "long" "^4.0.0" + "protobufjs" "^6.11.2" + +"@keplr-wallet/crypto@^0.10.11", "@keplr-wallet/crypto@^0.10.24", "@keplr-wallet/crypto@0.10.24": + "integrity" "sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz" + "version" "0.10.24" + dependencies: + "bip32" "^2.0.6" + "bip39" "^3.0.3" + "bs58check" "^2.1.2" + "buffer" "^6.0.3" + "crypto-js" "^4.0.0" + "elliptic" "^6.5.3" + "sha.js" "^2.4.11" "@keplr-wallet/proto-types@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" - integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + "integrity" "sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz" + "version" "0.10.24" dependencies: - long "^4.0.0" - protobufjs "^6.11.2" + "long" "^4.0.0" + "protobufjs" "^6.11.2" "@keplr-wallet/provider@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.24.tgz#e5dbdb667dc78f76a93290d098cfa227637db318" - integrity sha512-m0PP9A3T41G9jI8gTCAP+3oakKMRx2Y2cXi+WTK02l9XzRRzO2uUU6aQwmaqArYSF2Qyq361UF/mUIbK43f6qw== + "integrity" "sha512-m0PP9A3T41G9jI8gTCAP+3oakKMRx2Y2cXi+WTK02l9XzRRzO2uUU6aQwmaqArYSF2Qyq361UF/mUIbK43f6qw==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.24.tgz" + "version" "0.10.24" dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" "@keplr-wallet/router" "0.10.24" "@keplr-wallet/types" "0.10.24" - buffer "^6.0.3" - deepmerge "^4.2.2" - long "^4.0.0" - secretjs "^0.17.0" + "buffer" "^6.0.3" + "deepmerge" "^4.2.2" + "long" "^4.0.0" + "secretjs" "^0.17.0" "@keplr-wallet/router@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.24.tgz#7d975d5e9273bbe9496d8af7d952eef3727e54fb" - integrity sha512-hZLzCSm9lrL5rWLYuEzoIc4lLGMfs+PNTlTcUGgEjd9BjQiBlEGAPK6a4cfa0L5SUirJv5szBoBR2UI2LwB/wg== + "integrity" "sha512-hZLzCSm9lrL5rWLYuEzoIc4lLGMfs+PNTlTcUGgEjd9BjQiBlEGAPK6a4cfa0L5SUirJv5szBoBR2UI2LwB/wg==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.24.tgz" + "version" "0.10.24" -"@keplr-wallet/types@0.10.24", "@keplr-wallet/types@^0.10": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" - integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== +"@keplr-wallet/types@^0.10", "@keplr-wallet/types@0.10.24": + "integrity" "sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz" + "version" "0.10.24" dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - axios "^0.27.2" - long "^4.0.0" - secretjs "^0.17.0" + "axios" "^0.27.2" + "long" "^4.0.0" + "secretjs" "^0.17.0" "@keplr-wallet/unit@0.10.24": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" - integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + "integrity" "sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz" + "version" "0.10.24" dependencies: "@keplr-wallet/types" "0.10.24" - big-integer "^1.6.48" - utility-types "^3.10.0" + "big-integer" "^1.6.48" + "utility-types" "^3.10.0" "@keplr-wallet/wc-client@^0.10.20": - version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.10.24.tgz#5226772a7100aec56055844d4573426953b92496" - integrity sha512-vJOoZNX8Qr63kMQ4cLHYFaM4Q5FwsUypp4Tnztrt//yHreI9Qtwb2Am2E5MFYln4lb/JFOz94R09GEEEDP7hKA== + "integrity" "sha512-vJOoZNX8Qr63kMQ4cLHYFaM4Q5FwsUypp4Tnztrt//yHreI9Qtwb2Am2E5MFYln4lb/JFOz94R09GEEEDP7hKA==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.10.24.tgz" + "version" "0.10.24" dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" @@ -3609,30 +4459,30 @@ "@keplr-wallet/types" "0.10.24" "@walletconnect/types" "^1.6.4" "@walletconnect/utils" "^1.6.4" - buffer "^6.0.3" - deepmerge "^4.2.2" - secretjs "^0.17.0" + "buffer" "^6.0.3" + "deepmerge" "^4.2.2" + "secretjs" "^0.17.0" "@lerna/add@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f" - integrity sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng== + "integrity" "sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng==" + "resolved" "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/bootstrap" "4.0.0" "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" "@lerna/npm-conf" "4.0.0" "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - npm-package-arg "^8.1.0" - p-map "^4.0.0" - pacote "^11.2.6" - semver "^7.3.4" + "dedent" "^0.7.0" + "npm-package-arg" "^8.1.0" + "p-map" "^4.0.0" + "pacote" "^11.2.6" + "semver" "^7.3.4" "@lerna/bootstrap@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz#5f5c5e2c6cfc8fcec50cb2fbe569a8c607101891" - integrity sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw== + "integrity" "sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw==" + "resolved" "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -3646,21 +4496,21 @@ "@lerna/symlink-binary" "4.0.0" "@lerna/symlink-dependencies" "4.0.0" "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - get-port "^5.1.1" - multimatch "^5.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" - read-package-tree "^5.3.1" - semver "^7.3.4" + "dedent" "^0.7.0" + "get-port" "^5.1.1" + "multimatch" "^5.0.0" + "npm-package-arg" "^8.1.0" + "npmlog" "^4.1.2" + "p-map" "^4.0.0" + "p-map-series" "^2.1.0" + "p-waterfall" "^2.1.1" + "read-package-tree" "^5.3.1" + "semver" "^7.3.4" "@lerna/changed@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz#b9fc76cea39b9292a6cd263f03eb57af85c9270b" - integrity sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ== + "integrity" "sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ==" + "resolved" "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/collect-updates" "4.0.0" "@lerna/command" "4.0.0" @@ -3668,155 +4518,155 @@ "@lerna/output" "4.0.0" "@lerna/check-working-tree@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz#257e36a602c00142e76082a19358e3e1ae8dbd58" - integrity sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q== + "integrity" "sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q==" + "resolved" "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/collect-uncommitted" "4.0.0" "@lerna/describe-ref" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/child-process@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz#341b96a57dffbd9705646d316e231df6fa4df6e1" - integrity sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q== + "integrity" "sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q==" + "resolved" "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz" + "version" "4.0.0" dependencies: - chalk "^4.1.0" - execa "^5.0.0" - strong-log-transformer "^2.1.0" + "chalk" "^4.1.0" + "execa" "^5.0.0" + "strong-log-transformer" "^2.1.0" "@lerna/clean@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz#8f778b6f2617aa2a936a6b5e085ae62498e57dc5" - integrity sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA== + "integrity" "sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA==" + "resolved" "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" "@lerna/prompt" "4.0.0" "@lerna/pulse-till-done" "4.0.0" "@lerna/rimraf-dir" "4.0.0" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" + "p-map" "^4.0.0" + "p-map-series" "^2.1.0" + "p-waterfall" "^2.1.1" "@lerna/cli@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz#8eabd334558836c1664df23f19acb95e98b5bbf3" - integrity sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA== + "integrity" "sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA==" + "resolved" "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/global-options" "4.0.0" - dedent "^0.7.0" - npmlog "^4.1.2" - yargs "^16.2.0" + "dedent" "^0.7.0" + "npmlog" "^4.1.2" + "yargs" "^16.2.0" "@lerna/collect-uncommitted@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz#855cd64612969371cfc2453b90593053ff1ba779" - integrity sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g== + "integrity" "sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g==" + "resolved" "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" - chalk "^4.1.0" - npmlog "^4.1.2" + "chalk" "^4.1.0" + "npmlog" "^4.1.2" "@lerna/collect-updates@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz#8e208b1bafd98a372ff1177f7a5e288f6bea8041" - integrity sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw== + "integrity" "sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw==" + "resolved" "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/describe-ref" "4.0.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - slash "^3.0.0" + "minimatch" "^3.0.4" + "npmlog" "^4.1.2" + "slash" "^3.0.0" "@lerna/command@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz#991c7971df8f5bf6ae6e42c808869a55361c1b98" - integrity sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A== + "integrity" "sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A==" + "resolved" "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/package-graph" "4.0.0" "@lerna/project" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/write-log-file" "4.0.0" - clone-deep "^4.0.1" - dedent "^0.7.0" - execa "^5.0.0" - is-ci "^2.0.0" - npmlog "^4.1.2" + "clone-deep" "^4.0.1" + "dedent" "^0.7.0" + "execa" "^5.0.0" + "is-ci" "^2.0.0" + "npmlog" "^4.1.2" "@lerna/conventional-commits@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz#660fb2c7b718cb942ead70110df61f18c6f99750" - integrity sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw== + "integrity" "sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw==" + "resolved" "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/validation-error" "4.0.0" - conventional-changelog-angular "^5.0.12" - conventional-changelog-core "^4.2.2" - conventional-recommended-bump "^6.1.0" - fs-extra "^9.1.0" - get-stream "^6.0.0" - lodash.template "^4.5.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - pify "^5.0.0" - semver "^7.3.4" + "conventional-changelog-angular" "^5.0.12" + "conventional-changelog-core" "^4.2.2" + "conventional-recommended-bump" "^6.1.0" + "fs-extra" "^9.1.0" + "get-stream" "^6.0.0" + "lodash.template" "^4.5.0" + "npm-package-arg" "^8.1.0" + "npmlog" "^4.1.2" + "pify" "^5.0.0" + "semver" "^7.3.4" "@lerna/create-symlink@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz#8c5317ce5ae89f67825443bd7651bf4121786228" - integrity sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig== + "integrity" "sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig==" + "resolved" "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz" + "version" "4.0.0" dependencies: - cmd-shim "^4.1.0" - fs-extra "^9.1.0" - npmlog "^4.1.2" + "cmd-shim" "^4.1.0" + "fs-extra" "^9.1.0" + "npmlog" "^4.1.2" "@lerna/create@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz#b6947e9b5dfb6530321952998948c3e63d64d730" - integrity sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag== + "integrity" "sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag==" + "resolved" "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/npm-conf" "4.0.0" "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - fs-extra "^9.1.0" - globby "^11.0.2" - init-package-json "^2.0.2" - npm-package-arg "^8.1.0" - p-reduce "^2.1.0" - pacote "^11.2.6" - pify "^5.0.0" - semver "^7.3.4" - slash "^3.0.0" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^3.0.0" - whatwg-url "^8.4.0" - yargs-parser "20.2.4" + "dedent" "^0.7.0" + "fs-extra" "^9.1.0" + "globby" "^11.0.2" + "init-package-json" "^2.0.2" + "npm-package-arg" "^8.1.0" + "p-reduce" "^2.1.0" + "pacote" "^11.2.6" + "pify" "^5.0.0" + "semver" "^7.3.4" + "slash" "^3.0.0" + "validate-npm-package-license" "^3.0.4" + "validate-npm-package-name" "^3.0.0" + "whatwg-url" "^8.4.0" + "yargs-parser" "20.2.4" "@lerna/describe-ref@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz#53c53b4ea65fdceffa072a62bfebe6772c45d9ec" - integrity sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ== + "integrity" "sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ==" + "resolved" "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/diff@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz#6d3071817aaa4205a07bf77cfc6e932796d48b92" - integrity sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag== + "integrity" "sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag==" + "resolved" "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/validation-error" "4.0.0" - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/exec@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz#eb6cb95cb92d42590e9e2d628fcaf4719d4a8be6" - integrity sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw== + "integrity" "sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw==" + "resolved" "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" @@ -3824,125 +4674,125 @@ "@lerna/profiler" "4.0.0" "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" - p-map "^4.0.0" + "p-map" "^4.0.0" "@lerna/filter-options@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz#ac94cc515d7fa3b47e2f7d74deddeabb1de5e9e6" - integrity sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw== + "integrity" "sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw==" + "resolved" "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/collect-updates" "4.0.0" "@lerna/filter-packages" "4.0.0" - dedent "^0.7.0" - npmlog "^4.1.2" + "dedent" "^0.7.0" + "npmlog" "^4.1.2" "@lerna/filter-packages@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz#b1f70d70e1de9cdd36a4e50caa0ac501f8d012f2" - integrity sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA== + "integrity" "sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA==" + "resolved" "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/validation-error" "4.0.0" - multimatch "^5.0.0" - npmlog "^4.1.2" + "multimatch" "^5.0.0" + "npmlog" "^4.1.2" "@lerna/get-npm-exec-opts@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz#dc955be94a4ae75c374ef9bce91320887d34608f" - integrity sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ== + "integrity" "sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ==" + "resolved" "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz" + "version" "4.0.0" dependencies: - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/get-packed@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz#0989d61624ac1f97e393bdad2137c49cd7a37823" - integrity sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w== + "integrity" "sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w==" + "resolved" "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz" + "version" "4.0.0" dependencies: - fs-extra "^9.1.0" - ssri "^8.0.1" - tar "^6.1.0" + "fs-extra" "^9.1.0" + "ssri" "^8.0.1" + "tar" "^6.1.0" "@lerna/github-client@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz#2ced67721363ef70f8e12ffafce4410918f4a8a4" - integrity sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw== + "integrity" "sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw==" + "resolved" "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@octokit/plugin-enterprise-rest" "^6.0.1" "@octokit/rest" "^18.1.0" - git-url-parse "^11.4.4" - npmlog "^4.1.2" + "git-url-parse" "^11.4.4" + "npmlog" "^4.1.2" "@lerna/gitlab-client@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz#00dad73379c7b38951d4b4ded043504c14e2b67d" - integrity sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA== + "integrity" "sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA==" + "resolved" "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz" + "version" "4.0.0" dependencies: - node-fetch "^2.6.1" - npmlog "^4.1.2" - whatwg-url "^8.4.0" + "node-fetch" "^2.6.1" + "npmlog" "^4.1.2" + "whatwg-url" "^8.4.0" "@lerna/global-options@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz#c7d8b0de6a01d8a845e2621ea89e7f60f18c6a5f" - integrity sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ== + "integrity" "sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ==" + "resolved" "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz" + "version" "4.0.0" "@lerna/has-npm-version@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz#d3fc3292c545eb28bd493b36e6237cf0279f631c" - integrity sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg== + "integrity" "sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg==" + "resolved" "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" - semver "^7.3.4" + "semver" "^7.3.4" "@lerna/import@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz#bde656c4a451fa87ae41733ff8a8da60547c5465" - integrity sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg== + "integrity" "sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg==" + "resolved" "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/prompt" "4.0.0" "@lerna/pulse-till-done" "4.0.0" "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - fs-extra "^9.1.0" - p-map-series "^2.1.0" + "dedent" "^0.7.0" + "fs-extra" "^9.1.0" + "p-map-series" "^2.1.0" "@lerna/info@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz#b9fb0e479d60efe1623603958a831a88b1d7f1fc" - integrity sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q== + "integrity" "sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q==" + "resolved" "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/output" "4.0.0" - envinfo "^7.7.4" + "envinfo" "^7.7.4" "@lerna/init@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz#dadff67e6dfb981e8ccbe0e6a310e837962f6c7a" - integrity sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ== + "integrity" "sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ==" + "resolved" "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" - write-json-file "^4.3.0" + "fs-extra" "^9.1.0" + "p-map" "^4.0.0" + "write-json-file" "^4.3.0" "@lerna/link@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz#c3a38aabd44279d714e90f2451e31b63f0fb65ba" - integrity sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w== + "integrity" "sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w==" + "resolved" "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/package-graph" "4.0.0" "@lerna/symlink-dependencies" "4.0.0" - p-map "^4.0.0" - slash "^3.0.0" + "p-map" "^4.0.0" + "slash" "^3.0.0" "@lerna/list@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz#24b4e6995bd73f81c556793fe502b847efd9d1d7" - integrity sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg== + "integrity" "sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg==" + "resolved" "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -3950,171 +4800,171 @@ "@lerna/output" "4.0.0" "@lerna/listable@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz#d00d6cb4809b403f2b0374fc521a78e318b01214" - integrity sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ== + "integrity" "sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ==" + "resolved" "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/query-graph" "4.0.0" - chalk "^4.1.0" - columnify "^1.5.4" + "chalk" "^4.1.0" + "columnify" "^1.5.4" "@lerna/log-packed@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz#95168fe2e26ac6a71e42f4be857519b77e57a09f" - integrity sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ== + "integrity" "sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ==" + "resolved" "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz" + "version" "4.0.0" dependencies: - byte-size "^7.0.0" - columnify "^1.5.4" - has-unicode "^2.0.1" - npmlog "^4.1.2" + "byte-size" "^7.0.0" + "columnify" "^1.5.4" + "has-unicode" "^2.0.1" + "npmlog" "^4.1.2" "@lerna/npm-conf@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz#b259fd1e1cee2bf5402b236e770140ff9ade7fd2" - integrity sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw== + "integrity" "sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw==" + "resolved" "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz" + "version" "4.0.0" dependencies: - config-chain "^1.1.12" - pify "^5.0.0" + "config-chain" "^1.1.12" + "pify" "^5.0.0" "@lerna/npm-dist-tag@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz#d1e99b4eccd3414142f0548ad331bf2d53f3257a" - integrity sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw== + "integrity" "sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw==" + "resolved" "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/otplease" "4.0.0" - npm-package-arg "^8.1.0" - npm-registry-fetch "^9.0.0" - npmlog "^4.1.2" + "npm-package-arg" "^8.1.0" + "npm-registry-fetch" "^9.0.0" + "npmlog" "^4.1.2" "@lerna/npm-install@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz#31180be3ab3b7d1818a1a0c206aec156b7094c78" - integrity sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg== + "integrity" "sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg==" + "resolved" "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/get-npm-exec-opts" "4.0.0" - fs-extra "^9.1.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - signal-exit "^3.0.3" - write-pkg "^4.0.0" + "fs-extra" "^9.1.0" + "npm-package-arg" "^8.1.0" + "npmlog" "^4.1.2" + "signal-exit" "^3.0.3" + "write-pkg" "^4.0.0" "@lerna/npm-publish@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz#84eb62e876fe949ae1fd62c60804423dbc2c4472" - integrity sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w== + "integrity" "sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w==" + "resolved" "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/otplease" "4.0.0" "@lerna/run-lifecycle" "4.0.0" - fs-extra "^9.1.0" - libnpmpublish "^4.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - pify "^5.0.0" - read-package-json "^3.0.0" + "fs-extra" "^9.1.0" + "libnpmpublish" "^4.0.0" + "npm-package-arg" "^8.1.0" + "npmlog" "^4.1.2" + "pify" "^5.0.0" + "read-package-json" "^3.0.0" "@lerna/npm-run-script@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz#dfebf4f4601442e7c0b5214f9fb0d96c9350743b" - integrity sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA== + "integrity" "sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA==" + "resolved" "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" "@lerna/get-npm-exec-opts" "4.0.0" - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/otplease@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz#84972eb43448f8a1077435ba1c5e59233b725850" - integrity sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw== + "integrity" "sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw==" + "resolved" "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/prompt" "4.0.0" "@lerna/output@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz#b1d72215c0e35483e4f3e9994debc82c621851f2" - integrity sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w== + "integrity" "sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w==" + "resolved" "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz" + "version" "4.0.0" dependencies: - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/pack-directory@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz#8b617db95d20792f043aaaa13a9ccc0e04cb4c74" - integrity sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ== + "integrity" "sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ==" + "resolved" "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/get-packed" "4.0.0" "@lerna/package" "4.0.0" "@lerna/run-lifecycle" "4.0.0" - npm-packlist "^2.1.4" - npmlog "^4.1.2" - tar "^6.1.0" - temp-write "^4.0.0" + "npm-packlist" "^2.1.4" + "npmlog" "^4.1.2" + "tar" "^6.1.0" + "temp-write" "^4.0.0" "@lerna/package-graph@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz#16a00253a8ac810f72041481cb46bcee8d8123dd" - integrity sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw== + "integrity" "sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw==" + "resolved" "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/prerelease-id-from-version" "4.0.0" "@lerna/validation-error" "4.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - semver "^7.3.4" + "npm-package-arg" "^8.1.0" + "npmlog" "^4.1.2" + "semver" "^7.3.4" "@lerna/package@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz#1b4c259c4bcff45c876ee1d591a043aacbc0d6b7" - integrity sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q== + "integrity" "sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q==" + "resolved" "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz" + "version" "4.0.0" dependencies: - load-json-file "^6.2.0" - npm-package-arg "^8.1.0" - write-pkg "^4.0.0" + "load-json-file" "^6.2.0" + "npm-package-arg" "^8.1.0" + "write-pkg" "^4.0.0" "@lerna/prerelease-id-from-version@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz#c7e0676fcee1950d85630e108eddecdd5b48c916" - integrity sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg== + "integrity" "sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg==" + "resolved" "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz" + "version" "4.0.0" dependencies: - semver "^7.3.4" + "semver" "^7.3.4" "@lerna/profiler@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz#8a53ab874522eae15d178402bff90a14071908e9" - integrity sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q== + "integrity" "sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q==" + "resolved" "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz" + "version" "4.0.0" dependencies: - fs-extra "^9.1.0" - npmlog "^4.1.2" - upath "^2.0.1" + "fs-extra" "^9.1.0" + "npmlog" "^4.1.2" + "upath" "^2.0.1" "@lerna/project@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz#ff84893935833533a74deff30c0e64ddb7f0ba6b" - integrity sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg== + "integrity" "sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg==" + "resolved" "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/package" "4.0.0" "@lerna/validation-error" "4.0.0" - cosmiconfig "^7.0.0" - dedent "^0.7.0" - dot-prop "^6.0.1" - glob-parent "^5.1.1" - globby "^11.0.2" - load-json-file "^6.2.0" - npmlog "^4.1.2" - p-map "^4.0.0" - resolve-from "^5.0.0" - write-json-file "^4.3.0" + "cosmiconfig" "^7.0.0" + "dedent" "^0.7.0" + "dot-prop" "^6.0.1" + "glob-parent" "^5.1.1" + "globby" "^11.0.2" + "load-json-file" "^6.2.0" + "npmlog" "^4.1.2" + "p-map" "^4.0.0" + "resolve-from" "^5.0.0" + "write-json-file" "^4.3.0" "@lerna/prompt@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz#5ec69a803f3f0db0ad9f221dad64664d3daca41b" - integrity sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ== + "integrity" "sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ==" + "resolved" "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz" + "version" "4.0.0" dependencies: - inquirer "^7.3.3" - npmlog "^4.1.2" + "inquirer" "^7.3.3" + "npmlog" "^4.1.2" "@lerna/publish@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz#f67011305adeba120066a3b6d984a5bb5fceef65" - integrity sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg== + "integrity" "sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg==" + "resolved" "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/check-working-tree" "4.0.0" "@lerna/child-process" "4.0.0" @@ -4135,70 +4985,70 @@ "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/version" "4.0.0" - fs-extra "^9.1.0" - libnpmaccess "^4.0.1" - npm-package-arg "^8.1.0" - npm-registry-fetch "^9.0.0" - npmlog "^4.1.2" - p-map "^4.0.0" - p-pipe "^3.1.0" - pacote "^11.2.6" - semver "^7.3.4" + "fs-extra" "^9.1.0" + "libnpmaccess" "^4.0.1" + "npm-package-arg" "^8.1.0" + "npm-registry-fetch" "^9.0.0" + "npmlog" "^4.1.2" + "p-map" "^4.0.0" + "p-pipe" "^3.1.0" + "pacote" "^11.2.6" + "semver" "^7.3.4" "@lerna/pulse-till-done@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz#04bace7d483a8205c187b806bcd8be23d7bb80a3" - integrity sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg== + "integrity" "sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg==" + "resolved" "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz" + "version" "4.0.0" dependencies: - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/query-graph@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz#09dd1c819ac5ee3f38db23931143701f8a6eef63" - integrity sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg== + "integrity" "sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg==" + "resolved" "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/package-graph" "4.0.0" "@lerna/resolve-symlink@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz#6d006628a210c9b821964657a9e20a8c9a115e14" - integrity sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA== + "integrity" "sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA==" + "resolved" "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz" + "version" "4.0.0" dependencies: - fs-extra "^9.1.0" - npmlog "^4.1.2" - read-cmd-shim "^2.0.0" + "fs-extra" "^9.1.0" + "npmlog" "^4.1.2" + "read-cmd-shim" "^2.0.0" "@lerna/rimraf-dir@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz#2edf3b62d4eb0ef4e44e430f5844667d551ec25a" - integrity sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg== + "integrity" "sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg==" + "resolved" "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/child-process" "4.0.0" - npmlog "^4.1.2" - path-exists "^4.0.0" - rimraf "^3.0.2" + "npmlog" "^4.1.2" + "path-exists" "^4.0.0" + "rimraf" "^3.0.2" "@lerna/run-lifecycle@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz#e648a46f9210a9bcd7c391df6844498cb5079334" - integrity sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ== + "integrity" "sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ==" + "resolved" "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/npm-conf" "4.0.0" - npm-lifecycle "^3.1.5" - npmlog "^4.1.2" + "npm-lifecycle" "^3.1.5" + "npmlog" "^4.1.2" "@lerna/run-topologically@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz#af846eeee1a09b0c2be0d1bfb5ef0f7b04bb1827" - integrity sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA== + "integrity" "sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA==" + "resolved" "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/query-graph" "4.0.0" - p-queue "^6.6.2" + "p-queue" "^6.6.2" "@lerna/run@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz#4bc7fda055a729487897c23579694f6183c91262" - integrity sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ== + "integrity" "sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ==" + "resolved" "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -4208,46 +5058,46 @@ "@lerna/run-topologically" "4.0.0" "@lerna/timer" "4.0.0" "@lerna/validation-error" "4.0.0" - p-map "^4.0.0" + "p-map" "^4.0.0" "@lerna/symlink-binary@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz#21009f62d53a425f136cb4c1a32c6b2a0cc02d47" - integrity sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA== + "integrity" "sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA==" + "resolved" "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/create-symlink" "4.0.0" "@lerna/package" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" + "fs-extra" "^9.1.0" + "p-map" "^4.0.0" "@lerna/symlink-dependencies@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz#8910eca084ae062642d0490d8972cf2d98e9ebbd" - integrity sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw== + "integrity" "sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw==" + "resolved" "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/create-symlink" "4.0.0" "@lerna/resolve-symlink" "4.0.0" "@lerna/symlink-binary" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" - p-map-series "^2.1.0" + "fs-extra" "^9.1.0" + "p-map" "^4.0.0" + "p-map-series" "^2.1.0" "@lerna/timer@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz#a52e51bfcd39bfd768988049ace7b15c1fd7a6da" - integrity sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg== + "integrity" "sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg==" + "resolved" "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz" + "version" "4.0.0" "@lerna/validation-error@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz#af9d62fe8304eaa2eb9a6ba1394f9aa807026d35" - integrity sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw== + "integrity" "sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw==" + "resolved" "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz" + "version" "4.0.0" dependencies: - npmlog "^4.1.2" + "npmlog" "^4.1.2" "@lerna/version@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz#532659ec6154d8a8789c5ab53878663e244e3228" - integrity sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA== + "integrity" "sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA==" + "resolved" "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/check-working-tree" "4.0.0" "@lerna/child-process" "4.0.0" @@ -4262,354 +5112,294 @@ "@lerna/run-lifecycle" "4.0.0" "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" - chalk "^4.1.0" - dedent "^0.7.0" - load-json-file "^6.2.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - p-map "^4.0.0" - p-pipe "^3.1.0" - p-reduce "^2.1.0" - p-waterfall "^2.1.1" - semver "^7.3.4" - slash "^3.0.0" - temp-write "^4.0.0" - write-json-file "^4.3.0" + "chalk" "^4.1.0" + "dedent" "^0.7.0" + "load-json-file" "^6.2.0" + "minimatch" "^3.0.4" + "npmlog" "^4.1.2" + "p-map" "^4.0.0" + "p-pipe" "^3.1.0" + "p-reduce" "^2.1.0" + "p-waterfall" "^2.1.1" + "semver" "^7.3.4" + "slash" "^3.0.0" + "temp-write" "^4.0.0" + "write-json-file" "^4.3.0" "@lerna/write-log-file@4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz#18221a38a6a307d6b0a5844dd592ad53fa27091e" - integrity sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg== + "integrity" "sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg==" + "resolved" "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz" + "version" "4.0.0" dependencies: - npmlog "^4.1.2" - write-file-atomic "^3.0.3" + "npmlog" "^4.1.2" + "write-file-atomic" "^3.0.3" "@motionone/animation@^10.13.1": - version "10.14.0" - resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" - integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + "integrity" "sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ==" + "resolved" "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + "version" "10.14.0" dependencies: "@motionone/easing" "^10.14.0" "@motionone/types" "^10.14.0" "@motionone/utils" "^10.14.0" - tslib "^2.3.1" + "tslib" "^2.3.1" "@motionone/dom@10.13.1": - version "10.13.1" - resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz#fc29ea5d12538f21b211b3168e502cfc07a24882" - integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + "integrity" "sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ==" + "resolved" "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + "version" "10.13.1" dependencies: "@motionone/animation" "^10.13.1" "@motionone/generators" "^10.13.1" "@motionone/types" "^10.13.0" "@motionone/utils" "^10.13.1" - hey-listen "^1.0.8" - tslib "^2.3.1" + "hey-listen" "^1.0.8" + "tslib" "^2.3.1" "@motionone/easing@^10.14.0": - version "10.14.0" - resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" - integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + "integrity" "sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA==" + "resolved" "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + "version" "10.14.0" dependencies: "@motionone/utils" "^10.14.0" - tslib "^2.3.1" + "tslib" "^2.3.1" "@motionone/generators@^10.13.1": - version "10.14.0" - resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" - integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + "integrity" "sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg==" + "resolved" "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + "version" "10.14.0" dependencies: "@motionone/types" "^10.14.0" "@motionone/utils" "^10.14.0" - tslib "^2.3.1" + "tslib" "^2.3.1" "@motionone/types@^10.13.0", "@motionone/types@^10.14.0": - version "10.14.0" - resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" - integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + "integrity" "sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ==" + "resolved" "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + "version" "10.14.0" "@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": - version "10.14.0" - resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" - integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + "integrity" "sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw==" + "resolved" "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + "version" "10.14.0" dependencies: "@motionone/types" "^10.14.0" - hey-listen "^1.0.8" - tslib "^2.3.1" + "hey-listen" "^1.0.8" + "tslib" "^2.3.1" "@next/env@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz#d908c57b35262b94db3e431e869b72ac3e1ad3e3" - integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + "integrity" "sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw==" + "resolved" "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + "version" "12.2.5" "@next/eslint-plugin-next@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz#4f3acccd2ed4f9300fbf9fd480cc8a0b261889a8" - integrity sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw== + "integrity" "sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw==" + "resolved" "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz" + "version" "12.2.5" dependencies: - glob "7.1.7" - -"@next/swc-android-arm-eabi@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" - integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== - -"@next/swc-android-arm64@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" - integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + "glob" "7.1.7" "@next/swc-darwin-arm64@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz#31b1c3c659d54be546120c488a1e1bad21c24a1d" - integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== - -"@next/swc-darwin-x64@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" - integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== - -"@next/swc-freebsd-x64@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" - integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== - -"@next/swc-linux-arm-gnueabihf@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" - integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== - -"@next/swc-linux-arm64-gnu@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" - integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== - -"@next/swc-linux-arm64-musl@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" - integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== - -"@next/swc-linux-x64-gnu@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" - integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== - -"@next/swc-linux-x64-musl@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" - integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== - -"@next/swc-win32-arm64-msvc@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" - integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== - -"@next/swc-win32-ia32-msvc@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" - integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== - -"@next/swc-win32-x64-msvc@12.2.5": - version "12.2.5" - resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" - integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + "integrity" "sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg==" + "resolved" "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + "version" "12.2.5" "@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": - version "2.1.8-no-fsevents.3" - resolved "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" - integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== + "integrity" "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==" + "resolved" "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz" + "version" "2.1.8-no-fsevents.3" "@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": - version "5.1.1-v1" - resolved "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129" - integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg== + "integrity" "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==" + "resolved" "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz" + "version" "5.1.1-v1" dependencies: - eslint-scope "5.1.1" + "eslint-scope" "5.1.1" "@noble/hashes@^1", "@noble/hashes@^1.0.0": - version "1.1.2" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" - integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== + "integrity" "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" + "resolved" "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz" + "version" "1.1.2" "@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + "integrity" "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + "version" "2.1.5" dependencies: "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" + "run-parallel" "^1.1.9" -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== +"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": + "integrity" "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + "version" "2.0.5" "@nodelib/fs.walk@^1.2.3": - version "1.2.8" - resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + "integrity" "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + "version" "1.2.8" dependencies: "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" + "fastq" "^1.6.0" "@npmcli/ci-detect@^1.0.0": - version "1.4.0" - resolved "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz#18478bbaa900c37bfbd8a2006a6262c62e8b0fe1" - integrity sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q== + "integrity" "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q==" + "resolved" "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz" + "version" "1.4.0" "@npmcli/fs@^1.0.0": - version "1.1.1" - resolved "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" - integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== + "integrity" "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==" + "resolved" "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz" + "version" "1.1.1" dependencies: "@gar/promisify" "^1.0.1" - semver "^7.3.5" + "semver" "^7.3.5" "@npmcli/git@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" - integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== + "integrity" "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==" + "resolved" "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz" + "version" "2.1.0" dependencies: "@npmcli/promise-spawn" "^1.3.2" - lru-cache "^6.0.0" - mkdirp "^1.0.4" - npm-pick-manifest "^6.1.1" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" + "lru-cache" "^6.0.0" + "mkdirp" "^1.0.4" + "npm-pick-manifest" "^6.1.1" + "promise-inflight" "^1.0.1" + "promise-retry" "^2.0.1" + "semver" "^7.3.5" + "which" "^2.0.2" "@npmcli/installed-package-contents@^1.0.6": - version "1.0.7" - resolved "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== + "integrity" "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==" + "resolved" "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz" + "version" "1.0.7" dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" + "npm-bundled" "^1.1.1" + "npm-normalize-package-bin" "^1.0.1" "@npmcli/move-file@^1.0.1": - version "1.1.2" - resolved "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== + "integrity" "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==" + "resolved" "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz" + "version" "1.1.2" dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" + "mkdirp" "^1.0.4" + "rimraf" "^3.0.2" "@npmcli/node-gyp@^1.0.2": - version "1.0.3" - resolved "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" - integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== + "integrity" "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==" + "resolved" "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz" + "version" "1.0.3" "@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - version "1.3.2" - resolved "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" - integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== + "integrity" "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==" + "resolved" "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz" + "version" "1.3.2" dependencies: - infer-owner "^1.0.4" + "infer-owner" "^1.0.4" "@npmcli/run-script@^1.8.2": - version "1.8.6" - resolved "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz#18314802a6660b0d4baa4c3afe7f1ad39d8c28b7" - integrity sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g== + "integrity" "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==" + "resolved" "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz" + "version" "1.8.6" dependencies: "@npmcli/node-gyp" "^1.0.2" "@npmcli/promise-spawn" "^1.3.2" - node-gyp "^7.1.0" - read-package-json-fast "^2.0.1" + "node-gyp" "^7.1.0" + "read-package-json-fast" "^2.0.1" "@octokit/auth-token@^2.4.4": - version "2.5.0" - resolved "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36" - integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== + "integrity" "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==" + "resolved" "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz" + "version" "2.5.0" dependencies: "@octokit/types" "^6.0.3" -"@octokit/core@^3.5.1": - version "3.6.0" - resolved "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085" - integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== +"@octokit/core@^3.5.1", "@octokit/core@>=2", "@octokit/core@>=3": + "integrity" "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==" + "resolved" "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz" + "version" "3.6.0" dependencies: "@octokit/auth-token" "^2.4.4" "@octokit/graphql" "^4.5.8" "@octokit/request" "^5.6.3" "@octokit/request-error" "^2.0.5" "@octokit/types" "^6.0.3" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" + "before-after-hook" "^2.2.0" + "universal-user-agent" "^6.0.0" "@octokit/endpoint@^6.0.1": - version "6.0.12" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658" - integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== + "integrity" "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==" + "resolved" "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz" + "version" "6.0.12" dependencies: "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" + "is-plain-object" "^5.0.0" + "universal-user-agent" "^6.0.0" "@octokit/graphql@^4.5.8": - version "4.8.0" - resolved "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3" - integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg== + "integrity" "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==" + "resolved" "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz" + "version" "4.8.0" dependencies: "@octokit/request" "^5.6.0" "@octokit/types" "^6.0.3" - universal-user-agent "^6.0.0" + "universal-user-agent" "^6.0.0" "@octokit/openapi-types@^12.11.0": - version "12.11.0" - resolved "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0" - integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== + "integrity" "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==" + "resolved" "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz" + "version" "12.11.0" "@octokit/plugin-enterprise-rest@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" - integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== + "integrity" "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==" + "resolved" "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz" + "version" "6.0.1" "@octokit/plugin-paginate-rest@^2.16.8": - version "2.21.3" - resolved "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz#7f12532797775640dbb8224da577da7dc210c87e" - integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw== + "integrity" "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==" + "resolved" "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz" + "version" "2.21.3" dependencies: "@octokit/types" "^6.40.0" "@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== + "integrity" "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==" + "resolved" "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz" + "version" "1.0.4" "@octokit/plugin-rest-endpoint-methods@^5.12.0": - version "5.16.2" - resolved "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz#7ee8bf586df97dd6868cf68f641354e908c25342" - integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw== + "integrity" "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==" + "resolved" "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz" + "version" "5.16.2" dependencies: "@octokit/types" "^6.39.0" - deprecation "^2.3.1" + "deprecation" "^2.3.1" "@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677" - integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== + "integrity" "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==" + "resolved" "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz" + "version" "2.1.0" dependencies: "@octokit/types" "^6.0.3" - deprecation "^2.0.0" - once "^1.4.0" + "deprecation" "^2.0.0" + "once" "^1.4.0" "@octokit/request@^5.6.0", "@octokit/request@^5.6.3": - version "5.6.3" - resolved "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" - integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== + "integrity" "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==" + "resolved" "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz" + "version" "5.6.3" dependencies: "@octokit/endpoint" "^6.0.1" "@octokit/request-error" "^2.1.0" "@octokit/types" "^6.16.1" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" + "is-plain-object" "^5.0.0" + "node-fetch" "^2.6.7" + "universal-user-agent" "^6.0.0" "@octokit/rest@^18.1.0": - version "18.12.0" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz#f06bc4952fc87130308d810ca9d00e79f6988881" - integrity sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q== + "integrity" "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==" + "resolved" "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz" + "version" "18.12.0" dependencies: "@octokit/core" "^3.5.1" "@octokit/plugin-paginate-rest" "^2.16.8" @@ -4617,63 +5407,63 @@ "@octokit/plugin-rest-endpoint-methods" "^5.12.0" "@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0": - version "6.41.0" - resolved "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04" - integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== + "integrity" "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==" + "resolved" "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz" + "version" "6.41.0" dependencies: "@octokit/openapi-types" "^12.11.0" "@osmonauts/ast@^0.26.0": - version "0.26.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz#e6a83349879e567106d0afc9bd0ff63cab6c2dd7" - integrity sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg== + "integrity" "sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg==" + "resolved" "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz" + "version" "0.26.0" dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" "@osmonauts/proto-parser" "^0.19.0" "@osmonauts/types" "^0.15.0" "@osmonauts/utils" "^0.4.0" - case "1.6.3" - dotty "0.1.2" + "case" "1.6.3" + "dotty" "0.1.2" "@osmonauts/helpers@^0.6.0": - version "0.6.0" - resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz#86324110ba1ec76637836ef6ec12ce263e1a7a97" - integrity sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw== + "integrity" "sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw==" + "resolved" "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" + "version" "0.6.0" dependencies: "@babel/runtime" "^7.18.9" "@cosmjs/amino" "0.28.13" "@cosmjs/crypto" "0.28.13" "@cosmjs/proto-signing" "0.28.13" "@cosmjs/stargate" "0.28.13" - cosmjs-types "0.5.1" - long "^5.2.0" - protobufjs "^6.11.3" + "cosmjs-types" "0.5.1" + "long" "^5.2.0" + "protobufjs" "^6.11.3" "@osmonauts/lcd@^0.6.0": - version "0.6.0" - resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz#9545b793b77b4a175e6dc733341940fe192c6655" - integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== + "integrity" "sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA==" + "resolved" "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" + "version" "0.6.0" dependencies: "@babel/runtime" "^7.18.9" - axios "0.27.2" + "axios" "0.27.2" "@osmonauts/proto-parser@^0.19.0": - version "0.19.0" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz#e32d2611984d317379f41e01f74b311f46f784b1" - integrity sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g== + "integrity" "sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g==" + "resolved" "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz" + "version" "0.19.0" dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/types" "^0.15.0" "@pyramation/protobufjs" "6.11.4" - dotty "0.1.2" - glob "8.0.3" - mkdirp "1.0.4" + "dotty" "0.1.2" + "glob" "8.0.3" + "mkdirp" "1.0.4" "@osmonauts/telescope@0.30.0": - version "0.30.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz#9f7e2e10714fe9ecf7dfea90f6178168cc6f50b1" - integrity sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg== + "integrity" "sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg==" + "resolved" "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz" + "version" "0.30.0" dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4693,121 +5483,121 @@ "@osmonauts/types" "^0.15.0" "@osmonauts/utils" "^0.4.0" "@types/parse-package-name" "0.1.0" - case "1.6.3" - dargs "7.0.0" - deepmerge "4.2.2" - dotty "0.1.2" - fuzzy "0.1.3" - glob "8.0.3" - inquirerer "0.1.3" - long "^5.2.0" - minimatch "5.1.0" - minimist "1.2.6" - mkdirp "1.0.4" - parse-package-name "1.0.0" - rimraf "3.0.2" - shelljs "0.8.5" + "case" "1.6.3" + "dargs" "7.0.0" + "deepmerge" "4.2.2" + "dotty" "0.1.2" + "fuzzy" "0.1.3" + "glob" "8.0.3" + "inquirerer" "0.1.3" + "long" "^5.2.0" + "minimatch" "5.1.0" + "minimist" "1.2.6" + "mkdirp" "1.0.4" + "parse-package-name" "1.0.0" + "rimraf" "3.0.2" + "shelljs" "0.8.5" "@osmonauts/types@^0.15.0": - version "0.15.0" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz#847282f303ab7729c9ec2513532749f687247c68" - integrity sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ== + "integrity" "sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ==" + "resolved" "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz" + "version" "0.15.0" dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/utils" "^0.4.0" - case "1.6.3" + "case" "1.6.3" "@osmonauts/utils@^0.4.0": - version "0.4.0" - resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz#817c17a91803b2e74446e9356c0c2ad024d26145" - integrity sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ== + "integrity" "sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ==" + "resolved" "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz" + "version" "0.4.0" dependencies: "@babel/runtime" "^7.18.9" "@popperjs/core@^2.9.3": - version "2.11.6" - resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" - integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + "integrity" "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==" + "resolved" "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz" + "version" "2.11.6" "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" - integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + "integrity" "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" - integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + "integrity" "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + "resolved" "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/codegen@^2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" - integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + "integrity" "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + "resolved" "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" + "version" "2.0.4" "@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + "integrity" "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + "resolved" "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + "integrity" "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" + "version" "1.1.0" dependencies: "@protobufjs/aspromise" "^1.1.1" "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" - integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + "integrity" "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" + "version" "1.0.2" "@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + "integrity" "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + "resolved" "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/path@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" - integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + "integrity" "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + "resolved" "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/pool@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" - integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + "integrity" "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + "resolved" "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/utf8@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" - integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + "integrity" "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + "resolved" "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" + "version" "1.1.0" "@protobufs/confio@^0.0.6": - version "0.0.6" - resolved "https://registry.npmjs.org/@protobufs/confio/-/confio-0.0.6.tgz#a6ddf44eca2cbe535384228312ae7ef5dff29644" - integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== + "integrity" "sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA==" + "resolved" "https://registry.npmjs.org/@protobufs/confio/-/confio-0.0.6.tgz" + "version" "0.0.6" + +"@protobufs/cosmos_proto@^0.0.10": + "integrity" "sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw==" + "resolved" "https://registry.npmjs.org/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz" + "version" "0.0.10" + dependencies: + "@protobufs/google" "^0.0.10" "@protobufs/cosmos@^0.0.11": - version "0.0.11" - resolved "https://registry.npmjs.org/@protobufs/cosmos/-/cosmos-0.0.11.tgz#68a1feaa044916a0f1fdf6a2922f08a6811e796f" - integrity sha512-r9XQikxQ3qaWVJ4EYePP7r/QL/lEEpgSeHiD0U5t4bOXux5gIWrz3AMLe5PIdFxBwkeqkF21Vz4JnVd3/XdC7Q== + "integrity" "sha512-r9XQikxQ3qaWVJ4EYePP7r/QL/lEEpgSeHiD0U5t4bOXux5gIWrz3AMLe5PIdFxBwkeqkF21Vz4JnVd3/XdC7Q==" + "resolved" "https://registry.npmjs.org/@protobufs/cosmos/-/cosmos-0.0.11.tgz" + "version" "0.0.11" dependencies: "@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.npmjs.org/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz#622726ee227f220f608df180f938e5d8ebb1534a" - integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== - dependencies: - "@protobufs/google" "^0.0.10" - "@protobufs/cosmwasm@^0.0.11": - version "0.0.11" - resolved "https://registry.npmjs.org/@protobufs/cosmwasm/-/cosmwasm-0.0.11.tgz#a3cd756494735766260ff914af1c8c9645a75592" - integrity sha512-SiPtJRLltQQ/+OEqBpxXbZt6PuXvfR82P/jh4Xt+KB18A2siaossYPU6I4HIBhpkWT6LIH4QoH5UsWlIzIxbRg== + "integrity" "sha512-SiPtJRLltQQ/+OEqBpxXbZt6PuXvfR82P/jh4Xt+KB18A2siaossYPU6I4HIBhpkWT6LIH4QoH5UsWlIzIxbRg==" + "resolved" "https://registry.npmjs.org/@protobufs/cosmwasm/-/cosmwasm-0.0.11.tgz" + "version" "0.0.11" dependencies: "@protobufs/cosmos" "^0.0.11" "@protobufs/cosmos_proto" "^0.0.10" @@ -4815,21 +5605,21 @@ "@protobufs/google" "^0.0.10" "@protobufs/gogoproto@^0.0.10": - version "0.0.10" - resolved "https://registry.npmjs.org/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz#0181e17142c800b60c7ca5f92c76a614d86c5c54" - integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== + "integrity" "sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ==" + "resolved" "https://registry.npmjs.org/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz" + "version" "0.0.10" dependencies: "@protobufs/google" "^0.0.10" "@protobufs/google@^0.0.10": - version "0.0.10" - resolved "https://registry.npmjs.org/@protobufs/google/-/google-0.0.10.tgz#820f741b0c53f688550c74c7ddb25a5ee131a6bf" - integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== + "integrity" "sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw==" + "resolved" "https://registry.npmjs.org/@protobufs/google/-/google-0.0.10.tgz" + "version" "0.0.10" "@protobufs/ibc@^0.0.11": - version "0.0.11" - resolved "https://registry.npmjs.org/@protobufs/ibc/-/ibc-0.0.11.tgz#00f7ef9d4cb5a7857f701f8145543759d45e3657" - integrity sha512-f6D7AGpbbHvm8Mwpc8wirm/bT4rumyz2HZMHeAt2U45cAgV7fELAqXH4UtcXxIfLl1J21BsagPtf/E9KLEdnXw== + "integrity" "sha512-f6D7AGpbbHvm8Mwpc8wirm/bT4rumyz2HZMHeAt2U45cAgV7fELAqXH4UtcXxIfLl1J21BsagPtf/E9KLEdnXw==" + "resolved" "https://registry.npmjs.org/@protobufs/ibc/-/ibc-0.0.11.tgz" + "version" "0.0.11" dependencies: "@protobufs/confio" "^0.0.6" "@protobufs/cosmos" "^0.0.11" @@ -4838,17 +5628,17 @@ "@protobufs/tendermint" "^0.0.10" "@protobufs/tendermint@^0.0.10": - version "0.0.10" - resolved "https://registry.npmjs.org/@protobufs/tendermint/-/tendermint-0.0.10.tgz#816b27410afcecd8b6d403df149f3c2b9b80655e" - integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== + "integrity" "sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg==" + "resolved" "https://registry.npmjs.org/@protobufs/tendermint/-/tendermint-0.0.10.tgz" + "version" "0.0.10" dependencies: "@protobufs/gogoproto" "^0.0.10" "@protobufs/google" "^0.0.10" "@pyramation/babel-preset-env@0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz#cb9bf3a507d79b9ceb8b7e83815ed1a672209952" - integrity sha512-NgyUnQv5gDe4mTe0SbS3thOyV/XPdVKFx1KYtWARKTPCH4430nMyCrguAR9BJ1q1FLilGQdnr3JbGS1pPTRtrA== + "integrity" "sha512-NgyUnQv5gDe4mTe0SbS3thOyV/XPdVKFx1KYtWARKTPCH4430nMyCrguAR9BJ1q1FLilGQdnr3JbGS1pPTRtrA==" + "resolved" "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz" + "version" "0.1.0" dependencies: "@babel/core" "7.9.6" "@babel/plugin-proposal-class-properties" "7.8.3" @@ -4857,41 +5647,41 @@ "@babel/plugin-transform-runtime" "7.9.6" "@babel/preset-env" "7.9.6" "@babel/preset-react" "7.9.4" - babel-plugin-macros "2.8.0" + "babel-plugin-macros" "2.8.0" "@pyramation/json-schema-ref-parser@9.0.6": - version "9.0.6" - resolved "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" - integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== + "integrity" "sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg==" + "resolved" "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz" + "version" "9.0.6" dependencies: "@jsdevtools/ono" "^7.1.3" - call-me-maybe "^1.0.1" - js-yaml "^3.13.1" + "call-me-maybe" "^1.0.1" + "js-yaml" "^3.13.1" "@pyramation/json-schema-to-typescript@ 11.0.4": - version "11.0.4" - resolved "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz#959bdb631dad336e1fdbf608a9b5908ab0da1d6b" - integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== + "integrity" "sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg==" + "resolved" "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz" + "version" "11.0.4" dependencies: "@pyramation/json-schema-ref-parser" "9.0.6" "@types/json-schema" "^7.0.11" "@types/lodash" "^4.14.182" "@types/prettier" "^2.6.1" - cli-color "^2.0.2" - get-stdin "^8.0.0" - glob "^7.1.6" - glob-promise "^4.2.2" - is-glob "^4.0.3" - lodash "^4.17.21" - minimist "^1.2.6" - mkdirp "^1.0.4" - mz "^2.7.0" - prettier "^2.6.2" + "cli-color" "^2.0.2" + "get-stdin" "^8.0.0" + "glob" "^7.1.6" + "glob-promise" "^4.2.2" + "is-glob" "^4.0.3" + "lodash" "^4.17.21" + "minimist" "^1.2.6" + "mkdirp" "^1.0.4" + "mz" "^2.7.0" + "prettier" "^2.6.2" "@pyramation/protobufjs@6.11.4": - version "6.11.4" - resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz#3d7f39181e6d922597b23db96d88fbcda5d24a0b" - integrity sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg== + "integrity" "sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg==" + "resolved" "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz" + "version" "6.11.4" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -4905,48 +5695,48 @@ "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - long "^4.0.0" + "long" "^4.0.0" "@rushstack/eslint-patch@^1.1.3": - version "1.2.0" - resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" - integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== + "integrity" "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==" + "resolved" "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz" + "version" "1.2.0" "@sinclair/typebox@^0.24.1": - version "0.24.41" - resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz#45470b8bae32a28f1e0501066d0bacbd8b772804" - integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== + "integrity" "sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA==" + "resolved" "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz" + "version" "0.24.41" "@sinonjs/commons@^1.7.0": - version "1.8.3" - resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" - integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== + "integrity" "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==" + "resolved" "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" + "version" "1.8.3" dependencies: - type-detect "4.0.8" + "type-detect" "4.0.8" "@sinonjs/fake-timers@^9.1.2": - version "9.1.2" - resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" - integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== + "integrity" "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==" + "resolved" "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz" + "version" "9.1.2" dependencies: "@sinonjs/commons" "^1.7.0" "@swc/helpers@0.4.3": - version "0.4.3" - resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz#16593dfc248c53b699d4b5026040f88ddb497012" - integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + "integrity" "sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA==" + "resolved" "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + "version" "0.4.3" dependencies: - tslib "^2.4.0" + "tslib" "^2.4.0" "@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + "integrity" "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" + "resolved" "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" + "version" "1.1.2" "@types/babel__core@^7.1.14": - version "7.1.19" - resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" - integrity sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw== + "integrity" "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==" + "resolved" "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz" + "version" "7.1.19" dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -4955,274 +5745,274 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + "integrity" "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==" + "resolved" "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz" + "version" "7.6.4" dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + "integrity" "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==" + "resolved" "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz" + "version" "7.4.1" dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.18.1" - resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.1.tgz#ce5e2c8c272b99b7a9fd69fa39f0b4cd85028bd9" - integrity sha512-FSdLaZh2UxaMuLp9lixWaHq/golWTRWOnRsAXzDTDSDOQLuZb1nsdCt6pJSPWSEQt2eFZ2YVk3oYhn+1kLMeMA== + "integrity" "sha512-FSdLaZh2UxaMuLp9lixWaHq/golWTRWOnRsAXzDTDSDOQLuZb1nsdCt6pJSPWSEQt2eFZ2YVk3oYhn+1kLMeMA==" + "resolved" "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.1.tgz" + "version" "7.18.1" dependencies: "@babel/types" "^7.3.0" "@types/glob@^7.1.3": - version "7.2.0" - resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" - integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== + "integrity" "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==" + "resolved" "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz" + "version" "7.2.0" dependencies: "@types/minimatch" "*" "@types/node" "*" "@types/graceful-fs@^4.1.3": - version "4.1.5" - resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" - integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + "integrity" "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==" + "resolved" "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" + "version" "4.1.5" dependencies: "@types/node" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + "integrity" "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==" + "resolved" "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" + "version" "2.0.4" "@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + "integrity" "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==" + "resolved" "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + "version" "3.0.0" dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + "integrity" "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==" + "resolved" "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" + "version" "3.0.1" dependencies: "@types/istanbul-lib-report" "*" "@types/jest@^28.1.7": - version "28.1.8" - resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz#6936409f3c9724ea431efd412ea0238a0f03b09b" - integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== + "integrity" "sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw==" + "resolved" "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz" + "version" "28.1.8" dependencies: - expect "^28.0.0" - pretty-format "^28.0.0" + "expect" "^28.0.0" + "pretty-format" "^28.0.0" "@types/json-schema@^7.0.11": - version "7.0.11" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + "integrity" "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "resolved" "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" + "version" "7.0.11" "@types/json5@^0.0.29": - version "0.0.29" - resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + "integrity" "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" + "resolved" "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" + "version" "0.0.29" "@types/lodash.mergewith@4.6.6": - version "4.6.6" - resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" - integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + "integrity" "sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg==" + "resolved" "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz" + "version" "4.6.6" dependencies: "@types/lodash" "*" "@types/lodash@*", "@types/lodash@^4.14.182": - version "4.14.185" - resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz#c9843f5a40703a8f5edfd53358a58ae729816908" - integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== + "integrity" "sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA==" + "resolved" "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" + "version" "4.14.185" "@types/long@^4.0.1": - version "4.0.2" - resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" - integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + "integrity" "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" + "resolved" "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz" + "version" "4.0.2" "@types/minimatch@*": - version "5.1.2" - resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" - integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + "integrity" "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==" + "resolved" "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz" + "version" "5.1.2" "@types/minimatch@^3.0.3": - version "3.0.5" - resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== + "integrity" "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" + "resolved" "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz" + "version" "3.0.5" "@types/minimist@^1.2.0": - version "1.2.2" - resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + "integrity" "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + "resolved" "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" + "version" "1.2.2" "@types/node@*", "@types/node@>=13.7.0": - version "18.7.18" - resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz#633184f55c322e4fb08612307c274ee6d5ed3154" - integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== + "integrity" "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" + "version" "18.7.18" + +"@types/node@^13.7.0": + "integrity" "sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz" + "version" "13.13.52" "@types/node@10.12.18": - version "10.12.18" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" - integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + "integrity" "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz" + "version" "10.12.18" "@types/node@11.11.6": - version "11.11.6" - resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" - integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + "integrity" "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz" + "version" "11.11.6" "@types/node@18.7.11": - version "18.7.11" - resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" - integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== - -"@types/node@^13.7.0": - version "13.13.52" - resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" - integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + "integrity" "sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz" + "version" "18.7.11" "@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== + "integrity" "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "resolved" "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz" + "version" "2.4.1" "@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + "integrity" "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + "resolved" "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz" + "version" "4.0.0" "@types/parse-package-name@0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" - integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== + "integrity" "sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q==" + "resolved" "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz" + "version" "0.1.0" "@types/prettier@^2.1.5", "@types/prettier@^2.6.1": - version "2.7.0" - resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" - integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== + "integrity" "sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A==" + "resolved" "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz" + "version" "2.7.0" "@types/prop-types@*": - version "15.7.5" - resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" - integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== + "integrity" "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + "resolved" "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz" + "version" "15.7.5" "@types/react-dom@18.0.6": - version "18.0.6" - resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1" - integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== + "integrity" "sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==" + "resolved" "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz" + "version" "18.0.6" dependencies: "@types/react" "*" "@types/react-transition-group@^4.4.0": - version "4.4.5" - resolved "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz#aae20dcf773c5aa275d5b9f7cdbca638abc5e416" - integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== + "integrity" "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==" + "resolved" "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz" + "version" "4.4.5" dependencies: "@types/react" "*" "@types/react@*": - version "18.0.20" - resolved "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz#e4c36be3a55eb5b456ecf501bd4a00fd4fd0c9ab" - integrity sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA== + "integrity" "sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA==" + "resolved" "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz" + "version" "18.0.20" dependencies: "@types/prop-types" "*" "@types/scheduler" "*" - csstype "^3.0.2" + "csstype" "^3.0.2" -"@types/react@18.0.17": - version "18.0.17" - resolved "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4" - integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ== +"@types/react@^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react@^16.9.0 || ^17.0.0 || ^18.0.0", "@types/react@18.0.17": + "integrity" "sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==" + "resolved" "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz" + "version" "18.0.17" dependencies: "@types/prop-types" "*" "@types/scheduler" "*" - csstype "^3.0.2" + "csstype" "^3.0.2" "@types/scheduler@*": - version "0.16.2" - resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" - integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== + "integrity" "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" + "resolved" "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz" + "version" "0.16.2" "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + "integrity" "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==" + "resolved" "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz" + "version" "2.0.1" "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + "integrity" "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==" + "resolved" "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" + "version" "21.0.0" "@types/yargs@^17.0.8": - version "17.0.12" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz#0745ff3e4872b4ace98616d4b7e37ccbd75f9526" - integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== + "integrity" "sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ==" + "resolved" "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz" + "version" "17.0.12" dependencies: "@types/yargs-parser" "*" "@typescript-eslint/parser@^5.21.0": - version "5.37.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" - integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== + "integrity" "sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.37.0.tgz" + "version" "5.37.0" dependencies: "@typescript-eslint/scope-manager" "5.37.0" "@typescript-eslint/types" "5.37.0" "@typescript-eslint/typescript-estree" "5.37.0" - debug "^4.3.4" + "debug" "^4.3.4" "@typescript-eslint/scope-manager@5.37.0": - version "5.37.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz#044980e4f1516a774a418dafe701a483a6c9f9ca" - integrity sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q== + "integrity" "sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz" + "version" "5.37.0" dependencies: "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" "@typescript-eslint/types@5.37.0": - version "5.37.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" - integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== + "integrity" "sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.37.0.tgz" + "version" "5.37.0" "@typescript-eslint/typescript-estree@5.37.0": - version "5.37.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" - integrity sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA== + "integrity" "sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz" + "version" "5.37.0" dependencies: "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" + "debug" "^4.3.4" + "globby" "^11.1.0" + "is-glob" "^4.0.3" + "semver" "^7.3.7" + "tsutils" "^3.21.0" "@typescript-eslint/visitor-keys@5.37.0": - version "5.37.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" - integrity sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA== + "integrity" "sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz" + "version" "5.37.0" dependencies: "@typescript-eslint/types" "5.37.0" - eslint-visitor-keys "^3.3.0" + "eslint-visitor-keys" "^3.3.0" "@walletconnect/browser-utils@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" - integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + "integrity" "sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A==" + "resolved" "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/safe-json" "1.0.0" "@walletconnect/types" "^1.8.0" "@walletconnect/window-getters" "1.0.0" "@walletconnect/window-metadata" "1.0.0" - detect-browser "5.2.0" + "detect-browser" "5.2.0" "@walletconnect/client@1.7.8": - version "1.7.8" - resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz#62c2d7114e59495d90772ea8033831ceb29c6a78" - integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== + "integrity" "sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg==" + "resolved" "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz" + "version" "1.7.8" dependencies: "@walletconnect/core" "^1.7.8" "@walletconnect/iso-crypto" "^1.7.8" @@ -5230,9 +6020,9 @@ "@walletconnect/utils" "^1.7.8" "@walletconnect/client@1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" - integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + "integrity" "sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/core" "^1.8.0" "@walletconnect/iso-crypto" "^1.8.0" @@ -5240,74 +6030,74 @@ "@walletconnect/utils" "^1.8.0" "@walletconnect/core@^1.0.0", "@walletconnect/core@^1.7.8", "@walletconnect/core@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" - integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + "integrity" "sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw==" + "resolved" "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/socket-transport" "^1.8.0" "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" "@walletconnect/crypto@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" - integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + "integrity" "sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz" + "version" "1.0.2" dependencies: "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" "@walletconnect/randombytes" "^1.0.2" - aes-js "^3.1.2" - hash.js "^1.1.7" + "aes-js" "^3.1.2" + "hash.js" "^1.1.7" "@walletconnect/encoding@^1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" - integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + "integrity" "sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA==" + "resolved" "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz" + "version" "1.0.1" dependencies: - is-typedarray "1.0.0" - typedarray-to-buffer "3.1.5" + "is-typedarray" "1.0.0" + "typedarray-to-buffer" "3.1.5" "@walletconnect/environment@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" - integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + "integrity" "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz" + "version" "1.0.0" "@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" - integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + "integrity" "sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/crypto" "^1.0.2" "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" "@walletconnect/jsonrpc-types@^1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" - integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + "integrity" "sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz" + "version" "1.0.1" dependencies: - keyvaluestorage-interface "^1.0.0" + "keyvaluestorage-interface" "^1.0.0" "@walletconnect/jsonrpc-utils@^1.0.3": - version "1.0.3" - resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" - integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + "integrity" "sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz" + "version" "1.0.3" dependencies: "@walletconnect/environment" "^1.0.0" "@walletconnect/jsonrpc-types" "^1.0.1" "@walletconnect/node-crypto@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" - integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + "integrity" "sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA==" + "resolved" "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz" + "version" "1.0.0" dependencies: "@walletconnect/types" "^1.0.0" "@walletconnect/utils" "^1.0.0" "@walletconnect/node@1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" - integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + "integrity" "sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz" + "version" "1.0.0" dependencies: "@walletconnect/core" "^1.0.0" "@walletconnect/node-crypto" "^1.0.0" @@ -5315,499 +6105,497 @@ "@walletconnect/utils" "^1.0.0" "@walletconnect/randombytes@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" - integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + "integrity" "sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A==" + "resolved" "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz" + "version" "1.0.2" dependencies: "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" - randombytes "^2.1.0" + "randombytes" "^2.1.0" "@walletconnect/safe-json@1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" - integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + "integrity" "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" + "resolved" "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz" + "version" "1.0.0" "@walletconnect/socket-transport@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" - integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + "integrity" "sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" - ws "7.5.3" + "ws" "7.5.3" -"@walletconnect/types@1.7.8": - version "1.7.8" - resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz#ec397e6fbdc8147bccc17029edfeb41c50a5ca09" - integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + "integrity" "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" + "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + "version" "1.8.0" -"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" - integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== +"@walletconnect/types@^1.7.8": + "integrity" "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" + "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + "version" "1.8.0" + +"@walletconnect/types@1.7.8": + "integrity" "sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA==" + "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz" + "version" "1.7.8" "@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": - version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" - integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + "integrity" "sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA==" + "resolved" "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/browser-utils" "^1.8.0" "@walletconnect/encoding" "^1.0.1" "@walletconnect/jsonrpc-utils" "^1.0.3" "@walletconnect/types" "^1.8.0" - bn.js "4.11.8" - js-sha3 "0.8.0" - query-string "6.13.5" + "bn.js" "4.11.8" + "js-sha3" "0.8.0" + "query-string" "6.13.5" -"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" - integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== +"@walletconnect/window-getters@^1.0.0", "@walletconnect/window-getters@1.0.0": + "integrity" "sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz" + "version" "1.0.0" "@walletconnect/window-metadata@1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" - integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + "integrity" "sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz" + "version" "1.0.0" dependencies: "@walletconnect/window-getters" "^1.0.0" "@zag-js/element-size@0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" - integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + "integrity" "sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ==" + "resolved" "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz" + "version" "0.1.0" "@zag-js/focus-visible@0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" - integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== - -JSONStream@^1.0.4: - version "1.3.5" - resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abbrev@1: - version "1.1.1" - resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -acorn-jsx@^5.3.2: - version "5.3.2" - resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - -acorn@^8.8.0: - version "8.8.0" - resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" - integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== - -add-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" - integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== - -aes-js@^3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" - integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== - -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.1.3: - version "4.2.1" - resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" - integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== - dependencies: - debug "^4.1.0" - depd "^1.1.2" - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ansi-escapes@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" - integrity sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg== - -ansi-escapes@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== - -ansi-escapes@^4.2.1: - version "4.3.2" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== - -ansi-regex@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" - integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== - -ansi-regex@^4.1.0: - version "4.1.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" - integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== - -ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^5.0.0: - version "5.2.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" - integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== - -any-promise@^1.0.0: - version "1.3.0" - resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== - -anymatch@^3.0.3, anymatch@~3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" - integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -aproba@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/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.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" - integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - -aria-hidden@^1.1.1: - version "1.2.1" - resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" - integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== - dependencies: - tslib "^2.0.0" - -aria-query@^4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" - integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== + "integrity" "sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg==" + "resolved" "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz" + "version" "0.1.0" + +"abbrev@1": + "integrity" "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "resolved" "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" + "version" "1.1.1" + +"acorn-jsx@^5.3.2": + "integrity" "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==" + "resolved" "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + "version" "5.3.2" + +"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", "acorn@^8.8.0": + "integrity" "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==" + "resolved" "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" + "version" "8.8.0" + +"add-stream@^1.0.0": + "integrity" "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==" + "resolved" "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz" + "version" "1.0.0" + +"aes-js@^3.1.2": + "integrity" "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" + "resolved" "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz" + "version" "3.1.2" + +"agent-base@^6.0.2", "agent-base@6": + "integrity" "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==" + "resolved" "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" + "version" "6.0.2" + dependencies: + "debug" "4" + +"agentkeepalive@^4.1.3": + "integrity" "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==" + "resolved" "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz" + "version" "4.2.1" + dependencies: + "debug" "^4.1.0" + "depd" "^1.1.2" + "humanize-ms" "^1.2.1" + +"aggregate-error@^3.0.0": + "integrity" "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==" + "resolved" "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "clean-stack" "^2.0.0" + "indent-string" "^4.0.0" + +"ajv@^6.10.0", "ajv@^6.12.3", "ajv@^6.12.4": + "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" + "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" + "version" "6.12.6" + dependencies: + "fast-deep-equal" "^3.1.1" + "fast-json-stable-stringify" "^2.0.0" + "json-schema-traverse" "^0.4.1" + "uri-js" "^4.2.2" + +"ansi-escapes@^2.0.0": + "integrity" "sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg==" + "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" + "version" "2.0.0" + +"ansi-escapes@^3.2.0": + "integrity" "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" + "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz" + "version" "3.2.0" + +"ansi-escapes@^4.2.1": + "integrity" "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==" + "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" + "version" "4.3.2" + dependencies: + "type-fest" "^0.21.3" + +"ansi-regex@^2.0.0": + "integrity" "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" + "version" "2.1.1" + +"ansi-regex@^3.0.0": + "integrity" "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" + "version" "3.0.1" + +"ansi-regex@^4.1.0": + "integrity" "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + "version" "4.1.1" + +"ansi-regex@^5.0.1": + "integrity" "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + "version" "5.0.1" + +"ansi-styles@^2.2.1": + "integrity" "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz" + "version" "2.2.1" + +"ansi-styles@^3.2.1", "ansi-styles@^4.0.0", "ansi-styles@^4.1.0": + "integrity" "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "color-convert" "^2.0.1" + +"ansi-styles@^5.0.0": + "integrity" "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" + "version" "5.2.0" + +"any-promise@^1.0.0": + "integrity" "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + "resolved" "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" + "version" "1.3.0" + +"anymatch@^3.0.3", "anymatch@~3.1.2": + "integrity" "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==" + "resolved" "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" + "version" "3.1.2" + dependencies: + "normalize-path" "^3.0.0" + "picomatch" "^2.0.4" + +"aproba@^1.0.3": + "integrity" "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + "resolved" "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz" + "version" "1.2.0" + +"aproba@^2.0.0": + "integrity" "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" + "resolved" "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" + "version" "2.0.0" + +"are-we-there-yet@~1.1.2": + "integrity" "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==" + "resolved" "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz" + "version" "1.1.7" + dependencies: + "delegates" "^1.0.0" + "readable-stream" "^2.0.6" + +"argparse@^1.0.7": + "integrity" "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==" + "resolved" "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "sprintf-js" "~1.0.2" + +"argparse@^2.0.1": + "integrity" "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "resolved" "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" + "version" "2.0.1" + +"aria-hidden@^1.1.1": + "integrity" "sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A==" + "resolved" "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "tslib" "^2.0.0" + +"aria-query@^4.2.2": + "integrity" "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==" + "resolved" "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz" + "version" "4.2.2" dependencies: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - -array-ify@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== - -array-includes@^3.1.4, array-includes@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" - integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - get-intrinsic "^1.1.1" - is-string "^1.0.7" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -array.prototype.flat@^1.2.5: - version "1.3.0" - resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" - integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -array.prototype.flatmap@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f" - integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -array.prototype.reduce@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz#8167e80089f78bff70a99e20bd4201d4663b0a6f" - integrity sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-array-method-boxes-properly "^1.0.0" - is-string "^1.0.7" - -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.npmjs.org/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.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== - -ast-stringify@0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" - integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== +"array-differ@^3.0.0": + "integrity" "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==" + "resolved" "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz" + "version" "3.0.0" + +"array-ify@^1.0.0": + "integrity" "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" + "resolved" "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz" + "version" "1.0.0" + +"array-includes@^3.1.4", "array-includes@^3.1.5": + "integrity" "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==" + "resolved" "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz" + "version" "3.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.19.5" + "get-intrinsic" "^1.1.1" + "is-string" "^1.0.7" + +"array-union@^2.1.0": + "integrity" "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + "resolved" "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" + "version" "2.1.0" + +"array.prototype.flat@^1.2.5": + "integrity" "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==" + "resolved" "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.2" + "es-shim-unscopables" "^1.0.0" + +"array.prototype.flatmap@^1.3.0": + "integrity" "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==" + "resolved" "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.2" + "es-shim-unscopables" "^1.0.0" + +"array.prototype.reduce@^1.0.4": + "integrity" "sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw==" + "resolved" "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.2" + "es-array-method-boxes-properly" "^1.0.0" + "is-string" "^1.0.7" + +"arrify@^1.0.1": + "integrity" "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" + "resolved" "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" + "version" "1.0.1" + +"arrify@^2.0.1": + "integrity" "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" + "resolved" "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz" + "version" "2.0.1" + +"asap@^2.0.0": + "integrity" "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" + "resolved" "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" + "version" "2.0.6" + +"asn1@~0.2.3": + "integrity" "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==" + "resolved" "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz" + "version" "0.2.6" + dependencies: + "safer-buffer" "~2.1.0" + +"assert-plus@^1.0.0", "assert-plus@1.0.0": + "integrity" "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==" + "resolved" "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" + "version" "1.0.0" + +"ast-stringify@0.1.0": + "integrity" "sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA==" + "resolved" "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz" + "version" "0.1.0" dependencies: "@babel/runtime" "^7.11.2" -ast-types-flow@^0.0.7: - version "0.0.7" - resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" - integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== - -aws4@^1.8.0: - version "1.11.0" - resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" - integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== - -axe-core@^4.4.3: - version "4.4.3" - resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz#11c74d23d5013c0fa5d183796729bc3482bd2f6f" - integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== - -axios@0.21.1: - version "0.21.1" - resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" - integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== - dependencies: - follow-redirects "^1.10.0" - -axios@0.27.2, axios@^0.27.2: - version "0.27.2" - resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== - dependencies: - follow-redirects "^1.14.9" - form-data "^4.0.0" - -axios@^0.21.1, axios@^0.21.2: - version "0.21.4" - resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== - dependencies: - follow-redirects "^1.14.0" - -axobject-query@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" - integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== - -babel-core@7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - -babel-jest@28.1.3, babel-jest@^28.1.1, babel-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" - integrity sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q== +"ast-types-flow@^0.0.7": + "integrity" "sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==" + "resolved" "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz" + "version" "0.0.7" + +"asynckit@^0.4.0": + "integrity" "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "resolved" "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" + "version" "0.4.0" + +"at-least-node@^1.0.0": + "integrity" "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" + "resolved" "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" + "version" "1.0.0" + +"aws-sign2@~0.7.0": + "integrity" "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==" + "resolved" "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz" + "version" "0.7.0" + +"aws4@^1.8.0": + "integrity" "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + "resolved" "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz" + "version" "1.11.0" + +"axe-core@^4.4.3": + "integrity" "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" + "resolved" "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz" + "version" "4.4.3" + +"axios@^0.21.1", "axios@^0.21.2": + "integrity" "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + "version" "0.21.4" + dependencies: + "follow-redirects" "^1.14.0" + +"axios@^0.27.2": + "integrity" "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + "version" "0.27.2" + dependencies: + "follow-redirects" "^1.14.9" + "form-data" "^4.0.0" + +"axios@0.21.1": + "integrity" "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz" + "version" "0.21.1" + dependencies: + "follow-redirects" "^1.10.0" + +"axios@0.27.2": + "integrity" "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + "version" "0.27.2" + dependencies: + "follow-redirects" "^1.14.9" + "form-data" "^4.0.0" + +"axobject-query@^2.2.0": + "integrity" "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==" + "resolved" "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz" + "version" "2.2.0" + +"babel-core@7.0.0-bridge.0": + "integrity" "sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==" + "resolved" "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz" + "version" "7.0.0-bridge.0" + +"babel-jest@^28.0.0", "babel-jest@^28.1.1", "babel-jest@^28.1.3", "babel-jest@28.1.3": + "integrity" "sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q==" + "resolved" "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/transform" "^28.1.3" "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^28.1.3" - chalk "^4.0.0" - graceful-fs "^4.2.9" - slash "^3.0.0" + "babel-plugin-istanbul" "^6.1.1" + "babel-preset-jest" "^28.1.3" + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "slash" "^3.0.0" -babel-plugin-dynamic-import-node@^2.3.3: - version "2.3.3" - resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" - integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== +"babel-plugin-dynamic-import-node@^2.3.3": + "integrity" "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==" + "resolved" "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz" + "version" "2.3.3" dependencies: - object.assign "^4.1.0" + "object.assign" "^4.1.0" -babel-plugin-istanbul@^6.1.1: - version "6.1.1" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" - integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== +"babel-plugin-istanbul@^6.1.1": + "integrity" "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==" + "resolved" "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + "version" "6.1.1" dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@istanbuljs/load-nyc-config" "^1.0.0" "@istanbuljs/schema" "^0.1.2" - istanbul-lib-instrument "^5.0.4" - test-exclude "^6.0.0" + "istanbul-lib-instrument" "^5.0.4" + "test-exclude" "^6.0.0" -babel-plugin-jest-hoist@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz#1952c4d0ea50f2d6d794353762278d1d8cca3fbe" - integrity sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q== +"babel-plugin-jest-hoist@^28.1.3": + "integrity" "sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q==" + "resolved" "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz" + "version" "28.1.3" 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@2.8.0: - version "2.8.0" - resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz#0f958a7cc6556b1e65344465d99111a1e5e10138" - integrity sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg== +"babel-plugin-macros@^3.1.0": + "integrity" "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==" + "resolved" "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz" + "version" "3.1.0" dependencies: - "@babel/runtime" "^7.7.2" - cosmiconfig "^6.0.0" - resolve "^1.12.0" + "@babel/runtime" "^7.12.5" + "cosmiconfig" "^7.0.0" + "resolve" "^1.19.0" -babel-plugin-macros@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" - integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== +"babel-plugin-macros@2.8.0": + "integrity" "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==" + "resolved" "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz" + "version" "2.8.0" dependencies: - "@babel/runtime" "^7.12.5" - cosmiconfig "^7.0.0" - resolve "^1.19.0" + "@babel/runtime" "^7.7.2" + "cosmiconfig" "^6.0.0" + "resolve" "^1.12.0" -babel-plugin-polyfill-corejs2@^0.3.2: - version "0.3.3" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" - integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== +"babel-plugin-polyfill-corejs2@^0.3.2": + "integrity" "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==" + "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" + "version" "0.3.3" dependencies: "@babel/compat-data" "^7.17.7" "@babel/helper-define-polyfill-provider" "^0.3.3" - semver "^6.1.1" + "semver" "^6.1.1" -babel-plugin-polyfill-corejs3@^0.5.3: - version "0.5.3" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz#d7e09c9a899079d71a8b670c6181af56ec19c5c7" - integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== +"babel-plugin-polyfill-corejs3@^0.5.3": + "integrity" "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==" + "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz" + "version" "0.5.3" dependencies: "@babel/helper-define-polyfill-provider" "^0.3.2" - core-js-compat "^3.21.0" + "core-js-compat" "^3.21.0" -babel-plugin-polyfill-regenerator@^0.4.0: - version "0.4.1" - resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" - integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== +"babel-plugin-polyfill-regenerator@^0.4.0": + "integrity" "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==" + "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" + "version" "0.4.1" dependencies: "@babel/helper-define-polyfill-provider" "^0.3.3" -babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== +"babel-preset-current-node-syntax@^1.0.0": + "integrity" "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==" + "resolved" "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz" + "version" "1.0.1" dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" @@ -5822,2967 +6610,3003 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz#5dfc20b99abed5db994406c2b9ab94c73aaa419d" - integrity sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A== - dependencies: - babel-plugin-jest-hoist "^28.1.3" - babel-preset-current-node-syntax "^1.0.0" - -babel-watch@^7.0.0: - version "7.7.0" - resolved "https://registry.npmjs.org/babel-watch/-/babel-watch-7.7.0.tgz#a87083cdfe8bc38d3905bfb64814d3480c53877f" - integrity sha512-PKytGmhgXWcNmNK+Y0fEQ/0+re8jDVAAppL1JGqdPKihab2siG5dzbM1dnKXvn0VWOW1ybJjiW+dDb6nV0S1KA== - 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" - source-map-support "^0.5.19" - string-argv "^0.3.1" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -base-x@^3.0.2: - version "3.0.9" - resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" - integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== - dependencies: - safe-buffer "^5.0.1" - -base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== - dependencies: - tweetnacl "^0.14.3" - -bech32@^1.1.3, bech32@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" - integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== - -before-after-hook@^2.2.0: - version "2.2.2" - resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" - integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== - -big-integer@^1.6.48: - version "1.6.51" - resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -bindings@^1.3.0: - version "1.5.0" - resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -bip32@^2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" - integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== +"babel-preset-jest@^28.1.3": + "integrity" "sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A==" + "resolved" "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz" + "version" "28.1.3" + dependencies: + "babel-plugin-jest-hoist" "^28.1.3" + "babel-preset-current-node-syntax" "^1.0.0" + +"babel-watch@^7.0.0": + "integrity" "sha512-PKytGmhgXWcNmNK+Y0fEQ/0+re8jDVAAppL1JGqdPKihab2siG5dzbM1dnKXvn0VWOW1ybJjiW+dDb6nV0S1KA==" + "resolved" "https://registry.npmjs.org/babel-watch/-/babel-watch-7.7.0.tgz" + "version" "7.7.0" + 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" + "source-map-support" "^0.5.19" + "string-argv" "^0.3.1" + +"balanced-match@^1.0.0": + "integrity" "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "resolved" "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + "version" "1.0.2" + +"base-x@^3.0.2": + "integrity" "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==" + "resolved" "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" + "version" "3.0.9" + dependencies: + "safe-buffer" "^5.0.1" + +"base64-js@^1.0.2", "base64-js@^1.3.0", "base64-js@^1.3.1": + "integrity" "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + "resolved" "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" + "version" "1.5.1" + +"bcrypt-pbkdf@^1.0.0": + "integrity" "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==" + "resolved" "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "tweetnacl" "^0.14.3" + +"bech32@^1.1.3", "bech32@^1.1.4": + "integrity" "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + "resolved" "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz" + "version" "1.1.4" + +"before-after-hook@^2.2.0": + "integrity" "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==" + "resolved" "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz" + "version" "2.2.2" + +"big-integer@^1.6.48": + "integrity" "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==" + "resolved" "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" + "version" "1.6.51" + +"binary-extensions@^2.0.0": + "integrity" "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + "resolved" "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" + "version" "2.2.0" + +"bindings@^1.3.0": + "integrity" "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==" + "resolved" "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz" + "version" "1.5.0" + dependencies: + "file-uri-to-path" "1.0.0" + +"bip32@^2.0.6": + "integrity" "sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==" + "resolved" "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz" + "version" "2.0.6" dependencies: "@types/node" "10.12.18" - bs58check "^2.1.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - tiny-secp256k1 "^1.1.3" - typeforce "^1.11.5" - wif "^2.0.6" - -bip39@^3.0.2, bip39@^3.0.3: - version "3.0.4" - resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" - integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + "bs58check" "^2.1.1" + "create-hash" "^1.2.0" + "create-hmac" "^1.1.7" + "tiny-secp256k1" "^1.1.3" + "typeforce" "^1.11.5" + "wif" "^2.0.6" + +"bip39@^3.0.2", "bip39@^3.0.3": + "integrity" "sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw==" + "resolved" "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz" + "version" "3.0.4" dependencies: "@types/node" "11.11.6" - create-hash "^1.1.0" - pbkdf2 "^3.0.9" - randombytes "^2.0.1" - -bn.js@4.11.8: - version "4.11.8" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== - -bn.js@^4.11.8, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.2.0, bn.js@^5.2.1: - version "5.2.1" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" - integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== - -bowser@2.11.0: - version "2.11.0" - resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" - integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== - -browserslist@^4.11.1, browserslist@^4.21.3: - version "4.21.4" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" - integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== - dependencies: - caniuse-lite "^1.0.30001400" - electron-to-chromium "^1.4.251" - node-releases "^2.0.6" - update-browserslist-db "^1.0.9" - -bs-logger@0.x: - version "0.2.6" - resolved "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - -bs58@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" - integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== - dependencies: - base-x "^3.0.2" - -bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" - integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== - dependencies: - bs58 "^4.0.0" - create-hash "^1.1.0" - safe-buffer "^5.1.2" - -bser@2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" - integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== - dependencies: - node-int64 "^0.4.0" - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer@6.0.3, buffer@^6.0.3: - version "6.0.3" - resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" - integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" - -buffer@~5.4.3: - version "5.4.3" - resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" - integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - integrity sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q== + "create-hash" "^1.1.0" + "pbkdf2" "^3.0.9" + "randombytes" "^2.0.1" + +"bn.js@^4.11.8", "bn.js@^4.11.9": + "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + "version" "4.12.0" + +"bn.js@^5.2.0": + "integrity" "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + "version" "5.2.1" + +"bn.js@^5.2.1": + "integrity" "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + "version" "5.2.1" + +"bn.js@4.11.8": + "integrity" "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz" + "version" "4.11.8" + +"bowser@2.11.0": + "integrity" "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + "resolved" "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + "version" "2.11.0" + +"brace-expansion@^1.1.7": + "integrity" "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==" + "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + "version" "1.1.11" + dependencies: + "balanced-match" "^1.0.0" + "concat-map" "0.0.1" + +"brace-expansion@^2.0.1": + "integrity" "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==" + "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "balanced-match" "^1.0.0" + +"braces@^3.0.2", "braces@~3.0.2": + "integrity" "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==" + "resolved" "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "fill-range" "^7.0.1" + +"brorand@^1.1.0": + "integrity" "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" + "resolved" "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" + "version" "1.1.0" + +"browserslist@^4.11.1", "browserslist@^4.12.0", "browserslist@^4.21.3", "browserslist@>= 4.21.0": + "integrity" "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==" + "resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" + "version" "4.21.4" + dependencies: + "caniuse-lite" "^1.0.30001400" + "electron-to-chromium" "^1.4.251" + "node-releases" "^2.0.6" + "update-browserslist-db" "^1.0.9" + +"browserslist@^4.20.2": + "version" "4.21.3" + dependencies: + "caniuse-lite" "^1.0.30001370" + "electron-to-chromium" "^1.4.202" + "node-releases" "^2.0.6" + "update-browserslist-db" "^1.0.5" + +"bs-logger@0.x": + "integrity" "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==" + "resolved" "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" + "version" "0.2.6" + dependencies: + "fast-json-stable-stringify" "2.x" + +"bs58@^4.0.0": + "integrity" "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==" + "resolved" "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "base-x" "^3.0.2" + +"bs58check@^2.1.1", "bs58check@^2.1.2", "bs58check@<3.0.0": + "integrity" "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==" + "resolved" "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz" + "version" "2.1.2" + dependencies: + "bs58" "^4.0.0" + "create-hash" "^1.1.0" + "safe-buffer" "^5.1.2" + +"bser@2.1.1": + "integrity" "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==" + "resolved" "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "node-int64" "^0.4.0" + +"buffer-from@^1.0.0": + "integrity" "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + "resolved" "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" + "version" "1.1.2" + +"buffer@^6.0.3", "buffer@6.0.3": + "integrity" "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + "version" "6.0.3" + dependencies: + "base64-js" "^1.3.1" + "ieee754" "^1.2.1" + +"buffer@~5.4.3": + "integrity" "sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz" + "version" "5.4.3" + dependencies: + "base64-js" "^1.0.2" + "ieee754" "^1.1.4" + +"builtins@^1.0.3": + "integrity" "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" + "resolved" "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz" + "version" "1.0.3" + +"byline@^5.0.0": + "integrity" "sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==" + "resolved" "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz" + "version" "5.0.0" -byte-size@^7.0.0: - version "7.0.1" - resolved "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz#b1daf3386de7ab9d706b941a748dbfc71130dee3" - integrity sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A== +"byte-size@^7.0.0": + "integrity" "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==" + "resolved" "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz" + "version" "7.0.1" -cacache@^15.0.5, cacache@^15.2.0: - version "15.3.0" - resolved "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" - integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== +"cacache@^15.0.5", "cacache@^15.2.0": + "integrity" "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==" + "resolved" "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz" + "version" "15.3.0" dependencies: "@npmcli/fs" "^1.0.0" "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" - -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - -call-me-maybe@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" - integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -camelcase-keys@^6.2.2: - version "6.2.2" - resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" - integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== - dependencies: - camelcase "^5.3.1" - map-obj "^4.0.0" - quick-lru "^4.0.1" - -camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -camelcase@^6.2.0: - version "6.3.0" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: - version "1.0.30001402" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz#aa29e1f47f5055b0d0c07696a67b8b08023d14c8" - integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== - -case@1.6.3: - version "1.6.3" - resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" - integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== - -chain-registry@0.14.0: - version "0.14.0" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" - integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== - dependencies: - "@babel/runtime" "^7.19.0" - "@chain-registry/types" "^0.11.0" - -chain-registry@^0.10.0: - version "0.10.3" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz#d3ff23c49a670adf710e5c33e2bb247b9695c1c3" - integrity sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA== + "chownr" "^2.0.0" + "fs-minipass" "^2.0.0" + "glob" "^7.1.4" + "infer-owner" "^1.0.4" + "lru-cache" "^6.0.0" + "minipass" "^3.1.1" + "minipass-collect" "^1.0.2" + "minipass-flush" "^1.0.5" + "minipass-pipeline" "^1.2.2" + "mkdirp" "^1.0.3" + "p-map" "^4.0.0" + "promise-inflight" "^1.0.1" + "rimraf" "^3.0.2" + "ssri" "^8.0.1" + "tar" "^6.0.2" + "unique-filename" "^1.1.1" + +"call-bind@^1.0.0", "call-bind@^1.0.2": + "integrity" "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==" + "resolved" "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "function-bind" "^1.1.1" + "get-intrinsic" "^1.0.2" + +"call-me-maybe@^1.0.1": + "integrity" "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==" + "resolved" "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz" + "version" "1.0.1" + +"callsites@^3.0.0": + "integrity" "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" + "resolved" "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" + "version" "3.1.0" + +"camelcase-keys@^6.2.2": + "integrity" "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==" + "resolved" "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz" + "version" "6.2.2" + dependencies: + "camelcase" "^5.3.1" + "map-obj" "^4.0.0" + "quick-lru" "^4.0.1" + +"camelcase@^5.3.1": + "integrity" "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" + "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + "version" "5.3.1" + +"camelcase@^6.2.0": + "integrity" "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" + "version" "6.3.0" + +"caniuse-lite@^1.0.30001332", "caniuse-lite@^1.0.30001400": + "integrity" "sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew==" + "resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + "version" "1.0.30001402" + +"caniuse-lite@^1.0.30001370": + "version" "1.0.30001373" + +"case@1.6.3": + "integrity" "sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==" + "resolved" "https://registry.npmjs.org/case/-/case-1.6.3.tgz" + "version" "1.6.3" + +"caseless@~0.12.0": + "integrity" "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" + "resolved" "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" + "version" "0.12.0" + +"chain-registry@^0.10.0": + "integrity" "sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA==" + "resolved" "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz" + "version" "0.10.3" dependencies: "@babel/runtime" "^7.18.3" "@chain-registry/types" "^0.7.1" -chakra-react-select@4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz#f523779fd123b5e42894d1038e5687ba913464a9" - integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== - dependencies: - react-select "^5.4.0" - -chalk@^1.0.0, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.0.0, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^4.0.0, chalk@^4.1.0: - version "4.1.2" - resolved "https://registry.npmjs.org/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.npmjs.org/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" - integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== - -chardet@^0.4.0: - version "0.4.2" - resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" - integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== - -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - -charenc@~0.0.1: - version "0.0.2" - resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== - -chokidar@^3.4.0, chokidar@^3.4.3: - version "3.5.3" - resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" +"chain-registry@0.14.0": + "integrity" "sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw==" + "resolved" "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz" + "version" "0.14.0" + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +"chakra-react-select@4.2.2": + "integrity" "sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ==" + "resolved" "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz" + "version" "4.2.2" + dependencies: + "react-select" "^5.4.0" + +"chalk@^1.0.0", "chalk@^1.1.3": + "integrity" "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz" + "version" "1.1.3" + dependencies: + "ansi-styles" "^2.2.1" + "escape-string-regexp" "^1.0.2" + "has-ansi" "^2.0.0" + "strip-ansi" "^3.0.0" + "supports-color" "^2.0.0" + +"chalk@^2.0.0", "chalk@^4.0.0", "chalk@^4.1.0": + "integrity" "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "ansi-styles" "^4.1.0" + "supports-color" "^7.1.0" + +"chalk@^2.4.2": + "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "ansi-styles" "^3.2.1" + "escape-string-regexp" "^1.0.5" + "supports-color" "^5.3.0" + +"char-regex@^1.0.2": + "integrity" "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==" + "resolved" "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" + "version" "1.0.2" + +"chardet@^0.4.0": + "integrity" "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==" + "resolved" "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz" + "version" "0.4.2" + +"chardet@^0.7.0": + "integrity" "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" + "resolved" "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" + "version" "0.7.0" + +"charenc@~0.0.1": + "integrity" "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==" + "resolved" "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz" + "version" "0.0.2" + +"chokidar@^3.4.0", "chokidar@^3.4.3": + "integrity" "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==" + "resolved" "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" + "version" "3.5.3" + dependencies: + "anymatch" "~3.1.2" + "braces" "~3.0.2" + "glob-parent" "~5.1.2" + "is-binary-path" "~2.1.0" + "is-glob" "~4.0.1" + "normalize-path" "~3.0.0" + "readdirp" "~3.6.0" optionalDependencies: - fsevents "~2.3.2" - -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== - -ci-info@^3.2.0: - version "3.4.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz#b28484fd436cbc267900364f096c9dc185efb251" - integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== - -cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -cjs-module-lexer@^1.0.0: - version "1.2.2" - resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" - integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/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.npmjs.org/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" - integrity sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ== - dependencies: - d "^1.0.1" - es5-ext "^0.10.61" - es6-iterator "^2.0.3" - memoizee "^0.4.15" - timers-ext "^0.1.7" - -cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== - dependencies: - restore-cursor "^2.0.0" - -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-width@^2.0.0: - version "2.2.1" - resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" - integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - -clone@^1.0.2: - version "1.0.4" - resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== - -cmd-shim@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" - integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== - dependencies: - mkdirp-infer-owner "^2.0.0" - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/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.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== - -color-convert@^1.9.0: - version "1.9.3" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -colors@^1.1.2: - version "1.4.0" - resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - -columnify@^1.5.4: - version "1.6.0" - resolved "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" - integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== - dependencies: - strip-ansi "^6.0.1" - wcwidth "^1.0.0" - -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^4.0.1: - version "4.1.1" - resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - -commander@^6.2.0: - version "6.2.1" - resolved "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" - integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== - -compare-func@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" - integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== - dependencies: - array-ify "^1.0.0" - dot-prop "^5.1.0" - -compute-scroll-into-view@1.0.14: - version "1.0.14" - resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" - integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -concat-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1" - integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.0.2" - typedarray "^0.0.6" - -config-chain@^1.1.12: - version "1.1.13" - resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" - integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -conventional-changelog-angular@^5.0.12: - version "5.0.13" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" - integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== - dependencies: - compare-func "^2.0.0" - q "^1.5.1" - -conventional-changelog-core@^4.2.2: - version "4.2.4" - resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f" - integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== - dependencies: - add-stream "^1.0.0" - conventional-changelog-writer "^5.0.0" - conventional-commits-parser "^3.2.0" - dateformat "^3.0.0" - get-pkg-repo "^4.0.0" - git-raw-commits "^2.0.8" - git-remote-origin-url "^2.0.0" - 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 "^4.0.0" - -conventional-changelog-preset-loader@^2.3.4: - version "2.3.4" - resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" - integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== - -conventional-changelog-writer@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359" - integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== - dependencies: - conventional-commits-filter "^2.0.7" - dateformat "^3.0.0" - handlebars "^4.7.7" - json-stringify-safe "^5.0.1" - lodash "^4.17.15" - meow "^8.0.0" - semver "^6.0.0" - split "^1.0.0" - through2 "^4.0.0" - -conventional-commits-filter@^2.0.7: - version "2.0.7" - resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz#f8d9b4f182fce00c9af7139da49365b136c8a0b3" - integrity sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA== - dependencies: - lodash.ismatch "^4.4.0" - modify-values "^1.0.0" - -conventional-commits-parser@^3.2.0: - version "3.2.4" - resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz#a7d3b77758a202a9b2293d2112a8d8052c740972" - integrity sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q== - dependencies: - JSONStream "^1.0.4" - is-text-path "^1.0.1" - lodash "^4.17.15" - meow "^8.0.0" - split2 "^3.0.0" - through2 "^4.0.0" - -conventional-recommended-bump@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/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.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.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.8.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" - -copy-to-clipboard@3.3.1: - version "3.3.1" - resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" - integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== - dependencies: - toggle-selection "^1.0.6" - -core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: - version "3.25.1" - resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz#6f13a90de52f89bbe6267e5620a412c7f7ff7e42" - integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== - dependencies: - browserslist "^4.21.3" - -core-js-pure@^3.25.1: - version "3.25.1" - resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz#79546518ae87cc362c991d9c2d211f45107991ee" - integrity sha512-7Fr74bliUDdeJCBMxkkIuQ4xfxn/SwrVg+HkJUAoNEXVqYLv55l6Af0dJ5Lq2YBUW9yKqSkLXaS5SYPK6MGa/A== - -core-js@^3.25.1: - version "3.25.1" - resolved "https://registry.npmjs.org/core-js/-/core-js-3.25.1.tgz#5818e09de0db8956e16bf10e2a7141e931b7c69c" - integrity sha512-sr0FY4lnO1hkQ4gLDr24K0DGnweGO1QwSj5BpfQjpSJPdqWalja4cTps29Y/PJVG/P7FYlPDkH3hO+Tr0CvDgQ== - -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/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.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== + "fsevents" "~2.3.2" + +"chownr@^1.1.4": + "integrity" "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + "resolved" "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz" + "version" "1.1.4" + +"chownr@^2.0.0": + "integrity" "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" + "resolved" "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" + "version" "2.0.0" + +"ci-info@^2.0.0": + "integrity" "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz" + "version" "2.0.0" + +"ci-info@^3.2.0": + "integrity" "sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==" + "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz" + "version" "3.4.0" + +"cipher-base@^1.0.1", "cipher-base@^1.0.3": + "integrity" "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==" + "resolved" "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "inherits" "^2.0.1" + "safe-buffer" "^5.0.1" + +"cjs-module-lexer@^1.0.0": + "integrity" "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==" + "resolved" "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz" + "version" "1.2.2" + +"clean-stack@^2.0.0": + "integrity" "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + "resolved" "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" + "version" "2.2.0" + +"cli-color@^2.0.2": + "integrity" "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==" + "resolved" "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "d" "^1.0.1" + "es5-ext" "^0.10.61" + "es6-iterator" "^2.0.3" + "memoizee" "^0.4.15" + "timers-ext" "^0.1.7" + +"cli-cursor@^2.1.0": + "integrity" "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==" + "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "restore-cursor" "^2.0.0" + +"cli-cursor@^3.1.0": + "integrity" "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==" + "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "restore-cursor" "^3.1.0" + +"cli-width@^2.0.0": + "integrity" "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" + "resolved" "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz" + "version" "2.2.1" + +"cli-width@^3.0.0": + "integrity" "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" + "resolved" "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" + "version" "3.0.0" + +"cliui@^7.0.2": + "integrity" "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==" + "resolved" "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" + "version" "7.0.4" + dependencies: + "string-width" "^4.2.0" + "strip-ansi" "^6.0.0" + "wrap-ansi" "^7.0.0" + +"clone-deep@^4.0.1": + "integrity" "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==" + "resolved" "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "is-plain-object" "^2.0.4" + "kind-of" "^6.0.2" + "shallow-clone" "^3.0.0" + +"clone@^1.0.2": + "integrity" "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==" + "resolved" "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz" + "version" "1.0.4" + +"cmd-shim@^4.1.0": + "integrity" "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==" + "resolved" "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "mkdirp-infer-owner" "^2.0.0" + +"co@^4.6.0": + "integrity" "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==" + "resolved" "https://registry.npmjs.org/co/-/co-4.6.0.tgz" + "version" "4.6.0" + +"code-point-at@^1.0.0": + "integrity" "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" + "resolved" "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" + "version" "1.1.0" + +"collect-v8-coverage@^1.0.0": + "integrity" "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==" + "resolved" "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz" + "version" "1.0.1" + +"color-convert@^1.9.0": + "integrity" "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==" + "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" + "version" "1.9.3" + dependencies: + "color-name" "1.1.3" + +"color-convert@^2.0.1": + "integrity" "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==" + "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "color-name" "~1.1.4" + +"color-name@~1.1.4": + "integrity" "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + "version" "1.1.4" + +"color-name@1.1.3": + "integrity" "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + "version" "1.1.3" + +"colors@^1.1.2": + "integrity" "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" + "resolved" "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" + "version" "1.4.0" + +"columnify@^1.5.4": + "integrity" "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==" + "resolved" "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz" + "version" "1.6.0" + dependencies: + "strip-ansi" "^6.0.1" + "wcwidth" "^1.0.0" + +"combined-stream@^1.0.6", "combined-stream@^1.0.8", "combined-stream@~1.0.6": + "integrity" "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==" + "resolved" "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + "version" "1.0.8" + dependencies: + "delayed-stream" "~1.0.0" + +"commander@^4.0.1": + "integrity" "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" + "resolved" "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" + "version" "4.1.1" + +"commander@^6.2.0": + "integrity" "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" + "resolved" "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz" + "version" "6.2.1" + +"commondir@^1.0.1": + "integrity" "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" + "resolved" "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz" + "version" "1.0.1" + +"compare-func@^2.0.0": + "integrity" "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==" + "resolved" "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "array-ify" "^1.0.0" + "dot-prop" "^5.1.0" + +"compute-scroll-into-view@1.0.14": + "integrity" "sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ==" + "resolved" "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz" + "version" "1.0.14" + +"concat-map@0.0.1": + "integrity" "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "resolved" "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + "version" "0.0.1" + +"concat-stream@^2.0.0": + "integrity" "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==" + "resolved" "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "buffer-from" "^1.0.0" + "inherits" "^2.0.3" + "readable-stream" "^3.0.2" + "typedarray" "^0.0.6" + +"config-chain@^1.1.12": + "integrity" "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==" + "resolved" "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz" + "version" "1.1.13" + dependencies: + "ini" "^1.3.4" + "proto-list" "~1.2.1" + +"console-control-strings@^1.0.0", "console-control-strings@~1.1.0": + "integrity" "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + "resolved" "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" + "version" "1.1.0" + +"conventional-changelog-angular@^5.0.12": + "integrity" "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==" + "resolved" "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz" + "version" "5.0.13" + dependencies: + "compare-func" "^2.0.0" + "q" "^1.5.1" + +"conventional-changelog-core@^4.2.2": + "integrity" "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==" + "resolved" "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz" + "version" "4.2.4" + dependencies: + "add-stream" "^1.0.0" + "conventional-changelog-writer" "^5.0.0" + "conventional-commits-parser" "^3.2.0" + "dateformat" "^3.0.0" + "get-pkg-repo" "^4.0.0" + "git-raw-commits" "^2.0.8" + "git-remote-origin-url" "^2.0.0" + "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" "^4.0.0" + +"conventional-changelog-preset-loader@^2.3.4": + "integrity" "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==" + "resolved" "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz" + "version" "2.3.4" + +"conventional-changelog-writer@^5.0.0": + "integrity" "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==" + "resolved" "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "conventional-commits-filter" "^2.0.7" + "dateformat" "^3.0.0" + "handlebars" "^4.7.7" + "json-stringify-safe" "^5.0.1" + "lodash" "^4.17.15" + "meow" "^8.0.0" + "semver" "^6.0.0" + "split" "^1.0.0" + "through2" "^4.0.0" + +"conventional-commits-filter@^2.0.7": + "integrity" "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==" + "resolved" "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz" + "version" "2.0.7" + dependencies: + "lodash.ismatch" "^4.4.0" + "modify-values" "^1.0.0" + +"conventional-commits-parser@^3.2.0": + "integrity" "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==" + "resolved" "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz" + "version" "3.2.4" + dependencies: + "is-text-path" "^1.0.1" + "JSONStream" "^1.0.4" + "lodash" "^4.17.15" + "meow" "^8.0.0" + "split2" "^3.0.0" + "through2" "^4.0.0" + +"conventional-recommended-bump@^6.1.0": + "integrity" "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==" + "resolved" "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz" + "version" "6.1.0" + dependencies: + "concat-stream" "^2.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.5.0", "convert-source-map@^1.6.0", "convert-source-map@^1.7.0": + "integrity" "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==" + "resolved" "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" + "version" "1.8.0" + dependencies: + "safe-buffer" "~5.1.1" + +"copy-to-clipboard@3.3.1": + "integrity" "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==" + "resolved" "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz" + "version" "3.3.1" + dependencies: + "toggle-selection" "^1.0.6" + +"core-js-compat@^3.21.0", "core-js-compat@^3.22.1", "core-js-compat@^3.6.2": + "integrity" "sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw==" + "resolved" "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" + "version" "3.25.1" + dependencies: + "browserslist" "^4.21.3" + +"core-js-pure@^3.25.1": + "integrity" "sha512-7Fr74bliUDdeJCBMxkkIuQ4xfxn/SwrVg+HkJUAoNEXVqYLv55l6Af0dJ5Lq2YBUW9yKqSkLXaS5SYPK6MGa/A==" + "resolved" "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz" + "version" "3.25.1" + +"core-js@^3.25.1": + "integrity" "sha512-sr0FY4lnO1hkQ4gLDr24K0DGnweGO1QwSj5BpfQjpSJPdqWalja4cTps29Y/PJVG/P7FYlPDkH3hO+Tr0CvDgQ==" + "resolved" "https://registry.npmjs.org/core-js/-/core-js-3.25.1.tgz" + "version" "3.25.1" + +"core-util-is@~1.0.0": + "integrity" "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz" + "version" "1.0.3" + +"core-util-is@1.0.2": + "integrity" "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==" + "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" + "version" "1.0.2" + +"cosmiconfig@^6.0.0": + "integrity" "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==" + "resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz" + "version" "6.0.0" dependencies: "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.7.2" + "import-fresh" "^3.1.0" + "parse-json" "^5.0.0" + "path-type" "^4.0.0" + "yaml" "^1.7.2" -cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== +"cosmiconfig@^7.0.0": + "integrity" "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==" + "resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz" + "version" "7.0.1" dependencies: "@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" - -cosmjs-types@0.5.1, cosmjs-types@^0.5.0: - version "0.5.1" - resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz#f9bc35e78c32b687fb6018dc573eb454b3ae2587" - integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -cosmjs-types@^0.4.0: - version "0.4.1" - resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" - integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -cross-env@^7.0.2: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" - integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== - dependencies: - cross-spawn "^7.0.1" - -cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -crypt@~0.0.1: - version "0.0.2" - resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== - -crypto-js@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" - integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== - -css-box-model@1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" - integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== - dependencies: - tiny-invariant "^1.0.6" - -csstype@^3.0.11, csstype@^3.0.2: - version "3.1.1" - resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" - integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== - -curve25519-js@0.0.4: - version "0.0.4" - resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" - integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - -damerau-levenshtein@^1.0.8: - version "1.0.8" - resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" - integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== - -dargs@7.0.0, dargs@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" - integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== - dependencies: - assert-plus "^1.0.0" - -dateformat@^3.0.0: - version "3.0.3" - resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== - -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: - version "4.3.4" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -debug@^2.6.9: - version "2.6.9" - resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^3.2.7: - version "3.2.7" - resolved "https://registry.npmjs.org/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.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== - -decamelize-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" - integrity sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg== - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== - -dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - -deep-is@^0.1.3: - version "0.1.4" - resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== - -deepmerge@4.2.2, deepmerge@^4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" - integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== - -defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA== - dependencies: - clone "^1.0.2" - -define-properties@^1.1.3, define-properties@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" - integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== - dependencies: - has-property-descriptors "^1.0.0" - object-keys "^1.1.1" - -delay@^4.4.0: - version "4.4.1" - resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" - integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -depd@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - -detect-browser@5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" - integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== - -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== - -detect-indent@^6.0.0: - version "6.1.0" - resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" - integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== - -detect-newline@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" - integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== - -detect-node-es@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" - integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== - -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - -diff-sequences@^28.1.1: - version "28.1.1" - resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" - integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== - dependencies: - esutils "^2.0.2" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - -dom-helpers@^5.0.1: - version "5.2.1" - resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" - integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== + "import-fresh" "^3.2.1" + "parse-json" "^5.0.0" + "path-type" "^4.0.0" + "yaml" "^1.10.0" + +"cosmjs-types@^0.4.0": + "integrity" "sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog==" + "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz" + "version" "0.4.1" + dependencies: + "long" "^4.0.0" + "protobufjs" "~6.11.2" + +"cosmjs-types@^0.5.0", "cosmjs-types@0.5.1": + "integrity" "sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g==" + "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + "version" "0.5.1" + dependencies: + "long" "^4.0.0" + "protobufjs" "~6.11.2" + +"create-cosmos-app@file:/Users/pyramation/code/cosmology/create-cosmos-app/packages/create-cosmos-app": + "resolved" "file:packages/create-cosmos-app" + "version" "0.3.2" + dependencies: + "@babel/runtime" "^7.11.2" + "dargs" "7.0.0" + "fuzzy" "0.1.3" + "inquirerer" "0.1.3" + "minimist" "1.2.6" + "mkdirp" "1.0.4" + "shelljs" "0.8.5" + +"create-hash@^1.1.0", "create-hash@^1.1.2", "create-hash@^1.2.0": + "integrity" "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==" + "resolved" "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "cipher-base" "^1.0.1" + "inherits" "^2.0.1" + "md5.js" "^1.3.4" + "ripemd160" "^2.0.1" + "sha.js" "^2.4.0" + +"create-hmac@^1.1.4", "create-hmac@^1.1.7": + "integrity" "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==" + "resolved" "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" + "version" "1.1.7" + dependencies: + "cipher-base" "^1.0.3" + "create-hash" "^1.1.0" + "inherits" "^2.0.1" + "ripemd160" "^2.0.0" + "safe-buffer" "^5.0.1" + "sha.js" "^2.4.8" + +"cross-env@^7.0.2": + "integrity" "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==" + "resolved" "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz" + "version" "7.0.3" + dependencies: + "cross-spawn" "^7.0.1" + +"cross-spawn@^7.0.1", "cross-spawn@^7.0.2", "cross-spawn@^7.0.3": + "integrity" "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==" + "resolved" "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" + "version" "7.0.3" + dependencies: + "path-key" "^3.1.0" + "shebang-command" "^2.0.0" + "which" "^2.0.1" + +"crypt@~0.0.1": + "integrity" "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==" + "resolved" "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz" + "version" "0.0.2" + +"crypto-js@^4.0.0": + "integrity" "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + "resolved" "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz" + "version" "4.1.1" + +"css-box-model@1.2.1": + "integrity" "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==" + "resolved" "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "tiny-invariant" "^1.0.6" + +"csstype@^3.0.11", "csstype@^3.0.2": + "integrity" "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" + "resolved" "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz" + "version" "3.1.1" + +"curve25519-js@0.0.4": + "integrity" "sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w==" + "resolved" "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz" + "version" "0.0.4" + +"d@^1.0.1", "d@1": + "integrity" "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==" + "resolved" "https://registry.npmjs.org/d/-/d-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "es5-ext" "^0.10.50" + "type" "^1.0.1" + +"damerau-levenshtein@^1.0.8": + "integrity" "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==" + "resolved" "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz" + "version" "1.0.8" + +"dargs@^7.0.0", "dargs@7.0.0": + "integrity" "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==" + "resolved" "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz" + "version" "7.0.0" + +"dashdash@^1.12.0": + "integrity" "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==" + "resolved" "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz" + "version" "1.14.1" + dependencies: + "assert-plus" "^1.0.0" + +"dateformat@^3.0.0": + "integrity" "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" + "resolved" "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz" + "version" "3.0.3" + +"debug@^2.6.9": + "integrity" "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" + "resolved" "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + "version" "2.6.9" + dependencies: + "ms" "2.0.0" + +"debug@^3.2.7": + "integrity" "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==" + "resolved" "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" + "version" "3.2.7" + dependencies: + "ms" "^2.1.1" + +"debug@^4.1.0", "debug@^4.1.1", "debug@^4.3.1", "debug@^4.3.2", "debug@^4.3.3", "debug@^4.3.4", "debug@4": + "integrity" "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==" + "resolved" "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + "version" "4.3.4" + dependencies: + "ms" "2.1.2" + +"debuglog@^1.0.1": + "integrity" "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==" + "resolved" "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz" + "version" "1.0.1" + +"decamelize-keys@^1.1.0": + "integrity" "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==" + "resolved" "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "decamelize" "^1.1.0" + "map-obj" "^1.0.0" + +"decamelize@^1.1.0": + "integrity" "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" + "resolved" "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" + "version" "1.2.0" + +"decode-uri-component@^0.2.0": + "integrity" "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==" + "resolved" "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz" + "version" "0.2.0" + +"dedent@^0.7.0": + "integrity" "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==" + "resolved" "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" + "version" "0.7.0" + +"deep-is@^0.1.3": + "integrity" "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + "resolved" "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" + "version" "0.1.4" + +"deepmerge@^4.2.2", "deepmerge@4.2.2": + "integrity" "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + "resolved" "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz" + "version" "4.2.2" + +"defaults@^1.0.3": + "integrity" "sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA==" + "resolved" "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "clone" "^1.0.2" + +"define-properties@^1.1.3", "define-properties@^1.1.4": + "integrity" "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==" + "resolved" "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + "version" "1.1.4" + dependencies: + "has-property-descriptors" "^1.0.0" + "object-keys" "^1.1.1" + +"delay@^4.4.0": + "integrity" "sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ==" + "resolved" "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" + "version" "4.4.1" + +"delayed-stream@~1.0.0": + "integrity" "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + "resolved" "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" + "version" "1.0.0" + +"delegates@^1.0.0": + "integrity" "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" + "resolved" "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" + "version" "1.0.0" + +"depd@^1.1.2": + "integrity" "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==" + "resolved" "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" + "version" "1.1.2" + +"deprecation@^2.0.0", "deprecation@^2.3.1": + "integrity" "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + "resolved" "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz" + "version" "2.3.1" + +"detect-browser@5.2.0": + "integrity" "sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==" + "resolved" "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz" + "version" "5.2.0" + +"detect-indent@^5.0.0": + "integrity" "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==" + "resolved" "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz" + "version" "5.0.0" + +"detect-indent@^6.0.0": + "integrity" "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==" + "resolved" "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz" + "version" "6.1.0" + +"detect-newline@^3.0.0": + "integrity" "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==" + "resolved" "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" + "version" "3.1.0" + +"detect-node-es@^1.1.0": + "integrity" "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" + "resolved" "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz" + "version" "1.1.0" + +"dezalgo@^1.0.0": + "integrity" "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==" + "resolved" "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "asap" "^2.0.0" + "wrappy" "1" + +"diff-sequences@^28.1.1": + "integrity" "sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==" + "resolved" "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz" + "version" "28.1.1" + +"dir-glob@^3.0.1": + "integrity" "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==" + "resolved" "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "path-type" "^4.0.0" + +"doctrine@^2.1.0": + "integrity" "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==" + "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "esutils" "^2.0.2" + +"doctrine@^3.0.0": + "integrity" "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==" + "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "esutils" "^2.0.2" + +"dom-helpers@^5.0.1": + "integrity" "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==" + "resolved" "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz" + "version" "5.2.1" dependencies: "@babel/runtime" "^7.8.7" - csstype "^3.0.2" - -dot-prop@^5.1.0: - version "5.3.0" - resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" - integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== - dependencies: - is-obj "^2.0.0" - -dot-prop@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" - integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== - dependencies: - is-obj "^2.0.0" - -dotty@0.1.2: - version "0.1.2" - resolved "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz#512d44cc4111a724931226259297f235e8484f6f" - integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== - -duplexer@^0.1.1: - version "0.1.2" - resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" - integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -electron-to-chromium@^1.4.251: - version "1.4.254" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz#c6203583890abf88dfc0be046cd72d3b48f8beb6" - integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== - -elliptic@^6.4.0, elliptic@^6.5.3: - version "6.5.4" - resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" - -emittery@^0.10.2: - version "0.10.2" - resolved "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" - integrity sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emoji-regex@^9.2.2: - version "9.2.2" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" - integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== - -encoding@^0.1.12: - version "0.1.13" - resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -envinfo@^7.7.4: - version "7.8.1" - resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5, es-abstract@^1.20.1: - version "1.20.2" - resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz#8495a07bc56d342a3b8ea3ab01bd986700c2ccb3" - integrity sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.2" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.4" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" - unbox-primitive "^1.0.2" - -es-array-method-boxes-properly@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" - integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== - -es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== - dependencies: - has "^1.0.3" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: - version "0.10.62" - resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - -es6-weak-map@^2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" - integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== - dependencies: - d "1" - es5-ext "^0.10.46" - es6-iterator "^2.0.3" - es6-symbol "^3.1.1" - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - -escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -eslint-config-next@12.2.5: - version "12.2.5" - resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.2.5.tgz#76ce83f18cc02f6f42ed407a127f83db54fabd3c" - integrity sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw== + "csstype" "^3.0.2" + +"dot-prop@^5.1.0": + "integrity" "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==" + "resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz" + "version" "5.3.0" + dependencies: + "is-obj" "^2.0.0" + +"dot-prop@^6.0.1": + "integrity" "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==" + "resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "is-obj" "^2.0.0" + +"dotty@0.1.2": + "integrity" "sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ==" + "resolved" "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz" + "version" "0.1.2" + +"duplexer@^0.1.1": + "integrity" "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" + "resolved" "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz" + "version" "0.1.2" + +"ecc-jsbn@~0.1.1": + "integrity" "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==" + "resolved" "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz" + "version" "0.1.2" + dependencies: + "jsbn" "~0.1.0" + "safer-buffer" "^2.1.0" + +"electron-to-chromium@^1.4.202": + "version" "1.4.206" + +"electron-to-chromium@^1.4.251": + "integrity" "sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q==" + "resolved" "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz" + "version" "1.4.254" + +"elliptic@^6.4.0", "elliptic@^6.5.3": + "integrity" "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==" + "resolved" "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" + "version" "6.5.4" + dependencies: + "bn.js" "^4.11.9" + "brorand" "^1.1.0" + "hash.js" "^1.0.0" + "hmac-drbg" "^1.0.1" + "inherits" "^2.0.4" + "minimalistic-assert" "^1.0.1" + "minimalistic-crypto-utils" "^1.0.1" + +"emittery@^0.10.2": + "integrity" "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==" + "resolved" "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz" + "version" "0.10.2" + +"emoji-regex@^8.0.0": + "integrity" "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + "version" "8.0.0" + +"emoji-regex@^9.2.2": + "integrity" "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" + "version" "9.2.2" + +"encoding@^0.1.0", "encoding@^0.1.12": + "integrity" "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==" + "resolved" "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz" + "version" "0.1.13" + dependencies: + "iconv-lite" "^0.6.2" + +"env-paths@^2.2.0": + "integrity" "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" + "resolved" "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz" + "version" "2.2.1" + +"envinfo@^7.7.4": + "integrity" "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==" + "resolved" "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz" + "version" "7.8.1" + +"err-code@^2.0.2": + "integrity" "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + "resolved" "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" + "version" "2.0.3" + +"error-ex@^1.3.1": + "integrity" "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==" + "resolved" "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" + "version" "1.3.2" + dependencies: + "is-arrayish" "^0.2.1" + +"es-abstract@^1.19.0", "es-abstract@^1.19.1", "es-abstract@^1.19.2", "es-abstract@^1.19.5", "es-abstract@^1.20.1": + "integrity" "sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ==" + "resolved" "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz" + "version" "1.20.2" + dependencies: + "call-bind" "^1.0.2" + "es-to-primitive" "^1.2.1" + "function-bind" "^1.1.1" + "function.prototype.name" "^1.1.5" + "get-intrinsic" "^1.1.2" + "get-symbol-description" "^1.0.0" + "has" "^1.0.3" + "has-property-descriptors" "^1.0.0" + "has-symbols" "^1.0.3" + "internal-slot" "^1.0.3" + "is-callable" "^1.2.4" + "is-negative-zero" "^2.0.2" + "is-regex" "^1.1.4" + "is-shared-array-buffer" "^1.0.2" + "is-string" "^1.0.7" + "is-weakref" "^1.0.2" + "object-inspect" "^1.12.2" + "object-keys" "^1.1.1" + "object.assign" "^4.1.4" + "regexp.prototype.flags" "^1.4.3" + "string.prototype.trimend" "^1.0.5" + "string.prototype.trimstart" "^1.0.5" + "unbox-primitive" "^1.0.2" + +"es-array-method-boxes-properly@^1.0.0": + "integrity" "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==" + "resolved" "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz" + "version" "1.0.0" + +"es-shim-unscopables@^1.0.0": + "integrity" "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==" + "resolved" "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "has" "^1.0.3" + +"es-to-primitive@^1.2.1": + "integrity" "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==" + "resolved" "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "is-callable" "^1.1.4" + "is-date-object" "^1.0.1" + "is-symbol" "^1.0.2" + +"es5-ext@^0.10.35", "es5-ext@^0.10.46", "es5-ext@^0.10.50", "es5-ext@^0.10.53", "es5-ext@^0.10.61", "es5-ext@~0.10.14", "es5-ext@~0.10.2", "es5-ext@~0.10.46": + "integrity" "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==" + "resolved" "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" + "version" "0.10.62" + dependencies: + "es6-iterator" "^2.0.3" + "es6-symbol" "^3.1.3" + "next-tick" "^1.1.0" + +"es6-iterator@^2.0.3": + "integrity" "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==" + "resolved" "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "d" "1" + "es5-ext" "^0.10.35" + "es6-symbol" "^3.1.1" + +"es6-symbol@^3.1.1", "es6-symbol@^3.1.3": + "integrity" "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==" + "resolved" "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" + "version" "3.1.3" + dependencies: + "d" "^1.0.1" + "ext" "^1.1.2" + +"es6-weak-map@^2.0.3": + "integrity" "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==" + "resolved" "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "d" "1" + "es5-ext" "^0.10.46" + "es6-iterator" "^2.0.3" + "es6-symbol" "^3.1.1" + +"escalade@^3.1.1": + "integrity" "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "resolved" "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + "version" "3.1.1" + +"escape-string-regexp@^1.0.2", "escape-string-regexp@^1.0.5": + "integrity" "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + "version" "1.0.5" + +"escape-string-regexp@^2.0.0": + "integrity" "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" + "version" "2.0.0" + +"escape-string-regexp@^4.0.0": + "integrity" "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + "version" "4.0.0" + +"eslint-config-next@12.2.5": + "integrity" "sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw==" + "resolved" "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.2.5.tgz" + "version" "12.2.5" dependencies: "@next/eslint-plugin-next" "12.2.5" "@rushstack/eslint-patch" "^1.1.3" "@typescript-eslint/parser" "^5.21.0" - eslint-import-resolver-node "^0.3.6" - eslint-import-resolver-typescript "^2.7.1" - eslint-plugin-import "^2.26.0" - eslint-plugin-jsx-a11y "^6.5.1" - eslint-plugin-react "^7.29.4" - eslint-plugin-react-hooks "^4.5.0" - -eslint-config-prettier@^8.5.0: - version "8.5.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" - integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== - -eslint-import-resolver-node@^0.3.6: - version "0.3.6" - resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd" - integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== - dependencies: - debug "^3.2.7" - resolve "^1.20.0" - -eslint-import-resolver-typescript@^2.7.1: - version "2.7.1" - resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751" - integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ== - dependencies: - debug "^4.3.4" - glob "^7.2.0" - is-glob "^4.0.3" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" - -eslint-module-utils@^2.7.3: - version "2.7.4" - resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" - integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== - dependencies: - debug "^3.2.7" - -eslint-plugin-import@^2.26.0: - version "2.26.0" - resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" - integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== - dependencies: - array-includes "^3.1.4" - array.prototype.flat "^1.2.5" - debug "^2.6.9" - doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.3" - has "^1.0.3" - is-core-module "^2.8.1" - is-glob "^4.0.3" - minimatch "^3.1.2" - object.values "^1.1.5" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" - -eslint-plugin-jsx-a11y@^6.5.1: - version "6.6.1" - resolved "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz#93736fc91b83fdc38cc8d115deedfc3091aef1ff" - integrity sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q== + "eslint-import-resolver-node" "^0.3.6" + "eslint-import-resolver-typescript" "^2.7.1" + "eslint-plugin-import" "^2.26.0" + "eslint-plugin-jsx-a11y" "^6.5.1" + "eslint-plugin-react" "^7.29.4" + "eslint-plugin-react-hooks" "^4.5.0" + +"eslint-config-prettier@^8.5.0": + "integrity" "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==" + "resolved" "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz" + "version" "8.5.0" + +"eslint-import-resolver-node@^0.3.6": + "integrity" "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==" + "resolved" "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz" + "version" "0.3.6" + dependencies: + "debug" "^3.2.7" + "resolve" "^1.20.0" + +"eslint-import-resolver-typescript@^2.7.1": + "integrity" "sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==" + "resolved" "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz" + "version" "2.7.1" + dependencies: + "debug" "^4.3.4" + "glob" "^7.2.0" + "is-glob" "^4.0.3" + "resolve" "^1.22.0" + "tsconfig-paths" "^3.14.1" + +"eslint-module-utils@^2.7.3": + "integrity" "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==" + "resolved" "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz" + "version" "2.7.4" + dependencies: + "debug" "^3.2.7" + +"eslint-plugin-import@*", "eslint-plugin-import@^2.26.0": + "integrity" "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==" + "resolved" "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz" + "version" "2.26.0" + dependencies: + "array-includes" "^3.1.4" + "array.prototype.flat" "^1.2.5" + "debug" "^2.6.9" + "doctrine" "^2.1.0" + "eslint-import-resolver-node" "^0.3.6" + "eslint-module-utils" "^2.7.3" + "has" "^1.0.3" + "is-core-module" "^2.8.1" + "is-glob" "^4.0.3" + "minimatch" "^3.1.2" + "object.values" "^1.1.5" + "resolve" "^1.22.0" + "tsconfig-paths" "^3.14.1" + +"eslint-plugin-jsx-a11y@^6.5.1": + "integrity" "sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q==" + "resolved" "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz" + "version" "6.6.1" dependencies: "@babel/runtime" "^7.18.9" - aria-query "^4.2.2" - array-includes "^3.1.5" - ast-types-flow "^0.0.7" - axe-core "^4.4.3" - axobject-query "^2.2.0" - damerau-levenshtein "^1.0.8" - emoji-regex "^9.2.2" - has "^1.0.3" - jsx-ast-utils "^3.3.2" - language-tags "^1.0.5" - minimatch "^3.1.2" - semver "^6.3.0" - -eslint-plugin-prettier@^4.0.0: - version "4.2.1" - resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" - integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== - dependencies: - prettier-linter-helpers "^1.0.0" - -eslint-plugin-react-hooks@^4.5.0: - version "4.6.0" - resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" - integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== - -eslint-plugin-react@^7.29.4: - version "7.31.8" - resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz#3a4f80c10be1bcbc8197be9e8b641b2a3ef219bf" - integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== - dependencies: - array-includes "^3.1.5" - array.prototype.flatmap "^1.3.0" - doctrine "^2.1.0" - estraverse "^5.3.0" - jsx-ast-utils "^2.4.1 || ^3.0.0" - minimatch "^3.1.2" - object.entries "^1.1.5" - object.fromentries "^2.0.5" - object.hasown "^1.1.1" - object.values "^1.1.5" - prop-types "^15.8.1" - resolve "^2.0.0-next.3" - semver "^6.3.0" - string.prototype.matchall "^4.0.7" - -eslint-scope@5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -eslint-scope@^7.1.1: - version "7.1.1" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" - integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== - dependencies: - esrecurse "^4.3.0" - estraverse "^5.2.0" - -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - -eslint-visitor-keys@^3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" - integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== - -eslint@8.22.0: - version "8.22.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48" - integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA== + "aria-query" "^4.2.2" + "array-includes" "^3.1.5" + "ast-types-flow" "^0.0.7" + "axe-core" "^4.4.3" + "axobject-query" "^2.2.0" + "damerau-levenshtein" "^1.0.8" + "emoji-regex" "^9.2.2" + "has" "^1.0.3" + "jsx-ast-utils" "^3.3.2" + "language-tags" "^1.0.5" + "minimatch" "^3.1.2" + "semver" "^6.3.0" + +"eslint-plugin-prettier@^4.0.0": + "integrity" "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==" + "resolved" "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" + "version" "4.2.1" + dependencies: + "prettier-linter-helpers" "^1.0.0" + +"eslint-plugin-react-hooks@^4.5.0": + "integrity" "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==" + "resolved" "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz" + "version" "4.6.0" + +"eslint-plugin-react@^7.29.4": + "integrity" "sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw==" + "resolved" "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz" + "version" "7.31.8" + dependencies: + "array-includes" "^3.1.5" + "array.prototype.flatmap" "^1.3.0" + "doctrine" "^2.1.0" + "estraverse" "^5.3.0" + "jsx-ast-utils" "^2.4.1 || ^3.0.0" + "minimatch" "^3.1.2" + "object.entries" "^1.1.5" + "object.fromentries" "^2.0.5" + "object.hasown" "^1.1.1" + "object.values" "^1.1.5" + "prop-types" "^15.8.1" + "resolve" "^2.0.0-next.3" + "semver" "^6.3.0" + "string.prototype.matchall" "^4.0.7" + +"eslint-scope@^7.1.1": + "integrity" "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==" + "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz" + "version" "7.1.1" + dependencies: + "esrecurse" "^4.3.0" + "estraverse" "^5.2.0" + +"eslint-scope@5.1.1": + "integrity" "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==" + "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "esrecurse" "^4.3.0" + "estraverse" "^4.1.1" + +"eslint-utils@^3.0.0": + "integrity" "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==" + "resolved" "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "eslint-visitor-keys" "^2.0.0" + +"eslint-visitor-keys@^2.0.0": + "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" + "version" "2.1.0" + +"eslint-visitor-keys@^2.1.0": + "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" + "version" "2.1.0" + +"eslint-visitor-keys@^3.3.0": + "integrity" "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" + "version" "3.3.0" + +"eslint@*", "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^7.23.0 || ^8.0.0", "eslint@^7.5.0 || ^8.0.0", "eslint@>=5", "eslint@>=7.0.0", "eslint@>=7.28.0", "eslint@8.22.0": + "integrity" "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==" + "resolved" "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz" + "version" "8.22.0" dependencies: "@eslint/eslintrc" "^1.3.0" "@humanwhocodes/config-array" "^0.10.4" "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" - ajv "^6.10.0" - 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.1.1" - eslint-utils "^3.0.0" - eslint-visitor-keys "^3.3.0" - espree "^9.3.3" - esquery "^1.4.0" - esutils "^2.0.2" - fast-deep-equal "^3.1.3" - file-entry-cache "^6.0.1" - find-up "^5.0.0" - functional-red-black-tree "^1.0.1" - glob-parent "^6.0.1" - globals "^13.15.0" - globby "^11.1.0" - grapheme-splitter "^1.0.4" - ignore "^5.2.0" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^4.1.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.1.2" - natural-compare "^1.4.0" - optionator "^0.9.1" - regexpp "^3.2.0" - strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -espree@^9.3.3, espree@^9.4.0: - version "9.4.0" - resolved "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a" - integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw== - dependencies: - acorn "^8.8.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.3.0" - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" - integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: - version "5.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -event-emitter@^0.3.5: - version "0.3.5" - resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" - integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== - dependencies: - d "1" - es5-ext "~0.10.14" - -eventemitter3@^4.0.4: - version "4.0.7" - resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@3.3.0: - version "3.3.0" - resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - 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" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== - -expect@^28.0.0, expect@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" - integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== + "ajv" "^6.10.0" + "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.1.1" + "eslint-utils" "^3.0.0" + "eslint-visitor-keys" "^3.3.0" + "espree" "^9.3.3" + "esquery" "^1.4.0" + "esutils" "^2.0.2" + "fast-deep-equal" "^3.1.3" + "file-entry-cache" "^6.0.1" + "find-up" "^5.0.0" + "functional-red-black-tree" "^1.0.1" + "glob-parent" "^6.0.1" + "globals" "^13.15.0" + "globby" "^11.1.0" + "grapheme-splitter" "^1.0.4" + "ignore" "^5.2.0" + "import-fresh" "^3.0.0" + "imurmurhash" "^0.1.4" + "is-glob" "^4.0.0" + "js-yaml" "^4.1.0" + "json-stable-stringify-without-jsonify" "^1.0.1" + "levn" "^0.4.1" + "lodash.merge" "^4.6.2" + "minimatch" "^3.1.2" + "natural-compare" "^1.4.0" + "optionator" "^0.9.1" + "regexpp" "^3.2.0" + "strip-ansi" "^6.0.1" + "strip-json-comments" "^3.1.0" + "text-table" "^0.2.0" + "v8-compile-cache" "^2.0.3" + +"espree@^9.3.3", "espree@^9.4.0": + "integrity" "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==" + "resolved" "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz" + "version" "9.4.0" + dependencies: + "acorn" "^8.8.0" + "acorn-jsx" "^5.3.2" + "eslint-visitor-keys" "^3.3.0" + +"esprima@^4.0.0": + "integrity" "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + "resolved" "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + "version" "4.0.1" + +"esquery@^1.4.0": + "integrity" "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==" + "resolved" "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz" + "version" "1.4.0" + dependencies: + "estraverse" "^5.1.0" + +"esrecurse@^4.3.0": + "integrity" "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==" + "resolved" "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "estraverse" "^5.2.0" + +"estraverse@^4.1.1": + "integrity" "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" + "version" "4.3.0" + +"estraverse@^5.1.0", "estraverse@^5.2.0", "estraverse@^5.3.0": + "integrity" "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz" + "version" "5.3.0" + +"esutils@^2.0.2": + "integrity" "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + "resolved" "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" + "version" "2.0.3" + +"event-emitter@^0.3.5": + "integrity" "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==" + "resolved" "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" + "version" "0.3.5" + dependencies: + "d" "1" + "es5-ext" "~0.10.14" + +"eventemitter3@^4.0.4": + "integrity" "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + "resolved" "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" + "version" "4.0.7" + +"events@3.3.0": + "integrity" "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "resolved" "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + "version" "3.3.0" + +"execa@^5.0.0": + "integrity" "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==" + "resolved" "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "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" + +"exit@^0.1.2": + "integrity" "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==" + "resolved" "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" + "version" "0.1.2" + +"expect@^28.0.0", "expect@^28.1.3": + "integrity" "sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g==" + "resolved" "https://registry.npmjs.org/expect/-/expect-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/expect-utils" "^28.1.3" - jest-get-type "^28.0.2" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - -ext@^1.1.2: - version "1.7.0" - resolved "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" - integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== - dependencies: - type "^2.7.2" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/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.npmjs.org/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" - integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== - dependencies: - chardet "^0.4.0" - iconv-lite "^0.4.17" - tmp "^0.0.33" - -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/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.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - -fast-deep-equal@3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" - integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== - -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/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.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - -fast-fuzzy@1.11.2: - version "1.11.2" - resolved "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz#25e6f81f10636237da48071e64eb9fa95e1e2574" - integrity sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw== - dependencies: - graphemesplit "^2.4.1" - -fast-glob@^3.2.9: - version "3.2.12" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + "jest-get-type" "^28.0.2" + "jest-matcher-utils" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-util" "^28.1.3" + +"ext@^1.1.2": + "integrity" "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==" + "resolved" "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" + "version" "1.7.0" + dependencies: + "type" "^2.7.2" + +"extend@~3.0.2": + "integrity" "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "resolved" "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" + "version" "3.0.2" + +"external-editor@^2.0.4": + "integrity" "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==" + "resolved" "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz" + "version" "2.2.0" + dependencies: + "chardet" "^0.4.0" + "iconv-lite" "^0.4.17" + "tmp" "^0.0.33" + +"external-editor@^3.0.3": + "integrity" "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==" + "resolved" "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "chardet" "^0.7.0" + "iconv-lite" "^0.4.24" + "tmp" "^0.0.33" + +"extsprintf@^1.2.0": + "integrity" "sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==" + "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz" + "version" "1.4.1" + +"extsprintf@1.3.0": + "integrity" "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==" + "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz" + "version" "1.3.0" + +"fast-deep-equal@^3.1.1", "fast-deep-equal@^3.1.3": + "integrity" "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + "version" "3.1.3" + +"fast-deep-equal@3.1.1": + "integrity" "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==" + "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz" + "version" "3.1.1" + +"fast-diff@^1.1.2": + "integrity" "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" + "resolved" "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" + "version" "1.2.0" + +"fast-fuzzy@1.11.2": + "integrity" "sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw==" + "resolved" "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz" + "version" "1.11.2" + dependencies: + "graphemesplit" "^2.4.1" + +"fast-glob@^3.2.9": + "integrity" "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==" + "resolved" "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" + "version" "3.2.12" dependencies: "@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" + "glob-parent" "^5.1.2" + "merge2" "^1.3.0" + "micromatch" "^4.0.4" -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== +"fast-json-stable-stringify@^2.0.0", "fast-json-stable-stringify@2.x": + "integrity" "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "resolved" "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + "version" "2.1.0" -fast-levenshtein@^2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== +"fast-levenshtein@^2.0.6": + "integrity" "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + "resolved" "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + "version" "2.0.6" -fastq@^1.6.0: - version "1.13.0" - resolved "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" - integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== +"fastq@^1.6.0": + "integrity" "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==" + "resolved" "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz" + "version" "1.13.0" dependencies: - reusify "^1.0.4" + "reusify" "^1.0.4" -fb-watchman@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" - integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== +"fb-watchman@^2.0.0": + "integrity" "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==" + "resolved" "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz" + "version" "2.0.1" dependencies: - bser "2.1.1" + "bser" "2.1.1" -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== +"figures@^2.0.0": + "integrity" "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==" + "resolved" "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz" + "version" "2.0.0" dependencies: - escape-string-regexp "^1.0.5" + "escape-string-regexp" "^1.0.5" -figures@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== +"figures@^3.0.0": + "integrity" "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==" + "resolved" "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz" + "version" "3.2.0" dependencies: - escape-string-regexp "^1.0.5" + "escape-string-regexp" "^1.0.5" -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== +"file-entry-cache@^6.0.1": + "integrity" "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==" + "resolved" "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" + "version" "6.0.1" dependencies: - flat-cache "^3.0.4" + "flat-cache" "^3.0.4" -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== +"file-uri-to-path@1.0.0": + "integrity" "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "resolved" "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" + "version" "1.0.0" -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== +"fill-range@^7.0.1": + "integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==" + "resolved" "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + "version" "7.0.1" dependencies: - to-regex-range "^5.0.1" - -filter-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" - integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== + "to-regex-range" "^5.0.1" + +"filter-obj@^1.1.0": + "integrity" "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==" + "resolved" "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz" + "version" "1.1.0" -find-cache-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== +"find-cache-dir@^2.0.0": + "integrity" "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==" + "resolved" "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz" + "version" "2.1.0" dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" + "commondir" "^1.0.1" + "make-dir" "^2.0.0" + "pkg-dir" "^3.0.0" -find-root@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" - integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== +"find-root@^1.1.0": + "integrity" "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + "resolved" "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz" + "version" "1.1.0" -find-up@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== +"find-up@^2.0.0": + "integrity" "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz" + "version" "2.1.0" dependencies: - locate-path "^2.0.0" + "locate-path" "^2.0.0" -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== +"find-up@^3.0.0": + "integrity" "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz" + "version" "3.0.0" dependencies: - locate-path "^3.0.0" + "locate-path" "^3.0.0" -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== +"find-up@^4.0.0", "find-up@^4.1.0": + "integrity" "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + "version" "4.1.0" dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" + "locate-path" "^5.0.0" + "path-exists" "^4.0.0" -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== +"find-up@^5.0.0": + "integrity" "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" + "version" "5.0.0" dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" + "locate-path" "^6.0.0" + "path-exists" "^4.0.0" -flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== +"flat-cache@^3.0.4": + "integrity" "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==" + "resolved" "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz" + "version" "3.0.4" dependencies: - flatted "^3.1.0" - rimraf "^3.0.2" + "flatted" "^3.1.0" + "rimraf" "^3.0.2" -flatted@^3.1.0: - version "3.2.7" - resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" - integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== +"flatted@^3.1.0": + "integrity" "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "resolved" "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz" + "version" "3.2.7" -focus-lock@^0.11.2: - version "0.11.2" - resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz#aeef3caf1cea757797ac8afdebaec8fd9ab243ed" - integrity sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g== +"focus-lock@^0.11.2": + "integrity" "sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g==" + "resolved" "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz" + "version" "0.11.2" dependencies: - tslib "^2.0.3" + "tslib" "^2.0.3" -follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: - version "1.15.2" - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== +"follow-redirects@^1.10.0", "follow-redirects@^1.14.0", "follow-redirects@^1.14.9": + "integrity" "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" + "version" "1.15.2" -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== +"forever-agent@~0.6.1": + "integrity" "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" + "resolved" "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz" + "version" "0.6.1" -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== +"form-data@^4.0.0": + "integrity" "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==" + "resolved" "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz" + "version" "4.0.0" dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" + "asynckit" "^0.4.0" + "combined-stream" "^1.0.8" + "mime-types" "^2.1.12" -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== +"form-data@~2.3.2": + "integrity" "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==" + "resolved" "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz" + "version" "2.3.3" dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" + "asynckit" "^0.4.0" + "combined-stream" "^1.0.6" + "mime-types" "^2.1.12" -framer-motion@7.3.6: - version "7.3.6" - resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz#aff993b9b7064c8d13cf0afa118d24e07713570a" - integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== +"framer-motion@>=4.0.0", "framer-motion@7.3.6": + "integrity" "sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw==" + "resolved" "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz" + "version" "7.3.6" dependencies: "@motionone/dom" "10.13.1" - framesync "6.1.2" - hey-listen "^1.0.8" - popmotion "11.0.5" - style-value-types "5.1.2" - tslib "2.4.0" + "framesync" "6.1.2" + "hey-listen" "^1.0.8" + "popmotion" "11.0.5" + "style-value-types" "5.1.2" + "tslib" "2.4.0" optionalDependencies: "@emotion/is-prop-valid" "^0.8.2" -framesync@5.3.0: - version "5.3.0" - resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" - integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== - dependencies: - tslib "^2.1.0" - -framesync@6.1.2: - version "6.1.2" - resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" - integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== - dependencies: - tslib "2.4.0" - -fs-extra@^9.1.0: - version "9.1.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - 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.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - -fs-minipass@^2.0.0, fs-minipass@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-readdir-recursive@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" - integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - 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.npmjs.org/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: - version "1.2.3" - resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== - -fuzzy@0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" - integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.npmjs.org/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" - -gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.2: - version "1.1.3" - resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" - integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.3" - -get-nonce@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" - integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== - -get-package-type@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" - integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== - -get-pkg-repo@^4.0.0: - version "4.2.1" - resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" - integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== +"framesync@5.3.0": + "integrity" "sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA==" + "resolved" "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz" + "version" "5.3.0" + dependencies: + "tslib" "^2.1.0" + +"framesync@6.1.2": + "integrity" "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==" + "resolved" "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + "version" "6.1.2" + dependencies: + "tslib" "2.4.0" + +"fs-extra@^9.1.0": + "integrity" "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" + "version" "9.1.0" + 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": + "integrity" "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==" + "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz" + "version" "1.2.7" + dependencies: + "minipass" "^2.6.0" + +"fs-minipass@^2.0.0", "fs-minipass@^2.1.0": + "integrity" "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==" + "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "minipass" "^3.0.0" + +"fs-readdir-recursive@^1.1.0": + "integrity" "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" + "resolved" "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz" + "version" "1.1.0" + +"fs.realpath@^1.0.0": + "integrity" "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + "version" "1.0.0" + +"fsevents@^2.3.2", "fsevents@~2.3.2": + "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + "version" "2.3.2" + +"function-bind@^1.1.1": + "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" + "version" "1.1.1" + +"function.prototype.name@^1.1.5": + "integrity" "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==" + "resolved" "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.0" + "functions-have-names" "^1.2.2" + +"functional-red-black-tree@^1.0.1": + "integrity" "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==" + "resolved" "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" + "version" "1.0.1" + +"functions-have-names@^1.2.2": + "integrity" "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + "resolved" "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" + "version" "1.2.3" + +"fuzzy@0.1.3": + "integrity" "sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w==" + "resolved" "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz" + "version" "0.1.3" + +"gauge@~2.7.3": + "integrity" "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==" + "resolved" "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz" + "version" "2.7.4" + 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" + +"gensync@^1.0.0-beta.1", "gensync@^1.0.0-beta.2": + "integrity" "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" + "resolved" "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + "version" "1.0.0-beta.2" + +"get-caller-file@^2.0.5": + "integrity" "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + "resolved" "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" + "version" "2.0.5" + +"get-intrinsic@^1.0.2", "get-intrinsic@^1.1.0", "get-intrinsic@^1.1.1", "get-intrinsic@^1.1.2": + "integrity" "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==" + "resolved" "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + "version" "1.1.3" + dependencies: + "function-bind" "^1.1.1" + "has" "^1.0.3" + "has-symbols" "^1.0.3" + +"get-nonce@^1.0.0": + "integrity" "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==" + "resolved" "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz" + "version" "1.0.1" + +"get-package-type@^0.1.0": + "integrity" "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==" + "resolved" "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + "version" "0.1.0" + +"get-pkg-repo@^4.0.0": + "integrity" "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==" + "resolved" "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz" + "version" "4.2.1" dependencies: "@hutson/parse-repository-url" "^3.0.0" - hosted-git-info "^4.0.0" - through2 "^2.0.0" - yargs "^16.2.0" + "hosted-git-info" "^4.0.0" + "through2" "^2.0.0" + "yargs" "^16.2.0" -get-port@^5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" - integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== +"get-port@^5.1.1": + "integrity" "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==" + "resolved" "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz" + "version" "5.1.1" -get-stdin@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" - integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== +"get-stdin@^8.0.0": + "integrity" "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==" + "resolved" "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz" + "version" "8.0.0" -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== +"get-stream@^6.0.0": + "integrity" "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" + "version" "6.0.1" -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== +"get-symbol-description@^1.0.0": + "integrity" "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==" + "resolved" "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz" + "version" "1.0.0" dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" + "call-bind" "^1.0.2" + "get-intrinsic" "^1.1.1" -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== +"getpass@^0.1.1": + "integrity" "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==" + "resolved" "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz" + "version" "0.1.7" dependencies: - assert-plus "^1.0.0" + "assert-plus" "^1.0.0" -git-raw-commits@^2.0.8: - version "2.0.11" - resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" - integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== +"git-raw-commits@^2.0.8": + "integrity" "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==" + "resolved" "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz" + "version" "2.0.11" dependencies: - dargs "^7.0.0" - lodash "^4.17.15" - meow "^8.0.0" - split2 "^3.0.0" - through2 "^4.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" - resolved "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== +"git-remote-origin-url@^2.0.0": + "integrity" "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==" + "resolved" "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz" + "version" "2.0.0" dependencies: - gitconfiglocal "^1.0.0" - pify "^2.3.0" + "gitconfiglocal" "^1.0.0" + "pify" "^2.3.0" -git-semver-tags@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz#63191bcd809b0ec3e151ba4751c16c444e5b5780" - integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== +"git-semver-tags@^4.1.1": + "integrity" "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==" + "resolved" "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz" + "version" "4.1.1" dependencies: - meow "^8.0.0" - semver "^6.0.0" + "meow" "^8.0.0" + "semver" "^6.0.0" -git-up@^4.0.0: - version "4.0.5" - resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz#e7bb70981a37ea2fb8fe049669800a1f9a01d759" - integrity sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA== +"git-up@^4.0.0": + "integrity" "sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA==" + "resolved" "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz" + "version" "4.0.5" dependencies: - is-ssh "^1.3.0" - parse-url "^6.0.0" + "is-ssh" "^1.3.0" + "parse-url" "^6.0.0" -git-url-parse@^11.4.4: - version "11.6.0" - resolved "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz#c634b8de7faa66498a2b88932df31702c67df605" - integrity sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g== +"git-url-parse@^11.4.4": + "integrity" "sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g==" + "resolved" "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz" + "version" "11.6.0" dependencies: - git-up "^4.0.0" + "git-up" "^4.0.0" -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== +"gitconfiglocal@^1.0.0": + "integrity" "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==" + "resolved" "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz" + "version" "1.0.0" dependencies: - ini "^1.3.2" + "ini" "^1.3.2" -glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== +"glob-parent@^5.1.1", "glob-parent@^5.1.2", "glob-parent@~5.1.2": + "integrity" "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==" + "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" + "version" "5.1.2" dependencies: - is-glob "^4.0.1" + "is-glob" "^4.0.1" -glob-parent@^6.0.1: - version "6.0.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== +"glob-parent@^6.0.1": + "integrity" "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==" + "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" + "version" "6.0.2" dependencies: - is-glob "^4.0.3" + "is-glob" "^4.0.3" -glob-promise@^4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz#15f44bcba0e14219cd93af36da6bb905ff007877" - integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== +"glob-promise@^4.2.2": + "integrity" "sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw==" + "resolved" "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz" + "version" "4.2.2" dependencies: "@types/glob" "^7.1.3" -glob@7.1.7: - version "7.1.7" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" - integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== - 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@8.0.3: - version "8.0.3" - resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: - version "7.2.3" - resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globals@^13.15.0: - version "13.17.0" - resolved "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz#902eb1e680a41da93945adbdcb5a9f361ba69bd4" - integrity sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw== - dependencies: - type-fest "^0.20.2" - -globalthis@^1.0.1: - version "1.0.3" - resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" - integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== - dependencies: - define-properties "^1.1.3" - -globby@^11.0.2, globby@^11.1.0: - version "11.1.0" - resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -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.3, graceful-fs@^4.2.9: - version "4.2.10" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -grapheme-splitter@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" - integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== - -graphemesplit@^2.4.1: - version "2.4.4" - resolved "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz#6d325c61e928efdaec2189f54a9b87babf89b75a" - integrity sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w== - dependencies: - js-base64 "^3.6.0" - unicode-trie "^2.0.0" - -handlebars@^4.7.7: - version "4.7.7" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.0" - source-map "^0.6.1" - wordwrap "^1.0.0" +"glob@^7.0.0", "glob@^7.1.1", "glob@^7.1.3", "glob@^7.1.4", "glob@^7.1.6", "glob@^7.2.0": + "integrity" "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==" + "resolved" "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + "version" "7.2.3" + dependencies: + "fs.realpath" "^1.0.0" + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "^3.1.1" + "once" "^1.3.0" + "path-is-absolute" "^1.0.0" + +"glob@7.1.7": + "integrity" "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==" + "resolved" "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz" + "version" "7.1.7" + 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@8.0.3": + "integrity" "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==" + "resolved" "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" + "version" "8.0.3" + dependencies: + "fs.realpath" "^1.0.0" + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "^5.0.1" + "once" "^1.3.0" + +"globals@^11.1.0": + "integrity" "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + "resolved" "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + "version" "11.12.0" + +"globals@^13.15.0": + "integrity" "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==" + "resolved" "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz" + "version" "13.17.0" + dependencies: + "type-fest" "^0.20.2" + +"globalthis@^1.0.1": + "integrity" "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==" + "resolved" "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "define-properties" "^1.1.3" + +"globby@^11.0.2", "globby@^11.1.0": + "integrity" "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==" + "resolved" "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" + "version" "11.1.0" + dependencies: + "array-union" "^2.1.0" + "dir-glob" "^3.0.1" + "fast-glob" "^3.2.9" + "ignore" "^5.2.0" + "merge2" "^1.4.1" + "slash" "^3.0.0" + +"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.3", "graceful-fs@^4.2.9": + "integrity" "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "resolved" "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" + "version" "4.2.10" + +"grapheme-splitter@^1.0.4": + "integrity" "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + "resolved" "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" + "version" "1.0.4" + +"graphemesplit@^2.4.1": + "integrity" "sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w==" + "resolved" "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz" + "version" "2.4.4" + dependencies: + "js-base64" "^3.6.0" + "unicode-trie" "^2.0.0" + +"handlebars@^4.7.7": + "integrity" "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==" + "resolved" "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz" + "version" "4.7.7" + dependencies: + "minimist" "^1.2.5" + "neo-async" "^2.6.0" + "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.npmjs.org/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.npmjs.org/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.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" - integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== - dependencies: - ansi-regex "^2.0.0" - -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== - dependencies: - get-intrinsic "^1.1.1" - -has-symbols@^1.0.2, has-symbols@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== - -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== - dependencies: - has-symbols "^1.0.2" - -has-unicode@^2.0.0, has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: - version "1.1.7" - resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hey-listen@^1.0.8: - version "1.0.8" - resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" - integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== - -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -hoist-non-react-statics@^3.3.1: - version "3.3.2" - resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" - integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== - dependencies: - react-is "^16.7.0" + "uglify-js" "^3.1.4" + +"har-schema@^2.0.0": + "integrity" "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==" + "resolved" "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz" + "version" "2.0.0" + +"har-validator@~5.1.3": + "integrity" "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==" + "resolved" "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz" + "version" "5.1.5" + dependencies: + "ajv" "^6.12.3" + "har-schema" "^2.0.0" + +"hard-rejection@^2.1.0": + "integrity" "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" + "resolved" "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz" + "version" "2.1.0" + +"has-ansi@^2.0.0": + "integrity" "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==" + "resolved" "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "ansi-regex" "^2.0.0" + +"has-bigints@^1.0.1", "has-bigints@^1.0.2": + "integrity" "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + "resolved" "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz" + "version" "1.0.2" + +"has-flag@^3.0.0": + "integrity" "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" + "version" "3.0.0" + +"has-flag@^4.0.0": + "integrity" "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + "version" "4.0.0" + +"has-property-descriptors@^1.0.0": + "integrity" "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==" + "resolved" "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "get-intrinsic" "^1.1.1" + +"has-symbols@^1.0.2", "has-symbols@^1.0.3": + "integrity" "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "resolved" "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + "version" "1.0.3" + +"has-tostringtag@^1.0.0": + "integrity" "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==" + "resolved" "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "has-symbols" "^1.0.2" + +"has-unicode@^2.0.0", "has-unicode@^2.0.1": + "integrity" "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" + "resolved" "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" + "version" "2.0.1" + +"has@^1.0.3": + "integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==" + "resolved" "https://registry.npmjs.org/has/-/has-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "function-bind" "^1.1.1" + +"hash-base@^3.0.0": + "integrity" "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==" + "resolved" "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "inherits" "^2.0.4" + "readable-stream" "^3.6.0" + "safe-buffer" "^5.2.0" + +"hash.js@^1.0.0", "hash.js@^1.0.3", "hash.js@^1.1.7", "hash.js@~1.1.7": + "integrity" "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==" + "resolved" "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" + "version" "1.1.7" + dependencies: + "inherits" "^2.0.3" + "minimalistic-assert" "^1.0.1" + +"hey-listen@^1.0.8": + "integrity" "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" + "resolved" "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + "version" "1.0.8" + +"hmac-drbg@^1.0.1": + "integrity" "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==" + "resolved" "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "hash.js" "^1.0.3" + "minimalistic-assert" "^1.0.0" + "minimalistic-crypto-utils" "^1.0.1" + +"hoist-non-react-statics@^3.3.1": + "integrity" "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==" + "resolved" "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + "version" "3.3.2" + dependencies: + "react-is" "^16.7.0" -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== +"homedir-polyfill@^1.0.1": + "integrity" "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==" + "resolved" "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "parse-passwd" "^1.0.0" + +"hosted-git-info@^2.1.4": + "integrity" "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz" + "version" "2.8.9" -hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" - integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== +"hosted-git-info@^4.0.0", "hosted-git-info@^4.0.1": + "integrity" "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==" + "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "lru-cache" "^6.0.0" + +"html-escaper@^2.0.0": + "integrity" "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" + "resolved" "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" + "version" "2.0.2" -http-cache-semantics@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== +"http-cache-semantics@^4.1.0": + "integrity" "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + "resolved" "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz" + "version" "4.1.0" -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== +"http-proxy-agent@^4.0.1": + "integrity" "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==" + "resolved" "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" + "version" "4.0.1" dependencies: "@tootallnate/once" "1" - agent-base "6" - debug "4" + "agent-base" "6" + "debug" "4" -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/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@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - -iconv-lite@^0.4.17, iconv-lite@^0.4.24: - version "0.4.24" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -ieee754@^1.1.4, ieee754@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-walk@^3.0.3: - version "3.0.4" - resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" - integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== - dependencies: - minimatch "^3.0.4" - -ignore@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== - -import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== - -ini@^1.3.2, ini@^1.3.4: - version "1.3.8" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - -init-package-json@^2.0.2: - version "2.0.5" - resolved "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz#78b85f3c36014db42d8f32117252504f68022646" - integrity sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA== - dependencies: - npm-package-arg "^8.1.5" - promzard "^0.3.0" - read "~1.0.1" - read-package-json "^4.1.1" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^3.0.0" - -inquirer-autocomplete-prompt@^0.11.1: - version "0.11.1" - resolved "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz#f90ca9510a4c489882e9be294934bd8c2e575e09" - integrity sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw== - dependencies: - ansi-escapes "^2.0.0" - chalk "^1.1.3" - figures "^2.0.0" - inquirer "3.1.1" - lodash "^4.17.4" - run-async "^2.3.0" - util "^0.10.3" - -inquirer@3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz#87621c4fba4072f48a8dd71c9f9df6f100b2d534" - integrity sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ== - dependencies: - ansi-escapes "^2.0.0" - chalk "^1.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.0.4" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rx-lite "^4.0.8" - rx-lite-aggregates "^4.0.8" - string-width "^2.0.0" - strip-ansi "^3.0.0" - through "^2.3.6" - -inquirer@^6.0.0: - version "6.5.2" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" - integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@^7.3.3: - version "7.3.3" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" - integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.19" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.6.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - -inquirerer@0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz#ecf91dc672b3bf45211d7f64bf5e8d5e171fd2ad" - integrity sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ== - dependencies: - colors "^1.1.2" - inquirer "^6.0.0" - inquirer-autocomplete-prompt "^0.11.1" - -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" - -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -invariant@^2.2.2, invariant@^2.2.4: - version "2.2.4" - resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-buffer@~1.1.1: - version "1.1.6" - resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.6" - resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.6.tgz#fd6170b0b8c7e2cc73de342ef8284a2202023c44" - integrity sha512-krO72EO2NptOGAX2KYyqbP9vYMlNAXdB53rq6f8LXY6RY7JdSR/3BD6wLUlPHSAesmY9vstNrjvqGaCiRK/91Q== - -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== - dependencies: - ci-info "^2.0.0" - -is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: - version "2.10.0" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" - integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== - dependencies: - has "^1.0.3" - -is-date-object@^1.0.1: - version "1.0.5" - resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== - dependencies: - has-tostringtag "^1.0.0" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/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.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-generator-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" - integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== - -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.npmjs.org/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" +"http-signature@~1.2.0": + "integrity" "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==" + "resolved" "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "assert-plus" "^1.0.0" + "jsprim" "^1.2.2" + "sshpk" "^1.7.0" + +"https-proxy-agent@^5.0.0": + "integrity" "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==" + "resolved" "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "agent-base" "6" + "debug" "4" + +"human-signals@^2.1.0": + "integrity" "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" + "resolved" "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" + "version" "2.1.0" + +"humanize-ms@^1.2.1": + "integrity" "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==" + "resolved" "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "ms" "^2.0.0" + +"iconv-lite@^0.4.17", "iconv-lite@^0.4.24": + "integrity" "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==" + "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" + "version" "0.4.24" + dependencies: + "safer-buffer" ">= 2.1.2 < 3" + +"iconv-lite@^0.6.2": + "integrity" "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==" + "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz" + "version" "0.6.3" + dependencies: + "safer-buffer" ">= 2.1.2 < 3.0.0" + +"ieee754@^1.1.4", "ieee754@^1.2.1": + "integrity" "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + "resolved" "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" + "version" "1.2.1" + +"ignore-walk@^3.0.3": + "integrity" "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==" + "resolved" "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "minimatch" "^3.0.4" + +"ignore@^5.2.0": + "integrity" "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" + "resolved" "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz" + "version" "5.2.0" + +"import-fresh@^3.0.0", "import-fresh@^3.1.0", "import-fresh@^3.2.1": + "integrity" "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==" + "resolved" "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + "version" "3.3.0" + dependencies: + "parent-module" "^1.0.0" + "resolve-from" "^4.0.0" + +"import-local@^3.0.2": + "integrity" "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==" + "resolved" "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "pkg-dir" "^4.2.0" + "resolve-cwd" "^3.0.0" + +"imurmurhash@^0.1.4": + "integrity" "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" + "resolved" "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + "version" "0.1.4" + +"indent-string@^4.0.0": + "integrity" "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + "resolved" "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" + "version" "4.0.0" + +"infer-owner@^1.0.4": + "integrity" "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" + "resolved" "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz" + "version" "1.0.4" + +"inflight@^1.0.4": + "integrity" "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==" + "resolved" "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "once" "^1.3.0" + "wrappy" "1" + +"inherits@^2.0.1", "inherits@^2.0.3", "inherits@^2.0.4", "inherits@~2.0.3", "inherits@2": + "integrity" "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + "version" "2.0.4" + +"inherits@2.0.3": + "integrity" "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" + "version" "2.0.3" + +"ini@^1.3.2", "ini@^1.3.4": + "integrity" "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + "resolved" "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz" + "version" "1.3.8" + +"init-package-json@^2.0.2": + "integrity" "sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA==" + "resolved" "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz" + "version" "2.0.5" + dependencies: + "npm-package-arg" "^8.1.5" + "promzard" "^0.3.0" + "read" "~1.0.1" + "read-package-json" "^4.1.1" + "semver" "^7.3.5" + "validate-npm-package-license" "^3.0.4" + "validate-npm-package-name" "^3.0.0" + +"inquirer-autocomplete-prompt@^0.11.1": + "integrity" "sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw==" + "resolved" "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz" + "version" "0.11.1" + dependencies: + "ansi-escapes" "^2.0.0" + "chalk" "^1.1.3" + "figures" "^2.0.0" + "inquirer" "3.1.1" + "lodash" "^4.17.4" + "run-async" "^2.3.0" + "util" "^0.10.3" + +"inquirer@^6.0.0": + "integrity" "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==" + "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz" + "version" "6.5.2" + dependencies: + "ansi-escapes" "^3.2.0" + "chalk" "^2.4.2" + "cli-cursor" "^2.1.0" + "cli-width" "^2.0.0" + "external-editor" "^3.0.3" + "figures" "^2.0.0" + "lodash" "^4.17.12" + "mute-stream" "0.0.7" + "run-async" "^2.2.0" + "rxjs" "^6.4.0" + "string-width" "^2.1.0" + "strip-ansi" "^5.1.0" + "through" "^2.3.6" + +"inquirer@^7.3.3": + "integrity" "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==" + "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz" + "version" "7.3.3" + dependencies: + "ansi-escapes" "^4.2.1" + "chalk" "^4.1.0" + "cli-cursor" "^3.1.0" + "cli-width" "^3.0.0" + "external-editor" "^3.0.3" + "figures" "^3.0.0" + "lodash" "^4.17.19" + "mute-stream" "0.0.8" + "run-async" "^2.4.0" + "rxjs" "^6.6.0" + "string-width" "^4.1.0" + "strip-ansi" "^6.0.0" + "through" "^2.3.6" + +"inquirer@3.1.1": + "integrity" "sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ==" + "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz" + "version" "3.1.1" + dependencies: + "ansi-escapes" "^2.0.0" + "chalk" "^1.0.0" + "cli-cursor" "^2.1.0" + "cli-width" "^2.0.0" + "external-editor" "^2.0.4" + "figures" "^2.0.0" + "lodash" "^4.3.0" + "mute-stream" "0.0.7" + "run-async" "^2.2.0" + "rx-lite" "^4.0.8" + "rx-lite-aggregates" "^4.0.8" + "string-width" "^2.0.0" + "strip-ansi" "^3.0.0" + "through" "^2.3.6" + +"inquirerer@0.1.3": + "integrity" "sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ==" + "resolved" "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz" + "version" "0.1.3" + dependencies: + "colors" "^1.1.2" + "inquirer" "^6.0.0" + "inquirer-autocomplete-prompt" "^0.11.1" + +"internal-slot@^1.0.3": + "integrity" "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==" + "resolved" "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "get-intrinsic" "^1.1.0" + "has" "^1.0.3" + "side-channel" "^1.0.4" + +"interpret@^1.0.0": + "integrity" "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" + "resolved" "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" + "version" "1.4.0" + +"invariant@^2.2.2", "invariant@^2.2.4": + "integrity" "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==" + "resolved" "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz" + "version" "2.2.4" + dependencies: + "loose-envify" "^1.0.0" + +"ip@^2.0.0": + "integrity" "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" + "resolved" "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz" + "version" "2.0.0" + +"is-arrayish@^0.2.1": + "integrity" "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "resolved" "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" + "version" "0.2.1" + +"is-bigint@^1.0.1": + "integrity" "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==" + "resolved" "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "has-bigints" "^1.0.1" + +"is-binary-path@~2.1.0": + "integrity" "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==" + "resolved" "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "binary-extensions" "^2.0.0" + +"is-boolean-object@^1.1.0": + "integrity" "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==" + "resolved" "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "call-bind" "^1.0.2" + "has-tostringtag" "^1.0.0" + +"is-buffer@~1.1.1": + "integrity" "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "resolved" "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz" + "version" "1.1.6" + +"is-callable@^1.1.4", "is-callable@^1.2.4": + "integrity" "sha512-krO72EO2NptOGAX2KYyqbP9vYMlNAXdB53rq6f8LXY6RY7JdSR/3BD6wLUlPHSAesmY9vstNrjvqGaCiRK/91Q==" + "resolved" "https://registry.npmjs.org/is-callable/-/is-callable-1.2.6.tgz" + "version" "1.2.6" + +"is-ci@^2.0.0": + "integrity" "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==" + "resolved" "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "ci-info" "^2.0.0" + +"is-core-module@^2.5.0", "is-core-module@^2.8.1", "is-core-module@^2.9.0": + "integrity" "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==" + "resolved" "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz" + "version" "2.10.0" + dependencies: + "has" "^1.0.3" + +"is-date-object@^1.0.1": + "integrity" "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==" + "resolved" "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "has-tostringtag" "^1.0.0" + +"is-extglob@^2.1.1": + "integrity" "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + "resolved" "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + "version" "2.1.1" + +"is-fullwidth-code-point@^1.0.0": + "integrity" "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "number-is-nan" "^1.0.0" + +"is-fullwidth-code-point@^2.0.0": + "integrity" "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" + "version" "2.0.0" + +"is-fullwidth-code-point@^3.0.0": + "integrity" "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + "version" "3.0.0" + +"is-generator-fn@^2.0.0": + "integrity" "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==" + "resolved" "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" + "version" "2.1.0" + +"is-glob@^4.0.0", "is-glob@^4.0.1", "is-glob@^4.0.3", "is-glob@~4.0.1": + "integrity" "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==" + "resolved" "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "is-extglob" "^2.1.1" -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== +"is-lambda@^1.0.1": + "integrity" "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==" + "resolved" "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz" + "version" "1.0.1" + +"is-negative-zero@^2.0.2": + "integrity" "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + "resolved" "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" + "version" "2.0.2" + +"is-number-object@^1.0.4": + "integrity" "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==" + "resolved" "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" + "version" "1.0.7" dependencies: - has-tostringtag "^1.0.0" + "has-tostringtag" "^1.0.0" -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - -is-plain-obj@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - -is-promise@^2.2.2: - version "2.2.2" - resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" - integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== - -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== - dependencies: - call-bind "^1.0.2" - -is-ssh@^1.3.0: - version "1.4.0" - resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" - integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== - dependencies: - protocols "^2.0.1" - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - -is-text-path@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== - dependencies: - text-extensions "^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.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - -isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - -isomorphic-ws@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/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.npmjs.org/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== +"is-number@^7.0.0": + "integrity" "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "resolved" "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + "version" "7.0.0" + +"is-obj@^2.0.0": + "integrity" "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + "resolved" "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" + "version" "2.0.0" + +"is-plain-obj@^1.0.0", "is-plain-obj@^1.1.0": + "integrity" "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" + "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" + "version" "1.1.0" + +"is-plain-obj@^2.0.0": + "integrity" "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" + "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz" + "version" "2.1.0" + +"is-plain-object@^2.0.4": + "integrity" "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==" + "resolved" "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz" + "version" "2.0.4" + dependencies: + "isobject" "^3.0.1" + +"is-plain-object@^5.0.0": + "integrity" "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + "resolved" "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz" + "version" "5.0.0" + +"is-promise@^2.2.2": + "integrity" "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + "resolved" "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz" + "version" "2.2.2" + +"is-regex@^1.1.4": + "integrity" "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==" + "resolved" "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz" + "version" "1.1.4" + dependencies: + "call-bind" "^1.0.2" + "has-tostringtag" "^1.0.0" + +"is-shared-array-buffer@^1.0.2": + "integrity" "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==" + "resolved" "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + +"is-ssh@^1.3.0": + "integrity" "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==" + "resolved" "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz" + "version" "1.4.0" + dependencies: + "protocols" "^2.0.1" + +"is-stream@^2.0.0": + "integrity" "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" + "version" "2.0.1" + +"is-string@^1.0.5", "is-string@^1.0.7": + "integrity" "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==" + "resolved" "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz" + "version" "1.0.7" + dependencies: + "has-tostringtag" "^1.0.0" + +"is-symbol@^1.0.2", "is-symbol@^1.0.3": + "integrity" "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==" + "resolved" "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "has-symbols" "^1.0.2" + +"is-text-path@^1.0.1": + "integrity" "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==" + "resolved" "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "text-extensions" "^1.0.0" + +"is-typedarray@^1.0.0", "is-typedarray@~1.0.0", "is-typedarray@1.0.0": + "integrity" "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + "resolved" "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + "version" "1.0.0" + +"is-weakref@^1.0.2": + "integrity" "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==" + "resolved" "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + +"isarray@~1.0.0": + "integrity" "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "resolved" "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + "version" "1.0.0" + +"isexe@^2.0.0": + "integrity" "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "resolved" "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + "version" "2.0.0" + +"isobject@^3.0.1": + "integrity" "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==" + "resolved" "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz" + "version" "3.0.1" + +"isomorphic-ws@^4.0.1": + "integrity" "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==" + "resolved" "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz" + "version" "4.0.1" + +"isstream@~0.1.2": + "integrity" "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==" + "resolved" "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz" + "version" "0.1.2" -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== +"istanbul-lib-coverage@^3.0.0", "istanbul-lib-coverage@^3.2.0": + "integrity" "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" + "version" "3.2.0" -istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: - version "5.2.0" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz#31d18bdd127f825dd02ea7bfdfd906f8ab840e9f" - integrity sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A== +"istanbul-lib-instrument@^5.0.4", "istanbul-lib-instrument@^5.1.0": + "integrity" "sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==" + "resolved" "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz" + "version" "5.2.0" dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.2.0" - semver "^6.3.0" + "istanbul-lib-coverage" "^3.2.0" + "semver" "^6.3.0" -istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== +"istanbul-lib-report@^3.0.0": + "integrity" "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + "version" "3.0.0" dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" - supports-color "^7.1.0" + "istanbul-lib-coverage" "^3.0.0" + "make-dir" "^3.0.0" + "supports-color" "^7.1.0" -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== +"istanbul-lib-source-maps@^4.0.0": + "integrity" "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" + "version" "4.0.1" dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" + "debug" "^4.1.1" + "istanbul-lib-coverage" "^3.0.0" + "source-map" "^0.6.1" -istanbul-reports@^3.1.3: - version "3.1.5" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== +"istanbul-reports@^3.1.3": + "integrity" "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==" + "resolved" "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz" + "version" "3.1.5" dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" + "html-escaper" "^2.0.0" + "istanbul-lib-report" "^3.0.0" -jest-changed-files@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-28.1.3.tgz#d9aeee6792be3686c47cb988a8eaf82ff4238831" - integrity sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA== +"jest-changed-files@^28.1.3": + "integrity" "sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA==" + "resolved" "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-28.1.3.tgz" + "version" "28.1.3" dependencies: - execa "^5.0.0" - p-limit "^3.1.0" + "execa" "^5.0.0" + "p-limit" "^3.1.0" -jest-circus@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-28.1.3.tgz#d14bd11cf8ee1a03d69902dc47b6bd4634ee00e4" - integrity sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow== +"jest-circus@^28.1.3": + "integrity" "sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow==" + "resolved" "https://registry.npmjs.org/jest-circus/-/jest-circus-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/environment" "^28.1.3" "@jest/expect" "^28.1.3" "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - dedent "^0.7.0" - is-generator-fn "^2.0.0" - jest-each "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" - p-limit "^3.1.0" - pretty-format "^28.1.3" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-cli@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-28.1.3.tgz#558b33c577d06de55087b8448d373b9f654e46b2" - integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== + "chalk" "^4.0.0" + "co" "^4.6.0" + "dedent" "^0.7.0" + "is-generator-fn" "^2.0.0" + "jest-each" "^28.1.3" + "jest-matcher-utils" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-runtime" "^28.1.3" + "jest-snapshot" "^28.1.3" + "jest-util" "^28.1.3" + "p-limit" "^3.1.0" + "pretty-format" "^28.1.3" + "slash" "^3.0.0" + "stack-utils" "^2.0.3" + +"jest-cli@^28.1.3": + "integrity" "sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ==" + "resolved" "https://registry.npmjs.org/jest-cli/-/jest-cli-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/core" "^28.1.3" "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" - chalk "^4.0.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - import-local "^3.0.2" - jest-config "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" - prompts "^2.0.1" - yargs "^17.3.1" - -jest-config@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-28.1.3.tgz#e315e1f73df3cac31447eed8b8740a477392ec60" - integrity sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ== + "chalk" "^4.0.0" + "exit" "^0.1.2" + "graceful-fs" "^4.2.9" + "import-local" "^3.0.2" + "jest-config" "^28.1.3" + "jest-util" "^28.1.3" + "jest-validate" "^28.1.3" + "prompts" "^2.0.1" + "yargs" "^17.3.1" + +"jest-config@^28.1.3": + "integrity" "sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ==" + "resolved" "https://registry.npmjs.org/jest-config/-/jest-config-28.1.3.tgz" + "version" "28.1.3" dependencies: "@babel/core" "^7.11.6" "@jest/test-sequencer" "^28.1.3" "@jest/types" "^28.1.3" - babel-jest "^28.1.3" - chalk "^4.0.0" - ci-info "^3.2.0" - deepmerge "^4.2.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-circus "^28.1.3" - jest-environment-node "^28.1.3" - jest-get-type "^28.0.2" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-runner "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" - micromatch "^4.0.4" - parse-json "^5.2.0" - pretty-format "^28.1.3" - slash "^3.0.0" - strip-json-comments "^3.1.1" - -jest-diff@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz#948a192d86f4e7a64c5264ad4da4877133d8792f" - integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== - dependencies: - chalk "^4.0.0" - diff-sequences "^28.1.1" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" - -jest-docblock@^28.1.1: - version "28.1.1" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-28.1.1.tgz#6f515c3bf841516d82ecd57a62eed9204c2f42a8" - integrity sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA== - dependencies: - detect-newline "^3.0.0" - -jest-each@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-28.1.3.tgz#bdd1516edbe2b1f3569cfdad9acd543040028f81" - integrity sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g== + "babel-jest" "^28.1.3" + "chalk" "^4.0.0" + "ci-info" "^3.2.0" + "deepmerge" "^4.2.2" + "glob" "^7.1.3" + "graceful-fs" "^4.2.9" + "jest-circus" "^28.1.3" + "jest-environment-node" "^28.1.3" + "jest-get-type" "^28.0.2" + "jest-regex-util" "^28.0.2" + "jest-resolve" "^28.1.3" + "jest-runner" "^28.1.3" + "jest-util" "^28.1.3" + "jest-validate" "^28.1.3" + "micromatch" "^4.0.4" + "parse-json" "^5.2.0" + "pretty-format" "^28.1.3" + "slash" "^3.0.0" + "strip-json-comments" "^3.1.1" + +"jest-diff@^28.1.3": + "integrity" "sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==" + "resolved" "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz" + "version" "28.1.3" + dependencies: + "chalk" "^4.0.0" + "diff-sequences" "^28.1.1" + "jest-get-type" "^28.0.2" + "pretty-format" "^28.1.3" + +"jest-docblock@^28.1.1": + "integrity" "sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA==" + "resolved" "https://registry.npmjs.org/jest-docblock/-/jest-docblock-28.1.1.tgz" + "version" "28.1.1" + dependencies: + "detect-newline" "^3.0.0" + +"jest-each@^28.1.3": + "integrity" "sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g==" + "resolved" "https://registry.npmjs.org/jest-each/-/jest-each-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" - chalk "^4.0.0" - jest-get-type "^28.0.2" - jest-util "^28.1.3" - pretty-format "^28.1.3" + "chalk" "^4.0.0" + "jest-get-type" "^28.0.2" + "jest-util" "^28.1.3" + "pretty-format" "^28.1.3" -jest-environment-node@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-28.1.3.tgz#7e74fe40eb645b9d56c0c4b70ca4357faa349be5" - integrity sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A== +"jest-environment-node@^28.1.3": + "integrity" "sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A==" + "resolved" "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/environment" "^28.1.3" "@jest/fake-timers" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - jest-mock "^28.1.3" - jest-util "^28.1.3" + "jest-mock" "^28.1.3" + "jest-util" "^28.1.3" -jest-get-type@^28.0.2: - version "28.0.2" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" - integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== +"jest-get-type@^28.0.2": + "integrity" "sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA==" + "resolved" "https://registry.npmjs.org/jest-get-type/-/jest-get-type-28.0.2.tgz" + "version" "28.0.2" -jest-haste-map@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" - integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== +"jest-haste-map@^28.1.3": + "integrity" "sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA==" + "resolved" "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.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 "^28.0.2" - jest-util "^28.1.3" - jest-worker "^28.1.3" - micromatch "^4.0.4" - walker "^1.0.8" + "anymatch" "^3.0.3" + "fb-watchman" "^2.0.0" + "graceful-fs" "^4.2.9" + "jest-regex-util" "^28.0.2" + "jest-util" "^28.1.3" + "jest-worker" "^28.1.3" + "micromatch" "^4.0.4" + "walker" "^1.0.8" optionalDependencies: - fsevents "^2.3.2" + "fsevents" "^2.3.2" -jest-in-case@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz#56744b5af33222bd0abab70cf919f1d170ab75cc" - integrity sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA== +"jest-in-case@^1.0.2": + "integrity" "sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA==" + "resolved" "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz" + "version" "1.0.2" -jest-leak-detector@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz#a6685d9b074be99e3adee816ce84fd30795e654d" - integrity sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA== +"jest-leak-detector@^28.1.3": + "integrity" "sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA==" + "resolved" "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz" + "version" "28.1.3" dependencies: - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + "jest-get-type" "^28.0.2" + "pretty-format" "^28.1.3" -jest-matcher-utils@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" - integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== +"jest-matcher-utils@^28.1.3": + "integrity" "sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw==" + "resolved" "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz" + "version" "28.1.3" dependencies: - chalk "^4.0.0" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + "chalk" "^4.0.0" + "jest-diff" "^28.1.3" + "jest-get-type" "^28.0.2" + "pretty-format" "^28.1.3" -jest-message-util@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz#232def7f2e333f1eecc90649b5b94b0055e7c43d" - integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== +"jest-message-util@^28.1.3": + "integrity" "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==" + "resolved" "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz" + "version" "28.1.3" dependencies: "@babel/code-frame" "^7.12.13" "@jest/types" "^28.1.3" "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^28.1.3" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-mock@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-28.1.3.tgz#d4e9b1fc838bea595c77ab73672ebf513ab249da" - integrity sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA== + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "micromatch" "^4.0.4" + "pretty-format" "^28.1.3" + "slash" "^3.0.0" + "stack-utils" "^2.0.3" + +"jest-mock@^28.1.3": + "integrity" "sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA==" + "resolved" "https://registry.npmjs.org/jest-mock/-/jest-mock-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" "@types/node" "*" -jest-pnp-resolver@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" - integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== - -jest-regex-util@^28.0.2: - version "28.0.2" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" - integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== - -jest-resolve-dependencies@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz#8c65d7583460df7275c6ea2791901fa975c1fe66" - integrity sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA== - dependencies: - jest-regex-util "^28.0.2" - jest-snapshot "^28.1.3" - -jest-resolve@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-28.1.3.tgz#cfb36100341ddbb061ec781426b3c31eb51aa0a8" - integrity sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ== - dependencies: - chalk "^4.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-pnp-resolver "^1.2.2" - jest-util "^28.1.3" - jest-validate "^28.1.3" - resolve "^1.20.0" - resolve.exports "^1.1.0" - slash "^3.0.0" - -jest-runner@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-28.1.3.tgz#5eee25febd730b4713a2cdfd76bdd5557840f9a1" - integrity sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA== +"jest-pnp-resolver@^1.2.2": + "integrity" "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==" + "resolved" "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz" + "version" "1.2.2" + +"jest-regex-util@^28.0.2": + "integrity" "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==" + "resolved" "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz" + "version" "28.0.2" + +"jest-resolve-dependencies@^28.1.3": + "integrity" "sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA==" + "resolved" "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz" + "version" "28.1.3" + dependencies: + "jest-regex-util" "^28.0.2" + "jest-snapshot" "^28.1.3" + +"jest-resolve@*", "jest-resolve@^28.1.3": + "integrity" "sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ==" + "resolved" "https://registry.npmjs.org/jest-resolve/-/jest-resolve-28.1.3.tgz" + "version" "28.1.3" + dependencies: + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^28.1.3" + "jest-pnp-resolver" "^1.2.2" + "jest-util" "^28.1.3" + "jest-validate" "^28.1.3" + "resolve" "^1.20.0" + "resolve.exports" "^1.1.0" + "slash" "^3.0.0" + +"jest-runner@^28.1.3": + "integrity" "sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA==" + "resolved" "https://registry.npmjs.org/jest-runner/-/jest-runner-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/console" "^28.1.3" "@jest/environment" "^28.1.3" @@ -8790,26 +9614,26 @@ jest-runner@^28.1.3: "@jest/transform" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - chalk "^4.0.0" - emittery "^0.10.2" - graceful-fs "^4.2.9" - jest-docblock "^28.1.1" - jest-environment-node "^28.1.3" - jest-haste-map "^28.1.3" - jest-leak-detector "^28.1.3" - jest-message-util "^28.1.3" - jest-resolve "^28.1.3" - jest-runtime "^28.1.3" - jest-util "^28.1.3" - jest-watcher "^28.1.3" - jest-worker "^28.1.3" - p-limit "^3.1.0" - source-map-support "0.5.13" - -jest-runtime@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-28.1.3.tgz#a57643458235aa53e8ec7821949e728960d0605f" - integrity sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw== + "chalk" "^4.0.0" + "emittery" "^0.10.2" + "graceful-fs" "^4.2.9" + "jest-docblock" "^28.1.1" + "jest-environment-node" "^28.1.3" + "jest-haste-map" "^28.1.3" + "jest-leak-detector" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-resolve" "^28.1.3" + "jest-runtime" "^28.1.3" + "jest-util" "^28.1.3" + "jest-watcher" "^28.1.3" + "jest-worker" "^28.1.3" + "p-limit" "^3.1.0" + "source-map-support" "0.5.13" + +"jest-runtime@^28.1.3": + "integrity" "sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw==" + "resolved" "https://registry.npmjs.org/jest-runtime/-/jest-runtime-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/environment" "^28.1.3" "@jest/fake-timers" "^28.1.3" @@ -8818,26 +9642,26 @@ jest-runtime@^28.1.3: "@jest/test-result" "^28.1.3" "@jest/transform" "^28.1.3" "@jest/types" "^28.1.3" - chalk "^4.0.0" - cjs-module-lexer "^1.0.0" - collect-v8-coverage "^1.0.0" - execa "^5.0.0" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" - slash "^3.0.0" - strip-bom "^4.0.0" - -jest-snapshot@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-28.1.3.tgz#17467b3ab8ddb81e2f605db05583d69388fc0668" - integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== + "chalk" "^4.0.0" + "cjs-module-lexer" "^1.0.0" + "collect-v8-coverage" "^1.0.0" + "execa" "^5.0.0" + "glob" "^7.1.3" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-mock" "^28.1.3" + "jest-regex-util" "^28.0.2" + "jest-resolve" "^28.1.3" + "jest-snapshot" "^28.1.3" + "jest-util" "^28.1.3" + "slash" "^3.0.0" + "strip-bom" "^4.0.0" + +"jest-snapshot@^28.1.3": + "integrity" "sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg==" + "resolved" "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-28.1.3.tgz" + "version" "28.1.3" dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" @@ -8849,273 +9673,281 @@ jest-snapshot@^28.1.3: "@jest/types" "^28.1.3" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" - babel-preset-current-node-syntax "^1.0.0" - chalk "^4.0.0" - expect "^28.1.3" - graceful-fs "^4.2.9" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - jest-haste-map "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - natural-compare "^1.4.0" - pretty-format "^28.1.3" - semver "^7.3.5" - -jest-util@^28.0.0, jest-util@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" - integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== + "babel-preset-current-node-syntax" "^1.0.0" + "chalk" "^4.0.0" + "expect" "^28.1.3" + "graceful-fs" "^4.2.9" + "jest-diff" "^28.1.3" + "jest-get-type" "^28.0.2" + "jest-haste-map" "^28.1.3" + "jest-matcher-utils" "^28.1.3" + "jest-message-util" "^28.1.3" + "jest-util" "^28.1.3" + "natural-compare" "^1.4.0" + "pretty-format" "^28.1.3" + "semver" "^7.3.5" + +"jest-util@^28.0.0", "jest-util@^28.1.3": + "integrity" "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==" + "resolved" "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" + "chalk" "^4.0.0" + "ci-info" "^3.2.0" + "graceful-fs" "^4.2.9" + "picomatch" "^2.2.3" -jest-validate@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-28.1.3.tgz#e322267fd5e7c64cea4629612c357bbda96229df" - integrity sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA== +"jest-validate@^28.1.3": + "integrity" "sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA==" + "resolved" "https://registry.npmjs.org/jest-validate/-/jest-validate-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/types" "^28.1.3" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^28.0.2" - leven "^3.1.0" - pretty-format "^28.1.3" + "camelcase" "^6.2.0" + "chalk" "^4.0.0" + "jest-get-type" "^28.0.2" + "leven" "^3.1.0" + "pretty-format" "^28.1.3" -jest-watcher@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz#c6023a59ba2255e3b4c57179fc94164b3e73abd4" - integrity sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g== +"jest-watcher@^28.1.3": + "integrity" "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==" + "resolved" "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - emittery "^0.10.2" - jest-util "^28.1.3" - string-length "^4.0.1" + "ansi-escapes" "^4.2.1" + "chalk" "^4.0.0" + "emittery" "^0.10.2" + "jest-util" "^28.1.3" + "string-length" "^4.0.1" -jest-worker@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" - integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== +"jest-worker@^28.1.3": + "integrity" "sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==" + "resolved" "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz" + "version" "28.1.3" dependencies: "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" + "merge-stream" "^2.0.0" + "supports-color" "^8.0.0" -jest@28.1.3, jest@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz#e9c6a7eecdebe3548ca2b18894a50f45b36dfc6b" - integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== +"jest@^28.0.0", "jest@^28.1.3", "jest@28.1.3": + "integrity" "sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA==" + "resolved" "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/core" "^28.1.3" "@jest/types" "^28.1.3" - import-local "^3.0.2" - jest-cli "^28.1.3" - -js-base64@^3.6.0: - version "3.7.2" - resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz#816d11d81a8aff241603d19ce5761e13e41d7745" - integrity sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ== - -js-crypto-env@^0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" - integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== - -js-crypto-hash@^0.6.3: - version "0.6.3" - resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" - integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== - dependencies: - buffer "~5.4.3" - hash.js "~1.1.7" - js-crypto-env "^0.3.2" - md5 "~2.2.1" - sha3 "~2.1.0" - -js-crypto-hkdf@0.7.3: - version "0.7.3" - resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" - integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== - dependencies: - js-crypto-env "^0.3.2" - js-crypto-hmac "^0.6.3" - js-crypto-random "^0.4.3" - js-encoding-utils "0.5.6" - -js-crypto-hmac@^0.6.3: - version "0.6.3" - resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" - integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== - dependencies: - js-crypto-env "^0.3.2" - js-crypto-hash "^0.6.3" - -js-crypto-random@^0.4.3: - version "0.4.3" - resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" - integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== - dependencies: - js-crypto-env "^0.3.2" - -js-encoding-utils@0.5.6: - version "0.5.6" - resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" - integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== - -js-sha3@0.8.0, js-sha3@^0.8.0: - version "0.8.0" - resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" - integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@^3.13.1: - version "3.14.1" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/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.npmjs.org/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== - -json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/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: - version "5.0.1" - resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== - dependencies: - minimist "^1.2.0" - -json5@^2.1.2, json5@^2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" - integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" + "import-local" "^3.0.2" + "jest-cli" "^28.1.3" + +"js-base64@^3.6.0": + "integrity" "sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==" + "resolved" "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz" + "version" "3.7.2" + +"js-crypto-env@^0.3.2": + "integrity" "sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ==" + "resolved" "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz" + "version" "0.3.2" + +"js-crypto-hash@^0.6.3": + "integrity" "sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA==" + "resolved" "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz" + "version" "0.6.3" + dependencies: + "buffer" "~5.4.3" + "hash.js" "~1.1.7" + "js-crypto-env" "^0.3.2" + "md5" "~2.2.1" + "sha3" "~2.1.0" + +"js-crypto-hkdf@0.7.3": + "integrity" "sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ==" + "resolved" "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz" + "version" "0.7.3" + dependencies: + "js-crypto-env" "^0.3.2" + "js-crypto-hmac" "^0.6.3" + "js-crypto-random" "^0.4.3" + "js-encoding-utils" "0.5.6" + +"js-crypto-hmac@^0.6.3": + "integrity" "sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA==" + "resolved" "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz" + "version" "0.6.3" + dependencies: + "js-crypto-env" "^0.3.2" + "js-crypto-hash" "^0.6.3" + +"js-crypto-random@^0.4.3": + "integrity" "sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ==" + "resolved" "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz" + "version" "0.4.3" + dependencies: + "js-crypto-env" "^0.3.2" + +"js-encoding-utils@0.5.6": + "integrity" "sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg==" + "resolved" "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz" + "version" "0.5.6" + +"js-sha3@^0.8.0", "js-sha3@0.8.0": + "integrity" "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + "resolved" "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz" + "version" "0.8.0" + +"js-tokens@^3.0.0 || ^4.0.0", "js-tokens@^4.0.0": + "integrity" "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "resolved" "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" + "version" "4.0.0" + +"js-yaml@^3.13.1": + "integrity" "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==" + "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + "version" "3.14.1" + dependencies: + "argparse" "^1.0.7" + "esprima" "^4.0.0" + +"js-yaml@^4.1.0": + "integrity" "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==" + "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "argparse" "^2.0.1" + +"jsbn@~0.1.0": + "integrity" "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" + "resolved" "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" + "version" "0.1.1" + +"jsesc@^2.5.1": + "integrity" "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + "resolved" "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + "version" "2.5.2" + +"jsesc@~0.5.0": + "integrity" "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==" + "resolved" "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" + "version" "0.5.0" + +"json-parse-better-errors@^1.0.1": + "integrity" "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + "resolved" "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz" + "version" "1.0.2" + +"json-parse-even-better-errors@^2.3.0": + "integrity" "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "resolved" "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + "version" "2.3.1" + +"json-schema-traverse@^0.4.1": + "integrity" "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + "version" "0.4.1" + +"json-schema@0.4.0": + "integrity" "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + "resolved" "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz" + "version" "0.4.0" + +"json-stable-stringify-without-jsonify@^1.0.1": + "integrity" "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" + "resolved" "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + "version" "1.0.1" + +"json-stringify-safe@^5.0.1", "json-stringify-safe@~5.0.1": + "integrity" "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" + "resolved" "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz" + "version" "5.0.1" + +"json5@^1.0.1": + "integrity" "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==" + "resolved" "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "minimist" "^1.2.0" + +"json5@^2.1.2", "json5@^2.2.1": + "integrity" "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==" + "resolved" "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" + "version" "2.2.1" + +"jsonfile@^6.0.1": + "integrity" "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==" + "resolved" "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" + "version" "6.1.0" + dependencies: + "universalify" "^2.0.0" optionalDependencies: - graceful-fs "^4.1.6" - -jsonparse@^1.2.0, jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -jsprim@^1.2.2: - version "1.4.2" - resolved "https://registry.npmjs.org/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.2: - version "3.3.3" - resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" - integrity sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw== - dependencies: - array-includes "^3.1.5" - object.assign "^4.1.3" - -keyvaluestorage-interface@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" - integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== - -kind-of@^6.0.2, kind-of@^6.0.3: - version "6.0.3" - resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -kleur@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" - integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== - -language-subtag-registry@~0.3.2: - version "0.3.22" - resolved "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" - integrity sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w== - -language-tags@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" - integrity sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ== - dependencies: - language-subtag-registry "~0.3.2" - -lerna@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz#b139d685d50ea0ca1be87713a7c2f44a5b678e9e" - integrity sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg== + "graceful-fs" "^4.1.6" + +"jsonparse@^1.2.0", "jsonparse@^1.3.1": + "integrity" "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==" + "resolved" "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz" + "version" "1.3.1" + +"JSONStream@^1.0.4": + "integrity" "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==" + "resolved" "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz" + "version" "1.3.5" + dependencies: + "jsonparse" "^1.2.0" + "through" ">=2.2.7 <3" + +"jsprim@^1.2.2": + "integrity" "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==" + "resolved" "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz" + "version" "1.4.2" + 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.2": + "integrity" "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==" + "resolved" "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz" + "version" "3.3.3" + dependencies: + "array-includes" "^3.1.5" + "object.assign" "^4.1.3" + +"keyvaluestorage-interface@^1.0.0": + "integrity" "sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==" + "resolved" "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" + "version" "1.0.0" + +"kind-of@^6.0.2", "kind-of@^6.0.3": + "integrity" "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" + "version" "6.0.3" + +"kleur@^3.0.3": + "integrity" "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" + "resolved" "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" + "version" "3.0.3" + +"language-subtag-registry@~0.3.2": + "integrity" "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==" + "resolved" "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz" + "version" "0.3.22" + +"language-tags@^1.0.5": + "integrity" "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==" + "resolved" "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "language-subtag-registry" "~0.3.2" + +"lerna@4.0.0": + "integrity" "sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg==" + "resolved" "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz" + "version" "4.0.0" dependencies: "@lerna/add" "4.0.0" "@lerna/bootstrap" "4.0.0" @@ -9133,619 +9965,624 @@ lerna@4.0.0: "@lerna/publish" "4.0.0" "@lerna/run" "4.0.0" "@lerna/version" "4.0.0" - import-local "^3.0.2" - npmlog "^4.1.2" - -leven@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" - integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== - -levenary@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz#842a9ee98d2075aa7faeedbe32679e9205f46f77" - integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== - dependencies: - leven "^3.1.0" - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" - integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - -libnpmaccess@^4.0.1: - version "4.0.3" - resolved "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz#dfb0e5b0a53c315a2610d300e46b4ddeb66e7eec" - integrity sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ== - dependencies: - aproba "^2.0.0" - minipass "^3.1.1" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" - -libnpmpublish@^4.0.0: - version "4.0.2" - resolved "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz#be77e8bf5956131bcb45e3caa6b96a842dec0794" - integrity sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw== - dependencies: - normalize-package-data "^3.0.2" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" - semver "^7.1.3" - ssri "^8.0.1" - -libsodium-wrappers@^0.7.6: - version "0.7.10" - resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" - integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== - dependencies: - libsodium "^0.7.0" - -libsodium@^0.7.0: - version "0.7.10" - resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" - integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -load-json-file@^6.2.0: - version "6.2.0" - resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" - integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== - dependencies: - graceful-fs "^4.1.15" - parse-json "^5.0.0" - strip-bom "^4.0.0" - type-fest "^0.6.0" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -lodash._reinterpolate@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA== - -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== - -lodash.ismatch@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/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.npmjs.org/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.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== - -lodash.memoize@4.x: - version "4.1.2" - resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - -lodash.mergewith@4.6.2: - version "4.6.2" - resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" - integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== - -lodash.template@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/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.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" - integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== - dependencies: - lodash._reinterpolate "^3.0.0" - -lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: - version "4.17.21" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -long@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" - integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== - -long@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz#2696dadf4b4da2ce3f6f6b89186085d94d52fd61" - integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== - -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -lru-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" - integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== - dependencies: - es5-ext "~0.10.2" - -make-dir@^2.0.0, make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/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: - version "1.3.6" - resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - -make-fetch-happen@^8.0.9: - version "8.0.14" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz#aaba73ae0ab5586ad8eaa68bd83332669393e222" - integrity sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ== - dependencies: - agentkeepalive "^4.1.3" - cacache "^15.0.5" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - promise-retry "^2.0.1" - socks-proxy-agent "^5.0.0" - ssri "^8.0.0" - -make-fetch-happen@^9.0.1: - version "9.1.0" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" - integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== - dependencies: - agentkeepalive "^4.1.3" - cacache "^15.2.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.2" - promise-retry "^2.0.1" - socks-proxy-agent "^6.0.0" - ssri "^8.0.0" - -makeerror@1.0.12: - version "1.0.12" - resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" - integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== - dependencies: - tmpl "1.0.5" - -map-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== - -map-obj@^4.0.0: - version "4.3.0" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -md5@~2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" - integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== - dependencies: - charenc "~0.0.1" - crypt "~0.0.1" - is-buffer "~1.1.1" - -memoize-one@^5.0.0: - version "5.2.1" - resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e" - integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== - -memoizee@^0.4.15: - version "0.4.15" - resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz#e6f3d2da863f318d02225391829a6c5956555b72" - integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== - dependencies: - d "^1.0.1" - es5-ext "^0.10.53" - es6-weak-map "^2.0.3" - event-emitter "^0.3.5" - is-promise "^2.2.2" - lru-queue "^0.1.0" - next-tick "^1.1.0" - timers-ext "^0.1.7" - -meow@^8.0.0: - version "8.1.2" - resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" - integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== + "import-local" "^3.0.2" + "npmlog" "^4.1.2" + +"leven@^3.1.0": + "integrity" "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==" + "resolved" "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" + "version" "3.1.0" + +"levenary@^1.1.1": + "integrity" "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==" + "resolved" "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "leven" "^3.1.0" + +"levn@^0.4.1": + "integrity" "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==" + "resolved" "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" + "version" "0.4.1" + dependencies: + "prelude-ls" "^1.2.1" + "type-check" "~0.4.0" + +"libnpmaccess@^4.0.1": + "integrity" "sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ==" + "resolved" "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "aproba" "^2.0.0" + "minipass" "^3.1.1" + "npm-package-arg" "^8.1.2" + "npm-registry-fetch" "^11.0.0" + +"libnpmpublish@^4.0.0": + "integrity" "sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw==" + "resolved" "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "normalize-package-data" "^3.0.2" + "npm-package-arg" "^8.1.2" + "npm-registry-fetch" "^11.0.0" + "semver" "^7.1.3" + "ssri" "^8.0.1" + +"libsodium-wrappers@^0.7.6": + "integrity" "sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg==" + "resolved" "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz" + "version" "0.7.10" + dependencies: + "libsodium" "^0.7.0" + +"libsodium@^0.7.0": + "integrity" "sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ==" + "resolved" "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz" + "version" "0.7.10" + +"lines-and-columns@^1.1.6": + "integrity" "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "resolved" "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + "version" "1.2.4" + +"load-json-file@^4.0.0": + "integrity" "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==" + "resolved" "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "graceful-fs" "^4.1.2" + "parse-json" "^4.0.0" + "pify" "^3.0.0" + "strip-bom" "^3.0.0" + +"load-json-file@^6.2.0": + "integrity" "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==" + "resolved" "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz" + "version" "6.2.0" + dependencies: + "graceful-fs" "^4.1.15" + "parse-json" "^5.0.0" + "strip-bom" "^4.0.0" + "type-fest" "^0.6.0" + +"locate-path@^2.0.0": + "integrity" "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "p-locate" "^2.0.0" + "path-exists" "^3.0.0" + +"locate-path@^3.0.0": + "integrity" "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "p-locate" "^3.0.0" + "path-exists" "^3.0.0" + +"locate-path@^5.0.0": + "integrity" "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "p-locate" "^4.1.0" + +"locate-path@^6.0.0": + "integrity" "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "p-locate" "^5.0.0" + +"lodash._reinterpolate@^3.0.0": + "integrity" "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==" + "resolved" "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" + "version" "3.0.0" + +"lodash.debounce@^4.0.8": + "integrity" "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" + "resolved" "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" + "version" "4.0.8" + +"lodash.ismatch@^4.4.0": + "integrity" "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==" + "resolved" "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz" + "version" "4.4.0" + +"lodash.isregexp@^4.0.1": + "integrity" "sha512-rw9+95tYcUa9nQ1FgdtKvO+hReLGNqnNMHfLq8SwK5Mo6D0R0tIsnRHGHaTHSKeYBaLCJ1JvXWdz4UmpPZ2bag==" + "resolved" "https://registry.npmjs.org/lodash.isregexp/-/lodash.isregexp-4.0.1.tgz" + "version" "4.0.1" + +"lodash.isstring@^4.0.1": + "integrity" "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" + "resolved" "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz" + "version" "4.0.1" + +"lodash.memoize@4.x": + "integrity" "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==" + "resolved" "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" + "version" "4.1.2" + +"lodash.merge@^4.6.2": + "integrity" "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + "resolved" "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" + "version" "4.6.2" + +"lodash.mergewith@4.6.2": + "integrity" "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" + "resolved" "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz" + "version" "4.6.2" + +"lodash.template@^4.5.0": + "integrity" "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==" + "resolved" "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz" + "version" "4.5.0" + dependencies: + "lodash._reinterpolate" "^3.0.0" + "lodash.templatesettings" "^4.0.0" + +"lodash.templatesettings@^4.0.0": + "integrity" "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==" + "resolved" "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz" + "version" "4.2.0" + dependencies: + "lodash._reinterpolate" "^3.0.0" + +"lodash@^4.17.12", "lodash@^4.17.13", "lodash@^4.17.15", "lodash@^4.17.19", "lodash@^4.17.21", "lodash@^4.17.4", "lodash@^4.3.0", "lodash@^4.7.0": + "integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + "version" "4.17.21" + +"long@^4.0.0": + "integrity" "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "resolved" "https://registry.npmjs.org/long/-/long-4.0.0.tgz" + "version" "4.0.0" + +"long@^5.2.0": + "integrity" "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==" + "resolved" "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + "version" "5.2.0" + +"loose-envify@^1.0.0", "loose-envify@^1.1.0", "loose-envify@^1.4.0": + "integrity" "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==" + "resolved" "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz" + "version" "1.4.0" + dependencies: + "js-tokens" "^3.0.0 || ^4.0.0" + +"lru-cache@^6.0.0": + "integrity" "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==" + "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "yallist" "^4.0.0" + +"lru-queue@^0.1.0": + "integrity" "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==" + "resolved" "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz" + "version" "0.1.0" + dependencies: + "es5-ext" "~0.10.2" + +"make-dir@^2.0.0", "make-dir@^2.1.0": + "integrity" "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==" + "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "pify" "^4.0.1" + "semver" "^5.6.0" + +"make-dir@^3.0.0": + "integrity" "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==" + "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "semver" "^6.0.0" + +"make-error@1.x": + "integrity" "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" + "resolved" "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" + "version" "1.3.6" + +"make-fetch-happen@^8.0.9": + "integrity" "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==" + "resolved" "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz" + "version" "8.0.14" + dependencies: + "agentkeepalive" "^4.1.3" + "cacache" "^15.0.5" + "http-cache-semantics" "^4.1.0" + "http-proxy-agent" "^4.0.1" + "https-proxy-agent" "^5.0.0" + "is-lambda" "^1.0.1" + "lru-cache" "^6.0.0" + "minipass" "^3.1.3" + "minipass-collect" "^1.0.2" + "minipass-fetch" "^1.3.2" + "minipass-flush" "^1.0.5" + "minipass-pipeline" "^1.2.4" + "promise-retry" "^2.0.1" + "socks-proxy-agent" "^5.0.0" + "ssri" "^8.0.0" + +"make-fetch-happen@^9.0.1": + "integrity" "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==" + "resolved" "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz" + "version" "9.1.0" + dependencies: + "agentkeepalive" "^4.1.3" + "cacache" "^15.2.0" + "http-cache-semantics" "^4.1.0" + "http-proxy-agent" "^4.0.1" + "https-proxy-agent" "^5.0.0" + "is-lambda" "^1.0.1" + "lru-cache" "^6.0.0" + "minipass" "^3.1.3" + "minipass-collect" "^1.0.2" + "minipass-fetch" "^1.3.2" + "minipass-flush" "^1.0.5" + "minipass-pipeline" "^1.2.4" + "negotiator" "^0.6.2" + "promise-retry" "^2.0.1" + "socks-proxy-agent" "^6.0.0" + "ssri" "^8.0.0" + +"makeerror@1.0.12": + "integrity" "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==" + "resolved" "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + "version" "1.0.12" + dependencies: + "tmpl" "1.0.5" + +"map-obj@^1.0.0": + "integrity" "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==" + "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" + "version" "1.0.1" + +"map-obj@^4.0.0": + "integrity" "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" + "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz" + "version" "4.3.0" + +"md5.js@^1.3.4": + "integrity" "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==" + "resolved" "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" + "version" "1.3.5" + dependencies: + "hash-base" "^3.0.0" + "inherits" "^2.0.1" + "safe-buffer" "^5.1.2" + +"md5@~2.2.1": + "integrity" "sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ==" + "resolved" "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz" + "version" "2.2.1" + dependencies: + "charenc" "~0.0.1" + "crypt" "~0.0.1" + "is-buffer" "~1.1.1" + +"memoize-one@^5.0.0": + "integrity" "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==" + "resolved" "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz" + "version" "5.2.1" + +"memoizee@^0.4.15": + "integrity" "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==" + "resolved" "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" + "version" "0.4.15" + dependencies: + "d" "^1.0.1" + "es5-ext" "^0.10.53" + "es6-weak-map" "^2.0.3" + "event-emitter" "^0.3.5" + "is-promise" "^2.2.2" + "lru-queue" "^0.1.0" + "next-tick" "^1.1.0" + "timers-ext" "^0.1.7" + +"meow@^8.0.0": + "integrity" "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==" + "resolved" "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz" + "version" "8.1.2" dependencies: "@types/minimist" "^1.2.0" - camelcase-keys "^6.2.2" - decamelize-keys "^1.1.0" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^3.0.0" - read-pkg-up "^7.0.1" - redent "^3.0.0" - trim-newlines "^3.0.0" - type-fest "^0.18.0" - yargs-parser "^20.2.3" - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.35" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -min-indent@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" - integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== - -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== - -minimatch@5.1.0, minimatch@^5.0.1: - version "5.1.0" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" - integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" - integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - kind-of "^6.0.3" - -minimist@1.2.6, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: - version "1.2.6" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: - version "1.4.1" - resolved "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz#d75e0091daac1b0ffd7e9d41629faff7d0c1f1b6" - integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== - dependencies: - minipass "^3.1.0" - minipass-sized "^1.0.3" - minizlib "^2.0.0" + "camelcase-keys" "^6.2.2" + "decamelize-keys" "^1.1.0" + "hard-rejection" "^2.1.0" + "minimist-options" "4.1.0" + "normalize-package-data" "^3.0.0" + "read-pkg-up" "^7.0.1" + "redent" "^3.0.0" + "trim-newlines" "^3.0.0" + "type-fest" "^0.18.0" + "yargs-parser" "^20.2.3" + +"merge-stream@^2.0.0": + "integrity" "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "resolved" "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + "version" "2.0.0" + +"merge2@^1.3.0", "merge2@^1.4.1": + "integrity" "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + "resolved" "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" + "version" "1.4.1" + +"micromatch@^4.0.4": + "integrity" "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==" + "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + "version" "4.0.5" + dependencies: + "braces" "^3.0.2" + "picomatch" "^2.3.1" + +"mime-db@1.52.0": + "integrity" "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "resolved" "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" + "version" "1.52.0" + +"mime-types@^2.1.12", "mime-types@~2.1.19": + "integrity" "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==" + "resolved" "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + "version" "2.1.35" + dependencies: + "mime-db" "1.52.0" + +"mimic-fn@^1.0.0": + "integrity" "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" + "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" + "version" "1.2.0" + +"mimic-fn@^2.1.0": + "integrity" "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" + "version" "2.1.0" + +"min-indent@^1.0.0": + "integrity" "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" + "resolved" "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" + "version" "1.0.1" + +"minimalistic-assert@^1.0.0", "minimalistic-assert@^1.0.1": + "integrity" "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + "resolved" "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" + "version" "1.0.1" + +"minimalistic-crypto-utils@^1.0.1": + "integrity" "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" + "resolved" "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" + "version" "1.0.1" + +"minimatch@^3.0.4", "minimatch@^3.1.1", "minimatch@^3.1.2": + "integrity" "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==" + "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + "version" "3.1.2" + dependencies: + "brace-expansion" "^1.1.7" + +"minimatch@^5.0.1", "minimatch@5.1.0": + "integrity" "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==" + "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" + "version" "5.1.0" + dependencies: + "brace-expansion" "^2.0.1" + +"minimist-options@4.1.0": + "integrity" "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==" + "resolved" "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "arrify" "^1.0.1" + "is-plain-obj" "^1.1.0" + "kind-of" "^6.0.3" + +"minimist@^1.2.0", "minimist@^1.2.5", "minimist@^1.2.6", "minimist@1.2.6": + "integrity" "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" + "version" "1.2.6" + +"minipass-collect@^1.0.2": + "integrity" "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==" + "resolved" "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "minipass" "^3.0.0" + +"minipass-fetch@^1.3.0", "minipass-fetch@^1.3.2": + "integrity" "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==" + "resolved" "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz" + "version" "1.4.1" + dependencies: + "minipass" "^3.1.0" + "minipass-sized" "^1.0.3" + "minizlib" "^2.0.0" optionalDependencies: - encoding "^0.1.12" + "encoding" "^0.1.12" -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== +"minipass-flush@^1.0.5": + "integrity" "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==" + "resolved" "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz" + "version" "1.0.5" dependencies: - minipass "^3.0.0" + "minipass" "^3.0.0" -minipass-json-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" - integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== +"minipass-json-stream@^1.0.1": + "integrity" "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==" + "resolved" "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz" + "version" "1.0.1" dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" + "jsonparse" "^1.3.1" + "minipass" "^3.0.0" -minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== +"minipass-pipeline@^1.2.2", "minipass-pipeline@^1.2.4": + "integrity" "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==" + "resolved" "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz" + "version" "1.2.4" dependencies: - minipass "^3.0.0" + "minipass" "^3.0.0" -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== +"minipass-sized@^1.0.3": + "integrity" "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==" + "resolved" "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz" + "version" "1.0.3" dependencies: - minipass "^3.0.0" + "minipass" "^3.0.0" -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== +"minipass@^2.6.0", "minipass@^2.9.0": + "integrity" "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==" + "resolved" "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz" + "version" "2.9.0" dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" + "safe-buffer" "^5.1.2" + "yallist" "^3.0.0" -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: - version "3.3.4" - resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz#ca99f95dd77c43c7a76bf51e6d200025eee0ffae" - integrity sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw== +"minipass@^3.0.0", "minipass@^3.1.0", "minipass@^3.1.1", "minipass@^3.1.3": + "integrity" "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==" + "resolved" "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz" + "version" "3.3.4" dependencies: - yallist "^4.0.0" + "yallist" "^4.0.0" -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== +"minizlib@^1.3.3": + "integrity" "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==" + "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz" + "version" "1.3.3" dependencies: - minipass "^2.9.0" + "minipass" "^2.9.0" -minizlib@^2.0.0, minizlib@^2.1.1: - version "2.1.2" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== +"minizlib@^2.0.0", "minizlib@^2.1.1": + "integrity" "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==" + "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" + "version" "2.1.2" dependencies: - minipass "^3.0.0" - yallist "^4.0.0" + "minipass" "^3.0.0" + "yallist" "^4.0.0" -miscreant@0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" - integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== +"miscreant@0.3.2": + "integrity" "sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA==" + "resolved" "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz" + "version" "0.3.2" -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== +"mkdirp-infer-owner@^2.0.0": + "integrity" "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==" + "resolved" "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz" + "version" "2.0.0" dependencies: - chownr "^2.0.0" - infer-owner "^1.0.4" - mkdirp "^1.0.3" - -mkdirp@1.0.4, mkdirp@^1.0.3, mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + "chownr" "^2.0.0" + "infer-owner" "^1.0.4" + "mkdirp" "^1.0.3" -mkdirp@^0.5.1, mkdirp@^0.5.5: - version "0.5.6" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== +"mkdirp@^0.5.1", "mkdirp@^0.5.5": + "integrity" "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" + "version" "0.5.6" dependencies: - minimist "^1.2.6" + "minimist" "^1.2.6" -modify-values@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" - integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== +"mkdirp@^1.0.3", "mkdirp@^1.0.4", "mkdirp@1.0.4": + "integrity" "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + "version" "1.0.4" -ms@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== +"modify-values@^1.0.0": + "integrity" "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==" + "resolved" "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz" + "version" "1.0.1" -ms@2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +"ms@^2.0.0", "ms@^2.1.1": + "integrity" "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" + "version" "2.1.3" -ms@^2.0.0, ms@^2.1.1: - version "2.1.3" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +"ms@2.0.0": + "integrity" "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" + "version" "2.0.0" -multimatch@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" - integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== +"ms@2.1.2": + "integrity" "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + "version" "2.1.2" + +"multimatch@^5.0.0": + "integrity" "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==" + "resolved" "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz" + "version" "5.0.0" dependencies: "@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: - version "0.0.7" - resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== - -mute-stream@0.0.8, mute-stream@~0.0.4: - version "0.0.8" - resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - -mz@^2.7.0: - version "2.7.0" - resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" - integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== - dependencies: - any-promise "^1.0.0" - object-assign "^4.0.1" - thenify-all "^1.0.0" - -nan@^2.13.2: - version "2.16.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" - integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== - -nanoid@^3.3.4: - version "3.3.4" - resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" - integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -negotiator@^0.6.2: - version "0.6.3" - resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.0: - version "2.6.2" - resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -next-tick@1, next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - -next@12.2.5: - version "12.2.5" - resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz#14fb5975e8841fad09553b8ef41fe1393602b717" - integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + "array-differ" "^3.0.0" + "array-union" "^2.1.0" + "arrify" "^2.0.1" + "minimatch" "^3.0.4" + +"mute-stream@~0.0.4": + "integrity" "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" + "version" "0.0.8" + +"mute-stream@0.0.7": + "integrity" "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" + "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" + "version" "0.0.7" + +"mute-stream@0.0.8": + "integrity" "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" + "version" "0.0.8" + +"mz@^2.7.0": + "integrity" "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==" + "resolved" "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" + "version" "2.7.0" + dependencies: + "any-promise" "^1.0.0" + "object-assign" "^4.0.1" + "thenify-all" "^1.0.0" + +"nan@^2.13.2": + "integrity" "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==" + "resolved" "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz" + "version" "2.16.0" + +"nanoid@^3.3.4": + "integrity" "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" + "resolved" "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + "version" "3.3.4" + +"natural-compare@^1.4.0": + "integrity" "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" + "resolved" "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" + "version" "1.4.0" + +"negotiator@^0.6.2": + "integrity" "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" + "resolved" "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz" + "version" "0.6.3" + +"neo-async@^2.6.0": + "integrity" "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "resolved" "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" + "version" "2.6.2" + +"next-tick@^1.1.0", "next-tick@1": + "integrity" "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + "resolved" "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" + "version" "1.1.0" + +"next@12.2.5": + "integrity" "sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA==" + "resolved" "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + "version" "12.2.5" dependencies: "@next/env" "12.2.5" "@swc/helpers" "0.4.3" - caniuse-lite "^1.0.30001332" - postcss "8.4.14" - styled-jsx "5.0.4" - use-sync-external-store "1.2.0" + "caniuse-lite" "^1.0.30001332" + "postcss" "8.4.14" + "styled-jsx" "5.0.4" + "use-sync-external-store" "1.2.0" optionalDependencies: "@next/swc-android-arm-eabi" "12.2.5" "@next/swc-android-arm64" "12.2.5" @@ -9761,747 +10598,774 @@ next@12.2.5: "@next/swc-win32-ia32-msvc" "12.2.5" "@next/swc-win32-x64-msvc" "12.2.5" -node-environment-flags@^1.0.5: - version "1.0.6" - resolved "https://registry.npmjs.org/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@^2.6.1, node-fetch@^2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -node-gyp@^5.0.2: - version "5.1.1" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz#eb915f7b631c937d282e33aed44cb7a025f62a3e" - integrity sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw== - dependencies: - env-paths "^2.2.0" - 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" - -node-gyp@^7.1.0: - version "7.1.2" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" - integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== - dependencies: - env-paths "^2.2.0" - glob "^7.1.4" - graceful-fs "^4.2.3" - nopt "^5.0.0" - npmlog "^4.1.2" - request "^2.88.2" - rimraf "^3.0.2" - semver "^7.3.2" - tar "^6.0.2" - which "^2.0.2" - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== - -node-releases@^2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" - integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== - -nopt@^4.0.1: - version "4.0.3" - resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" - integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== - dependencies: - abbrev "1" - osenv "^0.1.4" - -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== - dependencies: - abbrev "1" - -normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: - version "3.0.3" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" - integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - dependencies: - hosted-git-info "^4.0.1" - is-core-module "^2.5.0" - semver "^7.3.4" - validate-npm-package-license "^3.0.1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-url@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - -npm-bundled@^1.1.1: - version "1.1.2" - resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-install-checks@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" - integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== - dependencies: - semver "^7.1.1" - -npm-lifecycle@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz#9882d3642b8c82c815782a12e6a1bfeed0026309" - integrity sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g== - 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@^1.0.0, npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.0, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: - version "8.1.5" - resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" - integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== - dependencies: - hosted-git-info "^4.0.1" - semver "^7.3.4" - validate-npm-package-name "^3.0.0" - -npm-packlist@^2.1.4: - version "2.2.2" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8" - integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== - dependencies: - glob "^7.1.6" - ignore-walk "^3.0.3" - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.1: - version "6.1.1" - resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" - integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== - dependencies: - npm-install-checks "^4.0.0" - npm-normalize-package-bin "^1.0.1" - npm-package-arg "^8.1.2" - semver "^7.3.4" - -npm-registry-fetch@^11.0.0: - version "11.0.0" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz#68c1bb810c46542760d62a6a965f85a702d43a76" - integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== - dependencies: - make-fetch-happen "^9.0.1" - minipass "^3.1.3" - minipass-fetch "^1.3.0" - minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" - -npm-registry-fetch@^9.0.0: - version "9.0.0" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz#86f3feb4ce00313bc0b8f1f8f69daae6face1661" - integrity sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA== +"node-environment-flags@^1.0.5": + "integrity" "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==" + "resolved" "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "object.getownpropertydescriptors" "^2.0.3" + "semver" "^5.7.0" + +"node-fetch@^2.6.1", "node-fetch@^2.6.7": + "integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==" + "resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" + "version" "2.6.7" + dependencies: + "whatwg-url" "^5.0.0" + +"node-gyp@^5.0.2": + "integrity" "sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw==" + "resolved" "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "env-paths" "^2.2.0" + "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" + +"node-gyp@^7.1.0": + "integrity" "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==" + "resolved" "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz" + "version" "7.1.2" + dependencies: + "env-paths" "^2.2.0" + "glob" "^7.1.4" + "graceful-fs" "^4.2.3" + "nopt" "^5.0.0" + "npmlog" "^4.1.2" + "request" "^2.88.2" + "rimraf" "^3.0.2" + "semver" "^7.3.2" + "tar" "^6.0.2" + "which" "^2.0.2" + +"node-int64@^0.4.0": + "integrity" "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" + "resolved" "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + "version" "0.4.0" + +"node-releases@^2.0.6": + "integrity" "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + "resolved" "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" + "version" "2.0.6" + +"nopt@^4.0.1": + "integrity" "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==" + "resolved" "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "abbrev" "1" + "osenv" "^0.1.4" + +"nopt@^5.0.0": + "integrity" "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==" + "resolved" "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "abbrev" "1" + +"normalize-package-data@^2.0.0": + "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" + "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "hosted-git-info" "^2.1.4" + "resolve" "^1.10.0" + "semver" "2 || 3 || 4 || 5" + "validate-npm-package-license" "^3.0.1" + +"normalize-package-data@^2.3.2": + "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" + "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "hosted-git-info" "^2.1.4" + "resolve" "^1.10.0" + "semver" "2 || 3 || 4 || 5" + "validate-npm-package-license" "^3.0.1" + +"normalize-package-data@^2.5.0": + "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" + "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "hosted-git-info" "^2.1.4" + "resolve" "^1.10.0" + "semver" "2 || 3 || 4 || 5" + "validate-npm-package-license" "^3.0.1" + +"normalize-package-data@^3.0.0", "normalize-package-data@^3.0.2": + "integrity" "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==" + "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz" + "version" "3.0.3" + dependencies: + "hosted-git-info" "^4.0.1" + "is-core-module" "^2.5.0" + "semver" "^7.3.4" + "validate-npm-package-license" "^3.0.1" + +"normalize-path@^3.0.0", "normalize-path@~3.0.0": + "integrity" "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + "resolved" "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + "version" "3.0.0" + +"normalize-url@^6.1.0": + "integrity" "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" + "resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" + "version" "6.1.0" + +"npm-bundled@^1.1.1": + "integrity" "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==" + "resolved" "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "npm-normalize-package-bin" "^1.0.1" + +"npm-install-checks@^4.0.0": + "integrity" "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==" + "resolved" "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "semver" "^7.1.1" + +"npm-lifecycle@^3.1.5": + "integrity" "sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==" + "resolved" "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz" + "version" "3.1.5" + 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@^1.0.0", "npm-normalize-package-bin@^1.0.1": + "integrity" "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" + "resolved" "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz" + "version" "1.0.1" + +"npm-package-arg@^8.0.0", "npm-package-arg@^8.0.1", "npm-package-arg@^8.1.0", "npm-package-arg@^8.1.2", "npm-package-arg@^8.1.5": + "integrity" "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==" + "resolved" "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz" + "version" "8.1.5" + dependencies: + "hosted-git-info" "^4.0.1" + "semver" "^7.3.4" + "validate-npm-package-name" "^3.0.0" + +"npm-packlist@^2.1.4": + "integrity" "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==" + "resolved" "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz" + "version" "2.2.2" + dependencies: + "glob" "^7.1.6" + "ignore-walk" "^3.0.3" + "npm-bundled" "^1.1.1" + "npm-normalize-package-bin" "^1.0.1" + +"npm-pick-manifest@^6.0.0", "npm-pick-manifest@^6.1.1": + "integrity" "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==" + "resolved" "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz" + "version" "6.1.1" + dependencies: + "npm-install-checks" "^4.0.0" + "npm-normalize-package-bin" "^1.0.1" + "npm-package-arg" "^8.1.2" + "semver" "^7.3.4" + +"npm-registry-fetch@^11.0.0": + "integrity" "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==" + "resolved" "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz" + "version" "11.0.0" + dependencies: + "make-fetch-happen" "^9.0.1" + "minipass" "^3.1.3" + "minipass-fetch" "^1.3.0" + "minipass-json-stream" "^1.0.1" + "minizlib" "^2.0.0" + "npm-package-arg" "^8.0.0" + +"npm-registry-fetch@^9.0.0": + "integrity" "sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==" + "resolved" "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz" + "version" "9.0.0" dependencies: "@npmcli/ci-detect" "^1.0.0" - lru-cache "^6.0.0" - make-fetch-happen "^8.0.9" - minipass "^3.1.3" - minipass-fetch "^1.3.0" - minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.npmjs.org/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: - version "4.1.1" - resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -object-inspect@^1.12.2, object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== - -object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - -object.assign@^4.1.0, object.assign@^4.1.3, object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - has-symbols "^1.0.3" - object-keys "^1.1.1" - -object.entries@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" - integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.fromentries@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" - integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.getownpropertydescriptors@^2.0.3: - version "2.1.4" - resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz#7965e6437a57278b587383831a9b829455a4bc37" - integrity sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ== - dependencies: - array.prototype.reduce "^1.0.4" - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.1" - -object.hasown@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz#ad1eecc60d03f49460600430d97f23882cf592a3" - integrity sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A== - dependencies: - define-properties "^1.1.4" - es-abstract "^1.19.5" - -object.values@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" - integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -once@^1.3.0, once@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== - dependencies: - mimic-fn "^1.0.0" - -onetime@^5.1.0, onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== - 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.3" - -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== - -os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== - -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.npmjs.org/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.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - -p-limit@^2.0.0, p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + "lru-cache" "^6.0.0" + "make-fetch-happen" "^8.0.9" + "minipass" "^3.1.3" + "minipass-fetch" "^1.3.0" + "minipass-json-stream" "^1.0.1" + "minizlib" "^2.0.0" + "npm-package-arg" "^8.0.0" + +"npm-run-path@^4.0.1": + "integrity" "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==" + "resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "path-key" "^3.0.0" + +"npmlog@^4.1.2": + "integrity" "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==" + "resolved" "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "are-we-there-yet" "~1.1.2" + "console-control-strings" "~1.1.0" + "gauge" "~2.7.3" + "set-blocking" "~2.0.0" + +"number-is-nan@^1.0.0": + "integrity" "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==" + "resolved" "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" + "version" "1.0.1" + +"oauth-sign@~0.9.0": + "integrity" "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + "resolved" "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz" + "version" "0.9.0" + +"object-assign@^4.0.1", "object-assign@^4.1.0", "object-assign@^4.1.1": + "integrity" "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + "resolved" "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + "version" "4.1.1" + +"object-inspect@^1.12.2", "object-inspect@^1.9.0": + "integrity" "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" + "resolved" "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz" + "version" "1.12.2" + +"object-keys@^1.1.1": + "integrity" "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "resolved" "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" + "version" "1.1.1" + +"object.assign@^4.1.0", "object.assign@^4.1.3", "object.assign@^4.1.4": + "integrity" "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==" + "resolved" "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" + "version" "4.1.4" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "has-symbols" "^1.0.3" + "object-keys" "^1.1.1" + +"object.entries@^1.1.5": + "integrity" "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==" + "resolved" "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.1" + +"object.fromentries@^2.0.5": + "integrity" "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==" + "resolved" "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz" + "version" "2.0.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.1" + +"object.getownpropertydescriptors@^2.0.3": + "integrity" "sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==" + "resolved" "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz" + "version" "2.1.4" + dependencies: + "array.prototype.reduce" "^1.0.4" + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.1" + +"object.hasown@^1.1.1": + "integrity" "sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==" + "resolved" "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "define-properties" "^1.1.4" + "es-abstract" "^1.19.5" + +"object.values@^1.1.5": + "integrity" "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==" + "resolved" "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.1" + +"once@^1.3.0", "once@^1.4.0": + "integrity" "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==" + "resolved" "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + "version" "1.4.0" + dependencies: + "wrappy" "1" + +"onetime@^2.0.0": + "integrity" "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==" + "resolved" "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "mimic-fn" "^1.0.0" + +"onetime@^5.1.0", "onetime@^5.1.2": + "integrity" "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==" + "resolved" "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" + "version" "5.1.2" + dependencies: + "mimic-fn" "^2.1.0" + +"optionator@^0.9.1": + "integrity" "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==" + "resolved" "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" + "version" "0.9.1" + 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.3" + +"os-homedir@^1.0.0": + "integrity" "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==" + "resolved" "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz" + "version" "1.0.2" + +"os-tmpdir@^1.0.0", "os-tmpdir@~1.0.2": + "integrity" "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" + "resolved" "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + "version" "1.0.2" + +"osenv@^0.1.4": + "integrity" "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==" + "resolved" "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz" + "version" "0.1.5" + dependencies: + "os-homedir" "^1.0.0" + "os-tmpdir" "^1.0.0" + +"p-finally@^1.0.0": + "integrity" "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==" + "resolved" "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" + "version" "1.0.0" + +"p-limit@^1.1.0": + "integrity" "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "p-try" "^1.0.0" + +"p-limit@^2.0.0": + "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "p-try" "^2.0.0" + +"p-limit@^2.2.0": + "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + "version" "2.3.0" dependencies: - p-try "^2.0.0" + "p-try" "^2.0.0" -p-limit@^3.0.2, p-limit@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== +"p-limit@^3.0.2", "p-limit@^3.1.0": + "integrity" "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" + "version" "3.1.0" dependencies: - yocto-queue "^0.1.0" + "yocto-queue" "^0.1.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== +"p-locate@^2.0.0": + "integrity" "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz" + "version" "2.0.0" dependencies: - p-limit "^1.1.0" + "p-limit" "^1.1.0" -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== +"p-locate@^3.0.0": + "integrity" "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz" + "version" "3.0.0" dependencies: - p-limit "^2.0.0" + "p-limit" "^2.0.0" -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== +"p-locate@^4.1.0": + "integrity" "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + "version" "4.1.0" dependencies: - p-limit "^2.2.0" + "p-limit" "^2.2.0" -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== +"p-locate@^5.0.0": + "integrity" "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" + "version" "5.0.0" dependencies: - p-limit "^3.0.2" + "p-limit" "^3.0.2" -p-map-series@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" - integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== +"p-map-series@^2.1.0": + "integrity" "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==" + "resolved" "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz" + "version" "2.1.0" -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== +"p-map@^4.0.0": + "integrity" "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==" + "resolved" "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz" + "version" "4.0.0" dependencies: - aggregate-error "^3.0.0" + "aggregate-error" "^3.0.0" -p-pipe@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" - integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== +"p-pipe@^3.1.0": + "integrity" "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==" + "resolved" "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz" + "version" "3.1.0" -p-queue@^6.6.2: - version "6.6.2" - resolved "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== +"p-queue@^6.6.2": + "integrity" "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==" + "resolved" "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz" + "version" "6.6.2" dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" + "eventemitter3" "^4.0.4" + "p-timeout" "^3.2.0" -p-reduce@^2.0.0, p-reduce@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" - integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== +"p-reduce@^2.0.0", "p-reduce@^2.1.0": + "integrity" "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==" + "resolved" "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz" + "version" "2.1.0" -p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== +"p-timeout@^3.2.0": + "integrity" "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==" + "resolved" "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz" + "version" "3.2.0" dependencies: - p-finally "^1.0.0" + "p-finally" "^1.0.0" -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== +"p-try@^1.0.0": + "integrity" "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" + "resolved" "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz" + "version" "1.0.0" -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +"p-try@^2.0.0": + "integrity" "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + "resolved" "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + "version" "2.2.0" -p-waterfall@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" - integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== +"p-waterfall@^2.1.1": + "integrity" "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==" + "resolved" "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz" + "version" "2.1.1" dependencies: - p-reduce "^2.0.0" + "p-reduce" "^2.0.0" -pacote@^11.2.6: - version "11.3.5" - resolved "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz#73cf1fc3772b533f575e39efa96c50be8c3dc9d2" - integrity sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg== +"pacote@^11.2.6": + "integrity" "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==" + "resolved" "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz" + "version" "11.3.5" dependencies: "@npmcli/git" "^2.1.0" "@npmcli/installed-package-contents" "^1.0.6" "@npmcli/promise-spawn" "^1.2.0" "@npmcli/run-script" "^1.8.2" - cacache "^15.0.5" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.3" - mkdirp "^1.0.3" - npm-package-arg "^8.0.1" - npm-packlist "^2.1.4" - npm-pick-manifest "^6.0.0" - npm-registry-fetch "^11.0.0" - promise-retry "^2.0.1" - read-package-json-fast "^2.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.1.0" - -pako@1.0.11: - version "1.0.11" - resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - -pako@^0.2.5: - version "0.2.9" - resolved "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" - integrity sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA== - -pako@^2.0.2: - version "2.0.4" - resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" - integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0, parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + "cacache" "^15.0.5" + "chownr" "^2.0.0" + "fs-minipass" "^2.1.0" + "infer-owner" "^1.0.4" + "minipass" "^3.1.3" + "mkdirp" "^1.0.3" + "npm-package-arg" "^8.0.1" + "npm-packlist" "^2.1.4" + "npm-pick-manifest" "^6.0.0" + "npm-registry-fetch" "^11.0.0" + "promise-retry" "^2.0.1" + "read-package-json-fast" "^2.0.1" + "rimraf" "^3.0.2" + "ssri" "^8.0.1" + "tar" "^6.1.0" + +"pako@^0.2.5": + "integrity" "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==" + "resolved" "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz" + "version" "0.2.9" + +"pako@^2.0.2": + "integrity" "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + "resolved" "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz" + "version" "2.0.4" + +"pako@1.0.11": + "integrity" "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + "resolved" "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz" + "version" "1.0.11" + +"parent-module@^1.0.0": + "integrity" "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==" + "resolved" "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "callsites" "^3.0.0" + +"parse-json@^4.0.0": + "integrity" "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==" + "resolved" "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "error-ex" "^1.3.1" + "json-parse-better-errors" "^1.0.1" + +"parse-json@^5.0.0", "parse-json@^5.2.0": + "integrity" "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==" + "resolved" "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + "version" "5.2.0" dependencies: "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse-package-name@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/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.npmjs.org/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.npmjs.org/parse-path/-/parse-path-4.0.4.tgz#4bf424e6b743fb080831f03b536af9fc43f0ffea" - integrity sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw== - dependencies: - is-ssh "^1.3.0" - protocols "^1.4.0" - qs "^6.9.4" - query-string "^6.13.8" - -parse-url@^6.0.0: - version "6.0.5" - resolved "https://registry.npmjs.org/parse-url/-/parse-url-6.0.5.tgz#4acab8982cef1846a0f8675fa686cef24b2f6f9b" - integrity sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA== - dependencies: - is-ssh "^1.3.0" - normalize-url "^6.1.0" - parse-path "^4.0.0" - protocols "^1.4.0" - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: - version "3.1.2" - resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pify@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== - -pirates@^4.0.4, pirates@^4.0.5: - version "4.0.5" - resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== - -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/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.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -popmotion@11.0.5: - version "11.0.5" - resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz#8e3e014421a0ffa30ecd722564fd2558954e1f7d" - integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== - dependencies: - framesync "6.1.2" - hey-listen "^1.0.8" - style-value-types "5.1.2" - tslib "2.4.0" - -postcss@8.4.14: - version "8.4.14" - resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" - integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== - dependencies: - nanoid "^3.3.4" - picocolors "^1.0.0" - source-map-js "^1.0.2" - -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" - integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== - -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - -prettier@2.7.1, prettier@^2.1.2, prettier@^2.6.2: - version "2.7.1" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" - integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== - -pretty-format@^28.0.0, pretty-format@^28.1.3: - version "28.1.3" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" - integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== + "error-ex" "^1.3.1" + "json-parse-even-better-errors" "^2.3.0" + "lines-and-columns" "^1.1.6" + +"parse-package-name@1.0.0": + "integrity" "sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg==" + "resolved" "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz" + "version" "1.0.0" + +"parse-passwd@^1.0.0": + "integrity" "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==" + "resolved" "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz" + "version" "1.0.0" + +"parse-path@^4.0.0": + "integrity" "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==" + "resolved" "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz" + "version" "4.0.4" + dependencies: + "is-ssh" "^1.3.0" + "protocols" "^1.4.0" + "qs" "^6.9.4" + "query-string" "^6.13.8" + +"parse-url@^6.0.0": + "integrity" "sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA==" + "resolved" "https://registry.npmjs.org/parse-url/-/parse-url-6.0.5.tgz" + "version" "6.0.5" + dependencies: + "is-ssh" "^1.3.0" + "normalize-url" "^6.1.0" + "parse-path" "^4.0.0" + "protocols" "^1.4.0" + +"path-exists@^3.0.0": + "integrity" "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" + "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz" + "version" "3.0.0" + +"path-exists@^4.0.0": + "integrity" "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + "version" "4.0.0" + +"path-is-absolute@^1.0.0": + "integrity" "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "resolved" "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + "version" "1.0.1" + +"path-key@^3.0.0", "path-key@^3.1.0": + "integrity" "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "resolved" "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + "version" "3.1.1" + +"path-parse@^1.0.7": + "integrity" "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "resolved" "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" + "version" "1.0.7" + +"path-type@^3.0.0": + "integrity" "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==" + "resolved" "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "pify" "^3.0.0" + +"path-type@^4.0.0": + "integrity" "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + "resolved" "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" + "version" "4.0.0" + +"pbkdf2@^3.0.16", "pbkdf2@^3.0.9", "pbkdf2@^3.1.1": + "integrity" "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==" + "resolved" "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" + "version" "3.1.2" + dependencies: + "create-hash" "^1.1.2" + "create-hmac" "^1.1.4" + "ripemd160" "^2.0.1" + "safe-buffer" "^5.0.1" + "sha.js" "^2.4.8" + +"performance-now@^2.1.0": + "integrity" "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" + "resolved" "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz" + "version" "2.1.0" + +"picocolors@^1.0.0": + "integrity" "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "resolved" "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + "version" "1.0.0" + +"picomatch@^2.0.4", "picomatch@^2.2.1", "picomatch@^2.2.3", "picomatch@^2.3.1": + "integrity" "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + "resolved" "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + "version" "2.3.1" + +"pify@^2.3.0": + "integrity" "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==" + "resolved" "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" + "version" "2.3.0" + +"pify@^3.0.0": + "integrity" "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" + "resolved" "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz" + "version" "3.0.0" + +"pify@^4.0.1": + "integrity" "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" + "resolved" "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz" + "version" "4.0.1" + +"pify@^5.0.0": + "integrity" "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==" + "resolved" "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz" + "version" "5.0.0" + +"pirates@^4.0.4", "pirates@^4.0.5": + "integrity" "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==" + "resolved" "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" + "version" "4.0.5" + +"pkg-dir@^3.0.0": + "integrity" "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==" + "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "find-up" "^3.0.0" + +"pkg-dir@^4.2.0": + "integrity" "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==" + "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" + "version" "4.2.0" + dependencies: + "find-up" "^4.0.0" + +"popmotion@11.0.5": + "integrity" "sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA==" + "resolved" "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + "version" "11.0.5" + dependencies: + "framesync" "6.1.2" + "hey-listen" "^1.0.8" + "style-value-types" "5.1.2" + "tslib" "2.4.0" + +"postcss@8.4.14": + "integrity" "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==" + "resolved" "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + "version" "8.4.14" + dependencies: + "nanoid" "^3.3.4" + "picocolors" "^1.0.0" + "source-map-js" "^1.0.2" + +"prelude-ls@^1.2.1": + "integrity" "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" + "resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" + "version" "1.2.1" + +"prettier-linter-helpers@^1.0.0": + "integrity" "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==" + "resolved" "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "fast-diff" "^1.1.2" + +"prettier@^2.1.2", "prettier@^2.6.2", "prettier@>=2.0.0", "prettier@2.7.1": + "integrity" "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==" + "resolved" "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" + "version" "2.7.1" + +"pretty-format@^28.0.0", "pretty-format@^28.1.3": + "integrity" "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==" + "resolved" "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz" + "version" "28.1.3" dependencies: "@jest/schemas" "^28.1.3" - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^18.0.0" - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -prompts@^2.0.1: - version "2.4.2" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" - integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== - dependencies: - kleur "^3.0.3" - sisteransi "^1.0.5" - -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== - dependencies: - read "1" - -prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.8.1: - version "15.8.1" - resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" - integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== - dependencies: - loose-envify "^1.4.0" - object-assign "^4.1.1" - react-is "^16.13.1" - -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== - -protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: - version "6.11.3" - resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" - integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + "ansi-regex" "^5.0.1" + "ansi-styles" "^5.0.0" + "react-is" "^18.0.0" + +"process-nextick-args@~2.0.0": + "integrity" "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "resolved" "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz" + "version" "2.0.1" + +"promise-inflight@^1.0.1": + "integrity" "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==" + "resolved" "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz" + "version" "1.0.1" + +"promise-retry@^2.0.1": + "integrity" "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==" + "resolved" "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "err-code" "^2.0.2" + "retry" "^0.12.0" + +"prompts@^2.0.1": + "integrity" "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==" + "resolved" "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "kleur" "^3.0.3" + "sisteransi" "^1.0.5" + +"promzard@^0.3.0": + "integrity" "sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==" + "resolved" "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz" + "version" "0.3.0" + dependencies: + "read" "1" + +"prop-types@^15.6.0", "prop-types@^15.6.2", "prop-types@^15.8.1": + "integrity" "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==" + "resolved" "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + "version" "15.8.1" + dependencies: + "loose-envify" "^1.4.0" + "object-assign" "^4.1.1" + "react-is" "^16.13.1" + +"proto-list@~1.2.1": + "integrity" "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" + "resolved" "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz" + "version" "1.2.4" + +"protobufjs@^6.11.2", "protobufjs@^6.11.3", "protobufjs@^6.8.8", "protobufjs@~6.11.2", "protobufjs@~6.11.3", "protobufjs@6.11.3": + "integrity" "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==" + "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + "version" "6.11.3" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -10515,12 +11379,12 @@ protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, pr "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - long "^4.0.0" + "long" "^4.0.0" -protobufjs@~6.10.2: - version "6.10.3" - resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" - integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== +"protobufjs@~6.10.2": + "integrity" "sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg==" + "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz" + "version" "6.10.3" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -10534,1853 +11398,1949 @@ protobufjs@~6.10.2: "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" "^13.7.0" - long "^4.0.0" - -protocols@^1.4.0: - version "1.4.8" - resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz#48eea2d8f58d9644a4a32caae5d5db290a075ce8" - integrity sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg== - -protocols@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" - integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== - -psl@^1.1.28: - version "1.9.0" - resolved "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" - integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== - -punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -q@^1.5.1: - version "1.5.1" - resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== - -qrcode.react@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" - integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== - -qs@^6.9.4: - version "6.11.0" - resolved "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== - dependencies: - side-channel "^1.0.4" - -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -query-string@6.13.5: - version "6.13.5" - resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" - integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== - dependencies: - decode-uri-component "^0.2.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - -query-string@^6.13.8: - version "6.14.1" - resolved "https://registry.npmjs.org/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" - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -quick-lru@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" - integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== - -randombytes@^2.0.1, randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -react-clientside-effect@^1.2.6: - version "1.2.6" - resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" - integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + "long" "^4.0.0" + +"protocols@^1.4.0": + "integrity" "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==" + "resolved" "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz" + "version" "1.4.8" + +"protocols@^2.0.1": + "integrity" "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==" + "resolved" "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz" + "version" "2.0.1" + +"psl@^1.1.28": + "integrity" "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + "resolved" "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz" + "version" "1.9.0" + +"punycode@^2.1.0", "punycode@^2.1.1": + "integrity" "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "resolved" "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" + "version" "2.1.1" + +"q@^1.5.1": + "integrity" "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" + "resolved" "https://registry.npmjs.org/q/-/q-1.5.1.tgz" + "version" "1.5.1" + +"qrcode.react@^3.1.0": + "integrity" "sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q==" + "resolved" "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz" + "version" "3.1.0" + +"qs@^6.9.4": + "integrity" "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz" + "version" "6.11.0" + dependencies: + "side-channel" "^1.0.4" + +"qs@~6.5.2": + "integrity" "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz" + "version" "6.5.3" + +"query-string@^6.13.8": + "integrity" "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==" + "resolved" "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz" + "version" "6.14.1" + dependencies: + "decode-uri-component" "^0.2.0" + "filter-obj" "^1.1.0" + "split-on-first" "^1.0.0" + "strict-uri-encode" "^2.0.0" + +"query-string@6.13.5": + "integrity" "sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q==" + "resolved" "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz" + "version" "6.13.5" + dependencies: + "decode-uri-component" "^0.2.0" + "split-on-first" "^1.0.0" + "strict-uri-encode" "^2.0.0" + +"queue-microtask@^1.2.2": + "integrity" "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + "resolved" "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" + "version" "1.2.3" + +"quick-lru@^4.0.1": + "integrity" "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" + "resolved" "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" + "version" "4.0.1" + +"randombytes@^2.0.1", "randombytes@^2.1.0": + "integrity" "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==" + "resolved" "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "safe-buffer" "^5.1.0" + +"react-clientside-effect@^1.2.6": + "integrity" "sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg==" + "resolved" "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz" + "version" "1.2.6" dependencies: "@babel/runtime" "^7.12.13" -react-dom@18.2.0: - version "18.2.0" - resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" - integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== +"react-dom@^16 || ^17 || ^18", "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom@^17.0.2 || ^18.0.0-0", "react-dom@^18.0.0", "react-dom@>=16.6.0", "react-dom@>=18", "react-dom@18.2.0": + "integrity" "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==" + "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" + "version" "18.2.0" dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.0" + "loose-envify" "^1.1.0" + "scheduler" "^0.23.0" -react-fast-compare@3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" - integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== +"react-fast-compare@3.2.0": + "integrity" "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" + "resolved" "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz" + "version" "3.2.0" -react-focus-lock@^2.9.1: - version "2.9.1" - resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" - integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== +"react-focus-lock@^2.9.1": + "integrity" "sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg==" + "resolved" "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz" + "version" "2.9.1" dependencies: "@babel/runtime" "^7.0.0" - focus-lock "^0.11.2" - prop-types "^15.6.2" - react-clientside-effect "^1.2.6" - use-callback-ref "^1.3.0" - use-sidecar "^1.1.2" - -react-icons@4.4.0, react-icons@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz#a13a8a20c254854e1ec9aecef28a95cdf24ef703" - integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== - -react-is@^16.13.1, react-is@^16.7.0: - version "16.13.1" - resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^18.0.0: - version "18.2.0" - resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - -react-remove-scroll-bar@^2.3.3: - version "2.3.3" - resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz#e291f71b1bb30f5f67f023765b7435f4b2b2cd94" - integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== - dependencies: - react-style-singleton "^2.2.1" - tslib "^2.0.0" - -react-remove-scroll@^2.5.4: - version "2.5.5" - resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" - integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== - dependencies: - react-remove-scroll-bar "^2.3.3" - react-style-singleton "^2.2.1" - tslib "^2.1.0" - use-callback-ref "^1.3.0" - use-sidecar "^1.1.2" - -react-select@^5.4.0: - version "5.4.0" - resolved "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz#81f6ac73906126706f104751ee14437bd16798f4" - integrity sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg== + "focus-lock" "^0.11.2" + "prop-types" "^15.6.2" + "react-clientside-effect" "^1.2.6" + "use-callback-ref" "^1.3.0" + "use-sidecar" "^1.1.2" + +"react-icons@^4.4.0", "react-icons@4.4.0": + "integrity" "sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg==" + "resolved" "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz" + "version" "4.4.0" + +"react-is@^16.13.1", "react-is@^16.7.0": + "integrity" "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "resolved" "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" + "version" "16.13.1" + +"react-is@^18.0.0": + "integrity" "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" + "resolved" "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" + "version" "18.2.0" + +"react-remove-scroll-bar@^2.3.3": + "integrity" "sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw==" + "resolved" "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz" + "version" "2.3.3" + dependencies: + "react-style-singleton" "^2.2.1" + "tslib" "^2.0.0" + +"react-remove-scroll@^2.5.4": + "integrity" "sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==" + "resolved" "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz" + "version" "2.5.5" + dependencies: + "react-remove-scroll-bar" "^2.3.3" + "react-style-singleton" "^2.2.1" + "tslib" "^2.1.0" + "use-callback-ref" "^1.3.0" + "use-sidecar" "^1.1.2" + +"react-select@^5.4.0": + "integrity" "sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg==" + "resolved" "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz" + "version" "5.4.0" dependencies: "@babel/runtime" "^7.12.0" "@emotion/cache" "^11.4.0" "@emotion/react" "^11.8.1" "@types/react-transition-group" "^4.4.0" - memoize-one "^5.0.0" - prop-types "^15.6.0" - react-transition-group "^4.3.0" + "memoize-one" "^5.0.0" + "prop-types" "^15.6.0" + "react-transition-group" "^4.3.0" -react-style-singleton@^2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" - integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== +"react-style-singleton@^2.2.1": + "integrity" "sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==" + "resolved" "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz" + "version" "2.2.1" dependencies: - get-nonce "^1.0.0" - invariant "^2.2.4" - tslib "^2.0.0" + "get-nonce" "^1.0.0" + "invariant" "^2.2.4" + "tslib" "^2.0.0" -react-transition-group@^4.3.0: - version "4.4.5" - resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" - integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== +"react-transition-group@^4.3.0": + "integrity" "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==" + "resolved" "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz" + "version" "4.4.5" dependencies: "@babel/runtime" "^7.5.5" - dom-helpers "^5.0.1" - loose-envify "^1.4.0" - prop-types "^15.6.2" - -react@18.2.0: - version "18.2.0" - resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" - integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== - dependencies: - loose-envify "^1.1.0" - -read-cmd-shim@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9" - integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== - -read-package-json-fast@^2.0.1: - version "2.0.3" - resolved "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" - integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" - -read-package-json@^2.0.0: - version "2.1.2" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz#6992b2b66c7177259feb8eaac73c3acd28b9222a" - integrity sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA== - 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" - -read-package-json@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz#c7108f0b9390257b08c21e3004d2404c806744b9" - integrity sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng== - dependencies: - glob "^7.1.1" - json-parse-even-better-errors "^2.3.0" - normalize-package-data "^3.0.0" - npm-normalize-package-bin "^1.0.0" - -read-package-json@^4.1.1: - version "4.1.2" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz#b444d047de7c75d4a160cb056d00c0693c1df703" - integrity sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ== - dependencies: - glob "^7.1.1" - json-parse-even-better-errors "^2.3.0" - normalize-package-data "^3.0.0" - npm-normalize-package-bin "^1.0.0" - -read-package-tree@^5.3.1: - version "5.3.1" - resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" - integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== - dependencies: - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - util-promisify "^2.1.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - -read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" - integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== - dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -read-pkg@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== + "dom-helpers" "^5.0.1" + "loose-envify" "^1.4.0" + "prop-types" "^15.6.2" + +"react@*", "react@^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16 || ^17 || ^18", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^16.9.0 || ^17.0.0 || ^18.0.0", "react@^17.0.2 || ^18.0.0-0", "react@^18.0.0", "react@^18.2.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@>=16.6.0", "react@>=16.8.0", "react@>=18", "react@18.2.0": + "integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==" + "resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz" + "version" "18.2.0" + dependencies: + "loose-envify" "^1.1.0" + +"read-cmd-shim@^2.0.0": + "integrity" "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==" + "resolved" "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz" + "version" "2.0.0" + +"read-package-json-fast@^2.0.1": + "integrity" "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==" + "resolved" "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "json-parse-even-better-errors" "^2.3.0" + "npm-normalize-package-bin" "^1.0.1" + +"read-package-json@^2.0.0": + "integrity" "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==" + "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz" + "version" "2.1.2" + 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" + +"read-package-json@^3.0.0": + "integrity" "sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng==" + "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "glob" "^7.1.1" + "json-parse-even-better-errors" "^2.3.0" + "normalize-package-data" "^3.0.0" + "npm-normalize-package-bin" "^1.0.0" + +"read-package-json@^4.1.1": + "integrity" "sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ==" + "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "glob" "^7.1.1" + "json-parse-even-better-errors" "^2.3.0" + "normalize-package-data" "^3.0.0" + "npm-normalize-package-bin" "^1.0.0" + +"read-package-tree@^5.3.1": + "integrity" "sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw==" + "resolved" "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz" + "version" "5.3.1" + dependencies: + "read-package-json" "^2.0.0" + "readdir-scoped-modules" "^1.0.0" + "util-promisify" "^2.1.0" + +"read-pkg-up@^3.0.0": + "integrity" "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==" + "resolved" "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "find-up" "^2.0.0" + "read-pkg" "^3.0.0" + +"read-pkg-up@^7.0.1": + "integrity" "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==" + "resolved" "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz" + "version" "7.0.1" + dependencies: + "find-up" "^4.1.0" + "read-pkg" "^5.2.0" + "type-fest" "^0.8.1" + +"read-pkg@^3.0.0": + "integrity" "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==" + "resolved" "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "load-json-file" "^4.0.0" + "normalize-package-data" "^2.3.2" + "path-type" "^3.0.0" + +"read-pkg@^5.2.0": + "integrity" "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==" + "resolved" "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz" + "version" "5.2.0" dependencies: "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -read@1, read@~1.0.1: - version "1.0.7" - resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== - dependencies: - mute-stream "~0.0.4" - -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.6.0: - version "3.6.0" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@^2.0.6, readable-stream@~2.3.6: - version "2.3.7" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readdir-scoped-modules@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -readonly-date@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" - integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== - dependencies: - resolve "^1.1.6" - -redent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" - integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== - dependencies: - indent-string "^4.0.0" - strip-indent "^3.0.0" - -regenerate-unicode-properties@^10.1.0: - version "10.1.0" - resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" - integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== - dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== - -regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: - version "0.13.9" - resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== - -regenerator-transform@^0.15.0: - version "0.15.0" - resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz#cbd9ead5d77fae1a48d957cf889ad0586adb6537" - integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== + "normalize-package-data" "^2.5.0" + "parse-json" "^5.0.0" + "type-fest" "^0.6.0" + +"read@~1.0.1", "read@1": + "integrity" "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==" + "resolved" "https://registry.npmjs.org/read/-/read-1.0.7.tgz" + "version" "1.0.7" + dependencies: + "mute-stream" "~0.0.4" + +"readable-stream@^2.0.6": + "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" + "version" "2.3.7" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.3" + "isarray" "~1.0.0" + "process-nextick-args" "~2.0.0" + "safe-buffer" "~5.1.1" + "string_decoder" "~1.1.1" + "util-deprecate" "~1.0.1" + +"readable-stream@^3.0.0", "readable-stream@^3.0.2", "readable-stream@^3.6.0", "readable-stream@3": + "integrity" "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + "version" "3.6.0" + dependencies: + "inherits" "^2.0.3" + "string_decoder" "^1.1.1" + "util-deprecate" "^1.0.1" + +"readable-stream@~2.3.6": + "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" + "version" "2.3.7" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.3" + "isarray" "~1.0.0" + "process-nextick-args" "~2.0.0" + "safe-buffer" "~5.1.1" + "string_decoder" "~1.1.1" + "util-deprecate" "~1.0.1" + +"readdir-scoped-modules@^1.0.0": + "integrity" "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==" + "resolved" "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "debuglog" "^1.0.1" + "dezalgo" "^1.0.0" + "graceful-fs" "^4.1.2" + "once" "^1.3.0" + +"readdirp@~3.6.0": + "integrity" "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==" + "resolved" "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" + "version" "3.6.0" + dependencies: + "picomatch" "^2.2.1" + +"readonly-date@^1.0.0": + "integrity" "sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ==" + "resolved" "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz" + "version" "1.0.0" + +"rechoir@^0.6.2": + "integrity" "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==" + "resolved" "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" + "version" "0.6.2" + dependencies: + "resolve" "^1.1.6" + +"redent@^3.0.0": + "integrity" "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==" + "resolved" "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "indent-string" "^4.0.0" + "strip-indent" "^3.0.0" + +"regenerate-unicode-properties@^10.1.0": + "integrity" "sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==" + "resolved" "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" + "version" "10.1.0" + dependencies: + "regenerate" "^1.4.2" + +"regenerate-unicode-properties@^8.2.0": + "version" "8.2.0" + dependencies: + "regenerate" "^1.4.0" + +"regenerate@^1.4.0", "regenerate@^1.4.2": + "integrity" "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" + "resolved" "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" + "version" "1.4.2" + +"regenerator-runtime@^0.13.4", "regenerator-runtime@^0.13.7": + "integrity" "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + "resolved" "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz" + "version" "0.13.9" + +"regenerator-transform@^0.14.2", "regenerator-transform@^0.15.0": + "integrity" "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==" + "resolved" "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz" + "version" "0.15.0" dependencies: "@babel/runtime" "^7.8.4" -regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" - -regexpp@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== - -regexpu-core@^5.1.0: - version "5.2.1" - resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz#a69c26f324c1e962e9ffd0b88b055caba8089139" - integrity sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ== - dependencies: - regenerate "^1.4.2" - regenerate-unicode-properties "^10.1.0" - regjsgen "^0.7.1" - regjsparser "^0.9.1" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.0.0" - -regjsgen@^0.7.1: - version "0.7.1" - resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" - integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== - -regjsparser@^0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" - integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== - dependencies: - jsesc "~0.5.0" - -request@^2.88.0, request@^2.88.2: - version "2.88.2" - resolved "https://registry.npmjs.org/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.npmjs.org/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/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.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve.exports@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" - integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== - -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.3.2, resolve@^1.8.1: - version "1.22.1" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" - integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== - dependencies: - is-core-module "^2.9.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -resolve@^2.0.0-next.3: - version "2.0.0-next.4" - resolved "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" - integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== - dependencies: - is-core-module "^2.9.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/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.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== - -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" +"regexp.prototype.flags@^1.4.1", "regexp.prototype.flags@^1.4.3": + "integrity" "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==" + "resolved" "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz" + "version" "1.4.3" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "functions-have-names" "^1.2.2" + +"regexpp@^3.2.0": + "integrity" "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" + "resolved" "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" + "version" "3.2.0" + +"regexpu-core@^4.6.0", "regexpu-core@^5.1.0": + "integrity" "sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ==" + "resolved" "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz" + "version" "5.2.1" + dependencies: + "regenerate" "^1.4.2" + "regenerate-unicode-properties" "^10.1.0" + "regjsgen" "^0.7.1" + "regjsparser" "^0.9.1" + "unicode-match-property-ecmascript" "^2.0.0" + "unicode-match-property-value-ecmascript" "^2.0.0" + +"regexpu-core@^4.7.0": + "version" "4.7.1" + dependencies: + "regenerate" "^1.4.0" + "regenerate-unicode-properties" "^8.2.0" + "regjsgen" "^0.5.1" + "regjsparser" "^0.6.4" + "unicode-match-property-ecmascript" "^1.0.4" + "unicode-match-property-value-ecmascript" "^1.2.0" + +"regjsgen@^0.5.1": + "version" "0.5.2" + +"regjsgen@^0.7.1": + "integrity" "sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA==" + "resolved" "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz" + "version" "0.7.1" + +"regjsparser@^0.6.4": + "version" "0.6.4" + dependencies: + "jsesc" "~0.5.0" + +"regjsparser@^0.9.1": + "integrity" "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==" + "resolved" "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz" + "version" "0.9.1" + dependencies: + "jsesc" "~0.5.0" + +"request@^2.88.0", "request@^2.88.2": + "integrity" "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==" + "resolved" "https://registry.npmjs.org/request/-/request-2.88.2.tgz" + "version" "2.88.2" + 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": + "integrity" "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + "resolved" "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" + "version" "2.1.1" + +"resolve-cwd@^3.0.0": + "integrity" "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==" + "resolved" "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "resolve-from" "^5.0.0" + +"resolve-from@^4.0.0": + "integrity" "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" + "version" "4.0.0" + +"resolve-from@^5.0.0": + "integrity" "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + "version" "5.0.0" + +"resolve.exports@^1.1.0": + "integrity" "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==" + "resolved" "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz" + "version" "1.1.0" + +"resolve@^1.1.6", "resolve@^1.10.0", "resolve@^1.12.0", "resolve@^1.14.2", "resolve@^1.19.0", "resolve@^1.20.0", "resolve@^1.22.0", "resolve@^1.3.2", "resolve@^1.8.1": + "integrity" "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==" + "resolved" "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + "version" "1.22.1" + dependencies: + "is-core-module" "^2.9.0" + "path-parse" "^1.0.7" + "supports-preserve-symlinks-flag" "^1.0.0" + +"resolve@^2.0.0-next.3": + "integrity" "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==" + "resolved" "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz" + "version" "2.0.0-next.4" + dependencies: + "is-core-module" "^2.9.0" + "path-parse" "^1.0.7" + "supports-preserve-symlinks-flag" "^1.0.0" + +"restore-cursor@^2.0.0": + "integrity" "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==" + "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "onetime" "^2.0.0" + "signal-exit" "^3.0.2" + +"restore-cursor@^3.1.0": + "integrity" "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==" + "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "onetime" "^5.1.0" + "signal-exit" "^3.0.2" + +"retry@^0.12.0": + "integrity" "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==" + "resolved" "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz" + "version" "0.12.0" + +"reusify@^1.0.4": + "integrity" "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "resolved" "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" + "version" "1.0.4" + +"rimraf@^2.6.3": + "integrity" "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==" + "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" + "version" "2.7.1" + dependencies: + "glob" "^7.1.3" + +"rimraf@^3.0.0", "rimraf@^3.0.2", "rimraf@3.0.2": + "integrity" "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==" + "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "glob" "^7.1.3" + +"ripemd160@^2.0.0", "ripemd160@^2.0.1", "ripemd160@^2.0.2": + "integrity" "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==" + "resolved" "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "hash-base" "^3.0.0" + "inherits" "^2.0.1" + +"run-async@^2.2.0", "run-async@^2.3.0", "run-async@^2.4.0": + "integrity" "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" + "resolved" "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" + "version" "2.4.1" + +"run-parallel@^1.1.9": + "integrity" "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==" + "resolved" "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "queue-microtask" "^1.2.2" -rx-lite-aggregates@^4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" - integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== +"rx-lite-aggregates@^4.0.8": + "integrity" "sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg==" + "resolved" "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz" + "version" "4.0.8" dependencies: - rx-lite "*" - -rx-lite@*, rx-lite@^4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" - integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== + "rx-lite" "*" + +"rx-lite@*", "rx-lite@^4.0.8": + "integrity" "sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA==" + "resolved" "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz" + "version" "4.0.8" -rxjs@^6.4.0, rxjs@^6.6.0: - version "6.6.7" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== +"rxjs@^6.4.0", "rxjs@^6.6.0": + "integrity" "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==" + "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + "version" "6.6.7" dependencies: - tslib "^1.9.0" - -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + "tslib" "^1.9.0" + +"safe-buffer@^5.0.1", "safe-buffer@^5.1.0", "safe-buffer@^5.1.2", "safe-buffer@^5.2.0", "safe-buffer@^5.2.1", "safe-buffer@~5.2.0": + "integrity" "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + "version" "5.2.1" -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +"safe-buffer@~5.1.0", "safe-buffer@~5.1.1": + "integrity" "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + "version" "5.1.2" -"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: - version "2.1.2" - resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== +"safer-buffer@^2.0.2", "safer-buffer@^2.1.0", "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", "safer-buffer@~2.1.0": + "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "resolved" "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + "version" "2.1.2" -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== +"scheduler@^0.23.0": + "integrity" "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==" + "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" + "version" "0.23.0" dependencies: - loose-envify "^1.1.0" + "loose-envify" "^1.1.0" -secretjs@^0.17.0: - version "0.17.7" - resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" - integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== +"secretjs@^0.17.0": + "integrity" "sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg==" + "resolved" "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz" + "version" "0.17.7" dependencies: "@iov/crypto" "2.1.0" "@iov/encoding" "2.1.0" "@iov/utils" "2.0.2" - axios "0.21.1" - curve25519-js "0.0.4" - fast-deep-equal "3.1.1" - js-crypto-hkdf "0.7.3" - miscreant "0.3.2" - pako "1.0.11" - protobufjs "6.11.3" - secure-random "1.1.2" - -secure-random@1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" - integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== - -"semver@2 || 3 || 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.npmjs.org/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: - version "7.3.7" - resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== - 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.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -sha3@~2.1.0: - version "2.1.4" - resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" - integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== - dependencies: - buffer "6.0.3" - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -shelljs@0.8.5: - version "0.8.5" - resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - 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: - version "3.0.7" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -sisteransi@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" - integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -slide@^1.1.6: - version "1.1.6" - resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - integrity sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw== - -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -socks-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz#032fb583048a29ebffec2e6a73fca0761f48177e" - integrity sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ== - dependencies: - agent-base "^6.0.2" - debug "4" - socks "^2.3.3" - -socks-proxy-agent@^6.0.0: - version "6.2.1" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz#2687a31f9d7185e38d530bef1944fe1f1496d6ce" - integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.3.3, socks@^2.6.2: - version "2.7.0" - resolved "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz#f9225acdb841e874dca25f870e9130990f3913d0" - integrity sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== - dependencies: - is-plain-obj "^1.0.0" - -sort-keys@^4.0.0: - version "4.2.0" - resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz#6b7638cee42c506fff8c1cecde7376d21315be18" - integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== - dependencies: - is-plain-obj "^2.0.0" - -source-map-js@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" - integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== - -source-map-support@0.5.13: - version "0.5.13" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" - integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@^0.5.16, source-map-support@^0.5.19: - version "0.5.21" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.5.0, source-map@^0.5.7: - version "0.5.7" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - -source-map@^0.6.0, source-map@^0.6.1: - version "0.6.1" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" - integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.3.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" - integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" - integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.12" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" - integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== - -split-on-first@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" - integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== - -split2@^3.0.0: - version "3.2.2" - resolved "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" - integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== - dependencies: - readable-stream "^3.0.0" - -split@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" - integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== - dependencies: - through "2" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -sshpk@^1.7.0: - version "1.17.0" - resolved "https://registry.npmjs.org/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@^8.0.0, ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== - dependencies: - minipass "^3.1.1" - -stack-utils@^2.0.3: - version "2.0.5" - resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" - integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== - dependencies: - escape-string-regexp "^2.0.0" - -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== - -string-argv@^0.3.1: - version "0.3.1" - resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" - integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== - -string-length@^4.0.1: - version "4.0.2" - resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" - integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== - dependencies: - char-regex "^1.0.2" - strip-ansi "^6.0.0" - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/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@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^2.0.0, string-width@^2.1.0: - version "2.1.1" - resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string.prototype.matchall@^4.0.7: - version "4.0.7" - resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" - integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - get-intrinsic "^1.1.1" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - regexp.prototype.flags "^1.4.1" - side-channel "^1.0.4" - -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== - -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -strip-indent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" - integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== - dependencies: - min-indent "^1.0.0" - -strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -strong-log-transformer@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" - integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== - dependencies: - duplexer "^0.1.1" - minimist "^1.2.0" - through "^2.3.4" - -style-value-types@5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" - integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== - dependencies: - hey-listen "^1.0.8" - tslib "2.4.0" - -styled-jsx@5.0.4: - version "5.0.4" - resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz#5b1bd0b9ab44caae3dd1361295559706e044aa53" - integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== - -stylis@4.0.13: - version "4.0.13" - resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" - integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.0.0, supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-hyperlinks@^2.0.0: - version "2.3.0" - resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" - integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== - dependencies: - has-flag "^4.0.0" - supports-color "^7.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -symbol-observable@^2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" - integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== - -tar@^4.4.12: - version "4.4.19" - resolved "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== - 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" - -tar@^6.0.2, tar@^6.1.0: - version "6.1.11" - resolved "https://registry.npmjs.org/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" - -temp-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== - -temp-write@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz#cd2e0825fc826ae72d201dc26eef3bf7e6fc9320" - integrity sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw== - dependencies: - graceful-fs "^4.1.15" - is-stream "^2.0.0" - make-dir "^3.0.0" - temp-dir "^1.0.0" - uuid "^3.3.2" - -terminal-link@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" - integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== - dependencies: - ansi-escapes "^4.2.1" - supports-hyperlinks "^2.0.0" - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" - integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + "axios" "0.21.1" + "curve25519-js" "0.0.4" + "fast-deep-equal" "3.1.1" + "js-crypto-hkdf" "0.7.3" + "miscreant" "0.3.2" + "pako" "1.0.11" + "protobufjs" "6.11.3" + "secure-random" "1.1.2" + +"secure-random@1.1.2": + "integrity" "sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ==" + "resolved" "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz" + "version" "1.1.2" + +"semver@^5.4.1", "semver@^5.5.0", "semver@^5.5.1": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^5.6.0": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^5.7.0": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^5.7.1": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^6.0.0": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^6.1.1": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^6.1.2": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^6.3.0": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^7.1.1", "semver@^7.1.3", "semver@^7.3.2", "semver@^7.3.4", "semver@^7.3.5", "semver@^7.3.7", "semver@7.x": + "integrity" "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==" + "resolved" "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" + "version" "7.3.7" + dependencies: + "lru-cache" "^6.0.0" + +"semver@2 || 3 || 4 || 5": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"set-blocking@~2.0.0": + "integrity" "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + "resolved" "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" + "version" "2.0.0" + +"sha.js@^2.4.0", "sha.js@^2.4.11", "sha.js@^2.4.8": + "integrity" "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==" + "resolved" "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" + "version" "2.4.11" + dependencies: + "inherits" "^2.0.1" + "safe-buffer" "^5.0.1" + +"sha3@~2.1.0": + "integrity" "sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg==" + "resolved" "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz" + "version" "2.1.4" + dependencies: + "buffer" "6.0.3" + +"shallow-clone@^3.0.0": + "integrity" "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==" + "resolved" "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "kind-of" "^6.0.2" + +"shebang-command@^2.0.0": + "integrity" "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==" + "resolved" "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "shebang-regex" "^3.0.0" + +"shebang-regex@^3.0.0": + "integrity" "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + "resolved" "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" + "version" "3.0.0" + +"shelljs@0.8.5": + "integrity" "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==" + "resolved" "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" + "version" "0.8.5" + dependencies: + "glob" "^7.0.0" + "interpret" "^1.0.0" + "rechoir" "^0.6.2" + +"side-channel@^1.0.4": + "integrity" "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==" + "resolved" "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "call-bind" "^1.0.0" + "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": + "integrity" "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "resolved" "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + "version" "3.0.7" + +"sisteransi@^1.0.5": + "integrity" "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + "resolved" "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" + "version" "1.0.5" + +"slash@^2.0.0": + "integrity" "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==" + "resolved" "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz" + "version" "2.0.0" + +"slash@^3.0.0": + "integrity" "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + "resolved" "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + "version" "3.0.0" + +"slide@^1.1.6": + "integrity" "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==" + "resolved" "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz" + "version" "1.1.6" + +"smart-buffer@^4.2.0": + "integrity" "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" + "resolved" "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz" + "version" "4.2.0" + +"socks-proxy-agent@^5.0.0": + "integrity" "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==" + "resolved" "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "agent-base" "^6.0.2" + "debug" "4" + "socks" "^2.3.3" + +"socks-proxy-agent@^6.0.0": + "integrity" "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==" + "resolved" "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz" + "version" "6.2.1" + dependencies: + "agent-base" "^6.0.2" + "debug" "^4.3.3" + "socks" "^2.6.2" + +"socks@^2.3.3", "socks@^2.6.2": + "integrity" "sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA==" + "resolved" "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz" + "version" "2.7.0" + dependencies: + "ip" "^2.0.0" + "smart-buffer" "^4.2.0" + +"sort-keys@^2.0.0": + "integrity" "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==" + "resolved" "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "is-plain-obj" "^1.0.0" + +"sort-keys@^4.0.0": + "integrity" "sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==" + "resolved" "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz" + "version" "4.2.0" + dependencies: + "is-plain-obj" "^2.0.0" + +"source-map-js@^1.0.2": + "integrity" "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + "resolved" "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + "version" "1.0.2" + +"source-map-support@^0.5.16", "source-map-support@^0.5.19": + "integrity" "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==" + "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" + "version" "0.5.21" + dependencies: + "buffer-from" "^1.0.0" + "source-map" "^0.6.0" + +"source-map-support@0.5.13": + "integrity" "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==" + "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" + "version" "0.5.13" + dependencies: + "buffer-from" "^1.0.0" + "source-map" "^0.6.0" + +"source-map@^0.5.0": + "integrity" "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" + "version" "0.5.7" + +"source-map@^0.5.7": + "integrity" "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" + "version" "0.5.7" + +"source-map@^0.6.0", "source-map@^0.6.1": + "integrity" "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" + "version" "0.6.1" + +"spdx-correct@^3.0.0": + "integrity" "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==" + "resolved" "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz" + "version" "3.1.1" + dependencies: + "spdx-expression-parse" "^3.0.0" + "spdx-license-ids" "^3.0.0" + +"spdx-exceptions@^2.1.0": + "integrity" "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "resolved" "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz" + "version" "2.3.0" + +"spdx-expression-parse@^3.0.0": + "integrity" "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==" + "resolved" "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "spdx-exceptions" "^2.1.0" + "spdx-license-ids" "^3.0.0" + +"spdx-license-ids@^3.0.0": + "integrity" "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + "resolved" "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz" + "version" "3.0.12" + +"split-on-first@^1.0.0": + "integrity" "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==" + "resolved" "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz" + "version" "1.1.0" + +"split@^1.0.0": + "integrity" "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==" + "resolved" "https://registry.npmjs.org/split/-/split-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "through" "2" + +"split2@^3.0.0": + "integrity" "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==" + "resolved" "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz" + "version" "3.2.2" + dependencies: + "readable-stream" "^3.0.0" + +"sprintf-js@~1.0.2": + "integrity" "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + "resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + "version" "1.0.3" + +"sshpk@^1.7.0": + "integrity" "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==" + "resolved" "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz" + "version" "1.17.0" + 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@^8.0.0", "ssri@^8.0.1": + "integrity" "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==" + "resolved" "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz" + "version" "8.0.1" + dependencies: + "minipass" "^3.1.1" + +"stack-utils@^2.0.3": + "integrity" "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==" + "resolved" "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz" + "version" "2.0.5" + dependencies: + "escape-string-regexp" "^2.0.0" + +"strict-uri-encode@^2.0.0": + "integrity" "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==" + "resolved" "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" + "version" "2.0.0" + +"string_decoder@^1.1.1": + "integrity" "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==" + "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "safe-buffer" "~5.2.0" + +"string_decoder@~1.1.1": + "integrity" "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==" + "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "safe-buffer" "~5.1.0" + +"string-argv@^0.3.1": + "integrity" "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==" + "resolved" "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz" + "version" "0.3.1" + +"string-length@^4.0.1": + "integrity" "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==" + "resolved" "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "char-regex" "^1.0.2" + "strip-ansi" "^6.0.0" + +"string-width@^1.0.1": + "integrity" "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "code-point-at" "^1.0.0" + "is-fullwidth-code-point" "^1.0.0" + "strip-ansi" "^3.0.0" + +"string-width@^1.0.2 || 2 || 3 || 4", "string-width@^4.1.0", "string-width@^4.2.0", "string-width@^4.2.3": + "integrity" "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + "version" "4.2.3" + dependencies: + "emoji-regex" "^8.0.0" + "is-fullwidth-code-point" "^3.0.0" + "strip-ansi" "^6.0.1" + +"string-width@^2.0.0": + "integrity" "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "is-fullwidth-code-point" "^2.0.0" + "strip-ansi" "^4.0.0" + +"string-width@^2.1.0": + "integrity" "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "is-fullwidth-code-point" "^2.0.0" + "strip-ansi" "^4.0.0" + +"string.prototype.matchall@^4.0.7": + "integrity" "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==" + "resolved" "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz" + "version" "4.0.7" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.1" + "get-intrinsic" "^1.1.1" + "has-symbols" "^1.0.3" + "internal-slot" "^1.0.3" + "regexp.prototype.flags" "^1.4.1" + "side-channel" "^1.0.4" + +"string.prototype.trimend@^1.0.5": + "integrity" "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==" + "resolved" "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.19.5" + +"string.prototype.trimstart@^1.0.5": + "integrity" "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==" + "resolved" "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.19.5" + +"strip-ansi@^3.0.0", "strip-ansi@^3.0.1": + "integrity" "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "ansi-regex" "^2.0.0" + +"strip-ansi@^4.0.0": + "integrity" "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "ansi-regex" "^3.0.0" + +"strip-ansi@^5.1.0": + "integrity" "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" + "version" "5.2.0" + dependencies: + "ansi-regex" "^4.1.0" + +"strip-ansi@^6.0.0", "strip-ansi@^6.0.1": + "integrity" "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "ansi-regex" "^5.0.1" + +"strip-bom@^3.0.0": + "integrity" "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" + "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz" + "version" "3.0.0" + +"strip-bom@^4.0.0": + "integrity" "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==" + "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" + "version" "4.0.0" + +"strip-final-newline@^2.0.0": + "integrity" "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" + "resolved" "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + "version" "2.0.0" + +"strip-indent@^3.0.0": + "integrity" "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==" + "resolved" "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "min-indent" "^1.0.0" + +"strip-json-comments@^3.1.0", "strip-json-comments@^3.1.1": + "integrity" "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" + "resolved" "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + "version" "3.1.1" + +"strong-log-transformer@^2.1.0": + "integrity" "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==" + "resolved" "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "duplexer" "^0.1.1" + "minimist" "^1.2.0" + "through" "^2.3.4" + +"style-value-types@5.1.2": + "integrity" "sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q==" + "resolved" "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + "version" "5.1.2" + dependencies: + "hey-listen" "^1.0.8" + "tslib" "2.4.0" + +"styled-jsx@5.0.4": + "integrity" "sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ==" + "resolved" "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + "version" "5.0.4" + +"stylis@4.0.13": + "integrity" "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==" + "resolved" "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz" + "version" "4.0.13" + +"supports-color@^2.0.0": + "integrity" "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" + "version" "2.0.0" + +"supports-color@^5.3.0", "supports-color@^7.0.0", "supports-color@^7.1.0": + "integrity" "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + "version" "7.2.0" + dependencies: + "has-flag" "^4.0.0" + +"supports-color@^8.0.0": + "integrity" "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + "version" "8.1.1" + dependencies: + "has-flag" "^4.0.0" + +"supports-hyperlinks@^2.0.0": + "integrity" "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==" + "resolved" "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "has-flag" "^4.0.0" + "supports-color" "^7.0.0" + +"supports-preserve-symlinks-flag@^1.0.0": + "integrity" "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + "resolved" "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + "version" "1.0.0" + +"symbol-observable@^2.0.3": + "integrity" "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==" + "resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" + "version" "2.0.3" + +"tar@^4.4.12": + "integrity" "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==" + "resolved" "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz" + "version" "4.4.19" + 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" + +"tar@^6.0.2", "tar@^6.1.0": + "integrity" "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==" + "resolved" "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" + "version" "6.1.11" + 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" + +"temp-dir@^1.0.0": + "integrity" "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==" + "resolved" "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz" + "version" "1.0.0" + +"temp-write@^4.0.0": + "integrity" "sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw==" + "resolved" "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "graceful-fs" "^4.1.15" + "is-stream" "^2.0.0" + "make-dir" "^3.0.0" + "temp-dir" "^1.0.0" + "uuid" "^3.3.2" + +"terminal-link@^2.0.0": + "integrity" "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==" + "resolved" "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "ansi-escapes" "^4.2.1" + "supports-hyperlinks" "^2.0.0" + +"test-exclude@^6.0.0": + "integrity" "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==" + "resolved" "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + "version" "6.0.0" dependencies: "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" + "glob" "^7.1.4" + "minimatch" "^3.0.4" -text-extensions@^1.0.0: - version "1.9.0" - resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" - integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== +"text-extensions@^1.0.0": + "integrity" "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==" + "resolved" "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz" + "version" "1.9.0" -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +"text-table@^0.2.0": + "integrity" "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + "resolved" "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" + "version" "0.2.0" -thenify-all@^1.0.0: - version "1.6.0" - resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" - integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== +"thenify-all@^1.0.0": + "integrity" "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==" + "resolved" "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" + "version" "1.6.0" dependencies: - thenify ">= 3.1.0 < 4" + "thenify" ">= 3.1.0 < 4" "thenify@>= 3.1.0 < 4": - version "3.3.1" - resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" - integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== - dependencies: - any-promise "^1.0.0" - -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -through2@^4.0.0: - version "4.0.2" - resolved "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz#a7ce3ac2a7a8b0b966c80e7c49f0484c3b239764" - integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== - dependencies: - readable-stream "3" - -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: - version "2.3.8" - resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== - -timers-ext@^0.1.7: - version "0.1.7" - resolved "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" - integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== - dependencies: - es5-ext "~0.10.46" - next-tick "1" - -tiny-inflate@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz#122715494913a1805166aaf7c93467933eea26c4" - integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== - -tiny-invariant@^1.0.6: - version "1.2.0" - resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" - integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== - -tiny-secp256k1@^1.1.3: - version "1.1.6" - resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" - integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== - dependencies: - bindings "^1.3.0" - bn.js "^4.11.8" - create-hmac "^1.1.7" - elliptic "^6.4.0" - nan "^2.13.2" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -tmpl@1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" - integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -toggle-selection@^1.0.6: - version "1.0.6" - resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" - integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/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@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" - integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== - dependencies: - punycode "^2.1.1" - -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - -trim-newlines@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" - integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== - -ts-jest@^28.0.8: - version "28.0.8" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73" - integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== - dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" - jest-util "^28.0.0" - json5 "^2.2.1" - lodash.memoize "4.x" - make-error "1.x" - semver "7.x" - yargs-parser "^21.0.1" - -tsconfig-paths@^3.14.1: - version "3.14.1" - resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== + "integrity" "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==" + "resolved" "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" + "version" "3.3.1" + dependencies: + "any-promise" "^1.0.0" + +"through@^2.3.4", "through@^2.3.6", "through@>=2.2.7 <3", "through@2": + "integrity" "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + "resolved" "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + "version" "2.3.8" + +"through2@^2.0.0": + "integrity" "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==" + "resolved" "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz" + "version" "2.0.5" + dependencies: + "readable-stream" "~2.3.6" + "xtend" "~4.0.1" + +"through2@^4.0.0": + "integrity" "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==" + "resolved" "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "readable-stream" "3" + +"timers-ext@^0.1.7": + "integrity" "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==" + "resolved" "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz" + "version" "0.1.7" + dependencies: + "es5-ext" "~0.10.46" + "next-tick" "1" + +"tiny-inflate@^1.0.0": + "integrity" "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" + "resolved" "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz" + "version" "1.0.3" + +"tiny-invariant@^1.0.6": + "integrity" "sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==" + "resolved" "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz" + "version" "1.2.0" + +"tiny-secp256k1@^1.1.3": + "integrity" "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==" + "resolved" "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz" + "version" "1.1.6" + dependencies: + "bindings" "^1.3.0" + "bn.js" "^4.11.8" + "create-hmac" "^1.1.7" + "elliptic" "^6.4.0" + "nan" "^2.13.2" + +"tmp@^0.0.33": + "integrity" "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==" + "resolved" "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + "version" "0.0.33" + dependencies: + "os-tmpdir" "~1.0.2" + +"tmpl@1.0.5": + "integrity" "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==" + "resolved" "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + "version" "1.0.5" + +"to-fast-properties@^2.0.0": + "integrity" "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==" + "resolved" "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + "version" "2.0.0" + +"to-regex-range@^5.0.1": + "integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==" + "resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "is-number" "^7.0.0" + +"toggle-selection@^1.0.6": + "integrity" "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" + "resolved" "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz" + "version" "1.0.6" + +"tough-cookie@~2.5.0": + "integrity" "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==" + "resolved" "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "psl" "^1.1.28" + "punycode" "^2.1.1" + +"tr46@^2.1.0": + "integrity" "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==" + "resolved" "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "punycode" "^2.1.1" + +"tr46@~0.0.3": + "integrity" "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "resolved" "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" + "version" "0.0.3" + +"trim-newlines@^3.0.0": + "integrity" "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" + "resolved" "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" + "version" "3.0.1" + +"ts-jest@^28.0.8": + "integrity" "sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==" + "resolved" "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz" + "version" "28.0.8" + dependencies: + "bs-logger" "0.x" + "fast-json-stable-stringify" "2.x" + "jest-util" "^28.0.0" + "json5" "^2.2.1" + "lodash.memoize" "4.x" + "make-error" "1.x" + "semver" "7.x" + "yargs-parser" "^21.0.1" + +"tsconfig-paths@^3.14.1": + "integrity" "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==" + "resolved" "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz" + "version" "3.14.1" dependencies: "@types/json5" "^0.0.29" - json5 "^1.0.1" - minimist "^1.2.6" - strip-bom "^3.0.0" - -tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: - version "2.4.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - -tslib@^1.8.1, tslib@^1.9.0: - version "1.14.1" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" - integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== - dependencies: - prelude-ls "^1.2.1" - -type-detect@4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.18.0: - version "0.18.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" - integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== - -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -type-fest@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/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" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" - integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - -type-fest@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - -type-tagger@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" - integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== - -type@^1.0.1: - version "1.2.0" - resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.7.2: - version "2.7.2" - resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - -typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== - -typeforce@^1.11.5: - version "1.18.0" - resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" - integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== - -typescript@4.7.4: - version "4.7.4" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== - -typescript@^4.6.2: - version "4.8.3" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" - integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== - -uglify-js@^3.1.4: - version "3.17.0" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz#55bd6e9d19ce5eef0d5ad17cd1f587d85b180a85" - integrity sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg== - -uid-number@0.0.6: - version "0.0.6" - resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - integrity sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w== - -umask@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/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.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" - -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" - integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== - dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz#1a01aa57247c14c568b89775a54938788189a714" - integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" - integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== - -unicode-trie@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz#8fd8845696e2e14a8b67d78fa9e0dd2cad62fec8" - integrity sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ== - dependencies: - pako "^0.2.5" - tiny-inflate "^1.0.0" - -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== - -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - -unorm@^1.5.0: - version "1.6.0" - resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" - integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== - -upath@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" - integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== - -update-browserslist-db@^1.0.9: - version "1.0.9" - resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz#2924d3927367a38d5c555413a7ce138fc95fcb18" - integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -use-callback-ref@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" - integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== - dependencies: - tslib "^2.0.0" - -use-sidecar@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" - integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== - dependencies: - detect-node-es "^1.1.0" - tslib "^2.0.0" - -use-sync-external-store@1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" - integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== - -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + "json5" "^1.0.1" + "minimist" "^1.2.6" + "strip-bom" "^3.0.0" + +"tslib@^1.8.1": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tslib@^1.9.0": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tslib@^2.0.0", "tslib@^2.0.3", "tslib@^2.1.0", "tslib@^2.3.1", "tslib@^2.4.0", "tslib@2.4.0": + "integrity" "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + "version" "2.4.0" + +"tsutils@^3.21.0": + "integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==" + "resolved" "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" + "version" "3.21.0" + dependencies: + "tslib" "^1.8.1" + +"tunnel-agent@^0.6.0": + "integrity" "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==" + "resolved" "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz" + "version" "0.6.0" + dependencies: + "safe-buffer" "^5.0.1" + +"tweetnacl@^0.14.3", "tweetnacl@~0.14.0": + "integrity" "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==" + "resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" + "version" "0.14.5" + +"type-check@^0.4.0", "type-check@~0.4.0": + "integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==" + "resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" + "version" "0.4.0" + dependencies: + "prelude-ls" "^1.2.1" + +"type-detect@4.0.8": + "integrity" "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + "resolved" "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" + "version" "4.0.8" + +"type-fest@^0.18.0": + "integrity" "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz" + "version" "0.18.1" + +"type-fest@^0.20.2": + "integrity" "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" + "version" "0.20.2" + +"type-fest@^0.21.3": + "integrity" "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" + "version" "0.21.3" + +"type-fest@^0.4.1": + "integrity" "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz" + "version" "0.4.1" + +"type-fest@^0.6.0": + "integrity" "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz" + "version" "0.6.0" + +"type-fest@^0.8.1": + "integrity" "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz" + "version" "0.8.1" + +"type-tagger@^1.0.0": + "integrity" "sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA==" + "resolved" "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz" + "version" "1.0.0" + +"type@^1.0.1": + "integrity" "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + "resolved" "https://registry.npmjs.org/type/-/type-1.2.0.tgz" + "version" "1.2.0" + +"type@^2.7.2": + "integrity" "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + "resolved" "https://registry.npmjs.org/type/-/type-2.7.2.tgz" + "version" "2.7.2" + +"typedarray-to-buffer@^3.1.5", "typedarray-to-buffer@3.1.5": + "integrity" "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==" + "resolved" "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + "version" "3.1.5" + dependencies: + "is-typedarray" "^1.0.0" + +"typedarray@^0.0.6": + "integrity" "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + "resolved" "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" + "version" "0.0.6" + +"typeforce@^1.11.5": + "integrity" "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==" + "resolved" "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz" + "version" "1.18.0" + +"typescript@^4.6.2", "typescript@>=4.3": + "integrity" "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==" + "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz" + "version" "4.8.3" + +"typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=3.3.1", "typescript@4.7.4": + "integrity" "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" + "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz" + "version" "4.7.4" + +"uglify-js@^3.1.4": + "integrity" "sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg==" + "resolved" "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz" + "version" "3.17.0" + +"uid-number@0.0.6": + "integrity" "sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w==" + "resolved" "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz" + "version" "0.0.6" + +"umask@^1.1.0": + "integrity" "sha512-lE/rxOhmiScJu9L6RTNVgB/zZbF+vGC0/p6D3xnkAePI2o0sMyFG966iR5Ki50OI/0mNi2yaRnxfLsPmEZF/JA==" + "resolved" "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz" + "version" "1.1.0" + +"unbox-primitive@^1.0.2": + "integrity" "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==" + "resolved" "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + "has-bigints" "^1.0.2" + "has-symbols" "^1.0.3" + "which-boxed-primitive" "^1.0.2" + +"unicode-canonical-property-names-ecmascript@^2.0.0": + "integrity" "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" + "resolved" "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" + "version" "2.0.0" + +"unicode-match-property-ecmascript@^1.0.4", "unicode-match-property-ecmascript@^2.0.0": + "integrity" "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==" + "resolved" "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "unicode-canonical-property-names-ecmascript" "^2.0.0" + "unicode-property-aliases-ecmascript" "^2.0.0" + +"unicode-match-property-value-ecmascript@^1.2.0": + "version" "1.2.0" + +"unicode-match-property-value-ecmascript@^2.0.0": + "integrity" "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==" + "resolved" "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz" + "version" "2.0.0" + +"unicode-property-aliases-ecmascript@^2.0.0": + "integrity" "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==" + "resolved" "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz" + "version" "2.1.0" + +"unicode-trie@^2.0.0": + "integrity" "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==" + "resolved" "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "pako" "^0.2.5" + "tiny-inflate" "^1.0.0" + +"unique-filename@^1.1.1": + "integrity" "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==" + "resolved" "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "unique-slug" "^2.0.0" + +"unique-slug@^2.0.0": + "integrity" "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==" + "resolved" "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "imurmurhash" "^0.1.4" + +"universal-user-agent@^6.0.0": + "integrity" "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" + "resolved" "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz" + "version" "6.0.0" + +"universalify@^2.0.0": + "integrity" "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + "resolved" "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" + "version" "2.0.0" + +"unorm@^1.5.0": + "integrity" "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" + "resolved" "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz" + "version" "1.6.0" + +"upath@^2.0.1": + "integrity" "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==" + "resolved" "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz" + "version" "2.0.1" + +"update-browserslist-db@^1.0.5": + "version" "1.0.5" + dependencies: + "escalade" "^3.1.1" + "picocolors" "^1.0.0" + +"update-browserslist-db@^1.0.9": + "integrity" "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==" + "resolved" "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" + "version" "1.0.9" + dependencies: + "escalade" "^3.1.1" + "picocolors" "^1.0.0" + +"uri-js@^4.2.2": + "integrity" "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==" + "resolved" "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" + "version" "4.4.1" + dependencies: + "punycode" "^2.1.0" + +"use-callback-ref@^1.3.0": + "integrity" "sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==" + "resolved" "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "tslib" "^2.0.0" + +"use-sidecar@^1.1.2": + "integrity" "sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==" + "resolved" "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "detect-node-es" "^1.1.0" + "tslib" "^2.0.0" + +"use-sync-external-store@1.2.0": + "integrity" "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==" + "resolved" "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + "version" "1.2.0" -util-promisify@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" - integrity sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA== +"util-deprecate@^1.0.1", "util-deprecate@~1.0.1": + "integrity" "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + "version" "1.0.2" + +"util-promisify@^2.1.0": + "integrity" "sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA==" + "resolved" "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz" + "version" "2.1.0" dependencies: - object.getownpropertydescriptors "^2.0.3" - -util@^0.10.3: - version "0.10.4" - resolved "https://registry.npmjs.org/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" - integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== + "object.getownpropertydescriptors" "^2.0.3" + +"util@^0.10.3": + "integrity" "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==" + "resolved" "https://registry.npmjs.org/util/-/util-0.10.4.tgz" + "version" "0.10.4" dependencies: - inherits "2.0.3" - -utility-types@^3.10.0: - version "3.10.0" - resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" - integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== - -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== + "inherits" "2.0.3" + +"utility-types@^3.10.0": + "integrity" "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" + "resolved" "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" + "version" "3.10.0" + +"uuid@^3.3.2": + "integrity" "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" + "version" "3.4.0" -v8-compile-cache@^2.0.3: - version "2.3.0" - resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== +"v8-compile-cache@^2.0.3": + "integrity" "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + "resolved" "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz" + "version" "2.3.0" -v8-to-istanbul@^9.0.1: - version "9.0.1" - resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" - integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== +"v8-to-istanbul@^9.0.1": + "integrity" "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==" + "resolved" "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz" + "version" "9.0.1" dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" + "convert-source-map" "^1.6.0" -v8flags@^3.1.1: - version "3.2.0" - resolved "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz#b243e3b4dfd731fa774e7492128109a0fe66d656" - integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg== +"v8flags@^3.1.1": + "integrity" "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==" + "resolved" "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz" + "version" "3.2.0" dependencies: - homedir-polyfill "^1.0.1" + "homedir-polyfill" "^1.0.1" -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== +"validate-npm-package-license@^3.0.1", "validate-npm-package-license@^3.0.4": + "integrity" "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==" + "resolved" "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz" + "version" "3.0.4" dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" + "spdx-correct" "^3.0.0" + "spdx-expression-parse" "^3.0.0" -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== +"validate-npm-package-name@^3.0.0": + "integrity" "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==" + "resolved" "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz" + "version" "3.0.0" dependencies: - builtins "^1.0.3" + "builtins" "^1.0.3" -verror@1.10.0: - version "1.10.0" - resolved "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== +"verror@1.10.0": + "integrity" "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==" + "resolved" "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz" + "version" "1.10.0" dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" + "assert-plus" "^1.0.0" + "core-util-is" "1.0.2" + "extsprintf" "^1.2.0" -walker@^1.0.8: - version "1.0.8" - resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" - integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== +"walker@^1.0.8": + "integrity" "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==" + "resolved" "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + "version" "1.0.8" dependencies: - makeerror "1.0.12" + "makeerror" "1.0.12" -wasm-ast-types@^0.11.1: - version "0.11.3" - resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz#d91b6456e11b3cb23d77b34e5156d13d2ead3a22" - integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== +"wasm-ast-types@^0.11.1": + "integrity" "sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA==" + "resolved" "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" + "version" "0.11.3" dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.10" "@jest/transform" "28.1.3" - ast-stringify "0.1.0" - case "1.6.3" - deepmerge "4.2.2" - -wcwidth@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== - dependencies: - defaults "^1.0.3" - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -webidl-conversions@^6.1.0: - version "6.1.0" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" - integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -whatwg-url@^8.4.0: - version "8.7.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" - integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== - dependencies: - lodash "^4.7.0" - tr46 "^2.1.0" - webidl-conversions "^6.1.0" - -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - -which@^1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -which@^2.0.1, which@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.0: - version "1.1.5" - resolved "https://registry.npmjs.org/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" - -wif@^2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" - integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== - dependencies: - bs58check "<3.0.0" - -word-wrap@^1.2.3: - version "1.2.3" - resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== - -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@^2.4.2: - version "2.4.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" - integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -write-file-atomic@^4.0.1: - version "4.0.2" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" - integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - -write-json-file@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a" - integrity sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ== - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.15" - make-dir "^2.1.0" - pify "^4.0.1" - sort-keys "^2.0.0" - write-file-atomic "^2.4.2" - -write-json-file@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz#908493d6fd23225344af324016e4ca8f702dd12d" - integrity sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ== - dependencies: - detect-indent "^6.0.0" - graceful-fs "^4.1.15" - is-plain-obj "^2.0.0" - make-dir "^3.0.0" - sort-keys "^4.0.0" - write-file-atomic "^3.0.0" - -write-pkg@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" - integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== - dependencies: - sort-keys "^2.0.0" - type-fest "^0.4.1" - write-json-file "^3.2.0" - -ws@7.5.3: - version "7.5.3" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== - -ws@^7: - version "7.5.9" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" - integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== - -xstream@^11.14.0: - version "11.14.0" - resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" - integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== - dependencies: - globalthis "^1.0.1" - symbol-observable "^2.0.3" - -xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^3.0.0, yallist@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yaml@^1.10.0, yaml@^1.7.2: - version "1.10.2" - resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs-parser@^21.0.0, yargs-parser@^21.0.1: - version "21.1.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yargs@^17.3.1: - version "17.5.1" - resolved "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz#e109900cab6fcb7fd44b1d8249166feb0b36e58e" - integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA== - dependencies: - cliui "^7.0.2" - 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.0.0" - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + "ast-stringify" "0.1.0" + "case" "1.6.3" + "deepmerge" "4.2.2" + +"wcwidth@^1.0.0": + "integrity" "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==" + "resolved" "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "defaults" "^1.0.3" + +"webidl-conversions@^3.0.0": + "integrity" "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + "version" "3.0.1" + +"webidl-conversions@^6.1.0": + "integrity" "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==" + "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz" + "version" "6.1.0" + +"whatwg-url@^5.0.0": + "integrity" "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==" + "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "tr46" "~0.0.3" + "webidl-conversions" "^3.0.0" + +"whatwg-url@^8.4.0": + "integrity" "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==" + "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" + "version" "8.7.0" + dependencies: + "lodash" "^4.7.0" + "tr46" "^2.1.0" + "webidl-conversions" "^6.1.0" + +"which-boxed-primitive@^1.0.2": + "integrity" "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==" + "resolved" "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "is-bigint" "^1.0.1" + "is-boolean-object" "^1.1.0" + "is-number-object" "^1.0.4" + "is-string" "^1.0.5" + "is-symbol" "^1.0.3" + +"which@^1.3.1": + "integrity" "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==" + "resolved" "https://registry.npmjs.org/which/-/which-1.3.1.tgz" + "version" "1.3.1" + dependencies: + "isexe" "^2.0.0" + +"which@^2.0.1", "which@^2.0.2": + "integrity" "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==" + "resolved" "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "isexe" "^2.0.0" + +"wide-align@^1.1.0": + "integrity" "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==" + "resolved" "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "string-width" "^1.0.2 || 2 || 3 || 4" + +"wif@^2.0.6": + "integrity" "sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ==" + "resolved" "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz" + "version" "2.0.6" + dependencies: + "bs58check" "<3.0.0" + +"word-wrap@^1.2.3": + "integrity" "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + "resolved" "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" + "version" "1.2.3" + +"wordwrap@^1.0.0": + "integrity" "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + "resolved" "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" + "version" "1.0.0" + +"wrap-ansi@^7.0.0": + "integrity" "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==" + "resolved" "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + "version" "7.0.0" + dependencies: + "ansi-styles" "^4.0.0" + "string-width" "^4.1.0" + "strip-ansi" "^6.0.0" + +"wrappy@1": + "integrity" "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "resolved" "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + "version" "1.0.2" + +"write-file-atomic@^2.4.2": + "integrity" "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==" + "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz" + "version" "2.4.3" + dependencies: + "graceful-fs" "^4.1.11" + "imurmurhash" "^0.1.4" + "signal-exit" "^3.0.2" + +"write-file-atomic@^3.0.0", "write-file-atomic@^3.0.3": + "integrity" "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==" + "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" + "version" "3.0.3" + dependencies: + "imurmurhash" "^0.1.4" + "is-typedarray" "^1.0.0" + "signal-exit" "^3.0.2" + "typedarray-to-buffer" "^3.1.5" + +"write-file-atomic@^4.0.1": + "integrity" "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==" + "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "imurmurhash" "^0.1.4" + "signal-exit" "^3.0.7" + +"write-json-file@^3.2.0": + "integrity" "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==" + "resolved" "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz" + "version" "3.2.0" + dependencies: + "detect-indent" "^5.0.0" + "graceful-fs" "^4.1.15" + "make-dir" "^2.1.0" + "pify" "^4.0.1" + "sort-keys" "^2.0.0" + "write-file-atomic" "^2.4.2" + +"write-json-file@^4.3.0": + "integrity" "sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ==" + "resolved" "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "detect-indent" "^6.0.0" + "graceful-fs" "^4.1.15" + "is-plain-obj" "^2.0.0" + "make-dir" "^3.0.0" + "sort-keys" "^4.0.0" + "write-file-atomic" "^3.0.0" + +"write-pkg@^4.0.0": + "integrity" "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==" + "resolved" "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "sort-keys" "^2.0.0" + "type-fest" "^0.4.1" + "write-json-file" "^3.2.0" + +"ws@*", "ws@^7": + "integrity" "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==" + "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz" + "version" "7.5.9" + +"ws@7.5.3": + "integrity" "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==" + "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz" + "version" "7.5.3" + +"xstream@^11.14.0": + "integrity" "sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw==" + "resolved" "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz" + "version" "11.14.0" + dependencies: + "globalthis" "^1.0.1" + "symbol-observable" "^2.0.3" + +"xtend@~4.0.1": + "integrity" "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + "resolved" "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" + "version" "4.0.2" + +"y18n@^5.0.5": + "integrity" "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + "resolved" "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" + "version" "5.0.8" + +"yallist@^3.0.0", "yallist@^3.1.1": + "integrity" "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + "resolved" "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" + "version" "3.1.1" + +"yallist@^4.0.0": + "integrity" "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "resolved" "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + "version" "4.0.0" + +"yaml@^1.10.0", "yaml@^1.7.2": + "integrity" "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + "resolved" "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" + "version" "1.10.2" + +"yargs-parser@^20.2.2", "yargs-parser@^20.2.3": + "integrity" "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" + "version" "20.2.9" + +"yargs-parser@^21.0.0": + "integrity" "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + "version" "21.1.1" + +"yargs-parser@^21.0.1": + "integrity" "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + "version" "21.1.1" + +"yargs-parser@20.2.4": + "integrity" "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" + "version" "20.2.4" + +"yargs@^16.2.0": + "integrity" "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" + "version" "16.2.0" + dependencies: + "cliui" "^7.0.2" + "escalade" "^3.1.1" + "get-caller-file" "^2.0.5" + "require-directory" "^2.1.1" + "string-width" "^4.2.0" + "y18n" "^5.0.5" + "yargs-parser" "^20.2.2" + +"yargs@^17.3.1": + "integrity" "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz" + "version" "17.5.1" + dependencies: + "cliui" "^7.0.2" + "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.0.0" + +"yocto-queue@^0.1.0": + "integrity" "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" + "resolved" "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" + "version" "0.1.0" From e66ffec20d3c9475d77a6c623f867061d4824770 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:47:31 -0500 Subject: [PATCH 081/262] pkg --- packages/create-cosmos-app/README.md | 24 +++++++++++++++--------- packages/create-cosmos-app/package.json | 15 ++++++--------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 2dbe183bc..1221fd0bb 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -32,31 +32,37 @@ Create a project, and you’re good to go. ## Creating an App To create a new app, you may choose one of the following methods: -### npx +### npm global (preferred method) + +if you installed it globally, you can do one of two methods: ```sh -npx create-cosmos-app my-app +create-cosmos-app +``` + +or, which we prefer, we made an alias to `cca` which is much easier to type: + +```sh +cca ``` -_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_ +### npx +```sh +npx create-cosmos-app my-app +``` ### npm ```sh npm init cosmos-app my-app ``` - -_`npm init ` is available in npm 6+_ - ### Yarn ```sh yarn create cosmos-app my-app ``` -_[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ - -It will create a directory called `my-app` inside the current folder.
+It will create a directory called `my-app` inside the current folder. ## Credits diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 382f095ad..241a35664 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,15 +1,15 @@ { "name": "create-cosmos-app", "version": "0.3.2", - "description": "create cosmos app", + "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", "license": "SEE LICENSE IN LICENSE", "main": "main/index.js", - "module": "module/index.js", "typings": "types/index.d.ts", "bin": { - "create-cosmos-app": "main/create-cosmos-app.js" + "create-cosmos-app": "main/create-cosmos-app.js", + "cca": "main/create-cosmos-app.js" }, "directories": { "lib": "src", @@ -17,13 +17,10 @@ }, "files": [ "types", - "main", - "module" + "main" ], "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": "npm run build:module && npm run build:main", + "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", "build:ts": "tsc --project ./tsconfig.json", "prepare": "npm run build", "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", @@ -90,4 +87,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} +} \ No newline at end of file From 1edb66cf118417a32638533b1756501f1b3c5dde Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:47:41 -0500 Subject: [PATCH 082/262] chore(release): publish - create-cosmos-app@0.4.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 6ce6ce728..031cdecb7 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.2...create-cosmos-app@0.4.0) (2022-09-22) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.3.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.1...create-cosmos-app@0.3.2) (2022-09-08) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 241a35664..8e04092a0 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.3.2", + "version": "0.4.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -87,4 +87,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} \ No newline at end of file +} From fdbb8540c8cb2e465e12a019443f0bab69ad11f3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:50:03 -0500 Subject: [PATCH 083/262] landing --- templates/connect-chain/pages/[chainName].tsx | 39 ++++++++----------- templates/connect-chain/pages/_app.tsx | 12 +++--- templates/connect-multi-chain/pages/_app.tsx | 12 +++--- templates/connect-multi-chain/pages/index.tsx | 34 +++++++--------- yarn.lock | 8 ++-- 5 files changed, 46 insertions(+), 59 deletions(-) diff --git a/templates/connect-chain/pages/[chainName].tsx b/templates/connect-chain/pages/[chainName].tsx index a0d6054f3..3b99eccd9 100644 --- a/templates/connect-chain/pages/[chainName].tsx +++ b/templates/connect-chain/pages/[chainName].tsx @@ -1,4 +1,4 @@ -import Head from "next/head"; +import Head from 'next/head'; import { Box, Divider, @@ -12,23 +12,18 @@ import { Flex, Icon, useColorMode, - useColorModeValue, -} from "@chakra-ui/react"; -import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { - Product, - Dependency, - WalletSection, -} from "../components"; -import { dependencies, products } from "../config"; -import { useRouter } from "next/router"; - + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { Product, Dependency, WalletSection } from '../components'; +import { dependencies, products } from '../config'; +import { useRouter } from 'next/router'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); const router = useRouter(); let { chainName } = router.query; - chainName = chainName ? chainName as string : undefined; + chainName = chainName ? (chainName as string) : undefined; return ( @@ -40,38 +35,38 @@ export default function Home() { - Cosmos Apps Made Easy + Create Cosmos App Welcome to  - CosmosKit + Telescope + Next.js + CosmosKit + Next.js ))} - + {dependencies.map((dependency) => ( ))} diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index bff476423..b1a0bd9bd 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -1,21 +1,19 @@ -import '../styles/globals.css' -import type { AppProps } from 'next/app' -import { WalletProvider } from '@cosmos-kit/react' +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; import { chains } from 'chain-registry'; - function MyApp({ Component, pageProps }: AppProps) { - return ( - ) + ); } -export default MyApp +export default MyApp; diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index bff476423..b1a0bd9bd 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -1,21 +1,19 @@ -import '../styles/globals.css' -import type { AppProps } from 'next/app' -import { WalletProvider } from '@cosmos-kit/react' +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; import { chains } from 'chain-registry'; - function MyApp({ Component, pageProps }: AppProps) { - return ( - ) + ); } -export default MyApp +export default MyApp; diff --git a/templates/connect-multi-chain/pages/index.tsx b/templates/connect-multi-chain/pages/index.tsx index e67901191..2c8e394ae 100644 --- a/templates/connect-multi-chain/pages/index.tsx +++ b/templates/connect-multi-chain/pages/index.tsx @@ -1,4 +1,4 @@ -import Head from "next/head"; +import Head from 'next/head'; import { Box, Divider, @@ -12,15 +12,11 @@ import { Flex, Icon, useColorMode, - useColorModeValue, -} from "@chakra-ui/react"; -import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { - Product, - Dependency, - WalletSection, -} from "../components"; -import { dependencies, products } from "../config"; + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { Product, Dependency, WalletSection } from '../components'; +import { dependencies, products } from '../config'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); @@ -35,38 +31,38 @@ export default function Home() { - Cosmos Apps Made Easy + Create Cosmos App Welcome to  - CosmosKit + Telescope + Next.js + CosmosKit + Next.js ))} - + {dependencies.map((dependency) => ( ))} diff --git a/yarn.lock b/yarn.lock index ecb63242a..befeda473 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3672,7 +3672,7 @@ "@cosmonauts/connect-chain-with-telescope-and-contracts@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope-with-contracts": "resolved" "file:examples/telescope-with-contracts" - "version" "0.2.0" + "version" "0.3.0" dependencies: "@chakra-ui/icons" "^2.0.10" "@chakra-ui/react" "^2.3.4" @@ -3692,7 +3692,7 @@ "@cosmonauts/connect-chain-with-telescope@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope": "resolved" "file:examples/telescope" - "version" "0.2.0" + "version" "0.3.0" dependencies: "@chakra-ui/icons" "^2.0.10" "@chakra-ui/react" "^2.3.4" @@ -3712,7 +3712,7 @@ "@cosmonauts/connect-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-chain": "resolved" "file:templates/connect-chain" - "version" "0.2.0" + "version" "0.3.0" dependencies: "@chakra-ui/icons" "2.0.10" "@chakra-ui/react" "2.3.4" @@ -3732,7 +3732,7 @@ "@cosmonauts/connect-multi-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-multi-chain": "resolved" "file:templates/connect-multi-chain" - "version" "0.2.0" + "version" "0.3.0" dependencies: "@chakra-ui/icons" "2.0.10" "@chakra-ui/react" "2.3.4" From db328c5188a49091d59eb08da030bc39f7c01521 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 10:50:10 -0500 Subject: [PATCH 084/262] chore(release): publish - @cosmonauts/connect-chain@0.4.0 - @cosmonauts/connect-multi-chain@0.4.0 --- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index a8a38868e..1cb3bec74 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index b9a1b5952..a00a030b4 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.3.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 91cd8bc5c..fb3c908fc 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.3.0...@cosmonauts/connect-multi-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.2.0...@cosmonauts/connect-multi-chain@0.3.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 849017372..8316f3533 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.3.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "next dev", From 4b281813727cecb3eb3da007699a169531bcde18 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 20:04:36 -0500 Subject: [PATCH 085/262] upgrades --- .../telescope-with-contracts/package.json | 2 +- examples/telescope/package.json | 2 +- templates/connect-chain/package.json | 6 +- templates/connect-multi-chain/package.json | 6 +- yarn.lock | 19407 ++++++++-------- 5 files changed, 9235 insertions(+), 10188 deletions(-) diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index cbf3864f2..b840ef9ad 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -14,7 +14,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.14.0", + "@cosmos-kit/react": "^0.16.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 9e4e77606..ff654c7a6 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -14,7 +14,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.14.0", + "@cosmos-kit/react": "^0.16.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index a00a030b4..156c6c611 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.14.0", - "@cosmos-kit/core": "0.14.0", - "@cosmos-kit/react": "0.14.0", + "@cosmos-kit/config": "0.16.0", + "@cosmos-kit/core": "0.16.0", + "@cosmos-kit/react": "0.16.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 8316f3533..b86b7343a 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.14.0", - "@cosmos-kit/core": "0.14.0", - "@cosmos-kit/react": "0.14.0", + "@cosmos-kit/config": "0.16.0", + "@cosmos-kit/core": "0.16.0", + "@cosmos-kit/react": "0.16.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/yarn.lock b/yarn.lock index befeda473..a68847341 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,141 +3,87 @@ "@ampproject/remapping@^2.1.0": - "integrity" "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==" - "resolved" "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" - "version" "2.2.0" + version "2.2.0" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== dependencies: "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" "@babel/cli@7.18.10": - "integrity" "sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw==" - "resolved" "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.18.10.tgz" + integrity sha512-dLvWH+ZDFAkd2jPBSghrsFBuXrREvFwjpDycXbmUoeochqKYe4zNSLEJYErpLg8dvxvZYe79/MkN461XCwpnGw== dependencies: "@jridgewell/trace-mapping" "^0.3.8" - "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" + 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" + chokidar "^3.4.0" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.8.3": - "integrity" "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==" - "resolved" "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== dependencies: "@babel/highlight" "^7.18.6" -"@babel/code-frame@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/highlight" "^7.10.4" - -"@babel/compat-data@^7.10.4", "@babel/compat-data@^7.9.6": - "version" "7.11.0" - dependencies: - "browserslist" "^4.12.0" - "invariant" "^2.2.4" - "semver" "^5.5.0" - -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": - "integrity" "sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg==" - "resolved" "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" - "version" "7.19.1" +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1", "@babel/compat-data@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" + integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== -"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.12.0", "@babel/core@^7.13.0", "@babel/core@^7.4.0-0", "@babel/core@^7.8.0", "@babel/core@>=7.0.0-beta.0 <8", "@babel/core@>=7.11.0", "@babel/core@7.18.13": - "integrity" "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==" - "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz" - "version" "7.18.13" +"@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" + integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.13" + "@babel/generator" "^7.18.10" "@babel/helper-compilation-targets" "^7.18.9" "@babel/helper-module-transforms" "^7.18.9" "@babel/helpers" "^7.18.9" - "@babel/parser" "^7.18.13" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.18.13" - "@babel/types" "^7.18.13" - "convert-source-map" "^1.7.0" - "debug" "^4.1.0" - "gensync" "^1.0.0-beta.2" - "json5" "^2.2.1" - "semver" "^6.3.0" - -"@babel/core@^7.11.6": - "integrity" "sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw==" - "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" - "version" "7.19.1" - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-compilation-targets" "^7.19.1" - "@babel/helper-module-transforms" "^7.19.0" - "@babel/helpers" "^7.19.0" - "@babel/parser" "^7.19.1" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.19.1" - "@babel/types" "^7.19.0" - "convert-source-map" "^1.7.0" - "debug" "^4.1.0" - "gensync" "^1.0.0-beta.2" - "json5" "^2.2.1" - "semver" "^6.3.0" - -"@babel/core@^7.12.3": - "integrity" "sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw==" - "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" - "version" "7.19.1" - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-compilation-targets" "^7.19.1" - "@babel/helper-module-transforms" "^7.19.0" - "@babel/helpers" "^7.19.0" - "@babel/parser" "^7.19.1" + "@babel/parser" "^7.18.10" "@babel/template" "^7.18.10" - "@babel/traverse" "^7.19.1" - "@babel/types" "^7.19.0" - "convert-source-map" "^1.7.0" - "debug" "^4.1.0" - "gensync" "^1.0.0-beta.2" - "json5" "^2.2.1" - "semver" "^6.3.0" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" -"@babel/core@7.18.10": - "integrity" "sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==" - "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" - "version" "7.18.10" +"@babel/core@7.18.13": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz" + integrity sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.10" + "@babel/generator" "^7.18.13" "@babel/helper-compilation-targets" "^7.18.9" "@babel/helper-module-transforms" "^7.18.9" "@babel/helpers" "^7.18.9" - "@babel/parser" "^7.18.10" + "@babel/parser" "^7.18.13" "@babel/template" "^7.18.10" - "@babel/traverse" "^7.18.10" - "@babel/types" "^7.18.10" - "convert-source-map" "^1.7.0" - "debug" "^4.1.0" - "gensync" "^1.0.0-beta.2" - "json5" "^2.2.1" - "semver" "^6.3.0" + "@babel/traverse" "^7.18.13" + "@babel/types" "^7.18.13" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" "@babel/core@7.9.6": - "integrity" "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==" - "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz" - "version" "7.9.6" + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz" + integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== dependencies: "@babel/code-frame" "^7.8.3" "@babel/generator" "^7.9.6" @@ -147,134 +93,101 @@ "@babel/template" "^7.8.6" "@babel/traverse" "^7.9.6" "@babel/types" "^7.9.6" - "convert-source-map" "^1.7.0" - "debug" "^4.1.0" - "gensync" "^1.0.0-beta.1" - "json5" "^2.1.2" - "lodash" "^4.17.13" - "resolve" "^1.3.2" - "semver" "^5.4.1" - "source-map" "^0.5.0" - -"@babel/eslint-parser@^7.18.2", "@babel/eslint-parser@^7.5.4": - "integrity" "sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==" - "resolved" "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz" - "version" "7.19.1" - dependencies: - "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" - "eslint-visitor-keys" "^2.1.0" - "semver" "^6.3.0" - -"@babel/generator@^7.11.5": - "version" "7.11.6" - dependencies: - "@babel/types" "^7.11.5" - "jsesc" "^2.5.1" - "source-map" "^0.5.0" - -"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.9.6": - "integrity" "sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==" - "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" - "version" "7.19.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/core@^7.11.6", "@babel/core@^7.12.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" + integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.1" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.1" "@babel/types" "^7.19.0" - "@jridgewell/gen-mapping" "^0.3.2" - "jsesc" "^2.5.1" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" -"@babel/generator@^7.18.6", "@babel/generator@^7.7.2": - "version" "7.18.9" - dependencies: - "@babel/types" "^7.18.9" - "@jridgewell/gen-mapping" "^0.3.2" - "jsesc" "^2.5.1" - -"@babel/generator@^7.18.9": - "version" "7.18.9" - dependencies: - "@babel/types" "^7.18.9" - "@jridgewell/gen-mapping" "^0.3.2" - "jsesc" "^2.5.1" - -"@babel/generator@^7.8.4": - "version" "7.8.4" +"@babel/eslint-parser@^7.18.2", "@babel/eslint-parser@^7.5.4": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz" + integrity sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ== dependencies: - "@babel/types" "^7.8.3" - "jsesc" "^2.5.1" - "lodash" "^4.17.13" - "source-map" "^0.5.0" + "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" + eslint-visitor-keys "^2.1.0" + semver "^6.3.0" "@babel/generator@7.18.12": - "integrity" "sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==" - "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz" - "version" "7.18.12" + version "7.18.12" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz" + integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== dependencies: "@babel/types" "^7.18.10" "@jridgewell/gen-mapping" "^0.3.2" - "jsesc" "^2.5.1" + jsesc "^2.5.1" "@babel/generator@7.18.13": - "integrity" "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==" - "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz" - "version" "7.18.13" + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz" + integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== dependencies: "@babel/types" "^7.18.13" "@jridgewell/gen-mapping" "^0.3.2" - "jsesc" "^2.5.1" + jsesc "^2.5.1" -"@babel/helper-annotate-as-pure@^7.10.4": - "version" "7.10.4" +"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2", "@babel/generator@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" + integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== dependencies: - "@babel/types" "^7.10.4" + "@babel/types" "^7.19.0" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" "@babel/helper-annotate-as-pure@^7.18.6": - "integrity" "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==" - "resolved" "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-annotate-as-pure@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": - "integrity" "sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==" - "resolved" "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz" + integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== dependencies: "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.6", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": - "integrity" "sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg==" - "resolved" "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" - "version" "7.19.1" +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" + integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== dependencies: "@babel/compat-data" "^7.19.1" "@babel/helper-validator-option" "^7.18.6" - "browserslist" "^4.21.3" - "semver" "^6.3.0" + browserslist "^4.21.3" + semver "^6.3.0" -"@babel/helper-compilation-targets@^7.9.6": - "version" "7.10.4" - dependencies: - "@babel/compat-data" "^7.10.4" - "browserslist" "^4.12.0" - "invariant" "^2.2.4" - "levenary" "^1.1.1" - "semver" "^5.5.0" - -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0": - "integrity" "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==" - "resolved" "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" - "version" "7.19.0" +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0", "@babel/helper-create-class-features-plugin@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" + integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" @@ -284,163 +197,71 @@ "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" -"@babel/helper-create-class-features-plugin@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - -"@babel/helper-create-regexp-features-plugin@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-regex" "^7.10.4" - "regexpu-core" "^4.7.0" - -"@babel/helper-create-regexp-features-plugin@^7.18.6": - "integrity" "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==" - "resolved" "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" - "version" "7.19.0" +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" + integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" - "regexpu-core" "^5.1.0" - -"@babel/helper-create-regexp-features-plugin@^7.19.0": - "integrity" "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==" - "resolved" "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" - "version" "7.19.0" - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "regexpu-core" "^5.1.0" - -"@babel/helper-create-regexp-features-plugin@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-regex" "^7.8.3" - "regexpu-core" "^4.6.0" + regexpu-core "^5.1.0" "@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": - "integrity" "sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==" - "resolved" "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz" - "version" "0.3.3" + version "0.3.3" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== dependencies: "@babel/helper-compilation-targets" "^7.17.7" "@babel/helper-plugin-utils" "^7.16.7" - "debug" "^4.1.1" - "lodash.debounce" "^4.0.8" - "resolve" "^1.14.2" - "semver" "^6.1.2" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" "@babel/helper-environment-visitor@^7.18.9": - "integrity" "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==" - "resolved" "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== "@babel/helper-explode-assignable-expression@^7.18.6": - "integrity" "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==" - "resolved" "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-explode-assignable-expression@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-function-name@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/helper-get-function-arity" "^7.10.4" - "@babel/template" "^7.10.4" - "@babel/types" "^7.10.4" - "@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": - "integrity" "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==" - "resolved" "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" - "version" "7.19.0" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== dependencies: "@babel/template" "^7.18.10" "@babel/types" "^7.19.0" -"@babel/helper-function-name@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-get-function-arity@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-hoist-variables@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/types" "^7.10.4" - "@babel/helper-hoist-variables@^7.18.6": - "integrity" "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==" - "resolved" "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-member-expression-to-functions@^7.10.4": - "version" "7.11.0" - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-member-expression-to-functions@^7.18.9": - "integrity" "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==" - "resolved" "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz" + integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== dependencies: "@babel/types" "^7.18.9" -"@babel/helper-member-expression-to-functions@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-imports@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/types" "^7.10.4" - -"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": - "integrity" "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==" - "resolved" "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" - "version" "7.18.6" +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-imports@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - -"@babel/helper-module-transforms@^7.10.4", "@babel/helper-module-transforms@^7.10.5": - "version" "7.11.0" - dependencies: - "@babel/helper-module-imports" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-simple-access" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/template" "^7.10.4" - "@babel/types" "^7.11.0" - "lodash" "^4.17.19" - "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0", "@babel/helper-module-transforms@^7.9.0": - "integrity" "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==" - "resolved" "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" - "version" "7.19.0" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" + integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" @@ -451,74 +272,32 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" -"@babel/helper-optimise-call-expression@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/types" "^7.10.4" - "@babel/helper-optimise-call-expression@^7.18.6": - "integrity" "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==" - "resolved" "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-optimise-call-expression@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - "integrity" "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==" - "resolved" "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" - "version" "7.19.0" - -"@babel/helper-regex@^7.10.4": - "version" "7.10.5" - dependencies: - "lodash" "^4.17.19" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== -"@babel/helper-remap-async-to-generator@^7.18.6": - "integrity" "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==" - "resolved" "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" - "version" "7.18.9" +"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" + integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-wrap-function" "^7.18.9" "@babel/types" "^7.18.9" -"@babel/helper-remap-async-to-generator@^7.18.9": - "integrity" "sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==" - "resolved" "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" - "version" "7.18.9" - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-wrap-function" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helper-remap-async-to-generator@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-replace-supers@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/helper-member-expression-to-functions" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/traverse" "^7.10.4" - "@babel/types" "^7.10.4" - "@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.18.9": - "integrity" "sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw==" - "resolved" "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz" - "version" "7.19.1" + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz" + integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-member-expression-to-functions" "^7.18.9" @@ -526,318 +305,211 @@ "@babel/traverse" "^7.19.1" "@babel/types" "^7.19.0" -"@babel/helper-replace-supers@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-simple-access@^7.10.4", "@babel/helper-simple-access@^7.18.6": - "integrity" "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==" - "resolved" "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz" - "version" "7.18.6" +"@babel/helper-simple-access@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz" + integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-skip-transparent-expression-wrappers@^7.11.0": - "version" "7.11.0" - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-skip-transparent-expression-wrappers@^7.18.9": - "integrity" "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==" - "resolved" "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" + integrity sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw== dependencies: "@babel/types" "^7.18.9" -"@babel/helper-split-export-declaration@^7.10.4", "@babel/helper-split-export-declaration@^7.11.0": - "version" "7.11.0" - dependencies: - "@babel/types" "^7.11.0" - "@babel/helper-split-export-declaration@^7.18.6": - "integrity" "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==" - "resolved" "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-split-export-declaration@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/types" "^7.8.3" - "@babel/helper-string-parser@^7.18.10": - "integrity" "sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==" - "resolved" "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" - "version" "7.18.10" - -"@babel/helper-validator-identifier@^7.10.4": - "version" "7.10.4" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" + integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== "@babel/helper-validator-identifier@^7.18.6": - "integrity" "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" - "resolved" "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" - "version" "7.19.1" + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== "@babel/helper-validator-option@^7.18.6": - "integrity" "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==" - "resolved" "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== "@babel/helper-wrap-function@^7.18.9": - "integrity" "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==" - "resolved" "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz" - "version" "7.19.0" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz" + integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== dependencies: "@babel/helper-function-name" "^7.19.0" "@babel/template" "^7.18.10" "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" -"@babel/helper-wrap-function@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helpers@^7.18.6", "@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": - "integrity" "sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==" - "resolved" "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" - "version" "7.19.0" +"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" + integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== dependencies: "@babel/template" "^7.18.10" "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" -"@babel/highlight@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - "chalk" "^2.0.0" - "js-tokens" "^4.0.0" - "@babel/highlight@^7.18.6": - "integrity" "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==" - "resolved" "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== dependencies: "@babel/helper-validator-identifier" "^7.18.6" - "chalk" "^2.0.0" - "js-tokens" "^4.0.0" - -"@babel/highlight@^7.8.3": - "version" "7.8.3" - dependencies: - "chalk" "^2.0.0" - "esutils" "^2.0.2" - "js-tokens" "^4.0.0" + chalk "^2.0.0" + js-tokens "^4.0.0" "@babel/node@^7.18.10": - "integrity" "sha512-gfxJNrawPso6kx7SwKfAdX1rEzVc09speJLFKrdxuZXGlve92pjbB3nJVmuwrxNN4+jvytj2zvliNXuW6uaSOw==" - "resolved" "https://registry.npmjs.org/@babel/node/-/node-7.19.1.tgz" - "version" "7.19.1" + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/node/-/node-7.19.1.tgz" + integrity sha512-gfxJNrawPso6kx7SwKfAdX1rEzVc09speJLFKrdxuZXGlve92pjbB3nJVmuwrxNN4+jvytj2zvliNXuW6uaSOw== dependencies: "@babel/register" "^7.18.9" - "commander" "^4.0.1" - "core-js" "^3.25.1" - "node-environment-flags" "^1.0.5" - "regenerator-runtime" "^0.13.4" - "v8flags" "^3.1.1" - -"@babel/parser@^7.1.0", "@babel/parser@^7.18.10", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": - "integrity" "sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A==" - "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" - "version" "7.19.1" - -"@babel/parser@^7.10.4", "@babel/parser@^7.11.5": - "version" "7.11.5" - -"@babel/parser@^7.14.7": - "version" "7.18.9" - -"@babel/parser@^7.18.11": - "integrity" "sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A==" - "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" - "version" "7.19.1" - -"@babel/parser@^7.18.6", "@babel/parser@^7.18.9": - "version" "7.18.9" - -"@babel/parser@^7.8.3", "@babel/parser@^7.8.4": - "version" "7.8.4" + commander "^4.0.1" + core-js "^3.25.1" + node-environment-flags "^1.0.5" + regenerator-runtime "^0.13.4" + v8flags "^3.1.1" "@babel/parser@7.18.11": - "integrity" "sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ==" - "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" - "version" "7.18.11" + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" + integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" + integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": - "integrity" "sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" + integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": - "integrity" "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz" + integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.10": - "integrity" "sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" - "version" "7.19.1" +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.8.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" + integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-async-generator-functions@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - -"@babel/plugin-proposal-class-properties@^7.18.6", "@babel/plugin-proposal-class-properties@7.18.6": - "integrity" "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-class-properties@7.8.3": - "integrity" "sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz" - "version" "7.8.3" + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz" + integrity sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA== dependencies: "@babel/helper-create-class-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-proposal-class-static-block@^7.18.6": - "integrity" "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" + integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-dynamic-import@^7.18.6": - "integrity" "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-dynamic-import@^7.18.6", "@babel/plugin-proposal-dynamic-import@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-dynamic-import@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-proposal-export-default-from@7.18.10": - "integrity" "sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz" + integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-default-from" "^7.18.6" "@babel/plugin-proposal-export-default-from@7.8.3": - "integrity" "sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz" - "version" "7.8.3" + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz" + integrity sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-export-default-from" "^7.8.3" "@babel/plugin-proposal-export-namespace-from@^7.18.9": - "integrity" "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.18.6": - "integrity" "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-json-strings@^7.18.6", "@babel/plugin-proposal-json-strings@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-proposal-logical-assignment-operators@^7.18.9": - "integrity" "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz" + integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": - "integrity" "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - -"@babel/plugin-proposal-numeric-separator@^7.18.6": - "integrity" "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-numeric-separator@^7.18.6", "@babel/plugin-proposal-numeric-separator@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-numeric-separator@^7.8.3": - "version" "7.10.4" - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@7.18.9": - "integrity" "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" - "version" "7.18.9" - dependencies: - "@babel/compat-data" "^7.18.8" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.18.8" - -"@babel/plugin-proposal-object-rest-spread@^7.9.6": - "integrity" "sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.9.6": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" + integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== dependencies: "@babel/compat-data" "^7.18.8" "@babel/helper-compilation-targets" "^7.18.9" @@ -846,332 +518,231 @@ "@babel/plugin-transform-parameters" "^7.18.8" "@babel/plugin-proposal-object-rest-spread@7.9.6": - "integrity" "sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz" - "version" "7.9.6" + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz" + integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.9.5" -"@babel/plugin-proposal-optional-catch-binding@^7.18.6": - "integrity" "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-optional-catch-binding@^7.18.6", "@babel/plugin-proposal-optional-catch-binding@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-catch-binding@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - -"@babel/plugin-proposal-optional-chaining@^7.18.9": - "integrity" "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.9.0": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" + integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== dependencies: "@babel/helper-plugin-utils" "^7.18.9" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.9.0": - "version" "7.11.0" - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-skip-transparent-expression-wrappers" "^7.11.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-proposal-private-methods@^7.18.6": - "integrity" "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== dependencies: "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-private-property-in-object@^7.18.6": - "integrity" "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz" + integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - "integrity" "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==" - "resolved" "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-unicode-property-regex@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-syntax-async-generators@^7.8.0": - "integrity" "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" - "version" "7.8.4" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-async-generators@^7.8.4": - "integrity" "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" - "version" "7.8.4" +"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-bigint@^7.8.3": - "integrity" "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" - "version" "7.8.3" + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": - "integrity" "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" - "version" "7.12.13" + version "7.12.13" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" "@babel/plugin-syntax-class-static-block@^7.14.5": - "integrity" "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" - "version" "7.14.5" + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-dynamic-import@^7.8.0": - "integrity" "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-dynamic-import@^7.8.3": - "integrity" "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" - "version" "7.8.3" +"@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.18.6": - "integrity" "sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-syntax-export-default-from@^7.18.6", "@babel/plugin-syntax-export-default-from@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" + integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-export-default-from@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from@^7.8.3": - "integrity" "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz" - "version" "7.8.3" + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-import-assertions@^7.18.6": - "integrity" "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz" + integrity sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-import-meta@^7.8.3": - "integrity" "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" - "version" "7.10.4" + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.8.0": - "integrity" "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-json-strings@^7.8.3": - "integrity" "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" - "version" "7.8.3" +"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.17.12": - "integrity" "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-syntax-jsx@^7.17.12", "@babel/plugin-syntax-jsx@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-jsx@^7.18.6": - "version" "7.10.4" - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": - "integrity" "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" - "version" "7.10.4" + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": - "integrity" "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - "integrity" "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" - "version" "7.8.3" +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": - "integrity" "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" - "version" "7.10.4" + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": - "integrity" "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.8.0": - "integrity" "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" - "version" "7.8.3" + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.3": - "integrity" "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" - "version" "7.8.3" +"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0": - "integrity" "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-chaining@^7.8.3": - "integrity" "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" - "version" "7.8.3" +"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-private-property-in-object@^7.14.5": - "integrity" "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" - "version" "7.14.5" + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": - "integrity" "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" - "version" "7.14.5" + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.18.6": - "integrity" "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" - "version" "7.18.6" - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-syntax-typescript@^7.7.2": - "integrity" "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-syntax-typescript@^7.18.6", "@babel/plugin-syntax-typescript@^7.7.2": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" + integrity sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.18.6": - "integrity" "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-arrow-functions@^7.18.6", "@babel/plugin-transform-arrow-functions@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" + integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-async-to-generator@^7.18.6": - "integrity" "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-async-to-generator@^7.18.6", "@babel/plugin-transform-async-to-generator@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" + integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== dependencies: "@babel/helper-module-imports" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-remap-async-to-generator" "^7.18.6" -"@babel/plugin-transform-async-to-generator@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" - -"@babel/plugin-transform-block-scoped-functions@^7.18.6": - "integrity" "sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-block-scoped-functions@^7.18.6", "@babel/plugin-transform-block-scoped-functions@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" + integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoped-functions@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-block-scoping@^7.18.9": - "integrity" "sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-block-scoping@^7.18.9", "@babel/plugin-transform-block-scoping@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" + integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-block-scoping@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "lodash" "^4.17.13" - -"@babel/plugin-transform-classes@^7.18.9": - "integrity" "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" - "version" "7.19.0" +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.9.5": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" + integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-compilation-targets" "^7.19.0" @@ -1181,292 +752,182 @@ "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-replace-supers" "^7.18.9" "@babel/helper-split-export-declaration" "^7.18.6" - "globals" "^11.1.0" + globals "^11.1.0" -"@babel/plugin-transform-classes@^7.9.5": - "version" "7.10.4" - dependencies: - "@babel/helper-annotate-as-pure" "^7.10.4" - "@babel/helper-define-map" "^7.10.4" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-optimise-call-expression" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-replace-supers" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.10.4" - "globals" "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.18.9": - "integrity" "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-computed-properties@^7.18.9", "@babel/plugin-transform-computed-properties@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" + integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-computed-properties@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-destructuring@^7.18.9": - "integrity" "sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" - "version" "7.18.13" +"@babel/plugin-transform-destructuring@^7.18.9", "@babel/plugin-transform-destructuring@^7.9.5": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" + integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.9.5": - "version" "7.10.4" - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": - "integrity" "sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" + integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-dotall-regex@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-duplicate-keys@^7.18.9": - "integrity" "sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-duplicate-keys@^7.18.9", "@babel/plugin-transform-duplicate-keys@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" + integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-duplicate-keys@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-exponentiation-operator@^7.18.6": - "integrity" "sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-exponentiation-operator@^7.18.6", "@babel/plugin-transform-exponentiation-operator@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" + integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== dependencies: "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-exponentiation-operator@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-for-of@^7.18.8": - "integrity" "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" - "version" "7.18.8" +"@babel/plugin-transform-for-of@^7.18.8", "@babel/plugin-transform-for-of@^7.9.0": + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" + integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-for-of@^7.9.0": - "version" "7.10.4" - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-function-name@^7.18.9": - "integrity" "sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-function-name@^7.18.9", "@babel/plugin-transform-function-name@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" + integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== dependencies: "@babel/helper-compilation-targets" "^7.18.9" "@babel/helper-function-name" "^7.18.9" "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-function-name@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-literals@^7.18.9": - "integrity" "sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-literals@^7.18.9", "@babel/plugin-transform-literals@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" + integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-literals@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-member-expression-literals@^7.18.6": - "integrity" "sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-member-expression-literals@^7.18.6", "@babel/plugin-transform-member-expression-literals@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" + integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-member-expression-literals@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-modules-amd@^7.18.6": - "integrity" "sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-modules-amd@^7.18.6", "@babel/plugin-transform-modules-amd@^7.9.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" + integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" - "babel-plugin-dynamic-import-node" "^2.3.3" - -"@babel/plugin-transform-modules-amd@^7.9.6": - "version" "7.10.5" - dependencies: - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helper-plugin-utils" "^7.10.4" - "babel-plugin-dynamic-import-node" "^2.3.3" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.18.6": - "integrity" "sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-modules-commonjs@^7.18.6", "@babel/plugin-transform-modules-commonjs@^7.9.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" + integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-simple-access" "^7.18.6" - "babel-plugin-dynamic-import-node" "^2.3.3" - -"@babel/plugin-transform-modules-commonjs@^7.9.6": - "version" "7.10.4" - dependencies: - "@babel/helper-module-transforms" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/helper-simple-access" "^7.10.4" - "babel-plugin-dynamic-import-node" "^2.3.3" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.18.9": - "integrity" "sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" - "version" "7.19.0" +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" + integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== dependencies: "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-module-transforms" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-validator-identifier" "^7.18.6" - "babel-plugin-dynamic-import-node" "^2.3.3" + babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.6": - "version" "7.10.5" - dependencies: - "@babel/helper-hoist-variables" "^7.10.4" - "@babel/helper-module-transforms" "^7.10.5" - "@babel/helper-plugin-utils" "^7.10.4" - "babel-plugin-dynamic-import-node" "^2.3.3" - -"@babel/plugin-transform-modules-umd@^7.18.6": - "integrity" "sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-modules-umd@^7.18.6", "@babel/plugin-transform-modules-umd@^7.9.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" + integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== dependencies: "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-umd@^7.9.0": - "version" "7.10.4" - dependencies: - "@babel/helper-module-transforms" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6": - "integrity" "sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" - "version" "7.19.1" +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" + integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - -"@babel/plugin-transform-new-target@^7.18.6": - "integrity" "sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-new-target@^7.18.6", "@babel/plugin-transform-new-target@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" + integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-new-target@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-object-super@^7.18.6": - "integrity" "sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-object-super@^7.18.6", "@babel/plugin-transform-object-super@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" + integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-object-super@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" - "@babel/plugin-transform-parameters@^7.18.8", "@babel/plugin-transform-parameters@^7.9.5": - "integrity" "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" - "version" "7.18.8" + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" + integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.18.6": - "integrity" "sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-property-literals@^7.18.6", "@babel/plugin-transform-property-literals@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" + integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-react-display-name@^7.8.3": - "integrity" "sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz" + integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-development@^7.9.0": - "integrity" "sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz" + integrity sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA== dependencies: "@babel/plugin-transform-react-jsx" "^7.18.6" "@babel/plugin-transform-react-jsx-self@^7.9.0": - "integrity" "sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz" + integrity sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx-source@^7.9.0": - "integrity" "sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz" + integrity sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-transform-react-jsx@^7.18.6", "@babel/plugin-transform-react-jsx@^7.9.4": - "integrity" "sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz" - "version" "7.19.0" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz" + integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" "@babel/helper-module-imports" "^7.18.6" @@ -1474,150 +935,107 @@ "@babel/plugin-syntax-jsx" "^7.18.6" "@babel/types" "^7.19.0" -"@babel/plugin-transform-regenerator@^7.18.6": - "integrity" "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-regenerator@^7.18.6", "@babel/plugin-transform-regenerator@^7.8.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" + integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" - "regenerator-transform" "^0.15.0" + regenerator-transform "^0.15.0" -"@babel/plugin-transform-regenerator@^7.8.7": - "version" "7.10.4" - dependencies: - "regenerator-transform" "^0.14.2" - -"@babel/plugin-transform-reserved-words@^7.18.6": - "integrity" "sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-reserved-words@^7.18.6", "@babel/plugin-transform-reserved-words@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" + integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-reserved-words@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-runtime@7.18.10": - "integrity" "sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz" + integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== dependencies: "@babel/helper-module-imports" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.9" - "babel-plugin-polyfill-corejs2" "^0.3.2" - "babel-plugin-polyfill-corejs3" "^0.5.3" - "babel-plugin-polyfill-regenerator" "^0.4.0" - "semver" "^6.3.0" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + semver "^6.3.0" "@babel/plugin-transform-runtime@7.9.6": - "integrity" "sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz" - "version" "7.9.6" + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz" + integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== dependencies: "@babel/helper-module-imports" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" - "resolve" "^1.8.1" - "semver" "^5.5.1" + resolve "^1.8.1" + semver "^5.5.1" -"@babel/plugin-transform-shorthand-properties@^7.18.6": - "integrity" "sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-shorthand-properties@^7.18.6", "@babel/plugin-transform-shorthand-properties@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" + integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-shorthand-properties@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-spread@^7.18.9": - "integrity" "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" - "version" "7.19.0" +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" + integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== dependencies: "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" -"@babel/plugin-transform-spread@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-sticky-regex@^7.18.6": - "integrity" "sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-sticky-regex@^7.18.6", "@babel/plugin-transform-sticky-regex@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" + integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-sticky-regex@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" - -"@babel/plugin-transform-template-literals@^7.18.9": - "integrity" "sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-template-literals@^7.18.9", "@babel/plugin-transform-template-literals@^7.8.3": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" + integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-template-literals@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-transform-typeof-symbol@^7.18.9": - "integrity" "sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" - "version" "7.18.9" +"@babel/plugin-transform-typeof-symbol@^7.18.9", "@babel/plugin-transform-typeof-symbol@^7.8.4": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" + integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typeof-symbol@^7.8.4": - "version" "7.8.4" - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typescript@^7.18.6": - "integrity" "sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz" - "version" "7.19.1" + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz" + integrity sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ== dependencies: "@babel/helper-create-class-features-plugin" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-typescript" "^7.18.6" "@babel/plugin-transform-unicode-escapes@^7.18.10": - "integrity" "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-regex@^7.18.6": - "integrity" "sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==" - "resolved" "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" - "version" "7.18.6" +"@babel/plugin-transform-unicode-regex@^7.18.6", "@babel/plugin-transform-unicode-regex@^7.8.3": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" + integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== dependencies: "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-unicode-regex@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/preset-env@7.18.10": - "integrity" "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==" - "resolved" "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz" + integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== dependencies: "@babel/compat-data" "^7.18.8" "@babel/helper-compilation-targets" "^7.18.9" @@ -1689,16 +1107,16 @@ "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" "@babel/types" "^7.18.10" - "babel-plugin-polyfill-corejs2" "^0.3.2" - "babel-plugin-polyfill-corejs3" "^0.5.3" - "babel-plugin-polyfill-regenerator" "^0.4.0" - "core-js-compat" "^3.22.1" - "semver" "^6.3.0" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + core-js-compat "^3.22.1" + semver "^6.3.0" "@babel/preset-env@7.9.6": - "integrity" "sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ==" - "resolved" "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz" - "version" "7.9.6" + version "7.9.6" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz" + integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== dependencies: "@babel/compat-data" "^7.9.6" "@babel/helper-compilation-targets" "^7.9.6" @@ -1755,36 +1173,27 @@ "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" "@babel/types" "^7.9.6" - "browserslist" "^4.11.1" - "core-js-compat" "^3.6.2" - "invariant" "^2.2.2" - "levenary" "^1.1.1" - "semver" "^5.5.0" - -"@babel/preset-modules@^0.1.3": - "version" "0.1.4" - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/types" "^7.4.4" - "esutils" "^2.0.2" + browserslist "^4.11.1" + core-js-compat "^3.6.2" + invariant "^2.2.2" + levenary "^1.1.1" + semver "^5.5.0" -"@babel/preset-modules@^0.1.5": - "integrity" "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==" - "resolved" "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" - "version" "0.1.5" +"@babel/preset-modules@^0.1.3", "@babel/preset-modules@^0.1.5": + version "0.1.5" + resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" + integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" "@babel/plugin-transform-dotall-regex" "^7.4.4" "@babel/types" "^7.4.4" - "esutils" "^2.0.2" + esutils "^2.0.2" "@babel/preset-react@7.9.4": - "integrity" "sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ==" - "resolved" "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.9.4.tgz" - "version" "7.9.4" + version "7.9.4" + resolved "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.9.4.tgz" + integrity sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-react-display-name" "^7.8.3" @@ -1794,139 +1203,53 @@ "@babel/plugin-transform-react-jsx-source" "^7.9.0" "@babel/preset-typescript@^7.16.7", "@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": - "integrity" "sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==" - "resolved" "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz" - "version" "7.18.6" + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz" + integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-transform-typescript" "^7.18.6" "@babel/register@^7.18.9": - "integrity" "sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw==" - "resolved" "https://registry.npmjs.org/@babel/register/-/register-7.18.9.tgz" - "version" "7.18.9" + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/register/-/register-7.18.9.tgz" + integrity sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw== 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" + 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/runtime-corejs3@^7.10.2": - "integrity" "sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g==" - "resolved" "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz" - "version" "7.19.1" + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz" + integrity sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g== dependencies: - "core-js-pure" "^3.25.1" - "regenerator-runtime" "^0.13.4" + core-js-pure "^3.25.1" + regenerator-runtime "^0.13.4" "@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": - "integrity" "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==" - "resolved" "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" - "version" "7.19.0" + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== dependencies: - "regenerator-runtime" "^0.13.4" + regenerator-runtime "^0.13.4" -"@babel/template@^7.10.4": - "version" "7.10.4" - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/parser" "^7.10.4" - "@babel/types" "^7.10.4" - -"@babel/template@^7.18.10", "@babel/template@^7.18.6", "@babel/template@^7.3.3", "@babel/template@^7.8.6": - "integrity" "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==" - "resolved" "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" - "version" "7.18.10" +"@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" + integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== dependencies: "@babel/code-frame" "^7.18.6" "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/template@^7.8.3": - "version" "7.8.3" - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/parser" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/traverse@^7.10.4": - "version" "7.11.5" - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.11.5" - "@babel/helper-function-name" "^7.10.4" - "@babel/helper-split-export-declaration" "^7.11.0" - "@babel/parser" "^7.11.5" - "@babel/types" "^7.11.5" - "debug" "^4.1.0" - "globals" "^11.1.0" - "lodash" "^4.17.19" - -"@babel/traverse@^7.18.10": - "integrity" "sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA==" - "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" - "version" "7.19.1" - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.19.1" - "@babel/types" "^7.19.0" - "debug" "^4.1.0" - "globals" "^11.1.0" - -"@babel/traverse@^7.18.13", "@babel/traverse@^7.18.6", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": - "integrity" "sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA==" - "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" - "version" "7.19.1" - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.19.0" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.19.1" - "@babel/types" "^7.19.0" - "debug" "^4.1.0" - "globals" "^11.1.0" - -"@babel/traverse@^7.18.9": - "version" "7.18.9" - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.9" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.18.9" - "@babel/types" "^7.18.9" - "debug" "^4.1.0" - "globals" "^11.1.0" - -"@babel/traverse@^7.8.3": - "version" "7.8.4" - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.8.4" - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-split-export-declaration" "^7.8.3" - "@babel/parser" "^7.8.4" - "@babel/types" "^7.8.3" - "debug" "^4.1.0" - "globals" "^11.1.0" - "lodash" "^4.17.13" - "@babel/traverse@7.18.11": - "integrity" "sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ==" - "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz" - "version" "7.18.11" + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz" + integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== dependencies: "@babel/code-frame" "^7.18.6" "@babel/generator" "^7.18.10" @@ -1936,13 +1259,13 @@ "@babel/helper-split-export-declaration" "^7.18.6" "@babel/parser" "^7.18.11" "@babel/types" "^7.18.10" - "debug" "^4.1.0" - "globals" "^11.1.0" + debug "^4.1.0" + globals "^11.1.0" "@babel/traverse@7.18.13": - "integrity" "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==" - "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz" - "version" "7.18.13" + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz" + integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== dependencies: "@babel/code-frame" "^7.18.6" "@babel/generator" "^7.18.13" @@ -1952,77 +1275,70 @@ "@babel/helper-split-export-declaration" "^7.18.6" "@babel/parser" "^7.18.13" "@babel/types" "^7.18.13" - "debug" "^4.1.0" - "globals" "^11.1.0" + debug "^4.1.0" + globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": - "integrity" "sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==" - "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" - "version" "7.19.0" +"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" + integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== dependencies: - "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" - "to-fast-properties" "^2.0.0" - -"@babel/types@^7.10.4", "@babel/types@^7.11.0", "@babel/types@^7.11.5": - "version" "7.11.5" - dependencies: - "@babel/helper-validator-identifier" "^7.10.4" - "lodash" "^4.17.19" - "to-fast-properties" "^2.0.0" - -"@babel/types@^7.8.3": - "version" "7.8.3" - dependencies: - "esutils" "^2.0.2" - "lodash" "^4.17.13" - "to-fast-properties" "^2.0.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" + debug "^4.1.0" + globals "^11.1.0" "@babel/types@7.18.10": - "integrity" "sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==" - "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" - "version" "7.18.10" + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" + integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" - "to-fast-properties" "^2.0.0" + to-fast-properties "^2.0.0" "@babel/types@7.18.13": - "integrity" "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==" - "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz" - "version" "7.18.13" + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz" + integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" - "to-fast-properties" "^2.0.0" + to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": - "integrity" "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" - "resolved" "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" - "version" "0.2.3" + version "0.2.3" + resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== "@chain-registry/types@^0.11.0": - "integrity" "sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q==" - "resolved" "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz" - "version" "0.11.0" + version "0.11.0" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz" + integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== dependencies: "@babel/runtime" "^7.19.0" "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" -"@chain-registry/types@^0.7.0", "@chain-registry/types@^0.7.1": - "integrity" "sha512-KJpW4CnUEDyVFUigKrTMdEWJhTFPmPk1gFY/SLuaoHXfNYLSMAS3UJJtWUqiVaEwxAgyeilSgoNkuB5EaW5KaQ==" - "resolved" "https://registry.npmjs.org/@chain-registry/types/-/types-0.7.1.tgz" - "version" "0.7.1" - dependencies: - "@babel/runtime" "^7.18.3" - "@keplr-wallet/cosmos" "^0.10.3" - "@keplr-wallet/crypto" "^0.10.11" - "@chakra-ui/accordion@2.0.12": - "integrity" "sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz" - "version" "2.0.12" + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz" + integrity sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ== dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/icon" "3.0.9" @@ -2032,9 +1348,9 @@ "@chakra-ui/transition" "2.0.9" "@chakra-ui/accordion@2.1.0": - "integrity" "sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz" + integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/icon" "3.0.10" @@ -2043,74 +1359,73 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/alert@2.0.10", "@chakra-ui/alert@2.0.8": - "version" "2.0.8" +"@chakra-ui/alert@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" + integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-context" "2.0.2" - "@chakra-ui/spinner" "2.0.8" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/spinner" "2.0.9" "@chakra-ui/alert@2.0.9": - "integrity" "sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz" + integrity sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw== dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/spinner" "2.0.9" -"@chakra-ui/anatomy@2.0.4": - "version" "2.0.4" - "@chakra-ui/anatomy@2.0.6": - "integrity" "sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz" - "version" "2.0.6" + version "2.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz" + integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== "@chakra-ui/avatar@2.1.0": - "integrity" "sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz" + integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== dependencies: "@chakra-ui/image" "2.0.10" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/breadcrumb@2.0.9": - "integrity" "sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w==" - "resolved" "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz" + integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== dependencies: "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/breakpoint-utils@2.0.3": - "integrity" "sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz" + integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== "@chakra-ui/button@2.0.10": - "integrity" "sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz" + integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" "@chakra-ui/button@2.0.9": - "integrity" "sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz" + integrity sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/spinner" "2.0.9" "@chakra-ui/checkbox@2.1.8": - "integrity" "sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz" - "version" "2.1.8" + version "2.1.8" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz" + integrity sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q== dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/react-context" "2.0.3" @@ -2124,9 +1439,9 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/checkbox@2.2.0": - "integrity" "sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz" - "version" "2.2.0" + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz" + integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/react-context" "2.0.3" @@ -2139,104 +1454,81 @@ "@chakra-ui/visually-hidden" "2.0.10" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/clickable@2.0.8": - "version" "2.0.8" - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/clickable@2.0.9": - "integrity" "sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz" + integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== dependencies: "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/close-button@2.0.10": - "integrity" "sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A==" - "resolved" "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz" + integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== dependencies: "@chakra-ui/icon" "3.0.10" -"@chakra-ui/close-button@2.0.8": - "version" "2.0.8" - dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/close-button@2.0.9": - "integrity" "sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w==" - "resolved" "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz" + integrity sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w== dependencies: "@chakra-ui/icon" "3.0.9" -"@chakra-ui/color-mode@2.1.6": - "version" "2.1.6" - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/color-mode@2.1.7": - "integrity" "sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w==" - "resolved" "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz" - "version" "2.1.7" + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz" + integrity sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w== dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/color-mode@2.1.8": - "integrity" "sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz" - "version" "2.1.8" + version "2.1.8" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz" + integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/control-box@2.0.9": - "integrity" "sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g==" - "resolved" "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz" + integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== "@chakra-ui/counter@2.0.9": - "integrity" "sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz" + integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/css-reset@2.0.7": - "integrity" "sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz" - "version" "2.0.7" - -"@chakra-ui/descendant@3.0.7": - "version" "3.0.7" - dependencies: - "@chakra-ui/react-utils" "2.0.5" + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz" + integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== "@chakra-ui/descendant@3.0.9": - "integrity" "sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w==" - "resolved" "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz" - "version" "3.0.9" + version "3.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz" + integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/dom-utils@2.0.1": - "integrity" "sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz" + integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== "@chakra-ui/dom-utils@2.0.2": - "integrity" "sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew==" - "resolved" "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz" - "version" "2.0.2" + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz" + integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== "@chakra-ui/editable@2.0.11": - "integrity" "sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz" + integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" @@ -2249,9 +1541,9 @@ "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/editable@2.0.9": - "integrity" "sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz" + integrity sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" @@ -2262,52 +1554,41 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/event-utils@2.0.2": - "version" "2.0.2" - "@chakra-ui/event-utils@2.0.4": - "integrity" "sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz" + integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== "@chakra-ui/focus-lock@2.0.10": - "integrity" "sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz" + integrity sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw== dependencies: "@chakra-ui/dom-utils" "2.0.1" - "react-focus-lock" "^2.9.1" + react-focus-lock "^2.9.1" "@chakra-ui/focus-lock@2.0.11": - "integrity" "sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz" + integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== dependencies: "@chakra-ui/dom-utils" "2.0.2" - "react-focus-lock" "^2.9.1" + react-focus-lock "^2.9.1" -"@chakra-ui/form-control@^2.0.0", "@chakra-ui/form-control@2.0.10": - "integrity" "sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz" - "version" "2.0.10" +"@chakra-ui/form-control@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz" + integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/form-control@2.0.8": - "version" "2.0.8" - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/form-control@2.0.9": - "integrity" "sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz" + integrity sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw== dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" @@ -2315,76 +1596,57 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/hooks@2.0.10": - "integrity" "sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz" + integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== dependencies: "@chakra-ui/react-utils" "2.0.7" "@chakra-ui/utils" "2.0.10" - "compute-scroll-into-view" "1.0.14" - "copy-to-clipboard" "3.3.1" - -"@chakra-ui/hooks@2.0.8": - "version" "2.0.9" - dependencies: - "@chakra-ui/react-utils" "2.0.6" - "@chakra-ui/utils" "2.0.9" - "compute-scroll-into-view" "1.0.14" - "copy-to-clipboard" "3.3.1" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" "@chakra-ui/hooks@2.0.9": - "integrity" "sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz" + integrity sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg== dependencies: "@chakra-ui/react-utils" "2.0.6" "@chakra-ui/utils" "2.0.9" - "compute-scroll-into-view" "1.0.14" - "copy-to-clipboard" "3.3.1" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" -"@chakra-ui/icon@^3.0.0", "@chakra-ui/icon@3.0.10": - "integrity" "sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz" - "version" "3.0.10" +"@chakra-ui/icon@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz" + integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== dependencies: "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/icon@3.0.8": - "version" "3.0.8" - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/icon@3.0.9": - "integrity" "sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz" - "version" "3.0.9" + version "3.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz" + integrity sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA== dependencies: "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/icons@^2.0.10", "@chakra-ui/icons@2.0.10": - "integrity" "sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz" - "version" "2.0.10" +"@chakra-ui/icons@2.0.10", "@chakra-ui/icons@^2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz" + integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/image@2.0.10": - "integrity" "sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz" + integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.1" -"@chakra-ui/image@2.0.9": - "version" "2.0.9" - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/input@2.0.10": - "integrity" "sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz" + integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/object-utils" "2.0.3" @@ -2393,9 +1655,9 @@ "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/input@2.0.9": - "integrity" "sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz" + integrity sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw== dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/object-utils" "2.0.3" @@ -2403,60 +1665,60 @@ "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/layout@^2.0.0", "@chakra-ui/layout@2.1.7": - "integrity" "sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz" - "version" "2.1.7" +"@chakra-ui/layout@2.1.6": + version "2.1.6" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz" + integrity sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww== dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.10" + "@chakra-ui/icon" "3.0.9" "@chakra-ui/object-utils" "2.0.3" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" -"@chakra-ui/layout@2.1.6": - "integrity" "sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww==" - "resolved" "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz" - "version" "2.1.6" +"@chakra-ui/layout@2.1.7": + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz" + integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.9" + "@chakra-ui/icon" "3.0.10" "@chakra-ui/object-utils" "2.0.3" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/shared-utils" "2.0.1" "@chakra-ui/lazy-utils@2.0.1": - "integrity" "sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz" + integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== "@chakra-ui/live-region@2.0.9": - "integrity" "sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz" + integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== "@chakra-ui/media-query@3.2.5": - "integrity" "sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz" - "version" "3.2.5" + version "3.2.5" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz" + integrity sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg== dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" "@chakra-ui/media-query@3.2.6": - "integrity" "sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow==" - "resolved" "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz" - "version" "3.2.6" + version "3.2.6" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz" + integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== dependencies: "@chakra-ui/breakpoint-utils" "2.0.3" "@chakra-ui/react-env" "2.0.9" -"@chakra-ui/menu@^2.0.0", "@chakra-ui/menu@2.1.0": - "integrity" "sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz" - "version" "2.1.0" +"@chakra-ui/menu@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz" + integrity sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA== dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -2464,19 +1726,19 @@ "@chakra-ui/popper" "3.0.7" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.3" + "@chakra-ui/react-use-focus-effect" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-outside-click" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" -"@chakra-ui/menu@2.0.13": - "integrity" "sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz" - "version" "2.0.13" +"@chakra-ui/menu@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz" + integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -2484,19 +1746,19 @@ "@chakra-ui/popper" "3.0.7" "@chakra-ui/react-children-utils" "2.0.1" "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.3" - "@chakra-ui/react-use-focus-effect" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/react-use-outside-click" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/transition" "2.0.9" "@chakra-ui/modal@2.1.7": - "integrity" "sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz" - "version" "2.1.7" + version "2.1.7" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz" + integrity sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw== dependencies: "@chakra-ui/close-button" "2.0.9" "@chakra-ui/focus-lock" "2.0.10" @@ -2505,13 +1767,13 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" - "aria-hidden" "^1.1.1" - "react-remove-scroll" "^2.5.4" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" "@chakra-ui/modal@2.2.0": - "integrity" "sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz" - "version" "2.2.0" + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz" + integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== dependencies: "@chakra-ui/close-button" "2.0.10" "@chakra-ui/focus-lock" "2.0.11" @@ -2520,13 +1782,13 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition" "2.0.9" - "aria-hidden" "^1.1.1" - "react-remove-scroll" "^2.5.4" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" "@chakra-ui/number-input@2.0.11": - "integrity" "sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz" + integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== dependencies: "@chakra-ui/counter" "2.0.9" "@chakra-ui/form-control" "2.0.10" @@ -2541,9 +1803,9 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/number-input@2.0.9": - "integrity" "sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz" + integrity sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ== dependencies: "@chakra-ui/counter" "2.0.9" "@chakra-ui/form-control" "2.0.9" @@ -2558,19 +1820,19 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/number-utils@2.0.3": - "integrity" "sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz" + integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== "@chakra-ui/object-utils@2.0.3": - "integrity" "sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g==" - "resolved" "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz" + integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== "@chakra-ui/pin-input@2.0.12": - "integrity" "sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz" - "version" "2.0.12" + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz" + integrity sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw== dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/react-children-utils" "2.0.1" @@ -2579,9 +1841,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/pin-input@2.0.13": - "integrity" "sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz" - "version" "2.0.13" + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz" + integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== dependencies: "@chakra-ui/descendant" "3.0.9" "@chakra-ui/react-children-utils" "2.0.1" @@ -2590,9 +1852,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popover@2.0.9": - "integrity" "sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz" + integrity sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg== dependencies: "@chakra-ui/close-button" "2.0.9" "@chakra-ui/hooks" "2.0.9" @@ -2604,9 +1866,9 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/popover@2.1.0": - "integrity" "sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz" + integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== dependencies: "@chakra-ui/close-button" "2.0.10" "@chakra-ui/lazy-utils" "2.0.1" @@ -2619,47 +1881,34 @@ "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" "@chakra-ui/react-use-merge-refs" "2.0.3" -"@chakra-ui/popper@3.0.6": - "version" "3.0.6" - dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@popperjs/core" "^2.9.3" - "@chakra-ui/popper@3.0.7": - "integrity" "sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz" - "version" "3.0.7" + version "3.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz" + integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== dependencies: "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.3" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.8": - "version" "2.0.8" - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/portal@2.0.9": - "integrity" "sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz" + integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/progress@2.0.10": - "integrity" "sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz" + integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/provider@2.0.16": - "integrity" "sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w==" - "resolved" "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz" - "version" "2.0.16" + version "2.0.16" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz" + integrity sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w== dependencies: "@chakra-ui/css-reset" "2.0.7" "@chakra-ui/portal" "2.0.9" @@ -2668,9 +1917,9 @@ "@chakra-ui/utils" "2.0.9" "@chakra-ui/provider@2.0.18": - "integrity" "sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz" - "version" "2.0.18" + version "2.0.18" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz" + integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== dependencies: "@chakra-ui/css-reset" "2.0.7" "@chakra-ui/portal" "2.0.9" @@ -2679,9 +1928,9 @@ "@chakra-ui/utils" "2.0.10" "@chakra-ui/radio@2.0.10": - "integrity" "sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz" + integrity sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA== dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/react-context" "2.0.3" @@ -2690,9 +1939,9 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/radio@2.0.11": - "integrity" "sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz" + integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/react-context" "2.0.3" @@ -2701,190 +1950,240 @@ "@zag-js/focus-visible" "0.1.0" "@chakra-ui/react-children-utils@2.0.1": - "integrity" "sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz" - "version" "2.0.1" - -"@chakra-ui/react-context@2.0.2": - "version" "2.0.2" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz" + integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== "@chakra-ui/react-context@2.0.3": - "integrity" "sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz" + integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== "@chakra-ui/react-env@2.0.9": - "integrity" "sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz" + integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== "@chakra-ui/react-types@2.0.3": - "integrity" "sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== "@chakra-ui/react-use-animation-state@2.0.3": - "integrity" "sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz" + integrity sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ== dependencies: "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-animation-state@2.0.4": - "integrity" "sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz" + integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== dependencies: "@chakra-ui/dom-utils" "2.0.2" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-callback-ref@2.0.3": - "integrity" "sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz" + integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== "@chakra-ui/react-use-controllable-state@2.0.3": - "integrity" "sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz" + integrity sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-controllable-state@2.0.4": - "integrity" "sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz" + integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-disclosure@2.0.3": - "integrity" "sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz" + integrity sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-disclosure@2.0.4": - "integrity" "sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz" + integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-event-listener@2.0.3": - "integrity" "sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz" + integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-focus-effect@2.0.3": - "integrity" "sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz" + integrity sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA== dependencies: "@chakra-ui/dom-utils" "2.0.1" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/react-use-focus-effect@2.0.4": - "integrity" "sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz" + integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== dependencies: "@chakra-ui/dom-utils" "2.0.2" "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/react-use-focus-on-pointer-down@2.0.1": - "integrity" "sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz" + integrity sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA== dependencies: "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-focus-on-pointer-down@2.0.2": - "integrity" "sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz" - "version" "2.0.2" + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz" + integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== dependencies: "@chakra-ui/react-use-event-listener" "2.0.3" "@chakra-ui/react-use-interval@2.0.1": - "integrity" "sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz" + integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-merge-refs@2.0.3": - "integrity" "sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz" + integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== "@chakra-ui/react-use-outside-click@2.0.3": - "integrity" "sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz" + integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-pan-event@2.0.4": - "integrity" "sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz" + integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== dependencies: "@chakra-ui/event-utils" "2.0.4" - "framesync" "5.3.0" + framesync "5.3.0" "@chakra-ui/react-use-previous@2.0.1": - "integrity" "sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz" + integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== "@chakra-ui/react-use-safe-layout-effect@2.0.1": - "integrity" "sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz" + integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== "@chakra-ui/react-use-size@2.0.3": - "integrity" "sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz" + integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== dependencies: "@zag-js/element-size" "0.1.0" "@chakra-ui/react-use-timeout@2.0.1": - "integrity" "sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz" + integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== dependencies: "@chakra-ui/react-use-callback-ref" "2.0.3" "@chakra-ui/react-use-update-effect@2.0.3": - "integrity" "sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz" - "version" "2.0.3" + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz" + integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== -"@chakra-ui/react-utils@2.0.5", "@chakra-ui/react-utils@2.0.6": - "integrity" "sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz" - "version" "2.0.6" +"@chakra-ui/react-utils@2.0.6": + version "2.0.6" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz" + integrity sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg== dependencies: "@chakra-ui/utils" "2.0.9" "@chakra-ui/react-utils@2.0.7": - "integrity" "sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz" - "version" "2.0.7" + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz" + integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== dependencies: "@chakra-ui/utils" "2.0.10" +"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz" + integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== + dependencies: + "@chakra-ui/accordion" "2.1.0" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/avatar" "2.1.0" + "@chakra-ui/breadcrumb" "2.0.9" + "@chakra-ui/button" "2.0.10" + "@chakra-ui/checkbox" "2.2.0" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/control-box" "2.0.9" + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/editable" "2.0.11" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/hooks" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/input" "2.0.10" + "@chakra-ui/layout" "2.1.7" + "@chakra-ui/live-region" "2.0.9" + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/menu" "2.1.0" + "@chakra-ui/modal" "2.2.0" + "@chakra-ui/number-input" "2.0.11" + "@chakra-ui/pin-input" "2.0.13" + "@chakra-ui/popover" "2.1.0" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/progress" "2.0.10" + "@chakra-ui/provider" "2.0.18" + "@chakra-ui/radio" "2.0.11" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/select" "2.0.11" + "@chakra-ui/skeleton" "2.0.16" + "@chakra-ui/slider" "2.0.11" + "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/stat" "2.0.10" + "@chakra-ui/switch" "2.0.12" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/table" "2.0.10" + "@chakra-ui/tabs" "2.1.2" + "@chakra-ui/tag" "2.0.10" + "@chakra-ui/textarea" "2.0.11" + "@chakra-ui/theme" "2.1.12" + "@chakra-ui/toast" "3.0.12" + "@chakra-ui/tooltip" "2.1.0" + "@chakra-ui/transition" "2.0.9" + "@chakra-ui/utils" "2.0.10" + "@chakra-ui/visually-hidden" "2.0.10" + "@chakra-ui/react@^2.2.9": - "integrity" "sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz" - "version" "2.3.2" + version "2.3.2" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz" + integrity sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg== dependencies: "@chakra-ui/accordion" "2.0.12" "@chakra-ui/alert" "2.0.9" @@ -2934,98 +2233,45 @@ "@chakra-ui/utils" "2.0.9" "@chakra-ui/visually-hidden" "2.0.9" -"@chakra-ui/react@^2.3.4", "@chakra-ui/react@2.3.4": - "integrity" "sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz" - "version" "2.3.4" - dependencies: - "@chakra-ui/accordion" "2.1.0" - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/avatar" "2.1.0" - "@chakra-ui/breadcrumb" "2.0.9" - "@chakra-ui/button" "2.0.10" - "@chakra-ui/checkbox" "2.2.0" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/control-box" "2.0.9" - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/editable" "2.0.11" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/hooks" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/image" "2.0.10" - "@chakra-ui/input" "2.0.10" - "@chakra-ui/layout" "2.1.7" - "@chakra-ui/live-region" "2.0.9" - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/menu" "2.1.0" - "@chakra-ui/modal" "2.2.0" - "@chakra-ui/number-input" "2.0.11" - "@chakra-ui/pin-input" "2.0.13" - "@chakra-ui/popover" "2.1.0" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/progress" "2.0.10" - "@chakra-ui/provider" "2.0.18" - "@chakra-ui/radio" "2.0.11" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/select" "2.0.11" - "@chakra-ui/skeleton" "2.0.16" - "@chakra-ui/slider" "2.0.11" - "@chakra-ui/spinner" "2.0.9" - "@chakra-ui/stat" "2.0.10" - "@chakra-ui/switch" "2.0.12" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/table" "2.0.10" - "@chakra-ui/tabs" "2.1.2" - "@chakra-ui/tag" "2.0.10" - "@chakra-ui/textarea" "2.0.11" - "@chakra-ui/theme" "2.1.12" - "@chakra-ui/toast" "3.0.12" - "@chakra-ui/tooltip" "2.1.0" - "@chakra-ui/transition" "2.0.9" - "@chakra-ui/utils" "2.0.10" - "@chakra-ui/visually-hidden" "2.0.10" - "@chakra-ui/select@2.0.10": - "integrity" "sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz" + integrity sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q== dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/select@2.0.11": - "integrity" "sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz" + integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== dependencies: "@chakra-ui/form-control" "2.0.10" "@chakra-ui/shared-utils@2.0.1": - "integrity" "sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz" + integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== "@chakra-ui/skeleton@2.0.15": - "integrity" "sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q==" - "resolved" "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz" - "version" "2.0.15" + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz" + integrity sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q== dependencies: "@chakra-ui/media-query" "3.2.5" "@chakra-ui/react-use-previous" "2.0.1" "@chakra-ui/skeleton@2.0.16": - "integrity" "sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz" - "version" "2.0.16" + version "2.0.16" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz" + integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== dependencies: "@chakra-ui/media-query" "3.2.6" "@chakra-ui/react-use-previous" "2.0.1" "@chakra-ui/slider@2.0.10": - "integrity" "sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g==" - "resolved" "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz" + integrity sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g== dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-context" "2.0.3" @@ -3038,9 +2284,9 @@ "@chakra-ui/react-use-update-effect" "2.0.3" "@chakra-ui/slider@2.0.11": - "integrity" "sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz" + integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== dependencies: "@chakra-ui/number-utils" "2.0.3" "@chakra-ui/react-context" "2.0.3" @@ -3052,117 +2298,97 @@ "@chakra-ui/react-use-size" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.3" -"@chakra-ui/spinner@^2.0.0", "@chakra-ui/spinner@2.0.9": - "integrity" "sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz" - "version" "2.0.9" - -"@chakra-ui/spinner@2.0.8": - "version" "2.0.8" - dependencies: - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" +"@chakra-ui/spinner@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz" + integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== "@chakra-ui/stat@2.0.10": - "integrity" "sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz" + integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== dependencies: "@chakra-ui/icon" "3.0.10" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/stat@2.0.9": - "integrity" "sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz" + integrity sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg== dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" -"@chakra-ui/styled-system@>=2.0.0", "@chakra-ui/styled-system@2.3.3": - "integrity" "sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g==" - "resolved" "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz" - "version" "2.3.3" - dependencies: - "csstype" "^3.0.11" - "lodash.mergewith" "4.6.2" - -"@chakra-ui/styled-system@2.2.7": - "version" "2.2.7" +"@chakra-ui/styled-system@2.3.1": + version "2.3.1" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz" + integrity sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA== dependencies: - "@chakra-ui/utils" "2.0.8" - "csstype" "^3.0.11" + csstype "^3.0.11" + lodash.mergewith "4.6.2" -"@chakra-ui/styled-system@2.3.1": - "integrity" "sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz" - "version" "2.3.1" +"@chakra-ui/styled-system@2.3.3": + version "2.3.3" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz" + integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== dependencies: - "csstype" "^3.0.11" - "lodash.mergewith" "4.6.2" + csstype "^3.0.11" + lodash.mergewith "4.6.2" "@chakra-ui/switch@2.0.11": - "integrity" "sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz" + integrity sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw== dependencies: "@chakra-ui/checkbox" "2.1.8" "@chakra-ui/switch@2.0.12": - "integrity" "sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz" - "version" "2.0.12" + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz" + integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== dependencies: "@chakra-ui/checkbox" "2.2.0" -"@chakra-ui/system@^2.0.0", "@chakra-ui/system@>=2.0.0", "@chakra-ui/system@2.2.11": - "integrity" "sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz" - "version" "2.2.11" +"@chakra-ui/system@2.2.11": + version "2.2.11" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz" + integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== dependencies: "@chakra-ui/color-mode" "2.1.8" "@chakra-ui/react-utils" "2.0.7" "@chakra-ui/styled-system" "2.3.3" "@chakra-ui/utils" "2.0.10" - "react-fast-compare" "3.2.0" - -"@chakra-ui/system@2.2.6": - "version" "2.2.6" - dependencies: - "@chakra-ui/color-mode" "2.1.6" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/styled-system" "2.2.7" - "@chakra-ui/utils" "2.0.8" - "react-fast-compare" "3.2.0" + react-fast-compare "3.2.0" "@chakra-ui/system@2.2.9": - "integrity" "sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz" - "version" "2.2.9" + version "2.2.9" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz" + integrity sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ== dependencies: "@chakra-ui/color-mode" "2.1.7" "@chakra-ui/react-utils" "2.0.6" "@chakra-ui/styled-system" "2.3.1" "@chakra-ui/utils" "2.0.9" - "react-fast-compare" "3.2.0" + react-fast-compare "3.2.0" "@chakra-ui/table@2.0.10": - "version" "2.0.8" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" + integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== dependencies: - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/react-context" "2.0.3" "@chakra-ui/table@2.0.9": - "integrity" "sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz" + integrity sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ== dependencies: "@chakra-ui/react-context" "2.0.3" "@chakra-ui/tabs@2.1.1": - "integrity" "sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz" - "version" "2.1.1" + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz" + integrity sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ== dependencies: "@chakra-ui/clickable" "2.0.9" "@chakra-ui/descendant" "3.0.9" @@ -3174,77 +2400,77 @@ "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/tabs@2.1.2": - "version" "2.0.10" + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" + integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== dependencies: - "@chakra-ui/clickable" "2.0.8" - "@chakra-ui/descendant" "3.0.7" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" "@chakra-ui/tag@2.0.10": - "version" "2.0.8" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" + integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== dependencies: - "@chakra-ui/icon" "3.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" "@chakra-ui/tag@2.0.9": - "integrity" "sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz" + integrity sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg== dependencies: "@chakra-ui/icon" "3.0.9" "@chakra-ui/react-context" "2.0.3" "@chakra-ui/textarea@2.0.10": - "integrity" "sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw==" - "resolved" "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz" + integrity sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw== dependencies: "@chakra-ui/form-control" "2.0.9" "@chakra-ui/textarea@2.0.11": - "version" "2.0.9" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" + integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== dependencies: - "@chakra-ui/form-control" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/form-control" "2.0.10" "@chakra-ui/theme-tools@2.0.11": - "integrity" "sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz" - "version" "2.0.11" + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz" + integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== dependencies: "@chakra-ui/anatomy" "2.0.6" "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/theme-tools@2.0.9": - "version" "2.0.9" - dependencies: - "@chakra-ui/anatomy" "2.0.4" - "@chakra-ui/utils" "2.0.8" - "@ctrl/tinycolor" "^3.4.0" - "@chakra-ui/theme@2.1.11": - "integrity" "sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz" - "version" "2.1.11" + version "2.1.11" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz" + integrity sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA== dependencies: "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" -"@chakra-ui/theme@2.1.12", "@chakra-ui/theme@2.1.7": - "integrity" "sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz" - "version" "2.1.12" +"@chakra-ui/theme@2.1.12": + version "2.1.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz" + integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== dependencies: "@chakra-ui/anatomy" "2.0.6" "@chakra-ui/theme-tools" "2.0.11" "@chakra-ui/toast@3.0.10": - "integrity" "sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz" - "version" "3.0.10" + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz" + integrity sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ== dependencies: "@chakra-ui/alert" "2.0.9" "@chakra-ui/close-button" "2.0.9" @@ -3254,21 +2480,21 @@ "@chakra-ui/theme" "2.1.11" "@chakra-ui/toast@3.0.12": - "version" "3.0.6" + version "3.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" + integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== dependencies: - "@chakra-ui/alert" "2.0.8" - "@chakra-ui/close-button" "2.0.8" - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/theme" "2.1.7" - "@chakra-ui/transition" "2.0.8" - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-use-timeout" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/theme" "2.1.12" "@chakra-ui/tooltip@2.0.10": - "integrity" "sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz" + integrity sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA== dependencies: "@chakra-ui/popper" "3.0.7" "@chakra-ui/portal" "2.0.9" @@ -3278,87 +2504,84 @@ "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/tooltip@2.1.0": - "version" "2.0.9" - dependencies: - "@chakra-ui/hooks" "2.0.8" - "@chakra-ui/popper" "3.0.6" - "@chakra-ui/portal" "2.0.8" - "@chakra-ui/react-utils" "2.0.5" - "@chakra-ui/utils" "2.0.8" - "@chakra-ui/visually-hidden" "2.0.8" - -"@chakra-ui/transition@2.0.8": - "version" "2.0.8" + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" + integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== dependencies: - "@chakra-ui/utils" "2.0.8" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" "@chakra-ui/transition@2.0.9": - "integrity" "sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz" + integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== "@chakra-ui/utils@2.0.10": - "integrity" "sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz" - "version" "2.0.10" + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz" + integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== dependencies: "@types/lodash.mergewith" "4.6.6" - "css-box-model" "1.2.1" - "framesync" "5.3.0" - "lodash.mergewith" "4.6.2" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" -"@chakra-ui/utils@2.0.8", "@chakra-ui/utils@2.0.9": - "integrity" "sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ==" - "resolved" "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz" - "version" "2.0.9" +"@chakra-ui/utils@2.0.9": + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz" + integrity sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ== dependencies: "@types/lodash.mergewith" "4.6.6" - "css-box-model" "1.2.1" - "framesync" "5.3.0" - "lodash.mergewith" "4.6.2" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.10", "@chakra-ui/visually-hidden@2.0.8": - "integrity" "sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA==" - "resolved" "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz" - "version" "2.0.10" +"@chakra-ui/visually-hidden@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz" + integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== "@chakra-ui/visually-hidden@2.0.9": - "integrity" "sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg==" - "resolved" "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz" - "version" "2.0.9" + version "2.0.9" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz" + integrity sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg== "@confio/ics23@^0.6.8": - "integrity" "sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==" - "resolved" "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz" - "version" "0.6.8" + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== dependencies: "@noble/hashes" "^1.0.0" - "protobufjs" "^6.8.8" - -"@cosmjs/amino@^0.29.0": - "integrity" "sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw==" - "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" - "version" "0.29.0" - dependencies: - "@cosmjs/crypto" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" + protobufjs "^6.8.8" "@cosmjs/amino@0.28.13": - "integrity" "sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz" - "version" "0.28.13" + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz" + integrity sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ== dependencies: "@cosmjs/crypto" "0.28.13" "@cosmjs/encoding" "0.28.13" "@cosmjs/math" "0.28.13" "@cosmjs/utils" "0.28.13" -"@cosmjs/cosmwasm-stargate@^0.28", "@cosmjs/cosmwasm-stargate@0.29.0": - "integrity" "sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw==" - "resolved" "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" - "version" "0.29.0" +"@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/cosmwasm-stargate@0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" + integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== dependencies: "@cosmjs/amino" "^0.29.0" "@cosmjs/crypto" "^0.29.0" @@ -3368,205 +2591,223 @@ "@cosmjs/stargate" "^0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" "@cosmjs/utils" "^0.29.0" - "cosmjs-types" "^0.5.0" - "long" "^4.0.0" - "pako" "^2.0.2" + cosmjs-types "^0.5.0" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz" + integrity sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ== + dependencies: + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" "@cosmjs/crypto@^0.24.1": - "integrity" "sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q==" - "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz" - "version" "0.24.1" + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== dependencies: "@cosmjs/encoding" "^0.24.1" "@cosmjs/math" "^0.24.1" "@cosmjs/utils" "^0.24.1" - "bip39" "^3.0.2" - "bn.js" "^4.11.8" - "elliptic" "^6.5.3" - "js-sha3" "^0.8.0" - "libsodium-wrappers" "^0.7.6" - "pbkdf2" "^3.1.1" - "ripemd160" "^2.0.2" - "sha.js" "^2.4.11" - "unorm" "^1.5.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" "@cosmjs/crypto@^0.29.0": - "integrity" "sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA==" - "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== dependencies: "@cosmjs/encoding" "^0.29.0" "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" "@noble/hashes" "^1" - "bn.js" "^5.2.0" - "elliptic" "^6.5.3" - "libsodium-wrappers" "^0.7.6" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" -"@cosmjs/crypto@0.28.13": - "integrity" "sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/encoding@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz" + integrity sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA== dependencies: - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - "@noble/hashes" "^1" - "bn.js" "^5.2.0" - "elliptic" "^6.5.3" - "libsodium-wrappers" "^0.7.6" + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" "@cosmjs/encoding@^0.20.0": - "integrity" "sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw==" - "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz" - "version" "0.20.1" + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== dependencies: - "base64-js" "^1.3.0" - "bech32" "^1.1.4" - "readonly-date" "^1.0.0" + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" "@cosmjs/encoding@^0.24.1": - "integrity" "sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA==" - "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz" - "version" "0.24.1" + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== dependencies: - "base64-js" "^1.3.0" - "bech32" "^1.1.4" - "readonly-date" "^1.0.0" + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" "@cosmjs/encoding@^0.29.0": - "integrity" "sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg==" - "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== dependencies: - "base64-js" "^1.3.0" - "bech32" "^1.1.4" - "readonly-date" "^1.0.0" + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" -"@cosmjs/encoding@0.28.13": - "integrity" "sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA==" - "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/json-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" + integrity sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A== dependencies: - "base64-js" "^1.3.0" - "bech32" "^1.1.4" - "readonly-date" "^1.0.0" + "@cosmjs/stream" "0.28.13" + xstream "^11.14.0" "@cosmjs/json-rpc@^0.29.0": - "integrity" "sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA==" - "resolved" "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== dependencies: "@cosmjs/stream" "^0.29.0" - "xstream" "^11.14.0" - -"@cosmjs/json-rpc@0.28.13": - "integrity" "sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A==" - "resolved" "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" - "version" "0.28.13" - dependencies: - "@cosmjs/stream" "0.28.13" - "xstream" "^11.14.0" + xstream "^11.14.0" "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": - "integrity" "sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz" - "version" "0.24.1" + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== dependencies: "@cosmjs/crypto" "^0.24.1" "@cosmjs/encoding" "^0.24.1" "@cosmjs/math" "^0.24.1" "@cosmjs/utils" "^0.24.1" - "axios" "^0.21.1" - "fast-deep-equal" "^3.1.3" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz" + integrity sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g== + dependencies: + bn.js "^5.2.0" "@cosmjs/math@^0.20.0": - "integrity" "sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw==" - "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz" - "version" "0.20.1" + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== dependencies: - "bn.js" "^4.11.8" + bn.js "^4.11.8" "@cosmjs/math@^0.24.1": - "integrity" "sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz" - "version" "0.24.1" + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== dependencies: - "bn.js" "^4.11.8" + bn.js "^4.11.8" "@cosmjs/math@^0.29.0": - "integrity" "sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw==" - "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== dependencies: - "bn.js" "^5.2.0" + bn.js "^5.2.0" -"@cosmjs/math@0.28.13": - "integrity" "sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g==" - "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/proto-signing@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" + integrity sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ== dependencies: - "bn.js" "^5.2.0" + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" -"@cosmjs/proto-signing@^0.24.0-alpha.25", "@cosmjs/proto-signing@^0.28": - "integrity" "sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg==" - "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" - "version" "0.24.1" +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== dependencies: "@cosmjs/launchpad" "^0.24.1" - "long" "^4.0.0" - "protobufjs" "~6.10.2" + long "^4.0.0" + protobufjs "~6.10.2" "@cosmjs/proto-signing@^0.29.0": - "integrity" "sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw==" - "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== dependencies: "@cosmjs/amino" "^0.29.0" "@cosmjs/crypto" "^0.29.0" "@cosmjs/encoding" "^0.29.0" "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" - "cosmjs-types" "^0.5.0" - "long" "^4.0.0" + cosmjs-types "^0.5.0" + long "^4.0.0" -"@cosmjs/proto-signing@0.28.13": - "integrity" "sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/socket@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" + integrity sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug== dependencies: - "@cosmjs/amino" "0.28.13" - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - "cosmjs-types" "^0.4.0" - "long" "^4.0.0" + "@cosmjs/stream" "0.28.13" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" "@cosmjs/socket@^0.29.0": - "integrity" "sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig==" - "resolved" "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== dependencies: "@cosmjs/stream" "^0.29.0" - "isomorphic-ws" "^4.0.1" - "ws" "^7" - "xstream" "^11.14.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" -"@cosmjs/socket@0.28.13": - "integrity" "sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug==" - "resolved" "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/stargate@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" + integrity sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg== dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" "@cosmjs/stream" "0.28.13" - "isomorphic-ws" "^4.0.1" - "ws" "^7" - "xstream" "^11.14.0" + "@cosmjs/tendermint-rpc" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" -"@cosmjs/stargate@^0.28", "@cosmjs/stargate@^0.29.0", "@cosmjs/stargate@0.29.0": - "integrity" "sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg==" - "resolved" "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" - "version" "0.29.0" +"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== dependencies: "@confio/ics23" "^0.6.8" "@cosmjs/amino" "^0.29.0" @@ -3576,47 +2817,45 @@ "@cosmjs/stream" "^0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" "@cosmjs/utils" "^0.29.0" - "cosmjs-types" "^0.5.0" - "long" "^4.0.0" - "protobufjs" "~6.11.3" - "xstream" "^11.14.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" -"@cosmjs/stargate@0.28.13": - "integrity" "sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg==" - "resolved" "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/stream@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" + integrity sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg== dependencies: - "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/proto-signing" "0.28.13" - "@cosmjs/stream" "0.28.13" - "@cosmjs/tendermint-rpc" "0.28.13" - "@cosmjs/utils" "0.28.13" - "cosmjs-types" "^0.4.0" - "long" "^4.0.0" - "protobufjs" "~6.11.3" - "xstream" "^11.14.0" + xstream "^11.14.0" "@cosmjs/stream@^0.29.0": - "integrity" "sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== dependencies: - "xstream" "^11.14.0" + xstream "^11.14.0" -"@cosmjs/stream@0.28.13": - "integrity" "sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg==" - "resolved" "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" - "version" "0.28.13" +"@cosmjs/tendermint-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" + integrity sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w== dependencies: - "xstream" "^11.14.0" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/json-rpc" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/socket" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/utils" "0.28.13" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" "@cosmjs/tendermint-rpc@^0.29.0": - "integrity" "sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg==" - "resolved" "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" - "version" "0.29.0" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== dependencies: "@cosmjs/crypto" "^0.29.0" "@cosmjs/encoding" "^0.29.0" @@ -3625,200 +2864,102 @@ "@cosmjs/socket" "^0.29.0" "@cosmjs/stream" "^0.29.0" "@cosmjs/utils" "^0.29.0" - "axios" "^0.21.2" - "readonly-date" "^1.0.0" - "xstream" "^11.14.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" -"@cosmjs/tendermint-rpc@0.28.13": - "integrity" "sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w==" - "resolved" "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" - "version" "0.28.13" - dependencies: - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/json-rpc" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/socket" "0.28.13" - "@cosmjs/stream" "0.28.13" - "@cosmjs/utils" "0.28.13" - "axios" "^0.21.2" - "readonly-date" "^1.0.0" - "xstream" "^11.14.0" +"@cosmjs/utils@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" + integrity sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg== "@cosmjs/utils@^0.20.0": - "integrity" "sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA==" - "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz" - "version" "0.20.1" + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== "@cosmjs/utils@^0.24.1": - "integrity" "sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ==" - "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz" - "version" "0.24.1" + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== "@cosmjs/utils@^0.29.0": - "integrity" "sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA==" - "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" - "version" "0.29.0" - -"@cosmjs/utils@0.28.13": - "integrity" "sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg==" - "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" - "version" "0.28.13" + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== "@cosmjson/wasmswap@^0.0.9": - "integrity" "sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw==" - "resolved" "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" - "version" "0.0.9" - -"@cosmonauts/connect-chain-with-telescope-and-contracts@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope-with-contracts": - "resolved" "file:examples/telescope-with-contracts" - "version" "0.3.0" - dependencies: - "@chakra-ui/icons" "^2.0.10" - "@chakra-ui/react" "^2.3.4" - "@cosmjs/cosmwasm-stargate" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmos-kit/react" "^0.14.0" - "@cosmos-kit/types" "^0.11.0" - "@emotion/react" "11.10.4" - "@emotion/styled" "11.10.4" - "@osmonauts/helpers" "^0.6.0" - "@osmonauts/lcd" "^0.6.0" - "framer-motion" "7.3.6" - "next" "12.2.5" - "react" "18.2.0" - "react-dom" "18.2.0" - "react-icons" "^4.4.0" - -"@cosmonauts/connect-chain-with-telescope@file:/Users/pyramation/code/cosmology/create-cosmos-app/examples/telescope": - "resolved" "file:examples/telescope" - "version" "0.3.0" - dependencies: - "@chakra-ui/icons" "^2.0.10" - "@chakra-ui/react" "^2.3.4" - "@cosmjs/cosmwasm-stargate" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmos-kit/react" "^0.14.0" - "@cosmos-kit/types" "^0.11.0" - "@emotion/react" "11.10.4" - "@emotion/styled" "11.10.4" - "@osmonauts/helpers" "^0.6.0" - "@osmonauts/lcd" "^0.6.0" - "framer-motion" "7.3.6" - "next" "12.2.5" - "react" "18.2.0" - "react-dom" "18.2.0" - "react-icons" "^4.4.0" - -"@cosmonauts/connect-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-chain": - "resolved" "file:templates/connect-chain" - "version" "0.3.0" - dependencies: - "@chakra-ui/icons" "2.0.10" - "@chakra-ui/react" "2.3.4" - "@cosmjs/cosmwasm-stargate" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmos-kit/config" "0.14.0" - "@cosmos-kit/core" "0.14.0" - "@cosmos-kit/react" "0.14.0" - "@emotion/react" "11.10.4" - "@emotion/styled" "11.10.4" - "chain-registry" "0.14.0" - "framer-motion" "7.3.6" - "next" "12.2.5" - "react" "18.2.0" - "react-dom" "18.2.0" - "react-icons" "4.4.0" - -"@cosmonauts/connect-multi-chain@file:/Users/pyramation/code/cosmology/create-cosmos-app/templates/connect-multi-chain": - "resolved" "file:templates/connect-multi-chain" - "version" "0.3.0" - dependencies: - "@chakra-ui/icons" "2.0.10" - "@chakra-ui/react" "2.3.4" - "@cosmjs/cosmwasm-stargate" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmos-kit/config" "0.14.0" - "@cosmos-kit/core" "0.14.0" - "@cosmos-kit/react" "0.14.0" - "@emotion/react" "11.10.4" - "@emotion/styled" "11.10.4" - "chain-registry" "0.14.0" - "chakra-react-select" "4.2.2" - "fast-fuzzy" "1.11.2" - "framer-motion" "7.3.6" - "next" "12.2.5" - "react" "18.2.0" - "react-dom" "18.2.0" - "react-icons" "4.4.0" - -"@cosmos-kit/config@^0.14.0", "@cosmos-kit/config@0.14.0": - "integrity" "sha512-kU0/+agF+mFHWEZXPRuB85VDA3TLte4nELDnlFV3otcenX07G3bSPrMB7Tyxdt+PnVks9hodcquxHyTTd6cu1w==" - "resolved" "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.14.0.tgz" - "version" "0.14.0" + version "0.0.9" + resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" + integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== + +"@cosmos-kit/config@0.16.0", "@cosmos-kit/config@^0.16.0": + version "0.16.0" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.0.tgz#8ceee132a3089ccccfeadf0d28c9211023399e21" + integrity sha512-cKiE9dA2MxrZMN/200cko+gszSUcXo8Tz3HnhfnjMC2IgStFJegjDXy2vqHkC7Wa5+voLTqw+8OMKqyfYhK5ZQ== dependencies: "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "@cosmos-kit/core" "^0.14.0" - "@cosmos-kit/keplr" "^0.14.0" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.0" + "@cosmos-kit/keplr" "^0.16.0" -"@cosmos-kit/core@^0.14.0", "@cosmos-kit/core@0.14.0": - "integrity" "sha512-1DpIXnk7Q4zF0NzaVX5quEOxSNSs7Rd4j1ibcHytGuEdwYdE4g3Ld11i12BBBAdgJq+6Uv9zQFBpvpn0MiarvQ==" - "resolved" "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.14.0.tgz" - "version" "0.14.0" +"@cosmos-kit/core@0.16.0", "@cosmos-kit/core@^0.16.0": + version "0.16.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.0.tgz#165fc82158c3d9294db0f1d9646cc88a806e456c" + integrity sha512-YhrhradEgvfTQmMWPFBDheGO6FcDqktpyO6Y/I9VbRoQwtWXfNWgl/9nsFG2FqkvBOJzU+tHznkNW6go2AHq4Q== dependencies: "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" - "chain-registry" "^0.10.0" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" -"@cosmos-kit/keplr@^0.14.0": - "integrity" "sha512-RowKEGJE1Kk5WNmnZVXPE1ysAdrAfRHNbJZtef+2jPzpshkpT17w/hUaqeGQYZ5r+hjVST3b476BIkqbUr3Czw==" - "resolved" "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.14.0.tgz" - "version" "0.14.0" +"@cosmos-kit/keplr@^0.16.0": + version "0.16.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.0.tgz#ed940cb8b4a2014990b410244f75d032aa33f297" + integrity sha512-8uoMOfNrvMMRSpr3TgygwPElMvZT5aM0H+aSCdbaQzElU9G8jYWHZZ0gDiUCXRox9/uxFG3NjXEe28na7np5Gg== dependencies: "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" + "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.14.0" + "@cosmos-kit/core" "^0.16.0" "@emotion/react" "^11" "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.10" - "@keplr-wallet/wc-client" "^0.10.20" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" "@walletconnect/client" "1.8.0" "@walletconnect/node" "1.0.0" - "events" "3.3.0" - "react" "18.2.0" - "react-dom" "18.2.0" - "react-icons" "^4.4.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" -"@cosmos-kit/react@^0.14.0", "@cosmos-kit/react@0.14.0": - "integrity" "sha512-c+xhLBOGuTVDdurjrZotFkNP38Ht6hiOGuuNvRBmn6+kPT5/QeG84rL/w90BqaZQJWzcXBiyK/SXxi1IJ6QqVA==" - "resolved" "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.14.0.tgz" - "version" "0.14.0" +"@cosmos-kit/react@0.16.0", "@cosmos-kit/react@^0.16.0": + version "0.16.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.0.tgz#0d568e36b44bb147a9c351a797c5a5b496c85d39" + integrity sha512-MsrQZa5RiCzquHVXr2y6Ifr21Z3Z7whBaDvP4fqglhy1WteWfIDlitRHrZXy1EW/kx/RD9V01bHz7a8Gh70kJQ== dependencies: "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.7.0" + "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/config" "^0.14.0" + "@cosmos-kit/config" "^0.16.0" "@emotion/react" "^11" "@emotion/styled" "^11" - "bowser" "2.11.0" - "qrcode.react" "^3.1.0" - "react-icons" "^4.4.0" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" "@cosmos-kit/types@^0.11.0": - "integrity" "sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ==" - "resolved" "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" - "version" "0.11.0" + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" + integrity sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ== dependencies: "@babel/runtime" "^7.11.2" "@walletconnect/client" "1.7.8" "@walletconnect/types" "1.7.8" "@cosmwasm/ts-codegen@0.16.1": - "integrity" "sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w==" - "resolved" "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz" - "version" "0.16.1" + version "0.16.1" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz" + integrity sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w== dependencies: "@babel/core" "7.18.10" "@babel/generator" "7.18.12" @@ -3833,30 +2974,30 @@ "@babel/traverse" "7.18.11" "@babel/types" "7.18.10" "@pyramation/json-schema-to-typescript" " 11.0.4" - "case" "1.6.3" - "dargs" "7.0.0" - "deepmerge" "4.2.2" - "dotty" "0.1.2" - "fuzzy" "0.1.3" - "glob" "8.0.3" - "inquirerer" "0.1.3" - "long" "^5.2.0" - "minimist" "1.2.6" - "mkdirp" "1.0.4" - "parse-package-name" "1.0.0" - "rimraf" "3.0.2" - "shelljs" "0.8.5" - "wasm-ast-types" "^0.11.1" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.11.1" "@ctrl/tinycolor@^3.4.0": - "integrity" "sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw==" - "resolved" "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" - "version" "3.4.1" + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== "@emotion/babel-plugin@^11.10.0": - "integrity" "sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==" - "resolved" "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz" - "version" "11.10.2" + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== dependencies: "@babel/helper-module-imports" "^7.16.7" "@babel/plugin-syntax-jsx" "^7.17.12" @@ -3864,57 +3005,57 @@ "@emotion/hash" "^0.9.0" "@emotion/memoize" "^0.8.0" "@emotion/serialize" "^1.1.0" - "babel-plugin-macros" "^3.1.0" - "convert-source-map" "^1.5.0" - "escape-string-regexp" "^4.0.0" - "find-root" "^1.1.0" - "source-map" "^0.5.7" - "stylis" "4.0.13" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" "@emotion/cache@^11.10.0", "@emotion/cache@^11.4.0": - "integrity" "sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ==" - "resolved" "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" - "version" "11.10.3" + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== dependencies: "@emotion/memoize" "^0.8.0" "@emotion/sheet" "^1.2.0" "@emotion/utils" "^1.2.0" "@emotion/weak-memoize" "^0.3.0" - "stylis" "4.0.13" + stylis "4.0.13" "@emotion/hash@^0.9.0": - "integrity" "sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ==" - "resolved" "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz" - "version" "0.9.0" + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== "@emotion/is-prop-valid@^0.8.2": - "integrity" "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==" - "resolved" "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" - "version" "0.8.8" + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== dependencies: "@emotion/memoize" "0.7.4" "@emotion/is-prop-valid@^1.2.0": - "integrity" "sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg==" - "resolved" "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz" - "version" "1.2.0" + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== dependencies: "@emotion/memoize" "^0.8.0" -"@emotion/memoize@^0.8.0": - "integrity" "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==" - "resolved" "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz" - "version" "0.8.0" - "@emotion/memoize@0.7.4": - "integrity" "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==" - "resolved" "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" - "version" "0.7.4" + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@^11", "@emotion/react@^11.0.0", "@emotion/react@^11.0.0-rc.0", "@emotion/react@^11.8.1", "@emotion/react@>=10.0.35", "@emotion/react@11.10.4": - "integrity" "sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA==" - "resolved" "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" - "version" "11.10.4" +"@emotion/react@11.10.4", "@emotion/react@^11", "@emotion/react@^11.8.1": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== dependencies: "@babel/runtime" "^7.18.3" "@emotion/babel-plugin" "^11.10.0" @@ -3923,28 +3064,28 @@ "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" "@emotion/utils" "^1.2.0" "@emotion/weak-memoize" "^0.3.0" - "hoist-non-react-statics" "^3.3.1" + hoist-non-react-statics "^3.3.1" "@emotion/serialize@^1.1.0": - "integrity" "sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA==" - "resolved" "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== dependencies: "@emotion/hash" "^0.9.0" "@emotion/memoize" "^0.8.0" "@emotion/unitless" "^0.8.0" "@emotion/utils" "^1.2.0" - "csstype" "^3.0.2" + csstype "^3.0.2" "@emotion/sheet@^1.2.0": - "integrity" "sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w==" - "resolved" "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz" - "version" "1.2.0" + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== -"@emotion/styled@^11", "@emotion/styled@^11.0.0", "@emotion/styled@11.10.4": - "integrity" "sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ==" - "resolved" "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" - "version" "11.10.4" +"@emotion/styled@11.10.4", "@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== dependencies: "@babel/runtime" "^7.18.3" "@emotion/babel-plugin" "^11.10.0" @@ -3954,44 +3095,44 @@ "@emotion/utils" "^1.2.0" "@emotion/unitless@^0.8.0": - "integrity" "sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw==" - "resolved" "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz" - "version" "0.8.0" + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== "@emotion/use-insertion-effect-with-fallbacks@^1.0.0": - "integrity" "sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A==" - "resolved" "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== "@emotion/utils@^1.2.0": - "integrity" "sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw==" - "resolved" "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz" - "version" "1.2.0" + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== "@emotion/weak-memoize@^0.3.0": - "integrity" "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==" - "resolved" "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz" - "version" "0.3.0" + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== "@eslint/eslintrc@^1.3.0": - "integrity" "sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==" - "resolved" "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz" - "version" "1.3.2" - dependencies: - "ajv" "^6.12.4" - "debug" "^4.3.2" - "espree" "^9.4.0" - "globals" "^13.15.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" + version "1.3.2" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz" + integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.4.0" + globals "^13.15.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" "@ethersproject/address@^5.6.0": - "integrity" "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==" - "resolved" "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -4000,145 +3141,145 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/bignumber@^5.7.0": - "integrity" "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==" - "resolved" "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" - "bn.js" "^5.2.1" + bn.js "^5.2.1" "@ethersproject/bytes@^5.7.0": - "integrity" "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==" - "resolved" "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" "@ethersproject/keccak256@^5.7.0": - "integrity" "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==" - "resolved" "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== dependencies: "@ethersproject/bytes" "^5.7.0" - "js-sha3" "0.8.0" + js-sha3 "0.8.0" "@ethersproject/logger@^5.7.0": - "integrity" "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" - "resolved" "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== "@ethersproject/rlp@^5.7.0": - "integrity" "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==" - "resolved" "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz" - "version" "5.7.0" + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" "@gar/promisify@^1.0.1": - "integrity" "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" - "resolved" "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" - "version" "1.1.3" + version "1.1.3" + resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" + integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== "@humanwhocodes/config-array@^0.10.4": - "integrity" "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==" - "resolved" "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" - "version" "0.10.4" + version "0.10.4" + resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" + integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw== dependencies: "@humanwhocodes/object-schema" "^1.2.1" - "debug" "^4.1.1" - "minimatch" "^3.0.4" + debug "^4.1.1" + minimatch "^3.0.4" "@humanwhocodes/gitignore-to-minimatch@^1.0.2": - "integrity" "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==" - "resolved" "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz" - "version" "1.0.2" + version "1.0.2" + resolved "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz" + integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== "@humanwhocodes/object-schema@^1.2.1": - "integrity" "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" - "resolved" "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" - "version" "1.2.1" + version "1.2.1" + resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== "@hutson/parse-repository-url@^3.0.0": - "integrity" "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==" - "resolved" "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz" - "version" "3.0.2" + version "3.0.2" + resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz" + integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== "@iov/crypto@2.1.0": - "integrity" "sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q==" - "resolved" "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== dependencies: "@iov/encoding" "^2.1.0" - "bip39" "^3.0.2" - "bn.js" "^4.11.8" - "elliptic" "^6.4.0" - "js-sha3" "^0.8.0" - "libsodium-wrappers" "^0.7.6" - "pbkdf2" "^3.0.16" - "ripemd160" "^2.0.2" - "sha.js" "^2.4.11" - "type-tagger" "^1.0.0" - "unorm" "^1.5.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" "@iov/encoding@^2.1.0": - "integrity" "sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA==" - "resolved" "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz" - "version" "2.5.0" + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== dependencies: "@cosmjs/encoding" "^0.20.0" "@cosmjs/math" "^0.20.0" "@cosmjs/utils" "^0.20.0" - "readonly-date" "^1.0.0" - -"@iov/encoding@2.1.0": - "integrity" "sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w==" - "resolved" "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "base64-js" "^1.3.0" - "bech32" "^1.1.3" - "bn.js" "^4.11.8" - "readonly-date" "^1.0.0" + readonly-date "^1.0.0" "@iov/utils@2.0.2": - "integrity" "sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw==" - "resolved" "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz" - "version" "2.0.2" + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== "@istanbuljs/load-nyc-config@^1.0.0": - "integrity" "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==" - "resolved" "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== dependencies: - "camelcase" "^5.3.1" - "find-up" "^4.1.0" - "get-package-type" "^0.1.0" - "js-yaml" "^3.13.1" - "resolve-from" "^5.0.0" + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" "@istanbuljs/schema@^0.1.2": - "integrity" "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==" - "resolved" "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" - "version" "0.1.3" + version "0.1.3" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== "@jest/console@^28.1.3": - "integrity" "sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==" - "resolved" "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/console/-/console-28.1.3.tgz" + integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== dependencies: "@jest/types" "^28.1.3" "@types/node" "*" - "chalk" "^4.0.0" - "jest-message-util" "^28.1.3" - "jest-util" "^28.1.3" - "slash" "^3.0.0" + chalk "^4.0.0" + jest-message-util "^28.1.3" + jest-util "^28.1.3" + slash "^3.0.0" "@jest/core@^28.1.3": - "integrity" "sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA==" - "resolved" "https://registry.npmjs.org/@jest/core/-/core-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/core/-/core-28.1.3.tgz" + integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== dependencies: "@jest/console" "^28.1.3" "@jest/reporters" "^28.1.3" @@ -4146,80 +3287,80 @@ "@jest/transform" "^28.1.3" "@jest/types" "^28.1.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" "^28.1.3" - "jest-config" "^28.1.3" - "jest-haste-map" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-regex-util" "^28.0.2" - "jest-resolve" "^28.1.3" - "jest-resolve-dependencies" "^28.1.3" - "jest-runner" "^28.1.3" - "jest-runtime" "^28.1.3" - "jest-snapshot" "^28.1.3" - "jest-util" "^28.1.3" - "jest-validate" "^28.1.3" - "jest-watcher" "^28.1.3" - "micromatch" "^4.0.4" - "pretty-format" "^28.1.3" - "rimraf" "^3.0.0" - "slash" "^3.0.0" - "strip-ansi" "^6.0.0" + 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 "^28.1.3" + jest-config "^28.1.3" + jest-haste-map "^28.1.3" + jest-message-util "^28.1.3" + jest-regex-util "^28.0.2" + jest-resolve "^28.1.3" + jest-resolve-dependencies "^28.1.3" + jest-runner "^28.1.3" + jest-runtime "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" + jest-watcher "^28.1.3" + micromatch "^4.0.4" + pretty-format "^28.1.3" + rimraf "^3.0.0" + slash "^3.0.0" + strip-ansi "^6.0.0" "@jest/environment@^28.1.3": - "integrity" "sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA==" - "resolved" "https://registry.npmjs.org/@jest/environment/-/environment-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-28.1.3.tgz" + integrity sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA== dependencies: "@jest/fake-timers" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - "jest-mock" "^28.1.3" + jest-mock "^28.1.3" "@jest/expect-utils@^28.1.3": - "integrity" "sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA==" - "resolved" "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-28.1.3.tgz" + integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== dependencies: - "jest-get-type" "^28.0.2" + jest-get-type "^28.0.2" "@jest/expect@^28.1.3": - "integrity" "sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw==" - "resolved" "https://registry.npmjs.org/@jest/expect/-/expect-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/expect/-/expect-28.1.3.tgz" + integrity sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw== dependencies: - "expect" "^28.1.3" - "jest-snapshot" "^28.1.3" + expect "^28.1.3" + jest-snapshot "^28.1.3" "@jest/fake-timers@^28.1.3": - "integrity" "sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw==" - "resolved" "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-28.1.3.tgz" + integrity sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw== dependencies: "@jest/types" "^28.1.3" "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - "jest-message-util" "^28.1.3" - "jest-mock" "^28.1.3" - "jest-util" "^28.1.3" + jest-message-util "^28.1.3" + jest-mock "^28.1.3" + jest-util "^28.1.3" "@jest/globals@^28.1.3": - "integrity" "sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA==" - "resolved" "https://registry.npmjs.org/@jest/globals/-/globals-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/globals/-/globals-28.1.3.tgz" + integrity sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA== dependencies: "@jest/environment" "^28.1.3" "@jest/expect" "^28.1.3" "@jest/types" "^28.1.3" "@jest/reporters@^28.1.3": - "integrity" "sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg==" - "resolved" "https://registry.npmjs.org/@jest/reporters/-/reporters-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-28.1.3.tgz" + integrity sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg== dependencies: "@bcoe/v8-coverage" "^0.2.3" "@jest/console" "^28.1.3" @@ -4228,152 +3369,152 @@ "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" "@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" "^5.1.0" - "istanbul-lib-report" "^3.0.0" - "istanbul-lib-source-maps" "^4.0.0" - "istanbul-reports" "^3.1.3" - "jest-message-util" "^28.1.3" - "jest-util" "^28.1.3" - "jest-worker" "^28.1.3" - "slash" "^3.0.0" - "string-length" "^4.0.1" - "strip-ansi" "^6.0.0" - "terminal-link" "^2.0.0" - "v8-to-istanbul" "^9.0.1" + 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 "^5.1.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-message-util "^28.1.3" + jest-util "^28.1.3" + jest-worker "^28.1.3" + slash "^3.0.0" + string-length "^4.0.1" + strip-ansi "^6.0.0" + terminal-link "^2.0.0" + v8-to-istanbul "^9.0.1" "@jest/schemas@^28.1.3": - "integrity" "sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==" - "resolved" "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== dependencies: "@sinclair/typebox" "^0.24.1" "@jest/source-map@^28.1.2": - "integrity" "sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww==" - "resolved" "https://registry.npmjs.org/@jest/source-map/-/source-map-28.1.2.tgz" - "version" "28.1.2" + version "28.1.2" + resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-28.1.2.tgz" + integrity sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww== dependencies: "@jridgewell/trace-mapping" "^0.3.13" - "callsites" "^3.0.0" - "graceful-fs" "^4.2.9" + callsites "^3.0.0" + graceful-fs "^4.2.9" "@jest/test-result@^28.1.3": - "integrity" "sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==" - "resolved" "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-28.1.3.tgz" + integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== dependencies: "@jest/console" "^28.1.3" "@jest/types" "^28.1.3" "@types/istanbul-lib-coverage" "^2.0.0" - "collect-v8-coverage" "^1.0.0" + collect-v8-coverage "^1.0.0" "@jest/test-sequencer@^28.1.3": - "integrity" "sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw==" - "resolved" "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz" - "version" "28.1.3" + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz" + integrity sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw== dependencies: "@jest/test-result" "^28.1.3" - "graceful-fs" "^4.2.9" - "jest-haste-map" "^28.1.3" - "slash" "^3.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + slash "^3.0.0" -"@jest/transform@^28.1.3", "@jest/transform@28.1.3": - "integrity" "sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==" - "resolved" "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz" - "version" "28.1.3" +"@jest/transform@28.1.3", "@jest/transform@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== dependencies: "@babel/core" "^7.11.6" "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" - "babel-plugin-istanbul" "^6.1.1" - "chalk" "^4.0.0" - "convert-source-map" "^1.4.0" - "fast-json-stable-stringify" "^2.0.0" - "graceful-fs" "^4.2.9" - "jest-haste-map" "^28.1.3" - "jest-regex-util" "^28.0.2" - "jest-util" "^28.1.3" - "micromatch" "^4.0.4" - "pirates" "^4.0.4" - "slash" "^3.0.0" - "write-file-atomic" "^4.0.1" - -"@jest/types@^28.0.0", "@jest/types@^28.1.3": - "integrity" "sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==" - "resolved" "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz" - "version" "28.1.3" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== dependencies: "@jest/schemas" "^28.1.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" + chalk "^4.0.0" "@jridgewell/gen-mapping@^0.1.0": - "integrity" "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==" - "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" - "version" "0.1.1" + version "0.1.1" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== dependencies: "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/gen-mapping@^0.3.2": - "integrity" "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==" - "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" - "version" "0.3.2" + version "0.3.2" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== dependencies: "@jridgewell/set-array" "^1.0.1" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" "@jridgewell/resolve-uri@^3.0.3": - "integrity" "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" - "resolved" "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" - "version" "3.1.0" + version "3.1.0" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== "@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": - "integrity" "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" - "resolved" "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== "@jridgewell/sourcemap-codec@^1.4.10": - "integrity" "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" - "resolved" "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" - "version" "1.4.14" + version "1.4.14" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.8", "@jridgewell/trace-mapping@^0.3.9": - "integrity" "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==" - "resolved" "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz" - "version" "0.3.15" + version "0.3.15" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz" + integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== dependencies: "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" "@jsdevtools/ono@^7.1.3": - "integrity" "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" - "resolved" "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" - "version" "7.1.3" + version "7.1.3" + resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@keplr-wallet/common@0.10.24": - "integrity" "sha512-cQgGSgvQGJ4f6yjH2JPtpR7xve83VGHEgNPuYV2C0lIKYjWHmu7Zq20uF3BWU6tc+5LAieOoz3mJDfdLNNvN+w==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.10.24.tgz" - "version" "0.10.24" +"@keplr-wallet/common@0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.3.tgz#996290a157acd200cc5aa2c7f298c82545fc176e" + integrity sha512-3izIyRX9nXTrc+u+24yYpl2qiLyHaweqiXI3fk2SHucWWicPqksSw5wkmuA+4Bef3/CUQPTgtcufDgPyBB+bNw== dependencies: - "@keplr-wallet/crypto" "0.10.24" - "buffer" "^6.0.3" - "delay" "^4.4.0" + "@keplr-wallet/crypto" "0.11.3" + buffer "^6.0.3" + delay "^4.4.0" -"@keplr-wallet/cosmos@^0.10.24", "@keplr-wallet/cosmos@^0.10.3": - "integrity" "sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz" - "version" "0.10.24" +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@ethersproject/address" "^5.6.0" @@ -4381,108 +3522,132 @@ "@keplr-wallet/proto-types" "0.10.24" "@keplr-wallet/types" "0.10.24" "@keplr-wallet/unit" "0.10.24" - "axios" "^0.27.2" - "bech32" "^1.1.4" - "buffer" "^6.0.3" - "long" "^4.0.0" - "protobufjs" "^6.11.2" - -"@keplr-wallet/crypto@^0.10.11", "@keplr-wallet/crypto@^0.10.24", "@keplr-wallet/crypto@0.10.24": - "integrity" "sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz" - "version" "0.10.24" - dependencies: - "bip32" "^2.0.6" - "bip39" "^3.0.3" - "bs58check" "^2.1.2" - "buffer" "^6.0.3" - "crypto-js" "^4.0.0" - "elliptic" "^6.5.3" - "sha.js" "^2.4.11" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.3.tgz#5bf1815c229383d28914600ab7a7b4a36d28c889" + integrity sha512-BWSEU97qBu2M7DmSWPFxG+eL6k8UHQe230MBkDzLpVQsouFeJbwsip0mTxxJWaZXMuhyK9gaMsAQSK4YkHyI4Q== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" "@keplr-wallet/proto-types@0.10.24": - "integrity" "sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz" - "version" "0.10.24" + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== dependencies: - "long" "^4.0.0" - "protobufjs" "^6.11.2" + long "^4.0.0" + protobufjs "^6.11.2" -"@keplr-wallet/provider@0.10.24": - "integrity" "sha512-m0PP9A3T41G9jI8gTCAP+3oakKMRx2Y2cXi+WTK02l9XzRRzO2uUU6aQwmaqArYSF2Qyq361UF/mUIbK43f6qw==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.10.24.tgz" - "version" "0.10.24" +"@keplr-wallet/provider@0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.3.tgz#bb64070fabb963636d4386943088d3deef7a59c1" + integrity sha512-4KWRiJTyIBW+qOOYP2CN/IIvGMLsBgRi1D5/FT6q7EaYkIR/peJlKSR6fJukmQHyI/fmkvGH2+Td9fhZsVv5mA== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/router" "0.10.24" - "@keplr-wallet/types" "0.10.24" - "buffer" "^6.0.3" - "deepmerge" "^4.2.2" - "long" "^4.0.0" - "secretjs" "^0.17.0" - -"@keplr-wallet/router@0.10.24": - "integrity" "sha512-hZLzCSm9lrL5rWLYuEzoIc4lLGMfs+PNTlTcUGgEjd9BjQiBlEGAPK6a4cfa0L5SUirJv5szBoBR2UI2LwB/wg==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.10.24.tgz" - "version" "0.10.24" + "@keplr-wallet/router" "0.11.3" + "@keplr-wallet/types" "0.11.3" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.3.tgz#ef0dbd4e6e76521b5f77066df8550aef67111acb" + integrity sha512-2Kh5+8ZqUY4l+Gf3mEl8q6vDeb7ino1SnCHA0bl5+ny9039zQ8AcIHjrZStX64nTPYuM/G60HRmNKhG51vMubQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" -"@keplr-wallet/types@^0.10", "@keplr-wallet/types@0.10.24": - "integrity" "sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz" - "version" "0.10.24" +"@keplr-wallet/types@0.11.3", "@keplr-wallet/types@^0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.3.tgz#853af5947de837fc1d00147f95d5dd7c6205b212" + integrity sha512-OA0OoimsUI22iTXgup3BAlLt+FJdGKniJqzJyQji+rqfXqreBT+Ie9c5Ng7qY81+RO/nJ5SZfa1gIns+3A0YxA== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "axios" "^0.27.2" - "long" "^4.0.0" - "secretjs" "^0.17.0" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" "@keplr-wallet/unit@0.10.24": - "integrity" "sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz" - "version" "0.10.24" + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== dependencies: "@keplr-wallet/types" "0.10.24" - "big-integer" "^1.6.48" - "utility-types" "^3.10.0" + big-integer "^1.6.48" + utility-types "^3.10.0" -"@keplr-wallet/wc-client@^0.10.20": - "integrity" "sha512-vJOoZNX8Qr63kMQ4cLHYFaM4Q5FwsUypp4Tnztrt//yHreI9Qtwb2Am2E5MFYln4lb/JFOz94R09GEEEDP7hKA==" - "resolved" "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.10.24.tgz" - "version" "0.10.24" +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.3" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.3.tgz#f55a34531034861e28b6f849115554acff0d9c14" + integrity sha512-u7A+c5XL8+8Qa9g6Qsn6PCZBYBtOgNgIBIqpbLFpbxzBCIHH8GE+PRp1AVNsU8R5f7HHyGWHO1T14sTrdUpGEQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/common" "0.10.24" - "@keplr-wallet/provider" "0.10.24" - "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/common" "0.11.3" + "@keplr-wallet/provider" "0.11.3" + "@keplr-wallet/types" "0.11.3" "@walletconnect/types" "^1.6.4" "@walletconnect/utils" "^1.6.4" - "buffer" "^6.0.3" - "deepmerge" "^4.2.2" - "secretjs" "^0.17.0" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" "@lerna/add@4.0.0": - "integrity" "sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng==" - "resolved" "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/add/-/add-4.0.0.tgz" + integrity sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng== dependencies: "@lerna/bootstrap" "4.0.0" "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" "@lerna/npm-conf" "4.0.0" "@lerna/validation-error" "4.0.0" - "dedent" "^0.7.0" - "npm-package-arg" "^8.1.0" - "p-map" "^4.0.0" - "pacote" "^11.2.6" - "semver" "^7.3.4" + dedent "^0.7.0" + npm-package-arg "^8.1.0" + p-map "^4.0.0" + pacote "^11.2.6" + semver "^7.3.4" "@lerna/bootstrap@4.0.0": - "integrity" "sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw==" - "resolved" "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-4.0.0.tgz" + integrity sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw== dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -4496,21 +3661,21 @@ "@lerna/symlink-binary" "4.0.0" "@lerna/symlink-dependencies" "4.0.0" "@lerna/validation-error" "4.0.0" - "dedent" "^0.7.0" - "get-port" "^5.1.1" - "multimatch" "^5.0.0" - "npm-package-arg" "^8.1.0" - "npmlog" "^4.1.2" - "p-map" "^4.0.0" - "p-map-series" "^2.1.0" - "p-waterfall" "^2.1.1" - "read-package-tree" "^5.3.1" - "semver" "^7.3.4" + dedent "^0.7.0" + get-port "^5.1.1" + multimatch "^5.0.0" + npm-package-arg "^8.1.0" + npmlog "^4.1.2" + p-map "^4.0.0" + p-map-series "^2.1.0" + p-waterfall "^2.1.1" + read-package-tree "^5.3.1" + semver "^7.3.4" "@lerna/changed@4.0.0": - "integrity" "sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ==" - "resolved" "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/changed/-/changed-4.0.0.tgz" + integrity sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ== dependencies: "@lerna/collect-updates" "4.0.0" "@lerna/command" "4.0.0" @@ -4518,155 +3683,155 @@ "@lerna/output" "4.0.0" "@lerna/check-working-tree@4.0.0": - "integrity" "sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q==" - "resolved" "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz" + integrity sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q== dependencies: "@lerna/collect-uncommitted" "4.0.0" "@lerna/describe-ref" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/child-process@4.0.0": - "integrity" "sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q==" - "resolved" "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-4.0.0.tgz" + integrity sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q== dependencies: - "chalk" "^4.1.0" - "execa" "^5.0.0" - "strong-log-transformer" "^2.1.0" + chalk "^4.1.0" + execa "^5.0.0" + strong-log-transformer "^2.1.0" "@lerna/clean@4.0.0": - "integrity" "sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA==" - "resolved" "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/clean/-/clean-4.0.0.tgz" + integrity sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA== dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" "@lerna/prompt" "4.0.0" "@lerna/pulse-till-done" "4.0.0" "@lerna/rimraf-dir" "4.0.0" - "p-map" "^4.0.0" - "p-map-series" "^2.1.0" - "p-waterfall" "^2.1.1" + p-map "^4.0.0" + p-map-series "^2.1.0" + p-waterfall "^2.1.1" "@lerna/cli@4.0.0": - "integrity" "sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA==" - "resolved" "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/cli/-/cli-4.0.0.tgz" + integrity sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA== dependencies: "@lerna/global-options" "4.0.0" - "dedent" "^0.7.0" - "npmlog" "^4.1.2" - "yargs" "^16.2.0" + dedent "^0.7.0" + npmlog "^4.1.2" + yargs "^16.2.0" "@lerna/collect-uncommitted@4.0.0": - "integrity" "sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g==" - "resolved" "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz" + integrity sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g== dependencies: "@lerna/child-process" "4.0.0" - "chalk" "^4.1.0" - "npmlog" "^4.1.2" + chalk "^4.1.0" + npmlog "^4.1.2" "@lerna/collect-updates@4.0.0": - "integrity" "sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw==" - "resolved" "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-4.0.0.tgz" + integrity sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw== dependencies: "@lerna/child-process" "4.0.0" "@lerna/describe-ref" "4.0.0" - "minimatch" "^3.0.4" - "npmlog" "^4.1.2" - "slash" "^3.0.0" + minimatch "^3.0.4" + npmlog "^4.1.2" + slash "^3.0.0" "@lerna/command@4.0.0": - "integrity" "sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A==" - "resolved" "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/command/-/command-4.0.0.tgz" + integrity sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A== dependencies: "@lerna/child-process" "4.0.0" "@lerna/package-graph" "4.0.0" "@lerna/project" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/write-log-file" "4.0.0" - "clone-deep" "^4.0.1" - "dedent" "^0.7.0" - "execa" "^5.0.0" - "is-ci" "^2.0.0" - "npmlog" "^4.1.2" + clone-deep "^4.0.1" + dedent "^0.7.0" + execa "^5.0.0" + is-ci "^2.0.0" + npmlog "^4.1.2" "@lerna/conventional-commits@4.0.0": - "integrity" "sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw==" - "resolved" "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz" + integrity sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw== dependencies: "@lerna/validation-error" "4.0.0" - "conventional-changelog-angular" "^5.0.12" - "conventional-changelog-core" "^4.2.2" - "conventional-recommended-bump" "^6.1.0" - "fs-extra" "^9.1.0" - "get-stream" "^6.0.0" - "lodash.template" "^4.5.0" - "npm-package-arg" "^8.1.0" - "npmlog" "^4.1.2" - "pify" "^5.0.0" - "semver" "^7.3.4" + conventional-changelog-angular "^5.0.12" + conventional-changelog-core "^4.2.2" + conventional-recommended-bump "^6.1.0" + fs-extra "^9.1.0" + get-stream "^6.0.0" + lodash.template "^4.5.0" + npm-package-arg "^8.1.0" + npmlog "^4.1.2" + pify "^5.0.0" + semver "^7.3.4" "@lerna/create-symlink@4.0.0": - "integrity" "sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig==" - "resolved" "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-4.0.0.tgz" + integrity sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig== dependencies: - "cmd-shim" "^4.1.0" - "fs-extra" "^9.1.0" - "npmlog" "^4.1.2" + cmd-shim "^4.1.0" + fs-extra "^9.1.0" + npmlog "^4.1.2" "@lerna/create@4.0.0": - "integrity" "sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag==" - "resolved" "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/create/-/create-4.0.0.tgz" + integrity sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag== dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/npm-conf" "4.0.0" "@lerna/validation-error" "4.0.0" - "dedent" "^0.7.0" - "fs-extra" "^9.1.0" - "globby" "^11.0.2" - "init-package-json" "^2.0.2" - "npm-package-arg" "^8.1.0" - "p-reduce" "^2.1.0" - "pacote" "^11.2.6" - "pify" "^5.0.0" - "semver" "^7.3.4" - "slash" "^3.0.0" - "validate-npm-package-license" "^3.0.4" - "validate-npm-package-name" "^3.0.0" - "whatwg-url" "^8.4.0" - "yargs-parser" "20.2.4" + dedent "^0.7.0" + fs-extra "^9.1.0" + globby "^11.0.2" + init-package-json "^2.0.2" + npm-package-arg "^8.1.0" + p-reduce "^2.1.0" + pacote "^11.2.6" + pify "^5.0.0" + semver "^7.3.4" + slash "^3.0.0" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^3.0.0" + whatwg-url "^8.4.0" + yargs-parser "20.2.4" "@lerna/describe-ref@4.0.0": - "integrity" "sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ==" - "resolved" "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-4.0.0.tgz" + integrity sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ== dependencies: "@lerna/child-process" "4.0.0" - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/diff@4.0.0": - "integrity" "sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag==" - "resolved" "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/diff/-/diff-4.0.0.tgz" + integrity sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag== dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/validation-error" "4.0.0" - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/exec@4.0.0": - "integrity" "sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw==" - "resolved" "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/exec/-/exec-4.0.0.tgz" + integrity sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw== dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" @@ -4674,125 +3839,125 @@ "@lerna/profiler" "4.0.0" "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" - "p-map" "^4.0.0" + p-map "^4.0.0" "@lerna/filter-options@4.0.0": - "integrity" "sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw==" - "resolved" "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-4.0.0.tgz" + integrity sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw== dependencies: "@lerna/collect-updates" "4.0.0" "@lerna/filter-packages" "4.0.0" - "dedent" "^0.7.0" - "npmlog" "^4.1.2" + dedent "^0.7.0" + npmlog "^4.1.2" "@lerna/filter-packages@4.0.0": - "integrity" "sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA==" - "resolved" "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-4.0.0.tgz" + integrity sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA== dependencies: "@lerna/validation-error" "4.0.0" - "multimatch" "^5.0.0" - "npmlog" "^4.1.2" + multimatch "^5.0.0" + npmlog "^4.1.2" "@lerna/get-npm-exec-opts@4.0.0": - "integrity" "sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ==" - "resolved" "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz" + integrity sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ== dependencies: - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/get-packed@4.0.0": - "integrity" "sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w==" - "resolved" "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-4.0.0.tgz" + integrity sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w== dependencies: - "fs-extra" "^9.1.0" - "ssri" "^8.0.1" - "tar" "^6.1.0" + fs-extra "^9.1.0" + ssri "^8.0.1" + tar "^6.1.0" "@lerna/github-client@4.0.0": - "integrity" "sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw==" - "resolved" "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/github-client/-/github-client-4.0.0.tgz" + integrity sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw== dependencies: "@lerna/child-process" "4.0.0" "@octokit/plugin-enterprise-rest" "^6.0.1" "@octokit/rest" "^18.1.0" - "git-url-parse" "^11.4.4" - "npmlog" "^4.1.2" + git-url-parse "^11.4.4" + npmlog "^4.1.2" "@lerna/gitlab-client@4.0.0": - "integrity" "sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA==" - "resolved" "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz" + integrity sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA== dependencies: - "node-fetch" "^2.6.1" - "npmlog" "^4.1.2" - "whatwg-url" "^8.4.0" + node-fetch "^2.6.1" + npmlog "^4.1.2" + whatwg-url "^8.4.0" "@lerna/global-options@4.0.0": - "integrity" "sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ==" - "resolved" "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/global-options/-/global-options-4.0.0.tgz" + integrity sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ== "@lerna/has-npm-version@4.0.0": - "integrity" "sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg==" - "resolved" "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz" + integrity sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg== dependencies: "@lerna/child-process" "4.0.0" - "semver" "^7.3.4" + semver "^7.3.4" "@lerna/import@4.0.0": - "integrity" "sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg==" - "resolved" "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/import/-/import-4.0.0.tgz" + integrity sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg== dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" "@lerna/prompt" "4.0.0" "@lerna/pulse-till-done" "4.0.0" "@lerna/validation-error" "4.0.0" - "dedent" "^0.7.0" - "fs-extra" "^9.1.0" - "p-map-series" "^2.1.0" + dedent "^0.7.0" + fs-extra "^9.1.0" + p-map-series "^2.1.0" "@lerna/info@4.0.0": - "integrity" "sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q==" - "resolved" "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/info/-/info-4.0.0.tgz" + integrity sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q== dependencies: "@lerna/command" "4.0.0" "@lerna/output" "4.0.0" - "envinfo" "^7.7.4" + envinfo "^7.7.4" "@lerna/init@4.0.0": - "integrity" "sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ==" - "resolved" "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/init/-/init-4.0.0.tgz" + integrity sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ== dependencies: "@lerna/child-process" "4.0.0" "@lerna/command" "4.0.0" - "fs-extra" "^9.1.0" - "p-map" "^4.0.0" - "write-json-file" "^4.3.0" + fs-extra "^9.1.0" + p-map "^4.0.0" + write-json-file "^4.3.0" "@lerna/link@4.0.0": - "integrity" "sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w==" - "resolved" "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/link/-/link-4.0.0.tgz" + integrity sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w== dependencies: "@lerna/command" "4.0.0" "@lerna/package-graph" "4.0.0" "@lerna/symlink-dependencies" "4.0.0" - "p-map" "^4.0.0" - "slash" "^3.0.0" + p-map "^4.0.0" + slash "^3.0.0" "@lerna/list@4.0.0": - "integrity" "sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg==" - "resolved" "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/list/-/list-4.0.0.tgz" + integrity sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg== dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -4800,171 +3965,171 @@ "@lerna/output" "4.0.0" "@lerna/listable@4.0.0": - "integrity" "sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ==" - "resolved" "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/listable/-/listable-4.0.0.tgz" + integrity sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ== dependencies: "@lerna/query-graph" "4.0.0" - "chalk" "^4.1.0" - "columnify" "^1.5.4" + chalk "^4.1.0" + columnify "^1.5.4" "@lerna/log-packed@4.0.0": - "integrity" "sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ==" - "resolved" "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-4.0.0.tgz" + integrity sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ== dependencies: - "byte-size" "^7.0.0" - "columnify" "^1.5.4" - "has-unicode" "^2.0.1" - "npmlog" "^4.1.2" + byte-size "^7.0.0" + columnify "^1.5.4" + has-unicode "^2.0.1" + npmlog "^4.1.2" "@lerna/npm-conf@4.0.0": - "integrity" "sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw==" - "resolved" "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-4.0.0.tgz" + integrity sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw== dependencies: - "config-chain" "^1.1.12" - "pify" "^5.0.0" + config-chain "^1.1.12" + pify "^5.0.0" "@lerna/npm-dist-tag@4.0.0": - "integrity" "sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw==" - "resolved" "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz" + integrity sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw== dependencies: "@lerna/otplease" "4.0.0" - "npm-package-arg" "^8.1.0" - "npm-registry-fetch" "^9.0.0" - "npmlog" "^4.1.2" + npm-package-arg "^8.1.0" + npm-registry-fetch "^9.0.0" + npmlog "^4.1.2" "@lerna/npm-install@4.0.0": - "integrity" "sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg==" - "resolved" "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-4.0.0.tgz" + integrity sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg== dependencies: "@lerna/child-process" "4.0.0" "@lerna/get-npm-exec-opts" "4.0.0" - "fs-extra" "^9.1.0" - "npm-package-arg" "^8.1.0" - "npmlog" "^4.1.2" - "signal-exit" "^3.0.3" - "write-pkg" "^4.0.0" + fs-extra "^9.1.0" + npm-package-arg "^8.1.0" + npmlog "^4.1.2" + signal-exit "^3.0.3" + write-pkg "^4.0.0" "@lerna/npm-publish@4.0.0": - "integrity" "sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w==" - "resolved" "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-4.0.0.tgz" + integrity sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w== dependencies: "@lerna/otplease" "4.0.0" "@lerna/run-lifecycle" "4.0.0" - "fs-extra" "^9.1.0" - "libnpmpublish" "^4.0.0" - "npm-package-arg" "^8.1.0" - "npmlog" "^4.1.2" - "pify" "^5.0.0" - "read-package-json" "^3.0.0" + fs-extra "^9.1.0" + libnpmpublish "^4.0.0" + npm-package-arg "^8.1.0" + npmlog "^4.1.2" + pify "^5.0.0" + read-package-json "^3.0.0" "@lerna/npm-run-script@4.0.0": - "integrity" "sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA==" - "resolved" "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz" + integrity sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA== dependencies: "@lerna/child-process" "4.0.0" "@lerna/get-npm-exec-opts" "4.0.0" - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/otplease@4.0.0": - "integrity" "sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw==" - "resolved" "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/otplease/-/otplease-4.0.0.tgz" + integrity sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw== dependencies: "@lerna/prompt" "4.0.0" "@lerna/output@4.0.0": - "integrity" "sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w==" - "resolved" "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/output/-/output-4.0.0.tgz" + integrity sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w== dependencies: - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/pack-directory@4.0.0": - "integrity" "sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ==" - "resolved" "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-4.0.0.tgz" + integrity sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ== dependencies: "@lerna/get-packed" "4.0.0" "@lerna/package" "4.0.0" "@lerna/run-lifecycle" "4.0.0" - "npm-packlist" "^2.1.4" - "npmlog" "^4.1.2" - "tar" "^6.1.0" - "temp-write" "^4.0.0" + npm-packlist "^2.1.4" + npmlog "^4.1.2" + tar "^6.1.0" + temp-write "^4.0.0" "@lerna/package-graph@4.0.0": - "integrity" "sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw==" - "resolved" "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-4.0.0.tgz" + integrity sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw== dependencies: "@lerna/prerelease-id-from-version" "4.0.0" "@lerna/validation-error" "4.0.0" - "npm-package-arg" "^8.1.0" - "npmlog" "^4.1.2" - "semver" "^7.3.4" + npm-package-arg "^8.1.0" + npmlog "^4.1.2" + semver "^7.3.4" "@lerna/package@4.0.0": - "integrity" "sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q==" - "resolved" "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/package/-/package-4.0.0.tgz" + integrity sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q== dependencies: - "load-json-file" "^6.2.0" - "npm-package-arg" "^8.1.0" - "write-pkg" "^4.0.0" + load-json-file "^6.2.0" + npm-package-arg "^8.1.0" + write-pkg "^4.0.0" "@lerna/prerelease-id-from-version@4.0.0": - "integrity" "sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg==" - "resolved" "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz" + integrity sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg== dependencies: - "semver" "^7.3.4" + semver "^7.3.4" "@lerna/profiler@4.0.0": - "integrity" "sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q==" - "resolved" "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/profiler/-/profiler-4.0.0.tgz" + integrity sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q== dependencies: - "fs-extra" "^9.1.0" - "npmlog" "^4.1.2" - "upath" "^2.0.1" + fs-extra "^9.1.0" + npmlog "^4.1.2" + upath "^2.0.1" "@lerna/project@4.0.0": - "integrity" "sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg==" - "resolved" "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/project/-/project-4.0.0.tgz" + integrity sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg== dependencies: "@lerna/package" "4.0.0" "@lerna/validation-error" "4.0.0" - "cosmiconfig" "^7.0.0" - "dedent" "^0.7.0" - "dot-prop" "^6.0.1" - "glob-parent" "^5.1.1" - "globby" "^11.0.2" - "load-json-file" "^6.2.0" - "npmlog" "^4.1.2" - "p-map" "^4.0.0" - "resolve-from" "^5.0.0" - "write-json-file" "^4.3.0" + cosmiconfig "^7.0.0" + dedent "^0.7.0" + dot-prop "^6.0.1" + glob-parent "^5.1.1" + globby "^11.0.2" + load-json-file "^6.2.0" + npmlog "^4.1.2" + p-map "^4.0.0" + resolve-from "^5.0.0" + write-json-file "^4.3.0" "@lerna/prompt@4.0.0": - "integrity" "sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ==" - "resolved" "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/prompt/-/prompt-4.0.0.tgz" + integrity sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ== dependencies: - "inquirer" "^7.3.3" - "npmlog" "^4.1.2" + inquirer "^7.3.3" + npmlog "^4.1.2" "@lerna/publish@4.0.0": - "integrity" "sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg==" - "resolved" "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/publish/-/publish-4.0.0.tgz" + integrity sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg== dependencies: "@lerna/check-working-tree" "4.0.0" "@lerna/child-process" "4.0.0" @@ -4985,70 +4150,70 @@ "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" "@lerna/version" "4.0.0" - "fs-extra" "^9.1.0" - "libnpmaccess" "^4.0.1" - "npm-package-arg" "^8.1.0" - "npm-registry-fetch" "^9.0.0" - "npmlog" "^4.1.2" - "p-map" "^4.0.0" - "p-pipe" "^3.1.0" - "pacote" "^11.2.6" - "semver" "^7.3.4" + fs-extra "^9.1.0" + libnpmaccess "^4.0.1" + npm-package-arg "^8.1.0" + npm-registry-fetch "^9.0.0" + npmlog "^4.1.2" + p-map "^4.0.0" + p-pipe "^3.1.0" + pacote "^11.2.6" + semver "^7.3.4" "@lerna/pulse-till-done@4.0.0": - "integrity" "sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg==" - "resolved" "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz" + integrity sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg== dependencies: - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/query-graph@4.0.0": - "integrity" "sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg==" - "resolved" "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-4.0.0.tgz" + integrity sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg== dependencies: "@lerna/package-graph" "4.0.0" "@lerna/resolve-symlink@4.0.0": - "integrity" "sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA==" - "resolved" "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz" + integrity sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA== dependencies: - "fs-extra" "^9.1.0" - "npmlog" "^4.1.2" - "read-cmd-shim" "^2.0.0" + fs-extra "^9.1.0" + npmlog "^4.1.2" + read-cmd-shim "^2.0.0" "@lerna/rimraf-dir@4.0.0": - "integrity" "sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg==" - "resolved" "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz" + integrity sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg== dependencies: "@lerna/child-process" "4.0.0" - "npmlog" "^4.1.2" - "path-exists" "^4.0.0" - "rimraf" "^3.0.2" + npmlog "^4.1.2" + path-exists "^4.0.0" + rimraf "^3.0.2" "@lerna/run-lifecycle@4.0.0": - "integrity" "sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ==" - "resolved" "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz" + integrity sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ== dependencies: "@lerna/npm-conf" "4.0.0" - "npm-lifecycle" "^3.1.5" - "npmlog" "^4.1.2" + npm-lifecycle "^3.1.5" + npmlog "^4.1.2" "@lerna/run-topologically@4.0.0": - "integrity" "sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA==" - "resolved" "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-4.0.0.tgz" + integrity sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA== dependencies: "@lerna/query-graph" "4.0.0" - "p-queue" "^6.6.2" + p-queue "^6.6.2" "@lerna/run@4.0.0": - "integrity" "sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ==" - "resolved" "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/run/-/run-4.0.0.tgz" + integrity sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ== dependencies: "@lerna/command" "4.0.0" "@lerna/filter-options" "4.0.0" @@ -5058,46 +4223,46 @@ "@lerna/run-topologically" "4.0.0" "@lerna/timer" "4.0.0" "@lerna/validation-error" "4.0.0" - "p-map" "^4.0.0" + p-map "^4.0.0" "@lerna/symlink-binary@4.0.0": - "integrity" "sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA==" - "resolved" "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz" + integrity sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA== dependencies: "@lerna/create-symlink" "4.0.0" "@lerna/package" "4.0.0" - "fs-extra" "^9.1.0" - "p-map" "^4.0.0" + fs-extra "^9.1.0" + p-map "^4.0.0" "@lerna/symlink-dependencies@4.0.0": - "integrity" "sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw==" - "resolved" "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz" + integrity sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw== dependencies: "@lerna/create-symlink" "4.0.0" "@lerna/resolve-symlink" "4.0.0" "@lerna/symlink-binary" "4.0.0" - "fs-extra" "^9.1.0" - "p-map" "^4.0.0" - "p-map-series" "^2.1.0" + fs-extra "^9.1.0" + p-map "^4.0.0" + p-map-series "^2.1.0" "@lerna/timer@4.0.0": - "integrity" "sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg==" - "resolved" "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/timer/-/timer-4.0.0.tgz" + integrity sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg== "@lerna/validation-error@4.0.0": - "integrity" "sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw==" - "resolved" "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-4.0.0.tgz" + integrity sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw== dependencies: - "npmlog" "^4.1.2" + npmlog "^4.1.2" "@lerna/version@4.0.0": - "integrity" "sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA==" - "resolved" "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/version/-/version-4.0.0.tgz" + integrity sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA== dependencies: "@lerna/check-working-tree" "4.0.0" "@lerna/child-process" "4.0.0" @@ -5112,294 +4277,354 @@ "@lerna/run-lifecycle" "4.0.0" "@lerna/run-topologically" "4.0.0" "@lerna/validation-error" "4.0.0" - "chalk" "^4.1.0" - "dedent" "^0.7.0" - "load-json-file" "^6.2.0" - "minimatch" "^3.0.4" - "npmlog" "^4.1.2" - "p-map" "^4.0.0" - "p-pipe" "^3.1.0" - "p-reduce" "^2.1.0" - "p-waterfall" "^2.1.1" - "semver" "^7.3.4" - "slash" "^3.0.0" - "temp-write" "^4.0.0" - "write-json-file" "^4.3.0" + chalk "^4.1.0" + dedent "^0.7.0" + load-json-file "^6.2.0" + minimatch "^3.0.4" + npmlog "^4.1.2" + p-map "^4.0.0" + p-pipe "^3.1.0" + p-reduce "^2.1.0" + p-waterfall "^2.1.1" + semver "^7.3.4" + slash "^3.0.0" + temp-write "^4.0.0" + write-json-file "^4.3.0" "@lerna/write-log-file@4.0.0": - "integrity" "sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg==" - "resolved" "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-4.0.0.tgz" + integrity sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg== dependencies: - "npmlog" "^4.1.2" - "write-file-atomic" "^3.0.3" + npmlog "^4.1.2" + write-file-atomic "^3.0.3" "@motionone/animation@^10.13.1": - "integrity" "sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ==" - "resolved" "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" - "version" "10.14.0" + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== dependencies: "@motionone/easing" "^10.14.0" "@motionone/types" "^10.14.0" "@motionone/utils" "^10.14.0" - "tslib" "^2.3.1" + tslib "^2.3.1" "@motionone/dom@10.13.1": - "integrity" "sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ==" - "resolved" "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" - "version" "10.13.1" + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== dependencies: "@motionone/animation" "^10.13.1" "@motionone/generators" "^10.13.1" "@motionone/types" "^10.13.0" "@motionone/utils" "^10.13.1" - "hey-listen" "^1.0.8" - "tslib" "^2.3.1" + hey-listen "^1.0.8" + tslib "^2.3.1" "@motionone/easing@^10.14.0": - "integrity" "sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA==" - "resolved" "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" - "version" "10.14.0" + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== dependencies: "@motionone/utils" "^10.14.0" - "tslib" "^2.3.1" + tslib "^2.3.1" "@motionone/generators@^10.13.1": - "integrity" "sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg==" - "resolved" "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" - "version" "10.14.0" + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== dependencies: "@motionone/types" "^10.14.0" "@motionone/utils" "^10.14.0" - "tslib" "^2.3.1" + tslib "^2.3.1" "@motionone/types@^10.13.0", "@motionone/types@^10.14.0": - "integrity" "sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ==" - "resolved" "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" - "version" "10.14.0" + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== "@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": - "integrity" "sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw==" - "resolved" "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" - "version" "10.14.0" + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== dependencies: "@motionone/types" "^10.14.0" - "hey-listen" "^1.0.8" - "tslib" "^2.3.1" + hey-listen "^1.0.8" + tslib "^2.3.1" "@next/env@12.2.5": - "integrity" "sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw==" - "resolved" "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" - "version" "12.2.5" + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== "@next/eslint-plugin-next@12.2.5": - "integrity" "sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw==" - "resolved" "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz" - "version" "12.2.5" + version "12.2.5" + resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz" + integrity sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw== dependencies: - "glob" "7.1.7" + glob "7.1.7" + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== "@next/swc-darwin-arm64@12.2.5": - "integrity" "sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg==" - "resolved" "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" - "version" "12.2.5" + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== "@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": - "integrity" "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==" - "resolved" "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz" - "version" "2.1.8-no-fsevents.3" + version "2.1.8-no-fsevents.3" + resolved "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz" + integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== "@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": - "integrity" "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==" - "resolved" "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz" - "version" "5.1.1-v1" + version "5.1.1-v1" + resolved "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz" + integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg== dependencies: - "eslint-scope" "5.1.1" + eslint-scope "5.1.1" "@noble/hashes@^1", "@noble/hashes@^1.0.0": - "integrity" "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" - "resolved" "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz" + integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== "@nodelib/fs.scandir@2.1.5": - "integrity" "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==" - "resolved" "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" - "version" "2.1.5" + version "2.1.5" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: "@nodelib/fs.stat" "2.0.5" - "run-parallel" "^1.1.9" + run-parallel "^1.1.9" -"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": - "integrity" "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" - "resolved" "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" - "version" "2.0.5" +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== "@nodelib/fs.walk@^1.2.3": - "integrity" "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==" - "resolved" "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" - "version" "1.2.8" + version "1.2.8" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: "@nodelib/fs.scandir" "2.1.5" - "fastq" "^1.6.0" + fastq "^1.6.0" "@npmcli/ci-detect@^1.0.0": - "integrity" "sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q==" - "resolved" "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz" - "version" "1.4.0" + version "1.4.0" + resolved "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.4.0.tgz" + integrity sha512-3BGrt6FLjqM6br5AhWRKTr3u5GIVkjRYeAFrMp3HjnfICrg4xOrVRwFavKT6tsp++bq5dluL5t8ME/Nha/6c1Q== "@npmcli/fs@^1.0.0": - "integrity" "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==" - "resolved" "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz" - "version" "1.1.1" + version "1.1.1" + resolved "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz" + integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== dependencies: "@gar/promisify" "^1.0.1" - "semver" "^7.3.5" + semver "^7.3.5" "@npmcli/git@^2.1.0": - "integrity" "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==" - "resolved" "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz" + integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== dependencies: "@npmcli/promise-spawn" "^1.3.2" - "lru-cache" "^6.0.0" - "mkdirp" "^1.0.4" - "npm-pick-manifest" "^6.1.1" - "promise-inflight" "^1.0.1" - "promise-retry" "^2.0.1" - "semver" "^7.3.5" - "which" "^2.0.2" + lru-cache "^6.0.0" + mkdirp "^1.0.4" + npm-pick-manifest "^6.1.1" + promise-inflight "^1.0.1" + promise-retry "^2.0.1" + semver "^7.3.5" + which "^2.0.2" "@npmcli/installed-package-contents@^1.0.6": - "integrity" "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==" - "resolved" "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz" - "version" "1.0.7" + version "1.0.7" + resolved "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz" + integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== dependencies: - "npm-bundled" "^1.1.1" - "npm-normalize-package-bin" "^1.0.1" + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" "@npmcli/move-file@^1.0.1": - "integrity" "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==" - "resolved" "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz" + integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== dependencies: - "mkdirp" "^1.0.4" - "rimraf" "^3.0.2" + mkdirp "^1.0.4" + rimraf "^3.0.2" "@npmcli/node-gyp@^1.0.2": - "integrity" "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==" - "resolved" "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz" - "version" "1.0.3" + version "1.0.3" + resolved "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz" + integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== "@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - "integrity" "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==" - "resolved" "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz" - "version" "1.3.2" + version "1.3.2" + resolved "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz" + integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== dependencies: - "infer-owner" "^1.0.4" + infer-owner "^1.0.4" "@npmcli/run-script@^1.8.2": - "integrity" "sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g==" - "resolved" "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz" - "version" "1.8.6" + version "1.8.6" + resolved "https://registry.npmjs.org/@npmcli/run-script/-/run-script-1.8.6.tgz" + integrity sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g== dependencies: "@npmcli/node-gyp" "^1.0.2" "@npmcli/promise-spawn" "^1.3.2" - "node-gyp" "^7.1.0" - "read-package-json-fast" "^2.0.1" + node-gyp "^7.1.0" + read-package-json-fast "^2.0.1" "@octokit/auth-token@^2.4.4": - "integrity" "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==" - "resolved" "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz" - "version" "2.5.0" + version "2.5.0" + resolved "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz" + integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== dependencies: "@octokit/types" "^6.0.3" -"@octokit/core@^3.5.1", "@octokit/core@>=2", "@octokit/core@>=3": - "integrity" "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==" - "resolved" "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz" - "version" "3.6.0" +"@octokit/core@^3.5.1": + version "3.6.0" + resolved "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz" + integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== dependencies: "@octokit/auth-token" "^2.4.4" "@octokit/graphql" "^4.5.8" "@octokit/request" "^5.6.3" "@octokit/request-error" "^2.0.5" "@octokit/types" "^6.0.3" - "before-after-hook" "^2.2.0" - "universal-user-agent" "^6.0.0" + before-after-hook "^2.2.0" + universal-user-agent "^6.0.0" "@octokit/endpoint@^6.0.1": - "integrity" "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==" - "resolved" "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz" - "version" "6.0.12" + version "6.0.12" + resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz" + integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== dependencies: "@octokit/types" "^6.0.3" - "is-plain-object" "^5.0.0" - "universal-user-agent" "^6.0.0" + is-plain-object "^5.0.0" + universal-user-agent "^6.0.0" "@octokit/graphql@^4.5.8": - "integrity" "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==" - "resolved" "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz" - "version" "4.8.0" + version "4.8.0" + resolved "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz" + integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg== dependencies: "@octokit/request" "^5.6.0" "@octokit/types" "^6.0.3" - "universal-user-agent" "^6.0.0" + universal-user-agent "^6.0.0" "@octokit/openapi-types@^12.11.0": - "integrity" "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==" - "resolved" "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz" - "version" "12.11.0" + version "12.11.0" + resolved "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz" + integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== "@octokit/plugin-enterprise-rest@^6.0.1": - "integrity" "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==" - "resolved" "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz" - "version" "6.0.1" + version "6.0.1" + resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz" + integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== "@octokit/plugin-paginate-rest@^2.16.8": - "integrity" "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==" - "resolved" "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz" - "version" "2.21.3" + version "2.21.3" + resolved "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz" + integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw== dependencies: "@octokit/types" "^6.40.0" "@octokit/plugin-request-log@^1.0.4": - "integrity" "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==" - "resolved" "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz" - "version" "1.0.4" + version "1.0.4" + resolved "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz" + integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== "@octokit/plugin-rest-endpoint-methods@^5.12.0": - "integrity" "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==" - "resolved" "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz" - "version" "5.16.2" + version "5.16.2" + resolved "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz" + integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw== dependencies: "@octokit/types" "^6.39.0" - "deprecation" "^2.3.1" + deprecation "^2.3.1" "@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0": - "integrity" "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==" - "resolved" "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz" - "version" "2.1.0" + version "2.1.0" + resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz" + integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== dependencies: "@octokit/types" "^6.0.3" - "deprecation" "^2.0.0" - "once" "^1.4.0" + deprecation "^2.0.0" + once "^1.4.0" "@octokit/request@^5.6.0", "@octokit/request@^5.6.3": - "integrity" "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==" - "resolved" "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz" - "version" "5.6.3" + version "5.6.3" + resolved "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz" + integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== dependencies: "@octokit/endpoint" "^6.0.1" "@octokit/request-error" "^2.1.0" "@octokit/types" "^6.16.1" - "is-plain-object" "^5.0.0" - "node-fetch" "^2.6.7" - "universal-user-agent" "^6.0.0" + is-plain-object "^5.0.0" + node-fetch "^2.6.7" + universal-user-agent "^6.0.0" "@octokit/rest@^18.1.0": - "integrity" "sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q==" - "resolved" "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz" - "version" "18.12.0" + version "18.12.0" + resolved "https://registry.npmjs.org/@octokit/rest/-/rest-18.12.0.tgz" + integrity sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q== dependencies: "@octokit/core" "^3.5.1" "@octokit/plugin-paginate-rest" "^2.16.8" @@ -5407,63 +4632,63 @@ "@octokit/plugin-rest-endpoint-methods" "^5.12.0" "@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0": - "integrity" "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==" - "resolved" "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz" - "version" "6.41.0" + version "6.41.0" + resolved "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz" + integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== dependencies: "@octokit/openapi-types" "^12.11.0" "@osmonauts/ast@^0.26.0": - "integrity" "sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg==" - "resolved" "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz" - "version" "0.26.0" + version "0.26.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz" + integrity sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" "@osmonauts/proto-parser" "^0.19.0" "@osmonauts/types" "^0.15.0" "@osmonauts/utils" "^0.4.0" - "case" "1.6.3" - "dotty" "0.1.2" + case "1.6.3" + dotty "0.1.2" "@osmonauts/helpers@^0.6.0": - "integrity" "sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw==" - "resolved" "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" - "version" "0.6.0" + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" + integrity sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw== dependencies: "@babel/runtime" "^7.18.9" "@cosmjs/amino" "0.28.13" "@cosmjs/crypto" "0.28.13" "@cosmjs/proto-signing" "0.28.13" "@cosmjs/stargate" "0.28.13" - "cosmjs-types" "0.5.1" - "long" "^5.2.0" - "protobufjs" "^6.11.3" + cosmjs-types "0.5.1" + long "^5.2.0" + protobufjs "^6.11.3" "@osmonauts/lcd@^0.6.0": - "integrity" "sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA==" - "resolved" "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" - "version" "0.6.0" + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" + integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== dependencies: "@babel/runtime" "^7.18.9" - "axios" "0.27.2" + axios "0.27.2" "@osmonauts/proto-parser@^0.19.0": - "integrity" "sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g==" - "resolved" "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz" - "version" "0.19.0" + version "0.19.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz" + integrity sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g== dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/types" "^0.15.0" "@pyramation/protobufjs" "6.11.4" - "dotty" "0.1.2" - "glob" "8.0.3" - "mkdirp" "1.0.4" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" "@osmonauts/telescope@0.30.0": - "integrity" "sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg==" - "resolved" "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz" - "version" "0.30.0" + version "0.30.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz" + integrity sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -5483,121 +4708,121 @@ "@osmonauts/types" "^0.15.0" "@osmonauts/utils" "^0.4.0" "@types/parse-package-name" "0.1.0" - "case" "1.6.3" - "dargs" "7.0.0" - "deepmerge" "4.2.2" - "dotty" "0.1.2" - "fuzzy" "0.1.3" - "glob" "8.0.3" - "inquirerer" "0.1.3" - "long" "^5.2.0" - "minimatch" "5.1.0" - "minimist" "1.2.6" - "mkdirp" "1.0.4" - "parse-package-name" "1.0.0" - "rimraf" "3.0.2" - "shelljs" "0.8.5" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" "@osmonauts/types@^0.15.0": - "integrity" "sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ==" - "resolved" "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz" - "version" "0.15.0" + version "0.15.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz" + integrity sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ== dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/utils" "^0.4.0" - "case" "1.6.3" + case "1.6.3" "@osmonauts/utils@^0.4.0": - "integrity" "sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ==" - "resolved" "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz" - "version" "0.4.0" + version "0.4.0" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz" + integrity sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ== dependencies: "@babel/runtime" "^7.18.9" "@popperjs/core@^2.9.3": - "integrity" "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==" - "resolved" "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz" - "version" "2.11.6" + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - "integrity" "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - "resolved" "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== "@protobufjs/base64@^1.1.2": - "integrity" "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - "resolved" "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== "@protobufjs/codegen@^2.0.4": - "integrity" "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - "resolved" "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== "@protobufjs/eventemitter@^1.1.0": - "integrity" "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - "resolved" "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== "@protobufjs/fetch@^1.1.0": - "integrity" "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==" - "resolved" "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== dependencies: "@protobufjs/aspromise" "^1.1.1" "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": - "integrity" "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - "resolved" "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" - "version" "1.0.2" + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== "@protobufjs/inquire@^1.1.0": - "integrity" "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - "resolved" "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== "@protobufjs/path@^1.1.2": - "integrity" "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - "resolved" "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== "@protobufjs/pool@^1.1.0": - "integrity" "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - "resolved" "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== "@protobufjs/utf8@^1.1.0": - "integrity" "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - "resolved" "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" - "version" "1.1.0" + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== "@protobufs/confio@^0.0.6": - "integrity" "sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA==" - "resolved" "https://registry.npmjs.org/@protobufs/confio/-/confio-0.0.6.tgz" - "version" "0.0.6" - -"@protobufs/cosmos_proto@^0.0.10": - "integrity" "sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw==" - "resolved" "https://registry.npmjs.org/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz" - "version" "0.0.10" - dependencies: - "@protobufs/google" "^0.0.10" + version "0.0.6" + resolved "https://registry.npmjs.org/@protobufs/confio/-/confio-0.0.6.tgz" + integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== "@protobufs/cosmos@^0.0.11": - "integrity" "sha512-r9XQikxQ3qaWVJ4EYePP7r/QL/lEEpgSeHiD0U5t4bOXux5gIWrz3AMLe5PIdFxBwkeqkF21Vz4JnVd3/XdC7Q==" - "resolved" "https://registry.npmjs.org/@protobufs/cosmos/-/cosmos-0.0.11.tgz" - "version" "0.0.11" + version "0.0.11" + resolved "https://registry.npmjs.org/@protobufs/cosmos/-/cosmos-0.0.11.tgz" + integrity sha512-r9XQikxQ3qaWVJ4EYePP7r/QL/lEEpgSeHiD0U5t4bOXux5gIWrz3AMLe5PIdFxBwkeqkF21Vz4JnVd3/XdC7Q== dependencies: "@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.npmjs.org/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz" + integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== + dependencies: + "@protobufs/google" "^0.0.10" + "@protobufs/cosmwasm@^0.0.11": - "integrity" "sha512-SiPtJRLltQQ/+OEqBpxXbZt6PuXvfR82P/jh4Xt+KB18A2siaossYPU6I4HIBhpkWT6LIH4QoH5UsWlIzIxbRg==" - "resolved" "https://registry.npmjs.org/@protobufs/cosmwasm/-/cosmwasm-0.0.11.tgz" - "version" "0.0.11" + version "0.0.11" + resolved "https://registry.npmjs.org/@protobufs/cosmwasm/-/cosmwasm-0.0.11.tgz" + integrity sha512-SiPtJRLltQQ/+OEqBpxXbZt6PuXvfR82P/jh4Xt+KB18A2siaossYPU6I4HIBhpkWT6LIH4QoH5UsWlIzIxbRg== dependencies: "@protobufs/cosmos" "^0.0.11" "@protobufs/cosmos_proto" "^0.0.10" @@ -5605,21 +4830,21 @@ "@protobufs/google" "^0.0.10" "@protobufs/gogoproto@^0.0.10": - "integrity" "sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ==" - "resolved" "https://registry.npmjs.org/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz" - "version" "0.0.10" + version "0.0.10" + resolved "https://registry.npmjs.org/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz" + integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== dependencies: "@protobufs/google" "^0.0.10" "@protobufs/google@^0.0.10": - "integrity" "sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw==" - "resolved" "https://registry.npmjs.org/@protobufs/google/-/google-0.0.10.tgz" - "version" "0.0.10" + version "0.0.10" + resolved "https://registry.npmjs.org/@protobufs/google/-/google-0.0.10.tgz" + integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== "@protobufs/ibc@^0.0.11": - "integrity" "sha512-f6D7AGpbbHvm8Mwpc8wirm/bT4rumyz2HZMHeAt2U45cAgV7fELAqXH4UtcXxIfLl1J21BsagPtf/E9KLEdnXw==" - "resolved" "https://registry.npmjs.org/@protobufs/ibc/-/ibc-0.0.11.tgz" - "version" "0.0.11" + version "0.0.11" + resolved "https://registry.npmjs.org/@protobufs/ibc/-/ibc-0.0.11.tgz" + integrity sha512-f6D7AGpbbHvm8Mwpc8wirm/bT4rumyz2HZMHeAt2U45cAgV7fELAqXH4UtcXxIfLl1J21BsagPtf/E9KLEdnXw== dependencies: "@protobufs/confio" "^0.0.6" "@protobufs/cosmos" "^0.0.11" @@ -5628,17 +4853,17 @@ "@protobufs/tendermint" "^0.0.10" "@protobufs/tendermint@^0.0.10": - "integrity" "sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg==" - "resolved" "https://registry.npmjs.org/@protobufs/tendermint/-/tendermint-0.0.10.tgz" - "version" "0.0.10" + version "0.0.10" + resolved "https://registry.npmjs.org/@protobufs/tendermint/-/tendermint-0.0.10.tgz" + integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== dependencies: "@protobufs/gogoproto" "^0.0.10" "@protobufs/google" "^0.0.10" "@pyramation/babel-preset-env@0.1.0": - "integrity" "sha512-NgyUnQv5gDe4mTe0SbS3thOyV/XPdVKFx1KYtWARKTPCH4430nMyCrguAR9BJ1q1FLilGQdnr3JbGS1pPTRtrA==" - "resolved" "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz" - "version" "0.1.0" + version "0.1.0" + resolved "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz" + integrity sha512-NgyUnQv5gDe4mTe0SbS3thOyV/XPdVKFx1KYtWARKTPCH4430nMyCrguAR9BJ1q1FLilGQdnr3JbGS1pPTRtrA== dependencies: "@babel/core" "7.9.6" "@babel/plugin-proposal-class-properties" "7.8.3" @@ -5647,41 +4872,41 @@ "@babel/plugin-transform-runtime" "7.9.6" "@babel/preset-env" "7.9.6" "@babel/preset-react" "7.9.4" - "babel-plugin-macros" "2.8.0" + babel-plugin-macros "2.8.0" "@pyramation/json-schema-ref-parser@9.0.6": - "integrity" "sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg==" - "resolved" "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz" - "version" "9.0.6" + version "9.0.6" + resolved "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz" + integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== dependencies: "@jsdevtools/ono" "^7.1.3" - "call-me-maybe" "^1.0.1" - "js-yaml" "^3.13.1" + call-me-maybe "^1.0.1" + js-yaml "^3.13.1" "@pyramation/json-schema-to-typescript@ 11.0.4": - "integrity" "sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg==" - "resolved" "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz" - "version" "11.0.4" + version "11.0.4" + resolved "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz" + integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== dependencies: "@pyramation/json-schema-ref-parser" "9.0.6" "@types/json-schema" "^7.0.11" "@types/lodash" "^4.14.182" "@types/prettier" "^2.6.1" - "cli-color" "^2.0.2" - "get-stdin" "^8.0.0" - "glob" "^7.1.6" - "glob-promise" "^4.2.2" - "is-glob" "^4.0.3" - "lodash" "^4.17.21" - "minimist" "^1.2.6" - "mkdirp" "^1.0.4" - "mz" "^2.7.0" - "prettier" "^2.6.2" + cli-color "^2.0.2" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^4.2.2" + is-glob "^4.0.3" + lodash "^4.17.21" + minimist "^1.2.6" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.6.2" "@pyramation/protobufjs@6.11.4": - "integrity" "sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg==" - "resolved" "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz" - "version" "6.11.4" + version "6.11.4" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz" + integrity sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -5695,48 +4920,48 @@ "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - "long" "^4.0.0" + long "^4.0.0" "@rushstack/eslint-patch@^1.1.3": - "integrity" "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==" - "resolved" "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz" - "version" "1.2.0" + version "1.2.0" + resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz" + integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== "@sinclair/typebox@^0.24.1": - "integrity" "sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA==" - "resolved" "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz" - "version" "0.24.41" + version "0.24.41" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz" + integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== "@sinonjs/commons@^1.7.0": - "integrity" "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==" - "resolved" "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" - "version" "1.8.3" + version "1.8.3" + resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" + integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== dependencies: - "type-detect" "4.0.8" + type-detect "4.0.8" "@sinonjs/fake-timers@^9.1.2": - "integrity" "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==" - "resolved" "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz" - "version" "9.1.2" + version "9.1.2" + resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz" + integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== dependencies: "@sinonjs/commons" "^1.7.0" "@swc/helpers@0.4.3": - "integrity" "sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA==" - "resolved" "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" - "version" "0.4.3" + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== dependencies: - "tslib" "^2.4.0" + tslib "^2.4.0" "@tootallnate/once@1": - "integrity" "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - "resolved" "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" - "version" "1.1.2" + version "1.1.2" + resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" + integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== "@types/babel__core@^7.1.14": - "integrity" "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==" - "resolved" "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz" - "version" "7.1.19" + version "7.1.19" + resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz" + integrity sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -5745,274 +4970,274 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - "integrity" "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==" - "resolved" "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz" - "version" "7.6.4" + version "7.6.4" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz" + integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - "integrity" "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==" - "resolved" "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz" - "version" "7.4.1" + version "7.4.1" + resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - "integrity" "sha512-FSdLaZh2UxaMuLp9lixWaHq/golWTRWOnRsAXzDTDSDOQLuZb1nsdCt6pJSPWSEQt2eFZ2YVk3oYhn+1kLMeMA==" - "resolved" "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.1.tgz" - "version" "7.18.1" + version "7.18.1" + resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.1.tgz" + integrity sha512-FSdLaZh2UxaMuLp9lixWaHq/golWTRWOnRsAXzDTDSDOQLuZb1nsdCt6pJSPWSEQt2eFZ2YVk3oYhn+1kLMeMA== dependencies: "@babel/types" "^7.3.0" "@types/glob@^7.1.3": - "integrity" "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==" - "resolved" "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz" - "version" "7.2.0" + version "7.2.0" + resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz" + integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== dependencies: "@types/minimatch" "*" "@types/node" "*" "@types/graceful-fs@^4.1.3": - "integrity" "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==" - "resolved" "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" - "version" "4.1.5" + version "4.1.5" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== dependencies: "@types/node" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - "integrity" "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==" - "resolved" "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" - "version" "2.0.4" + version "2.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== "@types/istanbul-lib-report@*": - "integrity" "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==" - "resolved" "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" - "version" "3.0.0" + version "3.0.0" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": - "integrity" "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==" - "resolved" "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" - "version" "3.0.1" + version "3.0.1" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== dependencies: "@types/istanbul-lib-report" "*" "@types/jest@^28.1.7": - "integrity" "sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw==" - "resolved" "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz" - "version" "28.1.8" + version "28.1.8" + resolved "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz" + integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== dependencies: - "expect" "^28.0.0" - "pretty-format" "^28.0.0" + expect "^28.0.0" + pretty-format "^28.0.0" "@types/json-schema@^7.0.11": - "integrity" "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" - "resolved" "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" - "version" "7.0.11" + version "7.0.11" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== "@types/json5@^0.0.29": - "integrity" "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" - "resolved" "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" - "version" "0.0.29" + version "0.0.29" + resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/lodash.mergewith@4.6.6": - "integrity" "sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg==" - "resolved" "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz" - "version" "4.6.6" + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== dependencies: "@types/lodash" "*" "@types/lodash@*", "@types/lodash@^4.14.182": - "integrity" "sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA==" - "resolved" "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" - "version" "4.14.185" + version "4.14.185" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" + integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== "@types/long@^4.0.1": - "integrity" "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" - "resolved" "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz" - "version" "4.0.2" + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== "@types/minimatch@*": - "integrity" "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==" - "resolved" "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz" - "version" "5.1.2" + version "5.1.2" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/minimatch@^3.0.3": - "integrity" "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" - "resolved" "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz" - "version" "3.0.5" + version "3.0.5" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz" + integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== "@types/minimist@^1.2.0": - "integrity" "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" - "resolved" "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" - "version" "1.2.2" + version "1.2.2" + resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" + integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*", "@types/node@>=13.7.0": - "integrity" "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==" - "resolved" "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" - "version" "18.7.18" - -"@types/node@^13.7.0": - "integrity" "sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==" - "resolved" "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz" - "version" "13.13.52" + version "18.7.18" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" + integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== "@types/node@10.12.18": - "integrity" "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==" - "resolved" "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz" - "version" "10.12.18" + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== "@types/node@11.11.6": - "integrity" "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==" - "resolved" "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz" - "version" "11.11.6" + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== "@types/node@18.7.11": - "integrity" "sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw==" - "resolved" "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz" - "version" "18.7.11" + version "18.7.11" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz" + integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/normalize-package-data@^2.4.0": - "integrity" "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" - "resolved" "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz" - "version" "2.4.1" + version "2.4.1" + resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz" + integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== "@types/parse-json@^4.0.0": - "integrity" "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" - "resolved" "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz" - "version" "4.0.0" + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== "@types/parse-package-name@0.1.0": - "integrity" "sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q==" - "resolved" "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz" - "version" "0.1.0" + version "0.1.0" + resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== "@types/prettier@^2.1.5", "@types/prettier@^2.6.1": - "integrity" "sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A==" - "resolved" "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz" - "version" "2.7.0" + version "2.7.0" + resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz" + integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== "@types/prop-types@*": - "integrity" "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" - "resolved" "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz" - "version" "15.7.5" + version "15.7.5" + resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz" + integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== "@types/react-dom@18.0.6": - "integrity" "sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==" - "resolved" "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz" - "version" "18.0.6" + version "18.0.6" + resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.6.tgz" + integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== dependencies: "@types/react" "*" "@types/react-transition-group@^4.4.0": - "integrity" "sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==" - "resolved" "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz" - "version" "4.4.5" + version "4.4.5" + resolved "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz" + integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== dependencies: "@types/react" "*" "@types/react@*": - "integrity" "sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA==" - "resolved" "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz" - "version" "18.0.20" + version "18.0.20" + resolved "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz" + integrity sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" - "csstype" "^3.0.2" + csstype "^3.0.2" -"@types/react@^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react@^16.9.0 || ^17.0.0 || ^18.0.0", "@types/react@18.0.17": - "integrity" "sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==" - "resolved" "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz" - "version" "18.0.17" +"@types/react@18.0.17": + version "18.0.17" + resolved "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz" + integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" - "csstype" "^3.0.2" + csstype "^3.0.2" "@types/scheduler@*": - "integrity" "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" - "resolved" "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz" - "version" "0.16.2" + version "0.16.2" + resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz" + integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== "@types/stack-utils@^2.0.0": - "integrity" "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==" - "resolved" "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz" - "version" "2.0.1" + version "2.0.1" + resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz" + integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== "@types/yargs-parser@*": - "integrity" "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==" - "resolved" "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" - "version" "21.0.0" + version "21.0.0" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== "@types/yargs@^17.0.8": - "integrity" "sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ==" - "resolved" "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz" - "version" "17.0.12" + version "17.0.12" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz" + integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== dependencies: "@types/yargs-parser" "*" "@typescript-eslint/parser@^5.21.0": - "integrity" "sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw==" - "resolved" "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.37.0.tgz" - "version" "5.37.0" + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.37.0.tgz" + integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== dependencies: "@typescript-eslint/scope-manager" "5.37.0" "@typescript-eslint/types" "5.37.0" "@typescript-eslint/typescript-estree" "5.37.0" - "debug" "^4.3.4" + debug "^4.3.4" "@typescript-eslint/scope-manager@5.37.0": - "integrity" "sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q==" - "resolved" "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz" - "version" "5.37.0" + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz" + integrity sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q== dependencies: "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" "@typescript-eslint/types@5.37.0": - "integrity" "sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA==" - "resolved" "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.37.0.tgz" - "version" "5.37.0" + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.37.0.tgz" + integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== "@typescript-eslint/typescript-estree@5.37.0": - "integrity" "sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA==" - "resolved" "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz" - "version" "5.37.0" + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz" + integrity sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA== dependencies: "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" - "debug" "^4.3.4" - "globby" "^11.1.0" - "is-glob" "^4.0.3" - "semver" "^7.3.7" - "tsutils" "^3.21.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" "@typescript-eslint/visitor-keys@5.37.0": - "integrity" "sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA==" - "resolved" "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz" - "version" "5.37.0" + version "5.37.0" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz" + integrity sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA== dependencies: "@typescript-eslint/types" "5.37.0" - "eslint-visitor-keys" "^3.3.0" + eslint-visitor-keys "^3.3.0" "@walletconnect/browser-utils@^1.8.0": - "integrity" "sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A==" - "resolved" "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== dependencies: "@walletconnect/safe-json" "1.0.0" "@walletconnect/types" "^1.8.0" "@walletconnect/window-getters" "1.0.0" "@walletconnect/window-metadata" "1.0.0" - "detect-browser" "5.2.0" + detect-browser "5.2.0" "@walletconnect/client@1.7.8": - "integrity" "sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg==" - "resolved" "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz" - "version" "1.7.8" + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz" + integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== dependencies: "@walletconnect/core" "^1.7.8" "@walletconnect/iso-crypto" "^1.7.8" @@ -6020,9 +5245,9 @@ "@walletconnect/utils" "^1.7.8" "@walletconnect/client@1.8.0": - "integrity" "sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== dependencies: "@walletconnect/core" "^1.8.0" "@walletconnect/iso-crypto" "^1.8.0" @@ -6030,74 +5255,74 @@ "@walletconnect/utils" "^1.8.0" "@walletconnect/core@^1.0.0", "@walletconnect/core@^1.7.8", "@walletconnect/core@^1.8.0": - "integrity" "sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw==" - "resolved" "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== dependencies: "@walletconnect/socket-transport" "^1.8.0" "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" "@walletconnect/crypto@^1.0.2": - "integrity" "sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz" - "version" "1.0.2" + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== dependencies: "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" "@walletconnect/randombytes" "^1.0.2" - "aes-js" "^3.1.2" - "hash.js" "^1.1.7" + aes-js "^3.1.2" + hash.js "^1.1.7" "@walletconnect/encoding@^1.0.1": - "integrity" "sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA==" - "resolved" "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz" - "version" "1.0.1" + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== dependencies: - "is-typedarray" "1.0.0" - "typedarray-to-buffer" "3.1.5" + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" "@walletconnect/environment@^1.0.0": - "integrity" "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== "@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": - "integrity" "sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== dependencies: "@walletconnect/crypto" "^1.0.2" "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" "@walletconnect/jsonrpc-types@^1.0.1": - "integrity" "sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw==" - "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz" - "version" "1.0.1" + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== dependencies: - "keyvaluestorage-interface" "^1.0.0" + keyvaluestorage-interface "^1.0.0" "@walletconnect/jsonrpc-utils@^1.0.3": - "integrity" "sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz" - "version" "1.0.3" + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== dependencies: "@walletconnect/environment" "^1.0.0" "@walletconnect/jsonrpc-types" "^1.0.1" "@walletconnect/node-crypto@^1.0.0": - "integrity" "sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA==" - "resolved" "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== dependencies: "@walletconnect/types" "^1.0.0" "@walletconnect/utils" "^1.0.0" "@walletconnect/node@1.0.0": - "integrity" "sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== dependencies: "@walletconnect/core" "^1.0.0" "@walletconnect/node-crypto" "^1.0.0" @@ -6105,497 +5330,499 @@ "@walletconnect/utils" "^1.0.0" "@walletconnect/randombytes@^1.0.2": - "integrity" "sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A==" - "resolved" "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz" - "version" "1.0.2" + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== dependencies: "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" - "randombytes" "^2.1.0" + randombytes "^2.1.0" "@walletconnect/safe-json@1.0.0": - "integrity" "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" - "resolved" "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== "@walletconnect/socket-transport@^1.8.0": - "integrity" "sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ==" - "resolved" "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== dependencies: "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" - "ws" "7.5.3" - -"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": - "integrity" "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" - "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" - "version" "1.8.0" - -"@walletconnect/types@^1.7.8": - "integrity" "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" - "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" - "version" "1.8.0" + ws "7.5.3" "@walletconnect/types@1.7.8": - "integrity" "sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA==" - "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz" - "version" "1.7.8" + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz" + integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== "@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": - "integrity" "sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA==" - "resolved" "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" - "version" "1.8.0" + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== dependencies: "@walletconnect/browser-utils" "^1.8.0" "@walletconnect/encoding" "^1.0.1" "@walletconnect/jsonrpc-utils" "^1.0.3" "@walletconnect/types" "^1.8.0" - "bn.js" "4.11.8" - "js-sha3" "0.8.0" - "query-string" "6.13.5" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" -"@walletconnect/window-getters@^1.0.0", "@walletconnect/window-getters@1.0.0": - "integrity" "sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==" - "resolved" "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz" - "version" "1.0.0" +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== "@walletconnect/window-metadata@1.0.0": - "integrity" "sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==" - "resolved" "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz" - "version" "1.0.0" + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== dependencies: "@walletconnect/window-getters" "^1.0.0" "@zag-js/element-size@0.1.0": - "integrity" "sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ==" - "resolved" "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz" - "version" "0.1.0" + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== "@zag-js/focus-visible@0.1.0": - "integrity" "sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg==" - "resolved" "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz" - "version" "0.1.0" - -"abbrev@1": - "integrity" "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - "resolved" "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" - "version" "1.1.1" - -"acorn-jsx@^5.3.2": - "integrity" "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==" - "resolved" "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" - "version" "5.3.2" - -"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", "acorn@^8.8.0": - "integrity" "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==" - "resolved" "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" - "version" "8.8.0" - -"add-stream@^1.0.0": - "integrity" "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==" - "resolved" "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz" - "version" "1.0.0" - -"aes-js@^3.1.2": - "integrity" "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" - "resolved" "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz" - "version" "3.1.2" - -"agent-base@^6.0.2", "agent-base@6": - "integrity" "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==" - "resolved" "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" - "version" "6.0.2" - dependencies: - "debug" "4" - -"agentkeepalive@^4.1.3": - "integrity" "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==" - "resolved" "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz" - "version" "4.2.1" - dependencies: - "debug" "^4.1.0" - "depd" "^1.1.2" - "humanize-ms" "^1.2.1" - -"aggregate-error@^3.0.0": - "integrity" "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==" - "resolved" "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "clean-stack" "^2.0.0" - "indent-string" "^4.0.0" - -"ajv@^6.10.0", "ajv@^6.12.3", "ajv@^6.12.4": - "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" - "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" - "version" "6.12.6" - dependencies: - "fast-deep-equal" "^3.1.1" - "fast-json-stable-stringify" "^2.0.0" - "json-schema-traverse" "^0.4.1" - "uri-js" "^4.2.2" - -"ansi-escapes@^2.0.0": - "integrity" "sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg==" - "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" - "version" "2.0.0" - -"ansi-escapes@^3.2.0": - "integrity" "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" - "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz" - "version" "3.2.0" - -"ansi-escapes@^4.2.1": - "integrity" "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==" - "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" - "version" "4.3.2" - dependencies: - "type-fest" "^0.21.3" - -"ansi-regex@^2.0.0": - "integrity" "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" - "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" - "version" "2.1.1" - -"ansi-regex@^3.0.0": - "integrity" "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==" - "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" - "version" "3.0.1" - -"ansi-regex@^4.1.0": - "integrity" "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" - "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" - "version" "4.1.1" - -"ansi-regex@^5.0.1": - "integrity" "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" - "version" "5.0.1" - -"ansi-styles@^2.2.1": - "integrity" "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==" - "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz" - "version" "2.2.1" - -"ansi-styles@^3.2.1", "ansi-styles@^4.0.0", "ansi-styles@^4.1.0": - "integrity" "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==" - "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" - "version" "4.3.0" - dependencies: - "color-convert" "^2.0.1" - -"ansi-styles@^5.0.0": - "integrity" "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==" - "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" - "version" "5.2.0" - -"any-promise@^1.0.0": - "integrity" "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" - "resolved" "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" - "version" "1.3.0" - -"anymatch@^3.0.3", "anymatch@~3.1.2": - "integrity" "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==" - "resolved" "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" - "version" "3.1.2" - dependencies: - "normalize-path" "^3.0.0" - "picomatch" "^2.0.4" - -"aproba@^1.0.3": - "integrity" "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - "resolved" "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz" - "version" "1.2.0" - -"aproba@^2.0.0": - "integrity" "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" - "resolved" "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" - "version" "2.0.0" - -"are-we-there-yet@~1.1.2": - "integrity" "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==" - "resolved" "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz" - "version" "1.1.7" - dependencies: - "delegates" "^1.0.0" - "readable-stream" "^2.0.6" - -"argparse@^1.0.7": - "integrity" "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==" - "resolved" "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" - "version" "1.0.10" - dependencies: - "sprintf-js" "~1.0.2" - -"argparse@^2.0.1": - "integrity" "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - "resolved" "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" - "version" "2.0.1" - -"aria-hidden@^1.1.1": - "integrity" "sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A==" - "resolved" "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz" - "version" "1.2.1" - dependencies: - "tslib" "^2.0.0" - -"aria-query@^4.2.2": - "integrity" "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==" - "resolved" "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz" - "version" "4.2.2" + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +JSONStream@^1.0.4: + version "1.3.5" + resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz" + integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== + dependencies: + jsonparse "^1.2.0" + through ">=2.2.7 <3" + +abbrev@1: + version "1.1.1" + resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn@^8.8.0: + version "8.8.0" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" + integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== + +add-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz" + integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +agent-base@6, agent-base@^6.0.2: + version "6.0.2" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +agentkeepalive@^4.1.3: + version "4.2.1" + resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz" + integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== + dependencies: + debug "^4.1.0" + depd "^1.1.2" + humanize-ms "^1.2.1" + +aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + +ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-escapes@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" + integrity sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg== + +ansi-escapes@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz" + integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@^3.0.3, anymatch@~3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +aproba@^1.0.3: + version "1.2.0" + resolved "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz" + integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== + +aproba@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" + 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.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz" + integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== + dependencies: + delegates "^1.0.0" + readable-stream "^2.0.6" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +aria-query@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz" + integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== dependencies: "@babel/runtime" "^7.10.2" "@babel/runtime-corejs3" "^7.10.2" -"array-differ@^3.0.0": - "integrity" "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==" - "resolved" "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz" - "version" "3.0.0" - -"array-ify@^1.0.0": - "integrity" "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==" - "resolved" "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz" - "version" "1.0.0" - -"array-includes@^3.1.4", "array-includes@^3.1.5": - "integrity" "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==" - "resolved" "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz" - "version" "3.1.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.4" - "es-abstract" "^1.19.5" - "get-intrinsic" "^1.1.1" - "is-string" "^1.0.7" - -"array-union@^2.1.0": - "integrity" "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" - "resolved" "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" - "version" "2.1.0" - -"array.prototype.flat@^1.2.5": - "integrity" "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==" - "resolved" "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.2" - "es-shim-unscopables" "^1.0.0" - -"array.prototype.flatmap@^1.3.0": - "integrity" "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==" - "resolved" "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.2" - "es-shim-unscopables" "^1.0.0" - -"array.prototype.reduce@^1.0.4": - "integrity" "sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw==" - "resolved" "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.2" - "es-array-method-boxes-properly" "^1.0.0" - "is-string" "^1.0.7" - -"arrify@^1.0.1": - "integrity" "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" - "resolved" "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" - "version" "1.0.1" - -"arrify@^2.0.1": - "integrity" "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" - "resolved" "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz" - "version" "2.0.1" - -"asap@^2.0.0": - "integrity" "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - "resolved" "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" - "version" "2.0.6" - -"asn1@~0.2.3": - "integrity" "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==" - "resolved" "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz" - "version" "0.2.6" - dependencies: - "safer-buffer" "~2.1.0" - -"assert-plus@^1.0.0", "assert-plus@1.0.0": - "integrity" "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==" - "resolved" "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" - "version" "1.0.0" - -"ast-stringify@0.1.0": - "integrity" "sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA==" - "resolved" "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz" - "version" "0.1.0" +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== + +array-ify@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz" + integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== + +array-includes@^3.1.4, array-includes@^3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz" + integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + get-intrinsic "^1.1.1" + is-string "^1.0.7" + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +array.prototype.flat@^1.2.5: + version "1.3.0" + resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz" + integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" + +array.prototype.flatmap@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz" + integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" + +array.prototype.reduce@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz" + integrity sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-array-method-boxes-properly "^1.0.0" + is-string "^1.0.7" + +arrify@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" + integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== + +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + +asap@^2.0.0: + version "2.0.6" + resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== + +asn1@~0.2.3: + version "0.2.6" + resolved "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz" + 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.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" + integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== + +ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== dependencies: "@babel/runtime" "^7.11.2" -"ast-types-flow@^0.0.7": - "integrity" "sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==" - "resolved" "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz" - "version" "0.0.7" - -"asynckit@^0.4.0": - "integrity" "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - "resolved" "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" - "version" "0.4.0" - -"at-least-node@^1.0.0": - "integrity" "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" - "resolved" "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" - "version" "1.0.0" - -"aws-sign2@~0.7.0": - "integrity" "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==" - "resolved" "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz" - "version" "0.7.0" - -"aws4@^1.8.0": - "integrity" "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - "resolved" "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz" - "version" "1.11.0" - -"axe-core@^4.4.3": - "integrity" "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" - "resolved" "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz" - "version" "4.4.3" - -"axios@^0.21.1", "axios@^0.21.2": - "integrity" "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==" - "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" - "version" "0.21.4" - dependencies: - "follow-redirects" "^1.14.0" - -"axios@^0.27.2": - "integrity" "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==" - "resolved" "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" - "version" "0.27.2" - dependencies: - "follow-redirects" "^1.14.9" - "form-data" "^4.0.0" - -"axios@0.21.1": - "integrity" "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==" - "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz" - "version" "0.21.1" - dependencies: - "follow-redirects" "^1.10.0" - -"axios@0.27.2": - "integrity" "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==" - "resolved" "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" - "version" "0.27.2" - dependencies: - "follow-redirects" "^1.14.9" - "form-data" "^4.0.0" - -"axobject-query@^2.2.0": - "integrity" "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==" - "resolved" "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz" - "version" "2.2.0" - -"babel-core@7.0.0-bridge.0": - "integrity" "sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==" - "resolved" "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz" - "version" "7.0.0-bridge.0" - -"babel-jest@^28.0.0", "babel-jest@^28.1.1", "babel-jest@^28.1.3", "babel-jest@28.1.3": - "integrity" "sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q==" - "resolved" "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.3.tgz" - "version" "28.1.3" +ast-types-flow@^0.0.7: + version "0.0.7" + resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz" + integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz" + integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== + +aws4@^1.8.0: + version "1.11.0" + resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz" + integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== + +axe-core@^4.4.3: + version "4.4.3" + resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz" + integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axobject-query@^2.2.0: + version "2.2.0" + resolved "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz" + integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== + +babel-core@7.0.0-bridge.0: + version "7.0.0-bridge.0" + resolved "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz" + integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== + +babel-jest@28.1.3, babel-jest@^28.1.1, babel-jest@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.3.tgz" + integrity sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q== dependencies: "@jest/transform" "^28.1.3" "@types/babel__core" "^7.1.14" - "babel-plugin-istanbul" "^6.1.1" - "babel-preset-jest" "^28.1.3" - "chalk" "^4.0.0" - "graceful-fs" "^4.2.9" - "slash" "^3.0.0" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^28.1.3" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" -"babel-plugin-dynamic-import-node@^2.3.3": - "integrity" "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==" - "resolved" "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz" - "version" "2.3.3" +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== dependencies: - "object.assign" "^4.1.0" + object.assign "^4.1.0" -"babel-plugin-istanbul@^6.1.1": - "integrity" "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==" - "resolved" "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" - "version" "6.1.1" +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@istanbuljs/load-nyc-config" "^1.0.0" "@istanbuljs/schema" "^0.1.2" - "istanbul-lib-instrument" "^5.0.4" - "test-exclude" "^6.0.0" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" -"babel-plugin-jest-hoist@^28.1.3": - "integrity" "sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q==" - "resolved" "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz" - "version" "28.1.3" +babel-plugin-jest-hoist@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz" + integrity sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q== 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": - "integrity" "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==" - "resolved" "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz" - "version" "3.1.0" +babel-plugin-macros@2.8.0: + version "2.8.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz" + integrity sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg== dependencies: - "@babel/runtime" "^7.12.5" - "cosmiconfig" "^7.0.0" - "resolve" "^1.19.0" + "@babel/runtime" "^7.7.2" + cosmiconfig "^6.0.0" + resolve "^1.12.0" -"babel-plugin-macros@2.8.0": - "integrity" "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==" - "resolved" "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz" - "version" "2.8.0" +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== dependencies: - "@babel/runtime" "^7.7.2" - "cosmiconfig" "^6.0.0" - "resolve" "^1.12.0" + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" -"babel-plugin-polyfill-corejs2@^0.3.2": - "integrity" "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==" - "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" - "version" "0.3.3" +babel-plugin-polyfill-corejs2@^0.3.2: + version "0.3.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== dependencies: "@babel/compat-data" "^7.17.7" "@babel/helper-define-polyfill-provider" "^0.3.3" - "semver" "^6.1.1" + semver "^6.1.1" -"babel-plugin-polyfill-corejs3@^0.5.3": - "integrity" "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==" - "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz" - "version" "0.5.3" +babel-plugin-polyfill-corejs3@^0.5.3: + version "0.5.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz" + integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== dependencies: "@babel/helper-define-polyfill-provider" "^0.3.2" - "core-js-compat" "^3.21.0" + core-js-compat "^3.21.0" -"babel-plugin-polyfill-regenerator@^0.4.0": - "integrity" "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==" - "resolved" "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" - "version" "0.4.1" +babel-plugin-polyfill-regenerator@^0.4.0: + version "0.4.1" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== dependencies: "@babel/helper-define-polyfill-provider" "^0.3.3" -"babel-preset-current-node-syntax@^1.0.0": - "integrity" "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==" - "resolved" "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz" - "version" "1.0.1" +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" @@ -6610,3003 +5837,2959 @@ "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -"babel-preset-jest@^28.1.3": - "integrity" "sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A==" - "resolved" "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz" - "version" "28.1.3" - dependencies: - "babel-plugin-jest-hoist" "^28.1.3" - "babel-preset-current-node-syntax" "^1.0.0" - -"babel-watch@^7.0.0": - "integrity" "sha512-PKytGmhgXWcNmNK+Y0fEQ/0+re8jDVAAppL1JGqdPKihab2siG5dzbM1dnKXvn0VWOW1ybJjiW+dDb6nV0S1KA==" - "resolved" "https://registry.npmjs.org/babel-watch/-/babel-watch-7.7.0.tgz" - "version" "7.7.0" - 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" - "source-map-support" "^0.5.19" - "string-argv" "^0.3.1" - -"balanced-match@^1.0.0": - "integrity" "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - "resolved" "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" - "version" "1.0.2" - -"base-x@^3.0.2": - "integrity" "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==" - "resolved" "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" - "version" "3.0.9" - dependencies: - "safe-buffer" "^5.0.1" - -"base64-js@^1.0.2", "base64-js@^1.3.0", "base64-js@^1.3.1": - "integrity" "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - "resolved" "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" - "version" "1.5.1" - -"bcrypt-pbkdf@^1.0.0": - "integrity" "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==" - "resolved" "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "tweetnacl" "^0.14.3" - -"bech32@^1.1.3", "bech32@^1.1.4": - "integrity" "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" - "resolved" "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz" - "version" "1.1.4" - -"before-after-hook@^2.2.0": - "integrity" "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==" - "resolved" "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz" - "version" "2.2.2" - -"big-integer@^1.6.48": - "integrity" "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==" - "resolved" "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" - "version" "1.6.51" - -"binary-extensions@^2.0.0": - "integrity" "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" - "resolved" "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" - "version" "2.2.0" - -"bindings@^1.3.0": - "integrity" "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==" - "resolved" "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz" - "version" "1.5.0" - dependencies: - "file-uri-to-path" "1.0.0" - -"bip32@^2.0.6": - "integrity" "sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==" - "resolved" "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz" - "version" "2.0.6" +babel-preset-jest@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz" + integrity sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A== + dependencies: + babel-plugin-jest-hoist "^28.1.3" + babel-preset-current-node-syntax "^1.0.0" + +babel-watch@^7.0.0: + version "7.7.0" + resolved "https://registry.npmjs.org/babel-watch/-/babel-watch-7.7.0.tgz" + integrity sha512-PKytGmhgXWcNmNK+Y0fEQ/0+re8jDVAAppL1JGqdPKihab2siG5dzbM1dnKXvn0VWOW1ybJjiW+dDb6nV0S1KA== + 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" + source-map-support "^0.5.19" + string-argv "^0.3.1" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bcrypt-pbkdf@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz" + integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== + dependencies: + tweetnacl "^0.14.3" + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +before-after-hook@^2.2.0: + version "2.2.2" + resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz" + integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== dependencies: "@types/node" "10.12.18" - "bs58check" "^2.1.1" - "create-hash" "^1.2.0" - "create-hmac" "^1.1.7" - "tiny-secp256k1" "^1.1.3" - "typeforce" "^1.11.5" - "wif" "^2.0.6" - -"bip39@^3.0.2", "bip39@^3.0.3": - "integrity" "sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw==" - "resolved" "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz" - "version" "3.0.4" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== dependencies: "@types/node" "11.11.6" - "create-hash" "^1.1.0" - "pbkdf2" "^3.0.9" - "randombytes" "^2.0.1" - -"bn.js@^4.11.8", "bn.js@^4.11.9": - "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" - "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" - "version" "4.12.0" - -"bn.js@^5.2.0": - "integrity" "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" - "version" "5.2.1" - -"bn.js@^5.2.1": - "integrity" "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" - "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" - "version" "5.2.1" - -"bn.js@4.11.8": - "integrity" "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" - "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz" - "version" "4.11.8" - -"bowser@2.11.0": - "integrity" "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" - "resolved" "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" - "version" "2.11.0" - -"brace-expansion@^1.1.7": - "integrity" "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==" - "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" - "version" "1.1.11" - dependencies: - "balanced-match" "^1.0.0" - "concat-map" "0.0.1" - -"brace-expansion@^2.0.1": - "integrity" "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==" - "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" - "version" "2.0.1" - dependencies: - "balanced-match" "^1.0.0" - -"braces@^3.0.2", "braces@~3.0.2": - "integrity" "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==" - "resolved" "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" - "version" "3.0.2" - dependencies: - "fill-range" "^7.0.1" - -"brorand@^1.1.0": - "integrity" "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" - "resolved" "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" - "version" "1.1.0" - -"browserslist@^4.11.1", "browserslist@^4.12.0", "browserslist@^4.21.3", "browserslist@>= 4.21.0": - "integrity" "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==" - "resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" - "version" "4.21.4" - dependencies: - "caniuse-lite" "^1.0.30001400" - "electron-to-chromium" "^1.4.251" - "node-releases" "^2.0.6" - "update-browserslist-db" "^1.0.9" - -"browserslist@^4.20.2": - "version" "4.21.3" - dependencies: - "caniuse-lite" "^1.0.30001370" - "electron-to-chromium" "^1.4.202" - "node-releases" "^2.0.6" - "update-browserslist-db" "^1.0.5" - -"bs-logger@0.x": - "integrity" "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==" - "resolved" "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" - "version" "0.2.6" - dependencies: - "fast-json-stable-stringify" "2.x" - -"bs58@^4.0.0": - "integrity" "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==" - "resolved" "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz" - "version" "4.0.1" - dependencies: - "base-x" "^3.0.2" - -"bs58check@^2.1.1", "bs58check@^2.1.2", "bs58check@<3.0.0": - "integrity" "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==" - "resolved" "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz" - "version" "2.1.2" - dependencies: - "bs58" "^4.0.0" - "create-hash" "^1.1.0" - "safe-buffer" "^5.1.2" - -"bser@2.1.1": - "integrity" "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==" - "resolved" "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" - "version" "2.1.1" - dependencies: - "node-int64" "^0.4.0" - -"buffer-from@^1.0.0": - "integrity" "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" - "resolved" "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" - "version" "1.1.2" - -"buffer@^6.0.3", "buffer@6.0.3": - "integrity" "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==" - "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" - "version" "6.0.3" - dependencies: - "base64-js" "^1.3.1" - "ieee754" "^1.2.1" - -"buffer@~5.4.3": - "integrity" "sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==" - "resolved" "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz" - "version" "5.4.3" - dependencies: - "base64-js" "^1.0.2" - "ieee754" "^1.1.4" - -"builtins@^1.0.3": - "integrity" "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==" - "resolved" "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz" - "version" "1.0.3" - -"byline@^5.0.0": - "integrity" "sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==" - "resolved" "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz" - "version" "5.0.0" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +browserslist@^4.11.1, browserslist@^4.21.3: + version "4.21.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bs-logger@0.x: + version "0.2.6" + resolved "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" + integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== + dependencies: + fast-json-stable-stringify "2.x" + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +builtins@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz" + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== + +byline@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz" + integrity sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q== -"byte-size@^7.0.0": - "integrity" "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==" - "resolved" "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz" - "version" "7.0.1" +byte-size@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz" + integrity sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A== -"cacache@^15.0.5", "cacache@^15.2.0": - "integrity" "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==" - "resolved" "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz" - "version" "15.3.0" +cacache@^15.0.5, cacache@^15.2.0: + version "15.3.0" + resolved "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz" + integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== dependencies: "@npmcli/fs" "^1.0.0" "@npmcli/move-file" "^1.0.1" - "chownr" "^2.0.0" - "fs-minipass" "^2.0.0" - "glob" "^7.1.4" - "infer-owner" "^1.0.4" - "lru-cache" "^6.0.0" - "minipass" "^3.1.1" - "minipass-collect" "^1.0.2" - "minipass-flush" "^1.0.5" - "minipass-pipeline" "^1.2.2" - "mkdirp" "^1.0.3" - "p-map" "^4.0.0" - "promise-inflight" "^1.0.1" - "rimraf" "^3.0.2" - "ssri" "^8.0.1" - "tar" "^6.0.2" - "unique-filename" "^1.1.1" - -"call-bind@^1.0.0", "call-bind@^1.0.2": - "integrity" "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==" - "resolved" "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "function-bind" "^1.1.1" - "get-intrinsic" "^1.0.2" - -"call-me-maybe@^1.0.1": - "integrity" "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==" - "resolved" "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz" - "version" "1.0.1" - -"callsites@^3.0.0": - "integrity" "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" - "resolved" "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" - "version" "3.1.0" - -"camelcase-keys@^6.2.2": - "integrity" "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==" - "resolved" "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz" - "version" "6.2.2" - dependencies: - "camelcase" "^5.3.1" - "map-obj" "^4.0.0" - "quick-lru" "^4.0.1" - -"camelcase@^5.3.1": - "integrity" "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" - "version" "5.3.1" - -"camelcase@^6.2.0": - "integrity" "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" - "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" - "version" "6.3.0" - -"caniuse-lite@^1.0.30001332", "caniuse-lite@^1.0.30001400": - "integrity" "sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew==" - "resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" - "version" "1.0.30001402" - -"caniuse-lite@^1.0.30001370": - "version" "1.0.30001373" - -"case@1.6.3": - "integrity" "sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==" - "resolved" "https://registry.npmjs.org/case/-/case-1.6.3.tgz" - "version" "1.6.3" - -"caseless@~0.12.0": - "integrity" "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" - "resolved" "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" - "version" "0.12.0" - -"chain-registry@^0.10.0": - "integrity" "sha512-AvBo2WpPmZUB+3LQ2lEKOQF5IB5OGqkhVw9DYN2yM9dFq+f5QNm62N0ekLzv+qRDYT5QAS2ofSsmIdqwLYwGzA==" - "resolved" "https://registry.npmjs.org/chain-registry/-/chain-registry-0.10.3.tgz" - "version" "0.10.3" - dependencies: - "@babel/runtime" "^7.18.3" - "@chain-registry/types" "^0.7.1" - -"chain-registry@0.14.0": - "integrity" "sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw==" - "resolved" "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz" - "version" "0.14.0" + chownr "^2.0.0" + fs-minipass "^2.0.0" + glob "^7.1.4" + infer-owner "^1.0.4" + lru-cache "^6.0.0" + minipass "^3.1.1" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.2" + mkdirp "^1.0.3" + p-map "^4.0.0" + promise-inflight "^1.0.1" + rimraf "^3.0.2" + ssri "^8.0.1" + tar "^6.0.2" + unique-filename "^1.1.1" + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +call-me-maybe@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz" + integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase-keys@^6.2.2: + version "6.2.2" + resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz" + integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== + dependencies: + camelcase "^5.3.1" + map-obj "^4.0.0" + quick-lru "^4.0.1" + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +case@1.6.3: + version "1.6.3" + resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz" + integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" + integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== + +chain-registry@0.14.0, chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== dependencies: "@babel/runtime" "^7.19.0" "@chain-registry/types" "^0.11.0" -"chakra-react-select@4.2.2": - "integrity" "sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ==" - "resolved" "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz" - "version" "4.2.2" - dependencies: - "react-select" "^5.4.0" - -"chalk@^1.0.0", "chalk@^1.1.3": - "integrity" "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==" - "resolved" "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz" - "version" "1.1.3" - dependencies: - "ansi-styles" "^2.2.1" - "escape-string-regexp" "^1.0.2" - "has-ansi" "^2.0.0" - "strip-ansi" "^3.0.0" - "supports-color" "^2.0.0" - -"chalk@^2.0.0", "chalk@^4.0.0", "chalk@^4.1.0": - "integrity" "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" - "resolved" "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" - "version" "4.1.2" - dependencies: - "ansi-styles" "^4.1.0" - "supports-color" "^7.1.0" - -"chalk@^2.4.2": - "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" - "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" - "version" "2.4.2" - dependencies: - "ansi-styles" "^3.2.1" - "escape-string-regexp" "^1.0.5" - "supports-color" "^5.3.0" - -"char-regex@^1.0.2": - "integrity" "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==" - "resolved" "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" - "version" "1.0.2" - -"chardet@^0.4.0": - "integrity" "sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==" - "resolved" "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz" - "version" "0.4.2" - -"chardet@^0.7.0": - "integrity" "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - "resolved" "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" - "version" "0.7.0" - -"charenc@~0.0.1": - "integrity" "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==" - "resolved" "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz" - "version" "0.0.2" - -"chokidar@^3.4.0", "chokidar@^3.4.3": - "integrity" "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==" - "resolved" "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" - "version" "3.5.3" - dependencies: - "anymatch" "~3.1.2" - "braces" "~3.0.2" - "glob-parent" "~5.1.2" - "is-binary-path" "~2.1.0" - "is-glob" "~4.0.1" - "normalize-path" "~3.0.0" - "readdirp" "~3.6.0" +chakra-react-select@4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz" + integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== + dependencies: + react-select "^5.4.0" + +chalk@^1.0.0, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.0, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.1.0: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + 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.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz" + integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +chokidar@^3.4.0, chokidar@^3.4.3: + version "3.5.3" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" optionalDependencies: - "fsevents" "~2.3.2" - -"chownr@^1.1.4": - "integrity" "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - "resolved" "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz" - "version" "1.1.4" - -"chownr@^2.0.0": - "integrity" "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" - "resolved" "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" - "version" "2.0.0" - -"ci-info@^2.0.0": - "integrity" "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz" - "version" "2.0.0" - -"ci-info@^3.2.0": - "integrity" "sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug==" - "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz" - "version" "3.4.0" - -"cipher-base@^1.0.1", "cipher-base@^1.0.3": - "integrity" "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==" - "resolved" "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "inherits" "^2.0.1" - "safe-buffer" "^5.0.1" - -"cjs-module-lexer@^1.0.0": - "integrity" "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==" - "resolved" "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz" - "version" "1.2.2" - -"clean-stack@^2.0.0": - "integrity" "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" - "resolved" "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" - "version" "2.2.0" - -"cli-color@^2.0.2": - "integrity" "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==" - "resolved" "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz" - "version" "2.0.3" - dependencies: - "d" "^1.0.1" - "es5-ext" "^0.10.61" - "es6-iterator" "^2.0.3" - "memoizee" "^0.4.15" - "timers-ext" "^0.1.7" - -"cli-cursor@^2.1.0": - "integrity" "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==" - "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "restore-cursor" "^2.0.0" - -"cli-cursor@^3.1.0": - "integrity" "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==" - "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "restore-cursor" "^3.1.0" - -"cli-width@^2.0.0": - "integrity" "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" - "resolved" "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz" - "version" "2.2.1" - -"cli-width@^3.0.0": - "integrity" "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" - "resolved" "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" - "version" "3.0.0" - -"cliui@^7.0.2": - "integrity" "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==" - "resolved" "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" - "version" "7.0.4" - dependencies: - "string-width" "^4.2.0" - "strip-ansi" "^6.0.0" - "wrap-ansi" "^7.0.0" - -"clone-deep@^4.0.1": - "integrity" "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==" - "resolved" "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz" - "version" "4.0.1" - dependencies: - "is-plain-object" "^2.0.4" - "kind-of" "^6.0.2" - "shallow-clone" "^3.0.0" - -"clone@^1.0.2": - "integrity" "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==" - "resolved" "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz" - "version" "1.0.4" - -"cmd-shim@^4.1.0": - "integrity" "sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw==" - "resolved" "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "mkdirp-infer-owner" "^2.0.0" - -"co@^4.6.0": - "integrity" "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==" - "resolved" "https://registry.npmjs.org/co/-/co-4.6.0.tgz" - "version" "4.6.0" - -"code-point-at@^1.0.0": - "integrity" "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" - "resolved" "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" - "version" "1.1.0" - -"collect-v8-coverage@^1.0.0": - "integrity" "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==" - "resolved" "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz" - "version" "1.0.1" - -"color-convert@^1.9.0": - "integrity" "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==" - "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" - "version" "1.9.3" - dependencies: - "color-name" "1.1.3" - -"color-convert@^2.0.1": - "integrity" "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==" - "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" - "version" "2.0.1" - dependencies: - "color-name" "~1.1.4" - -"color-name@~1.1.4": - "integrity" "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" - "version" "1.1.4" - -"color-name@1.1.3": - "integrity" "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" - "version" "1.1.3" - -"colors@^1.1.2": - "integrity" "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" - "resolved" "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" - "version" "1.4.0" - -"columnify@^1.5.4": - "integrity" "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==" - "resolved" "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz" - "version" "1.6.0" - dependencies: - "strip-ansi" "^6.0.1" - "wcwidth" "^1.0.0" - -"combined-stream@^1.0.6", "combined-stream@^1.0.8", "combined-stream@~1.0.6": - "integrity" "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==" - "resolved" "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" - "version" "1.0.8" - dependencies: - "delayed-stream" "~1.0.0" - -"commander@^4.0.1": - "integrity" "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" - "resolved" "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" - "version" "4.1.1" - -"commander@^6.2.0": - "integrity" "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" - "resolved" "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz" - "version" "6.2.1" - -"commondir@^1.0.1": - "integrity" "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" - "resolved" "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz" - "version" "1.0.1" - -"compare-func@^2.0.0": - "integrity" "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==" - "resolved" "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "array-ify" "^1.0.0" - "dot-prop" "^5.1.0" - -"compute-scroll-into-view@1.0.14": - "integrity" "sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ==" - "resolved" "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz" - "version" "1.0.14" - -"concat-map@0.0.1": - "integrity" "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - "resolved" "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" - "version" "0.0.1" - -"concat-stream@^2.0.0": - "integrity" "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==" - "resolved" "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "buffer-from" "^1.0.0" - "inherits" "^2.0.3" - "readable-stream" "^3.0.2" - "typedarray" "^0.0.6" - -"config-chain@^1.1.12": - "integrity" "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==" - "resolved" "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz" - "version" "1.1.13" - dependencies: - "ini" "^1.3.4" - "proto-list" "~1.2.1" - -"console-control-strings@^1.0.0", "console-control-strings@~1.1.0": - "integrity" "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" - "resolved" "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" - "version" "1.1.0" - -"conventional-changelog-angular@^5.0.12": - "integrity" "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==" - "resolved" "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz" - "version" "5.0.13" - dependencies: - "compare-func" "^2.0.0" - "q" "^1.5.1" - -"conventional-changelog-core@^4.2.2": - "integrity" "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==" - "resolved" "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz" - "version" "4.2.4" - dependencies: - "add-stream" "^1.0.0" - "conventional-changelog-writer" "^5.0.0" - "conventional-commits-parser" "^3.2.0" - "dateformat" "^3.0.0" - "get-pkg-repo" "^4.0.0" - "git-raw-commits" "^2.0.8" - "git-remote-origin-url" "^2.0.0" - "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" "^4.0.0" - -"conventional-changelog-preset-loader@^2.3.4": - "integrity" "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==" - "resolved" "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz" - "version" "2.3.4" - -"conventional-changelog-writer@^5.0.0": - "integrity" "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==" - "resolved" "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz" - "version" "5.0.1" - dependencies: - "conventional-commits-filter" "^2.0.7" - "dateformat" "^3.0.0" - "handlebars" "^4.7.7" - "json-stringify-safe" "^5.0.1" - "lodash" "^4.17.15" - "meow" "^8.0.0" - "semver" "^6.0.0" - "split" "^1.0.0" - "through2" "^4.0.0" - -"conventional-commits-filter@^2.0.7": - "integrity" "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==" - "resolved" "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz" - "version" "2.0.7" - dependencies: - "lodash.ismatch" "^4.4.0" - "modify-values" "^1.0.0" - -"conventional-commits-parser@^3.2.0": - "integrity" "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==" - "resolved" "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz" - "version" "3.2.4" - dependencies: - "is-text-path" "^1.0.1" - "JSONStream" "^1.0.4" - "lodash" "^4.17.15" - "meow" "^8.0.0" - "split2" "^3.0.0" - "through2" "^4.0.0" - -"conventional-recommended-bump@^6.1.0": - "integrity" "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==" - "resolved" "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz" - "version" "6.1.0" - dependencies: - "concat-stream" "^2.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.5.0", "convert-source-map@^1.6.0", "convert-source-map@^1.7.0": - "integrity" "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==" - "resolved" "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" - "version" "1.8.0" - dependencies: - "safe-buffer" "~5.1.1" - -"copy-to-clipboard@3.3.1": - "integrity" "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==" - "resolved" "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz" - "version" "3.3.1" - dependencies: - "toggle-selection" "^1.0.6" - -"core-js-compat@^3.21.0", "core-js-compat@^3.22.1", "core-js-compat@^3.6.2": - "integrity" "sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw==" - "resolved" "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" - "version" "3.25.1" - dependencies: - "browserslist" "^4.21.3" - -"core-js-pure@^3.25.1": - "integrity" "sha512-7Fr74bliUDdeJCBMxkkIuQ4xfxn/SwrVg+HkJUAoNEXVqYLv55l6Af0dJ5Lq2YBUW9yKqSkLXaS5SYPK6MGa/A==" - "resolved" "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz" - "version" "3.25.1" - -"core-js@^3.25.1": - "integrity" "sha512-sr0FY4lnO1hkQ4gLDr24K0DGnweGO1QwSj5BpfQjpSJPdqWalja4cTps29Y/PJVG/P7FYlPDkH3hO+Tr0CvDgQ==" - "resolved" "https://registry.npmjs.org/core-js/-/core-js-3.25.1.tgz" - "version" "3.25.1" - -"core-util-is@~1.0.0": - "integrity" "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" - "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz" - "version" "1.0.3" - -"core-util-is@1.0.2": - "integrity" "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==" - "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" - "version" "1.0.2" - -"cosmiconfig@^6.0.0": - "integrity" "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==" - "resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz" - "version" "6.0.0" + fsevents "~2.3.2" + +chownr@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz" + integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== + +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + +ci-info@^3.2.0: + version "3.4.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz" + integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +cjs-module-lexer@^1.0.0: + version "1.2.2" + resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz" + integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== + +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + +cli-color@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz" + integrity sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.61" + es6-iterator "^2.0.3" + memoizee "^0.4.15" + timers-ext "^0.1.7" + +cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" + integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== + dependencies: + restore-cursor "^2.0.0" + +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-width@^2.0.0: + version "2.2.1" + resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + +cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + +clone@^1.0.2: + version "1.0.4" + resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz" + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== + +cmd-shim@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-4.1.0.tgz" + integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== + dependencies: + mkdirp-infer-owner "^2.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz" + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" + integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== + +collect-v8-coverage@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz" + integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colors@^1.1.2: + version "1.4.0" + resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + +columnify@^1.5.4: + version "1.6.0" + resolved "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz" + integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== + dependencies: + strip-ansi "^6.0.1" + wcwidth "^1.0.0" + +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +commander@^4.0.1: + version "4.1.1" + resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + +commander@^6.2.0: + version "6.2.1" + resolved "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz" + integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== + +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz" + integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== + +compare-func@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz" + integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== + dependencies: + array-ify "^1.0.0" + dot-prop "^5.1.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +concat-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz" + integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A== + dependencies: + buffer-from "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.0.2" + typedarray "^0.0.6" + +config-chain@^1.1.12: + version "1.1.13" + resolved "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz" + integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" + +console-control-strings@^1.0.0, console-control-strings@~1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== + +conventional-changelog-angular@^5.0.12: + version "5.0.13" + resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz" + integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== + dependencies: + compare-func "^2.0.0" + q "^1.5.1" + +conventional-changelog-core@^4.2.2: + version "4.2.4" + resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz" + integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== + dependencies: + add-stream "^1.0.0" + conventional-changelog-writer "^5.0.0" + conventional-commits-parser "^3.2.0" + dateformat "^3.0.0" + get-pkg-repo "^4.0.0" + git-raw-commits "^2.0.8" + git-remote-origin-url "^2.0.0" + 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 "^4.0.0" + +conventional-changelog-preset-loader@^2.3.4: + version "2.3.4" + resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz" + integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== + +conventional-changelog-writer@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz" + integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== + dependencies: + conventional-commits-filter "^2.0.7" + dateformat "^3.0.0" + handlebars "^4.7.7" + json-stringify-safe "^5.0.1" + lodash "^4.17.15" + meow "^8.0.0" + semver "^6.0.0" + split "^1.0.0" + through2 "^4.0.0" + +conventional-commits-filter@^2.0.7: + version "2.0.7" + resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz" + integrity sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA== + dependencies: + lodash.ismatch "^4.4.0" + modify-values "^1.0.0" + +conventional-commits-parser@^3.2.0: + version "3.2.4" + resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz" + integrity sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q== + dependencies: + JSONStream "^1.0.4" + is-text-path "^1.0.1" + lodash "^4.17.15" + meow "^8.0.0" + split2 "^3.0.0" + through2 "^4.0.0" + +conventional-recommended-bump@^6.1.0: + version "6.1.0" + resolved "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz" + integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== + dependencies: + concat-stream "^2.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.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.8.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" + integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== + dependencies: + browserslist "^4.21.3" + +core-js-pure@^3.25.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz" + integrity sha512-7Fr74bliUDdeJCBMxkkIuQ4xfxn/SwrVg+HkJUAoNEXVqYLv55l6Af0dJ5Lq2YBUW9yKqSkLXaS5SYPK6MGa/A== + +core-js@^3.25.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js/-/core-js-3.25.1.tgz" + integrity sha512-sr0FY4lnO1hkQ4gLDr24K0DGnweGO1QwSj5BpfQjpSJPdqWalja4cTps29Y/PJVG/P7FYlPDkH3hO+Tr0CvDgQ== + +core-util-is@1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" + integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cosmiconfig@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz" + integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== dependencies: "@types/parse-json" "^4.0.0" - "import-fresh" "^3.1.0" - "parse-json" "^5.0.0" - "path-type" "^4.0.0" - "yaml" "^1.7.2" + import-fresh "^3.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.7.2" -"cosmiconfig@^7.0.0": - "integrity" "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==" - "resolved" "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz" - "version" "7.0.1" +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== dependencies: "@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" - -"cosmjs-types@^0.4.0": - "integrity" "sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog==" - "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz" - "version" "0.4.1" - dependencies: - "long" "^4.0.0" - "protobufjs" "~6.11.2" - -"cosmjs-types@^0.5.0", "cosmjs-types@0.5.1": - "integrity" "sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g==" - "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" - "version" "0.5.1" - dependencies: - "long" "^4.0.0" - "protobufjs" "~6.11.2" - -"create-cosmos-app@file:/Users/pyramation/code/cosmology/create-cosmos-app/packages/create-cosmos-app": - "resolved" "file:packages/create-cosmos-app" - "version" "0.3.2" - dependencies: - "@babel/runtime" "^7.11.2" - "dargs" "7.0.0" - "fuzzy" "0.1.3" - "inquirerer" "0.1.3" - "minimist" "1.2.6" - "mkdirp" "1.0.4" - "shelljs" "0.8.5" - -"create-hash@^1.1.0", "create-hash@^1.1.2", "create-hash@^1.2.0": - "integrity" "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==" - "resolved" "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" - "version" "1.2.0" - dependencies: - "cipher-base" "^1.0.1" - "inherits" "^2.0.1" - "md5.js" "^1.3.4" - "ripemd160" "^2.0.1" - "sha.js" "^2.4.0" - -"create-hmac@^1.1.4", "create-hmac@^1.1.7": - "integrity" "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==" - "resolved" "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" - "version" "1.1.7" - dependencies: - "cipher-base" "^1.0.3" - "create-hash" "^1.1.0" - "inherits" "^2.0.1" - "ripemd160" "^2.0.0" - "safe-buffer" "^5.0.1" - "sha.js" "^2.4.8" - -"cross-env@^7.0.2": - "integrity" "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==" - "resolved" "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz" - "version" "7.0.3" - dependencies: - "cross-spawn" "^7.0.1" - -"cross-spawn@^7.0.1", "cross-spawn@^7.0.2", "cross-spawn@^7.0.3": - "integrity" "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==" - "resolved" "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" - "version" "7.0.3" - dependencies: - "path-key" "^3.1.0" - "shebang-command" "^2.0.0" - "which" "^2.0.1" - -"crypt@~0.0.1": - "integrity" "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==" - "resolved" "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz" - "version" "0.0.2" - -"crypto-js@^4.0.0": - "integrity" "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" - "resolved" "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz" - "version" "4.1.1" - -"css-box-model@1.2.1": - "integrity" "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==" - "resolved" "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz" - "version" "1.2.1" - dependencies: - "tiny-invariant" "^1.0.6" - -"csstype@^3.0.11", "csstype@^3.0.2": - "integrity" "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" - "resolved" "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz" - "version" "3.1.1" - -"curve25519-js@0.0.4": - "integrity" "sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w==" - "resolved" "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz" - "version" "0.0.4" - -"d@^1.0.1", "d@1": - "integrity" "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==" - "resolved" "https://registry.npmjs.org/d/-/d-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "es5-ext" "^0.10.50" - "type" "^1.0.1" - -"damerau-levenshtein@^1.0.8": - "integrity" "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==" - "resolved" "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz" - "version" "1.0.8" - -"dargs@^7.0.0", "dargs@7.0.0": - "integrity" "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==" - "resolved" "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz" - "version" "7.0.0" - -"dashdash@^1.12.0": - "integrity" "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==" - "resolved" "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz" - "version" "1.14.1" - dependencies: - "assert-plus" "^1.0.0" - -"dateformat@^3.0.0": - "integrity" "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" - "resolved" "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz" - "version" "3.0.3" - -"debug@^2.6.9": - "integrity" "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" - "resolved" "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" - "version" "2.6.9" - dependencies: - "ms" "2.0.0" - -"debug@^3.2.7": - "integrity" "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==" - "resolved" "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" - "version" "3.2.7" - dependencies: - "ms" "^2.1.1" - -"debug@^4.1.0", "debug@^4.1.1", "debug@^4.3.1", "debug@^4.3.2", "debug@^4.3.3", "debug@^4.3.4", "debug@4": - "integrity" "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==" - "resolved" "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" - "version" "4.3.4" - dependencies: - "ms" "2.1.2" - -"debuglog@^1.0.1": - "integrity" "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==" - "resolved" "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz" - "version" "1.0.1" - -"decamelize-keys@^1.1.0": - "integrity" "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==" - "resolved" "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz" - "version" "1.1.0" - dependencies: - "decamelize" "^1.1.0" - "map-obj" "^1.0.0" - -"decamelize@^1.1.0": - "integrity" "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" - "resolved" "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" - "version" "1.2.0" - -"decode-uri-component@^0.2.0": - "integrity" "sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==" - "resolved" "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz" - "version" "0.2.0" - -"dedent@^0.7.0": - "integrity" "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==" - "resolved" "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" - "version" "0.7.0" - -"deep-is@^0.1.3": - "integrity" "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" - "resolved" "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" - "version" "0.1.4" - -"deepmerge@^4.2.2", "deepmerge@4.2.2": - "integrity" "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - "resolved" "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz" - "version" "4.2.2" - -"defaults@^1.0.3": - "integrity" "sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA==" - "resolved" "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "clone" "^1.0.2" - -"define-properties@^1.1.3", "define-properties@^1.1.4": - "integrity" "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==" - "resolved" "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" - "version" "1.1.4" - dependencies: - "has-property-descriptors" "^1.0.0" - "object-keys" "^1.1.1" - -"delay@^4.4.0": - "integrity" "sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ==" - "resolved" "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" - "version" "4.4.1" - -"delayed-stream@~1.0.0": - "integrity" "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" - "resolved" "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" - "version" "1.0.0" - -"delegates@^1.0.0": - "integrity" "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" - "resolved" "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" - "version" "1.0.0" - -"depd@^1.1.2": - "integrity" "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==" - "resolved" "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" - "version" "1.1.2" - -"deprecation@^2.0.0", "deprecation@^2.3.1": - "integrity" "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" - "resolved" "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz" - "version" "2.3.1" - -"detect-browser@5.2.0": - "integrity" "sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==" - "resolved" "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz" - "version" "5.2.0" - -"detect-indent@^5.0.0": - "integrity" "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==" - "resolved" "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz" - "version" "5.0.0" - -"detect-indent@^6.0.0": - "integrity" "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==" - "resolved" "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz" - "version" "6.1.0" - -"detect-newline@^3.0.0": - "integrity" "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==" - "resolved" "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" - "version" "3.1.0" - -"detect-node-es@^1.1.0": - "integrity" "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" - "resolved" "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz" - "version" "1.1.0" - -"dezalgo@^1.0.0": - "integrity" "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==" - "resolved" "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "asap" "^2.0.0" - "wrappy" "1" - -"diff-sequences@^28.1.1": - "integrity" "sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==" - "resolved" "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz" - "version" "28.1.1" - -"dir-glob@^3.0.1": - "integrity" "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==" - "resolved" "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" - "version" "3.0.1" - dependencies: - "path-type" "^4.0.0" - -"doctrine@^2.1.0": - "integrity" "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==" - "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "esutils" "^2.0.2" - -"doctrine@^3.0.0": - "integrity" "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==" - "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "esutils" "^2.0.2" - -"dom-helpers@^5.0.1": - "integrity" "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==" - "resolved" "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz" - "version" "5.2.1" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cosmjs-types@0.5.1, cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.4.0: + version "0.4.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz" + integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +cross-env@^7.0.2: + version "7.0.3" + resolved "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + +damerau-levenshtein@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz" + integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== + +dargs@7.0.0, dargs@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz" + integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== + dependencies: + assert-plus "^1.0.0" + +dateformat@^3.0.0: + version "3.0.3" + resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz" + integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== + +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +debug@^2.6.9: + version "2.6.9" + resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debuglog@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz" + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== + +decamelize-keys@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz" + integrity sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg== + dependencies: + decamelize "^1.1.0" + map-obj "^1.0.0" + +decamelize@^1.1.0: + version "1.2.0" + resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +deepmerge@4.2.2, deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +defaults@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz" + integrity sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA== + dependencies: + clone "^1.0.2" + +define-properties@^1.1.3, define-properties@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + +depd@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + +deprecation@^2.0.0, deprecation@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz" + integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-indent@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz" + integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== + +detect-indent@^6.0.0: + version "6.1.0" + resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== + +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +dezalgo@^1.0.0: + version "1.0.4" + resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== + dependencies: + asap "^2.0.0" + wrappy "1" + +diff-sequences@^28.1.1: + version "28.1.1" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz" + integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +dom-helpers@^5.0.1: + version "5.2.1" + resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz" + integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== dependencies: "@babel/runtime" "^7.8.7" - "csstype" "^3.0.2" - -"dot-prop@^5.1.0": - "integrity" "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==" - "resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz" - "version" "5.3.0" - dependencies: - "is-obj" "^2.0.0" - -"dot-prop@^6.0.1": - "integrity" "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==" - "resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz" - "version" "6.0.1" - dependencies: - "is-obj" "^2.0.0" - -"dotty@0.1.2": - "integrity" "sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ==" - "resolved" "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz" - "version" "0.1.2" - -"duplexer@^0.1.1": - "integrity" "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" - "resolved" "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz" - "version" "0.1.2" - -"ecc-jsbn@~0.1.1": - "integrity" "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==" - "resolved" "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz" - "version" "0.1.2" - dependencies: - "jsbn" "~0.1.0" - "safer-buffer" "^2.1.0" - -"electron-to-chromium@^1.4.202": - "version" "1.4.206" - -"electron-to-chromium@^1.4.251": - "integrity" "sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q==" - "resolved" "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz" - "version" "1.4.254" - -"elliptic@^6.4.0", "elliptic@^6.5.3": - "integrity" "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==" - "resolved" "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" - "version" "6.5.4" - dependencies: - "bn.js" "^4.11.9" - "brorand" "^1.1.0" - "hash.js" "^1.0.0" - "hmac-drbg" "^1.0.1" - "inherits" "^2.0.4" - "minimalistic-assert" "^1.0.1" - "minimalistic-crypto-utils" "^1.0.1" - -"emittery@^0.10.2": - "integrity" "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==" - "resolved" "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz" - "version" "0.10.2" - -"emoji-regex@^8.0.0": - "integrity" "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" - "version" "8.0.0" - -"emoji-regex@^9.2.2": - "integrity" "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" - "version" "9.2.2" - -"encoding@^0.1.0", "encoding@^0.1.12": - "integrity" "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==" - "resolved" "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz" - "version" "0.1.13" - dependencies: - "iconv-lite" "^0.6.2" - -"env-paths@^2.2.0": - "integrity" "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" - "resolved" "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz" - "version" "2.2.1" - -"envinfo@^7.7.4": - "integrity" "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==" - "resolved" "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz" - "version" "7.8.1" - -"err-code@^2.0.2": - "integrity" "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" - "resolved" "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" - "version" "2.0.3" - -"error-ex@^1.3.1": - "integrity" "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==" - "resolved" "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" - "version" "1.3.2" - dependencies: - "is-arrayish" "^0.2.1" - -"es-abstract@^1.19.0", "es-abstract@^1.19.1", "es-abstract@^1.19.2", "es-abstract@^1.19.5", "es-abstract@^1.20.1": - "integrity" "sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ==" - "resolved" "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz" - "version" "1.20.2" - dependencies: - "call-bind" "^1.0.2" - "es-to-primitive" "^1.2.1" - "function-bind" "^1.1.1" - "function.prototype.name" "^1.1.5" - "get-intrinsic" "^1.1.2" - "get-symbol-description" "^1.0.0" - "has" "^1.0.3" - "has-property-descriptors" "^1.0.0" - "has-symbols" "^1.0.3" - "internal-slot" "^1.0.3" - "is-callable" "^1.2.4" - "is-negative-zero" "^2.0.2" - "is-regex" "^1.1.4" - "is-shared-array-buffer" "^1.0.2" - "is-string" "^1.0.7" - "is-weakref" "^1.0.2" - "object-inspect" "^1.12.2" - "object-keys" "^1.1.1" - "object.assign" "^4.1.4" - "regexp.prototype.flags" "^1.4.3" - "string.prototype.trimend" "^1.0.5" - "string.prototype.trimstart" "^1.0.5" - "unbox-primitive" "^1.0.2" - -"es-array-method-boxes-properly@^1.0.0": - "integrity" "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==" - "resolved" "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz" - "version" "1.0.0" - -"es-shim-unscopables@^1.0.0": - "integrity" "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==" - "resolved" "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" - "version" "1.0.0" - dependencies: - "has" "^1.0.3" - -"es-to-primitive@^1.2.1": - "integrity" "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==" - "resolved" "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz" - "version" "1.2.1" - dependencies: - "is-callable" "^1.1.4" - "is-date-object" "^1.0.1" - "is-symbol" "^1.0.2" - -"es5-ext@^0.10.35", "es5-ext@^0.10.46", "es5-ext@^0.10.50", "es5-ext@^0.10.53", "es5-ext@^0.10.61", "es5-ext@~0.10.14", "es5-ext@~0.10.2", "es5-ext@~0.10.46": - "integrity" "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==" - "resolved" "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" - "version" "0.10.62" - dependencies: - "es6-iterator" "^2.0.3" - "es6-symbol" "^3.1.3" - "next-tick" "^1.1.0" - -"es6-iterator@^2.0.3": - "integrity" "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==" - "resolved" "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" - "version" "2.0.3" - dependencies: - "d" "1" - "es5-ext" "^0.10.35" - "es6-symbol" "^3.1.1" - -"es6-symbol@^3.1.1", "es6-symbol@^3.1.3": - "integrity" "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==" - "resolved" "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" - "version" "3.1.3" - dependencies: - "d" "^1.0.1" - "ext" "^1.1.2" - -"es6-weak-map@^2.0.3": - "integrity" "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==" - "resolved" "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" - "version" "2.0.3" - dependencies: - "d" "1" - "es5-ext" "^0.10.46" - "es6-iterator" "^2.0.3" - "es6-symbol" "^3.1.1" - -"escalade@^3.1.1": - "integrity" "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - "resolved" "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" - "version" "3.1.1" - -"escape-string-regexp@^1.0.2", "escape-string-regexp@^1.0.5": - "integrity" "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" - "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" - "version" "1.0.5" - -"escape-string-regexp@^2.0.0": - "integrity" "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==" - "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" - "version" "2.0.0" - -"escape-string-regexp@^4.0.0": - "integrity" "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" - "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" - "version" "4.0.0" - -"eslint-config-next@12.2.5": - "integrity" "sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw==" - "resolved" "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.2.5.tgz" - "version" "12.2.5" + csstype "^3.0.2" + +dot-prop@^5.1.0: + version "5.3.0" + resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz" + integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== + dependencies: + is-obj "^2.0.0" + +dot-prop@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz" + integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== + dependencies: + is-obj "^2.0.0" + +dotty@0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + +duplexer@^0.1.1: + version "0.1.2" + resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + +ecc-jsbn@~0.1.1: + version "0.1.2" + resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz" + integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== + dependencies: + jsbn "~0.1.0" + safer-buffer "^2.1.0" + +electron-to-chromium@^1.4.251: + version "1.4.254" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz" + integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +emittery@^0.10.2: + version "0.10.2" + resolved "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz" + integrity sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +encoding@^0.1.12: + version "0.1.13" + resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + +env-paths@^2.2.0: + version "2.2.1" + resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz" + integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== + +envinfo@^7.7.4: + version "7.8.1" + resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz" + integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + +err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5, es-abstract@^1.20.1: + version "1.20.2" + resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz" + integrity sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ== + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + function.prototype.name "^1.1.5" + get-intrinsic "^1.1.2" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + is-callable "^1.2.4" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-weakref "^1.0.2" + object-inspect "^1.12.2" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + string.prototype.trimend "^1.0.5" + string.prototype.trimstart "^1.0.5" + unbox-primitive "^1.0.2" + +es-array-method-boxes-properly@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz" + integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== + +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" + integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + dependencies: + has "^1.0.3" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: + version "0.10.62" + resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" + integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + next-tick "^1.1.0" + +es6-iterator@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + +es6-symbol@^3.1.1, es6-symbol@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +eslint-config-next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.2.5.tgz" + integrity sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw== dependencies: "@next/eslint-plugin-next" "12.2.5" "@rushstack/eslint-patch" "^1.1.3" "@typescript-eslint/parser" "^5.21.0" - "eslint-import-resolver-node" "^0.3.6" - "eslint-import-resolver-typescript" "^2.7.1" - "eslint-plugin-import" "^2.26.0" - "eslint-plugin-jsx-a11y" "^6.5.1" - "eslint-plugin-react" "^7.29.4" - "eslint-plugin-react-hooks" "^4.5.0" - -"eslint-config-prettier@^8.5.0": - "integrity" "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==" - "resolved" "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz" - "version" "8.5.0" - -"eslint-import-resolver-node@^0.3.6": - "integrity" "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==" - "resolved" "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz" - "version" "0.3.6" - dependencies: - "debug" "^3.2.7" - "resolve" "^1.20.0" - -"eslint-import-resolver-typescript@^2.7.1": - "integrity" "sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==" - "resolved" "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz" - "version" "2.7.1" - dependencies: - "debug" "^4.3.4" - "glob" "^7.2.0" - "is-glob" "^4.0.3" - "resolve" "^1.22.0" - "tsconfig-paths" "^3.14.1" - -"eslint-module-utils@^2.7.3": - "integrity" "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==" - "resolved" "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz" - "version" "2.7.4" - dependencies: - "debug" "^3.2.7" - -"eslint-plugin-import@*", "eslint-plugin-import@^2.26.0": - "integrity" "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==" - "resolved" "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz" - "version" "2.26.0" - dependencies: - "array-includes" "^3.1.4" - "array.prototype.flat" "^1.2.5" - "debug" "^2.6.9" - "doctrine" "^2.1.0" - "eslint-import-resolver-node" "^0.3.6" - "eslint-module-utils" "^2.7.3" - "has" "^1.0.3" - "is-core-module" "^2.8.1" - "is-glob" "^4.0.3" - "minimatch" "^3.1.2" - "object.values" "^1.1.5" - "resolve" "^1.22.0" - "tsconfig-paths" "^3.14.1" - -"eslint-plugin-jsx-a11y@^6.5.1": - "integrity" "sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q==" - "resolved" "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz" - "version" "6.6.1" + eslint-import-resolver-node "^0.3.6" + eslint-import-resolver-typescript "^2.7.1" + eslint-plugin-import "^2.26.0" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-react "^7.29.4" + eslint-plugin-react-hooks "^4.5.0" + +eslint-config-prettier@^8.5.0: + version "8.5.0" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz" + integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== + +eslint-import-resolver-node@^0.3.6: + version "0.3.6" + resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz" + integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== + dependencies: + debug "^3.2.7" + resolve "^1.20.0" + +eslint-import-resolver-typescript@^2.7.1: + version "2.7.1" + resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz" + integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ== + dependencies: + debug "^4.3.4" + glob "^7.2.0" + is-glob "^4.0.3" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" + +eslint-module-utils@^2.7.3: + version "2.7.4" + resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz" + integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== + dependencies: + debug "^3.2.7" + +eslint-plugin-import@^2.26.0: + version "2.26.0" + resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz" + integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== + dependencies: + array-includes "^3.1.4" + array.prototype.flat "^1.2.5" + debug "^2.6.9" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.6" + eslint-module-utils "^2.7.3" + has "^1.0.3" + is-core-module "^2.8.1" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.5" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" + +eslint-plugin-jsx-a11y@^6.5.1: + version "6.6.1" + resolved "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz" + integrity sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q== dependencies: "@babel/runtime" "^7.18.9" - "aria-query" "^4.2.2" - "array-includes" "^3.1.5" - "ast-types-flow" "^0.0.7" - "axe-core" "^4.4.3" - "axobject-query" "^2.2.0" - "damerau-levenshtein" "^1.0.8" - "emoji-regex" "^9.2.2" - "has" "^1.0.3" - "jsx-ast-utils" "^3.3.2" - "language-tags" "^1.0.5" - "minimatch" "^3.1.2" - "semver" "^6.3.0" - -"eslint-plugin-prettier@^4.0.0": - "integrity" "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==" - "resolved" "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" - "version" "4.2.1" - dependencies: - "prettier-linter-helpers" "^1.0.0" - -"eslint-plugin-react-hooks@^4.5.0": - "integrity" "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==" - "resolved" "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz" - "version" "4.6.0" - -"eslint-plugin-react@^7.29.4": - "integrity" "sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw==" - "resolved" "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz" - "version" "7.31.8" - dependencies: - "array-includes" "^3.1.5" - "array.prototype.flatmap" "^1.3.0" - "doctrine" "^2.1.0" - "estraverse" "^5.3.0" - "jsx-ast-utils" "^2.4.1 || ^3.0.0" - "minimatch" "^3.1.2" - "object.entries" "^1.1.5" - "object.fromentries" "^2.0.5" - "object.hasown" "^1.1.1" - "object.values" "^1.1.5" - "prop-types" "^15.8.1" - "resolve" "^2.0.0-next.3" - "semver" "^6.3.0" - "string.prototype.matchall" "^4.0.7" - -"eslint-scope@^7.1.1": - "integrity" "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==" - "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz" - "version" "7.1.1" - dependencies: - "esrecurse" "^4.3.0" - "estraverse" "^5.2.0" - -"eslint-scope@5.1.1": - "integrity" "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==" - "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" - "version" "5.1.1" - dependencies: - "esrecurse" "^4.3.0" - "estraverse" "^4.1.1" - -"eslint-utils@^3.0.0": - "integrity" "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==" - "resolved" "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "eslint-visitor-keys" "^2.0.0" - -"eslint-visitor-keys@^2.0.0": - "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" - "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" - "version" "2.1.0" - -"eslint-visitor-keys@^2.1.0": - "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" - "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" - "version" "2.1.0" - -"eslint-visitor-keys@^3.3.0": - "integrity" "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" - "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" - "version" "3.3.0" - -"eslint@*", "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^7.23.0 || ^8.0.0", "eslint@^7.5.0 || ^8.0.0", "eslint@>=5", "eslint@>=7.0.0", "eslint@>=7.28.0", "eslint@8.22.0": - "integrity" "sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==" - "resolved" "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz" - "version" "8.22.0" + aria-query "^4.2.2" + array-includes "^3.1.5" + ast-types-flow "^0.0.7" + axe-core "^4.4.3" + axobject-query "^2.2.0" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + has "^1.0.3" + jsx-ast-utils "^3.3.2" + language-tags "^1.0.5" + minimatch "^3.1.2" + semver "^6.3.0" + +eslint-plugin-prettier@^4.0.0: + version "4.2.1" + resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" + integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== + dependencies: + prettier-linter-helpers "^1.0.0" + +eslint-plugin-react-hooks@^4.5.0: + version "4.6.0" + resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz" + integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== + +eslint-plugin-react@^7.29.4: + version "7.31.8" + resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz" + integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== + dependencies: + array-includes "^3.1.5" + array.prototype.flatmap "^1.3.0" + doctrine "^2.1.0" + estraverse "^5.3.0" + jsx-ast-utils "^2.4.1 || ^3.0.0" + minimatch "^3.1.2" + object.entries "^1.1.5" + object.fromentries "^2.0.5" + object.hasown "^1.1.1" + object.values "^1.1.5" + prop-types "^15.8.1" + resolve "^2.0.0-next.3" + semver "^6.3.0" + string.prototype.matchall "^4.0.7" + +eslint-scope@5.1.1: + version "5.1.1" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-scope@^7.1.1: + version "7.1.1" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz" + integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-utils@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" + integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== + dependencies: + eslint-visitor-keys "^2.0.0" + +eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" + integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== + +eslint-visitor-keys@^3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" + integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== + +eslint@8.22.0: + version "8.22.0" + resolved "https://registry.npmjs.org/eslint/-/eslint-8.22.0.tgz" + integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA== dependencies: "@eslint/eslintrc" "^1.3.0" "@humanwhocodes/config-array" "^0.10.4" "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" - "ajv" "^6.10.0" - "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.1.1" - "eslint-utils" "^3.0.0" - "eslint-visitor-keys" "^3.3.0" - "espree" "^9.3.3" - "esquery" "^1.4.0" - "esutils" "^2.0.2" - "fast-deep-equal" "^3.1.3" - "file-entry-cache" "^6.0.1" - "find-up" "^5.0.0" - "functional-red-black-tree" "^1.0.1" - "glob-parent" "^6.0.1" - "globals" "^13.15.0" - "globby" "^11.1.0" - "grapheme-splitter" "^1.0.4" - "ignore" "^5.2.0" - "import-fresh" "^3.0.0" - "imurmurhash" "^0.1.4" - "is-glob" "^4.0.0" - "js-yaml" "^4.1.0" - "json-stable-stringify-without-jsonify" "^1.0.1" - "levn" "^0.4.1" - "lodash.merge" "^4.6.2" - "minimatch" "^3.1.2" - "natural-compare" "^1.4.0" - "optionator" "^0.9.1" - "regexpp" "^3.2.0" - "strip-ansi" "^6.0.1" - "strip-json-comments" "^3.1.0" - "text-table" "^0.2.0" - "v8-compile-cache" "^2.0.3" - -"espree@^9.3.3", "espree@^9.4.0": - "integrity" "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==" - "resolved" "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz" - "version" "9.4.0" - dependencies: - "acorn" "^8.8.0" - "acorn-jsx" "^5.3.2" - "eslint-visitor-keys" "^3.3.0" - -"esprima@^4.0.0": - "integrity" "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - "resolved" "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" - "version" "4.0.1" - -"esquery@^1.4.0": - "integrity" "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==" - "resolved" "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz" - "version" "1.4.0" - dependencies: - "estraverse" "^5.1.0" - -"esrecurse@^4.3.0": - "integrity" "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==" - "resolved" "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" - "version" "4.3.0" - dependencies: - "estraverse" "^5.2.0" - -"estraverse@^4.1.1": - "integrity" "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" - "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" - "version" "4.3.0" - -"estraverse@^5.1.0", "estraverse@^5.2.0", "estraverse@^5.3.0": - "integrity" "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz" - "version" "5.3.0" - -"esutils@^2.0.2": - "integrity" "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" - "resolved" "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" - "version" "2.0.3" - -"event-emitter@^0.3.5": - "integrity" "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==" - "resolved" "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" - "version" "0.3.5" - dependencies: - "d" "1" - "es5-ext" "~0.10.14" - -"eventemitter3@^4.0.4": - "integrity" "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" - "resolved" "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" - "version" "4.0.7" - -"events@3.3.0": - "integrity" "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" - "resolved" "https://registry.npmjs.org/events/-/events-3.3.0.tgz" - "version" "3.3.0" - -"execa@^5.0.0": - "integrity" "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==" - "resolved" "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" - "version" "5.1.1" - dependencies: - "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" - -"exit@^0.1.2": - "integrity" "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==" - "resolved" "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" - "version" "0.1.2" - -"expect@^28.0.0", "expect@^28.1.3": - "integrity" "sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g==" - "resolved" "https://registry.npmjs.org/expect/-/expect-28.1.3.tgz" - "version" "28.1.3" + ajv "^6.10.0" + 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.1.1" + eslint-utils "^3.0.0" + eslint-visitor-keys "^3.3.0" + espree "^9.3.3" + esquery "^1.4.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + functional-red-black-tree "^1.0.1" + glob-parent "^6.0.1" + globals "^13.15.0" + globby "^11.1.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + regexpp "^3.2.0" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^9.3.3, espree@^9.4.0: + version "9.4.0" + resolved "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz" + integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.3.0" + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esquery@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz" + integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + +eventemitter3@^4.0.4: + version "4.0.7" + resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + 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" + +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== + +expect@^28.0.0, expect@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/expect/-/expect-28.1.3.tgz" + integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== dependencies: "@jest/expect-utils" "^28.1.3" - "jest-get-type" "^28.0.2" - "jest-matcher-utils" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-util" "^28.1.3" - -"ext@^1.1.2": - "integrity" "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==" - "resolved" "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" - "version" "1.7.0" - dependencies: - "type" "^2.7.2" - -"extend@~3.0.2": - "integrity" "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - "resolved" "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" - "version" "3.0.2" - -"external-editor@^2.0.4": - "integrity" "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==" - "resolved" "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz" - "version" "2.2.0" - dependencies: - "chardet" "^0.4.0" - "iconv-lite" "^0.4.17" - "tmp" "^0.0.33" - -"external-editor@^3.0.3": - "integrity" "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==" - "resolved" "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "chardet" "^0.7.0" - "iconv-lite" "^0.4.24" - "tmp" "^0.0.33" - -"extsprintf@^1.2.0": - "integrity" "sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==" - "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz" - "version" "1.4.1" - -"extsprintf@1.3.0": - "integrity" "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==" - "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz" - "version" "1.3.0" - -"fast-deep-equal@^3.1.1", "fast-deep-equal@^3.1.3": - "integrity" "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" - "version" "3.1.3" - -"fast-deep-equal@3.1.1": - "integrity" "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==" - "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz" - "version" "3.1.1" - -"fast-diff@^1.1.2": - "integrity" "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" - "resolved" "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" - "version" "1.2.0" - -"fast-fuzzy@1.11.2": - "integrity" "sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw==" - "resolved" "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz" - "version" "1.11.2" - dependencies: - "graphemesplit" "^2.4.1" - -"fast-glob@^3.2.9": - "integrity" "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==" - "resolved" "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" - "version" "3.2.12" + jest-get-type "^28.0.2" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-util "^28.1.3" + +ext@^1.1.2: + version "1.7.0" + resolved "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== + dependencies: + type "^2.7.2" + +extend@~3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz" + integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz" + integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== + +extsprintf@^1.2.0: + version "1.4.1" + resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz" + integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.2.0" + resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" + integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + +fast-fuzzy@1.11.2: + version "1.11.2" + resolved "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz" + integrity sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw== + dependencies: + graphemesplit "^2.4.1" + +fast-glob@^3.2.9: + version "3.2.12" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@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" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" -"fast-json-stable-stringify@^2.0.0", "fast-json-stable-stringify@2.x": - "integrity" "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - "resolved" "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" - "version" "2.1.0" +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -"fast-levenshtein@^2.0.6": - "integrity" "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" - "resolved" "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" - "version" "2.0.6" +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== -"fastq@^1.6.0": - "integrity" "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==" - "resolved" "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz" - "version" "1.13.0" +fastq@^1.6.0: + version "1.13.0" + resolved "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== dependencies: - "reusify" "^1.0.4" + reusify "^1.0.4" -"fb-watchman@^2.0.0": - "integrity" "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==" - "resolved" "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz" - "version" "2.0.1" +fb-watchman@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== dependencies: - "bser" "2.1.1" + bser "2.1.1" -"figures@^2.0.0": - "integrity" "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==" - "resolved" "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz" - "version" "2.0.0" +figures@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz" + integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== dependencies: - "escape-string-regexp" "^1.0.5" + escape-string-regexp "^1.0.5" -"figures@^3.0.0": - "integrity" "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==" - "resolved" "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz" - "version" "3.2.0" +figures@^3.0.0: + version "3.2.0" + resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== dependencies: - "escape-string-regexp" "^1.0.5" + escape-string-regexp "^1.0.5" -"file-entry-cache@^6.0.1": - "integrity" "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==" - "resolved" "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" - "version" "6.0.1" +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: - "flat-cache" "^3.0.4" + flat-cache "^3.0.4" -"file-uri-to-path@1.0.0": - "integrity" "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" - "resolved" "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" - "version" "1.0.0" +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== -"fill-range@^7.0.1": - "integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==" - "resolved" "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" - "version" "7.0.1" +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== dependencies: - "to-regex-range" "^5.0.1" - -"filter-obj@^1.1.0": - "integrity" "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==" - "resolved" "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz" - "version" "1.1.0" + to-regex-range "^5.0.1" + +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz" + integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== -"find-cache-dir@^2.0.0": - "integrity" "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==" - "resolved" "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz" - "version" "2.1.0" +find-cache-dir@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz" + integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== dependencies: - "commondir" "^1.0.1" - "make-dir" "^2.0.0" - "pkg-dir" "^3.0.0" + commondir "^1.0.1" + make-dir "^2.0.0" + pkg-dir "^3.0.0" -"find-root@^1.1.0": - "integrity" "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" - "resolved" "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz" - "version" "1.1.0" +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== -"find-up@^2.0.0": - "integrity" "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==" - "resolved" "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz" - "version" "2.1.0" +find-up@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz" + integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== dependencies: - "locate-path" "^2.0.0" + locate-path "^2.0.0" -"find-up@^3.0.0": - "integrity" "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==" - "resolved" "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz" - "version" "3.0.0" +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== dependencies: - "locate-path" "^3.0.0" + locate-path "^3.0.0" -"find-up@^4.0.0", "find-up@^4.1.0": - "integrity" "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==" - "resolved" "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" - "version" "4.1.0" +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - "locate-path" "^5.0.0" - "path-exists" "^4.0.0" + locate-path "^5.0.0" + path-exists "^4.0.0" -"find-up@^5.0.0": - "integrity" "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==" - "resolved" "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" - "version" "5.0.0" +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: - "locate-path" "^6.0.0" - "path-exists" "^4.0.0" + locate-path "^6.0.0" + path-exists "^4.0.0" -"flat-cache@^3.0.4": - "integrity" "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==" - "resolved" "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz" - "version" "3.0.4" +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== dependencies: - "flatted" "^3.1.0" - "rimraf" "^3.0.2" + flatted "^3.1.0" + rimraf "^3.0.2" -"flatted@^3.1.0": - "integrity" "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" - "resolved" "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz" - "version" "3.2.7" +flatted@^3.1.0: + version "3.2.7" + resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -"focus-lock@^0.11.2": - "integrity" "sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g==" - "resolved" "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz" - "version" "0.11.2" +focus-lock@^0.11.2: + version "0.11.2" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz" + integrity sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g== dependencies: - "tslib" "^2.0.3" + tslib "^2.0.3" -"follow-redirects@^1.10.0", "follow-redirects@^1.14.0", "follow-redirects@^1.14.9": - "integrity" "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" - "resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" - "version" "1.15.2" +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== -"forever-agent@~0.6.1": - "integrity" "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" - "resolved" "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz" - "version" "0.6.1" +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz" + integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== -"form-data@^4.0.0": - "integrity" "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==" - "resolved" "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz" - "version" "4.0.0" +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: - "asynckit" "^0.4.0" - "combined-stream" "^1.0.8" - "mime-types" "^2.1.12" + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" -"form-data@~2.3.2": - "integrity" "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==" - "resolved" "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz" - "version" "2.3.3" +form-data@~2.3.2: + version "2.3.3" + resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz" + integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== dependencies: - "asynckit" "^0.4.0" - "combined-stream" "^1.0.6" - "mime-types" "^2.1.12" + asynckit "^0.4.0" + combined-stream "^1.0.6" + mime-types "^2.1.12" -"framer-motion@>=4.0.0", "framer-motion@7.3.6": - "integrity" "sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw==" - "resolved" "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz" - "version" "7.3.6" +framer-motion@7.3.6: + version "7.3.6" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz" + integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== dependencies: "@motionone/dom" "10.13.1" - "framesync" "6.1.2" - "hey-listen" "^1.0.8" - "popmotion" "11.0.5" - "style-value-types" "5.1.2" - "tslib" "2.4.0" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" optionalDependencies: "@emotion/is-prop-valid" "^0.8.2" -"framesync@5.3.0": - "integrity" "sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA==" - "resolved" "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz" - "version" "5.3.0" - dependencies: - "tslib" "^2.1.0" - -"framesync@6.1.2": - "integrity" "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==" - "resolved" "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" - "version" "6.1.2" - dependencies: - "tslib" "2.4.0" - -"fs-extra@^9.1.0": - "integrity" "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==" - "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" - "version" "9.1.0" - 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": - "integrity" "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==" - "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz" - "version" "1.2.7" - dependencies: - "minipass" "^2.6.0" - -"fs-minipass@^2.0.0", "fs-minipass@^2.1.0": - "integrity" "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==" - "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "minipass" "^3.0.0" - -"fs-readdir-recursive@^1.1.0": - "integrity" "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" - "resolved" "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz" - "version" "1.1.0" - -"fs.realpath@^1.0.0": - "integrity" "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" - "version" "1.0.0" - -"fsevents@^2.3.2", "fsevents@~2.3.2": - "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" - "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" - "version" "2.3.2" - -"function-bind@^1.1.1": - "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" - "version" "1.1.1" - -"function.prototype.name@^1.1.5": - "integrity" "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==" - "resolved" "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz" - "version" "1.1.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.0" - "functions-have-names" "^1.2.2" - -"functional-red-black-tree@^1.0.1": - "integrity" "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==" - "resolved" "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" - "version" "1.0.1" - -"functions-have-names@^1.2.2": - "integrity" "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" - "resolved" "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" - "version" "1.2.3" - -"fuzzy@0.1.3": - "integrity" "sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w==" - "resolved" "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz" - "version" "0.1.3" - -"gauge@~2.7.3": - "integrity" "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==" - "resolved" "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz" - "version" "2.7.4" - 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" - -"gensync@^1.0.0-beta.1", "gensync@^1.0.0-beta.2": - "integrity" "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" - "resolved" "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" - "version" "1.0.0-beta.2" - -"get-caller-file@^2.0.5": - "integrity" "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - "resolved" "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" - "version" "2.0.5" - -"get-intrinsic@^1.0.2", "get-intrinsic@^1.1.0", "get-intrinsic@^1.1.1", "get-intrinsic@^1.1.2": - "integrity" "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==" - "resolved" "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" - "version" "1.1.3" - dependencies: - "function-bind" "^1.1.1" - "has" "^1.0.3" - "has-symbols" "^1.0.3" - -"get-nonce@^1.0.0": - "integrity" "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==" - "resolved" "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz" - "version" "1.0.1" - -"get-package-type@^0.1.0": - "integrity" "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==" - "resolved" "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" - "version" "0.1.0" - -"get-pkg-repo@^4.0.0": - "integrity" "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==" - "resolved" "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz" - "version" "4.2.1" +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +fs-extra@^9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + 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.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz" + integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== + dependencies: + minipass "^2.6.0" + +fs-minipass@^2.0.0, fs-minipass@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + +fs-readdir-recursive@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz" + integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2, fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +function.prototype.name@^1.1.5: + version "1.1.5" + resolved "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz" + integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + 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.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" + integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== + +functions-have-names@^1.2.2: + version "1.2.3" + resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +fuzzy@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz" + integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== + +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz" + 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" + +gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.2: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-pkg-repo@^4.0.0: + version "4.2.1" + resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz" + integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== dependencies: "@hutson/parse-repository-url" "^3.0.0" - "hosted-git-info" "^4.0.0" - "through2" "^2.0.0" - "yargs" "^16.2.0" + hosted-git-info "^4.0.0" + through2 "^2.0.0" + yargs "^16.2.0" -"get-port@^5.1.1": - "integrity" "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==" - "resolved" "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz" - "version" "5.1.1" +get-port@^5.1.1: + version "5.1.1" + resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz" + integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== -"get-stdin@^8.0.0": - "integrity" "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==" - "resolved" "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz" - "version" "8.0.0" +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== -"get-stream@^6.0.0": - "integrity" "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" - "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" - "version" "6.0.1" +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -"get-symbol-description@^1.0.0": - "integrity" "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==" - "resolved" "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz" - "version" "1.0.0" +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== dependencies: - "call-bind" "^1.0.2" - "get-intrinsic" "^1.1.1" + call-bind "^1.0.2" + get-intrinsic "^1.1.1" -"getpass@^0.1.1": - "integrity" "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==" - "resolved" "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz" - "version" "0.1.7" +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz" + integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== dependencies: - "assert-plus" "^1.0.0" + assert-plus "^1.0.0" -"git-raw-commits@^2.0.8": - "integrity" "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==" - "resolved" "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz" - "version" "2.0.11" +git-raw-commits@^2.0.8: + version "2.0.11" + resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz" + integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== dependencies: - "dargs" "^7.0.0" - "lodash" "^4.17.15" - "meow" "^8.0.0" - "split2" "^3.0.0" - "through2" "^4.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": - "integrity" "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==" - "resolved" "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz" - "version" "2.0.0" +git-remote-origin-url@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz" + integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== dependencies: - "gitconfiglocal" "^1.0.0" - "pify" "^2.3.0" + gitconfiglocal "^1.0.0" + pify "^2.3.0" -"git-semver-tags@^4.1.1": - "integrity" "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==" - "resolved" "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz" - "version" "4.1.1" +git-semver-tags@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz" + integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== dependencies: - "meow" "^8.0.0" - "semver" "^6.0.0" + meow "^8.0.0" + semver "^6.0.0" -"git-up@^4.0.0": - "integrity" "sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA==" - "resolved" "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz" - "version" "4.0.5" +git-up@^4.0.0: + version "4.0.5" + resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz" + integrity sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA== dependencies: - "is-ssh" "^1.3.0" - "parse-url" "^6.0.0" + is-ssh "^1.3.0" + parse-url "^6.0.0" -"git-url-parse@^11.4.4": - "integrity" "sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g==" - "resolved" "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz" - "version" "11.6.0" +git-url-parse@^11.4.4: + version "11.6.0" + resolved "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz" + integrity sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g== dependencies: - "git-up" "^4.0.0" + git-up "^4.0.0" -"gitconfiglocal@^1.0.0": - "integrity" "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==" - "resolved" "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz" - "version" "1.0.0" +gitconfiglocal@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz" + integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== dependencies: - "ini" "^1.3.2" + ini "^1.3.2" -"glob-parent@^5.1.1", "glob-parent@^5.1.2", "glob-parent@~5.1.2": - "integrity" "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==" - "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" - "version" "5.1.2" +glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== dependencies: - "is-glob" "^4.0.1" + is-glob "^4.0.1" -"glob-parent@^6.0.1": - "integrity" "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==" - "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" - "version" "6.0.2" +glob-parent@^6.0.1: + version "6.0.2" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: - "is-glob" "^4.0.3" + is-glob "^4.0.3" -"glob-promise@^4.2.2": - "integrity" "sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw==" - "resolved" "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz" - "version" "4.2.2" +glob-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== dependencies: "@types/glob" "^7.1.3" -"glob@^7.0.0", "glob@^7.1.1", "glob@^7.1.3", "glob@^7.1.4", "glob@^7.1.6", "glob@^7.2.0": - "integrity" "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==" - "resolved" "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" - "version" "7.2.3" - dependencies: - "fs.realpath" "^1.0.0" - "inflight" "^1.0.4" - "inherits" "2" - "minimatch" "^3.1.1" - "once" "^1.3.0" - "path-is-absolute" "^1.0.0" - -"glob@7.1.7": - "integrity" "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==" - "resolved" "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz" - "version" "7.1.7" - 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@8.0.3": - "integrity" "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==" - "resolved" "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" - "version" "8.0.3" - dependencies: - "fs.realpath" "^1.0.0" - "inflight" "^1.0.4" - "inherits" "2" - "minimatch" "^5.0.1" - "once" "^1.3.0" - -"globals@^11.1.0": - "integrity" "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" - "resolved" "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" - "version" "11.12.0" - -"globals@^13.15.0": - "integrity" "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==" - "resolved" "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz" - "version" "13.17.0" - dependencies: - "type-fest" "^0.20.2" - -"globalthis@^1.0.1": - "integrity" "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==" - "resolved" "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "define-properties" "^1.1.3" - -"globby@^11.0.2", "globby@^11.1.0": - "integrity" "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==" - "resolved" "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" - "version" "11.1.0" - dependencies: - "array-union" "^2.1.0" - "dir-glob" "^3.0.1" - "fast-glob" "^3.2.9" - "ignore" "^5.2.0" - "merge2" "^1.4.1" - "slash" "^3.0.0" - -"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.3", "graceful-fs@^4.2.9": - "integrity" "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" - "resolved" "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" - "version" "4.2.10" - -"grapheme-splitter@^1.0.4": - "integrity" "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" - "resolved" "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" - "version" "1.0.4" - -"graphemesplit@^2.4.1": - "integrity" "sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w==" - "resolved" "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz" - "version" "2.4.4" - dependencies: - "js-base64" "^3.6.0" - "unicode-trie" "^2.0.0" - -"handlebars@^4.7.7": - "integrity" "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==" - "resolved" "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz" - "version" "4.7.7" - dependencies: - "minimist" "^1.2.5" - "neo-async" "^2.6.0" - "source-map" "^0.6.1" - "wordwrap" "^1.0.0" +glob@7.1.7: + version "7.1.7" + resolved "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + 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@8.0.3: + version "8.0.3" + resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globals@^13.15.0: + version "13.17.0" + resolved "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz" + integrity sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw== + dependencies: + type-fest "^0.20.2" + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +globby@^11.0.2, globby@^11.1.0: + version "11.1.0" + resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +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.3, graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + +graphemesplit@^2.4.1: + version "2.4.4" + resolved "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz" + integrity sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w== + dependencies: + js-base64 "^3.6.0" + unicode-trie "^2.0.0" + +handlebars@^4.7.7: + version "4.7.7" + resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz" + integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== + dependencies: + minimist "^1.2.5" + neo-async "^2.6.0" + source-map "^0.6.1" + wordwrap "^1.0.0" optionalDependencies: - "uglify-js" "^3.1.4" - -"har-schema@^2.0.0": - "integrity" "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==" - "resolved" "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz" - "version" "2.0.0" - -"har-validator@~5.1.3": - "integrity" "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==" - "resolved" "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz" - "version" "5.1.5" - dependencies: - "ajv" "^6.12.3" - "har-schema" "^2.0.0" - -"hard-rejection@^2.1.0": - "integrity" "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" - "resolved" "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz" - "version" "2.1.0" - -"has-ansi@^2.0.0": - "integrity" "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==" - "resolved" "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "ansi-regex" "^2.0.0" - -"has-bigints@^1.0.1", "has-bigints@^1.0.2": - "integrity" "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" - "resolved" "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz" - "version" "1.0.2" - -"has-flag@^3.0.0": - "integrity" "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" - "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" - "version" "3.0.0" - -"has-flag@^4.0.0": - "integrity" "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" - "version" "4.0.0" - -"has-property-descriptors@^1.0.0": - "integrity" "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==" - "resolved" "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" - "version" "1.0.0" - dependencies: - "get-intrinsic" "^1.1.1" - -"has-symbols@^1.0.2", "has-symbols@^1.0.3": - "integrity" "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - "resolved" "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" - "version" "1.0.3" - -"has-tostringtag@^1.0.0": - "integrity" "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==" - "resolved" "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" - "version" "1.0.0" - dependencies: - "has-symbols" "^1.0.2" - -"has-unicode@^2.0.0", "has-unicode@^2.0.1": - "integrity" "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" - "resolved" "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" - "version" "2.0.1" - -"has@^1.0.3": - "integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==" - "resolved" "https://registry.npmjs.org/has/-/has-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "function-bind" "^1.1.1" - -"hash-base@^3.0.0": - "integrity" "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==" - "resolved" "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "inherits" "^2.0.4" - "readable-stream" "^3.6.0" - "safe-buffer" "^5.2.0" - -"hash.js@^1.0.0", "hash.js@^1.0.3", "hash.js@^1.1.7", "hash.js@~1.1.7": - "integrity" "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==" - "resolved" "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" - "version" "1.1.7" - dependencies: - "inherits" "^2.0.3" - "minimalistic-assert" "^1.0.1" - -"hey-listen@^1.0.8": - "integrity" "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" - "resolved" "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" - "version" "1.0.8" - -"hmac-drbg@^1.0.1": - "integrity" "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==" - "resolved" "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "hash.js" "^1.0.3" - "minimalistic-assert" "^1.0.0" - "minimalistic-crypto-utils" "^1.0.1" - -"hoist-non-react-statics@^3.3.1": - "integrity" "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==" - "resolved" "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" - "version" "3.3.2" - dependencies: - "react-is" "^16.7.0" + uglify-js "^3.1.4" + +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz" + integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== + +har-validator@~5.1.3: + version "5.1.5" + resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz" + 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.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz" + integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has-unicode@^2.0.0, has-unicode@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" -"homedir-polyfill@^1.0.1": - "integrity" "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==" - "resolved" "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "parse-passwd" "^1.0.0" - -"hosted-git-info@^2.1.4": - "integrity" "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz" - "version" "2.8.9" +homedir-polyfill@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz" + integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== + dependencies: + parse-passwd "^1.0.0" + +hosted-git-info@^2.1.4: + version "2.8.9" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz" + integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== -"hosted-git-info@^4.0.0", "hosted-git-info@^4.0.1": - "integrity" "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==" - "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "lru-cache" "^6.0.0" - -"html-escaper@^2.0.0": - "integrity" "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" - "resolved" "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" - "version" "2.0.2" +hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: + version "4.1.0" + resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz" + integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== + dependencies: + lru-cache "^6.0.0" + +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -"http-cache-semantics@^4.1.0": - "integrity" "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - "resolved" "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz" - "version" "4.1.0" +http-cache-semantics@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz" + integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== -"http-proxy-agent@^4.0.1": - "integrity" "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==" - "resolved" "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" - "version" "4.0.1" +http-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" + integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== dependencies: "@tootallnate/once" "1" - "agent-base" "6" - "debug" "4" + agent-base "6" + debug "4" -"http-signature@~1.2.0": - "integrity" "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==" - "resolved" "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz" - "version" "1.2.0" - dependencies: - "assert-plus" "^1.0.0" - "jsprim" "^1.2.2" - "sshpk" "^1.7.0" - -"https-proxy-agent@^5.0.0": - "integrity" "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==" - "resolved" "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" - "version" "5.0.1" - dependencies: - "agent-base" "6" - "debug" "4" - -"human-signals@^2.1.0": - "integrity" "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" - "resolved" "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" - "version" "2.1.0" - -"humanize-ms@^1.2.1": - "integrity" "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==" - "resolved" "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz" - "version" "1.2.1" - dependencies: - "ms" "^2.0.0" - -"iconv-lite@^0.4.17", "iconv-lite@^0.4.24": - "integrity" "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==" - "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" - "version" "0.4.24" - dependencies: - "safer-buffer" ">= 2.1.2 < 3" - -"iconv-lite@^0.6.2": - "integrity" "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==" - "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz" - "version" "0.6.3" - dependencies: - "safer-buffer" ">= 2.1.2 < 3.0.0" - -"ieee754@^1.1.4", "ieee754@^1.2.1": - "integrity" "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - "resolved" "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" - "version" "1.2.1" - -"ignore-walk@^3.0.3": - "integrity" "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==" - "resolved" "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz" - "version" "3.0.4" - dependencies: - "minimatch" "^3.0.4" - -"ignore@^5.2.0": - "integrity" "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" - "resolved" "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz" - "version" "5.2.0" - -"import-fresh@^3.0.0", "import-fresh@^3.1.0", "import-fresh@^3.2.1": - "integrity" "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==" - "resolved" "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" - "version" "3.3.0" - dependencies: - "parent-module" "^1.0.0" - "resolve-from" "^4.0.0" - -"import-local@^3.0.2": - "integrity" "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==" - "resolved" "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "pkg-dir" "^4.2.0" - "resolve-cwd" "^3.0.0" - -"imurmurhash@^0.1.4": - "integrity" "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" - "resolved" "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" - "version" "0.1.4" - -"indent-string@^4.0.0": - "integrity" "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" - "resolved" "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" - "version" "4.0.0" - -"infer-owner@^1.0.4": - "integrity" "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" - "resolved" "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz" - "version" "1.0.4" - -"inflight@^1.0.4": - "integrity" "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==" - "resolved" "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" - "version" "1.0.6" - dependencies: - "once" "^1.3.0" - "wrappy" "1" - -"inherits@^2.0.1", "inherits@^2.0.3", "inherits@^2.0.4", "inherits@~2.0.3", "inherits@2": - "integrity" "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" - "version" "2.0.4" - -"inherits@2.0.3": - "integrity" "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" - "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" - "version" "2.0.3" - -"ini@^1.3.2", "ini@^1.3.4": - "integrity" "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - "resolved" "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz" - "version" "1.3.8" - -"init-package-json@^2.0.2": - "integrity" "sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA==" - "resolved" "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz" - "version" "2.0.5" - dependencies: - "npm-package-arg" "^8.1.5" - "promzard" "^0.3.0" - "read" "~1.0.1" - "read-package-json" "^4.1.1" - "semver" "^7.3.5" - "validate-npm-package-license" "^3.0.4" - "validate-npm-package-name" "^3.0.0" - -"inquirer-autocomplete-prompt@^0.11.1": - "integrity" "sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw==" - "resolved" "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz" - "version" "0.11.1" - dependencies: - "ansi-escapes" "^2.0.0" - "chalk" "^1.1.3" - "figures" "^2.0.0" - "inquirer" "3.1.1" - "lodash" "^4.17.4" - "run-async" "^2.3.0" - "util" "^0.10.3" - -"inquirer@^6.0.0": - "integrity" "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==" - "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz" - "version" "6.5.2" - dependencies: - "ansi-escapes" "^3.2.0" - "chalk" "^2.4.2" - "cli-cursor" "^2.1.0" - "cli-width" "^2.0.0" - "external-editor" "^3.0.3" - "figures" "^2.0.0" - "lodash" "^4.17.12" - "mute-stream" "0.0.7" - "run-async" "^2.2.0" - "rxjs" "^6.4.0" - "string-width" "^2.1.0" - "strip-ansi" "^5.1.0" - "through" "^2.3.6" - -"inquirer@^7.3.3": - "integrity" "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==" - "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz" - "version" "7.3.3" - dependencies: - "ansi-escapes" "^4.2.1" - "chalk" "^4.1.0" - "cli-cursor" "^3.1.0" - "cli-width" "^3.0.0" - "external-editor" "^3.0.3" - "figures" "^3.0.0" - "lodash" "^4.17.19" - "mute-stream" "0.0.8" - "run-async" "^2.4.0" - "rxjs" "^6.6.0" - "string-width" "^4.1.0" - "strip-ansi" "^6.0.0" - "through" "^2.3.6" - -"inquirer@3.1.1": - "integrity" "sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ==" - "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz" - "version" "3.1.1" - dependencies: - "ansi-escapes" "^2.0.0" - "chalk" "^1.0.0" - "cli-cursor" "^2.1.0" - "cli-width" "^2.0.0" - "external-editor" "^2.0.4" - "figures" "^2.0.0" - "lodash" "^4.3.0" - "mute-stream" "0.0.7" - "run-async" "^2.2.0" - "rx-lite" "^4.0.8" - "rx-lite-aggregates" "^4.0.8" - "string-width" "^2.0.0" - "strip-ansi" "^3.0.0" - "through" "^2.3.6" - -"inquirerer@0.1.3": - "integrity" "sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ==" - "resolved" "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz" - "version" "0.1.3" - dependencies: - "colors" "^1.1.2" - "inquirer" "^6.0.0" - "inquirer-autocomplete-prompt" "^0.11.1" - -"internal-slot@^1.0.3": - "integrity" "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==" - "resolved" "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "get-intrinsic" "^1.1.0" - "has" "^1.0.3" - "side-channel" "^1.0.4" - -"interpret@^1.0.0": - "integrity" "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" - "resolved" "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" - "version" "1.4.0" - -"invariant@^2.2.2", "invariant@^2.2.4": - "integrity" "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==" - "resolved" "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz" - "version" "2.2.4" - dependencies: - "loose-envify" "^1.0.0" - -"ip@^2.0.0": - "integrity" "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" - "resolved" "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz" - "version" "2.0.0" - -"is-arrayish@^0.2.1": - "integrity" "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" - "resolved" "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" - "version" "0.2.1" - -"is-bigint@^1.0.1": - "integrity" "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==" - "resolved" "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "has-bigints" "^1.0.1" - -"is-binary-path@~2.1.0": - "integrity" "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==" - "resolved" "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "binary-extensions" "^2.0.0" - -"is-boolean-object@^1.1.0": - "integrity" "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==" - "resolved" "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz" - "version" "1.1.2" - dependencies: - "call-bind" "^1.0.2" - "has-tostringtag" "^1.0.0" - -"is-buffer@~1.1.1": - "integrity" "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - "resolved" "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz" - "version" "1.1.6" - -"is-callable@^1.1.4", "is-callable@^1.2.4": - "integrity" "sha512-krO72EO2NptOGAX2KYyqbP9vYMlNAXdB53rq6f8LXY6RY7JdSR/3BD6wLUlPHSAesmY9vstNrjvqGaCiRK/91Q==" - "resolved" "https://registry.npmjs.org/is-callable/-/is-callable-1.2.6.tgz" - "version" "1.2.6" - -"is-ci@^2.0.0": - "integrity" "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==" - "resolved" "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "ci-info" "^2.0.0" - -"is-core-module@^2.5.0", "is-core-module@^2.8.1", "is-core-module@^2.9.0": - "integrity" "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==" - "resolved" "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz" - "version" "2.10.0" - dependencies: - "has" "^1.0.3" - -"is-date-object@^1.0.1": - "integrity" "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==" - "resolved" "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" - "version" "1.0.5" - dependencies: - "has-tostringtag" "^1.0.0" - -"is-extglob@^2.1.1": - "integrity" "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" - "resolved" "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" - "version" "2.1.1" - -"is-fullwidth-code-point@^1.0.0": - "integrity" "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==" - "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" - "version" "1.0.0" - dependencies: - "number-is-nan" "^1.0.0" - -"is-fullwidth-code-point@^2.0.0": - "integrity" "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==" - "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" - "version" "2.0.0" - -"is-fullwidth-code-point@^3.0.0": - "integrity" "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" - "version" "3.0.0" - -"is-generator-fn@^2.0.0": - "integrity" "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==" - "resolved" "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" - "version" "2.1.0" - -"is-glob@^4.0.0", "is-glob@^4.0.1", "is-glob@^4.0.3", "is-glob@~4.0.1": - "integrity" "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==" - "resolved" "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" - "version" "4.0.3" - dependencies: - "is-extglob" "^2.1.1" +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz" + integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +humanize-ms@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz" + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== + dependencies: + ms "^2.0.0" + +iconv-lite@^0.4.17, iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +iconv-lite@^0.6.2: + version "0.6.3" + resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore-walk@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz" + integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== + dependencies: + minimatch "^3.0.4" + +ignore@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz" + integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + +import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +import-local@^3.0.2: + version "3.1.0" + resolved "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + +infer-owner@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz" + integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +ini@^1.3.2, ini@^1.3.4: + version "1.3.8" + resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +init-package-json@^2.0.2: + version "2.0.5" + resolved "https://registry.npmjs.org/init-package-json/-/init-package-json-2.0.5.tgz" + integrity sha512-u1uGAtEFu3VA6HNl/yUWw57jmKEMx8SKOxHhxjGnOFUiIlFnohKDFg4ZrPpv9wWqk44nDxGJAtqjdQFm+9XXQA== + dependencies: + npm-package-arg "^8.1.5" + promzard "^0.3.0" + read "~1.0.1" + read-package-json "^4.1.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^3.0.0" + +inquirer-autocomplete-prompt@^0.11.1: + version "0.11.1" + resolved "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz" + integrity sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.1.3" + figures "^2.0.0" + inquirer "3.1.1" + lodash "^4.17.4" + run-async "^2.3.0" + util "^0.10.3" + +inquirer@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz" + integrity sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.0.0" + strip-ansi "^3.0.0" + through "^2.3.6" + +inquirer@^6.0.0: + version "6.5.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== + dependencies: + ansi-escapes "^3.2.0" + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^2.0.0" + lodash "^4.17.12" + mute-stream "0.0.7" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^2.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + +inquirer@^7.3.3: + version "7.3.3" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz" + integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.19" + mute-stream "0.0.8" + run-async "^2.4.0" + rxjs "^6.6.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + +inquirerer@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz" + integrity sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ== + dependencies: + colors "^1.1.2" + inquirer "^6.0.0" + inquirer-autocomplete-prompt "^0.11.1" + +internal-slot@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz" + integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== + dependencies: + get-intrinsic "^1.1.0" + has "^1.0.3" + side-channel "^1.0.4" + +interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + +invariant@^2.2.2, invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +ip@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz" + integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-callable@^1.1.4, is-callable@^1.2.4: + version "1.2.6" + resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.6.tgz" + integrity sha512-krO72EO2NptOGAX2KYyqbP9vYMlNAXdB53rq6f8LXY6RY7JdSR/3BD6wLUlPHSAesmY9vstNrjvqGaCiRK/91Q== + +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + +is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: + version "2.10.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz" + integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== + dependencies: + has "^1.0.3" + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" + 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.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + +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.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" -"is-lambda@^1.0.1": - "integrity" "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==" - "resolved" "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz" - "version" "1.0.1" - -"is-negative-zero@^2.0.2": - "integrity" "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" - "resolved" "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" - "version" "2.0.2" - -"is-number-object@^1.0.4": - "integrity" "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==" - "resolved" "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" - "version" "1.0.7" +is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== + +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== dependencies: - "has-tostringtag" "^1.0.0" + has-tostringtag "^1.0.0" -"is-number@^7.0.0": - "integrity" "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" - "resolved" "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" - "version" "7.0.0" - -"is-obj@^2.0.0": - "integrity" "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" - "resolved" "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" - "version" "2.0.0" - -"is-plain-obj@^1.0.0", "is-plain-obj@^1.1.0": - "integrity" "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" - "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" - "version" "1.1.0" - -"is-plain-obj@^2.0.0": - "integrity" "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" - "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz" - "version" "2.1.0" - -"is-plain-object@^2.0.4": - "integrity" "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==" - "resolved" "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz" - "version" "2.0.4" - dependencies: - "isobject" "^3.0.1" - -"is-plain-object@^5.0.0": - "integrity" "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" - "resolved" "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz" - "version" "5.0.0" - -"is-promise@^2.2.2": - "integrity" "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" - "resolved" "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz" - "version" "2.2.2" - -"is-regex@^1.1.4": - "integrity" "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==" - "resolved" "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz" - "version" "1.1.4" - dependencies: - "call-bind" "^1.0.2" - "has-tostringtag" "^1.0.0" - -"is-shared-array-buffer@^1.0.2": - "integrity" "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==" - "resolved" "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "call-bind" "^1.0.2" - -"is-ssh@^1.3.0": - "integrity" "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==" - "resolved" "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz" - "version" "1.4.0" - dependencies: - "protocols" "^2.0.1" - -"is-stream@^2.0.0": - "integrity" "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" - "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" - "version" "2.0.1" - -"is-string@^1.0.5", "is-string@^1.0.7": - "integrity" "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==" - "resolved" "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz" - "version" "1.0.7" - dependencies: - "has-tostringtag" "^1.0.0" - -"is-symbol@^1.0.2", "is-symbol@^1.0.3": - "integrity" "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==" - "resolved" "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "has-symbols" "^1.0.2" - -"is-text-path@^1.0.1": - "integrity" "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==" - "resolved" "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "text-extensions" "^1.0.0" - -"is-typedarray@^1.0.0", "is-typedarray@~1.0.0", "is-typedarray@1.0.0": - "integrity" "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" - "resolved" "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" - "version" "1.0.0" - -"is-weakref@^1.0.2": - "integrity" "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==" - "resolved" "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "call-bind" "^1.0.2" - -"isarray@~1.0.0": - "integrity" "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - "resolved" "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" - "version" "1.0.0" - -"isexe@^2.0.0": - "integrity" "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - "resolved" "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" - "version" "2.0.0" - -"isobject@^3.0.1": - "integrity" "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==" - "resolved" "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz" - "version" "3.0.1" - -"isomorphic-ws@^4.0.1": - "integrity" "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==" - "resolved" "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz" - "version" "4.0.1" - -"isstream@~0.1.2": - "integrity" "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==" - "resolved" "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz" - "version" "0.1.2" +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + +is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" + integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== + +is-plain-obj@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz" + integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== + +is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== + +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + +is-ssh@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz" + integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== + dependencies: + protocols "^2.0.1" + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-text-path@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz" + integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== + dependencies: + text-extensions "^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.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz" + integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== -"istanbul-lib-coverage@^3.0.0", "istanbul-lib-coverage@^3.2.0": - "integrity" "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==" - "resolved" "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" - "version" "3.2.0" +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== -"istanbul-lib-instrument@^5.0.4", "istanbul-lib-instrument@^5.1.0": - "integrity" "sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==" - "resolved" "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz" - "version" "5.2.0" +istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz" + integrity sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A== dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" "@istanbuljs/schema" "^0.1.2" - "istanbul-lib-coverage" "^3.2.0" - "semver" "^6.3.0" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" -"istanbul-lib-report@^3.0.0": - "integrity" "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==" - "resolved" "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" - "version" "3.0.0" +istanbul-lib-report@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== dependencies: - "istanbul-lib-coverage" "^3.0.0" - "make-dir" "^3.0.0" - "supports-color" "^7.1.0" + istanbul-lib-coverage "^3.0.0" + make-dir "^3.0.0" + supports-color "^7.1.0" -"istanbul-lib-source-maps@^4.0.0": - "integrity" "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==" - "resolved" "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" - "version" "4.0.1" +istanbul-lib-source-maps@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== dependencies: - "debug" "^4.1.1" - "istanbul-lib-coverage" "^3.0.0" - "source-map" "^0.6.1" + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" -"istanbul-reports@^3.1.3": - "integrity" "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==" - "resolved" "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz" - "version" "3.1.5" +istanbul-reports@^3.1.3: + version "3.1.5" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz" + integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== dependencies: - "html-escaper" "^2.0.0" - "istanbul-lib-report" "^3.0.0" + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" -"jest-changed-files@^28.1.3": - "integrity" "sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA==" - "resolved" "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-28.1.3.tgz" - "version" "28.1.3" +jest-changed-files@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-28.1.3.tgz" + integrity sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA== dependencies: - "execa" "^5.0.0" - "p-limit" "^3.1.0" + execa "^5.0.0" + p-limit "^3.1.0" -"jest-circus@^28.1.3": - "integrity" "sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow==" - "resolved" "https://registry.npmjs.org/jest-circus/-/jest-circus-28.1.3.tgz" - "version" "28.1.3" +jest-circus@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-28.1.3.tgz" + integrity sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow== dependencies: "@jest/environment" "^28.1.3" "@jest/expect" "^28.1.3" "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - "chalk" "^4.0.0" - "co" "^4.6.0" - "dedent" "^0.7.0" - "is-generator-fn" "^2.0.0" - "jest-each" "^28.1.3" - "jest-matcher-utils" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-runtime" "^28.1.3" - "jest-snapshot" "^28.1.3" - "jest-util" "^28.1.3" - "p-limit" "^3.1.0" - "pretty-format" "^28.1.3" - "slash" "^3.0.0" - "stack-utils" "^2.0.3" - -"jest-cli@^28.1.3": - "integrity" "sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ==" - "resolved" "https://registry.npmjs.org/jest-cli/-/jest-cli-28.1.3.tgz" - "version" "28.1.3" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + is-generator-fn "^2.0.0" + jest-each "^28.1.3" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-runtime "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" + p-limit "^3.1.0" + pretty-format "^28.1.3" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-cli@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-28.1.3.tgz" + integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== dependencies: "@jest/core" "^28.1.3" "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" - "chalk" "^4.0.0" - "exit" "^0.1.2" - "graceful-fs" "^4.2.9" - "import-local" "^3.0.2" - "jest-config" "^28.1.3" - "jest-util" "^28.1.3" - "jest-validate" "^28.1.3" - "prompts" "^2.0.1" - "yargs" "^17.3.1" - -"jest-config@^28.1.3": - "integrity" "sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ==" - "resolved" "https://registry.npmjs.org/jest-config/-/jest-config-28.1.3.tgz" - "version" "28.1.3" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + import-local "^3.0.2" + jest-config "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" + prompts "^2.0.1" + yargs "^17.3.1" + +jest-config@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-28.1.3.tgz" + integrity sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ== dependencies: "@babel/core" "^7.11.6" "@jest/test-sequencer" "^28.1.3" "@jest/types" "^28.1.3" - "babel-jest" "^28.1.3" - "chalk" "^4.0.0" - "ci-info" "^3.2.0" - "deepmerge" "^4.2.2" - "glob" "^7.1.3" - "graceful-fs" "^4.2.9" - "jest-circus" "^28.1.3" - "jest-environment-node" "^28.1.3" - "jest-get-type" "^28.0.2" - "jest-regex-util" "^28.0.2" - "jest-resolve" "^28.1.3" - "jest-runner" "^28.1.3" - "jest-util" "^28.1.3" - "jest-validate" "^28.1.3" - "micromatch" "^4.0.4" - "parse-json" "^5.2.0" - "pretty-format" "^28.1.3" - "slash" "^3.0.0" - "strip-json-comments" "^3.1.1" - -"jest-diff@^28.1.3": - "integrity" "sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==" - "resolved" "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz" - "version" "28.1.3" - dependencies: - "chalk" "^4.0.0" - "diff-sequences" "^28.1.1" - "jest-get-type" "^28.0.2" - "pretty-format" "^28.1.3" - -"jest-docblock@^28.1.1": - "integrity" "sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA==" - "resolved" "https://registry.npmjs.org/jest-docblock/-/jest-docblock-28.1.1.tgz" - "version" "28.1.1" - dependencies: - "detect-newline" "^3.0.0" - -"jest-each@^28.1.3": - "integrity" "sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g==" - "resolved" "https://registry.npmjs.org/jest-each/-/jest-each-28.1.3.tgz" - "version" "28.1.3" + babel-jest "^28.1.3" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-circus "^28.1.3" + jest-environment-node "^28.1.3" + jest-get-type "^28.0.2" + jest-regex-util "^28.0.2" + jest-resolve "^28.1.3" + jest-runner "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^28.1.3" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz" + integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== + dependencies: + chalk "^4.0.0" + diff-sequences "^28.1.1" + jest-get-type "^28.0.2" + pretty-format "^28.1.3" + +jest-docblock@^28.1.1: + version "28.1.1" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-28.1.1.tgz" + integrity sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA== + dependencies: + detect-newline "^3.0.0" + +jest-each@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-28.1.3.tgz" + integrity sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g== dependencies: "@jest/types" "^28.1.3" - "chalk" "^4.0.0" - "jest-get-type" "^28.0.2" - "jest-util" "^28.1.3" - "pretty-format" "^28.1.3" + chalk "^4.0.0" + jest-get-type "^28.0.2" + jest-util "^28.1.3" + pretty-format "^28.1.3" -"jest-environment-node@^28.1.3": - "integrity" "sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A==" - "resolved" "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-28.1.3.tgz" - "version" "28.1.3" +jest-environment-node@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-28.1.3.tgz" + integrity sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A== dependencies: "@jest/environment" "^28.1.3" "@jest/fake-timers" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - "jest-mock" "^28.1.3" - "jest-util" "^28.1.3" + jest-mock "^28.1.3" + jest-util "^28.1.3" -"jest-get-type@^28.0.2": - "integrity" "sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA==" - "resolved" "https://registry.npmjs.org/jest-get-type/-/jest-get-type-28.0.2.tgz" - "version" "28.0.2" +jest-get-type@^28.0.2: + version "28.0.2" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-28.0.2.tgz" + integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== -"jest-haste-map@^28.1.3": - "integrity" "sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA==" - "resolved" "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz" - "version" "28.1.3" +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== dependencies: "@jest/types" "^28.1.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" "^28.0.2" - "jest-util" "^28.1.3" - "jest-worker" "^28.1.3" - "micromatch" "^4.0.4" - "walker" "^1.0.8" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + jest-worker "^28.1.3" + micromatch "^4.0.4" + walker "^1.0.8" optionalDependencies: - "fsevents" "^2.3.2" + fsevents "^2.3.2" -"jest-in-case@^1.0.2": - "integrity" "sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA==" - "resolved" "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz" - "version" "1.0.2" +jest-in-case@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz" + integrity sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA== -"jest-leak-detector@^28.1.3": - "integrity" "sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA==" - "resolved" "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz" - "version" "28.1.3" +jest-leak-detector@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz" + integrity sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA== dependencies: - "jest-get-type" "^28.0.2" - "pretty-format" "^28.1.3" + jest-get-type "^28.0.2" + pretty-format "^28.1.3" -"jest-matcher-utils@^28.1.3": - "integrity" "sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw==" - "resolved" "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz" - "version" "28.1.3" +jest-matcher-utils@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz" + integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== dependencies: - "chalk" "^4.0.0" - "jest-diff" "^28.1.3" - "jest-get-type" "^28.0.2" - "pretty-format" "^28.1.3" + chalk "^4.0.0" + jest-diff "^28.1.3" + jest-get-type "^28.0.2" + pretty-format "^28.1.3" -"jest-message-util@^28.1.3": - "integrity" "sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==" - "resolved" "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz" - "version" "28.1.3" +jest-message-util@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-28.1.3.tgz" + integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== dependencies: "@babel/code-frame" "^7.12.13" "@jest/types" "^28.1.3" "@types/stack-utils" "^2.0.0" - "chalk" "^4.0.0" - "graceful-fs" "^4.2.9" - "micromatch" "^4.0.4" - "pretty-format" "^28.1.3" - "slash" "^3.0.0" - "stack-utils" "^2.0.3" - -"jest-mock@^28.1.3": - "integrity" "sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA==" - "resolved" "https://registry.npmjs.org/jest-mock/-/jest-mock-28.1.3.tgz" - "version" "28.1.3" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^28.1.3" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-28.1.3.tgz" + integrity sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA== dependencies: "@jest/types" "^28.1.3" "@types/node" "*" -"jest-pnp-resolver@^1.2.2": - "integrity" "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==" - "resolved" "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz" - "version" "1.2.2" - -"jest-regex-util@^28.0.2": - "integrity" "sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==" - "resolved" "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz" - "version" "28.0.2" - -"jest-resolve-dependencies@^28.1.3": - "integrity" "sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA==" - "resolved" "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz" - "version" "28.1.3" - dependencies: - "jest-regex-util" "^28.0.2" - "jest-snapshot" "^28.1.3" - -"jest-resolve@*", "jest-resolve@^28.1.3": - "integrity" "sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ==" - "resolved" "https://registry.npmjs.org/jest-resolve/-/jest-resolve-28.1.3.tgz" - "version" "28.1.3" - dependencies: - "chalk" "^4.0.0" - "graceful-fs" "^4.2.9" - "jest-haste-map" "^28.1.3" - "jest-pnp-resolver" "^1.2.2" - "jest-util" "^28.1.3" - "jest-validate" "^28.1.3" - "resolve" "^1.20.0" - "resolve.exports" "^1.1.0" - "slash" "^3.0.0" - -"jest-runner@^28.1.3": - "integrity" "sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA==" - "resolved" "https://registry.npmjs.org/jest-runner/-/jest-runner-28.1.3.tgz" - "version" "28.1.3" +jest-pnp-resolver@^1.2.2: + version "1.2.2" + resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz" + integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== + +jest-regex-util@^28.0.2: + version "28.0.2" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + +jest-resolve-dependencies@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz" + integrity sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA== + dependencies: + jest-regex-util "^28.0.2" + jest-snapshot "^28.1.3" + +jest-resolve@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-28.1.3.tgz" + integrity sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ== + dependencies: + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-pnp-resolver "^1.2.2" + jest-util "^28.1.3" + jest-validate "^28.1.3" + resolve "^1.20.0" + resolve.exports "^1.1.0" + slash "^3.0.0" + +jest-runner@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-28.1.3.tgz" + integrity sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA== dependencies: "@jest/console" "^28.1.3" "@jest/environment" "^28.1.3" @@ -9614,26 +8797,26 @@ "@jest/transform" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - "chalk" "^4.0.0" - "emittery" "^0.10.2" - "graceful-fs" "^4.2.9" - "jest-docblock" "^28.1.1" - "jest-environment-node" "^28.1.3" - "jest-haste-map" "^28.1.3" - "jest-leak-detector" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-resolve" "^28.1.3" - "jest-runtime" "^28.1.3" - "jest-util" "^28.1.3" - "jest-watcher" "^28.1.3" - "jest-worker" "^28.1.3" - "p-limit" "^3.1.0" - "source-map-support" "0.5.13" - -"jest-runtime@^28.1.3": - "integrity" "sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw==" - "resolved" "https://registry.npmjs.org/jest-runtime/-/jest-runtime-28.1.3.tgz" - "version" "28.1.3" + chalk "^4.0.0" + emittery "^0.10.2" + graceful-fs "^4.2.9" + jest-docblock "^28.1.1" + jest-environment-node "^28.1.3" + jest-haste-map "^28.1.3" + jest-leak-detector "^28.1.3" + jest-message-util "^28.1.3" + jest-resolve "^28.1.3" + jest-runtime "^28.1.3" + jest-util "^28.1.3" + jest-watcher "^28.1.3" + jest-worker "^28.1.3" + p-limit "^3.1.0" + source-map-support "0.5.13" + +jest-runtime@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-28.1.3.tgz" + integrity sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw== dependencies: "@jest/environment" "^28.1.3" "@jest/fake-timers" "^28.1.3" @@ -9642,26 +8825,26 @@ "@jest/test-result" "^28.1.3" "@jest/transform" "^28.1.3" "@jest/types" "^28.1.3" - "chalk" "^4.0.0" - "cjs-module-lexer" "^1.0.0" - "collect-v8-coverage" "^1.0.0" - "execa" "^5.0.0" - "glob" "^7.1.3" - "graceful-fs" "^4.2.9" - "jest-haste-map" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-mock" "^28.1.3" - "jest-regex-util" "^28.0.2" - "jest-resolve" "^28.1.3" - "jest-snapshot" "^28.1.3" - "jest-util" "^28.1.3" - "slash" "^3.0.0" - "strip-bom" "^4.0.0" - -"jest-snapshot@^28.1.3": - "integrity" "sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg==" - "resolved" "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-28.1.3.tgz" - "version" "28.1.3" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + execa "^5.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-message-util "^28.1.3" + jest-mock "^28.1.3" + jest-regex-util "^28.0.2" + jest-resolve "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" + slash "^3.0.0" + strip-bom "^4.0.0" + +jest-snapshot@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-28.1.3.tgz" + integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" @@ -9673,281 +8856,273 @@ "@jest/types" "^28.1.3" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" - "babel-preset-current-node-syntax" "^1.0.0" - "chalk" "^4.0.0" - "expect" "^28.1.3" - "graceful-fs" "^4.2.9" - "jest-diff" "^28.1.3" - "jest-get-type" "^28.0.2" - "jest-haste-map" "^28.1.3" - "jest-matcher-utils" "^28.1.3" - "jest-message-util" "^28.1.3" - "jest-util" "^28.1.3" - "natural-compare" "^1.4.0" - "pretty-format" "^28.1.3" - "semver" "^7.3.5" - -"jest-util@^28.0.0", "jest-util@^28.1.3": - "integrity" "sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==" - "resolved" "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz" - "version" "28.1.3" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^28.1.3" + graceful-fs "^4.2.9" + jest-diff "^28.1.3" + jest-get-type "^28.0.2" + jest-haste-map "^28.1.3" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-util "^28.1.3" + natural-compare "^1.4.0" + pretty-format "^28.1.3" + semver "^7.3.5" + +jest-util@^28.0.0, jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== dependencies: "@jest/types" "^28.1.3" "@types/node" "*" - "chalk" "^4.0.0" - "ci-info" "^3.2.0" - "graceful-fs" "^4.2.9" - "picomatch" "^2.2.3" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" -"jest-validate@^28.1.3": - "integrity" "sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA==" - "resolved" "https://registry.npmjs.org/jest-validate/-/jest-validate-28.1.3.tgz" - "version" "28.1.3" +jest-validate@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-28.1.3.tgz" + integrity sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA== dependencies: "@jest/types" "^28.1.3" - "camelcase" "^6.2.0" - "chalk" "^4.0.0" - "jest-get-type" "^28.0.2" - "leven" "^3.1.0" - "pretty-format" "^28.1.3" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^28.0.2" + leven "^3.1.0" + pretty-format "^28.1.3" -"jest-watcher@^28.1.3": - "integrity" "sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==" - "resolved" "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz" - "version" "28.1.3" +jest-watcher@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-28.1.3.tgz" + integrity sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g== dependencies: "@jest/test-result" "^28.1.3" "@jest/types" "^28.1.3" "@types/node" "*" - "ansi-escapes" "^4.2.1" - "chalk" "^4.0.0" - "emittery" "^0.10.2" - "jest-util" "^28.1.3" - "string-length" "^4.0.1" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.10.2" + jest-util "^28.1.3" + string-length "^4.0.1" -"jest-worker@^28.1.3": - "integrity" "sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==" - "resolved" "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz" - "version" "28.1.3" +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== dependencies: "@types/node" "*" - "merge-stream" "^2.0.0" - "supports-color" "^8.0.0" + merge-stream "^2.0.0" + supports-color "^8.0.0" -"jest@^28.0.0", "jest@^28.1.3", "jest@28.1.3": - "integrity" "sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA==" - "resolved" "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz" - "version" "28.1.3" +jest@28.1.3, jest@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz" + integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== dependencies: "@jest/core" "^28.1.3" "@jest/types" "^28.1.3" - "import-local" "^3.0.2" - "jest-cli" "^28.1.3" - -"js-base64@^3.6.0": - "integrity" "sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==" - "resolved" "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz" - "version" "3.7.2" - -"js-crypto-env@^0.3.2": - "integrity" "sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ==" - "resolved" "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz" - "version" "0.3.2" - -"js-crypto-hash@^0.6.3": - "integrity" "sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA==" - "resolved" "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz" - "version" "0.6.3" - dependencies: - "buffer" "~5.4.3" - "hash.js" "~1.1.7" - "js-crypto-env" "^0.3.2" - "md5" "~2.2.1" - "sha3" "~2.1.0" - -"js-crypto-hkdf@0.7.3": - "integrity" "sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ==" - "resolved" "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz" - "version" "0.7.3" - dependencies: - "js-crypto-env" "^0.3.2" - "js-crypto-hmac" "^0.6.3" - "js-crypto-random" "^0.4.3" - "js-encoding-utils" "0.5.6" - -"js-crypto-hmac@^0.6.3": - "integrity" "sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA==" - "resolved" "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz" - "version" "0.6.3" - dependencies: - "js-crypto-env" "^0.3.2" - "js-crypto-hash" "^0.6.3" - -"js-crypto-random@^0.4.3": - "integrity" "sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ==" - "resolved" "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz" - "version" "0.4.3" - dependencies: - "js-crypto-env" "^0.3.2" - -"js-encoding-utils@0.5.6": - "integrity" "sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg==" - "resolved" "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz" - "version" "0.5.6" - -"js-sha3@^0.8.0", "js-sha3@0.8.0": - "integrity" "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - "resolved" "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz" - "version" "0.8.0" - -"js-tokens@^3.0.0 || ^4.0.0", "js-tokens@^4.0.0": - "integrity" "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - "resolved" "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" - "version" "4.0.0" - -"js-yaml@^3.13.1": - "integrity" "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==" - "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" - "version" "3.14.1" - dependencies: - "argparse" "^1.0.7" - "esprima" "^4.0.0" - -"js-yaml@^4.1.0": - "integrity" "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==" - "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "argparse" "^2.0.1" - -"jsbn@~0.1.0": - "integrity" "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" - "resolved" "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" - "version" "0.1.1" - -"jsesc@^2.5.1": - "integrity" "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - "resolved" "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" - "version" "2.5.2" - -"jsesc@~0.5.0": - "integrity" "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==" - "resolved" "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" - "version" "0.5.0" - -"json-parse-better-errors@^1.0.1": - "integrity" "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - "resolved" "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz" - "version" "1.0.2" - -"json-parse-even-better-errors@^2.3.0": - "integrity" "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - "resolved" "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" - "version" "2.3.1" - -"json-schema-traverse@^0.4.1": - "integrity" "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" - "version" "0.4.1" - -"json-schema@0.4.0": - "integrity" "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" - "resolved" "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz" - "version" "0.4.0" - -"json-stable-stringify-without-jsonify@^1.0.1": - "integrity" "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" - "resolved" "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" - "version" "1.0.1" - -"json-stringify-safe@^5.0.1", "json-stringify-safe@~5.0.1": - "integrity" "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" - "resolved" "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz" - "version" "5.0.1" - -"json5@^1.0.1": - "integrity" "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==" - "resolved" "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "minimist" "^1.2.0" - -"json5@^2.1.2", "json5@^2.2.1": - "integrity" "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==" - "resolved" "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" - "version" "2.2.1" - -"jsonfile@^6.0.1": - "integrity" "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==" - "resolved" "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" - "version" "6.1.0" - dependencies: - "universalify" "^2.0.0" + import-local "^3.0.2" + jest-cli "^28.1.3" + +js-base64@^3.6.0: + version "3.7.2" + resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz" + integrity sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" + integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + +json-parse-better-errors@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz" + integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema@0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz" + integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz" + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== + +json5@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" + integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + dependencies: + minimist "^1.2.0" + +json5@^2.1.2, json5@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" + integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" optionalDependencies: - "graceful-fs" "^4.1.6" - -"jsonparse@^1.2.0", "jsonparse@^1.3.1": - "integrity" "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==" - "resolved" "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz" - "version" "1.3.1" - -"JSONStream@^1.0.4": - "integrity" "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==" - "resolved" "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz" - "version" "1.3.5" - dependencies: - "jsonparse" "^1.2.0" - "through" ">=2.2.7 <3" - -"jsprim@^1.2.2": - "integrity" "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==" - "resolved" "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz" - "version" "1.4.2" - 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.2": - "integrity" "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==" - "resolved" "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz" - "version" "3.3.3" - dependencies: - "array-includes" "^3.1.5" - "object.assign" "^4.1.3" - -"keyvaluestorage-interface@^1.0.0": - "integrity" "sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==" - "resolved" "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" - "version" "1.0.0" - -"kind-of@^6.0.2", "kind-of@^6.0.3": - "integrity" "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" - "version" "6.0.3" - -"kleur@^3.0.3": - "integrity" "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" - "resolved" "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" - "version" "3.0.3" - -"language-subtag-registry@~0.3.2": - "integrity" "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==" - "resolved" "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz" - "version" "0.3.22" - -"language-tags@^1.0.5": - "integrity" "sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==" - "resolved" "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz" - "version" "1.0.5" - dependencies: - "language-subtag-registry" "~0.3.2" - -"lerna@4.0.0": - "integrity" "sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg==" - "resolved" "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz" - "version" "4.0.0" + graceful-fs "^4.1.6" + +jsonparse@^1.2.0, jsonparse@^1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz" + integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== + +jsprim@^1.2.2: + version "1.4.2" + resolved "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz" + 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.2: + version "3.3.3" + resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz" + integrity sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw== + dependencies: + array-includes "^3.1.5" + object.assign "^4.1.3" + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +kind-of@^6.0.2, kind-of@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +language-subtag-registry@~0.3.2: + version "0.3.22" + resolved "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz" + integrity sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w== + +language-tags@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz" + integrity sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ== + dependencies: + language-subtag-registry "~0.3.2" + +lerna@4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/lerna/-/lerna-4.0.0.tgz" + integrity sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg== dependencies: "@lerna/add" "4.0.0" "@lerna/bootstrap" "4.0.0" @@ -9965,624 +9140,619 @@ "@lerna/publish" "4.0.0" "@lerna/run" "4.0.0" "@lerna/version" "4.0.0" - "import-local" "^3.0.2" - "npmlog" "^4.1.2" - -"leven@^3.1.0": - "integrity" "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==" - "resolved" "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" - "version" "3.1.0" - -"levenary@^1.1.1": - "integrity" "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==" - "resolved" "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz" - "version" "1.1.1" - dependencies: - "leven" "^3.1.0" - -"levn@^0.4.1": - "integrity" "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==" - "resolved" "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" - "version" "0.4.1" - dependencies: - "prelude-ls" "^1.2.1" - "type-check" "~0.4.0" - -"libnpmaccess@^4.0.1": - "integrity" "sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ==" - "resolved" "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz" - "version" "4.0.3" - dependencies: - "aproba" "^2.0.0" - "minipass" "^3.1.1" - "npm-package-arg" "^8.1.2" - "npm-registry-fetch" "^11.0.0" - -"libnpmpublish@^4.0.0": - "integrity" "sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw==" - "resolved" "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz" - "version" "4.0.2" - dependencies: - "normalize-package-data" "^3.0.2" - "npm-package-arg" "^8.1.2" - "npm-registry-fetch" "^11.0.0" - "semver" "^7.1.3" - "ssri" "^8.0.1" - -"libsodium-wrappers@^0.7.6": - "integrity" "sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg==" - "resolved" "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz" - "version" "0.7.10" - dependencies: - "libsodium" "^0.7.0" - -"libsodium@^0.7.0": - "integrity" "sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ==" - "resolved" "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz" - "version" "0.7.10" - -"lines-and-columns@^1.1.6": - "integrity" "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" - "resolved" "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" - "version" "1.2.4" - -"load-json-file@^4.0.0": - "integrity" "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==" - "resolved" "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "graceful-fs" "^4.1.2" - "parse-json" "^4.0.0" - "pify" "^3.0.0" - "strip-bom" "^3.0.0" - -"load-json-file@^6.2.0": - "integrity" "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==" - "resolved" "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz" - "version" "6.2.0" - dependencies: - "graceful-fs" "^4.1.15" - "parse-json" "^5.0.0" - "strip-bom" "^4.0.0" - "type-fest" "^0.6.0" - -"locate-path@^2.0.0": - "integrity" "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==" - "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "p-locate" "^2.0.0" - "path-exists" "^3.0.0" - -"locate-path@^3.0.0": - "integrity" "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==" - "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "p-locate" "^3.0.0" - "path-exists" "^3.0.0" - -"locate-path@^5.0.0": - "integrity" "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==" - "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "p-locate" "^4.1.0" - -"locate-path@^6.0.0": - "integrity" "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==" - "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" - "version" "6.0.0" - dependencies: - "p-locate" "^5.0.0" - -"lodash._reinterpolate@^3.0.0": - "integrity" "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==" - "resolved" "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" - "version" "3.0.0" - -"lodash.debounce@^4.0.8": - "integrity" "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" - "resolved" "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" - "version" "4.0.8" - -"lodash.ismatch@^4.4.0": - "integrity" "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==" - "resolved" "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz" - "version" "4.4.0" - -"lodash.isregexp@^4.0.1": - "integrity" "sha512-rw9+95tYcUa9nQ1FgdtKvO+hReLGNqnNMHfLq8SwK5Mo6D0R0tIsnRHGHaTHSKeYBaLCJ1JvXWdz4UmpPZ2bag==" - "resolved" "https://registry.npmjs.org/lodash.isregexp/-/lodash.isregexp-4.0.1.tgz" - "version" "4.0.1" - -"lodash.isstring@^4.0.1": - "integrity" "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" - "resolved" "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz" - "version" "4.0.1" - -"lodash.memoize@4.x": - "integrity" "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==" - "resolved" "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" - "version" "4.1.2" - -"lodash.merge@^4.6.2": - "integrity" "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - "resolved" "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" - "version" "4.6.2" - -"lodash.mergewith@4.6.2": - "integrity" "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" - "resolved" "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz" - "version" "4.6.2" - -"lodash.template@^4.5.0": - "integrity" "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==" - "resolved" "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz" - "version" "4.5.0" - dependencies: - "lodash._reinterpolate" "^3.0.0" - "lodash.templatesettings" "^4.0.0" - -"lodash.templatesettings@^4.0.0": - "integrity" "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==" - "resolved" "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz" - "version" "4.2.0" - dependencies: - "lodash._reinterpolate" "^3.0.0" - -"lodash@^4.17.12", "lodash@^4.17.13", "lodash@^4.17.15", "lodash@^4.17.19", "lodash@^4.17.21", "lodash@^4.17.4", "lodash@^4.3.0", "lodash@^4.7.0": - "integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - "resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" - "version" "4.17.21" - -"long@^4.0.0": - "integrity" "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - "resolved" "https://registry.npmjs.org/long/-/long-4.0.0.tgz" - "version" "4.0.0" - -"long@^5.2.0": - "integrity" "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==" - "resolved" "https://registry.npmjs.org/long/-/long-5.2.0.tgz" - "version" "5.2.0" - -"loose-envify@^1.0.0", "loose-envify@^1.1.0", "loose-envify@^1.4.0": - "integrity" "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==" - "resolved" "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz" - "version" "1.4.0" - dependencies: - "js-tokens" "^3.0.0 || ^4.0.0" - -"lru-cache@^6.0.0": - "integrity" "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==" - "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" - "version" "6.0.0" - dependencies: - "yallist" "^4.0.0" - -"lru-queue@^0.1.0": - "integrity" "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==" - "resolved" "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz" - "version" "0.1.0" - dependencies: - "es5-ext" "~0.10.2" - -"make-dir@^2.0.0", "make-dir@^2.1.0": - "integrity" "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==" - "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "pify" "^4.0.1" - "semver" "^5.6.0" - -"make-dir@^3.0.0": - "integrity" "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==" - "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "semver" "^6.0.0" - -"make-error@1.x": - "integrity" "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - "resolved" "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" - "version" "1.3.6" - -"make-fetch-happen@^8.0.9": - "integrity" "sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ==" - "resolved" "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz" - "version" "8.0.14" - dependencies: - "agentkeepalive" "^4.1.3" - "cacache" "^15.0.5" - "http-cache-semantics" "^4.1.0" - "http-proxy-agent" "^4.0.1" - "https-proxy-agent" "^5.0.0" - "is-lambda" "^1.0.1" - "lru-cache" "^6.0.0" - "minipass" "^3.1.3" - "minipass-collect" "^1.0.2" - "minipass-fetch" "^1.3.2" - "minipass-flush" "^1.0.5" - "minipass-pipeline" "^1.2.4" - "promise-retry" "^2.0.1" - "socks-proxy-agent" "^5.0.0" - "ssri" "^8.0.0" - -"make-fetch-happen@^9.0.1": - "integrity" "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==" - "resolved" "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz" - "version" "9.1.0" - dependencies: - "agentkeepalive" "^4.1.3" - "cacache" "^15.2.0" - "http-cache-semantics" "^4.1.0" - "http-proxy-agent" "^4.0.1" - "https-proxy-agent" "^5.0.0" - "is-lambda" "^1.0.1" - "lru-cache" "^6.0.0" - "minipass" "^3.1.3" - "minipass-collect" "^1.0.2" - "minipass-fetch" "^1.3.2" - "minipass-flush" "^1.0.5" - "minipass-pipeline" "^1.2.4" - "negotiator" "^0.6.2" - "promise-retry" "^2.0.1" - "socks-proxy-agent" "^6.0.0" - "ssri" "^8.0.0" - -"makeerror@1.0.12": - "integrity" "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==" - "resolved" "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" - "version" "1.0.12" - dependencies: - "tmpl" "1.0.5" - -"map-obj@^1.0.0": - "integrity" "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==" - "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" - "version" "1.0.1" - -"map-obj@^4.0.0": - "integrity" "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" - "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz" - "version" "4.3.0" - -"md5.js@^1.3.4": - "integrity" "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==" - "resolved" "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" - "version" "1.3.5" - dependencies: - "hash-base" "^3.0.0" - "inherits" "^2.0.1" - "safe-buffer" "^5.1.2" - -"md5@~2.2.1": - "integrity" "sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ==" - "resolved" "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz" - "version" "2.2.1" - dependencies: - "charenc" "~0.0.1" - "crypt" "~0.0.1" - "is-buffer" "~1.1.1" - -"memoize-one@^5.0.0": - "integrity" "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==" - "resolved" "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz" - "version" "5.2.1" - -"memoizee@^0.4.15": - "integrity" "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==" - "resolved" "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" - "version" "0.4.15" - dependencies: - "d" "^1.0.1" - "es5-ext" "^0.10.53" - "es6-weak-map" "^2.0.3" - "event-emitter" "^0.3.5" - "is-promise" "^2.2.2" - "lru-queue" "^0.1.0" - "next-tick" "^1.1.0" - "timers-ext" "^0.1.7" - -"meow@^8.0.0": - "integrity" "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==" - "resolved" "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz" - "version" "8.1.2" + import-local "^3.0.2" + npmlog "^4.1.2" + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +levenary@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz" + integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== + dependencies: + leven "^3.1.0" + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +libnpmaccess@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.3.tgz" + integrity sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ== + dependencies: + aproba "^2.0.0" + minipass "^3.1.1" + npm-package-arg "^8.1.2" + npm-registry-fetch "^11.0.0" + +libnpmpublish@^4.0.0: + version "4.0.2" + resolved "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-4.0.2.tgz" + integrity sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw== + dependencies: + normalize-package-data "^3.0.2" + npm-package-arg "^8.1.2" + npm-registry-fetch "^11.0.0" + semver "^7.1.3" + ssri "^8.0.1" + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +load-json-file@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz" + integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== + dependencies: + graceful-fs "^4.1.2" + parse-json "^4.0.0" + pify "^3.0.0" + strip-bom "^3.0.0" + +load-json-file@^6.2.0: + version "6.2.0" + resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz" + integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== + dependencies: + graceful-fs "^4.1.15" + parse-json "^5.0.0" + strip-bom "^4.0.0" + type-fest "^0.6.0" + +locate-path@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz" + integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== + dependencies: + p-locate "^2.0.0" + path-exists "^3.0.0" + +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + dependencies: + p-locate "^3.0.0" + path-exists "^3.0.0" + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash._reinterpolate@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" + integrity sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA== + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.ismatch@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz" + integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== + +lodash.isregexp@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/lodash.isregexp/-/lodash.isregexp-4.0.1.tgz" + integrity sha512-rw9+95tYcUa9nQ1FgdtKvO+hReLGNqnNMHfLq8SwK5Mo6D0R0tIsnRHGHaTHSKeYBaLCJ1JvXWdz4UmpPZ2bag== + +lodash.isstring@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz" + integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== + +lodash.memoize@4.x: + version "4.1.2" + resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" + integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +lodash.template@^4.5.0: + version "4.5.0" + resolved "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz" + 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.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz" + integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== + dependencies: + lodash._reinterpolate "^3.0.0" + +lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: + version "4.17.21" + resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" + +make-dir@^2.0.0, make-dir@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz" + integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== + dependencies: + pify "^4.0.1" + semver "^5.6.0" + +make-dir@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + +make-error@1.x: + version "1.3.6" + resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== + +make-fetch-happen@^8.0.9: + version "8.0.14" + resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz" + integrity sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ== + dependencies: + agentkeepalive "^4.1.3" + cacache "^15.0.5" + http-cache-semantics "^4.1.0" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^6.0.0" + minipass "^3.1.3" + minipass-collect "^1.0.2" + minipass-fetch "^1.3.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + promise-retry "^2.0.1" + socks-proxy-agent "^5.0.0" + ssri "^8.0.0" + +make-fetch-happen@^9.0.1: + version "9.1.0" + resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz" + integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== + dependencies: + agentkeepalive "^4.1.3" + cacache "^15.2.0" + http-cache-semantics "^4.1.0" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^6.0.0" + minipass "^3.1.3" + minipass-collect "^1.0.2" + minipass-fetch "^1.3.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.2" + promise-retry "^2.0.1" + socks-proxy-agent "^6.0.0" + ssri "^8.0.0" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +map-obj@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" + integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== + +map-obj@^4.0.0: + version "4.3.0" + resolved "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz" + integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +memoize-one@^5.0.0: + version "5.2.1" + resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz" + integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== + +memoizee@^0.4.15: + version "0.4.15" + resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" + integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.53" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + +meow@^8.0.0: + version "8.1.2" + resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz" + integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== dependencies: "@types/minimist" "^1.2.0" - "camelcase-keys" "^6.2.2" - "decamelize-keys" "^1.1.0" - "hard-rejection" "^2.1.0" - "minimist-options" "4.1.0" - "normalize-package-data" "^3.0.0" - "read-pkg-up" "^7.0.1" - "redent" "^3.0.0" - "trim-newlines" "^3.0.0" - "type-fest" "^0.18.0" - "yargs-parser" "^20.2.3" - -"merge-stream@^2.0.0": - "integrity" "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" - "resolved" "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" - "version" "2.0.0" - -"merge2@^1.3.0", "merge2@^1.4.1": - "integrity" "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" - "resolved" "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" - "version" "1.4.1" - -"micromatch@^4.0.4": - "integrity" "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==" - "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" - "version" "4.0.5" - dependencies: - "braces" "^3.0.2" - "picomatch" "^2.3.1" - -"mime-db@1.52.0": - "integrity" "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" - "resolved" "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" - "version" "1.52.0" - -"mime-types@^2.1.12", "mime-types@~2.1.19": - "integrity" "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==" - "resolved" "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" - "version" "2.1.35" - dependencies: - "mime-db" "1.52.0" - -"mimic-fn@^1.0.0": - "integrity" "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" - "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" - "version" "1.2.0" - -"mimic-fn@^2.1.0": - "integrity" "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" - "version" "2.1.0" - -"min-indent@^1.0.0": - "integrity" "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" - "resolved" "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" - "version" "1.0.1" - -"minimalistic-assert@^1.0.0", "minimalistic-assert@^1.0.1": - "integrity" "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - "resolved" "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" - "version" "1.0.1" - -"minimalistic-crypto-utils@^1.0.1": - "integrity" "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" - "resolved" "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" - "version" "1.0.1" - -"minimatch@^3.0.4", "minimatch@^3.1.1", "minimatch@^3.1.2": - "integrity" "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==" - "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" - "version" "3.1.2" - dependencies: - "brace-expansion" "^1.1.7" - -"minimatch@^5.0.1", "minimatch@5.1.0": - "integrity" "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==" - "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" - "version" "5.1.0" - dependencies: - "brace-expansion" "^2.0.1" - -"minimist-options@4.1.0": - "integrity" "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==" - "resolved" "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "arrify" "^1.0.1" - "is-plain-obj" "^1.1.0" - "kind-of" "^6.0.3" - -"minimist@^1.2.0", "minimist@^1.2.5", "minimist@^1.2.6", "minimist@1.2.6": - "integrity" "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" - "resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" - "version" "1.2.6" - -"minipass-collect@^1.0.2": - "integrity" "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==" - "resolved" "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "minipass" "^3.0.0" - -"minipass-fetch@^1.3.0", "minipass-fetch@^1.3.2": - "integrity" "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==" - "resolved" "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz" - "version" "1.4.1" - dependencies: - "minipass" "^3.1.0" - "minipass-sized" "^1.0.3" - "minizlib" "^2.0.0" + camelcase-keys "^6.2.2" + decamelize-keys "^1.1.0" + hard-rejection "^2.1.0" + minimist-options "4.1.0" + normalize-package-data "^3.0.0" + read-pkg-up "^7.0.1" + redent "^3.0.0" + trim-newlines "^3.0.0" + type-fest "^0.18.0" + yargs-parser "^20.2.3" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@~2.1.19: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +minimatch@5.1.0, minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist-options@4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz" + integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== + dependencies: + arrify "^1.0.1" + is-plain-obj "^1.1.0" + kind-of "^6.0.3" + +minimist@1.2.6, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + +minipass-collect@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz" + integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== + dependencies: + minipass "^3.0.0" + +minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: + version "1.4.1" + resolved "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz" + integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== + dependencies: + minipass "^3.1.0" + minipass-sized "^1.0.3" + minizlib "^2.0.0" optionalDependencies: - "encoding" "^0.1.12" + encoding "^0.1.12" -"minipass-flush@^1.0.5": - "integrity" "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==" - "resolved" "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz" - "version" "1.0.5" +minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== dependencies: - "minipass" "^3.0.0" + minipass "^3.0.0" -"minipass-json-stream@^1.0.1": - "integrity" "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==" - "resolved" "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz" - "version" "1.0.1" +minipass-json-stream@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz" + integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== dependencies: - "jsonparse" "^1.3.1" - "minipass" "^3.0.0" + jsonparse "^1.3.1" + minipass "^3.0.0" -"minipass-pipeline@^1.2.2", "minipass-pipeline@^1.2.4": - "integrity" "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==" - "resolved" "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz" - "version" "1.2.4" +minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== dependencies: - "minipass" "^3.0.0" + minipass "^3.0.0" -"minipass-sized@^1.0.3": - "integrity" "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==" - "resolved" "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz" - "version" "1.0.3" +minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== dependencies: - "minipass" "^3.0.0" + minipass "^3.0.0" -"minipass@^2.6.0", "minipass@^2.9.0": - "integrity" "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==" - "resolved" "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz" - "version" "2.9.0" +minipass@^2.6.0, minipass@^2.9.0: + version "2.9.0" + resolved "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz" + integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== dependencies: - "safe-buffer" "^5.1.2" - "yallist" "^3.0.0" + safe-buffer "^5.1.2" + yallist "^3.0.0" -"minipass@^3.0.0", "minipass@^3.1.0", "minipass@^3.1.1", "minipass@^3.1.3": - "integrity" "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==" - "resolved" "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz" - "version" "3.3.4" +minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: + version "3.3.4" + resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz" + integrity sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw== dependencies: - "yallist" "^4.0.0" + yallist "^4.0.0" -"minizlib@^1.3.3": - "integrity" "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==" - "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz" - "version" "1.3.3" +minizlib@^1.3.3: + version "1.3.3" + resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz" + integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== dependencies: - "minipass" "^2.9.0" + minipass "^2.9.0" -"minizlib@^2.0.0", "minizlib@^2.1.1": - "integrity" "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==" - "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" - "version" "2.1.2" +minizlib@^2.0.0, minizlib@^2.1.1: + version "2.1.2" + resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== dependencies: - "minipass" "^3.0.0" - "yallist" "^4.0.0" + minipass "^3.0.0" + yallist "^4.0.0" -"miscreant@0.3.2": - "integrity" "sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA==" - "resolved" "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz" - "version" "0.3.2" +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== -"mkdirp-infer-owner@^2.0.0": - "integrity" "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==" - "resolved" "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz" - "version" "2.0.0" +mkdirp-infer-owner@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz" + integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== dependencies: - "chownr" "^2.0.0" - "infer-owner" "^1.0.4" - "mkdirp" "^1.0.3" + chownr "^2.0.0" + infer-owner "^1.0.4" + mkdirp "^1.0.3" -"mkdirp@^0.5.1", "mkdirp@^0.5.5": - "integrity" "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==" - "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" - "version" "0.5.6" - dependencies: - "minimist" "^1.2.6" +mkdirp@1.0.4, mkdirp@^1.0.3, mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -"mkdirp@^1.0.3", "mkdirp@^1.0.4", "mkdirp@1.0.4": - "integrity" "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" - "version" "1.0.4" +mkdirp@^0.5.1, mkdirp@^0.5.5: + version "0.5.6" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== + dependencies: + minimist "^1.2.6" -"modify-values@^1.0.0": - "integrity" "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==" - "resolved" "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz" - "version" "1.0.1" +modify-values@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz" + integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -"ms@^2.0.0", "ms@^2.1.1": - "integrity" "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" - "version" "2.1.3" +ms@2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== -"ms@2.0.0": - "integrity" "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - "resolved" "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" - "version" "2.0.0" +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -"ms@2.1.2": - "integrity" "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" - "version" "2.1.2" +ms@^2.0.0, ms@^2.1.1: + version "2.1.3" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -"multimatch@^5.0.0": - "integrity" "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==" - "resolved" "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz" - "version" "5.0.0" +multimatch@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz" + integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== dependencies: "@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.4": - "integrity" "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" - "version" "0.0.8" - -"mute-stream@0.0.7": - "integrity" "sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==" - "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" - "version" "0.0.7" - -"mute-stream@0.0.8": - "integrity" "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" - "version" "0.0.8" - -"mz@^2.7.0": - "integrity" "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==" - "resolved" "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" - "version" "2.7.0" - dependencies: - "any-promise" "^1.0.0" - "object-assign" "^4.0.1" - "thenify-all" "^1.0.0" - -"nan@^2.13.2": - "integrity" "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==" - "resolved" "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz" - "version" "2.16.0" - -"nanoid@^3.3.4": - "integrity" "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" - "resolved" "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" - "version" "3.3.4" - -"natural-compare@^1.4.0": - "integrity" "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" - "resolved" "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" - "version" "1.4.0" - -"negotiator@^0.6.2": - "integrity" "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" - "resolved" "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz" - "version" "0.6.3" - -"neo-async@^2.6.0": - "integrity" "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" - "resolved" "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" - "version" "2.6.2" - -"next-tick@^1.1.0", "next-tick@1": - "integrity" "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" - "resolved" "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" - "version" "1.1.0" - -"next@12.2.5": - "integrity" "sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA==" - "resolved" "https://registry.npmjs.org/next/-/next-12.2.5.tgz" - "version" "12.2.5" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" + minimatch "^3.0.4" + +mute-stream@0.0.7: + version "0.0.7" + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" + integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== + +mute-stream@0.0.8, mute-stream@~0.0.4: + version "0.0.8" + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + +nan@^2.13.2: + version "2.16.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz" + integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +negotiator@^0.6.2: + version "0.6.3" + resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +neo-async@^2.6.0: + version "2.6.2" + resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + +next-tick@1, next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== dependencies: "@next/env" "12.2.5" "@swc/helpers" "0.4.3" - "caniuse-lite" "^1.0.30001332" - "postcss" "8.4.14" - "styled-jsx" "5.0.4" - "use-sync-external-store" "1.2.0" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" optionalDependencies: "@next/swc-android-arm-eabi" "12.2.5" "@next/swc-android-arm64" "12.2.5" @@ -10598,774 +9768,747 @@ "@next/swc-win32-ia32-msvc" "12.2.5" "@next/swc-win32-x64-msvc" "12.2.5" -"node-environment-flags@^1.0.5": - "integrity" "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==" - "resolved" "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz" - "version" "1.0.6" - dependencies: - "object.getownpropertydescriptors" "^2.0.3" - "semver" "^5.7.0" - -"node-fetch@^2.6.1", "node-fetch@^2.6.7": - "integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==" - "resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" - "version" "2.6.7" - dependencies: - "whatwg-url" "^5.0.0" - -"node-gyp@^5.0.2": - "integrity" "sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw==" - "resolved" "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz" - "version" "5.1.1" - dependencies: - "env-paths" "^2.2.0" - "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" - -"node-gyp@^7.1.0": - "integrity" "sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==" - "resolved" "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz" - "version" "7.1.2" - dependencies: - "env-paths" "^2.2.0" - "glob" "^7.1.4" - "graceful-fs" "^4.2.3" - "nopt" "^5.0.0" - "npmlog" "^4.1.2" - "request" "^2.88.2" - "rimraf" "^3.0.2" - "semver" "^7.3.2" - "tar" "^6.0.2" - "which" "^2.0.2" - -"node-int64@^0.4.0": - "integrity" "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" - "resolved" "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" - "version" "0.4.0" - -"node-releases@^2.0.6": - "integrity" "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" - "resolved" "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" - "version" "2.0.6" - -"nopt@^4.0.1": - "integrity" "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==" - "resolved" "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz" - "version" "4.0.3" - dependencies: - "abbrev" "1" - "osenv" "^0.1.4" - -"nopt@^5.0.0": - "integrity" "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==" - "resolved" "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "abbrev" "1" - -"normalize-package-data@^2.0.0": - "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" - "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" - "version" "2.5.0" - dependencies: - "hosted-git-info" "^2.1.4" - "resolve" "^1.10.0" - "semver" "2 || 3 || 4 || 5" - "validate-npm-package-license" "^3.0.1" - -"normalize-package-data@^2.3.2": - "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" - "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" - "version" "2.5.0" - dependencies: - "hosted-git-info" "^2.1.4" - "resolve" "^1.10.0" - "semver" "2 || 3 || 4 || 5" - "validate-npm-package-license" "^3.0.1" - -"normalize-package-data@^2.5.0": - "integrity" "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==" - "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" - "version" "2.5.0" - dependencies: - "hosted-git-info" "^2.1.4" - "resolve" "^1.10.0" - "semver" "2 || 3 || 4 || 5" - "validate-npm-package-license" "^3.0.1" - -"normalize-package-data@^3.0.0", "normalize-package-data@^3.0.2": - "integrity" "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==" - "resolved" "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz" - "version" "3.0.3" - dependencies: - "hosted-git-info" "^4.0.1" - "is-core-module" "^2.5.0" - "semver" "^7.3.4" - "validate-npm-package-license" "^3.0.1" - -"normalize-path@^3.0.0", "normalize-path@~3.0.0": - "integrity" "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" - "resolved" "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" - "version" "3.0.0" - -"normalize-url@^6.1.0": - "integrity" "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" - "resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" - "version" "6.1.0" - -"npm-bundled@^1.1.1": - "integrity" "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==" - "resolved" "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz" - "version" "1.1.2" - dependencies: - "npm-normalize-package-bin" "^1.0.1" - -"npm-install-checks@^4.0.0": - "integrity" "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==" - "resolved" "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "semver" "^7.1.1" - -"npm-lifecycle@^3.1.5": - "integrity" "sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==" - "resolved" "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz" - "version" "3.1.5" - 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@^1.0.0", "npm-normalize-package-bin@^1.0.1": - "integrity" "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" - "resolved" "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz" - "version" "1.0.1" - -"npm-package-arg@^8.0.0", "npm-package-arg@^8.0.1", "npm-package-arg@^8.1.0", "npm-package-arg@^8.1.2", "npm-package-arg@^8.1.5": - "integrity" "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==" - "resolved" "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz" - "version" "8.1.5" - dependencies: - "hosted-git-info" "^4.0.1" - "semver" "^7.3.4" - "validate-npm-package-name" "^3.0.0" - -"npm-packlist@^2.1.4": - "integrity" "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==" - "resolved" "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz" - "version" "2.2.2" - dependencies: - "glob" "^7.1.6" - "ignore-walk" "^3.0.3" - "npm-bundled" "^1.1.1" - "npm-normalize-package-bin" "^1.0.1" - -"npm-pick-manifest@^6.0.0", "npm-pick-manifest@^6.1.1": - "integrity" "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==" - "resolved" "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz" - "version" "6.1.1" - dependencies: - "npm-install-checks" "^4.0.0" - "npm-normalize-package-bin" "^1.0.1" - "npm-package-arg" "^8.1.2" - "semver" "^7.3.4" - -"npm-registry-fetch@^11.0.0": - "integrity" "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==" - "resolved" "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz" - "version" "11.0.0" - dependencies: - "make-fetch-happen" "^9.0.1" - "minipass" "^3.1.3" - "minipass-fetch" "^1.3.0" - "minipass-json-stream" "^1.0.1" - "minizlib" "^2.0.0" - "npm-package-arg" "^8.0.0" - -"npm-registry-fetch@^9.0.0": - "integrity" "sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==" - "resolved" "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz" - "version" "9.0.0" +node-environment-flags@^1.0.5: + version "1.0.6" + resolved "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz" + integrity sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw== + dependencies: + object.getownpropertydescriptors "^2.0.3" + semver "^5.7.0" + +node-fetch@^2.6.1, node-fetch@^2.6.7: + version "2.6.7" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + +node-gyp@^5.0.2: + version "5.1.1" + resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz" + integrity sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw== + dependencies: + env-paths "^2.2.0" + 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" + +node-gyp@^7.1.0: + version "7.1.2" + resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-7.1.2.tgz" + integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== + dependencies: + env-paths "^2.2.0" + glob "^7.1.4" + graceful-fs "^4.2.3" + nopt "^5.0.0" + npmlog "^4.1.2" + request "^2.88.2" + rimraf "^3.0.2" + semver "^7.3.2" + tar "^6.0.2" + which "^2.0.2" + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" + integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== + +nopt@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz" + integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== + dependencies: + abbrev "1" + osenv "^0.1.4" + +nopt@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" + integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== + dependencies: + abbrev "1" + +normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: + version "2.5.0" + resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" + integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== + dependencies: + hosted-git-info "^2.1.4" + resolve "^1.10.0" + semver "2 || 3 || 4 || 5" + validate-npm-package-license "^3.0.1" + +normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: + version "3.0.3" + resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz" + integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== + dependencies: + hosted-git-info "^4.0.1" + is-core-module "^2.5.0" + semver "^7.3.4" + validate-npm-package-license "^3.0.1" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-url@^6.1.0: + version "6.1.0" + resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + +npm-bundled@^1.1.1: + version "1.1.2" + resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz" + integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== + dependencies: + npm-normalize-package-bin "^1.0.1" + +npm-install-checks@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz" + integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== + dependencies: + semver "^7.1.1" + +npm-lifecycle@^3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz" + integrity sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g== + 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@^1.0.0, npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + +npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.0, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: + version "8.1.5" + resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz" + integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== + dependencies: + hosted-git-info "^4.0.1" + semver "^7.3.4" + validate-npm-package-name "^3.0.0" + +npm-packlist@^2.1.4: + version "2.2.2" + resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz" + integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== + dependencies: + glob "^7.1.6" + ignore-walk "^3.0.3" + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + +npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz" + integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== + dependencies: + npm-install-checks "^4.0.0" + npm-normalize-package-bin "^1.0.1" + npm-package-arg "^8.1.2" + semver "^7.3.4" + +npm-registry-fetch@^11.0.0: + version "11.0.0" + resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz" + integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== + dependencies: + make-fetch-happen "^9.0.1" + minipass "^3.1.3" + minipass-fetch "^1.3.0" + minipass-json-stream "^1.0.1" + minizlib "^2.0.0" + npm-package-arg "^8.0.0" + +npm-registry-fetch@^9.0.0: + version "9.0.0" + resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz" + integrity sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA== dependencies: "@npmcli/ci-detect" "^1.0.0" - "lru-cache" "^6.0.0" - "make-fetch-happen" "^8.0.9" - "minipass" "^3.1.3" - "minipass-fetch" "^1.3.0" - "minipass-json-stream" "^1.0.1" - "minizlib" "^2.0.0" - "npm-package-arg" "^8.0.0" - -"npm-run-path@^4.0.1": - "integrity" "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==" - "resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" - "version" "4.0.1" - dependencies: - "path-key" "^3.0.0" - -"npmlog@^4.1.2": - "integrity" "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==" - "resolved" "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz" - "version" "4.1.2" - dependencies: - "are-we-there-yet" "~1.1.2" - "console-control-strings" "~1.1.0" - "gauge" "~2.7.3" - "set-blocking" "~2.0.0" - -"number-is-nan@^1.0.0": - "integrity" "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==" - "resolved" "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" - "version" "1.0.1" - -"oauth-sign@~0.9.0": - "integrity" "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" - "resolved" "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz" - "version" "0.9.0" - -"object-assign@^4.0.1", "object-assign@^4.1.0", "object-assign@^4.1.1": - "integrity" "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" - "resolved" "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" - "version" "4.1.1" - -"object-inspect@^1.12.2", "object-inspect@^1.9.0": - "integrity" "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" - "resolved" "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz" - "version" "1.12.2" - -"object-keys@^1.1.1": - "integrity" "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" - "resolved" "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" - "version" "1.1.1" - -"object.assign@^4.1.0", "object.assign@^4.1.3", "object.assign@^4.1.4": - "integrity" "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==" - "resolved" "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" - "version" "4.1.4" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.4" - "has-symbols" "^1.0.3" - "object-keys" "^1.1.1" - -"object.entries@^1.1.5": - "integrity" "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==" - "resolved" "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz" - "version" "1.1.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.1" - -"object.fromentries@^2.0.5": - "integrity" "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==" - "resolved" "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz" - "version" "2.0.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.1" - -"object.getownpropertydescriptors@^2.0.3": - "integrity" "sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==" - "resolved" "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz" - "version" "2.1.4" - dependencies: - "array.prototype.reduce" "^1.0.4" - "call-bind" "^1.0.2" - "define-properties" "^1.1.4" - "es-abstract" "^1.20.1" - -"object.hasown@^1.1.1": - "integrity" "sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==" - "resolved" "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz" - "version" "1.1.1" - dependencies: - "define-properties" "^1.1.4" - "es-abstract" "^1.19.5" - -"object.values@^1.1.5": - "integrity" "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==" - "resolved" "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz" - "version" "1.1.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.1" - -"once@^1.3.0", "once@^1.4.0": - "integrity" "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==" - "resolved" "https://registry.npmjs.org/once/-/once-1.4.0.tgz" - "version" "1.4.0" - dependencies: - "wrappy" "1" - -"onetime@^2.0.0": - "integrity" "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==" - "resolved" "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz" - "version" "2.0.1" - dependencies: - "mimic-fn" "^1.0.0" - -"onetime@^5.1.0", "onetime@^5.1.2": - "integrity" "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==" - "resolved" "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" - "version" "5.1.2" - dependencies: - "mimic-fn" "^2.1.0" - -"optionator@^0.9.1": - "integrity" "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==" - "resolved" "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" - "version" "0.9.1" - 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.3" - -"os-homedir@^1.0.0": - "integrity" "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==" - "resolved" "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz" - "version" "1.0.2" - -"os-tmpdir@^1.0.0", "os-tmpdir@~1.0.2": - "integrity" "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" - "resolved" "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" - "version" "1.0.2" - -"osenv@^0.1.4": - "integrity" "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==" - "resolved" "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz" - "version" "0.1.5" - dependencies: - "os-homedir" "^1.0.0" - "os-tmpdir" "^1.0.0" - -"p-finally@^1.0.0": - "integrity" "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==" - "resolved" "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" - "version" "1.0.0" - -"p-limit@^1.1.0": - "integrity" "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==" - "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "p-try" "^1.0.0" - -"p-limit@^2.0.0": - "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" - "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" - "version" "2.3.0" - dependencies: - "p-try" "^2.0.0" - -"p-limit@^2.2.0": - "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" - "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" - "version" "2.3.0" + lru-cache "^6.0.0" + make-fetch-happen "^8.0.9" + minipass "^3.1.3" + minipass-fetch "^1.3.0" + minipass-json-stream "^1.0.1" + minizlib "^2.0.0" + npm-package-arg "^8.0.0" + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +npmlog@^4.1.2: + version "4.1.2" + resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz" + integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== + dependencies: + are-we-there-yet "~1.1.2" + console-control-strings "~1.1.0" + gauge "~2.7.3" + set-blocking "~2.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" + integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== + +oauth-sign@~0.9.0: + version "0.9.0" + resolved "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz" + integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== + +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-inspect@^1.12.2, object-inspect@^1.9.0: + version "1.12.2" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz" + integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.0, object.assign@^4.1.3, object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +object.entries@^1.1.5: + version "1.1.5" + resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz" + integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +object.fromentries@^2.0.5: + version "2.0.5" + resolved "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz" + integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +object.getownpropertydescriptors@^2.0.3: + version "2.1.4" + resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz" + integrity sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ== + dependencies: + array.prototype.reduce "^1.0.4" + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.1" + +object.hasown@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz" + integrity sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A== + dependencies: + define-properties "^1.1.4" + es-abstract "^1.19.5" + +object.values@^1.1.5: + version "1.1.5" + resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz" + integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +once@^1.3.0, once@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz" + integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== + dependencies: + mimic-fn "^1.0.0" + +onetime@^5.1.0, onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +optionator@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" + integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + 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.3" + +os-homedir@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz" + integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== + +os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +osenv@^0.1.4: + version "0.1.5" + resolved "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz" + 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.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== + +p-limit@^1.1.0: + version "1.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz" + integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== + dependencies: + p-try "^1.0.0" + +p-limit@^2.0.0, p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: - "p-try" "^2.0.0" + p-try "^2.0.0" -"p-limit@^3.0.2", "p-limit@^3.1.0": - "integrity" "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==" - "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" - "version" "3.1.0" +p-limit@^3.0.2, p-limit@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: - "yocto-queue" "^0.1.0" + yocto-queue "^0.1.0" -"p-locate@^2.0.0": - "integrity" "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==" - "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz" - "version" "2.0.0" +p-locate@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz" + integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== dependencies: - "p-limit" "^1.1.0" + p-limit "^1.1.0" -"p-locate@^3.0.0": - "integrity" "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==" - "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz" - "version" "3.0.0" +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== dependencies: - "p-limit" "^2.0.0" + p-limit "^2.0.0" -"p-locate@^4.1.0": - "integrity" "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==" - "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" - "version" "4.1.0" +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: - "p-limit" "^2.2.0" + p-limit "^2.2.0" -"p-locate@^5.0.0": - "integrity" "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==" - "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" - "version" "5.0.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== dependencies: - "p-limit" "^3.0.2" + p-limit "^3.0.2" -"p-map-series@^2.1.0": - "integrity" "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==" - "resolved" "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz" - "version" "2.1.0" +p-map-series@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz" + integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== -"p-map@^4.0.0": - "integrity" "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==" - "resolved" "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz" - "version" "4.0.0" +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: - "aggregate-error" "^3.0.0" + aggregate-error "^3.0.0" -"p-pipe@^3.1.0": - "integrity" "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==" - "resolved" "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz" - "version" "3.1.0" +p-pipe@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz" + integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== -"p-queue@^6.6.2": - "integrity" "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==" - "resolved" "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz" - "version" "6.6.2" +p-queue@^6.6.2: + version "6.6.2" + resolved "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz" + integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== dependencies: - "eventemitter3" "^4.0.4" - "p-timeout" "^3.2.0" + eventemitter3 "^4.0.4" + p-timeout "^3.2.0" -"p-reduce@^2.0.0", "p-reduce@^2.1.0": - "integrity" "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==" - "resolved" "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz" - "version" "2.1.0" +p-reduce@^2.0.0, p-reduce@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz" + integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== -"p-timeout@^3.2.0": - "integrity" "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==" - "resolved" "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz" - "version" "3.2.0" +p-timeout@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== dependencies: - "p-finally" "^1.0.0" + p-finally "^1.0.0" -"p-try@^1.0.0": - "integrity" "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" - "resolved" "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz" - "version" "1.0.0" +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz" + integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== -"p-try@^2.0.0": - "integrity" "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - "resolved" "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" - "version" "2.2.0" +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -"p-waterfall@^2.1.1": - "integrity" "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==" - "resolved" "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz" - "version" "2.1.1" +p-waterfall@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz" + integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== dependencies: - "p-reduce" "^2.0.0" + p-reduce "^2.0.0" -"pacote@^11.2.6": - "integrity" "sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg==" - "resolved" "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz" - "version" "11.3.5" +pacote@^11.2.6: + version "11.3.5" + resolved "https://registry.npmjs.org/pacote/-/pacote-11.3.5.tgz" + integrity sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg== dependencies: "@npmcli/git" "^2.1.0" "@npmcli/installed-package-contents" "^1.0.6" "@npmcli/promise-spawn" "^1.2.0" "@npmcli/run-script" "^1.8.2" - "cacache" "^15.0.5" - "chownr" "^2.0.0" - "fs-minipass" "^2.1.0" - "infer-owner" "^1.0.4" - "minipass" "^3.1.3" - "mkdirp" "^1.0.3" - "npm-package-arg" "^8.0.1" - "npm-packlist" "^2.1.4" - "npm-pick-manifest" "^6.0.0" - "npm-registry-fetch" "^11.0.0" - "promise-retry" "^2.0.1" - "read-package-json-fast" "^2.0.1" - "rimraf" "^3.0.2" - "ssri" "^8.0.1" - "tar" "^6.1.0" - -"pako@^0.2.5": - "integrity" "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==" - "resolved" "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz" - "version" "0.2.9" - -"pako@^2.0.2": - "integrity" "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" - "resolved" "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz" - "version" "2.0.4" - -"pako@1.0.11": - "integrity" "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" - "resolved" "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz" - "version" "1.0.11" - -"parent-module@^1.0.0": - "integrity" "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==" - "resolved" "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "callsites" "^3.0.0" - -"parse-json@^4.0.0": - "integrity" "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==" - "resolved" "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "error-ex" "^1.3.1" - "json-parse-better-errors" "^1.0.1" - -"parse-json@^5.0.0", "parse-json@^5.2.0": - "integrity" "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==" - "resolved" "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" - "version" "5.2.0" + cacache "^15.0.5" + chownr "^2.0.0" + fs-minipass "^2.1.0" + infer-owner "^1.0.4" + minipass "^3.1.3" + mkdirp "^1.0.3" + npm-package-arg "^8.0.1" + npm-packlist "^2.1.4" + npm-pick-manifest "^6.0.0" + npm-registry-fetch "^11.0.0" + promise-retry "^2.0.1" + read-package-json-fast "^2.0.1" + rimraf "^3.0.2" + ssri "^8.0.1" + tar "^6.1.0" + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^0.2.5: + version "0.2.9" + resolved "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz" + integrity sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz" + integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== + dependencies: + error-ex "^1.3.1" + json-parse-better-errors "^1.0.1" + +parse-json@^5.0.0, parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== dependencies: "@babel/code-frame" "^7.0.0" - "error-ex" "^1.3.1" - "json-parse-even-better-errors" "^2.3.0" - "lines-and-columns" "^1.1.6" - -"parse-package-name@1.0.0": - "integrity" "sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg==" - "resolved" "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz" - "version" "1.0.0" - -"parse-passwd@^1.0.0": - "integrity" "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==" - "resolved" "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz" - "version" "1.0.0" - -"parse-path@^4.0.0": - "integrity" "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==" - "resolved" "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz" - "version" "4.0.4" - dependencies: - "is-ssh" "^1.3.0" - "protocols" "^1.4.0" - "qs" "^6.9.4" - "query-string" "^6.13.8" - -"parse-url@^6.0.0": - "integrity" "sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA==" - "resolved" "https://registry.npmjs.org/parse-url/-/parse-url-6.0.5.tgz" - "version" "6.0.5" - dependencies: - "is-ssh" "^1.3.0" - "normalize-url" "^6.1.0" - "parse-path" "^4.0.0" - "protocols" "^1.4.0" - -"path-exists@^3.0.0": - "integrity" "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" - "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz" - "version" "3.0.0" - -"path-exists@^4.0.0": - "integrity" "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" - "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" - "version" "4.0.0" - -"path-is-absolute@^1.0.0": - "integrity" "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" - "resolved" "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" - "version" "1.0.1" - -"path-key@^3.0.0", "path-key@^3.1.0": - "integrity" "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - "resolved" "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" - "version" "3.1.1" - -"path-parse@^1.0.7": - "integrity" "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - "resolved" "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" - "version" "1.0.7" - -"path-type@^3.0.0": - "integrity" "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==" - "resolved" "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "pify" "^3.0.0" - -"path-type@^4.0.0": - "integrity" "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" - "resolved" "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" - "version" "4.0.0" - -"pbkdf2@^3.0.16", "pbkdf2@^3.0.9", "pbkdf2@^3.1.1": - "integrity" "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==" - "resolved" "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" - "version" "3.1.2" - dependencies: - "create-hash" "^1.1.2" - "create-hmac" "^1.1.4" - "ripemd160" "^2.0.1" - "safe-buffer" "^5.0.1" - "sha.js" "^2.4.8" - -"performance-now@^2.1.0": - "integrity" "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" - "resolved" "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz" - "version" "2.1.0" - -"picocolors@^1.0.0": - "integrity" "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - "resolved" "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" - "version" "1.0.0" - -"picomatch@^2.0.4", "picomatch@^2.2.1", "picomatch@^2.2.3", "picomatch@^2.3.1": - "integrity" "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" - "resolved" "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" - "version" "2.3.1" - -"pify@^2.3.0": - "integrity" "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==" - "resolved" "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" - "version" "2.3.0" - -"pify@^3.0.0": - "integrity" "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" - "resolved" "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz" - "version" "3.0.0" - -"pify@^4.0.1": - "integrity" "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" - "resolved" "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz" - "version" "4.0.1" - -"pify@^5.0.0": - "integrity" "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==" - "resolved" "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz" - "version" "5.0.0" - -"pirates@^4.0.4", "pirates@^4.0.5": - "integrity" "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==" - "resolved" "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" - "version" "4.0.5" - -"pkg-dir@^3.0.0": - "integrity" "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==" - "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "find-up" "^3.0.0" - -"pkg-dir@^4.2.0": - "integrity" "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==" - "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" - "version" "4.2.0" - dependencies: - "find-up" "^4.0.0" - -"popmotion@11.0.5": - "integrity" "sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA==" - "resolved" "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" - "version" "11.0.5" - dependencies: - "framesync" "6.1.2" - "hey-listen" "^1.0.8" - "style-value-types" "5.1.2" - "tslib" "2.4.0" - -"postcss@8.4.14": - "integrity" "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==" - "resolved" "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" - "version" "8.4.14" - dependencies: - "nanoid" "^3.3.4" - "picocolors" "^1.0.0" - "source-map-js" "^1.0.2" - -"prelude-ls@^1.2.1": - "integrity" "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" - "resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" - "version" "1.2.1" - -"prettier-linter-helpers@^1.0.0": - "integrity" "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==" - "resolved" "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" - "version" "1.0.0" - dependencies: - "fast-diff" "^1.1.2" - -"prettier@^2.1.2", "prettier@^2.6.2", "prettier@>=2.0.0", "prettier@2.7.1": - "integrity" "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==" - "resolved" "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" - "version" "2.7.1" - -"pretty-format@^28.0.0", "pretty-format@^28.1.3": - "integrity" "sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==" - "resolved" "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz" - "version" "28.1.3" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz" + integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== + +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz" + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== + +parse-path@^4.0.0: + version "4.0.4" + resolved "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz" + integrity sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw== + dependencies: + is-ssh "^1.3.0" + protocols "^1.4.0" + qs "^6.9.4" + query-string "^6.13.8" + +parse-url@^6.0.0: + version "6.0.5" + resolved "https://registry.npmjs.org/parse-url/-/parse-url-6.0.5.tgz" + integrity sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA== + dependencies: + is-ssh "^1.3.0" + normalize-url "^6.1.0" + parse-path "^4.0.0" + protocols "^1.4.0" + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz" + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz" + integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== + dependencies: + pify "^3.0.0" + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz" + integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +pify@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz" + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== + +pify@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz" + integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== + +pify@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz" + integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== + +pirates@^4.0.4, pirates@^4.0.5: + version "4.0.5" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" + integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + +pkg-dir@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz" + integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== + dependencies: + find-up "^3.0.0" + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier@2.7.1, prettier@^2.1.2, prettier@^2.6.2: + version "2.7.1" + resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + +pretty-format@^28.0.0, pretty-format@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz" + integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== dependencies: "@jest/schemas" "^28.1.3" - "ansi-regex" "^5.0.1" - "ansi-styles" "^5.0.0" - "react-is" "^18.0.0" - -"process-nextick-args@~2.0.0": - "integrity" "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - "resolved" "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz" - "version" "2.0.1" - -"promise-inflight@^1.0.1": - "integrity" "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==" - "resolved" "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz" - "version" "1.0.1" - -"promise-retry@^2.0.1": - "integrity" "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==" - "resolved" "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz" - "version" "2.0.1" - dependencies: - "err-code" "^2.0.2" - "retry" "^0.12.0" - -"prompts@^2.0.1": - "integrity" "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==" - "resolved" "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" - "version" "2.4.2" - dependencies: - "kleur" "^3.0.3" - "sisteransi" "^1.0.5" - -"promzard@^0.3.0": - "integrity" "sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==" - "resolved" "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz" - "version" "0.3.0" - dependencies: - "read" "1" - -"prop-types@^15.6.0", "prop-types@^15.6.2", "prop-types@^15.8.1": - "integrity" "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==" - "resolved" "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" - "version" "15.8.1" - dependencies: - "loose-envify" "^1.4.0" - "object-assign" "^4.1.1" - "react-is" "^16.13.1" - -"proto-list@~1.2.1": - "integrity" "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" - "resolved" "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz" - "version" "1.2.4" - -"protobufjs@^6.11.2", "protobufjs@^6.11.3", "protobufjs@^6.8.8", "protobufjs@~6.11.2", "protobufjs@~6.11.3", "protobufjs@6.11.3": - "integrity" "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==" - "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" - "version" "6.11.3" + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +promise-inflight@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz" + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== + +promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== + dependencies: + err-code "^2.0.2" + retry "^0.12.0" + +prompts@^2.0.1: + version "2.4.2" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +promzard@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz" + integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== + dependencies: + read "1" + +prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -11379,12 +10522,12 @@ "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - "long" "^4.0.0" + long "^4.0.0" -"protobufjs@~6.10.2": - "integrity" "sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg==" - "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz" - "version" "6.10.3" +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -11398,1949 +10541,1853 @@ "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" "^13.7.0" - "long" "^4.0.0" - -"protocols@^1.4.0": - "integrity" "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==" - "resolved" "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz" - "version" "1.4.8" - -"protocols@^2.0.1": - "integrity" "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==" - "resolved" "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz" - "version" "2.0.1" - -"psl@^1.1.28": - "integrity" "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" - "resolved" "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz" - "version" "1.9.0" - -"punycode@^2.1.0", "punycode@^2.1.1": - "integrity" "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - "resolved" "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" - "version" "2.1.1" - -"q@^1.5.1": - "integrity" "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==" - "resolved" "https://registry.npmjs.org/q/-/q-1.5.1.tgz" - "version" "1.5.1" - -"qrcode.react@^3.1.0": - "integrity" "sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q==" - "resolved" "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz" - "version" "3.1.0" - -"qs@^6.9.4": - "integrity" "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==" - "resolved" "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz" - "version" "6.11.0" - dependencies: - "side-channel" "^1.0.4" - -"qs@~6.5.2": - "integrity" "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" - "resolved" "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz" - "version" "6.5.3" - -"query-string@^6.13.8": - "integrity" "sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==" - "resolved" "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz" - "version" "6.14.1" - dependencies: - "decode-uri-component" "^0.2.0" - "filter-obj" "^1.1.0" - "split-on-first" "^1.0.0" - "strict-uri-encode" "^2.0.0" - -"query-string@6.13.5": - "integrity" "sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q==" - "resolved" "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz" - "version" "6.13.5" - dependencies: - "decode-uri-component" "^0.2.0" - "split-on-first" "^1.0.0" - "strict-uri-encode" "^2.0.0" - -"queue-microtask@^1.2.2": - "integrity" "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" - "resolved" "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" - "version" "1.2.3" - -"quick-lru@^4.0.1": - "integrity" "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" - "resolved" "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" - "version" "4.0.1" - -"randombytes@^2.0.1", "randombytes@^2.1.0": - "integrity" "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==" - "resolved" "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "safe-buffer" "^5.1.0" - -"react-clientside-effect@^1.2.6": - "integrity" "sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg==" - "resolved" "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz" - "version" "1.2.6" + long "^4.0.0" + +protocols@^1.4.0: + version "1.4.8" + resolved "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz" + integrity sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg== + +protocols@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz" + integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== + +psl@^1.1.28: + version "1.9.0" + resolved "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== + +punycode@^2.1.0, punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +q@^1.5.1: + version "1.5.1" + resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz" + integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +qs@^6.9.4: + version "6.11.0" + resolved "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" + +qs@~6.5.2: + version "6.5.3" + resolved "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz" + integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +query-string@^6.13.8: + version "6.14.1" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.14.1.tgz" + 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" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +quick-lru@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" + integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== dependencies: "@babel/runtime" "^7.12.13" -"react-dom@^16 || ^17 || ^18", "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom@^17.0.2 || ^18.0.0-0", "react-dom@^18.0.0", "react-dom@>=16.6.0", "react-dom@>=18", "react-dom@18.2.0": - "integrity" "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==" - "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" - "version" "18.2.0" +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== dependencies: - "loose-envify" "^1.1.0" - "scheduler" "^0.23.0" + loose-envify "^1.1.0" + scheduler "^0.23.0" -"react-fast-compare@3.2.0": - "integrity" "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" - "resolved" "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz" - "version" "3.2.0" +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== -"react-focus-lock@^2.9.1": - "integrity" "sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg==" - "resolved" "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz" - "version" "2.9.1" +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== dependencies: "@babel/runtime" "^7.0.0" - "focus-lock" "^0.11.2" - "prop-types" "^15.6.2" - "react-clientside-effect" "^1.2.6" - "use-callback-ref" "^1.3.0" - "use-sidecar" "^1.1.2" - -"react-icons@^4.4.0", "react-icons@4.4.0": - "integrity" "sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg==" - "resolved" "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz" - "version" "4.4.0" - -"react-is@^16.13.1", "react-is@^16.7.0": - "integrity" "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - "resolved" "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" - "version" "16.13.1" - -"react-is@^18.0.0": - "integrity" "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" - "resolved" "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" - "version" "18.2.0" - -"react-remove-scroll-bar@^2.3.3": - "integrity" "sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw==" - "resolved" "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz" - "version" "2.3.3" - dependencies: - "react-style-singleton" "^2.2.1" - "tslib" "^2.0.0" - -"react-remove-scroll@^2.5.4": - "integrity" "sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==" - "resolved" "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz" - "version" "2.5.5" - dependencies: - "react-remove-scroll-bar" "^2.3.3" - "react-style-singleton" "^2.2.1" - "tslib" "^2.1.0" - "use-callback-ref" "^1.3.0" - "use-sidecar" "^1.1.2" - -"react-select@^5.4.0": - "integrity" "sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg==" - "resolved" "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz" - "version" "5.4.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.4.0, react-icons@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz" + integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + +react-remove-scroll-bar@^2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz" + integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-select@^5.4.0: + version "5.4.0" + resolved "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz" + integrity sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg== dependencies: "@babel/runtime" "^7.12.0" "@emotion/cache" "^11.4.0" "@emotion/react" "^11.8.1" "@types/react-transition-group" "^4.4.0" - "memoize-one" "^5.0.0" - "prop-types" "^15.6.0" - "react-transition-group" "^4.3.0" + memoize-one "^5.0.0" + prop-types "^15.6.0" + react-transition-group "^4.3.0" -"react-style-singleton@^2.2.1": - "integrity" "sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==" - "resolved" "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz" - "version" "2.2.1" +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== dependencies: - "get-nonce" "^1.0.0" - "invariant" "^2.2.4" - "tslib" "^2.0.0" + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" -"react-transition-group@^4.3.0": - "integrity" "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==" - "resolved" "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz" - "version" "4.4.5" +react-transition-group@^4.3.0: + version "4.4.5" + resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== dependencies: "@babel/runtime" "^7.5.5" - "dom-helpers" "^5.0.1" - "loose-envify" "^1.4.0" - "prop-types" "^15.6.2" - -"react@*", "react@^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16 || ^17 || ^18", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^16.9.0 || ^17.0.0 || ^18.0.0", "react@^17.0.2 || ^18.0.0-0", "react@^18.0.0", "react@^18.2.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@>=16.6.0", "react@>=16.8.0", "react@>=18", "react@18.2.0": - "integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==" - "resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz" - "version" "18.2.0" - dependencies: - "loose-envify" "^1.1.0" - -"read-cmd-shim@^2.0.0": - "integrity" "sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw==" - "resolved" "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz" - "version" "2.0.0" - -"read-package-json-fast@^2.0.1": - "integrity" "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==" - "resolved" "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz" - "version" "2.0.3" - dependencies: - "json-parse-even-better-errors" "^2.3.0" - "npm-normalize-package-bin" "^1.0.1" - -"read-package-json@^2.0.0": - "integrity" "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==" - "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz" - "version" "2.1.2" - 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" - -"read-package-json@^3.0.0": - "integrity" "sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng==" - "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz" - "version" "3.0.1" - dependencies: - "glob" "^7.1.1" - "json-parse-even-better-errors" "^2.3.0" - "normalize-package-data" "^3.0.0" - "npm-normalize-package-bin" "^1.0.0" - -"read-package-json@^4.1.1": - "integrity" "sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ==" - "resolved" "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz" - "version" "4.1.2" - dependencies: - "glob" "^7.1.1" - "json-parse-even-better-errors" "^2.3.0" - "normalize-package-data" "^3.0.0" - "npm-normalize-package-bin" "^1.0.0" - -"read-package-tree@^5.3.1": - "integrity" "sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw==" - "resolved" "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz" - "version" "5.3.1" - dependencies: - "read-package-json" "^2.0.0" - "readdir-scoped-modules" "^1.0.0" - "util-promisify" "^2.1.0" - -"read-pkg-up@^3.0.0": - "integrity" "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==" - "resolved" "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "find-up" "^2.0.0" - "read-pkg" "^3.0.0" - -"read-pkg-up@^7.0.1": - "integrity" "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==" - "resolved" "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz" - "version" "7.0.1" - dependencies: - "find-up" "^4.1.0" - "read-pkg" "^5.2.0" - "type-fest" "^0.8.1" - -"read-pkg@^3.0.0": - "integrity" "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==" - "resolved" "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "load-json-file" "^4.0.0" - "normalize-package-data" "^2.3.2" - "path-type" "^3.0.0" - -"read-pkg@^5.2.0": - "integrity" "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==" - "resolved" "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz" - "version" "5.2.0" + dom-helpers "^5.0.1" + loose-envify "^1.4.0" + prop-types "^15.6.2" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +read-cmd-shim@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz" + integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== + +read-package-json-fast@^2.0.1: + version "2.0.3" + resolved "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz" + integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== + dependencies: + json-parse-even-better-errors "^2.3.0" + npm-normalize-package-bin "^1.0.1" + +read-package-json@^2.0.0: + version "2.1.2" + resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz" + integrity sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA== + 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" + +read-package-json@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-3.0.1.tgz" + integrity sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng== + dependencies: + glob "^7.1.1" + json-parse-even-better-errors "^2.3.0" + normalize-package-data "^3.0.0" + npm-normalize-package-bin "^1.0.0" + +read-package-json@^4.1.1: + version "4.1.2" + resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-4.1.2.tgz" + integrity sha512-Dqer4pqzamDE2O4M55xp1qZMuLPqi4ldk2ya648FOMHRjwMzFhuxVrG04wd0c38IsvkVdr3vgHI6z+QTPdAjrQ== + dependencies: + glob "^7.1.1" + json-parse-even-better-errors "^2.3.0" + normalize-package-data "^3.0.0" + npm-normalize-package-bin "^1.0.0" + +read-package-tree@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz" + integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== + dependencies: + read-package-json "^2.0.0" + readdir-scoped-modules "^1.0.0" + util-promisify "^2.1.0" + +read-pkg-up@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz" + integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== + dependencies: + find-up "^2.0.0" + read-pkg "^3.0.0" + +read-pkg-up@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz" + integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== + dependencies: + find-up "^4.1.0" + read-pkg "^5.2.0" + type-fest "^0.8.1" + +read-pkg@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz" + integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== + dependencies: + load-json-file "^4.0.0" + normalize-package-data "^2.3.2" + path-type "^3.0.0" + +read-pkg@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz" + integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== dependencies: "@types/normalize-package-data" "^2.4.0" - "normalize-package-data" "^2.5.0" - "parse-json" "^5.0.0" - "type-fest" "^0.6.0" - -"read@~1.0.1", "read@1": - "integrity" "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==" - "resolved" "https://registry.npmjs.org/read/-/read-1.0.7.tgz" - "version" "1.0.7" - dependencies: - "mute-stream" "~0.0.4" - -"readable-stream@^2.0.6": - "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" - "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" - "version" "2.3.7" - dependencies: - "core-util-is" "~1.0.0" - "inherits" "~2.0.3" - "isarray" "~1.0.0" - "process-nextick-args" "~2.0.0" - "safe-buffer" "~5.1.1" - "string_decoder" "~1.1.1" - "util-deprecate" "~1.0.1" - -"readable-stream@^3.0.0", "readable-stream@^3.0.2", "readable-stream@^3.6.0", "readable-stream@3": - "integrity" "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==" - "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" - "version" "3.6.0" - dependencies: - "inherits" "^2.0.3" - "string_decoder" "^1.1.1" - "util-deprecate" "^1.0.1" - -"readable-stream@~2.3.6": - "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" - "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" - "version" "2.3.7" - dependencies: - "core-util-is" "~1.0.0" - "inherits" "~2.0.3" - "isarray" "~1.0.0" - "process-nextick-args" "~2.0.0" - "safe-buffer" "~5.1.1" - "string_decoder" "~1.1.1" - "util-deprecate" "~1.0.1" - -"readdir-scoped-modules@^1.0.0": - "integrity" "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==" - "resolved" "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz" - "version" "1.1.0" - dependencies: - "debuglog" "^1.0.1" - "dezalgo" "^1.0.0" - "graceful-fs" "^4.1.2" - "once" "^1.3.0" - -"readdirp@~3.6.0": - "integrity" "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==" - "resolved" "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" - "version" "3.6.0" - dependencies: - "picomatch" "^2.2.1" - -"readonly-date@^1.0.0": - "integrity" "sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ==" - "resolved" "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz" - "version" "1.0.0" - -"rechoir@^0.6.2": - "integrity" "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==" - "resolved" "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" - "version" "0.6.2" - dependencies: - "resolve" "^1.1.6" - -"redent@^3.0.0": - "integrity" "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==" - "resolved" "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "indent-string" "^4.0.0" - "strip-indent" "^3.0.0" - -"regenerate-unicode-properties@^10.1.0": - "integrity" "sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==" - "resolved" "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" - "version" "10.1.0" - dependencies: - "regenerate" "^1.4.2" - -"regenerate-unicode-properties@^8.2.0": - "version" "8.2.0" - dependencies: - "regenerate" "^1.4.0" - -"regenerate@^1.4.0", "regenerate@^1.4.2": - "integrity" "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" - "resolved" "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" - "version" "1.4.2" - -"regenerator-runtime@^0.13.4", "regenerator-runtime@^0.13.7": - "integrity" "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - "resolved" "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz" - "version" "0.13.9" - -"regenerator-transform@^0.14.2", "regenerator-transform@^0.15.0": - "integrity" "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==" - "resolved" "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz" - "version" "0.15.0" + normalize-package-data "^2.5.0" + parse-json "^5.0.0" + type-fest "^0.6.0" + +read@1, read@~1.0.1: + version "1.0.7" + resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz" + integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== + dependencies: + mute-stream "~0.0.4" + +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readable-stream@^2.0.6, readable-stream@~2.3.6: + version "2.3.7" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readdir-scoped-modules@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz" + integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== + dependencies: + debuglog "^1.0.1" + dezalgo "^1.0.0" + graceful-fs "^4.1.2" + once "^1.3.0" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== + dependencies: + resolve "^1.1.6" + +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== + dependencies: + indent-string "^4.0.0" + strip-indent "^3.0.0" + +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + +regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: + version "0.13.9" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz" + integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== + +regenerator-transform@^0.15.0: + version "0.15.0" + resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz" + integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== dependencies: "@babel/runtime" "^7.8.4" -"regexp.prototype.flags@^1.4.1", "regexp.prototype.flags@^1.4.3": - "integrity" "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==" - "resolved" "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz" - "version" "1.4.3" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "functions-have-names" "^1.2.2" - -"regexpp@^3.2.0": - "integrity" "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" - "resolved" "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" - "version" "3.2.0" - -"regexpu-core@^4.6.0", "regexpu-core@^5.1.0": - "integrity" "sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ==" - "resolved" "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz" - "version" "5.2.1" - dependencies: - "regenerate" "^1.4.2" - "regenerate-unicode-properties" "^10.1.0" - "regjsgen" "^0.7.1" - "regjsparser" "^0.9.1" - "unicode-match-property-ecmascript" "^2.0.0" - "unicode-match-property-value-ecmascript" "^2.0.0" - -"regexpu-core@^4.7.0": - "version" "4.7.1" - dependencies: - "regenerate" "^1.4.0" - "regenerate-unicode-properties" "^8.2.0" - "regjsgen" "^0.5.1" - "regjsparser" "^0.6.4" - "unicode-match-property-ecmascript" "^1.0.4" - "unicode-match-property-value-ecmascript" "^1.2.0" - -"regjsgen@^0.5.1": - "version" "0.5.2" - -"regjsgen@^0.7.1": - "integrity" "sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA==" - "resolved" "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz" - "version" "0.7.1" - -"regjsparser@^0.6.4": - "version" "0.6.4" - dependencies: - "jsesc" "~0.5.0" - -"regjsparser@^0.9.1": - "integrity" "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==" - "resolved" "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz" - "version" "0.9.1" - dependencies: - "jsesc" "~0.5.0" - -"request@^2.88.0", "request@^2.88.2": - "integrity" "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==" - "resolved" "https://registry.npmjs.org/request/-/request-2.88.2.tgz" - "version" "2.88.2" - 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": - "integrity" "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" - "resolved" "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" - "version" "2.1.1" - -"resolve-cwd@^3.0.0": - "integrity" "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==" - "resolved" "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "resolve-from" "^5.0.0" - -"resolve-from@^4.0.0": - "integrity" "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" - "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" - "version" "4.0.0" - -"resolve-from@^5.0.0": - "integrity" "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" - "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" - "version" "5.0.0" - -"resolve.exports@^1.1.0": - "integrity" "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==" - "resolved" "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz" - "version" "1.1.0" - -"resolve@^1.1.6", "resolve@^1.10.0", "resolve@^1.12.0", "resolve@^1.14.2", "resolve@^1.19.0", "resolve@^1.20.0", "resolve@^1.22.0", "resolve@^1.3.2", "resolve@^1.8.1": - "integrity" "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==" - "resolved" "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" - "version" "1.22.1" - dependencies: - "is-core-module" "^2.9.0" - "path-parse" "^1.0.7" - "supports-preserve-symlinks-flag" "^1.0.0" - -"resolve@^2.0.0-next.3": - "integrity" "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==" - "resolved" "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz" - "version" "2.0.0-next.4" - dependencies: - "is-core-module" "^2.9.0" - "path-parse" "^1.0.7" - "supports-preserve-symlinks-flag" "^1.0.0" - -"restore-cursor@^2.0.0": - "integrity" "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==" - "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "onetime" "^2.0.0" - "signal-exit" "^3.0.2" - -"restore-cursor@^3.1.0": - "integrity" "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==" - "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "onetime" "^5.1.0" - "signal-exit" "^3.0.2" - -"retry@^0.12.0": - "integrity" "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==" - "resolved" "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz" - "version" "0.12.0" - -"reusify@^1.0.4": - "integrity" "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" - "resolved" "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" - "version" "1.0.4" - -"rimraf@^2.6.3": - "integrity" "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==" - "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" - "version" "2.7.1" - dependencies: - "glob" "^7.1.3" - -"rimraf@^3.0.0", "rimraf@^3.0.2", "rimraf@3.0.2": - "integrity" "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==" - "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" - "version" "3.0.2" - dependencies: - "glob" "^7.1.3" - -"ripemd160@^2.0.0", "ripemd160@^2.0.1", "ripemd160@^2.0.2": - "integrity" "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==" - "resolved" "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" - "version" "2.0.2" - dependencies: - "hash-base" "^3.0.0" - "inherits" "^2.0.1" - -"run-async@^2.2.0", "run-async@^2.3.0", "run-async@^2.4.0": - "integrity" "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" - "resolved" "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" - "version" "2.4.1" - -"run-parallel@^1.1.9": - "integrity" "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==" - "resolved" "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" - "version" "1.2.0" - dependencies: - "queue-microtask" "^1.2.2" +regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: + version "1.4.3" + resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz" + integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + functions-have-names "^1.2.2" + +regexpp@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + +regexpu-core@^5.1.0: + version "5.2.1" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz" + integrity sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ== + dependencies: + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.0.0" + +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + +request@^2.88.0, request@^2.88.2: + version "2.88.2" + resolved "https://registry.npmjs.org/request/-/request-2.88.2.tgz" + 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.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve.exports@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz" + integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== + +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.3.2, resolve@^1.8.1: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.3: + version "2.0.0-next.4" + resolved "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz" + integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz" + integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" -"rx-lite-aggregates@^4.0.8": - "integrity" "sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg==" - "resolved" "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz" - "version" "4.0.8" +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz" + integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== dependencies: - "rx-lite" "*" - -"rx-lite@*", "rx-lite@^4.0.8": - "integrity" "sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA==" - "resolved" "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz" - "version" "4.0.8" + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz" + integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== -"rxjs@^6.4.0", "rxjs@^6.6.0": - "integrity" "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==" - "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" - "version" "6.6.7" +rxjs@^6.4.0, rxjs@^6.6.0: + version "6.6.7" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== dependencies: - "tslib" "^1.9.0" - -"safe-buffer@^5.0.1", "safe-buffer@^5.1.0", "safe-buffer@^5.1.2", "safe-buffer@^5.2.0", "safe-buffer@^5.2.1", "safe-buffer@~5.2.0": - "integrity" "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" - "version" "5.2.1" + tslib "^1.9.0" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -"safe-buffer@~5.1.0", "safe-buffer@~5.1.1": - "integrity" "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" - "version" "5.1.2" +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -"safer-buffer@^2.0.2", "safer-buffer@^2.1.0", "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", "safer-buffer@~2.1.0": - "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - "resolved" "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" - "version" "2.1.2" +"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: + version "2.1.2" + resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -"scheduler@^0.23.0": - "integrity" "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==" - "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" - "version" "0.23.0" +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== dependencies: - "loose-envify" "^1.1.0" + loose-envify "^1.1.0" -"secretjs@^0.17.0": - "integrity" "sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg==" - "resolved" "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz" - "version" "0.17.7" +secretjs@0.17.7, secretjs@^0.17.0: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== dependencies: "@iov/crypto" "2.1.0" "@iov/encoding" "2.1.0" "@iov/utils" "2.0.2" - "axios" "0.21.1" - "curve25519-js" "0.0.4" - "fast-deep-equal" "3.1.1" - "js-crypto-hkdf" "0.7.3" - "miscreant" "0.3.2" - "pako" "1.0.11" - "protobufjs" "6.11.3" - "secure-random" "1.1.2" - -"secure-random@1.1.2": - "integrity" "sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ==" - "resolved" "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz" - "version" "1.1.2" - -"semver@^5.4.1", "semver@^5.5.0", "semver@^5.5.1": - "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - "version" "5.7.1" - -"semver@^5.6.0": - "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - "version" "5.7.1" - -"semver@^5.7.0": - "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - "version" "5.7.1" - -"semver@^5.7.1": - "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - "version" "5.7.1" - -"semver@^6.0.0": - "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - "version" "6.3.0" - -"semver@^6.1.1": - "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - "version" "6.3.0" - -"semver@^6.1.2": - "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - "version" "6.3.0" - -"semver@^6.3.0": - "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - "version" "6.3.0" - -"semver@^7.1.1", "semver@^7.1.3", "semver@^7.3.2", "semver@^7.3.4", "semver@^7.3.5", "semver@^7.3.7", "semver@7.x": - "integrity" "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==" - "resolved" "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" - "version" "7.3.7" - dependencies: - "lru-cache" "^6.0.0" - -"semver@2 || 3 || 4 || 5": - "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - "version" "5.7.1" - -"set-blocking@~2.0.0": - "integrity" "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" - "resolved" "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" - "version" "2.0.0" - -"sha.js@^2.4.0", "sha.js@^2.4.11", "sha.js@^2.4.8": - "integrity" "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==" - "resolved" "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" - "version" "2.4.11" - dependencies: - "inherits" "^2.0.1" - "safe-buffer" "^5.0.1" - -"sha3@~2.1.0": - "integrity" "sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg==" - "resolved" "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz" - "version" "2.1.4" - dependencies: - "buffer" "6.0.3" - -"shallow-clone@^3.0.0": - "integrity" "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==" - "resolved" "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz" - "version" "3.0.1" - dependencies: - "kind-of" "^6.0.2" - -"shebang-command@^2.0.0": - "integrity" "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==" - "resolved" "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "shebang-regex" "^3.0.0" - -"shebang-regex@^3.0.0": - "integrity" "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - "resolved" "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" - "version" "3.0.0" - -"shelljs@0.8.5": - "integrity" "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==" - "resolved" "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" - "version" "0.8.5" - dependencies: - "glob" "^7.0.0" - "interpret" "^1.0.0" - "rechoir" "^0.6.2" - -"side-channel@^1.0.4": - "integrity" "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==" - "resolved" "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "call-bind" "^1.0.0" - "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": - "integrity" "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - "resolved" "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" - "version" "3.0.7" - -"sisteransi@^1.0.5": - "integrity" "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" - "resolved" "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" - "version" "1.0.5" - -"slash@^2.0.0": - "integrity" "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==" - "resolved" "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz" - "version" "2.0.0" - -"slash@^3.0.0": - "integrity" "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" - "resolved" "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" - "version" "3.0.0" - -"slide@^1.1.6": - "integrity" "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==" - "resolved" "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz" - "version" "1.1.6" - -"smart-buffer@^4.2.0": - "integrity" "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" - "resolved" "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz" - "version" "4.2.0" - -"socks-proxy-agent@^5.0.0": - "integrity" "sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ==" - "resolved" "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz" - "version" "5.0.1" - dependencies: - "agent-base" "^6.0.2" - "debug" "4" - "socks" "^2.3.3" - -"socks-proxy-agent@^6.0.0": - "integrity" "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==" - "resolved" "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz" - "version" "6.2.1" - dependencies: - "agent-base" "^6.0.2" - "debug" "^4.3.3" - "socks" "^2.6.2" - -"socks@^2.3.3", "socks@^2.6.2": - "integrity" "sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA==" - "resolved" "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz" - "version" "2.7.0" - dependencies: - "ip" "^2.0.0" - "smart-buffer" "^4.2.0" - -"sort-keys@^2.0.0": - "integrity" "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==" - "resolved" "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "is-plain-obj" "^1.0.0" - -"sort-keys@^4.0.0": - "integrity" "sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==" - "resolved" "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz" - "version" "4.2.0" - dependencies: - "is-plain-obj" "^2.0.0" - -"source-map-js@^1.0.2": - "integrity" "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" - "resolved" "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" - "version" "1.0.2" - -"source-map-support@^0.5.16", "source-map-support@^0.5.19": - "integrity" "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==" - "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" - "version" "0.5.21" - dependencies: - "buffer-from" "^1.0.0" - "source-map" "^0.6.0" - -"source-map-support@0.5.13": - "integrity" "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==" - "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" - "version" "0.5.13" - dependencies: - "buffer-from" "^1.0.0" - "source-map" "^0.6.0" - -"source-map@^0.5.0": - "integrity" "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" - "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" - "version" "0.5.7" - -"source-map@^0.5.7": - "integrity" "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" - "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" - "version" "0.5.7" - -"source-map@^0.6.0", "source-map@^0.6.1": - "integrity" "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" - "version" "0.6.1" - -"spdx-correct@^3.0.0": - "integrity" "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==" - "resolved" "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz" - "version" "3.1.1" - dependencies: - "spdx-expression-parse" "^3.0.0" - "spdx-license-ids" "^3.0.0" - -"spdx-exceptions@^2.1.0": - "integrity" "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - "resolved" "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz" - "version" "2.3.0" - -"spdx-expression-parse@^3.0.0": - "integrity" "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==" - "resolved" "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz" - "version" "3.0.1" - dependencies: - "spdx-exceptions" "^2.1.0" - "spdx-license-ids" "^3.0.0" - -"spdx-license-ids@^3.0.0": - "integrity" "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" - "resolved" "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz" - "version" "3.0.12" - -"split-on-first@^1.0.0": - "integrity" "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==" - "resolved" "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz" - "version" "1.1.0" - -"split@^1.0.0": - "integrity" "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==" - "resolved" "https://registry.npmjs.org/split/-/split-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "through" "2" - -"split2@^3.0.0": - "integrity" "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==" - "resolved" "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz" - "version" "3.2.2" - dependencies: - "readable-stream" "^3.0.0" - -"sprintf-js@~1.0.2": - "integrity" "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" - "resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" - "version" "1.0.3" - -"sshpk@^1.7.0": - "integrity" "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==" - "resolved" "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz" - "version" "1.17.0" - 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@^8.0.0", "ssri@^8.0.1": - "integrity" "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==" - "resolved" "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz" - "version" "8.0.1" - dependencies: - "minipass" "^3.1.1" - -"stack-utils@^2.0.3": - "integrity" "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==" - "resolved" "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz" - "version" "2.0.5" - dependencies: - "escape-string-regexp" "^2.0.0" - -"strict-uri-encode@^2.0.0": - "integrity" "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==" - "resolved" "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" - "version" "2.0.0" - -"string_decoder@^1.1.1": - "integrity" "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==" - "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "safe-buffer" "~5.2.0" - -"string_decoder@~1.1.1": - "integrity" "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==" - "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" - "version" "1.1.1" - dependencies: - "safe-buffer" "~5.1.0" - -"string-argv@^0.3.1": - "integrity" "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==" - "resolved" "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz" - "version" "0.3.1" - -"string-length@^4.0.1": - "integrity" "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==" - "resolved" "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" - "version" "4.0.2" - dependencies: - "char-regex" "^1.0.2" - "strip-ansi" "^6.0.0" - -"string-width@^1.0.1": - "integrity" "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==" - "resolved" "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "code-point-at" "^1.0.0" - "is-fullwidth-code-point" "^1.0.0" - "strip-ansi" "^3.0.0" - -"string-width@^1.0.2 || 2 || 3 || 4", "string-width@^4.1.0", "string-width@^4.2.0", "string-width@^4.2.3": - "integrity" "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==" - "resolved" "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - "version" "4.2.3" - dependencies: - "emoji-regex" "^8.0.0" - "is-fullwidth-code-point" "^3.0.0" - "strip-ansi" "^6.0.1" - -"string-width@^2.0.0": - "integrity" "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" - "resolved" "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" - "version" "2.1.1" - dependencies: - "is-fullwidth-code-point" "^2.0.0" - "strip-ansi" "^4.0.0" - -"string-width@^2.1.0": - "integrity" "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" - "resolved" "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" - "version" "2.1.1" - dependencies: - "is-fullwidth-code-point" "^2.0.0" - "strip-ansi" "^4.0.0" - -"string.prototype.matchall@^4.0.7": - "integrity" "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==" - "resolved" "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz" - "version" "4.0.7" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.3" - "es-abstract" "^1.19.1" - "get-intrinsic" "^1.1.1" - "has-symbols" "^1.0.3" - "internal-slot" "^1.0.3" - "regexp.prototype.flags" "^1.4.1" - "side-channel" "^1.0.4" - -"string.prototype.trimend@^1.0.5": - "integrity" "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==" - "resolved" "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz" - "version" "1.0.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.4" - "es-abstract" "^1.19.5" - -"string.prototype.trimstart@^1.0.5": - "integrity" "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==" - "resolved" "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz" - "version" "1.0.5" - dependencies: - "call-bind" "^1.0.2" - "define-properties" "^1.1.4" - "es-abstract" "^1.19.5" - -"strip-ansi@^3.0.0", "strip-ansi@^3.0.1": - "integrity" "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==" - "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" - "version" "3.0.1" - dependencies: - "ansi-regex" "^2.0.0" - -"strip-ansi@^4.0.0": - "integrity" "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==" - "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "ansi-regex" "^3.0.0" - -"strip-ansi@^5.1.0": - "integrity" "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==" - "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" - "version" "5.2.0" - dependencies: - "ansi-regex" "^4.1.0" - -"strip-ansi@^6.0.0", "strip-ansi@^6.0.1": - "integrity" "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==" - "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - "version" "6.0.1" - dependencies: - "ansi-regex" "^5.0.1" - -"strip-bom@^3.0.0": - "integrity" "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" - "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz" - "version" "3.0.0" - -"strip-bom@^4.0.0": - "integrity" "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==" - "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" - "version" "4.0.0" - -"strip-final-newline@^2.0.0": - "integrity" "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" - "resolved" "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" - "version" "2.0.0" - -"strip-indent@^3.0.0": - "integrity" "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==" - "resolved" "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "min-indent" "^1.0.0" - -"strip-json-comments@^3.1.0", "strip-json-comments@^3.1.1": - "integrity" "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" - "resolved" "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" - "version" "3.1.1" - -"strong-log-transformer@^2.1.0": - "integrity" "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==" - "resolved" "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "duplexer" "^0.1.1" - "minimist" "^1.2.0" - "through" "^2.3.4" - -"style-value-types@5.1.2": - "integrity" "sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q==" - "resolved" "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" - "version" "5.1.2" - dependencies: - "hey-listen" "^1.0.8" - "tslib" "2.4.0" - -"styled-jsx@5.0.4": - "integrity" "sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ==" - "resolved" "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" - "version" "5.0.4" - -"stylis@4.0.13": - "integrity" "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==" - "resolved" "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz" - "version" "4.0.13" - -"supports-color@^2.0.0": - "integrity" "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==" - "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" - "version" "2.0.0" - -"supports-color@^5.3.0", "supports-color@^7.0.0", "supports-color@^7.1.0": - "integrity" "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==" - "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" - "version" "7.2.0" - dependencies: - "has-flag" "^4.0.0" - -"supports-color@^8.0.0": - "integrity" "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==" - "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" - "version" "8.1.1" - dependencies: - "has-flag" "^4.0.0" - -"supports-hyperlinks@^2.0.0": - "integrity" "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==" - "resolved" "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz" - "version" "2.3.0" - dependencies: - "has-flag" "^4.0.0" - "supports-color" "^7.0.0" - -"supports-preserve-symlinks-flag@^1.0.0": - "integrity" "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - "resolved" "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" - "version" "1.0.0" - -"symbol-observable@^2.0.3": - "integrity" "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==" - "resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" - "version" "2.0.3" - -"tar@^4.4.12": - "integrity" "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==" - "resolved" "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz" - "version" "4.4.19" - 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" - -"tar@^6.0.2", "tar@^6.1.0": - "integrity" "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==" - "resolved" "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" - "version" "6.1.11" - 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" - -"temp-dir@^1.0.0": - "integrity" "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==" - "resolved" "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz" - "version" "1.0.0" - -"temp-write@^4.0.0": - "integrity" "sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw==" - "resolved" "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "graceful-fs" "^4.1.15" - "is-stream" "^2.0.0" - "make-dir" "^3.0.0" - "temp-dir" "^1.0.0" - "uuid" "^3.3.2" - -"terminal-link@^2.0.0": - "integrity" "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==" - "resolved" "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz" - "version" "2.1.1" - dependencies: - "ansi-escapes" "^4.2.1" - "supports-hyperlinks" "^2.0.0" - -"test-exclude@^6.0.0": - "integrity" "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==" - "resolved" "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" - "version" "6.0.0" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +"semver@2 || 3 || 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.npmjs.org/semver/-/semver-5.7.1.tgz" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: + version "7.3.7" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + 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.npmjs.org/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +set-blocking@~2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +shelljs@0.8.5: + version "0.8.5" + resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + 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: + version "3.0.7" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +slide@^1.1.6: + version "1.1.6" + resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz" + integrity sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw== + +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + +socks-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz" + integrity sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ== + dependencies: + agent-base "^6.0.2" + debug "4" + socks "^2.3.3" + +socks-proxy-agent@^6.0.0: + version "6.2.1" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz" + integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== + dependencies: + agent-base "^6.0.2" + debug "^4.3.3" + socks "^2.6.2" + +socks@^2.3.3, socks@^2.6.2: + version "2.7.0" + resolved "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz" + integrity sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA== + dependencies: + ip "^2.0.0" + smart-buffer "^4.2.0" + +sort-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz" + integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== + dependencies: + is-plain-obj "^1.0.0" + +sort-keys@^4.0.0: + version "4.2.0" + resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz" + integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== + dependencies: + is-plain-obj "^2.0.0" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-support@^0.5.16, source-map-support@^0.5.19: + version "0.5.21" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.5.0, source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +source-map@^0.6.0, source-map@^0.6.1: + version "0.6.1" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +spdx-correct@^3.0.0: + version "3.1.1" + resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz" + integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== + dependencies: + spdx-expression-parse "^3.0.0" + spdx-license-ids "^3.0.0" + +spdx-exceptions@^2.1.0: + version "2.3.0" + resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz" + integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== + +spdx-expression-parse@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz" + integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== + dependencies: + spdx-exceptions "^2.1.0" + spdx-license-ids "^3.0.0" + +spdx-license-ids@^3.0.0: + version "3.0.12" + resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz" + integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +split2@^3.0.0: + version "3.2.2" + resolved "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz" + integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== + dependencies: + readable-stream "^3.0.0" + +split@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz" + integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== + dependencies: + through "2" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +sshpk@^1.7.0: + version "1.17.0" + resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz" + 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@^8.0.0, ssri@^8.0.1: + version "8.0.1" + resolved "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz" + integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== + dependencies: + minipass "^3.1.1" + +stack-utils@^2.0.3: + version "2.0.5" + resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz" + integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== + dependencies: + escape-string-regexp "^2.0.0" + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string-argv@^0.3.1: + version "0.3.1" + resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz" + integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz" + 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@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^2.0.0, string-width@^2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string.prototype.matchall@^4.0.7: + version "4.0.7" + resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz" + integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + get-intrinsic "^1.1.1" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + regexp.prototype.flags "^1.4.1" + side-channel "^1.0.4" + +string.prototype.trimend@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz" + integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + +string.prototype.trimstart@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz" + integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== + dependencies: + ansi-regex "^3.0.0" + +strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz" + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +strong-log-transformer@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz" + integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== + dependencies: + duplexer "^0.1.1" + minimist "^1.2.0" + through "^2.3.4" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-hyperlinks@^2.0.0: + version "2.3.0" + resolved "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tar@^4.4.12: + version "4.4.19" + resolved "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz" + integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== + 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" + +tar@^6.0.2, tar@^6.1.0: + version "6.1.11" + resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" + 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" + +temp-dir@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz" + integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== + +temp-write@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/temp-write/-/temp-write-4.0.0.tgz" + integrity sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw== + dependencies: + graceful-fs "^4.1.15" + is-stream "^2.0.0" + make-dir "^3.0.0" + temp-dir "^1.0.0" + uuid "^3.3.2" + +terminal-link@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== dependencies: "@istanbuljs/schema" "^0.1.2" - "glob" "^7.1.4" - "minimatch" "^3.0.4" + glob "^7.1.4" + minimatch "^3.0.4" -"text-extensions@^1.0.0": - "integrity" "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==" - "resolved" "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz" - "version" "1.9.0" +text-extensions@^1.0.0: + version "1.9.0" + resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz" + integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== -"text-table@^0.2.0": - "integrity" "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" - "resolved" "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" - "version" "0.2.0" +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== -"thenify-all@^1.0.0": - "integrity" "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==" - "resolved" "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" - "version" "1.6.0" +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== dependencies: - "thenify" ">= 3.1.0 < 4" + thenify ">= 3.1.0 < 4" "thenify@>= 3.1.0 < 4": - "integrity" "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==" - "resolved" "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" - "version" "3.3.1" - dependencies: - "any-promise" "^1.0.0" - -"through@^2.3.4", "through@^2.3.6", "through@>=2.2.7 <3", "through@2": - "integrity" "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - "resolved" "https://registry.npmjs.org/through/-/through-2.3.8.tgz" - "version" "2.3.8" - -"through2@^2.0.0": - "integrity" "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==" - "resolved" "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz" - "version" "2.0.5" - dependencies: - "readable-stream" "~2.3.6" - "xtend" "~4.0.1" - -"through2@^4.0.0": - "integrity" "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==" - "resolved" "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz" - "version" "4.0.2" - dependencies: - "readable-stream" "3" - -"timers-ext@^0.1.7": - "integrity" "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==" - "resolved" "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz" - "version" "0.1.7" - dependencies: - "es5-ext" "~0.10.46" - "next-tick" "1" - -"tiny-inflate@^1.0.0": - "integrity" "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" - "resolved" "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz" - "version" "1.0.3" - -"tiny-invariant@^1.0.6": - "integrity" "sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==" - "resolved" "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz" - "version" "1.2.0" - -"tiny-secp256k1@^1.1.3": - "integrity" "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==" - "resolved" "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz" - "version" "1.1.6" - dependencies: - "bindings" "^1.3.0" - "bn.js" "^4.11.8" - "create-hmac" "^1.1.7" - "elliptic" "^6.4.0" - "nan" "^2.13.2" - -"tmp@^0.0.33": - "integrity" "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==" - "resolved" "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" - "version" "0.0.33" - dependencies: - "os-tmpdir" "~1.0.2" - -"tmpl@1.0.5": - "integrity" "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==" - "resolved" "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" - "version" "1.0.5" - -"to-fast-properties@^2.0.0": - "integrity" "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==" - "resolved" "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" - "version" "2.0.0" - -"to-regex-range@^5.0.1": - "integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==" - "resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" - "version" "5.0.1" - dependencies: - "is-number" "^7.0.0" - -"toggle-selection@^1.0.6": - "integrity" "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" - "resolved" "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz" - "version" "1.0.6" - -"tough-cookie@~2.5.0": - "integrity" "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==" - "resolved" "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz" - "version" "2.5.0" - dependencies: - "psl" "^1.1.28" - "punycode" "^2.1.1" - -"tr46@^2.1.0": - "integrity" "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==" - "resolved" "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "punycode" "^2.1.1" - -"tr46@~0.0.3": - "integrity" "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - "resolved" "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" - "version" "0.0.3" - -"trim-newlines@^3.0.0": - "integrity" "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" - "resolved" "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" - "version" "3.0.1" - -"ts-jest@^28.0.8": - "integrity" "sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==" - "resolved" "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz" - "version" "28.0.8" - dependencies: - "bs-logger" "0.x" - "fast-json-stable-stringify" "2.x" - "jest-util" "^28.0.0" - "json5" "^2.2.1" - "lodash.memoize" "4.x" - "make-error" "1.x" - "semver" "7.x" - "yargs-parser" "^21.0.1" - -"tsconfig-paths@^3.14.1": - "integrity" "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==" - "resolved" "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz" - "version" "3.14.1" + version "3.3.1" + resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +through2@^2.0.0: + version "2.0.5" + resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz" + integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== + dependencies: + readable-stream "~2.3.6" + xtend "~4.0.1" + +through2@^4.0.0: + version "4.0.2" + resolved "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz" + integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== + dependencies: + readable-stream "3" + +through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: + version "2.3.8" + resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + +tiny-inflate@^1.0.0: + version "1.0.3" + resolved "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz" + integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== + +tiny-invariant@^1.0.6: + version "1.2.0" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz" + integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tough-cookie@~2.5.0: + version "2.5.0" + resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz" + integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + +tr46@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz" + integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== + dependencies: + punycode "^2.1.1" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +trim-newlines@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" + integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== + +ts-jest@^28.0.8: + version "28.0.8" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.8.tgz" + integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== + dependencies: + bs-logger "0.x" + fast-json-stable-stringify "2.x" + jest-util "^28.0.0" + json5 "^2.2.1" + lodash.memoize "4.x" + make-error "1.x" + semver "7.x" + yargs-parser "^21.0.1" + +tsconfig-paths@^3.14.1: + version "3.14.1" + resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz" + integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== dependencies: "@types/json5" "^0.0.29" - "json5" "^1.0.1" - "minimist" "^1.2.6" - "strip-bom" "^3.0.0" - -"tslib@^1.8.1": - "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" - "version" "1.14.1" - -"tslib@^1.9.0": - "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" - "version" "1.14.1" - -"tslib@^2.0.0", "tslib@^2.0.3", "tslib@^2.1.0", "tslib@^2.3.1", "tslib@^2.4.0", "tslib@2.4.0": - "integrity" "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - "resolved" "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" - "version" "2.4.0" - -"tsutils@^3.21.0": - "integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==" - "resolved" "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" - "version" "3.21.0" - dependencies: - "tslib" "^1.8.1" - -"tunnel-agent@^0.6.0": - "integrity" "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==" - "resolved" "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz" - "version" "0.6.0" - dependencies: - "safe-buffer" "^5.0.1" - -"tweetnacl@^0.14.3", "tweetnacl@~0.14.0": - "integrity" "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==" - "resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" - "version" "0.14.5" - -"type-check@^0.4.0", "type-check@~0.4.0": - "integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==" - "resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" - "version" "0.4.0" - dependencies: - "prelude-ls" "^1.2.1" - -"type-detect@4.0.8": - "integrity" "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" - "resolved" "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" - "version" "4.0.8" - -"type-fest@^0.18.0": - "integrity" "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz" - "version" "0.18.1" - -"type-fest@^0.20.2": - "integrity" "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" - "version" "0.20.2" - -"type-fest@^0.21.3": - "integrity" "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" - "version" "0.21.3" - -"type-fest@^0.4.1": - "integrity" "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz" - "version" "0.4.1" - -"type-fest@^0.6.0": - "integrity" "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz" - "version" "0.6.0" - -"type-fest@^0.8.1": - "integrity" "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz" - "version" "0.8.1" - -"type-tagger@^1.0.0": - "integrity" "sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA==" - "resolved" "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz" - "version" "1.0.0" - -"type@^1.0.1": - "integrity" "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - "resolved" "https://registry.npmjs.org/type/-/type-1.2.0.tgz" - "version" "1.2.0" - -"type@^2.7.2": - "integrity" "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - "resolved" "https://registry.npmjs.org/type/-/type-2.7.2.tgz" - "version" "2.7.2" - -"typedarray-to-buffer@^3.1.5", "typedarray-to-buffer@3.1.5": - "integrity" "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==" - "resolved" "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" - "version" "3.1.5" - dependencies: - "is-typedarray" "^1.0.0" - -"typedarray@^0.0.6": - "integrity" "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" - "resolved" "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" - "version" "0.0.6" - -"typeforce@^1.11.5": - "integrity" "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==" - "resolved" "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz" - "version" "1.18.0" - -"typescript@^4.6.2", "typescript@>=4.3": - "integrity" "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==" - "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz" - "version" "4.8.3" - -"typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=3.3.1", "typescript@4.7.4": - "integrity" "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" - "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz" - "version" "4.7.4" - -"uglify-js@^3.1.4": - "integrity" "sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg==" - "resolved" "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz" - "version" "3.17.0" - -"uid-number@0.0.6": - "integrity" "sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w==" - "resolved" "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz" - "version" "0.0.6" - -"umask@^1.1.0": - "integrity" "sha512-lE/rxOhmiScJu9L6RTNVgB/zZbF+vGC0/p6D3xnkAePI2o0sMyFG966iR5Ki50OI/0mNi2yaRnxfLsPmEZF/JA==" - "resolved" "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz" - "version" "1.1.0" - -"unbox-primitive@^1.0.2": - "integrity" "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==" - "resolved" "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "call-bind" "^1.0.2" - "has-bigints" "^1.0.2" - "has-symbols" "^1.0.3" - "which-boxed-primitive" "^1.0.2" - -"unicode-canonical-property-names-ecmascript@^2.0.0": - "integrity" "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" - "resolved" "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" - "version" "2.0.0" - -"unicode-match-property-ecmascript@^1.0.4", "unicode-match-property-ecmascript@^2.0.0": - "integrity" "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==" - "resolved" "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "unicode-canonical-property-names-ecmascript" "^2.0.0" - "unicode-property-aliases-ecmascript" "^2.0.0" - -"unicode-match-property-value-ecmascript@^1.2.0": - "version" "1.2.0" - -"unicode-match-property-value-ecmascript@^2.0.0": - "integrity" "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==" - "resolved" "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz" - "version" "2.0.0" - -"unicode-property-aliases-ecmascript@^2.0.0": - "integrity" "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==" - "resolved" "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz" - "version" "2.1.0" - -"unicode-trie@^2.0.0": - "integrity" "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==" - "resolved" "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "pako" "^0.2.5" - "tiny-inflate" "^1.0.0" - -"unique-filename@^1.1.1": - "integrity" "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==" - "resolved" "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz" - "version" "1.1.1" - dependencies: - "unique-slug" "^2.0.0" - -"unique-slug@^2.0.0": - "integrity" "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==" - "resolved" "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz" - "version" "2.0.2" - dependencies: - "imurmurhash" "^0.1.4" - -"universal-user-agent@^6.0.0": - "integrity" "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" - "resolved" "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz" - "version" "6.0.0" - -"universalify@^2.0.0": - "integrity" "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - "resolved" "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" - "version" "2.0.0" - -"unorm@^1.5.0": - "integrity" "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" - "resolved" "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz" - "version" "1.6.0" - -"upath@^2.0.1": - "integrity" "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==" - "resolved" "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz" - "version" "2.0.1" - -"update-browserslist-db@^1.0.5": - "version" "1.0.5" - dependencies: - "escalade" "^3.1.1" - "picocolors" "^1.0.0" - -"update-browserslist-db@^1.0.9": - "integrity" "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==" - "resolved" "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" - "version" "1.0.9" - dependencies: - "escalade" "^3.1.1" - "picocolors" "^1.0.0" - -"uri-js@^4.2.2": - "integrity" "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==" - "resolved" "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" - "version" "4.4.1" - dependencies: - "punycode" "^2.1.0" - -"use-callback-ref@^1.3.0": - "integrity" "sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==" - "resolved" "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "tslib" "^2.0.0" - -"use-sidecar@^1.1.2": - "integrity" "sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==" - "resolved" "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz" - "version" "1.1.2" - dependencies: - "detect-node-es" "^1.1.0" - "tslib" "^2.0.0" - -"use-sync-external-store@1.2.0": - "integrity" "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==" - "resolved" "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" - "version" "1.2.0" + json5 "^1.0.1" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz" + integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" + integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-fest@^0.18.0: + version "0.18.1" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz" + integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +type-fest@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz" + integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== + +type-fest@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz" + integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== + +type-fest@^0.8.1: + version "0.8.1" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +type@^1.0.1: + version "1.2.0" + resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.7.2: + version "2.7.2" + resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + +typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +typescript@4.7.4: + version "4.7.4" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz" + integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== + +typescript@^4.6.2: + version "4.8.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz" + integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== + +uglify-js@^3.1.4: + version "3.17.0" + resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz" + integrity sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg== + +uid-number@0.0.6: + version "0.0.6" + resolved "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz" + integrity sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w== + +umask@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz" + integrity sha512-lE/rxOhmiScJu9L6RTNVgB/zZbF+vGC0/p6D3xnkAePI2o0sMyFG966iR5Ki50OI/0mNi2yaRnxfLsPmEZF/JA== + +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== + dependencies: + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz" + integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + +unicode-trie@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz" + integrity sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ== + dependencies: + pako "^0.2.5" + tiny-inflate "^1.0.0" + +unique-filename@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz" + integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== + dependencies: + unique-slug "^2.0.0" + +unique-slug@^2.0.0: + version "2.0.2" + resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz" + integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== + dependencies: + imurmurhash "^0.1.4" + +universal-user-agent@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz" + integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +upath@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz" + integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== + +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -"util-deprecate@^1.0.1", "util-deprecate@~1.0.1": - "integrity" "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" - "version" "1.0.2" - -"util-promisify@^2.1.0": - "integrity" "sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA==" - "resolved" "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz" - "version" "2.1.0" +util-promisify@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz" + integrity sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA== dependencies: - "object.getownpropertydescriptors" "^2.0.3" - -"util@^0.10.3": - "integrity" "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==" - "resolved" "https://registry.npmjs.org/util/-/util-0.10.4.tgz" - "version" "0.10.4" + object.getownpropertydescriptors "^2.0.3" + +util@^0.10.3: + version "0.10.4" + resolved "https://registry.npmjs.org/util/-/util-0.10.4.tgz" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== dependencies: - "inherits" "2.0.3" - -"utility-types@^3.10.0": - "integrity" "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" - "resolved" "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" - "version" "3.10.0" - -"uuid@^3.3.2": - "integrity" "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - "resolved" "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" - "version" "3.4.0" + inherits "2.0.3" + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +uuid@^3.3.2: + version "3.4.0" + resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" + integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -"v8-compile-cache@^2.0.3": - "integrity" "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" - "resolved" "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz" - "version" "2.3.0" +v8-compile-cache@^2.0.3: + version "2.3.0" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== -"v8-to-istanbul@^9.0.1": - "integrity" "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==" - "resolved" "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz" - "version" "9.0.1" +v8-to-istanbul@^9.0.1: + version "9.0.1" + resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz" + integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" - "convert-source-map" "^1.6.0" + convert-source-map "^1.6.0" -"v8flags@^3.1.1": - "integrity" "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==" - "resolved" "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz" - "version" "3.2.0" +v8flags@^3.1.1: + version "3.2.0" + resolved "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz" + integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg== dependencies: - "homedir-polyfill" "^1.0.1" + homedir-polyfill "^1.0.1" -"validate-npm-package-license@^3.0.1", "validate-npm-package-license@^3.0.4": - "integrity" "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==" - "resolved" "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz" - "version" "3.0.4" +validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: + version "3.0.4" + resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz" + integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== dependencies: - "spdx-correct" "^3.0.0" - "spdx-expression-parse" "^3.0.0" + spdx-correct "^3.0.0" + spdx-expression-parse "^3.0.0" -"validate-npm-package-name@^3.0.0": - "integrity" "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==" - "resolved" "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz" - "version" "3.0.0" +validate-npm-package-name@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz" + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== dependencies: - "builtins" "^1.0.3" + builtins "^1.0.3" -"verror@1.10.0": - "integrity" "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==" - "resolved" "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz" - "version" "1.10.0" +verror@1.10.0: + version "1.10.0" + resolved "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz" + integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== dependencies: - "assert-plus" "^1.0.0" - "core-util-is" "1.0.2" - "extsprintf" "^1.2.0" + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" -"walker@^1.0.8": - "integrity" "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==" - "resolved" "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" - "version" "1.0.8" +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== dependencies: - "makeerror" "1.0.12" + makeerror "1.0.12" -"wasm-ast-types@^0.11.1": - "integrity" "sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA==" - "resolved" "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" - "version" "0.11.3" +wasm-ast-types@^0.11.1: + version "0.11.3" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" + integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.10" "@jest/transform" "28.1.3" - "ast-stringify" "0.1.0" - "case" "1.6.3" - "deepmerge" "4.2.2" - -"wcwidth@^1.0.0": - "integrity" "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==" - "resolved" "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "defaults" "^1.0.3" - -"webidl-conversions@^3.0.0": - "integrity" "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" - "version" "3.0.1" - -"webidl-conversions@^6.1.0": - "integrity" "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==" - "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz" - "version" "6.1.0" - -"whatwg-url@^5.0.0": - "integrity" "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==" - "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "tr46" "~0.0.3" - "webidl-conversions" "^3.0.0" - -"whatwg-url@^8.4.0": - "integrity" "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==" - "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" - "version" "8.7.0" - dependencies: - "lodash" "^4.7.0" - "tr46" "^2.1.0" - "webidl-conversions" "^6.1.0" - -"which-boxed-primitive@^1.0.2": - "integrity" "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==" - "resolved" "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" - "version" "1.0.2" - dependencies: - "is-bigint" "^1.0.1" - "is-boolean-object" "^1.1.0" - "is-number-object" "^1.0.4" - "is-string" "^1.0.5" - "is-symbol" "^1.0.3" - -"which@^1.3.1": - "integrity" "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==" - "resolved" "https://registry.npmjs.org/which/-/which-1.3.1.tgz" - "version" "1.3.1" - dependencies: - "isexe" "^2.0.0" - -"which@^2.0.1", "which@^2.0.2": - "integrity" "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==" - "resolved" "https://registry.npmjs.org/which/-/which-2.0.2.tgz" - "version" "2.0.2" - dependencies: - "isexe" "^2.0.0" - -"wide-align@^1.1.0": - "integrity" "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==" - "resolved" "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" - "version" "1.1.5" - dependencies: - "string-width" "^1.0.2 || 2 || 3 || 4" - -"wif@^2.0.6": - "integrity" "sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ==" - "resolved" "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz" - "version" "2.0.6" - dependencies: - "bs58check" "<3.0.0" - -"word-wrap@^1.2.3": - "integrity" "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" - "resolved" "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" - "version" "1.2.3" - -"wordwrap@^1.0.0": - "integrity" "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" - "resolved" "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" - "version" "1.0.0" - -"wrap-ansi@^7.0.0": - "integrity" "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==" - "resolved" "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - "version" "7.0.0" - dependencies: - "ansi-styles" "^4.0.0" - "string-width" "^4.1.0" - "strip-ansi" "^6.0.0" - -"wrappy@1": - "integrity" "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - "resolved" "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" - "version" "1.0.2" - -"write-file-atomic@^2.4.2": - "integrity" "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==" - "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz" - "version" "2.4.3" - dependencies: - "graceful-fs" "^4.1.11" - "imurmurhash" "^0.1.4" - "signal-exit" "^3.0.2" - -"write-file-atomic@^3.0.0", "write-file-atomic@^3.0.3": - "integrity" "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==" - "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" - "version" "3.0.3" - dependencies: - "imurmurhash" "^0.1.4" - "is-typedarray" "^1.0.0" - "signal-exit" "^3.0.2" - "typedarray-to-buffer" "^3.1.5" - -"write-file-atomic@^4.0.1": - "integrity" "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==" - "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" - "version" "4.0.2" - dependencies: - "imurmurhash" "^0.1.4" - "signal-exit" "^3.0.7" - -"write-json-file@^3.2.0": - "integrity" "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==" - "resolved" "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz" - "version" "3.2.0" - dependencies: - "detect-indent" "^5.0.0" - "graceful-fs" "^4.1.15" - "make-dir" "^2.1.0" - "pify" "^4.0.1" - "sort-keys" "^2.0.0" - "write-file-atomic" "^2.4.2" - -"write-json-file@^4.3.0": - "integrity" "sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ==" - "resolved" "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz" - "version" "4.3.0" - dependencies: - "detect-indent" "^6.0.0" - "graceful-fs" "^4.1.15" - "is-plain-obj" "^2.0.0" - "make-dir" "^3.0.0" - "sort-keys" "^4.0.0" - "write-file-atomic" "^3.0.0" - -"write-pkg@^4.0.0": - "integrity" "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==" - "resolved" "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz" - "version" "4.0.0" - dependencies: - "sort-keys" "^2.0.0" - "type-fest" "^0.4.1" - "write-json-file" "^3.2.0" - -"ws@*", "ws@^7": - "integrity" "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==" - "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz" - "version" "7.5.9" - -"ws@7.5.3": - "integrity" "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==" - "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz" - "version" "7.5.3" - -"xstream@^11.14.0": - "integrity" "sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw==" - "resolved" "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz" - "version" "11.14.0" - dependencies: - "globalthis" "^1.0.1" - "symbol-observable" "^2.0.3" - -"xtend@~4.0.1": - "integrity" "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" - "resolved" "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" - "version" "4.0.2" - -"y18n@^5.0.5": - "integrity" "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - "resolved" "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" - "version" "5.0.8" - -"yallist@^3.0.0", "yallist@^3.1.1": - "integrity" "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - "resolved" "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" - "version" "3.1.1" - -"yallist@^4.0.0": - "integrity" "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - "resolved" "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" - "version" "4.0.0" - -"yaml@^1.10.0", "yaml@^1.7.2": - "integrity" "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - "resolved" "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" - "version" "1.10.2" - -"yargs-parser@^20.2.2", "yargs-parser@^20.2.3": - "integrity" "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" - "version" "20.2.9" - -"yargs-parser@^21.0.0": - "integrity" "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" - "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" - "version" "21.1.1" - -"yargs-parser@^21.0.1": - "integrity" "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" - "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" - "version" "21.1.1" - -"yargs-parser@20.2.4": - "integrity" "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" - "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" - "version" "20.2.4" - -"yargs@^16.2.0": - "integrity" "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==" - "resolved" "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" - "version" "16.2.0" - dependencies: - "cliui" "^7.0.2" - "escalade" "^3.1.1" - "get-caller-file" "^2.0.5" - "require-directory" "^2.1.1" - "string-width" "^4.2.0" - "y18n" "^5.0.5" - "yargs-parser" "^20.2.2" - -"yargs@^17.3.1": - "integrity" "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==" - "resolved" "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz" - "version" "17.5.1" - dependencies: - "cliui" "^7.0.2" - "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.0.0" - -"yocto-queue@^0.1.0": - "integrity" "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" - "resolved" "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" - "version" "0.1.0" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + +wcwidth@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz" + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== + dependencies: + defaults "^1.0.3" + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +webidl-conversions@^6.1.0: + version "6.1.0" + resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz" + integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +whatwg-url@^8.4.0: + version "8.7.0" + resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" + integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== + dependencies: + lodash "^4.7.0" + tr46 "^2.1.0" + webidl-conversions "^6.1.0" + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which@^1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1, which@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.0: + version "1.1.5" + resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +word-wrap@^1.2.3: + version "1.2.3" + resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wordwrap@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" + integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^2.4.2: + version "2.4.3" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz" + integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== + dependencies: + graceful-fs "^4.1.11" + imurmurhash "^0.1.4" + signal-exit "^3.0.2" + +write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +write-json-file@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz" + integrity sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ== + dependencies: + detect-indent "^5.0.0" + graceful-fs "^4.1.15" + make-dir "^2.1.0" + pify "^4.0.1" + sort-keys "^2.0.0" + write-file-atomic "^2.4.2" + +write-json-file@^4.3.0: + version "4.3.0" + resolved "https://registry.npmjs.org/write-json-file/-/write-json-file-4.3.0.tgz" + integrity sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ== + dependencies: + detect-indent "^6.0.0" + graceful-fs "^4.1.15" + is-plain-obj "^2.0.0" + make-dir "^3.0.0" + sort-keys "^4.0.0" + write-file-atomic "^3.0.0" + +write-pkg@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz" + integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== + dependencies: + sort-keys "^2.0.0" + type-fest "^0.4.1" + write-json-file "^3.2.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +xtend@~4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^3.0.0, yallist@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0, yaml@^1.7.2: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yargs-parser@20.2.4: + version "20.2.4" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + +yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.9" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs-parser@^21.0.0, yargs-parser@^21.0.1: + version "21.1.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + +yargs@^17.3.1: + version "17.5.1" + resolved "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz" + integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA== + dependencies: + cliui "^7.0.2" + 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.0.0" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== From 2b58b907869888dfd022b844c471f5781aba4e98 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 20:04:43 -0500 Subject: [PATCH 086/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0 - @cosmonauts/connect-chain-with-telescope@0.4.0 - @cosmonauts/connect-chain@0.5.0 - @cosmonauts/connect-multi-chain@0.5.0 --- examples/telescope-with-contracts/CHANGELOG.md | 8 ++++++++ examples/telescope-with-contracts/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 8 files changed, 36 insertions(+), 4 deletions(-) diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/telescope-with-contracts/CHANGELOG.md index fb556e495..40d7c7508 100644 --- a/examples/telescope-with-contracts/CHANGELOG.md +++ b/examples/telescope-with-contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.2.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index b840ef9ad..2b7882032 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.3.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index df546999d..f39bb8df7 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.3.0...@cosmonauts/connect-chain-with-telescope@0.4.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.2.0...@cosmonauts/connect-chain-with-telescope@0.3.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index ff654c7a6..06f069206 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.3.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 1cb3bec74..4e16b94e1 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 156c6c611..3f761b5c4 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.4.0", + "version": "0.5.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index fb3c908fc..7e700cdcc 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.4.0...@cosmonauts/connect-multi-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.3.0...@cosmonauts/connect-multi-chain@0.4.0) (2022-09-22) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index b86b7343a..e1ea5428b 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.4.0", + "version": "0.5.0", "private": true, "scripts": { "dev": "next dev", From a1b854c3cfc3ac4365dc03f036a8204961bc9d38 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 22 Sep 2022 20:08:43 -0500 Subject: [PATCH 087/262] index --- templates/connect-chain/pages/index.tsx | 101 ++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 templates/connect-chain/pages/index.tsx diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx new file mode 100644 index 000000000..809379b04 --- /dev/null +++ b/templates/connect-chain/pages/index.tsx @@ -0,0 +1,101 @@ +import Head from 'next/head'; +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { Product, Dependency, WalletSection } from '../components'; +import { dependencies, products } from '../config'; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + const chainName = 'cosmoshub'; + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + + + ); +} From 86510810a016abeb280c40ea70ef20bdf4ec76b8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 09:54:10 -0500 Subject: [PATCH 088/262] readme --- README.md | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 2dbe183bc..418dfdd67 100644 --- a/README.md +++ b/README.md @@ -9,55 +9,61 @@

-Set up a modern Cosmos app by running one command +Set up a modern Cosmos app by running one command ⚛️ ## Overview ``` -npx create-cosmos-app my-app +# install +npm install -g create-cosmos-app + +# run one command +create-cosmos-app + +> name: my-app cd my-app yarn && yarn dev -``` - -Or you can install in globally -``` -npm install -g create-cosmos-app +# now your app is running on localhost:3000! ``` ### Get Started Immediately -You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel.
+You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel. + They are preconfigured so that you can focus on the code. Create a project, and you’re good to go. ## Creating an App To create a new app, you may choose one of the following methods: -### npx + +### global install ```sh -npx create-cosmos-app my-app +npm install -g create-cosmos-app +create-cosmos-app ``` -_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_ +we also made an alias `cca` if you don't want to type `create-cosmos-app`: +```sh +cca +``` + +### npx + +```sh +npx create-cosmos-app my-app +``` ### npm ```sh npm init cosmos-app my-app ``` - -_`npm init ` is available in npm 6+_ - ### Yarn ```sh yarn create cosmos-app my-app ``` - -_[`yarn create `](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_ - -It will create a directory called `my-app` inside the current folder.
- ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From 8df917dd74662861b2c3ce8134fdf4db2e603915 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 09:54:15 -0500 Subject: [PATCH 089/262] chore(release): publish - @cosmonauts/connect-chain@0.5.1 --- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 4e16b94e1..22098bbe5 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 3f761b5c4..0eac1f922 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.5.0", + "version": "0.5.1", "private": true, "scripts": { "dev": "next dev", From e9186dbc0f8711e975ad593f578b57704c2fcffe Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 09:54:48 -0500 Subject: [PATCH 090/262] readme --- packages/create-cosmos-app/README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 1221fd0bb..418dfdd67 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -9,38 +9,41 @@

-Set up a modern Cosmos app by running one command +Set up a modern Cosmos app by running one command ⚛️ ## Overview ``` -npx create-cosmos-app my-app +# install +npm install -g create-cosmos-app + +# run one command +create-cosmos-app + +> name: my-app cd my-app yarn && yarn dev -``` - -Or you can install in globally -``` -npm install -g create-cosmos-app +# now your app is running on localhost:3000! ``` ### Get Started Immediately -You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel.
+You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel. + They are preconfigured so that you can focus on the code. Create a project, and you’re good to go. ## Creating an App To create a new app, you may choose one of the following methods: -### npm global (preferred method) -if you installed it globally, you can do one of two methods: +### global install ```sh +npm install -g create-cosmos-app create-cosmos-app ``` -or, which we prefer, we made an alias to `cca` which is much easier to type: +we also made an alias `cca` if you don't want to type `create-cosmos-app`: ```sh cca @@ -61,9 +64,6 @@ npm init cosmos-app my-app ```sh yarn create cosmos-app my-app ``` - -It will create a directory called `my-app` inside the current folder. - ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From c4a79b2dfbf7acb4c3fa98137e8d542dde593ada Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 09:54:52 -0500 Subject: [PATCH 091/262] chore(release): publish - create-cosmos-app@0.4.1 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 031cdecb7..4121747c3 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.0...create-cosmos-app@0.4.1) (2022-09-23) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.3.2...create-cosmos-app@0.4.0) (2022-09-22) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 8e04092a0..f02b3d2cc 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.0", + "version": "0.4.1", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 37601fdb1785d7962e1bba5befd4332935aaa6d4 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 16:13:38 -0500 Subject: [PATCH 092/262] readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 418dfdd67..1ae72fd0b 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ yarn && yarn dev # now your app is running on localhost:3000! ``` + +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! ### Get Started Immediately You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel. From d93e017d5b48ba08fe973571d98c717fef220f4f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 16:16:35 -0500 Subject: [PATCH 093/262] readme --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ae72fd0b..567c14542 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,11 @@ To create a new app, you may choose one of the following methods: ```sh npm install -g create-cosmos-app +``` + +Then run the command: + +```sh create-cosmos-app ``` @@ -54,17 +59,17 @@ cca ### npx ```sh -npx create-cosmos-app my-app +npx create-cosmos-app ``` ### npm ```sh -npm init cosmos-app my-app +npm init cosmos-app ``` ### Yarn ```sh -yarn create cosmos-app my-app +yarn create cosmos-app ``` ## Credits From 284ce4303dd8aeabbc0c4b5b15f269c02c187a00 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 16:57:26 -0500 Subject: [PATCH 094/262] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 567c14542..2a6900d8e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@

Set up a modern Cosmos app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + ## Overview ``` From fa146aef9aec593d8b8210bfa07c3727be9eff7a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 17:01:46 -0500 Subject: [PATCH 095/262] main --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2a6900d8e..3cc189364 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,15 @@ yarn && yarn dev # now your app is running on localhost:3000! ``` -🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! ### Get Started Immediately -You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel. +You **don’t** need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! -They are preconfigured so that you can focus on the code. +## Education & Resources -Create a project, and you’re good to go. +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! ## Creating an App To create a new app, you may choose one of the following methods: From c13b919d2160248df836424342cca661df335668 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 17:05:35 -0500 Subject: [PATCH 096/262] readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3cc189364..9cd7162c0 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ You **don’t** need to install or configure cosmjs, keplr, nextjs, webpack or B Everything is preconfigured, ready-to-go, so you can focus on your code! +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with cosmjs stargate + cosmwasm signers +* 🛠 Render pages with next.js hybrid static & server rendering +* 🎨 Build awesome UI with Cosmos Kit and Chakra UI ## Education & Resources 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! From 6d711ac06d44493e9d16de306d93b5c084e918c9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 23 Sep 2022 17:52:00 -0500 Subject: [PATCH 097/262] readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9cd7162c0..fd8fb24e0 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,9 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! ## Education & Resources 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. + ## Creating an App To create a new app, you may choose one of the following methods: From a52c41f9c0fabe01a9a87eb17b44c4121090330b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 12:31:10 -0500 Subject: [PATCH 098/262] readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fd8fb24e0..e4d91cb58 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,15 @@ yarn && yarn dev ### Get Started Immediately -You **don’t** need to install or configure cosmjs, keplr, nextjs, webpack or Babel. +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. Everything is preconfigured, ready-to-go, so you can focus on your code! * ⚡️ Connect easily to keplr + keplr mobile via wallet connect -* ⚛️ Sign and broadcast with cosmjs stargate + cosmwasm signers -* 🛠 Render pages with next.js hybrid static & server rendering -* 🎨 Build awesome UI with Cosmos Kit and Chakra UI +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains ## Education & Resources 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! From 8b4215c54d9f91d3eef7e9b20af5decba7602fc2 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 12:31:35 -0500 Subject: [PATCH 099/262] readme --- packages/create-cosmos-app/README.md | 33 +++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 418dfdd67..e4d91cb58 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -10,6 +10,11 @@

Set up a modern Cosmos app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + ## Overview ``` @@ -25,13 +30,24 @@ yarn && yarn dev # now your app is running on localhost:3000! ``` + ### Get Started Immediately -You **don’t** need to install or configure tools like cosmjs, keplr, nextjs, webpack or Babel. +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! + +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains +## Education & Resources -They are preconfigured so that you can focus on the code. +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. -Create a project, and you’re good to go. ## Creating an App To create a new app, you may choose one of the following methods: @@ -40,6 +56,11 @@ To create a new app, you may choose one of the following methods: ```sh npm install -g create-cosmos-app +``` + +Then run the command: + +```sh create-cosmos-app ``` @@ -52,17 +73,17 @@ cca ### npx ```sh -npx create-cosmos-app my-app +npx create-cosmos-app ``` ### npm ```sh -npm init cosmos-app my-app +npm init cosmos-app ``` ### Yarn ```sh -yarn create cosmos-app my-app +yarn create cosmos-app ``` ## Credits From dd2cbe9fee941b043e3117579e91d48b0d61fdeb Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 12:31:46 -0500 Subject: [PATCH 100/262] chore(release): publish - create-cosmos-app@0.4.2 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 4121747c3..b9e551ed6 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.1...create-cosmos-app@0.4.2) (2022-09-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.0...create-cosmos-app@0.4.1) (2022-09-23) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index f02b3d2cc..df30acb11 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.1", + "version": "0.4.2", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 07bc38451104de5a4c60cd429acf69de98a9e6a8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 13:10:02 -0500 Subject: [PATCH 101/262] readme --- examples/telescope-with-contracts/README.md | 6 ++---- examples/telescope/README.md | 6 ++---- templates/connect-chain/README.md | 6 ++---- templates/connect-multi-chain/README.md | 6 ++---- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/examples/telescope-with-contracts/README.md b/examples/telescope-with-contracts/README.md index c27bf699a..340852813 100644 --- a/examples/telescope-with-contracts/README.md +++ b/examples/telescope-with-contracts/README.md @@ -2,12 +2,10 @@ This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://git ## Getting Started -First, run the development server: +First, install the packages and run the development server: ```bash -npm run dev -# or -yarn dev +yarn && yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/examples/telescope/README.md b/examples/telescope/README.md index c27bf699a..340852813 100644 --- a/examples/telescope/README.md +++ b/examples/telescope/README.md @@ -2,12 +2,10 @@ This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://git ## Getting Started -First, run the development server: +First, install the packages and run the development server: ```bash -npm run dev -# or -yarn dev +yarn && yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/templates/connect-chain/README.md b/templates/connect-chain/README.md index c27bf699a..340852813 100644 --- a/templates/connect-chain/README.md +++ b/templates/connect-chain/README.md @@ -2,12 +2,10 @@ This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://git ## Getting Started -First, run the development server: +First, install the packages and run the development server: ```bash -npm run dev -# or -yarn dev +yarn && yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. diff --git a/templates/connect-multi-chain/README.md b/templates/connect-multi-chain/README.md index c27bf699a..340852813 100644 --- a/templates/connect-multi-chain/README.md +++ b/templates/connect-multi-chain/README.md @@ -2,12 +2,10 @@ This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://git ## Getting Started -First, run the development server: +First, install the packages and run the development server: ```bash -npm run dev -# or -yarn dev +yarn && yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. From fd20d12f1df2b16beda48aaf9a7f1deab0d91996 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 14:51:32 -0500 Subject: [PATCH 102/262] send tokens example --- examples/send-tokens/.eslintrc.json | 3 + examples/send-tokens/.gitignore | 36 +++ examples/send-tokens/CHANGELOG.md | 120 +++++++ examples/send-tokens/README.md | 76 +++++ examples/send-tokens/components/features.tsx | 79 +++++ examples/send-tokens/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 +++++ .../components/react/astronaut.tsx | 304 ++++++++++++++++++ .../components/react/chain-card.tsx | 38 +++ .../send-tokens/components/react/index.ts | 6 + .../components/react/user-card.tsx | 33 ++ .../components/react/wallet-connect.tsx | 183 +++++++++++ .../components/react/warn-block.tsx | 90 ++++++ examples/send-tokens/components/types.tsx | 44 +++ examples/send-tokens/components/wallet.tsx | 117 +++++++ examples/send-tokens/config/chain-infos.ts | 17 + examples/send-tokens/config/features.ts | 47 +++ examples/send-tokens/config/index.ts | 2 + examples/send-tokens/config/theme.ts | 34 ++ examples/send-tokens/next.config.js | 7 + examples/send-tokens/package.json | 38 +++ examples/send-tokens/pages/_app.tsx | 33 ++ examples/send-tokens/pages/index.tsx | 133 ++++++++ examples/send-tokens/public/favicon.ico | Bin 0 -> 14037 bytes examples/send-tokens/styles/Home.module.css | 25 ++ examples/send-tokens/styles/globals.css | 26 ++ examples/send-tokens/tsconfig.json | 30 ++ yarn.lock | 114 ++++++- 28 files changed, 1706 insertions(+), 11 deletions(-) create mode 100644 examples/send-tokens/.eslintrc.json create mode 100644 examples/send-tokens/.gitignore create mode 100644 examples/send-tokens/CHANGELOG.md create mode 100644 examples/send-tokens/README.md create mode 100644 examples/send-tokens/components/features.tsx create mode 100644 examples/send-tokens/components/index.tsx create mode 100644 examples/send-tokens/components/react/address-card.tsx create mode 100644 examples/send-tokens/components/react/astronaut.tsx create mode 100644 examples/send-tokens/components/react/chain-card.tsx create mode 100644 examples/send-tokens/components/react/index.ts create mode 100644 examples/send-tokens/components/react/user-card.tsx create mode 100644 examples/send-tokens/components/react/wallet-connect.tsx create mode 100644 examples/send-tokens/components/react/warn-block.tsx create mode 100644 examples/send-tokens/components/types.tsx create mode 100644 examples/send-tokens/components/wallet.tsx create mode 100644 examples/send-tokens/config/chain-infos.ts create mode 100644 examples/send-tokens/config/features.ts create mode 100644 examples/send-tokens/config/index.ts create mode 100644 examples/send-tokens/config/theme.ts create mode 100644 examples/send-tokens/next.config.js create mode 100644 examples/send-tokens/package.json create mode 100644 examples/send-tokens/pages/_app.tsx create mode 100644 examples/send-tokens/pages/index.tsx create mode 100644 examples/send-tokens/public/favicon.ico create mode 100644 examples/send-tokens/styles/Home.module.css create mode 100644 examples/send-tokens/styles/globals.css create mode 100644 examples/send-tokens/tsconfig.json diff --git a/examples/send-tokens/.eslintrc.json b/examples/send-tokens/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/send-tokens/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/send-tokens/.gitignore b/examples/send-tokens/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/send-tokens/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md new file mode 100644 index 000000000..22098bbe5 --- /dev/null +++ b/examples/send-tokens/CHANGELOG.md @@ -0,0 +1,120 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/send-tokens/README.md b/examples/send-tokens/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/send-tokens/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/send-tokens/components/features.tsx b/examples/send-tokens/components/features.tsx new file mode 100644 index 000000000..19a4a1648 --- /dev/null +++ b/examples/send-tokens/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from "@chakra-ui/icons"; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/send-tokens/components/index.tsx b/examples/send-tokens/components/index.tsx new file mode 100644 index 000000000..3e7078f7c --- /dev/null +++ b/examples/send-tokens/components/index.tsx @@ -0,0 +1,4 @@ +export * from "./types"; +export * from "./react"; +export * from "./features"; +export * from "./wallet"; \ No newline at end of file diff --git a/examples/send-tokens/components/react/address-card.tsx b/examples/send-tokens/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/examples/send-tokens/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/send-tokens/components/react/astronaut.tsx b/examples/send-tokens/components/react/astronaut.tsx new file mode 100644 index 000000000..382d8cc6e --- /dev/null +++ b/examples/send-tokens/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/send-tokens/components/react/chain-card.tsx b/examples/send-tokens/components/react/chain-card.tsx new file mode 100644 index 000000000..9e79554f0 --- /dev/null +++ b/examples/send-tokens/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from "@chakra-ui/react" +import { ChainCardProps } from "../types" + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/examples/send-tokens/components/react/index.ts b/examples/send-tokens/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/examples/send-tokens/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/examples/send-tokens/components/react/user-card.tsx b/examples/send-tokens/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/examples/send-tokens/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/send-tokens/components/react/wallet-connect.tsx b/examples/send-tokens/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/examples/send-tokens/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/send-tokens/components/react/warn-block.tsx b/examples/send-tokens/components/react/warn-block.tsx new file mode 100644 index 000000000..ce056e879 --- /dev/null +++ b/examples/send-tokens/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const WarnBlock = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error, +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/send-tokens/components/types.tsx b/examples/send-tokens/components/types.tsx new file mode 100644 index 000000000..866512e75 --- /dev/null +++ b/examples/send-tokens/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from "react"; +import { IconType } from "react-icons"; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = "NotInit", + Loading = "Loading", + Loaded = "Loaded", + NotExist = "NotExist", + Rejected = "Rejected", +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx new file mode 100644 index 000000000..3a0dd2318 --- /dev/null +++ b/examples/send-tokens/components/wallet.tsx @@ -0,0 +1,117 @@ +import { useWallet } from "@cosmos-kit/react"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; +import { MouseEventHandler, useEffect } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/config"; +import { ChainName } from "@cosmos-kit/core"; +import { chainInfos } from "../config/chain-infos"; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { connect, disconnect, openView, setCurrentChain, + walletStatus, username, address, message, + currentChainName, currentWalletName } = walletManager; + + const chain = chainInfos.find(c => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + } + connecting={} + connected={} + rejected={} + error={} + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +} \ No newline at end of file diff --git a/examples/send-tokens/config/chain-infos.ts b/examples/send-tokens/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/send-tokens/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/send-tokens/config/features.ts b/examples/send-tokens/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/send-tokens/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/send-tokens/config/index.ts b/examples/send-tokens/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/send-tokens/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/send-tokens/config/theme.ts b/examples/send-tokens/config/theme.ts new file mode 100644 index 000000000..12bb0f21c --- /dev/null +++ b/examples/send-tokens/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from "@chakra-ui/react"; + +export const defaultThemeObject = { + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", + }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/send-tokens/next.config.js b/examples/send-tokens/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/send-tokens/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json new file mode 100644 index 000000000..0a482e7ae --- /dev/null +++ b/examples/send-tokens/package.json @@ -0,0 +1,38 @@ +{ + "name": "@cosmonauts/send-tokens", + "version": "0.5.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.16.0", + "@cosmos-kit/core": "0.16.0", + "@cosmos-kit/react": "0.16.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "0.14.0", + "framer-motion": "7.3.6", + "interchain": "0.5.0", + "next": "12.2.5", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0" + }, + "devDependencies": { + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx new file mode 100644 index 000000000..b63971572 --- /dev/null +++ b/examples/send-tokens/pages/_app.tsx @@ -0,0 +1,33 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'interchain'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + } + }; + + return ( + + + + + + ); +} + +export default MyApp; diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx new file mode 100644 index 000000000..5f2c97ad2 --- /dev/null +++ b/examples/send-tokens/pages/index.tsx @@ -0,0 +1,133 @@ +import { Container, Button } from '@chakra-ui/react'; +import { WalletSection } from '../components'; +import { useWallet } from '@cosmos-kit/react'; +import { useEffect, useState } from 'react'; + +import { cosmos } from 'interchain'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import { WalletStatus } from '@cosmos-kit/core'; +import BigNumber from 'bignumber.js'; + +const chainName = 'cosmoshub'; +const hubAssets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const atom: Asset = hubAssets.assets.find( + (asset) => asset.base === 'uatom' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: 'uatom', + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: 'uatom', + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + +export default function Home() { + const { getStargateClient, address, setCurrentChain, walletStatus } = + useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint: 'https://rest.cosmos.directory/cosmoshub' + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: hubAssets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = atom.denom_units.find((unit) => unit.denom === atom.display) + ?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; + + return ( + + + + {walletStatus === WalletStatus.Disconnected && ( + <>please connect your wallet! + )} + + {walletStatus === WalletStatus.Connected && ( + <> + Balance: {balance.toNumber()} + + + + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} +
+ ); +} diff --git a/examples/send-tokens/public/favicon.ico b/examples/send-tokens/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/send-tokens/styles/Home.module.css b/examples/send-tokens/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/send-tokens/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/send-tokens/styles/globals.css b/examples/send-tokens/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/send-tokens/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/send-tokens/tsconfig.json b/examples/send-tokens/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/send-tokens/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index a68847341..0bf9068dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2568,7 +2568,7 @@ "@cosmjs/math" "0.28.13" "@cosmjs/utils" "0.28.13" -"@cosmjs/amino@^0.29.0": +"@cosmjs/amino@0.29.0", "@cosmjs/amino@^0.29.0": version "0.29.0" resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== @@ -2744,16 +2744,7 @@ cosmjs-types "^0.4.0" long "^4.0.0" -"@cosmjs/proto-signing@^0.24.0-alpha.25": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" - integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== - dependencies: - "@cosmjs/launchpad" "^0.24.1" - long "^4.0.0" - protobufjs "~6.10.2" - -"@cosmjs/proto-signing@^0.29.0": +"@cosmjs/proto-signing@0.29.0", "@cosmjs/proto-signing@^0.29.0": version "0.29.0" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== @@ -2766,6 +2757,15 @@ cosmjs-types "^0.5.0" long "^4.0.0" +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + "@cosmjs/socket@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" @@ -4638,6 +4638,19 @@ dependencies: "@octokit/openapi-types" "^12.11.0" +"@osmonauts/ast@^0.25.0": + version "0.25.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.25.0.tgz#d004f10983b4c2756f528f36be516bb226418f0d" + integrity sha512-7mTE2zN6hGb6pEezypTM6nMRdTNFIxhyw3Bcie4S+Lq3UW6PbZ+y5a3Bll5c8p/NKJCGi6FSthfldvc2qvIJMw== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.13" + "@osmonauts/proto-parser" "^0.18.0" + "@osmonauts/types" "^0.14.0" + "@osmonauts/utils" "^0.4.0" + case "1.6.3" + dotty "0.1.2" + "@osmonauts/ast@^0.26.0": version "0.26.0" resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz" @@ -4673,6 +4686,18 @@ "@babel/runtime" "^7.18.9" axios "0.27.2" +"@osmonauts/proto-parser@^0.18.0": + version "0.18.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.18.0.tgz#404230b0809d441f37b793e9935ed0640efd6883" + integrity sha512-zkjB61xB64FpCiqftLMGQlRuwM50onILuWWT0SDYoqt3HVByMIGYelFfq/8/1w5ZGQAMOh6m2qr8Hsec9+apaQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@osmonauts/types" "^0.14.0" + "@pyramation/protobufjs" "6.11.4" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + "@osmonauts/proto-parser@^0.19.0": version "0.19.0" resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz" @@ -4723,6 +4748,53 @@ rimraf "3.0.2" shelljs "0.8.5" +"@osmonauts/telescope@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.29.0.tgz#52648922ad19414495fde879c1b8bcb46b009eca" + integrity sha512-zLb7/LkxPjFGurq7El2dmidGbyCFmkqxQQz/+aDKTtvMRjzKDijEtNiiFIfuZz+Avj5338zfuoPX2SDqin0v+w== + dependencies: + "@babel/core" "7.18.13" + "@babel/generator" "7.18.13" + "@babel/parser" "^7.18.13" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.17.12" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.13" + "@babel/types" "7.18.13" + "@cosmwasm/ts-codegen" "0.16.1" + "@osmonauts/ast" "^0.25.0" + "@osmonauts/proto-parser" "^0.18.0" + "@osmonauts/types" "^0.14.0" + "@osmonauts/utils" "^0.4.0" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + +"@osmonauts/types@^0.14.0": + version "0.14.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.14.0.tgz#546d2c826ede077107a9ae292537f39f0b6a3bc8" + integrity sha512-JlNaoOEVWRYf9bLLnOm4IIermE/ix+ECmoAaDsGkhrNSlTNEGPgRpYzbDJC/xeurU8/TsxFo79dyoFVLRTwA3w== + dependencies: + "@babel/runtime" "^7.18.9" + "@osmonauts/utils" "^0.4.0" + case "1.6.3" + "@osmonauts/types@^0.15.0": version "0.15.0" resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz" @@ -5899,6 +5971,11 @@ big-integer@^1.6.48: resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" @@ -8265,6 +8342,21 @@ inquirerer@0.1.3: inquirer "^6.0.0" inquirer-autocomplete-prompt "^0.11.1" +interchain@0.5.0: + version "0.5.0" + resolved "https://registry.npmjs.org/interchain/-/interchain-0.5.0.tgz#9c00d33f901f17fdab116a7f20bbf1f4a2c53cda" + integrity sha512-wML0VYhZbtAQcMxozK29hFuk/4uycc/EZinJjk50hWzGNYT39hQWxzRzdQhiTj1Frgdag7DY2AG/0h6lV70ySg== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "^0.6.0" + "@osmonauts/telescope" "^0.29.0" + protobufjs "^6.11.2" + internal-slot@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz" From b12c90dcab5bffa2d54bf32df45a77dc3dd69cc8 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 18:10:24 -0500 Subject: [PATCH 103/262] updates --- examples/send-tokens/package.json | 6 +-- examples/send-tokens/pages/index.tsx | 18 +++++++-- .../telescope-with-contracts/package.json | 2 +- examples/telescope/package.json | 2 +- templates/connect-chain/package.json | 6 +-- templates/connect-multi-chain/package.json | 6 +-- yarn.lock | 40 +++++++++---------- 7 files changed, 46 insertions(+), 34 deletions(-) diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 0a482e7ae..1c9c0f436 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.0", - "@cosmos-kit/core": "0.16.0", - "@cosmos-kit/react": "0.16.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.2", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index 5f2c97ad2..5d6f9e4f0 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -59,8 +59,13 @@ const sendTokens = ( }; export default function Home() { - const { getStargateClient, address, setCurrentChain, walletStatus } = - useWallet(); + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); useEffect(() => { setCurrentChain(chainName); @@ -74,9 +79,16 @@ export default function Home() { return; } + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = 'https://rest.cosmos.directory/cosmoshub'; + } + // get LCD client const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint: 'https://rest.cosmos.directory/cosmoshub' + restEndpoint }); // fetch balance diff --git a/examples/telescope-with-contracts/package.json b/examples/telescope-with-contracts/package.json index 2b7882032..144548237 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/telescope-with-contracts/package.json @@ -14,7 +14,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.0", + "@cosmos-kit/react": "^0.16.2", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 06f069206..597c82814 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -14,7 +14,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.0", + "@cosmos-kit/react": "^0.16.2", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 0eac1f922..a67129020 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.0", - "@cosmos-kit/core": "0.16.0", - "@cosmos-kit/react": "0.16.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.2", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e1ea5428b..4eb6f63ea 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.0", - "@cosmos-kit/core": "0.16.0", - "@cosmos-kit/react": "0.16.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.2", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/yarn.lock b/yarn.lock index 0bf9068dd..143aee7b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2893,34 +2893,34 @@ resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== -"@cosmos-kit/config@0.16.0", "@cosmos-kit/config@^0.16.0": - version "0.16.0" - resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.0.tgz#8ceee132a3089ccccfeadf0d28c9211023399e21" - integrity sha512-cKiE9dA2MxrZMN/200cko+gszSUcXo8Tz3HnhfnjMC2IgStFJegjDXy2vqHkC7Wa5+voLTqw+8OMKqyfYhK5ZQ== +"@cosmos-kit/config@0.16.2", "@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" - "@cosmos-kit/core" "^0.16.0" - "@cosmos-kit/keplr" "^0.16.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.16.0", "@cosmos-kit/core@^0.16.0": - version "0.16.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.0.tgz#165fc82158c3d9294db0f1d9646cc88a806e456c" - integrity sha512-YhrhradEgvfTQmMWPFBDheGO6FcDqktpyO6Y/I9VbRoQwtWXfNWgl/9nsFG2FqkvBOJzU+tHznkNW6go2AHq4Q== +"@cosmos-kit/core@0.16.2", "@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@^0.16.0": - version "0.16.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.0.tgz#ed940cb8b4a2014990b410244f75d032aa33f297" - integrity sha512-8uoMOfNrvMMRSpr3TgygwPElMvZT5aM0H+aSCdbaQzElU9G8jYWHZZ0gDiUCXRox9/uxFG3NjXEe28na7np5Gg== +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.16.0" + "@cosmos-kit/core" "^0.16.2" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2932,15 +2932,15 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.16.0", "@cosmos-kit/react@^0.16.0": - version "0.16.0" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.0.tgz#0d568e36b44bb147a9c351a797c5a5b496c85d39" - integrity sha512-MsrQZa5RiCzquHVXr2y6Ifr21Z3Z7whBaDvP4fqglhy1WteWfIDlitRHrZXy1EW/kx/RD9V01bHz7a8Gh70kJQ== +"@cosmos-kit/react@0.16.2", "@cosmos-kit/react@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.2.tgz#8feda6c2e4dee8e5eda20c5381bff96cb6a74e8e" + integrity sha512-2HGHf4RhbghYn3u/duOpGGXXeYdOIMKm+L21y4hDIzLKSX2+7mzSTjFw7sWGDd4+WjzshCDDp/IGOWsNg1e9ew== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/config" "^0.16.0" + "@cosmos-kit/config" "^0.16.2" "@emotion/react" "^11" "@emotion/styled" "^11" bowser "2.11.0" From 3a57af70df8d6a8d8d8486ca20944844d1de50a7 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 19:01:28 -0500 Subject: [PATCH 104/262] updates --- .../.eslintrc.json | 0 .../.gitignore | 0 .../CHANGELOG.md | 0 .../README.md | 0 .../codegen/JunoSwap.client.ts | 2 +- .../codegen/JunoSwap.types.ts | 2 +- .../codegen/confio/proofs.ts | 506 +++-- .../codegen/contracts.ts | 2 +- .../codegen/cosmos/app/v1alpha1/config.ts | 76 +- .../codegen/cosmos/app/v1alpha1/module.ts | 150 +- .../cosmos/app/v1alpha1/query.rpc.query.ts | 36 + .../codegen/cosmos/app/v1alpha1/query.ts | 37 +- .../codegen/cosmos/auth/v1beta1/auth.ts | 94 +- .../codegen/cosmos/auth/v1beta1/genesis.ts | 38 +- .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 83 + .../cosmos/auth/v1beta1/query.rpc.query.ts | 74 +- .../codegen/cosmos/auth/v1beta1/query.ts | 282 +-- .../codegen/cosmos/authz/v1beta1/authz.ts | 111 +- .../codegen/cosmos/authz/v1beta1/event.ts | 65 +- .../codegen/cosmos/authz/v1beta1/genesis.ts | 27 +- .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 42 +- .../cosmos/authz/v1beta1/query.rpc.query.ts | 39 +- .../codegen/cosmos/authz/v1beta1/query.ts | 202 +- .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 128 ++ .../cosmos/authz/v1beta1/tx.registry.ts | 79 + .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 18 +- .../codegen/cosmos/authz/v1beta1/tx.ts | 150 +- .../codegen/cosmos/bank/v1beta1/authz.ts | 32 +- .../codegen/cosmos/bank/v1beta1/bank.ts | 278 ++- .../codegen/cosmos/bank/v1beta1/genesis.ts | 99 +- .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 91 +- .../cosmos/bank/v1beta1/query.rpc.query.ts | 92 +- .../codegen/cosmos/bank/v1beta1/query.ts | 518 ++--- .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 110 ++ .../cosmos/bank/v1beta1/tx.registry.ts | 58 + .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 14 +- .../codegen/cosmos/bank/v1beta1/tx.ts | 95 +- .../codegen/cosmos/base/abci/v1beta1/abci.ts | 468 ++--- .../codegen/cosmos/base/kv/v1beta1/kv.ts | 46 +- .../cosmos/base/query/v1beta1/pagination.ts | 122 +- .../base/reflection/v1beta1/reflection.ts | 90 +- .../base/reflection/v2alpha1/reflection.ts | 642 +++--- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 220 +-- .../cosmos/base/store/v1beta1/commit_info.ts | 79 +- .../cosmos/base/store/v1beta1/listening.ts | 38 +- .../base/tendermint/v1beta1/query.lcd.ts | 81 + .../base/tendermint/v1beta1/query.rpc.svc.ts | 70 +- .../cosmos/base/tendermint/v1beta1/query.ts | 376 ++-- .../codegen/cosmos/base/v1beta1/coin.ts | 87 +- .../codegen/cosmos/bundle.ts | 248 ++- .../cosmos/capability/v1beta1/capability.ts | 73 +- .../cosmos/capability/v1beta1/genesis.ts | 65 +- examples/contracts/codegen/cosmos/client.ts | 72 + .../codegen/cosmos/crisis/v1beta1/genesis.ts | 26 +- .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 37 + .../cosmos/crisis/v1beta1/tx.registry.ts | 37 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/crisis/v1beta1/tx.ts | 40 +- .../codegen/cosmos/crypto/ed25519/keys.ts | 46 +- .../codegen/cosmos/crypto/hd/v1/hd.ts | 52 +- .../cosmos/crypto/keyring/v1/record.ts | 124 +- .../codegen/cosmos/crypto/multisig/keys.ts | 35 +- .../crypto/multisig/v1beta1/multisig.ts | 55 +- .../codegen/cosmos/crypto/secp256k1/keys.ts | 43 +- .../codegen/cosmos/crypto/secp256r1/keys.ts | 42 +- .../distribution/v1beta1/distribution.ts | 351 ++-- .../cosmos/distribution/v1beta1/genesis.ts | 345 ++-- .../cosmos/distribution/v1beta1/query.lcd.ts | 104 + .../distribution/v1beta1/query.rpc.query.ts | 88 +- .../cosmos/distribution/v1beta1/query.ts | 468 ++--- .../cosmos/distribution/v1beta1/tx.amino.ts | 120 ++ .../distribution/v1beta1/tx.registry.ts | 100 + .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 21 +- .../codegen/cosmos/distribution/v1beta1/tx.ts | 178 +- .../cosmos/evidence/v1beta1/evidence.ts | 33 +- .../cosmos/evidence/v1beta1/genesis.ts | 28 +- .../cosmos/evidence/v1beta1/query.lcd.ts | 41 + .../evidence/v1beta1/query.rpc.query.ts | 33 +- .../codegen/cosmos/evidence/v1beta1/query.ts | 104 +- .../cosmos/evidence/v1beta1/tx.amino.ts | 41 + .../cosmos/evidence/v1beta1/tx.registry.ts | 37 + .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 9 +- .../codegen/cosmos/evidence/v1beta1/tx.ts | 48 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 181 +- .../cosmos/feegrant/v1beta1/genesis.ts | 27 +- .../cosmos/feegrant/v1beta1/query.lcd.ts | 42 +- .../feegrant/v1beta1/query.rpc.query.ts | 39 +- .../codegen/cosmos/feegrant/v1beta1/query.ts | 172 +- .../cosmos/feegrant/v1beta1/tx.amino.ts | 74 + .../cosmos/feegrant/v1beta1/tx.registry.ts | 58 + .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/feegrant/v1beta1/tx.ts | 93 +- .../codegen/cosmos/genutil/v1beta1/genesis.ts | 27 +- .../codegen/cosmos/gov/v1/genesis.ts | 82 +- .../codegen/cosmos/gov/v1/gov.ts | 345 ++-- .../codegen/cosmos/gov/v1/query.lcd.ts | 110 +- .../codegen/cosmos/gov/v1/query.rpc.query.ts | 79 +- .../codegen/cosmos/gov/v1}/query.ts | 431 ++-- .../codegen/cosmos/gov/v1/tx.amino.ts | 226 +++ .../codegen/cosmos/gov/v1/tx.registry.ts | 121 ++ .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 27 +- .../codegen/cosmos/gov/v1/tx.ts | 244 +-- .../codegen/cosmos/gov/v1beta1/genesis.ts | 82 +- .../codegen/cosmos/gov/v1beta1/gov.ts | 369 ++-- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 110 +- .../cosmos/gov/v1beta1/query.rpc.query.ts | 79 +- .../codegen/cosmos/gov/v1beta1}/query.ts | 431 ++-- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 174 ++ .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 100 + .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 23 +- .../codegen/cosmos/gov/v1beta1/tx.ts | 192 +- .../codegen/cosmos/group/v1/events.ts | 180 +- .../codegen/cosmos/group/v1/genesis.ts | 110 +- .../codegen/cosmos/group/v1/query.lcd.ts | 150 +- .../cosmos/group/v1/query.rpc.query.ts | 119 +- .../codegen/cosmos/group/v1/query.ts | 701 +++---- .../codegen/cosmos/group/v1/tx.amino.ts | 583 ++++++ .../codegen/cosmos/group/v1/tx.registry.ts | 310 +++ .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 62 +- .../codegen/cosmos/group/v1/tx.ts | 781 +++----- .../codegen/cosmos/group/v1/types.ts | 615 +++--- examples/contracts/codegen/cosmos/lcd.ts | 99 + .../codegen/cosmos/mint/v1beta1/genesis.ts | 30 +- .../codegen/cosmos/mint/v1beta1/mint.ts | 82 +- .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 38 + .../cosmos/mint/v1beta1/query.rpc.query.ts | 64 + .../codegen/cosmos/mint/v1beta1/query.ts | 110 +- .../codegen/cosmos/msg/v1/msg.ts | 0 .../codegen/cosmos/nft/v1beta1/event.ts | 75 +- .../codegen/cosmos/nft/v1beta1/genesis.ts | 68 +- .../codegen/cosmos/nft/v1beta1/nft.ts | 111 +- .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 94 +- .../cosmos/nft/v1beta1/query.rpc.query.ts | 73 +- .../codegen/cosmos/nft/v1beta1/query.ts | 306 +-- .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 42 + .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 37 + .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/nft/v1beta1/tx.ts | 56 +- .../codegen/cosmos/orm/v1/orm.ts | 173 +- .../codegen/cosmos/orm/v1alpha1/schema.ts | 129 +- .../codegen/cosmos/params/v1beta1/params.ts | 58 +- .../cosmos/params/v1beta1/query.lcd.ts | 31 +- .../cosmos/params/v1beta1/query.rpc.query.ts | 30 +- .../codegen/cosmos/params/v1beta1/query.ts | 122 +- .../contracts/codegen/cosmos/rpc.query.ts | 68 + .../codegen/cosmos/rpc.tx.ts | 0 .../cosmos/slashing/v1beta1/genesis.ts | 137 +- .../cosmos/slashing/v1beta1/query.lcd.ts | 46 +- .../slashing/v1beta1/query.rpc.query.ts | 41 +- .../codegen/cosmos/slashing/v1beta1/query.ts | 138 +- .../cosmos/slashing/v1beta1/slashing.ts | 100 +- .../cosmos/slashing/v1beta1/tx.amino.ts | 27 + .../cosmos/slashing/v1beta1/tx.registry.ts | 37 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/slashing/v1beta1/tx.ts | 34 +- .../codegen/cosmos/staking/v1beta1/authz.ts | 99 +- .../codegen/cosmos/staking/v1beta1/genesis.ts | 124 +- .../cosmos/staking/v1beta1/query.lcd.ts | 182 +- .../cosmos/staking/v1beta1/query.rpc.query.ts | 127 +- .../codegen/cosmos/staking/v1beta1/query.ts | 783 +++----- .../codegen/cosmos/staking/v1beta1/staking.ts | 741 ++++--- .../cosmos/staking/v1beta1/tx.amino.ts | 294 +++ .../cosmos/staking/v1beta1/tx.registry.ts | 121 ++ .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 28 +- .../codegen/cosmos/staking/v1beta1/tx.ts | 241 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 200 +- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 65 + .../cosmos/tx/v1beta1/service.rpc.svc.ts | 60 +- .../codegen/cosmos/tx/v1beta1/service.ts | 386 ++-- .../codegen/cosmos/tx/v1beta1/tx.ts | 643 +++--- .../cosmos/upgrade/v1beta1/query.lcd.ts | 59 +- .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 54 +- .../codegen/cosmos/upgrade/v1beta1/query.ts | 238 +-- .../cosmos/upgrade/v1beta1/tx.amino.ts | 86 + .../cosmos/upgrade/v1beta1/tx.registry.ts | 58 + .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/upgrade/v1beta1/tx.ts | 92 +- .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 162 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 155 ++ .../cosmos/vesting/v1beta1/tx.registry.ts | 79 + .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 18 +- .../codegen/cosmos/vesting/v1beta1/tx.ts | 158 +- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 181 +- .../codegen/cosmos_proto/bundle.ts | 0 .../codegen/cosmos_proto/cosmos.ts | 105 +- examples/contracts/codegen/cosmwasm/bundle.ts | 34 + examples/contracts/codegen/cosmwasm/client.ts | 41 + examples/contracts/codegen/cosmwasm/lcd.ts | 106 + .../contracts/codegen/cosmwasm/rpc.query.ts | 73 + .../codegen/cosmwasm/rpc.tx.ts | 0 .../codegen/cosmwasm/wasm/v1/genesis.ts | 163 +- .../codegen/cosmwasm/wasm/v1/ibc.ts | 69 +- .../codegen/cosmwasm/wasm/v1/proposal.ts | 433 ++-- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 106 +- .../cosmwasm/wasm/v1/query.rpc.query.ts | 91 +- .../codegen/cosmwasm/wasm/v1/query.ts | 529 ++--- .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 252 +++ .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 142 ++ .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 30 +- .../codegen/cosmwasm/wasm/v1/tx.ts | 364 ++-- .../codegen/cosmwasm/wasm/v1/types.ts | 285 ++- .../codegen/gogoproto/bundle.ts | 0 .../codegen/gogoproto/gogo.ts | 0 .../codegen/google/api/annotations.ts | 0 .../codegen/google/api/http.ts | 459 ++++- .../codegen/google/bundle.ts | 0 .../codegen/google/protobuf/any.ts | 134 +- .../codegen/google/protobuf/descriptor.ts | 1758 +++++++++-------- .../codegen/google/protobuf/duration.ts | 97 +- .../codegen/google/protobuf/empty.ts | 24 +- .../codegen/google/protobuf/field_mask.ts | 226 ++- .../codegen/google/protobuf/struct.ts | 164 +- .../codegen/google/protobuf/timestamp.ts | 119 +- .../codegen/google/protobuf/wrappers.ts | 202 +- .../ibc/applications/transfer/v1/genesis.ts | 34 +- .../ibc/applications/transfer/v1/query.lcd.ts | 42 +- .../transfer/v1/query.rpc.query.ts | 41 +- .../ibc/applications/transfer/v1/query.ts | 144 +- .../ibc/applications/transfer/v1/transfer.ts | 70 +- .../ibc/applications/transfer/v1/tx.amino.ts | 73 + .../applications/transfer/v1/tx.registry.ts | 37 + .../applications/transfer/v1/tx.rpc.msg.ts | 10 +- .../ibc/applications/transfer/v1/tx.ts | 92 +- .../ibc/applications/transfer/v2/packet.ts | 44 +- .../codegen/ibc/bundle.ts | 80 +- examples/contracts/codegen/ibc/client.ts | 50 + .../codegen/ibc/core/channel/v1/channel.ts | 353 ++-- .../codegen/ibc/core/channel/v1/genesis.ts | 110 +- .../codegen/ibc/core/channel/v1/query.lcd.ts | 165 ++ .../ibc/core/channel/v1/query.rpc.query.ts | 123 +- .../codegen/ibc/core/channel/v1/query.ts | 968 ++++----- .../codegen/ibc/core/channel/v1/tx.amino.ts | 670 +++++++ .../ibc/core/channel/v1/tx.registry.ts | 226 +++ .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 46 +- .../codegen/ibc/core/channel/v1/tx.ts | 469 ++--- .../codegen/ibc/core/client/v1/client.ts | 245 ++- .../codegen/ibc/core/client/v1/genesis.ts | 128 +- .../codegen/ibc/core/client/v1/query.lcd.ts | 107 + .../ibc/core/client/v1/query.rpc.query.ts | 82 +- .../codegen/ibc/core/client/v1/query.ts | 440 ++--- .../codegen/ibc/core/client/v1/tx.amino.ts | 205 ++ .../codegen/ibc/core/client/v1/tx.registry.ts | 100 + .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 21 +- .../codegen/ibc/core/client/v1/tx.ts | 228 +-- .../ibc/core/commitment/v1/commitment.ts | 102 +- .../ibc/core/connection/v1/connection.ts | 308 ++- .../codegen/ibc/core/connection/v1/genesis.ts | 47 +- .../ibc/core/connection/v1/query.lcd.ts | 68 + .../ibc/core/connection/v1/query.rpc.query.ts | 59 +- .../codegen/ibc/core/connection/v1/query.ts | 329 ++- .../ibc/core/connection/v1/tx.amino.ts | 343 ++++ .../ibc/core/connection/v1/tx.registry.ts | 100 + .../ibc/core/connection/v1/tx.rpc.msg.ts | 23 +- .../codegen/ibc/core/connection/v1/tx.ts | 280 ++- .../ibc/core/port/v1/query.rpc.query.ts | 22 +- .../codegen/ibc/core/port/v1/query.ts | 76 +- .../codegen/ibc/core/types/v1/genesis.ts | 38 +- examples/contracts/codegen/ibc/lcd.ts | 125 ++ .../lightclients/localhost/v1/localhost.ts | 33 +- .../solomachine/v1/solomachine.ts | 477 ++--- .../solomachine/v2/solomachine.ts | 477 ++--- .../lightclients/tendermint/v1/tendermint.ts | 249 ++- examples/contracts/codegen/ibc/rpc.query.ts | 89 + .../codegen/ibc/rpc.tx.ts | 0 .../codegen/ics23/bundle.ts | 0 .../codegen/index.ts | 5 +- .../codegen/tendermint/abci/types.ts | 1269 ++++-------- .../codegen/tendermint/bundle.ts | 0 .../codegen/tendermint/crypto/keys.ts | 23 +- .../codegen/tendermint/crypto/proof.ts | 128 +- .../codegen/tendermint/libs/bits/types.ts | 26 +- .../codegen/tendermint/p2p/types.ts | 128 +- .../codegen/tendermint/types/block.ts | 29 +- .../codegen/tendermint/types/evidence.ts | 111 +- .../codegen/tendermint/types/params.ts | 192 +- .../codegen/tendermint/types/types.ts | 437 ++-- .../codegen/tendermint/types/validator.ts | 73 +- .../codegen/tendermint/version/types.ts | 52 +- examples/contracts/components/features.tsx | 79 + examples/contracts/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 + .../components/react}/astronaut.tsx | 0 .../contracts/components/react/chain-card.tsx | 38 + examples/contracts/components/react/index.ts | 6 + .../contracts/components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 197 ++ .../contracts/components/react/warn-block.tsx | 90 + .../components/types.tsx | 10 +- examples/contracts/components/wallet.tsx | 163 ++ examples/contracts/config/chain-infos.ts | 17 + .../config/features.ts | 0 examples/contracts/config/index.ts | 2 + examples/contracts/config/theme.ts | 34 + .../contracts/wasmswap/LICENSE | 0 .../contracts/wasmswap/README.md | 0 .../contracts/wasmswap/package.json | 0 .../wasmswap/schema/balance_response.json | 0 .../wasmswap/schema/execute_msg.json | 0 .../wasmswap/schema/info_response.json | 0 .../wasmswap/schema/instantiate_msg.json | 0 .../contracts/wasmswap/schema/query_msg.json | 0 .../contracts/wasmswap/schema/token.json | 0 .../token1_for_token2_price_response.json | 0 .../token2_for_token1_price_response.json | 0 .../next.config.js | 0 .../package.json | 6 +- examples/contracts/pages/_app.tsx | 46 + examples/contracts/pages/index.tsx | 146 ++ .../proto/confio/LICENSE | 0 .../proto/confio/README.md | 0 .../proto/confio/proofs.proto | 0 .../proto/cosmos/LICENSE | 0 .../proto/cosmos/README.md | 0 .../proto/cosmos/app/v1alpha1/config.proto | 0 .../proto/cosmos/app/v1alpha1/module.proto | 0 .../proto/cosmos/app/v1alpha1/query.proto | 0 .../proto/cosmos/auth/v1beta1/auth.proto | 0 .../proto/cosmos/auth/v1beta1/genesis.proto | 0 .../proto/cosmos/auth/v1beta1/query.proto | 0 .../proto/cosmos/authz/v1beta1/authz.proto | 0 .../proto/cosmos/authz/v1beta1/event.proto | 0 .../proto/cosmos/authz/v1beta1/genesis.proto | 0 .../proto/cosmos/authz/v1beta1/query.proto | 0 .../proto/cosmos/authz/v1beta1/tx.proto | 0 .../proto/cosmos/bank/v1beta1/authz.proto | 0 .../proto/cosmos/bank/v1beta1/bank.proto | 0 .../proto/cosmos/bank/v1beta1/genesis.proto | 0 .../proto/cosmos/bank/v1beta1/query.proto | 0 .../proto/cosmos/bank/v1beta1/tx.proto | 0 .../proto/cosmos/base/abci/v1beta1/abci.proto | 0 .../proto/cosmos/base/kv/v1beta1/kv.proto | 0 .../base/query/v1beta1/pagination.proto | 0 .../base/reflection/v1beta1/reflection.proto | 0 .../base/reflection/v2alpha1/reflection.proto | 0 .../base/snapshots/v1beta1/snapshot.proto | 0 .../base/store/v1beta1/commit_info.proto | 0 .../cosmos/base/store/v1beta1/listening.proto | 0 .../base/tendermint/v1beta1/query.proto | 0 .../proto/cosmos/base/v1beta1/coin.proto | 0 .../capability/v1beta1/capability.proto | 0 .../cosmos/capability/v1beta1/genesis.proto | 0 .../proto/cosmos/crisis/v1beta1/genesis.proto | 0 .../proto/cosmos/crisis/v1beta1/tx.proto | 0 .../proto/cosmos/crypto/ed25519/keys.proto | 0 .../proto/cosmos/crypto/hd/v1/hd.proto | 0 .../cosmos/crypto/keyring/v1/record.proto | 0 .../proto/cosmos/crypto/multisig/keys.proto | 0 .../crypto/multisig/v1beta1/multisig.proto | 0 .../proto/cosmos/crypto/secp256k1/keys.proto | 0 .../proto/cosmos/crypto/secp256r1/keys.proto | 0 .../distribution/v1beta1/distribution.proto | 0 .../cosmos/distribution/v1beta1/genesis.proto | 0 .../cosmos/distribution/v1beta1/query.proto | 0 .../cosmos/distribution/v1beta1/tx.proto | 0 .../cosmos/evidence/v1beta1/evidence.proto | 0 .../cosmos/evidence/v1beta1/genesis.proto | 0 .../proto/cosmos/evidence/v1beta1/query.proto | 0 .../proto/cosmos/evidence/v1beta1/tx.proto | 0 .../cosmos/feegrant/v1beta1/feegrant.proto | 0 .../cosmos/feegrant/v1beta1/genesis.proto | 0 .../proto/cosmos/feegrant/v1beta1/query.proto | 0 .../proto/cosmos/feegrant/v1beta1/tx.proto | 0 .../cosmos/genutil/v1beta1/genesis.proto | 0 .../proto/cosmos/gov/v1/genesis.proto | 0 .../proto/cosmos/gov/v1/gov.proto | 0 .../proto/cosmos/gov/v1/query.proto | 0 .../proto/cosmos/gov/v1/tx.proto | 0 .../proto/cosmos/gov/v1beta1/genesis.proto | 0 .../proto/cosmos/gov/v1beta1/gov.proto | 0 .../proto/cosmos/gov/v1beta1/query.proto | 0 .../proto/cosmos/gov/v1beta1/tx.proto | 0 .../proto/cosmos/group/v1/events.proto | 0 .../proto/cosmos/group/v1/genesis.proto | 0 .../proto/cosmos/group/v1/query.proto | 0 .../proto/cosmos/group/v1/tx.proto | 0 .../proto/cosmos/group/v1/types.proto | 0 .../proto/cosmos/mint/v1beta1/genesis.proto | 0 .../proto/cosmos/mint/v1beta1/mint.proto | 0 .../proto/cosmos/mint/v1beta1/query.proto | 0 .../proto/cosmos/msg/v1/msg.proto | 0 .../proto/cosmos/nft/v1beta1/event.proto | 0 .../proto/cosmos/nft/v1beta1/genesis.proto | 0 .../proto/cosmos/nft/v1beta1/nft.proto | 0 .../proto/cosmos/nft/v1beta1/query.proto | 0 .../proto/cosmos/nft/v1beta1/tx.proto | 0 .../proto/cosmos/orm/v1/orm.proto | 0 .../proto/cosmos/orm/v1alpha1/schema.proto | 0 .../proto/cosmos/params/v1beta1/params.proto | 0 .../proto/cosmos/params/v1beta1/query.proto | 0 .../cosmos/slashing/v1beta1/genesis.proto | 0 .../proto/cosmos/slashing/v1beta1/query.proto | 0 .../cosmos/slashing/v1beta1/slashing.proto | 0 .../proto/cosmos/slashing/v1beta1/tx.proto | 0 .../proto/cosmos/staking/v1beta1/authz.proto | 0 .../cosmos/staking/v1beta1/genesis.proto | 0 .../proto/cosmos/staking/v1beta1/query.proto | 0 .../cosmos/staking/v1beta1/staking.proto | 0 .../proto/cosmos/staking/v1beta1/tx.proto | 0 .../cosmos/tx/signing/v1beta1/signing.proto | 0 .../proto/cosmos/tx/v1beta1/service.proto | 0 .../proto/cosmos/tx/v1beta1/tx.proto | 0 .../proto/cosmos/upgrade/v1beta1/query.proto | 0 .../proto/cosmos/upgrade/v1beta1/tx.proto | 0 .../cosmos/upgrade/v1beta1/upgrade.proto | 0 .../proto/cosmos/vesting/v1beta1/tx.proto | 0 .../cosmos/vesting/v1beta1/vesting.proto | 0 .../proto/cosmos_proto/LICENSE | 0 .../proto/cosmos_proto/README.md | 0 .../proto/cosmos_proto/cosmos.proto | 0 .../proto/cosmwasm/LICENSE | 0 .../proto/cosmwasm/README.md | 0 .../proto/cosmwasm/wasm/v1/genesis.proto | 0 .../proto/cosmwasm/wasm/v1/ibc.proto | 0 .../proto/cosmwasm/wasm/v1/proposal.proto | 0 .../proto/cosmwasm/wasm/v1/query.proto | 0 .../proto/cosmwasm/wasm/v1/tx.proto | 0 .../proto/cosmwasm/wasm/v1/types.proto | 0 .../proto/gogoproto/LICENSE | 0 .../proto/gogoproto/README.md | 0 .../proto/gogoproto/gogo.proto | 0 .../proto/google/LICENSE | 0 .../proto/google/README.md | 0 .../proto/google/api/annotations.proto | 0 .../proto/google/api/http.proto | 0 .../proto/google/protobuf/any.proto | 0 .../proto/google/protobuf/descriptor.proto | 0 .../proto/google/protobuf/duration.proto | 0 .../proto/google/protobuf/empty.proto | 0 .../proto/google/protobuf/timestamp.proto | 0 .../proto/ibc/LICENSE | 0 .../proto/ibc/README.md | 0 .../applications/transfer/v1/genesis.proto | 0 .../ibc/applications/transfer/v1/query.proto | 0 .../applications/transfer/v1/transfer.proto | 0 .../ibc/applications/transfer/v1/tx.proto | 0 .../ibc/applications/transfer/v2/packet.proto | 0 .../proto/ibc/core/channel/v1/channel.proto | 0 .../proto/ibc/core/channel/v1/genesis.proto | 0 .../proto/ibc/core/channel/v1/query.proto | 0 .../proto/ibc/core/channel/v1/tx.proto | 0 .../proto/ibc/core/client/v1/client.proto | 0 .../proto/ibc/core/client/v1/genesis.proto | 0 .../proto/ibc/core/client/v1/query.proto | 0 .../proto/ibc/core/client/v1/tx.proto | 0 .../ibc/core/commitment/v1/commitment.proto | 0 .../ibc/core/connection/v1/connection.proto | 0 .../ibc/core/connection/v1/genesis.proto | 0 .../proto/ibc/core/connection/v1/query.proto | 0 .../proto/ibc/core/connection/v1/tx.proto | 0 .../proto/ibc/core/port/v1/query.proto | 0 .../proto/ibc/core/types/v1/genesis.proto | 0 .../lightclients/localhost/v1/localhost.proto | 0 .../solomachine/v1/solomachine.proto | 0 .../solomachine/v2/solomachine.proto | 0 .../tendermint/v1/tendermint.proto | 0 .../proto/tendermint/LICENSE | 0 .../proto/tendermint/README.md | 0 .../proto/tendermint/abci/types.proto | 0 .../proto/tendermint/crypto/keys.proto | 0 .../proto/tendermint/crypto/proof.proto | 0 .../proto/tendermint/libs/bits/types.proto | 0 .../proto/tendermint/p2p/types.proto | 0 .../proto/tendermint/types/block.proto | 0 .../proto/tendermint/types/evidence.proto | 0 .../proto/tendermint/types/params.proto | 0 .../proto/tendermint/types/types.proto | 0 .../proto/tendermint/types/validator.proto | 0 .../proto/tendermint/version/types.proto | 0 .../public/favicon.ico | Bin .../scripts/codegen.js | 4 +- .../styles/Home.module.css | 0 .../styles/globals.css | 0 .../tsconfig.json | 0 .../utils.ts | 0 examples/send-tokens/pages/index.tsx | 12 +- .../cosmos/app/v1alpha1/query.rpc.query.ts | 26 - .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 88 - .../cosmos/distribution/v1beta1/query.lcd.ts | 145 -- .../cosmos/evidence/v1beta1/query.lcd.ts | 47 - .../codegen/cosmos/lcd.ts | 81 - .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 33 - .../cosmos/mint/v1beta1/query.rpc.query.ts | 46 - .../codegen/cosmos/rpc.query.ts | 55 - .../codegen/cosmwasm/bundle.ts | 30 - .../codegen/cosmwasm/lcd.ts | 88 - .../codegen/cosmwasm/rpc.query.ts | 60 - .../codegen/ibc/core/channel/v1/query.lcd.ts | 283 --- .../codegen/ibc/core/client/v1/query.lcd.ts | 126 -- .../ibc/core/connection/v1/query.lcd.ts | 102 - .../codegen/ibc/lcd.ts | 107 - .../codegen/ibc/rpc.query.ts | 76 - .../components/features.tsx | 45 - .../components/index.tsx | 5 - .../components/user-info.tsx | 54 - .../components/wallet-connect.tsx | 121 -- .../telescope-with-contracts/config/index.ts | 2 - .../telescope-with-contracts/config/theme.ts | 65 - .../telescope-with-contracts/pages/_app.tsx | 42 - .../pages/api/hello.ts | 13 - .../telescope-with-contracts/pages/index.tsx | 149 -- examples/telescope/codegen/confio/proofs.ts | 506 +++-- .../codegen/cosmos/app/v1alpha1/config.ts | 76 +- .../codegen/cosmos/app/v1alpha1/module.ts | 150 +- .../cosmos/app/v1alpha1/query.rpc.query.ts | 22 +- .../codegen/cosmos/app/v1alpha1/query.ts | 37 +- .../codegen/cosmos/auth/v1beta1/auth.ts | 94 +- .../codegen/cosmos/auth/v1beta1/genesis.ts | 38 +- .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 75 +- .../cosmos/auth/v1beta1/query.rpc.query.ts | 74 +- .../codegen/cosmos/auth/v1beta1/query.ts | 278 +-- .../codegen/cosmos/authz/v1beta1/authz.ts | 111 +- .../codegen/cosmos/authz/v1beta1/event.ts | 65 +- .../codegen/cosmos/authz/v1beta1/genesis.ts | 27 +- .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 42 +- .../cosmos/authz/v1beta1/query.rpc.query.ts | 39 +- .../codegen/cosmos/authz/v1beta1/query.ts | 192 +- .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 3 - .../cosmos/authz/v1beta1/tx.registry.ts | 48 - .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 18 +- .../codegen/cosmos/authz/v1beta1/tx.ts | 150 +- .../codegen/cosmos/bank/v1beta1/authz.ts | 32 +- .../codegen/cosmos/bank/v1beta1/bank.ts | 278 ++- .../codegen/cosmos/bank/v1beta1/genesis.ts | 99 +- .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 91 +- .../cosmos/bank/v1beta1/query.rpc.query.ts | 92 +- .../codegen/cosmos/bank/v1beta1/query.ts | 500 ++--- .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 2 - .../cosmos/bank/v1beta1/tx.registry.ts | 34 - .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 14 +- .../codegen/cosmos/bank/v1beta1/tx.ts | 95 +- .../codegen/cosmos/base/abci/v1beta1/abci.ts | 468 ++--- .../codegen/cosmos/base/kv/v1beta1/kv.ts | 46 +- .../cosmos/base/query/v1beta1/pagination.ts | 122 +- .../base/reflection/v1beta1/reflection.ts | 90 +- .../base/reflection/v2alpha1/reflection.ts | 642 +++--- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 220 +-- .../cosmos/base/store/v1beta1/commit_info.ts | 79 +- .../cosmos/base/store/v1beta1/listening.ts | 38 +- .../base/tendermint/v1beta1/query.lcd.ts | 81 + .../base/tendermint/v1beta1/query.rpc.svc.ts | 70 +- .../cosmos/base/tendermint/v1beta1/query.ts | 368 ++-- .../codegen/cosmos/base/v1beta1/coin.ts | 87 +- examples/telescope/codegen/cosmos/bundle.ts | 192 +- .../cosmos/capability/v1beta1/capability.ts | 73 +- .../cosmos/capability/v1beta1/genesis.ts | 65 +- examples/telescope/codegen/cosmos/client.ts | 4 +- .../codegen/cosmos/crisis/v1beta1/genesis.ts | 26 +- .../cosmos/crisis/v1beta1/tx.registry.ts | 18 - .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/crisis/v1beta1/tx.ts | 40 +- .../codegen/cosmos/crypto/ed25519/keys.ts | 46 +- .../codegen/cosmos/crypto/hd/v1/hd.ts | 52 +- .../cosmos/crypto/keyring/v1/record.ts | 124 +- .../codegen/cosmos/crypto/multisig/keys.ts | 35 +- .../crypto/multisig/v1beta1/multisig.ts | 55 +- .../codegen/cosmos/crypto/secp256k1/keys.ts | 43 +- .../codegen/cosmos/crypto/secp256r1/keys.ts | 42 +- .../distribution/v1beta1/distribution.ts | 351 ++-- .../cosmos/distribution/v1beta1/genesis.ts | 345 ++-- .../cosmos/distribution/v1beta1/query.lcd.ts | 91 +- .../distribution/v1beta1/query.rpc.query.ts | 88 +- .../cosmos/distribution/v1beta1/query.ts | 464 ++--- .../cosmos/distribution/v1beta1/tx.amino.ts | 1 - .../distribution/v1beta1/tx.registry.ts | 61 - .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 21 +- .../codegen/cosmos/distribution/v1beta1/tx.ts | 178 +- .../cosmos/evidence/v1beta1/evidence.ts | 33 +- .../cosmos/evidence/v1beta1/genesis.ts | 28 +- .../cosmos/evidence/v1beta1/query.lcd.ts | 34 +- .../evidence/v1beta1/query.rpc.query.ts | 33 +- .../codegen/cosmos/evidence/v1beta1/query.ts | 102 +- .../cosmos/evidence/v1beta1/tx.amino.ts | 1 - .../cosmos/evidence/v1beta1/tx.registry.ts | 19 - .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 9 +- .../codegen/cosmos/evidence/v1beta1/tx.ts | 48 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 181 +- .../cosmos/feegrant/v1beta1/genesis.ts | 27 +- .../cosmos/feegrant/v1beta1/query.lcd.ts | 42 +- .../feegrant/v1beta1/query.rpc.query.ts | 39 +- .../codegen/cosmos/feegrant/v1beta1/query.ts | 166 +- .../cosmos/feegrant/v1beta1/tx.amino.ts | 1 - .../cosmos/feegrant/v1beta1/tx.registry.ts | 33 - .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/feegrant/v1beta1/tx.ts | 93 +- .../codegen/cosmos/genutil/v1beta1/genesis.ts | 27 +- .../codegen/cosmos/gov/v1/genesis.ts | 82 +- .../telescope/codegen/cosmos/gov/v1/gov.ts | 345 ++-- .../codegen/cosmos/gov/v1/query.lcd.ts | 82 +- .../codegen/cosmos/gov/v1/query.rpc.query.ts | 79 +- .../telescope/codegen/cosmos/gov/v1/query.ts | 419 ++-- .../codegen/cosmos/gov/v1/tx.amino.ts | 24 +- .../codegen/cosmos/gov/v1/tx.registry.ts | 77 - .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 27 +- .../telescope/codegen/cosmos/gov/v1/tx.ts | 244 +-- .../codegen/cosmos/gov/v1beta1/genesis.ts | 82 +- .../codegen/cosmos/gov/v1beta1/gov.ts | 369 ++-- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 82 +- .../cosmos/gov/v1beta1/query.rpc.query.ts | 79 +- .../codegen/cosmos/gov/v1beta1/query.ts | 419 ++-- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 4 +- .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 63 - .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 23 +- .../codegen/cosmos/gov/v1beta1/tx.ts | 192 +- .../codegen/cosmos/group/v1/events.ts | 180 +- .../codegen/cosmos/group/v1/genesis.ts | 110 +- .../codegen/cosmos/group/v1/query.lcd.ts | 122 +- .../cosmos/group/v1/query.rpc.query.ts | 119 +- .../codegen/cosmos/group/v1/query.ts | 669 +++---- .../codegen/cosmos/group/v1/tx.amino.ts | 24 +- .../codegen/cosmos/group/v1/tx.registry.ts | 202 -- .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 62 +- .../telescope/codegen/cosmos/group/v1/tx.ts | 781 +++----- .../codegen/cosmos/group/v1/types.ts | 615 +++--- examples/telescope/codegen/cosmos/lcd.ts | 170 +- .../codegen/cosmos/mint/v1beta1/genesis.ts | 30 +- .../codegen/cosmos/mint/v1beta1/mint.ts | 82 +- .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 39 +- .../cosmos/mint/v1beta1/query.rpc.query.ts | 38 +- .../codegen/cosmos/mint/v1beta1/query.ts | 110 +- .../codegen/cosmos/nft/v1beta1/event.ts | 75 +- .../codegen/cosmos/nft/v1beta1/genesis.ts | 68 +- .../codegen/cosmos/nft/v1beta1/nft.ts | 111 +- .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 74 +- .../cosmos/nft/v1beta1/query.rpc.query.ts | 73 +- .../codegen/cosmos/nft/v1beta1/query.ts | 298 +-- .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 18 - .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/nft/v1beta1/tx.ts | 56 +- .../telescope/codegen/cosmos/orm/v1/orm.ts | 173 +- .../codegen/cosmos/orm/v1alpha1/schema.ts | 129 +- .../codegen/cosmos/params/v1beta1/params.ts | 58 +- .../cosmos/params/v1beta1/query.lcd.ts | 31 +- .../cosmos/params/v1beta1/query.rpc.query.ts | 30 +- .../codegen/cosmos/params/v1beta1/query.ts | 122 +- .../telescope/codegen/cosmos/rpc.query.ts | 117 +- .../cosmos/slashing/v1beta1/genesis.ts | 137 +- .../cosmos/slashing/v1beta1/query.lcd.ts | 42 +- .../slashing/v1beta1/query.rpc.query.ts | 41 +- .../codegen/cosmos/slashing/v1beta1/query.ts | 134 +- .../cosmos/slashing/v1beta1/slashing.ts | 100 +- .../cosmos/slashing/v1beta1/tx.registry.ts | 18 - .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 8 +- .../codegen/cosmos/slashing/v1beta1/tx.ts | 34 +- .../codegen/cosmos/staking/v1beta1/authz.ts | 99 +- .../codegen/cosmos/staking/v1beta1/genesis.ts | 124 +- .../cosmos/staking/v1beta1/query.lcd.ts | 130 +- .../cosmos/staking/v1beta1/query.rpc.query.ts | 127 +- .../codegen/cosmos/staking/v1beta1/query.ts | 755 +++---- .../codegen/cosmos/staking/v1beta1/staking.ts | 741 ++++--- .../cosmos/staking/v1beta1/tx.amino.ts | 4 - .../cosmos/staking/v1beta1/tx.registry.ts | 78 - .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 28 +- .../codegen/cosmos/staking/v1beta1/tx.ts | 241 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 200 +- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 65 + .../cosmos/tx/v1beta1/service.rpc.svc.ts | 60 +- .../codegen/cosmos/tx/v1beta1/service.ts | 380 ++-- .../telescope/codegen/cosmos/tx/v1beta1/tx.ts | 643 +++--- .../cosmos/upgrade/v1beta1/query.lcd.ts | 55 +- .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 54 +- .../codegen/cosmos/upgrade/v1beta1/query.ts | 238 +-- .../cosmos/upgrade/v1beta1/tx.amino.ts | 3 - .../cosmos/upgrade/v1beta1/tx.registry.ts | 33 - .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/upgrade/v1beta1/tx.ts | 92 +- .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 162 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 2 - .../cosmos/vesting/v1beta1/tx.registry.ts | 48 - .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 18 +- .../codegen/cosmos/vesting/v1beta1/tx.ts | 158 +- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 181 +- .../telescope/codegen/cosmos_proto/cosmos.ts | 105 +- examples/telescope/codegen/cosmwasm/bundle.ts | 28 +- examples/telescope/codegen/cosmwasm/lcd.ts | 182 +- .../telescope/codegen/cosmwasm/rpc.query.ts | 125 +- .../codegen/cosmwasm/wasm/v1/genesis.ts | 163 +- .../telescope/codegen/cosmwasm/wasm/v1/ibc.ts | 69 +- .../codegen/cosmwasm/wasm/v1/proposal.ts | 433 ++-- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 90 +- .../cosmwasm/wasm/v1/query.rpc.query.ts | 91 +- .../codegen/cosmwasm/wasm/v1/query.ts | 511 ++--- .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 3 +- .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 90 - .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 30 +- .../telescope/codegen/cosmwasm/wasm/v1/tx.ts | 364 ++-- .../codegen/cosmwasm/wasm/v1/types.ts | 285 ++- examples/telescope/codegen/google/api/http.ts | 459 ++++- .../telescope/codegen/google/protobuf/any.ts | 134 +- .../codegen/google/protobuf/descriptor.ts | 1758 +++++++++-------- .../codegen/google/protobuf/duration.ts | 97 +- .../codegen/google/protobuf/empty.ts | 24 +- .../codegen/google/protobuf/field_mask.ts | 226 ++- .../codegen/google/protobuf/struct.ts | 164 +- .../codegen/google/protobuf/timestamp.ts | 119 +- .../codegen/google/protobuf/wrappers.ts | 202 +- .../ibc/applications/transfer/v1/genesis.ts | 34 +- .../ibc/applications/transfer/v1/query.lcd.ts | 42 +- .../transfer/v1/query.rpc.query.ts | 41 +- .../ibc/applications/transfer/v1/query.ts | 140 +- .../ibc/applications/transfer/v1/transfer.ts | 70 +- .../ibc/applications/transfer/v1/tx.amino.ts | 2 - .../applications/transfer/v1/tx.registry.ts | 20 - .../applications/transfer/v1/tx.rpc.msg.ts | 10 +- .../ibc/applications/transfer/v1/tx.ts | 92 +- .../ibc/applications/transfer/v2/packet.ts | 44 +- examples/telescope/codegen/ibc/bundle.ts | 96 +- .../codegen/ibc/core/channel/v1/channel.ts | 353 ++-- .../codegen/ibc/core/channel/v1/genesis.ts | 110 +- .../codegen/ibc/core/channel/v1/query.lcd.ts | 124 +- .../ibc/core/channel/v1/query.rpc.query.ts | 123 +- .../codegen/ibc/core/channel/v1/query.ts | 968 ++++----- .../codegen/ibc/core/channel/v1/tx.amino.ts | 3 +- .../ibc/core/channel/v1/tx.registry.ts | 146 -- .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 46 +- .../codegen/ibc/core/channel/v1/tx.ts | 469 ++--- .../codegen/ibc/core/client/v1/client.ts | 245 ++- .../codegen/ibc/core/client/v1/genesis.ts | 128 +- .../codegen/ibc/core/client/v1/query.lcd.ts | 83 +- .../ibc/core/client/v1/query.rpc.query.ts | 82 +- .../codegen/ibc/core/client/v1/query.ts | 432 ++-- .../codegen/ibc/core/client/v1/tx.amino.ts | 1 - .../codegen/ibc/core/client/v1/tx.registry.ts | 61 - .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 21 +- .../codegen/ibc/core/client/v1/tx.ts | 228 +-- .../ibc/core/commitment/v1/commitment.ts | 102 +- .../ibc/core/connection/v1/connection.ts | 308 ++- .../codegen/ibc/core/connection/v1/genesis.ts | 47 +- .../ibc/core/connection/v1/query.lcd.ts | 60 +- .../ibc/core/connection/v1/query.rpc.query.ts | 59 +- .../codegen/ibc/core/connection/v1/query.ts | 327 ++- .../ibc/core/connection/v1/tx.amino.ts | 4 - .../ibc/core/connection/v1/tx.registry.ts | 63 - .../ibc/core/connection/v1/tx.rpc.msg.ts | 23 +- .../codegen/ibc/core/connection/v1/tx.ts | 280 ++- .../ibc/core/port/v1/query.rpc.query.ts | 22 +- .../codegen/ibc/core/port/v1/query.ts | 76 +- .../codegen/ibc/core/types/v1/genesis.ts | 38 +- examples/telescope/codegen/ibc/lcd.ts | 208 +- .../lightclients/localhost/v1/localhost.ts | 33 +- .../solomachine/v1/solomachine.ts | 477 ++--- .../solomachine/v2/solomachine.ts | 477 ++--- .../lightclients/tendermint/v1/tendermint.ts | 249 ++- examples/telescope/codegen/ibc/rpc.query.ts | 151 +- examples/telescope/codegen/index.ts | 2 +- .../codegen/tendermint/abci/types.ts | 1269 ++++-------- .../codegen/tendermint/crypto/keys.ts | 23 +- .../codegen/tendermint/crypto/proof.ts | 128 +- .../codegen/tendermint/libs/bits/types.ts | 26 +- .../telescope/codegen/tendermint/p2p/types.ts | 128 +- .../codegen/tendermint/types/block.ts | 29 +- .../codegen/tendermint/types/evidence.ts | 111 +- .../codegen/tendermint/types/params.ts | 192 +- .../codegen/tendermint/types/types.ts | 437 ++-- .../codegen/tendermint/types/validator.ts | 73 +- .../codegen/tendermint/version/types.ts | 52 +- examples/telescope/components/features.tsx | 86 +- examples/telescope/components/index.tsx | 9 +- .../components/react/address-card.tsx | 78 + .../components/{ => react}/astronaut.tsx | 18 +- .../telescope/components/react/chain-card.tsx | 38 + examples/telescope/components/react/index.ts | 6 + .../telescope/components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 183 ++ .../telescope/components/react/warn-block.tsx | 90 + examples/telescope/components/types.tsx | 24 +- examples/telescope/components/user-info.tsx | 54 - .../telescope/components/wallet-connect.tsx | 121 -- examples/telescope/components/wallet.tsx | 117 ++ examples/telescope/config/chain-infos.ts | 17 + examples/telescope/config/index.ts | 2 +- examples/telescope/config/theme.ts | 87 +- examples/telescope/package.json | 3 +- examples/telescope/pages/_app.tsx | 62 +- examples/telescope/pages/api/hello.ts | 13 - examples/telescope/pages/index.tsx | 273 ++- examples/telescope/scripts/codegen.js | 2 + yarn.lock | 44 +- 777 files changed, 41374 insertions(+), 41666 deletions(-) rename examples/{telescope-with-contracts => contracts}/.eslintrc.json (100%) rename examples/{telescope-with-contracts => contracts}/.gitignore (100%) rename examples/{telescope-with-contracts => contracts}/CHANGELOG.md (100%) rename examples/{telescope-with-contracts => contracts}/README.md (100%) rename examples/{telescope-with-contracts => contracts}/codegen/JunoSwap.client.ts (99%) rename examples/{telescope-with-contracts => contracts}/codegen/JunoSwap.types.ts (99%) rename examples/{telescope-with-contracts => contracts}/codegen/confio/proofs.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/contracts.ts (97%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/app/v1alpha1/config.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/app/v1alpha1/module.ts (67%) create mode 100644 examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/app/v1alpha1/query.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/auth/v1beta1/auth.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/auth/v1beta1/genesis.ts (71%) create mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/auth/v1beta1/query.rpc.query.ts (53%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/auth/v1beta1/query.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/authz.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/event.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/genesis.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/query.lcd.ts (67%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/query.rpc.query.ts (62%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/query.ts (72%) create mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/authz/v1beta1/tx.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/authz.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/bank.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/genesis.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/query.lcd.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/query.rpc.query.ts (57%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/query.ts (76%) create mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bank/v1beta1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/abci/v1beta1/abci.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/kv/v1beta1/kv.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/query/v1beta1/pagination.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/reflection/v1beta1/reflection.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/reflection/v2alpha1/reflection.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/store/v1beta1/commit_info.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/store/v1beta1/listening.ts (71%) create mode 100644 examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts (50%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/tendermint/v1beta1/query.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/base/v1beta1/coin.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/bundle.ts (62%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/capability/v1beta1/capability.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/capability/v1beta1/genesis.ts (74%) create mode 100644 examples/contracts/codegen/cosmos/client.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crisis/v1beta1/genesis.ts (76%) create mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts (82%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crisis/v1beta1/tx.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/ed25519/keys.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/hd/v1/hd.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/keyring/v1/record.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/multisig/keys.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/secp256k1/keys.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/crypto/secp256r1/keys.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/distribution.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/genesis.ts (70%) create mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/query.ts (76%) create mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/distribution/v1beta1/tx.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/evidence.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/genesis.ts (74%) create mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts (52%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/query.ts (74%) create mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts (83%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/evidence/v1beta1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/feegrant.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/genesis.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/query.lcd.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts (62%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/query.ts (74%) create mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts (82%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/feegrant/v1beta1/tx.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/genutil/v1beta1/genesis.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/genesis.ts (67%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/gov.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/query.lcd.ts (51%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/query.rpc.query.ts (61%) rename examples/{telescope-with-contracts/codegen/cosmos/gov/v1beta1 => contracts/codegen/cosmos/gov/v1}/query.ts (75%) create mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/tx.rpc.msg.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/genesis.ts (67%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/gov.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/query.lcd.ts (52%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/query.rpc.query.ts (61%) rename examples/{telescope-with-contracts/codegen/cosmos/gov/v1 => contracts/codegen/cosmos/gov/v1beta1}/query.ts (75%) create mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/gov/v1beta1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/events.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/genesis.ts (66%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/query.lcd.ts (55%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/query.rpc.query.ts (60%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/query.ts (75%) create mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/tx.rpc.msg.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/tx.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/group/v1/types.ts (78%) create mode 100644 examples/contracts/codegen/cosmos/lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/mint/v1beta1/genesis.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/mint/v1beta1/mint.ts (71%) create mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts create mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/mint/v1beta1/query.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/msg/v1/msg.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/event.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/genesis.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/nft.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/query.lcd.ts (52%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/query.rpc.query.ts (54%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/query.ts (76%) create mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/nft/v1beta1/tx.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/orm/v1/orm.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/orm/v1alpha1/schema.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/params/v1beta1/params.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/params/v1beta1/query.lcd.ts (57%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/params/v1beta1/query.rpc.query.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/params/v1beta1/query.ts (77%) create mode 100644 examples/contracts/codegen/cosmos/rpc.query.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/rpc.tx.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/genesis.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/query.lcd.ts (50%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts (51%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/query.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/slashing.ts (69%) create mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/slashing/v1beta1/tx.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/authz.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/genesis.ts (67%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/query.lcd.ts (53%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/query.rpc.query.ts (60%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/query.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/staking.ts (74%) create mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/staking/v1beta1/tx.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/tx/signing/v1beta1/signing.ts (77%) create mode 100644 examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts (57%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/tx/v1beta1/service.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/tx/v1beta1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/query.lcd.ts (55%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/query.ts (79%) create mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts (82%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/tx.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/upgrade/v1beta1/upgrade.ts (77%) create mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/vesting/v1beta1/tx.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos/vesting/v1beta1/vesting.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos_proto/bundle.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmos_proto/cosmos.ts (74%) create mode 100644 examples/contracts/codegen/cosmwasm/bundle.ts create mode 100644 examples/contracts/codegen/cosmwasm/client.ts create mode 100644 examples/contracts/codegen/cosmwasm/lcd.ts create mode 100644 examples/contracts/codegen/cosmwasm/rpc.query.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/rpc.tx.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/genesis.ts (69%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/ibc.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/proposal.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/query.lcd.ts (54%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/query.rpc.query.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/query.ts (74%) create mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/tx.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/cosmwasm/wasm/v1/types.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/gogoproto/bundle.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/gogoproto/gogo.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/google/api/annotations.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/google/api/http.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/google/bundle.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/any.ts (57%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/descriptor.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/duration.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/empty.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/field_mask.ts (54%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/struct.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/timestamp.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/google/protobuf/wrappers.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/genesis.ts (69%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/query.lcd.ts (53%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/query.rpc.query.ts (54%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/query.ts (77%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/transfer.ts (78%) create mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts (66%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v1/tx.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/applications/transfer/v2/packet.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/bundle.ts (59%) create mode 100644 examples/contracts/codegen/ibc/client.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/channel.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/genesis.ts (64%) create mode 100644 examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/query.rpc.query.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/query.ts (73%) create mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/tx.rpc.msg.ts (78%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/channel/v1/tx.ts (73%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/client.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/genesis.ts (68%) create mode 100644 examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/query.rpc.query.ts (54%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/query.ts (76%) create mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/tx.rpc.msg.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/client/v1/tx.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/commitment/v1/commitment.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/connection.ts (76%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/genesis.ts (66%) create mode 100644 examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/query.rpc.query.ts (56%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/query.ts (73%) create mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts create mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.registry.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/tx.rpc.msg.ts (79%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/connection/v1/tx.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/port/v1/query.rpc.query.ts (59%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/port/v1/query.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/core/types/v1/genesis.ts (73%) create mode 100644 examples/contracts/codegen/ibc/lcd.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/lightclients/localhost/v1/localhost.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/lightclients/solomachine/v1/solomachine.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/lightclients/solomachine/v2/solomachine.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/ibc/lightclients/tendermint/v1/tendermint.ts (71%) create mode 100644 examples/contracts/codegen/ibc/rpc.query.ts rename examples/{telescope-with-contracts => contracts}/codegen/ibc/rpc.tx.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/ics23/bundle.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/index.ts (80%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/abci/types.ts (72%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/bundle.ts (100%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/crypto/keys.ts (69%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/crypto/proof.ts (71%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/libs/bits/types.ts (74%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/p2p/types.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/types/block.ts (69%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/types/evidence.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/types/params.ts (75%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/types/types.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/types/validator.ts (70%) rename examples/{telescope-with-contracts => contracts}/codegen/tendermint/version/types.ts (76%) create mode 100644 examples/contracts/components/features.tsx create mode 100644 examples/contracts/components/index.tsx create mode 100644 examples/contracts/components/react/address-card.tsx rename examples/{telescope-with-contracts/components => contracts/components/react}/astronaut.tsx (100%) create mode 100644 examples/contracts/components/react/chain-card.tsx create mode 100644 examples/contracts/components/react/index.ts create mode 100644 examples/contracts/components/react/user-card.tsx create mode 100644 examples/contracts/components/react/wallet-connect.tsx create mode 100644 examples/contracts/components/react/warn-block.tsx rename examples/{telescope-with-contracts => contracts}/components/types.tsx (83%) create mode 100644 examples/contracts/components/wallet.tsx create mode 100644 examples/contracts/config/chain-infos.ts rename examples/{telescope-with-contracts => contracts}/config/features.ts (100%) create mode 100644 examples/contracts/config/index.ts create mode 100644 examples/contracts/config/theme.ts rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/README.md (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/package.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/balance_response.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/execute_msg.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/info_response.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/instantiate_msg.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/query_msg.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/token.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/token1_for_token2_price_response.json (100%) rename examples/{telescope-with-contracts => contracts}/contracts/wasmswap/schema/token2_for_token1_price_response.json (100%) rename examples/{telescope-with-contracts => contracts}/next.config.js (100%) rename examples/{telescope-with-contracts => contracts}/package.json (91%) create mode 100644 examples/contracts/pages/_app.tsx create mode 100644 examples/contracts/pages/index.tsx rename examples/{telescope-with-contracts => contracts}/proto/confio/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/confio/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/confio/proofs.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/app/v1alpha1/config.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/app/v1alpha1/module.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/app/v1alpha1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/auth/v1beta1/auth.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/auth/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/auth/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/authz/v1beta1/authz.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/authz/v1beta1/event.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/authz/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/authz/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/authz/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/bank/v1beta1/authz.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/bank/v1beta1/bank.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/bank/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/bank/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/bank/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/abci/v1beta1/abci.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/kv/v1beta1/kv.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/query/v1beta1/pagination.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/reflection/v1beta1/reflection.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/reflection/v2alpha1/reflection.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/snapshots/v1beta1/snapshot.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/store/v1beta1/commit_info.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/store/v1beta1/listening.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/tendermint/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/base/v1beta1/coin.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/capability/v1beta1/capability.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/capability/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crisis/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crisis/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/ed25519/keys.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/hd/v1/hd.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/keyring/v1/record.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/multisig/keys.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/multisig/v1beta1/multisig.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/secp256k1/keys.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/crypto/secp256r1/keys.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/distribution/v1beta1/distribution.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/distribution/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/distribution/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/distribution/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/evidence/v1beta1/evidence.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/evidence/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/evidence/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/evidence/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/feegrant/v1beta1/feegrant.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/feegrant/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/feegrant/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/feegrant/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/genutil/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1/gov.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1beta1/gov.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/gov/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/group/v1/events.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/group/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/group/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/group/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/group/v1/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/mint/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/mint/v1beta1/mint.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/mint/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/msg/v1/msg.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/nft/v1beta1/event.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/nft/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/nft/v1beta1/nft.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/nft/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/nft/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/orm/v1/orm.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/orm/v1alpha1/schema.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/params/v1beta1/params.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/params/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/slashing/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/slashing/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/slashing/v1beta1/slashing.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/slashing/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/staking/v1beta1/authz.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/staking/v1beta1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/staking/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/staking/v1beta1/staking.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/staking/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/tx/signing/v1beta1/signing.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/tx/v1beta1/service.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/tx/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/upgrade/v1beta1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/upgrade/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/upgrade/v1beta1/upgrade.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/vesting/v1beta1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos/vesting/v1beta1/vesting.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos_proto/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos_proto/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmos_proto/cosmos.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/ibc.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/proposal.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/cosmwasm/wasm/v1/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/gogoproto/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/gogoproto/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/gogoproto/gogo.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/api/annotations.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/api/http.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/protobuf/any.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/protobuf/descriptor.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/protobuf/duration.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/protobuf/empty.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/google/protobuf/timestamp.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/applications/transfer/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/applications/transfer/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/applications/transfer/v1/transfer.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/applications/transfer/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/applications/transfer/v2/packet.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/channel/v1/channel.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/channel/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/channel/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/channel/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/client/v1/client.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/client/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/client/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/client/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/commitment/v1/commitment.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/connection/v1/connection.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/connection/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/connection/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/connection/v1/tx.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/port/v1/query.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/core/types/v1/genesis.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/lightclients/localhost/v1/localhost.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/lightclients/solomachine/v1/solomachine.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/lightclients/solomachine/v2/solomachine.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/ibc/lightclients/tendermint/v1/tendermint.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/LICENSE (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/README.md (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/abci/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/crypto/keys.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/crypto/proof.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/libs/bits/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/p2p/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/types/block.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/types/evidence.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/types/params.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/types/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/types/validator.proto (100%) rename examples/{telescope-with-contracts => contracts}/proto/tendermint/version/types.proto (100%) rename examples/{telescope-with-contracts => contracts}/public/favicon.ico (100%) rename examples/{telescope-with-contracts => contracts}/scripts/codegen.js (96%) rename examples/{telescope-with-contracts => contracts}/styles/Home.module.css (100%) rename examples/{telescope-with-contracts => contracts}/styles/globals.css (100%) rename examples/{telescope-with-contracts => contracts}/tsconfig.json (100%) rename examples/{telescope-with-contracts => contracts}/utils.ts (100%) delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts delete mode 100644 examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/ibc/lcd.ts delete mode 100644 examples/telescope-with-contracts/codegen/ibc/rpc.query.ts delete mode 100644 examples/telescope-with-contracts/components/features.tsx delete mode 100644 examples/telescope-with-contracts/components/index.tsx delete mode 100644 examples/telescope-with-contracts/components/user-info.tsx delete mode 100644 examples/telescope-with-contracts/components/wallet-connect.tsx delete mode 100644 examples/telescope-with-contracts/config/index.ts delete mode 100644 examples/telescope-with-contracts/config/theme.ts delete mode 100644 examples/telescope-with-contracts/pages/_app.tsx delete mode 100644 examples/telescope-with-contracts/pages/api/hello.ts delete mode 100644 examples/telescope-with-contracts/pages/index.tsx create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts create mode 100644 examples/telescope/components/react/address-card.tsx rename examples/telescope/components/{ => react}/astronaut.tsx (97%) create mode 100644 examples/telescope/components/react/chain-card.tsx create mode 100644 examples/telescope/components/react/index.ts create mode 100644 examples/telescope/components/react/user-card.tsx create mode 100644 examples/telescope/components/react/wallet-connect.tsx create mode 100644 examples/telescope/components/react/warn-block.tsx delete mode 100644 examples/telescope/components/user-info.tsx delete mode 100644 examples/telescope/components/wallet-connect.tsx create mode 100644 examples/telescope/components/wallet.tsx create mode 100644 examples/telescope/config/chain-infos.ts delete mode 100644 examples/telescope/pages/api/hello.ts diff --git a/examples/telescope-with-contracts/.eslintrc.json b/examples/contracts/.eslintrc.json similarity index 100% rename from examples/telescope-with-contracts/.eslintrc.json rename to examples/contracts/.eslintrc.json diff --git a/examples/telescope-with-contracts/.gitignore b/examples/contracts/.gitignore similarity index 100% rename from examples/telescope-with-contracts/.gitignore rename to examples/contracts/.gitignore diff --git a/examples/telescope-with-contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md similarity index 100% rename from examples/telescope-with-contracts/CHANGELOG.md rename to examples/contracts/CHANGELOG.md diff --git a/examples/telescope-with-contracts/README.md b/examples/contracts/README.md similarity index 100% rename from examples/telescope-with-contracts/README.md rename to examples/contracts/README.md diff --git a/examples/telescope-with-contracts/codegen/JunoSwap.client.ts b/examples/contracts/codegen/JunoSwap.client.ts similarity index 99% rename from examples/telescope-with-contracts/codegen/JunoSwap.client.ts rename to examples/contracts/codegen/JunoSwap.client.ts index 188eb28d3..adb6ca06e 100644 --- a/examples/telescope-with-contracts/codegen/JunoSwap.client.ts +++ b/examples/contracts/codegen/JunoSwap.client.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/telescope-with-contracts/codegen/JunoSwap.types.ts b/examples/contracts/codegen/JunoSwap.types.ts similarity index 99% rename from examples/telescope-with-contracts/codegen/JunoSwap.types.ts rename to examples/contracts/codegen/JunoSwap.types.ts index c5dae2f44..1e14b26b1 100644 --- a/examples/telescope-with-contracts/codegen/JunoSwap.types.ts +++ b/examples/contracts/codegen/JunoSwap.types.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/telescope-with-contracts/codegen/confio/proofs.ts b/examples/contracts/codegen/confio/proofs.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/confio/proofs.ts rename to examples/contracts/codegen/confio/proofs.ts index 733236dee..d7c8dab0e 100644 --- a/examples/telescope-with-contracts/codegen/confio/proofs.ts +++ b/examples/contracts/codegen/confio/proofs.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; export enum HashOp { /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ NO_HASH = 0, @@ -12,6 +11,18 @@ export enum HashOp { BITCOIN = 5, UNRECOGNIZED = -1, } +export enum HashOpSDKType { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} export function hashOpFromJSON(object: any): HashOp { switch (object) { case 0: @@ -68,13 +79,13 @@ export function hashOpToJSON(object: HashOp): string { return "UNKNOWN"; } } - /** * LengthOp defines how to process the key and value of the LeafOp * to include length information. After encoding the length with the given * algorithm, the length will be prepended to the key and value bytes. * (Each one with it's own encoded length) */ + export enum LengthOp { /** NO_PREFIX - NO_PREFIX don't include any length info */ NO_PREFIX = 0, @@ -104,6 +115,42 @@ export enum LengthOp { REQUIRE_64_BYTES = 8, UNRECOGNIZED = -1, } +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ + +export enum LengthOpSDKType { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} export function lengthOpFromJSON(object: any): LengthOp { switch (object) { case 0: @@ -181,7 +228,6 @@ export function lengthOpToJSON(object: LengthOp): string { return "UNKNOWN"; } } - /** * ExistenceProof takes a key and a value and a set of steps to perform on it. * The result of peforming all these steps will provide a "root hash", which can @@ -203,33 +249,81 @@ export function lengthOpToJSON(object: LengthOp): string { * in the ProofSpec is valuable to prevent this mutability. And why all trees should * length-prefix the data before hashing it. */ + export interface ExistenceProof { key: Uint8Array; value: Uint8Array; leaf: LeafOp | undefined; path: InnerOp[]; } +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ +export interface ExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOpSDKType | undefined; + path: InnerOpSDKType[]; +} /** * NonExistenceProof takes a proof of two neighbors, one left of the desired key, * one right of the desired key. If both proofs are valid AND they are neighbors, * then there is no valid proof for the given key. */ + export interface NonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; left: ExistenceProof | undefined; right: ExistenceProof | undefined; } +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ +export interface NonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: ExistenceProofSDKType | undefined; + right: ExistenceProofSDKType | undefined; +} /** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ + export interface CommitmentProof { exist?: ExistenceProof | undefined; nonexist?: NonExistenceProof | undefined; batch?: BatchProof | undefined; compressed?: CompressedBatchProof | undefined; } +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ +export interface CommitmentProofSDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; + batch?: BatchProofSDKType | undefined; + compressed?: CompressedBatchProofSDKType | undefined; +} /** * LeafOp represents the raw key-value data we wish to prove, and * must be flexible to represent the internal transformation from @@ -246,19 +340,48 @@ export interface CommitmentProof { * Then combine the bytes, and hash it * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) */ + export interface LeafOp { hash: HashOp; prehashKey: HashOp; prehashValue: HashOp; length: LengthOp; - /** * prefix is a fixed bytes that may optionally be included at the beginning to differentiate * a leaf node from an inner node. */ + prefix: Uint8Array; } +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ +export interface LeafOpSDKType { + hash: HashOpSDKType; + prehash_key: HashOpSDKType; + prehash_value: HashOpSDKType; + length: LengthOpSDKType; + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + + prefix: Uint8Array; +} /** * InnerOp represents a merkle-proof step that is not a leaf. * It represents concatenating two children and hashing them to provide the next result. @@ -276,12 +399,35 @@ export interface LeafOp { * some value to differentiate from leaf nodes, should be included in prefix and suffix. * If either of prefix or suffix is empty, we just treat it as an empty string */ + export interface InnerOp { hash: HashOp; prefix: Uint8Array; suffix: Uint8Array; } +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ +export interface InnerOpSDKType { + hash: HashOpSDKType; + prefix: Uint8Array; + suffix: Uint8Array; +} /** * ProofSpec defines what the expected parameters are for a given proof type. * This can be stored in the client and used to validate any incoming proofs. @@ -294,6 +440,7 @@ export interface InnerOp { * We need this for proper security, requires client knows a priori what * tree format server uses. But not in code, rather a configuration object. */ + export interface ProofSpec { /** * any field in the ExistenceProof must be the same as in this spec. @@ -301,14 +448,40 @@ export interface ProofSpec { */ leafSpec: LeafOp | undefined; innerSpec: InnerSpec | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - maxDepth: number; + maxDepth: number; /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + minDepth: number; } +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ + +export interface ProofSpecSDKType { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leaf_spec: LeafOpSDKType | undefined; + inner_spec: InnerSpecSDKType | undefined; + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + max_depth: number; + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + + min_depth: number; +} /** * InnerSpec contains all store-specific structure info to determine if two proofs from a * given store are neighbors. @@ -319,6 +492,7 @@ export interface ProofSpec { * isRightMost(spec: InnerSpec, op: InnerOp) * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) */ + export interface InnerSpec { /** * Child order is the ordering of the children node, must count from 0 @@ -329,40 +503,97 @@ export interface InnerSpec { childSize: number; minPrefixLength: number; maxPrefixLength: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - emptyChild: Uint8Array; + emptyChild: Uint8Array; /** hash is the algorithm that must be used for each InnerOp */ + hash: HashOp; } +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ +export interface InnerSpecSDKType { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + child_order: number[]; + child_size: number; + min_prefix_length: number; + max_prefix_length: number; + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + + empty_child: Uint8Array; + /** hash is the algorithm that must be used for each InnerOp */ + + hash: HashOpSDKType; +} /** BatchProof is a group of multiple proof types than can be compressed */ + export interface BatchProof { entries: BatchEntry[]; } +/** BatchProof is a group of multiple proof types than can be compressed */ +export interface BatchProofSDKType { + entries: BatchEntrySDKType[]; +} /** Use BatchEntry not CommitmentProof, to avoid recursion */ + export interface BatchEntry { exist?: ExistenceProof | undefined; nonexist?: NonExistenceProof | undefined; } +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface BatchEntrySDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; +} export interface CompressedBatchProof { entries: CompressedBatchEntry[]; lookupInners: InnerOp[]; } - +export interface CompressedBatchProofSDKType { + entries: CompressedBatchEntrySDKType[]; + lookup_inners: InnerOpSDKType[]; +} /** Use BatchEntry not CommitmentProof, to avoid recursion */ + export interface CompressedBatchEntry { exist?: CompressedExistenceProof | undefined; nonexist?: CompressedNonExistenceProof | undefined; } +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface CompressedBatchEntrySDKType { + exist?: CompressedExistenceProofSDKType | undefined; + nonexist?: CompressedNonExistenceProofSDKType | undefined; +} export interface CompressedExistenceProof { key: Uint8Array; value: Uint8Array; leaf: LeafOp | undefined; + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; +} +export interface CompressedExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOpSDKType | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; } export interface CompressedNonExistenceProof { @@ -371,6 +602,12 @@ export interface CompressedNonExistenceProof { left: CompressedExistenceProof | undefined; right: CompressedExistenceProof | undefined; } +export interface CompressedNonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: CompressedExistenceProofSDKType | undefined; + right: CompressedExistenceProofSDKType | undefined; +} function createBaseExistenceProof(): ExistenceProof { return { @@ -436,30 +673,6 @@ export const ExistenceProof = { return message; }, - fromJSON(object: any): ExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromJSON(e)) : [] - }; - }, - - toJSON(message: ExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - - if (message.path) { - obj.path = message.path.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.path = []; - } - - return obj; - }, - fromPartial(object: Partial): ExistenceProof { const message = createBaseExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -526,22 +739,6 @@ export const NonExistenceProof = { return message; }, - fromJSON(object: any): NonExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - left: isSet(object.left) ? ExistenceProof.fromJSON(object.left) : undefined, - right: isSet(object.right) ? ExistenceProof.fromJSON(object.right) : undefined - }; - }, - - toJSON(message: NonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: Partial): NonExistenceProof { const message = createBaseNonExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -616,24 +813,6 @@ export const CommitmentProof = { return message; }, - fromJSON(object: any): CommitmentProof { - return { - exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined, - batch: isSet(object.batch) ? BatchProof.fromJSON(object.batch) : undefined, - compressed: isSet(object.compressed) ? CompressedBatchProof.fromJSON(object.compressed) : undefined - }; - }, - - toJSON(message: CommitmentProof): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined); - message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined); - return obj; - }, - fromPartial(object: Partial): CommitmentProof { const message = createBaseCommitmentProof(); message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; @@ -718,26 +897,6 @@ export const LeafOp = { return message; }, - fromJSON(object: any): LeafOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, - prehashKey: isSet(object.prehashKey) ? hashOpFromJSON(object.prehashKey) : 0, - prehashValue: isSet(object.prehashValue) ? hashOpFromJSON(object.prehashValue) : 0, - length: isSet(object.length) ? lengthOpFromJSON(object.length) : 0, - prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array() - }; - }, - - toJSON(message: LeafOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey)); - message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue)); - message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): LeafOp { const message = createBaseLeafOp(); message.hash = object.hash ?? 0; @@ -805,22 +964,6 @@ export const InnerOp = { return message; }, - fromJSON(object: any): InnerOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, - prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(), - suffix: isSet(object.suffix) ? bytesFromBase64(object.suffix) : new Uint8Array() - }; - }, - - toJSON(message: InnerOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - message.suffix !== undefined && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): InnerOp { const message = createBaseInnerOp(); message.hash = object.hash ?? 0; @@ -895,24 +1038,6 @@ export const ProofSpec = { return message; }, - fromJSON(object: any): ProofSpec { - return { - leafSpec: isSet(object.leafSpec) ? LeafOp.fromJSON(object.leafSpec) : undefined, - innerSpec: isSet(object.innerSpec) ? InnerSpec.fromJSON(object.innerSpec) : undefined, - maxDepth: isSet(object.maxDepth) ? Number(object.maxDepth) : 0, - minDepth: isSet(object.minDepth) ? Number(object.minDepth) : 0 - }; - }, - - toJSON(message: ProofSpec): unknown { - const obj: any = {}; - message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined); - message.innerSpec !== undefined && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined); - message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth)); - message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth)); - return obj; - }, - fromPartial(object: Partial): ProofSpec { const message = createBaseProofSpec(); message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; @@ -1019,34 +1144,6 @@ export const InnerSpec = { return message; }, - fromJSON(object: any): InnerSpec { - return { - childOrder: Array.isArray(object?.childOrder) ? object.childOrder.map((e: any) => Number(e)) : [], - childSize: isSet(object.childSize) ? Number(object.childSize) : 0, - minPrefixLength: isSet(object.minPrefixLength) ? Number(object.minPrefixLength) : 0, - maxPrefixLength: isSet(object.maxPrefixLength) ? Number(object.maxPrefixLength) : 0, - emptyChild: isSet(object.emptyChild) ? bytesFromBase64(object.emptyChild) : new Uint8Array(), - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0 - }; - }, - - toJSON(message: InnerSpec): unknown { - const obj: any = {}; - - if (message.childOrder) { - obj.childOrder = message.childOrder.map(e => Math.round(e)); - } else { - obj.childOrder = []; - } - - message.childSize !== undefined && (obj.childSize = Math.round(message.childSize)); - message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength)); - message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength)); - message.emptyChild !== undefined && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array())); - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - return obj; - }, - fromPartial(object: Partial): InnerSpec { const message = createBaseInnerSpec(); message.childOrder = object.childOrder?.map(e => e) || []; @@ -1097,24 +1194,6 @@ export const BatchProof = { return message; }, - fromJSON(object: any): BatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromJSON(e)) : [] - }; - }, - - toJSON(message: BatchProof): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? BatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - return obj; - }, - fromPartial(object: Partial): BatchProof { const message = createBaseBatchProof(); message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; @@ -1169,20 +1248,6 @@ export const BatchEntry = { return message; }, - fromJSON(object: any): BatchEntry { - return { - exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined - }; - }, - - toJSON(message: BatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: Partial): BatchEntry { const message = createBaseBatchEntry(); message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; @@ -1238,31 +1303,6 @@ export const CompressedBatchProof = { return message; }, - fromJSON(object: any): CompressedBatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromJSON(e)) : [], - lookupInners: Array.isArray(object?.lookupInners) ? object.lookupInners.map((e: any) => InnerOp.fromJSON(e)) : [] - }; - }, - - toJSON(message: CompressedBatchProof): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - if (message.lookupInners) { - obj.lookupInners = message.lookupInners.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.lookupInners = []; - } - - return obj; - }, - fromPartial(object: Partial): CompressedBatchProof { const message = createBaseCompressedBatchProof(); message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; @@ -1318,20 +1358,6 @@ export const CompressedBatchEntry = { return message; }, - fromJSON(object: any): CompressedBatchEntry { - return { - exist: isSet(object.exist) ? CompressedExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? CompressedNonExistenceProof.fromJSON(object.nonexist) : undefined - }; - }, - - toJSON(message: CompressedBatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: Partial): CompressedBatchEntry { const message = createBaseCompressedBatchEntry(); message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; @@ -1417,30 +1443,6 @@ export const CompressedExistenceProof = { return message; }, - fromJSON(object: any): CompressedExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [] - }; - }, - - toJSON(message: CompressedExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - - return obj; - }, - fromPartial(object: Partial): CompressedExistenceProof { const message = createBaseCompressedExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -1507,22 +1509,6 @@ export const CompressedNonExistenceProof = { return message; }, - fromJSON(object: any): CompressedNonExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - left: isSet(object.left) ? CompressedExistenceProof.fromJSON(object.left) : undefined, - right: isSet(object.right) ? CompressedExistenceProof.fromJSON(object.right) : undefined - }; - }, - - toJSON(message: CompressedNonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: Partial): CompressedNonExistenceProof { const message = createBaseCompressedNonExistenceProof(); message.key = object.key ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/contracts.ts b/examples/contracts/codegen/contracts.ts similarity index 97% rename from examples/telescope-with-contracts/codegen/contracts.ts rename to examples/contracts/codegen/contracts.ts index 205908413..b53b0c5bf 100644 --- a/examples/telescope-with-contracts/codegen/contracts.ts +++ b/examples/contracts/codegen/contracts.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.13.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts rename to examples/contracts/codegen/cosmos/app/v1alpha1/config.ts index af41c6a29..7311e877d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/config.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts @@ -1,7 +1,5 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * Config represents the configuration for a Cosmos SDK ABCI app. * It is intended that all state machine logic including the version of @@ -11,12 +9,27 @@ import { isSet } from "@osmonauts/helpers"; * 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[]; } +/** + * 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 are the module configurations for the app. */ + 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 @@ -31,13 +44,36 @@ export interface ModuleConfig { * 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 | undefined; } +/** ModuleConfig is a module configuration for an app. */ + +export interface ModuleConfigSDKType { + /** + * 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: AnySDKType | undefined; +} function createBaseConfig(): Config { return { @@ -76,24 +112,6 @@ export const Config = { 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)) || []; @@ -148,20 +166,6 @@ export const ModuleConfig = { 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 ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts similarity index 67% rename from examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts rename to examples/contracts/codegen/cosmos/app/v1alpha1/module.ts index ff474b82b..c5d0b3f12 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/module.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ModuleDescriptor describes an app module. */ + export interface ModuleDescriptor { /** * go_import names the package that should be imported by an app to load the @@ -11,15 +10,14 @@ export interface ModuleDescriptor { * precedence over go_package when both are defined. */ 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[]; + 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 @@ -29,14 +27,45 @@ export interface ModuleDescriptor { * 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[]; } +/** ModuleDescriptor describes an app module. */ + +export interface ModuleDescriptorSDKType { + /** + * go_import names the package that should be imported by an app to load the + * module in the runtime module registry. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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: PackageReferenceSDKType[]; + /** + * 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: 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 @@ -74,13 +103,59 @@ export interface PackageReference { * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ + revision: number; } +/** PackageReference is a reference to a protobuf package used by a module. */ +export interface PackageReferenceSDKType { + /** 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 fields containing the + * test "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + + revision: number; +} /** * MigrateFromInfo is information on a module version that a newer module * can migrate from. */ + export interface MigrateFromInfo { /** * module is the fully-qualified protobuf name of the module config object @@ -88,6 +163,18 @@ export interface MigrateFromInfo { */ module: string; } +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ + +export interface MigrateFromInfoSDKType { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} function createBaseModuleDescriptor(): ModuleDescriptor { return { @@ -144,33 +231,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 ?? ""; @@ -227,20 +287,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 ?? ""; @@ -287,18 +333,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/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts new file mode 100644 index 000000000..6668d2141 --- /dev/null +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -0,0 +1,36 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryConfigRequest, QueryConfigResponse, QueryConfigResponseSDKType } from "./query"; +/** Query defines the RPC service */ + +export interface Query { + config(request?: QueryConfigRequest): Promise; + /*Config returns the current app config.*/ + +} +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 _m0.Reader(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/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts rename to examples/contracts/codegen/cosmos/app/v1alpha1/query.ts index 0c4705584..1b446bb0a 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts @@ -1,15 +1,23 @@ -import { Config } from "./config"; +import { Config, ConfigSDKType } from "./config"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryConfigRequest is the Query/Config request type. */ + export interface QueryConfigRequest {} +/** 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 | undefined; } +/** QueryConfigRequest is the Query/Config response type. */ + +export interface QueryConfigResponseSDKType { + /** config is the current app config. */ + config: ConfigSDKType | undefined; +} function createBaseQueryConfigRequest(): QueryConfigRequest { return {}; @@ -38,15 +46,6 @@ export const QueryConfigRequest = { return message; }, - fromJSON(_: any): QueryConfigRequest { - return {}; - }, - - toJSON(_: QueryConfigRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): QueryConfigRequest { const message = createBaseQueryConfigRequest(); return message; @@ -69,7 +68,7 @@ export const QueryConfigResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConfigResponse(); @@ -91,18 +90,6 @@ export const QueryConfigResponse = { 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; diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts rename to examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts index bc7847cf5..fd0a598b7 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/auth.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts @@ -1,27 +1,46 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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 { address: string; pubKey: Any | undefined; accountNumber: Long; sequence: Long; } +/** + * 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 { + address: string; + pub_key: AnySDKType | undefined; + account_number: Long; + sequence: Long; +} /** ModuleAccount defines an account for modules that holds coins on a pool. */ + export interface ModuleAccount { baseAccount: BaseAccount | undefined; name: string; permissions: string[]; } +/** ModuleAccount defines an account for modules that holds coins on a pool. */ +export interface ModuleAccountSDKType { + base_account: BaseAccountSDKType | undefined; + name: string; + permissions: string[]; +} /** Params defines the parameters for the auth module. */ + export interface Params { maxMemoCharacters: Long; txSigLimit: Long; @@ -29,6 +48,15 @@ export interface Params { sigVerifyCostEd25519: Long; sigVerifyCostSecp256k1: Long; } +/** 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; +} function createBaseBaseAccount(): BaseAccount { return { @@ -94,24 +122,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) ? Long.fromString(object.accountNumber) : Long.UZERO, - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BaseAccount { const message = createBaseBaseAccount(); message.address = object.address ?? ""; @@ -178,28 +188,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; @@ -283,26 +271,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - maxMemoCharacters: isSet(object.maxMemoCharacters) ? Long.fromString(object.maxMemoCharacters) : Long.UZERO, - txSigLimit: isSet(object.txSigLimit) ? Long.fromString(object.txSigLimit) : Long.UZERO, - txSizeCostPerByte: isSet(object.txSizeCostPerByte) ? Long.fromString(object.txSizeCostPerByte) : Long.UZERO, - sigVerifyCostEd25519: isSet(object.sigVerifyCostEd25519) ? Long.fromString(object.sigVerifyCostEd25519) : Long.UZERO, - sigVerifyCostSecp256k1: isSet(object.sigVerifyCostSecp256k1) ? Long.fromString(object.sigVerifyCostSecp256k1) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || Long.UZERO).toString()); - message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || Long.UZERO).toString()); - message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || Long.UZERO).toString()); - message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || Long.UZERO).toString()); - message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts index fbbe3e70a..4db2ee8df 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts @@ -1,16 +1,24 @@ -import { Params } from "./auth"; -import { Any } from "../../../google/protobuf/any"; +import { Params, ParamsSDKType } from "./auth"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the auth module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** accounts are the accounts present at genesis. */ + accounts: Any[]; } +/** GenesisState defines the auth module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** accounts are the accounts present at genesis. */ + + accounts: AnySDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -58,26 +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/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts new file mode 100644 index 000000000..df358f6f3 --- /dev/null +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -0,0 +1,83 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); + } + /* Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43 */ + + + async accounts(params: QueryAccountsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/auth/v1beta1/accounts`; + return await this.req.get(endpoint, options); + } + /* Account returns account details based on address. */ + + + async account(params: QueryAccountRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; + return await this.req.get(endpoint); + } + /* Params queries all parameters. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/params`; + return await this.req.get(endpoint); + } + /* ModuleAccounts returns all the existing module accounts. */ + + + async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/module_accounts`; + return await this.req.get(endpoint); + } + /* Bech32 queries bech32Prefix */ + + + async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32`; + return await this.req.get(endpoint); + } + /* AddressBytesToString converts Account Address bytes to string */ + + + async addressBytesToString(params: AddressBytesToStringRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; + return await this.req.get(endpoint); + } + /* AddressStringToBytes converts Address string to bytes */ + + + async addressStringToBytes(params: AddressStringToBytesRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts similarity index 53% rename from examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts index 47d81248e..ad16465b5 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -1,33 +1,31 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - accounts(request: QueryAccountsRequest): Promise; + accounts(request?: QueryAccountsRequest): Promise; /*Accounts returns all the existing accounts Since: cosmos-sdk 0.43*/ - account(request: QueryAccountRequest): Promise; + account(request: QueryAccountRequest): Promise; /*Account returns account details based on address.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries all parameters.*/ - moduleAccounts(request: QueryModuleAccountsRequest): Promise; + moduleAccounts(request?: QueryModuleAccountsRequest): Promise; /*ModuleAccounts returns all the existing module accounts.*/ - bech32Prefix(request: Bech32PrefixRequest): Promise; + bech32Prefix(request?: Bech32PrefixRequest): Promise; /*Bech32 queries bech32Prefix*/ - addressBytesToString(request: AddressBytesToStringRequest): Promise; + addressBytesToString(request: AddressBytesToStringRequest): Promise; /*AddressBytesToString converts Account Address bytes to string*/ - addressStringToBytes(request: AddressStringToBytesRequest): Promise; + addressStringToBytes(request: AddressStringToBytesRequest): Promise; /*AddressStringToBytes converts Address string to bytes*/ } @@ -45,46 +43,82 @@ export class QueryClientImpl implements Query { this.addressStringToBytes = this.addressStringToBytes.bind(this); } - accounts(request: QueryAccountsRequest): Promise { + accounts(request: QueryAccountsRequest = { + pagination: undefined + }): Promise { const data = QueryAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); } - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { const data = QueryAccountRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - moduleAccounts(request: QueryModuleAccountsRequest): Promise { + moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { const data = QueryModuleAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); } - bech32Prefix(request: Bech32PrefixRequest): Promise { + bech32Prefix(request: Bech32PrefixRequest = {}): Promise { const data = Bech32PrefixRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); } - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { const data = AddressBytesToStringRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); } - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { const data = AddressStringToBytesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + accounts(request?: QueryAccountsRequest): Promise { + return queryService.accounts(request); + }, + + account(request: QueryAccountRequest): Promise { + return queryService.account(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + moduleAccounts(request?: QueryModuleAccountsRequest): Promise { + return queryService.moduleAccounts(request); + }, + + bech32Prefix(request?: Bech32PrefixRequest): Promise { + return queryService.bech32Prefix(request); + }, + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + return queryService.addressBytesToString(request); + }, + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + return queryService.addressStringToBytes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/auth/v1beta1/query.ts index 08b90d478..b2afad6d5 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts @@ -1,88 +1,167 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Params, ParamsSDKType } from "./auth"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * 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 | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryAccountsRequest is the request type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryAccountsRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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: Any[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryAccountsResponse is the response type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryAccountsResponseSDKType { + /** accounts are the existing accounts */ + accounts: AnySDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryAccountRequest is the request type for the Query/Account RPC method. */ + export interface QueryAccountRequest { /** address defines the address to query for. */ address: string; } +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ +export interface QueryAccountRequestSDKType { + /** address defines the address to query for. */ + address: string; +} /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ + export interface QueryModuleAccountsRequest {} +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsRequestSDKType {} /** QueryParamsResponse is the response type for the Query/Params RPC method. */ + export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** QueryAccountResponse is the response type for the Query/Account RPC method. */ + export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ account: Any | undefined; } +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ +export interface QueryAccountResponseSDKType { + /** account defines the account of the corresponding address. */ + account: AnySDKType | undefined; +} /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType {} /** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ + export interface QueryModuleAccountsResponse { accounts: Any[]; } +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsResponseSDKType { + accounts: AnySDKType[]; +} /** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ + export interface Bech32PrefixRequest {} +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ +export interface Bech32PrefixRequestSDKType {} /** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ + export interface Bech32PrefixResponse { bech32Prefix: string; } +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ +export interface Bech32PrefixResponseSDKType { + bech32_prefix: string; +} /** AddressBytesToStringRequest is the request type for AddressString rpc method */ + export interface AddressBytesToStringRequest { addressBytes: Uint8Array; } +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ +export interface AddressBytesToStringRequestSDKType { + address_bytes: Uint8Array; +} /** AddressBytesToStringResponse is the response type for AddressString rpc method */ + export interface AddressBytesToStringResponse { addressString: string; } +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ +export interface AddressBytesToStringResponseSDKType { + address_string: string; +} /** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ + export interface AddressStringToBytesRequest { addressString: string; } +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ +export interface AddressStringToBytesRequestSDKType { + address_string: string; +} /** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + export interface AddressStringToBytesResponse { addressBytes: Uint8Array; } +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + +export interface AddressStringToBytesResponseSDKType { + address_bytes: Uint8Array; +} function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { @@ -121,18 +200,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; @@ -161,7 +228,7 @@ export const QueryAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountsResponse(); @@ -187,26 +254,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)) || []; @@ -253,18 +300,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 ?? ""; @@ -300,15 +335,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; @@ -331,7 +357,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -353,18 +379,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; @@ -388,7 +402,7 @@ export const QueryAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountResponse(); @@ -410,18 +424,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; @@ -457,15 +459,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; @@ -488,7 +481,7 @@ export const QueryModuleAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleAccountsResponse(); @@ -510,24 +503,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)) || []; @@ -563,15 +538,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; @@ -594,7 +560,7 @@ export const Bech32PrefixResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBech32PrefixResponse(); @@ -616,18 +582,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 ?? ""; @@ -673,18 +627,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(); @@ -708,7 +650,7 @@ export const AddressBytesToStringResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressBytesToStringResponse(); @@ -730,18 +672,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 ?? ""; @@ -787,18 +717,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 ?? ""; @@ -822,7 +740,7 @@ export const AddressStringToBytesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressStringToBytesResponse(); @@ -844,18 +762,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(); diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts index 1992fcfc0..5da015f57 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/authz.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts @@ -1,48 +1,89 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. */ + export interface GenericAuthorization { /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ msg: string; } +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ +export interface GenericAuthorizationSDKType { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} /** * Grant gives permissions to execute * the provide method with expiration time. */ + export interface Grant { authorization: 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?: Date | undefined; } +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ + +export interface GrantSDKType { + authorization: AnySDKType | 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?: Date | 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 GrantAuthorization { granter: string; grantee: string; authorization: Any | undefined; expiration: Date | 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 GrantAuthorizationSDKType { + granter: string; + grantee: string; + authorization: AnySDKType | undefined; + expiration: Date | undefined; +} /** 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[]; } +/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ + +export interface GrantQueueItemSDKType { + /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ + msg_type_urls: string[]; +} function createBaseGenericAuthorization(): GenericAuthorization { return { @@ -81,18 +122,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 ?? ""; @@ -147,20 +176,6 @@ 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 = 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; @@ -234,24 +249,6 @@ 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 = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: Partial): GrantAuthorization { const message = createBaseGrantAuthorization(); message.granter = object.granter ?? ""; @@ -300,24 +297,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/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/event.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/event.ts index e5a0968e6..4ca6f0c5e 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/event.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/event.ts @@ -1,27 +1,50 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; + granter: string; /** Grantee account address */ + grantee: string; } +/** EventGrant is emitted on Msg/Grant */ + +export interface EventGrantSDKType { + /** Msg type URL for which an autorization is granted */ + msg_type_url: string; + /** Granter account address */ + granter: string; + /** Grantee account address */ + + 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; +} +/** EventRevoke is emitted on Msg/Revoke */ +export interface EventRevokeSDKType { + /** Msg type URL for which an autorization is revoked */ + msg_type_url: string; + /** Granter account address */ + + granter: string; /** Grantee account address */ + grantee: string; } @@ -80,22 +103,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 ?? ""; @@ -161,22 +168,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/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/genesis.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/genesis.ts index 3cb847912..9f09b9813 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/genesis.ts @@ -1,10 +1,15 @@ -import { GrantAuthorization } from "./authz"; +import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; import * as _m0 from "protobufjs/minimal"; - /** GenesisState defines the authz module's genesis state. */ + export interface GenesisState { authorization: GrantAuthorization[]; } +/** GenesisState defines the authz module's genesis state. */ + +export interface GenesisStateSDKType { + authorization: GrantAuthorizationSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -43,24 +48,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/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts similarity index 67% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts index 71432a9ba..65de12eee 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -1,21 +1,23 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); } - /* Returns list of `Authorization`, granted to the grantee by the granter. */ - async grants(params: QueryGrantsRequest): Promise { + + + async grants(params: QueryGrantsRequest): Promise { const options: any = { params: {} }; @@ -37,13 +39,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GranterGrants returns list of `GrantAuthorization`, granted by granter. Since: cosmos-sdk 0.46 */ - async granterGrants(params: QueryGranterGrantsRequest): Promise { + + + async granterGrants(params: QueryGranterGrantsRequest): Promise { const options: any = { params: {} }; @@ -53,13 +56,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GranteeGrants returns a list of `GrantAuthorization` by grantee. Since: cosmos-sdk 0.46 */ - async granteeGrants(params: QueryGranteeGrantsRequest): Promise { + + + async granteeGrants(params: QueryGranteeGrantsRequest): Promise { const options: any = { params: {} }; @@ -69,7 +73,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts similarity index 62% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts index 5e5242242..333c469df 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -1,20 +1,19 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - grants(request: QueryGrantsRequest): Promise; + grants(request: QueryGrantsRequest): Promise; /*Returns list of `Authorization`, granted to the grantee by the granter.*/ - granterGrants(request: QueryGranterGrantsRequest): Promise; + granterGrants(request: QueryGranterGrantsRequest): Promise; /*GranterGrants returns list of `GrantAuthorization`, granted by granter. Since: cosmos-sdk 0.46*/ - granteeGrants(request: QueryGranteeGrantsRequest): Promise; + granteeGrants(request: QueryGranteeGrantsRequest): Promise; /*GranteeGrants returns a list of `GrantAuthorization` by grantee. Since: cosmos-sdk 0.46*/ @@ -30,22 +29,40 @@ export class QueryClientImpl implements Query { this.granteeGrants = this.granteeGrants.bind(this); } - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { const data = QueryGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); } - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { const data = QueryGranterGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); } - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { const data = QueryGranteeGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + grants(request: QueryGrantsRequest): Promise { + return queryService.grants(request); + }, + + granterGrants(request: QueryGranterGrantsRequest): Promise { + return queryService.granterGrants(request); + }, + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + return queryService.granteeGrants(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/query.ts index 670d347c1..9f87f3158 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts @@ -1,61 +1,115 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequest { - granter: string; - grantee: string; +export interface QueryGrantsRequest { + granter?: string; + grantee?: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl: string; + msgTypeUrl?: string; /** pagination defines an pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ + +export interface QueryGrantsRequestSDKType { + 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?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ +export interface QueryGrantsResponseSDKType { + /** authorizations is a list of grants granted for grantee by granter. */ + grants: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ + +export interface QueryGranterGrantsRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ +export interface QueryGranterGrantsResponseSDKType { + /** grants is a list of grants granted by the granter. */ + grants: GrantAuthorizationSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ + +export interface QueryGranteeGrantsRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; +} +/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ + +export interface QueryGranteeGrantsResponseSDKType { + /** grants is a list of grants granted to the grantee. */ + grants: GrantAuthorizationSDKType[]; /** pagination defines an pagination for the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseQueryGrantsRequest(): QueryGrantsRequest { @@ -122,24 +176,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 ?? ""; @@ -171,7 +207,7 @@ export const QueryGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGrantsResponse(); @@ -197,26 +233,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)) || []; @@ -272,20 +288,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 ?? ""; @@ -315,7 +317,7 @@ export const QueryGranterGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranterGrantsResponse(); @@ -341,26 +343,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)) || []; @@ -416,20 +398,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 ?? ""; @@ -459,7 +427,7 @@ export const QueryGranteeGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranteeGrantsResponse(); @@ -485,26 +453,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/examples/contracts/codegen/cosmos/authz/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.amino.ts new file mode 100644 index 000000000..da254bafc --- /dev/null +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.amino.ts @@ -0,0 +1,128 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; +export interface AminoMsgGrant extends AminoMsg { + type: "cosmos-sdk/MsgGrant"; + value: { + granter: string; + grantee: string; + grant: { + authorization: { + type_url: string; + value: Uint8Array; + }; + expiration: { + seconds: string; + nanos: number; + }; + }; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/MsgExec"; + value: { + grantee: string; + msgs: { + type_url: string; + value: Uint8Array; + }[]; + }; +} +export interface AminoMsgRevoke extends AminoMsg { + type: "cosmos-sdk/MsgRevoke"; + value: { + granter: string; + grantee: string; + msg_type_url: string; + }; +} +export const AminoConverter = { + "/cosmos.authz.v1beta1.MsgGrant": { + aminoType: "cosmos-sdk/MsgGrant", + toAmino: ({ + granter, + grantee, + grant + }: MsgGrant): AminoMsgGrant["value"] => { + return { + granter, + grantee, + grant: { + authorization: { + type_url: grant.authorization.typeUrl, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + }, + fromAmino: ({ + granter, + grantee, + grant + }: AminoMsgGrant["value"]): MsgGrant => { + return { + granter, + grantee, + grant: { + authorization: { + typeUrl: grant.authorization.type_url, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + } + }, + "/cosmos.authz.v1beta1.MsgExec": { + aminoType: "cosmos-sdk/MsgExec", + toAmino: ({ + grantee, + msgs + }: MsgExec): AminoMsgExec["value"] => { + return { + grantee, + msgs: msgs.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })) + }; + }, + fromAmino: ({ + grantee, + msgs + }: AminoMsgExec["value"]): MsgExec => { + return { + grantee, + msgs: msgs.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })) + }; + } + }, + "/cosmos.authz.v1beta1.MsgRevoke": { + aminoType: "cosmos-sdk/MsgRevoke", + toAmino: ({ + granter, + grantee, + msgTypeUrl + }: MsgRevoke): AminoMsgRevoke["value"] => { + return { + granter, + grantee, + msg_type_url: msgTypeUrl + }; + }, + fromAmino: ({ + granter, + grantee, + msg_type_url + }: AminoMsgRevoke["value"]): MsgRevoke => { + return { + granter, + grantee, + msgTypeUrl: msg_type_url + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.registry.ts new file mode 100644 index 000000000..c4c1a539f --- /dev/null +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.registry.ts @@ -0,0 +1,79 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value + }; + } + + }, + fromPartial: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts index 6f29fb67d..aefc71215 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,21 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; - +import { MsgGrant, MsgGrantResponse, MsgGrantResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgRevoke, MsgRevokeResponse, MsgRevokeResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - grant(request: MsgGrant): Promise; + grant(request: MsgGrant): Promise; /*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.*/ - exec(request: MsgExec): Promise; + exec(request: MsgExec): 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.*/ - revoke(request: MsgRevoke): Promise; + revoke(request: MsgRevoke): Promise; /*Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.*/ @@ -32,19 +30,19 @@ export class MsgClientImpl implements Msg { this.revoke = this.revoke.bind(this); } - grant(request: MsgGrant): Promise { + grant(request: MsgGrant): Promise { const data = MsgGrant.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - revoke(request: MsgRevoke): Promise { + revoke(request: MsgRevoke): Promise { const data = MsgRevoke.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts index c8d97ef5a..7eda0f40a 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/authz/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts @@ -1,54 +1,100 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; +import { Grant, GrantSDKType } from "./authz"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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. */ + export interface MsgGrant { granter: string; grantee: string; grant: Grant | undefined; } +/** + * 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 | undefined; +} /** MsgExecResponse defines the Msg/MsgExecResponse response type. */ + export interface MsgExecResponse { results: Uint8Array[]; } +/** 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[]; } +/** + * 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; + /** + * 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: AnySDKType[]; +} /** MsgGrantResponse defines the Msg/MsgGrant response type. */ + export interface MsgGrantResponse {} +/** 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; } +/** + * 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 {} +/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ + +export interface MsgRevokeResponseSDKType {} function createBaseMsgGrant(): MsgGrant { return { @@ -105,22 +151,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 ?? ""; @@ -146,7 +176,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -168,24 +198,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) || []; @@ -240,26 +252,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 ?? ""; @@ -278,7 +270,7 @@ export const MsgGrantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantResponse(); @@ -296,15 +288,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; @@ -367,22 +350,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 ?? ""; @@ -402,7 +369,7 @@ export const MsgRevokeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeResponse(); @@ -420,15 +387,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/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/authz.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/authz.ts index 2e69df3ab..09806a64a 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/authz.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/authz.ts @@ -1,15 +1,25 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, 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 { spendLimit: Coin[]; } +/** + * SendAuthorization allows the grantee to spend up to spend_limit coins from + * the granter's account. + * + * Since: cosmos-sdk 0.43 + */ + +export interface SendAuthorizationSDKType { + spend_limit: CoinSDKType[]; +} function createBaseSendAuthorization(): SendAuthorization { return { @@ -48,24 +58,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/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/bank.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/bank.ts index 74f16fd69..409c9e29d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/bank.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/bank.ts @@ -1,34 +1,59 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** Params defines the parameters for the bank module. */ + export interface Params { sendEnabled: SendEnabled[]; defaultSendEnabled: boolean; } +/** 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; } +/** + * 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[]; } +/** Input models transaction input. */ +export interface InputSDKType { + address: string; + coins: CoinSDKType[]; +} /** Output models transaction outputs. */ + export interface Output { address: string; coins: Coin[]; } +/** 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. @@ -36,18 +61,29 @@ export interface Output { */ /** @deprecated */ + export interface Supply { total: Coin[]; } +/** + * 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 { + 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 @@ -55,61 +91,133 @@ export interface DenomUnit { * (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; + exponent: number; /** aliases is a list of string aliases for the given denom */ + aliases: string[]; } +/** + * DenomUnit represents a struct that describes a given + * denomination unit of the basic token. + */ +export interface DenomUnitSDKType { + /** 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[]; +} /** * 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[]; + denomUnits: DenomUnit[]; /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; + base: string; /** * display indicates the suggested denom that should be * displayed in clients. */ - display: string; + display: string; /** * name defines the name of the token (eg: Cosmos Atom) * * Since: cosmos-sdk 0.43 */ - name: string; + 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; + symbol: string; /** * URI to a document (on or off-chain) that contains additional information. Optional. * * Since: cosmos-sdk 0.46 */ - uri: string; + 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; } +/** + * Metadata represents a struct that describes + * a basic token. + */ + +export interface MetadataSDKType { + description: string; + /** denom_units represents the list of DenomUnit's for a given coin */ + + denom_units: DenomUnitSDKType[]; + /** 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; +} function createBaseParams(): Params { return { @@ -157,26 +265,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)) || []; @@ -232,20 +320,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 ?? ""; @@ -301,26 +375,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 ?? ""; @@ -376,26 +430,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 ?? ""; @@ -442,24 +476,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)) || []; @@ -523,28 +539,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 ?? ""; @@ -655,38 +649,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/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts index fb48f84eb..eadb3b95b 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts @@ -1,37 +1,66 @@ -import { Params, Metadata } from "./bank"; -import { Coin } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the bank module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; + 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[]; + supply: Coin[]; /** denom_metadata defines the metadata of the differents coins. */ + denomMetadata: Metadata[]; } +/** GenesisState defines the bank module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** balances is an array containing the balances of all the accounts. */ + + balances: BalanceSDKType[]; + /** + * 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: CoinSDKType[]; + /** denom_metadata defines the metadata of the differents coins. */ + + 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[]; } +/** + * Balance defines an account address and balance pair used in the bank module's + * genesis state. + */ + +export interface BalanceSDKType { + /** address is the address of the balance holder. */ + address: string; + /** coins defines the different coins this balance holds. */ + + coins: CoinSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -97,40 +126,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; @@ -188,26 +183,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/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts index 09bc3da46..1eaba0a3c 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -1,22 +1,29 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); } - /* Balance queries the balance of a single coin for a single account. */ - async balance(params: QueryBalanceRequest): Promise { + + + async balance(params: QueryBalanceRequest): Promise { const options: any = { params: {} }; @@ -26,11 +33,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllBalances queries the balance of all coins for a single account. */ - async allBalances(params: QueryAllBalancesRequest): Promise { + + + async allBalances(params: QueryAllBalancesRequest): Promise { const options: any = { params: {} }; @@ -40,12 +48,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* SpendableBalances queries the spenable balance of all coins for a single account. */ - async spendableBalances(params: QuerySpendableBalancesRequest): Promise { + + + async spendableBalances(params: QuerySpendableBalancesRequest): Promise { const options: any = { params: {} }; @@ -55,13 +64,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TotalSupply queries the total supply of all coins. */ + + async totalSupply(params: QueryTotalSupplyRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -71,11 +81,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/supply`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* SupplyOf queries the supply of a single coin. */ - async supplyOf(params: QuerySupplyOfRequest): Promise { + + + async supplyOf(params: QuerySupplyOfRequest): Promise { const options: any = { params: {} }; @@ -85,26 +96,29 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries the parameters of x/bank module. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/bank/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomsMetadata queries the client metadata of a given coin denomination. */ - async denomMetadata(params: QueryDenomMetadataRequest): Promise { + + + async denomMetadata(params: QueryDenomMetadataRequest): Promise { const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomsMetadata queries the client metadata for all registered coin denominations. */ + + async denomsMetadata(params: QueryDenomsMetadataRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -114,12 +128,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DenomOwners queries for all account addresses that own a particular token denomination. */ - async denomOwners(params: QueryDenomOwnersRequest): Promise { + + + async denomOwners(params: QueryDenomOwnersRequest): Promise { const options: any = { params: {} }; @@ -129,7 +144,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts similarity index 57% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts index 58517177f..71991c2b1 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -1,39 +1,37 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - balance(request: QueryBalanceRequest): Promise; + balance(request: QueryBalanceRequest): Promise; /*Balance queries the balance of a single coin for a single account.*/ - allBalances(request: QueryAllBalancesRequest): Promise; + allBalances(request: QueryAllBalancesRequest): Promise; /*AllBalances queries the balance of all coins for a single account.*/ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; + spendableBalances(request: QuerySpendableBalancesRequest): Promise; /*SpendableBalances queries the spenable balance of all coins for a single account.*/ - totalSupply(request: QueryTotalSupplyRequest): Promise; + totalSupply(request?: QueryTotalSupplyRequest): Promise; /*TotalSupply queries the total supply of all coins.*/ - supplyOf(request: QuerySupplyOfRequest): Promise; + supplyOf(request: QuerySupplyOfRequest): Promise; /*SupplyOf queries the supply of a single coin.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries the parameters of x/bank module.*/ - denomMetadata(request: QueryDenomMetadataRequest): Promise; + denomMetadata(request: QueryDenomMetadataRequest): Promise; /*DenomsMetadata queries the client metadata of a given coin denomination.*/ - denomsMetadata(request: QueryDenomsMetadataRequest): Promise; + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; /*DenomsMetadata queries the client metadata for all registered coin denominations.*/ - denomOwners(request: QueryDenomOwnersRequest): Promise; + denomOwners(request: QueryDenomOwnersRequest): Promise; /*DenomOwners queries for all account addresses that own a particular token denomination.*/ @@ -54,58 +52,104 @@ export class QueryClientImpl implements Query { this.denomOwners = this.denomOwners.bind(this); } - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { const data = QueryBalanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); } - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { const data = QueryAllBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); } - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { const data = QuerySpendableBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); } - totalSupply(request: QueryTotalSupplyRequest): Promise { + totalSupply(request: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { const data = QueryTotalSupplyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); } - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { const data = QuerySupplyOfRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { const data = QueryDenomMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); } - denomsMetadata(request: QueryDenomsMetadataRequest): Promise { + denomsMetadata(request: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { const data = QueryDenomsMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); } - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { const data = QueryDenomOwnersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + balance(request: QueryBalanceRequest): Promise { + return queryService.balance(request); + }, + + allBalances(request: QueryAllBalancesRequest): Promise { + return queryService.allBalances(request); + }, + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + return queryService.spendableBalances(request); + }, + + totalSupply(request?: QueryTotalSupplyRequest): Promise { + return queryService.totalSupply(request); + }, + + supplyOf(request: QuerySupplyOfRequest): Promise { + return queryService.supplyOf(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + return queryService.denomMetadata(request); + }, + + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { + return queryService.denomsMetadata(request); + }, + + denomOwners(request: QueryDenomOwnersRequest): Promise { + return queryService.denomOwners(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/query.ts index 6925ce45e..5a02f47c0 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts @@ -1,183 +1,358 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; } +/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ + +export interface QueryBalanceRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** denom is the coin denom to query balances for. */ + 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 | undefined; } +/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ +export interface QueryBalanceResponseSDKType { + /** balance is the balance of the coin. */ + balance: CoinSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ + +export interface QueryAllBalancesRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + * method. + */ +export interface QueryAllBalancesResponseSDKType { + /** balances is the balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QuerySpendableBalancesRequest defines the gRPC request structure for querying * an account's spendable balances. */ + export interface QuerySpendableBalancesRequest { /** address is the address to query spendable balances for. */ address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesRequestSDKType { + /** address is the address to query spendable balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QuerySpendableBalancesResponse defines the gRPC response structure for querying * an account's spendable balances. */ + export interface QuerySpendableBalancesResponse { /** balances is the spendable balances of all the coins. */ balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesResponseSDKType { + /** balances is the spendable balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC + * method. + */ +export interface QueryTotalSupplyRequestSDKType { + /** + * pagination defines an optional pagination for the request. + * + * Since: cosmos-sdk 0.43 + */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + * method + */ +export interface QueryTotalSupplyResponseSDKType { + /** supply is the supply of the coins */ + supply: CoinSDKType[]; + /** + * pagination defines the pagination in the response. + * + * Since: cosmos-sdk 0.43 + */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; + denom?: string; } +/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfRequestSDKType { + /** denom is the coin denom to query balances for. */ + 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 | undefined; } +/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfResponseSDKType { + /** amount is the supply of the coin. */ + amount: CoinSDKType | undefined; +} /** QueryParamsRequest defines the request type for querying x/bank parameters. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse defines the response type for querying x/bank parameters. */ +export interface QueryParamsResponseSDKType { + params: ParamsSDKType | undefined; +} /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ + export interface QueryDenomsMetadataRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ +export interface QueryDenomsMetadataRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + * method. + */ +export interface QueryDenomsMetadataResponseSDKType { + /** metadata provides the client information for all the registered tokens. */ + metadatas: MetadataSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ +export interface QueryDenomMetadataRequestSDKType { + /** denom is the coin denom to query the metadata for. */ + 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 | undefined; } +/** + * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + * method. + */ +export interface QueryDenomMetadataResponseSDKType { + /** metadata describes and provides all the client information for the requested token. */ + metadata: MetadataSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * 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 defines the coin denomination to query all account holders for. */ + denom: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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. */ + 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 | undefined; } +/** + * 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. + */ +export interface DenomOwnerSDKType { + /** address defines the address that owns a particular denomination. */ + address: string; + /** balance is the balance of the denominated coin for an account. */ + + balance: CoinSDKType | undefined; +} /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ + export interface QueryDenomOwnersResponse { denomOwners: DenomOwner[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ +export interface QueryDenomOwnersResponseSDKType { + denom_owners: DenomOwnerSDKType[]; /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseQueryBalanceRequest(): QueryBalanceRequest { @@ -226,20 +401,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 ?? ""; @@ -264,7 +425,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -286,18 +447,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; @@ -352,20 +501,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 ?? ""; @@ -395,7 +530,7 @@ export const QueryAllBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllBalancesResponse(); @@ -421,26 +556,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)) || []; @@ -496,20 +611,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 ?? ""; @@ -539,7 +640,7 @@ export const QuerySpendableBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySpendableBalancesResponse(); @@ -565,26 +666,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)) || []; @@ -631,18 +712,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; @@ -671,7 +740,7 @@ export const QueryTotalSupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTotalSupplyResponse(); @@ -697,26 +766,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)) || []; @@ -763,18 +812,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 ?? ""; @@ -798,7 +835,7 @@ export const QuerySupplyOfResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyOfResponse(); @@ -820,18 +857,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; @@ -867,15 +892,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; @@ -898,7 +914,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -920,18 +936,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; @@ -977,18 +981,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; @@ -1017,7 +1009,7 @@ export const QueryDenomsMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomsMetadataResponse(); @@ -1043,26 +1035,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)) || []; @@ -1109,18 +1081,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 ?? ""; @@ -1144,7 +1104,7 @@ export const QueryDenomMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomMetadataResponse(); @@ -1166,18 +1126,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; @@ -1232,20 +1180,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 ?? ""; @@ -1301,20 +1235,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 ?? ""; @@ -1344,7 +1264,7 @@ export const QueryDenomOwnersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomOwnersResponse(); @@ -1370,26 +1290,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/examples/contracts/codegen/cosmos/bank/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.amino.ts new file mode 100644 index 000000000..ea2280ee0 --- /dev/null +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.amino.ts @@ -0,0 +1,110 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend, MsgMultiSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgSend"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMultiSend extends AminoMsg { + type: "cosmos-sdk/MsgMultiSend"; + value: { + inputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + outputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.bank.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgSend", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgSend): AminoMsgSend["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgSend["value"]): MsgSend => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.bank.v1beta1.MsgMultiSend": { + aminoType: "cosmos-sdk/MsgMultiSend", + toAmino: ({ + inputs, + outputs + }: MsgMultiSend): AminoMsgMultiSend["value"] => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + inputs, + outputs + }: AminoMsgMultiSend["value"]): MsgMultiSend => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.registry.ts new file mode 100644 index 000000000..5bc1dee0f --- /dev/null +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.encode(value).finish() + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.encode(value).finish() + }; + } + + }, + withTypeUrl: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value + }; + } + + }, + fromPartial: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.fromPartial(value) + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts index ee22c9d29..26a23d4b4 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,13 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; - +import { MsgSend, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - send(request: MsgSend): Promise; + send(request: MsgSend): Promise; /*Send defines a method for sending coins from one account to another account.*/ - multiSend(request: MsgMultiSend): Promise; + multiSend(request: MsgMultiSend): Promise; /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ } @@ -22,13 +20,13 @@ export class MsgClientImpl implements Msg { this.multiSend = this.multiSend.bind(this); } - send(request: MsgSend): Promise { + send(request: MsgSend): Promise { const data = MsgSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); } - multiSend(request: MsgMultiSend): Promise { + multiSend(request: MsgMultiSend): Promise { const data = MsgMultiSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts index c44c98cda..d9cd5047e 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bank/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts @@ -1,26 +1,44 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgSend represents a message to send coins from one account to another. */ + export interface MsgSend { fromAddress: string; toAddress: string; amount: Coin[]; } +/** 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 {} +/** 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[]; } +/** 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 {} +/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ + +export interface MsgMultiSendResponseSDKType {} function createBaseMsgSend(): MsgSend { return { @@ -77,28 +95,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 ?? ""; @@ -118,7 +114,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -136,15 +132,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; @@ -198,31 +185,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)) || []; @@ -241,7 +203,7 @@ export const MsgMultiSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMultiSendResponse(); @@ -259,15 +221,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/examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts rename to examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts index d26d2f149..747fcffca 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/abci/v1beta1/abci.ts +++ b/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -1,56 +1,55 @@ -import { Any } from "../../../../google/protobuf/any"; -import { Event } from "../../../../tendermint/abci/types"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Event, EventSDKType } from "../../../../tendermint/abci/types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; + txhash: string; /** Namespace for the Code */ - codespace: string; + codespace: string; /** Response code. */ - code: number; + code: number; /** Result bytes, if any. */ - data: string; + data: string; /** * The output of the application's logger (raw string). May be * non-deterministic. */ - rawLog: string; + rawLog: string; /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; + logs: ABCIMessageLog[]; /** Additional information. May be non-deterministic. */ - info: string; + info: string; /** Amount of gas requested for transaction. */ - gasWanted: Long; + gasWanted: Long; /** Amount of gas consumed by transaction. */ - gasUsed: Long; + gasUsed: Long; /** The request transaction bytes. */ - tx: Any | undefined; + tx: Any | undefined; /** * 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; + 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 @@ -59,49 +58,148 @@ export interface TxResponse { * * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 */ + events: Event[]; } +/** + * TxResponse defines a structure containing relevant tx data and metadata. The + * tags are stringified and the log is JSON decoded. + */ + +export interface TxResponseSDKType { + /** 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. + */ + + raw_log: string; + /** The output of the application's logger (typed). May be non-deterministic. */ + + logs: ABCIMessageLogSDKType[]; + /** Additional information. May be non-deterministic. */ + + info: string; + /** Amount of gas requested for transaction. */ + + gas_wanted: Long; + /** Amount of gas consumed by transaction. */ + + gas_used: Long; + /** The request transaction bytes. */ + + tx: AnySDKType | undefined; + /** + * 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 handler. 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: 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[]; } +/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ +export interface ABCIMessageLogSDKType { + msg_index: number; + log: string; + /** + * Events contains a slice of Event objects that were emitted during some + * execution. + */ + + 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[]; } +/** + * 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; } +/** + * 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; } +/** GasInfo defines tx execution gas context. */ +export interface GasInfoSDKType { + /** GasWanted is the maximum units of work we allow this tx to perform. */ + gas_wanted: Long; + /** GasUsed is the amount of gas actually consumed. */ + + 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 @@ -112,82 +210,170 @@ export interface Result { /** @deprecated */ data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; + log: string; /** * Events contains a slice of Event objects that were emitted during message * or handler execution. */ - events: Event[]; + events: Event[]; /** * msg_responses contains the Msg handler responses type packed in Anys. * * Since: cosmos-sdk 0.46 */ + msgResponses: Any[]; } +/** Result is the union of ResponseFormat and ResponseCheckTx. */ + +export interface ResultSDKType { + /** + * 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: EventSDKType[]; + /** + * msg_responses contains the Msg handler responses type packed in Anys. + * + * Since: cosmos-sdk 0.46 + */ + + msg_responses: AnySDKType[]; +} /** * SimulationResponse defines the response generated when a transaction is * successfully simulated. */ + export interface SimulationResponse { gasInfo: GasInfo | undefined; result: Result | undefined; } +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ +export interface SimulationResponseSDKType { + gas_info: GasInfoSDKType | undefined; + result: ResultSDKType | undefined; +} /** * MsgData defines the data returned in a Result object during message * execution. */ /** @deprecated */ + export interface MsgData { msgType: string; data: Uint8Array; } +/** + * 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[]; } +/** + * TxMsgData defines a list of MsgData. A transaction will have a MsgData object + * for each message. + */ + +export interface TxMsgDataSDKType { + /** data field is deprecated and not populated. */ + /** @deprecated */ + data: MsgDataSDKType[]; + /** + * msg_responses contains the Msg handler responses packed into Anys. + * + * Since: cosmos-sdk 0.46 + */ + + 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; + count: Long; /** Index of current page, start from 1 */ - pageNumber: Long; + pageNumber: Long; /** Count of total pages */ - pageTotal: Long; + pageTotal: Long; /** Max count txs per page */ - limit: Long; + limit: Long; /** List of txs in current page */ + txs: TxResponse[]; } +/** SearchTxsResult defines a structure for querying txs pageable */ + +export interface SearchTxsResultSDKType { + /** Count of all txs */ + total_count: Long; + /** Count of txs in current page */ + + count: Long; + /** Index of current page, start from 1 */ + + page_number: Long; + /** Count of total pages */ + + page_total: Long; + /** Max count txs per page */ + + limit: Long; + /** List of txs in current page */ + + txs: TxResponseSDKType[]; +} function createBaseTxResponse(): TxResponse { return { @@ -334,54 +520,6 @@ export const TxResponse = { return message; }, - fromJSON(object: any): TxResponse { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -457,28 +595,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; @@ -535,26 +651,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 ?? ""; @@ -610,20 +706,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 ?? ""; @@ -679,20 +761,6 @@ export const GasInfo = { return message; }, - fromJSON(object: any): GasInfo { - return { - gasWanted: isSet(object.gasWanted) ? Long.fromString(object.gasWanted) : Long.UZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.UZERO - }; - }, - - toJSON(message: GasInfo): unknown { - const obj: any = {}; - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.UZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GasInfo { const message = createBaseGasInfo(); message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; @@ -766,35 +834,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(); @@ -852,20 +891,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; @@ -921,20 +946,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 ?? ""; @@ -990,31 +1001,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)) || []; @@ -1106,34 +1092,6 @@ export const SearchTxsResult = { return message; }, - fromJSON(object: any): SearchTxsResult { - return { - totalCount: isSet(object.totalCount) ? Long.fromString(object.totalCount) : Long.UZERO, - count: isSet(object.count) ? Long.fromString(object.count) : Long.UZERO, - pageNumber: isSet(object.pageNumber) ? Long.fromString(object.pageNumber) : Long.UZERO, - pageTotal: isSet(object.pageTotal) ? Long.fromString(object.pageTotal) : Long.UZERO, - limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.count !== undefined && (obj.count = (message.count || Long.UZERO).toString()); - message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || Long.UZERO).toString()); - message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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 ? Long.fromValue(object.totalCount) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/contracts/codegen/cosmos/base/kv/v1beta1/kv.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts rename to examples/contracts/codegen/cosmos/base/kv/v1beta1/kv.ts index a925f2346..90713754f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/kv/v1beta1/kv.ts +++ b/examples/contracts/codegen/cosmos/base/kv/v1beta1/kv.ts @@ -1,16 +1,26 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** Pairs defines a repeated slice of Pair objects. */ + export interface Pairs { pairs: Pair[]; } +/** 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; } +/** Pair defines a key/value bytes tuple. */ + +export interface PairSDKType { + key: Uint8Array; + value: Uint8Array; +} function createBasePairs(): Pairs { return { @@ -49,24 +59,6 @@ export const Pairs = { 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)) || []; @@ -121,20 +113,6 @@ export const Pair = { 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(); diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts rename to examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts index a1896f5f0..51c783184 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/query/v1beta1/pagination.ts +++ b/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: @@ -10,43 +9,89 @@ import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helper * 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; - + 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; + 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; + 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; + countTotal?: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ - reverse: boolean; + + reverse?: boolean; } +/** + * 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 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. + */ + + 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; +} /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. @@ -56,18 +101,43 @@ export interface PageRequest { * 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; + nextKey?: Uint8Array; + /** + * total is total number of results available if PageRequest.count_total + * was set, its value is undefined otherwise + */ + total: Long; +} +/** + * 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 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: Long; } @@ -144,26 +214,6 @@ export const PageRequest = { return message; }, - fromJSON(object: any): PageRequest { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - offset: isSet(object.offset) ? Long.fromString(object.offset) : Long.UZERO, - limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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(); @@ -222,20 +272,6 @@ export const PageResponse = { return message; }, - fromJSON(object: any): PageResponse { - return { - nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array(), - total: isSet(object.total) ? Long.fromString(object.total) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): PageResponse { const message = createBasePageResponse(); message.nextKey = object.nextKey ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts rename to examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts index 42369d351..61e3d78bd 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ b/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -1,31 +1,56 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ + export interface ListAllInterfacesRequest {} +/** 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[]; } +/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesResponseSDKType { + /** interface_names is an array of all the registered interfaces. */ + 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; } +/** + * ListImplementationsRequest is the request type of the ListImplementations + * RPC. + */ +export interface ListImplementationsRequestSDKType { + /** interface_name defines the interface to query the implementations for. */ + interface_name: string; +} /** * ListImplementationsResponse is the response type of the ListImplementations * RPC. */ + export interface ListImplementationsResponse { implementationMessageNames: string[]; } +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ + +export interface ListImplementationsResponseSDKType { + implementation_message_names: string[]; +} function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { return {}; @@ -54,15 +79,6 @@ export const ListAllInterfacesRequest = { return message; }, - fromJSON(_: any): ListAllInterfacesRequest { - return {}; - }, - - toJSON(_: ListAllInterfacesRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): ListAllInterfacesRequest { const message = createBaseListAllInterfacesRequest(); return message; @@ -85,7 +101,7 @@ export const ListAllInterfacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListAllInterfacesResponse(); @@ -107,24 +123,6 @@ export const ListAllInterfacesResponse = { 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) || []; @@ -170,18 +168,6 @@ export const ListImplementationsRequest = { 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 ?? ""; @@ -205,7 +191,7 @@ export const ListImplementationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListImplementationsResponse(); @@ -227,24 +213,6 @@ export const ListImplementationsResponse = { 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) || []; diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts rename to examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts index d629b4537..eb34c7e64 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -1,31 +1,54 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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 | undefined; - /** chain provides the chain descriptor */ - chain: ChainDescriptor | undefined; + chain: ChainDescriptor | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor | undefined; + codec: CodecDescriptor | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor | undefined; + configuration: ConfigurationDescriptor | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor | undefined; + queryServices: QueryServicesDescriptor | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ + tx: TxDescriptor | undefined; } +/** AppDescriptor describes a cosmos-sdk based application */ + +export interface AppDescriptorSDKType { + /** + * AuthnDescriptor provides information on how to authenticate transactions on the application + * NOTE: experimental and subject to change in future releases. + */ + authn: AuthnDescriptorSDKType | undefined; + /** chain provides the chain descriptor */ + + chain: ChainDescriptorSDKType | undefined; + /** codec provides metadata information regarding codec related types */ + codec: CodecDescriptorSDKType | undefined; + /** configuration provides metadata information regarding the sdk.Config type */ + + configuration: ConfigurationDescriptorSDKType | undefined; + /** query_services provides metadata information regarding the available queriable endpoints */ + + query_services: QueryServicesDescriptorSDKType | undefined; + /** tx provides metadata information regarding how to send transactions to the given application */ + + tx: TxDescriptorSDKType | undefined; +} /** 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) @@ -33,158 +56,317 @@ export interface TxDescriptor { * 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[]; } +/** TxDescriptor describes the accepted transaction type */ +export interface TxDescriptorSDKType { + /** + * 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: 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[]; } +/** + * AuthnDescriptor provides information on how to sign transactions without relying + * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures + */ +export interface AuthnDescriptorSDKType { + /** sign_modes defines the supported signature algorithm */ + 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; + 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; } +/** + * 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 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; +} /** ChainDescriptor describes chain information of the application */ + export interface ChainDescriptor { /** id is the chain id */ id: string; } +/** ChainDescriptor describes chain information of the application */ +export interface ChainDescriptorSDKType { + /** id is the chain id */ + 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[]; } +/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ +export interface CodecDescriptorSDKType { + /** interfaces is a list of the registerted interfaces descriptors */ + 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[]; + interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; /** interface_implementers is a list of the descriptors of the interface implementers */ + interfaceImplementers: InterfaceImplementerDescriptor[]; } +/** InterfaceDescriptor describes the implementation of an interface */ +export interface InterfaceDescriptorSDKType { + /** 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: InterfaceAcceptingMessageDescriptorSDKType[]; + /** interface_implementers is a list of the descriptors of the interface implementers */ + + 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; } +/** InterfaceImplementerDescriptor describes an interface implementer */ + +export interface InterfaceImplementerDescriptorSDKType { + /** 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; +} /** * 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[]; } +/** + * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains + * an interface represented as a google.protobuf.Any + */ +export interface InterfaceAcceptingMessageDescriptorSDKType { + /** 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[]; +} /** ConfigurationDescriptor contains metadata information on the sdk.Config */ + export interface ConfigurationDescriptor { /** bech32_account_address_prefix is the account address prefix */ bech32AccountAddressPrefix: string; } +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ +export interface ConfigurationDescriptorSDKType { + /** bech32_account_address_prefix is the account address prefix */ + 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; } +/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ +export interface MsgDescriptorSDKType { + /** msg_type_url contains the TypeURL of a sdk.Msg. */ + msg_type_url: string; +} /** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ + export interface GetAuthnDescriptorRequest {} +/** 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 | undefined; } +/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ +export interface GetAuthnDescriptorResponseSDKType { + /** authn describes how to authenticate to the application when sending transactions */ + authn: AuthnDescriptorSDKType | undefined; +} /** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ + export interface GetChainDescriptorRequest {} +/** 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 | undefined; } +/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ +export interface GetChainDescriptorResponseSDKType { + /** chain describes application chain information */ + chain: ChainDescriptorSDKType | undefined; +} /** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ + export interface GetCodecDescriptorRequest {} +/** 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 | undefined; } +/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ +export interface GetCodecDescriptorResponseSDKType { + /** codec describes the application codec such as registered interfaces and implementations */ + codec: CodecDescriptorSDKType | undefined; +} /** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ + export interface GetConfigurationDescriptorRequest {} +/** 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 | undefined; } +/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorResponseSDKType { + /** config describes the application's sdk.Config */ + config: ConfigurationDescriptorSDKType | undefined; +} /** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ + export interface GetQueryServicesDescriptorRequest {} +/** 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 | undefined; } +/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorResponseSDKType { + /** queries provides information on the available queryable services */ + queries: QueryServicesDescriptorSDKType | undefined; +} /** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ + export interface GetTxDescriptorRequest {} +/** 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 @@ -192,40 +374,83 @@ export interface GetTxDescriptorResponse { */ tx: TxDescriptor | undefined; } +/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ +export interface GetTxDescriptorResponseSDKType { + /** + * tx provides information on msgs that can be forwarded to the application + * alongside the accepted transaction protobuf type + */ + tx: TxDescriptorSDKType | undefined; +} /** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ + export interface QueryServicesDescriptor { /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ queryServices: QueryServiceDescriptor[]; } +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ +export interface QueryServicesDescriptorSDKType { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + 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; + isModule: boolean; /** methods provides a list of query service methods */ + methods: QueryMethodDescriptor[]; } +/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ + +export interface QueryServiceDescriptorSDKType { + /** 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: 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; } +/** + * 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 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; +} function createBaseAppDescriptor(): AppDescriptor { return { @@ -309,28 +534,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; @@ -390,26 +593,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 ?? ""; @@ -456,24 +639,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)) || []; @@ -537,22 +702,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 ?? ""; @@ -600,18 +749,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 ?? ""; @@ -657,24 +794,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)) || []; @@ -738,33 +857,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 ?? ""; @@ -821,20 +913,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 ?? ""; @@ -890,26 +968,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 ?? ""; @@ -956,18 +1014,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 ?? ""; @@ -1013,18 +1059,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 ?? ""; @@ -1060,15 +1094,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; @@ -1091,7 +1116,7 @@ export const GetAuthnDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetAuthnDescriptorResponse(); @@ -1113,18 +1138,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; @@ -1160,15 +1173,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; @@ -1191,7 +1195,7 @@ export const GetChainDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetChainDescriptorResponse(); @@ -1213,18 +1217,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; @@ -1260,15 +1252,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; @@ -1291,7 +1274,7 @@ export const GetCodecDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetCodecDescriptorResponse(); @@ -1313,18 +1296,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; @@ -1360,15 +1331,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; @@ -1391,7 +1353,7 @@ export const GetConfigurationDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetConfigurationDescriptorResponse(); @@ -1413,18 +1375,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; @@ -1460,15 +1410,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; @@ -1491,7 +1432,7 @@ export const GetQueryServicesDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetQueryServicesDescriptorResponse(); @@ -1513,18 +1454,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; @@ -1560,15 +1489,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; @@ -1591,7 +1511,7 @@ export const GetTxDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxDescriptorResponse(); @@ -1613,18 +1533,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; @@ -1670,24 +1578,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)) || []; @@ -1751,28 +1641,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 ?? ""; @@ -1829,20 +1697,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/examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts rename to examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts index 7b831c728..7a889d0f6 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -1,7 +1,7 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Snapshot contains Tendermint state sync snapshot info. */ + export interface Snapshot { height: Long; format: number; @@ -9,14 +9,29 @@ export interface Snapshot { hash: Uint8Array; metadata: Metadata | undefined; } +/** Snapshot contains Tendermint state sync snapshot info. */ +export interface SnapshotSDKType { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata: MetadataSDKType | undefined; +} /** Metadata contains SDK-specific snapshot metadata. */ + export interface Metadata { /** SHA-256 chunk hashes */ chunkHashes: Uint8Array[]; } +/** Metadata contains SDK-specific snapshot metadata. */ +export interface MetadataSDKType { + /** SHA-256 chunk hashes */ + chunk_hashes: Uint8Array[]; +} /** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ + export interface SnapshotItem { store?: SnapshotStoreItem | undefined; iavl?: SnapshotIAVLItem | undefined; @@ -25,45 +40,94 @@ export interface SnapshotItem { kv?: SnapshotKVItem | undefined; schema?: SnapshotSchema | undefined; } +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ +export interface SnapshotItemSDKType { + store?: SnapshotStoreItemSDKType | undefined; + iavl?: SnapshotIAVLItemSDKType | undefined; + extension?: SnapshotExtensionMetaSDKType | undefined; + extension_payload?: SnapshotExtensionPayloadSDKType | undefined; + kv?: SnapshotKVItemSDKType | undefined; + schema?: SnapshotSchemaSDKType | undefined; +} /** SnapshotStoreItem contains metadata about a snapshotted store. */ + export interface SnapshotStoreItem { name: string; } +/** SnapshotStoreItem contains metadata about a snapshotted store. */ +export interface SnapshotStoreItemSDKType { + name: string; +} /** SnapshotIAVLItem is an exported IAVL node. */ + export interface SnapshotIAVLItem { key: Uint8Array; value: Uint8Array; - /** version is block height */ - version: Long; + version: Long; /** height is depth of the tree. */ + height: number; } +/** SnapshotIAVLItem is an exported IAVL node. */ + +export interface SnapshotIAVLItemSDKType { + key: Uint8Array; + value: Uint8Array; + /** version is block height */ + + version: Long; + /** height is depth of the tree. */ + height: number; +} /** SnapshotExtensionMeta contains metadata about an external snapshotter. */ + export interface SnapshotExtensionMeta { name: string; format: number; } +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ +export interface SnapshotExtensionMetaSDKType { + name: string; + format: number; +} /** SnapshotExtensionPayload contains payloads of an external snapshotter. */ + export interface SnapshotExtensionPayload { payload: Uint8Array; } +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ +export interface SnapshotExtensionPayloadSDKType { + payload: Uint8Array; +} /** SnapshotKVItem is an exported Key/Value Pair */ + export interface SnapshotKVItem { key: Uint8Array; value: Uint8Array; } +/** SnapshotKVItem is an exported Key/Value Pair */ +export interface SnapshotKVItemSDKType { + key: Uint8Array; + value: Uint8Array; +} /** SnapshotSchema is an exported schema of smt store */ + export interface SnapshotSchema { keys: Uint8Array[]; } +/** SnapshotSchema is an exported schema of smt store */ + +export interface SnapshotSchemaSDKType { + keys: Uint8Array[]; +} function createBaseSnapshot(): Snapshot { return { @@ -138,26 +202,6 @@ export const Snapshot = { return message; }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; @@ -207,24 +251,6 @@ export const Metadata = { 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) || []; @@ -315,28 +341,6 @@ export const SnapshotItem = { 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; @@ -387,18 +391,6 @@ export const SnapshotStoreItem = { 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 ?? ""; @@ -471,24 +463,6 @@ export const SnapshotIAVLItem = { 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) ? Long.fromString(object.version) : Long.ZERO, - 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 || Long.ZERO).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(); @@ -546,20 +520,6 @@ export const SnapshotExtensionMeta = { 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 ?? ""; @@ -606,18 +566,6 @@ export const SnapshotExtensionPayload = { 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(); @@ -672,20 +620,6 @@ export const SnapshotKVItem = { 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(); @@ -732,24 +666,6 @@ export const SnapshotSchema = { 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) || []; diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts rename to examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts index 5d7a60120..c1e7928b5 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ b/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -1,32 +1,59 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * CommitInfo defines commit information used by the multi-store when committing * a version/height. */ + export interface CommitInfo { version: Long; storeInfos: StoreInfo[]; } +/** + * 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 | undefined; } +/** + * 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 | undefined; +} /** * CommitID defines the committment information when a specific store is * committed. */ + export interface CommitID { version: Long; hash: Uint8Array; } +/** + * CommitID defines the committment information when a specific store is + * committed. + */ + +export interface CommitIDSDKType { + version: Long; + hash: Uint8Array; +} function createBaseCommitInfo(): CommitInfo { return { @@ -74,26 +101,6 @@ export const CommitInfo = { return message; }, - fromJSON(object: any): CommitInfo { - return { - version: isSet(object.version) ? Long.fromString(object.version) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; @@ -149,20 +156,6 @@ export const StoreInfo = { 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 ?? ""; @@ -218,20 +211,6 @@ export const CommitID = { return message; }, - fromJSON(object: any): CommitID { - return { - version: isSet(object.version) ? Long.fromString(object.version) : Long.ZERO, - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - - toJSON(message: CommitID): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/contracts/codegen/cosmos/base/store/v1beta1/listening.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts rename to examples/contracts/codegen/cosmos/base/store/v1beta1/listening.ts index f0a4203f7..9ca6d2365 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/store/v1beta1/listening.ts +++ b/examples/contracts/codegen/cosmos/base/store/v1beta1/listening.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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 @@ -8,11 +6,29 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * * 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; +} +/** + * 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 { + /** 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; @@ -82,24 +98,6 @@ export const StoreKVPair = { 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 ?? ""; diff --git a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..ae69c027c --- /dev/null +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts @@ -0,0 +1,81 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } 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); + } + /* 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); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts similarity index 50% rename from examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts rename to examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts index 641acd5b4..bcce00d01 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -1,34 +1,30 @@ -import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { BlockID } from "../../../../tendermint/types/types"; -import { Block } from "../../../../tendermint/types/block"; -import { NodeInfo } from "../../../../tendermint/p2p/types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; /** Service defines the RPC service */ + export interface Service { - getNodeInfo(request: GetNodeInfoRequest): Promise; + getNodeInfo(request?: GetNodeInfoRequest): Promise; /*GetNodeInfo queries the current node info.*/ - getSyncing(request: GetSyncingRequest): Promise; + getSyncing(request?: GetSyncingRequest): Promise; /*GetSyncing queries node syncing.*/ - getLatestBlock(request: GetLatestBlockRequest): Promise; + getLatestBlock(request?: GetLatestBlockRequest): Promise; /*GetLatestBlock returns the latest block.*/ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; + getBlockByHeight(request: GetBlockByHeightRequest): Promise; /*GetBlockByHeight queries block for given height.*/ - getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise; + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; /*GetLatestValidatorSet queries latest validator-set.*/ - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; /*GetValidatorSetByHeight queries validator-set at a given height.*/ } -export class ServiceClientImpl implements Service { +export class QueryClientImpl implements Service { private readonly rpc: Rpc; constructor(rpc: Rpc) { @@ -41,40 +37,72 @@ export class ServiceClientImpl implements Service { this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); } - getNodeInfo(request: GetNodeInfoRequest): Promise { + 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 _m0.Reader(data))); } - getSyncing(request: GetSyncingRequest): Promise { + 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 _m0.Reader(data))); } - getLatestBlock(request: GetLatestBlockRequest): Promise { + 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 _m0.Reader(data))); } - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + 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 _m0.Reader(data))); } - getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise { + 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 _m0.Reader(data))); } - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(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); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts index 381cbb9bc..cc211d1d6 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -1,89 +1,166 @@ -import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { BlockID } from "../../../../tendermint/types/types"; -import { Block } from "../../../../tendermint/types/block"; -import { NodeInfo } from "../../../../tendermint/p2p/types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../../tendermint/types/block"; +import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetValidatorSetByHeightRequestSDKType { + height: Long; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetValidatorSetByHeightResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + pagination?: PageResponseSDKType | undefined; +} /** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ + export interface GetLatestValidatorSetRequest { /** pagination defines an pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetRequestSDKType { + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** Validator is the type for the validator-set. */ + export interface Validator { address: string; pubKey: Any | undefined; votingPower: Long; proposerPriority: Long; } +/** Validator is the type for the validator-set. */ +export interface ValidatorSDKType { + address: string; + pub_key: AnySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} /** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ + export interface GetBlockByHeightRequest { height: Long; } +/** 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 | undefined; block: Block | undefined; } +/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightResponseSDKType { + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; +} /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ + export interface GetLatestBlockRequest {} +/** 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 | undefined; block: Block | undefined; } +/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockResponseSDKType { + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; +} /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ + export interface GetSyncingRequest {} +/** 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; } +/** 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 {} +/** 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 { nodeInfo: NodeInfo | undefined; applicationVersion: VersionInfo | undefined; } +/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoResponseSDKType { + node_info: NodeInfoSDKType | undefined; + application_version: VersionInfoSDKType | undefined; +} /** VersionInfo is the type for the GetNodeInfoResponse message. */ + export interface VersionInfo { name: string; appName: string; @@ -92,20 +169,46 @@ export interface VersionInfo { buildTags: string; goVersion: string; buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ + cosmosSdkVersion: string; } +/** 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[]; + /** Since: cosmos-sdk 0.43 */ + + cosmos_sdk_version: string; +} /** Module is the type for VersionInfo */ + export interface Module { /** module path */ path: string; - /** module version */ + version: string; + /** checksum */ + sum: string; +} +/** Module is the type for VersionInfo */ + +export interface ModuleSDKType { + /** module path */ + path: string; + /** module version */ + + version: string; /** checksum */ + sum: string; } @@ -155,20 +258,6 @@ export const GetValidatorSetByHeightRequest = { return message; }, - fromJSON(object: any): GetValidatorSetByHeightRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: GetValidatorSetByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -203,7 +292,7 @@ export const GetValidatorSetByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetValidatorSetByHeightResponse(); @@ -233,28 +322,6 @@ export const GetValidatorSetByHeightResponse = { return message; }, - fromJSON(object: any): GetValidatorSetByHeightResponse { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; @@ -302,18 +369,6 @@ export const GetLatestValidatorSetRequest = { 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; @@ -347,7 +402,7 @@ export const GetLatestValidatorSetResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestValidatorSetResponse(); @@ -377,28 +432,6 @@ export const GetLatestValidatorSetResponse = { return message; }, - fromJSON(object: any): GetLatestValidatorSetResponse { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; @@ -473,24 +506,6 @@ export const Validator = { 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) ? Long.fromString(object.votingPower) : Long.ZERO, - proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? ""; @@ -539,18 +554,6 @@ export const GetBlockByHeightRequest = { return message; }, - fromJSON(object: any): GetBlockByHeightRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: GetBlockByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightRequest { const message = createBaseGetBlockByHeightRequest(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -579,7 +582,7 @@ export const GetBlockByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockByHeightResponse(); @@ -605,20 +608,6 @@ export const GetBlockByHeightResponse = { return message; }, - fromJSON(object: any): GetBlockByHeightResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightResponse { const message = createBaseGetBlockByHeightResponse(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -655,15 +644,6 @@ export const GetLatestBlockRequest = { return message; }, - fromJSON(_: any): GetLatestBlockRequest { - return {}; - }, - - toJSON(_: GetLatestBlockRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetLatestBlockRequest { const message = createBaseGetLatestBlockRequest(); return message; @@ -691,7 +671,7 @@ export const GetLatestBlockResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestBlockResponse(); @@ -717,20 +697,6 @@ export const GetLatestBlockResponse = { return message; }, - fromJSON(object: any): GetLatestBlockResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: Partial): GetLatestBlockResponse { const message = createBaseGetLatestBlockResponse(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -767,15 +733,6 @@ export const GetSyncingRequest = { return message; }, - fromJSON(_: any): GetSyncingRequest { - return {}; - }, - - toJSON(_: GetSyncingRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetSyncingRequest { const message = createBaseGetSyncingRequest(); return message; @@ -798,7 +755,7 @@ export const GetSyncingResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetSyncingResponse(); @@ -820,18 +777,6 @@ export const GetSyncingResponse = { 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; @@ -867,15 +812,6 @@ export const GetNodeInfoRequest = { return message; }, - fromJSON(_: any): GetNodeInfoRequest { - return {}; - }, - - toJSON(_: GetNodeInfoRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetNodeInfoRequest { const message = createBaseGetNodeInfoRequest(); return message; @@ -903,7 +839,7 @@ export const GetNodeInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetNodeInfoResponse(); @@ -929,20 +865,6 @@ export const GetNodeInfoResponse = { return message; }, - fromJSON(object: any): GetNodeInfoResponse { - return { - nodeInfo: isSet(object.nodeInfo) ? NodeInfo.fromJSON(object.nodeInfo) : undefined, - applicationVersion: isSet(object.applicationVersion) ? VersionInfo.fromJSON(object.applicationVersion) : undefined - }; - }, - - toJSON(message: GetNodeInfoResponse): unknown { - const obj: any = {}; - message.nodeInfo !== undefined && (obj.nodeInfo = message.nodeInfo ? NodeInfo.toJSON(message.nodeInfo) : undefined); - message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); - return obj; - }, - fromPartial(object: Partial): GetNodeInfoResponse { const message = createBaseGetNodeInfoResponse(); message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; @@ -1052,38 +974,6 @@ export const VersionInfo = { 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 ?? ""; @@ -1154,22 +1044,6 @@ export const Module = { 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 ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts b/examples/contracts/codegen/cosmos/base/v1beta1/coin.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts rename to examples/contracts/codegen/cosmos/base/v1beta1/coin.ts index 524d3fcfe..9b5b3269c 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/base/v1beta1/coin.ts +++ b/examples/contracts/codegen/cosmos/base/v1beta1/coin.ts @@ -1,37 +1,68 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; } +/** + * 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; } +/** + * 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; } +/** 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; } +/** DecProto defines a Protobuf wrapper around a Dec object. */ + +export interface DecProtoSDKType { + dec: string; +} function createBaseCoin(): Coin { return { @@ -79,20 +110,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 ?? ""; @@ -148,20 +165,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 ?? ""; @@ -208,18 +211,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 ?? ""; @@ -265,18 +256,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/examples/telescope-with-contracts/codegen/cosmos/bundle.ts b/examples/contracts/codegen/cosmos/bundle.ts similarity index 62% rename from examples/telescope-with-contracts/codegen/cosmos/bundle.ts rename to examples/contracts/codegen/cosmos/bundle.ts index a4ceb3fa2..f3ebb0d52 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/bundle.ts +++ b/examples/contracts/codegen/cosmos/bundle.ts @@ -90,70 +90,100 @@ import * as _90 from "./upgrade/v1beta1/tx"; import * as _91 from "./upgrade/v1beta1/upgrade"; import * as _92 from "./vesting/v1beta1/tx"; import * as _93 from "./vesting/v1beta1/vesting"; -import * as _146 from "./auth/v1beta1/query.lcd"; -import * as _147 from "./authz/v1beta1/query.lcd"; -import * as _148 from "./bank/v1beta1/query.lcd"; -import * as _149 from "./distribution/v1beta1/query.lcd"; -import * as _150 from "./evidence/v1beta1/query.lcd"; -import * as _151 from "./feegrant/v1beta1/query.lcd"; -import * as _152 from "./gov/v1/query.lcd"; -import * as _153 from "./gov/v1beta1/query.lcd"; -import * as _154 from "./group/v1/query.lcd"; -import * as _155 from "./mint/v1beta1/query.lcd"; -import * as _156 from "./nft/v1beta1/query.lcd"; -import * as _157 from "./params/v1beta1/query.lcd"; -import * as _158 from "./slashing/v1beta1/query.lcd"; -import * as _159 from "./staking/v1beta1/query.lcd"; -import * as _160 from "./upgrade/v1beta1/query.lcd"; -import * as _161 from "./app/v1alpha1/query.rpc.query"; -import * as _162 from "./auth/v1beta1/query.rpc.query"; -import * as _163 from "./authz/v1beta1/query.rpc.query"; -import * as _164 from "./bank/v1beta1/query.rpc.query"; -import * as _165 from "./base/tendermint/v1beta1/query.rpc.svc"; -import * as _166 from "./distribution/v1beta1/query.rpc.query"; -import * as _167 from "./evidence/v1beta1/query.rpc.query"; -import * as _168 from "./feegrant/v1beta1/query.rpc.query"; -import * as _169 from "./gov/v1/query.rpc.query"; -import * as _170 from "./gov/v1beta1/query.rpc.query"; -import * as _171 from "./group/v1/query.rpc.query"; -import * as _172 from "./mint/v1beta1/query.rpc.query"; -import * as _173 from "./nft/v1beta1/query.rpc.query"; -import * as _174 from "./params/v1beta1/query.rpc.query"; -import * as _175 from "./slashing/v1beta1/query.rpc.query"; -import * as _176 from "./staking/v1beta1/query.rpc.query"; -import * as _177 from "./tx/v1beta1/service.rpc.svc"; -import * as _178 from "./upgrade/v1beta1/query.rpc.query"; -import * as _179 from "./authz/v1beta1/tx.rpc.msg"; -import * as _180 from "./bank/v1beta1/tx.rpc.msg"; -import * as _181 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _182 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _183 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _184 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _185 from "./gov/v1/tx.rpc.msg"; -import * as _186 from "./gov/v1beta1/tx.rpc.msg"; -import * as _187 from "./group/v1/tx.rpc.msg"; -import * as _188 from "./nft/v1beta1/tx.rpc.msg"; -import * as _189 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _190 from "./staking/v1beta1/tx.rpc.msg"; -import * as _191 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _192 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _209 from "./lcd"; -import * as _210 from "./rpc.query"; -import * as _211 from "./rpc.tx"; +import * as _146 from "./authz/v1beta1/tx.amino"; +import * as _147 from "./bank/v1beta1/tx.amino"; +import * as _148 from "./crisis/v1beta1/tx.amino"; +import * as _149 from "./distribution/v1beta1/tx.amino"; +import * as _150 from "./evidence/v1beta1/tx.amino"; +import * as _151 from "./feegrant/v1beta1/tx.amino"; +import * as _152 from "./gov/v1/tx.amino"; +import * as _153 from "./gov/v1beta1/tx.amino"; +import * as _154 from "./group/v1/tx.amino"; +import * as _155 from "./nft/v1beta1/tx.amino"; +import * as _156 from "./slashing/v1beta1/tx.amino"; +import * as _157 from "./staking/v1beta1/tx.amino"; +import * as _158 from "./upgrade/v1beta1/tx.amino"; +import * as _159 from "./vesting/v1beta1/tx.amino"; +import * as _160 from "./authz/v1beta1/tx.registry"; +import * as _161 from "./bank/v1beta1/tx.registry"; +import * as _162 from "./crisis/v1beta1/tx.registry"; +import * as _163 from "./distribution/v1beta1/tx.registry"; +import * as _164 from "./evidence/v1beta1/tx.registry"; +import * as _165 from "./feegrant/v1beta1/tx.registry"; +import * as _166 from "./gov/v1/tx.registry"; +import * as _167 from "./gov/v1beta1/tx.registry"; +import * as _168 from "./group/v1/tx.registry"; +import * as _169 from "./nft/v1beta1/tx.registry"; +import * as _170 from "./slashing/v1beta1/tx.registry"; +import * as _171 from "./staking/v1beta1/tx.registry"; +import * as _172 from "./upgrade/v1beta1/tx.registry"; +import * as _173 from "./vesting/v1beta1/tx.registry"; +import * as _174 from "./auth/v1beta1/query.lcd"; +import * as _175 from "./authz/v1beta1/query.lcd"; +import * as _176 from "./bank/v1beta1/query.lcd"; +import * as _177 from "./base/tendermint/v1beta1/query.lcd"; +import * as _178 from "./distribution/v1beta1/query.lcd"; +import * as _179 from "./evidence/v1beta1/query.lcd"; +import * as _180 from "./feegrant/v1beta1/query.lcd"; +import * as _181 from "./gov/v1/query.lcd"; +import * as _182 from "./gov/v1beta1/query.lcd"; +import * as _183 from "./group/v1/query.lcd"; +import * as _184 from "./mint/v1beta1/query.lcd"; +import * as _185 from "./nft/v1beta1/query.lcd"; +import * as _186 from "./params/v1beta1/query.lcd"; +import * as _187 from "./slashing/v1beta1/query.lcd"; +import * as _188 from "./staking/v1beta1/query.lcd"; +import * as _189 from "./tx/v1beta1/service.lcd"; +import * as _190 from "./upgrade/v1beta1/query.lcd"; +import * as _191 from "./app/v1alpha1/query.rpc.query"; +import * as _192 from "./auth/v1beta1/query.rpc.query"; +import * as _193 from "./authz/v1beta1/query.rpc.query"; +import * as _194 from "./bank/v1beta1/query.rpc.query"; +import * as _195 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _196 from "./distribution/v1beta1/query.rpc.query"; +import * as _197 from "./evidence/v1beta1/query.rpc.query"; +import * as _198 from "./feegrant/v1beta1/query.rpc.query"; +import * as _199 from "./gov/v1/query.rpc.query"; +import * as _200 from "./gov/v1beta1/query.rpc.query"; +import * as _201 from "./group/v1/query.rpc.query"; +import * as _202 from "./mint/v1beta1/query.rpc.query"; +import * as _203 from "./nft/v1beta1/query.rpc.query"; +import * as _204 from "./params/v1beta1/query.rpc.query"; +import * as _205 from "./slashing/v1beta1/query.rpc.query"; +import * as _206 from "./staking/v1beta1/query.rpc.query"; +import * as _207 from "./tx/v1beta1/service.rpc.svc"; +import * as _208 from "./upgrade/v1beta1/query.rpc.query"; +import * as _209 from "./authz/v1beta1/tx.rpc.msg"; +import * as _210 from "./bank/v1beta1/tx.rpc.msg"; +import * as _211 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _212 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _213 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _214 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _215 from "./gov/v1/tx.rpc.msg"; +import * as _216 from "./gov/v1beta1/tx.rpc.msg"; +import * as _217 from "./group/v1/tx.rpc.msg"; +import * as _218 from "./nft/v1beta1/tx.rpc.msg"; +import * as _219 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _220 from "./staking/v1beta1/tx.rpc.msg"; +import * as _221 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _222 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _249 from "./lcd"; +import * as _250 from "./rpc.query"; +import * as _251 from "./rpc.tx"; export namespace cosmos { export namespace app { export const v1alpha1 = { ..._2, ..._3, ..._4, - ..._161 + ..._191 }; } export namespace auth { export const v1beta1 = { ..._5, ..._6, ..._7, - ..._146, - ..._162 + ..._174, + ..._192 }; } export namespace authz { @@ -162,9 +192,11 @@ export namespace cosmos { ..._10, ..._11, ..._12, - ..._147, - ..._163, - ..._179 + ..._146, + ..._160, + ..._175, + ..._193, + ..._209 }; } export namespace bank { @@ -173,9 +205,11 @@ export namespace cosmos { ..._15, ..._16, ..._17, - ..._148, - ..._164, - ..._180 + ..._147, + ..._161, + ..._176, + ..._194, + ..._210 }; } export namespace base { @@ -208,7 +242,8 @@ export namespace cosmos { } export namespace tendermint { export const v1beta1 = { ..._26, - ..._165 + ..._177, + ..._195 }; } export const v1beta1 = { ..._27 @@ -222,7 +257,9 @@ export namespace cosmos { export namespace crisis { export const v1beta1 = { ..._30, ..._31, - ..._181 + ..._148, + ..._162, + ..._211 }; } export namespace crypto { @@ -249,8 +286,10 @@ export namespace cosmos { ..._40, ..._41, ..._149, - ..._166, - ..._182 + ..._163, + ..._178, + ..._196, + ..._212 }; } export namespace evidence { @@ -259,8 +298,10 @@ export namespace cosmos { ..._44, ..._45, ..._150, - ..._167, - ..._183 + ..._164, + ..._179, + ..._197, + ..._213 }; } export namespace feegrant { @@ -269,8 +310,10 @@ export namespace cosmos { ..._48, ..._49, ..._151, - ..._168, - ..._184 + ..._165, + ..._180, + ..._198, + ..._214 }; } export namespace genutil { @@ -283,16 +326,20 @@ export namespace cosmos { ..._53, ..._54, ..._152, - ..._169, - ..._185 + ..._166, + ..._181, + ..._199, + ..._215 }; export const v1beta1 = { ..._55, ..._56, ..._57, ..._58, ..._153, - ..._170, - ..._186 + ..._167, + ..._182, + ..._200, + ..._216 }; } export namespace group { @@ -302,16 +349,18 @@ export namespace cosmos { ..._62, ..._63, ..._154, - ..._171, - ..._187 + ..._168, + ..._183, + ..._201, + ..._217 }; } export namespace mint { export const v1beta1 = { ..._64, ..._65, ..._66, - ..._155, - ..._172 + ..._184, + ..._202 }; } export namespace msg { @@ -324,9 +373,11 @@ export namespace cosmos { ..._70, ..._71, ..._72, - ..._156, - ..._173, - ..._188 + ..._155, + ..._169, + ..._185, + ..._203, + ..._218 }; } export namespace orm { @@ -338,8 +389,8 @@ export namespace cosmos { export namespace params { export const v1beta1 = { ..._75, ..._76, - ..._157, - ..._174 + ..._186, + ..._204 }; } export namespace slashing { @@ -347,9 +398,11 @@ export namespace cosmos { ..._78, ..._79, ..._80, - ..._158, - ..._175, - ..._189 + ..._156, + ..._170, + ..._187, + ..._205, + ..._219 }; } export namespace staking { @@ -358,9 +411,11 @@ export namespace cosmos { ..._83, ..._84, ..._85, - ..._159, - ..._176, - ..._190 + ..._157, + ..._171, + ..._188, + ..._206, + ..._220 }; } export namespace tx { @@ -370,26 +425,31 @@ export namespace cosmos { } export const v1beta1 = { ..._87, ..._88, - ..._177 + ..._189, + ..._207 }; } export namespace upgrade { export const v1beta1 = { ..._89, ..._90, ..._91, - ..._160, - ..._178, - ..._191 + ..._158, + ..._172, + ..._190, + ..._208, + ..._221 }; } export namespace vesting { export const v1beta1 = { ..._92, ..._93, - ..._192 + ..._159, + ..._173, + ..._222 }; } - export const ClientFactory = { ..._209, - ..._210, - ..._211 + export const ClientFactory = { ..._249, + ..._250, + ..._251 }; } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts b/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts rename to examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts index 271685c24..20eccc133 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/capability.ts +++ b/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts @@ -1,30 +1,55 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * Capability defines an implementation of an object capability. The index * provided to a Capability must be globally unique. */ + export interface Capability { index: Long; } +/** + * 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; } +/** + * 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[]; } +/** + * 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 { @@ -63,18 +88,6 @@ export const Capability = { return message; }, - fromJSON(object: any): Capability { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO - }; - }, - - toJSON(message: Capability): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Capability { const message = createBaseCapability(); message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; @@ -129,20 +142,6 @@ export const Owner = { 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 ?? ""; @@ -189,24 +188,6 @@ export const CapabilityOwners = { 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)) || []; diff --git a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts index f35b17850..bfb716e1f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/capability/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts @@ -1,27 +1,48 @@ -import { CapabilityOwners } from "./capability"; +import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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 | undefined; } +/** GenesisOwners defines the capability owners with their corresponding index. */ + +export interface GenesisOwnersSDKType { + /** index is the index of the capability owner. */ + index: Long; + /** index_owners are the owners at the given index. */ + index_owners: CapabilityOwnersSDKType | undefined; +} /** 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[]; } +/** GenesisState defines the capability module's genesis state. */ + +export interface GenesisStateSDKType { + /** 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: GenesisOwnersSDKType[]; +} function createBaseGenesisOwners(): GenesisOwners { return { @@ -69,20 +90,6 @@ export const GenesisOwners = { return message; }, - fromJSON(object: any): GenesisOwners { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO, - indexOwners: isSet(object.indexOwners) ? CapabilityOwners.fromJSON(object.indexOwners) : undefined - }; - }, - - toJSON(message: GenesisOwners): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; @@ -138,26 +145,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; diff --git a/examples/contracts/codegen/cosmos/client.ts b/examples/contracts/codegen/cosmos/client.ts new file mode 100644 index 000000000..def39ffd3 --- /dev/null +++ b/examples/contracts/codegen/cosmos/client.ts @@ -0,0 +1,72 @@ +import { OfflineSigner, Registry } from "@cosmjs/proto-signing"; +import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +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 getSigningCosmosClientOptions = (): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...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]); + const aminoTypes = new AminoTypes({ ...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 + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmosClient = async ({ + rpcEndpoint, + signer +}: { + rpcEndpoint: string; + signer: OfflineSigner; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmosClientOptions(); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts index 4fb027081..17bbfbcfd 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -1,8 +1,7 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 @@ -10,6 +9,15 @@ export interface GenesisState { */ constantFee: Coin | undefined; } +/** GenesisState defines the crisis module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * constant_fee is the fee used to verify the invariant in the crisis + * module. + */ + constant_fee: CoinSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -48,18 +56,6 @@ export const GenesisState = { 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; diff --git a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.amino.ts new file mode 100644 index 000000000..7d4adbcef --- /dev/null +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.amino.ts @@ -0,0 +1,37 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgVerifyInvariant } from "./tx"; +export interface AminoMsgVerifyInvariant extends AminoMsg { + type: "cosmos-sdk/MsgVerifyInvariant"; + value: { + sender: string; + invariant_module_name: string; + invariant_route: string; + }; +} +export const AminoConverter = { + "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { + aminoType: "cosmos-sdk/MsgVerifyInvariant", + toAmino: ({ + sender, + invariantModuleName, + invariantRoute + }: MsgVerifyInvariant): AminoMsgVerifyInvariant["value"] => { + return { + sender, + invariant_module_name: invariantModuleName, + invariant_route: invariantRoute + }; + }, + fromAmino: ({ + sender, + invariant_module_name, + invariant_route + }: AminoMsgVerifyInvariant["value"]): MsgVerifyInvariant => { + return { + sender, + invariantModuleName: invariant_module_name, + invariantRoute: invariant_route + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.registry.ts new file mode 100644 index 000000000..a3a6b31f5 --- /dev/null +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + verifyInvariant(value: MsgVerifyInvariant) { + return { + typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", + value: MsgVerifyInvariant.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts similarity index 82% rename from examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts index fd156a3be..5eacd96de 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; - +import { MsgVerifyInvariant, MsgVerifyInvariantResponse, MsgVerifyInvariantResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - verifyInvariant(request: MsgVerifyInvariant): Promise; + verifyInvariant(request: MsgVerifyInvariant): Promise; /*VerifyInvariant defines a method to verify a particular invariance.*/ } @@ -16,7 +16,7 @@ export class MsgClientImpl implements Msg { this.verifyInvariant = this.verifyInvariant.bind(this); } - verifyInvariant(request: MsgVerifyInvariant): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts index 267a67c7b..fd4879b80 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crisis/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts @@ -1,15 +1,24 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgVerifyInvariant represents a message to verify a particular invariance. */ + export interface MsgVerifyInvariant { sender: string; invariantModuleName: string; invariantRoute: string; } +/** 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 {} +/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ + +export interface MsgVerifyInvariantResponseSDKType {} function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { return { @@ -66,22 +75,6 @@ export const MsgVerifyInvariant = { 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 ?? ""; @@ -101,7 +94,7 @@ export const MsgVerifyInvariantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVerifyInvariantResponse(); @@ -119,15 +112,6 @@ export const MsgVerifyInvariantResponse = { return message; }, - fromJSON(_: any): MsgVerifyInvariantResponse { - return {}; - }, - - toJSON(_: MsgVerifyInvariantResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgVerifyInvariantResponse { const message = createBaseMsgVerifyInvariantResponse(); return message; diff --git a/examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts b/examples/contracts/codegen/cosmos/crypto/ed25519/keys.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts rename to examples/contracts/codegen/cosmos/crypto/ed25519/keys.ts index 1283cbc41..46b5d929a 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/ed25519/keys.ts +++ b/examples/contracts/codegen/cosmos/crypto/ed25519/keys.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * PubKey is an ed25519 public key for handling Tendermint keys in SDK. * It's needed for Any serialization and SDK compatibility. @@ -8,17 +6,37 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * 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; } +/** + * 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; } +/** + * 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; +} function createBasePubKey(): PubKey { return { @@ -57,18 +75,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(); @@ -114,18 +120,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/examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/contracts/codegen/cosmos/crypto/hd/v1/hd.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts rename to examples/contracts/codegen/cosmos/crypto/hd/v1/hd.ts index 93089b42a..9af6f6ba6 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/hd/v1/hd.ts +++ b/examples/contracts/codegen/cosmos/crypto/hd/v1/hd.ts @@ -1,26 +1,46 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 */ purpose: number; - /** coin_type is a constant that improves privacy */ - coinType: number; + coinType: number; /** account splits the key space into independent user identities */ - account: number; + 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; + change: boolean; /** address_index is used as child index in BIP32 derivation */ + addressIndex: number; } +/** BIP44Params is used as path field in ledger item in Record. */ + +export interface BIP44ParamsSDKType { + /** 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; +} function createBaseBIP44Params(): BIP44Params { return { @@ -95,26 +115,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/examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts rename to examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts index be1c46066..ee28ed6c2 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/keyring/v1/record.ts +++ b/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts @@ -1,48 +1,88 @@ -import { Any } from "../../../../google/protobuf/any"; -import { BIP44Params } from "../../hd/v1/hd"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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 | undefined; + pubKey: Any | undefined; /** local stores the public information about a locally stored key */ - local?: Record_Local | undefined; + local?: Record_Local | undefined; /** ledger stores the public information about a Ledger key */ - ledger?: Record_Ledger | undefined; + ledger?: Record_Ledger | undefined; /** Multi does not store any information. */ - multi?: Record_Multi | undefined; + multi?: Record_Multi | undefined; /** Offline does not store any information. */ + offline?: Record_Offline | undefined; } +/** Record is used for representing a key in the keyring. */ + +export interface RecordSDKType { + /** name represents a name of Record */ + name: string; + /** pub_key represents a public key in any format */ + + pub_key: AnySDKType | undefined; + /** local stores the public information about a locally stored key */ + + local?: Record_LocalSDKType | undefined; + /** ledger stores the public information about a Ledger key */ + + ledger?: Record_LedgerSDKType | undefined; + /** Multi does not store any information. */ + multi?: Record_MultiSDKType | undefined; + /** Offline does not store any information. */ + + offline?: Record_OfflineSDKType | undefined; +} /** * Item is a keyring item stored in a keyring backend. * Local item */ + export interface Record_Local { privKey: Any | undefined; privKeyType: string; } +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ +export interface Record_LocalSDKType { + priv_key: AnySDKType | undefined; + priv_key_type: string; +} /** Ledger item */ + export interface Record_Ledger { path: BIP44Params | undefined; } +/** Ledger item */ +export interface Record_LedgerSDKType { + path: BIP44ParamsSDKType | undefined; +} /** Multi item */ + export interface Record_Multi {} +/** Multi item */ +export interface Record_MultiSDKType {} /** Offline item */ + export interface Record_Offline {} +/** Offline item */ + +export interface Record_OfflineSDKType {} function createBaseRecord(): Record { return { @@ -126,28 +166,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 ?? ""; @@ -207,20 +225,6 @@ export const Record_Local = { return message; }, - fromJSON(object: any): Record_Local { - return { - privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined, - privKeyType: isSet(object.privKeyType) ? String(object.privKeyType) : "" - }; - }, - - toJSON(message: Record_Local): unknown { - const obj: any = {}; - message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); - message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType); - return obj; - }, - fromPartial(object: Partial): Record_Local { const message = createBaseRecord_Local(); message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; @@ -267,18 +271,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; @@ -314,15 +306,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; @@ -357,15 +340,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/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts b/examples/contracts/codegen/cosmos/crypto/multisig/keys.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts rename to examples/contracts/codegen/cosmos/crypto/multisig/keys.ts index 859eedc3b..fe7eab10c 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/keys.ts +++ b/examples/contracts/codegen/cosmos/crypto/multisig/keys.ts @@ -1,16 +1,25 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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[]; } +/** + * 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[]; +} function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { return { @@ -58,26 +67,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/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts rename to examples/contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts index 9ba9d59c8..73f700800 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +++ b/examples/contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -1,25 +1,44 @@ import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes, isSet } from "@osmonauts/helpers"; - /** * 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[]; } +/** + * 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; } +/** + * 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; +} function createBaseMultiSignature(): MultiSignature { return { @@ -58,24 +77,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) || []; @@ -130,20 +131,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/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/contracts/codegen/cosmos/crypto/secp256k1/keys.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts rename to examples/contracts/codegen/cosmos/crypto/secp256k1/keys.ts index cc0a200bb..093f1fcc3 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256k1/keys.ts +++ b/examples/contracts/codegen/cosmos/crypto/secp256k1/keys.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * PubKey defines a secp256k1 public key * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte @@ -8,14 +6,31 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * the x-coordinate. Otherwise the first byte is a 0x03. * This prefix is followed with the x-coordinate. */ + export interface PubKey { key: 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 PubKeySDKType { + key: Uint8Array; +} /** PrivKey defines a secp256k1 private key. */ + export interface PrivKey { key: Uint8Array; } +/** PrivKey defines a secp256k1 private key. */ + +export interface PrivKeySDKType { + key: Uint8Array; +} function createBasePubKey(): PubKey { return { @@ -54,18 +69,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(); @@ -111,18 +114,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/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/contracts/codegen/cosmos/crypto/secp256r1/keys.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts rename to examples/contracts/codegen/cosmos/crypto/secp256r1/keys.ts index f9b840c3f..cb4bc3b5f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/crypto/secp256r1/keys.ts +++ b/examples/contracts/codegen/cosmos/crypto/secp256r1/keys.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** PubKey defines a secp256r1 ECDSA public key. */ + export interface PubKey { /** * Point on secp256r1 curve in a compressed representation as specified in section @@ -9,12 +8,27 @@ export interface PubKey { */ key: Uint8Array; } +/** PubKey defines a secp256r1 ECDSA public key. */ +export interface PubKeySDKType { + /** + * 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; +} /** PrivKey defines a secp256r1 ECDSA private key. */ + export interface PrivKey { /** secret number serialized using big-endian encoding */ secret: Uint8Array; } +/** PrivKey defines a secp256r1 ECDSA private key. */ + +export interface PrivKeySDKType { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} function createBasePubKey(): PubKey { return { @@ -53,18 +67,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(); @@ -110,18 +112,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/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts index 9bcd72a40..591a636ee 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/distribution.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -1,15 +1,22 @@ -import { DecCoin, Coin } from "../../base/v1beta1/coin"; +import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Params defines the set of params for the distribution module. */ + export interface Params { communityTax: string; baseProposerReward: string; bonusProposerReward: string; withdrawAddrEnabled: boolean; } +/** 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. @@ -24,70 +31,148 @@ export interface Params { * read that record) * + one per validator for the zeroeth period, set on initialization */ + export interface ValidatorHistoricalRewards { cumulativeRewardRatio: DecCoin[]; referenceCount: number; } +/** + * 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; } +/** + * 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[]; } +/** + * 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[]; } +/** + * 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; } +/** + * 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[]; } +/** 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[]; } +/** 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 { title: string; description: string; recipient: string; amount: Coin[]; } +/** + * 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 { + 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 @@ -96,25 +181,49 @@ export interface CommunityPoolSpendProposal { * 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; } +/** + * 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[]; } +/** + * 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 { title: string; description: string; @@ -122,6 +231,18 @@ export interface CommunityPoolSpendProposalWithDeposit { amount: string; deposit: string; } +/** + * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal + * with a deposit + */ + +export interface CommunityPoolSpendProposalWithDepositSDKType { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} function createBaseParams(): Params { return { @@ -187,24 +308,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 ?? ""; @@ -262,26 +365,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)) || []; @@ -337,26 +420,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) ? Long.fromString(object.period) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorCurrentRewards { const message = createBaseValidatorCurrentRewards(); message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; @@ -403,24 +466,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)) || []; @@ -466,24 +511,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)) || []; @@ -538,20 +565,6 @@ export const ValidatorSlashEvent = { return message; }, - fromJSON(object: any): ValidatorSlashEvent { - return { - validatorPeriod: isSet(object.validatorPeriod) ? Long.fromString(object.validatorPeriod) : Long.UZERO, - fraction: isSet(object.fraction) ? String(object.fraction) : "" - }; - }, - - toJSON(message: ValidatorSlashEvent): unknown { - const obj: any = {}; - message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || Long.UZERO).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 ? Long.fromValue(object.validatorPeriod) : Long.UZERO; @@ -598,24 +611,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)) || []; @@ -661,24 +656,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)) || []; @@ -751,30 +728,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 ?? ""; @@ -841,22 +794,6 @@ export const DelegatorStartingInfo = { return message; }, - fromJSON(object: any): DelegatorStartingInfo { - return { - previousPeriod: isSet(object.previousPeriod) ? Long.fromString(object.previousPeriod) : Long.UZERO, - stake: isSet(object.stake) ? String(object.stake) : "", - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO - }; - }, - - toJSON(message: DelegatorStartingInfo): unknown { - const obj: any = {}; - message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || Long.UZERO).toString()); - message.stake !== undefined && (obj.stake = message.stake); - message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): DelegatorStartingInfo { const message = createBaseDelegatorStartingInfo(); message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; @@ -913,26 +850,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 ?? ""; @@ -1015,26 +932,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/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts index dc6a2ef7b..16953bb2d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -1,125 +1,243 @@ -import { DecCoin } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "./distribution"; +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; +import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * 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 is the address of the delegator. */ + delegator_address: string; + /** withdraw_address is the address to withdraw the delegation rewards to. */ + 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[]; } +/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ +export interface ValidatorOutstandingRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** outstanding_rewards represents the oustanding rewards of a validator. */ + + 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 | undefined; } +/** + * ValidatorAccumulatedCommissionRecord is used for import / export via genesis + * json. + */ +export interface ValidatorAccumulatedCommissionRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** accumulated is the accumulated commission of a validator. */ + + accumulated: ValidatorAccumulatedCommissionSDKType | undefined; +} /** * 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; + period: Long; /** rewards defines the historical rewards of a validator. */ + rewards: ValidatorHistoricalRewards | undefined; } +/** + * ValidatorHistoricalRewardsRecord is used for import / export via genesis + * json. + */ +export interface ValidatorHistoricalRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** period defines the period the historical rewards apply to. */ + + period: Long; + /** rewards defines the historical rewards of a validator. */ + + rewards: ValidatorHistoricalRewardsSDKType | undefined; +} /** 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 | undefined; } +/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ +export interface ValidatorCurrentRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** rewards defines the current rewards of a validator. */ + + rewards: ValidatorCurrentRewardsSDKType | undefined; +} /** 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; + validatorAddress: string; /** starting_info defines the starting info of a delegator. */ + startingInfo: DelegatorStartingInfo | undefined; } +/** DelegatorStartingInfoRecord used for import / export via genesis json. */ + +export interface DelegatorStartingInfoRecordSDKType { + /** 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: DelegatorStartingInfoSDKType | undefined; +} /** 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; + height: Long; /** period is the period of the slash event. */ - period: Long; + period: Long; /** validator_slash_event describes the slash event. */ + validatorSlashEvent: ValidatorSlashEvent | undefined; } +/** ValidatorSlashEventRecord is used for import / export via genesis json. */ + +export interface ValidatorSlashEventRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: 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. */ + + validator_slash_event: ValidatorSlashEventSDKType | undefined; +} /** GenesisState defines the distribution module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool | undefined; + feePool: FeePool | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; + delegatorWithdrawInfos: DelegatorWithdrawInfo[]; /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; + previousProposer: string; /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; + outstandingRewards: ValidatorOutstandingRewardsRecord[]; /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; + validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; + validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; + validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; + delegatorStartingInfos: DelegatorStartingInfoRecord[]; /** fee_pool defines the validator slash events at genesis. */ + validatorSlashEvents: ValidatorSlashEventRecord[]; } +/** GenesisState defines the distribution module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** fee_pool defines the fee pool at genesis. */ + + fee_pool: FeePoolSDKType | undefined; + /** fee_pool defines the delegator withdraw infos at genesis. */ + + delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; + /** fee_pool defines the previous proposer at genesis. */ + + previous_proposer: string; + /** fee_pool defines the outstanding rewards of all validators at genesis. */ + + outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; + /** fee_pool defines the accumulated commisions of all validators at genesis. */ + + validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; + /** fee_pool defines the historical rewards of all validators at genesis. */ + + validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; + /** fee_pool defines the current rewards of all validators at genesis. */ + + validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; + /** fee_pool defines the delegator starting infos at genesis. */ + + delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; + /** fee_pool defines the validator slash events at genesis. */ + + validator_slash_events: ValidatorSlashEventRecordSDKType[]; +} function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { return { @@ -167,20 +285,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 ?? ""; @@ -236,26 +340,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 ?? ""; @@ -311,20 +395,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 ?? ""; @@ -389,22 +459,6 @@ export const ValidatorHistoricalRewardsRecord = { return message; }, - fromJSON(object: any): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, - 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 || Long.UZERO).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 ?? ""; @@ -461,20 +515,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 ?? ""; @@ -539,22 +579,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 ?? ""; @@ -629,24 +653,6 @@ export const ValidatorSlashEventRecord = { return message; }, - fromJSON(object: any): ValidatorSlashEventRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.period !== undefined && (obj.period = (message.period || Long.UZERO).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 ?? ""; @@ -776,73 +782,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/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts new file mode 100644 index 000000000..db900399a --- /dev/null +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -0,0 +1,104 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); + } + /* Params queries params of the distribution module. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/params`; + return await this.req.get(endpoint); + } + /* ValidatorOutstandingRewards queries rewards of a validator address. */ + + + async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; + return await this.req.get(endpoint); + } + /* ValidatorCommission queries accumulated commission for a validator. */ + + + async validatorCommission(params: QueryValidatorCommissionRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; + return await this.req.get(endpoint); + } + /* ValidatorSlashes queries slash events of a validator. */ + + + async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.startingHeight !== "undefined") { + options.params.starting_height = params.startingHeight; + } + + if (typeof params?.endingHeight !== "undefined") { + options.params.ending_height = params.endingHeight; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; + return await this.req.get(endpoint, options); + } + /* DelegationRewards queries the total rewards accrued by a delegation. */ + + + async delegationRewards(params: QueryDelegationRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; + return await this.req.get(endpoint); + } + /* DelegationTotalRewards queries the total rewards accrued by a each + validator. */ + + + async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; + return await this.req.get(endpoint); + } + /* DelegatorValidators queries the validators of a delegator. */ + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; + return await this.req.get(endpoint); + } + /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ + + + async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; + return await this.req.get(endpoint); + } + /* CommunityPool queries the community pool coins. */ + + + async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/community_pool`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts index b68258b3d..7ec7a4291 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -1,38 +1,36 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries params of the distribution module.*/ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; /*ValidatorOutstandingRewards queries rewards of a validator address.*/ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; + validatorCommission(request: QueryValidatorCommissionRequest): Promise; /*ValidatorCommission queries accumulated commission for a validator.*/ - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; + validatorSlashes(request: QueryValidatorSlashesRequest): Promise; /*ValidatorSlashes queries slash events of a validator.*/ - delegationRewards(request: QueryDelegationRewardsRequest): Promise; + delegationRewards(request: QueryDelegationRewardsRequest): Promise; /*DelegationRewards queries the total rewards accrued by a delegation.*/ - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; /*DelegationTotalRewards queries the total rewards accrued by a each validator.*/ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; /*DelegatorValidators queries the validators of a delegator.*/ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ - communityPool(request: QueryCommunityPoolRequest): Promise; + communityPool(request?: QueryCommunityPoolRequest): Promise; /*CommunityPool queries the community pool coins.*/ } @@ -52,58 +50,100 @@ export class QueryClientImpl implements Query { this.communityPool = this.communityPool.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); } - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { const data = QueryValidatorCommissionRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); } - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { const data = QueryValidatorSlashesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); } - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { const data = QueryDelegationRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); } - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); } - communityPool(request: QueryCommunityPoolRequest): Promise { + communityPool(request: QueryCommunityPoolRequest = {}): Promise { const data = QueryCommunityPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + return queryService.validatorOutstandingRewards(request); + }, + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + return queryService.validatorCommission(request); + }, + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + return queryService.validatorSlashes(request); + }, + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + return queryService.delegationRewards(request); + }, + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + return queryService.delegationTotalRewards(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + return queryService.delegatorWithdrawAddress(request); + }, + + communityPool(request?: QueryCommunityPoolRequest): Promise { + return queryService.communityPool(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts index 1e91dfcf5..0f30eba7f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts @@ -1,175 +1,342 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** * 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; } +/** + * QueryValidatorOutstandingRewardsRequest is the request type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsRequestSDKType { + /** validator_address defines the validator address to query for. */ + validator_address: string; +} /** * QueryValidatorOutstandingRewardsResponse is the response type for the * Query/ValidatorOutstandingRewards RPC method. */ + export interface QueryValidatorOutstandingRewardsResponse { rewards: ValidatorOutstandingRewards | undefined; } +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsResponseSDKType { + rewards: ValidatorOutstandingRewardsSDKType | undefined; +} /** * 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; } +/** + * QueryValidatorCommissionRequest is the request type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionRequestSDKType { + /** validator_address defines the validator address to query for. */ + 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 | undefined; } +/** + * QueryValidatorCommissionResponse is the response type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionResponseSDKType { + /** commission defines the commision the validator received. */ + commission: ValidatorAccumulatedCommissionSDKType | undefined; +} /** * 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; + startingHeight?: Long; /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: Long; + endingHeight?: Long; /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryValidatorSlashesRequest is the request type for the + * Query/ValidatorSlashes RPC method + */ + +export interface QueryValidatorSlashesRequestSDKType { + /** 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?: Long; + /** starting_height defines the optional ending height to query the slashes. */ + ending_height?: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryValidatorSlashesResponse is the response type for the + * Query/ValidatorSlashes RPC method. + */ + +export interface QueryValidatorSlashesResponseSDKType { + /** slashes defines the slashes the validator received. */ + slashes: ValidatorSlashEventSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * 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; } +/** + * QueryDelegationRewardsRequest is the request type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + delegator_address: string; + /** validator_address defines the validator address to query for. */ + + 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[]; } +/** + * QueryDelegationRewardsResponse is the response type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsResponseSDKType { + /** rewards defines the rewards accrued by a delegation. */ + 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; } +/** + * QueryDelegationTotalRewardsRequest is the request type for the + * Query/DelegationTotalRewards RPC method. + */ +export interface QueryDelegationTotalRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; } +/** + * QueryDelegationTotalRewardsResponse is the response type for the + * Query/DelegationTotalRewards RPC method. + */ + +export interface QueryDelegationTotalRewardsResponseSDKType { + /** rewards defines all the rewards accrued by a delegator. */ + rewards: DelegationDelegatorRewardSDKType[]; + /** total defines the sum of all the rewards. */ + 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; } +/** + * QueryDelegatorValidatorsRequest is the request type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; } +/** + * QueryDelegatorValidatorsResponse is the response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the validators a delegator is delegating for. */ + 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; } +/** + * QueryDelegatorWithdrawAddressRequest is the request type for the + * Query/DelegatorWithdrawAddress RPC method. + */ +export interface QueryDelegatorWithdrawAddressRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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; } +/** + * QueryDelegatorWithdrawAddressResponse is the response type for the + * Query/DelegatorWithdrawAddress RPC method. + */ +export interface QueryDelegatorWithdrawAddressResponseSDKType { + /** withdraw_address defines the delegator address to query for. */ + withdraw_address: string; +} /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. */ + export interface QueryCommunityPoolRequest {} +/** + * 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[]; } +/** + * QueryCommunityPoolResponse is the response type for the Query/CommunityPool + * RPC method. + */ + +export interface QueryCommunityPoolResponseSDKType { + /** pool defines community pool's coins. */ + pool: DecCoinSDKType[]; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return {}; @@ -198,15 +365,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,7 +387,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -251,18 +409,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; @@ -308,18 +454,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 ?? ""; @@ -343,7 +477,7 @@ export const QueryValidatorOutstandingRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorOutstandingRewardsResponse(); @@ -365,18 +499,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; @@ -422,18 +544,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 ?? ""; @@ -457,7 +567,7 @@ export const QueryValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorCommissionResponse(); @@ -479,18 +589,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; @@ -563,24 +661,6 @@ export const QueryValidatorSlashesRequest = { return message; }, - fromJSON(object: any): QueryValidatorSlashesRequest { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - startingHeight: isSet(object.startingHeight) ? Long.fromString(object.startingHeight) : Long.UZERO, - endingHeight: isSet(object.endingHeight) ? Long.fromString(object.endingHeight) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).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 ?? ""; @@ -612,7 +692,7 @@ export const QueryValidatorSlashesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorSlashesResponse(); @@ -638,26 +718,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)) || []; @@ -713,20 +773,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 ?? ""; @@ -751,7 +797,7 @@ export const QueryDelegationRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationRewardsResponse(); @@ -773,24 +819,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)) || []; @@ -836,18 +864,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 ?? ""; @@ -876,7 +892,7 @@ export const QueryDelegationTotalRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationTotalRewardsResponse(); @@ -902,31 +918,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)) || []; @@ -973,18 +964,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 ?? ""; @@ -1008,7 +987,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1030,24 +1009,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) || []; @@ -1093,18 +1054,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 ?? ""; @@ -1128,7 +1077,7 @@ export const QueryDelegatorWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorWithdrawAddressResponse(); @@ -1150,18 +1099,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 ?? ""; @@ -1197,15 +1134,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; @@ -1228,7 +1156,7 @@ export const QueryCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCommunityPoolResponse(); @@ -1250,24 +1178,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/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b3a60ed6d --- /dev/null +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.amino.ts @@ -0,0 +1,120 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; +export interface AminoMsgSetWithdrawAddress extends AminoMsg { + type: "cosmos-sdk/MsgModifyWithdrawAddress"; + value: { + delegator_address: string; + withdraw_address: string; + }; +} +export interface AminoMsgWithdrawDelegatorReward extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawDelegationReward"; + value: { + delegator_address: string; + validator_address: string; + }; +} +export interface AminoMsgWithdrawValidatorCommission extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawValidatorCommission"; + value: { + validator_address: string; + }; +} +export interface AminoMsgFundCommunityPool extends AminoMsg { + type: "cosmos-sdk/MsgFundCommunityPool"; + value: { + amount: { + denom: string; + amount: string; + }[]; + depositor: string; + }; +} +export const AminoConverter = { + "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { + aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", + toAmino: ({ + delegatorAddress, + withdrawAddress + }: MsgSetWithdrawAddress): AminoMsgSetWithdrawAddress["value"] => { + return { + delegator_address: delegatorAddress, + withdraw_address: withdrawAddress + }; + }, + fromAmino: ({ + delegator_address, + withdraw_address + }: AminoMsgSetWithdrawAddress["value"]): MsgSetWithdrawAddress => { + return { + delegatorAddress: delegator_address, + withdrawAddress: withdraw_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { + aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", + toAmino: ({ + delegatorAddress, + validatorAddress + }: MsgWithdrawDelegatorReward): AminoMsgWithdrawDelegatorReward["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress + }; + }, + fromAmino: ({ + delegator_address, + validator_address + }: AminoMsgWithdrawDelegatorReward["value"]): MsgWithdrawDelegatorReward => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { + aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", + toAmino: ({ + validatorAddress + }: MsgWithdrawValidatorCommission): AminoMsgWithdrawValidatorCommission["value"] => { + return { + validator_address: validatorAddress + }; + }, + fromAmino: ({ + validator_address + }: AminoMsgWithdrawValidatorCommission["value"]): MsgWithdrawValidatorCommission => { + return { + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { + aminoType: "cosmos-sdk/MsgFundCommunityPool", + toAmino: ({ + amount, + depositor + }: MsgFundCommunityPool): AminoMsgFundCommunityPool["value"] => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + }, + fromAmino: ({ + amount, + depositor + }: AminoMsgFundCommunityPool["value"]): MsgFundCommunityPool => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.registry.ts new file mode 100644 index 000000000..52aa99f7a --- /dev/null +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.encode(value).finish() + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.encode(value).finish() + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.encode(value).finish() + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.encode(value).finish() + }; + } + + }, + withTypeUrl: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value + }; + } + + }, + fromPartial: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.fromPartial(value) + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.fromPartial(value) + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.fromPartial(value) + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts index a55f8b4c0..a480b116f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,22 @@ -import { Coin } from "../../base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; - +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgSetWithdrawAddressResponseSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawDelegatorRewardResponseSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgWithdrawValidatorCommissionResponseSDKType, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgFundCommunityPoolResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; /*SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation).*/ - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; /*WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator.*/ - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; /*WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address.*/ - fundCommunityPool(request: MsgFundCommunityPool): Promise; + fundCommunityPool(request: MsgFundCommunityPool): Promise; /*FundCommunityPool defines a method to allow an account to directly fund the community pool.*/ @@ -33,25 +32,25 @@ export class MsgClientImpl implements Msg { this.fundCommunityPool = this.fundCommunityPool.bind(this); } - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { const data = MsgSetWithdrawAddress.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); } - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { const data = MsgWithdrawDelegatorReward.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); } - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { const data = MsgWithdrawValidatorCommission.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); } - fundCommunityPool(request: MsgFundCommunityPool): Promise { + fundCommunityPool(request: MsgFundCommunityPool): Promise { const data = MsgFundCommunityPool.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts index ef8a03387..259a05305 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts @@ -1,57 +1,107 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). */ + export interface MsgSetWithdrawAddress { delegatorAddress: string; withdrawAddress: string; } +/** + * 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 {} +/** 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; } +/** + * 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 { amount: Coin[]; } +/** 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; } +/** + * 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 { amount: Coin[]; } +/** 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; } +/** + * 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 {} +/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ + +export interface MsgFundCommunityPoolResponseSDKType {} function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { return { @@ -99,20 +149,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 ?? ""; @@ -131,7 +167,7 @@ export const MsgSetWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSetWithdrawAddressResponse(); @@ -149,15 +185,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; @@ -211,20 +238,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 ?? ""; @@ -249,7 +262,7 @@ export const MsgWithdrawDelegatorRewardResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawDelegatorRewardResponse(); @@ -271,24 +284,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)) || []; @@ -334,18 +329,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 ?? ""; @@ -369,7 +352,7 @@ export const MsgWithdrawValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawValidatorCommissionResponse(); @@ -391,24 +374,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)) || []; @@ -463,26 +428,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)) || []; @@ -501,7 +446,7 @@ export const MsgFundCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgFundCommunityPoolResponse(); @@ -519,15 +464,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/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts index 6d1674271..e2ca4ccda 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/evidence.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -1,17 +1,28 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; /** * Equivocation implements the Evidence interface and defines evidence of double * signing misbehavior. */ + export interface Equivocation { height: Long; time: Date | undefined; power: Long; consensusAddress: string; } +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ + +export interface EquivocationSDKType { + height: Long; + time: Date | undefined; + power: Long; + consensus_address: string; +} function createBaseEquivocation(): Equivocation { return { @@ -77,24 +88,6 @@ export const Equivocation = { return message; }, - fromJSON(object: any): Equivocation { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO, - consensusAddress: isSet(object.consensusAddress) ? String(object.consensusAddress) : "" - }; - }, - - toJSON(message: Equivocation): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/genesis.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/genesis.ts index 429bb8405..639c33dca 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/genesis.ts @@ -1,11 +1,17 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, 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[]; } +/** GenesisState defines the evidence module's genesis state. */ + +export interface GenesisStateSDKType { + /** evidence defines all the evidence at genesis. */ + evidence: AnySDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -44,24 +50,6 @@ export const GenesisState = { 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)) || []; diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts new file mode 100644 index 000000000..9f6d533f4 --- /dev/null +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -0,0 +1,41 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/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/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts similarity index 52% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts index 84711f88f..26d048326 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -1,15 +1,14 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - evidence(request: QueryEvidenceRequest): Promise; + evidence(request: QueryEvidenceRequest): Promise; /*Evidence queries evidence based on evidence hash.*/ - allEvidence(request: QueryAllEvidenceRequest): Promise; + allEvidence(request?: QueryAllEvidenceRequest): Promise; /*AllEvidence queries all evidence.*/ } @@ -22,16 +21,32 @@ export class QueryClientImpl implements Query { this.allEvidence = this.allEvidence.bind(this); } - evidence(request: QueryEvidenceRequest): Promise { + 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 _m0.Reader(data))); } - allEvidence(request: QueryAllEvidenceRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts index 57750b0cb..992c90b87 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts @@ -1,39 +1,71 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; } +/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ +export interface QueryEvidenceRequestSDKType { + /** evidence_hash defines the hash of the requested evidence. */ + evidence_hash: Uint8Array; +} /** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ + export interface QueryEvidenceResponse { /** evidence returns the requested evidence. */ evidence: Any | undefined; } +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ +export interface QueryEvidenceResponseSDKType { + /** evidence returns the requested evidence. */ + evidence: AnySDKType | undefined; +} /** * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC * method. */ + export interface QueryAllEvidenceRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ +export interface QueryAllEvidenceRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; +} +/** + * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + * method. + */ + +export interface QueryAllEvidenceResponseSDKType { + /** evidence returns all evidences. */ + evidence: AnySDKType[]; /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { @@ -73,18 +105,6 @@ export const QueryEvidenceRequest = { 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(); @@ -108,7 +128,7 @@ export const QueryEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryEvidenceResponse(); @@ -130,18 +150,6 @@ export const QueryEvidenceResponse = { 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; @@ -187,18 +195,6 @@ export const QueryAllEvidenceRequest = { 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; @@ -227,7 +223,7 @@ export const QueryAllEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllEvidenceResponse(); @@ -253,26 +249,6 @@ export const QueryAllEvidenceResponse = { 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)) || []; diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.amino.ts new file mode 100644 index 000000000..033b9c6c1 --- /dev/null +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.amino.ts @@ -0,0 +1,41 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSubmitEvidence } from "./tx"; +export interface AminoMsgSubmitEvidence extends AminoMsg { + type: "cosmos-sdk/MsgSubmitEvidence"; + value: { + submitter: string; + evidence: { + type_url: string; + value: Uint8Array; + }; + }; +} +export const AminoConverter = { + "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { + aminoType: "cosmos-sdk/MsgSubmitEvidence", + toAmino: ({ + submitter, + evidence + }: MsgSubmitEvidence): AminoMsgSubmitEvidence["value"] => { + return { + submitter, + evidence: { + type_url: evidence.typeUrl, + value: evidence.value + } + }; + }, + fromAmino: ({ + submitter, + evidence + }: AminoMsgSubmitEvidence["value"]): MsgSubmitEvidence => { + return { + submitter, + evidence: { + typeUrl: evidence.type_url, + value: evidence.value + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.registry.ts new file mode 100644 index 000000000..327c02be8 --- /dev/null +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + submitEvidence(value: MsgSubmitEvidence) { + return { + typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", + value: MsgSubmitEvidence.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts similarity index 83% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts index 06a98a1aa..652cf7eae 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -1,11 +1,10 @@ -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; - +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse, MsgSubmitEvidenceResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitEvidence(request: MsgSubmitEvidence): Promise; + submitEvidence(request: MsgSubmitEvidence): Promise; /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or counterfactual signing.*/ @@ -18,7 +17,7 @@ export class MsgClientImpl implements Msg { this.submitEvidence = this.submitEvidence.bind(this); } - submitEvidence(request: MsgSubmitEvidence): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts index e51b42e24..cdfcd997b 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts @@ -1,21 +1,35 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; } +/** + * 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; } +/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ + +export interface MsgSubmitEvidenceResponseSDKType { + /** hash defines the hash of the evidence. */ + hash: Uint8Array; +} function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { return { @@ -63,20 +77,6 @@ export const MsgSubmitEvidence = { 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 ?? ""; @@ -101,7 +101,7 @@ export const MsgSubmitEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitEvidenceResponse(); @@ -123,18 +123,6 @@ export const MsgSubmitEvidenceResponse = { 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(); diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts index 3a0bc6abf..b383ebbb8 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -1,14 +1,14 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; -import { Any } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** * BasicAllowance implements Allowance with a one-time grant of tokens * that optionally expires. The grantee can use up to SpendLimit to cover fees. */ + export interface BasicAllowance { /** * spend_limit specifies the maximum amount of tokens that can be spent @@ -16,62 +16,130 @@ export interface BasicAllowance { * 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: Date | undefined; } +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ +export interface BasicAllowanceSDKType { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens are spent. If it is + * empty, there is no spend limit and any amount of coins can be spent. + */ + spend_limit: CoinSDKType[]; + /** expiration specifies an optional time when this allowance expires */ + + expiration: Date | undefined; +} /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, * as well as a limit per time period. */ + export interface PeriodicAllowance { /** basic specifies a struct of `BasicAllowance` */ basic: BasicAllowance | undefined; - /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: Duration | undefined; + period: Duration | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period */ - periodSpendLimit: Coin[]; + periodSpendLimit: Coin[]; /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; + 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: Date | undefined; } +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ +export interface PeriodicAllowanceSDKType { + /** basic specifies a struct of `BasicAllowance` */ + basic: BasicAllowanceSDKType | undefined; + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + + period: DurationSDKType | undefined; + /** + * period_spend_limit specifies the maximum number of coins that can be spent + * in the period + */ + + period_spend_limit: CoinSDKType[]; + /** period_can_spend is the number of coins left to be spent before the period_reset time */ + + period_can_spend: CoinSDKType[]; + /** + * 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: Date | undefined; +} /** AllowedMsgAllowance creates allowance only for specified message types. */ + export interface AllowedMsgAllowance { /** allowance can be any of basic and periodic fee allowance. */ allowance: Any | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ + allowedMessages: string[]; } +/** AllowedMsgAllowance creates allowance only for specified message types. */ + +export interface AllowedMsgAllowanceSDKType { + /** allowance can be any of basic and periodic fee allowance. */ + allowance: AnySDKType | undefined; + /** allowed_messages are the messages for which the grantee has the access. */ + 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; + grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ + allowance: Any | undefined; } +/** Grant is stored in the KVStore to record a grant with full context */ + +export interface GrantSDKType { + /** 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: AnySDKType | undefined; +} function createBaseBasicAllowance(): BasicAllowance { return { @@ -119,26 +187,6 @@ 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 = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: Partial): BasicAllowance { const message = createBaseBasicAllowance(); message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; @@ -221,37 +269,6 @@ 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); - - 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 = 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; @@ -310,26 +327,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; @@ -394,22 +391,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/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts index 544d9b085..cdb858fcc 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts @@ -1,10 +1,15 @@ -import { Grant } from "./feegrant"; +import { Grant, 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[]; } +/** GenesisState contains a set of fee allowances, persisted from the store */ + +export interface GenesisStateSDKType { + allowances: GrantSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -43,24 +48,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/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts index 3472dc226..657fc3a24 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -1,27 +1,30 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); } - /* Allowance returns fee granted to the grantee by the granter. */ - async allowance(params: QueryAllowanceRequest): Promise { + + + async allowance(params: QueryAllowanceRequest): Promise { const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Allowances returns all the grants for address. */ - async allowances(params: QueryAllowancesRequest): Promise { + + + async allowances(params: QueryAllowancesRequest): Promise { const options: any = { params: {} }; @@ -31,12 +34,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllowancesByGranter returns all the grants given by an address Since v0.46 */ - async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { + + + async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { const options: any = { params: {} }; @@ -46,7 +50,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts similarity index 62% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts index 05e09c0d7..31deff3b7 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - allowance(request: QueryAllowanceRequest): Promise; + allowance(request: QueryAllowanceRequest): Promise; /*Allowance returns fee granted to the grantee by the granter.*/ - allowances(request: QueryAllowancesRequest): Promise; + allowances(request: QueryAllowancesRequest): Promise; /*Allowances returns all the grants for address.*/ - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; /*AllowancesByGranter returns all the grants given by an address Since v0.46*/ @@ -27,22 +26,40 @@ export class QueryClientImpl implements Query { this.allowancesByGranter = this.allowancesByGranter.bind(this); } - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { const data = QueryAllowanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); } - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { const data = QueryAllowancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); } - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { const data = QueryAllowancesByGranterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + allowance(request: QueryAllowanceRequest): Promise { + return queryService.allowance(request); + }, + + allowances(request: QueryAllowancesRequest): Promise { + return queryService.allowances(request); + }, + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + return queryService.allowancesByGranter(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts index 51208b5d8..6a60e38df 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts @@ -1,55 +1,103 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantSDKType } from "./feegrant"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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. */ granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ + grantee: string; } +/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ +export interface QueryAllowanceRequestSDKType { + /** 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; +} /** 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 | undefined; } +/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ +export interface QueryAllowanceResponseSDKType { + /** allowance is a allowance granted for grantee by granter. */ + allowance: GrantSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ +export interface QueryAllowancesRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ +export interface QueryAllowancesResponseSDKType { + /** allowances are allowance's granted for grantee by granter. */ + allowances: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ + export interface QueryAllowancesByGranterRequest { granter: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ + export interface QueryAllowancesByGranterResponse { /** allowances that have been issued by the granter. */ allowances: Grant[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponse | undefined; +} +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterResponseSDKType { + /** allowances that have been issued by the granter. */ + allowances: GrantSDKType[]; /** pagination defines an pagination for the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { @@ -98,20 +146,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 ?? ""; @@ -136,7 +170,7 @@ export const QueryAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowanceResponse(); @@ -158,18 +192,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; @@ -224,20 +246,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 ?? ""; @@ -267,7 +275,7 @@ export const QueryAllowancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesResponse(); @@ -293,26 +301,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)) || []; @@ -368,20 +356,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 ?? ""; @@ -411,7 +385,7 @@ export const QueryAllowancesByGranterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesByGranterResponse(); @@ -437,26 +411,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/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.amino.ts new file mode 100644 index 000000000..72aa6e5b1 --- /dev/null +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.amino.ts @@ -0,0 +1,74 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; +export interface AminoMsgGrantAllowance extends AminoMsg { + type: "cosmos-sdk/MsgGrantAllowance"; + value: { + granter: string; + grantee: string; + allowance: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgRevokeAllowance extends AminoMsg { + type: "cosmos-sdk/MsgRevokeAllowance"; + value: { + granter: string; + grantee: string; + }; +} +export const AminoConverter = { + "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { + aminoType: "cosmos-sdk/MsgGrantAllowance", + toAmino: ({ + granter, + grantee, + allowance + }: MsgGrantAllowance): AminoMsgGrantAllowance["value"] => { + return { + granter, + grantee, + allowance: { + type_url: allowance.typeUrl, + value: allowance.value + } + }; + }, + fromAmino: ({ + granter, + grantee, + allowance + }: AminoMsgGrantAllowance["value"]): MsgGrantAllowance => { + return { + granter, + grantee, + allowance: { + typeUrl: allowance.type_url, + value: allowance.value + } + }; + } + }, + "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { + aminoType: "cosmos-sdk/MsgRevokeAllowance", + toAmino: ({ + granter, + grantee + }: MsgRevokeAllowance): AminoMsgRevokeAllowance["value"] => { + return { + granter, + grantee + }; + }, + fromAmino: ({ + granter, + grantee + }: AminoMsgRevokeAllowance["value"]): MsgRevokeAllowance => { + return { + granter, + grantee + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.registry.ts new file mode 100644 index 000000000..71c8e6ec8 --- /dev/null +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.encode(value).finish() + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value + }; + } + + }, + fromPartial: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.fromPartial(value) + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts similarity index 82% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts index c61fedbde..9b1e29240 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,14 @@ -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; - +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgGrantAllowanceResponseSDKType, MsgRevokeAllowance, MsgRevokeAllowanceResponse, MsgRevokeAllowanceResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - grantAllowance(request: MsgGrantAllowance): Promise; + grantAllowance(request: MsgGrantAllowance): Promise; /*GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time.*/ - revokeAllowance(request: MsgRevokeAllowance): Promise; + revokeAllowance(request: MsgRevokeAllowance): Promise; /*RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee.*/ @@ -23,13 +22,13 @@ export class MsgClientImpl implements Msg { this.revokeAllowance = this.revokeAllowance.bind(this); } - grantAllowance(request: MsgGrantAllowance): Promise { + grantAllowance(request: MsgGrantAllowance): Promise { const data = MsgGrantAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); } - revokeAllowance(request: MsgRevokeAllowance): Promise { + revokeAllowance(request: MsgRevokeAllowance): Promise { const data = MsgRevokeAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts index 062a6d14b..2b75320cb 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/feegrant/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -1,36 +1,65 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; + grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ + allowance: Any | undefined; } +/** + * MsgGrantAllowance adds permission for Grantee to spend up to Allowance + * of fees from the account of Granter. + */ +export interface MsgGrantAllowanceSDKType { + /** 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: AnySDKType | undefined; +} /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ + export interface MsgGrantAllowanceResponse {} +/** 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; } +/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ +export interface MsgRevokeAllowanceSDKType { + /** 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; +} /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + export interface MsgRevokeAllowanceResponse {} +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + +export interface MsgRevokeAllowanceResponseSDKType {} function createBaseMsgGrantAllowance(): MsgGrantAllowance { return { @@ -87,22 +116,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 ?? ""; @@ -122,7 +135,7 @@ export const MsgGrantAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantAllowanceResponse(); @@ -140,15 +153,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; @@ -202,20 +206,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 ?? ""; @@ -234,7 +224,7 @@ export const MsgRevokeAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeAllowanceResponse(); @@ -252,15 +242,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/examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/genutil/v1beta1/genesis.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/genutil/v1beta1/genesis.ts index a48c1c19b..98e44e4e3 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/genutil/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/genutil/v1beta1/genesis.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** GenesisState defines the raw genesis transaction in JSON. */ + export interface GenesisState { /** gen_txs defines the genesis transactions. */ genTxs: Uint8Array[]; } +/** GenesisState defines the raw genesis transaction in JSON. */ + +export interface GenesisStateSDKType { + /** gen_txs defines the genesis transactions. */ + gen_txs: Uint8Array[]; +} function createBaseGenesisState(): GenesisState { return { @@ -44,24 +49,6 @@ export const GenesisState = { 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) || []; diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts b/examples/contracts/codegen/cosmos/gov/v1/genesis.ts similarity index 67% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts rename to examples/contracts/codegen/cosmos/gov/v1/genesis.ts index 02f4b27c0..f4724ada9 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/genesis.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/genesis.ts @@ -1,30 +1,54 @@ -import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + deposits: Deposit[]; /** votes defines all the votes present at genesis. */ - votes: Vote[]; + votes: Vote[]; /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; + proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; } +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params: TallyParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -117,46 +141,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts b/examples/contracts/codegen/cosmos/gov/v1/gov.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts rename to examples/contracts/codegen/cosmos/gov/v1/gov.ts index 1dade1be7..f53f1dec6 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/gov.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/gov.ts @@ -1,11 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Any } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/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. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -23,6 +23,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -72,8 +91,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus enumerates the valid statuses of a proposal. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -109,6 +128,43 @@ export enum ProposalStatus { PROPOSAL_STATUS_FAILED = 5, UNRECOGNIZED = -1, } +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -165,101 +221,196 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** WeightedVoteOption defines a unit of vote for vote split. */ + export interface WeightedVoteOption { option: VoteOption; weight: string; } +/** WeightedVoteOption defines a unit of vote for vote split. */ +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} /** * Deposit defines an amount deposited by an account address to an active * proposal. */ + export interface Deposit { proposalId: Long; depositor: string; amount: Coin[]; } +/** + * 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 | undefined; submitTime: Date | undefined; depositEndTime: Date | undefined; totalDeposit: Coin[]; votingStartTime: Date | undefined; votingEndTime: Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; } +/** Proposal defines the core field members of a governance proposal. */ +export interface ProposalSDKType { + id: Long; + messages: AnySDKType[]; + status: ProposalStatusSDKType; + /** + * 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: TallyResultSDKType | undefined; + submit_time: Date | undefined; + deposit_end_time: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time: Date | undefined; + voting_end_time: Date | undefined; + /** metadata is any arbitrary metadata attached to the proposal. */ + + metadata: string; +} /** TallyResult defines a standard tally for a governance proposal. */ + export interface TallyResult { yesCount: string; abstainCount: string; noCount: string; noWithVetoCount: string; } +/** 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; } +/** + * 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 is any arbitrary metadata to attached to the vote. */ + 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 | undefined; } +/** DepositParams defines the params for deposits on governance proposals. */ +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period: DurationSDKType | undefined; +} /** VotingParams defines the params for voting on governance proposals. */ + export interface VotingParams { /** Length of the voting period. */ votingPeriod: Duration | undefined; } +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period: DurationSDKType | undefined; +} /** 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; + threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be * vetoed. Default value: 1/3. */ + vetoThreshold: string; } +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} function createBaseWeightedVoteOption(): WeightedVoteOption { return { @@ -307,20 +458,6 @@ export const WeightedVoteOption = { return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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; @@ -385,28 +522,6 @@ export const Deposit = { return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -535,48 +650,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = 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 ? Long.fromValue(object.id) : Long.UZERO; @@ -658,24 +731,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 ?? ""; @@ -751,30 +806,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -832,26 +863,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); - return obj; - }, - fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -898,18 +909,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); - return obj; - }, - fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -973,22 +972,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/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts b/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts similarity index 51% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts rename to examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts index a2b4458b3..f0d9cb596 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts @@ -1,35 +1,35 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { + + + async proposals(params: QueryProposalsRequest): Promise { const options: any = { params: {} }; @@ -51,99 +51,65 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1/proposals`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async vote(params: QueryVoteRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { + + + async votes(params: QueryVotesRequest): Promise { const options: any = { params: {} }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.paramsType !== "undefined") { - options.params.params_type = params.paramsType; - } + async params(params: QueryParamsRequest): Promise { const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async deposit(params: QueryDepositRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { + + + async deposits(params: QueryDepositsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts similarity index 61% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts index ed5c6595c..804a02a0e 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -1,33 +1,32 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries proposal details based on ProposalID.*/ - proposals(request: QueryProposalsRequest): Promise; + proposals(request: QueryProposalsRequest): Promise; /*Proposals queries all proposals based on given status.*/ - vote(request: QueryVoteRequest): Promise; + vote(request: QueryVoteRequest): Promise; /*Vote queries voted information based on proposalID, voterAddr.*/ - votes(request: QueryVotesRequest): Promise; + votes(request: QueryVotesRequest): Promise; /*Votes queries votes of a given proposal.*/ - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries all parameters of the gov module.*/ - deposit(request: QueryDepositRequest): Promise; + deposit(request: QueryDepositRequest): Promise; /*Deposit queries single deposit information based proposalID, depositAddr.*/ - deposits(request: QueryDepositsRequest): Promise; + deposits(request: QueryDepositsRequest): Promise; /*Deposits queries all deposits of a single proposal.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal vote.*/ } @@ -46,52 +45,90 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts b/examples/contracts/codegen/cosmos/gov/v1/query.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/gov/v1/query.ts index 65fe61fcc..5fe1413a0 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.ts @@ -1,79 +1,149 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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; } +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + export interface QueryProposalResponse { proposal: Proposal | undefined; } +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponseSDKType { + proposal: ProposalSDKType | undefined; +} /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - + proposalStatus?: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter: string; + voter?: string; /** depositor defines the deposit addresses from the proposals. */ - depositor: string; + depositor?: string; /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status?: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 oter address for the proposals. */ + voter: string; } +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + export interface QueryVoteResponse { /** vote defined the queried vote. */ vote: Vote | undefined; } +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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", @@ -81,62 +151,127 @@ export interface QueryParamsRequest { */ paramsType: string; } +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + tally_params: TallyParamsSDKType | undefined; +} /** 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; } +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + export interface QueryDepositResponse { /** deposit defines the requested deposit. */ deposit: Deposit | undefined; } +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit: DepositSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryProposalRequest(): QueryProposalRequest { return { @@ -175,18 +310,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -210,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -232,18 +355,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; @@ -316,24 +427,6 @@ export const QueryProposalsRequest = { return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, - 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; @@ -365,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -391,26 +484,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)) || []; @@ -466,20 +539,6 @@ export const QueryVoteRequest = { return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -504,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -526,18 +585,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; @@ -592,20 +639,6 @@ export const QueryVotesRequest = { return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -635,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -661,26 +694,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)) || []; @@ -727,18 +740,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 ?? ""; @@ -772,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -802,22 +803,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; @@ -874,20 +859,6 @@ export const QueryDepositRequest = { return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -912,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -934,18 +905,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; @@ -1000,20 +959,6 @@ export const QueryDepositsRequest = { return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1043,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1069,26 +1014,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)) || []; @@ -1135,18 +1060,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1170,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1192,18 +1105,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/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts new file mode 100644 index 000000000..c0b487087 --- /dev/null +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts @@ -0,0 +1,226 @@ +import { voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/v1/MsgSubmitProposal"; + value: { + messages: { + type_url: string; + value: Uint8Array; + }[]; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + metadata: string; + }; +} +export interface AminoMsgExecLegacyContent extends AminoMsg { + type: "cosmos-sdk/v1/MsgExecLegacyContent"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + authority: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/v1/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/v1/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + metadata: string; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/v1/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/v1/MsgSubmitProposal", + toAmino: ({ + messages, + initialDeposit, + proposer, + metadata + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + }, + fromAmino: ({ + messages, + initial_deposit, + proposer, + metadata + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + } + }, + "/cosmos.gov.v1.MsgExecLegacyContent": { + aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", + toAmino: ({ + content, + authority + }: MsgExecLegacyContent): AminoMsgExecLegacyContent["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + authority + }; + }, + fromAmino: ({ + content, + authority + }: AminoMsgExecLegacyContent["value"]): MsgExecLegacyContent => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + authority + }; + } + }, + "/cosmos.gov.v1.MsgVote": { + aminoType: "cosmos-sdk/v1/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/v1/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options, + metadata + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })), + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + options, + metadata + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgDeposit": { + aminoType: "cosmos-sdk/v1/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/gov/v1/tx.registry.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.registry.ts new file mode 100644 index 000000000..37ce8ff81 --- /dev/null +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.registry.ts @@ -0,0 +1,121 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value + }; + } + + }, + fromPartial: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts index d9069dcb9..f3a37f7da 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -1,26 +1,23 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; - +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgExecLegacyContentResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal defines a method to create new proposal given a content.*/ - execLegacyContent(request: MsgExecLegacyContent): Promise; + execLegacyContent(request: MsgExecLegacyContent): Promise; /*ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal to execute a legacy content-based proposal.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote defines a method to add a vote on a specific proposal.*/ - voteWeighted(request: MsgVoteWeighted): Promise; + voteWeighted(request: MsgVoteWeighted): Promise; /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ - deposit(request: MsgDeposit): Promise; + deposit(request: MsgDeposit): Promise; /*Deposit defines a method to add deposit on a specific proposal.*/ } @@ -36,31 +33,31 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - execLegacyContent(request: MsgExecLegacyContent): Promise { + execLegacyContent(request: MsgExecLegacyContent): Promise { const data = MsgExecLegacyContent.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts rename to examples/contracts/codegen/cosmos/gov/v1/tx.ts index 6ab5c5fa4..c8981a690 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/tx.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.ts @@ -1,73 +1,138 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ + +export interface MsgSubmitProposalSDKType { + messages: AnySDKType[]; + initial_deposit: CoinSDKType[]; + proposer: string; + /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; +} /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { proposalId: Long; } +/** 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: Any | undefined; - /** authority must be the gov module address. */ + authority: string; } +/** + * MsgExecLegacyContent is used to wrap the legacy content field into a message. + * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. + */ + +export interface MsgExecLegacyContentSDKType { + /** content is the proposal's content. */ + content: AnySDKType | undefined; + /** authority must be the gov module address. */ + authority: string; +} /** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ + export interface MsgExecLegacyContentResponse {} +/** 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; } +/** MsgVote defines a message to cast a vote. */ +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; + metadata: string; +} /** MsgVoteResponse defines the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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; } +/** 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 {} +/** 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[]; } +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} function createBaseMsgSubmitProposal(): MsgSubmitProposal { return { @@ -133,35 +198,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)) || []; @@ -188,7 +224,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -210,18 +246,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -276,20 +300,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; @@ -308,7 +318,7 @@ export const MsgExecLegacyContentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecLegacyContentResponse(); @@ -326,15 +336,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; @@ -406,24 +407,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -444,7 +427,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -462,15 +445,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; @@ -542,30 +516,6 @@ export const MsgVoteWeighted = { return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -586,7 +536,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -604,15 +554,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; @@ -675,28 +616,6 @@ export const MsgDeposit = { return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -716,7 +635,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); @@ -734,15 +653,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/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts similarity index 67% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts index 02f4b27c0..f4724ada9 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts @@ -1,30 +1,54 @@ -import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + deposits: Deposit[]; /** votes defines all the votes present at genesis. */ - votes: Vote[]; + votes: Vote[]; /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; + proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; } +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params: TallyParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -117,46 +141,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts index 01968d681..a06b1f842 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/gov.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts @@ -1,11 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Any } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/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. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -23,6 +23,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -72,8 +91,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus enumerates the valid statuses of a proposal. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -109,6 +128,43 @@ export enum ProposalStatus { PROPOSAL_STATUS_FAILED = 5, UNRECOGNIZED = -1, } +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -165,47 +221,76 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** * WeightedVoteOption defines a unit of vote for vote split. * * Since: cosmos-sdk 0.43 */ + export interface WeightedVoteOption { option: VoteOption; weight: string; } +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} /** * TextProposal defines a standard text proposal whose changes need to be * manually updated in case of approval. */ + export interface TextProposal { title: string; description: string; } +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ +export interface TextProposalSDKType { + 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[]; } +/** + * 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: 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 | undefined; submitTime: Date | undefined; depositEndTime: Date | undefined; @@ -213,23 +298,49 @@ export interface Proposal { votingStartTime: Date | undefined; votingEndTime: Date | undefined; } +/** Proposal defines the core field members of a governance proposal. */ +export interface ProposalSDKType { + proposal_id: Long; + content: AnySDKType | undefined; + status: ProposalStatusSDKType; + /** + * 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: TallyResultSDKType | undefined; + submit_time: Date | undefined; + deposit_end_time: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time: Date | undefined; + voting_end_time: Date | undefined; +} /** TallyResult defines a standard tally for a governance proposal. */ + export interface TallyResult { yes: string; abstain: string; no: string; noWithVeto: string; } +/** 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 @@ -237,47 +348,105 @@ export interface Vote { */ /** @deprecated */ - option: VoteOption; + option: VoteOption; /** Since: cosmos-sdk 0.43 */ + options: WeightedVoteOption[]; } +/** + * 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: 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: VoteOptionSDKType; + /** Since: cosmos-sdk 0.43 */ + + 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 | undefined; } +/** DepositParams defines the params for deposits on governance proposals. */ +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period: DurationSDKType | undefined; +} /** VotingParams defines the params for voting on governance proposals. */ + export interface VotingParams { /** Length of the voting period. */ votingPeriod: Duration | undefined; } +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period: DurationSDKType | undefined; +} /** 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; + threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be * vetoed. Default value: 1/3. */ + vetoThreshold: Uint8Array; } +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} function createBaseWeightedVoteOption(): WeightedVoteOption { return { @@ -325,20 +494,6 @@ export const WeightedVoteOption = { return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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; @@ -394,20 +549,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 ?? ""; @@ -472,28 +613,6 @@ export const Deposit = { return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -613,40 +732,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -727,24 +812,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 ?? ""; @@ -820,30 +887,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -901,26 +944,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); - return obj; - }, - fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -967,18 +990,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); - return obj; - }, - fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -1042,22 +1053,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/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts similarity index 52% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts index 107e81329..51e114881 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -1,35 +1,35 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { + + + async proposals(params: QueryProposalsRequest): Promise { const options: any = { params: {} }; @@ -51,99 +51,65 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1beta1/proposals`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async vote(params: QueryVoteRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { + + + async votes(params: QueryVotesRequest): Promise { const options: any = { params: {} }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.paramsType !== "undefined") { - options.params.params_type = params.paramsType; - } + async params(params: QueryParamsRequest): Promise { const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async deposit(params: QueryDepositRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { + + + async deposits(params: QueryDepositsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts similarity index 61% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts index f8bbb94ce..2b13b14d1 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -1,33 +1,32 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries proposal details based on ProposalID.*/ - proposals(request: QueryProposalsRequest): Promise; + proposals(request: QueryProposalsRequest): Promise; /*Proposals queries all proposals based on given status.*/ - vote(request: QueryVoteRequest): Promise; + vote(request: QueryVoteRequest): Promise; /*Vote queries voted information based on proposalID, voterAddr.*/ - votes(request: QueryVotesRequest): Promise; + votes(request: QueryVotesRequest): Promise; /*Votes queries votes of a given proposal.*/ - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries all parameters of the gov module.*/ - deposit(request: QueryDepositRequest): Promise; + deposit(request: QueryDepositRequest): Promise; /*Deposit queries single deposit information based proposalID, depositAddr.*/ - deposits(request: QueryDepositsRequest): Promise; + deposits(request: QueryDepositsRequest): Promise; /*Deposits queries all deposits of a single proposal.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal vote.*/ } @@ -46,52 +45,90 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/query.ts index 65fe61fcc..5fe1413a0 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1/query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts @@ -1,79 +1,149 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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; } +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + export interface QueryProposalResponse { proposal: Proposal | undefined; } +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponseSDKType { + proposal: ProposalSDKType | undefined; +} /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - + proposalStatus?: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter: string; + voter?: string; /** depositor defines the deposit addresses from the proposals. */ - depositor: string; + depositor?: string; /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status?: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 oter address for the proposals. */ + voter: string; } +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + export interface QueryVoteResponse { /** vote defined the queried vote. */ vote: Vote | undefined; } +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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", @@ -81,62 +151,127 @@ export interface QueryParamsRequest { */ paramsType: string; } +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + tally_params: TallyParamsSDKType | undefined; +} /** 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; } +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + export interface QueryDepositResponse { /** deposit defines the requested deposit. */ deposit: Deposit | undefined; } +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit: DepositSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryProposalRequest(): QueryProposalRequest { return { @@ -175,18 +310,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -210,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -232,18 +355,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; @@ -316,24 +427,6 @@ export const QueryProposalsRequest = { return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, - 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; @@ -365,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -391,26 +484,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)) || []; @@ -466,20 +539,6 @@ export const QueryVoteRequest = { return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -504,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -526,18 +585,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; @@ -592,20 +639,6 @@ export const QueryVotesRequest = { return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -635,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -661,26 +694,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)) || []; @@ -727,18 +740,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 ?? ""; @@ -772,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -802,22 +803,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; @@ -874,20 +859,6 @@ export const QueryDepositRequest = { return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -912,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -934,18 +905,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; @@ -1000,20 +959,6 @@ export const QueryDepositsRequest = { return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1043,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1069,26 +1014,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)) || []; @@ -1135,18 +1060,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1170,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1192,18 +1105,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/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts new file mode 100644 index 000000000..1f9fb6aca --- /dev/null +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -0,0 +1,174 @@ +import { voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/MsgSubmitProposal"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1beta1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/MsgSubmitProposal", + toAmino: ({ + content, + initialDeposit, + proposer + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + }, + fromAmino: ({ + content, + initial_deposit, + proposer + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + } + }, + "/cosmos.gov.v1beta1.MsgVote": { + aminoType: "cosmos-sdk/MsgVote", + toAmino: ({ + proposalId, + voter, + option + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option + }; + }, + fromAmino: ({ + proposal_id, + voter, + option + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option) + }; + } + }, + "/cosmos.gov.v1beta1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })) + }; + }, + fromAmino: ({ + proposal_id, + voter, + options + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })) + }; + } + }, + "/cosmos.gov.v1beta1.MsgDeposit": { + aminoType: "cosmos-sdk/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.registry.ts new file mode 100644 index 000000000..192c5e766 --- /dev/null +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value + }; + } + + }, + fromPartial: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts index e60011ec9..2ea60b00c 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -1,24 +1,21 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; - +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal defines a method to create new proposal given a content.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote defines a method to add a vote on a specific proposal.*/ - voteWeighted(request: MsgVoteWeighted): Promise; + voteWeighted(request: MsgVoteWeighted): Promise; /*VoteWeighted defines a method to add a weighted vote on a specific proposal. Since: cosmos-sdk 0.43*/ - deposit(request: MsgDeposit): Promise; + deposit(request: MsgDeposit): Promise; /*Deposit defines a method to add deposit on a specific proposal.*/ } @@ -33,25 +30,25 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts index cb1cd3477..30bc4bd1e 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/gov/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts @@ -1,61 +1,114 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ + export interface MsgSubmitProposal { content: Any | undefined; initialDeposit: Coin[]; proposer: string; } +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ +export interface MsgSubmitProposalSDKType { + content: AnySDKType | undefined; + initial_deposit: CoinSDKType[]; + proposer: string; +} /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { proposalId: Long; } +/** 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; } +/** MsgVote defines a message to cast a vote. */ +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; +} /** MsgVoteResponse defines the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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[]; } +/** + * 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 {} +/** + * 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[]; } +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} function createBaseMsgSubmitProposal(): MsgSubmitProposal { return { @@ -112,28 +165,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; @@ -159,7 +190,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -181,18 +212,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -256,22 +275,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0 - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -291,7 +294,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -309,15 +312,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; @@ -380,28 +374,6 @@ export const MsgVoteWeighted = { return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -421,7 +393,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -439,15 +411,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; @@ -510,28 +473,6 @@ export const MsgDeposit = { return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -551,7 +492,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); @@ -569,15 +510,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/examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts b/examples/contracts/codegen/cosmos/group/v1/events.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts rename to examples/contracts/codegen/cosmos/group/v1/events.ts index 2f0929ecf..27f446d21 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/events.ts +++ b/examples/contracts/codegen/cosmos/group/v1/events.ts @@ -1,64 +1,124 @@ -import { ProposalExecutorResult, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** EventCreateGroup is an event emitted when a group is created. */ + export interface EventCreateGroup { /** group_id is the unique ID of the group. */ groupId: Long; } +/** EventCreateGroup is an event emitted when a group is created. */ +export interface EventCreateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; } +/** EventUpdateGroup is an event emitted when a group is updated. */ +export interface EventUpdateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; } +/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ +export interface EventCreateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; } +/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ +export interface EventUpdateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; } +/** EventSubmitProposal is an event emitted when a proposal is created. */ +export interface EventSubmitProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ +export interface EventWithdrawProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventVote is an event emitted when a voter votes on a proposal. */ +export interface EventVoteSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventExec is an event emitted when a proposal is executed. */ + +export interface EventExecSDKType { + /** proposal_id is the unique ID of the proposal. */ + proposal_id: Long; + /** result is the proposal execution result. */ + result: ProposalExecutorResultSDKType; +} /** 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; +} +/** EventLeaveGroup is an event emitted when group member leaves the group. */ + +export interface EventLeaveGroupSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; /** address is the account address of the group member. */ + address: string; } @@ -99,18 +159,6 @@ export const EventCreateGroup = { return message; }, - fromJSON(object: any): EventCreateGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: EventCreateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventCreateGroup { const message = createBaseEventCreateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -156,18 +204,6 @@ export const EventUpdateGroup = { return message; }, - fromJSON(object: any): EventUpdateGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: EventUpdateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventUpdateGroup { const message = createBaseEventUpdateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -213,18 +249,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 ?? ""; @@ -270,18 +294,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 ?? ""; @@ -327,18 +339,6 @@ export const EventSubmitProposal = { return message; }, - fromJSON(object: any): EventSubmitProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventSubmitProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventSubmitProposal { const message = createBaseEventSubmitProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -384,18 +384,6 @@ export const EventWithdrawProposal = { return message; }, - fromJSON(object: any): EventWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventWithdrawProposal { const message = createBaseEventWithdrawProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -441,18 +429,6 @@ export const EventVote = { return message; }, - fromJSON(object: any): EventVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventVote { const message = createBaseEventVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -507,20 +483,6 @@ export const EventExec = { return message; }, - fromJSON(object: any): EventExec { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : 0 - }; - }, - - toJSON(message: EventExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - return obj; - }, - fromPartial(object: Partial): EventExec { const message = createBaseEventExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -576,20 +538,6 @@ export const EventLeaveGroup = { return message; }, - fromJSON(object: any): EventLeaveGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: EventLeaveGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts b/examples/contracts/codegen/cosmos/group/v1/genesis.ts similarity index 66% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts rename to examples/contracts/codegen/cosmos/group/v1/genesis.ts index 4972c1920..d62e2bd5d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/genesis.ts +++ b/examples/contracts/codegen/cosmos/group/v1/genesis.ts @@ -1,42 +1,78 @@ -import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, Vote } from "./types"; +import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + groups: GroupInfo[]; /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; + 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; + groupPolicySeq: Long; /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; + groupPolicies: GroupPolicyInfo[]; /** * proposal_seq is the proposal table orm.Sequence, * it is used to get the next proposal ID. */ - proposalSeq: Long; + proposalSeq: Long; /** proposals is the list of proposals. */ - proposals: Proposal[]; + proposals: Proposal[]; /** votes is the list of votes. */ + votes: Vote[]; } +/** GenesisState defines the group module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * group_seq is the group table orm.Sequence, + * it is used to get the next group ID. + */ + group_seq: Long; + /** groups is the list of groups info. */ + + groups: GroupInfoSDKType[]; + /** group_members is the list of groups members. */ + + group_members: GroupMemberSDKType[]; + /** + * group_policy_seq is the group policy table orm.Sequence, + * it is used to generate the next group policy account address. + */ + + group_policy_seq: Long; + /** group_policies is the list of group policies info. */ + + group_policies: GroupPolicyInfoSDKType[]; + /** + * proposal_seq is the proposal table orm.Sequence, + * it is used to get the next proposal ID. + */ + + proposal_seq: Long; + /** proposals is the list of proposals. */ + + proposals: ProposalSDKType[]; + /** votes is the list of votes. */ + + votes: VoteSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -138,60 +174,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - groupSeq: isSet(object.groupSeq) ? Long.fromString(object.groupSeq) : Long.UZERO, - 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) ? Long.fromString(object.groupPolicySeq) : Long.UZERO, - groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], - proposalSeq: isSet(object.proposalSeq) ? Long.fromString(object.proposalSeq) : Long.UZERO, - 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 || Long.UZERO).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 || Long.UZERO).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 || Long.UZERO).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 ? Long.fromValue(object.groupSeq) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts b/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts similarity index 55% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts rename to examples/contracts/codegen/cosmos/group/v1/query.lcd.ts index 6f0f7930e..74f335222 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts @@ -1,59 +1,62 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -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"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* GroupInfo queries group info based on group id. */ - async groupInfo(params: QueryGroupInfoRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.groupId !== "undefined") { - options.params.group_id = params.groupId; - } + async groupInfo(params: QueryGroupInfoRequest): Promise { const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* GroupPolicyInfo queries group policy info based on account address of group policy. */ - async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { + + + async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* GroupMembers queries members of a group */ - async groupMembers(params: QueryGroupMembersRequest): Promise { + + + async groupMembers(params: QueryGroupMembersRequest): Promise { const options: any = { params: {} }; - if (typeof params?.groupId !== "undefined") { - options.params.group_id = params.groupId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByAdmin queries groups by admin address. */ - async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { + + + async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { const options: any = { params: {} }; @@ -63,29 +66,27 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupPoliciesByGroup queries group policies by group id. */ - async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { + + + async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { const options: any = { params: {} }; - if (typeof params?.groupId !== "undefined") { - options.params.group_id = params.groupId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByAdmin queries group policies by admin address. */ - async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { + + + async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { const options: any = { params: {} }; @@ -95,25 +96,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Proposal queries a proposal based on proposal id. */ - async proposal(params: QueryProposalRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { + + + async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { const options: any = { params: {} }; @@ -123,43 +118,34 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* VoteByProposalVoter queries a vote by proposal id and voter. */ - async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* VotesByProposal queries a vote by proposal. */ - async votesByProposal(params: QueryVotesByProposalRequest): Promise { + + + async votesByProposal(params: QueryVotesByProposalRequest): Promise { const options: any = { params: {} }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* VotesByVoter queries a vote by voter. */ - async votesByVoter(params: QueryVotesByVoterRequest): Promise { + + + async votesByVoter(params: QueryVotesByVoterRequest): Promise { const options: any = { params: {} }; @@ -169,11 +155,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByMember queries groups by member address. */ - async groupsByMember(params: QueryGroupsByMemberRequest): Promise { + + + async groupsByMember(params: QueryGroupsByMemberRequest): Promise { const options: any = { params: {} }; @@ -183,21 +170,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal votes. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalId !== "undefined") { - options.params.proposal_id = params.proposalId; - } + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts similarity index 60% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts index f66380d4d..59bc35768 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts @@ -1,48 +1,47 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - groupInfo(request: QueryGroupInfoRequest): Promise; + groupInfo(request: QueryGroupInfoRequest): Promise; /*GroupInfo queries group info based on group id.*/ - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; /*GroupPolicyInfo queries group policy info based on account address of group policy.*/ - groupMembers(request: QueryGroupMembersRequest): Promise; + groupMembers(request: QueryGroupMembersRequest): Promise; /*GroupMembers queries members of a group*/ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; /*GroupsByAdmin queries groups by admin address.*/ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; /*GroupPoliciesByGroup queries group policies by group id.*/ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; /*GroupsByAdmin queries group policies by admin address.*/ - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries a proposal based on proposal id.*/ - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; /*ProposalsByGroupPolicy queries proposals based on account address of group policy.*/ - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; /*VoteByProposalVoter queries a vote by proposal id and voter.*/ - votesByProposal(request: QueryVotesByProposalRequest): Promise; + votesByProposal(request: QueryVotesByProposalRequest): Promise; /*VotesByProposal queries a vote by proposal.*/ - votesByVoter(request: QueryVotesByVoterRequest): Promise; + votesByVoter(request: QueryVotesByVoterRequest): Promise; /*VotesByVoter queries a vote by voter.*/ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; + groupsByMember(request: QueryGroupsByMemberRequest): Promise; /*GroupsByMember queries groups by member address.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal votes.*/ } @@ -66,82 +65,140 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { const data = QueryGroupInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); } - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { const data = QueryGroupPolicyInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); } - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { const data = QueryGroupMembersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); } - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { const data = QueryGroupsByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); } - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); } - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); } - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { const data = QueryVoteByProposalVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); } - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { const data = QueryVotesByProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); } - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { const data = QueryVotesByVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); } - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { const data = QueryGroupsByMemberRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + groupInfo(request: QueryGroupInfoRequest): Promise { + return queryService.groupInfo(request); + }, + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + return queryService.groupPolicyInfo(request); + }, + + groupMembers(request: QueryGroupMembersRequest): Promise { + return queryService.groupMembers(request); + }, + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + return queryService.groupsByAdmin(request); + }, + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + return queryService.groupPoliciesByGroup(request); + }, + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + return queryService.groupPoliciesByAdmin(request); + }, + + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + return queryService.proposalsByGroupPolicy(request); + }, + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + return queryService.voteByProposalVoter(request); + }, + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + return queryService.votesByProposal(request); + }, + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + return queryService.votesByVoter(request); + }, + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + return queryService.groupsByMember(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts b/examples/contracts/codegen/cosmos/group/v1/query.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts rename to examples/contracts/codegen/cosmos/group/v1/query.ts index 23b5a944b..19d8454df 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/query.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.ts @@ -1,214 +1,421 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryGroupInfoRequest is the Query/GroupInfo request type. */ + export interface QueryGroupInfoRequest { /** group_id is the unique ID of the group. */ groupId: Long; } +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ +export interface QueryGroupInfoRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; +} /** QueryGroupInfoResponse is the Query/GroupInfo response type. */ + export interface QueryGroupInfoResponse { /** info is the GroupInfo for the group. */ info: GroupInfo | undefined; } +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ +export interface QueryGroupInfoResponseSDKType { + /** info is the GroupInfo for the group. */ + info: GroupInfoSDKType | undefined; +} /** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ + export interface QueryGroupPolicyInfoRequest { /** address is the account address of the group policy. */ address: string; } +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ +export interface QueryGroupPolicyInfoRequestSDKType { + /** address is the account address of the group policy. */ + address: string; +} /** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ + export interface QueryGroupPolicyInfoResponse { /** info is the GroupPolicyInfo for the group policy. */ info: GroupPolicyInfo | undefined; } +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ +export interface QueryGroupPolicyInfoResponseSDKType { + /** info is the GroupPolicyInfo for the group policy. */ + info: GroupPolicyInfoSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ + +export interface QueryGroupMembersRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ +export interface QueryGroupMembersResponseSDKType { + /** members are the members of the group with given group_id. */ + members: GroupMemberSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ + +export interface QueryGroupsByAdminRequestSDKType { + /** admin is the account address of a group's admin. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ + +export interface QueryGroupsByAdminResponseSDKType { + /** groups are the groups info with the provided admin. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ +export interface QueryGroupPoliciesByGroupRequestSDKType { + /** group_id is the unique ID of the group policy's group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ + +export interface QueryGroupPoliciesByGroupResponseSDKType { + /** group_policies are the group policies info associated with the provided group. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ +export interface QueryGroupPoliciesByAdminRequestSDKType { + /** admin is the admin address of the group policy. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ + +export interface QueryGroupPoliciesByAdminResponseSDKType { + /** group_policies are the group policies info with provided admin. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryProposalRequest is the Query/Proposal request type. */ + export interface QueryProposalRequest { /** proposal_id is the unique ID of a proposal. */ proposalId: Long; } +/** QueryProposalRequest is the Query/Proposal request type. */ +export interface QueryProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the Query/Proposal response type. */ + export interface QueryProposalResponse { /** proposal is the proposal info. */ proposal: Proposal | undefined; } +/** QueryProposalResponse is the Query/Proposal response type. */ +export interface QueryProposalResponseSDKType { + /** proposal is the proposal info. */ + proposal: ProposalSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ +export interface QueryProposalsByGroupPolicyRequestSDKType { + /** address is the account address of the group policy related to proposals. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ + +export interface QueryProposalsByGroupPolicyResponseSDKType { + /** proposals are the proposals with given group policy. */ + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ +export interface QueryVoteByProposalVoterRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** voter is a proposal voter account address. */ + + voter: string; +} /** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ + export interface QueryVoteByProposalVoterResponse { /** vote is the vote with given proposal_id and voter. */ vote: Vote | undefined; } +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ +export interface QueryVoteByProposalVoterResponseSDKType { + /** vote is the vote with given proposal_id and voter. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ +export interface QueryVotesByProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ + +export interface QueryVotesByProposalResponseSDKType { + /** votes are the list of votes for given proposal_id. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ + +export interface QueryVotesByVoterRequestSDKType { + /** voter is a proposal voter account address. */ + voter: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ +export interface QueryVotesByVoterResponseSDKType { + /** votes are the list of votes by given voter. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageRequest | undefined; } +/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ + +export interface QueryGroupsByMemberRequestSDKType { + /** address is the group member address. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ + +export interface QueryGroupsByMemberResponseSDKType { + /** groups are the groups info with the provided group member. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryTallyResultRequest is the Query/TallyResult request type. */ + export interface QueryTallyResultRequest { /** proposal_id is the unique id of a proposal. */ proposalId: Long; } +/** QueryTallyResultRequest is the Query/TallyResult request type. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id is the unique id of a proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the Query/TallyResult response type. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the Query/TallyResult response type. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { return { @@ -247,18 +454,6 @@ export const QueryGroupInfoRequest = { return message; }, - fromJSON(object: any): QueryGroupInfoRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: QueryGroupInfoRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryGroupInfoRequest { const message = createBaseQueryGroupInfoRequest(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -282,7 +477,7 @@ export const QueryGroupInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupInfoResponse(); @@ -304,18 +499,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; @@ -361,18 +544,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 ?? ""; @@ -396,7 +567,7 @@ export const QueryGroupPolicyInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPolicyInfoResponse(); @@ -418,18 +589,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; @@ -484,20 +643,6 @@ export const QueryGroupMembersRequest = { return message; }, - fromJSON(object: any): QueryGroupMembersRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryGroupMembersRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -527,7 +672,7 @@ export const QueryGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupMembersResponse(); @@ -553,26 +698,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)) || []; @@ -628,20 +753,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 ?? ""; @@ -671,7 +782,7 @@ export const QueryGroupsByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByAdminResponse(); @@ -697,26 +808,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)) || []; @@ -772,20 +863,6 @@ export const QueryGroupPoliciesByGroupRequest = { return message; }, - fromJSON(object: any): QueryGroupPoliciesByGroupRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -815,7 +892,7 @@ export const QueryGroupPoliciesByGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByGroupResponse(); @@ -841,26 +918,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)) || []; @@ -916,20 +973,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 ?? ""; @@ -959,7 +1002,7 @@ export const QueryGroupPoliciesByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByAdminResponse(); @@ -985,26 +1028,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)) || []; @@ -1051,18 +1074,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1086,7 +1097,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -1108,18 +1119,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; @@ -1174,20 +1173,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 ?? ""; @@ -1217,7 +1202,7 @@ export const QueryProposalsByGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsByGroupPolicyResponse(); @@ -1243,26 +1228,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)) || []; @@ -1318,20 +1283,6 @@ export const QueryVoteByProposalVoterRequest = { return message; }, - fromJSON(object: any): QueryVoteByProposalVoterRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteByProposalVoterRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1356,7 +1307,7 @@ export const QueryVoteByProposalVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteByProposalVoterResponse(); @@ -1378,18 +1329,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; @@ -1444,20 +1383,6 @@ export const QueryVotesByProposalRequest = { return message; }, - fromJSON(object: any): QueryVotesByProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesByProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1487,7 +1412,7 @@ export const QueryVotesByProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByProposalResponse(); @@ -1513,26 +1438,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)) || []; @@ -1588,20 +1493,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 ?? ""; @@ -1631,7 +1522,7 @@ export const QueryVotesByVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByVoterResponse(); @@ -1657,26 +1548,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)) || []; @@ -1732,20 +1603,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 ?? ""; @@ -1775,7 +1632,7 @@ export const QueryGroupsByMemberResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByMemberResponse(); @@ -1801,26 +1658,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)) || []; @@ -1867,18 +1704,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1902,7 +1727,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1924,18 +1749,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/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts b/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts new file mode 100644 index 000000000..1b27e619b --- /dev/null +++ b/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts @@ -0,0 +1,583 @@ +import { voteOptionFromJSON } from "./types"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; +export interface AminoMsgCreateGroup extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroup"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + metadata: string; + }; +} +export interface AminoMsgUpdateGroupMembers extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMembers"; + value: { + admin: string; + group_id: string; + member_updates: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + }; +} +export interface AminoMsgUpdateGroupAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupAdmin"; + value: { + admin: string; + group_id: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMetadata"; + value: { + admin: string; + group_id: string; + metadata: string; + }; +} +export interface AminoMsgCreateGroupPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupPolicy"; + value: { + admin: string; + group_id: string; + metadata: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgCreateGroupWithPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupWithPolicy"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + group_metadata: string; + group_policy_metadata: string; + group_policy_as_admin: boolean; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; + value: { + admin: string; + address: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; + value: { + admin: string; + address: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; + value: { + admin: string; + address: string; + metadata: string; + }; +} +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/group/MsgSubmitProposal"; + value: { + address: string; + proposers: string[]; + metadata: string; + messages: { + type_url: string; + value: Uint8Array; + }[]; + exec: number; + }; +} +export interface AminoMsgWithdrawProposal extends AminoMsg { + type: "cosmos-sdk/group/MsgWithdrawProposal"; + value: { + proposal_id: string; + address: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/group/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + exec: number; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/group/MsgExec"; + value: { + proposal_id: string; + signer: string; + }; +} +export interface AminoMsgLeaveGroup extends AminoMsg { + type: "cosmos-sdk/group/MsgLeaveGroup"; + value: { + address: string; + group_id: string; + }; +} +export const AminoConverter = { + "/cosmos.group.v1.MsgCreateGroup": { + aminoType: "cosmos-sdk/MsgCreateGroup", + toAmino: ({ + admin, + members, + metadata + }: MsgCreateGroup): AminoMsgCreateGroup["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + metadata + }; + }, + fromAmino: ({ + admin, + members, + metadata + }: AminoMsgCreateGroup["value"]): MsgCreateGroup => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + metadata + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMembers": { + aminoType: "cosmos-sdk/MsgUpdateGroupMembers", + toAmino: ({ + admin, + groupId, + memberUpdates + }: MsgUpdateGroupMembers): AminoMsgUpdateGroupMembers["value"] => { + return { + admin, + group_id: groupId.toString(), + member_updates: memberUpdates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })) + }; + }, + fromAmino: ({ + admin, + group_id, + member_updates + }: AminoMsgUpdateGroupMembers["value"]): MsgUpdateGroupMembers => { + return { + admin, + groupId: Long.fromString(group_id), + memberUpdates: member_updates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })) + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", + toAmino: ({ + admin, + groupId, + newAdmin + }: MsgUpdateGroupAdmin): AminoMsgUpdateGroupAdmin["value"] => { + return { + admin, + group_id: groupId.toString(), + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + group_id, + new_admin + }: AminoMsgUpdateGroupAdmin["value"]): MsgUpdateGroupAdmin => { + return { + admin, + groupId: Long.fromString(group_id), + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", + toAmino: ({ + admin, + groupId, + metadata + }: MsgUpdateGroupMetadata): AminoMsgUpdateGroupMetadata["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata + }; + }, + fromAmino: ({ + admin, + group_id, + metadata + }: AminoMsgUpdateGroupMetadata["value"]): MsgUpdateGroupMetadata => { + return { + admin, + groupId: Long.fromString(group_id), + metadata + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupPolicy", + toAmino: ({ + admin, + groupId, + metadata, + decisionPolicy + }: MsgCreateGroupPolicy): AminoMsgCreateGroupPolicy["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + group_id, + metadata, + decision_policy + }: AminoMsgCreateGroupPolicy["value"]): MsgCreateGroupPolicy => { + return { + admin, + groupId: Long.fromString(group_id), + metadata, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupWithPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", + toAmino: ({ + admin, + members, + groupMetadata, + groupPolicyMetadata, + groupPolicyAsAdmin, + decisionPolicy + }: MsgCreateGroupWithPolicy): AminoMsgCreateGroupWithPolicy["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + group_metadata: groupMetadata, + group_policy_metadata: groupPolicyMetadata, + group_policy_as_admin: groupPolicyAsAdmin, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + members, + group_metadata, + group_policy_metadata, + group_policy_as_admin, + decision_policy + }: AminoMsgCreateGroupWithPolicy["value"]): MsgCreateGroupWithPolicy => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + groupMetadata: group_metadata, + groupPolicyMetadata: group_policy_metadata, + groupPolicyAsAdmin: group_policy_as_admin, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", + toAmino: ({ + admin, + address, + newAdmin + }: MsgUpdateGroupPolicyAdmin): AminoMsgUpdateGroupPolicyAdmin["value"] => { + return { + admin, + address, + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + address, + new_admin + }: AminoMsgUpdateGroupPolicyAdmin["value"]): MsgUpdateGroupPolicyAdmin => { + return { + admin, + address, + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", + toAmino: ({ + admin, + address, + decisionPolicy + }: MsgUpdateGroupPolicyDecisionPolicy): AminoMsgUpdateGroupPolicyDecisionPolicy["value"] => { + return { + admin, + address, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + address, + decision_policy + }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]): MsgUpdateGroupPolicyDecisionPolicy => { + return { + admin, + address, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", + toAmino: ({ + admin, + address, + metadata + }: MsgUpdateGroupPolicyMetadata): AminoMsgUpdateGroupPolicyMetadata["value"] => { + return { + admin, + address, + metadata + }; + }, + fromAmino: ({ + admin, + address, + metadata + }: AminoMsgUpdateGroupPolicyMetadata["value"]): MsgUpdateGroupPolicyMetadata => { + return { + admin, + address, + metadata + }; + } + }, + "/cosmos.group.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/group/MsgSubmitProposal", + toAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + exec + }; + }, + fromAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgWithdrawProposal": { + aminoType: "cosmos-sdk/group/MsgWithdrawProposal", + toAmino: ({ + proposalId, + address + }: MsgWithdrawProposal): AminoMsgWithdrawProposal["value"] => { + return { + proposal_id: proposalId.toString(), + address + }; + }, + fromAmino: ({ + proposal_id, + address + }: AminoMsgWithdrawProposal["value"]): MsgWithdrawProposal => { + return { + proposalId: Long.fromString(proposal_id), + address + }; + } + }, + "/cosmos.group.v1.MsgVote": { + aminoType: "cosmos-sdk/group/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata, + exec + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata, + exec + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata, + exec + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata, + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgExec": { + aminoType: "cosmos-sdk/group/MsgExec", + toAmino: ({ + proposalId, + signer + }: MsgExec): AminoMsgExec["value"] => { + return { + proposal_id: proposalId.toString(), + signer + }; + }, + fromAmino: ({ + proposal_id, + signer + }: AminoMsgExec["value"]): MsgExec => { + return { + proposalId: Long.fromString(proposal_id), + signer + }; + } + }, + "/cosmos.group.v1.MsgLeaveGroup": { + aminoType: "cosmos-sdk/group/MsgLeaveGroup", + toAmino: ({ + address, + groupId + }: MsgLeaveGroup): AminoMsgLeaveGroup["value"] => { + return { + address, + group_id: groupId.toString() + }; + }, + fromAmino: ({ + address, + group_id + }: AminoMsgLeaveGroup["value"]): MsgLeaveGroup => { + return { + address, + groupId: Long.fromString(group_id) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/group/v1/tx.registry.ts b/examples/contracts/codegen/cosmos/group/v1/tx.registry.ts new file mode 100644 index 000000000..3441045f2 --- /dev/null +++ b/examples/contracts/codegen/cosmos/group/v1/tx.registry.ts @@ -0,0 +1,310 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.encode(value).finish() + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.encode(value).finish() + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.encode(value).finish() + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.encode(value).finish() + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.encode(value).finish() + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.encode(value).finish() + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.encode(value).finish() + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value + }; + } + + }, + fromPartial: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.fromPartial(value) + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.fromPartial(value) + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.fromPartial(value) + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.fromPartial(value) + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.fromPartial(value) + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.fromPartial(value) + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.fromPartial(value) + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts index 562a750d4..df2762267 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -1,51 +1,49 @@ -import { Member, VoteOption } from "./types"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { MsgCreateGroup, MsgCreateGroupResponse, MsgCreateGroupResponseSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupMembersResponseSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupAdminResponseSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgUpdateGroupMetadataResponseSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupPolicyResponseSDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgCreateGroupWithPolicyResponseSDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyAdminResponseSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyDecisionPolicyResponseSDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgUpdateGroupPolicyMetadataResponseSDKType, MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgWithdrawProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgLeaveGroup, MsgLeaveGroupResponse, MsgLeaveGroupResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createGroup(request: MsgCreateGroup): Promise; + createGroup(request: MsgCreateGroup): Promise; /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; + updateGroupMembers(request: MsgUpdateGroupMembers): Promise; /*UpdateGroupMembers updates the group members with given group id and admin address.*/ - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; /*UpdateGroupAdmin updates the group admin with given group id and previous admin address.*/ - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; /*UpdateGroupMetadata updates the group metadata with given group id and admin address.*/ - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; /*CreateGroupWithPolicy creates a new group with policy.*/ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; /*UpdateGroupPolicyAdmin updates a group policy admin.*/ - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; /*UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.*/ - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal submits a new proposal.*/ - withdrawProposal(request: MsgWithdrawProposal): Promise; + withdrawProposal(request: MsgWithdrawProposal): Promise; /*WithdrawProposal aborts a proposal.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote allows a voter to vote on a proposal.*/ - exec(request: MsgExec): Promise; + exec(request: MsgExec): Promise; /*Exec executes a proposal.*/ - leaveGroup(request: MsgLeaveGroup): Promise; + leaveGroup(request: MsgLeaveGroup): Promise; /*LeaveGroup allows a group member to leave the group.*/ } @@ -70,85 +68,85 @@ export class MsgClientImpl implements Msg { this.leaveGroup = this.leaveGroup.bind(this); } - createGroup(request: MsgCreateGroup): Promise { + createGroup(request: MsgCreateGroup): Promise { const data = MsgCreateGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); } - updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { const data = MsgUpdateGroupMembers.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); } - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { const data = MsgUpdateGroupAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); } - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { const data = MsgUpdateGroupMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); } - createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { const data = MsgCreateGroupPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); } - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { const data = MsgCreateGroupWithPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - withdrawProposal(request: MsgWithdrawProposal): Promise { + withdrawProposal(request: MsgWithdrawProposal): Promise { const data = MsgWithdrawProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - leaveGroup(request: MsgLeaveGroup): Promise { + leaveGroup(request: MsgLeaveGroup): Promise { const data = MsgLeaveGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts b/examples/contracts/codegen/cosmos/group/v1/tx.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts rename to examples/contracts/codegen/cosmos/group/v1/tx.ts index 67ee95c9c..cadea4ca7 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/tx.ts +++ b/examples/contracts/codegen/cosmos/group/v1/tx.ts @@ -1,9 +1,9 @@ -import { Member, VoteOption, voteOptionFromJSON, voteOptionToJSON } from "./types"; -import { Any } from "../../../google/protobuf/any"; +import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ + export enum Exec { /** * EXEC_UNSPECIFIED - An empty value means that there should be a separate @@ -20,6 +20,24 @@ export enum Exec { EXEC_TRY = 1, UNRECOGNIZED = -1, } +/** Exec defines modes of execution of a proposal on creation or on new vote. */ + +export enum ExecSDKType { + /** + * 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 function execFromJSON(object: any): Exec { switch (object) { case 0: @@ -48,259 +66,512 @@ export function execToJSON(object: Exec): string { return "UNKNOWN"; } } - /** 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: Member[]; + members: Member[]; /** metadata is any arbitrary metadata to attached to the group. */ + metadata: string; } +/** MsgCreateGroup is the Msg/CreateGroup request type. */ +export interface MsgCreateGroupSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** metadata is any arbitrary metadata to attached to the group. */ + + 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; } +/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ +export interface MsgCreateGroupResponseSDKType { + /** group_id is the unique ID of the newly created group. */ + 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; + groupId: Long; /** * member_updates is the list of members to update, * set weight to 0 to remove a member. */ + memberUpdates: Member[]; } +/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ + +export interface MsgUpdateGroupMembersSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** + * member_updates is the list of members to update, + * set weight to 0 to remove a member. + */ + member_updates: MemberSDKType[]; +} /** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ + export interface MsgUpdateGroupMembersResponse {} +/** 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; + groupId: Long; /** new_admin is the group new admin account address. */ + newAdmin: string; } +/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ + +export interface MsgUpdateGroupAdminSDKType { + /** admin is the current account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** new_admin is the group new admin account address. */ + new_admin: string; +} /** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ + export interface MsgUpdateGroupAdminResponse {} +/** 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; + groupId: Long; /** metadata is the updated group's metadata. */ + metadata: string; } +/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ + +export interface MsgUpdateGroupMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + group_id: Long; + /** metadata is the updated group's metadata. */ + + metadata: string; +} /** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ + export interface MsgUpdateGroupMetadataResponse {} +/** 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; + groupId: Long; /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; + metadata: string; /** decision_policy specifies the group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ + +export interface MsgCreateGroupPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** metadata is any arbitrary metadata attached to the group policy. */ + + metadata: string; + /** decision_policy specifies the group policy's decision policy. */ + decision_policy: 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; } +/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ +export interface MsgCreateGroupPolicyResponseSDKType { + /** address is the account address of the newly created group policy. */ + address: string; +} /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + export interface MsgUpdateGroupPolicyAdmin { /** admin is the account address of the group admin. */ admin: string; - /** address is the account address of the group policy. */ - address: string; + address: string; /** new_admin is the new group policy admin. */ + newAdmin: string; } +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + +export interface MsgUpdateGroupPolicyAdminSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of the group policy. */ + address: string; + /** new_admin is the new group policy admin. */ + + new_admin: string; +} /** 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: Member[]; + members: Member[]; /** group_metadata is any arbitrary metadata attached to the group. */ - groupMetadata: string; + groupMetadata: string; /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - groupPolicyMetadata: string; + 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; + groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ + +export interface MsgCreateGroupWithPolicySDKType { + /** admin is the account address of the group and group policy admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** 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: 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; } +/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ + +export interface MsgCreateGroupWithPolicyResponseSDKType { + /** group_id is the unique ID of the newly created group with policy. */ + group_id: Long; + /** group_policy_address is the account address of the newly created group policy. */ + group_policy_address: string; +} /** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ + export interface MsgUpdateGroupPolicyAdminResponse {} +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ +export interface MsgUpdateGroupPolicyAdminResponseSDKType {} /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + export interface MsgUpdateGroupPolicyDecisionPolicy { /** admin is the account address of the group admin. */ admin: string; - /** address is the account address of group policy. */ - address: string; + address: string; /** decision_policy is the updated group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + +export interface MsgUpdateGroupPolicyDecisionPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + address: string; + /** decision_policy is the updated group policy's decision policy. */ + + decision_policy: AnySDKType | undefined; +} /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ + export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} +/** 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; - /** address is the account address of group policy. */ - address: string; + address: string; /** metadata is the updated group policy metadata. */ + metadata: string; } +/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ +export interface MsgUpdateGroupPolicyMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + + address: string; + /** metadata is the updated group policy metadata. */ + + metadata: string; +} /** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ + export interface MsgUpdateGroupPolicyMetadataResponse {} +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ +export interface MsgUpdateGroupPolicyMetadataResponseSDKType {} /** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + export interface MsgSubmitProposal { /** address is the account address of group policy. */ address: string; - /** * proposers are the account addresses of the proposers. * Proposers signatures will be counted as yes votes. */ - proposers: string[]; + proposers: string[]; /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; + metadata: string; /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; + 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; } +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + +export interface MsgSubmitProposalSDKType { + /** address is the account address of 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: AnySDKType[]; + /** + * 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: ExecSDKType; +} /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { /** proposal is the unique ID of the proposal. */ proposalId: Long; } +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponseSDKType { + /** proposal is the unique ID of the proposal. */ + 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; } +/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ + +export interface MsgWithdrawProposalSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** address is the admin of the group policy or one of the proposer of the proposal. */ + address: string; +} /** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ + export interface MsgWithdrawProposalResponse {} +/** 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; + voter: string; /** option is the voter's choice on the proposal. */ - option: VoteOption; + option: VoteOption; /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; + metadata: string; /** * exec defines whether the proposal should be executed * immediately after voting or not. */ + exec: Exec; } +/** MsgVote is the Msg/Vote request type. */ + +export interface MsgVoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the voter account address. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** 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: ExecSDKType; +} /** MsgVoteResponse is the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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; - /** signer is the account address used to execute the proposal. */ + signer: string; } +/** MsgExec is the Msg/Exec request type. */ + +export interface MsgExecSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** signer is the account address used to execute the proposal. */ + signer: string; +} /** MsgExecResponse is the Msg/Exec request type. */ + export interface MsgExecResponse {} +/** MsgExecResponse is the Msg/Exec request type. */ +export interface MsgExecResponseSDKType {} /** 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; } +/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ +export interface MsgLeaveGroupSDKType { + /** address is the account address of the group member. */ + address: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; +} /** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + export interface MsgLeaveGroupResponse {} +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + +export interface MsgLeaveGroupResponseSDKType {} function createBaseMsgCreateGroup(): MsgCreateGroup { return { @@ -357,28 +628,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) => Member.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 ? Member.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 ?? ""; @@ -404,7 +653,7 @@ export const MsgCreateGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupResponse(); @@ -426,18 +675,6 @@ export const MsgCreateGroupResponse = { return message; }, - fromJSON(object: any): MsgCreateGroupResponse { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: MsgCreateGroupResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgCreateGroupResponse { const message = createBaseMsgCreateGroupResponse(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -501,28 +738,6 @@ export const MsgUpdateGroupMembers = { return message; }, - fromJSON(object: any): MsgUpdateGroupMembers { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - memberUpdates: Array.isArray(object?.memberUpdates) ? object.memberUpdates.map((e: any) => Member.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgUpdateGroupMembers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - - if (message.memberUpdates) { - obj.memberUpdates = message.memberUpdates.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.memberUpdates = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupMembers { const message = createBaseMsgUpdateGroupMembers(); message.admin = object.admin ?? ""; @@ -542,7 +757,7 @@ export const MsgUpdateGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMembersResponse(); @@ -560,15 +775,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; @@ -631,22 +837,6 @@ export const MsgUpdateGroupAdmin = { return message; }, - fromJSON(object: any): MsgUpdateGroupAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupAdmin { const message = createBaseMsgUpdateGroupAdmin(); message.admin = object.admin ?? ""; @@ -666,7 +856,7 @@ export const MsgUpdateGroupAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupAdminResponse(); @@ -684,15 +874,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; @@ -755,22 +936,6 @@ export const MsgUpdateGroupMetadata = { return message; }, - fromJSON(object: any): MsgUpdateGroupMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupMetadata { const message = createBaseMsgUpdateGroupMetadata(); message.admin = object.admin ?? ""; @@ -790,7 +955,7 @@ export const MsgUpdateGroupMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMetadataResponse(); @@ -808,15 +973,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; @@ -888,24 +1044,6 @@ export const MsgCreateGroupPolicy = { return message; }, - fromJSON(object: any): MsgCreateGroupPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).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 ?? ""; @@ -932,7 +1070,7 @@ export const MsgCreateGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupPolicyResponse(); @@ -954,18 +1092,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 ?? ""; @@ -1029,22 +1155,6 @@ export const MsgUpdateGroupPolicyAdmin = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { const message = createBaseMsgUpdateGroupPolicyAdmin(); message.admin = object.admin ?? ""; @@ -1137,34 +1247,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) => Member.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 ? Member.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 ?? ""; @@ -1198,7 +1280,7 @@ export const MsgCreateGroupWithPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupWithPolicyResponse(); @@ -1224,20 +1306,6 @@ export const MsgCreateGroupWithPolicyResponse = { return message; }, - fromJSON(object: any): MsgCreateGroupWithPolicyResponse { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "" - }; - }, - - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -1256,7 +1324,7 @@ export const MsgUpdateGroupPolicyAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyAdminResponse(); @@ -1274,15 +1342,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; @@ -1345,22 +1404,6 @@ export const MsgUpdateGroupPolicyDecisionPolicy = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined - }; - }, - - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - 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 ?? ""; @@ -1380,7 +1423,7 @@ export const MsgUpdateGroupPolicyDecisionPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); @@ -1398,15 +1441,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; @@ -1469,22 +1503,6 @@ export const MsgUpdateGroupPolicyMetadata = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { const message = createBaseMsgUpdateGroupPolicyMetadata(); message.admin = object.admin ?? ""; @@ -1504,7 +1522,7 @@ export const MsgUpdateGroupPolicyMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); @@ -1522,15 +1540,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; @@ -1611,38 +1620,6 @@ export const MsgSubmitProposal = { return message; }, - fromJSON(object: any): MsgSubmitProposal { - return { - address: isSet(object.address) ? String(object.address) : "", - 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) : 0 - }; - }, - - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - - 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.address = object.address ?? ""; @@ -1670,7 +1647,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -1692,18 +1669,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1758,20 +1723,6 @@ export const MsgWithdrawProposal = { return message; }, - fromJSON(object: any): MsgWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: MsgWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1790,7 +1741,7 @@ export const MsgWithdrawProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawProposalResponse(); @@ -1808,15 +1759,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; @@ -1897,26 +1839,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - metadata: isSet(object.metadata) ? String(object.metadata) : "", - exec: isSet(object.exec) ? execFromJSON(object.exec) : 0 - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1938,7 +1860,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -1956,15 +1878,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; @@ -2018,20 +1931,6 @@ export const MsgExec = { return message; }, - fromJSON(object: any): MsgExec { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgExec { const message = createBaseMsgExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -2050,7 +1949,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -2068,15 +1967,6 @@ export const MsgExecResponse = { return message; }, - fromJSON(_: any): MsgExecResponse { - return {}; - }, - - toJSON(_: MsgExecResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgExecResponse { const message = createBaseMsgExecResponse(); return message; @@ -2130,20 +2020,6 @@ export const MsgLeaveGroup = { return message; }, - fromJSON(object: any): MsgLeaveGroup { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: MsgLeaveGroup): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgLeaveGroup { const message = createBaseMsgLeaveGroup(); message.address = object.address ?? ""; @@ -2162,7 +2038,7 @@ export const MsgLeaveGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgLeaveGroupResponse(); @@ -2180,15 +2056,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/examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts b/examples/contracts/codegen/cosmos/group/v1/types.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts rename to examples/contracts/codegen/cosmos/group/v1/types.ts index 49423a2ed..964408286 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/group/v1/types.ts +++ b/examples/contracts/codegen/cosmos/group/v1/types.ts @@ -1,10 +1,10 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; -import { Any } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** VoteOption enumerates the valid vote options for a given proposal. */ + export enum VoteOption { /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -22,6 +22,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -71,8 +90,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus defines proposal statuses. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -93,6 +112,28 @@ export enum ProposalStatus { PROPOSAL_STATUS_WITHDRAWN = 4, UNRECOGNIZED = -1, } +/** ProposalStatus defines proposal statuses. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ + PROPOSAL_STATUS_UNSPECIFIED = 0, + + /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} export function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -142,8 +183,8 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** ProposalResult defines types of proposal results. */ + export enum ProposalResult { /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ PROPOSAL_RESULT_UNSPECIFIED = 0, @@ -158,6 +199,22 @@ export enum ProposalResult { PROPOSAL_RESULT_REJECTED = 3, UNRECOGNIZED = -1, } +/** ProposalResult defines types of proposal results. */ + +export enum ProposalResultSDKType { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} export function proposalResultFromJSON(object: any): ProposalResult { switch (object) { case 0: @@ -200,8 +257,8 @@ export function proposalResultToJSON(object: ProposalResult): string { return "UNKNOWN"; } } - /** ProposalExecutorResult defines types of proposal executor results. */ + export enum ProposalExecutorResult { /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, @@ -216,6 +273,22 @@ export enum ProposalExecutorResult { PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, UNRECOGNIZED = -1, } +/** ProposalExecutorResult defines types of proposal executor results. */ + +export enum ProposalExecutorResultSDKType { + /** 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { switch (object) { case 0: @@ -258,57 +331,98 @@ export function proposalExecutorResultToJSON(object: ProposalExecutorResult): st return "UNKNOWN"; } } - /** * Member represents a group member with an account address, * non-zero weight and metadata. */ + 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; + weight: string; /** metadata is any arbitrary metadata to attached to the member. */ - metadata: string; + metadata: string; /** added_at is a timestamp specifying when a member was added. */ + addedAt: Date | undefined; } +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ + +export interface MemberSDKType { + /** 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 to attached to the member. */ + + metadata: string; + /** added_at is a timestamp specifying when a member was added. */ + added_at: Date | undefined; +} /** Members defines a repeated slice of Member objects. */ + export interface Members { /** members is the list of members. */ members: Member[]; } +/** Members defines a repeated slice of Member objects. */ +export interface MembersSDKType { + /** members is the list of members. */ + members: MemberSDKType[]; +} /** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + export interface ThresholdDecisionPolicy { /** 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 | undefined; } +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + +export interface ThresholdDecisionPolicySDKType { + /** 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: DecisionPolicyWindowsSDKType | undefined; +} /** PercentageDecisionPolicy implements the DecisionPolicy interface */ + export interface PercentageDecisionPolicy { /** 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 | undefined; } +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ + +export interface PercentageDecisionPolicySDKType { + /** 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: DecisionPolicyWindowsSDKType | undefined; +} /** 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 | undefined; - /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -322,122 +436,208 @@ export interface DecisionPolicyWindows { * is empty, meaning that all proposals created with this decision policy * won't be able to be executed. */ + minExecutionPeriod: Duration | undefined; } +/** DecisionPolicyWindows defines the different windows for voting and execution. */ + +export interface DecisionPolicyWindowsSDKType { + /** + * 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: DurationSDKType | undefined; + /** + * 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: DurationSDKType | undefined; +} /** 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; + admin: string; /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; + 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; + version: Long; /** total_weight is the sum of the group members' weights. */ - totalWeight: string; + totalWeight: string; /** created_at is a timestamp specifying when a group was created. */ + createdAt: Date | undefined; } +/** GroupInfo represents the high-level on-chain information for a group. */ + +export interface GroupInfoSDKType { + /** 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. */ + + total_weight: string; + /** created_at is a timestamp specifying when a group was created. */ + + created_at: Date | undefined; +} /** 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 | undefined; } +/** GroupMember represents the relationship between a group and a member. */ + +export interface GroupMemberSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** member is the member data. */ + member: MemberSDKType | undefined; +} /** 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; + groupId: Long; /** admin is the account address of the group admin. */ - admin: string; + admin: string; /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; + 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; + version: Long; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy: Any | undefined; /** created_at is a timestamp specifying when a group policy was created. */ + createdAt: Date | undefined; } +/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ + +export interface GroupPolicyInfoSDKType { + /** address is the account address of group policy. */ + address: string; + /** group_id is the unique ID of the group. */ + group_id: 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. */ + + decision_policy: AnySDKType | undefined; + /** created_at is a timestamp specifying when a group policy was created. */ + + created_at: Date | undefined; +} /** * 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; - /** address is the account address of group policy. */ - address: string; + address: string; /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; + metadata: string; /** proposers are the account addresses of the proposers. */ - proposers: string[]; + proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date | undefined; + submitTime: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. */ - groupVersion: Long; + groupVersion: Long; /** * group_policy_version tracks the version of the group policy that this proposal corresponds to. * When a decision policy is changed, existing proposals from previous policy versions will become invalid. */ - groupPolicyVersion: Long; + groupPolicyVersion: Long; /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; + status: ProposalStatus; /** * result is the final result based on the votes and election rule. Initial value is unfinalized. * The result is persisted so that clients can always rely on this state and not have to replicate the logic. */ - result: ProposalResult; + result: ProposalResult; /** * final_tally_result contains the sums of all weighted votes for this * proposal for each vote option, after tallying. When querying a proposal * via gRPC, this field is not populated until the proposal's voting period * has ended. */ - finalTallyResult: TallyResult | undefined; + finalTallyResult: TallyResult | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -445,47 +645,148 @@ export interface Proposal { * at this point, and the `final_tally_result`, as well * as `status` and `result` fields will be accordingly updated. */ - votingPeriodEnd: Date | undefined; + votingPeriodEnd: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executorResult: ProposalExecutorResult; + executorResult: ProposalExecutorResult; /** messages is a list of Msgs that will be executed if the proposal passes. */ + messages: Any[]; } +/** + * 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 is the unique id of the proposal. */ + id: Long; + /** address is the account address of 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: Date | undefined; + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + + group_version: Long; + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + + group_policy_version: Long; + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + + status: ProposalStatusSDKType; + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + + result: ProposalResultSDKType; + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + + final_tally_result: TallyResultSDKType | undefined; + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + + voting_period_end: Date | undefined; + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + executor_result: ProposalExecutorResultSDKType; + /** messages is a list of Msgs that will be executed if the proposal passes. */ + + 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; + abstainCount: string; /** no is the weighted sum of no votes. */ - noCount: string; + noCount: string; /** no_with_veto_count is the weighted sum of veto. */ + noWithVetoCount: string; } +/** TallyResult represents the sum of weighted votes for each vote option. */ + +export interface TallyResultSDKType { + /** yes_count is the weighted sum of yes votes. */ + yes_count: string; + /** abstain_count is the weighted sum of abstainers. */ + + abstain_count: string; + /** no 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; +} /** 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; + voter: string; /** option is the voter's choice on the proposal. */ - option: VoteOption; + option: VoteOption; /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; + metadata: string; /** submit_time is the timestamp when the vote was submitted. */ + submitTime: Date | undefined; } +/** Vote represents a vote for a proposal. */ + +export interface VoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the account address of the voter. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** metadata is any arbitrary metadata to attached to the vote. */ + + metadata: string; + /** submit_time is the timestamp when the vote was submitted. */ + + submit_time: Date | undefined; +} function createBaseMember(): Member { return { @@ -551,24 +852,6 @@ 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 = message.addedAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): Member { const message = createBaseMember(); message.address = object.address ?? ""; @@ -617,24 +900,6 @@ export const Members = { return message; }, - fromJSON(object: any): Members { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromJSON(e)) : [] - }; - }, - - toJSON(message: Members): unknown { - const obj: any = {}; - - if (message.members) { - obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.members = []; - } - - return obj; - }, - fromPartial(object: Partial): Members { const message = createBaseMembers(); message.members = object.members?.map(e => Member.fromPartial(e)) || []; @@ -689,20 +954,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 ?? ""; @@ -758,20 +1009,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 ?? ""; @@ -827,20 +1064,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); - message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod); - return obj; - }, - fromPartial(object: Partial): DecisionPolicyWindows { const message = createBaseDecisionPolicyWindows(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -932,28 +1155,6 @@ export const GroupInfo = { return message; }, - fromJSON(object: any): GroupInfo { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): GroupInfo { const message = createBaseGroupInfo(); message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; @@ -1013,20 +1214,6 @@ export const GroupMember = { return message; }, - fromJSON(object: any): GroupMember { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - member: isSet(object.member) ? Member.fromJSON(object.member) : undefined - }; - }, - - toJSON(message: GroupMember): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -1127,30 +1314,6 @@ export const GroupPolicyInfo = { return message; }, - fromJSON(object: any): GroupPolicyInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): GroupPolicyInfo { const message = createBaseGroupPolicyInfo(); message.address = object.address ?? ""; @@ -1310,54 +1473,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "", - 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) ? Long.fromString(object.groupVersion) : Long.UZERO, - groupPolicyVersion: isSet(object.groupPolicyVersion) ? Long.fromString(object.groupPolicyVersion) : Long.UZERO, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - result: isSet(object.result) ? proposalResultFromJSON(object.result) : 0, - finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, - votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined, - executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0, - 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 || Long.UZERO).toString()); - message.address !== undefined && (obj.address = message.address); - 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 = message.submitTime.toISOString()); - message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString()); - message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString()); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = 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 ? Long.fromValue(object.id) : Long.UZERO; @@ -1442,24 +1557,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 ?? ""; @@ -1544,26 +1641,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): Vote { const message = createBaseVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; diff --git a/examples/contracts/codegen/cosmos/lcd.ts b/examples/contracts/codegen/cosmos/lcd.ts new file mode 100644 index 000000000..954fcdf89 --- /dev/null +++ b/examples/contracts/codegen/cosmos/lcd.ts @@ -0,0 +1,99 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + gov: { + v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("./tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts index ed0818a4f..7466eca80 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts @@ -1,15 +1,23 @@ -import { Minter, Params } from "./mint"; +import { Minter, MinterSDKType, Params, ParamsSDKType } from "./mint"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the mint module's genesis state. */ + export interface GenesisState { /** minter is a space for holding current inflation information. */ minter: Minter | undefined; - /** params defines all the paramaters of the module. */ + params: Params | undefined; } +/** GenesisState defines the mint module's genesis state. */ + +export interface GenesisStateSDKType { + /** minter is a space for holding current inflation information. */ + minter: MinterSDKType | undefined; + /** params defines all the paramaters of the module. */ + + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -57,20 +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/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts rename to examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts index 8cde41929..751636d08 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/mint.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts @@ -1,35 +1,65 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Minter represents the minting state. */ + export interface Minter { /** current annual inflation rate */ inflation: string; - /** current annual expected provisions */ + annualProvisions: string; } +/** Minter represents the minting state. */ +export interface MinterSDKType { + /** current annual inflation rate */ + inflation: string; + /** current annual expected provisions */ + + 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; + inflationRateChange: string; /** maximum inflation rate */ - inflationMax: string; + inflationMax: string; /** minimum inflation rate */ - inflationMin: string; + inflationMin: string; /** goal of percent bonded atoms */ - goalBonded: string; + goalBonded: string; /** expected blocks per year */ + blocksPerYear: Long; } +/** Params holds parameters for the mint module. */ + +export interface ParamsSDKType { + /** 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: Long; +} function createBaseMinter(): Minter { return { @@ -77,20 +107,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 ?? ""; @@ -182,28 +198,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) ? Long.fromString(object.blocksPerYear) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.mintDenom = object.mintDenom ?? ""; diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..920860407 --- /dev/null +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts @@ -0,0 +1,38 @@ +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + /* Params returns the total set of minting parameters. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/params`; + return await this.req.get(endpoint); + } + /* Inflation returns the current minting inflation value. */ + + + async inflation(_params: QueryInflationRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/inflation`; + return await this.req.get(endpoint); + } + /* AnnualProvisions current minting annual provisions value. */ + + + async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/annual_provisions`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts new file mode 100644 index 000000000..0ea42b140 --- /dev/null +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -0,0 +1,64 @@ +import { Rpc } from "@osmonauts/helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; +/** Query defines the RPC service */ + +export interface Query { + params(request?: QueryParamsRequest): Promise; + /*Params returns the total set of minting parameters.*/ + + inflation(request?: QueryInflationRequest): Promise; + /*Inflation returns the current minting inflation value.*/ + + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; + /*AnnualProvisions current minting annual provisions value.*/ + +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + inflation(request: QueryInflationRequest = {}): Promise { + const data = QueryInflationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); + return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); + } + + annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { + const data = QueryAnnualProvisionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); + return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + inflation(request?: QueryInflationRequest): Promise { + return queryService.inflation(request); + }, + + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { + return queryService.annualProvisions(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/mint/v1beta1/query.ts index 871fdd0a4..988f2d832 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts @@ -1,42 +1,77 @@ -import { Params } from "./mint"; +import { Params, ParamsSDKType } from "./mint"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ + export interface QueryInflationRequest {} +/** 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; } +/** + * QueryInflationResponse is the response type for the Query/Inflation RPC + * method. + */ +export interface QueryInflationResponseSDKType { + /** inflation is the current minting inflation value. */ + inflation: Uint8Array; +} /** * QueryAnnualProvisionsRequest is the request type for the * Query/AnnualProvisions RPC method. */ + export interface QueryAnnualProvisionsRequest {} +/** + * 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; } +/** + * QueryAnnualProvisionsResponse is the response type for the + * Query/AnnualProvisions RPC method. + */ + +export interface QueryAnnualProvisionsResponseSDKType { + /** annual_provisions is the current minting annual provisions value. */ + annual_provisions: Uint8Array; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return {}; @@ -65,15 +100,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; @@ -96,7 +122,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -118,18 +144,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; @@ -165,15 +179,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; @@ -196,7 +201,7 @@ export const QueryInflationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryInflationResponse(); @@ -218,18 +223,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(); @@ -265,15 +258,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; @@ -296,7 +280,7 @@ export const QueryAnnualProvisionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAnnualProvisionsResponse(); @@ -318,18 +302,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/examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts b/examples/contracts/codegen/cosmos/msg/v1/msg.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/cosmos/msg/v1/msg.ts rename to examples/contracts/codegen/cosmos/msg/v1/msg.ts diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/event.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/event.ts index 0a183320d..dac30f74b 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/event.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/event.ts @@ -1,27 +1,48 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** EventSend is emitted on Msg/Send */ + export interface EventSend { classId: string; id: string; sender: string; receiver: string; } +/** 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; } +/** 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; } +/** EventBurn is emitted on Burn */ + +export interface EventBurnSDKType { + class_id: string; + id: string; + owner: string; +} function createBaseEventSend(): EventSend { return { @@ -87,24 +108,6 @@ export const EventSend = { 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 ?? ""; @@ -171,22 +174,6 @@ export const EventMint = { 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 ?? ""; @@ -252,22 +239,6 @@ export const EventBurn = { 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 ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/genesis.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/genesis.ts index 5e1606405..879eeacce 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/genesis.ts @@ -1,22 +1,37 @@ -import { Class, NFT } from "./nft"; +import { Class, ClassSDKType, NFT, NFTSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the nft module's genesis state. */ + export interface GenesisState { /** class defines the class of the nft type. */ classes: Class[]; entries: Entry[]; } +/** GenesisState defines the nft module's genesis state. */ +export interface GenesisStateSDKType { + /** class defines the class of the nft type. */ + 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[]; } +/** Entry Defines all nft owned by a person */ + +export interface EntrySDKType { + /** owner is the owner address of the following nft */ + owner: string; + /** nfts is a group of nfts of the same owner */ + + nfts: NFTSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -64,31 +79,6 @@ export const GenesisState = { 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)) || []; @@ -144,26 +134,6 @@ export const Entry = { 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 ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts index 62b48229d..fc0693d1d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/nft.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts @@ -1,48 +1,89 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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; + name: string; /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; + symbol: string; /** description is a brief description of nft classification. Optional */ - description: string; + description: string; /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; + uri: string; /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; + uriHash: string; /** data is the app specific metadata of the NFT class. Optional */ + data: Any | undefined; } +/** Class defines the class of the nft type. */ + +export interface ClassSDKType { + /** 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: AnySDKType | undefined; +} /** 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; + id: string; /** uri for the NFT metadata stored off chain */ - uri: string; + uri: string; /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; + uriHash: string; /** data is an app specific data of the NFT. Optional */ + data: Any | undefined; } +/** NFT defines the NFT. */ + +export interface NFTSDKType { + /** 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: AnySDKType | undefined; +} function createBaseClass(): Class { return { @@ -135,30 +176,6 @@ export const Class = { 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 ?? ""; @@ -246,26 +263,6 @@ export const NFT = { 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 ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts similarity index 52% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts index 5415a1e1d..1cbb51ba4 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -1,64 +1,49 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + 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 options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } + async balance(params: QueryBalanceRequest): Promise { const endpoint = `cosmos/nft/v1beta1/balance/${params.owner}/${params.classId}`; - return await this.request(endpoint, options); + 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 options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } + async owner(params: QueryOwnerRequest): Promise { const endpoint = `cosmos/nft/v1beta1/owner/${params.classId}/${params.id}`; - return await this.request(endpoint, options); + 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 options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } + async supply(params: QuerySupplyRequest): Promise { const endpoint = `cosmos/nft/v1beta1/supply/${params.classId}`; - return await this.request(endpoint, options); + 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 { + + + async nFTs(params: QueryNFTsRequest): Promise { const options: any = { params: {} }; @@ -76,41 +61,28 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/nft/v1beta1/nfts`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* NFT queries an NFT based on its class and id. */ - async nFT(params: QueryNFTRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } + async nFT(params: QueryNFTRequest): Promise { const endpoint = `cosmos/nft/v1beta1/nfts/${params.classId}/${params.id}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Class queries an NFT class based on its id */ - async class(params: QueryClassRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } + async class(params: QueryClassRequest): Promise { const endpoint = `cosmos/nft/v1beta1/classes/${params.classId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Classes queries all NFT classes */ + + async classes(params: QueryClassesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -120,7 +92,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/nft/v1beta1/classes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts similarity index 54% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts index b091e0a15..e27a47468 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -1,31 +1,30 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - balance(request: QueryBalanceRequest): Promise; + balance(request: QueryBalanceRequest): Promise; /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ - owner(request: QueryOwnerRequest): Promise; + owner(request: QueryOwnerRequest): Promise; /*Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721*/ - supply(request: QuerySupplyRequest): Promise; + supply(request: QuerySupplyRequest): Promise; /*Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.*/ - nFTs(request: QueryNFTsRequest): Promise; + nFTs(request: QueryNFTsRequest): Promise; /*NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerable*/ - nFT(request: QueryNFTRequest): Promise; + nFT(request: QueryNFTRequest): Promise; /*NFT queries an NFT based on its class and id.*/ - class(request: QueryClassRequest): Promise; + class(request: QueryClassRequest): Promise; /*Class queries an NFT class based on its id*/ - classes(request: QueryClassesRequest): Promise; + classes(request?: QueryClassesRequest): Promise; /*Classes queries all NFT classes*/ } @@ -43,46 +42,82 @@ export class QueryClientImpl implements Query { this.classes = this.classes.bind(this); } - balance(request: QueryBalanceRequest): Promise { + 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 _m0.Reader(data))); } - owner(request: QueryOwnerRequest): Promise { + 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 _m0.Reader(data))); } - supply(request: QuerySupplyRequest): Promise { + 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 _m0.Reader(data))); } - nFTs(request: QueryNFTsRequest): Promise { + 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 _m0.Reader(data))); } - nFT(request: QueryNFTRequest): Promise { + 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 _m0.Reader(data))); } - class(request: QueryClassRequest): Promise { + 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 _m0.Reader(data))); } - classes(request: QueryClassesRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/query.ts index 6a36f511d..1ac38a5b5 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts @@ -1,84 +1,162 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method */ + export interface QueryBalanceRequest { classId: string; owner: string; } +/** 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; } +/** 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; } +/** 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; } +/** 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; } +/** 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; } +/** 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 | undefined; + classId?: string; + owner?: string; + pagination?: PageRequest | undefined; } +/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ +export interface QueryNFTsRequestSDKType { + class_id?: string; + owner?: string; + pagination?: PageRequestSDKType | undefined; +} /** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ + export interface QueryNFTsResponse { nfts: NFT[]; - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; } +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ +export interface QueryNFTsResponseSDKType { + nfts: NFTSDKType[]; + pagination?: PageResponseSDKType | undefined; +} /** QueryNFTRequest is the request type for the Query/NFT RPC method */ + export interface QueryNFTRequest { classId: string; id: string; } +/** 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 | undefined; } +/** QueryNFTResponse is the response type for the Query/NFT RPC method */ +export interface QueryNFTResponseSDKType { + nft: NFTSDKType | undefined; +} /** QueryClassRequest is the request type for the Query/Class RPC method */ + export interface QueryClassRequest { classId: string; } +/** 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 | undefined; } +/** QueryClassResponse is the response type for the Query/Class RPC method */ +export interface QueryClassResponseSDKType { + class: ClassSDKType | undefined; +} /** QueryClassesRequest is the request type for the Query/Classes RPC method */ + export interface QueryClassesRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ +export interface QueryClassesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** QueryClassesResponse is the response type for the Query/Classes RPC method */ + export interface QueryClassesResponse { classes: Class[]; - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; +} +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ + +export interface QueryClassesResponseSDKType { + classes: ClassSDKType[]; + pagination?: PageResponseSDKType | undefined; } function createBaseQueryBalanceRequest(): QueryBalanceRequest { @@ -127,20 +205,6 @@ export const QueryBalanceRequest = { 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 ?? ""; @@ -165,7 +229,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -187,18 +251,6 @@ export const QueryBalanceResponse = { return message; }, - fromJSON(object: any): QueryBalanceResponse { - return { - amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO - }; - }, - - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryBalanceResponse { const message = createBaseQueryBalanceResponse(); message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; @@ -253,20 +305,6 @@ export const QueryOwnerRequest = { 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 ?? ""; @@ -291,7 +329,7 @@ export const QueryOwnerResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryOwnerResponse(); @@ -313,18 +351,6 @@ export const QueryOwnerResponse = { 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 ?? ""; @@ -370,18 +396,6 @@ export const QuerySupplyRequest = { 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 ?? ""; @@ -405,7 +419,7 @@ export const QuerySupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyResponse(); @@ -427,18 +441,6 @@ export const QuerySupplyResponse = { return message; }, - fromJSON(object: any): QuerySupplyResponse { - return { - amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO - }; - }, - - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QuerySupplyResponse { const message = createBaseQuerySupplyResponse(); message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; @@ -502,22 +504,6 @@ export const QueryNFTsRequest = { 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 ?? ""; @@ -548,7 +534,7 @@ export const QueryNFTsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTsResponse(); @@ -574,26 +560,6 @@ export const QueryNFTsResponse = { 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)) || []; @@ -649,20 +615,6 @@ export const QueryNFTRequest = { 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 ?? ""; @@ -687,7 +639,7 @@ export const QueryNFTResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTResponse(); @@ -709,18 +661,6 @@ export const QueryNFTResponse = { 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; @@ -766,18 +706,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 ?? ""; @@ -801,7 +729,7 @@ export const QueryClassResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassResponse(); @@ -823,18 +751,6 @@ export const QueryClassResponse = { 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; @@ -880,18 +796,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; @@ -920,7 +824,7 @@ export const QueryClassesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassesResponse(); @@ -946,26 +850,6 @@ export const QueryClassesResponse = { 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)) || []; diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.amino.ts new file mode 100644 index 000000000..68f2beb79 --- /dev/null +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.amino.ts @@ -0,0 +1,42 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgNFTSend"; + value: { + class_id: string; + id: string; + sender: string; + receiver: string; + }; +} +export const AminoConverter = { + "/cosmos.nft.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgNFTSend", + toAmino: ({ + classId, + id, + sender, + receiver + }: MsgSend): AminoMsgSend["value"] => { + return { + class_id: classId, + id, + sender, + receiver + }; + }, + fromAmino: ({ + class_id, + id, + sender, + receiver + }: AminoMsgSend["value"]): MsgSend => { + return { + classId: class_id, + id, + sender, + receiver + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.registry.ts new file mode 100644 index 000000000..0d9307539 --- /dev/null +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.nft.v1beta1.MsgSend", + value: MsgSend.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts index 78ea50e14..1684544b3 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse } from "./tx"; - +import { MsgSend, MsgSendResponse, MsgSendResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - send(request: MsgSend): Promise; + send(request: MsgSend): Promise; /*Send defines a method to send a nft from one account to another account.*/ } @@ -16,7 +16,7 @@ export class MsgClientImpl implements Msg { this.send = this.send.bind(this); } - send(request: MsgSend): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts index 907d3c157..488810e3f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/nft/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts @@ -1,23 +1,40 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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; + id: string; /** sender is the address of the owner of nft */ - sender: string; + sender: string; /** receiver is the receiver address of nft */ + receiver: string; } +/** MsgSend represents a message to send a nft from one account to another account. */ + +export interface MsgSendSDKType { + /** 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; +} /** MsgSendResponse defines the Msg/Send response type. */ + export interface MsgSendResponse {} +/** MsgSendResponse defines the Msg/Send response type. */ + +export interface MsgSendResponseSDKType {} function createBaseMsgSend(): MsgSend { return { @@ -83,24 +100,6 @@ export const MsgSend = { 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 ?? ""; @@ -121,7 +120,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -139,15 +138,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; diff --git a/examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts b/examples/contracts/codegen/cosmos/orm/v1/orm.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts rename to examples/contracts/codegen/cosmos/orm/v1/orm.ts index d619d641d..8565532ca 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/orm/v1/orm.ts +++ b/examples/contracts/codegen/cosmos/orm/v1/orm.ts @@ -1,23 +1,38 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** TableDescriptor describes an ORM table. */ + export interface TableDescriptor { /** primary_key defines the primary key for the table. */ primaryKey: PrimaryKeyDescriptor | undefined; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; + 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; } +/** TableDescriptor describes an ORM table. */ + +export interface TableDescriptorSDKType { + /** primary_key defines the primary key for the table. */ + primary_key: PrimaryKeyDescriptorSDKType | undefined; + /** index defines one or more secondary indexes. */ + + index: SecondaryIndexDescriptorSDKType[]; + /** + * 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; +} /** PrimaryKeyDescriptor describes a table primary key. */ + export interface PrimaryKeyDescriptor { /** * fields is a comma-separated list of fields in the primary key. Spaces are @@ -52,16 +67,60 @@ export interface PrimaryKeyDescriptor { * 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; } +/** PrimaryKeyDescriptor describes a table primary key. */ + +export interface PrimaryKeyDescriptorSDKType { + /** + * 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; +} /** PrimaryKeyDescriptor describes a table secondary index. */ + export interface SecondaryIndexDescriptor { /** * fields is a comma-separated list of fields in the index. The supported @@ -75,19 +134,45 @@ export interface SecondaryIndexDescriptor { * 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; + id: number; /** unique specifies that this an unique index. */ + unique: boolean; } +/** PrimaryKeyDescriptor describes a table secondary index. */ + +export interface SecondaryIndexDescriptorSDKType { + /** + * 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 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; +} /** 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 @@ -96,6 +181,16 @@ export interface SingletonDescriptor { */ id: number; } +/** TableDescriptor describes an ORM singleton table which has at most one instance. */ + +export interface SingletonDescriptorSDKType { + /** + * 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; +} function createBaseTableDescriptor(): TableDescriptor { return { @@ -152,28 +247,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; @@ -230,20 +303,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 ?? ""; @@ -308,22 +367,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 ?? ""; @@ -371,18 +414,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/examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts rename to examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts index 11e3c94dc..a32fcdec3 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/orm/v1alpha1/schema.ts +++ b/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** StorageType */ + export enum StorageType { /** * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent @@ -48,6 +47,54 @@ export enum StorageType { STORAGE_TYPE_COMMITMENT = 4, UNRECOGNIZED = -1, } +/** StorageType */ + +export enum StorageTypeSDKType { + /** + * 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 function storageTypeFromJSON(object: any): StorageType { switch (object) { case 0: @@ -97,40 +144,74 @@ export function storageTypeToJSON(object: StorageType): string { return "UNKNOWN"; } } - /** 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; } +/** ModuleSchemaDescriptor describe's a module's ORM schema. */ + +export interface ModuleSchemaDescriptorSDKType { + schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; + /** + * prefix is an optional prefix that precedes all keys in this module's + * store. + */ + 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; + 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; } +/** FileEntry describes an ORM file used in a module. */ + +export interface ModuleSchemaDescriptor_FileEntrySDKType { + /** + * 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: StorageTypeSDKType; +} function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { return { @@ -178,26 +259,6 @@ export const ModuleSchemaDescriptor = { 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)) || []; @@ -262,22 +323,6 @@ export const ModuleSchemaDescriptor_FileEntry = { 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) : 0 - }; - }, - - 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; diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts b/examples/contracts/codegen/cosmos/params/v1beta1/params.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts rename to examples/contracts/codegen/cosmos/params/v1beta1/params.ts index 2023c7189..0921dec84 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/params.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/params.ts @@ -1,22 +1,38 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ParameterChangeProposal defines a proposal to change one or more parameters. */ + export interface ParameterChangeProposal { title: string; description: string; changes: ParamChange[]; } +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ +export interface ParameterChangeProposalSDKType { + 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; } +/** + * ParamChange defines an individual parameter change, for use in + * ParameterChangeProposal. + */ + +export interface ParamChangeSDKType { + subspace: string; + key: string; + value: string; +} function createBaseParameterChangeProposal(): ParameterChangeProposal { return { @@ -73,28 +89,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 ?? ""; @@ -160,22 +154,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/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts similarity index 57% rename from examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts index 5e8dd2b25..d165cf20d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -1,20 +1,22 @@ -import { ParamChange } from "./params"; import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); } - /* Params queries a specific parameter of a module, given its subspace and key. */ - async params(params: QueryParamsRequest): Promise { + + + async params(params: QueryParamsRequest): Promise { const options: any = { params: {} }; @@ -28,13 +30,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/params/v1beta1/params`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Subspaces queries for all registered subspaces and all keys for a subspace. */ - async subspaces(_params: QuerySubspacesRequest = {}): Promise { + + + async subspaces(_params: QuerySubspacesRequest = {}): Promise { const endpoint = `cosmos/params/v1beta1/subspaces`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts index 29b24104f..0fa154d26 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -1,15 +1,15 @@ -import { ParamChange } from "./params"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries a specific parameter of a module, given its subspace and key.*/ - subspaces(request: QuerySubspacesRequest): Promise; + subspaces(request?: QuerySubspacesRequest): Promise; /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ } @@ -22,16 +22,30 @@ export class QueryClientImpl implements Query { this.subspaces = this.subspaces.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - subspaces(request: QuerySubspacesRequest): Promise { + subspaces(request: QuerySubspacesRequest = {}): Promise { const data = QuerySubspacesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + subspaces(request?: QuerySubspacesRequest): Promise { + return queryService.subspaces(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/params/v1beta1/query.ts index 9ba52a80f..d4ec37fbb 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/params/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.ts @@ -1,44 +1,81 @@ -import { ParamChange } from "./params"; +import { ParamChange, ParamChangeSDKType } from "./params"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; } +/** QueryParamsRequest is request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType { + /** subspace defines the module to query the parameter for. */ + subspace: string; + /** key defines the key of the parameter in the subspace. */ + key: string; +} /** QueryParamsResponse is response type for the Query/Params RPC method. */ + export interface QueryParamsResponse { /** param defines the queried parameter. */ param: ParamChange | undefined; } +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** param defines the queried parameter. */ + param: ParamChangeSDKType | undefined; +} /** * QuerySubspacesRequest defines a request type for querying for all registered * subspaces and all keys for a subspace. */ + export interface QuerySubspacesRequest {} +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ +export interface QuerySubspacesRequestSDKType {} /** * QuerySubspacesResponse defines the response types for querying for all * registered subspaces and all keys for a subspace. */ + export interface QuerySubspacesResponse { subspaces: Subspace[]; } +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ +export interface QuerySubspacesResponseSDKType { + subspaces: SubspaceSDKType[]; +} /** * Subspace defines a parameter subspace name and all the keys that exist for * the subspace. */ + export interface Subspace { subspace: string; keys: string[]; } +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ + +export interface SubspaceSDKType { + subspace: string; + keys: string[]; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return { @@ -86,20 +123,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 ?? ""; @@ -124,7 +147,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -146,18 +169,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; @@ -193,15 +204,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; @@ -224,7 +226,7 @@ export const QuerySubspacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySubspacesResponse(); @@ -246,24 +248,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)) || []; @@ -318,26 +302,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/examples/contracts/codegen/cosmos/rpc.query.ts b/examples/contracts/codegen/cosmos/rpc.query.ts new file mode 100644 index 000000000..463a76c44 --- /dev/null +++ b/examples/contracts/codegen/cosmos/rpc.query.ts @@ -0,0 +1,68 @@ +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("./authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("./bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("./base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("./gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("./gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("./group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("./tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("./upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts b/examples/contracts/codegen/cosmos/rpc.tx.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/cosmos/rpc.tx.ts rename to examples/contracts/codegen/cosmos/rpc.tx.ts diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts index 89d8403a0..bcdfead42 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -1,52 +1,100 @@ -import { Params, ValidatorSigningInfo } from "./slashing"; +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the slashing module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params: Params | undefined; - /** * signing_infos represents a map between validator addresses and their * signing infos. */ - signingInfos: SigningInfo[]; + signingInfos: SigningInfo[]; /** * missed_blocks represents a map between validator addresses and their * missed blocks. */ + missedBlocks: ValidatorMissedBlocks[]; } +/** GenesisState defines the slashing module's genesis state. */ +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params: ParamsSDKType | undefined; + /** + * signing_infos represents a map between validator addresses and their + * signing infos. + */ + + signing_infos: SigningInfoSDKType[]; + /** + * missed_blocks represents a map between validator addresses and their + * missed blocks. + */ + + 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 | undefined; } +/** SigningInfo stores validator signing info of corresponding address. */ +export interface SigningInfoSDKType { + /** address is the validator address. */ + address: string; + /** validator_signing_info represents the signing info of this validator. */ + + validator_signing_info: ValidatorSigningInfoSDKType | undefined; +} /** * 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[]; } +/** + * ValidatorMissedBlocks contains array of missed blocks of corresponding + * address. + */ +export interface ValidatorMissedBlocksSDKType { + /** address is the validator address. */ + address: string; + /** missed_blocks is an array of missed blocks by the validator. */ + + 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; +} +/** MissedBlock contains height and missed status as boolean. */ +export interface MissedBlockSDKType { + /** index is the height at which the block was missed. */ + index: Long; /** missed is the missed status. */ + missed: boolean; } @@ -105,33 +153,6 @@ export const GenesisState = { 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; @@ -188,20 +209,6 @@ export const SigningInfo = { 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 ?? ""; @@ -257,26 +264,6 @@ export const ValidatorMissedBlocks = { 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 ?? ""; @@ -332,20 +319,6 @@ export const MissedBlock = { return message; }, - fromJSON(object: any): MissedBlock { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, - missed: isSet(object.missed) ? Boolean(object.missed) : false - }; - }, - - toJSON(message: MissedBlock): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.index) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts similarity index 50% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts index f01e6797e..cb3b9ffdc 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -1,43 +1,39 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + 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 { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/slashing/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* SigningInfo queries the signing info of given cons address */ - async signingInfo(params: QuerySigningInfoRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.consAddress !== "undefined") { - options.params.cons_address = params.consAddress; - } + async signingInfo(params: QuerySigningInfoRequest): Promise { const endpoint = `cosmos/slashing/v1beta1/signing_infos/${params.consAddress}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* SigningInfos queries signing info of all validators */ + + async signingInfos(params: QuerySigningInfosRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -47,7 +43,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/slashing/v1beta1/signing_infos`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts similarity index 51% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts index c52fcf97c..3dc1d6580 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries the parameters of slashing module*/ - signingInfo(request: QuerySigningInfoRequest): Promise; + signingInfo(request: QuerySigningInfoRequest): Promise; /*SigningInfo queries the signing info of given cons address*/ - signingInfos(request: QuerySigningInfosRequest): Promise; + signingInfos(request?: QuerySigningInfosRequest): Promise; /*SigningInfos queries signing info of all validators*/ } @@ -26,22 +25,42 @@ export class QueryClientImpl implements Query { this.signingInfos = this.signingInfos.bind(this); } - params(request: QueryParamsRequest): Promise { + 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 _m0.Reader(data))); } - signingInfo(request: QuerySigningInfoRequest): Promise { + 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 _m0.Reader(data))); } - signingInfos(request: QuerySigningInfosRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts index 774855756..21bd49c73 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts @@ -1,50 +1,93 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryParamsRequest is the request type for the Query/Params RPC method */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method */ +export interface QueryParamsResponseSDKType { + params: ParamsSDKType | undefined; +} /** * 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; } +/** + * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC + * method + */ +export interface QuerySigningInfoRequestSDKType { + /** cons_address is the address to query signing info of */ + 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 | undefined; } +/** + * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + * method + */ +export interface QuerySigningInfoResponseSDKType { + /** val_signing_info is the signing info of requested val cons address */ + val_signing_info: ValidatorSigningInfoSDKType | undefined; +} /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC * method */ + export interface QuerySigningInfosRequest { - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ +export interface QuerySigningInfosRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + pagination?: PageResponse | undefined; +} +/** + * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + * method + */ + +export interface QuerySigningInfosResponseSDKType { + /** info is the signing info of all validators */ + info: ValidatorSigningInfoSDKType[]; + pagination?: PageResponseSDKType | undefined; } function createBaseQueryParamsRequest(): QueryParamsRequest { @@ -74,15 +117,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; @@ -105,7 +139,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -127,18 +161,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; @@ -184,18 +206,6 @@ export const QuerySigningInfoRequest = { 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 ?? ""; @@ -219,7 +229,7 @@ export const QuerySigningInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfoResponse(); @@ -241,18 +251,6 @@ export const QuerySigningInfoResponse = { 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; @@ -298,18 +296,6 @@ export const QuerySigningInfosRequest = { 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; @@ -338,7 +324,7 @@ export const QuerySigningInfosResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfosResponse(); @@ -364,26 +350,6 @@ export const QuerySigningInfosResponse = { 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)) || []; diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts similarity index 69% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts index 9bf5f95ee..13afa0fff 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/slashing.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -1,42 +1,75 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/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: Long; + 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; + indexOffset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date | undefined; + jailedUntil: Date | undefined; /** * 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; + tombstoned: boolean; /** * A counter kept to avoid unnecessary array reads. * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. */ + missedBlocksCounter: Long; } +/** + * ValidatorSigningInfo defines a validator's signing info for monitoring their + * liveness activity. + */ +export interface ValidatorSigningInfoSDKType { + address: string; + /** Height at which validator was first a candidate OR was unjailed */ + + start_height: 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`. + */ + + index_offset: Long; + /** Timestamp until which the validator is jailed due to liveness downtime. */ + + jailed_until: Date | undefined; + /** + * 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: Long; +} /** Params represents the parameters used for by the slashing module. */ + export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; @@ -44,6 +77,15 @@ export interface Params { slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } +/** 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 | undefined; + slash_fraction_double_sign: Uint8Array; + slash_fraction_downtime: Uint8Array; +} function createBaseValidatorSigningInfo(): ValidatorSigningInfo { return { @@ -127,28 +169,6 @@ export const ValidatorSigningInfo = { return message; }, - fromJSON(object: any): ValidatorSigningInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - startHeight: isSet(object.startHeight) ? Long.fromString(object.startHeight) : Long.ZERO, - indexOffset: isSet(object.indexOffset) ? Long.fromString(object.indexOffset) : Long.ZERO, - jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined, - tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false, - missedBlocksCounter: isSet(object.missedBlocksCounter) ? Long.fromString(object.missedBlocksCounter) : Long.ZERO - }; - }, - - toJSON(message: ValidatorSigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString()); - message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString()); - message.jailedUntil !== undefined && (obj.jailedUntil = message.jailedUntil.toISOString()); - message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); - message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorSigningInfo { const message = createBaseValidatorSigningInfo(); message.address = object.address ?? ""; @@ -235,26 +255,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - signedBlocksWindow: isSet(object.signedBlocksWindow) ? Long.fromString(object.signedBlocksWindow) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); - message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration); - 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 ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.amino.ts new file mode 100644 index 000000000..2947b6068 --- /dev/null +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.amino.ts @@ -0,0 +1,27 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgUnjail } from "./tx"; +export interface AminoMsgUnjail extends AminoMsg { + type: "cosmos-sdk/MsgUnjail"; + value: { + validator_addr: string; + }; +} +export const AminoConverter = { + "/cosmos.slashing.v1beta1.MsgUnjail": { + aminoType: "cosmos-sdk/MsgUnjail", + toAmino: ({ + validatorAddr + }: MsgUnjail): AminoMsgUnjail["value"] => { + return { + validator_addr: validatorAddr + }; + }, + fromAmino: ({ + validator_addr + }: AminoMsgUnjail["value"]): MsgUnjail => { + return { + validatorAddr: validator_addr + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.registry.ts new file mode 100644 index 000000000..449d8a3ee --- /dev/null +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + unjail(value: MsgUnjail) { + return { + typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", + value: MsgUnjail.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts index 4c7948316..bdc0ffa55 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgUnjail, MsgUnjailResponse } from "./tx"; - +import { MsgUnjail, MsgUnjailResponse, MsgUnjailResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - unjail(request: MsgUnjail): Promise; + unjail(request: MsgUnjail): Promise; /*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.*/ @@ -18,7 +18,7 @@ export class MsgClientImpl implements Msg { this.unjail = this.unjail.bind(this); } - unjail(request: MsgUnjail): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts index 6551bff33..5e0acc0e1 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/slashing/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts @@ -1,13 +1,20 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgUnjail defines the Msg/Unjail request type */ + export interface MsgUnjail { validatorAddr: string; } +/** MsgUnjail defines the Msg/Unjail request type */ +export interface MsgUnjailSDKType { + validator_addr: string; +} /** MsgUnjailResponse defines the Msg/Unjail response type */ + export interface MsgUnjailResponse {} +/** MsgUnjailResponse defines the Msg/Unjail response type */ + +export interface MsgUnjailResponseSDKType {} function createBaseMsgUnjail(): MsgUnjail { return { @@ -46,18 +53,6 @@ export const MsgUnjail = { 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 ?? ""; @@ -75,7 +70,7 @@ export const MsgUnjailResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUnjailResponse(); @@ -93,15 +88,6 @@ export const MsgUnjailResponse = { return message; }, - fromJSON(_: any): MsgUnjailResponse { - return {}; - }, - - toJSON(_: MsgUnjailResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgUnjailResponse { const message = createBaseMsgUnjailResponse(); return message; diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts index a3f158574..4066c7a4c 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/authz.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts @@ -1,12 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * AuthorizationType defines the type of staking module authorization type * * Since: cosmos-sdk 0.43 */ + export enum AuthorizationType { /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ AUTHORIZATION_TYPE_UNSPECIFIED = 0, @@ -21,6 +20,26 @@ export enum AuthorizationType { AUTHORIZATION_TYPE_REDELEGATE = 3, UNRECOGNIZED = -1, } +/** + * AuthorizationType defines the type of staking module authorization type + * + * Since: cosmos-sdk 0.43 + */ + +export enum AuthorizationTypeSDKType { + /** 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 function authorizationTypeFromJSON(object: any): AuthorizationType { switch (object) { case 0: @@ -63,36 +82,66 @@ export function authorizationTypeToJSON(object: AuthorizationType): string { return "UNKNOWN"; } } - /** * StakeAuthorization defines authorization for delegate/undelegate/redelegate. * * Since: cosmos-sdk 0.43 */ + export interface StakeAuthorization { /** * 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 | undefined; - /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. */ - allowList?: StakeAuthorization_Validators | undefined; + allowList?: StakeAuthorization_Validators | undefined; /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators | undefined; + denyList?: StakeAuthorization_Validators | undefined; /** authorization_type defines one of AuthorizationType. */ + authorizationType: AuthorizationType; } +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ + +export interface StakeAuthorizationSDKType { + /** + * 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: CoinSDKType | undefined; + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + + allow_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + + deny_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** authorization_type defines one of AuthorizationType. */ + authorization_type: AuthorizationTypeSDKType; +} /** Validators defines list of validator addresses. */ + export interface StakeAuthorization_Validators { address: string[]; } +/** Validators defines list of validator addresses. */ + +export interface StakeAuthorization_ValidatorsSDKType { + address: string[]; +} function createBaseStakeAuthorization(): StakeAuthorization { return { @@ -158,24 +207,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) : 0 - }; - }, - - 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; @@ -224,24 +255,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/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts similarity index 67% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts index 8aafa425b..073f7a091 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts @@ -1,44 +1,84 @@ -import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking"; +import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the staking module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params: Params | undefined; - /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. */ - lastTotalPower: Uint8Array; + lastTotalPower: Uint8Array; /** * last_validator_powers is a special index that provides a historical list * of the last-block's bonded validators. */ - lastValidatorPowers: LastValidatorPower[]; + lastValidatorPowers: LastValidatorPower[]; /** delegations defines the validator set at genesis. */ - validators: Validator[]; + validators: Validator[]; /** delegations defines the delegations active at genesis. */ - delegations: Delegation[]; + delegations: Delegation[]; /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbondingDelegations: UnbondingDelegation[]; + unbondingDelegations: UnbondingDelegation[]; /** redelegations defines the redelegations active at genesis. */ + redelegations: Redelegation[]; exported: boolean; } +/** GenesisState defines the staking module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params: ParamsSDKType | undefined; + /** + * 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: LastValidatorPowerSDKType[]; + /** delegations defines the validator set at genesis. */ + + validators: ValidatorSDKType[]; + /** delegations defines the delegations active at genesis. */ + + delegations: DelegationSDKType[]; + /** unbonding_delegations defines the unbonding delegations active at genesis. */ + unbonding_delegations: UnbondingDelegationSDKType[]; + /** redelegations defines the redelegations active at genesis. */ + + 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; +} +/** LastValidatorPower required for validator set update logic. */ +export interface LastValidatorPowerSDKType { + /** address is the address of the validator. */ + address: string; /** power defines the power of the validator. */ + power: Long; } @@ -142,58 +182,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; @@ -255,20 +243,6 @@ export const LastValidatorPower = { return message; }, - fromJSON(object: any): LastValidatorPower { - return { - address: isSet(object.address) ? String(object.address) : "", - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - toJSON(message: LastValidatorPower): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): LastValidatorPower { const message = createBaseLastValidatorPower(); message.address = object.address ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts similarity index 53% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts index 2c2ea9b84..977869717 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -1,21 +1,34 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -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"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); } - /* Validators queries all validators that match the given status. */ - async validators(params: QueryValidatorsRequest): Promise { + + + async validators(params: QueryValidatorsRequest): Promise { const options: any = { params: {} }; @@ -29,143 +42,99 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/validators`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Validator queries validator info for given validator address. */ - async validator(params: QueryValidatorRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } + async validator(params: QueryValidatorRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* ValidatorDelegations queries delegate info for given validator. */ - async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { + + + async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { + + + async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Delegation queries delegate info for given validator delegator pair. */ - async delegation(params: QueryDelegationRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } + async delegation(params: QueryDelegationRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* UnbondingDelegation queries unbonding info for given validator delegator pair. */ - async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } + async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* DelegatorDelegations queries all delegations of a given delegator address. */ - async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { + + + async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address. */ - async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { + + + async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Redelegations queries redelegations of given address. */ - async redelegations(params: QueryRedelegationsRequest): Promise { + + + async redelegations(params: QueryRedelegationsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - if (typeof params?.srcValidatorAddr !== "undefined") { options.params.src_validator_addr = params.srcValidatorAddr; } @@ -179,63 +148,52 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorValidators queries all validators info for given delegator address. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { const options: any = { params: {} }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorValidator queries validator info for given delegator validator pair. */ - async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.delegatorAddr !== "undefined") { - options.params.delegator_addr = params.delegatorAddr; - } - - if (typeof params?.validatorAddr !== "undefined") { - options.params.validator_addr = params.validatorAddr; - } + async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* HistoricalInfo queries the historical info for given height. */ - async historicalInfo(params: QueryHistoricalInfoRequest): Promise { + + + async historicalInfo(params: QueryHistoricalInfoRequest): Promise { const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Pool queries the pool info. */ - async pool(_params: QueryPoolRequest = {}): Promise { + + + async pool(_params: QueryPoolRequest = {}): Promise { const endpoint = `cosmos/staking/v1beta1/pool`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Parameters queries the staking parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/staking/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts similarity index 60% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts index dfaca20aa..5486046f0 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -1,55 +1,54 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - validators(request: QueryValidatorsRequest): Promise; + validators(request: QueryValidatorsRequest): Promise; /*Validators queries all validators that match the given status.*/ - validator(request: QueryValidatorRequest): Promise; + validator(request: QueryValidatorRequest): Promise; /*Validator queries validator info for given validator address.*/ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; /*ValidatorDelegations queries delegate info for given validator.*/ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; /*ValidatorUnbondingDelegations queries unbonding delegations of a validator.*/ - delegation(request: QueryDelegationRequest): Promise; + delegation(request: QueryDelegationRequest): Promise; /*Delegation queries delegate info for given validator delegator pair.*/ - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; /*UnbondingDelegation queries unbonding info for given validator delegator pair.*/ - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; /*DelegatorDelegations queries all delegations of a given delegator address.*/ - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; /*DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.*/ - redelegations(request: QueryRedelegationsRequest): Promise; + redelegations(request: QueryRedelegationsRequest): Promise; /*Redelegations queries redelegations of given address.*/ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; /*DelegatorValidators queries all validators info for given delegator address.*/ - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; /*DelegatorValidator queries validator info for given delegator validator pair.*/ - historicalInfo(request: QueryHistoricalInfoRequest): Promise; + historicalInfo(request: QueryHistoricalInfoRequest): Promise; /*HistoricalInfo queries the historical info for given height.*/ - pool(request: QueryPoolRequest): Promise; + pool(request?: QueryPoolRequest): Promise; /*Pool queries the pool info.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Parameters queries the staking parameters.*/ } @@ -74,88 +73,150 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { const data = QueryValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); } - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { const data = QueryValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); } - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { const data = QueryValidatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); } - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { const data = QueryDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); } - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { const data = QueryUnbondingDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); } - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { const data = QueryDelegatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); } - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { const data = QueryRedelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { const data = QueryDelegatorValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); } - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { const data = QueryHistoricalInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); } - pool(request: QueryPoolRequest): Promise { + pool(request: QueryPoolRequest = {}): Promise { const data = QueryPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + validators(request: QueryValidatorsRequest): Promise { + return queryService.validators(request); + }, + + validator(request: QueryValidatorRequest): Promise { + return queryService.validator(request); + }, + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + return queryService.validatorDelegations(request); + }, + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + return queryService.validatorUnbondingDelegations(request); + }, + + delegation(request: QueryDelegationRequest): Promise { + return queryService.delegation(request); + }, + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + return queryService.unbondingDelegation(request); + }, + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + return queryService.delegatorDelegations(request); + }, + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + return queryService.delegatorUnbondingDelegations(request); + }, + + redelegations(request: QueryRedelegationsRequest): Promise { + return queryService.redelegations(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + return queryService.delegatorValidator(request); + }, + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + return queryService.historicalInfo(request); + }, + + pool(request?: QueryPoolRequest): Promise { + return queryService.pool(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/query.ts index aea8d1bb0..6d4207a00 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts @@ -1,276 +1,545 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ + export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ - status: string; - + status?: string; /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ + +export interface QueryValidatorsRequestSDKType { + /** status enables to query for validators matching a given status. */ + status?: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; + + pagination?: PageResponse | undefined; } +/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ + +export interface QueryValidatorsResponseSDKType { + /** validators contains all the queried validators. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryValidatorRequest is response type for the Query/Validator RPC method */ + export interface QueryValidatorRequest { /** validator_addr defines the validator address to query for. */ validatorAddr: string; } +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ +export interface QueryValidatorRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; +} /** QueryValidatorResponse is response type for the Query/Validator RPC method */ + export interface QueryValidatorResponse { /** validator defines the the validator info. */ validator: Validator | undefined; } +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ +export interface QueryValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator: ValidatorSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryValidatorDelegationsRequest is request type for the + * Query/ValidatorDelegations RPC method + */ + +export interface QueryValidatorDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryValidatorDelegationsResponse is response type for the * Query/ValidatorDelegations RPC method */ + export interface QueryValidatorDelegationsResponse { delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ +export interface QueryValidatorDelegationsResponseSDKType { + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryValidatorUnbondingDelegationsRequest is required type for the + * Query/ValidatorUnbondingDelegations RPC method + */ + +export interface QueryValidatorUnbondingDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryValidatorUnbondingDelegationsResponse is response type for the * Query/ValidatorUnbondingDelegations RPC method. */ + export interface QueryValidatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ +export interface QueryValidatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ + +export interface QueryDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + 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 | undefined; } +/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ +export interface QueryDelegationResponseSDKType { + /** delegation_responses defines the delegation info of a delegation. */ + delegation_response: DelegationResponseSDKType | undefined; +} /** * 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; } +/** + * QueryUnbondingDelegationRequest is request type for the + * Query/UnbondingDelegation RPC method. + */ +export interface QueryUnbondingDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + 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 | undefined; } +/** + * QueryDelegationResponse is response type for the Query/UnbondingDelegation + * RPC method. + */ +export interface QueryUnbondingDelegationResponseSDKType { + /** unbond defines the unbonding information of a delegation. */ + unbond: UnbondingDelegationSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryDelegatorDelegationsRequest is request type for the + * Query/DelegatorDelegations RPC method. + */ +export interface QueryDelegatorDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryDelegatorDelegationsResponse is response type for the + * Query/DelegatorDelegations RPC method. + */ +export interface QueryDelegatorDelegationsResponseSDKType { + /** delegation_responses defines all the delegations' info of a delegator. */ + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryDelegatorUnbondingDelegationsRequest is request type for the + * Query/DelegatorUnbondingDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryUnbondingDelegatorDelegationsResponse is response type for the * Query/UnbondingDelegatorDelegations RPC method. */ + export interface QueryDelegatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; + srcValidatorAddr?: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; + dstValidatorAddr?: string; /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryRedelegationsRequest is request type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsRequestSDKType { + /** 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?: PageRequestSDKType | undefined; +} /** * QueryRedelegationsResponse is response type for the Query/Redelegations RPC * method. */ + export interface QueryRedelegationsResponse { redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsResponseSDKType { + redelegation_responses: RedelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryDelegatorValidatorsRequest is request type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryDelegatorValidatorsResponse is response type for the * Query/DelegatorValidators RPC method. */ + export interface QueryDelegatorValidatorsResponse { /** validators defines the the validators' info of a delegator. */ validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the the validators' info of a delegator. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; } +/** + * QueryDelegatorValidatorRequest is request type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + validator_addr: string; +} /** * QueryDelegatorValidatorResponse response type for the * Query/DelegatorValidator RPC method. */ + export interface QueryDelegatorValidatorResponse { /** validator defines the the validator info. */ validator: Validator | undefined; } +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator: ValidatorSDKType | undefined; +} /** * 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; } +/** + * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoRequestSDKType { + /** height defines at which height to query the historical info. */ + 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 | undefined; } +/** + * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoResponseSDKType { + /** hist defines the historical info at the given height. */ + hist: HistoricalInfoSDKType | undefined; +} /** QueryPoolRequest is request type for the Query/Pool RPC method. */ + export interface QueryPoolRequest {} +/** 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 | undefined; } +/** QueryPoolResponse is response type for the Query/Pool RPC method. */ +export interface QueryPoolResponseSDKType { + /** pool defines the pool info. */ + pool: PoolSDKType | undefined; +} /** QueryParamsRequest is request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params holds all the parameters of this module. */ + params: ParamsSDKType | undefined; +} function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { @@ -318,20 +587,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 ?? ""; @@ -361,7 +616,7 @@ export const QueryValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorsResponse(); @@ -387,26 +642,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)) || []; @@ -453,18 +688,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 ?? ""; @@ -488,7 +711,7 @@ export const QueryValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorResponse(); @@ -510,18 +733,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; @@ -576,20 +787,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 ?? ""; @@ -619,7 +816,7 @@ export const QueryValidatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorDelegationsResponse(); @@ -645,26 +842,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)) || []; @@ -720,20 +897,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 ?? ""; @@ -763,7 +926,7 @@ export const QueryValidatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorUnbondingDelegationsResponse(); @@ -789,26 +952,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)) || []; @@ -864,20 +1007,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 ?? ""; @@ -902,7 +1031,7 @@ export const QueryDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationResponse(); @@ -924,18 +1053,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; @@ -990,20 +1107,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 ?? ""; @@ -1028,7 +1131,7 @@ export const QueryUnbondingDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnbondingDelegationResponse(); @@ -1050,18 +1153,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; @@ -1116,20 +1207,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 ?? ""; @@ -1159,7 +1236,7 @@ export const QueryDelegatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorDelegationsResponse(); @@ -1185,26 +1262,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)) || []; @@ -1260,20 +1317,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 ?? ""; @@ -1303,7 +1346,7 @@ export const QueryDelegatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); @@ -1329,26 +1372,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)) || []; @@ -1422,24 +1445,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 ?? ""; @@ -1471,7 +1476,7 @@ export const QueryRedelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRedelegationsResponse(); @@ -1497,26 +1502,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)) || []; @@ -1572,20 +1557,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 ?? ""; @@ -1615,7 +1586,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1641,26 +1612,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)) || []; @@ -1716,20 +1667,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 ?? ""; @@ -1754,7 +1691,7 @@ export const QueryDelegatorValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorResponse(); @@ -1776,18 +1713,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; @@ -1833,18 +1758,6 @@ export const QueryHistoricalInfoRequest = { return message; }, - fromJSON(object: any): QueryHistoricalInfoRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: QueryHistoricalInfoRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryHistoricalInfoRequest { const message = createBaseQueryHistoricalInfoRequest(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -1868,7 +1781,7 @@ export const QueryHistoricalInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryHistoricalInfoResponse(); @@ -1890,18 +1803,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; @@ -1937,15 +1838,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; @@ -1968,7 +1860,7 @@ export const QueryPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPoolResponse(); @@ -1990,18 +1882,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; @@ -2037,15 +1917,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; @@ -2068,7 +1939,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -2090,18 +1961,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/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts index 54490d4ca..7ec7dcd88 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/staking.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts @@ -1,12 +1,12 @@ -import { Header } from "../../../tendermint/types/types"; +import { Header, HeaderSDKType } from "../../../tendermint/types/types"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any } from "../../../google/protobuf/any"; -import { Duration } from "../../../google/protobuf/duration"; -import { Coin } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** BondStatus is the status of a validator. */ + export enum BondStatus { /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ BOND_STATUS_UNSPECIFIED = 0, @@ -21,6 +21,22 @@ export enum BondStatus { BOND_STATUS_BONDED = 3, UNRECOGNIZED = -1, } +/** BondStatus is the status of a validator. */ + +export enum BondStatusSDKType { + /** 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 function bondStatusFromJSON(object: any): BondStatus { switch (object) { case 0: @@ -63,60 +79,112 @@ export function bondStatusToJSON(object: BondStatus): string { return "UNKNOWN"; } } - /** * 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 | undefined; valset: Validator[]; } +/** + * 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 | undefined; + 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; + maxRate: string; /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ + maxChangeRate: string; } +/** + * CommissionRates defines the initial commission rates to be used for creating + * a validator. + */ + +export interface CommissionRatesSDKType { + /** 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; +} /** 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 | undefined; - /** update_time is the last time the commission rate was changed. */ + updateTime: Date | undefined; } +/** Commission defines commission parameters for a given validator. */ + +export interface CommissionSDKType { + /** commission_rates defines the initial commission rates to be used for creating a validator. */ + commission_rates: CommissionRatesSDKType | undefined; + /** update_time is the last time the commission rate was changed. */ + update_time: Date | undefined; +} /** 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; + identity: string; /** website defines an optional website link. */ - website: string; + website: string; /** security_contact defines an optional email for security contact. */ - securityContact: string; + securityContact: string; /** details define other optional details. */ + details: string; } +/** Description defines a validator description. */ +export interface DescriptionSDKType { + /** 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; +} /** * Validator defines a validator, together with the total amount of the * Validator's bond shares and their exchange rate to coins. Slashing results in @@ -127,215 +195,436 @@ export interface Description { * 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; + consensusPubkey: Any | undefined; /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; + jailed: boolean; /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; + status: BondStatus; /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; + tokens: string; /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; + delegatorShares: string; /** description defines the description terms for the validator. */ - description: Description | undefined; + description: Description | undefined; /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: Long; + unbondingHeight: Long; /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Date | undefined; + unbondingTime: Date | undefined; /** commission defines the commission parameters. */ - commission: Commission | undefined; + commission: Commission | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ + minSelfDelegation: 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 ValidatorSDKType { + /** 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: AnySDKType | 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: BondStatusSDKType; + /** 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: DescriptionSDKType | undefined; + /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ + + unbonding_height: Long; + /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ + + unbonding_time: Date | undefined; + /** commission defines the commission parameters. */ + + commission: CommissionSDKType | undefined; + /** min_self_delegation is the validator's self declared minimum self delegation. */ + + min_self_delegation: string; +} /** ValAddresses defines a repeated set of validator addresses. */ + export interface ValAddresses { addresses: string[]; } +/** 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; } +/** + * 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[]; } +/** 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; } +/** + * 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[]; } +/** 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; + validatorAddress: string; /** shares define the delegation shares received. */ + shares: string; } +/** + * 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 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; +} /** * 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; + validatorAddress: string; /** entries are the unbonding delegation entries. */ + entries: UnbondingDelegationEntry[]; } +/** + * UnbondingDelegation stores all of a single delegator's unbonding bonds + * for a single validator in an time-ordered list. + */ + +export interface UnbondingDelegationSDKType { + /** 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: 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: Date | undefined; + completionTime: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initialBalance: string; + initialBalance: string; /** balance defines the tokens to receive at completion. */ + balance: string; } +/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ +export interface UnbondingDelegationEntrySDKType { + /** creation_height is the height which the unbonding took place. */ + creation_height: Long; + /** completion_time is the unix time for unbonding completion. */ + + completion_time: Date | undefined; + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + + initial_balance: string; + /** balance defines the tokens to receive at completion. */ + + 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: Date | undefined; + completionTime: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ - initialBalance: string; + initialBalance: string; /** shares_dst is the amount of destination-validator shares created by redelegation. */ + sharesDst: string; } +/** RedelegationEntry defines a redelegation object with relevant metadata. */ + +export interface RedelegationEntrySDKType { + /** creation_height defines the height which the redelegation took place. */ + creation_height: Long; + /** completion_time defines the unix time for redelegation completion. */ + + completion_time: Date | undefined; + /** 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; +} /** * 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; + validatorSrcAddress: string; /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; + validatorDstAddress: string; /** entries are the redelegation entries. */ + entries: RedelegationEntry[]; } +/** + * 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 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: RedelegationEntrySDKType[]; +} /** Params defines the parameters for the staking module. */ + export interface Params { /** unbonding_time is the time duration of unbonding. */ unbondingTime: Duration | undefined; - /** max_validators is the maximum number of validators. */ - maxValidators: number; + maxValidators: number; /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; + maxEntries: number; /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; + historicalEntries: number; /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; + bondDenom: string; /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ + minCommissionRate: string; } +/** Params defines the parameters for the staking module. */ +export interface ParamsSDKType { + /** unbonding_time is the time duration of unbonding. */ + unbonding_time: DurationSDKType | undefined; + /** 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; +} /** * 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 | undefined; balance: Coin | undefined; } +/** + * 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 | undefined; + balance: CoinSDKType | undefined; +} /** * 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 | undefined; balance: string; } +/** + * 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 | undefined; + 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 | undefined; entries: RedelegationEntryResponse[]; } +/** + * 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 | undefined; + entries: RedelegationEntryResponseSDKType[]; +} /** * Pool is used for tracking bonded and not-bonded token supply of the bond * denomination. */ + export interface Pool { notBondedTokens: string; bondedTokens: string; } +/** + * 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; +} function createBaseHistoricalInfo(): HistoricalInfo { return { @@ -383,26 +672,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; @@ -467,22 +736,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 ?? ""; @@ -539,20 +792,6 @@ 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 = 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; @@ -635,26 +874,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 ?? ""; @@ -794,38 +1013,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) : 0, - 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) ? Long.fromString(object.unbondingHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.unbondingTime !== undefined && (obj.unbondingTime = 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 ?? ""; @@ -881,24 +1068,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) || []; @@ -953,20 +1122,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 ?? ""; @@ -1013,24 +1168,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)) || []; @@ -1094,22 +1231,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 ?? ""; @@ -1157,24 +1278,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)) || []; @@ -1238,22 +1341,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 ?? ""; @@ -1319,28 +1406,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 ?? ""; @@ -1415,24 +1480,6 @@ export const UnbondingDelegationEntry = { return message; }, - fromJSON(object: any): UnbondingDelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; @@ -1508,24 +1555,6 @@ export const RedelegationEntry = { return message; }, - fromJSON(object: any): RedelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; @@ -1601,30 +1630,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 ?? ""; @@ -1718,28 +1723,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); - 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; @@ -1799,20 +1782,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; @@ -1868,20 +1837,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; @@ -1937,26 +1892,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; @@ -2012,20 +1947,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/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts new file mode 100644 index 000000000..e308d8c8f --- /dev/null +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -0,0 +1,294 @@ +import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; +import { fromBase64, toBase64 } from "@cosmjs/encoding"; +import { Long } from "@osmonauts/helpers"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; +export interface AminoMsgCreateValidator extends AminoMsg { + type: "cosmos-sdk/MsgCreateValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + commission: { + rate: string; + max_rate: string; + max_change_rate: string; + }; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey: { + type_url: string; + value: Uint8Array; + }; + value: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgEditValidator extends AminoMsg { + type: "cosmos-sdk/MsgEditValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + validator_address: string; + commission_rate: string; + min_self_delegation: string; + }; +} +export interface AminoMsgDelegate extends AminoMsg { + type: "cosmos-sdk/MsgDelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgBeginRedelegate extends AminoMsg { + type: "cosmos-sdk/MsgBeginRedelegate"; + value: { + delegator_address: string; + validator_src_address: string; + validator_dst_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgUndelegate extends AminoMsg { + type: "cosmos-sdk/MsgUndelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export const AminoConverter = { + "/cosmos.staking.v1beta1.MsgCreateValidator": { + aminoType: "cosmos-sdk/MsgCreateValidator", + toAmino: ({ + description, + commission, + minSelfDelegation, + delegatorAddress, + validatorAddress, + pubkey, + value + }: MsgCreateValidator): AminoMsgCreateValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + commission: { + rate: commission.rate, + max_rate: commission.maxRate, + max_change_rate: commission.maxChangeRate + }, + min_self_delegation: minSelfDelegation, + delegator_address: delegatorAddress, + validator_address: validatorAddress, + pubkey: { + typeUrl: "/cosmos.crypto.secp256k1.PubKey", + value: fromBase64(decodeBech32Pubkey(pubkey).value) + }, + value: { + denom: value.denom, + amount: Long.fromNumber(value.amount).toString() + } + }; + }, + fromAmino: ({ + description, + commission, + min_self_delegation, + delegator_address, + validator_address, + pubkey, + value + }: AminoMsgCreateValidator["value"]): MsgCreateValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + commission: { + rate: commission.rate, + maxRate: commission.max_rate, + maxChangeRate: commission.max_change_rate + }, + minSelfDelegation: min_self_delegation, + delegatorAddress: delegator_address, + validatorAddress: validator_address, + pubkey: encodeBech32Pubkey({ + type: "tendermint/PubKeySecp256k1", + value: toBase64(pubkey.value) + }, "cosmos"), + value: { + denom: value.denom, + amount: value.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgEditValidator": { + aminoType: "cosmos-sdk/MsgEditValidator", + toAmino: ({ + description, + validatorAddress, + commissionRate, + minSelfDelegation + }: MsgEditValidator): AminoMsgEditValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + validator_address: validatorAddress, + commission_rate: commissionRate, + min_self_delegation: minSelfDelegation + }; + }, + fromAmino: ({ + description, + validator_address, + commission_rate, + min_self_delegation + }: AminoMsgEditValidator["value"]): MsgEditValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + validatorAddress: validator_address, + commissionRate: commission_rate, + minSelfDelegation: min_self_delegation + }; + } + }, + "/cosmos.staking.v1beta1.MsgDelegate": { + aminoType: "cosmos-sdk/MsgDelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgDelegate): AminoMsgDelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgDelegate["value"]): MsgDelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgBeginRedelegate": { + aminoType: "cosmos-sdk/MsgBeginRedelegate", + toAmino: ({ + delegatorAddress, + validatorSrcAddress, + validatorDstAddress, + amount + }: MsgBeginRedelegate): AminoMsgBeginRedelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_src_address: validatorSrcAddress, + validator_dst_address: validatorDstAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_src_address, + validator_dst_address, + amount + }: AminoMsgBeginRedelegate["value"]): MsgBeginRedelegate => { + return { + delegatorAddress: delegator_address, + validatorSrcAddress: validator_src_address, + validatorDstAddress: validator_dst_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgUndelegate": { + aminoType: "cosmos-sdk/MsgUndelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgUndelegate): AminoMsgUndelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromNumber(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgUndelegate["value"]): MsgUndelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.registry.ts new file mode 100644 index 000000000..66b2832e1 --- /dev/null +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.registry.ts @@ -0,0 +1,121 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } 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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.encode(value).finish() + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.encode(value).finish() + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.encode(value).finish() + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.encode(value).finish() + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value + }; + } + + }, + fromPartial: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.fromPartial(value) + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.fromPartial(value) + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.fromPartial(value) + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.fromPartial(value) + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts index 592fd6163..e7170f128 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -1,28 +1,24 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; - +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createValidator(request: MsgCreateValidator): Promise; + createValidator(request: MsgCreateValidator): Promise; /*CreateValidator defines a method for creating a new validator.*/ - editValidator(request: MsgEditValidator): Promise; + editValidator(request: MsgEditValidator): Promise; /*EditValidator defines a method for editing an existing validator.*/ - delegate(request: MsgDelegate): Promise; + delegate(request: MsgDelegate): Promise; /*Delegate defines a method for performing a delegation of coins from a delegator to a validator.*/ - beginRedelegate(request: MsgBeginRedelegate): Promise; + beginRedelegate(request: MsgBeginRedelegate): Promise; /*BeginRedelegate defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator.*/ - undelegate(request: MsgUndelegate): Promise; + undelegate(request: MsgUndelegate): Promise; /*Undelegate defines a method for performing an undelegation from a delegate and a validator.*/ @@ -39,31 +35,31 @@ export class MsgClientImpl implements Msg { this.undelegate = this.undelegate.bind(this); } - createValidator(request: MsgCreateValidator): Promise { + createValidator(request: MsgCreateValidator): Promise { const data = MsgCreateValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); } - editValidator(request: MsgEditValidator): Promise { + editValidator(request: MsgEditValidator): Promise { const data = MsgEditValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); } - delegate(request: MsgDelegate): Promise { + delegate(request: MsgDelegate): Promise { const data = MsgDelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); } - beginRedelegate(request: MsgBeginRedelegate): Promise { + beginRedelegate(request: MsgBeginRedelegate): Promise { const data = MsgBeginRedelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); } - undelegate(request: MsgUndelegate): Promise { + undelegate(request: MsgUndelegate): Promise { const data = MsgUndelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts index f34a6e0c8..b30ab0eba 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/staking/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts @@ -1,11 +1,11 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ + export interface MsgCreateValidator { description: Description | undefined; commission: CommissionRates | undefined; @@ -15,71 +15,147 @@ export interface MsgCreateValidator { pubkey: Any | undefined; value: Coin | undefined; } +/** MsgCreateValidator defines a SDK message for creating a new validator. */ +export interface MsgCreateValidatorSDKType { + description: DescriptionSDKType | undefined; + commission: CommissionRatesSDKType | undefined; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey: AnySDKType | undefined; + value: CoinSDKType | undefined; +} /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ + export interface MsgCreateValidatorResponse {} +/** 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 | undefined; 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; } +/** MsgEditValidator defines a SDK message for editing an existing validator. */ + +export interface MsgEditValidatorSDKType { + description: DescriptionSDKType | undefined; + 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; +} /** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ + export interface MsgEditValidatorResponse {} +/** 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 | undefined; } +/** + * 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 | undefined; +} /** MsgDelegateResponse defines the Msg/Delegate response type. */ + export interface MsgDelegateResponse {} +/** 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 | undefined; } +/** + * 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 | undefined; +} /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ + export interface MsgBeginRedelegateResponse { completionTime: Date | undefined; } +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ +export interface MsgBeginRedelegateResponseSDKType { + completion_time: Date | undefined; +} /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. */ + export interface MsgUndelegate { delegatorAddress: string; validatorAddress: string; amount: Coin | undefined; } +/** + * 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 | undefined; +} /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + export interface MsgUndelegateResponse { completionTime: Date | undefined; } +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + +export interface MsgUndelegateResponseSDKType { + completion_time: Date | undefined; +} function createBaseMsgCreateValidator(): MsgCreateValidator { return { @@ -172,30 +248,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; @@ -219,7 +271,7 @@ export const MsgCreateValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateValidatorResponse(); @@ -237,15 +289,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; @@ -317,24 +360,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; @@ -355,7 +380,7 @@ export const MsgEditValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgEditValidatorResponse(); @@ -373,15 +398,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; @@ -444,22 +460,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 ?? ""; @@ -479,7 +479,7 @@ export const MsgDelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDelegateResponse(); @@ -497,15 +497,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; @@ -577,24 +568,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 ?? ""; @@ -621,7 +594,7 @@ export const MsgBeginRedelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgBeginRedelegateResponse(); @@ -643,18 +616,6 @@ 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 = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): MsgBeginRedelegateResponse { const message = createBaseMsgBeginRedelegateResponse(); message.completionTime = object.completionTime ?? undefined; @@ -718,22 +679,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 ?? ""; @@ -759,7 +704,7 @@ export const MsgUndelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUndelegateResponse(); @@ -781,18 +726,6 @@ 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 = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): MsgUndelegateResponse { const message = createBaseMsgUndelegateResponse(); message.completionTime = object.completionTime ?? undefined; diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts rename to examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts index 432361417..eadcf8f00 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ b/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -1,8 +1,7 @@ -import { CompactBitArray } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any } from "../../../../google/protobuf/any"; +import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * SignMode represents a signing mode with its own security guarantees. * @@ -13,6 +12,7 @@ import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helper * to this SignMode enum describing their sign mode so that different * apps have a consistent version of this enum. */ + export enum SignMode { /** * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be @@ -50,6 +50,54 @@ export enum SignMode { SIGN_MODE_LEGACY_AMINO_JSON = 127, UNRECOGNIZED = -1, } +/** + * 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 enum SignModeSDKType { + /** + * 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, + UNRECOGNIZED = -1, +} export function signModeFromJSON(object: any): SignMode { switch (object) { case 0: @@ -99,58 +147,110 @@ export function signModeToJSON(object: SignMode): string { return "UNKNOWN"; } } - /** SignatureDescriptors wraps multiple SignatureDescriptor's. */ + export interface SignatureDescriptors { /** signatures are the signature descriptors */ signatures: SignatureDescriptor[]; } +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ +export interface SignatureDescriptorsSDKType { + /** signatures are the signature descriptors */ + 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 | undefined; data: SignatureDescriptor_Data | undefined; - /** * 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; } +/** + * 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 is the public key of the signer */ + public_key: AnySDKType | undefined; + data: SignatureDescriptor_DataSDKType | undefined; + /** + * 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; +} /** Data represents signature data */ + export interface SignatureDescriptor_Data { /** single represents a single signer */ single?: SignatureDescriptor_Data_Single | undefined; - /** multi represents a multisig signer */ + multi?: SignatureDescriptor_Data_Multi | undefined; } +/** Data represents signature data */ +export interface SignatureDescriptor_DataSDKType { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_SingleSDKType | undefined; + /** multi represents a multisig signer */ + + multi?: SignatureDescriptor_Data_MultiSDKType | undefined; +} /** 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; } +/** Single is the signature data for a single signer */ +export interface SignatureDescriptor_Data_SingleSDKType { + /** mode is the signing mode of the single signer */ + mode: SignModeSDKType; + /** signature is the raw signature bytes */ + + 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 | undefined; - /** signatures is the signatures of the multi-signature */ + signatures: SignatureDescriptor_Data[]; } +/** Multi is the signature data for a multisig public key */ + +export interface SignatureDescriptor_Data_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray: CompactBitArraySDKType | undefined; + /** signatures is the signatures of the multi-signature */ + + signatures: SignatureDescriptor_DataSDKType[]; +} function createBaseSignatureDescriptors(): SignatureDescriptors { return { @@ -189,24 +289,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)) || []; @@ -270,22 +352,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) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureDescriptor { const message = createBaseSignatureDescriptor(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -342,20 +408,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; @@ -411,20 +463,6 @@ export const SignatureDescriptor_Data_Single = { return message; }, - fromJSON(object: any): SignatureDescriptor_Data_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0, - 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; @@ -480,26 +518,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/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts new file mode 100644 index 000000000..b43b23467 --- /dev/null +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts @@ -0,0 +1,65 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.getTx = this.getTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + /* GetTx fetches a tx by hash. */ + + + async getTx(params: GetTxRequest): Promise { + const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`; + return await this.req.get(endpoint); + } + /* GetTxsEvent fetches txs by event. */ + + + async getTxsEvent(params: GetTxsEventRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.events !== "undefined") { + options.params.events = params.events; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.orderBy !== "undefined") { + options.params.order_by = params.orderBy; + } + + const endpoint = `cosmos/tx/v1beta1/txs`; + return await this.req.get(endpoint, options); + } + /* GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2 */ + + + async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts similarity index 57% rename from examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts rename to examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts index 826839fa2..471e256d8 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -1,33 +1,29 @@ -import { Tx } from "./tx"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; -import { BlockID } from "../../../tendermint/types/types"; -import { Block } from "../../../tendermint/types/block"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { SimulateRequest, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; /** Service defines the RPC service */ + export interface Service { - simulate(request: SimulateRequest): Promise; + simulate(request: SimulateRequest): Promise; /*Simulate simulates executing a transaction for estimating gas usage.*/ - getTx(request: GetTxRequest): Promise; + getTx(request: GetTxRequest): Promise; /*GetTx fetches a tx by hash.*/ - broadcastTx(request: BroadcastTxRequest): Promise; + broadcastTx(request: BroadcastTxRequest): Promise; /*BroadcastTx broadcast transaction.*/ - getTxsEvent(request: GetTxsEventRequest): Promise; + getTxsEvent(request: GetTxsEventRequest): Promise; /*GetTxsEvent fetches txs by event.*/ - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; /*GetBlockWithTxs fetches a block with decoded txs. Since: cosmos-sdk 0.45.2*/ } -export class ServiceClientImpl implements Service { +export class QueryClientImpl implements Service { private readonly rpc: Rpc; constructor(rpc: Rpc) { @@ -39,34 +35,60 @@ export class ServiceClientImpl implements Service { this.getBlockWithTxs = this.getBlockWithTxs.bind(this); } - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { const data = SimulateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); } - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { const data = GetTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); } - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { const data = BroadcastTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); } - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { const data = GetTxsEventRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); } - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { const data = GetBlockWithTxsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + simulate(request: SimulateRequest): Promise { + return queryService.simulate(request); + }, + + getTx(request: GetTxRequest): Promise { + return queryService.getTx(request); + }, + + broadcastTx(request: BroadcastTxRequest): Promise { + return queryService.broadcastTx(request); + }, + + getTxsEvent(request: GetTxsEventRequest): Promise { + return queryService.getTxsEvent(request); + }, + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + return queryService.getBlockWithTxs(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts rename to examples/contracts/codegen/cosmos/tx/v1beta1/service.ts index b83078866..3efecb9a6 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/service.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts @@ -1,12 +1,12 @@ -import { Tx } from "./tx"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; -import { BlockID } from "../../../tendermint/types/types"; -import { Block } from "../../../tendermint/types/block"; +import { Tx, TxSDKType } from "./tx"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; +import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../tendermint/types/block"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/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. */ ORDER_BY_UNSPECIFIED = 0, @@ -18,6 +18,19 @@ export enum OrderBy { ORDER_BY_DESC = 2, UNRECOGNIZED = -1, } +/** OrderBy defines the sorting order */ + +export enum OrderBySDKType { + /** 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 function orderByFromJSON(object: any): OrderBy { switch (object) { case 0: @@ -53,8 +66,8 @@ export function orderByToJSON(object: OrderBy): string { return "UNKNOWN"; } } - /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + export enum BroadcastMode { /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ BROADCAST_MODE_UNSPECIFIED = 0, @@ -78,6 +91,31 @@ export enum BroadcastMode { BROADCAST_MODE_ASYNC = 3, UNRECOGNIZED = -1, } +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + +export enum BroadcastModeSDKType { + /** 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 function broadcastModeFromJSON(object: any): BroadcastMode { switch (object) { case 0: @@ -120,58 +158,105 @@ export function broadcastModeToJSON(object: BroadcastMode): string { return "UNKNOWN"; } } - /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. */ + export interface GetTxsEventRequest { /** events is the list of transaction event type. */ - events: string[]; - + events?: string[]; /** pagination defines a pagination for the request. */ - pagination: PageRequest | undefined; - orderBy: OrderBy; + + pagination?: PageRequest | undefined; + orderBy?: OrderBy; } +/** + * GetTxsEventRequest is the request type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventRequestSDKType { + /** events is the list of transaction event type. */ + events?: string[]; + /** pagination defines a pagination for the request. */ + pagination?: PageRequestSDKType | undefined; + order_by?: OrderBySDKType; +} /** * 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[]; + txResponses: TxResponse[]; /** pagination defines a pagination for the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * GetTxsEventResponse is the response type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventResponseSDKType { + /** txs is the list of queried transactions. */ + txs: TxSDKType[]; + /** tx_responses is the list of queried TxResponses. */ + tx_responses: TxResponseSDKType[]; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. */ + export interface BroadcastTxRequest { /** tx_bytes is the raw transaction. */ txBytes: Uint8Array; mode: BroadcastMode; } +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ +export interface BroadcastTxRequestSDKType { + /** tx_bytes is the raw transaction. */ + tx_bytes: Uint8Array; + mode: BroadcastModeSDKType; +} /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. */ + export interface BroadcastTxResponse { /** tx_response is the queried TxResponses. */ txResponse: TxResponse | undefined; } +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ +export interface BroadcastTxResponseSDKType { + /** tx_response is the queried TxResponses. */ + tx_response: TxResponseSDKType | undefined; +} /** * SimulateRequest is the request type for the Service.Simulate * RPC method. */ + export interface SimulateRequest { /** * tx is the transaction to simulate. @@ -180,72 +265,152 @@ export interface SimulateRequest { /** @deprecated */ tx: Tx | undefined; - /** * tx_bytes is the raw transaction. * * Since: cosmos-sdk 0.43 */ + txBytes: Uint8Array; } +/** + * SimulateRequest is the request type for the Service.Simulate + * RPC method. + */ +export interface SimulateRequestSDKType { + /** + * tx is the transaction to simulate. + * Deprecated. Send raw tx bytes instead. + */ + + /** @deprecated */ + tx: TxSDKType | undefined; + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + + 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 | undefined; - /** result is the result of the simulation. */ + result: Result | undefined; } +/** + * SimulateResponse is the response type for the + * Service.SimulateRPC method. + */ +export interface SimulateResponseSDKType { + /** gas_info is the information about gas used in the simulation. */ + gas_info: GasInfoSDKType | undefined; + /** result is the result of the simulation. */ + + result: ResultSDKType | undefined; +} /** * 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; } +/** + * GetTxRequest is the request type for the Service.GetTx + * RPC method. + */ +export interface GetTxRequestSDKType { + /** hash is the tx hash to query, encoded as a hex string. */ + hash: string; +} /** GetTxResponse is the response type for the Service.GetTx method. */ + export interface GetTxResponse { /** tx is the queried transaction. */ tx: Tx | undefined; - /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; } +/** GetTxResponse is the response type for the Service.GetTx method. */ + +export interface GetTxResponseSDKType { + /** tx is the queried transaction. */ + tx: TxSDKType | undefined; + /** tx_response is the queried TxResponses. */ + tx_response: TxResponseSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageRequest | undefined; } +/** + * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs + * RPC method. + * + * Since: cosmos-sdk 0.45.2 + */ + +export interface GetBlockWithTxsRequestSDKType { + /** height is the height of the block to query. */ + height: Long; + /** pagination defines a pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; block: Block | undefined; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponse | undefined; +} +/** + * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. + * + * Since: cosmos-sdk 0.45.2 + */ +export interface GetBlockWithTxsResponseSDKType { + /** txs are the transactions in the block. */ + txs: TxSDKType[]; + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; /** pagination defines a pagination for the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseGetTxsEventRequest(): GetTxsEventRequest { @@ -303,28 +468,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) : 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)); - return obj; - }, - fromPartial(object: Partial): GetTxsEventRequest { const message = createBaseGetTxsEventRequest(); message.events = object.events?.map(e => e) || []; @@ -360,7 +503,7 @@ export const GetTxsEventResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxsEventResponse(); @@ -390,33 +533,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 - }; - }, - - 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); - return obj; - }, - fromPartial(object: Partial): GetTxsEventResponse { const message = createBaseGetTxsEventResponse(); message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; @@ -473,20 +589,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) : 0 - }; - }, - - 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(); @@ -511,7 +613,7 @@ export const BroadcastTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBroadcastTxResponse(); @@ -533,18 +635,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; @@ -599,20 +689,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; @@ -642,7 +718,7 @@ export const SimulateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSimulateResponse(); @@ -668,20 +744,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; @@ -728,18 +790,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 ?? ""; @@ -768,7 +818,7 @@ export const GetTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxResponse(); @@ -794,20 +844,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; @@ -863,20 +899,6 @@ export const GetBlockWithTxsRequest = { return message; }, - fromJSON(object: any): GetBlockWithTxsRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: GetBlockWithTxsRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -916,7 +938,7 @@ export const GetBlockWithTxsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockWithTxsResponse(); @@ -950,30 +972,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/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts index bef2cf9d9..72017ddfe 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/tx/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts @@ -1,29 +1,47 @@ -import { Any } from "../../../google/protobuf/any"; -import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; -import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; +import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Tx is the standard type used for broadcasting transactions. */ + export interface Tx { /** body is the processable content of the transaction */ body: TxBody | undefined; - /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - authInfo: AuthInfo | undefined; + authInfo: AuthInfo | undefined; /** * 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[]; } +/** Tx is the standard type used for broadcasting transactions. */ + +export interface TxSDKType { + /** body is the processable content of the transaction */ + body: TxBodySDKType | undefined; + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + auth_info: AuthInfoSDKType | undefined; + /** + * 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[]; +} /** * 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 @@ -31,89 +49,179 @@ export interface Tx { * 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; + 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[]; } +/** + * 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 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[]; +} /** 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; + 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; + chainId: string; /** account_number is the account number of the account in state */ + accountNumber: Long; } +/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ + +export interface SignDocSDKType { + /** + * 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: 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 | undefined; + publicKey: Any | undefined; /** * 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; + chainId: string; /** account_number is the account number of the account in state. */ - accountNumber: Long; + accountNumber: Long; /** sequence is the sequence number of the signing account. */ - sequence: Long; + sequence: Long; /** * Tip is the optional tip used for meta-transactions. It should be left * empty if the signer is not the tipper for this transaction. */ + tip: Tip | undefined; } +/** + * SignDocDirectAux is the type used for generating sign bytes for + * SIGN_MODE_DIRECT_AUX. + * + * Since: cosmos-sdk 0.46 + */ + +export interface SignDocDirectAuxSDKType { + /** + * 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: AnySDKType | undefined; + /** + * 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: Long; + /** sequence is the sequence number of the signing account. */ + + sequence: Long; + /** + * Tip is the optional tip used for meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + + tip: TipSDKType | undefined; +} /** 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 @@ -125,39 +233,80 @@ export interface TxBody { * 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; + memo: string; /** * timeout is the block height after which this transaction will not * be processed by the chain */ - timeoutHeight: Long; + 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[]; + 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[]; } +/** TxBody is the body of a transaction that all signers sign over. */ + +export interface TxBodySDKType { + /** + * 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: AnySDKType[]; + /** + * 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: 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 + */ + extension_options: AnySDKType[]; + /** + * 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: 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 @@ -166,27 +315,56 @@ export interface AuthInfo { * 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 | undefined; + fee: Fee | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ + tip: Tip | undefined; } +/** + * AuthInfo describes the fee and signer modes that are used to sign a + * transaction. + */ + +export interface AuthInfoSDKType { + /** + * 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: SignerInfoSDKType[]; + /** + * 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: FeeSDKType | undefined; + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + tip: TipSDKType | undefined; +} /** * 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 @@ -194,95 +372,194 @@ export interface SignerInfo { * signer address for this position and lookup the public key. */ publicKey: Any | undefined; - /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - modeInfo: ModeInfo | undefined; + modeInfo: ModeInfo | undefined; /** * 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; } +/** + * SignerInfo describes the public key and signing mode of a single top-level + * signer. + */ +export interface SignerInfoSDKType { + /** + * 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: AnySDKType | undefined; + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + + mode_info: ModeInfoSDKType | undefined; + /** + * 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; +} /** ModeInfo describes the signing mode of a single or nested multisig signer. */ + export interface ModeInfo { /** single represents a single signer */ single?: ModeInfo_Single | undefined; - /** multi represents a nested multisig signer */ + multi?: ModeInfo_Multi | undefined; } +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ + +export interface ModeInfoSDKType { + /** single represents a single signer */ + single?: ModeInfo_SingleSDKType | undefined; + /** multi represents a nested multisig signer */ + multi?: ModeInfo_MultiSDKType | undefined; +} /** * 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; } +/** + * 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 is the signing mode of the single signer */ + mode: SignModeSDKType; +} /** 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 | undefined; - /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys */ + modeInfos: ModeInfo[]; } +/** Multi is the mode info for a multisig public key */ +export interface ModeInfo_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray: CompactBitArraySDKType | undefined; + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + + 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; + 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; + 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; } +/** + * 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 is the amount of coins to be paid as a fee */ + amount: CoinSDKType[]; + /** + * gas_limit is the maximum gas that can be used in transaction processing + * before an out of gas error occurs + */ + + gas_limit: 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; +} /** * 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; } +/** + * Tip is the tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + +export interface TipSDKType { + /** amount is the amount of the tip */ + amount: CoinSDKType[]; + /** tipper is the address of the account paying for the tip */ + 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 @@ -291,6 +568,7 @@ export interface Tip { * * Since: cosmos-sdk 0.46 */ + export interface AuxSignerData { /** * address is the bech32-encoded address of the auxiliary signer. If using @@ -298,18 +576,48 @@ export interface AuxSignerData { * chain (where the final transaction is broadcasted) should be used. */ address: string; - /** * sign_doc is the SIGN_MOD_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 | undefined; + signDoc: SignDocDirectAux | undefined; /** mode is the signing mode of the single signer */ + mode: SignMode; + /** sig is the signature of the sign doc. */ + sig: 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 AuxSignerDataSDKType { + /** + * 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_MOD_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: SignDocDirectAuxSDKType | undefined; + /** mode is the signing mode of the single signer */ + + mode: SignModeSDKType; /** sig is the signature of the sign doc. */ + sig: Uint8Array; } @@ -368,28 +676,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; @@ -455,28 +741,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(); @@ -551,24 +815,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) ? Long.fromString(object.accountNumber) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignDoc { const message = createBaseSignDoc(); message.bodyBytes = object.bodyBytes ?? new Uint8Array(); @@ -662,28 +908,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) ? Long.fromString(object.accountNumber) : Long.UZERO, - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).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(); @@ -770,43 +994,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) ? Long.fromString(object.timeoutHeight) : Long.UZERO, - 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 || Long.UZERO).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)) || []; @@ -874,28 +1061,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)) || []; @@ -961,22 +1126,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) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignerInfo { const message = createBaseSignerInfo(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -1033,20 +1182,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; @@ -1093,18 +1228,6 @@ export const ModeInfo_Single = { return message; }, - fromJSON(object: any): ModeInfo_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0 - }; - }, - - 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; @@ -1159,26 +1282,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; @@ -1252,30 +1355,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) ? Long.fromString(object.gasLimit) : Long.UZERO, - 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 || Long.UZERO).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)) || []; @@ -1333,26 +1412,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)) || []; @@ -1426,24 +1485,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) : 0, - 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/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts similarity index 55% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts index f727be5b7..3aca684bf 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -1,52 +1,52 @@ -import { Plan, ModuleVersion } from "./upgrade"; import { LCDClient } from "@osmonauts/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); } - /* CurrentPlan queries the current upgrade plan. */ - async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { + + + async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { const endpoint = `cosmos/upgrade/v1beta1/current_plan`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AppliedPlan queries a previously applied upgrade plan by its name. */ - async appliedPlan(params: QueryAppliedPlanRequest): Promise { + + + async appliedPlan(params: QueryAppliedPlanRequest): Promise { const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* 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) */ - async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.lastHeight !== "undefined") { - options.params.last_height = params.lastHeight; - } + async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* ModuleVersions queries the list of module versions from state. Since: cosmos-sdk 0.43 */ - async moduleVersions(params: QueryModuleVersionsRequest): Promise { + + + async moduleVersions(params: QueryModuleVersionsRequest): Promise { const options: any = { params: {} }; @@ -56,13 +56,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/upgrade/v1beta1/module_versions`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Returns the account with authority to conduct upgrades */ - async authority(_params: QueryAuthorityRequest = {}): Promise { + + + async authority(_params: QueryAuthorityRequest = {}): Promise { const endpoint = `cosmos/upgrade/v1beta1/authority`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts index a306342ca..34c05ab53 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -1,17 +1,17 @@ -import { Plan, ModuleVersion } from "./upgrade"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - currentPlan(request: QueryCurrentPlanRequest): Promise; + currentPlan(request?: QueryCurrentPlanRequest): Promise; /*CurrentPlan queries the current upgrade plan.*/ - appliedPlan(request: QueryAppliedPlanRequest): Promise; + appliedPlan(request: QueryAppliedPlanRequest): Promise; /*AppliedPlan queries a previously applied upgrade plan by its name.*/ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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. @@ -19,12 +19,12 @@ export interface Query { 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)*/ - moduleVersions(request: QueryModuleVersionsRequest): Promise; + moduleVersions(request: QueryModuleVersionsRequest): Promise; /*ModuleVersions queries the list of module versions from state. Since: cosmos-sdk 0.43*/ - authority(request: QueryAuthorityRequest): Promise; + authority(request?: QueryAuthorityRequest): Promise; /*Returns the account with authority to conduct upgrades*/ } @@ -40,34 +40,60 @@ export class QueryClientImpl implements Query { this.authority = this.authority.bind(this); } - currentPlan(request: QueryCurrentPlanRequest): Promise { + currentPlan(request: QueryCurrentPlanRequest = {}): Promise { const data = QueryCurrentPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); } - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { const data = QueryAppliedPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { const data = QueryModuleVersionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); } - authority(request: QueryAuthorityRequest): Promise { + authority(request: QueryAuthorityRequest = {}): Promise { const data = QueryAuthorityRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + currentPlan(request?: QueryCurrentPlanRequest): Promise { + return queryService.currentPlan(request); + }, + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + return queryService.appliedPlan(request); + }, + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + }, + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + return queryService.moduleVersions(request); + }, + + authority(request?: QueryAuthorityRequest): Promise { + return queryService.authority(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts index 0dfa6ab9c..7c24ea003 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts @@ -1,46 +1,79 @@ -import { Plan, ModuleVersion } from "./upgrade"; +import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC * method. */ + export interface QueryCurrentPlanRequest {} +/** + * 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 | undefined; } +/** + * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanResponseSDKType { + /** plan is the current upgrade plan. */ + plan: PlanSDKType | undefined; +} /** * 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; } +/** + * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC + * method. + */ +export interface QueryAppliedPlanRequestSDKType { + /** name is the name of the applied plan to query for. */ + 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; } +/** + * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + * method. + */ +export interface QueryAppliedPlanResponseSDKType { + /** height is the block height at which the plan was applied. */ + 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 @@ -48,59 +81,126 @@ export interface QueryUpgradedConsensusStateRequest { */ lastHeight: Long; } +/** + * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateRequestSDKType { + /** + * 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: Long; +} /** * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState * RPC method. */ /** @deprecated */ + export interface QueryUpgradedConsensusStateResponse { /** Since: cosmos-sdk 0.43 */ upgradedConsensusState: Uint8Array; } +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Since: cosmos-sdk 0.43 */ + 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; + moduleName?: string; } +/** + * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryModuleVersionsRequestSDKType { + /** + * 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; +} /** * 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[]; } +/** + * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryModuleVersionsResponseSDKType { + /** module_versions is a list of module names with their consensus versions. */ + module_versions: ModuleVersionSDKType[]; +} /** * QueryAuthorityRequest is the request type for Query/Authority * * Since: cosmos-sdk 0.46 */ + export interface QueryAuthorityRequest {} +/** + * 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; } +/** + * QueryAuthorityResponse is the response type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ + +export interface QueryAuthorityResponseSDKType { + address: string; +} function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { return {}; @@ -129,15 +229,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; @@ -160,7 +251,7 @@ export const QueryCurrentPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCurrentPlanResponse(); @@ -182,18 +273,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; @@ -239,18 +318,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 ?? ""; @@ -274,7 +341,7 @@ export const QueryAppliedPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppliedPlanResponse(); @@ -296,18 +363,6 @@ export const QueryAppliedPlanResponse = { return message; }, - fromJSON(object: any): QueryAppliedPlanResponse { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: QueryAppliedPlanResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryAppliedPlanResponse { const message = createBaseQueryAppliedPlanResponse(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -353,18 +408,6 @@ export const QueryUpgradedConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryUpgradedConsensusStateRequest { - return { - lastHeight: isSet(object.lastHeight) ? Long.fromString(object.lastHeight) : Long.ZERO - }; - }, - - toJSON(message: QueryUpgradedConsensusStateRequest): unknown { - const obj: any = {}; - message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { const message = createBaseQueryUpgradedConsensusStateRequest(); message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; @@ -388,7 +431,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -410,18 +453,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(); @@ -467,18 +498,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 ?? ""; @@ -502,7 +521,7 @@ export const QueryModuleVersionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleVersionsResponse(); @@ -524,24 +543,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)) || []; @@ -577,15 +578,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; @@ -608,7 +600,7 @@ export const QueryAuthorityResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAuthorityResponse(); @@ -630,18 +622,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/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts new file mode 100644 index 000000000..d2da342c9 --- /dev/null +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -0,0 +1,86 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; +export interface AminoMsgSoftwareUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgSoftwareUpgrade"; + value: { + authority: string; + plan: { + name: string; + time: { + seconds: string; + nanos: number; + }; + height: string; + info: string; + upgraded_client_state: { + type_url: string; + value: Uint8Array; + }; + }; + }; +} +export interface AminoMsgCancelUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgCancelUpgrade"; + value: { + authority: string; + }; +} +export const AminoConverter = { + "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { + aminoType: "cosmos-sdk/MsgSoftwareUpgrade", + toAmino: ({ + authority, + plan + }: MsgSoftwareUpgrade): AminoMsgSoftwareUpgrade["value"] => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: plan.height.toString(), + info: plan.info, + upgraded_client_state: { + type_url: plan.upgradedClientState.typeUrl, + value: plan.upgradedClientState.value + } + } + }; + }, + fromAmino: ({ + authority, + plan + }: AminoMsgSoftwareUpgrade["value"]): MsgSoftwareUpgrade => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: Long.fromString(plan.height), + info: plan.info, + upgradedClientState: { + typeUrl: plan.upgraded_client_state.type_url, + value: plan.upgraded_client_state.value + } + } + }; + } + }, + "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { + aminoType: "cosmos-sdk/MsgCancelUpgrade", + toAmino: ({ + authority + }: MsgCancelUpgrade): AminoMsgCancelUpgrade["value"] => { + return { + authority + }; + }, + fromAmino: ({ + authority + }: AminoMsgCancelUpgrade["value"]): MsgCancelUpgrade => { + return { + authority + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.registry.ts new file mode 100644 index 000000000..caa3a0ed2 --- /dev/null +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.encode(value).finish() + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.encode(value).finish() + }; + } + + }, + withTypeUrl: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value + }; + } + + }, + fromPartial: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.fromPartial(value) + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts similarity index 82% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts index 9ddd3d445..811997785 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -1,16 +1,15 @@ -import { Plan } from "./upgrade"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; - +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeResponse, MsgCancelUpgradeResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; + softwareUpgrade(request: MsgSoftwareUpgrade): Promise; /*SoftwareUpgrade is a governance operation for initiating a software upgrade. Since: cosmos-sdk 0.46*/ - cancelUpgrade(request: MsgCancelUpgrade): Promise; + cancelUpgrade(request: MsgCancelUpgrade): Promise; /*CancelUpgrade is a governance operation for cancelling a previously approvid software upgrade. @@ -26,13 +25,13 @@ export class MsgClientImpl implements Msg { this.cancelUpgrade = this.cancelUpgrade.bind(this); } - softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { const data = MsgSoftwareUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); } - cancelUpgrade(request: MsgCancelUpgrade): Promise { + cancelUpgrade(request: MsgCancelUpgrade): Promise { const data = MsgCancelUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts index 586a2d0e7..3145691df 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -1,43 +1,79 @@ -import { Plan } from "./upgrade"; +import { Plan, PlanSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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 | undefined; } +/** + * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgSoftwareUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; + /** plan is the upgrade plan. */ + plan: PlanSDKType | undefined; +} /** * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. * * Since: cosmos-sdk 0.46 */ + export interface MsgSoftwareUpgradeResponse {} +/** + * 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; } +/** + * MsgCancelUpgrade is the Msg/CancelUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgCancelUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; +} /** * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. * * Since: cosmos-sdk 0.46 */ + export interface MsgCancelUpgradeResponse {} +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { @@ -85,20 +121,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 ?? ""; @@ -117,7 +139,7 @@ export const MsgSoftwareUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSoftwareUpgradeResponse(); @@ -135,15 +157,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; @@ -188,18 +201,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 ?? ""; @@ -217,7 +218,7 @@ export const MsgCancelUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCancelUpgradeResponse(); @@ -235,15 +236,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/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts rename to examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts index be743beb9..9d0277f7d 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -1,9 +1,9 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** 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 @@ -15,7 +15,6 @@ export interface Plan { * 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. @@ -23,20 +22,20 @@ export interface Plan { */ /** @deprecated */ - time: Date | undefined; + time: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. */ - height: Long; + 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; + info: string; /** * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been * moved to the IBC module in the sub module 02-client. @@ -44,9 +43,53 @@ export interface Plan { */ /** @deprecated */ + upgradedClientState: Any | undefined; } +/** Plan specifies information about a planned upgrade and when it should occur. */ + +export interface PlanSDKType { + /** + * 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: Date | undefined; + /** + * 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 */ + + upgraded_client_state: AnySDKType | undefined; +} /** * SoftwareUpgradeProposal is a gov Content type for initiating a software * upgrade. @@ -55,12 +98,26 @@ export interface Plan { */ /** @deprecated */ + export interface SoftwareUpgradeProposal { title: string; description: string; plan: Plan | undefined; } +/** + * 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 { + title: string; + description: string; + plan: PlanSDKType | undefined; +} /** * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software * upgrade. @@ -69,21 +126,48 @@ export interface SoftwareUpgradeProposal { */ /** @deprecated */ + export interface CancelSoftwareUpgradeProposal { title: string; description: string; } +/** + * 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 { + 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; +} +/** + * ModuleVersion specifies a module and its consensus version. + * + * Since: cosmos-sdk 0.43 + */ +export interface ModuleVersionSDKType { + /** name of the app module */ + name: string; /** consensus version of the app module */ + version: Long; } @@ -160,26 +244,6 @@ 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) ? Long.fromString(object.height) : Long.ZERO, - 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 = message.time.toISOString()); - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ?? ""; @@ -247,22 +311,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 ?? ""; @@ -319,20 +367,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 ?? ""; @@ -388,20 +422,6 @@ export const ModuleVersion = { return message; }, - fromJSON(object: any): ModuleVersion { - return { - name: isSet(object.name) ? String(object.name) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO - }; - }, - - toJSON(message: ModuleVersion): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ModuleVersion { const message = createBaseModuleVersion(); message.name = object.name ?? ""; diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b18fb9244 --- /dev/null +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -0,0 +1,155 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "@osmonauts/helpers"; +import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; +export interface AminoMsgCreateVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreateVestingAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + end_time: string; + delayed: boolean; + }; +} +export interface AminoMsgCreatePermanentLockedAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgCreatePeriodicVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; + value: { + from_address: string; + to_address: string; + start_time: string; + vesting_periods: { + length: string; + amount: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { + aminoType: "cosmos-sdk/MsgCreateVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + amount, + endTime, + delayed + }: MsgCreateVestingAccount): AminoMsgCreateVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + end_time: endTime.toString(), + delayed + }; + }, + fromAmino: ({ + from_address, + to_address, + amount, + end_time, + delayed + }: AminoMsgCreateVestingAccount["value"]): MsgCreateVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + endTime: Long.fromString(end_time), + delayed + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { + aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgCreatePermanentLockedAccount): AminoMsgCreatePermanentLockedAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgCreatePermanentLockedAccount["value"]): MsgCreatePermanentLockedAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { + aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + startTime, + vestingPeriods + }: MsgCreatePeriodicVestingAccount): AminoMsgCreatePeriodicVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + start_time: startTime.toString(), + vesting_periods: vestingPeriods.map(el0 => ({ + length: el0.length.toString(), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + start_time, + vesting_periods + }: AminoMsgCreatePeriodicVestingAccount["value"]): MsgCreatePeriodicVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + startTime: Long.fromString(start_time), + vestingPeriods: vesting_periods.map(el0 => ({ + length: Long.fromString(el0.length), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.registry.ts new file mode 100644 index 000000000..d9679e7a4 --- /dev/null +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.registry.ts @@ -0,0 +1,79 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.encode(value).finish() + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.encode(value).finish() + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value + }; + } + + }, + fromPartial: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.fromPartial(value) + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.fromPartial(value) + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts index 94ba2e960..93df90012 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -1,20 +1,18 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; - +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreateVestingAccountResponseSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePermanentLockedAccountResponseSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse, MsgCreatePeriodicVestingAccountResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createVestingAccount(request: MsgCreateVestingAccount): Promise; + createVestingAccount(request: MsgCreateVestingAccount): Promise; /*CreateVestingAccount defines a method that enables creating a vesting account.*/ - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; /*CreatePermanentLockedAccount defines a method that enables creating a permanent locked account.*/ - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; /*CreatePeriodicVestingAccount defines a method that enables creating a periodic vesting account.*/ @@ -29,19 +27,19 @@ export class MsgClientImpl implements Msg { this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); } - createVestingAccount(request: MsgCreateVestingAccount): Promise { + createVestingAccount(request: MsgCreateVestingAccount): Promise { const data = MsgCreateVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); } - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { const data = MsgCreatePermanentLockedAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); } - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts rename to examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts index 1c44cd75b..fecca127f 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts @@ -1,12 +1,12 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Period, PeriodSDKType } from "./vesting"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ + export interface MsgCreateVestingAccount { fromAddress: string; toAddress: string; @@ -14,39 +14,84 @@ export interface MsgCreateVestingAccount { endTime: Long; delayed: boolean; } +/** + * 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 {} +/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ +export interface MsgCreateVestingAccountResponseSDKType {} /** * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent * locked account. */ + export interface MsgCreatePermanentLockedAccount { fromAddress: string; toAddress: string; amount: Coin[]; } +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ +export interface MsgCreatePermanentLockedAccountSDKType { + from_address: string; + to_address: string; + amount: CoinSDKType[]; +} /** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ + export interface MsgCreatePermanentLockedAccountResponse {} +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ +export interface MsgCreatePermanentLockedAccountResponseSDKType {} /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ + export interface MsgCreatePeriodicVestingAccount { fromAddress: string; toAddress: string; startTime: Long; vestingPeriods: Period[]; } +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreatePeriodicVestingAccountSDKType { + from_address: string; + to_address: string; + start_time: Long; + vesting_periods: PeriodSDKType[]; +} /** * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount * response type. */ + export interface MsgCreatePeriodicVestingAccountResponse {} +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ + +export interface MsgCreatePeriodicVestingAccountResponseSDKType {} function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { return { @@ -121,32 +166,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) ? Long.fromString(object.endTime) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.delayed !== undefined && (obj.delayed = message.delayed); - return obj; - }, - fromPartial(object: Partial): MsgCreateVestingAccount { const message = createBaseMsgCreateVestingAccount(); message.fromAddress = object.fromAddress ?? ""; @@ -168,7 +187,7 @@ export const MsgCreateVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateVestingAccountResponse(); @@ -186,15 +205,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; @@ -257,28 +267,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 ?? ""; @@ -298,7 +286,7 @@ export const MsgCreatePermanentLockedAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePermanentLockedAccountResponse(); @@ -316,15 +304,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; @@ -396,30 +375,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) ? Long.fromString(object.startTime) : Long.ZERO, - 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 || Long.ZERO).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 ?? ""; @@ -440,7 +395,7 @@ export const MsgCreatePeriodicVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePeriodicVestingAccountResponse(); @@ -458,15 +413,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/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts rename to examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts index a4f832a4d..a0c25a632 100644 --- a/examples/telescope-with-contracts/codegen/cosmos/vesting/v1beta1/vesting.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -1,12 +1,12 @@ -import { BaseAccount } from "../../auth/v1beta1/auth"; -import { Coin } from "../../base/v1beta1/coin"; +import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ + export interface BaseVestingAccount { baseAccount: BaseAccount | undefined; originalVesting: Coin[]; @@ -14,41 +14,86 @@ export interface BaseVestingAccount { delegatedVesting: Coin[]; endTime: Long; } +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ +export interface BaseVestingAccountSDKType { + base_account: BaseAccountSDKType | undefined; + 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 | undefined; startTime: Long; } +/** + * ContinuousVestingAccount implements the VestingAccount interface. It + * continuously vests by unlocking coins linearly with respect to time. + */ +export interface ContinuousVestingAccountSDKType { + base_vesting_account: BaseVestingAccountSDKType | undefined; + 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 | undefined; } +/** + * 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 | undefined; +} /** Period defines a length of time and amount of coins that will vest. */ + export interface Period { length: Long; amount: Coin[]; } +/** 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 | undefined; startTime: Long; vestingPeriods: Period[]; } +/** + * PeriodicVestingAccount implements the VestingAccount interface. It + * periodically vests by unlocking coins during each specified period. + */ +export interface PeriodicVestingAccountSDKType { + base_vesting_account: BaseVestingAccountSDKType | undefined; + 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 @@ -56,9 +101,21 @@ export interface PeriodicVestingAccount { * * Since: cosmos-sdk 0.43 */ + export interface PermanentLockedAccount { baseVestingAccount: BaseVestingAccount | undefined; } +/** + * 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 | undefined; +} function createBaseBaseVestingAccount(): BaseVestingAccount { return { @@ -133,42 +190,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) ? Long.fromString(object.endTime) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BaseVestingAccount { const message = createBaseBaseVestingAccount(); message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; @@ -227,20 +248,6 @@ export const ContinuousVestingAccount = { return message; }, - fromJSON(object: any): ContinuousVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ContinuousVestingAccount { const message = createBaseContinuousVestingAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; @@ -287,18 +294,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; @@ -353,26 +348,6 @@ export const Period = { return message; }, - fromJSON(object: any): Period { - return { - length: isSet(object.length) ? Long.fromString(object.length) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.length) : Long.ZERO; @@ -437,28 +412,6 @@ export const PeriodicVestingAccount = { return message; }, - fromJSON(object: any): PeriodicVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO, - 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 || Long.ZERO).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; @@ -506,18 +459,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/examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts b/examples/contracts/codegen/cosmos_proto/bundle.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/cosmos_proto/bundle.ts rename to examples/contracts/codegen/cosmos_proto/bundle.ts diff --git a/examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts b/examples/contracts/codegen/cosmos_proto/cosmos.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts rename to examples/contracts/codegen/cosmos_proto/cosmos.ts index fa1af2061..39f468489 100644 --- a/examples/telescope-with-contracts/codegen/cosmos_proto/cosmos.ts +++ b/examples/contracts/codegen/cosmos_proto/cosmos.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; export enum ScalarType { SCALAR_TYPE_UNSPECIFIED = 0, SCALAR_TYPE_STRING = 1, SCALAR_TYPE_BYTES = 2, UNRECOGNIZED = -1, } +export enum ScalarTypeSDKType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} export function scalarTypeFromJSON(object: any): ScalarType { switch (object) { case 0: @@ -41,11 +46,11 @@ export function scalarTypeToJSON(object: ScalarType): string { return "UNKNOWN"; } } - /** * 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 @@ -54,14 +59,33 @@ export interface InterfaceDescriptor { * fully-qualified name will be a.b.C. */ name: string; - /** * description is a human-readable description of the interface and its * purpose. */ + description: string; } +/** + * InterfaceDescriptor describes an interface type to be used with + * accepts_interface and implements_interface and declared by declare_interface. + */ + +export interface InterfaceDescriptorSDKType { + /** + * 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; +} /** * ScalarDescriptor describes an scalar type to be used with * the scalar field option and declared by declare_scalar. @@ -71,6 +95,7 @@ export interface InterfaceDescriptor { * 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 @@ -79,22 +104,56 @@ export interface ScalarDescriptor { * 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; + 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[]; } +/** + * 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 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: ScalarTypeSDKType[]; +} function createBaseInterfaceDescriptor(): InterfaceDescriptor { return { @@ -142,20 +201,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 ?? ""; @@ -232,28 +277,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/examples/contracts/codegen/cosmwasm/bundle.ts b/examples/contracts/codegen/cosmwasm/bundle.ts new file mode 100644 index 000000000..20c8556e3 --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/bundle.ts @@ -0,0 +1,34 @@ +import * as _94 from "./wasm/v1/genesis"; +import * as _95 from "./wasm/v1/ibc"; +import * as _96 from "./wasm/v1/proposal"; +import * as _97 from "./wasm/v1/query"; +import * as _98 from "./wasm/v1/tx"; +import * as _99 from "./wasm/v1/types"; +import * as _223 from "./wasm/v1/tx.amino"; +import * as _224 from "./wasm/v1/tx.registry"; +import * as _225 from "./wasm/v1/query.lcd"; +import * as _226 from "./wasm/v1/query.rpc.query"; +import * as _227 from "./wasm/v1/tx.rpc.msg"; +import * as _252 from "./lcd"; +import * as _253 from "./rpc.query"; +import * as _254 from "./rpc.tx"; +export namespace cosmwasm { + export namespace wasm { + export const v1 = { ..._94, + ..._95, + ..._96, + ..._97, + ..._98, + ..._99, + ..._223, + ..._224, + ..._225, + ..._226, + ..._227 + }; + } + export const ClientFactory = { ..._252, + ..._253, + ..._254 + }; +} \ No newline at end of file diff --git a/examples/contracts/codegen/cosmwasm/client.ts b/examples/contracts/codegen/cosmwasm/client.ts new file mode 100644 index 000000000..a917b15c5 --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/client.ts @@ -0,0 +1,41 @@ +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; +import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; +export const getSigningCosmwasmClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...cosmwasmWasmV1TxRegistry.registry]); + const aminoTypes = new AminoTypes({ ...cosmwasmWasmV1TxAmino.AminoConverter + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmwasmClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmwasmClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmwasm/lcd.ts b/examples/contracts/codegen/cosmwasm/lcd.ts new file mode 100644 index 000000000..ce16f358d --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/lcd.ts @@ -0,0 +1,106 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + }; +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmwasm/rpc.query.ts b/examples/contracts/codegen/cosmwasm/rpc.query.ts new file mode 100644 index 000000000..02b0294a4 --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/rpc.query.ts @@ -0,0 +1,73 @@ +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } + }, + cosmwasm: { + wasm: { + v1: (await import("./wasm/v1/query.rpc.query")).createRpcQueryExtension(client) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts b/examples/contracts/codegen/cosmwasm/rpc.tx.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/cosmwasm/rpc.tx.ts rename to examples/contracts/codegen/cosmwasm/rpc.tx.ts diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts similarity index 69% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts index 158f5a13c..8c401bfac 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/genesis.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts @@ -1,9 +1,9 @@ -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract } from "./tx"; -import { Params, CodeInfo, ContractInfo, Model } from "./types"; +import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; +import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState - genesis state of x/wasm */ + export interface GenesisState { params: Params | undefined; codes: Code[]; @@ -11,39 +11,81 @@ export interface GenesisState { sequences: Sequence[]; genMsgs: GenesisState_GenMsgs[]; } +/** GenesisState - genesis state of x/wasm */ +export interface GenesisStateSDKType { + params: ParamsSDKType | undefined; + codes: CodeSDKType[]; + contracts: ContractSDKType[]; + sequences: SequenceSDKType[]; + gen_msgs: GenesisState_GenMsgsSDKType[]; +} /** * GenMsgs define the messages that can be executed during genesis phase in * order. The intention is to have more human readable data that is auditable. */ + export interface GenesisState_GenMsgs { storeCode?: MsgStoreCode | undefined; instantiateContract?: MsgInstantiateContract | undefined; executeContract?: MsgExecuteContract | undefined; } +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ +export interface GenesisState_GenMsgsSDKType { + store_code?: MsgStoreCodeSDKType | undefined; + instantiate_contract?: MsgInstantiateContractSDKType | undefined; + execute_contract?: MsgExecuteContractSDKType | undefined; +} /** Code struct encompasses CodeInfo and CodeBytes */ + export interface Code { codeId: Long; codeInfo: CodeInfo | undefined; codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ + pinned: boolean; } +/** Code struct encompasses CodeInfo and CodeBytes */ +export interface CodeSDKType { + code_id: Long; + code_info: CodeInfoSDKType | undefined; + code_bytes: Uint8Array; + /** Pinned to wasmvm cache */ + + pinned: boolean; +} /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ + export interface Contract { contractAddress: string; contractInfo: ContractInfo | undefined; contractState: Model[]; } +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ +export interface ContractSDKType { + contract_address: string; + contract_info: ContractInfoSDKType | undefined; + contract_state: ModelSDKType[]; +} /** Sequence key and value of an id generation counter */ + export interface Sequence { idKey: Uint8Array; value: Long; } +/** Sequence key and value of an id generation counter */ + +export interface SequenceSDKType { + id_key: Uint8Array; + value: Long; +} function createBaseGenesisState(): GenesisState { return { @@ -118,47 +160,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromJSON(e)) : [], - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromJSON(e)) : [], - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromJSON(e)) : [], - genMsgs: Array.isArray(object?.genMsgs) ? object.genMsgs.map((e: any) => GenesisState_GenMsgs.fromJSON(e)) : [] - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - - if (message.codes) { - obj.codes = message.codes.map(e => e ? Code.toJSON(e) : undefined); - } else { - obj.codes = []; - } - - if (message.contracts) { - obj.contracts = message.contracts.map(e => e ? Contract.toJSON(e) : undefined); - } else { - obj.contracts = []; - } - - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? Sequence.toJSON(e) : undefined); - } else { - obj.sequences = []; - } - - if (message.genMsgs) { - obj.genMsgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toJSON(e) : undefined); - } else { - obj.genMsgs = []; - } - - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -226,22 +227,6 @@ export const GenesisState_GenMsgs = { return message; }, - fromJSON(object: any): GenesisState_GenMsgs { - return { - storeCode: isSet(object.storeCode) ? MsgStoreCode.fromJSON(object.storeCode) : undefined, - instantiateContract: isSet(object.instantiateContract) ? MsgInstantiateContract.fromJSON(object.instantiateContract) : undefined, - executeContract: isSet(object.executeContract) ? MsgExecuteContract.fromJSON(object.executeContract) : undefined - }; - }, - - toJSON(message: GenesisState_GenMsgs): unknown { - const obj: any = {}; - message.storeCode !== undefined && (obj.storeCode = message.storeCode ? MsgStoreCode.toJSON(message.storeCode) : undefined); - message.instantiateContract !== undefined && (obj.instantiateContract = message.instantiateContract ? MsgInstantiateContract.toJSON(message.instantiateContract) : undefined); - message.executeContract !== undefined && (obj.executeContract = message.executeContract ? MsgExecuteContract.toJSON(message.executeContract) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState_GenMsgs { const message = createBaseGenesisState_GenMsgs(); message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; @@ -316,24 +301,6 @@ export const Code = { return message; }, - fromJSON(object: any): Code { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - codeInfo: isSet(object.codeInfo) ? CodeInfo.fromJSON(object.codeInfo) : undefined, - codeBytes: isSet(object.codeBytes) ? bytesFromBase64(object.codeBytes) : new Uint8Array(), - pinned: isSet(object.pinned) ? Boolean(object.pinned) : false - }; - }, - - toJSON(message: Code): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfo.toJSON(message.codeInfo) : undefined); - message.codeBytes !== undefined && (obj.codeBytes = base64FromBytes(message.codeBytes !== undefined ? message.codeBytes : new Uint8Array())); - message.pinned !== undefined && (obj.pinned = message.pinned); - return obj; - }, - fromPartial(object: Partial): Code { const message = createBaseCode(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -400,28 +367,6 @@ export const Contract = { return message; }, - fromJSON(object: any): Contract { - return { - contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "", - contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined, - contractState: Array.isArray(object?.contractState) ? object.contractState.map((e: any) => Model.fromJSON(e)) : [] - }; - }, - - toJSON(message: Contract): unknown { - const obj: any = {}; - message.contractAddress !== undefined && (obj.contractAddress = message.contractAddress); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - - if (message.contractState) { - obj.contractState = message.contractState.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.contractState = []; - } - - return obj; - }, - fromPartial(object: Partial): Contract { const message = createBaseContract(); message.contractAddress = object.contractAddress ?? ""; @@ -478,20 +423,6 @@ export const Sequence = { return message; }, - fromJSON(object: any): Sequence { - return { - idKey: isSet(object.idKey) ? bytesFromBase64(object.idKey) : new Uint8Array(), - value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO - }; - }, - - toJSON(message: Sequence): unknown { - const obj: any = {}; - message.idKey !== undefined && (obj.idKey = base64FromBytes(message.idKey !== undefined ? message.idKey : new Uint8Array())); - message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Sequence { const message = createBaseSequence(); message.idKey = object.idKey ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts index 3da4300ef..d37f6fded 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/ibc.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts @@ -1,34 +1,63 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** MsgIBCSend */ + export interface MsgIBCSend { /** the channel by which the packet will be sent */ channel: string; - /** * Timeout height relative to the current block height. * The timeout is disabled when set to 0. */ - timeoutHeight: Long; + timeoutHeight: Long; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. */ - timeoutTimestamp: Long; + timeoutTimestamp: Long; /** * Data is the payload to transfer. We must not make assumption what format or * content is in here. */ + data: Uint8Array; } +/** MsgIBCSend */ + +export interface MsgIBCSendSDKType { + /** the channel by which the packet will be sent */ + channel: string; + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + + timeout_height: Long; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeout_timestamp: Long; + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + + data: Uint8Array; +} /** MsgIBCCloseChannel port and channel need to be owned by the contract */ + export interface MsgIBCCloseChannel { channel: string; } +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ + +export interface MsgIBCCloseChannelSDKType { + channel: string; +} function createBaseMsgIBCSend(): MsgIBCSend { return { @@ -94,24 +123,6 @@ export const MsgIBCSend = { return message; }, - fromJSON(object: any): MsgIBCSend { - return { - channel: isSet(object.channel) ? String(object.channel) : "", - timeoutHeight: isSet(object.timeoutHeight) ? Long.fromString(object.timeoutHeight) : Long.UZERO, - timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgIBCSend): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgIBCSend { const message = createBaseMsgIBCSend(); message.channel = object.channel ?? ""; @@ -160,18 +171,6 @@ export const MsgIBCCloseChannel = { return message; }, - fromJSON(object: any): MsgIBCCloseChannel { - return { - channel: isSet(object.channel) ? String(object.channel) : "" - }; - }, - - toJSON(message: MsgIBCCloseChannel): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - return obj; - }, - fromPartial(object: Partial): MsgIBCCloseChannel { const message = createBaseMsgIBCCloseChannel(); message.channel = object.channel ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts index ac0c2baae..48adea786 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/proposal.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts @@ -1,172 +1,337 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + export interface StoreCodeProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; + wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ + instantiatePermission: AccessConfig | undefined; } +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + +export interface StoreCodeProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** WASMByteCode can be raw or gzip compressed */ + wasm_byte_code: Uint8Array; + /** InstantiatePermission to apply on contract creation, optional */ + + instantiate_permission: AccessConfigSDKType | undefined; +} /** * InstantiateContractProposal gov proposal content type to instantiate a * contract. */ + export interface InstantiateContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Label is optional metadata to be stored with a constract instance. */ - label: string; + label: string; /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ + +export interface InstantiateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a constract instance. */ + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: CoinSDKType[]; +} /** MigrateContractProposal gov proposal content type to migrate a contract. */ + export interface MigrateContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** CodeID references the new WASM codesudo */ - codeId: Long; + codeId: Long; /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; } +/** MigrateContractProposal gov proposal content type to migrate a contract. */ + +export interface MigrateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + contract: string; + /** CodeID references the new WASM codesudo */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} /** SudoContractProposal gov proposal content type to call sudo on a contract. */ + export interface SudoContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; } +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ + +export interface SudoContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; +} /** * ExecuteContractProposal gov proposal content type to call execute on a * contract. */ + export interface ExecuteContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract as execute */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ + +export interface ExecuteContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as execute */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + funds: CoinSDKType[]; +} /** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + export interface UpdateAdminProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** NewAdmin address to be set */ - newAdmin: string; + newAdmin: string; /** Contract is the address of the smart contract */ + contract: string; } +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + +export interface UpdateAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** NewAdmin address to be set */ + + new_admin: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** * ClearAdminProposal gov proposal content type to clear the admin of a * contract. */ + export interface ClearAdminProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ + contract: string; } +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ + +export interface ClearAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** * PinCodesProposal gov proposal content type to pin a set of code ids in the * wasmvm cache. */ + export interface PinCodesProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** CodeIDs references the new WASM codes */ + codeIds: Long[]; } +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ +export interface PinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the new WASM codes */ + + code_ids: Long[]; +} /** * UnpinCodesProposal gov proposal content type to unpin a set of code ids in * the wasmvm cache. */ + export interface UnpinCodesProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** CodeIDs references the WASM codes */ + codeIds: Long[]; } +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ + +export interface UnpinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the WASM codes */ + + code_ids: Long[]; +} function createBaseStoreCodeProposal(): StoreCodeProposal { return { @@ -241,26 +406,6 @@ export const StoreCodeProposal = { return message; }, - fromJSON(object: any): StoreCodeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), - instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined - }; - }, - - toJSON(message: StoreCodeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: Partial): StoreCodeProposal { const message = createBaseStoreCodeProposal(); message.title = object.title ?? ""; @@ -373,38 +518,6 @@ export const InstantiateContractProposal = { return message; }, - fromJSON(object: any): InstantiateContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - label: isSet(object.label) ? String(object.label) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: InstantiateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): InstantiateContractProposal { const message = createBaseInstantiateContractProposal(); message.title = object.title ?? ""; @@ -493,26 +606,6 @@ export const MigrateContractProposal = { return message; }, - fromJSON(object: any): MigrateContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: MigrateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MigrateContractProposal { const message = createBaseMigrateContractProposal(); message.title = object.title ?? ""; @@ -589,24 +682,6 @@ export const SudoContractProposal = { return message; }, - fromJSON(object: any): SudoContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: SudoContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SudoContractProposal { const message = createBaseSudoContractProposal(); message.title = object.title ?? ""; @@ -700,34 +775,6 @@ export const ExecuteContractProposal = { return message; }, - fromJSON(object: any): ExecuteContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: ExecuteContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): ExecuteContractProposal { const message = createBaseExecuteContractProposal(); message.title = object.title ?? ""; @@ -805,24 +852,6 @@ export const UpdateAdminProposal = { return message; }, - fromJSON(object: any): UpdateAdminProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: UpdateAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): UpdateAdminProposal { const message = createBaseUpdateAdminProposal(); message.title = object.title ?? ""; @@ -889,22 +918,6 @@ export const ClearAdminProposal = { return message; }, - fromJSON(object: any): ClearAdminProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: ClearAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): ClearAdminProposal { const message = createBaseClearAdminProposal(); message.title = object.title ?? ""; @@ -982,28 +995,6 @@ export const PinCodesProposal = { return message; }, - fromJSON(object: any): PinCodesProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: PinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - return obj; - }, - fromPartial(object: Partial): PinCodesProposal { const message = createBasePinCodesProposal(); message.title = object.title ?? ""; @@ -1081,28 +1072,6 @@ export const UnpinCodesProposal = { return message; }, - fromJSON(object: any): UnpinCodesProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: UnpinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - return obj; - }, - fromPartial(object: Partial): UnpinCodesProposal { const message = createBaseUnpinCodesProposal(); message.title = object.title ?? ""; diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts similarity index 54% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts index fa0e6334f..17db7e020 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -1,27 +1,36 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); } - /* ContractInfo gets the contract meta data */ - async contractInfo(params: QueryContractInfoRequest): Promise { + + + async contractInfo(params: QueryContractInfoRequest): Promise { const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ContractHistory gets the contract code history */ - async contractHistory(params: QueryContractHistoryRequest): Promise { + + + async contractHistory(params: QueryContractHistoryRequest): Promise { const options: any = { params: {} }; @@ -31,29 +40,27 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ContractsByCode lists all smart contracts for a code id */ - async contractsByCode(params: QueryContractsByCodeRequest): Promise { + + + async contractsByCode(params: QueryContractsByCodeRequest): Promise { const options: any = { params: {} }; - if (typeof params?.codeId !== "undefined") { - options.params.code_id = params.codeId; - } - if (typeof params?.pagination !== "undefined") { setPaginationParams(options, params.pagination); } const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllContractState gets all raw store data for a single contract */ - async allContractState(params: QueryAllContractStateRequest): Promise { + + + async allContractState(params: QueryAllContractStateRequest): Promise { const options: any = { params: {} }; @@ -63,55 +70,35 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* RawContractState gets single key from the raw store data of a contract */ - async rawContractState(params: QueryRawContractStateRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.queryData !== "undefined") { - options.params.query_data = params.queryData; - } + async rawContractState(params: QueryRawContractStateRequest): Promise { const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* SmartContractState get smart query result from the contract */ - async smartContractState(params: QuerySmartContractStateRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.queryData !== "undefined") { - options.params.query_data = params.queryData; - } + async smartContractState(params: QuerySmartContractStateRequest): Promise { const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Code gets the binary code and metadata for a singe wasm code */ - async code(params: QueryCodeRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.codeId !== "undefined") { - options.params.code_id = params.codeId; - } + async code(params: QueryCodeRequest): Promise { const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint); } - /* Codes gets the metadata for all stored wasm codes */ + + async codes(params: QueryCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -121,13 +108,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/code`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* PinnedCodes gets the pinned code ids */ + + async pinnedCodes(params: QueryPinnedCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -137,7 +125,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/codes/pinned`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts index f6fc84b21..1ee240045 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -1,36 +1,35 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - contractInfo(request: QueryContractInfoRequest): Promise; + contractInfo(request: QueryContractInfoRequest): Promise; /*ContractInfo gets the contract meta data*/ - contractHistory(request: QueryContractHistoryRequest): Promise; + contractHistory(request: QueryContractHistoryRequest): Promise; /*ContractHistory gets the contract code history*/ - contractsByCode(request: QueryContractsByCodeRequest): Promise; + contractsByCode(request: QueryContractsByCodeRequest): Promise; /*ContractsByCode lists all smart contracts for a code id*/ - allContractState(request: QueryAllContractStateRequest): Promise; + allContractState(request: QueryAllContractStateRequest): Promise; /*AllContractState gets all raw store data for a single contract*/ - rawContractState(request: QueryRawContractStateRequest): Promise; + rawContractState(request: QueryRawContractStateRequest): Promise; /*RawContractState gets single key from the raw store data of a contract*/ - smartContractState(request: QuerySmartContractStateRequest): Promise; + smartContractState(request: QuerySmartContractStateRequest): Promise; /*SmartContractState get smart query result from the contract*/ - code(request: QueryCodeRequest): Promise; + code(request: QueryCodeRequest): Promise; /*Code gets the binary code and metadata for a singe wasm code*/ - codes(request: QueryCodesRequest): Promise; + codes(request?: QueryCodesRequest): Promise; /*Codes gets the metadata for all stored wasm codes*/ - pinnedCodes(request: QueryPinnedCodesRequest): Promise; + pinnedCodes(request?: QueryPinnedCodesRequest): Promise; /*PinnedCodes gets the pinned code ids*/ } @@ -50,58 +49,104 @@ export class QueryClientImpl implements Query { this.pinnedCodes = this.pinnedCodes.bind(this); } - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { const data = QueryContractInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); } - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { const data = QueryContractHistoryRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); } - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { const data = QueryContractsByCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); } - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { const data = QueryAllContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); } - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { const data = QueryRawContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); } - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { const data = QuerySmartContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); } - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { const data = QueryCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); } - codes(request: QueryCodesRequest): Promise { + codes(request: QueryCodesRequest = { + pagination: undefined + }): Promise { const data = QueryCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); } - pinnedCodes(request: QueryPinnedCodesRequest): Promise { + pinnedCodes(request: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { const data = QueryPinnedCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + contractInfo(request: QueryContractInfoRequest): Promise { + return queryService.contractInfo(request); + }, + + contractHistory(request: QueryContractHistoryRequest): Promise { + return queryService.contractHistory(request); + }, + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + return queryService.contractsByCode(request); + }, + + allContractState(request: QueryAllContractStateRequest): Promise { + return queryService.allContractState(request); + }, + + rawContractState(request: QueryRawContractStateRequest): Promise { + return queryService.rawContractState(request); + }, + + smartContractState(request: QuerySmartContractStateRequest): Promise { + return queryService.smartContractState(request); + }, + + code(request: QueryCodeRequest): Promise { + return queryService.code(request); + }, + + codes(request?: QueryCodesRequest): Promise { + return queryService.codes(request); + }, + + pinnedCodes(request?: QueryPinnedCodesRequest): Promise { + return queryService.pinnedCodes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/query.ts index abd081e66..a844178e5 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/query.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts @@ -1,189 +1,372 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC * method */ + export interface QueryContractInfoRequest { /** address is the address of the contract to query */ address: string; } +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoRequestSDKType { + /** address is the address of the contract to query */ + address: string; +} /** * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC * method */ + export interface QueryContractInfoResponse { /** address is the address of the contract */ address: string; contractInfo: ContractInfo | undefined; } +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoResponseSDKType { + /** address is the address of the contract */ + address: string; + contract_info: ContractInfoSDKType | undefined; +} /** * QueryContractHistoryRequest is the request type for the Query/ContractHistory * RPC method */ + export interface QueryContractHistoryRequest { /** address is the address of the contract to query */ address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ +export interface QueryContractHistoryRequestSDKType { + /** address is the address of the contract to query */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryContractHistoryResponse is the response type for the * Query/ContractHistory RPC method */ + export interface QueryContractHistoryResponse { entries: ContractCodeHistoryEntry[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ +export interface QueryContractHistoryResponseSDKType { + entries: ContractCodeHistoryEntrySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode * RPC method */ + export interface QueryContractsByCodeRequest { /** * grpc-gateway_out does not support Go style CodID * pagination defines an optional pagination for the request. */ codeId: Long; - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ +export interface QueryContractsByCodeRequestSDKType { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + code_id: Long; + pagination?: PageRequestSDKType | undefined; +} /** * QueryContractsByCodeResponse is the response type for the * Query/ContractsByCode RPC method */ + export interface QueryContractsByCodeResponse { /** contracts are a set of contract addresses */ contracts: string[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ +export interface QueryContractsByCodeResponseSDKType { + /** contracts are a set of contract addresses */ + contracts: string[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QueryAllContractStateRequest is the request type for the * Query/AllContractState RPC method */ + export interface QueryAllContractStateRequest { /** address is the address of the contract */ address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryAllContractStateResponse is the response type for the * Query/AllContractState RPC method */ + export interface QueryAllContractStateResponse { models: Model[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateResponseSDKType { + models: ModelSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryRawContractStateRequest is the request type for the * Query/RawContractState RPC method */ + export interface QueryRawContractStateRequest { /** address is the address of the contract */ address: string; queryData: Uint8Array; } +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + query_data: Uint8Array; +} /** * QueryRawContractStateResponse is the response type for the * Query/RawContractState RPC method */ + export interface QueryRawContractStateResponse { /** Data contains the raw store data */ data: Uint8Array; } +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateResponseSDKType { + /** Data contains the raw store data */ + data: Uint8Array; +} /** * QuerySmartContractStateRequest is the request type for the * Query/SmartContractState RPC method */ + export interface QuerySmartContractStateRequest { /** address is the address of the contract */ address: string; - /** QueryData contains the query data passed to the contract */ + queryData: Uint8Array; } +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** QueryData contains the query data passed to the contract */ + query_data: Uint8Array; +} /** * QuerySmartContractStateResponse is the response type for the * Query/SmartContractState RPC method */ + export interface QuerySmartContractStateResponse { /** Data contains the json data returned from the smart contract */ data: Uint8Array; } +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateResponseSDKType { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} /** QueryCodeRequest is the request type for the Query/Code RPC method */ + export interface QueryCodeRequest { /** grpc-gateway_out does not support Go style CodID */ codeId: Long; } +/** QueryCodeRequest is the request type for the Query/Code RPC method */ +export interface QueryCodeRequestSDKType { + /** grpc-gateway_out does not support Go style CodID */ + code_id: Long; +} /** CodeInfoResponse contains code meta data from CodeInfo */ + export interface CodeInfoResponse { codeId: Long; creator: string; dataHash: Uint8Array; } +/** CodeInfoResponse contains code meta data from CodeInfo */ +export interface CodeInfoResponseSDKType { + code_id: Long; + creator: string; + data_hash: Uint8Array; +} /** QueryCodeResponse is the response type for the Query/Code RPC method */ + export interface QueryCodeResponse { codeInfo: CodeInfoResponse | undefined; data: Uint8Array; } +/** QueryCodeResponse is the response type for the Query/Code RPC method */ +export interface QueryCodeResponseSDKType { + code_info: CodeInfoResponseSDKType | undefined; + data: Uint8Array; +} /** QueryCodesRequest is the request type for the Query/Codes RPC method */ + export interface QueryCodesRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ +export interface QueryCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** QueryCodesResponse is the response type for the Query/Codes RPC method */ + export interface QueryCodesResponse { codeInfos: CodeInfoResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponse | undefined; } +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ + +export interface QueryCodesResponseSDKType { + code_infos: CodeInfoResponseSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes * RPC method */ + export interface QueryPinnedCodesRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ +export interface QueryPinnedCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryPinnedCodesResponse is the response type for the * Query/PinnedCodes RPC method */ + export interface QueryPinnedCodesResponse { codeIds: Long[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ +export interface QueryPinnedCodesResponseSDKType { + code_ids: Long[]; /** pagination defines the pagination in the response. */ - pagination: PageResponse | undefined; + + pagination?: PageResponseSDKType | undefined; } function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { @@ -223,18 +406,6 @@ export const QueryContractInfoRequest = { return message; }, - fromJSON(object: any): QueryContractInfoRequest { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: QueryContractInfoRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: Partial): QueryContractInfoRequest { const message = createBaseQueryContractInfoRequest(); message.address = object.address ?? ""; @@ -263,7 +434,7 @@ export const QueryContractInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractInfoResponse(); @@ -289,20 +460,6 @@ export const QueryContractInfoResponse = { return message; }, - fromJSON(object: any): QueryContractInfoResponse { - return { - address: isSet(object.address) ? String(object.address) : "", - contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined - }; - }, - - toJSON(message: QueryContractInfoResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractInfoResponse { const message = createBaseQueryContractInfoResponse(); message.address = object.address ?? ""; @@ -358,20 +515,6 @@ export const QueryContractHistoryRequest = { return message; }, - fromJSON(object: any): QueryContractHistoryRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractHistoryRequest): 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): QueryContractHistoryRequest { const message = createBaseQueryContractHistoryRequest(); message.address = object.address ?? ""; @@ -401,7 +544,7 @@ export const QueryContractHistoryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractHistoryResponse(); @@ -427,26 +570,6 @@ export const QueryContractHistoryResponse = { return message; }, - fromJSON(object: any): QueryContractHistoryResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractHistoryResponse): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractHistoryResponse { const message = createBaseQueryContractHistoryResponse(); message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; @@ -502,20 +625,6 @@ export const QueryContractsByCodeRequest = { return message; }, - fromJSON(object: any): QueryContractsByCodeRequest { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractsByCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractsByCodeRequest { const message = createBaseQueryContractsByCodeRequest(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -545,7 +654,7 @@ export const QueryContractsByCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractsByCodeResponse(); @@ -571,26 +680,6 @@ export const QueryContractsByCodeResponse = { return message; }, - fromJSON(object: any): QueryContractsByCodeResponse { - return { - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => String(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractsByCodeResponse): unknown { - const obj: any = {}; - - if (message.contracts) { - obj.contracts = message.contracts.map(e => e); - } else { - obj.contracts = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractsByCodeResponse { const message = createBaseQueryContractsByCodeResponse(); message.contracts = object.contracts?.map(e => e) || []; @@ -646,20 +735,6 @@ export const QueryAllContractStateRequest = { return message; }, - fromJSON(object: any): QueryAllContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryAllContractStateRequest): 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): QueryAllContractStateRequest { const message = createBaseQueryAllContractStateRequest(); message.address = object.address ?? ""; @@ -689,7 +764,7 @@ export const QueryAllContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllContractStateResponse(); @@ -715,26 +790,6 @@ export const QueryAllContractStateResponse = { return message; }, - fromJSON(object: any): QueryAllContractStateResponse { - return { - models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryAllContractStateResponse): unknown { - const obj: any = {}; - - if (message.models) { - obj.models = message.models.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.models = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryAllContractStateResponse { const message = createBaseQueryAllContractStateResponse(); message.models = object.models?.map(e => Model.fromPartial(e)) || []; @@ -790,20 +845,6 @@ export const QueryRawContractStateRequest = { return message; }, - fromJSON(object: any): QueryRawContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() - }; - }, - - toJSON(message: QueryRawContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryRawContractStateRequest { const message = createBaseQueryRawContractStateRequest(); message.address = object.address ?? ""; @@ -828,7 +869,7 @@ export const QueryRawContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRawContractStateResponse(); @@ -850,18 +891,6 @@ export const QueryRawContractStateResponse = { return message; }, - fromJSON(object: any): QueryRawContractStateResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QueryRawContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryRawContractStateResponse { const message = createBaseQueryRawContractStateResponse(); message.data = object.data ?? new Uint8Array(); @@ -916,20 +945,6 @@ export const QuerySmartContractStateRequest = { return message; }, - fromJSON(object: any): QuerySmartContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() - }; - }, - - toJSON(message: QuerySmartContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QuerySmartContractStateRequest { const message = createBaseQuerySmartContractStateRequest(); message.address = object.address ?? ""; @@ -954,7 +969,7 @@ export const QuerySmartContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySmartContractStateResponse(); @@ -976,18 +991,6 @@ export const QuerySmartContractStateResponse = { return message; }, - fromJSON(object: any): QuerySmartContractStateResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QuerySmartContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QuerySmartContractStateResponse { const message = createBaseQuerySmartContractStateResponse(); message.data = object.data ?? new Uint8Array(); @@ -1033,18 +1036,6 @@ export const QueryCodeRequest = { return message; }, - fromJSON(object: any): QueryCodeRequest { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO - }; - }, - - toJSON(message: QueryCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryCodeRequest { const message = createBaseQueryCodeRequest(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -1108,22 +1099,6 @@ export const CodeInfoResponse = { return message; }, - fromJSON(object: any): CodeInfoResponse { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - creator: isSet(object.creator) ? String(object.creator) : "", - dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array() - }; - }, - - toJSON(message: CodeInfoResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): CodeInfoResponse { const message = createBaseCodeInfoResponse(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -1154,7 +1129,7 @@ export const QueryCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodeResponse(); @@ -1180,20 +1155,6 @@ export const QueryCodeResponse = { return message; }, - fromJSON(object: any): QueryCodeResponse { - return { - codeInfo: isSet(object.codeInfo) ? CodeInfoResponse.fromJSON(object.codeInfo) : undefined, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QueryCodeResponse): unknown { - const obj: any = {}; - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfoResponse.toJSON(message.codeInfo) : undefined); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryCodeResponse { const message = createBaseQueryCodeResponse(); message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; @@ -1240,18 +1201,6 @@ export const QueryCodesRequest = { return message; }, - fromJSON(object: any): QueryCodesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryCodesRequest { const message = createBaseQueryCodesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1280,7 +1229,7 @@ export const QueryCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodesResponse(); @@ -1306,26 +1255,6 @@ export const QueryCodesResponse = { return message; }, - fromJSON(object: any): QueryCodesResponse { - return { - codeInfos: Array.isArray(object?.codeInfos) ? object.codeInfos.map((e: any) => CodeInfoResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryCodesResponse): unknown { - const obj: any = {}; - - if (message.codeInfos) { - obj.codeInfos = message.codeInfos.map(e => e ? CodeInfoResponse.toJSON(e) : undefined); - } else { - obj.codeInfos = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryCodesResponse { const message = createBaseQueryCodesResponse(); message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; @@ -1372,18 +1301,6 @@ export const QueryPinnedCodesRequest = { return message; }, - fromJSON(object: any): QueryPinnedCodesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPinnedCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPinnedCodesRequest { const message = createBaseQueryPinnedCodesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1416,7 +1333,7 @@ export const QueryPinnedCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPinnedCodesResponse(); @@ -1451,26 +1368,6 @@ export const QueryPinnedCodesResponse = { return message; }, - fromJSON(object: any): QueryPinnedCodesResponse { - return { - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPinnedCodesResponse): unknown { - const obj: any = {}; - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPinnedCodesResponse { const message = createBaseQueryPinnedCodesResponse(); message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts new file mode 100644 index 000000000..2ae5a5b9f --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -0,0 +1,252 @@ +import { accessTypeFromJSON } from "./types"; +import { AminoMsg } from "@cosmjs/amino"; +import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; +import { Long } from "@osmonauts/helpers"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export interface AminoMsgStoreCode extends AminoMsg { + type: "wasm/MsgStoreCode"; + value: { + sender: string; + wasm_byte_code: string; + instantiate_permission: { + permission: number; + address: string; + }; + }; +} +export interface AminoMsgInstantiateContract extends AminoMsg { + type: "wasm/MsgInstantiateContract"; + value: { + sender: string; + admin: string; + code_id: string; + label: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgExecuteContract extends AminoMsg { + type: "wasm/MsgExecuteContract"; + value: { + sender: string; + contract: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMigrateContract extends AminoMsg { + type: "wasm/MsgMigrateContract"; + value: { + sender: string; + contract: string; + code_id: string; + msg: Uint8Array; + }; +} +export interface AminoMsgUpdateAdmin extends AminoMsg { + type: "wasm/MsgUpdateAdmin"; + value: { + sender: string; + new_admin: string; + contract: string; + }; +} +export interface AminoMsgClearAdmin extends AminoMsg { + type: "wasm/MsgClearAdmin"; + value: { + sender: string; + contract: string; + }; +} +export const AminoConverter = { + "/cosmwasm.wasm.v1.MsgStoreCode": { + aminoType: "wasm/MsgStoreCode", + toAmino: ({ + sender, + wasmByteCode, + instantiatePermission + }: MsgStoreCode): AminoMsgStoreCode["value"] => { + return { + sender, + wasm_byte_code: toBase64(wasmByteCode), + instantiate_permission: { + permission: instantiatePermission.permission, + address: instantiatePermission.address + } + }; + }, + fromAmino: ({ + sender, + wasm_byte_code, + instantiate_permission + }: AminoMsgStoreCode["value"]): MsgStoreCode => { + return { + sender, + wasmByteCode: fromBase64(wasm_byte_code), + instantiatePermission: { + permission: accessTypeFromJSON(instantiate_permission.permission), + address: instantiate_permission.address + } + }; + } + }, + "/cosmwasm.wasm.v1.MsgInstantiateContract": { + aminoType: "wasm/MsgInstantiateContract", + toAmino: ({ + sender, + admin, + codeId, + label, + msg, + funds + }: MsgInstantiateContract): AminoMsgInstantiateContract["value"] => { + return { + sender, + admin, + code_id: codeId.toString(), + label, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + admin, + code_id, + label, + msg, + funds + }: AminoMsgInstantiateContract["value"]): MsgInstantiateContract => { + return { + sender, + admin, + codeId: Long.fromString(code_id), + label, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgExecuteContract": { + aminoType: "wasm/MsgExecuteContract", + toAmino: ({ + sender, + contract, + msg, + funds + }: MsgExecuteContract): AminoMsgExecuteContract["value"] => { + return { + sender, + contract, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + contract, + msg, + funds + }: AminoMsgExecuteContract["value"]): MsgExecuteContract => { + return { + sender, + contract, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgMigrateContract": { + aminoType: "wasm/MsgMigrateContract", + toAmino: ({ + sender, + contract, + codeId, + msg + }: MsgMigrateContract): AminoMsgMigrateContract["value"] => { + return { + sender, + contract, + code_id: codeId.toString(), + msg: JSON.parse(fromUtf8(msg)) + }; + }, + fromAmino: ({ + sender, + contract, + code_id, + msg + }: AminoMsgMigrateContract["value"]): MsgMigrateContract => { + return { + sender, + contract, + codeId: Long.fromString(code_id), + msg: toUtf8(JSON.stringify(msg)) + }; + } + }, + "/cosmwasm.wasm.v1.MsgUpdateAdmin": { + aminoType: "wasm/MsgUpdateAdmin", + toAmino: ({ + sender, + newAdmin, + contract + }: MsgUpdateAdmin): AminoMsgUpdateAdmin["value"] => { + return { + sender, + new_admin: newAdmin, + contract + }; + }, + fromAmino: ({ + sender, + new_admin, + contract + }: AminoMsgUpdateAdmin["value"]): MsgUpdateAdmin => { + return { + sender, + newAdmin: new_admin, + contract + }; + } + }, + "/cosmwasm.wasm.v1.MsgClearAdmin": { + aminoType: "wasm/MsgClearAdmin", + toAmino: ({ + sender, + contract + }: MsgClearAdmin): AminoMsgClearAdmin["value"] => { + return { + sender, + contract + }; + }, + fromAmino: ({ + sender, + contract + }: AminoMsgClearAdmin["value"]): MsgClearAdmin => { + return { + sender, + contract + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.registry.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.registry.ts new file mode 100644 index 000000000..456732595 --- /dev/null +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.registry.ts @@ -0,0 +1,142 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.encode(value).finish() + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.encode(value).finish() + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.encode(value).finish() + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.encode(value).finish() + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.encode(value).finish() + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.encode(value).finish() + }; + } + + }, + withTypeUrl: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value + }; + } + + }, + fromPartial: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.fromPartial(value) + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.fromPartial(value) + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.fromPartial(value) + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.fromPartial(value) + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.fromPartial(value) + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts index c95f5b1e9..47aea6c9e 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -1,27 +1,25 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; - +import { MsgStoreCode, MsgStoreCodeResponse, MsgStoreCodeResponseSDKType, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContractResponseSDKType, MsgExecuteContract, MsgExecuteContractResponse, MsgExecuteContractResponseSDKType, MsgMigrateContract, MsgMigrateContractResponse, MsgMigrateContractResponseSDKType, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgUpdateAdminResponseSDKType, MsgClearAdmin, MsgClearAdminResponse, MsgClearAdminResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - storeCode(request: MsgStoreCode): Promise; + storeCode(request: MsgStoreCode): Promise; /*StoreCode to submit Wasm code to the system*/ - instantiateContract(request: MsgInstantiateContract): Promise; + instantiateContract(request: MsgInstantiateContract): Promise; /*Instantiate creates a new smart contract instance for the given code id.*/ - executeContract(request: MsgExecuteContract): Promise; + executeContract(request: MsgExecuteContract): Promise; /*Execute submits the given message data to a smart contract*/ - migrateContract(request: MsgMigrateContract): Promise; + migrateContract(request: MsgMigrateContract): Promise; /*Migrate runs a code upgrade/ downgrade for a smart contract*/ - updateAdmin(request: MsgUpdateAdmin): Promise; + updateAdmin(request: MsgUpdateAdmin): Promise; /*UpdateAdmin sets a new admin for a smart contract*/ - clearAdmin(request: MsgClearAdmin): Promise; + clearAdmin(request: MsgClearAdmin): Promise; /*ClearAdmin removes any admin stored for a smart contract*/ } @@ -38,37 +36,37 @@ export class MsgClientImpl implements Msg { this.clearAdmin = this.clearAdmin.bind(this); } - storeCode(request: MsgStoreCode): Promise { + storeCode(request: MsgStoreCode): Promise { const data = MsgStoreCode.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); } - instantiateContract(request: MsgInstantiateContract): Promise { + instantiateContract(request: MsgInstantiateContract): Promise { const data = MsgInstantiateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); } - executeContract(request: MsgExecuteContract): Promise { + executeContract(request: MsgExecuteContract): Promise { const data = MsgExecuteContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); } - migrateContract(request: MsgMigrateContract): Promise { + migrateContract(request: MsgMigrateContract): Promise { const data = MsgMigrateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); } - updateAdmin(request: MsgUpdateAdmin): Promise { + updateAdmin(request: MsgUpdateAdmin): Promise { const data = MsgUpdateAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); } - clearAdmin(request: MsgClearAdmin): Promise { + clearAdmin(request: MsgClearAdmin): Promise { const data = MsgClearAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts index 140096e8e..3932a4574 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/tx.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts @@ -1,99 +1,189 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** MsgStoreCode submit Wasm code to the system */ + export interface MsgStoreCode { /** Sender is the that actor that signed the messages */ sender: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; + wasmByteCode: Uint8Array; /** * InstantiatePermission access control to apply on contract creation, * optional */ + instantiatePermission: AccessConfig | undefined; } +/** MsgStoreCode submit Wasm code to the system */ +export interface MsgStoreCodeSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasm_byte_code: Uint8Array; + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + + instantiate_permission: AccessConfigSDKType | undefined; +} /** MsgStoreCodeResponse returns store result data. */ + export interface MsgStoreCodeResponse { /** CodeID is the reference to the stored WASM code */ codeId: Long; } +/** MsgStoreCodeResponse returns store result data. */ +export interface MsgStoreCodeResponseSDKType { + /** CodeID is the reference to the stored WASM code */ + code_id: Long; +} /** * MsgInstantiateContract create a new smart contract instance for the given * code id. */ + export interface MsgInstantiateContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Label is optional metadata to be stored with a contract instance. */ - label: string; + label: string; /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ + +export interface MsgInstantiateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + funds: CoinSDKType[]; +} /** MsgInstantiateContractResponse return instantiation result data */ + export interface MsgInstantiateContractResponse { /** Address is the bech32 address of the new contract instance. */ address: string; - /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; } +/** MsgInstantiateContractResponse return instantiation result data */ +export interface MsgInstantiateContractResponseSDKType { + /** Address is the bech32 address of the new contract instance. */ + address: string; + /** Data contains base64-encoded bytes to returned from the contract */ + + data: Uint8Array; +} /** MsgExecuteContract submits the given message data to a smart contract */ + export interface MsgExecuteContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on execution */ + funds: Coin[]; } +/** MsgExecuteContract submits the given message data to a smart contract */ + +export interface MsgExecuteContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; + /** Msg json encoded message to be passed to the contract */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on execution */ + + funds: CoinSDKType[]; +} /** MsgExecuteContractResponse returns execution result data. */ + export interface MsgExecuteContractResponse { /** Data contains base64-encoded bytes to returned from the contract */ data: Uint8Array; } +/** MsgExecuteContractResponse returns execution result data. */ +export interface MsgExecuteContractResponseSDKType { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} /** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + export interface MsgMigrateContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** CodeID references the new WASM code */ - codeId: Long; + codeId: Long; /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; } +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + +export interface MsgMigrateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; + /** CodeID references the new WASM code */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} /** MsgMigrateContractResponse returns contract migration result data. */ + export interface MsgMigrateContractResponse { /** * Data contains same raw bytes returned as data from the wasm contract. @@ -101,33 +191,69 @@ export interface MsgMigrateContractResponse { */ data: Uint8Array; } +/** MsgMigrateContractResponse returns contract migration result data. */ +export interface MsgMigrateContractResponseSDKType { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} /** MsgUpdateAdmin sets a new admin for a smart contract */ + export interface MsgUpdateAdmin { /** Sender is the that actor that signed the messages */ sender: string; - /** NewAdmin address to be set */ - newAdmin: string; + newAdmin: string; /** Contract is the address of the smart contract */ + contract: string; } +/** MsgUpdateAdmin sets a new admin for a smart contract */ + +export interface MsgUpdateAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** NewAdmin address to be set */ + new_admin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} /** MsgUpdateAdminResponse returns empty data */ + export interface MsgUpdateAdminResponse {} +/** MsgUpdateAdminResponse returns empty data */ +export interface MsgUpdateAdminResponseSDKType {} /** MsgClearAdmin removes any admin stored for a smart contract */ + export interface MsgClearAdmin { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ + contract: string; } +/** MsgClearAdmin removes any admin stored for a smart contract */ + +export interface MsgClearAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** MsgClearAdminResponse returns empty data */ + export interface MsgClearAdminResponse {} +/** MsgClearAdminResponse returns empty data */ + +export interface MsgClearAdminResponseSDKType {} function createBaseMsgStoreCode(): MsgStoreCode { return { @@ -184,22 +310,6 @@ export const MsgStoreCode = { return message; }, - fromJSON(object: any): MsgStoreCode { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), - instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined - }; - }, - - toJSON(message: MsgStoreCode): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: Partial): MsgStoreCode { const message = createBaseMsgStoreCode(); message.sender = object.sender ?? ""; @@ -225,7 +335,7 @@ export const MsgStoreCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgStoreCodeResponse(); @@ -247,18 +357,6 @@ export const MsgStoreCodeResponse = { return message; }, - fromJSON(object: any): MsgStoreCodeResponse { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO - }; - }, - - toJSON(message: MsgStoreCodeResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgStoreCodeResponse { const message = createBaseMsgStoreCodeResponse(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -349,34 +447,6 @@ export const MsgInstantiateContract = { return message; }, - fromJSON(object: any): MsgInstantiateContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - label: isSet(object.label) ? String(object.label) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgInstantiateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgInstantiateContract { const message = createBaseMsgInstantiateContract(); message.sender = object.sender ?? ""; @@ -410,7 +480,7 @@ export const MsgInstantiateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgInstantiateContractResponse(); @@ -436,20 +506,6 @@ export const MsgInstantiateContractResponse = { return message; }, - fromJSON(object: any): MsgInstantiateContractResponse { - return { - address: isSet(object.address) ? String(object.address) : "", - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgInstantiateContractResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgInstantiateContractResponse { const message = createBaseMsgInstantiateContractResponse(); message.address = object.address ?? ""; @@ -523,30 +579,6 @@ export const MsgExecuteContract = { return message; }, - fromJSON(object: any): MsgExecuteContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgExecuteContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgExecuteContract { const message = createBaseMsgExecuteContract(); message.sender = object.sender ?? ""; @@ -573,7 +605,7 @@ export const MsgExecuteContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecuteContractResponse(); @@ -595,18 +627,6 @@ export const MsgExecuteContractResponse = { return message; }, - fromJSON(object: any): MsgExecuteContractResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgExecuteContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgExecuteContractResponse { const message = createBaseMsgExecuteContractResponse(); message.data = object.data ?? new Uint8Array(); @@ -679,24 +699,6 @@ export const MsgMigrateContract = { return message; }, - fromJSON(object: any): MsgMigrateContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: MsgMigrateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgMigrateContract { const message = createBaseMsgMigrateContract(); message.sender = object.sender ?? ""; @@ -723,7 +725,7 @@ export const MsgMigrateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMigrateContractResponse(); @@ -745,18 +747,6 @@ export const MsgMigrateContractResponse = { return message; }, - fromJSON(object: any): MsgMigrateContractResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgMigrateContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgMigrateContractResponse { const message = createBaseMsgMigrateContractResponse(); message.data = object.data ?? new Uint8Array(); @@ -820,22 +810,6 @@ export const MsgUpdateAdmin = { return message; }, - fromJSON(object: any): MsgUpdateAdmin { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: MsgUpdateAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): MsgUpdateAdmin { const message = createBaseMsgUpdateAdmin(); message.sender = object.sender ?? ""; @@ -855,7 +829,7 @@ export const MsgUpdateAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateAdminResponse(); @@ -873,15 +847,6 @@ export const MsgUpdateAdminResponse = { return message; }, - fromJSON(_: any): MsgUpdateAdminResponse { - return {}; - }, - - toJSON(_: MsgUpdateAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgUpdateAdminResponse { const message = createBaseMsgUpdateAdminResponse(); return message; @@ -935,20 +900,6 @@ export const MsgClearAdmin = { return message; }, - fromJSON(object: any): MsgClearAdmin { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: MsgClearAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): MsgClearAdmin { const message = createBaseMsgClearAdmin(); message.sender = object.sender ?? ""; @@ -967,7 +918,7 @@ export const MsgClearAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgClearAdminResponse(); @@ -985,15 +936,6 @@ export const MsgClearAdminResponse = { return message; }, - fromJSON(_: any): MsgClearAdminResponse { - return {}; - }, - - toJSON(_: MsgClearAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgClearAdminResponse { const message = createBaseMsgClearAdminResponse(); return message; diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts rename to examples/contracts/codegen/cosmwasm/wasm/v1/types.ts index f7eeb3c67..56b834240 100644 --- a/examples/telescope-with-contracts/codegen/cosmwasm/wasm/v1/types.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts @@ -1,8 +1,8 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** AccessType permission types */ + export enum AccessType { /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ ACCESS_TYPE_UNSPECIFIED = 0, @@ -17,6 +17,22 @@ export enum AccessType { ACCESS_TYPE_EVERYBODY = 3, UNRECOGNIZED = -1, } +/** AccessType permission types */ + +export enum AccessTypeSDKType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} export function accessTypeFromJSON(object: any): AccessType { switch (object) { case 0: @@ -59,8 +75,8 @@ export function accessTypeToJSON(object: AccessType): string { return "UNKNOWN"; } } - /** ContractCodeHistoryOperationType actions that caused a code change */ + export enum ContractCodeHistoryOperationType { /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, @@ -75,6 +91,22 @@ export enum ContractCodeHistoryOperationType { CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, UNRECOGNIZED = -1, } +/** ContractCodeHistoryOperationType actions that caused a code change */ + +export enum ContractCodeHistoryOperationTypeSDKType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { switch (object) { case 0: @@ -117,99 +149,194 @@ export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHisto return "UNKNOWN"; } } - /** AccessTypeParam */ + export interface AccessTypeParam { value: AccessType; } +/** AccessTypeParam */ +export interface AccessTypeParamSDKType { + value: AccessTypeSDKType; +} /** AccessConfig access control type. */ + export interface AccessConfig { permission: AccessType; address: string; } +/** AccessConfig access control type. */ +export interface AccessConfigSDKType { + permission: AccessTypeSDKType; + address: string; +} /** Params defines the set of wasm parameters. */ + export interface Params { codeUploadAccess: AccessConfig | undefined; instantiateDefaultPermission: AccessType; maxWasmCodeSize: Long; } +/** Params defines the set of wasm parameters. */ +export interface ParamsSDKType { + code_upload_access: AccessConfigSDKType | undefined; + instantiate_default_permission: AccessTypeSDKType; + max_wasm_code_size: Long; +} /** CodeInfo is data for the uploaded contract WASM code */ + export interface CodeInfo { /** CodeHash is the unique identifier created by wasmvm */ codeHash: Uint8Array; - /** Creator address who initially stored the code */ - creator: string; + creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ + instantiateConfig: AccessConfig | undefined; } +/** CodeInfo is data for the uploaded contract WASM code */ + +export interface CodeInfoSDKType { + /** CodeHash is the unique identifier created by wasmvm */ + code_hash: Uint8Array; + /** Creator address who initially stored the code */ + + creator: string; + /** InstantiateConfig access control to apply on contract creation, optional */ + instantiate_config: AccessConfigSDKType | undefined; +} /** ContractInfo stores a WASM contract instance */ + export interface ContractInfo { /** CodeID is the reference to the stored Wasm code */ codeId: Long; - /** Creator address who initially instantiated the contract */ - creator: string; + creator: string; /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** Label is optional metadata to be stored with a contract instance. */ - label: string; + label: string; /** * Created Tx position when the contract was instantiated. * This data should kept internal and not be exposed via query results. Just * use for sorting */ + created: AbsoluteTxPosition | undefined; ibcPortId: string; - /** * Extension is an extension point to store custom metadata within the * persistence model. */ + extension: Any | undefined; } +/** ContractInfo stores a WASM contract instance */ +export interface ContractInfoSDKType { + /** CodeID is the reference to the stored Wasm code */ + code_id: Long; + /** Creator address who initially instantiated the contract */ + + creator: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + + created: AbsoluteTxPositionSDKType | undefined; + ibc_port_id: string; + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + + extension: AnySDKType | undefined; +} /** ContractCodeHistoryEntry metadata to a contract. */ + export interface ContractCodeHistoryEntry { operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Updated Tx position when the operation was executed. */ + updated: AbsoluteTxPosition | undefined; msg: Uint8Array; } +/** ContractCodeHistoryEntry metadata to a contract. */ + +export interface ContractCodeHistoryEntrySDKType { + operation: ContractCodeHistoryOperationTypeSDKType; + /** CodeID is the reference to the stored WASM code */ + code_id: Long; + /** Updated Tx position when the operation was executed. */ + + updated: AbsoluteTxPositionSDKType | undefined; + msg: Uint8Array; +} /** * AbsoluteTxPosition is a unique transaction position that allows for global * ordering of transactions. */ + export interface AbsoluteTxPosition { /** BlockHeight is the block the contract was created at */ blockHeight: Long; - /** * TxIndex is a monotonic counter within the block (actual transaction index, * or gas consumed) */ + txIndex: Long; } +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ + +export interface AbsoluteTxPositionSDKType { + /** BlockHeight is the block the contract was created at */ + block_height: Long; + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + tx_index: Long; +} /** Model is a struct that holds a KV pair */ + export interface Model { /** hex-encode key to read it better (this is often ascii) */ key: Uint8Array; + /** base64-encode raw value */ + value: Uint8Array; +} +/** Model is a struct that holds a KV pair */ + +export interface ModelSDKType { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; /** base64-encode raw value */ + value: Uint8Array; } @@ -250,18 +377,6 @@ export const AccessTypeParam = { return message; }, - fromJSON(object: any): AccessTypeParam { - return { - value: isSet(object.value) ? accessTypeFromJSON(object.value) : 0 - }; - }, - - toJSON(message: AccessTypeParam): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); - return obj; - }, - fromPartial(object: Partial): AccessTypeParam { const message = createBaseAccessTypeParam(); message.value = object.value ?? 0; @@ -316,20 +431,6 @@ export const AccessConfig = { return message; }, - fromJSON(object: any): AccessConfig { - return { - permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : 0, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: AccessConfig): unknown { - const obj: any = {}; - message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: Partial): AccessConfig { const message = createBaseAccessConfig(); message.permission = object.permission ?? 0; @@ -394,22 +495,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - codeUploadAccess: isSet(object.codeUploadAccess) ? AccessConfig.fromJSON(object.codeUploadAccess) : undefined, - instantiateDefaultPermission: isSet(object.instantiateDefaultPermission) ? accessTypeFromJSON(object.instantiateDefaultPermission) : 0, - maxWasmCodeSize: isSet(object.maxWasmCodeSize) ? Long.fromString(object.maxWasmCodeSize) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.codeUploadAccess !== undefined && (obj.codeUploadAccess = message.codeUploadAccess ? AccessConfig.toJSON(message.codeUploadAccess) : undefined); - message.instantiateDefaultPermission !== undefined && (obj.instantiateDefaultPermission = accessTypeToJSON(message.instantiateDefaultPermission)); - message.maxWasmCodeSize !== undefined && (obj.maxWasmCodeSize = (message.maxWasmCodeSize || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; @@ -475,22 +560,6 @@ export const CodeInfo = { return message; }, - fromJSON(object: any): CodeInfo { - return { - codeHash: isSet(object.codeHash) ? bytesFromBase64(object.codeHash) : new Uint8Array(), - creator: isSet(object.creator) ? String(object.creator) : "", - instantiateConfig: isSet(object.instantiateConfig) ? AccessConfig.fromJSON(object.instantiateConfig) : undefined - }; - }, - - toJSON(message: CodeInfo): unknown { - const obj: any = {}; - message.codeHash !== undefined && (obj.codeHash = base64FromBytes(message.codeHash !== undefined ? message.codeHash : new Uint8Array())); - message.creator !== undefined && (obj.creator = message.creator); - message.instantiateConfig !== undefined && (obj.instantiateConfig = message.instantiateConfig ? AccessConfig.toJSON(message.instantiateConfig) : undefined); - return obj; - }, - fromPartial(object: Partial): CodeInfo { const message = createBaseCodeInfo(); message.codeHash = object.codeHash ?? new Uint8Array(); @@ -592,30 +661,6 @@ export const ContractInfo = { return message; }, - fromJSON(object: any): ContractInfo { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - creator: isSet(object.creator) ? String(object.creator) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - label: isSet(object.label) ? String(object.label) : "", - created: isSet(object.created) ? AbsoluteTxPosition.fromJSON(object.created) : undefined, - ibcPortId: isSet(object.ibcPortId) ? String(object.ibcPortId) : "", - extension: isSet(object.extension) ? Any.fromJSON(object.extension) : undefined - }; - }, - - toJSON(message: ContractInfo): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.admin !== undefined && (obj.admin = message.admin); - message.label !== undefined && (obj.label = message.label); - message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toJSON(message.created) : undefined); - message.ibcPortId !== undefined && (obj.ibcPortId = message.ibcPortId); - message.extension !== undefined && (obj.extension = message.extension ? Any.toJSON(message.extension) : undefined); - return obj; - }, - fromPartial(object: Partial): ContractInfo { const message = createBaseContractInfo(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -694,24 +739,6 @@ export const ContractCodeHistoryEntry = { return message; }, - fromJSON(object: any): ContractCodeHistoryEntry { - return { - operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : 0, - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - updated: isSet(object.updated) ? AbsoluteTxPosition.fromJSON(object.updated) : undefined, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: ContractCodeHistoryEntry): unknown { - const obj: any = {}; - message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toJSON(message.updated) : undefined); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ContractCodeHistoryEntry { const message = createBaseContractCodeHistoryEntry(); message.operation = object.operation ?? 0; @@ -769,20 +796,6 @@ export const AbsoluteTxPosition = { return message; }, - fromJSON(object: any): AbsoluteTxPosition { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.UZERO, - txIndex: isSet(object.txIndex) ? Long.fromString(object.txIndex) : Long.UZERO - }; - }, - - toJSON(message: AbsoluteTxPosition): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.UZERO).toString()); - message.txIndex !== undefined && (obj.txIndex = (message.txIndex || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): AbsoluteTxPosition { const message = createBaseAbsoluteTxPosition(); message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; @@ -838,20 +851,6 @@ export const Model = { return message; }, - fromJSON(object: any): Model { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - - toJSON(message: Model): 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): Model { const message = createBaseModel(); message.key = object.key ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/gogoproto/bundle.ts b/examples/contracts/codegen/gogoproto/bundle.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/gogoproto/bundle.ts rename to examples/contracts/codegen/gogoproto/bundle.ts diff --git a/examples/telescope-with-contracts/codegen/gogoproto/gogo.ts b/examples/contracts/codegen/gogoproto/gogo.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/gogoproto/gogo.ts rename to examples/contracts/codegen/gogoproto/gogo.ts diff --git a/examples/telescope-with-contracts/codegen/google/api/annotations.ts b/examples/contracts/codegen/google/api/annotations.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/google/api/annotations.ts rename to examples/contracts/codegen/google/api/annotations.ts diff --git a/examples/telescope-with-contracts/codegen/google/api/http.ts b/examples/contracts/codegen/google/api/http.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/google/api/http.ts rename to examples/contracts/codegen/google/api/http.ts index 9185ccdc6..e9b66e52a 100644 --- a/examples/telescope-with-contracts/codegen/google/api/http.ts +++ b/examples/contracts/codegen/google/api/http.ts @@ -1,11 +1,10 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 * to one or more HTTP REST API methods. */ + export interface Http { /** * A list of HTTP configuration rules that apply to individual API methods. @@ -13,7 +12,6 @@ export interface Http { * **NOTE:** All service configuration rules follow "last one wins" order. */ rules: HttpRule[]; - /** * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be @@ -22,9 +20,33 @@ export interface Http { * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. */ + fullyDecodeReservedExpansion: boolean; } +/** + * 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 + * to one or more HTTP REST API methods. + */ +export interface HttpSDKType { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRuleSDKType[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + + fully_decode_reserved_expansion: boolean; +} /** * # gRPC Transcoding * @@ -296,6 +318,7 @@ export interface Http { * the request or response body to a repeated field. However, some gRPC * Transcoding implementations may not support this feature. */ + export interface HttpRule { /** * Selects a method to which this rule applies. @@ -303,33 +326,32 @@ export interface HttpRule { * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. */ selector: string; - /** * Maps to HTTP GET. Used for listing and getting information about * resources. */ - get?: string; + get?: string; /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; + put?: string; /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; + post?: string; /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; + delete?: string; /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; + patch?: string; /** * The custom pattern is used for specifying an HTTP method that is not * included in the `pattern` field, such as HEAD, or "*" to leave the * HTTP method unspecified for this rule. The wild-card rule is useful * for services that provide content to Web (HTML) clients. */ - custom?: CustomHttpPattern | undefined; + custom?: CustomHttpPattern | undefined; /** * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path @@ -338,8 +360,8 @@ export interface HttpRule { * NOTE: the referred field must be present at the top-level of the request * message type. */ - body: string; + body: string; /** * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used @@ -348,22 +370,365 @@ export interface HttpRule { * NOTE: The referred field must be present at the top-level of the response * message type. */ - responseBody: string; + responseBody: string; /** * Additional HTTP bindings for the selector. Nested bindings must * not contain an `additional_bindings` field themselves (that is, * the nesting may only be one level deep). */ + additionalBindings: HttpRule[]; } +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ + +export interface HttpRuleSDKType { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + get?: string; + /** Maps to HTTP PUT. Used for replacing a resource. */ + + put?: string; + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + + post?: string; + /** Maps to HTTP DELETE. Used for deleting a resource. */ + + delete?: string; + /** Maps to HTTP PATCH. Used for updating a resource. */ + + patch?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + + custom?: CustomHttpPatternSDKType | undefined; + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + + body: string; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + + response_body: string; + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + + additional_bindings: HttpRuleSDKType[]; +} /** A custom pattern is used for defining custom HTTP verb. */ + export interface CustomHttpPattern { /** The name of this custom HTTP verb. */ kind: string; + /** The path matched by this custom verb. */ + path: string; +} +/** A custom pattern is used for defining custom HTTP verb. */ + +export interface CustomHttpPatternSDKType { + /** The name of this custom HTTP verb. */ + kind: string; /** The path matched by this custom verb. */ + path: string; } @@ -413,26 +778,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)) || []; @@ -560,42 +905,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 ?? ""; @@ -659,20 +968,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/examples/telescope-with-contracts/codegen/google/bundle.ts b/examples/contracts/codegen/google/bundle.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/google/bundle.ts rename to examples/contracts/codegen/google/bundle.ts diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/any.ts b/examples/contracts/codegen/google/protobuf/any.ts similarity index 57% rename from examples/telescope-with-contracts/codegen/google/protobuf/any.ts rename to examples/contracts/codegen/google/protobuf/any.ts index 897c0029e..6d43102eb 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/any.ts +++ b/examples/contracts/codegen/google/protobuf/any.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * `Any` contains an arbitrary serialized protocol buffer message along with a * URL that describes the type of the serialized message. @@ -82,6 +80,7 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * "value": "1.212s" * } */ + export interface Any { /** * A URL/resource name that uniquely identifies the type of the serialized @@ -113,8 +112,125 @@ export interface Any { * used with implementation specific semantics. */ typeUrl: string; + /** Must be a valid serialized protocol buffer of the above specified type. */ + 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 AnySDKType { + /** + * 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_url: string; /** Must be a valid serialized protocol buffer of the above specified type. */ + value: Uint8Array; } @@ -164,20 +280,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/examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts b/examples/contracts/codegen/google/protobuf/descriptor.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts rename to examples/contracts/codegen/google/protobuf/descriptor.ts index b549b17b1..d249844b2 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/descriptor.ts +++ b/examples/contracts/codegen/google/protobuf/descriptor.ts @@ -1,6 +1,6 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export enum FieldDescriptorProto_Type { /** * TYPE_DOUBLE - 0 is reserved for errors. @@ -49,6 +49,54 @@ export enum FieldDescriptorProto_Type { TYPE_SINT64 = 18, UNRECOGNIZED = -1, } +export enum FieldDescriptorProto_TypeSDKType { + /** + * 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { switch (object) { case 1: @@ -196,6 +244,13 @@ export enum FieldDescriptorProto_Label { LABEL_REPEATED = 3, UNRECOGNIZED = -1, } +export enum FieldDescriptorProto_LabelSDKType { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { switch (object) { case 1: @@ -231,8 +286,8 @@ export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_La return "UNKNOWN"; } } - /** Generated classes can be optimized for speed or code size. */ + export enum FileOptions_OptimizeMode { /** * SPEED - Generate complete code for parsing, serialization, @@ -247,6 +302,22 @@ export enum FileOptions_OptimizeMode { LITE_RUNTIME = 3, UNRECOGNIZED = -1, } +/** Generated classes can be optimized for speed or code size. */ + +export enum FileOptions_OptimizeModeSDKType { + /** + * 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { switch (object) { case 1: @@ -289,6 +360,13 @@ export enum FieldOptions_CType { STRING_PIECE = 2, UNRECOGNIZED = -1, } +export enum FieldOptions_CTypeSDKType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { switch (object) { case 0: @@ -335,6 +413,17 @@ export enum FieldOptions_JSType { JS_NUMBER = 2, UNRECOGNIZED = -1, } +export enum FieldOptions_JSTypeSDKType { + /** 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { switch (object) { case 0: @@ -370,12 +459,12 @@ export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { return "UNKNOWN"; } } - /** * 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 enum MethodOptions_IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, @@ -386,6 +475,22 @@ export enum MethodOptions_IdempotencyLevel { IDEMPOTENT = 2, UNRECOGNIZED = -1, } +/** + * 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 enum MethodOptions_IdempotencyLevelSDKType { + IDEMPOTENCY_UNKNOWN = 0, + + /** NO_SIDE_EFFECTS - implies idempotent */ + NO_SIDE_EFFECTS = 1, + + /** IDEMPOTENT - idempotent, but may have side effects */ + IDEMPOTENT = 2, + UNRECOGNIZED = -1, +} export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { switch (object) { case 0: @@ -421,56 +526,104 @@ export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_Idemp return "UNKNOWN"; } } - /** * The protocol compiler can output a FileDescriptorSet containing the .proto * files it parses. */ + export interface FileDescriptorSet { file: FileDescriptorProto[]; } +/** + * 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[]; + dependency: string[]; /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; + publicDependency: number[]; /** * Indexes of the weak imported files in the dependency list. * For Google-internal migration only. Do not use. */ - weakDependency: number[]; + weakDependency: number[]; /** All top-level definitions in this file. */ + messageType: DescriptorProto[]; enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; options: FileOptions | undefined; - /** * 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 | undefined; + sourceCodeInfo: SourceCodeInfo | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". */ + syntax: string; } +/** Describes a complete .proto file. */ + +export interface FileDescriptorProtoSDKType { + /** 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: DescriptorProtoSDKType[]; + enum_type: EnumDescriptorProtoSDKType[]; + service: ServiceDescriptorProtoSDKType[]; + extension: FieldDescriptorProtoSDKType[]; + options: FileOptionsSDKType | undefined; + /** + * 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: SourceCodeInfoSDKType | undefined; + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + syntax: string; +} /** Describes a message type. */ + export interface DescriptorProto { name: string; field: FieldDescriptorProto[]; @@ -481,51 +634,94 @@ export interface DescriptorProto { oneofDecl: OneofDescriptorProto[]; options: MessageOptions | undefined; 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[]; } +/** 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 | undefined; + reserved_range: DescriptorProto_ReservedRangeSDKType[]; + /** + * 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 DescriptorProto_ExtensionRange { /** Inclusive. */ start: number; - /** Exclusive. */ + end: number; options: ExtensionRangeOptions | undefined; } +export interface DescriptorProto_ExtensionRangeSDKType { + /** Inclusive. */ + start: number; + /** Exclusive. */ + end: number; + options: ExtensionRangeOptionsSDKType | undefined; +} /** * 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; +} +/** + * 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 { + /** Inclusive. */ + start: number; /** Exclusive. */ + end: number; } export interface ExtensionRangeOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } - +export interface ExtensionRangeOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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; + 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 @@ -533,14 +729,14 @@ export interface FieldDescriptorProto { * message are searched, then within the parent, on up to the root * namespace). */ - typeName: string; + 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; + extendee: string; /** * For numeric types, contains the original text representation of the value. * For booleans, "true" or "false". @@ -548,98 +744,226 @@ export interface FieldDescriptorProto { * For bytes, contains the C escaped value. All bytes >= 128 are escaped. * TODO(kenton): Base-64 encode? */ - defaultValue: string; + 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; + 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 | undefined; } +/** Describes a field within a message. */ + +export interface FieldDescriptorProtoSDKType { + name: string; + number: number; + label: FieldDescriptorProto_LabelSDKType; + /** + * 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_TypeSDKType; + /** + * 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: FieldOptionsSDKType | undefined; +} /** Describes a oneof. */ + export interface OneofDescriptorProto { name: string; options: OneofOptions | undefined; } +/** Describes a oneof. */ +export interface OneofDescriptorProtoSDKType { + name: string; + options: OneofOptionsSDKType | undefined; +} /** Describes an enum type. */ + export interface EnumDescriptorProto { name: string; value: EnumValueDescriptorProto[]; options: EnumOptions | undefined; - /** * 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[]; + reservedRange: EnumDescriptorProto_EnumReservedRange[]; /** * Reserved enum value names, which may not be reused. A given name may only * be reserved once. */ + reservedName: string[]; } +/** Describes an enum type. */ -/** - * Range of reserved numeric values. Reserved values may not be used by +export interface EnumDescriptorProtoSDKType { + name: string; + value: EnumValueDescriptorProtoSDKType[]; + options: EnumOptionsSDKType | undefined; + /** + * 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_EnumReservedRangeSDKType[]; + /** + * Reserved enum value names, which may not be reused. A given name may only + * be reserved once. + */ + + 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; } +/** + * 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 { + /** Inclusive. */ + start: number; + /** Inclusive. */ + end: number; +} /** Describes a value within an enum. */ + export interface EnumValueDescriptorProto { name: string; number: number; options: EnumValueOptions | undefined; } +/** Describes a value within an enum. */ +export interface EnumValueDescriptorProtoSDKType { + name: string; + number: number; + options: EnumValueOptionsSDKType | undefined; +} /** Describes a service. */ + export interface ServiceDescriptorProto { name: string; method: MethodDescriptorProto[]; options: ServiceOptions | undefined; } +/** Describes a service. */ +export interface ServiceDescriptorProtoSDKType { + name: string; + method: MethodDescriptorProtoSDKType[]; + options: ServiceOptionsSDKType | undefined; +} /** 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 | undefined; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; + clientStreaming: boolean; /** Identifies if server streams multiple server messages */ + serverStreaming: boolean; } +/** Describes a method of a service. */ + +export interface MethodDescriptorProtoSDKType { + 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: MethodOptionsSDKType | undefined; + /** Identifies if client streams multiple client messages */ + + client_streaming: boolean; + /** Identifies if server streams multiple server messages */ + + server_streaming: boolean; +} export interface FileOptions { /** * Sets the Java package where classes generated from this .proto will be @@ -648,7 +972,6 @@ export interface FileOptions { * 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 @@ -656,8 +979,8 @@ export interface FileOptions { * a .proto always translates to a single class, but you may want to * explicitly choose the class name). */ - javaOuterClassname: string; + 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 @@ -666,13 +989,13 @@ export interface FileOptions { * generated to contain the file's getDescriptor() method as well as any * top-level extensions defined in the file. */ - javaMultipleFiles: boolean; + javaMultipleFiles: boolean; /** This option does nothing. */ /** @deprecated */ - javaGenerateEqualsAndHash: boolean; + 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 @@ -681,9 +1004,9 @@ export interface FileOptions { * 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: @@ -691,8 +1014,8 @@ export interface FileOptions { * - Otherwise, the package statement in the .proto file, if present. * - Otherwise, the basename of the .proto file, without extension. */ - goPackage: string; + 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 @@ -705,75 +1028,210 @@ export interface FileOptions { * 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; + deprecated: boolean; /** * Enables the use of arenas for the proto messages in this file. This applies * only to generated classes for C++. */ - ccEnableArenas: boolean; + 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; + objcClassPrefix: string; /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; + 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; + swiftPrefix: string; /** * Sets the php class prefix which is prepended to all php generated classes * from this .proto. Default is empty. */ - phpClassPrefix: string; + 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; + 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; + 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; + rubyPackage: string; /** * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface FileOptionsSDKType { + /** + * 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_OptimizeModeSDKType; + /** + * 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: UninterpretedOptionSDKType[]; +} export interface MessageOptions { /** * Set true to use the old proto1 MessageSet wire format for extensions. @@ -796,22 +1254,21 @@ export interface MessageOptions { * 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; + 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; + deprecated: boolean; /** * Whether the message is an automatically generated map entry type for the * maps field. @@ -835,32 +1292,98 @@ export interface MessageOptions { * instead. The option should only be implicitly set by the proto compiler * parser. */ - mapEntry: boolean; + mapEntry: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } -export interface FieldOptions { +export interface MessageOptionsSDKType { /** - * 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! + * 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". */ - ctype: FieldOptions_CType; + no_standard_descriptor_accessor: boolean; /** - * 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. + * 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. */ - packed: boolean; + deprecated: 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 + * 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: 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. @@ -871,8 +1394,8 @@ export interface FieldOptions { * This option is an enum to permit additional types to be added, e.g. * goog.math.Integer. */ - jstype: FieldOptions_JSType; + 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 @@ -903,44 +1426,146 @@ export interface FieldOptions { * check its required fields, regardless of whether or not the message has * been parsed. */ - lazy: boolean; + 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; + deprecated: boolean; /** For Google-internal migration only. Do not use. */ - weak: boolean; + weak: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface FieldOptionsSDKType { + /** + * 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_CTypeSDKType; + /** + * 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_JSTypeSDKType; + /** + * 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: UninterpretedOptionSDKType[]; +} export interface OneofOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } +export interface OneofOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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; + deprecated: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface EnumOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface EnumValueOptions { /** * Is this enum value deprecated? @@ -949,10 +1574,22 @@ export interface EnumValueOptions { * 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 EnumValueOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface ServiceOptions { /** * Is this service deprecated? @@ -961,10 +1598,22 @@ export interface ServiceOptions { * this is a formalization for deprecating services. */ deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface ServiceOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface MethodOptions { /** * Is this method deprecated? @@ -974,11 +1623,23 @@ export interface MethodOptions { */ deprecated: boolean; idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface MethodOptionsSDKType { + /** + * 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_IdempotencyLevelSDKType; + /** The parser stores options it doesn't recognize here. See above. */ + 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. @@ -987,13 +1648,14 @@ export interface MethodOptions { * 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; @@ -1001,7 +1663,29 @@ export interface UninterpretedOption { stringValue: Uint8Array; aggregateValue: string; } +/** + * 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[]; + /** + * 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: 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 @@ -1009,15 +1693,28 @@ export interface UninterpretedOption { * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents * "foo.(bar.baz).qux". */ + export interface UninterpretedOption_NamePart { namePart: string; isExtension: boolean; } +/** + * 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 @@ -1064,9 +1761,152 @@ export interface SourceCodeInfo { * ignore those that it doesn't understand, as more types of locations could * be recorded in the future. */ - location: SourceCodeInfo_Location[]; + location: SourceCodeInfo_Location[]; +} +/** + * Encapsulates information about the original source file from which a + * FileDescriptorProto was generated. + */ + +export interface SourceCodeInfoSDKType { + /** + * 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_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_Location { +export interface SourceCodeInfo_LocationSDKType { /** * Identifies which part of the FileDescriptorProto was defined at this * location. @@ -1093,7 +1933,6 @@ export interface SourceCodeInfo_Location { * 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. @@ -1101,8 +1940,8 @@ export interface SourceCodeInfo_Location { * and column numbers are zero-based -- typically you will want to add * 1 to each before displaying to a user. */ - span: number[]; + span: number[]; /** * If this SourceCodeInfo represents a complete declaration, these are any * comments appearing before and after the declaration which appear to be @@ -1152,16 +1991,17 @@ export interface SourceCodeInfo_Location { * * // ignored detached comments. */ - leadingComments: string; - trailingComments: string; - leadingDetachedComments: string[]; -} + 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 @@ -1169,27 +2009,63 @@ export interface GeneratedCodeInfo { */ annotation: GeneratedCodeInfo_Annotation[]; } +/** + * 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 { + /** + * An Annotation connects some span of text in generated code to an element + * of its generating .proto file. + */ + 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; + 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_AnnotationSDKType { + /** + * 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; } @@ -1230,24 +2106,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)) || []; @@ -1417,76 +2275,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 ?? ""; @@ -1624,78 +2412,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 ?? ""; @@ -1768,22 +2484,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; @@ -1840,20 +2540,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; @@ -1900,24 +2586,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)) || []; @@ -2044,36 +2712,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) : 0, - type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : 0, - 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 ?? ""; @@ -2137,20 +2775,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 ?? ""; @@ -2233,43 +2857,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 ?? ""; @@ -2328,20 +2915,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; @@ -2406,22 +2979,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 ?? ""; @@ -2487,28 +3044,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 ?? ""; @@ -2601,28 +3136,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 ?? ""; @@ -2853,64 +3366,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) : 0, - 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 ?? ""; @@ -3012,32 +3467,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; @@ -3141,36 +3570,6 @@ export const FieldOptions = { return message; }, - fromJSON(object: any): FieldOptions { - return { - ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0, - packed: isSet(object.packed) ? Boolean(object.packed) : false, - jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : 0, - 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 ?? 0; @@ -3222,24 +3621,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)) || []; @@ -3303,28 +3684,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; @@ -3381,26 +3740,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; @@ -3456,26 +3795,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; @@ -3540,28 +3859,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) : 0, - 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; @@ -3663,36 +3960,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) ? Long.fromString(object.positiveIntValue) : Long.UZERO, - negativeIntValue: isSet(object.negativeIntValue) ? Long.fromString(object.negativeIntValue) : Long.ZERO, - 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 || Long.UZERO).toString()); - message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || Long.ZERO).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)) || []; @@ -3753,20 +4020,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 ?? ""; @@ -3813,24 +4066,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)) || []; @@ -3937,43 +4172,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) || []; @@ -4023,24 +4221,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)) || []; @@ -4126,30 +4306,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/examples/telescope-with-contracts/codegen/google/protobuf/duration.ts b/examples/contracts/codegen/google/protobuf/duration.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/google/protobuf/duration.ts rename to examples/contracts/codegen/google/protobuf/duration.ts index 4438b0c5f..52bb3dec9 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/duration.ts +++ b/examples/contracts/codegen/google/protobuf/duration.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond @@ -61,6 +60,7 @@ import { Long, isSet } from "@osmonauts/helpers"; * 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 @@ -68,7 +68,85 @@ export interface Duration { * 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; +} +/** + * 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 { + /** + * 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 @@ -77,6 +155,7 @@ export interface Duration { * of the same sign as the `seconds` field. Must be from -999,999,999 * to +999,999,999 inclusive. */ + nanos: number; } @@ -126,20 +205,6 @@ export const Duration = { return message; }, - fromJSON(object: any): Duration { - return { - seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - - toJSON(message: Duration): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/empty.ts b/examples/contracts/codegen/google/protobuf/empty.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/google/protobuf/empty.ts rename to examples/contracts/codegen/google/protobuf/empty.ts index 19603f65e..e4fffa295 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/empty.ts +++ b/examples/contracts/codegen/google/protobuf/empty.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; - /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -11,7 +10,21 @@ import * as _m0 from "protobufjs/minimal"; * * The JSON representation for `Empty` is empty JSON object `{}`. */ + export interface Empty {} +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ + +export interface EmptySDKType {} function createBaseEmpty(): Empty { return {}; @@ -40,15 +53,6 @@ export const Empty = { return message; }, - fromJSON(_: any): Empty { - return {}; - }, - - toJSON(_: Empty): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): Empty { const message = createBaseEmpty(); return message; diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts b/examples/contracts/codegen/google/protobuf/field_mask.ts similarity index 54% rename from examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts rename to examples/contracts/codegen/google/protobuf/field_mask.ts index dd95f4984..0096e4a2b 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/field_mask.ts +++ b/examples/contracts/codegen/google/protobuf/field_mask.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; - /** * `FieldMask` represents a set of symbolic field paths, for example: * @@ -201,10 +200,217 @@ import * as _m0 from "protobufjs/minimal"; * request should verify the included field paths, and return an * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. */ + export interface FieldMask { /** The set of field mask paths. */ paths: string[]; } +/** + * `FieldMask` represents a set of symbolic field paths, for example: + * + * paths: "f.a" + * paths: "f.b.d" + * + * Here `f` represents a field in some root message, `a` and `b` + * fields in the message found in `f`, and `d` a field found in the + * message in `f.b`. + * + * Field masks are used to specify a subset of fields that should be + * returned by a get operation or modified by an update operation. + * Field masks also have a custom JSON encoding (see below). + * + * # Field Masks in Projections + * + * When used in the context of a projection, a response message or + * sub-message is filtered by the API to only contain those fields as + * specified in the mask. For example, if the mask in the previous + * example is applied to a response message as follows: + * + * f { + * a : 22 + * b { + * d : 1 + * x : 2 + * } + * y : 13 + * } + * z: 8 + * + * The result will not contain specific values for fields x,y and z + * (their value will be set to the default, and omitted in proto text + * output): + * + * + * f { + * a : 22 + * b { + * d : 1 + * } + * } + * + * A repeated field is not allowed except at the last position of a + * paths string. + * + * If a FieldMask object is not present in a get operation, the + * operation applies to all fields (as if a FieldMask of all fields + * had been specified). + * + * Note that a field mask does not necessarily apply to the + * top-level response message. In case of a REST get operation, the + * field mask applies directly to the response, but in case of a REST + * list operation, the mask instead applies to each individual message + * in the returned resource list. In case of a REST custom method, + * other definitions may be used. Where the mask applies will be + * clearly documented together with its declaration in the API. In + * any case, the effect on the returned resource/resources is required + * behavior for APIs. + * + * # Field Masks in Update Operations + * + * A field mask in update operations specifies which fields of the + * targeted resource are going to be updated. The API is required + * to only change the values of the fields as specified in the mask + * and leave the others untouched. If a resource is passed in to + * describe the updated values, the API ignores the values of all + * fields not covered by the mask. + * + * If a repeated field is specified for an update operation, new values will + * be appended to the existing repeated field in the target resource. Note that + * a repeated field is only allowed in the last position of a `paths` string. + * + * If a sub-message is specified in the last position of the field mask for an + * update operation, then new value will be merged into the existing sub-message + * in the target resource. + * + * For example, given the target message: + * + * f { + * b { + * d: 1 + * x: 2 + * } + * c: [1] + * } + * + * And an update message: + * + * f { + * b { + * d: 10 + * } + * c: [2] + * } + * + * then if the field mask is: + * + * paths: ["f.b", "f.c"] + * + * then the result will be: + * + * f { + * b { + * d: 10 + * x: 2 + * } + * c: [1, 2] + * } + * + * An implementation may provide options to override this default behavior for + * repeated and message fields. + * + * In order to reset a field's value to the default, the field must + * be in the mask and set to the default value in the provided resource. + * Hence, in order to reset all fields of a resource, provide a default + * instance of the resource and set all fields in the mask, or do + * not provide a mask as described below. + * + * If a field mask is not present on update, the operation applies to + * all fields (as if a field mask of all fields has been specified). + * Note that in the presence of schema evolution, this may mean that + * fields the client does not know and has therefore not filled into + * the request will be reset to their default. If this is unwanted + * behavior, a specific service may require a client to always specify + * a field mask, producing an error if not. + * + * As with get operations, the location of the resource which + * describes the updated values in the request message depends on the + * operation kind. In any case, the effect of the field mask is + * required to be honored by the API. + * + * ## Considerations for HTTP REST + * + * The HTTP kind of an update operation which uses a field mask must + * be set to PATCH instead of PUT in order to satisfy HTTP semantics + * (PUT must only be used for full updates). + * + * # JSON Encoding of Field Masks + * + * In JSON, a field mask is encoded as a single string where paths are + * separated by a comma. Fields name in each path are converted + * to/from lower-camel naming conventions. + * + * As an example, consider the following message declarations: + * + * message Profile { + * User user = 1; + * Photo photo = 2; + * } + * message User { + * string display_name = 1; + * string address = 2; + * } + * + * In proto a field mask for `Profile` may look as such: + * + * mask { + * paths: "user.display_name" + * paths: "photo" + * } + * + * In JSON, the same mask is represented as below: + * + * { + * mask: "user.displayName,photo" + * } + * + * # Field Masks and Oneof Fields + * + * Field masks treat fields in oneofs just as regular fields. Consider the + * following message: + * + * message SampleMessage { + * oneof test_oneof { + * string name = 4; + * SubMessage sub_message = 9; + * } + * } + * + * The field mask can be: + * + * mask { + * paths: "name" + * } + * + * Or: + * + * mask { + * paths: "sub_message" + * } + * + * Note that oneof type names ("test_oneof" in this case) cannot be used in + * paths. + * + * ## Field Mask Verification + * + * The implementation of any API method which has a FieldMask type field in the + * request should verify the included field paths, and return an + * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + */ + +export interface FieldMaskSDKType { + /** The set of field mask paths. */ + paths: string[]; +} function createBaseFieldMask(): FieldMask { return { @@ -243,24 +449,6 @@ export const FieldMask = { return message; }, - fromJSON(object: any): FieldMask { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: FieldMask): unknown { - const obj: any = {}; - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): FieldMask { const message = createBaseFieldMask(); message.paths = object.paths?.map(e => e) || []; diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/struct.ts b/examples/contracts/codegen/google/protobuf/struct.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/google/protobuf/struct.ts rename to examples/contracts/codegen/google/protobuf/struct.ts index a77781660..b2dd105de 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/struct.ts +++ b/examples/contracts/codegen/google/protobuf/struct.ts @@ -1,18 +1,29 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { isSet, isObject } from "@osmonauts/helpers"; - /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. */ + export enum NullValue { /** NULL_VALUE - Null value. */ NULL_VALUE = 0, UNRECOGNIZED = -1, } +/** + * `NullValue` is a singleton enumeration to represent the null value for the + * `Value` type union. + * + * The JSON representation for `NullValue` is JSON `null`. + */ + +export enum NullValueSDKType { + /** NULL_VALUE - Null value. */ + NULL_VALUE = 0, + UNRECOGNIZED = -1, +} export function nullValueFromJSON(object: any): NullValue { switch (object) { case 0: @@ -38,7 +49,10 @@ export interface Struct_FieldsEntry { key: string; value: Value | undefined; } - +export interface Struct_FieldsEntrySDKType { + key: string; + value: ValueSDKType | undefined; +} /** * `Struct` represents a structured data value, consisting of fields * which map to dynamically typed values. In some languages, `Struct` @@ -49,13 +63,30 @@ export interface Struct_FieldsEntry { * * The JSON representation for `Struct` is JSON object. */ + export interface Struct { /** Unordered map of dynamically typed values. */ fields: { [key: string]: Value | undefined; }; } +/** + * `Struct` represents a structured data value, consisting of fields + * which map to dynamically typed values. In some languages, `Struct` + * might be supported by a native representation. For example, in + * scripting languages like JS a struct is represented as an + * object. The details of that representation are described together + * with the proto support for the language. + * + * The JSON representation for `Struct` is JSON object. + */ +export interface StructSDKType { + /** Unordered map of dynamically typed values. */ + fields: { + [key: string]: ValueSDKType | undefined; + }; +} /** * `Value` represents a dynamically typed value which can be either * null, a number, a string, a boolean, a recursive struct value, or a @@ -64,35 +95,74 @@ export interface Struct { * * The JSON representation for `Value` is JSON value. */ + export interface Value { /** Represents a null value. */ nullValue?: NullValue; - /** Represents a double value. */ - numberValue?: number; + numberValue?: number; /** Represents a string value. */ - stringValue?: string; + stringValue?: string; /** Represents a boolean value. */ - boolValue?: boolean; + boolValue?: boolean; /** Represents a structured value. */ - structValue?: Struct | undefined; + structValue?: Struct | undefined; /** Represents a repeated `Value`. */ + listValue?: ListValue | undefined; } +/** + * `Value` represents a dynamically typed value which can be either + * null, a number, a string, a boolean, a recursive struct value, or a + * list of values. A producer of value is expected to set one of that + * variants, absence of any variant indicates an error. + * + * The JSON representation for `Value` is JSON value. + */ + +export interface ValueSDKType { + /** Represents a null value. */ + null_value?: NullValueSDKType; + /** Represents a double value. */ + + number_value?: number; + /** Represents a string value. */ + + string_value?: string; + /** Represents a boolean value. */ + + bool_value?: boolean; + /** Represents a structured value. */ + struct_value?: StructSDKType | undefined; + /** Represents a repeated `Value`. */ + + list_value?: ListValueSDKType | undefined; +} /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. */ + export interface ListValue { /** Repeated field of dynamically typed values. */ values: Value[]; } +/** + * `ListValue` is a wrapper around a repeated field of values. + * + * The JSON representation for `ListValue` is JSON array. + */ + +export interface ListValueSDKType { + /** Repeated field of dynamically typed values. */ + values: ValueSDKType[]; +} function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { @@ -140,20 +210,6 @@ export const Struct_FieldsEntry = { return message; }, - fromJSON(object: any): Struct_FieldsEntry { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? Value.fromJSON(object.value) : undefined - }; - }, - - toJSON(message: Struct_FieldsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: Partial): Struct_FieldsEntry { const message = createBaseStruct_FieldsEntry(); message.key = object.key ?? ""; @@ -207,30 +263,6 @@ export const Struct = { return message; }, - fromJSON(object: any): Struct { - return { - fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - acc[key] = Value.fromJSON(value); - return acc; - }, {}) : {} - }; - }, - - toJSON(message: Struct): unknown { - const obj: any = {}; - obj.fields = {}; - - if (message.fields) { - Object.entries(message.fields).forEach(([k, v]) => { - obj.fields[k] = Value.toJSON(v); - }); - } - - return obj; - }, - fromPartial(object: Partial): Struct { const message = createBaseStruct(); message.fields = Object.entries(object.fields ?? {}).reduce<{ @@ -329,28 +361,6 @@ export const Value = { return message; }, - fromJSON(object: any): Value { - return { - nullValue: isSet(object.nullValue) ? nullValueFromJSON(object.nullValue) : undefined, - numberValue: isSet(object.numberValue) ? Number(object.numberValue) : undefined, - stringValue: isSet(object.stringValue) ? String(object.stringValue) : undefined, - boolValue: isSet(object.boolValue) ? Boolean(object.boolValue) : undefined, - structValue: isSet(object.structValue) ? Struct.fromJSON(object.structValue) : undefined, - listValue: isSet(object.listValue) ? ListValue.fromJSON(object.listValue) : undefined - }; - }, - - toJSON(message: Value): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.numberValue !== undefined && (obj.numberValue = message.numberValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.structValue !== undefined && (obj.structValue = message.structValue ? Struct.toJSON(message.structValue) : undefined); - message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); - return obj; - }, - fromPartial(object: Partial): Value { const message = createBaseValue(); message.nullValue = object.nullValue ?? undefined; @@ -401,24 +411,6 @@ export const ListValue = { return message; }, - fromJSON(object: any): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromJSON(e)) : [] - }; - }, - - toJSON(message: ListValue): unknown { - const obj: any = {}; - - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - - return obj; - }, - fromPartial(object: Partial): ListValue { const message = createBaseListValue(); message.values = object.values?.map(e => Value.fromPartial(e)) || []; diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts b/examples/contracts/codegen/google/protobuf/timestamp.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts rename to examples/contracts/codegen/google/protobuf/timestamp.ts index 4811fdd08..1b0f08da2 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/timestamp.ts +++ b/examples/contracts/codegen/google/protobuf/timestamp.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/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 @@ -85,6 +84,7 @@ import { Long, isSet } from "@osmonauts/helpers"; * 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 @@ -92,13 +92,114 @@ export interface Timestamp { * 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; +} +/** + * 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 { + /** + * 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; } @@ -148,20 +249,6 @@ export const Timestamp = { return message; }, - fromJSON(object: any): Timestamp { - return { - seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - - toJSON(message: Timestamp): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts b/examples/contracts/codegen/google/protobuf/wrappers.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts rename to examples/contracts/codegen/google/protobuf/wrappers.ts index 5ded8df66..5b3d3aa96 100644 --- a/examples/telescope-with-contracts/codegen/google/protobuf/wrappers.ts +++ b/examples/contracts/codegen/google/protobuf/wrappers.ts @@ -1,95 +1,185 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * Wrapper message for `double`. * * The JSON representation for `DoubleValue` is JSON number. */ + export interface DoubleValue { /** The double value. */ value: number; } +/** + * Wrapper message for `double`. + * + * The JSON representation for `DoubleValue` is JSON number. + */ +export interface DoubleValueSDKType { + /** The double value. */ + value: number; +} /** * Wrapper message for `float`. * * The JSON representation for `FloatValue` is JSON number. */ + export interface FloatValue { /** The float value. */ value: number; } +/** + * Wrapper message for `float`. + * + * The JSON representation for `FloatValue` is JSON number. + */ +export interface FloatValueSDKType { + /** The float value. */ + value: number; +} /** * Wrapper message for `int64`. * * The JSON representation for `Int64Value` is JSON string. */ + export interface Int64Value { /** The int64 value. */ value: Long; } +/** + * Wrapper message for `int64`. + * + * The JSON representation for `Int64Value` is JSON string. + */ +export interface Int64ValueSDKType { + /** The int64 value. */ + value: Long; +} /** * Wrapper message for `uint64`. * * The JSON representation for `UInt64Value` is JSON string. */ + export interface UInt64Value { /** The uint64 value. */ value: Long; } +/** + * Wrapper message for `uint64`. + * + * The JSON representation for `UInt64Value` is JSON string. + */ +export interface UInt64ValueSDKType { + /** The uint64 value. */ + value: Long; +} /** * Wrapper message for `int32`. * * The JSON representation for `Int32Value` is JSON number. */ + export interface Int32Value { /** The int32 value. */ value: number; } +/** + * Wrapper message for `int32`. + * + * The JSON representation for `Int32Value` is JSON number. + */ +export interface Int32ValueSDKType { + /** The int32 value. */ + value: number; +} /** * Wrapper message for `uint32`. * * The JSON representation for `UInt32Value` is JSON number. */ + export interface UInt32Value { /** The uint32 value. */ value: number; } +/** + * Wrapper message for `uint32`. + * + * The JSON representation for `UInt32Value` is JSON number. + */ +export interface UInt32ValueSDKType { + /** The uint32 value. */ + value: number; +} /** * Wrapper message for `bool`. * * The JSON representation for `BoolValue` is JSON `true` and `false`. */ + export interface BoolValue { /** The bool value. */ value: boolean; } +/** + * Wrapper message for `bool`. + * + * The JSON representation for `BoolValue` is JSON `true` and `false`. + */ +export interface BoolValueSDKType { + /** The bool value. */ + value: boolean; +} /** * Wrapper message for `string`. * * The JSON representation for `StringValue` is JSON string. */ + export interface StringValue { /** The string value. */ value: string; } +/** + * Wrapper message for `string`. + * + * The JSON representation for `StringValue` is JSON string. + */ +export interface StringValueSDKType { + /** The string value. */ + value: string; +} /** * Wrapper message for `bytes`. * * The JSON representation for `BytesValue` is JSON string. */ + export interface BytesValue { /** The bytes value. */ value: Uint8Array; } +/** + * Wrapper message for `bytes`. + * + * The JSON representation for `BytesValue` is JSON string. + */ + +export interface BytesValueSDKType { + /** The bytes value. */ + value: Uint8Array; +} function createBaseDoubleValue(): DoubleValue { return { @@ -128,18 +218,6 @@ export const DoubleValue = { return message; }, - fromJSON(object: any): DoubleValue { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: DoubleValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): DoubleValue { const message = createBaseDoubleValue(); message.value = object.value ?? 0; @@ -185,18 +263,6 @@ export const FloatValue = { return message; }, - fromJSON(object: any): FloatValue { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: FloatValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): FloatValue { const message = createBaseFloatValue(); message.value = object.value ?? 0; @@ -242,18 +308,6 @@ export const Int64Value = { return message; }, - fromJSON(object: any): Int64Value { - return { - value: isSet(object.value) ? Long.fromString(object.value) : Long.ZERO - }; - }, - - toJSON(message: Int64Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Int64Value { const message = createBaseInt64Value(); message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; @@ -299,18 +353,6 @@ export const UInt64Value = { return message; }, - fromJSON(object: any): UInt64Value { - return { - value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO - }; - }, - - toJSON(message: UInt64Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): UInt64Value { const message = createBaseUInt64Value(); message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; @@ -356,18 +398,6 @@ export const Int32Value = { return message; }, - fromJSON(object: any): Int32Value { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: Int32Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: Partial): Int32Value { const message = createBaseInt32Value(); message.value = object.value ?? 0; @@ -413,18 +443,6 @@ export const UInt32Value = { return message; }, - fromJSON(object: any): UInt32Value { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: UInt32Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: Partial): UInt32Value { const message = createBaseUInt32Value(); message.value = object.value ?? 0; @@ -470,18 +488,6 @@ export const BoolValue = { return message; }, - fromJSON(object: any): BoolValue { - return { - value: isSet(object.value) ? Boolean(object.value) : false - }; - }, - - toJSON(message: BoolValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): BoolValue { const message = createBaseBoolValue(); message.value = object.value ?? false; @@ -527,18 +533,6 @@ export const StringValue = { return message; }, - fromJSON(object: any): StringValue { - return { - value: isSet(object.value) ? String(object.value) : "" - }; - }, - - toJSON(message: StringValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): StringValue { const message = createBaseStringValue(); message.value = object.value ?? ""; @@ -584,18 +578,6 @@ export const BytesValue = { return message; }, - fromJSON(object: any): BytesValue { - return { - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - - toJSON(message: BytesValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): BytesValue { const message = createBaseBytesValue(); message.value = object.value ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts similarity index 69% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts index 196f933c0..6823b603b 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts @@ -1,13 +1,19 @@ -import { DenomTrace, Params } from "./transfer"; +import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the ibc-transfer genesis state */ + export interface GenesisState { portId: string; denomTraces: DenomTrace[]; params: Params | undefined; } +/** GenesisState defines the ibc-transfer genesis state */ + +export interface GenesisStateSDKType { + port_id: string; + denom_traces: DenomTraceSDKType[]; + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -64,28 +70,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/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts similarity index 53% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts index 5f73eaa31..e0b537285 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -1,29 +1,32 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); } - /* DenomTrace queries a denomination trace information. */ - async denomTrace(params: QueryDenomTraceRequest): Promise { + + + async denomTrace(params: QueryDenomTraceRequest): Promise { const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomTraces queries all denomination traces. */ + + async denomTraces(params: QueryDenomTracesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -33,13 +36,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/apps/transfer/v1/denom_traces`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the ibc-transfer module. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `ibc/apps/transfer/v1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts similarity index 54% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts index e68f597a6..4b4f70753 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - denomTrace(request: QueryDenomTraceRequest): Promise; + denomTrace(request: QueryDenomTraceRequest): Promise; /*DenomTrace queries a denomination trace information.*/ - denomTraces(request: QueryDenomTracesRequest): Promise; + denomTraces(request?: QueryDenomTracesRequest): Promise; /*DenomTraces queries all denomination traces.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries all parameters of the ibc-transfer module.*/ } @@ -26,22 +25,42 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { const data = QueryDenomTraceRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); } - denomTraces(request: QueryDenomTracesRequest): Promise { + denomTraces(request: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { const data = QueryDenomTracesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + denomTrace(request: QueryDenomTraceRequest): Promise { + return queryService.denomTrace(request); + }, + + denomTraces(request?: QueryDenomTracesRequest): Promise { + return queryService.denomTraces(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts similarity index 77% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/query.ts index f052bcb40..556e8fe82 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/query.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts @@ -1,55 +1,102 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC * method */ + export interface QueryDenomTraceRequest { /** hash (in hex format) of the denomination trace information. */ hash: string; } +/** + * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC + * method + */ +export interface QueryDenomTraceRequestSDKType { + /** hash (in hex format) of the denomination trace information. */ + 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 | undefined; } +/** + * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC + * method. + */ +export interface QueryDenomTraceResponseSDKType { + /** denom_trace returns the requested denomination trace information. */ + denom_trace: DenomTraceSDKType | undefined; +} /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC * method */ + export interface QueryDenomTracesRequest { /** pagination defines an optional pagination for the request. */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ +export interface QueryDenomTracesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC + * method. + */ +export interface QueryDenomTracesResponseSDKType { + /** denom_traces returns all denominations trace information. */ + denom_traces: DenomTraceSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { return { @@ -88,18 +135,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 ?? ""; @@ -123,7 +158,7 @@ export const QueryDenomTraceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTraceResponse(); @@ -145,18 +180,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; @@ -202,18 +225,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; @@ -242,7 +253,7 @@ export const QueryDenomTracesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTracesResponse(); @@ -268,26 +279,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)) || []; @@ -324,15 +315,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; @@ -355,7 +337,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -377,18 +359,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/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/transfer.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/transfer.ts index dffc2bc1f..b960d3dbd 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/transfer.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/transfer.ts @@ -1,40 +1,74 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; } +/** + * DenomTrace contains the base denomination for ICS20 fungible tokens and the + * source tracing information path. + */ + +export interface DenomTraceSDKType { + /** + * 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; +} /** * 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; } +/** + * 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 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; +} function createBaseDenomTrace(): DenomTrace { return { @@ -82,20 +116,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 ?? ""; @@ -151,20 +171,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/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts new file mode 100644 index 000000000..3543b950e --- /dev/null +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -0,0 +1,73 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { MsgTransfer } from "./tx"; +export interface AminoMsgTransfer extends AminoMsg { + type: "cosmos-sdk/MsgTransfer"; + value: { + source_port: string; + source_channel: string; + token: { + denom: string; + amount: string; + }; + sender: string; + receiver: string; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; +} +export const AminoConverter = { + "/ibc.applications.transfer.v1.MsgTransfer": { + aminoType: "cosmos-sdk/MsgTransfer", + toAmino: ({ + sourcePort, + sourceChannel, + token, + sender, + receiver, + timeoutHeight, + timeoutTimestamp + }: MsgTransfer): AminoMsgTransfer["value"] => { + return { + source_port: sourcePort, + source_channel: sourceChannel, + token: { + denom: token.denom, + amount: Long.fromNumber(token.amount).toString() + }, + sender, + receiver, + timeout_height: timeoutHeight ? { + revision_height: omitDefault(timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: timeoutTimestamp.toString() + }; + }, + fromAmino: ({ + source_port, + source_channel, + token, + sender, + receiver, + timeout_height, + timeout_timestamp + }: AminoMsgTransfer["value"]): MsgTransfer => { + return { + sourcePort: source_port, + sourceChannel: source_channel, + token: { + denom: token.denom, + amount: token.amount + }, + sender, + receiver, + timeoutHeight: timeout_height ? { + revisionHeight: Long.fromString(timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(timeout_timestamp) + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.registry.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.registry.ts new file mode 100644 index 000000000..548e3b8ca --- /dev/null +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.registry.ts @@ -0,0 +1,37 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgTransfer } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.encode(value).finish() + }; + } + + }, + withTypeUrl: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value + }; + } + + }, + fromPartial: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts similarity index 66% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts index cae05171e..1d91db3c8 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -1,12 +1,10 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgTransfer, MsgTransferResponse } from "./tx"; - +import { MsgTransfer, MsgTransferResponse, MsgTransferResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - transfer(request: MsgTransfer): Promise; + transfer(request: MsgTransfer): Promise; /*Transfer defines a rpc handler method for MsgTransfer.*/ } @@ -18,7 +16,7 @@ export class MsgClientImpl implements Msg { this.transfer = this.transfer.bind(this); } - transfer(request: MsgTransfer): Promise { + transfer(request: MsgTransfer): Promise { const data = MsgTransfer.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts rename to examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts index 75c874f76..602234328 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v1/tx.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts @@ -1,44 +1,81 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; +import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; + sourceChannel: string; /** the tokens to be transferred */ - token: Coin | undefined; + token: Coin | undefined; /** the sender address */ - sender: string; + sender: string; /** the recipient address on the destination chain */ - receiver: string; + receiver: string; /** * Timeout height relative to the current block height. * The timeout is disabled when set to 0. */ - timeoutHeight: Height | undefined; + timeoutHeight: Height | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. */ + timeoutTimestamp: Long; } +/** + * 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 { + /** 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: CoinSDKType | undefined; + /** 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: HeightSDKType | undefined; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeout_timestamp: Long; +} /** MsgTransferResponse defines the Msg/Transfer response type. */ + export interface MsgTransferResponse {} +/** MsgTransferResponse defines the Msg/Transfer response type. */ + +export interface MsgTransferResponseSDKType {} function createBaseMsgTransfer(): MsgTransfer { return { @@ -131,30 +168,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) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgTransfer { const message = createBaseMsgTransfer(); message.sourcePort = object.sourcePort ?? ""; @@ -178,7 +191,7 @@ export const MsgTransferResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTransferResponse(); @@ -196,15 +209,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/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts b/examples/contracts/codegen/ibc/applications/transfer/v2/packet.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts rename to examples/contracts/codegen/ibc/applications/transfer/v2/packet.ts index 6e7cebfa0..98bb4a6bc 100644 --- a/examples/telescope-with-contracts/codegen/ibc/applications/transfer/v2/packet.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v2/packet.ts @@ -1,22 +1,40 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * FungibleTokenPacketData defines a struct for the packet payload * See FungibleTokenPacketData spec: * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures */ + export interface FungibleTokenPacketData { /** the token denomination to be transferred */ denom: string; - /** the token amount to be transferred */ - amount: string; + amount: string; /** the sender address */ + sender: string; + /** the recipient address on the destination chain */ + + receiver: string; +} +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ + +export interface FungibleTokenPacketDataSDKType { + /** the token denomination to be transferred */ + denom: string; + /** the token amount to be transferred */ + + amount: string; + /** the sender address */ + sender: string; /** the recipient address on the destination chain */ + receiver: string; } @@ -84,24 +102,6 @@ export const FungibleTokenPacketData = { return message; }, - fromJSON(object: any): FungibleTokenPacketData { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - sender: isSet(object.sender) ? String(object.sender) : "", - receiver: isSet(object.receiver) ? String(object.receiver) : "" - }; - }, - - toJSON(message: FungibleTokenPacketData): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: Partial): FungibleTokenPacketData { const message = createBaseFungibleTokenPacketData(); message.denom = object.denom ?? ""; diff --git a/examples/telescope-with-contracts/codegen/ibc/bundle.ts b/examples/contracts/codegen/ibc/bundle.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/ibc/bundle.ts rename to examples/contracts/codegen/ibc/bundle.ts index fb9edeb12..9aaf14d88 100644 --- a/examples/telescope-with-contracts/codegen/ibc/bundle.ts +++ b/examples/contracts/codegen/ibc/bundle.ts @@ -22,22 +22,30 @@ import * as _131 from "./lightclients/localhost/v1/localhost"; import * as _132 from "./lightclients/solomachine/v1/solomachine"; import * as _133 from "./lightclients/solomachine/v2/solomachine"; import * as _134 from "./lightclients/tendermint/v1/tendermint"; -import * as _196 from "./applications/transfer/v1/query.lcd"; -import * as _197 from "./core/channel/v1/query.lcd"; -import * as _198 from "./core/client/v1/query.lcd"; -import * as _199 from "./core/connection/v1/query.lcd"; -import * as _200 from "./applications/transfer/v1/query.rpc.query"; -import * as _201 from "./core/channel/v1/query.rpc.query"; -import * as _202 from "./core/client/v1/query.rpc.query"; -import * as _203 from "./core/connection/v1/query.rpc.query"; -import * as _204 from "./core/port/v1/query.rpc.query"; -import * as _205 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _206 from "./core/channel/v1/tx.rpc.msg"; -import * as _207 from "./core/client/v1/tx.rpc.msg"; -import * as _208 from "./core/connection/v1/tx.rpc.msg"; -import * as _215 from "./lcd"; -import * as _216 from "./rpc.query"; -import * as _217 from "./rpc.tx"; +import * as _228 from "./applications/transfer/v1/tx.amino"; +import * as _229 from "./core/channel/v1/tx.amino"; +import * as _230 from "./core/client/v1/tx.amino"; +import * as _231 from "./core/connection/v1/tx.amino"; +import * as _232 from "./applications/transfer/v1/tx.registry"; +import * as _233 from "./core/channel/v1/tx.registry"; +import * as _234 from "./core/client/v1/tx.registry"; +import * as _235 from "./core/connection/v1/tx.registry"; +import * as _236 from "./applications/transfer/v1/query.lcd"; +import * as _237 from "./core/channel/v1/query.lcd"; +import * as _238 from "./core/client/v1/query.lcd"; +import * as _239 from "./core/connection/v1/query.lcd"; +import * as _240 from "./applications/transfer/v1/query.rpc.query"; +import * as _241 from "./core/channel/v1/query.rpc.query"; +import * as _242 from "./core/client/v1/query.rpc.query"; +import * as _243 from "./core/connection/v1/query.rpc.query"; +import * as _244 from "./core/port/v1/query.rpc.query"; +import * as _245 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _246 from "./core/channel/v1/tx.rpc.msg"; +import * as _247 from "./core/client/v1/tx.rpc.msg"; +import * as _248 from "./core/connection/v1/tx.rpc.msg"; +import * as _255 from "./lcd"; +import * as _256 from "./rpc.query"; +import * as _257 from "./rpc.tx"; export namespace ibc { export namespace applications { export namespace transfer { @@ -45,9 +53,11 @@ export namespace ibc { ..._112, ..._113, ..._114, - ..._196, - ..._200, - ..._205 + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 }; export const v2 = { ..._115 }; @@ -59,9 +69,11 @@ export namespace ibc { ..._117, ..._118, ..._119, - ..._197, - ..._201, - ..._206 + ..._229, + ..._233, + ..._237, + ..._241, + ..._246 }; } export namespace client { @@ -69,9 +81,11 @@ export namespace ibc { ..._121, ..._122, ..._123, - ..._198, - ..._202, - ..._207 + ..._230, + ..._234, + ..._238, + ..._242, + ..._247 }; } export namespace commitment { @@ -83,14 +97,16 @@ export namespace ibc { ..._126, ..._127, ..._128, - ..._199, - ..._203, - ..._208 + ..._231, + ..._235, + ..._239, + ..._243, + ..._248 }; } export namespace port { export const v1 = { ..._129, - ..._204 + ..._244 }; } export namespace types { @@ -114,8 +130,8 @@ export namespace ibc { }; } } - export const ClientFactory = { ..._215, - ..._216, - ..._217 + export const ClientFactory = { ..._255, + ..._256, + ..._257 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/client.ts b/examples/contracts/codegen/ibc/client.ts new file mode 100644 index 000000000..4c4240336 --- /dev/null +++ b/examples/contracts/codegen/ibc/client.ts @@ -0,0 +1,50 @@ +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import * as ibcApplicationsTransferV1TxRegistry from "./applications/transfer/v1/tx.registry"; +import * as ibcCoreChannelV1TxRegistry from "./core/channel/v1/tx.registry"; +import * as ibcCoreClientV1TxRegistry from "./core/client/v1/tx.registry"; +import * as ibcCoreConnectionV1TxRegistry from "./core/connection/v1/tx.registry"; +import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx.amino"; +import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; +import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; +import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; +export const getSigningIbcClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]); + const aminoTypes = new AminoTypes({ ...ibcApplicationsTransferV1TxAmino.AminoConverter, + ...ibcCoreChannelV1TxAmino.AminoConverter, + ...ibcCoreClientV1TxAmino.AminoConverter, + ...ibcCoreConnectionV1TxAmino.AminoConverter + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningIbcClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningIbcClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts b/examples/contracts/codegen/ibc/core/channel/v1/channel.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts rename to examples/contracts/codegen/ibc/core/channel/v1/channel.ts index 586ca377a..4ea7be915 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/channel.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/channel.ts @@ -1,11 +1,11 @@ -import { Height } from "../../client/v1/client"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * State defines if a channel is in one of the following states: * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. */ + export enum State { /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ STATE_UNINITIALIZED_UNSPECIFIED = 0, @@ -29,6 +29,34 @@ export enum State { STATE_CLOSED = 4, UNRECOGNIZED = -1, } +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} export function stateFromJSON(object: any): State { switch (object) { case 0: @@ -78,8 +106,8 @@ export function stateToJSON(object: State): string { return "UNKNOWN"; } } - /** Order defines if a channel is ORDERED or UNORDERED */ + export enum Order { /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ ORDER_NONE_UNSPECIFIED = 0, @@ -94,6 +122,22 @@ export enum Order { ORDER_ORDERED = 2, UNRECOGNIZED = -1, } +/** Order defines if a channel is ORDERED or UNORDERED */ + +export enum OrderSDKType { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} export function orderFromJSON(object: any): Order { switch (object) { case 0: @@ -129,72 +173,136 @@ export function orderToJSON(object: Order): string { return "UNKNOWN"; } } - /** * Channel defines pipeline for exactly-once packet delivery between specific * modules on separate blockchains, which has at least one end capable of * sending packets and one end capable of receiving packets. */ + export interface Channel { /** current state of the channel end */ state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel */ - connectionHops: string[]; + connectionHops: string[]; /** opaque channel version, which is agreed upon during the handshake */ + version: string; } +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ + +export interface ChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + version: string; +} /** * IdentifiedChannel defines a channel with additional port and channel * identifier fields. */ + export interface IdentifiedChannel { /** current state of the channel end */ state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel */ - connectionHops: string[]; + connectionHops: string[]; /** opaque channel version, which is agreed upon during the handshake */ - version: string; + version: string; /** port identifier */ - portId: string; + portId: string; /** channel identifier */ + channelId: string; } +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ + +export interface IdentifiedChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; + /** port identifier */ + + port_id: string; + /** channel identifier */ + channel_id: string; +} /** Counterparty defines a channel end counterparty */ + export interface Counterparty { /** port on the counterparty chain which owns the other end of the channel. */ portId: string; - /** channel end on the counterparty chain */ + channelId: string; } +/** Counterparty defines a channel end counterparty */ +export interface CounterpartySDKType { + /** port on the counterparty chain which owns the other end of the channel. */ + port_id: string; + /** channel end on the counterparty chain */ + + channel_id: string; +} /** Packet defines a type that carries data across different chains through IBC */ + export interface Packet { /** * number corresponds to the order of sends and receives, where a Packet @@ -202,49 +310,99 @@ export interface Packet { * with a later sequence number. */ sequence: Long; - /** identifies the port on the sending chain. */ - sourcePort: string; + sourcePort: string; /** identifies the channel end on the sending chain. */ - sourceChannel: string; + sourceChannel: string; /** identifies the port on the receiving chain. */ - destinationPort: string; + destinationPort: string; /** identifies the channel end on the receiving chain. */ - destinationChannel: string; + destinationChannel: string; /** actual opaque bytes transferred directly to the application module */ - data: Uint8Array; + data: Uint8Array; /** block height after which the packet times out */ - timeoutHeight: Height | undefined; + timeoutHeight: Height | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ + timeoutTimestamp: Long; } +/** Packet defines a type that carries data across different chains through IBC */ + +export interface PacketSDKType { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + /** identifies the port on the sending chain. */ + + source_port: string; + /** identifies the channel end on the sending chain. */ + + source_channel: string; + /** identifies the port on the receiving chain. */ + + destination_port: string; + /** identifies the channel end on the receiving chain. */ + + destination_channel: string; + /** actual opaque bytes transferred directly to the application module */ + + data: Uint8Array; + /** block height after which the packet times out */ + + timeout_height: HeightSDKType | undefined; + /** block timestamp (in nanoseconds) after which the packet times out */ + timeout_timestamp: Long; +} /** * PacketState defines the generic type necessary to retrieve and store * packet commitments, acknowledgements, and receipts. * Caller is responsible for knowing the context necessary to interpret this * state as a commitment, acknowledgement, or a receipt. */ + export interface PacketState { /** channel port identifier. */ portId: string; - /** channel unique identifier. */ - channelId: string; + channelId: string; /** packet sequence. */ - sequence: Long; + sequence: Long; /** embedded data that represents packet state. */ + data: Uint8Array; } +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ + +export interface PacketStateSDKType { + /** channel port identifier. */ + port_id: string; + /** channel unique identifier. */ + + channel_id: string; + /** packet sequence. */ + + sequence: Long; + /** embedded data that represents packet state. */ + data: Uint8Array; +} /** * Acknowledgement is the recommended acknowledgement format to be used by * app-specific protocols. @@ -254,10 +412,25 @@ export interface PacketState { * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope */ + export interface Acknowledgement { result?: Uint8Array; error?: string; } +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ + +export interface AcknowledgementSDKType { + result?: Uint8Array; + error?: string; +} function createBaseChannel(): Channel { return { @@ -332,32 +505,6 @@ export const Channel = { return message; }, - fromJSON(object: any): Channel { - return { - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], - version: isSet(object.version) ? String(object.version) : "" - }; - }, - - toJSON(message: Channel): unknown { - const obj: any = {}; - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - - if (message.connectionHops) { - obj.connectionHops = message.connectionHops.map(e => e); - } else { - obj.connectionHops = []; - } - - message.version !== undefined && (obj.version = message.version); - return obj; - }, - fromPartial(object: Partial): Channel { const message = createBaseChannel(); message.state = object.state ?? 0; @@ -461,36 +608,6 @@ export const IdentifiedChannel = { return message; }, - fromJSON(object: any): IdentifiedChannel { - return { - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], - version: isSet(object.version) ? String(object.version) : "", - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: IdentifiedChannel): unknown { - const obj: any = {}; - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - - if (message.connectionHops) { - obj.connectionHops = message.connectionHops.map(e => e); - } else { - obj.connectionHops = []; - } - - message.version !== undefined && (obj.version = message.version); - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): IdentifiedChannel { const message = createBaseIdentifiedChannel(); message.state = object.state ?? 0; @@ -551,20 +668,6 @@ export const Counterparty = { return message; }, - fromJSON(object: any): Counterparty { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: Counterparty): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): Counterparty { const message = createBaseCounterparty(); message.portId = object.portId ?? ""; @@ -674,32 +777,6 @@ export const Packet = { return message; }, - fromJSON(object: any): Packet { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - sourcePort: isSet(object.sourcePort) ? String(object.sourcePort) : "", - sourceChannel: isSet(object.sourceChannel) ? String(object.sourceChannel) : "", - destinationPort: isSet(object.destinationPort) ? String(object.destinationPort) : "", - destinationChannel: isSet(object.destinationChannel) ? String(object.destinationChannel) : "", - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined, - timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO - }; - }, - - toJSON(message: Packet): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.sourcePort !== undefined && (obj.sourcePort = message.sourcePort); - message.sourceChannel !== undefined && (obj.sourceChannel = message.sourceChannel); - message.destinationPort !== undefined && (obj.destinationPort = message.destinationPort); - message.destinationChannel !== undefined && (obj.destinationChannel = message.destinationChannel); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timeoutHeight !== undefined && (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Packet { const message = createBasePacket(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -779,24 +856,6 @@ export const PacketState = { return message; }, - fromJSON(object: any): PacketState { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: PacketState): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketState { const message = createBasePacketState(); message.portId = object.portId ?? ""; @@ -854,20 +913,6 @@ export const Acknowledgement = { return message; }, - fromJSON(object: any): Acknowledgement { - return { - result: isSet(object.result) ? bytesFromBase64(object.result) : undefined, - error: isSet(object.error) ? String(object.error) : undefined - }; - }, - - toJSON(message: Acknowledgement): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = message.result !== undefined ? base64FromBytes(message.result) : undefined); - message.error !== undefined && (obj.error = message.error); - return obj; - }, - fromPartial(object: Partial): Acknowledgement { const message = createBaseAcknowledgement(); message.result = object.result ?? undefined; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts b/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts similarity index 64% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts rename to examples/contracts/codegen/ibc/core/channel/v1/genesis.ts index 54ddd91a8..4dc24900b 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts @@ -1,8 +1,8 @@ -import { IdentifiedChannel, PacketState } from "./channel"; +import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the ibc channel submodule's genesis state. */ + export interface GenesisState { channels: IdentifiedChannel[]; acknowledgements: PacketState[]; @@ -11,20 +11,44 @@ export interface GenesisState { sendSequences: PacketSequence[]; recvSequences: PacketSequence[]; ackSequences: PacketSequence[]; - /** the sequence for the next generated channel identifier */ + nextChannelSequence: Long; } +/** GenesisState defines the ibc channel submodule's genesis state. */ +export interface GenesisStateSDKType { + channels: IdentifiedChannelSDKType[]; + acknowledgements: PacketStateSDKType[]; + commitments: PacketStateSDKType[]; + receipts: PacketStateSDKType[]; + send_sequences: PacketSequenceSDKType[]; + recv_sequences: PacketSequenceSDKType[]; + ack_sequences: PacketSequenceSDKType[]; + /** the sequence for the next generated channel identifier */ + + next_channel_sequence: Long; +} /** * PacketSequence defines the genesis type necessary to retrieve and store * next send and receive sequences. */ + export interface PacketSequence { portId: string; channelId: string; sequence: Long; } +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ + +export interface PacketSequenceSDKType { + port_id: string; + channel_id: string; + sequence: Long; +} function createBaseGenesisState(): GenesisState { return { @@ -126,68 +150,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], - commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], - receipts: Array.isArray(object?.receipts) ? object.receipts.map((e: any) => PacketState.fromJSON(e)) : [], - sendSequences: Array.isArray(object?.sendSequences) ? object.sendSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - recvSequences: Array.isArray(object?.recvSequences) ? object.recvSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - ackSequences: Array.isArray(object?.ackSequences) ? object.ackSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - nextChannelSequence: isSet(object.nextChannelSequence) ? Long.fromString(object.nextChannelSequence) : Long.UZERO - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - if (message.acknowledgements) { - obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.acknowledgements = []; - } - - if (message.commitments) { - obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.commitments = []; - } - - if (message.receipts) { - obj.receipts = message.receipts.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.receipts = []; - } - - if (message.sendSequences) { - obj.sendSequences = message.sendSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.sendSequences = []; - } - - if (message.recvSequences) { - obj.recvSequences = message.recvSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.recvSequences = []; - } - - if (message.ackSequences) { - obj.ackSequences = message.ackSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.ackSequences = []; - } - - message.nextChannelSequence !== undefined && (obj.nextChannelSequence = (message.nextChannelSequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -258,22 +220,6 @@ export const PacketSequence = { return message; }, - fromJSON(object: any): PacketSequence { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: PacketSequence): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): PacketSequence { const message = createBasePacketSequence(); message.portId = object.portId ?? ""; diff --git a/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts new file mode 100644 index 000000000..c3eb887f9 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts @@ -0,0 +1,165 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); + } + /* Channel queries an IBC Channel. */ + + + async channel(params: QueryChannelRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; + return await this.req.get(endpoint); + } + /* Channels queries all the IBC channels of a chain. */ + + + async channels(params: QueryChannelsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels`; + return await this.req.get(endpoint, options); + } + /* ConnectionChannels queries all the channels associated with a connection + end. */ + + + async connectionChannels(params: QueryConnectionChannelsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; + return await this.req.get(endpoint, options); + } + /* ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. */ + + + async channelClientState(params: QueryChannelClientStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; + return await this.req.get(endpoint); + } + /* ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. */ + + + async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint); + } + /* PacketCommitment queries a stored packet commitment hash. */ + + + async packetCommitment(params: QueryPacketCommitmentRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketCommitments returns all the packet commitments hashes associated + with a channel. */ + + + async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; + return await this.req.get(endpoint, options); + } + /* PacketReceipt queries if a given packet sequence has been received on the + queried chain */ + + + async packetReceipt(params: QueryPacketReceiptRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ + + + async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. */ + + + async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.packetCommitmentSequences !== "undefined") { + options.params.packet_commitment_sequences = params.packetCommitmentSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; + return await this.req.get(endpoint, options); + } + /* UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. */ + + + async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; + return await this.req.get(endpoint); + } + /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. */ + + + async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; + return await this.req.get(endpoint); + } + /* NextSequenceReceive returns the next receive sequence for a given channel. */ + + + async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts rename to examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts index 1e3ec7ac1..8a9c38668 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -1,58 +1,55 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponse, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse, QueryNextSequenceReceiveResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - channel(request: QueryChannelRequest): Promise; + channel(request: QueryChannelRequest): Promise; /*Channel queries an IBC Channel.*/ - channels(request: QueryChannelsRequest): Promise; + channels(request?: QueryChannelsRequest): Promise; /*Channels queries all the IBC channels of a chain.*/ - connectionChannels(request: QueryConnectionChannelsRequest): Promise; + connectionChannels(request: QueryConnectionChannelsRequest): Promise; /*ConnectionChannels queries all the channels associated with a connection end.*/ - channelClientState(request: QueryChannelClientStateRequest): Promise; + channelClientState(request: QueryChannelClientStateRequest): Promise; /*ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.*/ - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; /*ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.*/ - packetCommitment(request: QueryPacketCommitmentRequest): Promise; + packetCommitment(request: QueryPacketCommitmentRequest): Promise; /*PacketCommitment queries a stored packet commitment hash.*/ - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; /*PacketCommitments returns all the packet commitments hashes associated with a channel.*/ - packetReceipt(request: QueryPacketReceiptRequest): Promise; + packetReceipt(request: QueryPacketReceiptRequest): Promise; /*PacketReceipt queries if a given packet sequence has been received on the queried chain*/ - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; /*PacketAcknowledgements returns all the packet acknowledgements associated with a channel.*/ - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; /*UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.*/ - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.*/ - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; /*NextSequenceReceive returns the next receive sequence for a given channel.*/ } @@ -76,82 +73,142 @@ export class QueryClientImpl implements Query { this.nextSequenceReceive = this.nextSequenceReceive.bind(this); } - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { const data = QueryChannelRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); } - channels(request: QueryChannelsRequest): Promise { + channels(request: QueryChannelsRequest = { + pagination: undefined + }): Promise { const data = QueryChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); } - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { const data = QueryConnectionChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); } - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { const data = QueryChannelClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); } - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { const data = QueryChannelConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); } - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { const data = QueryPacketCommitmentRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); } - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { const data = QueryPacketCommitmentsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); } - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { const data = QueryPacketReceiptRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); } - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { const data = QueryPacketAcknowledgementRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); } - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); } - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { const data = QueryUnreceivedPacketsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); } - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { const data = QueryUnreceivedAcksRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); } - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { const data = QueryNextSequenceReceiveRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + channel(request: QueryChannelRequest): Promise { + return queryService.channel(request); + }, + + channels(request?: QueryChannelsRequest): Promise { + return queryService.channels(request); + }, + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + return queryService.connectionChannels(request); + }, + + channelClientState(request: QueryChannelClientStateRequest): Promise { + return queryService.channelClientState(request); + }, + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + return queryService.channelConsensusState(request); + }, + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + return queryService.packetCommitment(request); + }, + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + return queryService.packetCommitments(request); + }, + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + return queryService.packetReceipt(request); + }, + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + return queryService.packetAcknowledgement(request); + }, + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + return queryService.packetAcknowledgements(request); + }, + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + return queryService.unreceivedPackets(request); + }, + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + return queryService.unreceivedAcks(request); + }, + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + return queryService.nextSequenceReceive(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts rename to examples/contracts/codegen/ibc/core/channel/v1/query.ts index 05b72e02c..2d6ac82a3 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.ts @@ -1,377 +1,745 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryChannelRequest is the request type for the Query/Channel RPC method */ + export interface QueryChannelRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ + +export interface QueryChannelRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + channel_id: string; +} /** * QueryChannelResponse is the response type for the Query/Channel RPC method. * Besides the Channel end, it includes a proof and the height from which the * proof was retrieved. */ + export interface QueryChannelResponse { /** channel associated with the request identifiers */ channel: Channel | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ + +export interface QueryChannelResponseSDKType { + /** channel associated with the request identifiers */ + channel: ChannelSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** QueryChannelsRequest is the request type for the Query/Channels RPC method */ + export interface QueryChannelsRequest { /** pagination request */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ +export interface QueryChannelsRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ + export interface QueryChannelsResponse { /** list of stored channels of the chain. */ channels: IdentifiedChannel[]; - /** pagination response */ - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ + +export interface QueryChannelsResponseSDKType { + /** list of stored channels of the chain. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryConnectionChannelsRequest is the request type for the * Query/QueryConnectionChannels RPC method */ + export interface QueryConnectionChannelsRequest { /** connection unique identifier */ connection: string; - /** pagination request */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsRequestSDKType { + /** connection unique identifier */ + connection: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryConnectionChannelsResponse is the Response type for the * Query/QueryConnectionChannels RPC method */ + export interface QueryConnectionChannelsResponse { /** list of channels associated with a connection. */ channels: IdentifiedChannel[]; - /** pagination response */ - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsResponseSDKType { + /** list of channels associated with a connection. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryChannelClientStateRequest is the request type for the Query/ClientState * RPC method */ + export interface QueryChannelClientStateRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ + +export interface QueryChannelClientStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + channel_id: string; +} /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method */ + export interface QueryChannelClientStateResponse { /** client state associated with the channel */ identifiedClientState: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryChannelConsensusStateRequest is the request type for the * Query/ConsensusState RPC method */ + export interface QueryChannelConsensusStateRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** revision number of the consensus state */ - revisionNumber: Long; + revisionNumber: Long; /** revision height of the consensus state */ + revisionHeight: Long; } +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ +export interface QueryChannelConsensusStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** revision number of the consensus state */ + + revision_number: Long; + /** revision height of the consensus state */ + + revision_height: Long; +} /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method */ + export interface QueryChannelConsensusStateResponse { /** consensus state associated with the channel */ consensusState: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; + clientId: string; /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryPacketCommitmentRequest is the request type for the * Query/PacketCommitment RPC method */ + export interface QueryPacketCommitmentRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** packet sequence */ + sequence: Long; } +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ + +export interface QueryPacketCommitmentRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + sequence: Long; +} /** * QueryPacketCommitmentResponse defines the client query response for a packet * which also includes a proof and the height from which the proof was * retrieved */ + export interface QueryPacketCommitmentResponse { /** packet associated with the request fields */ commitment: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ +export interface QueryPacketCommitmentResponseSDKType { + /** packet associated with the request fields */ + commitment: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryPacketCommitmentsRequest is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketCommitmentsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** pagination request */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryPacketCommitmentsResponse is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketCommitmentsResponse { commitments: PacketState[]; - /** pagination response */ - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsResponseSDKType { + commitments: PacketStateSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryPacketReceiptRequest is the request type for the * Query/PacketReceipt RPC method */ + export interface QueryPacketReceiptRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** packet sequence */ + sequence: Long; } +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ + +export interface QueryPacketReceiptRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + sequence: Long; +} /** * QueryPacketReceiptResponse defines the client query response for a packet * receipt which also includes a proof, and the height from which the proof was * retrieved */ + export interface QueryPacketReceiptResponse { /** success flag for if receipt exists */ received: boolean; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ +export interface QueryPacketReceiptResponseSDKType { + /** success flag for if receipt exists */ + received: boolean; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryPacketAcknowledgementRequest is the request type for the * Query/PacketAcknowledgement RPC method */ + export interface QueryPacketAcknowledgementRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** packet sequence */ + sequence: Long; } +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ +export interface QueryPacketAcknowledgementRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + + sequence: Long; +} /** * QueryPacketAcknowledgementResponse defines the client query response for a * packet which also includes a proof and the height from which the * proof was retrieved */ + export interface QueryPacketAcknowledgementResponse { /** packet associated with the request fields */ acknowledgement: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ +export interface QueryPacketAcknowledgementResponseSDKType { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryPacketAcknowledgementsRequest is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketAcknowledgementsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** pagination request */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; /** list of packet sequences */ - packetCommitmentSequences: Long[]; + + packetCommitmentSequences?: Long[]; } +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketAcknowledgementsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; + /** list of packet sequences */ + packet_commitment_sequences?: Long[]; +} /** * QueryPacketAcknowledgemetsResponse is the request type for the * Query/QueryPacketAcknowledgements RPC method */ + export interface QueryPacketAcknowledgementsResponse { acknowledgements: PacketState[]; - /** pagination response */ - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ + +export interface QueryPacketAcknowledgementsResponseSDKType { + acknowledgements: PacketStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryUnreceivedPacketsRequest is the request type for the * Query/UnreceivedPackets RPC method */ + export interface QueryUnreceivedPacketsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** list of packet sequences */ + packetCommitmentSequences: Long[]; } +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ +export interface QueryUnreceivedPacketsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of packet sequences */ + + packet_commitment_sequences: Long[]; +} /** * QueryUnreceivedPacketsResponse is the response type for the * Query/UnreceivedPacketCommitments RPC method */ + export interface QueryUnreceivedPacketsResponse { /** list of unreceived packet sequences */ sequences: Long[]; - /** query block height */ + height: Height | undefined; } +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ + +export interface QueryUnreceivedPacketsResponseSDKType { + /** list of unreceived packet sequences */ + sequences: Long[]; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryUnreceivedAcks is the request type for the * Query/UnreceivedAcks RPC method */ + export interface QueryUnreceivedAcksRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** list of acknowledgement sequences */ + packetAckSequences: Long[]; } +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of acknowledgement sequences */ + packet_ack_sequences: Long[]; +} /** * QueryUnreceivedAcksResponse is the response type for the * Query/UnreceivedAcks RPC method */ + export interface QueryUnreceivedAcksResponse { /** list of unreceived acknowledgement sequences */ sequences: Long[]; - /** query block height */ + height: Height | undefined; } +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ +export interface QueryUnreceivedAcksResponseSDKType { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryNextSequenceReceiveRequest is the request type for the * Query/QueryNextSequenceReceiveRequest RPC method */ + export interface QueryNextSequenceReceiveRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ +export interface QueryNextSequenceReceiveRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} /** * QuerySequenceResponse is the request type for the * Query/QueryNextSequenceReceiveResponse RPC method */ + export interface QueryNextSequenceReceiveResponse { /** next sequence receive number */ nextSequenceReceive: Long; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ + +export interface QueryNextSequenceReceiveResponseSDKType { + /** next sequence receive number */ + next_sequence_receive: Long; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} function createBaseQueryChannelRequest(): QueryChannelRequest { return { @@ -419,20 +787,6 @@ export const QueryChannelRequest = { return message; }, - fromJSON(object: any): QueryChannelRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryChannelRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryChannelRequest { const message = createBaseQueryChannelRequest(); message.portId = object.portId ?? ""; @@ -467,7 +821,7 @@ export const QueryChannelResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelResponse(); @@ -497,22 +851,6 @@ export const QueryChannelResponse = { return message; }, - fromJSON(object: any): QueryChannelResponse { - return { - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelResponse): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : 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): QueryChannelResponse { const message = createBaseQueryChannelResponse(); message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; @@ -560,18 +898,6 @@ export const QueryChannelsRequest = { return message; }, - fromJSON(object: any): QueryChannelsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryChannelsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryChannelsRequest { const message = createBaseQueryChannelsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -605,7 +931,7 @@ export const QueryChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelsResponse(); @@ -635,28 +961,6 @@ export const QueryChannelsResponse = { return message; }, - fromJSON(object: any): QueryChannelsResponse { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryChannelsResponse): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryChannelsResponse { const message = createBaseQueryChannelsResponse(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -713,20 +1017,6 @@ export const QueryConnectionChannelsRequest = { return message; }, - fromJSON(object: any): QueryConnectionChannelsRequest { - return { - connection: isSet(object.connection) ? String(object.connection) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryConnectionChannelsRequest): unknown { - const obj: any = {}; - message.connection !== undefined && (obj.connection = message.connection); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionChannelsRequest { const message = createBaseQueryConnectionChannelsRequest(); message.connection = object.connection ?? ""; @@ -761,7 +1051,7 @@ export const QueryConnectionChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionChannelsResponse(); @@ -791,28 +1081,6 @@ export const QueryConnectionChannelsResponse = { return message; }, - fromJSON(object: any): QueryConnectionChannelsResponse { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryConnectionChannelsResponse): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionChannelsResponse { const message = createBaseQueryConnectionChannelsResponse(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -869,20 +1137,6 @@ export const QueryChannelClientStateRequest = { return message; }, - fromJSON(object: any): QueryChannelClientStateRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryChannelClientStateRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryChannelClientStateRequest { const message = createBaseQueryChannelClientStateRequest(); message.portId = object.portId ?? ""; @@ -917,7 +1171,7 @@ export const QueryChannelClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelClientStateResponse(); @@ -947,22 +1201,6 @@ export const QueryChannelClientStateResponse = { return message; }, - fromJSON(object: any): QueryChannelClientStateResponse { - return { - identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelClientStateResponse): unknown { - const obj: any = {}; - message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryChannelClientStateResponse { const message = createBaseQueryChannelClientStateResponse(); message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; @@ -1037,24 +1275,6 @@ export const QueryChannelConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryChannelConsensusStateRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: QueryChannelConsensusStateRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryChannelConsensusStateRequest { const message = createBaseQueryChannelConsensusStateRequest(); message.portId = object.portId ?? ""; @@ -1096,7 +1316,7 @@ export const QueryChannelConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelConsensusStateResponse(); @@ -1130,24 +1350,6 @@ export const QueryChannelConsensusStateResponse = { return message; }, - fromJSON(object: any): QueryChannelConsensusStateResponse { - return { - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - clientId: isSet(object.clientId) ? String(object.clientId) : "", - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelConsensusStateResponse): unknown { - const obj: any = {}; - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.clientId !== undefined && (obj.clientId = message.clientId); - 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): QueryChannelConsensusStateResponse { const message = createBaseQueryChannelConsensusStateResponse(); message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; @@ -1214,22 +1416,6 @@ export const QueryPacketCommitmentRequest = { return message; }, - fromJSON(object: any): QueryPacketCommitmentRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketCommitmentRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentRequest { const message = createBaseQueryPacketCommitmentRequest(); message.portId = object.portId ?? ""; @@ -1265,7 +1451,7 @@ export const QueryPacketCommitmentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentResponse(); @@ -1295,22 +1481,6 @@ export const QueryPacketCommitmentResponse = { return message; }, - fromJSON(object: any): QueryPacketCommitmentResponse { - return { - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array(), - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentResponse): unknown { - const obj: any = {}; - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - 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): QueryPacketCommitmentResponse { const message = createBaseQueryPacketCommitmentResponse(); message.commitment = object.commitment ?? new Uint8Array(); @@ -1376,22 +1546,6 @@ export const QueryPacketCommitmentsRequest = { return message; }, - fromJSON(object: any): QueryPacketCommitmentsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentsRequest { const message = createBaseQueryPacketCommitmentsRequest(); message.portId = object.portId ?? ""; @@ -1427,7 +1581,7 @@ export const QueryPacketCommitmentsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentsResponse(); @@ -1457,28 +1611,6 @@ export const QueryPacketCommitmentsResponse = { return message; }, - fromJSON(object: any): QueryPacketCommitmentsResponse { - return { - commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentsResponse): unknown { - const obj: any = {}; - - if (message.commitments) { - obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.commitments = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentsResponse { const message = createBaseQueryPacketCommitmentsResponse(); message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; @@ -1544,22 +1676,6 @@ export const QueryPacketReceiptRequest = { return message; }, - fromJSON(object: any): QueryPacketReceiptRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketReceiptRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketReceiptRequest { const message = createBaseQueryPacketReceiptRequest(); message.portId = object.portId ?? ""; @@ -1595,7 +1711,7 @@ export const QueryPacketReceiptResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketReceiptResponse(); @@ -1625,22 +1741,6 @@ export const QueryPacketReceiptResponse = { return message; }, - fromJSON(object: any): QueryPacketReceiptResponse { - return { - received: isSet(object.received) ? Boolean(object.received) : false, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketReceiptResponse): unknown { - const obj: any = {}; - message.received !== undefined && (obj.received = message.received); - 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): QueryPacketReceiptResponse { const message = createBaseQueryPacketReceiptResponse(); message.received = object.received ?? false; @@ -1706,22 +1806,6 @@ export const QueryPacketAcknowledgementRequest = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketAcknowledgementRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementRequest { const message = createBaseQueryPacketAcknowledgementRequest(); message.portId = object.portId ?? ""; @@ -1757,7 +1841,7 @@ export const QueryPacketAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementResponse(); @@ -1787,22 +1871,6 @@ export const QueryPacketAcknowledgementResponse = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementResponse { - return { - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketAcknowledgementResponse): unknown { - const obj: any = {}; - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - 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): QueryPacketAcknowledgementResponse { const message = createBaseQueryPacketAcknowledgementResponse(); message.acknowledgement = object.acknowledgement ?? new Uint8Array(); @@ -1889,30 +1957,6 @@ export const QueryPacketAcknowledgementsRequest = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined, - packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryPacketAcknowledgementsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - - if (message.packetCommitmentSequences) { - obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetCommitmentSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { const message = createBaseQueryPacketAcknowledgementsRequest(); message.portId = object.portId ?? ""; @@ -1949,7 +1993,7 @@ export const QueryPacketAcknowledgementsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementsResponse(); @@ -1979,28 +2023,6 @@ export const QueryPacketAcknowledgementsResponse = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementsResponse { - return { - acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryPacketAcknowledgementsResponse): unknown { - const obj: any = {}; - - if (message.acknowledgements) { - obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.acknowledgements = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { const message = createBaseQueryPacketAcknowledgementsResponse(); message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; @@ -2078,28 +2100,6 @@ export const QueryUnreceivedPacketsRequest = { return message; }, - fromJSON(object: any): QueryUnreceivedPacketsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryUnreceivedPacketsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - - if (message.packetCommitmentSequences) { - obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetCommitmentSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedPacketsRequest { const message = createBaseQueryUnreceivedPacketsRequest(); message.portId = object.portId ?? ""; @@ -2134,7 +2134,7 @@ export const QueryUnreceivedPacketsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedPacketsResponse(); @@ -2169,26 +2169,6 @@ export const QueryUnreceivedPacketsResponse = { return message; }, - fromJSON(object: any): QueryUnreceivedPacketsResponse { - return { - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryUnreceivedPacketsResponse): unknown { - const obj: any = {}; - - if (message.sequences) { - obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.sequences = []; - } - - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedPacketsResponse { const message = createBaseQueryUnreceivedPacketsResponse(); message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; @@ -2265,28 +2245,6 @@ export const QueryUnreceivedAcksRequest = { return message; }, - fromJSON(object: any): QueryUnreceivedAcksRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - packetAckSequences: Array.isArray(object?.packetAckSequences) ? object.packetAckSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryUnreceivedAcksRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - - if (message.packetAckSequences) { - obj.packetAckSequences = message.packetAckSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetAckSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedAcksRequest { const message = createBaseQueryUnreceivedAcksRequest(); message.portId = object.portId ?? ""; @@ -2321,7 +2279,7 @@ export const QueryUnreceivedAcksResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedAcksResponse(); @@ -2356,26 +2314,6 @@ export const QueryUnreceivedAcksResponse = { return message; }, - fromJSON(object: any): QueryUnreceivedAcksResponse { - return { - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryUnreceivedAcksResponse): unknown { - const obj: any = {}; - - if (message.sequences) { - obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.sequences = []; - } - - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedAcksResponse { const message = createBaseQueryUnreceivedAcksResponse(); message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; @@ -2431,20 +2369,6 @@ export const QueryNextSequenceReceiveRequest = { return message; }, - fromJSON(object: any): QueryNextSequenceReceiveRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryNextSequenceReceiveRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryNextSequenceReceiveRequest { const message = createBaseQueryNextSequenceReceiveRequest(); message.portId = object.portId ?? ""; @@ -2479,7 +2403,7 @@ export const QueryNextSequenceReceiveResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNextSequenceReceiveResponse(); @@ -2509,22 +2433,6 @@ export const QueryNextSequenceReceiveResponse = { return message; }, - fromJSON(object: any): QueryNextSequenceReceiveResponse { - return { - nextSequenceReceive: isSet(object.nextSequenceReceive) ? Long.fromString(object.nextSequenceReceive) : Long.UZERO, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryNextSequenceReceiveResponse): unknown { - const obj: any = {}; - message.nextSequenceReceive !== undefined && (obj.nextSequenceReceive = (message.nextSequenceReceive || Long.UZERO).toString()); - 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): QueryNextSequenceReceiveResponse { const message = createBaseQueryNextSequenceReceiveResponse(); message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; diff --git a/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts new file mode 100644 index 000000000..799eb6de4 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts @@ -0,0 +1,670 @@ +import { stateFromJSON, orderFromJSON } from "./channel"; +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, omitDefault, Long } from "@osmonauts/helpers"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export interface AminoMsgChannelOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenInit"; + value: { + port_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + signer: string; + }; +} +export interface AminoMsgChannelOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenTry"; + value: { + port_id: string; + previous_channel_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + counterparty_version: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenAck"; + value: { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenConfirm"; + value: { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelCloseInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseInit"; + value: { + port_id: string; + channel_id: string; + signer: string; + }; +} +export interface AminoMsgChannelCloseConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseConfirm"; + value: { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgRecvPacket extends AminoMsg { + type: "cosmos-sdk/MsgRecvPacket"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_commitment: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgTimeout extends AminoMsg { + type: "cosmos-sdk/MsgTimeout"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgTimeoutOnClose extends AminoMsg { + type: "cosmos-sdk/MsgTimeoutOnClose"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgAcknowledgement extends AminoMsg { + type: "cosmos-sdk/MsgAcknowledgement"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.channel.v1.MsgChannelOpenInit": { + aminoType: "cosmos-sdk/MsgChannelOpenInit", + toAmino: ({ + portId, + channel, + signer + }: MsgChannelOpenInit): AminoMsgChannelOpenInit["value"] => { + return { + port_id: portId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + signer + }; + }, + fromAmino: ({ + port_id, + channel, + signer + }: AminoMsgChannelOpenInit["value"]): MsgChannelOpenInit => { + return { + portId: port_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenTry": { + aminoType: "cosmos-sdk/MsgChannelOpenTry", + toAmino: ({ + portId, + previousChannelId, + channel, + counterpartyVersion, + proofInit, + proofHeight, + signer + }: MsgChannelOpenTry): AminoMsgChannelOpenTry["value"] => { + return { + port_id: portId, + previous_channel_id: previousChannelId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + counterparty_version: counterpartyVersion, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + previous_channel_id, + channel, + counterparty_version, + proof_init, + proof_height, + signer + }: AminoMsgChannelOpenTry["value"]): MsgChannelOpenTry => { + return { + portId: port_id, + previousChannelId: previous_channel_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + counterpartyVersion: counterparty_version, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenAck": { + aminoType: "cosmos-sdk/MsgChannelOpenAck", + toAmino: ({ + portId, + channelId, + counterpartyChannelId, + counterpartyVersion, + proofTry, + proofHeight, + signer + }: MsgChannelOpenAck): AminoMsgChannelOpenAck["value"] => { + return { + port_id: portId, + channel_id: channelId, + counterparty_channel_id: counterpartyChannelId, + counterparty_version: counterpartyVersion, + proof_try: proofTry, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + counterparty_channel_id, + counterparty_version, + proof_try, + proof_height, + signer + }: AminoMsgChannelOpenAck["value"]): MsgChannelOpenAck => { + return { + portId: port_id, + channelId: channel_id, + counterpartyChannelId: counterparty_channel_id, + counterpartyVersion: counterparty_version, + proofTry: proof_try, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenConfirm": { + aminoType: "cosmos-sdk/MsgChannelOpenConfirm", + toAmino: ({ + portId, + channelId, + proofAck, + proofHeight, + signer + }: MsgChannelOpenConfirm): AminoMsgChannelOpenConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_ack, + proof_height, + signer + }: AminoMsgChannelOpenConfirm["value"]): MsgChannelOpenConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseInit": { + aminoType: "cosmos-sdk/MsgChannelCloseInit", + toAmino: ({ + portId, + channelId, + signer + }: MsgChannelCloseInit): AminoMsgChannelCloseInit["value"] => { + return { + port_id: portId, + channel_id: channelId, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + signer + }: AminoMsgChannelCloseInit["value"]): MsgChannelCloseInit => { + return { + portId: port_id, + channelId: channel_id, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseConfirm": { + aminoType: "cosmos-sdk/MsgChannelCloseConfirm", + toAmino: ({ + portId, + channelId, + proofInit, + proofHeight, + signer + }: MsgChannelCloseConfirm): AminoMsgChannelCloseConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_init, + proof_height, + signer + }: AminoMsgChannelCloseConfirm["value"]): MsgChannelCloseConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgRecvPacket": { + aminoType: "cosmos-sdk/MsgRecvPacket", + toAmino: ({ + packet, + proofCommitment, + proofHeight, + signer + }: MsgRecvPacket): AminoMsgRecvPacket["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_commitment: proofCommitment, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + proof_commitment, + proof_height, + signer + }: AminoMsgRecvPacket["value"]): MsgRecvPacket => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofCommitment: proof_commitment, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeout": { + aminoType: "cosmos-sdk/MsgTimeout", + toAmino: ({ + packet, + proofUnreceived, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeout): AminoMsgTimeout["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeout["value"]): MsgTimeout => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeoutOnClose": { + aminoType: "cosmos-sdk/MsgTimeoutOnClose", + toAmino: ({ + packet, + proofUnreceived, + proofClose, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeoutOnClose): AminoMsgTimeoutOnClose["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_close: proofClose, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_close, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeoutOnClose["value"]): MsgTimeoutOnClose => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofClose: proof_close, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgAcknowledgement": { + aminoType: "cosmos-sdk/MsgAcknowledgement", + toAmino: ({ + packet, + acknowledgement, + proofAcked, + proofHeight, + signer + }: MsgAcknowledgement): AminoMsgAcknowledgement["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + acknowledgement, + proof_acked: proofAcked, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + acknowledgement, + proof_acked, + proof_height, + signer + }: AminoMsgAcknowledgement["value"]): MsgAcknowledgement => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + acknowledgement, + proofAcked: proof_acked, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/core/channel/v1/tx.registry.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.registry.ts new file mode 100644 index 000000000..667978aad --- /dev/null +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.registry.ts @@ -0,0 +1,226 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.encode(value).finish() + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.encode(value).finish() + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.encode(value).finish() + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.encode(value).finish() + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.encode(value).finish() + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.encode(value).finish() + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.encode(value).finish() + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.encode(value).finish() + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.encode(value).finish() + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.encode(value).finish() + }; + } + + }, + withTypeUrl: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value + }; + } + + }, + fromPartial: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.fromPartial(value) + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.fromPartial(value) + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.fromPartial(value) + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.fromPartial(value) + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.fromPartial(value) + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.fromPartial(value) + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.fromPartial(value) + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.fromPartial(value) + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.fromPartial(value) + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts similarity index 78% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts index bf2f4b238..94f7d8538 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -1,40 +1,38 @@ -import { Channel, Packet } from "./channel"; -import { Height } from "../../client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; - +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenInitResponseSDKType, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenTryResponseSDKType, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenAckResponseSDKType, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelOpenConfirmResponseSDKType, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseInitResponseSDKType, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgChannelCloseConfirmResponseSDKType, MsgRecvPacket, MsgRecvPacketResponse, MsgRecvPacketResponseSDKType, MsgTimeout, MsgTimeoutResponse, MsgTimeoutResponseSDKType, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgTimeoutOnCloseResponseSDKType, MsgAcknowledgement, MsgAcknowledgementResponse, MsgAcknowledgementResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - channelOpenInit(request: MsgChannelOpenInit): Promise; + channelOpenInit(request: MsgChannelOpenInit): Promise; /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ - channelOpenTry(request: MsgChannelOpenTry): Promise; + channelOpenTry(request: MsgChannelOpenTry): Promise; /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ - channelOpenAck(request: MsgChannelOpenAck): Promise; + channelOpenAck(request: MsgChannelOpenAck): Promise; /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ - channelCloseInit(request: MsgChannelCloseInit): Promise; + channelCloseInit(request: MsgChannelCloseInit): Promise; /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; /*ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm.*/ - recvPacket(request: MsgRecvPacket): Promise; + recvPacket(request: MsgRecvPacket): Promise; /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ - timeout(request: MsgTimeout): Promise; + timeout(request: MsgTimeout): Promise; /*Timeout defines a rpc handler method for MsgTimeout.*/ - timeoutOnClose(request: MsgTimeoutOnClose): Promise; + timeoutOnClose(request: MsgTimeoutOnClose): Promise; /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ - acknowledgement(request: MsgAcknowledgement): Promise; + acknowledgement(request: MsgAcknowledgement): Promise; /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ } @@ -55,61 +53,61 @@ export class MsgClientImpl implements Msg { this.acknowledgement = this.acknowledgement.bind(this); } - channelOpenInit(request: MsgChannelOpenInit): Promise { + channelOpenInit(request: MsgChannelOpenInit): Promise { const data = MsgChannelOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); } - channelOpenTry(request: MsgChannelOpenTry): Promise { + channelOpenTry(request: MsgChannelOpenTry): Promise { const data = MsgChannelOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); } - channelOpenAck(request: MsgChannelOpenAck): Promise { + channelOpenAck(request: MsgChannelOpenAck): Promise { const data = MsgChannelOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); } - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { const data = MsgChannelOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); } - channelCloseInit(request: MsgChannelCloseInit): Promise { + channelCloseInit(request: MsgChannelCloseInit): Promise { const data = MsgChannelCloseInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); } - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { const data = MsgChannelCloseConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); } - recvPacket(request: MsgRecvPacket): Promise { + recvPacket(request: MsgRecvPacket): Promise { const data = MsgRecvPacket.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); } - timeout(request: MsgTimeout): Promise { + timeout(request: MsgTimeout): Promise { const data = MsgTimeout.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); } - timeoutOnClose(request: MsgTimeoutOnClose): Promise { + timeoutOnClose(request: MsgTimeoutOnClose): Promise { const data = MsgTimeoutOnClose.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); } - acknowledgement(request: MsgAcknowledgement): Promise { + acknowledgement(request: MsgAcknowledgement): Promise { const data = MsgAcknowledgement.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts rename to examples/contracts/codegen/ibc/core/channel/v1/tx.ts index bb0d36aea..090d272d2 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.ts @@ -1,32 +1,45 @@ -import { Channel, Packet } from "./channel"; -import { Height } from "../../client/v1/client"; +import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It * is called by a relayer on Chain A. */ + export interface MsgChannelOpenInit { portId: string; channel: Channel | undefined; signer: string; } +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ +export interface MsgChannelOpenInitSDKType { + port_id: string; + channel: ChannelSDKType | undefined; + signer: string; +} /** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ + export interface MsgChannelOpenInitResponse {} +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ +export interface MsgChannelOpenInitResponseSDKType {} /** * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel * on Chain B. */ + export interface MsgChannelOpenTry { portId: string; - /** * in the case of crossing hello's, when both chains call OpenInit, we need * the channel identifier of the previous channel in state INIT */ + previousChannelId: string; channel: Channel | undefined; counterpartyVersion: string; @@ -34,14 +47,36 @@ export interface MsgChannelOpenTry { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ + +export interface MsgChannelOpenTrySDKType { + port_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + previous_channel_id: string; + channel: ChannelSDKType | undefined; + counterparty_version: string; + proof_init: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ + export interface MsgChannelOpenTryResponse {} +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ +export interface MsgChannelOpenTryResponseSDKType {} /** * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge * the change of channel state to TRYOPEN on Chain B. */ + export interface MsgChannelOpenAck { portId: string; channelId: string; @@ -51,14 +86,31 @@ export interface MsgChannelOpenAck { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ +export interface MsgChannelOpenAckSDKType { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ + export interface MsgChannelOpenAckResponse {} +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ +export interface MsgChannelOpenAckResponseSDKType {} /** * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of channel state to OPEN on Chain A. */ + export interface MsgChannelOpenConfirm { portId: string; channelId: string; @@ -66,30 +118,61 @@ export interface MsgChannelOpenConfirm { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ +export interface MsgChannelOpenConfirmSDKType { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response * type. */ + export interface MsgChannelOpenConfirmResponse {} +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ +export interface MsgChannelOpenConfirmResponseSDKType {} /** * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A * to close a channel with Chain B. */ + export interface MsgChannelCloseInit { portId: string; channelId: string; signer: string; } +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ +export interface MsgChannelCloseInitSDKType { + port_id: string; + channel_id: string; + signer: string; +} /** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ + export interface MsgChannelCloseInitResponse {} +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ +export interface MsgChannelCloseInitResponseSDKType {} /** * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B * to acknowledge the change of channel state to CLOSED on Chain A. */ + export interface MsgChannelCloseConfirm { portId: string; channelId: string; @@ -97,25 +180,54 @@ export interface MsgChannelCloseConfirm { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ +export interface MsgChannelCloseConfirmSDKType { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response * type. */ + export interface MsgChannelCloseConfirmResponse {} +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ +export interface MsgChannelCloseConfirmResponseSDKType {} /** MsgRecvPacket receives incoming IBC packet */ + export interface MsgRecvPacket { packet: Packet | undefined; proofCommitment: Uint8Array; proofHeight: Height | undefined; signer: string; } +/** MsgRecvPacket receives incoming IBC packet */ +export interface MsgRecvPacketSDKType { + packet: PacketSDKType | undefined; + proof_commitment: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ + export interface MsgRecvPacketResponse {} +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ +export interface MsgRecvPacketResponseSDKType {} /** MsgTimeout receives timed-out packet */ + export interface MsgTimeout { packet: Packet | undefined; proofUnreceived: Uint8Array; @@ -123,11 +235,23 @@ export interface MsgTimeout { nextSequenceRecv: Long; signer: string; } +/** MsgTimeout receives timed-out packet */ +export interface MsgTimeoutSDKType { + packet: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_height: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} /** MsgTimeoutResponse defines the Msg/Timeout response type. */ + export interface MsgTimeoutResponse {} +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ +export interface MsgTimeoutResponseSDKType {} /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ + export interface MsgTimeoutOnClose { packet: Packet | undefined; proofUnreceived: Uint8Array; @@ -136,11 +260,24 @@ export interface MsgTimeoutOnClose { nextSequenceRecv: Long; signer: string; } +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ +export interface MsgTimeoutOnCloseSDKType { + packet: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} /** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ + export interface MsgTimeoutOnCloseResponse {} +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ +export interface MsgTimeoutOnCloseResponseSDKType {} /** MsgAcknowledgement receives incoming IBC acknowledgement */ + export interface MsgAcknowledgement { packet: Packet | undefined; acknowledgement: Uint8Array; @@ -148,9 +285,21 @@ export interface MsgAcknowledgement { proofHeight: Height | undefined; signer: string; } +/** MsgAcknowledgement receives incoming IBC acknowledgement */ +export interface MsgAcknowledgementSDKType { + packet: PacketSDKType | undefined; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + export interface MsgAcknowledgementResponse {} +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + +export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { @@ -207,22 +356,6 @@ export const MsgChannelOpenInit = { return message; }, - fromJSON(object: any): MsgChannelOpenInit { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenInit): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenInit { const message = createBaseMsgChannelOpenInit(); message.portId = object.portId ?? ""; @@ -242,7 +375,7 @@ export const MsgChannelOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenInitResponse(); @@ -260,15 +393,6 @@ export const MsgChannelOpenInitResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenInitResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenInitResponse { const message = createBaseMsgChannelOpenInitResponse(); return message; @@ -367,30 +491,6 @@ export const MsgChannelOpenTry = { return message; }, - fromJSON(object: any): MsgChannelOpenTry { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - previousChannelId: isSet(object.previousChannelId) ? String(object.previousChannelId) : "", - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenTry): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.previousChannelId !== undefined && (obj.previousChannelId = message.previousChannelId); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenTry { const message = createBaseMsgChannelOpenTry(); message.portId = object.portId ?? ""; @@ -414,7 +514,7 @@ export const MsgChannelOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenTryResponse(); @@ -432,15 +532,6 @@ export const MsgChannelOpenTryResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenTryResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenTryResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenTryResponse { const message = createBaseMsgChannelOpenTryResponse(); return message; @@ -539,30 +630,6 @@ export const MsgChannelOpenAck = { return message; }, - fromJSON(object: any): MsgChannelOpenAck { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - counterpartyChannelId: isSet(object.counterpartyChannelId) ? String(object.counterpartyChannelId) : "", - counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", - proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenAck): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.counterpartyChannelId !== undefined && (obj.counterpartyChannelId = message.counterpartyChannelId); - message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); - message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenAck { const message = createBaseMsgChannelOpenAck(); message.portId = object.portId ?? ""; @@ -586,7 +653,7 @@ export const MsgChannelOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenAckResponse(); @@ -604,15 +671,6 @@ export const MsgChannelOpenAckResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenAckResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenAckResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenAckResponse { const message = createBaseMsgChannelOpenAckResponse(); return message; @@ -693,26 +751,6 @@ export const MsgChannelOpenConfirm = { return message; }, - fromJSON(object: any): MsgChannelOpenConfirm { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenConfirm): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenConfirm { const message = createBaseMsgChannelOpenConfirm(); message.portId = object.portId ?? ""; @@ -734,7 +772,7 @@ export const MsgChannelOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenConfirmResponse(); @@ -752,15 +790,6 @@ export const MsgChannelOpenConfirmResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenConfirmResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenConfirmResponse { const message = createBaseMsgChannelOpenConfirmResponse(); return message; @@ -823,22 +852,6 @@ export const MsgChannelCloseInit = { return message; }, - fromJSON(object: any): MsgChannelCloseInit { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelCloseInit): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelCloseInit { const message = createBaseMsgChannelCloseInit(); message.portId = object.portId ?? ""; @@ -858,7 +871,7 @@ export const MsgChannelCloseInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseInitResponse(); @@ -876,15 +889,6 @@ export const MsgChannelCloseInitResponse = { return message; }, - fromJSON(_: any): MsgChannelCloseInitResponse { - return {}; - }, - - toJSON(_: MsgChannelCloseInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelCloseInitResponse { const message = createBaseMsgChannelCloseInitResponse(); return message; @@ -965,26 +969,6 @@ export const MsgChannelCloseConfirm = { return message; }, - fromJSON(object: any): MsgChannelCloseConfirm { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelCloseConfirm): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelCloseConfirm { const message = createBaseMsgChannelCloseConfirm(); message.portId = object.portId ?? ""; @@ -1006,7 +990,7 @@ export const MsgChannelCloseConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseConfirmResponse(); @@ -1024,15 +1008,6 @@ export const MsgChannelCloseConfirmResponse = { return message; }, - fromJSON(_: any): MsgChannelCloseConfirmResponse { - return {}; - }, - - toJSON(_: MsgChannelCloseConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelCloseConfirmResponse { const message = createBaseMsgChannelCloseConfirmResponse(); return message; @@ -1104,24 +1079,6 @@ export const MsgRecvPacket = { return message; }, - fromJSON(object: any): MsgRecvPacket { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofCommitment: isSet(object.proofCommitment) ? bytesFromBase64(object.proofCommitment) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgRecvPacket): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofCommitment !== undefined && (obj.proofCommitment = base64FromBytes(message.proofCommitment !== undefined ? message.proofCommitment : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgRecvPacket { const message = createBaseMsgRecvPacket(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1142,7 +1099,7 @@ export const MsgRecvPacketResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRecvPacketResponse(); @@ -1160,15 +1117,6 @@ export const MsgRecvPacketResponse = { return message; }, - fromJSON(_: any): MsgRecvPacketResponse { - return {}; - }, - - toJSON(_: MsgRecvPacketResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgRecvPacketResponse { const message = createBaseMsgRecvPacketResponse(); return message; @@ -1249,26 +1197,6 @@ export const MsgTimeout = { return message; }, - fromJSON(object: any): MsgTimeout { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgTimeout): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgTimeout { const message = createBaseMsgTimeout(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1290,7 +1218,7 @@ export const MsgTimeoutResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutResponse(); @@ -1308,15 +1236,6 @@ export const MsgTimeoutResponse = { return message; }, - fromJSON(_: any): MsgTimeoutResponse { - return {}; - }, - - toJSON(_: MsgTimeoutResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgTimeoutResponse { const message = createBaseMsgTimeoutResponse(); return message; @@ -1406,28 +1325,6 @@ export const MsgTimeoutOnClose = { return message; }, - fromJSON(object: any): MsgTimeoutOnClose { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), - proofClose: isSet(object.proofClose) ? bytesFromBase64(object.proofClose) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgTimeoutOnClose): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); - message.proofClose !== undefined && (obj.proofClose = base64FromBytes(message.proofClose !== undefined ? message.proofClose : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgTimeoutOnClose { const message = createBaseMsgTimeoutOnClose(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1450,7 +1347,7 @@ export const MsgTimeoutOnCloseResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutOnCloseResponse(); @@ -1468,15 +1365,6 @@ export const MsgTimeoutOnCloseResponse = { return message; }, - fromJSON(_: any): MsgTimeoutOnCloseResponse { - return {}; - }, - - toJSON(_: MsgTimeoutOnCloseResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgTimeoutOnCloseResponse { const message = createBaseMsgTimeoutOnCloseResponse(); return message; @@ -1557,26 +1445,6 @@ export const MsgAcknowledgement = { return message; }, - fromJSON(object: any): MsgAcknowledgement { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), - proofAcked: isSet(object.proofAcked) ? bytesFromBase64(object.proofAcked) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgAcknowledgement): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - message.proofAcked !== undefined && (obj.proofAcked = base64FromBytes(message.proofAcked !== undefined ? message.proofAcked : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgAcknowledgement { const message = createBaseMsgAcknowledgement(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1598,7 +1466,7 @@ export const MsgAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgAcknowledgementResponse(); @@ -1616,15 +1484,6 @@ export const MsgAcknowledgementResponse = { return message; }, - fromJSON(_: any): MsgAcknowledgementResponse { - return {}; - }, - - toJSON(_: MsgAcknowledgementResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgAcknowledgementResponse { const message = createBaseMsgAcknowledgementResponse(); return message; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts b/examples/contracts/codegen/ibc/core/client/v1/client.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts rename to examples/contracts/codegen/ibc/core/client/v1/client.ts index 008be5aeb..b5e632919 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/client.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/client.ts @@ -1,76 +1,134 @@ -import { Any } from "../../../../google/protobuf/any"; -import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ + export interface IdentifiedClientState { /** client identifier */ clientId: string; - /** client state */ + clientState: Any | undefined; } +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ + +export interface IdentifiedClientStateSDKType { + /** client identifier */ + client_id: string; + /** client state */ + client_state: AnySDKType | undefined; +} /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ + export interface ConsensusStateWithHeight { /** consensus state height */ height: Height | undefined; - /** consensus state */ + consensusState: Any | undefined; } +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ +export interface ConsensusStateWithHeightSDKType { + /** consensus state height */ + height: HeightSDKType | undefined; + /** consensus state */ + + consensus_state: AnySDKType | undefined; +} /** * 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[]; } +/** + * ClientConsensusStates defines all the stored consensus states for a given + * client. + */ + +export interface ClientConsensusStatesSDKType { + /** client identifier */ + client_id: string; + /** consensus states and their heights associated with the client */ + 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 { /** the title of the update proposal */ title: string; - /** the description of the proposal */ - description: string; + description: string; /** the client identifier for the client to be updated if the proposal passes */ - subjectClientId: string; + subjectClientId: string; /** * the substitute client identifier for the client standing in for the subject * client */ + substituteClientId: string; } +/** + * 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 { + /** 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; +} /** * UpgradeProposal is a gov Content type for initiating an IBC breaking * upgrade. */ + export interface UpgradeProposal { title: string; description: string; plan: Plan | undefined; - /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -79,9 +137,29 @@ export interface UpgradeProposal { * of the chain. This will allow IBC connections to persist smoothly across * planned chain upgrades */ + upgradedClientState: Any | undefined; } +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ +export interface UpgradeProposalSDKType { + title: string; + description: string; + plan: PlanSDKType | undefined; + /** + * 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: AnySDKType | undefined; +} /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and @@ -94,19 +172,46 @@ export interface UpgradeProposal { * 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; } +/** + * 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 { + /** the revision that the client is currently on */ + revision_number: Long; + /** the height within the given revision */ + + 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[]; } +/** Params defines the set of IBC light client parameters. */ + +export interface ParamsSDKType { + /** allowed_clients defines the list of allowed client state types. */ + allowed_clients: string[]; +} function createBaseIdentifiedClientState(): IdentifiedClientState { return { @@ -154,20 +259,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 ?? ""; @@ -223,20 +314,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; @@ -292,26 +369,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 ?? ""; @@ -385,24 +442,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 ?? ""; @@ -478,24 +517,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 ?? ""; @@ -553,20 +574,6 @@ export const Height = { return message; }, - fromJSON(object: any): Height { - return { - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: Height): unknown { - const obj: any = {}; - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Height { const message = createBaseHeight(); message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; @@ -613,24 +620,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/examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts b/examples/contracts/codegen/ibc/core/client/v1/genesis.ts similarity index 68% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts rename to examples/contracts/codegen/ibc/core/client/v1/genesis.ts index 682402ad6..e4ff7bcc0 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/genesis.ts @@ -1,46 +1,86 @@ -import { IdentifiedClientState, ClientConsensusStates, Params } from "./client"; +import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + clientsConsensus: ClientConsensusStates[]; /** metadata from each client */ + clientsMetadata: IdentifiedGenesisMetadata[]; params: Params | undefined; - /** create localhost on initialization */ - createLocalhost: boolean; + createLocalhost: boolean; /** the sequence for the next generated client identifier */ + nextClientSequence: Long; } +/** GenesisState defines the ibc client submodule's genesis state. */ + +export interface GenesisStateSDKType { + /** client states with their corresponding identifiers */ + clients: IdentifiedClientStateSDKType[]; + /** consensus states from each client */ + + clients_consensus: ClientConsensusStatesSDKType[]; + /** metadata from each client */ + clients_metadata: IdentifiedGenesisMetadataSDKType[]; + params: ParamsSDKType | undefined; + /** create localhost on initialization */ + + create_localhost: boolean; + /** the sequence for the next generated client identifier */ + + 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; } +/** + * GenesisMetadata defines the genesis type for metadata that clients may return + * with ExportMetadata + */ + +export interface GenesisMetadataSDKType { + /** store key of metadata without clientID-prefix */ + key: Uint8Array; + /** metadata value */ + value: Uint8Array; +} /** * IdentifiedGenesisMetadata has the client metadata with the corresponding * client id. */ + export interface IdentifiedGenesisMetadata { clientId: string; clientMetadata: GenesisMetadata[]; } +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ + +export interface IdentifiedGenesisMetadataSDKType { + client_id: string; + client_metadata: GenesisMetadataSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -124,44 +164,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) ? Long.fromString(object.nextClientSequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; @@ -221,20 +223,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(); @@ -290,26 +278,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/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts new file mode 100644 index 000000000..ebf8ab744 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts @@ -0,0 +1,107 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + } + /* ClientState queries an IBC light client. */ + + + async clientState(params: QueryClientStateRequest): Promise { + const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ClientStates queries all the IBC light clients of a chain. */ + + + async clientStates(params: QueryClientStatesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/client_states`; + return await this.req.get(endpoint, options); + } + /* ConsensusState queries a consensus state associated with a client state at + a given height. */ + + + async consensusState(params: QueryConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.latestHeight !== "undefined") { + options.params.latest_height = params.latestHeight; + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint, options); + } + /* ConsensusStates queries all the consensus state associated with a given + client. */ + + + async consensusStates(params: QueryConsensusStatesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; + return await this.req.get(endpoint, options); + } + /* Status queries the status of an IBC client. */ + + + async clientStatus(params: QueryClientStatusRequest): Promise { + const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ClientParams queries all parameters of the ibc client. */ + + + async clientParams(_params: QueryClientParamsRequest = {}): Promise { + const endpoint = `ibc/client/v1/params`; + return await this.req.get(endpoint); + } + /* UpgradedClientState queries an Upgraded IBC light client. */ + + + async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_client_states`; + return await this.req.get(endpoint); + } + /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ + + + async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts similarity index 54% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts rename to examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts index 26b9e9e6d..2229a6a4b 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -1,36 +1,34 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponse, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponse, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - clientState(request: QueryClientStateRequest): Promise; + clientState(request: QueryClientStateRequest): Promise; /*ClientState queries an IBC light client.*/ - clientStates(request: QueryClientStatesRequest): Promise; + clientStates(request?: QueryClientStatesRequest): Promise; /*ClientStates queries all the IBC light clients of a chain.*/ - consensusState(request: QueryConsensusStateRequest): Promise; + consensusState(request: QueryConsensusStateRequest): Promise; /*ConsensusState queries a consensus state associated with a client state at a given height.*/ - consensusStates(request: QueryConsensusStatesRequest): Promise; + consensusStates(request: QueryConsensusStatesRequest): Promise; /*ConsensusStates queries all the consensus state associated with a given client.*/ - clientStatus(request: QueryClientStatusRequest): Promise; + clientStatus(request: QueryClientStatusRequest): Promise; /*Status queries the status of an IBC client.*/ - clientParams(request: QueryClientParamsRequest): Promise; + clientParams(request?: QueryClientParamsRequest): Promise; /*ClientParams queries all parameters of the ibc client.*/ - upgradedClientState(request: QueryUpgradedClientStateRequest): Promise; + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; /*UpgradedClientState queries an Upgraded IBC light client.*/ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ } @@ -49,52 +47,92 @@ export class QueryClientImpl implements Query { this.upgradedConsensusState = this.upgradedConsensusState.bind(this); } - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { const data = QueryClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); } - clientStates(request: QueryClientStatesRequest): Promise { + clientStates(request: QueryClientStatesRequest = { + pagination: undefined + }): Promise { const data = QueryClientStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); } - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { const data = QueryConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); } - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { const data = QueryConsensusStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); } - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { const data = QueryClientStatusRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); } - clientParams(request: QueryClientParamsRequest): Promise { + clientParams(request: QueryClientParamsRequest = {}): Promise { const data = QueryClientParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); } - upgradedClientState(request: QueryUpgradedClientStateRequest): Promise { + upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { const data = QueryUpgradedClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + clientState(request: QueryClientStateRequest): Promise { + return queryService.clientState(request); + }, + + clientStates(request?: QueryClientStatesRequest): Promise { + return queryService.clientStates(request); + }, + + consensusState(request: QueryConsensusStateRequest): Promise { + return queryService.consensusState(request); + }, + + consensusStates(request: QueryConsensusStatesRequest): Promise { + return queryService.consensusStates(request); + }, + + clientStatus(request: QueryClientStatusRequest): Promise { + return queryService.clientStatus(request); + }, + + clientParams(request?: QueryClientParamsRequest): Promise { + return queryService.clientParams(request); + }, + + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { + return queryService.upgradedClientState(request); + }, + + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts b/examples/contracts/codegen/ibc/core/client/v1/query.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts rename to examples/contracts/codegen/ibc/core/client/v1/query.ts index a7af83f1a..0163ae655 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/query.ts @@ -1,177 +1,346 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method */ + export interface QueryClientStateRequest { /** client state unique identifier */ clientId: string; } +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ +export interface QueryClientStateRequestSDKType { + /** client state unique identifier */ + 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 | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * 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 associated with the request identifier */ + client_state: AnySDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryClientStatesRequest is the request type for the Query/ClientStates RPC * method */ + export interface QueryClientStatesRequest { /** pagination request */ - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ +export interface QueryClientStatesRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryClientStatesResponse is the response type for the Query/ClientStates RPC + * method. + */ +export interface QueryClientStatesResponseSDKType { + /** list of stored ClientStates of the chain. */ + client_states: IdentifiedClientStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; + revisionNumber: Long; /** consensus state revision height */ - revisionHeight: Long; + revisionHeight: Long; /** * latest_height overrrides the height field and queries the latest stored * ConsensusState */ - latestHeight: boolean; + + latestHeight?: boolean; } +/** + * 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 identifier */ + client_id: string; + /** consensus state revision number */ + + revision_number: Long; + /** consensus state revision height */ + + revision_height: Long; + /** + * latest_height overrrides the height field and queries the latest stored + * ConsensusState + */ + + 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 | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConsensusStateResponse is the response type for the Query/ConsensusState + * RPC method + */ + +export interface QueryConsensusStateResponseSDKType { + /** consensus state associated with the client identifier at the given height */ + consensus_state: AnySDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates * RPC method. */ + export interface QueryConsensusStatesRequest { /** client identifier */ clientId: string; - /** pagination request */ - pagination: PageRequest | undefined; + + pagination?: PageRequest | undefined; } +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ + +export interface QueryConsensusStatesRequestSDKType { + /** client identifier */ + client_id: string; + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; + + pagination?: PageResponse | undefined; } +/** + * QueryConsensusStatesResponse is the response type for the + * Query/ConsensusStates RPC method + */ + +export interface QueryConsensusStatesResponseSDKType { + /** consensus states associated with the identifier */ + consensus_states: ConsensusStateWithHeightSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC * method */ + export interface QueryClientStatusRequest { /** client unique identifier */ clientId: string; } +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ +export interface QueryClientStatusRequestSDKType { + /** client unique identifier */ + 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; } +/** + * 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 {} +/** + * 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 | undefined; } +/** + * QueryClientParamsResponse is the response type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** * QueryUpgradedClientStateRequest is the request type for the * Query/UpgradedClientState RPC method */ + export interface QueryUpgradedClientStateRequest {} +/** + * 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 | undefined; } +/** + * QueryUpgradedClientStateResponse is the response type for the + * Query/UpgradedClientState RPC method. + */ +export interface QueryUpgradedClientStateResponseSDKType { + /** client state associated with the request identifier */ + upgraded_client_state: AnySDKType | undefined; +} /** * QueryUpgradedConsensusStateRequest is the request type for the * Query/UpgradedConsensusState RPC method */ + export interface QueryUpgradedConsensusStateRequest {} +/** + * 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 | undefined; } +/** + * QueryUpgradedConsensusStateResponse is the response type for the + * Query/UpgradedConsensusState RPC method. + */ + +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Consensus state associated with the request identifier */ + upgraded_consensus_state: AnySDKType | undefined; +} function createBaseQueryClientStateRequest(): QueryClientStateRequest { return { @@ -210,18 +379,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 ?? ""; @@ -255,7 +412,7 @@ export const QueryClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStateResponse(); @@ -285,22 +442,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; @@ -348,18 +489,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; @@ -388,7 +517,7 @@ export const QueryClientStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatesResponse(); @@ -414,26 +543,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)) || []; @@ -507,24 +616,6 @@ export const QueryConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryConsensusStateRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight); - return obj; - }, - fromPartial(object: Partial): QueryConsensusStateRequest { const message = createBaseQueryConsensusStateRequest(); message.clientId = object.clientId ?? ""; @@ -561,7 +652,7 @@ export const QueryConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStateResponse(); @@ -591,22 +682,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; @@ -663,20 +738,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 ?? ""; @@ -706,7 +767,7 @@ export const QueryConsensusStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStatesResponse(); @@ -732,26 +793,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)) || []; @@ -798,18 +839,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 ?? ""; @@ -833,7 +862,7 @@ export const QueryClientStatusResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatusResponse(); @@ -855,18 +884,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 ?? ""; @@ -902,15 +919,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; @@ -933,7 +941,7 @@ export const QueryClientParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientParamsResponse(); @@ -955,18 +963,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; @@ -1002,15 +998,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; @@ -1033,7 +1020,7 @@ export const QueryUpgradedClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedClientStateResponse(); @@ -1055,18 +1042,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; @@ -1102,15 +1077,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; @@ -1133,7 +1099,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -1155,18 +1121,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/examples/contracts/codegen/ibc/core/client/v1/tx.amino.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.amino.ts new file mode 100644 index 000000000..b6e162ad4 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.amino.ts @@ -0,0 +1,205 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; +export interface AminoMsgCreateClient extends AminoMsg { + type: "cosmos-sdk/MsgCreateClient"; + value: { + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpdateClient extends AminoMsg { + type: "cosmos-sdk/MsgUpdateClient"; + value: { + client_id: string; + header: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpgradeClient extends AminoMsg { + type: "cosmos-sdk/MsgUpgradeClient"; + value: { + client_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + proof_upgrade_client: Uint8Array; + proof_upgrade_consensus_state: Uint8Array; + signer: string; + }; +} +export interface AminoMsgSubmitMisbehaviour extends AminoMsg { + type: "cosmos-sdk/MsgSubmitMisbehaviour"; + value: { + client_id: string; + misbehaviour: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.client.v1.MsgCreateClient": { + aminoType: "cosmos-sdk/MsgCreateClient", + toAmino: ({ + clientState, + consensusState, + signer + }: MsgCreateClient): AminoMsgCreateClient["value"] => { + return { + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + signer + }; + }, + fromAmino: ({ + client_state, + consensus_state, + signer + }: AminoMsgCreateClient["value"]): MsgCreateClient => { + return { + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpdateClient": { + aminoType: "cosmos-sdk/MsgUpdateClient", + toAmino: ({ + clientId, + header, + signer + }: MsgUpdateClient): AminoMsgUpdateClient["value"] => { + return { + client_id: clientId, + header: { + type_url: header.typeUrl, + value: header.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + header, + signer + }: AminoMsgUpdateClient["value"]): MsgUpdateClient => { + return { + clientId: client_id, + header: { + typeUrl: header.type_url, + value: header.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpgradeClient": { + aminoType: "cosmos-sdk/MsgUpgradeClient", + toAmino: ({ + clientId, + clientState, + consensusState, + proofUpgradeClient, + proofUpgradeConsensusState, + signer + }: MsgUpgradeClient): AminoMsgUpgradeClient["value"] => { + return { + client_id: clientId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + proof_upgrade_client: proofUpgradeClient, + proof_upgrade_consensus_state: proofUpgradeConsensusState, + signer + }; + }, + fromAmino: ({ + client_id, + client_state, + consensus_state, + proof_upgrade_client, + proof_upgrade_consensus_state, + signer + }: AminoMsgUpgradeClient["value"]): MsgUpgradeClient => { + return { + clientId: client_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + proofUpgradeClient: proof_upgrade_client, + proofUpgradeConsensusState: proof_upgrade_consensus_state, + signer + }; + } + }, + "/ibc.core.client.v1.MsgSubmitMisbehaviour": { + aminoType: "cosmos-sdk/MsgSubmitMisbehaviour", + toAmino: ({ + clientId, + misbehaviour, + signer + }: MsgSubmitMisbehaviour): AminoMsgSubmitMisbehaviour["value"] => { + return { + client_id: clientId, + misbehaviour: { + type_url: misbehaviour.typeUrl, + value: misbehaviour.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + misbehaviour, + signer + }: AminoMsgSubmitMisbehaviour["value"]): MsgSubmitMisbehaviour => { + return { + clientId: client_id, + misbehaviour: { + typeUrl: misbehaviour.type_url, + value: misbehaviour.value + }, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/core/client/v1/tx.registry.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.registry.ts new file mode 100644 index 000000000..461eccde2 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.encode(value).finish() + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.encode(value).finish() + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.encode(value).finish() + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value + }; + } + + }, + fromPartial: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.fromPartial(value) + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.fromPartial(value) + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.fromPartial(value) + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts index 38fcce3cf..32954d23b 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -1,20 +1,19 @@ -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; - +import { MsgCreateClient, MsgCreateClientResponse, MsgCreateClientResponseSDKType, MsgUpdateClient, MsgUpdateClientResponse, MsgUpdateClientResponseSDKType, MsgUpgradeClient, MsgUpgradeClientResponse, MsgUpgradeClientResponseSDKType, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse, MsgSubmitMisbehaviourResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createClient(request: MsgCreateClient): Promise; + createClient(request: MsgCreateClient): Promise; /*CreateClient defines a rpc handler method for MsgCreateClient.*/ - updateClient(request: MsgUpdateClient): Promise; + updateClient(request: MsgUpdateClient): Promise; /*UpdateClient defines a rpc handler method for MsgUpdateClient.*/ - upgradeClient(request: MsgUpgradeClient): Promise; + upgradeClient(request: MsgUpgradeClient): Promise; /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ } @@ -29,25 +28,25 @@ export class MsgClientImpl implements Msg { this.submitMisbehaviour = this.submitMisbehaviour.bind(this); } - createClient(request: MsgCreateClient): Promise { + createClient(request: MsgCreateClient): Promise { const data = MsgCreateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); } - updateClient(request: MsgUpdateClient): Promise { + updateClient(request: MsgUpdateClient): Promise { const data = MsgUpdateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); } - upgradeClient(request: MsgUpgradeClient): Promise { + upgradeClient(request: MsgUpgradeClient): Promise { const data = MsgUpgradeClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); } - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { const data = MsgSubmitMisbehaviour.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts rename to examples/contracts/codegen/ibc/core/client/v1/tx.ts index 25a17d447..1936320d5 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.ts @@ -1,93 +1,179 @@ -import { Any } from "../../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** MsgCreateClient defines a message to create an IBC client */ + export interface MsgCreateClient { /** light client state */ clientState: Any | undefined; - /** * consensus state associated with the client that corresponds to a given * height. */ - consensusState: Any | undefined; + consensusState: Any | undefined; /** signer address */ + signer: string; } +/** MsgCreateClient defines a message to create an IBC client */ + +export interface MsgCreateClientSDKType { + /** light client state */ + client_state: AnySDKType | undefined; + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + + consensus_state: AnySDKType | undefined; + /** signer address */ + signer: string; +} /** MsgCreateClientResponse defines the Msg/CreateClient response type. */ + export interface MsgCreateClientResponse {} +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ +export interface MsgCreateClientResponseSDKType {} /** * MsgUpdateClient defines an sdk.Msg to update a IBC client state using * the given header. */ + export interface MsgUpdateClient { /** client unique identifier */ clientId: string; - /** header to update the light client */ - header: Any | undefined; + header: Any | undefined; /** signer address */ + signer: string; } +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ + +export interface MsgUpdateClientSDKType { + /** client unique identifier */ + client_id: string; + /** header to update the light client */ + header: AnySDKType | undefined; + /** signer address */ + + signer: string; +} /** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ + export interface MsgUpdateClientResponse {} +/** 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 | undefined; + clientState: Any | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensusState: Any | undefined; + consensusState: Any | undefined; /** proof that old chain committed to new client */ - proofUpgradeClient: Uint8Array; + proofUpgradeClient: Uint8Array; /** proof that old chain committed to new consensus state */ - proofUpgradeConsensusState: Uint8Array; + proofUpgradeConsensusState: Uint8Array; /** signer address */ + signer: string; } +/** + * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client + * state + */ + +export interface MsgUpgradeClientSDKType { + /** client unique identifier */ + client_id: string; + /** upgraded client state */ + + client_state: AnySDKType | undefined; + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + + consensus_state: AnySDKType | undefined; + /** 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; +} /** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ + export interface MsgUpgradeClientResponse {} +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ +export interface MsgUpgradeClientResponseSDKType {} /** * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for * light client misbehaviour. */ + export interface MsgSubmitMisbehaviour { /** client unique identifier */ clientId: string; - /** misbehaviour used for freezing the light client */ - misbehaviour: Any | undefined; + misbehaviour: Any | undefined; /** signer address */ + signer: string; } +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ + +export interface MsgSubmitMisbehaviourSDKType { + /** client unique identifier */ + client_id: string; + /** misbehaviour used for freezing the light client */ + misbehaviour: AnySDKType | undefined; + /** signer address */ + + signer: string; +} /** * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response * type. */ + export interface MsgSubmitMisbehaviourResponse {} +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ + +export interface MsgSubmitMisbehaviourResponseSDKType {} function createBaseMsgCreateClient(): MsgCreateClient { return { @@ -144,22 +230,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; @@ -179,7 +249,7 @@ export const MsgCreateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateClientResponse(); @@ -197,15 +267,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; @@ -268,22 +329,6 @@ export const MsgUpdateClient = { return message; }, - fromJSON(object: any): MsgUpdateClient { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - header: isSet(object.header) ? Any.fromJSON(object.header) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgUpdateClient): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.header !== undefined && (obj.header = message.header ? Any.toJSON(message.header) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgUpdateClient { const message = createBaseMsgUpdateClient(); message.clientId = object.clientId ?? ""; @@ -303,7 +348,7 @@ export const MsgUpdateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateClientResponse(); @@ -321,15 +366,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; @@ -419,28 +455,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 ?? ""; @@ -463,7 +477,7 @@ export const MsgUpgradeClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpgradeClientResponse(); @@ -481,15 +495,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; @@ -552,22 +557,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 ?? ""; @@ -587,7 +576,7 @@ export const MsgSubmitMisbehaviourResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitMisbehaviourResponse(); @@ -605,15 +594,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/examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts b/examples/contracts/codegen/ibc/core/commitment/v1/commitment.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts rename to examples/contracts/codegen/ibc/core/commitment/v1/commitment.ts index bb3c68749..571febed0 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/commitment/v1/commitment.ts +++ b/examples/contracts/codegen/ibc/core/commitment/v1/commitment.ts @@ -1,33 +1,57 @@ -import { CommitmentProof } from "../../../../confio/proofs"; +import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * MerkleRoot defines a merkle root hash. * In the Cosmos SDK, the AppHash of a block header becomes the root. */ + export interface MerkleRoot { hash: Uint8Array; } +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ +export interface MerkleRootSDKType { + hash: Uint8Array; +} /** * MerklePrefix is merkle path prefixed to the key. * The constructed key from the Path and the key will be append(Path.KeyPath, * append(Path.KeyPrefix, key...)) */ + export interface MerklePrefix { keyPrefix: Uint8Array; } +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ +export interface MerklePrefixSDKType { + key_prefix: Uint8Array; +} /** * MerklePath is the path used to verify commitment proofs, which can be an * arbitrary structured object (defined by a commitment type). * MerklePath is represented from root-to-leaf */ + export interface MerklePath { keyPath: string[]; } +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ +export interface MerklePathSDKType { + key_path: string[]; +} /** * MerkleProof is a wrapper type over a chain of CommitmentProofs. * It demonstrates membership or non-membership for an element or set of @@ -35,9 +59,21 @@ export interface MerklePath { * should be succinct. * MerkleProofs are ordered from leaf-to-root */ + export interface MerkleProof { proofs: CommitmentProof[]; } +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ + +export interface MerkleProofSDKType { + proofs: CommitmentProofSDKType[]; +} function createBaseMerkleRoot(): MerkleRoot { return { @@ -76,18 +112,6 @@ export const MerkleRoot = { return message; }, - fromJSON(object: any): MerkleRoot { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - - toJSON(message: MerkleRoot): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MerkleRoot { const message = createBaseMerkleRoot(); message.hash = object.hash ?? new Uint8Array(); @@ -133,18 +157,6 @@ export const MerklePrefix = { return message; }, - fromJSON(object: any): MerklePrefix { - return { - keyPrefix: isSet(object.keyPrefix) ? bytesFromBase64(object.keyPrefix) : new Uint8Array() - }; - }, - - toJSON(message: MerklePrefix): unknown { - const obj: any = {}; - message.keyPrefix !== undefined && (obj.keyPrefix = base64FromBytes(message.keyPrefix !== undefined ? message.keyPrefix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MerklePrefix { const message = createBaseMerklePrefix(); message.keyPrefix = object.keyPrefix ?? new Uint8Array(); @@ -190,24 +202,6 @@ export const MerklePath = { return message; }, - fromJSON(object: any): MerklePath { - return { - keyPath: Array.isArray(object?.keyPath) ? object.keyPath.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: MerklePath): unknown { - const obj: any = {}; - - if (message.keyPath) { - obj.keyPath = message.keyPath.map(e => e); - } else { - obj.keyPath = []; - } - - return obj; - }, - fromPartial(object: Partial): MerklePath { const message = createBaseMerklePath(); message.keyPath = object.keyPath?.map(e => e) || []; @@ -253,24 +247,6 @@ export const MerkleProof = { return message; }, - fromJSON(object: any): MerkleProof { - return { - proofs: Array.isArray(object?.proofs) ? object.proofs.map((e: any) => CommitmentProof.fromJSON(e)) : [] - }; - }, - - toJSON(message: MerkleProof): unknown { - const obj: any = {}; - - if (message.proofs) { - obj.proofs = message.proofs.map(e => e ? CommitmentProof.toJSON(e) : undefined); - } else { - obj.proofs = []; - } - - return obj; - }, - fromPartial(object: Partial): MerkleProof { const message = createBaseMerkleProof(); message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts b/examples/contracts/codegen/ibc/core/connection/v1/connection.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts rename to examples/contracts/codegen/ibc/core/connection/v1/connection.ts index 81de3f490..56675b482 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/connection.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/connection.ts @@ -1,11 +1,11 @@ -import { MerklePrefix } from "../../commitment/v1/commitment"; +import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * State defines if a connection is in one of the following states: * INIT, TRYOPEN, OPEN or UNINITIALIZED. */ + export enum State { /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ STATE_UNINITIALIZED_UNSPECIFIED = 0, @@ -23,6 +23,28 @@ export enum State { STATE_OPEN = 3, UNRECOGNIZED = -1, } +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} export function stateFromJSON(object: any): State { switch (object) { case 0: @@ -65,110 +87,212 @@ export function stateToJSON(object: State): string { return "UNKNOWN"; } } - /** * ConnectionEnd defines a stateful object on a chain connected to another * separate one. * NOTE: there must only be 2 defined ConnectionEnds to establish * a connection between two chains. */ + export interface ConnectionEnd { /** client associated with this connection. */ clientId: string; - /** * IBC version which can be utilised to determine encodings or protocols for * channels or packets utilising this connection. */ - versions: Version[]; + versions: Version[]; /** current state of the connection end. */ - state: State; + state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some * clients. */ + delayPeriod: Long; } +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ + +export interface ConnectionEndSDKType { + /** client associated with this connection. */ + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty: CounterpartySDKType | undefined; + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + delay_period: Long; +} /** * IdentifiedConnection defines a connection with additional connection * identifier field. */ + export interface IdentifiedConnection { /** connection identifier. */ id: string; - /** client associated with this connection. */ - clientId: string; + clientId: string; /** * IBC version which can be utilised to determine encodings or protocols for * channels or packets utilising this connection */ - versions: Version[]; + versions: Version[]; /** current state of the connection end. */ - state: State; + state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** delay period associated with this connection. */ + delayPeriod: Long; } +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ + +export interface IdentifiedConnectionSDKType { + /** connection identifier. */ + id: string; + /** client associated with this connection. */ + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty: CounterpartySDKType | undefined; + /** delay period associated with this connection. */ + + delay_period: Long; +} /** Counterparty defines the counterparty chain associated with a connection end. */ + export interface Counterparty { /** * identifies the client on the counterparty chain associated with a given * connection. */ clientId: string; - /** * identifies the connection end on the counterparty chain associated with a * given connection. */ - connectionId: string; + connectionId: string; /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefix | undefined; } +/** Counterparty defines the counterparty chain associated with a connection end. */ + +export interface CounterpartySDKType { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + client_id: string; + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + + connection_id: string; + /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefixSDKType | undefined; +} /** ClientPaths define all the connection paths for a client state. */ + export interface ClientPaths { /** list of connection paths */ paths: string[]; } +/** ClientPaths define all the connection paths for a client state. */ +export interface ClientPathsSDKType { + /** list of connection paths */ + paths: string[]; +} /** ConnectionPaths define all the connection paths for a given client state. */ + export interface ConnectionPaths { /** client state unique identifier */ clientId: string; - /** list of connection paths */ + paths: string[]; } +/** ConnectionPaths define all the connection paths for a given client state. */ + +export interface ConnectionPathsSDKType { + /** client state unique identifier */ + client_id: string; + /** list of connection paths */ + paths: string[]; +} /** * Version defines the versioning scheme used to negotiate the IBC verison in * the connection handshake. */ + export interface Version { /** unique version identifier */ identifier: string; - /** list of features compatible with the specified identifier */ + features: string[]; } +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ +export interface VersionSDKType { + /** unique version identifier */ + identifier: string; + /** list of features compatible with the specified identifier */ + + features: string[]; +} /** Params defines the set of Connection parameters. */ + export interface Params { /** * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the @@ -177,6 +301,16 @@ export interface Params { */ maxExpectedTimePerBlock: Long; } +/** Params defines the set of Connection parameters. */ + +export interface ParamsSDKType { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + max_expected_time_per_block: Long; +} function createBaseConnectionEnd(): ConnectionEnd { return { @@ -251,32 +385,6 @@ export const ConnectionEnd = { return message; }, - fromJSON(object: any): ConnectionEnd { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO - }; - }, - - toJSON(message: ConnectionEnd): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.versions) { - obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.versions = []; - } - - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConnectionEnd { const message = createBaseConnectionEnd(); message.clientId = object.clientId ?? ""; @@ -371,34 +479,6 @@ export const IdentifiedConnection = { return message; }, - fromJSON(object: any): IdentifiedConnection { - return { - id: isSet(object.id) ? String(object.id) : "", - clientId: isSet(object.clientId) ? String(object.clientId) : "", - versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO - }; - }, - - toJSON(message: IdentifiedConnection): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.versions) { - obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.versions = []; - } - - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): IdentifiedConnection { const message = createBaseIdentifiedConnection(); message.id = object.id ?? ""; @@ -467,22 +547,6 @@ export const Counterparty = { return message; }, - fromJSON(object: any): Counterparty { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - prefix: isSet(object.prefix) ? MerklePrefix.fromJSON(object.prefix) : undefined - }; - }, - - toJSON(message: Counterparty): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.prefix !== undefined && (obj.prefix = message.prefix ? MerklePrefix.toJSON(message.prefix) : undefined); - return obj; - }, - fromPartial(object: Partial): Counterparty { const message = createBaseCounterparty(); message.clientId = object.clientId ?? ""; @@ -530,24 +594,6 @@ export const ClientPaths = { return message; }, - fromJSON(object: any): ClientPaths { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: ClientPaths): unknown { - const obj: any = {}; - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): ClientPaths { const message = createBaseClientPaths(); message.paths = object.paths?.map(e => e) || []; @@ -602,26 +648,6 @@ export const ConnectionPaths = { return message; }, - fromJSON(object: any): ConnectionPaths { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: ConnectionPaths): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): ConnectionPaths { const message = createBaseConnectionPaths(); message.clientId = object.clientId ?? ""; @@ -677,26 +703,6 @@ export const Version = { return message; }, - fromJSON(object: any): Version { - return { - identifier: isSet(object.identifier) ? String(object.identifier) : "", - features: Array.isArray(object?.features) ? object.features.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: Version): unknown { - const obj: any = {}; - message.identifier !== undefined && (obj.identifier = message.identifier); - - if (message.features) { - obj.features = message.features.map(e => e); - } else { - obj.features = []; - } - - return obj; - }, - fromPartial(object: Partial): Version { const message = createBaseVersion(); message.identifier = object.identifier ?? ""; @@ -743,18 +749,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - maxExpectedTimePerBlock: isSet(object.maxExpectedTimePerBlock) ? Long.fromString(object.maxExpectedTimePerBlock) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxExpectedTimePerBlock !== undefined && (obj.maxExpectedTimePerBlock = (message.maxExpectedTimePerBlock || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts b/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts similarity index 66% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts rename to examples/contracts/codegen/ibc/core/connection/v1/genesis.ts index 91a46ff82..d9f7145f8 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts @@ -1,16 +1,26 @@ -import { IdentifiedConnection, ConnectionPaths, Params } from "./connection"; +import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the ibc connection submodule's genesis state. */ + export interface GenesisState { connections: IdentifiedConnection[]; clientConnectionPaths: ConnectionPaths[]; - /** the sequence for the next generated connection identifier */ + nextConnectionSequence: Long; params: Params | undefined; } +/** GenesisState defines the ibc connection submodule's genesis state. */ + +export interface GenesisStateSDKType { + connections: IdentifiedConnectionSDKType[]; + client_connection_paths: ConnectionPathsSDKType[]; + /** the sequence for the next generated connection identifier */ + + next_connection_sequence: Long; + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -76,35 +86,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], - clientConnectionPaths: Array.isArray(object?.clientConnectionPaths) ? object.clientConnectionPaths.map((e: any) => ConnectionPaths.fromJSON(e)) : [], - nextConnectionSequence: isSet(object.nextConnectionSequence) ? Long.fromString(object.nextConnectionSequence) : Long.UZERO, - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - - if (message.connections) { - obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); - } else { - obj.connections = []; - } - - if (message.clientConnectionPaths) { - obj.clientConnectionPaths = message.clientConnectionPaths.map(e => e ? ConnectionPaths.toJSON(e) : undefined); - } else { - obj.clientConnectionPaths = []; - } - - message.nextConnectionSequence !== undefined && (obj.nextConnectionSequence = (message.nextConnectionSequence || Long.UZERO).toString()); - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; diff --git a/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts new file mode 100644 index 000000000..3f36d30cf --- /dev/null +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts @@ -0,0 +1,68 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); + } + /* Connection queries an IBC connection end. */ + + + async connection(params: QueryConnectionRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; + return await this.req.get(endpoint); + } + /* Connections queries all the IBC connections of a chain. */ + + + async connections(params: QueryConnectionsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/connection/v1/connections`; + return await this.req.get(endpoint, options); + } + /* ClientConnections queries the connection paths associated with a client + state. */ + + + async clientConnections(params: QueryClientConnectionsRequest): Promise { + const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ConnectionClientState queries the client state associated with the + connection. */ + + + async connectionClientState(params: QueryConnectionClientStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; + return await this.req.get(endpoint); + } + /* ConnectionConsensusState queries the consensus state associated with the + connection. */ + + + async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts similarity index 56% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts rename to examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts index c8aa8c327..eb31397af 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -1,28 +1,25 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponse, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse, QueryConnectionConsensusStateResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - connection(request: QueryConnectionRequest): Promise; + connection(request: QueryConnectionRequest): Promise; /*Connection queries an IBC connection end.*/ - connections(request: QueryConnectionsRequest): Promise; + connections(request?: QueryConnectionsRequest): Promise; /*Connections queries all the IBC connections of a chain.*/ - clientConnections(request: QueryClientConnectionsRequest): Promise; + clientConnections(request: QueryClientConnectionsRequest): Promise; /*ClientConnections queries the connection paths associated with a client state.*/ - connectionClientState(request: QueryConnectionClientStateRequest): Promise; + connectionClientState(request: QueryConnectionClientStateRequest): Promise; /*ConnectionClientState queries the client state associated with the connection.*/ - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; /*ConnectionConsensusState queries the consensus state associated with the connection.*/ @@ -39,34 +36,62 @@ export class QueryClientImpl implements Query { this.connectionConsensusState = this.connectionConsensusState.bind(this); } - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { const data = QueryConnectionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); } - connections(request: QueryConnectionsRequest): Promise { + connections(request: QueryConnectionsRequest = { + pagination: undefined + }): Promise { const data = QueryConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); } - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { const data = QueryClientConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); } - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { const data = QueryConnectionClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); } - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { const data = QueryConnectionConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + connection(request: QueryConnectionRequest): Promise { + return queryService.connection(request); + }, + + connections(request?: QueryConnectionsRequest): Promise { + return queryService.connections(request); + }, + + clientConnections(request: QueryClientConnectionsRequest): Promise { + return queryService.clientConnections(request); + }, + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + return queryService.connectionClientState(request); + }, + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + return queryService.connectionConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts rename to examples/contracts/codegen/ibc/core/connection/v1/query.ts index fdcfc0f04..806638982 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.ts @@ -1,134 +1,259 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryConnectionRequest is the request type for the Query/Connection RPC * method */ + export interface QueryConnectionRequest { /** connection unique identifier */ connectionId: string; } +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ +export interface QueryConnectionRequestSDKType { + /** connection unique identifier */ + connection_id: string; +} /** * QueryConnectionResponse is the response type for the Query/Connection RPC * method. Besides the connection end, it includes a proof and the height from * which the proof was retrieved. */ + export interface QueryConnectionResponse { /** connection associated with the request identifier */ connection: ConnectionEnd | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ + +export interface QueryConnectionResponseSDKType { + /** connection associated with the request identifier */ + connection: ConnectionEndSDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionsRequest is the request type for the Query/Connections RPC * method */ + export interface QueryConnectionsRequest { - pagination: PageRequest | undefined; + pagination?: PageRequest | undefined; } +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ +export interface QueryConnectionsRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} /** * QueryConnectionsResponse is the response type for the Query/Connections RPC * method. */ + export interface QueryConnectionsResponse { /** list of stored connections of the chain. */ connections: IdentifiedConnection[]; - /** pagination response */ - pagination: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ + +export interface QueryConnectionsResponseSDKType { + /** list of stored connections of the chain. */ + connections: IdentifiedConnectionSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryClientConnectionsRequest is the request type for the * Query/ClientConnections RPC method */ + export interface QueryClientConnectionsRequest { /** client identifier associated with a connection */ clientId: string; } +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsRequestSDKType { + /** client identifier associated with a connection */ + client_id: string; +} /** * QueryClientConnectionsResponse is the response type for the * Query/ClientConnections RPC method */ + export interface QueryClientConnectionsResponse { /** slice of all the connection paths associated with a client. */ connectionPaths: string[]; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was generated */ + proofHeight: Height | undefined; } +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsResponseSDKType { + /** slice of all the connection paths associated with a client. */ + connection_paths: string[]; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was generated */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionClientStateRequest is the request type for the * Query/ConnectionClientState RPC method */ + export interface QueryConnectionClientStateRequest { /** connection identifier */ connectionId: string; } +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateRequestSDKType { + /** connection identifier */ + connection_id: string; +} /** * QueryConnectionClientStateResponse is the response type for the * Query/ConnectionClientState RPC method */ + export interface QueryConnectionClientStateResponse { /** client state associated with the channel */ identifiedClientState: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionConsensusStateRequest is the request type for the * Query/ConnectionConsensusState RPC method */ + export interface QueryConnectionConsensusStateRequest { /** connection identifier */ connectionId: string; revisionNumber: Long; revisionHeight: Long; } +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateRequestSDKType { + /** connection identifier */ + connection_id: string; + revision_number: Long; + revision_height: Long; +} /** * QueryConnectionConsensusStateResponse is the response type for the * Query/ConnectionConsensusState RPC method */ + export interface QueryConnectionConsensusStateResponse { /** consensus state associated with the channel */ consensusState: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; + clientId: string; /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} function createBaseQueryConnectionRequest(): QueryConnectionRequest { return { @@ -167,18 +292,6 @@ export const QueryConnectionRequest = { return message; }, - fromJSON(object: any): QueryConnectionRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" - }; - }, - - toJSON(message: QueryConnectionRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - return obj; - }, - fromPartial(object: Partial): QueryConnectionRequest { const message = createBaseQueryConnectionRequest(); message.connectionId = object.connectionId ?? ""; @@ -212,7 +325,7 @@ export const QueryConnectionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionResponse(); @@ -242,22 +355,6 @@ export const QueryConnectionResponse = { return message; }, - fromJSON(object: any): QueryConnectionResponse { - return { - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionResponse): unknown { - const obj: any = {}; - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : 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): QueryConnectionResponse { const message = createBaseQueryConnectionResponse(); message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; @@ -305,18 +402,6 @@ export const QueryConnectionsRequest = { return message; }, - fromJSON(object: any): QueryConnectionsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryConnectionsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionsRequest { const message = createBaseQueryConnectionsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -350,7 +435,7 @@ export const QueryConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionsResponse(); @@ -380,28 +465,6 @@ export const QueryConnectionsResponse = { return message; }, - fromJSON(object: any): QueryConnectionsResponse { - return { - connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryConnectionsResponse): unknown { - const obj: any = {}; - - if (message.connections) { - obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); - } else { - obj.connections = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionsResponse { const message = createBaseQueryConnectionsResponse(); message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; @@ -449,18 +512,6 @@ export const QueryClientConnectionsRequest = { return message; }, - fromJSON(object: any): QueryClientConnectionsRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "" - }; - }, - - toJSON(message: QueryClientConnectionsRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - return obj; - }, - fromPartial(object: Partial): QueryClientConnectionsRequest { const message = createBaseQueryClientConnectionsRequest(); message.clientId = object.clientId ?? ""; @@ -494,7 +545,7 @@ export const QueryClientConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientConnectionsResponse(); @@ -524,28 +575,6 @@ export const QueryClientConnectionsResponse = { return message; }, - fromJSON(object: any): QueryClientConnectionsResponse { - return { - connectionPaths: Array.isArray(object?.connectionPaths) ? object.connectionPaths.map((e: any) => String(e)) : [], - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryClientConnectionsResponse): unknown { - const obj: any = {}; - - if (message.connectionPaths) { - obj.connectionPaths = message.connectionPaths.map(e => e); - } else { - obj.connectionPaths = []; - } - - 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): QueryClientConnectionsResponse { const message = createBaseQueryClientConnectionsResponse(); message.connectionPaths = object.connectionPaths?.map(e => e) || []; @@ -593,18 +622,6 @@ export const QueryConnectionClientStateRequest = { return message; }, - fromJSON(object: any): QueryConnectionClientStateRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" - }; - }, - - toJSON(message: QueryConnectionClientStateRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - return obj; - }, - fromPartial(object: Partial): QueryConnectionClientStateRequest { const message = createBaseQueryConnectionClientStateRequest(); message.connectionId = object.connectionId ?? ""; @@ -638,7 +655,7 @@ export const QueryConnectionClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionClientStateResponse(); @@ -668,22 +685,6 @@ export const QueryConnectionClientStateResponse = { return message; }, - fromJSON(object: any): QueryConnectionClientStateResponse { - return { - identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionClientStateResponse): unknown { - const obj: any = {}; - message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryConnectionClientStateResponse { const message = createBaseQueryConnectionClientStateResponse(); message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; @@ -749,22 +750,6 @@ export const QueryConnectionConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryConnectionConsensusStateRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: QueryConnectionConsensusStateRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryConnectionConsensusStateRequest { const message = createBaseQueryConnectionConsensusStateRequest(); message.connectionId = object.connectionId ?? ""; @@ -805,7 +790,7 @@ export const QueryConnectionConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionConsensusStateResponse(); @@ -839,24 +824,6 @@ export const QueryConnectionConsensusStateResponse = { return message; }, - fromJSON(object: any): QueryConnectionConsensusStateResponse { - return { - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - clientId: isSet(object.clientId) ? String(object.clientId) : "", - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionConsensusStateResponse): unknown { - const obj: any = {}; - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.clientId !== undefined && (obj.clientId = message.clientId); - 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): QueryConnectionConsensusStateResponse { const message = createBaseQueryConnectionConsensusStateResponse(); message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; diff --git a/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts new file mode 100644 index 000000000..672bcc142 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts @@ -0,0 +1,343 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export interface AminoMsgConnectionOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenInit"; + value: { + client_id: string; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + version: { + identifier: string; + features: string[]; + }; + delay_period: string; + signer: string; + }; +} +export interface AminoMsgConnectionOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenTry"; + value: { + client_id: string; + previous_connection_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + delay_period: string; + counterparty_versions: { + identifier: string; + features: string[]; + }[]; + proof_height: AminoHeight; + proof_init: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenAck"; + value: { + connection_id: string; + counterparty_connection_id: string; + version: { + identifier: string; + features: string[]; + }; + client_state: { + type_url: string; + value: Uint8Array; + }; + proof_height: AminoHeight; + proof_try: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenConfirm"; + value: { + connection_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.connection.v1.MsgConnectionOpenInit": { + aminoType: "cosmos-sdk/MsgConnectionOpenInit", + toAmino: ({ + clientId, + counterparty, + version, + delayPeriod, + signer + }: MsgConnectionOpenInit): AminoMsgConnectionOpenInit["value"] => { + return { + client_id: clientId, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delay_period: delayPeriod.toString(), + signer + }; + }, + fromAmino: ({ + client_id, + counterparty, + version, + delay_period, + signer + }: AminoMsgConnectionOpenInit["value"]): MsgConnectionOpenInit => { + return { + clientId: client_id, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delayPeriod: Long.fromString(delay_period), + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenTry": { + aminoType: "cosmos-sdk/MsgConnectionOpenTry", + toAmino: ({ + clientId, + previousConnectionId, + clientState, + counterparty, + delayPeriod, + counterpartyVersions, + proofHeight, + proofInit, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenTry): AminoMsgConnectionOpenTry["value"] => { + return { + client_id: clientId, + previous_connection_id: previousConnectionId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + delay_period: delayPeriod.toString(), + counterparty_versions: counterpartyVersions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_init: proofInit, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + client_id, + previous_connection_id, + client_state, + counterparty, + delay_period, + counterparty_versions, + proof_height, + proof_init, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenTry["value"]): MsgConnectionOpenTry => { + return { + clientId: client_id, + previousConnectionId: previous_connection_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + delayPeriod: Long.fromString(delay_period), + counterpartyVersions: counterparty_versions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofInit: proof_init, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenAck": { + aminoType: "cosmos-sdk/MsgConnectionOpenAck", + toAmino: ({ + connectionId, + counterpartyConnectionId, + version, + clientState, + proofHeight, + proofTry, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenAck): AminoMsgConnectionOpenAck["value"] => { + return { + connection_id: connectionId, + counterparty_connection_id: counterpartyConnectionId, + version: { + identifier: version.identifier, + features: version.features + }, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_try: proofTry, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + counterparty_connection_id, + version, + client_state, + proof_height, + proof_try, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenAck["value"]): MsgConnectionOpenAck => { + return { + connectionId: connection_id, + counterpartyConnectionId: counterparty_connection_id, + version: { + identifier: version.identifier, + features: version.features + }, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofTry: proof_try, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { + aminoType: "cosmos-sdk/MsgConnectionOpenConfirm", + toAmino: ({ + connectionId, + proofAck, + proofHeight, + signer + }: MsgConnectionOpenConfirm): AminoMsgConnectionOpenConfirm["value"] => { + return { + connection_id: connectionId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + proof_ack, + proof_height, + signer + }: AminoMsgConnectionOpenConfirm["value"]): MsgConnectionOpenConfirm => { + return { + connectionId: connection_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/core/connection/v1/tx.registry.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.registry.ts new file mode 100644 index 000000000..1cc79cfa4 --- /dev/null +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.registry.ts @@ -0,0 +1,100 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.encode(value).finish() + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.encode(value).finish() + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.encode(value).finish() + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.encode(value).finish() + }; + } + + }, + withTypeUrl: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value + }; + } + + }, + fromPartial: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.fromPartial(value) + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.fromPartial(value) + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.fromPartial(value) + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts similarity index 79% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts rename to examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts index c25e4f693..5a29f86b4 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -1,22 +1,19 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; - +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenInitResponseSDKType, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenTryResponseSDKType, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenAckResponseSDKType, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse, MsgConnectionOpenConfirmResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - connectionOpenInit(request: MsgConnectionOpenInit): Promise; + connectionOpenInit(request: MsgConnectionOpenInit): Promise; /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ - connectionOpenTry(request: MsgConnectionOpenTry): Promise; + connectionOpenTry(request: MsgConnectionOpenTry): Promise; /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ - connectionOpenAck(request: MsgConnectionOpenAck): Promise; + connectionOpenAck(request: MsgConnectionOpenAck): Promise; /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; /*ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.*/ @@ -32,25 +29,25 @@ export class MsgClientImpl implements Msg { this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); } - connectionOpenInit(request: MsgConnectionOpenInit): Promise { + connectionOpenInit(request: MsgConnectionOpenInit): Promise { const data = MsgConnectionOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); } - connectionOpenTry(request: MsgConnectionOpenTry): Promise { + connectionOpenTry(request: MsgConnectionOpenTry): Promise { const data = MsgConnectionOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); } - connectionOpenAck(request: MsgConnectionOpenAck): Promise { + connectionOpenAck(request: MsgConnectionOpenAck): Promise { const data = MsgConnectionOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); } - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { const data = MsgConnectionOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts rename to examples/contracts/codegen/ibc/core/connection/v1/tx.ts index 8ccaed5cb..344a50b3a 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.ts @@ -1,13 +1,13 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; +import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. */ + export interface MsgConnectionOpenInit { clientId: string; counterparty: Counterparty | undefined; @@ -15,96 +15,198 @@ export interface MsgConnectionOpenInit { delayPeriod: Long; signer: string; } +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ +export interface MsgConnectionOpenInitSDKType { + client_id: string; + counterparty: CounterpartySDKType | undefined; + version: VersionSDKType | undefined; + delay_period: Long; + signer: string; +} /** * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response * type. */ + export interface MsgConnectionOpenInitResponse {} +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ +export interface MsgConnectionOpenInitResponseSDKType {} /** * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a * connection on Chain B. */ + export interface MsgConnectionOpenTry { clientId: string; - /** * in the case of crossing hello's, when both chains call OpenInit, we need * the connection identifier of the previous connection in state INIT */ + previousConnectionId: string; clientState: Any | undefined; counterparty: Counterparty | undefined; delayPeriod: Long; counterpartyVersions: Version[]; proofHeight: Height | undefined; - /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` */ - proofInit: Uint8Array; + proofInit: Uint8Array; /** proof of client state included in message */ - proofClient: Uint8Array; + proofClient: Uint8Array; /** proof of client consensus state */ + proofConsensus: Uint8Array; consensusHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ +export interface MsgConnectionOpenTrySDKType { + client_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + + previous_connection_id: string; + client_state: AnySDKType | undefined; + counterparty: CounterpartySDKType | undefined; + delay_period: Long; + counterparty_versions: VersionSDKType[]; + proof_height: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + + proof_init: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height: HeightSDKType | undefined; + signer: string; +} /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ + export interface MsgConnectionOpenTryResponse {} +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ +export interface MsgConnectionOpenTryResponseSDKType {} /** * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to * acknowledge the change of connection state to TRYOPEN on Chain B. */ + export interface MsgConnectionOpenAck { connectionId: string; counterpartyConnectionId: string; version: Version | undefined; clientState: Any | undefined; proofHeight: Height | undefined; - /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` */ - proofTry: Uint8Array; + proofTry: Uint8Array; /** proof of client state included in message */ - proofClient: Uint8Array; + proofClient: Uint8Array; /** proof of client consensus state */ + proofConsensus: Uint8Array; consensusHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ +export interface MsgConnectionOpenAckSDKType { + connection_id: string; + counterparty_connection_id: string; + version: VersionSDKType | undefined; + client_state: AnySDKType | undefined; + proof_height: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + + proof_try: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height: HeightSDKType | undefined; + signer: string; +} /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ + export interface MsgConnectionOpenAckResponse {} +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ +export interface MsgConnectionOpenAckResponseSDKType {} /** * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of connection state to OPEN on Chain A. */ + export interface MsgConnectionOpenConfirm { connectionId: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proofAck: Uint8Array; proofHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ + +export interface MsgConnectionOpenConfirmSDKType { + connection_id: string; + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proof_ack: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm * response type. */ + export interface MsgConnectionOpenConfirmResponse {} +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ + +export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { @@ -179,26 +281,6 @@ export const MsgConnectionOpenInit = { return message; }, - fromJSON(object: any): MsgConnectionOpenInit { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenInit): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenInit { const message = createBaseMsgConnectionOpenInit(); message.clientId = object.clientId ?? ""; @@ -220,7 +302,7 @@ export const MsgConnectionOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenInitResponse(); @@ -238,15 +320,6 @@ export const MsgConnectionOpenInitResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenInitResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenInitResponse { const message = createBaseMsgConnectionOpenInitResponse(); return message; @@ -390,46 +463,6 @@ export const MsgConnectionOpenTry = { return message; }, - fromJSON(object: any): MsgConnectionOpenTry { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - previousConnectionId: isSet(object.previousConnectionId) ? String(object.previousConnectionId) : "", - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, - counterpartyVersions: Array.isArray(object?.counterpartyVersions) ? object.counterpartyVersions.map((e: any) => Version.fromJSON(e)) : [], - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), - proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), - consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenTry): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.previousConnectionId !== undefined && (obj.previousConnectionId = message.previousConnectionId); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - - if (message.counterpartyVersions) { - obj.counterpartyVersions = message.counterpartyVersions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.counterpartyVersions = []; - } - - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); - message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); - message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenTry { const message = createBaseMsgConnectionOpenTry(); message.clientId = object.clientId ?? ""; @@ -458,7 +491,7 @@ export const MsgConnectionOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenTryResponse(); @@ -476,15 +509,6 @@ export const MsgConnectionOpenTryResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenTryResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenTryResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenTryResponse { const message = createBaseMsgConnectionOpenTryResponse(); return message; @@ -610,36 +634,6 @@ export const MsgConnectionOpenAck = { return message; }, - fromJSON(object: any): MsgConnectionOpenAck { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - counterpartyConnectionId: isSet(object.counterpartyConnectionId) ? String(object.counterpartyConnectionId) : "", - version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), - proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), - proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), - consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenAck): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.counterpartyConnectionId !== undefined && (obj.counterpartyConnectionId = message.counterpartyConnectionId); - message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); - message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); - message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); - message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenAck { const message = createBaseMsgConnectionOpenAck(); message.connectionId = object.connectionId ?? ""; @@ -666,7 +660,7 @@ export const MsgConnectionOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenAckResponse(); @@ -684,15 +678,6 @@ export const MsgConnectionOpenAckResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenAckResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenAckResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenAckResponse { const message = createBaseMsgConnectionOpenAckResponse(); return message; @@ -764,24 +749,6 @@ export const MsgConnectionOpenConfirm = { return message; }, - fromJSON(object: any): MsgConnectionOpenConfirm { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenConfirm): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenConfirm { const message = createBaseMsgConnectionOpenConfirm(); message.connectionId = object.connectionId ?? ""; @@ -802,7 +769,7 @@ export const MsgConnectionOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenConfirmResponse(); @@ -820,15 +787,6 @@ export const MsgConnectionOpenConfirmResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenConfirmResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { const message = createBaseMsgConnectionOpenConfirmResponse(); return message; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts similarity index 59% rename from examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts rename to examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts index 466bff1b0..f6f39eba1 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -1,11 +1,11 @@ -import { Order, Counterparty } from "../../channel/v1/channel"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAppVersionRequest, QueryAppVersionResponse, QueryAppVersionResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - appVersion(request: QueryAppVersionRequest): Promise; + appVersion(request: QueryAppVersionRequest): Promise; /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ } @@ -17,10 +17,20 @@ export class QueryClientImpl implements Query { this.appVersion = this.appVersion.bind(this); } - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { const data = QueryAppVersionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + appVersion(request: QueryAppVersionRequest): Promise { + return queryService.appVersion(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts b/examples/contracts/codegen/ibc/core/port/v1/query.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts rename to examples/contracts/codegen/ibc/core/port/v1/query.ts index c1cdb8e64..dc84ac749 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/port/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/port/v1/query.ts @@ -1,31 +1,57 @@ -import { Order, Counterparty, orderFromJSON, orderToJSON } from "../../channel/v1/channel"; +import { Order, OrderSDKType, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ + export interface QueryAppVersionRequest { /** port unique identifier */ portId: string; - /** connection unique identifier */ - connectionId: string; + connectionId: string; /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** proposed version */ + proposedVersion: string; } +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ +export interface QueryAppVersionRequestSDKType { + /** port unique identifier */ + port_id: string; + /** connection unique identifier */ + + connection_id: string; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** proposed version */ + + proposed_version: string; +} /** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + export interface QueryAppVersionResponse { /** port id associated with the request identifiers */ portId: string; + /** supported app version */ + version: string; +} +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + +export interface QueryAppVersionResponseSDKType { + /** port id associated with the request identifiers */ + port_id: string; /** supported app version */ + version: string; } @@ -102,26 +128,6 @@ export const QueryAppVersionRequest = { return message; }, - fromJSON(object: any): QueryAppVersionRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - proposedVersion: isSet(object.proposedVersion) ? String(object.proposedVersion) : "" - }; - }, - - toJSON(message: QueryAppVersionRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.proposedVersion !== undefined && (obj.proposedVersion = message.proposedVersion); - return obj; - }, - fromPartial(object: Partial): QueryAppVersionRequest { const message = createBaseQueryAppVersionRequest(); message.portId = object.portId ?? ""; @@ -154,7 +160,7 @@ export const QueryAppVersionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppVersionResponse(); @@ -180,20 +186,6 @@ export const QueryAppVersionResponse = { return message; }, - fromJSON(object: any): QueryAppVersionResponse { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - version: isSet(object.version) ? String(object.version) : "" - }; - }, - - toJSON(message: QueryAppVersionResponse): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.version !== undefined && (obj.version = message.version); - return obj; - }, - fromPartial(object: Partial): QueryAppVersionResponse { const message = createBaseQueryAppVersionResponse(); message.portId = object.portId ?? ""; diff --git a/examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts b/examples/contracts/codegen/ibc/core/types/v1/genesis.ts similarity index 73% rename from examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts rename to examples/contracts/codegen/ibc/core/types/v1/genesis.ts index 6e53d2f99..7f13029c2 100644 --- a/examples/telescope-with-contracts/codegen/ibc/core/types/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/types/v1/genesis.ts @@ -1,21 +1,35 @@ //@ts-nocheck import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; +import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis"; import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; +import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis"; import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; +import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the ibc module's genesis state. */ + export interface GenesisState { /** ICS002 - Clients genesis state */ clientGenesis: GenesisState1 | undefined; - /** ICS003 - Connections genesis state */ - connectionGenesis: GenesisState2 | undefined; + connectionGenesis: GenesisState2 | undefined; /** ICS004 - Channel genesis state */ + channelGenesis: GenesisState3 | undefined; } +/** GenesisState defines the ibc module's genesis state. */ + +export interface GenesisStateSDKType { + /** ICS002 - Clients genesis state */ + client_genesis: GenesisState1SDKType | undefined; + /** ICS003 - Connections genesis state */ + + connection_genesis: GenesisState2SDKType | undefined; + /** ICS004 - Channel genesis state */ + + channel_genesis: GenesisState3SDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -72,22 +86,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - clientGenesis: isSet(object.clientGenesis) ? GenesisState1.fromJSON(object.clientGenesis) : undefined, - connectionGenesis: isSet(object.connectionGenesis) ? GenesisState2.fromJSON(object.connectionGenesis) : undefined, - channelGenesis: isSet(object.channelGenesis) ? GenesisState3.fromJSON(object.channelGenesis) : undefined - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.clientGenesis !== undefined && (obj.clientGenesis = message.clientGenesis ? GenesisState1.toJSON(message.clientGenesis) : undefined); - message.connectionGenesis !== undefined && (obj.connectionGenesis = message.connectionGenesis ? GenesisState2.toJSON(message.connectionGenesis) : undefined); - message.channelGenesis !== undefined && (obj.channelGenesis = message.channelGenesis ? GenesisState3.toJSON(message.channelGenesis) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; diff --git a/examples/contracts/codegen/ibc/lcd.ts b/examples/contracts/codegen/ibc/lcd.ts new file mode 100644 index 000000000..100c9f9c4 --- /dev/null +++ b/examples/contracts/codegen/ibc/lcd.ts @@ -0,0 +1,125 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + client: { + v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + connection: { + v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts rename to examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts index b45f245ca..53a6acb02 100644 --- a/examples/telescope-with-contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts +++ b/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -1,18 +1,29 @@ -import { Height } from "../../../core/client/v1/client"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * ClientState defines a loopback (localhost) client. It requires (read-only) * access to keys outside the client prefix. */ + export interface ClientState { /** self chain ID */ chainId: string; - /** self latest block height */ + height: Height | undefined; } +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ + +export interface ClientStateSDKType { + /** self chain ID */ + chain_id: string; + /** self latest block height */ + + height: HeightSDKType | undefined; +} function createBaseClientState(): ClientState { return { @@ -60,20 +71,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - chainId: isSet(object.chainId) ? String(object.chainId) : "", - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.chainId !== undefined && (obj.chainId = message.chainId); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts rename to examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts index e0d19c412..7146ff582 100644 --- a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -1,13 +1,13 @@ -import { Any } from "../../../../google/protobuf/any"; -import { ConnectionEnd } from "../../../core/connection/v1/connection"; -import { Channel } from "../../../core/channel/v1/channel"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. */ + export enum DataType { /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, @@ -40,6 +40,43 @@ export enum DataType { DATA_TYPE_HEADER = 9, UNRECOGNIZED = -1, } +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} export function dataTypeFromJSON(object: any): DataType { switch (object) { case 0: @@ -124,45 +161,82 @@ export function dataTypeToJSON(object: DataType): string { return "UNKNOWN"; } } - /** * ClientState defines a solo machine client that tracks the current consensus * state and if the client is frozen. */ + export interface ClientState { /** latest sequence of the client state */ sequence: Long; - /** frozen sequence of the solo machine */ + frozenSequence: Long; consensusState: ConsensusState | undefined; - /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. */ + allowUpdateAfterProposal: boolean; } +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + frozen_sequence: Long; + consensus_state: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} /** * ConsensusState defines a solo machine consensus state. The sequence of a * consensus state is contained in the "height" key used in storing the * consensus state. */ + export interface ConsensusState { /** public key of the solo machine */ publicKey: Any | undefined; - /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered * misbehaviour. */ + diversifier: string; timestamp: Long; } +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} /** Header defines a solo machine consensus header */ + export interface Header { /** sequence to update solo machine public key at */ sequence: Long; @@ -171,127 +245,258 @@ export interface Header { newPublicKey: Any | undefined; newDiversifier: string; } +/** Header defines a solo machine consensus header */ +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key: AnySDKType | undefined; + new_diversifier: string; +} /** * Misbehaviour defines misbehaviour for a solo machine which consists * of a sequence and two signatures over different messages at that sequence. */ + export interface Misbehaviour { clientId: string; sequence: Long; signatureOne: SignatureAndData | undefined; signatureTwo: SignatureAndData | undefined; } +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one: SignatureAndDataSDKType | undefined; + signature_two: SignatureAndDataSDKType | undefined; +} /** * SignatureAndData contains a signature and the data signed over to create that * signature. */ + export interface SignatureAndData { signature: Uint8Array; dataType: DataType; data: Uint8Array; timestamp: Long; } +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} /** * TimestampedSignatureData contains the signature data and the timestamp of the * signature. */ + export interface TimestampedSignatureData { signatureData: Uint8Array; timestamp: Long; } +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} /** SignBytes defines the signed bytes used for signature verification. */ + export interface SignBytes { sequence: Long; timestamp: Long; diversifier: string; - /** type of the data used */ - dataType: DataType; + dataType: DataType; /** marshaled data */ + data: Uint8Array; } +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} /** HeaderData returns the SignBytes data for update verification. */ + export interface HeaderData { /** header public key */ newPubKey: Any | undefined; - /** header diversifier */ + newDiversifier: string; } +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} /** ClientStateData returns the SignBytes data for client state verification. */ + export interface ClientStateData { path: Uint8Array; clientState: Any | undefined; } +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state: AnySDKType | undefined; +} /** * ConsensusStateData returns the SignBytes data for consensus state * verification. */ + export interface ConsensusStateData { path: Uint8Array; consensusState: Any | undefined; } +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state: AnySDKType | undefined; +} /** * ConnectionStateData returns the SignBytes data for connection state * verification. */ + export interface ConnectionStateData { path: Uint8Array; connection: ConnectionEnd | undefined; } +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection: ConnectionEndSDKType | undefined; +} /** * ChannelStateData returns the SignBytes data for channel state * verification. */ + export interface ChannelStateData { path: Uint8Array; channel: Channel | undefined; } +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel: ChannelSDKType | undefined; +} /** * PacketCommitmentData returns the SignBytes data for packet commitment * verification. */ + export interface PacketCommitmentData { path: Uint8Array; commitment: Uint8Array; } +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} /** * PacketAcknowledgementData returns the SignBytes data for acknowledgement * verification. */ + export interface PacketAcknowledgementData { path: Uint8Array; acknowledgement: Uint8Array; } +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} /** * PacketReceiptAbsenceData returns the SignBytes data for * packet receipt absence verification. */ + export interface PacketReceiptAbsenceData { path: Uint8Array; } +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} /** * NextSequenceRecvData returns the SignBytes data for verification of the next * sequence to be received. */ + export interface NextSequenceRecvData { path: Uint8Array; nextSeqRecv: Long; } +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} function createBaseClientState(): ClientState { return { @@ -357,24 +562,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - frozenSequence: isSet(object.frozenSequence) ? Long.fromString(object.frozenSequence) : Long.UZERO, - consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, - allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.frozenSequence !== undefined && (obj.frozenSequence = (message.frozenSequence || Long.UZERO).toString()); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); - message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -441,22 +628,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -540,26 +711,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: Header): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -636,24 +787,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, - signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); - message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -729,24 +862,6 @@ export const SignatureAndData = { return message; }, - fromJSON(object: any): SignatureAndData { - return { - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: SignatureAndData): unknown { - const obj: any = {}; - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureAndData { const message = createBaseSignatureAndData(); message.signature = object.signature ?? new Uint8Array(); @@ -804,20 +919,6 @@ export const TimestampedSignatureData = { return message; }, - fromJSON(object: any): TimestampedSignatureData { - return { - signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: TimestampedSignatureData): unknown { - const obj: any = {}; - message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): TimestampedSignatureData { const message = createBaseTimestampedSignatureData(); message.signatureData = object.signatureData ?? new Uint8Array(); @@ -900,26 +1001,6 @@ export const SignBytes = { return message; }, - fromJSON(object: any): SignBytes { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: SignBytes): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SignBytes { const message = createBaseSignBytes(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -978,20 +1059,6 @@ export const HeaderData = { return message; }, - fromJSON(object: any): HeaderData { - return { - newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: HeaderData): unknown { - const obj: any = {}; - message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial): HeaderData { const message = createBaseHeaderData(); message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; @@ -1047,20 +1114,6 @@ export const ClientStateData = { return message; }, - fromJSON(object: any): ClientStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined - }; - }, - - toJSON(message: ClientStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientStateData { const message = createBaseClientStateData(); message.path = object.path ?? new Uint8Array(); @@ -1116,20 +1169,6 @@ export const ConsensusStateData = { return message; }, - fromJSON(object: any): ConsensusStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined - }; - }, - - toJSON(message: ConsensusStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - return obj; - }, - fromPartial(object: Partial): ConsensusStateData { const message = createBaseConsensusStateData(); message.path = object.path ?? new Uint8Array(); @@ -1185,20 +1224,6 @@ export const ConnectionStateData = { return message; }, - fromJSON(object: any): ConnectionStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined - }; - }, - - toJSON(message: ConnectionStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); - return obj; - }, - fromPartial(object: Partial): ConnectionStateData { const message = createBaseConnectionStateData(); message.path = object.path ?? new Uint8Array(); @@ -1254,20 +1279,6 @@ export const ChannelStateData = { return message; }, - fromJSON(object: any): ChannelStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined - }; - }, - - toJSON(message: ChannelStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - return obj; - }, - fromPartial(object: Partial): ChannelStateData { const message = createBaseChannelStateData(); message.path = object.path ?? new Uint8Array(); @@ -1323,20 +1334,6 @@ export const PacketCommitmentData = { return message; }, - fromJSON(object: any): PacketCommitmentData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() - }; - }, - - toJSON(message: PacketCommitmentData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketCommitmentData { const message = createBasePacketCommitmentData(); message.path = object.path ?? new Uint8Array(); @@ -1392,20 +1389,6 @@ export const PacketAcknowledgementData = { return message; }, - fromJSON(object: any): PacketAcknowledgementData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() - }; - }, - - toJSON(message: PacketAcknowledgementData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketAcknowledgementData { const message = createBasePacketAcknowledgementData(); message.path = object.path ?? new Uint8Array(); @@ -1452,18 +1435,6 @@ export const PacketReceiptAbsenceData = { return message; }, - fromJSON(object: any): PacketReceiptAbsenceData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() - }; - }, - - toJSON(message: PacketReceiptAbsenceData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketReceiptAbsenceData { const message = createBasePacketReceiptAbsenceData(); message.path = object.path ?? new Uint8Array(); @@ -1518,20 +1489,6 @@ export const NextSequenceRecvData = { return message; }, - fromJSON(object: any): NextSequenceRecvData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO - }; - }, - - toJSON(message: NextSequenceRecvData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): NextSequenceRecvData { const message = createBaseNextSequenceRecvData(); message.path = object.path ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts rename to examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts index bc7f2d1cd..86e21a2aa 100644 --- a/examples/telescope-with-contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -1,13 +1,13 @@ -import { Any } from "../../../../google/protobuf/any"; -import { ConnectionEnd } from "../../../core/connection/v1/connection"; -import { Channel } from "../../../core/channel/v1/channel"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. */ + export enum DataType { /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, @@ -40,6 +40,43 @@ export enum DataType { DATA_TYPE_HEADER = 9, UNRECOGNIZED = -1, } +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} export function dataTypeFromJSON(object: any): DataType { switch (object) { case 0: @@ -124,45 +161,82 @@ export function dataTypeToJSON(object: DataType): string { return "UNKNOWN"; } } - /** * ClientState defines a solo machine client that tracks the current consensus * state and if the client is frozen. */ + export interface ClientState { /** latest sequence of the client state */ sequence: Long; - /** frozen sequence of the solo machine */ + isFrozen: boolean; consensusState: ConsensusState | undefined; - /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. */ + allowUpdateAfterProposal: boolean; } +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + is_frozen: boolean; + consensus_state: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} /** * ConsensusState defines a solo machine consensus state. The sequence of a * consensus state is contained in the "height" key used in storing the * consensus state. */ + export interface ConsensusState { /** public key of the solo machine */ publicKey: Any | undefined; - /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered * misbehaviour. */ + diversifier: string; timestamp: Long; } +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} /** Header defines a solo machine consensus header */ + export interface Header { /** sequence to update solo machine public key at */ sequence: Long; @@ -171,127 +245,258 @@ export interface Header { newPublicKey: Any | undefined; newDiversifier: string; } +/** Header defines a solo machine consensus header */ +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key: AnySDKType | undefined; + new_diversifier: string; +} /** * Misbehaviour defines misbehaviour for a solo machine which consists * of a sequence and two signatures over different messages at that sequence. */ + export interface Misbehaviour { clientId: string; sequence: Long; signatureOne: SignatureAndData | undefined; signatureTwo: SignatureAndData | undefined; } +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one: SignatureAndDataSDKType | undefined; + signature_two: SignatureAndDataSDKType | undefined; +} /** * SignatureAndData contains a signature and the data signed over to create that * signature. */ + export interface SignatureAndData { signature: Uint8Array; dataType: DataType; data: Uint8Array; timestamp: Long; } +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} /** * TimestampedSignatureData contains the signature data and the timestamp of the * signature. */ + export interface TimestampedSignatureData { signatureData: Uint8Array; timestamp: Long; } +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} /** SignBytes defines the signed bytes used for signature verification. */ + export interface SignBytes { sequence: Long; timestamp: Long; diversifier: string; - /** type of the data used */ - dataType: DataType; + dataType: DataType; /** marshaled data */ + data: Uint8Array; } +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} /** HeaderData returns the SignBytes data for update verification. */ + export interface HeaderData { /** header public key */ newPubKey: Any | undefined; - /** header diversifier */ + newDiversifier: string; } +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} /** ClientStateData returns the SignBytes data for client state verification. */ + export interface ClientStateData { path: Uint8Array; clientState: Any | undefined; } +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state: AnySDKType | undefined; +} /** * ConsensusStateData returns the SignBytes data for consensus state * verification. */ + export interface ConsensusStateData { path: Uint8Array; consensusState: Any | undefined; } +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state: AnySDKType | undefined; +} /** * ConnectionStateData returns the SignBytes data for connection state * verification. */ + export interface ConnectionStateData { path: Uint8Array; connection: ConnectionEnd | undefined; } +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection: ConnectionEndSDKType | undefined; +} /** * ChannelStateData returns the SignBytes data for channel state * verification. */ + export interface ChannelStateData { path: Uint8Array; channel: Channel | undefined; } +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel: ChannelSDKType | undefined; +} /** * PacketCommitmentData returns the SignBytes data for packet commitment * verification. */ + export interface PacketCommitmentData { path: Uint8Array; commitment: Uint8Array; } +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} /** * PacketAcknowledgementData returns the SignBytes data for acknowledgement * verification. */ + export interface PacketAcknowledgementData { path: Uint8Array; acknowledgement: Uint8Array; } +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} /** * PacketReceiptAbsenceData returns the SignBytes data for * packet receipt absence verification. */ + export interface PacketReceiptAbsenceData { path: Uint8Array; } +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} /** * NextSequenceRecvData returns the SignBytes data for verification of the next * sequence to be received. */ + export interface NextSequenceRecvData { path: Uint8Array; nextSeqRecv: Long; } +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} function createBaseClientState(): ClientState { return { @@ -357,24 +562,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - isFrozen: isSet(object.isFrozen) ? Boolean(object.isFrozen) : false, - consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, - allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.isFrozen !== undefined && (obj.isFrozen = message.isFrozen); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); - message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -441,22 +628,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -540,26 +711,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: Header): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -636,24 +787,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, - signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); - message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -729,24 +862,6 @@ export const SignatureAndData = { return message; }, - fromJSON(object: any): SignatureAndData { - return { - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: SignatureAndData): unknown { - const obj: any = {}; - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureAndData { const message = createBaseSignatureAndData(); message.signature = object.signature ?? new Uint8Array(); @@ -804,20 +919,6 @@ export const TimestampedSignatureData = { return message; }, - fromJSON(object: any): TimestampedSignatureData { - return { - signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: TimestampedSignatureData): unknown { - const obj: any = {}; - message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): TimestampedSignatureData { const message = createBaseTimestampedSignatureData(); message.signatureData = object.signatureData ?? new Uint8Array(); @@ -900,26 +1001,6 @@ export const SignBytes = { return message; }, - fromJSON(object: any): SignBytes { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: SignBytes): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SignBytes { const message = createBaseSignBytes(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -978,20 +1059,6 @@ export const HeaderData = { return message; }, - fromJSON(object: any): HeaderData { - return { - newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: HeaderData): unknown { - const obj: any = {}; - message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial): HeaderData { const message = createBaseHeaderData(); message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; @@ -1047,20 +1114,6 @@ export const ClientStateData = { return message; }, - fromJSON(object: any): ClientStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined - }; - }, - - toJSON(message: ClientStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientStateData { const message = createBaseClientStateData(); message.path = object.path ?? new Uint8Array(); @@ -1116,20 +1169,6 @@ export const ConsensusStateData = { return message; }, - fromJSON(object: any): ConsensusStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined - }; - }, - - toJSON(message: ConsensusStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - return obj; - }, - fromPartial(object: Partial): ConsensusStateData { const message = createBaseConsensusStateData(); message.path = object.path ?? new Uint8Array(); @@ -1185,20 +1224,6 @@ export const ConnectionStateData = { return message; }, - fromJSON(object: any): ConnectionStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined - }; - }, - - toJSON(message: ConnectionStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); - return obj; - }, - fromPartial(object: Partial): ConnectionStateData { const message = createBaseConnectionStateData(); message.path = object.path ?? new Uint8Array(); @@ -1254,20 +1279,6 @@ export const ChannelStateData = { return message; }, - fromJSON(object: any): ChannelStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined - }; - }, - - toJSON(message: ChannelStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - return obj; - }, - fromPartial(object: Partial): ChannelStateData { const message = createBaseChannelStateData(); message.path = object.path ?? new Uint8Array(); @@ -1323,20 +1334,6 @@ export const PacketCommitmentData = { return message; }, - fromJSON(object: any): PacketCommitmentData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() - }; - }, - - toJSON(message: PacketCommitmentData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketCommitmentData { const message = createBasePacketCommitmentData(); message.path = object.path ?? new Uint8Array(); @@ -1392,20 +1389,6 @@ export const PacketAcknowledgementData = { return message; }, - fromJSON(object: any): PacketAcknowledgementData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() - }; - }, - - toJSON(message: PacketAcknowledgementData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketAcknowledgementData { const message = createBasePacketAcknowledgementData(); message.path = object.path ?? new Uint8Array(); @@ -1452,18 +1435,6 @@ export const PacketReceiptAbsenceData = { return message; }, - fromJSON(object: any): PacketReceiptAbsenceData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() - }; - }, - - toJSON(message: PacketReceiptAbsenceData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketReceiptAbsenceData { const message = createBasePacketReceiptAbsenceData(); message.path = object.path ?? new Uint8Array(); @@ -1518,20 +1489,6 @@ export const NextSequenceRecvData = { return message; }, - fromJSON(object: any): NextSequenceRecvData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO - }; - }, - - toJSON(message: NextSequenceRecvData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): NextSequenceRecvData { const message = createBaseNextSequenceRecvData(); message.path = object.path ?? new Uint8Array(); diff --git a/examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts rename to examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts index 86d30d6d7..23ed24b9e 100644 --- a/examples/telescope-with-contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -1,42 +1,41 @@ -import { Duration } from "../../../../google/protobuf/duration"; -import { Height } from "../../../core/client/v1/client"; -import { ProofSpec } from "../../../../confio/proofs"; +import { Duration, DurationSDKType } from "../../../../google/protobuf/duration"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; +import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs"; import { Timestamp } from "../../../../google/protobuf/timestamp"; -import { MerkleRoot } from "../../../core/commitment/v1/commitment"; -import { SignedHeader } from "../../../../tendermint/types/types"; -import { ValidatorSet } from "../../../../tendermint/types/validator"; +import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commitment"; +import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; +import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** * ClientState from Tendermint tracks the current validator set, latest height, * and a possible frozen height. */ + export interface ClientState { chainId: string; trustLevel: Fraction | undefined; - /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trustingPeriod: Duration | undefined; + trustingPeriod: Duration | undefined; /** duration of the staking unbonding period */ - unbondingPeriod: Duration | undefined; + unbondingPeriod: Duration | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift: Duration | undefined; + maxClockDrift: Duration | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight: Height | undefined; + frozenHeight: Height | undefined; /** Latest height the client was updated to */ - latestHeight: Height | undefined; + latestHeight: Height | undefined; /** Proof specifications used in verifying counterparty state */ - proofSpecs: ProofSpec[]; + proofSpecs: ProofSpec[]; /** * Path at which next upgraded client will be committed. * Each element corresponds to the key for a single CommitmentProof in the @@ -46,44 +45,120 @@ export interface ClientState { * the default upgrade module, upgrade_path should be []string{"upgrade", * "upgradedIBCState"}` */ - upgradePath: string[]; + upgradePath: string[]; /** * This flag, when set to true, will allow governance to recover a client * which has expired */ - allowUpdateAfterExpiry: boolean; + allowUpdateAfterExpiry: boolean; /** * This flag, when set to true, will allow governance to unfreeze a client * whose chain has experienced a misbehaviour event */ + allowUpdateAfterMisbehaviour: boolean; } +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ + +export interface ClientStateSDKType { + chain_id: string; + trust_level: FractionSDKType | undefined; + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + + trusting_period: DurationSDKType | undefined; + /** duration of the staking unbonding period */ + + unbonding_period: DurationSDKType | undefined; + /** defines how much new (untrusted) header's Time can drift into the future. */ + + max_clock_drift: DurationSDKType | undefined; + /** Block height when the client was frozen due to a misbehaviour */ + + frozen_height: HeightSDKType | undefined; + /** Latest height the client was updated to */ + + latest_height: HeightSDKType | undefined; + /** Proof specifications used in verifying counterparty state */ + + proof_specs: ProofSpecSDKType[]; + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + + upgrade_path: string[]; + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + + allow_update_after_expiry: boolean; + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + allow_update_after_misbehaviour: boolean; +} /** ConsensusState defines the consensus state from Tendermint. */ + export interface ConsensusState { /** * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ timestamp: Date | undefined; - /** commitment root (i.e app hash) */ + root: MerkleRoot | undefined; nextValidatorsHash: Uint8Array; } +/** ConsensusState defines the consensus state from Tendermint. */ +export interface ConsensusStateSDKType { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp: Date | undefined; + /** commitment root (i.e app hash) */ + + root: MerkleRootSDKType | undefined; + next_validators_hash: Uint8Array; +} /** * Misbehaviour is a wrapper over two conflicting Headers * that implements Misbehaviour interface expected by ICS-02 */ + export interface Misbehaviour { clientId: string; header_1: Header | undefined; header_2: Header | undefined; } +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ +export interface MisbehaviourSDKType { + client_id: string; + header_1: HeaderSDKType | undefined; + header_2: HeaderSDKType | undefined; +} /** * Header defines the Tendermint client consensus Header. * It encapsulates all the information necessary to update from a trusted @@ -98,21 +173,52 @@ export interface Misbehaviour { * hash to TrustedConsensusState.NextValidatorsHash since that is the last * trusted validator set at the TrustedHeight. */ + export interface Header { signedHeader: SignedHeader | undefined; validatorSet: ValidatorSet | undefined; trustedHeight: Height | undefined; trustedValidators: ValidatorSet | undefined; } +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ +export interface HeaderSDKType { + signed_header: SignedHeaderSDKType | undefined; + validator_set: ValidatorSetSDKType | undefined; + trusted_height: HeightSDKType | undefined; + trusted_validators: ValidatorSetSDKType | undefined; +} /** * Fraction defines the protobuf message type for tmmath.Fraction that only * supports positive values. */ + export interface Fraction { numerator: Long; denominator: Long; } +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ + +export interface FractionSDKType { + numerator: Long; + denominator: Long; +} function createBaseClientState(): ClientState { return { @@ -241,49 +347,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - chainId: isSet(object.chainId) ? String(object.chainId) : "", - trustLevel: isSet(object.trustLevel) ? Fraction.fromJSON(object.trustLevel) : undefined, - trustingPeriod: isSet(object.trustingPeriod) ? Duration.fromJSON(object.trustingPeriod) : undefined, - unbondingPeriod: isSet(object.unbondingPeriod) ? Duration.fromJSON(object.unbondingPeriod) : undefined, - maxClockDrift: isSet(object.maxClockDrift) ? Duration.fromJSON(object.maxClockDrift) : undefined, - frozenHeight: isSet(object.frozenHeight) ? Height.fromJSON(object.frozenHeight) : undefined, - latestHeight: isSet(object.latestHeight) ? Height.fromJSON(object.latestHeight) : undefined, - proofSpecs: Array.isArray(object?.proofSpecs) ? object.proofSpecs.map((e: any) => ProofSpec.fromJSON(e)) : [], - upgradePath: Array.isArray(object?.upgradePath) ? object.upgradePath.map((e: any) => String(e)) : [], - allowUpdateAfterExpiry: isSet(object.allowUpdateAfterExpiry) ? Boolean(object.allowUpdateAfterExpiry) : false, - allowUpdateAfterMisbehaviour: isSet(object.allowUpdateAfterMisbehaviour) ? Boolean(object.allowUpdateAfterMisbehaviour) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.chainId !== undefined && (obj.chainId = message.chainId); - message.trustLevel !== undefined && (obj.trustLevel = message.trustLevel ? Fraction.toJSON(message.trustLevel) : undefined); - message.trustingPeriod !== undefined && (obj.trustingPeriod = message.trustingPeriod); - message.unbondingPeriod !== undefined && (obj.unbondingPeriod = message.unbondingPeriod); - message.maxClockDrift !== undefined && (obj.maxClockDrift = message.maxClockDrift); - message.frozenHeight !== undefined && (obj.frozenHeight = message.frozenHeight ? Height.toJSON(message.frozenHeight) : undefined); - message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight ? Height.toJSON(message.latestHeight) : undefined); - - if (message.proofSpecs) { - obj.proofSpecs = message.proofSpecs.map(e => e ? ProofSpec.toJSON(e) : undefined); - } else { - obj.proofSpecs = []; - } - - if (message.upgradePath) { - obj.upgradePath = message.upgradePath.map(e => e); - } else { - obj.upgradePath = []; - } - - message.allowUpdateAfterExpiry !== undefined && (obj.allowUpdateAfterExpiry = message.allowUpdateAfterExpiry); - message.allowUpdateAfterMisbehaviour !== undefined && (obj.allowUpdateAfterMisbehaviour = message.allowUpdateAfterMisbehaviour); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; @@ -357,22 +420,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, - root: isSet(object.root) ? MerkleRoot.fromJSON(object.root) : undefined, - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array() - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); - message.root !== undefined && (obj.root = message.root ? MerkleRoot.toJSON(message.root) : undefined); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.timestamp = object.timestamp ?? undefined; @@ -438,22 +485,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - header_1: isSet(object.header_1) ? Header.fromJSON(object.header_1) : undefined, - header_2: isSet(object.header_2) ? Header.fromJSON(object.header_2) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.header_1 !== undefined && (obj.header_1 = message.header_1 ? Header.toJSON(message.header_1) : undefined); - message.header_2 !== undefined && (obj.header_2 = message.header_2 ? Header.toJSON(message.header_2) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -528,24 +559,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - signedHeader: isSet(object.signedHeader) ? SignedHeader.fromJSON(object.signedHeader) : undefined, - validatorSet: isSet(object.validatorSet) ? ValidatorSet.fromJSON(object.validatorSet) : undefined, - trustedHeight: isSet(object.trustedHeight) ? Height.fromJSON(object.trustedHeight) : undefined, - trustedValidators: isSet(object.trustedValidators) ? ValidatorSet.fromJSON(object.trustedValidators) : undefined - }; - }, - - toJSON(message: Header): 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); - message.trustedHeight !== undefined && (obj.trustedHeight = message.trustedHeight ? Height.toJSON(message.trustedHeight) : undefined); - message.trustedValidators !== undefined && (obj.trustedValidators = message.trustedValidators ? ValidatorSet.toJSON(message.trustedValidators) : undefined); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; @@ -603,20 +616,6 @@ export const Fraction = { return message; }, - fromJSON(object: any): Fraction { - return { - numerator: isSet(object.numerator) ? Long.fromString(object.numerator) : Long.UZERO, - denominator: isSet(object.denominator) ? Long.fromString(object.denominator) : Long.UZERO - }; - }, - - toJSON(message: Fraction): unknown { - const obj: any = {}; - message.numerator !== undefined && (obj.numerator = (message.numerator || Long.UZERO).toString()); - message.denominator !== undefined && (obj.denominator = (message.denominator || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Fraction { const message = createBaseFraction(); message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; diff --git a/examples/contracts/codegen/ibc/rpc.query.ts b/examples/contracts/codegen/ibc/rpc.query.ts new file mode 100644 index 000000000..2ed23009f --- /dev/null +++ b/examples/contracts/codegen/ibc/rpc.query.ts @@ -0,0 +1,89 @@ +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } + }, + ibc: { + applications: { + transfer: { + v1: (await import("./applications/transfer/v1/query.rpc.query")).createRpcQueryExtension(client) + } + }, + core: { + channel: { + v1: (await import("./core/channel/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + client: { + v1: (await import("./core/client/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + connection: { + v1: (await import("./core/connection/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + port: { + v1: (await import("./core/port/v1/query.rpc.query")).createRpcQueryExtension(client) + } + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts b/examples/contracts/codegen/ibc/rpc.tx.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/ibc/rpc.tx.ts rename to examples/contracts/codegen/ibc/rpc.tx.ts diff --git a/examples/telescope-with-contracts/codegen/ics23/bundle.ts b/examples/contracts/codegen/ics23/bundle.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/ics23/bundle.ts rename to examples/contracts/codegen/ics23/bundle.ts diff --git a/examples/telescope-with-contracts/codegen/index.ts b/examples/contracts/codegen/index.ts similarity index 80% rename from examples/telescope-with-contracts/codegen/index.ts rename to examples/contracts/codegen/index.ts index aad1545bb..75f1e792b 100644 --- a/examples/telescope-with-contracts/codegen/index.ts +++ b/examples/contracts/codegen/index.ts @@ -1,5 +1,5 @@ /** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.18.7 + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.31.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. */ @@ -7,9 +7,12 @@ export * from "./ics23/bundle"; export * from "./cosmos_proto/bundle"; export * from "./cosmos/bundle"; +export * from "./cosmos/client"; export * from "./cosmwasm/bundle"; +export * from "./cosmwasm/client"; export * from "./gogoproto/bundle"; export * from "./google/bundle"; export * from "./ibc/bundle"; +export * from "./ibc/client"; export * from "./tendermint/bundle"; export * from "./contracts"; \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/tendermint/abci/types.ts b/examples/contracts/codegen/tendermint/abci/types.ts similarity index 72% rename from examples/telescope-with-contracts/codegen/tendermint/abci/types.ts rename to examples/contracts/codegen/tendermint/abci/types.ts index f341a1795..8582154b0 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/abci/types.ts +++ b/examples/contracts/codegen/tendermint/abci/types.ts @@ -1,15 +1,20 @@ import { Timestamp } from "../../google/protobuf/timestamp"; -import { Header } from "../types/types"; -import { ProofOps } from "../crypto/proof"; -import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params"; -import { PublicKey } from "../crypto/keys"; +import { Header, HeaderSDKType } from "../types/types"; +import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; +import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; export enum CheckTxType { NEW = 0, RECHECK = 1, UNRECOGNIZED = -1, } +export enum CheckTxTypeSDKType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} export function checkTxTypeFromJSON(object: any): CheckTxType { switch (object) { case 0: @@ -58,6 +63,26 @@ export enum ResponseOfferSnapshot_Result { REJECT_SENDER = 5, UNRECOGNIZED = -1, } +export enum ResponseOfferSnapshot_ResultSDKType { + /** 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { switch (object) { case 0: @@ -134,6 +159,26 @@ export enum ResponseApplySnapshotChunk_Result { REJECT_SNAPSHOT = 5, UNRECOGNIZED = -1, } +export enum ResponseApplySnapshotChunk_ResultSDKType { + /** 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { switch (object) { case 0: @@ -196,6 +241,12 @@ export enum EvidenceType { LIGHT_CLIENT_ATTACK = 2, UNRECOGNIZED = -1, } +export enum EvidenceTypeSDKType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} export function evidenceTypeFromJSON(object: any): EvidenceType { switch (object) { case 0: @@ -248,21 +299,53 @@ export interface Request { loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; applySnapshotChunk?: RequestApplySnapshotChunk | undefined; } +export interface RequestSDKType { + echo?: RequestEchoSDKType | undefined; + flush?: RequestFlushSDKType | undefined; + info?: RequestInfoSDKType | undefined; + set_option?: RequestSetOptionSDKType | undefined; + init_chain?: RequestInitChainSDKType | undefined; + query?: RequestQuerySDKType | undefined; + begin_block?: RequestBeginBlockSDKType | undefined; + check_tx?: RequestCheckTxSDKType | undefined; + deliver_tx?: RequestDeliverTxSDKType | undefined; + end_block?: RequestEndBlockSDKType | undefined; + commit?: RequestCommitSDKType | undefined; + list_snapshots?: RequestListSnapshotsSDKType | undefined; + offer_snapshot?: RequestOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType | undefined; +} export interface RequestEcho { message: string; } +export interface RequestEchoSDKType { + message: string; +} export interface RequestFlush {} +export interface RequestFlushSDKType {} export interface RequestInfo { version: string; blockVersion: Long; p2pVersion: Long; } - +export interface RequestInfoSDKType { + version: string; + block_version: Long; + p2p_version: Long; +} /** nondeterministic */ + export interface RequestSetOption { key: string; value: string; } +/** nondeterministic */ + +export interface RequestSetOptionSDKType { + key: string; + value: string; +} export interface RequestInitChain { time: Date | undefined; chainId: string; @@ -271,55 +354,112 @@ export interface RequestInitChain { appStateBytes: Uint8Array; initialHeight: Long; } +export interface RequestInitChainSDKType { + time: Date | undefined; + chain_id: string; + consensus_params: ConsensusParamsSDKType | undefined; + validators: ValidatorUpdateSDKType[]; + app_state_bytes: Uint8Array; + initial_height: Long; +} export interface RequestQuery { data: Uint8Array; path: string; height: Long; prove: boolean; } +export interface RequestQuerySDKType { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} export interface RequestBeginBlock { hash: Uint8Array; header: Header | undefined; lastCommitInfo: LastCommitInfo | undefined; byzantineValidators: Evidence[]; } +export interface RequestBeginBlockSDKType { + hash: Uint8Array; + header: HeaderSDKType | undefined; + last_commit_info: LastCommitInfoSDKType | undefined; + byzantine_validators: EvidenceSDKType[]; +} export interface RequestCheckTx { tx: Uint8Array; type: CheckTxType; } +export interface RequestCheckTxSDKType { + tx: Uint8Array; + type: CheckTxTypeSDKType; +} export interface RequestDeliverTx { tx: Uint8Array; } +export interface RequestDeliverTxSDKType { + tx: Uint8Array; +} export interface RequestEndBlock { height: Long; } +export interface RequestEndBlockSDKType { + height: Long; +} export interface RequestCommit {} - +export interface RequestCommitSDKType {} /** lists available snapshots */ + export interface RequestListSnapshots {} +/** lists available snapshots */ +export interface RequestListSnapshotsSDKType {} /** offers a snapshot to the application */ + export interface RequestOfferSnapshot { /** snapshot offered by peers */ snapshot: Snapshot | undefined; - /** light client-verified app hash for snapshot height */ + appHash: Uint8Array; } +/** offers a snapshot to the application */ + +export interface RequestOfferSnapshotSDKType { + /** snapshot offered by peers */ + snapshot: SnapshotSDKType | undefined; + /** light client-verified app hash for snapshot height */ + app_hash: Uint8Array; +} /** loads a snapshot chunk */ + export interface RequestLoadSnapshotChunk { height: Long; format: number; chunk: number; } +/** 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; } +/** Applies a snapshot chunk */ + +export interface RequestApplySnapshotChunkSDKType { + index: number; + chunk: Uint8Array; + sender: string; +} export interface Response { exception?: ResponseException | undefined; echo?: ResponseEcho | undefined; @@ -338,15 +478,42 @@ export interface Response { loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; } - +export interface ResponseSDKType { + exception?: ResponseExceptionSDKType | undefined; + echo?: ResponseEchoSDKType | undefined; + flush?: ResponseFlushSDKType | undefined; + info?: ResponseInfoSDKType | undefined; + set_option?: ResponseSetOptionSDKType | undefined; + init_chain?: ResponseInitChainSDKType | undefined; + query?: ResponseQuerySDKType | undefined; + begin_block?: ResponseBeginBlockSDKType | undefined; + check_tx?: ResponseCheckTxSDKType | undefined; + deliver_tx?: ResponseDeliverTxSDKType | undefined; + end_block?: ResponseEndBlockSDKType | undefined; + commit?: ResponseCommitSDKType | undefined; + list_snapshots?: ResponseListSnapshotsSDKType | undefined; + offer_snapshot?: ResponseOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType | undefined; +} /** nondeterministic */ + export interface ResponseException { error: string; } +/** nondeterministic */ + +export interface ResponseExceptionSDKType { + error: string; +} export interface ResponseEcho { message: string; } +export interface ResponseEchoSDKType { + message: string; +} export interface ResponseFlush {} +export interface ResponseFlushSDKType {} export interface ResponseInfo { data: string; version: string; @@ -354,12 +521,28 @@ export interface ResponseInfo { lastBlockHeight: Long; lastBlockAppHash: Uint8Array; } - +export interface ResponseInfoSDKType { + data: string; + version: string; + app_version: Long; + last_block_height: Long; + last_block_app_hash: Uint8Array; +} /** nondeterministic */ + export interface ResponseSetOption { code: number; + /** bytes data = 2; */ + + log: string; + info: string; +} +/** nondeterministic */ +export interface ResponseSetOptionSDKType { + code: number; /** bytes data = 2; */ + log: string; info: string; } @@ -368,13 +551,18 @@ export interface ResponseInitChain { validators: ValidatorUpdate[]; appHash: Uint8Array; } +export interface ResponseInitChainSDKType { + consensus_params: ConsensusParamsSDKType | undefined; + validators: ValidatorUpdateSDKType[]; + app_hash: Uint8Array; +} export interface ResponseQuery { code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; + log: string; /** nondeterministic */ + info: string; index: Long; key: Uint8Array; @@ -383,177 +571,365 @@ export interface ResponseQuery { height: Long; codespace: string; } +export interface ResponseQuerySDKType { + code: number; + /** bytes data = 2; // use "value" instead. */ + + log: string; + /** nondeterministic */ + + info: string; + index: Long; + key: Uint8Array; + value: Uint8Array; + proof_ops: ProofOpsSDKType | undefined; + height: Long; + codespace: string; +} export interface ResponseBeginBlock { events: Event[]; } +export interface ResponseBeginBlockSDKType { + events: EventSDKType[]; +} export interface ResponseCheckTx { code: number; data: Uint8Array; - /** nondeterministic */ - log: string; + log: string; /** nondeterministic */ + info: string; gasWanted: Long; gasUsed: Long; events: Event[]; codespace: string; } -export interface ResponseDeliverTx { +export interface ResponseCheckTxSDKType { code: number; data: Uint8Array; - /** nondeterministic */ + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} +export interface ResponseDeliverTx { + code: number; + data: Uint8Array; + /** nondeterministic */ + log: string; /** nondeterministic */ + info: string; gasWanted: Long; gasUsed: Long; events: Event[]; codespace: string; } +export interface ResponseDeliverTxSDKType { + code: number; + data: Uint8Array; + /** nondeterministic */ + + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} export interface ResponseEndBlock { validatorUpdates: ValidatorUpdate[]; consensusParamUpdates: ConsensusParams | undefined; events: Event[]; } +export interface ResponseEndBlockSDKType { + validator_updates: ValidatorUpdateSDKType[]; + consensus_param_updates: ConsensusParamsSDKType | undefined; + events: EventSDKType[]; +} export interface ResponseCommit { /** reserve 1 */ data: Uint8Array; retainHeight: Long; } +export interface ResponseCommitSDKType { + /** reserve 1 */ + data: Uint8Array; + retain_height: Long; +} export interface ResponseListSnapshots { snapshots: Snapshot[]; } +export interface ResponseListSnapshotsSDKType { + snapshots: SnapshotSDKType[]; +} export interface ResponseOfferSnapshot { result: ResponseOfferSnapshot_Result; } +export interface ResponseOfferSnapshotSDKType { + result: ResponseOfferSnapshot_ResultSDKType; +} export interface ResponseLoadSnapshotChunk { chunk: Uint8Array; } +export interface ResponseLoadSnapshotChunkSDKType { + chunk: Uint8Array; +} export interface ResponseApplySnapshotChunk { result: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetchChunks: number[]; + refetchChunks: number[]; /** Chunk senders to reject and ban */ + rejectSenders: string[]; } +export interface ResponseApplySnapshotChunkSDKType { + result: ResponseApplySnapshotChunk_ResultSDKType; + /** Chunks to refetch and reapply */ + + refetch_chunks: number[]; + /** Chunk senders to reject and ban */ + reject_senders: string[]; +} /** * ConsensusParams contains all consensus-relevant parameters * that can be adjusted by the abci app */ + export interface ConsensusParams { block: BlockParams | undefined; evidence: EvidenceParams | undefined; validator: ValidatorParams | undefined; version: VersionParams | undefined; } +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ +export interface ConsensusParamsSDKType { + block: BlockParamsSDKType | undefined; + evidence: EvidenceParamsSDKType | undefined; + validator: ValidatorParamsSDKType | undefined; + version: VersionParamsSDKType | undefined; +} /** BlockParams contains limits on the block size. */ + export interface BlockParams { /** Note: must be greater than 0 */ maxBytes: Long; - /** Note: must be greater or equal to -1 */ + maxGas: Long; } +/** BlockParams contains limits on the block size. */ + +export interface BlockParamsSDKType { + /** Note: must be greater than 0 */ + max_bytes: Long; + /** Note: must be greater or equal to -1 */ + + max_gas: Long; +} export interface LastCommitInfo { round: number; votes: VoteInfo[]; } - +export interface LastCommitInfoSDKType { + round: number; + votes: VoteInfoSDKType[]; +} /** * 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[]; } +/** + * 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: Uint8Array; value: Uint8Array; - /** nondeterministic */ + index: boolean; } +/** EventAttribute is a single key-value pair, associated with an event. */ + +export interface EventAttributeSDKType { + key: Uint8Array; + value: Uint8Array; + /** nondeterministic */ + 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 | undefined; } +/** + * TxResult contains results of executing the transaction. + * + * One usage is indexing transaction results. + */ +export interface TxResultSDKType { + height: Long; + index: number; + tx: Uint8Array; + result: ResponseDeliverTxSDKType | undefined; +} /** 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; } +/** Validator */ +export interface ValidatorSDKType { + /** + * The first 20 bytes of SHA256(public key) + * PubKey pub_key = 2 [(gogoproto.nullable)=false]; + */ + address: Uint8Array; + /** The voting power */ + + power: Long; +} /** ValidatorUpdate */ + export interface ValidatorUpdate { pubKey: PublicKey | undefined; power: Long; } +/** ValidatorUpdate */ +export interface ValidatorUpdateSDKType { + pub_key: PublicKeySDKType | undefined; + power: Long; +} /** VoteInfo */ + export interface VoteInfo { validator: Validator | undefined; signedLastBlock: boolean; } +/** VoteInfo */ + +export interface VoteInfoSDKType { + validator: ValidatorSDKType | undefined; + signed_last_block: boolean; +} export interface Evidence { type: EvidenceType; - /** The offending validator */ - validator: Validator | undefined; + validator: Validator | undefined; /** The height when the offense occurred */ - height: Long; + height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time: Date | undefined; /** * 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 EvidenceSDKType { + type: EvidenceTypeSDKType; + /** The offending validator */ + + validator: ValidatorSDKType | undefined; + /** The height when the offense occurred */ + + height: Long; + /** The corresponding time where the offense occurred */ + + time: Date | undefined; + /** + * 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: Long; +} export interface Snapshot { /** The height at which the snapshot was taken */ height: Long; - /** The application-specific snapshot format */ - format: number; + format: number; /** Number of chunks in the snapshot */ - chunks: number; + chunks: number; /** Arbitrary snapshot hash, equal only if identical */ + hash: Uint8Array; + /** Arbitrary application metadata */ + + metadata: Uint8Array; +} +export interface SnapshotSDKType { + /** 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; } @@ -720,46 +1096,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, - setOption: isSet(object.setOption) ? RequestSetOption.fromJSON(object.setOption) : 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 - }; - }, - - 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.setOption !== undefined && (obj.setOption = message.setOption ? RequestSetOption.toJSON(message.setOption) : 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); - return obj; - }, - fromPartial(object: Partial): Request { const message = createBaseRequest(); message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; @@ -819,18 +1155,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 ?? ""; @@ -866,15 +1190,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; @@ -937,22 +1252,6 @@ export const RequestInfo = { return message; }, - fromJSON(object: any): RequestInfo { - return { - version: isSet(object.version) ? String(object.version) : "", - blockVersion: isSet(object.blockVersion) ? Long.fromString(object.blockVersion) : Long.UZERO, - p2pVersion: isSet(object.p2pVersion) ? Long.fromString(object.p2pVersion) : Long.UZERO - }; - }, - - toJSON(message: RequestInfo): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = message.version); - message.blockVersion !== undefined && (obj.blockVersion = (message.blockVersion || Long.UZERO).toString()); - message.p2pVersion !== undefined && (obj.p2pVersion = (message.p2pVersion || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestInfo { const message = createBaseRequestInfo(); message.version = object.version ?? ""; @@ -1009,20 +1308,6 @@ export const RequestSetOption = { return message; }, - fromJSON(object: any): RequestSetOption { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? String(object.value) : "" - }; - }, - - toJSON(message: RequestSetOption): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): RequestSetOption { const message = createBaseRequestSetOption(); message.key = object.key ?? ""; @@ -1114,34 +1399,6 @@ 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) ? Long.fromString(object.initialHeight) : Long.ZERO - }; - }, - - toJSON(message: RequestInitChain): unknown { - const obj: any = {}; - message.time !== undefined && (obj.time = 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestInitChain { const message = createBaseRequestInitChain(); message.time = object.time ?? undefined; @@ -1219,24 +1476,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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.prove !== undefined && (obj.prove = message.prove); - return obj; - }, - fromPartial(object: Partial): RequestQuery { const message = createBaseRequestQuery(); message.data = object.data ?? new Uint8Array(); @@ -1312,30 +1551,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) ? LastCommitInfo.fromJSON(object.lastCommitInfo) : undefined, - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Evidence.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 ? LastCommitInfo.toJSON(message.lastCommitInfo) : undefined); - - if (message.byzantineValidators) { - obj.byzantineValidators = message.byzantineValidators.map(e => e ? Evidence.toJSON(e) : undefined); - } else { - obj.byzantineValidators = []; - } - - return obj; - }, - fromPartial(object: Partial): RequestBeginBlock { const message = createBaseRequestBeginBlock(); message.hash = object.hash ?? new Uint8Array(); @@ -1393,20 +1608,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) : 0 - }; - }, - - 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(); @@ -1453,18 +1654,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(); @@ -1510,18 +1699,6 @@ export const RequestEndBlock = { return message; }, - fromJSON(object: any): RequestEndBlock { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: RequestEndBlock): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestEndBlock { const message = createBaseRequestEndBlock(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -1557,15 +1734,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; @@ -1600,15 +1768,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; @@ -1662,20 +1821,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; @@ -1740,22 +1885,6 @@ export const RequestLoadSnapshotChunk = { return message; }, - fromJSON(object: any): RequestLoadSnapshotChunk { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; @@ -1821,22 +1950,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; @@ -2019,48 +2132,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, - setOption: isSet(object.setOption) ? ResponseSetOption.fromJSON(object.setOption) : 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 - }; - }, - - 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.setOption !== undefined && (obj.setOption = message.setOption ? ResponseSetOption.toJSON(message.setOption) : 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); - return obj; - }, - fromPartial(object: Partial): Response { const message = createBaseResponse(); message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; @@ -2121,18 +2192,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 ?? ""; @@ -2156,7 +2215,7 @@ export const ResponseEcho = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEchoSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEcho(); @@ -2178,18 +2237,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 ?? ""; @@ -2207,7 +2254,7 @@ export const ResponseFlush = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlushSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseFlush(); @@ -2225,15 +2272,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; @@ -2276,7 +2314,7 @@ export const ResponseInfo = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfoSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInfo(); @@ -2314,26 +2352,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) ? Long.fromString(object.appVersion) : Long.UZERO, - lastBlockHeight: isSet(object.lastBlockHeight) ? Long.fromString(object.lastBlockHeight) : Long.ZERO, - 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 || Long.UZERO).toString()); - message.lastBlockHeight !== undefined && (obj.lastBlockHeight = (message.lastBlockHeight || Long.ZERO).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 ?? ""; @@ -2371,7 +2389,7 @@ export const ResponseSetOption = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOptionSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseSetOption(); @@ -2401,22 +2419,6 @@ export const ResponseSetOption = { return message; }, - fromJSON(object: any): ResponseSetOption { - return { - code: isSet(object.code) ? Number(object.code) : 0, - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "" - }; - }, - - toJSON(message: ResponseSetOption): 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); - return obj; - }, - fromPartial(object: Partial): ResponseSetOption { const message = createBaseResponseSetOption(); message.code = object.code ?? 0; @@ -2452,7 +2454,7 @@ export const ResponseInitChain = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChainSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInitChain(); @@ -2482,28 +2484,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; @@ -2569,7 +2549,7 @@ export const ResponseQuery = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuerySDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseQuery(); @@ -2623,34 +2603,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) ? Long.fromString(object.index) : Long.ZERO, - 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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.codespace !== undefined && (obj.codespace = message.codespace); - return obj; - }, - fromPartial(object: Partial): ResponseQuery { const message = createBaseResponseQuery(); message.code = object.code ?? 0; @@ -2682,7 +2634,7 @@ export const ResponseBeginBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlockSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseBeginBlock(); @@ -2704,24 +2656,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)) || []; @@ -2780,7 +2714,7 @@ export const ResponseCheckTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTxSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCheckTx(); @@ -2830,38 +2764,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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], - codespace: isSet(object.codespace) ? String(object.codespace) : "" - }; - }, - - 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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): ResponseCheckTx { const message = createBaseResponseCheckTx(); message.code = object.code ?? 0; @@ -2927,7 +2829,7 @@ export const ResponseDeliverTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTxSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseDeliverTx(); @@ -2977,38 +2879,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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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; @@ -3049,7 +2919,7 @@ export const ResponseEndBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlockSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEndBlock(); @@ -3079,34 +2949,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)) || []; @@ -3137,7 +2979,7 @@ export const ResponseCommit = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommitSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCommit(); @@ -3163,20 +3005,6 @@ export const ResponseCommit = { return message; }, - fromJSON(object: any): ResponseCommit { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - retainHeight: isSet(object.retainHeight) ? Long.fromString(object.retainHeight) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ResponseCommit { const message = createBaseResponseCommit(); message.data = object.data ?? new Uint8Array(); @@ -3201,7 +3029,7 @@ export const ResponseListSnapshots = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshotsSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseListSnapshots(); @@ -3223,24 +3051,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)) || []; @@ -3264,7 +3074,7 @@ export const ResponseOfferSnapshot = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshotSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseOfferSnapshot(); @@ -3286,18 +3096,6 @@ export const ResponseOfferSnapshot = { return message; }, - fromJSON(object: any): ResponseOfferSnapshot { - return { - result: isSet(object.result) ? responseOfferSnapshot_ResultFromJSON(object.result) : 0 - }; - }, - - 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; @@ -3321,7 +3119,7 @@ export const ResponseLoadSnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunkSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseLoadSnapshotChunk(); @@ -3343,18 +3141,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(); @@ -3392,7 +3178,7 @@ export const ResponseApplySnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunkSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseApplySnapshotChunk(); @@ -3431,33 +3217,6 @@ export const ResponseApplySnapshotChunk = { return message; }, - fromJSON(object: any): ResponseApplySnapshotChunk { - return { - result: isSet(object.result) ? responseApplySnapshotChunk_ResultFromJSON(object.result) : 0, - 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; @@ -3532,24 +3291,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; @@ -3607,20 +3348,6 @@ export const BlockParams = { return message; }, - fromJSON(object: any): BlockParams { - return { - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, - maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO - }; - }, - - toJSON(message: BlockParams): unknown { - const obj: any = {}; - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockParams { const message = createBaseBlockParams(); message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; @@ -3676,26 +3403,6 @@ export const LastCommitInfo = { return message; }, - fromJSON(object: any): LastCommitInfo { - return { - round: isSet(object.round) ? Number(object.round) : 0, - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [] - }; - }, - - toJSON(message: LastCommitInfo): 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): LastCommitInfo { const message = createBaseLastCommitInfo(); message.round = object.round ?? 0; @@ -3751,26 +3458,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 ?? ""; @@ -3835,22 +3522,6 @@ export const EventAttribute = { return message; }, - fromJSON(object: any): EventAttribute { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - index: isSet(object.index) ? Boolean(object.index) : false - }; - }, - - toJSON(message: EventAttribute): 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.index !== undefined && (obj.index = message.index); - return obj; - }, - fromPartial(object: Partial): EventAttribute { const message = createBaseEventAttribute(); message.key = object.key ?? new Uint8Array(); @@ -3925,24 +3596,6 @@ export const TxResult = { return message; }, - fromJSON(object: any): TxResult { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -4000,20 +3653,6 @@ export const Validator = { return message; }, - fromJSON(object: any): Validator { - return { - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -4069,20 +3708,6 @@ export const ValidatorUpdate = { return message; }, - fromJSON(object: any): ValidatorUpdate { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorUpdate { const message = createBaseValidatorUpdate(); message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; @@ -4138,20 +3763,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; @@ -4234,26 +3845,6 @@ export const Evidence = { return message; }, - fromJSON(object: any): Evidence { - return { - type: isSet(object.type) ? evidenceTypeFromJSON(object.type) : 0, - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO - }; - }, - - toJSON(message: Evidence): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = evidenceTypeToJSON(message.type)); - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Evidence { const message = createBaseEvidence(); message.type = object.type ?? 0; @@ -4339,26 +3930,6 @@ export const Snapshot = { return message; }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; diff --git a/examples/telescope-with-contracts/codegen/tendermint/bundle.ts b/examples/contracts/codegen/tendermint/bundle.ts similarity index 100% rename from examples/telescope-with-contracts/codegen/tendermint/bundle.ts rename to examples/contracts/codegen/tendermint/bundle.ts diff --git a/examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts b/examples/contracts/codegen/tendermint/crypto/keys.ts similarity index 69% rename from examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts rename to examples/contracts/codegen/tendermint/crypto/keys.ts index 344590142..c38413da3 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/crypto/keys.ts +++ b/examples/contracts/codegen/tendermint/crypto/keys.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** PublicKey defines the keys available for use with Tendermint Validators */ + export interface PublicKey { ed25519?: Uint8Array; secp256k1?: Uint8Array; } +/** PublicKey defines the keys available for use with Tendermint Validators */ + +export interface PublicKeySDKType { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} function createBasePublicKey(): PublicKey { return { @@ -53,20 +58,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/examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts b/examples/contracts/codegen/tendermint/crypto/proof.ts similarity index 71% rename from examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts rename to examples/contracts/codegen/tendermint/crypto/proof.ts index b75f5ec6a..d49309477 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/crypto/proof.ts +++ b/examples/contracts/codegen/tendermint/crypto/proof.ts @@ -1,39 +1,73 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface Proof { total: Long; index: Long; leafHash: Uint8Array; aunts: Uint8Array[]; } +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 | undefined; } +export interface ValueOpSDKType { + /** Encoded in ProofOp.Key. */ + key: Uint8Array; + /** To encode in ProofOp.Data */ + + proof: ProofSDKType | undefined; +} export interface DominoOp { key: string; input: string; output: string; } - +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; } +/** + * 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[]; } +/** ProofOps is Merkle proof defined by the list of ProofOps */ + +export interface ProofOpsSDKType { + ops: ProofOpSDKType[]; +} function createBaseProof(): Proof { return { @@ -99,30 +133,6 @@ export const Proof = { return message; }, - fromJSON(object: any): Proof { - return { - total: isSet(object.total) ? Long.fromString(object.total) : Long.ZERO, - index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.total) : Long.ZERO; @@ -180,20 +190,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(); @@ -258,22 +254,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 ?? ""; @@ -339,22 +319,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 ?? ""; @@ -402,24 +366,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/examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts b/examples/contracts/codegen/tendermint/libs/bits/types.ts similarity index 74% rename from examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts rename to examples/contracts/codegen/tendermint/libs/bits/types.ts index 76319b490..9d9fbc48a 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/libs/bits/types.ts +++ b/examples/contracts/codegen/tendermint/libs/bits/types.ts @@ -1,9 +1,13 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface BitArray { bits: Long; elems: Long[]; } +export interface BitArraySDKType { + bits: Long; + elems: Long[]; +} function createBaseBitArray(): BitArray { return { @@ -63,26 +67,6 @@ export const BitArray = { return message; }, - fromJSON(object: any): BitArray { - return { - bits: isSet(object.bits) ? Long.fromString(object.bits) : Long.ZERO, - elems: Array.isArray(object?.elems) ? object.elems.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: BitArray): unknown { - const obj: any = {}; - message.bits !== undefined && (obj.bits = (message.bits || Long.ZERO).toString()); - - if (message.elems) { - obj.elems = message.elems.map(e => (e || Long.UZERO).toString()); - } else { - obj.elems = []; - } - - return obj; - }, - fromPartial(object: Partial): BitArray { const message = createBaseBitArray(); message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts b/examples/contracts/codegen/tendermint/p2p/types.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts rename to examples/contracts/codegen/tendermint/p2p/types.ts index 131e862f7..483567968 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/p2p/types.ts +++ b/examples/contracts/codegen/tendermint/p2p/types.ts @@ -1,11 +1,16 @@ import { Timestamp } from "../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; export interface ProtocolVersion { p2p: Long; block: Long; app: Long; } +export interface ProtocolVersionSDKType { + p2p: Long; + block: Long; + app: Long; +} export interface NodeInfo { protocolVersion: ProtocolVersion | undefined; nodeId: string; @@ -16,21 +21,46 @@ export interface NodeInfo { moniker: string; other: NodeInfoOther | undefined; } +export interface NodeInfoSDKType { + protocol_version: ProtocolVersionSDKType | undefined; + node_id: string; + listen_addr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other: NodeInfoOtherSDKType | undefined; +} export interface NodeInfoOther { txIndex: string; rpcAddress: string; } +export interface NodeInfoOtherSDKType { + tx_index: string; + rpc_address: string; +} export interface PeerInfo { id: string; addressInfo: PeerAddressInfo[]; lastConnected: Date | undefined; } +export interface PeerInfoSDKType { + id: string; + address_info: PeerAddressInfoSDKType[]; + last_connected: Date | undefined; +} export interface PeerAddressInfo { address: string; lastDialSuccess: Date | undefined; lastDialFailure: Date | undefined; dialFailures: number; } +export interface PeerAddressInfoSDKType { + address: string; + last_dial_success: Date | undefined; + last_dial_failure: Date | undefined; + dial_failures: number; +} function createBaseProtocolVersion(): ProtocolVersion { return { @@ -87,22 +117,6 @@ export const ProtocolVersion = { return message; }, - fromJSON(object: any): ProtocolVersion { - return { - p2p: isSet(object.p2p) ? Long.fromString(object.p2p) : Long.UZERO, - block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, - app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO - }; - }, - - toJSON(message: ProtocolVersion): unknown { - const obj: any = {}; - message.p2p !== undefined && (obj.p2p = (message.p2p || Long.UZERO).toString()); - message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); - message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ProtocolVersion { const message = createBaseProtocolVersion(); message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; @@ -213,32 +227,6 @@ export const NodeInfo = { return message; }, - fromJSON(object: any): NodeInfo { - return { - protocolVersion: isSet(object.protocolVersion) ? ProtocolVersion.fromJSON(object.protocolVersion) : undefined, - nodeId: isSet(object.nodeId) ? String(object.nodeId) : "", - 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) ? NodeInfoOther.fromJSON(object.other) : undefined - }; - }, - - toJSON(message: NodeInfo): unknown { - const obj: any = {}; - message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion ? ProtocolVersion.toJSON(message.protocolVersion) : undefined); - message.nodeId !== undefined && (obj.nodeId = message.nodeId); - 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 ? NodeInfoOther.toJSON(message.other) : undefined); - return obj; - }, - fromPartial(object: Partial): NodeInfo { const message = createBaseNodeInfo(); message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; @@ -300,20 +288,6 @@ export const NodeInfoOther = { return message; }, - fromJSON(object: any): NodeInfoOther { - return { - txIndex: isSet(object.txIndex) ? String(object.txIndex) : "", - rpcAddress: isSet(object.rpcAddress) ? String(object.rpcAddress) : "" - }; - }, - - toJSON(message: NodeInfoOther): unknown { - const obj: any = {}; - message.txIndex !== undefined && (obj.txIndex = message.txIndex); - message.rpcAddress !== undefined && (obj.rpcAddress = message.rpcAddress); - return obj; - }, - fromPartial(object: Partial): NodeInfoOther { const message = createBaseNodeInfoOther(); message.txIndex = object.txIndex ?? ""; @@ -378,28 +352,6 @@ export const PeerInfo = { return message; }, - fromJSON(object: any): PeerInfo { - return { - id: isSet(object.id) ? String(object.id) : "", - addressInfo: Array.isArray(object?.addressInfo) ? object.addressInfo.map((e: any) => PeerAddressInfo.fromJSON(e)) : [], - lastConnected: isSet(object.lastConnected) ? fromJsonTimestamp(object.lastConnected) : undefined - }; - }, - - toJSON(message: PeerInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - - if (message.addressInfo) { - obj.addressInfo = message.addressInfo.map(e => e ? PeerAddressInfo.toJSON(e) : undefined); - } else { - obj.addressInfo = []; - } - - message.lastConnected !== undefined && (obj.lastConnected = message.lastConnected.toISOString()); - return obj; - }, - fromPartial(object: Partial): PeerInfo { const message = createBasePeerInfo(); message.id = object.id ?? ""; @@ -474,24 +426,6 @@ export const PeerAddressInfo = { return message; }, - fromJSON(object: any): PeerAddressInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - lastDialSuccess: isSet(object.lastDialSuccess) ? fromJsonTimestamp(object.lastDialSuccess) : undefined, - lastDialFailure: isSet(object.lastDialFailure) ? fromJsonTimestamp(object.lastDialFailure) : undefined, - dialFailures: isSet(object.dialFailures) ? Number(object.dialFailures) : 0 - }; - }, - - toJSON(message: PeerAddressInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.lastDialSuccess !== undefined && (obj.lastDialSuccess = message.lastDialSuccess.toISOString()); - message.lastDialFailure !== undefined && (obj.lastDialFailure = message.lastDialFailure.toISOString()); - message.dialFailures !== undefined && (obj.dialFailures = Math.round(message.dialFailures)); - return obj; - }, - fromPartial(object: Partial): PeerAddressInfo { const message = createBasePeerAddressInfo(); message.address = object.address ?? ""; diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/block.ts b/examples/contracts/codegen/tendermint/types/block.ts similarity index 69% rename from examples/telescope-with-contracts/codegen/tendermint/types/block.ts rename to examples/contracts/codegen/tendermint/types/block.ts index fdb181db9..336943039 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/types/block.ts +++ b/examples/contracts/codegen/tendermint/types/block.ts @@ -1,13 +1,18 @@ -import { Header, Data, Commit } from "./types"; -import { EvidenceList } from "./evidence"; +import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; +import { EvidenceList, EvidenceListSDKType } from "./evidence"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; export interface Block { header: Header | undefined; data: Data | undefined; evidence: EvidenceList | undefined; lastCommit: Commit | undefined; } +export interface BlockSDKType { + header: HeaderSDKType | undefined; + data: DataSDKType | undefined; + evidence: EvidenceListSDKType | undefined; + last_commit: CommitSDKType | undefined; +} function createBaseBlock(): Block { return { @@ -73,24 +78,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/examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts b/examples/contracts/codegen/tendermint/types/evidence.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts rename to examples/contracts/codegen/tendermint/types/evidence.ts index acb465ecb..f55b57a54 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/types/evidence.ts +++ b/examples/contracts/codegen/tendermint/types/evidence.ts @@ -1,14 +1,18 @@ -import { Vote, LightBlock } from "./types"; +import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; import { Timestamp } from "../../google/protobuf/timestamp"; -import { Validator } from "./validator"; +import { Validator, ValidatorSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; lightClientAttackEvidence?: LightClientAttackEvidence | undefined; } - +export interface EvidenceSDKType { + duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType | undefined; + light_client_attack_evidence?: LightClientAttackEvidenceSDKType | undefined; +} /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ + export interface DuplicateVoteEvidence { voteA: Vote | undefined; voteB: Vote | undefined; @@ -16,8 +20,17 @@ export interface DuplicateVoteEvidence { validatorPower: Long; timestamp: Date | undefined; } +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ +export interface DuplicateVoteEvidenceSDKType { + vote_a: VoteSDKType | undefined; + vote_b: VoteSDKType | undefined; + total_voting_power: Long; + validator_power: Long; + timestamp: Date | undefined; +} /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + export interface LightClientAttackEvidence { conflictingBlock: LightBlock | undefined; commonHeight: Long; @@ -25,9 +38,21 @@ export interface LightClientAttackEvidence { totalVotingPower: Long; timestamp: Date | undefined; } +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + +export interface LightClientAttackEvidenceSDKType { + conflicting_block: LightBlockSDKType | undefined; + common_height: Long; + byzantine_validators: ValidatorSDKType[]; + total_voting_power: Long; + timestamp: Date | undefined; +} export interface EvidenceList { evidence: Evidence[]; } +export interface EvidenceListSDKType { + evidence: EvidenceSDKType[]; +} function createBaseEvidence(): Evidence { return { @@ -75,20 +100,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; @@ -171,26 +182,6 @@ 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO, - validatorPower: isSet(object.validatorPower) ? Long.fromString(object.validatorPower) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.validatorPower !== undefined && (obj.validatorPower = (message.validatorPower || Long.ZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = 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; @@ -276,32 +267,6 @@ export const LightClientAttackEvidence = { return message; }, - fromJSON(object: any): LightClientAttackEvidence { - return { - conflictingBlock: isSet(object.conflictingBlock) ? LightBlock.fromJSON(object.conflictingBlock) : undefined, - commonHeight: isSet(object.commonHeight) ? Long.fromString(object.commonHeight) : Long.ZERO, - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Validator.fromJSON(e)) : [], - totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = 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; @@ -351,24 +316,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/examples/telescope-with-contracts/codegen/tendermint/types/params.ts b/examples/contracts/codegen/tendermint/types/params.ts similarity index 75% rename from examples/telescope-with-contracts/codegen/tendermint/types/params.ts rename to examples/contracts/codegen/tendermint/types/params.ts index af175d89b..378482eb0 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/types/params.ts +++ b/examples/contracts/codegen/tendermint/types/params.ts @@ -1,42 +1,76 @@ -import { Duration } from "../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * ConsensusParams contains consensus critical parameters that determine the * validity of blocks. */ + export interface ConsensusParams { block: BlockParams | undefined; evidence: EvidenceParams | undefined; validator: ValidatorParams | undefined; version: VersionParams | undefined; } +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ +export interface ConsensusParamsSDKType { + block: BlockParamsSDKType | undefined; + evidence: EvidenceParamsSDKType | undefined; + validator: ValidatorParamsSDKType | undefined; + version: VersionParamsSDKType | undefined; +} /** 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; + maxGas: Long; /** * Minimum time increment between consecutive blocks (in milliseconds) If the * block header timestamp is ahead of the system clock, decrease this value. * * Not exposed to the application. */ + timeIotaMs: Long; } +/** BlockParams contains limits on the block size. */ +export interface BlockParamsSDKType { + /** + * Max block size, in bytes. + * Note: must be greater than 0 + */ + max_bytes: Long; + /** + * Max gas per block. + * Note: must be greater or equal to -1 + */ + + max_gas: Long; + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + + time_iota_ms: Long; +} /** EvidenceParams determine how we handle evidence of malfeasance. */ + export interface EvidenceParams { /** * Max age of evidence, in blocks. @@ -45,7 +79,6 @@ export interface EvidenceParams { * time}. */ maxAgeNumBlocks: Long; - /** * Max age of evidence, in time. * @@ -53,38 +86,89 @@ export interface EvidenceParams { * 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 | undefined; + maxAgeDuration: Duration | undefined; /** * 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; } +/** EvidenceParams determine how we handle evidence of malfeasance. */ +export interface EvidenceParamsSDKType { + /** + * Max age of evidence, in blocks. + * + * The basic formula for calculating this is: MaxAgeDuration / {average block + * time}. + */ + max_age_num_blocks: 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). + */ + + max_age_duration: DurationSDKType | undefined; + /** + * 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: Long; +} /** * ValidatorParams restrict the public key types validators can use. * NOTE: uses ABCI pubkey naming, not Amino names. */ + export interface ValidatorParams { pubKeyTypes: string[]; } +/** + * 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 { appVersion: Long; } +/** VersionParams contains the ABCI application version. */ +export interface VersionParamsSDKType { + app_version: Long; +} /** * HashedParams is a subset of ConsensusParams. * * It is hashed into the Header.ConsensusHash. */ + export interface HashedParams { blockMaxBytes: Long; blockMaxGas: Long; } +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ + +export interface HashedParamsSDKType { + block_max_bytes: Long; + block_max_gas: Long; +} function createBaseConsensusParams(): ConsensusParams { return { @@ -150,24 +234,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; @@ -234,22 +300,6 @@ export const BlockParams = { return message; }, - fromJSON(object: any): BlockParams { - return { - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, - maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO, - timeIotaMs: isSet(object.timeIotaMs) ? Long.fromString(object.timeIotaMs) : Long.ZERO - }; - }, - - toJSON(message: BlockParams): unknown { - const obj: any = {}; - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); - message.timeIotaMs !== undefined && (obj.timeIotaMs = (message.timeIotaMs || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockParams { const message = createBaseBlockParams(); message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; @@ -315,22 +365,6 @@ export const EvidenceParams = { return message; }, - fromJSON(object: any): EvidenceParams { - return { - maxAgeNumBlocks: isSet(object.maxAgeNumBlocks) ? Long.fromString(object.maxAgeNumBlocks) : Long.ZERO, - maxAgeDuration: isSet(object.maxAgeDuration) ? Duration.fromJSON(object.maxAgeDuration) : undefined, - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO - }; - }, - - toJSON(message: EvidenceParams): unknown { - const obj: any = {}; - message.maxAgeNumBlocks !== undefined && (obj.maxAgeNumBlocks = (message.maxAgeNumBlocks || Long.ZERO).toString()); - message.maxAgeDuration !== undefined && (obj.maxAgeDuration = message.maxAgeDuration); - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EvidenceParams { const message = createBaseEvidenceParams(); message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; @@ -378,24 +412,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) || []; @@ -441,18 +457,6 @@ export const VersionParams = { return message; }, - fromJSON(object: any): VersionParams { - return { - appVersion: isSet(object.appVersion) ? Long.fromString(object.appVersion) : Long.UZERO - }; - }, - - toJSON(message: VersionParams): unknown { - const obj: any = {}; - message.appVersion !== undefined && (obj.appVersion = (message.appVersion || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): VersionParams { const message = createBaseVersionParams(); message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; @@ -507,20 +511,6 @@ export const HashedParams = { return message; }, - fromJSON(object: any): HashedParams { - return { - blockMaxBytes: isSet(object.blockMaxBytes) ? Long.fromString(object.blockMaxBytes) : Long.ZERO, - blockMaxGas: isSet(object.blockMaxGas) ? Long.fromString(object.blockMaxGas) : Long.ZERO - }; - }, - - toJSON(message: HashedParams): unknown { - const obj: any = {}; - message.blockMaxBytes !== undefined && (obj.blockMaxBytes = (message.blockMaxBytes || Long.ZERO).toString()); - message.blockMaxGas !== undefined && (obj.blockMaxGas = (message.blockMaxGas || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): HashedParams { const message = createBaseHashedParams(); message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; diff --git a/examples/telescope-with-contracts/codegen/tendermint/types/types.ts b/examples/contracts/codegen/tendermint/types/types.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/tendermint/types/types.ts rename to examples/contracts/codegen/tendermint/types/types.ts index 32fce40b4..d5b632d42 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/types/types.ts +++ b/examples/contracts/codegen/tendermint/types/types.ts @@ -1,11 +1,11 @@ -import { Proof } from "../crypto/proof"; -import { Consensus } from "../version/types"; +import { Proof, ProofSDKType } from "../crypto/proof"; +import { Consensus, ConsensusSDKType } from "../version/types"; import { Timestamp } from "../../google/protobuf/timestamp"; -import { ValidatorSet } from "./validator"; +import { ValidatorSet, ValidatorSetSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; /** BlockIdFlag indicates which BlcokID the signature is for */ + export enum BlockIDFlag { BLOCK_ID_FLAG_UNKNOWN = 0, BLOCK_ID_FLAG_ABSENT = 1, @@ -13,6 +13,15 @@ export enum BlockIDFlag { BLOCK_ID_FLAG_NIL = 3, UNRECOGNIZED = -1, } +/** BlockIdFlag indicates which BlcokID the signature is for */ + +export enum BlockIDFlagSDKType { + BLOCK_ID_FLAG_UNKNOWN = 0, + BLOCK_ID_FLAG_ABSENT = 1, + BLOCK_ID_FLAG_COMMIT = 2, + BLOCK_ID_FLAG_NIL = 3, + UNRECOGNIZED = -1, +} export function blockIDFlagFromJSON(object: any): BlockIDFlag { switch (object) { case 0: @@ -55,8 +64,8 @@ export function blockIDFlagToJSON(object: BlockIDFlag): string { return "UNKNOWN"; } } - /** SignedMsgType is a type of signed message in the consensus. */ + export enum SignedMsgType { SIGNED_MSG_TYPE_UNKNOWN = 0, @@ -68,6 +77,19 @@ export enum SignedMsgType { SIGNED_MSG_TYPE_PROPOSAL = 32, UNRECOGNIZED = -1, } +/** SignedMsgType is a type of signed message in the consensus. */ + +export enum SignedMsgTypeSDKType { + 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { switch (object) { case 0: @@ -110,60 +132,112 @@ export function signedMsgTypeToJSON(object: SignedMsgType): string { return "UNKNOWN"; } } - /** PartsetHeader */ + export interface PartSetHeader { total: number; hash: Uint8Array; } +/** PartsetHeader */ + +export interface PartSetHeaderSDKType { + total: number; + hash: Uint8Array; +} export interface Part { index: number; bytes: Uint8Array; proof: Proof | undefined; } - +export interface PartSDKType { + index: number; + bytes: Uint8Array; + proof: ProofSDKType | undefined; +} /** BlockID */ + export interface BlockID { hash: Uint8Array; partSetHeader: PartSetHeader | undefined; } +/** BlockID */ +export interface BlockIDSDKType { + hash: Uint8Array; + part_set_header: PartSetHeaderSDKType | undefined; +} /** Header defines the structure of a Tendermint block header. */ + export interface Header { /** basic block info */ version: Consensus | undefined; chainId: string; height: Long; time: Date | undefined; - /** prev block info */ - lastBlockId: BlockID | undefined; + lastBlockId: BlockID | undefined; /** hashes of block data */ + lastCommitHash: Uint8Array; dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; + validatorsHash: Uint8Array; /** validators for the next block */ - nextValidatorsHash: Uint8Array; + nextValidatorsHash: Uint8Array; /** consensus params for current block */ - consensusHash: Uint8Array; + consensusHash: Uint8Array; /** state after txs from the previous block */ + appHash: Uint8Array; lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; + evidenceHash: Uint8Array; /** original proposer of the block */ + proposerAddress: Uint8Array; } +/** Header defines the structure of a Tendermint block header. */ + +export interface HeaderSDKType { + /** basic block info */ + version: ConsensusSDKType | undefined; + chain_id: string; + height: Long; + time: Date | undefined; + /** prev block info */ + + last_block_id: BlockIDSDKType | undefined; + /** 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; +} /** Data contains the set of transactions included in the block */ + export interface Data { /** * Txs that will be applied by state @ block.Height+1. @@ -172,39 +246,82 @@ export interface Data { */ txs: Uint8Array[]; } +/** Data contains the set of transactions included in the block */ +export interface DataSDKType { + /** + * 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[]; +} /** * Vote represents a prevote, precommit, or commit vote from validators for * consensus. */ + export interface Vote { type: SignedMsgType; height: Long; round: number; - /** zero if vote is nil. */ + blockId: BlockID | undefined; timestamp: Date | undefined; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; } +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ + +export interface VoteSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + /** zero if vote is nil. */ + block_id: BlockIDSDKType | undefined; + timestamp: Date | undefined; + 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 | undefined; signatures: CommitSig[]; } +/** Commit contains the evidence that a block was committed by a set of validators. */ +export interface CommitSDKType { + height: Long; + round: number; + block_id: BlockIDSDKType | undefined; + signatures: CommitSigSDKType[]; +} /** CommitSig is a part of the Vote included in a Commit. */ + export interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; timestamp: Date | undefined; signature: Uint8Array; } +/** CommitSig is a part of the Vote included in a Commit. */ + +export interface CommitSigSDKType { + block_id_flag: BlockIDFlagSDKType; + validator_address: Uint8Array; + timestamp: Date | undefined; + signature: Uint8Array; +} export interface Proposal { type: SignedMsgType; height: Long; @@ -214,27 +331,57 @@ export interface Proposal { timestamp: Date | undefined; signature: Uint8Array; } +export interface ProposalSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + pol_round: number; + block_id: BlockIDSDKType | undefined; + timestamp: Date | undefined; + signature: Uint8Array; +} export interface SignedHeader { header: Header | undefined; commit: Commit | undefined; } +export interface SignedHeaderSDKType { + header: HeaderSDKType | undefined; + commit: CommitSDKType | undefined; +} export interface LightBlock { signedHeader: SignedHeader | undefined; validatorSet: ValidatorSet | undefined; } +export interface LightBlockSDKType { + signed_header: SignedHeaderSDKType | undefined; + validator_set: ValidatorSetSDKType | undefined; +} export interface BlockMeta { blockId: BlockID | undefined; blockSize: Long; header: Header | undefined; numTxs: Long; } - +export interface BlockMetaSDKType { + block_id: BlockIDSDKType | undefined; + block_size: Long; + header: HeaderSDKType | undefined; + 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 | undefined; } +/** 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 | undefined; +} function createBasePartSetHeader(): PartSetHeader { return { @@ -282,20 +429,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; @@ -360,22 +493,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; @@ -432,20 +549,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(); @@ -609,44 +712,6 @@ 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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.time !== undefined && (obj.time = 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; @@ -705,24 +770,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) || []; @@ -831,32 +878,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 = 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; @@ -936,30 +957,6 @@ export const Commit = { return message; }, - fromJSON(object: any): Commit { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -1035,24 +1032,6 @@ export const CommitSig = { return message; }, - fromJSON(object: any): CommitSig { - return { - blockIdFlag: isSet(object.blockIdFlag) ? blockIDFlagFromJSON(object.blockIdFlag) : 0, - 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 = 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; @@ -1155,30 +1134,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 = 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; @@ -1239,20 +1194,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; @@ -1308,20 +1249,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; @@ -1395,24 +1322,6 @@ export const BlockMeta = { return message; }, - fromJSON(object: any): BlockMeta { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - blockSize: isSet(object.blockSize) ? Long.fromString(object.blockSize) : Long.ZERO, - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - numTxs: isSet(object.numTxs) ? Long.fromString(object.numTxs) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.numTxs !== undefined && (obj.numTxs = (message.numTxs || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockMeta { const message = createBaseBlockMeta(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -1479,22 +1388,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/examples/telescope-with-contracts/codegen/tendermint/types/validator.ts b/examples/contracts/codegen/tendermint/types/validator.ts similarity index 70% rename from examples/telescope-with-contracts/codegen/tendermint/types/validator.ts rename to examples/contracts/codegen/tendermint/types/validator.ts index 28963e1bd..5acd17c78 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/types/validator.ts +++ b/examples/contracts/codegen/tendermint/types/validator.ts @@ -1,21 +1,36 @@ -import { PublicKey } from "../crypto/keys"; +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface ValidatorSet { validators: Validator[]; proposer: Validator | undefined; totalVotingPower: Long; } +export interface ValidatorSetSDKType { + validators: ValidatorSDKType[]; + proposer: ValidatorSDKType | undefined; + total_voting_power: Long; +} export interface Validator { address: Uint8Array; pubKey: PublicKey | undefined; votingPower: Long; proposerPriority: Long; } +export interface ValidatorSDKType { + address: Uint8Array; + pub_key: PublicKeySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} export interface SimpleValidator { pubKey: PublicKey | undefined; votingPower: Long; } +export interface SimpleValidatorSDKType { + pub_key: PublicKeySDKType | undefined; + voting_power: Long; +} function createBaseValidatorSet(): ValidatorSet { return { @@ -72,28 +87,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) ? Long.fromString(object.totalVotingPower) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorSet { const message = createBaseValidatorSet(); message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; @@ -168,24 +161,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) ? Long.fromString(object.votingPower) : Long.ZERO, - proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -243,20 +218,6 @@ export const SimpleValidator = { return message; }, - fromJSON(object: any): SimpleValidator { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - votingPower: isSet(object.votingPower) ? Long.fromString(object.votingPower) : Long.ZERO - }; - }, - - 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 || Long.ZERO).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/examples/telescope-with-contracts/codegen/tendermint/version/types.ts b/examples/contracts/codegen/tendermint/version/types.ts similarity index 76% rename from examples/telescope-with-contracts/codegen/tendermint/version/types.ts rename to examples/contracts/codegen/tendermint/version/types.ts index 50b49b343..142dffe2b 100644 --- a/examples/telescope-with-contracts/codegen/tendermint/version/types.ts +++ b/examples/contracts/codegen/tendermint/version/types.ts @@ -1,25 +1,45 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * 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; } +/** + * 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; +} function createBaseApp(): App { return { @@ -67,20 +87,6 @@ export const App = { return message; }, - fromJSON(object: any): App { - return { - protocol: isSet(object.protocol) ? Long.fromString(object.protocol) : Long.UZERO, - software: isSet(object.software) ? String(object.software) : "" - }; - }, - - toJSON(message: App): unknown { - const obj: any = {}; - message.protocol !== undefined && (obj.protocol = (message.protocol || Long.UZERO).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 ? Long.fromValue(object.protocol) : Long.UZERO; @@ -136,20 +142,6 @@ export const Consensus = { return message; }, - fromJSON(object: any): Consensus { - return { - block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, - app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO - }; - }, - - toJSON(message: Consensus): unknown { - const obj: any = {}; - message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); - message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Consensus { const message = createBaseConsensus(); message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; diff --git a/examples/contracts/components/features.tsx b/examples/contracts/components/features.tsx new file mode 100644 index 000000000..c4e9cea55 --- /dev/null +++ b/examples/contracts/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/contracts/components/index.tsx b/examples/contracts/components/index.tsx new file mode 100644 index 000000000..4d86fd53c --- /dev/null +++ b/examples/contracts/components/index.tsx @@ -0,0 +1,4 @@ +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/contracts/components/react/address-card.tsx b/examples/contracts/components/react/address-card.tsx new file mode 100644 index 000000000..96ff2cd27 --- /dev/null +++ b/examples/contracts/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from 'react'; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectedShowAddress = ({ + address, + isLoading +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ''); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/telescope-with-contracts/components/astronaut.tsx b/examples/contracts/components/react/astronaut.tsx similarity index 100% rename from examples/telescope-with-contracts/components/astronaut.tsx rename to examples/contracts/components/react/astronaut.tsx diff --git a/examples/contracts/components/react/chain-card.tsx b/examples/contracts/components/react/chain-card.tsx new file mode 100644 index 000000000..ed1e631f6 --- /dev/null +++ b/examples/contracts/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from '@chakra-ui/react'; +import { ChainCardProps } from '../types'; + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/contracts/components/react/index.ts b/examples/contracts/components/react/index.ts new file mode 100644 index 000000000..cc035b9c5 --- /dev/null +++ b/examples/contracts/components/react/index.ts @@ -0,0 +1,6 @@ +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/contracts/components/react/user-card.tsx b/examples/contracts/components/react/user-card.tsx new file mode 100644 index 000000000..13c8bd75a --- /dev/null +++ b/examples/contracts/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; + +export const ConnectedUserInfo = ({ + username, + icon +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/contracts/components/react/wallet-connect.tsx b/examples/contracts/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9844d1481 --- /dev/null +++ b/examples/contracts/components/react/wallet-connect.tsx @@ -0,0 +1,197 @@ +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/contracts/components/react/warn-block.tsx b/examples/contracts/components/react/warn-block.tsx new file mode 100644 index 000000000..6a03adb03 --- /dev/null +++ b/examples/contracts/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const WarnBlock = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/telescope-with-contracts/components/types.tsx b/examples/contracts/components/types.tsx similarity index 83% rename from examples/telescope-with-contracts/components/types.tsx rename to examples/contracts/components/types.tsx index 93f463d0e..5f9133656 100644 --- a/examples/telescope-with-contracts/components/types.tsx +++ b/examples/contracts/components/types.tsx @@ -2,7 +2,7 @@ import { MouseEventHandler, ReactNode } from 'react'; import { IconType } from 'react-icons'; export interface ChooseChainInfo { - chainId: string; + chainName: string; chainRoute?: string; label: string; value: string; @@ -27,7 +27,8 @@ export interface ConnectWalletType { } export interface ConnectedUserCardType { - userName: string; + walletIcon?: string; + username?: string; icon?: ReactNode; } @@ -36,3 +37,8 @@ export interface FeatureProps { text: string; href: string; } + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx new file mode 100644 index 000000000..2848a4b08 --- /dev/null +++ b/examples/contracts/components/wallet.tsx @@ -0,0 +1,163 @@ +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { chainInfos } from '../config/chain-infos'; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { + connect, + disconnect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentChainName, + currentWalletName + } = walletManager; + + const chain = chainInfos.find((c) => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/contracts/config/chain-infos.ts b/examples/contracts/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/contracts/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/telescope-with-contracts/config/features.ts b/examples/contracts/config/features.ts similarity index 100% rename from examples/telescope-with-contracts/config/features.ts rename to examples/contracts/config/features.ts diff --git a/examples/contracts/config/index.ts b/examples/contracts/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/contracts/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/contracts/config/theme.ts b/examples/contracts/config/theme.ts new file mode 100644 index 000000000..12bb0f21c --- /dev/null +++ b/examples/contracts/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from "@chakra-ui/react"; + +export const defaultThemeObject = { + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", + }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/telescope-with-contracts/contracts/wasmswap/LICENSE b/examples/contracts/contracts/wasmswap/LICENSE similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/LICENSE rename to examples/contracts/contracts/wasmswap/LICENSE diff --git a/examples/telescope-with-contracts/contracts/wasmswap/README.md b/examples/contracts/contracts/wasmswap/README.md similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/README.md rename to examples/contracts/contracts/wasmswap/README.md diff --git a/examples/telescope-with-contracts/contracts/wasmswap/package.json b/examples/contracts/contracts/wasmswap/package.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/package.json rename to examples/contracts/contracts/wasmswap/package.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json b/examples/contracts/contracts/wasmswap/schema/balance_response.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/balance_response.json rename to examples/contracts/contracts/wasmswap/schema/balance_response.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json b/examples/contracts/contracts/wasmswap/schema/execute_msg.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/execute_msg.json rename to examples/contracts/contracts/wasmswap/schema/execute_msg.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json b/examples/contracts/contracts/wasmswap/schema/info_response.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/info_response.json rename to examples/contracts/contracts/wasmswap/schema/info_response.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json b/examples/contracts/contracts/wasmswap/schema/instantiate_msg.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/instantiate_msg.json rename to examples/contracts/contracts/wasmswap/schema/instantiate_msg.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json b/examples/contracts/contracts/wasmswap/schema/query_msg.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/query_msg.json rename to examples/contracts/contracts/wasmswap/schema/query_msg.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token.json b/examples/contracts/contracts/wasmswap/schema/token.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/token.json rename to examples/contracts/contracts/wasmswap/schema/token.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json b/examples/contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json rename to examples/contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json diff --git a/examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json b/examples/contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json similarity index 100% rename from examples/telescope-with-contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json rename to examples/contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json diff --git a/examples/telescope-with-contracts/next.config.js b/examples/contracts/next.config.js similarity index 100% rename from examples/telescope-with-contracts/next.config.js rename to examples/contracts/next.config.js diff --git a/examples/telescope-with-contracts/package.json b/examples/contracts/package.json similarity index 91% rename from examples/telescope-with-contracts/package.json rename to examples/contracts/package.json index 144548237..a5bf0407c 100644 --- a/examples/telescope-with-contracts/package.json +++ b/examples/contracts/package.json @@ -7,6 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", + "format": "next lint --fix", "codegen": "node scripts/codegen.js" }, "dependencies": { @@ -20,6 +21,7 @@ "@emotion/styled": "11.10.4", "@osmonauts/helpers": "^0.6.0", "@osmonauts/lcd": "^0.6.0", + "bignumber.js": "9.1.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", @@ -28,7 +30,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.30.0", + "@osmonauts/telescope": "0.31.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", @@ -39,4 +41,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx new file mode 100644 index 000000000..fc6307440 --- /dev/null +++ b/examples/contracts/pages/_app.tsx @@ -0,0 +1,46 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from '../codegen'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; +import { GasPrice } from '@cosmjs/stargate'; + +function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'osmosis': + return { + gasPrice: GasPrice.fromString('0.0025uosmo') + }; + case 'juno': + return { + gasPrice: GasPrice.fromString('0.0025ujuno') + }; + } + } + }; + + return ( + + + + + + ); +} + +export default MyApp; diff --git a/examples/contracts/pages/index.tsx b/examples/contracts/pages/index.tsx new file mode 100644 index 000000000..31821d89b --- /dev/null +++ b/examples/contracts/pages/index.tsx @@ -0,0 +1,146 @@ +import { Container, Button } from '@chakra-ui/react'; +import { useWallet } from '@cosmos-kit/react'; +import { useEffect, useState } from 'react'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import { WalletStatus } from '@cosmos-kit/core'; +import BigNumber from 'bignumber.js'; + +import { WalletSection } from '../components'; +import { cosmos } from '../codegen'; + +const chainName = 'osmosis'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const baseAsset: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: baseAsset.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: baseAsset.base, + amount: '0' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + +export default function Home() { + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = `https://rest.cosmos.directory/${chainName}`; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: chainassets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = baseAsset.denom_units.find( + (unit) => unit.denom === baseAsset.display + )?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; + + return ( + + + + {walletStatus === WalletStatus.Disconnected && ( + <>please connect your wallet! + )} + + {walletStatus === WalletStatus.Connected && ( + <> + Balance: {balance.toNumber()} + + + + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} +
+ ); +} diff --git a/examples/telescope-with-contracts/proto/confio/LICENSE b/examples/contracts/proto/confio/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/confio/LICENSE rename to examples/contracts/proto/confio/LICENSE diff --git a/examples/telescope-with-contracts/proto/confio/README.md b/examples/contracts/proto/confio/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/confio/README.md rename to examples/contracts/proto/confio/README.md diff --git a/examples/telescope-with-contracts/proto/confio/proofs.proto b/examples/contracts/proto/confio/proofs.proto similarity index 100% rename from examples/telescope-with-contracts/proto/confio/proofs.proto rename to examples/contracts/proto/confio/proofs.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/LICENSE b/examples/contracts/proto/cosmos/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/LICENSE rename to examples/contracts/proto/cosmos/LICENSE diff --git a/examples/telescope-with-contracts/proto/cosmos/README.md b/examples/contracts/proto/cosmos/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/README.md rename to examples/contracts/proto/cosmos/README.md diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto b/examples/contracts/proto/cosmos/app/v1alpha1/config.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/config.proto rename to examples/contracts/proto/cosmos/app/v1alpha1/config.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto b/examples/contracts/proto/cosmos/app/v1alpha1/module.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/module.proto rename to examples/contracts/proto/cosmos/app/v1alpha1/module.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto b/examples/contracts/proto/cosmos/app/v1alpha1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/app/v1alpha1/query.proto rename to examples/contracts/proto/cosmos/app/v1alpha1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto b/examples/contracts/proto/cosmos/auth/v1beta1/auth.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/auth.proto rename to examples/contracts/proto/cosmos/auth/v1beta1/auth.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/auth/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/auth/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto b/examples/contracts/proto/cosmos/auth/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/auth/v1beta1/query.proto rename to examples/contracts/proto/cosmos/auth/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto b/examples/contracts/proto/cosmos/authz/v1beta1/authz.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/authz.proto rename to examples/contracts/proto/cosmos/authz/v1beta1/authz.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto b/examples/contracts/proto/cosmos/authz/v1beta1/event.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/event.proto rename to examples/contracts/proto/cosmos/authz/v1beta1/event.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/authz/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/authz/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto b/examples/contracts/proto/cosmos/authz/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/query.proto rename to examples/contracts/proto/cosmos/authz/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto b/examples/contracts/proto/cosmos/authz/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/authz/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/authz/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto b/examples/contracts/proto/cosmos/bank/v1beta1/authz.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/authz.proto rename to examples/contracts/proto/cosmos/bank/v1beta1/authz.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto b/examples/contracts/proto/cosmos/bank/v1beta1/bank.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/bank.proto rename to examples/contracts/proto/cosmos/bank/v1beta1/bank.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/bank/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/bank/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto b/examples/contracts/proto/cosmos/bank/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/query.proto rename to examples/contracts/proto/cosmos/bank/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto b/examples/contracts/proto/cosmos/bank/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/bank/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/bank/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto b/examples/contracts/proto/cosmos/base/abci/v1beta1/abci.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/abci/v1beta1/abci.proto rename to examples/contracts/proto/cosmos/base/abci/v1beta1/abci.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto b/examples/contracts/proto/cosmos/base/kv/v1beta1/kv.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/kv/v1beta1/kv.proto rename to examples/contracts/proto/cosmos/base/kv/v1beta1/kv.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto b/examples/contracts/proto/cosmos/base/query/v1beta1/pagination.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/query/v1beta1/pagination.proto rename to examples/contracts/proto/cosmos/base/query/v1beta1/pagination.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto b/examples/contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto rename to examples/contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/examples/contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto rename to examples/contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/examples/contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto rename to examples/contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto b/examples/contracts/proto/cosmos/base/store/v1beta1/commit_info.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/commit_info.proto rename to examples/contracts/proto/cosmos/base/store/v1beta1/commit_info.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto b/examples/contracts/proto/cosmos/base/store/v1beta1/listening.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/store/v1beta1/listening.proto rename to examples/contracts/proto/cosmos/base/store/v1beta1/listening.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto b/examples/contracts/proto/cosmos/base/tendermint/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/tendermint/v1beta1/query.proto rename to examples/contracts/proto/cosmos/base/tendermint/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto b/examples/contracts/proto/cosmos/base/v1beta1/coin.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/base/v1beta1/coin.proto rename to examples/contracts/proto/cosmos/base/v1beta1/coin.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto b/examples/contracts/proto/cosmos/capability/v1beta1/capability.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/capability.proto rename to examples/contracts/proto/cosmos/capability/v1beta1/capability.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/capability/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/capability/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/capability/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/crisis/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/crisis/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto b/examples/contracts/proto/cosmos/crisis/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crisis/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/crisis/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto b/examples/contracts/proto/cosmos/crypto/ed25519/keys.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/ed25519/keys.proto rename to examples/contracts/proto/cosmos/crypto/ed25519/keys.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto b/examples/contracts/proto/cosmos/crypto/hd/v1/hd.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/hd/v1/hd.proto rename to examples/contracts/proto/cosmos/crypto/hd/v1/hd.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto b/examples/contracts/proto/cosmos/crypto/keyring/v1/record.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/keyring/v1/record.proto rename to examples/contracts/proto/cosmos/crypto/keyring/v1/record.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto b/examples/contracts/proto/cosmos/crypto/multisig/keys.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/multisig/keys.proto rename to examples/contracts/proto/cosmos/crypto/multisig/keys.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/examples/contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto rename to examples/contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto b/examples/contracts/proto/cosmos/crypto/secp256k1/keys.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/secp256k1/keys.proto rename to examples/contracts/proto/cosmos/crypto/secp256k1/keys.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto b/examples/contracts/proto/cosmos/crypto/secp256r1/keys.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/crypto/secp256r1/keys.proto rename to examples/contracts/proto/cosmos/crypto/secp256r1/keys.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto b/examples/contracts/proto/cosmos/distribution/v1beta1/distribution.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/distribution.proto rename to examples/contracts/proto/cosmos/distribution/v1beta1/distribution.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/distribution/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/distribution/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto b/examples/contracts/proto/cosmos/distribution/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/query.proto rename to examples/contracts/proto/cosmos/distribution/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto b/examples/contracts/proto/cosmos/distribution/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/distribution/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/distribution/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto b/examples/contracts/proto/cosmos/evidence/v1beta1/evidence.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/evidence.proto rename to examples/contracts/proto/cosmos/evidence/v1beta1/evidence.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/evidence/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/evidence/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto b/examples/contracts/proto/cosmos/evidence/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/query.proto rename to examples/contracts/proto/cosmos/evidence/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto b/examples/contracts/proto/cosmos/evidence/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/evidence/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/evidence/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto b/examples/contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto rename to examples/contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/feegrant/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/feegrant/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto b/examples/contracts/proto/cosmos/feegrant/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/query.proto rename to examples/contracts/proto/cosmos/feegrant/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto b/examples/contracts/proto/cosmos/feegrant/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/feegrant/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/feegrant/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/genutil/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/genutil/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/genutil/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto b/examples/contracts/proto/cosmos/gov/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1/genesis.proto rename to examples/contracts/proto/cosmos/gov/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto b/examples/contracts/proto/cosmos/gov/v1/gov.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1/gov.proto rename to examples/contracts/proto/cosmos/gov/v1/gov.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto b/examples/contracts/proto/cosmos/gov/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1/query.proto rename to examples/contracts/proto/cosmos/gov/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto b/examples/contracts/proto/cosmos/gov/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1/tx.proto rename to examples/contracts/proto/cosmos/gov/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/gov/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/gov/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto b/examples/contracts/proto/cosmos/gov/v1beta1/gov.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/gov.proto rename to examples/contracts/proto/cosmos/gov/v1beta1/gov.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto b/examples/contracts/proto/cosmos/gov/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/query.proto rename to examples/contracts/proto/cosmos/gov/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto b/examples/contracts/proto/cosmos/gov/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/gov/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/gov/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto b/examples/contracts/proto/cosmos/group/v1/events.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/group/v1/events.proto rename to examples/contracts/proto/cosmos/group/v1/events.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto b/examples/contracts/proto/cosmos/group/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/group/v1/genesis.proto rename to examples/contracts/proto/cosmos/group/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto b/examples/contracts/proto/cosmos/group/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/group/v1/query.proto rename to examples/contracts/proto/cosmos/group/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto b/examples/contracts/proto/cosmos/group/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/group/v1/tx.proto rename to examples/contracts/proto/cosmos/group/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto b/examples/contracts/proto/cosmos/group/v1/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/group/v1/types.proto rename to examples/contracts/proto/cosmos/group/v1/types.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/mint/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/mint/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto b/examples/contracts/proto/cosmos/mint/v1beta1/mint.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/mint.proto rename to examples/contracts/proto/cosmos/mint/v1beta1/mint.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto b/examples/contracts/proto/cosmos/mint/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/mint/v1beta1/query.proto rename to examples/contracts/proto/cosmos/mint/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto b/examples/contracts/proto/cosmos/msg/v1/msg.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/msg/v1/msg.proto rename to examples/contracts/proto/cosmos/msg/v1/msg.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto b/examples/contracts/proto/cosmos/nft/v1beta1/event.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/event.proto rename to examples/contracts/proto/cosmos/nft/v1beta1/event.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/nft/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/nft/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto b/examples/contracts/proto/cosmos/nft/v1beta1/nft.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/nft.proto rename to examples/contracts/proto/cosmos/nft/v1beta1/nft.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto b/examples/contracts/proto/cosmos/nft/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/query.proto rename to examples/contracts/proto/cosmos/nft/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto b/examples/contracts/proto/cosmos/nft/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/nft/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/nft/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto b/examples/contracts/proto/cosmos/orm/v1/orm.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/orm/v1/orm.proto rename to examples/contracts/proto/cosmos/orm/v1/orm.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto b/examples/contracts/proto/cosmos/orm/v1alpha1/schema.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/orm/v1alpha1/schema.proto rename to examples/contracts/proto/cosmos/orm/v1alpha1/schema.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto b/examples/contracts/proto/cosmos/params/v1beta1/params.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/params/v1beta1/params.proto rename to examples/contracts/proto/cosmos/params/v1beta1/params.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto b/examples/contracts/proto/cosmos/params/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/params/v1beta1/query.proto rename to examples/contracts/proto/cosmos/params/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/slashing/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/slashing/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto b/examples/contracts/proto/cosmos/slashing/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/query.proto rename to examples/contracts/proto/cosmos/slashing/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto b/examples/contracts/proto/cosmos/slashing/v1beta1/slashing.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/slashing.proto rename to examples/contracts/proto/cosmos/slashing/v1beta1/slashing.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto b/examples/contracts/proto/cosmos/slashing/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/slashing/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/slashing/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto b/examples/contracts/proto/cosmos/staking/v1beta1/authz.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/authz.proto rename to examples/contracts/proto/cosmos/staking/v1beta1/authz.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto b/examples/contracts/proto/cosmos/staking/v1beta1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/genesis.proto rename to examples/contracts/proto/cosmos/staking/v1beta1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto b/examples/contracts/proto/cosmos/staking/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/query.proto rename to examples/contracts/proto/cosmos/staking/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto b/examples/contracts/proto/cosmos/staking/v1beta1/staking.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/staking.proto rename to examples/contracts/proto/cosmos/staking/v1beta1/staking.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto b/examples/contracts/proto/cosmos/staking/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/staking/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/staking/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto b/examples/contracts/proto/cosmos/tx/signing/v1beta1/signing.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/tx/signing/v1beta1/signing.proto rename to examples/contracts/proto/cosmos/tx/signing/v1beta1/signing.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto b/examples/contracts/proto/cosmos/tx/v1beta1/service.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/service.proto rename to examples/contracts/proto/cosmos/tx/v1beta1/service.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto b/examples/contracts/proto/cosmos/tx/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/tx/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/tx/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto b/examples/contracts/proto/cosmos/upgrade/v1beta1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/query.proto rename to examples/contracts/proto/cosmos/upgrade/v1beta1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto b/examples/contracts/proto/cosmos/upgrade/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/upgrade/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto b/examples/contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto rename to examples/contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto b/examples/contracts/proto/cosmos/vesting/v1beta1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/tx.proto rename to examples/contracts/proto/cosmos/vesting/v1beta1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto b/examples/contracts/proto/cosmos/vesting/v1beta1/vesting.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos/vesting/v1beta1/vesting.proto rename to examples/contracts/proto/cosmos/vesting/v1beta1/vesting.proto diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/LICENSE b/examples/contracts/proto/cosmos_proto/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos_proto/LICENSE rename to examples/contracts/proto/cosmos_proto/LICENSE diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/README.md b/examples/contracts/proto/cosmos_proto/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos_proto/README.md rename to examples/contracts/proto/cosmos_proto/README.md diff --git a/examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto b/examples/contracts/proto/cosmos_proto/cosmos.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmos_proto/cosmos.proto rename to examples/contracts/proto/cosmos_proto/cosmos.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/LICENSE b/examples/contracts/proto/cosmwasm/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/LICENSE rename to examples/contracts/proto/cosmwasm/LICENSE diff --git a/examples/telescope-with-contracts/proto/cosmwasm/README.md b/examples/contracts/proto/cosmwasm/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/README.md rename to examples/contracts/proto/cosmwasm/README.md diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto b/examples/contracts/proto/cosmwasm/wasm/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/genesis.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto b/examples/contracts/proto/cosmwasm/wasm/v1/ibc.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/ibc.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/ibc.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto b/examples/contracts/proto/cosmwasm/wasm/v1/proposal.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/proposal.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/proposal.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto b/examples/contracts/proto/cosmwasm/wasm/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/query.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto b/examples/contracts/proto/cosmwasm/wasm/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/tx.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto b/examples/contracts/proto/cosmwasm/wasm/v1/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/cosmwasm/wasm/v1/types.proto rename to examples/contracts/proto/cosmwasm/wasm/v1/types.proto diff --git a/examples/telescope-with-contracts/proto/gogoproto/LICENSE b/examples/contracts/proto/gogoproto/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/gogoproto/LICENSE rename to examples/contracts/proto/gogoproto/LICENSE diff --git a/examples/telescope-with-contracts/proto/gogoproto/README.md b/examples/contracts/proto/gogoproto/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/gogoproto/README.md rename to examples/contracts/proto/gogoproto/README.md diff --git a/examples/telescope-with-contracts/proto/gogoproto/gogo.proto b/examples/contracts/proto/gogoproto/gogo.proto similarity index 100% rename from examples/telescope-with-contracts/proto/gogoproto/gogo.proto rename to examples/contracts/proto/gogoproto/gogo.proto diff --git a/examples/telescope-with-contracts/proto/google/LICENSE b/examples/contracts/proto/google/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/google/LICENSE rename to examples/contracts/proto/google/LICENSE diff --git a/examples/telescope-with-contracts/proto/google/README.md b/examples/contracts/proto/google/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/google/README.md rename to examples/contracts/proto/google/README.md diff --git a/examples/telescope-with-contracts/proto/google/api/annotations.proto b/examples/contracts/proto/google/api/annotations.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/api/annotations.proto rename to examples/contracts/proto/google/api/annotations.proto diff --git a/examples/telescope-with-contracts/proto/google/api/http.proto b/examples/contracts/proto/google/api/http.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/api/http.proto rename to examples/contracts/proto/google/api/http.proto diff --git a/examples/telescope-with-contracts/proto/google/protobuf/any.proto b/examples/contracts/proto/google/protobuf/any.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/protobuf/any.proto rename to examples/contracts/proto/google/protobuf/any.proto diff --git a/examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto b/examples/contracts/proto/google/protobuf/descriptor.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/protobuf/descriptor.proto rename to examples/contracts/proto/google/protobuf/descriptor.proto diff --git a/examples/telescope-with-contracts/proto/google/protobuf/duration.proto b/examples/contracts/proto/google/protobuf/duration.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/protobuf/duration.proto rename to examples/contracts/proto/google/protobuf/duration.proto diff --git a/examples/telescope-with-contracts/proto/google/protobuf/empty.proto b/examples/contracts/proto/google/protobuf/empty.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/protobuf/empty.proto rename to examples/contracts/proto/google/protobuf/empty.proto diff --git a/examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto b/examples/contracts/proto/google/protobuf/timestamp.proto similarity index 100% rename from examples/telescope-with-contracts/proto/google/protobuf/timestamp.proto rename to examples/contracts/proto/google/protobuf/timestamp.proto diff --git a/examples/telescope-with-contracts/proto/ibc/LICENSE b/examples/contracts/proto/ibc/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/LICENSE rename to examples/contracts/proto/ibc/LICENSE diff --git a/examples/telescope-with-contracts/proto/ibc/README.md b/examples/contracts/proto/ibc/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/README.md rename to examples/contracts/proto/ibc/README.md diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto b/examples/contracts/proto/ibc/applications/transfer/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/genesis.proto rename to examples/contracts/proto/ibc/applications/transfer/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto b/examples/contracts/proto/ibc/applications/transfer/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/query.proto rename to examples/contracts/proto/ibc/applications/transfer/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto b/examples/contracts/proto/ibc/applications/transfer/v1/transfer.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/transfer.proto rename to examples/contracts/proto/ibc/applications/transfer/v1/transfer.proto diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto b/examples/contracts/proto/ibc/applications/transfer/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/applications/transfer/v1/tx.proto rename to examples/contracts/proto/ibc/applications/transfer/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto b/examples/contracts/proto/ibc/applications/transfer/v2/packet.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/applications/transfer/v2/packet.proto rename to examples/contracts/proto/ibc/applications/transfer/v2/packet.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto b/examples/contracts/proto/ibc/core/channel/v1/channel.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/channel/v1/channel.proto rename to examples/contracts/proto/ibc/core/channel/v1/channel.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto b/examples/contracts/proto/ibc/core/channel/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/channel/v1/genesis.proto rename to examples/contracts/proto/ibc/core/channel/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto b/examples/contracts/proto/ibc/core/channel/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/channel/v1/query.proto rename to examples/contracts/proto/ibc/core/channel/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto b/examples/contracts/proto/ibc/core/channel/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/channel/v1/tx.proto rename to examples/contracts/proto/ibc/core/channel/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto b/examples/contracts/proto/ibc/core/client/v1/client.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/client/v1/client.proto rename to examples/contracts/proto/ibc/core/client/v1/client.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto b/examples/contracts/proto/ibc/core/client/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/client/v1/genesis.proto rename to examples/contracts/proto/ibc/core/client/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto b/examples/contracts/proto/ibc/core/client/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/client/v1/query.proto rename to examples/contracts/proto/ibc/core/client/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto b/examples/contracts/proto/ibc/core/client/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/client/v1/tx.proto rename to examples/contracts/proto/ibc/core/client/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto b/examples/contracts/proto/ibc/core/commitment/v1/commitment.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/commitment/v1/commitment.proto rename to examples/contracts/proto/ibc/core/commitment/v1/commitment.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto b/examples/contracts/proto/ibc/core/connection/v1/connection.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/connection/v1/connection.proto rename to examples/contracts/proto/ibc/core/connection/v1/connection.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto b/examples/contracts/proto/ibc/core/connection/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/connection/v1/genesis.proto rename to examples/contracts/proto/ibc/core/connection/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto b/examples/contracts/proto/ibc/core/connection/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/connection/v1/query.proto rename to examples/contracts/proto/ibc/core/connection/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto b/examples/contracts/proto/ibc/core/connection/v1/tx.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/connection/v1/tx.proto rename to examples/contracts/proto/ibc/core/connection/v1/tx.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto b/examples/contracts/proto/ibc/core/port/v1/query.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/port/v1/query.proto rename to examples/contracts/proto/ibc/core/port/v1/query.proto diff --git a/examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto b/examples/contracts/proto/ibc/core/types/v1/genesis.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/core/types/v1/genesis.proto rename to examples/contracts/proto/ibc/core/types/v1/genesis.proto diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto b/examples/contracts/proto/ibc/lightclients/localhost/v1/localhost.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/lightclients/localhost/v1/localhost.proto rename to examples/contracts/proto/ibc/lightclients/localhost/v1/localhost.proto diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/examples/contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto rename to examples/contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/examples/contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto rename to examples/contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto diff --git a/examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/examples/contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto similarity index 100% rename from examples/telescope-with-contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto rename to examples/contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/LICENSE b/examples/contracts/proto/tendermint/LICENSE similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/LICENSE rename to examples/contracts/proto/tendermint/LICENSE diff --git a/examples/telescope-with-contracts/proto/tendermint/README.md b/examples/contracts/proto/tendermint/README.md similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/README.md rename to examples/contracts/proto/tendermint/README.md diff --git a/examples/telescope-with-contracts/proto/tendermint/abci/types.proto b/examples/contracts/proto/tendermint/abci/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/abci/types.proto rename to examples/contracts/proto/tendermint/abci/types.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto b/examples/contracts/proto/tendermint/crypto/keys.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/crypto/keys.proto rename to examples/contracts/proto/tendermint/crypto/keys.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto b/examples/contracts/proto/tendermint/crypto/proof.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/crypto/proof.proto rename to examples/contracts/proto/tendermint/crypto/proof.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto b/examples/contracts/proto/tendermint/libs/bits/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/libs/bits/types.proto rename to examples/contracts/proto/tendermint/libs/bits/types.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/p2p/types.proto b/examples/contracts/proto/tendermint/p2p/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/p2p/types.proto rename to examples/contracts/proto/tendermint/p2p/types.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/types/block.proto b/examples/contracts/proto/tendermint/types/block.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/types/block.proto rename to examples/contracts/proto/tendermint/types/block.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/types/evidence.proto b/examples/contracts/proto/tendermint/types/evidence.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/types/evidence.proto rename to examples/contracts/proto/tendermint/types/evidence.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/types/params.proto b/examples/contracts/proto/tendermint/types/params.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/types/params.proto rename to examples/contracts/proto/tendermint/types/params.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/types/types.proto b/examples/contracts/proto/tendermint/types/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/types/types.proto rename to examples/contracts/proto/tendermint/types/types.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/types/validator.proto b/examples/contracts/proto/tendermint/types/validator.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/types/validator.proto rename to examples/contracts/proto/tendermint/types/validator.proto diff --git a/examples/telescope-with-contracts/proto/tendermint/version/types.proto b/examples/contracts/proto/tendermint/version/types.proto similarity index 100% rename from examples/telescope-with-contracts/proto/tendermint/version/types.proto rename to examples/contracts/proto/tendermint/version/types.proto diff --git a/examples/telescope-with-contracts/public/favicon.ico b/examples/contracts/public/favicon.ico similarity index 100% rename from examples/telescope-with-contracts/public/favicon.ico rename to examples/contracts/public/favicon.ico diff --git a/examples/telescope-with-contracts/scripts/codegen.js b/examples/contracts/scripts/codegen.js similarity index 96% rename from examples/telescope-with-contracts/scripts/codegen.js rename to examples/contracts/scripts/codegen.js index d15cda137..88f93cf28 100644 --- a/examples/telescope-with-contracts/scripts/codegen.js +++ b/examples/contracts/scripts/codegen.js @@ -62,7 +62,7 @@ telescope({ } }, aminoEncoding: { - enabled: false + enabled: true }, lcdClients: { enabled: true @@ -74,5 +74,7 @@ telescope({ } }).then(() => { console.log('✨ all done!'); +}).catch(e=>{ + console.error(e); }); diff --git a/examples/telescope-with-contracts/styles/Home.module.css b/examples/contracts/styles/Home.module.css similarity index 100% rename from examples/telescope-with-contracts/styles/Home.module.css rename to examples/contracts/styles/Home.module.css diff --git a/examples/telescope-with-contracts/styles/globals.css b/examples/contracts/styles/globals.css similarity index 100% rename from examples/telescope-with-contracts/styles/globals.css rename to examples/contracts/styles/globals.css diff --git a/examples/telescope-with-contracts/tsconfig.json b/examples/contracts/tsconfig.json similarity index 100% rename from examples/telescope-with-contracts/tsconfig.json rename to examples/contracts/tsconfig.json diff --git a/examples/telescope-with-contracts/utils.ts b/examples/contracts/utils.ts similarity index 100% rename from examples/telescope-with-contracts/utils.ts rename to examples/contracts/utils.ts diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index 5d6f9e4f0..48ad86928 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -1,16 +1,16 @@ +import { useEffect, useState } from 'react'; import { Container, Button } from '@chakra-ui/react'; -import { WalletSection } from '../components'; import { useWallet } from '@cosmos-kit/react'; -import { useEffect, useState } from 'react'; - -import { cosmos } from 'interchain'; import { StdFee } from '@cosmjs/amino'; import { assets } from 'chain-registry'; import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; -import { WalletStatus } from '@cosmos-kit/core'; import BigNumber from 'bignumber.js'; +import { WalletStatus } from '@cosmos-kit/core'; +import { WalletSection } from '../components'; +import { cosmos } from 'interchain'; + const chainName = 'cosmoshub'; const hubAssets: AssetList = assets.find( (chain) => chain.chain_name === chainName @@ -83,7 +83,7 @@ export default function Home() { if (!restEndpoint) { console.log('no rest endpoint — using a fallback'); - restEndpoint = 'https://rest.cosmos.directory/cosmoshub'; + restEndpoint = `https://rest.cosmos.directory/${chainName}`; } // get LCD client diff --git a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts deleted file mode 100644 index 21a42f3b3..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Config } from "./config"; -import { Rpc } from "@osmonauts/helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; - -/** Query defines the RPC service */ -export interface Query { - config(request: QueryConfigRequest): Promise; - /*Config returns the current app config.*/ - -} -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 _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts deleted file mode 100644 index a81b2d977..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Accounts returns all the existing accounts - - Since: cosmos-sdk 0.43 */ - async accounts(params: QueryAccountsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/auth/v1beta1/accounts`; - return await this.request(endpoint, options); - } - - /* Account returns account details based on address. */ - async account(params: QueryAccountRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; - return await this.request(endpoint); - } - - /* Params queries all parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/params`; - return await this.request(endpoint); - } - - /* ModuleAccounts returns all the existing module accounts. */ - async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/module_accounts`; - return await this.request(endpoint); - } - - /* Bech32 queries bech32Prefix */ - async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32`; - return await this.request(endpoint); - } - - /* AddressBytesToString converts Account Address bytes to string */ - async addressBytesToString(params: AddressBytesToStringRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.addressBytes !== "undefined") { - options.params.address_bytes = params.addressBytes; - } - - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; - return await this.request(endpoint, options); - } - - /* AddressStringToBytes converts Address string to bytes */ - async addressStringToBytes(params: AddressStringToBytesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.addressString !== "undefined") { - options.params.address_string = params.addressString; - } - - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; - return await this.request(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts deleted file mode 100644 index 45a8c6c73..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Params queries params of the distribution module. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/params`; - return await this.request(endpoint); - } - - /* ValidatorOutstandingRewards queries rewards of a validator address. */ - async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.validatorAddress !== "undefined") { - options.params.validator_address = params.validatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; - return await this.request(endpoint, options); - } - - /* ValidatorCommission queries accumulated commission for a validator. */ - async validatorCommission(params: QueryValidatorCommissionRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.validatorAddress !== "undefined") { - options.params.validator_address = params.validatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; - return await this.request(endpoint, options); - } - - /* ValidatorSlashes queries slash events of a validator. */ - async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.validatorAddress !== "undefined") { - options.params.validator_address = params.validatorAddress; - } - - if (typeof params?.startingHeight !== "undefined") { - options.params.starting_height = params.startingHeight; - } - - if (typeof params?.endingHeight !== "undefined") { - options.params.ending_height = params.endingHeight; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; - return await this.request(endpoint, options); - } - - /* DelegationRewards queries the total rewards accrued by a delegation. */ - async delegationRewards(params: QueryDelegationRewardsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.delegatorAddress !== "undefined") { - options.params.delegator_address = params.delegatorAddress; - } - - if (typeof params?.validatorAddress !== "undefined") { - options.params.validator_address = params.validatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; - return await this.request(endpoint, options); - } - - /* DelegationTotalRewards queries the total rewards accrued by a each - validator. */ - async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.delegatorAddress !== "undefined") { - options.params.delegator_address = params.delegatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; - return await this.request(endpoint, options); - } - - /* DelegatorValidators queries the validators of a delegator. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.delegatorAddress !== "undefined") { - options.params.delegator_address = params.delegatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; - return await this.request(endpoint, options); - } - - /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ - async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.delegatorAddress !== "undefined") { - options.params.delegator_address = params.delegatorAddress; - } - - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; - return await this.request(endpoint, options); - } - - /* CommunityPool queries the community pool coins. */ - async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/community_pool`; - return await this.request(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts deleted file mode 100644 index f235269f4..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Evidence queries evidence based on evidence hash. */ - async evidence(params: QueryEvidenceRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.evidenceHash !== "undefined") { - options.params.evidence_hash = params.evidenceHash; - } - - const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; - return await this.request(endpoint, options); - } - - /* 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.request(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/lcd.ts deleted file mode 100644 index 079d528b8..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/lcd.ts +++ /dev/null @@ -1,81 +0,0 @@ -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts deleted file mode 100644 index 408fe7872..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Params } from "./mint"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Params returns the total set of minting parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/params`; - return await this.request(endpoint); - } - - /* Inflation returns the current minting inflation value. */ - async inflation(_params: QueryInflationRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/inflation`; - return await this.request(endpoint); - } - - /* AnnualProvisions current minting annual provisions value. */ - async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/annual_provisions`; - return await this.request(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts deleted file mode 100644 index 1cfec384e..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Params } from "./mint"; -import { Rpc } from "@osmonauts/helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; - -/** Query defines the RPC service */ -export interface Query { - params(request: QueryParamsRequest): Promise; - /*Params returns the total set of minting parameters.*/ - - inflation(request: QueryInflationRequest): Promise; - /*Inflation returns the current minting inflation value.*/ - - annualProvisions(request: QueryAnnualProvisionsRequest): Promise; - /*AnnualProvisions current minting annual provisions value.*/ - -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.params = this.params.bind(this); - this.inflation = this.inflation.bind(this); - this.annualProvisions = this.annualProvisions.bind(this); - } - - params(request: QueryParamsRequest): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - inflation(request: QueryInflationRequest): Promise { - const data = QueryInflationRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); - return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); - } - - annualProvisions(request: QueryAnnualProvisionsRequest): Promise { - const data = QueryAnnualProvisionsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); - return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts deleted file mode 100644 index 8c8c4a608..000000000 --- a/examples/telescope-with-contracts/codegen/cosmos/rpc.query.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Rpc } from "@osmonauts/helpers"; -export const createRPCQueryClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("./app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) - }, - auth: { - v1beta1: new (await import("./auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("./gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("./gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("./group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts b/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts deleted file mode 100644 index 510536812..000000000 --- a/examples/telescope-with-contracts/codegen/cosmwasm/bundle.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as _94 from "./wasm/v1/genesis"; -import * as _95 from "./wasm/v1/ibc"; -import * as _96 from "./wasm/v1/proposal"; -import * as _97 from "./wasm/v1/query"; -import * as _98 from "./wasm/v1/tx"; -import * as _99 from "./wasm/v1/types"; -import * as _193 from "./wasm/v1/query.lcd"; -import * as _194 from "./wasm/v1/query.rpc.query"; -import * as _195 from "./wasm/v1/tx.rpc.msg"; -import * as _212 from "./lcd"; -import * as _213 from "./rpc.query"; -import * as _214 from "./rpc.tx"; -export namespace cosmwasm { - export namespace wasm { - export const v1 = { ..._94, - ..._95, - ..._96, - ..._97, - ..._98, - ..._99, - ..._193, - ..._194, - ..._195 - }; - } - export const ClientFactory = { ..._212, - ..._213, - ..._214 - }; -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts b/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts deleted file mode 100644 index 958751f26..000000000 --- a/examples/telescope-with-contracts/codegen/cosmwasm/lcd.ts +++ /dev/null @@ -1,88 +0,0 @@ -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts b/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts deleted file mode 100644 index 8faccf38d..000000000 --- a/examples/telescope-with-contracts/codegen/cosmwasm/rpc.query.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Rpc } from "@osmonauts/helpers"; -export const createRPCQueryClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) - }, - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.rpc.query")).QueryClientImpl(rpc) - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts deleted file mode 100644 index 9c8912705..000000000 --- a/examples/telescope-with-contracts/codegen/ibc/core/channel/v1/query.lcd.ts +++ /dev/null @@ -1,283 +0,0 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Channel queries an IBC Channel. */ - async channel(params: QueryChannelRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; - return await this.request(endpoint, options); - } - - /* Channels queries all the IBC channels of a chain. */ - async channels(params: QueryChannelsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/channels`; - return await this.request(endpoint, options); - } - - /* ConnectionChannels queries all the channels associated with a connection - end. */ - async connectionChannels(params: QueryConnectionChannelsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; - return await this.request(endpoint, options); - } - - /* ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers. */ - async channelClientState(params: QueryChannelClientStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; - return await this.request(endpoint, options); - } - - /* ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers. */ - async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - if (typeof params?.revisionNumber !== "undefined") { - options.params.revision_number = params.revisionNumber; - } - - if (typeof params?.revisionHeight !== "undefined") { - options.params.revision_height = params.revisionHeight; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint, options); - } - - /* PacketCommitment queries a stored packet commitment hash. */ - async packetCommitment(params: QueryPacketCommitmentRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; - return await this.request(endpoint, options); - } - - /* PacketCommitments returns all the packet commitments hashes associated - with a channel. */ - async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; - return await this.request(endpoint, options); - } - - /* PacketReceipt queries if a given packet sequence has been received on the - queried chain */ - async packetReceipt(params: QueryPacketReceiptRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; - return await this.request(endpoint, options); - } - - /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ - async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; - return await this.request(endpoint, options); - } - - /* PacketAcknowledgements returns all the packet acknowledgements associated - with a channel. */ - async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - if (typeof params?.packetCommitmentSequences !== "undefined") { - options.params.packet_commitment_sequences = params.packetCommitmentSequences; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; - return await this.request(endpoint, options); - } - - /* UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences. */ - async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - if (typeof params?.packetCommitmentSequences !== "undefined") { - options.params.packet_commitment_sequences = params.packetCommitmentSequences; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; - return await this.request(endpoint, options); - } - - /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences. */ - async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - if (typeof params?.packetAckSequences !== "undefined") { - options.params.packet_ack_sequences = params.packetAckSequences; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; - return await this.request(endpoint, options); - } - - /* NextSequenceReceive returns the next receive sequence for a given channel. */ - async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.portId !== "undefined") { - options.params.port_id = params.portId; - } - - if (typeof params?.channelId !== "undefined") { - options.params.channel_id = params.channelId; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; - return await this.request(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts deleted file mode 100644 index 417383bf9..000000000 --- a/examples/telescope-with-contracts/codegen/ibc/core/client/v1/query.lcd.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* ClientState queries an IBC light client. */ - async clientState(params: QueryClientStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.clientId !== "undefined") { - options.params.client_id = params.clientId; - } - - const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; - return await this.request(endpoint, options); - } - - /* ClientStates queries all the IBC light clients of a chain. */ - async clientStates(params: QueryClientStatesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/client/v1/client_states`; - return await this.request(endpoint, options); - } - - /* ConsensusState queries a consensus state associated with a client state at - a given height. */ - async consensusState(params: QueryConsensusStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.clientId !== "undefined") { - options.params.client_id = params.clientId; - } - - if (typeof params?.revisionNumber !== "undefined") { - options.params.revision_number = params.revisionNumber; - } - - if (typeof params?.revisionHeight !== "undefined") { - options.params.revision_height = params.revisionHeight; - } - - if (typeof params?.latestHeight !== "undefined") { - options.params.latest_height = params.latestHeight; - } - - const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint, options); - } - - /* ConsensusStates queries all the consensus state associated with a given - client. */ - async consensusStates(params: QueryConsensusStatesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.clientId !== "undefined") { - options.params.client_id = params.clientId; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; - return await this.request(endpoint, options); - } - - /* Status queries the status of an IBC client. */ - async clientStatus(params: QueryClientStatusRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.clientId !== "undefined") { - options.params.client_id = params.clientId; - } - - const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; - return await this.request(endpoint, options); - } - - /* ClientParams queries all parameters of the ibc client. */ - async clientParams(_params: QueryClientParamsRequest = {}): Promise { - const endpoint = `ibc/client/v1/params`; - return await this.request(endpoint); - } - - /* UpgradedClientState queries an Upgraded IBC light client. */ - async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { - const endpoint = `ibc/core/client/v1/upgraded_client_states`; - return await this.request(endpoint); - } - - /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ - async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { - const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; - return await this.request(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts deleted file mode 100644 index 701e3f76a..000000000 --- a/examples/telescope-with-contracts/codegen/ibc/core/connection/v1/query.lcd.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; -import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; -export class LCDQueryClient extends LCDClient { - constructor({ - restEndpoint - }: { - restEndpoint: string; - }) { - super({ - restEndpoint - }); - } - - /* Connection queries an IBC connection end. */ - async connection(params: QueryConnectionRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.connectionId !== "undefined") { - options.params.connection_id = params.connectionId; - } - - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; - return await this.request(endpoint, options); - } - - /* Connections queries all the IBC connections of a chain. */ - async connections(params: QueryConnectionsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/connection/v1/connections`; - return await this.request(endpoint, options); - } - - /* ClientConnections queries the connection paths associated with a client - state. */ - async clientConnections(params: QueryClientConnectionsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.clientId !== "undefined") { - options.params.client_id = params.clientId; - } - - const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; - return await this.request(endpoint, options); - } - - /* ConnectionClientState queries the client state associated with the - connection. */ - async connectionClientState(params: QueryConnectionClientStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.connectionId !== "undefined") { - options.params.connection_id = params.connectionId; - } - - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; - return await this.request(endpoint, options); - } - - /* ConnectionConsensusState queries the consensus state associated with the - connection. */ - async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.connectionId !== "undefined") { - options.params.connection_id = params.connectionId; - } - - if (typeof params?.revisionNumber !== "undefined") { - options.params.revision_number = params.revisionNumber; - } - - if (typeof params?.revisionHeight !== "undefined") { - options.params.revision_height = params.revisionHeight; - } - - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/lcd.ts b/examples/telescope-with-contracts/codegen/ibc/lcd.ts deleted file mode 100644 index a94dfcf73..000000000 --- a/examples/telescope-with-contracts/codegen/ibc/lcd.ts +++ /dev/null @@ -1,107 +0,0 @@ -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - client: { - v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - connection: { - v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts b/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts deleted file mode 100644 index 0568319fc..000000000 --- a/examples/telescope-with-contracts/codegen/ibc/rpc.query.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { Rpc } from "@osmonauts/helpers"; -export const createRPCQueryClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) - }, - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - client: { - v1: new (await import("./core/client/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - connection: { - v1: new (await import("./core/connection/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - port: { - v1: new (await import("./core/port/v1/query.rpc.query")).QueryClientImpl(rpc) - } - } - } -}); \ No newline at end of file diff --git a/examples/telescope-with-contracts/components/features.tsx b/examples/telescope-with-contracts/components/features.tsx deleted file mode 100644 index 37852ca15..000000000 --- a/examples/telescope-with-contracts/components/features.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { LinkIcon } from '@chakra-ui/icons'; -import { - Box, - Heading, - HStack, - Icon, - Link, - Text, - VStack -} from '@chakra-ui/react'; -import { FeatureProps } from './types'; - -export const Product = ({ title, text, href }: FeatureProps) => { - return ( - - - {title} → - {text} - - - ); -}; - -export const Dependency = ({ title, text, href }: FeatureProps) => { - return ( - - - - - - - - {title} - - - {text} - - - ); -}; diff --git a/examples/telescope-with-contracts/components/index.tsx b/examples/telescope-with-contracts/components/index.tsx deleted file mode 100644 index fbf3bb494..000000000 --- a/examples/telescope-with-contracts/components/index.tsx +++ /dev/null @@ -1,5 +0,0 @@ -export * from './types'; -export * from './wallet-connect'; -export * from './user-info'; -export * from './astronaut'; -export * from './features'; diff --git a/examples/telescope-with-contracts/components/user-info.tsx b/examples/telescope-with-contracts/components/user-info.tsx deleted file mode 100644 index 14534b5b4..000000000 --- a/examples/telescope-with-contracts/components/user-info.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import React, { ReactNode } from 'react'; -import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; -import { ConnectedUserCardType } from './types'; - -export const ConnectedUserCard = ({ - userName, - icon -}: ConnectedUserCardType) => { - return ( - - - {icon} - - - {userName} - - - ); -}; - -export const ConnectedUserInfo = ({ - name, - icon -}: { - name: string; - icon?: ReactNode; -}) => { - return ; -}; diff --git a/examples/telescope-with-contracts/components/wallet-connect.tsx b/examples/telescope-with-contracts/components/wallet-connect.tsx deleted file mode 100644 index bdb2fdc72..000000000 --- a/examples/telescope-with-contracts/components/wallet-connect.tsx +++ /dev/null @@ -1,121 +0,0 @@ -import React, { MouseEventHandler, ReactNode } from 'react'; -import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { WalletStatus } from './types'; -import { IoWallet } from 'react-icons/io5'; -import { ConnectWalletType } from './types'; - -export const ConnectWalletButton = ({ - buttonText, - isLoading, - isDisabled, - icon, - onClickConnectBtn -}: ConnectWalletType) => { - return ( - - ); -}; - -export const Disconnect = ({ - buttonText, - onClick -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connected = ({ - buttonText, - onClick -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connecting = () => { - return ; -}; - -export const Rejected = ({ - buttonText, - wordOfWarning -}: { - buttonText: string; - wordOfWarning?: string; -}) => { - return ( - - - - - - - Warning:  - - {wordOfWarning} - - - - ); -}; - -export const NotExist = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const WalletConnectComponent = ({ - walletStatus, - disconnect, - connecting, - connected, - rejected, - notExist -}: { - walletStatus: WalletStatus; - disconnect: ReactNode; - connecting: ReactNode; - connected: ReactNode; - rejected: ReactNode; - notExist: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.NotInit: - return <>{disconnect}; - case WalletStatus.Loading: - return <>{connecting}; - case WalletStatus.Loaded: - return <>{connected}; - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.NotExist: - return <>{notExist}; - default: - return <>{disconnect}; - } -}; diff --git a/examples/telescope-with-contracts/config/index.ts b/examples/telescope-with-contracts/config/index.ts deleted file mode 100644 index f97c1231f..000000000 --- a/examples/telescope-with-contracts/config/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './theme'; -export * from './features'; \ No newline at end of file diff --git a/examples/telescope-with-contracts/config/theme.ts b/examples/telescope-with-contracts/config/theme.ts deleted file mode 100644 index b50e4954e..000000000 --- a/examples/telescope-with-contracts/config/theme.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { extendTheme } from "@chakra-ui/react" - -export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif', - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9', - }, - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em', - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', - }, - styles: { - global: { - 'html, #__next': { - height: '100%', - }, - '#__next': { - display: 'flex', - flexDirection: 'column', - }, - '.body': { - // todo check how to do this without breaking the site - // height: '100%', // Push footer to bottom - overflowY: 'scroll', // Always show scrollbar to avoid flickering - }, - html: { - scrollBehavior: 'smooth', - }, - '#nprogress': { - pointerEvents: 'none', - }, - '#nprogress .bar': { - background: 'green.200', - position: 'fixed', - zIndex: '1031', - top: 0, - left: 0, - width: '100%', - height: '2px', - }, - }, - }, -}; - -export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/telescope-with-contracts/pages/_app.tsx b/examples/telescope-with-contracts/pages/_app.tsx deleted file mode 100644 index 6d7458251..000000000 --- a/examples/telescope-with-contracts/pages/_app.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import '../styles/globals.css'; -import type { AppProps } from 'next/app'; -import { GasPrice } from '@cosmjs/stargate'; -import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; -import { ChainInfoID } from '@cosmos-kit/types'; -import { WalletManagerProvider } from '@cosmos-kit/react'; - -const LOCAL_STORAGE_KEY = 'connectedWalletId'; - -function MyApp({ Component, pageProps }: AppProps) { - return ( -

Loading...

} - localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Cosmoshub4} - getSigningCosmWasmClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - getSigningStargateClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - > - - - -
- ); -} - -export default MyApp; diff --git a/examples/telescope-with-contracts/pages/api/hello.ts b/examples/telescope-with-contracts/pages/api/hello.ts deleted file mode 100644 index 89e4d6bd9..000000000 --- a/examples/telescope-with-contracts/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next'; - -type Data = { - name: string; -}; - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }); -} diff --git a/examples/telescope-with-contracts/pages/index.tsx b/examples/telescope-with-contracts/pages/index.tsx deleted file mode 100644 index e5a09f1a1..000000000 --- a/examples/telescope-with-contracts/pages/index.tsx +++ /dev/null @@ -1,149 +0,0 @@ -import { - Box, - Divider, - Grid, - Heading, - SimpleGrid, - Text, - Stack, - Container -} from '@chakra-ui/react'; -import { - Connected, - ConnectedUserInfo, - Connecting, - Disconnect, - NotExist, - Rejected, - WalletConnectComponent, - Astronaut, - Dependency, - Product -} from '../components'; -import styles from '../styles/Home.module.css'; -import { useWalletManager, useWallet } from '@cosmos-kit/react'; -import { mapStatusFromCosmosWallet } from '../utils'; -import { MouseEventHandler } from 'react'; -import Head from 'next/head'; -import { dependencies, products } from '../config'; - -export default function Home() { - const { connect, disconnect } = useWalletManager(); - const { status, error, name, address } = useWallet(); - const walletStatus = mapStatusFromCosmosWallet(status, error as Error); - - const onClickConnect: MouseEventHandler = (e) => { - e.preventDefault(); - connect(); - }; - - const onClickDisconnect: MouseEventHandler = (e) => { - e.preventDefault(); - disconnect(); - }; - - const userInfoCard = name ? ( - } /> - ) : ( - <> - ); - - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={ - - } - notExist={} - /> - ); - - return ( -
- - Create Cosmos App - - - -
- - - - Cosmos Apps Made Easy
-
- - Welcome to - - CosmosKit + Telescope + Next.js - - - - {userInfoCard} - {connectWalletButton} - -
- - {products.map((product) => ( - - ))} - - - - {dependencies.map((dependency, i) => ( - - ))} - -
-
- -
- ); -} diff --git a/examples/telescope/codegen/confio/proofs.ts b/examples/telescope/codegen/confio/proofs.ts index 733236dee..d7c8dab0e 100644 --- a/examples/telescope/codegen/confio/proofs.ts +++ b/examples/telescope/codegen/confio/proofs.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; export enum HashOp { /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ NO_HASH = 0, @@ -12,6 +11,18 @@ export enum HashOp { BITCOIN = 5, UNRECOGNIZED = -1, } +export enum HashOpSDKType { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} export function hashOpFromJSON(object: any): HashOp { switch (object) { case 0: @@ -68,13 +79,13 @@ export function hashOpToJSON(object: HashOp): string { return "UNKNOWN"; } } - /** * LengthOp defines how to process the key and value of the LeafOp * to include length information. After encoding the length with the given * algorithm, the length will be prepended to the key and value bytes. * (Each one with it's own encoded length) */ + export enum LengthOp { /** NO_PREFIX - NO_PREFIX don't include any length info */ NO_PREFIX = 0, @@ -104,6 +115,42 @@ export enum LengthOp { REQUIRE_64_BYTES = 8, UNRECOGNIZED = -1, } +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ + +export enum LengthOpSDKType { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} export function lengthOpFromJSON(object: any): LengthOp { switch (object) { case 0: @@ -181,7 +228,6 @@ export function lengthOpToJSON(object: LengthOp): string { return "UNKNOWN"; } } - /** * ExistenceProof takes a key and a value and a set of steps to perform on it. * The result of peforming all these steps will provide a "root hash", which can @@ -203,33 +249,81 @@ export function lengthOpToJSON(object: LengthOp): string { * in the ProofSpec is valuable to prevent this mutability. And why all trees should * length-prefix the data before hashing it. */ + export interface ExistenceProof { key: Uint8Array; value: Uint8Array; leaf: LeafOp | undefined; path: InnerOp[]; } +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ +export interface ExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOpSDKType | undefined; + path: InnerOpSDKType[]; +} /** * NonExistenceProof takes a proof of two neighbors, one left of the desired key, * one right of the desired key. If both proofs are valid AND they are neighbors, * then there is no valid proof for the given key. */ + export interface NonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; left: ExistenceProof | undefined; right: ExistenceProof | undefined; } +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ +export interface NonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: ExistenceProofSDKType | undefined; + right: ExistenceProofSDKType | undefined; +} /** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ + export interface CommitmentProof { exist?: ExistenceProof | undefined; nonexist?: NonExistenceProof | undefined; batch?: BatchProof | undefined; compressed?: CompressedBatchProof | undefined; } +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ +export interface CommitmentProofSDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; + batch?: BatchProofSDKType | undefined; + compressed?: CompressedBatchProofSDKType | undefined; +} /** * LeafOp represents the raw key-value data we wish to prove, and * must be flexible to represent the internal transformation from @@ -246,19 +340,48 @@ export interface CommitmentProof { * Then combine the bytes, and hash it * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) */ + export interface LeafOp { hash: HashOp; prehashKey: HashOp; prehashValue: HashOp; length: LengthOp; - /** * prefix is a fixed bytes that may optionally be included at the beginning to differentiate * a leaf node from an inner node. */ + prefix: Uint8Array; } +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ +export interface LeafOpSDKType { + hash: HashOpSDKType; + prehash_key: HashOpSDKType; + prehash_value: HashOpSDKType; + length: LengthOpSDKType; + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + + prefix: Uint8Array; +} /** * InnerOp represents a merkle-proof step that is not a leaf. * It represents concatenating two children and hashing them to provide the next result. @@ -276,12 +399,35 @@ export interface LeafOp { * some value to differentiate from leaf nodes, should be included in prefix and suffix. * If either of prefix or suffix is empty, we just treat it as an empty string */ + export interface InnerOp { hash: HashOp; prefix: Uint8Array; suffix: Uint8Array; } +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ +export interface InnerOpSDKType { + hash: HashOpSDKType; + prefix: Uint8Array; + suffix: Uint8Array; +} /** * ProofSpec defines what the expected parameters are for a given proof type. * This can be stored in the client and used to validate any incoming proofs. @@ -294,6 +440,7 @@ export interface InnerOp { * We need this for proper security, requires client knows a priori what * tree format server uses. But not in code, rather a configuration object. */ + export interface ProofSpec { /** * any field in the ExistenceProof must be the same as in this spec. @@ -301,14 +448,40 @@ export interface ProofSpec { */ leafSpec: LeafOp | undefined; innerSpec: InnerSpec | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - maxDepth: number; + maxDepth: number; /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + minDepth: number; } +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ + +export interface ProofSpecSDKType { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leaf_spec: LeafOpSDKType | undefined; + inner_spec: InnerSpecSDKType | undefined; + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + max_depth: number; + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + + min_depth: number; +} /** * InnerSpec contains all store-specific structure info to determine if two proofs from a * given store are neighbors. @@ -319,6 +492,7 @@ export interface ProofSpec { * isRightMost(spec: InnerSpec, op: InnerOp) * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) */ + export interface InnerSpec { /** * Child order is the ordering of the children node, must count from 0 @@ -329,40 +503,97 @@ export interface InnerSpec { childSize: number; minPrefixLength: number; maxPrefixLength: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - emptyChild: Uint8Array; + emptyChild: Uint8Array; /** hash is the algorithm that must be used for each InnerOp */ + hash: HashOp; } +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ +export interface InnerSpecSDKType { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + child_order: number[]; + child_size: number; + min_prefix_length: number; + max_prefix_length: number; + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + + empty_child: Uint8Array; + /** hash is the algorithm that must be used for each InnerOp */ + + hash: HashOpSDKType; +} /** BatchProof is a group of multiple proof types than can be compressed */ + export interface BatchProof { entries: BatchEntry[]; } +/** BatchProof is a group of multiple proof types than can be compressed */ +export interface BatchProofSDKType { + entries: BatchEntrySDKType[]; +} /** Use BatchEntry not CommitmentProof, to avoid recursion */ + export interface BatchEntry { exist?: ExistenceProof | undefined; nonexist?: NonExistenceProof | undefined; } +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface BatchEntrySDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; +} export interface CompressedBatchProof { entries: CompressedBatchEntry[]; lookupInners: InnerOp[]; } - +export interface CompressedBatchProofSDKType { + entries: CompressedBatchEntrySDKType[]; + lookup_inners: InnerOpSDKType[]; +} /** Use BatchEntry not CommitmentProof, to avoid recursion */ + export interface CompressedBatchEntry { exist?: CompressedExistenceProof | undefined; nonexist?: CompressedNonExistenceProof | undefined; } +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface CompressedBatchEntrySDKType { + exist?: CompressedExistenceProofSDKType | undefined; + nonexist?: CompressedNonExistenceProofSDKType | undefined; +} export interface CompressedExistenceProof { key: Uint8Array; value: Uint8Array; leaf: LeafOp | undefined; + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; +} +export interface CompressedExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf: LeafOpSDKType | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ + path: number[]; } export interface CompressedNonExistenceProof { @@ -371,6 +602,12 @@ export interface CompressedNonExistenceProof { left: CompressedExistenceProof | undefined; right: CompressedExistenceProof | undefined; } +export interface CompressedNonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left: CompressedExistenceProofSDKType | undefined; + right: CompressedExistenceProofSDKType | undefined; +} function createBaseExistenceProof(): ExistenceProof { return { @@ -436,30 +673,6 @@ export const ExistenceProof = { return message; }, - fromJSON(object: any): ExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromJSON(e)) : [] - }; - }, - - toJSON(message: ExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - - if (message.path) { - obj.path = message.path.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.path = []; - } - - return obj; - }, - fromPartial(object: Partial): ExistenceProof { const message = createBaseExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -526,22 +739,6 @@ export const NonExistenceProof = { return message; }, - fromJSON(object: any): NonExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - left: isSet(object.left) ? ExistenceProof.fromJSON(object.left) : undefined, - right: isSet(object.right) ? ExistenceProof.fromJSON(object.right) : undefined - }; - }, - - toJSON(message: NonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: Partial): NonExistenceProof { const message = createBaseNonExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -616,24 +813,6 @@ export const CommitmentProof = { return message; }, - fromJSON(object: any): CommitmentProof { - return { - exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined, - batch: isSet(object.batch) ? BatchProof.fromJSON(object.batch) : undefined, - compressed: isSet(object.compressed) ? CompressedBatchProof.fromJSON(object.compressed) : undefined - }; - }, - - toJSON(message: CommitmentProof): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined); - message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined); - return obj; - }, - fromPartial(object: Partial): CommitmentProof { const message = createBaseCommitmentProof(); message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; @@ -718,26 +897,6 @@ export const LeafOp = { return message; }, - fromJSON(object: any): LeafOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, - prehashKey: isSet(object.prehashKey) ? hashOpFromJSON(object.prehashKey) : 0, - prehashValue: isSet(object.prehashValue) ? hashOpFromJSON(object.prehashValue) : 0, - length: isSet(object.length) ? lengthOpFromJSON(object.length) : 0, - prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array() - }; - }, - - toJSON(message: LeafOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey)); - message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue)); - message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): LeafOp { const message = createBaseLeafOp(); message.hash = object.hash ?? 0; @@ -805,22 +964,6 @@ export const InnerOp = { return message; }, - fromJSON(object: any): InnerOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0, - prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array(), - suffix: isSet(object.suffix) ? bytesFromBase64(object.suffix) : new Uint8Array() - }; - }, - - toJSON(message: InnerOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - message.suffix !== undefined && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): InnerOp { const message = createBaseInnerOp(); message.hash = object.hash ?? 0; @@ -895,24 +1038,6 @@ export const ProofSpec = { return message; }, - fromJSON(object: any): ProofSpec { - return { - leafSpec: isSet(object.leafSpec) ? LeafOp.fromJSON(object.leafSpec) : undefined, - innerSpec: isSet(object.innerSpec) ? InnerSpec.fromJSON(object.innerSpec) : undefined, - maxDepth: isSet(object.maxDepth) ? Number(object.maxDepth) : 0, - minDepth: isSet(object.minDepth) ? Number(object.minDepth) : 0 - }; - }, - - toJSON(message: ProofSpec): unknown { - const obj: any = {}; - message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined); - message.innerSpec !== undefined && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined); - message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth)); - message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth)); - return obj; - }, - fromPartial(object: Partial): ProofSpec { const message = createBaseProofSpec(); message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; @@ -1019,34 +1144,6 @@ export const InnerSpec = { return message; }, - fromJSON(object: any): InnerSpec { - return { - childOrder: Array.isArray(object?.childOrder) ? object.childOrder.map((e: any) => Number(e)) : [], - childSize: isSet(object.childSize) ? Number(object.childSize) : 0, - minPrefixLength: isSet(object.minPrefixLength) ? Number(object.minPrefixLength) : 0, - maxPrefixLength: isSet(object.maxPrefixLength) ? Number(object.maxPrefixLength) : 0, - emptyChild: isSet(object.emptyChild) ? bytesFromBase64(object.emptyChild) : new Uint8Array(), - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : 0 - }; - }, - - toJSON(message: InnerSpec): unknown { - const obj: any = {}; - - if (message.childOrder) { - obj.childOrder = message.childOrder.map(e => Math.round(e)); - } else { - obj.childOrder = []; - } - - message.childSize !== undefined && (obj.childSize = Math.round(message.childSize)); - message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength)); - message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength)); - message.emptyChild !== undefined && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array())); - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - return obj; - }, - fromPartial(object: Partial): InnerSpec { const message = createBaseInnerSpec(); message.childOrder = object.childOrder?.map(e => e) || []; @@ -1097,24 +1194,6 @@ export const BatchProof = { return message; }, - fromJSON(object: any): BatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromJSON(e)) : [] - }; - }, - - toJSON(message: BatchProof): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? BatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - return obj; - }, - fromPartial(object: Partial): BatchProof { const message = createBaseBatchProof(); message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; @@ -1169,20 +1248,6 @@ export const BatchEntry = { return message; }, - fromJSON(object: any): BatchEntry { - return { - exist: isSet(object.exist) ? ExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? NonExistenceProof.fromJSON(object.nonexist) : undefined - }; - }, - - toJSON(message: BatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: Partial): BatchEntry { const message = createBaseBatchEntry(); message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; @@ -1238,31 +1303,6 @@ export const CompressedBatchProof = { return message; }, - fromJSON(object: any): CompressedBatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromJSON(e)) : [], - lookupInners: Array.isArray(object?.lookupInners) ? object.lookupInners.map((e: any) => InnerOp.fromJSON(e)) : [] - }; - }, - - toJSON(message: CompressedBatchProof): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - if (message.lookupInners) { - obj.lookupInners = message.lookupInners.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.lookupInners = []; - } - - return obj; - }, - fromPartial(object: Partial): CompressedBatchProof { const message = createBaseCompressedBatchProof(); message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; @@ -1318,20 +1358,6 @@ export const CompressedBatchEntry = { return message; }, - fromJSON(object: any): CompressedBatchEntry { - return { - exist: isSet(object.exist) ? CompressedExistenceProof.fromJSON(object.exist) : undefined, - nonexist: isSet(object.nonexist) ? CompressedNonExistenceProof.fromJSON(object.nonexist) : undefined - }; - }, - - toJSON(message: CompressedBatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: Partial): CompressedBatchEntry { const message = createBaseCompressedBatchEntry(); message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; @@ -1417,30 +1443,6 @@ export const CompressedExistenceProof = { return message; }, - fromJSON(object: any): CompressedExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - leaf: isSet(object.leaf) ? LeafOp.fromJSON(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [] - }; - }, - - toJSON(message: CompressedExistenceProof): 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.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - - return obj; - }, - fromPartial(object: Partial): CompressedExistenceProof { const message = createBaseCompressedExistenceProof(); message.key = object.key ?? new Uint8Array(); @@ -1507,22 +1509,6 @@ export const CompressedNonExistenceProof = { return message; }, - fromJSON(object: any): CompressedNonExistenceProof { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - left: isSet(object.left) ? CompressedExistenceProof.fromJSON(object.left) : undefined, - right: isSet(object.right) ? CompressedExistenceProof.fromJSON(object.right) : undefined - }; - }, - - toJSON(message: CompressedNonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: Partial): CompressedNonExistenceProof { const message = createBaseCompressedNonExistenceProof(); message.key = object.key ?? new Uint8Array(); diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts index af41c6a29..7311e877d 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts @@ -1,7 +1,5 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * Config represents the configuration for a Cosmos SDK ABCI app. * It is intended that all state machine logic including the version of @@ -11,12 +9,27 @@ import { isSet } from "@osmonauts/helpers"; * 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[]; } +/** + * 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 are the module configurations for the app. */ + 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 @@ -31,13 +44,36 @@ export interface ModuleConfig { * 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 | undefined; } +/** ModuleConfig is a module configuration for an app. */ + +export interface ModuleConfigSDKType { + /** + * 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: AnySDKType | undefined; +} function createBaseConfig(): Config { return { @@ -76,24 +112,6 @@ export const Config = { 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)) || []; @@ -148,20 +166,6 @@ export const ModuleConfig = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts index ff474b82b..c5d0b3f12 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ModuleDescriptor describes an app module. */ + export interface ModuleDescriptor { /** * go_import names the package that should be imported by an app to load the @@ -11,15 +10,14 @@ export interface ModuleDescriptor { * precedence over go_package when both are defined. */ 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[]; + 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 @@ -29,14 +27,45 @@ export interface ModuleDescriptor { * 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[]; } +/** ModuleDescriptor describes an app module. */ + +export interface ModuleDescriptorSDKType { + /** + * go_import names the package that should be imported by an app to load the + * module in the runtime module registry. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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: PackageReferenceSDKType[]; + /** + * 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: 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 @@ -74,13 +103,59 @@ export interface PackageReference { * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ + revision: number; } +/** PackageReference is a reference to a protobuf package used by a module. */ +export interface PackageReferenceSDKType { + /** 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 fields containing the + * test "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + + revision: number; +} /** * MigrateFromInfo is information on a module version that a newer module * can migrate from. */ + export interface MigrateFromInfo { /** * module is the fully-qualified protobuf name of the module config object @@ -88,6 +163,18 @@ export interface MigrateFromInfo { */ module: string; } +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ + +export interface MigrateFromInfoSDKType { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} function createBaseModuleDescriptor(): ModuleDescriptor { return { @@ -144,33 +231,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 ?? ""; @@ -227,20 +287,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 ?? ""; @@ -287,18 +333,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/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts index 21a42f3b3..6668d2141 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -1,11 +1,11 @@ -import { Config } from "./config"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryConfigRequest, QueryConfigResponse, QueryConfigResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - config(request: QueryConfigRequest): Promise; + config(request?: QueryConfigRequest): Promise; /*Config returns the current app config.*/ } @@ -17,10 +17,20 @@ export class QueryClientImpl implements Query { this.config = this.config.bind(this); } - config(request: QueryConfigRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts index 0c4705584..1b446bb0a 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts @@ -1,15 +1,23 @@ -import { Config } from "./config"; +import { Config, ConfigSDKType } from "./config"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryConfigRequest is the Query/Config request type. */ + export interface QueryConfigRequest {} +/** 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 | undefined; } +/** QueryConfigRequest is the Query/Config response type. */ + +export interface QueryConfigResponseSDKType { + /** config is the current app config. */ + config: ConfigSDKType | undefined; +} function createBaseQueryConfigRequest(): QueryConfigRequest { return {}; @@ -38,15 +46,6 @@ export const QueryConfigRequest = { return message; }, - fromJSON(_: any): QueryConfigRequest { - return {}; - }, - - toJSON(_: QueryConfigRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): QueryConfigRequest { const message = createBaseQueryConfigRequest(); return message; @@ -69,7 +68,7 @@ export const QueryConfigResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConfigResponse(); @@ -91,18 +90,6 @@ export const QueryConfigResponse = { 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; diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts index bc7847cf5..fd0a598b7 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts @@ -1,27 +1,46 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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 { address: string; pubKey: Any | undefined; accountNumber: Long; sequence: Long; } +/** + * 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 { + address: string; + pub_key: AnySDKType | undefined; + account_number: Long; + sequence: Long; +} /** ModuleAccount defines an account for modules that holds coins on a pool. */ + export interface ModuleAccount { baseAccount: BaseAccount | undefined; name: string; permissions: string[]; } +/** ModuleAccount defines an account for modules that holds coins on a pool. */ +export interface ModuleAccountSDKType { + base_account: BaseAccountSDKType | undefined; + name: string; + permissions: string[]; +} /** Params defines the parameters for the auth module. */ + export interface Params { maxMemoCharacters: Long; txSigLimit: Long; @@ -29,6 +48,15 @@ export interface Params { sigVerifyCostEd25519: Long; sigVerifyCostSecp256k1: Long; } +/** 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; +} function createBaseBaseAccount(): BaseAccount { return { @@ -94,24 +122,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) ? Long.fromString(object.accountNumber) : Long.UZERO, - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BaseAccount { const message = createBaseBaseAccount(); message.address = object.address ?? ""; @@ -178,28 +188,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; @@ -283,26 +271,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - maxMemoCharacters: isSet(object.maxMemoCharacters) ? Long.fromString(object.maxMemoCharacters) : Long.UZERO, - txSigLimit: isSet(object.txSigLimit) ? Long.fromString(object.txSigLimit) : Long.UZERO, - txSizeCostPerByte: isSet(object.txSizeCostPerByte) ? Long.fromString(object.txSizeCostPerByte) : Long.UZERO, - sigVerifyCostEd25519: isSet(object.sigVerifyCostEd25519) ? Long.fromString(object.sigVerifyCostEd25519) : Long.UZERO, - sigVerifyCostSecp256k1: isSet(object.sigVerifyCostSecp256k1) ? Long.fromString(object.sigVerifyCostSecp256k1) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || Long.UZERO).toString()); - message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || Long.UZERO).toString()); - message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || Long.UZERO).toString()); - message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || Long.UZERO).toString()); - message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts index fbbe3e70a..4db2ee8df 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts @@ -1,16 +1,24 @@ -import { Params } from "./auth"; -import { Any } from "../../../google/protobuf/any"; +import { Params, ParamsSDKType } from "./auth"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the auth module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** accounts are the accounts present at genesis. */ + accounts: Any[]; } +/** GenesisState defines the auth module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** accounts are the accounts present at genesis. */ + + accounts: AnySDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -58,26 +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/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts index cd2a09263..df358f6f3 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -1,26 +1,31 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); } - /* Accounts returns all the existing accounts Since: cosmos-sdk 0.43 */ + + async accounts(params: QueryAccountsRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -30,43 +35,49 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/auth/v1beta1/accounts`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Account returns account details based on address. */ - async account(params: QueryAccountRequest): Promise { + + + async account(params: QueryAccountRequest): Promise { const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Params queries all parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/auth/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ModuleAccounts returns all the existing module accounts. */ - async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { + + + async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { const endpoint = `cosmos/auth/v1beta1/module_accounts`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Bech32 queries bech32Prefix */ - async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { + + + async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { const endpoint = `cosmos/auth/v1beta1/bech32`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AddressBytesToString converts Account Address bytes to string */ - async addressBytesToString(params: AddressBytesToStringRequest): Promise { + + + async addressBytesToString(params: AddressBytesToStringRequest): Promise { const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AddressStringToBytes converts Address string to bytes */ - async addressStringToBytes(params: AddressStringToBytesRequest): Promise { + + + async addressStringToBytes(params: AddressStringToBytesRequest): Promise { const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts index 47d81248e..ad16465b5 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -1,33 +1,31 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - accounts(request: QueryAccountsRequest): Promise; + accounts(request?: QueryAccountsRequest): Promise; /*Accounts returns all the existing accounts Since: cosmos-sdk 0.43*/ - account(request: QueryAccountRequest): Promise; + account(request: QueryAccountRequest): Promise; /*Account returns account details based on address.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries all parameters.*/ - moduleAccounts(request: QueryModuleAccountsRequest): Promise; + moduleAccounts(request?: QueryModuleAccountsRequest): Promise; /*ModuleAccounts returns all the existing module accounts.*/ - bech32Prefix(request: Bech32PrefixRequest): Promise; + bech32Prefix(request?: Bech32PrefixRequest): Promise; /*Bech32 queries bech32Prefix*/ - addressBytesToString(request: AddressBytesToStringRequest): Promise; + addressBytesToString(request: AddressBytesToStringRequest): Promise; /*AddressBytesToString converts Account Address bytes to string*/ - addressStringToBytes(request: AddressStringToBytesRequest): Promise; + addressStringToBytes(request: AddressStringToBytesRequest): Promise; /*AddressStringToBytes converts Address string to bytes*/ } @@ -45,46 +43,82 @@ export class QueryClientImpl implements Query { this.addressStringToBytes = this.addressStringToBytes.bind(this); } - accounts(request: QueryAccountsRequest): Promise { + accounts(request: QueryAccountsRequest = { + pagination: undefined + }): Promise { const data = QueryAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); } - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { const data = QueryAccountRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - moduleAccounts(request: QueryModuleAccountsRequest): Promise { + moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { const data = QueryModuleAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); } - bech32Prefix(request: Bech32PrefixRequest): Promise { + bech32Prefix(request: Bech32PrefixRequest = {}): Promise { const data = Bech32PrefixRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); } - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { const data = AddressBytesToStringRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); } - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { const data = AddressStringToBytesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + accounts(request?: QueryAccountsRequest): Promise { + return queryService.accounts(request); + }, + + account(request: QueryAccountRequest): Promise { + return queryService.account(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + moduleAccounts(request?: QueryModuleAccountsRequest): Promise { + return queryService.moduleAccounts(request); + }, + + bech32Prefix(request?: Bech32PrefixRequest): Promise { + return queryService.bech32Prefix(request); + }, + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + return queryService.addressBytesToString(request); + }, + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + return queryService.addressStringToBytes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts index 4f43d1114..b2afad6d5 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts @@ -1,88 +1,167 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { Params } from "./auth"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Params, ParamsSDKType } from "./auth"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * 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 | undefined; } +/** + * QueryAccountsRequest is the request type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryAccountsRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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: Any[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryAccountsResponse is the response type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryAccountsResponseSDKType { + /** accounts are the existing accounts */ + accounts: AnySDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryAccountRequest is the request type for the Query/Account RPC method. */ + export interface QueryAccountRequest { /** address defines the address to query for. */ address: string; } +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ +export interface QueryAccountRequestSDKType { + /** address defines the address to query for. */ + address: string; +} /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ + export interface QueryModuleAccountsRequest {} +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsRequestSDKType {} /** QueryParamsResponse is the response type for the Query/Params RPC method. */ + export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** QueryAccountResponse is the response type for the Query/Account RPC method. */ + export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ account: Any | undefined; } +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ +export interface QueryAccountResponseSDKType { + /** account defines the account of the corresponding address. */ + account: AnySDKType | undefined; +} /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType {} /** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ + export interface QueryModuleAccountsResponse { accounts: Any[]; } +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ +export interface QueryModuleAccountsResponseSDKType { + accounts: AnySDKType[]; +} /** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ + export interface Bech32PrefixRequest {} +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ +export interface Bech32PrefixRequestSDKType {} /** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ + export interface Bech32PrefixResponse { bech32Prefix: string; } +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ +export interface Bech32PrefixResponseSDKType { + bech32_prefix: string; +} /** AddressBytesToStringRequest is the request type for AddressString rpc method */ + export interface AddressBytesToStringRequest { addressBytes: Uint8Array; } +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ +export interface AddressBytesToStringRequestSDKType { + address_bytes: Uint8Array; +} /** AddressBytesToStringResponse is the response type for AddressString rpc method */ + export interface AddressBytesToStringResponse { addressString: string; } +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ +export interface AddressBytesToStringResponseSDKType { + address_string: string; +} /** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ + export interface AddressStringToBytesRequest { addressString: string; } +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ +export interface AddressStringToBytesRequestSDKType { + address_string: string; +} /** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + export interface AddressStringToBytesResponse { addressBytes: Uint8Array; } +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + +export interface AddressStringToBytesResponseSDKType { + address_bytes: Uint8Array; +} function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { @@ -121,18 +200,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; @@ -161,7 +228,7 @@ export const QueryAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountsResponse(); @@ -187,26 +254,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)) || []; @@ -253,18 +300,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 ?? ""; @@ -300,15 +335,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; @@ -331,7 +357,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -353,18 +379,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; @@ -388,7 +402,7 @@ export const QueryAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountResponse(); @@ -410,18 +424,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; @@ -457,15 +459,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; @@ -488,7 +481,7 @@ export const QueryModuleAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleAccountsResponse(); @@ -510,24 +503,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)) || []; @@ -563,15 +538,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; @@ -594,7 +560,7 @@ export const Bech32PrefixResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBech32PrefixResponse(); @@ -616,18 +582,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 ?? ""; @@ -673,18 +627,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(); @@ -708,7 +650,7 @@ export const AddressBytesToStringResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressBytesToStringResponse(); @@ -730,18 +672,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 ?? ""; @@ -787,18 +717,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 ?? ""; @@ -822,7 +740,7 @@ export const AddressStringToBytesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressStringToBytesResponse(); @@ -844,18 +762,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(); diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts index 1992fcfc0..5da015f57 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts @@ -1,48 +1,89 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. */ + export interface GenericAuthorization { /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ msg: string; } +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ +export interface GenericAuthorizationSDKType { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} /** * Grant gives permissions to execute * the provide method with expiration time. */ + export interface Grant { authorization: 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?: Date | undefined; } +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ + +export interface GrantSDKType { + authorization: AnySDKType | 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?: Date | 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 GrantAuthorization { granter: string; grantee: string; authorization: Any | undefined; expiration: Date | 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 GrantAuthorizationSDKType { + granter: string; + grantee: string; + authorization: AnySDKType | undefined; + expiration: Date | undefined; +} /** 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[]; } +/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ + +export interface GrantQueueItemSDKType { + /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ + msg_type_urls: string[]; +} function createBaseGenericAuthorization(): GenericAuthorization { return { @@ -81,18 +122,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 ?? ""; @@ -147,20 +176,6 @@ 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 = 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; @@ -234,24 +249,6 @@ 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 = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: Partial): GrantAuthorization { const message = createBaseGrantAuthorization(); message.granter = object.granter ?? ""; @@ -300,24 +297,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/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts index e5a0968e6..4ca6f0c5e 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts @@ -1,27 +1,50 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; + granter: string; /** Grantee account address */ + grantee: string; } +/** EventGrant is emitted on Msg/Grant */ + +export interface EventGrantSDKType { + /** Msg type URL for which an autorization is granted */ + msg_type_url: string; + /** Granter account address */ + granter: string; + /** Grantee account address */ + + 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; +} +/** EventRevoke is emitted on Msg/Revoke */ +export interface EventRevokeSDKType { + /** Msg type URL for which an autorization is revoked */ + msg_type_url: string; + /** Granter account address */ + + granter: string; /** Grantee account address */ + grantee: string; } @@ -80,22 +103,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 ?? ""; @@ -161,22 +168,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/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts index 3cb847912..9f09b9813 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts @@ -1,10 +1,15 @@ -import { GrantAuthorization } from "./authz"; +import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; import * as _m0 from "protobufjs/minimal"; - /** GenesisState defines the authz module's genesis state. */ + export interface GenesisState { authorization: GrantAuthorization[]; } +/** GenesisState defines the authz module's genesis state. */ + +export interface GenesisStateSDKType { + authorization: GrantAuthorizationSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -43,24 +48,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/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts index 71432a9ba..65de12eee 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -1,21 +1,23 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); } - /* Returns list of `Authorization`, granted to the grantee by the granter. */ - async grants(params: QueryGrantsRequest): Promise { + + + async grants(params: QueryGrantsRequest): Promise { const options: any = { params: {} }; @@ -37,13 +39,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GranterGrants returns list of `GrantAuthorization`, granted by granter. Since: cosmos-sdk 0.46 */ - async granterGrants(params: QueryGranterGrantsRequest): Promise { + + + async granterGrants(params: QueryGranterGrantsRequest): Promise { const options: any = { params: {} }; @@ -53,13 +56,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GranteeGrants returns a list of `GrantAuthorization` by grantee. Since: cosmos-sdk 0.46 */ - async granteeGrants(params: QueryGranteeGrantsRequest): Promise { + + + async granteeGrants(params: QueryGranteeGrantsRequest): Promise { const options: any = { params: {} }; @@ -69,7 +73,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts index 5e5242242..333c469df 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -1,20 +1,19 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryGrantsRequest, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - grants(request: QueryGrantsRequest): Promise; + grants(request: QueryGrantsRequest): Promise; /*Returns list of `Authorization`, granted to the grantee by the granter.*/ - granterGrants(request: QueryGranterGrantsRequest): Promise; + granterGrants(request: QueryGranterGrantsRequest): Promise; /*GranterGrants returns list of `GrantAuthorization`, granted by granter. Since: cosmos-sdk 0.46*/ - granteeGrants(request: QueryGranteeGrantsRequest): Promise; + granteeGrants(request: QueryGranteeGrantsRequest): Promise; /*GranteeGrants returns a list of `GrantAuthorization` by grantee. Since: cosmos-sdk 0.46*/ @@ -30,22 +29,40 @@ export class QueryClientImpl implements Query { this.granteeGrants = this.granteeGrants.bind(this); } - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { const data = QueryGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); } - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { const data = QueryGranterGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); } - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { const data = QueryGranteeGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + grants(request: QueryGrantsRequest): Promise { + return queryService.grants(request); + }, + + granterGrants(request: QueryGranterGrantsRequest): Promise { + return queryService.granterGrants(request); + }, + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + return queryService.granteeGrants(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts index 4361c30e1..9f87f3158 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts @@ -1,62 +1,116 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAuthorization } from "./authz"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequest { - granter: string; - grantee: string; +export interface QueryGrantsRequest { + granter?: string; + grantee?: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl: string; + msgTypeUrl?: string; /** pagination defines an pagination for the request. */ + pagination?: PageRequest | undefined; } +/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ + +export interface QueryGrantsRequestSDKType { + 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?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ +export interface QueryGrantsResponseSDKType { + /** authorizations is a list of grants granted for grantee by granter. */ + grants: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ + +export interface QueryGranterGrantsRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ +export interface QueryGranterGrantsResponseSDKType { + /** grants is a list of grants granted by the granter. */ + grants: GrantAuthorizationSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ + +export interface QueryGranteeGrantsRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ + +export interface QueryGranteeGrantsResponseSDKType { + /** grants is a list of grants granted to the grantee. */ + grants: GrantAuthorizationSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryGrantsRequest(): QueryGrantsRequest { return { @@ -122,24 +176,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 ?? ""; @@ -171,7 +207,7 @@ export const QueryGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGrantsResponse(); @@ -197,26 +233,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)) || []; @@ -272,20 +288,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 ?? ""; @@ -315,7 +317,7 @@ export const QueryGranterGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranterGrantsResponse(); @@ -341,26 +343,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)) || []; @@ -416,20 +398,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 ?? ""; @@ -459,7 +427,7 @@ export const QueryGranteeGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranteeGrantsResponse(); @@ -485,26 +453,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/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts index 016e9c182..da254bafc 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts @@ -1,7 +1,4 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; import { AminoMsg } from "@cosmjs/amino"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; export interface AminoMsgGrant extends AminoMsg { type: "cosmos-sdk/MsgGrant"; diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts index ae6eec3b5..c4c1a539f 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; 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]]; @@ -54,52 +52,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) { diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts index 6f29fb67d..aefc71215 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,21 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; - +import { MsgGrant, MsgGrantResponse, MsgGrantResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgRevoke, MsgRevokeResponse, MsgRevokeResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - grant(request: MsgGrant): Promise; + grant(request: MsgGrant): Promise; /*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.*/ - exec(request: MsgExec): Promise; + exec(request: MsgExec): 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.*/ - revoke(request: MsgRevoke): Promise; + revoke(request: MsgRevoke): Promise; /*Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.*/ @@ -32,19 +30,19 @@ export class MsgClientImpl implements Msg { this.revoke = this.revoke.bind(this); } - grant(request: MsgGrant): Promise { + grant(request: MsgGrant): Promise { const data = MsgGrant.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - revoke(request: MsgRevoke): Promise { + revoke(request: MsgRevoke): Promise { const data = MsgRevoke.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts index c8d97ef5a..7eda0f40a 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts @@ -1,54 +1,100 @@ -import { Grant } from "./authz"; -import { Any } from "../../../google/protobuf/any"; +import { Grant, GrantSDKType } from "./authz"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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. */ + export interface MsgGrant { granter: string; grantee: string; grant: Grant | undefined; } +/** + * 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 | undefined; +} /** MsgExecResponse defines the Msg/MsgExecResponse response type. */ + export interface MsgExecResponse { results: Uint8Array[]; } +/** 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[]; } +/** + * 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; + /** + * 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: AnySDKType[]; +} /** MsgGrantResponse defines the Msg/MsgGrant response type. */ + export interface MsgGrantResponse {} +/** 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; } +/** + * 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 {} +/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ + +export interface MsgRevokeResponseSDKType {} function createBaseMsgGrant(): MsgGrant { return { @@ -105,22 +151,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 ?? ""; @@ -146,7 +176,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -168,24 +198,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) || []; @@ -240,26 +252,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 ?? ""; @@ -278,7 +270,7 @@ export const MsgGrantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantResponse(); @@ -296,15 +288,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; @@ -367,22 +350,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 ?? ""; @@ -402,7 +369,7 @@ export const MsgRevokeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeResponse(); @@ -420,15 +387,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/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts index 2e69df3ab..09806a64a 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts @@ -1,15 +1,25 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, 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 { spendLimit: Coin[]; } +/** + * SendAuthorization allows the grantee to spend up to spend_limit coins from + * the granter's account. + * + * Since: cosmos-sdk 0.43 + */ + +export interface SendAuthorizationSDKType { + spend_limit: CoinSDKType[]; +} function createBaseSendAuthorization(): SendAuthorization { return { @@ -48,24 +58,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/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts index 74f16fd69..409c9e29d 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts @@ -1,34 +1,59 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** Params defines the parameters for the bank module. */ + export interface Params { sendEnabled: SendEnabled[]; defaultSendEnabled: boolean; } +/** 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; } +/** + * 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[]; } +/** Input models transaction input. */ +export interface InputSDKType { + address: string; + coins: CoinSDKType[]; +} /** Output models transaction outputs. */ + export interface Output { address: string; coins: Coin[]; } +/** 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. @@ -36,18 +61,29 @@ export interface Output { */ /** @deprecated */ + export interface Supply { total: Coin[]; } +/** + * 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 { + 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 @@ -55,61 +91,133 @@ export interface DenomUnit { * (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; + exponent: number; /** aliases is a list of string aliases for the given denom */ + aliases: string[]; } +/** + * DenomUnit represents a struct that describes a given + * denomination unit of the basic token. + */ +export interface DenomUnitSDKType { + /** 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[]; +} /** * 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[]; + denomUnits: DenomUnit[]; /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; + base: string; /** * display indicates the suggested denom that should be * displayed in clients. */ - display: string; + display: string; /** * name defines the name of the token (eg: Cosmos Atom) * * Since: cosmos-sdk 0.43 */ - name: string; + 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; + symbol: string; /** * URI to a document (on or off-chain) that contains additional information. Optional. * * Since: cosmos-sdk 0.46 */ - uri: string; + 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; } +/** + * Metadata represents a struct that describes + * a basic token. + */ + +export interface MetadataSDKType { + description: string; + /** denom_units represents the list of DenomUnit's for a given coin */ + + denom_units: DenomUnitSDKType[]; + /** 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; +} function createBaseParams(): Params { return { @@ -157,26 +265,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)) || []; @@ -232,20 +320,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 ?? ""; @@ -301,26 +375,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 ?? ""; @@ -376,26 +430,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 ?? ""; @@ -442,24 +476,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)) || []; @@ -523,28 +539,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 ?? ""; @@ -655,38 +649,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/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts index fb48f84eb..eadb3b95b 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts @@ -1,37 +1,66 @@ -import { Params, Metadata } from "./bank"; -import { Coin } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the bank module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; + 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[]; + supply: Coin[]; /** denom_metadata defines the metadata of the differents coins. */ + denomMetadata: Metadata[]; } +/** GenesisState defines the bank module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** balances is an array containing the balances of all the accounts. */ + + balances: BalanceSDKType[]; + /** + * 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: CoinSDKType[]; + /** denom_metadata defines the metadata of the differents coins. */ + + 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[]; } +/** + * Balance defines an account address and balance pair used in the bank module's + * genesis state. + */ + +export interface BalanceSDKType { + /** address is the address of the balance holder. */ + address: string; + /** coins defines the different coins this balance holds. */ + + coins: CoinSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -97,40 +126,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; @@ -188,26 +183,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/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts index 09bc3da46..1eaba0a3c 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -1,22 +1,29 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); } - /* Balance queries the balance of a single coin for a single account. */ - async balance(params: QueryBalanceRequest): Promise { + + + async balance(params: QueryBalanceRequest): Promise { const options: any = { params: {} }; @@ -26,11 +33,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllBalances queries the balance of all coins for a single account. */ - async allBalances(params: QueryAllBalancesRequest): Promise { + + + async allBalances(params: QueryAllBalancesRequest): Promise { const options: any = { params: {} }; @@ -40,12 +48,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* SpendableBalances queries the spenable balance of all coins for a single account. */ - async spendableBalances(params: QuerySpendableBalancesRequest): Promise { + + + async spendableBalances(params: QuerySpendableBalancesRequest): Promise { const options: any = { params: {} }; @@ -55,13 +64,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TotalSupply queries the total supply of all coins. */ + + async totalSupply(params: QueryTotalSupplyRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -71,11 +81,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/supply`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* SupplyOf queries the supply of a single coin. */ - async supplyOf(params: QuerySupplyOfRequest): Promise { + + + async supplyOf(params: QuerySupplyOfRequest): Promise { const options: any = { params: {} }; @@ -85,26 +96,29 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries the parameters of x/bank module. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/bank/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomsMetadata queries the client metadata of a given coin denomination. */ - async denomMetadata(params: QueryDenomMetadataRequest): Promise { + + + async denomMetadata(params: QueryDenomMetadataRequest): Promise { const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomsMetadata queries the client metadata for all registered coin denominations. */ + + async denomsMetadata(params: QueryDenomsMetadataRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -114,12 +128,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DenomOwners queries for all account addresses that own a particular token denomination. */ - async denomOwners(params: QueryDenomOwnersRequest): Promise { + + + async denomOwners(params: QueryDenomOwnersRequest): Promise { const options: any = { params: {} }; @@ -129,7 +144,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts index 58517177f..71991c2b1 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -1,39 +1,37 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - balance(request: QueryBalanceRequest): Promise; + balance(request: QueryBalanceRequest): Promise; /*Balance queries the balance of a single coin for a single account.*/ - allBalances(request: QueryAllBalancesRequest): Promise; + allBalances(request: QueryAllBalancesRequest): Promise; /*AllBalances queries the balance of all coins for a single account.*/ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; + spendableBalances(request: QuerySpendableBalancesRequest): Promise; /*SpendableBalances queries the spenable balance of all coins for a single account.*/ - totalSupply(request: QueryTotalSupplyRequest): Promise; + totalSupply(request?: QueryTotalSupplyRequest): Promise; /*TotalSupply queries the total supply of all coins.*/ - supplyOf(request: QuerySupplyOfRequest): Promise; + supplyOf(request: QuerySupplyOfRequest): Promise; /*SupplyOf queries the supply of a single coin.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries the parameters of x/bank module.*/ - denomMetadata(request: QueryDenomMetadataRequest): Promise; + denomMetadata(request: QueryDenomMetadataRequest): Promise; /*DenomsMetadata queries the client metadata of a given coin denomination.*/ - denomsMetadata(request: QueryDenomsMetadataRequest): Promise; + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; /*DenomsMetadata queries the client metadata for all registered coin denominations.*/ - denomOwners(request: QueryDenomOwnersRequest): Promise; + denomOwners(request: QueryDenomOwnersRequest): Promise; /*DenomOwners queries for all account addresses that own a particular token denomination.*/ @@ -54,58 +52,104 @@ export class QueryClientImpl implements Query { this.denomOwners = this.denomOwners.bind(this); } - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { const data = QueryBalanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); } - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { const data = QueryAllBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); } - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { const data = QuerySpendableBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); } - totalSupply(request: QueryTotalSupplyRequest): Promise { + totalSupply(request: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { const data = QueryTotalSupplyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); } - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { const data = QuerySupplyOfRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { const data = QueryDenomMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); } - denomsMetadata(request: QueryDenomsMetadataRequest): Promise { + denomsMetadata(request: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { const data = QueryDenomsMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); } - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { const data = QueryDenomOwnersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + balance(request: QueryBalanceRequest): Promise { + return queryService.balance(request); + }, + + allBalances(request: QueryAllBalancesRequest): Promise { + return queryService.allBalances(request); + }, + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + return queryService.spendableBalances(request); + }, + + totalSupply(request?: QueryTotalSupplyRequest): Promise { + return queryService.totalSupply(request); + }, + + supplyOf(request: QuerySupplyOfRequest): Promise { + return queryService.supplyOf(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + return queryService.denomMetadata(request); + }, + + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { + return queryService.denomsMetadata(request); + }, + + denomOwners(request: QueryDenomOwnersRequest): Promise { + return queryService.denomOwners(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts index 910af3ec6..5a02f47c0 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts @@ -1,73 +1,132 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Coin } from "../../base/v1beta1/coin"; -import { Params, Metadata } from "./bank"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; } +/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ + +export interface QueryBalanceRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** denom is the coin denom to query balances for. */ + 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 | undefined; } +/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ +export interface QueryBalanceResponseSDKType { + /** balance is the balance of the coin. */ + balance: CoinSDKType | undefined; +} /** 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 | undefined; } +/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ + +export interface QueryAllBalancesRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + * method. + */ +export interface QueryAllBalancesResponseSDKType { + /** balances is the balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QuerySpendableBalancesRequest defines the gRPC request structure for querying * an account's spendable balances. */ + export interface QuerySpendableBalancesRequest { /** address is the address to query spendable balances for. */ address: string; - /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesRequestSDKType { + /** address is the address to query spendable balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QuerySpendableBalancesResponse defines the gRPC response structure for querying * an account's spendable balances. */ + export interface QuerySpendableBalancesResponse { /** balances is the spendable balances of all the coins. */ balances: Coin[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ +export interface QuerySpendableBalancesResponseSDKType { + /** balances is the spendable balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC * method. */ + export interface QueryTotalSupplyRequest { /** * pagination defines an optional pagination for the request. @@ -76,109 +135,225 @@ export interface QueryTotalSupplyRequest { */ pagination?: PageRequest | undefined; } +/** + * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC + * method. + */ +export interface QueryTotalSupplyRequestSDKType { + /** + * pagination defines an optional pagination for the request. + * + * Since: cosmos-sdk 0.43 + */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + * method + */ +export interface QueryTotalSupplyResponseSDKType { + /** supply is the supply of the coins */ + supply: CoinSDKType[]; + /** + * pagination defines the pagination in the response. + * + * Since: cosmos-sdk 0.43 + */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; + denom?: string; } +/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfRequestSDKType { + /** denom is the coin denom to query balances for. */ + 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 | undefined; } +/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ +export interface QuerySupplyOfResponseSDKType { + /** amount is the supply of the coin. */ + amount: CoinSDKType | undefined; +} /** QueryParamsRequest defines the request type for querying x/bank parameters. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse defines the response type for querying x/bank parameters. */ +export interface QueryParamsResponseSDKType { + params: ParamsSDKType | undefined; +} /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ + export interface QueryDenomsMetadataRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ +export interface QueryDenomsMetadataRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + * method. + */ +export interface QueryDenomsMetadataResponseSDKType { + /** metadata provides the client information for all the registered tokens. */ + metadatas: MetadataSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ +export interface QueryDenomMetadataRequestSDKType { + /** denom is the coin denom to query the metadata for. */ + 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 | undefined; } +/** + * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + * method. + */ +export interface QueryDenomMetadataResponseSDKType { + /** metadata describes and provides all the client information for the requested token. */ + metadata: MetadataSDKType | undefined; +} /** * 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 | undefined; } +/** + * 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 defines the coin denomination to query all account holders for. */ + denom: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * 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. */ + 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 | undefined; } +/** + * 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. + */ + +export interface DenomOwnerSDKType { + /** address defines the address that owns a particular denomination. */ + address: string; + /** balance is the balance of the denominated coin for an account. */ + balance: CoinSDKType | undefined; +} /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ + export interface QueryDenomOwnersResponse { denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ + +export interface QueryDenomOwnersResponseSDKType { + denom_owners: DenomOwnerSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryBalanceRequest(): QueryBalanceRequest { return { @@ -226,20 +401,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 ?? ""; @@ -264,7 +425,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -286,18 +447,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; @@ -352,20 +501,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 ?? ""; @@ -395,7 +530,7 @@ export const QueryAllBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllBalancesResponse(); @@ -421,26 +556,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)) || []; @@ -496,20 +611,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 ?? ""; @@ -539,7 +640,7 @@ export const QuerySpendableBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySpendableBalancesResponse(); @@ -565,26 +666,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)) || []; @@ -631,18 +712,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; @@ -671,7 +740,7 @@ export const QueryTotalSupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTotalSupplyResponse(); @@ -697,26 +766,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)) || []; @@ -763,18 +812,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 ?? ""; @@ -798,7 +835,7 @@ export const QuerySupplyOfResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyOfResponse(); @@ -820,18 +857,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; @@ -867,15 +892,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; @@ -898,7 +914,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -920,18 +936,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; @@ -977,18 +981,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; @@ -1017,7 +1009,7 @@ export const QueryDenomsMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomsMetadataResponse(); @@ -1043,26 +1035,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)) || []; @@ -1109,18 +1081,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 ?? ""; @@ -1144,7 +1104,7 @@ export const QueryDenomMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomMetadataResponse(); @@ -1166,18 +1126,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; @@ -1232,20 +1180,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 ?? ""; @@ -1301,20 +1235,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 ?? ""; @@ -1344,7 +1264,7 @@ export const QueryDenomOwnersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomOwnersResponse(); @@ -1370,26 +1290,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/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts index 5bbf7b58e..ea2280ee0 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; import { AminoMsg } from "@cosmjs/amino"; import { MsgSend, MsgMultiSend } from "./tx"; export interface AminoMsgSend extends AminoMsg { diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts index b04a069a7..5bc1dee0f 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; 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]]; @@ -40,38 +38,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) { diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts index ee22c9d29..26a23d4b4 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,13 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; - +import { MsgSend, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - send(request: MsgSend): Promise; + send(request: MsgSend): Promise; /*Send defines a method for sending coins from one account to another account.*/ - multiSend(request: MsgMultiSend): Promise; + multiSend(request: MsgMultiSend): Promise; /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ } @@ -22,13 +20,13 @@ export class MsgClientImpl implements Msg { this.multiSend = this.multiSend.bind(this); } - send(request: MsgSend): Promise { + send(request: MsgSend): Promise { const data = MsgSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); } - multiSend(request: MsgMultiSend): Promise { + multiSend(request: MsgMultiSend): Promise { const data = MsgMultiSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts index c44c98cda..d9cd5047e 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts @@ -1,26 +1,44 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Input, Output } from "./bank"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgSend represents a message to send coins from one account to another. */ + export interface MsgSend { fromAddress: string; toAddress: string; amount: Coin[]; } +/** 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 {} +/** 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[]; } +/** 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 {} +/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ + +export interface MsgMultiSendResponseSDKType {} function createBaseMsgSend(): MsgSend { return { @@ -77,28 +95,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 ?? ""; @@ -118,7 +114,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -136,15 +132,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; @@ -198,31 +185,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)) || []; @@ -241,7 +203,7 @@ export const MsgMultiSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMultiSendResponse(); @@ -259,15 +221,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/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts index d26d2f149..747fcffca 100644 --- a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts +++ b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -1,56 +1,55 @@ -import { Any } from "../../../../google/protobuf/any"; -import { Event } from "../../../../tendermint/abci/types"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Event, EventSDKType } from "../../../../tendermint/abci/types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; + txhash: string; /** Namespace for the Code */ - codespace: string; + codespace: string; /** Response code. */ - code: number; + code: number; /** Result bytes, if any. */ - data: string; + data: string; /** * The output of the application's logger (raw string). May be * non-deterministic. */ - rawLog: string; + rawLog: string; /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; + logs: ABCIMessageLog[]; /** Additional information. May be non-deterministic. */ - info: string; + info: string; /** Amount of gas requested for transaction. */ - gasWanted: Long; + gasWanted: Long; /** Amount of gas consumed by transaction. */ - gasUsed: Long; + gasUsed: Long; /** The request transaction bytes. */ - tx: Any | undefined; + tx: Any | undefined; /** * 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; + 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 @@ -59,49 +58,148 @@ export interface TxResponse { * * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 */ + events: Event[]; } +/** + * TxResponse defines a structure containing relevant tx data and metadata. The + * tags are stringified and the log is JSON decoded. + */ + +export interface TxResponseSDKType { + /** 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. + */ + + raw_log: string; + /** The output of the application's logger (typed). May be non-deterministic. */ + + logs: ABCIMessageLogSDKType[]; + /** Additional information. May be non-deterministic. */ + + info: string; + /** Amount of gas requested for transaction. */ + + gas_wanted: Long; + /** Amount of gas consumed by transaction. */ + + gas_used: Long; + /** The request transaction bytes. */ + + tx: AnySDKType | undefined; + /** + * 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 handler. 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: 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[]; } +/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ +export interface ABCIMessageLogSDKType { + msg_index: number; + log: string; + /** + * Events contains a slice of Event objects that were emitted during some + * execution. + */ + + 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[]; } +/** + * 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; } +/** + * 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; } +/** GasInfo defines tx execution gas context. */ +export interface GasInfoSDKType { + /** GasWanted is the maximum units of work we allow this tx to perform. */ + gas_wanted: Long; + /** GasUsed is the amount of gas actually consumed. */ + + 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 @@ -112,82 +210,170 @@ export interface Result { /** @deprecated */ data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; + log: string; /** * Events contains a slice of Event objects that were emitted during message * or handler execution. */ - events: Event[]; + events: Event[]; /** * msg_responses contains the Msg handler responses type packed in Anys. * * Since: cosmos-sdk 0.46 */ + msgResponses: Any[]; } +/** Result is the union of ResponseFormat and ResponseCheckTx. */ + +export interface ResultSDKType { + /** + * 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: EventSDKType[]; + /** + * msg_responses contains the Msg handler responses type packed in Anys. + * + * Since: cosmos-sdk 0.46 + */ + + msg_responses: AnySDKType[]; +} /** * SimulationResponse defines the response generated when a transaction is * successfully simulated. */ + export interface SimulationResponse { gasInfo: GasInfo | undefined; result: Result | undefined; } +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ +export interface SimulationResponseSDKType { + gas_info: GasInfoSDKType | undefined; + result: ResultSDKType | undefined; +} /** * MsgData defines the data returned in a Result object during message * execution. */ /** @deprecated */ + export interface MsgData { msgType: string; data: Uint8Array; } +/** + * 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[]; } +/** + * TxMsgData defines a list of MsgData. A transaction will have a MsgData object + * for each message. + */ + +export interface TxMsgDataSDKType { + /** data field is deprecated and not populated. */ + /** @deprecated */ + data: MsgDataSDKType[]; + /** + * msg_responses contains the Msg handler responses packed into Anys. + * + * Since: cosmos-sdk 0.46 + */ + + 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; + count: Long; /** Index of current page, start from 1 */ - pageNumber: Long; + pageNumber: Long; /** Count of total pages */ - pageTotal: Long; + pageTotal: Long; /** Max count txs per page */ - limit: Long; + limit: Long; /** List of txs in current page */ + txs: TxResponse[]; } +/** SearchTxsResult defines a structure for querying txs pageable */ + +export interface SearchTxsResultSDKType { + /** Count of all txs */ + total_count: Long; + /** Count of txs in current page */ + + count: Long; + /** Index of current page, start from 1 */ + + page_number: Long; + /** Count of total pages */ + + page_total: Long; + /** Max count txs per page */ + + limit: Long; + /** List of txs in current page */ + + txs: TxResponseSDKType[]; +} function createBaseTxResponse(): TxResponse { return { @@ -334,54 +520,6 @@ export const TxResponse = { return message; }, - fromJSON(object: any): TxResponse { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -457,28 +595,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; @@ -535,26 +651,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 ?? ""; @@ -610,20 +706,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 ?? ""; @@ -679,20 +761,6 @@ export const GasInfo = { return message; }, - fromJSON(object: any): GasInfo { - return { - gasWanted: isSet(object.gasWanted) ? Long.fromString(object.gasWanted) : Long.UZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.UZERO - }; - }, - - toJSON(message: GasInfo): unknown { - const obj: any = {}; - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.UZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GasInfo { const message = createBaseGasInfo(); message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; @@ -766,35 +834,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(); @@ -852,20 +891,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; @@ -921,20 +946,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 ?? ""; @@ -990,31 +1001,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)) || []; @@ -1106,34 +1092,6 @@ export const SearchTxsResult = { return message; }, - fromJSON(object: any): SearchTxsResult { - return { - totalCount: isSet(object.totalCount) ? Long.fromString(object.totalCount) : Long.UZERO, - count: isSet(object.count) ? Long.fromString(object.count) : Long.UZERO, - pageNumber: isSet(object.pageNumber) ? Long.fromString(object.pageNumber) : Long.UZERO, - pageTotal: isSet(object.pageTotal) ? Long.fromString(object.pageTotal) : Long.UZERO, - limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.count !== undefined && (obj.count = (message.count || Long.UZERO).toString()); - message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || Long.UZERO).toString()); - message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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 ? Long.fromValue(object.totalCount) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts index a925f2346..90713754f 100644 --- a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts +++ b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts @@ -1,16 +1,26 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** Pairs defines a repeated slice of Pair objects. */ + export interface Pairs { pairs: Pair[]; } +/** 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; } +/** Pair defines a key/value bytes tuple. */ + +export interface PairSDKType { + key: Uint8Array; + value: Uint8Array; +} function createBasePairs(): Pairs { return { @@ -49,24 +59,6 @@ export const Pairs = { 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)) || []; @@ -121,20 +113,6 @@ export const Pair = { 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(); diff --git a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts index a1896f5f0..51c783184 100644 --- a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts +++ b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: @@ -10,43 +9,89 @@ import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helper * 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; - + 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; + 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; + 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; + countTotal?: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ - reverse: boolean; + + reverse?: boolean; } +/** + * 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 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. + */ + + 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; +} /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. @@ -56,18 +101,43 @@ export interface PageRequest { * 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; + nextKey?: Uint8Array; + /** + * total is total number of results available if PageRequest.count_total + * was set, its value is undefined otherwise + */ + total: Long; +} +/** + * 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 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: Long; } @@ -144,26 +214,6 @@ export const PageRequest = { return message; }, - fromJSON(object: any): PageRequest { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - offset: isSet(object.offset) ? Long.fromString(object.offset) : Long.UZERO, - limit: isSet(object.limit) ? Long.fromString(object.limit) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).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(); @@ -222,20 +272,6 @@ export const PageResponse = { return message; }, - fromJSON(object: any): PageResponse { - return { - nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array(), - total: isSet(object.total) ? Long.fromString(object.total) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): PageResponse { const message = createBasePageResponse(); message.nextKey = object.nextKey ?? new Uint8Array(); diff --git a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts index 42369d351..61e3d78bd 100644 --- a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -1,31 +1,56 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ + export interface ListAllInterfacesRequest {} +/** 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[]; } +/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ +export interface ListAllInterfacesResponseSDKType { + /** interface_names is an array of all the registered interfaces. */ + 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; } +/** + * ListImplementationsRequest is the request type of the ListImplementations + * RPC. + */ +export interface ListImplementationsRequestSDKType { + /** interface_name defines the interface to query the implementations for. */ + interface_name: string; +} /** * ListImplementationsResponse is the response type of the ListImplementations * RPC. */ + export interface ListImplementationsResponse { implementationMessageNames: string[]; } +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ + +export interface ListImplementationsResponseSDKType { + implementation_message_names: string[]; +} function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { return {}; @@ -54,15 +79,6 @@ export const ListAllInterfacesRequest = { return message; }, - fromJSON(_: any): ListAllInterfacesRequest { - return {}; - }, - - toJSON(_: ListAllInterfacesRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): ListAllInterfacesRequest { const message = createBaseListAllInterfacesRequest(); return message; @@ -85,7 +101,7 @@ export const ListAllInterfacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListAllInterfacesResponse(); @@ -107,24 +123,6 @@ export const ListAllInterfacesResponse = { 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) || []; @@ -170,18 +168,6 @@ export const ListImplementationsRequest = { 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 ?? ""; @@ -205,7 +191,7 @@ export const ListImplementationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListImplementationsResponse(); @@ -227,24 +213,6 @@ export const ListImplementationsResponse = { 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) || []; diff --git a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts index d629b4537..eb34c7e64 100644 --- a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -1,31 +1,54 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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 | undefined; - /** chain provides the chain descriptor */ - chain: ChainDescriptor | undefined; + chain: ChainDescriptor | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor | undefined; + codec: CodecDescriptor | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor | undefined; + configuration: ConfigurationDescriptor | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor | undefined; + queryServices: QueryServicesDescriptor | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ + tx: TxDescriptor | undefined; } +/** AppDescriptor describes a cosmos-sdk based application */ + +export interface AppDescriptorSDKType { + /** + * AuthnDescriptor provides information on how to authenticate transactions on the application + * NOTE: experimental and subject to change in future releases. + */ + authn: AuthnDescriptorSDKType | undefined; + /** chain provides the chain descriptor */ + + chain: ChainDescriptorSDKType | undefined; + /** codec provides metadata information regarding codec related types */ + codec: CodecDescriptorSDKType | undefined; + /** configuration provides metadata information regarding the sdk.Config type */ + + configuration: ConfigurationDescriptorSDKType | undefined; + /** query_services provides metadata information regarding the available queriable endpoints */ + + query_services: QueryServicesDescriptorSDKType | undefined; + /** tx provides metadata information regarding how to send transactions to the given application */ + + tx: TxDescriptorSDKType | undefined; +} /** 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) @@ -33,158 +56,317 @@ export interface TxDescriptor { * 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[]; } +/** TxDescriptor describes the accepted transaction type */ +export interface TxDescriptorSDKType { + /** + * 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: 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[]; } +/** + * AuthnDescriptor provides information on how to sign transactions without relying + * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures + */ +export interface AuthnDescriptorSDKType { + /** sign_modes defines the supported signature algorithm */ + 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; + 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; } +/** + * 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 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; +} /** ChainDescriptor describes chain information of the application */ + export interface ChainDescriptor { /** id is the chain id */ id: string; } +/** ChainDescriptor describes chain information of the application */ +export interface ChainDescriptorSDKType { + /** id is the chain id */ + 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[]; } +/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ +export interface CodecDescriptorSDKType { + /** interfaces is a list of the registerted interfaces descriptors */ + 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[]; + interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; /** interface_implementers is a list of the descriptors of the interface implementers */ + interfaceImplementers: InterfaceImplementerDescriptor[]; } +/** InterfaceDescriptor describes the implementation of an interface */ +export interface InterfaceDescriptorSDKType { + /** 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: InterfaceAcceptingMessageDescriptorSDKType[]; + /** interface_implementers is a list of the descriptors of the interface implementers */ + + 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; } +/** InterfaceImplementerDescriptor describes an interface implementer */ + +export interface InterfaceImplementerDescriptorSDKType { + /** 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; +} /** * 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[]; } +/** + * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains + * an interface represented as a google.protobuf.Any + */ +export interface InterfaceAcceptingMessageDescriptorSDKType { + /** 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[]; +} /** ConfigurationDescriptor contains metadata information on the sdk.Config */ + export interface ConfigurationDescriptor { /** bech32_account_address_prefix is the account address prefix */ bech32AccountAddressPrefix: string; } +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ +export interface ConfigurationDescriptorSDKType { + /** bech32_account_address_prefix is the account address prefix */ + 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; } +/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ +export interface MsgDescriptorSDKType { + /** msg_type_url contains the TypeURL of a sdk.Msg. */ + msg_type_url: string; +} /** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ + export interface GetAuthnDescriptorRequest {} +/** 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 | undefined; } +/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ +export interface GetAuthnDescriptorResponseSDKType { + /** authn describes how to authenticate to the application when sending transactions */ + authn: AuthnDescriptorSDKType | undefined; +} /** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ + export interface GetChainDescriptorRequest {} +/** 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 | undefined; } +/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ +export interface GetChainDescriptorResponseSDKType { + /** chain describes application chain information */ + chain: ChainDescriptorSDKType | undefined; +} /** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ + export interface GetCodecDescriptorRequest {} +/** 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 | undefined; } +/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ +export interface GetCodecDescriptorResponseSDKType { + /** codec describes the application codec such as registered interfaces and implementations */ + codec: CodecDescriptorSDKType | undefined; +} /** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ + export interface GetConfigurationDescriptorRequest {} +/** 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 | undefined; } +/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ +export interface GetConfigurationDescriptorResponseSDKType { + /** config describes the application's sdk.Config */ + config: ConfigurationDescriptorSDKType | undefined; +} /** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ + export interface GetQueryServicesDescriptorRequest {} +/** 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 | undefined; } +/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ +export interface GetQueryServicesDescriptorResponseSDKType { + /** queries provides information on the available queryable services */ + queries: QueryServicesDescriptorSDKType | undefined; +} /** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ + export interface GetTxDescriptorRequest {} +/** 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 @@ -192,40 +374,83 @@ export interface GetTxDescriptorResponse { */ tx: TxDescriptor | undefined; } +/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ +export interface GetTxDescriptorResponseSDKType { + /** + * tx provides information on msgs that can be forwarded to the application + * alongside the accepted transaction protobuf type + */ + tx: TxDescriptorSDKType | undefined; +} /** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ + export interface QueryServicesDescriptor { /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ queryServices: QueryServiceDescriptor[]; } +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ +export interface QueryServicesDescriptorSDKType { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + 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; + isModule: boolean; /** methods provides a list of query service methods */ + methods: QueryMethodDescriptor[]; } +/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ + +export interface QueryServiceDescriptorSDKType { + /** 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: 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; } +/** + * 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 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; +} function createBaseAppDescriptor(): AppDescriptor { return { @@ -309,28 +534,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; @@ -390,26 +593,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 ?? ""; @@ -456,24 +639,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)) || []; @@ -537,22 +702,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 ?? ""; @@ -600,18 +749,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 ?? ""; @@ -657,24 +794,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)) || []; @@ -738,33 +857,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 ?? ""; @@ -821,20 +913,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 ?? ""; @@ -890,26 +968,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 ?? ""; @@ -956,18 +1014,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 ?? ""; @@ -1013,18 +1059,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 ?? ""; @@ -1060,15 +1094,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; @@ -1091,7 +1116,7 @@ export const GetAuthnDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetAuthnDescriptorResponse(); @@ -1113,18 +1138,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; @@ -1160,15 +1173,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; @@ -1191,7 +1195,7 @@ export const GetChainDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetChainDescriptorResponse(); @@ -1213,18 +1217,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; @@ -1260,15 +1252,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; @@ -1291,7 +1274,7 @@ export const GetCodecDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetCodecDescriptorResponse(); @@ -1313,18 +1296,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; @@ -1360,15 +1331,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; @@ -1391,7 +1353,7 @@ export const GetConfigurationDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetConfigurationDescriptorResponse(); @@ -1413,18 +1375,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; @@ -1460,15 +1410,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; @@ -1491,7 +1432,7 @@ export const GetQueryServicesDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetQueryServicesDescriptorResponse(); @@ -1513,18 +1454,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; @@ -1560,15 +1489,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; @@ -1591,7 +1511,7 @@ export const GetTxDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxDescriptorResponse(); @@ -1613,18 +1533,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; @@ -1670,24 +1578,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)) || []; @@ -1751,28 +1641,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 ?? ""; @@ -1829,20 +1697,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/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts index 7b831c728..7a889d0f6 100644 --- a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -1,7 +1,7 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Snapshot contains Tendermint state sync snapshot info. */ + export interface Snapshot { height: Long; format: number; @@ -9,14 +9,29 @@ export interface Snapshot { hash: Uint8Array; metadata: Metadata | undefined; } +/** Snapshot contains Tendermint state sync snapshot info. */ +export interface SnapshotSDKType { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata: MetadataSDKType | undefined; +} /** Metadata contains SDK-specific snapshot metadata. */ + export interface Metadata { /** SHA-256 chunk hashes */ chunkHashes: Uint8Array[]; } +/** Metadata contains SDK-specific snapshot metadata. */ +export interface MetadataSDKType { + /** SHA-256 chunk hashes */ + chunk_hashes: Uint8Array[]; +} /** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ + export interface SnapshotItem { store?: SnapshotStoreItem | undefined; iavl?: SnapshotIAVLItem | undefined; @@ -25,45 +40,94 @@ export interface SnapshotItem { kv?: SnapshotKVItem | undefined; schema?: SnapshotSchema | undefined; } +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ +export interface SnapshotItemSDKType { + store?: SnapshotStoreItemSDKType | undefined; + iavl?: SnapshotIAVLItemSDKType | undefined; + extension?: SnapshotExtensionMetaSDKType | undefined; + extension_payload?: SnapshotExtensionPayloadSDKType | undefined; + kv?: SnapshotKVItemSDKType | undefined; + schema?: SnapshotSchemaSDKType | undefined; +} /** SnapshotStoreItem contains metadata about a snapshotted store. */ + export interface SnapshotStoreItem { name: string; } +/** SnapshotStoreItem contains metadata about a snapshotted store. */ +export interface SnapshotStoreItemSDKType { + name: string; +} /** SnapshotIAVLItem is an exported IAVL node. */ + export interface SnapshotIAVLItem { key: Uint8Array; value: Uint8Array; - /** version is block height */ - version: Long; + version: Long; /** height is depth of the tree. */ + height: number; } +/** SnapshotIAVLItem is an exported IAVL node. */ + +export interface SnapshotIAVLItemSDKType { + key: Uint8Array; + value: Uint8Array; + /** version is block height */ + + version: Long; + /** height is depth of the tree. */ + height: number; +} /** SnapshotExtensionMeta contains metadata about an external snapshotter. */ + export interface SnapshotExtensionMeta { name: string; format: number; } +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ +export interface SnapshotExtensionMetaSDKType { + name: string; + format: number; +} /** SnapshotExtensionPayload contains payloads of an external snapshotter. */ + export interface SnapshotExtensionPayload { payload: Uint8Array; } +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ +export interface SnapshotExtensionPayloadSDKType { + payload: Uint8Array; +} /** SnapshotKVItem is an exported Key/Value Pair */ + export interface SnapshotKVItem { key: Uint8Array; value: Uint8Array; } +/** SnapshotKVItem is an exported Key/Value Pair */ +export interface SnapshotKVItemSDKType { + key: Uint8Array; + value: Uint8Array; +} /** SnapshotSchema is an exported schema of smt store */ + export interface SnapshotSchema { keys: Uint8Array[]; } +/** SnapshotSchema is an exported schema of smt store */ + +export interface SnapshotSchemaSDKType { + keys: Uint8Array[]; +} function createBaseSnapshot(): Snapshot { return { @@ -138,26 +202,6 @@ export const Snapshot = { return message; }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; @@ -207,24 +251,6 @@ export const Metadata = { 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) || []; @@ -315,28 +341,6 @@ export const SnapshotItem = { 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; @@ -387,18 +391,6 @@ export const SnapshotStoreItem = { 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 ?? ""; @@ -471,24 +463,6 @@ export const SnapshotIAVLItem = { 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) ? Long.fromString(object.version) : Long.ZERO, - 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 || Long.ZERO).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(); @@ -546,20 +520,6 @@ export const SnapshotExtensionMeta = { 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 ?? ""; @@ -606,18 +566,6 @@ export const SnapshotExtensionPayload = { 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(); @@ -672,20 +620,6 @@ export const SnapshotKVItem = { 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(); @@ -732,24 +666,6 @@ export const SnapshotSchema = { 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) || []; diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts index 5d7a60120..c1e7928b5 100644 --- a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -1,32 +1,59 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * CommitInfo defines commit information used by the multi-store when committing * a version/height. */ + export interface CommitInfo { version: Long; storeInfos: StoreInfo[]; } +/** + * 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 | undefined; } +/** + * 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 | undefined; +} /** * CommitID defines the committment information when a specific store is * committed. */ + export interface CommitID { version: Long; hash: Uint8Array; } +/** + * CommitID defines the committment information when a specific store is + * committed. + */ + +export interface CommitIDSDKType { + version: Long; + hash: Uint8Array; +} function createBaseCommitInfo(): CommitInfo { return { @@ -74,26 +101,6 @@ export const CommitInfo = { return message; }, - fromJSON(object: any): CommitInfo { - return { - version: isSet(object.version) ? Long.fromString(object.version) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; @@ -149,20 +156,6 @@ export const StoreInfo = { 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 ?? ""; @@ -218,20 +211,6 @@ export const CommitID = { return message; }, - fromJSON(object: any): CommitID { - return { - version: isSet(object.version) ? Long.fromString(object.version) : Long.ZERO, - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - - toJSON(message: CommitID): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || Long.ZERO).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 ? Long.fromValue(object.version) : Long.ZERO; diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts index f0a4203f7..9ca6d2365 100644 --- a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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 @@ -8,11 +6,29 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * * 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; +} +/** + * 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 { + /** 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; @@ -82,24 +98,6 @@ export const StoreKVPair = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..ae69c027c --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts @@ -0,0 +1,81 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } 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); + } + /* 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); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts index 641acd5b4..bcce00d01 100644 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -1,34 +1,30 @@ -import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { BlockID } from "../../../../tendermint/types/types"; -import { Block } from "../../../../tendermint/types/block"; -import { NodeInfo } from "../../../../tendermint/p2p/types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; /** Service defines the RPC service */ + export interface Service { - getNodeInfo(request: GetNodeInfoRequest): Promise; + getNodeInfo(request?: GetNodeInfoRequest): Promise; /*GetNodeInfo queries the current node info.*/ - getSyncing(request: GetSyncingRequest): Promise; + getSyncing(request?: GetSyncingRequest): Promise; /*GetSyncing queries node syncing.*/ - getLatestBlock(request: GetLatestBlockRequest): Promise; + getLatestBlock(request?: GetLatestBlockRequest): Promise; /*GetLatestBlock returns the latest block.*/ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; + getBlockByHeight(request: GetBlockByHeightRequest): Promise; /*GetBlockByHeight queries block for given height.*/ - getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise; + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; /*GetLatestValidatorSet queries latest validator-set.*/ - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; /*GetValidatorSetByHeight queries validator-set at a given height.*/ } -export class ServiceClientImpl implements Service { +export class QueryClientImpl implements Service { private readonly rpc: Rpc; constructor(rpc: Rpc) { @@ -41,40 +37,72 @@ export class ServiceClientImpl implements Service { this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); } - getNodeInfo(request: GetNodeInfoRequest): Promise { + 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 _m0.Reader(data))); } - getSyncing(request: GetSyncingRequest): Promise { + 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 _m0.Reader(data))); } - getLatestBlock(request: GetLatestBlockRequest): Promise { + 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 _m0.Reader(data))); } - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + 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 _m0.Reader(data))); } - getLatestValidatorSet(request: GetLatestValidatorSetRequest): Promise { + 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 _m0.Reader(data))); } - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(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); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts index f4308c229..cc211d1d6 100644 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -1,89 +1,166 @@ -import { PageRequest, PageResponse } from "../../query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { BlockID } from "../../../../tendermint/types/types"; -import { Block } from "../../../../tendermint/types/block"; -import { NodeInfo } from "../../../../tendermint/p2p/types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../../tendermint/types/block"; +import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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 | undefined; } +/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetValidatorSetByHeightRequestSDKType { + height: Long; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetValidatorSetByHeightResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + pagination?: PageResponseSDKType | undefined; +} /** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ + export interface GetLatestValidatorSetRequest { /** pagination defines an pagination for the request. */ pagination?: PageRequest | undefined; } +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetRequestSDKType { + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ +export interface GetLatestValidatorSetResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** Validator is the type for the validator-set. */ + export interface Validator { address: string; pubKey: Any | undefined; votingPower: Long; proposerPriority: Long; } +/** Validator is the type for the validator-set. */ +export interface ValidatorSDKType { + address: string; + pub_key: AnySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} /** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ + export interface GetBlockByHeightRequest { height: Long; } +/** 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 | undefined; block: Block | undefined; } +/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ +export interface GetBlockByHeightResponseSDKType { + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; +} /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ + export interface GetLatestBlockRequest {} +/** 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 | undefined; block: Block | undefined; } +/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ +export interface GetLatestBlockResponseSDKType { + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; +} /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ + export interface GetSyncingRequest {} +/** 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; } +/** 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 {} +/** 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 { nodeInfo: NodeInfo | undefined; applicationVersion: VersionInfo | undefined; } +/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ +export interface GetNodeInfoResponseSDKType { + node_info: NodeInfoSDKType | undefined; + application_version: VersionInfoSDKType | undefined; +} /** VersionInfo is the type for the GetNodeInfoResponse message. */ + export interface VersionInfo { name: string; appName: string; @@ -92,20 +169,46 @@ export interface VersionInfo { buildTags: string; goVersion: string; buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ + cosmosSdkVersion: string; } +/** 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[]; + /** Since: cosmos-sdk 0.43 */ + + cosmos_sdk_version: string; +} /** Module is the type for VersionInfo */ + export interface Module { /** module path */ path: string; - /** module version */ + version: string; + /** checksum */ + sum: string; +} +/** Module is the type for VersionInfo */ + +export interface ModuleSDKType { + /** module path */ + path: string; + /** module version */ + + version: string; /** checksum */ + sum: string; } @@ -155,20 +258,6 @@ export const GetValidatorSetByHeightRequest = { return message; }, - fromJSON(object: any): GetValidatorSetByHeightRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: GetValidatorSetByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -203,7 +292,7 @@ export const GetValidatorSetByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetValidatorSetByHeightResponse(); @@ -233,28 +322,6 @@ export const GetValidatorSetByHeightResponse = { return message; }, - fromJSON(object: any): GetValidatorSetByHeightResponse { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; @@ -302,18 +369,6 @@ export const GetLatestValidatorSetRequest = { 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; @@ -347,7 +402,7 @@ export const GetLatestValidatorSetResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestValidatorSetResponse(); @@ -377,28 +432,6 @@ export const GetLatestValidatorSetResponse = { return message; }, - fromJSON(object: any): GetLatestValidatorSetResponse { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.blockHeight) : Long.ZERO; @@ -473,24 +506,6 @@ export const Validator = { 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) ? Long.fromString(object.votingPower) : Long.ZERO, - proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? ""; @@ -539,18 +554,6 @@ export const GetBlockByHeightRequest = { return message; }, - fromJSON(object: any): GetBlockByHeightRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: GetBlockByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightRequest { const message = createBaseGetBlockByHeightRequest(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -579,7 +582,7 @@ export const GetBlockByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockByHeightResponse(); @@ -605,20 +608,6 @@ export const GetBlockByHeightResponse = { return message; }, - fromJSON(object: any): GetBlockByHeightResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightResponse { const message = createBaseGetBlockByHeightResponse(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -655,15 +644,6 @@ export const GetLatestBlockRequest = { return message; }, - fromJSON(_: any): GetLatestBlockRequest { - return {}; - }, - - toJSON(_: GetLatestBlockRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetLatestBlockRequest { const message = createBaseGetLatestBlockRequest(); return message; @@ -691,7 +671,7 @@ export const GetLatestBlockResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestBlockResponse(); @@ -717,20 +697,6 @@ export const GetLatestBlockResponse = { return message; }, - fromJSON(object: any): GetLatestBlockResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block.fromJSON(object.block) : 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 ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: Partial): GetLatestBlockResponse { const message = createBaseGetLatestBlockResponse(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -767,15 +733,6 @@ export const GetSyncingRequest = { return message; }, - fromJSON(_: any): GetSyncingRequest { - return {}; - }, - - toJSON(_: GetSyncingRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetSyncingRequest { const message = createBaseGetSyncingRequest(); return message; @@ -798,7 +755,7 @@ export const GetSyncingResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetSyncingResponse(); @@ -820,18 +777,6 @@ export const GetSyncingResponse = { 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; @@ -867,15 +812,6 @@ export const GetNodeInfoRequest = { return message; }, - fromJSON(_: any): GetNodeInfoRequest { - return {}; - }, - - toJSON(_: GetNodeInfoRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetNodeInfoRequest { const message = createBaseGetNodeInfoRequest(); return message; @@ -903,7 +839,7 @@ export const GetNodeInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetNodeInfoResponse(); @@ -929,20 +865,6 @@ export const GetNodeInfoResponse = { return message; }, - fromJSON(object: any): GetNodeInfoResponse { - return { - nodeInfo: isSet(object.nodeInfo) ? NodeInfo.fromJSON(object.nodeInfo) : undefined, - applicationVersion: isSet(object.applicationVersion) ? VersionInfo.fromJSON(object.applicationVersion) : undefined - }; - }, - - toJSON(message: GetNodeInfoResponse): unknown { - const obj: any = {}; - message.nodeInfo !== undefined && (obj.nodeInfo = message.nodeInfo ? NodeInfo.toJSON(message.nodeInfo) : undefined); - message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); - return obj; - }, - fromPartial(object: Partial): GetNodeInfoResponse { const message = createBaseGetNodeInfoResponse(); message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; @@ -1052,38 +974,6 @@ export const VersionInfo = { 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 ?? ""; @@ -1154,22 +1044,6 @@ export const Module = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts index 524d3fcfe..9b5b3269c 100644 --- a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts +++ b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts @@ -1,37 +1,68 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; } +/** + * 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; } +/** + * 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; } +/** 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; } +/** DecProto defines a Protobuf wrapper around a Dec object. */ + +export interface DecProtoSDKType { + dec: string; +} function createBaseCoin(): Coin { return { @@ -79,20 +110,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 ?? ""; @@ -148,20 +165,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 ?? ""; @@ -208,18 +211,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 ?? ""; @@ -265,18 +256,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/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts index a3170e685..f3ebb0d52 100644 --- a/examples/telescope/codegen/cosmos/bundle.ts +++ b/examples/telescope/codegen/cosmos/bundle.ts @@ -121,59 +121,61 @@ import * as _173 from "./vesting/v1beta1/tx.registry"; import * as _174 from "./auth/v1beta1/query.lcd"; import * as _175 from "./authz/v1beta1/query.lcd"; import * as _176 from "./bank/v1beta1/query.lcd"; -import * as _177 from "./distribution/v1beta1/query.lcd"; -import * as _178 from "./evidence/v1beta1/query.lcd"; -import * as _179 from "./feegrant/v1beta1/query.lcd"; -import * as _180 from "./gov/v1/query.lcd"; -import * as _181 from "./gov/v1beta1/query.lcd"; -import * as _182 from "./group/v1/query.lcd"; -import * as _183 from "./mint/v1beta1/query.lcd"; -import * as _184 from "./nft/v1beta1/query.lcd"; -import * as _185 from "./params/v1beta1/query.lcd"; -import * as _186 from "./slashing/v1beta1/query.lcd"; -import * as _187 from "./staking/v1beta1/query.lcd"; -import * as _188 from "./upgrade/v1beta1/query.lcd"; -import * as _189 from "./app/v1alpha1/query.rpc.query"; -import * as _190 from "./auth/v1beta1/query.rpc.query"; -import * as _191 from "./authz/v1beta1/query.rpc.query"; -import * as _192 from "./bank/v1beta1/query.rpc.query"; -import * as _193 from "./base/tendermint/v1beta1/query.rpc.svc"; -import * as _194 from "./distribution/v1beta1/query.rpc.query"; -import * as _195 from "./evidence/v1beta1/query.rpc.query"; -import * as _196 from "./feegrant/v1beta1/query.rpc.query"; -import * as _197 from "./gov/v1/query.rpc.query"; -import * as _198 from "./gov/v1beta1/query.rpc.query"; -import * as _199 from "./group/v1/query.rpc.query"; -import * as _200 from "./mint/v1beta1/query.rpc.query"; -import * as _201 from "./nft/v1beta1/query.rpc.query"; -import * as _202 from "./params/v1beta1/query.rpc.query"; -import * as _203 from "./slashing/v1beta1/query.rpc.query"; -import * as _204 from "./staking/v1beta1/query.rpc.query"; -import * as _205 from "./tx/v1beta1/service.rpc.svc"; -import * as _206 from "./upgrade/v1beta1/query.rpc.query"; -import * as _207 from "./authz/v1beta1/tx.rpc.msg"; -import * as _208 from "./bank/v1beta1/tx.rpc.msg"; -import * as _209 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _210 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _211 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _212 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _213 from "./gov/v1/tx.rpc.msg"; -import * as _214 from "./gov/v1beta1/tx.rpc.msg"; -import * as _215 from "./group/v1/tx.rpc.msg"; -import * as _216 from "./nft/v1beta1/tx.rpc.msg"; -import * as _217 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _218 from "./staking/v1beta1/tx.rpc.msg"; -import * as _219 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _220 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _247 from "./lcd"; -import * as _248 from "./rpc.query"; -import * as _249 from "./rpc.tx"; +import * as _177 from "./base/tendermint/v1beta1/query.lcd"; +import * as _178 from "./distribution/v1beta1/query.lcd"; +import * as _179 from "./evidence/v1beta1/query.lcd"; +import * as _180 from "./feegrant/v1beta1/query.lcd"; +import * as _181 from "./gov/v1/query.lcd"; +import * as _182 from "./gov/v1beta1/query.lcd"; +import * as _183 from "./group/v1/query.lcd"; +import * as _184 from "./mint/v1beta1/query.lcd"; +import * as _185 from "./nft/v1beta1/query.lcd"; +import * as _186 from "./params/v1beta1/query.lcd"; +import * as _187 from "./slashing/v1beta1/query.lcd"; +import * as _188 from "./staking/v1beta1/query.lcd"; +import * as _189 from "./tx/v1beta1/service.lcd"; +import * as _190 from "./upgrade/v1beta1/query.lcd"; +import * as _191 from "./app/v1alpha1/query.rpc.query"; +import * as _192 from "./auth/v1beta1/query.rpc.query"; +import * as _193 from "./authz/v1beta1/query.rpc.query"; +import * as _194 from "./bank/v1beta1/query.rpc.query"; +import * as _195 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _196 from "./distribution/v1beta1/query.rpc.query"; +import * as _197 from "./evidence/v1beta1/query.rpc.query"; +import * as _198 from "./feegrant/v1beta1/query.rpc.query"; +import * as _199 from "./gov/v1/query.rpc.query"; +import * as _200 from "./gov/v1beta1/query.rpc.query"; +import * as _201 from "./group/v1/query.rpc.query"; +import * as _202 from "./mint/v1beta1/query.rpc.query"; +import * as _203 from "./nft/v1beta1/query.rpc.query"; +import * as _204 from "./params/v1beta1/query.rpc.query"; +import * as _205 from "./slashing/v1beta1/query.rpc.query"; +import * as _206 from "./staking/v1beta1/query.rpc.query"; +import * as _207 from "./tx/v1beta1/service.rpc.svc"; +import * as _208 from "./upgrade/v1beta1/query.rpc.query"; +import * as _209 from "./authz/v1beta1/tx.rpc.msg"; +import * as _210 from "./bank/v1beta1/tx.rpc.msg"; +import * as _211 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _212 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _213 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _214 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _215 from "./gov/v1/tx.rpc.msg"; +import * as _216 from "./gov/v1beta1/tx.rpc.msg"; +import * as _217 from "./group/v1/tx.rpc.msg"; +import * as _218 from "./nft/v1beta1/tx.rpc.msg"; +import * as _219 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _220 from "./staking/v1beta1/tx.rpc.msg"; +import * as _221 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _222 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _249 from "./lcd"; +import * as _250 from "./rpc.query"; +import * as _251 from "./rpc.tx"; export namespace cosmos { export namespace app { export const v1alpha1 = { ..._2, ..._3, ..._4, - ..._189 + ..._191 }; } export namespace auth { @@ -181,7 +183,7 @@ export namespace cosmos { ..._6, ..._7, ..._174, - ..._190 + ..._192 }; } export namespace authz { @@ -193,8 +195,8 @@ export namespace cosmos { ..._146, ..._160, ..._175, - ..._191, - ..._207 + ..._193, + ..._209 }; } export namespace bank { @@ -206,8 +208,8 @@ export namespace cosmos { ..._147, ..._161, ..._176, - ..._192, - ..._208 + ..._194, + ..._210 }; } export namespace base { @@ -240,7 +242,8 @@ export namespace cosmos { } export namespace tendermint { export const v1beta1 = { ..._26, - ..._193 + ..._177, + ..._195 }; } export const v1beta1 = { ..._27 @@ -256,7 +259,7 @@ export namespace cosmos { ..._31, ..._148, ..._162, - ..._209 + ..._211 }; } export namespace crypto { @@ -284,9 +287,9 @@ export namespace cosmos { ..._41, ..._149, ..._163, - ..._177, - ..._194, - ..._210 + ..._178, + ..._196, + ..._212 }; } export namespace evidence { @@ -296,9 +299,9 @@ export namespace cosmos { ..._45, ..._150, ..._164, - ..._178, - ..._195, - ..._211 + ..._179, + ..._197, + ..._213 }; } export namespace feegrant { @@ -308,9 +311,9 @@ export namespace cosmos { ..._49, ..._151, ..._165, - ..._179, - ..._196, - ..._212 + ..._180, + ..._198, + ..._214 }; } export namespace genutil { @@ -324,9 +327,9 @@ export namespace cosmos { ..._54, ..._152, ..._166, - ..._180, - ..._197, - ..._213 + ..._181, + ..._199, + ..._215 }; export const v1beta1 = { ..._55, ..._56, @@ -334,9 +337,9 @@ export namespace cosmos { ..._58, ..._153, ..._167, - ..._181, - ..._198, - ..._214 + ..._182, + ..._200, + ..._216 }; } export namespace group { @@ -347,17 +350,17 @@ export namespace cosmos { ..._63, ..._154, ..._168, - ..._182, - ..._199, - ..._215 + ..._183, + ..._201, + ..._217 }; } export namespace mint { export const v1beta1 = { ..._64, ..._65, ..._66, - ..._183, - ..._200 + ..._184, + ..._202 }; } export namespace msg { @@ -372,9 +375,9 @@ export namespace cosmos { ..._72, ..._155, ..._169, - ..._184, - ..._201, - ..._216 + ..._185, + ..._203, + ..._218 }; } export namespace orm { @@ -386,8 +389,8 @@ export namespace cosmos { export namespace params { export const v1beta1 = { ..._75, ..._76, - ..._185, - ..._202 + ..._186, + ..._204 }; } export namespace slashing { @@ -397,9 +400,9 @@ export namespace cosmos { ..._80, ..._156, ..._170, - ..._186, - ..._203, - ..._217 + ..._187, + ..._205, + ..._219 }; } export namespace staking { @@ -410,9 +413,9 @@ export namespace cosmos { ..._85, ..._157, ..._171, - ..._187, - ..._204, - ..._218 + ..._188, + ..._206, + ..._220 }; } export namespace tx { @@ -422,7 +425,8 @@ export namespace cosmos { } export const v1beta1 = { ..._87, ..._88, - ..._205 + ..._189, + ..._207 }; } export namespace upgrade { @@ -431,9 +435,9 @@ export namespace cosmos { ..._91, ..._158, ..._172, - ..._188, - ..._206, - ..._219 + ..._190, + ..._208, + ..._221 }; } export namespace vesting { @@ -441,11 +445,11 @@ export namespace cosmos { ..._93, ..._159, ..._173, - ..._220 + ..._222 }; } - export const ClientFactory = { ..._247, - ..._248, - ..._249 + export const ClientFactory = { ..._249, + ..._250, + ..._251 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts index 271685c24..20eccc133 100644 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts @@ -1,30 +1,55 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * Capability defines an implementation of an object capability. The index * provided to a Capability must be globally unique. */ + export interface Capability { index: Long; } +/** + * 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; } +/** + * 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[]; } +/** + * 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 { @@ -63,18 +88,6 @@ export const Capability = { return message; }, - fromJSON(object: any): Capability { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO - }; - }, - - toJSON(message: Capability): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Capability { const message = createBaseCapability(); message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; @@ -129,20 +142,6 @@ export const Owner = { 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 ?? ""; @@ -189,24 +188,6 @@ export const CapabilityOwners = { 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)) || []; diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts index f35b17850..bfb716e1f 100644 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts @@ -1,27 +1,48 @@ -import { CapabilityOwners } from "./capability"; +import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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 | undefined; } +/** GenesisOwners defines the capability owners with their corresponding index. */ + +export interface GenesisOwnersSDKType { + /** index is the index of the capability owner. */ + index: Long; + /** index_owners are the owners at the given index. */ + index_owners: CapabilityOwnersSDKType | undefined; +} /** 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[]; } +/** GenesisState defines the capability module's genesis state. */ + +export interface GenesisStateSDKType { + /** 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: GenesisOwnersSDKType[]; +} function createBaseGenesisOwners(): GenesisOwners { return { @@ -69,20 +90,6 @@ export const GenesisOwners = { return message; }, - fromJSON(object: any): GenesisOwners { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO, - indexOwners: isSet(object.indexOwners) ? CapabilityOwners.fromJSON(object.indexOwners) : undefined - }; - }, - - toJSON(message: GenesisOwners): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; @@ -138,26 +145,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.index) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/client.ts b/examples/telescope/codegen/cosmos/client.ts index dc97ef93e..def39ffd3 100644 --- a/examples/telescope/codegen/cosmos/client.ts +++ b/examples/telescope/codegen/cosmos/client.ts @@ -1,5 +1,5 @@ -import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import { OfflineSigner, Registry } from "@cosmjs/proto-signing"; +import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry"; import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry"; import * as cosmosCrisisV1beta1TxRegistry from "./crisis/v1beta1/tx.registry"; diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts index 4fb027081..17bbfbcfd 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -1,8 +1,7 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 @@ -10,6 +9,15 @@ export interface GenesisState { */ constantFee: Coin | undefined; } +/** GenesisState defines the crisis module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * constant_fee is the fee used to verify the invariant in the crisis + * module. + */ + constant_fee: CoinSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -48,18 +56,6 @@ export const GenesisState = { 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; diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts index 42cab48f2..a3a6b31f5 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts @@ -24,24 +24,6 @@ export const MessageComposer = { }; } - }, - 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) { diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts index fd156a3be..5eacd96de 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; - +import { MsgVerifyInvariant, MsgVerifyInvariantResponse, MsgVerifyInvariantResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - verifyInvariant(request: MsgVerifyInvariant): Promise; + verifyInvariant(request: MsgVerifyInvariant): Promise; /*VerifyInvariant defines a method to verify a particular invariance.*/ } @@ -16,7 +16,7 @@ export class MsgClientImpl implements Msg { this.verifyInvariant = this.verifyInvariant.bind(this); } - verifyInvariant(request: MsgVerifyInvariant): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts index 267a67c7b..fd4879b80 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts @@ -1,15 +1,24 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgVerifyInvariant represents a message to verify a particular invariance. */ + export interface MsgVerifyInvariant { sender: string; invariantModuleName: string; invariantRoute: string; } +/** 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 {} +/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ + +export interface MsgVerifyInvariantResponseSDKType {} function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { return { @@ -66,22 +75,6 @@ export const MsgVerifyInvariant = { 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 ?? ""; @@ -101,7 +94,7 @@ export const MsgVerifyInvariantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVerifyInvariantResponse(); @@ -119,15 +112,6 @@ export const MsgVerifyInvariantResponse = { return message; }, - fromJSON(_: any): MsgVerifyInvariantResponse { - return {}; - }, - - toJSON(_: MsgVerifyInvariantResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgVerifyInvariantResponse { const message = createBaseMsgVerifyInvariantResponse(); return message; diff --git a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts index 1283cbc41..46b5d929a 100644 --- a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts +++ b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * PubKey is an ed25519 public key for handling Tendermint keys in SDK. * It's needed for Any serialization and SDK compatibility. @@ -8,17 +6,37 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * 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; } +/** + * 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; } +/** + * 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; +} function createBasePubKey(): PubKey { return { @@ -57,18 +75,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(); @@ -114,18 +120,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/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts index 93089b42a..9af6f6ba6 100644 --- a/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts +++ b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts @@ -1,26 +1,46 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 */ purpose: number; - /** coin_type is a constant that improves privacy */ - coinType: number; + coinType: number; /** account splits the key space into independent user identities */ - account: number; + 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; + change: boolean; /** address_index is used as child index in BIP32 derivation */ + addressIndex: number; } +/** BIP44Params is used as path field in ledger item in Record. */ + +export interface BIP44ParamsSDKType { + /** 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; +} function createBaseBIP44Params(): BIP44Params { return { @@ -95,26 +115,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/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts index be1c46066..ee28ed6c2 100644 --- a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts +++ b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts @@ -1,48 +1,88 @@ -import { Any } from "../../../../google/protobuf/any"; -import { BIP44Params } from "../../hd/v1/hd"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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 | undefined; + pubKey: Any | undefined; /** local stores the public information about a locally stored key */ - local?: Record_Local | undefined; + local?: Record_Local | undefined; /** ledger stores the public information about a Ledger key */ - ledger?: Record_Ledger | undefined; + ledger?: Record_Ledger | undefined; /** Multi does not store any information. */ - multi?: Record_Multi | undefined; + multi?: Record_Multi | undefined; /** Offline does not store any information. */ + offline?: Record_Offline | undefined; } +/** Record is used for representing a key in the keyring. */ + +export interface RecordSDKType { + /** name represents a name of Record */ + name: string; + /** pub_key represents a public key in any format */ + + pub_key: AnySDKType | undefined; + /** local stores the public information about a locally stored key */ + + local?: Record_LocalSDKType | undefined; + /** ledger stores the public information about a Ledger key */ + + ledger?: Record_LedgerSDKType | undefined; + /** Multi does not store any information. */ + multi?: Record_MultiSDKType | undefined; + /** Offline does not store any information. */ + + offline?: Record_OfflineSDKType | undefined; +} /** * Item is a keyring item stored in a keyring backend. * Local item */ + export interface Record_Local { privKey: Any | undefined; privKeyType: string; } +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ +export interface Record_LocalSDKType { + priv_key: AnySDKType | undefined; + priv_key_type: string; +} /** Ledger item */ + export interface Record_Ledger { path: BIP44Params | undefined; } +/** Ledger item */ +export interface Record_LedgerSDKType { + path: BIP44ParamsSDKType | undefined; +} /** Multi item */ + export interface Record_Multi {} +/** Multi item */ +export interface Record_MultiSDKType {} /** Offline item */ + export interface Record_Offline {} +/** Offline item */ + +export interface Record_OfflineSDKType {} function createBaseRecord(): Record { return { @@ -126,28 +166,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 ?? ""; @@ -207,20 +225,6 @@ export const Record_Local = { return message; }, - fromJSON(object: any): Record_Local { - return { - privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined, - privKeyType: isSet(object.privKeyType) ? String(object.privKeyType) : "" - }; - }, - - toJSON(message: Record_Local): unknown { - const obj: any = {}; - message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); - message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType); - return obj; - }, - fromPartial(object: Partial): Record_Local { const message = createBaseRecord_Local(); message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; @@ -267,18 +271,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; @@ -314,15 +306,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; @@ -357,15 +340,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/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts index 859eedc3b..fe7eab10c 100644 --- a/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts +++ b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts @@ -1,16 +1,25 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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[]; } +/** + * 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[]; +} function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { return { @@ -58,26 +67,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/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts index 9ba9d59c8..73f700800 100644 --- a/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +++ b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -1,25 +1,44 @@ import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes, isSet } from "@osmonauts/helpers"; - /** * 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[]; } +/** + * 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; } +/** + * 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; +} function createBaseMultiSignature(): MultiSignature { return { @@ -58,24 +77,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) || []; @@ -130,20 +131,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/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts index cc0a200bb..093f1fcc3 100644 --- a/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts +++ b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * PubKey defines a secp256k1 public key * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte @@ -8,14 +6,31 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * the x-coordinate. Otherwise the first byte is a 0x03. * This prefix is followed with the x-coordinate. */ + export interface PubKey { key: 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 PubKeySDKType { + key: Uint8Array; +} /** PrivKey defines a secp256k1 private key. */ + export interface PrivKey { key: Uint8Array; } +/** PrivKey defines a secp256k1 private key. */ + +export interface PrivKeySDKType { + key: Uint8Array; +} function createBasePubKey(): PubKey { return { @@ -54,18 +69,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(); @@ -111,18 +114,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/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts index f9b840c3f..cb4bc3b5f 100644 --- a/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts +++ b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** PubKey defines a secp256r1 ECDSA public key. */ + export interface PubKey { /** * Point on secp256r1 curve in a compressed representation as specified in section @@ -9,12 +8,27 @@ export interface PubKey { */ key: Uint8Array; } +/** PubKey defines a secp256r1 ECDSA public key. */ +export interface PubKeySDKType { + /** + * 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; +} /** PrivKey defines a secp256r1 ECDSA private key. */ + export interface PrivKey { /** secret number serialized using big-endian encoding */ secret: Uint8Array; } +/** PrivKey defines a secp256r1 ECDSA private key. */ + +export interface PrivKeySDKType { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} function createBasePubKey(): PubKey { return { @@ -53,18 +67,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(); @@ -110,18 +112,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/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts index 9bcd72a40..591a636ee 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -1,15 +1,22 @@ -import { DecCoin, Coin } from "../../base/v1beta1/coin"; +import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Params defines the set of params for the distribution module. */ + export interface Params { communityTax: string; baseProposerReward: string; bonusProposerReward: string; withdrawAddrEnabled: boolean; } +/** 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. @@ -24,70 +31,148 @@ export interface Params { * read that record) * + one per validator for the zeroeth period, set on initialization */ + export interface ValidatorHistoricalRewards { cumulativeRewardRatio: DecCoin[]; referenceCount: number; } +/** + * 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; } +/** + * 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[]; } +/** + * 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[]; } +/** + * 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; } +/** + * 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[]; } +/** 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[]; } +/** 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 { title: string; description: string; recipient: string; amount: Coin[]; } +/** + * 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 { + 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 @@ -96,25 +181,49 @@ export interface CommunityPoolSpendProposal { * 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; } +/** + * 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[]; } +/** + * 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 { title: string; description: string; @@ -122,6 +231,18 @@ export interface CommunityPoolSpendProposalWithDeposit { amount: string; deposit: string; } +/** + * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal + * with a deposit + */ + +export interface CommunityPoolSpendProposalWithDepositSDKType { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} function createBaseParams(): Params { return { @@ -187,24 +308,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 ?? ""; @@ -262,26 +365,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)) || []; @@ -337,26 +420,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) ? Long.fromString(object.period) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorCurrentRewards { const message = createBaseValidatorCurrentRewards(); message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; @@ -403,24 +466,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)) || []; @@ -466,24 +511,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)) || []; @@ -538,20 +565,6 @@ export const ValidatorSlashEvent = { return message; }, - fromJSON(object: any): ValidatorSlashEvent { - return { - validatorPeriod: isSet(object.validatorPeriod) ? Long.fromString(object.validatorPeriod) : Long.UZERO, - fraction: isSet(object.fraction) ? String(object.fraction) : "" - }; - }, - - toJSON(message: ValidatorSlashEvent): unknown { - const obj: any = {}; - message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || Long.UZERO).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 ? Long.fromValue(object.validatorPeriod) : Long.UZERO; @@ -598,24 +611,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)) || []; @@ -661,24 +656,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)) || []; @@ -751,30 +728,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 ?? ""; @@ -841,22 +794,6 @@ export const DelegatorStartingInfo = { return message; }, - fromJSON(object: any): DelegatorStartingInfo { - return { - previousPeriod: isSet(object.previousPeriod) ? Long.fromString(object.previousPeriod) : Long.UZERO, - stake: isSet(object.stake) ? String(object.stake) : "", - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO - }; - }, - - toJSON(message: DelegatorStartingInfo): unknown { - const obj: any = {}; - message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || Long.UZERO).toString()); - message.stake !== undefined && (obj.stake = message.stake); - message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): DelegatorStartingInfo { const message = createBaseDelegatorStartingInfo(); message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; @@ -913,26 +850,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 ?? ""; @@ -1015,26 +932,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/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts index dc6a2ef7b..16953bb2d 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -1,125 +1,243 @@ -import { DecCoin } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "./distribution"; +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; +import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * 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 is the address of the delegator. */ + delegator_address: string; + /** withdraw_address is the address to withdraw the delegation rewards to. */ + 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[]; } +/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ +export interface ValidatorOutstandingRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** outstanding_rewards represents the oustanding rewards of a validator. */ + + 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 | undefined; } +/** + * ValidatorAccumulatedCommissionRecord is used for import / export via genesis + * json. + */ +export interface ValidatorAccumulatedCommissionRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** accumulated is the accumulated commission of a validator. */ + + accumulated: ValidatorAccumulatedCommissionSDKType | undefined; +} /** * 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; + period: Long; /** rewards defines the historical rewards of a validator. */ + rewards: ValidatorHistoricalRewards | undefined; } +/** + * ValidatorHistoricalRewardsRecord is used for import / export via genesis + * json. + */ +export interface ValidatorHistoricalRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** period defines the period the historical rewards apply to. */ + + period: Long; + /** rewards defines the historical rewards of a validator. */ + + rewards: ValidatorHistoricalRewardsSDKType | undefined; +} /** 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 | undefined; } +/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ +export interface ValidatorCurrentRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** rewards defines the current rewards of a validator. */ + + rewards: ValidatorCurrentRewardsSDKType | undefined; +} /** 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; + validatorAddress: string; /** starting_info defines the starting info of a delegator. */ + startingInfo: DelegatorStartingInfo | undefined; } +/** DelegatorStartingInfoRecord used for import / export via genesis json. */ + +export interface DelegatorStartingInfoRecordSDKType { + /** 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: DelegatorStartingInfoSDKType | undefined; +} /** 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; + height: Long; /** period is the period of the slash event. */ - period: Long; + period: Long; /** validator_slash_event describes the slash event. */ + validatorSlashEvent: ValidatorSlashEvent | undefined; } +/** ValidatorSlashEventRecord is used for import / export via genesis json. */ + +export interface ValidatorSlashEventRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: 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. */ + + validator_slash_event: ValidatorSlashEventSDKType | undefined; +} /** GenesisState defines the distribution module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of the module. */ params: Params | undefined; - /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool | undefined; + feePool: FeePool | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; + delegatorWithdrawInfos: DelegatorWithdrawInfo[]; /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; + previousProposer: string; /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; + outstandingRewards: ValidatorOutstandingRewardsRecord[]; /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; + validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; + validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; + validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; + delegatorStartingInfos: DelegatorStartingInfoRecord[]; /** fee_pool defines the validator slash events at genesis. */ + validatorSlashEvents: ValidatorSlashEventRecord[]; } +/** GenesisState defines the distribution module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params: ParamsSDKType | undefined; + /** fee_pool defines the fee pool at genesis. */ + + fee_pool: FeePoolSDKType | undefined; + /** fee_pool defines the delegator withdraw infos at genesis. */ + + delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; + /** fee_pool defines the previous proposer at genesis. */ + + previous_proposer: string; + /** fee_pool defines the outstanding rewards of all validators at genesis. */ + + outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; + /** fee_pool defines the accumulated commisions of all validators at genesis. */ + + validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; + /** fee_pool defines the historical rewards of all validators at genesis. */ + + validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; + /** fee_pool defines the current rewards of all validators at genesis. */ + + validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; + /** fee_pool defines the delegator starting infos at genesis. */ + + delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; + /** fee_pool defines the validator slash events at genesis. */ + + validator_slash_events: ValidatorSlashEventRecordSDKType[]; +} function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { return { @@ -167,20 +285,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 ?? ""; @@ -236,26 +340,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 ?? ""; @@ -311,20 +395,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 ?? ""; @@ -389,22 +459,6 @@ export const ValidatorHistoricalRewardsRecord = { return message; }, - fromJSON(object: any): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, - 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 || Long.UZERO).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 ?? ""; @@ -461,20 +515,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 ?? ""; @@ -539,22 +579,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 ?? ""; @@ -629,24 +653,6 @@ export const ValidatorSlashEventRecord = { return message; }, - fromJSON(object: any): ValidatorSlashEventRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - period: isSet(object.period) ? Long.fromString(object.period) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.period !== undefined && (obj.period = (message.period || Long.UZERO).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 ?? ""; @@ -776,73 +782,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/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts index ddaad5896..db900399a 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -1,40 +1,50 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); } - /* Params queries params of the distribution module. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/distribution/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ValidatorOutstandingRewards queries rewards of a validator address. */ - async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { + + + async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ValidatorCommission queries accumulated commission for a validator. */ - async validatorCommission(params: QueryValidatorCommissionRequest): Promise { + + + async validatorCommission(params: QueryValidatorCommissionRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ValidatorSlashes queries slash events of a validator. */ - async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { + + + async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { const options: any = { params: {} }; @@ -52,38 +62,43 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegationRewards queries the total rewards accrued by a delegation. */ - async delegationRewards(params: QueryDelegationRewardsRequest): Promise { + + + async delegationRewards(params: QueryDelegationRewardsRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DelegationTotalRewards queries the total rewards accrued by a each validator. */ - async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { + + + async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DelegatorValidators queries the validators of a delegator. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ - async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { + + + async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* CommunityPool queries the community pool coins. */ - async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { + + + async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { const endpoint = `cosmos/distribution/v1beta1/community_pool`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts index b68258b3d..7ec7a4291 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -1,38 +1,36 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries params of the distribution module.*/ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; /*ValidatorOutstandingRewards queries rewards of a validator address.*/ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; + validatorCommission(request: QueryValidatorCommissionRequest): Promise; /*ValidatorCommission queries accumulated commission for a validator.*/ - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; + validatorSlashes(request: QueryValidatorSlashesRequest): Promise; /*ValidatorSlashes queries slash events of a validator.*/ - delegationRewards(request: QueryDelegationRewardsRequest): Promise; + delegationRewards(request: QueryDelegationRewardsRequest): Promise; /*DelegationRewards queries the total rewards accrued by a delegation.*/ - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; /*DelegationTotalRewards queries the total rewards accrued by a each validator.*/ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; /*DelegatorValidators queries the validators of a delegator.*/ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ - communityPool(request: QueryCommunityPoolRequest): Promise; + communityPool(request?: QueryCommunityPoolRequest): Promise; /*CommunityPool queries the community pool coins.*/ } @@ -52,58 +50,100 @@ export class QueryClientImpl implements Query { this.communityPool = this.communityPool.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); } - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { const data = QueryValidatorCommissionRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); } - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { const data = QueryValidatorSlashesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); } - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { const data = QueryDelegationRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); } - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); } - communityPool(request: QueryCommunityPoolRequest): Promise { + communityPool(request: QueryCommunityPoolRequest = {}): Promise { const data = QueryCommunityPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + return queryService.validatorOutstandingRewards(request); + }, + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + return queryService.validatorCommission(request); + }, + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + return queryService.validatorSlashes(request); + }, + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + return queryService.delegationRewards(request); + }, + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + return queryService.delegationTotalRewards(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + return queryService.delegatorWithdrawAddress(request); + }, + + communityPool(request?: QueryCommunityPoolRequest): Promise { + return queryService.communityPool(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts index deddac47c..0f30eba7f 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts @@ -1,175 +1,342 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "./distribution"; -import { DecCoin } from "../../base/v1beta1/coin"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** * 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; } +/** + * QueryValidatorOutstandingRewardsRequest is the request type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsRequestSDKType { + /** validator_address defines the validator address to query for. */ + validator_address: string; +} /** * QueryValidatorOutstandingRewardsResponse is the response type for the * Query/ValidatorOutstandingRewards RPC method. */ + export interface QueryValidatorOutstandingRewardsResponse { rewards: ValidatorOutstandingRewards | undefined; } +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ +export interface QueryValidatorOutstandingRewardsResponseSDKType { + rewards: ValidatorOutstandingRewardsSDKType | undefined; +} /** * 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; } +/** + * QueryValidatorCommissionRequest is the request type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionRequestSDKType { + /** validator_address defines the validator address to query for. */ + 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 | undefined; } +/** + * QueryValidatorCommissionResponse is the response type for the + * Query/ValidatorCommission RPC method + */ +export interface QueryValidatorCommissionResponseSDKType { + /** commission defines the commision the validator received. */ + commission: ValidatorAccumulatedCommissionSDKType | undefined; +} /** * 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; + startingHeight?: Long; /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: Long; + endingHeight?: Long; /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** + * QueryValidatorSlashesRequest is the request type for the + * Query/ValidatorSlashes RPC method + */ + +export interface QueryValidatorSlashesRequestSDKType { + /** 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?: Long; + /** starting_height defines the optional ending height to query the slashes. */ + ending_height?: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryValidatorSlashesResponse is the response type for the + * Query/ValidatorSlashes RPC method. + */ + +export interface QueryValidatorSlashesResponseSDKType { + /** slashes defines the slashes the validator received. */ + slashes: ValidatorSlashEventSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * 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; } +/** + * QueryDelegationRewardsRequest is the request type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + delegator_address: string; + /** validator_address defines the validator address to query for. */ + + 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[]; } +/** + * QueryDelegationRewardsResponse is the response type for the + * Query/DelegationRewards RPC method. + */ +export interface QueryDelegationRewardsResponseSDKType { + /** rewards defines the rewards accrued by a delegation. */ + 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; } +/** + * QueryDelegationTotalRewardsRequest is the request type for the + * Query/DelegationTotalRewards RPC method. + */ +export interface QueryDelegationTotalRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; } +/** + * QueryDelegationTotalRewardsResponse is the response type for the + * Query/DelegationTotalRewards RPC method. + */ + +export interface QueryDelegationTotalRewardsResponseSDKType { + /** rewards defines all the rewards accrued by a delegator. */ + rewards: DelegationDelegatorRewardSDKType[]; + /** total defines the sum of all the rewards. */ + 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; } +/** + * QueryDelegatorValidatorsRequest is the request type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; } +/** + * QueryDelegatorValidatorsResponse is the response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the validators a delegator is delegating for. */ + 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; } +/** + * QueryDelegatorWithdrawAddressRequest is the request type for the + * Query/DelegatorWithdrawAddress RPC method. + */ +export interface QueryDelegatorWithdrawAddressRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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; } +/** + * QueryDelegatorWithdrawAddressResponse is the response type for the + * Query/DelegatorWithdrawAddress RPC method. + */ +export interface QueryDelegatorWithdrawAddressResponseSDKType { + /** withdraw_address defines the delegator address to query for. */ + withdraw_address: string; +} /** * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC * method. */ + export interface QueryCommunityPoolRequest {} +/** + * 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[]; } +/** + * QueryCommunityPoolResponse is the response type for the Query/CommunityPool + * RPC method. + */ + +export interface QueryCommunityPoolResponseSDKType { + /** pool defines community pool's coins. */ + pool: DecCoinSDKType[]; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return {}; @@ -198,15 +365,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,7 +387,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -251,18 +409,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; @@ -308,18 +454,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 ?? ""; @@ -343,7 +477,7 @@ export const QueryValidatorOutstandingRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorOutstandingRewardsResponse(); @@ -365,18 +499,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; @@ -422,18 +544,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 ?? ""; @@ -457,7 +567,7 @@ export const QueryValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorCommissionResponse(); @@ -479,18 +589,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; @@ -563,24 +661,6 @@ export const QueryValidatorSlashesRequest = { return message; }, - fromJSON(object: any): QueryValidatorSlashesRequest { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - startingHeight: isSet(object.startingHeight) ? Long.fromString(object.startingHeight) : Long.UZERO, - endingHeight: isSet(object.endingHeight) ? Long.fromString(object.endingHeight) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).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 ?? ""; @@ -612,7 +692,7 @@ export const QueryValidatorSlashesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorSlashesResponse(); @@ -638,26 +718,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)) || []; @@ -713,20 +773,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 ?? ""; @@ -751,7 +797,7 @@ export const QueryDelegationRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationRewardsResponse(); @@ -773,24 +819,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)) || []; @@ -836,18 +864,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 ?? ""; @@ -876,7 +892,7 @@ export const QueryDelegationTotalRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationTotalRewardsResponse(); @@ -902,31 +918,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)) || []; @@ -973,18 +964,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 ?? ""; @@ -1008,7 +987,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1030,24 +1009,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) || []; @@ -1093,18 +1054,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 ?? ""; @@ -1128,7 +1077,7 @@ export const QueryDelegatorWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorWithdrawAddressResponse(); @@ -1150,18 +1099,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 ?? ""; @@ -1197,15 +1134,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; @@ -1228,7 +1156,7 @@ export const QueryCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCommunityPoolResponse(); @@ -1250,24 +1178,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/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts index 3848f8312..b3a60ed6d 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts @@ -1,4 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; import { AminoMsg } from "@cosmjs/amino"; import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; export interface AminoMsgSetWithdrawAddress extends AminoMsg { diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts index dbebd8c07..52aa99f7a 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts @@ -1,4 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; 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]]; @@ -67,66 +66,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) { diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts index a55f8b4c0..a480b116f 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,22 @@ -import { Coin } from "../../base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; - +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgSetWithdrawAddressResponseSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawDelegatorRewardResponseSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgWithdrawValidatorCommissionResponseSDKType, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgFundCommunityPoolResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; /*SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation).*/ - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; /*WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator.*/ - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; /*WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address.*/ - fundCommunityPool(request: MsgFundCommunityPool): Promise; + fundCommunityPool(request: MsgFundCommunityPool): Promise; /*FundCommunityPool defines a method to allow an account to directly fund the community pool.*/ @@ -33,25 +32,25 @@ export class MsgClientImpl implements Msg { this.fundCommunityPool = this.fundCommunityPool.bind(this); } - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { const data = MsgSetWithdrawAddress.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); } - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { const data = MsgWithdrawDelegatorReward.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); } - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { const data = MsgWithdrawValidatorCommission.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); } - fundCommunityPool(request: MsgFundCommunityPool): Promise { + fundCommunityPool(request: MsgFundCommunityPool): Promise { const data = MsgFundCommunityPool.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts index ef8a03387..259a05305 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts @@ -1,57 +1,107 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). */ + export interface MsgSetWithdrawAddress { delegatorAddress: string; withdrawAddress: string; } +/** + * 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 {} +/** 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; } +/** + * 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 { amount: Coin[]; } +/** 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; } +/** + * 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 { amount: Coin[]; } +/** 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; } +/** + * 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 {} +/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ + +export interface MsgFundCommunityPoolResponseSDKType {} function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { return { @@ -99,20 +149,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 ?? ""; @@ -131,7 +167,7 @@ export const MsgSetWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSetWithdrawAddressResponse(); @@ -149,15 +185,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; @@ -211,20 +238,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 ?? ""; @@ -249,7 +262,7 @@ export const MsgWithdrawDelegatorRewardResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawDelegatorRewardResponse(); @@ -271,24 +284,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)) || []; @@ -334,18 +329,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 ?? ""; @@ -369,7 +352,7 @@ export const MsgWithdrawValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawValidatorCommissionResponse(); @@ -391,24 +374,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)) || []; @@ -463,26 +428,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)) || []; @@ -501,7 +446,7 @@ export const MsgFundCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgFundCommunityPoolResponse(); @@ -519,15 +464,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/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts index 6d1674271..e2ca4ccda 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -1,17 +1,28 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; /** * Equivocation implements the Evidence interface and defines evidence of double * signing misbehavior. */ + export interface Equivocation { height: Long; time: Date | undefined; power: Long; consensusAddress: string; } +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ + +export interface EquivocationSDKType { + height: Long; + time: Date | undefined; + power: Long; + consensus_address: string; +} function createBaseEquivocation(): Equivocation { return { @@ -77,24 +88,6 @@ export const Equivocation = { return message; }, - fromJSON(object: any): Equivocation { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO, - consensusAddress: isSet(object.consensusAddress) ? String(object.consensusAddress) : "" - }; - }, - - toJSON(message: Equivocation): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts index 429bb8405..639c33dca 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts @@ -1,11 +1,17 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, 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[]; } +/** GenesisState defines the evidence module's genesis state. */ + +export interface GenesisStateSDKType { + /** evidence defines all the evidence at genesis. */ + evidence: AnySDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -44,24 +50,6 @@ export const GenesisState = { 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)) || []; diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts index b7e375478..9f6d533f4 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -1,29 +1,31 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + 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 { + + + async evidence(params: QueryEvidenceRequest): Promise { const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AllEvidence queries all evidence. */ + + async allEvidence(params: QueryAllEvidenceRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -33,7 +35,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/evidence/v1beta1/evidence`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts index 84711f88f..26d048326 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -1,15 +1,14 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - evidence(request: QueryEvidenceRequest): Promise; + evidence(request: QueryEvidenceRequest): Promise; /*Evidence queries evidence based on evidence hash.*/ - allEvidence(request: QueryAllEvidenceRequest): Promise; + allEvidence(request?: QueryAllEvidenceRequest): Promise; /*AllEvidence queries all evidence.*/ } @@ -22,16 +21,32 @@ export class QueryClientImpl implements Query { this.allEvidence = this.allEvidence.bind(this); } - evidence(request: QueryEvidenceRequest): Promise { + 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 _m0.Reader(data))); } - allEvidence(request: QueryAllEvidenceRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts index d56b1b9cd..992c90b87 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts @@ -1,40 +1,72 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Any } from "../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; } +/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ +export interface QueryEvidenceRequestSDKType { + /** evidence_hash defines the hash of the requested evidence. */ + evidence_hash: Uint8Array; +} /** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ + export interface QueryEvidenceResponse { /** evidence returns the requested evidence. */ evidence: Any | undefined; } +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ +export interface QueryEvidenceResponseSDKType { + /** evidence returns the requested evidence. */ + evidence: AnySDKType | undefined; +} /** * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC * method. */ + export interface QueryAllEvidenceRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ +export interface QueryAllEvidenceRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + * method. + */ + +export interface QueryAllEvidenceResponseSDKType { + /** evidence returns all evidences. */ + evidence: AnySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { return { @@ -73,18 +105,6 @@ export const QueryEvidenceRequest = { 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(); @@ -108,7 +128,7 @@ export const QueryEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryEvidenceResponse(); @@ -130,18 +150,6 @@ export const QueryEvidenceResponse = { 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; @@ -187,18 +195,6 @@ export const QueryAllEvidenceRequest = { 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; @@ -227,7 +223,7 @@ export const QueryAllEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllEvidenceResponse(); @@ -253,26 +249,6 @@ export const QueryAllEvidenceResponse = { 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)) || []; diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts index b5e6312a2..033b9c6c1 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; import { AminoMsg } from "@cosmjs/amino"; import { MsgSubmitEvidence } from "./tx"; export interface AminoMsgSubmitEvidence extends AminoMsg { diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts index e577554c3..327c02be8 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSubmitEvidence } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.evidence.v1beta1.MsgSubmitEvidence", MsgSubmitEvidence]]; @@ -25,24 +24,6 @@ export const MessageComposer = { }; } - }, - 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) { diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts index 06a98a1aa..652cf7eae 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -1,11 +1,10 @@ -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; - +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse, MsgSubmitEvidenceResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitEvidence(request: MsgSubmitEvidence): Promise; + submitEvidence(request: MsgSubmitEvidence): Promise; /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or counterfactual signing.*/ @@ -18,7 +17,7 @@ export class MsgClientImpl implements Msg { this.submitEvidence = this.submitEvidence.bind(this); } - submitEvidence(request: MsgSubmitEvidence): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts index e51b42e24..cdfcd997b 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts @@ -1,21 +1,35 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/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; } +/** + * 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; } +/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ + +export interface MsgSubmitEvidenceResponseSDKType { + /** hash defines the hash of the evidence. */ + hash: Uint8Array; +} function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { return { @@ -63,20 +77,6 @@ export const MsgSubmitEvidence = { 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 ?? ""; @@ -101,7 +101,7 @@ export const MsgSubmitEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitEvidenceResponse(); @@ -123,18 +123,6 @@ export const MsgSubmitEvidenceResponse = { 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(); diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts index 3a0bc6abf..b383ebbb8 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -1,14 +1,14 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; -import { Any } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** * BasicAllowance implements Allowance with a one-time grant of tokens * that optionally expires. The grantee can use up to SpendLimit to cover fees. */ + export interface BasicAllowance { /** * spend_limit specifies the maximum amount of tokens that can be spent @@ -16,62 +16,130 @@ export interface BasicAllowance { * 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: Date | undefined; } +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ +export interface BasicAllowanceSDKType { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens are spent. If it is + * empty, there is no spend limit and any amount of coins can be spent. + */ + spend_limit: CoinSDKType[]; + /** expiration specifies an optional time when this allowance expires */ + + expiration: Date | undefined; +} /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, * as well as a limit per time period. */ + export interface PeriodicAllowance { /** basic specifies a struct of `BasicAllowance` */ basic: BasicAllowance | undefined; - /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: Duration | undefined; + period: Duration | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period */ - periodSpendLimit: Coin[]; + periodSpendLimit: Coin[]; /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; + 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: Date | undefined; } +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ +export interface PeriodicAllowanceSDKType { + /** basic specifies a struct of `BasicAllowance` */ + basic: BasicAllowanceSDKType | undefined; + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + + period: DurationSDKType | undefined; + /** + * period_spend_limit specifies the maximum number of coins that can be spent + * in the period + */ + + period_spend_limit: CoinSDKType[]; + /** period_can_spend is the number of coins left to be spent before the period_reset time */ + + period_can_spend: CoinSDKType[]; + /** + * 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: Date | undefined; +} /** AllowedMsgAllowance creates allowance only for specified message types. */ + export interface AllowedMsgAllowance { /** allowance can be any of basic and periodic fee allowance. */ allowance: Any | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ + allowedMessages: string[]; } +/** AllowedMsgAllowance creates allowance only for specified message types. */ + +export interface AllowedMsgAllowanceSDKType { + /** allowance can be any of basic and periodic fee allowance. */ + allowance: AnySDKType | undefined; + /** allowed_messages are the messages for which the grantee has the access. */ + 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; + grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ + allowance: Any | undefined; } +/** Grant is stored in the KVStore to record a grant with full context */ + +export interface GrantSDKType { + /** 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: AnySDKType | undefined; +} function createBaseBasicAllowance(): BasicAllowance { return { @@ -119,26 +187,6 @@ 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 = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: Partial): BasicAllowance { const message = createBaseBasicAllowance(); message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; @@ -221,37 +269,6 @@ 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); - - 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 = 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; @@ -310,26 +327,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; @@ -394,22 +391,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/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts index 544d9b085..cdb858fcc 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts @@ -1,10 +1,15 @@ -import { Grant } from "./feegrant"; +import { Grant, 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[]; } +/** GenesisState contains a set of fee allowances, persisted from the store */ + +export interface GenesisStateSDKType { + allowances: GrantSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -43,24 +48,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/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts index 3472dc226..657fc3a24 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -1,27 +1,30 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); } - /* Allowance returns fee granted to the grantee by the granter. */ - async allowance(params: QueryAllowanceRequest): Promise { + + + async allowance(params: QueryAllowanceRequest): Promise { const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Allowances returns all the grants for address. */ - async allowances(params: QueryAllowancesRequest): Promise { + + + async allowances(params: QueryAllowancesRequest): Promise { const options: any = { params: {} }; @@ -31,12 +34,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllowancesByGranter returns all the grants given by an address Since v0.46 */ - async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { + + + async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { const options: any = { params: {} }; @@ -46,7 +50,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts index 05e09c0d7..31deff3b7 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - allowance(request: QueryAllowanceRequest): Promise; + allowance(request: QueryAllowanceRequest): Promise; /*Allowance returns fee granted to the grantee by the granter.*/ - allowances(request: QueryAllowancesRequest): Promise; + allowances(request: QueryAllowancesRequest): Promise; /*Allowances returns all the grants for address.*/ - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; /*AllowancesByGranter returns all the grants given by an address Since v0.46*/ @@ -27,22 +26,40 @@ export class QueryClientImpl implements Query { this.allowancesByGranter = this.allowancesByGranter.bind(this); } - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { const data = QueryAllowanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); } - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { const data = QueryAllowancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); } - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { const data = QueryAllowancesByGranterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + allowance(request: QueryAllowanceRequest): Promise { + return queryService.allowance(request); + }, + + allowances(request: QueryAllowancesRequest): Promise { + return queryService.allowances(request); + }, + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + return queryService.allowancesByGranter(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts index 29cc7db85..6a60e38df 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts @@ -1,56 +1,104 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Grant } from "./feegrant"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantSDKType } from "./feegrant"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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. */ granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ + grantee: string; } +/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ +export interface QueryAllowanceRequestSDKType { + /** 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; +} /** 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 | undefined; } +/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ +export interface QueryAllowanceResponseSDKType { + /** allowance is a allowance granted for grantee by granter. */ + allowance: GrantSDKType | undefined; +} /** 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 | undefined; } +/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ +export interface QueryAllowancesRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ + +export interface QueryAllowancesResponseSDKType { + /** allowances are allowance's granted for grantee by granter. */ + allowances: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ + export interface QueryAllowancesByGranterRequest { granter: string; - /** pagination defines an pagination for the request. */ + pagination?: PageRequest | undefined; } +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ +export interface QueryAllowancesByGranterRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ + export interface QueryAllowancesByGranterResponse { /** allowances that have been issued by the granter. */ allowances: Grant[]; - /** pagination defines an pagination for the response. */ + pagination?: PageResponse | undefined; } +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterResponseSDKType { + /** allowances that have been issued by the granter. */ + allowances: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { return { @@ -98,20 +146,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 ?? ""; @@ -136,7 +170,7 @@ export const QueryAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowanceResponse(); @@ -158,18 +192,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; @@ -224,20 +246,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 ?? ""; @@ -267,7 +275,7 @@ export const QueryAllowancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesResponse(); @@ -293,26 +301,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)) || []; @@ -368,20 +356,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 ?? ""; @@ -411,7 +385,7 @@ export const QueryAllowancesByGranterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesByGranterResponse(); @@ -437,26 +411,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/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts index b01266753..72aa6e5b1 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; import { AminoMsg } from "@cosmjs/amino"; import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; export interface AminoMsgGrantAllowance extends AminoMsg { diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts index c14fa48f3..71c8e6ec8 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; 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]]; @@ -39,38 +38,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) { diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts index c61fedbde..9b1e29240 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,14 @@ -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; - +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgGrantAllowanceResponseSDKType, MsgRevokeAllowance, MsgRevokeAllowanceResponse, MsgRevokeAllowanceResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - grantAllowance(request: MsgGrantAllowance): Promise; + grantAllowance(request: MsgGrantAllowance): Promise; /*GrantAllowance grants fee allowance to the grantee on the granter's account with the provided expiration time.*/ - revokeAllowance(request: MsgRevokeAllowance): Promise; + revokeAllowance(request: MsgRevokeAllowance): Promise; /*RevokeAllowance revokes any fee allowance of granter's account that has been granted to the grantee.*/ @@ -23,13 +22,13 @@ export class MsgClientImpl implements Msg { this.revokeAllowance = this.revokeAllowance.bind(this); } - grantAllowance(request: MsgGrantAllowance): Promise { + grantAllowance(request: MsgGrantAllowance): Promise { const data = MsgGrantAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); } - revokeAllowance(request: MsgRevokeAllowance): Promise { + revokeAllowance(request: MsgRevokeAllowance): Promise { const data = MsgRevokeAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts index 062a6d14b..2b75320cb 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -1,36 +1,65 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; + grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ + allowance: Any | undefined; } +/** + * MsgGrantAllowance adds permission for Grantee to spend up to Allowance + * of fees from the account of Granter. + */ +export interface MsgGrantAllowanceSDKType { + /** 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: AnySDKType | undefined; +} /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ + export interface MsgGrantAllowanceResponse {} +/** 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; } +/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ +export interface MsgRevokeAllowanceSDKType { + /** 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; +} /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + export interface MsgRevokeAllowanceResponse {} +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + +export interface MsgRevokeAllowanceResponseSDKType {} function createBaseMsgGrantAllowance(): MsgGrantAllowance { return { @@ -87,22 +116,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 ?? ""; @@ -122,7 +135,7 @@ export const MsgGrantAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantAllowanceResponse(); @@ -140,15 +153,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; @@ -202,20 +206,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 ?? ""; @@ -234,7 +224,7 @@ export const MsgRevokeAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeAllowanceResponse(); @@ -252,15 +242,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/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts index a48c1c19b..98e44e4e3 100644 --- a/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** GenesisState defines the raw genesis transaction in JSON. */ + export interface GenesisState { /** gen_txs defines the genesis transactions. */ genTxs: Uint8Array[]; } +/** GenesisState defines the raw genesis transaction in JSON. */ + +export interface GenesisStateSDKType { + /** gen_txs defines the genesis transactions. */ + gen_txs: Uint8Array[]; +} function createBaseGenesisState(): GenesisState { return { @@ -44,24 +49,6 @@ export const GenesisState = { 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) || []; diff --git a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts index 02f4b27c0..f4724ada9 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts @@ -1,30 +1,54 @@ -import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + deposits: Deposit[]; /** votes defines all the votes present at genesis. */ - votes: Vote[]; + votes: Vote[]; /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; + proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; } +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params: TallyParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -117,46 +141,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/gov/v1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1/gov.ts index 1dade1be7..f53f1dec6 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/gov.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/gov.ts @@ -1,11 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Any } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/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. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -23,6 +23,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -72,8 +91,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus enumerates the valid statuses of a proposal. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -109,6 +128,43 @@ export enum ProposalStatus { PROPOSAL_STATUS_FAILED = 5, UNRECOGNIZED = -1, } +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -165,101 +221,196 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** WeightedVoteOption defines a unit of vote for vote split. */ + export interface WeightedVoteOption { option: VoteOption; weight: string; } +/** WeightedVoteOption defines a unit of vote for vote split. */ +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} /** * Deposit defines an amount deposited by an account address to an active * proposal. */ + export interface Deposit { proposalId: Long; depositor: string; amount: Coin[]; } +/** + * 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 | undefined; submitTime: Date | undefined; depositEndTime: Date | undefined; totalDeposit: Coin[]; votingStartTime: Date | undefined; votingEndTime: Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; } +/** Proposal defines the core field members of a governance proposal. */ +export interface ProposalSDKType { + id: Long; + messages: AnySDKType[]; + status: ProposalStatusSDKType; + /** + * 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: TallyResultSDKType | undefined; + submit_time: Date | undefined; + deposit_end_time: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time: Date | undefined; + voting_end_time: Date | undefined; + /** metadata is any arbitrary metadata attached to the proposal. */ + + metadata: string; +} /** TallyResult defines a standard tally for a governance proposal. */ + export interface TallyResult { yesCount: string; abstainCount: string; noCount: string; noWithVetoCount: string; } +/** 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; } +/** + * 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 is any arbitrary metadata to attached to the vote. */ + 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 | undefined; } +/** DepositParams defines the params for deposits on governance proposals. */ +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period: DurationSDKType | undefined; +} /** VotingParams defines the params for voting on governance proposals. */ + export interface VotingParams { /** Length of the voting period. */ votingPeriod: Duration | undefined; } +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period: DurationSDKType | undefined; +} /** 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; + threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be * vetoed. Default value: 1/3. */ + vetoThreshold: string; } +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} function createBaseWeightedVoteOption(): WeightedVoteOption { return { @@ -307,20 +458,6 @@ export const WeightedVoteOption = { return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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; @@ -385,28 +522,6 @@ export const Deposit = { return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -535,48 +650,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = 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 ? Long.fromValue(object.id) : Long.UZERO; @@ -658,24 +731,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 ?? ""; @@ -751,30 +806,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -832,26 +863,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); - return obj; - }, - fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -898,18 +909,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); - return obj; - }, - fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -973,22 +972,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/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts index d8ae0534e..f0d9cb596 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts @@ -1,27 +1,35 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { + + + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { + + + async proposals(params: QueryProposalsRequest): Promise { const options: any = { params: {} }; @@ -43,17 +51,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1/proposals`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { + + + async vote(params: QueryVoteRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { + + + async votes(params: QueryVotesRequest): Promise { const options: any = { params: {} }; @@ -63,23 +73,26 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { + + + async params(params: QueryParamsRequest): Promise { const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { + + + async deposit(params: QueryDepositRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { + + + async deposits(params: QueryDepositsRequest): Promise { const options: any = { params: {} }; @@ -89,13 +102,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { + + + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts index ed5c6595c..804a02a0e 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -1,33 +1,32 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries proposal details based on ProposalID.*/ - proposals(request: QueryProposalsRequest): Promise; + proposals(request: QueryProposalsRequest): Promise; /*Proposals queries all proposals based on given status.*/ - vote(request: QueryVoteRequest): Promise; + vote(request: QueryVoteRequest): Promise; /*Vote queries voted information based on proposalID, voterAddr.*/ - votes(request: QueryVotesRequest): Promise; + votes(request: QueryVotesRequest): Promise; /*Votes queries votes of a given proposal.*/ - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries all parameters of the gov module.*/ - deposit(request: QueryDepositRequest): Promise; + deposit(request: QueryDepositRequest): Promise; /*Deposit queries single deposit information based proposalID, depositAddr.*/ - deposits(request: QueryDepositsRequest): Promise; + deposits(request: QueryDepositsRequest): Promise; /*Deposits queries all deposits of a single proposal.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal vote.*/ } @@ -46,52 +45,90 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.ts index dd1833786..5fe1413a0 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.ts @@ -1,79 +1,149 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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; } +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + export interface QueryProposalResponse { proposal: Proposal | undefined; } +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponseSDKType { + proposal: ProposalSDKType | undefined; +} /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - + proposalStatus?: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter: string; + voter?: string; /** depositor defines the deposit addresses from the proposals. */ - depositor: string; + depositor?: string; /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status?: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 oter address for the proposals. */ + voter: string; } +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + export interface QueryVoteResponse { /** vote defined the queried vote. */ vote: Vote | undefined; } +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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", @@ -81,62 +151,127 @@ export interface QueryParamsRequest { */ paramsType: string; } +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + tally_params: TallyParamsSDKType | undefined; +} /** 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; } +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + export interface QueryDepositResponse { /** deposit defines the requested deposit. */ deposit: Deposit | undefined; } +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit: DepositSDKType | undefined; +} /** 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 | undefined; } +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryProposalRequest(): QueryProposalRequest { return { @@ -175,18 +310,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -210,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -232,18 +355,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; @@ -316,24 +427,6 @@ export const QueryProposalsRequest = { return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, - 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; @@ -365,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -391,26 +484,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)) || []; @@ -466,20 +539,6 @@ export const QueryVoteRequest = { return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -504,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -526,18 +585,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; @@ -592,20 +639,6 @@ export const QueryVotesRequest = { return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -635,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -661,26 +694,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)) || []; @@ -727,18 +740,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 ?? ""; @@ -772,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -802,22 +803,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; @@ -874,20 +859,6 @@ export const QueryDepositRequest = { return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -912,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -934,18 +905,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; @@ -1000,20 +959,6 @@ export const QueryDepositsRequest = { return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1043,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1069,26 +1014,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)) || []; @@ -1135,18 +1060,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1170,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1192,18 +1105,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/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts index 607b375c4..c0b487087 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts @@ -1,11 +1,9 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON } from "./gov"; +import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; import { Long } from "@osmonauts/helpers"; import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export interface AminoMsgSubmitProposal extends AminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; + type: "cosmos-sdk/v1/MsgSubmitProposal"; value: { messages: { type_url: string; @@ -20,7 +18,7 @@ export interface AminoMsgSubmitProposal extends AminoMsg { }; } export interface AminoMsgExecLegacyContent extends AminoMsg { - type: "cosmos-sdk/MsgExecLegacyContent"; + type: "cosmos-sdk/v1/MsgExecLegacyContent"; value: { content: { type_url: string; @@ -30,7 +28,7 @@ export interface AminoMsgExecLegacyContent extends AminoMsg { }; } export interface AminoMsgVote extends AminoMsg { - type: "cosmos-sdk/MsgVote"; + type: "cosmos-sdk/v1/MsgVote"; value: { proposal_id: string; voter: string; @@ -39,7 +37,7 @@ export interface AminoMsgVote extends AminoMsg { }; } export interface AminoMsgVoteWeighted extends AminoMsg { - type: "cosmos-sdk/MsgVoteWeighted"; + type: "cosmos-sdk/v1/MsgVoteWeighted"; value: { proposal_id: string; voter: string; @@ -51,7 +49,7 @@ export interface AminoMsgVoteWeighted extends AminoMsg { }; } export interface AminoMsgDeposit extends AminoMsg { - type: "cosmos-sdk/MsgDeposit"; + type: "cosmos-sdk/v1/MsgDeposit"; value: { proposal_id: string; depositor: string; @@ -63,7 +61,7 @@ export interface AminoMsgDeposit extends AminoMsg { } export const AminoConverter = { "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/MsgSubmitProposal", + aminoType: "cosmos-sdk/v1/MsgSubmitProposal", toAmino: ({ messages, initialDeposit, @@ -104,7 +102,7 @@ export const AminoConverter = { } }, "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: "cosmos-sdk/MsgExecLegacyContent", + aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", toAmino: ({ content, authority @@ -131,7 +129,7 @@ export const AminoConverter = { } }, "/cosmos.gov.v1.MsgVote": { - aminoType: "cosmos-sdk/MsgVote", + aminoType: "cosmos-sdk/v1/MsgVote", toAmino: ({ proposalId, voter, @@ -160,7 +158,7 @@ export const AminoConverter = { } }, "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: "cosmos-sdk/MsgVoteWeighted", + aminoType: "cosmos-sdk/v1/MsgVoteWeighted", toAmino: ({ proposalId, voter, @@ -195,7 +193,7 @@ export const AminoConverter = { } }, "/cosmos.gov.v1.MsgDeposit": { - aminoType: "cosmos-sdk/MsgDeposit", + aminoType: "cosmos-sdk/v1/MsgDeposit", toAmino: ({ proposalId, depositor, diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts index ccf9e57ce..37ce8ff81 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts @@ -1,6 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; 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]]; @@ -83,80 +80,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) { diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts index d9069dcb9..f3a37f7da 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -1,26 +1,23 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; - +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgExecLegacyContentResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal defines a method to create new proposal given a content.*/ - execLegacyContent(request: MsgExecLegacyContent): Promise; + execLegacyContent(request: MsgExecLegacyContent): Promise; /*ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal to execute a legacy content-based proposal.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote defines a method to add a vote on a specific proposal.*/ - voteWeighted(request: MsgVoteWeighted): Promise; + voteWeighted(request: MsgVoteWeighted): Promise; /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ - deposit(request: MsgDeposit): Promise; + deposit(request: MsgDeposit): Promise; /*Deposit defines a method to add deposit on a specific proposal.*/ } @@ -36,31 +33,31 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - execLegacyContent(request: MsgExecLegacyContent): Promise { + execLegacyContent(request: MsgExecLegacyContent): Promise { const data = MsgExecLegacyContent.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.ts index 6ab5c5fa4..c8981a690 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.ts @@ -1,73 +1,138 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ + +export interface MsgSubmitProposalSDKType { + messages: AnySDKType[]; + initial_deposit: CoinSDKType[]; + proposer: string; + /** metadata is any arbitrary metadata attached to the proposal. */ + metadata: string; +} /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { proposalId: Long; } +/** 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: Any | undefined; - /** authority must be the gov module address. */ + authority: string; } +/** + * MsgExecLegacyContent is used to wrap the legacy content field into a message. + * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. + */ + +export interface MsgExecLegacyContentSDKType { + /** content is the proposal's content. */ + content: AnySDKType | undefined; + /** authority must be the gov module address. */ + authority: string; +} /** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ + export interface MsgExecLegacyContentResponse {} +/** 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; } +/** MsgVote defines a message to cast a vote. */ +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; + metadata: string; +} /** MsgVoteResponse defines the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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; } +/** 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 {} +/** 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[]; } +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} function createBaseMsgSubmitProposal(): MsgSubmitProposal { return { @@ -133,35 +198,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)) || []; @@ -188,7 +224,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -210,18 +246,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -276,20 +300,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; @@ -308,7 +318,7 @@ export const MsgExecLegacyContentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecLegacyContentResponse(); @@ -326,15 +336,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; @@ -406,24 +407,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -444,7 +427,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -462,15 +445,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; @@ -542,30 +516,6 @@ export const MsgVoteWeighted = { return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -586,7 +536,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -604,15 +554,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; @@ -675,28 +616,6 @@ export const MsgDeposit = { return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -716,7 +635,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); @@ -734,15 +653,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/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts index 02f4b27c0..f4724ada9 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts @@ -1,30 +1,54 @@ -import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov"; +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + deposits: Deposit[]; /** votes defines all the votes present at genesis. */ - votes: Vote[]; + votes: Vote[]; /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; + proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ + tallyParams: TallyParams | undefined; } +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params: TallyParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -117,46 +141,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? Long.fromString(object.startingProposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.startingProposalId) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts index 01968d681..a06b1f842 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts @@ -1,11 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Any } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/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. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -23,6 +23,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -72,8 +91,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus enumerates the valid statuses of a proposal. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -109,6 +128,43 @@ export enum ProposalStatus { PROPOSAL_STATUS_FAILED = 5, UNRECOGNIZED = -1, } +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -165,47 +221,76 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** * WeightedVoteOption defines a unit of vote for vote split. * * Since: cosmos-sdk 0.43 */ + export interface WeightedVoteOption { option: VoteOption; weight: string; } +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} /** * TextProposal defines a standard text proposal whose changes need to be * manually updated in case of approval. */ + export interface TextProposal { title: string; description: string; } +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ +export interface TextProposalSDKType { + 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[]; } +/** + * 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: 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 | undefined; submitTime: Date | undefined; depositEndTime: Date | undefined; @@ -213,23 +298,49 @@ export interface Proposal { votingStartTime: Date | undefined; votingEndTime: Date | undefined; } +/** Proposal defines the core field members of a governance proposal. */ +export interface ProposalSDKType { + proposal_id: Long; + content: AnySDKType | undefined; + status: ProposalStatusSDKType; + /** + * 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: TallyResultSDKType | undefined; + submit_time: Date | undefined; + deposit_end_time: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time: Date | undefined; + voting_end_time: Date | undefined; +} /** TallyResult defines a standard tally for a governance proposal. */ + export interface TallyResult { yes: string; abstain: string; no: string; noWithVeto: string; } +/** 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 @@ -237,47 +348,105 @@ export interface Vote { */ /** @deprecated */ - option: VoteOption; + option: VoteOption; /** Since: cosmos-sdk 0.43 */ + options: WeightedVoteOption[]; } +/** + * 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: 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: VoteOptionSDKType; + /** Since: cosmos-sdk 0.43 */ + + 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 | undefined; } +/** DepositParams defines the params for deposits on governance proposals. */ +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period: DurationSDKType | undefined; +} /** VotingParams defines the params for voting on governance proposals. */ + export interface VotingParams { /** Length of the voting period. */ votingPeriod: Duration | undefined; } +/** VotingParams defines the params for voting on governance proposals. */ +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period: DurationSDKType | undefined; +} /** 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; + threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be * vetoed. Default value: 1/3. */ + vetoThreshold: Uint8Array; } +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} function createBaseWeightedVoteOption(): WeightedVoteOption { return { @@ -325,20 +494,6 @@ export const WeightedVoteOption = { return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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; @@ -394,20 +549,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 ?? ""; @@ -472,28 +613,6 @@ export const Deposit = { return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -613,40 +732,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = 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 = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -727,24 +812,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 ?? ""; @@ -820,30 +887,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -901,26 +944,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); - return obj; - }, - fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -967,18 +990,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); - return obj; - }, - fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -1042,22 +1053,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/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts index e7d375980..51e114881 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -1,27 +1,35 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { + + + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { + + + async proposals(params: QueryProposalsRequest): Promise { const options: any = { params: {} }; @@ -43,17 +51,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1beta1/proposals`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { + + + async vote(params: QueryVoteRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { + + + async votes(params: QueryVotesRequest): Promise { const options: any = { params: {} }; @@ -63,23 +73,26 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { + + + async params(params: QueryParamsRequest): Promise { const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { + + + async deposit(params: QueryDepositRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { + + + async deposits(params: QueryDepositsRequest): Promise { const options: any = { params: {} }; @@ -89,13 +102,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { + + + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts index f8bbb94ce..2b13b14d1 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -1,33 +1,32 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries proposal details based on ProposalID.*/ - proposals(request: QueryProposalsRequest): Promise; + proposals(request: QueryProposalsRequest): Promise; /*Proposals queries all proposals based on given status.*/ - vote(request: QueryVoteRequest): Promise; + vote(request: QueryVoteRequest): Promise; /*Vote queries voted information based on proposalID, voterAddr.*/ - votes(request: QueryVotesRequest): Promise; + votes(request: QueryVotesRequest): Promise; /*Votes queries votes of a given proposal.*/ - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries all parameters of the gov module.*/ - deposit(request: QueryDepositRequest): Promise; + deposit(request: QueryDepositRequest): Promise; /*Deposit queries single deposit information based proposalID, depositAddr.*/ - deposits(request: QueryDepositsRequest): Promise; + deposits(request: QueryDepositsRequest): Promise; /*Deposits queries all deposits of a single proposal.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal vote.*/ } @@ -46,52 +45,90 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts index dd1833786..5fe1413a0 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts @@ -1,79 +1,149 @@ -import { ProposalStatus, Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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; } +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + export interface QueryProposalResponse { proposal: Proposal | undefined; } +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ +export interface QueryProposalResponseSDKType { + proposal: ProposalSDKType | undefined; +} /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - + proposalStatus?: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter: string; + voter?: string; /** depositor defines the deposit addresses from the proposals. */ - depositor: string; + depositor?: string; /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status?: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 oter address for the proposals. */ + voter: string; } +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + export interface QueryVoteResponse { /** vote defined the queried vote. */ vote: Vote | undefined; } +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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", @@ -81,62 +151,127 @@ export interface QueryParamsRequest { */ paramsType: string; } +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ + tallyParams: TallyParams | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + tally_params: TallyParamsSDKType | undefined; +} /** 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; } +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + export interface QueryDepositResponse { /** deposit defines the requested deposit. */ deposit: Deposit | undefined; } +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit: DepositSDKType | undefined; +} /** 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 | undefined; } +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryProposalRequest(): QueryProposalRequest { return { @@ -175,18 +310,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -210,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -232,18 +355,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; @@ -316,24 +427,6 @@ export const QueryProposalsRequest = { return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : 0, - 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; @@ -365,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -391,26 +484,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)) || []; @@ -466,20 +539,6 @@ export const QueryVoteRequest = { return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -504,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -526,18 +585,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; @@ -592,20 +639,6 @@ export const QueryVotesRequest = { return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -635,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -661,26 +694,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)) || []; @@ -727,18 +740,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 ?? ""; @@ -772,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -802,22 +803,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; @@ -874,20 +859,6 @@ export const QueryDepositRequest = { return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -912,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -934,18 +905,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; @@ -1000,20 +959,6 @@ export const QueryDepositsRequest = { return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1043,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1069,26 +1014,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)) || []; @@ -1135,18 +1060,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1170,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1192,18 +1105,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/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts index 2c6ba184e..1f9fb6aca 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -1,6 +1,4 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON } from "./gov"; +import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; import { Long } from "@osmonauts/helpers"; import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts index d70c814dc..192c5e766 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts @@ -1,6 +1,3 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; 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]]; @@ -69,66 +66,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) { diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts index e60011ec9..2ea60b00c 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -1,24 +1,21 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption } from "./gov"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; - +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal defines a method to create new proposal given a content.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote defines a method to add a vote on a specific proposal.*/ - voteWeighted(request: MsgVoteWeighted): Promise; + voteWeighted(request: MsgVoteWeighted): Promise; /*VoteWeighted defines a method to add a weighted vote on a specific proposal. Since: cosmos-sdk 0.43*/ - deposit(request: MsgDeposit): Promise; + deposit(request: MsgDeposit): Promise; /*Deposit defines a method to add deposit on a specific proposal.*/ } @@ -33,25 +30,25 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts index cb1cd3477..30bc4bd1e 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts @@ -1,61 +1,114 @@ -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ + export interface MsgSubmitProposal { content: Any | undefined; initialDeposit: Coin[]; proposer: string; } +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ +export interface MsgSubmitProposalSDKType { + content: AnySDKType | undefined; + initial_deposit: CoinSDKType[]; + proposer: string; +} /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { proposalId: Long; } +/** 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; } +/** MsgVote defines a message to cast a vote. */ +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; +} /** MsgVoteResponse defines the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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[]; } +/** + * 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 {} +/** + * 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[]; } +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} function createBaseMsgSubmitProposal(): MsgSubmitProposal { return { @@ -112,28 +165,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; @@ -159,7 +190,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -181,18 +212,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -256,22 +275,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0 - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -291,7 +294,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -309,15 +312,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; @@ -380,28 +374,6 @@ export const MsgVoteWeighted = { return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -421,7 +393,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -439,15 +411,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; @@ -510,28 +473,6 @@ export const MsgDeposit = { return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -551,7 +492,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); @@ -569,15 +510,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/examples/telescope/codegen/cosmos/group/v1/events.ts b/examples/telescope/codegen/cosmos/group/v1/events.ts index 2f0929ecf..27f446d21 100644 --- a/examples/telescope/codegen/cosmos/group/v1/events.ts +++ b/examples/telescope/codegen/cosmos/group/v1/events.ts @@ -1,64 +1,124 @@ -import { ProposalExecutorResult, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** EventCreateGroup is an event emitted when a group is created. */ + export interface EventCreateGroup { /** group_id is the unique ID of the group. */ groupId: Long; } +/** EventCreateGroup is an event emitted when a group is created. */ +export interface EventCreateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; } +/** EventUpdateGroup is an event emitted when a group is updated. */ +export interface EventUpdateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; } +/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ +export interface EventCreateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; } +/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ +export interface EventUpdateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; } +/** EventSubmitProposal is an event emitted when a proposal is created. */ +export interface EventSubmitProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ +export interface EventWithdrawProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventVote is an event emitted when a voter votes on a proposal. */ +export interface EventVoteSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; } +/** EventExec is an event emitted when a proposal is executed. */ + +export interface EventExecSDKType { + /** proposal_id is the unique ID of the proposal. */ + proposal_id: Long; + /** result is the proposal execution result. */ + result: ProposalExecutorResultSDKType; +} /** 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; +} +/** EventLeaveGroup is an event emitted when group member leaves the group. */ + +export interface EventLeaveGroupSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; /** address is the account address of the group member. */ + address: string; } @@ -99,18 +159,6 @@ export const EventCreateGroup = { return message; }, - fromJSON(object: any): EventCreateGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: EventCreateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventCreateGroup { const message = createBaseEventCreateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -156,18 +204,6 @@ export const EventUpdateGroup = { return message; }, - fromJSON(object: any): EventUpdateGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: EventUpdateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventUpdateGroup { const message = createBaseEventUpdateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -213,18 +249,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 ?? ""; @@ -270,18 +294,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 ?? ""; @@ -327,18 +339,6 @@ export const EventSubmitProposal = { return message; }, - fromJSON(object: any): EventSubmitProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventSubmitProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventSubmitProposal { const message = createBaseEventSubmitProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -384,18 +384,6 @@ export const EventWithdrawProposal = { return message; }, - fromJSON(object: any): EventWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventWithdrawProposal { const message = createBaseEventWithdrawProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -441,18 +429,6 @@ export const EventVote = { return message; }, - fromJSON(object: any): EventVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: EventVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EventVote { const message = createBaseEventVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -507,20 +483,6 @@ export const EventExec = { return message; }, - fromJSON(object: any): EventExec { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : 0 - }; - }, - - toJSON(message: EventExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - return obj; - }, - fromPartial(object: Partial): EventExec { const message = createBaseEventExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -576,20 +538,6 @@ export const EventLeaveGroup = { return message; }, - fromJSON(object: any): EventLeaveGroup { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: EventLeaveGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/group/v1/genesis.ts b/examples/telescope/codegen/cosmos/group/v1/genesis.ts index 4972c1920..d62e2bd5d 100644 --- a/examples/telescope/codegen/cosmos/group/v1/genesis.ts +++ b/examples/telescope/codegen/cosmos/group/v1/genesis.ts @@ -1,42 +1,78 @@ -import { GroupInfo, GroupMember, GroupPolicyInfo, Proposal, Vote } from "./types"; +import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + groups: GroupInfo[]; /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; + 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; + groupPolicySeq: Long; /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; + groupPolicies: GroupPolicyInfo[]; /** * proposal_seq is the proposal table orm.Sequence, * it is used to get the next proposal ID. */ - proposalSeq: Long; + proposalSeq: Long; /** proposals is the list of proposals. */ - proposals: Proposal[]; + proposals: Proposal[]; /** votes is the list of votes. */ + votes: Vote[]; } +/** GenesisState defines the group module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * group_seq is the group table orm.Sequence, + * it is used to get the next group ID. + */ + group_seq: Long; + /** groups is the list of groups info. */ + + groups: GroupInfoSDKType[]; + /** group_members is the list of groups members. */ + + group_members: GroupMemberSDKType[]; + /** + * group_policy_seq is the group policy table orm.Sequence, + * it is used to generate the next group policy account address. + */ + + group_policy_seq: Long; + /** group_policies is the list of group policies info. */ + + group_policies: GroupPolicyInfoSDKType[]; + /** + * proposal_seq is the proposal table orm.Sequence, + * it is used to get the next proposal ID. + */ + + proposal_seq: Long; + /** proposals is the list of proposals. */ + + proposals: ProposalSDKType[]; + /** votes is the list of votes. */ + + votes: VoteSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -138,60 +174,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - groupSeq: isSet(object.groupSeq) ? Long.fromString(object.groupSeq) : Long.UZERO, - 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) ? Long.fromString(object.groupPolicySeq) : Long.UZERO, - groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], - proposalSeq: isSet(object.proposalSeq) ? Long.fromString(object.proposalSeq) : Long.UZERO, - 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 || Long.UZERO).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 || Long.UZERO).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 || Long.UZERO).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 ? Long.fromValue(object.groupSeq) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts index e2b1796b1..74f335222 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts @@ -1,33 +1,47 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -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"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); } - /* GroupInfo queries group info based on group id. */ - async groupInfo(params: QueryGroupInfoRequest): Promise { + + + async groupInfo(params: QueryGroupInfoRequest): Promise { const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* GroupPolicyInfo queries group policy info based on account address of group policy. */ - async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { + + + async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* GroupMembers queries members of a group */ - async groupMembers(params: QueryGroupMembersRequest): Promise { + + + async groupMembers(params: QueryGroupMembersRequest): Promise { const options: any = { params: {} }; @@ -37,11 +51,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByAdmin queries groups by admin address. */ - async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { + + + async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { const options: any = { params: {} }; @@ -51,11 +66,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupPoliciesByGroup queries group policies by group id. */ - async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { + + + async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { const options: any = { params: {} }; @@ -65,11 +81,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByAdmin queries group policies by admin address. */ - async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { + + + async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { const options: any = { params: {} }; @@ -79,17 +96,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Proposal queries a proposal based on proposal id. */ - async proposal(params: QueryProposalRequest): Promise { + + + async proposal(params: QueryProposalRequest): Promise { const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { + + + async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { const options: any = { params: {} }; @@ -99,17 +118,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* VoteByProposalVoter queries a vote by proposal id and voter. */ - async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { + + + async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* VotesByProposal queries a vote by proposal. */ - async votesByProposal(params: QueryVotesByProposalRequest): Promise { + + + async votesByProposal(params: QueryVotesByProposalRequest): Promise { const options: any = { params: {} }; @@ -119,11 +140,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* VotesByVoter queries a vote by voter. */ - async votesByVoter(params: QueryVotesByVoterRequest): Promise { + + + async votesByVoter(params: QueryVotesByVoterRequest): Promise { const options: any = { params: {} }; @@ -133,11 +155,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* GroupsByMember queries groups by member address. */ - async groupsByMember(params: QueryGroupsByMemberRequest): Promise { + + + async groupsByMember(params: QueryGroupsByMemberRequest): Promise { const options: any = { params: {} }; @@ -147,13 +170,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* TallyResult queries the tally of a proposal votes. */ - async tallyResult(params: QueryTallyResultRequest): Promise { + + + async tallyResult(params: QueryTallyResultRequest): Promise { const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts index f66380d4d..59bc35768 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts @@ -1,48 +1,47 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - groupInfo(request: QueryGroupInfoRequest): Promise; + groupInfo(request: QueryGroupInfoRequest): Promise; /*GroupInfo queries group info based on group id.*/ - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; /*GroupPolicyInfo queries group policy info based on account address of group policy.*/ - groupMembers(request: QueryGroupMembersRequest): Promise; + groupMembers(request: QueryGroupMembersRequest): Promise; /*GroupMembers queries members of a group*/ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; /*GroupsByAdmin queries groups by admin address.*/ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; /*GroupPoliciesByGroup queries group policies by group id.*/ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; /*GroupsByAdmin queries group policies by admin address.*/ - proposal(request: QueryProposalRequest): Promise; + proposal(request: QueryProposalRequest): Promise; /*Proposal queries a proposal based on proposal id.*/ - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; /*ProposalsByGroupPolicy queries proposals based on account address of group policy.*/ - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; /*VoteByProposalVoter queries a vote by proposal id and voter.*/ - votesByProposal(request: QueryVotesByProposalRequest): Promise; + votesByProposal(request: QueryVotesByProposalRequest): Promise; /*VotesByProposal queries a vote by proposal.*/ - votesByVoter(request: QueryVotesByVoterRequest): Promise; + votesByVoter(request: QueryVotesByVoterRequest): Promise; /*VotesByVoter queries a vote by voter.*/ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; + groupsByMember(request: QueryGroupsByMemberRequest): Promise; /*GroupsByMember queries groups by member address.*/ - tallyResult(request: QueryTallyResultRequest): Promise; + tallyResult(request: QueryTallyResultRequest): Promise; /*TallyResult queries the tally of a proposal votes.*/ } @@ -66,82 +65,140 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { const data = QueryGroupInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); } - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { const data = QueryGroupPolicyInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); } - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { const data = QueryGroupMembersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); } - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { const data = QueryGroupsByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); } - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); } - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); } - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { const data = QueryVoteByProposalVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); } - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { const data = QueryVotesByProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); } - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { const data = QueryVotesByVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); } - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { const data = QueryGroupsByMemberRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + groupInfo(request: QueryGroupInfoRequest): Promise { + return queryService.groupInfo(request); + }, + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + return queryService.groupPolicyInfo(request); + }, + + groupMembers(request: QueryGroupMembersRequest): Promise { + return queryService.groupMembers(request); + }, + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + return queryService.groupsByAdmin(request); + }, + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + return queryService.groupPoliciesByGroup(request); + }, + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + return queryService.groupPoliciesByAdmin(request); + }, + + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + return queryService.proposalsByGroupPolicy(request); + }, + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + return queryService.voteByProposalVoter(request); + }, + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + return queryService.votesByProposal(request); + }, + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + return queryService.votesByVoter(request); + }, + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + return queryService.groupsByMember(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.ts b/examples/telescope/codegen/cosmos/group/v1/query.ts index 5a285601b..19d8454df 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.ts @@ -1,214 +1,421 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupPolicyInfo, GroupMember, Proposal, Vote, TallyResult } from "./types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryGroupInfoRequest is the Query/GroupInfo request type. */ + export interface QueryGroupInfoRequest { /** group_id is the unique ID of the group. */ groupId: Long; } +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ +export interface QueryGroupInfoRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; +} /** QueryGroupInfoResponse is the Query/GroupInfo response type. */ + export interface QueryGroupInfoResponse { /** info is the GroupInfo for the group. */ info: GroupInfo | undefined; } +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ +export interface QueryGroupInfoResponseSDKType { + /** info is the GroupInfo for the group. */ + info: GroupInfoSDKType | undefined; +} /** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ + export interface QueryGroupPolicyInfoRequest { /** address is the account address of the group policy. */ address: string; } +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ +export interface QueryGroupPolicyInfoRequestSDKType { + /** address is the account address of the group policy. */ + address: string; +} /** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ + export interface QueryGroupPolicyInfoResponse { /** info is the GroupPolicyInfo for the group policy. */ info: GroupPolicyInfo | undefined; } +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ +export interface QueryGroupPolicyInfoResponseSDKType { + /** info is the GroupPolicyInfo for the group policy. */ + info: GroupPolicyInfoSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ + +export interface QueryGroupMembersRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ +export interface QueryGroupMembersResponseSDKType { + /** members are the members of the group with given group_id. */ + members: GroupMemberSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ + +export interface QueryGroupsByAdminRequestSDKType { + /** admin is the account address of a group's admin. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ + +export interface QueryGroupsByAdminResponseSDKType { + /** groups are the groups info with the provided admin. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ +export interface QueryGroupPoliciesByGroupRequestSDKType { + /** group_id is the unique ID of the group policy's group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ + +export interface QueryGroupPoliciesByGroupResponseSDKType { + /** group_policies are the group policies info associated with the provided group. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ +export interface QueryGroupPoliciesByAdminRequestSDKType { + /** admin is the admin address of the group policy. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ + +export interface QueryGroupPoliciesByAdminResponseSDKType { + /** group_policies are the group policies info with provided admin. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryProposalRequest is the Query/Proposal request type. */ + export interface QueryProposalRequest { /** proposal_id is the unique ID of a proposal. */ proposalId: Long; } +/** QueryProposalRequest is the Query/Proposal request type. */ +export interface QueryProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; +} /** QueryProposalResponse is the Query/Proposal response type. */ + export interface QueryProposalResponse { /** proposal is the proposal info. */ proposal: Proposal | undefined; } +/** QueryProposalResponse is the Query/Proposal response type. */ +export interface QueryProposalResponseSDKType { + /** proposal is the proposal info. */ + proposal: ProposalSDKType | undefined; +} /** 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 | undefined; } +/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ +export interface QueryProposalsByGroupPolicyRequestSDKType { + /** address is the account address of the group policy related to proposals. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ + +export interface QueryProposalsByGroupPolicyResponseSDKType { + /** proposals are the proposals with given group policy. */ + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ +export interface QueryVoteByProposalVoterRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** voter is a proposal voter account address. */ + + voter: string; +} /** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ + export interface QueryVoteByProposalVoterResponse { /** vote is the vote with given proposal_id and voter. */ vote: Vote | undefined; } +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ +export interface QueryVoteByProposalVoterResponseSDKType { + /** vote is the vote with given proposal_id and voter. */ + vote: VoteSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ +export interface QueryVotesByProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ + +export interface QueryVotesByProposalResponseSDKType { + /** votes are the list of votes for given proposal_id. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ + +export interface QueryVotesByVoterRequestSDKType { + /** voter is a proposal voter account address. */ + voter: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ +export interface QueryVotesByVoterResponseSDKType { + /** votes are the list of votes by given voter. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ + +export interface QueryGroupsByMemberRequestSDKType { + /** address is the group member address. */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ + +export interface QueryGroupsByMemberResponseSDKType { + /** groups are the groups info with the provided group member. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryTallyResultRequest is the Query/TallyResult request type. */ + export interface QueryTallyResultRequest { /** proposal_id is the unique id of a proposal. */ proposalId: Long; } +/** QueryTallyResultRequest is the Query/TallyResult request type. */ +export interface QueryTallyResultRequestSDKType { + /** proposal_id is the unique id of a proposal. */ + proposal_id: Long; +} /** QueryTallyResultResponse is the Query/TallyResult response type. */ + export interface QueryTallyResultResponse { /** tally defines the requested tally. */ tally: TallyResult | undefined; } +/** QueryTallyResultResponse is the Query/TallyResult response type. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally: TallyResultSDKType | undefined; +} function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { return { @@ -247,18 +454,6 @@ export const QueryGroupInfoRequest = { return message; }, - fromJSON(object: any): QueryGroupInfoRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: QueryGroupInfoRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryGroupInfoRequest { const message = createBaseQueryGroupInfoRequest(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -282,7 +477,7 @@ export const QueryGroupInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupInfoResponse(); @@ -304,18 +499,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; @@ -361,18 +544,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 ?? ""; @@ -396,7 +567,7 @@ export const QueryGroupPolicyInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPolicyInfoResponse(); @@ -418,18 +589,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; @@ -484,20 +643,6 @@ export const QueryGroupMembersRequest = { return message; }, - fromJSON(object: any): QueryGroupMembersRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryGroupMembersRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -527,7 +672,7 @@ export const QueryGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupMembersResponse(); @@ -553,26 +698,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)) || []; @@ -628,20 +753,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 ?? ""; @@ -671,7 +782,7 @@ export const QueryGroupsByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByAdminResponse(); @@ -697,26 +808,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)) || []; @@ -772,20 +863,6 @@ export const QueryGroupPoliciesByGroupRequest = { return message; }, - fromJSON(object: any): QueryGroupPoliciesByGroupRequest { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -815,7 +892,7 @@ export const QueryGroupPoliciesByGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByGroupResponse(); @@ -841,26 +918,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)) || []; @@ -916,20 +973,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 ?? ""; @@ -959,7 +1002,7 @@ export const QueryGroupPoliciesByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByAdminResponse(); @@ -985,26 +1028,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)) || []; @@ -1051,18 +1074,6 @@ export const QueryProposalRequest = { return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1086,7 +1097,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -1108,18 +1119,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; @@ -1174,20 +1173,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 ?? ""; @@ -1217,7 +1202,7 @@ export const QueryProposalsByGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsByGroupPolicyResponse(); @@ -1243,26 +1228,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)) || []; @@ -1318,20 +1283,6 @@ export const QueryVoteByProposalVoterRequest = { return message; }, - fromJSON(object: any): QueryVoteByProposalVoterRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - - toJSON(message: QueryVoteByProposalVoterRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1356,7 +1307,7 @@ export const QueryVoteByProposalVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteByProposalVoterResponse(); @@ -1378,18 +1329,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; @@ -1444,20 +1383,6 @@ export const QueryVotesByProposalRequest = { return message; }, - fromJSON(object: any): QueryVotesByProposalRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryVotesByProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1487,7 +1412,7 @@ export const QueryVotesByProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByProposalResponse(); @@ -1513,26 +1438,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)) || []; @@ -1588,20 +1493,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 ?? ""; @@ -1631,7 +1522,7 @@ export const QueryVotesByVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByVoterResponse(); @@ -1657,26 +1548,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)) || []; @@ -1732,20 +1603,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 ?? ""; @@ -1775,7 +1632,7 @@ export const QueryGroupsByMemberResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByMemberResponse(); @@ -1801,26 +1658,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)) || []; @@ -1867,18 +1704,6 @@ export const QueryTallyResultRequest = { return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1902,7 +1727,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); @@ -1924,18 +1749,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/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts index b5cfb163d..1b27e619b 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts @@ -1,8 +1,6 @@ -import { Member, VoteOption, voteOptionFromJSON } from "./types"; -import { Any } from "../../../google/protobuf/any"; +import { voteOptionFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; import { Long } from "@osmonauts/helpers"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export interface AminoMsgCreateGroup extends AminoMsg { type: "cosmos-sdk/MsgCreateGroup"; @@ -114,7 +112,7 @@ export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg { }; } export interface AminoMsgSubmitProposal extends AminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; + type: "cosmos-sdk/group/MsgSubmitProposal"; value: { address: string; proposers: string[]; @@ -127,14 +125,14 @@ export interface AminoMsgSubmitProposal extends AminoMsg { }; } export interface AminoMsgWithdrawProposal extends AminoMsg { - type: "cosmos-sdk/MsgWithdrawProposal"; + type: "cosmos-sdk/group/MsgWithdrawProposal"; value: { proposal_id: string; address: string; }; } export interface AminoMsgVote extends AminoMsg { - type: "cosmos-sdk/MsgVote"; + type: "cosmos-sdk/group/MsgVote"; value: { proposal_id: string; voter: string; @@ -144,14 +142,14 @@ export interface AminoMsgVote extends AminoMsg { }; } export interface AminoMsgExec extends AminoMsg { - type: "cosmos-sdk/MsgExec"; + type: "cosmos-sdk/group/MsgExec"; value: { proposal_id: string; signer: string; }; } export interface AminoMsgLeaveGroup extends AminoMsg { - type: "cosmos-sdk/MsgLeaveGroup"; + type: "cosmos-sdk/group/MsgLeaveGroup"; value: { address: string; group_id: string; @@ -448,7 +446,7 @@ export const AminoConverter = { } }, "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/MsgSubmitProposal", + aminoType: "cosmos-sdk/group/MsgSubmitProposal", toAmino: ({ address, proposers, @@ -487,7 +485,7 @@ export const AminoConverter = { } }, "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: "cosmos-sdk/MsgWithdrawProposal", + aminoType: "cosmos-sdk/group/MsgWithdrawProposal", toAmino: ({ proposalId, address @@ -508,7 +506,7 @@ export const AminoConverter = { } }, "/cosmos.group.v1.MsgVote": { - aminoType: "cosmos-sdk/MsgVote", + aminoType: "cosmos-sdk/group/MsgVote", toAmino: ({ proposalId, voter, @@ -541,7 +539,7 @@ export const AminoConverter = { } }, "/cosmos.group.v1.MsgExec": { - aminoType: "cosmos-sdk/MsgExec", + aminoType: "cosmos-sdk/group/MsgExec", toAmino: ({ proposalId, signer @@ -562,7 +560,7 @@ export const AminoConverter = { } }, "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: "cosmos-sdk/MsgLeaveGroup", + aminoType: "cosmos-sdk/group/MsgLeaveGroup", toAmino: ({ address, groupId diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts index 5d3341186..3441045f2 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Member, VoteOption } from "./types"; -import { Any } from "../../../google/protobuf/any"; 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]]; @@ -208,206 +206,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) { diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts index 562a750d4..df2762267 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -1,51 +1,49 @@ -import { Member, VoteOption } from "./types"; -import { Any } from "../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { MsgCreateGroup, MsgCreateGroupResponse, MsgCreateGroupResponseSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupMembersResponseSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupAdminResponseSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgUpdateGroupMetadataResponseSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupPolicyResponseSDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgCreateGroupWithPolicyResponseSDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyAdminResponseSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyDecisionPolicyResponseSDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgUpdateGroupPolicyMetadataResponseSDKType, MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgWithdrawProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgLeaveGroup, MsgLeaveGroupResponse, MsgLeaveGroupResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createGroup(request: MsgCreateGroup): Promise; + createGroup(request: MsgCreateGroup): Promise; /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; + updateGroupMembers(request: MsgUpdateGroupMembers): Promise; /*UpdateGroupMembers updates the group members with given group id and admin address.*/ - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; /*UpdateGroupAdmin updates the group admin with given group id and previous admin address.*/ - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; /*UpdateGroupMetadata updates the group metadata with given group id and admin address.*/ - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; /*CreateGroupWithPolicy creates a new group with policy.*/ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; /*UpdateGroupPolicyAdmin updates a group policy admin.*/ - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; /*UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.*/ - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ - submitProposal(request: MsgSubmitProposal): Promise; + submitProposal(request: MsgSubmitProposal): Promise; /*SubmitProposal submits a new proposal.*/ - withdrawProposal(request: MsgWithdrawProposal): Promise; + withdrawProposal(request: MsgWithdrawProposal): Promise; /*WithdrawProposal aborts a proposal.*/ - vote(request: MsgVote): Promise; + vote(request: MsgVote): Promise; /*Vote allows a voter to vote on a proposal.*/ - exec(request: MsgExec): Promise; + exec(request: MsgExec): Promise; /*Exec executes a proposal.*/ - leaveGroup(request: MsgLeaveGroup): Promise; + leaveGroup(request: MsgLeaveGroup): Promise; /*LeaveGroup allows a group member to leave the group.*/ } @@ -70,85 +68,85 @@ export class MsgClientImpl implements Msg { this.leaveGroup = this.leaveGroup.bind(this); } - createGroup(request: MsgCreateGroup): Promise { + createGroup(request: MsgCreateGroup): Promise { const data = MsgCreateGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); } - updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { const data = MsgUpdateGroupMembers.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); } - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { const data = MsgUpdateGroupAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); } - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { const data = MsgUpdateGroupMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); } - createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { const data = MsgCreateGroupPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); } - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { const data = MsgCreateGroupWithPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - withdrawProposal(request: MsgWithdrawProposal): Promise { + withdrawProposal(request: MsgWithdrawProposal): Promise { const data = MsgWithdrawProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - leaveGroup(request: MsgLeaveGroup): Promise { + leaveGroup(request: MsgLeaveGroup): Promise { const data = MsgLeaveGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.ts b/examples/telescope/codegen/cosmos/group/v1/tx.ts index 67ee95c9c..cadea4ca7 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.ts @@ -1,9 +1,9 @@ -import { Member, VoteOption, voteOptionFromJSON, voteOptionToJSON } from "./types"; -import { Any } from "../../../google/protobuf/any"; +import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ + export enum Exec { /** * EXEC_UNSPECIFIED - An empty value means that there should be a separate @@ -20,6 +20,24 @@ export enum Exec { EXEC_TRY = 1, UNRECOGNIZED = -1, } +/** Exec defines modes of execution of a proposal on creation or on new vote. */ + +export enum ExecSDKType { + /** + * 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 function execFromJSON(object: any): Exec { switch (object) { case 0: @@ -48,259 +66,512 @@ export function execToJSON(object: Exec): string { return "UNKNOWN"; } } - /** 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: Member[]; + members: Member[]; /** metadata is any arbitrary metadata to attached to the group. */ + metadata: string; } +/** MsgCreateGroup is the Msg/CreateGroup request type. */ +export interface MsgCreateGroupSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** metadata is any arbitrary metadata to attached to the group. */ + + 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; } +/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ +export interface MsgCreateGroupResponseSDKType { + /** group_id is the unique ID of the newly created group. */ + 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; + groupId: Long; /** * member_updates is the list of members to update, * set weight to 0 to remove a member. */ + memberUpdates: Member[]; } +/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ + +export interface MsgUpdateGroupMembersSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** + * member_updates is the list of members to update, + * set weight to 0 to remove a member. + */ + member_updates: MemberSDKType[]; +} /** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ + export interface MsgUpdateGroupMembersResponse {} +/** 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; + groupId: Long; /** new_admin is the group new admin account address. */ + newAdmin: string; } +/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ + +export interface MsgUpdateGroupAdminSDKType { + /** admin is the current account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** new_admin is the group new admin account address. */ + new_admin: string; +} /** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ + export interface MsgUpdateGroupAdminResponse {} +/** 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; + groupId: Long; /** metadata is the updated group's metadata. */ + metadata: string; } +/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ + +export interface MsgUpdateGroupMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + group_id: Long; + /** metadata is the updated group's metadata. */ + + metadata: string; +} /** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ + export interface MsgUpdateGroupMetadataResponse {} +/** 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; + groupId: Long; /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; + metadata: string; /** decision_policy specifies the group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ + +export interface MsgCreateGroupPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** metadata is any arbitrary metadata attached to the group policy. */ + + metadata: string; + /** decision_policy specifies the group policy's decision policy. */ + decision_policy: 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; } +/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ +export interface MsgCreateGroupPolicyResponseSDKType { + /** address is the account address of the newly created group policy. */ + address: string; +} /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + export interface MsgUpdateGroupPolicyAdmin { /** admin is the account address of the group admin. */ admin: string; - /** address is the account address of the group policy. */ - address: string; + address: string; /** new_admin is the new group policy admin. */ + newAdmin: string; } +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + +export interface MsgUpdateGroupPolicyAdminSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of the group policy. */ + address: string; + /** new_admin is the new group policy admin. */ + + new_admin: string; +} /** 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: Member[]; + members: Member[]; /** group_metadata is any arbitrary metadata attached to the group. */ - groupMetadata: string; + groupMetadata: string; /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - groupPolicyMetadata: string; + 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; + groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ + +export interface MsgCreateGroupWithPolicySDKType { + /** admin is the account address of the group and group policy admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** 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: 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; } +/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ + +export interface MsgCreateGroupWithPolicyResponseSDKType { + /** group_id is the unique ID of the newly created group with policy. */ + group_id: Long; + /** group_policy_address is the account address of the newly created group policy. */ + group_policy_address: string; +} /** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ + export interface MsgUpdateGroupPolicyAdminResponse {} +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ +export interface MsgUpdateGroupPolicyAdminResponseSDKType {} /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + export interface MsgUpdateGroupPolicyDecisionPolicy { /** admin is the account address of the group admin. */ admin: string; - /** address is the account address of group policy. */ - address: string; + address: string; /** decision_policy is the updated group policy's decision policy. */ + decisionPolicy: Any | undefined; } +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + +export interface MsgUpdateGroupPolicyDecisionPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + address: string; + /** decision_policy is the updated group policy's decision policy. */ + + decision_policy: AnySDKType | undefined; +} /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ + export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} +/** 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; - /** address is the account address of group policy. */ - address: string; + address: string; /** metadata is the updated group policy metadata. */ + metadata: string; } +/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ +export interface MsgUpdateGroupPolicyMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + + address: string; + /** metadata is the updated group policy metadata. */ + + metadata: string; +} /** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ + export interface MsgUpdateGroupPolicyMetadataResponse {} +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ +export interface MsgUpdateGroupPolicyMetadataResponseSDKType {} /** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + export interface MsgSubmitProposal { /** address is the account address of group policy. */ address: string; - /** * proposers are the account addresses of the proposers. * Proposers signatures will be counted as yes votes. */ - proposers: string[]; + proposers: string[]; /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; + metadata: string; /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; + 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; } +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + +export interface MsgSubmitProposalSDKType { + /** address is the account address of 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: AnySDKType[]; + /** + * 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: ExecSDKType; +} /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ + export interface MsgSubmitProposalResponse { /** proposal is the unique ID of the proposal. */ proposalId: Long; } +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ +export interface MsgSubmitProposalResponseSDKType { + /** proposal is the unique ID of the proposal. */ + 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; } +/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ + +export interface MsgWithdrawProposalSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** address is the admin of the group policy or one of the proposer of the proposal. */ + address: string; +} /** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ + export interface MsgWithdrawProposalResponse {} +/** 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; + voter: string; /** option is the voter's choice on the proposal. */ - option: VoteOption; + option: VoteOption; /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; + metadata: string; /** * exec defines whether the proposal should be executed * immediately after voting or not. */ + exec: Exec; } +/** MsgVote is the Msg/Vote request type. */ + +export interface MsgVoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the voter account address. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** 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: ExecSDKType; +} /** MsgVoteResponse is the Msg/Vote response type. */ + export interface MsgVoteResponse {} +/** 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; - /** signer is the account address used to execute the proposal. */ + signer: string; } +/** MsgExec is the Msg/Exec request type. */ + +export interface MsgExecSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** signer is the account address used to execute the proposal. */ + signer: string; +} /** MsgExecResponse is the Msg/Exec request type. */ + export interface MsgExecResponse {} +/** MsgExecResponse is the Msg/Exec request type. */ +export interface MsgExecResponseSDKType {} /** 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; } +/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ +export interface MsgLeaveGroupSDKType { + /** address is the account address of the group member. */ + address: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; +} /** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + export interface MsgLeaveGroupResponse {} +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + +export interface MsgLeaveGroupResponseSDKType {} function createBaseMsgCreateGroup(): MsgCreateGroup { return { @@ -357,28 +628,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) => Member.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 ? Member.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 ?? ""; @@ -404,7 +653,7 @@ export const MsgCreateGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupResponse(); @@ -426,18 +675,6 @@ export const MsgCreateGroupResponse = { return message; }, - fromJSON(object: any): MsgCreateGroupResponse { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: MsgCreateGroupResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgCreateGroupResponse { const message = createBaseMsgCreateGroupResponse(); message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; @@ -501,28 +738,6 @@ export const MsgUpdateGroupMembers = { return message; }, - fromJSON(object: any): MsgUpdateGroupMembers { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - memberUpdates: Array.isArray(object?.memberUpdates) ? object.memberUpdates.map((e: any) => Member.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgUpdateGroupMembers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - - if (message.memberUpdates) { - obj.memberUpdates = message.memberUpdates.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.memberUpdates = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupMembers { const message = createBaseMsgUpdateGroupMembers(); message.admin = object.admin ?? ""; @@ -542,7 +757,7 @@ export const MsgUpdateGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMembersResponse(); @@ -560,15 +775,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; @@ -631,22 +837,6 @@ export const MsgUpdateGroupAdmin = { return message; }, - fromJSON(object: any): MsgUpdateGroupAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupAdmin { const message = createBaseMsgUpdateGroupAdmin(); message.admin = object.admin ?? ""; @@ -666,7 +856,7 @@ export const MsgUpdateGroupAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupAdminResponse(); @@ -684,15 +874,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; @@ -755,22 +936,6 @@ export const MsgUpdateGroupMetadata = { return message; }, - fromJSON(object: any): MsgUpdateGroupMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupMetadata { const message = createBaseMsgUpdateGroupMetadata(); message.admin = object.admin ?? ""; @@ -790,7 +955,7 @@ export const MsgUpdateGroupMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMetadataResponse(); @@ -808,15 +973,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; @@ -888,24 +1044,6 @@ export const MsgCreateGroupPolicy = { return message; }, - fromJSON(object: any): MsgCreateGroupPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - 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 || Long.UZERO).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 ?? ""; @@ -932,7 +1070,7 @@ export const MsgCreateGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupPolicyResponse(); @@ -954,18 +1092,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 ?? ""; @@ -1029,22 +1155,6 @@ export const MsgUpdateGroupPolicyAdmin = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { const message = createBaseMsgUpdateGroupPolicyAdmin(); message.admin = object.admin ?? ""; @@ -1137,34 +1247,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) => Member.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 ? Member.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 ?? ""; @@ -1198,7 +1280,7 @@ export const MsgCreateGroupWithPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupWithPolicyResponse(); @@ -1224,20 +1306,6 @@ export const MsgCreateGroupWithPolicyResponse = { return message; }, - fromJSON(object: any): MsgCreateGroupWithPolicyResponse { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "" - }; - }, - - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -1256,7 +1324,7 @@ export const MsgUpdateGroupPolicyAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyAdminResponse(); @@ -1274,15 +1342,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; @@ -1345,22 +1404,6 @@ export const MsgUpdateGroupPolicyDecisionPolicy = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined - }; - }, - - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - 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 ?? ""; @@ -1380,7 +1423,7 @@ export const MsgUpdateGroupPolicyDecisionPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); @@ -1398,15 +1441,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; @@ -1469,22 +1503,6 @@ export const MsgUpdateGroupPolicyMetadata = { return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - address: isSet(object.address) ? String(object.address) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { const message = createBaseMsgUpdateGroupPolicyMetadata(); message.admin = object.admin ?? ""; @@ -1504,7 +1522,7 @@ export const MsgUpdateGroupPolicyMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); @@ -1522,15 +1540,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; @@ -1611,38 +1620,6 @@ export const MsgSubmitProposal = { return message; }, - fromJSON(object: any): MsgSubmitProposal { - return { - address: isSet(object.address) ? String(object.address) : "", - 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) : 0 - }; - }, - - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - - 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.address = object.address ?? ""; @@ -1670,7 +1647,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -1692,18 +1669,6 @@ export const MsgSubmitProposalResponse = { return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO - }; - }, - - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1758,20 +1723,6 @@ export const MsgWithdrawProposal = { return message; }, - fromJSON(object: any): MsgWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: MsgWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1790,7 +1741,7 @@ export const MsgWithdrawProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawProposalResponse(); @@ -1808,15 +1759,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; @@ -1897,26 +1839,6 @@ export const MsgVote = { return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - metadata: isSet(object.metadata) ? String(object.metadata) : "", - exec: isSet(object.exec) ? execFromJSON(object.exec) : 0 - }; - }, - - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).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 ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -1938,7 +1860,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -1956,15 +1878,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; @@ -2018,20 +1931,6 @@ export const MsgExec = { return message; }, - fromJSON(object: any): MsgExec { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgExec { const message = createBaseMsgExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; @@ -2050,7 +1949,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -2068,15 +1967,6 @@ export const MsgExecResponse = { return message; }, - fromJSON(_: any): MsgExecResponse { - return {}; - }, - - toJSON(_: MsgExecResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgExecResponse { const message = createBaseMsgExecResponse(); return message; @@ -2130,20 +2020,6 @@ export const MsgLeaveGroup = { return message; }, - fromJSON(object: any): MsgLeaveGroup { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO - }; - }, - - toJSON(message: MsgLeaveGroup): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgLeaveGroup { const message = createBaseMsgLeaveGroup(); message.address = object.address ?? ""; @@ -2162,7 +2038,7 @@ export const MsgLeaveGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgLeaveGroupResponse(); @@ -2180,15 +2056,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/examples/telescope/codegen/cosmos/group/v1/types.ts b/examples/telescope/codegen/cosmos/group/v1/types.ts index 49423a2ed..964408286 100644 --- a/examples/telescope/codegen/cosmos/group/v1/types.ts +++ b/examples/telescope/codegen/cosmos/group/v1/types.ts @@ -1,10 +1,10 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; -import { Any } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, isSet, fromJsonTimestamp, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** VoteOption enumerates the valid vote options for a given proposal. */ + export enum VoteOption { /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ VOTE_OPTION_UNSPECIFIED = 0, @@ -22,6 +22,25 @@ export enum VoteOption { VOTE_OPTION_NO_WITH_VETO = 4, UNRECOGNIZED = -1, } +/** VoteOption enumerates the valid vote options for a given proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { switch (object) { case 0: @@ -71,8 +90,8 @@ export function voteOptionToJSON(object: VoteOption): string { return "UNKNOWN"; } } - /** ProposalStatus defines proposal statuses. */ + export enum ProposalStatus { /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ PROPOSAL_STATUS_UNSPECIFIED = 0, @@ -93,6 +112,28 @@ export enum ProposalStatus { PROPOSAL_STATUS_WITHDRAWN = 4, UNRECOGNIZED = -1, } +/** ProposalStatus defines proposal statuses. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ + PROPOSAL_STATUS_UNSPECIFIED = 0, + + /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} export function proposalStatusFromJSON(object: any): ProposalStatus { switch (object) { case 0: @@ -142,8 +183,8 @@ export function proposalStatusToJSON(object: ProposalStatus): string { return "UNKNOWN"; } } - /** ProposalResult defines types of proposal results. */ + export enum ProposalResult { /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ PROPOSAL_RESULT_UNSPECIFIED = 0, @@ -158,6 +199,22 @@ export enum ProposalResult { PROPOSAL_RESULT_REJECTED = 3, UNRECOGNIZED = -1, } +/** ProposalResult defines types of proposal results. */ + +export enum ProposalResultSDKType { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} export function proposalResultFromJSON(object: any): ProposalResult { switch (object) { case 0: @@ -200,8 +257,8 @@ export function proposalResultToJSON(object: ProposalResult): string { return "UNKNOWN"; } } - /** ProposalExecutorResult defines types of proposal executor results. */ + export enum ProposalExecutorResult { /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, @@ -216,6 +273,22 @@ export enum ProposalExecutorResult { PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, UNRECOGNIZED = -1, } +/** ProposalExecutorResult defines types of proposal executor results. */ + +export enum ProposalExecutorResultSDKType { + /** 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { switch (object) { case 0: @@ -258,57 +331,98 @@ export function proposalExecutorResultToJSON(object: ProposalExecutorResult): st return "UNKNOWN"; } } - /** * Member represents a group member with an account address, * non-zero weight and metadata. */ + 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; + weight: string; /** metadata is any arbitrary metadata to attached to the member. */ - metadata: string; + metadata: string; /** added_at is a timestamp specifying when a member was added. */ + addedAt: Date | undefined; } +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ + +export interface MemberSDKType { + /** 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 to attached to the member. */ + + metadata: string; + /** added_at is a timestamp specifying when a member was added. */ + added_at: Date | undefined; +} /** Members defines a repeated slice of Member objects. */ + export interface Members { /** members is the list of members. */ members: Member[]; } +/** Members defines a repeated slice of Member objects. */ +export interface MembersSDKType { + /** members is the list of members. */ + members: MemberSDKType[]; +} /** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + export interface ThresholdDecisionPolicy { /** 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 | undefined; } +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + +export interface ThresholdDecisionPolicySDKType { + /** 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: DecisionPolicyWindowsSDKType | undefined; +} /** PercentageDecisionPolicy implements the DecisionPolicy interface */ + export interface PercentageDecisionPolicy { /** 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 | undefined; } +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ + +export interface PercentageDecisionPolicySDKType { + /** 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: DecisionPolicyWindowsSDKType | undefined; +} /** 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 | undefined; - /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -322,122 +436,208 @@ export interface DecisionPolicyWindows { * is empty, meaning that all proposals created with this decision policy * won't be able to be executed. */ + minExecutionPeriod: Duration | undefined; } +/** DecisionPolicyWindows defines the different windows for voting and execution. */ + +export interface DecisionPolicyWindowsSDKType { + /** + * 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: DurationSDKType | undefined; + /** + * 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: DurationSDKType | undefined; +} /** 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; + admin: string; /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; + 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; + version: Long; /** total_weight is the sum of the group members' weights. */ - totalWeight: string; + totalWeight: string; /** created_at is a timestamp specifying when a group was created. */ + createdAt: Date | undefined; } +/** GroupInfo represents the high-level on-chain information for a group. */ + +export interface GroupInfoSDKType { + /** 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. */ + + total_weight: string; + /** created_at is a timestamp specifying when a group was created. */ + + created_at: Date | undefined; +} /** 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 | undefined; } +/** GroupMember represents the relationship between a group and a member. */ + +export interface GroupMemberSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** member is the member data. */ + member: MemberSDKType | undefined; +} /** 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; + groupId: Long; /** admin is the account address of the group admin. */ - admin: string; + admin: string; /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; + 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; + version: Long; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy: Any | undefined; /** created_at is a timestamp specifying when a group policy was created. */ + createdAt: Date | undefined; } +/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ + +export interface GroupPolicyInfoSDKType { + /** address is the account address of group policy. */ + address: string; + /** group_id is the unique ID of the group. */ + group_id: 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. */ + + decision_policy: AnySDKType | undefined; + /** created_at is a timestamp specifying when a group policy was created. */ + + created_at: Date | undefined; +} /** * 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; - /** address is the account address of group policy. */ - address: string; + address: string; /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; + metadata: string; /** proposers are the account addresses of the proposers. */ - proposers: string[]; + proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date | undefined; + submitTime: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. */ - groupVersion: Long; + groupVersion: Long; /** * group_policy_version tracks the version of the group policy that this proposal corresponds to. * When a decision policy is changed, existing proposals from previous policy versions will become invalid. */ - groupPolicyVersion: Long; + groupPolicyVersion: Long; /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; + status: ProposalStatus; /** * result is the final result based on the votes and election rule. Initial value is unfinalized. * The result is persisted so that clients can always rely on this state and not have to replicate the logic. */ - result: ProposalResult; + result: ProposalResult; /** * final_tally_result contains the sums of all weighted votes for this * proposal for each vote option, after tallying. When querying a proposal * via gRPC, this field is not populated until the proposal's voting period * has ended. */ - finalTallyResult: TallyResult | undefined; + finalTallyResult: TallyResult | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -445,47 +645,148 @@ export interface Proposal { * at this point, and the `final_tally_result`, as well * as `status` and `result` fields will be accordingly updated. */ - votingPeriodEnd: Date | undefined; + votingPeriodEnd: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executorResult: ProposalExecutorResult; + executorResult: ProposalExecutorResult; /** messages is a list of Msgs that will be executed if the proposal passes. */ + messages: Any[]; } +/** + * 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 is the unique id of the proposal. */ + id: Long; + /** address is the account address of 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: Date | undefined; + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + + group_version: Long; + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + + group_policy_version: Long; + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + + status: ProposalStatusSDKType; + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + + result: ProposalResultSDKType; + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + + final_tally_result: TallyResultSDKType | undefined; + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + + voting_period_end: Date | undefined; + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + executor_result: ProposalExecutorResultSDKType; + /** messages is a list of Msgs that will be executed if the proposal passes. */ + + 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; + abstainCount: string; /** no is the weighted sum of no votes. */ - noCount: string; + noCount: string; /** no_with_veto_count is the weighted sum of veto. */ + noWithVetoCount: string; } +/** TallyResult represents the sum of weighted votes for each vote option. */ + +export interface TallyResultSDKType { + /** yes_count is the weighted sum of yes votes. */ + yes_count: string; + /** abstain_count is the weighted sum of abstainers. */ + + abstain_count: string; + /** no 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; +} /** 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; + voter: string; /** option is the voter's choice on the proposal. */ - option: VoteOption; + option: VoteOption; /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; + metadata: string; /** submit_time is the timestamp when the vote was submitted. */ + submitTime: Date | undefined; } +/** Vote represents a vote for a proposal. */ + +export interface VoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the account address of the voter. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** metadata is any arbitrary metadata to attached to the vote. */ + + metadata: string; + /** submit_time is the timestamp when the vote was submitted. */ + + submit_time: Date | undefined; +} function createBaseMember(): Member { return { @@ -551,24 +852,6 @@ 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 = message.addedAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): Member { const message = createBaseMember(); message.address = object.address ?? ""; @@ -617,24 +900,6 @@ export const Members = { return message; }, - fromJSON(object: any): Members { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromJSON(e)) : [] - }; - }, - - toJSON(message: Members): unknown { - const obj: any = {}; - - if (message.members) { - obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.members = []; - } - - return obj; - }, - fromPartial(object: Partial): Members { const message = createBaseMembers(); message.members = object.members?.map(e => Member.fromPartial(e)) || []; @@ -689,20 +954,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 ?? ""; @@ -758,20 +1009,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 ?? ""; @@ -827,20 +1064,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); - message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod); - return obj; - }, - fromPartial(object: Partial): DecisionPolicyWindows { const message = createBaseDecisionPolicyWindows(); message.votingPeriod = object.votingPeriod ?? undefined; @@ -932,28 +1155,6 @@ export const GroupInfo = { return message; }, - fromJSON(object: any): GroupInfo { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): GroupInfo { const message = createBaseGroupInfo(); message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; @@ -1013,20 +1214,6 @@ export const GroupMember = { return message; }, - fromJSON(object: any): GroupMember { - return { - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - member: isSet(object.member) ? Member.fromJSON(object.member) : undefined - }; - }, - - toJSON(message: GroupMember): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).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 ? Long.fromValue(object.groupId) : Long.UZERO; @@ -1127,30 +1314,6 @@ export const GroupPolicyInfo = { return message; }, - fromJSON(object: any): GroupPolicyInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? Long.fromString(object.groupId) : Long.UZERO, - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: Partial): GroupPolicyInfo { const message = createBaseGroupPolicyInfo(); message.address = object.address ?? ""; @@ -1310,54 +1473,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? Long.fromString(object.id) : Long.UZERO, - address: isSet(object.address) ? String(object.address) : "", - 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) ? Long.fromString(object.groupVersion) : Long.UZERO, - groupPolicyVersion: isSet(object.groupPolicyVersion) ? Long.fromString(object.groupPolicyVersion) : Long.UZERO, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0, - result: isSet(object.result) ? proposalResultFromJSON(object.result) : 0, - finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, - votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined, - executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0, - 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 || Long.UZERO).toString()); - message.address !== undefined && (obj.address = message.address); - 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 = message.submitTime.toISOString()); - message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString()); - message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString()); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = 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 ? Long.fromValue(object.id) : Long.UZERO; @@ -1442,24 +1557,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 ?? ""; @@ -1544,26 +1641,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? Long.fromString(object.proposalId) : Long.UZERO, - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0, - 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 || Long.UZERO).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 = message.submitTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): Vote { const message = createBaseVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; diff --git a/examples/telescope/codegen/cosmos/lcd.ts b/examples/telescope/codegen/cosmos/lcd.ts index 079d528b8..954fcdf89 100644 --- a/examples/telescope/codegen/cosmos/lcd.ts +++ b/examples/telescope/codegen/cosmos/lcd.ts @@ -1,81 +1,99 @@ +import { LCDClient } from "@osmonauts/lcd"; export const createLCDClient = async ({ restEndpoint }: { restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + gov: { + v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("./tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts index ed0818a4f..7466eca80 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts @@ -1,15 +1,23 @@ -import { Minter, Params } from "./mint"; +import { Minter, MinterSDKType, Params, ParamsSDKType } from "./mint"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the mint module's genesis state. */ + export interface GenesisState { /** minter is a space for holding current inflation information. */ minter: Minter | undefined; - /** params defines all the paramaters of the module. */ + params: Params | undefined; } +/** GenesisState defines the mint module's genesis state. */ + +export interface GenesisStateSDKType { + /** minter is a space for holding current inflation information. */ + minter: MinterSDKType | undefined; + /** params defines all the paramaters of the module. */ + + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -57,20 +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/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts index 8cde41929..751636d08 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts @@ -1,35 +1,65 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Minter represents the minting state. */ + export interface Minter { /** current annual inflation rate */ inflation: string; - /** current annual expected provisions */ + annualProvisions: string; } +/** Minter represents the minting state. */ +export interface MinterSDKType { + /** current annual inflation rate */ + inflation: string; + /** current annual expected provisions */ + + 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; + inflationRateChange: string; /** maximum inflation rate */ - inflationMax: string; + inflationMax: string; /** minimum inflation rate */ - inflationMin: string; + inflationMin: string; /** goal of percent bonded atoms */ - goalBonded: string; + goalBonded: string; /** expected blocks per year */ + blocksPerYear: Long; } +/** Params holds parameters for the mint module. */ + +export interface ParamsSDKType { + /** 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: Long; +} function createBaseMinter(): Minter { return { @@ -77,20 +107,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 ?? ""; @@ -182,28 +198,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) ? Long.fromString(object.blocksPerYear) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.mintDenom = object.mintDenom ?? ""; diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts index 408fe7872..920860407 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts @@ -1,33 +1,38 @@ -import { Params } from "./mint"; import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); } - /* Params returns the total set of minting parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/mint/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Inflation returns the current minting inflation value. */ - async inflation(_params: QueryInflationRequest = {}): Promise { + + + async inflation(_params: QueryInflationRequest = {}): Promise { const endpoint = `cosmos/mint/v1beta1/inflation`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AnnualProvisions current minting annual provisions value. */ - async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { + + + async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { const endpoint = `cosmos/mint/v1beta1/annual_provisions`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts index 1cfec384e..0ea42b140 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -1,17 +1,17 @@ -import { Params } from "./mint"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params returns the total set of minting parameters.*/ - inflation(request: QueryInflationRequest): Promise; + inflation(request?: QueryInflationRequest): Promise; /*Inflation returns the current minting inflation value.*/ - annualProvisions(request: QueryAnnualProvisionsRequest): Promise; + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; /*AnnualProvisions current minting annual provisions value.*/ } @@ -25,22 +25,40 @@ export class QueryClientImpl implements Query { this.annualProvisions = this.annualProvisions.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - inflation(request: QueryInflationRequest): Promise { + inflation(request: QueryInflationRequest = {}): Promise { const data = QueryInflationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); } - annualProvisions(request: QueryAnnualProvisionsRequest): Promise { + annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { const data = QueryAnnualProvisionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + inflation(request?: QueryInflationRequest): Promise { + return queryService.inflation(request); + }, + + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { + return queryService.annualProvisions(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts index 871fdd0a4..988f2d832 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts @@ -1,42 +1,77 @@ -import { Params } from "./mint"; +import { Params, ParamsSDKType } from "./mint"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ + export interface QueryInflationRequest {} +/** 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; } +/** + * QueryInflationResponse is the response type for the Query/Inflation RPC + * method. + */ +export interface QueryInflationResponseSDKType { + /** inflation is the current minting inflation value. */ + inflation: Uint8Array; +} /** * QueryAnnualProvisionsRequest is the request type for the * Query/AnnualProvisions RPC method. */ + export interface QueryAnnualProvisionsRequest {} +/** + * 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; } +/** + * QueryAnnualProvisionsResponse is the response type for the + * Query/AnnualProvisions RPC method. + */ + +export interface QueryAnnualProvisionsResponseSDKType { + /** annual_provisions is the current minting annual provisions value. */ + annual_provisions: Uint8Array; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return {}; @@ -65,15 +100,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; @@ -96,7 +122,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -118,18 +144,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; @@ -165,15 +179,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; @@ -196,7 +201,7 @@ export const QueryInflationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryInflationResponse(); @@ -218,18 +223,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(); @@ -265,15 +258,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; @@ -296,7 +280,7 @@ export const QueryAnnualProvisionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAnnualProvisionsResponse(); @@ -318,18 +302,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/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts index 0a183320d..dac30f74b 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts @@ -1,27 +1,48 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** EventSend is emitted on Msg/Send */ + export interface EventSend { classId: string; id: string; sender: string; receiver: string; } +/** 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; } +/** 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; } +/** EventBurn is emitted on Burn */ + +export interface EventBurnSDKType { + class_id: string; + id: string; + owner: string; +} function createBaseEventSend(): EventSend { return { @@ -87,24 +108,6 @@ export const EventSend = { 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 ?? ""; @@ -171,22 +174,6 @@ export const EventMint = { 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 ?? ""; @@ -252,22 +239,6 @@ export const EventBurn = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts index 5e1606405..879eeacce 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts @@ -1,22 +1,37 @@ -import { Class, NFT } from "./nft"; +import { Class, ClassSDKType, NFT, NFTSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the nft module's genesis state. */ + export interface GenesisState { /** class defines the class of the nft type. */ classes: Class[]; entries: Entry[]; } +/** GenesisState defines the nft module's genesis state. */ +export interface GenesisStateSDKType { + /** class defines the class of the nft type. */ + 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[]; } +/** Entry Defines all nft owned by a person */ + +export interface EntrySDKType { + /** owner is the owner address of the following nft */ + owner: string; + /** nfts is a group of nfts of the same owner */ + + nfts: NFTSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -64,31 +79,6 @@ export const GenesisState = { 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)) || []; @@ -144,26 +134,6 @@ export const Entry = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts index 62b48229d..fc0693d1d 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts @@ -1,48 +1,89 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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; + name: string; /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; + symbol: string; /** description is a brief description of nft classification. Optional */ - description: string; + description: string; /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; + uri: string; /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; + uriHash: string; /** data is the app specific metadata of the NFT class. Optional */ + data: Any | undefined; } +/** Class defines the class of the nft type. */ + +export interface ClassSDKType { + /** 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: AnySDKType | undefined; +} /** 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; + id: string; /** uri for the NFT metadata stored off chain */ - uri: string; + uri: string; /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; + uriHash: string; /** data is an app specific data of the NFT. Optional */ + data: Any | undefined; } +/** NFT defines the NFT. */ + +export interface NFTSDKType { + /** 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: AnySDKType | undefined; +} function createBaseClass(): Class { return { @@ -135,30 +176,6 @@ export const Class = { 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 ?? ""; @@ -246,26 +263,6 @@ export const NFT = { 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 ?? ""; diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts index fa426695e..1cbb51ba4 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -1,40 +1,49 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + 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 { + + + async balance(params: QueryBalanceRequest): Promise { const endpoint = `cosmos/nft/v1beta1/balance/${params.owner}/${params.classId}`; - return await this.request(endpoint); + 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 { + + + async owner(params: QueryOwnerRequest): Promise { const endpoint = `cosmos/nft/v1beta1/owner/${params.classId}/${params.id}`; - return await this.request(endpoint); + 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 { + + + async supply(params: QuerySupplyRequest): Promise { const endpoint = `cosmos/nft/v1beta1/supply/${params.classId}`; - return await this.request(endpoint); + 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 { + + + async nFTs(params: QueryNFTsRequest): Promise { const options: any = { params: {} }; @@ -52,25 +61,28 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/nft/v1beta1/nfts`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* NFT queries an NFT based on its class and id. */ - async nFT(params: QueryNFTRequest): Promise { + + + async nFT(params: QueryNFTRequest): Promise { const endpoint = `cosmos/nft/v1beta1/nfts/${params.classId}/${params.id}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Class queries an NFT class based on its id */ - async class(params: QueryClassRequest): Promise { + + + async class(params: QueryClassRequest): Promise { const endpoint = `cosmos/nft/v1beta1/classes/${params.classId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Classes queries all NFT classes */ + + async classes(params: QueryClassesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -80,7 +92,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/nft/v1beta1/classes`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts index b091e0a15..e27a47468 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -1,31 +1,30 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - balance(request: QueryBalanceRequest): Promise; + balance(request: QueryBalanceRequest): Promise; /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ - owner(request: QueryOwnerRequest): Promise; + owner(request: QueryOwnerRequest): Promise; /*Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721*/ - supply(request: QuerySupplyRequest): Promise; + supply(request: QuerySupplyRequest): Promise; /*Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.*/ - nFTs(request: QueryNFTsRequest): Promise; + nFTs(request: QueryNFTsRequest): Promise; /*NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerable*/ - nFT(request: QueryNFTRequest): Promise; + nFT(request: QueryNFTRequest): Promise; /*NFT queries an NFT based on its class and id.*/ - class(request: QueryClassRequest): Promise; + class(request: QueryClassRequest): Promise; /*Class queries an NFT class based on its id*/ - classes(request: QueryClassesRequest): Promise; + classes(request?: QueryClassesRequest): Promise; /*Classes queries all NFT classes*/ } @@ -43,46 +42,82 @@ export class QueryClientImpl implements Query { this.classes = this.classes.bind(this); } - balance(request: QueryBalanceRequest): Promise { + 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 _m0.Reader(data))); } - owner(request: QueryOwnerRequest): Promise { + 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 _m0.Reader(data))); } - supply(request: QuerySupplyRequest): Promise { + 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 _m0.Reader(data))); } - nFTs(request: QueryNFTsRequest): Promise { + 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 _m0.Reader(data))); } - nFT(request: QueryNFTRequest): Promise { + 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 _m0.Reader(data))); } - class(request: QueryClassRequest): Promise { + 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 _m0.Reader(data))); } - classes(request: QueryClassesRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts index 059042c69..1ac38a5b5 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts @@ -1,85 +1,163 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { NFT, Class } from "./nft"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method */ + export interface QueryBalanceRequest { classId: string; owner: string; } +/** 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; } +/** 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; } +/** 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; } +/** 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; } +/** 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; } +/** 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; + classId?: string; + owner?: string; pagination?: PageRequest | undefined; } +/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ +export interface QueryNFTsRequestSDKType { + class_id?: string; + owner?: string; + pagination?: PageRequestSDKType | undefined; +} /** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ + export interface QueryNFTsResponse { nfts: NFT[]; pagination?: PageResponse | undefined; } +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ +export interface QueryNFTsResponseSDKType { + nfts: NFTSDKType[]; + pagination?: PageResponseSDKType | undefined; +} /** QueryNFTRequest is the request type for the Query/NFT RPC method */ + export interface QueryNFTRequest { classId: string; id: string; } +/** 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 | undefined; } +/** QueryNFTResponse is the response type for the Query/NFT RPC method */ +export interface QueryNFTResponseSDKType { + nft: NFTSDKType | undefined; +} /** QueryClassRequest is the request type for the Query/Class RPC method */ + export interface QueryClassRequest { classId: string; } +/** 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 | undefined; } +/** QueryClassResponse is the response type for the Query/Class RPC method */ +export interface QueryClassResponseSDKType { + class: ClassSDKType | undefined; +} /** QueryClassesRequest is the request type for the Query/Classes RPC method */ + export interface QueryClassesRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ +export interface QueryClassesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** QueryClassesResponse is the response type for the Query/Classes RPC method */ + export interface QueryClassesResponse { classes: Class[]; pagination?: PageResponse | undefined; } +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ + +export interface QueryClassesResponseSDKType { + classes: ClassSDKType[]; + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryBalanceRequest(): QueryBalanceRequest { return { @@ -127,20 +205,6 @@ export const QueryBalanceRequest = { 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 ?? ""; @@ -165,7 +229,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -187,18 +251,6 @@ export const QueryBalanceResponse = { return message; }, - fromJSON(object: any): QueryBalanceResponse { - return { - amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO - }; - }, - - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryBalanceResponse { const message = createBaseQueryBalanceResponse(); message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; @@ -253,20 +305,6 @@ export const QueryOwnerRequest = { 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 ?? ""; @@ -291,7 +329,7 @@ export const QueryOwnerResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryOwnerResponse(); @@ -313,18 +351,6 @@ export const QueryOwnerResponse = { 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 ?? ""; @@ -370,18 +396,6 @@ export const QuerySupplyRequest = { 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 ?? ""; @@ -405,7 +419,7 @@ export const QuerySupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyResponse(); @@ -427,18 +441,6 @@ export const QuerySupplyResponse = { return message; }, - fromJSON(object: any): QuerySupplyResponse { - return { - amount: isSet(object.amount) ? Long.fromString(object.amount) : Long.UZERO - }; - }, - - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QuerySupplyResponse { const message = createBaseQuerySupplyResponse(); message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; @@ -502,22 +504,6 @@ export const QueryNFTsRequest = { 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 ?? ""; @@ -548,7 +534,7 @@ export const QueryNFTsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTsResponse(); @@ -574,26 +560,6 @@ export const QueryNFTsResponse = { 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)) || []; @@ -649,20 +615,6 @@ export const QueryNFTRequest = { 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 ?? ""; @@ -687,7 +639,7 @@ export const QueryNFTResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTResponse(); @@ -709,18 +661,6 @@ export const QueryNFTResponse = { 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; @@ -766,18 +706,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 ?? ""; @@ -801,7 +729,7 @@ export const QueryClassResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassResponse(); @@ -823,18 +751,6 @@ export const QueryClassResponse = { 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; @@ -880,18 +796,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; @@ -920,7 +824,7 @@ export const QueryClassesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassesResponse(); @@ -946,26 +850,6 @@ export const QueryClassesResponse = { 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)) || []; diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts index e148f1934..0d9307539 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts @@ -24,24 +24,6 @@ export const MessageComposer = { }; } - }, - 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) { diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts index 78ea50e14..1684544b3 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse } from "./tx"; - +import { MsgSend, MsgSendResponse, MsgSendResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - send(request: MsgSend): Promise; + send(request: MsgSend): Promise; /*Send defines a method to send a nft from one account to another account.*/ } @@ -16,7 +16,7 @@ export class MsgClientImpl implements Msg { this.send = this.send.bind(this); } - send(request: MsgSend): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts index 907d3c157..488810e3f 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts @@ -1,23 +1,40 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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; + id: string; /** sender is the address of the owner of nft */ - sender: string; + sender: string; /** receiver is the receiver address of nft */ + receiver: string; } +/** MsgSend represents a message to send a nft from one account to another account. */ + +export interface MsgSendSDKType { + /** 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; +} /** MsgSendResponse defines the Msg/Send response type. */ + export interface MsgSendResponse {} +/** MsgSendResponse defines the Msg/Send response type. */ + +export interface MsgSendResponseSDKType {} function createBaseMsgSend(): MsgSend { return { @@ -83,24 +100,6 @@ export const MsgSend = { 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 ?? ""; @@ -121,7 +120,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -139,15 +138,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; diff --git a/examples/telescope/codegen/cosmos/orm/v1/orm.ts b/examples/telescope/codegen/cosmos/orm/v1/orm.ts index d619d641d..8565532ca 100644 --- a/examples/telescope/codegen/cosmos/orm/v1/orm.ts +++ b/examples/telescope/codegen/cosmos/orm/v1/orm.ts @@ -1,23 +1,38 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** TableDescriptor describes an ORM table. */ + export interface TableDescriptor { /** primary_key defines the primary key for the table. */ primaryKey: PrimaryKeyDescriptor | undefined; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; + 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; } +/** TableDescriptor describes an ORM table. */ + +export interface TableDescriptorSDKType { + /** primary_key defines the primary key for the table. */ + primary_key: PrimaryKeyDescriptorSDKType | undefined; + /** index defines one or more secondary indexes. */ + + index: SecondaryIndexDescriptorSDKType[]; + /** + * 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; +} /** PrimaryKeyDescriptor describes a table primary key. */ + export interface PrimaryKeyDescriptor { /** * fields is a comma-separated list of fields in the primary key. Spaces are @@ -52,16 +67,60 @@ export interface PrimaryKeyDescriptor { * 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; } +/** PrimaryKeyDescriptor describes a table primary key. */ + +export interface PrimaryKeyDescriptorSDKType { + /** + * 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; +} /** PrimaryKeyDescriptor describes a table secondary index. */ + export interface SecondaryIndexDescriptor { /** * fields is a comma-separated list of fields in the index. The supported @@ -75,19 +134,45 @@ export interface SecondaryIndexDescriptor { * 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; + id: number; /** unique specifies that this an unique index. */ + unique: boolean; } +/** PrimaryKeyDescriptor describes a table secondary index. */ + +export interface SecondaryIndexDescriptorSDKType { + /** + * 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 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; +} /** 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 @@ -96,6 +181,16 @@ export interface SingletonDescriptor { */ id: number; } +/** TableDescriptor describes an ORM singleton table which has at most one instance. */ + +export interface SingletonDescriptorSDKType { + /** + * 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; +} function createBaseTableDescriptor(): TableDescriptor { return { @@ -152,28 +247,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; @@ -230,20 +303,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 ?? ""; @@ -308,22 +367,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 ?? ""; @@ -371,18 +414,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/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts index 11e3c94dc..a32fcdec3 100644 --- a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts +++ b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts @@ -1,7 +1,6 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** StorageType */ + export enum StorageType { /** * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent @@ -48,6 +47,54 @@ export enum StorageType { STORAGE_TYPE_COMMITMENT = 4, UNRECOGNIZED = -1, } +/** StorageType */ + +export enum StorageTypeSDKType { + /** + * 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 function storageTypeFromJSON(object: any): StorageType { switch (object) { case 0: @@ -97,40 +144,74 @@ export function storageTypeToJSON(object: StorageType): string { return "UNKNOWN"; } } - /** 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; } +/** ModuleSchemaDescriptor describe's a module's ORM schema. */ + +export interface ModuleSchemaDescriptorSDKType { + schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; + /** + * prefix is an optional prefix that precedes all keys in this module's + * store. + */ + 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; + 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; } +/** FileEntry describes an ORM file used in a module. */ + +export interface ModuleSchemaDescriptor_FileEntrySDKType { + /** + * 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: StorageTypeSDKType; +} function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { return { @@ -178,26 +259,6 @@ export const ModuleSchemaDescriptor = { 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)) || []; @@ -262,22 +323,6 @@ export const ModuleSchemaDescriptor_FileEntry = { 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) : 0 - }; - }, - - 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; diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts index 2023c7189..0921dec84 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts @@ -1,22 +1,38 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** ParameterChangeProposal defines a proposal to change one or more parameters. */ + export interface ParameterChangeProposal { title: string; description: string; changes: ParamChange[]; } +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ +export interface ParameterChangeProposalSDKType { + 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; } +/** + * ParamChange defines an individual parameter change, for use in + * ParameterChangeProposal. + */ + +export interface ParamChangeSDKType { + subspace: string; + key: string; + value: string; +} function createBaseParameterChangeProposal(): ParameterChangeProposal { return { @@ -73,28 +89,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 ?? ""; @@ -160,22 +154,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/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts index 5e8dd2b25..d165cf20d 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -1,20 +1,22 @@ -import { ParamChange } from "./params"; import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); } - /* Params queries a specific parameter of a module, given its subspace and key. */ - async params(params: QueryParamsRequest): Promise { + + + async params(params: QueryParamsRequest): Promise { const options: any = { params: {} }; @@ -28,13 +30,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/params/v1beta1/params`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Subspaces queries for all registered subspaces and all keys for a subspace. */ - async subspaces(_params: QuerySubspacesRequest = {}): Promise { + + + async subspaces(_params: QuerySubspacesRequest = {}): Promise { const endpoint = `cosmos/params/v1beta1/subspaces`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts index 29b24104f..0fa154d26 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -1,15 +1,15 @@ -import { ParamChange } from "./params"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request: QueryParamsRequest): Promise; /*Params queries a specific parameter of a module, given its subspace and key.*/ - subspaces(request: QuerySubspacesRequest): Promise; + subspaces(request?: QuerySubspacesRequest): Promise; /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ } @@ -22,16 +22,30 @@ export class QueryClientImpl implements Query { this.subspaces = this.subspaces.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - subspaces(request: QuerySubspacesRequest): Promise { + subspaces(request: QuerySubspacesRequest = {}): Promise { const data = QuerySubspacesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + subspaces(request?: QuerySubspacesRequest): Promise { + return queryService.subspaces(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts index 9ba52a80f..d4ec37fbb 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts @@ -1,44 +1,81 @@ -import { ParamChange } from "./params"; +import { ParamChange, ParamChangeSDKType } from "./params"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** 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; } +/** QueryParamsRequest is request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType { + /** subspace defines the module to query the parameter for. */ + subspace: string; + /** key defines the key of the parameter in the subspace. */ + key: string; +} /** QueryParamsResponse is response type for the Query/Params RPC method. */ + export interface QueryParamsResponse { /** param defines the queried parameter. */ param: ParamChange | undefined; } +/** QueryParamsResponse is response type for the Query/Params RPC method. */ +export interface QueryParamsResponseSDKType { + /** param defines the queried parameter. */ + param: ParamChangeSDKType | undefined; +} /** * QuerySubspacesRequest defines a request type for querying for all registered * subspaces and all keys for a subspace. */ + export interface QuerySubspacesRequest {} +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ +export interface QuerySubspacesRequestSDKType {} /** * QuerySubspacesResponse defines the response types for querying for all * registered subspaces and all keys for a subspace. */ + export interface QuerySubspacesResponse { subspaces: Subspace[]; } +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ +export interface QuerySubspacesResponseSDKType { + subspaces: SubspaceSDKType[]; +} /** * Subspace defines a parameter subspace name and all the keys that exist for * the subspace. */ + export interface Subspace { subspace: string; keys: string[]; } +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ + +export interface SubspaceSDKType { + subspace: string; + keys: string[]; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return { @@ -86,20 +123,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 ?? ""; @@ -124,7 +147,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -146,18 +169,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; @@ -193,15 +204,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; @@ -224,7 +226,7 @@ export const QuerySubspacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySubspacesResponse(); @@ -246,24 +248,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)) || []; @@ -318,26 +302,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/examples/telescope/codegen/cosmos/rpc.query.ts b/examples/telescope/codegen/cosmos/rpc.query.ts index 8c8c4a608..463a76c44 100644 --- a/examples/telescope/codegen/cosmos/rpc.query.ts +++ b/examples/telescope/codegen/cosmos/rpc.query.ts @@ -1,55 +1,68 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ - rpc + rpcEndpoint }: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("./app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) - }, - auth: { - v1beta1: new (await import("./auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("./gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("./gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("./group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("./authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("./bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("./base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("./gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("./gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("./group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("./tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("./upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts index 89d8403a0..bcdfead42 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -1,52 +1,100 @@ -import { Params, ValidatorSigningInfo } from "./slashing"; +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the slashing module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params: Params | undefined; - /** * signing_infos represents a map between validator addresses and their * signing infos. */ - signingInfos: SigningInfo[]; + signingInfos: SigningInfo[]; /** * missed_blocks represents a map between validator addresses and their * missed blocks. */ + missedBlocks: ValidatorMissedBlocks[]; } +/** GenesisState defines the slashing module's genesis state. */ +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params: ParamsSDKType | undefined; + /** + * signing_infos represents a map between validator addresses and their + * signing infos. + */ + + signing_infos: SigningInfoSDKType[]; + /** + * missed_blocks represents a map between validator addresses and their + * missed blocks. + */ + + 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 | undefined; } +/** SigningInfo stores validator signing info of corresponding address. */ +export interface SigningInfoSDKType { + /** address is the validator address. */ + address: string; + /** validator_signing_info represents the signing info of this validator. */ + + validator_signing_info: ValidatorSigningInfoSDKType | undefined; +} /** * 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[]; } +/** + * ValidatorMissedBlocks contains array of missed blocks of corresponding + * address. + */ +export interface ValidatorMissedBlocksSDKType { + /** address is the validator address. */ + address: string; + /** missed_blocks is an array of missed blocks by the validator. */ + + 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; +} +/** MissedBlock contains height and missed status as boolean. */ +export interface MissedBlockSDKType { + /** index is the height at which the block was missed. */ + index: Long; /** missed is the missed status. */ + missed: boolean; } @@ -105,33 +153,6 @@ export const GenesisState = { 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; @@ -188,20 +209,6 @@ export const SigningInfo = { 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 ?? ""; @@ -257,26 +264,6 @@ export const ValidatorMissedBlocks = { 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 ?? ""; @@ -332,20 +319,6 @@ export const MissedBlock = { return message; }, - fromJSON(object: any): MissedBlock { - return { - index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, - missed: isSet(object.missed) ? Boolean(object.missed) : false - }; - }, - - toJSON(message: MissedBlock): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.index) : Long.ZERO; diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts index f7b2ae984..cb3b9ffdc 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -1,35 +1,39 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + 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 { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/slashing/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* SigningInfo queries the signing info of given cons address */ - async signingInfo(params: QuerySigningInfoRequest): Promise { + + + async signingInfo(params: QuerySigningInfoRequest): Promise { const endpoint = `cosmos/slashing/v1beta1/signing_infos/${params.consAddress}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* SigningInfos queries signing info of all validators */ + + async signingInfos(params: QuerySigningInfosRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -39,7 +43,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/slashing/v1beta1/signing_infos`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts index c52fcf97c..3dc1d6580 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries the parameters of slashing module*/ - signingInfo(request: QuerySigningInfoRequest): Promise; + signingInfo(request: QuerySigningInfoRequest): Promise; /*SigningInfo queries the signing info of given cons address*/ - signingInfos(request: QuerySigningInfosRequest): Promise; + signingInfos(request?: QuerySigningInfosRequest): Promise; /*SigningInfos queries signing info of all validators*/ } @@ -26,22 +25,42 @@ export class QueryClientImpl implements Query { this.signingInfos = this.signingInfos.bind(this); } - params(request: QueryParamsRequest): Promise { + 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 _m0.Reader(data))); } - signingInfo(request: QuerySigningInfoRequest): Promise { + 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 _m0.Reader(data))); } - signingInfos(request: QuerySigningInfosRequest): Promise { + 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 _m0.Reader(data))); } -} \ No newline at end of file +} +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/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts index 61a7cffc8..21bd49c73 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts @@ -1,51 +1,94 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Params, ValidatorSigningInfo } from "./slashing"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryParamsRequest is the request type for the Query/Params RPC method */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method */ +export interface QueryParamsResponseSDKType { + params: ParamsSDKType | undefined; +} /** * 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; } +/** + * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC + * method + */ +export interface QuerySigningInfoRequestSDKType { + /** cons_address is the address to query signing info of */ + 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 | undefined; } +/** + * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + * method + */ +export interface QuerySigningInfoResponseSDKType { + /** val_signing_info is the signing info of requested val cons address */ + val_signing_info: ValidatorSigningInfoSDKType | undefined; +} /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC * method */ + export interface QuerySigningInfosRequest { pagination?: PageRequest | undefined; } +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ +export interface QuerySigningInfosRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + * method + */ + +export interface QuerySigningInfosResponseSDKType { + /** info is the signing info of all validators */ + info: ValidatorSigningInfoSDKType[]; + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryParamsRequest(): QueryParamsRequest { return {}; @@ -74,15 +117,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; @@ -105,7 +139,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -127,18 +161,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; @@ -184,18 +206,6 @@ export const QuerySigningInfoRequest = { 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 ?? ""; @@ -219,7 +229,7 @@ export const QuerySigningInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfoResponse(); @@ -241,18 +251,6 @@ export const QuerySigningInfoResponse = { 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; @@ -298,18 +296,6 @@ export const QuerySigningInfosRequest = { 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; @@ -338,7 +324,7 @@ export const QuerySigningInfosResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfosResponse(); @@ -364,26 +350,6 @@ export const QuerySigningInfosResponse = { 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)) || []; diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts index 9bf5f95ee..13afa0fff 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -1,42 +1,75 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration } from "../../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp, isSet, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/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: Long; + 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; + indexOffset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date | undefined; + jailedUntil: Date | undefined; /** * 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; + tombstoned: boolean; /** * A counter kept to avoid unnecessary array reads. * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. */ + missedBlocksCounter: Long; } +/** + * ValidatorSigningInfo defines a validator's signing info for monitoring their + * liveness activity. + */ +export interface ValidatorSigningInfoSDKType { + address: string; + /** Height at which validator was first a candidate OR was unjailed */ + + start_height: 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`. + */ + + index_offset: Long; + /** Timestamp until which the validator is jailed due to liveness downtime. */ + + jailed_until: Date | undefined; + /** + * 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: Long; +} /** Params represents the parameters used for by the slashing module. */ + export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; @@ -44,6 +77,15 @@ export interface Params { slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } +/** 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 | undefined; + slash_fraction_double_sign: Uint8Array; + slash_fraction_downtime: Uint8Array; +} function createBaseValidatorSigningInfo(): ValidatorSigningInfo { return { @@ -127,28 +169,6 @@ export const ValidatorSigningInfo = { return message; }, - fromJSON(object: any): ValidatorSigningInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - startHeight: isSet(object.startHeight) ? Long.fromString(object.startHeight) : Long.ZERO, - indexOffset: isSet(object.indexOffset) ? Long.fromString(object.indexOffset) : Long.ZERO, - jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined, - tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false, - missedBlocksCounter: isSet(object.missedBlocksCounter) ? Long.fromString(object.missedBlocksCounter) : Long.ZERO - }; - }, - - toJSON(message: ValidatorSigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString()); - message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString()); - message.jailedUntil !== undefined && (obj.jailedUntil = message.jailedUntil.toISOString()); - message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); - message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorSigningInfo { const message = createBaseValidatorSigningInfo(); message.address = object.address ?? ""; @@ -235,26 +255,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - signedBlocksWindow: isSet(object.signedBlocksWindow) ? Long.fromString(object.signedBlocksWindow) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); - message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration); - 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 ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts index 8921edc0f..449d8a3ee 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts @@ -24,24 +24,6 @@ export const MessageComposer = { }; } - }, - 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) { diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts index 4c7948316..bdc0ffa55 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -1,10 +1,10 @@ import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgUnjail, MsgUnjailResponse } from "./tx"; - +import { MsgUnjail, MsgUnjailResponse, MsgUnjailResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - unjail(request: MsgUnjail): Promise; + unjail(request: MsgUnjail): Promise; /*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.*/ @@ -18,7 +18,7 @@ export class MsgClientImpl implements Msg { this.unjail = this.unjail.bind(this); } - unjail(request: MsgUnjail): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts index 6551bff33..5e0acc0e1 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts @@ -1,13 +1,20 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** MsgUnjail defines the Msg/Unjail request type */ + export interface MsgUnjail { validatorAddr: string; } +/** MsgUnjail defines the Msg/Unjail request type */ +export interface MsgUnjailSDKType { + validator_addr: string; +} /** MsgUnjailResponse defines the Msg/Unjail response type */ + export interface MsgUnjailResponse {} +/** MsgUnjailResponse defines the Msg/Unjail response type */ + +export interface MsgUnjailResponseSDKType {} function createBaseMsgUnjail(): MsgUnjail { return { @@ -46,18 +53,6 @@ export const MsgUnjail = { 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 ?? ""; @@ -75,7 +70,7 @@ export const MsgUnjailResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUnjailResponse(); @@ -93,15 +88,6 @@ export const MsgUnjailResponse = { return message; }, - fromJSON(_: any): MsgUnjailResponse { - return {}; - }, - - toJSON(_: MsgUnjailResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgUnjailResponse { const message = createBaseMsgUnjailResponse(); return message; diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts index a3f158574..4066c7a4c 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts @@ -1,12 +1,11 @@ -import { Coin } from "../../base/v1beta1/coin"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * AuthorizationType defines the type of staking module authorization type * * Since: cosmos-sdk 0.43 */ + export enum AuthorizationType { /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ AUTHORIZATION_TYPE_UNSPECIFIED = 0, @@ -21,6 +20,26 @@ export enum AuthorizationType { AUTHORIZATION_TYPE_REDELEGATE = 3, UNRECOGNIZED = -1, } +/** + * AuthorizationType defines the type of staking module authorization type + * + * Since: cosmos-sdk 0.43 + */ + +export enum AuthorizationTypeSDKType { + /** 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 function authorizationTypeFromJSON(object: any): AuthorizationType { switch (object) { case 0: @@ -63,36 +82,66 @@ export function authorizationTypeToJSON(object: AuthorizationType): string { return "UNKNOWN"; } } - /** * StakeAuthorization defines authorization for delegate/undelegate/redelegate. * * Since: cosmos-sdk 0.43 */ + export interface StakeAuthorization { /** * 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 | undefined; - /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. */ - allowList?: StakeAuthorization_Validators | undefined; + allowList?: StakeAuthorization_Validators | undefined; /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators | undefined; + denyList?: StakeAuthorization_Validators | undefined; /** authorization_type defines one of AuthorizationType. */ + authorizationType: AuthorizationType; } +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ + +export interface StakeAuthorizationSDKType { + /** + * 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: CoinSDKType | undefined; + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + + allow_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + + deny_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** authorization_type defines one of AuthorizationType. */ + authorization_type: AuthorizationTypeSDKType; +} /** Validators defines list of validator addresses. */ + export interface StakeAuthorization_Validators { address: string[]; } +/** Validators defines list of validator addresses. */ + +export interface StakeAuthorization_ValidatorsSDKType { + address: string[]; +} function createBaseStakeAuthorization(): StakeAuthorization { return { @@ -158,24 +207,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) : 0 - }; - }, - - 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; @@ -224,24 +255,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/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts index 8aafa425b..073f7a091 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts @@ -1,44 +1,84 @@ -import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking"; +import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the staking module's genesis state. */ + export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params: Params | undefined; - /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. */ - lastTotalPower: Uint8Array; + lastTotalPower: Uint8Array; /** * last_validator_powers is a special index that provides a historical list * of the last-block's bonded validators. */ - lastValidatorPowers: LastValidatorPower[]; + lastValidatorPowers: LastValidatorPower[]; /** delegations defines the validator set at genesis. */ - validators: Validator[]; + validators: Validator[]; /** delegations defines the delegations active at genesis. */ - delegations: Delegation[]; + delegations: Delegation[]; /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbondingDelegations: UnbondingDelegation[]; + unbondingDelegations: UnbondingDelegation[]; /** redelegations defines the redelegations active at genesis. */ + redelegations: Redelegation[]; exported: boolean; } +/** GenesisState defines the staking module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params: ParamsSDKType | undefined; + /** + * 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: LastValidatorPowerSDKType[]; + /** delegations defines the validator set at genesis. */ + + validators: ValidatorSDKType[]; + /** delegations defines the delegations active at genesis. */ + + delegations: DelegationSDKType[]; + /** unbonding_delegations defines the unbonding delegations active at genesis. */ + unbonding_delegations: UnbondingDelegationSDKType[]; + /** redelegations defines the redelegations active at genesis. */ + + 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; +} +/** LastValidatorPower required for validator set update logic. */ +export interface LastValidatorPowerSDKType { + /** address is the address of the validator. */ + address: string; /** power defines the power of the validator. */ + power: Long; } @@ -142,58 +182,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; @@ -255,20 +243,6 @@ export const LastValidatorPower = { return message; }, - fromJSON(object: any): LastValidatorPower { - return { - address: isSet(object.address) ? String(object.address) : "", - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - toJSON(message: LastValidatorPower): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): LastValidatorPower { const message = createBaseLastValidatorPower(); message.address = object.address ?? ""; diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts index d5760d35e..977869717 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -1,21 +1,34 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -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"; -export class LCDQueryClient extends LCDClient { +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 class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); } - /* Validators queries all validators that match the given status. */ - async validators(params: QueryValidatorsRequest): Promise { + + + async validators(params: QueryValidatorsRequest): Promise { const options: any = { params: {} }; @@ -29,17 +42,19 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/validators`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Validator queries validator info for given validator address. */ - async validator(params: QueryValidatorRequest): Promise { + + + async validator(params: QueryValidatorRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ValidatorDelegations queries delegate info for given validator. */ - async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { + + + async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { const options: any = { params: {} }; @@ -49,11 +64,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { + + + async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { const options: any = { params: {} }; @@ -63,24 +79,27 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Delegation queries delegate info for given validator delegator pair. */ - async delegation(params: QueryDelegationRequest): Promise { + + + async delegation(params: QueryDelegationRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* UnbondingDelegation queries unbonding info for given validator delegator pair. */ - async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { + + + async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DelegatorDelegations queries all delegations of a given delegator address. */ - async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { + + + async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { const options: any = { params: {} }; @@ -90,12 +109,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address. */ - async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { + + + async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { const options: any = { params: {} }; @@ -105,11 +125,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Redelegations queries redelegations of given address. */ - async redelegations(params: QueryRedelegationsRequest): Promise { + + + async redelegations(params: QueryRedelegationsRequest): Promise { const options: any = { params: {} }; @@ -127,12 +148,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorValidators queries all validators info for given delegator address. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { const options: any = { params: {} }; @@ -142,32 +164,36 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* DelegatorValidator queries validator info for given delegator validator pair. */ - async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { + + + async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* HistoricalInfo queries the historical info for given height. */ - async historicalInfo(params: QueryHistoricalInfoRequest): Promise { + + + async historicalInfo(params: QueryHistoricalInfoRequest): Promise { const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Pool queries the pool info. */ - async pool(_params: QueryPoolRequest = {}): Promise { + + + async pool(_params: QueryPoolRequest = {}): Promise { const endpoint = `cosmos/staking/v1beta1/pool`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Parameters queries the staking parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `cosmos/staking/v1beta1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts index dfaca20aa..5486046f0 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -1,55 +1,54 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -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"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - validators(request: QueryValidatorsRequest): Promise; + validators(request: QueryValidatorsRequest): Promise; /*Validators queries all validators that match the given status.*/ - validator(request: QueryValidatorRequest): Promise; + validator(request: QueryValidatorRequest): Promise; /*Validator queries validator info for given validator address.*/ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; /*ValidatorDelegations queries delegate info for given validator.*/ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; /*ValidatorUnbondingDelegations queries unbonding delegations of a validator.*/ - delegation(request: QueryDelegationRequest): Promise; + delegation(request: QueryDelegationRequest): Promise; /*Delegation queries delegate info for given validator delegator pair.*/ - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; /*UnbondingDelegation queries unbonding info for given validator delegator pair.*/ - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; /*DelegatorDelegations queries all delegations of a given delegator address.*/ - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; /*DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.*/ - redelegations(request: QueryRedelegationsRequest): Promise; + redelegations(request: QueryRedelegationsRequest): Promise; /*Redelegations queries redelegations of given address.*/ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; /*DelegatorValidators queries all validators info for given delegator address.*/ - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; /*DelegatorValidator queries validator info for given delegator validator pair.*/ - historicalInfo(request: QueryHistoricalInfoRequest): Promise; + historicalInfo(request: QueryHistoricalInfoRequest): Promise; /*HistoricalInfo queries the historical info for given height.*/ - pool(request: QueryPoolRequest): Promise; + pool(request?: QueryPoolRequest): Promise; /*Pool queries the pool info.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Parameters queries the staking parameters.*/ } @@ -74,88 +73,150 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { const data = QueryValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); } - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { const data = QueryValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); } - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { const data = QueryValidatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); } - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { const data = QueryDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); } - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { const data = QueryUnbondingDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); } - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { const data = QueryDelegatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); } - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { const data = QueryRedelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { const data = QueryDelegatorValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); } - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { const data = QueryHistoricalInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); } - pool(request: QueryPoolRequest): Promise { + pool(request: QueryPoolRequest = {}): Promise { const data = QueryPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + validators(request: QueryValidatorsRequest): Promise { + return queryService.validators(request); + }, + + validator(request: QueryValidatorRequest): Promise { + return queryService.validator(request); + }, + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + return queryService.validatorDelegations(request); + }, + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + return queryService.validatorUnbondingDelegations(request); + }, + + delegation(request: QueryDelegationRequest): Promise { + return queryService.delegation(request); + }, + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + return queryService.unbondingDelegation(request); + }, + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + return queryService.delegatorDelegations(request); + }, + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + return queryService.delegatorUnbondingDelegations(request); + }, + + redelegations(request: QueryRedelegationsRequest): Promise { + return queryService.redelegations(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + return queryService.delegatorValidator(request); + }, + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + return queryService.historicalInfo(request); + }, + + pool(request?: QueryPoolRequest): Promise { + return queryService.pool(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts index f2ba259ed..6d4207a00 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts @@ -1,276 +1,545 @@ -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ + export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ - status: string; - + status?: string; /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ + +export interface QueryValidatorsRequestSDKType { + /** status enables to query for validators matching a given status. */ + status?: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** 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 | undefined; } +/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ + +export interface QueryValidatorsResponseSDKType { + /** validators contains all the queried validators. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** QueryValidatorRequest is response type for the Query/Validator RPC method */ + export interface QueryValidatorRequest { /** validator_addr defines the validator address to query for. */ validatorAddr: string; } +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ +export interface QueryValidatorRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; +} /** QueryValidatorResponse is response type for the Query/Validator RPC method */ + export interface QueryValidatorResponse { /** validator defines the the validator info. */ validator: Validator | undefined; } +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ +export interface QueryValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator: ValidatorSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryValidatorDelegationsRequest is request type for the + * Query/ValidatorDelegations RPC method + */ + +export interface QueryValidatorDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryValidatorDelegationsResponse is response type for the * Query/ValidatorDelegations RPC method */ + export interface QueryValidatorDelegationsResponse { delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ +export interface QueryValidatorDelegationsResponseSDKType { + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryValidatorUnbondingDelegationsRequest is required type for the + * Query/ValidatorUnbondingDelegations RPC method + */ + +export interface QueryValidatorUnbondingDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryValidatorUnbondingDelegationsResponse is response type for the * Query/ValidatorUnbondingDelegations RPC method. */ + export interface QueryValidatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ +export interface QueryValidatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** 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; } +/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ + +export interface QueryDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + 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 | undefined; } +/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ +export interface QueryDelegationResponseSDKType { + /** delegation_responses defines the delegation info of a delegation. */ + delegation_response: DelegationResponseSDKType | undefined; +} /** * 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; } +/** + * QueryUnbondingDelegationRequest is request type for the + * Query/UnbondingDelegation RPC method. + */ +export interface QueryUnbondingDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + 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 | undefined; } +/** + * QueryDelegationResponse is response type for the Query/UnbondingDelegation + * RPC method. + */ +export interface QueryUnbondingDelegationResponseSDKType { + /** unbond defines the unbonding information of a delegation. */ + unbond: UnbondingDelegationSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryDelegatorDelegationsRequest is request type for the + * Query/DelegatorDelegations RPC method. + */ +export interface QueryDelegatorDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryDelegatorDelegationsResponse is response type for the + * Query/DelegatorDelegations RPC method. + */ +export interface QueryDelegatorDelegationsResponseSDKType { + /** delegation_responses defines all the delegations' info of a delegator. */ + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryDelegatorUnbondingDelegationsRequest is request type for the + * Query/DelegatorUnbondingDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryUnbondingDelegatorDelegationsResponse is response type for the * Query/UnbondingDelegatorDelegations RPC method. */ + export interface QueryDelegatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ +export interface QueryDelegatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; + srcValidatorAddr?: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; + dstValidatorAddr?: string; /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** + * QueryRedelegationsRequest is request type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsRequestSDKType { + /** 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?: PageRequestSDKType | undefined; +} /** * QueryRedelegationsResponse is response type for the Query/Redelegations RPC * method. */ + export interface QueryRedelegationsResponse { redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsResponseSDKType { + redelegation_responses: RedelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryDelegatorValidatorsRequest is request type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryDelegatorValidatorsResponse is response type for the * Query/DelegatorValidators RPC method. */ + export interface QueryDelegatorValidatorsResponse { /** validators defines the the validators' info of a delegator. */ validators: Validator[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the the validators' info of a delegator. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; } +/** + * QueryDelegatorValidatorRequest is request type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + validator_addr: string; +} /** * QueryDelegatorValidatorResponse response type for the * Query/DelegatorValidator RPC method. */ + export interface QueryDelegatorValidatorResponse { /** validator defines the the validator info. */ validator: Validator | undefined; } +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ +export interface QueryDelegatorValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator: ValidatorSDKType | undefined; +} /** * 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; } +/** + * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoRequestSDKType { + /** height defines at which height to query the historical info. */ + 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 | undefined; } +/** + * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + * method. + */ +export interface QueryHistoricalInfoResponseSDKType { + /** hist defines the historical info at the given height. */ + hist: HistoricalInfoSDKType | undefined; +} /** QueryPoolRequest is request type for the Query/Pool RPC method. */ + export interface QueryPoolRequest {} +/** 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 | undefined; } +/** QueryPoolResponse is response type for the Query/Pool RPC method. */ +export interface QueryPoolResponseSDKType { + /** pool defines the pool info. */ + pool: PoolSDKType | undefined; +} /** QueryParamsRequest is request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params holds all the parameters of this module. */ + params: ParamsSDKType | undefined; +} function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { @@ -318,20 +587,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 ?? ""; @@ -361,7 +616,7 @@ export const QueryValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorsResponse(); @@ -387,26 +642,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)) || []; @@ -453,18 +688,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 ?? ""; @@ -488,7 +711,7 @@ export const QueryValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorResponse(); @@ -510,18 +733,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; @@ -576,20 +787,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 ?? ""; @@ -619,7 +816,7 @@ export const QueryValidatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorDelegationsResponse(); @@ -645,26 +842,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)) || []; @@ -720,20 +897,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 ?? ""; @@ -763,7 +926,7 @@ export const QueryValidatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorUnbondingDelegationsResponse(); @@ -789,26 +952,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)) || []; @@ -864,20 +1007,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 ?? ""; @@ -902,7 +1031,7 @@ export const QueryDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationResponse(); @@ -924,18 +1053,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; @@ -990,20 +1107,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 ?? ""; @@ -1028,7 +1131,7 @@ export const QueryUnbondingDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnbondingDelegationResponse(); @@ -1050,18 +1153,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; @@ -1116,20 +1207,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 ?? ""; @@ -1159,7 +1236,7 @@ export const QueryDelegatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorDelegationsResponse(); @@ -1185,26 +1262,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)) || []; @@ -1260,20 +1317,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 ?? ""; @@ -1303,7 +1346,7 @@ export const QueryDelegatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); @@ -1329,26 +1372,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)) || []; @@ -1422,24 +1445,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 ?? ""; @@ -1471,7 +1476,7 @@ export const QueryRedelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRedelegationsResponse(); @@ -1497,26 +1502,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)) || []; @@ -1572,20 +1557,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 ?? ""; @@ -1615,7 +1586,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1641,26 +1612,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)) || []; @@ -1716,20 +1667,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 ?? ""; @@ -1754,7 +1691,7 @@ export const QueryDelegatorValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorResponse(); @@ -1776,18 +1713,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; @@ -1833,18 +1758,6 @@ export const QueryHistoricalInfoRequest = { return message; }, - fromJSON(object: any): QueryHistoricalInfoRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: QueryHistoricalInfoRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryHistoricalInfoRequest { const message = createBaseQueryHistoricalInfoRequest(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -1868,7 +1781,7 @@ export const QueryHistoricalInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryHistoricalInfoResponse(); @@ -1890,18 +1803,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; @@ -1937,15 +1838,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; @@ -1968,7 +1860,7 @@ export const QueryPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPoolResponse(); @@ -1990,18 +1882,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; @@ -2037,15 +1917,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; @@ -2068,7 +1939,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -2090,18 +1961,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/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts index 54490d4ca..7ec7dcd88 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts @@ -1,12 +1,12 @@ -import { Header } from "../../../tendermint/types/types"; +import { Header, HeaderSDKType } from "../../../tendermint/types/types"; import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any } from "../../../google/protobuf/any"; -import { Duration } from "../../../google/protobuf/duration"; -import { Coin } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** BondStatus is the status of a validator. */ + export enum BondStatus { /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ BOND_STATUS_UNSPECIFIED = 0, @@ -21,6 +21,22 @@ export enum BondStatus { BOND_STATUS_BONDED = 3, UNRECOGNIZED = -1, } +/** BondStatus is the status of a validator. */ + +export enum BondStatusSDKType { + /** 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 function bondStatusFromJSON(object: any): BondStatus { switch (object) { case 0: @@ -63,60 +79,112 @@ export function bondStatusToJSON(object: BondStatus): string { return "UNKNOWN"; } } - /** * 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 | undefined; valset: Validator[]; } +/** + * 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 | undefined; + 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; + maxRate: string; /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ + maxChangeRate: string; } +/** + * CommissionRates defines the initial commission rates to be used for creating + * a validator. + */ + +export interface CommissionRatesSDKType { + /** 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; +} /** 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 | undefined; - /** update_time is the last time the commission rate was changed. */ + updateTime: Date | undefined; } +/** Commission defines commission parameters for a given validator. */ + +export interface CommissionSDKType { + /** commission_rates defines the initial commission rates to be used for creating a validator. */ + commission_rates: CommissionRatesSDKType | undefined; + /** update_time is the last time the commission rate was changed. */ + update_time: Date | undefined; +} /** 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; + identity: string; /** website defines an optional website link. */ - website: string; + website: string; /** security_contact defines an optional email for security contact. */ - securityContact: string; + securityContact: string; /** details define other optional details. */ + details: string; } +/** Description defines a validator description. */ +export interface DescriptionSDKType { + /** 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; +} /** * Validator defines a validator, together with the total amount of the * Validator's bond shares and their exchange rate to coins. Slashing results in @@ -127,215 +195,436 @@ export interface Description { * 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; + consensusPubkey: Any | undefined; /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; + jailed: boolean; /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; + status: BondStatus; /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; + tokens: string; /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; + delegatorShares: string; /** description defines the description terms for the validator. */ - description: Description | undefined; + description: Description | undefined; /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: Long; + unbondingHeight: Long; /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Date | undefined; + unbondingTime: Date | undefined; /** commission defines the commission parameters. */ - commission: Commission | undefined; + commission: Commission | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ + minSelfDelegation: 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 ValidatorSDKType { + /** 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: AnySDKType | 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: BondStatusSDKType; + /** 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: DescriptionSDKType | undefined; + /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ + + unbonding_height: Long; + /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ + + unbonding_time: Date | undefined; + /** commission defines the commission parameters. */ + + commission: CommissionSDKType | undefined; + /** min_self_delegation is the validator's self declared minimum self delegation. */ + + min_self_delegation: string; +} /** ValAddresses defines a repeated set of validator addresses. */ + export interface ValAddresses { addresses: string[]; } +/** 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; } +/** + * 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[]; } +/** 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; } +/** + * 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[]; } +/** 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; + validatorAddress: string; /** shares define the delegation shares received. */ + shares: string; } +/** + * 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 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; +} /** * 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; + validatorAddress: string; /** entries are the unbonding delegation entries. */ + entries: UnbondingDelegationEntry[]; } +/** + * UnbondingDelegation stores all of a single delegator's unbonding bonds + * for a single validator in an time-ordered list. + */ + +export interface UnbondingDelegationSDKType { + /** 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: 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: Date | undefined; + completionTime: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initialBalance: string; + initialBalance: string; /** balance defines the tokens to receive at completion. */ + balance: string; } +/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ +export interface UnbondingDelegationEntrySDKType { + /** creation_height is the height which the unbonding took place. */ + creation_height: Long; + /** completion_time is the unix time for unbonding completion. */ + + completion_time: Date | undefined; + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + + initial_balance: string; + /** balance defines the tokens to receive at completion. */ + + 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: Date | undefined; + completionTime: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ - initialBalance: string; + initialBalance: string; /** shares_dst is the amount of destination-validator shares created by redelegation. */ + sharesDst: string; } +/** RedelegationEntry defines a redelegation object with relevant metadata. */ + +export interface RedelegationEntrySDKType { + /** creation_height defines the height which the redelegation took place. */ + creation_height: Long; + /** completion_time defines the unix time for redelegation completion. */ + + completion_time: Date | undefined; + /** 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; +} /** * 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; + validatorSrcAddress: string; /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; + validatorDstAddress: string; /** entries are the redelegation entries. */ + entries: RedelegationEntry[]; } +/** + * 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 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: RedelegationEntrySDKType[]; +} /** Params defines the parameters for the staking module. */ + export interface Params { /** unbonding_time is the time duration of unbonding. */ unbondingTime: Duration | undefined; - /** max_validators is the maximum number of validators. */ - maxValidators: number; + maxValidators: number; /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; + maxEntries: number; /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; + historicalEntries: number; /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; + bondDenom: string; /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ + minCommissionRate: string; } +/** Params defines the parameters for the staking module. */ +export interface ParamsSDKType { + /** unbonding_time is the time duration of unbonding. */ + unbonding_time: DurationSDKType | undefined; + /** 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; +} /** * 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 | undefined; balance: Coin | undefined; } +/** + * 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 | undefined; + balance: CoinSDKType | undefined; +} /** * 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 | undefined; balance: string; } +/** + * 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 | undefined; + 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 | undefined; entries: RedelegationEntryResponse[]; } +/** + * 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 | undefined; + entries: RedelegationEntryResponseSDKType[]; +} /** * Pool is used for tracking bonded and not-bonded token supply of the bond * denomination. */ + export interface Pool { notBondedTokens: string; bondedTokens: string; } +/** + * 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; +} function createBaseHistoricalInfo(): HistoricalInfo { return { @@ -383,26 +672,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; @@ -467,22 +736,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 ?? ""; @@ -539,20 +792,6 @@ 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 = 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; @@ -635,26 +874,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 ?? ""; @@ -794,38 +1013,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) : 0, - 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) ? Long.fromString(object.unbondingHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.unbondingTime !== undefined && (obj.unbondingTime = 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 ?? ""; @@ -881,24 +1068,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) || []; @@ -953,20 +1122,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 ?? ""; @@ -1013,24 +1168,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)) || []; @@ -1094,22 +1231,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 ?? ""; @@ -1157,24 +1278,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)) || []; @@ -1238,22 +1341,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 ?? ""; @@ -1319,28 +1406,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 ?? ""; @@ -1415,24 +1480,6 @@ export const UnbondingDelegationEntry = { return message; }, - fromJSON(object: any): UnbondingDelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; @@ -1508,24 +1555,6 @@ export const RedelegationEntry = { return message; }, - fromJSON(object: any): RedelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? Long.fromString(object.creationHeight) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = 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 ? Long.fromValue(object.creationHeight) : Long.ZERO; @@ -1601,30 +1630,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 ?? ""; @@ -1718,28 +1723,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); - 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; @@ -1799,20 +1782,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; @@ -1868,20 +1837,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; @@ -1937,26 +1892,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; @@ -2012,20 +1947,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/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts index b9bde0570..e308d8c8f 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -1,7 +1,3 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; import { fromBase64, toBase64 } from "@cosmjs/encoding"; import { Long } from "@osmonauts/helpers"; diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts index 4853da5dc..66b2832e1 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts @@ -1,7 +1,3 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } 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]]; @@ -84,80 +80,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) - }; - } - - }, - 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) - }; - } - }, fromPartial: { createValidator(value: MsgCreateValidator) { diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts index 592fd6163..e7170f128 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -1,28 +1,24 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; - +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createValidator(request: MsgCreateValidator): Promise; + createValidator(request: MsgCreateValidator): Promise; /*CreateValidator defines a method for creating a new validator.*/ - editValidator(request: MsgEditValidator): Promise; + editValidator(request: MsgEditValidator): Promise; /*EditValidator defines a method for editing an existing validator.*/ - delegate(request: MsgDelegate): Promise; + delegate(request: MsgDelegate): Promise; /*Delegate defines a method for performing a delegation of coins from a delegator to a validator.*/ - beginRedelegate(request: MsgBeginRedelegate): Promise; + beginRedelegate(request: MsgBeginRedelegate): Promise; /*BeginRedelegate defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator.*/ - undelegate(request: MsgUndelegate): Promise; + undelegate(request: MsgUndelegate): Promise; /*Undelegate defines a method for performing an undelegation from a delegate and a validator.*/ @@ -39,31 +35,31 @@ export class MsgClientImpl implements Msg { this.undelegate = this.undelegate.bind(this); } - createValidator(request: MsgCreateValidator): Promise { + createValidator(request: MsgCreateValidator): Promise { const data = MsgCreateValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); } - editValidator(request: MsgEditValidator): Promise { + editValidator(request: MsgEditValidator): Promise { const data = MsgEditValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); } - delegate(request: MsgDelegate): Promise { + delegate(request: MsgDelegate): Promise { const data = MsgDelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); } - beginRedelegate(request: MsgBeginRedelegate): Promise { + beginRedelegate(request: MsgBeginRedelegate): Promise { const data = MsgBeginRedelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); } - undelegate(request: MsgUndelegate): Promise { + undelegate(request: MsgUndelegate): Promise { const data = MsgUndelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts index f34a6e0c8..b30ab0eba 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts @@ -1,11 +1,11 @@ -import { Description, CommissionRates } from "./staking"; -import { Any } from "../../../google/protobuf/any"; -import { Coin } from "../../base/v1beta1/coin"; +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ + export interface MsgCreateValidator { description: Description | undefined; commission: CommissionRates | undefined; @@ -15,71 +15,147 @@ export interface MsgCreateValidator { pubkey: Any | undefined; value: Coin | undefined; } +/** MsgCreateValidator defines a SDK message for creating a new validator. */ +export interface MsgCreateValidatorSDKType { + description: DescriptionSDKType | undefined; + commission: CommissionRatesSDKType | undefined; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey: AnySDKType | undefined; + value: CoinSDKType | undefined; +} /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ + export interface MsgCreateValidatorResponse {} +/** 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 | undefined; 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; } +/** MsgEditValidator defines a SDK message for editing an existing validator. */ + +export interface MsgEditValidatorSDKType { + description: DescriptionSDKType | undefined; + 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; +} /** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ + export interface MsgEditValidatorResponse {} +/** 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 | undefined; } +/** + * 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 | undefined; +} /** MsgDelegateResponse defines the Msg/Delegate response type. */ + export interface MsgDelegateResponse {} +/** 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 | undefined; } +/** + * 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 | undefined; +} /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ + export interface MsgBeginRedelegateResponse { completionTime: Date | undefined; } +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ +export interface MsgBeginRedelegateResponseSDKType { + completion_time: Date | undefined; +} /** * MsgUndelegate defines a SDK message for performing an undelegation from a * delegate and a validator. */ + export interface MsgUndelegate { delegatorAddress: string; validatorAddress: string; amount: Coin | undefined; } +/** + * 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 | undefined; +} /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + export interface MsgUndelegateResponse { completionTime: Date | undefined; } +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + +export interface MsgUndelegateResponseSDKType { + completion_time: Date | undefined; +} function createBaseMsgCreateValidator(): MsgCreateValidator { return { @@ -172,30 +248,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; @@ -219,7 +271,7 @@ export const MsgCreateValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateValidatorResponse(); @@ -237,15 +289,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; @@ -317,24 +360,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; @@ -355,7 +380,7 @@ export const MsgEditValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgEditValidatorResponse(); @@ -373,15 +398,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; @@ -444,22 +460,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 ?? ""; @@ -479,7 +479,7 @@ export const MsgDelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDelegateResponse(); @@ -497,15 +497,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; @@ -577,24 +568,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 ?? ""; @@ -621,7 +594,7 @@ export const MsgBeginRedelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgBeginRedelegateResponse(); @@ -643,18 +616,6 @@ 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 = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): MsgBeginRedelegateResponse { const message = createBaseMsgBeginRedelegateResponse(); message.completionTime = object.completionTime ?? undefined; @@ -718,22 +679,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 ?? ""; @@ -759,7 +704,7 @@ export const MsgUndelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUndelegateResponse(); @@ -781,18 +726,6 @@ 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 = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: Partial): MsgUndelegateResponse { const message = createBaseMsgUndelegateResponse(); message.completionTime = object.completionTime ?? undefined; diff --git a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts index 432361417..eadcf8f00 100644 --- a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -1,8 +1,7 @@ -import { CompactBitArray } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any } from "../../../../google/protobuf/any"; +import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * SignMode represents a signing mode with its own security guarantees. * @@ -13,6 +12,7 @@ import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helper * to this SignMode enum describing their sign mode so that different * apps have a consistent version of this enum. */ + export enum SignMode { /** * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be @@ -50,6 +50,54 @@ export enum SignMode { SIGN_MODE_LEGACY_AMINO_JSON = 127, UNRECOGNIZED = -1, } +/** + * 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 enum SignModeSDKType { + /** + * 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, + UNRECOGNIZED = -1, +} export function signModeFromJSON(object: any): SignMode { switch (object) { case 0: @@ -99,58 +147,110 @@ export function signModeToJSON(object: SignMode): string { return "UNKNOWN"; } } - /** SignatureDescriptors wraps multiple SignatureDescriptor's. */ + export interface SignatureDescriptors { /** signatures are the signature descriptors */ signatures: SignatureDescriptor[]; } +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ +export interface SignatureDescriptorsSDKType { + /** signatures are the signature descriptors */ + 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 | undefined; data: SignatureDescriptor_Data | undefined; - /** * 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; } +/** + * 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 is the public key of the signer */ + public_key: AnySDKType | undefined; + data: SignatureDescriptor_DataSDKType | undefined; + /** + * 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; +} /** Data represents signature data */ + export interface SignatureDescriptor_Data { /** single represents a single signer */ single?: SignatureDescriptor_Data_Single | undefined; - /** multi represents a multisig signer */ + multi?: SignatureDescriptor_Data_Multi | undefined; } +/** Data represents signature data */ +export interface SignatureDescriptor_DataSDKType { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_SingleSDKType | undefined; + /** multi represents a multisig signer */ + + multi?: SignatureDescriptor_Data_MultiSDKType | undefined; +} /** 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; } +/** Single is the signature data for a single signer */ +export interface SignatureDescriptor_Data_SingleSDKType { + /** mode is the signing mode of the single signer */ + mode: SignModeSDKType; + /** signature is the raw signature bytes */ + + 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 | undefined; - /** signatures is the signatures of the multi-signature */ + signatures: SignatureDescriptor_Data[]; } +/** Multi is the signature data for a multisig public key */ + +export interface SignatureDescriptor_Data_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray: CompactBitArraySDKType | undefined; + /** signatures is the signatures of the multi-signature */ + + signatures: SignatureDescriptor_DataSDKType[]; +} function createBaseSignatureDescriptors(): SignatureDescriptors { return { @@ -189,24 +289,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)) || []; @@ -270,22 +352,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) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureDescriptor { const message = createBaseSignatureDescriptor(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -342,20 +408,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; @@ -411,20 +463,6 @@ export const SignatureDescriptor_Data_Single = { return message; }, - fromJSON(object: any): SignatureDescriptor_Data_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0, - 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; @@ -480,26 +518,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/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts new file mode 100644 index 000000000..b43b23467 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts @@ -0,0 +1,65 @@ +import { setPaginationParams } from "@osmonauts/helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.getTx = this.getTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + /* GetTx fetches a tx by hash. */ + + + async getTx(params: GetTxRequest): Promise { + const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`; + return await this.req.get(endpoint); + } + /* GetTxsEvent fetches txs by event. */ + + + async getTxsEvent(params: GetTxsEventRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.events !== "undefined") { + options.params.events = params.events; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.orderBy !== "undefined") { + options.params.order_by = params.orderBy; + } + + const endpoint = `cosmos/tx/v1beta1/txs`; + return await this.req.get(endpoint, options); + } + /* GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2 */ + + + async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts index 826839fa2..471e256d8 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -1,33 +1,29 @@ -import { Tx } from "./tx"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; -import { BlockID } from "../../../tendermint/types/types"; -import { Block } from "../../../tendermint/types/block"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { SimulateRequest, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; /** Service defines the RPC service */ + export interface Service { - simulate(request: SimulateRequest): Promise; + simulate(request: SimulateRequest): Promise; /*Simulate simulates executing a transaction for estimating gas usage.*/ - getTx(request: GetTxRequest): Promise; + getTx(request: GetTxRequest): Promise; /*GetTx fetches a tx by hash.*/ - broadcastTx(request: BroadcastTxRequest): Promise; + broadcastTx(request: BroadcastTxRequest): Promise; /*BroadcastTx broadcast transaction.*/ - getTxsEvent(request: GetTxsEventRequest): Promise; + getTxsEvent(request: GetTxsEventRequest): Promise; /*GetTxsEvent fetches txs by event.*/ - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; /*GetBlockWithTxs fetches a block with decoded txs. Since: cosmos-sdk 0.45.2*/ } -export class ServiceClientImpl implements Service { +export class QueryClientImpl implements Service { private readonly rpc: Rpc; constructor(rpc: Rpc) { @@ -39,34 +35,60 @@ export class ServiceClientImpl implements Service { this.getBlockWithTxs = this.getBlockWithTxs.bind(this); } - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { const data = SimulateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); } - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { const data = GetTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); } - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { const data = BroadcastTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); } - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { const data = GetTxsEventRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); } - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { const data = GetBlockWithTxsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + simulate(request: SimulateRequest): Promise { + return queryService.simulate(request); + }, + + getTx(request: GetTxRequest): Promise { + return queryService.getTx(request); + }, + + broadcastTx(request: BroadcastTxRequest): Promise { + return queryService.broadcastTx(request); + }, + + getTxsEvent(request: GetTxsEventRequest): Promise { + return queryService.getTxsEvent(request); + }, + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + return queryService.getBlockWithTxs(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts index 4756c1574..3efecb9a6 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts @@ -1,12 +1,12 @@ -import { Tx } from "./tx"; -import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; -import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci"; -import { BlockID } from "../../../tendermint/types/types"; -import { Block } from "../../../tendermint/types/block"; +import { Tx, TxSDKType } from "./tx"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; +import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../tendermint/types/block"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/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. */ ORDER_BY_UNSPECIFIED = 0, @@ -18,6 +18,19 @@ export enum OrderBy { ORDER_BY_DESC = 2, UNRECOGNIZED = -1, } +/** OrderBy defines the sorting order */ + +export enum OrderBySDKType { + /** 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 function orderByFromJSON(object: any): OrderBy { switch (object) { case 0: @@ -53,8 +66,8 @@ export function orderByToJSON(object: OrderBy): string { return "UNKNOWN"; } } - /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + export enum BroadcastMode { /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ BROADCAST_MODE_UNSPECIFIED = 0, @@ -78,6 +91,31 @@ export enum BroadcastMode { BROADCAST_MODE_ASYNC = 3, UNRECOGNIZED = -1, } +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + +export enum BroadcastModeSDKType { + /** 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 function broadcastModeFromJSON(object: any): BroadcastMode { switch (object) { case 0: @@ -120,58 +158,105 @@ export function broadcastModeToJSON(object: BroadcastMode): string { return "UNKNOWN"; } } - /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. */ + export interface GetTxsEventRequest { /** events is the list of transaction event type. */ - events: string[]; - + events?: string[]; /** pagination defines a pagination for the request. */ + pagination?: PageRequest | undefined; - orderBy: OrderBy; + orderBy?: OrderBy; } +/** + * GetTxsEventRequest is the request type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventRequestSDKType { + /** events is the list of transaction event type. */ + events?: string[]; + /** pagination defines a pagination for the request. */ + pagination?: PageRequestSDKType | undefined; + order_by?: OrderBySDKType; +} /** * 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[]; + txResponses: TxResponse[]; /** pagination defines a pagination for the response. */ + pagination?: PageResponse | undefined; } +/** + * GetTxsEventResponse is the response type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventResponseSDKType { + /** txs is the list of queried transactions. */ + txs: TxSDKType[]; + /** tx_responses is the list of queried TxResponses. */ + + tx_responses: TxResponseSDKType[]; + /** pagination defines a pagination for the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. */ + export interface BroadcastTxRequest { /** tx_bytes is the raw transaction. */ txBytes: Uint8Array; mode: BroadcastMode; } +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ +export interface BroadcastTxRequestSDKType { + /** tx_bytes is the raw transaction. */ + tx_bytes: Uint8Array; + mode: BroadcastModeSDKType; +} /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. */ + export interface BroadcastTxResponse { /** tx_response is the queried TxResponses. */ txResponse: TxResponse | undefined; } +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ +export interface BroadcastTxResponseSDKType { + /** tx_response is the queried TxResponses. */ + tx_response: TxResponseSDKType | undefined; +} /** * SimulateRequest is the request type for the Service.Simulate * RPC method. */ + export interface SimulateRequest { /** * tx is the transaction to simulate. @@ -180,73 +265,153 @@ export interface SimulateRequest { /** @deprecated */ tx: Tx | undefined; - /** * tx_bytes is the raw transaction. * * Since: cosmos-sdk 0.43 */ + txBytes: Uint8Array; } +/** + * SimulateRequest is the request type for the Service.Simulate + * RPC method. + */ +export interface SimulateRequestSDKType { + /** + * tx is the transaction to simulate. + * Deprecated. Send raw tx bytes instead. + */ + + /** @deprecated */ + tx: TxSDKType | undefined; + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + + 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 | undefined; - /** result is the result of the simulation. */ + result: Result | undefined; } +/** + * SimulateResponse is the response type for the + * Service.SimulateRPC method. + */ +export interface SimulateResponseSDKType { + /** gas_info is the information about gas used in the simulation. */ + gas_info: GasInfoSDKType | undefined; + /** result is the result of the simulation. */ + + result: ResultSDKType | undefined; +} /** * 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; } +/** + * GetTxRequest is the request type for the Service.GetTx + * RPC method. + */ +export interface GetTxRequestSDKType { + /** hash is the tx hash to query, encoded as a hex string. */ + hash: string; +} /** GetTxResponse is the response type for the Service.GetTx method. */ + export interface GetTxResponse { /** tx is the queried transaction. */ tx: Tx | undefined; - /** tx_response is the queried TxResponses. */ + txResponse: TxResponse | undefined; } +/** GetTxResponse is the response type for the Service.GetTx method. */ + +export interface GetTxResponseSDKType { + /** tx is the queried transaction. */ + tx: TxSDKType | undefined; + /** tx_response is the queried TxResponses. */ + tx_response: TxResponseSDKType | undefined; +} /** * 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 | undefined; } +/** + * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs + * RPC method. + * + * Since: cosmos-sdk 0.45.2 + */ + +export interface GetBlockWithTxsRequestSDKType { + /** height is the height of the block to query. */ + height: Long; + /** pagination defines a pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; block: Block | undefined; - /** pagination defines a pagination for the response. */ + pagination?: PageResponse | undefined; } +/** + * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. + * + * Since: cosmos-sdk 0.45.2 + */ + +export interface GetBlockWithTxsResponseSDKType { + /** txs are the transactions in the block. */ + txs: TxSDKType[]; + block_id: BlockIDSDKType | undefined; + block: BlockSDKType | undefined; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { @@ -303,28 +468,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) : 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)); - return obj; - }, - fromPartial(object: Partial): GetTxsEventRequest { const message = createBaseGetTxsEventRequest(); message.events = object.events?.map(e => e) || []; @@ -360,7 +503,7 @@ export const GetTxsEventResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxsEventResponse(); @@ -390,33 +533,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 - }; - }, - - 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); - return obj; - }, - fromPartial(object: Partial): GetTxsEventResponse { const message = createBaseGetTxsEventResponse(); message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; @@ -473,20 +589,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) : 0 - }; - }, - - 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(); @@ -511,7 +613,7 @@ export const BroadcastTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBroadcastTxResponse(); @@ -533,18 +635,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; @@ -599,20 +689,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; @@ -642,7 +718,7 @@ export const SimulateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSimulateResponse(); @@ -668,20 +744,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; @@ -728,18 +790,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 ?? ""; @@ -768,7 +818,7 @@ export const GetTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxResponse(); @@ -794,20 +844,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; @@ -863,20 +899,6 @@ export const GetBlockWithTxsRequest = { return message; }, - fromJSON(object: any): GetBlockWithTxsRequest { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: GetBlockWithTxsRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -916,7 +938,7 @@ export const GetBlockWithTxsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockWithTxsResponse(); @@ -950,30 +972,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/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts index bef2cf9d9..72017ddfe 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts @@ -1,29 +1,47 @@ -import { Any } from "../../../google/protobuf/any"; -import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; -import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; +import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** Tx is the standard type used for broadcasting transactions. */ + export interface Tx { /** body is the processable content of the transaction */ body: TxBody | undefined; - /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - authInfo: AuthInfo | undefined; + authInfo: AuthInfo | undefined; /** * 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[]; } +/** Tx is the standard type used for broadcasting transactions. */ + +export interface TxSDKType { + /** body is the processable content of the transaction */ + body: TxBodySDKType | undefined; + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + auth_info: AuthInfoSDKType | undefined; + /** + * 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[]; +} /** * 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 @@ -31,89 +49,179 @@ export interface Tx { * 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; + 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[]; } +/** + * 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 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[]; +} /** 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; + 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; + chainId: string; /** account_number is the account number of the account in state */ + accountNumber: Long; } +/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ + +export interface SignDocSDKType { + /** + * 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: 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 | undefined; + publicKey: Any | undefined; /** * 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; + chainId: string; /** account_number is the account number of the account in state. */ - accountNumber: Long; + accountNumber: Long; /** sequence is the sequence number of the signing account. */ - sequence: Long; + sequence: Long; /** * Tip is the optional tip used for meta-transactions. It should be left * empty if the signer is not the tipper for this transaction. */ + tip: Tip | undefined; } +/** + * SignDocDirectAux is the type used for generating sign bytes for + * SIGN_MODE_DIRECT_AUX. + * + * Since: cosmos-sdk 0.46 + */ + +export interface SignDocDirectAuxSDKType { + /** + * 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: AnySDKType | undefined; + /** + * 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: Long; + /** sequence is the sequence number of the signing account. */ + + sequence: Long; + /** + * Tip is the optional tip used for meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + + tip: TipSDKType | undefined; +} /** 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 @@ -125,39 +233,80 @@ export interface TxBody { * 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; + memo: string; /** * timeout is the block height after which this transaction will not * be processed by the chain */ - timeoutHeight: Long; + 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[]; + 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[]; } +/** TxBody is the body of a transaction that all signers sign over. */ + +export interface TxBodySDKType { + /** + * 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: AnySDKType[]; + /** + * 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: 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 + */ + extension_options: AnySDKType[]; + /** + * 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: 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 @@ -166,27 +315,56 @@ export interface AuthInfo { * 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 | undefined; + fee: Fee | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ + tip: Tip | undefined; } +/** + * AuthInfo describes the fee and signer modes that are used to sign a + * transaction. + */ + +export interface AuthInfoSDKType { + /** + * 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: SignerInfoSDKType[]; + /** + * 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: FeeSDKType | undefined; + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + tip: TipSDKType | undefined; +} /** * 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 @@ -194,95 +372,194 @@ export interface SignerInfo { * signer address for this position and lookup the public key. */ publicKey: Any | undefined; - /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - modeInfo: ModeInfo | undefined; + modeInfo: ModeInfo | undefined; /** * 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; } +/** + * SignerInfo describes the public key and signing mode of a single top-level + * signer. + */ +export interface SignerInfoSDKType { + /** + * 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: AnySDKType | undefined; + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + + mode_info: ModeInfoSDKType | undefined; + /** + * 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; +} /** ModeInfo describes the signing mode of a single or nested multisig signer. */ + export interface ModeInfo { /** single represents a single signer */ single?: ModeInfo_Single | undefined; - /** multi represents a nested multisig signer */ + multi?: ModeInfo_Multi | undefined; } +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ + +export interface ModeInfoSDKType { + /** single represents a single signer */ + single?: ModeInfo_SingleSDKType | undefined; + /** multi represents a nested multisig signer */ + multi?: ModeInfo_MultiSDKType | undefined; +} /** * 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; } +/** + * 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 is the signing mode of the single signer */ + mode: SignModeSDKType; +} /** 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 | undefined; - /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys */ + modeInfos: ModeInfo[]; } +/** Multi is the mode info for a multisig public key */ +export interface ModeInfo_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray: CompactBitArraySDKType | undefined; + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + + 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; + 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; + 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; } +/** + * 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 is the amount of coins to be paid as a fee */ + amount: CoinSDKType[]; + /** + * gas_limit is the maximum gas that can be used in transaction processing + * before an out of gas error occurs + */ + + gas_limit: 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; +} /** * 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; } +/** + * Tip is the tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + +export interface TipSDKType { + /** amount is the amount of the tip */ + amount: CoinSDKType[]; + /** tipper is the address of the account paying for the tip */ + 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 @@ -291,6 +568,7 @@ export interface Tip { * * Since: cosmos-sdk 0.46 */ + export interface AuxSignerData { /** * address is the bech32-encoded address of the auxiliary signer. If using @@ -298,18 +576,48 @@ export interface AuxSignerData { * chain (where the final transaction is broadcasted) should be used. */ address: string; - /** * sign_doc is the SIGN_MOD_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 | undefined; + signDoc: SignDocDirectAux | undefined; /** mode is the signing mode of the single signer */ + mode: SignMode; + /** sig is the signature of the sign doc. */ + sig: 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 AuxSignerDataSDKType { + /** + * 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_MOD_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: SignDocDirectAuxSDKType | undefined; + /** mode is the signing mode of the single signer */ + + mode: SignModeSDKType; /** sig is the signature of the sign doc. */ + sig: Uint8Array; } @@ -368,28 +676,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; @@ -455,28 +741,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(); @@ -551,24 +815,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) ? Long.fromString(object.accountNumber) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignDoc { const message = createBaseSignDoc(); message.bodyBytes = object.bodyBytes ?? new Uint8Array(); @@ -662,28 +908,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) ? Long.fromString(object.accountNumber) : Long.UZERO, - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).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(); @@ -770,43 +994,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) ? Long.fromString(object.timeoutHeight) : Long.UZERO, - 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 || Long.UZERO).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)) || []; @@ -874,28 +1061,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)) || []; @@ -961,22 +1126,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) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignerInfo { const message = createBaseSignerInfo(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -1033,20 +1182,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; @@ -1093,18 +1228,6 @@ export const ModeInfo_Single = { return message; }, - fromJSON(object: any): ModeInfo_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : 0 - }; - }, - - 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; @@ -1159,26 +1282,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; @@ -1252,30 +1355,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) ? Long.fromString(object.gasLimit) : Long.UZERO, - 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 || Long.UZERO).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)) || []; @@ -1333,26 +1412,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)) || []; @@ -1426,24 +1485,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) : 0, - 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/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts index 75898f347..3aca684bf 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -1,44 +1,52 @@ -import { Plan, ModuleVersion } from "./upgrade"; import { LCDClient } from "@osmonauts/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); } - /* CurrentPlan queries the current upgrade plan. */ - async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { + + + async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { const endpoint = `cosmos/upgrade/v1beta1/current_plan`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* AppliedPlan queries a previously applied upgrade plan by its name. */ - async appliedPlan(params: QueryAppliedPlanRequest): Promise { + + + async appliedPlan(params: QueryAppliedPlanRequest): Promise { const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* 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) */ - async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { + + + async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ModuleVersions queries the list of module versions from state. Since: cosmos-sdk 0.43 */ - async moduleVersions(params: QueryModuleVersionsRequest): Promise { + + + async moduleVersions(params: QueryModuleVersionsRequest): Promise { const options: any = { params: {} }; @@ -48,13 +56,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmos/upgrade/v1beta1/module_versions`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Returns the account with authority to conduct upgrades */ - async authority(_params: QueryAuthorityRequest = {}): Promise { + + + async authority(_params: QueryAuthorityRequest = {}): Promise { const endpoint = `cosmos/upgrade/v1beta1/authority`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts index a306342ca..34c05ab53 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -1,17 +1,17 @@ -import { Plan, ModuleVersion } from "./upgrade"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - currentPlan(request: QueryCurrentPlanRequest): Promise; + currentPlan(request?: QueryCurrentPlanRequest): Promise; /*CurrentPlan queries the current upgrade plan.*/ - appliedPlan(request: QueryAppliedPlanRequest): Promise; + appliedPlan(request: QueryAppliedPlanRequest): Promise; /*AppliedPlan queries a previously applied upgrade plan by its name.*/ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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. @@ -19,12 +19,12 @@ export interface Query { 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)*/ - moduleVersions(request: QueryModuleVersionsRequest): Promise; + moduleVersions(request: QueryModuleVersionsRequest): Promise; /*ModuleVersions queries the list of module versions from state. Since: cosmos-sdk 0.43*/ - authority(request: QueryAuthorityRequest): Promise; + authority(request?: QueryAuthorityRequest): Promise; /*Returns the account with authority to conduct upgrades*/ } @@ -40,34 +40,60 @@ export class QueryClientImpl implements Query { this.authority = this.authority.bind(this); } - currentPlan(request: QueryCurrentPlanRequest): Promise { + currentPlan(request: QueryCurrentPlanRequest = {}): Promise { const data = QueryCurrentPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); } - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { const data = QueryAppliedPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { const data = QueryModuleVersionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); } - authority(request: QueryAuthorityRequest): Promise { + authority(request: QueryAuthorityRequest = {}): Promise { const data = QueryAuthorityRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + currentPlan(request?: QueryCurrentPlanRequest): Promise { + return queryService.currentPlan(request); + }, + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + return queryService.appliedPlan(request); + }, + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + }, + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + return queryService.moduleVersions(request); + }, + + authority(request?: QueryAuthorityRequest): Promise { + return queryService.authority(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts index 0dfa6ab9c..7c24ea003 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts @@ -1,46 +1,79 @@ -import { Plan, ModuleVersion } from "./upgrade"; +import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC * method. */ + export interface QueryCurrentPlanRequest {} +/** + * 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 | undefined; } +/** + * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + * method. + */ +export interface QueryCurrentPlanResponseSDKType { + /** plan is the current upgrade plan. */ + plan: PlanSDKType | undefined; +} /** * 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; } +/** + * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC + * method. + */ +export interface QueryAppliedPlanRequestSDKType { + /** name is the name of the applied plan to query for. */ + 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; } +/** + * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + * method. + */ +export interface QueryAppliedPlanResponseSDKType { + /** height is the block height at which the plan was applied. */ + 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 @@ -48,59 +81,126 @@ export interface QueryUpgradedConsensusStateRequest { */ lastHeight: Long; } +/** + * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateRequestSDKType { + /** + * 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: Long; +} /** * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState * RPC method. */ /** @deprecated */ + export interface QueryUpgradedConsensusStateResponse { /** Since: cosmos-sdk 0.43 */ upgradedConsensusState: Uint8Array; } +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Since: cosmos-sdk 0.43 */ + 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; + moduleName?: string; } +/** + * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryModuleVersionsRequestSDKType { + /** + * 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; +} /** * 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[]; } +/** + * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ +export interface QueryModuleVersionsResponseSDKType { + /** module_versions is a list of module names with their consensus versions. */ + module_versions: ModuleVersionSDKType[]; +} /** * QueryAuthorityRequest is the request type for Query/Authority * * Since: cosmos-sdk 0.46 */ + export interface QueryAuthorityRequest {} +/** + * 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; } +/** + * QueryAuthorityResponse is the response type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ + +export interface QueryAuthorityResponseSDKType { + address: string; +} function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { return {}; @@ -129,15 +229,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; @@ -160,7 +251,7 @@ export const QueryCurrentPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCurrentPlanResponse(); @@ -182,18 +273,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; @@ -239,18 +318,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 ?? ""; @@ -274,7 +341,7 @@ export const QueryAppliedPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppliedPlanResponse(); @@ -296,18 +363,6 @@ export const QueryAppliedPlanResponse = { return message; }, - fromJSON(object: any): QueryAppliedPlanResponse { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: QueryAppliedPlanResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryAppliedPlanResponse { const message = createBaseQueryAppliedPlanResponse(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -353,18 +408,6 @@ export const QueryUpgradedConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryUpgradedConsensusStateRequest { - return { - lastHeight: isSet(object.lastHeight) ? Long.fromString(object.lastHeight) : Long.ZERO - }; - }, - - toJSON(message: QueryUpgradedConsensusStateRequest): unknown { - const obj: any = {}; - message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { const message = createBaseQueryUpgradedConsensusStateRequest(); message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; @@ -388,7 +431,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -410,18 +453,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(); @@ -467,18 +498,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 ?? ""; @@ -502,7 +521,7 @@ export const QueryModuleVersionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleVersionsResponse(); @@ -524,24 +543,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)) || []; @@ -577,15 +578,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; @@ -608,7 +600,7 @@ export const QueryAuthorityResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAuthorityResponse(); @@ -630,18 +622,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/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts index a2c708c91..d2da342c9 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -1,8 +1,5 @@ -import { Plan } from "./upgrade"; import { AminoMsg } from "@cosmjs/amino"; import { Long } from "@osmonauts/helpers"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any } from "../../../google/protobuf/any"; import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export interface AminoMsgSoftwareUpgrade extends AminoMsg { type: "cosmos-sdk/MsgSoftwareUpgrade"; diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts index b8ada4388..caa3a0ed2 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts @@ -1,4 +1,3 @@ -import { Plan } from "./upgrade"; 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]]; @@ -39,38 +38,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) { diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts index 9ddd3d445..811997785 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -1,16 +1,15 @@ -import { Plan } from "./upgrade"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; - +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeResponse, MsgCancelUpgradeResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; + softwareUpgrade(request: MsgSoftwareUpgrade): Promise; /*SoftwareUpgrade is a governance operation for initiating a software upgrade. Since: cosmos-sdk 0.46*/ - cancelUpgrade(request: MsgCancelUpgrade): Promise; + cancelUpgrade(request: MsgCancelUpgrade): Promise; /*CancelUpgrade is a governance operation for cancelling a previously approvid software upgrade. @@ -26,13 +25,13 @@ export class MsgClientImpl implements Msg { this.cancelUpgrade = this.cancelUpgrade.bind(this); } - softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { const data = MsgSoftwareUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); } - cancelUpgrade(request: MsgCancelUpgrade): Promise { + cancelUpgrade(request: MsgCancelUpgrade): Promise { const data = MsgCancelUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts index 586a2d0e7..3145691df 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -1,43 +1,79 @@ -import { Plan } from "./upgrade"; +import { Plan, PlanSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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 | undefined; } +/** + * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgSoftwareUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; + /** plan is the upgrade plan. */ + plan: PlanSDKType | undefined; +} /** * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. * * Since: cosmos-sdk 0.46 */ + export interface MsgSoftwareUpgradeResponse {} +/** + * 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; } +/** + * MsgCancelUpgrade is the Msg/CancelUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ +export interface MsgCancelUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; +} /** * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. * * Since: cosmos-sdk 0.46 */ + export interface MsgCancelUpgradeResponse {} +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { @@ -85,20 +121,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 ?? ""; @@ -117,7 +139,7 @@ export const MsgSoftwareUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSoftwareUpgradeResponse(); @@ -135,15 +157,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; @@ -188,18 +201,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 ?? ""; @@ -217,7 +218,7 @@ export const MsgCancelUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCancelUpgradeResponse(); @@ -235,15 +236,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/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts index be743beb9..9d0277f7d 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -1,9 +1,9 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long, isSet, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** 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 @@ -15,7 +15,6 @@ export interface Plan { * 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. @@ -23,20 +22,20 @@ export interface Plan { */ /** @deprecated */ - time: Date | undefined; + time: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. */ - height: Long; + 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; + info: string; /** * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been * moved to the IBC module in the sub module 02-client. @@ -44,9 +43,53 @@ export interface Plan { */ /** @deprecated */ + upgradedClientState: Any | undefined; } +/** Plan specifies information about a planned upgrade and when it should occur. */ + +export interface PlanSDKType { + /** + * 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: Date | undefined; + /** + * 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 */ + + upgraded_client_state: AnySDKType | undefined; +} /** * SoftwareUpgradeProposal is a gov Content type for initiating a software * upgrade. @@ -55,12 +98,26 @@ export interface Plan { */ /** @deprecated */ + export interface SoftwareUpgradeProposal { title: string; description: string; plan: Plan | undefined; } +/** + * 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 { + title: string; + description: string; + plan: PlanSDKType | undefined; +} /** * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software * upgrade. @@ -69,21 +126,48 @@ export interface SoftwareUpgradeProposal { */ /** @deprecated */ + export interface CancelSoftwareUpgradeProposal { title: string; description: string; } +/** + * 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 { + 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; +} +/** + * ModuleVersion specifies a module and its consensus version. + * + * Since: cosmos-sdk 0.43 + */ +export interface ModuleVersionSDKType { + /** name of the app module */ + name: string; /** consensus version of the app module */ + version: Long; } @@ -160,26 +244,6 @@ 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) ? Long.fromString(object.height) : Long.ZERO, - 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 = message.time.toISOString()); - message.height !== undefined && (obj.height = (message.height || Long.ZERO).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 ?? ""; @@ -247,22 +311,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 ?? ""; @@ -319,20 +367,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 ?? ""; @@ -388,20 +422,6 @@ export const ModuleVersion = { return message; }, - fromJSON(object: any): ModuleVersion { - return { - name: isSet(object.name) ? String(object.name) : "", - version: isSet(object.version) ? Long.fromString(object.version) : Long.UZERO - }; - }, - - toJSON(message: ModuleVersion): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ModuleVersion { const message = createBaseModuleVersion(); message.name = object.name ?? ""; diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts index 825d7fed6..b18fb9244 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; import { AminoMsg } from "@cosmjs/amino"; import { Long } from "@osmonauts/helpers"; import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts index ac8165ded..d9679e7a4 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; 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]]; @@ -54,52 +52,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) { diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts index 94ba2e960..93df90012 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -1,20 +1,18 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; - +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreateVestingAccountResponseSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePermanentLockedAccountResponseSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse, MsgCreatePeriodicVestingAccountResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createVestingAccount(request: MsgCreateVestingAccount): Promise; + createVestingAccount(request: MsgCreateVestingAccount): Promise; /*CreateVestingAccount defines a method that enables creating a vesting account.*/ - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; /*CreatePermanentLockedAccount defines a method that enables creating a permanent locked account.*/ - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; /*CreatePeriodicVestingAccount defines a method that enables creating a periodic vesting account.*/ @@ -29,19 +27,19 @@ export class MsgClientImpl implements Msg { this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); } - createVestingAccount(request: MsgCreateVestingAccount): Promise { + createVestingAccount(request: MsgCreateVestingAccount): Promise { const data = MsgCreateVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); } - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { const data = MsgCreatePermanentLockedAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); } - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts index 1c44cd75b..fecca127f 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts @@ -1,12 +1,12 @@ -import { Coin } from "../../base/v1beta1/coin"; -import { Period } from "./vesting"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Period, PeriodSDKType } from "./vesting"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ + export interface MsgCreateVestingAccount { fromAddress: string; toAddress: string; @@ -14,39 +14,84 @@ export interface MsgCreateVestingAccount { endTime: Long; delayed: boolean; } +/** + * 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 {} +/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ +export interface MsgCreateVestingAccountResponseSDKType {} /** * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent * locked account. */ + export interface MsgCreatePermanentLockedAccount { fromAddress: string; toAddress: string; amount: Coin[]; } +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ +export interface MsgCreatePermanentLockedAccountSDKType { + from_address: string; + to_address: string; + amount: CoinSDKType[]; +} /** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ + export interface MsgCreatePermanentLockedAccountResponse {} +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ +export interface MsgCreatePermanentLockedAccountResponseSDKType {} /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. */ + export interface MsgCreatePeriodicVestingAccount { fromAddress: string; toAddress: string; startTime: Long; vestingPeriods: Period[]; } +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ +export interface MsgCreatePeriodicVestingAccountSDKType { + from_address: string; + to_address: string; + start_time: Long; + vesting_periods: PeriodSDKType[]; +} /** * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount * response type. */ + export interface MsgCreatePeriodicVestingAccountResponse {} +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ + +export interface MsgCreatePeriodicVestingAccountResponseSDKType {} function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { return { @@ -121,32 +166,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) ? Long.fromString(object.endTime) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.delayed !== undefined && (obj.delayed = message.delayed); - return obj; - }, - fromPartial(object: Partial): MsgCreateVestingAccount { const message = createBaseMsgCreateVestingAccount(); message.fromAddress = object.fromAddress ?? ""; @@ -168,7 +187,7 @@ export const MsgCreateVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateVestingAccountResponse(); @@ -186,15 +205,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; @@ -257,28 +267,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 ?? ""; @@ -298,7 +286,7 @@ export const MsgCreatePermanentLockedAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePermanentLockedAccountResponse(); @@ -316,15 +304,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; @@ -396,30 +375,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) ? Long.fromString(object.startTime) : Long.ZERO, - 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 || Long.ZERO).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 ?? ""; @@ -440,7 +395,7 @@ export const MsgCreatePeriodicVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePeriodicVestingAccountResponse(); @@ -458,15 +413,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/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts index a4f832a4d..a0c25a632 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -1,12 +1,12 @@ -import { BaseAccount } from "../../auth/v1beta1/auth"; -import { Coin } from "../../base/v1beta1/coin"; +import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ + export interface BaseVestingAccount { baseAccount: BaseAccount | undefined; originalVesting: Coin[]; @@ -14,41 +14,86 @@ export interface BaseVestingAccount { delegatedVesting: Coin[]; endTime: Long; } +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ +export interface BaseVestingAccountSDKType { + base_account: BaseAccountSDKType | undefined; + 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 | undefined; startTime: Long; } +/** + * ContinuousVestingAccount implements the VestingAccount interface. It + * continuously vests by unlocking coins linearly with respect to time. + */ +export interface ContinuousVestingAccountSDKType { + base_vesting_account: BaseVestingAccountSDKType | undefined; + 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 | undefined; } +/** + * 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 | undefined; +} /** Period defines a length of time and amount of coins that will vest. */ + export interface Period { length: Long; amount: Coin[]; } +/** 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 | undefined; startTime: Long; vestingPeriods: Period[]; } +/** + * PeriodicVestingAccount implements the VestingAccount interface. It + * periodically vests by unlocking coins during each specified period. + */ +export interface PeriodicVestingAccountSDKType { + base_vesting_account: BaseVestingAccountSDKType | undefined; + 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 @@ -56,9 +101,21 @@ export interface PeriodicVestingAccount { * * Since: cosmos-sdk 0.43 */ + export interface PermanentLockedAccount { baseVestingAccount: BaseVestingAccount | undefined; } +/** + * 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 | undefined; +} function createBaseBaseVestingAccount(): BaseVestingAccount { return { @@ -133,42 +190,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) ? Long.fromString(object.endTime) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BaseVestingAccount { const message = createBaseBaseVestingAccount(); message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; @@ -227,20 +248,6 @@ export const ContinuousVestingAccount = { return message; }, - fromJSON(object: any): ContinuousVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ContinuousVestingAccount { const message = createBaseContinuousVestingAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; @@ -287,18 +294,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; @@ -353,26 +348,6 @@ export const Period = { return message; }, - fromJSON(object: any): Period { - return { - length: isSet(object.length) ? Long.fromString(object.length) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.length) : Long.ZERO; @@ -437,28 +412,6 @@ export const PeriodicVestingAccount = { return message; }, - fromJSON(object: any): PeriodicVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? Long.fromString(object.startTime) : Long.ZERO, - 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 || Long.ZERO).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; @@ -506,18 +459,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/examples/telescope/codegen/cosmos_proto/cosmos.ts b/examples/telescope/codegen/cosmos_proto/cosmos.ts index fa1af2061..39f468489 100644 --- a/examples/telescope/codegen/cosmos_proto/cosmos.ts +++ b/examples/telescope/codegen/cosmos_proto/cosmos.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; export enum ScalarType { SCALAR_TYPE_UNSPECIFIED = 0, SCALAR_TYPE_STRING = 1, SCALAR_TYPE_BYTES = 2, UNRECOGNIZED = -1, } +export enum ScalarTypeSDKType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} export function scalarTypeFromJSON(object: any): ScalarType { switch (object) { case 0: @@ -41,11 +46,11 @@ export function scalarTypeToJSON(object: ScalarType): string { return "UNKNOWN"; } } - /** * 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 @@ -54,14 +59,33 @@ export interface InterfaceDescriptor { * fully-qualified name will be a.b.C. */ name: string; - /** * description is a human-readable description of the interface and its * purpose. */ + description: string; } +/** + * InterfaceDescriptor describes an interface type to be used with + * accepts_interface and implements_interface and declared by declare_interface. + */ + +export interface InterfaceDescriptorSDKType { + /** + * 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; +} /** * ScalarDescriptor describes an scalar type to be used with * the scalar field option and declared by declare_scalar. @@ -71,6 +95,7 @@ export interface InterfaceDescriptor { * 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 @@ -79,22 +104,56 @@ export interface ScalarDescriptor { * 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; + 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[]; } +/** + * 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 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: ScalarTypeSDKType[]; +} function createBaseInterfaceDescriptor(): InterfaceDescriptor { return { @@ -142,20 +201,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 ?? ""; @@ -232,28 +277,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/examples/telescope/codegen/cosmwasm/bundle.ts b/examples/telescope/codegen/cosmwasm/bundle.ts index 5aeee3c69..20c8556e3 100644 --- a/examples/telescope/codegen/cosmwasm/bundle.ts +++ b/examples/telescope/codegen/cosmwasm/bundle.ts @@ -4,14 +4,14 @@ import * as _96 from "./wasm/v1/proposal"; import * as _97 from "./wasm/v1/query"; import * as _98 from "./wasm/v1/tx"; import * as _99 from "./wasm/v1/types"; -import * as _221 from "./wasm/v1/tx.amino"; -import * as _222 from "./wasm/v1/tx.registry"; -import * as _223 from "./wasm/v1/query.lcd"; -import * as _224 from "./wasm/v1/query.rpc.query"; -import * as _225 from "./wasm/v1/tx.rpc.msg"; -import * as _250 from "./lcd"; -import * as _251 from "./rpc.query"; -import * as _252 from "./rpc.tx"; +import * as _223 from "./wasm/v1/tx.amino"; +import * as _224 from "./wasm/v1/tx.registry"; +import * as _225 from "./wasm/v1/query.lcd"; +import * as _226 from "./wasm/v1/query.rpc.query"; +import * as _227 from "./wasm/v1/tx.rpc.msg"; +import * as _252 from "./lcd"; +import * as _253 from "./rpc.query"; +import * as _254 from "./rpc.tx"; export namespace cosmwasm { export namespace wasm { export const v1 = { ..._94, @@ -20,15 +20,15 @@ export namespace cosmwasm { ..._97, ..._98, ..._99, - ..._221, - ..._222, ..._223, ..._224, - ..._225 + ..._225, + ..._226, + ..._227 }; } - export const ClientFactory = { ..._250, - ..._251, - ..._252 + export const ClientFactory = { ..._252, + ..._253, + ..._254 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/lcd.ts b/examples/telescope/codegen/cosmwasm/lcd.ts index 958751f26..ce16f358d 100644 --- a/examples/telescope/codegen/cosmwasm/lcd.ts +++ b/examples/telescope/codegen/cosmwasm/lcd.ts @@ -1,88 +1,106 @@ +import { LCDClient } from "@osmonauts/lcd"; export const createLCDClient = async ({ restEndpoint }: { restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.query.ts b/examples/telescope/codegen/cosmwasm/rpc.query.ts index 8faccf38d..02b0294a4 100644 --- a/examples/telescope/codegen/cosmwasm/rpc.query.ts +++ b/examples/telescope/codegen/cosmwasm/rpc.query.ts @@ -1,60 +1,73 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ - rpc + rpcEndpoint }: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } }, - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.rpc.query")).QueryClientImpl(rpc) + cosmwasm: { + wasm: { + v1: (await import("./wasm/v1/query.rpc.query")).createRpcQueryExtension(client) + } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts index 158f5a13c..8c401bfac 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts @@ -1,9 +1,9 @@ -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract } from "./tx"; -import { Params, CodeInfo, ContractInfo, Model } from "./types"; +import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; +import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState - genesis state of x/wasm */ + export interface GenesisState { params: Params | undefined; codes: Code[]; @@ -11,39 +11,81 @@ export interface GenesisState { sequences: Sequence[]; genMsgs: GenesisState_GenMsgs[]; } +/** GenesisState - genesis state of x/wasm */ +export interface GenesisStateSDKType { + params: ParamsSDKType | undefined; + codes: CodeSDKType[]; + contracts: ContractSDKType[]; + sequences: SequenceSDKType[]; + gen_msgs: GenesisState_GenMsgsSDKType[]; +} /** * GenMsgs define the messages that can be executed during genesis phase in * order. The intention is to have more human readable data that is auditable. */ + export interface GenesisState_GenMsgs { storeCode?: MsgStoreCode | undefined; instantiateContract?: MsgInstantiateContract | undefined; executeContract?: MsgExecuteContract | undefined; } +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ +export interface GenesisState_GenMsgsSDKType { + store_code?: MsgStoreCodeSDKType | undefined; + instantiate_contract?: MsgInstantiateContractSDKType | undefined; + execute_contract?: MsgExecuteContractSDKType | undefined; +} /** Code struct encompasses CodeInfo and CodeBytes */ + export interface Code { codeId: Long; codeInfo: CodeInfo | undefined; codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ + pinned: boolean; } +/** Code struct encompasses CodeInfo and CodeBytes */ +export interface CodeSDKType { + code_id: Long; + code_info: CodeInfoSDKType | undefined; + code_bytes: Uint8Array; + /** Pinned to wasmvm cache */ + + pinned: boolean; +} /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ + export interface Contract { contractAddress: string; contractInfo: ContractInfo | undefined; contractState: Model[]; } +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ +export interface ContractSDKType { + contract_address: string; + contract_info: ContractInfoSDKType | undefined; + contract_state: ModelSDKType[]; +} /** Sequence key and value of an id generation counter */ + export interface Sequence { idKey: Uint8Array; value: Long; } +/** Sequence key and value of an id generation counter */ + +export interface SequenceSDKType { + id_key: Uint8Array; + value: Long; +} function createBaseGenesisState(): GenesisState { return { @@ -118,47 +160,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromJSON(e)) : [], - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromJSON(e)) : [], - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromJSON(e)) : [], - genMsgs: Array.isArray(object?.genMsgs) ? object.genMsgs.map((e: any) => GenesisState_GenMsgs.fromJSON(e)) : [] - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - - if (message.codes) { - obj.codes = message.codes.map(e => e ? Code.toJSON(e) : undefined); - } else { - obj.codes = []; - } - - if (message.contracts) { - obj.contracts = message.contracts.map(e => e ? Contract.toJSON(e) : undefined); - } else { - obj.contracts = []; - } - - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? Sequence.toJSON(e) : undefined); - } else { - obj.sequences = []; - } - - if (message.genMsgs) { - obj.genMsgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toJSON(e) : undefined); - } else { - obj.genMsgs = []; - } - - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -226,22 +227,6 @@ export const GenesisState_GenMsgs = { return message; }, - fromJSON(object: any): GenesisState_GenMsgs { - return { - storeCode: isSet(object.storeCode) ? MsgStoreCode.fromJSON(object.storeCode) : undefined, - instantiateContract: isSet(object.instantiateContract) ? MsgInstantiateContract.fromJSON(object.instantiateContract) : undefined, - executeContract: isSet(object.executeContract) ? MsgExecuteContract.fromJSON(object.executeContract) : undefined - }; - }, - - toJSON(message: GenesisState_GenMsgs): unknown { - const obj: any = {}; - message.storeCode !== undefined && (obj.storeCode = message.storeCode ? MsgStoreCode.toJSON(message.storeCode) : undefined); - message.instantiateContract !== undefined && (obj.instantiateContract = message.instantiateContract ? MsgInstantiateContract.toJSON(message.instantiateContract) : undefined); - message.executeContract !== undefined && (obj.executeContract = message.executeContract ? MsgExecuteContract.toJSON(message.executeContract) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState_GenMsgs { const message = createBaseGenesisState_GenMsgs(); message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; @@ -316,24 +301,6 @@ export const Code = { return message; }, - fromJSON(object: any): Code { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - codeInfo: isSet(object.codeInfo) ? CodeInfo.fromJSON(object.codeInfo) : undefined, - codeBytes: isSet(object.codeBytes) ? bytesFromBase64(object.codeBytes) : new Uint8Array(), - pinned: isSet(object.pinned) ? Boolean(object.pinned) : false - }; - }, - - toJSON(message: Code): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfo.toJSON(message.codeInfo) : undefined); - message.codeBytes !== undefined && (obj.codeBytes = base64FromBytes(message.codeBytes !== undefined ? message.codeBytes : new Uint8Array())); - message.pinned !== undefined && (obj.pinned = message.pinned); - return obj; - }, - fromPartial(object: Partial): Code { const message = createBaseCode(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -400,28 +367,6 @@ export const Contract = { return message; }, - fromJSON(object: any): Contract { - return { - contractAddress: isSet(object.contractAddress) ? String(object.contractAddress) : "", - contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined, - contractState: Array.isArray(object?.contractState) ? object.contractState.map((e: any) => Model.fromJSON(e)) : [] - }; - }, - - toJSON(message: Contract): unknown { - const obj: any = {}; - message.contractAddress !== undefined && (obj.contractAddress = message.contractAddress); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - - if (message.contractState) { - obj.contractState = message.contractState.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.contractState = []; - } - - return obj; - }, - fromPartial(object: Partial): Contract { const message = createBaseContract(); message.contractAddress = object.contractAddress ?? ""; @@ -478,20 +423,6 @@ export const Sequence = { return message; }, - fromJSON(object: any): Sequence { - return { - idKey: isSet(object.idKey) ? bytesFromBase64(object.idKey) : new Uint8Array(), - value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO - }; - }, - - toJSON(message: Sequence): unknown { - const obj: any = {}; - message.idKey !== undefined && (obj.idKey = base64FromBytes(message.idKey !== undefined ? message.idKey : new Uint8Array())); - message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Sequence { const message = createBaseSequence(); message.idKey = object.idKey ?? new Uint8Array(); diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts index 3da4300ef..d37f6fded 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts @@ -1,34 +1,63 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** MsgIBCSend */ + export interface MsgIBCSend { /** the channel by which the packet will be sent */ channel: string; - /** * Timeout height relative to the current block height. * The timeout is disabled when set to 0. */ - timeoutHeight: Long; + timeoutHeight: Long; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. */ - timeoutTimestamp: Long; + timeoutTimestamp: Long; /** * Data is the payload to transfer. We must not make assumption what format or * content is in here. */ + data: Uint8Array; } +/** MsgIBCSend */ + +export interface MsgIBCSendSDKType { + /** the channel by which the packet will be sent */ + channel: string; + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + + timeout_height: Long; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + timeout_timestamp: Long; + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + + data: Uint8Array; +} /** MsgIBCCloseChannel port and channel need to be owned by the contract */ + export interface MsgIBCCloseChannel { channel: string; } +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ + +export interface MsgIBCCloseChannelSDKType { + channel: string; +} function createBaseMsgIBCSend(): MsgIBCSend { return { @@ -94,24 +123,6 @@ export const MsgIBCSend = { return message; }, - fromJSON(object: any): MsgIBCSend { - return { - channel: isSet(object.channel) ? String(object.channel) : "", - timeoutHeight: isSet(object.timeoutHeight) ? Long.fromString(object.timeoutHeight) : Long.UZERO, - timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgIBCSend): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgIBCSend { const message = createBaseMsgIBCSend(); message.channel = object.channel ?? ""; @@ -160,18 +171,6 @@ export const MsgIBCCloseChannel = { return message; }, - fromJSON(object: any): MsgIBCCloseChannel { - return { - channel: isSet(object.channel) ? String(object.channel) : "" - }; - }, - - toJSON(message: MsgIBCCloseChannel): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - return obj; - }, - fromPartial(object: Partial): MsgIBCCloseChannel { const message = createBaseMsgIBCCloseChannel(); message.channel = object.channel ?? ""; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts index ac0c2baae..48adea786 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts @@ -1,172 +1,337 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + export interface StoreCodeProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; + wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ + instantiatePermission: AccessConfig | undefined; } +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + +export interface StoreCodeProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** WASMByteCode can be raw or gzip compressed */ + wasm_byte_code: Uint8Array; + /** InstantiatePermission to apply on contract creation, optional */ + + instantiate_permission: AccessConfigSDKType | undefined; +} /** * InstantiateContractProposal gov proposal content type to instantiate a * contract. */ + export interface InstantiateContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Label is optional metadata to be stored with a constract instance. */ - label: string; + label: string; /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ + +export interface InstantiateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a constract instance. */ + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: CoinSDKType[]; +} /** MigrateContractProposal gov proposal content type to migrate a contract. */ + export interface MigrateContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** CodeID references the new WASM codesudo */ - codeId: Long; + codeId: Long; /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; } +/** MigrateContractProposal gov proposal content type to migrate a contract. */ + +export interface MigrateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + contract: string; + /** CodeID references the new WASM codesudo */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} /** SudoContractProposal gov proposal content type to call sudo on a contract. */ + export interface SudoContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; } +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ + +export interface SudoContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as sudo */ + msg: Uint8Array; +} /** * ExecuteContractProposal gov proposal content type to call execute on a * contract. */ + export interface ExecuteContractProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; + runAs: string; /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract as execute */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ + +export interface ExecuteContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as execute */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + funds: CoinSDKType[]; +} /** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + export interface UpdateAdminProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** NewAdmin address to be set */ - newAdmin: string; + newAdmin: string; /** Contract is the address of the smart contract */ + contract: string; } +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + +export interface UpdateAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** NewAdmin address to be set */ + + new_admin: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** * ClearAdminProposal gov proposal content type to clear the admin of a * contract. */ + export interface ClearAdminProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** Contract is the address of the smart contract */ + contract: string; } +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ + +export interface ClearAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** * PinCodesProposal gov proposal content type to pin a set of code ids in the * wasmvm cache. */ + export interface PinCodesProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** CodeIDs references the new WASM codes */ + codeIds: Long[]; } +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ +export interface PinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the new WASM codes */ + + code_ids: Long[]; +} /** * UnpinCodesProposal gov proposal content type to unpin a set of code ids in * the wasmvm cache. */ + export interface UnpinCodesProposal { /** Title is a short summary */ title: string; - /** Description is a human readable text */ - description: string; + description: string; /** CodeIDs references the WASM codes */ + codeIds: Long[]; } +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ + +export interface UnpinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the WASM codes */ + + code_ids: Long[]; +} function createBaseStoreCodeProposal(): StoreCodeProposal { return { @@ -241,26 +406,6 @@ export const StoreCodeProposal = { return message; }, - fromJSON(object: any): StoreCodeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), - instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined - }; - }, - - toJSON(message: StoreCodeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: Partial): StoreCodeProposal { const message = createBaseStoreCodeProposal(); message.title = object.title ?? ""; @@ -373,38 +518,6 @@ export const InstantiateContractProposal = { return message; }, - fromJSON(object: any): InstantiateContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - label: isSet(object.label) ? String(object.label) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: InstantiateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): InstantiateContractProposal { const message = createBaseInstantiateContractProposal(); message.title = object.title ?? ""; @@ -493,26 +606,6 @@ export const MigrateContractProposal = { return message; }, - fromJSON(object: any): MigrateContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: MigrateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MigrateContractProposal { const message = createBaseMigrateContractProposal(); message.title = object.title ?? ""; @@ -589,24 +682,6 @@ export const SudoContractProposal = { return message; }, - fromJSON(object: any): SudoContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: SudoContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SudoContractProposal { const message = createBaseSudoContractProposal(); message.title = object.title ?? ""; @@ -700,34 +775,6 @@ export const ExecuteContractProposal = { return message; }, - fromJSON(object: any): ExecuteContractProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - runAs: isSet(object.runAs) ? String(object.runAs) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: ExecuteContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): ExecuteContractProposal { const message = createBaseExecuteContractProposal(); message.title = object.title ?? ""; @@ -805,24 +852,6 @@ export const UpdateAdminProposal = { return message; }, - fromJSON(object: any): UpdateAdminProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: UpdateAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): UpdateAdminProposal { const message = createBaseUpdateAdminProposal(); message.title = object.title ?? ""; @@ -889,22 +918,6 @@ export const ClearAdminProposal = { return message; }, - fromJSON(object: any): ClearAdminProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: ClearAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): ClearAdminProposal { const message = createBaseClearAdminProposal(); message.title = object.title ?? ""; @@ -982,28 +995,6 @@ export const PinCodesProposal = { return message; }, - fromJSON(object: any): PinCodesProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: PinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - return obj; - }, - fromPartial(object: Partial): PinCodesProposal { const message = createBasePinCodesProposal(); message.title = object.title ?? ""; @@ -1081,28 +1072,6 @@ export const UnpinCodesProposal = { return message; }, - fromJSON(object: any): UnpinCodesProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: UnpinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - return obj; - }, - fromPartial(object: Partial): UnpinCodesProposal { const message = createBaseUnpinCodesProposal(); message.title = object.title ?? ""; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts index f4a5118cf..17db7e020 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -1,27 +1,36 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); } - /* ContractInfo gets the contract meta data */ - async contractInfo(params: QueryContractInfoRequest): Promise { + + + async contractInfo(params: QueryContractInfoRequest): Promise { const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ContractHistory gets the contract code history */ - async contractHistory(params: QueryContractHistoryRequest): Promise { + + + async contractHistory(params: QueryContractHistoryRequest): Promise { const options: any = { params: {} }; @@ -31,11 +40,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ContractsByCode lists all smart contracts for a code id */ - async contractsByCode(params: QueryContractsByCodeRequest): Promise { + + + async contractsByCode(params: QueryContractsByCodeRequest): Promise { const options: any = { params: {} }; @@ -45,11 +55,12 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* AllContractState gets all raw store data for a single contract */ - async allContractState(params: QueryAllContractStateRequest): Promise { + + + async allContractState(params: QueryAllContractStateRequest): Promise { const options: any = { params: {} }; @@ -59,31 +70,35 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* RawContractState gets single key from the raw store data of a contract */ - async rawContractState(params: QueryRawContractStateRequest): Promise { + + + async rawContractState(params: QueryRawContractStateRequest): Promise { const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* SmartContractState get smart query result from the contract */ - async smartContractState(params: QuerySmartContractStateRequest): Promise { + + + async smartContractState(params: QuerySmartContractStateRequest): Promise { const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Code gets the binary code and metadata for a singe wasm code */ - async code(params: QueryCodeRequest): Promise { + + + async code(params: QueryCodeRequest): Promise { const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Codes gets the metadata for all stored wasm codes */ + + async codes(params: QueryCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -93,13 +108,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/code`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* PinnedCodes gets the pinned code ids */ + + async pinnedCodes(params: QueryPinnedCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -109,7 +125,7 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `cosmwasm/wasm/v1/codes/pinned`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts index f6fc84b21..1ee240045 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -1,36 +1,35 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - contractInfo(request: QueryContractInfoRequest): Promise; + contractInfo(request: QueryContractInfoRequest): Promise; /*ContractInfo gets the contract meta data*/ - contractHistory(request: QueryContractHistoryRequest): Promise; + contractHistory(request: QueryContractHistoryRequest): Promise; /*ContractHistory gets the contract code history*/ - contractsByCode(request: QueryContractsByCodeRequest): Promise; + contractsByCode(request: QueryContractsByCodeRequest): Promise; /*ContractsByCode lists all smart contracts for a code id*/ - allContractState(request: QueryAllContractStateRequest): Promise; + allContractState(request: QueryAllContractStateRequest): Promise; /*AllContractState gets all raw store data for a single contract*/ - rawContractState(request: QueryRawContractStateRequest): Promise; + rawContractState(request: QueryRawContractStateRequest): Promise; /*RawContractState gets single key from the raw store data of a contract*/ - smartContractState(request: QuerySmartContractStateRequest): Promise; + smartContractState(request: QuerySmartContractStateRequest): Promise; /*SmartContractState get smart query result from the contract*/ - code(request: QueryCodeRequest): Promise; + code(request: QueryCodeRequest): Promise; /*Code gets the binary code and metadata for a singe wasm code*/ - codes(request: QueryCodesRequest): Promise; + codes(request?: QueryCodesRequest): Promise; /*Codes gets the metadata for all stored wasm codes*/ - pinnedCodes(request: QueryPinnedCodesRequest): Promise; + pinnedCodes(request?: QueryPinnedCodesRequest): Promise; /*PinnedCodes gets the pinned code ids*/ } @@ -50,58 +49,104 @@ export class QueryClientImpl implements Query { this.pinnedCodes = this.pinnedCodes.bind(this); } - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { const data = QueryContractInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); } - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { const data = QueryContractHistoryRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); } - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { const data = QueryContractsByCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); } - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { const data = QueryAllContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); } - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { const data = QueryRawContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); } - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { const data = QuerySmartContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); } - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { const data = QueryCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); } - codes(request: QueryCodesRequest): Promise { + codes(request: QueryCodesRequest = { + pagination: undefined + }): Promise { const data = QueryCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); } - pinnedCodes(request: QueryPinnedCodesRequest): Promise { + pinnedCodes(request: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { const data = QueryPinnedCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + contractInfo(request: QueryContractInfoRequest): Promise { + return queryService.contractInfo(request); + }, + + contractHistory(request: QueryContractHistoryRequest): Promise { + return queryService.contractHistory(request); + }, + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + return queryService.contractsByCode(request); + }, + + allContractState(request: QueryAllContractStateRequest): Promise { + return queryService.allContractState(request); + }, + + rawContractState(request: QueryRawContractStateRequest): Promise { + return queryService.rawContractState(request); + }, + + smartContractState(request: QuerySmartContractStateRequest): Promise { + return queryService.smartContractState(request); + }, + + code(request: QueryCodeRequest): Promise { + return queryService.code(request); + }, + + codes(request?: QueryCodesRequest): Promise { + return queryService.codes(request); + }, + + pinnedCodes(request?: QueryPinnedCodesRequest): Promise { + return queryService.pinnedCodes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts index a307d9ed2..a844178e5 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts @@ -1,54 +1,96 @@ -import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractCodeHistoryEntry, Model } from "./types"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC * method */ + export interface QueryContractInfoRequest { /** address is the address of the contract to query */ address: string; } +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoRequestSDKType { + /** address is the address of the contract to query */ + address: string; +} /** * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC * method */ + export interface QueryContractInfoResponse { /** address is the address of the contract */ address: string; contractInfo: ContractInfo | undefined; } +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ +export interface QueryContractInfoResponseSDKType { + /** address is the address of the contract */ + address: string; + contract_info: ContractInfoSDKType | undefined; +} /** * QueryContractHistoryRequest is the request type for the Query/ContractHistory * RPC method */ + export interface QueryContractHistoryRequest { /** address is the address of the contract to query */ address: string; - /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ +export interface QueryContractHistoryRequestSDKType { + /** address is the address of the contract to query */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryContractHistoryResponse is the response type for the * Query/ContractHistory RPC method */ + export interface QueryContractHistoryResponse { entries: ContractCodeHistoryEntry[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ +export interface QueryContractHistoryResponseSDKType { + entries: ContractCodeHistoryEntrySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode * RPC method */ + export interface QueryContractsByCodeRequest { /** * grpc-gateway_out does not support Go style CodID @@ -57,134 +99,275 @@ export interface QueryContractsByCodeRequest { codeId: Long; pagination?: PageRequest | undefined; } +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ +export interface QueryContractsByCodeRequestSDKType { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + code_id: Long; + pagination?: PageRequestSDKType | undefined; +} /** * QueryContractsByCodeResponse is the response type for the * Query/ContractsByCode RPC method */ + export interface QueryContractsByCodeResponse { /** contracts are a set of contract addresses */ contracts: string[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ +export interface QueryContractsByCodeResponseSDKType { + /** contracts are a set of contract addresses */ + contracts: string[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** * QueryAllContractStateRequest is the request type for the * Query/AllContractState RPC method */ + export interface QueryAllContractStateRequest { /** address is the address of the contract */ address: string; - /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; } +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryAllContractStateResponse is the response type for the * Query/AllContractState RPC method */ + export interface QueryAllContractStateResponse { models: Model[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateResponseSDKType { + models: ModelSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryRawContractStateRequest is the request type for the * Query/RawContractState RPC method */ + export interface QueryRawContractStateRequest { /** address is the address of the contract */ address: string; queryData: Uint8Array; } +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + query_data: Uint8Array; +} /** * QueryRawContractStateResponse is the response type for the * Query/RawContractState RPC method */ + export interface QueryRawContractStateResponse { /** Data contains the raw store data */ data: Uint8Array; } +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ +export interface QueryRawContractStateResponseSDKType { + /** Data contains the raw store data */ + data: Uint8Array; +} /** * QuerySmartContractStateRequest is the request type for the * Query/SmartContractState RPC method */ + export interface QuerySmartContractStateRequest { /** address is the address of the contract */ address: string; - /** QueryData contains the query data passed to the contract */ + queryData: Uint8Array; } +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** QueryData contains the query data passed to the contract */ + query_data: Uint8Array; +} /** * QuerySmartContractStateResponse is the response type for the * Query/SmartContractState RPC method */ + export interface QuerySmartContractStateResponse { /** Data contains the json data returned from the smart contract */ data: Uint8Array; } +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ +export interface QuerySmartContractStateResponseSDKType { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} /** QueryCodeRequest is the request type for the Query/Code RPC method */ + export interface QueryCodeRequest { /** grpc-gateway_out does not support Go style CodID */ codeId: Long; } +/** QueryCodeRequest is the request type for the Query/Code RPC method */ +export interface QueryCodeRequestSDKType { + /** grpc-gateway_out does not support Go style CodID */ + code_id: Long; +} /** CodeInfoResponse contains code meta data from CodeInfo */ + export interface CodeInfoResponse { codeId: Long; creator: string; dataHash: Uint8Array; } +/** CodeInfoResponse contains code meta data from CodeInfo */ +export interface CodeInfoResponseSDKType { + code_id: Long; + creator: string; + data_hash: Uint8Array; +} /** QueryCodeResponse is the response type for the Query/Code RPC method */ + export interface QueryCodeResponse { codeInfo: CodeInfoResponse | undefined; data: Uint8Array; } +/** QueryCodeResponse is the response type for the Query/Code RPC method */ +export interface QueryCodeResponseSDKType { + code_info: CodeInfoResponseSDKType | undefined; + data: Uint8Array; +} /** QueryCodesRequest is the request type for the Query/Codes RPC method */ + export interface QueryCodesRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ +export interface QueryCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** QueryCodesResponse is the response type for the Query/Codes RPC method */ + export interface QueryCodesResponse { codeInfos: CodeInfoResponse[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ + +export interface QueryCodesResponseSDKType { + code_infos: CodeInfoResponseSDKType[]; + /** pagination defines the pagination in the response. */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes * RPC method */ + export interface QueryPinnedCodesRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ +export interface QueryPinnedCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * QueryPinnedCodesResponse is the response type for the * Query/PinnedCodes RPC method */ + export interface QueryPinnedCodesResponse { codeIds: Long[]; - /** pagination defines the pagination in the response. */ + pagination?: PageResponse | undefined; } +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ + +export interface QueryPinnedCodesResponseSDKType { + code_ids: Long[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { return { @@ -223,18 +406,6 @@ export const QueryContractInfoRequest = { return message; }, - fromJSON(object: any): QueryContractInfoRequest { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: QueryContractInfoRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: Partial): QueryContractInfoRequest { const message = createBaseQueryContractInfoRequest(); message.address = object.address ?? ""; @@ -263,7 +434,7 @@ export const QueryContractInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractInfoResponse(); @@ -289,20 +460,6 @@ export const QueryContractInfoResponse = { return message; }, - fromJSON(object: any): QueryContractInfoResponse { - return { - address: isSet(object.address) ? String(object.address) : "", - contractInfo: isSet(object.contractInfo) ? ContractInfo.fromJSON(object.contractInfo) : undefined - }; - }, - - toJSON(message: QueryContractInfoResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractInfoResponse { const message = createBaseQueryContractInfoResponse(); message.address = object.address ?? ""; @@ -358,20 +515,6 @@ export const QueryContractHistoryRequest = { return message; }, - fromJSON(object: any): QueryContractHistoryRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractHistoryRequest): 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): QueryContractHistoryRequest { const message = createBaseQueryContractHistoryRequest(); message.address = object.address ?? ""; @@ -401,7 +544,7 @@ export const QueryContractHistoryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractHistoryResponse(); @@ -427,26 +570,6 @@ export const QueryContractHistoryResponse = { return message; }, - fromJSON(object: any): QueryContractHistoryResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractHistoryResponse): unknown { - const obj: any = {}; - - if (message.entries) { - obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractHistoryResponse { const message = createBaseQueryContractHistoryResponse(); message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; @@ -502,20 +625,6 @@ export const QueryContractsByCodeRequest = { return message; }, - fromJSON(object: any): QueryContractsByCodeRequest { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractsByCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractsByCodeRequest { const message = createBaseQueryContractsByCodeRequest(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -545,7 +654,7 @@ export const QueryContractsByCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractsByCodeResponse(); @@ -571,26 +680,6 @@ export const QueryContractsByCodeResponse = { return message; }, - fromJSON(object: any): QueryContractsByCodeResponse { - return { - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => String(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryContractsByCodeResponse): unknown { - const obj: any = {}; - - if (message.contracts) { - obj.contracts = message.contracts.map(e => e); - } else { - obj.contracts = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryContractsByCodeResponse { const message = createBaseQueryContractsByCodeResponse(); message.contracts = object.contracts?.map(e => e) || []; @@ -646,20 +735,6 @@ export const QueryAllContractStateRequest = { return message; }, - fromJSON(object: any): QueryAllContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryAllContractStateRequest): 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): QueryAllContractStateRequest { const message = createBaseQueryAllContractStateRequest(); message.address = object.address ?? ""; @@ -689,7 +764,7 @@ export const QueryAllContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllContractStateResponse(); @@ -715,26 +790,6 @@ export const QueryAllContractStateResponse = { return message; }, - fromJSON(object: any): QueryAllContractStateResponse { - return { - models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryAllContractStateResponse): unknown { - const obj: any = {}; - - if (message.models) { - obj.models = message.models.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.models = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryAllContractStateResponse { const message = createBaseQueryAllContractStateResponse(); message.models = object.models?.map(e => Model.fromPartial(e)) || []; @@ -790,20 +845,6 @@ export const QueryRawContractStateRequest = { return message; }, - fromJSON(object: any): QueryRawContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() - }; - }, - - toJSON(message: QueryRawContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryRawContractStateRequest { const message = createBaseQueryRawContractStateRequest(); message.address = object.address ?? ""; @@ -828,7 +869,7 @@ export const QueryRawContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRawContractStateResponse(); @@ -850,18 +891,6 @@ export const QueryRawContractStateResponse = { return message; }, - fromJSON(object: any): QueryRawContractStateResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QueryRawContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryRawContractStateResponse { const message = createBaseQueryRawContractStateResponse(); message.data = object.data ?? new Uint8Array(); @@ -916,20 +945,6 @@ export const QuerySmartContractStateRequest = { return message; }, - fromJSON(object: any): QuerySmartContractStateRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - queryData: isSet(object.queryData) ? bytesFromBase64(object.queryData) : new Uint8Array() - }; - }, - - toJSON(message: QuerySmartContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QuerySmartContractStateRequest { const message = createBaseQuerySmartContractStateRequest(); message.address = object.address ?? ""; @@ -954,7 +969,7 @@ export const QuerySmartContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySmartContractStateResponse(); @@ -976,18 +991,6 @@ export const QuerySmartContractStateResponse = { return message; }, - fromJSON(object: any): QuerySmartContractStateResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QuerySmartContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QuerySmartContractStateResponse { const message = createBaseQuerySmartContractStateResponse(); message.data = object.data ?? new Uint8Array(); @@ -1033,18 +1036,6 @@ export const QueryCodeRequest = { return message; }, - fromJSON(object: any): QueryCodeRequest { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO - }; - }, - - toJSON(message: QueryCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryCodeRequest { const message = createBaseQueryCodeRequest(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -1108,22 +1099,6 @@ export const CodeInfoResponse = { return message; }, - fromJSON(object: any): CodeInfoResponse { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - creator: isSet(object.creator) ? String(object.creator) : "", - dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array() - }; - }, - - toJSON(message: CodeInfoResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): CodeInfoResponse { const message = createBaseCodeInfoResponse(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -1154,7 +1129,7 @@ export const QueryCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodeResponse(); @@ -1180,20 +1155,6 @@ export const QueryCodeResponse = { return message; }, - fromJSON(object: any): QueryCodeResponse { - return { - codeInfo: isSet(object.codeInfo) ? CodeInfoResponse.fromJSON(object.codeInfo) : undefined, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: QueryCodeResponse): unknown { - const obj: any = {}; - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfoResponse.toJSON(message.codeInfo) : undefined); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryCodeResponse { const message = createBaseQueryCodeResponse(); message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; @@ -1240,18 +1201,6 @@ export const QueryCodesRequest = { return message; }, - fromJSON(object: any): QueryCodesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryCodesRequest { const message = createBaseQueryCodesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1280,7 +1229,7 @@ export const QueryCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodesResponse(); @@ -1306,26 +1255,6 @@ export const QueryCodesResponse = { return message; }, - fromJSON(object: any): QueryCodesResponse { - return { - codeInfos: Array.isArray(object?.codeInfos) ? object.codeInfos.map((e: any) => CodeInfoResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryCodesResponse): unknown { - const obj: any = {}; - - if (message.codeInfos) { - obj.codeInfos = message.codeInfos.map(e => e ? CodeInfoResponse.toJSON(e) : undefined); - } else { - obj.codeInfos = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryCodesResponse { const message = createBaseQueryCodesResponse(); message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; @@ -1372,18 +1301,6 @@ export const QueryPinnedCodesRequest = { return message; }, - fromJSON(object: any): QueryPinnedCodesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPinnedCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPinnedCodesRequest { const message = createBaseQueryPinnedCodesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1416,7 +1333,7 @@ export const QueryPinnedCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPinnedCodesResponse(); @@ -1451,26 +1368,6 @@ export const QueryPinnedCodesResponse = { return message; }, - fromJSON(object: any): QueryPinnedCodesResponse { - return { - codeIds: Array.isArray(object?.codeIds) ? object.codeIds.map((e: any) => Long.fromString(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPinnedCodesResponse): unknown { - const obj: any = {}; - - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPinnedCodesResponse { const message = createBaseQueryPinnedCodesResponse(); message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts index 43a114957..2ae5a5b9f 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -1,5 +1,4 @@ -import { AccessConfig, accessTypeFromJSON } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { accessTypeFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; import { Long } from "@osmonauts/helpers"; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts index 759a475d9..456732595 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts @@ -1,5 +1,3 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; @@ -96,94 +94,6 @@ export const MessageComposer = { }; } - }, - toJSON: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.toJSON(value) - }; - }, - - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.toJSON(value) - }; - }, - - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.toJSON(value) - }; - }, - - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.toJSON(value) - }; - }, - - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.toJSON(value) - }; - }, - - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.toJSON(value) - }; - } - - }, - fromJSON: { - storeCode(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.fromJSON(value) - }; - }, - - instantiateContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.fromJSON(value) - }; - }, - - executeContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromJSON(value) - }; - }, - - migrateContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.fromJSON(value) - }; - }, - - updateAdmin(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.fromJSON(value) - }; - }, - - clearAdmin(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.fromJSON(value) - }; - } - }, fromPartial: { storeCode(value: MsgStoreCode) { diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts index c95f5b1e9..47aea6c9e 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -1,27 +1,25 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; - +import { MsgStoreCode, MsgStoreCodeResponse, MsgStoreCodeResponseSDKType, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContractResponseSDKType, MsgExecuteContract, MsgExecuteContractResponse, MsgExecuteContractResponseSDKType, MsgMigrateContract, MsgMigrateContractResponse, MsgMigrateContractResponseSDKType, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgUpdateAdminResponseSDKType, MsgClearAdmin, MsgClearAdminResponse, MsgClearAdminResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - storeCode(request: MsgStoreCode): Promise; + storeCode(request: MsgStoreCode): Promise; /*StoreCode to submit Wasm code to the system*/ - instantiateContract(request: MsgInstantiateContract): Promise; + instantiateContract(request: MsgInstantiateContract): Promise; /*Instantiate creates a new smart contract instance for the given code id.*/ - executeContract(request: MsgExecuteContract): Promise; + executeContract(request: MsgExecuteContract): Promise; /*Execute submits the given message data to a smart contract*/ - migrateContract(request: MsgMigrateContract): Promise; + migrateContract(request: MsgMigrateContract): Promise; /*Migrate runs a code upgrade/ downgrade for a smart contract*/ - updateAdmin(request: MsgUpdateAdmin): Promise; + updateAdmin(request: MsgUpdateAdmin): Promise; /*UpdateAdmin sets a new admin for a smart contract*/ - clearAdmin(request: MsgClearAdmin): Promise; + clearAdmin(request: MsgClearAdmin): Promise; /*ClearAdmin removes any admin stored for a smart contract*/ } @@ -38,37 +36,37 @@ export class MsgClientImpl implements Msg { this.clearAdmin = this.clearAdmin.bind(this); } - storeCode(request: MsgStoreCode): Promise { + storeCode(request: MsgStoreCode): Promise { const data = MsgStoreCode.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); } - instantiateContract(request: MsgInstantiateContract): Promise { + instantiateContract(request: MsgInstantiateContract): Promise { const data = MsgInstantiateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); } - executeContract(request: MsgExecuteContract): Promise { + executeContract(request: MsgExecuteContract): Promise { const data = MsgExecuteContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); } - migrateContract(request: MsgMigrateContract): Promise { + migrateContract(request: MsgMigrateContract): Promise { const data = MsgMigrateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); } - updateAdmin(request: MsgUpdateAdmin): Promise { + updateAdmin(request: MsgUpdateAdmin): Promise { const data = MsgUpdateAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); } - clearAdmin(request: MsgClearAdmin): Promise { + clearAdmin(request: MsgClearAdmin): Promise { const data = MsgClearAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts index 140096e8e..3932a4574 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts @@ -1,99 +1,189 @@ -import { AccessConfig } from "./types"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** MsgStoreCode submit Wasm code to the system */ + export interface MsgStoreCode { /** Sender is the that actor that signed the messages */ sender: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; + wasmByteCode: Uint8Array; /** * InstantiatePermission access control to apply on contract creation, * optional */ + instantiatePermission: AccessConfig | undefined; } +/** MsgStoreCode submit Wasm code to the system */ +export interface MsgStoreCodeSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasm_byte_code: Uint8Array; + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + + instantiate_permission: AccessConfigSDKType | undefined; +} /** MsgStoreCodeResponse returns store result data. */ + export interface MsgStoreCodeResponse { /** CodeID is the reference to the stored WASM code */ codeId: Long; } +/** MsgStoreCodeResponse returns store result data. */ +export interface MsgStoreCodeResponseSDKType { + /** CodeID is the reference to the stored WASM code */ + code_id: Long; +} /** * MsgInstantiateContract create a new smart contract instance for the given * code id. */ + export interface MsgInstantiateContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Label is optional metadata to be stored with a contract instance. */ - label: string; + label: string; /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ + funds: Coin[]; } +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ + +export interface MsgInstantiateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + funds: CoinSDKType[]; +} /** MsgInstantiateContractResponse return instantiation result data */ + export interface MsgInstantiateContractResponse { /** Address is the bech32 address of the new contract instance. */ address: string; - /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; } +/** MsgInstantiateContractResponse return instantiation result data */ +export interface MsgInstantiateContractResponseSDKType { + /** Address is the bech32 address of the new contract instance. */ + address: string; + /** Data contains base64-encoded bytes to returned from the contract */ + + data: Uint8Array; +} /** MsgExecuteContract submits the given message data to a smart contract */ + export interface MsgExecuteContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** Msg json encoded message to be passed to the contract */ - msg: Uint8Array; + msg: Uint8Array; /** Funds coins that are transferred to the contract on execution */ + funds: Coin[]; } +/** MsgExecuteContract submits the given message data to a smart contract */ + +export interface MsgExecuteContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; + /** Msg json encoded message to be passed to the contract */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on execution */ + + funds: CoinSDKType[]; +} /** MsgExecuteContractResponse returns execution result data. */ + export interface MsgExecuteContractResponse { /** Data contains base64-encoded bytes to returned from the contract */ data: Uint8Array; } +/** MsgExecuteContractResponse returns execution result data. */ +export interface MsgExecuteContractResponseSDKType { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} /** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + export interface MsgMigrateContract { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ - contract: string; + contract: string; /** CodeID references the new WASM code */ - codeId: Long; + codeId: Long; /** Msg json encoded message to be passed to the contract on migration */ + msg: Uint8Array; } +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + +export interface MsgMigrateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; + /** CodeID references the new WASM code */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} /** MsgMigrateContractResponse returns contract migration result data. */ + export interface MsgMigrateContractResponse { /** * Data contains same raw bytes returned as data from the wasm contract. @@ -101,33 +191,69 @@ export interface MsgMigrateContractResponse { */ data: Uint8Array; } +/** MsgMigrateContractResponse returns contract migration result data. */ +export interface MsgMigrateContractResponseSDKType { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} /** MsgUpdateAdmin sets a new admin for a smart contract */ + export interface MsgUpdateAdmin { /** Sender is the that actor that signed the messages */ sender: string; - /** NewAdmin address to be set */ - newAdmin: string; + newAdmin: string; /** Contract is the address of the smart contract */ + contract: string; } +/** MsgUpdateAdmin sets a new admin for a smart contract */ + +export interface MsgUpdateAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** NewAdmin address to be set */ + new_admin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} /** MsgUpdateAdminResponse returns empty data */ + export interface MsgUpdateAdminResponse {} +/** MsgUpdateAdminResponse returns empty data */ +export interface MsgUpdateAdminResponseSDKType {} /** MsgClearAdmin removes any admin stored for a smart contract */ + export interface MsgClearAdmin { /** Sender is the that actor that signed the messages */ sender: string; - /** Contract is the address of the smart contract */ + contract: string; } +/** MsgClearAdmin removes any admin stored for a smart contract */ + +export interface MsgClearAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + contract: string; +} /** MsgClearAdminResponse returns empty data */ + export interface MsgClearAdminResponse {} +/** MsgClearAdminResponse returns empty data */ + +export interface MsgClearAdminResponseSDKType {} function createBaseMsgStoreCode(): MsgStoreCode { return { @@ -184,22 +310,6 @@ export const MsgStoreCode = { return message; }, - fromJSON(object: any): MsgStoreCode { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - wasmByteCode: isSet(object.wasmByteCode) ? bytesFromBase64(object.wasmByteCode) : new Uint8Array(), - instantiatePermission: isSet(object.instantiatePermission) ? AccessConfig.fromJSON(object.instantiatePermission) : undefined - }; - }, - - toJSON(message: MsgStoreCode): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: Partial): MsgStoreCode { const message = createBaseMsgStoreCode(); message.sender = object.sender ?? ""; @@ -225,7 +335,7 @@ export const MsgStoreCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgStoreCodeResponse(); @@ -247,18 +357,6 @@ export const MsgStoreCodeResponse = { return message; }, - fromJSON(object: any): MsgStoreCodeResponse { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO - }; - }, - - toJSON(message: MsgStoreCodeResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgStoreCodeResponse { const message = createBaseMsgStoreCodeResponse(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -349,34 +447,6 @@ export const MsgInstantiateContract = { return message; }, - fromJSON(object: any): MsgInstantiateContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - label: isSet(object.label) ? String(object.label) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgInstantiateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgInstantiateContract { const message = createBaseMsgInstantiateContract(); message.sender = object.sender ?? ""; @@ -410,7 +480,7 @@ export const MsgInstantiateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgInstantiateContractResponse(); @@ -436,20 +506,6 @@ export const MsgInstantiateContractResponse = { return message; }, - fromJSON(object: any): MsgInstantiateContractResponse { - return { - address: isSet(object.address) ? String(object.address) : "", - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgInstantiateContractResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgInstantiateContractResponse { const message = createBaseMsgInstantiateContractResponse(); message.address = object.address ?? ""; @@ -523,30 +579,6 @@ export const MsgExecuteContract = { return message; }, - fromJSON(object: any): MsgExecuteContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array(), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - - toJSON(message: MsgExecuteContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - - return obj; - }, - fromPartial(object: Partial): MsgExecuteContract { const message = createBaseMsgExecuteContract(); message.sender = object.sender ?? ""; @@ -573,7 +605,7 @@ export const MsgExecuteContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecuteContractResponse(); @@ -595,18 +627,6 @@ export const MsgExecuteContractResponse = { return message; }, - fromJSON(object: any): MsgExecuteContractResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgExecuteContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgExecuteContractResponse { const message = createBaseMsgExecuteContractResponse(); message.data = object.data ?? new Uint8Array(); @@ -679,24 +699,6 @@ export const MsgMigrateContract = { return message; }, - fromJSON(object: any): MsgMigrateContract { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: MsgMigrateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgMigrateContract { const message = createBaseMsgMigrateContract(); message.sender = object.sender ?? ""; @@ -723,7 +725,7 @@ export const MsgMigrateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMigrateContractResponse(); @@ -745,18 +747,6 @@ export const MsgMigrateContractResponse = { return message; }, - fromJSON(object: any): MsgMigrateContractResponse { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: MsgMigrateContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgMigrateContractResponse { const message = createBaseMsgMigrateContractResponse(); message.data = object.data ?? new Uint8Array(); @@ -820,22 +810,6 @@ export const MsgUpdateAdmin = { return message; }, - fromJSON(object: any): MsgUpdateAdmin { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: MsgUpdateAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): MsgUpdateAdmin { const message = createBaseMsgUpdateAdmin(); message.sender = object.sender ?? ""; @@ -855,7 +829,7 @@ export const MsgUpdateAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateAdminResponse(); @@ -873,15 +847,6 @@ export const MsgUpdateAdminResponse = { return message; }, - fromJSON(_: any): MsgUpdateAdminResponse { - return {}; - }, - - toJSON(_: MsgUpdateAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgUpdateAdminResponse { const message = createBaseMsgUpdateAdminResponse(); return message; @@ -935,20 +900,6 @@ export const MsgClearAdmin = { return message; }, - fromJSON(object: any): MsgClearAdmin { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - - toJSON(message: MsgClearAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: Partial): MsgClearAdmin { const message = createBaseMsgClearAdmin(); message.sender = object.sender ?? ""; @@ -967,7 +918,7 @@ export const MsgClearAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgClearAdminResponse(); @@ -985,15 +936,6 @@ export const MsgClearAdminResponse = { return message; }, - fromJSON(_: any): MsgClearAdminResponse { - return {}; - }, - - toJSON(_: MsgClearAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgClearAdminResponse { const message = createBaseMsgClearAdminResponse(); return message; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts index f7eeb3c67..56b834240 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts @@ -1,8 +1,8 @@ -import { Any } from "../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** AccessType permission types */ + export enum AccessType { /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ ACCESS_TYPE_UNSPECIFIED = 0, @@ -17,6 +17,22 @@ export enum AccessType { ACCESS_TYPE_EVERYBODY = 3, UNRECOGNIZED = -1, } +/** AccessType permission types */ + +export enum AccessTypeSDKType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} export function accessTypeFromJSON(object: any): AccessType { switch (object) { case 0: @@ -59,8 +75,8 @@ export function accessTypeToJSON(object: AccessType): string { return "UNKNOWN"; } } - /** ContractCodeHistoryOperationType actions that caused a code change */ + export enum ContractCodeHistoryOperationType { /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, @@ -75,6 +91,22 @@ export enum ContractCodeHistoryOperationType { CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, UNRECOGNIZED = -1, } +/** ContractCodeHistoryOperationType actions that caused a code change */ + +export enum ContractCodeHistoryOperationTypeSDKType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { switch (object) { case 0: @@ -117,99 +149,194 @@ export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHisto return "UNKNOWN"; } } - /** AccessTypeParam */ + export interface AccessTypeParam { value: AccessType; } +/** AccessTypeParam */ +export interface AccessTypeParamSDKType { + value: AccessTypeSDKType; +} /** AccessConfig access control type. */ + export interface AccessConfig { permission: AccessType; address: string; } +/** AccessConfig access control type. */ +export interface AccessConfigSDKType { + permission: AccessTypeSDKType; + address: string; +} /** Params defines the set of wasm parameters. */ + export interface Params { codeUploadAccess: AccessConfig | undefined; instantiateDefaultPermission: AccessType; maxWasmCodeSize: Long; } +/** Params defines the set of wasm parameters. */ +export interface ParamsSDKType { + code_upload_access: AccessConfigSDKType | undefined; + instantiate_default_permission: AccessTypeSDKType; + max_wasm_code_size: Long; +} /** CodeInfo is data for the uploaded contract WASM code */ + export interface CodeInfo { /** CodeHash is the unique identifier created by wasmvm */ codeHash: Uint8Array; - /** Creator address who initially stored the code */ - creator: string; + creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ + instantiateConfig: AccessConfig | undefined; } +/** CodeInfo is data for the uploaded contract WASM code */ + +export interface CodeInfoSDKType { + /** CodeHash is the unique identifier created by wasmvm */ + code_hash: Uint8Array; + /** Creator address who initially stored the code */ + + creator: string; + /** InstantiateConfig access control to apply on contract creation, optional */ + instantiate_config: AccessConfigSDKType | undefined; +} /** ContractInfo stores a WASM contract instance */ + export interface ContractInfo { /** CodeID is the reference to the stored Wasm code */ codeId: Long; - /** Creator address who initially instantiated the contract */ - creator: string; + creator: string; /** Admin is an optional address that can execute migrations */ - admin: string; + admin: string; /** Label is optional metadata to be stored with a contract instance. */ - label: string; + label: string; /** * Created Tx position when the contract was instantiated. * This data should kept internal and not be exposed via query results. Just * use for sorting */ + created: AbsoluteTxPosition | undefined; ibcPortId: string; - /** * Extension is an extension point to store custom metadata within the * persistence model. */ + extension: Any | undefined; } +/** ContractInfo stores a WASM contract instance */ +export interface ContractInfoSDKType { + /** CodeID is the reference to the stored Wasm code */ + code_id: Long; + /** Creator address who initially instantiated the contract */ + + creator: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + + created: AbsoluteTxPositionSDKType | undefined; + ibc_port_id: string; + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + + extension: AnySDKType | undefined; +} /** ContractCodeHistoryEntry metadata to a contract. */ + export interface ContractCodeHistoryEntry { operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - codeId: Long; + codeId: Long; /** Updated Tx position when the operation was executed. */ + updated: AbsoluteTxPosition | undefined; msg: Uint8Array; } +/** ContractCodeHistoryEntry metadata to a contract. */ + +export interface ContractCodeHistoryEntrySDKType { + operation: ContractCodeHistoryOperationTypeSDKType; + /** CodeID is the reference to the stored WASM code */ + code_id: Long; + /** Updated Tx position when the operation was executed. */ + + updated: AbsoluteTxPositionSDKType | undefined; + msg: Uint8Array; +} /** * AbsoluteTxPosition is a unique transaction position that allows for global * ordering of transactions. */ + export interface AbsoluteTxPosition { /** BlockHeight is the block the contract was created at */ blockHeight: Long; - /** * TxIndex is a monotonic counter within the block (actual transaction index, * or gas consumed) */ + txIndex: Long; } +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ + +export interface AbsoluteTxPositionSDKType { + /** BlockHeight is the block the contract was created at */ + block_height: Long; + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + tx_index: Long; +} /** Model is a struct that holds a KV pair */ + export interface Model { /** hex-encode key to read it better (this is often ascii) */ key: Uint8Array; + /** base64-encode raw value */ + value: Uint8Array; +} +/** Model is a struct that holds a KV pair */ + +export interface ModelSDKType { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; /** base64-encode raw value */ + value: Uint8Array; } @@ -250,18 +377,6 @@ export const AccessTypeParam = { return message; }, - fromJSON(object: any): AccessTypeParam { - return { - value: isSet(object.value) ? accessTypeFromJSON(object.value) : 0 - }; - }, - - toJSON(message: AccessTypeParam): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); - return obj; - }, - fromPartial(object: Partial): AccessTypeParam { const message = createBaseAccessTypeParam(); message.value = object.value ?? 0; @@ -316,20 +431,6 @@ export const AccessConfig = { return message; }, - fromJSON(object: any): AccessConfig { - return { - permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : 0, - address: isSet(object.address) ? String(object.address) : "" - }; - }, - - toJSON(message: AccessConfig): unknown { - const obj: any = {}; - message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: Partial): AccessConfig { const message = createBaseAccessConfig(); message.permission = object.permission ?? 0; @@ -394,22 +495,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - codeUploadAccess: isSet(object.codeUploadAccess) ? AccessConfig.fromJSON(object.codeUploadAccess) : undefined, - instantiateDefaultPermission: isSet(object.instantiateDefaultPermission) ? accessTypeFromJSON(object.instantiateDefaultPermission) : 0, - maxWasmCodeSize: isSet(object.maxWasmCodeSize) ? Long.fromString(object.maxWasmCodeSize) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.codeUploadAccess !== undefined && (obj.codeUploadAccess = message.codeUploadAccess ? AccessConfig.toJSON(message.codeUploadAccess) : undefined); - message.instantiateDefaultPermission !== undefined && (obj.instantiateDefaultPermission = accessTypeToJSON(message.instantiateDefaultPermission)); - message.maxWasmCodeSize !== undefined && (obj.maxWasmCodeSize = (message.maxWasmCodeSize || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; @@ -475,22 +560,6 @@ export const CodeInfo = { return message; }, - fromJSON(object: any): CodeInfo { - return { - codeHash: isSet(object.codeHash) ? bytesFromBase64(object.codeHash) : new Uint8Array(), - creator: isSet(object.creator) ? String(object.creator) : "", - instantiateConfig: isSet(object.instantiateConfig) ? AccessConfig.fromJSON(object.instantiateConfig) : undefined - }; - }, - - toJSON(message: CodeInfo): unknown { - const obj: any = {}; - message.codeHash !== undefined && (obj.codeHash = base64FromBytes(message.codeHash !== undefined ? message.codeHash : new Uint8Array())); - message.creator !== undefined && (obj.creator = message.creator); - message.instantiateConfig !== undefined && (obj.instantiateConfig = message.instantiateConfig ? AccessConfig.toJSON(message.instantiateConfig) : undefined); - return obj; - }, - fromPartial(object: Partial): CodeInfo { const message = createBaseCodeInfo(); message.codeHash = object.codeHash ?? new Uint8Array(); @@ -592,30 +661,6 @@ export const ContractInfo = { return message; }, - fromJSON(object: any): ContractInfo { - return { - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - creator: isSet(object.creator) ? String(object.creator) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - label: isSet(object.label) ? String(object.label) : "", - created: isSet(object.created) ? AbsoluteTxPosition.fromJSON(object.created) : undefined, - ibcPortId: isSet(object.ibcPortId) ? String(object.ibcPortId) : "", - extension: isSet(object.extension) ? Any.fromJSON(object.extension) : undefined - }; - }, - - toJSON(message: ContractInfo): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.admin !== undefined && (obj.admin = message.admin); - message.label !== undefined && (obj.label = message.label); - message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toJSON(message.created) : undefined); - message.ibcPortId !== undefined && (obj.ibcPortId = message.ibcPortId); - message.extension !== undefined && (obj.extension = message.extension ? Any.toJSON(message.extension) : undefined); - return obj; - }, - fromPartial(object: Partial): ContractInfo { const message = createBaseContractInfo(); message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; @@ -694,24 +739,6 @@ export const ContractCodeHistoryEntry = { return message; }, - fromJSON(object: any): ContractCodeHistoryEntry { - return { - operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : 0, - codeId: isSet(object.codeId) ? Long.fromString(object.codeId) : Long.UZERO, - updated: isSet(object.updated) ? AbsoluteTxPosition.fromJSON(object.updated) : undefined, - msg: isSet(object.msg) ? bytesFromBase64(object.msg) : new Uint8Array() - }; - }, - - toJSON(message: ContractCodeHistoryEntry): unknown { - const obj: any = {}; - message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toJSON(message.updated) : undefined); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ContractCodeHistoryEntry { const message = createBaseContractCodeHistoryEntry(); message.operation = object.operation ?? 0; @@ -769,20 +796,6 @@ export const AbsoluteTxPosition = { return message; }, - fromJSON(object: any): AbsoluteTxPosition { - return { - blockHeight: isSet(object.blockHeight) ? Long.fromString(object.blockHeight) : Long.UZERO, - txIndex: isSet(object.txIndex) ? Long.fromString(object.txIndex) : Long.UZERO - }; - }, - - toJSON(message: AbsoluteTxPosition): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.UZERO).toString()); - message.txIndex !== undefined && (obj.txIndex = (message.txIndex || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): AbsoluteTxPosition { const message = createBaseAbsoluteTxPosition(); message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; @@ -838,20 +851,6 @@ export const Model = { return message; }, - fromJSON(object: any): Model { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - - toJSON(message: Model): 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): Model { const message = createBaseModel(); message.key = object.key ?? new Uint8Array(); diff --git a/examples/telescope/codegen/google/api/http.ts b/examples/telescope/codegen/google/api/http.ts index 9185ccdc6..e9b66e52a 100644 --- a/examples/telescope/codegen/google/api/http.ts +++ b/examples/telescope/codegen/google/api/http.ts @@ -1,11 +1,10 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/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 * to one or more HTTP REST API methods. */ + export interface Http { /** * A list of HTTP configuration rules that apply to individual API methods. @@ -13,7 +12,6 @@ export interface Http { * **NOTE:** All service configuration rules follow "last one wins" order. */ rules: HttpRule[]; - /** * When set to true, URL path parameters will be fully URI-decoded except in * cases of single segment matches in reserved expansion, where "%2F" will be @@ -22,9 +20,33 @@ export interface Http { * The default behavior is to not decode RFC 6570 reserved characters in multi * segment matches. */ + fullyDecodeReservedExpansion: boolean; } +/** + * 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 + * to one or more HTTP REST API methods. + */ +export interface HttpSDKType { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRuleSDKType[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + + fully_decode_reserved_expansion: boolean; +} /** * # gRPC Transcoding * @@ -296,6 +318,7 @@ export interface Http { * the request or response body to a repeated field. However, some gRPC * Transcoding implementations may not support this feature. */ + export interface HttpRule { /** * Selects a method to which this rule applies. @@ -303,33 +326,32 @@ export interface HttpRule { * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. */ selector: string; - /** * Maps to HTTP GET. Used for listing and getting information about * resources. */ - get?: string; + get?: string; /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; + put?: string; /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; + post?: string; /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; + delete?: string; /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; + patch?: string; /** * The custom pattern is used for specifying an HTTP method that is not * included in the `pattern` field, such as HEAD, or "*" to leave the * HTTP method unspecified for this rule. The wild-card rule is useful * for services that provide content to Web (HTML) clients. */ - custom?: CustomHttpPattern | undefined; + custom?: CustomHttpPattern | undefined; /** * The name of the request field whose value is mapped to the HTTP request * body, or `*` for mapping all request fields not captured by the path @@ -338,8 +360,8 @@ export interface HttpRule { * NOTE: the referred field must be present at the top-level of the request * message type. */ - body: string; + body: string; /** * Optional. The name of the response field whose value is mapped to the HTTP * response body. When omitted, the entire response message will be used @@ -348,22 +370,365 @@ export interface HttpRule { * NOTE: The referred field must be present at the top-level of the response * message type. */ - responseBody: string; + responseBody: string; /** * Additional HTTP bindings for the selector. Nested bindings must * not contain an `additional_bindings` field themselves (that is, * the nesting may only be one level deep). */ + additionalBindings: HttpRule[]; } +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ + +export interface HttpRuleSDKType { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + get?: string; + /** Maps to HTTP PUT. Used for replacing a resource. */ + + put?: string; + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + + post?: string; + /** Maps to HTTP DELETE. Used for deleting a resource. */ + + delete?: string; + /** Maps to HTTP PATCH. Used for updating a resource. */ + + patch?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + + custom?: CustomHttpPatternSDKType | undefined; + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + + body: string; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + + response_body: string; + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + + additional_bindings: HttpRuleSDKType[]; +} /** A custom pattern is used for defining custom HTTP verb. */ + export interface CustomHttpPattern { /** The name of this custom HTTP verb. */ kind: string; + /** The path matched by this custom verb. */ + path: string; +} +/** A custom pattern is used for defining custom HTTP verb. */ + +export interface CustomHttpPatternSDKType { + /** The name of this custom HTTP verb. */ + kind: string; /** The path matched by this custom verb. */ + path: string; } @@ -413,26 +778,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)) || []; @@ -560,42 +905,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 ?? ""; @@ -659,20 +968,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/examples/telescope/codegen/google/protobuf/any.ts b/examples/telescope/codegen/google/protobuf/any.ts index 897c0029e..6d43102eb 100644 --- a/examples/telescope/codegen/google/protobuf/any.ts +++ b/examples/telescope/codegen/google/protobuf/any.ts @@ -1,6 +1,4 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * `Any` contains an arbitrary serialized protocol buffer message along with a * URL that describes the type of the serialized message. @@ -82,6 +80,7 @@ import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; * "value": "1.212s" * } */ + export interface Any { /** * A URL/resource name that uniquely identifies the type of the serialized @@ -113,8 +112,125 @@ export interface Any { * used with implementation specific semantics. */ typeUrl: string; + /** Must be a valid serialized protocol buffer of the above specified type. */ + 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 AnySDKType { + /** + * 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_url: string; /** Must be a valid serialized protocol buffer of the above specified type. */ + value: Uint8Array; } @@ -164,20 +280,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/examples/telescope/codegen/google/protobuf/descriptor.ts b/examples/telescope/codegen/google/protobuf/descriptor.ts index b549b17b1..d249844b2 100644 --- a/examples/telescope/codegen/google/protobuf/descriptor.ts +++ b/examples/telescope/codegen/google/protobuf/descriptor.ts @@ -1,6 +1,6 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export enum FieldDescriptorProto_Type { /** * TYPE_DOUBLE - 0 is reserved for errors. @@ -49,6 +49,54 @@ export enum FieldDescriptorProto_Type { TYPE_SINT64 = 18, UNRECOGNIZED = -1, } +export enum FieldDescriptorProto_TypeSDKType { + /** + * 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { switch (object) { case 1: @@ -196,6 +244,13 @@ export enum FieldDescriptorProto_Label { LABEL_REPEATED = 3, UNRECOGNIZED = -1, } +export enum FieldDescriptorProto_LabelSDKType { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { switch (object) { case 1: @@ -231,8 +286,8 @@ export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_La return "UNKNOWN"; } } - /** Generated classes can be optimized for speed or code size. */ + export enum FileOptions_OptimizeMode { /** * SPEED - Generate complete code for parsing, serialization, @@ -247,6 +302,22 @@ export enum FileOptions_OptimizeMode { LITE_RUNTIME = 3, UNRECOGNIZED = -1, } +/** Generated classes can be optimized for speed or code size. */ + +export enum FileOptions_OptimizeModeSDKType { + /** + * 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { switch (object) { case 1: @@ -289,6 +360,13 @@ export enum FieldOptions_CType { STRING_PIECE = 2, UNRECOGNIZED = -1, } +export enum FieldOptions_CTypeSDKType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { switch (object) { case 0: @@ -335,6 +413,17 @@ export enum FieldOptions_JSType { JS_NUMBER = 2, UNRECOGNIZED = -1, } +export enum FieldOptions_JSTypeSDKType { + /** 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { switch (object) { case 0: @@ -370,12 +459,12 @@ export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { return "UNKNOWN"; } } - /** * 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 enum MethodOptions_IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, @@ -386,6 +475,22 @@ export enum MethodOptions_IdempotencyLevel { IDEMPOTENT = 2, UNRECOGNIZED = -1, } +/** + * 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 enum MethodOptions_IdempotencyLevelSDKType { + IDEMPOTENCY_UNKNOWN = 0, + + /** NO_SIDE_EFFECTS - implies idempotent */ + NO_SIDE_EFFECTS = 1, + + /** IDEMPOTENT - idempotent, but may have side effects */ + IDEMPOTENT = 2, + UNRECOGNIZED = -1, +} export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { switch (object) { case 0: @@ -421,56 +526,104 @@ export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_Idemp return "UNKNOWN"; } } - /** * The protocol compiler can output a FileDescriptorSet containing the .proto * files it parses. */ + export interface FileDescriptorSet { file: FileDescriptorProto[]; } +/** + * 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[]; + dependency: string[]; /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; + publicDependency: number[]; /** * Indexes of the weak imported files in the dependency list. * For Google-internal migration only. Do not use. */ - weakDependency: number[]; + weakDependency: number[]; /** All top-level definitions in this file. */ + messageType: DescriptorProto[]; enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; options: FileOptions | undefined; - /** * 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 | undefined; + sourceCodeInfo: SourceCodeInfo | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". */ + syntax: string; } +/** Describes a complete .proto file. */ + +export interface FileDescriptorProtoSDKType { + /** 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: DescriptorProtoSDKType[]; + enum_type: EnumDescriptorProtoSDKType[]; + service: ServiceDescriptorProtoSDKType[]; + extension: FieldDescriptorProtoSDKType[]; + options: FileOptionsSDKType | undefined; + /** + * 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: SourceCodeInfoSDKType | undefined; + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + syntax: string; +} /** Describes a message type. */ + export interface DescriptorProto { name: string; field: FieldDescriptorProto[]; @@ -481,51 +634,94 @@ export interface DescriptorProto { oneofDecl: OneofDescriptorProto[]; options: MessageOptions | undefined; 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[]; } +/** 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 | undefined; + reserved_range: DescriptorProto_ReservedRangeSDKType[]; + /** + * 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 DescriptorProto_ExtensionRange { /** Inclusive. */ start: number; - /** Exclusive. */ + end: number; options: ExtensionRangeOptions | undefined; } +export interface DescriptorProto_ExtensionRangeSDKType { + /** Inclusive. */ + start: number; + /** Exclusive. */ + end: number; + options: ExtensionRangeOptionsSDKType | undefined; +} /** * 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; +} +/** + * 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 { + /** Inclusive. */ + start: number; /** Exclusive. */ + end: number; } export interface ExtensionRangeOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } - +export interface ExtensionRangeOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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; + 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 @@ -533,14 +729,14 @@ export interface FieldDescriptorProto { * message are searched, then within the parent, on up to the root * namespace). */ - typeName: string; + 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; + extendee: string; /** * For numeric types, contains the original text representation of the value. * For booleans, "true" or "false". @@ -548,98 +744,226 @@ export interface FieldDescriptorProto { * For bytes, contains the C escaped value. All bytes >= 128 are escaped. * TODO(kenton): Base-64 encode? */ - defaultValue: string; + 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; + 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 | undefined; } +/** Describes a field within a message. */ + +export interface FieldDescriptorProtoSDKType { + name: string; + number: number; + label: FieldDescriptorProto_LabelSDKType; + /** + * 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_TypeSDKType; + /** + * 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: FieldOptionsSDKType | undefined; +} /** Describes a oneof. */ + export interface OneofDescriptorProto { name: string; options: OneofOptions | undefined; } +/** Describes a oneof. */ +export interface OneofDescriptorProtoSDKType { + name: string; + options: OneofOptionsSDKType | undefined; +} /** Describes an enum type. */ + export interface EnumDescriptorProto { name: string; value: EnumValueDescriptorProto[]; options: EnumOptions | undefined; - /** * 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[]; + reservedRange: EnumDescriptorProto_EnumReservedRange[]; /** * Reserved enum value names, which may not be reused. A given name may only * be reserved once. */ + reservedName: string[]; } +/** Describes an enum type. */ -/** - * Range of reserved numeric values. Reserved values may not be used by +export interface EnumDescriptorProtoSDKType { + name: string; + value: EnumValueDescriptorProtoSDKType[]; + options: EnumOptionsSDKType | undefined; + /** + * 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_EnumReservedRangeSDKType[]; + /** + * Reserved enum value names, which may not be reused. A given name may only + * be reserved once. + */ + + 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; } +/** + * 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 { + /** Inclusive. */ + start: number; + /** Inclusive. */ + end: number; +} /** Describes a value within an enum. */ + export interface EnumValueDescriptorProto { name: string; number: number; options: EnumValueOptions | undefined; } +/** Describes a value within an enum. */ +export interface EnumValueDescriptorProtoSDKType { + name: string; + number: number; + options: EnumValueOptionsSDKType | undefined; +} /** Describes a service. */ + export interface ServiceDescriptorProto { name: string; method: MethodDescriptorProto[]; options: ServiceOptions | undefined; } +/** Describes a service. */ +export interface ServiceDescriptorProtoSDKType { + name: string; + method: MethodDescriptorProtoSDKType[]; + options: ServiceOptionsSDKType | undefined; +} /** 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 | undefined; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; + clientStreaming: boolean; /** Identifies if server streams multiple server messages */ + serverStreaming: boolean; } +/** Describes a method of a service. */ + +export interface MethodDescriptorProtoSDKType { + 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: MethodOptionsSDKType | undefined; + /** Identifies if client streams multiple client messages */ + + client_streaming: boolean; + /** Identifies if server streams multiple server messages */ + + server_streaming: boolean; +} export interface FileOptions { /** * Sets the Java package where classes generated from this .proto will be @@ -648,7 +972,6 @@ export interface FileOptions { * 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 @@ -656,8 +979,8 @@ export interface FileOptions { * a .proto always translates to a single class, but you may want to * explicitly choose the class name). */ - javaOuterClassname: string; + 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 @@ -666,13 +989,13 @@ export interface FileOptions { * generated to contain the file's getDescriptor() method as well as any * top-level extensions defined in the file. */ - javaMultipleFiles: boolean; + javaMultipleFiles: boolean; /** This option does nothing. */ /** @deprecated */ - javaGenerateEqualsAndHash: boolean; + 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 @@ -681,9 +1004,9 @@ export interface FileOptions { * 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: @@ -691,8 +1014,8 @@ export interface FileOptions { * - Otherwise, the package statement in the .proto file, if present. * - Otherwise, the basename of the .proto file, without extension. */ - goPackage: string; + 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 @@ -705,75 +1028,210 @@ export interface FileOptions { * 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; + deprecated: boolean; /** * Enables the use of arenas for the proto messages in this file. This applies * only to generated classes for C++. */ - ccEnableArenas: boolean; + 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; + objcClassPrefix: string; /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; + 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; + swiftPrefix: string; /** * Sets the php class prefix which is prepended to all php generated classes * from this .proto. Default is empty. */ - phpClassPrefix: string; + 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; + 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; + 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; + rubyPackage: string; /** * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface FileOptionsSDKType { + /** + * 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_OptimizeModeSDKType; + /** + * 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: UninterpretedOptionSDKType[]; +} export interface MessageOptions { /** * Set true to use the old proto1 MessageSet wire format for extensions. @@ -796,22 +1254,21 @@ export interface MessageOptions { * 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; + 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; + deprecated: boolean; /** * Whether the message is an automatically generated map entry type for the * maps field. @@ -835,32 +1292,98 @@ export interface MessageOptions { * instead. The option should only be implicitly set by the proto compiler * parser. */ - mapEntry: boolean; + mapEntry: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } -export interface FieldOptions { +export interface MessageOptionsSDKType { /** - * 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! + * 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". */ - ctype: FieldOptions_CType; + no_standard_descriptor_accessor: boolean; /** - * 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. + * 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. */ - packed: boolean; + deprecated: 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 + * 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: 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. @@ -871,8 +1394,8 @@ export interface FieldOptions { * This option is an enum to permit additional types to be added, e.g. * goog.math.Integer. */ - jstype: FieldOptions_JSType; + 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 @@ -903,44 +1426,146 @@ export interface FieldOptions { * check its required fields, regardless of whether or not the message has * been parsed. */ - lazy: boolean; + 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; + deprecated: boolean; /** For Google-internal migration only. Do not use. */ - weak: boolean; + weak: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface FieldOptionsSDKType { + /** + * 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_CTypeSDKType; + /** + * 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_JSTypeSDKType; + /** + * 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: UninterpretedOptionSDKType[]; +} export interface OneofOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } +export interface OneofOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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; + deprecated: boolean; /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface EnumOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface EnumValueOptions { /** * Is this enum value deprecated? @@ -949,10 +1574,22 @@ export interface EnumValueOptions { * 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 EnumValueOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface ServiceOptions { /** * Is this service deprecated? @@ -961,10 +1598,22 @@ export interface ServiceOptions { * this is a formalization for deprecating services. */ deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface ServiceOptionsSDKType { + /** + * 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: UninterpretedOptionSDKType[]; +} export interface MethodOptions { /** * Is this method deprecated? @@ -974,11 +1623,23 @@ export interface MethodOptions { */ deprecated: boolean; idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; } +export interface MethodOptionsSDKType { + /** + * 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_IdempotencyLevelSDKType; + /** The parser stores options it doesn't recognize here. See above. */ + 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. @@ -987,13 +1648,14 @@ export interface MethodOptions { * 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; @@ -1001,7 +1663,29 @@ export interface UninterpretedOption { stringValue: Uint8Array; aggregateValue: string; } +/** + * 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[]; + /** + * 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: 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 @@ -1009,15 +1693,28 @@ export interface UninterpretedOption { * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents * "foo.(bar.baz).qux". */ + export interface UninterpretedOption_NamePart { namePart: string; isExtension: boolean; } +/** + * 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 @@ -1064,9 +1761,152 @@ export interface SourceCodeInfo { * ignore those that it doesn't understand, as more types of locations could * be recorded in the future. */ - location: SourceCodeInfo_Location[]; + location: SourceCodeInfo_Location[]; +} +/** + * Encapsulates information about the original source file from which a + * FileDescriptorProto was generated. + */ + +export interface SourceCodeInfoSDKType { + /** + * 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_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_Location { +export interface SourceCodeInfo_LocationSDKType { /** * Identifies which part of the FileDescriptorProto was defined at this * location. @@ -1093,7 +1933,6 @@ export interface SourceCodeInfo_Location { * 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. @@ -1101,8 +1940,8 @@ export interface SourceCodeInfo_Location { * and column numbers are zero-based -- typically you will want to add * 1 to each before displaying to a user. */ - span: number[]; + span: number[]; /** * If this SourceCodeInfo represents a complete declaration, these are any * comments appearing before and after the declaration which appear to be @@ -1152,16 +1991,17 @@ export interface SourceCodeInfo_Location { * * // ignored detached comments. */ - leadingComments: string; - trailingComments: string; - leadingDetachedComments: string[]; -} + 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 @@ -1169,27 +2009,63 @@ export interface GeneratedCodeInfo { */ annotation: GeneratedCodeInfo_Annotation[]; } +/** + * 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 { + /** + * An Annotation connects some span of text in generated code to an element + * of its generating .proto file. + */ + 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; + 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_AnnotationSDKType { + /** + * 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; } @@ -1230,24 +2106,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)) || []; @@ -1417,76 +2275,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 ?? ""; @@ -1624,78 +2412,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 ?? ""; @@ -1768,22 +2484,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; @@ -1840,20 +2540,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; @@ -1900,24 +2586,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)) || []; @@ -2044,36 +2712,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) : 0, - type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : 0, - 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 ?? ""; @@ -2137,20 +2775,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 ?? ""; @@ -2233,43 +2857,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 ?? ""; @@ -2328,20 +2915,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; @@ -2406,22 +2979,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 ?? ""; @@ -2487,28 +3044,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 ?? ""; @@ -2601,28 +3136,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 ?? ""; @@ -2853,64 +3366,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) : 0, - 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 ?? ""; @@ -3012,32 +3467,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; @@ -3141,36 +3570,6 @@ export const FieldOptions = { return message; }, - fromJSON(object: any): FieldOptions { - return { - ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0, - packed: isSet(object.packed) ? Boolean(object.packed) : false, - jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : 0, - 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 ?? 0; @@ -3222,24 +3621,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)) || []; @@ -3303,28 +3684,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; @@ -3381,26 +3740,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; @@ -3456,26 +3795,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; @@ -3540,28 +3859,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) : 0, - 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; @@ -3663,36 +3960,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) ? Long.fromString(object.positiveIntValue) : Long.UZERO, - negativeIntValue: isSet(object.negativeIntValue) ? Long.fromString(object.negativeIntValue) : Long.ZERO, - 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 || Long.UZERO).toString()); - message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || Long.ZERO).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)) || []; @@ -3753,20 +4020,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 ?? ""; @@ -3813,24 +4066,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)) || []; @@ -3937,43 +4172,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) || []; @@ -4023,24 +4221,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)) || []; @@ -4126,30 +4306,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/examples/telescope/codegen/google/protobuf/duration.ts b/examples/telescope/codegen/google/protobuf/duration.ts index 4438b0c5f..52bb3dec9 100644 --- a/examples/telescope/codegen/google/protobuf/duration.ts +++ b/examples/telescope/codegen/google/protobuf/duration.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond @@ -61,6 +60,7 @@ import { Long, isSet } from "@osmonauts/helpers"; * 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 @@ -68,7 +68,85 @@ export interface Duration { * 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; +} +/** + * 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 { + /** + * 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 @@ -77,6 +155,7 @@ export interface Duration { * of the same sign as the `seconds` field. Must be from -999,999,999 * to +999,999,999 inclusive. */ + nanos: number; } @@ -126,20 +205,6 @@ export const Duration = { return message; }, - fromJSON(object: any): Duration { - return { - seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - - toJSON(message: Duration): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; diff --git a/examples/telescope/codegen/google/protobuf/empty.ts b/examples/telescope/codegen/google/protobuf/empty.ts index 19603f65e..e4fffa295 100644 --- a/examples/telescope/codegen/google/protobuf/empty.ts +++ b/examples/telescope/codegen/google/protobuf/empty.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; - /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -11,7 +10,21 @@ import * as _m0 from "protobufjs/minimal"; * * The JSON representation for `Empty` is empty JSON object `{}`. */ + export interface Empty {} +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ + +export interface EmptySDKType {} function createBaseEmpty(): Empty { return {}; @@ -40,15 +53,6 @@ export const Empty = { return message; }, - fromJSON(_: any): Empty { - return {}; - }, - - toJSON(_: Empty): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): Empty { const message = createBaseEmpty(); return message; diff --git a/examples/telescope/codegen/google/protobuf/field_mask.ts b/examples/telescope/codegen/google/protobuf/field_mask.ts index dd95f4984..0096e4a2b 100644 --- a/examples/telescope/codegen/google/protobuf/field_mask.ts +++ b/examples/telescope/codegen/google/protobuf/field_mask.ts @@ -1,5 +1,4 @@ import * as _m0 from "protobufjs/minimal"; - /** * `FieldMask` represents a set of symbolic field paths, for example: * @@ -201,10 +200,217 @@ import * as _m0 from "protobufjs/minimal"; * request should verify the included field paths, and return an * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. */ + export interface FieldMask { /** The set of field mask paths. */ paths: string[]; } +/** + * `FieldMask` represents a set of symbolic field paths, for example: + * + * paths: "f.a" + * paths: "f.b.d" + * + * Here `f` represents a field in some root message, `a` and `b` + * fields in the message found in `f`, and `d` a field found in the + * message in `f.b`. + * + * Field masks are used to specify a subset of fields that should be + * returned by a get operation or modified by an update operation. + * Field masks also have a custom JSON encoding (see below). + * + * # Field Masks in Projections + * + * When used in the context of a projection, a response message or + * sub-message is filtered by the API to only contain those fields as + * specified in the mask. For example, if the mask in the previous + * example is applied to a response message as follows: + * + * f { + * a : 22 + * b { + * d : 1 + * x : 2 + * } + * y : 13 + * } + * z: 8 + * + * The result will not contain specific values for fields x,y and z + * (their value will be set to the default, and omitted in proto text + * output): + * + * + * f { + * a : 22 + * b { + * d : 1 + * } + * } + * + * A repeated field is not allowed except at the last position of a + * paths string. + * + * If a FieldMask object is not present in a get operation, the + * operation applies to all fields (as if a FieldMask of all fields + * had been specified). + * + * Note that a field mask does not necessarily apply to the + * top-level response message. In case of a REST get operation, the + * field mask applies directly to the response, but in case of a REST + * list operation, the mask instead applies to each individual message + * in the returned resource list. In case of a REST custom method, + * other definitions may be used. Where the mask applies will be + * clearly documented together with its declaration in the API. In + * any case, the effect on the returned resource/resources is required + * behavior for APIs. + * + * # Field Masks in Update Operations + * + * A field mask in update operations specifies which fields of the + * targeted resource are going to be updated. The API is required + * to only change the values of the fields as specified in the mask + * and leave the others untouched. If a resource is passed in to + * describe the updated values, the API ignores the values of all + * fields not covered by the mask. + * + * If a repeated field is specified for an update operation, new values will + * be appended to the existing repeated field in the target resource. Note that + * a repeated field is only allowed in the last position of a `paths` string. + * + * If a sub-message is specified in the last position of the field mask for an + * update operation, then new value will be merged into the existing sub-message + * in the target resource. + * + * For example, given the target message: + * + * f { + * b { + * d: 1 + * x: 2 + * } + * c: [1] + * } + * + * And an update message: + * + * f { + * b { + * d: 10 + * } + * c: [2] + * } + * + * then if the field mask is: + * + * paths: ["f.b", "f.c"] + * + * then the result will be: + * + * f { + * b { + * d: 10 + * x: 2 + * } + * c: [1, 2] + * } + * + * An implementation may provide options to override this default behavior for + * repeated and message fields. + * + * In order to reset a field's value to the default, the field must + * be in the mask and set to the default value in the provided resource. + * Hence, in order to reset all fields of a resource, provide a default + * instance of the resource and set all fields in the mask, or do + * not provide a mask as described below. + * + * If a field mask is not present on update, the operation applies to + * all fields (as if a field mask of all fields has been specified). + * Note that in the presence of schema evolution, this may mean that + * fields the client does not know and has therefore not filled into + * the request will be reset to their default. If this is unwanted + * behavior, a specific service may require a client to always specify + * a field mask, producing an error if not. + * + * As with get operations, the location of the resource which + * describes the updated values in the request message depends on the + * operation kind. In any case, the effect of the field mask is + * required to be honored by the API. + * + * ## Considerations for HTTP REST + * + * The HTTP kind of an update operation which uses a field mask must + * be set to PATCH instead of PUT in order to satisfy HTTP semantics + * (PUT must only be used for full updates). + * + * # JSON Encoding of Field Masks + * + * In JSON, a field mask is encoded as a single string where paths are + * separated by a comma. Fields name in each path are converted + * to/from lower-camel naming conventions. + * + * As an example, consider the following message declarations: + * + * message Profile { + * User user = 1; + * Photo photo = 2; + * } + * message User { + * string display_name = 1; + * string address = 2; + * } + * + * In proto a field mask for `Profile` may look as such: + * + * mask { + * paths: "user.display_name" + * paths: "photo" + * } + * + * In JSON, the same mask is represented as below: + * + * { + * mask: "user.displayName,photo" + * } + * + * # Field Masks and Oneof Fields + * + * Field masks treat fields in oneofs just as regular fields. Consider the + * following message: + * + * message SampleMessage { + * oneof test_oneof { + * string name = 4; + * SubMessage sub_message = 9; + * } + * } + * + * The field mask can be: + * + * mask { + * paths: "name" + * } + * + * Or: + * + * mask { + * paths: "sub_message" + * } + * + * Note that oneof type names ("test_oneof" in this case) cannot be used in + * paths. + * + * ## Field Mask Verification + * + * The implementation of any API method which has a FieldMask type field in the + * request should verify the included field paths, and return an + * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + */ + +export interface FieldMaskSDKType { + /** The set of field mask paths. */ + paths: string[]; +} function createBaseFieldMask(): FieldMask { return { @@ -243,24 +449,6 @@ export const FieldMask = { return message; }, - fromJSON(object: any): FieldMask { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: FieldMask): unknown { - const obj: any = {}; - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): FieldMask { const message = createBaseFieldMask(); message.paths = object.paths?.map(e => e) || []; diff --git a/examples/telescope/codegen/google/protobuf/struct.ts b/examples/telescope/codegen/google/protobuf/struct.ts index a77781660..b2dd105de 100644 --- a/examples/telescope/codegen/google/protobuf/struct.ts +++ b/examples/telescope/codegen/google/protobuf/struct.ts @@ -1,18 +1,29 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { isSet, isObject } from "@osmonauts/helpers"; - /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. */ + export enum NullValue { /** NULL_VALUE - Null value. */ NULL_VALUE = 0, UNRECOGNIZED = -1, } +/** + * `NullValue` is a singleton enumeration to represent the null value for the + * `Value` type union. + * + * The JSON representation for `NullValue` is JSON `null`. + */ + +export enum NullValueSDKType { + /** NULL_VALUE - Null value. */ + NULL_VALUE = 0, + UNRECOGNIZED = -1, +} export function nullValueFromJSON(object: any): NullValue { switch (object) { case 0: @@ -38,7 +49,10 @@ export interface Struct_FieldsEntry { key: string; value: Value | undefined; } - +export interface Struct_FieldsEntrySDKType { + key: string; + value: ValueSDKType | undefined; +} /** * `Struct` represents a structured data value, consisting of fields * which map to dynamically typed values. In some languages, `Struct` @@ -49,13 +63,30 @@ export interface Struct_FieldsEntry { * * The JSON representation for `Struct` is JSON object. */ + export interface Struct { /** Unordered map of dynamically typed values. */ fields: { [key: string]: Value | undefined; }; } +/** + * `Struct` represents a structured data value, consisting of fields + * which map to dynamically typed values. In some languages, `Struct` + * might be supported by a native representation. For example, in + * scripting languages like JS a struct is represented as an + * object. The details of that representation are described together + * with the proto support for the language. + * + * The JSON representation for `Struct` is JSON object. + */ +export interface StructSDKType { + /** Unordered map of dynamically typed values. */ + fields: { + [key: string]: ValueSDKType | undefined; + }; +} /** * `Value` represents a dynamically typed value which can be either * null, a number, a string, a boolean, a recursive struct value, or a @@ -64,35 +95,74 @@ export interface Struct { * * The JSON representation for `Value` is JSON value. */ + export interface Value { /** Represents a null value. */ nullValue?: NullValue; - /** Represents a double value. */ - numberValue?: number; + numberValue?: number; /** Represents a string value. */ - stringValue?: string; + stringValue?: string; /** Represents a boolean value. */ - boolValue?: boolean; + boolValue?: boolean; /** Represents a structured value. */ - structValue?: Struct | undefined; + structValue?: Struct | undefined; /** Represents a repeated `Value`. */ + listValue?: ListValue | undefined; } +/** + * `Value` represents a dynamically typed value which can be either + * null, a number, a string, a boolean, a recursive struct value, or a + * list of values. A producer of value is expected to set one of that + * variants, absence of any variant indicates an error. + * + * The JSON representation for `Value` is JSON value. + */ + +export interface ValueSDKType { + /** Represents a null value. */ + null_value?: NullValueSDKType; + /** Represents a double value. */ + + number_value?: number; + /** Represents a string value. */ + + string_value?: string; + /** Represents a boolean value. */ + + bool_value?: boolean; + /** Represents a structured value. */ + struct_value?: StructSDKType | undefined; + /** Represents a repeated `Value`. */ + + list_value?: ListValueSDKType | undefined; +} /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. */ + export interface ListValue { /** Repeated field of dynamically typed values. */ values: Value[]; } +/** + * `ListValue` is a wrapper around a repeated field of values. + * + * The JSON representation for `ListValue` is JSON array. + */ + +export interface ListValueSDKType { + /** Repeated field of dynamically typed values. */ + values: ValueSDKType[]; +} function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { @@ -140,20 +210,6 @@ export const Struct_FieldsEntry = { return message; }, - fromJSON(object: any): Struct_FieldsEntry { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? Value.fromJSON(object.value) : undefined - }; - }, - - toJSON(message: Struct_FieldsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: Partial): Struct_FieldsEntry { const message = createBaseStruct_FieldsEntry(); message.key = object.key ?? ""; @@ -207,30 +263,6 @@ export const Struct = { return message; }, - fromJSON(object: any): Struct { - return { - fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - acc[key] = Value.fromJSON(value); - return acc; - }, {}) : {} - }; - }, - - toJSON(message: Struct): unknown { - const obj: any = {}; - obj.fields = {}; - - if (message.fields) { - Object.entries(message.fields).forEach(([k, v]) => { - obj.fields[k] = Value.toJSON(v); - }); - } - - return obj; - }, - fromPartial(object: Partial): Struct { const message = createBaseStruct(); message.fields = Object.entries(object.fields ?? {}).reduce<{ @@ -329,28 +361,6 @@ export const Value = { return message; }, - fromJSON(object: any): Value { - return { - nullValue: isSet(object.nullValue) ? nullValueFromJSON(object.nullValue) : undefined, - numberValue: isSet(object.numberValue) ? Number(object.numberValue) : undefined, - stringValue: isSet(object.stringValue) ? String(object.stringValue) : undefined, - boolValue: isSet(object.boolValue) ? Boolean(object.boolValue) : undefined, - structValue: isSet(object.structValue) ? Struct.fromJSON(object.structValue) : undefined, - listValue: isSet(object.listValue) ? ListValue.fromJSON(object.listValue) : undefined - }; - }, - - toJSON(message: Value): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.numberValue !== undefined && (obj.numberValue = message.numberValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.structValue !== undefined && (obj.structValue = message.structValue ? Struct.toJSON(message.structValue) : undefined); - message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); - return obj; - }, - fromPartial(object: Partial): Value { const message = createBaseValue(); message.nullValue = object.nullValue ?? undefined; @@ -401,24 +411,6 @@ export const ListValue = { return message; }, - fromJSON(object: any): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromJSON(e)) : [] - }; - }, - - toJSON(message: ListValue): unknown { - const obj: any = {}; - - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - - return obj; - }, - fromPartial(object: Partial): ListValue { const message = createBaseListValue(); message.values = object.values?.map(e => Value.fromPartial(e)) || []; diff --git a/examples/telescope/codegen/google/protobuf/timestamp.ts b/examples/telescope/codegen/google/protobuf/timestamp.ts index 4811fdd08..1b0f08da2 100644 --- a/examples/telescope/codegen/google/protobuf/timestamp.ts +++ b/examples/telescope/codegen/google/protobuf/timestamp.ts @@ -1,6 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/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 @@ -85,6 +84,7 @@ import { Long, isSet } from "@osmonauts/helpers"; * 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 @@ -92,13 +92,114 @@ export interface Timestamp { * 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; +} +/** + * 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 { + /** + * 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; } @@ -148,20 +249,6 @@ export const Timestamp = { return message; }, - fromJSON(object: any): Timestamp { - return { - seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - - toJSON(message: Timestamp): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).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 ? Long.fromValue(object.seconds) : Long.ZERO; diff --git a/examples/telescope/codegen/google/protobuf/wrappers.ts b/examples/telescope/codegen/google/protobuf/wrappers.ts index 5ded8df66..5b3d3aa96 100644 --- a/examples/telescope/codegen/google/protobuf/wrappers.ts +++ b/examples/telescope/codegen/google/protobuf/wrappers.ts @@ -1,95 +1,185 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * Wrapper message for `double`. * * The JSON representation for `DoubleValue` is JSON number. */ + export interface DoubleValue { /** The double value. */ value: number; } +/** + * Wrapper message for `double`. + * + * The JSON representation for `DoubleValue` is JSON number. + */ +export interface DoubleValueSDKType { + /** The double value. */ + value: number; +} /** * Wrapper message for `float`. * * The JSON representation for `FloatValue` is JSON number. */ + export interface FloatValue { /** The float value. */ value: number; } +/** + * Wrapper message for `float`. + * + * The JSON representation for `FloatValue` is JSON number. + */ +export interface FloatValueSDKType { + /** The float value. */ + value: number; +} /** * Wrapper message for `int64`. * * The JSON representation for `Int64Value` is JSON string. */ + export interface Int64Value { /** The int64 value. */ value: Long; } +/** + * Wrapper message for `int64`. + * + * The JSON representation for `Int64Value` is JSON string. + */ +export interface Int64ValueSDKType { + /** The int64 value. */ + value: Long; +} /** * Wrapper message for `uint64`. * * The JSON representation for `UInt64Value` is JSON string. */ + export interface UInt64Value { /** The uint64 value. */ value: Long; } +/** + * Wrapper message for `uint64`. + * + * The JSON representation for `UInt64Value` is JSON string. + */ +export interface UInt64ValueSDKType { + /** The uint64 value. */ + value: Long; +} /** * Wrapper message for `int32`. * * The JSON representation for `Int32Value` is JSON number. */ + export interface Int32Value { /** The int32 value. */ value: number; } +/** + * Wrapper message for `int32`. + * + * The JSON representation for `Int32Value` is JSON number. + */ +export interface Int32ValueSDKType { + /** The int32 value. */ + value: number; +} /** * Wrapper message for `uint32`. * * The JSON representation for `UInt32Value` is JSON number. */ + export interface UInt32Value { /** The uint32 value. */ value: number; } +/** + * Wrapper message for `uint32`. + * + * The JSON representation for `UInt32Value` is JSON number. + */ +export interface UInt32ValueSDKType { + /** The uint32 value. */ + value: number; +} /** * Wrapper message for `bool`. * * The JSON representation for `BoolValue` is JSON `true` and `false`. */ + export interface BoolValue { /** The bool value. */ value: boolean; } +/** + * Wrapper message for `bool`. + * + * The JSON representation for `BoolValue` is JSON `true` and `false`. + */ +export interface BoolValueSDKType { + /** The bool value. */ + value: boolean; +} /** * Wrapper message for `string`. * * The JSON representation for `StringValue` is JSON string. */ + export interface StringValue { /** The string value. */ value: string; } +/** + * Wrapper message for `string`. + * + * The JSON representation for `StringValue` is JSON string. + */ +export interface StringValueSDKType { + /** The string value. */ + value: string; +} /** * Wrapper message for `bytes`. * * The JSON representation for `BytesValue` is JSON string. */ + export interface BytesValue { /** The bytes value. */ value: Uint8Array; } +/** + * Wrapper message for `bytes`. + * + * The JSON representation for `BytesValue` is JSON string. + */ + +export interface BytesValueSDKType { + /** The bytes value. */ + value: Uint8Array; +} function createBaseDoubleValue(): DoubleValue { return { @@ -128,18 +218,6 @@ export const DoubleValue = { return message; }, - fromJSON(object: any): DoubleValue { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: DoubleValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): DoubleValue { const message = createBaseDoubleValue(); message.value = object.value ?? 0; @@ -185,18 +263,6 @@ export const FloatValue = { return message; }, - fromJSON(object: any): FloatValue { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: FloatValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): FloatValue { const message = createBaseFloatValue(); message.value = object.value ?? 0; @@ -242,18 +308,6 @@ export const Int64Value = { return message; }, - fromJSON(object: any): Int64Value { - return { - value: isSet(object.value) ? Long.fromString(object.value) : Long.ZERO - }; - }, - - toJSON(message: Int64Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Int64Value { const message = createBaseInt64Value(); message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; @@ -299,18 +353,6 @@ export const UInt64Value = { return message; }, - fromJSON(object: any): UInt64Value { - return { - value: isSet(object.value) ? Long.fromString(object.value) : Long.UZERO - }; - }, - - toJSON(message: UInt64Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): UInt64Value { const message = createBaseUInt64Value(); message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; @@ -356,18 +398,6 @@ export const Int32Value = { return message; }, - fromJSON(object: any): Int32Value { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: Int32Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: Partial): Int32Value { const message = createBaseInt32Value(); message.value = object.value ?? 0; @@ -413,18 +443,6 @@ export const UInt32Value = { return message; }, - fromJSON(object: any): UInt32Value { - return { - value: isSet(object.value) ? Number(object.value) : 0 - }; - }, - - toJSON(message: UInt32Value): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: Partial): UInt32Value { const message = createBaseUInt32Value(); message.value = object.value ?? 0; @@ -470,18 +488,6 @@ export const BoolValue = { return message; }, - fromJSON(object: any): BoolValue { - return { - value: isSet(object.value) ? Boolean(object.value) : false - }; - }, - - toJSON(message: BoolValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): BoolValue { const message = createBaseBoolValue(); message.value = object.value ?? false; @@ -527,18 +533,6 @@ export const StringValue = { return message; }, - fromJSON(object: any): StringValue { - return { - value: isSet(object.value) ? String(object.value) : "" - }; - }, - - toJSON(message: StringValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): StringValue { const message = createBaseStringValue(); message.value = object.value ?? ""; @@ -584,18 +578,6 @@ export const BytesValue = { return message; }, - fromJSON(object: any): BytesValue { - return { - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - - toJSON(message: BytesValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): BytesValue { const message = createBaseBytesValue(); message.value = object.value ?? new Uint8Array(); diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts index 196f933c0..6823b603b 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts @@ -1,13 +1,19 @@ -import { DenomTrace, Params } from "./transfer"; +import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the ibc-transfer genesis state */ + export interface GenesisState { portId: string; denomTraces: DenomTrace[]; params: Params | undefined; } +/** GenesisState defines the ibc-transfer genesis state */ + +export interface GenesisStateSDKType { + port_id: string; + denom_traces: DenomTraceSDKType[]; + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -64,28 +70,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/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts index 5f73eaa31..e0b537285 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -1,29 +1,32 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); } - /* DenomTrace queries a denomination trace information. */ - async denomTrace(params: QueryDenomTraceRequest): Promise { + + + async denomTrace(params: QueryDenomTraceRequest): Promise { const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* DenomTraces queries all denomination traces. */ + + async denomTraces(params: QueryDenomTracesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -33,13 +36,14 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/apps/transfer/v1/denom_traces`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Params queries all parameters of the ibc-transfer module. */ - async params(_params: QueryParamsRequest = {}): Promise { + + + async params(_params: QueryParamsRequest = {}): Promise { const endpoint = `ibc/apps/transfer/v1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts index e68f597a6..4b4f70753 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -1,18 +1,17 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - denomTrace(request: QueryDenomTraceRequest): Promise; + denomTrace(request: QueryDenomTraceRequest): Promise; /*DenomTrace queries a denomination trace information.*/ - denomTraces(request: QueryDenomTracesRequest): Promise; + denomTraces(request?: QueryDenomTracesRequest): Promise; /*DenomTraces queries all denomination traces.*/ - params(request: QueryParamsRequest): Promise; + params(request?: QueryParamsRequest): Promise; /*Params queries all parameters of the ibc-transfer module.*/ } @@ -26,22 +25,42 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { const data = QueryDenomTraceRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); } - denomTraces(request: QueryDenomTracesRequest): Promise { + denomTraces(request: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { const data = QueryDenomTracesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + denomTrace(request: QueryDenomTraceRequest): Promise { + return queryService.denomTrace(request); + }, + + denomTraces(request?: QueryDenomTracesRequest): Promise { + return queryService.denomTraces(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts index 8ee45701e..556e8fe82 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts @@ -1,55 +1,102 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, Params } from "./transfer"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC * method */ + export interface QueryDenomTraceRequest { /** hash (in hex format) of the denomination trace information. */ hash: string; } +/** + * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC + * method + */ +export interface QueryDenomTraceRequestSDKType { + /** hash (in hex format) of the denomination trace information. */ + 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 | undefined; } +/** + * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC + * method. + */ +export interface QueryDenomTraceResponseSDKType { + /** denom_trace returns the requested denomination trace information. */ + denom_trace: DenomTraceSDKType | undefined; +} /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC * method */ + export interface QueryDenomTracesRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; } +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ +export interface QueryDenomTracesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC + * method. + */ +export interface QueryDenomTracesResponseSDKType { + /** denom_traces returns all denominations trace information. */ + denom_traces: DenomTraceSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} /** QueryParamsRequest is the request type for the Query/Params RPC method. */ + export interface QueryParamsRequest {} +/** 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 | undefined; } +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { return { @@ -88,18 +135,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 ?? ""; @@ -123,7 +158,7 @@ export const QueryDenomTraceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTraceResponse(); @@ -145,18 +180,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; @@ -202,18 +225,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; @@ -242,7 +253,7 @@ export const QueryDenomTracesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTracesResponse(); @@ -268,26 +279,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)) || []; @@ -324,15 +315,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; @@ -355,7 +337,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -377,18 +359,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/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts index dffc2bc1f..b960d3dbd 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts @@ -1,40 +1,74 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * 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; } +/** + * DenomTrace contains the base denomination for ICS20 fungible tokens and the + * source tracing information path. + */ + +export interface DenomTraceSDKType { + /** + * 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; +} /** * 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; } +/** + * 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 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; +} function createBaseDenomTrace(): DenomTrace { return { @@ -82,20 +116,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 ?? ""; @@ -151,20 +171,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/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts index 8037a781f..3543b950e 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; import { AminoMsg } from "@cosmjs/amino"; import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; import { MsgTransfer } from "./tx"; diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts index e73ca6283..548e3b8ca 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgTransfer } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; @@ -26,24 +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) { diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts index cae05171e..1d91db3c8 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -1,12 +1,10 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgTransfer, MsgTransferResponse } from "./tx"; - +import { MsgTransfer, MsgTransferResponse, MsgTransferResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - transfer(request: MsgTransfer): Promise; + transfer(request: MsgTransfer): Promise; /*Transfer defines a rpc handler method for MsgTransfer.*/ } @@ -18,7 +16,7 @@ export class MsgClientImpl implements Msg { this.transfer = this.transfer.bind(this); } - transfer(request: MsgTransfer): Promise { + transfer(request: MsgTransfer): Promise { const data = MsgTransfer.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts index 75c874f76..602234328 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts @@ -1,44 +1,81 @@ -import { Coin } from "../../../../cosmos/base/v1beta1/coin"; -import { Height } from "../../../core/client/v1/client"; +import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; + sourceChannel: string; /** the tokens to be transferred */ - token: Coin | undefined; + token: Coin | undefined; /** the sender address */ - sender: string; + sender: string; /** the recipient address on the destination chain */ - receiver: string; + receiver: string; /** * Timeout height relative to the current block height. * The timeout is disabled when set to 0. */ - timeoutHeight: Height | undefined; + timeoutHeight: Height | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. */ + timeoutTimestamp: Long; } +/** + * 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 { + /** 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: CoinSDKType | undefined; + /** 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: HeightSDKType | undefined; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeout_timestamp: Long; +} /** MsgTransferResponse defines the Msg/Transfer response type. */ + export interface MsgTransferResponse {} +/** MsgTransferResponse defines the Msg/Transfer response type. */ + +export interface MsgTransferResponseSDKType {} function createBaseMsgTransfer(): MsgTransfer { return { @@ -131,30 +168,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) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): MsgTransfer { const message = createBaseMsgTransfer(); message.sourcePort = object.sourcePort ?? ""; @@ -178,7 +191,7 @@ export const MsgTransferResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTransferResponse(); @@ -196,15 +209,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/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts index 6e7cebfa0..98bb4a6bc 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts @@ -1,22 +1,40 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * FungibleTokenPacketData defines a struct for the packet payload * See FungibleTokenPacketData spec: * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures */ + export interface FungibleTokenPacketData { /** the token denomination to be transferred */ denom: string; - /** the token amount to be transferred */ - amount: string; + amount: string; /** the sender address */ + sender: string; + /** the recipient address on the destination chain */ + + receiver: string; +} +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ + +export interface FungibleTokenPacketDataSDKType { + /** the token denomination to be transferred */ + denom: string; + /** the token amount to be transferred */ + + amount: string; + /** the sender address */ + sender: string; /** the recipient address on the destination chain */ + receiver: string; } @@ -84,24 +102,6 @@ export const FungibleTokenPacketData = { return message; }, - fromJSON(object: any): FungibleTokenPacketData { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - sender: isSet(object.sender) ? String(object.sender) : "", - receiver: isSet(object.receiver) ? String(object.receiver) : "" - }; - }, - - toJSON(message: FungibleTokenPacketData): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: Partial): FungibleTokenPacketData { const message = createBaseFungibleTokenPacketData(); message.denom = object.denom ?? ""; diff --git a/examples/telescope/codegen/ibc/bundle.ts b/examples/telescope/codegen/ibc/bundle.ts index f9f3adb5c..9aaf14d88 100644 --- a/examples/telescope/codegen/ibc/bundle.ts +++ b/examples/telescope/codegen/ibc/bundle.ts @@ -22,30 +22,30 @@ import * as _131 from "./lightclients/localhost/v1/localhost"; import * as _132 from "./lightclients/solomachine/v1/solomachine"; import * as _133 from "./lightclients/solomachine/v2/solomachine"; import * as _134 from "./lightclients/tendermint/v1/tendermint"; -import * as _226 from "./applications/transfer/v1/tx.amino"; -import * as _227 from "./core/channel/v1/tx.amino"; -import * as _228 from "./core/client/v1/tx.amino"; -import * as _229 from "./core/connection/v1/tx.amino"; -import * as _230 from "./applications/transfer/v1/tx.registry"; -import * as _231 from "./core/channel/v1/tx.registry"; -import * as _232 from "./core/client/v1/tx.registry"; -import * as _233 from "./core/connection/v1/tx.registry"; -import * as _234 from "./applications/transfer/v1/query.lcd"; -import * as _235 from "./core/channel/v1/query.lcd"; -import * as _236 from "./core/client/v1/query.lcd"; -import * as _237 from "./core/connection/v1/query.lcd"; -import * as _238 from "./applications/transfer/v1/query.rpc.query"; -import * as _239 from "./core/channel/v1/query.rpc.query"; -import * as _240 from "./core/client/v1/query.rpc.query"; -import * as _241 from "./core/connection/v1/query.rpc.query"; -import * as _242 from "./core/port/v1/query.rpc.query"; -import * as _243 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _244 from "./core/channel/v1/tx.rpc.msg"; -import * as _245 from "./core/client/v1/tx.rpc.msg"; -import * as _246 from "./core/connection/v1/tx.rpc.msg"; -import * as _253 from "./lcd"; -import * as _254 from "./rpc.query"; -import * as _255 from "./rpc.tx"; +import * as _228 from "./applications/transfer/v1/tx.amino"; +import * as _229 from "./core/channel/v1/tx.amino"; +import * as _230 from "./core/client/v1/tx.amino"; +import * as _231 from "./core/connection/v1/tx.amino"; +import * as _232 from "./applications/transfer/v1/tx.registry"; +import * as _233 from "./core/channel/v1/tx.registry"; +import * as _234 from "./core/client/v1/tx.registry"; +import * as _235 from "./core/connection/v1/tx.registry"; +import * as _236 from "./applications/transfer/v1/query.lcd"; +import * as _237 from "./core/channel/v1/query.lcd"; +import * as _238 from "./core/client/v1/query.lcd"; +import * as _239 from "./core/connection/v1/query.lcd"; +import * as _240 from "./applications/transfer/v1/query.rpc.query"; +import * as _241 from "./core/channel/v1/query.rpc.query"; +import * as _242 from "./core/client/v1/query.rpc.query"; +import * as _243 from "./core/connection/v1/query.rpc.query"; +import * as _244 from "./core/port/v1/query.rpc.query"; +import * as _245 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _246 from "./core/channel/v1/tx.rpc.msg"; +import * as _247 from "./core/client/v1/tx.rpc.msg"; +import * as _248 from "./core/connection/v1/tx.rpc.msg"; +import * as _255 from "./lcd"; +import * as _256 from "./rpc.query"; +import * as _257 from "./rpc.tx"; export namespace ibc { export namespace applications { export namespace transfer { @@ -53,11 +53,11 @@ export namespace ibc { ..._112, ..._113, ..._114, - ..._226, - ..._230, - ..._234, - ..._238, - ..._243 + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 }; export const v2 = { ..._115 }; @@ -69,11 +69,11 @@ export namespace ibc { ..._117, ..._118, ..._119, - ..._227, - ..._231, - ..._235, - ..._239, - ..._244 + ..._229, + ..._233, + ..._237, + ..._241, + ..._246 }; } export namespace client { @@ -81,11 +81,11 @@ export namespace ibc { ..._121, ..._122, ..._123, - ..._228, - ..._232, - ..._236, - ..._240, - ..._245 + ..._230, + ..._234, + ..._238, + ..._242, + ..._247 }; } export namespace commitment { @@ -97,16 +97,16 @@ export namespace ibc { ..._126, ..._127, ..._128, - ..._229, - ..._233, - ..._237, - ..._241, - ..._246 + ..._231, + ..._235, + ..._239, + ..._243, + ..._248 }; } export namespace port { export const v1 = { ..._129, - ..._242 + ..._244 }; } export namespace types { @@ -130,8 +130,8 @@ export namespace ibc { }; } } - export const ClientFactory = { ..._253, - ..._254, - ..._255 + export const ClientFactory = { ..._255, + ..._256, + ..._257 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts index 586ca377a..4ea7be915 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts @@ -1,11 +1,11 @@ -import { Height } from "../../client/v1/client"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * State defines if a channel is in one of the following states: * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. */ + export enum State { /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ STATE_UNINITIALIZED_UNSPECIFIED = 0, @@ -29,6 +29,34 @@ export enum State { STATE_CLOSED = 4, UNRECOGNIZED = -1, } +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} export function stateFromJSON(object: any): State { switch (object) { case 0: @@ -78,8 +106,8 @@ export function stateToJSON(object: State): string { return "UNKNOWN"; } } - /** Order defines if a channel is ORDERED or UNORDERED */ + export enum Order { /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ ORDER_NONE_UNSPECIFIED = 0, @@ -94,6 +122,22 @@ export enum Order { ORDER_ORDERED = 2, UNRECOGNIZED = -1, } +/** Order defines if a channel is ORDERED or UNORDERED */ + +export enum OrderSDKType { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} export function orderFromJSON(object: any): Order { switch (object) { case 0: @@ -129,72 +173,136 @@ export function orderToJSON(object: Order): string { return "UNKNOWN"; } } - /** * Channel defines pipeline for exactly-once packet delivery between specific * modules on separate blockchains, which has at least one end capable of * sending packets and one end capable of receiving packets. */ + export interface Channel { /** current state of the channel end */ state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel */ - connectionHops: string[]; + connectionHops: string[]; /** opaque channel version, which is agreed upon during the handshake */ + version: string; } +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ + +export interface ChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + version: string; +} /** * IdentifiedChannel defines a channel with additional port and channel * identifier fields. */ + export interface IdentifiedChannel { /** current state of the channel end */ state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel */ - connectionHops: string[]; + connectionHops: string[]; /** opaque channel version, which is agreed upon during the handshake */ - version: string; + version: string; /** port identifier */ - portId: string; + portId: string; /** channel identifier */ + channelId: string; } +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ + +export interface IdentifiedChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; + /** port identifier */ + + port_id: string; + /** channel identifier */ + channel_id: string; +} /** Counterparty defines a channel end counterparty */ + export interface Counterparty { /** port on the counterparty chain which owns the other end of the channel. */ portId: string; - /** channel end on the counterparty chain */ + channelId: string; } +/** Counterparty defines a channel end counterparty */ +export interface CounterpartySDKType { + /** port on the counterparty chain which owns the other end of the channel. */ + port_id: string; + /** channel end on the counterparty chain */ + + channel_id: string; +} /** Packet defines a type that carries data across different chains through IBC */ + export interface Packet { /** * number corresponds to the order of sends and receives, where a Packet @@ -202,49 +310,99 @@ export interface Packet { * with a later sequence number. */ sequence: Long; - /** identifies the port on the sending chain. */ - sourcePort: string; + sourcePort: string; /** identifies the channel end on the sending chain. */ - sourceChannel: string; + sourceChannel: string; /** identifies the port on the receiving chain. */ - destinationPort: string; + destinationPort: string; /** identifies the channel end on the receiving chain. */ - destinationChannel: string; + destinationChannel: string; /** actual opaque bytes transferred directly to the application module */ - data: Uint8Array; + data: Uint8Array; /** block height after which the packet times out */ - timeoutHeight: Height | undefined; + timeoutHeight: Height | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ + timeoutTimestamp: Long; } +/** Packet defines a type that carries data across different chains through IBC */ + +export interface PacketSDKType { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + /** identifies the port on the sending chain. */ + + source_port: string; + /** identifies the channel end on the sending chain. */ + + source_channel: string; + /** identifies the port on the receiving chain. */ + + destination_port: string; + /** identifies the channel end on the receiving chain. */ + + destination_channel: string; + /** actual opaque bytes transferred directly to the application module */ + + data: Uint8Array; + /** block height after which the packet times out */ + + timeout_height: HeightSDKType | undefined; + /** block timestamp (in nanoseconds) after which the packet times out */ + timeout_timestamp: Long; +} /** * PacketState defines the generic type necessary to retrieve and store * packet commitments, acknowledgements, and receipts. * Caller is responsible for knowing the context necessary to interpret this * state as a commitment, acknowledgement, or a receipt. */ + export interface PacketState { /** channel port identifier. */ portId: string; - /** channel unique identifier. */ - channelId: string; + channelId: string; /** packet sequence. */ - sequence: Long; + sequence: Long; /** embedded data that represents packet state. */ + data: Uint8Array; } +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ + +export interface PacketStateSDKType { + /** channel port identifier. */ + port_id: string; + /** channel unique identifier. */ + + channel_id: string; + /** packet sequence. */ + + sequence: Long; + /** embedded data that represents packet state. */ + data: Uint8Array; +} /** * Acknowledgement is the recommended acknowledgement format to be used by * app-specific protocols. @@ -254,10 +412,25 @@ export interface PacketState { * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope */ + export interface Acknowledgement { result?: Uint8Array; error?: string; } +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ + +export interface AcknowledgementSDKType { + result?: Uint8Array; + error?: string; +} function createBaseChannel(): Channel { return { @@ -332,32 +505,6 @@ export const Channel = { return message; }, - fromJSON(object: any): Channel { - return { - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], - version: isSet(object.version) ? String(object.version) : "" - }; - }, - - toJSON(message: Channel): unknown { - const obj: any = {}; - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - - if (message.connectionHops) { - obj.connectionHops = message.connectionHops.map(e => e); - } else { - obj.connectionHops = []; - } - - message.version !== undefined && (obj.version = message.version); - return obj; - }, - fromPartial(object: Partial): Channel { const message = createBaseChannel(); message.state = object.state ?? 0; @@ -461,36 +608,6 @@ export const IdentifiedChannel = { return message; }, - fromJSON(object: any): IdentifiedChannel { - return { - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - connectionHops: Array.isArray(object?.connectionHops) ? object.connectionHops.map((e: any) => String(e)) : [], - version: isSet(object.version) ? String(object.version) : "", - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: IdentifiedChannel): unknown { - const obj: any = {}; - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - - if (message.connectionHops) { - obj.connectionHops = message.connectionHops.map(e => e); - } else { - obj.connectionHops = []; - } - - message.version !== undefined && (obj.version = message.version); - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): IdentifiedChannel { const message = createBaseIdentifiedChannel(); message.state = object.state ?? 0; @@ -551,20 +668,6 @@ export const Counterparty = { return message; }, - fromJSON(object: any): Counterparty { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: Counterparty): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): Counterparty { const message = createBaseCounterparty(); message.portId = object.portId ?? ""; @@ -674,32 +777,6 @@ export const Packet = { return message; }, - fromJSON(object: any): Packet { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - sourcePort: isSet(object.sourcePort) ? String(object.sourcePort) : "", - sourceChannel: isSet(object.sourceChannel) ? String(object.sourceChannel) : "", - destinationPort: isSet(object.destinationPort) ? String(object.destinationPort) : "", - destinationChannel: isSet(object.destinationChannel) ? String(object.destinationChannel) : "", - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined, - timeoutTimestamp: isSet(object.timeoutTimestamp) ? Long.fromString(object.timeoutTimestamp) : Long.UZERO - }; - }, - - toJSON(message: Packet): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.sourcePort !== undefined && (obj.sourcePort = message.sourcePort); - message.sourceChannel !== undefined && (obj.sourceChannel = message.sourceChannel); - message.destinationPort !== undefined && (obj.destinationPort = message.destinationPort); - message.destinationChannel !== undefined && (obj.destinationChannel = message.destinationChannel); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timeoutHeight !== undefined && (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Packet { const message = createBasePacket(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -779,24 +856,6 @@ export const PacketState = { return message; }, - fromJSON(object: any): PacketState { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: PacketState): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketState { const message = createBasePacketState(); message.portId = object.portId ?? ""; @@ -854,20 +913,6 @@ export const Acknowledgement = { return message; }, - fromJSON(object: any): Acknowledgement { - return { - result: isSet(object.result) ? bytesFromBase64(object.result) : undefined, - error: isSet(object.error) ? String(object.error) : undefined - }; - }, - - toJSON(message: Acknowledgement): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = message.result !== undefined ? base64FromBytes(message.result) : undefined); - message.error !== undefined && (obj.error = message.error); - return obj; - }, - fromPartial(object: Partial): Acknowledgement { const message = createBaseAcknowledgement(); message.result = object.result ?? undefined; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts index 54ddd91a8..4dc24900b 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts @@ -1,8 +1,8 @@ -import { IdentifiedChannel, PacketState } from "./channel"; +import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the ibc channel submodule's genesis state. */ + export interface GenesisState { channels: IdentifiedChannel[]; acknowledgements: PacketState[]; @@ -11,20 +11,44 @@ export interface GenesisState { sendSequences: PacketSequence[]; recvSequences: PacketSequence[]; ackSequences: PacketSequence[]; - /** the sequence for the next generated channel identifier */ + nextChannelSequence: Long; } +/** GenesisState defines the ibc channel submodule's genesis state. */ +export interface GenesisStateSDKType { + channels: IdentifiedChannelSDKType[]; + acknowledgements: PacketStateSDKType[]; + commitments: PacketStateSDKType[]; + receipts: PacketStateSDKType[]; + send_sequences: PacketSequenceSDKType[]; + recv_sequences: PacketSequenceSDKType[]; + ack_sequences: PacketSequenceSDKType[]; + /** the sequence for the next generated channel identifier */ + + next_channel_sequence: Long; +} /** * PacketSequence defines the genesis type necessary to retrieve and store * next send and receive sequences. */ + export interface PacketSequence { portId: string; channelId: string; sequence: Long; } +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ + +export interface PacketSequenceSDKType { + port_id: string; + channel_id: string; + sequence: Long; +} function createBaseGenesisState(): GenesisState { return { @@ -126,68 +150,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], - commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], - receipts: Array.isArray(object?.receipts) ? object.receipts.map((e: any) => PacketState.fromJSON(e)) : [], - sendSequences: Array.isArray(object?.sendSequences) ? object.sendSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - recvSequences: Array.isArray(object?.recvSequences) ? object.recvSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - ackSequences: Array.isArray(object?.ackSequences) ? object.ackSequences.map((e: any) => PacketSequence.fromJSON(e)) : [], - nextChannelSequence: isSet(object.nextChannelSequence) ? Long.fromString(object.nextChannelSequence) : Long.UZERO - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - if (message.acknowledgements) { - obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.acknowledgements = []; - } - - if (message.commitments) { - obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.commitments = []; - } - - if (message.receipts) { - obj.receipts = message.receipts.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.receipts = []; - } - - if (message.sendSequences) { - obj.sendSequences = message.sendSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.sendSequences = []; - } - - if (message.recvSequences) { - obj.recvSequences = message.recvSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.recvSequences = []; - } - - if (message.ackSequences) { - obj.ackSequences = message.ackSequences.map(e => e ? PacketSequence.toJSON(e) : undefined); - } else { - obj.ackSequences = []; - } - - message.nextChannelSequence !== undefined && (obj.nextChannelSequence = (message.nextChannelSequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -258,22 +220,6 @@ export const PacketSequence = { return message; }, - fromJSON(object: any): PacketSequence { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: PacketSequence): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): PacketSequence { const message = createBasePacketSequence(); message.portId = object.portId ?? ""; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts index aac189cc6..c3eb887f9 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts @@ -1,31 +1,42 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); } - /* Channel queries an IBC Channel. */ - async channel(params: QueryChannelRequest): Promise { + + + async channel(params: QueryChannelRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Channels queries all the IBC channels of a chain. */ + + async channels(params: QueryChannelsRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -35,12 +46,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/channel/v1/channels`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ConnectionChannels queries all the channels associated with a connection end. */ - async connectionChannels(params: QueryConnectionChannelsRequest): Promise { + + + async connectionChannels(params: QueryConnectionChannelsRequest): Promise { const options: any = { params: {} }; @@ -50,32 +62,36 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ChannelClientState queries for the client state for the channel associated with the provided channel identifiers. */ - async channelClientState(params: QueryChannelClientStateRequest): Promise { + + + async channelClientState(params: QueryChannelClientStateRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers. */ - async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { + + + async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* PacketCommitment queries a stored packet commitment hash. */ - async packetCommitment(params: QueryPacketCommitmentRequest): Promise { + + + async packetCommitment(params: QueryPacketCommitmentRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* PacketCommitments returns all the packet commitments hashes associated with a channel. */ - async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { + + + async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { const options: any = { params: {} }; @@ -85,25 +101,28 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* PacketReceipt queries if a given packet sequence has been received on the queried chain */ - async packetReceipt(params: QueryPacketReceiptRequest): Promise { + + + async packetReceipt(params: QueryPacketReceiptRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ - async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { + + + async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* PacketAcknowledgements returns all the packet acknowledgements associated with a channel. */ - async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { + + + async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { const options: any = { params: {} }; @@ -117,27 +136,30 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences. */ - async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { + + + async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences. */ - async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { + + + async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* NextSequenceReceive returns the next receive sequence for a given channel. */ - async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { + + + async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts index 1e3ec7ac1..8a9c38668 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -1,58 +1,55 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponse, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse, QueryNextSequenceReceiveResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - channel(request: QueryChannelRequest): Promise; + channel(request: QueryChannelRequest): Promise; /*Channel queries an IBC Channel.*/ - channels(request: QueryChannelsRequest): Promise; + channels(request?: QueryChannelsRequest): Promise; /*Channels queries all the IBC channels of a chain.*/ - connectionChannels(request: QueryConnectionChannelsRequest): Promise; + connectionChannels(request: QueryConnectionChannelsRequest): Promise; /*ConnectionChannels queries all the channels associated with a connection end.*/ - channelClientState(request: QueryChannelClientStateRequest): Promise; + channelClientState(request: QueryChannelClientStateRequest): Promise; /*ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.*/ - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; /*ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.*/ - packetCommitment(request: QueryPacketCommitmentRequest): Promise; + packetCommitment(request: QueryPacketCommitmentRequest): Promise; /*PacketCommitment queries a stored packet commitment hash.*/ - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; /*PacketCommitments returns all the packet commitments hashes associated with a channel.*/ - packetReceipt(request: QueryPacketReceiptRequest): Promise; + packetReceipt(request: QueryPacketReceiptRequest): Promise; /*PacketReceipt queries if a given packet sequence has been received on the queried chain*/ - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; /*PacketAcknowledgements returns all the packet acknowledgements associated with a channel.*/ - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; /*UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.*/ - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.*/ - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; /*NextSequenceReceive returns the next receive sequence for a given channel.*/ } @@ -76,82 +73,142 @@ export class QueryClientImpl implements Query { this.nextSequenceReceive = this.nextSequenceReceive.bind(this); } - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { const data = QueryChannelRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); } - channels(request: QueryChannelsRequest): Promise { + channels(request: QueryChannelsRequest = { + pagination: undefined + }): Promise { const data = QueryChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); } - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { const data = QueryConnectionChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); } - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { const data = QueryChannelClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); } - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { const data = QueryChannelConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); } - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { const data = QueryPacketCommitmentRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); } - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { const data = QueryPacketCommitmentsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); } - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { const data = QueryPacketReceiptRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); } - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { const data = QueryPacketAcknowledgementRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); } - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); } - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { const data = QueryUnreceivedPacketsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); } - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { const data = QueryUnreceivedAcksRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); } - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { const data = QueryNextSequenceReceiveRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + channel(request: QueryChannelRequest): Promise { + return queryService.channel(request); + }, + + channels(request?: QueryChannelsRequest): Promise { + return queryService.channels(request); + }, + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + return queryService.connectionChannels(request); + }, + + channelClientState(request: QueryChannelClientStateRequest): Promise { + return queryService.channelClientState(request); + }, + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + return queryService.channelConsensusState(request); + }, + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + return queryService.packetCommitment(request); + }, + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + return queryService.packetCommitments(request); + }, + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + return queryService.packetReceipt(request); + }, + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + return queryService.packetAcknowledgement(request); + }, + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + return queryService.packetAcknowledgements(request); + }, + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + return queryService.unreceivedPackets(request); + }, + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + return queryService.unreceivedAcks(request); + }, + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + return queryService.nextSequenceReceive(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.ts index 7b1d232c0..2d6ac82a3 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.ts @@ -1,377 +1,745 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, IdentifiedChannel, PacketState } from "./channel"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** QueryChannelRequest is the request type for the Query/Channel RPC method */ + export interface QueryChannelRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ +export interface QueryChannelRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} /** * QueryChannelResponse is the response type for the Query/Channel RPC method. * Besides the Channel end, it includes a proof and the height from which the * proof was retrieved. */ + export interface QueryChannelResponse { /** channel associated with the request identifiers */ channel: Channel | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ + +export interface QueryChannelResponseSDKType { + /** channel associated with the request identifiers */ + channel: ChannelSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** QueryChannelsRequest is the request type for the Query/Channels RPC method */ + export interface QueryChannelsRequest { /** pagination request */ pagination?: PageRequest | undefined; } +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ +export interface QueryChannelsRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ + export interface QueryChannelsResponse { /** list of stored channels of the chain. */ channels: IdentifiedChannel[]; - /** pagination response */ - pagination?: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ +export interface QueryChannelsResponseSDKType { + /** list of stored channels of the chain. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryConnectionChannelsRequest is the request type for the * Query/QueryConnectionChannels RPC method */ + export interface QueryConnectionChannelsRequest { /** connection unique identifier */ connection: string; - /** pagination request */ + pagination?: PageRequest | undefined; } +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ +export interface QueryConnectionChannelsRequestSDKType { + /** connection unique identifier */ + connection: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryConnectionChannelsResponse is the Response type for the * Query/QueryConnectionChannels RPC method */ + export interface QueryConnectionChannelsResponse { /** list of channels associated with a connection. */ channels: IdentifiedChannel[]; - /** pagination response */ - pagination?: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsResponseSDKType { + /** list of channels associated with a connection. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryChannelClientStateRequest is the request type for the Query/ClientState * RPC method */ + export interface QueryChannelClientStateRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ + +export interface QueryChannelClientStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + channel_id: string; +} /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method */ + export interface QueryChannelClientStateResponse { /** client state associated with the channel */ identifiedClientState: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryChannelConsensusStateRequest is the request type for the * Query/ConsensusState RPC method */ + export interface QueryChannelConsensusStateRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** revision number of the consensus state */ - revisionNumber: Long; + revisionNumber: Long; /** revision height of the consensus state */ + revisionHeight: Long; } +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ +export interface QueryChannelConsensusStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** revision number of the consensus state */ + + revision_number: Long; + /** revision height of the consensus state */ + + revision_height: Long; +} /** * QueryChannelClientStateResponse is the Response type for the * Query/QueryChannelClientState RPC method */ + export interface QueryChannelConsensusStateResponse { /** consensus state associated with the channel */ consensusState: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; + clientId: string; /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryPacketCommitmentRequest is the request type for the * Query/PacketCommitment RPC method */ + export interface QueryPacketCommitmentRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** packet sequence */ + sequence: Long; } +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ + +export interface QueryPacketCommitmentRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + sequence: Long; +} /** * QueryPacketCommitmentResponse defines the client query response for a packet * which also includes a proof and the height from which the proof was * retrieved */ + export interface QueryPacketCommitmentResponse { /** packet associated with the request fields */ commitment: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ + +export interface QueryPacketCommitmentResponseSDKType { + /** packet associated with the request fields */ + commitment: Uint8Array; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryPacketCommitmentsRequest is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketCommitmentsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** pagination request */ + pagination?: PageRequest | undefined; } +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ +export interface QueryPacketCommitmentsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} /** * QueryPacketCommitmentsResponse is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketCommitmentsResponse { commitments: PacketState[]; - /** pagination response */ - pagination?: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsResponseSDKType { + commitments: PacketStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryPacketReceiptRequest is the request type for the * Query/PacketReceipt RPC method */ + export interface QueryPacketReceiptRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** packet sequence */ + sequence: Long; } +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ +export interface QueryPacketReceiptRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + + sequence: Long; +} /** * QueryPacketReceiptResponse defines the client query response for a packet * receipt which also includes a proof, and the height from which the proof was * retrieved */ + export interface QueryPacketReceiptResponse { /** success flag for if receipt exists */ received: boolean; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ + +export interface QueryPacketReceiptResponseSDKType { + /** success flag for if receipt exists */ + received: boolean; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryPacketAcknowledgementRequest is the request type for the * Query/PacketAcknowledgement RPC method */ + export interface QueryPacketAcknowledgementRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ +export interface QueryPacketAcknowledgementRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; /** packet sequence */ + sequence: Long; } - /** * QueryPacketAcknowledgementResponse defines the client query response for a * packet which also includes a proof and the height from which the * proof was retrieved */ -export interface QueryPacketAcknowledgementResponse { + +export interface QueryPacketAcknowledgementResponse { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight: Height | undefined; +} +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ + +export interface QueryPacketAcknowledgementResponseSDKType { /** packet associated with the request fields */ acknowledgement: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} + proof_height: HeightSDKType | undefined; +} /** * QueryPacketAcknowledgementsRequest is the request type for the * Query/QueryPacketCommitments RPC method */ + export interface QueryPacketAcknowledgementsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** pagination request */ - pagination?: PageRequest | undefined; + pagination?: PageRequest | undefined; /** list of packet sequences */ - packetCommitmentSequences: Long[]; + + packetCommitmentSequences?: Long[]; } +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketAcknowledgementsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; + /** list of packet sequences */ + + packet_commitment_sequences?: Long[]; +} /** * QueryPacketAcknowledgemetsResponse is the request type for the * Query/QueryPacketAcknowledgements RPC method */ + export interface QueryPacketAcknowledgementsResponse { acknowledgements: PacketState[]; - /** pagination response */ - pagination?: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ + +export interface QueryPacketAcknowledgementsResponseSDKType { + acknowledgements: PacketStateSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryUnreceivedPacketsRequest is the request type for the * Query/UnreceivedPackets RPC method */ + export interface QueryUnreceivedPacketsRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** list of packet sequences */ + packetCommitmentSequences: Long[]; } +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ + +export interface QueryUnreceivedPacketsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of packet sequences */ + packet_commitment_sequences: Long[]; +} /** * QueryUnreceivedPacketsResponse is the response type for the * Query/UnreceivedPacketCommitments RPC method */ + export interface QueryUnreceivedPacketsResponse { /** list of unreceived packet sequences */ sequences: Long[]; - /** query block height */ + height: Height | undefined; } +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ + +export interface QueryUnreceivedPacketsResponseSDKType { + /** list of unreceived packet sequences */ + sequences: Long[]; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryUnreceivedAcks is the request type for the * Query/UnreceivedAcks RPC method */ + export interface QueryUnreceivedAcksRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ - channelId: string; + channelId: string; /** list of acknowledgement sequences */ + packetAckSequences: Long[]; } +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of acknowledgement sequences */ + packet_ack_sequences: Long[]; +} /** * QueryUnreceivedAcksResponse is the response type for the * Query/UnreceivedAcks RPC method */ + export interface QueryUnreceivedAcksResponse { /** list of unreceived acknowledgement sequences */ sequences: Long[]; - /** query block height */ + height: Height | undefined; } +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksResponseSDKType { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + /** query block height */ + height: HeightSDKType | undefined; +} /** * QueryNextSequenceReceiveRequest is the request type for the * Query/QueryNextSequenceReceiveRequest RPC method */ + export interface QueryNextSequenceReceiveRequest { /** port unique identifier */ portId: string; - /** channel unique identifier */ + channelId: string; } +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ +export interface QueryNextSequenceReceiveRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} /** * QuerySequenceResponse is the request type for the * Query/QueryNextSequenceReceiveResponse RPC method */ + export interface QueryNextSequenceReceiveResponse { /** next sequence receive number */ nextSequenceReceive: Long; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ + +export interface QueryNextSequenceReceiveResponseSDKType { + /** next sequence receive number */ + next_sequence_receive: Long; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} function createBaseQueryChannelRequest(): QueryChannelRequest { return { @@ -419,20 +787,6 @@ export const QueryChannelRequest = { return message; }, - fromJSON(object: any): QueryChannelRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryChannelRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryChannelRequest { const message = createBaseQueryChannelRequest(); message.portId = object.portId ?? ""; @@ -467,7 +821,7 @@ export const QueryChannelResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelResponse(); @@ -497,22 +851,6 @@ export const QueryChannelResponse = { return message; }, - fromJSON(object: any): QueryChannelResponse { - return { - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelResponse): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : 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): QueryChannelResponse { const message = createBaseQueryChannelResponse(); message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; @@ -560,18 +898,6 @@ export const QueryChannelsRequest = { return message; }, - fromJSON(object: any): QueryChannelsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryChannelsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryChannelsRequest { const message = createBaseQueryChannelsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -605,7 +931,7 @@ export const QueryChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelsResponse(); @@ -635,28 +961,6 @@ export const QueryChannelsResponse = { return message; }, - fromJSON(object: any): QueryChannelsResponse { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryChannelsResponse): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryChannelsResponse { const message = createBaseQueryChannelsResponse(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -713,20 +1017,6 @@ export const QueryConnectionChannelsRequest = { return message; }, - fromJSON(object: any): QueryConnectionChannelsRequest { - return { - connection: isSet(object.connection) ? String(object.connection) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryConnectionChannelsRequest): unknown { - const obj: any = {}; - message.connection !== undefined && (obj.connection = message.connection); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionChannelsRequest { const message = createBaseQueryConnectionChannelsRequest(); message.connection = object.connection ?? ""; @@ -761,7 +1051,7 @@ export const QueryConnectionChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionChannelsResponse(); @@ -791,28 +1081,6 @@ export const QueryConnectionChannelsResponse = { return message; }, - fromJSON(object: any): QueryConnectionChannelsResponse { - return { - channels: Array.isArray(object?.channels) ? object.channels.map((e: any) => IdentifiedChannel.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryConnectionChannelsResponse): unknown { - const obj: any = {}; - - if (message.channels) { - obj.channels = message.channels.map(e => e ? IdentifiedChannel.toJSON(e) : undefined); - } else { - obj.channels = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionChannelsResponse { const message = createBaseQueryConnectionChannelsResponse(); message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; @@ -869,20 +1137,6 @@ export const QueryChannelClientStateRequest = { return message; }, - fromJSON(object: any): QueryChannelClientStateRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryChannelClientStateRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryChannelClientStateRequest { const message = createBaseQueryChannelClientStateRequest(); message.portId = object.portId ?? ""; @@ -917,7 +1171,7 @@ export const QueryChannelClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelClientStateResponse(); @@ -947,22 +1201,6 @@ export const QueryChannelClientStateResponse = { return message; }, - fromJSON(object: any): QueryChannelClientStateResponse { - return { - identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelClientStateResponse): unknown { - const obj: any = {}; - message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryChannelClientStateResponse { const message = createBaseQueryChannelClientStateResponse(); message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; @@ -1037,24 +1275,6 @@ export const QueryChannelConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryChannelConsensusStateRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: QueryChannelConsensusStateRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryChannelConsensusStateRequest { const message = createBaseQueryChannelConsensusStateRequest(); message.portId = object.portId ?? ""; @@ -1096,7 +1316,7 @@ export const QueryChannelConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelConsensusStateResponse(); @@ -1130,24 +1350,6 @@ export const QueryChannelConsensusStateResponse = { return message; }, - fromJSON(object: any): QueryChannelConsensusStateResponse { - return { - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - clientId: isSet(object.clientId) ? String(object.clientId) : "", - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryChannelConsensusStateResponse): unknown { - const obj: any = {}; - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.clientId !== undefined && (obj.clientId = message.clientId); - 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): QueryChannelConsensusStateResponse { const message = createBaseQueryChannelConsensusStateResponse(); message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; @@ -1214,22 +1416,6 @@ export const QueryPacketCommitmentRequest = { return message; }, - fromJSON(object: any): QueryPacketCommitmentRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketCommitmentRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentRequest { const message = createBaseQueryPacketCommitmentRequest(); message.portId = object.portId ?? ""; @@ -1265,7 +1451,7 @@ export const QueryPacketCommitmentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentResponse(); @@ -1295,22 +1481,6 @@ export const QueryPacketCommitmentResponse = { return message; }, - fromJSON(object: any): QueryPacketCommitmentResponse { - return { - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array(), - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentResponse): unknown { - const obj: any = {}; - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - 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): QueryPacketCommitmentResponse { const message = createBaseQueryPacketCommitmentResponse(); message.commitment = object.commitment ?? new Uint8Array(); @@ -1376,22 +1546,6 @@ export const QueryPacketCommitmentsRequest = { return message; }, - fromJSON(object: any): QueryPacketCommitmentsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentsRequest { const message = createBaseQueryPacketCommitmentsRequest(); message.portId = object.portId ?? ""; @@ -1427,7 +1581,7 @@ export const QueryPacketCommitmentsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentsResponse(); @@ -1457,28 +1611,6 @@ export const QueryPacketCommitmentsResponse = { return message; }, - fromJSON(object: any): QueryPacketCommitmentsResponse { - return { - commitments: Array.isArray(object?.commitments) ? object.commitments.map((e: any) => PacketState.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryPacketCommitmentsResponse): unknown { - const obj: any = {}; - - if (message.commitments) { - obj.commitments = message.commitments.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.commitments = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketCommitmentsResponse { const message = createBaseQueryPacketCommitmentsResponse(); message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; @@ -1544,22 +1676,6 @@ export const QueryPacketReceiptRequest = { return message; }, - fromJSON(object: any): QueryPacketReceiptRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketReceiptRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketReceiptRequest { const message = createBaseQueryPacketReceiptRequest(); message.portId = object.portId ?? ""; @@ -1595,7 +1711,7 @@ export const QueryPacketReceiptResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketReceiptResponse(); @@ -1625,22 +1741,6 @@ export const QueryPacketReceiptResponse = { return message; }, - fromJSON(object: any): QueryPacketReceiptResponse { - return { - received: isSet(object.received) ? Boolean(object.received) : false, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketReceiptResponse): unknown { - const obj: any = {}; - message.received !== undefined && (obj.received = message.received); - 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): QueryPacketReceiptResponse { const message = createBaseQueryPacketReceiptResponse(); message.received = object.received ?? false; @@ -1706,22 +1806,6 @@ export const QueryPacketAcknowledgementRequest = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO - }; - }, - - toJSON(message: QueryPacketAcknowledgementRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementRequest { const message = createBaseQueryPacketAcknowledgementRequest(); message.portId = object.portId ?? ""; @@ -1757,7 +1841,7 @@ export const QueryPacketAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementResponse(); @@ -1787,22 +1871,6 @@ export const QueryPacketAcknowledgementResponse = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementResponse { - return { - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryPacketAcknowledgementResponse): unknown { - const obj: any = {}; - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - 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): QueryPacketAcknowledgementResponse { const message = createBaseQueryPacketAcknowledgementResponse(); message.acknowledgement = object.acknowledgement ?? new Uint8Array(); @@ -1889,30 +1957,6 @@ export const QueryPacketAcknowledgementsRequest = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined, - packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryPacketAcknowledgementsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - - if (message.packetCommitmentSequences) { - obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetCommitmentSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { const message = createBaseQueryPacketAcknowledgementsRequest(); message.portId = object.portId ?? ""; @@ -1949,7 +1993,7 @@ export const QueryPacketAcknowledgementsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementsResponse(); @@ -1979,28 +2023,6 @@ export const QueryPacketAcknowledgementsResponse = { return message; }, - fromJSON(object: any): QueryPacketAcknowledgementsResponse { - return { - acknowledgements: Array.isArray(object?.acknowledgements) ? object.acknowledgements.map((e: any) => PacketState.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryPacketAcknowledgementsResponse): unknown { - const obj: any = {}; - - if (message.acknowledgements) { - obj.acknowledgements = message.acknowledgements.map(e => e ? PacketState.toJSON(e) : undefined); - } else { - obj.acknowledgements = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { const message = createBaseQueryPacketAcknowledgementsResponse(); message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; @@ -2078,28 +2100,6 @@ export const QueryUnreceivedPacketsRequest = { return message; }, - fromJSON(object: any): QueryUnreceivedPacketsRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - packetCommitmentSequences: Array.isArray(object?.packetCommitmentSequences) ? object.packetCommitmentSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryUnreceivedPacketsRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - - if (message.packetCommitmentSequences) { - obj.packetCommitmentSequences = message.packetCommitmentSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetCommitmentSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedPacketsRequest { const message = createBaseQueryUnreceivedPacketsRequest(); message.portId = object.portId ?? ""; @@ -2134,7 +2134,7 @@ export const QueryUnreceivedPacketsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedPacketsResponse(); @@ -2169,26 +2169,6 @@ export const QueryUnreceivedPacketsResponse = { return message; }, - fromJSON(object: any): QueryUnreceivedPacketsResponse { - return { - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryUnreceivedPacketsResponse): unknown { - const obj: any = {}; - - if (message.sequences) { - obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.sequences = []; - } - - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedPacketsResponse { const message = createBaseQueryUnreceivedPacketsResponse(); message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; @@ -2265,28 +2245,6 @@ export const QueryUnreceivedAcksRequest = { return message; }, - fromJSON(object: any): QueryUnreceivedAcksRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - packetAckSequences: Array.isArray(object?.packetAckSequences) ? object.packetAckSequences.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: QueryUnreceivedAcksRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - - if (message.packetAckSequences) { - obj.packetAckSequences = message.packetAckSequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.packetAckSequences = []; - } - - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedAcksRequest { const message = createBaseQueryUnreceivedAcksRequest(); message.portId = object.portId ?? ""; @@ -2321,7 +2279,7 @@ export const QueryUnreceivedAcksResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedAcksResponse(); @@ -2356,26 +2314,6 @@ export const QueryUnreceivedAcksResponse = { return message; }, - fromJSON(object: any): QueryUnreceivedAcksResponse { - return { - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Long.fromString(e)) : [], - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryUnreceivedAcksResponse): unknown { - const obj: any = {}; - - if (message.sequences) { - obj.sequences = message.sequences.map(e => (e || Long.UZERO).toString()); - } else { - obj.sequences = []; - } - - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryUnreceivedAcksResponse { const message = createBaseQueryUnreceivedAcksResponse(); message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; @@ -2431,20 +2369,6 @@ export const QueryNextSequenceReceiveRequest = { return message; }, - fromJSON(object: any): QueryNextSequenceReceiveRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - - toJSON(message: QueryNextSequenceReceiveRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, - fromPartial(object: Partial): QueryNextSequenceReceiveRequest { const message = createBaseQueryNextSequenceReceiveRequest(); message.portId = object.portId ?? ""; @@ -2479,7 +2403,7 @@ export const QueryNextSequenceReceiveResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNextSequenceReceiveResponse(); @@ -2509,22 +2433,6 @@ export const QueryNextSequenceReceiveResponse = { return message; }, - fromJSON(object: any): QueryNextSequenceReceiveResponse { - return { - nextSequenceReceive: isSet(object.nextSequenceReceive) ? Long.fromString(object.nextSequenceReceive) : Long.UZERO, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryNextSequenceReceiveResponse): unknown { - const obj: any = {}; - message.nextSequenceReceive !== undefined && (obj.nextSequenceReceive = (message.nextSequenceReceive || Long.UZERO).toString()); - 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): QueryNextSequenceReceiveResponse { const message = createBaseQueryNextSequenceReceiveResponse(); message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts index 973b9a374..799eb6de4 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts @@ -1,5 +1,4 @@ -import { Channel, Packet, Counterparty, stateFromJSON, orderFromJSON } from "./channel"; -import { Height } from "../../client/v1/client"; +import { stateFromJSON, orderFromJSON } from "./channel"; import { AminoMsg } from "@cosmjs/amino"; import { AminoHeight, omitDefault, Long } from "@osmonauts/helpers"; import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts index 292a6781f..667978aad 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts @@ -1,5 +1,3 @@ -import { Channel, Packet } from "./channel"; -import { Height } from "../../client/v1/client"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]]; @@ -152,150 +150,6 @@ export const MessageComposer = { }; } - }, - toJSON: { - channelOpenInit(value: MsgChannelOpenInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", - value: MsgChannelOpenInit.toJSON(value) - }; - }, - - channelOpenTry(value: MsgChannelOpenTry) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", - value: MsgChannelOpenTry.toJSON(value) - }; - }, - - channelOpenAck(value: MsgChannelOpenAck) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", - value: MsgChannelOpenAck.toJSON(value) - }; - }, - - channelOpenConfirm(value: MsgChannelOpenConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", - value: MsgChannelOpenConfirm.toJSON(value) - }; - }, - - channelCloseInit(value: MsgChannelCloseInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", - value: MsgChannelCloseInit.toJSON(value) - }; - }, - - channelCloseConfirm(value: MsgChannelCloseConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", - value: MsgChannelCloseConfirm.toJSON(value) - }; - }, - - recvPacket(value: MsgRecvPacket) { - return { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", - value: MsgRecvPacket.toJSON(value) - }; - }, - - timeout(value: MsgTimeout) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeout", - value: MsgTimeout.toJSON(value) - }; - }, - - timeoutOnClose(value: MsgTimeoutOnClose) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", - value: MsgTimeoutOnClose.toJSON(value) - }; - }, - - acknowledgement(value: MsgAcknowledgement) { - return { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", - value: MsgAcknowledgement.toJSON(value) - }; - } - - }, - fromJSON: { - channelOpenInit(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", - value: MsgChannelOpenInit.fromJSON(value) - }; - }, - - channelOpenTry(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", - value: MsgChannelOpenTry.fromJSON(value) - }; - }, - - channelOpenAck(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", - value: MsgChannelOpenAck.fromJSON(value) - }; - }, - - channelOpenConfirm(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", - value: MsgChannelOpenConfirm.fromJSON(value) - }; - }, - - channelCloseInit(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", - value: MsgChannelCloseInit.fromJSON(value) - }; - }, - - channelCloseConfirm(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", - value: MsgChannelCloseConfirm.fromJSON(value) - }; - }, - - recvPacket(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", - value: MsgRecvPacket.fromJSON(value) - }; - }, - - timeout(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeout", - value: MsgTimeout.fromJSON(value) - }; - }, - - timeoutOnClose(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", - value: MsgTimeoutOnClose.fromJSON(value) - }; - }, - - acknowledgement(value: any) { - return { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", - value: MsgAcknowledgement.fromJSON(value) - }; - } - }, fromPartial: { channelOpenInit(value: MsgChannelOpenInit) { diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts index bf2f4b238..94f7d8538 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -1,40 +1,38 @@ -import { Channel, Packet } from "./channel"; -import { Height } from "../../client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; - +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenInitResponseSDKType, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenTryResponseSDKType, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenAckResponseSDKType, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelOpenConfirmResponseSDKType, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseInitResponseSDKType, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgChannelCloseConfirmResponseSDKType, MsgRecvPacket, MsgRecvPacketResponse, MsgRecvPacketResponseSDKType, MsgTimeout, MsgTimeoutResponse, MsgTimeoutResponseSDKType, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgTimeoutOnCloseResponseSDKType, MsgAcknowledgement, MsgAcknowledgementResponse, MsgAcknowledgementResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - channelOpenInit(request: MsgChannelOpenInit): Promise; + channelOpenInit(request: MsgChannelOpenInit): Promise; /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ - channelOpenTry(request: MsgChannelOpenTry): Promise; + channelOpenTry(request: MsgChannelOpenTry): Promise; /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ - channelOpenAck(request: MsgChannelOpenAck): Promise; + channelOpenAck(request: MsgChannelOpenAck): Promise; /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ - channelCloseInit(request: MsgChannelCloseInit): Promise; + channelCloseInit(request: MsgChannelCloseInit): Promise; /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; /*ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm.*/ - recvPacket(request: MsgRecvPacket): Promise; + recvPacket(request: MsgRecvPacket): Promise; /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ - timeout(request: MsgTimeout): Promise; + timeout(request: MsgTimeout): Promise; /*Timeout defines a rpc handler method for MsgTimeout.*/ - timeoutOnClose(request: MsgTimeoutOnClose): Promise; + timeoutOnClose(request: MsgTimeoutOnClose): Promise; /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ - acknowledgement(request: MsgAcknowledgement): Promise; + acknowledgement(request: MsgAcknowledgement): Promise; /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ } @@ -55,61 +53,61 @@ export class MsgClientImpl implements Msg { this.acknowledgement = this.acknowledgement.bind(this); } - channelOpenInit(request: MsgChannelOpenInit): Promise { + channelOpenInit(request: MsgChannelOpenInit): Promise { const data = MsgChannelOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); } - channelOpenTry(request: MsgChannelOpenTry): Promise { + channelOpenTry(request: MsgChannelOpenTry): Promise { const data = MsgChannelOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); } - channelOpenAck(request: MsgChannelOpenAck): Promise { + channelOpenAck(request: MsgChannelOpenAck): Promise { const data = MsgChannelOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); } - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { const data = MsgChannelOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); } - channelCloseInit(request: MsgChannelCloseInit): Promise { + channelCloseInit(request: MsgChannelCloseInit): Promise { const data = MsgChannelCloseInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); } - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { const data = MsgChannelCloseConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); } - recvPacket(request: MsgRecvPacket): Promise { + recvPacket(request: MsgRecvPacket): Promise { const data = MsgRecvPacket.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); } - timeout(request: MsgTimeout): Promise { + timeout(request: MsgTimeout): Promise { const data = MsgTimeout.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); } - timeoutOnClose(request: MsgTimeoutOnClose): Promise { + timeoutOnClose(request: MsgTimeoutOnClose): Promise { const data = MsgTimeoutOnClose.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); } - acknowledgement(request: MsgAcknowledgement): Promise { + acknowledgement(request: MsgAcknowledgement): Promise { const data = MsgAcknowledgement.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts index bb0d36aea..090d272d2 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts @@ -1,32 +1,45 @@ -import { Channel, Packet } from "./channel"; -import { Height } from "../../client/v1/client"; +import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It * is called by a relayer on Chain A. */ + export interface MsgChannelOpenInit { portId: string; channel: Channel | undefined; signer: string; } +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ +export interface MsgChannelOpenInitSDKType { + port_id: string; + channel: ChannelSDKType | undefined; + signer: string; +} /** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ + export interface MsgChannelOpenInitResponse {} +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ +export interface MsgChannelOpenInitResponseSDKType {} /** * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel * on Chain B. */ + export interface MsgChannelOpenTry { portId: string; - /** * in the case of crossing hello's, when both chains call OpenInit, we need * the channel identifier of the previous channel in state INIT */ + previousChannelId: string; channel: Channel | undefined; counterpartyVersion: string; @@ -34,14 +47,36 @@ export interface MsgChannelOpenTry { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ + +export interface MsgChannelOpenTrySDKType { + port_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + previous_channel_id: string; + channel: ChannelSDKType | undefined; + counterparty_version: string; + proof_init: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ + export interface MsgChannelOpenTryResponse {} +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ +export interface MsgChannelOpenTryResponseSDKType {} /** * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge * the change of channel state to TRYOPEN on Chain B. */ + export interface MsgChannelOpenAck { portId: string; channelId: string; @@ -51,14 +86,31 @@ export interface MsgChannelOpenAck { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ +export interface MsgChannelOpenAckSDKType { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ + export interface MsgChannelOpenAckResponse {} +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ +export interface MsgChannelOpenAckResponseSDKType {} /** * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of channel state to OPEN on Chain A. */ + export interface MsgChannelOpenConfirm { portId: string; channelId: string; @@ -66,30 +118,61 @@ export interface MsgChannelOpenConfirm { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ +export interface MsgChannelOpenConfirmSDKType { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response * type. */ + export interface MsgChannelOpenConfirmResponse {} +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ +export interface MsgChannelOpenConfirmResponseSDKType {} /** * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A * to close a channel with Chain B. */ + export interface MsgChannelCloseInit { portId: string; channelId: string; signer: string; } +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ +export interface MsgChannelCloseInitSDKType { + port_id: string; + channel_id: string; + signer: string; +} /** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ + export interface MsgChannelCloseInitResponse {} +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ +export interface MsgChannelCloseInitResponseSDKType {} /** * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B * to acknowledge the change of channel state to CLOSED on Chain A. */ + export interface MsgChannelCloseConfirm { portId: string; channelId: string; @@ -97,25 +180,54 @@ export interface MsgChannelCloseConfirm { proofHeight: Height | undefined; signer: string; } +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ +export interface MsgChannelCloseConfirmSDKType { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response * type. */ + export interface MsgChannelCloseConfirmResponse {} +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ +export interface MsgChannelCloseConfirmResponseSDKType {} /** MsgRecvPacket receives incoming IBC packet */ + export interface MsgRecvPacket { packet: Packet | undefined; proofCommitment: Uint8Array; proofHeight: Height | undefined; signer: string; } +/** MsgRecvPacket receives incoming IBC packet */ +export interface MsgRecvPacketSDKType { + packet: PacketSDKType | undefined; + proof_commitment: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ + export interface MsgRecvPacketResponse {} +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ +export interface MsgRecvPacketResponseSDKType {} /** MsgTimeout receives timed-out packet */ + export interface MsgTimeout { packet: Packet | undefined; proofUnreceived: Uint8Array; @@ -123,11 +235,23 @@ export interface MsgTimeout { nextSequenceRecv: Long; signer: string; } +/** MsgTimeout receives timed-out packet */ +export interface MsgTimeoutSDKType { + packet: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_height: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} /** MsgTimeoutResponse defines the Msg/Timeout response type. */ + export interface MsgTimeoutResponse {} +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ +export interface MsgTimeoutResponseSDKType {} /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ + export interface MsgTimeoutOnClose { packet: Packet | undefined; proofUnreceived: Uint8Array; @@ -136,11 +260,24 @@ export interface MsgTimeoutOnClose { nextSequenceRecv: Long; signer: string; } +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ +export interface MsgTimeoutOnCloseSDKType { + packet: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} /** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ + export interface MsgTimeoutOnCloseResponse {} +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ +export interface MsgTimeoutOnCloseResponseSDKType {} /** MsgAcknowledgement receives incoming IBC acknowledgement */ + export interface MsgAcknowledgement { packet: Packet | undefined; acknowledgement: Uint8Array; @@ -148,9 +285,21 @@ export interface MsgAcknowledgement { proofHeight: Height | undefined; signer: string; } +/** MsgAcknowledgement receives incoming IBC acknowledgement */ +export interface MsgAcknowledgementSDKType { + packet: PacketSDKType | undefined; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + export interface MsgAcknowledgementResponse {} +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + +export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { @@ -207,22 +356,6 @@ export const MsgChannelOpenInit = { return message; }, - fromJSON(object: any): MsgChannelOpenInit { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenInit): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenInit { const message = createBaseMsgChannelOpenInit(); message.portId = object.portId ?? ""; @@ -242,7 +375,7 @@ export const MsgChannelOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenInitResponse(); @@ -260,15 +393,6 @@ export const MsgChannelOpenInitResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenInitResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenInitResponse { const message = createBaseMsgChannelOpenInitResponse(); return message; @@ -367,30 +491,6 @@ export const MsgChannelOpenTry = { return message; }, - fromJSON(object: any): MsgChannelOpenTry { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - previousChannelId: isSet(object.previousChannelId) ? String(object.previousChannelId) : "", - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined, - counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenTry): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.previousChannelId !== undefined && (obj.previousChannelId = message.previousChannelId); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenTry { const message = createBaseMsgChannelOpenTry(); message.portId = object.portId ?? ""; @@ -414,7 +514,7 @@ export const MsgChannelOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenTryResponse(); @@ -432,15 +532,6 @@ export const MsgChannelOpenTryResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenTryResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenTryResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenTryResponse { const message = createBaseMsgChannelOpenTryResponse(); return message; @@ -539,30 +630,6 @@ export const MsgChannelOpenAck = { return message; }, - fromJSON(object: any): MsgChannelOpenAck { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - counterpartyChannelId: isSet(object.counterpartyChannelId) ? String(object.counterpartyChannelId) : "", - counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "", - proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenAck): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.counterpartyChannelId !== undefined && (obj.counterpartyChannelId = message.counterpartyChannelId); - message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion); - message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenAck { const message = createBaseMsgChannelOpenAck(); message.portId = object.portId ?? ""; @@ -586,7 +653,7 @@ export const MsgChannelOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenAckResponse(); @@ -604,15 +671,6 @@ export const MsgChannelOpenAckResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenAckResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenAckResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenAckResponse { const message = createBaseMsgChannelOpenAckResponse(); return message; @@ -693,26 +751,6 @@ export const MsgChannelOpenConfirm = { return message; }, - fromJSON(object: any): MsgChannelOpenConfirm { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelOpenConfirm): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelOpenConfirm { const message = createBaseMsgChannelOpenConfirm(); message.portId = object.portId ?? ""; @@ -734,7 +772,7 @@ export const MsgChannelOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenConfirmResponse(); @@ -752,15 +790,6 @@ export const MsgChannelOpenConfirmResponse = { return message; }, - fromJSON(_: any): MsgChannelOpenConfirmResponse { - return {}; - }, - - toJSON(_: MsgChannelOpenConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelOpenConfirmResponse { const message = createBaseMsgChannelOpenConfirmResponse(); return message; @@ -823,22 +852,6 @@ export const MsgChannelCloseInit = { return message; }, - fromJSON(object: any): MsgChannelCloseInit { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelCloseInit): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelCloseInit { const message = createBaseMsgChannelCloseInit(); message.portId = object.portId ?? ""; @@ -858,7 +871,7 @@ export const MsgChannelCloseInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseInitResponse(); @@ -876,15 +889,6 @@ export const MsgChannelCloseInitResponse = { return message; }, - fromJSON(_: any): MsgChannelCloseInitResponse { - return {}; - }, - - toJSON(_: MsgChannelCloseInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelCloseInitResponse { const message = createBaseMsgChannelCloseInitResponse(); return message; @@ -965,26 +969,6 @@ export const MsgChannelCloseConfirm = { return message; }, - fromJSON(object: any): MsgChannelCloseConfirm { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "", - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgChannelCloseConfirm): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgChannelCloseConfirm { const message = createBaseMsgChannelCloseConfirm(); message.portId = object.portId ?? ""; @@ -1006,7 +990,7 @@ export const MsgChannelCloseConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseConfirmResponse(); @@ -1024,15 +1008,6 @@ export const MsgChannelCloseConfirmResponse = { return message; }, - fromJSON(_: any): MsgChannelCloseConfirmResponse { - return {}; - }, - - toJSON(_: MsgChannelCloseConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgChannelCloseConfirmResponse { const message = createBaseMsgChannelCloseConfirmResponse(); return message; @@ -1104,24 +1079,6 @@ export const MsgRecvPacket = { return message; }, - fromJSON(object: any): MsgRecvPacket { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofCommitment: isSet(object.proofCommitment) ? bytesFromBase64(object.proofCommitment) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgRecvPacket): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofCommitment !== undefined && (obj.proofCommitment = base64FromBytes(message.proofCommitment !== undefined ? message.proofCommitment : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgRecvPacket { const message = createBaseMsgRecvPacket(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1142,7 +1099,7 @@ export const MsgRecvPacketResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRecvPacketResponse(); @@ -1160,15 +1117,6 @@ export const MsgRecvPacketResponse = { return message; }, - fromJSON(_: any): MsgRecvPacketResponse { - return {}; - }, - - toJSON(_: MsgRecvPacketResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgRecvPacketResponse { const message = createBaseMsgRecvPacketResponse(); return message; @@ -1249,26 +1197,6 @@ export const MsgTimeout = { return message; }, - fromJSON(object: any): MsgTimeout { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgTimeout): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgTimeout { const message = createBaseMsgTimeout(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1290,7 +1218,7 @@ export const MsgTimeoutResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutResponse(); @@ -1308,15 +1236,6 @@ export const MsgTimeoutResponse = { return message; }, - fromJSON(_: any): MsgTimeoutResponse { - return {}; - }, - - toJSON(_: MsgTimeoutResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgTimeoutResponse { const message = createBaseMsgTimeoutResponse(); return message; @@ -1406,28 +1325,6 @@ export const MsgTimeoutOnClose = { return message; }, - fromJSON(object: any): MsgTimeoutOnClose { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(), - proofClose: isSet(object.proofClose) ? bytesFromBase64(object.proofClose) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - nextSequenceRecv: isSet(object.nextSequenceRecv) ? Long.fromString(object.nextSequenceRecv) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgTimeoutOnClose): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.proofUnreceived !== undefined && (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array())); - message.proofClose !== undefined && (obj.proofClose = base64FromBytes(message.proofClose !== undefined ? message.proofClose : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = (message.nextSequenceRecv || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgTimeoutOnClose { const message = createBaseMsgTimeoutOnClose(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1450,7 +1347,7 @@ export const MsgTimeoutOnCloseResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutOnCloseResponse(); @@ -1468,15 +1365,6 @@ export const MsgTimeoutOnCloseResponse = { return message; }, - fromJSON(_: any): MsgTimeoutOnCloseResponse { - return {}; - }, - - toJSON(_: MsgTimeoutOnCloseResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgTimeoutOnCloseResponse { const message = createBaseMsgTimeoutOnCloseResponse(); return message; @@ -1557,26 +1445,6 @@ export const MsgAcknowledgement = { return message; }, - fromJSON(object: any): MsgAcknowledgement { - return { - packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined, - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(), - proofAcked: isSet(object.proofAcked) ? bytesFromBase64(object.proofAcked) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgAcknowledgement): unknown { - const obj: any = {}; - message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - message.proofAcked !== undefined && (obj.proofAcked = base64FromBytes(message.proofAcked !== undefined ? message.proofAcked : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgAcknowledgement { const message = createBaseMsgAcknowledgement(); message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; @@ -1598,7 +1466,7 @@ export const MsgAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgAcknowledgementResponse(); @@ -1616,15 +1484,6 @@ export const MsgAcknowledgementResponse = { return message; }, - fromJSON(_: any): MsgAcknowledgementResponse { - return {}; - }, - - toJSON(_: MsgAcknowledgementResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgAcknowledgementResponse { const message = createBaseMsgAcknowledgementResponse(); return message; diff --git a/examples/telescope/codegen/ibc/core/client/v1/client.ts b/examples/telescope/codegen/ibc/core/client/v1/client.ts index 008be5aeb..b5e632919 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/client.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/client.ts @@ -1,76 +1,134 @@ -import { Any } from "../../../../google/protobuf/any"; -import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ + export interface IdentifiedClientState { /** client identifier */ clientId: string; - /** client state */ + clientState: Any | undefined; } +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ + +export interface IdentifiedClientStateSDKType { + /** client identifier */ + client_id: string; + /** client state */ + client_state: AnySDKType | undefined; +} /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ + export interface ConsensusStateWithHeight { /** consensus state height */ height: Height | undefined; - /** consensus state */ + consensusState: Any | undefined; } +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ +export interface ConsensusStateWithHeightSDKType { + /** consensus state height */ + height: HeightSDKType | undefined; + /** consensus state */ + + consensus_state: AnySDKType | undefined; +} /** * 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[]; } +/** + * ClientConsensusStates defines all the stored consensus states for a given + * client. + */ + +export interface ClientConsensusStatesSDKType { + /** client identifier */ + client_id: string; + /** consensus states and their heights associated with the client */ + 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 { /** the title of the update proposal */ title: string; - /** the description of the proposal */ - description: string; + description: string; /** the client identifier for the client to be updated if the proposal passes */ - subjectClientId: string; + subjectClientId: string; /** * the substitute client identifier for the client standing in for the subject * client */ + substituteClientId: string; } +/** + * 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 { + /** 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; +} /** * UpgradeProposal is a gov Content type for initiating an IBC breaking * upgrade. */ + export interface UpgradeProposal { title: string; description: string; plan: Plan | undefined; - /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -79,9 +137,29 @@ export interface UpgradeProposal { * of the chain. This will allow IBC connections to persist smoothly across * planned chain upgrades */ + upgradedClientState: Any | undefined; } +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ +export interface UpgradeProposalSDKType { + title: string; + description: string; + plan: PlanSDKType | undefined; + /** + * 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: AnySDKType | undefined; +} /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and @@ -94,19 +172,46 @@ export interface UpgradeProposal { * 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; } +/** + * 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 { + /** the revision that the client is currently on */ + revision_number: Long; + /** the height within the given revision */ + + 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[]; } +/** Params defines the set of IBC light client parameters. */ + +export interface ParamsSDKType { + /** allowed_clients defines the list of allowed client state types. */ + allowed_clients: string[]; +} function createBaseIdentifiedClientState(): IdentifiedClientState { return { @@ -154,20 +259,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 ?? ""; @@ -223,20 +314,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; @@ -292,26 +369,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 ?? ""; @@ -385,24 +442,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 ?? ""; @@ -478,24 +517,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 ?? ""; @@ -553,20 +574,6 @@ export const Height = { return message; }, - fromJSON(object: any): Height { - return { - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: Height): unknown { - const obj: any = {}; - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Height { const message = createBaseHeight(); message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; @@ -613,24 +620,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/examples/telescope/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts index 682402ad6..e4ff7bcc0 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts @@ -1,46 +1,86 @@ -import { IdentifiedClientState, ClientConsensusStates, Params } from "./client"; +import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** 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[]; + clientsConsensus: ClientConsensusStates[]; /** metadata from each client */ + clientsMetadata: IdentifiedGenesisMetadata[]; params: Params | undefined; - /** create localhost on initialization */ - createLocalhost: boolean; + createLocalhost: boolean; /** the sequence for the next generated client identifier */ + nextClientSequence: Long; } +/** GenesisState defines the ibc client submodule's genesis state. */ + +export interface GenesisStateSDKType { + /** client states with their corresponding identifiers */ + clients: IdentifiedClientStateSDKType[]; + /** consensus states from each client */ + + clients_consensus: ClientConsensusStatesSDKType[]; + /** metadata from each client */ + clients_metadata: IdentifiedGenesisMetadataSDKType[]; + params: ParamsSDKType | undefined; + /** create localhost on initialization */ + + create_localhost: boolean; + /** the sequence for the next generated client identifier */ + + 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; } +/** + * GenesisMetadata defines the genesis type for metadata that clients may return + * with ExportMetadata + */ + +export interface GenesisMetadataSDKType { + /** store key of metadata without clientID-prefix */ + key: Uint8Array; + /** metadata value */ + value: Uint8Array; +} /** * IdentifiedGenesisMetadata has the client metadata with the corresponding * client id. */ + export interface IdentifiedGenesisMetadata { clientId: string; clientMetadata: GenesisMetadata[]; } +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ + +export interface IdentifiedGenesisMetadataSDKType { + client_id: string; + client_metadata: GenesisMetadataSDKType[]; +} function createBaseGenesisState(): GenesisState { return { @@ -124,44 +164,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) ? Long.fromString(object.nextClientSequence) : Long.UZERO - }; - }, - - 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 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; @@ -221,20 +223,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(); @@ -290,26 +278,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/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts index 7c51bb8e1..ebf8ab744 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts @@ -1,30 +1,37 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); } - /* ClientState queries an IBC light client. */ - async clientState(params: QueryClientStateRequest): Promise { + + + async clientState(params: QueryClientStateRequest): Promise { const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ClientStates queries all the IBC light clients of a chain. */ + + async clientStates(params: QueryClientStatesRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -34,12 +41,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/client/v1/client_states`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ConsensusState queries a consensus state associated with a client state at a given height. */ - async consensusState(params: QueryConsensusStateRequest): Promise { + + + async consensusState(params: QueryConsensusStateRequest): Promise { const options: any = { params: {} }; @@ -49,12 +57,13 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ConsensusStates queries all the consensus state associated with a given client. */ - async consensusStates(params: QueryConsensusStatesRequest): Promise { + + + async consensusStates(params: QueryConsensusStatesRequest): Promise { const options: any = { params: {} }; @@ -64,31 +73,35 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* Status queries the status of an IBC client. */ - async clientStatus(params: QueryClientStatusRequest): Promise { + + + async clientStatus(params: QueryClientStatusRequest): Promise { const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ClientParams queries all parameters of the ibc client. */ - async clientParams(_params: QueryClientParamsRequest = {}): Promise { + + + async clientParams(_params: QueryClientParamsRequest = {}): Promise { const endpoint = `ibc/client/v1/params`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* UpgradedClientState queries an Upgraded IBC light client. */ - async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { + + + async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { const endpoint = `ibc/core/client/v1/upgraded_client_states`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ - async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { + + + async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts index 26b9e9e6d..2229a6a4b 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -1,36 +1,34 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponse, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponse, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - clientState(request: QueryClientStateRequest): Promise; + clientState(request: QueryClientStateRequest): Promise; /*ClientState queries an IBC light client.*/ - clientStates(request: QueryClientStatesRequest): Promise; + clientStates(request?: QueryClientStatesRequest): Promise; /*ClientStates queries all the IBC light clients of a chain.*/ - consensusState(request: QueryConsensusStateRequest): Promise; + consensusState(request: QueryConsensusStateRequest): Promise; /*ConsensusState queries a consensus state associated with a client state at a given height.*/ - consensusStates(request: QueryConsensusStatesRequest): Promise; + consensusStates(request: QueryConsensusStatesRequest): Promise; /*ConsensusStates queries all the consensus state associated with a given client.*/ - clientStatus(request: QueryClientStatusRequest): Promise; + clientStatus(request: QueryClientStatusRequest): Promise; /*Status queries the status of an IBC client.*/ - clientParams(request: QueryClientParamsRequest): Promise; + clientParams(request?: QueryClientParamsRequest): Promise; /*ClientParams queries all parameters of the ibc client.*/ - upgradedClientState(request: QueryUpgradedClientStateRequest): Promise; + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; /*UpgradedClientState queries an Upgraded IBC light client.*/ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ } @@ -49,52 +47,92 @@ export class QueryClientImpl implements Query { this.upgradedConsensusState = this.upgradedConsensusState.bind(this); } - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { const data = QueryClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); } - clientStates(request: QueryClientStatesRequest): Promise { + clientStates(request: QueryClientStatesRequest = { + pagination: undefined + }): Promise { const data = QueryClientStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); } - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { const data = QueryConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); } - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { const data = QueryConsensusStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); } - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { const data = QueryClientStatusRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); } - clientParams(request: QueryClientParamsRequest): Promise { + clientParams(request: QueryClientParamsRequest = {}): Promise { const data = QueryClientParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); } - upgradedClientState(request: QueryUpgradedClientStateRequest): Promise { + upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { const data = QueryUpgradedClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + clientState(request: QueryClientStateRequest): Promise { + return queryService.clientState(request); + }, + + clientStates(request?: QueryClientStatesRequest): Promise { + return queryService.clientStates(request); + }, + + consensusState(request: QueryConsensusStateRequest): Promise { + return queryService.consensusState(request); + }, + + consensusStates(request: QueryConsensusStatesRequest): Promise { + return queryService.consensusStates(request); + }, + + clientStatus(request: QueryClientStatusRequest): Promise { + return queryService.clientStatus(request); + }, + + clientParams(request?: QueryClientParamsRequest): Promise { + return queryService.clientParams(request); + }, + + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { + return queryService.upgradedClientState(request); + }, + + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.ts index f7ff90606..0163ae655 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.ts @@ -1,177 +1,346 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any } from "../../../../google/protobuf/any"; -import { Height, IdentifiedClientState, ConsensusStateWithHeight, Params } from "./client"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method */ + export interface QueryClientStateRequest { /** client state unique identifier */ clientId: string; } +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ +export interface QueryClientStateRequestSDKType { + /** client state unique identifier */ + 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 | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * 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 associated with the request identifier */ + client_state: AnySDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + proof_height: HeightSDKType | undefined; +} /** * QueryClientStatesRequest is the request type for the Query/ClientStates RPC * method */ + export interface QueryClientStatesRequest { /** pagination request */ pagination?: PageRequest | undefined; } +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ +export interface QueryClientStatesRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryClientStatesResponse is the response type for the Query/ClientStates RPC + * method. + */ +export interface QueryClientStatesResponseSDKType { + /** list of stored ClientStates of the chain. */ + client_states: IdentifiedClientStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; +} /** * 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; + revisionNumber: Long; /** consensus state revision height */ - revisionHeight: Long; + revisionHeight: Long; /** * latest_height overrrides the height field and queries the latest stored * ConsensusState */ - latestHeight: boolean; + + latestHeight?: boolean; } +/** + * 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 identifier */ + client_id: string; + /** consensus state revision number */ + + revision_number: Long; + /** consensus state revision height */ + + revision_height: Long; + /** + * latest_height overrrides the height field and queries the latest stored + * ConsensusState + */ + + 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 | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConsensusStateResponse is the response type for the Query/ConsensusState + * RPC method + */ + +export interface QueryConsensusStateResponseSDKType { + /** consensus state associated with the client identifier at the given height */ + consensus_state: AnySDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates * RPC method. */ + export interface QueryConsensusStatesRequest { /** client identifier */ clientId: string; - /** pagination request */ + pagination?: PageRequest | undefined; } +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ + +export interface QueryConsensusStatesRequestSDKType { + /** client identifier */ + client_id: string; + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} /** * 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 | undefined; } +/** + * QueryConsensusStatesResponse is the response type for the + * Query/ConsensusStates RPC method + */ + +export interface QueryConsensusStatesResponseSDKType { + /** consensus states associated with the identifier */ + consensus_states: ConsensusStateWithHeightSDKType[]; + /** pagination response */ + pagination?: PageResponseSDKType | undefined; +} /** * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC * method */ + export interface QueryClientStatusRequest { /** client unique identifier */ clientId: string; } +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ +export interface QueryClientStatusRequestSDKType { + /** client unique identifier */ + 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; } +/** + * 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 {} +/** + * 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 | undefined; } +/** + * QueryClientParamsResponse is the response type for the Query/ClientParams RPC + * method. + */ +export interface QueryClientParamsResponseSDKType { + /** params defines the parameters of the module. */ + params: ParamsSDKType | undefined; +} /** * QueryUpgradedClientStateRequest is the request type for the * Query/UpgradedClientState RPC method */ + export interface QueryUpgradedClientStateRequest {} +/** + * 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 | undefined; } +/** + * QueryUpgradedClientStateResponse is the response type for the + * Query/UpgradedClientState RPC method. + */ +export interface QueryUpgradedClientStateResponseSDKType { + /** client state associated with the request identifier */ + upgraded_client_state: AnySDKType | undefined; +} /** * QueryUpgradedConsensusStateRequest is the request type for the * Query/UpgradedConsensusState RPC method */ + export interface QueryUpgradedConsensusStateRequest {} +/** + * 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 | undefined; } +/** + * QueryUpgradedConsensusStateResponse is the response type for the + * Query/UpgradedConsensusState RPC method. + */ + +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Consensus state associated with the request identifier */ + upgraded_consensus_state: AnySDKType | undefined; +} function createBaseQueryClientStateRequest(): QueryClientStateRequest { return { @@ -210,18 +379,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 ?? ""; @@ -255,7 +412,7 @@ export const QueryClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStateResponse(); @@ -285,22 +442,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; @@ -348,18 +489,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; @@ -388,7 +517,7 @@ export const QueryClientStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatesResponse(); @@ -414,26 +543,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)) || []; @@ -507,24 +616,6 @@ export const QueryConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryConsensusStateRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO, - 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 || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight); - return obj; - }, - fromPartial(object: Partial): QueryConsensusStateRequest { const message = createBaseQueryConsensusStateRequest(); message.clientId = object.clientId ?? ""; @@ -561,7 +652,7 @@ export const QueryConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStateResponse(); @@ -591,22 +682,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; @@ -663,20 +738,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 ?? ""; @@ -706,7 +767,7 @@ export const QueryConsensusStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStatesResponse(); @@ -732,26 +793,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)) || []; @@ -798,18 +839,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 ?? ""; @@ -833,7 +862,7 @@ export const QueryClientStatusResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatusResponse(); @@ -855,18 +884,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 ?? ""; @@ -902,15 +919,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; @@ -933,7 +941,7 @@ export const QueryClientParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientParamsResponse(); @@ -955,18 +963,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; @@ -1002,15 +998,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; @@ -1033,7 +1020,7 @@ export const QueryUpgradedClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedClientStateResponse(); @@ -1055,18 +1042,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; @@ -1102,15 +1077,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; @@ -1133,7 +1099,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -1155,18 +1121,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/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts index e9d9e3b16..b6e162ad4 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../../google/protobuf/any"; import { AminoMsg } from "@cosmjs/amino"; import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; export interface AminoMsgCreateClient extends AminoMsg { diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts index 8af7812ea..461eccde2 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts @@ -1,4 +1,3 @@ -import { Any } from "../../../../google/protobuf/any"; 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]]; @@ -67,66 +66,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) { diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts index 38fcce3cf..32954d23b 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -1,20 +1,19 @@ -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; - +import { MsgCreateClient, MsgCreateClientResponse, MsgCreateClientResponseSDKType, MsgUpdateClient, MsgUpdateClientResponse, MsgUpdateClientResponseSDKType, MsgUpgradeClient, MsgUpgradeClientResponse, MsgUpgradeClientResponseSDKType, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse, MsgSubmitMisbehaviourResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - createClient(request: MsgCreateClient): Promise; + createClient(request: MsgCreateClient): Promise; /*CreateClient defines a rpc handler method for MsgCreateClient.*/ - updateClient(request: MsgUpdateClient): Promise; + updateClient(request: MsgUpdateClient): Promise; /*UpdateClient defines a rpc handler method for MsgUpdateClient.*/ - upgradeClient(request: MsgUpgradeClient): Promise; + upgradeClient(request: MsgUpgradeClient): Promise; /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ } @@ -29,25 +28,25 @@ export class MsgClientImpl implements Msg { this.submitMisbehaviour = this.submitMisbehaviour.bind(this); } - createClient(request: MsgCreateClient): Promise { + createClient(request: MsgCreateClient): Promise { const data = MsgCreateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); } - updateClient(request: MsgUpdateClient): Promise { + updateClient(request: MsgUpdateClient): Promise { const data = MsgUpdateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); } - upgradeClient(request: MsgUpgradeClient): Promise { + upgradeClient(request: MsgUpgradeClient): Promise { const data = MsgUpgradeClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); } - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { const data = MsgSubmitMisbehaviour.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.ts index 25a17d447..1936320d5 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.ts @@ -1,93 +1,179 @@ -import { Any } from "../../../../google/protobuf/any"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** MsgCreateClient defines a message to create an IBC client */ + export interface MsgCreateClient { /** light client state */ clientState: Any | undefined; - /** * consensus state associated with the client that corresponds to a given * height. */ - consensusState: Any | undefined; + consensusState: Any | undefined; /** signer address */ + signer: string; } +/** MsgCreateClient defines a message to create an IBC client */ + +export interface MsgCreateClientSDKType { + /** light client state */ + client_state: AnySDKType | undefined; + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + + consensus_state: AnySDKType | undefined; + /** signer address */ + signer: string; +} /** MsgCreateClientResponse defines the Msg/CreateClient response type. */ + export interface MsgCreateClientResponse {} +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ +export interface MsgCreateClientResponseSDKType {} /** * MsgUpdateClient defines an sdk.Msg to update a IBC client state using * the given header. */ + export interface MsgUpdateClient { /** client unique identifier */ clientId: string; - /** header to update the light client */ - header: Any | undefined; + header: Any | undefined; /** signer address */ + signer: string; } +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ + +export interface MsgUpdateClientSDKType { + /** client unique identifier */ + client_id: string; + /** header to update the light client */ + header: AnySDKType | undefined; + /** signer address */ + + signer: string; +} /** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ + export interface MsgUpdateClientResponse {} +/** 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 | undefined; + clientState: Any | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensusState: Any | undefined; + consensusState: Any | undefined; /** proof that old chain committed to new client */ - proofUpgradeClient: Uint8Array; + proofUpgradeClient: Uint8Array; /** proof that old chain committed to new consensus state */ - proofUpgradeConsensusState: Uint8Array; + proofUpgradeConsensusState: Uint8Array; /** signer address */ + signer: string; } +/** + * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client + * state + */ + +export interface MsgUpgradeClientSDKType { + /** client unique identifier */ + client_id: string; + /** upgraded client state */ + + client_state: AnySDKType | undefined; + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + + consensus_state: AnySDKType | undefined; + /** 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; +} /** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ + export interface MsgUpgradeClientResponse {} +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ +export interface MsgUpgradeClientResponseSDKType {} /** * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for * light client misbehaviour. */ + export interface MsgSubmitMisbehaviour { /** client unique identifier */ clientId: string; - /** misbehaviour used for freezing the light client */ - misbehaviour: Any | undefined; + misbehaviour: Any | undefined; /** signer address */ + signer: string; } +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ + +export interface MsgSubmitMisbehaviourSDKType { + /** client unique identifier */ + client_id: string; + /** misbehaviour used for freezing the light client */ + misbehaviour: AnySDKType | undefined; + /** signer address */ + + signer: string; +} /** * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response * type. */ + export interface MsgSubmitMisbehaviourResponse {} +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ + +export interface MsgSubmitMisbehaviourResponseSDKType {} function createBaseMsgCreateClient(): MsgCreateClient { return { @@ -144,22 +230,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; @@ -179,7 +249,7 @@ export const MsgCreateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateClientResponse(); @@ -197,15 +267,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; @@ -268,22 +329,6 @@ export const MsgUpdateClient = { return message; }, - fromJSON(object: any): MsgUpdateClient { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - header: isSet(object.header) ? Any.fromJSON(object.header) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgUpdateClient): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.header !== undefined && (obj.header = message.header ? Any.toJSON(message.header) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgUpdateClient { const message = createBaseMsgUpdateClient(); message.clientId = object.clientId ?? ""; @@ -303,7 +348,7 @@ export const MsgUpdateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateClientResponse(); @@ -321,15 +366,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; @@ -419,28 +455,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 ?? ""; @@ -463,7 +477,7 @@ export const MsgUpgradeClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpgradeClientResponse(); @@ -481,15 +495,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; @@ -552,22 +557,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 ?? ""; @@ -587,7 +576,7 @@ export const MsgSubmitMisbehaviourResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitMisbehaviourResponse(); @@ -605,15 +594,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/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts index bb3c68749..571febed0 100644 --- a/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts +++ b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts @@ -1,33 +1,57 @@ -import { CommitmentProof } from "../../../../confio/proofs"; +import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** * MerkleRoot defines a merkle root hash. * In the Cosmos SDK, the AppHash of a block header becomes the root. */ + export interface MerkleRoot { hash: Uint8Array; } +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ +export interface MerkleRootSDKType { + hash: Uint8Array; +} /** * MerklePrefix is merkle path prefixed to the key. * The constructed key from the Path and the key will be append(Path.KeyPath, * append(Path.KeyPrefix, key...)) */ + export interface MerklePrefix { keyPrefix: Uint8Array; } +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ +export interface MerklePrefixSDKType { + key_prefix: Uint8Array; +} /** * MerklePath is the path used to verify commitment proofs, which can be an * arbitrary structured object (defined by a commitment type). * MerklePath is represented from root-to-leaf */ + export interface MerklePath { keyPath: string[]; } +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ +export interface MerklePathSDKType { + key_path: string[]; +} /** * MerkleProof is a wrapper type over a chain of CommitmentProofs. * It demonstrates membership or non-membership for an element or set of @@ -35,9 +59,21 @@ export interface MerklePath { * should be succinct. * MerkleProofs are ordered from leaf-to-root */ + export interface MerkleProof { proofs: CommitmentProof[]; } +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ + +export interface MerkleProofSDKType { + proofs: CommitmentProofSDKType[]; +} function createBaseMerkleRoot(): MerkleRoot { return { @@ -76,18 +112,6 @@ export const MerkleRoot = { return message; }, - fromJSON(object: any): MerkleRoot { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - - toJSON(message: MerkleRoot): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MerkleRoot { const message = createBaseMerkleRoot(); message.hash = object.hash ?? new Uint8Array(); @@ -133,18 +157,6 @@ export const MerklePrefix = { return message; }, - fromJSON(object: any): MerklePrefix { - return { - keyPrefix: isSet(object.keyPrefix) ? bytesFromBase64(object.keyPrefix) : new Uint8Array() - }; - }, - - toJSON(message: MerklePrefix): unknown { - const obj: any = {}; - message.keyPrefix !== undefined && (obj.keyPrefix = base64FromBytes(message.keyPrefix !== undefined ? message.keyPrefix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MerklePrefix { const message = createBaseMerklePrefix(); message.keyPrefix = object.keyPrefix ?? new Uint8Array(); @@ -190,24 +202,6 @@ export const MerklePath = { return message; }, - fromJSON(object: any): MerklePath { - return { - keyPath: Array.isArray(object?.keyPath) ? object.keyPath.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: MerklePath): unknown { - const obj: any = {}; - - if (message.keyPath) { - obj.keyPath = message.keyPath.map(e => e); - } else { - obj.keyPath = []; - } - - return obj; - }, - fromPartial(object: Partial): MerklePath { const message = createBaseMerklePath(); message.keyPath = object.keyPath?.map(e => e) || []; @@ -253,24 +247,6 @@ export const MerkleProof = { return message; }, - fromJSON(object: any): MerkleProof { - return { - proofs: Array.isArray(object?.proofs) ? object.proofs.map((e: any) => CommitmentProof.fromJSON(e)) : [] - }; - }, - - toJSON(message: MerkleProof): unknown { - const obj: any = {}; - - if (message.proofs) { - obj.proofs = message.proofs.map(e => e ? CommitmentProof.toJSON(e) : undefined); - } else { - obj.proofs = []; - } - - return obj; - }, - fromPartial(object: Partial): MerkleProof { const message = createBaseMerkleProof(); message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts index 81de3f490..56675b482 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts @@ -1,11 +1,11 @@ -import { MerklePrefix } from "../../commitment/v1/commitment"; +import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * State defines if a connection is in one of the following states: * INIT, TRYOPEN, OPEN or UNINITIALIZED. */ + export enum State { /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ STATE_UNINITIALIZED_UNSPECIFIED = 0, @@ -23,6 +23,28 @@ export enum State { STATE_OPEN = 3, UNRECOGNIZED = -1, } +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} export function stateFromJSON(object: any): State { switch (object) { case 0: @@ -65,110 +87,212 @@ export function stateToJSON(object: State): string { return "UNKNOWN"; } } - /** * ConnectionEnd defines a stateful object on a chain connected to another * separate one. * NOTE: there must only be 2 defined ConnectionEnds to establish * a connection between two chains. */ + export interface ConnectionEnd { /** client associated with this connection. */ clientId: string; - /** * IBC version which can be utilised to determine encodings or protocols for * channels or packets utilising this connection. */ - versions: Version[]; + versions: Version[]; /** current state of the connection end. */ - state: State; + state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some * clients. */ + delayPeriod: Long; } +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ + +export interface ConnectionEndSDKType { + /** client associated with this connection. */ + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty: CounterpartySDKType | undefined; + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + delay_period: Long; +} /** * IdentifiedConnection defines a connection with additional connection * identifier field. */ + export interface IdentifiedConnection { /** connection identifier. */ id: string; - /** client associated with this connection. */ - clientId: string; + clientId: string; /** * IBC version which can be utilised to determine encodings or protocols for * channels or packets utilising this connection */ - versions: Version[]; + versions: Version[]; /** current state of the connection end. */ - state: State; + state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** delay period associated with this connection. */ + delayPeriod: Long; } +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ + +export interface IdentifiedConnectionSDKType { + /** connection identifier. */ + id: string; + /** client associated with this connection. */ + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty: CounterpartySDKType | undefined; + /** delay period associated with this connection. */ + + delay_period: Long; +} /** Counterparty defines the counterparty chain associated with a connection end. */ + export interface Counterparty { /** * identifies the client on the counterparty chain associated with a given * connection. */ clientId: string; - /** * identifies the connection end on the counterparty chain associated with a * given connection. */ - connectionId: string; + connectionId: string; /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefix | undefined; } +/** Counterparty defines the counterparty chain associated with a connection end. */ + +export interface CounterpartySDKType { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + client_id: string; + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + + connection_id: string; + /** commitment merkle prefix of the counterparty chain. */ + prefix: MerklePrefixSDKType | undefined; +} /** ClientPaths define all the connection paths for a client state. */ + export interface ClientPaths { /** list of connection paths */ paths: string[]; } +/** ClientPaths define all the connection paths for a client state. */ +export interface ClientPathsSDKType { + /** list of connection paths */ + paths: string[]; +} /** ConnectionPaths define all the connection paths for a given client state. */ + export interface ConnectionPaths { /** client state unique identifier */ clientId: string; - /** list of connection paths */ + paths: string[]; } +/** ConnectionPaths define all the connection paths for a given client state. */ + +export interface ConnectionPathsSDKType { + /** client state unique identifier */ + client_id: string; + /** list of connection paths */ + paths: string[]; +} /** * Version defines the versioning scheme used to negotiate the IBC verison in * the connection handshake. */ + export interface Version { /** unique version identifier */ identifier: string; - /** list of features compatible with the specified identifier */ + features: string[]; } +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ +export interface VersionSDKType { + /** unique version identifier */ + identifier: string; + /** list of features compatible with the specified identifier */ + + features: string[]; +} /** Params defines the set of Connection parameters. */ + export interface Params { /** * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the @@ -177,6 +301,16 @@ export interface Params { */ maxExpectedTimePerBlock: Long; } +/** Params defines the set of Connection parameters. */ + +export interface ParamsSDKType { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + max_expected_time_per_block: Long; +} function createBaseConnectionEnd(): ConnectionEnd { return { @@ -251,32 +385,6 @@ export const ConnectionEnd = { return message; }, - fromJSON(object: any): ConnectionEnd { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO - }; - }, - - toJSON(message: ConnectionEnd): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.versions) { - obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.versions = []; - } - - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConnectionEnd { const message = createBaseConnectionEnd(); message.clientId = object.clientId ?? ""; @@ -371,34 +479,6 @@ export const IdentifiedConnection = { return message; }, - fromJSON(object: any): IdentifiedConnection { - return { - id: isSet(object.id) ? String(object.id) : "", - clientId: isSet(object.clientId) ? String(object.clientId) : "", - versions: Array.isArray(object?.versions) ? object.versions.map((e: any) => Version.fromJSON(e)) : [], - state: isSet(object.state) ? stateFromJSON(object.state) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO - }; - }, - - toJSON(message: IdentifiedConnection): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.versions) { - obj.versions = message.versions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.versions = []; - } - - message.state !== undefined && (obj.state = stateToJSON(message.state)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): IdentifiedConnection { const message = createBaseIdentifiedConnection(); message.id = object.id ?? ""; @@ -467,22 +547,6 @@ export const Counterparty = { return message; }, - fromJSON(object: any): Counterparty { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - prefix: isSet(object.prefix) ? MerklePrefix.fromJSON(object.prefix) : undefined - }; - }, - - toJSON(message: Counterparty): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.prefix !== undefined && (obj.prefix = message.prefix ? MerklePrefix.toJSON(message.prefix) : undefined); - return obj; - }, - fromPartial(object: Partial): Counterparty { const message = createBaseCounterparty(); message.clientId = object.clientId ?? ""; @@ -530,24 +594,6 @@ export const ClientPaths = { return message; }, - fromJSON(object: any): ClientPaths { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: ClientPaths): unknown { - const obj: any = {}; - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): ClientPaths { const message = createBaseClientPaths(); message.paths = object.paths?.map(e => e) || []; @@ -602,26 +648,6 @@ export const ConnectionPaths = { return message; }, - fromJSON(object: any): ConnectionPaths { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: ConnectionPaths): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - - return obj; - }, - fromPartial(object: Partial): ConnectionPaths { const message = createBaseConnectionPaths(); message.clientId = object.clientId ?? ""; @@ -677,26 +703,6 @@ export const Version = { return message; }, - fromJSON(object: any): Version { - return { - identifier: isSet(object.identifier) ? String(object.identifier) : "", - features: Array.isArray(object?.features) ? object.features.map((e: any) => String(e)) : [] - }; - }, - - toJSON(message: Version): unknown { - const obj: any = {}; - message.identifier !== undefined && (obj.identifier = message.identifier); - - if (message.features) { - obj.features = message.features.map(e => e); - } else { - obj.features = []; - } - - return obj; - }, - fromPartial(object: Partial): Version { const message = createBaseVersion(); message.identifier = object.identifier ?? ""; @@ -743,18 +749,6 @@ export const Params = { return message; }, - fromJSON(object: any): Params { - return { - maxExpectedTimePerBlock: isSet(object.maxExpectedTimePerBlock) ? Long.fromString(object.maxExpectedTimePerBlock) : Long.UZERO - }; - }, - - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxExpectedTimePerBlock !== undefined && (obj.maxExpectedTimePerBlock = (message.maxExpectedTimePerBlock || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Params { const message = createBaseParams(); message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts index 91a46ff82..d9f7145f8 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts @@ -1,16 +1,26 @@ -import { IdentifiedConnection, ConnectionPaths, Params } from "./connection"; +import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** GenesisState defines the ibc connection submodule's genesis state. */ + export interface GenesisState { connections: IdentifiedConnection[]; clientConnectionPaths: ConnectionPaths[]; - /** the sequence for the next generated connection identifier */ + nextConnectionSequence: Long; params: Params | undefined; } +/** GenesisState defines the ibc connection submodule's genesis state. */ + +export interface GenesisStateSDKType { + connections: IdentifiedConnectionSDKType[]; + client_connection_paths: ConnectionPathsSDKType[]; + /** the sequence for the next generated connection identifier */ + + next_connection_sequence: Long; + params: ParamsSDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -76,35 +86,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], - clientConnectionPaths: Array.isArray(object?.clientConnectionPaths) ? object.clientConnectionPaths.map((e: any) => ConnectionPaths.fromJSON(e)) : [], - nextConnectionSequence: isSet(object.nextConnectionSequence) ? Long.fromString(object.nextConnectionSequence) : Long.UZERO, - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - - if (message.connections) { - obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); - } else { - obj.connections = []; - } - - if (message.clientConnectionPaths) { - obj.clientConnectionPaths = message.clientConnectionPaths.map(e => e ? ConnectionPaths.toJSON(e) : undefined); - } else { - obj.clientConnectionPaths = []; - } - - message.nextConnectionSequence !== undefined && (obj.nextConnectionSequence = (message.nextConnectionSequence || Long.UZERO).toString()); - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts index d49442213..3f36d30cf 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts @@ -1,31 +1,34 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; -import { LCDClient } from "@osmonauts/lcd"; import { setPaginationParams } from "@osmonauts/helpers"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; -export class LCDQueryClient extends LCDClient { +import { LCDClient } from "@osmonauts/lcd"; +import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + constructor({ - restEndpoint + requestClient }: { - restEndpoint: string; + requestClient: LCDClient; }) { - super({ - restEndpoint - }); + this.req = requestClient; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); } - /* Connection queries an IBC connection end. */ - async connection(params: QueryConnectionRequest): Promise { + + + async connection(params: QueryConnectionRequest): Promise { const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* Connections queries all the IBC connections of a chain. */ + + async connections(params: QueryConnectionsRequest = { pagination: undefined - }): Promise { + }): Promise { const options: any = { params: {} }; @@ -35,28 +38,31 @@ export class LCDQueryClient extends LCDClient { } const endpoint = `ibc/core/connection/v1/connections`; - return await this.request(endpoint, options); + return await this.req.get(endpoint, options); } - /* ClientConnections queries the connection paths associated with a client state. */ - async clientConnections(params: QueryClientConnectionsRequest): Promise { + + + async clientConnections(params: QueryClientConnectionsRequest): Promise { const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ConnectionClientState queries the client state associated with the connection. */ - async connectionClientState(params: QueryConnectionClientStateRequest): Promise { + + + async connectionClientState(params: QueryConnectionClientStateRequest): Promise { const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; - return await this.request(endpoint); + return await this.req.get(endpoint); } - /* ConnectionConsensusState queries the consensus state associated with the connection. */ - async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { + + + async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.request(endpoint); + return await this.req.get(endpoint); } } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts index c8aa8c327..eb31397af 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -1,28 +1,25 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponse, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse, QueryConnectionConsensusStateResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - connection(request: QueryConnectionRequest): Promise; + connection(request: QueryConnectionRequest): Promise; /*Connection queries an IBC connection end.*/ - connections(request: QueryConnectionsRequest): Promise; + connections(request?: QueryConnectionsRequest): Promise; /*Connections queries all the IBC connections of a chain.*/ - clientConnections(request: QueryClientConnectionsRequest): Promise; + clientConnections(request: QueryClientConnectionsRequest): Promise; /*ClientConnections queries the connection paths associated with a client state.*/ - connectionClientState(request: QueryConnectionClientStateRequest): Promise; + connectionClientState(request: QueryConnectionClientStateRequest): Promise; /*ConnectionClientState queries the client state associated with the connection.*/ - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; /*ConnectionConsensusState queries the consensus state associated with the connection.*/ @@ -39,34 +36,62 @@ export class QueryClientImpl implements Query { this.connectionConsensusState = this.connectionConsensusState.bind(this); } - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { const data = QueryConnectionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); } - connections(request: QueryConnectionsRequest): Promise { + connections(request: QueryConnectionsRequest = { + pagination: undefined + }): Promise { const data = QueryConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); } - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { const data = QueryClientConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); } - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { const data = QueryConnectionClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); } - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { const data = QueryConnectionConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + connection(request: QueryConnectionRequest): Promise { + return queryService.connection(request); + }, + + connections(request?: QueryConnectionsRequest): Promise { + return queryService.connections(request); + }, + + clientConnections(request: QueryClientConnectionsRequest): Promise { + return queryService.clientConnections(request); + }, + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + return queryService.connectionClientState(request); + }, + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + return queryService.connectionConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.ts index c6c0d9ac5..806638982 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.ts @@ -1,134 +1,259 @@ -import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, IdentifiedConnection } from "./connection"; -import { Height, IdentifiedClientState } from "../../client/v1/client"; -import { Any } from "../../../../google/protobuf/any"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * QueryConnectionRequest is the request type for the Query/Connection RPC * method */ + export interface QueryConnectionRequest { /** connection unique identifier */ connectionId: string; } +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ +export interface QueryConnectionRequestSDKType { + /** connection unique identifier */ + connection_id: string; +} /** * QueryConnectionResponse is the response type for the Query/Connection RPC * method. Besides the connection end, it includes a proof and the height from * which the proof was retrieved. */ + export interface QueryConnectionResponse { /** connection associated with the request identifier */ connection: ConnectionEnd | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ + +export interface QueryConnectionResponseSDKType { + /** connection associated with the request identifier */ + connection: ConnectionEndSDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionsRequest is the request type for the Query/Connections RPC * method */ + export interface QueryConnectionsRequest { pagination?: PageRequest | undefined; } +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ +export interface QueryConnectionsRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} /** * QueryConnectionsResponse is the response type for the Query/Connections RPC * method. */ + export interface QueryConnectionsResponse { /** list of stored connections of the chain. */ connections: IdentifiedConnection[]; - /** pagination response */ - pagination?: PageResponse | undefined; + pagination?: PageResponse | undefined; /** query block height */ + height: Height | undefined; } +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ +export interface QueryConnectionsResponseSDKType { + /** list of stored connections of the chain. */ + connections: IdentifiedConnectionSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height: HeightSDKType | undefined; +} /** * QueryClientConnectionsRequest is the request type for the * Query/ClientConnections RPC method */ + export interface QueryClientConnectionsRequest { /** client identifier associated with a connection */ clientId: string; } +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsRequestSDKType { + /** client identifier associated with a connection */ + client_id: string; +} /** * QueryClientConnectionsResponse is the response type for the * Query/ClientConnections RPC method */ + export interface QueryClientConnectionsResponse { /** slice of all the connection paths associated with a client. */ connectionPaths: string[]; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was generated */ + proofHeight: Height | undefined; } +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ +export interface QueryClientConnectionsResponseSDKType { + /** slice of all the connection paths associated with a client. */ + connection_paths: string[]; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was generated */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionClientStateRequest is the request type for the * Query/ConnectionClientState RPC method */ + export interface QueryConnectionClientStateRequest { /** connection identifier */ connectionId: string; } +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ +export interface QueryConnectionClientStateRequestSDKType { + /** connection identifier */ + connection_id: string; +} /** * QueryConnectionClientStateResponse is the response type for the * Query/ConnectionClientState RPC method */ + export interface QueryConnectionClientStateResponse { /** client state associated with the channel */ identifiedClientState: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} /** * QueryConnectionConsensusStateRequest is the request type for the * Query/ConnectionConsensusState RPC method */ + export interface QueryConnectionConsensusStateRequest { /** connection identifier */ connectionId: string; revisionNumber: Long; revisionHeight: Long; } +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ +export interface QueryConnectionConsensusStateRequestSDKType { + /** connection identifier */ + connection_id: string; + revision_number: Long; + revision_height: Long; +} /** * QueryConnectionConsensusStateResponse is the response type for the * Query/ConnectionConsensusState RPC method */ + export interface QueryConnectionConsensusStateResponse { /** consensus state associated with the channel */ consensusState: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; + clientId: string; /** merkle proof of existence */ - proof: Uint8Array; + proof: Uint8Array; /** height at which the proof was retrieved */ + proofHeight: Height | undefined; } +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height: HeightSDKType | undefined; +} function createBaseQueryConnectionRequest(): QueryConnectionRequest { return { @@ -167,18 +292,6 @@ export const QueryConnectionRequest = { return message; }, - fromJSON(object: any): QueryConnectionRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" - }; - }, - - toJSON(message: QueryConnectionRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - return obj; - }, - fromPartial(object: Partial): QueryConnectionRequest { const message = createBaseQueryConnectionRequest(); message.connectionId = object.connectionId ?? ""; @@ -212,7 +325,7 @@ export const QueryConnectionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionResponse(); @@ -242,22 +355,6 @@ export const QueryConnectionResponse = { return message; }, - fromJSON(object: any): QueryConnectionResponse { - return { - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionResponse): unknown { - const obj: any = {}; - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : 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): QueryConnectionResponse { const message = createBaseQueryConnectionResponse(); message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; @@ -305,18 +402,6 @@ export const QueryConnectionsRequest = { return message; }, - fromJSON(object: any): QueryConnectionsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - - toJSON(message: QueryConnectionsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionsRequest { const message = createBaseQueryConnectionsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -350,7 +435,7 @@ export const QueryConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionsResponse(); @@ -380,28 +465,6 @@ export const QueryConnectionsResponse = { return message; }, - fromJSON(object: any): QueryConnectionsResponse { - return { - connections: Array.isArray(object?.connections) ? object.connections.map((e: any) => IdentifiedConnection.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: QueryConnectionsResponse): unknown { - const obj: any = {}; - - if (message.connections) { - obj.connections = message.connections.map(e => e ? IdentifiedConnection.toJSON(e) : undefined); - } else { - obj.connections = []; - } - - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConnectionsResponse { const message = createBaseQueryConnectionsResponse(); message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; @@ -449,18 +512,6 @@ export const QueryClientConnectionsRequest = { return message; }, - fromJSON(object: any): QueryClientConnectionsRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "" - }; - }, - - toJSON(message: QueryClientConnectionsRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - return obj; - }, - fromPartial(object: Partial): QueryClientConnectionsRequest { const message = createBaseQueryClientConnectionsRequest(); message.clientId = object.clientId ?? ""; @@ -494,7 +545,7 @@ export const QueryClientConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientConnectionsResponse(); @@ -524,28 +575,6 @@ export const QueryClientConnectionsResponse = { return message; }, - fromJSON(object: any): QueryClientConnectionsResponse { - return { - connectionPaths: Array.isArray(object?.connectionPaths) ? object.connectionPaths.map((e: any) => String(e)) : [], - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryClientConnectionsResponse): unknown { - const obj: any = {}; - - if (message.connectionPaths) { - obj.connectionPaths = message.connectionPaths.map(e => e); - } else { - obj.connectionPaths = []; - } - - 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): QueryClientConnectionsResponse { const message = createBaseQueryClientConnectionsResponse(); message.connectionPaths = object.connectionPaths?.map(e => e) || []; @@ -593,18 +622,6 @@ export const QueryConnectionClientStateRequest = { return message; }, - fromJSON(object: any): QueryConnectionClientStateRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" - }; - }, - - toJSON(message: QueryConnectionClientStateRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - return obj; - }, - fromPartial(object: Partial): QueryConnectionClientStateRequest { const message = createBaseQueryConnectionClientStateRequest(); message.connectionId = object.connectionId ?? ""; @@ -638,7 +655,7 @@ export const QueryConnectionClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionClientStateResponse(); @@ -668,22 +685,6 @@ export const QueryConnectionClientStateResponse = { return message; }, - fromJSON(object: any): QueryConnectionClientStateResponse { - return { - identifiedClientState: isSet(object.identifiedClientState) ? IdentifiedClientState.fromJSON(object.identifiedClientState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionClientStateResponse): unknown { - const obj: any = {}; - message.identifiedClientState !== undefined && (obj.identifiedClientState = message.identifiedClientState ? IdentifiedClientState.toJSON(message.identifiedClientState) : 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): QueryConnectionClientStateResponse { const message = createBaseQueryConnectionClientStateResponse(); message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; @@ -749,22 +750,6 @@ export const QueryConnectionConsensusStateRequest = { return message; }, - fromJSON(object: any): QueryConnectionConsensusStateRequest { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - revisionNumber: isSet(object.revisionNumber) ? Long.fromString(object.revisionNumber) : Long.UZERO, - revisionHeight: isSet(object.revisionHeight) ? Long.fromString(object.revisionHeight) : Long.UZERO - }; - }, - - toJSON(message: QueryConnectionConsensusStateRequest): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || Long.UZERO).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): QueryConnectionConsensusStateRequest { const message = createBaseQueryConnectionConsensusStateRequest(); message.connectionId = object.connectionId ?? ""; @@ -805,7 +790,7 @@ export const QueryConnectionConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionConsensusStateResponse(); @@ -839,24 +824,6 @@ export const QueryConnectionConsensusStateResponse = { return message; }, - fromJSON(object: any): QueryConnectionConsensusStateResponse { - return { - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - clientId: isSet(object.clientId) ? String(object.clientId) : "", - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - - toJSON(message: QueryConnectionConsensusStateResponse): unknown { - const obj: any = {}; - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.clientId !== undefined && (obj.clientId = message.clientId); - 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): QueryConnectionConsensusStateResponse { const message = createBaseQueryConnectionConsensusStateResponse(); message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts index 2ef8153ad..672bcc142 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts @@ -1,9 +1,5 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; import { AminoMsg } from "@cosmjs/amino"; import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; -import { MerklePrefix } from "../../commitment/v1/commitment"; import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; export interface AminoMsgConnectionOpenInit extends AminoMsg { type: "cosmos-sdk/MsgConnectionOpenInit"; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts index 9fef6dbdd..1cc79cfa4 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts @@ -1,6 +1,3 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm]]; @@ -69,66 +66,6 @@ export const MessageComposer = { }; } - }, - toJSON: { - connectionOpenInit(value: MsgConnectionOpenInit) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", - value: MsgConnectionOpenInit.toJSON(value) - }; - }, - - connectionOpenTry(value: MsgConnectionOpenTry) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", - value: MsgConnectionOpenTry.toJSON(value) - }; - }, - - connectionOpenAck(value: MsgConnectionOpenAck) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", - value: MsgConnectionOpenAck.toJSON(value) - }; - }, - - connectionOpenConfirm(value: MsgConnectionOpenConfirm) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", - value: MsgConnectionOpenConfirm.toJSON(value) - }; - } - - }, - fromJSON: { - connectionOpenInit(value: any) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", - value: MsgConnectionOpenInit.fromJSON(value) - }; - }, - - connectionOpenTry(value: any) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", - value: MsgConnectionOpenTry.fromJSON(value) - }; - }, - - connectionOpenAck(value: any) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", - value: MsgConnectionOpenAck.fromJSON(value) - }; - }, - - connectionOpenConfirm(value: any) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", - value: MsgConnectionOpenConfirm.fromJSON(value) - }; - } - }, fromPartial: { connectionOpenInit(value: MsgConnectionOpenInit) { diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts index c25e4f693..5a29f86b4 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -1,22 +1,19 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; - +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenInitResponseSDKType, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenTryResponseSDKType, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenAckResponseSDKType, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse, MsgConnectionOpenConfirmResponseSDKType } from "./tx"; /** Msg defines the RPC service */ + export interface Msg { - connectionOpenInit(request: MsgConnectionOpenInit): Promise; + connectionOpenInit(request: MsgConnectionOpenInit): Promise; /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ - connectionOpenTry(request: MsgConnectionOpenTry): Promise; + connectionOpenTry(request: MsgConnectionOpenTry): Promise; /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ - connectionOpenAck(request: MsgConnectionOpenAck): Promise; + connectionOpenAck(request: MsgConnectionOpenAck): Promise; /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; /*ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.*/ @@ -32,25 +29,25 @@ export class MsgClientImpl implements Msg { this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); } - connectionOpenInit(request: MsgConnectionOpenInit): Promise { + connectionOpenInit(request: MsgConnectionOpenInit): Promise { const data = MsgConnectionOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); } - connectionOpenTry(request: MsgConnectionOpenTry): Promise { + connectionOpenTry(request: MsgConnectionOpenTry): Promise { const data = MsgConnectionOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); } - connectionOpenAck(request: MsgConnectionOpenAck): Promise { + connectionOpenAck(request: MsgConnectionOpenAck): Promise { const data = MsgConnectionOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); } - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { const data = MsgConnectionOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts index 8ccaed5cb..344a50b3a 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts @@ -1,13 +1,13 @@ -import { Counterparty, Version } from "./connection"; -import { Any } from "../../../../google/protobuf/any"; -import { Height } from "../../client/v1/client"; +import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. */ + export interface MsgConnectionOpenInit { clientId: string; counterparty: Counterparty | undefined; @@ -15,96 +15,198 @@ export interface MsgConnectionOpenInit { delayPeriod: Long; signer: string; } +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ +export interface MsgConnectionOpenInitSDKType { + client_id: string; + counterparty: CounterpartySDKType | undefined; + version: VersionSDKType | undefined; + delay_period: Long; + signer: string; +} /** * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response * type. */ + export interface MsgConnectionOpenInitResponse {} +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ +export interface MsgConnectionOpenInitResponseSDKType {} /** * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a * connection on Chain B. */ + export interface MsgConnectionOpenTry { clientId: string; - /** * in the case of crossing hello's, when both chains call OpenInit, we need * the connection identifier of the previous connection in state INIT */ + previousConnectionId: string; clientState: Any | undefined; counterparty: Counterparty | undefined; delayPeriod: Long; counterpartyVersions: Version[]; proofHeight: Height | undefined; - /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` */ - proofInit: Uint8Array; + proofInit: Uint8Array; /** proof of client state included in message */ - proofClient: Uint8Array; + proofClient: Uint8Array; /** proof of client consensus state */ + proofConsensus: Uint8Array; consensusHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ +export interface MsgConnectionOpenTrySDKType { + client_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + + previous_connection_id: string; + client_state: AnySDKType | undefined; + counterparty: CounterpartySDKType | undefined; + delay_period: Long; + counterparty_versions: VersionSDKType[]; + proof_height: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + + proof_init: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height: HeightSDKType | undefined; + signer: string; +} /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ + export interface MsgConnectionOpenTryResponse {} +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ +export interface MsgConnectionOpenTryResponseSDKType {} /** * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to * acknowledge the change of connection state to TRYOPEN on Chain B. */ + export interface MsgConnectionOpenAck { connectionId: string; counterpartyConnectionId: string; version: Version | undefined; clientState: Any | undefined; proofHeight: Height | undefined; - /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` */ - proofTry: Uint8Array; + proofTry: Uint8Array; /** proof of client state included in message */ - proofClient: Uint8Array; + proofClient: Uint8Array; /** proof of client consensus state */ + proofConsensus: Uint8Array; consensusHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ +export interface MsgConnectionOpenAckSDKType { + connection_id: string; + counterparty_connection_id: string; + version: VersionSDKType | undefined; + client_state: AnySDKType | undefined; + proof_height: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + + proof_try: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height: HeightSDKType | undefined; + signer: string; +} /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ + export interface MsgConnectionOpenAckResponse {} +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ +export interface MsgConnectionOpenAckResponseSDKType {} /** * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to * acknowledge the change of connection state to OPEN on Chain A. */ + export interface MsgConnectionOpenConfirm { connectionId: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proofAck: Uint8Array; proofHeight: Height | undefined; signer: string; } +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ + +export interface MsgConnectionOpenConfirmSDKType { + connection_id: string; + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + proof_ack: Uint8Array; + proof_height: HeightSDKType | undefined; + signer: string; +} /** * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm * response type. */ + export interface MsgConnectionOpenConfirmResponse {} +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ + +export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { @@ -179,26 +281,6 @@ export const MsgConnectionOpenInit = { return message; }, - fromJSON(object: any): MsgConnectionOpenInit { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenInit): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenInit { const message = createBaseMsgConnectionOpenInit(); message.clientId = object.clientId ?? ""; @@ -220,7 +302,7 @@ export const MsgConnectionOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenInitResponse(); @@ -238,15 +320,6 @@ export const MsgConnectionOpenInitResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenInitResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenInitResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenInitResponse { const message = createBaseMsgConnectionOpenInitResponse(); return message; @@ -390,46 +463,6 @@ export const MsgConnectionOpenTry = { return message; }, - fromJSON(object: any): MsgConnectionOpenTry { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - previousConnectionId: isSet(object.previousConnectionId) ? String(object.previousConnectionId) : "", - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - delayPeriod: isSet(object.delayPeriod) ? Long.fromString(object.delayPeriod) : Long.UZERO, - counterpartyVersions: Array.isArray(object?.counterpartyVersions) ? object.counterpartyVersions.map((e: any) => Version.fromJSON(e)) : [], - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(), - proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), - proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), - consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenTry): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.previousConnectionId !== undefined && (obj.previousConnectionId = message.previousConnectionId); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.delayPeriod !== undefined && (obj.delayPeriod = (message.delayPeriod || Long.UZERO).toString()); - - if (message.counterpartyVersions) { - obj.counterpartyVersions = message.counterpartyVersions.map(e => e ? Version.toJSON(e) : undefined); - } else { - obj.counterpartyVersions = []; - } - - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.proofInit !== undefined && (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array())); - message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); - message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); - message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenTry { const message = createBaseMsgConnectionOpenTry(); message.clientId = object.clientId ?? ""; @@ -458,7 +491,7 @@ export const MsgConnectionOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenTryResponse(); @@ -476,15 +509,6 @@ export const MsgConnectionOpenTryResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenTryResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenTryResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenTryResponse { const message = createBaseMsgConnectionOpenTryResponse(); return message; @@ -610,36 +634,6 @@ export const MsgConnectionOpenAck = { return message; }, - fromJSON(object: any): MsgConnectionOpenAck { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - counterpartyConnectionId: isSet(object.counterpartyConnectionId) ? String(object.counterpartyConnectionId) : "", - version: isSet(object.version) ? Version.fromJSON(object.version) : undefined, - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(), - proofClient: isSet(object.proofClient) ? bytesFromBase64(object.proofClient) : new Uint8Array(), - proofConsensus: isSet(object.proofConsensus) ? bytesFromBase64(object.proofConsensus) : new Uint8Array(), - consensusHeight: isSet(object.consensusHeight) ? Height.fromJSON(object.consensusHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenAck): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.counterpartyConnectionId !== undefined && (obj.counterpartyConnectionId = message.counterpartyConnectionId); - message.version !== undefined && (obj.version = message.version ? Version.toJSON(message.version) : undefined); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.proofTry !== undefined && (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array())); - message.proofClient !== undefined && (obj.proofClient = base64FromBytes(message.proofClient !== undefined ? message.proofClient : new Uint8Array())); - message.proofConsensus !== undefined && (obj.proofConsensus = base64FromBytes(message.proofConsensus !== undefined ? message.proofConsensus : new Uint8Array())); - message.consensusHeight !== undefined && (obj.consensusHeight = message.consensusHeight ? Height.toJSON(message.consensusHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenAck { const message = createBaseMsgConnectionOpenAck(); message.connectionId = object.connectionId ?? ""; @@ -666,7 +660,7 @@ export const MsgConnectionOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenAckResponse(); @@ -684,15 +678,6 @@ export const MsgConnectionOpenAckResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenAckResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenAckResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenAckResponse { const message = createBaseMsgConnectionOpenAckResponse(); return message; @@ -764,24 +749,6 @@ export const MsgConnectionOpenConfirm = { return message; }, - fromJSON(object: any): MsgConnectionOpenConfirm { - return { - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - - toJSON(message: MsgConnectionOpenConfirm): unknown { - const obj: any = {}; - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.proofAck !== undefined && (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: Partial): MsgConnectionOpenConfirm { const message = createBaseMsgConnectionOpenConfirm(); message.connectionId = object.connectionId ?? ""; @@ -802,7 +769,7 @@ export const MsgConnectionOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenConfirmResponse(); @@ -820,15 +787,6 @@ export const MsgConnectionOpenConfirmResponse = { return message; }, - fromJSON(_: any): MsgConnectionOpenConfirmResponse { - return {}; - }, - - toJSON(_: MsgConnectionOpenConfirmResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { const message = createBaseMsgConnectionOpenConfirmResponse(); return message; diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts index 466bff1b0..f6f39eba1 100644 --- a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -1,11 +1,11 @@ -import { Order, Counterparty } from "../../channel/v1/channel"; import { Rpc } from "@osmonauts/helpers"; import * as _m0 from "protobufjs/minimal"; -import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; - +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAppVersionRequest, QueryAppVersionResponse, QueryAppVersionResponseSDKType } from "./query"; /** Query defines the RPC service */ + export interface Query { - appVersion(request: QueryAppVersionRequest): Promise; + appVersion(request: QueryAppVersionRequest): Promise; /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ } @@ -17,10 +17,20 @@ export class QueryClientImpl implements Query { this.appVersion = this.appVersion.bind(this); } - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { const data = QueryAppVersionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); } -} \ No newline at end of file +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + appVersion(request: QueryAppVersionRequest): Promise { + return queryService.appVersion(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.ts index c1cdb8e64..dc84ac749 100644 --- a/examples/telescope/codegen/ibc/core/port/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/port/v1/query.ts @@ -1,31 +1,57 @@ -import { Order, Counterparty, orderFromJSON, orderToJSON } from "../../channel/v1/channel"; +import { Order, OrderSDKType, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ + export interface QueryAppVersionRequest { /** port unique identifier */ portId: string; - /** connection unique identifier */ - connectionId: string; + connectionId: string; /** whether the channel is ordered or unordered */ - ordering: Order; + ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty: Counterparty | undefined; /** proposed version */ + proposedVersion: string; } +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ +export interface QueryAppVersionRequestSDKType { + /** port unique identifier */ + port_id: string; + /** connection unique identifier */ + + connection_id: string; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty: CounterpartySDKType | undefined; + /** proposed version */ + + proposed_version: string; +} /** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + export interface QueryAppVersionResponse { /** port id associated with the request identifiers */ portId: string; + /** supported app version */ + version: string; +} +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + +export interface QueryAppVersionResponseSDKType { + /** port id associated with the request identifiers */ + port_id: string; /** supported app version */ + version: string; } @@ -102,26 +128,6 @@ export const QueryAppVersionRequest = { return message; }, - fromJSON(object: any): QueryAppVersionRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - ordering: isSet(object.ordering) ? orderFromJSON(object.ordering) : 0, - counterparty: isSet(object.counterparty) ? Counterparty.fromJSON(object.counterparty) : undefined, - proposedVersion: isSet(object.proposedVersion) ? String(object.proposedVersion) : "" - }; - }, - - toJSON(message: QueryAppVersionRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.ordering !== undefined && (obj.ordering = orderToJSON(message.ordering)); - message.counterparty !== undefined && (obj.counterparty = message.counterparty ? Counterparty.toJSON(message.counterparty) : undefined); - message.proposedVersion !== undefined && (obj.proposedVersion = message.proposedVersion); - return obj; - }, - fromPartial(object: Partial): QueryAppVersionRequest { const message = createBaseQueryAppVersionRequest(); message.portId = object.portId ?? ""; @@ -154,7 +160,7 @@ export const QueryAppVersionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponseSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppVersionResponse(); @@ -180,20 +186,6 @@ export const QueryAppVersionResponse = { return message; }, - fromJSON(object: any): QueryAppVersionResponse { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - version: isSet(object.version) ? String(object.version) : "" - }; - }, - - toJSON(message: QueryAppVersionResponse): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.version !== undefined && (obj.version = message.version); - return obj; - }, - fromPartial(object: Partial): QueryAppVersionResponse { const message = createBaseQueryAppVersionResponse(); message.portId = object.portId ?? ""; diff --git a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts index 6e53d2f99..7f13029c2 100644 --- a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts @@ -1,21 +1,35 @@ //@ts-nocheck import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; +import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis"; import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; +import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis"; import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; +import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** GenesisState defines the ibc module's genesis state. */ + export interface GenesisState { /** ICS002 - Clients genesis state */ clientGenesis: GenesisState1 | undefined; - /** ICS003 - Connections genesis state */ - connectionGenesis: GenesisState2 | undefined; + connectionGenesis: GenesisState2 | undefined; /** ICS004 - Channel genesis state */ + channelGenesis: GenesisState3 | undefined; } +/** GenesisState defines the ibc module's genesis state. */ + +export interface GenesisStateSDKType { + /** ICS002 - Clients genesis state */ + client_genesis: GenesisState1SDKType | undefined; + /** ICS003 - Connections genesis state */ + + connection_genesis: GenesisState2SDKType | undefined; + /** ICS004 - Channel genesis state */ + + channel_genesis: GenesisState3SDKType | undefined; +} function createBaseGenesisState(): GenesisState { return { @@ -72,22 +86,6 @@ export const GenesisState = { return message; }, - fromJSON(object: any): GenesisState { - return { - clientGenesis: isSet(object.clientGenesis) ? GenesisState1.fromJSON(object.clientGenesis) : undefined, - connectionGenesis: isSet(object.connectionGenesis) ? GenesisState2.fromJSON(object.connectionGenesis) : undefined, - channelGenesis: isSet(object.channelGenesis) ? GenesisState3.fromJSON(object.channelGenesis) : undefined - }; - }, - - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.clientGenesis !== undefined && (obj.clientGenesis = message.clientGenesis ? GenesisState1.toJSON(message.clientGenesis) : undefined); - message.connectionGenesis !== undefined && (obj.connectionGenesis = message.connectionGenesis ? GenesisState2.toJSON(message.connectionGenesis) : undefined); - message.channelGenesis !== undefined && (obj.channelGenesis = message.channelGenesis ? GenesisState3.toJSON(message.channelGenesis) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; diff --git a/examples/telescope/codegen/ibc/lcd.ts b/examples/telescope/codegen/ibc/lcd.ts index a94dfcf73..100c9f9c4 100644 --- a/examples/telescope/codegen/ibc/lcd.ts +++ b/examples/telescope/codegen/ibc/lcd.ts @@ -1,107 +1,125 @@ +import { LCDClient } from "@osmonauts/lcd"; export const createLCDClient = async ({ restEndpoint }: { restEndpoint: string; -}) => ({ - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - restEndpoint - }) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ - restEndpoint +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient }) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ - restEndpoint + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + requestClient }) }, - client: { - v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ - restEndpoint + evidence: { + v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ + requestClient }) }, - connection: { - v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ - restEndpoint + feegrant: { + v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ + requestClient }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + client: { + v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + connection: { + v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts index b45f245ca..53a6acb02 100644 --- a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts +++ b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -1,18 +1,29 @@ -import { Height } from "../../../core/client/v1/client"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; - /** * ClientState defines a loopback (localhost) client. It requires (read-only) * access to keys outside the client prefix. */ + export interface ClientState { /** self chain ID */ chainId: string; - /** self latest block height */ + height: Height | undefined; } +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ + +export interface ClientStateSDKType { + /** self chain ID */ + chain_id: string; + /** self latest block height */ + + height: HeightSDKType | undefined; +} function createBaseClientState(): ClientState { return { @@ -60,20 +71,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - chainId: isSet(object.chainId) ? String(object.chainId) : "", - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.chainId !== undefined && (obj.chainId = message.chainId); - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts index e0d19c412..7146ff582 100644 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -1,13 +1,13 @@ -import { Any } from "../../../../google/protobuf/any"; -import { ConnectionEnd } from "../../../core/connection/v1/connection"; -import { Channel } from "../../../core/channel/v1/channel"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. */ + export enum DataType { /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, @@ -40,6 +40,43 @@ export enum DataType { DATA_TYPE_HEADER = 9, UNRECOGNIZED = -1, } +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} export function dataTypeFromJSON(object: any): DataType { switch (object) { case 0: @@ -124,45 +161,82 @@ export function dataTypeToJSON(object: DataType): string { return "UNKNOWN"; } } - /** * ClientState defines a solo machine client that tracks the current consensus * state and if the client is frozen. */ + export interface ClientState { /** latest sequence of the client state */ sequence: Long; - /** frozen sequence of the solo machine */ + frozenSequence: Long; consensusState: ConsensusState | undefined; - /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. */ + allowUpdateAfterProposal: boolean; } +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + frozen_sequence: Long; + consensus_state: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} /** * ConsensusState defines a solo machine consensus state. The sequence of a * consensus state is contained in the "height" key used in storing the * consensus state. */ + export interface ConsensusState { /** public key of the solo machine */ publicKey: Any | undefined; - /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered * misbehaviour. */ + diversifier: string; timestamp: Long; } +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} /** Header defines a solo machine consensus header */ + export interface Header { /** sequence to update solo machine public key at */ sequence: Long; @@ -171,127 +245,258 @@ export interface Header { newPublicKey: Any | undefined; newDiversifier: string; } +/** Header defines a solo machine consensus header */ +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key: AnySDKType | undefined; + new_diversifier: string; +} /** * Misbehaviour defines misbehaviour for a solo machine which consists * of a sequence and two signatures over different messages at that sequence. */ + export interface Misbehaviour { clientId: string; sequence: Long; signatureOne: SignatureAndData | undefined; signatureTwo: SignatureAndData | undefined; } +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one: SignatureAndDataSDKType | undefined; + signature_two: SignatureAndDataSDKType | undefined; +} /** * SignatureAndData contains a signature and the data signed over to create that * signature. */ + export interface SignatureAndData { signature: Uint8Array; dataType: DataType; data: Uint8Array; timestamp: Long; } +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} /** * TimestampedSignatureData contains the signature data and the timestamp of the * signature. */ + export interface TimestampedSignatureData { signatureData: Uint8Array; timestamp: Long; } +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} /** SignBytes defines the signed bytes used for signature verification. */ + export interface SignBytes { sequence: Long; timestamp: Long; diversifier: string; - /** type of the data used */ - dataType: DataType; + dataType: DataType; /** marshaled data */ + data: Uint8Array; } +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} /** HeaderData returns the SignBytes data for update verification. */ + export interface HeaderData { /** header public key */ newPubKey: Any | undefined; - /** header diversifier */ + newDiversifier: string; } +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} /** ClientStateData returns the SignBytes data for client state verification. */ + export interface ClientStateData { path: Uint8Array; clientState: Any | undefined; } +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state: AnySDKType | undefined; +} /** * ConsensusStateData returns the SignBytes data for consensus state * verification. */ + export interface ConsensusStateData { path: Uint8Array; consensusState: Any | undefined; } +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state: AnySDKType | undefined; +} /** * ConnectionStateData returns the SignBytes data for connection state * verification. */ + export interface ConnectionStateData { path: Uint8Array; connection: ConnectionEnd | undefined; } +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection: ConnectionEndSDKType | undefined; +} /** * ChannelStateData returns the SignBytes data for channel state * verification. */ + export interface ChannelStateData { path: Uint8Array; channel: Channel | undefined; } +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel: ChannelSDKType | undefined; +} /** * PacketCommitmentData returns the SignBytes data for packet commitment * verification. */ + export interface PacketCommitmentData { path: Uint8Array; commitment: Uint8Array; } +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} /** * PacketAcknowledgementData returns the SignBytes data for acknowledgement * verification. */ + export interface PacketAcknowledgementData { path: Uint8Array; acknowledgement: Uint8Array; } +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} /** * PacketReceiptAbsenceData returns the SignBytes data for * packet receipt absence verification. */ + export interface PacketReceiptAbsenceData { path: Uint8Array; } +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} /** * NextSequenceRecvData returns the SignBytes data for verification of the next * sequence to be received. */ + export interface NextSequenceRecvData { path: Uint8Array; nextSeqRecv: Long; } +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} function createBaseClientState(): ClientState { return { @@ -357,24 +562,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - frozenSequence: isSet(object.frozenSequence) ? Long.fromString(object.frozenSequence) : Long.UZERO, - consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, - allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.frozenSequence !== undefined && (obj.frozenSequence = (message.frozenSequence || Long.UZERO).toString()); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); - message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -441,22 +628,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -540,26 +711,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: Header): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -636,24 +787,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, - signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); - message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -729,24 +862,6 @@ export const SignatureAndData = { return message; }, - fromJSON(object: any): SignatureAndData { - return { - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: SignatureAndData): unknown { - const obj: any = {}; - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureAndData { const message = createBaseSignatureAndData(); message.signature = object.signature ?? new Uint8Array(); @@ -804,20 +919,6 @@ export const TimestampedSignatureData = { return message; }, - fromJSON(object: any): TimestampedSignatureData { - return { - signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: TimestampedSignatureData): unknown { - const obj: any = {}; - message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): TimestampedSignatureData { const message = createBaseTimestampedSignatureData(); message.signatureData = object.signatureData ?? new Uint8Array(); @@ -900,26 +1001,6 @@ export const SignBytes = { return message; }, - fromJSON(object: any): SignBytes { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: SignBytes): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SignBytes { const message = createBaseSignBytes(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -978,20 +1059,6 @@ export const HeaderData = { return message; }, - fromJSON(object: any): HeaderData { - return { - newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: HeaderData): unknown { - const obj: any = {}; - message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial): HeaderData { const message = createBaseHeaderData(); message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; @@ -1047,20 +1114,6 @@ export const ClientStateData = { return message; }, - fromJSON(object: any): ClientStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined - }; - }, - - toJSON(message: ClientStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientStateData { const message = createBaseClientStateData(); message.path = object.path ?? new Uint8Array(); @@ -1116,20 +1169,6 @@ export const ConsensusStateData = { return message; }, - fromJSON(object: any): ConsensusStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined - }; - }, - - toJSON(message: ConsensusStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - return obj; - }, - fromPartial(object: Partial): ConsensusStateData { const message = createBaseConsensusStateData(); message.path = object.path ?? new Uint8Array(); @@ -1185,20 +1224,6 @@ export const ConnectionStateData = { return message; }, - fromJSON(object: any): ConnectionStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined - }; - }, - - toJSON(message: ConnectionStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); - return obj; - }, - fromPartial(object: Partial): ConnectionStateData { const message = createBaseConnectionStateData(); message.path = object.path ?? new Uint8Array(); @@ -1254,20 +1279,6 @@ export const ChannelStateData = { return message; }, - fromJSON(object: any): ChannelStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined - }; - }, - - toJSON(message: ChannelStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - return obj; - }, - fromPartial(object: Partial): ChannelStateData { const message = createBaseChannelStateData(); message.path = object.path ?? new Uint8Array(); @@ -1323,20 +1334,6 @@ export const PacketCommitmentData = { return message; }, - fromJSON(object: any): PacketCommitmentData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() - }; - }, - - toJSON(message: PacketCommitmentData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketCommitmentData { const message = createBasePacketCommitmentData(); message.path = object.path ?? new Uint8Array(); @@ -1392,20 +1389,6 @@ export const PacketAcknowledgementData = { return message; }, - fromJSON(object: any): PacketAcknowledgementData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() - }; - }, - - toJSON(message: PacketAcknowledgementData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketAcknowledgementData { const message = createBasePacketAcknowledgementData(); message.path = object.path ?? new Uint8Array(); @@ -1452,18 +1435,6 @@ export const PacketReceiptAbsenceData = { return message; }, - fromJSON(object: any): PacketReceiptAbsenceData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() - }; - }, - - toJSON(message: PacketReceiptAbsenceData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketReceiptAbsenceData { const message = createBasePacketReceiptAbsenceData(); message.path = object.path ?? new Uint8Array(); @@ -1518,20 +1489,6 @@ export const NextSequenceRecvData = { return message; }, - fromJSON(object: any): NextSequenceRecvData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO - }; - }, - - toJSON(message: NextSequenceRecvData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): NextSequenceRecvData { const message = createBaseNextSequenceRecvData(); message.path = object.path ?? new Uint8Array(); diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts index bc7f2d1cd..86e21a2aa 100644 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -1,13 +1,13 @@ -import { Any } from "../../../../google/protobuf/any"; -import { ConnectionEnd } from "../../../core/connection/v1/connection"; -import { Channel } from "../../../core/channel/v1/channel"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. */ + export enum DataType { /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, @@ -40,6 +40,43 @@ export enum DataType { DATA_TYPE_HEADER = 9, UNRECOGNIZED = -1, } +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} export function dataTypeFromJSON(object: any): DataType { switch (object) { case 0: @@ -124,45 +161,82 @@ export function dataTypeToJSON(object: DataType): string { return "UNKNOWN"; } } - /** * ClientState defines a solo machine client that tracks the current consensus * state and if the client is frozen. */ + export interface ClientState { /** latest sequence of the client state */ sequence: Long; - /** frozen sequence of the solo machine */ + isFrozen: boolean; consensusState: ConsensusState | undefined; - /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. */ + allowUpdateAfterProposal: boolean; } +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + is_frozen: boolean; + consensus_state: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} /** * ConsensusState defines a solo machine consensus state. The sequence of a * consensus state is contained in the "height" key used in storing the * consensus state. */ + export interface ConsensusState { /** public key of the solo machine */ publicKey: Any | undefined; - /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered * misbehaviour. */ + diversifier: string; timestamp: Long; } +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + diversifier: string; + timestamp: Long; +} /** Header defines a solo machine consensus header */ + export interface Header { /** sequence to update solo machine public key at */ sequence: Long; @@ -171,127 +245,258 @@ export interface Header { newPublicKey: Any | undefined; newDiversifier: string; } +/** Header defines a solo machine consensus header */ +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key: AnySDKType | undefined; + new_diversifier: string; +} /** * Misbehaviour defines misbehaviour for a solo machine which consists * of a sequence and two signatures over different messages at that sequence. */ + export interface Misbehaviour { clientId: string; sequence: Long; signatureOne: SignatureAndData | undefined; signatureTwo: SignatureAndData | undefined; } +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one: SignatureAndDataSDKType | undefined; + signature_two: SignatureAndDataSDKType | undefined; +} /** * SignatureAndData contains a signature and the data signed over to create that * signature. */ + export interface SignatureAndData { signature: Uint8Array; dataType: DataType; data: Uint8Array; timestamp: Long; } +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} /** * TimestampedSignatureData contains the signature data and the timestamp of the * signature. */ + export interface TimestampedSignatureData { signatureData: Uint8Array; timestamp: Long; } +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} /** SignBytes defines the signed bytes used for signature verification. */ + export interface SignBytes { sequence: Long; timestamp: Long; diversifier: string; - /** type of the data used */ - dataType: DataType; + dataType: DataType; /** marshaled data */ + data: Uint8Array; } +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} /** HeaderData returns the SignBytes data for update verification. */ + export interface HeaderData { /** header public key */ newPubKey: Any | undefined; - /** header diversifier */ + newDiversifier: string; } +/** HeaderData returns the SignBytes data for update verification. */ +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} /** ClientStateData returns the SignBytes data for client state verification. */ + export interface ClientStateData { path: Uint8Array; clientState: Any | undefined; } +/** ClientStateData returns the SignBytes data for client state verification. */ +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state: AnySDKType | undefined; +} /** * ConsensusStateData returns the SignBytes data for consensus state * verification. */ + export interface ConsensusStateData { path: Uint8Array; consensusState: Any | undefined; } +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state: AnySDKType | undefined; +} /** * ConnectionStateData returns the SignBytes data for connection state * verification. */ + export interface ConnectionStateData { path: Uint8Array; connection: ConnectionEnd | undefined; } +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection: ConnectionEndSDKType | undefined; +} /** * ChannelStateData returns the SignBytes data for channel state * verification. */ + export interface ChannelStateData { path: Uint8Array; channel: Channel | undefined; } +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel: ChannelSDKType | undefined; +} /** * PacketCommitmentData returns the SignBytes data for packet commitment * verification. */ + export interface PacketCommitmentData { path: Uint8Array; commitment: Uint8Array; } +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} /** * PacketAcknowledgementData returns the SignBytes data for acknowledgement * verification. */ + export interface PacketAcknowledgementData { path: Uint8Array; acknowledgement: Uint8Array; } +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} /** * PacketReceiptAbsenceData returns the SignBytes data for * packet receipt absence verification. */ + export interface PacketReceiptAbsenceData { path: Uint8Array; } +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} /** * NextSequenceRecvData returns the SignBytes data for verification of the next * sequence to be received. */ + export interface NextSequenceRecvData { path: Uint8Array; nextSeqRecv: Long; } +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} function createBaseClientState(): ClientState { return { @@ -357,24 +562,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - isFrozen: isSet(object.isFrozen) ? Boolean(object.isFrozen) : false, - consensusState: isSet(object.consensusState) ? ConsensusState.fromJSON(object.consensusState) : undefined, - allowUpdateAfterProposal: isSet(object.allowUpdateAfterProposal) ? Boolean(object.allowUpdateAfterProposal) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.isFrozen !== undefined && (obj.isFrozen = message.isFrozen); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? ConsensusState.toJSON(message.consensusState) : undefined); - message.allowUpdateAfterProposal !== undefined && (obj.allowUpdateAfterProposal = message.allowUpdateAfterProposal); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -441,22 +628,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -540,26 +711,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - newPublicKey: isSet(object.newPublicKey) ? Any.fromJSON(object.newPublicKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: Header): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.newPublicKey !== undefined && (obj.newPublicKey = message.newPublicKey ? Any.toJSON(message.newPublicKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -636,24 +787,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - signatureOne: isSet(object.signatureOne) ? SignatureAndData.fromJSON(object.signatureOne) : undefined, - signatureTwo: isSet(object.signatureTwo) ? SignatureAndData.fromJSON(object.signatureTwo) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.signatureOne !== undefined && (obj.signatureOne = message.signatureOne ? SignatureAndData.toJSON(message.signatureOne) : undefined); - message.signatureTwo !== undefined && (obj.signatureTwo = message.signatureTwo ? SignatureAndData.toJSON(message.signatureTwo) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -729,24 +862,6 @@ export const SignatureAndData = { return message; }, - fromJSON(object: any): SignatureAndData { - return { - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array(), - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: SignatureAndData): unknown { - const obj: any = {}; - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): SignatureAndData { const message = createBaseSignatureAndData(); message.signature = object.signature ?? new Uint8Array(); @@ -804,20 +919,6 @@ export const TimestampedSignatureData = { return message; }, - fromJSON(object: any): TimestampedSignatureData { - return { - signatureData: isSet(object.signatureData) ? bytesFromBase64(object.signatureData) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO - }; - }, - - toJSON(message: TimestampedSignatureData): unknown { - const obj: any = {}; - message.signatureData !== undefined && (obj.signatureData = base64FromBytes(message.signatureData !== undefined ? message.signatureData : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): TimestampedSignatureData { const message = createBaseTimestampedSignatureData(); message.signatureData = object.signatureData ?? new Uint8Array(); @@ -900,26 +1001,6 @@ export const SignBytes = { return message; }, - fromJSON(object: any): SignBytes { - return { - sequence: isSet(object.sequence) ? Long.fromString(object.sequence) : Long.UZERO, - timestamp: isSet(object.timestamp) ? Long.fromString(object.timestamp) : Long.UZERO, - diversifier: isSet(object.diversifier) ? String(object.diversifier) : "", - dataType: isSet(object.dataType) ? dataTypeFromJSON(object.dataType) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - - toJSON(message: SignBytes): unknown { - const obj: any = {}; - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = (message.timestamp || Long.UZERO).toString()); - message.diversifier !== undefined && (obj.diversifier = message.diversifier); - message.dataType !== undefined && (obj.dataType = dataTypeToJSON(message.dataType)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SignBytes { const message = createBaseSignBytes(); message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; @@ -978,20 +1059,6 @@ export const HeaderData = { return message; }, - fromJSON(object: any): HeaderData { - return { - newPubKey: isSet(object.newPubKey) ? Any.fromJSON(object.newPubKey) : undefined, - newDiversifier: isSet(object.newDiversifier) ? String(object.newDiversifier) : "" - }; - }, - - toJSON(message: HeaderData): unknown { - const obj: any = {}; - message.newPubKey !== undefined && (obj.newPubKey = message.newPubKey ? Any.toJSON(message.newPubKey) : undefined); - message.newDiversifier !== undefined && (obj.newDiversifier = message.newDiversifier); - return obj; - }, - fromPartial(object: Partial): HeaderData { const message = createBaseHeaderData(); message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; @@ -1047,20 +1114,6 @@ export const ClientStateData = { return message; }, - fromJSON(object: any): ClientStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined - }; - }, - - toJSON(message: ClientStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - return obj; - }, - fromPartial(object: Partial): ClientStateData { const message = createBaseClientStateData(); message.path = object.path ?? new Uint8Array(); @@ -1116,20 +1169,6 @@ export const ConsensusStateData = { return message; }, - fromJSON(object: any): ConsensusStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined - }; - }, - - toJSON(message: ConsensusStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - return obj; - }, - fromPartial(object: Partial): ConsensusStateData { const message = createBaseConsensusStateData(); message.path = object.path ?? new Uint8Array(); @@ -1185,20 +1224,6 @@ export const ConnectionStateData = { return message; }, - fromJSON(object: any): ConnectionStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - connection: isSet(object.connection) ? ConnectionEnd.fromJSON(object.connection) : undefined - }; - }, - - toJSON(message: ConnectionStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.connection !== undefined && (obj.connection = message.connection ? ConnectionEnd.toJSON(message.connection) : undefined); - return obj; - }, - fromPartial(object: Partial): ConnectionStateData { const message = createBaseConnectionStateData(); message.path = object.path ?? new Uint8Array(); @@ -1254,20 +1279,6 @@ export const ChannelStateData = { return message; }, - fromJSON(object: any): ChannelStateData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined - }; - }, - - toJSON(message: ChannelStateData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined); - return obj; - }, - fromPartial(object: Partial): ChannelStateData { const message = createBaseChannelStateData(); message.path = object.path ?? new Uint8Array(); @@ -1323,20 +1334,6 @@ export const PacketCommitmentData = { return message; }, - fromJSON(object: any): PacketCommitmentData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - commitment: isSet(object.commitment) ? bytesFromBase64(object.commitment) : new Uint8Array() - }; - }, - - toJSON(message: PacketCommitmentData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.commitment !== undefined && (obj.commitment = base64FromBytes(message.commitment !== undefined ? message.commitment : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketCommitmentData { const message = createBasePacketCommitmentData(); message.path = object.path ?? new Uint8Array(); @@ -1392,20 +1389,6 @@ export const PacketAcknowledgementData = { return message; }, - fromJSON(object: any): PacketAcknowledgementData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array() - }; - }, - - toJSON(message: PacketAcknowledgementData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.acknowledgement !== undefined && (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketAcknowledgementData { const message = createBasePacketAcknowledgementData(); message.path = object.path ?? new Uint8Array(); @@ -1452,18 +1435,6 @@ export const PacketReceiptAbsenceData = { return message; }, - fromJSON(object: any): PacketReceiptAbsenceData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array() - }; - }, - - toJSON(message: PacketReceiptAbsenceData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): PacketReceiptAbsenceData { const message = createBasePacketReceiptAbsenceData(); message.path = object.path ?? new Uint8Array(); @@ -1518,20 +1489,6 @@ export const NextSequenceRecvData = { return message; }, - fromJSON(object: any): NextSequenceRecvData { - return { - path: isSet(object.path) ? bytesFromBase64(object.path) : new Uint8Array(), - nextSeqRecv: isSet(object.nextSeqRecv) ? Long.fromString(object.nextSeqRecv) : Long.UZERO - }; - }, - - toJSON(message: NextSequenceRecvData): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = base64FromBytes(message.path !== undefined ? message.path : new Uint8Array())); - message.nextSeqRecv !== undefined && (obj.nextSeqRecv = (message.nextSeqRecv || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): NextSequenceRecvData { const message = createBaseNextSequenceRecvData(); message.path = object.path ?? new Uint8Array(); diff --git a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts index 86d30d6d7..23ed24b9e 100644 --- a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -1,42 +1,41 @@ -import { Duration } from "../../../../google/protobuf/duration"; -import { Height } from "../../../core/client/v1/client"; -import { ProofSpec } from "../../../../confio/proofs"; +import { Duration, DurationSDKType } from "../../../../google/protobuf/duration"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; +import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs"; import { Timestamp } from "../../../../google/protobuf/timestamp"; -import { MerkleRoot } from "../../../core/commitment/v1/commitment"; -import { SignedHeader } from "../../../../tendermint/types/types"; -import { ValidatorSet } from "../../../../tendermint/types/validator"; +import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commitment"; +import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; +import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes, Long } from "@osmonauts/helpers"; - +import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; /** * ClientState from Tendermint tracks the current validator set, latest height, * and a possible frozen height. */ + export interface ClientState { chainId: string; trustLevel: Fraction | undefined; - /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trustingPeriod: Duration | undefined; + trustingPeriod: Duration | undefined; /** duration of the staking unbonding period */ - unbondingPeriod: Duration | undefined; + unbondingPeriod: Duration | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift: Duration | undefined; + maxClockDrift: Duration | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight: Height | undefined; + frozenHeight: Height | undefined; /** Latest height the client was updated to */ - latestHeight: Height | undefined; + latestHeight: Height | undefined; /** Proof specifications used in verifying counterparty state */ - proofSpecs: ProofSpec[]; + proofSpecs: ProofSpec[]; /** * Path at which next upgraded client will be committed. * Each element corresponds to the key for a single CommitmentProof in the @@ -46,44 +45,120 @@ export interface ClientState { * the default upgrade module, upgrade_path should be []string{"upgrade", * "upgradedIBCState"}` */ - upgradePath: string[]; + upgradePath: string[]; /** * This flag, when set to true, will allow governance to recover a client * which has expired */ - allowUpdateAfterExpiry: boolean; + allowUpdateAfterExpiry: boolean; /** * This flag, when set to true, will allow governance to unfreeze a client * whose chain has experienced a misbehaviour event */ + allowUpdateAfterMisbehaviour: boolean; } +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ + +export interface ClientStateSDKType { + chain_id: string; + trust_level: FractionSDKType | undefined; + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + + trusting_period: DurationSDKType | undefined; + /** duration of the staking unbonding period */ + + unbonding_period: DurationSDKType | undefined; + /** defines how much new (untrusted) header's Time can drift into the future. */ + + max_clock_drift: DurationSDKType | undefined; + /** Block height when the client was frozen due to a misbehaviour */ + + frozen_height: HeightSDKType | undefined; + /** Latest height the client was updated to */ + + latest_height: HeightSDKType | undefined; + /** Proof specifications used in verifying counterparty state */ + + proof_specs: ProofSpecSDKType[]; + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + + upgrade_path: string[]; + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + + allow_update_after_expiry: boolean; + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + allow_update_after_misbehaviour: boolean; +} /** ConsensusState defines the consensus state from Tendermint. */ + export interface ConsensusState { /** * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ timestamp: Date | undefined; - /** commitment root (i.e app hash) */ + root: MerkleRoot | undefined; nextValidatorsHash: Uint8Array; } +/** ConsensusState defines the consensus state from Tendermint. */ +export interface ConsensusStateSDKType { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp: Date | undefined; + /** commitment root (i.e app hash) */ + + root: MerkleRootSDKType | undefined; + next_validators_hash: Uint8Array; +} /** * Misbehaviour is a wrapper over two conflicting Headers * that implements Misbehaviour interface expected by ICS-02 */ + export interface Misbehaviour { clientId: string; header_1: Header | undefined; header_2: Header | undefined; } +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ +export interface MisbehaviourSDKType { + client_id: string; + header_1: HeaderSDKType | undefined; + header_2: HeaderSDKType | undefined; +} /** * Header defines the Tendermint client consensus Header. * It encapsulates all the information necessary to update from a trusted @@ -98,21 +173,52 @@ export interface Misbehaviour { * hash to TrustedConsensusState.NextValidatorsHash since that is the last * trusted validator set at the TrustedHeight. */ + export interface Header { signedHeader: SignedHeader | undefined; validatorSet: ValidatorSet | undefined; trustedHeight: Height | undefined; trustedValidators: ValidatorSet | undefined; } +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ +export interface HeaderSDKType { + signed_header: SignedHeaderSDKType | undefined; + validator_set: ValidatorSetSDKType | undefined; + trusted_height: HeightSDKType | undefined; + trusted_validators: ValidatorSetSDKType | undefined; +} /** * Fraction defines the protobuf message type for tmmath.Fraction that only * supports positive values. */ + export interface Fraction { numerator: Long; denominator: Long; } +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ + +export interface FractionSDKType { + numerator: Long; + denominator: Long; +} function createBaseClientState(): ClientState { return { @@ -241,49 +347,6 @@ export const ClientState = { return message; }, - fromJSON(object: any): ClientState { - return { - chainId: isSet(object.chainId) ? String(object.chainId) : "", - trustLevel: isSet(object.trustLevel) ? Fraction.fromJSON(object.trustLevel) : undefined, - trustingPeriod: isSet(object.trustingPeriod) ? Duration.fromJSON(object.trustingPeriod) : undefined, - unbondingPeriod: isSet(object.unbondingPeriod) ? Duration.fromJSON(object.unbondingPeriod) : undefined, - maxClockDrift: isSet(object.maxClockDrift) ? Duration.fromJSON(object.maxClockDrift) : undefined, - frozenHeight: isSet(object.frozenHeight) ? Height.fromJSON(object.frozenHeight) : undefined, - latestHeight: isSet(object.latestHeight) ? Height.fromJSON(object.latestHeight) : undefined, - proofSpecs: Array.isArray(object?.proofSpecs) ? object.proofSpecs.map((e: any) => ProofSpec.fromJSON(e)) : [], - upgradePath: Array.isArray(object?.upgradePath) ? object.upgradePath.map((e: any) => String(e)) : [], - allowUpdateAfterExpiry: isSet(object.allowUpdateAfterExpiry) ? Boolean(object.allowUpdateAfterExpiry) : false, - allowUpdateAfterMisbehaviour: isSet(object.allowUpdateAfterMisbehaviour) ? Boolean(object.allowUpdateAfterMisbehaviour) : false - }; - }, - - toJSON(message: ClientState): unknown { - const obj: any = {}; - message.chainId !== undefined && (obj.chainId = message.chainId); - message.trustLevel !== undefined && (obj.trustLevel = message.trustLevel ? Fraction.toJSON(message.trustLevel) : undefined); - message.trustingPeriod !== undefined && (obj.trustingPeriod = message.trustingPeriod); - message.unbondingPeriod !== undefined && (obj.unbondingPeriod = message.unbondingPeriod); - message.maxClockDrift !== undefined && (obj.maxClockDrift = message.maxClockDrift); - message.frozenHeight !== undefined && (obj.frozenHeight = message.frozenHeight ? Height.toJSON(message.frozenHeight) : undefined); - message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight ? Height.toJSON(message.latestHeight) : undefined); - - if (message.proofSpecs) { - obj.proofSpecs = message.proofSpecs.map(e => e ? ProofSpec.toJSON(e) : undefined); - } else { - obj.proofSpecs = []; - } - - if (message.upgradePath) { - obj.upgradePath = message.upgradePath.map(e => e); - } else { - obj.upgradePath = []; - } - - message.allowUpdateAfterExpiry !== undefined && (obj.allowUpdateAfterExpiry = message.allowUpdateAfterExpiry); - message.allowUpdateAfterMisbehaviour !== undefined && (obj.allowUpdateAfterMisbehaviour = message.allowUpdateAfterMisbehaviour); - return obj; - }, - fromPartial(object: Partial): ClientState { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; @@ -357,22 +420,6 @@ export const ConsensusState = { return message; }, - fromJSON(object: any): ConsensusState { - return { - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, - root: isSet(object.root) ? MerkleRoot.fromJSON(object.root) : undefined, - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array() - }; - }, - - toJSON(message: ConsensusState): unknown { - const obj: any = {}; - message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); - message.root !== undefined && (obj.root = message.root ? MerkleRoot.toJSON(message.root) : undefined); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ConsensusState { const message = createBaseConsensusState(); message.timestamp = object.timestamp ?? undefined; @@ -438,22 +485,6 @@ export const Misbehaviour = { return message; }, - fromJSON(object: any): Misbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - header_1: isSet(object.header_1) ? Header.fromJSON(object.header_1) : undefined, - header_2: isSet(object.header_2) ? Header.fromJSON(object.header_2) : undefined - }; - }, - - toJSON(message: Misbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.header_1 !== undefined && (obj.header_1 = message.header_1 ? Header.toJSON(message.header_1) : undefined); - message.header_2 !== undefined && (obj.header_2 = message.header_2 ? Header.toJSON(message.header_2) : undefined); - return obj; - }, - fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -528,24 +559,6 @@ export const Header = { return message; }, - fromJSON(object: any): Header { - return { - signedHeader: isSet(object.signedHeader) ? SignedHeader.fromJSON(object.signedHeader) : undefined, - validatorSet: isSet(object.validatorSet) ? ValidatorSet.fromJSON(object.validatorSet) : undefined, - trustedHeight: isSet(object.trustedHeight) ? Height.fromJSON(object.trustedHeight) : undefined, - trustedValidators: isSet(object.trustedValidators) ? ValidatorSet.fromJSON(object.trustedValidators) : undefined - }; - }, - - toJSON(message: Header): 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); - message.trustedHeight !== undefined && (obj.trustedHeight = message.trustedHeight ? Height.toJSON(message.trustedHeight) : undefined); - message.trustedValidators !== undefined && (obj.trustedValidators = message.trustedValidators ? ValidatorSet.toJSON(message.trustedValidators) : undefined); - return obj; - }, - fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; @@ -603,20 +616,6 @@ export const Fraction = { return message; }, - fromJSON(object: any): Fraction { - return { - numerator: isSet(object.numerator) ? Long.fromString(object.numerator) : Long.UZERO, - denominator: isSet(object.denominator) ? Long.fromString(object.denominator) : Long.UZERO - }; - }, - - toJSON(message: Fraction): unknown { - const obj: any = {}; - message.numerator !== undefined && (obj.numerator = (message.numerator || Long.UZERO).toString()); - message.denominator !== undefined && (obj.denominator = (message.denominator || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Fraction { const message = createBaseFraction(); message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; diff --git a/examples/telescope/codegen/ibc/rpc.query.ts b/examples/telescope/codegen/ibc/rpc.query.ts index 0568319fc..2ed23009f 100644 --- a/examples/telescope/codegen/ibc/rpc.query.ts +++ b/examples/telescope/codegen/ibc/rpc.query.ts @@ -1,76 +1,89 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ - rpc + rpcEndpoint }: { - rpc: Rpc; -}) => ({ - cosmos: { - app: { - v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc) - }, - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/query.rpc.query")).QueryClientImpl(rpc) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/query.rpc.query")).QueryClientImpl(rpc) + rpcEndpoint: string; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + const client = new QueryClient(tmClient); + return { + cosmos: { + app: { + v1alpha1: (await import("../cosmos/app/v1alpha1/query.rpc.query")).createRpcQueryExtension(client) }, - client: { - v1: new (await import("./core/client/v1/query.rpc.query")).QueryClientImpl(rpc) + auth: { + v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.query")).createRpcQueryExtension(client) }, - connection: { - v1: new (await import("./core/connection/v1/query.rpc.query")).QueryClientImpl(rpc) + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + base: { + tendermint: { + v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) + } + }, + ibc: { + applications: { + transfer: { + v1: (await import("./applications/transfer/v1/query.rpc.query")).createRpcQueryExtension(client) + } }, - port: { - v1: new (await import("./core/port/v1/query.rpc.query")).QueryClientImpl(rpc) + core: { + channel: { + v1: (await import("./core/channel/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + client: { + v1: (await import("./core/client/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + connection: { + v1: (await import("./core/connection/v1/query.rpc.query")).createRpcQueryExtension(client) + }, + port: { + v1: (await import("./core/port/v1/query.rpc.query")).createRpcQueryExtension(client) + } } } - } -}); \ No newline at end of file + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/index.ts b/examples/telescope/codegen/index.ts index 1ed82a54d..1289f2858 100644 --- a/examples/telescope/codegen/index.ts +++ b/examples/telescope/codegen/index.ts @@ -1,5 +1,5 @@ /** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.19.0 + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.31.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. */ diff --git a/examples/telescope/codegen/tendermint/abci/types.ts b/examples/telescope/codegen/tendermint/abci/types.ts index f341a1795..8582154b0 100644 --- a/examples/telescope/codegen/tendermint/abci/types.ts +++ b/examples/telescope/codegen/tendermint/abci/types.ts @@ -1,15 +1,20 @@ import { Timestamp } from "../../google/protobuf/timestamp"; -import { Header } from "../types/types"; -import { ProofOps } from "../crypto/proof"; -import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params"; -import { PublicKey } from "../crypto/keys"; +import { Header, HeaderSDKType } from "../types/types"; +import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; +import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long, toTimestamp, fromTimestamp, fromJsonTimestamp, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; export enum CheckTxType { NEW = 0, RECHECK = 1, UNRECOGNIZED = -1, } +export enum CheckTxTypeSDKType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} export function checkTxTypeFromJSON(object: any): CheckTxType { switch (object) { case 0: @@ -58,6 +63,26 @@ export enum ResponseOfferSnapshot_Result { REJECT_SENDER = 5, UNRECOGNIZED = -1, } +export enum ResponseOfferSnapshot_ResultSDKType { + /** 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { switch (object) { case 0: @@ -134,6 +159,26 @@ export enum ResponseApplySnapshotChunk_Result { REJECT_SNAPSHOT = 5, UNRECOGNIZED = -1, } +export enum ResponseApplySnapshotChunk_ResultSDKType { + /** 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { switch (object) { case 0: @@ -196,6 +241,12 @@ export enum EvidenceType { LIGHT_CLIENT_ATTACK = 2, UNRECOGNIZED = -1, } +export enum EvidenceTypeSDKType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} export function evidenceTypeFromJSON(object: any): EvidenceType { switch (object) { case 0: @@ -248,21 +299,53 @@ export interface Request { loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; applySnapshotChunk?: RequestApplySnapshotChunk | undefined; } +export interface RequestSDKType { + echo?: RequestEchoSDKType | undefined; + flush?: RequestFlushSDKType | undefined; + info?: RequestInfoSDKType | undefined; + set_option?: RequestSetOptionSDKType | undefined; + init_chain?: RequestInitChainSDKType | undefined; + query?: RequestQuerySDKType | undefined; + begin_block?: RequestBeginBlockSDKType | undefined; + check_tx?: RequestCheckTxSDKType | undefined; + deliver_tx?: RequestDeliverTxSDKType | undefined; + end_block?: RequestEndBlockSDKType | undefined; + commit?: RequestCommitSDKType | undefined; + list_snapshots?: RequestListSnapshotsSDKType | undefined; + offer_snapshot?: RequestOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType | undefined; +} export interface RequestEcho { message: string; } +export interface RequestEchoSDKType { + message: string; +} export interface RequestFlush {} +export interface RequestFlushSDKType {} export interface RequestInfo { version: string; blockVersion: Long; p2pVersion: Long; } - +export interface RequestInfoSDKType { + version: string; + block_version: Long; + p2p_version: Long; +} /** nondeterministic */ + export interface RequestSetOption { key: string; value: string; } +/** nondeterministic */ + +export interface RequestSetOptionSDKType { + key: string; + value: string; +} export interface RequestInitChain { time: Date | undefined; chainId: string; @@ -271,55 +354,112 @@ export interface RequestInitChain { appStateBytes: Uint8Array; initialHeight: Long; } +export interface RequestInitChainSDKType { + time: Date | undefined; + chain_id: string; + consensus_params: ConsensusParamsSDKType | undefined; + validators: ValidatorUpdateSDKType[]; + app_state_bytes: Uint8Array; + initial_height: Long; +} export interface RequestQuery { data: Uint8Array; path: string; height: Long; prove: boolean; } +export interface RequestQuerySDKType { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} export interface RequestBeginBlock { hash: Uint8Array; header: Header | undefined; lastCommitInfo: LastCommitInfo | undefined; byzantineValidators: Evidence[]; } +export interface RequestBeginBlockSDKType { + hash: Uint8Array; + header: HeaderSDKType | undefined; + last_commit_info: LastCommitInfoSDKType | undefined; + byzantine_validators: EvidenceSDKType[]; +} export interface RequestCheckTx { tx: Uint8Array; type: CheckTxType; } +export interface RequestCheckTxSDKType { + tx: Uint8Array; + type: CheckTxTypeSDKType; +} export interface RequestDeliverTx { tx: Uint8Array; } +export interface RequestDeliverTxSDKType { + tx: Uint8Array; +} export interface RequestEndBlock { height: Long; } +export interface RequestEndBlockSDKType { + height: Long; +} export interface RequestCommit {} - +export interface RequestCommitSDKType {} /** lists available snapshots */ + export interface RequestListSnapshots {} +/** lists available snapshots */ +export interface RequestListSnapshotsSDKType {} /** offers a snapshot to the application */ + export interface RequestOfferSnapshot { /** snapshot offered by peers */ snapshot: Snapshot | undefined; - /** light client-verified app hash for snapshot height */ + appHash: Uint8Array; } +/** offers a snapshot to the application */ + +export interface RequestOfferSnapshotSDKType { + /** snapshot offered by peers */ + snapshot: SnapshotSDKType | undefined; + /** light client-verified app hash for snapshot height */ + app_hash: Uint8Array; +} /** loads a snapshot chunk */ + export interface RequestLoadSnapshotChunk { height: Long; format: number; chunk: number; } +/** 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; } +/** Applies a snapshot chunk */ + +export interface RequestApplySnapshotChunkSDKType { + index: number; + chunk: Uint8Array; + sender: string; +} export interface Response { exception?: ResponseException | undefined; echo?: ResponseEcho | undefined; @@ -338,15 +478,42 @@ export interface Response { loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; } - +export interface ResponseSDKType { + exception?: ResponseExceptionSDKType | undefined; + echo?: ResponseEchoSDKType | undefined; + flush?: ResponseFlushSDKType | undefined; + info?: ResponseInfoSDKType | undefined; + set_option?: ResponseSetOptionSDKType | undefined; + init_chain?: ResponseInitChainSDKType | undefined; + query?: ResponseQuerySDKType | undefined; + begin_block?: ResponseBeginBlockSDKType | undefined; + check_tx?: ResponseCheckTxSDKType | undefined; + deliver_tx?: ResponseDeliverTxSDKType | undefined; + end_block?: ResponseEndBlockSDKType | undefined; + commit?: ResponseCommitSDKType | undefined; + list_snapshots?: ResponseListSnapshotsSDKType | undefined; + offer_snapshot?: ResponseOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType | undefined; +} /** nondeterministic */ + export interface ResponseException { error: string; } +/** nondeterministic */ + +export interface ResponseExceptionSDKType { + error: string; +} export interface ResponseEcho { message: string; } +export interface ResponseEchoSDKType { + message: string; +} export interface ResponseFlush {} +export interface ResponseFlushSDKType {} export interface ResponseInfo { data: string; version: string; @@ -354,12 +521,28 @@ export interface ResponseInfo { lastBlockHeight: Long; lastBlockAppHash: Uint8Array; } - +export interface ResponseInfoSDKType { + data: string; + version: string; + app_version: Long; + last_block_height: Long; + last_block_app_hash: Uint8Array; +} /** nondeterministic */ + export interface ResponseSetOption { code: number; + /** bytes data = 2; */ + + log: string; + info: string; +} +/** nondeterministic */ +export interface ResponseSetOptionSDKType { + code: number; /** bytes data = 2; */ + log: string; info: string; } @@ -368,13 +551,18 @@ export interface ResponseInitChain { validators: ValidatorUpdate[]; appHash: Uint8Array; } +export interface ResponseInitChainSDKType { + consensus_params: ConsensusParamsSDKType | undefined; + validators: ValidatorUpdateSDKType[]; + app_hash: Uint8Array; +} export interface ResponseQuery { code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; + log: string; /** nondeterministic */ + info: string; index: Long; key: Uint8Array; @@ -383,177 +571,365 @@ export interface ResponseQuery { height: Long; codespace: string; } +export interface ResponseQuerySDKType { + code: number; + /** bytes data = 2; // use "value" instead. */ + + log: string; + /** nondeterministic */ + + info: string; + index: Long; + key: Uint8Array; + value: Uint8Array; + proof_ops: ProofOpsSDKType | undefined; + height: Long; + codespace: string; +} export interface ResponseBeginBlock { events: Event[]; } +export interface ResponseBeginBlockSDKType { + events: EventSDKType[]; +} export interface ResponseCheckTx { code: number; data: Uint8Array; - /** nondeterministic */ - log: string; + log: string; /** nondeterministic */ + info: string; gasWanted: Long; gasUsed: Long; events: Event[]; codespace: string; } -export interface ResponseDeliverTx { +export interface ResponseCheckTxSDKType { code: number; data: Uint8Array; - /** nondeterministic */ + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} +export interface ResponseDeliverTx { + code: number; + data: Uint8Array; + /** nondeterministic */ + log: string; /** nondeterministic */ + info: string; gasWanted: Long; gasUsed: Long; events: Event[]; codespace: string; } +export interface ResponseDeliverTxSDKType { + code: number; + data: Uint8Array; + /** nondeterministic */ + + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} export interface ResponseEndBlock { validatorUpdates: ValidatorUpdate[]; consensusParamUpdates: ConsensusParams | undefined; events: Event[]; } +export interface ResponseEndBlockSDKType { + validator_updates: ValidatorUpdateSDKType[]; + consensus_param_updates: ConsensusParamsSDKType | undefined; + events: EventSDKType[]; +} export interface ResponseCommit { /** reserve 1 */ data: Uint8Array; retainHeight: Long; } +export interface ResponseCommitSDKType { + /** reserve 1 */ + data: Uint8Array; + retain_height: Long; +} export interface ResponseListSnapshots { snapshots: Snapshot[]; } +export interface ResponseListSnapshotsSDKType { + snapshots: SnapshotSDKType[]; +} export interface ResponseOfferSnapshot { result: ResponseOfferSnapshot_Result; } +export interface ResponseOfferSnapshotSDKType { + result: ResponseOfferSnapshot_ResultSDKType; +} export interface ResponseLoadSnapshotChunk { chunk: Uint8Array; } +export interface ResponseLoadSnapshotChunkSDKType { + chunk: Uint8Array; +} export interface ResponseApplySnapshotChunk { result: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetchChunks: number[]; + refetchChunks: number[]; /** Chunk senders to reject and ban */ + rejectSenders: string[]; } +export interface ResponseApplySnapshotChunkSDKType { + result: ResponseApplySnapshotChunk_ResultSDKType; + /** Chunks to refetch and reapply */ + + refetch_chunks: number[]; + /** Chunk senders to reject and ban */ + reject_senders: string[]; +} /** * ConsensusParams contains all consensus-relevant parameters * that can be adjusted by the abci app */ + export interface ConsensusParams { block: BlockParams | undefined; evidence: EvidenceParams | undefined; validator: ValidatorParams | undefined; version: VersionParams | undefined; } +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ +export interface ConsensusParamsSDKType { + block: BlockParamsSDKType | undefined; + evidence: EvidenceParamsSDKType | undefined; + validator: ValidatorParamsSDKType | undefined; + version: VersionParamsSDKType | undefined; +} /** BlockParams contains limits on the block size. */ + export interface BlockParams { /** Note: must be greater than 0 */ maxBytes: Long; - /** Note: must be greater or equal to -1 */ + maxGas: Long; } +/** BlockParams contains limits on the block size. */ + +export interface BlockParamsSDKType { + /** Note: must be greater than 0 */ + max_bytes: Long; + /** Note: must be greater or equal to -1 */ + + max_gas: Long; +} export interface LastCommitInfo { round: number; votes: VoteInfo[]; } - +export interface LastCommitInfoSDKType { + round: number; + votes: VoteInfoSDKType[]; +} /** * 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[]; } +/** + * 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: Uint8Array; value: Uint8Array; - /** nondeterministic */ + index: boolean; } +/** EventAttribute is a single key-value pair, associated with an event. */ + +export interface EventAttributeSDKType { + key: Uint8Array; + value: Uint8Array; + /** nondeterministic */ + 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 | undefined; } +/** + * TxResult contains results of executing the transaction. + * + * One usage is indexing transaction results. + */ +export interface TxResultSDKType { + height: Long; + index: number; + tx: Uint8Array; + result: ResponseDeliverTxSDKType | undefined; +} /** 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; } +/** Validator */ +export interface ValidatorSDKType { + /** + * The first 20 bytes of SHA256(public key) + * PubKey pub_key = 2 [(gogoproto.nullable)=false]; + */ + address: Uint8Array; + /** The voting power */ + + power: Long; +} /** ValidatorUpdate */ + export interface ValidatorUpdate { pubKey: PublicKey | undefined; power: Long; } +/** ValidatorUpdate */ +export interface ValidatorUpdateSDKType { + pub_key: PublicKeySDKType | undefined; + power: Long; +} /** VoteInfo */ + export interface VoteInfo { validator: Validator | undefined; signedLastBlock: boolean; } +/** VoteInfo */ + +export interface VoteInfoSDKType { + validator: ValidatorSDKType | undefined; + signed_last_block: boolean; +} export interface Evidence { type: EvidenceType; - /** The offending validator */ - validator: Validator | undefined; + validator: Validator | undefined; /** The height when the offense occurred */ - height: Long; + height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time: Date | undefined; /** * 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 EvidenceSDKType { + type: EvidenceTypeSDKType; + /** The offending validator */ + + validator: ValidatorSDKType | undefined; + /** The height when the offense occurred */ + + height: Long; + /** The corresponding time where the offense occurred */ + + time: Date | undefined; + /** + * 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: Long; +} export interface Snapshot { /** The height at which the snapshot was taken */ height: Long; - /** The application-specific snapshot format */ - format: number; + format: number; /** Number of chunks in the snapshot */ - chunks: number; + chunks: number; /** Arbitrary snapshot hash, equal only if identical */ + hash: Uint8Array; + /** Arbitrary application metadata */ + + metadata: Uint8Array; +} +export interface SnapshotSDKType { + /** 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; } @@ -720,46 +1096,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, - setOption: isSet(object.setOption) ? RequestSetOption.fromJSON(object.setOption) : 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 - }; - }, - - 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.setOption !== undefined && (obj.setOption = message.setOption ? RequestSetOption.toJSON(message.setOption) : 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); - return obj; - }, - fromPartial(object: Partial): Request { const message = createBaseRequest(); message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; @@ -819,18 +1155,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 ?? ""; @@ -866,15 +1190,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; @@ -937,22 +1252,6 @@ export const RequestInfo = { return message; }, - fromJSON(object: any): RequestInfo { - return { - version: isSet(object.version) ? String(object.version) : "", - blockVersion: isSet(object.blockVersion) ? Long.fromString(object.blockVersion) : Long.UZERO, - p2pVersion: isSet(object.p2pVersion) ? Long.fromString(object.p2pVersion) : Long.UZERO - }; - }, - - toJSON(message: RequestInfo): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = message.version); - message.blockVersion !== undefined && (obj.blockVersion = (message.blockVersion || Long.UZERO).toString()); - message.p2pVersion !== undefined && (obj.p2pVersion = (message.p2pVersion || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestInfo { const message = createBaseRequestInfo(); message.version = object.version ?? ""; @@ -1009,20 +1308,6 @@ export const RequestSetOption = { return message; }, - fromJSON(object: any): RequestSetOption { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? String(object.value) : "" - }; - }, - - toJSON(message: RequestSetOption): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: Partial): RequestSetOption { const message = createBaseRequestSetOption(); message.key = object.key ?? ""; @@ -1114,34 +1399,6 @@ 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) ? Long.fromString(object.initialHeight) : Long.ZERO - }; - }, - - toJSON(message: RequestInitChain): unknown { - const obj: any = {}; - message.time !== undefined && (obj.time = 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestInitChain { const message = createBaseRequestInitChain(); message.time = object.time ?? undefined; @@ -1219,24 +1476,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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.prove !== undefined && (obj.prove = message.prove); - return obj; - }, - fromPartial(object: Partial): RequestQuery { const message = createBaseRequestQuery(); message.data = object.data ?? new Uint8Array(); @@ -1312,30 +1551,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) ? LastCommitInfo.fromJSON(object.lastCommitInfo) : undefined, - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Evidence.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 ? LastCommitInfo.toJSON(message.lastCommitInfo) : undefined); - - if (message.byzantineValidators) { - obj.byzantineValidators = message.byzantineValidators.map(e => e ? Evidence.toJSON(e) : undefined); - } else { - obj.byzantineValidators = []; - } - - return obj; - }, - fromPartial(object: Partial): RequestBeginBlock { const message = createBaseRequestBeginBlock(); message.hash = object.hash ?? new Uint8Array(); @@ -1393,20 +1608,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) : 0 - }; - }, - - 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(); @@ -1453,18 +1654,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(); @@ -1510,18 +1699,6 @@ export const RequestEndBlock = { return message; }, - fromJSON(object: any): RequestEndBlock { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO - }; - }, - - toJSON(message: RequestEndBlock): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): RequestEndBlock { const message = createBaseRequestEndBlock(); message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; @@ -1557,15 +1734,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; @@ -1600,15 +1768,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; @@ -1662,20 +1821,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; @@ -1740,22 +1885,6 @@ export const RequestLoadSnapshotChunk = { return message; }, - fromJSON(object: any): RequestLoadSnapshotChunk { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; @@ -1821,22 +1950,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; @@ -2019,48 +2132,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, - setOption: isSet(object.setOption) ? ResponseSetOption.fromJSON(object.setOption) : 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 - }; - }, - - 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.setOption !== undefined && (obj.setOption = message.setOption ? ResponseSetOption.toJSON(message.setOption) : 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); - return obj; - }, - fromPartial(object: Partial): Response { const message = createBaseResponse(); message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; @@ -2121,18 +2192,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 ?? ""; @@ -2156,7 +2215,7 @@ export const ResponseEcho = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEchoSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEcho(); @@ -2178,18 +2237,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 ?? ""; @@ -2207,7 +2254,7 @@ export const ResponseFlush = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlushSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseFlush(); @@ -2225,15 +2272,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; @@ -2276,7 +2314,7 @@ export const ResponseInfo = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfoSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInfo(); @@ -2314,26 +2352,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) ? Long.fromString(object.appVersion) : Long.UZERO, - lastBlockHeight: isSet(object.lastBlockHeight) ? Long.fromString(object.lastBlockHeight) : Long.ZERO, - 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 || Long.UZERO).toString()); - message.lastBlockHeight !== undefined && (obj.lastBlockHeight = (message.lastBlockHeight || Long.ZERO).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 ?? ""; @@ -2371,7 +2389,7 @@ export const ResponseSetOption = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOptionSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseSetOption(); @@ -2401,22 +2419,6 @@ export const ResponseSetOption = { return message; }, - fromJSON(object: any): ResponseSetOption { - return { - code: isSet(object.code) ? Number(object.code) : 0, - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "" - }; - }, - - toJSON(message: ResponseSetOption): 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); - return obj; - }, - fromPartial(object: Partial): ResponseSetOption { const message = createBaseResponseSetOption(); message.code = object.code ?? 0; @@ -2452,7 +2454,7 @@ export const ResponseInitChain = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChainSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInitChain(); @@ -2482,28 +2484,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; @@ -2569,7 +2549,7 @@ export const ResponseQuery = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuerySDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseQuery(); @@ -2623,34 +2603,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) ? Long.fromString(object.index) : Long.ZERO, - 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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.codespace !== undefined && (obj.codespace = message.codespace); - return obj; - }, - fromPartial(object: Partial): ResponseQuery { const message = createBaseResponseQuery(); message.code = object.code ?? 0; @@ -2682,7 +2634,7 @@ export const ResponseBeginBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlockSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseBeginBlock(); @@ -2704,24 +2656,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)) || []; @@ -2780,7 +2714,7 @@ export const ResponseCheckTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTxSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCheckTx(); @@ -2830,38 +2764,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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], - codespace: isSet(object.codespace) ? String(object.codespace) : "" - }; - }, - - 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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): ResponseCheckTx { const message = createBaseResponseCheckTx(); message.code = object.code ?? 0; @@ -2927,7 +2829,7 @@ export const ResponseDeliverTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTxSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseDeliverTx(); @@ -2977,38 +2879,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.gasWanted) ? Long.fromString(object.gasWanted) : Long.ZERO, - gasUsed: isSet(object.gasUsed) ? Long.fromString(object.gasUsed) : Long.ZERO, - 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.gasWanted = (message.gasWanted || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).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; @@ -3049,7 +2919,7 @@ export const ResponseEndBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlockSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEndBlock(); @@ -3079,34 +2949,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)) || []; @@ -3137,7 +2979,7 @@ export const ResponseCommit = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommitSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCommit(); @@ -3163,20 +3005,6 @@ export const ResponseCommit = { return message; }, - fromJSON(object: any): ResponseCommit { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - retainHeight: isSet(object.retainHeight) ? Long.fromString(object.retainHeight) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ResponseCommit { const message = createBaseResponseCommit(); message.data = object.data ?? new Uint8Array(); @@ -3201,7 +3029,7 @@ export const ResponseListSnapshots = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshotsSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseListSnapshots(); @@ -3223,24 +3051,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)) || []; @@ -3264,7 +3074,7 @@ export const ResponseOfferSnapshot = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshotSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseOfferSnapshot(); @@ -3286,18 +3096,6 @@ export const ResponseOfferSnapshot = { return message; }, - fromJSON(object: any): ResponseOfferSnapshot { - return { - result: isSet(object.result) ? responseOfferSnapshot_ResultFromJSON(object.result) : 0 - }; - }, - - 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; @@ -3321,7 +3119,7 @@ export const ResponseLoadSnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunkSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseLoadSnapshotChunk(); @@ -3343,18 +3141,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(); @@ -3392,7 +3178,7 @@ export const ResponseApplySnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunkSDKType { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseApplySnapshotChunk(); @@ -3431,33 +3217,6 @@ export const ResponseApplySnapshotChunk = { return message; }, - fromJSON(object: any): ResponseApplySnapshotChunk { - return { - result: isSet(object.result) ? responseApplySnapshotChunk_ResultFromJSON(object.result) : 0, - 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; @@ -3532,24 +3291,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; @@ -3607,20 +3348,6 @@ export const BlockParams = { return message; }, - fromJSON(object: any): BlockParams { - return { - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, - maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO - }; - }, - - toJSON(message: BlockParams): unknown { - const obj: any = {}; - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockParams { const message = createBaseBlockParams(); message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; @@ -3676,26 +3403,6 @@ export const LastCommitInfo = { return message; }, - fromJSON(object: any): LastCommitInfo { - return { - round: isSet(object.round) ? Number(object.round) : 0, - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [] - }; - }, - - toJSON(message: LastCommitInfo): 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): LastCommitInfo { const message = createBaseLastCommitInfo(); message.round = object.round ?? 0; @@ -3751,26 +3458,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 ?? ""; @@ -3835,22 +3522,6 @@ export const EventAttribute = { return message; }, - fromJSON(object: any): EventAttribute { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - index: isSet(object.index) ? Boolean(object.index) : false - }; - }, - - toJSON(message: EventAttribute): 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.index !== undefined && (obj.index = message.index); - return obj; - }, - fromPartial(object: Partial): EventAttribute { const message = createBaseEventAttribute(); message.key = object.key ?? new Uint8Array(); @@ -3925,24 +3596,6 @@ export const TxResult = { return message; }, - fromJSON(object: any): TxResult { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -4000,20 +3653,6 @@ export const Validator = { return message; }, - fromJSON(object: any): Validator { - return { - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -4069,20 +3708,6 @@ export const ValidatorUpdate = { return message; }, - fromJSON(object: any): ValidatorUpdate { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - power: isSet(object.power) ? Long.fromString(object.power) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorUpdate { const message = createBaseValidatorUpdate(); message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; @@ -4138,20 +3763,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; @@ -4234,26 +3845,6 @@ export const Evidence = { return message; }, - fromJSON(object: any): Evidence { - return { - type: isSet(object.type) ? evidenceTypeFromJSON(object.type) : 0, - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO - }; - }, - - toJSON(message: Evidence): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = evidenceTypeToJSON(message.type)); - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Evidence { const message = createBaseEvidence(); message.type = object.type ?? 0; @@ -4339,26 +3930,6 @@ export const Snapshot = { return message; }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.UZERO, - 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 || Long.UZERO).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 ? Long.fromValue(object.height) : Long.UZERO; diff --git a/examples/telescope/codegen/tendermint/crypto/keys.ts b/examples/telescope/codegen/tendermint/crypto/keys.ts index 344590142..c38413da3 100644 --- a/examples/telescope/codegen/tendermint/crypto/keys.ts +++ b/examples/telescope/codegen/tendermint/crypto/keys.ts @@ -1,11 +1,16 @@ import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; - /** PublicKey defines the keys available for use with Tendermint Validators */ + export interface PublicKey { ed25519?: Uint8Array; secp256k1?: Uint8Array; } +/** PublicKey defines the keys available for use with Tendermint Validators */ + +export interface PublicKeySDKType { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} function createBasePublicKey(): PublicKey { return { @@ -53,20 +58,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/examples/telescope/codegen/tendermint/crypto/proof.ts b/examples/telescope/codegen/tendermint/crypto/proof.ts index b75f5ec6a..d49309477 100644 --- a/examples/telescope/codegen/tendermint/crypto/proof.ts +++ b/examples/telescope/codegen/tendermint/crypto/proof.ts @@ -1,39 +1,73 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface Proof { total: Long; index: Long; leafHash: Uint8Array; aunts: Uint8Array[]; } +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 | undefined; } +export interface ValueOpSDKType { + /** Encoded in ProofOp.Key. */ + key: Uint8Array; + /** To encode in ProofOp.Data */ + + proof: ProofSDKType | undefined; +} export interface DominoOp { key: string; input: string; output: string; } - +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; } +/** + * 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[]; } +/** ProofOps is Merkle proof defined by the list of ProofOps */ + +export interface ProofOpsSDKType { + ops: ProofOpSDKType[]; +} function createBaseProof(): Proof { return { @@ -99,30 +133,6 @@ export const Proof = { return message; }, - fromJSON(object: any): Proof { - return { - total: isSet(object.total) ? Long.fromString(object.total) : Long.ZERO, - index: isSet(object.index) ? Long.fromString(object.index) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.index !== undefined && (obj.index = (message.index || Long.ZERO).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 ? Long.fromValue(object.total) : Long.ZERO; @@ -180,20 +190,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(); @@ -258,22 +254,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 ?? ""; @@ -339,22 +319,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 ?? ""; @@ -402,24 +366,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/examples/telescope/codegen/tendermint/libs/bits/types.ts b/examples/telescope/codegen/tendermint/libs/bits/types.ts index 76319b490..9d9fbc48a 100644 --- a/examples/telescope/codegen/tendermint/libs/bits/types.ts +++ b/examples/telescope/codegen/tendermint/libs/bits/types.ts @@ -1,9 +1,13 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface BitArray { bits: Long; elems: Long[]; } +export interface BitArraySDKType { + bits: Long; + elems: Long[]; +} function createBaseBitArray(): BitArray { return { @@ -63,26 +67,6 @@ export const BitArray = { return message; }, - fromJSON(object: any): BitArray { - return { - bits: isSet(object.bits) ? Long.fromString(object.bits) : Long.ZERO, - elems: Array.isArray(object?.elems) ? object.elems.map((e: any) => Long.fromString(e)) : [] - }; - }, - - toJSON(message: BitArray): unknown { - const obj: any = {}; - message.bits !== undefined && (obj.bits = (message.bits || Long.ZERO).toString()); - - if (message.elems) { - obj.elems = message.elems.map(e => (e || Long.UZERO).toString()); - } else { - obj.elems = []; - } - - return obj; - }, - fromPartial(object: Partial): BitArray { const message = createBaseBitArray(); message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; diff --git a/examples/telescope/codegen/tendermint/p2p/types.ts b/examples/telescope/codegen/tendermint/p2p/types.ts index 131e862f7..483567968 100644 --- a/examples/telescope/codegen/tendermint/p2p/types.ts +++ b/examples/telescope/codegen/tendermint/p2p/types.ts @@ -1,11 +1,16 @@ import { Timestamp } from "../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; export interface ProtocolVersion { p2p: Long; block: Long; app: Long; } +export interface ProtocolVersionSDKType { + p2p: Long; + block: Long; + app: Long; +} export interface NodeInfo { protocolVersion: ProtocolVersion | undefined; nodeId: string; @@ -16,21 +21,46 @@ export interface NodeInfo { moniker: string; other: NodeInfoOther | undefined; } +export interface NodeInfoSDKType { + protocol_version: ProtocolVersionSDKType | undefined; + node_id: string; + listen_addr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other: NodeInfoOtherSDKType | undefined; +} export interface NodeInfoOther { txIndex: string; rpcAddress: string; } +export interface NodeInfoOtherSDKType { + tx_index: string; + rpc_address: string; +} export interface PeerInfo { id: string; addressInfo: PeerAddressInfo[]; lastConnected: Date | undefined; } +export interface PeerInfoSDKType { + id: string; + address_info: PeerAddressInfoSDKType[]; + last_connected: Date | undefined; +} export interface PeerAddressInfo { address: string; lastDialSuccess: Date | undefined; lastDialFailure: Date | undefined; dialFailures: number; } +export interface PeerAddressInfoSDKType { + address: string; + last_dial_success: Date | undefined; + last_dial_failure: Date | undefined; + dial_failures: number; +} function createBaseProtocolVersion(): ProtocolVersion { return { @@ -87,22 +117,6 @@ export const ProtocolVersion = { return message; }, - fromJSON(object: any): ProtocolVersion { - return { - p2p: isSet(object.p2p) ? Long.fromString(object.p2p) : Long.UZERO, - block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, - app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO - }; - }, - - toJSON(message: ProtocolVersion): unknown { - const obj: any = {}; - message.p2p !== undefined && (obj.p2p = (message.p2p || Long.UZERO).toString()); - message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); - message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ProtocolVersion { const message = createBaseProtocolVersion(); message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; @@ -213,32 +227,6 @@ export const NodeInfo = { return message; }, - fromJSON(object: any): NodeInfo { - return { - protocolVersion: isSet(object.protocolVersion) ? ProtocolVersion.fromJSON(object.protocolVersion) : undefined, - nodeId: isSet(object.nodeId) ? String(object.nodeId) : "", - 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) ? NodeInfoOther.fromJSON(object.other) : undefined - }; - }, - - toJSON(message: NodeInfo): unknown { - const obj: any = {}; - message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion ? ProtocolVersion.toJSON(message.protocolVersion) : undefined); - message.nodeId !== undefined && (obj.nodeId = message.nodeId); - 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 ? NodeInfoOther.toJSON(message.other) : undefined); - return obj; - }, - fromPartial(object: Partial): NodeInfo { const message = createBaseNodeInfo(); message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; @@ -300,20 +288,6 @@ export const NodeInfoOther = { return message; }, - fromJSON(object: any): NodeInfoOther { - return { - txIndex: isSet(object.txIndex) ? String(object.txIndex) : "", - rpcAddress: isSet(object.rpcAddress) ? String(object.rpcAddress) : "" - }; - }, - - toJSON(message: NodeInfoOther): unknown { - const obj: any = {}; - message.txIndex !== undefined && (obj.txIndex = message.txIndex); - message.rpcAddress !== undefined && (obj.rpcAddress = message.rpcAddress); - return obj; - }, - fromPartial(object: Partial): NodeInfoOther { const message = createBaseNodeInfoOther(); message.txIndex = object.txIndex ?? ""; @@ -378,28 +352,6 @@ export const PeerInfo = { return message; }, - fromJSON(object: any): PeerInfo { - return { - id: isSet(object.id) ? String(object.id) : "", - addressInfo: Array.isArray(object?.addressInfo) ? object.addressInfo.map((e: any) => PeerAddressInfo.fromJSON(e)) : [], - lastConnected: isSet(object.lastConnected) ? fromJsonTimestamp(object.lastConnected) : undefined - }; - }, - - toJSON(message: PeerInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - - if (message.addressInfo) { - obj.addressInfo = message.addressInfo.map(e => e ? PeerAddressInfo.toJSON(e) : undefined); - } else { - obj.addressInfo = []; - } - - message.lastConnected !== undefined && (obj.lastConnected = message.lastConnected.toISOString()); - return obj; - }, - fromPartial(object: Partial): PeerInfo { const message = createBasePeerInfo(); message.id = object.id ?? ""; @@ -474,24 +426,6 @@ export const PeerAddressInfo = { return message; }, - fromJSON(object: any): PeerAddressInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - lastDialSuccess: isSet(object.lastDialSuccess) ? fromJsonTimestamp(object.lastDialSuccess) : undefined, - lastDialFailure: isSet(object.lastDialFailure) ? fromJsonTimestamp(object.lastDialFailure) : undefined, - dialFailures: isSet(object.dialFailures) ? Number(object.dialFailures) : 0 - }; - }, - - toJSON(message: PeerAddressInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.lastDialSuccess !== undefined && (obj.lastDialSuccess = message.lastDialSuccess.toISOString()); - message.lastDialFailure !== undefined && (obj.lastDialFailure = message.lastDialFailure.toISOString()); - message.dialFailures !== undefined && (obj.dialFailures = Math.round(message.dialFailures)); - return obj; - }, - fromPartial(object: Partial): PeerAddressInfo { const message = createBasePeerAddressInfo(); message.address = object.address ?? ""; diff --git a/examples/telescope/codegen/tendermint/types/block.ts b/examples/telescope/codegen/tendermint/types/block.ts index fdb181db9..336943039 100644 --- a/examples/telescope/codegen/tendermint/types/block.ts +++ b/examples/telescope/codegen/tendermint/types/block.ts @@ -1,13 +1,18 @@ -import { Header, Data, Commit } from "./types"; -import { EvidenceList } from "./evidence"; +import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; +import { EvidenceList, EvidenceListSDKType } from "./evidence"; import * as _m0 from "protobufjs/minimal"; -import { isSet } from "@osmonauts/helpers"; export interface Block { header: Header | undefined; data: Data | undefined; evidence: EvidenceList | undefined; lastCommit: Commit | undefined; } +export interface BlockSDKType { + header: HeaderSDKType | undefined; + data: DataSDKType | undefined; + evidence: EvidenceListSDKType | undefined; + last_commit: CommitSDKType | undefined; +} function createBaseBlock(): Block { return { @@ -73,24 +78,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/examples/telescope/codegen/tendermint/types/evidence.ts b/examples/telescope/codegen/tendermint/types/evidence.ts index acb465ecb..f55b57a54 100644 --- a/examples/telescope/codegen/tendermint/types/evidence.ts +++ b/examples/telescope/codegen/tendermint/types/evidence.ts @@ -1,14 +1,18 @@ -import { Vote, LightBlock } from "./types"; +import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; import { Timestamp } from "../../google/protobuf/timestamp"; -import { Validator } from "./validator"; +import { Validator, ValidatorSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; lightClientAttackEvidence?: LightClientAttackEvidence | undefined; } - +export interface EvidenceSDKType { + duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType | undefined; + light_client_attack_evidence?: LightClientAttackEvidenceSDKType | undefined; +} /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ + export interface DuplicateVoteEvidence { voteA: Vote | undefined; voteB: Vote | undefined; @@ -16,8 +20,17 @@ export interface DuplicateVoteEvidence { validatorPower: Long; timestamp: Date | undefined; } +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ +export interface DuplicateVoteEvidenceSDKType { + vote_a: VoteSDKType | undefined; + vote_b: VoteSDKType | undefined; + total_voting_power: Long; + validator_power: Long; + timestamp: Date | undefined; +} /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + export interface LightClientAttackEvidence { conflictingBlock: LightBlock | undefined; commonHeight: Long; @@ -25,9 +38,21 @@ export interface LightClientAttackEvidence { totalVotingPower: Long; timestamp: Date | undefined; } +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + +export interface LightClientAttackEvidenceSDKType { + conflicting_block: LightBlockSDKType | undefined; + common_height: Long; + byzantine_validators: ValidatorSDKType[]; + total_voting_power: Long; + timestamp: Date | undefined; +} export interface EvidenceList { evidence: Evidence[]; } +export interface EvidenceListSDKType { + evidence: EvidenceSDKType[]; +} function createBaseEvidence(): Evidence { return { @@ -75,20 +100,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; @@ -171,26 +182,6 @@ 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) ? Long.fromString(object.totalVotingPower) : Long.ZERO, - validatorPower: isSet(object.validatorPower) ? Long.fromString(object.validatorPower) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.validatorPower !== undefined && (obj.validatorPower = (message.validatorPower || Long.ZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = 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; @@ -276,32 +267,6 @@ export const LightClientAttackEvidence = { return message; }, - fromJSON(object: any): LightClientAttackEvidence { - return { - conflictingBlock: isSet(object.conflictingBlock) ? LightBlock.fromJSON(object.conflictingBlock) : undefined, - commonHeight: isSet(object.commonHeight) ? Long.fromString(object.commonHeight) : Long.ZERO, - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Validator.fromJSON(e)) : [], - totalVotingPower: isSet(object.totalVotingPower) ? Long.fromString(object.totalVotingPower) : Long.ZERO, - 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 || Long.ZERO).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 || Long.ZERO).toString()); - message.timestamp !== undefined && (obj.timestamp = 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; @@ -351,24 +316,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/examples/telescope/codegen/tendermint/types/params.ts b/examples/telescope/codegen/tendermint/types/params.ts index af175d89b..378482eb0 100644 --- a/examples/telescope/codegen/tendermint/types/params.ts +++ b/examples/telescope/codegen/tendermint/types/params.ts @@ -1,42 +1,76 @@ -import { Duration } from "../../google/protobuf/duration"; +import { Duration, DurationSDKType } from "../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { isSet, Long } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * ConsensusParams contains consensus critical parameters that determine the * validity of blocks. */ + export interface ConsensusParams { block: BlockParams | undefined; evidence: EvidenceParams | undefined; validator: ValidatorParams | undefined; version: VersionParams | undefined; } +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ +export interface ConsensusParamsSDKType { + block: BlockParamsSDKType | undefined; + evidence: EvidenceParamsSDKType | undefined; + validator: ValidatorParamsSDKType | undefined; + version: VersionParamsSDKType | undefined; +} /** 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; + maxGas: Long; /** * Minimum time increment between consecutive blocks (in milliseconds) If the * block header timestamp is ahead of the system clock, decrease this value. * * Not exposed to the application. */ + timeIotaMs: Long; } +/** BlockParams contains limits on the block size. */ +export interface BlockParamsSDKType { + /** + * Max block size, in bytes. + * Note: must be greater than 0 + */ + max_bytes: Long; + /** + * Max gas per block. + * Note: must be greater or equal to -1 + */ + + max_gas: Long; + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + + time_iota_ms: Long; +} /** EvidenceParams determine how we handle evidence of malfeasance. */ + export interface EvidenceParams { /** * Max age of evidence, in blocks. @@ -45,7 +79,6 @@ export interface EvidenceParams { * time}. */ maxAgeNumBlocks: Long; - /** * Max age of evidence, in time. * @@ -53,38 +86,89 @@ export interface EvidenceParams { * 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 | undefined; + maxAgeDuration: Duration | undefined; /** * 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; } +/** EvidenceParams determine how we handle evidence of malfeasance. */ +export interface EvidenceParamsSDKType { + /** + * Max age of evidence, in blocks. + * + * The basic formula for calculating this is: MaxAgeDuration / {average block + * time}. + */ + max_age_num_blocks: 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). + */ + + max_age_duration: DurationSDKType | undefined; + /** + * 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: Long; +} /** * ValidatorParams restrict the public key types validators can use. * NOTE: uses ABCI pubkey naming, not Amino names. */ + export interface ValidatorParams { pubKeyTypes: string[]; } +/** + * 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 { appVersion: Long; } +/** VersionParams contains the ABCI application version. */ +export interface VersionParamsSDKType { + app_version: Long; +} /** * HashedParams is a subset of ConsensusParams. * * It is hashed into the Header.ConsensusHash. */ + export interface HashedParams { blockMaxBytes: Long; blockMaxGas: Long; } +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ + +export interface HashedParamsSDKType { + block_max_bytes: Long; + block_max_gas: Long; +} function createBaseConsensusParams(): ConsensusParams { return { @@ -150,24 +234,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; @@ -234,22 +300,6 @@ export const BlockParams = { return message; }, - fromJSON(object: any): BlockParams { - return { - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO, - maxGas: isSet(object.maxGas) ? Long.fromString(object.maxGas) : Long.ZERO, - timeIotaMs: isSet(object.timeIotaMs) ? Long.fromString(object.timeIotaMs) : Long.ZERO - }; - }, - - toJSON(message: BlockParams): unknown { - const obj: any = {}; - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - message.maxGas !== undefined && (obj.maxGas = (message.maxGas || Long.ZERO).toString()); - message.timeIotaMs !== undefined && (obj.timeIotaMs = (message.timeIotaMs || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockParams { const message = createBaseBlockParams(); message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; @@ -315,22 +365,6 @@ export const EvidenceParams = { return message; }, - fromJSON(object: any): EvidenceParams { - return { - maxAgeNumBlocks: isSet(object.maxAgeNumBlocks) ? Long.fromString(object.maxAgeNumBlocks) : Long.ZERO, - maxAgeDuration: isSet(object.maxAgeDuration) ? Duration.fromJSON(object.maxAgeDuration) : undefined, - maxBytes: isSet(object.maxBytes) ? Long.fromString(object.maxBytes) : Long.ZERO - }; - }, - - toJSON(message: EvidenceParams): unknown { - const obj: any = {}; - message.maxAgeNumBlocks !== undefined && (obj.maxAgeNumBlocks = (message.maxAgeNumBlocks || Long.ZERO).toString()); - message.maxAgeDuration !== undefined && (obj.maxAgeDuration = message.maxAgeDuration); - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): EvidenceParams { const message = createBaseEvidenceParams(); message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; @@ -378,24 +412,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) || []; @@ -441,18 +457,6 @@ export const VersionParams = { return message; }, - fromJSON(object: any): VersionParams { - return { - appVersion: isSet(object.appVersion) ? Long.fromString(object.appVersion) : Long.UZERO - }; - }, - - toJSON(message: VersionParams): unknown { - const obj: any = {}; - message.appVersion !== undefined && (obj.appVersion = (message.appVersion || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): VersionParams { const message = createBaseVersionParams(); message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; @@ -507,20 +511,6 @@ export const HashedParams = { return message; }, - fromJSON(object: any): HashedParams { - return { - blockMaxBytes: isSet(object.blockMaxBytes) ? Long.fromString(object.blockMaxBytes) : Long.ZERO, - blockMaxGas: isSet(object.blockMaxGas) ? Long.fromString(object.blockMaxGas) : Long.ZERO - }; - }, - - toJSON(message: HashedParams): unknown { - const obj: any = {}; - message.blockMaxBytes !== undefined && (obj.blockMaxBytes = (message.blockMaxBytes || Long.ZERO).toString()); - message.blockMaxGas !== undefined && (obj.blockMaxGas = (message.blockMaxGas || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): HashedParams { const message = createBaseHashedParams(); message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; diff --git a/examples/telescope/codegen/tendermint/types/types.ts b/examples/telescope/codegen/tendermint/types/types.ts index 32fce40b4..d5b632d42 100644 --- a/examples/telescope/codegen/tendermint/types/types.ts +++ b/examples/telescope/codegen/tendermint/types/types.ts @@ -1,11 +1,11 @@ -import { Proof } from "../crypto/proof"; -import { Consensus } from "../version/types"; +import { Proof, ProofSDKType } from "../crypto/proof"; +import { Consensus, ConsensusSDKType } from "../version/types"; import { Timestamp } from "../../google/protobuf/timestamp"; -import { ValidatorSet } from "./validator"; +import { ValidatorSet, ValidatorSetSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, toTimestamp, Long, fromTimestamp, fromJsonTimestamp } from "@osmonauts/helpers"; - +import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; /** BlockIdFlag indicates which BlcokID the signature is for */ + export enum BlockIDFlag { BLOCK_ID_FLAG_UNKNOWN = 0, BLOCK_ID_FLAG_ABSENT = 1, @@ -13,6 +13,15 @@ export enum BlockIDFlag { BLOCK_ID_FLAG_NIL = 3, UNRECOGNIZED = -1, } +/** BlockIdFlag indicates which BlcokID the signature is for */ + +export enum BlockIDFlagSDKType { + BLOCK_ID_FLAG_UNKNOWN = 0, + BLOCK_ID_FLAG_ABSENT = 1, + BLOCK_ID_FLAG_COMMIT = 2, + BLOCK_ID_FLAG_NIL = 3, + UNRECOGNIZED = -1, +} export function blockIDFlagFromJSON(object: any): BlockIDFlag { switch (object) { case 0: @@ -55,8 +64,8 @@ export function blockIDFlagToJSON(object: BlockIDFlag): string { return "UNKNOWN"; } } - /** SignedMsgType is a type of signed message in the consensus. */ + export enum SignedMsgType { SIGNED_MSG_TYPE_UNKNOWN = 0, @@ -68,6 +77,19 @@ export enum SignedMsgType { SIGNED_MSG_TYPE_PROPOSAL = 32, UNRECOGNIZED = -1, } +/** SignedMsgType is a type of signed message in the consensus. */ + +export enum SignedMsgTypeSDKType { + 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { switch (object) { case 0: @@ -110,60 +132,112 @@ export function signedMsgTypeToJSON(object: SignedMsgType): string { return "UNKNOWN"; } } - /** PartsetHeader */ + export interface PartSetHeader { total: number; hash: Uint8Array; } +/** PartsetHeader */ + +export interface PartSetHeaderSDKType { + total: number; + hash: Uint8Array; +} export interface Part { index: number; bytes: Uint8Array; proof: Proof | undefined; } - +export interface PartSDKType { + index: number; + bytes: Uint8Array; + proof: ProofSDKType | undefined; +} /** BlockID */ + export interface BlockID { hash: Uint8Array; partSetHeader: PartSetHeader | undefined; } +/** BlockID */ +export interface BlockIDSDKType { + hash: Uint8Array; + part_set_header: PartSetHeaderSDKType | undefined; +} /** Header defines the structure of a Tendermint block header. */ + export interface Header { /** basic block info */ version: Consensus | undefined; chainId: string; height: Long; time: Date | undefined; - /** prev block info */ - lastBlockId: BlockID | undefined; + lastBlockId: BlockID | undefined; /** hashes of block data */ + lastCommitHash: Uint8Array; dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; + validatorsHash: Uint8Array; /** validators for the next block */ - nextValidatorsHash: Uint8Array; + nextValidatorsHash: Uint8Array; /** consensus params for current block */ - consensusHash: Uint8Array; + consensusHash: Uint8Array; /** state after txs from the previous block */ + appHash: Uint8Array; lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; + evidenceHash: Uint8Array; /** original proposer of the block */ + proposerAddress: Uint8Array; } +/** Header defines the structure of a Tendermint block header. */ + +export interface HeaderSDKType { + /** basic block info */ + version: ConsensusSDKType | undefined; + chain_id: string; + height: Long; + time: Date | undefined; + /** prev block info */ + + last_block_id: BlockIDSDKType | undefined; + /** 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; +} /** Data contains the set of transactions included in the block */ + export interface Data { /** * Txs that will be applied by state @ block.Height+1. @@ -172,39 +246,82 @@ export interface Data { */ txs: Uint8Array[]; } +/** Data contains the set of transactions included in the block */ +export interface DataSDKType { + /** + * 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[]; +} /** * Vote represents a prevote, precommit, or commit vote from validators for * consensus. */ + export interface Vote { type: SignedMsgType; height: Long; round: number; - /** zero if vote is nil. */ + blockId: BlockID | undefined; timestamp: Date | undefined; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; } +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ + +export interface VoteSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + /** zero if vote is nil. */ + block_id: BlockIDSDKType | undefined; + timestamp: Date | undefined; + 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 | undefined; signatures: CommitSig[]; } +/** Commit contains the evidence that a block was committed by a set of validators. */ +export interface CommitSDKType { + height: Long; + round: number; + block_id: BlockIDSDKType | undefined; + signatures: CommitSigSDKType[]; +} /** CommitSig is a part of the Vote included in a Commit. */ + export interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; timestamp: Date | undefined; signature: Uint8Array; } +/** CommitSig is a part of the Vote included in a Commit. */ + +export interface CommitSigSDKType { + block_id_flag: BlockIDFlagSDKType; + validator_address: Uint8Array; + timestamp: Date | undefined; + signature: Uint8Array; +} export interface Proposal { type: SignedMsgType; height: Long; @@ -214,27 +331,57 @@ export interface Proposal { timestamp: Date | undefined; signature: Uint8Array; } +export interface ProposalSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + pol_round: number; + block_id: BlockIDSDKType | undefined; + timestamp: Date | undefined; + signature: Uint8Array; +} export interface SignedHeader { header: Header | undefined; commit: Commit | undefined; } +export interface SignedHeaderSDKType { + header: HeaderSDKType | undefined; + commit: CommitSDKType | undefined; +} export interface LightBlock { signedHeader: SignedHeader | undefined; validatorSet: ValidatorSet | undefined; } +export interface LightBlockSDKType { + signed_header: SignedHeaderSDKType | undefined; + validator_set: ValidatorSetSDKType | undefined; +} export interface BlockMeta { blockId: BlockID | undefined; blockSize: Long; header: Header | undefined; numTxs: Long; } - +export interface BlockMetaSDKType { + block_id: BlockIDSDKType | undefined; + block_size: Long; + header: HeaderSDKType | undefined; + 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 | undefined; } +/** 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 | undefined; +} function createBasePartSetHeader(): PartSetHeader { return { @@ -282,20 +429,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; @@ -360,22 +493,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; @@ -432,20 +549,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(); @@ -609,44 +712,6 @@ 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) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).toString()); - message.time !== undefined && (obj.time = 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; @@ -705,24 +770,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) || []; @@ -831,32 +878,6 @@ export const Vote = { return message; }, - fromJSON(object: any): Vote { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 = 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; @@ -936,30 +957,6 @@ export const Commit = { return message; }, - fromJSON(object: any): Commit { - return { - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 ? Long.fromValue(object.height) : Long.ZERO; @@ -1035,24 +1032,6 @@ export const CommitSig = { return message; }, - fromJSON(object: any): CommitSig { - return { - blockIdFlag: isSet(object.blockIdFlag) ? blockIDFlagFromJSON(object.blockIdFlag) : 0, - 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 = 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; @@ -1155,30 +1134,6 @@ export const Proposal = { return message; }, - fromJSON(object: any): Proposal { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : 0, - height: isSet(object.height) ? Long.fromString(object.height) : Long.ZERO, - 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 || Long.ZERO).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 = 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; @@ -1239,20 +1194,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; @@ -1308,20 +1249,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; @@ -1395,24 +1322,6 @@ export const BlockMeta = { return message; }, - fromJSON(object: any): BlockMeta { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - blockSize: isSet(object.blockSize) ? Long.fromString(object.blockSize) : Long.ZERO, - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - numTxs: isSet(object.numTxs) ? Long.fromString(object.numTxs) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.numTxs !== undefined && (obj.numTxs = (message.numTxs || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): BlockMeta { const message = createBaseBlockMeta(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -1479,22 +1388,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/examples/telescope/codegen/tendermint/types/validator.ts b/examples/telescope/codegen/tendermint/types/validator.ts index 28963e1bd..5acd17c78 100644 --- a/examples/telescope/codegen/tendermint/types/validator.ts +++ b/examples/telescope/codegen/tendermint/types/validator.ts @@ -1,21 +1,36 @@ -import { PublicKey } from "../crypto/keys"; +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long, isSet, bytesFromBase64, base64FromBytes } from "@osmonauts/helpers"; +import { Long } from "@osmonauts/helpers"; export interface ValidatorSet { validators: Validator[]; proposer: Validator | undefined; totalVotingPower: Long; } +export interface ValidatorSetSDKType { + validators: ValidatorSDKType[]; + proposer: ValidatorSDKType | undefined; + total_voting_power: Long; +} export interface Validator { address: Uint8Array; pubKey: PublicKey | undefined; votingPower: Long; proposerPriority: Long; } +export interface ValidatorSDKType { + address: Uint8Array; + pub_key: PublicKeySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} export interface SimpleValidator { pubKey: PublicKey | undefined; votingPower: Long; } +export interface SimpleValidatorSDKType { + pub_key: PublicKeySDKType | undefined; + voting_power: Long; +} function createBaseValidatorSet(): ValidatorSet { return { @@ -72,28 +87,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) ? Long.fromString(object.totalVotingPower) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorSet { const message = createBaseValidatorSet(); message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; @@ -168,24 +161,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) ? Long.fromString(object.votingPower) : Long.ZERO, - proposerPriority: isSet(object.proposerPriority) ? Long.fromString(object.proposerPriority) : Long.ZERO - }; - }, - - 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 || Long.ZERO).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -243,20 +218,6 @@ export const SimpleValidator = { return message; }, - fromJSON(object: any): SimpleValidator { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - votingPower: isSet(object.votingPower) ? Long.fromString(object.votingPower) : Long.ZERO - }; - }, - - 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 || Long.ZERO).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/examples/telescope/codegen/tendermint/version/types.ts b/examples/telescope/codegen/tendermint/version/types.ts index 50b49b343..142dffe2b 100644 --- a/examples/telescope/codegen/tendermint/version/types.ts +++ b/examples/telescope/codegen/tendermint/version/types.ts @@ -1,25 +1,45 @@ import * as _m0 from "protobufjs/minimal"; -import { Long, isSet } from "@osmonauts/helpers"; - +import { Long } from "@osmonauts/helpers"; /** * 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; } +/** + * 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; } +/** + * 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; +} function createBaseApp(): App { return { @@ -67,20 +87,6 @@ export const App = { return message; }, - fromJSON(object: any): App { - return { - protocol: isSet(object.protocol) ? Long.fromString(object.protocol) : Long.UZERO, - software: isSet(object.software) ? String(object.software) : "" - }; - }, - - toJSON(message: App): unknown { - const obj: any = {}; - message.protocol !== undefined && (obj.protocol = (message.protocol || Long.UZERO).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 ? Long.fromValue(object.protocol) : Long.UZERO; @@ -136,20 +142,6 @@ export const Consensus = { return message; }, - fromJSON(object: any): Consensus { - return { - block: isSet(object.block) ? Long.fromString(object.block) : Long.UZERO, - app: isSet(object.app) ? Long.fromString(object.app) : Long.UZERO - }; - }, - - toJSON(message: Consensus): unknown { - const obj: any = {}; - message.block !== undefined && (obj.block = (message.block || Long.UZERO).toString()); - message.app !== undefined && (obj.app = (message.app || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: Partial): Consensus { const message = createBaseConsensus(); message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; diff --git a/examples/telescope/components/features.tsx b/examples/telescope/components/features.tsx index 37852ca15..19a4a1648 100644 --- a/examples/telescope/components/features.tsx +++ b/examples/telescope/components/features.tsx @@ -1,45 +1,79 @@ -import { LinkIcon } from '@chakra-ui/icons'; +import { LinkIcon } from "@chakra-ui/icons"; import { Box, Heading, - HStack, Icon, Link, + Stack, Text, - VStack -} from '@chakra-ui/react'; -import { FeatureProps } from './types'; + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; export const Product = ({ title, text, href }: FeatureProps) => { return ( - - + - {title} → - {text} - - + {title} → + {text} + + ); }; export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - - - - - - - + + + + + + + {title} - - - {text} - - + + + {text} + + + + ); }; diff --git a/examples/telescope/components/index.tsx b/examples/telescope/components/index.tsx index fbf3bb494..3e7078f7c 100644 --- a/examples/telescope/components/index.tsx +++ b/examples/telescope/components/index.tsx @@ -1,5 +1,4 @@ -export * from './types'; -export * from './wallet-connect'; -export * from './user-info'; -export * from './astronaut'; -export * from './features'; +export * from "./types"; +export * from "./react"; +export * from "./features"; +export * from "./wallet"; \ No newline at end of file diff --git a/examples/telescope/components/react/address-card.tsx b/examples/telescope/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/examples/telescope/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/telescope/components/astronaut.tsx b/examples/telescope/components/react/astronaut.tsx similarity index 97% rename from examples/telescope/components/astronaut.tsx rename to examples/telescope/components/react/astronaut.tsx index 572884aa7..382d8cc6e 100644 --- a/examples/telescope/components/astronaut.tsx +++ b/examples/telescope/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {'cosmology-astronaut'} + {"cosmology-astronaut"} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/examples/telescope/components/react/index.ts b/examples/telescope/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/examples/telescope/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/examples/telescope/components/react/user-card.tsx b/examples/telescope/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/examples/telescope/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/telescope/components/react/wallet-connect.tsx b/examples/telescope/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/examples/telescope/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/telescope/components/react/warn-block.tsx b/examples/telescope/components/react/warn-block.tsx new file mode 100644 index 000000000..ce056e879 --- /dev/null +++ b/examples/telescope/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const WarnBlock = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error, +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/telescope/components/types.tsx b/examples/telescope/components/types.tsx index 93f463d0e..866512e75 100644 --- a/examples/telescope/components/types.tsx +++ b/examples/telescope/components/types.tsx @@ -1,8 +1,8 @@ -import { MouseEventHandler, ReactNode } from 'react'; -import { IconType } from 'react-icons'; +import { MouseEventHandler, ReactNode } from "react"; +import { IconType } from "react-icons"; export interface ChooseChainInfo { - chainId: string; + chainName: string; chainRoute?: string; label: string; value: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = 'NotInit', - Loading = 'Loading', - Loaded = 'Loaded', - NotExist = 'NotExist', - Rejected = 'Rejected' + NotInit = "NotInit", + Loading = "Loading", + Loaded = "Loaded", + NotExist = "NotExist", + Rejected = "Rejected", } export interface ConnectWalletType { @@ -27,7 +27,8 @@ export interface ConnectWalletType { } export interface ConnectedUserCardType { - userName: string; + walletIcon?: string; + username?: string; icon?: ReactNode; } @@ -36,3 +37,8 @@ export interface FeatureProps { text: string; href: string; } + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/telescope/components/user-info.tsx b/examples/telescope/components/user-info.tsx deleted file mode 100644 index 14534b5b4..000000000 --- a/examples/telescope/components/user-info.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import React, { ReactNode } from 'react'; -import { Text, useColorModeValue, Stack, Box } from '@chakra-ui/react'; -import { ConnectedUserCardType } from './types'; - -export const ConnectedUserCard = ({ - userName, - icon -}: ConnectedUserCardType) => { - return ( - - - {icon} - - - {userName} - - - ); -}; - -export const ConnectedUserInfo = ({ - name, - icon -}: { - name: string; - icon?: ReactNode; -}) => { - return ; -}; diff --git a/examples/telescope/components/wallet-connect.tsx b/examples/telescope/components/wallet-connect.tsx deleted file mode 100644 index bdb2fdc72..000000000 --- a/examples/telescope/components/wallet-connect.tsx +++ /dev/null @@ -1,121 +0,0 @@ -import React, { MouseEventHandler, ReactNode } from 'react'; -import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { WalletStatus } from './types'; -import { IoWallet } from 'react-icons/io5'; -import { ConnectWalletType } from './types'; - -export const ConnectWalletButton = ({ - buttonText, - isLoading, - isDisabled, - icon, - onClickConnectBtn -}: ConnectWalletType) => { - return ( - - ); -}; - -export const Disconnect = ({ - buttonText, - onClick -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connected = ({ - buttonText, - onClick -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connecting = () => { - return ; -}; - -export const Rejected = ({ - buttonText, - wordOfWarning -}: { - buttonText: string; - wordOfWarning?: string; -}) => { - return ( - - - - - - - Warning:  - - {wordOfWarning} - - - - ); -}; - -export const NotExist = ({ buttonText }: { buttonText: string }) => { - return ; -}; - -export const WalletConnectComponent = ({ - walletStatus, - disconnect, - connecting, - connected, - rejected, - notExist -}: { - walletStatus: WalletStatus; - disconnect: ReactNode; - connecting: ReactNode; - connected: ReactNode; - rejected: ReactNode; - notExist: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.NotInit: - return <>{disconnect}; - case WalletStatus.Loading: - return <>{connecting}; - case WalletStatus.Loaded: - return <>{connected}; - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.NotExist: - return <>{notExist}; - default: - return <>{disconnect}; - } -}; diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx new file mode 100644 index 000000000..3a0dd2318 --- /dev/null +++ b/examples/telescope/components/wallet.tsx @@ -0,0 +1,117 @@ +import { useWallet } from "@cosmos-kit/react"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; +import { MouseEventHandler, useEffect } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/config"; +import { ChainName } from "@cosmos-kit/core"; +import { chainInfos } from "../config/chain-infos"; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { connect, disconnect, openView, setCurrentChain, + walletStatus, username, address, message, + currentChainName, currentWalletName } = walletManager; + + const chain = chainInfos.find(c => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + } + connecting={} + connected={} + rejected={} + error={} + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +} \ No newline at end of file diff --git a/examples/telescope/config/chain-infos.ts b/examples/telescope/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/telescope/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/telescope/config/index.ts b/examples/telescope/config/index.ts index f97c1231f..e249d6303 100644 --- a/examples/telescope/config/index.ts +++ b/examples/telescope/config/index.ts @@ -1,2 +1,2 @@ export * from './theme'; -export * from './features'; \ No newline at end of file +export * from './features'; diff --git a/examples/telescope/config/theme.ts b/examples/telescope/config/theme.ts index b50e4954e..12bb0f21c 100644 --- a/examples/telescope/config/theme.ts +++ b/examples/telescope/config/theme.ts @@ -1,65 +1,34 @@ -import { extendTheme } from "@chakra-ui/react" +import { extendTheme } from "@chakra-ui/react"; export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif', - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9', - }, - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em', - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;', - }, - styles: { - global: { - 'html, #__next': { - height: '100%', - }, - '#__next': { - display: 'flex', - flexDirection: 'column', - }, - '.body': { - // todo check how to do this without breaking the site - // height: '100%', // Push footer to bottom - overflowY: 'scroll', // Always show scrollbar to avoid flickering - }, - html: { - scrollBehavior: 'smooth', - }, - '#nprogress': { - pointerEvents: 'none', - }, - '#nprogress .bar': { - background: 'green.200', - position: 'fixed', - zIndex: '1031', - top: 0, - left: 0, - width: '100%', - height: '2px', - }, - }, + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 597c82814..4ff0df42f 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -20,6 +20,7 @@ "@emotion/styled": "11.10.4", "@osmonauts/helpers": "^0.6.0", "@osmonauts/lcd": "^0.6.0", + "bignumber.js": "9.1.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", @@ -28,7 +29,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.30.0", + "@osmonauts/telescope": "0.31.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 6d7458251..fc6307440 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -1,41 +1,45 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; -import { GasPrice } from '@cosmjs/stargate'; +import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { ChainInfoID } from '@cosmos-kit/types'; -import { WalletManagerProvider } from '@cosmos-kit/react'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from '../codegen'; -const LOCAL_STORAGE_KEY = 'connectedWalletId'; +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; +import { GasPrice } from '@cosmjs/stargate'; function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'osmosis': + return { + gasPrice: GasPrice.fromString('0.0025uosmo') + }; + case 'juno': + return { + gasPrice: GasPrice.fromString('0.0025ujuno') + }; + } + } + }; + return ( -

Loading...

} - localStorageKey={LOCAL_STORAGE_KEY} - defaultChainId={ChainInfoID.Cosmoshub4} - getSigningCosmWasmClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - getSigningStargateClientOptions={(chainInfo) => ({ - gasPrice: GasPrice.fromString( - '0.0025' + chainInfo.feeCurrencies[0].coinMinimalDenom - ) - })} - > - + + - -
+ + ); } diff --git a/examples/telescope/pages/api/hello.ts b/examples/telescope/pages/api/hello.ts deleted file mode 100644 index 89e4d6bd9..000000000 --- a/examples/telescope/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next'; - -type Data = { - name: string; -}; - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }); -} diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index e5a09f1a1..31821d89b 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -1,149 +1,146 @@ -import { - Box, - Divider, - Grid, - Heading, - SimpleGrid, - Text, - Stack, - Container -} from '@chakra-ui/react'; -import { - Connected, - ConnectedUserInfo, - Connecting, - Disconnect, - NotExist, - Rejected, - WalletConnectComponent, - Astronaut, - Dependency, - Product -} from '../components'; -import styles from '../styles/Home.module.css'; -import { useWalletManager, useWallet } from '@cosmos-kit/react'; -import { mapStatusFromCosmosWallet } from '../utils'; -import { MouseEventHandler } from 'react'; -import Head from 'next/head'; -import { dependencies, products } from '../config'; +import { Container, Button } from '@chakra-ui/react'; +import { useWallet } from '@cosmos-kit/react'; +import { useEffect, useState } from 'react'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import { WalletStatus } from '@cosmos-kit/core'; +import BigNumber from 'bignumber.js'; -export default function Home() { - const { connect, disconnect } = useWalletManager(); - const { status, error, name, address } = useWallet(); - const walletStatus = mapStatusFromCosmosWallet(status, error as Error); +import { WalletSection } from '../components'; +import { cosmos } from '../codegen'; - const onClickConnect: MouseEventHandler = (e) => { - e.preventDefault(); - connect(); - }; +const chainName = 'osmosis'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const baseAsset: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } - const onClickDisconnect: MouseEventHandler = (e) => { - e.preventDefault(); - disconnect(); + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: baseAsset.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: baseAsset.base, + amount: '0' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); }; +}; - const userInfoCard = name ? ( - } /> - ) : ( - <> - ); +export default function Home() { + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={ - - } - notExist={} - /> - ); + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = `https://rest.cosmos.directory/${chainName}`; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: chainassets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = baseAsset.denom_units.find( + (unit) => unit.denom === baseAsset.display + )?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; return ( -
- - Create Cosmos App - - - -
- - - - Cosmos Apps Made Easy
-
- - Welcome to - - CosmosKit + Telescope + Next.js - - - - {userInfoCard} - {connectWalletButton} - -
- + + + {walletStatus === WalletStatus.Disconnected && ( + <>please connect your wallet! + )} + + {walletStatus === WalletStatus.Connected && ( + <> + Balance: {balance.toNumber()} + + + +
- -
+ Send Tokens (to self) + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} + ); } diff --git a/examples/telescope/scripts/codegen.js b/examples/telescope/scripts/codegen.js index 90d452594..a060672ff 100644 --- a/examples/telescope/scripts/codegen.js +++ b/examples/telescope/scripts/codegen.js @@ -38,5 +38,7 @@ telescope({ } }).then(() => { console.log('✨ all done!'); +}).catch(e=>{ + console.error(e); }); diff --git a/yarn.lock b/yarn.lock index 143aee7b7..6c0c1696a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4651,15 +4651,15 @@ case "1.6.3" dotty "0.1.2" -"@osmonauts/ast@^0.26.0": - version "0.26.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.26.0.tgz" - integrity sha512-qXtxoBvy0ByiRmEYgIGNeUvz+QsfRNnECClnIX1OwlB9qJAujXTIKDjj7XVd8XpP1PMRyz9IeljM1jOPBdyzpg== +"@osmonauts/ast@^0.27.0": + version "0.27.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.27.0.tgz#fd0a173ca3f03164de759d508c274ad0f9704895" + integrity sha512-cVs2E4VIf507zEfzgwwIGeTe7ybOLr0KBfdizH0cFKaf0wFm4V/whxkt+g3xb6Jh2ulWHqr49bB+COcohrC/Ow== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.19.0" - "@osmonauts/types" "^0.15.0" + "@osmonauts/proto-parser" "^0.19.1" + "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" case "1.6.3" dotty "0.1.2" @@ -4698,22 +4698,22 @@ glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/proto-parser@^0.19.0": - version "0.19.0" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.0.tgz" - integrity sha512-whVT9ANaW6I4LDHswFd2JSHEmXdz+WfohAF2coey0nyyoZOIzgb/D0B4DNXkFB66/ELIaHPlMKlkNgPNdYnN1g== +"@osmonauts/proto-parser@^0.19.1": + version "0.19.1" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.1.tgz#caae3144b3469144dbf630599042078fc871a600" + integrity sha512-xFY2ad0T2hSRinRy+oDNaDs3sA5yWukijFOMzuhb68h64F5cWtc6+FsPTZ7k0fY3lCCwbJS6NRH/rNuVlRQk9g== dependencies: "@babel/runtime" "^7.18.9" - "@osmonauts/types" "^0.15.0" + "@osmonauts/types" "^0.15.1" "@pyramation/protobufjs" "6.11.4" dotty "0.1.2" glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.30.0": - version "0.30.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.30.0.tgz" - integrity sha512-FtNzacTswfsGhWas5NRdC+RJfdYJif1NSC1N4ZjdqICroT4rmHcFwIwrH5+MYroVTcpZmFGWdmV1evTtAFiigg== +"@osmonauts/telescope@0.31.0": + version "0.31.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.31.0.tgz#fb4ffbaaae04ed59b8a7e02b0f2bab6ee8d93ecb" + integrity sha512-lX3I2oMBH4jVmVxO7va/gd1Sv5nqBlD4zAq21nwbA//YUNmpXD6m3BoKIKamLCUD91oasu8g3spCfzx/S6Gwng== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4728,9 +4728,9 @@ "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.26.0" - "@osmonauts/proto-parser" "^0.19.0" - "@osmonauts/types" "^0.15.0" + "@osmonauts/ast" "^0.27.0" + "@osmonauts/proto-parser" "^0.19.1" + "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" "@types/parse-package-name" "0.1.0" case "1.6.3" @@ -4795,10 +4795,10 @@ "@osmonauts/utils" "^0.4.0" case "1.6.3" -"@osmonauts/types@^0.15.0": - version "0.15.0" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.0.tgz" - integrity sha512-vgbBnBffhVXCPNovWnGEg3nofzB1ad0V/yLs3bpH83LhezO27pZEgt6MY2nTIRU1rzT88cxEH+8oSXVJjH2AqQ== +"@osmonauts/types@^0.15.1": + version "0.15.1" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.1.tgz#7f9ee9a7774ad77d7d2a987865fa6285ff89fea7" + integrity sha512-ZW0YWGT310SQ2V3w5rSRNNF6O6W7mm0fAkJUP+M0UzsQp1+KDT6nV+/E52Z6arPvN+mQGvWii1YmlQpTIIsTJw== dependencies: "@babel/runtime" "^7.18.9" "@osmonauts/utils" "^0.4.0" From e781191b57c3754bece6c9952cf5a6a93790dfe9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 24 Sep 2022 19:03:40 -0500 Subject: [PATCH 105/262] format --- .../connect-chain/components/features.tsx | 36 +-- templates/connect-chain/components/index.tsx | 8 +- .../components/react/address-card.tsx | 40 +-- .../components/react/astronaut.tsx | 18 +- .../components/react/chain-card.tsx | 72 ++--- .../connect-chain/components/react/index.ts | 12 +- .../components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 54 ++-- .../components/react/warn-block.tsx | 44 +-- templates/connect-chain/components/types.tsx | 14 +- templates/connect-chain/components/wallet.tsx | 258 ++++++++++------- templates/connect-chain/config/chain-infos.ts | 16 +- templates/connect-chain/config/theme.ts | 42 +-- .../components/features.tsx | 36 +-- .../connect-multi-chain/components/index.tsx | 8 +- .../components/react/address-card.tsx | 40 +-- .../components/react/astronaut.tsx | 18 +- .../components/react/chain-dropdown.tsx | 120 ++++---- .../components/react/choose-chain.tsx | 10 +- .../components/react/index.ts | 14 +- .../components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 54 ++-- .../components/react/warn-block.tsx | 44 +-- .../connect-multi-chain/components/types.tsx | 14 +- .../connect-multi-chain/components/wallet.tsx | 265 ++++++++++-------- .../connect-multi-chain/config/chain-infos.ts | 16 +- templates/connect-multi-chain/config/theme.ts | 42 +-- 27 files changed, 721 insertions(+), 598 deletions(-) diff --git a/templates/connect-chain/components/features.tsx b/templates/connect-chain/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/templates/connect-chain/components/features.tsx +++ b/templates/connect-chain/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/templates/connect-chain/components/index.tsx b/templates/connect-chain/components/index.tsx index 3e7078f7c..4d86fd53c 100644 --- a/templates/connect-chain/components/index.tsx +++ b/templates/connect-chain/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; \ No newline at end of file +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/templates/connect-chain/components/react/address-card.tsx b/templates/connect-chain/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/templates/connect-chain/components/react/address-card.tsx +++ b/templates/connect-chain/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/templates/connect-chain/components/react/astronaut.tsx b/templates/connect-chain/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/templates/connect-chain/components/react/astronaut.tsx +++ b/templates/connect-chain/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/templates/connect-chain/components/react/index.ts b/templates/connect-chain/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/templates/connect-chain/components/react/index.ts +++ b/templates/connect-chain/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/templates/connect-chain/components/react/user-card.tsx b/templates/connect-chain/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/templates/connect-chain/components/react/user-card.tsx +++ b/templates/connect-chain/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/templates/connect-chain/components/react/wallet-connect.tsx b/templates/connect-chain/components/react/wallet-connect.tsx index 9b2b2937e..9844d1481 100644 --- a/templates/connect-chain/components/react/wallet-connect.tsx +++ b/templates/connect-chain/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -80,12 +80,16 @@ export const Rejected = ({ }) => { return ( - + {wordOfWarning && ( { return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +168,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/templates/connect-chain/components/react/warn-block.tsx b/templates/connect-chain/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/templates/connect-chain/components/react/warn-block.tsx +++ b/templates/connect-chain/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/templates/connect-chain/components/types.tsx b/templates/connect-chain/components/types.tsx index 866512e75..5f9133656 100644 --- a/templates/connect-chain/components/types.tsx +++ b/templates/connect-chain/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainName: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index 3a0dd2318..2848a4b08 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -1,117 +1,163 @@ -import { useWallet } from "@cosmos-kit/react"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; -import { MouseEventHandler, useEffect } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; -import { ChainName } from "@cosmos-kit/core"; -import { chainInfos } from "../config/chain-infos"; +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { chainInfos } from '../config/chain-infos'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); - const { connect, disconnect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + disconnect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentChainName, + currentWalletName + } = walletManager; - const chain = chainInfos.find(c => c.chainName === chainName); + const chain = chainInfos.find((c) => c.chainName === chainName); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]) + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); - - const userInfo = } />; - const addressBtn = chainName && ( - } + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -
- - {chainName && ( - - - - )} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/templates/connect-chain/config/chain-infos.ts b/templates/connect-chain/config/chain-infos.ts index feded1c45..3a5de4712 100644 --- a/templates/connect-chain/config/chain-infos.ts +++ b/templates/connect-chain/config/chain-infos.ts @@ -1,17 +1,19 @@ -import { ChooseChainInfo } from "../components"; +import { ChooseChainInfo } from '../components'; import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name + (_chain) => _chain.chain_name === chain.chain_name )?.assets; return { chainName: chain.chain_name, label: chain.pretty_name, value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, disabled: false - } - }); \ No newline at end of file + }; + }); diff --git a/templates/connect-chain/config/theme.ts b/templates/connect-chain/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/templates/connect-chain/config/theme.ts +++ b/templates/connect-chain/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/templates/connect-multi-chain/components/features.tsx b/templates/connect-multi-chain/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/templates/connect-multi-chain/components/features.tsx +++ b/templates/connect-multi-chain/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/templates/connect-multi-chain/components/index.tsx b/templates/connect-multi-chain/components/index.tsx index 21aad9a64..4d86fd53c 100644 --- a/templates/connect-multi-chain/components/index.tsx +++ b/templates/connect-multi-chain/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/templates/connect-multi-chain/components/react/address-card.tsx b/templates/connect-multi-chain/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/templates/connect-multi-chain/components/react/address-card.tsx +++ b/templates/connect-multi-chain/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/templates/connect-multi-chain/components/react/astronaut.tsx b/templates/connect-multi-chain/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/templates/connect-multi-chain/components/react/astronaut.tsx +++ b/templates/connect-multi-chain/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { return ( @@ -41,58 +41,58 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const customStyles = { control: (provided: SystemStyleObject) => ({ ...provided, - height: 12, + height: 12 }), menu: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, mt: 4, mb: 0, - bg: useColorModeValue("white", "gray.900"), - boxShadow: useColorModeValue("0 1px 5px #e3e3e3", "0 0px 4px #4b4b4b"), - borderRadius: "0.3rem", + bg: useColorModeValue('white', 'gray.900'), + boxShadow: useColorModeValue('0 1px 5px #e3e3e3', '0 0px 4px #4b4b4b'), + borderRadius: '0.3rem' }), menuList: (provided: SystemStyleObject) => ({ ...provided, h: menuHeight, - bg: "transparent", - border: "none", - borderRadius: "none", + bg: 'transparent', + border: 'none', + borderRadius: 'none', p: 2, // For Firefox - scrollbarWidth: "auto", + scrollbarWidth: 'auto', scrollbarColor: useColorModeValue( - "rgba(0,0,0,0.3) rgba(0,0,0,0.2)", - "rgba(255,255,255,0.2) rgba(255,255,255,0.1)" + 'rgba(0,0,0,0.3) rgba(0,0,0,0.2)', + 'rgba(255,255,255,0.2) rgba(255,255,255,0.1)' ), // For Chrome and other browsers except Firefox - "&::-webkit-scrollbar": { - width: "14px", + '&::-webkit-scrollbar': { + width: '14px', background: useColorModeValue( - "rgba(220,220,220,0.1)", - "rgba(60,60,60,0.1)" + 'rgba(220,220,220,0.1)', + 'rgba(60,60,60,0.1)' ), - borderRadius: "3px", + borderRadius: '3px' }, - "&::-webkit-scrollbar-thumb": { + '&::-webkit-scrollbar-thumb': { background: useColorModeValue( - "rgba(0,0,0,0.1)", - "rgba(255,255,255,0.1)" + 'rgba(0,0,0,0.1)', + 'rgba(255,255,255,0.1)' ), - borderRadius: "10px", - border: "3px solid transparent", - backgroundClip: "content-box", - }, + borderRadius: '10px', + border: '3px solid transparent', + backgroundClip: 'content-box' + } }), clearIndicator: (provided: SystemStyleObject) => ({ ...provided, - borderRadius: "full", - color: useColorModeValue("blackAlpha.600", "whiteAlpha.600"), + borderRadius: 'full', + color: useColorModeValue('blackAlpha.600', 'whiteAlpha.600') }), dropdownIndicator: (provided: SystemStyleObject) => ({ ...provided, - bg: "transparent", - pl: 1.5, + bg: 'transparent', + pl: 1.5 }), option: ( provided: SystemStyleObject, @@ -100,34 +100,34 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { ) => { return { ...provided, - borderRadius: "lg", + borderRadius: 'lg', h: 14, - color: "inherit", + color: 'inherit', bg: useColorModeValue( state.isSelected ? state.isFocused - ? "primary.200" - : "primary.100" + ? 'primary.200' + : 'primary.100' : state.isFocused - ? "blackAlpha.200" - : "transparent", + ? 'blackAlpha.200' + : 'transparent', state.isSelected ? state.isFocused - ? "primary.600" - : "primary.500" + ? 'primary.600' + : 'primary.500' : state.isFocused - ? "whiteAlpha.200" - : "transparent" + ? 'whiteAlpha.200' + : 'transparent' ), _notFirst: { - mt: 2, + mt: 2 }, _active: { - bg: "primary.50", + bg: 'primary.50' }, - _disabled: { bg: "transparent", _hover: { bg: "transparent" } }, + _disabled: { bg: 'transparent', _hover: { bg: 'transparent' } } }; - }, + } }; const IndicatorSeparator = () => { return null; @@ -141,7 +141,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { as={FiChevronDown} w={6} h={6} - color={useColorModeValue("blackAlpha.600", "whiteAlpha.600")} + color={useColorModeValue('blackAlpha.600', 'whiteAlpha.600')} /> ); @@ -157,7 +157,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} + color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} w="full" > { h="full" border="1px solid" borderColor={useColorModeValue( - "blackAlpha.200", - "whiteAlpha.200" + 'blackAlpha.200', + 'whiteAlpha.200' )} borderRadius="full" overflow="hidden" > @@ -202,7 +202,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { spacing={3} overflow="hidden" wordBreak="break-word" - color={useColorModeValue("blackAlpha.800", "whiteAlpha.800")} + color={useColorModeValue('blackAlpha.800', 'whiteAlpha.800')} w="full" > { w="full" h="full" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.200")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.200')} borderRadius="full" overflow="hidden" > @@ -246,7 +246,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { defaultOptions={data} loadOptions={(inputValue, callback) => { const searcher = new Searcher(data, { - keySelector: (obj) => obj.label, + keySelector: (obj) => obj.label }); callback(searcher.search(inputValue)); }} @@ -255,7 +255,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { DropdownIndicator, IndicatorSeparator, Placeholder, - Option: CustomOption, + Option: CustomOption }} /> ); @@ -264,7 +264,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { export const ChangeChainDropdown = ({ data, selectedItem, - onChange, + onChange }: ChangeChainDropdownType) => { return ( diff --git a/templates/connect-multi-chain/components/react/choose-chain.tsx b/templates/connect-multi-chain/components/react/choose-chain.tsx index 4dc457016..62159b388 100644 --- a/templates/connect-multi-chain/components/react/choose-chain.tsx +++ b/templates/connect-multi-chain/components/react/choose-chain.tsx @@ -1,15 +1,15 @@ -import { useState, useEffect } from "react"; -import { ChangeChainDropdown } from "./chain-dropdown"; +import { useState, useEffect } from 'react'; +import { ChangeChainDropdown } from './chain-dropdown'; import { ChooseChainInfo, ChainOption, - handleSelectChainDropdown, -} from "../types"; + handleSelectChainDropdown +} from '../types'; export function ChooseChain({ chainName, chainInfos, - onChange, + onChange }: { chainName?: string; chainInfos: ChooseChainInfo[]; diff --git a/templates/connect-multi-chain/components/react/index.ts b/templates/connect-multi-chain/components/react/index.ts index d3bf051ad..3234fc82c 100644 --- a/templates/connect-multi-chain/components/react/index.ts +++ b/templates/connect-multi-chain/components/react/index.ts @@ -1,7 +1,7 @@ -export * from "./astronaut"; -export * from "./choose-chain"; -export * from "./chain-dropdown"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; \ No newline at end of file +export * from './astronaut'; +export * from './choose-chain'; +export * from './chain-dropdown'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; diff --git a/templates/connect-multi-chain/components/react/user-card.tsx b/templates/connect-multi-chain/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/templates/connect-multi-chain/components/react/user-card.tsx +++ b/templates/connect-multi-chain/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/templates/connect-multi-chain/components/react/wallet-connect.tsx b/templates/connect-multi-chain/components/react/wallet-connect.tsx index 9b2b2937e..9844d1481 100644 --- a/templates/connect-multi-chain/components/react/wallet-connect.tsx +++ b/templates/connect-multi-chain/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -80,12 +80,16 @@ export const Rejected = ({ }) => { return ( - + {wordOfWarning && ( { return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +168,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/templates/connect-multi-chain/components/react/warn-block.tsx b/templates/connect-multi-chain/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/templates/connect-multi-chain/components/react/warn-block.tsx +++ b/templates/connect-multi-chain/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/templates/connect-multi-chain/components/types.tsx b/templates/connect-multi-chain/components/types.tsx index 1b487f818..0d7a24f25 100644 --- a/templates/connect-multi-chain/components/types.tsx +++ b/templates/connect-multi-chain/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode, RefObject } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode, RefObject } from 'react'; +import { IconType } from 'react-icons'; export interface DataType extends OptionBase { isDisabled?: boolean; @@ -20,11 +20,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index 2560d88c7..1733c4f4c 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -1,121 +1,166 @@ -import { useWallet } from "@cosmos-kit/react"; -import { chainInfos } from "../config"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue } from "@chakra-ui/react"; -import { MouseEventHandler } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, ChainOption, ChooseChain, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, handleSelectChainDropdown, NotExist, Rejected, RejectedWarn, WalletConnectComponent } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; +import { useWallet } from '@cosmos-kit/react'; +import { chainInfos } from '../config'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue +} from '@chakra-ui/react'; +import { MouseEventHandler } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + ChainOption, + ChooseChain, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + handleSelectChainDropdown, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; export const WalletSection = () => { - const walletManager = useWallet(); - const { connect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName: chainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentChainName: chainName, + currentWalletName + } = walletManager; - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - const onChainChange: handleSelectChainDropdown = async ( - selectedValue: ChainOption | null - ) => { - setCurrentChain(selectedValue?.chainName); - openView(); - if (currentWalletName) { - await connect(); - } - }; + const onChainChange: handleSelectChainDropdown = async ( + selectedValue: ChainOption | null + ) => { + setCurrentChain(selectedValue?.chainName); + openView(); + if (currentWalletName) { + await connect(); + } + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); - const chooseChain = ( - } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + /> + ); + const chooseChain = ( + + ); - const userInfo = } />; - const addressBtn = chainName && ( - } - /> - ); + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -
- - {chooseChain} - {connectWalletWarn} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chooseChain} + {connectWalletWarn} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + + + +
+ ); +}; diff --git a/templates/connect-multi-chain/config/chain-infos.ts b/templates/connect-multi-chain/config/chain-infos.ts index feded1c45..3a5de4712 100644 --- a/templates/connect-multi-chain/config/chain-infos.ts +++ b/templates/connect-multi-chain/config/chain-infos.ts @@ -1,17 +1,19 @@ -import { ChooseChainInfo } from "../components"; +import { ChooseChainInfo } from '../components'; import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name + (_chain) => _chain.chain_name === chain.chain_name )?.assets; return { chainName: chain.chain_name, label: chain.pretty_name, value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, disabled: false - } - }); \ No newline at end of file + }; + }); diff --git a/templates/connect-multi-chain/config/theme.ts b/templates/connect-multi-chain/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/templates/connect-multi-chain/config/theme.ts +++ b/templates/connect-multi-chain/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); From 45a8494f4322e67b114a1b5b2258935496e0ef91 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 16:50:52 -0500 Subject: [PATCH 106/262] templates --- examples/contracts/package.json | 6 +- examples/juno/.eslintrc.json | 3 + examples/juno/.gitignore | 36 +++ examples/juno/CHANGELOG.md | 120 +++++++ examples/juno/README.md | 76 +++++ examples/juno/components/features.tsx | 79 +++++ examples/juno/components/index.tsx | 4 + .../juno/components/react/address-card.tsx | 78 +++++ examples/juno/components/react/astronaut.tsx | 304 ++++++++++++++++++ examples/juno/components/react/chain-card.tsx | 38 +++ examples/juno/components/react/index.ts | 6 + examples/juno/components/react/user-card.tsx | 33 ++ .../juno/components/react/wallet-connect.tsx | 183 +++++++++++ examples/juno/components/react/warn-block.tsx | 90 ++++++ examples/juno/components/types.tsx | 44 +++ examples/juno/components/wallet.tsx | 117 +++++++ examples/juno/config/chain-infos.ts | 17 + examples/juno/config/features.ts | 47 +++ examples/juno/config/index.ts | 2 + examples/juno/config/theme.ts | 34 ++ examples/juno/next.config.js | 7 + examples/juno/package.json | 38 +++ examples/juno/pages/_app.tsx | 33 ++ examples/juno/pages/index.tsx | 251 +++++++++++++++ examples/juno/public/favicon.ico | Bin 0 -> 14037 bytes examples/juno/styles/Home.module.css | 25 ++ examples/juno/styles/globals.css | 26 ++ examples/juno/tsconfig.json | 30 ++ examples/osmosis/.eslintrc.json | 3 + examples/osmosis/.gitignore | 36 +++ examples/osmosis/CHANGELOG.md | 120 +++++++ examples/osmosis/README.md | 76 +++++ examples/osmosis/components/features.tsx | 79 +++++ examples/osmosis/components/index.tsx | 4 + .../osmosis/components/react/address-card.tsx | 78 +++++ .../osmosis/components/react/astronaut.tsx | 304 ++++++++++++++++++ .../osmosis/components/react/chain-card.tsx | 38 +++ examples/osmosis/components/react/index.ts | 6 + .../osmosis/components/react/user-card.tsx | 33 ++ .../components/react/wallet-connect.tsx | 183 +++++++++++ .../osmosis/components/react/warn-block.tsx | 90 ++++++ examples/osmosis/components/types.tsx | 44 +++ examples/osmosis/components/wallet.tsx | 117 +++++++ examples/osmosis/config/chain-infos.ts | 17 + examples/osmosis/config/features.ts | 47 +++ examples/osmosis/config/index.ts | 2 + examples/osmosis/config/theme.ts | 34 ++ examples/osmosis/next.config.js | 7 + examples/osmosis/package.json | 38 +++ examples/osmosis/pages/_app.tsx | 33 ++ examples/osmosis/pages/index.tsx | 251 +++++++++++++++ examples/osmosis/public/favicon.ico | Bin 0 -> 14037 bytes examples/osmosis/styles/Home.module.css | 25 ++ examples/osmosis/styles/globals.css | 26 ++ examples/osmosis/tsconfig.json | 30 ++ examples/send-tokens/package.json | 4 +- examples/send-tokens/pages/index.tsx | 156 +++++++-- examples/stargaze/.eslintrc.json | 3 + examples/stargaze/.gitignore | 36 +++ examples/stargaze/CHANGELOG.md | 120 +++++++ examples/stargaze/README.md | 76 +++++ examples/stargaze/components/features.tsx | 79 +++++ examples/stargaze/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 +++++ .../stargaze/components/react/astronaut.tsx | 304 ++++++++++++++++++ .../stargaze/components/react/chain-card.tsx | 38 +++ examples/stargaze/components/react/index.ts | 6 + .../stargaze/components/react/user-card.tsx | 33 ++ .../components/react/wallet-connect.tsx | 183 +++++++++++ .../stargaze/components/react/warn-block.tsx | 90 ++++++ examples/stargaze/components/types.tsx | 44 +++ examples/stargaze/components/wallet.tsx | 163 ++++++++++ examples/stargaze/config/chain-infos.ts | 17 + examples/stargaze/config/features.ts | 47 +++ examples/stargaze/config/index.ts | 2 + examples/stargaze/config/theme.ts | 34 ++ examples/stargaze/next.config.js | 7 + examples/stargaze/package.json | 38 +++ examples/stargaze/pages/_app.tsx | 33 ++ examples/stargaze/pages/index.tsx | 251 +++++++++++++++ examples/stargaze/public/favicon.ico | Bin 0 -> 14037 bytes examples/stargaze/styles/Home.module.css | 25 ++ examples/stargaze/styles/globals.css | 26 ++ examples/stargaze/tsconfig.json | 30 ++ examples/telescope/package.json | 4 +- templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/package.json | 2 +- yarn.lock | 132 ++++---- 88 files changed, 5427 insertions(+), 88 deletions(-) create mode 100644 examples/juno/.eslintrc.json create mode 100644 examples/juno/.gitignore create mode 100644 examples/juno/CHANGELOG.md create mode 100644 examples/juno/README.md create mode 100644 examples/juno/components/features.tsx create mode 100644 examples/juno/components/index.tsx create mode 100644 examples/juno/components/react/address-card.tsx create mode 100644 examples/juno/components/react/astronaut.tsx create mode 100644 examples/juno/components/react/chain-card.tsx create mode 100644 examples/juno/components/react/index.ts create mode 100644 examples/juno/components/react/user-card.tsx create mode 100644 examples/juno/components/react/wallet-connect.tsx create mode 100644 examples/juno/components/react/warn-block.tsx create mode 100644 examples/juno/components/types.tsx create mode 100644 examples/juno/components/wallet.tsx create mode 100644 examples/juno/config/chain-infos.ts create mode 100644 examples/juno/config/features.ts create mode 100644 examples/juno/config/index.ts create mode 100644 examples/juno/config/theme.ts create mode 100644 examples/juno/next.config.js create mode 100644 examples/juno/package.json create mode 100644 examples/juno/pages/_app.tsx create mode 100644 examples/juno/pages/index.tsx create mode 100644 examples/juno/public/favicon.ico create mode 100644 examples/juno/styles/Home.module.css create mode 100644 examples/juno/styles/globals.css create mode 100644 examples/juno/tsconfig.json create mode 100644 examples/osmosis/.eslintrc.json create mode 100644 examples/osmosis/.gitignore create mode 100644 examples/osmosis/CHANGELOG.md create mode 100644 examples/osmosis/README.md create mode 100644 examples/osmosis/components/features.tsx create mode 100644 examples/osmosis/components/index.tsx create mode 100644 examples/osmosis/components/react/address-card.tsx create mode 100644 examples/osmosis/components/react/astronaut.tsx create mode 100644 examples/osmosis/components/react/chain-card.tsx create mode 100644 examples/osmosis/components/react/index.ts create mode 100644 examples/osmosis/components/react/user-card.tsx create mode 100644 examples/osmosis/components/react/wallet-connect.tsx create mode 100644 examples/osmosis/components/react/warn-block.tsx create mode 100644 examples/osmosis/components/types.tsx create mode 100644 examples/osmosis/components/wallet.tsx create mode 100644 examples/osmosis/config/chain-infos.ts create mode 100644 examples/osmosis/config/features.ts create mode 100644 examples/osmosis/config/index.ts create mode 100644 examples/osmosis/config/theme.ts create mode 100644 examples/osmosis/next.config.js create mode 100644 examples/osmosis/package.json create mode 100644 examples/osmosis/pages/_app.tsx create mode 100644 examples/osmosis/pages/index.tsx create mode 100644 examples/osmosis/public/favicon.ico create mode 100644 examples/osmosis/styles/Home.module.css create mode 100644 examples/osmosis/styles/globals.css create mode 100644 examples/osmosis/tsconfig.json create mode 100644 examples/stargaze/.eslintrc.json create mode 100644 examples/stargaze/.gitignore create mode 100644 examples/stargaze/CHANGELOG.md create mode 100644 examples/stargaze/README.md create mode 100644 examples/stargaze/components/features.tsx create mode 100644 examples/stargaze/components/index.tsx create mode 100644 examples/stargaze/components/react/address-card.tsx create mode 100644 examples/stargaze/components/react/astronaut.tsx create mode 100644 examples/stargaze/components/react/chain-card.tsx create mode 100644 examples/stargaze/components/react/index.ts create mode 100644 examples/stargaze/components/react/user-card.tsx create mode 100644 examples/stargaze/components/react/wallet-connect.tsx create mode 100644 examples/stargaze/components/react/warn-block.tsx create mode 100644 examples/stargaze/components/types.tsx create mode 100644 examples/stargaze/components/wallet.tsx create mode 100644 examples/stargaze/config/chain-infos.ts create mode 100644 examples/stargaze/config/features.ts create mode 100644 examples/stargaze/config/index.ts create mode 100644 examples/stargaze/config/theme.ts create mode 100644 examples/stargaze/next.config.js create mode 100644 examples/stargaze/package.json create mode 100644 examples/stargaze/pages/_app.tsx create mode 100644 examples/stargaze/pages/index.tsx create mode 100644 examples/stargaze/public/favicon.ico create mode 100644 examples/stargaze/styles/Home.module.css create mode 100644 examples/stargaze/styles/globals.css create mode 100644 examples/stargaze/tsconfig.json diff --git a/examples/contracts/package.json b/examples/contracts/package.json index a5bf0407c..460ada0d4 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.2", + "@cosmos-kit/react": "^0.16.3", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", @@ -30,7 +30,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.31.0", + "@osmonauts/telescope": "0.33.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", @@ -41,4 +41,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/juno/.eslintrc.json b/examples/juno/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/juno/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/juno/.gitignore b/examples/juno/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/juno/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md new file mode 100644 index 000000000..22098bbe5 --- /dev/null +++ b/examples/juno/CHANGELOG.md @@ -0,0 +1,120 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/juno/README.md b/examples/juno/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/juno/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/juno/components/features.tsx b/examples/juno/components/features.tsx new file mode 100644 index 000000000..19a4a1648 --- /dev/null +++ b/examples/juno/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from "@chakra-ui/icons"; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/juno/components/index.tsx b/examples/juno/components/index.tsx new file mode 100644 index 000000000..3e7078f7c --- /dev/null +++ b/examples/juno/components/index.tsx @@ -0,0 +1,4 @@ +export * from "./types"; +export * from "./react"; +export * from "./features"; +export * from "./wallet"; \ No newline at end of file diff --git a/examples/juno/components/react/address-card.tsx b/examples/juno/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/examples/juno/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/juno/components/react/astronaut.tsx b/examples/juno/components/react/astronaut.tsx new file mode 100644 index 000000000..382d8cc6e --- /dev/null +++ b/examples/juno/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/juno/components/react/chain-card.tsx b/examples/juno/components/react/chain-card.tsx new file mode 100644 index 000000000..9e79554f0 --- /dev/null +++ b/examples/juno/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from "@chakra-ui/react" +import { ChainCardProps } from "../types" + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/examples/juno/components/react/index.ts b/examples/juno/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/examples/juno/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/examples/juno/components/react/user-card.tsx b/examples/juno/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/examples/juno/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/juno/components/react/wallet-connect.tsx b/examples/juno/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/examples/juno/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/juno/components/react/warn-block.tsx b/examples/juno/components/react/warn-block.tsx new file mode 100644 index 000000000..ce056e879 --- /dev/null +++ b/examples/juno/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const WarnBlock = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error, +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/juno/components/types.tsx b/examples/juno/components/types.tsx new file mode 100644 index 000000000..866512e75 --- /dev/null +++ b/examples/juno/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from "react"; +import { IconType } from "react-icons"; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = "NotInit", + Loading = "Loading", + Loaded = "Loaded", + NotExist = "NotExist", + Rejected = "Rejected", +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx new file mode 100644 index 000000000..3a0dd2318 --- /dev/null +++ b/examples/juno/components/wallet.tsx @@ -0,0 +1,117 @@ +import { useWallet } from "@cosmos-kit/react"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; +import { MouseEventHandler, useEffect } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/config"; +import { ChainName } from "@cosmos-kit/core"; +import { chainInfos } from "../config/chain-infos"; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { connect, disconnect, openView, setCurrentChain, + walletStatus, username, address, message, + currentChainName, currentWalletName } = walletManager; + + const chain = chainInfos.find(c => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + } + connecting={} + connected={} + rejected={} + error={} + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +} \ No newline at end of file diff --git a/examples/juno/config/chain-infos.ts b/examples/juno/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/juno/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/juno/config/features.ts b/examples/juno/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/juno/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/juno/config/index.ts b/examples/juno/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/juno/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/juno/config/theme.ts b/examples/juno/config/theme.ts new file mode 100644 index 000000000..12bb0f21c --- /dev/null +++ b/examples/juno/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from "@chakra-ui/react"; + +export const defaultThemeObject = { + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", + }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/juno/next.config.js b/examples/juno/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/juno/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/juno/package.json b/examples/juno/package.json new file mode 100644 index 000000000..2a69d6226 --- /dev/null +++ b/examples/juno/package.json @@ -0,0 +1,38 @@ +{ + "name": "@cosmonauts/juno", + "version": "0.5.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.3", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "0.14.0", + "framer-motion": "7.3.6", + "juno-network": "0.5.0", + "next": "12.2.5", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0" + }, + "devDependencies": { + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx new file mode 100644 index 000000000..745ed8212 --- /dev/null +++ b/examples/juno/pages/_app.tsx @@ -0,0 +1,33 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'juno-network'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + } + }; + + return ( + + + + + + ); +} + +export default MyApp; diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx new file mode 100644 index 000000000..e41c646a2 --- /dev/null +++ b/examples/juno/pages/index.tsx @@ -0,0 +1,251 @@ +import { useEffect, useState } from 'react'; +import { useWallet } from '@cosmos-kit/react'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import BigNumber from 'bignumber.js'; + +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { dependencies, products } from '../config'; + +import { WalletStatus } from '@cosmos-kit/core'; +import { Product, Dependency, WalletSection } from '../components'; +import { cosmos } from 'juno-network'; +import Head from 'next/head'; + +const chainName = 'juno'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'ujuno' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '2000' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = `https://rest.cosmos.directory/${chainName}`; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: chainassets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; + + const color = useColorModeValue('primary.500', 'primary.200'); + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {walletStatus === WalletStatus.Disconnected && ( + + + Connect your wallet! + + + )} + + {walletStatus === WalletStatus.Connected && ( + + + + Balance  + + Balance: {balance.toNumber()} + + + + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + +
+ ); +} diff --git a/examples/juno/public/favicon.ico b/examples/juno/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/juno/styles/Home.module.css b/examples/juno/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/juno/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/juno/styles/globals.css b/examples/juno/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/juno/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/juno/tsconfig.json b/examples/juno/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/juno/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/examples/osmosis/.eslintrc.json b/examples/osmosis/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/osmosis/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/osmosis/.gitignore b/examples/osmosis/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/osmosis/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md new file mode 100644 index 000000000..22098bbe5 --- /dev/null +++ b/examples/osmosis/CHANGELOG.md @@ -0,0 +1,120 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/osmosis/README.md b/examples/osmosis/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/osmosis/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/osmosis/components/features.tsx b/examples/osmosis/components/features.tsx new file mode 100644 index 000000000..19a4a1648 --- /dev/null +++ b/examples/osmosis/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from "@chakra-ui/icons"; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/osmosis/components/index.tsx b/examples/osmosis/components/index.tsx new file mode 100644 index 000000000..3e7078f7c --- /dev/null +++ b/examples/osmosis/components/index.tsx @@ -0,0 +1,4 @@ +export * from "./types"; +export * from "./react"; +export * from "./features"; +export * from "./wallet"; \ No newline at end of file diff --git a/examples/osmosis/components/react/address-card.tsx b/examples/osmosis/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/examples/osmosis/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/osmosis/components/react/astronaut.tsx b/examples/osmosis/components/react/astronaut.tsx new file mode 100644 index 000000000..382d8cc6e --- /dev/null +++ b/examples/osmosis/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/osmosis/components/react/chain-card.tsx b/examples/osmosis/components/react/chain-card.tsx new file mode 100644 index 000000000..9e79554f0 --- /dev/null +++ b/examples/osmosis/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from "@chakra-ui/react" +import { ChainCardProps } from "../types" + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/examples/osmosis/components/react/index.ts b/examples/osmosis/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/examples/osmosis/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/examples/osmosis/components/react/user-card.tsx b/examples/osmosis/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/examples/osmosis/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/osmosis/components/react/wallet-connect.tsx b/examples/osmosis/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/examples/osmosis/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/osmosis/components/react/warn-block.tsx b/examples/osmosis/components/react/warn-block.tsx new file mode 100644 index 000000000..ce056e879 --- /dev/null +++ b/examples/osmosis/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const WarnBlock = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error, +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/osmosis/components/types.tsx b/examples/osmosis/components/types.tsx new file mode 100644 index 000000000..866512e75 --- /dev/null +++ b/examples/osmosis/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from "react"; +import { IconType } from "react-icons"; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = "NotInit", + Loading = "Loading", + Loaded = "Loaded", + NotExist = "NotExist", + Rejected = "Rejected", +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx new file mode 100644 index 000000000..3a0dd2318 --- /dev/null +++ b/examples/osmosis/components/wallet.tsx @@ -0,0 +1,117 @@ +import { useWallet } from "@cosmos-kit/react"; +import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; +import { MouseEventHandler, useEffect } from "react"; +import { FiAlertTriangle } from "react-icons/fi"; +import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; +import { getWalletPrettyName } from "@cosmos-kit/config"; +import { ChainName } from "@cosmos-kit/core"; +import { chainInfos } from "../config/chain-infos"; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { connect, disconnect, openView, setCurrentChain, + walletStatus, username, address, message, + currentChainName, currentWalletName } = walletManager; + + const chain = chainInfos.find(c => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + } + connecting={} + connected={} + rejected={} + error={} + notExist={} + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} + /> + } + /> + ); + + const userInfo = } />; + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +} \ No newline at end of file diff --git a/examples/osmosis/config/chain-infos.ts b/examples/osmosis/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/osmosis/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/osmosis/config/features.ts b/examples/osmosis/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/osmosis/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/osmosis/config/index.ts b/examples/osmosis/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/osmosis/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/osmosis/config/theme.ts b/examples/osmosis/config/theme.ts new file mode 100644 index 000000000..12bb0f21c --- /dev/null +++ b/examples/osmosis/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from "@chakra-ui/react"; + +export const defaultThemeObject = { + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", + }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/osmosis/next.config.js b/examples/osmosis/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/osmosis/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json new file mode 100644 index 000000000..cead22ae3 --- /dev/null +++ b/examples/osmosis/package.json @@ -0,0 +1,38 @@ +{ + "name": "@cosmonauts/osmosis", + "version": "0.5.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.3", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "0.14.0", + "framer-motion": "7.3.6", + "next": "12.2.5", + "osmojs": "0.23.0", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0" + }, + "devDependencies": { + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx new file mode 100644 index 000000000..e53ed9bc2 --- /dev/null +++ b/examples/osmosis/pages/_app.tsx @@ -0,0 +1,33 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'osmojs'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + } + }; + + return ( + + + + + + ); +} + +export default MyApp; diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx new file mode 100644 index 000000000..25f144b02 --- /dev/null +++ b/examples/osmosis/pages/index.tsx @@ -0,0 +1,251 @@ +import { useEffect, useState } from 'react'; +import { useWallet } from '@cosmos-kit/react'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import BigNumber from 'bignumber.js'; + +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { dependencies, products } from '../config'; + +import { WalletStatus } from '@cosmos-kit/core'; +import { Product, Dependency, WalletSection } from '../components'; +import { cosmos } from 'osmojs'; +import Head from 'next/head'; + +const chainName = 'osmosis'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = `https://rest.cosmos.directory/${chainName}`; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: chainassets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; + + const color = useColorModeValue('primary.500', 'primary.200'); + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {walletStatus === WalletStatus.Disconnected && ( + + + Connect your wallet! + + + )} + + {walletStatus === WalletStatus.Connected && ( + + + + Balance  + + Balance: {balance.toNumber()} + + + + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + +
+ ); +} diff --git a/examples/osmosis/public/favicon.ico b/examples/osmosis/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/osmosis/styles/Home.module.css b/examples/osmosis/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/osmosis/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/osmosis/styles/globals.css b/examples/osmosis/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/osmosis/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/osmosis/tsconfig.json b/examples/osmosis/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/osmosis/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 1c9c0f436..dc763bc85 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -15,13 +15,13 @@ "@cosmjs/stargate": "0.29.0", "@cosmos-kit/config": "0.16.2", "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.2", + "@cosmos-kit/react": "0.16.3", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", "chain-registry": "0.14.0", "framer-motion": "7.3.6", - "interchain": "0.5.0", + "interchain": "0.9.1", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index 48ad86928..a8dd78aa3 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -1,5 +1,4 @@ import { useEffect, useState } from 'react'; -import { Container, Button } from '@chakra-ui/react'; import { useWallet } from '@cosmos-kit/react'; import { StdFee } from '@cosmjs/amino'; import { assets } from 'chain-registry'; @@ -7,15 +6,34 @@ import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import BigNumber from 'bignumber.js'; +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { dependencies, products } from '../config'; + import { WalletStatus } from '@cosmos-kit/core'; -import { WalletSection } from '../components'; +import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'interchain'; +import Head from 'next/head'; const chainName = 'cosmoshub'; -const hubAssets: AssetList = assets.find( +const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName ) as AssetList; -const atom: Asset = hubAssets.assets.find( +const coin: Asset = chainassets.assets.find( (asset) => asset.base === 'uatom' ) as Asset; @@ -36,7 +54,7 @@ const sendTokens = ( const msg = send({ amount: [ { - denom: 'uatom', + denom: coin.base, amount: '1000' } ], @@ -47,7 +65,7 @@ const sendTokens = ( const fee: StdFee = { amount: [ { - denom: 'uatom', + denom: coin.base, amount: '864' } ], @@ -59,6 +77,8 @@ const sendTokens = ( }; export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + const { getStargateClient, address, @@ -94,12 +114,12 @@ export default function Home() { // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: hubAssets?.assets[0].base as string + denom: chainassets?.assets[0].base as string }); // Get the display exponent // we can get the exponent from chain registry asset denom_units - const exp = atom.denom_units.find((unit) => unit.denom === atom.display) + const exp = coin.denom_units.find((unit) => unit.denom === coin.display) ?.exponent as number; // show balance in display values by exponentiating it @@ -108,30 +128,79 @@ export default function Home() { setBalance(amount); }; + const color = useColorModeValue('primary.500', 'primary.200'); return ( - + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + {walletStatus === WalletStatus.Disconnected && ( - <>please connect your wallet! + + + Connect your wallet! + + )} {walletStatus === WalletStatus.Connected && ( - <> - Balance: {balance.toNumber()} - - - - - + + + + Balance  + + Balance: {balance.toNumber()} + + + + + )} {!!resp && ( @@ -140,6 +209,43 @@ export default function Home() {
{resp}
)} + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + +
); } diff --git a/examples/stargaze/.eslintrc.json b/examples/stargaze/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/stargaze/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/stargaze/.gitignore b/examples/stargaze/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/stargaze/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md new file mode 100644 index 000000000..22098bbe5 --- /dev/null +++ b/examples/stargaze/CHANGELOG.md @@ -0,0 +1,120 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/stargaze/README.md b/examples/stargaze/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/stargaze/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/stargaze/components/features.tsx b/examples/stargaze/components/features.tsx new file mode 100644 index 000000000..c4e9cea55 --- /dev/null +++ b/examples/stargaze/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/stargaze/components/index.tsx b/examples/stargaze/components/index.tsx new file mode 100644 index 000000000..4d86fd53c --- /dev/null +++ b/examples/stargaze/components/index.tsx @@ -0,0 +1,4 @@ +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/stargaze/components/react/address-card.tsx b/examples/stargaze/components/react/address-card.tsx new file mode 100644 index 000000000..711ff7167 --- /dev/null +++ b/examples/stargaze/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from "react"; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard, +} from "@chakra-ui/react"; +import { FaRegCopy } from "react-icons/fa"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectedShowAddress = ({ + address, + isLoading, +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ""); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected, +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/stargaze/components/react/astronaut.tsx b/examples/stargaze/components/react/astronaut.tsx new file mode 100644 index 000000000..382d8cc6e --- /dev/null +++ b/examples/stargaze/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {"cosmology-astronaut"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/stargaze/components/react/chain-card.tsx b/examples/stargaze/components/react/chain-card.tsx new file mode 100644 index 000000000..9e79554f0 --- /dev/null +++ b/examples/stargaze/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from "@chakra-ui/react" +import { ChainCardProps } from "../types" + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ) +} \ No newline at end of file diff --git a/examples/stargaze/components/react/index.ts b/examples/stargaze/components/react/index.ts new file mode 100644 index 000000000..5e5de5d06 --- /dev/null +++ b/examples/stargaze/components/react/index.ts @@ -0,0 +1,6 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; \ No newline at end of file diff --git a/examples/stargaze/components/react/user-card.tsx b/examples/stargaze/components/react/user-card.tsx new file mode 100644 index 000000000..badc9c5b8 --- /dev/null +++ b/examples/stargaze/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from "react"; +import { Text, Stack, Box } from "@chakra-ui/react"; +import { ConnectedUserCardType } from "../types"; + +export const ConnectedUserInfo = ({ + username, + icon, +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/stargaze/components/react/wallet-connect.tsx b/examples/stargaze/components/react/wallet-connect.tsx new file mode 100644 index 000000000..9b2b2937e --- /dev/null +++ b/examples/stargaze/components/react/wallet-connect.tsx @@ -0,0 +1,183 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { IoWallet } from "react-icons/io5"; +import { ConnectWalletType } from "../types"; +import { FiAlertTriangle } from "react-icons/fi"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ; +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/stargaze/components/react/warn-block.tsx b/examples/stargaze/components/react/warn-block.tsx new file mode 100644 index 000000000..ce056e879 --- /dev/null +++ b/examples/stargaze/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from "react"; +import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +export const WarnBlock = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon, +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error, +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/stargaze/components/types.tsx b/examples/stargaze/components/types.tsx new file mode 100644 index 000000000..5f9133656 --- /dev/null +++ b/examples/stargaze/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx new file mode 100644 index 000000000..2848a4b08 --- /dev/null +++ b/examples/stargaze/components/wallet.tsx @@ -0,0 +1,163 @@ +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { chainInfos } from '../config/chain-infos'; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { + connect, + disconnect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentChainName, + currentWalletName + } = walletManager; + + const chain = chainInfos.find((c) => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/stargaze/config/chain-infos.ts b/examples/stargaze/config/chain-infos.ts new file mode 100644 index 000000000..feded1c45 --- /dev/null +++ b/examples/stargaze/config/chain-infos.ts @@ -0,0 +1,17 @@ +import { ChooseChainInfo } from "../components"; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter(chain => chain.network_type !== 'testnet') + .map(chain => { + const assets = chainAssets.find( + _chain => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, + disabled: false + } + }); \ No newline at end of file diff --git a/examples/stargaze/config/features.ts b/examples/stargaze/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/stargaze/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/stargaze/config/index.ts b/examples/stargaze/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/stargaze/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/stargaze/config/theme.ts b/examples/stargaze/config/theme.ts new file mode 100644 index 000000000..12bb0f21c --- /dev/null +++ b/examples/stargaze/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from "@chakra-ui/react"; + +export const defaultThemeObject = { + fonts: { + body: "Inter, system-ui, sans-serif", + heading: "Work Sans, system-ui, sans-serif", + }, + colors: { + primary: { + "50": "#e5e7f9", + "100": "#bec4ef", + "200": "#929ce4", + "300": "#6674d9", + "400": "#4657d1", + "500": "#2539c9", + "600": "#2133c3", + "700": "#1b2cbc", + "800": "#1624b5", + "900": "#0d17a9", + }, + }, + breakPoints: { + sm: "30em", + md: "48em", + lg: "62em", + xl: "80em", + "2xl": "96em", + }, + shadows: { + largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", + }, +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/stargaze/next.config.js b/examples/stargaze/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/stargaze/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json new file mode 100644 index 000000000..2bb4bfdea --- /dev/null +++ b/examples/stargaze/package.json @@ -0,0 +1,38 @@ +{ + "name": "@cosmonauts/stargaze", + "version": "0.5.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.3", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "0.14.0", + "framer-motion": "7.3.6", + "next": "12.2.5", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0", + "stargaze-zone": "0.4.0" + }, + "devDependencies": { + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx new file mode 100644 index 000000000..d103b32d8 --- /dev/null +++ b/examples/stargaze/pages/_app.tsx @@ -0,0 +1,33 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/config'; +import { chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'stargaze-zone'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function MyApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + } + }; + + return ( + + + + + + ); +} + +export default MyApp; diff --git a/examples/stargaze/pages/index.tsx b/examples/stargaze/pages/index.tsx new file mode 100644 index 000000000..67c7b2306 --- /dev/null +++ b/examples/stargaze/pages/index.tsx @@ -0,0 +1,251 @@ +import { useEffect, useState } from 'react'; +import { useWallet } from '@cosmos-kit/react'; +import { StdFee } from '@cosmjs/amino'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; +import { SigningStargateClient } from '@cosmjs/stargate'; +import BigNumber from 'bignumber.js'; +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { dependencies, products } from '../config'; + +import { WalletStatus } from '@cosmos-kit/core'; +import { Product, Dependency, WalletSection } from '../components'; + +import { cosmos } from 'interchain'; +import Head from 'next/head'; + +const chainName = 'stargaze'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'ustars' +) as Asset; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + + const { + getStargateClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const [balance, setBalance] = useState(new BigNumber(0)); + const [resp, setResp] = useState(''); + const getBalance = async () => { + if (!address) { + setBalance(new BigNumber(0)); + return; + } + + let restEndpoint = await currentWallet?.getRestEndpoint(); + + if (!restEndpoint) { + console.log('no rest endpoint — using a fallback'); + restEndpoint = `https://rest.cosmos.directory/${chainName}`; + } + + // get LCD client + const client = await cosmos.ClientFactory.createLCDClient({ + restEndpoint + }); + + // fetch balance + const balance = await client.cosmos.bank.v1beta1.balance({ + address, + denom: chainassets?.assets[0].base as string + }); + + // Get the display exponent + // we can get the exponent from chain registry asset denom_units + const exp = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number; + + // show balance in display values by exponentiating it + const a = new BigNumber(balance.balance.amount); + const amount = a.multipliedBy(10 ** -exp); + setBalance(amount); + }; + + const color = useColorModeValue('primary.500', 'primary.200'); + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {walletStatus === WalletStatus.Disconnected && ( + + + Connect your wallet! + + + )} + + {walletStatus === WalletStatus.Connected && ( + + + + Balance  + + Balance: {balance.toNumber()} + + + + + + )} + + {!!resp && ( + <> + Response: +
{resp}
+ + )} + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + +
+ ); +} diff --git a/examples/stargaze/public/favicon.ico b/examples/stargaze/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/stargaze/styles/Home.module.css b/examples/stargaze/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/stargaze/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/stargaze/styles/globals.css b/examples/stargaze/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/stargaze/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/stargaze/tsconfig.json b/examples/stargaze/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/stargaze/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 4ff0df42f..0e97e3e90 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -14,7 +14,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.2", + "@cosmos-kit/react": "^0.16.3", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", @@ -29,7 +29,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.31.0", + "@osmonauts/telescope": "0.33.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index a67129020..fe452b4c6 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -15,7 +15,7 @@ "@cosmjs/stargate": "0.29.0", "@cosmos-kit/config": "0.16.2", "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.2", + "@cosmos-kit/react": "0.16.3", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 4eb6f63ea..5c6b7ba15 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -15,7 +15,7 @@ "@cosmjs/stargate": "0.29.0", "@cosmos-kit/config": "0.16.2", "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.2", + "@cosmos-kit/react": "0.16.3", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "0.14.0", diff --git a/yarn.lock b/yarn.lock index 6c0c1696a..f20892ddf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2578,7 +2578,7 @@ "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" -"@cosmjs/cosmwasm-stargate@0.29.0": +"@cosmjs/cosmwasm-stargate@0.29.0", "@cosmjs/cosmwasm-stargate@^0.29.0": version "0.29.0" resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== @@ -2932,10 +2932,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.16.2", "@cosmos-kit/react@^0.16.2": - version "0.16.2" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.2.tgz#8feda6c2e4dee8e5eda20c5381bff96cb6a74e8e" - integrity sha512-2HGHf4RhbghYn3u/duOpGGXXeYdOIMKm+L21y4hDIzLKSX2+7mzSTjFw7sWGDd4+WjzshCDDp/IGOWsNg1e9ew== +"@cosmos-kit/react@0.16.3", "@cosmos-kit/react@^0.16.3": + version "0.16.3" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.3.tgz#9c8a6694c685a690f7eeb43fc29190062589127f" + integrity sha512-uIZqc1BZQDaUDFUYPpJBqD+8MyC9d2ZpB1S/bi8/fzzQ11FitQtNR/HKHMGnCbzvHQ3irIUKNq1jJEXJXzG1Pw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -4638,23 +4638,23 @@ dependencies: "@octokit/openapi-types" "^12.11.0" -"@osmonauts/ast@^0.25.0": - version "0.25.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.25.0.tgz#d004f10983b4c2756f528f36be516bb226418f0d" - integrity sha512-7mTE2zN6hGb6pEezypTM6nMRdTNFIxhyw3Bcie4S+Lq3UW6PbZ+y5a3Bll5c8p/NKJCGi6FSthfldvc2qvIJMw== +"@osmonauts/ast@^0.27.0": + version "0.27.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.27.0.tgz#fd0a173ca3f03164de759d508c274ad0f9704895" + integrity sha512-cVs2E4VIf507zEfzgwwIGeTe7ybOLr0KBfdizH0cFKaf0wFm4V/whxkt+g3xb6Jh2ulWHqr49bB+COcohrC/Ow== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.18.0" - "@osmonauts/types" "^0.14.0" + "@osmonauts/proto-parser" "^0.19.1" + "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" case "1.6.3" dotty "0.1.2" -"@osmonauts/ast@^0.27.0": - version "0.27.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.27.0.tgz#fd0a173ca3f03164de759d508c274ad0f9704895" - integrity sha512-cVs2E4VIf507zEfzgwwIGeTe7ybOLr0KBfdizH0cFKaf0wFm4V/whxkt+g3xb6Jh2ulWHqr49bB+COcohrC/Ow== +"@osmonauts/ast@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.29.0.tgz#5a812a5f99f6a392a196d9b3ae52b71f9dadb842" + integrity sha512-350zhR6i8NlqfHrlycKtOGoXU01nYoew/WAWKhBRKmTmaFDDh0pyKCeJYWEUp6NwquJDiwwYooRQRjSYfZxXlQ== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" @@ -4678,7 +4678,7 @@ long "^5.2.0" protobufjs "^6.11.3" -"@osmonauts/lcd@^0.6.0": +"@osmonauts/lcd@0.6.0", "@osmonauts/lcd@^0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== @@ -4686,18 +4686,6 @@ "@babel/runtime" "^7.18.9" axios "0.27.2" -"@osmonauts/proto-parser@^0.18.0": - version "0.18.0" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.18.0.tgz#404230b0809d441f37b793e9935ed0640efd6883" - integrity sha512-zkjB61xB64FpCiqftLMGQlRuwM50onILuWWT0SDYoqt3HVByMIGYelFfq/8/1w5ZGQAMOh6m2qr8Hsec9+apaQ== - dependencies: - "@babel/runtime" "^7.18.9" - "@osmonauts/types" "^0.14.0" - "@pyramation/protobufjs" "6.11.4" - dotty "0.1.2" - glob "8.0.3" - mkdirp "1.0.4" - "@osmonauts/proto-parser@^0.19.1": version "0.19.1" resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.1.tgz#caae3144b3469144dbf630599042078fc871a600" @@ -4710,10 +4698,10 @@ glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.31.0": - version "0.31.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.31.0.tgz#fb4ffbaaae04ed59b8a7e02b0f2bab6ee8d93ecb" - integrity sha512-lX3I2oMBH4jVmVxO7va/gd1Sv5nqBlD4zAq21nwbA//YUNmpXD6m3BoKIKamLCUD91oasu8g3spCfzx/S6Gwng== +"@osmonauts/telescope@0.33.0": + version "0.33.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.33.0.tgz#1b6418067acc824fb28aecf958abf09dd13a057d" + integrity sha512-Lu9uT0cF4kqxaxoIA4kZFnmhr90EYmOZQYhINy1GmWiRx2QOFk/s14k08T6HRYjPBmh2przu3P+t+NsNs3T0xA== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4728,7 +4716,7 @@ "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.27.0" + "@osmonauts/ast" "^0.29.0" "@osmonauts/proto-parser" "^0.19.1" "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" @@ -4748,10 +4736,10 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/telescope@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.29.0.tgz#52648922ad19414495fde879c1b8bcb46b009eca" - integrity sha512-zLb7/LkxPjFGurq7El2dmidGbyCFmkqxQQz/+aDKTtvMRjzKDijEtNiiFIfuZz+Avj5338zfuoPX2SDqin0v+w== +"@osmonauts/telescope@^0.31.0": + version "0.31.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.31.0.tgz#fb4ffbaaae04ed59b8a7e02b0f2bab6ee8d93ecb" + integrity sha512-lX3I2oMBH4jVmVxO7va/gd1Sv5nqBlD4zAq21nwbA//YUNmpXD6m3BoKIKamLCUD91oasu8g3spCfzx/S6Gwng== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4766,9 +4754,9 @@ "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.25.0" - "@osmonauts/proto-parser" "^0.18.0" - "@osmonauts/types" "^0.14.0" + "@osmonauts/ast" "^0.27.0" + "@osmonauts/proto-parser" "^0.19.1" + "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" "@types/parse-package-name" "0.1.0" case "1.6.3" @@ -4786,15 +4774,6 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/types@^0.14.0": - version "0.14.0" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.14.0.tgz#546d2c826ede077107a9ae292537f39f0b6a3bc8" - integrity sha512-JlNaoOEVWRYf9bLLnOm4IIermE/ix+ECmoAaDsGkhrNSlTNEGPgRpYzbDJC/xeurU8/TsxFo79dyoFVLRTwA3w== - dependencies: - "@babel/runtime" "^7.18.9" - "@osmonauts/utils" "^0.4.0" - case "1.6.3" - "@osmonauts/types@^0.15.1": version "0.15.1" resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.1.tgz#7f9ee9a7774ad77d7d2a987865fa6285ff89fea7" @@ -8342,10 +8321,10 @@ inquirerer@0.1.3: inquirer "^6.0.0" inquirer-autocomplete-prompt "^0.11.1" -interchain@0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/interchain/-/interchain-0.5.0.tgz#9c00d33f901f17fdab116a7f20bbf1f4a2c53cda" - integrity sha512-wML0VYhZbtAQcMxozK29hFuk/4uycc/EZinJjk50hWzGNYT39hQWxzRzdQhiTj1Frgdag7DY2AG/0h6lV70ySg== +interchain@0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/interchain/-/interchain-0.9.1.tgz#0eb5226fb8339d0dac7f76800d5851ea8ace8598" + integrity sha512-AS81myNxAczCausPoZtkM7KawOjaWm/7Rr6LoNsJ3FkW2RPmRQJT0UFPN6ykKoo+fNN4NEwEKzB+MXDfx0L61A== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" @@ -8354,7 +8333,7 @@ interchain@0.5.0: "@cosmjs/tendermint-rpc" "^0.29.0" "@osmonauts/helpers" "^0.6.0" "@osmonauts/lcd" "^0.6.0" - "@osmonauts/telescope" "^0.29.0" + "@osmonauts/telescope" "^0.31.0" protobufjs "^6.11.2" internal-slot@^1.0.3: @@ -9184,6 +9163,21 @@ jsprim@^1.2.2: array-includes "^3.1.5" object.assign "^4.1.3" +juno-network@0.5.0: + version "0.5.0" + resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.5.0.tgz#70408e6b3294068a7ff2ff5056544c982f7575c0" + integrity sha512-mgmRQZq5PD3RiWT8wIJDXfS9yZcxEsNL7JWxy3/pKG9xowZm2Na/dayV+V2xG5y48eTENHBbfsFtb2rKSAz2mQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/cosmwasm-stargate" "^0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "0.6.0" + protobufjs "^6.11.2" + keyvaluestorage-interface@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" @@ -10199,6 +10193,21 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" +osmojs@0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.23.0.tgz#5fcb485146a9aa0cf10feeb6a0eb4a49dc205bac" + integrity sha512-n/8DImpZOEmeON9WzuqZgVP/sYvpn5xufFnKKC3xYxFmqvfeOmxjHeDFmKhb/J4VHQuaGxDclo7bVRiGxg3xGw== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "^0.6.0" + long "^5.2.0" + protobufjs "^6.11.3" + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" @@ -11482,6 +11491,21 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +stargaze-zone@0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/stargaze-zone/-/stargaze-zone-0.4.0.tgz#ea83b9b4db078b161a22de6ad6ba3a58e973a88b" + integrity sha512-tn0nTZfmMIsWUgLTBBeruJfqOKXd0MsOoBUGO0l4b+ab6hZTZMm24wJfHasVnrxyN8EFk/MZ5Bgf/p3u/M/vXg== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/cosmwasm-stargate" "^0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "0.6.0" + protobufjs "^6.11.2" + strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" From 201b80a08d0f4c0fb30dd24c370f558bd92eda77 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 16:51:06 -0500 Subject: [PATCH 107/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0 - @cosmonauts/juno@0.6.0 - @cosmonauts/osmosis@0.6.0 - @cosmonauts/send-tokens@0.6.0 - @cosmonauts/stargaze@0.6.0 - @cosmonauts/connect-chain-with-telescope@0.5.0 - @cosmonauts/connect-chain@0.6.0 - @cosmonauts/connect-multi-chain@0.6.0 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 4 ++-- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 4 ++-- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 4 ++-- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 16 files changed, 75 insertions(+), 11 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index 40d7c7508..ce0dc1fc8 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.3.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 460ada0d4..59684c5ec 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.4.0", + "version": "0.5.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 22098bbe5..092ce45d7 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 0.6.0 (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/examples/juno/package.json b/examples/juno/package.json index 2a69d6226..74e2d7b2e 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", @@ -35,4 +35,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 22098bbe5..62b01d8dd 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 0.6.0 (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index cead22ae3..8b52213a7 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", @@ -35,4 +35,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 22098bbe5..e9af702bb 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 0.6.0 (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index dc763bc85..a1d223bfc 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 22098bbe5..66bc1b4ce 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 0.6.0 (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 2bb4bfdea..d2c14dba2 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", @@ -35,4 +35,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index f39bb8df7..bb436040d 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.4.0...@cosmonauts/connect-chain-with-telescope@0.5.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.3.0...@cosmonauts/connect-chain-with-telescope@0.4.0) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 0e97e3e90..ec28a898d 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.4.0", + "version": "0.5.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 22098bbe5..308170bcf 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index fe452b4c6..90f586e15 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 7e700cdcc..7ebf3e227 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.5.0...@cosmonauts/connect-multi-chain@0.6.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.4.0...@cosmonauts/connect-multi-chain@0.5.0) (2022-09-23) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 5c6b7ba15..a1ecb8137 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.5.0", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", From 01384b01d0e483446f0141249f0db50c011daa66 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:08:22 -0500 Subject: [PATCH 108/262] examples --- README.md | 25 +++++++++++++++++++++++++ examples/juno/pages/index.tsx | 18 +++++++++++++++++- examples/osmosis/pages/index.tsx | 18 +++++++++++++++++- examples/stargaze/pages/index.tsx | 20 ++++++++++++++++++-- 4 files changed, 77 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4d91cb58..bc5568f5d 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,31 @@ npm init cosmos-app ```sh yarn create cosmos-app ``` +## Examples + +Explore examples! + +``` +cca --example +``` +### Osmosis + +``` +cca --name myosmoapp --example --template osmosis +``` + +### Juno + +``` +cca --name myjunoapp --example --template juno +``` + +### Stargaze + +``` +cca --name mystarsapp --example --template stargaze +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx index e41c646a2..d51cc5060 100644 --- a/examples/juno/pages/index.tsx +++ b/examples/juno/pages/index.tsx @@ -29,6 +29,12 @@ import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'juno-network'; import Head from 'next/head'; +const library = { + title: 'Juno Network', + text: 'Typescript libraries for the Juno ecosystem', + href: 'https://github.com/CosmosContracts/typescript' +}; + const chainName = 'juno'; const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName @@ -159,7 +165,10 @@ export default function Home() { > Welcome to  - CosmosKit + Next.js + CosmosKit + Next.js +{' '} + + {library.title} +
@@ -210,6 +219,12 @@ export default function Home() { )} + + + + + + ))} + {dependencies.map((dependency) => ( diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx index 25f144b02..ce006e2c6 100644 --- a/examples/osmosis/pages/index.tsx +++ b/examples/osmosis/pages/index.tsx @@ -29,6 +29,12 @@ import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'osmojs'; import Head from 'next/head'; +const library = { + title: 'OsmoJS', + text: 'OsmoJS', + href: 'https://github.com/osmosis-labs/osmojs' +}; + const chainName = 'osmosis'; const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName @@ -159,7 +165,10 @@ export default function Home() { > Welcome to  - CosmosKit + Next.js + CosmosKit + Next.js +{' '} + + {library.title} +
@@ -210,6 +219,12 @@ export default function Home() { )} + + + + + + ))} + {dependencies.map((dependency) => ( diff --git a/examples/stargaze/pages/index.tsx b/examples/stargaze/pages/index.tsx index 67c7b2306..3e773bf9e 100644 --- a/examples/stargaze/pages/index.tsx +++ b/examples/stargaze/pages/index.tsx @@ -26,9 +26,15 @@ import { dependencies, products } from '../config'; import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; -import { cosmos } from 'interchain'; +import { cosmos } from 'stargaze-zone'; import Head from 'next/head'; +const library = { + title: 'StargazeJS', + text: 'Typescript libraries for the Stargaze ecosystem', + href: 'https://github.com/cosmology-tech/stargaze-zone' +}; + const chainName = 'stargaze'; const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName @@ -159,7 +165,10 @@ export default function Home() { > Welcome to  - CosmosKit + Next.js + CosmosKit + Next.js +{' '} + + {library.title} + @@ -210,6 +219,12 @@ export default function Home() { )} + + + + + + ))} + {dependencies.map((dependency) => ( From f3512c73954b8878e24d36241eae8ac66b4be2d0 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:08:30 -0500 Subject: [PATCH 109/262] chore(release): publish - @cosmonauts/juno@0.7.0 - @cosmonauts/osmosis@0.7.0 - @cosmonauts/stargaze@0.7.0 --- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- 6 files changed, 27 insertions(+), 3 deletions(-) diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 092ce45d7..040fe67d0 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.6.0...@cosmonauts/juno@0.7.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + # 0.6.0 (2022-09-25) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 74e2d7b2e..c7c4012d0 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "0.6.0", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 62b01d8dd..070397c31 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.6.0...@cosmonauts/osmosis@0.7.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + # 0.6.0 (2022-09-25) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 8b52213a7..9e2d64eea 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "0.6.0", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 66bc1b4ce..4b540a98b 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.6.0...@cosmonauts/stargaze@0.7.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + # 0.6.0 (2022-09-25) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index d2c14dba2..50fd5e021 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "0.6.0", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", From c257d36421b6040208bcdd5a8440521ae2988d54 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:08:59 -0500 Subject: [PATCH 110/262] readme --- packages/create-cosmos-app/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index e4d91cb58..bc5568f5d 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -85,6 +85,31 @@ npm init cosmos-app ```sh yarn create cosmos-app ``` +## Examples + +Explore examples! + +``` +cca --example +``` +### Osmosis + +``` +cca --name myosmoapp --example --template osmosis +``` + +### Juno + +``` +cca --name myjunoapp --example --template juno +``` + +### Stargaze + +``` +cca --name mystarsapp --example --template stargaze +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From 8a797d451d407cdaa5c68361cae60e97def29603 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:09:03 -0500 Subject: [PATCH 111/262] chore(release): publish - create-cosmos-app@0.4.3 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index b9e551ed6..310ee9647 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.2...create-cosmos-app@0.4.3) (2022-09-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.1...create-cosmos-app@0.4.2) (2022-09-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index df30acb11..ec5ad7940 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.2", + "version": "0.4.3", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From f9d4cbd7cab1ccab879febcb1af31961bec174fa Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:18:10 -0500 Subject: [PATCH 112/262] readme --- README.md | 23 +++++++++++++++++++++++ packages/create-cosmos-app/README.md | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/README.md b/README.md index bc5568f5d..1ec04863b 100644 --- a/README.md +++ b/README.md @@ -92,20 +92,43 @@ Explore examples! ``` cca --example ``` +### Send Tokens + +

+ +

+ +``` +cca --name exampleapp --example --template send-tokens +``` + ### Osmosis +

+ +

+ ``` cca --name myosmoapp --example --template osmosis ``` ### Juno +

+ +

+ + ``` cca --name myjunoapp --example --template juno ``` ### Stargaze +

+ +

+ ``` cca --name mystarsapp --example --template stargaze ``` diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index bc5568f5d..1ec04863b 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -92,20 +92,43 @@ Explore examples! ``` cca --example ``` +### Send Tokens + +

+ +

+ +``` +cca --name exampleapp --example --template send-tokens +``` + ### Osmosis +

+ +

+ ``` cca --name myosmoapp --example --template osmosis ``` ### Juno +

+ +

+ + ``` cca --name myjunoapp --example --template juno ``` ### Stargaze +

+ +

+ ``` cca --name mystarsapp --example --template stargaze ``` From 8bc0834fd47c5ddeab9db7f123dfd9a8ef812a8f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:18:16 -0500 Subject: [PATCH 113/262] chore(release): publish - create-cosmos-app@0.4.4 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 310ee9647..b18222e9a 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.3...create-cosmos-app@0.4.4) (2022-09-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.2...create-cosmos-app@0.4.3) (2022-09-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index ec5ad7940..ca481415f 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.3", + "version": "0.4.4", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From a96de60030a0d9d373fa3bac1afeafe4e33cd388 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:29:38 -0500 Subject: [PATCH 114/262] readme --- README.md | 6 ++++++ packages/create-cosmos-app/README.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 1ec04863b..5bb2d5d8f 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ cca --name exampleapp --example --template send-tokens

+uses [osmojs](https://github.com/osmosis-labs/osmojs) + ``` cca --name myosmoapp --example --template osmosis ``` @@ -118,6 +120,8 @@ cca --name myosmoapp --example --template osmosis

+uses [juno-network](https://github.com/CosmosContracts/typescript) + ``` cca --name myjunoapp --example --template juno @@ -129,6 +133,8 @@ cca --name myjunoapp --example --template juno

+uses [stargazejs](https://github.com/cosmology-tech/stargaze-zone) + ``` cca --name mystarsapp --example --template stargaze ``` diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 1ec04863b..5bb2d5d8f 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -108,6 +108,8 @@ cca --name exampleapp --example --template send-tokens

+uses [osmojs](https://github.com/osmosis-labs/osmojs) + ``` cca --name myosmoapp --example --template osmosis ``` @@ -118,6 +120,8 @@ cca --name myosmoapp --example --template osmosis

+uses [juno-network](https://github.com/CosmosContracts/typescript) + ``` cca --name myjunoapp --example --template juno @@ -129,6 +133,8 @@ cca --name myjunoapp --example --template juno

+uses [stargazejs](https://github.com/cosmology-tech/stargaze-zone) + ``` cca --name mystarsapp --example --template stargaze ``` From 45e92853f94ea65b7a935a0fd064c3e15da939c9 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 17:29:42 -0500 Subject: [PATCH 115/262] chore(release): publish - create-cosmos-app@0.4.5 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index b18222e9a..c97a2417c 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.4...create-cosmos-app@0.4.5) (2022-09-25) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.3...create-cosmos-app@0.4.4) (2022-09-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index ca481415f..6e6b42909 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.4", + "version": "0.4.5", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 9d37c121efbd160737e356cfed5dd1584ced0cb1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 18:29:00 -0500 Subject: [PATCH 116/262] types --- examples/contracts/package.json | 1 + examples/contracts/pages/_app.tsx | 8 ++++++-- examples/juno/package.json | 1 + examples/juno/pages/_app.tsx | 13 +++++++++++-- examples/osmosis/package.json | 1 + examples/osmosis/pages/_app.tsx | 13 +++++++++++-- examples/send-tokens/package.json | 1 + examples/send-tokens/pages/_app.tsx | 4 ++-- examples/stargaze/package.json | 1 + examples/stargaze/pages/_app.tsx | 13 +++++++++++-- examples/telescope/package.json | 1 + examples/telescope/pages/_app.tsx | 8 ++++++-- templates/connect-chain/pages/_app.tsx | 18 +++++++++++++++--- templates/connect-multi-chain/package.json | 1 + templates/connect-multi-chain/pages/_app.tsx | 17 ++++++++++++++--- yarn.lock | 4 ++-- 16 files changed, 85 insertions(+), 20 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 59684c5ec..f23314925 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -11,6 +11,7 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "^2.0.10", "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index fc6307440..5efd134da 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -11,7 +11,7 @@ import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; import { GasPrice } from '@cosmjs/stargate'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); @@ -26,6 +26,10 @@ function MyApp({ Component, pageProps }: AppProps) { return { gasPrice: GasPrice.fromString('0.0025ujuno') }; + case 'stargaze': + return { + gasPrice: GasPrice.fromString('0.0025ustars') + }; } } }; @@ -43,4 +47,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/examples/juno/package.json b/examples/juno/package.json index c7c4012d0..3a740e363 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx index 745ed8212..6d92a3011 100644 --- a/examples/juno/pages/_app.tsx +++ b/examples/juno/pages/_app.tsx @@ -6,14 +6,23 @@ import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'juno-network'; +import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'juno': + return { + gasPrice: GasPrice.fromString('0.0025ujuno') + }; + } } }; @@ -30,4 +39,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 9e2d64eea..e7f84474d 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index e53ed9bc2..6d22069dc 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -6,14 +6,23 @@ import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'osmojs'; +import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'osmosis': + return { + gasPrice: GasPrice.fromString('0.0025uosmo') + }; + } } }; @@ -30,4 +39,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index a1d223bfc..0483b06bb 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx index b63971572..bc160e306 100644 --- a/examples/send-tokens/pages/_app.tsx +++ b/examples/send-tokens/pages/_app.tsx @@ -10,7 +10,7 @@ import { getSigningCosmosClientOptions } from 'interchain'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); @@ -30,4 +30,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 50fd5e021..5347147bd 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx index d103b32d8..09d156b30 100644 --- a/examples/stargaze/pages/_app.tsx +++ b/examples/stargaze/pages/_app.tsx @@ -6,14 +6,23 @@ import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'stargaze-zone'; +import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'stargaze': + return { + gasPrice: GasPrice.fromString('0.0025ustars') + }; + } } }; @@ -30,4 +39,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/examples/telescope/package.json b/examples/telescope/package.json index ec28a898d..34fabfbfc 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -10,6 +10,7 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "^2.0.10", "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index fc6307440..5efd134da 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -11,7 +11,7 @@ import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; import { GasPrice } from '@cosmjs/stargate'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { return getSigningCosmosClientOptions(); @@ -26,6 +26,10 @@ function MyApp({ Component, pageProps }: AppProps) { return { gasPrice: GasPrice.fromString('0.0025ujuno') }; + case 'stargaze': + return { + gasPrice: GasPrice.fromString('0.0025ustars') + }; } } }; @@ -43,4 +47,4 @@ function MyApp({ Component, pageProps }: AppProps) { ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index b1a0bd9bd..d8fe1faef 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -4,16 +4,28 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; + +import { SignerOptions } from '@cosmos-kit/core'; import { chains } from 'chain-registry'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + // stargate: (_chain: Chain) => { + // return getSigningCosmosClientOptions(); + // } + }; + return ( - + ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index a1ecb8137..ddf1b3651 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index b1a0bd9bd..af04dee6c 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -4,16 +4,27 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/config'; +import { SignerOptions } from '@cosmos-kit/core'; import { chains } from 'chain-registry'; -function MyApp({ Component, pageProps }: AppProps) { +function CreateCosmosApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + // stargate: (_chain: Chain) => { + // return getSigningCosmosClientOptions(); + // } + }; + return ( - + ); } -export default MyApp; +export default CreateCosmosApp; diff --git a/yarn.lock b/yarn.lock index f20892ddf..f44b56f5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1326,9 +1326,9 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@chain-registry/types@^0.11.0": +"@chain-registry/types@0.11.0", "@chain-registry/types@^0.11.0": version "0.11.0" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== dependencies: "@babel/runtime" "^7.19.0" From b3c637c946c4a2a848856638365b64244774f05b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 25 Sep 2022 18:30:34 -0500 Subject: [PATCH 117/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1 - @cosmonauts/juno@0.7.1 - @cosmonauts/osmosis@0.7.1 - @cosmonauts/send-tokens@0.6.1 - @cosmonauts/stargaze@0.7.1 - @cosmonauts/connect-chain-with-telescope@0.5.1 - @cosmonauts/connect-chain@0.6.1 - @cosmonauts/connect-multi-chain@0.6.1 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 16 files changed, 72 insertions(+), 8 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index ce0dc1fc8..78657b171 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.4.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index f23314925..4fe9e1153 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.5.0", + "version": "0.5.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 040fe67d0..afe983a68 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.7.0...@cosmonauts/juno@0.7.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.6.0...@cosmonauts/juno@0.7.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 3a740e363..b441a0819 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "0.7.0", + "version": "0.7.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 070397c31..40177a01f 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.0...@cosmonauts/osmosis@0.7.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.6.0...@cosmonauts/osmosis@0.7.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index e7f84474d..27ba7cc69 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "0.7.0", + "version": "0.7.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index e9af702bb..0651e3462 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.6.0...@cosmonauts/send-tokens@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + # 0.6.0 (2022-09-25) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 0483b06bb..c89267498 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "0.6.0", + "version": "0.6.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 4b540a98b..9ca48abf0 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.7.0...@cosmonauts/stargaze@0.7.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.6.0...@cosmonauts/stargaze@0.7.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 5347147bd..527cf9d64 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "0.7.0", + "version": "0.7.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index bb436040d..4145acd92 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.5.0...@cosmonauts/connect-chain-with-telescope@0.5.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.4.0...@cosmonauts/connect-chain-with-telescope@0.5.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 34fabfbfc..4f6253fe3 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.5.0", + "version": "0.5.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 308170bcf..013d8e4e5 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 90f586e15..404a9fc41 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.6.0", + "version": "0.6.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 7ebf3e227..0f9748d4b 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.6.0...@cosmonauts/connect-multi-chain@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.5.0...@cosmonauts/connect-multi-chain@0.6.0) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index ddf1b3651..0fa7bca1b 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.6.0", + "version": "0.6.1", "private": true, "scripts": { "dev": "next dev", From 0832a55f8859b162e0ee64b5005fdbaf357e844b Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Tue, 27 Sep 2022 11:14:54 -0500 Subject: [PATCH 118/262] Create tailwindcss example --- examples/tailwindcs/CHANGELOG.md | 136 + examples/tailwindcs/config/chain-infos.ts | 19 + examples/tailwindcs/config/features.ts | 47 + examples/tailwindcs/config/index.ts | 2 + examples/tailwindcs/config/theme.ts | 34 + examples/tailwindcs/next.config.js | 7 + examples/tailwindcs/tailwind.config.js | 20 + examples/tailwindcss/.next/trace | 31 + examples/tailwindcss/CHANGELOG.md | 136 + examples/tailwindcss/config/chain-infos.ts | 19 + examples/tailwindcss/config/features.ts | 47 + examples/tailwindcss/config/index.ts | 2 + examples/tailwindcss/config/theme.ts | 34 + .../tailwindcss/cosmos-app/.eslintrc.json | 3 + examples/tailwindcss/cosmos-app/.gitignore | 36 + examples/tailwindcss/cosmos-app/CHANGELOG.md | 136 + examples/tailwindcss/cosmos-app/README.md | 76 + .../cosmos-app/components/features.tsx | 79 + .../cosmos-app/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 + .../cosmos-app/components/react/astronaut.tsx | 304 + .../components/react/chain-card.tsx | 38 + .../cosmos-app/components/react/index.ts | 7 + .../cosmos-app/components/react/modal.tsx | 223 + .../cosmos-app/components/react/user-card.tsx | 33 + .../components/react/views/Connected.tsx | 108 + .../components/react/views/Connecting.tsx | 61 + .../components/react/views/Error.tsx | 64 + .../components/react/views/NotExist.tsx | 65 + .../components/react/views/QRCode.tsx | 57 + .../components/react/views/WalletList.tsx | 54 + .../components/react/views/index.ts | 6 + .../components/react/wallet-connect.tsx | 199 + .../components/react/warn-block.tsx | 90 + .../cosmos-app/components/types.tsx | 44 + .../cosmos-app/components/wallet.tsx | 168 + .../cosmos-app/config/chain-infos.ts | 19 + .../tailwindcss/cosmos-app/config/features.ts | 47 + .../tailwindcss/cosmos-app/config/index.ts | 2 + .../tailwindcss/cosmos-app/config/theme.ts | 34 + .../tailwindcss/cosmos-app/next.config.js | 7 + examples/tailwindcss/cosmos-app/package.json | 49 + .../cosmos-app/pages/[chainName].tsx | 104 + .../tailwindcss/cosmos-app/pages/_app.tsx | 33 + .../tailwindcss/cosmos-app/pages/index.tsx | 101 + .../tailwindcss/cosmos-app/postcss.config.js | 6 + .../tailwindcss/cosmos-app/public/favicon.ico | Bin 0 -> 25531 bytes .../cosmos-app/styles/Home.module.css | 25 + .../tailwindcss/cosmos-app/styles/globals.css | 4 + .../tailwindcss/cosmos-app/tailwind.config.js | 20 + examples/tailwindcss/cosmos-app/tsconfig.json | 20 + examples/tailwindcss/cosmos-app/yarn.lock | 4866 +++++++++++++++++ examples/tailwindcss/next.config.js | 7 + examples/tailwindcss/tailwind.config.js | 20 + 54 files changed, 7831 insertions(+) create mode 100644 examples/tailwindcs/CHANGELOG.md create mode 100644 examples/tailwindcs/config/chain-infos.ts create mode 100644 examples/tailwindcs/config/features.ts create mode 100644 examples/tailwindcs/config/index.ts create mode 100644 examples/tailwindcs/config/theme.ts create mode 100644 examples/tailwindcs/next.config.js create mode 100644 examples/tailwindcs/tailwind.config.js create mode 100644 examples/tailwindcss/.next/trace create mode 100644 examples/tailwindcss/CHANGELOG.md create mode 100644 examples/tailwindcss/config/chain-infos.ts create mode 100644 examples/tailwindcss/config/features.ts create mode 100644 examples/tailwindcss/config/index.ts create mode 100644 examples/tailwindcss/config/theme.ts create mode 100644 examples/tailwindcss/cosmos-app/.eslintrc.json create mode 100644 examples/tailwindcss/cosmos-app/.gitignore create mode 100644 examples/tailwindcss/cosmos-app/CHANGELOG.md create mode 100644 examples/tailwindcss/cosmos-app/README.md create mode 100644 examples/tailwindcss/cosmos-app/components/features.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/index.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/address-card.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/astronaut.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/chain-card.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/index.ts create mode 100644 examples/tailwindcss/cosmos-app/components/react/modal.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/user-card.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/Error.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/views/index.ts create mode 100644 examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/react/warn-block.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/types.tsx create mode 100644 examples/tailwindcss/cosmos-app/components/wallet.tsx create mode 100644 examples/tailwindcss/cosmos-app/config/chain-infos.ts create mode 100644 examples/tailwindcss/cosmos-app/config/features.ts create mode 100644 examples/tailwindcss/cosmos-app/config/index.ts create mode 100644 examples/tailwindcss/cosmos-app/config/theme.ts create mode 100644 examples/tailwindcss/cosmos-app/next.config.js create mode 100644 examples/tailwindcss/cosmos-app/package.json create mode 100644 examples/tailwindcss/cosmos-app/pages/[chainName].tsx create mode 100644 examples/tailwindcss/cosmos-app/pages/_app.tsx create mode 100644 examples/tailwindcss/cosmos-app/pages/index.tsx create mode 100644 examples/tailwindcss/cosmos-app/postcss.config.js create mode 100644 examples/tailwindcss/cosmos-app/public/favicon.ico create mode 100644 examples/tailwindcss/cosmos-app/styles/Home.module.css create mode 100644 examples/tailwindcss/cosmos-app/styles/globals.css create mode 100644 examples/tailwindcss/cosmos-app/tailwind.config.js create mode 100644 examples/tailwindcss/cosmos-app/tsconfig.json create mode 100644 examples/tailwindcss/cosmos-app/yarn.lock create mode 100644 examples/tailwindcss/next.config.js create mode 100644 examples/tailwindcss/tailwind.config.js diff --git a/examples/tailwindcs/CHANGELOG.md b/examples/tailwindcs/CHANGELOG.md new file mode 100644 index 000000000..013d8e4e5 --- /dev/null +++ b/examples/tailwindcs/CHANGELOG.md @@ -0,0 +1,136 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcs/config/chain-infos.ts b/examples/tailwindcs/config/chain-infos.ts new file mode 100644 index 000000000..3a5de4712 --- /dev/null +++ b/examples/tailwindcs/config/chain-infos.ts @@ -0,0 +1,19 @@ +import { ChooseChainInfo } from '../components'; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }); diff --git a/examples/tailwindcs/config/features.ts b/examples/tailwindcs/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/tailwindcs/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/tailwindcs/config/index.ts b/examples/tailwindcs/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/tailwindcs/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/tailwindcs/config/theme.ts b/examples/tailwindcs/config/theme.ts new file mode 100644 index 000000000..aa5614194 --- /dev/null +++ b/examples/tailwindcs/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from '@chakra-ui/react'; + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcs/next.config.js b/examples/tailwindcs/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/tailwindcs/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/tailwindcs/tailwind.config.js b/examples/tailwindcs/tailwind.config.js new file mode 100644 index 000000000..5d7ad12b7 --- /dev/null +++ b/examples/tailwindcs/tailwind.config.js @@ -0,0 +1,20 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: { + colors: { + purple: { + damp: "#6674d9", + }, + }, + }, + }, + plugins: [ + require("@tailwindcss/typography"), + require("@tailwindcss/aspect-ratio"), + require("@tailwindcss/forms"), + require("@tailwindcss/line-clamp"), + require("tailwind-scrollbar-hide"), + ], +}; diff --git a/examples/tailwindcss/.next/trace b/examples/tailwindcss/.next/trace new file mode 100644 index 000000000..81e58f0a4 --- /dev/null +++ b/examples/tailwindcss/.next/trace @@ -0,0 +1,31 @@ +[{"traceId":"06b5767d478984a7","name":"hot-reloader","id":1,"timestamp":1371169849737,"duration":26,"tags":{"version":"12.2.5"},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":1,"name":"start","id":2,"timestamp":1371169850154,"duration":1,"tags":{},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":2,"name":"clean","id":3,"timestamp":1371169850173,"duration":10259,"tags":{},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":4,"name":"get-page-paths","id":5,"timestamp":1371169861115,"duration":523,"tags":{},"startTime":1664294213897},{"traceId":"06b5767d478984a7","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":1371169861649,"duration":182,"tags":{},"startTime":1664294213898},{"traceId":"06b5767d478984a7","parentId":4,"name":"create-entrypoints","id":7,"timestamp":1371169861845,"duration":944,"tags":{},"startTime":1664294213898},{"traceId":"06b5767d478984a7","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":1371169862805,"duration":16802,"tags":{},"startTime":1664294213899},{"traceId":"06b5767d478984a7","parentId":2,"name":"get-webpack-config","id":4,"timestamp":1371169861071,"duration":18548,"tags":{},"startTime":1664294213897},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":12,"timestamp":1371169913090,"duration":454994,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":11,"timestamp":1371169912819,"duration":462311,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":15,"timestamp":1371169913126,"duration":468889,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":13,"timestamp":1371169913107,"duration":628334,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":17,"name":"read-resource","id":18,"timestamp":1371170556588,"duration":9341,"tags":{},"startTime":1664294214593},{"traceId":"06b5767d478984a7","parentId":19,"name":"postcss-process","id":20,"timestamp":1371170789816,"duration":217308,"tags":{},"startTime":1664294214826},{"traceId":"06b5767d478984a7","parentId":17,"name":"postcss-loader","id":19,"timestamp":1371170566137,"duration":442151,"tags":{},"startTime":1664294214602},{"traceId":"06b5767d478984a7","parentId":17,"name":"css-loader","id":21,"timestamp":1371171008467,"duration":25562,"tags":{"astUsed":"true"},"startTime":1664294215045},{"traceId":"06b5767d478984a7","parentId":9,"name":"build-module-css","id":17,"timestamp":1371170552805,"duration":493009,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294214589},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":16,"timestamp":1371169913138,"duration":1141987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":23,"name":"next-swc-transform","id":24,"timestamp":1371171188936,"duration":6981,"tags":{},"startTime":1664294215225},{"traceId":"06b5767d478984a7","parentId":22,"name":"next-swc-loader","id":23,"timestamp":1371171188527,"duration":7401,"tags":{},"startTime":1664294215225},{"traceId":"06b5767d478984a7","parentId":9,"name":"build-module-tsx","id":22,"timestamp":1371171186808,"duration":17457,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294215223},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":14,"timestamp":1371169913118,"duration":1591352,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":10,"timestamp":1371169912266,"duration":1592403,"tags":{},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-chunk-graph","id":26,"timestamp":1371171539388,"duration":31373,"tags":{},"startTime":1664294215576},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-modules","id":28,"timestamp":1371171570831,"duration":14,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-chunks","id":29,"timestamp":1371171570906,"duration":533,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-tree","id":30,"timestamp":1371171571510,"duration":98,"tags":{},"startTime":1664294215608},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize","id":27,"timestamp":1371171570802,"duration":1005,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-hash","id":31,"timestamp":1371171639161,"duration":12347,"tags":{},"startTime":1664294215675},{"traceId":"06b5767d478984a7","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":33,"timestamp":1371171939301,"duration":546,"tags":{},"startTime":1664294215976},{"traceId":"06b5767d478984a7","parentId":9,"name":"NextJsBuildManifest-createassets","id":32,"timestamp":1371171938868,"duration":996,"tags":{},"startTime":1664294215975},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-seal","id":25,"timestamp":1371171534342,"duration":408937,"tags":{},"startTime":1664294215571},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":9,"timestamp":1371169908322,"duration":2035152,"tags":{"name":"client"},"startTime":1664294213945},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":34,"timestamp":1371171943804,"duration":296146,"tags":{},"startTime":1664294215980},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":38,"timestamp":1371172286479,"duration":105416,"tags":{"request":"private-next-pages/_error"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":39,"timestamp":1371172286493,"duration":105436,"tags":{"request":"private-next-pages/_document"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":41,"name":"next-swc-transform","id":42,"timestamp":1371172399859,"duration":1573,"tags":{},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":40,"name":"next-swc-loader","id":41,"timestamp":1371172399752,"duration":1695,"tags":{},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":35,"name":"build-module-tsx","id":40,"timestamp":1371172399324,"duration":8814,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":40,"name":"build-module-next/router","id":43,"timestamp":1371172409753,"duration":89,"tags":{"name":"next/router"},"startTime":1664294216446},{"traceId":"06b5767d478984a7","parentId":45,"name":"next-swc-transform","id":46,"timestamp":1371172417668,"duration":1619,"tags":{},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":44,"name":"next-swc-loader","id":45,"timestamp":1371172417628,"duration":1669,"tags":{},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":35,"name":"build-module-tsx","id":44,"timestamp":1371172417488,"duration":3844,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":37,"timestamp":1371172286369,"duration":137464,"tags":{"request":"private-next-pages/_app"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":36,"timestamp":1371172250515,"duration":173391,"tags":{},"startTime":1664294216287},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-chunk-graph","id":48,"timestamp":1371172424910,"duration":638,"tags":{},"startTime":1664294216461},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-modules","id":50,"timestamp":1371172425596,"duration":4,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-chunks","id":51,"timestamp":1371172425636,"duration":64,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-tree","id":52,"timestamp":1371172425726,"duration":14,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize","id":49,"timestamp":1371172425590,"duration":206,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-hash","id":53,"timestamp":1371172429328,"duration":1559,"tags":{},"startTime":1664294216466},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-seal","id":47,"timestamp":1371172424814,"duration":10808,"tags":{},"startTime":1664294216461},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":35,"timestamp":1371172247697,"duration":187989,"tags":{"name":"server"},"startTime":1664294216284},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":54,"timestamp":1371172435772,"duration":6168,"tags":{},"startTime":1664294216472},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":56,"timestamp":1371172445791,"duration":1216,"tags":{},"startTime":1664294216482},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-chunk-graph","id":58,"timestamp":1371172447199,"duration":15,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-modules","id":60,"timestamp":1371172447224,"duration":100,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-chunks","id":61,"timestamp":1371172447336,"duration":6,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-tree","id":62,"timestamp":1371172447349,"duration":3,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize","id":59,"timestamp":1371172447220,"duration":149,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-hash","id":63,"timestamp":1371172447512,"duration":37,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-seal","id":57,"timestamp":1371172447176,"duration":591,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":55,"timestamp":1371172444824,"duration":2965,"tags":{"name":"edge-server"},"startTime":1664294216481},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":64,"timestamp":1371172447807,"duration":8563,"tags":{},"startTime":1664294216484}] +[{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":70,"timestamp":1371172471398,"duration":9768,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":71,"timestamp":1371172471442,"duration":10777,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":76,"name":"read-resource","id":77,"timestamp":1371172482629,"duration":60,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":78,"name":"postcss-process","id":79,"timestamp":1371172482731,"duration":30595,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":76,"name":"postcss-loader","id":78,"timestamp":1371172482709,"duration":31061,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":76,"name":"css-loader","id":80,"timestamp":1371172513798,"duration":12496,"tags":{"astUsed":"true"},"startTime":1664294216550},{"traceId":"06b5767d478984a7","parentId":68,"name":"build-module-css","id":76,"timestamp":1371172482335,"duration":49426,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":75,"timestamp":1371172471476,"duration":60812,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":74,"timestamp":1371172471466,"duration":62279,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":72,"timestamp":1371172471452,"duration":65185,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":73,"timestamp":1371172471460,"duration":93981,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":65,"name":"make","id":69,"timestamp":1371172471204,"duration":94266,"tags":{},"startTime":1664294216507},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-chunk-graph","id":82,"timestamp":1371172570385,"duration":28280,"tags":{},"startTime":1664294216607},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-modules","id":84,"timestamp":1371172598699,"duration":4,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-chunks","id":85,"timestamp":1371172598717,"duration":126,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-tree","id":86,"timestamp":1371172598860,"duration":6,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize","id":83,"timestamp":1371172598690,"duration":2057,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-hash","id":87,"timestamp":1371172614012,"duration":5772,"tags":{},"startTime":1664294216650},{"traceId":"06b5767d478984a7","parentId":68,"name":"NextJsBuildManifest-generateClientManifest","id":89,"timestamp":1371172621263,"duration":90,"tags":{},"startTime":1664294216657},{"traceId":"06b5767d478984a7","parentId":68,"name":"NextJsBuildManifest-createassets","id":88,"timestamp":1371172621094,"duration":263,"tags":{},"startTime":1664294216657},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-seal","id":81,"timestamp":1371172567420,"duration":54922,"tags":{},"startTime":1664294216604},{"traceId":"06b5767d478984a7","parentId":65,"name":"webpack-compilation","id":68,"timestamp":1371172470327,"duration":152072,"tags":{"name":"client"},"startTime":1664294216507},{"traceId":"06b5767d478984a7","parentId":65,"name":"emit","id":90,"timestamp":1371172622420,"duration":2147,"tags":{},"startTime":1664294216659},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":65,"timestamp":1371172458443,"duration":166723,"tags":{"trigger":"manual"},"startTime":1664294216495},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":94,"timestamp":1371172635154,"duration":4148,"tags":{"request":"private-next-pages/_error"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":95,"timestamp":1371172635166,"duration":4148,"tags":{"request":"private-next-pages/_document"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":93,"timestamp":1371172635104,"duration":4370,"tags":{"request":"private-next-pages/_app"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":66,"name":"make","id":92,"timestamp":1371172627004,"duration":12493,"tags":{},"startTime":1664294216663},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-chunk-graph","id":97,"timestamp":1371172639797,"duration":227,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-modules","id":99,"timestamp":1371172640036,"duration":3,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-chunks","id":100,"timestamp":1371172640048,"duration":26,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-tree","id":101,"timestamp":1371172640083,"duration":3,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize","id":98,"timestamp":1371172640031,"duration":131,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-hash","id":102,"timestamp":1371172641129,"duration":559,"tags":{},"startTime":1664294216677},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-seal","id":96,"timestamp":1371172639728,"duration":2325,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":66,"name":"webpack-compilation","id":91,"timestamp":1371172626730,"duration":15343,"tags":{"name":"server"},"startTime":1664294216663},{"traceId":"06b5767d478984a7","parentId":66,"name":"emit","id":103,"timestamp":1371172642087,"duration":1033,"tags":{},"startTime":1664294216678},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":66,"timestamp":1371172458564,"duration":184775,"tags":{"trigger":"manual"},"startTime":1664294216495},{"traceId":"06b5767d478984a7","parentId":67,"name":"make","id":105,"timestamp":1371172644227,"duration":647,"tags":{},"startTime":1664294216680},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-chunk-graph","id":107,"timestamp":1371172644937,"duration":14,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-modules","id":109,"timestamp":1371172644960,"duration":20,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-chunks","id":110,"timestamp":1371172644990,"duration":6,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-tree","id":111,"timestamp":1371172645002,"duration":3,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize","id":108,"timestamp":1371172644957,"duration":66,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-hash","id":112,"timestamp":1371172645105,"duration":17,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-seal","id":106,"timestamp":1371172644921,"duration":391,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":67,"name":"webpack-compilation","id":104,"timestamp":1371172643916,"duration":1411,"tags":{"name":"edge-server"},"startTime":1664294216680},{"traceId":"06b5767d478984a7","parentId":67,"name":"emit","id":113,"timestamp":1371172645334,"duration":581,"tags":{},"startTime":1664294216682},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-edge-server","id":67,"timestamp":1371172458591,"duration":187802,"tags":{"trigger":"manual"},"startTime":1664294216495}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":114,"timestamp":1371173271378,"duration":2,"tags":{},"startTime":1664294217308},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":119,"timestamp":1371173306180,"duration":15395,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294217342},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":120,"timestamp":1371173306402,"duration":16505,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":124,"timestamp":1371173306471,"duration":16958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":125,"timestamp":1371173306674,"duration":16763,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":123,"timestamp":1371173306450,"duration":18001,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":121,"timestamp":1371173306425,"duration":22566,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":122,"timestamp":1371173306438,"duration":57328,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":115,"name":"make","id":118,"timestamp":1371173303784,"duration":60022,"tags":{},"startTime":1664294217340},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-chunk-graph","id":127,"timestamp":1371173368515,"duration":4458,"tags":{},"startTime":1664294217405},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-modules","id":129,"timestamp":1371173373004,"duration":6,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-chunks","id":130,"timestamp":1371173373021,"duration":2644,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-tree","id":131,"timestamp":1371173375695,"duration":9,"tags":{},"startTime":1664294217412},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize","id":128,"timestamp":1371173372996,"duration":3842,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-hash","id":132,"timestamp":1371173384850,"duration":4290,"tags":{},"startTime":1664294217421},{"traceId":"06b5767d478984a7","parentId":117,"name":"NextJsBuildManifest-generateClientManifest","id":134,"timestamp":1371173394544,"duration":178,"tags":{},"startTime":1664294217431},{"traceId":"06b5767d478984a7","parentId":117,"name":"NextJsBuildManifest-createassets","id":133,"timestamp":1371173394467,"duration":263,"tags":{},"startTime":1664294217431},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-seal","id":126,"timestamp":1371173365430,"duration":32625,"tags":{},"startTime":1664294217402},{"traceId":"06b5767d478984a7","parentId":115,"name":"webpack-compilation","id":117,"timestamp":1371173303088,"duration":95009,"tags":{"name":"client"},"startTime":1664294217339},{"traceId":"06b5767d478984a7","parentId":115,"name":"emit","id":135,"timestamp":1371173398124,"duration":2445,"tags":{},"startTime":1664294217434},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":115,"timestamp":1371173291732,"duration":109314,"tags":{"trigger":"manual"},"startTime":1664294217328},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":138,"timestamp":1371173412132,"duration":0,"tags":{},"startTime":1664294217448},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":140,"timestamp":1371173412526,"duration":2939,"tags":{"request":"private-next-pages/_error"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":142,"timestamp":1371173412534,"duration":2938,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":141,"timestamp":1371173412531,"duration":2943,"tags":{"request":"private-next-pages/_document"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":139,"timestamp":1371173412486,"duration":3156,"tags":{"request":"private-next-pages/_app"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":116,"name":"make","id":137,"timestamp":1371173403991,"duration":11666,"tags":{},"startTime":1664294217440},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-chunk-graph","id":144,"timestamp":1371173415916,"duration":165,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-modules","id":146,"timestamp":1371173416091,"duration":2,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-chunks","id":147,"timestamp":1371173416104,"duration":29,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-tree","id":148,"timestamp":1371173416141,"duration":3,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize","id":145,"timestamp":1371173416087,"duration":109,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-hash","id":149,"timestamp":1371173416853,"duration":601,"tags":{},"startTime":1664294217453},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-seal","id":143,"timestamp":1371173415836,"duration":1862,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":116,"name":"webpack-compilation","id":136,"timestamp":1371173403671,"duration":14047,"tags":{"name":"server"},"startTime":1664294217440},{"traceId":"06b5767d478984a7","parentId":116,"name":"emit","id":150,"timestamp":1371173417730,"duration":3538,"tags":{},"startTime":1664294217454},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":116,"timestamp":1371173292340,"duration":129339,"tags":{"trigger":"manual"},"startTime":1664294217329}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":151,"timestamp":1371174063490,"duration":0,"tags":{},"startTime":1664294218100},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":152,"timestamp":1371174067147,"duration":0,"tags":{},"startTime":1664294218103},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":157,"timestamp":1371174090863,"duration":5011,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":158,"timestamp":1371174090902,"duration":6151,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":162,"timestamp":1371174090926,"duration":6739,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":164,"timestamp":1371174090930,"duration":6739,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":161,"timestamp":1371174090923,"duration":7467,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":159,"timestamp":1371174090911,"duration":11434,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":163,"timestamp":1371174090928,"duration":32772,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":160,"timestamp":1371174090917,"duration":38620,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":153,"name":"make","id":156,"timestamp":1371174087900,"duration":41666,"tags":{},"startTime":1664294218124},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-chunk-graph","id":166,"timestamp":1371174134026,"duration":3322,"tags":{},"startTime":1664294218170},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-modules","id":168,"timestamp":1371174137370,"duration":8,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-chunks","id":169,"timestamp":1371174137388,"duration":190,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-tree","id":170,"timestamp":1371174137595,"duration":3,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize","id":167,"timestamp":1371174137364,"duration":1101,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-hash","id":171,"timestamp":1371174148217,"duration":6426,"tags":{},"startTime":1664294218184},{"traceId":"06b5767d478984a7","parentId":155,"name":"NextJsBuildManifest-generateClientManifest","id":173,"timestamp":1371174156565,"duration":158,"tags":{},"startTime":1664294218193},{"traceId":"06b5767d478984a7","parentId":155,"name":"NextJsBuildManifest-createassets","id":172,"timestamp":1371174156507,"duration":222,"tags":{},"startTime":1664294218193},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-seal","id":165,"timestamp":1371174131103,"duration":27916,"tags":{},"startTime":1664294218167},{"traceId":"06b5767d478984a7","parentId":153,"name":"webpack-compilation","id":155,"timestamp":1371174087610,"duration":71525,"tags":{"name":"client"},"startTime":1664294218124},{"traceId":"06b5767d478984a7","parentId":153,"name":"emit","id":174,"timestamp":1371174159165,"duration":4872,"tags":{},"startTime":1664294218195},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":153,"timestamp":1371174084179,"duration":80625,"tags":{"trigger":"manual"},"startTime":1664294218120},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":177,"timestamp":1371174177083,"duration":0,"tags":{},"startTime":1664294218213},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":178,"timestamp":1371174177393,"duration":0,"tags":{},"startTime":1664294218214},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":180,"timestamp":1371174178365,"duration":3833,"tags":{"request":"private-next-pages/_error"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":182,"timestamp":1371174178374,"duration":3830,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":181,"timestamp":1371174178371,"duration":3836,"tags":{"request":"private-next-pages/_document"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":179,"timestamp":1371174178335,"duration":4494,"tags":{"request":"private-next-pages/_app"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":183,"timestamp":1371174178377,"duration":4922,"tags":{"request":"./pages/index.tsx"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":154,"name":"make","id":176,"timestamp":1371174168494,"duration":14821,"tags":{},"startTime":1664294218205},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-chunk-graph","id":185,"timestamp":1371174183591,"duration":215,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-modules","id":187,"timestamp":1371174183816,"duration":2,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-chunks","id":188,"timestamp":1371174183828,"duration":40,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-tree","id":189,"timestamp":1371174183877,"duration":4,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize","id":186,"timestamp":1371174183813,"duration":124,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-hash","id":190,"timestamp":1371174184943,"duration":885,"tags":{},"startTime":1664294218221},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-seal","id":184,"timestamp":1371174183530,"duration":3352,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":154,"name":"webpack-compilation","id":175,"timestamp":1371174167335,"duration":19586,"tags":{"name":"server"},"startTime":1664294218204},{"traceId":"06b5767d478984a7","parentId":154,"name":"emit","id":191,"timestamp":1371174186950,"duration":4662,"tags":{},"startTime":1664294218223},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":154,"timestamp":1371174084329,"duration":107837,"tags":{"trigger":"manual"},"startTime":1664294218121}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":192,"timestamp":1371174535551,"duration":0,"tags":{},"startTime":1664294218572},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":193,"timestamp":1371174542238,"duration":0,"tags":{},"startTime":1664294218578},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":194,"timestamp":1371174542294,"duration":0,"tags":{},"startTime":1664294218578},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":195,"timestamp":1371185019211,"duration":0,"tags":{},"startTime":1664294229055},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":196,"timestamp":1371187042353,"duration":1,"tags":{},"startTime":1664294231078},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":197,"timestamp":1371187042607,"duration":0,"tags":{},"startTime":1664294231079},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":202,"timestamp":1371188141162,"duration":7895,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":210,"name":"read-resource","id":211,"timestamp":1371188151458,"duration":58,"tags":{},"startTime":1664294232187},{"traceId":"06b5767d478984a7","parentId":212,"name":"postcss-process","id":213,"timestamp":1371188151682,"duration":35143,"tags":{},"startTime":1664294232188},{"traceId":"06b5767d478984a7","parentId":210,"name":"postcss-loader","id":212,"timestamp":1371188151617,"duration":35695,"tags":{},"startTime":1664294232188},{"traceId":"06b5767d478984a7","parentId":210,"name":"css-loader","id":214,"timestamp":1371188187373,"duration":11517,"tags":{"astUsed":"true"},"startTime":1664294232223},{"traceId":"06b5767d478984a7","parentId":200,"name":"build-module-css","id":210,"timestamp":1371188150541,"duration":56155,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294232186},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":207,"timestamp":1371188141254,"duration":65958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":209,"timestamp":1371188141258,"duration":65958,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":203,"timestamp":1371188141239,"duration":66797,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":206,"timestamp":1371188141250,"duration":68503,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":208,"timestamp":1371188141256,"duration":68827,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":204,"timestamp":1371188141244,"duration":68845,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":216,"name":"next-swc-transform","id":217,"timestamp":1371188210377,"duration":2064,"tags":{},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":215,"name":"next-swc-loader","id":216,"timestamp":1371188210094,"duration":2353,"tags":{},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":200,"name":"build-module-tsx","id":215,"timestamp":1371188209842,"duration":7003,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":205,"timestamp":1371188141247,"duration":106042,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":198,"name":"make","id":201,"timestamp":1371188139712,"duration":107675,"tags":{},"startTime":1664294232176},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-chunk-graph","id":219,"timestamp":1371188252580,"duration":6327,"tags":{},"startTime":1664294232289},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-modules","id":221,"timestamp":1371188258978,"duration":13,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-chunks","id":222,"timestamp":1371188259031,"duration":212,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-tree","id":223,"timestamp":1371188259289,"duration":83,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize","id":220,"timestamp":1371188258950,"duration":1986,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-hash","id":224,"timestamp":1371188273848,"duration":6804,"tags":{},"startTime":1664294232310},{"traceId":"06b5767d478984a7","parentId":200,"name":"NextJsBuildManifest-generateClientManifest","id":226,"timestamp":1371188282086,"duration":339,"tags":{},"startTime":1664294232318},{"traceId":"06b5767d478984a7","parentId":200,"name":"NextJsBuildManifest-createassets","id":225,"timestamp":1371188281898,"duration":533,"tags":{},"startTime":1664294232318},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-seal","id":218,"timestamp":1371188249345,"duration":34020,"tags":{},"startTime":1664294232285},{"traceId":"06b5767d478984a7","parentId":198,"name":"webpack-compilation","id":200,"timestamp":1371188138799,"duration":144623,"tags":{"name":"client"},"startTime":1664294232175},{"traceId":"06b5767d478984a7","parentId":198,"name":"emit","id":227,"timestamp":1371188283490,"duration":3429,"tags":{},"startTime":1664294232319},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":198,"timestamp":1371188115143,"duration":172802,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232151},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":230,"timestamp":1371188305136,"duration":0,"tags":{},"startTime":1664294232341},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":231,"timestamp":1371188305208,"duration":0,"tags":{},"startTime":1664294232341},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":236,"timestamp":1371188306156,"duration":5753,"tags":{"request":"./pages/index.tsx"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":233,"timestamp":1371188306137,"duration":6775,"tags":{"request":"private-next-pages/_error"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":235,"timestamp":1371188306152,"duration":6768,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":234,"timestamp":1371188306149,"duration":6776,"tags":{"request":"private-next-pages/_document"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":238,"name":"next-swc-transform","id":239,"timestamp":1371188313534,"duration":1070,"tags":{},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":237,"name":"next-swc-loader","id":238,"timestamp":1371188313411,"duration":1200,"tags":{},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":228,"name":"build-module-tsx","id":237,"timestamp":1371188313225,"duration":3961,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":232,"timestamp":1371188306090,"duration":14046,"tags":{"request":"private-next-pages/_app"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":199,"name":"make","id":229,"timestamp":1371188290660,"duration":29499,"tags":{},"startTime":1664294232327},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-chunk-graph","id":241,"timestamp":1371188320874,"duration":685,"tags":{},"startTime":1664294232357},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-modules","id":243,"timestamp":1371188321584,"duration":4,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-chunks","id":244,"timestamp":1371188321630,"duration":47,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-tree","id":245,"timestamp":1371188321709,"duration":141,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize","id":242,"timestamp":1371188321574,"duration":477,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-hash","id":246,"timestamp":1371188324866,"duration":1583,"tags":{},"startTime":1664294232361},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-seal","id":240,"timestamp":1371188320766,"duration":6276,"tags":{},"startTime":1664294232357},{"traceId":"06b5767d478984a7","parentId":199,"name":"webpack-compilation","id":228,"timestamp":1371188290364,"duration":36704,"tags":{"name":"server"},"startTime":1664294232326},{"traceId":"06b5767d478984a7","parentId":199,"name":"emit","id":247,"timestamp":1371188327096,"duration":1793,"tags":{},"startTime":1664294232363},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":199,"timestamp":1371188115708,"duration":214290,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232152}] +[{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":252,"timestamp":1371213917045,"duration":4115,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":259,"name":"read-resource","id":260,"timestamp":1371213922177,"duration":29,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":261,"name":"postcss-process","id":262,"timestamp":1371213922239,"duration":31323,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":259,"name":"postcss-loader","id":261,"timestamp":1371213922221,"duration":31692,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":259,"name":"css-loader","id":263,"timestamp":1371213953935,"duration":7729,"tags":{"astUsed":"true"},"startTime":1664294257989},{"traceId":"06b5767d478984a7","parentId":250,"name":"build-module-css","id":259,"timestamp":1371213921993,"duration":40932,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":257,"timestamp":1371213917109,"duration":46331,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":253,"timestamp":1371213917096,"duration":47158,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":256,"timestamp":1371213917106,"duration":49268,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":258,"timestamp":1371213917111,"duration":49578,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":254,"timestamp":1371213917101,"duration":49592,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":265,"name":"next-swc-transform","id":266,"timestamp":1371213964609,"duration":4183,"tags":{},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":264,"name":"next-swc-loader","id":265,"timestamp":1371213964567,"duration":4231,"tags":{},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":250,"name":"build-module-tsx","id":264,"timestamp":1371213964422,"duration":8300,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":255,"timestamp":1371213917103,"duration":119251,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":248,"name":"make","id":251,"timestamp":1371213916068,"duration":120315,"tags":{},"startTime":1664294257952},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-chunk-graph","id":268,"timestamp":1371214040872,"duration":3791,"tags":{},"startTime":1664294258076},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-modules","id":270,"timestamp":1371214044690,"duration":4,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-chunks","id":271,"timestamp":1371214044706,"duration":93,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-tree","id":272,"timestamp":1371214044816,"duration":5,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize","id":269,"timestamp":1371214044682,"duration":1495,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-hash","id":273,"timestamp":1371214058831,"duration":4635,"tags":{},"startTime":1664294258094},{"traceId":"06b5767d478984a7","parentId":250,"name":"NextJsBuildManifest-generateClientManifest","id":275,"timestamp":1371214077818,"duration":63,"tags":{},"startTime":1664294258113},{"traceId":"06b5767d478984a7","parentId":250,"name":"NextJsBuildManifest-createassets","id":274,"timestamp":1371214077742,"duration":151,"tags":{},"startTime":1664294258113},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-seal","id":267,"timestamp":1371214037906,"duration":41860,"tags":{},"startTime":1664294258073},{"traceId":"06b5767d478984a7","parentId":248,"name":"webpack-compilation","id":250,"timestamp":1371213915787,"duration":164026,"tags":{"name":"client"},"startTime":1664294257951},{"traceId":"06b5767d478984a7","parentId":248,"name":"emit","id":276,"timestamp":1371214079834,"duration":112271,"tags":{},"startTime":1664294258115},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":248,"timestamp":1371213900310,"duration":300276,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294257936},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":282,"timestamp":1371214225595,"duration":0,"tags":{},"startTime":1664294258261},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":283,"timestamp":1371214225719,"duration":0,"tags":{},"startTime":1664294258261},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":280,"timestamp":1371214224894,"duration":5519,"tags":{"request":"private-next-pages/_error"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":281,"timestamp":1371214224899,"duration":5524,"tags":{"request":"private-next-pages/_document"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":285,"name":"next-swc-transform","id":286,"timestamp":1371214230226,"duration":1467,"tags":{},"startTime":1664294258266},{"traceId":"06b5767d478984a7","parentId":284,"name":"next-swc-loader","id":285,"timestamp":1371214230144,"duration":1557,"tags":{},"startTime":1664294258266},{"traceId":"06b5767d478984a7","parentId":277,"name":"build-module-tsx","id":284,"timestamp":1371214229910,"duration":7001,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294258265},{"traceId":"06b5767d478984a7","parentId":284,"name":"build-module-bowser","id":287,"timestamp":1371214243625,"duration":157,"tags":{"name":"bowser"},"startTime":1664294258279},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":279,"timestamp":1371214224814,"duration":19020,"tags":{"request":"private-next-pages/_app"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":249,"name":"make","id":278,"timestamp":1371214215821,"duration":28037,"tags":{},"startTime":1664294258251},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-chunk-graph","id":289,"timestamp":1371214244292,"duration":349,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-modules","id":291,"timestamp":1371214244652,"duration":2,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-chunks","id":292,"timestamp":1371214244664,"duration":29,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-tree","id":293,"timestamp":1371214244703,"duration":3,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize","id":290,"timestamp":1371214244648,"duration":146,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-hash","id":294,"timestamp":1371214246973,"duration":500,"tags":{},"startTime":1664294258282},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-seal","id":288,"timestamp":1371214244221,"duration":5507,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":249,"name":"webpack-compilation","id":277,"timestamp":1371214215579,"duration":34177,"tags":{"name":"server"},"startTime":1664294258251},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":296,"timestamp":1664294257936999,"duration":343000,"tags":{"clientId":1664294218658},"startTime":1664294258286},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":297,"timestamp":1664294257936999,"duration":350000,"tags":{"clientId":1664294218622},"startTime":1664294258289},{"traceId":"06b5767d478984a7","parentId":249,"name":"emit","id":295,"timestamp":1371214249790,"duration":4457,"tags":{},"startTime":1664294258285},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":249,"timestamp":1371213900570,"duration":354110,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294257936}] +[{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":303,"timestamp":1371240889921,"duration":8882,"tags":{"request":"private-next-pages/_error"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":304,"timestamp":1371240889925,"duration":8891,"tags":{"request":"private-next-pages/_document"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":306,"name":"next-swc-transform","id":307,"timestamp":1371240898092,"duration":11498,"tags":{},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":305,"name":"next-swc-loader","id":306,"timestamp":1371240898036,"duration":11568,"tags":{},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":300,"name":"build-module-tsx","id":305,"timestamp":1371240897893,"duration":16097,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":302,"timestamp":1371240889885,"duration":26743,"tags":{"request":"private-next-pages/_app"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":298,"name":"make","id":301,"timestamp":1371240889789,"duration":26861,"tags":{},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-chunk-graph","id":309,"timestamp":1371240917022,"duration":337,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-modules","id":311,"timestamp":1371240917371,"duration":3,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-chunks","id":312,"timestamp":1371240917384,"duration":32,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-tree","id":313,"timestamp":1371240917426,"duration":3,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize","id":310,"timestamp":1371240917366,"duration":114,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-hash","id":314,"timestamp":1371240918925,"duration":495,"tags":{},"startTime":1664294284954},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-seal","id":308,"timestamp":1371240916950,"duration":3715,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":298,"name":"webpack-compilation","id":300,"timestamp":1371240889517,"duration":31167,"tags":{"name":"server"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":298,"name":"emit","id":315,"timestamp":1371240920696,"duration":5000,"tags":{},"startTime":1664294284956},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":298,"timestamp":1371240881075,"duration":44915,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284916},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":318,"timestamp":1371240931495,"duration":4335,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":323,"timestamp":1371240931547,"duration":6053,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":325,"name":"read-resource","id":326,"timestamp":1371240937388,"duration":2069,"tags":{},"startTime":1664294284972},{"traceId":"06b5767d478984a7","parentId":330,"name":"postcss-process","id":331,"timestamp":1371240939494,"duration":30870,"tags":{},"startTime":1664294284975},{"traceId":"06b5767d478984a7","parentId":325,"name":"postcss-loader","id":330,"timestamp":1371240939484,"duration":31016,"tags":{},"startTime":1664294284975},{"traceId":"06b5767d478984a7","parentId":325,"name":"css-loader","id":332,"timestamp":1371240970523,"duration":8094,"tags":{"astUsed":"true"},"startTime":1664294285006},{"traceId":"06b5767d478984a7","parentId":316,"name":"build-module-css","id":325,"timestamp":1371240937246,"duration":46820,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294284972},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":319,"timestamp":1371240931534,"duration":54176,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":328,"name":"next-swc-transform","id":329,"timestamp":1371240938439,"duration":47519,"tags":{},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":327,"name":"next-swc-loader","id":328,"timestamp":1371240938380,"duration":47581,"tags":{},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":316,"name":"build-module-tsx","id":327,"timestamp":1371240937629,"duration":53641,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":322,"timestamp":1371240931544,"duration":61196,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":324,"timestamp":1371240931549,"duration":61582,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":320,"timestamp":1371240931538,"duration":64206,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":321,"timestamp":1371240931541,"duration":96452,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":299,"name":"make","id":317,"timestamp":1371240928932,"duration":99092,"tags":{},"startTime":1664294284964},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-chunk-graph","id":334,"timestamp":1371241032459,"duration":19159,"tags":{},"startTime":1664294285067},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-modules","id":336,"timestamp":1371241051658,"duration":3,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-chunks","id":337,"timestamp":1371241051673,"duration":107,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-tree","id":338,"timestamp":1371241051798,"duration":3,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize","id":335,"timestamp":1371241051649,"duration":1384,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-hash","id":339,"timestamp":1371241061493,"duration":3828,"tags":{},"startTime":1664294285097},{"traceId":"06b5767d478984a7","parentId":316,"name":"NextJsBuildManifest-generateClientManifest","id":341,"timestamp":1371241075541,"duration":55,"tags":{},"startTime":1664294285111},{"traceId":"06b5767d478984a7","parentId":316,"name":"NextJsBuildManifest-createassets","id":340,"timestamp":1371241075479,"duration":129,"tags":{},"startTime":1664294285111},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-seal","id":333,"timestamp":1371241029675,"duration":47408,"tags":{},"startTime":1664294285065},{"traceId":"06b5767d478984a7","parentId":299,"name":"webpack-compilation","id":316,"timestamp":1371240928692,"duration":148418,"tags":{"name":"client"},"startTime":1664294284964},{"traceId":"06b5767d478984a7","parentId":299,"name":"emit","id":342,"timestamp":1371241077126,"duration":103357,"tags":{},"startTime":1664294285112},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":299,"timestamp":1371240881244,"duration":300258,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284916}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":343,"timestamp":1371241192145,"duration":0,"tags":{},"startTime":1664294285227},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":344,"timestamp":1371241192371,"duration":0,"tags":{},"startTime":1664294285227},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":345,"timestamp":1664294284916999,"duration":321000,"tags":{"clientId":1664294218658},"startTime":1664294285239},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":346,"timestamp":1664294284924000,"duration":323000,"tags":{"clientId":1664294218622},"startTime":1664294285247},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":352,"timestamp":1371278132974,"duration":10976,"tags":{"request":"private-next-pages/_error"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":353,"timestamp":1371278132978,"duration":10989,"tags":{"request":"private-next-pages/_document"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":355,"name":"next-swc-transform","id":356,"timestamp":1371278142899,"duration":2021,"tags":{},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":354,"name":"next-swc-loader","id":355,"timestamp":1371278142614,"duration":2313,"tags":{},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":349,"name":"build-module-tsx","id":354,"timestamp":1371278142153,"duration":14003,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":351,"timestamp":1371278132894,"duration":26171,"tags":{"request":"private-next-pages/_app"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":347,"name":"make","id":350,"timestamp":1371278132730,"duration":26397,"tags":{},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-chunk-graph","id":358,"timestamp":1371278159807,"duration":989,"tags":{},"startTime":1664294322194},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-modules","id":360,"timestamp":1371278160847,"duration":13,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-chunks","id":361,"timestamp":1371278160895,"duration":35,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-tree","id":362,"timestamp":1371278160960,"duration":71,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize","id":359,"timestamp":1371278160824,"duration":306,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-hash","id":363,"timestamp":1371278164199,"duration":1559,"tags":{},"startTime":1664294322199},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-seal","id":357,"timestamp":1371278159696,"duration":9308,"tags":{},"startTime":1664294322194},{"traceId":"06b5767d478984a7","parentId":347,"name":"webpack-compilation","id":349,"timestamp":1371278132247,"duration":36919,"tags":{"name":"server"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":347,"name":"emit","id":364,"timestamp":1371278169255,"duration":1924,"tags":{},"startTime":1664294322204},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":347,"timestamp":1371278122903,"duration":48791,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322157},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":367,"timestamp":1371278179937,"duration":4361,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":374,"name":"read-resource","id":375,"timestamp":1371278186337,"duration":64,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":376,"name":"postcss-process","id":377,"timestamp":1371278186512,"duration":36728,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":374,"name":"postcss-loader","id":376,"timestamp":1371278186485,"duration":37213,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":374,"name":"css-loader","id":378,"timestamp":1371278223760,"duration":11190,"tags":{"astUsed":"true"},"startTime":1664294322258},{"traceId":"06b5767d478984a7","parentId":365,"name":"build-module-css","id":374,"timestamp":1371278185358,"duration":56294,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294322220},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":372,"timestamp":1371278179982,"duration":63282,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":368,"timestamp":1371278179969,"duration":64106,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":371,"timestamp":1371278179979,"duration":66147,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":373,"timestamp":1371278179984,"duration":66428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":369,"timestamp":1371278179973,"duration":66444,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":380,"name":"next-swc-transform","id":381,"timestamp":1371278244507,"duration":2278,"tags":{},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":379,"name":"next-swc-loader","id":380,"timestamp":1371278244444,"duration":2343,"tags":{},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":365,"name":"build-module-tsx","id":379,"timestamp":1371278244250,"duration":9452,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":370,"timestamp":1371278179976,"duration":102475,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":348,"name":"make","id":366,"timestamp":1371278177955,"duration":104569,"tags":{},"startTime":1664294322212},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-chunk-graph","id":383,"timestamp":1371278287058,"duration":16208,"tags":{},"startTime":1664294322321},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-modules","id":385,"timestamp":1371278303295,"duration":3,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-chunks","id":386,"timestamp":1371278303371,"duration":46,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-tree","id":387,"timestamp":1371278303453,"duration":58,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize","id":384,"timestamp":1371278303287,"duration":1753,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-hash","id":388,"timestamp":1371278317284,"duration":6900,"tags":{},"startTime":1664294322352},{"traceId":"06b5767d478984a7","parentId":365,"name":"NextJsBuildManifest-generateClientManifest","id":390,"timestamp":1371278334998,"duration":348,"tags":{},"startTime":1664294322369},{"traceId":"06b5767d478984a7","parentId":365,"name":"NextJsBuildManifest-createassets","id":389,"timestamp":1371278334723,"duration":634,"tags":{},"startTime":1664294322369},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-seal","id":382,"timestamp":1371278284117,"duration":52941,"tags":{},"startTime":1664294322319},{"traceId":"06b5767d478984a7","parentId":348,"name":"webpack-compilation","id":365,"timestamp":1371278177294,"duration":159799,"tags":{"name":"client"},"startTime":1664294322212},{"traceId":"06b5767d478984a7","parentId":348,"name":"emit","id":391,"timestamp":1371278337135,"duration":97887,"tags":{},"startTime":1664294322372},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":348,"timestamp":1371278123192,"duration":314028,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322158}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":392,"timestamp":1371278453198,"duration":0,"tags":{},"startTime":1664294322488},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":393,"timestamp":1371278453445,"duration":0,"tags":{},"startTime":1664294322488},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":394,"timestamp":1664294322158000,"duration":340999,"tags":{"clientId":1664294218658},"startTime":1664294322499},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":395,"timestamp":1664294322160000,"duration":454000,"tags":{"clientId":1664294218622},"startTime":1664294322615},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":400,"timestamp":1371295082994,"duration":9370,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":401,"timestamp":1371295083289,"duration":10832,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":407,"name":"read-resource","id":408,"timestamp":1371295095022,"duration":115,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":409,"name":"postcss-process","id":410,"timestamp":1371295095257,"duration":42588,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":407,"name":"postcss-loader","id":409,"timestamp":1371295095214,"duration":43001,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":407,"name":"css-loader","id":411,"timestamp":1371295138244,"duration":7967,"tags":{"astUsed":"true"},"startTime":1664294339172},{"traceId":"06b5767d478984a7","parentId":398,"name":"build-module-css","id":407,"timestamp":1371295094486,"duration":53446,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":405,"timestamp":1371295083323,"duration":65098,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":404,"timestamp":1371295083315,"duration":66798,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":406,"timestamp":1371295083328,"duration":68239,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":402,"timestamp":1371295083301,"duration":68270,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":403,"timestamp":1371295083307,"duration":96071,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":396,"name":"make","id":399,"timestamp":1371295081277,"duration":98136,"tags":{},"startTime":1664294339115},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-chunk-graph","id":413,"timestamp":1371295184442,"duration":12707,"tags":{},"startTime":1664294339219},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-modules","id":415,"timestamp":1371295197181,"duration":14,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-chunks","id":416,"timestamp":1371295197235,"duration":96,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-tree","id":417,"timestamp":1371295197374,"duration":17,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize","id":414,"timestamp":1371295197173,"duration":1789,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-hash","id":418,"timestamp":1371295208318,"duration":6347,"tags":{},"startTime":1664294339242},{"traceId":"06b5767d478984a7","parentId":398,"name":"NextJsBuildManifest-generateClientManifest","id":420,"timestamp":1371295215936,"duration":79,"tags":{},"startTime":1664294339250},{"traceId":"06b5767d478984a7","parentId":398,"name":"NextJsBuildManifest-createassets","id":419,"timestamp":1371295215833,"duration":188,"tags":{},"startTime":1664294339250},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-seal","id":412,"timestamp":1371295181086,"duration":36007,"tags":{},"startTime":1664294339215},{"traceId":"06b5767d478984a7","parentId":396,"name":"webpack-compilation","id":398,"timestamp":1371295080611,"duration":136528,"tags":{"name":"client"},"startTime":1664294339115},{"traceId":"06b5767d478984a7","parentId":396,"name":"emit","id":421,"timestamp":1371295217163,"duration":2193,"tags":{},"startTime":1664294339251},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":396,"timestamp":1371295056822,"duration":163101,"tags":{"trigger":"manual"},"startTime":1664294339091},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":424,"timestamp":1371295230868,"duration":0,"tags":{},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":425,"timestamp":1371295230935,"duration":0,"tags":{},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":429,"timestamp":1371295231322,"duration":4701,"tags":{"request":"./pages/index.tsx"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":427,"timestamp":1371295231315,"duration":5144,"tags":{"request":"private-next-pages/_error"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":428,"timestamp":1371295231319,"duration":5148,"tags":{"request":"private-next-pages/_document"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":426,"timestamp":1371295231258,"duration":5369,"tags":{"request":"private-next-pages/_app"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":397,"name":"make","id":423,"timestamp":1371295222095,"duration":14555,"tags":{},"startTime":1664294339256},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-chunk-graph","id":431,"timestamp":1371295236928,"duration":311,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-modules","id":433,"timestamp":1371295237249,"duration":2,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-chunks","id":434,"timestamp":1371295237259,"duration":15,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-tree","id":435,"timestamp":1371295237281,"duration":3,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize","id":432,"timestamp":1371295237245,"duration":95,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-hash","id":436,"timestamp":1371295238098,"duration":511,"tags":{},"startTime":1664294339272},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-seal","id":430,"timestamp":1371295236871,"duration":3061,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":397,"name":"webpack-compilation","id":422,"timestamp":1371295221912,"duration":18046,"tags":{"name":"server"},"startTime":1664294339256},{"traceId":"06b5767d478984a7","parentId":397,"name":"emit","id":437,"timestamp":1371295239971,"duration":4137,"tags":{},"startTime":1664294339274},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":397,"timestamp":1371295057686,"duration":187018,"tags":{"trigger":"manual"},"startTime":1664294339092}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":438,"timestamp":1371295532771,"duration":0,"tags":{},"startTime":1664294339567},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":439,"timestamp":1371295533027,"duration":0,"tags":{},"startTime":1664294339567},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":444,"timestamp":1371317673344,"duration":4138,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":449,"timestamp":1371317673417,"duration":5893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":451,"name":"read-resource","id":452,"timestamp":1371317678510,"duration":1450,"tags":{},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":456,"name":"postcss-process","id":457,"timestamp":1371317679995,"duration":25158,"tags":{},"startTime":1664294361714},{"traceId":"06b5767d478984a7","parentId":451,"name":"postcss-loader","id":456,"timestamp":1371317679979,"duration":25356,"tags":{},"startTime":1664294361714},{"traceId":"06b5767d478984a7","parentId":451,"name":"css-loader","id":458,"timestamp":1371317705360,"duration":8768,"tags":{"astUsed":"true"},"startTime":1664294361739},{"traceId":"06b5767d478984a7","parentId":442,"name":"build-module-css","id":451,"timestamp":1371317678383,"duration":37099,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":445,"timestamp":1371317673404,"duration":45574,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":454,"name":"next-swc-transform","id":455,"timestamp":1371317679063,"duration":40277,"tags":{},"startTime":1664294361713},{"traceId":"06b5767d478984a7","parentId":453,"name":"next-swc-loader","id":454,"timestamp":1371317678748,"duration":40596,"tags":{},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"build-module-tsx","id":453,"timestamp":1371317678547,"duration":45438,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":448,"timestamp":1371317673413,"duration":51628,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":450,"timestamp":1371317673419,"duration":51958,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":446,"timestamp":1371317673408,"duration":90247,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":447,"timestamp":1371317673410,"duration":182523,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":440,"name":"make","id":443,"timestamp":1371317672410,"duration":183563,"tags":{},"startTime":1664294361706},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-chunk-graph","id":460,"timestamp":1371317860544,"duration":17883,"tags":{},"startTime":1664294361894},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-modules","id":462,"timestamp":1371317878481,"duration":12,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-chunks","id":463,"timestamp":1371317878526,"duration":59,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-tree","id":464,"timestamp":1371317878620,"duration":11,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize","id":461,"timestamp":1371317878459,"duration":1539,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-hash","id":465,"timestamp":1371317893266,"duration":4037,"tags":{},"startTime":1664294361927},{"traceId":"06b5767d478984a7","parentId":442,"name":"NextJsBuildManifest-generateClientManifest","id":467,"timestamp":1371317907173,"duration":76,"tags":{},"startTime":1664294361941},{"traceId":"06b5767d478984a7","parentId":442,"name":"NextJsBuildManifest-createassets","id":466,"timestamp":1371317907091,"duration":170,"tags":{},"startTime":1664294361941},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-seal","id":459,"timestamp":1371317857417,"duration":51764,"tags":{},"startTime":1664294361891},{"traceId":"06b5767d478984a7","parentId":440,"name":"webpack-compilation","id":442,"timestamp":1371317672162,"duration":237064,"tags":{"name":"client"},"startTime":1664294361706},{"traceId":"06b5767d478984a7","parentId":440,"name":"emit","id":468,"timestamp":1371317909251,"duration":144528,"tags":{},"startTime":1664294361943},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":440,"timestamp":1371317660036,"duration":394893,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361694},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":475,"timestamp":1371318068164,"duration":0,"tags":{},"startTime":1664294362102},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":476,"timestamp":1371318068335,"duration":0,"tags":{},"startTime":1664294362102},{"traceId":"06b5767d478984a7","parentId":478,"name":"next-swc-transform","id":479,"timestamp":1371318072149,"duration":2111,"tags":{},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":477,"name":"next-swc-loader","id":478,"timestamp":1371318072067,"duration":2201,"tags":{},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":469,"name":"build-module-tsx","id":477,"timestamp":1371318071963,"duration":5431,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":473,"timestamp":1371318067620,"duration":11871,"tags":{"request":"private-next-pages/_error"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":474,"timestamp":1371318067624,"duration":11875,"tags":{"request":"private-next-pages/_document"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":480,"timestamp":1664294362102000,"duration":14999,"tags":{"clientId":1664294218658},"startTime":1664294362118},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":472,"timestamp":1371318067558,"duration":18034,"tags":{"request":"private-next-pages/_app"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":441,"name":"make","id":470,"timestamp":1371318057850,"duration":27769,"tags":{},"startTime":1664294362092},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-chunk-graph","id":482,"timestamp":1371318086055,"duration":289,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-modules","id":484,"timestamp":1371318086356,"duration":3,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-chunks","id":485,"timestamp":1371318086396,"duration":31,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-tree","id":486,"timestamp":1371318086453,"duration":13,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize","id":483,"timestamp":1371318086352,"duration":216,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-hash","id":487,"timestamp":1371318088427,"duration":995,"tags":{},"startTime":1664294362122},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-seal","id":481,"timestamp":1371318085986,"duration":5051,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":441,"name":"webpack-compilation","id":469,"timestamp":1371318057541,"duration":33521,"tags":{"name":"server"},"startTime":1664294362091},{"traceId":"06b5767d478984a7","parentId":441,"name":"emit","id":488,"timestamp":1371318091089,"duration":4701,"tags":{},"startTime":1664294362125},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":441,"timestamp":1371317660311,"duration":435907,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361694},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":491,"timestamp":1371318101548,"duration":3024,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":498,"name":"read-resource","id":499,"timestamp":1371318105417,"duration":25,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":500,"name":"postcss-process","id":501,"timestamp":1371318105476,"duration":26627,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":498,"name":"postcss-loader","id":500,"timestamp":1371318105464,"duration":26788,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":498,"name":"css-loader","id":502,"timestamp":1371318132277,"duration":6816,"tags":{"astUsed":"true"},"startTime":1664294362166},{"traceId":"06b5767d478984a7","parentId":489,"name":"build-module-css","id":498,"timestamp":1371318105309,"duration":34878,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":503,"timestamp":1664294362102000,"duration":40999,"tags":{"clientId":1664294339605},"startTime":1664294362174},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":496,"timestamp":1371318101657,"duration":39052,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":492,"timestamp":1371318101645,"duration":39791,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":495,"timestamp":1371318101654,"duration":41714,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":497,"timestamp":1371318101659,"duration":42084,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":493,"timestamp":1371318101649,"duration":42098,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":494,"timestamp":1371318101651,"duration":65357,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":471,"name":"make","id":490,"timestamp":1371318100357,"duration":66687,"tags":{},"startTime":1664294362134},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-chunk-graph","id":505,"timestamp":1371318171125,"duration":19408,"tags":{},"startTime":1664294362205},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-modules","id":507,"timestamp":1371318190562,"duration":3,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-chunks","id":508,"timestamp":1371318190575,"duration":45,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-tree","id":509,"timestamp":1371318190639,"duration":4,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize","id":506,"timestamp":1371318190555,"duration":1517,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-hash","id":510,"timestamp":1371318200334,"duration":6095,"tags":{},"startTime":1664294362234},{"traceId":"06b5767d478984a7","parentId":489,"name":"NextJsBuildManifest-generateClientManifest","id":512,"timestamp":1371318207300,"duration":80,"tags":{},"startTime":1664294362241},{"traceId":"06b5767d478984a7","parentId":489,"name":"NextJsBuildManifest-createassets","id":511,"timestamp":1371318207238,"duration":146,"tags":{},"startTime":1664294362241},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-seal","id":504,"timestamp":1371318168143,"duration":40075,"tags":{},"startTime":1664294362202},{"traceId":"06b5767d478984a7","parentId":471,"name":"webpack-compilation","id":489,"timestamp":1371318100135,"duration":108108,"tags":{"name":"client"},"startTime":1664294362134},{"traceId":"06b5767d478984a7","parentId":471,"name":"emit","id":513,"timestamp":1371318208257,"duration":3216,"tags":{},"startTime":1664294362242},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":471,"timestamp":1371318067317,"duration":145325,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components"},"startTime":1664294362101}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":514,"timestamp":1371318222018,"duration":0,"tags":{},"startTime":1664294362256},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":515,"timestamp":1371318231566,"duration":0,"tags":{},"startTime":1664294362265},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":520,"timestamp":1371325408531,"duration":3301,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":527,"name":"read-resource","id":528,"timestamp":1371325412674,"duration":57,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":529,"name":"postcss-process","id":530,"timestamp":1371325412785,"duration":24343,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":527,"name":"postcss-loader","id":529,"timestamp":1371325412760,"duration":24578,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":527,"name":"css-loader","id":531,"timestamp":1371325437368,"duration":7757,"tags":{"astUsed":"true"},"startTime":1664294369471},{"traceId":"06b5767d478984a7","parentId":518,"name":"build-module-css","id":527,"timestamp":1371325412562,"duration":33444,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":525,"timestamp":1371325408590,"duration":37798,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":521,"timestamp":1371325408572,"duration":38482,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":524,"timestamp":1371325408587,"duration":40318,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":526,"timestamp":1371325408593,"duration":40644,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":522,"timestamp":1371325408582,"duration":40658,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":533,"name":"next-swc-transform","id":534,"timestamp":1371325449300,"duration":1656,"tags":{},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":532,"name":"next-swc-loader","id":533,"timestamp":1371325449244,"duration":1716,"tags":{},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":518,"name":"build-module-tsx","id":532,"timestamp":1371325449103,"duration":3649,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":523,"timestamp":1371325408584,"duration":64923,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":516,"name":"make","id":519,"timestamp":1371325405771,"duration":67762,"tags":{},"startTime":1664294369439},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-chunk-graph","id":536,"timestamp":1371325477383,"duration":3626,"tags":{},"startTime":1664294369511},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-modules","id":538,"timestamp":1371325481034,"duration":2,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-chunks","id":539,"timestamp":1371325481046,"duration":28,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-tree","id":540,"timestamp":1371325481090,"duration":3,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize","id":537,"timestamp":1371325481028,"duration":830,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-hash","id":541,"timestamp":1371325490737,"duration":3269,"tags":{},"startTime":1664294369524},{"traceId":"06b5767d478984a7","parentId":518,"name":"NextJsBuildManifest-generateClientManifest","id":543,"timestamp":1371325506863,"duration":173,"tags":{},"startTime":1664294369540},{"traceId":"06b5767d478984a7","parentId":518,"name":"NextJsBuildManifest-createassets","id":542,"timestamp":1371325506807,"duration":239,"tags":{},"startTime":1664294369540},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-seal","id":535,"timestamp":1371325474582,"duration":34008,"tags":{},"startTime":1664294369508},{"traceId":"06b5767d478984a7","parentId":516,"name":"webpack-compilation","id":518,"timestamp":1371325405553,"duration":103068,"tags":{"name":"client"},"startTime":1664294369439},{"traceId":"06b5767d478984a7","parentId":516,"name":"emit","id":544,"timestamp":1371325508636,"duration":97422,"tags":{},"startTime":1664294369542},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":516,"timestamp":1371325395768,"duration":211147,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369429},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":550,"timestamp":1371325618717,"duration":0,"tags":{},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":551,"timestamp":1371325618881,"duration":0,"tags":{},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":548,"timestamp":1371325618107,"duration":5256,"tags":{"request":"private-next-pages/_error"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":549,"timestamp":1371325618112,"duration":5264,"tags":{"request":"private-next-pages/_document"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":553,"name":"next-swc-transform","id":554,"timestamp":1371325623889,"duration":853,"tags":{},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":552,"name":"next-swc-loader","id":553,"timestamp":1371325623779,"duration":969,"tags":{},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":545,"name":"build-module-tsx","id":552,"timestamp":1371325623606,"duration":3235,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":547,"timestamp":1371325618046,"duration":12490,"tags":{"request":"private-next-pages/_app"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":517,"name":"make","id":546,"timestamp":1371325609196,"duration":21367,"tags":{},"startTime":1664294369643},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-chunk-graph","id":556,"timestamp":1371325630867,"duration":250,"tags":{},"startTime":1664294369664},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-modules","id":558,"timestamp":1371325631126,"duration":2,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-chunks","id":559,"timestamp":1371325631136,"duration":19,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-tree","id":560,"timestamp":1371325631163,"duration":2,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize","id":557,"timestamp":1371325631123,"duration":103,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-hash","id":561,"timestamp":1371325632380,"duration":569,"tags":{},"startTime":1664294369666},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-seal","id":555,"timestamp":1371325630798,"duration":5244,"tags":{},"startTime":1664294369664},{"traceId":"06b5767d478984a7","parentId":517,"name":"webpack-compilation","id":545,"timestamp":1371325608981,"duration":27085,"tags":{"name":"server"},"startTime":1664294369643},{"traceId":"06b5767d478984a7","parentId":517,"name":"emit","id":562,"timestamp":1371325636077,"duration":2582,"tags":{},"startTime":1664294369670},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":517,"timestamp":1371325396011,"duration":243020,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369430}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":563,"timestamp":1664294369430000,"duration":243999,"tags":{"clientId":1664294218658},"startTime":1664294369674},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":564,"timestamp":1664294369431000,"duration":248999,"tags":{"clientId":1664294339605},"startTime":1664294369683},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":569,"timestamp":1371333519344,"duration":4433,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":576,"name":"read-resource","id":577,"timestamp":1371333525091,"duration":33,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":578,"name":"postcss-process","id":579,"timestamp":1371333525172,"duration":29390,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":576,"name":"postcss-loader","id":578,"timestamp":1371333525152,"duration":29566,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":576,"name":"css-loader","id":580,"timestamp":1371333554780,"duration":8864,"tags":{"astUsed":"true"},"startTime":1664294377588},{"traceId":"06b5767d478984a7","parentId":567,"name":"build-module-css","id":576,"timestamp":1371333524852,"duration":40277,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294377558},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":574,"timestamp":1371333519436,"duration":46247,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":570,"timestamp":1371333519415,"duration":47025,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":573,"timestamp":1371333519431,"duration":48727,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":575,"timestamp":1371333519439,"duration":49088,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":571,"timestamp":1371333519422,"duration":49109,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":582,"name":"next-swc-transform","id":583,"timestamp":1371333568637,"duration":1804,"tags":{},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":581,"name":"next-swc-loader","id":582,"timestamp":1371333568535,"duration":1910,"tags":{},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":567,"name":"build-module-tsx","id":581,"timestamp":1371333568370,"duration":3938,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":572,"timestamp":1371333519426,"duration":73901,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":565,"name":"make","id":568,"timestamp":1371333518214,"duration":75142,"tags":{},"startTime":1664294377552},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-chunk-graph","id":585,"timestamp":1371333597206,"duration":16426,"tags":{},"startTime":1664294377631},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-modules","id":587,"timestamp":1371333613661,"duration":3,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-chunks","id":588,"timestamp":1371333613675,"duration":42,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-tree","id":589,"timestamp":1371333613738,"duration":4,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize","id":586,"timestamp":1371333613653,"duration":3624,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-hash","id":590,"timestamp":1371333626717,"duration":3826,"tags":{},"startTime":1664294377660},{"traceId":"06b5767d478984a7","parentId":567,"name":"NextJsBuildManifest-generateClientManifest","id":592,"timestamp":1371333641882,"duration":74,"tags":{},"startTime":1664294377675},{"traceId":"06b5767d478984a7","parentId":567,"name":"NextJsBuildManifest-createassets","id":591,"timestamp":1371333641804,"duration":164,"tags":{},"startTime":1664294377675},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-seal","id":584,"timestamp":1371333594488,"duration":49823,"tags":{},"startTime":1664294377628},{"traceId":"06b5767d478984a7","parentId":565,"name":"webpack-compilation","id":567,"timestamp":1371333517914,"duration":126457,"tags":{"name":"client"},"startTime":1664294377551},{"traceId":"06b5767d478984a7","parentId":565,"name":"emit","id":593,"timestamp":1371333644408,"duration":92476,"tags":{},"startTime":1664294377678},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":565,"timestamp":1371333502534,"duration":235580,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377536},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":599,"timestamp":1371333765520,"duration":0,"tags":{},"startTime":1664294377799},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":600,"timestamp":1371333765810,"duration":0,"tags":{},"startTime":1664294377799},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":597,"timestamp":1371333752497,"duration":19298,"tags":{"request":"private-next-pages/_error"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":598,"timestamp":1371333752502,"duration":19310,"tags":{"request":"private-next-pages/_document"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":602,"name":"next-swc-transform","id":603,"timestamp":1371333772368,"duration":1202,"tags":{},"startTime":1664294377806},{"traceId":"06b5767d478984a7","parentId":601,"name":"next-swc-loader","id":602,"timestamp":1371333772236,"duration":1346,"tags":{},"startTime":1664294377806},{"traceId":"06b5767d478984a7","parentId":594,"name":"build-module-tsx","id":601,"timestamp":1371333772024,"duration":3604,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377805},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":596,"timestamp":1371333752448,"duration":25677,"tags":{"request":"private-next-pages/_app"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":566,"name":"make","id":595,"timestamp":1371333740602,"duration":37548,"tags":{},"startTime":1664294377774},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-chunk-graph","id":605,"timestamp":1371333778549,"duration":265,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-modules","id":607,"timestamp":1371333778824,"duration":2,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-chunks","id":608,"timestamp":1371333778833,"duration":17,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-tree","id":609,"timestamp":1371333778858,"duration":2,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize","id":606,"timestamp":1371333778820,"duration":94,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-hash","id":610,"timestamp":1371333779975,"duration":415,"tags":{},"startTime":1664294377813},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-seal","id":604,"timestamp":1371333778483,"duration":3442,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":566,"name":"webpack-compilation","id":594,"timestamp":1371333740315,"duration":41640,"tags":{"name":"server"},"startTime":1664294377774},{"traceId":"06b5767d478984a7","parentId":566,"name":"emit","id":611,"timestamp":1371333782045,"duration":2762,"tags":{},"startTime":1664294377815},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":566,"timestamp":1371333503198,"duration":282005,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377537}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":612,"timestamp":1664294377536999,"duration":280999,"tags":{"clientId":1664294218658},"startTime":1664294377820},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":613,"timestamp":1664294377537999,"duration":284000,"tags":{"clientId":1664294339605},"startTime":1664294377822},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":618,"timestamp":1371342571245,"duration":4397,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":625,"name":"read-resource","id":626,"timestamp":1371342576519,"duration":23,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":627,"name":"postcss-process","id":628,"timestamp":1371342576585,"duration":29025,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":625,"name":"postcss-loader","id":627,"timestamp":1371342576565,"duration":29590,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":625,"name":"css-loader","id":629,"timestamp":1371342606185,"duration":8907,"tags":{"astUsed":"true"},"startTime":1664294386639},{"traceId":"06b5767d478984a7","parentId":616,"name":"build-module-css","id":625,"timestamp":1371342576350,"duration":45575,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":623,"timestamp":1371342571335,"duration":51978,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":619,"timestamp":1371342571321,"duration":52842,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":622,"timestamp":1371342571331,"duration":54590,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":624,"timestamp":1371342571337,"duration":54954,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":620,"timestamp":1371342571326,"duration":54971,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":631,"name":"next-swc-transform","id":632,"timestamp":1371342626407,"duration":2172,"tags":{},"startTime":1664294386660},{"traceId":"06b5767d478984a7","parentId":630,"name":"next-swc-loader","id":631,"timestamp":1371342626302,"duration":2287,"tags":{},"startTime":1664294386660},{"traceId":"06b5767d478984a7","parentId":616,"name":"build-module-tsx","id":630,"timestamp":1371342626144,"duration":5218,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386659},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":621,"timestamp":1371342571328,"duration":82966,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":614,"name":"make","id":617,"timestamp":1371342570260,"duration":84063,"tags":{},"startTime":1664294386604},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-chunk-graph","id":634,"timestamp":1371342659998,"duration":15489,"tags":{},"startTime":1664294386693},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-modules","id":636,"timestamp":1371342675510,"duration":3,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-chunks","id":637,"timestamp":1371342675522,"duration":37,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-tree","id":638,"timestamp":1371342675576,"duration":5,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize","id":635,"timestamp":1371342675504,"duration":1221,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-hash","id":639,"timestamp":1371342687805,"duration":5353,"tags":{},"startTime":1664294386721},{"traceId":"06b5767d478984a7","parentId":616,"name":"NextJsBuildManifest-generateClientManifest","id":641,"timestamp":1371342705059,"duration":72,"tags":{},"startTime":1664294386738},{"traceId":"06b5767d478984a7","parentId":616,"name":"NextJsBuildManifest-createassets","id":640,"timestamp":1371342704983,"duration":266,"tags":{},"startTime":1664294386738},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-seal","id":633,"timestamp":1371342655505,"duration":51245,"tags":{},"startTime":1664294386689},{"traceId":"06b5767d478984a7","parentId":614,"name":"webpack-compilation","id":616,"timestamp":1371342570006,"duration":136776,"tags":{"name":"client"},"startTime":1664294386603},{"traceId":"06b5767d478984a7","parentId":614,"name":"emit","id":642,"timestamp":1371342706798,"duration":96334,"tags":{},"startTime":1664294386740},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":614,"timestamp":1371342555382,"duration":248696,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386589},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":648,"timestamp":1371342821705,"duration":0,"tags":{},"startTime":1664294386855},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":649,"timestamp":1371342821775,"duration":0,"tags":{},"startTime":1664294386855},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":646,"timestamp":1371342821016,"duration":4986,"tags":{"request":"private-next-pages/_error"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":647,"timestamp":1371342821020,"duration":4991,"tags":{"request":"private-next-pages/_document"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":651,"name":"next-swc-transform","id":652,"timestamp":1371342826391,"duration":967,"tags":{},"startTime":1664294386860},{"traceId":"06b5767d478984a7","parentId":650,"name":"next-swc-loader","id":651,"timestamp":1371342826292,"duration":1083,"tags":{},"startTime":1664294386860},{"traceId":"06b5767d478984a7","parentId":643,"name":"build-module-tsx","id":650,"timestamp":1371342826152,"duration":4055,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386859},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":645,"timestamp":1371342820933,"duration":11199,"tags":{"request":"private-next-pages/_app"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":615,"name":"make","id":644,"timestamp":1371342806473,"duration":25679,"tags":{},"startTime":1664294386840},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-chunk-graph","id":654,"timestamp":1371342832448,"duration":239,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-modules","id":656,"timestamp":1371342832696,"duration":15,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-chunks","id":657,"timestamp":1371342832720,"duration":16,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-tree","id":658,"timestamp":1371342832743,"duration":5,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize","id":655,"timestamp":1371342832693,"duration":108,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-hash","id":659,"timestamp":1371342834284,"duration":612,"tags":{},"startTime":1664294386868},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-seal","id":653,"timestamp":1371342832385,"duration":3607,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":615,"name":"webpack-compilation","id":643,"timestamp":1371342806288,"duration":29732,"tags":{"name":"server"},"startTime":1664294386840},{"traceId":"06b5767d478984a7","parentId":615,"name":"emit","id":660,"timestamp":1371342836036,"duration":3775,"tags":{},"startTime":1664294386869},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":615,"timestamp":1371342555816,"duration":284667,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386589}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":661,"timestamp":1664294386590000,"duration":288000,"tags":{"clientId":1664294218658},"startTime":1664294386878},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":662,"timestamp":1664294386591000,"duration":292000,"tags":{"clientId":1664294339605},"startTime":1664294386885},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":667,"timestamp":1371350112702,"duration":4256,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":674,"name":"read-resource","id":675,"timestamp":1371350118079,"duration":34,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":676,"name":"postcss-process","id":677,"timestamp":1371350118177,"duration":29323,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":674,"name":"postcss-loader","id":676,"timestamp":1371350118143,"duration":29837,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":674,"name":"css-loader","id":678,"timestamp":1371350148025,"duration":11002,"tags":{"astUsed":"true"},"startTime":1664294394181},{"traceId":"06b5767d478984a7","parentId":665,"name":"build-module-css","id":674,"timestamp":1371350117918,"duration":47150,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":672,"timestamp":1371350112782,"duration":52792,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":668,"timestamp":1371350112764,"duration":53575,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":671,"timestamp":1371350112778,"duration":55263,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":673,"timestamp":1371350112786,"duration":55648,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":669,"timestamp":1371350112769,"duration":55668,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":680,"name":"next-swc-transform","id":681,"timestamp":1371350168500,"duration":1993,"tags":{},"startTime":1664294394202},{"traceId":"06b5767d478984a7","parentId":679,"name":"next-swc-loader","id":680,"timestamp":1371350168442,"duration":2054,"tags":{},"startTime":1664294394202},{"traceId":"06b5767d478984a7","parentId":665,"name":"build-module-tsx","id":679,"timestamp":1371350168272,"duration":4941,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394201},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":670,"timestamp":1371350112774,"duration":81547,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":663,"name":"make","id":666,"timestamp":1371350108760,"duration":85587,"tags":{},"startTime":1664294394142},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-chunk-graph","id":683,"timestamp":1371350198047,"duration":17944,"tags":{},"startTime":1664294394231},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-modules","id":685,"timestamp":1371350216017,"duration":2,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-chunks","id":686,"timestamp":1371350216029,"duration":40,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-tree","id":687,"timestamp":1371350216087,"duration":5,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize","id":684,"timestamp":1371350216009,"duration":1319,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-hash","id":688,"timestamp":1371350226854,"duration":6157,"tags":{},"startTime":1664294394260},{"traceId":"06b5767d478984a7","parentId":665,"name":"NextJsBuildManifest-generateClientManifest","id":690,"timestamp":1371350242850,"duration":58,"tags":{},"startTime":1664294394276},{"traceId":"06b5767d478984a7","parentId":665,"name":"NextJsBuildManifest-createassets","id":689,"timestamp":1371350242764,"duration":154,"tags":{},"startTime":1664294394276},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-seal","id":682,"timestamp":1371350195389,"duration":48977,"tags":{},"startTime":1664294394229},{"traceId":"06b5767d478984a7","parentId":663,"name":"webpack-compilation","id":665,"timestamp":1371350108403,"duration":135996,"tags":{"name":"client"},"startTime":1664294394142},{"traceId":"06b5767d478984a7","parentId":663,"name":"emit","id":691,"timestamp":1371350244415,"duration":94346,"tags":{},"startTime":1664294394278},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":663,"timestamp":1371350092127,"duration":247715,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394125},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":697,"timestamp":1371350353903,"duration":0,"tags":{},"startTime":1664294394387},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":698,"timestamp":1371350353982,"duration":0,"tags":{},"startTime":1664294394387},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":695,"timestamp":1371350353034,"duration":4659,"tags":{"request":"private-next-pages/_error"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":696,"timestamp":1371350353042,"duration":4661,"tags":{"request":"private-next-pages/_document"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":702,"timestamp":1664294394127000,"duration":268999,"tags":{"clientId":1664294218658},"startTime":1664294394396},{"traceId":"06b5767d478984a7","parentId":700,"name":"next-swc-transform","id":701,"timestamp":1371350358206,"duration":10851,"tags":{},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":699,"name":"next-swc-loader","id":700,"timestamp":1371350357959,"duration":11110,"tags":{},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":692,"name":"build-module-tsx","id":699,"timestamp":1371350357837,"duration":13436,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":703,"timestamp":1664294394128000,"duration":273999,"tags":{"clientId":1664294339605},"startTime":1664294394405},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":694,"timestamp":1371350352912,"duration":19778,"tags":{"request":"private-next-pages/_app"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":664,"name":"make","id":693,"timestamp":1371350342411,"duration":30298,"tags":{},"startTime":1664294394376},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-chunk-graph","id":705,"timestamp":1371350373194,"duration":339,"tags":{},"startTime":1664294394406},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-modules","id":707,"timestamp":1371350373550,"duration":3,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-chunks","id":708,"timestamp":1371350373563,"duration":29,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-tree","id":709,"timestamp":1371350373611,"duration":9,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize","id":706,"timestamp":1371350373546,"duration":153,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-hash","id":710,"timestamp":1371350375745,"duration":722,"tags":{},"startTime":1664294394409},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-seal","id":704,"timestamp":1371350373116,"duration":4550,"tags":{},"startTime":1664294394406},{"traceId":"06b5767d478984a7","parentId":664,"name":"webpack-compilation","id":692,"timestamp":1371350342219,"duration":35478,"tags":{"name":"server"},"startTime":1664294394375},{"traceId":"06b5767d478984a7","parentId":664,"name":"emit","id":711,"timestamp":1371350377713,"duration":1898,"tags":{},"startTime":1664294394411},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":664,"timestamp":1371350092790,"duration":287434,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394126}] +[{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":716,"timestamp":1371354321381,"duration":3236,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294398354},{"traceId":"06b5767d478984a7","parentId":723,"name":"read-resource","id":724,"timestamp":1371354325474,"duration":160,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":725,"name":"postcss-process","id":726,"timestamp":1371354325693,"duration":24955,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":723,"name":"postcss-loader","id":725,"timestamp":1371354325665,"duration":25123,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":723,"name":"css-loader","id":727,"timestamp":1371354350811,"duration":9038,"tags":{"astUsed":"true"},"startTime":1664294398384},{"traceId":"06b5767d478984a7","parentId":714,"name":"build-module-css","id":723,"timestamp":1371354325347,"duration":35572,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294398358},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":721,"timestamp":1371354321437,"duration":39910,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":717,"timestamp":1371354321422,"duration":40596,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294398354},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":720,"timestamp":1371354321433,"duration":42495,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":722,"timestamp":1371354321440,"duration":42861,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":718,"timestamp":1371354321427,"duration":42878,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":729,"name":"next-swc-transform","id":730,"timestamp":1371354364381,"duration":2279,"tags":{},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":728,"name":"next-swc-loader","id":729,"timestamp":1371354364309,"duration":2360,"tags":{},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":714,"name":"build-module-tsx","id":728,"timestamp":1371354364160,"duration":4692,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":719,"timestamp":1371354321430,"duration":68477,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":712,"name":"make","id":715,"timestamp":1371354317809,"duration":72136,"tags":{},"startTime":1664294398351},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-chunk-graph","id":732,"timestamp":1371354393560,"duration":17916,"tags":{},"startTime":1664294398427},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-modules","id":734,"timestamp":1371354411507,"duration":3,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-chunks","id":735,"timestamp":1371354411520,"duration":34,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-tree","id":736,"timestamp":1371354411575,"duration":6,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize","id":733,"timestamp":1371354411498,"duration":1292,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-hash","id":737,"timestamp":1371354421441,"duration":4786,"tags":{},"startTime":1664294398455},{"traceId":"06b5767d478984a7","parentId":714,"name":"NextJsBuildManifest-generateClientManifest","id":739,"timestamp":1371354436917,"duration":161,"tags":{},"startTime":1664294398470},{"traceId":"06b5767d478984a7","parentId":714,"name":"NextJsBuildManifest-createassets","id":738,"timestamp":1371354436844,"duration":246,"tags":{},"startTime":1664294398470},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-seal","id":731,"timestamp":1371354390877,"duration":47692,"tags":{},"startTime":1664294398424},{"traceId":"06b5767d478984a7","parentId":712,"name":"webpack-compilation","id":714,"timestamp":1371354317317,"duration":121278,"tags":{"name":"client"},"startTime":1664294398350},{"traceId":"06b5767d478984a7","parentId":712,"name":"emit","id":740,"timestamp":1371354438619,"duration":76564,"tags":{},"startTime":1664294398472},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":712,"timestamp":1371354303203,"duration":212548,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398336},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":746,"timestamp":1371354536889,"duration":0,"tags":{},"startTime":1664294398570},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":747,"timestamp":1371354536984,"duration":0,"tags":{},"startTime":1664294398570},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":744,"timestamp":1371354527395,"duration":13196,"tags":{"request":"private-next-pages/_error"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":745,"timestamp":1371354527399,"duration":13204,"tags":{"request":"private-next-pages/_document"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":749,"name":"next-swc-transform","id":750,"timestamp":1371354540993,"duration":7802,"tags":{},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":748,"name":"next-swc-loader","id":749,"timestamp":1371354540875,"duration":7934,"tags":{},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":741,"name":"build-module-tsx","id":748,"timestamp":1371354540757,"duration":9849,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":743,"timestamp":1371354527346,"duration":25284,"tags":{"request":"private-next-pages/_app"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":713,"name":"make","id":742,"timestamp":1371354517368,"duration":35277,"tags":{},"startTime":1664294398550},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-chunk-graph","id":752,"timestamp":1371354552938,"duration":255,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-modules","id":754,"timestamp":1371354553204,"duration":2,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-chunks","id":755,"timestamp":1371354553214,"duration":22,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-tree","id":756,"timestamp":1371354553243,"duration":4,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize","id":753,"timestamp":1371354553200,"duration":101,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-hash","id":757,"timestamp":1371354554351,"duration":442,"tags":{},"startTime":1664294398587},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-seal","id":751,"timestamp":1371354552873,"duration":5253,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":713,"name":"webpack-compilation","id":741,"timestamp":1371354516992,"duration":41154,"tags":{"name":"server"},"startTime":1664294398550},{"traceId":"06b5767d478984a7","parentId":713,"name":"emit","id":758,"timestamp":1371354558162,"duration":1785,"tags":{},"startTime":1664294398591},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":713,"timestamp":1371354303674,"duration":256576,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398337}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":759,"timestamp":1664294398336999,"duration":258000,"tags":{"clientId":1664294218658},"startTime":1664294398596},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":760,"timestamp":1664294398336999,"duration":261000,"tags":{"clientId":1664294339605},"startTime":1664294398599},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":765,"timestamp":1371359204697,"duration":4585,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":772,"name":"read-resource","id":773,"timestamp":1371359210321,"duration":29,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":774,"name":"postcss-process","id":775,"timestamp":1371359210390,"duration":27167,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":772,"name":"postcss-loader","id":774,"timestamp":1371359210374,"duration":27387,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":772,"name":"css-loader","id":776,"timestamp":1371359237795,"duration":8396,"tags":{"astUsed":"true"},"startTime":1664294403271},{"traceId":"06b5767d478984a7","parentId":763,"name":"build-module-css","id":772,"timestamp":1371359210073,"duration":37441,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":770,"timestamp":1371359204791,"duration":43145,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":766,"timestamp":1371359204771,"duration":43847,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":769,"timestamp":1371359204786,"duration":45524,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":771,"timestamp":1371359204794,"duration":45851,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":767,"timestamp":1371359204778,"duration":45869,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":778,"name":"next-swc-transform","id":779,"timestamp":1371359250727,"duration":2022,"tags":{},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":777,"name":"next-swc-loader","id":778,"timestamp":1371359250651,"duration":2104,"tags":{},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":763,"name":"build-module-tsx","id":777,"timestamp":1371359250514,"duration":4199,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":768,"timestamp":1371359204782,"duration":74516,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":761,"name":"make","id":764,"timestamp":1371359203508,"duration":75815,"tags":{},"startTime":1664294403236},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-chunk-graph","id":781,"timestamp":1371359283462,"duration":16438,"tags":{},"startTime":1664294403316},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-modules","id":783,"timestamp":1371359299924,"duration":3,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-chunks","id":784,"timestamp":1371359299936,"duration":42,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-tree","id":785,"timestamp":1371359299995,"duration":9,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize","id":782,"timestamp":1371359299917,"duration":1528,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-hash","id":786,"timestamp":1371359311410,"duration":3653,"tags":{},"startTime":1664294403344},{"traceId":"06b5767d478984a7","parentId":763,"name":"NextJsBuildManifest-generateClientManifest","id":788,"timestamp":1371359326022,"duration":87,"tags":{},"startTime":1664294403359},{"traceId":"06b5767d478984a7","parentId":763,"name":"NextJsBuildManifest-createassets","id":787,"timestamp":1371359325946,"duration":188,"tags":{},"startTime":1664294403359},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-seal","id":780,"timestamp":1371359280459,"duration":47442,"tags":{},"startTime":1664294403313},{"traceId":"06b5767d478984a7","parentId":761,"name":"webpack-compilation","id":763,"timestamp":1371359203205,"duration":124737,"tags":{"name":"client"},"startTime":1664294403236},{"traceId":"06b5767d478984a7","parentId":761,"name":"emit","id":789,"timestamp":1371359327964,"duration":82012,"tags":{},"startTime":1664294403361},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":761,"timestamp":1371359187218,"duration":223424,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403220},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":795,"timestamp":1371359423811,"duration":0,"tags":{},"startTime":1664294403457},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":796,"timestamp":1371359423879,"duration":0,"tags":{},"startTime":1664294403457},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":793,"timestamp":1371359423111,"duration":4637,"tags":{"request":"private-next-pages/_error"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":794,"timestamp":1371359423115,"duration":4659,"tags":{"request":"private-next-pages/_document"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":798,"name":"next-swc-transform","id":799,"timestamp":1371359428386,"duration":1456,"tags":{},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":797,"name":"next-swc-loader","id":798,"timestamp":1371359428271,"duration":1582,"tags":{},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":790,"name":"build-module-tsx","id":797,"timestamp":1371359427899,"duration":2961,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":792,"timestamp":1371359423065,"duration":9547,"tags":{"request":"private-next-pages/_app"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":762,"name":"make","id":791,"timestamp":1371359413149,"duration":19477,"tags":{},"startTime":1664294403446},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-chunk-graph","id":801,"timestamp":1371359432858,"duration":183,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-modules","id":803,"timestamp":1371359433050,"duration":2,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-chunks","id":804,"timestamp":1371359433059,"duration":13,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-tree","id":805,"timestamp":1371359433080,"duration":2,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize","id":802,"timestamp":1371359433047,"duration":88,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-hash","id":806,"timestamp":1371359434171,"duration":474,"tags":{},"startTime":1664294403467},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-seal","id":800,"timestamp":1371359432802,"duration":2971,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":762,"name":"webpack-compilation","id":790,"timestamp":1371359412949,"duration":22866,"tags":{"name":"server"},"startTime":1664294403446},{"traceId":"06b5767d478984a7","parentId":762,"name":"emit","id":807,"timestamp":1371359435836,"duration":5391,"tags":{},"startTime":1664294403469},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":762,"timestamp":1371359187733,"duration":254063,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403221}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":808,"timestamp":1664294403222000,"duration":249999,"tags":{"clientId":1664294339605},"startTime":1664294403476},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":809,"timestamp":1664294403220999,"duration":251000,"tags":{"clientId":1664294218658},"startTime":1664294403476},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":815,"timestamp":1371375590370,"duration":10154,"tags":{"request":"private-next-pages/_error"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":816,"timestamp":1371375590376,"duration":10173,"tags":{"request":"private-next-pages/_document"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":818,"name":"next-swc-transform","id":819,"timestamp":1371375602148,"duration":5513,"tags":{},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":817,"name":"next-swc-loader","id":818,"timestamp":1371375602042,"duration":5637,"tags":{},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":812,"name":"build-module-tsx","id":817,"timestamp":1371375601822,"duration":9378,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":814,"timestamp":1371375590298,"duration":23616,"tags":{"request":"private-next-pages/_app"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":810,"name":"make","id":813,"timestamp":1371375590173,"duration":23766,"tags":{},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-chunk-graph","id":821,"timestamp":1371375614281,"duration":272,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-modules","id":823,"timestamp":1371375614563,"duration":3,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-chunks","id":824,"timestamp":1371375614575,"duration":20,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-tree","id":825,"timestamp":1371375614603,"duration":5,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize","id":822,"timestamp":1371375614559,"duration":110,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-hash","id":826,"timestamp":1371375616620,"duration":579,"tags":{},"startTime":1664294419649},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-seal","id":820,"timestamp":1371375614201,"duration":4852,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":810,"name":"webpack-compilation","id":812,"timestamp":1371375589935,"duration":29146,"tags":{"name":"server"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":810,"name":"emit","id":827,"timestamp":1371375619096,"duration":2256,"tags":{},"startTime":1664294419652},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":810,"timestamp":1371375583129,"duration":38533,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419616},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":830,"timestamp":1371375627416,"duration":4876,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":837,"name":"read-resource","id":838,"timestamp":1371375633936,"duration":28,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":839,"name":"postcss-process","id":840,"timestamp":1371375634001,"duration":27314,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":837,"name":"postcss-loader","id":839,"timestamp":1371375633990,"duration":27860,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":837,"name":"css-loader","id":841,"timestamp":1371375661886,"duration":10068,"tags":{"astUsed":"true"},"startTime":1664294419695},{"traceId":"06b5767d478984a7","parentId":828,"name":"build-module-css","id":837,"timestamp":1371375633788,"duration":43799,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294419666},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":835,"timestamp":1371375627468,"duration":50649,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":831,"timestamp":1371375627456,"duration":51445,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":834,"timestamp":1371375627465,"duration":53578,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":836,"timestamp":1371375627470,"duration":55045,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":832,"timestamp":1371375627460,"duration":55061,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":843,"name":"next-swc-transform","id":844,"timestamp":1371375682571,"duration":1004,"tags":{},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":842,"name":"next-swc-loader","id":843,"timestamp":1371375682527,"duration":1054,"tags":{},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":828,"name":"build-module-tsx","id":842,"timestamp":1371375682311,"duration":4115,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":833,"timestamp":1371375627462,"duration":88782,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":811,"name":"make","id":829,"timestamp":1371375626113,"duration":90159,"tags":{},"startTime":1664294419659},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-chunk-graph","id":846,"timestamp":1371375722806,"duration":17407,"tags":{},"startTime":1664294419756},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-modules","id":848,"timestamp":1371375740240,"duration":2,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-chunks","id":849,"timestamp":1371375740252,"duration":33,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-tree","id":850,"timestamp":1371375740302,"duration":3,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize","id":847,"timestamp":1371375740232,"duration":1395,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-hash","id":851,"timestamp":1371375755154,"duration":5686,"tags":{},"startTime":1664294419788},{"traceId":"06b5767d478984a7","parentId":828,"name":"NextJsBuildManifest-generateClientManifest","id":853,"timestamp":1371375771109,"duration":67,"tags":{},"startTime":1664294419804},{"traceId":"06b5767d478984a7","parentId":828,"name":"NextJsBuildManifest-createassets","id":852,"timestamp":1371375771032,"duration":249,"tags":{},"startTime":1664294419804},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-seal","id":845,"timestamp":1371375717378,"duration":55745,"tags":{},"startTime":1664294419750},{"traceId":"06b5767d478984a7","parentId":811,"name":"webpack-compilation","id":828,"timestamp":1371375625269,"duration":147889,"tags":{"name":"client"},"startTime":1664294419658},{"traceId":"06b5767d478984a7","parentId":811,"name":"emit","id":854,"timestamp":1371375773187,"duration":99243,"tags":{},"startTime":1664294419806},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":811,"timestamp":1371375583345,"duration":290323,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419616}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":855,"timestamp":1371375888724,"duration":0,"tags":{},"startTime":1664294419921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":856,"timestamp":1371375888806,"duration":0,"tags":{},"startTime":1664294419922},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":857,"timestamp":1664294419616999,"duration":317000,"tags":{"clientId":1664294218658},"startTime":1664294419934},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":858,"timestamp":1664294419616999,"duration":335000,"tags":{"clientId":1664294339605},"startTime":1664294419953},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":863,"timestamp":1371414484811,"duration":8550,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":868,"timestamp":1371414484989,"duration":10391,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":864,"timestamp":1371414484949,"duration":12076,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":867,"timestamp":1371414484980,"duration":20707,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":869,"timestamp":1371414484996,"duration":23716,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":865,"timestamp":1371414484963,"duration":37272,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":866,"timestamp":1371414484971,"duration":72988,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":859,"name":"make","id":862,"timestamp":1371414483502,"duration":74519,"tags":{},"startTime":1664294458516},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-chunk-graph","id":871,"timestamp":1371414563061,"duration":17248,"tags":{},"startTime":1664294458595},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-modules","id":873,"timestamp":1371414580339,"duration":3,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-chunks","id":874,"timestamp":1371414580351,"duration":45,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-tree","id":875,"timestamp":1371414580413,"duration":3,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize","id":872,"timestamp":1371414580331,"duration":1345,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-hash","id":876,"timestamp":1371414591769,"duration":4418,"tags":{},"startTime":1664294458624},{"traceId":"06b5767d478984a7","parentId":861,"name":"NextJsBuildManifest-generateClientManifest","id":878,"timestamp":1371414596947,"duration":62,"tags":{},"startTime":1664294458629},{"traceId":"06b5767d478984a7","parentId":861,"name":"NextJsBuildManifest-createassets","id":877,"timestamp":1371414596894,"duration":121,"tags":{},"startTime":1664294458629},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-seal","id":870,"timestamp":1371414559165,"duration":38633,"tags":{},"startTime":1664294458591},{"traceId":"06b5767d478984a7","parentId":859,"name":"webpack-compilation","id":861,"timestamp":1371414482982,"duration":114837,"tags":{"name":"client"},"startTime":1664294458515},{"traceId":"06b5767d478984a7","parentId":859,"name":"emit","id":879,"timestamp":1371414597831,"duration":1876,"tags":{},"startTime":1664294458630},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":859,"timestamp":1371414465269,"duration":134906,"tags":{"trigger":"manual"},"startTime":1664294458497},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":882,"timestamp":1371414610713,"duration":0,"tags":{},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":883,"timestamp":1371414610780,"duration":0,"tags":{},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":884,"timestamp":1371414611004,"duration":2516,"tags":{"request":"private-next-pages/_app"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":885,"timestamp":1371414611041,"duration":2579,"tags":{"request":"private-next-pages/_error"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":886,"timestamp":1371414611045,"duration":2579,"tags":{"request":"private-next-pages/_document"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":887,"timestamp":1371414611048,"duration":9848,"tags":{"request":"./pages/index.tsx"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":860,"name":"make","id":881,"timestamp":1371414601138,"duration":19784,"tags":{},"startTime":1664294458633},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-chunk-graph","id":889,"timestamp":1371414621158,"duration":190,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-modules","id":891,"timestamp":1371414621368,"duration":2,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-chunks","id":892,"timestamp":1371414621378,"duration":15,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-tree","id":893,"timestamp":1371414621400,"duration":2,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize","id":890,"timestamp":1371414621365,"duration":91,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-hash","id":894,"timestamp":1371414622156,"duration":602,"tags":{},"startTime":1664294458654},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-seal","id":888,"timestamp":1371414621100,"duration":2452,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":860,"name":"webpack-compilation","id":880,"timestamp":1371414600921,"duration":22648,"tags":{"name":"server"},"startTime":1664294458633},{"traceId":"06b5767d478984a7","parentId":860,"name":"emit","id":895,"timestamp":1371414623582,"duration":2095,"tags":{},"startTime":1664294458656},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":860,"timestamp":1371414465795,"duration":160320,"tags":{"trigger":"manual"},"startTime":1664294458498}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":896,"timestamp":1371414888577,"duration":0,"tags":{},"startTime":1664294458921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":897,"timestamp":1371414888646,"duration":0,"tags":{},"startTime":1664294458921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":898,"timestamp":1371448681305,"duration":1,"tags":{},"startTime":1664294492713},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":899,"timestamp":1371448682759,"duration":0,"tags":{},"startTime":1664294492714},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":904,"timestamp":1371546401219,"duration":4520,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":909,"timestamp":1371546401343,"duration":5755,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":911,"name":"read-resource","id":912,"timestamp":1371546406858,"duration":3520,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":916,"name":"postcss-process","id":917,"timestamp":1371546410441,"duration":31277,"tags":{},"startTime":1664294590440},{"traceId":"06b5767d478984a7","parentId":911,"name":"postcss-loader","id":916,"timestamp":1371546410416,"duration":31690,"tags":{},"startTime":1664294590440},{"traceId":"06b5767d478984a7","parentId":911,"name":"css-loader","id":918,"timestamp":1371546442142,"duration":14331,"tags":{"astUsed":"true"},"startTime":1664294590472},{"traceId":"06b5767d478984a7","parentId":902,"name":"build-module-css","id":911,"timestamp":1371546406630,"duration":51710,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294590436},{"traceId":"06b5767d478984a7","parentId":914,"name":"next-swc-transform","id":915,"timestamp":1371546407294,"duration":51767,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":913,"name":"next-swc-loader","id":914,"timestamp":1371546407223,"duration":51844,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":902,"name":"build-module-tsx","id":913,"timestamp":1371546407138,"duration":57404,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":905,"timestamp":1371546401331,"duration":66544,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":910,"timestamp":1371546401346,"duration":67810,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":908,"timestamp":1371546401341,"duration":67923,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":906,"timestamp":1371546401335,"duration":68036,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":907,"timestamp":1371546401338,"duration":205267,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":900,"name":"make","id":903,"timestamp":1371546400330,"duration":206319,"tags":{},"startTime":1664294590430},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-chunk-graph","id":920,"timestamp":1371546610820,"duration":5378,"tags":{},"startTime":1664294590641},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-modules","id":922,"timestamp":1371546616242,"duration":11,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-chunks","id":923,"timestamp":1371546616289,"duration":49,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-tree","id":924,"timestamp":1371546616367,"duration":14,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize","id":921,"timestamp":1371546616224,"duration":1492,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-hash","id":925,"timestamp":1371546629251,"duration":4230,"tags":{},"startTime":1664294590659},{"traceId":"06b5767d478984a7","parentId":902,"name":"NextJsBuildManifest-generateClientManifest","id":927,"timestamp":1371546644781,"duration":56,"tags":{},"startTime":1664294590675},{"traceId":"06b5767d478984a7","parentId":902,"name":"NextJsBuildManifest-createassets","id":926,"timestamp":1371546644724,"duration":122,"tags":{},"startTime":1664294590674},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-seal","id":919,"timestamp":1371546607972,"duration":38362,"tags":{},"startTime":1664294590638},{"traceId":"06b5767d478984a7","parentId":900,"name":"webpack-compilation","id":902,"timestamp":1371546400095,"duration":246269,"tags":{"name":"client"},"startTime":1664294590430},{"traceId":"06b5767d478984a7","parentId":900,"name":"emit","id":928,"timestamp":1371546646381,"duration":89083,"tags":{},"startTime":1664294590676},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":900,"timestamp":1371546389551,"duration":346619,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590419},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":934,"timestamp":1371546746372,"duration":0,"tags":{},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":935,"timestamp":1371546746432,"duration":0,"tags":{},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":932,"timestamp":1371546745922,"duration":4190,"tags":{"request":"private-next-pages/_error"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":933,"timestamp":1371546745926,"duration":4195,"tags":{"request":"private-next-pages/_document"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":937,"name":"next-swc-transform","id":938,"timestamp":1371546749756,"duration":1674,"tags":{},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":936,"name":"next-swc-loader","id":937,"timestamp":1371546749709,"duration":1731,"tags":{},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":929,"name":"build-module-tsx","id":936,"timestamp":1371546749563,"duration":6866,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":939,"timestamp":1664294590420000,"duration":372000,"tags":{"clientId":1664294218658},"startTime":1664294590793},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":931,"timestamp":1371546745878,"duration":18821,"tags":{"request":"private-next-pages/_app"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":901,"name":"make","id":930,"timestamp":1371546737134,"duration":27583,"tags":{},"startTime":1664294590767},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-chunk-graph","id":941,"timestamp":1371546765118,"duration":208,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-modules","id":943,"timestamp":1371546765335,"duration":2,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-chunks","id":944,"timestamp":1371546765374,"duration":27,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-tree","id":945,"timestamp":1371546765424,"duration":14,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize","id":942,"timestamp":1371546765332,"duration":209,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-hash","id":946,"timestamp":1371546766959,"duration":500,"tags":{},"startTime":1664294590797},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-seal","id":940,"timestamp":1371546765050,"duration":4324,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":901,"name":"webpack-compilation","id":929,"timestamp":1371546736954,"duration":32443,"tags":{"name":"server"},"startTime":1664294590767},{"traceId":"06b5767d478984a7","parentId":901,"name":"emit","id":947,"timestamp":1371546769411,"duration":5424,"tags":{},"startTime":1664294590799},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":901,"timestamp":1371546389863,"duration":385471,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590420}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":948,"timestamp":1664294590422000,"duration":401999,"tags":{"clientId":1664294458993},"startTime":1664294590825},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":953,"timestamp":1371600072504,"duration":4135,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":960,"name":"read-resource","id":961,"timestamp":1371600077608,"duration":36,"tags":{},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":962,"name":"postcss-process","id":963,"timestamp":1371600077695,"duration":27171,"tags":{},"startTime":1664294644107},{"traceId":"06b5767d478984a7","parentId":960,"name":"postcss-loader","id":962,"timestamp":1371600077675,"duration":27329,"tags":{},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":960,"name":"css-loader","id":964,"timestamp":1371600105031,"duration":19966,"tags":{"astUsed":"true"},"startTime":1664294644134},{"traceId":"06b5767d478984a7","parentId":951,"name":"build-module-css","id":960,"timestamp":1371600077330,"duration":54272,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":958,"timestamp":1371600072558,"duration":61234,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":954,"timestamp":1371600072546,"duration":65188,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":966,"name":"next-swc-transform","id":967,"timestamp":1371600138511,"duration":3614,"tags":{},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":965,"name":"next-swc-loader","id":966,"timestamp":1371600138456,"duration":3683,"tags":{},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":951,"name":"build-module-tsx","id":965,"timestamp":1371600138183,"duration":14283,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":957,"timestamp":1371600072555,"duration":84703,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":959,"timestamp":1371600072560,"duration":86167,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":955,"timestamp":1371600072549,"duration":86188,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":956,"timestamp":1371600072552,"duration":136493,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":949,"name":"make","id":952,"timestamp":1371600071439,"duration":137653,"tags":{},"startTime":1664294644100},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-chunk-graph","id":969,"timestamp":1371600213733,"duration":18385,"tags":{},"startTime":1664294644243},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-modules","id":971,"timestamp":1371600232152,"duration":4,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-chunks","id":972,"timestamp":1371600232167,"duration":55,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-tree","id":973,"timestamp":1371600232242,"duration":6,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize","id":970,"timestamp":1371600232144,"duration":1455,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-hash","id":974,"timestamp":1371600244711,"duration":7435,"tags":{},"startTime":1664294644274},{"traceId":"06b5767d478984a7","parentId":951,"name":"NextJsBuildManifest-generateClientManifest","id":976,"timestamp":1371600261113,"duration":76,"tags":{},"startTime":1664294644290},{"traceId":"06b5767d478984a7","parentId":951,"name":"NextJsBuildManifest-createassets","id":975,"timestamp":1371600261048,"duration":152,"tags":{},"startTime":1664294644290},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-seal","id":968,"timestamp":1371600210494,"duration":52516,"tags":{},"startTime":1664294644239},{"traceId":"06b5767d478984a7","parentId":949,"name":"webpack-compilation","id":951,"timestamp":1371600071161,"duration":191888,"tags":{"name":"client"},"startTime":1664294644100},{"traceId":"06b5767d478984a7","parentId":949,"name":"emit","id":977,"timestamp":1371600263067,"duration":80872,"tags":{},"startTime":1664294644292},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":949,"timestamp":1371600059796,"duration":284726,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644089},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":983,"timestamp":1371600355544,"duration":0,"tags":{},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":984,"timestamp":1371600355857,"duration":0,"tags":{},"startTime":1664294644385},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":981,"timestamp":1371600355067,"duration":4239,"tags":{"request":"private-next-pages/_error"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":982,"timestamp":1371600355071,"duration":4245,"tags":{"request":"private-next-pages/_document"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":988,"timestamp":1664294644088999,"duration":307000,"tags":{"clientId":1664294218658},"startTime":1664294644396},{"traceId":"06b5767d478984a7","parentId":986,"name":"next-swc-transform","id":987,"timestamp":1371600359130,"duration":12268,"tags":{},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":985,"name":"next-swc-loader","id":986,"timestamp":1371600359087,"duration":12316,"tags":{},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":978,"name":"build-module-tsx","id":985,"timestamp":1371600358974,"duration":15596,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":980,"timestamp":1371600355018,"duration":21170,"tags":{"request":"private-next-pages/_app"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":950,"name":"make","id":979,"timestamp":1371600345696,"duration":30510,"tags":{},"startTime":1664294644374},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-chunk-graph","id":990,"timestamp":1371600376659,"duration":229,"tags":{},"startTime":1664294644405},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-modules","id":992,"timestamp":1371600376903,"duration":2,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-chunks","id":993,"timestamp":1371600376913,"duration":16,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-tree","id":994,"timestamp":1371600376943,"duration":3,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize","id":991,"timestamp":1371600376900,"duration":104,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-hash","id":995,"timestamp":1371600378290,"duration":516,"tags":{},"startTime":1664294644407},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-seal","id":989,"timestamp":1371600376582,"duration":3425,"tags":{},"startTime":1664294644405},{"traceId":"06b5767d478984a7","parentId":950,"name":"webpack-compilation","id":978,"timestamp":1371600345428,"duration":34598,"tags":{"name":"server"},"startTime":1664294644374},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":997,"timestamp":1664294644089999,"duration":317000,"tags":{"clientId":1664294458993},"startTime":1664294644409},{"traceId":"06b5767d478984a7","parentId":950,"name":"emit","id":996,"timestamp":1371600380036,"duration":4826,"tags":{},"startTime":1664294644409},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":950,"timestamp":1371600060016,"duration":325416,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644089}] +[{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1003,"timestamp":1371657527778,"duration":6817,"tags":{"request":"private-next-pages/_error"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1004,"timestamp":1371657527781,"duration":6829,"tags":{"request":"private-next-pages/_document"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1006,"name":"next-swc-transform","id":1007,"timestamp":1371657533753,"duration":1682,"tags":{},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1005,"name":"next-swc-loader","id":1006,"timestamp":1371657533703,"duration":1743,"tags":{},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1000,"name":"build-module-tsx","id":1005,"timestamp":1371657533593,"duration":4713,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1002,"timestamp":1371657527743,"duration":12941,"tags":{"request":"private-next-pages/_app"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":998,"name":"make","id":1001,"timestamp":1371657527666,"duration":13043,"tags":{},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-chunk-graph","id":1009,"timestamp":1371657541006,"duration":196,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-modules","id":1011,"timestamp":1371657541216,"duration":3,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-chunks","id":1012,"timestamp":1371657541226,"duration":14,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-tree","id":1013,"timestamp":1371657541249,"duration":4,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize","id":1010,"timestamp":1371657541212,"duration":87,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-hash","id":1014,"timestamp":1371657542545,"duration":419,"tags":{},"startTime":1664294701635},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-seal","id":1008,"timestamp":1371657540934,"duration":3129,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":998,"name":"webpack-compilation","id":1000,"timestamp":1371657527507,"duration":16576,"tags":{"name":"server"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":998,"name":"emit","id":1015,"timestamp":1371657544094,"duration":1628,"tags":{},"startTime":1664294701637},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":998,"timestamp":1371657520761,"duration":25193,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701613},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1018,"timestamp":1371657552112,"duration":2715,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1023,"timestamp":1371657552156,"duration":5060,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1019,"timestamp":1371657552144,"duration":12308,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1025,"name":"read-resource","id":1026,"timestamp":1371657556983,"duration":8094,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1030,"name":"postcss-process","id":1031,"timestamp":1371657565123,"duration":49914,"tags":{},"startTime":1664294701658},{"traceId":"06b5767d478984a7","parentId":1025,"name":"postcss-loader","id":1030,"timestamp":1371657565106,"duration":50275,"tags":{},"startTime":1664294701658},{"traceId":"06b5767d478984a7","parentId":1025,"name":"css-loader","id":1032,"timestamp":1371657615404,"duration":15772,"tags":{"astUsed":"true"},"startTime":1664294701708},{"traceId":"06b5767d478984a7","parentId":1016,"name":"build-module-css","id":1025,"timestamp":1371657556891,"duration":75684,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1028,"name":"next-swc-transform","id":1029,"timestamp":1371657557352,"duration":75314,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1027,"name":"next-swc-loader","id":1028,"timestamp":1371657557307,"duration":75361,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1016,"name":"build-module-tsx","id":1027,"timestamp":1371657557240,"duration":79826,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1022,"timestamp":1371657552153,"duration":86071,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1024,"timestamp":1371657552159,"duration":86168,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1020,"timestamp":1371657552147,"duration":92169,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1021,"timestamp":1371657552150,"duration":117195,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":999,"name":"make","id":1017,"timestamp":1371657548944,"duration":120447,"tags":{},"startTime":1664294701642},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-chunk-graph","id":1034,"timestamp":1371657674356,"duration":16417,"tags":{},"startTime":1664294701767},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-modules","id":1036,"timestamp":1371657690798,"duration":3,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-chunks","id":1037,"timestamp":1371657690811,"duration":46,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-tree","id":1038,"timestamp":1371657690876,"duration":5,"tags":{},"startTime":1664294701784},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize","id":1035,"timestamp":1371657690791,"duration":1401,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-hash","id":1039,"timestamp":1371657704067,"duration":5290,"tags":{},"startTime":1664294701797},{"traceId":"06b5767d478984a7","parentId":1016,"name":"NextJsBuildManifest-generateClientManifest","id":1041,"timestamp":1371657716707,"duration":80,"tags":{},"startTime":1664294701809},{"traceId":"06b5767d478984a7","parentId":1016,"name":"NextJsBuildManifest-createassets","id":1040,"timestamp":1371657716631,"duration":165,"tags":{},"startTime":1664294701809},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-seal","id":1033,"timestamp":1371657670624,"duration":47602,"tags":{},"startTime":1664294701763},{"traceId":"06b5767d478984a7","parentId":999,"name":"webpack-compilation","id":1016,"timestamp":1371657548773,"duration":169482,"tags":{"name":"client"},"startTime":1664294701641},{"traceId":"06b5767d478984a7","parentId":999,"name":"emit","id":1042,"timestamp":1371657718267,"duration":80694,"tags":{},"startTime":1664294701811},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":999,"timestamp":1371657520870,"duration":278943,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701614}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1043,"timestamp":1371657809465,"duration":0,"tags":{},"startTime":1664294701902},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1044,"timestamp":1371657809667,"duration":0,"tags":{},"startTime":1664294701902},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1045,"timestamp":1664294701614000,"duration":296000,"tags":{"clientId":1664294218658},"startTime":1664294701911},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1046,"timestamp":1664294701615000,"duration":380999,"tags":{"clientId":1664294458993},"startTime":1664294701998},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1052,"timestamp":1371675670154,"duration":7226,"tags":{"request":"private-next-pages/_error"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1053,"timestamp":1371675670159,"duration":7240,"tags":{"request":"private-next-pages/_document"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1055,"name":"next-swc-transform","id":1056,"timestamp":1371675677063,"duration":1988,"tags":{},"startTime":1664294719770},{"traceId":"06b5767d478984a7","parentId":1054,"name":"next-swc-loader","id":1055,"timestamp":1371675676891,"duration":2175,"tags":{},"startTime":1664294719770},{"traceId":"06b5767d478984a7","parentId":1049,"name":"build-module-tsx","id":1054,"timestamp":1371675676666,"duration":6342,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719769},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1051,"timestamp":1371675670074,"duration":15015,"tags":{"request":"private-next-pages/_app"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1047,"name":"make","id":1050,"timestamp":1371675669924,"duration":15191,"tags":{},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-chunk-graph","id":1058,"timestamp":1371675685639,"duration":283,"tags":{},"startTime":1664294719778},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-modules","id":1060,"timestamp":1371675685951,"duration":9,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-chunks","id":1061,"timestamp":1371675685987,"duration":28,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-tree","id":1062,"timestamp":1371675686041,"duration":14,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize","id":1059,"timestamp":1371675685939,"duration":210,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-hash","id":1063,"timestamp":1371675687768,"duration":1389,"tags":{},"startTime":1664294719780},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-seal","id":1057,"timestamp":1371675685542,"duration":5293,"tags":{},"startTime":1664294719778},{"traceId":"06b5767d478984a7","parentId":1047,"name":"webpack-compilation","id":1049,"timestamp":1371675669631,"duration":21231,"tags":{"name":"server"},"startTime":1664294719762},{"traceId":"06b5767d478984a7","parentId":1047,"name":"emit","id":1064,"timestamp":1371675690876,"duration":2621,"tags":{},"startTime":1664294719784},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1047,"timestamp":1371675663529,"duration":30535,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719756},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1067,"timestamp":1371675699696,"duration":4034,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1074,"name":"read-resource","id":1075,"timestamp":1371675704694,"duration":32,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1076,"name":"postcss-process","id":1077,"timestamp":1371675704764,"duration":26212,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1074,"name":"postcss-loader","id":1076,"timestamp":1371675704749,"duration":26360,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1074,"name":"css-loader","id":1078,"timestamp":1371675731133,"duration":10254,"tags":{"astUsed":"true"},"startTime":1664294719824},{"traceId":"06b5767d478984a7","parentId":1065,"name":"build-module-css","id":1074,"timestamp":1371675704530,"duration":38356,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1072,"timestamp":1371675699747,"duration":43676,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1068,"timestamp":1371675699735,"duration":44981,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1071,"timestamp":1371675699744,"duration":47779,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1073,"timestamp":1371675699749,"duration":48076,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1069,"timestamp":1371675699739,"duration":48091,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1080,"name":"next-swc-transform","id":1081,"timestamp":1371675745408,"duration":2850,"tags":{},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1079,"name":"next-swc-loader","id":1080,"timestamp":1371675745371,"duration":2888,"tags":{},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1065,"name":"build-module-tsx","id":1079,"timestamp":1371675745253,"duration":6668,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1070,"timestamp":1371675699741,"duration":76900,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1048,"name":"make","id":1066,"timestamp":1371675698241,"duration":78430,"tags":{},"startTime":1664294719791},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-chunk-graph","id":1083,"timestamp":1371675781930,"duration":16157,"tags":{},"startTime":1664294719875},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-modules","id":1085,"timestamp":1371675798111,"duration":3,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-chunks","id":1086,"timestamp":1371675798187,"duration":48,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-tree","id":1087,"timestamp":1371675798273,"duration":12,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize","id":1084,"timestamp":1371675798104,"duration":1487,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-hash","id":1088,"timestamp":1371675810782,"duration":3408,"tags":{},"startTime":1664294719903},{"traceId":"06b5767d478984a7","parentId":1065,"name":"NextJsBuildManifest-generateClientManifest","id":1090,"timestamp":1371675821639,"duration":64,"tags":{},"startTime":1664294719914},{"traceId":"06b5767d478984a7","parentId":1065,"name":"NextJsBuildManifest-createassets","id":1089,"timestamp":1371675821583,"duration":129,"tags":{},"startTime":1664294719914},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-seal","id":1082,"timestamp":1371675777888,"duration":45366,"tags":{},"startTime":1664294719871},{"traceId":"06b5767d478984a7","parentId":1048,"name":"webpack-compilation","id":1065,"timestamp":1371675697905,"duration":125374,"tags":{"name":"client"},"startTime":1664294719791},{"traceId":"06b5767d478984a7","parentId":1048,"name":"emit","id":1091,"timestamp":1371675823304,"duration":104284,"tags":{},"startTime":1664294719916},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1048,"timestamp":1371675663873,"duration":264855,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719757}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1092,"timestamp":1371675939479,"duration":0,"tags":{},"startTime":1664294720032},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1093,"timestamp":1371675939541,"duration":0,"tags":{},"startTime":1664294720032},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1094,"timestamp":1664294719756999,"duration":286000,"tags":{"clientId":1664294218658},"startTime":1664294720044},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1095,"timestamp":1664294719758000,"duration":387999,"tags":{"clientId":1664294458993},"startTime":1664294720147},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1101,"timestamp":1371679674400,"duration":5954,"tags":{"request":"private-next-pages/_error"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1102,"timestamp":1371679674404,"duration":5964,"tags":{"request":"private-next-pages/_document"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1104,"name":"next-swc-transform","id":1105,"timestamp":1371679680082,"duration":1582,"tags":{},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1103,"name":"next-swc-loader","id":1104,"timestamp":1371679680013,"duration":1661,"tags":{},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1098,"name":"build-module-tsx","id":1103,"timestamp":1371679679812,"duration":4743,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1100,"timestamp":1371679674354,"duration":12145,"tags":{"request":"private-next-pages/_app"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1096,"name":"make","id":1099,"timestamp":1371679674198,"duration":12316,"tags":{},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-chunk-graph","id":1107,"timestamp":1371679686890,"duration":299,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-modules","id":1109,"timestamp":1371679687200,"duration":2,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-chunks","id":1110,"timestamp":1371679687213,"duration":24,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-tree","id":1111,"timestamp":1371679687246,"duration":5,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize","id":1108,"timestamp":1371679687196,"duration":117,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-hash","id":1112,"timestamp":1371679688671,"duration":493,"tags":{},"startTime":1664294723781},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-seal","id":1106,"timestamp":1371679686820,"duration":3553,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1096,"name":"webpack-compilation","id":1098,"timestamp":1371679674019,"duration":16370,"tags":{"name":"server"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1096,"name":"emit","id":1113,"timestamp":1371679690400,"duration":3724,"tags":{},"startTime":1664294723783},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1096,"timestamp":1371679667215,"duration":27149,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723760},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1116,"timestamp":1371679698559,"duration":2626,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1123,"name":"read-resource","id":1124,"timestamp":1371679701882,"duration":39,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1125,"name":"postcss-process","id":1126,"timestamp":1371679701951,"duration":26392,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1123,"name":"postcss-loader","id":1125,"timestamp":1371679701937,"duration":26543,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1123,"name":"css-loader","id":1127,"timestamp":1371679728499,"duration":6263,"tags":{"astUsed":"true"},"startTime":1664294723821},{"traceId":"06b5767d478984a7","parentId":1114,"name":"build-module-css","id":1123,"timestamp":1371679701788,"duration":34108,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294723794},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1121,"timestamp":1371679698600,"duration":37830,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1117,"timestamp":1371679698588,"duration":38599,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1120,"timestamp":1371679698597,"duration":40569,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1122,"timestamp":1371679698602,"duration":40803,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1118,"timestamp":1371679698591,"duration":40816,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1129,"name":"next-swc-transform","id":1130,"timestamp":1371679737506,"duration":2296,"tags":{},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1128,"name":"next-swc-loader","id":1129,"timestamp":1371679737468,"duration":2337,"tags":{},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1114,"name":"build-module-tsx","id":1128,"timestamp":1371679737348,"duration":5044,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1119,"timestamp":1371679698594,"duration":68547,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1097,"name":"make","id":1115,"timestamp":1371679697361,"duration":69807,"tags":{},"startTime":1664294723790},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-chunk-graph","id":1132,"timestamp":1371679771010,"duration":16460,"tags":{},"startTime":1664294723864},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-modules","id":1134,"timestamp":1371679787500,"duration":3,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-chunks","id":1135,"timestamp":1371679787513,"duration":33,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-tree","id":1136,"timestamp":1371679787563,"duration":3,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize","id":1133,"timestamp":1371679787492,"duration":1301,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-hash","id":1137,"timestamp":1371679799082,"duration":3409,"tags":{},"startTime":1664294723892},{"traceId":"06b5767d478984a7","parentId":1114,"name":"NextJsBuildManifest-generateClientManifest","id":1139,"timestamp":1371679809931,"duration":180,"tags":{},"startTime":1664294723903},{"traceId":"06b5767d478984a7","parentId":1114,"name":"NextJsBuildManifest-createassets","id":1138,"timestamp":1371679809872,"duration":251,"tags":{},"startTime":1664294723903},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-seal","id":1131,"timestamp":1371679768221,"duration":43524,"tags":{},"startTime":1664294723861},{"traceId":"06b5767d478984a7","parentId":1097,"name":"webpack-compilation","id":1114,"timestamp":1371679697186,"duration":114587,"tags":{"name":"client"},"startTime":1664294723790},{"traceId":"06b5767d478984a7","parentId":1097,"name":"emit","id":1140,"timestamp":1371679811789,"duration":78892,"tags":{},"startTime":1664294723904},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1097,"timestamp":1371679667370,"duration":223870,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723760}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1141,"timestamp":1371679899584,"duration":0,"tags":{},"startTime":1664294723992},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1142,"timestamp":1371679899893,"duration":0,"tags":{},"startTime":1664294723993},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1143,"timestamp":1664294723760000,"duration":240999,"tags":{"clientId":1664294218658},"startTime":1664294724002},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1144,"timestamp":1664294723760999,"duration":247000,"tags":{"clientId":1664294458993},"startTime":1664294724008},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1149,"timestamp":1371795198390,"duration":5065,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1154,"timestamp":1371795198500,"duration":6066,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1156,"name":"read-resource","id":1157,"timestamp":1371795204313,"duration":1299,"tags":{},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1161,"name":"postcss-process","id":1162,"timestamp":1371795205665,"duration":27384,"tags":{},"startTime":1664294839299},{"traceId":"06b5767d478984a7","parentId":1156,"name":"postcss-loader","id":1161,"timestamp":1371795205645,"duration":27538,"tags":{},"startTime":1664294839299},{"traceId":"06b5767d478984a7","parentId":1156,"name":"css-loader","id":1163,"timestamp":1371795233202,"duration":8755,"tags":{"astUsed":"true"},"startTime":1664294839326},{"traceId":"06b5767d478984a7","parentId":1147,"name":"build-module-css","id":1156,"timestamp":1371795204137,"duration":39228,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1159,"name":"next-swc-transform","id":1160,"timestamp":1371795204752,"duration":41857,"tags":{},"startTime":1664294839298},{"traceId":"06b5767d478984a7","parentId":1158,"name":"next-swc-loader","id":1159,"timestamp":1371795204683,"duration":41932,"tags":{},"startTime":1664294839298},{"traceId":"06b5767d478984a7","parentId":1147,"name":"build-module-tsx","id":1158,"timestamp":1371795204599,"duration":45849,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1150,"timestamp":1371795198481,"duration":52578,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1155,"timestamp":1371795198503,"duration":53229,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1153,"timestamp":1371795198496,"duration":53530,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1151,"timestamp":1371795198488,"duration":56292,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1152,"timestamp":1371795198491,"duration":87341,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1145,"name":"make","id":1148,"timestamp":1371795197350,"duration":88523,"tags":{},"startTime":1664294839290},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-chunk-graph","id":1165,"timestamp":1371795291224,"duration":5761,"tags":{},"startTime":1664294839384},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-modules","id":1167,"timestamp":1371795297007,"duration":3,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-chunks","id":1168,"timestamp":1371795297021,"duration":36,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-tree","id":1169,"timestamp":1371795297074,"duration":3,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize","id":1166,"timestamp":1371795297002,"duration":1343,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-hash","id":1170,"timestamp":1371795309090,"duration":4145,"tags":{},"startTime":1664294839402},{"traceId":"06b5767d478984a7","parentId":1147,"name":"NextJsBuildManifest-generateClientManifest","id":1172,"timestamp":1371795322359,"duration":68,"tags":{},"startTime":1664294839415},{"traceId":"06b5767d478984a7","parentId":1147,"name":"NextJsBuildManifest-createassets","id":1171,"timestamp":1371795322311,"duration":124,"tags":{},"startTime":1664294839415},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-seal","id":1164,"timestamp":1371795287105,"duration":36688,"tags":{},"startTime":1664294839380},{"traceId":"06b5767d478984a7","parentId":1145,"name":"webpack-compilation","id":1147,"timestamp":1371795197053,"duration":126769,"tags":{"name":"client"},"startTime":1664294839290},{"traceId":"06b5767d478984a7","parentId":1145,"name":"emit","id":1173,"timestamp":1371795323839,"duration":94688,"tags":{},"startTime":1664294839417},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1145,"timestamp":1371795185236,"duration":234060,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839278},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1179,"timestamp":1371795429696,"duration":0,"tags":{},"startTime":1664294839523},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1180,"timestamp":1371795429758,"duration":0,"tags":{},"startTime":1664294839523},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1177,"timestamp":1371795429121,"duration":6646,"tags":{"request":"private-next-pages/_error"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1178,"timestamp":1371795429126,"duration":6655,"tags":{"request":"private-next-pages/_document"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1182,"name":"next-swc-transform","id":1183,"timestamp":1371795434172,"duration":1797,"tags":{},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1181,"name":"next-swc-loader","id":1182,"timestamp":1371795434120,"duration":1852,"tags":{},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1174,"name":"build-module-tsx","id":1181,"timestamp":1371795433990,"duration":4747,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1176,"timestamp":1371795429044,"duration":13486,"tags":{"request":"private-next-pages/_app"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1146,"name":"make","id":1175,"timestamp":1371795420244,"duration":22308,"tags":{},"startTime":1664294839513},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-chunk-graph","id":1185,"timestamp":1371795442968,"duration":315,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-modules","id":1187,"timestamp":1371795443300,"duration":2,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-chunks","id":1188,"timestamp":1371795443312,"duration":22,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-tree","id":1189,"timestamp":1371795443348,"duration":4,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize","id":1186,"timestamp":1371795443294,"duration":123,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-hash","id":1190,"timestamp":1371795445121,"duration":504,"tags":{},"startTime":1664294839538},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-seal","id":1184,"timestamp":1371795442842,"duration":4290,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1146,"name":"webpack-compilation","id":1174,"timestamp":1371795420078,"duration":27073,"tags":{"name":"server"},"startTime":1664294839513},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1192,"timestamp":1664294839279000,"duration":256999,"tags":{"clientId":1664294218658},"startTime":1664294839540},{"traceId":"06b5767d478984a7","parentId":1146,"name":"emit","id":1191,"timestamp":1371795447161,"duration":2094,"tags":{},"startTime":1664294839540},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1146,"timestamp":1371795185521,"duration":264386,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839278}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1193,"timestamp":1664294839279000,"duration":321999,"tags":{"clientId":1664294458993},"startTime":1664294839601},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1198,"timestamp":1371823102949,"duration":3247,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1205,"name":"read-resource","id":1206,"timestamp":1371823107200,"duration":27,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1207,"name":"postcss-process","id":1208,"timestamp":1371823107263,"duration":25762,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1205,"name":"postcss-loader","id":1207,"timestamp":1371823107250,"duration":25902,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1205,"name":"css-loader","id":1209,"timestamp":1371823133171,"duration":9365,"tags":{"astUsed":"true"},"startTime":1664294867226},{"traceId":"06b5767d478984a7","parentId":1196,"name":"build-module-css","id":1205,"timestamp":1371823106983,"duration":36582,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1203,"timestamp":1371823103017,"duration":41377,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1199,"timestamp":1371823103003,"duration":42617,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1202,"timestamp":1371823103014,"duration":45222,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1204,"timestamp":1371823103019,"duration":46103,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1200,"timestamp":1371823103007,"duration":46119,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1211,"name":"next-swc-transform","id":1212,"timestamp":1371823145963,"duration":3593,"tags":{},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1210,"name":"next-swc-loader","id":1211,"timestamp":1371823145928,"duration":3629,"tags":{},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1196,"name":"build-module-tsx","id":1210,"timestamp":1371823145802,"duration":6912,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1201,"timestamp":1371823103010,"duration":74086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1194,"name":"make","id":1197,"timestamp":1371823102207,"duration":74922,"tags":{},"startTime":1664294867195},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-chunk-graph","id":1214,"timestamp":1371823182209,"duration":16484,"tags":{},"startTime":1664294867275},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-modules","id":1216,"timestamp":1371823198722,"duration":3,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-chunks","id":1217,"timestamp":1371823198734,"duration":35,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-tree","id":1218,"timestamp":1371823198787,"duration":3,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize","id":1215,"timestamp":1371823198714,"duration":1325,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-hash","id":1219,"timestamp":1371823211860,"duration":3503,"tags":{},"startTime":1664294867305},{"traceId":"06b5767d478984a7","parentId":1196,"name":"NextJsBuildManifest-generateClientManifest","id":1221,"timestamp":1371823222704,"duration":59,"tags":{},"startTime":1664294867316},{"traceId":"06b5767d478984a7","parentId":1196,"name":"NextJsBuildManifest-createassets","id":1220,"timestamp":1371823222645,"duration":127,"tags":{},"startTime":1664294867316},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-seal","id":1213,"timestamp":1371823178319,"duration":45937,"tags":{},"startTime":1664294867271},{"traceId":"06b5767d478984a7","parentId":1194,"name":"webpack-compilation","id":1196,"timestamp":1371823102024,"duration":122259,"tags":{"name":"client"},"startTime":1664294867195},{"traceId":"06b5767d478984a7","parentId":1194,"name":"emit","id":1222,"timestamp":1371823224296,"duration":93609,"tags":{},"startTime":1664294867317},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1194,"timestamp":1371823091040,"duration":227624,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867184},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1228,"timestamp":1371823330375,"duration":0,"tags":{},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1229,"timestamp":1371823330554,"duration":0,"tags":{},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1226,"timestamp":1371823329792,"duration":4075,"tags":{"request":"private-next-pages/_error"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1227,"timestamp":1371823329797,"duration":4079,"tags":{"request":"private-next-pages/_document"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1233,"timestamp":1664294867184000,"duration":251000,"tags":{"clientId":1664294218658},"startTime":1664294867435},{"traceId":"06b5767d478984a7","parentId":1231,"name":"next-swc-transform","id":1232,"timestamp":1371823333644,"duration":11428,"tags":{},"startTime":1664294867427},{"traceId":"06b5767d478984a7","parentId":1230,"name":"next-swc-loader","id":1231,"timestamp":1371823333593,"duration":11484,"tags":{},"startTime":1664294867426},{"traceId":"06b5767d478984a7","parentId":1223,"name":"build-module-tsx","id":1230,"timestamp":1371823333473,"duration":14537,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867426},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1225,"timestamp":1371823329730,"duration":20269,"tags":{"request":"private-next-pages/_app"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1195,"name":"make","id":1224,"timestamp":1371823320036,"duration":29980,"tags":{},"startTime":1664294867413},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-chunk-graph","id":1235,"timestamp":1371823350378,"duration":272,"tags":{},"startTime":1664294867443},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-modules","id":1237,"timestamp":1371823350659,"duration":2,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-chunks","id":1238,"timestamp":1371823350670,"duration":21,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-tree","id":1239,"timestamp":1371823350699,"duration":4,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize","id":1236,"timestamp":1371823350656,"duration":104,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-hash","id":1240,"timestamp":1371823352421,"duration":489,"tags":{},"startTime":1664294867445},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-seal","id":1234,"timestamp":1371823350314,"duration":3884,"tags":{},"startTime":1664294867443},{"traceId":"06b5767d478984a7","parentId":1195,"name":"webpack-compilation","id":1223,"timestamp":1371823319851,"duration":34368,"tags":{"name":"server"},"startTime":1664294867413},{"traceId":"06b5767d478984a7","parentId":1195,"name":"emit","id":1241,"timestamp":1371823354229,"duration":1729,"tags":{},"startTime":1664294867447},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1195,"timestamp":1371823091266,"duration":265078,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867184}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1242,"timestamp":1664294867187000,"duration":261999,"tags":{"clientId":1664294458993},"startTime":1664294867450},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1247,"timestamp":1371932073879,"duration":6084,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1252,"timestamp":1371932073955,"duration":9768,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1254,"name":"read-resource","id":1255,"timestamp":1371932083425,"duration":1298,"tags":{},"startTime":1664294976176},{"traceId":"06b5767d478984a7","parentId":1259,"name":"postcss-process","id":1260,"timestamp":1371932084759,"duration":29053,"tags":{},"startTime":1664294976178},{"traceId":"06b5767d478984a7","parentId":1254,"name":"postcss-loader","id":1259,"timestamp":1371932084746,"duration":29202,"tags":{},"startTime":1664294976178},{"traceId":"06b5767d478984a7","parentId":1254,"name":"css-loader","id":1261,"timestamp":1371932113972,"duration":7665,"tags":{"astUsed":"true"},"startTime":1664294976207},{"traceId":"06b5767d478984a7","parentId":1245,"name":"build-module-css","id":1254,"timestamp":1371932083193,"duration":39880,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294976176},{"traceId":"06b5767d478984a7","parentId":1257,"name":"next-swc-transform","id":1258,"timestamp":1371932083911,"duration":41674,"tags":{},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1256,"name":"next-swc-loader","id":1257,"timestamp":1371932083839,"duration":41751,"tags":{},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1245,"name":"build-module-tsx","id":1256,"timestamp":1371932083762,"duration":44922,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1248,"timestamp":1371932073941,"duration":55051,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1253,"timestamp":1371932073957,"duration":55723,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1251,"timestamp":1371932073952,"duration":56470,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1249,"timestamp":1371932073946,"duration":58007,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1250,"timestamp":1371932073949,"duration":86584,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1243,"name":"make","id":1246,"timestamp":1371932072957,"duration":87603,"tags":{},"startTime":1664294976166},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-chunk-graph","id":1263,"timestamp":1371932165710,"duration":16341,"tags":{},"startTime":1664294976259},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-modules","id":1265,"timestamp":1371932182072,"duration":3,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-chunks","id":1266,"timestamp":1371932182085,"duration":46,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-tree","id":1267,"timestamp":1371932182146,"duration":3,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize","id":1264,"timestamp":1371932182066,"duration":1367,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-hash","id":1268,"timestamp":1371932193485,"duration":3417,"tags":{},"startTime":1664294976287},{"traceId":"06b5767d478984a7","parentId":1245,"name":"NextJsBuildManifest-generateClientManifest","id":1270,"timestamp":1371932205678,"duration":66,"tags":{},"startTime":1664294976299},{"traceId":"06b5767d478984a7","parentId":1245,"name":"NextJsBuildManifest-createassets","id":1269,"timestamp":1371932205629,"duration":124,"tags":{},"startTime":1664294976299},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-seal","id":1262,"timestamp":1371932161842,"duration":45295,"tags":{},"startTime":1664294976255},{"traceId":"06b5767d478984a7","parentId":1243,"name":"webpack-compilation","id":1245,"timestamp":1371932072739,"duration":134422,"tags":{"name":"client"},"startTime":1664294976166},{"traceId":"06b5767d478984a7","parentId":1243,"name":"emit","id":1271,"timestamp":1371932207175,"duration":86557,"tags":{},"startTime":1664294976300},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1243,"timestamp":1371932061574,"duration":233320,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976155},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1277,"timestamp":1371932306103,"duration":0,"tags":{},"startTime":1664294976399},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1278,"timestamp":1371932306264,"duration":0,"tags":{},"startTime":1664294976399},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1275,"timestamp":1371932305409,"duration":4417,"tags":{"request":"private-next-pages/_error"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1276,"timestamp":1371932305414,"duration":4419,"tags":{"request":"private-next-pages/_document"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1280,"name":"next-swc-transform","id":1281,"timestamp":1371932309361,"duration":3906,"tags":{},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1279,"name":"next-swc-loader","id":1280,"timestamp":1371932309316,"duration":3961,"tags":{},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1272,"name":"build-module-tsx","id":1279,"timestamp":1371932309223,"duration":6925,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1274,"timestamp":1371932305334,"duration":14691,"tags":{"request":"private-next-pages/_app"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1244,"name":"make","id":1273,"timestamp":1371932296344,"duration":23703,"tags":{},"startTime":1664294976389},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-chunk-graph","id":1283,"timestamp":1371932320405,"duration":298,"tags":{},"startTime":1664294976413},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-modules","id":1285,"timestamp":1371932320714,"duration":2,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-chunks","id":1286,"timestamp":1371932320725,"duration":22,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-tree","id":1287,"timestamp":1371932320756,"duration":4,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize","id":1284,"timestamp":1371932320710,"duration":108,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-hash","id":1288,"timestamp":1371932322188,"duration":430,"tags":{},"startTime":1664294976415},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-seal","id":1282,"timestamp":1371932320342,"duration":5300,"tags":{},"startTime":1664294976413},{"traceId":"06b5767d478984a7","parentId":1244,"name":"webpack-compilation","id":1272,"timestamp":1371932296166,"duration":29497,"tags":{"name":"server"},"startTime":1664294976389},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1290,"timestamp":1664294976155000,"duration":257999,"tags":{"clientId":1664294218658},"startTime":1664294976419},{"traceId":"06b5767d478984a7","parentId":1244,"name":"emit","id":1289,"timestamp":1371932325673,"duration":1876,"tags":{},"startTime":1664294976419},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1244,"timestamp":1371932061852,"duration":266082,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976155}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1291,"timestamp":1664294976156000,"duration":317999,"tags":{"clientId":1664294458993},"startTime":1664294976475},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1296,"timestamp":1372030035938,"duration":5427,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1301,"timestamp":1372030036022,"duration":9941,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1303,"name":"read-resource","id":1304,"timestamp":1372030045659,"duration":1028,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1308,"name":"postcss-process","id":1309,"timestamp":1372030046714,"duration":29669,"tags":{},"startTime":1664295074140},{"traceId":"06b5767d478984a7","parentId":1303,"name":"postcss-loader","id":1308,"timestamp":1372030046703,"duration":29832,"tags":{},"startTime":1664295074140},{"traceId":"06b5767d478984a7","parentId":1303,"name":"css-loader","id":1310,"timestamp":1372030076558,"duration":7542,"tags":{"astUsed":"true"},"startTime":1664295074170},{"traceId":"06b5767d478984a7","parentId":1294,"name":"build-module-css","id":1303,"timestamp":1372030045484,"duration":39834,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1306,"name":"next-swc-transform","id":1307,"timestamp":1372030046127,"duration":42010,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1305,"name":"next-swc-loader","id":1306,"timestamp":1372030046069,"duration":42073,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1294,"name":"build-module-tsx","id":1305,"timestamp":1372030045992,"duration":45246,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1297,"timestamp":1372030036006,"duration":56109,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1302,"timestamp":1372030036025,"duration":56201,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1300,"timestamp":1372030036018,"duration":57186,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1298,"timestamp":1372030036012,"duration":59168,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1299,"timestamp":1372030036015,"duration":88541,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1292,"name":"make","id":1295,"timestamp":1372030035133,"duration":89448,"tags":{},"startTime":1664295074128},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-chunk-graph","id":1312,"timestamp":1372030128495,"duration":16846,"tags":{},"startTime":1664295074222},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-modules","id":1314,"timestamp":1372030145363,"duration":3,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-chunks","id":1315,"timestamp":1372030145376,"duration":37,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-tree","id":1316,"timestamp":1372030145433,"duration":3,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize","id":1313,"timestamp":1372030145356,"duration":1378,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-hash","id":1317,"timestamp":1372030156629,"duration":3232,"tags":{},"startTime":1664295074250},{"traceId":"06b5767d478984a7","parentId":1294,"name":"NextJsBuildManifest-generateClientManifest","id":1319,"timestamp":1372030167425,"duration":66,"tags":{},"startTime":1664295074261},{"traceId":"06b5767d478984a7","parentId":1294,"name":"NextJsBuildManifest-createassets","id":1318,"timestamp":1372030167372,"duration":127,"tags":{},"startTime":1664295074261},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-seal","id":1311,"timestamp":1372030125716,"duration":43333,"tags":{},"startTime":1664295074219},{"traceId":"06b5767d478984a7","parentId":1292,"name":"webpack-compilation","id":1294,"timestamp":1372030034903,"duration":134179,"tags":{"name":"client"},"startTime":1664295074128},{"traceId":"06b5767d478984a7","parentId":1292,"name":"emit","id":1320,"timestamp":1372030169095,"duration":98919,"tags":{},"startTime":1664295074262},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1292,"timestamp":1372030024029,"duration":244768,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074117},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1326,"timestamp":1372030280110,"duration":0,"tags":{},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1324,"timestamp":1372030279495,"duration":4314,"tags":{"request":"private-next-pages/_error"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1325,"timestamp":1372030279499,"duration":4317,"tags":{"request":"private-next-pages/_document"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1328,"name":"next-swc-transform","id":1329,"timestamp":1372030283357,"duration":1617,"tags":{},"startTime":1664295074377},{"traceId":"06b5767d478984a7","parentId":1327,"name":"next-swc-loader","id":1328,"timestamp":1372030283310,"duration":1668,"tags":{},"startTime":1664295074376},{"traceId":"06b5767d478984a7","parentId":1321,"name":"build-module-tsx","id":1327,"timestamp":1372030283219,"duration":4099,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074376},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1323,"timestamp":1372030279382,"duration":12202,"tags":{"request":"private-next-pages/_app"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1293,"name":"make","id":1322,"timestamp":1372030269997,"duration":21603,"tags":{},"startTime":1664295074363},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-chunk-graph","id":1331,"timestamp":1372030291875,"duration":243,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-modules","id":1333,"timestamp":1372030292127,"duration":51,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-chunks","id":1334,"timestamp":1372030292186,"duration":19,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-tree","id":1335,"timestamp":1372030292213,"duration":3,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize","id":1332,"timestamp":1372030292123,"duration":147,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-hash","id":1336,"timestamp":1372030293465,"duration":398,"tags":{},"startTime":1664295074387},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-seal","id":1330,"timestamp":1372030291818,"duration":3358,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1293,"name":"webpack-compilation","id":1321,"timestamp":1372030269817,"duration":25377,"tags":{"name":"server"},"startTime":1664295074363},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1338,"timestamp":1664295074118000,"duration":266999,"tags":{"clientId":1664294218658},"startTime":1664295074389},{"traceId":"06b5767d478984a7","parentId":1293,"name":"emit","id":1337,"timestamp":1372030295202,"duration":1973,"tags":{},"startTime":1664295074388},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1293,"timestamp":1372030024238,"duration":273305,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074117}] +[{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1344,"timestamp":1372041372924,"duration":4393,"tags":{"request":"private-next-pages/_error"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1345,"timestamp":1372041372928,"duration":4402,"tags":{"request":"private-next-pages/_document"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1347,"name":"next-swc-transform","id":1348,"timestamp":1372041377553,"duration":841,"tags":{},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1346,"name":"next-swc-loader","id":1347,"timestamp":1372041377512,"duration":886,"tags":{},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1341,"name":"build-module-tsx","id":1346,"timestamp":1372041377423,"duration":1949,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1343,"timestamp":1372041372894,"duration":19472,"tags":{"request":"private-next-pages/_app"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1339,"name":"make","id":1342,"timestamp":1372041372825,"duration":19559,"tags":{},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-chunk-graph","id":1350,"timestamp":1372041392634,"duration":257,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-modules","id":1352,"timestamp":1372041392900,"duration":2,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-chunks","id":1353,"timestamp":1372041392910,"duration":15,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-tree","id":1354,"timestamp":1372041392933,"duration":3,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize","id":1351,"timestamp":1372041392897,"duration":81,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-hash","id":1355,"timestamp":1372041393772,"duration":413,"tags":{},"startTime":1664295085487},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-seal","id":1349,"timestamp":1372041392571,"duration":2375,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1339,"name":"webpack-compilation","id":1341,"timestamp":1372041372656,"duration":22305,"tags":{"name":"server"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1339,"name":"emit","id":1356,"timestamp":1372041394972,"duration":4431,"tags":{},"startTime":1664295085488},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1339,"timestamp":1372041366390,"duration":33207,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085460},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1359,"timestamp":1372041403017,"duration":4040,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1366,"name":"read-resource","id":1367,"timestamp":1372041407882,"duration":27,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1368,"name":"postcss-process","id":1369,"timestamp":1372041407939,"duration":23285,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1366,"name":"postcss-loader","id":1368,"timestamp":1372041407926,"duration":23499,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1366,"name":"css-loader","id":1370,"timestamp":1372041431443,"duration":7634,"tags":{"astUsed":"true"},"startTime":1664295085525},{"traceId":"06b5767d478984a7","parentId":1357,"name":"build-module-css","id":1366,"timestamp":1372041407767,"duration":32263,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1364,"timestamp":1372041403052,"duration":37346,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1360,"timestamp":1372041403041,"duration":38049,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1363,"timestamp":1372041403050,"duration":40074,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1365,"timestamp":1372041403055,"duration":40476,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1361,"timestamp":1372041403045,"duration":40489,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1372,"name":"next-swc-transform","id":1373,"timestamp":1372041443574,"duration":2223,"tags":{},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1371,"name":"next-swc-loader","id":1372,"timestamp":1372041443538,"duration":2264,"tags":{},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1357,"name":"build-module-tsx","id":1371,"timestamp":1372041443378,"duration":3566,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1362,"timestamp":1372041403047,"duration":115633,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1340,"name":"make","id":1358,"timestamp":1372041402189,"duration":116513,"tags":{},"startTime":1664295085495},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-chunk-graph","id":1375,"timestamp":1372041526310,"duration":22178,"tags":{},"startTime":1664295085619},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-modules","id":1377,"timestamp":1372041548525,"duration":3,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-chunks","id":1378,"timestamp":1372041548540,"duration":36,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-tree","id":1379,"timestamp":1372041548599,"duration":10,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize","id":1376,"timestamp":1372041548514,"duration":1954,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-hash","id":1380,"timestamp":1372041582018,"duration":4436,"tags":{},"startTime":1664295085675},{"traceId":"06b5767d478984a7","parentId":1357,"name":"NextJsBuildManifest-generateClientManifest","id":1382,"timestamp":1372041594939,"duration":78,"tags":{},"startTime":1664295085688},{"traceId":"06b5767d478984a7","parentId":1357,"name":"NextJsBuildManifest-createassets","id":1381,"timestamp":1372041594880,"duration":148,"tags":{},"startTime":1664295085688},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-seal","id":1374,"timestamp":1372041521019,"duration":76114,"tags":{},"startTime":1664295085614},{"traceId":"06b5767d478984a7","parentId":1340,"name":"webpack-compilation","id":1357,"timestamp":1372041402022,"duration":195143,"tags":{"name":"client"},"startTime":1664295085495},{"traceId":"06b5767d478984a7","parentId":1340,"name":"emit","id":1383,"timestamp":1372041597186,"duration":84927,"tags":{},"startTime":1664295085690},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1340,"timestamp":1372041366502,"duration":316561,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085460}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1384,"timestamp":1372041703741,"duration":0,"tags":{},"startTime":1664295085797},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1385,"timestamp":1664295085460000,"duration":355000,"tags":{"clientId":1664294218658},"startTime":1664295085816},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1390,"timestamp":1372059247259,"duration":3414,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295103340},{"traceId":"06b5767d478984a7","parentId":1397,"name":"read-resource","id":1398,"timestamp":1372059251343,"duration":21,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1399,"name":"postcss-process","id":1400,"timestamp":1372059251391,"duration":22134,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1397,"name":"postcss-loader","id":1399,"timestamp":1372059251379,"duration":22285,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1397,"name":"css-loader","id":1401,"timestamp":1372059273684,"duration":7985,"tags":{"astUsed":"true"},"startTime":1664295103367},{"traceId":"06b5767d478984a7","parentId":1388,"name":"build-module-css","id":1397,"timestamp":1372059251227,"duration":31715,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295103344},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1395,"timestamp":1372059247408,"duration":35940,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1391,"timestamp":1372059247392,"duration":36646,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1394,"timestamp":1372059247405,"duration":38490,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1396,"timestamp":1372059247410,"duration":38870,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1392,"timestamp":1372059247398,"duration":38887,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1403,"name":"next-swc-transform","id":1404,"timestamp":1372059286359,"duration":1941,"tags":{},"startTime":1664295103380},{"traceId":"06b5767d478984a7","parentId":1402,"name":"next-swc-loader","id":1403,"timestamp":1372059286289,"duration":2015,"tags":{},"startTime":1664295103379},{"traceId":"06b5767d478984a7","parentId":1388,"name":"build-module-tsx","id":1402,"timestamp":1372059286112,"duration":4533,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103379},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1393,"timestamp":1372059247402,"duration":85565,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1386,"name":"make","id":1389,"timestamp":1372059246297,"duration":86690,"tags":{},"startTime":1664295103339},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-chunk-graph","id":1406,"timestamp":1372059336644,"duration":15502,"tags":{},"startTime":1664295103430},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-modules","id":1408,"timestamp":1372059352168,"duration":3,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-chunks","id":1409,"timestamp":1372059352183,"duration":38,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-tree","id":1410,"timestamp":1372059352239,"duration":3,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize","id":1407,"timestamp":1372059352161,"duration":1289,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-hash","id":1411,"timestamp":1372059363569,"duration":5451,"tags":{},"startTime":1664295103457},{"traceId":"06b5767d478984a7","parentId":1388,"name":"NextJsBuildManifest-generateClientManifest","id":1413,"timestamp":1372059377630,"duration":53,"tags":{},"startTime":1664295103471},{"traceId":"06b5767d478984a7","parentId":1388,"name":"NextJsBuildManifest-createassets","id":1412,"timestamp":1372059377572,"duration":119,"tags":{},"startTime":1664295103471},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-seal","id":1405,"timestamp":1372059333969,"duration":45178,"tags":{},"startTime":1664295103427},{"traceId":"06b5767d478984a7","parentId":1386,"name":"webpack-compilation","id":1388,"timestamp":1372059246071,"duration":133101,"tags":{"name":"client"},"startTime":1664295103339},{"traceId":"06b5767d478984a7","parentId":1386,"name":"emit","id":1414,"timestamp":1372059379184,"duration":88282,"tags":{},"startTime":1664295103472},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1386,"timestamp":1372059234013,"duration":234148,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103327},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1420,"timestamp":1372059478626,"duration":0,"tags":{},"startTime":1664295103572},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1418,"timestamp":1372059478017,"duration":3896,"tags":{"request":"private-next-pages/_error"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1419,"timestamp":1372059478020,"duration":3900,"tags":{"request":"private-next-pages/_document"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1422,"name":"next-swc-transform","id":1423,"timestamp":1372059482209,"duration":1597,"tags":{},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1421,"name":"next-swc-loader","id":1422,"timestamp":1372059482159,"duration":1655,"tags":{},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1415,"name":"build-module-tsx","id":1421,"timestamp":1372059482038,"duration":3848,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1417,"timestamp":1372059477949,"duration":10537,"tags":{"request":"private-next-pages/_app"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1387,"name":"make","id":1416,"timestamp":1372059469250,"duration":19258,"tags":{},"startTime":1664295103562},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-chunk-graph","id":1425,"timestamp":1372059488907,"duration":377,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-modules","id":1427,"timestamp":1372059489294,"duration":2,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-chunks","id":1428,"timestamp":1372059489304,"duration":20,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-tree","id":1429,"timestamp":1372059489333,"duration":7,"tags":{},"startTime":1664295103583},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize","id":1426,"timestamp":1372059489291,"duration":108,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-hash","id":1430,"timestamp":1372059490541,"duration":444,"tags":{},"startTime":1664295103584},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-seal","id":1424,"timestamp":1372059488839,"duration":3067,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1387,"name":"webpack-compilation","id":1415,"timestamp":1372059469072,"duration":22856,"tags":{"name":"server"},"startTime":1664295103562},{"traceId":"06b5767d478984a7","parentId":1387,"name":"emit","id":1431,"timestamp":1372059491937,"duration":1720,"tags":{},"startTime":1664295103585},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1387,"timestamp":1372059234273,"duration":259690,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103327}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1432,"timestamp":1664295103328000,"duration":343000,"tags":{"clientId":1664294218658},"startTime":1664295103672},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1438,"timestamp":1372063411178,"duration":5403,"tags":{"request":"private-next-pages/_error"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1439,"timestamp":1372063411185,"duration":5416,"tags":{"request":"private-next-pages/_document"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1441,"name":"next-swc-transform","id":1442,"timestamp":1372063416998,"duration":1215,"tags":{},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1440,"name":"next-swc-loader","id":1441,"timestamp":1372063416924,"duration":1299,"tags":{},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1435,"name":"build-module-tsx","id":1440,"timestamp":1372063416706,"duration":4169,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1437,"timestamp":1372063411115,"duration":11299,"tags":{"request":"private-next-pages/_app"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1433,"name":"make","id":1436,"timestamp":1372063410929,"duration":11503,"tags":{},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-chunk-graph","id":1444,"timestamp":1372063422807,"duration":357,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-modules","id":1446,"timestamp":1372063423177,"duration":2,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-chunks","id":1447,"timestamp":1372063423189,"duration":22,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-tree","id":1448,"timestamp":1372063423221,"duration":5,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize","id":1445,"timestamp":1372063423171,"duration":119,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-hash","id":1449,"timestamp":1372063425303,"duration":520,"tags":{},"startTime":1664295107518},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-seal","id":1443,"timestamp":1372063422730,"duration":5663,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1433,"name":"webpack-compilation","id":1435,"timestamp":1372063410693,"duration":17728,"tags":{"name":"server"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1433,"name":"emit","id":1450,"timestamp":1372063428435,"duration":1851,"tags":{},"startTime":1664295107522},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1433,"timestamp":1372063404076,"duration":26498,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107497},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1453,"timestamp":1372063434635,"duration":2784,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1460,"name":"read-resource","id":1461,"timestamp":1372063438119,"duration":20,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1462,"name":"postcss-process","id":1463,"timestamp":1372063438170,"duration":24441,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1460,"name":"postcss-loader","id":1462,"timestamp":1372063438157,"duration":24577,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1460,"name":"css-loader","id":1464,"timestamp":1372063462753,"duration":5896,"tags":{"astUsed":"true"},"startTime":1664295107556},{"traceId":"06b5767d478984a7","parentId":1451,"name":"build-module-css","id":1460,"timestamp":1372063438001,"duration":31663,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1458,"timestamp":1372063434683,"duration":35426,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1454,"timestamp":1372063434670,"duration":36086,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1457,"timestamp":1372063434680,"duration":39316,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1459,"timestamp":1372063434685,"duration":39669,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1455,"timestamp":1372063434674,"duration":39683,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1466,"name":"next-swc-transform","id":1467,"timestamp":1372063474395,"duration":1789,"tags":{},"startTime":1664295107568},{"traceId":"06b5767d478984a7","parentId":1465,"name":"next-swc-loader","id":1466,"timestamp":1372063474361,"duration":1832,"tags":{},"startTime":1664295107568},{"traceId":"06b5767d478984a7","parentId":1451,"name":"build-module-tsx","id":1465,"timestamp":1372063474212,"duration":3712,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107567},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1456,"timestamp":1372063434676,"duration":63416,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1434,"name":"make","id":1452,"timestamp":1372063433468,"duration":64646,"tags":{},"startTime":1664295107527},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-chunk-graph","id":1469,"timestamp":1372063502020,"duration":15707,"tags":{},"startTime":1664295107595},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-modules","id":1471,"timestamp":1372063517750,"duration":2,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-chunks","id":1472,"timestamp":1372063517762,"duration":29,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-tree","id":1473,"timestamp":1372063517809,"duration":3,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize","id":1470,"timestamp":1372063517744,"duration":1273,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-hash","id":1474,"timestamp":1372063528575,"duration":3302,"tags":{},"startTime":1664295107622},{"traceId":"06b5767d478984a7","parentId":1451,"name":"NextJsBuildManifest-generateClientManifest","id":1476,"timestamp":1372063540463,"duration":61,"tags":{},"startTime":1664295107634},{"traceId":"06b5767d478984a7","parentId":1451,"name":"NextJsBuildManifest-createassets","id":1475,"timestamp":1372063540393,"duration":141,"tags":{},"startTime":1664295107634},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-seal","id":1468,"timestamp":1372063499148,"duration":44312,"tags":{},"startTime":1664295107592},{"traceId":"06b5767d478984a7","parentId":1434,"name":"webpack-compilation","id":1451,"timestamp":1372063433304,"duration":110187,"tags":{"name":"client"},"startTime":1664295107527},{"traceId":"06b5767d478984a7","parentId":1434,"name":"emit","id":1477,"timestamp":1372063543507,"duration":86423,"tags":{},"startTime":1664295107637},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1434,"timestamp":1372063404292,"duration":226198,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107497}] +[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1478,"timestamp":1372063638839,"duration":0,"tags":{},"startTime":1664295107732},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1479,"timestamp":1664295107497999,"duration":246000,"tags":{"clientId":1664294218658},"startTime":1664295107744},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1484,"timestamp":1372067745546,"duration":3646,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1491,"name":"read-resource","id":1492,"timestamp":1372067749934,"duration":22,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1493,"name":"postcss-process","id":1494,"timestamp":1372067749979,"duration":21778,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1491,"name":"postcss-loader","id":1493,"timestamp":1372067749970,"duration":21935,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1491,"name":"css-loader","id":1495,"timestamp":1372067771925,"duration":7811,"tags":{"astUsed":"true"},"startTime":1664295111865},{"traceId":"06b5767d478984a7","parentId":1482,"name":"build-module-css","id":1491,"timestamp":1372067749837,"duration":30703,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1489,"timestamp":1372067745739,"duration":36044,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1485,"timestamp":1372067745596,"duration":38466,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1488,"timestamp":1372067745736,"duration":42774,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1490,"timestamp":1372067745742,"duration":43632,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1486,"timestamp":1372067745729,"duration":43651,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1497,"name":"next-swc-transform","id":1498,"timestamp":1372067789429,"duration":1804,"tags":{},"startTime":1664295111883},{"traceId":"06b5767d478984a7","parentId":1496,"name":"next-swc-loader","id":1497,"timestamp":1372067789387,"duration":1852,"tags":{},"startTime":1664295111883},{"traceId":"06b5767d478984a7","parentId":1482,"name":"build-module-tsx","id":1496,"timestamp":1372067789105,"duration":5209,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111882},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1487,"timestamp":1372067745733,"duration":107676,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1480,"name":"make","id":1483,"timestamp":1372067744766,"duration":108683,"tags":{},"startTime":1664295111838},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-chunk-graph","id":1500,"timestamp":1372067857617,"duration":4394,"tags":{},"startTime":1664295111951},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-modules","id":1502,"timestamp":1372067862032,"duration":3,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-chunks","id":1503,"timestamp":1372067862045,"duration":41,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-tree","id":1504,"timestamp":1372067862105,"duration":9,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize","id":1501,"timestamp":1372067862026,"duration":1361,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-hash","id":1505,"timestamp":1372067874159,"duration":3241,"tags":{},"startTime":1664295111967},{"traceId":"06b5767d478984a7","parentId":1482,"name":"NextJsBuildManifest-generateClientManifest","id":1507,"timestamp":1372067884404,"duration":75,"tags":{},"startTime":1664295111978},{"traceId":"06b5767d478984a7","parentId":1482,"name":"NextJsBuildManifest-createassets","id":1506,"timestamp":1372067884340,"duration":150,"tags":{},"startTime":1664295111978},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-seal","id":1499,"timestamp":1372067854629,"duration":31427,"tags":{},"startTime":1664295111948},{"traceId":"06b5767d478984a7","parentId":1480,"name":"webpack-compilation","id":1482,"timestamp":1372067744570,"duration":141519,"tags":{"name":"client"},"startTime":1664295111838},{"traceId":"06b5767d478984a7","parentId":1480,"name":"emit","id":1508,"timestamp":1372067886110,"duration":77935,"tags":{},"startTime":1664295111979},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1480,"timestamp":1372067731117,"duration":233450,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111824},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1514,"timestamp":1372067973197,"duration":0,"tags":{},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1512,"timestamp":1372067972730,"duration":2921,"tags":{"request":"private-next-pages/_error"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1513,"timestamp":1372067972734,"duration":2924,"tags":{"request":"private-next-pages/_document"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1516,"name":"next-swc-transform","id":1517,"timestamp":1372067975845,"duration":5321,"tags":{},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1515,"name":"next-swc-loader","id":1516,"timestamp":1372067975815,"duration":5366,"tags":{},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1509,"name":"build-module-tsx","id":1515,"timestamp":1372067975745,"duration":7045,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1511,"timestamp":1372067972637,"duration":11759,"tags":{"request":"private-next-pages/_app"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1481,"name":"make","id":1510,"timestamp":1372067965562,"duration":18848,"tags":{},"startTime":1664295112059},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-chunk-graph","id":1519,"timestamp":1372067984693,"duration":186,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-modules","id":1521,"timestamp":1372067984887,"duration":2,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-chunks","id":1522,"timestamp":1372067984897,"duration":30,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-tree","id":1523,"timestamp":1372067984935,"duration":2,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize","id":1520,"timestamp":1372067984884,"duration":121,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-hash","id":1524,"timestamp":1372067985961,"duration":436,"tags":{},"startTime":1664295112079},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-seal","id":1518,"timestamp":1372067984633,"duration":2690,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1481,"name":"webpack-compilation","id":1509,"timestamp":1372067965407,"duration":21930,"tags":{"name":"server"},"startTime":1664295112059},{"traceId":"06b5767d478984a7","parentId":1481,"name":"emit","id":1525,"timestamp":1372067987347,"duration":3822,"tags":{},"startTime":1664295112081},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1481,"timestamp":1372067731336,"duration":260227,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111825}] diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md new file mode 100644 index 000000000..013d8e4e5 --- /dev/null +++ b/examples/tailwindcss/CHANGELOG.md @@ -0,0 +1,136 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcss/config/chain-infos.ts b/examples/tailwindcss/config/chain-infos.ts new file mode 100644 index 000000000..3a5de4712 --- /dev/null +++ b/examples/tailwindcss/config/chain-infos.ts @@ -0,0 +1,19 @@ +import { ChooseChainInfo } from '../components'; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }); diff --git a/examples/tailwindcss/config/features.ts b/examples/tailwindcss/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/tailwindcss/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/tailwindcss/config/index.ts b/examples/tailwindcss/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/tailwindcss/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/tailwindcss/config/theme.ts b/examples/tailwindcss/config/theme.ts new file mode 100644 index 000000000..aa5614194 --- /dev/null +++ b/examples/tailwindcss/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from '@chakra-ui/react'; + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcss/cosmos-app/.eslintrc.json b/examples/tailwindcss/cosmos-app/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/tailwindcss/cosmos-app/.gitignore b/examples/tailwindcss/cosmos-app/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/tailwindcss/cosmos-app/CHANGELOG.md b/examples/tailwindcss/cosmos-app/CHANGELOG.md new file mode 100644 index 000000000..013d8e4e5 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/CHANGELOG.md @@ -0,0 +1,136 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcss/cosmos-app/README.md b/examples/tailwindcss/cosmos-app/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/tailwindcss/cosmos-app/components/features.tsx b/examples/tailwindcss/cosmos-app/components/features.tsx new file mode 100644 index 000000000..c4e9cea55 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/tailwindcss/cosmos-app/components/index.tsx b/examples/tailwindcss/cosmos-app/components/index.tsx new file mode 100644 index 000000000..4d86fd53c --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/index.tsx @@ -0,0 +1,4 @@ +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/tailwindcss/cosmos-app/components/react/address-card.tsx b/examples/tailwindcss/cosmos-app/components/react/address-card.tsx new file mode 100644 index 000000000..96ff2cd27 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from 'react'; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectedShowAddress = ({ + address, + isLoading +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ''); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/tailwindcss/cosmos-app/components/react/astronaut.tsx b/examples/tailwindcss/cosmos-app/components/react/astronaut.tsx new file mode 100644 index 000000000..572884aa7 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/tailwindcss/cosmos-app/components/react/chain-card.tsx b/examples/tailwindcss/cosmos-app/components/react/chain-card.tsx new file mode 100644 index 000000000..ed1e631f6 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/chain-card.tsx @@ -0,0 +1,38 @@ +import { Box, Stack, useColorModeValue, Image, Text } from '@chakra-ui/react'; +import { ChainCardProps } from '../types'; + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/tailwindcss/cosmos-app/components/react/index.ts b/examples/tailwindcss/cosmos-app/components/react/index.ts new file mode 100644 index 000000000..11004a051 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/index.ts @@ -0,0 +1,7 @@ +export * from './astronaut' +export * from './wallet-connect' +export * from './warn-block' +export * from './user-card' +export * from './address-card' +export * from './chain-card' +export * from './modal' diff --git a/examples/tailwindcss/cosmos-app/components/react/modal.tsx b/examples/tailwindcss/cosmos-app/components/react/modal.tsx new file mode 100644 index 000000000..bb6c06619 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/modal.tsx @@ -0,0 +1,223 @@ +/* eslint-disable @next/next/no-img-element */ +import type { WalletModalProps } from '@cosmos-kit/core' +import { WalletStatus } from '@cosmos-kit/core' +import { useWallet } from '@cosmos-kit/react' +import { useCallback, Fragment, useState, useMemo, useEffect } from 'react' +import { Dialog, Transition } from '@headlessui/react' +import { + Connected, + Connecting, + Error, + NotExist, + QRCode, + WalletList, +} from './views' +import { wallets } from '@cosmos-kit/config' +import { useRouter } from 'next/router' +import Bowser from 'bowser' + +export enum ModalView { + WalletList, + QRCode, + Connecting, + Connected, + Error, + NotExist, +} + +export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { + const router = useRouter() + + const [userBrowserInfo, setUserBrowserInfo] = useState<{ + browser: string + device: string | undefined + os: string + }>() + + useEffect(() => { + const parser = Bowser.getParser(window.navigator.userAgent) + setUserBrowserInfo({ + browser: parser.getBrowserName(true), + device: parser.getPlatform().type, + os: parser.getOSName(true), + }) + }, []) + + const { + setCurrentWallet, + connect, + walletStatus, + currentWalletName, + } = useWallet() + + const [currentView, setCurrentView] = useState( + ModalView.WalletList, + ) + + const currentWalletData = useMemo(() => { + return wallets.find((wallet) => wallet.name === currentWalletName) + }, [currentWalletName]) + + useEffect(() => { + if (isOpen) { + switch (walletStatus) { + case WalletStatus.Disconnected: + setCurrentView(ModalView.WalletList) + break + case WalletStatus.Connecting: + setCurrentView(ModalView.Connecting) + break + case WalletStatus.Connected: + setCurrentView(ModalView.Connected) + break + case WalletStatus.Error: + setCurrentView(ModalView.Error) + break + case WalletStatus.Rejected: + setCurrentView(ModalView.Error) + break + case WalletStatus.NotExist: + setCurrentView(ModalView.NotExist) + break + } + } + }, [isOpen, walletStatus, currentWalletName]) + + const onWalletClicked = useCallback( + (name: string) => { + setCurrentWallet(name) + if (wallets.find((wallet) => wallet.name === name)!.isQRCode) { + setCurrentView(ModalView.QRCode) + } + connect() + }, + [setCurrentWallet, connect], + ) + + const onCloseModal = useCallback(() => { + setOpen(false) + }, [setOpen]) + + const _render = useMemo(() => { + switch (currentView) { + case ModalView.WalletList: + return ( + + ) + case ModalView.Connected: + return ( + setCurrentView(ModalView.WalletList)} + name={currentWalletData!.prettyName} + logo={currentWalletData!.logo!} + /> + ) + case ModalView.Connecting: + let subtitle: string + if (currentWalletData!.isQRCode) { + subtitle = `Approve ${ + currentWalletData!.prettyName + } connection request on your mobile.` + } else { + subtitle = `Open the ${ + currentWalletData!.prettyName + } browser extension to connect your wallet.` + } + + return ( + setCurrentView(ModalView.WalletList)} + name={currentWalletData!.prettyName} + logo={currentWalletData!.logo!} + title="Requesting Connection" + subtitle={subtitle} + /> + ) + case ModalView.QRCode: + return ( + setCurrentView(ModalView.WalletList)} + /> + ) + case ModalView.Error: + return ( + setCurrentView(ModalView.WalletList)} + logo={currentWalletData!.logo!} + onReconnect={() => onWalletClicked(currentWalletData!.name)} + /> + ) + case ModalView.NotExist: + type Device = 'desktop' | 'tablet' | 'mobile' + const device = userBrowserInfo?.device as Device + const downloads = currentWalletData!.downloads! + return ( + setCurrentView(ModalView.WalletList)} + onInstall={() => + router.push( + downloads[device]?.find( + ({ browser, os }) => + browser === userBrowserInfo?.browser || + os === userBrowserInfo?.os, + )?.link || (currentWalletData?.downloads?.default as string), + ) + } + logo={currentWalletData!.logo!} + name={currentWalletData!.prettyName} + /> + ) + } + }, [ + currentView, + onCloseModal, + onWalletClicked, + currentWalletData, + router, + userBrowserInfo, + ]) + + return ( + + + +
+ + +
+
+ + +
{_render}
+
+
+
+
+
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/user-card.tsx b/examples/tailwindcss/cosmos-app/components/react/user-card.tsx new file mode 100644 index 000000000..13c8bd75a --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; + +export const ConnectedUserInfo = ({ + username, + icon +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx b/examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx new file mode 100644 index 000000000..d892c23ad --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx @@ -0,0 +1,108 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { + XMarkIcon, + ArrowRightOnRectangleIcon, + ClipboardDocumentIcon, +} from '@heroicons/react/24/outline' +import { ChevronLeftIcon, CheckIcon } from '@heroicons/react/20/solid' +import copyToClipboard from 'copy-to-clipboard' +import { useState } from 'react' + +export function truncate(address: string) { + return `${address.substring(0, 12)}...${address.substring( + address.length - 8, + address.length, + )}` +} + +const Address = ({ children: address }: { children: string }) => { + const [copied, setCopied] = useState(false) + return ( + + ) +} + +export const Connected = ({ + onClose, + onReturn, + name, + logo, +}: { + onClose: () => void + onReturn: () => void + name: string + logo: string +}) => { + const { disconnect, currentWallet } = useWallet() + + return ( +
+
+ + + {name} + + +
+
+
+
+ {name} +

+ {currentWallet!.username} +

+
+
{currentWallet!.address}
+ +
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx b/examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx new file mode 100644 index 000000000..20b209566 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx @@ -0,0 +1,61 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const Connecting = ({ + onClose, + onReturn, + name, + logo, + title, + subtitle, +}: { + onClose: () => void + onReturn: () => void + name: string + logo: string + title: string + subtitle: string +}) => { + const { disconnect } = useWallet() + + return ( +
+
+ + + {name} + + +
+
+ {name} +

{title}

+

{subtitle}

+
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Error.tsx b/examples/tailwindcss/cosmos-app/components/react/views/Error.tsx new file mode 100644 index 000000000..780f11ddf --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/Error.tsx @@ -0,0 +1,64 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon, ArrowPathIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const Error = ({ + onClose, + onReturn, + onReconnect, + logo, +}: { + onClose: () => void + onReturn: () => void + onReconnect: () => void + logo: string +}) => { + return ( +
+
+ + + Error + + +
+
+
+ Wallet type logo +
+

An error has occured

+

Lorem ipsum dolor sit amet

+ +
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx b/examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx new file mode 100644 index 000000000..3f441e1d0 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx @@ -0,0 +1,65 @@ +/* eslint-disable @next/next/no-img-element */ +import { Dialog } from '@headlessui/react' +import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const NotExist = ({ + onClose, + onReturn, + onInstall, + logo, + name, +}: { + onClose: () => void + onReturn: () => void + onInstall: () => void + logo: string + name: string +}) => { + return ( +
+
+ + + {name} + + +
+
+ {name} +

Install {name}

+

+ To connect your {name} wallet, install the browser extension. +

+ +
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx b/examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx new file mode 100644 index 000000000..33020b98c --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx @@ -0,0 +1,57 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' +import { QRCodeSVG } from 'qrcode.react' + +export const QRCode = ({ + onClose, + onReturn, +}: { + onClose: () => void + onReturn: () => void +}) => { + const { currentWallet } = useWallet() + + return ( +
+
+ + + Keplr Mobile + + +
+
+
+ +
+
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx b/examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx new file mode 100644 index 000000000..134bfbb60 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx @@ -0,0 +1,54 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronRightIcon } from '@heroicons/react/20/solid' + +export const WalletList = ({ + onClose, + onWalletClicked, +}: { + onClose: () => void + onWalletClicked: (name: string) => void +}) => { + const { wallets } = useWallet() + + return ( +
+
+ + Select a Wallet + + +
+
+ {wallets.map(({ name, prettyName, logo }) => ( + + ))} +
+
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/components/react/views/index.ts b/examples/tailwindcss/cosmos-app/components/react/views/index.ts new file mode 100644 index 000000000..fc1535474 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/views/index.ts @@ -0,0 +1,6 @@ +export * from './WalletList' +export * from './Connected' +export * from './Connecting' +export * from './QRCode' +export * from './Error' +export * from './NotExist' diff --git a/examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx b/examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx new file mode 100644 index 000000000..3992bbb9c --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx @@ -0,0 +1,199 @@ +import React, { MouseEventHandler, ReactNode } from 'react' +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react' +import { IoWallet } from 'react-icons/io5' +import { ConnectWalletType } from '../types' +import { FiAlertTriangle } from 'react-icons/fi' +import { WalletStatus } from '@cosmos-kit/core' + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn, +}: ConnectWalletType) => { + return ( + + ) +} + +export const Disconnected = ({ + buttonText, + onClick, +}: { + buttonText: string + onClick: MouseEventHandler +}) => { + return ( + + ) +} + +export const Connected = ({ + buttonText, + onClick, +}: { + buttonText: string + onClick: MouseEventHandler +}) => { + return ( + + ) +} + +export const Connecting = () => { + return +} + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick, +}: { + buttonText: string + wordOfWarning?: string + onClick: MouseEventHandler +}) => { + const bg = useColorModeValue('orange.200', 'orange.300') + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ) +} + +export const Error = ({ + buttonText, + wordOfWarning, + onClick, +}: { + buttonText: string + wordOfWarning?: string + onClick: MouseEventHandler +}) => { + const bg = useColorModeValue('orange.200', 'orange.300') + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ) +} + +export const NotExist = ({ + buttonText, + onClick, +}: { + buttonText: string + onClick: MouseEventHandler +}) => { + return ( + + ) +} + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist, +}: { + walletStatus: WalletStatus + disconnect: ReactNode + connecting: ReactNode + connected: ReactNode + rejected: ReactNode + error: ReactNode + notExist: ReactNode +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect} + case WalletStatus.Connecting: + return <>{connecting} + case WalletStatus.Connected: + return <>{connected} + case WalletStatus.Rejected: + return <>{rejected} + case WalletStatus.Error: + return <>{error} + case WalletStatus.NotExist: + return <>{notExist} + default: + return <>{disconnect} + } +} diff --git a/examples/tailwindcss/cosmos-app/components/react/warn-block.tsx b/examples/tailwindcss/cosmos-app/components/react/warn-block.tsx new file mode 100644 index 000000000..6a03adb03 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const WarnBlock = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/tailwindcss/cosmos-app/components/types.tsx b/examples/tailwindcss/cosmos-app/components/types.tsx new file mode 100644 index 000000000..5f9133656 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/tailwindcss/cosmos-app/components/wallet.tsx b/examples/tailwindcss/cosmos-app/components/wallet.tsx new file mode 100644 index 000000000..451a74ae0 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/components/wallet.tsx @@ -0,0 +1,168 @@ +import { useWallet } from '@cosmos-kit/react' +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text, +} from '@chakra-ui/react' +import { MouseEventHandler, useEffect } from 'react' +import { FiAlertTriangle } from 'react-icons/fi' +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard, +} from '../components' +import { getWalletPrettyName } from '@cosmos-kit/config' +import { ChainName } from '@cosmos-kit/core' +import { chainInfos } from '../config/chain-infos' + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet() + const { + connect, + disconnect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentChainName, + currentWalletName, + } = walletManager + + const chain = chainInfos.find((c) => c.chainName === chainName) + + useEffect(() => { + setCurrentChain(chainName) + }, [chainName, setCurrentChain]) + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault() + openView() + if (currentWalletName) { + await connect() + } + } + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault() + openView() + } + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ) + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName, + )}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName, + )}: ${message}`} + /> + } + /> + ) + + const userInfo = ( + + } + /> + ) + const addressBtn = chainName && ( + } + /> + ) + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ) +} diff --git a/examples/tailwindcss/cosmos-app/config/chain-infos.ts b/examples/tailwindcss/cosmos-app/config/chain-infos.ts new file mode 100644 index 000000000..3a5de4712 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/config/chain-infos.ts @@ -0,0 +1,19 @@ +import { ChooseChainInfo } from '../components'; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chain.chain_name + )?.assets; + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }); diff --git a/examples/tailwindcss/cosmos-app/config/features.ts b/examples/tailwindcss/cosmos-app/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/tailwindcss/cosmos-app/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/tailwindcss/cosmos-app/config/index.ts b/examples/tailwindcss/cosmos-app/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/tailwindcss/cosmos-app/config/theme.ts b/examples/tailwindcss/cosmos-app/config/theme.ts new file mode 100644 index 000000000..aa5614194 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from '@chakra-ui/react'; + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcss/cosmos-app/next.config.js b/examples/tailwindcss/cosmos-app/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/tailwindcss/cosmos-app/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/tailwindcss/cosmos-app/package.json b/examples/tailwindcss/cosmos-app/package.json new file mode 100644 index 000000000..4ebc9f4f7 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/package.json @@ -0,0 +1,49 @@ +{ + "name": "@cosmonauts/connect-chain", + "version": "0.6.1", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/config": "0.16.2", + "@cosmos-kit/core": "0.16.2", + "@cosmos-kit/react": "0.16.3", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "@headlessui/react": "^1.7.2", + "@heroicons/react": "^2.0.11", + "bowser": "^2.11.0", + "chain-registry": "0.14.0", + "copy-to-clipboard": "^3.3.2", + "framer-motion": "7.3.6", + "next": "12.2.5", + "postcss": "^8.4.16", + "qrcode.react": "^3.1.0", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0", + "tailwindcss": "^3.1.8" + }, + "devDependencies": { + "@tailwindcss/aspect-ratio": "^0.4.2", + "@tailwindcss/forms": "^0.5.3", + "@tailwindcss/line-clamp": "^0.4.2", + "@tailwindcss/typography": "^0.5.7", + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "autoprefixer": "^10.4.12", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "tailwind-scrollbar-hide": "^1.1.7", + "typescript": "4.7.4" + } +} diff --git a/examples/tailwindcss/cosmos-app/pages/[chainName].tsx b/examples/tailwindcss/cosmos-app/pages/[chainName].tsx new file mode 100644 index 000000000..3b99eccd9 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/pages/[chainName].tsx @@ -0,0 +1,104 @@ +import Head from 'next/head'; +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { Product, Dependency, WalletSection } from '../components'; +import { dependencies, products } from '../config'; +import { useRouter } from 'next/router'; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + const router = useRouter(); + let { chainName } = router.query; + chainName = chainName ? (chainName as string) : undefined; + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + + + ); +} diff --git a/examples/tailwindcss/cosmos-app/pages/_app.tsx b/examples/tailwindcss/cosmos-app/pages/_app.tsx new file mode 100644 index 000000000..a21efd925 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/pages/_app.tsx @@ -0,0 +1,33 @@ +import '../styles/globals.css' +import type { AppProps } from 'next/app' +import { WalletProvider } from '@cosmos-kit/react' +import { ChakraProvider } from '@chakra-ui/react' +import { defaultTheme } from '../config' +import { wallets } from '@cosmos-kit/config' +import { TailwindModal } from '../components' + +import { SignerOptions } from '@cosmos-kit/core' +import { chains } from 'chain-registry' + +function CreateCosmosApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + // stargate: (_chain: Chain) => { + // return getSigningCosmosClientOptions(); + // } + } + + return ( + + + + + + ) +} + +export default CreateCosmosApp diff --git a/examples/tailwindcss/cosmos-app/pages/index.tsx b/examples/tailwindcss/cosmos-app/pages/index.tsx new file mode 100644 index 000000000..d9aab6359 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/pages/index.tsx @@ -0,0 +1,101 @@ +import Head from 'next/head' +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue, +} from '@chakra-ui/react' +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs' +import { Product, Dependency, WalletSection } from '../components' +import { dependencies, products } from '../config' + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode() + const chainName = 'stargaze' + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js + + + + + + {products.map((product) => ( + + ))} + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + + + ) +} diff --git a/examples/tailwindcss/cosmos-app/postcss.config.js b/examples/tailwindcss/cosmos-app/postcss.config.js new file mode 100644 index 000000000..12a703d90 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/examples/tailwindcss/cosmos-app/public/favicon.ico b/examples/tailwindcss/cosmos-app/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..aec78edd3b03a0c25a2c9a33b3a19ef7d8024ce5 GIT binary patch literal 25531 zcmdUY`CC=zxi*Lhh=731lY*iGq9}ua8w6yYL}c&HW(FDdW)hi)4NYr?CMR=G1`|zt zGBnj5Gbc@&+Us(TLrgRzQIpv5v`y2K@A|%f;JfejynF2}?GNYI)9Zf5_g!nf?=!q> zp~Qaw+u!W1DfL?!xzf$e&9A&{&ptP|<=_AIH^RL=;DrSgX-+ry(S4m+h_EUyP}7GCfyBg$T2VvCFUbKs);=*k>oeZoe-B|3m(_-`sQU z$t{?C<>HrXZoPZx(tBfULS<}UxJXwX;A%ks%R5hlXSXbIyP7J@8+D&5_gHawLA2>(P&SL!B3xu$wg%agUy5Dc+=bWfC0`;yQ@06 zc|tv=PiC+wfWJI_ZZ>H?dp+Eg8==P!f(?aljgct!ym?IKyeEQiJW#NGzcX0Z=LFbp#wThSJ90iOpn>yAx(r?p+A zz{8C&iY1^erDpe`bx<<*Fu9HCV1Vi=mPAck)>vt;h4E!xSn%6Hi6B8!lX`A~?pkgY zHShpacJUdpe5Xaul-*#I`gl7*6U4a}ZQz_QxOp$6s^r}}pr>$A`>Qj-zx$6jz;*CK zR!Re?KvhI&;~XC; z*tQjNupg|2o93mNyHde*@NFF_R>@aCQPrn{wRn%MiMMBU0_sU$JY5xP^4u>z;cDAr z@Nn2y(?7*iqd>)M2D%;e(d%IA=uDZOFm6;~w|2nciU}ADArLV!u}ieDMz&aV{VaHa zxP)ghzXw+~#x#yW@eBwyjIhdeR6^@kTN39oh(`M_ zE{vsFtB(C!kFe$vwx#i$-=13n4%|96!qkkOeV>j}Hb6p`KRCcGs}h3NbN&b7zWEwt zNalC1of4aiyzn!yG_Qj}5RF8v*gLL^UtRd*QFrK+MA;QZKeukOHocBf0nDmB_Nm=4Z$L*H z*trv6P0T28>oNXV!88^17p;I$D{AAC1pcQ_sa;Ixcr%~?cj}7#N?3bA#h}$7R&-+T z&G(`rS;ZmeU&`AFxxvT{t~y8^;G2XSVij%z0dt<+;Sk$+>WqL^^Ts+Dl4kDRAg%@G zt%Da(i4&(<`S3O|KfZ5W_Ac-47XBzuC$2-eD$aSlRKO+qdDN++>+AdVfkbHB!*Fel z_-ZJ>U=RTx5k=-HC_An`+orl#-2alZ2(m!xQhm-GG#*p`j7eA5Ay;E!bZ&0k>9M(v zHRwitwW!QFr#NHE=&Ov&6!68C z^ZCTA?@vCZn``-^YT&!b6&H^6!%Pwvm!PARO)KbDJ7ayYgn%LEmSCyKc5+pN`(u`- zBpB`tPz%VGkPi;{_&R>96Z^JGuvo&o87`m+WU>q%D1}@I17p>wC^4GDAhkxdhds6s z_!caK%@8`c&hoY`0W4kt&t~-!v8SovOtG{81`OaiTUY{?swPH?U--F)b*n-&3;RV7 zADW=fgQaz5#{{mtuwUa={Sqk7^7`~0m>(ba1J7@1ZL|(@qf1b`4-T%;+B}`HFxxz> zN<*!p!&m0pwm{~#@o7ML*CmE~H8bVjF!srRvc-n@36l&;2gTXar!(m6=GqMEE?1uR zfF;PThO82u+sOm12QfDQM;DKlhinvcd!P1!yATlv`-^*61YbTJFJs_C0cvaNywe9Z z>zXLx5X?^j`)YIO_WlI%tH5#8VSU1?85FtM-MFBYtK*iG38+b5{Ydo=Y=2dl&`5PF)j) zp$CF;!Sae1SeYzdV8D41tT0nsH3QGmRHbi(3hZg?+94WvUn^L?v%i_6T0a?PAbIAh zKtj9vAy^-~9pEv(_{$2lcNlj)-*V+dO_C`fqFXIkt^wyA%XJG%P4}+EN6X)?_YAQvN6&kqeG#Pc91G{PjL&6ay6iOmC18@UjEU_Vwq$@;qBZ z?0zgkW<0vEne{DT%m)gY@fL<)VxBLsjb5uwoSg##Dnx)AbgfB+pyjU9*2cB~R9mRv z!coF%EaKchy>bd1=(NO$;se2S6a{-7Qk5(N>hXQr#5_i!hoM`+!^#y*n~vL0L2VZ^ z+Cv?QVn)sCv+Sa&5~lU>ldUuL``WKPs?XVfhi_@Xd4JwO`y&w5DLnju&rgCeCoC0{ zmx@;}j1mx#HDXf7CJdW1{|!E>E@T?GN^r2bR(Ewk%Lj$^tq;nAOi$6);k+tJj?~ai_6&zBg?_mY?krFt`=}Bt1^dC)!w64Kh99e z<)%_VI;usx_(tL~Xr&=wY)2L>3sHx&tKez{@obvk+u>dbX}IxR?*gQNN%lBLTHogE`&(~hJ3+x?HXf2E~tD3@U#VTMChCk&gVqt zA`axd>2_Fva~*bA5lP~0wivjH!6~jff4~sGpz3q30S?{}SU1cB-IY5T&^dGG3hrPl zs3uI+elmjn#H^|8 zgu;WNW3Z}-OHt;HCqx&{Nco41r#H{;Dy!@aVi z@7oJS6<^$x%xb-S-`-a3FE+%sK@6}mnVa&dE^s#DxbA~t00DbIvoXDn$*{hBZmQZI z5>6iYq;wi3N#suIQH_Al1te^p=4FvGE22e>&GyCD- z#wKuUHyFSyv40}D)KRwJnw4gzl|{Pv?yh*|4XER!20p~b%Ke)$*Ryun(T!>=%a5sqHB-jYxhE{>734V*8?;3>gP3OZSvOdC+lD@#De zmi(65Chcp8Tk2Wi@^el(9GqXp-U8Ugw%iz{@eY7GiEi8rUBB2-ATq@pBAuO$i%nm> zt#K7pMkGW^?oU$bwz&)5pxWfdtKqA_Mt!R&d%V?|Niqg*YN3D{rvUUKj33|_a#X47YDNsY&Q5MK|~(_^AMMC z-ge(iBuh8)5ZDmt(hCgm+LREUzl`m=Ro8y?(J3gvJ_gAyI{P2EaU3iG6oto#%Lc&{ zhbsm=v~Pl}h*54TqMP@<^p*?>_YBR2!k^~^hnVJYWm_gjxx>tvVdjGyW;LnGY~AYI zPXHtSr;{&(500~rfkqIwE^hHniQruT768DV1EC^xZh^-2vPF8!!QwtT0S=^s)c&9` zctGB?$i1|8fLH+03{>>=xay*F{|>Vb1gI@C;3<>7+TR<0{{ueYB3Td{B-Oz3G=i9= z(orx~#?S=r5E=Qr7f<_MpK9|w6Dybzv8oL+U%d^Ws``&u;W-EElf&xBV+R9#it5O^ zVsUMS@Cw69VF@;NH1go<5jXdwgS`p3fx=ww%(V(Kbgi~3^TH8W znYsr`zM`(GqB}1^*M9s+$oHnd%inm7zM26qa34@$B&%Wzvla!?!7YUH4BfuH$0Xh{ z5it;Vzk0-f>6EoWv_K2@cHswLhUTVL!}_^WsC)#|Z(|VEE!WsLs_=KgIXm60Y6XTo zh8F_!yQ1gzLuMB`^K4|g7G!*egY0BMK$SP2mL(Ru4p7N}=An)N@w3V|fBF`E426Jo z1(b_my6uHzAf9n*c=0XhK&yxZ=G>o$G7tvJ<269Z!9T0b77VEs z@QY7C>kE&lhY++LWJ6Z_@m2}zz*dSMyyc*C+9p1OJ>m-6B&=$`6_?+xwS=^*X8ZD$ z6+FfOhLR@+@XZgwB3pYGTKyf*;DWtDpZ(Mayal9#djxiW@iXwsV9sO;l9Zn(fgp4S zGQA^%sRx+v{_PdlkBb==1lbKr``vL?W~ra4`0TOEZzK%BVD))kdAWh{ZY#|_{Yn{> zWh{rVkfzgbYI9&D?Y4x3-feS=!{cu9IF5pgJlG$W1zc~Z6(-miLuRZ z5j}|Y{K+F=wiV4G+uC9(#eeoGk=_icd6f6EaqnI}*WS!m*BU*U5$8!3cJl?!aKxN_ zN!5 ztN~$6QzK|LCb~aWeBf(9tYSg(TF8|=SFc-*pv(mG z=*Y-eza2uGr9vZ3e)zA`Q3j20pz&qih| ze%40@mW3ar?QU9p5F&C@hu>9grV1v5ovfxp`hDa(`YVY z*#mCY#UEb$QFc#AG zSvJ64P+zuI-Qr*~19My)lfPPzIqw?4jqy&av^PuF)rVK6+&ZTHxqg~j7glo;69Bsk zc)$i2S_QKJqSZTKezoJ}WMgpZSowg~0KAnQ)Z!;jaF;k1w)5;&FXiS6nGzAPBNUo; z1*_m=EhkVGA6O1HSBAEt-Zw& zY3MsW!8)cHH$TVDR2JdlZR54*$wpw>K+A5wzH9v)6d+%O&LeaU$}I1@T+0O%CMnFU zR$Ye*xNu~4HGDwyMjuuzPNnO|gGbsn2l&Lr!`9Xg=?wz72*98f&y!-*L6m?b18mwI zAUo*%!}HP%&>I$5StaA_zH+=(4)Cl|t^tW{v-Y!eJ^XzCFz5rK zts6wy%L5wN*0z0kId8bidX7(1iG+6cad%U(vkSR5hBzZk9ca*jy21;;77eR=(5pps za4RSqWGpUAj^)0;d+TjhkFgj`P|LNbqJwtvnfU#?c{~DJMHox3ANLN~3uF9uuippJ z1WIGZD^#Kf88Be#i^su}6tSmVarSXO1}o8>V-eQz^}5B4@w<$X%8bw=yK<9^at}I^ z3YjW{*jzm?1XOf6c=iDv1;Cl79XVLJiCF_GMS#1Tx?L6{?j4TYz^nkRZDNyp1ebzK z)R~-7kl?Jg<3dZFm>#7}Q4G6}#qA0Y{B4cqXMYMxm&xDY@aAkIAmU&#C$aN#RmEu~ zDx;C?7Qla{qZ|_$Q?`UFVqw_h%>Gr;di`~-zVjixr|$tv(0&krV&ttW+smD0yn7NJ z0lv&SpoNIVG=2V(_H_b{dDnhma5pglrmbABpc}$BJeTF677LB>N&)cz0Pd=cb{prl zf~sXy_<|QCZ`R=B>Nbe68=nK(yBuaod)jhGAIj($L<2}2Tt-jrXQOsi&lpJ2=4*cl zFb>lvWhF!CrUerUkShW_EfOywzJ_%Ko7b?`Sa!}rXbsoLwS>u+hD>=&ANu$Ws63Pe z6A=B&L&Y#^UxfNtsxKqP8d$lFtLp&gzR>C?_xB8T?*;yI}Iq9IKv8n{#DHB>G z)p6svlMF8G7;LQ4r$+aG^Iq8b$C=e$(A~j@gKuu2lV?Ci7{lT}%T)m!!r|!V_(l@% zLLRe?6lgy>gozWpcDJYvcpX$RGu&;_-Yl(fv<;h8zF1p39rdKTw^l9|UaH=lSMQze zSRNX{++Y#=A(q*|oT-%QCJ~GRzNQ$qjw<_oDq?Wpa9N=p8f$$CbB_By8rn42YQHkn_Vp|2VhwHDC3;~tvlE^RSa#2 z*sK^#wNMXFx5A)V?mQ_W`X*_2S&3vmIv^Sbj{Hiyu;#)GUW2B zoN(}C)u4`!0+|5r*ljZVLfN8a<+M7t#E+20pAPe6SOrQd(0+$3NoGdHh+N=qf$Yye z1g{;*Di#}DZ!72p?PO6h#&cVB;Ski=ph)mtym5vq_D#?yf~UX*&SP$kI)-MwwXa&g zex9=Gn|vcwRv?Rt6|D|2XgY4a4pl25COAX;oZ=lA61vx(In@Ob3<7qG08bZ9e>dcq zxuKRQBe)hE?d)1@b{=kt7moOD``z)!Ow4_isYq_1RvPRwF;d$RJGPLoamTK0s@YV$ z<#O$JA$nNO+BaMfj`UO+0bkdV0InTBHg9NlP)~+hIrJb9uzMK~BE$LtG4ZpOA1l{$ zO>B@+N{Sm|O7cCvf9ZZmb{}KO=dwAoK-|xaqmZCSw6gz~K#pgw<&TdaWtagJGd~BS zX%2!^V9KDfCipB@tn27@##bMhDKiJVyuU)HCo!a|s|zZBl-{b(Zm;3lterkd=Y9^A z0RUP(9QR0Tj2D+pgcii4>ONJDv#AMP6$detT@O}J$Uxw1(f&)G6uBapS59k7b^LcI zhm5QS7Gwp;$ctQ|eL<@>5Pw_3_a7XY-RW2qoTZ?hlf1GWeW|@`gJxh|eaeUNTM2T0 zo58sJZ1)1hd{vur^DB^t#wV|U37A124=`SBY#{Fe0sIEK_>3b9sm#m@Pzfjzq|Ju} z=D0B6(|a5bfRWZP%R{jRl$o>Eu?vf(K^;Kw16=nXA9)HqNgPY~EOW(=r3Rnt$30yK zYqkF>q{}+KQ~Ma>@sz+fR+9E3JFB~4M<)xRCQs!JdIbnzrRv~j1Ux11;|f<3qdTFn zLe*KDcJ;?F0+TwxnM+22cVlD#@9_@pOJ^mQ%wsCIkQ*q{T7%_a;}MZv=;ae|0E$+G z%xB6(4>%X??yT=E6R?3s^Q;@Sf;LOo>G;jGp?X0ndO4>)_=jsb5|Vmm1+1oU3?ZQYm4Co zrj>;H?Y(b;i!2mR5N8`= z{lQBtVEsY6z;)dDO~|;{_2W#d!H@S-nS|!)w_`g5n~_cq0!_`OckbyaPlg(1rti*k zVE+6D0K!2*p_*SDIv*@c&V-@;@=)MBw9~IGfJgJm+!PSlATku97^K3V#Mul9U?N?6 z+&IVZY(4)=^078UHFpL$_N$JL+B9xJz=!cU`G+#bAo6N>iDQ0mY=G+0@K`nyaQ(1I za0XP6=Hr_(ENXBb4-!96#{WBf_F;YATF%4Eqj5x&|$xG*xjUkK1}L9C_{0pE0S5NuHZ*njaPiG?%T&g(lI*E zbG1BqWtr9b*AIUV{mc*b!6k}TeGD&q;M*73b^@!rUDuPKMMV^4Lu9x8;pA^2Z#>V0 zb@Bk+q>=y?;CogHched%vj6r0S0S*kXs&D4Em5u=73rUH;YdWG=(CZ$d4Ft~MV$d` z0zhkP9*KZ))do?7FXNiDAKbJQu5VcAWo_n9fu+Tffq;SygZz4P1rN80BGy)jM`gd) zx4(MwAoN;qmUHJ+Blzx^EO3Dj1P{~YV)C6Wi0ruhDzx}Lx9$^%_II9K#9mNH9T<0| zQXI)jXt4yUlMM#2tiNiDc|~&|qZ$KpHf%(#FKl9iD0O-@1h>Uu1n*8ziZhVqOt6x4up#A1FGuhC~ z5D0o8Jay|DAAkDT3TyG#PeA+QQ}=;afE=rVs#Y>f7rP)IWK8El0rZMcttke0S~?GG zfR8tTN}Uy+Y%S&~owb4fbdV174pC=W5WO*A>7Tv9%&|CB2BA%Zw)ka$dz&obeWepc zOs3j*%Hh9Ch>wN za0AH&yn!|%1D79DmAV0TUrh{mI_(QqSK$L5ck_jaiH6cvsNejM&$5Hqvdnn+AQ+=K zGYpmk(veUw$_7b}I?cBq&yn7R1K@SeqJ*_Edj0-`kPI=)@e=D2;Da*0KlQL!`?rbo zgQ%Ok{c7IQ06;W zWPtMaE~qz69DED0tQAHyFqhXe4h)+sR*S(&92Tfas$O~PZ+>hqdNv%v4!w$iy=un3T?6^=cp7esztpiX> z4zy^0-pis1lYwRP`x~IOl%9Dn{=&oJ(|Mzch83Q3_kvY&?!*?E;4^UMP1RJ4`JB?B z?wlM;cbM9jYNZ9CC){8NygqT5u&=lK{N zk=(vrOtldh`#_di#(8c>@<;>Ip`-2Q)6i2vQS6?rp!|L?SFC0GF2Q8Ab0;!%*Cg$i zq2O0p=HRHB9x)-VLAOX3@RjCQE7F0i+VM|(*7|ImJIOU@BT~_;ngC( zd-O=R?rz@5(u@#WRua29%xuqNeA%2p4~QKM2n8NtM?XP_sb5TtiWVd62i;FtuCz4Pee=dykcAf4~aO74t*97+7wc7R8e> zR;36{J(ewd@zl0)?Y}ju=KXneaVH_|b)P;2Dd>XeP%pScTF~Lh0P!4Cp@CNF4c3{+ z*xEqx{d>V#AcBQ!r}*3;b9Ys1z@ZJ|^w)Gc5*0~z~kD1fP$QBhPE z2Zfmv`cr%=;q+_!!w-)`ssd`QO$+FcgUzUQw3+$#6lAa}HhR`X$3V64N7W!+|oOxB$CD@D@_9Lefi{`p(l@5jK>!IXxaJq515?pQa1auNN` zV=pK(FCp6icV?@M*?E9525}4qaQRmv4=t*jSX4k+Nas#8jjDO--aN$59ajCR`WddG zs}F;>^>LVA9{^RLq0utP)BfW}SXjW7AA=1p7lSoz=1JiAH=F#weeIoL?KUz2+<6$Z z`^Uo8x>QC>ASzl189bo8a#s5fU2H`M2E_xO15y#PX@BS|BUg^;GoY+)y!MQ%ee+o^ z%-LIiIn3>8Yn&;}N0%xiXjrHLLWfEF zy^0LR<7?Ha>H1(ny*mEvS@0QnH{SWuslDoZAyK9l+*8#?c*4FXj^Fqhlb$MSGGY~>^JZSjvikPe2NZmSE4XDr4una!L^1G^O(3nK z7gW?(4}!&0x(a1;ebfw(ncS_~$DK1ACN6@30@T?U3bmStL%<RZK_PpiH`S!h@a2H?od|oUebrc=YB274TGtf#rd?MYb_(Fg~bXwJ!|d z{OcbdhtN8L^U61St%5M~Bpm{!FHH`70B=<{%{m6|3h)LvV#N>sm;0UsXYy5?H+4b} zF!NwC*0S()q&7tzg0b9jS5_xb5Y)el#rgZ+Fiy;MKbLg-<;7RIzUl2OrkWTq9bUQy zrAIfCTB4zIEx_V^({?UZNA3a>Ptw5@0(?4i$G5K6d?vW57%ZI{=QGPjP!21;QY8m! zI7o+T@VR9?p;=x4t3c3cQ8m&zlcqa+{_pXhJb(T^X95Z^G@<>S%*_)r>%#r{G3o?U zolFN$?A_ciMs1k$&Xd|tP2%r`Flqldnb>WqZK`5AnI9EDZhr9% zFqLZq)bp%f71T`U5$mr~k3pb(KO@xC8Y1Qrp3Kn96{{KCpy^N_qxnTH!t~|vHbR_8-l*=!G zZ47gDjq!W(t4DR$0yJw5pLF$Auxsz#RahNx{qZMHgXhkG0e^nzexn6a-IR?rFu)wL ze`~KjbLTK53vmgCJX{@}Og-?;zkx9}e9%S^z+z)qc@U&`tzfxWa>4fIb%QsBM}ae@ z^+m~{5Ws~W6^R1w&!kNqG>e1Zkr#gCQO`$o8pY?F8zT;#v&%UXxccv42?xLoUR(js z@$eiz`d~5`uvWA908@v0(Qy)2uFTbUn{F@#jXYX_Xg-Xw^JEQX?+OPG@&yyDgV+!X zR+LrbUzzgdvryYZp>S<{zwlXEajY}PzZTh?^5s1oOl3W`^R9qePBqkF-VSj5+o>uR zZoCK3$|U)TE}Z27@LGUjSKD9>2vq6AX!RYRWY&NNbp_OV^?azTEnjyqS5&W4otl>^ z?zNXsB-ur6-3_U(KTz)t!`#{c&LReu-fCFf{vyDexMHAc-CV~uZZ;95YGaiQfx9uU zfOE|TSSvyKs+|fVWCr-Su8HE8S(IfgaCI`fdvu2?7qO=yYS!svqLf0cV<`ZfAW%=d z{hZoVT(Ob2TA@#vhZYC2T|EWv*Gt9-^4$L7750jtNd$M&1{xg$%e?d=xb~N&#;A(M zabCmf=Tc@HTe$tO#t?8Lhyy!va%XvSQiC0AU$XXZ-C6l+1B}-3$qr_QYmBY|OWpAK zyAV8_SWyis#(Zm-n;Pw3snvC;p!3N(m?dtz)H3+h1CSN^i1yE;*j2&6+rfJ;zFG!e zYBy|x$O8Q{%mLiLF)E(xBe8c9Kme;!jX+~7OoBofU-_4;psX4l$zUwhE}+GL1RHft zSJWY@9Uba~S6PqD)+b$jhOa4BXE(>7GMUVV$J_U`Kfzx^wHn9H-#2iQR& zR?)$uhWTo|^q*&5Rt3)JHi8C0I;x=gUH&DwxmlclefM5b7LRIwci93`fnMen z8Bzb`{W1sqvq!)dc>1xPia&oWp=%`+AaY1O8M^k{cY*3YJjj8MUlzFoVk2JpX$`hIrMS5T>L2VH!o zqiTk2k(g*bE<7q|WZxS&xw{w>FV|uyx5^>k3vONI4L|T~1=C!5b zN!0%3gAwkD3z}%z0M4_{8^khHd->}5W)r<5V3t_k0@&XHR>TTpMF{35qts$_*FIfq zZuP6r=d*y}aor8&kQiSbfn1pFY$(QH-E!YuAxhF%n&UXODJ{g|fnG#M?WumU;GJ zZg+3^{I}u-XQBj`--}|a@u8Dhw%Gr@|0f0i^Oa+({3_;_nJHD6Y){^!ytsznO@;in F{r|_@0MY;e literal 0 HcmV?d00001 diff --git a/examples/tailwindcss/cosmos-app/styles/Home.module.css b/examples/tailwindcss/cosmos-app/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/tailwindcss/cosmos-app/styles/globals.css b/examples/tailwindcss/cosmos-app/styles/globals.css new file mode 100644 index 000000000..510ff1d53 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/styles/globals.css @@ -0,0 +1,4 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; +@tailwind variants; diff --git a/examples/tailwindcss/cosmos-app/tailwind.config.js b/examples/tailwindcss/cosmos-app/tailwind.config.js new file mode 100644 index 000000000..5d7ad12b7 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/tailwind.config.js @@ -0,0 +1,20 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: { + colors: { + purple: { + damp: "#6674d9", + }, + }, + }, + }, + plugins: [ + require("@tailwindcss/typography"), + require("@tailwindcss/aspect-ratio"), + require("@tailwindcss/forms"), + require("@tailwindcss/line-clamp"), + require("tailwind-scrollbar-hide"), + ], +}; diff --git a/examples/tailwindcss/cosmos-app/tsconfig.json b/examples/tailwindcss/cosmos-app/tsconfig.json new file mode 100644 index 000000000..99710e857 --- /dev/null +++ b/examples/tailwindcss/cosmos-app/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +} diff --git a/examples/tailwindcss/cosmos-app/yarn.lock b/examples/tailwindcss/cosmos-app/yarn.lock new file mode 100644 index 000000000..81c66f91b --- /dev/null +++ b/examples/tailwindcss/cosmos-app/yarn.lock @@ -0,0 +1,4866 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" + integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== + +"@babel/helper-validator-identifier@^7.18.6": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@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== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime-corejs3@^7.10.2": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz#f0cbbe7edda7c4109cd253bb1dee99aba4594ad9" + integrity sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g== + dependencies: + core-js-pure "^3.25.1" + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@chain-registry/types@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" + integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.0.tgz#8e42132ae451a2e4cbd9872a7b921612e5e61073" + integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== + dependencies: + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" + +"@chakra-ui/alert@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" + integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/spinner" "2.0.9" + +"@chakra-ui/anatomy@2.0.6": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" + integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== + +"@chakra-ui/avatar@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" + integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== + dependencies: + "@chakra-ui/image" "2.0.10" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/breadcrumb@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" + integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== + dependencies: + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/breakpoint-utils@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" + integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== + +"@chakra-ui/button@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.10.tgz#432051952fa074fd9eee8c4c6c7a6d67895b3ea2" + integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/spinner" "2.0.9" + +"@chakra-ui/checkbox@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz#aeec60c0486e4a0913d9a32708607417c99aefdd" + integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== + dependencies: + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/visually-hidden" "2.0.10" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.9.tgz#c06486d36f4a4cb517ea75176e05021dfde117cd" + integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/close-button@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.10.tgz#30c143682edc13e458270cb3ec2bc80780408830" + integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== + dependencies: + "@chakra-ui/icon" "3.0.10" + +"@chakra-ui/color-mode@2.1.8": + version "2.1.8" + resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz#887325572cd64da0a063d063df631c74fd25de2e" + integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/control-box@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" + integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== + +"@chakra-ui/counter@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" + integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== + dependencies: + "@chakra-ui/number-utils" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/css-reset@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" + integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== + +"@chakra-ui/descendant@3.0.9": + version "3.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" + integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/dom-utils@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz#5a90916bd64c12fe202b7844052035311669aa2a" + integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== + +"@chakra-ui/editable@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.11.tgz#1568b2450ed71693c9936054e9b393208b087adf" + integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" + +"@chakra-ui/event-utils@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" + integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== + +"@chakra-ui/focus-lock@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz#3cd66ef8fb84af819aa6db79f28fbd3d3354a24e" + integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== + dependencies: + "@chakra-ui/dom-utils" "2.0.2" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.10.tgz#b279c51728a53d2e448736a5cdbea6cb53d3e394" + integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/hooks@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.0.10.tgz#43ceef03c2def98c2add470f7056eae268c113e1" + integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== + dependencies: + "@chakra-ui/react-utils" "2.0.7" + "@chakra-ui/utils" "2.0.10" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.10": + version "3.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.10.tgz#1a11b5edb42a8af7aa5b6dec2bf2c6c4df1869fc" + integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== + dependencies: + "@chakra-ui/shared-utils" "2.0.1" + +"@chakra-ui/icons@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/icons/-/icons-2.0.10.tgz#61aeb44c913c10e7ff77addc798494e50d66c760" + integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== + dependencies: + "@chakra-ui/icon" "3.0.10" + +"@chakra-ui/image@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.10.tgz#712c0e1c579d959225bd8316d8d8f66cbeb95bb8" + integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/input@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.10.tgz#f00466daacd5e1d24aca59f326c8e9d7fcb92919" + integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== + dependencies: + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" + +"@chakra-ui/layout@2.1.7": + version "2.1.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.7.tgz#a273a220a1001d145ca96f3c88edad90ed0f7ec8" + integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/object-utils" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/shared-utils" "2.0.1" + +"@chakra-ui/lazy-utils@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" + integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== + +"@chakra-ui/live-region@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" + integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== + +"@chakra-ui/media-query@3.2.6": + version "3.2.6" + resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.6.tgz#7de9e1ddac367bcdda4e70e3bb7293bb2322e36f" + integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.3" + "@chakra-ui/react-env" "2.0.9" + +"@chakra-ui/menu@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.0.tgz#14891c7d3000acacf3213696cd1ed3b6c84029e2" + integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== + dependencies: + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-outside-click" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/transition" "2.0.9" + +"@chakra-ui/modal@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.0.tgz#99517a51446179489137ddfaf91809b392530f59" + integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== + dependencies: + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/focus-lock" "2.0.11" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/transition" "2.0.9" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.11.tgz#8dfaf8387a4fac17a1e29703002afd1910608e0f" + integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== + dependencies: + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-interval" "2.0.1" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + +"@chakra-ui/number-utils@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" + integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== + +"@chakra-ui/object-utils@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" + integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== + +"@chakra-ui/pin-input@2.0.13": + version "2.0.13" + resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz#2f2c168066eaed63a100315202be97a6a1e60271" + integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== + dependencies: + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/popover@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.0.tgz#a67cf5a10167eeb130ddf5362929e7d5d1df0958" + integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== + dependencies: + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.4" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-focus-effect" "2.0.4" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/popper@3.0.7": + version "3.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.7.tgz#af3428bf5d64ad9372210a70181f69a9d79eefb2" + integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" + integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== + dependencies: + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/progress@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.0.10.tgz#9191ae9061ef08066d37c5cb8341fedc10214a29" + integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== + dependencies: + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/provider@2.0.18": + version "2.0.18" + resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.18.tgz#b98f06975752eab21df797d0bd7e75dffb7c9230" + integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== + dependencies: + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/utils" "2.0.10" + +"@chakra-ui/radio@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.11.tgz#e52142140c2aa00fa758f504cef1c83513be0b2d" + integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== + dependencies: + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" + integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== + +"@chakra-ui/react-context@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" + integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== + +"@chakra-ui/react-env@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" + integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz#ac95e7fc9a0175eb6f423cca2c039101ff6996e2" + integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== + dependencies: + "@chakra-ui/dom-utils" "2.0.2" + "@chakra-ui/react-use-event-listener" "2.0.3" + +"@chakra-ui/react-use-callback-ref@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" + integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== + +"@chakra-ui/react-use-controllable-state@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz#aa1fb1b238a8297edc750726e52968540b323897" + integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-disclosure@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz#5f1fb8de00992277c8e2f751fb14970a587c8a38" + integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-event-listener@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz#11b5409c4442888e7981d5288c9e781acdacd685" + integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-focus-effect@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz#d6b1f6360c402b4b018c579981631a0c7c5f61a8" + integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== + dependencies: + "@chakra-ui/dom-utils" "2.0.2" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz#f02abb3cecad408677b5f4d2a9faf805537a2cfd" + integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.3" + +"@chakra-ui/react-use-interval@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz#a8f5dbf83607f5dc53022aa2a766fdcb09d8a081" + integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-merge-refs@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" + integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== + +"@chakra-ui/react-use-outside-click@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz#d0136d1c2fb45d86361224e98e3a50648bf9b85f" + integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-pan-event@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" + integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== + dependencies: + "@chakra-ui/event-utils" "2.0.4" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz#e19f6b363271f62c36c9f3bd91dc60caa4c4e340" + integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== + +"@chakra-ui/react-use-safe-layout-effect@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" + integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== + +"@chakra-ui/react-use-size@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" + integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz#acacadfb7c1443aacf634ddce710b1cd7cf3b6ec" + integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.3" + +"@chakra-ui/react-use-update-effect@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" + integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== + +"@chakra-ui/react-utils@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz#5be991b6ba858fe481a3d454165f499f7f8de082" + integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== + dependencies: + "@chakra-ui/utils" "2.0.10" + +"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.2.9": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.3.4.tgz#e3f7364e155b805fcaf1ef65c5e6e2db4f840563" + integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== + dependencies: + "@chakra-ui/accordion" "2.1.0" + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/avatar" "2.1.0" + "@chakra-ui/breadcrumb" "2.0.9" + "@chakra-ui/button" "2.0.10" + "@chakra-ui/checkbox" "2.2.0" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/control-box" "2.0.9" + "@chakra-ui/counter" "2.0.9" + "@chakra-ui/css-reset" "2.0.7" + "@chakra-ui/editable" "2.0.11" + "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/hooks" "2.0.10" + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/image" "2.0.10" + "@chakra-ui/input" "2.0.10" + "@chakra-ui/layout" "2.1.7" + "@chakra-ui/live-region" "2.0.9" + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/menu" "2.1.0" + "@chakra-ui/modal" "2.2.0" + "@chakra-ui/number-input" "2.0.11" + "@chakra-ui/pin-input" "2.0.13" + "@chakra-ui/popover" "2.1.0" + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/progress" "2.0.10" + "@chakra-ui/provider" "2.0.18" + "@chakra-ui/radio" "2.0.11" + "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/select" "2.0.11" + "@chakra-ui/skeleton" "2.0.16" + "@chakra-ui/slider" "2.0.11" + "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/stat" "2.0.10" + "@chakra-ui/switch" "2.0.12" + "@chakra-ui/system" "2.2.11" + "@chakra-ui/table" "2.0.10" + "@chakra-ui/tabs" "2.1.2" + "@chakra-ui/tag" "2.0.10" + "@chakra-ui/textarea" "2.0.11" + "@chakra-ui/theme" "2.1.12" + "@chakra-ui/toast" "3.0.12" + "@chakra-ui/tooltip" "2.1.0" + "@chakra-ui/transition" "2.0.9" + "@chakra-ui/utils" "2.0.10" + "@chakra-ui/visually-hidden" "2.0.10" + +"@chakra-ui/select@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.11.tgz#d4234e89f531f7a185be8c6cad372de3dc6d7391" + integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== + dependencies: + "@chakra-ui/form-control" "2.0.10" + +"@chakra-ui/shared-utils@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" + integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== + +"@chakra-ui/skeleton@2.0.16": + version "2.0.16" + resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz#7a62c7e11ab2d3a2bb68c0829e0a00c138a9692d" + integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== + dependencies: + "@chakra-ui/media-query" "3.2.6" + "@chakra-ui/react-use-previous" "2.0.1" + +"@chakra-ui/slider@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.11.tgz#ff90a8883d52af9d7f5362714b8e838a05d4d133" + integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== + dependencies: + "@chakra-ui/number-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-pan-event" "2.0.4" + "@chakra-ui/react-use-size" "2.0.3" + "@chakra-ui/react-use-update-effect" "2.0.3" + +"@chakra-ui/spinner@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" + integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== + +"@chakra-ui/stat@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.10.tgz#5bf995b8e96c9c12ee63ce511626eb89f432a667" + integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/styled-system@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz#6152739f817b6c6786a53c8388ea7ab5b338e7cc" + integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.12.tgz#372333fab885fb9f46caa95ead37be85cf6b3913" + integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== + dependencies: + "@chakra-ui/checkbox" "2.2.0" + +"@chakra-ui/system@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.2.11.tgz#88f600589d2349489b09e448e974bbaf93e173c9" + integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== + dependencies: + "@chakra-ui/color-mode" "2.1.8" + "@chakra-ui/react-utils" "2.0.7" + "@chakra-ui/styled-system" "2.3.3" + "@chakra-ui/utils" "2.0.10" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" + integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== + dependencies: + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/tabs@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" + integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== + dependencies: + "@chakra-ui/clickable" "2.0.9" + "@chakra-ui/descendant" "3.0.9" + "@chakra-ui/lazy-utils" "2.0.1" + "@chakra-ui/react-children-utils" "2.0.1" + "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-use-controllable-state" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + +"@chakra-ui/tag@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" + integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== + dependencies: + "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-context" "2.0.3" + +"@chakra-ui/textarea@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" + integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== + dependencies: + "@chakra-ui/form-control" "2.0.10" + +"@chakra-ui/theme-tools@2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz#de97b422799627b5a514ae424ca08c1d348bc2a5" + integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== + dependencies: + "@chakra-ui/anatomy" "2.0.6" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme@2.1.12": + version "2.1.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.1.12.tgz#bb4ffe38849a5f7163895f74a08a06aa916fe020" + integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== + dependencies: + "@chakra-ui/anatomy" "2.0.6" + "@chakra-ui/theme-tools" "2.0.11" + +"@chakra-ui/toast@3.0.12": + version "3.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" + integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== + dependencies: + "@chakra-ui/alert" "2.0.10" + "@chakra-ui/close-button" "2.0.10" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-use-timeout" "2.0.1" + "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/theme" "2.1.12" + +"@chakra-ui/tooltip@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" + integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== + dependencies: + "@chakra-ui/popper" "3.0.7" + "@chakra-ui/portal" "2.0.9" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.3" + +"@chakra-ui/transition@2.0.9": + version "2.0.9" + resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" + integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== + +"@chakra-ui/utils@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.10.tgz#72e870f53753fd2d8c5f9258c76e8d59959bc1ce" + integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz#3e85e9fb48ccc419392cb0d97bd8fd45bb37aa1c" + integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.29.0.tgz#35873a580a6102e48415ed2b5b97477f146fb50d" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/cosmwasm-stargate@0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz#dea1c16fe80daf14072c3796574fe8cb34a3729b" + integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stargate" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.29.0.tgz#c914424a8b538f6624e505bc2015a71e3977c2fb" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.29.0.tgz#75b1b41a2f31f71fcb0982cd1b210d6410739fd0" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz#481f282bcb3457c71f393342691e957a4fa56535" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== + dependencies: + "@cosmjs/stream" "^0.29.0" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.29.0.tgz#2c34f96d94055fe82ca310bec7b2d8a9f1c507cb" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz#4d9c10fc3a5c64b454bd2d9b407861fcffdfbbe0" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + +"@cosmjs/socket@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.29.0.tgz#6f8f56799e69ead02f9ffe8925c782804635ac89" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== + dependencies: + "@cosmjs/stream" "^0.29.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.29.0.tgz#55263ed9d414f2c3073a451527576e4c3d6f04a6" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.29.0.tgz#df2d7ea23293170bc192e91c0fa3e9f8d993b7cc" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz#db71e743d2ee8dde706c09bc92ac47cc6197f672" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/json-rpc" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/socket" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.0": + version "0.29.0" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.29.0.tgz#0a61e6d608e9f6f89a278cc71f4e7cee01199657" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + +"@cosmos-kit/config@0.16.2", "@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.yarnpkg.com/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.16.2", "@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.yarnpkg.com/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.yarnpkg.com/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.16.3": + version "0.16.3" + resolved "https://registry.yarnpkg.com/@cosmos-kit/react/-/react-0.16.3.tgz#9c8a6694c685a690f7eeb43fc29190062589127f" + integrity sha512-uIZqc1BZQDaUDFUYPpJBqD+8MyC9d2ZpB1S/bi8/fzzQ11FitQtNR/HKHMGnCbzvHQ3irIUKNq1jJEXJXzG1Pw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.4", "@emotion/react@^11": + version "11.10.4" + resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.10.4.tgz#9dc6bccbda5d70ff68fdb204746c0e8b13a79199" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/styled@11.10.4", "@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.10.4.tgz#e93f84a4d54003c2acbde178c3f97b421fce1cd4" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@eslint/eslintrc@^1.3.0": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" + integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.4.0" + globals "^13.15.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" + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@headlessui/react@^1.7.2": + version "1.7.2" + resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" + integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== + +"@heroicons/react@^2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" + integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== + +"@humanwhocodes/config-array@^0.10.4": + version "0.10.5" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.5.tgz#bb679745224745fff1e9a41961c1d45a49f81c04" + integrity sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.4" + +"@humanwhocodes/gitignore-to-minimatch@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" + integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== + +"@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== + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.4": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.11.4.tgz#2af7b79a6d63c1e8a3b801e01944f762230d1ba5" + integrity sha512-gk5zQvLO1S0N2NoRwQbXQxvusapyhQfO5rMya2vl37lQz9ValDOogOyVkW9iU8GnBhqSSRIjiZEeSTGUH3mulA== + dependencies: + "@keplr-wallet/crypto" "0.11.4" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.4": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.11.4.tgz#0b0922ed3a7e9e7a1ba4793d70a41c09b91a68d9" + integrity sha512-ktJh7dxSph3Gh8m8cOQPyNxIcbc3PLatVMynX6v4lwSTAK6GvNijHjgz2S+tEKbTBXANtwvVhIWrSS1TtBMn7w== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.4": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/provider/-/provider-0.11.4.tgz#436f657a05d37b1592d030d3a95ee9f585c3b5d3" + integrity sha512-aSFWBY3tq9ifprJzAlchwdwuOgqLqr0vbrW3zlmk+XwcZODwh8P8S9MQ/+tosR54JRqjXeSlG4PoKE2Og7G7wQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.4" + "@keplr-wallet/types" "0.11.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.4": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/router/-/router-0.11.4.tgz#a4ecf25266f27c5eb259b6673c23e80e4b4de25f" + integrity sha512-C5j32pG3vB8F2xzqFKZDQ02z4bjhH3U0NElfXsHV3tRPTppHn7aIY+eHMCpvFhC8kgfUlUcIrGITGQPpp+Nn+Q== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.4", "@keplr-wallet/types@^0.11.3": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.4.tgz#d00c937a1b3e514b4ab014d24c4db33fb79c8186" + integrity sha512-VMjpskLqSzIBTl9rgoUo221lI2S5WZlWXW33qDUc/mx/y43d2edRmwUXyEwGzjFxtIbFcsVXoioNWEfXpyHqkQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.4" + resolved "https://registry.yarnpkg.com/@keplr-wallet/wc-client/-/wc-client-0.11.4.tgz#31b240ff2a97d80e3e1f4dd4fcade0879ea9af81" + integrity sha512-tjCEswdtgkzREQd/ePAlCAuzIo6xlWbN5S6F6ToeqCC/fuEV7M7upktZabwlxADeWV6viGPKHtXoBOGNWRxBUQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.4" + "@keplr-wallet/provider" "0.11.4" + "@keplr-wallet/types" "0.11.4" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.13.1.tgz#fc29ea5d12538f21b211b3168e502cfc07a24882" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/env/-/env-12.2.5.tgz#d908c57b35262b94db3e431e869b72ac3e1ad3e3" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/eslint-plugin-next@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz#4f3acccd2ed4f9300fbf9fd480cc8a0b261889a8" + integrity sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw== + dependencies: + glob "7.1.7" + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz#31b1c3c659d54be546120c488a1e1bad21c24a1d" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" + integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== + +"@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: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@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== + +"@nodelib/fs.walk@^1.2.3": + 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" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@rushstack/eslint-patch@^1.1.3": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" + integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.3.tgz#16593dfc248c53b699d4b5026040f88ddb497012" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@tailwindcss/aspect-ratio@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz#9ffd52fee8e3c8b20623ff0dcb29e5c21fb0a9ba" + integrity sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ== + +"@tailwindcss/forms@^0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@tailwindcss/forms/-/forms-0.5.3.tgz#e4d7989686cbcaf416c53f1523df5225332a86e7" + integrity sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q== + dependencies: + mini-svg-data-uri "^1.2.3" + +"@tailwindcss/line-clamp@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz#f353c5a8ab2c939c6267ac5b907f012e5ee130f9" + integrity sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw== + +"@tailwindcss/typography@^0.5.7": + version "0.5.7" + resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.7.tgz#e0b95bea787ee14c5a34a74fc824e6fe86ea8855" + integrity sha512-JTTSTrgZfp6Ki4svhPA4mkd9nmQ/j9EfE7SbHJ1cLtthKkpW2OxsFXzSmxbhYbEkfNIyAyhle5p4SYyKRbz/jg== + dependencies: + lodash.castarray "^4.4.0" + lodash.isplainobject "^4.0.6" + lodash.merge "^4.6.2" + postcss-selector-parser "6.0.10" + +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.yarnpkg.com/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.185" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.185.tgz#c9843f5a40703a8f5edfd53358a58ae729816908" + integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@18.7.11": + version "18.7.11" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" + integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== + +"@types/node@>=13.7.0": + version "18.7.22" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.22.tgz#76f7401362ad63d9d7eefa7dcdfa5fcd9baddff3" + integrity sha512-TsmoXYd4zrkkKjJB0URF/mTIKPl+kVcbqClB2F/ykU7vil1BfWZVndOnpEIozPv4fURD28gyPFeIkW2G+KXOvw== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/prop-types@*": + version "15.7.5" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" + integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== + +"@types/react-dom@18.0.6": + version "18.0.6" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1" + integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== + dependencies: + "@types/react" "*" + +"@types/react@*": + version "18.0.21" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.21.tgz#b8209e9626bb00a34c76f55482697edd2b43cc67" + integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/react@18.0.17": + version "18.0.17" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4" + integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/scheduler@*": + version "0.16.2" + resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" + integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== + +"@typescript-eslint/parser@^5.21.0": + version "5.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.38.0.tgz#5a59a1ff41a7b43aacd1bb2db54f6bf1c02b2ff8" + integrity sha512-/F63giJGLDr0ms1Cr8utDAxP2SPiglaD6V+pCOcG35P2jCqdfR7uuEhz1GIC3oy4hkUF8xA1XSXmd9hOh/a5EA== + dependencies: + "@typescript-eslint/scope-manager" "5.38.0" + "@typescript-eslint/types" "5.38.0" + "@typescript-eslint/typescript-estree" "5.38.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.38.0": + version "5.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.38.0.tgz#8f0927024b6b24e28671352c93b393a810ab4553" + integrity sha512-ByhHIuNyKD9giwkkLqzezZ9y5bALW8VNY6xXcP+VxoH4JBDKjU5WNnsiD4HJdglHECdV+lyaxhvQjTUbRboiTA== + dependencies: + "@typescript-eslint/types" "5.38.0" + "@typescript-eslint/visitor-keys" "5.38.0" + +"@typescript-eslint/types@5.38.0": + version "5.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.38.0.tgz#8cd15825e4874354e31800dcac321d07548b8a5f" + integrity sha512-HHu4yMjJ7i3Cb+8NUuRCdOGu2VMkfmKyIJsOr9PfkBVYLYrtMCK/Ap50Rpov+iKpxDTfnqvDbuPLgBE5FwUNfA== + +"@typescript-eslint/typescript-estree@5.38.0": + version "5.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.38.0.tgz#89f86b2279815c6fb7f57d68cf9b813f0dc25d98" + integrity sha512-6P0RuphkR+UuV7Avv7MU3hFoWaGcrgOdi8eTe1NwhMp2/GjUJoODBTRWzlHpZh6lFOaPmSvgxGlROa0Sg5Zbyg== + dependencies: + "@typescript-eslint/types" "5.38.0" + "@typescript-eslint/visitor-keys" "5.38.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/visitor-keys@5.38.0": + version "5.38.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.38.0.tgz#60591ca3bf78aa12b25002c0993d067c00887e34" + integrity sha512-MxnrdIyArnTi+XyFLR+kt/uNAcdOnmT+879os7qDRI+EYySR4crXJq9BXPfRzzLGq0wgxkwidrCJ9WCAoacm1w== + dependencies: + "@typescript-eslint/types" "5.38.0" + eslint-visitor-keys "^3.3.0" + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn-node@^1.8.2: + version "1.8.2" + resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8" + integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A== + dependencies: + acorn "^7.0.0" + acorn-walk "^7.0.0" + xtend "^4.0.2" + +acorn-walk@^7.0.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== + +acorn@^7.0.0: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +acorn@^8.8.0: + version "8.8.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" + integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ajv@^6.10.0, ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +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== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +anymatch@~3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +arg@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +aria-query@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" + integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== + dependencies: + "@babel/runtime" "^7.10.2" + "@babel/runtime-corejs3" "^7.10.2" + +array-includes@^3.1.4, array-includes@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" + integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + get-intrinsic "^1.1.1" + is-string "^1.0.7" + +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.prototype.flat@^1.2.5: + version "1.3.0" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" + integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" + +array.prototype.flatmap@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f" + integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" + +ast-types-flow@^0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" + integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +autoprefixer@^10.4.12: + version "10.4.12" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.12.tgz#183f30bf0b0722af54ee5ef257f7d4320bb33129" + integrity sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q== + dependencies: + browserslist "^4.21.4" + caniuse-lite "^1.0.30001407" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +axe-core@^4.4.3: + version "4.4.3" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.3.tgz#11c74d23d5013c0fa5d183796729bc3482bd2f6f" + integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axobject-query@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" + integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== + +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" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.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== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +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== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0, bowser@^2.11.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.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" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase-css@^2.0.1: + version "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== + +caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001407: + version "1.0.30001412" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c" + integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA== + +chain-registry@0.14.0, chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + 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" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +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" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@^1.1.4, color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +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== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +convert-source-map@^1.5.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +copy-to-clipboard@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.2.tgz#5b263ec2366224b100181dded7ce0579b340c107" + integrity sha512-Vme1Z6RUDzrb6xAI7EZlVZ5uvOk2F//GaxKUxajDqm9LhOVM1inxNAD2vy+UZDYsd0uyA9s7b3/FVZPSxqrCfg== + dependencies: + toggle-selection "^1.0.6" + +core-js-pure@^3.25.1: + version "3.25.3" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.25.3.tgz#66ac5bfa5754b47fdfd14f3841c5ed21c46db608" + integrity sha512-T/7qvgv70MEvRkZ8p6BasLZmOVYKzOaWNBEHAU8FmveCJkl4nko2quqPQOmy6AJIp5MBanhz9no3A94NoRb0XA== + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.5.1.tgz#f9bc35e78c32b687fb6018dc573eb454b3ae2587" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +cross-spawn@^7.0.2: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +damerau-levenshtein@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" + integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== + +debug@^2.6.9: + 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.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" + +debug@^4.1.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" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3, define-properties@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +defined@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" + integrity sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ== + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.yarnpkg.com/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +detective@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034" + integrity sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw== + dependencies: + acorn-node "^1.8.2" + defined "^1.0.0" + minimist "^1.2.6" + +didyoumean@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" + integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +dlv@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +electron-to-chromium@^1.4.251: + version "1.4.262" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.262.tgz#25715dfbae4c2e0640517cba184715241ecd8e63" + integrity sha512-Ckn5haqmGh/xS8IbcgK3dnwAVnhDyo/WQnklWn6yaMucYTq7NNxwlGE8ElzEOnonzRLzUCo2Ot3vUb2GYUF2Hw== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +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== + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5: + version "1.20.3" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.3.tgz#90b143ff7aedc8b3d189bcfac7f1e3e3f81e9da1" + integrity sha512-AyrnaKVpMzljIdwjzrj+LxGmj8ik2LckwXacHqrJJ/jxz6dDDBcZ7I7nlHM0FvEW8MfbWJwOd+yT2XzYW49Frw== + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + function.prototype.name "^1.1.5" + get-intrinsic "^1.1.3" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + is-callable "^1.2.6" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-weakref "^1.0.2" + object-inspect "^1.12.2" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + safe-regex-test "^1.0.0" + string.prototype.trimend "^1.0.5" + string.prototype.trimstart "^1.0.5" + unbox-primitive "^1.0.2" + +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" + integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + dependencies: + has "^1.0.3" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +eslint-config-next@12.2.5: + version "12.2.5" + resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.2.5.tgz#76ce83f18cc02f6f42ed407a127f83db54fabd3c" + integrity sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw== + dependencies: + "@next/eslint-plugin-next" "12.2.5" + "@rushstack/eslint-patch" "^1.1.3" + "@typescript-eslint/parser" "^5.21.0" + eslint-import-resolver-node "^0.3.6" + eslint-import-resolver-typescript "^2.7.1" + eslint-plugin-import "^2.26.0" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-react "^7.29.4" + eslint-plugin-react-hooks "^4.5.0" + +eslint-import-resolver-node@^0.3.6: + version "0.3.6" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd" + integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== + dependencies: + debug "^3.2.7" + resolve "^1.20.0" + +eslint-import-resolver-typescript@^2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751" + integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ== + dependencies: + debug "^4.3.4" + glob "^7.2.0" + is-glob "^4.0.3" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" + +eslint-module-utils@^2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" + integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== + dependencies: + debug "^3.2.7" + +eslint-plugin-import@^2.26.0: + version "2.26.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" + integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== + dependencies: + array-includes "^3.1.4" + array.prototype.flat "^1.2.5" + debug "^2.6.9" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.6" + eslint-module-utils "^2.7.3" + has "^1.0.3" + is-core-module "^2.8.1" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.5" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" + +eslint-plugin-jsx-a11y@^6.5.1: + version "6.6.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz#93736fc91b83fdc38cc8d115deedfc3091aef1ff" + integrity sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q== + dependencies: + "@babel/runtime" "^7.18.9" + aria-query "^4.2.2" + array-includes "^3.1.5" + ast-types-flow "^0.0.7" + axe-core "^4.4.3" + axobject-query "^2.2.0" + damerau-levenshtein "^1.0.8" + emoji-regex "^9.2.2" + has "^1.0.3" + jsx-ast-utils "^3.3.2" + language-tags "^1.0.5" + minimatch "^3.1.2" + semver "^6.3.0" + +eslint-plugin-react-hooks@^4.5.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" + integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== + +eslint-plugin-react@^7.29.4: + version "7.31.8" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz#3a4f80c10be1bcbc8197be9e8b641b2a3ef219bf" + integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== + dependencies: + array-includes "^3.1.5" + array.prototype.flatmap "^1.3.0" + doctrine "^2.1.0" + estraverse "^5.3.0" + jsx-ast-utils "^2.4.1 || ^3.0.0" + minimatch "^3.1.2" + object.entries "^1.1.5" + object.fromentries "^2.0.5" + object.hasown "^1.1.1" + object.values "^1.1.5" + prop-types "^15.8.1" + resolve "^2.0.0-next.3" + semver "^6.3.0" + string.prototype.matchall "^4.0.7" + +eslint-scope@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" + integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.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== + dependencies: + eslint-visitor-keys "^2.0.0" + +eslint-visitor-keys@^2.0.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== + +eslint-visitor-keys@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" + integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== + +eslint@8.22.0: + version "8.22.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48" + integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA== + dependencies: + "@eslint/eslintrc" "^1.3.0" + "@humanwhocodes/config-array" "^0.10.4" + "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" + ajv "^6.10.0" + 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.1.1" + eslint-utils "^3.0.0" + eslint-visitor-keys "^3.3.0" + espree "^9.3.3" + esquery "^1.4.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + functional-red-black-tree "^1.0.1" + glob-parent "^6.0.1" + globals "^13.15.0" + globby "^11.1.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + regexpp "^3.2.0" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^9.3.3, espree@^9.4.0: + version "9.4.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a" + integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.3.0" + +esquery@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" + integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +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-glob@^3.2.11, fast-glob@^3.2.9: + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@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-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +fastq@^1.6.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + dependencies: + reusify "^1.0.4" + +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +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" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +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== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +fraction.js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" + integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== + +framer-motion@7.3.6: + version "7.3.6" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.3.6.tgz#aff993b9b7064c8d13cf0afa118d24e07713570a" + integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +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" + integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + 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: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +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== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.1, glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob@7.1.7: + version "7.1.7" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + 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.3, glob@^7.2.0: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^13.15.0: + version "13.17.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.17.0.tgz#902eb1e680a41da93945adbdcb5a9f361ba69bd4" + integrity sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw== + dependencies: + type-fest "^0.20.2" + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, 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== + +ignore@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" + integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, 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== + +internal-slot@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" + integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== + dependencies: + get-intrinsic "^1.1.0" + has "^1.0.3" + side-channel "^1.0.4" + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-buffer@~1.1.1: + 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.4, is-callable@^1.2.6: + 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-core-module@^2.8.1, is-core-module@^2.9.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" + integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== + dependencies: + has "^1.0.3" + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +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-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" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + +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-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +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-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.yarnpkg.com/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.yarnpkg.com/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +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" + +json-parse-even-better-errors@^2.3.0: + version "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-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" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-stable-stringify-without-jsonify@^1.0.1: + version "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== + +json5@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" + integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + dependencies: + minimist "^1.2.0" + +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.2: + version "3.3.3" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" + integrity sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw== + dependencies: + array-includes "^3.1.5" + object.assign "^4.1.3" + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +language-subtag-registry@~0.3.2: + version "0.3.22" + resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" + integrity sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w== + +language-tags@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" + integrity sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ== + dependencies: + language-subtag-registry "~0.3.2" + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lilconfig@^2.0.5, lilconfig@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.6.tgz#32a384558bd58af3d4c6e077dd1ad1d397bc69d4" + integrity sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash.castarray@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115" + integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q== + +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +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== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.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" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.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== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + 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== + dependencies: + mime-db "1.52.0" + +mini-svg-data-uri@^1.2.3: + version "1.4.4" + resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz#8ab0aabcdf8c29ad5693ca595af19dd2ead09939" + integrity sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg== + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "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.4, 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== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.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== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.2: + version "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.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +nan@^2.13.2: + version "2.16.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" + integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.yarnpkg.com/next/-/next-12.2.5.tgz#14fb5975e8841fad09553b8ef41fe1393602b717" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +node-releases@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" + integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== + +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" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + +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-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + +object-inspect@^1.12.2, object-inspect@^1.9.0: + version "1.12.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" + integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +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" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +object.entries@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" + integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +object.fromentries@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" + integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +object.hasown@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.1.tgz#ad1eecc60d03f49460600430d97f23882cf592a3" + integrity sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A== + dependencies: + define-properties "^1.1.4" + es-abstract "^1.19.5" + +object.values@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" + integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +once@^1.3.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== + dependencies: + wrappy "1" + +optionator@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" + integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + 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.3" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, 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.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.5.tgz#8e3e014421a0ffa30ecd722564fd2558954e1f7d" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss-import@^14.1.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-14.1.0.tgz#a7333ffe32f0b8795303ee9e40215dac922781f0" + integrity sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-js@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.0.tgz#31db79889531b80dc7bc9b0ad283e418dce0ac00" + integrity sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ== + dependencies: + camelcase-css "^2.0.1" + +postcss-load-config@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" + integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== + dependencies: + lilconfig "^2.0.5" + yaml "^1.10.2" + +postcss-nested@5.0.6: + version "5.0.6" + resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.6.tgz#466343f7fc8d3d46af3e7dba3fcd47d052a945bc" + integrity sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA== + dependencies: + postcss-selector-parser "^6.0.6" + +postcss-selector-parser@6.0.10, postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.6: + version "6.0.10" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" + integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +postcss@^8.4.14, postcss@^8.4.16: + version "8.4.16" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" + integrity sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +prop-types@^15.6.2, prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +punycode@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.4.0, react-icons@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.4.0.tgz#a13a8a20c254854e1ec9aecef28a95cdf24ef703" + integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz#e291f71b1bb30f5f67f023765b7435f4b2b2cd94" + integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.9" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" + integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== + +regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" + integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + functions-have-names "^1.2.2" + +regexpp@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + +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@^1.1.7, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1: + version "1.22.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.3: + version "2.0.0-next.4" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" + integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, 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== + +safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +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.7: + version "7.3.7" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.yarnpkg.com/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.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== + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +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== + +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.prototype.matchall@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" + integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + get-intrinsic "^1.1.1" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + regexp.prototype.flags "^1.4.1" + side-channel "^1.0.4" + +string.prototype.trimend@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" + integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + +string.prototype.trimstart@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" + integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.19.5" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "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== + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.4.tgz#5b1bd0b9ab44caae3dd1361295559706e044aa53" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tailwind-scrollbar-hide@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/tailwind-scrollbar-hide/-/tailwind-scrollbar-hide-1.1.7.tgz#90b481fb2e204030e3919427416650c54f56f847" + integrity sha512-X324n9OtpTmOMqEgDUEA/RgLrNfBF/jwJdctaPZDzB3mppxJk7TLIDmOreEDm1Bq4R9LSPu4Epf8VSdovNU+iA== + +tailwindcss@^3.1.8: + version "3.1.8" + resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.1.8.tgz#4f8520550d67a835d32f2f4021580f9fddb7b741" + integrity sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g== + dependencies: + arg "^5.0.2" + chokidar "^3.5.3" + color-name "^1.1.4" + detective "^5.2.1" + didyoumean "^1.2.2" + dlv "^1.1.3" + fast-glob "^3.2.11" + glob-parent "^6.0.2" + is-glob "^4.0.3" + lilconfig "^2.0.6" + normalize-path "^3.0.0" + object-hash "^3.0.0" + picocolors "^1.0.0" + postcss "^8.4.14" + postcss-import "^14.1.0" + postcss-js "^4.0.0" + postcss-load-config "^3.1.4" + postcss-nested "5.0.6" + postcss-selector-parser "^6.0.10" + postcss-value-parser "^4.2.0" + quick-lru "^5.1.1" + resolve "^1.22.1" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +tiny-invariant@^1.0.6: + version "1.2.0" + resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" + integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.yarnpkg.com/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "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-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" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tsconfig-paths@^3.14.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" + integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.1" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tslib@^1.8.1: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +typescript@4.7.4: + version "4.7.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" + integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== + +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz#2924d3927367a38d5c555413a7ce138fc95fcb18" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1, util-deprecate@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +v8-compile-cache@^2.0.3: + 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== + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which@^2.0.1: + 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" + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +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== + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.yarnpkg.com/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +xtend@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0, yaml@^1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== diff --git a/examples/tailwindcss/next.config.js b/examples/tailwindcss/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/tailwindcss/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/tailwindcss/tailwind.config.js b/examples/tailwindcss/tailwind.config.js new file mode 100644 index 000000000..5d7ad12b7 --- /dev/null +++ b/examples/tailwindcss/tailwind.config.js @@ -0,0 +1,20 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: { + colors: { + purple: { + damp: "#6674d9", + }, + }, + }, + }, + plugins: [ + require("@tailwindcss/typography"), + require("@tailwindcss/aspect-ratio"), + require("@tailwindcss/forms"), + require("@tailwindcss/line-clamp"), + require("tailwind-scrollbar-hide"), + ], +}; From a7e611364b0a4018c483f31b5101fec357732ed0 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 27 Sep 2022 11:19:06 -0500 Subject: [PATCH 119/262] cleanup --- examples/tailwindcs/CHANGELOG.md | 136 ---------------------- examples/tailwindcs/config/chain-infos.ts | 19 --- examples/tailwindcs/config/features.ts | 47 -------- examples/tailwindcs/config/index.ts | 2 - examples/tailwindcs/config/theme.ts | 34 ------ examples/tailwindcs/next.config.js | 7 -- examples/tailwindcs/tailwind.config.js | 20 ---- 7 files changed, 265 deletions(-) delete mode 100644 examples/tailwindcs/CHANGELOG.md delete mode 100644 examples/tailwindcs/config/chain-infos.ts delete mode 100644 examples/tailwindcs/config/features.ts delete mode 100644 examples/tailwindcs/config/index.ts delete mode 100644 examples/tailwindcs/config/theme.ts delete mode 100644 examples/tailwindcs/next.config.js delete mode 100644 examples/tailwindcs/tailwind.config.js diff --git a/examples/tailwindcs/CHANGELOG.md b/examples/tailwindcs/CHANGELOG.md deleted file mode 100644 index 013d8e4e5..000000000 --- a/examples/tailwindcs/CHANGELOG.md +++ /dev/null @@ -1,136 +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. - -## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.2 (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.1 (2022-08-24) - -**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcs/config/chain-infos.ts b/examples/tailwindcs/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/examples/tailwindcs/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/examples/tailwindcs/config/features.ts b/examples/tailwindcs/config/features.ts deleted file mode 100644 index f4e62ff4e..000000000 --- a/examples/tailwindcs/config/features.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { FeatureProps } from '../components'; - -export const products: FeatureProps[] = [ - { - title: 'CosmosKit', - text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit' - }, - { - title: 'Telescope', - text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope' - }, - { - title: 'TS Codegen', - text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen' - }, - { - title: 'CosmWasm Academy', - text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', - href: 'https://academy.cosmwasm.com/' - }, - { - title: 'Chain Registry', - text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry' - }, - { - title: 'Videos', - text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', - href: 'https://cosmology.tech/learn' - } -]; - -export const dependencies: FeatureProps[] = [ - { - title: 'Chakra UI', - text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/docs/components/' - }, - { - title: 'Next.js', - text: 'A React Framework supports hybrid static & server rendering.', - href: 'https://nextjs.org/' - } -]; diff --git a/examples/tailwindcs/config/index.ts b/examples/tailwindcs/config/index.ts deleted file mode 100644 index e249d6303..000000000 --- a/examples/tailwindcs/config/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './theme'; -export * from './features'; diff --git a/examples/tailwindcs/config/theme.ts b/examples/tailwindcs/config/theme.ts deleted file mode 100644 index aa5614194..000000000 --- a/examples/tailwindcs/config/theme.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { extendTheme } from '@chakra-ui/react'; - -export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif' - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9' - } - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em' - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' - } -}; - -export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcs/next.config.js b/examples/tailwindcs/next.config.js deleted file mode 100644 index ae887958d..000000000 --- a/examples/tailwindcs/next.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - reactStrictMode: true, - swcMinify: true, -} - -module.exports = nextConfig diff --git a/examples/tailwindcs/tailwind.config.js b/examples/tailwindcs/tailwind.config.js deleted file mode 100644 index 5d7ad12b7..000000000 --- a/examples/tailwindcs/tailwind.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], - theme: { - extend: { - colors: { - purple: { - damp: "#6674d9", - }, - }, - }, - }, - plugins: [ - require("@tailwindcss/typography"), - require("@tailwindcss/aspect-ratio"), - require("@tailwindcss/forms"), - require("@tailwindcss/line-clamp"), - require("tailwind-scrollbar-hide"), - ], -}; From a89a586b0636a88bcd71c3f653db4ee90cc4cf71 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 27 Sep 2022 11:31:05 -0500 Subject: [PATCH 120/262] tailwind --- .../{cosmos-app => }/.eslintrc.json | 0 .../tailwindcss/{cosmos-app => }/.gitignore | 0 examples/tailwindcss/.next/trace | 84 +++++++---- examples/tailwindcss/CHANGELOG.md | 136 ------------------ .../tailwindcss/{cosmos-app => }/README.md | 0 .../{cosmos-app => }/components/features.tsx | 0 .../{cosmos-app => }/components/index.tsx | 0 .../components/react/address-card.tsx | 0 .../components/react/astronaut.tsx | 0 .../components/react/chain-card.tsx | 0 .../components/react/index.ts | 0 .../components/react/modal.tsx | 0 .../components/react/user-card.tsx | 0 .../components/react/views/Connected.tsx | 0 .../components/react/views/Connecting.tsx | 0 .../components/react/views/Error.tsx | 0 .../components/react/views/NotExist.tsx | 0 .../components/react/views/QRCode.tsx | 0 .../components/react/views/WalletList.tsx | 0 .../components/react/views/index.ts | 0 .../components/react/wallet-connect.tsx | 0 .../components/react/warn-block.tsx | 0 .../{cosmos-app => }/components/types.tsx | 0 .../{cosmos-app => }/components/wallet.tsx | 0 examples/tailwindcss/cosmos-app/CHANGELOG.md | 136 ------------------ .../cosmos-app/config/chain-infos.ts | 19 --- .../tailwindcss/cosmos-app/config/features.ts | 47 ------ .../tailwindcss/cosmos-app/config/index.ts | 2 - .../tailwindcss/cosmos-app/config/theme.ts | 34 ----- .../tailwindcss/cosmos-app/next.config.js | 7 - .../tailwindcss/cosmos-app/tailwind.config.js | 20 --- .../tailwindcss/{cosmos-app => }/package.json | 4 +- .../{cosmos-app => }/pages/[chainName].tsx | 0 .../{cosmos-app => }/pages/_app.tsx | 0 .../{cosmos-app => }/pages/index.tsx | 0 .../{cosmos-app => }/postcss.config.js | 0 .../{cosmos-app => }/public/favicon.ico | Bin .../{cosmos-app => }/styles/Home.module.css | 0 .../{cosmos-app => }/styles/globals.css | 0 .../{cosmos-app => }/tsconfig.json | 0 .../tailwindcss/{cosmos-app => }/yarn.lock | 0 41 files changed, 55 insertions(+), 434 deletions(-) rename examples/tailwindcss/{cosmos-app => }/.eslintrc.json (100%) rename examples/tailwindcss/{cosmos-app => }/.gitignore (100%) delete mode 100644 examples/tailwindcss/CHANGELOG.md rename examples/tailwindcss/{cosmos-app => }/README.md (100%) rename examples/tailwindcss/{cosmos-app => }/components/features.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/index.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/address-card.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/astronaut.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/chain-card.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/index.ts (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/modal.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/user-card.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/Connected.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/Connecting.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/Error.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/NotExist.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/QRCode.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/WalletList.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/views/index.ts (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/wallet-connect.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/react/warn-block.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/types.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/components/wallet.tsx (100%) delete mode 100644 examples/tailwindcss/cosmos-app/CHANGELOG.md delete mode 100644 examples/tailwindcss/cosmos-app/config/chain-infos.ts delete mode 100644 examples/tailwindcss/cosmos-app/config/features.ts delete mode 100644 examples/tailwindcss/cosmos-app/config/index.ts delete mode 100644 examples/tailwindcss/cosmos-app/config/theme.ts delete mode 100644 examples/tailwindcss/cosmos-app/next.config.js delete mode 100644 examples/tailwindcss/cosmos-app/tailwind.config.js rename examples/tailwindcss/{cosmos-app => }/package.json (96%) rename examples/tailwindcss/{cosmos-app => }/pages/[chainName].tsx (100%) rename examples/tailwindcss/{cosmos-app => }/pages/_app.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/pages/index.tsx (100%) rename examples/tailwindcss/{cosmos-app => }/postcss.config.js (100%) rename examples/tailwindcss/{cosmos-app => }/public/favicon.ico (100%) rename examples/tailwindcss/{cosmos-app => }/styles/Home.module.css (100%) rename examples/tailwindcss/{cosmos-app => }/styles/globals.css (100%) rename examples/tailwindcss/{cosmos-app => }/tsconfig.json (100%) rename examples/tailwindcss/{cosmos-app => }/yarn.lock (100%) diff --git a/examples/tailwindcss/cosmos-app/.eslintrc.json b/examples/tailwindcss/.eslintrc.json similarity index 100% rename from examples/tailwindcss/cosmos-app/.eslintrc.json rename to examples/tailwindcss/.eslintrc.json diff --git a/examples/tailwindcss/cosmos-app/.gitignore b/examples/tailwindcss/.gitignore similarity index 100% rename from examples/tailwindcss/cosmos-app/.gitignore rename to examples/tailwindcss/.gitignore diff --git a/examples/tailwindcss/.next/trace b/examples/tailwindcss/.next/trace index 81e58f0a4..807d3be74 100644 --- a/examples/tailwindcss/.next/trace +++ b/examples/tailwindcss/.next/trace @@ -1,31 +1,53 @@ -[{"traceId":"06b5767d478984a7","name":"hot-reloader","id":1,"timestamp":1371169849737,"duration":26,"tags":{"version":"12.2.5"},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":1,"name":"start","id":2,"timestamp":1371169850154,"duration":1,"tags":{},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":2,"name":"clean","id":3,"timestamp":1371169850173,"duration":10259,"tags":{},"startTime":1664294213886},{"traceId":"06b5767d478984a7","parentId":4,"name":"get-page-paths","id":5,"timestamp":1371169861115,"duration":523,"tags":{},"startTime":1664294213897},{"traceId":"06b5767d478984a7","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":1371169861649,"duration":182,"tags":{},"startTime":1664294213898},{"traceId":"06b5767d478984a7","parentId":4,"name":"create-entrypoints","id":7,"timestamp":1371169861845,"duration":944,"tags":{},"startTime":1664294213898},{"traceId":"06b5767d478984a7","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":1371169862805,"duration":16802,"tags":{},"startTime":1664294213899},{"traceId":"06b5767d478984a7","parentId":2,"name":"get-webpack-config","id":4,"timestamp":1371169861071,"duration":18548,"tags":{},"startTime":1664294213897},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":12,"timestamp":1371169913090,"duration":454994,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":11,"timestamp":1371169912819,"duration":462311,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":15,"timestamp":1371169913126,"duration":468889,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":13,"timestamp":1371169913107,"duration":628334,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":17,"name":"read-resource","id":18,"timestamp":1371170556588,"duration":9341,"tags":{},"startTime":1664294214593},{"traceId":"06b5767d478984a7","parentId":19,"name":"postcss-process","id":20,"timestamp":1371170789816,"duration":217308,"tags":{},"startTime":1664294214826},{"traceId":"06b5767d478984a7","parentId":17,"name":"postcss-loader","id":19,"timestamp":1371170566137,"duration":442151,"tags":{},"startTime":1664294214602},{"traceId":"06b5767d478984a7","parentId":17,"name":"css-loader","id":21,"timestamp":1371171008467,"duration":25562,"tags":{"astUsed":"true"},"startTime":1664294215045},{"traceId":"06b5767d478984a7","parentId":9,"name":"build-module-css","id":17,"timestamp":1371170552805,"duration":493009,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294214589},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":16,"timestamp":1371169913138,"duration":1141987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":23,"name":"next-swc-transform","id":24,"timestamp":1371171188936,"duration":6981,"tags":{},"startTime":1664294215225},{"traceId":"06b5767d478984a7","parentId":22,"name":"next-swc-loader","id":23,"timestamp":1371171188527,"duration":7401,"tags":{},"startTime":1664294215225},{"traceId":"06b5767d478984a7","parentId":9,"name":"build-module-tsx","id":22,"timestamp":1371171186808,"duration":17457,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294215223},{"traceId":"06b5767d478984a7","parentId":9,"name":"add-entry","id":14,"timestamp":1371169913118,"duration":1591352,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":10,"timestamp":1371169912266,"duration":1592403,"tags":{},"startTime":1664294213949},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-chunk-graph","id":26,"timestamp":1371171539388,"duration":31373,"tags":{},"startTime":1664294215576},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-modules","id":28,"timestamp":1371171570831,"duration":14,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-chunks","id":29,"timestamp":1371171570906,"duration":533,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize-tree","id":30,"timestamp":1371171571510,"duration":98,"tags":{},"startTime":1664294215608},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-optimize","id":27,"timestamp":1371171570802,"duration":1005,"tags":{},"startTime":1664294215607},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-hash","id":31,"timestamp":1371171639161,"duration":12347,"tags":{},"startTime":1664294215675},{"traceId":"06b5767d478984a7","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":33,"timestamp":1371171939301,"duration":546,"tags":{},"startTime":1664294215976},{"traceId":"06b5767d478984a7","parentId":9,"name":"NextJsBuildManifest-createassets","id":32,"timestamp":1371171938868,"duration":996,"tags":{},"startTime":1664294215975},{"traceId":"06b5767d478984a7","parentId":9,"name":"webpack-compilation-seal","id":25,"timestamp":1371171534342,"duration":408937,"tags":{},"startTime":1664294215571},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":9,"timestamp":1371169908322,"duration":2035152,"tags":{"name":"client"},"startTime":1664294213945},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":34,"timestamp":1371171943804,"duration":296146,"tags":{},"startTime":1664294215980},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":38,"timestamp":1371172286479,"duration":105416,"tags":{"request":"private-next-pages/_error"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":39,"timestamp":1371172286493,"duration":105436,"tags":{"request":"private-next-pages/_document"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":41,"name":"next-swc-transform","id":42,"timestamp":1371172399859,"duration":1573,"tags":{},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":40,"name":"next-swc-loader","id":41,"timestamp":1371172399752,"duration":1695,"tags":{},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":35,"name":"build-module-tsx","id":40,"timestamp":1371172399324,"duration":8814,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294216436},{"traceId":"06b5767d478984a7","parentId":40,"name":"build-module-next/router","id":43,"timestamp":1371172409753,"duration":89,"tags":{"name":"next/router"},"startTime":1664294216446},{"traceId":"06b5767d478984a7","parentId":45,"name":"next-swc-transform","id":46,"timestamp":1371172417668,"duration":1619,"tags":{},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":44,"name":"next-swc-loader","id":45,"timestamp":1371172417628,"duration":1669,"tags":{},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":35,"name":"build-module-tsx","id":44,"timestamp":1371172417488,"duration":3844,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294216454},{"traceId":"06b5767d478984a7","parentId":35,"name":"add-entry","id":37,"timestamp":1371172286369,"duration":137464,"tags":{"request":"private-next-pages/_app"},"startTime":1664294216323},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":36,"timestamp":1371172250515,"duration":173391,"tags":{},"startTime":1664294216287},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-chunk-graph","id":48,"timestamp":1371172424910,"duration":638,"tags":{},"startTime":1664294216461},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-modules","id":50,"timestamp":1371172425596,"duration":4,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-chunks","id":51,"timestamp":1371172425636,"duration":64,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize-tree","id":52,"timestamp":1371172425726,"duration":14,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-optimize","id":49,"timestamp":1371172425590,"duration":206,"tags":{},"startTime":1664294216462},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-hash","id":53,"timestamp":1371172429328,"duration":1559,"tags":{},"startTime":1664294216466},{"traceId":"06b5767d478984a7","parentId":35,"name":"webpack-compilation-seal","id":47,"timestamp":1371172424814,"duration":10808,"tags":{},"startTime":1664294216461},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":35,"timestamp":1371172247697,"duration":187989,"tags":{"name":"server"},"startTime":1664294216284},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":54,"timestamp":1371172435772,"duration":6168,"tags":{},"startTime":1664294216472},{"traceId":"06b5767d478984a7","parentId":1,"name":"make","id":56,"timestamp":1371172445791,"duration":1216,"tags":{},"startTime":1664294216482},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-chunk-graph","id":58,"timestamp":1371172447199,"duration":15,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-modules","id":60,"timestamp":1371172447224,"duration":100,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-chunks","id":61,"timestamp":1371172447336,"duration":6,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize-tree","id":62,"timestamp":1371172447349,"duration":3,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-optimize","id":59,"timestamp":1371172447220,"duration":149,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-hash","id":63,"timestamp":1371172447512,"duration":37,"tags":{},"startTime":1664294216484},{"traceId":"06b5767d478984a7","parentId":55,"name":"webpack-compilation-seal","id":57,"timestamp":1371172447176,"duration":591,"tags":{},"startTime":1664294216483},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-compilation","id":55,"timestamp":1371172444824,"duration":2965,"tags":{"name":"edge-server"},"startTime":1664294216481},{"traceId":"06b5767d478984a7","parentId":1,"name":"emit","id":64,"timestamp":1371172447807,"duration":8563,"tags":{},"startTime":1664294216484}] -[{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":70,"timestamp":1371172471398,"duration":9768,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":71,"timestamp":1371172471442,"duration":10777,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":76,"name":"read-resource","id":77,"timestamp":1371172482629,"duration":60,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":78,"name":"postcss-process","id":79,"timestamp":1371172482731,"duration":30595,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":76,"name":"postcss-loader","id":78,"timestamp":1371172482709,"duration":31061,"tags":{},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":76,"name":"css-loader","id":80,"timestamp":1371172513798,"duration":12496,"tags":{"astUsed":"true"},"startTime":1664294216550},{"traceId":"06b5767d478984a7","parentId":68,"name":"build-module-css","id":76,"timestamp":1371172482335,"duration":49426,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294216519},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":75,"timestamp":1371172471476,"duration":60812,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":74,"timestamp":1371172471466,"duration":62279,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":72,"timestamp":1371172471452,"duration":65185,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":68,"name":"add-entry","id":73,"timestamp":1371172471460,"duration":93981,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294216508},{"traceId":"06b5767d478984a7","parentId":65,"name":"make","id":69,"timestamp":1371172471204,"duration":94266,"tags":{},"startTime":1664294216507},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-chunk-graph","id":82,"timestamp":1371172570385,"duration":28280,"tags":{},"startTime":1664294216607},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-modules","id":84,"timestamp":1371172598699,"duration":4,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-chunks","id":85,"timestamp":1371172598717,"duration":126,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize-tree","id":86,"timestamp":1371172598860,"duration":6,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-optimize","id":83,"timestamp":1371172598690,"duration":2057,"tags":{},"startTime":1664294216635},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-hash","id":87,"timestamp":1371172614012,"duration":5772,"tags":{},"startTime":1664294216650},{"traceId":"06b5767d478984a7","parentId":68,"name":"NextJsBuildManifest-generateClientManifest","id":89,"timestamp":1371172621263,"duration":90,"tags":{},"startTime":1664294216657},{"traceId":"06b5767d478984a7","parentId":68,"name":"NextJsBuildManifest-createassets","id":88,"timestamp":1371172621094,"duration":263,"tags":{},"startTime":1664294216657},{"traceId":"06b5767d478984a7","parentId":68,"name":"webpack-compilation-seal","id":81,"timestamp":1371172567420,"duration":54922,"tags":{},"startTime":1664294216604},{"traceId":"06b5767d478984a7","parentId":65,"name":"webpack-compilation","id":68,"timestamp":1371172470327,"duration":152072,"tags":{"name":"client"},"startTime":1664294216507},{"traceId":"06b5767d478984a7","parentId":65,"name":"emit","id":90,"timestamp":1371172622420,"duration":2147,"tags":{},"startTime":1664294216659},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":65,"timestamp":1371172458443,"duration":166723,"tags":{"trigger":"manual"},"startTime":1664294216495},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":94,"timestamp":1371172635154,"duration":4148,"tags":{"request":"private-next-pages/_error"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":95,"timestamp":1371172635166,"duration":4148,"tags":{"request":"private-next-pages/_document"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":91,"name":"add-entry","id":93,"timestamp":1371172635104,"duration":4370,"tags":{"request":"private-next-pages/_app"},"startTime":1664294216671},{"traceId":"06b5767d478984a7","parentId":66,"name":"make","id":92,"timestamp":1371172627004,"duration":12493,"tags":{},"startTime":1664294216663},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-chunk-graph","id":97,"timestamp":1371172639797,"duration":227,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-modules","id":99,"timestamp":1371172640036,"duration":3,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-chunks","id":100,"timestamp":1371172640048,"duration":26,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize-tree","id":101,"timestamp":1371172640083,"duration":3,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-optimize","id":98,"timestamp":1371172640031,"duration":131,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-hash","id":102,"timestamp":1371172641129,"duration":559,"tags":{},"startTime":1664294216677},{"traceId":"06b5767d478984a7","parentId":91,"name":"webpack-compilation-seal","id":96,"timestamp":1371172639728,"duration":2325,"tags":{},"startTime":1664294216676},{"traceId":"06b5767d478984a7","parentId":66,"name":"webpack-compilation","id":91,"timestamp":1371172626730,"duration":15343,"tags":{"name":"server"},"startTime":1664294216663},{"traceId":"06b5767d478984a7","parentId":66,"name":"emit","id":103,"timestamp":1371172642087,"duration":1033,"tags":{},"startTime":1664294216678},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":66,"timestamp":1371172458564,"duration":184775,"tags":{"trigger":"manual"},"startTime":1664294216495},{"traceId":"06b5767d478984a7","parentId":67,"name":"make","id":105,"timestamp":1371172644227,"duration":647,"tags":{},"startTime":1664294216680},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-chunk-graph","id":107,"timestamp":1371172644937,"duration":14,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-modules","id":109,"timestamp":1371172644960,"duration":20,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-chunks","id":110,"timestamp":1371172644990,"duration":6,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize-tree","id":111,"timestamp":1371172645002,"duration":3,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-optimize","id":108,"timestamp":1371172644957,"duration":66,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-hash","id":112,"timestamp":1371172645105,"duration":17,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":104,"name":"webpack-compilation-seal","id":106,"timestamp":1371172644921,"duration":391,"tags":{},"startTime":1664294216681},{"traceId":"06b5767d478984a7","parentId":67,"name":"webpack-compilation","id":104,"timestamp":1371172643916,"duration":1411,"tags":{"name":"edge-server"},"startTime":1664294216680},{"traceId":"06b5767d478984a7","parentId":67,"name":"emit","id":113,"timestamp":1371172645334,"duration":581,"tags":{},"startTime":1664294216682},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-edge-server","id":67,"timestamp":1371172458591,"duration":187802,"tags":{"trigger":"manual"},"startTime":1664294216495}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":114,"timestamp":1371173271378,"duration":2,"tags":{},"startTime":1664294217308},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":119,"timestamp":1371173306180,"duration":15395,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294217342},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":120,"timestamp":1371173306402,"duration":16505,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":124,"timestamp":1371173306471,"duration":16958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":125,"timestamp":1371173306674,"duration":16763,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":123,"timestamp":1371173306450,"duration":18001,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":121,"timestamp":1371173306425,"duration":22566,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":117,"name":"add-entry","id":122,"timestamp":1371173306438,"duration":57328,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294217343},{"traceId":"06b5767d478984a7","parentId":115,"name":"make","id":118,"timestamp":1371173303784,"duration":60022,"tags":{},"startTime":1664294217340},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-chunk-graph","id":127,"timestamp":1371173368515,"duration":4458,"tags":{},"startTime":1664294217405},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-modules","id":129,"timestamp":1371173373004,"duration":6,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-chunks","id":130,"timestamp":1371173373021,"duration":2644,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize-tree","id":131,"timestamp":1371173375695,"duration":9,"tags":{},"startTime":1664294217412},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-optimize","id":128,"timestamp":1371173372996,"duration":3842,"tags":{},"startTime":1664294217409},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-hash","id":132,"timestamp":1371173384850,"duration":4290,"tags":{},"startTime":1664294217421},{"traceId":"06b5767d478984a7","parentId":117,"name":"NextJsBuildManifest-generateClientManifest","id":134,"timestamp":1371173394544,"duration":178,"tags":{},"startTime":1664294217431},{"traceId":"06b5767d478984a7","parentId":117,"name":"NextJsBuildManifest-createassets","id":133,"timestamp":1371173394467,"duration":263,"tags":{},"startTime":1664294217431},{"traceId":"06b5767d478984a7","parentId":117,"name":"webpack-compilation-seal","id":126,"timestamp":1371173365430,"duration":32625,"tags":{},"startTime":1664294217402},{"traceId":"06b5767d478984a7","parentId":115,"name":"webpack-compilation","id":117,"timestamp":1371173303088,"duration":95009,"tags":{"name":"client"},"startTime":1664294217339},{"traceId":"06b5767d478984a7","parentId":115,"name":"emit","id":135,"timestamp":1371173398124,"duration":2445,"tags":{},"startTime":1664294217434},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":115,"timestamp":1371173291732,"duration":109314,"tags":{"trigger":"manual"},"startTime":1664294217328},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":138,"timestamp":1371173412132,"duration":0,"tags":{},"startTime":1664294217448},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":140,"timestamp":1371173412526,"duration":2939,"tags":{"request":"private-next-pages/_error"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":142,"timestamp":1371173412534,"duration":2938,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":141,"timestamp":1371173412531,"duration":2943,"tags":{"request":"private-next-pages/_document"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":136,"name":"add-entry","id":139,"timestamp":1371173412486,"duration":3156,"tags":{"request":"private-next-pages/_app"},"startTime":1664294217449},{"traceId":"06b5767d478984a7","parentId":116,"name":"make","id":137,"timestamp":1371173403991,"duration":11666,"tags":{},"startTime":1664294217440},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-chunk-graph","id":144,"timestamp":1371173415916,"duration":165,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-modules","id":146,"timestamp":1371173416091,"duration":2,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-chunks","id":147,"timestamp":1371173416104,"duration":29,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize-tree","id":148,"timestamp":1371173416141,"duration":3,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-optimize","id":145,"timestamp":1371173416087,"duration":109,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-hash","id":149,"timestamp":1371173416853,"duration":601,"tags":{},"startTime":1664294217453},{"traceId":"06b5767d478984a7","parentId":136,"name":"webpack-compilation-seal","id":143,"timestamp":1371173415836,"duration":1862,"tags":{},"startTime":1664294217452},{"traceId":"06b5767d478984a7","parentId":116,"name":"webpack-compilation","id":136,"timestamp":1371173403671,"duration":14047,"tags":{"name":"server"},"startTime":1664294217440},{"traceId":"06b5767d478984a7","parentId":116,"name":"emit","id":150,"timestamp":1371173417730,"duration":3538,"tags":{},"startTime":1664294217454},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":116,"timestamp":1371173292340,"duration":129339,"tags":{"trigger":"manual"},"startTime":1664294217329}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":151,"timestamp":1371174063490,"duration":0,"tags":{},"startTime":1664294218100},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":152,"timestamp":1371174067147,"duration":0,"tags":{},"startTime":1664294218103},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":157,"timestamp":1371174090863,"duration":5011,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":158,"timestamp":1371174090902,"duration":6151,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":162,"timestamp":1371174090926,"duration":6739,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":164,"timestamp":1371174090930,"duration":6739,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":161,"timestamp":1371174090923,"duration":7467,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":159,"timestamp":1371174090911,"duration":11434,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":163,"timestamp":1371174090928,"duration":32772,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":155,"name":"add-entry","id":160,"timestamp":1371174090917,"duration":38620,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294218127},{"traceId":"06b5767d478984a7","parentId":153,"name":"make","id":156,"timestamp":1371174087900,"duration":41666,"tags":{},"startTime":1664294218124},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-chunk-graph","id":166,"timestamp":1371174134026,"duration":3322,"tags":{},"startTime":1664294218170},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-modules","id":168,"timestamp":1371174137370,"duration":8,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-chunks","id":169,"timestamp":1371174137388,"duration":190,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize-tree","id":170,"timestamp":1371174137595,"duration":3,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-optimize","id":167,"timestamp":1371174137364,"duration":1101,"tags":{},"startTime":1664294218174},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-hash","id":171,"timestamp":1371174148217,"duration":6426,"tags":{},"startTime":1664294218184},{"traceId":"06b5767d478984a7","parentId":155,"name":"NextJsBuildManifest-generateClientManifest","id":173,"timestamp":1371174156565,"duration":158,"tags":{},"startTime":1664294218193},{"traceId":"06b5767d478984a7","parentId":155,"name":"NextJsBuildManifest-createassets","id":172,"timestamp":1371174156507,"duration":222,"tags":{},"startTime":1664294218193},{"traceId":"06b5767d478984a7","parentId":155,"name":"webpack-compilation-seal","id":165,"timestamp":1371174131103,"duration":27916,"tags":{},"startTime":1664294218167},{"traceId":"06b5767d478984a7","parentId":153,"name":"webpack-compilation","id":155,"timestamp":1371174087610,"duration":71525,"tags":{"name":"client"},"startTime":1664294218124},{"traceId":"06b5767d478984a7","parentId":153,"name":"emit","id":174,"timestamp":1371174159165,"duration":4872,"tags":{},"startTime":1664294218195},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":153,"timestamp":1371174084179,"duration":80625,"tags":{"trigger":"manual"},"startTime":1664294218120},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":177,"timestamp":1371174177083,"duration":0,"tags":{},"startTime":1664294218213},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":178,"timestamp":1371174177393,"duration":0,"tags":{},"startTime":1664294218214},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":180,"timestamp":1371174178365,"duration":3833,"tags":{"request":"private-next-pages/_error"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":182,"timestamp":1371174178374,"duration":3830,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":181,"timestamp":1371174178371,"duration":3836,"tags":{"request":"private-next-pages/_document"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":179,"timestamp":1371174178335,"duration":4494,"tags":{"request":"private-next-pages/_app"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":175,"name":"add-entry","id":183,"timestamp":1371174178377,"duration":4922,"tags":{"request":"./pages/index.tsx"},"startTime":1664294218215},{"traceId":"06b5767d478984a7","parentId":154,"name":"make","id":176,"timestamp":1371174168494,"duration":14821,"tags":{},"startTime":1664294218205},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-chunk-graph","id":185,"timestamp":1371174183591,"duration":215,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-modules","id":187,"timestamp":1371174183816,"duration":2,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-chunks","id":188,"timestamp":1371174183828,"duration":40,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize-tree","id":189,"timestamp":1371174183877,"duration":4,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-optimize","id":186,"timestamp":1371174183813,"duration":124,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-hash","id":190,"timestamp":1371174184943,"duration":885,"tags":{},"startTime":1664294218221},{"traceId":"06b5767d478984a7","parentId":175,"name":"webpack-compilation-seal","id":184,"timestamp":1371174183530,"duration":3352,"tags":{},"startTime":1664294218220},{"traceId":"06b5767d478984a7","parentId":154,"name":"webpack-compilation","id":175,"timestamp":1371174167335,"duration":19586,"tags":{"name":"server"},"startTime":1664294218204},{"traceId":"06b5767d478984a7","parentId":154,"name":"emit","id":191,"timestamp":1371174186950,"duration":4662,"tags":{},"startTime":1664294218223},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":154,"timestamp":1371174084329,"duration":107837,"tags":{"trigger":"manual"},"startTime":1664294218121}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":192,"timestamp":1371174535551,"duration":0,"tags":{},"startTime":1664294218572},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":193,"timestamp":1371174542238,"duration":0,"tags":{},"startTime":1664294218578},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":194,"timestamp":1371174542294,"duration":0,"tags":{},"startTime":1664294218578},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":195,"timestamp":1371185019211,"duration":0,"tags":{},"startTime":1664294229055},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":196,"timestamp":1371187042353,"duration":1,"tags":{},"startTime":1664294231078},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":197,"timestamp":1371187042607,"duration":0,"tags":{},"startTime":1664294231079},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":202,"timestamp":1371188141162,"duration":7895,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":210,"name":"read-resource","id":211,"timestamp":1371188151458,"duration":58,"tags":{},"startTime":1664294232187},{"traceId":"06b5767d478984a7","parentId":212,"name":"postcss-process","id":213,"timestamp":1371188151682,"duration":35143,"tags":{},"startTime":1664294232188},{"traceId":"06b5767d478984a7","parentId":210,"name":"postcss-loader","id":212,"timestamp":1371188151617,"duration":35695,"tags":{},"startTime":1664294232188},{"traceId":"06b5767d478984a7","parentId":210,"name":"css-loader","id":214,"timestamp":1371188187373,"duration":11517,"tags":{"astUsed":"true"},"startTime":1664294232223},{"traceId":"06b5767d478984a7","parentId":200,"name":"build-module-css","id":210,"timestamp":1371188150541,"duration":56155,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294232186},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":207,"timestamp":1371188141254,"duration":65958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":209,"timestamp":1371188141258,"duration":65958,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":203,"timestamp":1371188141239,"duration":66797,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":206,"timestamp":1371188141250,"duration":68503,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":208,"timestamp":1371188141256,"duration":68827,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":204,"timestamp":1371188141244,"duration":68845,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":216,"name":"next-swc-transform","id":217,"timestamp":1371188210377,"duration":2064,"tags":{},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":215,"name":"next-swc-loader","id":216,"timestamp":1371188210094,"duration":2353,"tags":{},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":200,"name":"build-module-tsx","id":215,"timestamp":1371188209842,"duration":7003,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232246},{"traceId":"06b5767d478984a7","parentId":200,"name":"add-entry","id":205,"timestamp":1371188141247,"duration":106042,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294232177},{"traceId":"06b5767d478984a7","parentId":198,"name":"make","id":201,"timestamp":1371188139712,"duration":107675,"tags":{},"startTime":1664294232176},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-chunk-graph","id":219,"timestamp":1371188252580,"duration":6327,"tags":{},"startTime":1664294232289},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-modules","id":221,"timestamp":1371188258978,"duration":13,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-chunks","id":222,"timestamp":1371188259031,"duration":212,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize-tree","id":223,"timestamp":1371188259289,"duration":83,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-optimize","id":220,"timestamp":1371188258950,"duration":1986,"tags":{},"startTime":1664294232295},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-hash","id":224,"timestamp":1371188273848,"duration":6804,"tags":{},"startTime":1664294232310},{"traceId":"06b5767d478984a7","parentId":200,"name":"NextJsBuildManifest-generateClientManifest","id":226,"timestamp":1371188282086,"duration":339,"tags":{},"startTime":1664294232318},{"traceId":"06b5767d478984a7","parentId":200,"name":"NextJsBuildManifest-createassets","id":225,"timestamp":1371188281898,"duration":533,"tags":{},"startTime":1664294232318},{"traceId":"06b5767d478984a7","parentId":200,"name":"webpack-compilation-seal","id":218,"timestamp":1371188249345,"duration":34020,"tags":{},"startTime":1664294232285},{"traceId":"06b5767d478984a7","parentId":198,"name":"webpack-compilation","id":200,"timestamp":1371188138799,"duration":144623,"tags":{"name":"client"},"startTime":1664294232175},{"traceId":"06b5767d478984a7","parentId":198,"name":"emit","id":227,"timestamp":1371188283490,"duration":3429,"tags":{},"startTime":1664294232319},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":198,"timestamp":1371188115143,"duration":172802,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232151},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":230,"timestamp":1371188305136,"duration":0,"tags":{},"startTime":1664294232341},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":231,"timestamp":1371188305208,"duration":0,"tags":{},"startTime":1664294232341},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":236,"timestamp":1371188306156,"duration":5753,"tags":{"request":"./pages/index.tsx"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":233,"timestamp":1371188306137,"duration":6775,"tags":{"request":"private-next-pages/_error"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":235,"timestamp":1371188306152,"duration":6768,"tags":{"request":"./node_modules/next/dist/pages/_error.js"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":234,"timestamp":1371188306149,"duration":6776,"tags":{"request":"private-next-pages/_document"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":238,"name":"next-swc-transform","id":239,"timestamp":1371188313534,"duration":1070,"tags":{},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":237,"name":"next-swc-loader","id":238,"timestamp":1371188313411,"duration":1200,"tags":{},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":228,"name":"build-module-tsx","id":237,"timestamp":1371188313225,"duration":3961,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232349},{"traceId":"06b5767d478984a7","parentId":228,"name":"add-entry","id":232,"timestamp":1371188306090,"duration":14046,"tags":{"request":"private-next-pages/_app"},"startTime":1664294232342},{"traceId":"06b5767d478984a7","parentId":199,"name":"make","id":229,"timestamp":1371188290660,"duration":29499,"tags":{},"startTime":1664294232327},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-chunk-graph","id":241,"timestamp":1371188320874,"duration":685,"tags":{},"startTime":1664294232357},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-modules","id":243,"timestamp":1371188321584,"duration":4,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-chunks","id":244,"timestamp":1371188321630,"duration":47,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize-tree","id":245,"timestamp":1371188321709,"duration":141,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-optimize","id":242,"timestamp":1371188321574,"duration":477,"tags":{},"startTime":1664294232358},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-hash","id":246,"timestamp":1371188324866,"duration":1583,"tags":{},"startTime":1664294232361},{"traceId":"06b5767d478984a7","parentId":228,"name":"webpack-compilation-seal","id":240,"timestamp":1371188320766,"duration":6276,"tags":{},"startTime":1664294232357},{"traceId":"06b5767d478984a7","parentId":199,"name":"webpack-compilation","id":228,"timestamp":1371188290364,"duration":36704,"tags":{"name":"server"},"startTime":1664294232326},{"traceId":"06b5767d478984a7","parentId":199,"name":"emit","id":247,"timestamp":1371188327096,"duration":1793,"tags":{},"startTime":1664294232363},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":199,"timestamp":1371188115708,"duration":214290,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/NotExist.tsx"},"startTime":1664294232152}] -[{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":252,"timestamp":1371213917045,"duration":4115,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":259,"name":"read-resource","id":260,"timestamp":1371213922177,"duration":29,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":261,"name":"postcss-process","id":262,"timestamp":1371213922239,"duration":31323,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":259,"name":"postcss-loader","id":261,"timestamp":1371213922221,"duration":31692,"tags":{},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":259,"name":"css-loader","id":263,"timestamp":1371213953935,"duration":7729,"tags":{"astUsed":"true"},"startTime":1664294257989},{"traceId":"06b5767d478984a7","parentId":250,"name":"build-module-css","id":259,"timestamp":1371213921993,"duration":40932,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294257958},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":257,"timestamp":1371213917109,"duration":46331,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":253,"timestamp":1371213917096,"duration":47158,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":256,"timestamp":1371213917106,"duration":49268,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":258,"timestamp":1371213917111,"duration":49578,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":254,"timestamp":1371213917101,"duration":49592,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":265,"name":"next-swc-transform","id":266,"timestamp":1371213964609,"duration":4183,"tags":{},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":264,"name":"next-swc-loader","id":265,"timestamp":1371213964567,"duration":4231,"tags":{},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":250,"name":"build-module-tsx","id":264,"timestamp":1371213964422,"duration":8300,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294258000},{"traceId":"06b5767d478984a7","parentId":250,"name":"add-entry","id":255,"timestamp":1371213917103,"duration":119251,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294257953},{"traceId":"06b5767d478984a7","parentId":248,"name":"make","id":251,"timestamp":1371213916068,"duration":120315,"tags":{},"startTime":1664294257952},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-chunk-graph","id":268,"timestamp":1371214040872,"duration":3791,"tags":{},"startTime":1664294258076},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-modules","id":270,"timestamp":1371214044690,"duration":4,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-chunks","id":271,"timestamp":1371214044706,"duration":93,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize-tree","id":272,"timestamp":1371214044816,"duration":5,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-optimize","id":269,"timestamp":1371214044682,"duration":1495,"tags":{},"startTime":1664294258080},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-hash","id":273,"timestamp":1371214058831,"duration":4635,"tags":{},"startTime":1664294258094},{"traceId":"06b5767d478984a7","parentId":250,"name":"NextJsBuildManifest-generateClientManifest","id":275,"timestamp":1371214077818,"duration":63,"tags":{},"startTime":1664294258113},{"traceId":"06b5767d478984a7","parentId":250,"name":"NextJsBuildManifest-createassets","id":274,"timestamp":1371214077742,"duration":151,"tags":{},"startTime":1664294258113},{"traceId":"06b5767d478984a7","parentId":250,"name":"webpack-compilation-seal","id":267,"timestamp":1371214037906,"duration":41860,"tags":{},"startTime":1664294258073},{"traceId":"06b5767d478984a7","parentId":248,"name":"webpack-compilation","id":250,"timestamp":1371213915787,"duration":164026,"tags":{"name":"client"},"startTime":1664294257951},{"traceId":"06b5767d478984a7","parentId":248,"name":"emit","id":276,"timestamp":1371214079834,"duration":112271,"tags":{},"startTime":1664294258115},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":248,"timestamp":1371213900310,"duration":300276,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294257936},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":282,"timestamp":1371214225595,"duration":0,"tags":{},"startTime":1664294258261},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":283,"timestamp":1371214225719,"duration":0,"tags":{},"startTime":1664294258261},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":280,"timestamp":1371214224894,"duration":5519,"tags":{"request":"private-next-pages/_error"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":281,"timestamp":1371214224899,"duration":5524,"tags":{"request":"private-next-pages/_document"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":285,"name":"next-swc-transform","id":286,"timestamp":1371214230226,"duration":1467,"tags":{},"startTime":1664294258266},{"traceId":"06b5767d478984a7","parentId":284,"name":"next-swc-loader","id":285,"timestamp":1371214230144,"duration":1557,"tags":{},"startTime":1664294258266},{"traceId":"06b5767d478984a7","parentId":277,"name":"build-module-tsx","id":284,"timestamp":1371214229910,"duration":7001,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294258265},{"traceId":"06b5767d478984a7","parentId":284,"name":"build-module-bowser","id":287,"timestamp":1371214243625,"duration":157,"tags":{"name":"bowser"},"startTime":1664294258279},{"traceId":"06b5767d478984a7","parentId":277,"name":"add-entry","id":279,"timestamp":1371214224814,"duration":19020,"tags":{"request":"private-next-pages/_app"},"startTime":1664294258260},{"traceId":"06b5767d478984a7","parentId":249,"name":"make","id":278,"timestamp":1371214215821,"duration":28037,"tags":{},"startTime":1664294258251},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-chunk-graph","id":289,"timestamp":1371214244292,"duration":349,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-modules","id":291,"timestamp":1371214244652,"duration":2,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-chunks","id":292,"timestamp":1371214244664,"duration":29,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize-tree","id":293,"timestamp":1371214244703,"duration":3,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-optimize","id":290,"timestamp":1371214244648,"duration":146,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-hash","id":294,"timestamp":1371214246973,"duration":500,"tags":{},"startTime":1664294258282},{"traceId":"06b5767d478984a7","parentId":277,"name":"webpack-compilation-seal","id":288,"timestamp":1371214244221,"duration":5507,"tags":{},"startTime":1664294258280},{"traceId":"06b5767d478984a7","parentId":249,"name":"webpack-compilation","id":277,"timestamp":1371214215579,"duration":34177,"tags":{"name":"server"},"startTime":1664294258251},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":296,"timestamp":1664294257936999,"duration":343000,"tags":{"clientId":1664294218658},"startTime":1664294258286},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":297,"timestamp":1664294257936999,"duration":350000,"tags":{"clientId":1664294218622},"startTime":1664294258289},{"traceId":"06b5767d478984a7","parentId":249,"name":"emit","id":295,"timestamp":1371214249790,"duration":4457,"tags":{},"startTime":1664294258285},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":249,"timestamp":1371213900570,"duration":354110,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294257936}] -[{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":303,"timestamp":1371240889921,"duration":8882,"tags":{"request":"private-next-pages/_error"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":304,"timestamp":1371240889925,"duration":8891,"tags":{"request":"private-next-pages/_document"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":306,"name":"next-swc-transform","id":307,"timestamp":1371240898092,"duration":11498,"tags":{},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":305,"name":"next-swc-loader","id":306,"timestamp":1371240898036,"duration":11568,"tags":{},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":300,"name":"build-module-tsx","id":305,"timestamp":1371240897893,"duration":16097,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284933},{"traceId":"06b5767d478984a7","parentId":300,"name":"add-entry","id":302,"timestamp":1371240889885,"duration":26743,"tags":{"request":"private-next-pages/_app"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":298,"name":"make","id":301,"timestamp":1371240889789,"duration":26861,"tags":{},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-chunk-graph","id":309,"timestamp":1371240917022,"duration":337,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-modules","id":311,"timestamp":1371240917371,"duration":3,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-chunks","id":312,"timestamp":1371240917384,"duration":32,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize-tree","id":313,"timestamp":1371240917426,"duration":3,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-optimize","id":310,"timestamp":1371240917366,"duration":114,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-hash","id":314,"timestamp":1371240918925,"duration":495,"tags":{},"startTime":1664294284954},{"traceId":"06b5767d478984a7","parentId":300,"name":"webpack-compilation-seal","id":308,"timestamp":1371240916950,"duration":3715,"tags":{},"startTime":1664294284952},{"traceId":"06b5767d478984a7","parentId":298,"name":"webpack-compilation","id":300,"timestamp":1371240889517,"duration":31167,"tags":{"name":"server"},"startTime":1664294284925},{"traceId":"06b5767d478984a7","parentId":298,"name":"emit","id":315,"timestamp":1371240920696,"duration":5000,"tags":{},"startTime":1664294284956},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":298,"timestamp":1371240881075,"duration":44915,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284916},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":318,"timestamp":1371240931495,"duration":4335,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":323,"timestamp":1371240931547,"duration":6053,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":325,"name":"read-resource","id":326,"timestamp":1371240937388,"duration":2069,"tags":{},"startTime":1664294284972},{"traceId":"06b5767d478984a7","parentId":330,"name":"postcss-process","id":331,"timestamp":1371240939494,"duration":30870,"tags":{},"startTime":1664294284975},{"traceId":"06b5767d478984a7","parentId":325,"name":"postcss-loader","id":330,"timestamp":1371240939484,"duration":31016,"tags":{},"startTime":1664294284975},{"traceId":"06b5767d478984a7","parentId":325,"name":"css-loader","id":332,"timestamp":1371240970523,"duration":8094,"tags":{"astUsed":"true"},"startTime":1664294285006},{"traceId":"06b5767d478984a7","parentId":316,"name":"build-module-css","id":325,"timestamp":1371240937246,"duration":46820,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294284972},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":319,"timestamp":1371240931534,"duration":54176,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":328,"name":"next-swc-transform","id":329,"timestamp":1371240938439,"duration":47519,"tags":{},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":327,"name":"next-swc-loader","id":328,"timestamp":1371240938380,"duration":47581,"tags":{},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":316,"name":"build-module-tsx","id":327,"timestamp":1371240937629,"duration":53641,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284973},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":322,"timestamp":1371240931544,"duration":61196,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":324,"timestamp":1371240931549,"duration":61582,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":320,"timestamp":1371240931538,"duration":64206,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":316,"name":"add-entry","id":321,"timestamp":1371240931541,"duration":96452,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294284967},{"traceId":"06b5767d478984a7","parentId":299,"name":"make","id":317,"timestamp":1371240928932,"duration":99092,"tags":{},"startTime":1664294284964},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-chunk-graph","id":334,"timestamp":1371241032459,"duration":19159,"tags":{},"startTime":1664294285067},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-modules","id":336,"timestamp":1371241051658,"duration":3,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-chunks","id":337,"timestamp":1371241051673,"duration":107,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize-tree","id":338,"timestamp":1371241051798,"duration":3,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-optimize","id":335,"timestamp":1371241051649,"duration":1384,"tags":{},"startTime":1664294285087},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-hash","id":339,"timestamp":1371241061493,"duration":3828,"tags":{},"startTime":1664294285097},{"traceId":"06b5767d478984a7","parentId":316,"name":"NextJsBuildManifest-generateClientManifest","id":341,"timestamp":1371241075541,"duration":55,"tags":{},"startTime":1664294285111},{"traceId":"06b5767d478984a7","parentId":316,"name":"NextJsBuildManifest-createassets","id":340,"timestamp":1371241075479,"duration":129,"tags":{},"startTime":1664294285111},{"traceId":"06b5767d478984a7","parentId":316,"name":"webpack-compilation-seal","id":333,"timestamp":1371241029675,"duration":47408,"tags":{},"startTime":1664294285065},{"traceId":"06b5767d478984a7","parentId":299,"name":"webpack-compilation","id":316,"timestamp":1371240928692,"duration":148418,"tags":{"name":"client"},"startTime":1664294284964},{"traceId":"06b5767d478984a7","parentId":299,"name":"emit","id":342,"timestamp":1371241077126,"duration":103357,"tags":{},"startTime":1664294285112},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":299,"timestamp":1371240881244,"duration":300258,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294284916}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":343,"timestamp":1371241192145,"duration":0,"tags":{},"startTime":1664294285227},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":344,"timestamp":1371241192371,"duration":0,"tags":{},"startTime":1664294285227},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":345,"timestamp":1664294284916999,"duration":321000,"tags":{"clientId":1664294218658},"startTime":1664294285239},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":346,"timestamp":1664294284924000,"duration":323000,"tags":{"clientId":1664294218622},"startTime":1664294285247},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":352,"timestamp":1371278132974,"duration":10976,"tags":{"request":"private-next-pages/_error"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":353,"timestamp":1371278132978,"duration":10989,"tags":{"request":"private-next-pages/_document"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":355,"name":"next-swc-transform","id":356,"timestamp":1371278142899,"duration":2021,"tags":{},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":354,"name":"next-swc-loader","id":355,"timestamp":1371278142614,"duration":2313,"tags":{},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":349,"name":"build-module-tsx","id":354,"timestamp":1371278142153,"duration":14003,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322177},{"traceId":"06b5767d478984a7","parentId":349,"name":"add-entry","id":351,"timestamp":1371278132894,"duration":26171,"tags":{"request":"private-next-pages/_app"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":347,"name":"make","id":350,"timestamp":1371278132730,"duration":26397,"tags":{},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-chunk-graph","id":358,"timestamp":1371278159807,"duration":989,"tags":{},"startTime":1664294322194},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-modules","id":360,"timestamp":1371278160847,"duration":13,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-chunks","id":361,"timestamp":1371278160895,"duration":35,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize-tree","id":362,"timestamp":1371278160960,"duration":71,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-optimize","id":359,"timestamp":1371278160824,"duration":306,"tags":{},"startTime":1664294322195},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-hash","id":363,"timestamp":1371278164199,"duration":1559,"tags":{},"startTime":1664294322199},{"traceId":"06b5767d478984a7","parentId":349,"name":"webpack-compilation-seal","id":357,"timestamp":1371278159696,"duration":9308,"tags":{},"startTime":1664294322194},{"traceId":"06b5767d478984a7","parentId":347,"name":"webpack-compilation","id":349,"timestamp":1371278132247,"duration":36919,"tags":{"name":"server"},"startTime":1664294322167},{"traceId":"06b5767d478984a7","parentId":347,"name":"emit","id":364,"timestamp":1371278169255,"duration":1924,"tags":{},"startTime":1664294322204},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":347,"timestamp":1371278122903,"duration":48791,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322157},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":367,"timestamp":1371278179937,"duration":4361,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":374,"name":"read-resource","id":375,"timestamp":1371278186337,"duration":64,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":376,"name":"postcss-process","id":377,"timestamp":1371278186512,"duration":36728,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":374,"name":"postcss-loader","id":376,"timestamp":1371278186485,"duration":37213,"tags":{},"startTime":1664294322221},{"traceId":"06b5767d478984a7","parentId":374,"name":"css-loader","id":378,"timestamp":1371278223760,"duration":11190,"tags":{"astUsed":"true"},"startTime":1664294322258},{"traceId":"06b5767d478984a7","parentId":365,"name":"build-module-css","id":374,"timestamp":1371278185358,"duration":56294,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294322220},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":372,"timestamp":1371278179982,"duration":63282,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":368,"timestamp":1371278179969,"duration":64106,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":371,"timestamp":1371278179979,"duration":66147,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":373,"timestamp":1371278179984,"duration":66428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":369,"timestamp":1371278179973,"duration":66444,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":380,"name":"next-swc-transform","id":381,"timestamp":1371278244507,"duration":2278,"tags":{},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":379,"name":"next-swc-loader","id":380,"timestamp":1371278244444,"duration":2343,"tags":{},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":365,"name":"build-module-tsx","id":379,"timestamp":1371278244250,"duration":9452,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322279},{"traceId":"06b5767d478984a7","parentId":365,"name":"add-entry","id":370,"timestamp":1371278179976,"duration":102475,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294322214},{"traceId":"06b5767d478984a7","parentId":348,"name":"make","id":366,"timestamp":1371278177955,"duration":104569,"tags":{},"startTime":1664294322212},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-chunk-graph","id":383,"timestamp":1371278287058,"duration":16208,"tags":{},"startTime":1664294322321},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-modules","id":385,"timestamp":1371278303295,"duration":3,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-chunks","id":386,"timestamp":1371278303371,"duration":46,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize-tree","id":387,"timestamp":1371278303453,"duration":58,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-optimize","id":384,"timestamp":1371278303287,"duration":1753,"tags":{},"startTime":1664294322338},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-hash","id":388,"timestamp":1371278317284,"duration":6900,"tags":{},"startTime":1664294322352},{"traceId":"06b5767d478984a7","parentId":365,"name":"NextJsBuildManifest-generateClientManifest","id":390,"timestamp":1371278334998,"duration":348,"tags":{},"startTime":1664294322369},{"traceId":"06b5767d478984a7","parentId":365,"name":"NextJsBuildManifest-createassets","id":389,"timestamp":1371278334723,"duration":634,"tags":{},"startTime":1664294322369},{"traceId":"06b5767d478984a7","parentId":365,"name":"webpack-compilation-seal","id":382,"timestamp":1371278284117,"duration":52941,"tags":{},"startTime":1664294322319},{"traceId":"06b5767d478984a7","parentId":348,"name":"webpack-compilation","id":365,"timestamp":1371278177294,"duration":159799,"tags":{"name":"client"},"startTime":1664294322212},{"traceId":"06b5767d478984a7","parentId":348,"name":"emit","id":391,"timestamp":1371278337135,"duration":97887,"tags":{},"startTime":1664294322372},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":348,"timestamp":1371278123192,"duration":314028,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294322158}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":392,"timestamp":1371278453198,"duration":0,"tags":{},"startTime":1664294322488},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":393,"timestamp":1371278453445,"duration":0,"tags":{},"startTime":1664294322488},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":394,"timestamp":1664294322158000,"duration":340999,"tags":{"clientId":1664294218658},"startTime":1664294322499},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":395,"timestamp":1664294322160000,"duration":454000,"tags":{"clientId":1664294218622},"startTime":1664294322615},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":400,"timestamp":1371295082994,"duration":9370,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":401,"timestamp":1371295083289,"duration":10832,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":407,"name":"read-resource","id":408,"timestamp":1371295095022,"duration":115,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":409,"name":"postcss-process","id":410,"timestamp":1371295095257,"duration":42588,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":407,"name":"postcss-loader","id":409,"timestamp":1371295095214,"duration":43001,"tags":{},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":407,"name":"css-loader","id":411,"timestamp":1371295138244,"duration":7967,"tags":{"astUsed":"true"},"startTime":1664294339172},{"traceId":"06b5767d478984a7","parentId":398,"name":"build-module-css","id":407,"timestamp":1371295094486,"duration":53446,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294339129},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":405,"timestamp":1371295083323,"duration":65098,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":404,"timestamp":1371295083315,"duration":66798,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":406,"timestamp":1371295083328,"duration":68239,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":402,"timestamp":1371295083301,"duration":68270,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":398,"name":"add-entry","id":403,"timestamp":1371295083307,"duration":96071,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294339117},{"traceId":"06b5767d478984a7","parentId":396,"name":"make","id":399,"timestamp":1371295081277,"duration":98136,"tags":{},"startTime":1664294339115},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-chunk-graph","id":413,"timestamp":1371295184442,"duration":12707,"tags":{},"startTime":1664294339219},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-modules","id":415,"timestamp":1371295197181,"duration":14,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-chunks","id":416,"timestamp":1371295197235,"duration":96,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize-tree","id":417,"timestamp":1371295197374,"duration":17,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-optimize","id":414,"timestamp":1371295197173,"duration":1789,"tags":{},"startTime":1664294339231},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-hash","id":418,"timestamp":1371295208318,"duration":6347,"tags":{},"startTime":1664294339242},{"traceId":"06b5767d478984a7","parentId":398,"name":"NextJsBuildManifest-generateClientManifest","id":420,"timestamp":1371295215936,"duration":79,"tags":{},"startTime":1664294339250},{"traceId":"06b5767d478984a7","parentId":398,"name":"NextJsBuildManifest-createassets","id":419,"timestamp":1371295215833,"duration":188,"tags":{},"startTime":1664294339250},{"traceId":"06b5767d478984a7","parentId":398,"name":"webpack-compilation-seal","id":412,"timestamp":1371295181086,"duration":36007,"tags":{},"startTime":1664294339215},{"traceId":"06b5767d478984a7","parentId":396,"name":"webpack-compilation","id":398,"timestamp":1371295080611,"duration":136528,"tags":{"name":"client"},"startTime":1664294339115},{"traceId":"06b5767d478984a7","parentId":396,"name":"emit","id":421,"timestamp":1371295217163,"duration":2193,"tags":{},"startTime":1664294339251},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":396,"timestamp":1371295056822,"duration":163101,"tags":{"trigger":"manual"},"startTime":1664294339091},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":424,"timestamp":1371295230868,"duration":0,"tags":{},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":425,"timestamp":1371295230935,"duration":0,"tags":{},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":429,"timestamp":1371295231322,"duration":4701,"tags":{"request":"./pages/index.tsx"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":427,"timestamp":1371295231315,"duration":5144,"tags":{"request":"private-next-pages/_error"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":428,"timestamp":1371295231319,"duration":5148,"tags":{"request":"private-next-pages/_document"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":422,"name":"add-entry","id":426,"timestamp":1371295231258,"duration":5369,"tags":{"request":"private-next-pages/_app"},"startTime":1664294339265},{"traceId":"06b5767d478984a7","parentId":397,"name":"make","id":423,"timestamp":1371295222095,"duration":14555,"tags":{},"startTime":1664294339256},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-chunk-graph","id":431,"timestamp":1371295236928,"duration":311,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-modules","id":433,"timestamp":1371295237249,"duration":2,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-chunks","id":434,"timestamp":1371295237259,"duration":15,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize-tree","id":435,"timestamp":1371295237281,"duration":3,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-optimize","id":432,"timestamp":1371295237245,"duration":95,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-hash","id":436,"timestamp":1371295238098,"duration":511,"tags":{},"startTime":1664294339272},{"traceId":"06b5767d478984a7","parentId":422,"name":"webpack-compilation-seal","id":430,"timestamp":1371295236871,"duration":3061,"tags":{},"startTime":1664294339271},{"traceId":"06b5767d478984a7","parentId":397,"name":"webpack-compilation","id":422,"timestamp":1371295221912,"duration":18046,"tags":{"name":"server"},"startTime":1664294339256},{"traceId":"06b5767d478984a7","parentId":397,"name":"emit","id":437,"timestamp":1371295239971,"duration":4137,"tags":{},"startTime":1664294339274},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":397,"timestamp":1371295057686,"duration":187018,"tags":{"trigger":"manual"},"startTime":1664294339092}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":438,"timestamp":1371295532771,"duration":0,"tags":{},"startTime":1664294339567},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":439,"timestamp":1371295533027,"duration":0,"tags":{},"startTime":1664294339567},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":444,"timestamp":1371317673344,"duration":4138,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":449,"timestamp":1371317673417,"duration":5893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":451,"name":"read-resource","id":452,"timestamp":1371317678510,"duration":1450,"tags":{},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":456,"name":"postcss-process","id":457,"timestamp":1371317679995,"duration":25158,"tags":{},"startTime":1664294361714},{"traceId":"06b5767d478984a7","parentId":451,"name":"postcss-loader","id":456,"timestamp":1371317679979,"duration":25356,"tags":{},"startTime":1664294361714},{"traceId":"06b5767d478984a7","parentId":451,"name":"css-loader","id":458,"timestamp":1371317705360,"duration":8768,"tags":{"astUsed":"true"},"startTime":1664294361739},{"traceId":"06b5767d478984a7","parentId":442,"name":"build-module-css","id":451,"timestamp":1371317678383,"duration":37099,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":445,"timestamp":1371317673404,"duration":45574,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":454,"name":"next-swc-transform","id":455,"timestamp":1371317679063,"duration":40277,"tags":{},"startTime":1664294361713},{"traceId":"06b5767d478984a7","parentId":453,"name":"next-swc-loader","id":454,"timestamp":1371317678748,"duration":40596,"tags":{},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"build-module-tsx","id":453,"timestamp":1371317678547,"duration":45438,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361712},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":448,"timestamp":1371317673413,"duration":51628,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":450,"timestamp":1371317673419,"duration":51958,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":446,"timestamp":1371317673408,"duration":90247,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":442,"name":"add-entry","id":447,"timestamp":1371317673410,"duration":182523,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294361707},{"traceId":"06b5767d478984a7","parentId":440,"name":"make","id":443,"timestamp":1371317672410,"duration":183563,"tags":{},"startTime":1664294361706},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-chunk-graph","id":460,"timestamp":1371317860544,"duration":17883,"tags":{},"startTime":1664294361894},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-modules","id":462,"timestamp":1371317878481,"duration":12,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-chunks","id":463,"timestamp":1371317878526,"duration":59,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize-tree","id":464,"timestamp":1371317878620,"duration":11,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-optimize","id":461,"timestamp":1371317878459,"duration":1539,"tags":{},"startTime":1664294361912},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-hash","id":465,"timestamp":1371317893266,"duration":4037,"tags":{},"startTime":1664294361927},{"traceId":"06b5767d478984a7","parentId":442,"name":"NextJsBuildManifest-generateClientManifest","id":467,"timestamp":1371317907173,"duration":76,"tags":{},"startTime":1664294361941},{"traceId":"06b5767d478984a7","parentId":442,"name":"NextJsBuildManifest-createassets","id":466,"timestamp":1371317907091,"duration":170,"tags":{},"startTime":1664294361941},{"traceId":"06b5767d478984a7","parentId":442,"name":"webpack-compilation-seal","id":459,"timestamp":1371317857417,"duration":51764,"tags":{},"startTime":1664294361891},{"traceId":"06b5767d478984a7","parentId":440,"name":"webpack-compilation","id":442,"timestamp":1371317672162,"duration":237064,"tags":{"name":"client"},"startTime":1664294361706},{"traceId":"06b5767d478984a7","parentId":440,"name":"emit","id":468,"timestamp":1371317909251,"duration":144528,"tags":{},"startTime":1664294361943},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":440,"timestamp":1371317660036,"duration":394893,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361694},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":475,"timestamp":1371318068164,"duration":0,"tags":{},"startTime":1664294362102},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":476,"timestamp":1371318068335,"duration":0,"tags":{},"startTime":1664294362102},{"traceId":"06b5767d478984a7","parentId":478,"name":"next-swc-transform","id":479,"timestamp":1371318072149,"duration":2111,"tags":{},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":477,"name":"next-swc-loader","id":478,"timestamp":1371318072067,"duration":2201,"tags":{},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":469,"name":"build-module-tsx","id":477,"timestamp":1371318071963,"duration":5431,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294362106},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":473,"timestamp":1371318067620,"duration":11871,"tags":{"request":"private-next-pages/_error"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":474,"timestamp":1371318067624,"duration":11875,"tags":{"request":"private-next-pages/_document"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":480,"timestamp":1664294362102000,"duration":14999,"tags":{"clientId":1664294218658},"startTime":1664294362118},{"traceId":"06b5767d478984a7","parentId":469,"name":"add-entry","id":472,"timestamp":1371318067558,"duration":18034,"tags":{"request":"private-next-pages/_app"},"startTime":1664294362101},{"traceId":"06b5767d478984a7","parentId":441,"name":"make","id":470,"timestamp":1371318057850,"duration":27769,"tags":{},"startTime":1664294362092},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-chunk-graph","id":482,"timestamp":1371318086055,"duration":289,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-modules","id":484,"timestamp":1371318086356,"duration":3,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-chunks","id":485,"timestamp":1371318086396,"duration":31,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize-tree","id":486,"timestamp":1371318086453,"duration":13,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-optimize","id":483,"timestamp":1371318086352,"duration":216,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-hash","id":487,"timestamp":1371318088427,"duration":995,"tags":{},"startTime":1664294362122},{"traceId":"06b5767d478984a7","parentId":469,"name":"webpack-compilation-seal","id":481,"timestamp":1371318085986,"duration":5051,"tags":{},"startTime":1664294362120},{"traceId":"06b5767d478984a7","parentId":441,"name":"webpack-compilation","id":469,"timestamp":1371318057541,"duration":33521,"tags":{"name":"server"},"startTime":1664294362091},{"traceId":"06b5767d478984a7","parentId":441,"name":"emit","id":488,"timestamp":1371318091089,"duration":4701,"tags":{},"startTime":1664294362125},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":441,"timestamp":1371317660311,"duration":435907,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/wallet.tsx"},"startTime":1664294361694},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":491,"timestamp":1371318101548,"duration":3024,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":498,"name":"read-resource","id":499,"timestamp":1371318105417,"duration":25,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":500,"name":"postcss-process","id":501,"timestamp":1371318105476,"duration":26627,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":498,"name":"postcss-loader","id":500,"timestamp":1371318105464,"duration":26788,"tags":{},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":498,"name":"css-loader","id":502,"timestamp":1371318132277,"duration":6816,"tags":{"astUsed":"true"},"startTime":1664294362166},{"traceId":"06b5767d478984a7","parentId":489,"name":"build-module-css","id":498,"timestamp":1371318105309,"duration":34878,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294362139},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":503,"timestamp":1664294362102000,"duration":40999,"tags":{"clientId":1664294339605},"startTime":1664294362174},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":496,"timestamp":1371318101657,"duration":39052,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":492,"timestamp":1371318101645,"duration":39791,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":495,"timestamp":1371318101654,"duration":41714,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":497,"timestamp":1371318101659,"duration":42084,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":493,"timestamp":1371318101649,"duration":42098,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":489,"name":"add-entry","id":494,"timestamp":1371318101651,"duration":65357,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294362135},{"traceId":"06b5767d478984a7","parentId":471,"name":"make","id":490,"timestamp":1371318100357,"duration":66687,"tags":{},"startTime":1664294362134},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-chunk-graph","id":505,"timestamp":1371318171125,"duration":19408,"tags":{},"startTime":1664294362205},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-modules","id":507,"timestamp":1371318190562,"duration":3,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-chunks","id":508,"timestamp":1371318190575,"duration":45,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize-tree","id":509,"timestamp":1371318190639,"duration":4,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-optimize","id":506,"timestamp":1371318190555,"duration":1517,"tags":{},"startTime":1664294362224},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-hash","id":510,"timestamp":1371318200334,"duration":6095,"tags":{},"startTime":1664294362234},{"traceId":"06b5767d478984a7","parentId":489,"name":"NextJsBuildManifest-generateClientManifest","id":512,"timestamp":1371318207300,"duration":80,"tags":{},"startTime":1664294362241},{"traceId":"06b5767d478984a7","parentId":489,"name":"NextJsBuildManifest-createassets","id":511,"timestamp":1371318207238,"duration":146,"tags":{},"startTime":1664294362241},{"traceId":"06b5767d478984a7","parentId":489,"name":"webpack-compilation-seal","id":504,"timestamp":1371318168143,"duration":40075,"tags":{},"startTime":1664294362202},{"traceId":"06b5767d478984a7","parentId":471,"name":"webpack-compilation","id":489,"timestamp":1371318100135,"duration":108108,"tags":{"name":"client"},"startTime":1664294362134},{"traceId":"06b5767d478984a7","parentId":471,"name":"emit","id":513,"timestamp":1371318208257,"duration":3216,"tags":{},"startTime":1664294362242},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":471,"timestamp":1371318067317,"duration":145325,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components"},"startTime":1664294362101}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":514,"timestamp":1371318222018,"duration":0,"tags":{},"startTime":1664294362256},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":515,"timestamp":1371318231566,"duration":0,"tags":{},"startTime":1664294362265},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":520,"timestamp":1371325408531,"duration":3301,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":527,"name":"read-resource","id":528,"timestamp":1371325412674,"duration":57,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":529,"name":"postcss-process","id":530,"timestamp":1371325412785,"duration":24343,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":527,"name":"postcss-loader","id":529,"timestamp":1371325412760,"duration":24578,"tags":{},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":527,"name":"css-loader","id":531,"timestamp":1371325437368,"duration":7757,"tags":{"astUsed":"true"},"startTime":1664294369471},{"traceId":"06b5767d478984a7","parentId":518,"name":"build-module-css","id":527,"timestamp":1371325412562,"duration":33444,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294369446},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":525,"timestamp":1371325408590,"duration":37798,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":521,"timestamp":1371325408572,"duration":38482,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":524,"timestamp":1371325408587,"duration":40318,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":526,"timestamp":1371325408593,"duration":40644,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":522,"timestamp":1371325408582,"duration":40658,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":533,"name":"next-swc-transform","id":534,"timestamp":1371325449300,"duration":1656,"tags":{},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":532,"name":"next-swc-loader","id":533,"timestamp":1371325449244,"duration":1716,"tags":{},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":518,"name":"build-module-tsx","id":532,"timestamp":1371325449103,"duration":3649,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369483},{"traceId":"06b5767d478984a7","parentId":518,"name":"add-entry","id":523,"timestamp":1371325408584,"duration":64923,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294369442},{"traceId":"06b5767d478984a7","parentId":516,"name":"make","id":519,"timestamp":1371325405771,"duration":67762,"tags":{},"startTime":1664294369439},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-chunk-graph","id":536,"timestamp":1371325477383,"duration":3626,"tags":{},"startTime":1664294369511},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-modules","id":538,"timestamp":1371325481034,"duration":2,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-chunks","id":539,"timestamp":1371325481046,"duration":28,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize-tree","id":540,"timestamp":1371325481090,"duration":3,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-optimize","id":537,"timestamp":1371325481028,"duration":830,"tags":{},"startTime":1664294369515},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-hash","id":541,"timestamp":1371325490737,"duration":3269,"tags":{},"startTime":1664294369524},{"traceId":"06b5767d478984a7","parentId":518,"name":"NextJsBuildManifest-generateClientManifest","id":543,"timestamp":1371325506863,"duration":173,"tags":{},"startTime":1664294369540},{"traceId":"06b5767d478984a7","parentId":518,"name":"NextJsBuildManifest-createassets","id":542,"timestamp":1371325506807,"duration":239,"tags":{},"startTime":1664294369540},{"traceId":"06b5767d478984a7","parentId":518,"name":"webpack-compilation-seal","id":535,"timestamp":1371325474582,"duration":34008,"tags":{},"startTime":1664294369508},{"traceId":"06b5767d478984a7","parentId":516,"name":"webpack-compilation","id":518,"timestamp":1371325405553,"duration":103068,"tags":{"name":"client"},"startTime":1664294369439},{"traceId":"06b5767d478984a7","parentId":516,"name":"emit","id":544,"timestamp":1371325508636,"duration":97422,"tags":{},"startTime":1664294369542},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":516,"timestamp":1371325395768,"duration":211147,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369429},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":550,"timestamp":1371325618717,"duration":0,"tags":{},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":551,"timestamp":1371325618881,"duration":0,"tags":{},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":548,"timestamp":1371325618107,"duration":5256,"tags":{"request":"private-next-pages/_error"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":549,"timestamp":1371325618112,"duration":5264,"tags":{"request":"private-next-pages/_document"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":553,"name":"next-swc-transform","id":554,"timestamp":1371325623889,"duration":853,"tags":{},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":552,"name":"next-swc-loader","id":553,"timestamp":1371325623779,"duration":969,"tags":{},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":545,"name":"build-module-tsx","id":552,"timestamp":1371325623606,"duration":3235,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369657},{"traceId":"06b5767d478984a7","parentId":545,"name":"add-entry","id":547,"timestamp":1371325618046,"duration":12490,"tags":{"request":"private-next-pages/_app"},"startTime":1664294369652},{"traceId":"06b5767d478984a7","parentId":517,"name":"make","id":546,"timestamp":1371325609196,"duration":21367,"tags":{},"startTime":1664294369643},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-chunk-graph","id":556,"timestamp":1371325630867,"duration":250,"tags":{},"startTime":1664294369664},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-modules","id":558,"timestamp":1371325631126,"duration":2,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-chunks","id":559,"timestamp":1371325631136,"duration":19,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize-tree","id":560,"timestamp":1371325631163,"duration":2,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-optimize","id":557,"timestamp":1371325631123,"duration":103,"tags":{},"startTime":1664294369665},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-hash","id":561,"timestamp":1371325632380,"duration":569,"tags":{},"startTime":1664294369666},{"traceId":"06b5767d478984a7","parentId":545,"name":"webpack-compilation-seal","id":555,"timestamp":1371325630798,"duration":5244,"tags":{},"startTime":1664294369664},{"traceId":"06b5767d478984a7","parentId":517,"name":"webpack-compilation","id":545,"timestamp":1371325608981,"duration":27085,"tags":{"name":"server"},"startTime":1664294369643},{"traceId":"06b5767d478984a7","parentId":517,"name":"emit","id":562,"timestamp":1371325636077,"duration":2582,"tags":{},"startTime":1664294369670},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":517,"timestamp":1371325396011,"duration":243020,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294369430}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":563,"timestamp":1664294369430000,"duration":243999,"tags":{"clientId":1664294218658},"startTime":1664294369674},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":564,"timestamp":1664294369431000,"duration":248999,"tags":{"clientId":1664294339605},"startTime":1664294369683},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":569,"timestamp":1371333519344,"duration":4433,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":576,"name":"read-resource","id":577,"timestamp":1371333525091,"duration":33,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":578,"name":"postcss-process","id":579,"timestamp":1371333525172,"duration":29390,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":576,"name":"postcss-loader","id":578,"timestamp":1371333525152,"duration":29566,"tags":{},"startTime":1664294377559},{"traceId":"06b5767d478984a7","parentId":576,"name":"css-loader","id":580,"timestamp":1371333554780,"duration":8864,"tags":{"astUsed":"true"},"startTime":1664294377588},{"traceId":"06b5767d478984a7","parentId":567,"name":"build-module-css","id":576,"timestamp":1371333524852,"duration":40277,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294377558},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":574,"timestamp":1371333519436,"duration":46247,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":570,"timestamp":1371333519415,"duration":47025,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":573,"timestamp":1371333519431,"duration":48727,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":575,"timestamp":1371333519439,"duration":49088,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":571,"timestamp":1371333519422,"duration":49109,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":582,"name":"next-swc-transform","id":583,"timestamp":1371333568637,"duration":1804,"tags":{},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":581,"name":"next-swc-loader","id":582,"timestamp":1371333568535,"duration":1910,"tags":{},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":567,"name":"build-module-tsx","id":581,"timestamp":1371333568370,"duration":3938,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377602},{"traceId":"06b5767d478984a7","parentId":567,"name":"add-entry","id":572,"timestamp":1371333519426,"duration":73901,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294377553},{"traceId":"06b5767d478984a7","parentId":565,"name":"make","id":568,"timestamp":1371333518214,"duration":75142,"tags":{},"startTime":1664294377552},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-chunk-graph","id":585,"timestamp":1371333597206,"duration":16426,"tags":{},"startTime":1664294377631},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-modules","id":587,"timestamp":1371333613661,"duration":3,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-chunks","id":588,"timestamp":1371333613675,"duration":42,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize-tree","id":589,"timestamp":1371333613738,"duration":4,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-optimize","id":586,"timestamp":1371333613653,"duration":3624,"tags":{},"startTime":1664294377647},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-hash","id":590,"timestamp":1371333626717,"duration":3826,"tags":{},"startTime":1664294377660},{"traceId":"06b5767d478984a7","parentId":567,"name":"NextJsBuildManifest-generateClientManifest","id":592,"timestamp":1371333641882,"duration":74,"tags":{},"startTime":1664294377675},{"traceId":"06b5767d478984a7","parentId":567,"name":"NextJsBuildManifest-createassets","id":591,"timestamp":1371333641804,"duration":164,"tags":{},"startTime":1664294377675},{"traceId":"06b5767d478984a7","parentId":567,"name":"webpack-compilation-seal","id":584,"timestamp":1371333594488,"duration":49823,"tags":{},"startTime":1664294377628},{"traceId":"06b5767d478984a7","parentId":565,"name":"webpack-compilation","id":567,"timestamp":1371333517914,"duration":126457,"tags":{"name":"client"},"startTime":1664294377551},{"traceId":"06b5767d478984a7","parentId":565,"name":"emit","id":593,"timestamp":1371333644408,"duration":92476,"tags":{},"startTime":1664294377678},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":565,"timestamp":1371333502534,"duration":235580,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377536},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":599,"timestamp":1371333765520,"duration":0,"tags":{},"startTime":1664294377799},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":600,"timestamp":1371333765810,"duration":0,"tags":{},"startTime":1664294377799},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":597,"timestamp":1371333752497,"duration":19298,"tags":{"request":"private-next-pages/_error"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":598,"timestamp":1371333752502,"duration":19310,"tags":{"request":"private-next-pages/_document"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":602,"name":"next-swc-transform","id":603,"timestamp":1371333772368,"duration":1202,"tags":{},"startTime":1664294377806},{"traceId":"06b5767d478984a7","parentId":601,"name":"next-swc-loader","id":602,"timestamp":1371333772236,"duration":1346,"tags":{},"startTime":1664294377806},{"traceId":"06b5767d478984a7","parentId":594,"name":"build-module-tsx","id":601,"timestamp":1371333772024,"duration":3604,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377805},{"traceId":"06b5767d478984a7","parentId":594,"name":"add-entry","id":596,"timestamp":1371333752448,"duration":25677,"tags":{"request":"private-next-pages/_app"},"startTime":1664294377786},{"traceId":"06b5767d478984a7","parentId":566,"name":"make","id":595,"timestamp":1371333740602,"duration":37548,"tags":{},"startTime":1664294377774},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-chunk-graph","id":605,"timestamp":1371333778549,"duration":265,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-modules","id":607,"timestamp":1371333778824,"duration":2,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-chunks","id":608,"timestamp":1371333778833,"duration":17,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize-tree","id":609,"timestamp":1371333778858,"duration":2,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-optimize","id":606,"timestamp":1371333778820,"duration":94,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-hash","id":610,"timestamp":1371333779975,"duration":415,"tags":{},"startTime":1664294377813},{"traceId":"06b5767d478984a7","parentId":594,"name":"webpack-compilation-seal","id":604,"timestamp":1371333778483,"duration":3442,"tags":{},"startTime":1664294377812},{"traceId":"06b5767d478984a7","parentId":566,"name":"webpack-compilation","id":594,"timestamp":1371333740315,"duration":41640,"tags":{"name":"server"},"startTime":1664294377774},{"traceId":"06b5767d478984a7","parentId":566,"name":"emit","id":611,"timestamp":1371333782045,"duration":2762,"tags":{},"startTime":1664294377815},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":566,"timestamp":1371333503198,"duration":282005,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294377537}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":612,"timestamp":1664294377536999,"duration":280999,"tags":{"clientId":1664294218658},"startTime":1664294377820},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":613,"timestamp":1664294377537999,"duration":284000,"tags":{"clientId":1664294339605},"startTime":1664294377822},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":618,"timestamp":1371342571245,"duration":4397,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":625,"name":"read-resource","id":626,"timestamp":1371342576519,"duration":23,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":627,"name":"postcss-process","id":628,"timestamp":1371342576585,"duration":29025,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":625,"name":"postcss-loader","id":627,"timestamp":1371342576565,"duration":29590,"tags":{},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":625,"name":"css-loader","id":629,"timestamp":1371342606185,"duration":8907,"tags":{"astUsed":"true"},"startTime":1664294386639},{"traceId":"06b5767d478984a7","parentId":616,"name":"build-module-css","id":625,"timestamp":1371342576350,"duration":45575,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294386610},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":623,"timestamp":1371342571335,"duration":51978,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":619,"timestamp":1371342571321,"duration":52842,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":622,"timestamp":1371342571331,"duration":54590,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":624,"timestamp":1371342571337,"duration":54954,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":620,"timestamp":1371342571326,"duration":54971,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":631,"name":"next-swc-transform","id":632,"timestamp":1371342626407,"duration":2172,"tags":{},"startTime":1664294386660},{"traceId":"06b5767d478984a7","parentId":630,"name":"next-swc-loader","id":631,"timestamp":1371342626302,"duration":2287,"tags":{},"startTime":1664294386660},{"traceId":"06b5767d478984a7","parentId":616,"name":"build-module-tsx","id":630,"timestamp":1371342626144,"duration":5218,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386659},{"traceId":"06b5767d478984a7","parentId":616,"name":"add-entry","id":621,"timestamp":1371342571328,"duration":82966,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294386605},{"traceId":"06b5767d478984a7","parentId":614,"name":"make","id":617,"timestamp":1371342570260,"duration":84063,"tags":{},"startTime":1664294386604},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-chunk-graph","id":634,"timestamp":1371342659998,"duration":15489,"tags":{},"startTime":1664294386693},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-modules","id":636,"timestamp":1371342675510,"duration":3,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-chunks","id":637,"timestamp":1371342675522,"duration":37,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize-tree","id":638,"timestamp":1371342675576,"duration":5,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-optimize","id":635,"timestamp":1371342675504,"duration":1221,"tags":{},"startTime":1664294386709},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-hash","id":639,"timestamp":1371342687805,"duration":5353,"tags":{},"startTime":1664294386721},{"traceId":"06b5767d478984a7","parentId":616,"name":"NextJsBuildManifest-generateClientManifest","id":641,"timestamp":1371342705059,"duration":72,"tags":{},"startTime":1664294386738},{"traceId":"06b5767d478984a7","parentId":616,"name":"NextJsBuildManifest-createassets","id":640,"timestamp":1371342704983,"duration":266,"tags":{},"startTime":1664294386738},{"traceId":"06b5767d478984a7","parentId":616,"name":"webpack-compilation-seal","id":633,"timestamp":1371342655505,"duration":51245,"tags":{},"startTime":1664294386689},{"traceId":"06b5767d478984a7","parentId":614,"name":"webpack-compilation","id":616,"timestamp":1371342570006,"duration":136776,"tags":{"name":"client"},"startTime":1664294386603},{"traceId":"06b5767d478984a7","parentId":614,"name":"emit","id":642,"timestamp":1371342706798,"duration":96334,"tags":{},"startTime":1664294386740},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":614,"timestamp":1371342555382,"duration":248696,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386589},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":648,"timestamp":1371342821705,"duration":0,"tags":{},"startTime":1664294386855},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":649,"timestamp":1371342821775,"duration":0,"tags":{},"startTime":1664294386855},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":646,"timestamp":1371342821016,"duration":4986,"tags":{"request":"private-next-pages/_error"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":647,"timestamp":1371342821020,"duration":4991,"tags":{"request":"private-next-pages/_document"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":651,"name":"next-swc-transform","id":652,"timestamp":1371342826391,"duration":967,"tags":{},"startTime":1664294386860},{"traceId":"06b5767d478984a7","parentId":650,"name":"next-swc-loader","id":651,"timestamp":1371342826292,"duration":1083,"tags":{},"startTime":1664294386860},{"traceId":"06b5767d478984a7","parentId":643,"name":"build-module-tsx","id":650,"timestamp":1371342826152,"duration":4055,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386859},{"traceId":"06b5767d478984a7","parentId":643,"name":"add-entry","id":645,"timestamp":1371342820933,"duration":11199,"tags":{"request":"private-next-pages/_app"},"startTime":1664294386854},{"traceId":"06b5767d478984a7","parentId":615,"name":"make","id":644,"timestamp":1371342806473,"duration":25679,"tags":{},"startTime":1664294386840},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-chunk-graph","id":654,"timestamp":1371342832448,"duration":239,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-modules","id":656,"timestamp":1371342832696,"duration":15,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-chunks","id":657,"timestamp":1371342832720,"duration":16,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize-tree","id":658,"timestamp":1371342832743,"duration":5,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-optimize","id":655,"timestamp":1371342832693,"duration":108,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-hash","id":659,"timestamp":1371342834284,"duration":612,"tags":{},"startTime":1664294386868},{"traceId":"06b5767d478984a7","parentId":643,"name":"webpack-compilation-seal","id":653,"timestamp":1371342832385,"duration":3607,"tags":{},"startTime":1664294386866},{"traceId":"06b5767d478984a7","parentId":615,"name":"webpack-compilation","id":643,"timestamp":1371342806288,"duration":29732,"tags":{"name":"server"},"startTime":1664294386840},{"traceId":"06b5767d478984a7","parentId":615,"name":"emit","id":660,"timestamp":1371342836036,"duration":3775,"tags":{},"startTime":1664294386869},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":615,"timestamp":1371342555816,"duration":284667,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294386589}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":661,"timestamp":1664294386590000,"duration":288000,"tags":{"clientId":1664294218658},"startTime":1664294386878},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":662,"timestamp":1664294386591000,"duration":292000,"tags":{"clientId":1664294339605},"startTime":1664294386885},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":667,"timestamp":1371350112702,"duration":4256,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":674,"name":"read-resource","id":675,"timestamp":1371350118079,"duration":34,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":676,"name":"postcss-process","id":677,"timestamp":1371350118177,"duration":29323,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":674,"name":"postcss-loader","id":676,"timestamp":1371350118143,"duration":29837,"tags":{},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":674,"name":"css-loader","id":678,"timestamp":1371350148025,"duration":11002,"tags":{"astUsed":"true"},"startTime":1664294394181},{"traceId":"06b5767d478984a7","parentId":665,"name":"build-module-css","id":674,"timestamp":1371350117918,"duration":47150,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294394151},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":672,"timestamp":1371350112782,"duration":52792,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":668,"timestamp":1371350112764,"duration":53575,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":671,"timestamp":1371350112778,"duration":55263,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":673,"timestamp":1371350112786,"duration":55648,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":669,"timestamp":1371350112769,"duration":55668,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":680,"name":"next-swc-transform","id":681,"timestamp":1371350168500,"duration":1993,"tags":{},"startTime":1664294394202},{"traceId":"06b5767d478984a7","parentId":679,"name":"next-swc-loader","id":680,"timestamp":1371350168442,"duration":2054,"tags":{},"startTime":1664294394202},{"traceId":"06b5767d478984a7","parentId":665,"name":"build-module-tsx","id":679,"timestamp":1371350168272,"duration":4941,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394201},{"traceId":"06b5767d478984a7","parentId":665,"name":"add-entry","id":670,"timestamp":1371350112774,"duration":81547,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294394146},{"traceId":"06b5767d478984a7","parentId":663,"name":"make","id":666,"timestamp":1371350108760,"duration":85587,"tags":{},"startTime":1664294394142},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-chunk-graph","id":683,"timestamp":1371350198047,"duration":17944,"tags":{},"startTime":1664294394231},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-modules","id":685,"timestamp":1371350216017,"duration":2,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-chunks","id":686,"timestamp":1371350216029,"duration":40,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize-tree","id":687,"timestamp":1371350216087,"duration":5,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-optimize","id":684,"timestamp":1371350216009,"duration":1319,"tags":{},"startTime":1664294394249},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-hash","id":688,"timestamp":1371350226854,"duration":6157,"tags":{},"startTime":1664294394260},{"traceId":"06b5767d478984a7","parentId":665,"name":"NextJsBuildManifest-generateClientManifest","id":690,"timestamp":1371350242850,"duration":58,"tags":{},"startTime":1664294394276},{"traceId":"06b5767d478984a7","parentId":665,"name":"NextJsBuildManifest-createassets","id":689,"timestamp":1371350242764,"duration":154,"tags":{},"startTime":1664294394276},{"traceId":"06b5767d478984a7","parentId":665,"name":"webpack-compilation-seal","id":682,"timestamp":1371350195389,"duration":48977,"tags":{},"startTime":1664294394229},{"traceId":"06b5767d478984a7","parentId":663,"name":"webpack-compilation","id":665,"timestamp":1371350108403,"duration":135996,"tags":{"name":"client"},"startTime":1664294394142},{"traceId":"06b5767d478984a7","parentId":663,"name":"emit","id":691,"timestamp":1371350244415,"duration":94346,"tags":{},"startTime":1664294394278},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":663,"timestamp":1371350092127,"duration":247715,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394125},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":697,"timestamp":1371350353903,"duration":0,"tags":{},"startTime":1664294394387},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":698,"timestamp":1371350353982,"duration":0,"tags":{},"startTime":1664294394387},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":695,"timestamp":1371350353034,"duration":4659,"tags":{"request":"private-next-pages/_error"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":696,"timestamp":1371350353042,"duration":4661,"tags":{"request":"private-next-pages/_document"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":702,"timestamp":1664294394127000,"duration":268999,"tags":{"clientId":1664294218658},"startTime":1664294394396},{"traceId":"06b5767d478984a7","parentId":700,"name":"next-swc-transform","id":701,"timestamp":1371350358206,"duration":10851,"tags":{},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":699,"name":"next-swc-loader","id":700,"timestamp":1371350357959,"duration":11110,"tags":{},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":692,"name":"build-module-tsx","id":699,"timestamp":1371350357837,"duration":13436,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394391},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":703,"timestamp":1664294394128000,"duration":273999,"tags":{"clientId":1664294339605},"startTime":1664294394405},{"traceId":"06b5767d478984a7","parentId":692,"name":"add-entry","id":694,"timestamp":1371350352912,"duration":19778,"tags":{"request":"private-next-pages/_app"},"startTime":1664294394386},{"traceId":"06b5767d478984a7","parentId":664,"name":"make","id":693,"timestamp":1371350342411,"duration":30298,"tags":{},"startTime":1664294394376},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-chunk-graph","id":705,"timestamp":1371350373194,"duration":339,"tags":{},"startTime":1664294394406},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-modules","id":707,"timestamp":1371350373550,"duration":3,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-chunks","id":708,"timestamp":1371350373563,"duration":29,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize-tree","id":709,"timestamp":1371350373611,"duration":9,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-optimize","id":706,"timestamp":1371350373546,"duration":153,"tags":{},"startTime":1664294394407},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-hash","id":710,"timestamp":1371350375745,"duration":722,"tags":{},"startTime":1664294394409},{"traceId":"06b5767d478984a7","parentId":692,"name":"webpack-compilation-seal","id":704,"timestamp":1371350373116,"duration":4550,"tags":{},"startTime":1664294394406},{"traceId":"06b5767d478984a7","parentId":664,"name":"webpack-compilation","id":692,"timestamp":1371350342219,"duration":35478,"tags":{"name":"server"},"startTime":1664294394375},{"traceId":"06b5767d478984a7","parentId":664,"name":"emit","id":711,"timestamp":1371350377713,"duration":1898,"tags":{},"startTime":1664294394411},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":664,"timestamp":1371350092790,"duration":287434,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294394126}] -[{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":716,"timestamp":1371354321381,"duration":3236,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294398354},{"traceId":"06b5767d478984a7","parentId":723,"name":"read-resource","id":724,"timestamp":1371354325474,"duration":160,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":725,"name":"postcss-process","id":726,"timestamp":1371354325693,"duration":24955,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":723,"name":"postcss-loader","id":725,"timestamp":1371354325665,"duration":25123,"tags":{},"startTime":1664294398359},{"traceId":"06b5767d478984a7","parentId":723,"name":"css-loader","id":727,"timestamp":1371354350811,"duration":9038,"tags":{"astUsed":"true"},"startTime":1664294398384},{"traceId":"06b5767d478984a7","parentId":714,"name":"build-module-css","id":723,"timestamp":1371354325347,"duration":35572,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294398358},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":721,"timestamp":1371354321437,"duration":39910,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":717,"timestamp":1371354321422,"duration":40596,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294398354},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":720,"timestamp":1371354321433,"duration":42495,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":722,"timestamp":1371354321440,"duration":42861,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":718,"timestamp":1371354321427,"duration":42878,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":729,"name":"next-swc-transform","id":730,"timestamp":1371354364381,"duration":2279,"tags":{},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":728,"name":"next-swc-loader","id":729,"timestamp":1371354364309,"duration":2360,"tags":{},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":714,"name":"build-module-tsx","id":728,"timestamp":1371354364160,"duration":4692,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398397},{"traceId":"06b5767d478984a7","parentId":714,"name":"add-entry","id":719,"timestamp":1371354321430,"duration":68477,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294398355},{"traceId":"06b5767d478984a7","parentId":712,"name":"make","id":715,"timestamp":1371354317809,"duration":72136,"tags":{},"startTime":1664294398351},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-chunk-graph","id":732,"timestamp":1371354393560,"duration":17916,"tags":{},"startTime":1664294398427},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-modules","id":734,"timestamp":1371354411507,"duration":3,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-chunks","id":735,"timestamp":1371354411520,"duration":34,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize-tree","id":736,"timestamp":1371354411575,"duration":6,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-optimize","id":733,"timestamp":1371354411498,"duration":1292,"tags":{},"startTime":1664294398445},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-hash","id":737,"timestamp":1371354421441,"duration":4786,"tags":{},"startTime":1664294398455},{"traceId":"06b5767d478984a7","parentId":714,"name":"NextJsBuildManifest-generateClientManifest","id":739,"timestamp":1371354436917,"duration":161,"tags":{},"startTime":1664294398470},{"traceId":"06b5767d478984a7","parentId":714,"name":"NextJsBuildManifest-createassets","id":738,"timestamp":1371354436844,"duration":246,"tags":{},"startTime":1664294398470},{"traceId":"06b5767d478984a7","parentId":714,"name":"webpack-compilation-seal","id":731,"timestamp":1371354390877,"duration":47692,"tags":{},"startTime":1664294398424},{"traceId":"06b5767d478984a7","parentId":712,"name":"webpack-compilation","id":714,"timestamp":1371354317317,"duration":121278,"tags":{"name":"client"},"startTime":1664294398350},{"traceId":"06b5767d478984a7","parentId":712,"name":"emit","id":740,"timestamp":1371354438619,"duration":76564,"tags":{},"startTime":1664294398472},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":712,"timestamp":1371354303203,"duration":212548,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398336},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":746,"timestamp":1371354536889,"duration":0,"tags":{},"startTime":1664294398570},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":747,"timestamp":1371354536984,"duration":0,"tags":{},"startTime":1664294398570},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":744,"timestamp":1371354527395,"duration":13196,"tags":{"request":"private-next-pages/_error"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":745,"timestamp":1371354527399,"duration":13204,"tags":{"request":"private-next-pages/_document"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":749,"name":"next-swc-transform","id":750,"timestamp":1371354540993,"duration":7802,"tags":{},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":748,"name":"next-swc-loader","id":749,"timestamp":1371354540875,"duration":7934,"tags":{},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":741,"name":"build-module-tsx","id":748,"timestamp":1371354540757,"duration":9849,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398574},{"traceId":"06b5767d478984a7","parentId":741,"name":"add-entry","id":743,"timestamp":1371354527346,"duration":25284,"tags":{"request":"private-next-pages/_app"},"startTime":1664294398560},{"traceId":"06b5767d478984a7","parentId":713,"name":"make","id":742,"timestamp":1371354517368,"duration":35277,"tags":{},"startTime":1664294398550},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-chunk-graph","id":752,"timestamp":1371354552938,"duration":255,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-modules","id":754,"timestamp":1371354553204,"duration":2,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-chunks","id":755,"timestamp":1371354553214,"duration":22,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize-tree","id":756,"timestamp":1371354553243,"duration":4,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-optimize","id":753,"timestamp":1371354553200,"duration":101,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-hash","id":757,"timestamp":1371354554351,"duration":442,"tags":{},"startTime":1664294398587},{"traceId":"06b5767d478984a7","parentId":741,"name":"webpack-compilation-seal","id":751,"timestamp":1371354552873,"duration":5253,"tags":{},"startTime":1664294398586},{"traceId":"06b5767d478984a7","parentId":713,"name":"webpack-compilation","id":741,"timestamp":1371354516992,"duration":41154,"tags":{"name":"server"},"startTime":1664294398550},{"traceId":"06b5767d478984a7","parentId":713,"name":"emit","id":758,"timestamp":1371354558162,"duration":1785,"tags":{},"startTime":1664294398591},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":713,"timestamp":1371354303674,"duration":256576,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294398337}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":759,"timestamp":1664294398336999,"duration":258000,"tags":{"clientId":1664294218658},"startTime":1664294398596},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":760,"timestamp":1664294398336999,"duration":261000,"tags":{"clientId":1664294339605},"startTime":1664294398599},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":765,"timestamp":1371359204697,"duration":4585,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":772,"name":"read-resource","id":773,"timestamp":1371359210321,"duration":29,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":774,"name":"postcss-process","id":775,"timestamp":1371359210390,"duration":27167,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":772,"name":"postcss-loader","id":774,"timestamp":1371359210374,"duration":27387,"tags":{},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":772,"name":"css-loader","id":776,"timestamp":1371359237795,"duration":8396,"tags":{"astUsed":"true"},"startTime":1664294403271},{"traceId":"06b5767d478984a7","parentId":763,"name":"build-module-css","id":772,"timestamp":1371359210073,"duration":37441,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294403243},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":770,"timestamp":1371359204791,"duration":43145,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":766,"timestamp":1371359204771,"duration":43847,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":769,"timestamp":1371359204786,"duration":45524,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":771,"timestamp":1371359204794,"duration":45851,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":767,"timestamp":1371359204778,"duration":45869,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":778,"name":"next-swc-transform","id":779,"timestamp":1371359250727,"duration":2022,"tags":{},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":777,"name":"next-swc-loader","id":778,"timestamp":1371359250651,"duration":2104,"tags":{},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":763,"name":"build-module-tsx","id":777,"timestamp":1371359250514,"duration":4199,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403284},{"traceId":"06b5767d478984a7","parentId":763,"name":"add-entry","id":768,"timestamp":1371359204782,"duration":74516,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294403238},{"traceId":"06b5767d478984a7","parentId":761,"name":"make","id":764,"timestamp":1371359203508,"duration":75815,"tags":{},"startTime":1664294403236},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-chunk-graph","id":781,"timestamp":1371359283462,"duration":16438,"tags":{},"startTime":1664294403316},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-modules","id":783,"timestamp":1371359299924,"duration":3,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-chunks","id":784,"timestamp":1371359299936,"duration":42,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize-tree","id":785,"timestamp":1371359299995,"duration":9,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-optimize","id":782,"timestamp":1371359299917,"duration":1528,"tags":{},"startTime":1664294403333},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-hash","id":786,"timestamp":1371359311410,"duration":3653,"tags":{},"startTime":1664294403344},{"traceId":"06b5767d478984a7","parentId":763,"name":"NextJsBuildManifest-generateClientManifest","id":788,"timestamp":1371359326022,"duration":87,"tags":{},"startTime":1664294403359},{"traceId":"06b5767d478984a7","parentId":763,"name":"NextJsBuildManifest-createassets","id":787,"timestamp":1371359325946,"duration":188,"tags":{},"startTime":1664294403359},{"traceId":"06b5767d478984a7","parentId":763,"name":"webpack-compilation-seal","id":780,"timestamp":1371359280459,"duration":47442,"tags":{},"startTime":1664294403313},{"traceId":"06b5767d478984a7","parentId":761,"name":"webpack-compilation","id":763,"timestamp":1371359203205,"duration":124737,"tags":{"name":"client"},"startTime":1664294403236},{"traceId":"06b5767d478984a7","parentId":761,"name":"emit","id":789,"timestamp":1371359327964,"duration":82012,"tags":{},"startTime":1664294403361},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":761,"timestamp":1371359187218,"duration":223424,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403220},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":795,"timestamp":1371359423811,"duration":0,"tags":{},"startTime":1664294403457},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":796,"timestamp":1371359423879,"duration":0,"tags":{},"startTime":1664294403457},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":793,"timestamp":1371359423111,"duration":4637,"tags":{"request":"private-next-pages/_error"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":794,"timestamp":1371359423115,"duration":4659,"tags":{"request":"private-next-pages/_document"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":798,"name":"next-swc-transform","id":799,"timestamp":1371359428386,"duration":1456,"tags":{},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":797,"name":"next-swc-loader","id":798,"timestamp":1371359428271,"duration":1582,"tags":{},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":790,"name":"build-module-tsx","id":797,"timestamp":1371359427899,"duration":2961,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403461},{"traceId":"06b5767d478984a7","parentId":790,"name":"add-entry","id":792,"timestamp":1371359423065,"duration":9547,"tags":{"request":"private-next-pages/_app"},"startTime":1664294403456},{"traceId":"06b5767d478984a7","parentId":762,"name":"make","id":791,"timestamp":1371359413149,"duration":19477,"tags":{},"startTime":1664294403446},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-chunk-graph","id":801,"timestamp":1371359432858,"duration":183,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-modules","id":803,"timestamp":1371359433050,"duration":2,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-chunks","id":804,"timestamp":1371359433059,"duration":13,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize-tree","id":805,"timestamp":1371359433080,"duration":2,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-optimize","id":802,"timestamp":1371359433047,"duration":88,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-hash","id":806,"timestamp":1371359434171,"duration":474,"tags":{},"startTime":1664294403467},{"traceId":"06b5767d478984a7","parentId":790,"name":"webpack-compilation-seal","id":800,"timestamp":1371359432802,"duration":2971,"tags":{},"startTime":1664294403466},{"traceId":"06b5767d478984a7","parentId":762,"name":"webpack-compilation","id":790,"timestamp":1371359412949,"duration":22866,"tags":{"name":"server"},"startTime":1664294403446},{"traceId":"06b5767d478984a7","parentId":762,"name":"emit","id":807,"timestamp":1371359435836,"duration":5391,"tags":{},"startTime":1664294403469},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":762,"timestamp":1371359187733,"duration":254063,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294403221}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":808,"timestamp":1664294403222000,"duration":249999,"tags":{"clientId":1664294339605},"startTime":1664294403476},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":809,"timestamp":1664294403220999,"duration":251000,"tags":{"clientId":1664294218658},"startTime":1664294403476},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":815,"timestamp":1371375590370,"duration":10154,"tags":{"request":"private-next-pages/_error"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":816,"timestamp":1371375590376,"duration":10173,"tags":{"request":"private-next-pages/_document"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":818,"name":"next-swc-transform","id":819,"timestamp":1371375602148,"duration":5513,"tags":{},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":817,"name":"next-swc-loader","id":818,"timestamp":1371375602042,"duration":5637,"tags":{},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":812,"name":"build-module-tsx","id":817,"timestamp":1371375601822,"duration":9378,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419635},{"traceId":"06b5767d478984a7","parentId":812,"name":"add-entry","id":814,"timestamp":1371375590298,"duration":23616,"tags":{"request":"private-next-pages/_app"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":810,"name":"make","id":813,"timestamp":1371375590173,"duration":23766,"tags":{},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-chunk-graph","id":821,"timestamp":1371375614281,"duration":272,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-modules","id":823,"timestamp":1371375614563,"duration":3,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-chunks","id":824,"timestamp":1371375614575,"duration":20,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize-tree","id":825,"timestamp":1371375614603,"duration":5,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-optimize","id":822,"timestamp":1371375614559,"duration":110,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-hash","id":826,"timestamp":1371375616620,"duration":579,"tags":{},"startTime":1664294419649},{"traceId":"06b5767d478984a7","parentId":812,"name":"webpack-compilation-seal","id":820,"timestamp":1371375614201,"duration":4852,"tags":{},"startTime":1664294419647},{"traceId":"06b5767d478984a7","parentId":810,"name":"webpack-compilation","id":812,"timestamp":1371375589935,"duration":29146,"tags":{"name":"server"},"startTime":1664294419623},{"traceId":"06b5767d478984a7","parentId":810,"name":"emit","id":827,"timestamp":1371375619096,"duration":2256,"tags":{},"startTime":1664294419652},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":810,"timestamp":1371375583129,"duration":38533,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419616},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":830,"timestamp":1371375627416,"duration":4876,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":837,"name":"read-resource","id":838,"timestamp":1371375633936,"duration":28,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":839,"name":"postcss-process","id":840,"timestamp":1371375634001,"duration":27314,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":837,"name":"postcss-loader","id":839,"timestamp":1371375633990,"duration":27860,"tags":{},"startTime":1664294419667},{"traceId":"06b5767d478984a7","parentId":837,"name":"css-loader","id":841,"timestamp":1371375661886,"duration":10068,"tags":{"astUsed":"true"},"startTime":1664294419695},{"traceId":"06b5767d478984a7","parentId":828,"name":"build-module-css","id":837,"timestamp":1371375633788,"duration":43799,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294419666},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":835,"timestamp":1371375627468,"duration":50649,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":831,"timestamp":1371375627456,"duration":51445,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":834,"timestamp":1371375627465,"duration":53578,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":836,"timestamp":1371375627470,"duration":55045,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":832,"timestamp":1371375627460,"duration":55061,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":843,"name":"next-swc-transform","id":844,"timestamp":1371375682571,"duration":1004,"tags":{},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":842,"name":"next-swc-loader","id":843,"timestamp":1371375682527,"duration":1054,"tags":{},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":828,"name":"build-module-tsx","id":842,"timestamp":1371375682311,"duration":4115,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419715},{"traceId":"06b5767d478984a7","parentId":828,"name":"add-entry","id":833,"timestamp":1371375627462,"duration":88782,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294419660},{"traceId":"06b5767d478984a7","parentId":811,"name":"make","id":829,"timestamp":1371375626113,"duration":90159,"tags":{},"startTime":1664294419659},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-chunk-graph","id":846,"timestamp":1371375722806,"duration":17407,"tags":{},"startTime":1664294419756},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-modules","id":848,"timestamp":1371375740240,"duration":2,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-chunks","id":849,"timestamp":1371375740252,"duration":33,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize-tree","id":850,"timestamp":1371375740302,"duration":3,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-optimize","id":847,"timestamp":1371375740232,"duration":1395,"tags":{},"startTime":1664294419773},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-hash","id":851,"timestamp":1371375755154,"duration":5686,"tags":{},"startTime":1664294419788},{"traceId":"06b5767d478984a7","parentId":828,"name":"NextJsBuildManifest-generateClientManifest","id":853,"timestamp":1371375771109,"duration":67,"tags":{},"startTime":1664294419804},{"traceId":"06b5767d478984a7","parentId":828,"name":"NextJsBuildManifest-createassets","id":852,"timestamp":1371375771032,"duration":249,"tags":{},"startTime":1664294419804},{"traceId":"06b5767d478984a7","parentId":828,"name":"webpack-compilation-seal","id":845,"timestamp":1371375717378,"duration":55745,"tags":{},"startTime":1664294419750},{"traceId":"06b5767d478984a7","parentId":811,"name":"webpack-compilation","id":828,"timestamp":1371375625269,"duration":147889,"tags":{"name":"client"},"startTime":1664294419658},{"traceId":"06b5767d478984a7","parentId":811,"name":"emit","id":854,"timestamp":1371375773187,"duration":99243,"tags":{},"startTime":1664294419806},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":811,"timestamp":1371375583345,"duration":290323,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/QRCode.tsx"},"startTime":1664294419616}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":855,"timestamp":1371375888724,"duration":0,"tags":{},"startTime":1664294419921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":856,"timestamp":1371375888806,"duration":0,"tags":{},"startTime":1664294419922},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":857,"timestamp":1664294419616999,"duration":317000,"tags":{"clientId":1664294218658},"startTime":1664294419934},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":858,"timestamp":1664294419616999,"duration":335000,"tags":{"clientId":1664294339605},"startTime":1664294419953},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":863,"timestamp":1371414484811,"duration":8550,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":868,"timestamp":1371414484989,"duration":10391,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":864,"timestamp":1371414484949,"duration":12076,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":867,"timestamp":1371414484980,"duration":20707,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":869,"timestamp":1371414484996,"duration":23716,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":865,"timestamp":1371414484963,"duration":37272,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":861,"name":"add-entry","id":866,"timestamp":1371414484971,"duration":72988,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294458517},{"traceId":"06b5767d478984a7","parentId":859,"name":"make","id":862,"timestamp":1371414483502,"duration":74519,"tags":{},"startTime":1664294458516},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-chunk-graph","id":871,"timestamp":1371414563061,"duration":17248,"tags":{},"startTime":1664294458595},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-modules","id":873,"timestamp":1371414580339,"duration":3,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-chunks","id":874,"timestamp":1371414580351,"duration":45,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize-tree","id":875,"timestamp":1371414580413,"duration":3,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-optimize","id":872,"timestamp":1371414580331,"duration":1345,"tags":{},"startTime":1664294458612},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-hash","id":876,"timestamp":1371414591769,"duration":4418,"tags":{},"startTime":1664294458624},{"traceId":"06b5767d478984a7","parentId":861,"name":"NextJsBuildManifest-generateClientManifest","id":878,"timestamp":1371414596947,"duration":62,"tags":{},"startTime":1664294458629},{"traceId":"06b5767d478984a7","parentId":861,"name":"NextJsBuildManifest-createassets","id":877,"timestamp":1371414596894,"duration":121,"tags":{},"startTime":1664294458629},{"traceId":"06b5767d478984a7","parentId":861,"name":"webpack-compilation-seal","id":870,"timestamp":1371414559165,"duration":38633,"tags":{},"startTime":1664294458591},{"traceId":"06b5767d478984a7","parentId":859,"name":"webpack-compilation","id":861,"timestamp":1371414482982,"duration":114837,"tags":{"name":"client"},"startTime":1664294458515},{"traceId":"06b5767d478984a7","parentId":859,"name":"emit","id":879,"timestamp":1371414597831,"duration":1876,"tags":{},"startTime":1664294458630},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":859,"timestamp":1371414465269,"duration":134906,"tags":{"trigger":"manual"},"startTime":1664294458497},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":882,"timestamp":1371414610713,"duration":0,"tags":{},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":883,"timestamp":1371414610780,"duration":0,"tags":{},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":884,"timestamp":1371414611004,"duration":2516,"tags":{"request":"private-next-pages/_app"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":885,"timestamp":1371414611041,"duration":2579,"tags":{"request":"private-next-pages/_error"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":886,"timestamp":1371414611045,"duration":2579,"tags":{"request":"private-next-pages/_document"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":880,"name":"add-entry","id":887,"timestamp":1371414611048,"duration":9848,"tags":{"request":"./pages/index.tsx"},"startTime":1664294458643},{"traceId":"06b5767d478984a7","parentId":860,"name":"make","id":881,"timestamp":1371414601138,"duration":19784,"tags":{},"startTime":1664294458633},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-chunk-graph","id":889,"timestamp":1371414621158,"duration":190,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-modules","id":891,"timestamp":1371414621368,"duration":2,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-chunks","id":892,"timestamp":1371414621378,"duration":15,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize-tree","id":893,"timestamp":1371414621400,"duration":2,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-optimize","id":890,"timestamp":1371414621365,"duration":91,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-hash","id":894,"timestamp":1371414622156,"duration":602,"tags":{},"startTime":1664294458654},{"traceId":"06b5767d478984a7","parentId":880,"name":"webpack-compilation-seal","id":888,"timestamp":1371414621100,"duration":2452,"tags":{},"startTime":1664294458653},{"traceId":"06b5767d478984a7","parentId":860,"name":"webpack-compilation","id":880,"timestamp":1371414600921,"duration":22648,"tags":{"name":"server"},"startTime":1664294458633},{"traceId":"06b5767d478984a7","parentId":860,"name":"emit","id":895,"timestamp":1371414623582,"duration":2095,"tags":{},"startTime":1664294458656},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":860,"timestamp":1371414465795,"duration":160320,"tags":{"trigger":"manual"},"startTime":1664294458498}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":896,"timestamp":1371414888577,"duration":0,"tags":{},"startTime":1664294458921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":897,"timestamp":1371414888646,"duration":0,"tags":{},"startTime":1664294458921},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":898,"timestamp":1371448681305,"duration":1,"tags":{},"startTime":1664294492713},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":899,"timestamp":1371448682759,"duration":0,"tags":{},"startTime":1664294492714},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":904,"timestamp":1371546401219,"duration":4520,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":909,"timestamp":1371546401343,"duration":5755,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":911,"name":"read-resource","id":912,"timestamp":1371546406858,"duration":3520,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":916,"name":"postcss-process","id":917,"timestamp":1371546410441,"duration":31277,"tags":{},"startTime":1664294590440},{"traceId":"06b5767d478984a7","parentId":911,"name":"postcss-loader","id":916,"timestamp":1371546410416,"duration":31690,"tags":{},"startTime":1664294590440},{"traceId":"06b5767d478984a7","parentId":911,"name":"css-loader","id":918,"timestamp":1371546442142,"duration":14331,"tags":{"astUsed":"true"},"startTime":1664294590472},{"traceId":"06b5767d478984a7","parentId":902,"name":"build-module-css","id":911,"timestamp":1371546406630,"duration":51710,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294590436},{"traceId":"06b5767d478984a7","parentId":914,"name":"next-swc-transform","id":915,"timestamp":1371546407294,"duration":51767,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":913,"name":"next-swc-loader","id":914,"timestamp":1371546407223,"duration":51844,"tags":{},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":902,"name":"build-module-tsx","id":913,"timestamp":1371546407138,"duration":57404,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590437},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":905,"timestamp":1371546401331,"duration":66544,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":910,"timestamp":1371546401346,"duration":67810,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":908,"timestamp":1371546401341,"duration":67923,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":906,"timestamp":1371546401335,"duration":68036,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":902,"name":"add-entry","id":907,"timestamp":1371546401338,"duration":205267,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294590431},{"traceId":"06b5767d478984a7","parentId":900,"name":"make","id":903,"timestamp":1371546400330,"duration":206319,"tags":{},"startTime":1664294590430},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-chunk-graph","id":920,"timestamp":1371546610820,"duration":5378,"tags":{},"startTime":1664294590641},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-modules","id":922,"timestamp":1371546616242,"duration":11,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-chunks","id":923,"timestamp":1371546616289,"duration":49,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize-tree","id":924,"timestamp":1371546616367,"duration":14,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-optimize","id":921,"timestamp":1371546616224,"duration":1492,"tags":{},"startTime":1664294590646},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-hash","id":925,"timestamp":1371546629251,"duration":4230,"tags":{},"startTime":1664294590659},{"traceId":"06b5767d478984a7","parentId":902,"name":"NextJsBuildManifest-generateClientManifest","id":927,"timestamp":1371546644781,"duration":56,"tags":{},"startTime":1664294590675},{"traceId":"06b5767d478984a7","parentId":902,"name":"NextJsBuildManifest-createassets","id":926,"timestamp":1371546644724,"duration":122,"tags":{},"startTime":1664294590674},{"traceId":"06b5767d478984a7","parentId":902,"name":"webpack-compilation-seal","id":919,"timestamp":1371546607972,"duration":38362,"tags":{},"startTime":1664294590638},{"traceId":"06b5767d478984a7","parentId":900,"name":"webpack-compilation","id":902,"timestamp":1371546400095,"duration":246269,"tags":{"name":"client"},"startTime":1664294590430},{"traceId":"06b5767d478984a7","parentId":900,"name":"emit","id":928,"timestamp":1371546646381,"duration":89083,"tags":{},"startTime":1664294590676},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":900,"timestamp":1371546389551,"duration":346619,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590419},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":934,"timestamp":1371546746372,"duration":0,"tags":{},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":935,"timestamp":1371546746432,"duration":0,"tags":{},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":932,"timestamp":1371546745922,"duration":4190,"tags":{"request":"private-next-pages/_error"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":933,"timestamp":1371546745926,"duration":4195,"tags":{"request":"private-next-pages/_document"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":937,"name":"next-swc-transform","id":938,"timestamp":1371546749756,"duration":1674,"tags":{},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":936,"name":"next-swc-loader","id":937,"timestamp":1371546749709,"duration":1731,"tags":{},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":929,"name":"build-module-tsx","id":936,"timestamp":1371546749563,"duration":6866,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590779},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":939,"timestamp":1664294590420000,"duration":372000,"tags":{"clientId":1664294218658},"startTime":1664294590793},{"traceId":"06b5767d478984a7","parentId":929,"name":"add-entry","id":931,"timestamp":1371546745878,"duration":18821,"tags":{"request":"private-next-pages/_app"},"startTime":1664294590776},{"traceId":"06b5767d478984a7","parentId":901,"name":"make","id":930,"timestamp":1371546737134,"duration":27583,"tags":{},"startTime":1664294590767},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-chunk-graph","id":941,"timestamp":1371546765118,"duration":208,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-modules","id":943,"timestamp":1371546765335,"duration":2,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-chunks","id":944,"timestamp":1371546765374,"duration":27,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize-tree","id":945,"timestamp":1371546765424,"duration":14,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-optimize","id":942,"timestamp":1371546765332,"duration":209,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-hash","id":946,"timestamp":1371546766959,"duration":500,"tags":{},"startTime":1664294590797},{"traceId":"06b5767d478984a7","parentId":929,"name":"webpack-compilation-seal","id":940,"timestamp":1371546765050,"duration":4324,"tags":{},"startTime":1664294590795},{"traceId":"06b5767d478984a7","parentId":901,"name":"webpack-compilation","id":929,"timestamp":1371546736954,"duration":32443,"tags":{"name":"server"},"startTime":1664294590767},{"traceId":"06b5767d478984a7","parentId":901,"name":"emit","id":947,"timestamp":1371546769411,"duration":5424,"tags":{},"startTime":1664294590799},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":901,"timestamp":1371546389863,"duration":385471,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294590420}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":948,"timestamp":1664294590422000,"duration":401999,"tags":{"clientId":1664294458993},"startTime":1664294590825},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":953,"timestamp":1371600072504,"duration":4135,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":960,"name":"read-resource","id":961,"timestamp":1371600077608,"duration":36,"tags":{},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":962,"name":"postcss-process","id":963,"timestamp":1371600077695,"duration":27171,"tags":{},"startTime":1664294644107},{"traceId":"06b5767d478984a7","parentId":960,"name":"postcss-loader","id":962,"timestamp":1371600077675,"duration":27329,"tags":{},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":960,"name":"css-loader","id":964,"timestamp":1371600105031,"duration":19966,"tags":{"astUsed":"true"},"startTime":1664294644134},{"traceId":"06b5767d478984a7","parentId":951,"name":"build-module-css","id":960,"timestamp":1371600077330,"duration":54272,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294644106},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":958,"timestamp":1371600072558,"duration":61234,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":954,"timestamp":1371600072546,"duration":65188,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":966,"name":"next-swc-transform","id":967,"timestamp":1371600138511,"duration":3614,"tags":{},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":965,"name":"next-swc-loader","id":966,"timestamp":1371600138456,"duration":3683,"tags":{},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":951,"name":"build-module-tsx","id":965,"timestamp":1371600138183,"duration":14283,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644167},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":957,"timestamp":1371600072555,"duration":84703,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":959,"timestamp":1371600072560,"duration":86167,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":955,"timestamp":1371600072549,"duration":86188,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":951,"name":"add-entry","id":956,"timestamp":1371600072552,"duration":136493,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294644101},{"traceId":"06b5767d478984a7","parentId":949,"name":"make","id":952,"timestamp":1371600071439,"duration":137653,"tags":{},"startTime":1664294644100},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-chunk-graph","id":969,"timestamp":1371600213733,"duration":18385,"tags":{},"startTime":1664294644243},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-modules","id":971,"timestamp":1371600232152,"duration":4,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-chunks","id":972,"timestamp":1371600232167,"duration":55,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize-tree","id":973,"timestamp":1371600232242,"duration":6,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-optimize","id":970,"timestamp":1371600232144,"duration":1455,"tags":{},"startTime":1664294644261},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-hash","id":974,"timestamp":1371600244711,"duration":7435,"tags":{},"startTime":1664294644274},{"traceId":"06b5767d478984a7","parentId":951,"name":"NextJsBuildManifest-generateClientManifest","id":976,"timestamp":1371600261113,"duration":76,"tags":{},"startTime":1664294644290},{"traceId":"06b5767d478984a7","parentId":951,"name":"NextJsBuildManifest-createassets","id":975,"timestamp":1371600261048,"duration":152,"tags":{},"startTime":1664294644290},{"traceId":"06b5767d478984a7","parentId":951,"name":"webpack-compilation-seal","id":968,"timestamp":1371600210494,"duration":52516,"tags":{},"startTime":1664294644239},{"traceId":"06b5767d478984a7","parentId":949,"name":"webpack-compilation","id":951,"timestamp":1371600071161,"duration":191888,"tags":{"name":"client"},"startTime":1664294644100},{"traceId":"06b5767d478984a7","parentId":949,"name":"emit","id":977,"timestamp":1371600263067,"duration":80872,"tags":{},"startTime":1664294644292},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":949,"timestamp":1371600059796,"duration":284726,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644089},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":983,"timestamp":1371600355544,"duration":0,"tags":{},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":984,"timestamp":1371600355857,"duration":0,"tags":{},"startTime":1664294644385},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":981,"timestamp":1371600355067,"duration":4239,"tags":{"request":"private-next-pages/_error"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":982,"timestamp":1371600355071,"duration":4245,"tags":{"request":"private-next-pages/_document"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":988,"timestamp":1664294644088999,"duration":307000,"tags":{"clientId":1664294218658},"startTime":1664294644396},{"traceId":"06b5767d478984a7","parentId":986,"name":"next-swc-transform","id":987,"timestamp":1371600359130,"duration":12268,"tags":{},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":985,"name":"next-swc-loader","id":986,"timestamp":1371600359087,"duration":12316,"tags":{},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":978,"name":"build-module-tsx","id":985,"timestamp":1371600358974,"duration":15596,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644388},{"traceId":"06b5767d478984a7","parentId":978,"name":"add-entry","id":980,"timestamp":1371600355018,"duration":21170,"tags":{"request":"private-next-pages/_app"},"startTime":1664294644384},{"traceId":"06b5767d478984a7","parentId":950,"name":"make","id":979,"timestamp":1371600345696,"duration":30510,"tags":{},"startTime":1664294644374},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-chunk-graph","id":990,"timestamp":1371600376659,"duration":229,"tags":{},"startTime":1664294644405},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-modules","id":992,"timestamp":1371600376903,"duration":2,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-chunks","id":993,"timestamp":1371600376913,"duration":16,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize-tree","id":994,"timestamp":1371600376943,"duration":3,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-optimize","id":991,"timestamp":1371600376900,"duration":104,"tags":{},"startTime":1664294644406},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-hash","id":995,"timestamp":1371600378290,"duration":516,"tags":{},"startTime":1664294644407},{"traceId":"06b5767d478984a7","parentId":978,"name":"webpack-compilation-seal","id":989,"timestamp":1371600376582,"duration":3425,"tags":{},"startTime":1664294644405},{"traceId":"06b5767d478984a7","parentId":950,"name":"webpack-compilation","id":978,"timestamp":1371600345428,"duration":34598,"tags":{"name":"server"},"startTime":1664294644374},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":997,"timestamp":1664294644089999,"duration":317000,"tags":{"clientId":1664294458993},"startTime":1664294644409},{"traceId":"06b5767d478984a7","parentId":950,"name":"emit","id":996,"timestamp":1371600380036,"duration":4826,"tags":{},"startTime":1664294644409},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":950,"timestamp":1371600060016,"duration":325416,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294644089}] -[{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1003,"timestamp":1371657527778,"duration":6817,"tags":{"request":"private-next-pages/_error"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1004,"timestamp":1371657527781,"duration":6829,"tags":{"request":"private-next-pages/_document"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1006,"name":"next-swc-transform","id":1007,"timestamp":1371657533753,"duration":1682,"tags":{},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1005,"name":"next-swc-loader","id":1006,"timestamp":1371657533703,"duration":1743,"tags":{},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1000,"name":"build-module-tsx","id":1005,"timestamp":1371657533593,"duration":4713,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701626},{"traceId":"06b5767d478984a7","parentId":1000,"name":"add-entry","id":1002,"timestamp":1371657527743,"duration":12941,"tags":{"request":"private-next-pages/_app"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":998,"name":"make","id":1001,"timestamp":1371657527666,"duration":13043,"tags":{},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-chunk-graph","id":1009,"timestamp":1371657541006,"duration":196,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-modules","id":1011,"timestamp":1371657541216,"duration":3,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-chunks","id":1012,"timestamp":1371657541226,"duration":14,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize-tree","id":1013,"timestamp":1371657541249,"duration":4,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-optimize","id":1010,"timestamp":1371657541212,"duration":87,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-hash","id":1014,"timestamp":1371657542545,"duration":419,"tags":{},"startTime":1664294701635},{"traceId":"06b5767d478984a7","parentId":1000,"name":"webpack-compilation-seal","id":1008,"timestamp":1371657540934,"duration":3129,"tags":{},"startTime":1664294701634},{"traceId":"06b5767d478984a7","parentId":998,"name":"webpack-compilation","id":1000,"timestamp":1371657527507,"duration":16576,"tags":{"name":"server"},"startTime":1664294701620},{"traceId":"06b5767d478984a7","parentId":998,"name":"emit","id":1015,"timestamp":1371657544094,"duration":1628,"tags":{},"startTime":1664294701637},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":998,"timestamp":1371657520761,"duration":25193,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701613},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1018,"timestamp":1371657552112,"duration":2715,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1023,"timestamp":1371657552156,"duration":5060,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1019,"timestamp":1371657552144,"duration":12308,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1025,"name":"read-resource","id":1026,"timestamp":1371657556983,"duration":8094,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1030,"name":"postcss-process","id":1031,"timestamp":1371657565123,"duration":49914,"tags":{},"startTime":1664294701658},{"traceId":"06b5767d478984a7","parentId":1025,"name":"postcss-loader","id":1030,"timestamp":1371657565106,"duration":50275,"tags":{},"startTime":1664294701658},{"traceId":"06b5767d478984a7","parentId":1025,"name":"css-loader","id":1032,"timestamp":1371657615404,"duration":15772,"tags":{"astUsed":"true"},"startTime":1664294701708},{"traceId":"06b5767d478984a7","parentId":1016,"name":"build-module-css","id":1025,"timestamp":1371657556891,"duration":75684,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1028,"name":"next-swc-transform","id":1029,"timestamp":1371657557352,"duration":75314,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1027,"name":"next-swc-loader","id":1028,"timestamp":1371657557307,"duration":75361,"tags":{},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1016,"name":"build-module-tsx","id":1027,"timestamp":1371657557240,"duration":79826,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701650},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1022,"timestamp":1371657552153,"duration":86071,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1024,"timestamp":1371657552159,"duration":86168,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1020,"timestamp":1371657552147,"duration":92169,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":1016,"name":"add-entry","id":1021,"timestamp":1371657552150,"duration":117195,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294701645},{"traceId":"06b5767d478984a7","parentId":999,"name":"make","id":1017,"timestamp":1371657548944,"duration":120447,"tags":{},"startTime":1664294701642},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-chunk-graph","id":1034,"timestamp":1371657674356,"duration":16417,"tags":{},"startTime":1664294701767},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-modules","id":1036,"timestamp":1371657690798,"duration":3,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-chunks","id":1037,"timestamp":1371657690811,"duration":46,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize-tree","id":1038,"timestamp":1371657690876,"duration":5,"tags":{},"startTime":1664294701784},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-optimize","id":1035,"timestamp":1371657690791,"duration":1401,"tags":{},"startTime":1664294701783},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-hash","id":1039,"timestamp":1371657704067,"duration":5290,"tags":{},"startTime":1664294701797},{"traceId":"06b5767d478984a7","parentId":1016,"name":"NextJsBuildManifest-generateClientManifest","id":1041,"timestamp":1371657716707,"duration":80,"tags":{},"startTime":1664294701809},{"traceId":"06b5767d478984a7","parentId":1016,"name":"NextJsBuildManifest-createassets","id":1040,"timestamp":1371657716631,"duration":165,"tags":{},"startTime":1664294701809},{"traceId":"06b5767d478984a7","parentId":1016,"name":"webpack-compilation-seal","id":1033,"timestamp":1371657670624,"duration":47602,"tags":{},"startTime":1664294701763},{"traceId":"06b5767d478984a7","parentId":999,"name":"webpack-compilation","id":1016,"timestamp":1371657548773,"duration":169482,"tags":{"name":"client"},"startTime":1664294701641},{"traceId":"06b5767d478984a7","parentId":999,"name":"emit","id":1042,"timestamp":1371657718267,"duration":80694,"tags":{},"startTime":1664294701811},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":999,"timestamp":1371657520870,"duration":278943,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294701614}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1043,"timestamp":1371657809465,"duration":0,"tags":{},"startTime":1664294701902},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1044,"timestamp":1371657809667,"duration":0,"tags":{},"startTime":1664294701902},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1045,"timestamp":1664294701614000,"duration":296000,"tags":{"clientId":1664294218658},"startTime":1664294701911},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1046,"timestamp":1664294701615000,"duration":380999,"tags":{"clientId":1664294458993},"startTime":1664294701998},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1052,"timestamp":1371675670154,"duration":7226,"tags":{"request":"private-next-pages/_error"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1053,"timestamp":1371675670159,"duration":7240,"tags":{"request":"private-next-pages/_document"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1055,"name":"next-swc-transform","id":1056,"timestamp":1371675677063,"duration":1988,"tags":{},"startTime":1664294719770},{"traceId":"06b5767d478984a7","parentId":1054,"name":"next-swc-loader","id":1055,"timestamp":1371675676891,"duration":2175,"tags":{},"startTime":1664294719770},{"traceId":"06b5767d478984a7","parentId":1049,"name":"build-module-tsx","id":1054,"timestamp":1371675676666,"duration":6342,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719769},{"traceId":"06b5767d478984a7","parentId":1049,"name":"add-entry","id":1051,"timestamp":1371675670074,"duration":15015,"tags":{"request":"private-next-pages/_app"},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1047,"name":"make","id":1050,"timestamp":1371675669924,"duration":15191,"tags":{},"startTime":1664294719763},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-chunk-graph","id":1058,"timestamp":1371675685639,"duration":283,"tags":{},"startTime":1664294719778},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-modules","id":1060,"timestamp":1371675685951,"duration":9,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-chunks","id":1061,"timestamp":1371675685987,"duration":28,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize-tree","id":1062,"timestamp":1371675686041,"duration":14,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-optimize","id":1059,"timestamp":1371675685939,"duration":210,"tags":{},"startTime":1664294719779},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-hash","id":1063,"timestamp":1371675687768,"duration":1389,"tags":{},"startTime":1664294719780},{"traceId":"06b5767d478984a7","parentId":1049,"name":"webpack-compilation-seal","id":1057,"timestamp":1371675685542,"duration":5293,"tags":{},"startTime":1664294719778},{"traceId":"06b5767d478984a7","parentId":1047,"name":"webpack-compilation","id":1049,"timestamp":1371675669631,"duration":21231,"tags":{"name":"server"},"startTime":1664294719762},{"traceId":"06b5767d478984a7","parentId":1047,"name":"emit","id":1064,"timestamp":1371675690876,"duration":2621,"tags":{},"startTime":1664294719784},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1047,"timestamp":1371675663529,"duration":30535,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719756},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1067,"timestamp":1371675699696,"duration":4034,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1074,"name":"read-resource","id":1075,"timestamp":1371675704694,"duration":32,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1076,"name":"postcss-process","id":1077,"timestamp":1371675704764,"duration":26212,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1074,"name":"postcss-loader","id":1076,"timestamp":1371675704749,"duration":26360,"tags":{},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1074,"name":"css-loader","id":1078,"timestamp":1371675731133,"duration":10254,"tags":{"astUsed":"true"},"startTime":1664294719824},{"traceId":"06b5767d478984a7","parentId":1065,"name":"build-module-css","id":1074,"timestamp":1371675704530,"duration":38356,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294719797},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1072,"timestamp":1371675699747,"duration":43676,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1068,"timestamp":1371675699735,"duration":44981,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1071,"timestamp":1371675699744,"duration":47779,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1073,"timestamp":1371675699749,"duration":48076,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1069,"timestamp":1371675699739,"duration":48091,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1080,"name":"next-swc-transform","id":1081,"timestamp":1371675745408,"duration":2850,"tags":{},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1079,"name":"next-swc-loader","id":1080,"timestamp":1371675745371,"duration":2888,"tags":{},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1065,"name":"build-module-tsx","id":1079,"timestamp":1371675745253,"duration":6668,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719838},{"traceId":"06b5767d478984a7","parentId":1065,"name":"add-entry","id":1070,"timestamp":1371675699741,"duration":76900,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294719792},{"traceId":"06b5767d478984a7","parentId":1048,"name":"make","id":1066,"timestamp":1371675698241,"duration":78430,"tags":{},"startTime":1664294719791},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-chunk-graph","id":1083,"timestamp":1371675781930,"duration":16157,"tags":{},"startTime":1664294719875},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-modules","id":1085,"timestamp":1371675798111,"duration":3,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-chunks","id":1086,"timestamp":1371675798187,"duration":48,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize-tree","id":1087,"timestamp":1371675798273,"duration":12,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-optimize","id":1084,"timestamp":1371675798104,"duration":1487,"tags":{},"startTime":1664294719891},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-hash","id":1088,"timestamp":1371675810782,"duration":3408,"tags":{},"startTime":1664294719903},{"traceId":"06b5767d478984a7","parentId":1065,"name":"NextJsBuildManifest-generateClientManifest","id":1090,"timestamp":1371675821639,"duration":64,"tags":{},"startTime":1664294719914},{"traceId":"06b5767d478984a7","parentId":1065,"name":"NextJsBuildManifest-createassets","id":1089,"timestamp":1371675821583,"duration":129,"tags":{},"startTime":1664294719914},{"traceId":"06b5767d478984a7","parentId":1065,"name":"webpack-compilation-seal","id":1082,"timestamp":1371675777888,"duration":45366,"tags":{},"startTime":1664294719871},{"traceId":"06b5767d478984a7","parentId":1048,"name":"webpack-compilation","id":1065,"timestamp":1371675697905,"duration":125374,"tags":{"name":"client"},"startTime":1664294719791},{"traceId":"06b5767d478984a7","parentId":1048,"name":"emit","id":1091,"timestamp":1371675823304,"duration":104284,"tags":{},"startTime":1664294719916},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1048,"timestamp":1371675663873,"duration":264855,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294719757}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1092,"timestamp":1371675939479,"duration":0,"tags":{},"startTime":1664294720032},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1093,"timestamp":1371675939541,"duration":0,"tags":{},"startTime":1664294720032},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1094,"timestamp":1664294719756999,"duration":286000,"tags":{"clientId":1664294218658},"startTime":1664294720044},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1095,"timestamp":1664294719758000,"duration":387999,"tags":{"clientId":1664294458993},"startTime":1664294720147},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1101,"timestamp":1371679674400,"duration":5954,"tags":{"request":"private-next-pages/_error"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1102,"timestamp":1371679674404,"duration":5964,"tags":{"request":"private-next-pages/_document"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1104,"name":"next-swc-transform","id":1105,"timestamp":1371679680082,"duration":1582,"tags":{},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1103,"name":"next-swc-loader","id":1104,"timestamp":1371679680013,"duration":1661,"tags":{},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1098,"name":"build-module-tsx","id":1103,"timestamp":1371679679812,"duration":4743,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723773},{"traceId":"06b5767d478984a7","parentId":1098,"name":"add-entry","id":1100,"timestamp":1371679674354,"duration":12145,"tags":{"request":"private-next-pages/_app"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1096,"name":"make","id":1099,"timestamp":1371679674198,"duration":12316,"tags":{},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-chunk-graph","id":1107,"timestamp":1371679686890,"duration":299,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-modules","id":1109,"timestamp":1371679687200,"duration":2,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-chunks","id":1110,"timestamp":1371679687213,"duration":24,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize-tree","id":1111,"timestamp":1371679687246,"duration":5,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-optimize","id":1108,"timestamp":1371679687196,"duration":117,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-hash","id":1112,"timestamp":1371679688671,"duration":493,"tags":{},"startTime":1664294723781},{"traceId":"06b5767d478984a7","parentId":1098,"name":"webpack-compilation-seal","id":1106,"timestamp":1371679686820,"duration":3553,"tags":{},"startTime":1664294723780},{"traceId":"06b5767d478984a7","parentId":1096,"name":"webpack-compilation","id":1098,"timestamp":1371679674019,"duration":16370,"tags":{"name":"server"},"startTime":1664294723767},{"traceId":"06b5767d478984a7","parentId":1096,"name":"emit","id":1113,"timestamp":1371679690400,"duration":3724,"tags":{},"startTime":1664294723783},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1096,"timestamp":1371679667215,"duration":27149,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723760},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1116,"timestamp":1371679698559,"duration":2626,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1123,"name":"read-resource","id":1124,"timestamp":1371679701882,"duration":39,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1125,"name":"postcss-process","id":1126,"timestamp":1371679701951,"duration":26392,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1123,"name":"postcss-loader","id":1125,"timestamp":1371679701937,"duration":26543,"tags":{},"startTime":1664294723795},{"traceId":"06b5767d478984a7","parentId":1123,"name":"css-loader","id":1127,"timestamp":1371679728499,"duration":6263,"tags":{"astUsed":"true"},"startTime":1664294723821},{"traceId":"06b5767d478984a7","parentId":1114,"name":"build-module-css","id":1123,"timestamp":1371679701788,"duration":34108,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294723794},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1121,"timestamp":1371679698600,"duration":37830,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1117,"timestamp":1371679698588,"duration":38599,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1120,"timestamp":1371679698597,"duration":40569,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1122,"timestamp":1371679698602,"duration":40803,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1118,"timestamp":1371679698591,"duration":40816,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1129,"name":"next-swc-transform","id":1130,"timestamp":1371679737506,"duration":2296,"tags":{},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1128,"name":"next-swc-loader","id":1129,"timestamp":1371679737468,"duration":2337,"tags":{},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1114,"name":"build-module-tsx","id":1128,"timestamp":1371679737348,"duration":5044,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723830},{"traceId":"06b5767d478984a7","parentId":1114,"name":"add-entry","id":1119,"timestamp":1371679698594,"duration":68547,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294723791},{"traceId":"06b5767d478984a7","parentId":1097,"name":"make","id":1115,"timestamp":1371679697361,"duration":69807,"tags":{},"startTime":1664294723790},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-chunk-graph","id":1132,"timestamp":1371679771010,"duration":16460,"tags":{},"startTime":1664294723864},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-modules","id":1134,"timestamp":1371679787500,"duration":3,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-chunks","id":1135,"timestamp":1371679787513,"duration":33,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize-tree","id":1136,"timestamp":1371679787563,"duration":3,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-optimize","id":1133,"timestamp":1371679787492,"duration":1301,"tags":{},"startTime":1664294723880},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-hash","id":1137,"timestamp":1371679799082,"duration":3409,"tags":{},"startTime":1664294723892},{"traceId":"06b5767d478984a7","parentId":1114,"name":"NextJsBuildManifest-generateClientManifest","id":1139,"timestamp":1371679809931,"duration":180,"tags":{},"startTime":1664294723903},{"traceId":"06b5767d478984a7","parentId":1114,"name":"NextJsBuildManifest-createassets","id":1138,"timestamp":1371679809872,"duration":251,"tags":{},"startTime":1664294723903},{"traceId":"06b5767d478984a7","parentId":1114,"name":"webpack-compilation-seal","id":1131,"timestamp":1371679768221,"duration":43524,"tags":{},"startTime":1664294723861},{"traceId":"06b5767d478984a7","parentId":1097,"name":"webpack-compilation","id":1114,"timestamp":1371679697186,"duration":114587,"tags":{"name":"client"},"startTime":1664294723790},{"traceId":"06b5767d478984a7","parentId":1097,"name":"emit","id":1140,"timestamp":1371679811789,"duration":78892,"tags":{},"startTime":1664294723904},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1097,"timestamp":1371679667370,"duration":223870,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294723760}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1141,"timestamp":1371679899584,"duration":0,"tags":{},"startTime":1664294723992},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1142,"timestamp":1371679899893,"duration":0,"tags":{},"startTime":1664294723993},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1143,"timestamp":1664294723760000,"duration":240999,"tags":{"clientId":1664294218658},"startTime":1664294724002},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1144,"timestamp":1664294723760999,"duration":247000,"tags":{"clientId":1664294458993},"startTime":1664294724008},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1149,"timestamp":1371795198390,"duration":5065,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1154,"timestamp":1371795198500,"duration":6066,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1156,"name":"read-resource","id":1157,"timestamp":1371795204313,"duration":1299,"tags":{},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1161,"name":"postcss-process","id":1162,"timestamp":1371795205665,"duration":27384,"tags":{},"startTime":1664294839299},{"traceId":"06b5767d478984a7","parentId":1156,"name":"postcss-loader","id":1161,"timestamp":1371795205645,"duration":27538,"tags":{},"startTime":1664294839299},{"traceId":"06b5767d478984a7","parentId":1156,"name":"css-loader","id":1163,"timestamp":1371795233202,"duration":8755,"tags":{"astUsed":"true"},"startTime":1664294839326},{"traceId":"06b5767d478984a7","parentId":1147,"name":"build-module-css","id":1156,"timestamp":1371795204137,"duration":39228,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1159,"name":"next-swc-transform","id":1160,"timestamp":1371795204752,"duration":41857,"tags":{},"startTime":1664294839298},{"traceId":"06b5767d478984a7","parentId":1158,"name":"next-swc-loader","id":1159,"timestamp":1371795204683,"duration":41932,"tags":{},"startTime":1664294839298},{"traceId":"06b5767d478984a7","parentId":1147,"name":"build-module-tsx","id":1158,"timestamp":1371795204599,"duration":45849,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839297},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1150,"timestamp":1371795198481,"duration":52578,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1155,"timestamp":1371795198503,"duration":53229,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1153,"timestamp":1371795198496,"duration":53530,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1151,"timestamp":1371795198488,"duration":56292,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1147,"name":"add-entry","id":1152,"timestamp":1371795198491,"duration":87341,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294839291},{"traceId":"06b5767d478984a7","parentId":1145,"name":"make","id":1148,"timestamp":1371795197350,"duration":88523,"tags":{},"startTime":1664294839290},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-chunk-graph","id":1165,"timestamp":1371795291224,"duration":5761,"tags":{},"startTime":1664294839384},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-modules","id":1167,"timestamp":1371795297007,"duration":3,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-chunks","id":1168,"timestamp":1371795297021,"duration":36,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize-tree","id":1169,"timestamp":1371795297074,"duration":3,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-optimize","id":1166,"timestamp":1371795297002,"duration":1343,"tags":{},"startTime":1664294839390},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-hash","id":1170,"timestamp":1371795309090,"duration":4145,"tags":{},"startTime":1664294839402},{"traceId":"06b5767d478984a7","parentId":1147,"name":"NextJsBuildManifest-generateClientManifest","id":1172,"timestamp":1371795322359,"duration":68,"tags":{},"startTime":1664294839415},{"traceId":"06b5767d478984a7","parentId":1147,"name":"NextJsBuildManifest-createassets","id":1171,"timestamp":1371795322311,"duration":124,"tags":{},"startTime":1664294839415},{"traceId":"06b5767d478984a7","parentId":1147,"name":"webpack-compilation-seal","id":1164,"timestamp":1371795287105,"duration":36688,"tags":{},"startTime":1664294839380},{"traceId":"06b5767d478984a7","parentId":1145,"name":"webpack-compilation","id":1147,"timestamp":1371795197053,"duration":126769,"tags":{"name":"client"},"startTime":1664294839290},{"traceId":"06b5767d478984a7","parentId":1145,"name":"emit","id":1173,"timestamp":1371795323839,"duration":94688,"tags":{},"startTime":1664294839417},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1145,"timestamp":1371795185236,"duration":234060,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839278},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1179,"timestamp":1371795429696,"duration":0,"tags":{},"startTime":1664294839523},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1180,"timestamp":1371795429758,"duration":0,"tags":{},"startTime":1664294839523},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1177,"timestamp":1371795429121,"duration":6646,"tags":{"request":"private-next-pages/_error"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1178,"timestamp":1371795429126,"duration":6655,"tags":{"request":"private-next-pages/_document"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1182,"name":"next-swc-transform","id":1183,"timestamp":1371795434172,"duration":1797,"tags":{},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1181,"name":"next-swc-loader","id":1182,"timestamp":1371795434120,"duration":1852,"tags":{},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1174,"name":"build-module-tsx","id":1181,"timestamp":1371795433990,"duration":4747,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839527},{"traceId":"06b5767d478984a7","parentId":1174,"name":"add-entry","id":1176,"timestamp":1371795429044,"duration":13486,"tags":{"request":"private-next-pages/_app"},"startTime":1664294839522},{"traceId":"06b5767d478984a7","parentId":1146,"name":"make","id":1175,"timestamp":1371795420244,"duration":22308,"tags":{},"startTime":1664294839513},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-chunk-graph","id":1185,"timestamp":1371795442968,"duration":315,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-modules","id":1187,"timestamp":1371795443300,"duration":2,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-chunks","id":1188,"timestamp":1371795443312,"duration":22,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize-tree","id":1189,"timestamp":1371795443348,"duration":4,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-optimize","id":1186,"timestamp":1371795443294,"duration":123,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-hash","id":1190,"timestamp":1371795445121,"duration":504,"tags":{},"startTime":1664294839538},{"traceId":"06b5767d478984a7","parentId":1174,"name":"webpack-compilation-seal","id":1184,"timestamp":1371795442842,"duration":4290,"tags":{},"startTime":1664294839536},{"traceId":"06b5767d478984a7","parentId":1146,"name":"webpack-compilation","id":1174,"timestamp":1371795420078,"duration":27073,"tags":{"name":"server"},"startTime":1664294839513},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1192,"timestamp":1664294839279000,"duration":256999,"tags":{"clientId":1664294218658},"startTime":1664294839540},{"traceId":"06b5767d478984a7","parentId":1146,"name":"emit","id":1191,"timestamp":1371795447161,"duration":2094,"tags":{},"startTime":1664294839540},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1146,"timestamp":1371795185521,"duration":264386,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294839278}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1193,"timestamp":1664294839279000,"duration":321999,"tags":{"clientId":1664294458993},"startTime":1664294839601},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1198,"timestamp":1371823102949,"duration":3247,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1205,"name":"read-resource","id":1206,"timestamp":1371823107200,"duration":27,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1207,"name":"postcss-process","id":1208,"timestamp":1371823107263,"duration":25762,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1205,"name":"postcss-loader","id":1207,"timestamp":1371823107250,"duration":25902,"tags":{},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1205,"name":"css-loader","id":1209,"timestamp":1371823133171,"duration":9365,"tags":{"astUsed":"true"},"startTime":1664294867226},{"traceId":"06b5767d478984a7","parentId":1196,"name":"build-module-css","id":1205,"timestamp":1371823106983,"duration":36582,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294867200},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1203,"timestamp":1371823103017,"duration":41377,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1199,"timestamp":1371823103003,"duration":42617,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1202,"timestamp":1371823103014,"duration":45222,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1204,"timestamp":1371823103019,"duration":46103,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1200,"timestamp":1371823103007,"duration":46119,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1211,"name":"next-swc-transform","id":1212,"timestamp":1371823145963,"duration":3593,"tags":{},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1210,"name":"next-swc-loader","id":1211,"timestamp":1371823145928,"duration":3629,"tags":{},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1196,"name":"build-module-tsx","id":1210,"timestamp":1371823145802,"duration":6912,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867239},{"traceId":"06b5767d478984a7","parentId":1196,"name":"add-entry","id":1201,"timestamp":1371823103010,"duration":74086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294867196},{"traceId":"06b5767d478984a7","parentId":1194,"name":"make","id":1197,"timestamp":1371823102207,"duration":74922,"tags":{},"startTime":1664294867195},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-chunk-graph","id":1214,"timestamp":1371823182209,"duration":16484,"tags":{},"startTime":1664294867275},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-modules","id":1216,"timestamp":1371823198722,"duration":3,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-chunks","id":1217,"timestamp":1371823198734,"duration":35,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize-tree","id":1218,"timestamp":1371823198787,"duration":3,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-optimize","id":1215,"timestamp":1371823198714,"duration":1325,"tags":{},"startTime":1664294867292},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-hash","id":1219,"timestamp":1371823211860,"duration":3503,"tags":{},"startTime":1664294867305},{"traceId":"06b5767d478984a7","parentId":1196,"name":"NextJsBuildManifest-generateClientManifest","id":1221,"timestamp":1371823222704,"duration":59,"tags":{},"startTime":1664294867316},{"traceId":"06b5767d478984a7","parentId":1196,"name":"NextJsBuildManifest-createassets","id":1220,"timestamp":1371823222645,"duration":127,"tags":{},"startTime":1664294867316},{"traceId":"06b5767d478984a7","parentId":1196,"name":"webpack-compilation-seal","id":1213,"timestamp":1371823178319,"duration":45937,"tags":{},"startTime":1664294867271},{"traceId":"06b5767d478984a7","parentId":1194,"name":"webpack-compilation","id":1196,"timestamp":1371823102024,"duration":122259,"tags":{"name":"client"},"startTime":1664294867195},{"traceId":"06b5767d478984a7","parentId":1194,"name":"emit","id":1222,"timestamp":1371823224296,"duration":93609,"tags":{},"startTime":1664294867317},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1194,"timestamp":1371823091040,"duration":227624,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867184},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1228,"timestamp":1371823330375,"duration":0,"tags":{},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1229,"timestamp":1371823330554,"duration":0,"tags":{},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1226,"timestamp":1371823329792,"duration":4075,"tags":{"request":"private-next-pages/_error"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1227,"timestamp":1371823329797,"duration":4079,"tags":{"request":"private-next-pages/_document"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1233,"timestamp":1664294867184000,"duration":251000,"tags":{"clientId":1664294218658},"startTime":1664294867435},{"traceId":"06b5767d478984a7","parentId":1231,"name":"next-swc-transform","id":1232,"timestamp":1371823333644,"duration":11428,"tags":{},"startTime":1664294867427},{"traceId":"06b5767d478984a7","parentId":1230,"name":"next-swc-loader","id":1231,"timestamp":1371823333593,"duration":11484,"tags":{},"startTime":1664294867426},{"traceId":"06b5767d478984a7","parentId":1223,"name":"build-module-tsx","id":1230,"timestamp":1371823333473,"duration":14537,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867426},{"traceId":"06b5767d478984a7","parentId":1223,"name":"add-entry","id":1225,"timestamp":1371823329730,"duration":20269,"tags":{"request":"private-next-pages/_app"},"startTime":1664294867423},{"traceId":"06b5767d478984a7","parentId":1195,"name":"make","id":1224,"timestamp":1371823320036,"duration":29980,"tags":{},"startTime":1664294867413},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-chunk-graph","id":1235,"timestamp":1371823350378,"duration":272,"tags":{},"startTime":1664294867443},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-modules","id":1237,"timestamp":1371823350659,"duration":2,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-chunks","id":1238,"timestamp":1371823350670,"duration":21,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize-tree","id":1239,"timestamp":1371823350699,"duration":4,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-optimize","id":1236,"timestamp":1371823350656,"duration":104,"tags":{},"startTime":1664294867444},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-hash","id":1240,"timestamp":1371823352421,"duration":489,"tags":{},"startTime":1664294867445},{"traceId":"06b5767d478984a7","parentId":1223,"name":"webpack-compilation-seal","id":1234,"timestamp":1371823350314,"duration":3884,"tags":{},"startTime":1664294867443},{"traceId":"06b5767d478984a7","parentId":1195,"name":"webpack-compilation","id":1223,"timestamp":1371823319851,"duration":34368,"tags":{"name":"server"},"startTime":1664294867413},{"traceId":"06b5767d478984a7","parentId":1195,"name":"emit","id":1241,"timestamp":1371823354229,"duration":1729,"tags":{},"startTime":1664294867447},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1195,"timestamp":1371823091266,"duration":265078,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294867184}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1242,"timestamp":1664294867187000,"duration":261999,"tags":{"clientId":1664294458993},"startTime":1664294867450},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1247,"timestamp":1371932073879,"duration":6084,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1252,"timestamp":1371932073955,"duration":9768,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1254,"name":"read-resource","id":1255,"timestamp":1371932083425,"duration":1298,"tags":{},"startTime":1664294976176},{"traceId":"06b5767d478984a7","parentId":1259,"name":"postcss-process","id":1260,"timestamp":1371932084759,"duration":29053,"tags":{},"startTime":1664294976178},{"traceId":"06b5767d478984a7","parentId":1254,"name":"postcss-loader","id":1259,"timestamp":1371932084746,"duration":29202,"tags":{},"startTime":1664294976178},{"traceId":"06b5767d478984a7","parentId":1254,"name":"css-loader","id":1261,"timestamp":1371932113972,"duration":7665,"tags":{"astUsed":"true"},"startTime":1664294976207},{"traceId":"06b5767d478984a7","parentId":1245,"name":"build-module-css","id":1254,"timestamp":1371932083193,"duration":39880,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664294976176},{"traceId":"06b5767d478984a7","parentId":1257,"name":"next-swc-transform","id":1258,"timestamp":1371932083911,"duration":41674,"tags":{},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1256,"name":"next-swc-loader","id":1257,"timestamp":1371932083839,"duration":41751,"tags":{},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1245,"name":"build-module-tsx","id":1256,"timestamp":1371932083762,"duration":44922,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976177},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1248,"timestamp":1371932073941,"duration":55051,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1253,"timestamp":1371932073957,"duration":55723,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1251,"timestamp":1371932073952,"duration":56470,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1249,"timestamp":1371932073946,"duration":58007,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1245,"name":"add-entry","id":1250,"timestamp":1371932073949,"duration":86584,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664294976167},{"traceId":"06b5767d478984a7","parentId":1243,"name":"make","id":1246,"timestamp":1371932072957,"duration":87603,"tags":{},"startTime":1664294976166},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-chunk-graph","id":1263,"timestamp":1371932165710,"duration":16341,"tags":{},"startTime":1664294976259},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-modules","id":1265,"timestamp":1371932182072,"duration":3,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-chunks","id":1266,"timestamp":1371932182085,"duration":46,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize-tree","id":1267,"timestamp":1371932182146,"duration":3,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-optimize","id":1264,"timestamp":1371932182066,"duration":1367,"tags":{},"startTime":1664294976275},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-hash","id":1268,"timestamp":1371932193485,"duration":3417,"tags":{},"startTime":1664294976287},{"traceId":"06b5767d478984a7","parentId":1245,"name":"NextJsBuildManifest-generateClientManifest","id":1270,"timestamp":1371932205678,"duration":66,"tags":{},"startTime":1664294976299},{"traceId":"06b5767d478984a7","parentId":1245,"name":"NextJsBuildManifest-createassets","id":1269,"timestamp":1371932205629,"duration":124,"tags":{},"startTime":1664294976299},{"traceId":"06b5767d478984a7","parentId":1245,"name":"webpack-compilation-seal","id":1262,"timestamp":1371932161842,"duration":45295,"tags":{},"startTime":1664294976255},{"traceId":"06b5767d478984a7","parentId":1243,"name":"webpack-compilation","id":1245,"timestamp":1371932072739,"duration":134422,"tags":{"name":"client"},"startTime":1664294976166},{"traceId":"06b5767d478984a7","parentId":1243,"name":"emit","id":1271,"timestamp":1371932207175,"duration":86557,"tags":{},"startTime":1664294976300},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1243,"timestamp":1371932061574,"duration":233320,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976155},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1277,"timestamp":1371932306103,"duration":0,"tags":{},"startTime":1664294976399},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1278,"timestamp":1371932306264,"duration":0,"tags":{},"startTime":1664294976399},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1275,"timestamp":1371932305409,"duration":4417,"tags":{"request":"private-next-pages/_error"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1276,"timestamp":1371932305414,"duration":4419,"tags":{"request":"private-next-pages/_document"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1280,"name":"next-swc-transform","id":1281,"timestamp":1371932309361,"duration":3906,"tags":{},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1279,"name":"next-swc-loader","id":1280,"timestamp":1371932309316,"duration":3961,"tags":{},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1272,"name":"build-module-tsx","id":1279,"timestamp":1371932309223,"duration":6925,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976402},{"traceId":"06b5767d478984a7","parentId":1272,"name":"add-entry","id":1274,"timestamp":1371932305334,"duration":14691,"tags":{"request":"private-next-pages/_app"},"startTime":1664294976398},{"traceId":"06b5767d478984a7","parentId":1244,"name":"make","id":1273,"timestamp":1371932296344,"duration":23703,"tags":{},"startTime":1664294976389},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-chunk-graph","id":1283,"timestamp":1371932320405,"duration":298,"tags":{},"startTime":1664294976413},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-modules","id":1285,"timestamp":1371932320714,"duration":2,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-chunks","id":1286,"timestamp":1371932320725,"duration":22,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize-tree","id":1287,"timestamp":1371932320756,"duration":4,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-optimize","id":1284,"timestamp":1371932320710,"duration":108,"tags":{},"startTime":1664294976414},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-hash","id":1288,"timestamp":1371932322188,"duration":430,"tags":{},"startTime":1664294976415},{"traceId":"06b5767d478984a7","parentId":1272,"name":"webpack-compilation-seal","id":1282,"timestamp":1371932320342,"duration":5300,"tags":{},"startTime":1664294976413},{"traceId":"06b5767d478984a7","parentId":1244,"name":"webpack-compilation","id":1272,"timestamp":1371932296166,"duration":29497,"tags":{"name":"server"},"startTime":1664294976389},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1290,"timestamp":1664294976155000,"duration":257999,"tags":{"clientId":1664294218658},"startTime":1664294976419},{"traceId":"06b5767d478984a7","parentId":1244,"name":"emit","id":1289,"timestamp":1371932325673,"duration":1876,"tags":{},"startTime":1664294976419},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1244,"timestamp":1371932061852,"duration":266082,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664294976155}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1291,"timestamp":1664294976156000,"duration":317999,"tags":{"clientId":1664294458993},"startTime":1664294976475},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1296,"timestamp":1372030035938,"duration":5427,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1301,"timestamp":1372030036022,"duration":9941,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1303,"name":"read-resource","id":1304,"timestamp":1372030045659,"duration":1028,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1308,"name":"postcss-process","id":1309,"timestamp":1372030046714,"duration":29669,"tags":{},"startTime":1664295074140},{"traceId":"06b5767d478984a7","parentId":1303,"name":"postcss-loader","id":1308,"timestamp":1372030046703,"duration":29832,"tags":{},"startTime":1664295074140},{"traceId":"06b5767d478984a7","parentId":1303,"name":"css-loader","id":1310,"timestamp":1372030076558,"duration":7542,"tags":{"astUsed":"true"},"startTime":1664295074170},{"traceId":"06b5767d478984a7","parentId":1294,"name":"build-module-css","id":1303,"timestamp":1372030045484,"duration":39834,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1306,"name":"next-swc-transform","id":1307,"timestamp":1372030046127,"duration":42010,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1305,"name":"next-swc-loader","id":1306,"timestamp":1372030046069,"duration":42073,"tags":{},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1294,"name":"build-module-tsx","id":1305,"timestamp":1372030045992,"duration":45246,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074139},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1297,"timestamp":1372030036006,"duration":56109,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1302,"timestamp":1372030036025,"duration":56201,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1300,"timestamp":1372030036018,"duration":57186,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1298,"timestamp":1372030036012,"duration":59168,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1294,"name":"add-entry","id":1299,"timestamp":1372030036015,"duration":88541,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295074129},{"traceId":"06b5767d478984a7","parentId":1292,"name":"make","id":1295,"timestamp":1372030035133,"duration":89448,"tags":{},"startTime":1664295074128},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-chunk-graph","id":1312,"timestamp":1372030128495,"duration":16846,"tags":{},"startTime":1664295074222},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-modules","id":1314,"timestamp":1372030145363,"duration":3,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-chunks","id":1315,"timestamp":1372030145376,"duration":37,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize-tree","id":1316,"timestamp":1372030145433,"duration":3,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-optimize","id":1313,"timestamp":1372030145356,"duration":1378,"tags":{},"startTime":1664295074239},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-hash","id":1317,"timestamp":1372030156629,"duration":3232,"tags":{},"startTime":1664295074250},{"traceId":"06b5767d478984a7","parentId":1294,"name":"NextJsBuildManifest-generateClientManifest","id":1319,"timestamp":1372030167425,"duration":66,"tags":{},"startTime":1664295074261},{"traceId":"06b5767d478984a7","parentId":1294,"name":"NextJsBuildManifest-createassets","id":1318,"timestamp":1372030167372,"duration":127,"tags":{},"startTime":1664295074261},{"traceId":"06b5767d478984a7","parentId":1294,"name":"webpack-compilation-seal","id":1311,"timestamp":1372030125716,"duration":43333,"tags":{},"startTime":1664295074219},{"traceId":"06b5767d478984a7","parentId":1292,"name":"webpack-compilation","id":1294,"timestamp":1372030034903,"duration":134179,"tags":{"name":"client"},"startTime":1664295074128},{"traceId":"06b5767d478984a7","parentId":1292,"name":"emit","id":1320,"timestamp":1372030169095,"duration":98919,"tags":{},"startTime":1664295074262},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1292,"timestamp":1372030024029,"duration":244768,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074117},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1326,"timestamp":1372030280110,"duration":0,"tags":{},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1324,"timestamp":1372030279495,"duration":4314,"tags":{"request":"private-next-pages/_error"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1325,"timestamp":1372030279499,"duration":4317,"tags":{"request":"private-next-pages/_document"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1328,"name":"next-swc-transform","id":1329,"timestamp":1372030283357,"duration":1617,"tags":{},"startTime":1664295074377},{"traceId":"06b5767d478984a7","parentId":1327,"name":"next-swc-loader","id":1328,"timestamp":1372030283310,"duration":1668,"tags":{},"startTime":1664295074376},{"traceId":"06b5767d478984a7","parentId":1321,"name":"build-module-tsx","id":1327,"timestamp":1372030283219,"duration":4099,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074376},{"traceId":"06b5767d478984a7","parentId":1321,"name":"add-entry","id":1323,"timestamp":1372030279382,"duration":12202,"tags":{"request":"private-next-pages/_app"},"startTime":1664295074373},{"traceId":"06b5767d478984a7","parentId":1293,"name":"make","id":1322,"timestamp":1372030269997,"duration":21603,"tags":{},"startTime":1664295074363},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-chunk-graph","id":1331,"timestamp":1372030291875,"duration":243,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-modules","id":1333,"timestamp":1372030292127,"duration":51,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-chunks","id":1334,"timestamp":1372030292186,"duration":19,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize-tree","id":1335,"timestamp":1372030292213,"duration":3,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-optimize","id":1332,"timestamp":1372030292123,"duration":147,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-hash","id":1336,"timestamp":1372030293465,"duration":398,"tags":{},"startTime":1664295074387},{"traceId":"06b5767d478984a7","parentId":1321,"name":"webpack-compilation-seal","id":1330,"timestamp":1372030291818,"duration":3358,"tags":{},"startTime":1664295074385},{"traceId":"06b5767d478984a7","parentId":1293,"name":"webpack-compilation","id":1321,"timestamp":1372030269817,"duration":25377,"tags":{"name":"server"},"startTime":1664295074363},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1338,"timestamp":1664295074118000,"duration":266999,"tags":{"clientId":1664294218658},"startTime":1664295074389},{"traceId":"06b5767d478984a7","parentId":1293,"name":"emit","id":1337,"timestamp":1372030295202,"duration":1973,"tags":{},"startTime":1664295074388},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1293,"timestamp":1372030024238,"duration":273305,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/tailwind.tsx"},"startTime":1664295074117}] -[{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1344,"timestamp":1372041372924,"duration":4393,"tags":{"request":"private-next-pages/_error"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1345,"timestamp":1372041372928,"duration":4402,"tags":{"request":"private-next-pages/_document"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1347,"name":"next-swc-transform","id":1348,"timestamp":1372041377553,"duration":841,"tags":{},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1346,"name":"next-swc-loader","id":1347,"timestamp":1372041377512,"duration":886,"tags":{},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1341,"name":"build-module-tsx","id":1346,"timestamp":1372041377423,"duration":1949,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085471},{"traceId":"06b5767d478984a7","parentId":1341,"name":"add-entry","id":1343,"timestamp":1372041372894,"duration":19472,"tags":{"request":"private-next-pages/_app"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1339,"name":"make","id":1342,"timestamp":1372041372825,"duration":19559,"tags":{},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-chunk-graph","id":1350,"timestamp":1372041392634,"duration":257,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-modules","id":1352,"timestamp":1372041392900,"duration":2,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-chunks","id":1353,"timestamp":1372041392910,"duration":15,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize-tree","id":1354,"timestamp":1372041392933,"duration":3,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-optimize","id":1351,"timestamp":1372041392897,"duration":81,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-hash","id":1355,"timestamp":1372041393772,"duration":413,"tags":{},"startTime":1664295085487},{"traceId":"06b5767d478984a7","parentId":1341,"name":"webpack-compilation-seal","id":1349,"timestamp":1372041392571,"duration":2375,"tags":{},"startTime":1664295085486},{"traceId":"06b5767d478984a7","parentId":1339,"name":"webpack-compilation","id":1341,"timestamp":1372041372656,"duration":22305,"tags":{"name":"server"},"startTime":1664295085466},{"traceId":"06b5767d478984a7","parentId":1339,"name":"emit","id":1356,"timestamp":1372041394972,"duration":4431,"tags":{},"startTime":1664295085488},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1339,"timestamp":1372041366390,"duration":33207,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085460},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1359,"timestamp":1372041403017,"duration":4040,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1366,"name":"read-resource","id":1367,"timestamp":1372041407882,"duration":27,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1368,"name":"postcss-process","id":1369,"timestamp":1372041407939,"duration":23285,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1366,"name":"postcss-loader","id":1368,"timestamp":1372041407926,"duration":23499,"tags":{},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1366,"name":"css-loader","id":1370,"timestamp":1372041431443,"duration":7634,"tags":{"astUsed":"true"},"startTime":1664295085525},{"traceId":"06b5767d478984a7","parentId":1357,"name":"build-module-css","id":1366,"timestamp":1372041407767,"duration":32263,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295085501},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1364,"timestamp":1372041403052,"duration":37346,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1360,"timestamp":1372041403041,"duration":38049,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1363,"timestamp":1372041403050,"duration":40074,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1365,"timestamp":1372041403055,"duration":40476,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1361,"timestamp":1372041403045,"duration":40489,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1372,"name":"next-swc-transform","id":1373,"timestamp":1372041443574,"duration":2223,"tags":{},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1371,"name":"next-swc-loader","id":1372,"timestamp":1372041443538,"duration":2264,"tags":{},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1357,"name":"build-module-tsx","id":1371,"timestamp":1372041443378,"duration":3566,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085537},{"traceId":"06b5767d478984a7","parentId":1357,"name":"add-entry","id":1362,"timestamp":1372041403047,"duration":115633,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295085496},{"traceId":"06b5767d478984a7","parentId":1340,"name":"make","id":1358,"timestamp":1372041402189,"duration":116513,"tags":{},"startTime":1664295085495},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-chunk-graph","id":1375,"timestamp":1372041526310,"duration":22178,"tags":{},"startTime":1664295085619},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-modules","id":1377,"timestamp":1372041548525,"duration":3,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-chunks","id":1378,"timestamp":1372041548540,"duration":36,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize-tree","id":1379,"timestamp":1372041548599,"duration":10,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-optimize","id":1376,"timestamp":1372041548514,"duration":1954,"tags":{},"startTime":1664295085642},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-hash","id":1380,"timestamp":1372041582018,"duration":4436,"tags":{},"startTime":1664295085675},{"traceId":"06b5767d478984a7","parentId":1357,"name":"NextJsBuildManifest-generateClientManifest","id":1382,"timestamp":1372041594939,"duration":78,"tags":{},"startTime":1664295085688},{"traceId":"06b5767d478984a7","parentId":1357,"name":"NextJsBuildManifest-createassets","id":1381,"timestamp":1372041594880,"duration":148,"tags":{},"startTime":1664295085688},{"traceId":"06b5767d478984a7","parentId":1357,"name":"webpack-compilation-seal","id":1374,"timestamp":1372041521019,"duration":76114,"tags":{},"startTime":1664295085614},{"traceId":"06b5767d478984a7","parentId":1340,"name":"webpack-compilation","id":1357,"timestamp":1372041402022,"duration":195143,"tags":{"name":"client"},"startTime":1664295085495},{"traceId":"06b5767d478984a7","parentId":1340,"name":"emit","id":1383,"timestamp":1372041597186,"duration":84927,"tags":{},"startTime":1664295085690},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1340,"timestamp":1372041366502,"duration":316561,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connecting.tsx"},"startTime":1664295085460}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1384,"timestamp":1372041703741,"duration":0,"tags":{},"startTime":1664295085797},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1385,"timestamp":1664295085460000,"duration":355000,"tags":{"clientId":1664294218658},"startTime":1664295085816},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1390,"timestamp":1372059247259,"duration":3414,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295103340},{"traceId":"06b5767d478984a7","parentId":1397,"name":"read-resource","id":1398,"timestamp":1372059251343,"duration":21,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1399,"name":"postcss-process","id":1400,"timestamp":1372059251391,"duration":22134,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1397,"name":"postcss-loader","id":1399,"timestamp":1372059251379,"duration":22285,"tags":{},"startTime":1664295103345},{"traceId":"06b5767d478984a7","parentId":1397,"name":"css-loader","id":1401,"timestamp":1372059273684,"duration":7985,"tags":{"astUsed":"true"},"startTime":1664295103367},{"traceId":"06b5767d478984a7","parentId":1388,"name":"build-module-css","id":1397,"timestamp":1372059251227,"duration":31715,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295103344},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1395,"timestamp":1372059247408,"duration":35940,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1391,"timestamp":1372059247392,"duration":36646,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1394,"timestamp":1372059247405,"duration":38490,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1396,"timestamp":1372059247410,"duration":38870,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1392,"timestamp":1372059247398,"duration":38887,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1403,"name":"next-swc-transform","id":1404,"timestamp":1372059286359,"duration":1941,"tags":{},"startTime":1664295103380},{"traceId":"06b5767d478984a7","parentId":1402,"name":"next-swc-loader","id":1403,"timestamp":1372059286289,"duration":2015,"tags":{},"startTime":1664295103379},{"traceId":"06b5767d478984a7","parentId":1388,"name":"build-module-tsx","id":1402,"timestamp":1372059286112,"duration":4533,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103379},{"traceId":"06b5767d478984a7","parentId":1388,"name":"add-entry","id":1393,"timestamp":1372059247402,"duration":85565,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295103341},{"traceId":"06b5767d478984a7","parentId":1386,"name":"make","id":1389,"timestamp":1372059246297,"duration":86690,"tags":{},"startTime":1664295103339},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-chunk-graph","id":1406,"timestamp":1372059336644,"duration":15502,"tags":{},"startTime":1664295103430},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-modules","id":1408,"timestamp":1372059352168,"duration":3,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-chunks","id":1409,"timestamp":1372059352183,"duration":38,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize-tree","id":1410,"timestamp":1372059352239,"duration":3,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-optimize","id":1407,"timestamp":1372059352161,"duration":1289,"tags":{},"startTime":1664295103445},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-hash","id":1411,"timestamp":1372059363569,"duration":5451,"tags":{},"startTime":1664295103457},{"traceId":"06b5767d478984a7","parentId":1388,"name":"NextJsBuildManifest-generateClientManifest","id":1413,"timestamp":1372059377630,"duration":53,"tags":{},"startTime":1664295103471},{"traceId":"06b5767d478984a7","parentId":1388,"name":"NextJsBuildManifest-createassets","id":1412,"timestamp":1372059377572,"duration":119,"tags":{},"startTime":1664295103471},{"traceId":"06b5767d478984a7","parentId":1388,"name":"webpack-compilation-seal","id":1405,"timestamp":1372059333969,"duration":45178,"tags":{},"startTime":1664295103427},{"traceId":"06b5767d478984a7","parentId":1386,"name":"webpack-compilation","id":1388,"timestamp":1372059246071,"duration":133101,"tags":{"name":"client"},"startTime":1664295103339},{"traceId":"06b5767d478984a7","parentId":1386,"name":"emit","id":1414,"timestamp":1372059379184,"duration":88282,"tags":{},"startTime":1664295103472},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1386,"timestamp":1372059234013,"duration":234148,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103327},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1420,"timestamp":1372059478626,"duration":0,"tags":{},"startTime":1664295103572},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1418,"timestamp":1372059478017,"duration":3896,"tags":{"request":"private-next-pages/_error"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1419,"timestamp":1372059478020,"duration":3900,"tags":{"request":"private-next-pages/_document"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1422,"name":"next-swc-transform","id":1423,"timestamp":1372059482209,"duration":1597,"tags":{},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1421,"name":"next-swc-loader","id":1422,"timestamp":1372059482159,"duration":1655,"tags":{},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1415,"name":"build-module-tsx","id":1421,"timestamp":1372059482038,"duration":3848,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103575},{"traceId":"06b5767d478984a7","parentId":1415,"name":"add-entry","id":1417,"timestamp":1372059477949,"duration":10537,"tags":{"request":"private-next-pages/_app"},"startTime":1664295103571},{"traceId":"06b5767d478984a7","parentId":1387,"name":"make","id":1416,"timestamp":1372059469250,"duration":19258,"tags":{},"startTime":1664295103562},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-chunk-graph","id":1425,"timestamp":1372059488907,"duration":377,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-modules","id":1427,"timestamp":1372059489294,"duration":2,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-chunks","id":1428,"timestamp":1372059489304,"duration":20,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize-tree","id":1429,"timestamp":1372059489333,"duration":7,"tags":{},"startTime":1664295103583},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-optimize","id":1426,"timestamp":1372059489291,"duration":108,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-hash","id":1430,"timestamp":1372059490541,"duration":444,"tags":{},"startTime":1664295103584},{"traceId":"06b5767d478984a7","parentId":1415,"name":"webpack-compilation-seal","id":1424,"timestamp":1372059488839,"duration":3067,"tags":{},"startTime":1664295103582},{"traceId":"06b5767d478984a7","parentId":1387,"name":"webpack-compilation","id":1415,"timestamp":1372059469072,"duration":22856,"tags":{"name":"server"},"startTime":1664295103562},{"traceId":"06b5767d478984a7","parentId":1387,"name":"emit","id":1431,"timestamp":1372059491937,"duration":1720,"tags":{},"startTime":1664295103585},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1387,"timestamp":1372059234273,"duration":259690,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295103327}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1432,"timestamp":1664295103328000,"duration":343000,"tags":{"clientId":1664294218658},"startTime":1664295103672},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1438,"timestamp":1372063411178,"duration":5403,"tags":{"request":"private-next-pages/_error"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1439,"timestamp":1372063411185,"duration":5416,"tags":{"request":"private-next-pages/_document"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1441,"name":"next-swc-transform","id":1442,"timestamp":1372063416998,"duration":1215,"tags":{},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1440,"name":"next-swc-loader","id":1441,"timestamp":1372063416924,"duration":1299,"tags":{},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1435,"name":"build-module-tsx","id":1440,"timestamp":1372063416706,"duration":4169,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107510},{"traceId":"06b5767d478984a7","parentId":1435,"name":"add-entry","id":1437,"timestamp":1372063411115,"duration":11299,"tags":{"request":"private-next-pages/_app"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1433,"name":"make","id":1436,"timestamp":1372063410929,"duration":11503,"tags":{},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-chunk-graph","id":1444,"timestamp":1372063422807,"duration":357,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-modules","id":1446,"timestamp":1372063423177,"duration":2,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-chunks","id":1447,"timestamp":1372063423189,"duration":22,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize-tree","id":1448,"timestamp":1372063423221,"duration":5,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-optimize","id":1445,"timestamp":1372063423171,"duration":119,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-hash","id":1449,"timestamp":1372063425303,"duration":520,"tags":{},"startTime":1664295107518},{"traceId":"06b5767d478984a7","parentId":1435,"name":"webpack-compilation-seal","id":1443,"timestamp":1372063422730,"duration":5663,"tags":{},"startTime":1664295107516},{"traceId":"06b5767d478984a7","parentId":1433,"name":"webpack-compilation","id":1435,"timestamp":1372063410693,"duration":17728,"tags":{"name":"server"},"startTime":1664295107504},{"traceId":"06b5767d478984a7","parentId":1433,"name":"emit","id":1450,"timestamp":1372063428435,"duration":1851,"tags":{},"startTime":1664295107522},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1433,"timestamp":1372063404076,"duration":26498,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107497},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1453,"timestamp":1372063434635,"duration":2784,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1460,"name":"read-resource","id":1461,"timestamp":1372063438119,"duration":20,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1462,"name":"postcss-process","id":1463,"timestamp":1372063438170,"duration":24441,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1460,"name":"postcss-loader","id":1462,"timestamp":1372063438157,"duration":24577,"tags":{},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1460,"name":"css-loader","id":1464,"timestamp":1372063462753,"duration":5896,"tags":{"astUsed":"true"},"startTime":1664295107556},{"traceId":"06b5767d478984a7","parentId":1451,"name":"build-module-css","id":1460,"timestamp":1372063438001,"duration":31663,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295107531},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1458,"timestamp":1372063434683,"duration":35426,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1454,"timestamp":1372063434670,"duration":36086,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1457,"timestamp":1372063434680,"duration":39316,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1459,"timestamp":1372063434685,"duration":39669,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1455,"timestamp":1372063434674,"duration":39683,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1466,"name":"next-swc-transform","id":1467,"timestamp":1372063474395,"duration":1789,"tags":{},"startTime":1664295107568},{"traceId":"06b5767d478984a7","parentId":1465,"name":"next-swc-loader","id":1466,"timestamp":1372063474361,"duration":1832,"tags":{},"startTime":1664295107568},{"traceId":"06b5767d478984a7","parentId":1451,"name":"build-module-tsx","id":1465,"timestamp":1372063474212,"duration":3712,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107567},{"traceId":"06b5767d478984a7","parentId":1451,"name":"add-entry","id":1456,"timestamp":1372063434676,"duration":63416,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295107528},{"traceId":"06b5767d478984a7","parentId":1434,"name":"make","id":1452,"timestamp":1372063433468,"duration":64646,"tags":{},"startTime":1664295107527},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-chunk-graph","id":1469,"timestamp":1372063502020,"duration":15707,"tags":{},"startTime":1664295107595},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-modules","id":1471,"timestamp":1372063517750,"duration":2,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-chunks","id":1472,"timestamp":1372063517762,"duration":29,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize-tree","id":1473,"timestamp":1372063517809,"duration":3,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-optimize","id":1470,"timestamp":1372063517744,"duration":1273,"tags":{},"startTime":1664295107611},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-hash","id":1474,"timestamp":1372063528575,"duration":3302,"tags":{},"startTime":1664295107622},{"traceId":"06b5767d478984a7","parentId":1451,"name":"NextJsBuildManifest-generateClientManifest","id":1476,"timestamp":1372063540463,"duration":61,"tags":{},"startTime":1664295107634},{"traceId":"06b5767d478984a7","parentId":1451,"name":"NextJsBuildManifest-createassets","id":1475,"timestamp":1372063540393,"duration":141,"tags":{},"startTime":1664295107634},{"traceId":"06b5767d478984a7","parentId":1451,"name":"webpack-compilation-seal","id":1468,"timestamp":1372063499148,"duration":44312,"tags":{},"startTime":1664295107592},{"traceId":"06b5767d478984a7","parentId":1434,"name":"webpack-compilation","id":1451,"timestamp":1372063433304,"duration":110187,"tags":{"name":"client"},"startTime":1664295107527},{"traceId":"06b5767d478984a7","parentId":1434,"name":"emit","id":1477,"timestamp":1372063543507,"duration":86423,"tags":{},"startTime":1664295107637},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1434,"timestamp":1372063404292,"duration":226198,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295107497}] -[{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1478,"timestamp":1372063638839,"duration":0,"tags":{},"startTime":1664295107732},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-hmr-latency","id":1479,"timestamp":1664295107497999,"duration":246000,"tags":{"clientId":1664294218658},"startTime":1664295107744},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1484,"timestamp":1372067745546,"duration":3646,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1491,"name":"read-resource","id":1492,"timestamp":1372067749934,"duration":22,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1493,"name":"postcss-process","id":1494,"timestamp":1372067749979,"duration":21778,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1491,"name":"postcss-loader","id":1493,"timestamp":1372067749970,"duration":21935,"tags":{},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1491,"name":"css-loader","id":1495,"timestamp":1372067771925,"duration":7811,"tags":{"astUsed":"true"},"startTime":1664295111865},{"traceId":"06b5767d478984a7","parentId":1482,"name":"build-module-css","id":1491,"timestamp":1372067749837,"duration":30703,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/cosmos-app/styles/globals.css"},"startTime":1664295111843},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1489,"timestamp":1372067745739,"duration":36044,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1485,"timestamp":1372067745596,"duration":38466,"tags":{"request":"./node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1488,"timestamp":1372067745736,"duration":42774,"tags":{"request":"/Users/josefleventon/Developer/cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1490,"timestamp":1372067745742,"duration":43632,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2Fcosmos-app%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1486,"timestamp":1372067745729,"duration":43651,"tags":{"request":"./node_modules/next/dist/client/next-dev.js"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1497,"name":"next-swc-transform","id":1498,"timestamp":1372067789429,"duration":1804,"tags":{},"startTime":1664295111883},{"traceId":"06b5767d478984a7","parentId":1496,"name":"next-swc-loader","id":1497,"timestamp":1372067789387,"duration":1852,"tags":{},"startTime":1664295111883},{"traceId":"06b5767d478984a7","parentId":1482,"name":"build-module-tsx","id":1496,"timestamp":1372067789105,"duration":5209,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111882},{"traceId":"06b5767d478984a7","parentId":1482,"name":"add-entry","id":1487,"timestamp":1372067745733,"duration":107676,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295111839},{"traceId":"06b5767d478984a7","parentId":1480,"name":"make","id":1483,"timestamp":1372067744766,"duration":108683,"tags":{},"startTime":1664295111838},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-chunk-graph","id":1500,"timestamp":1372067857617,"duration":4394,"tags":{},"startTime":1664295111951},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-modules","id":1502,"timestamp":1372067862032,"duration":3,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-chunks","id":1503,"timestamp":1372067862045,"duration":41,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize-tree","id":1504,"timestamp":1372067862105,"duration":9,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-optimize","id":1501,"timestamp":1372067862026,"duration":1361,"tags":{},"startTime":1664295111955},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-hash","id":1505,"timestamp":1372067874159,"duration":3241,"tags":{},"startTime":1664295111967},{"traceId":"06b5767d478984a7","parentId":1482,"name":"NextJsBuildManifest-generateClientManifest","id":1507,"timestamp":1372067884404,"duration":75,"tags":{},"startTime":1664295111978},{"traceId":"06b5767d478984a7","parentId":1482,"name":"NextJsBuildManifest-createassets","id":1506,"timestamp":1372067884340,"duration":150,"tags":{},"startTime":1664295111978},{"traceId":"06b5767d478984a7","parentId":1482,"name":"webpack-compilation-seal","id":1499,"timestamp":1372067854629,"duration":31427,"tags":{},"startTime":1664295111948},{"traceId":"06b5767d478984a7","parentId":1480,"name":"webpack-compilation","id":1482,"timestamp":1372067744570,"duration":141519,"tags":{"name":"client"},"startTime":1664295111838},{"traceId":"06b5767d478984a7","parentId":1480,"name":"emit","id":1508,"timestamp":1372067886110,"duration":77935,"tags":{},"startTime":1664295111979},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-client","id":1480,"timestamp":1372067731117,"duration":233450,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111824},{"traceId":"06b5767d478984a7","parentId":1,"name":"client-success","id":1514,"timestamp":1372067973197,"duration":0,"tags":{},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1512,"timestamp":1372067972730,"duration":2921,"tags":{"request":"private-next-pages/_error"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1513,"timestamp":1372067972734,"duration":2924,"tags":{"request":"private-next-pages/_document"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1516,"name":"next-swc-transform","id":1517,"timestamp":1372067975845,"duration":5321,"tags":{},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1515,"name":"next-swc-loader","id":1516,"timestamp":1372067975815,"duration":5366,"tags":{},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1509,"name":"build-module-tsx","id":1515,"timestamp":1372067975745,"duration":7045,"tags":{"name":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295112069},{"traceId":"06b5767d478984a7","parentId":1509,"name":"add-entry","id":1511,"timestamp":1372067972637,"duration":11759,"tags":{"request":"private-next-pages/_app"},"startTime":1664295112066},{"traceId":"06b5767d478984a7","parentId":1481,"name":"make","id":1510,"timestamp":1372067965562,"duration":18848,"tags":{},"startTime":1664295112059},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-chunk-graph","id":1519,"timestamp":1372067984693,"duration":186,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-modules","id":1521,"timestamp":1372067984887,"duration":2,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-chunks","id":1522,"timestamp":1372067984897,"duration":30,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize-tree","id":1523,"timestamp":1372067984935,"duration":2,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-optimize","id":1520,"timestamp":1372067984884,"duration":121,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-hash","id":1524,"timestamp":1372067985961,"duration":436,"tags":{},"startTime":1664295112079},{"traceId":"06b5767d478984a7","parentId":1509,"name":"webpack-compilation-seal","id":1518,"timestamp":1372067984633,"duration":2690,"tags":{},"startTime":1664295112078},{"traceId":"06b5767d478984a7","parentId":1481,"name":"webpack-compilation","id":1509,"timestamp":1372067965407,"duration":21930,"tags":{"name":"server"},"startTime":1664295112059},{"traceId":"06b5767d478984a7","parentId":1481,"name":"emit","id":1525,"timestamp":1372067987347,"duration":3822,"tags":{},"startTime":1664295112081},{"traceId":"06b5767d478984a7","parentId":1,"name":"webpack-invalidated-server","id":1481,"timestamp":1372067731336,"duration":260227,"tags":{"trigger":"/Users/josefleventon/Developer/cosmos-app/components/react/views/Connected.tsx"},"startTime":1664295111825}] +[{"traceId":"1979f6cbb13579d5","name":"hot-reloader","id":1,"timestamp":2307953451125,"duration":23,"tags":{"version":"12.2.5"},"startTime":1664295726454},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"start","id":2,"timestamp":2307953451571,"duration":1,"tags":{},"startTime":1664295726455},{"traceId":"1979f6cbb13579d5","parentId":2,"name":"clean","id":3,"timestamp":2307953451595,"duration":7016,"tags":{},"startTime":1664295726455},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"get-page-paths","id":5,"timestamp":2307953459104,"duration":446,"tags":{},"startTime":1664295726462},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":2307953459560,"duration":166,"tags":{},"startTime":1664295726463},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"create-entrypoints","id":7,"timestamp":2307953459736,"duration":1009,"tags":{},"startTime":1664295726463},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":2307953460760,"duration":17086,"tags":{},"startTime":1664295726464},{"traceId":"1979f6cbb13579d5","parentId":2,"name":"get-webpack-config","id":4,"timestamp":2307953459062,"duration":18795,"tags":{},"startTime":1664295726462},{"traceId":"1979f6cbb13579d5","parentId":17,"name":"next-client-pages-loader","id":18,"timestamp":2307953555871,"duration":342,"tags":{"absolutePagePath":"private-next-pages/_app"},"startTime":1664295726559},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js?absolutePagePath=private-next-pages%2F_app&page=%2F_app!","id":17,"timestamp":2307953553822,"duration":8537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295726557},{"traceId":"1979f6cbb13579d5","parentId":19,"name":"next-client-pages-loader","id":20,"timestamp":2307953562561,"duration":109,"tags":{"absolutePagePath":"private-next-pages/_error"},"startTime":1664295726566},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js?absolutePagePath=private-next-pages%2F_error&page=%2F_error!","id":19,"timestamp":2307953562508,"duration":1425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295726566},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"read-resource","id":22,"timestamp":2307953568886,"duration":3486,"tags":{},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":21,"timestamp":2307953568269,"duration":8274,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":28,"name":"next-swc-transform","id":29,"timestamp":2307953571045,"duration":7118,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"next-swc-loader","id":28,"timestamp":2307953570980,"duration":7188,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":24,"timestamp":2307953570341,"duration":16946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/amp-dev.js"},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":26,"name":"next-swc-transform","id":27,"timestamp":2307953570953,"duration":16538,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"next-swc-loader","id":26,"timestamp":2307953570587,"duration":16909,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":23,"timestamp":2307953568921,"duration":24231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/next-dev.js"},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":30,"name":"next-swc-transform","id":31,"timestamp":2307953571068,"duration":22134,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"next-swc-loader","id":30,"timestamp":2307953571047,"duration":22157,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":25,"timestamp":2307953570528,"duration":28117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":37,"name":"next-swc-transform","id":38,"timestamp":2307953609048,"duration":1399,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":32,"name":"next-swc-loader","id":37,"timestamp":2307953609006,"duration":1447,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":32,"timestamp":2307953608313,"duration":5949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/with-router.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":41,"name":"next-swc-transform","id":42,"timestamp":2307953609157,"duration":5875,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"next-swc-loader","id":41,"timestamp":2307953609140,"duration":5896,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":34,"timestamp":2307953608543,"duration":8949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/webpack-hot-middleware-client.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":39,"name":"next-swc-transform","id":40,"timestamp":2307953609139,"duration":8626,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":33,"name":"next-swc-loader","id":39,"timestamp":2307953609114,"duration":8654,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":33,"timestamp":2307953608480,"duration":11335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/on-demand-entries-client.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":43,"name":"next-swc-transform","id":44,"timestamp":2307953609174,"duration":10684,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":35,"name":"next-swc-loader","id":43,"timestamp":2307953609158,"duration":10701,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":35,"timestamp":2307953608795,"duration":15720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/dev-build-watcher.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":45,"name":"next-swc-transform","id":46,"timestamp":2307953609190,"duration":15375,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":36,"name":"next-swc-loader","id":45,"timestamp":2307953609175,"duration":15393,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":36,"timestamp":2307953608933,"duration":16742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/fouc.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":55,"name":"next-swc-transform","id":56,"timestamp":2307953614837,"duration":12131,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":52,"name":"next-swc-loader","id":55,"timestamp":2307953614689,"duration":12284,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":52,"timestamp":2307953614423,"duration":15187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/websocket.js"},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":50,"name":"next-swc-transform","id":51,"timestamp":2307953610324,"duration":19516,"tags":{},"startTime":1664295726614},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"next-swc-loader","id":50,"timestamp":2307953610288,"duration":19556,"tags":{},"startTime":1664295726614},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":49,"timestamp":2307953610128,"duration":32474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/index.js"},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":53,"name":"read-resource","id":54,"timestamp":2307953614635,"duration":35110,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":53,"timestamp":2307953614607,"duration":35744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/is-error.js"},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":47,"name":"read-resource","id":48,"timestamp":2307953610046,"duration":40391,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"build-module-js","id":47,"timestamp":2307953610004,"duration":41758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js"},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":60,"name":"next-swc-transform","id":61,"timestamp":2307953649452,"duration":3464,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":57,"name":"next-swc-loader","id":60,"timestamp":2307953649387,"duration":3532,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":57,"timestamp":2307953648945,"duration":4774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router-context.js"},"startTime":1664295726652},{"traceId":"1979f6cbb13579d5","parentId":64,"name":"next-swc-transform","id":65,"timestamp":2307953649499,"duration":4246,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":59,"name":"next-swc-loader","id":64,"timestamp":2307953649480,"duration":4267,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":59,"timestamp":2307953649182,"duration":5747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/querystring.js"},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":67,"name":"next-swc-transform","id":68,"timestamp":2307953652454,"duration":4222,"tags":{},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"next-swc-loader","id":67,"timestamp":2307953652417,"duration":4262,"tags":{},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":17,"name":"build-module-tsx","id":66,"timestamp":2307953652310,"duration":6924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":62,"name":"next-swc-transform","id":63,"timestamp":2307953649478,"duration":16254,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"next-swc-loader","id":62,"timestamp":2307953649455,"duration":16286,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":58,"timestamp":2307953649032,"duration":39329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/router.js"},"startTime":1664295726652},{"traceId":"1979f6cbb13579d5","parentId":70,"name":"next-swc-transform","id":71,"timestamp":2307953662079,"duration":31143,"tags":{},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"next-swc-loader","id":70,"timestamp":2307953662040,"duration":31186,"tags":{},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"build-module-js","id":69,"timestamp":2307953661789,"duration":34067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/hot-dev-client.js"},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":89,"name":"next-swc-transform","id":90,"timestamp":2307953663521,"duration":32378,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":74,"name":"next-swc-loader","id":89,"timestamp":2307953663511,"duration":32390,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":74,"timestamp":2307953663213,"duration":33563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/performance-relayer.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":85,"name":"next-swc-transform","id":86,"timestamp":2307953663495,"duration":33435,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":72,"name":"next-swc-loader","id":85,"timestamp":2307953663469,"duration":33463,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":72,"timestamp":2307953663130,"duration":35211,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/head-manager.js"},"startTime":1664295726666},{"traceId":"1979f6cbb13579d5","parentId":87,"name":"next-swc-transform","id":88,"timestamp":2307953663510,"duration":34879,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":73,"name":"next-swc-loader","id":87,"timestamp":2307953663497,"duration":34894,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":73,"timestamp":2307953663181,"duration":36982,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/page-loader.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":91,"name":"next-swc-transform","id":92,"timestamp":2307953663529,"duration":36687,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":75,"name":"next-swc-loader","id":91,"timestamp":2307953663522,"duration":36696,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":75,"timestamp":2307953663239,"duration":37934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/route-announcer.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":93,"name":"next-swc-transform","id":94,"timestamp":2307953663537,"duration":37665,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":76,"name":"next-swc-loader","id":93,"timestamp":2307953663530,"duration":37673,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":76,"timestamp":2307953663274,"duration":38609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/remove-base-path.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":101,"name":"next-swc-transform","id":102,"timestamp":2307953663688,"duration":38215,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":80,"name":"next-swc-loader","id":101,"timestamp":2307953663677,"duration":38227,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":80,"timestamp":2307953663367,"duration":38983,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/head-manager-context.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":95,"name":"next-swc-transform","id":96,"timestamp":2307953663544,"duration":38826,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":77,"name":"next-swc-loader","id":95,"timestamp":2307953663537,"duration":38834,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":77,"timestamp":2307953663299,"duration":40297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/has-base-path.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":99,"name":"next-swc-transform","id":100,"timestamp":2307953663675,"duration":39947,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":79,"name":"next-swc-loader","id":99,"timestamp":2307953663552,"duration":40073,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":79,"timestamp":2307953663347,"duration":40985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/mitt.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":103,"name":"next-swc-transform","id":104,"timestamp":2307953663695,"duration":40662,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":81,"name":"next-swc-loader","id":103,"timestamp":2307953663689,"duration":40670,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":81,"timestamp":2307953663387,"duration":42552,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/runtime-config.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":107,"name":"next-swc-transform","id":108,"timestamp":2307953663710,"duration":42262,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":83,"name":"next-swc-loader","id":107,"timestamp":2307953663704,"duration":42270,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":83,"timestamp":2307953663427,"duration":43110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/image-config-context.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":109,"name":"next-swc-transform","id":110,"timestamp":2307953663717,"duration":43409,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":84,"name":"next-swc-loader","id":109,"timestamp":2307953663711,"duration":43418,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":84,"timestamp":2307953663446,"duration":44187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":97,"name":"next-swc-transform","id":98,"timestamp":2307953663551,"duration":44131,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"next-swc-loader","id":97,"timestamp":2307953663545,"duration":44139,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":78,"timestamp":2307953663322,"duration":46507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/script.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":105,"name":"next-swc-transform","id":106,"timestamp":2307953663703,"duration":46166,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":82,"name":"next-swc-loader","id":105,"timestamp":2307953663697,"duration":46176,"tags":{},"startTime":1664295726667}] +[{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":82,"timestamp":2307953663407,"duration":50413,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/utils.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module","id":118,"timestamp":2307953727866,"duration":307,"tags":{"name":"undefined"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":131,"name":"next-swc-transform","id":132,"timestamp":2307953728551,"duration":1878,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":115,"name":"next-swc-loader","id":131,"timestamp":2307953728541,"duration":1894,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":53,"name":"build-module-js","id":115,"timestamp":2307953727799,"duration":3475,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/is-plain-object.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":133,"name":"next-swc-transform","id":134,"timestamp":2307953728600,"duration":2704,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":121,"name":"next-swc-loader","id":133,"timestamp":2307953728553,"duration":2753,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":121,"timestamp":2307953728213,"duration":3994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/normalize-trailing-slash.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":129,"name":"next-swc-transform","id":130,"timestamp":2307953728540,"duration":5596,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":114,"name":"next-swc-loader","id":129,"timestamp":2307953728530,"duration":5612,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":114,"timestamp":2307953727679,"duration":7782,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_app.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":127,"name":"next-swc-transform","id":128,"timestamp":2307953728528,"duration":6976,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":113,"name":"next-swc-loader","id":127,"timestamp":2307953728506,"duration":7001,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":113,"timestamp":2307953727623,"duration":8893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_error.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":137,"name":"next-swc-transform","id":138,"timestamp":2307953728618,"duration":7922,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":123,"name":"next-swc-loader","id":137,"timestamp":2307953728612,"duration":7931,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":123,"timestamp":2307953728335,"duration":9646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/detect-domain-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":141,"name":"next-swc-transform","id":142,"timestamp":2307953728635,"duration":9366,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":125,"name":"next-swc-loader","id":141,"timestamp":2307953728629,"duration":9374,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":125,"timestamp":2307953728393,"duration":10141,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/remove-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":143,"name":"next-swc-transform","id":144,"timestamp":2307953728645,"duration":14541,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":126,"name":"next-swc-loader","id":143,"timestamp":2307953728636,"duration":14554,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":126,"timestamp":2307953728415,"duration":15663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/add-base-path.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":139,"name":"next-swc-transform","id":140,"timestamp":2307953728628,"duration":15473,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":124,"name":"next-swc-loader","id":139,"timestamp":2307953728619,"duration":15484,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":124,"timestamp":2307953728360,"duration":16388,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/add-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":135,"name":"next-swc-transform","id":136,"timestamp":2307953728610,"duration":16202,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":122,"name":"next-swc-loader","id":135,"timestamp":2307953728602,"duration":16211,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":122,"timestamp":2307953728305,"duration":18166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/route-loader.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":151,"name":"next-swc-transform","id":152,"timestamp":2307953733784,"duration":14482,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":145,"name":"next-swc-loader","id":151,"timestamp":2307953733766,"duration":14502,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":145,"timestamp":2307953733449,"duration":15326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":153,"name":"next-swc-transform","id":154,"timestamp":2307953733793,"duration":15002,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":146,"name":"next-swc-loader","id":153,"timestamp":2307953733785,"duration":15011,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":146,"timestamp":2307953733506,"duration":15754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":155,"name":"next-swc-transform","id":156,"timestamp":2307953733801,"duration":15481,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":147,"name":"next-swc-loader","id":155,"timestamp":2307953733794,"duration":15489,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":147,"timestamp":2307953733537,"duration":16555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/route-matcher.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":161,"name":"next-swc-transform","id":162,"timestamp":2307953733822,"duration":16285,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":150,"name":"next-swc-loader","id":161,"timestamp":2307953733816,"duration":16293,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":150,"timestamp":2307953733700,"duration":17047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/parse-path.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":159,"name":"next-swc-transform","id":160,"timestamp":2307953733815,"duration":16955,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":149,"name":"next-swc-loader","id":159,"timestamp":2307953733809,"duration":16962,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":149,"timestamp":2307953733677,"duration":18059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/format-url.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":157,"name":"next-swc-transform","id":158,"timestamp":2307953733808,"duration":17962,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":148,"name":"next-swc-loader","id":157,"timestamp":2307953733801,"duration":17970,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":148,"timestamp":2307953733645,"duration":19784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/route-regex.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":111,"name":"read-resource","id":112,"timestamp":2307953727614,"duration":28246,"tags":{},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":111,"timestamp":2307953727574,"duration":29706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/polyfill-module.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":119,"name":"read-resource","id":120,"timestamp":2307953728204,"duration":29088,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"build-module-js","id":119,"timestamp":2307953728188,"duration":29365,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-refresh/runtime.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":116,"name":"read-resource","id":117,"timestamp":2307953727843,"duration":29719,"tags":{},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"build-module-js","id":116,"timestamp":2307953727830,"duration":32146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/regenerator-runtime/runtime.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":182,"name":"next-swc-transform","id":183,"timestamp":2307953765245,"duration":2313,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":168,"name":"next-swc-loader","id":182,"timestamp":2307953765238,"duration":2328,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":73,"name":"build-module-js","id":168,"timestamp":2307953764787,"duration":3421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":178,"name":"next-swc-transform","id":179,"timestamp":2307953765229,"duration":3001,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"next-swc-loader","id":178,"timestamp":2307953765221,"duration":3011,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":164,"timestamp":2307953764702,"duration":4596,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":180,"name":"next-swc-transform","id":181,"timestamp":2307953765237,"duration":4079,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":165,"name":"next-swc-loader","id":180,"timestamp":2307953765230,"duration":4087,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":165,"timestamp":2307953764734,"duration":5386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/compare-states.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"next-style-loader","id":221,"timestamp":2307953771875,"duration":196,"tags":{},"startTime":1664295726775},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-css","id":220,"timestamp":2307953770576,"duration":2569,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":176,"name":"next-swc-transform","id":177,"timestamp":2307953765219,"duration":8239,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":163,"name":"next-swc-loader","id":176,"timestamp":2307953765198,"duration":8262,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":163,"timestamp":2307953764636,"duration":9630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":188,"name":"next-swc-transform","id":189,"timestamp":2307953765266,"duration":9016,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"next-swc-loader","id":188,"timestamp":2307953765260,"duration":9023,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":171,"timestamp":2307953764851,"duration":9865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":186,"name":"next-swc-transform","id":187,"timestamp":2307953765259,"duration":9474,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":170,"name":"next-swc-loader","id":186,"timestamp":2307953765253,"duration":9481,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":77,"name":"build-module-js","id":170,"timestamp":2307953764831,"duration":10519,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":192,"name":"next-swc-transform","id":193,"timestamp":2307953765280,"duration":10086,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":173,"name":"next-swc-loader","id":192,"timestamp":2307953765274,"duration":10093,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":83,"name":"build-module-js","id":173,"timestamp":2307953764893,"duration":12237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/image-config.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":190,"name":"next-swc-transform","id":191,"timestamp":2307953765273,"duration":11875,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":172,"name":"next-swc-loader","id":190,"timestamp":2307953765267,"duration":11883,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":172,"timestamp":2307953764873,"duration":12734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":194,"name":"next-swc-transform","id":195,"timestamp":2307953765287,"duration":12809,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":174,"name":"next-swc-loader","id":194,"timestamp":2307953765281,"duration":12817,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":174,"timestamp":2307953764912,"duration":14594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/portal/index.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":196,"name":"next-swc-transform","id":197,"timestamp":2307953765294,"duration":14236,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":175,"name":"next-swc-loader","id":196,"timestamp":2307953765288,"duration":14243,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"build-module-js","id":175,"timestamp":2307953764932,"duration":15232,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/request-idle-callback.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":184,"name":"next-swc-transform","id":185,"timestamp":2307953765252,"duration":14949,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":169,"name":"next-swc-loader","id":184,"timestamp":2307953765246,"duration":14956,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"build-module-js","id":169,"timestamp":2307953764810,"duration":18978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/format-webpack-messages.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":166,"name":"read-resource","id":167,"timestamp":2307953764774,"duration":24876,"tags":{},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":33,"name":"build-module-js","id":166,"timestamp":2307953764762,"duration":25068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/router.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":200,"name":"read-resource","id":201,"timestamp":2307953770375,"duration":23649,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":200,"timestamp":2307953770362,"duration":23887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_default.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"read-resource","id":199,"timestamp":2307953770348,"duration":23916,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":198,"timestamp":2307953770322,"duration":24176,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_to_consumable_array.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":202,"name":"read-resource","id":203,"timestamp":2307953770402,"duration":24110,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":202,"timestamp":2307953770386,"duration":24441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_construct.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":204,"name":"read-resource","id":205,"timestamp":2307953770435,"duration":24401,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"build-module-js","id":204,"timestamp":2307953770417,"duration":24638,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_async_to_generator.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"read-resource","id":207,"timestamp":2307953770457,"duration":24608,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"build-module-js","id":206,"timestamp":2307953770443,"duration":24806,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_sliced_to_array.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":208,"name":"read-resource","id":209,"timestamp":2307953770479,"duration":24780,"tags":{},"startTime":1664295726774}] +[{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":208,"timestamp":2307953770465,"duration":25069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_class_call_check.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":210,"name":"read-resource","id":211,"timestamp":2307953770502,"duration":25040,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":210,"timestamp":2307953770486,"duration":25218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_create_class.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":212,"name":"read-resource","id":213,"timestamp":2307953770521,"duration":25193,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":212,"timestamp":2307953770510,"duration":25373,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_inherits.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":214,"name":"read-resource","id":215,"timestamp":2307953770538,"duration":25354,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":214,"timestamp":2307953770527,"duration":26199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_wildcard.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"read-resource","id":217,"timestamp":2307953770554,"duration":26182,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":216,"timestamp":2307953770543,"duration":26486,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_create_super.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":218,"name":"read-resource","id":219,"timestamp":2307953770570,"duration":26472,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":218,"timestamp":2307953770560,"duration":26797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_extends.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":228,"name":"next-swc-transform","id":229,"timestamp":2307953788898,"duration":8782,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"next-swc-loader","id":228,"timestamp":2307953788874,"duration":8809,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":113,"name":"build-module-js","id":226,"timestamp":2307953788748,"duration":10551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/head.js"},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":230,"name":"next-swc-transform","id":231,"timestamp":2307953788910,"duration":10412,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":227,"name":"next-swc-loader","id":230,"timestamp":2307953788900,"duration":10423,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":126,"name":"build-module-js","id":227,"timestamp":2307953788814,"duration":14193,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":12,"timestamp":2307953514779,"duration":288457,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":237,"name":"next-swc-transform","id":238,"timestamp":2307953793092,"duration":13455,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":236,"name":"next-swc-loader","id":237,"timestamp":2307953793071,"duration":13481,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":122,"name":"build-module-js","id":236,"timestamp":2307953792948,"duration":14283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/trusted-types.js"},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":224,"name":"read-resource","id":225,"timestamp":2307953785355,"duration":21913,"tags":{},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":72,"name":"build-module-js","id":224,"timestamp":2307953785338,"duration":22085,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_instanceof.js"},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":222,"name":"read-resource","id":223,"timestamp":2307953785241,"duration":22480,"tags":{},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-mjs","id":222,"timestamp":2307953785178,"duration":23470,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_object_spread.mjs"},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":244,"name":"next-swc-transform","id":245,"timestamp":2307953804405,"duration":4453,"tags":{},"startTime":1664295726808},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"next-swc-loader","id":244,"timestamp":2307953804372,"duration":4488,"tags":{},"startTime":1664295726808},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-tsx","id":243,"timestamp":2307953804065,"duration":5826,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/index.tsx"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":255,"name":"next-swc-transform","id":256,"timestamp":2307953811048,"duration":2005,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":248,"name":"next-swc-loader","id":255,"timestamp":2307953811024,"duration":2034,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":148,"name":"build-module-js","id":248,"timestamp":2307953810727,"duration":2930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/escape-regexp.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":257,"name":"next-swc-transform","id":258,"timestamp":2307953811058,"duration":2621,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":253,"name":"next-swc-loader","id":257,"timestamp":2307953811049,"duration":2632,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"build-module-js","id":253,"timestamp":2307953810819,"duration":3318,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":259,"name":"next-swc-transform","id":260,"timestamp":2307953811066,"duration":3236,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":254,"name":"next-swc-loader","id":259,"timestamp":2307953811059,"duration":3246,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"build-module-js","id":254,"timestamp":2307953810846,"duration":3905,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-locale.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":234,"name":"read-resource","id":235,"timestamp":2307953792936,"duration":22586,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":234,"timestamp":2307953792899,"duration":22869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/client.js"},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":268,"name":"next-swc-transform","id":269,"timestamp":2307953812802,"duration":3042,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"next-swc-loader","id":268,"timestamp":2307953812779,"duration":3066,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-ts","id":261,"timestamp":2307953812539,"duration":3704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/index.ts"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":270,"name":"next-swc-transform","id":271,"timestamp":2307953812815,"duration":3443,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":264,"name":"next-swc-loader","id":270,"timestamp":2307953812804,"duration":3456,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"build-module-js","id":264,"timestamp":2307953812640,"duration":3993,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":272,"name":"next-swc-transform","id":273,"timestamp":2307953812823,"duration":3825,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":267,"name":"next-swc-loader","id":272,"timestamp":2307953812816,"duration":3833,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":163,"name":"build-module-js","id":267,"timestamp":2307953812692,"duration":4465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":241,"name":"read-resource","id":242,"timestamp":2307953804056,"duration":13207,"tags":{},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":82,"name":"build-module-js","id":241,"timestamp":2307953804040,"duration":13608,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_wrap_native_super.js"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":239,"name":"read-resource","id":240,"timestamp":2307953804015,"duration":13643,"tags":{},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"build-module-js","id":239,"timestamp":2307953803954,"duration":13967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_object_without_properties_loose.js"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"read-resource","id":233,"timestamp":2307953792790,"duration":25141,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":246,"name":"read-resource","id":247,"timestamp":2307953810704,"duration":22478,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":119,"name":"build-module-js","id":246,"timestamp":2307953810658,"duration":25775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":249,"name":"read-resource","id":250,"timestamp":2307953810789,"duration":25672,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":249,"timestamp":2307953810775,"duration":83784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":251,"name":"read-resource","id":252,"timestamp":2307953810811,"duration":83786,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":251,"timestamp":2307953810799,"duration":84024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/jsx-dev-runtime.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":11,"timestamp":2307953514468,"duration":380551,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":296,"name":"postcss-process","id":308,"timestamp":2307954118467,"duration":273451,"tags":{},"startTime":1664295727122},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"postcss-loader","id":296,"timestamp":2307953818087,"duration":575144,"tags":{},"startTime":1664295726821},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"css-loader","id":309,"timestamp":2307954393393,"duration":30820,"tags":{"astUsed":"true"},"startTime":1664295727397},{"traceId":"1979f6cbb13579d5","parentId":262,"name":"read-resource","id":263,"timestamp":2307953812629,"duration":613027,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":262,"timestamp":2307953812612,"duration":613252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/index.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":265,"name":"read-resource","id":266,"timestamp":2307953812681,"duration":613263,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"build-module-js","id":265,"timestamp":2307953812670,"duration":614731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":306,"name":"next-swc-transform","id":307,"timestamp":2307953895506,"duration":532212,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":301,"name":"next-swc-loader","id":306,"timestamp":2307953895498,"duration":532222,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":301,"timestamp":2307953895363,"duration":532827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/amp-mode.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":304,"name":"next-swc-transform","id":305,"timestamp":2307953895498,"duration":532710,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":300,"name":"next-swc-loader","id":304,"timestamp":2307953895488,"duration":532720,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":300,"timestamp":2307953895335,"duration":533264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/amp-context.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":302,"name":"next-swc-transform","id":303,"timestamp":2307953895486,"duration":534411,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":299,"name":"next-swc-loader","id":302,"timestamp":2307953895459,"duration":534441,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":299,"timestamp":2307953895272,"duration":535207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/side-effect.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":274,"name":"read-resource","id":275,"timestamp":2307953815139,"duration":615475,"tags":{},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":274,"timestamp":2307953815113,"duration":615787,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-is/index.js"},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":278,"name":"read-resource","id":279,"timestamp":2307953815182,"duration":615733,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":278,"timestamp":2307953815172,"duration":615941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_iterable_to_array.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":276,"name":"read-resource","id":277,"timestamp":2307953815163,"duration":615960,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":276,"timestamp":2307953815150,"duration":616251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_without_holes.js"},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":280,"name":"read-resource","id":281,"timestamp":2307953815204,"duration":616206,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":280,"timestamp":2307953815195,"duration":616333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_non_iterable_spread.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":284,"name":"read-resource","id":285,"timestamp":2307953815241,"duration":616294,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":202,"name":"build-module-js","id":284,"timestamp":2307953815232,"duration":616440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_set_prototype_of.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":286,"name":"read-resource","id":287,"timestamp":2307953815258,"duration":616424,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"build-module-js","id":286,"timestamp":2307953815249,"duration":616532,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_with_holes.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":290,"name":"read-resource","id":291,"timestamp":2307953815300,"duration":616487,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":290,"timestamp":2307953815286,"duration":616648,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_is_native_reflect_construct.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":288,"name":"read-resource","id":289,"timestamp":2307953815279,"duration":616663,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"build-module-js","id":288,"timestamp":2307953815269,"duration":616757,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_non_iterable_rest.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":282,"name":"read-resource","id":283,"timestamp":2307953815221,"duration":616813,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":282,"timestamp":2307953815212,"duration":617071,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_unsupported_iterable_to_array.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":292,"name":"read-resource","id":293,"timestamp":2307953815316,"duration":616975,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":292,"timestamp":2307953815307,"duration":617105,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_get_prototype_of.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"read-resource","id":295,"timestamp":2307953815336,"duration":618285,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":294,"timestamp":2307953815327,"duration":618501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_possible_constructor_return.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":297,"name":"read-resource","id":298,"timestamp":2307953895253,"duration":540570,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":222,"name":"build-module-mjs","id":297,"timestamp":2307953895205,"duration":540809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_define_property.mjs"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":310,"name":"read-resource","id":311,"timestamp":2307954433331,"duration":6866,"tags":{},"startTime":1664295727437}] +[{"traceId":"1979f6cbb13579d5","parentId":241,"name":"build-module-js","id":310,"timestamp":2307954433270,"duration":7476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_is_native_function.js"},"startTime":1664295727437},{"traceId":"1979f6cbb13579d5","parentId":315,"name":"next-swc-transform","id":316,"timestamp":2307954438123,"duration":2775,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":312,"name":"next-swc-loader","id":315,"timestamp":2307954438082,"duration":2818,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":312,"timestamp":2307954437852,"duration":3809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/types.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":317,"name":"next-swc-transform","id":318,"timestamp":2307954438134,"duration":3564,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":313,"name":"next-swc-loader","id":317,"timestamp":2307954438125,"duration":3574,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":313,"timestamp":2307954437956,"duration":5514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/features.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":319,"name":"next-swc-transform","id":320,"timestamp":2307954438142,"duration":6613,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"next-swc-loader","id":319,"timestamp":2307954438135,"duration":6623,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":314,"timestamp":2307954437988,"duration":8536,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":333,"name":"next-swc-transform","id":334,"timestamp":2307954439006,"duration":7547,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":324,"name":"next-swc-loader","id":333,"timestamp":2307954438990,"duration":7564,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"build-module-js","id":324,"timestamp":2307954438879,"duration":8058,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/index.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":331,"name":"next-swc-transform","id":332,"timestamp":2307954438989,"duration":7966,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":321,"name":"next-swc-loader","id":331,"timestamp":2307954438974,"duration":7982,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"build-module-js","id":321,"timestamp":2307954438815,"duration":8645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/strip-ansi/index.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":345,"name":"next-swc-transform","id":346,"timestamp":2307954444064,"duration":3856,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":340,"name":"next-swc-loader","id":345,"timestamp":2307954444056,"duration":3866,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"build-module-ts","id":340,"timestamp":2307954443938,"duration":4366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"build-module-css","id":232,"timestamp":2307953790137,"duration":660535,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295726793},{"traceId":"1979f6cbb13579d5","parentId":343,"name":"next-swc-transform","id":344,"timestamp":2307954444054,"duration":6641,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":339,"name":"next-swc-loader","id":343,"timestamp":2307954444037,"duration":6659,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"build-module-ts","id":339,"timestamp":2307954443888,"duration":7252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/theme.ts"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":327,"name":"read-resource","id":328,"timestamp":2307954438935,"duration":12718,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":262,"name":"build-module-js","id":327,"timestamp":2307954438924,"duration":26114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/cjs/react.development.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":322,"name":"read-resource","id":323,"timestamp":2307954438869,"duration":26197,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":74,"name":"build-module-js","id":322,"timestamp":2307954438854,"duration":27892,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/web-vitals/web-vitals.umd.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":325,"name":"read-resource","id":326,"timestamp":2307954438917,"duration":27842,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":251,"name":"build-module-js","id":325,"timestamp":2307954438906,"duration":32804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/cjs/react-jsx-dev-runtime.development.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":329,"name":"read-resource","id":330,"timestamp":2307954438951,"duration":32802,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":276,"name":"build-module-js","id":329,"timestamp":2307954438940,"duration":33055,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_like_to_array.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":335,"name":"read-resource","id":336,"timestamp":2307954440810,"duration":32517,"tags":{},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"build-module-js","id":335,"timestamp":2307954440788,"duration":32714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_assert_this_initialized.js"},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":337,"name":"read-resource","id":338,"timestamp":2307954440836,"duration":32673,"tags":{},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"build-module-js","id":337,"timestamp":2307954440820,"duration":32838,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_type_of.js"},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":341,"name":"read-resource","id":342,"timestamp":2307954443977,"duration":30194,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":274,"name":"build-module-js","id":341,"timestamp":2307954443964,"duration":31479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"read-resource","id":348,"timestamp":2307954474110,"duration":3724,"tags":{},"startTime":1664295727477},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":347,"timestamp":2307954474070,"duration":4051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/index.js"},"startTime":1664295727477},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"read-resource","id":351,"timestamp":2307954476425,"duration":2332,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":350,"timestamp":2307954476409,"duration":2634,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/index.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"read-resource","id":353,"timestamp":2307954476452,"duration":2612,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":352,"timestamp":2307954476438,"duration":2808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/index.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":359,"name":"next-swc-transform","id":360,"timestamp":2307954477787,"duration":1478,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"next-swc-loader","id":359,"timestamp":2307954477711,"duration":1555,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-ts","id":358,"timestamp":2307954477544,"duration":2120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":366,"name":"next-swc-transform","id":367,"timestamp":2307954478505,"duration":2049,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":361,"name":"next-swc-loader","id":366,"timestamp":2307954478491,"duration":2065,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-ts","id":361,"timestamp":2307954478351,"duration":3285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/chain-infos.ts"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":354,"name":"next-swc-transform","id":355,"timestamp":2307954476488,"duration":5191,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":349,"name":"next-swc-loader","id":354,"timestamp":2307954476459,"duration":5221,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":324,"name":"build-module-js","id":349,"timestamp":2307954476345,"duration":6739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":15,"timestamp":2307953514826,"duration":970211,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":356,"name":"read-resource","id":357,"timestamp":2307954477532,"duration":7687,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"build-module-js","id":356,"timestamp":2307954477506,"duration":8195,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js"},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"read-resource","id":365,"timestamp":2307954478432,"duration":8065,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":364,"timestamp":2307954478421,"duration":10502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/dist/index.esm.js"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":362,"name":"read-resource","id":363,"timestamp":2307954478410,"duration":10529,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":174,"name":"build-module-js","id":362,"timestamp":2307954478397,"duration":10820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/index.js"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":368,"name":"read-resource","id":369,"timestamp":2307954486071,"duration":8502,"tags":{},"startTime":1664295727489},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-mjs","id":368,"timestamp":2307954486040,"duration":9023,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_async_to_generator.mjs"},"startTime":1664295727489},{"traceId":"1979f6cbb13579d5","parentId":395,"name":"next-swc-transform","id":396,"timestamp":2307954497002,"duration":1094,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":386,"name":"next-swc-loader","id":395,"timestamp":2307954496995,"duration":1109,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":386,"timestamp":2307954496828,"duration":2541,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":391,"name":"next-swc-transform","id":392,"timestamp":2307954496985,"duration":3362,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":384,"name":"next-swc-loader","id":391,"timestamp":2307954496963,"duration":3386,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":384,"timestamp":2307954496740,"duration":8821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":401,"name":"next-swc-transform","id":402,"timestamp":2307954497021,"duration":8593,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":389,"name":"next-swc-loader","id":401,"timestamp":2307954497016,"duration":8600,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":389,"timestamp":2307954496899,"duration":9498,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":399,"name":"next-swc-transform","id":400,"timestamp":2307954497015,"duration":9417,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":388,"name":"next-swc-loader","id":399,"timestamp":2307954497009,"duration":9424,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":388,"timestamp":2307954496878,"duration":11167,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":374,"name":"read-resource","id":375,"timestamp":2307954493142,"duration":15130,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":374,"timestamp":2307954493130,"duration":28876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/ibc.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":370,"name":"read-resource","id":371,"timestamp":2307954493091,"duration":28978,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":370,"timestamp":2307954493047,"duration":40106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/assets.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":372,"name":"read-resource","id":373,"timestamp":2307954493123,"duration":40060,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":372,"timestamp":2307954493109,"duration":49490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/chains.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":376,"name":"read-resource","id":377,"timestamp":2307954494005,"duration":49380,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":376,"timestamp":2307954493987,"duration":49875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/hooks.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":378,"name":"read-resource","id":379,"timestamp":2307954494024,"duration":49847,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":378,"timestamp":2307954494013,"duration":50403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/provider.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"read-resource","id":381,"timestamp":2307954494041,"duration":50385,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"build-module-js","id":380,"timestamp":2307954494030,"duration":50556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/wallet.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":382,"name":"read-resource","id":383,"timestamp":2307954494061,"duration":50533,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"build-module-js","id":382,"timestamp":2307954494048,"duration":50875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/utils.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":397,"name":"next-swc-transform","id":398,"timestamp":2307954497008,"duration":47952,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":387,"name":"next-swc-loader","id":397,"timestamp":2307954497002,"duration":47960,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":387,"timestamp":2307954496852,"duration":48656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":393,"name":"next-swc-transform","id":394,"timestamp":2307954496995,"duration":48574,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":385,"name":"next-swc-loader","id":393,"timestamp":2307954496987,"duration":48583,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":385,"timestamp":2307954496800,"duration":52355,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/astronaut.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":403,"name":"next-swc-transform","id":404,"timestamp":2307954497112,"duration":55110,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"next-swc-loader","id":403,"timestamp":2307954497022,"duration":55203,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":390,"timestamp":2307954496920,"duration":57505,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":405,"name":"read-resource","id":406,"timestamp":2307954497811,"duration":64259,"tags":{},"startTime":1664295727501},{"traceId":"1979f6cbb13579d5","parentId":362,"name":"build-module-js","id":405,"timestamp":2307954497794,"duration":163559,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/cjs/react-dom.development.js"},"startTime":1664295727501},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":16,"timestamp":2307953514838,"duration":1158376,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":407,"name":"read-resource","id":408,"timestamp":2307954664973,"duration":8551,"tags":{},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-js","id":407,"timestamp":2307954664937,"duration":19586,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/fi/index.esm.js"},"startTime":1664295727668}] +[{"traceId":"1979f6cbb13579d5","parentId":409,"name":"read-resource","id":410,"timestamp":2307954664997,"duration":20380,"tags":{},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":409,"timestamp":2307954664983,"duration":21244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/index.js"},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":411,"name":"read-resource","id":412,"timestamp":2307954665915,"duration":21756,"tags":{},"startTime":1664295727669},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":411,"timestamp":2307954665869,"duration":22339,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/interopRequireDefault.js"},"startTime":1664295727669},{"traceId":"1979f6cbb13579d5","parentId":413,"name":"read-resource","id":414,"timestamp":2307954668168,"duration":23508,"tags":{},"startTime":1664295727672},{"traceId":"1979f6cbb13579d5","parentId":313,"name":"build-module-js","id":413,"timestamp":2307954668143,"duration":25281,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/icons/dist/index.esm.js"},"startTime":1664295727672},{"traceId":"1979f6cbb13579d5","parentId":415,"name":"read-resource","id":416,"timestamp":2307954686849,"duration":9237,"tags":{},"startTime":1664295727690},{"traceId":"1979f6cbb13579d5","parentId":385,"name":"build-module-mjs","id":415,"timestamp":2307954686806,"duration":9646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_object_spread_props.mjs"},"startTime":1664295727690},{"traceId":"1979f6cbb13579d5","parentId":432,"name":"next-swc-transform","id":433,"timestamp":2307954702596,"duration":1556,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"next-swc-loader","id":432,"timestamp":2307954702571,"duration":1588,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-ts","id":431,"timestamp":2307954702518,"duration":2103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/index.ts"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":417,"name":"read-resource","id":418,"timestamp":2307954696919,"duration":11133,"tags":{},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":384,"name":"build-module-js","id":417,"timestamp":2307954696882,"duration":66507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/io5/index.esm.js"},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":423,"name":"read-resource","id":424,"timestamp":2307954700380,"duration":63597,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":423,"timestamp":2307954700367,"duration":63984,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/utils/modal-head.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":425,"name":"read-resource","id":426,"timestamp":2307954700400,"duration":63961,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":425,"timestamp":2307954700389,"duration":68561,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/utils/modal-content.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"read-resource","id":422,"timestamp":2307954700358,"duration":68609,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":421,"timestamp":2307954700333,"duration":73344,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectModal.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":419,"name":"read-resource","id":420,"timestamp":2307954696944,"duration":80093,"tags":{},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":388,"name":"build-module-js","id":419,"timestamp":2307954696929,"duration":170785,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/fa/index.esm.js"},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":429,"name":"read-resource","id":430,"timestamp":2307954702509,"duration":165603,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":429,"timestamp":2307954702498,"duration":186699,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/gr/index.esm.js"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":434,"name":"read-resource","id":435,"timestamp":2307954706975,"duration":189484,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":434,"timestamp":2307954706943,"duration":191032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/alert/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":440,"name":"read-resource","id":441,"timestamp":2307954707043,"duration":190952,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":440,"timestamp":2307954707031,"duration":191264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":436,"name":"read-resource","id":437,"timestamp":2307954707001,"duration":191303,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":436,"timestamp":2307954706986,"duration":199218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/avatar/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"read-resource","id":439,"timestamp":2307954707022,"duration":199212,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":438,"timestamp":2307954707010,"duration":202526,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":446,"name":"read-resource","id":447,"timestamp":2307954707107,"duration":202442,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":446,"timestamp":2307954707090,"duration":203719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/css-reset/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":448,"name":"read-resource","id":449,"timestamp":2307954707124,"duration":203695,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":448,"timestamp":2307954707114,"duration":209964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/hooks/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":444,"name":"read-resource","id":445,"timestamp":2307954707083,"duration":210029,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":444,"timestamp":2307954707072,"duration":210720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/control-box/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":442,"name":"read-resource","id":443,"timestamp":2307954707064,"duration":210738,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":442,"timestamp":2307954707053,"duration":211546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/breadcrumb/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":452,"name":"read-resource","id":453,"timestamp":2307954707250,"duration":211359,"tags":{},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":452,"timestamp":2307954707239,"duration":212089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/counter/dist/index.esm.js"},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":450,"name":"read-resource","id":451,"timestamp":2307954707230,"duration":212113,"tags":{},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":450,"timestamp":2307954707130,"duration":213207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":427,"name":"read-resource","id":428,"timestamp":2307954702489,"duration":217891,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":427,"timestamp":2307954702466,"duration":332562,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/ri/index.esm.js"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":454,"name":"read-resource","id":455,"timestamp":2307954775101,"duration":267600,"tags":{},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":454,"timestamp":2307954775051,"duration":274956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/image/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":458,"name":"read-resource","id":459,"timestamp":2307954775152,"duration":274875,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":458,"timestamp":2307954775141,"duration":275929,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":456,"name":"read-resource","id":457,"timestamp":2307954775132,"duration":275947,"tags":{},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":456,"timestamp":2307954775118,"duration":277300,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":460,"name":"read-resource","id":461,"timestamp":2307954775170,"duration":277259,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":460,"timestamp":2307954775160,"duration":277878,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/portal/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":462,"name":"read-resource","id":463,"timestamp":2307954775195,"duration":277855,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":462,"timestamp":2307954775185,"duration":278727,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/progress/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":464,"name":"read-resource","id":465,"timestamp":2307954775217,"duration":278708,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":464,"timestamp":2307954775207,"duration":280443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"read-resource","id":469,"timestamp":2307954775256,"duration":280425,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":468,"timestamp":2307954775247,"duration":281739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":466,"name":"read-resource","id":467,"timestamp":2307954775238,"duration":281817,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":466,"timestamp":2307954775228,"duration":282097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/spinner/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":470,"name":"read-resource","id":471,"timestamp":2307954775271,"duration":282063,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":470,"timestamp":2307954775262,"duration":282574,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/table/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":472,"name":"read-resource","id":473,"timestamp":2307954775291,"duration":282554,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":472,"timestamp":2307954775278,"duration":282976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":478,"name":"read-resource","id":479,"timestamp":2307954891885,"duration":171170,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":478,"timestamp":2307954891873,"duration":171801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/textarea/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":476,"name":"read-resource","id":477,"timestamp":2307954891863,"duration":171821,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":476,"timestamp":2307954891848,"duration":172512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tag/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"read-resource","id":475,"timestamp":2307954891834,"duration":172535,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":474,"timestamp":2307954891779,"duration":175372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tabs/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":480,"name":"read-resource","id":481,"timestamp":2307954891903,"duration":175262,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":480,"timestamp":2307954891892,"duration":177584,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/toast/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":488,"name":"read-resource","id":489,"timestamp":2307954891985,"duration":177522,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":488,"timestamp":2307954891976,"duration":179563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"read-resource","id":491,"timestamp":2307954892003,"duration":179551,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":490,"timestamp":2307954891992,"duration":181120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tooltip/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":484,"name":"read-resource","id":485,"timestamp":2307954891946,"duration":181176,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":484,"timestamp":2307954891935,"duration":181343,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"read-resource","id":487,"timestamp":2307954891966,"duration":181320,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":486,"timestamp":2307954891957,"duration":190830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"read-resource","id":493,"timestamp":2307954892020,"duration":190796,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":492,"timestamp":2307954892010,"duration":191807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/index.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"read-resource","id":483,"timestamp":2307954891919,"duration":191940,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":482,"timestamp":2307954891909,"duration":204419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/theme/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":494,"name":"read-resource","id":495,"timestamp":2307955124981,"duration":5147,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":494,"timestamp":2307955124932,"duration":5497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/defineProperty.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"read-resource","id":497,"timestamp":2307955125006,"duration":5433,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":496,"timestamp":2307955124991,"duration":7053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":498,"name":"read-resource","id":499,"timestamp":2307955125027,"duration":7030,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":498,"timestamp":2307955125012,"duration":8277,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/button/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"read-resource","id":505,"timestamp":2307955125077,"duration":8224,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":504,"timestamp":2307955125068,"duration":8998,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"read-resource","id":501,"timestamp":2307955125043,"duration":9032,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":500,"timestamp":2307955125033,"duration":11046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"read-resource","id":507,"timestamp":2307955125092,"duration":11006,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":506,"timestamp":2307955125082,"duration":13894,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/modal/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"read-resource","id":503,"timestamp":2307955125061,"duration":13941,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":502,"timestamp":2307955125051,"duration":21144,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/layout/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"read-resource","id":511,"timestamp":2307955125125,"duration":21183,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":510,"timestamp":2307955125117,"duration":24537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/dist/index.esm.js"},"startTime":1664295728128}] +[{"traceId":"1979f6cbb13579d5","parentId":512,"name":"read-resource","id":513,"timestamp":2307955125141,"duration":24738,"tags":{},"startTime":1664295728129},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":512,"timestamp":2307955125131,"duration":27362,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"read-resource","id":509,"timestamp":2307955125112,"duration":27476,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":508,"timestamp":2307955125102,"duration":30252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/number-input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":546,"name":"next-swc-transform","id":547,"timestamp":2307955129413,"duration":27875,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"next-swc-loader","id":546,"timestamp":2307955129386,"duration":27908,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":532,"timestamp":2307955129152,"duration":28874,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":552,"name":"next-swc-transform","id":553,"timestamp":2307955129437,"duration":28615,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":535,"name":"next-swc-loader","id":552,"timestamp":2307955129431,"duration":28623,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":535,"timestamp":2307955129247,"duration":29299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":550,"name":"next-swc-transform","id":551,"timestamp":2307955129430,"duration":29137,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":534,"name":"next-swc-loader","id":550,"timestamp":2307955129423,"duration":29145,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":534,"timestamp":2307955129226,"duration":29814,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":548,"name":"next-swc-transform","id":549,"timestamp":2307955129422,"duration":29645,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":533,"name":"next-swc-loader","id":548,"timestamp":2307955129414,"duration":29654,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":533,"timestamp":2307955129201,"duration":30518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":556,"name":"next-swc-transform","id":557,"timestamp":2307955129449,"duration":31182,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":537,"name":"next-swc-loader","id":556,"timestamp":2307955129444,"duration":31190,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":537,"timestamp":2307955129287,"duration":31873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":554,"name":"next-swc-transform","id":555,"timestamp":2307955129443,"duration":31738,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":536,"name":"next-swc-loader","id":554,"timestamp":2307955129437,"duration":31746,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":536,"timestamp":2307955129267,"duration":32405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":514,"name":"read-resource","id":515,"timestamp":2307955126305,"duration":37460,"tags":{},"startTime":1664295728130},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":514,"timestamp":2307955126289,"duration":38935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/radio/dist/index.esm.js"},"startTime":1664295728130},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"read-resource","id":517,"timestamp":2307955127529,"duration":37901,"tags":{},"startTime":1664295728131},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":516,"timestamp":2307955127456,"duration":43136,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/dist/index.esm.js"},"startTime":1664295728131},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"read-resource","id":521,"timestamp":2307955129052,"duration":43224,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":520,"timestamp":2307955129039,"duration":44479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":522,"name":"read-resource","id":523,"timestamp":2307955129071,"duration":44457,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":522,"timestamp":2307955129061,"duration":45126,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/select/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":524,"name":"read-resource","id":525,"timestamp":2307955129089,"duration":45107,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":524,"timestamp":2307955129079,"duration":45712,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/stat/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"read-resource","id":529,"timestamp":2307955129127,"duration":45671,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":528,"timestamp":2307955129117,"duration":45881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/provider/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"read-resource","id":527,"timestamp":2307955129110,"duration":45897,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":526,"timestamp":2307955129100,"duration":46349,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"read-resource","id":531,"timestamp":2307955129144,"duration":46312,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":386,"name":"build-module-js","id":530,"timestamp":2307955129135,"duration":46410,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/index.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":538,"name":"read-resource","id":539,"timestamp":2307955129320,"duration":46233,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":538,"timestamp":2307955129311,"duration":46400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/motion-component.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"read-resource","id":519,"timestamp":2307955129029,"duration":46688,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":518,"timestamp":2307955129009,"duration":57087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"read-resource","id":545,"timestamp":2307955129376,"duration":56907,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":423,"name":"build-module-js","id":544,"timestamp":2307955129366,"duration":57119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/index.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"read-resource","id":543,"timestamp":2307955129354,"duration":57140,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":407,"name":"build-module-js","id":542,"timestamp":2307955129345,"duration":57238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/index.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":540,"name":"read-resource","id":541,"timestamp":2307955129338,"duration":57254,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-js","id":540,"timestamp":2307955129328,"duration":72707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bowser/es5.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"read-resource","id":559,"timestamp":2307955278690,"duration":5062,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-js","id":558,"timestamp":2307955278637,"duration":5521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/headlessui.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":562,"name":"read-resource","id":563,"timestamp":2307955278738,"duration":6351,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":425,"name":"build-module-js","id":562,"timestamp":2307955278726,"duration":11839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/go/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"read-resource","id":571,"timestamp":2307955278813,"duration":11786,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"build-module-js","id":570,"timestamp":2307955278803,"duration":11947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/index.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":566,"name":"read-resource","id":567,"timestamp":2307955278780,"duration":11978,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":413,"name":"build-module-js","id":566,"timestamp":2307955278769,"duration":12613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":564,"name":"read-resource","id":565,"timestamp":2307955278758,"duration":12692,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":405,"name":"build-module-js","id":564,"timestamp":2307955278746,"duration":12970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/scheduler/index.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"read-resource","id":569,"timestamp":2307955278797,"duration":12932,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":568,"timestamp":2307955278786,"duration":13919,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react/dist/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"read-resource","id":573,"timestamp":2307955280934,"duration":13518,"tags":{},"startTime":1664295728284},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"build-module-js","id":572,"timestamp":2307955280890,"duration":13695,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/index.js"},"startTime":1664295728284},{"traceId":"1979f6cbb13579d5","parentId":560,"name":"read-resource","id":561,"timestamp":2307955278718,"duration":15896,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":560,"timestamp":2307955278702,"duration":80670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/bs/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":578,"name":"read-resource","id":579,"timestamp":2307955282352,"duration":84722,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":442,"name":"build-module-js","id":578,"timestamp":2307955282341,"duration":85313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":576,"name":"read-resource","id":577,"timestamp":2307955282336,"duration":85333,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":576,"timestamp":2307955282323,"duration":86423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":574,"name":"read-resource","id":575,"timestamp":2307955282316,"duration":86441,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":574,"timestamp":2307955282291,"duration":86691,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":582,"name":"read-resource","id":583,"timestamp":2307955283054,"duration":86361,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":434,"name":"build-module-js","id":582,"timestamp":2307955283043,"duration":86661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":584,"name":"read-resource","id":585,"timestamp":2307955283069,"duration":86649,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":584,"timestamp":2307955283059,"duration":87287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":592,"name":"read-resource","id":593,"timestamp":2307955283130,"duration":87230,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"build-module-js","id":592,"timestamp":2307955283120,"duration":87865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/anatomy/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":580,"name":"read-resource","id":581,"timestamp":2307955283036,"duration":87960,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":580,"timestamp":2307955283020,"duration":88876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":590,"name":"read-resource","id":591,"timestamp":2307955283116,"duration":88889,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"build-module-js","id":590,"timestamp":2307955283106,"duration":90010,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/theme-tools/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":586,"name":"read-resource","id":587,"timestamp":2307955283084,"duration":90043,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":586,"timestamp":2307955283074,"duration":95975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":588,"name":"read-resource","id":589,"timestamp":2307955283099,"duration":95972,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":588,"timestamp":2307955283090,"duration":103006,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/qrcode.react/lib/esm/index.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":596,"name":"read-resource","id":597,"timestamp":2307955399532,"duration":9090,"tags":{},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":596,"timestamp":2307955399518,"duration":9775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-fast-compare/index.js"},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":594,"name":"read-resource","id":595,"timestamp":2307955399505,"duration":9800,"tags":{},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":448,"name":"build-module-js","id":594,"timestamp":2307955399458,"duration":10282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/copy-to-clipboard/index.js"},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":602,"name":"read-resource","id":603,"timestamp":2307955402490,"duration":8602,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":458,"name":"build-module-js","id":602,"timestamp":2307955402470,"duration":9393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/breakpoint-utils/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":600,"name":"read-resource","id":601,"timestamp":2307955402463,"duration":9416,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":600,"timestamp":2307955402446,"duration":9617,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":604,"name":"read-resource","id":605,"timestamp":2307955402507,"duration":9564,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":604,"timestamp":2307955402496,"duration":9736,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":606,"name":"read-resource","id":607,"timestamp":2307955402523,"duration":9719,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":606,"timestamp":2307955402512,"duration":9835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/lazy-utils/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":598,"name":"read-resource","id":599,"timestamp":2307955402436,"duration":9918,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":598,"timestamp":2307955402405,"duration":10061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-update-effect/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":608,"name":"read-resource","id":609,"timestamp":2307955402541,"duration":11113,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":608,"timestamp":2307955402531,"duration":11347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-safe-layout-effect/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":614,"name":"read-resource","id":615,"timestamp":2307955407471,"duration":9825,"tags":{},"startTime":1664295728411}] +[{"traceId":"1979f6cbb13579d5","parentId":480,"name":"build-module-js","id":614,"timestamp":2307955407459,"duration":10474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-timeout/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":610,"name":"read-resource","id":611,"timestamp":2307955407423,"duration":10538,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":450,"name":"build-module-js","id":610,"timestamp":2307955407367,"duration":10865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/shared-utils/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"read-resource","id":617,"timestamp":2307955407492,"duration":10749,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"build-module-js","id":616,"timestamp":2307955407479,"duration":12119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":612,"name":"read-resource","id":613,"timestamp":2307955407450,"duration":12161,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":612,"timestamp":2307955407436,"duration":18263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-children-utils/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":622,"name":"read-resource","id":623,"timestamp":2307955410028,"duration":18709,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"build-module-js","id":622,"timestamp":2307955410018,"duration":19117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-event-listener/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":618,"name":"read-resource","id":619,"timestamp":2307955409987,"duration":19169,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"build-module-js","id":618,"timestamp":2307955409962,"duration":19456,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"read-resource","id":621,"timestamp":2307955410010,"duration":19420,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-mjs","id":620,"timestamp":2307955409998,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/index.mjs"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":624,"name":"read-resource","id":625,"timestamp":2307955410044,"duration":20121,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":498,"name":"build-module-js","id":624,"timestamp":2307955410034,"duration":20375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/spinner/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":626,"name":"read-resource","id":627,"timestamp":2307955410062,"duration":20393,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"build-module-js","id":626,"timestamp":2307955410053,"duration":21273,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"read-resource","id":629,"timestamp":2307955410079,"duration":22401,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":464,"name":"build-module-js","id":628,"timestamp":2307955410069,"duration":22554,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/index.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":630,"name":"read-resource","id":631,"timestamp":2307955412808,"duration":20188,"tags":{},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":630,"timestamp":2307955412762,"duration":20425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/types.js"},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":632,"name":"read-resource","id":633,"timestamp":2307955412840,"duration":20373,"tags":{},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":632,"timestamp":2307955412826,"duration":23003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/wallet-manager.js"},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":634,"name":"read-resource","id":635,"timestamp":2307955416078,"duration":24672,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"build-module-js","id":634,"timestamp":2307955416050,"duration":25271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":640,"name":"read-resource","id":641,"timestamp":2307955416126,"duration":25210,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":640,"timestamp":2307955416116,"duration":25410,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectWalletButton.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":642,"name":"read-resource","id":643,"timestamp":2307955416139,"duration":25394,"tags":{},"startTime":1664295728420},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":642,"timestamp":2307955416130,"duration":25667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectWalletCard.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":638,"name":"read-resource","id":639,"timestamp":2307955416112,"duration":25692,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-mjs","id":638,"timestamp":2307955416101,"duration":26196,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@zag-js/focus-visible/dist/index.mjs"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":636,"name":"read-resource","id":637,"timestamp":2307955416097,"duration":26209,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"build-module-js","id":636,"timestamp":2307955416084,"duration":26436,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/object-utils/dist/index.esm.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"read-resource","id":647,"timestamp":2307955459828,"duration":9255,"tags":{},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":646,"timestamp":2307955459814,"duration":10098,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js"},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":644,"name":"read-resource","id":645,"timestamp":2307955459802,"duration":10135,"tags":{},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":644,"timestamp":2307955459759,"duration":10646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/SimpleCopyAddressButton.js"},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":650,"name":"read-resource","id":651,"timestamp":2307955463016,"duration":8682,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":650,"timestamp":2307955463001,"duration":9382,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/portal/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"read-resource","id":653,"timestamp":2307955463034,"duration":9360,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":652,"timestamp":2307955463023,"duration":9629,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/focus-lock/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":658,"name":"read-resource","id":659,"timestamp":2307955463095,"duration":9566,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":658,"timestamp":2307955463086,"duration":10196,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/default-component.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"read-resource","id":649,"timestamp":2307955462987,"duration":10302,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":648,"timestamp":2307955462856,"duration":13825,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/dist/emotion-react.browser.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":654,"name":"read-resource","id":655,"timestamp":2307955463062,"duration":15558,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":654,"timestamp":2307955463040,"duration":16604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":660,"name":"read-resource","id":661,"timestamp":2307955463112,"duration":16547,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":660,"timestamp":2307955463102,"duration":17848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/css-box-model/dist/css-box-model.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":656,"name":"read-resource","id":657,"timestamp":2307955463079,"duration":17884,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":656,"timestamp":2307955463068,"duration":21146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":664,"name":"read-resource","id":665,"timestamp":2307955463141,"duration":21085,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":664,"timestamp":2307955463132,"duration":28137,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/svg-icons.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":662,"name":"read-resource","id":663,"timestamp":2307955463126,"duration":28174,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":662,"timestamp":2307955463117,"duration":31031,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/lodash.mergewith/index.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"read-resource","id":667,"timestamp":2307955463157,"duration":31010,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":666,"timestamp":2307955463148,"duration":33741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":670,"name":"read-resource","id":671,"timestamp":2307955463187,"duration":33729,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":670,"timestamp":2307955463179,"duration":34093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":672,"name":"read-resource","id":673,"timestamp":2307955463202,"duration":34078,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":672,"timestamp":2307955463194,"duration":34272,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":668,"name":"read-resource","id":669,"timestamp":2307955463173,"duration":34301,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":668,"timestamp":2307955463164,"duration":35157,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":676,"name":"read-resource","id":677,"timestamp":2307955463233,"duration":35098,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":676,"timestamp":2307955463223,"duration":35700,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":674,"name":"read-resource","id":675,"timestamp":2307955463218,"duration":35716,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":674,"timestamp":2307955463209,"duration":37688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"read-resource","id":683,"timestamp":2307955463279,"duration":37639,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":682,"timestamp":2307955463271,"duration":37781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"read-resource","id":681,"timestamp":2307955463265,"duration":37794,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":680,"timestamp":2307955463253,"duration":38107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":684,"name":"read-resource","id":685,"timestamp":2307955463294,"duration":38074,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":684,"timestamp":2307955463286,"duration":38251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconsManifest.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":688,"name":"read-resource","id":689,"timestamp":2307955463326,"duration":38216,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":688,"timestamp":2307955463318,"duration":38335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconContext.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":686,"name":"read-resource","id":687,"timestamp":2307955463313,"duration":38348,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":686,"timestamp":2307955463304,"duration":39095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconBase.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":678,"name":"read-resource","id":679,"timestamp":2307955463246,"duration":39165,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":678,"timestamp":2307955463237,"duration":39397,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"read-resource","id":697,"timestamp":2307955463384,"duration":39257,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":696,"timestamp":2307955463374,"duration":40056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":690,"name":"read-resource","id":691,"timestamp":2307955463340,"duration":40106,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":690,"timestamp":2307955463331,"duration":40624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/aria-hidden/dist/es2015/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":692,"name":"read-resource","id":693,"timestamp":2307955463354,"duration":40613,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":692,"timestamp":2307955463345,"duration":40716,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":700,"name":"read-resource","id":701,"timestamp":2307955463412,"duration":40655,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":700,"timestamp":2307955463403,"duration":40860,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":698,"name":"read-resource","id":699,"timestamp":2307955463398,"duration":40873,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":698,"timestamp":2307955463389,"duration":41568,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":706,"name":"read-resource","id":707,"timestamp":2307955463460,"duration":41520,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":706,"timestamp":2307955463451,"duration":41959,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":708,"name":"read-resource","id":709,"timestamp":2307955463473,"duration":41948,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":708,"timestamp":2307955463465,"duration":43670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"read-resource","id":695,"timestamp":2307955463368,"duration":43779,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":694,"timestamp":2307955463359,"duration":44109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"read-resource","id":705,"timestamp":2307955463443,"duration":44033,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":704,"timestamp":2307955463434,"duration":44811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":702,"name":"read-resource","id":703,"timestamp":2307955463427,"duration":44826,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"build-module-js","id":702,"timestamp":2307955463418,"duration":45231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/counter/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":716,"name":"read-resource","id":717,"timestamp":2307955463531,"duration":45127,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":716,"timestamp":2307955463522,"duration":45301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295728467}] +[{"traceId":"1979f6cbb13579d5","parentId":712,"name":"read-resource","id":713,"timestamp":2307955463502,"duration":45560,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":712,"timestamp":2307955463493,"duration":45835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":714,"name":"read-resource","id":715,"timestamp":2307955463516,"duration":45847,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":714,"timestamp":2307955463507,"duration":46030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":710,"name":"read-resource","id":711,"timestamp":2307955463488,"duration":46055,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":710,"timestamp":2307955463480,"duration":46771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":720,"name":"read-resource","id":721,"timestamp":2307955467840,"duration":47363,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":720,"timestamp":2307955467827,"duration":48141,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/chain-wallet.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"read-resource","id":725,"timestamp":2307955467873,"duration":48136,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":724,"timestamp":2307955467862,"duration":49857,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/dialog/dialog.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":718,"name":"read-resource","id":719,"timestamp":2307955467815,"duration":49916,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":718,"timestamp":2307955467784,"duration":52222,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"read-resource","id":723,"timestamp":2307955467856,"duration":52174,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":722,"timestamp":2307955467847,"duration":56198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/combobox/combobox.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":726,"name":"read-resource","id":727,"timestamp":2307955467888,"duration":56181,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":726,"timestamp":2307955467879,"duration":57266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/disclosure/disclosure.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"read-resource","id":729,"timestamp":2307955467903,"duration":57253,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":728,"timestamp":2307955467894,"duration":57934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"read-resource","id":735,"timestamp":2307955467950,"duration":57886,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":734,"timestamp":2307955467941,"duration":58930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":732,"name":"read-resource","id":733,"timestamp":2307955467935,"duration":58945,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":732,"timestamp":2307955467927,"duration":62585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/listbox/listbox.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":730,"name":"read-resource","id":731,"timestamp":2307955467921,"duration":62620,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":730,"timestamp":2307955467912,"duration":64166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/menu/menu.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":738,"name":"read-resource","id":739,"timestamp":2307955467978,"duration":64112,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":738,"timestamp":2307955467969,"duration":64706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/portal/portal.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":744,"name":"read-resource","id":745,"timestamp":2307955468023,"duration":64664,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":744,"timestamp":2307955468015,"duration":65097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/switch/switch.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":736,"name":"read-resource","id":737,"timestamp":2307955467965,"duration":65155,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":736,"timestamp":2307955467956,"duration":67725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/popover/popover.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":742,"name":"read-resource","id":743,"timestamp":2307955468009,"duration":67682,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":742,"timestamp":2307955467997,"duration":69429,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/transitions/transition.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":740,"name":"read-resource","id":741,"timestamp":2307955467992,"duration":69455,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":740,"timestamp":2307955467983,"duration":73884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/tabs/tabs.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"read-resource","id":749,"timestamp":2307955468054,"duration":74091,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":748,"timestamp":2307955468045,"duration":74564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/main-wallet.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":746,"name":"read-resource","id":747,"timestamp":2307955468040,"duration":76859,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":564,"name":"build-module-js","id":746,"timestamp":2307955468031,"duration":78620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/scheduler/cjs/scheduler.development.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":750,"name":"read-resource","id":751,"timestamp":2307955468067,"duration":78607,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":750,"timestamp":2307955468059,"duration":78738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/types.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":752,"name":"read-resource","id":753,"timestamp":2307955468617,"duration":82116,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"build-module-js","id":752,"timestamp":2307955468604,"duration":82413,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-interval/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":754,"name":"read-resource","id":755,"timestamp":2307955468631,"duration":82396,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":754,"timestamp":2307955468621,"duration":82692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-outside-click/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":760,"name":"read-resource","id":761,"timestamp":2307955468668,"duration":82657,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"build-module-js","id":760,"timestamp":2307955468659,"duration":82863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/css-reset/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"read-resource","id":763,"timestamp":2307955468683,"duration":82847,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":762,"timestamp":2307955468671,"duration":83654,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":756,"name":"read-resource","id":757,"timestamp":2307955468644,"duration":83691,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":533,"name":"build-module-js","id":756,"timestamp":2307955468635,"duration":84195,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/node_modules/copy-to-clipboard/index.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":766,"name":"read-resource","id":767,"timestamp":2307955468708,"duration":84137,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":766,"timestamp":2307955468700,"duration":84421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":758,"name":"read-resource","id":759,"timestamp":2307955468656,"duration":84474,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"build-module-js","id":758,"timestamp":2307955468647,"duration":85458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":764,"name":"read-resource","id":765,"timestamp":2307955468696,"duration":85425,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":764,"timestamp":2307955468687,"duration":86176,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"read-resource","id":769,"timestamp":2307955468720,"duration":86154,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":768,"timestamp":2307955468712,"duration":86937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":772,"name":"read-resource","id":773,"timestamp":2307955468744,"duration":86913,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":772,"timestamp":2307955468736,"duration":87674,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":770,"name":"read-resource","id":771,"timestamp":2307955468733,"duration":87686,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":770,"timestamp":2307955468724,"duration":87871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":774,"name":"read-resource","id":775,"timestamp":2307955468757,"duration":87845,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":774,"timestamp":2307955468748,"duration":88074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":780,"name":"read-resource","id":781,"timestamp":2307955468793,"duration":88036,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":780,"timestamp":2307955468784,"duration":88342,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/chain-wallet.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":782,"name":"read-resource","id":783,"timestamp":2307955468804,"duration":88330,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":782,"timestamp":2307955468796,"duration":88509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/main-wallet.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"read-resource","id":777,"timestamp":2307955468769,"duration":88543,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"build-module-js","id":776,"timestamp":2307955468761,"duration":90302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":784,"name":"read-resource","id":785,"timestamp":2307955468816,"duration":90255,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":784,"timestamp":2307955468808,"duration":90356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/types.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"read-resource","id":779,"timestamp":2307955468781,"duration":91027,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"build-module-js","id":778,"timestamp":2307955468772,"duration":92002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":13,"timestamp":2307953514800,"duration":2088752,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":786,"name":"read-resource","id":787,"timestamp":2307955624700,"duration":4704,"tags":{},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":786,"timestamp":2307955624656,"duration":5742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"read-resource","id":789,"timestamp":2307955624723,"duration":5710,"tags":{},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":788,"timestamp":2307955624709,"duration":7065,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"read-resource","id":791,"timestamp":2307955626918,"duration":8320,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":790,"timestamp":2307955626897,"duration":9314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":796,"name":"read-resource","id":797,"timestamp":2307955627009,"duration":9217,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":796,"timestamp":2307955626999,"duration":9463,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":798,"name":"read-resource","id":799,"timestamp":2307955627025,"duration":9445,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":798,"timestamp":2307955627015,"duration":9633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":792,"name":"read-resource","id":793,"timestamp":2307955626972,"duration":9682,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":792,"timestamp":2307955626926,"duration":10573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-pan-event/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":794,"name":"read-resource","id":795,"timestamp":2307955626993,"duration":10519,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":794,"timestamp":2307955626980,"duration":10672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-update-effect/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":800,"name":"read-resource","id":801,"timestamp":2307955627041,"duration":10618,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":800,"timestamp":2307955627031,"duration":10742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":804,"name":"read-resource","id":805,"timestamp":2307955627075,"duration":10705,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":804,"timestamp":2307955627066,"duration":10869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":802,"name":"read-resource","id":803,"timestamp":2307955627061,"duration":10880,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":802,"timestamp":2307955627051,"duration":11156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-size/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":806,"name":"read-resource","id":807,"timestamp":2307955627091,"duration":11124,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":806,"timestamp":2307955627081,"duration":11386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/number-utils/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":808,"name":"read-resource","id":809,"timestamp":2307955627105,"duration":14561,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":808,"timestamp":2307955627096,"duration":16148,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":814,"name":"read-resource","id":815,"timestamp":2307955651791,"duration":8314,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":814,"timestamp":2307955651779,"duration":8668,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-previous/dist/index.esm.js"},"startTime":1664295728655}] +[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"read-resource","id":817,"timestamp":2307955651808,"duration":8800,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"build-module-js","id":816,"timestamp":2307955651798,"duration":10725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/index.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":812,"name":"read-resource","id":813,"timestamp":2307955651771,"duration":10768,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":812,"timestamp":2307955651757,"duration":11106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":810,"name":"read-resource","id":811,"timestamp":2307955651747,"duration":11123,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":810,"timestamp":2307955651708,"duration":11494,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"read-resource","id":819,"timestamp":2307955651824,"duration":11427,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"build-module-js","id":818,"timestamp":2307955651814,"duration":13834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/index.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"read-resource","id":821,"timestamp":2307955651841,"duration":13819,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":820,"timestamp":2307955651830,"duration":14227,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimateSharedLayout.mjs"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"read-resource","id":823,"timestamp":2307955651855,"duration":14214,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":822,"timestamp":2307955651846,"duration":14879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":824,"name":"read-resource","id":825,"timestamp":2307955653965,"duration":15945,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":824,"timestamp":2307955653930,"duration":16315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"read-resource","id":827,"timestamp":2307955654020,"duration":16235,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":826,"timestamp":2307955653992,"duration":16862,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":828,"name":"read-resource","id":829,"timestamp":2307955654053,"duration":16810,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":828,"timestamp":2307955654030,"duration":17095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":830,"name":"read-resource","id":831,"timestamp":2307955654073,"duration":17059,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":830,"timestamp":2307955654061,"duration":17205,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-motion-value.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":832,"name":"read-resource","id":833,"timestamp":2307955654092,"duration":17181,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":832,"timestamp":2307955654081,"duration":17338,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-motion-template.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"read-resource","id":835,"timestamp":2307955654111,"duration":17314,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":834,"timestamp":2307955654100,"duration":18285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":836,"name":"read-resource","id":837,"timestamp":2307955654131,"duration":18267,"tags":{},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":836,"timestamp":2307955654119,"duration":18484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-transform.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":838,"name":"read-resource","id":839,"timestamp":2307955654154,"duration":18457,"tags":{},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":838,"timestamp":2307955654143,"duration":18573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-velocity.mjs"},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":844,"name":"read-resource","id":845,"timestamp":2307955656384,"duration":18715,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":844,"timestamp":2307955656372,"duration":18864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-time.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":840,"name":"read-resource","id":841,"timestamp":2307955656337,"duration":18907,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":840,"timestamp":2307955656299,"duration":19149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-spring.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":842,"name":"read-resource","id":843,"timestamp":2307955656362,"duration":19093,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":842,"timestamp":2307955656347,"duration":19308,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-scroll.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"read-resource","id":847,"timestamp":2307955656401,"duration":20851,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":846,"timestamp":2307955656391,"duration":20966,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/index.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":848,"name":"read-resource","id":849,"timestamp":2307955659336,"duration":18733,"tags":{},"startTime":1664295728663},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":848,"timestamp":2307955659302,"duration":18885,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs"},"startTime":1664295728663},{"traceId":"1979f6cbb13579d5","parentId":850,"name":"read-resource","id":851,"timestamp":2307955764874,"duration":4523,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":850,"timestamp":2307955764823,"duration":4899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/scroll/use-element-scroll.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":852,"name":"read-resource","id":853,"timestamp":2307955764900,"duration":4938,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":852,"timestamp":2307955764887,"duration":5208,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":856,"name":"read-resource","id":857,"timestamp":2307955764936,"duration":5169,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":856,"timestamp":2307955764926,"duration":5551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/animation-controls.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"read-resource","id":855,"timestamp":2307955764921,"duration":5570,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":854,"timestamp":2307955764907,"duration":5980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-will-change/index.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":858,"name":"read-resource","id":859,"timestamp":2307955764959,"duration":5937,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":858,"timestamp":2307955764942,"duration":6073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/use-animation.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":860,"name":"read-resource","id":861,"timestamp":2307955764974,"duration":6504,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":860,"timestamp":2307955764965,"duration":7723,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/animate.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":866,"name":"read-resource","id":867,"timestamp":2307955765024,"duration":7674,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":866,"timestamp":2307955765014,"duration":7864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/transform.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":864,"name":"read-resource","id":865,"timestamp":2307955765008,"duration":7878,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":864,"timestamp":2307955764993,"duration":8032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-cycle.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"read-resource","id":869,"timestamp":2307955765038,"duration":7993,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":868,"timestamp":2307955765030,"duration":8118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":872,"name":"read-resource","id":873,"timestamp":2307955765068,"duration":8086,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":872,"timestamp":2307955765059,"duration":8540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-in-view.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":862,"name":"read-resource","id":863,"timestamp":2307955764988,"duration":8618,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":862,"timestamp":2307955764979,"duration":8843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":870,"name":"read-resource","id":871,"timestamp":2307955765053,"duration":8781,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":870,"timestamp":2307955765044,"duration":8895,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":876,"name":"read-resource","id":877,"timestamp":2307955765099,"duration":8846,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":876,"timestamp":2307955765090,"duration":9359,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":874,"name":"read-resource","id":875,"timestamp":2307955765085,"duration":9375,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":874,"timestamp":2307955765076,"duration":9521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-instant-transition.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"read-resource","id":883,"timestamp":2307955765145,"duration":9466,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":882,"timestamp":2307955765136,"duration":9553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/features-animation.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"read-resource","id":879,"timestamp":2307955765113,"duration":9582,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":878,"timestamp":2307955765104,"duration":9729,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":884,"name":"read-resource","id":885,"timestamp":2307955765161,"duration":9677,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":884,"timestamp":2307955765152,"duration":9762,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/features-max.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":880,"name":"read-resource","id":881,"timestamp":2307955765129,"duration":9790,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":880,"timestamp":2307955765120,"duration":9866,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion-minimal.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"read-resource","id":889,"timestamp":2307955765190,"duration":9844,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":888,"timestamp":2307955765181,"duration":11347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/index.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":886,"name":"read-resource","id":887,"timestamp":2307955765177,"duration":11359,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":886,"timestamp":2307955765168,"duration":11910,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/animation.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":894,"name":"read-resource","id":895,"timestamp":2307955765239,"duration":11847,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":894,"timestamp":2307955765230,"duration":12335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/alert/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"read-resource","id":891,"timestamp":2307955765204,"duration":12370,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":890,"timestamp":2307955765195,"duration":14370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/accordion/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":896,"name":"read-resource","id":897,"timestamp":2307955765253,"duration":14476,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":896,"timestamp":2307955765244,"duration":14801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":892,"name":"read-resource","id":893,"timestamp":2307955765220,"duration":14835,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":892,"timestamp":2307955765211,"duration":16383,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/button/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":900,"name":"read-resource","id":901,"timestamp":2307955765279,"duration":16326,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":900,"timestamp":2307955765270,"duration":17452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/editable/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":898,"name":"read-resource","id":899,"timestamp":2307955765266,"duration":17465,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":898,"timestamp":2307955765258,"duration":18140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/input/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":904,"name":"read-resource","id":905,"timestamp":2307955765309,"duration":18100,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":904,"timestamp":2307955765297,"duration":20132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":910,"name":"read-resource","id":911,"timestamp":2307955765350,"duration":20090,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":910,"timestamp":2307955765342,"duration":20271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/use-dom-event.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":906,"name":"read-resource","id":907,"timestamp":2307955765323,"duration":20298,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":906,"timestamp":2307955765314,"duration":20698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":914,"name":"read-resource","id":915,"timestamp":2307955765378,"duration":20647,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":914,"timestamp":2307955765369,"duration":20812,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"read-resource","id":913,"timestamp":2307955765364,"duration":20824,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":912,"timestamp":2307955765356,"duration":21188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/index.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"read-resource","id":903,"timestamp":2307955765292,"duration":21260,"tags":{},"startTime":1664295728769}] +[{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":902,"timestamp":2307955765284,"duration":24389,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/menu/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":920,"name":"read-resource","id":921,"timestamp":2307955765419,"duration":24282,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":920,"timestamp":2307955765410,"duration":24639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/use-instant-layout-transition.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":908,"name":"read-resource","id":909,"timestamp":2307955765337,"duration":24723,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":908,"timestamp":2307955765328,"duration":24949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":922,"name":"read-resource","id":923,"timestamp":2307955765432,"duration":24852,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":922,"timestamp":2307955765423,"duration":24974,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/use-reset-projection.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":916,"name":"read-resource","id":917,"timestamp":2307955765392,"duration":25012,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":916,"timestamp":2307955765384,"duration":26790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/is-motion-component.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":926,"name":"read-resource","id":927,"timestamp":2307955765461,"duration":26729,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":926,"timestamp":2307955765453,"duration":26847,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":928,"name":"read-resource","id":929,"timestamp":2307955765480,"duration":26827,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":928,"timestamp":2307955765472,"duration":26902,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":918,"name":"read-resource","id":919,"timestamp":2307955765405,"duration":26977,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":918,"timestamp":2307955765397,"duration":27068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":930,"name":"read-resource","id":931,"timestamp":2307955765496,"duration":26978,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":930,"timestamp":2307955765485,"duration":27051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":934,"name":"read-resource","id":935,"timestamp":2307955765523,"duration":27031,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":934,"timestamp":2307955765515,"duration":27108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":932,"name":"read-resource","id":933,"timestamp":2307955765509,"duration":27126,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":932,"timestamp":2307955765500,"duration":27198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":924,"name":"read-resource","id":925,"timestamp":2307955765445,"duration":27340,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":924,"timestamp":2307955765437,"duration":27421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":942,"name":"read-resource","id":943,"timestamp":2307955766545,"duration":30667,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":942,"timestamp":2307955766534,"duration":31113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/use-pointer-event.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":938,"name":"read-resource","id":939,"timestamp":2307955766507,"duration":31163,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":938,"timestamp":2307955766493,"duration":31418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-inverted-scale.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":940,"name":"read-resource","id":941,"timestamp":2307955766524,"duration":31396,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":940,"timestamp":2307955766514,"duration":31652,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/use-animated-state.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":946,"name":"read-resource","id":947,"timestamp":2307955766574,"duration":31599,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":946,"timestamp":2307955766565,"duration":31686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-browser.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":948,"name":"read-resource","id":949,"timestamp":2307955766588,"duration":31669,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":948,"timestamp":2307955766579,"duration":31756,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":936,"name":"read-resource","id":937,"timestamp":2307955766483,"duration":31861,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":936,"timestamp":2307955766456,"duration":31967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"read-resource","id":953,"timestamp":2307955766618,"duration":31811,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":952,"timestamp":2307955766609,"duration":32321,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/setters.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":944,"name":"read-resource","id":945,"timestamp":2307955766560,"duration":32393,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":944,"timestamp":2307955766550,"duration":32590,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/event-info.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":956,"name":"read-resource","id":957,"timestamp":2307955766652,"duration":32495,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":956,"timestamp":2307955766643,"duration":35581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/layout/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":958,"name":"read-resource","id":959,"timestamp":2307955766666,"duration":35574,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":958,"timestamp":2307955766657,"duration":36595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/pin-input/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":960,"name":"read-resource","id":961,"timestamp":2307955766682,"duration":36587,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":960,"timestamp":2307955766672,"duration":37943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/popover/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":950,"name":"read-resource","id":951,"timestamp":2307955766601,"duration":38037,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":950,"timestamp":2307955766593,"duration":38412,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/types.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":954,"name":"read-resource","id":955,"timestamp":2307955766636,"duration":38378,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":954,"timestamp":2307955766627,"duration":40456,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/modal/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":962,"name":"read-resource","id":963,"timestamp":2307955766696,"duration":40398,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":962,"timestamp":2307955766687,"duration":41553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/radio/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":970,"name":"read-resource","id":971,"timestamp":2307955766753,"duration":41497,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":970,"timestamp":2307955766744,"duration":41872,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/select/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":968,"name":"read-resource","id":969,"timestamp":2307955766740,"duration":41885,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":968,"timestamp":2307955766731,"duration":42286,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/skeleton/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":964,"name":"read-resource","id":965,"timestamp":2307955766712,"duration":42313,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":964,"timestamp":2307955766700,"duration":43748,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/number-input/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":976,"name":"read-resource","id":977,"timestamp":2307955766794,"duration":43663,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":976,"timestamp":2307955766785,"duration":43770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"read-resource","id":967,"timestamp":2307955766726,"duration":43840,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":966,"timestamp":2307955766717,"duration":50473,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/slider/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"read-resource","id":975,"timestamp":2307955766780,"duration":50437,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":974,"timestamp":2307955766771,"duration":51012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":984,"name":"read-resource","id":985,"timestamp":2307955766850,"duration":50942,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":984,"timestamp":2307955766842,"duration":51049,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"read-resource","id":983,"timestamp":2307955766838,"duration":51061,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":982,"timestamp":2307955766827,"duration":51281,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/popper.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":978,"name":"read-resource","id":979,"timestamp":2307955766808,"duration":51308,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":978,"timestamp":2307955766799,"duration":51565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/enums.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":972,"name":"read-resource","id":973,"timestamp":2307955766766,"duration":51605,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":972,"timestamp":2307955766757,"duration":52237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/stat/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"read-resource","id":981,"timestamp":2307955766823,"duration":52179,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":980,"timestamp":2307955766813,"duration":52941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/createPopper.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":986,"name":"read-resource","id":987,"timestamp":2307955766865,"duration":52898,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":986,"timestamp":2307955766856,"duration":53099,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-force-update.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":990,"name":"read-resource","id":991,"timestamp":2307955766896,"duration":53070,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":990,"timestamp":2307955766888,"duration":53509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/table/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":998,"name":"read-resource","id":999,"timestamp":2307955766954,"duration":53451,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":998,"timestamp":2307955766945,"duration":53651,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/textarea/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"read-resource","id":995,"timestamp":2307955766924,"duration":53678,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":994,"timestamp":2307955766916,"duration":54407,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":996,"name":"read-resource","id":997,"timestamp":2307955766940,"duration":54391,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":996,"timestamp":2307955766929,"duration":55298,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tabs/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":992,"name":"read-resource","id":993,"timestamp":2307955766912,"duration":55323,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":992,"timestamp":2307955766903,"duration":56465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tag/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1004,"name":"read-resource","id":1005,"timestamp":2307955766997,"duration":56395,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1004,"timestamp":2307955766988,"duration":56581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1000,"name":"read-resource","id":1001,"timestamp":2307955766970,"duration":56607,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1000,"timestamp":2307955766961,"duration":57856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/toast/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1002,"name":"read-resource","id":1003,"timestamp":2307955766983,"duration":57842,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1002,"timestamp":2307955766975,"duration":58670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tooltip/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1008,"name":"read-resource","id":1009,"timestamp":2307955767023,"duration":58633,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1008,"timestamp":2307955767015,"duration":58848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1006,"name":"read-resource","id":1007,"timestamp":2307955767010,"duration":58996,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1006,"timestamp":2307955767001,"duration":60162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/provider/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":988,"name":"read-resource","id":989,"timestamp":2307955766883,"duration":60289,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":988,"timestamp":2307955766872,"duration":60563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/switch/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1020,"name":"read-resource","id":1021,"timestamp":2307955767676,"duration":66317,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":1020,"timestamp":2307955767667,"duration":66659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/popper-lite.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1014,"name":"read-resource","id":1015,"timestamp":2307955767639,"duration":66790,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1014,"timestamp":2307955767630,"duration":67079,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/animations.mjs"},"startTime":1664295728771}] +[{"traceId":"1979f6cbb13579d5","parentId":1010,"name":"read-resource","id":1011,"timestamp":2307955767611,"duration":67251,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1010,"timestamp":2307955767594,"duration":67526,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1016,"name":"read-resource","id":1017,"timestamp":2307955767651,"duration":67476,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1016,"timestamp":2307955767643,"duration":67664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1018,"name":"read-resource","id":1019,"timestamp":2307955767663,"duration":67678,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1018,"timestamp":2307955767655,"duration":67832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1012,"name":"read-resource","id":1013,"timestamp":2307955767627,"duration":67868,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1012,"timestamp":2307955767617,"duration":67963,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/models.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1028,"name":"read-resource","id":1029,"timestamp":2307955767955,"duration":70738,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":658,"name":"build-module-js","id":1028,"timestamp":2307955767944,"duration":71023,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/extends.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1022,"name":"read-resource","id":1023,"timestamp":2307955767914,"duration":71077,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1022,"timestamp":2307955767899,"duration":74435,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1026,"name":"read-resource","id":1027,"timestamp":2307955767940,"duration":74406,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1026,"timestamp":2307955767931,"duration":76133,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1024,"name":"read-resource","id":1025,"timestamp":2307955767927,"duration":76150,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":1024,"timestamp":2307955767918,"duration":76301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/index.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1030,"name":"read-resource","id":1031,"timestamp":2307955768095,"duration":76132,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1030,"timestamp":2307955768045,"duration":76628,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/breadcrumb/dist/index.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1034,"name":"read-resource","id":1035,"timestamp":2307955912480,"duration":8422,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1034,"timestamp":2307955912464,"duration":9540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/avatar/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1036,"name":"read-resource","id":1037,"timestamp":2307955912499,"duration":9525,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1036,"timestamp":2307955912487,"duration":9770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/control-box/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1038,"name":"read-resource","id":1039,"timestamp":2307955912517,"duration":9748,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1038,"timestamp":2307955912506,"duration":13276,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/hooks/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"read-resource","id":1033,"timestamp":2307955912447,"duration":13356,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1032,"timestamp":2307955912395,"duration":15315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1040,"name":"read-resource","id":1041,"timestamp":2307955912544,"duration":15178,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1040,"timestamp":2307955912532,"duration":15975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1042,"name":"read-resource","id":1043,"timestamp":2307955916877,"duration":15540,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1042,"timestamp":2307955916842,"duration":16416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/progress/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1046,"name":"read-resource","id":1047,"timestamp":2307955916922,"duration":16346,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1046,"timestamp":2307955916909,"duration":16815,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/image/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1044,"name":"read-resource","id":1045,"timestamp":2307955916903,"duration":16830,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1044,"timestamp":2307955916888,"duration":17469,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"read-resource","id":1049,"timestamp":2307955916939,"duration":17429,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1048,"timestamp":2307955916929,"duration":22601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/theme/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1050,"name":"read-resource","id":1051,"timestamp":2307955916956,"duration":22601,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"build-module-js","id":1050,"timestamp":2307955916946,"duration":22854,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/on-next-frame.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1052,"name":"read-resource","id":1053,"timestamp":2307955916971,"duration":22837,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"build-module-js","id":1052,"timestamp":2307955916961,"duration":23089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/create-render-step.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1054,"name":"read-resource","id":1055,"timestamp":2307955916994,"duration":23064,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":594,"name":"build-module-js","id":1054,"timestamp":2307955916977,"duration":23260,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/toggle-selection/index.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1056,"name":"read-resource","id":1057,"timestamp":2307955917012,"duration":23236,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"build-module-js","id":1056,"timestamp":2307955917000,"duration":23352,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/convert.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"read-resource","id":1061,"timestamp":2307955917049,"duration":23310,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1060,"timestamp":2307955917040,"duration":24119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/chain-wallet.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1062,"name":"read-resource","id":1063,"timestamp":2307955917065,"duration":24102,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1062,"timestamp":2307955917055,"duration":24380,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/main-wallet.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1064,"name":"read-resource","id":1065,"timestamp":2307955917081,"duration":24361,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1064,"timestamp":2307955917072,"duration":26025,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/state.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1058,"name":"read-resource","id":1059,"timestamp":2307955917030,"duration":26078,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"build-module-js","id":1058,"timestamp":2307955917017,"duration":26244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/status.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1068,"name":"read-resource","id":1069,"timestamp":2307955917123,"duration":26145,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1068,"timestamp":2307955917102,"duration":26311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/keyboard.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"read-resource","id":1067,"timestamp":2307955917096,"duration":26354,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":692,"name":"build-module-js","id":1066,"timestamp":2307955917087,"duration":26522,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/Combination.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1072,"name":"read-resource","id":1073,"timestamp":2307955917154,"duration":26477,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1072,"timestamp":2307955917143,"duration":26642,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/match.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1074,"name":"read-resource","id":1075,"timestamp":2307955917169,"duration":26631,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1074,"timestamp":2307955917160,"duration":28341,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/render.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1070,"name":"read-resource","id":1071,"timestamp":2307955917139,"duration":28381,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"build-module-js","id":1070,"timestamp":2307955917129,"duration":29306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1076,"name":"read-resource","id":1077,"timestamp":2307955917185,"duration":30153,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1076,"timestamp":2307955917176,"duration":30379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/bugs.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1078,"name":"read-resource","id":1079,"timestamp":2307955919288,"duration":32443,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1078,"timestamp":2307955919258,"duration":32781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1080,"name":"read-resource","id":1081,"timestamp":2307955919313,"duration":32740,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1080,"timestamp":2307955919299,"duration":32923,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-id.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1088,"name":"read-resource","id":1089,"timestamp":2307955919386,"duration":32845,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1088,"timestamp":2307955919376,"duration":32948,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-owner.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1084,"name":"read-resource","id":1085,"timestamp":2307955919349,"duration":32988,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1084,"timestamp":2307955919338,"duration":33112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1082,"name":"read-resource","id":1083,"timestamp":2307955919330,"duration":33126,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1082,"timestamp":2307955919319,"duration":33418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-inert-others.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1086,"name":"read-resource","id":1087,"timestamp":2307955919367,"duration":33378,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1086,"timestamp":2307955919357,"duration":33682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-outside-click.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1092,"name":"read-resource","id":1093,"timestamp":2307955919422,"duration":33625,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1092,"timestamp":2307955919412,"duration":33733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-event.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1090,"name":"read-resource","id":1091,"timestamp":2307955919402,"duration":33752,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1090,"timestamp":2307955919392,"duration":33876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-event-listener.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1094,"name":"read-resource","id":1095,"timestamp":2307955919437,"duration":33838,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1094,"timestamp":2307955919428,"duration":34294,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/disposables.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1096,"name":"read-resource","id":1097,"timestamp":2307955919460,"duration":34270,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1096,"timestamp":2307955919447,"duration":34395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/platform.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1098,"name":"read-resource","id":1099,"timestamp":2307955920594,"duration":36873,"tags":{},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1098,"timestamp":2307955920554,"duration":37109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/portal-force-root.js"},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":1100,"name":"read-resource","id":1101,"timestamp":2307955920616,"duration":37056,"tags":{},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1100,"timestamp":2307955920603,"duration":37220,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/open-closed.js"},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":1102,"name":"read-resource","id":1103,"timestamp":2307955955679,"duration":11456,"tags":{},"startTime":1664295728959},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1102,"timestamp":2307955955637,"duration":12001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/stack-context.js"},"startTime":1664295728959},{"traceId":"1979f6cbb13579d5","parentId":1104,"name":"read-resource","id":1105,"timestamp":2307955961433,"duration":7242,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1104,"timestamp":2307955961386,"duration":8093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/hidden.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1112,"name":"read-resource","id":1113,"timestamp":2307955961516,"duration":7978,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1112,"timestamp":2307955961506,"duration":8095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1114,"name":"read-resource","id":1115,"timestamp":2307955961534,"duration":8078,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1114,"timestamp":2307955961524,"duration":8190,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-latest-value.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1116,"name":"read-resource","id":1117,"timestamp":2307955961549,"duration":8171,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1116,"timestamp":2307955961540,"duration":8356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1110,"name":"read-resource","id":1111,"timestamp":2307955961500,"duration":8404,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1110,"timestamp":2307955961490,"duration":8507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-disposables.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1108,"name":"read-resource","id":1109,"timestamp":2307955961482,"duration":8521,"tags":{},"startTime":1664295728965}] +[{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1108,"timestamp":2307955961469,"duration":8850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-computed.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1118,"name":"read-resource","id":1119,"timestamp":2307955961564,"duration":8761,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1118,"timestamp":2307955961555,"duration":8963,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1120,"name":"read-resource","id":1121,"timestamp":2307955961579,"duration":11089,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1120,"timestamp":2307955961570,"duration":11848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/calculate-active-index.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1106,"name":"read-resource","id":1107,"timestamp":2307955961463,"duration":11967,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1106,"timestamp":2307955961446,"duration":12381,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/description/description.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1128,"name":"read-resource","id":1129,"timestamp":2307955961647,"duration":12190,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1128,"timestamp":2307955961637,"duration":13163,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/focus-management.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1130,"name":"read-resource","id":1131,"timestamp":2307955961662,"duration":13156,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1130,"timestamp":2307955961653,"duration":13394,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-controllable.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1132,"name":"read-resource","id":1133,"timestamp":2307955961676,"duration":13379,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1132,"timestamp":2307955961667,"duration":13558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-watch.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1124,"name":"read-resource","id":1125,"timestamp":2307955961617,"duration":13615,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1124,"timestamp":2307955961607,"duration":13771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1136,"name":"read-resource","id":1137,"timestamp":2307955961714,"duration":13671,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":726,"name":"build-module-js","id":1136,"timestamp":2307955961701,"duration":13795,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/owner.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1126,"name":"read-resource","id":1127,"timestamp":2307955961631,"duration":13871,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1126,"timestamp":2307955961622,"duration":14149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/form.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1140,"name":"read-resource","id":1141,"timestamp":2307955961747,"duration":14034,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1140,"timestamp":2307955961738,"duration":14147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1142,"name":"read-resource","id":1143,"timestamp":2307955961764,"duration":14155,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1142,"timestamp":2307955961754,"duration":14356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/micro-task.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1134,"name":"read-resource","id":1135,"timestamp":2307955961695,"duration":14421,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1134,"timestamp":2307955961682,"duration":21430,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1122,"name":"read-resource","id":1123,"timestamp":2307955961597,"duration":21533,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":642,"name":"build-module-js","id":1122,"timestamp":2307955961585,"duration":42623,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/io/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1138,"name":"read-resource","id":1139,"timestamp":2307955961733,"duration":42493,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1138,"timestamp":2307955961724,"duration":42738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1146,"name":"read-resource","id":1147,"timestamp":2307955961793,"duration":42677,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"build-module-js","id":1146,"timestamp":2307955961784,"duration":42830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-flags.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1148,"name":"read-resource","id":1149,"timestamp":2307955961807,"duration":42840,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":738,"name":"build-module-js","id":1148,"timestamp":2307955961798,"duration":42925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/ssr.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1144,"name":"read-resource","id":1145,"timestamp":2307955961779,"duration":43226,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1144,"timestamp":2307955961769,"duration":43502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1156,"name":"read-resource","id":1157,"timestamp":2307955964852,"duration":45618,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":740,"name":"build-module-js","id":1156,"timestamp":2307955964842,"duration":45960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/focus-sentinel.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1150,"name":"read-resource","id":1151,"timestamp":2307955964799,"duration":46014,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"build-module-js","id":1150,"timestamp":2307955964774,"duration":46989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/label/label.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1160,"name":"read-resource","id":1161,"timestamp":2307955964886,"duration":46887,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1160,"timestamp":2307955964877,"duration":47688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1154,"name":"read-resource","id":1155,"timestamp":2307955964837,"duration":47737,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":742,"name":"build-module-js","id":1154,"timestamp":2307955964827,"duration":47943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-transition.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1158,"name":"read-resource","id":1159,"timestamp":2307955964871,"duration":47905,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1158,"timestamp":2307955964859,"duration":51550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1162,"name":"read-resource","id":1163,"timestamp":2307955964900,"duration":51525,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":782,"name":"build-module-js","id":1162,"timestamp":2307955964891,"duration":51717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/utils.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"read-resource","id":1153,"timestamp":2307955964820,"duration":51798,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":590,"name":"build-module-js","id":1152,"timestamp":2307955964808,"duration":51976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/public_api.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"read-resource","id":1165,"timestamp":2307955964916,"duration":52127,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1164,"timestamp":2307955964907,"duration":53198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1166,"name":"read-resource","id":1167,"timestamp":2307955964935,"duration":53246,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1166,"timestamp":2307955964922,"duration":53440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1168,"name":"read-resource","id":1169,"timestamp":2307955966100,"duration":55651,"tags":{},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1168,"timestamp":2307955966070,"duration":56076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":1170,"name":"read-resource","id":1171,"timestamp":2307955966123,"duration":56033,"tags":{},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1170,"timestamp":2307955966109,"duration":56204,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"read-resource","id":1173,"timestamp":2307955966140,"duration":56306,"tags":{},"startTime":1664295728970},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1172,"timestamp":2307955966129,"duration":57677,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"},"startTime":1664295728970},{"traceId":"1979f6cbb13579d5","parentId":1174,"name":"read-resource","id":1175,"timestamp":2307955971028,"duration":57673,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1174,"timestamp":2307955970995,"duration":57928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1176,"name":"read-resource","id":1177,"timestamp":2307955971057,"duration":57875,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1176,"timestamp":2307955971043,"duration":58683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1180,"name":"read-resource","id":1181,"timestamp":2307955971098,"duration":58637,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1180,"timestamp":2307955971087,"duration":62007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1178,"name":"read-resource","id":1179,"timestamp":2307955971076,"duration":62029,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1178,"timestamp":2307955971065,"duration":62279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1186,"name":"read-resource","id":1187,"timestamp":2307955971154,"duration":62198,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":702,"name":"build-module-js","id":1186,"timestamp":2307955971144,"duration":62409,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/number-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1184,"name":"read-resource","id":1185,"timestamp":2307955971136,"duration":62425,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1184,"timestamp":2307955971126,"duration":65579,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1182,"name":"read-resource","id":1183,"timestamp":2307955971115,"duration":65602,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":660,"name":"build-module-js","id":1182,"timestamp":2307955971106,"duration":65768,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-invariant/dist/tiny-invariant.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1190,"name":"read-resource","id":1191,"timestamp":2307955971195,"duration":65685,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":678,"name":"build-module-js","id":1190,"timestamp":2307955971185,"duration":65827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1188,"name":"read-resource","id":1189,"timestamp":2307955971176,"duration":65875,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"build-module-js","id":1188,"timestamp":2307955971161,"duration":70720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1194,"name":"read-resource","id":1195,"timestamp":2307955971228,"duration":70706,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1194,"timestamp":2307955971218,"duration":71105,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1192,"name":"read-resource","id":1193,"timestamp":2307955971211,"duration":71127,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"build-module-js","id":1192,"timestamp":2307955971202,"duration":71645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/focus-lock/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1198,"name":"read-resource","id":1199,"timestamp":2307956008043,"duration":39331,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1198,"timestamp":2307956008029,"duration":42744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1196,"name":"read-resource","id":1197,"timestamp":2307956008004,"duration":42789,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1196,"timestamp":2307956007960,"duration":43127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1200,"name":"read-resource","id":1201,"timestamp":2307956008061,"duration":43034,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1200,"timestamp":2307956008050,"duration":43763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1202,"name":"read-resource","id":1203,"timestamp":2307956008083,"duration":43739,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1202,"timestamp":2307956008073,"duration":48724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1204,"name":"read-resource","id":1205,"timestamp":2307956008103,"duration":48718,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1204,"timestamp":2307956008093,"duration":51958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1208,"name":"read-resource","id":1209,"timestamp":2307956008133,"duration":51938,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1208,"timestamp":2307956008123,"duration":52694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1206,"name":"read-resource","id":1207,"timestamp":2307956008117,"duration":52711,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1206,"timestamp":2307956008108,"duration":57733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1212,"name":"read-resource","id":1213,"timestamp":2307956008165,"duration":57701,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1212,"timestamp":2307956008153,"duration":58142,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AdjustmentsHorizontalIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1214,"name":"read-resource","id":1215,"timestamp":2307956008179,"duration":58127,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1214,"timestamp":2307956008170,"duration":58287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AdjustmentsVerticalIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1210,"name":"read-resource","id":1211,"timestamp":2307956008148,"duration":58315,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1210,"timestamp":2307956008138,"duration":58444,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AcademicCapIcon.js"},"startTime":1664295729012}] +[{"traceId":"1979f6cbb13579d5","parentId":1216,"name":"read-resource","id":1217,"timestamp":2307956008197,"duration":58536,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1216,"timestamp":2307956008183,"duration":58659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxArrowDownIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1220,"name":"read-resource","id":1221,"timestamp":2307956008230,"duration":58619,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1220,"timestamp":2307956008221,"duration":58827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1222,"name":"read-resource","id":1223,"timestamp":2307956008245,"duration":58811,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1222,"timestamp":2307956008235,"duration":58940,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownCircleIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1224,"name":"read-resource","id":1225,"timestamp":2307956008259,"duration":58923,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1224,"timestamp":2307956008250,"duration":59026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownLeftIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1218,"name":"read-resource","id":1219,"timestamp":2307956008217,"duration":59570,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1218,"timestamp":2307956008205,"duration":59713,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxXMarkIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1226,"name":"read-resource","id":1227,"timestamp":2307956008274,"duration":59651,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1226,"timestamp":2307956008264,"duration":59769,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownOnSquareStackIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1230,"name":"read-resource","id":1231,"timestamp":2307956019936,"duration":50907,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1230,"timestamp":2307956019921,"duration":51168,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownRightIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1228,"name":"read-resource","id":1229,"timestamp":2307956019907,"duration":51189,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1228,"timestamp":2307956019871,"duration":51347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownOnSquareIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1238,"name":"read-resource","id":1239,"timestamp":2307956020006,"duration":51218,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1238,"timestamp":2307956019995,"duration":51343,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftOnRectangleIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1234,"name":"read-resource","id":1235,"timestamp":2307956019974,"duration":51370,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1234,"timestamp":2307956019963,"duration":51479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1236,"name":"read-resource","id":1237,"timestamp":2307956019990,"duration":51457,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1236,"timestamp":2307956019980,"duration":51571,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftCircleIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1240,"name":"read-resource","id":1241,"timestamp":2307956020021,"duration":51535,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1240,"timestamp":2307956020012,"duration":51637,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1232,"name":"read-resource","id":1233,"timestamp":2307956019954,"duration":51700,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1232,"timestamp":2307956019942,"duration":51804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownTrayIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1242,"name":"read-resource","id":1243,"timestamp":2307956020034,"duration":51717,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1242,"timestamp":2307956020025,"duration":51813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongDownIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1244,"name":"read-resource","id":1245,"timestamp":2307956020050,"duration":51793,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1244,"timestamp":2307956020039,"duration":51886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongLeftIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1250,"name":"read-resource","id":1251,"timestamp":2307956026230,"duration":48222,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1250,"timestamp":2307956026219,"duration":48507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowPathRoundedSquareIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1246,"name":"read-resource","id":1247,"timestamp":2307956026183,"duration":48554,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1246,"timestamp":2307956026151,"duration":48718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1252,"name":"read-resource","id":1253,"timestamp":2307956026246,"duration":48629,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1252,"timestamp":2307956026236,"duration":48747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowPathIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1248,"name":"read-resource","id":1249,"timestamp":2307956026213,"duration":48776,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1248,"timestamp":2307956026199,"duration":48888,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongUpIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1254,"name":"read-resource","id":1255,"timestamp":2307956026262,"duration":48830,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1254,"timestamp":2307956026252,"duration":48938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightCircleIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1258,"name":"read-resource","id":1259,"timestamp":2307956026293,"duration":48902,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1258,"timestamp":2307956026284,"duration":48999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1256,"name":"read-resource","id":1257,"timestamp":2307956026278,"duration":49009,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1256,"timestamp":2307956026269,"duration":49115,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightOnRectangleIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1260,"name":"read-resource","id":1261,"timestamp":2307956026307,"duration":49082,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1260,"timestamp":2307956026298,"duration":49173,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallDownIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1266,"name":"read-resource","id":1267,"timestamp":2307956026348,"duration":49174,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1266,"timestamp":2307956026340,"duration":49269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallUpIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1262,"name":"read-resource","id":1263,"timestamp":2307956026321,"duration":49293,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1262,"timestamp":2307956026312,"duration":49393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallLeftIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1264,"name":"read-resource","id":1265,"timestamp":2307956026335,"duration":49380,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1264,"timestamp":2307956026326,"duration":49476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1268,"name":"read-resource","id":1269,"timestamp":2307956045741,"duration":33470,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1268,"timestamp":2307956045691,"duration":33746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTopRightOnSquareIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1270,"name":"read-resource","id":1271,"timestamp":2307956045777,"duration":33667,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1270,"timestamp":2307956045763,"duration":33820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTrendingDownIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1272,"name":"read-resource","id":1273,"timestamp":2307956045798,"duration":33792,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1272,"timestamp":2307956045787,"duration":33908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTrendingUpIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1274,"name":"read-resource","id":1275,"timestamp":2307956073813,"duration":9042,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1274,"timestamp":2307956073755,"duration":9262,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpCircleIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1276,"name":"read-resource","id":1277,"timestamp":2307956073840,"duration":9184,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1276,"timestamp":2307956073826,"duration":9314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1278,"name":"read-resource","id":1279,"timestamp":2307956073859,"duration":9287,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1278,"timestamp":2307956073847,"duration":9402,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpOnSquareStackIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1280,"name":"read-resource","id":1281,"timestamp":2307956073876,"duration":9378,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1280,"timestamp":2307956073866,"duration":9484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpOnSquareIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1282,"name":"read-resource","id":1283,"timestamp":2307956073895,"duration":9464,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1282,"timestamp":2307956073882,"duration":9573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpRightIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1284,"name":"read-resource","id":1285,"timestamp":2307956073911,"duration":9549,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1284,"timestamp":2307956073901,"duration":9662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpTrayIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1286,"name":"read-resource","id":1287,"timestamp":2307956073929,"duration":9643,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1286,"timestamp":2307956073919,"duration":9739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1288,"name":"read-resource","id":1289,"timestamp":2307956073948,"duration":9714,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1288,"timestamp":2307956073938,"duration":9811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1290,"name":"read-resource","id":1291,"timestamp":2307956073963,"duration":9791,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1290,"timestamp":2307956073954,"duration":9882,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnDownIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1292,"name":"read-resource","id":1293,"timestamp":2307956073978,"duration":9863,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1292,"timestamp":2307956073969,"duration":9956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnRightIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1294,"name":"read-resource","id":1295,"timestamp":2307956073994,"duration":9936,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1294,"timestamp":2307956073985,"duration":10030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnUpIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1300,"name":"read-resource","id":1301,"timestamp":2307956074037,"duration":9983,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1300,"timestamp":2307956074028,"duration":10080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsRightLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1296,"name":"read-resource","id":1297,"timestamp":2307956074008,"duration":10105,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1296,"timestamp":2307956074000,"duration":10197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsPointingInIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1302,"name":"read-resource","id":1303,"timestamp":2307956074051,"duration":10150,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1302,"timestamp":2307956074043,"duration":10242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsUpDownIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1304,"name":"read-resource","id":1305,"timestamp":2307956074067,"duration":10222,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1304,"timestamp":2307956074058,"duration":10317,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AtSymbolIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1298,"name":"read-resource","id":1299,"timestamp":2307956074023,"duration":10357,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1298,"timestamp":2307956074014,"duration":10451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsPointingOutIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1306,"name":"read-resource","id":1307,"timestamp":2307956074083,"duration":10385,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1306,"timestamp":2307956074075,"duration":10475,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BackspaceIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1308,"name":"read-resource","id":1309,"timestamp":2307956074099,"duration":10462,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1308,"timestamp":2307956074090,"duration":10555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BackwardIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1310,"name":"read-resource","id":1311,"timestamp":2307956074116,"duration":11562,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1310,"timestamp":2307956074107,"duration":11686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BanknotesIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1316,"name":"read-resource","id":1317,"timestamp":2307956077386,"duration":8736,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1316,"timestamp":2307956077374,"duration":9673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3BottomRightIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1314,"name":"read-resource","id":1315,"timestamp":2307956077366,"duration":9688,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1314,"timestamp":2307956077352,"duration":9802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3BottomLeftIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1312,"name":"read-resource","id":1313,"timestamp":2307956077339,"duration":9820,"tags":{},"startTime":1664295729081}] +[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1312,"timestamp":2307956077306,"duration":10166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars2Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1318,"name":"read-resource","id":1319,"timestamp":2307956077406,"duration":10070,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1318,"timestamp":2307956077395,"duration":10169,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3CenterLeftIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1322,"name":"read-resource","id":1323,"timestamp":2307956077445,"duration":10124,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1322,"timestamp":2307956077435,"duration":10219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BarsArrowDownIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1320,"name":"read-resource","id":1321,"timestamp":2307956077423,"duration":10235,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1320,"timestamp":2307956077413,"duration":10329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1326,"name":"read-resource","id":1327,"timestamp":2307956077480,"duration":11060,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1326,"timestamp":2307956077471,"duration":11452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BarsArrowUpIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1328,"name":"read-resource","id":1329,"timestamp":2307956077497,"duration":11436,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1328,"timestamp":2307956077487,"duration":11589,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery100Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1324,"name":"read-resource","id":1325,"timestamp":2307956077461,"duration":11623,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1324,"timestamp":2307956077452,"duration":11790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery0Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1330,"name":"read-resource","id":1331,"timestamp":2307956077515,"duration":11732,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1330,"timestamp":2307956077506,"duration":11849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars4Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1332,"name":"read-resource","id":1333,"timestamp":2307956077531,"duration":11829,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1332,"timestamp":2307956077522,"duration":11933,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery50Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1334,"name":"read-resource","id":1335,"timestamp":2307956077552,"duration":11908,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1334,"timestamp":2307956077543,"duration":12012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BeakerIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1336,"name":"read-resource","id":1337,"timestamp":2307956077571,"duration":11989,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1336,"timestamp":2307956077562,"duration":12092,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellAlertIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1338,"name":"read-resource","id":1339,"timestamp":2307956077595,"duration":12066,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1338,"timestamp":2307956077582,"duration":12164,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1340,"name":"read-resource","id":1341,"timestamp":2307956077611,"duration":12140,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1340,"timestamp":2307956077602,"duration":12233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellSnoozeIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1342,"name":"read-resource","id":1343,"timestamp":2307956077630,"duration":12210,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1342,"timestamp":2307956077621,"duration":12299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1346,"name":"read-resource","id":1347,"timestamp":2307956077668,"duration":12258,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1346,"timestamp":2307956077659,"duration":12445,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BoltIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1344,"name":"read-resource","id":1345,"timestamp":2307956077652,"duration":12460,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1344,"timestamp":2307956077643,"duration":12553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BoltSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1348,"name":"read-resource","id":1349,"timestamp":2307956077690,"duration":12511,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1348,"timestamp":2307956077680,"duration":12607,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookOpenIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1350,"name":"read-resource","id":1351,"timestamp":2307956077705,"duration":12586,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1350,"timestamp":2307956077697,"duration":12710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1354,"name":"read-resource","id":1355,"timestamp":2307956077742,"duration":12674,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1354,"timestamp":2307956077733,"duration":12784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1352,"name":"read-resource","id":1353,"timestamp":2307956077726,"duration":12813,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1352,"timestamp":2307956077712,"duration":12908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkSquareIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1358,"name":"read-resource","id":1359,"timestamp":2307956081237,"duration":11346,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1358,"timestamp":2307956081223,"duration":11532,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BugAntIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1362,"name":"read-resource","id":1363,"timestamp":2307956081272,"duration":11489,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1362,"timestamp":2307956081262,"duration":11607,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingOffice2Icon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1364,"name":"read-resource","id":1365,"timestamp":2307956081289,"duration":11585,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1364,"timestamp":2307956081279,"duration":11688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingOfficeIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1360,"name":"read-resource","id":1361,"timestamp":2307956081255,"duration":11717,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1360,"timestamp":2307956081244,"duration":11816,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingLibraryIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1356,"name":"read-resource","id":1357,"timestamp":2307956081202,"duration":11865,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1356,"timestamp":2307956081168,"duration":11989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BriefcaseIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1366,"name":"read-resource","id":1367,"timestamp":2307956081303,"duration":11858,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1366,"timestamp":2307956081294,"duration":11950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingStorefrontIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1368,"name":"read-resource","id":1369,"timestamp":2307956081318,"duration":11931,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1368,"timestamp":2307956081309,"duration":12032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CakeIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1370,"name":"read-resource","id":1371,"timestamp":2307956081333,"duration":12013,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1370,"timestamp":2307956081324,"duration":12114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalculatorIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1372,"name":"read-resource","id":1373,"timestamp":2307956081348,"duration":13105,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1372,"timestamp":2307956081339,"duration":13241,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalendarDaysIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1374,"name":"read-resource","id":1375,"timestamp":2307956082067,"duration":14868,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1374,"timestamp":2307956082052,"duration":15040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalendarIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1376,"name":"read-resource","id":1377,"timestamp":2307956085232,"duration":12820,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1376,"timestamp":2307956085205,"duration":12978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CameraIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1380,"name":"read-resource","id":1381,"timestamp":2307956085282,"duration":12907,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1380,"timestamp":2307956085272,"duration":13017,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartBarIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1378,"name":"read-resource","id":1379,"timestamp":2307956085264,"duration":13029,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1378,"timestamp":2307956085249,"duration":13138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartBarSquareIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1382,"name":"read-resource","id":1383,"timestamp":2307956085299,"duration":13092,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1382,"timestamp":2307956085289,"duration":13187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleBottomCenterTextIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1384,"name":"read-resource","id":1385,"timestamp":2307956085317,"duration":13164,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1384,"timestamp":2307956085307,"duration":13256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftEllipsisIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1390,"name":"read-resource","id":1391,"timestamp":2307956085369,"duration":13198,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1390,"timestamp":2307956085361,"duration":13292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftRightIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1392,"name":"read-resource","id":1393,"timestamp":2307956085385,"duration":13273,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1392,"timestamp":2307956085376,"duration":13360,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1394,"name":"read-resource","id":1395,"timestamp":2307956085400,"duration":13340,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1394,"timestamp":2307956085392,"duration":13428,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleOvalLeftEllipsisIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1396,"name":"read-resource","id":1397,"timestamp":2307956085421,"duration":13403,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1396,"timestamp":2307956085412,"duration":13489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleOvalLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1398,"name":"read-resource","id":1399,"timestamp":2307956085437,"duration":13468,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1398,"timestamp":2307956085428,"duration":13555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckBadgeIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1386,"name":"read-resource","id":1387,"timestamp":2307956085333,"duration":13655,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1386,"timestamp":2307956085324,"duration":13746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartPieIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1400,"name":"read-resource","id":1401,"timestamp":2307956085452,"duration":13623,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1400,"timestamp":2307956085443,"duration":13708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckCircleIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1404,"name":"read-resource","id":1405,"timestamp":2307956085486,"duration":13670,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1404,"timestamp":2307956085477,"duration":13761,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleDownIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1402,"name":"read-resource","id":1403,"timestamp":2307956085467,"duration":13776,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1402,"timestamp":2307956085458,"duration":13864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1388,"name":"read-resource","id":1389,"timestamp":2307956085354,"duration":13972,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1388,"timestamp":2307956085345,"duration":14062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleBottomCenterIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1406,"name":"read-resource","id":1407,"timestamp":2307956085506,"duration":13906,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1406,"timestamp":2307956085492,"duration":13996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1408,"name":"read-resource","id":1409,"timestamp":2307956085521,"duration":13972,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1408,"timestamp":2307956085512,"duration":14067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleRightIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1410,"name":"read-resource","id":1411,"timestamp":2307956085540,"duration":14056,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1410,"timestamp":2307956085531,"duration":14145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleUpIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1412,"name":"read-resource","id":1413,"timestamp":2307956085555,"duration":14125,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1412,"timestamp":2307956085547,"duration":14303,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1416,"name":"read-resource","id":1417,"timestamp":2307956088424,"duration":16098,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1416,"timestamp":2307956088410,"duration":17852,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronRightIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1414,"name":"read-resource","id":1415,"timestamp":2307956088398,"duration":17882,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1414,"timestamp":2307956088359,"duration":18045,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronLeftIcon.js"},"startTime":1664295729092}] +[{"traceId":"1979f6cbb13579d5","parentId":1418,"name":"read-resource","id":1419,"timestamp":2307956088442,"duration":18104,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1418,"timestamp":2307956088431,"duration":18224,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronUpDownIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1420,"name":"read-resource","id":1421,"timestamp":2307956088461,"duration":18199,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1420,"timestamp":2307956088448,"duration":18304,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronUpIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1424,"name":"read-resource","id":1425,"timestamp":2307956088493,"duration":18302,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1424,"timestamp":2307956088483,"duration":18408,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentCheckIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1422,"name":"read-resource","id":1423,"timestamp":2307956088477,"duration":18419,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1422,"timestamp":2307956088468,"duration":18514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CircleStackIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1426,"name":"read-resource","id":1427,"timestamp":2307956088507,"duration":18479,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1426,"timestamp":2307956088498,"duration":18576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentListIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1428,"name":"read-resource","id":1429,"timestamp":2307956088521,"duration":19339,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1428,"timestamp":2307956088512,"duration":19574,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1430,"name":"read-resource","id":1431,"timestamp":2307956091970,"duration":16555,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1430,"timestamp":2307956091946,"duration":17600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1436,"name":"read-resource","id":1437,"timestamp":2307956092029,"duration":17526,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1436,"timestamp":2307956092019,"duration":17654,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudArrowUpIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1432,"name":"read-resource","id":1433,"timestamp":2307956091994,"duration":17686,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1432,"timestamp":2307956091982,"duration":17791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClockIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1434,"name":"read-resource","id":1435,"timestamp":2307956092012,"duration":17766,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1434,"timestamp":2307956092001,"duration":17863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudArrowDownIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1438,"name":"read-resource","id":1439,"timestamp":2307956092048,"duration":17821,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1438,"timestamp":2307956092039,"duration":17909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1440,"name":"read-resource","id":1441,"timestamp":2307956092065,"duration":17888,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1440,"timestamp":2307956092055,"duration":17981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Cog6ToothIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1442,"name":"read-resource","id":1443,"timestamp":2307956092084,"duration":17958,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1442,"timestamp":2307956092074,"duration":18047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CodeBracketSquareIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1444,"name":"read-resource","id":1445,"timestamp":2307956092103,"duration":18023,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1444,"timestamp":2307956092094,"duration":18115,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Cog8ToothIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1448,"name":"read-resource","id":1449,"timestamp":2307956092134,"duration":18079,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1448,"timestamp":2307956092125,"duration":18178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CogIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1450,"name":"read-resource","id":1451,"timestamp":2307956092149,"duration":18159,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1450,"timestamp":2307956092140,"duration":18246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CommandLineIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1452,"name":"read-resource","id":1453,"timestamp":2307956092168,"duration":18223,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1452,"timestamp":2307956092159,"duration":18310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ComputerDesktopIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1446,"name":"read-resource","id":1447,"timestamp":2307956092118,"duration":18356,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1446,"timestamp":2307956092110,"duration":18441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CodeBracketIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1454,"name":"read-resource","id":1455,"timestamp":2307956092188,"duration":18366,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1454,"timestamp":2307956092179,"duration":18458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CpuChipIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1460,"name":"read-resource","id":1461,"timestamp":2307956092239,"duration":18403,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1460,"timestamp":2307956092231,"duration":18488,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CubeIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1456,"name":"read-resource","id":1457,"timestamp":2307956092204,"duration":18519,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1456,"timestamp":2307956092196,"duration":18604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CreditCardIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1458,"name":"read-resource","id":1459,"timestamp":2307956092224,"duration":18580,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1458,"timestamp":2307956092215,"duration":18670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CubeTransparentIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1462,"name":"read-resource","id":1463,"timestamp":2307956092254,"duration":18656,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1462,"timestamp":2307956092245,"duration":18745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyBangladeshiIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1466,"name":"read-resource","id":1467,"timestamp":2307956092287,"duration":18708,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1466,"timestamp":2307956092275,"duration":18798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyEuroIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1464,"name":"read-resource","id":1465,"timestamp":2307956092269,"duration":18809,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1464,"timestamp":2307956092260,"duration":18899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyDollarIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1468,"name":"read-resource","id":1469,"timestamp":2307956095335,"duration":17618,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1468,"timestamp":2307956095315,"duration":18107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyPoundIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1472,"name":"read-resource","id":1473,"timestamp":2307956095373,"duration":18060,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1472,"timestamp":2307956095363,"duration":18179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CursorArrowRaysIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1474,"name":"read-resource","id":1475,"timestamp":2307956095389,"duration":18159,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1474,"timestamp":2307956095379,"duration":18263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyYenIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1470,"name":"read-resource","id":1471,"timestamp":2307956095355,"duration":18292,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1470,"timestamp":2307956095344,"duration":18388,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyRupeeIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1476,"name":"read-resource","id":1477,"timestamp":2307956095456,"duration":18280,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1476,"timestamp":2307956095397,"duration":18452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CursorArrowRippleIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1478,"name":"read-resource","id":1479,"timestamp":2307956095473,"duration":18381,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1478,"timestamp":2307956095464,"duration":18479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DevicePhoneMobileIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1482,"name":"read-resource","id":1483,"timestamp":2307956096429,"duration":17518,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1482,"timestamp":2307956096417,"duration":17609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentArrowDownIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1480,"name":"read-resource","id":1481,"timestamp":2307956096408,"duration":17623,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1480,"timestamp":2307956095487,"duration":18624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DeviceTabletIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1484,"name":"read-resource","id":1485,"timestamp":2307956096448,"duration":17757,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1484,"timestamp":2307956096435,"duration":18007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentArrowUpIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1486,"name":"read-resource","id":1487,"timestamp":2307956096468,"duration":17990,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1486,"timestamp":2307956096459,"duration":18188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentCheckIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1488,"name":"read-resource","id":1489,"timestamp":2307956096484,"duration":18169,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1488,"timestamp":2307956096475,"duration":18301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentMagnifyingGlassIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1492,"name":"read-resource","id":1493,"timestamp":2307956102031,"duration":13809,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1492,"timestamp":2307956102018,"duration":13982,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentChartBarIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1496,"name":"read-resource","id":1497,"timestamp":2307956102072,"duration":13934,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1496,"timestamp":2307956102062,"duration":14056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentPlusIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1490,"name":"read-resource","id":1491,"timestamp":2307956102003,"duration":14120,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1490,"timestamp":2307956101964,"duration":14258,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentDuplicateIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1494,"name":"read-resource","id":1495,"timestamp":2307956102054,"duration":14173,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1494,"timestamp":2307956102038,"duration":14279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentMinusIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1500,"name":"read-resource","id":1501,"timestamp":2307956102103,"duration":14220,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1500,"timestamp":2307956102094,"duration":14319,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1504,"name":"read-resource","id":1505,"timestamp":2307956102143,"duration":14275,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1504,"timestamp":2307956102131,"duration":14375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EnvelopeIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1498,"name":"read-resource","id":1499,"timestamp":2307956102088,"duration":14426,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1498,"timestamp":2307956102078,"duration":14518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentTextIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1506,"name":"read-resource","id":1507,"timestamp":2307956102212,"duration":14389,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1506,"timestamp":2307956102148,"duration":14537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisVerticalIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1510,"name":"read-resource","id":1511,"timestamp":2307956102246,"duration":14448,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1510,"timestamp":2307956102237,"duration":14539,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EnvelopeOpenIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1502,"name":"read-resource","id":1503,"timestamp":2307956102125,"duration":14656,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1502,"timestamp":2307956102108,"duration":14753,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisHorizontalCircleIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1508,"name":"read-resource","id":1509,"timestamp":2307956102229,"duration":14636,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1508,"timestamp":2307956102220,"duration":14730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisHorizontalIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1516,"name":"read-resource","id":1517,"timestamp":2307956102289,"duration":14666,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1516,"timestamp":2307956102280,"duration":15689,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeDropperIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1518,"name":"read-resource","id":1519,"timestamp":2307956102302,"duration":15673,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1518,"timestamp":2307956102294,"duration":15781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeSlashIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1520,"name":"read-resource","id":1521,"timestamp":2307956102316,"duration":15764,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1520,"timestamp":2307956102308,"duration":15867,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1512,"name":"read-resource","id":1513,"timestamp":2307956102259,"duration":15920,"tags":{},"startTime":1664295729106}] +[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1512,"timestamp":2307956102251,"duration":16158,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ExclamationCircleIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1514,"name":"read-resource","id":1515,"timestamp":2307956102275,"duration":16138,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1514,"timestamp":2307956102264,"duration":16457,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ExclamationTriangleIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1522,"name":"read-resource","id":1523,"timestamp":2307956102332,"duration":16395,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1522,"timestamp":2307956102323,"duration":16489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FaceFrownIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1524,"name":"read-resource","id":1525,"timestamp":2307956102345,"duration":16471,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1524,"timestamp":2307956102337,"duration":16558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FaceSmileIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1530,"name":"read-resource","id":1531,"timestamp":2307956102388,"duration":16515,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1530,"timestamp":2307956102380,"duration":16604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FireIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1526,"name":"read-resource","id":1527,"timestamp":2307956102361,"duration":16630,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1526,"timestamp":2307956102352,"duration":16718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FingerPrintIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1532,"name":"read-resource","id":1533,"timestamp":2307956102401,"duration":16677,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1532,"timestamp":2307956102393,"duration":16761,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FlagIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1534,"name":"read-resource","id":1535,"timestamp":2307956102415,"duration":16746,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1534,"timestamp":2307956102406,"duration":16832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderArrowDownIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1528,"name":"read-resource","id":1529,"timestamp":2307956102375,"duration":16868,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1528,"timestamp":2307956102365,"duration":16960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FilmIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1536,"name":"read-resource","id":1537,"timestamp":2307956102429,"duration":16901,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1536,"timestamp":2307956102420,"duration":16993,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderMinusIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1538,"name":"read-resource","id":1539,"timestamp":2307956102443,"duration":16975,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1538,"timestamp":2307956102434,"duration":17062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderOpenIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1540,"name":"read-resource","id":1541,"timestamp":2307956102458,"duration":17044,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1540,"timestamp":2307956102449,"duration":17134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderPlusIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"read-resource","id":1543,"timestamp":2307956102474,"duration":17129,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"build-module-js","id":1542,"timestamp":2307956102463,"duration":17328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/index.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1544,"name":"read-resource","id":1545,"timestamp":2307956107455,"duration":14116,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":716,"name":"build-module-js","id":1544,"timestamp":2307956107424,"duration":14747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1554,"name":"read-resource","id":1555,"timestamp":2307956107560,"duration":14625,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1554,"timestamp":2307956107550,"duration":14799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1548,"name":"read-resource","id":1549,"timestamp":2307956107504,"duration":14853,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1548,"timestamp":2307956107493,"duration":18440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1546,"name":"read-resource","id":1547,"timestamp":2307956107485,"duration":18461,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1546,"timestamp":2307956107471,"duration":21064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1560,"name":"read-resource","id":1561,"timestamp":2307956107618,"duration":20944,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1560,"timestamp":2307956107603,"duration":21185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ForwardIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1550,"name":"read-resource","id":1551,"timestamp":2307956107521,"duration":21278,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1550,"timestamp":2307956107510,"duration":21556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1558,"name":"read-resource","id":1559,"timestamp":2307956107593,"duration":21624,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1558,"timestamp":2307956107582,"duration":21859,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GifIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1556,"name":"read-resource","id":1557,"timestamp":2307956107575,"duration":21875,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1556,"timestamp":2307956107567,"duration":21999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FunnelIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1552,"name":"read-resource","id":1553,"timestamp":2307956107538,"duration":22033,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1552,"timestamp":2307956107529,"duration":25704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1562,"name":"read-resource","id":1563,"timestamp":2307956111989,"duration":23207,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1562,"timestamp":2307956111818,"duration":23598,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GiftTopIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1564,"name":"read-resource","id":1565,"timestamp":2307956112021,"duration":23403,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1564,"timestamp":2307956112002,"duration":23534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GiftIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1566,"name":"read-resource","id":1567,"timestamp":2307956112040,"duration":23502,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1566,"timestamp":2307956112029,"duration":23613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAltIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1574,"name":"read-resource","id":1575,"timestamp":2307956112119,"duration":23528,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1574,"timestamp":2307956112110,"duration":23630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandRaisedIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1572,"name":"read-resource","id":1573,"timestamp":2307956112102,"duration":23643,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1572,"timestamp":2307956112093,"duration":23739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAsiaAustraliaIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1570,"name":"read-resource","id":1571,"timestamp":2307956112080,"duration":23757,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1570,"timestamp":2307956112070,"duration":23853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeEuropeAfricaIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1568,"name":"read-resource","id":1569,"timestamp":2307956112063,"duration":23865,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1568,"timestamp":2307956112053,"duration":23964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAmericasIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1576,"name":"read-resource","id":1577,"timestamp":2307956112138,"duration":23884,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1576,"timestamp":2307956112129,"duration":23974,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandThumbDownIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1578,"name":"read-resource","id":1579,"timestamp":2307956112153,"duration":23954,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1578,"timestamp":2307956112145,"duration":24040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandThumbUpIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1580,"name":"read-resource","id":1581,"timestamp":2307956112169,"duration":24021,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1580,"timestamp":2307956112160,"duration":24112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HashtagIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1582,"name":"read-resource","id":1583,"timestamp":2307956112184,"duration":24092,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1582,"timestamp":2307956112175,"duration":24175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HeartIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1584,"name":"read-resource","id":1585,"timestamp":2307956112204,"duration":24150,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1584,"timestamp":2307956112195,"duration":24877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1588,"name":"read-resource","id":1589,"timestamp":2307956112239,"duration":24840,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1588,"timestamp":2307956112229,"duration":28571,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1586,"name":"read-resource","id":1587,"timestamp":2307956112221,"duration":28600,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1586,"timestamp":2307956112212,"duration":35225,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1594,"name":"read-resource","id":1595,"timestamp":2307956112290,"duration":35168,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1594,"timestamp":2307956112282,"duration":35426,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HomeModernIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1590,"name":"read-resource","id":1591,"timestamp":2307956112258,"duration":35457,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":770,"name":"build-module-js","id":1590,"timestamp":2307956112246,"duration":35741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1596,"name":"read-resource","id":1597,"timestamp":2307956112306,"duration":35689,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1596,"timestamp":2307956112297,"duration":35808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HomeIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1598,"name":"read-resource","id":1599,"timestamp":2307956112322,"duration":35789,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1598,"timestamp":2307956112313,"duration":35893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/IdentificationIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1600,"name":"read-resource","id":1601,"timestamp":2307956112337,"duration":35875,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1600,"timestamp":2307956112328,"duration":35976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxArrowDownIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1592,"name":"read-resource","id":1593,"timestamp":2307956112275,"duration":36034,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1592,"timestamp":2307956112266,"duration":36267,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1602,"name":"read-resource","id":1603,"timestamp":2307956112357,"duration":36199,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1602,"timestamp":2307956112348,"duration":36318,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxStackIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1604,"name":"read-resource","id":1605,"timestamp":2307956112373,"duration":36306,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1604,"timestamp":2307956112364,"duration":36411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1606,"name":"read-resource","id":1607,"timestamp":2307956112387,"duration":36398,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1606,"timestamp":2307956112379,"duration":36491,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InformationCircleIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1608,"name":"read-resource","id":1609,"timestamp":2307956115273,"duration":36656,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1608,"timestamp":2307956115241,"duration":36937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LanguageIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1612,"name":"read-resource","id":1613,"timestamp":2307956115330,"duration":36857,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1612,"timestamp":2307956115309,"duration":36991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LifebuoyIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1610,"name":"read-resource","id":1611,"timestamp":2307956115301,"duration":37006,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1610,"timestamp":2307956115287,"duration":37113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/KeyIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1614,"name":"read-resource","id":1615,"timestamp":2307956115347,"duration":37058,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1614,"timestamp":2307956115336,"duration":37154,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LightBulbIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1616,"name":"read-resource","id":1617,"timestamp":2307956115365,"duration":37130,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1616,"timestamp":2307956115353,"duration":37233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LinkIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1620,"name":"read-resource","id":1621,"timestamp":2307956115397,"duration":37194,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1620,"timestamp":2307956115384,"duration":37291,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LockClosedIcon.js"},"startTime":1664295729119}] +[{"traceId":"1979f6cbb13579d5","parentId":1618,"name":"read-resource","id":1619,"timestamp":2307956115379,"duration":37431,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1618,"timestamp":2307956115370,"duration":37528,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ListBulletIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1622,"name":"read-resource","id":1623,"timestamp":2307956115411,"duration":37492,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1622,"timestamp":2307956115402,"duration":37578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LockOpenIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1626,"name":"read-resource","id":1627,"timestamp":2307956115444,"duration":37540,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1626,"timestamp":2307956115435,"duration":37630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassMinusIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1628,"name":"read-resource","id":1629,"timestamp":2307956115458,"duration":37612,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1628,"timestamp":2307956115449,"duration":37700,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassPlusIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1630,"name":"read-resource","id":1631,"timestamp":2307956115473,"duration":37732,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1630,"timestamp":2307956115463,"duration":37820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1624,"name":"read-resource","id":1625,"timestamp":2307956115429,"duration":37858,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1624,"timestamp":2307956115420,"duration":37951,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassCircleIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1632,"name":"read-resource","id":1633,"timestamp":2307956120709,"duration":34419,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1632,"timestamp":2307956120683,"duration":34667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MapPinIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1638,"name":"read-resource","id":1639,"timestamp":2307956120774,"duration":34583,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1638,"timestamp":2307956120763,"duration":34715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusCircleIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1636,"name":"read-resource","id":1637,"timestamp":2307956120755,"duration":34729,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1636,"timestamp":2307956120744,"duration":34833,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MicrophoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1646,"name":"read-resource","id":1647,"timestamp":2307956120849,"duration":34734,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1646,"timestamp":2307956120840,"duration":34836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MoonIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1642,"name":"read-resource","id":1643,"timestamp":2307956120814,"duration":34868,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1642,"timestamp":2307956120797,"duration":34967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusSmallIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1640,"name":"read-resource","id":1641,"timestamp":2307956120791,"duration":34979,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1640,"timestamp":2307956120781,"duration":35076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MegaphoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1644,"name":"read-resource","id":1645,"timestamp":2307956120831,"duration":35031,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1644,"timestamp":2307956120821,"duration":35117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1650,"name":"read-resource","id":1651,"timestamp":2307956120884,"duration":35059,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1650,"timestamp":2307956120876,"duration":35156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/NewspaperIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1634,"name":"read-resource","id":1635,"timestamp":2307956120735,"duration":35301,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1634,"timestamp":2307956120721,"duration":35396,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MapIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1648,"name":"read-resource","id":1649,"timestamp":2307956120869,"duration":35253,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1648,"timestamp":2307956120860,"duration":35346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MusicalNoteIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1654,"name":"read-resource","id":1655,"timestamp":2307956120919,"duration":35291,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1654,"timestamp":2307956120911,"duration":35446,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaintBrushIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1652,"name":"read-resource","id":1653,"timestamp":2307956120904,"duration":35458,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1652,"timestamp":2307956120895,"duration":35542,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/NoSymbolIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1656,"name":"read-resource","id":1657,"timestamp":2307956120939,"duration":35503,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1656,"timestamp":2307956120930,"duration":35593,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaperAirplaneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1660,"name":"read-resource","id":1661,"timestamp":2307956120973,"duration":35555,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1660,"timestamp":2307956120965,"duration":35683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PauseCircleIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1658,"name":"read-resource","id":1659,"timestamp":2307956120955,"duration":35698,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1658,"timestamp":2307956120946,"duration":35792,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaperClipIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1668,"name":"read-resource","id":1669,"timestamp":2307956121048,"duration":35695,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1668,"timestamp":2307956121040,"duration":35799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneArrowDownLeftIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1662,"name":"read-resource","id":1663,"timestamp":2307956120994,"duration":35858,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1662,"timestamp":2307956120985,"duration":36035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PauseIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1664,"name":"read-resource","id":1665,"timestamp":2307956121015,"duration":36013,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1664,"timestamp":2307956121006,"duration":36143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PencilSquareIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1672,"name":"read-resource","id":1673,"timestamp":2307956121087,"duration":36068,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1672,"timestamp":2307956121079,"duration":36188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneXMarkIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1670,"name":"read-resource","id":1671,"timestamp":2307956121067,"duration":36206,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1670,"timestamp":2307956121058,"duration":36307,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneArrowUpRightIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1666,"name":"read-resource","id":1667,"timestamp":2307956121030,"duration":36342,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1666,"timestamp":2307956121021,"duration":36436,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PencilIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1678,"name":"read-resource","id":1679,"timestamp":2307956121140,"duration":36323,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1678,"timestamp":2307956121131,"duration":36423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhotoIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1674,"name":"read-resource","id":1675,"timestamp":2307956121105,"duration":36454,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1674,"timestamp":2307956121097,"duration":36546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1680,"name":"read-resource","id":1681,"timestamp":2307956121155,"duration":36493,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1680,"timestamp":2307956121146,"duration":36582,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayCircleIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1682,"name":"read-resource","id":1683,"timestamp":2307956121173,"duration":36750,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1682,"timestamp":2307956121161,"duration":36859,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayPauseIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"read-resource","id":1677,"timestamp":2307956121124,"duration":36948,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":1676,"timestamp":2307956121115,"duration":37087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/node_modules/@walletconnect/client/dist/esm/index.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1684,"name":"read-resource","id":1685,"timestamp":2307956133796,"duration":27458,"tags":{},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1684,"timestamp":2307956133756,"duration":27731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayIcon.js"},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":1686,"name":"read-resource","id":1687,"timestamp":2307956133831,"duration":27665,"tags":{},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1686,"timestamp":2307956133811,"duration":27810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusCircleIcon.js"},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":1690,"name":"read-resource","id":1691,"timestamp":2307956149986,"duration":14160,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1690,"timestamp":2307956149973,"duration":14400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1688,"name":"read-resource","id":1689,"timestamp":2307956149952,"duration":14428,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1688,"timestamp":2307956149902,"duration":14583,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusSmallIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1694,"name":"read-resource","id":1695,"timestamp":2307956150024,"duration":14467,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1694,"timestamp":2307956150014,"duration":14573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PresentationChartBarIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1692,"name":"read-resource","id":1693,"timestamp":2307956150006,"duration":14587,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1692,"timestamp":2307956149995,"duration":14681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PowerIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1696,"name":"read-resource","id":1697,"timestamp":2307956150041,"duration":14643,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1696,"timestamp":2307956150031,"duration":14741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PresentationChartLineIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1700,"name":"read-resource","id":1701,"timestamp":2307956150072,"duration":14705,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1700,"timestamp":2307956150063,"duration":14798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PrinterIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1704,"name":"read-resource","id":1705,"timestamp":2307956150105,"duration":14761,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1704,"timestamp":2307956150096,"duration":14851,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QueueListIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1702,"name":"read-resource","id":1703,"timestamp":2307956150089,"duration":14866,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1702,"timestamp":2307956150079,"duration":14958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QuestionMarkCircleIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1712,"name":"read-resource","id":1713,"timestamp":2307956150167,"duration":14875,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1712,"timestamp":2307956150158,"duration":14972,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RectangleGroupIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1698,"name":"read-resource","id":1699,"timestamp":2307956150057,"duration":15082,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1698,"timestamp":2307956150047,"duration":15172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PuzzlePieceIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1706,"name":"read-resource","id":1707,"timestamp":2307956150120,"duration":15104,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1706,"timestamp":2307956150111,"duration":15199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RadioIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1714,"name":"read-resource","id":1715,"timestamp":2307956150182,"duration":15137,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1714,"timestamp":2307956150174,"duration":15233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ReceiptRefundIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1708,"name":"read-resource","id":1709,"timestamp":2307956150135,"duration":15277,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1708,"timestamp":2307956150126,"duration":15371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QrCodeIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1710,"name":"read-resource","id":1711,"timestamp":2307956150151,"duration":15352,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1710,"timestamp":2307956150142,"duration":15442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ReceiptPercentIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1716,"name":"read-resource","id":1717,"timestamp":2307956150197,"duration":15393,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1716,"timestamp":2307956150189,"duration":15479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RectangleStackIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1718,"name":"read-resource","id":1719,"timestamp":2307956150213,"duration":15460,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1718,"timestamp":2307956150204,"duration":15553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RocketLaunchIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1720,"name":"read-resource","id":1721,"timestamp":2307956150232,"duration":15529,"tags":{},"startTime":1664295729154}] +[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1720,"timestamp":2307956150224,"duration":15773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RssIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1722,"name":"read-resource","id":1723,"timestamp":2307956150250,"duration":15848,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1722,"timestamp":2307956150242,"duration":15945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ScaleIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1724,"name":"read-resource","id":1725,"timestamp":2307956150272,"duration":15919,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1724,"timestamp":2307956150263,"duration":16012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ScissorsIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1728,"name":"read-resource","id":1729,"timestamp":2307956154494,"duration":13320,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1728,"timestamp":2307956154480,"duration":13639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1732,"name":"read-resource","id":1733,"timestamp":2307956154536,"duration":13591,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1732,"timestamp":2307956154520,"duration":13730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1730,"name":"read-resource","id":1731,"timestamp":2307956154511,"duration":13745,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1730,"timestamp":2307956154500,"duration":14550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1734,"name":"read-resource","id":1735,"timestamp":2307956154555,"duration":14502,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1734,"timestamp":2307956154541,"duration":14738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1726,"name":"read-resource","id":1727,"timestamp":2307956154464,"duration":14821,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":1726,"timestamp":2307956154427,"duration":15837,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/events/events.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1738,"name":"read-resource","id":1739,"timestamp":2307956154586,"duration":15684,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1738,"timestamp":2307956154576,"duration":15835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ServerStackIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1736,"name":"read-resource","id":1737,"timestamp":2307956154569,"duration":15847,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1736,"timestamp":2307956154560,"duration":19234,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1740,"name":"read-resource","id":1741,"timestamp":2307956154603,"duration":19222,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1740,"timestamp":2307956154592,"duration":19534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShareIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1742,"name":"read-resource","id":1743,"timestamp":2307956154621,"duration":19513,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1742,"timestamp":2307956154611,"duration":19645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShieldCheckIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1746,"name":"read-resource","id":1747,"timestamp":2307956154659,"duration":19604,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1746,"timestamp":2307956154646,"duration":19713,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShieldExclamationIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1748,"name":"read-resource","id":1749,"timestamp":2307956154673,"duration":19691,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1748,"timestamp":2307956154665,"duration":19790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShoppingBagIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1744,"name":"read-resource","id":1745,"timestamp":2307956154641,"duration":19820,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1744,"timestamp":2307956154632,"duration":19930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ServerIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1750,"name":"read-resource","id":1751,"timestamp":2307956154689,"duration":19880,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1750,"timestamp":2307956154678,"duration":19973,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SignalSlashIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1754,"name":"read-resource","id":1755,"timestamp":2307956154720,"duration":19938,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1754,"timestamp":2307956154708,"duration":20036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SignalIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1752,"name":"read-resource","id":1753,"timestamp":2307956154702,"duration":20048,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1752,"timestamp":2307956154694,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShoppingCartIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1758,"name":"read-resource","id":1759,"timestamp":2307956154757,"duration":20088,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1758,"timestamp":2307956154744,"duration":20192,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SpeakerWaveIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1756,"name":"read-resource","id":1757,"timestamp":2307956154739,"duration":20260,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1756,"timestamp":2307956154724,"duration":20359,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SparklesIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1760,"name":"read-resource","id":1761,"timestamp":2307956154774,"duration":20394,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1760,"timestamp":2307956154761,"duration":20591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SpeakerXMarkIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1764,"name":"read-resource","id":1765,"timestamp":2307956160359,"duration":17533,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1764,"timestamp":2307956160345,"duration":17719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Square3Stack3DIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1762,"name":"read-resource","id":1763,"timestamp":2307956160331,"duration":17741,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1762,"timestamp":2307956160295,"duration":17883,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Square2StackIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1768,"name":"read-resource","id":1769,"timestamp":2307956160403,"duration":17780,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1768,"timestamp":2307956160392,"duration":17884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SquaresPlusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1766,"name":"read-resource","id":1767,"timestamp":2307956160380,"duration":17902,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1766,"timestamp":2307956160369,"duration":17999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Squares2X2Icon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1770,"name":"read-resource","id":1771,"timestamp":2307956160423,"duration":17949,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1770,"timestamp":2307956160413,"duration":18042,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StarIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1772,"name":"read-resource","id":1773,"timestamp":2307956160440,"duration":18019,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1772,"timestamp":2307956160431,"duration":18108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StopCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1774,"name":"read-resource","id":1775,"timestamp":2307956160457,"duration":18087,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1774,"timestamp":2307956160447,"duration":18173,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StopIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1778,"name":"read-resource","id":1779,"timestamp":2307956160492,"duration":18132,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1778,"timestamp":2307956160483,"duration":18221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SwatchIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1776,"name":"read-resource","id":1777,"timestamp":2307956160474,"duration":18234,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1776,"timestamp":2307956160464,"duration":18325,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SunIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1780,"name":"read-resource","id":1781,"timestamp":2307956160513,"duration":18283,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1780,"timestamp":2307956160504,"duration":18372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TableCellsIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1782,"name":"read-resource","id":1783,"timestamp":2307956160529,"duration":18351,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1782,"timestamp":2307956160519,"duration":18442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TagIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1786,"name":"read-resource","id":1787,"timestamp":2307956160568,"duration":18399,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1786,"timestamp":2307956160558,"duration":18487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TrashIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1788,"name":"read-resource","id":1789,"timestamp":2307956160588,"duration":18462,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1788,"timestamp":2307956160577,"duration":18555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TrophyIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1784,"name":"read-resource","id":1785,"timestamp":2307956160551,"duration":18588,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1784,"timestamp":2307956160542,"duration":18676,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TicketIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1790,"name":"read-resource","id":1791,"timestamp":2307956160606,"duration":18616,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1790,"timestamp":2307956160595,"duration":18706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TruckIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1794,"name":"read-resource","id":1795,"timestamp":2307956160648,"duration":18657,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1794,"timestamp":2307956160635,"duration":18752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TvIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1796,"name":"read-resource","id":1797,"timestamp":2307956160665,"duration":18727,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1796,"timestamp":2307956160656,"duration":18813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserGroupIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1798,"name":"read-resource","id":1799,"timestamp":2307956160680,"duration":18794,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1798,"timestamp":2307956160671,"duration":18877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserMinusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1792,"name":"read-resource","id":1793,"timestamp":2307956160628,"duration":18925,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1792,"timestamp":2307956160618,"duration":19009,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1802,"name":"read-resource","id":1803,"timestamp":2307956160711,"duration":18920,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1802,"timestamp":2307956160702,"duration":19002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1804,"name":"read-resource","id":1805,"timestamp":2307956160731,"duration":18978,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1804,"timestamp":2307956160722,"duration":19061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UsersIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1800,"name":"read-resource","id":1801,"timestamp":2307956160696,"duration":19091,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1800,"timestamp":2307956160686,"duration":19180,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserPlusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1806,"name":"read-resource","id":1807,"timestamp":2307956160746,"duration":19124,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1806,"timestamp":2307956160737,"duration":19212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VariableIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1810,"name":"read-resource","id":1811,"timestamp":2307956160781,"duration":19172,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1810,"timestamp":2307956160772,"duration":19259,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VideoCameraIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1808,"name":"read-resource","id":1809,"timestamp":2307956160766,"duration":19270,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1808,"timestamp":2307956160757,"duration":19355,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VideoCameraSlashIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1816,"name":"read-resource","id":1817,"timestamp":2307956160827,"duration":19290,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1816,"timestamp":2307956160818,"duration":19377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WalletIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1812,"name":"read-resource","id":1813,"timestamp":2307956160796,"duration":19404,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1812,"timestamp":2307956160788,"duration":19487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ViewColumnsIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1814,"name":"read-resource","id":1815,"timestamp":2307956160812,"duration":19467,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1814,"timestamp":2307956160803,"duration":19551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ViewfinderCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1820,"name":"read-resource","id":1821,"timestamp":2307956160864,"duration":19495,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1820,"timestamp":2307956160856,"duration":19585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WrenchScrewdriverIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1822,"name":"read-resource","id":1823,"timestamp":2307956160884,"duration":19563,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1822,"timestamp":2307956160875,"duration":19649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WindowIcon.js"},"startTime":1664295729164}] +[{"traceId":"1979f6cbb13579d5","parentId":1818,"name":"read-resource","id":1819,"timestamp":2307956160847,"duration":19821,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1818,"timestamp":2307956160838,"duration":19919,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WifiIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1828,"name":"read-resource","id":1829,"timestamp":2307956160933,"duration":19830,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1828,"timestamp":2307956160924,"duration":19913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/XMarkIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1824,"name":"read-resource","id":1825,"timestamp":2307956160902,"duration":19940,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1824,"timestamp":2307956160894,"duration":21775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WrenchIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1826,"name":"read-resource","id":1827,"timestamp":2307956160918,"duration":21803,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1826,"timestamp":2307956160909,"duration":21934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/XCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1830,"name":"read-resource","id":1831,"timestamp":2307956160958,"duration":21892,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1830,"timestamp":2307956160947,"duration":22002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AcademicCapIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1832,"name":"read-resource","id":1833,"timestamp":2307956163858,"duration":21483,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1832,"timestamp":2307956163821,"duration":21688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AdjustmentsHorizontalIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1838,"name":"read-resource","id":1839,"timestamp":2307956163929,"duration":21586,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1838,"timestamp":2307956163919,"duration":21694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxXMarkIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1834,"name":"read-resource","id":1835,"timestamp":2307956163891,"duration":21726,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1834,"timestamp":2307956163878,"duration":21830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AdjustmentsVerticalIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1840,"name":"read-resource","id":1841,"timestamp":2307956163944,"duration":21769,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1840,"timestamp":2307956163934,"duration":21868,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1836,"name":"read-resource","id":1837,"timestamp":2307956163913,"duration":21895,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1836,"timestamp":2307956163898,"duration":21992,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxArrowDownIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1842,"name":"read-resource","id":1843,"timestamp":2307956163959,"duration":21936,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1842,"timestamp":2307956163950,"duration":22027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownCircleIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1844,"name":"read-resource","id":1845,"timestamp":2307956163976,"duration":22088,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1844,"timestamp":2307956163967,"duration":22189,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownLeftIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1846,"name":"read-resource","id":1847,"timestamp":2307956163998,"duration":22164,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1846,"timestamp":2307956163989,"duration":22256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownOnSquareStackIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1848,"name":"read-resource","id":1849,"timestamp":2307956164016,"duration":22242,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1848,"timestamp":2307956164004,"duration":22336,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownOnSquareIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1854,"name":"read-resource","id":1855,"timestamp":2307956167120,"duration":21563,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1854,"timestamp":2307956167108,"duration":21791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1852,"name":"read-resource","id":1853,"timestamp":2307956167100,"duration":21808,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1852,"timestamp":2307956167086,"duration":21939,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1856,"name":"read-resource","id":1857,"timestamp":2307956167138,"duration":21893,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1856,"timestamp":2307956167127,"duration":21999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1858,"name":"read-resource","id":1859,"timestamp":2307956167155,"duration":21977,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1858,"timestamp":2307956167145,"duration":22082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftOnRectangleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1860,"name":"read-resource","id":1861,"timestamp":2307956167179,"duration":22056,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1860,"timestamp":2307956167169,"duration":22149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1862,"name":"read-resource","id":1863,"timestamp":2307956167198,"duration":22125,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1862,"timestamp":2307956167188,"duration":22223,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongDownIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1864,"name":"read-resource","id":1865,"timestamp":2307956167214,"duration":22202,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1864,"timestamp":2307956167204,"duration":22292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1866,"name":"read-resource","id":1867,"timestamp":2307956167230,"duration":22270,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1866,"timestamp":2307956167221,"duration":22356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1850,"name":"read-resource","id":1851,"timestamp":2307956167074,"duration":22509,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1850,"timestamp":2307956167044,"duration":22618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownRightIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1868,"name":"read-resource","id":1869,"timestamp":2307956167247,"duration":22420,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1868,"timestamp":2307956167237,"duration":22506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongUpIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1870,"name":"read-resource","id":1871,"timestamp":2307956167269,"duration":22479,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1870,"timestamp":2307956167254,"duration":22575,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowPathRoundedSquareIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1878,"name":"read-resource","id":1879,"timestamp":2307956167347,"duration":22486,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1878,"timestamp":2307956167339,"duration":22577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightCircleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1876,"name":"read-resource","id":1877,"timestamp":2307956167328,"duration":22593,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1876,"timestamp":2307956167319,"duration":22682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1880,"name":"read-resource","id":1881,"timestamp":2307956167363,"duration":22642,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1880,"timestamp":2307956167354,"duration":22731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightOnRectangleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1888,"name":"read-resource","id":1889,"timestamp":2307956167425,"duration":22664,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1888,"timestamp":2307956167416,"duration":22751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1882,"name":"read-resource","id":1883,"timestamp":2307956167377,"duration":22795,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1882,"timestamp":2307956167369,"duration":22879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1872,"name":"read-resource","id":1873,"timestamp":2307956167287,"duration":22964,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1872,"timestamp":2307956167278,"duration":23734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1884,"name":"read-resource","id":1885,"timestamp":2307956167395,"duration":23624,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1884,"timestamp":2307956167385,"duration":23746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallDownIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1886,"name":"read-resource","id":1887,"timestamp":2307956167409,"duration":23728,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1886,"timestamp":2307956167401,"duration":23831,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1890,"name":"read-resource","id":1891,"timestamp":2307956167448,"duration":23848,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1890,"timestamp":2307956167439,"duration":23950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallUpIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1874,"name":"read-resource","id":1875,"timestamp":2307956167308,"duration":24133,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1874,"timestamp":2307956167298,"duration":27822,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1892,"name":"read-resource","id":1893,"timestamp":2307956167464,"duration":29884,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1892,"timestamp":2307956167456,"duration":30147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTopRightOnSquareIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1894,"name":"read-resource","id":1895,"timestamp":2307956176441,"duration":21859,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1894,"timestamp":2307956176402,"duration":22054,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTrendingDownIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1898,"name":"read-resource","id":1899,"timestamp":2307956176488,"duration":21976,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1898,"timestamp":2307956176476,"duration":22092,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpCircleIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1896,"name":"read-resource","id":1897,"timestamp":2307956176468,"duration":22104,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1896,"timestamp":2307956176455,"duration":22208,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTrendingUpIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1900,"name":"read-resource","id":1901,"timestamp":2307956176506,"duration":22162,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1900,"timestamp":2307956176495,"duration":22264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpLeftIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1902,"name":"read-resource","id":1903,"timestamp":2307956176526,"duration":22238,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1902,"timestamp":2307956176516,"duration":22331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpOnSquareStackIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1904,"name":"read-resource","id":1905,"timestamp":2307956176544,"duration":22308,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1904,"timestamp":2307956176534,"duration":22399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpOnSquareIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1906,"name":"read-resource","id":1907,"timestamp":2307956176560,"duration":22379,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1906,"timestamp":2307956176551,"duration":22466,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpRightIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1910,"name":"read-resource","id":1911,"timestamp":2307956184233,"duration":19111,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1910,"timestamp":2307956184219,"duration":19429,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1912,"name":"read-resource","id":1913,"timestamp":2307956184249,"duration":19409,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1912,"timestamp":2307956184239,"duration":19546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1908,"name":"read-resource","id":1909,"timestamp":2307956184208,"duration":19583,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1908,"timestamp":2307956184174,"duration":19717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpTrayIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1914,"name":"read-resource","id":1915,"timestamp":2307956184269,"duration":19627,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1914,"timestamp":2307956184258,"duration":19728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1916,"name":"read-resource","id":1917,"timestamp":2307956184284,"duration":19707,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1916,"timestamp":2307956184275,"duration":19802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnRightIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1918,"name":"read-resource","id":1919,"timestamp":2307956184298,"duration":19784,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1918,"timestamp":2307956184289,"duration":19882,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1920,"name":"read-resource","id":1921,"timestamp":2307956184313,"duration":19864,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1920,"timestamp":2307956184304,"duration":19964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingInIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1922,"name":"read-resource","id":1923,"timestamp":2307956184327,"duration":19945,"tags":{},"startTime":1664295729188}] +[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1922,"timestamp":2307956184318,"duration":20171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingOutIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1926,"name":"read-resource","id":1927,"timestamp":2307956184356,"duration":20138,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1926,"timestamp":2307956184346,"duration":20230,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsUpDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1928,"name":"read-resource","id":1929,"timestamp":2307956184370,"duration":20211,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1928,"timestamp":2307956184361,"duration":20299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AtSymbolIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1930,"name":"read-resource","id":1931,"timestamp":2307956184386,"duration":20279,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1930,"timestamp":2307956184377,"duration":20368,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BackspaceIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1932,"name":"read-resource","id":1933,"timestamp":2307956184400,"duration":20351,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1932,"timestamp":2307956184391,"duration":20441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BackwardIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1934,"name":"read-resource","id":1935,"timestamp":2307956184415,"duration":20423,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1934,"timestamp":2307956184406,"duration":20512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BanknotesIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1924,"name":"read-resource","id":1925,"timestamp":2307956184341,"duration":20581,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1924,"timestamp":2307956184332,"duration":20669,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsRightLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1936,"name":"read-resource","id":1937,"timestamp":2307956184429,"duration":20577,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1936,"timestamp":2307956184420,"duration":20662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars2Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1938,"name":"read-resource","id":1939,"timestamp":2307956184445,"duration":20642,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1938,"timestamp":2307956184436,"duration":20736,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3BottomLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1940,"name":"read-resource","id":1941,"timestamp":2307956184459,"duration":20820,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1940,"timestamp":2307956184450,"duration":20913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3BottomRightIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1942,"name":"read-resource","id":1943,"timestamp":2307956184473,"duration":20894,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1942,"timestamp":2307956184465,"duration":20989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1944,"name":"read-resource","id":1945,"timestamp":2307956184487,"duration":20972,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1944,"timestamp":2307956184478,"duration":21102,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars4Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1948,"name":"read-resource","id":1949,"timestamp":2307956184518,"duration":21071,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1948,"timestamp":2307956184509,"duration":21165,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3CenterLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1952,"name":"read-resource","id":1953,"timestamp":2307956184546,"duration":21133,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1952,"timestamp":2307956184538,"duration":21220,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery0Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1946,"name":"read-resource","id":1947,"timestamp":2307956184504,"duration":21259,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1946,"timestamp":2307956184492,"duration":21348,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1950,"name":"read-resource","id":1951,"timestamp":2307956184532,"duration":21312,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1950,"timestamp":2307956184524,"duration":21399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BarsArrowUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1956,"name":"read-resource","id":1957,"timestamp":2307956184575,"duration":21352,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1956,"timestamp":2307956184566,"duration":21440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery50Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1954,"name":"read-resource","id":1955,"timestamp":2307956184560,"duration":21452,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1954,"timestamp":2307956184551,"duration":21540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery100Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1958,"name":"read-resource","id":1959,"timestamp":2307956184593,"duration":21503,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1958,"timestamp":2307956184584,"duration":21595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BeakerIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1960,"name":"read-resource","id":1961,"timestamp":2307956184606,"duration":21577,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1960,"timestamp":2307956184598,"duration":21665,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellAlertIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1962,"name":"read-resource","id":1963,"timestamp":2307956184620,"duration":21648,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1962,"timestamp":2307956184611,"duration":21747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1966,"name":"read-resource","id":1967,"timestamp":2307956184648,"duration":21715,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1966,"timestamp":2307956184638,"duration":21811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1964,"name":"read-resource","id":1965,"timestamp":2307956184633,"duration":21821,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1964,"timestamp":2307956184624,"duration":21907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellSnoozeIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1968,"name":"read-resource","id":1969,"timestamp":2307956184662,"duration":21875,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1968,"timestamp":2307956184653,"duration":21960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BoltSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1970,"name":"read-resource","id":1971,"timestamp":2307956184675,"duration":21942,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1970,"timestamp":2307956184667,"duration":22027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BoltIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1972,"name":"read-resource","id":1973,"timestamp":2307956184689,"duration":22009,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1972,"timestamp":2307956184680,"duration":22093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1974,"name":"read-resource","id":1975,"timestamp":2307956184702,"duration":22076,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1974,"timestamp":2307956184694,"duration":22161,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1976,"name":"read-resource","id":1977,"timestamp":2307956184716,"duration":22144,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1976,"timestamp":2307956184707,"duration":22234,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkSquareIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1978,"name":"read-resource","id":1979,"timestamp":2307956184730,"duration":22252,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1978,"timestamp":2307956184721,"duration":22471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1980,"name":"read-resource","id":1981,"timestamp":2307956184743,"duration":22454,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1980,"timestamp":2307956184734,"duration":22540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BriefcaseIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1982,"name":"read-resource","id":1983,"timestamp":2307956184756,"duration":22523,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1982,"timestamp":2307956184748,"duration":22609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BugAntIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1986,"name":"read-resource","id":1987,"timestamp":2307956188379,"duration":22226,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1986,"timestamp":2307956188362,"duration":22431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingOffice2Icon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1984,"name":"read-resource","id":1985,"timestamp":2307956188351,"duration":22450,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1984,"timestamp":2307956188320,"duration":22783,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingLibraryIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1988,"name":"read-resource","id":1989,"timestamp":2307956188396,"duration":22730,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1988,"timestamp":2307956188385,"duration":22931,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingOfficeIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1990,"name":"read-resource","id":1991,"timestamp":2307956188414,"duration":22911,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1990,"timestamp":2307956188404,"duration":23044,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CakeIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1992,"name":"read-resource","id":1993,"timestamp":2307956188429,"duration":23025,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1992,"timestamp":2307956188420,"duration":23140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingStorefrontIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1998,"name":"read-resource","id":1999,"timestamp":2307956188481,"duration":23084,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1998,"timestamp":2307956188472,"duration":23186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalendarIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1994,"name":"read-resource","id":1995,"timestamp":2307956188451,"duration":23213,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1994,"timestamp":2307956188435,"duration":23321,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalculatorIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1996,"name":"read-resource","id":1997,"timestamp":2307956188467,"duration":23294,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1996,"timestamp":2307956188457,"duration":23392,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalendarDaysIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2000,"name":"read-resource","id":2001,"timestamp":2307956188496,"duration":23386,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2000,"timestamp":2307956188487,"duration":23490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CameraIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2002,"name":"read-resource","id":2003,"timestamp":2307956188509,"duration":23569,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2002,"timestamp":2307956188501,"duration":23672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartBarIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2004,"name":"read-resource","id":2005,"timestamp":2307956196127,"duration":17299,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2004,"timestamp":2307956196089,"duration":17588,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartBarSquareIcon.js"},"startTime":1664295729199},{"traceId":"1979f6cbb13579d5","parentId":2006,"name":"read-resource","id":2007,"timestamp":2307956196156,"duration":17532,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2006,"timestamp":2307956196143,"duration":17663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartPieIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2010,"name":"read-resource","id":2011,"timestamp":2307956196201,"duration":17610,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2010,"timestamp":2307956196190,"duration":17717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleBottomCenterIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2012,"name":"read-resource","id":2013,"timestamp":2307956196218,"duration":17694,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2012,"timestamp":2307956196209,"duration":17793,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftEllipsisIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2008,"name":"read-resource","id":2009,"timestamp":2307956196177,"duration":17829,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2008,"timestamp":2307956196165,"duration":17928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleBottomCenterTextIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2016,"name":"read-resource","id":2017,"timestamp":2307956196260,"duration":17838,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2016,"timestamp":2307956196250,"duration":17930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2014,"name":"read-resource","id":2015,"timestamp":2307956196237,"duration":17949,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2014,"timestamp":2307956196227,"duration":18047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2020,"name":"read-resource","id":2021,"timestamp":2307956196296,"duration":17982,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2020,"timestamp":2307956196287,"duration":18071,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleOvalLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2018,"name":"read-resource","id":2019,"timestamp":2307956196277,"duration":18085,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2018,"timestamp":2307956196267,"duration":18177,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleOvalLeftEllipsisIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2022,"name":"read-resource","id":2023,"timestamp":2307956196313,"duration":18136,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2022,"timestamp":2307956196304,"duration":18224,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckBadgeIcon.js"},"startTime":1664295729200}] +[{"traceId":"1979f6cbb13579d5","parentId":2024,"name":"read-resource","id":2025,"timestamp":2307956196331,"duration":18330,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2024,"timestamp":2307956196322,"duration":18421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2026,"name":"read-resource","id":2027,"timestamp":2307956196348,"duration":18402,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2026,"timestamp":2307956196338,"duration":18487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleDownIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2028,"name":"read-resource","id":2029,"timestamp":2307956196375,"duration":18455,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2028,"timestamp":2307956196359,"duration":18547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2030,"name":"read-resource","id":2031,"timestamp":2307956196395,"duration":18516,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2030,"timestamp":2307956196382,"duration":18611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2032,"name":"read-resource","id":2033,"timestamp":2307956196412,"duration":18587,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2032,"timestamp":2307956196402,"duration":18681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2034,"name":"read-resource","id":2035,"timestamp":2307956196428,"duration":18660,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2034,"timestamp":2307956196419,"duration":18752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleUpIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2036,"name":"read-resource","id":2037,"timestamp":2307956196451,"duration":18728,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2036,"timestamp":2307956196442,"duration":18813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDownIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2038,"name":"read-resource","id":2039,"timestamp":2307956196468,"duration":18793,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2038,"timestamp":2307956196458,"duration":18877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2040,"name":"read-resource","id":2041,"timestamp":2307956201593,"duration":15315,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2040,"timestamp":2307956201547,"duration":15496,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronUpIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2042,"name":"read-resource","id":2043,"timestamp":2307956201630,"duration":15525,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2042,"timestamp":2307956201615,"duration":15796,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2044,"name":"read-resource","id":2045,"timestamp":2307956201651,"duration":16179,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2044,"timestamp":2307956201639,"duration":16330,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronUpDownIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2048,"name":"read-resource","id":2049,"timestamp":2307956201685,"duration":16291,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2048,"timestamp":2307956201675,"duration":16401,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentCheckIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2056,"name":"read-resource","id":2057,"timestamp":2307956201737,"duration":16345,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2056,"timestamp":2307956201729,"duration":16441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2046,"name":"read-resource","id":2047,"timestamp":2307956201669,"duration":16505,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2046,"timestamp":2307956201658,"duration":16600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CircleStackIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2052,"name":"read-resource","id":2053,"timestamp":2307956201711,"duration":16552,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2052,"timestamp":2307956201702,"duration":16648,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2054,"name":"read-resource","id":2055,"timestamp":2307956201725,"duration":16654,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2054,"timestamp":2307956201715,"duration":16747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2050,"name":"read-resource","id":2051,"timestamp":2307956201698,"duration":16833,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2050,"timestamp":2307956201689,"duration":16927,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentListIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2058,"name":"read-resource","id":2059,"timestamp":2307956208863,"duration":9772,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2058,"timestamp":2307956208830,"duration":9892,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudArrowDownIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2060,"name":"read-resource","id":2061,"timestamp":2307956208898,"duration":9829,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2060,"timestamp":2307956208884,"duration":9921,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudArrowUpIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2062,"name":"read-resource","id":2063,"timestamp":2307956208917,"duration":9893,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2062,"timestamp":2307956208906,"duration":9981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2064,"name":"read-resource","id":2065,"timestamp":2307956208939,"duration":9952,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2064,"timestamp":2307956208925,"duration":10043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CodeBracketSquareIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2066,"name":"read-resource","id":2067,"timestamp":2307956208961,"duration":10012,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2066,"timestamp":2307956208950,"duration":10113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CodeBracketIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2070,"name":"read-resource","id":2071,"timestamp":2307956208998,"duration":10070,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2070,"timestamp":2307956208988,"duration":10172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Cog8ToothIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2068,"name":"read-resource","id":2069,"timestamp":2307956208977,"duration":10190,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2068,"timestamp":2307956208968,"duration":10285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Cog6ToothIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2072,"name":"read-resource","id":2073,"timestamp":2307956209014,"duration":10242,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2072,"timestamp":2307956209005,"duration":10331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CogIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2074,"name":"read-resource","id":2075,"timestamp":2307956209029,"duration":10310,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2074,"timestamp":2307956209020,"duration":10395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CommandLineIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2076,"name":"read-resource","id":2077,"timestamp":2307956209045,"duration":10375,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2076,"timestamp":2307956209036,"duration":10461,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ComputerDesktopIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2078,"name":"read-resource","id":2079,"timestamp":2307956209065,"duration":10436,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2078,"timestamp":2307956209056,"duration":10521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CpuChipIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2080,"name":"read-resource","id":2081,"timestamp":2307956209083,"duration":10499,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2080,"timestamp":2307956209074,"duration":10585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CreditCardIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2082,"name":"read-resource","id":2083,"timestamp":2307956209748,"duration":9916,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2082,"timestamp":2307956209734,"duration":10007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CubeTransparentIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2084,"name":"read-resource","id":2085,"timestamp":2307956209766,"duration":9979,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2084,"timestamp":2307956209756,"duration":10065,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CubeIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2088,"name":"read-resource","id":2089,"timestamp":2307956209798,"duration":10028,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2088,"timestamp":2307956209788,"duration":10113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyDollarIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2090,"name":"read-resource","id":2091,"timestamp":2307956209818,"duration":10088,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2090,"timestamp":2307956209809,"duration":10171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyEuroIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2086,"name":"read-resource","id":2087,"timestamp":2307956209782,"duration":10202,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2086,"timestamp":2307956209773,"duration":10286,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyBangladeshiIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2092,"name":"read-resource","id":2093,"timestamp":2307956209834,"duration":10228,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2092,"timestamp":2307956209825,"duration":10312,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyPoundIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2094,"name":"read-resource","id":2095,"timestamp":2307956209853,"duration":10288,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2094,"timestamp":2307956209844,"duration":10379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyRupeeIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2096,"name":"read-resource","id":2097,"timestamp":2307956209870,"duration":10359,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2096,"timestamp":2307956209861,"duration":10444,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyYenIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2098,"name":"read-resource","id":2099,"timestamp":2307956209889,"duration":10420,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2098,"timestamp":2307956209881,"duration":10506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CursorArrowRaysIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2100,"name":"read-resource","id":2101,"timestamp":2307956209905,"duration":10491,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2100,"timestamp":2307956209896,"duration":10581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CursorArrowRippleIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2104,"name":"read-resource","id":2105,"timestamp":2307956209941,"duration":10549,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2104,"timestamp":2307956209932,"duration":10633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DeviceTabletIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2102,"name":"read-resource","id":2103,"timestamp":2307956209924,"duration":10645,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2102,"timestamp":2307956209916,"duration":10728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DevicePhoneMobileIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2106,"name":"read-resource","id":2107,"timestamp":2307956209964,"duration":10685,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2106,"timestamp":2307956209952,"duration":10772,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentArrowDownIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2110,"name":"read-resource","id":2111,"timestamp":2307956209996,"duration":10732,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2110,"timestamp":2307956209986,"duration":10819,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentChartBarIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2108,"name":"read-resource","id":2109,"timestamp":2307956209980,"duration":10829,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2108,"timestamp":2307956209971,"duration":10913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentArrowUpIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2112,"name":"read-resource","id":2113,"timestamp":2307956210013,"duration":10875,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2112,"timestamp":2307956210004,"duration":11107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentCheckIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2114,"name":"read-resource","id":2115,"timestamp":2307956210028,"duration":11101,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2114,"timestamp":2307956210019,"duration":11270,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2116,"name":"read-resource","id":2117,"timestamp":2307956210048,"duration":11248,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2116,"timestamp":2307956210035,"duration":11377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentMagnifyingGlassIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2118,"name":"read-resource","id":2119,"timestamp":2307956210064,"duration":11358,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2118,"timestamp":2307956210055,"duration":11460,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentMinusIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2120,"name":"read-resource","id":2121,"timestamp":2307956210083,"duration":11452,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2120,"timestamp":2307956210074,"duration":11550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentPlusIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2124,"name":"read-resource","id":2125,"timestamp":2307956210117,"duration":11515,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2124,"timestamp":2307956210108,"duration":11613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2122,"name":"read-resource","id":2123,"timestamp":2307956210098,"duration":11628,"tags":{},"startTime":1664295729213}] +[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2122,"timestamp":2307956210090,"duration":11866,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2126,"name":"read-resource","id":2127,"timestamp":2307956210133,"duration":11829,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2126,"timestamp":2307956210124,"duration":11921,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisHorizontalCircleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2128,"name":"read-resource","id":2129,"timestamp":2307956210154,"duration":11901,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2128,"timestamp":2307956210145,"duration":11994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisVerticalIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2130,"name":"read-resource","id":2131,"timestamp":2307956210170,"duration":11975,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2130,"timestamp":2307956210161,"duration":12064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisHorizontalIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2132,"name":"read-resource","id":2133,"timestamp":2307956210188,"duration":12042,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2132,"timestamp":2307956210180,"duration":13767,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EnvelopeOpenIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2134,"name":"read-resource","id":2135,"timestamp":2307956210210,"duration":13747,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2134,"timestamp":2307956210201,"duration":13889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EnvelopeIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2136,"name":"read-resource","id":2137,"timestamp":2307956210225,"duration":13875,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2136,"timestamp":2307956210216,"duration":13970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ExclamationCircleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2138,"name":"read-resource","id":2139,"timestamp":2307956210245,"duration":13945,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2138,"timestamp":2307956210236,"duration":14040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2140,"name":"read-resource","id":2141,"timestamp":2307956210260,"duration":14043,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2140,"timestamp":2307956210252,"duration":14130,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeDropperIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2142,"name":"read-resource","id":2143,"timestamp":2307956210275,"duration":14112,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2142,"timestamp":2307956210266,"duration":14198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeSlashIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2144,"name":"read-resource","id":2145,"timestamp":2307956210289,"duration":14179,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2144,"timestamp":2307956210281,"duration":14268,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2148,"name":"read-resource","id":2149,"timestamp":2307956213025,"duration":15080,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2148,"timestamp":2307956213007,"duration":15306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FaceSmileIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2150,"name":"read-resource","id":2151,"timestamp":2307956213043,"duration":15278,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2150,"timestamp":2307956213031,"duration":15407,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FilmIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2152,"name":"read-resource","id":2153,"timestamp":2307956213058,"duration":15385,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2152,"timestamp":2307956213048,"duration":15491,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FingerPrintIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2146,"name":"read-resource","id":2147,"timestamp":2307956212992,"duration":15553,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2146,"timestamp":2307956212907,"duration":15728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FaceFrownIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2156,"name":"read-resource","id":2157,"timestamp":2307956213087,"duration":15553,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2156,"timestamp":2307956213078,"duration":15649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FlagIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2154,"name":"read-resource","id":2155,"timestamp":2307956213073,"duration":15659,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2154,"timestamp":2307956213063,"duration":15763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FireIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2158,"name":"read-resource","id":2159,"timestamp":2307956213106,"duration":15726,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2158,"timestamp":2307956213096,"duration":15820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderArrowDownIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2160,"name":"read-resource","id":2161,"timestamp":2307956213120,"duration":15847,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2160,"timestamp":2307956213111,"duration":15941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderMinusIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2164,"name":"read-resource","id":2165,"timestamp":2307956213149,"duration":15907,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2164,"timestamp":2307956213139,"duration":15998,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderPlusIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2162,"name":"read-resource","id":2163,"timestamp":2307956213134,"duration":16007,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2162,"timestamp":2307956213124,"duration":16093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderOpenIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2166,"name":"read-resource","id":2167,"timestamp":2307956213163,"duration":16059,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2166,"timestamp":2307956213154,"duration":16146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2172,"name":"read-resource","id":2173,"timestamp":2307956213204,"duration":16101,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2172,"timestamp":2307956213195,"duration":16191,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FunnelIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2168,"name":"read-resource","id":2169,"timestamp":2307956213177,"duration":16214,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2168,"timestamp":2307956213168,"duration":16302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ForwardIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2174,"name":"read-resource","id":2175,"timestamp":2307956213221,"duration":16253,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2174,"timestamp":2307956213208,"duration":16345,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GiftTopIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2170,"name":"read-resource","id":2171,"timestamp":2307956213191,"duration":16379,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2170,"timestamp":2307956213182,"duration":16473,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GifIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2176,"name":"read-resource","id":2177,"timestamp":2307956213236,"duration":16485,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2176,"timestamp":2307956213227,"duration":16581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GiftIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2182,"name":"read-resource","id":2183,"timestamp":2307956216102,"duration":14909,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2182,"timestamp":2307956216092,"duration":15140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAsiaAustraliaIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2186,"name":"read-resource","id":2187,"timestamp":2307956216128,"duration":15112,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2186,"timestamp":2307956216119,"duration":15242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeEuropeAfricaIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2178,"name":"read-resource","id":2179,"timestamp":2307956216061,"duration":15307,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2178,"timestamp":2307956216029,"duration":15442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAltIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2184,"name":"read-resource","id":2185,"timestamp":2307956216115,"duration":15361,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2184,"timestamp":2307956216106,"duration":15464,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandRaisedIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2180,"name":"read-resource","id":2181,"timestamp":2307956216087,"duration":15488,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2180,"timestamp":2307956216069,"duration":15594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAmericasIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2188,"name":"read-resource","id":2189,"timestamp":2307956216140,"duration":15527,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2188,"timestamp":2307956216132,"duration":15624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandThumbDownIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2190,"name":"read-resource","id":2191,"timestamp":2307956216154,"duration":15606,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2190,"timestamp":2307956216145,"duration":15697,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandThumbUpIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2192,"name":"read-resource","id":2193,"timestamp":2307956216169,"duration":15676,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2192,"timestamp":2307956216160,"duration":15763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HashtagIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2200,"name":"read-resource","id":2201,"timestamp":2307956216245,"duration":15683,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":786,"name":"build-module-js","id":2200,"timestamp":2307956216237,"duration":16046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2196,"name":"read-resource","id":2197,"timestamp":2307956216212,"duration":16077,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2196,"timestamp":2307956216203,"duration":17315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"read-resource","id":2195,"timestamp":2307956216192,"duration":17333,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":2194,"timestamp":2307956216181,"duration":19576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/wc-client/build/index.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2198,"name":"read-resource","id":2199,"timestamp":2307956216230,"duration":19543,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2198,"timestamp":2307956216222,"duration":19898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2208,"name":"read-resource","id":2209,"timestamp":2307956216316,"duration":19812,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2208,"timestamp":2307956216308,"duration":20093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2202,"name":"read-resource","id":2203,"timestamp":2307956216263,"duration":20146,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2202,"timestamp":2307956216254,"duration":28272,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2206,"name":"read-resource","id":2207,"timestamp":2307956216302,"duration":28251,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2206,"timestamp":2307956216293,"duration":29912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2210,"name":"read-resource","id":2211,"timestamp":2307956216332,"duration":29891,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2210,"timestamp":2307956216323,"duration":37132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2204,"name":"read-resource","id":2205,"timestamp":2307956216286,"duration":37191,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2204,"timestamp":2307956216274,"duration":41991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2212,"name":"read-resource","id":2213,"timestamp":2307956216353,"duration":44526,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2212,"timestamp":2307956216343,"duration":47899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2214,"name":"read-resource","id":2215,"timestamp":2307956217673,"duration":48474,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2214,"timestamp":2307956217648,"duration":48740,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HeartIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2218,"name":"read-resource","id":2219,"timestamp":2307956217707,"duration":48694,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2218,"timestamp":2307956217698,"duration":48839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HomeIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2220,"name":"read-resource","id":2221,"timestamp":2307956217720,"duration":48823,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2220,"timestamp":2307956217711,"duration":48991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/IdentificationIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2216,"name":"read-resource","id":2217,"timestamp":2307956217694,"duration":49028,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2216,"timestamp":2307956217680,"duration":49293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HomeModernIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2222,"name":"read-resource","id":2223,"timestamp":2307956217732,"duration":49250,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2222,"timestamp":2307956217723,"duration":49377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxArrowDownIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2224,"name":"read-resource","id":2225,"timestamp":2307956217770,"duration":49335,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2224,"timestamp":2307956217735,"duration":49469,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxStackIcon.js"},"startTime":1664295729221}] +[{"traceId":"1979f6cbb13579d5","parentId":2228,"name":"read-resource","id":2229,"timestamp":2307956217813,"duration":49779,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2228,"timestamp":2307956217804,"duration":49904,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2226,"name":"read-resource","id":2227,"timestamp":2307956217799,"duration":49915,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2226,"timestamp":2307956217783,"duration":50024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2232,"name":"read-resource","id":2233,"timestamp":2307956226021,"duration":41792,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2232,"timestamp":2307956226005,"duration":41897,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LanguageIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2230,"name":"read-resource","id":2231,"timestamp":2307956225995,"duration":41913,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2230,"timestamp":2307956225965,"duration":42033,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/KeyIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2234,"name":"read-resource","id":2235,"timestamp":2307956226039,"duration":41964,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2234,"timestamp":2307956226027,"duration":42063,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LifebuoyIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2236,"name":"read-resource","id":2237,"timestamp":2307956226055,"duration":42040,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2236,"timestamp":2307956226045,"duration":42134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LightBulbIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2242,"name":"read-resource","id":2243,"timestamp":2307956226100,"duration":42083,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2242,"timestamp":2307956226090,"duration":42178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LockClosedIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2244,"name":"read-resource","id":2245,"timestamp":2307956226113,"duration":42164,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2244,"timestamp":2307956226104,"duration":42256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LockOpenIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2238,"name":"read-resource","id":2239,"timestamp":2307956226071,"duration":42294,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2238,"timestamp":2307956226061,"duration":42385,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2250,"name":"read-resource","id":2251,"timestamp":2307956226155,"duration":42295,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2250,"timestamp":2307956226146,"duration":42384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassPlusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2246,"name":"read-resource","id":2247,"timestamp":2307956226127,"duration":42408,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2246,"timestamp":2307956226118,"duration":42497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassCircleIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2256,"name":"read-resource","id":2257,"timestamp":2307956226196,"duration":42423,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2256,"timestamp":2307956226188,"duration":42513,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MapIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2240,"name":"read-resource","id":2241,"timestamp":2307956226085,"duration":42620,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2240,"timestamp":2307956226076,"duration":42714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ListBulletIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2248,"name":"read-resource","id":2249,"timestamp":2307956226140,"duration":42655,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2248,"timestamp":2307956226131,"duration":43049,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassMinusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2254,"name":"read-resource","id":2255,"timestamp":2307956226182,"duration":43006,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2254,"timestamp":2307956226173,"duration":43118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2258,"name":"read-resource","id":2259,"timestamp":2307956226211,"duration":43086,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2258,"timestamp":2307956226202,"duration":43186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MegaphoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2260,"name":"read-resource","id":2261,"timestamp":2307956226225,"duration":43169,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2260,"timestamp":2307956226216,"duration":43556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MicrophoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2252,"name":"read-resource","id":2253,"timestamp":2307956226169,"duration":43610,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2252,"timestamp":2307956226161,"duration":43710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2262,"name":"read-resource","id":2263,"timestamp":2307956226239,"duration":43637,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2262,"timestamp":2307956226230,"duration":43726,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2264,"name":"read-resource","id":2265,"timestamp":2307956226251,"duration":43709,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2264,"timestamp":2307956226243,"duration":43846,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusSmallIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2266,"name":"read-resource","id":2267,"timestamp":2307956226268,"duration":43826,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2266,"timestamp":2307956226257,"duration":44681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2270,"name":"read-resource","id":2271,"timestamp":2307956226297,"duration":44649,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2270,"timestamp":2307956226288,"duration":44798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MusicalNoteIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2272,"name":"read-resource","id":2273,"timestamp":2307956226311,"duration":44780,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2272,"timestamp":2307956226303,"duration":44877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/NewspaperIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2268,"name":"read-resource","id":2269,"timestamp":2307956226283,"duration":44901,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2268,"timestamp":2307956226272,"duration":44996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MoonIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2274,"name":"read-resource","id":2275,"timestamp":2307956226326,"duration":44947,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2274,"timestamp":2307956226317,"duration":45040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/NoSymbolIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2278,"name":"read-resource","id":2279,"timestamp":2307956226357,"duration":45006,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":792,"name":"build-module-js","id":2278,"timestamp":2307956226347,"duration":45367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/event-utils/dist/index.esm.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2280,"name":"read-resource","id":2281,"timestamp":2307956226370,"duration":45352,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2280,"timestamp":2307956226361,"duration":45523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaperAirplaneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2284,"name":"read-resource","id":2285,"timestamp":2307956226400,"duration":45496,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2284,"timestamp":2307956226392,"duration":45680,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PauseCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2276,"name":"read-resource","id":2277,"timestamp":2307956226339,"duration":45741,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2276,"timestamp":2307956226331,"duration":45929,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaintBrushIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2282,"name":"read-resource","id":2283,"timestamp":2307956226388,"duration":45883,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2282,"timestamp":2307956226379,"duration":46043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaperClipIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2290,"name":"read-resource","id":2291,"timestamp":2307956226437,"duration":45993,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2290,"timestamp":2307956226429,"duration":46113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PencilIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2294,"name":"read-resource","id":2295,"timestamp":2307956226463,"duration":46087,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2294,"timestamp":2307956226454,"duration":46193,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneXMarkIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2292,"name":"read-resource","id":2293,"timestamp":2307956226450,"duration":46203,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2292,"timestamp":2307956226441,"duration":46303,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneArrowDownLeftIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2286,"name":"read-resource","id":2287,"timestamp":2307956226413,"duration":46337,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2286,"timestamp":2307956226404,"duration":46435,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PauseIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2288,"name":"read-resource","id":2289,"timestamp":2307956226425,"duration":46420,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2288,"timestamp":2307956226417,"duration":46523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PencilSquareIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2300,"name":"read-resource","id":2301,"timestamp":2307956226505,"duration":46446,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2300,"timestamp":2307956226497,"duration":46547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhotoIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2298,"name":"read-resource","id":2299,"timestamp":2307956226493,"duration":46557,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2298,"timestamp":2307956226484,"duration":46652,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2302,"name":"read-resource","id":2303,"timestamp":2307956226524,"duration":46617,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2302,"timestamp":2307956226515,"duration":46715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2296,"name":"read-resource","id":2297,"timestamp":2307956226476,"duration":46761,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2296,"timestamp":2307956226467,"duration":46854,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneArrowUpRightIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2304,"name":"read-resource","id":2305,"timestamp":2307956226538,"duration":46790,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2304,"timestamp":2307956226530,"duration":46881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayPauseIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2306,"name":"read-resource","id":2307,"timestamp":2307956226552,"duration":46865,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2306,"timestamp":2307956226544,"duration":46958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2308,"name":"read-resource","id":2309,"timestamp":2307956226565,"duration":46942,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2308,"timestamp":2307956226557,"duration":47036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2310,"name":"read-resource","id":2311,"timestamp":2307956226580,"duration":47018,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2310,"timestamp":2307956226569,"duration":47108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusSmallIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2316,"name":"read-resource","id":2317,"timestamp":2307956226619,"duration":47064,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2316,"timestamp":2307956226610,"duration":47153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PresentationChartBarIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2312,"name":"read-resource","id":2313,"timestamp":2307956226592,"duration":47176,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2312,"timestamp":2307956226583,"duration":47264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2314,"name":"read-resource","id":2315,"timestamp":2307956226605,"duration":47248,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2314,"timestamp":2307956226597,"duration":47333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PowerIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2322,"name":"read-resource","id":2323,"timestamp":2307956227097,"duration":46838,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2322,"timestamp":2307956227084,"duration":46938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PuzzlePieceIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2318,"name":"read-resource","id":2319,"timestamp":2307956226636,"duration":47391,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2318,"timestamp":2307956226624,"duration":47487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PresentationChartLineIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2320,"name":"read-resource","id":2321,"timestamp":2307956227079,"duration":47038,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2320,"timestamp":2307956226642,"duration":47827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PrinterIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2326,"name":"read-resource","id":2327,"timestamp":2307956227129,"duration":47346,"tags":{},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2326,"timestamp":2307956227121,"duration":47453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QueueListIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2328,"name":"read-resource","id":2329,"timestamp":2307956227144,"duration":47554,"tags":{},"startTime":1664295729231}] +[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2328,"timestamp":2307956227135,"duration":48089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QuestionMarkCircleIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2324,"name":"read-resource","id":2325,"timestamp":2307956227116,"duration":48123,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2324,"timestamp":2307956227104,"duration":48339,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QrCodeIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2330,"name":"read-resource","id":2331,"timestamp":2307956227159,"duration":52456,"tags":{},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2330,"timestamp":2307956227150,"duration":52774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RadioIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2336,"name":"read-resource","id":2337,"timestamp":2307956230610,"duration":49466,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2336,"timestamp":2307956230598,"duration":49619,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RectangleGroupIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2334,"name":"read-resource","id":2335,"timestamp":2307956230592,"duration":49632,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2334,"timestamp":2307956230581,"duration":49751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ReceiptRefundIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2332,"name":"read-resource","id":2333,"timestamp":2307956230572,"duration":49767,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2332,"timestamp":2307956230547,"duration":49888,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ReceiptPercentIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2342,"name":"read-resource","id":2343,"timestamp":2307956230730,"duration":49711,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2342,"timestamp":2307956230655,"duration":49881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RssIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2338,"name":"read-resource","id":2339,"timestamp":2307956230626,"duration":49917,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2338,"timestamp":2307956230616,"duration":50018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RectangleStackIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2344,"name":"read-resource","id":2345,"timestamp":2307956230748,"duration":49892,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2344,"timestamp":2307956230738,"duration":49995,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ScaleIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2346,"name":"read-resource","id":2347,"timestamp":2307956230762,"duration":49977,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2346,"timestamp":2307956230753,"duration":50073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ServerStackIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2340,"name":"read-resource","id":2341,"timestamp":2307956230642,"duration":50189,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2340,"timestamp":2307956230633,"duration":50283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RocketLaunchIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2348,"name":"read-resource","id":2349,"timestamp":2307956230777,"duration":50145,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2348,"timestamp":2307956230767,"duration":50241,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ScissorsIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2350,"name":"read-resource","id":2351,"timestamp":2307956230795,"duration":50217,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2350,"timestamp":2307956230783,"duration":50314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ServerIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2356,"name":"read-resource","id":2357,"timestamp":2307956230835,"duration":50266,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2356,"timestamp":2307956230827,"duration":50358,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShieldExclamationIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2354,"name":"read-resource","id":2355,"timestamp":2307956230822,"duration":50368,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2354,"timestamp":2307956230813,"duration":50458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShieldCheckIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2352,"name":"read-resource","id":2353,"timestamp":2307956230809,"duration":50467,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2352,"timestamp":2307956230800,"duration":50776,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShareIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2360,"name":"read-resource","id":2361,"timestamp":2307956230863,"duration":50720,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2360,"timestamp":2307956230855,"duration":50823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShoppingCartIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2358,"name":"read-resource","id":2359,"timestamp":2307956230851,"duration":50861,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2358,"timestamp":2307956230842,"duration":50956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShoppingBagIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2362,"name":"read-resource","id":2363,"timestamp":2307956230876,"duration":50927,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2362,"timestamp":2307956230868,"duration":51020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SignalSlashIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2364,"name":"read-resource","id":2365,"timestamp":2307956265955,"duration":20981,"tags":{},"startTime":1664295729269},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2364,"timestamp":2307956265908,"duration":21333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SignalIcon.js"},"startTime":1664295729269},{"traceId":"1979f6cbb13579d5","parentId":2370,"name":"read-resource","id":2371,"timestamp":2307956278387,"duration":9891,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2370,"timestamp":2307956278377,"duration":10201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SpeakerXMarkIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2372,"name":"read-resource","id":2373,"timestamp":2307956278412,"duration":10175,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2372,"timestamp":2307956278395,"duration":10332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Square2StackIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2366,"name":"read-resource","id":2367,"timestamp":2307956278343,"duration":10391,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2366,"timestamp":2307956278302,"duration":10549,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SparklesIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2368,"name":"read-resource","id":2369,"timestamp":2307956278368,"duration":10493,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2368,"timestamp":2307956278355,"duration":10620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SpeakerWaveIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2374,"name":"read-resource","id":2375,"timestamp":2307956278429,"duration":10552,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2374,"timestamp":2307956278418,"duration":10667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Square3Stack3DIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2376,"name":"read-resource","id":2377,"timestamp":2307956278445,"duration":10646,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2376,"timestamp":2307956278436,"duration":10754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Squares2X2Icon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2378,"name":"read-resource","id":2379,"timestamp":2307956278465,"duration":10731,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2378,"timestamp":2307956278456,"duration":10832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SquaresPlusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2380,"name":"read-resource","id":2381,"timestamp":2307956278482,"duration":10811,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2380,"timestamp":2307956278473,"duration":10906,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StarIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2388,"name":"read-resource","id":2389,"timestamp":2307956278551,"duration":10834,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2388,"timestamp":2307956278543,"duration":10937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TagIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2382,"name":"read-resource","id":2383,"timestamp":2307956278505,"duration":10985,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2382,"timestamp":2307956278495,"duration":11082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StopCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2384,"name":"read-resource","id":2385,"timestamp":2307956278520,"duration":11062,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2384,"timestamp":2307956278512,"duration":11151,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StopIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2386,"name":"read-resource","id":2387,"timestamp":2307956278536,"duration":11132,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2386,"timestamp":2307956278526,"duration":11243,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SwatchIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2390,"name":"read-resource","id":2391,"timestamp":2307956278570,"duration":11204,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2390,"timestamp":2307956278562,"duration":11311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TableCellsIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2394,"name":"read-resource","id":2395,"timestamp":2307956278605,"duration":11272,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2394,"timestamp":2307956278597,"duration":11411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TicketIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2396,"name":"read-resource","id":2397,"timestamp":2307956278619,"duration":11400,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2396,"timestamp":2307956278611,"duration":11581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TrashIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2392,"name":"read-resource","id":2393,"timestamp":2307956278585,"duration":11615,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2392,"timestamp":2307956278577,"duration":11781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SunIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2398,"name":"read-resource","id":2399,"timestamp":2307956278633,"duration":11738,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2398,"timestamp":2307956278625,"duration":11898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TrophyIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2400,"name":"read-resource","id":2401,"timestamp":2307956278649,"duration":11881,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2400,"timestamp":2307956278640,"duration":12035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TruckIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2402,"name":"read-resource","id":2403,"timestamp":2307956278669,"duration":12016,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2402,"timestamp":2307956278661,"duration":12132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TvIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2404,"name":"read-resource","id":2405,"timestamp":2307956278685,"duration":12114,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2404,"timestamp":2307956278676,"duration":12217,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2406,"name":"read-resource","id":2407,"timestamp":2307956278703,"duration":12195,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2406,"timestamp":2307956278695,"duration":12322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserGroupIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2408,"name":"read-resource","id":2409,"timestamp":2307956278717,"duration":12306,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2408,"timestamp":2307956278709,"duration":12408,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserMinusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2410,"name":"read-resource","id":2411,"timestamp":2307956278732,"duration":12392,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2410,"timestamp":2307956278724,"duration":12502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserPlusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2412,"name":"read-resource","id":2413,"timestamp":2307956278747,"duration":12486,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2412,"timestamp":2307956278739,"duration":12582,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2414,"name":"read-resource","id":2415,"timestamp":2307956278764,"duration":12563,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2414,"timestamp":2307956278753,"duration":12665,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UsersIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2418,"name":"read-resource","id":2419,"timestamp":2307956278794,"duration":12630,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2418,"timestamp":2307956278786,"duration":12731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2420,"name":"read-resource","id":2421,"timestamp":2307956278810,"duration":12714,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2420,"timestamp":2307956278801,"duration":12803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VideoCameraSlashIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2422,"name":"read-resource","id":2423,"timestamp":2307956278828,"duration":12781,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2422,"timestamp":2307956278820,"duration":12871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ViewfinderCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2424,"name":"read-resource","id":2425,"timestamp":2307956278852,"duration":12845,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2424,"timestamp":2307956278839,"duration":12946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ViewColumnsIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2416,"name":"read-resource","id":2417,"timestamp":2307956278779,"duration":13011,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2416,"timestamp":2307956278771,"duration":13104,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VariableIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2426,"name":"read-resource","id":2427,"timestamp":2307956278866,"duration":13014,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2426,"timestamp":2307956278858,"duration":13109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WalletIcon.js"},"startTime":1664295729282}] +[{"traceId":"1979f6cbb13579d5","parentId":2430,"name":"read-resource","id":2431,"timestamp":2307956278907,"duration":13196,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2430,"timestamp":2307956278899,"duration":13296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WindowIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2432,"name":"read-resource","id":2433,"timestamp":2307956278922,"duration":13278,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2432,"timestamp":2307956278914,"duration":13367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WrenchScrewdriverIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2428,"name":"read-resource","id":2429,"timestamp":2307956278888,"duration":13398,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2428,"timestamp":2307956278880,"duration":13497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WifiIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2434,"name":"read-resource","id":2435,"timestamp":2307956278936,"duration":13446,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2434,"timestamp":2307956278928,"duration":13544,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WrenchIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2436,"name":"read-resource","id":2437,"timestamp":2307956278954,"duration":13523,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2436,"timestamp":2307956278946,"duration":13611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2438,"name":"read-resource","id":2439,"timestamp":2307956278969,"duration":13595,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2438,"timestamp":2307956278961,"duration":13684,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2440,"name":"read-resource","id":2441,"timestamp":2307956278984,"duration":13666,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"build-module-mjs","id":2440,"timestamp":2307956278976,"duration":13790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-constant.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2442,"name":"read-resource","id":2443,"timestamp":2307956279004,"duration":13776,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2442,"timestamp":2307956278996,"duration":14094,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/process.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2444,"name":"read-resource","id":2445,"timestamp":2307956279025,"duration":14074,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2444,"timestamp":2307956279017,"duration":14175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2446,"name":"read-resource","id":2447,"timestamp":2307956279040,"duration":14162,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2446,"timestamp":2307956279032,"duration":14248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/warn-once.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2448,"name":"read-resource","id":2449,"timestamp":2307956279054,"duration":14232,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2448,"timestamp":2307956279046,"duration":14466,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2454,"name":"read-resource","id":2455,"timestamp":2307956279106,"duration":14412,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":832,"name":"build-module-mjs","id":2454,"timestamp":2307956279098,"duration":14533,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-combine-values.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2452,"name":"read-resource","id":2453,"timestamp":2307956279092,"duration":14547,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2452,"timestamp":2307956279084,"duration":14738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2456,"name":"read-resource","id":2457,"timestamp":2307956279126,"duration":14703,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":840,"name":"build-module-mjs","id":2456,"timestamp":2307956279117,"duration":14813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-on-change.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2450,"name":"read-resource","id":2451,"timestamp":2307956279077,"duration":14859,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":802,"name":"build-module-mjs","id":2450,"timestamp":2307956279067,"duration":15012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@zag-js/element-size/dist/index.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2462,"name":"read-resource","id":2463,"timestamp":2307956279173,"duration":14913,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":848,"name":"build-module-mjs","id":2462,"timestamp":2307956279165,"duration":15010,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/resolve-value.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2458,"name":"read-resource","id":2459,"timestamp":2307956279140,"duration":15041,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"build-module-mjs","id":2458,"timestamp":2307956279132,"duration":15108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/LazyContext.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2460,"name":"read-resource","id":2461,"timestamp":2307956279157,"duration":15089,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"build-module-mjs","id":2460,"timestamp":2307956279146,"duration":15182,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/load-features.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2466,"name":"read-resource","id":2467,"timestamp":2307956279201,"duration":15136,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"build-module-mjs","id":2466,"timestamp":2307956279193,"duration":15358,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/Item.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2464,"name":"read-resource","id":2465,"timestamp":2307956279187,"duration":15370,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"build-module-mjs","id":2464,"timestamp":2307956279179,"duration":15587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/Group.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2474,"name":"read-resource","id":2475,"timestamp":2307956279271,"duration":15502,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"build-module-mjs","id":2474,"timestamp":2307956279262,"duration":15615,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2468,"name":"read-resource","id":2469,"timestamp":2307956279215,"duration":15673,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":828,"name":"build-module-mjs","id":2468,"timestamp":2307956279207,"duration":17313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/group.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2476,"name":"read-resource","id":2477,"timestamp":2307956279285,"duration":17423,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"build-module-mjs","id":2476,"timestamp":2307956279277,"duration":17519,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2472,"name":"read-resource","id":2473,"timestamp":2307956279252,"duration":17550,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2472,"timestamp":2307956279242,"duration":17698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/array.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2470,"name":"read-resource","id":2471,"timestamp":2307956279236,"duration":17718,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":874,"name":"build-module-mjs","id":2470,"timestamp":2307956279227,"duration":17779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2480,"name":"read-resource","id":2481,"timestamp":2307956279318,"duration":17693,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2480,"timestamp":2307956279310,"duration":17894,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion-proxy.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"read-resource","id":2479,"timestamp":2307956279299,"duration":17924,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"build-module-mjs","id":2478,"timestamp":2307956279291,"duration":18086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/gestures.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"read-resource","id":2483,"timestamp":2307956279333,"duration":18050,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"build-module-mjs","id":2482,"timestamp":2307956279325,"duration":18197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"read-resource","id":2485,"timestamp":2307956279347,"duration":22813,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2484,"timestamp":2307956279339,"duration":23148,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/drag.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2486,"name":"read-resource","id":2487,"timestamp":2307956279365,"duration":23131,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2486,"timestamp":2307956279357,"duration":23226,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"read-resource","id":2489,"timestamp":2307956279384,"duration":23227,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2488,"timestamp":2307956279376,"duration":23357,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/create-config.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2490,"name":"read-resource","id":2491,"timestamp":2307956283672,"duration":19448,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2490,"timestamp":2307956283636,"duration":19655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2494,"name":"read-resource","id":2495,"timestamp":2307956283717,"duration":19582,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2494,"timestamp":2307956283707,"duration":19696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2492,"name":"read-resource","id":2493,"timestamp":2307956283698,"duration":19711,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2492,"timestamp":2307956283684,"duration":19804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2496,"name":"read-resource","id":2497,"timestamp":2307956283737,"duration":19756,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2496,"timestamp":2307956283726,"duration":20454,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2498,"name":"read-resource","id":2499,"timestamp":2307956283756,"duration":20432,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2498,"timestamp":2307956283745,"duration":20513,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2500,"name":"read-resource","id":2501,"timestamp":2307956283775,"duration":20489,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2500,"timestamp":2307956283764,"duration":20662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/lifecycles.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2502,"name":"read-resource","id":2503,"timestamp":2307956283794,"duration":20638,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2502,"timestamp":2307956283783,"duration":20869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2504,"name":"read-resource","id":2505,"timestamp":2307956283829,"duration":20828,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2504,"timestamp":2307956283811,"duration":20949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2508,"name":"read-resource","id":2509,"timestamp":2307956283861,"duration":20905,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":886,"name":"build-module-mjs","id":2508,"timestamp":2307956283852,"duration":21018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2506,"name":"read-resource","id":2507,"timestamp":2307956283845,"duration":23775,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2506,"timestamp":2307956283836,"duration":23981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/definitions.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2514,"name":"read-resource","id":2515,"timestamp":2307956283909,"duration":23918,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2514,"timestamp":2307956283901,"duration":24168,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2518,"name":"read-resource","id":2519,"timestamp":2307956283952,"duration":24126,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2518,"timestamp":2307956283939,"duration":24266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"read-resource","id":2513,"timestamp":2307956283891,"duration":24321,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":860,"name":"build-module-mjs","id":2512,"timestamp":2307956283883,"duration":24930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2516,"name":"read-resource","id":2517,"timestamp":2307956283928,"duration":24892,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2516,"timestamp":2307956283920,"duration":25020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"read-resource","id":2511,"timestamp":2307956283876,"duration":25070,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2510,"timestamp":2307956283868,"duration":25207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2520,"name":"read-resource","id":2521,"timestamp":2307956283967,"duration":25117,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2520,"timestamp":2307956283958,"duration":25205,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/id.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2522,"name":"read-resource","id":2523,"timestamp":2307956283981,"duration":25617,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2522,"timestamp":2307956283973,"duration":25698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/layout/index.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2528,"name":"read-resource","id":2529,"timestamp":2307956287909,"duration":26949,"tags":{},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":908,"name":"build-module-mjs","id":2528,"timestamp":2307956287897,"duration":27161,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2524,"name":"read-resource","id":2525,"timestamp":2307956287854,"duration":27216,"tags":{},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2524,"timestamp":2307956287812,"duration":27437,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/VisualElementHandler.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2526,"name":"read-resource","id":2527,"timestamp":2307956287887,"duration":27368,"tags":{},"startTime":1664295729291}] +[{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2526,"timestamp":2307956287870,"duration":27581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2530,"name":"read-resource","id":2531,"timestamp":2307956299950,"duration":16829,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2530,"timestamp":2307956299909,"duration":16980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2538,"name":"read-resource","id":2539,"timestamp":2307956300039,"duration":16857,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":944,"name":"build-module-mjs","id":2538,"timestamp":2307956300027,"duration":18971,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/utils/event-type.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2536,"name":"read-resource","id":2537,"timestamp":2307956300017,"duration":19001,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2536,"timestamp":2307956300007,"duration":19153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2532,"name":"read-resource","id":2533,"timestamp":2307956299982,"duration":19192,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":942,"name":"build-module-mjs","id":2532,"timestamp":2307956299968,"duration":19627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/utils.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"read-resource","id":2543,"timestamp":2307956300069,"duration":19535,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2542,"timestamp":2307956300060,"duration":19649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2534,"name":"read-resource","id":2535,"timestamp":2307956300001,"duration":19715,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2534,"timestamp":2307956299990,"duration":19808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2540,"name":"read-resource","id":2541,"timestamp":2307956300055,"duration":19749,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2540,"timestamp":2307956300046,"duration":20836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2548,"name":"read-resource","id":2549,"timestamp":2307956300128,"duration":20770,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"build-module-mjs","id":2548,"timestamp":2307956300116,"duration":20863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2550,"name":"read-resource","id":2551,"timestamp":2307956300145,"duration":20844,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"build-module-mjs","id":2550,"timestamp":2307956300133,"duration":20958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2544,"name":"read-resource","id":2545,"timestamp":2307956300088,"duration":21010,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":812,"name":"build-module-js","id":2544,"timestamp":2307956300078,"duration":21595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-animation-state/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2546,"name":"read-resource","id":2547,"timestamp":2307956300108,"duration":21573,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":810,"name":"build-module-js","id":2546,"timestamp":2307956300094,"duration":22005,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-effect/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2552,"name":"read-resource","id":2553,"timestamp":2307956300163,"duration":21942,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2552,"timestamp":2307956300152,"duration":22128,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/eventListeners.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2554,"name":"read-resource","id":2555,"timestamp":2307956300181,"duration":22105,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2554,"timestamp":2307956300170,"duration":22199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"read-resource","id":2557,"timestamp":2307956300198,"duration":22176,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2556,"timestamp":2307956300188,"duration":22694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/computeStyles.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2558,"name":"read-resource","id":2559,"timestamp":2307956300216,"duration":22673,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2558,"timestamp":2307956300204,"duration":22886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/applyStyles.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2560,"name":"read-resource","id":2561,"timestamp":2307956300230,"duration":22867,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2560,"timestamp":2307956300221,"duration":23056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/offset.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"read-resource","id":2563,"timestamp":2307956300247,"duration":23037,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2562,"timestamp":2307956300239,"duration":23440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/flip.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"read-resource","id":2565,"timestamp":2307956300261,"duration":23424,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2564,"timestamp":2307956300252,"duration":23872,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"read-resource","id":2567,"timestamp":2307956300276,"duration":23855,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2566,"timestamp":2307956300267,"duration":24198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/arrow.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2568,"name":"read-resource","id":2569,"timestamp":2307956300293,"duration":24179,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2568,"timestamp":2307956300283,"duration":24345,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/hide.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"read-resource","id":2571,"timestamp":2307956300313,"duration":24321,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2570,"timestamp":2307956300300,"duration":24529,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2572,"name":"read-resource","id":2573,"timestamp":2307956300330,"duration":24504,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2572,"timestamp":2307956300320,"duration":24614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"read-resource","id":2575,"timestamp":2307956300348,"duration":24592,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2574,"timestamp":2307956300336,"duration":24836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2578,"name":"read-resource","id":2579,"timestamp":2307956300379,"duration":24799,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2578,"timestamp":2307956300371,"duration":24876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2576,"name":"read-resource","id":2577,"timestamp":2307956300362,"duration":24889,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2576,"timestamp":2307956300354,"duration":25016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2580,"name":"read-resource","id":2581,"timestamp":2307956300396,"duration":24979,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2580,"timestamp":2307956300387,"duration":25080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2582,"name":"read-resource","id":2583,"timestamp":2307956300413,"duration":25059,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2582,"timestamp":2307956300401,"duration":25203,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/orderModifiers.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2584,"name":"read-resource","id":2585,"timestamp":2307956300428,"duration":25182,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2584,"timestamp":2307956300419,"duration":25262,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/debounce.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2588,"name":"read-resource","id":2589,"timestamp":2307956300464,"duration":25222,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2588,"timestamp":2307956300455,"duration":25293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/uniqueBy.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2586,"name":"read-resource","id":2587,"timestamp":2307956300450,"duration":25667,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2586,"timestamp":2307956300435,"duration":25953,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/validateModifiers.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2590,"name":"read-resource","id":2591,"timestamp":2307956300477,"duration":25917,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2590,"timestamp":2307956300469,"duration":25986,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getBasePlacement.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2596,"name":"read-resource","id":2597,"timestamp":2307956306293,"duration":24134,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":1014,"name":"build-module-mjs","id":2596,"timestamp":2307956306281,"duration":24372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/make-renderless-component.mjs"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"read-resource","id":2595,"timestamp":2307956306275,"duration":24387,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2594,"timestamp":2307956306261,"duration":24803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/detectOverflow.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2600,"name":"read-resource","id":2601,"timestamp":2307956306329,"duration":24742,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":900,"name":"build-module-js","id":2600,"timestamp":2307956306317,"duration":25001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2592,"name":"read-resource","id":2593,"timestamp":2307956306245,"duration":25080,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2592,"timestamp":2307956306209,"duration":25219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/mergeByName.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"read-resource","id":2599,"timestamp":2307956306311,"duration":25122,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2598,"timestamp":2307956306299,"duration":25387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/index.mjs"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2604,"name":"read-resource","id":2605,"timestamp":2307956306367,"duration":25327,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2604,"timestamp":2307956306354,"duration":25499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2602,"name":"read-resource","id":2603,"timestamp":2307956306348,"duration":25511,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2602,"timestamp":2307956306335,"duration":25752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2606,"name":"read-resource","id":2607,"timestamp":2307956306387,"duration":25705,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"build-module-js","id":2606,"timestamp":2307956306375,"duration":26121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hey-listen/dist/hey-listen.es.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2608,"name":"read-resource","id":2609,"timestamp":2307956306408,"duration":26131,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":1086,"name":"build-module-js","id":2608,"timestamp":2307956306394,"duration":26294,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-document-event.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"read-resource","id":2611,"timestamp":2307956311038,"duration":24473,"tags":{},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2610,"timestamp":2307956311002,"duration":25064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/UI.js"},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"read-resource","id":2613,"timestamp":2307956311063,"duration":25014,"tags":{},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2612,"timestamp":2307956311050,"duration":25146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/sidecar.js"},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"read-resource","id":2615,"timestamp":2307956314240,"duration":27797,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":842,"name":"build-module-js","id":2614,"timestamp":2307956314205,"duration":28121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/index.es.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2618,"name":"read-resource","id":2619,"timestamp":2307956314285,"duration":28055,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":954,"name":"build-module-js","id":2618,"timestamp":2307956314274,"duration":28427,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/focus-lock/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"read-resource","id":2617,"timestamp":2307956314267,"duration":28442,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2616,"timestamp":2307956314251,"duration":28810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/index.mjs"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2620,"name":"read-resource","id":2621,"timestamp":2307956314304,"duration":28764,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"build-module-js","id":2620,"timestamp":2307956314291,"duration":29032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2622,"name":"read-resource","id":2623,"timestamp":2307956314322,"duration":29011,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"build-module-js","id":2622,"timestamp":2307956314310,"duration":30900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2624,"name":"read-resource","id":2625,"timestamp":2307956314337,"duration":30882,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2624,"timestamp":2307956314327,"duration":32045,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2626,"name":"read-resource","id":2627,"timestamp":2307956314352,"duration":32029,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2626,"timestamp":2307956314343,"duration":33129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2628,"name":"read-resource","id":2629,"timestamp":2307956314369,"duration":33111,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2628,"timestamp":2307956314360,"duration":37150,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729318}] +[{"traceId":"1979f6cbb13579d5","parentId":2634,"name":"read-resource","id":2635,"timestamp":2307956314422,"duration":37283,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2634,"timestamp":2307956314412,"duration":38518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/index.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2636,"name":"read-resource","id":2637,"timestamp":2307956314439,"duration":38507,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2636,"timestamp":2307956314430,"duration":38696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2630,"name":"read-resource","id":2631,"timestamp":2307956314389,"duration":38744,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1138,"name":"build-module-js","id":2630,"timestamp":2307956314380,"duration":38903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-window-event.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2638,"name":"read-resource","id":2639,"timestamp":2307956314452,"duration":38839,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2638,"timestamp":2307956314444,"duration":39096,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/readability.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"read-resource","id":2633,"timestamp":2307956314404,"duration":39145,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2632,"timestamp":2307956314395,"duration":39306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/index.mjs"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2642,"name":"read-resource","id":2643,"timestamp":2307956314485,"duration":39223,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2642,"timestamp":2307956314476,"duration":39353,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/from-ratio.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2646,"name":"read-resource","id":2647,"timestamp":2307956314518,"duration":39316,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2646,"timestamp":2307956314506,"duration":39913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/format-input.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2648,"name":"read-resource","id":2649,"timestamp":2307956314536,"duration":39891,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2648,"timestamp":2307956314525,"duration":40423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/random.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2640,"name":"read-resource","id":2641,"timestamp":2307956314471,"duration":40483,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2640,"timestamp":2307956314458,"duration":40611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/to-ms-filter.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2644,"name":"read-resource","id":2645,"timestamp":2307956314501,"duration":40573,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1154,"name":"build-module-js","id":2644,"timestamp":2307956314492,"duration":40947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2650,"name":"read-resource","id":2651,"timestamp":2307956314550,"duration":49014,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2650,"timestamp":2307956314541,"duration":49178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/interfaces.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2652,"name":"read-resource","id":2653,"timestamp":2307956340297,"duration":28428,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2652,"timestamp":2307956340252,"duration":29385,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/conversion.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2658,"name":"read-resource","id":2659,"timestamp":2307956340372,"duration":29277,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2658,"timestamp":2307956340362,"duration":29560,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2660,"name":"read-resource","id":2661,"timestamp":2307956340390,"duration":29540,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"build-module-js","id":2660,"timestamp":2307956340380,"duration":29955,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/anatomy/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2654,"name":"read-resource","id":2655,"timestamp":2307956340337,"duration":30004,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"build-module-js","id":2654,"timestamp":2307956340321,"duration":30266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-size/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2662,"name":"read-resource","id":2663,"timestamp":2307956340407,"duration":30187,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"build-module-js","id":2662,"timestamp":2307956340397,"duration":32452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/theme-tools/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2656,"name":"read-resource","id":2657,"timestamp":2307956340355,"duration":32521,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"build-module-js","id":2656,"timestamp":2307956340344,"duration":33207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-pan-event/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2664,"name":"read-resource","id":2665,"timestamp":2307956340422,"duration":33138,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2664,"timestamp":2307956340413,"duration":34482,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tslib/tslib.es6.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"read-resource","id":2667,"timestamp":2307956340439,"duration":34469,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"build-module-js","id":2666,"timestamp":2307956340429,"duration":35639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"read-resource","id":2669,"timestamp":2307956340453,"duration":35626,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"build-module-js","id":2668,"timestamp":2307956340444,"duration":35865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2670,"name":"read-resource","id":2671,"timestamp":2307956340469,"duration":35847,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2670,"timestamp":2307956340460,"duration":35978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"read-resource","id":2679,"timestamp":2307956340535,"duration":35910,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2678,"timestamp":2307956340526,"duration":36026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2676,"name":"read-resource","id":2677,"timestamp":2307956340519,"duration":36040,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1038,"name":"build-module-js","id":2676,"timestamp":2307956340504,"duration":42822,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/hooks/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"read-resource","id":2673,"timestamp":2307956340483,"duration":42864,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2672,"timestamp":2307956340475,"duration":43656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2674,"name":"read-resource","id":2675,"timestamp":2307956340498,"duration":43641,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2674,"timestamp":2307956340489,"duration":44663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"read-resource","id":2683,"timestamp":2307956340567,"duration":44655,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"build-module-js","id":2682,"timestamp":2307956340558,"duration":44793,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/UI.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"read-resource","id":2685,"timestamp":2307956340643,"duration":44715,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"build-module-js","id":2684,"timestamp":2307956340601,"duration":44909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Combination.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2680,"name":"read-resource","id":2681,"timestamp":2307956340550,"duration":44970,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2680,"timestamp":2307956340541,"duration":45070,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2688,"name":"read-resource","id":2689,"timestamp":2307956395932,"duration":7073,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1168,"name":"build-module-js","id":2688,"timestamp":2307956395918,"duration":7351,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-is/index.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2692,"name":"read-resource","id":2693,"timestamp":2307956395974,"duration":7303,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"build-module-js","id":2692,"timestamp":2307956395963,"duration":7567,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/hash/dist/emotion-hash.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"read-resource","id":2687,"timestamp":2307956395897,"duration":8939,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1044,"name":"build-module-js","id":2686,"timestamp":2307956395847,"duration":10035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2690,"name":"read-resource","id":2691,"timestamp":2307956395956,"duration":10091,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2690,"timestamp":2307956395944,"duration":10692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2694,"name":"read-resource","id":2695,"timestamp":2307956395992,"duration":11987,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"build-module-js","id":2694,"timestamp":2307956395982,"duration":12143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2696,"name":"read-resource","id":2697,"timestamp":2307956399267,"duration":10019,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2462,"name":"build-module-mjs","id":2696,"timestamp":2307956399236,"duration":10156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2700,"name":"read-resource","id":2701,"timestamp":2307956399304,"duration":10095,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2700,"timestamp":2307956399294,"duration":10247,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-focus-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2702,"name":"read-resource","id":2703,"timestamp":2307956399319,"duration":10229,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2702,"timestamp":2307956399309,"duration":10376,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-hover-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2698,"name":"read-resource","id":2699,"timestamp":2307956399288,"duration":10564,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2466,"name":"build-module-mjs","id":2698,"timestamp":2307956399275,"duration":10643,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/ReorderContext.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2706,"name":"read-resource","id":2707,"timestamp":2307956399349,"duration":11769,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2448,"name":"build-module-mjs","id":2706,"timestamp":2307956399340,"duration":12050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2704,"name":"read-resource","id":2705,"timestamp":2307956399334,"duration":12062,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2704,"timestamp":2307956399325,"duration":12283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-tap-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2710,"name":"read-resource","id":2711,"timestamp":2307956399380,"duration":12232,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2710,"timestamp":2307956399371,"duration":12347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"read-resource","id":2709,"timestamp":2307956399366,"duration":12357,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2708,"timestamp":2307956399356,"duration":12670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/visual-element.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2714,"name":"read-resource","id":2715,"timestamp":2307956399414,"duration":12618,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"build-module-mjs","id":2714,"timestamp":2307956399405,"duration":12778,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-pan-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2718,"name":"read-resource","id":2719,"timestamp":2307956399442,"duration":12747,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"build-module-mjs","id":2718,"timestamp":2307956399433,"duration":12853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/use-drag.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2716,"name":"read-resource","id":2717,"timestamp":2307956399428,"duration":12863,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2496,"name":"build-module-mjs","id":2716,"timestamp":2307956399419,"duration":12957,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2722,"name":"read-resource","id":2723,"timestamp":2307956399468,"duration":12913,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2722,"timestamp":2307956399459,"duration":12985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/config-motion.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"read-resource","id":2729,"timestamp":2307956399506,"duration":12943,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2728,"timestamp":2307956399498,"duration":13087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/visual-element.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2712,"name":"read-resource","id":2713,"timestamp":2307956399400,"duration":13189,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":1730,"name":"build-module-js","id":2712,"timestamp":2307956399388,"duration":13420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"read-resource","id":2721,"timestamp":2307956399455,"duration":13359,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2720,"timestamp":2307956399446,"duration":13483,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/use-render.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2726,"name":"read-resource","id":2727,"timestamp":2307956399493,"duration":13528,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2726,"timestamp":2307956399485,"duration":13791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/viewport/use-viewport.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2730,"name":"read-resource","id":2731,"timestamp":2307956399519,"duration":13762,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2730,"timestamp":2307956399511,"duration":14018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2724,"name":"read-resource","id":2725,"timestamp":2307956399481,"duration":14059,"tags":{},"startTime":1664295729403}] +[{"traceId":"1979f6cbb13579d5","parentId":2464,"name":"build-module-mjs","id":2724,"timestamp":2307956399473,"duration":14324,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2736,"name":"read-resource","id":2737,"timestamp":2307956400789,"duration":17418,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2736,"timestamp":2307956400776,"duration":17686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2732,"name":"read-resource","id":2733,"timestamp":2307956400711,"duration":17759,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2732,"timestamp":2307956400634,"duration":17912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/time-conversion.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2734,"name":"read-resource","id":2735,"timestamp":2307956400770,"duration":17781,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2734,"timestamp":2307956400747,"duration":18000,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/easing.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2738,"name":"read-resource","id":2739,"timestamp":2307956400805,"duration":17946,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2738,"timestamp":2307956400795,"duration":18107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2740,"name":"read-resource","id":2741,"timestamp":2307956400819,"duration":18093,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2516,"name":"build-module-mjs","id":2740,"timestamp":2307956400810,"duration":18206,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2744,"name":"read-resource","id":2745,"timestamp":2307956400856,"duration":18165,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"build-module-mjs","id":2744,"timestamp":2307956400846,"duration":18259,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"read-resource","id":2743,"timestamp":2307956400835,"duration":18275,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"build-module-mjs","id":2742,"timestamp":2307956400826,"duration":23106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2746,"name":"read-resource","id":2747,"timestamp":2307956400876,"duration":23070,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2520,"name":"build-module-mjs","id":2746,"timestamp":2307956400867,"duration":23185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/state.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"read-resource","id":2749,"timestamp":2307956400896,"duration":23199,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2522,"name":"build-module-mjs","id":2748,"timestamp":2307956400887,"duration":23563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2750,"name":"read-resource","id":2751,"timestamp":2307956402190,"duration":26081,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2552,"name":"build-module-js","id":2750,"timestamp":2307956402174,"duration":26297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindow.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2754,"name":"read-resource","id":2755,"timestamp":2307956402219,"duration":26260,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2554,"name":"build-module-js","id":2754,"timestamp":2307956402210,"duration":26497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/computeOffsets.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2752,"name":"read-resource","id":2753,"timestamp":2307956402206,"duration":26507,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2752,"timestamp":2307956402196,"duration":26596,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2756,"name":"read-resource","id":2757,"timestamp":2307956402232,"duration":26567,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2756,"timestamp":2307956402223,"duration":26642,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getVariation.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2758,"name":"read-resource","id":2759,"timestamp":2307956402245,"duration":26660,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2758,"timestamp":2307956402236,"duration":26739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/math.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2760,"name":"read-resource","id":2761,"timestamp":2307956402263,"duration":26772,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2558,"name":"build-module-js","id":2760,"timestamp":2307956402255,"duration":26843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2762,"name":"read-resource","id":2763,"timestamp":2307956402280,"duration":26915,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2762,"timestamp":2307956402268,"duration":27025,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2764,"name":"read-resource","id":2765,"timestamp":2307956402293,"duration":27005,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2764,"timestamp":2307956402284,"duration":27081,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2768,"name":"read-resource","id":2769,"timestamp":2307956407275,"duration":22567,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2768,"timestamp":2307956407261,"duration":22663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2770,"name":"read-resource","id":2771,"timestamp":2307956407292,"duration":22638,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2770,"timestamp":2307956407282,"duration":22702,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getAltAxis.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2766,"name":"read-resource","id":2767,"timestamp":2307956407248,"duration":22741,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2766,"timestamp":2307956407215,"duration":23003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2774,"name":"read-resource","id":2775,"timestamp":2307956410217,"duration":23457,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2774,"timestamp":2307956410204,"duration":23565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2778,"name":"read-resource","id":2779,"timestamp":2307956410294,"duration":23481,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"build-module-mjs","id":2778,"timestamp":2307956410281,"duration":23577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2776,"name":"read-resource","id":2777,"timestamp":2307956410273,"duration":23591,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"build-module-mjs","id":2776,"timestamp":2307956410225,"duration":23749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2784,"name":"read-resource","id":2785,"timestamp":2307956410348,"duration":23630,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2784,"timestamp":2307956410339,"duration":23715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2782,"name":"read-resource","id":2783,"timestamp":2307956410332,"duration":23728,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2782,"timestamp":2307956410323,"duration":23836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/contains.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2786,"name":"read-resource","id":2787,"timestamp":2307956410369,"duration":23795,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2786,"timestamp":2307956410354,"duration":23868,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/expandToHashMap.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2780,"name":"read-resource","id":2781,"timestamp":2307956410310,"duration":23916,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2540,"name":"build-module-mjs","id":2780,"timestamp":2307956410301,"duration":26660,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2772,"name":"read-resource","id":2773,"timestamp":2307956410193,"duration":26789,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2772,"timestamp":2307956410168,"duration":27027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/within.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"read-resource","id":2791,"timestamp":2307956410409,"duration":26797,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2790,"timestamp":2307956410400,"duration":27001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2794,"name":"read-resource","id":2795,"timestamp":2307956410443,"duration":26968,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2794,"timestamp":2307956410434,"duration":27078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2792,"name":"read-resource","id":2793,"timestamp":2307956410427,"duration":27091,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2792,"timestamp":2307956410418,"duration":27179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2788,"name":"read-resource","id":2789,"timestamp":2307956410392,"duration":27209,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2788,"timestamp":2307956410382,"duration":27399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2796,"name":"read-resource","id":2797,"timestamp":2307956410463,"duration":27326,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2796,"timestamp":2307956410454,"duration":27566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2800,"name":"read-resource","id":2801,"timestamp":2307956410496,"duration":27540,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2800,"timestamp":2307956410488,"duration":27673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/userAgent.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2798,"name":"read-resource","id":2799,"timestamp":2307956410478,"duration":27708,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2798,"timestamp":2307956410470,"duration":27791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2802,"name":"read-resource","id":2803,"timestamp":2307956440857,"duration":10239,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2576,"name":"build-module-js","id":2802,"timestamp":2307956440821,"duration":10536,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2804,"name":"read-resource","id":2805,"timestamp":2307956440886,"duration":10478,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2586,"name":"build-module-js","id":2804,"timestamp":2307956440873,"duration":10640,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/format.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"read-resource","id":2807,"timestamp":2307956440906,"duration":10613,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"build-module-js","id":2806,"timestamp":2307956440895,"duration":10926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2816,"name":"read-resource","id":2817,"timestamp":2307956441012,"duration":10814,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":2816,"timestamp":2307956441003,"duration":10891,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/medium.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2808,"name":"read-resource","id":2809,"timestamp":2307956440923,"duration":10981,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"build-module-js","id":2808,"timestamp":2307956440913,"duration":11057,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/rectToClientRect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2810,"name":"read-resource","id":2811,"timestamp":2307956440949,"duration":11026,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"build-module-mjs","id":2810,"timestamp":2307956440938,"duration":11154,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/on-next-frame.mjs"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"read-resource","id":2815,"timestamp":2307956440994,"duration":11102,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":2814,"timestamp":2307956440985,"duration":16375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/buffer/index.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2812,"name":"read-resource","id":2813,"timestamp":2307956440972,"duration":16410,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"build-module-mjs","id":2812,"timestamp":2307956440963,"duration":17052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/create-render-step.mjs"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"read-resource","id":2819,"timestamp":2307956441035,"duration":16990,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"build-module-js","id":2818,"timestamp":2307956441022,"duration":19848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"read-resource","id":2821,"timestamp":2307956441052,"duration":19836,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2820,"timestamp":2307956441043,"duration":20069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/index.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"read-resource","id":2825,"timestamp":2307956441092,"duration":20027,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2824,"timestamp":2307956441083,"duration":20194,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/style.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2826,"name":"read-resource","id":2827,"timestamp":2307956441107,"duration":20176,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2826,"timestamp":2307956441099,"duration":20296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/data.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2832,"name":"read-resource","id":2833,"timestamp":2307956442041,"duration":19358,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2832,"timestamp":2307956442030,"duration":19641,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/in-view.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"read-resource","id":2823,"timestamp":2307956441072,"duration":20610,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2822,"timestamp":2307956441063,"duration":21346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/animate-style.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2830,"name":"read-resource","id":2831,"timestamp":2307956442020,"duration":20399,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2830,"timestamp":2307956441131,"duration":21465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/utils/stagger.es.js"},"startTime":1664295729445}] +[{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"read-resource","id":2829,"timestamp":2307956441122,"duration":21668,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2828,"timestamp":2307956441114,"duration":22248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/index.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"read-resource","id":2835,"timestamp":2307956442057,"duration":21311,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2834,"timestamp":2307956442048,"duration":21405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/index.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2838,"name":"read-resource","id":2839,"timestamp":2307956442089,"duration":21370,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2838,"timestamp":2307956442079,"duration":21451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2840,"name":"read-resource","id":2841,"timestamp":2307956442270,"duration":21265,"tags":{},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2840,"timestamp":2307956442095,"duration":21844,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/controls.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"read-resource","id":2837,"timestamp":2307956442072,"duration":21873,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2836,"timestamp":2307956442063,"duration":22152,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/index.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2842,"name":"read-resource","id":2843,"timestamp":2307956442287,"duration":21935,"tags":{},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2842,"timestamp":2307956442278,"duration":22431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js"},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"read-resource","id":2849,"timestamp":2307956445107,"duration":22833,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2848,"timestamp":2307956445095,"duration":23558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/index.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2844,"name":"read-resource","id":2845,"timestamp":2307956445055,"duration":23608,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2844,"timestamp":2307956444881,"duration":24011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/style-object.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2846,"name":"read-resource","id":2847,"timestamp":2307956445087,"duration":23829,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2846,"timestamp":2307956445070,"duration":24164,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/style-string.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"read-resource","id":2851,"timestamp":2307956445125,"duration":24119,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2850,"timestamp":2307956445115,"duration":24614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/index.mjs"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2856,"name":"read-resource","id":2857,"timestamp":2307956445173,"duration":24569,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2856,"timestamp":2307956445164,"duration":24876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/keyframes.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2854,"name":"read-resource","id":2855,"timestamp":2307956445158,"duration":24891,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2854,"timestamp":2307956445149,"duration":25055,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/decay.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2852,"name":"read-resource","id":2853,"timestamp":2307956445141,"duration":25071,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2852,"timestamp":2307956445131,"duration":25394,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/inertia.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2858,"name":"read-resource","id":2859,"timestamp":2307956445189,"duration":25342,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2858,"timestamp":2307956445180,"duration":25779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/spring.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2860,"name":"read-resource","id":2861,"timestamp":2307956445209,"duration":25756,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2860,"timestamp":2307956445199,"duration":25862,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/angle.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2862,"name":"read-resource","id":2863,"timestamp":2307956445226,"duration":25839,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2862,"timestamp":2307956445218,"duration":25934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/apply-offset.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2866,"name":"read-resource","id":2867,"timestamp":2307956445260,"duration":25897,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2866,"timestamp":2307956445251,"duration":25970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/clamp.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2864,"name":"read-resource","id":2865,"timestamp":2307956445244,"duration":27731,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2864,"timestamp":2307956445235,"duration":27938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/attract.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2868,"name":"read-resource","id":2869,"timestamp":2307956445275,"duration":27907,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2868,"timestamp":2307956445266,"duration":27991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/degrees-to-radians.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2870,"name":"read-resource","id":2871,"timestamp":2307956445289,"duration":27974,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2870,"timestamp":2307956445281,"duration":28913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/distance.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2872,"name":"read-resource","id":2873,"timestamp":2307956445306,"duration":28896,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2872,"timestamp":2307956445297,"duration":30078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/interpolate.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2876,"name":"read-resource","id":2877,"timestamp":2307956445372,"duration":30035,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2876,"timestamp":2307956445355,"duration":30127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/is-point.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2874,"name":"read-resource","id":2875,"timestamp":2307956445349,"duration":30139,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2874,"timestamp":2307956445311,"duration":30242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/is-point-3d.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2878,"name":"read-resource","id":2879,"timestamp":2307956445390,"duration":30168,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2878,"timestamp":2307956445381,"duration":30422,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix-color.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2886,"name":"read-resource","id":2887,"timestamp":2307956447864,"duration":30463,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2886,"timestamp":2307956447854,"duration":30633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/point-from-vector.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2880,"name":"read-resource","id":2881,"timestamp":2307956447811,"duration":30684,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2880,"timestamp":2307956447790,"duration":31057,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix-complex.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2884,"name":"read-resource","id":2885,"timestamp":2307956447848,"duration":31005,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2884,"timestamp":2307956447839,"duration":31091,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/pipe.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2882,"name":"read-resource","id":2883,"timestamp":2307956447831,"duration":31103,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2882,"timestamp":2307956447821,"duration":31172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2888,"name":"read-resource","id":2889,"timestamp":2307956447880,"duration":31117,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2888,"timestamp":2307956447872,"duration":31332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/progress.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2892,"name":"read-resource","id":2893,"timestamp":2307956447911,"duration":31300,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2892,"timestamp":2307956447903,"duration":31396,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/smooth-frame.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2894,"name":"read-resource","id":2895,"timestamp":2307956447934,"duration":31371,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2894,"timestamp":2307956447922,"duration":31498,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/snap.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2898,"name":"read-resource","id":2899,"timestamp":2307956447965,"duration":31460,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2898,"timestamp":2307956447956,"duration":31534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/to-decimal.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2890,"name":"read-resource","id":2891,"timestamp":2307956447896,"duration":31599,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2890,"timestamp":2307956447888,"duration":31755,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/radians-to-degrees.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2902,"name":"read-resource","id":2903,"timestamp":2307956448003,"duration":31659,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2902,"timestamp":2307956447995,"duration":31824,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/velocity-per-second.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2896,"name":"read-resource","id":2897,"timestamp":2307956447950,"duration":31875,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2896,"timestamp":2307956447941,"duration":32048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/smooth.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2900,"name":"read-resource","id":2901,"timestamp":2307956447984,"duration":32011,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2900,"timestamp":2307956447976,"duration":32081,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/velocity-per-frame.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2906,"name":"read-resource","id":2907,"timestamp":2307956448033,"duration":32037,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2906,"timestamp":2307956448025,"duration":32278,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/index.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2904,"name":"read-resource","id":2905,"timestamp":2307956448018,"duration":32296,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2904,"timestamp":2307956448010,"duration":32370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/wrap.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2910,"name":"read-resource","id":2911,"timestamp":2307956449971,"duration":35541,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2910,"timestamp":2307956449958,"duration":35782,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/utils.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2908,"name":"read-resource","id":2909,"timestamp":2307956449946,"duration":35802,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2908,"timestamp":2307956449910,"duration":36858,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/cubic-bezier.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2912,"name":"read-resource","id":2913,"timestamp":2307956449988,"duration":37019,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2912,"timestamp":2307956449976,"duration":37162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/steps.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"read-resource","id":2919,"timestamp":2307956450032,"duration":37112,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2918,"timestamp":2307956450024,"duration":37202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/spring/index.es.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2914,"name":"read-resource","id":2915,"timestamp":2307956450004,"duration":37228,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2644,"name":"build-module-js","id":2914,"timestamp":2307956449994,"duration":37323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/once.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2916,"name":"read-resource","id":2917,"timestamp":2307956450019,"duration":37309,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2916,"timestamp":2307956450010,"duration":37379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/glide/index.es.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2920,"name":"read-resource","id":2921,"timestamp":2307956450051,"duration":37342,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2920,"timestamp":2307956450037,"duration":37449,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/numbers/index.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2924,"name":"read-resource","id":2925,"timestamp":2307956450077,"duration":37413,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2924,"timestamp":2307956450068,"duration":37530,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/hsla.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2926,"name":"read-resource","id":2927,"timestamp":2307956450089,"duration":37545,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2926,"timestamp":2307956450080,"duration":37664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/rgba.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2922,"name":"read-resource","id":2923,"timestamp":2307956450065,"duration":37684,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2922,"timestamp":2307956450056,"duration":37823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/numbers/units.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2930,"name":"read-resource","id":2931,"timestamp":2307956450113,"duration":37771,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2930,"timestamp":2307956450105,"duration":37889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/index.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2928,"name":"read-resource","id":2929,"timestamp":2307956450101,"duration":37899,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2928,"timestamp":2307956450092,"duration":38067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/hex.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2932,"name":"read-resource","id":2933,"timestamp":2307956493451,"duration":4971,"tags":{},"startTime":1664295729497}] +[{"traceId":"1979f6cbb13579d5","parentId":2634,"name":"build-module-js","id":2932,"timestamp":2307956493411,"duration":5604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/util.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2934,"name":"read-resource","id":2935,"timestamp":2307956493474,"duration":5552,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2934,"timestamp":2307956493463,"duration":5980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/complex/index.mjs"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2936,"name":"read-resource","id":2937,"timestamp":2307956493518,"duration":5934,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2936,"timestamp":2307956493481,"duration":6175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/complex/filter.mjs"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2940,"name":"read-resource","id":2941,"timestamp":2307956493565,"duration":6096,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2940,"timestamp":2307956493556,"duration":6374,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/aminotypes.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2942,"name":"read-resource","id":2943,"timestamp":2307956493579,"duration":6357,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2942,"timestamp":2307956493572,"duration":6620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/fee.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2944,"name":"read-resource","id":2945,"timestamp":2307956493593,"duration":7497,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2944,"timestamp":2307956493585,"duration":7922,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/logs.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"read-resource","id":2939,"timestamp":2307956493548,"duration":7995,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2938,"timestamp":2307956493535,"duration":8289,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/accounts.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"read-resource","id":2947,"timestamp":2307956493605,"duration":8224,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2946,"timestamp":2307956493598,"duration":8766,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/multisignature.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2948,"name":"read-resource","id":2949,"timestamp":2307956493617,"duration":8753,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2948,"timestamp":2307956493610,"duration":8849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/search.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"read-resource","id":2951,"timestamp":2307956493631,"duration":8833,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2950,"timestamp":2307956493623,"duration":9683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/signingstargateclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2952,"name":"read-resource","id":2953,"timestamp":2307956493646,"duration":9666,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2952,"timestamp":2307956493638,"duration":11555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/stargateclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"read-resource","id":2955,"timestamp":2307956493662,"duration":11541,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2954,"timestamp":2307956493654,"duration":15745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2956,"name":"read-resource","id":2957,"timestamp":2307956493679,"duration":15746,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2956,"timestamp":2307956493671,"duration":16138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Enum.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2958,"name":"read-resource","id":2959,"timestamp":2307956493692,"duration":16133,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2958,"timestamp":2307956493685,"duration":16401,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Utility.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2962,"name":"read-resource","id":2963,"timestamp":2307956493727,"duration":16367,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2962,"timestamp":2307956493720,"duration":16960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Prefixer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2960,"name":"read-resource","id":2961,"timestamp":2307956493710,"duration":16976,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2960,"timestamp":2307956493703,"duration":17899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Parser.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2964,"name":"read-resource","id":2965,"timestamp":2307956493745,"duration":17869,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2964,"timestamp":2307956493737,"duration":18484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Tokenizer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2966,"name":"read-resource","id":2967,"timestamp":2307956493757,"duration":18472,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2966,"timestamp":2307956493750,"duration":18649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Serializer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2968,"name":"read-resource","id":2969,"timestamp":2307956493769,"duration":18636,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2968,"timestamp":2307956493763,"duration":19022,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Middleware.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2970,"name":"read-resource","id":2971,"timestamp":2307956493782,"duration":19038,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2970,"timestamp":2307956493775,"duration":19186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/encoding.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"read-resource","id":2975,"timestamp":2307956493819,"duration":19185,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2974,"timestamp":2307956493812,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Lock.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"read-resource","id":2973,"timestamp":2307956493800,"duration":20169,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2972,"timestamp":2307956493793,"duration":21398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/signingcosmwasmclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2976,"name":"read-resource","id":2977,"timestamp":2307956494974,"duration":22356,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2976,"timestamp":2307956494955,"duration":22644,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"read-resource","id":2985,"timestamp":2307956495039,"duration":22568,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"build-module-js","id":2984,"timestamp":2307956495031,"duration":23308,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Trap.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2978,"name":"read-resource","id":2979,"timestamp":2307956494995,"duration":23351,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2978,"timestamp":2307956494985,"duration":23509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2982,"name":"read-resource","id":2983,"timestamp":2307956495025,"duration":23475,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2982,"timestamp":2307956495017,"duration":23630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/FocusGuard.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2980,"name":"read-resource","id":2981,"timestamp":2307956495011,"duration":23641,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2980,"timestamp":2307956495002,"duration":23835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2990,"name":"read-resource","id":2991,"timestamp":2307956495079,"duration":23763,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"build-module-js","id":2990,"timestamp":2307956495071,"duration":23900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2994,"name":"read-resource","id":2995,"timestamp":2307956495111,"duration":23868,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2714,"name":"build-module-mjs","id":2994,"timestamp":2307956495103,"duration":24956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/PanSession.mjs"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"read-resource","id":2989,"timestamp":2307956495065,"duration":25007,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"build-module-js","id":2988,"timestamp":2307956495057,"duration":26591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/iso-crypto/dist/esm/index.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"read-resource","id":2987,"timestamp":2307956495052,"duration":26606,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"build-module-js","id":2986,"timestamp":2307956495044,"duration":29048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/index.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2992,"name":"read-resource","id":2993,"timestamp":2307956495093,"duration":29012,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2688,"name":"build-module-js","id":2992,"timestamp":2307956495085,"duration":29600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-is/cjs/react-is.development.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2996,"name":"read-resource","id":2997,"timestamp":2307956495124,"duration":29595,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2704,"name":"build-module-mjs","id":2996,"timestamp":2307956495116,"duration":29795,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"read-resource","id":3003,"timestamp":2307956495162,"duration":29893,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3002,"timestamp":2307956495155,"duration":30153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":3000,"name":"read-resource","id":3001,"timestamp":2307956495149,"duration":30164,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2710,"name":"build-module-mjs","id":3000,"timestamp":2307956495142,"duration":30245,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"read-resource","id":2999,"timestamp":2307956495137,"duration":30436,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2718,"name":"build-module-mjs","id":2998,"timestamp":2307956495130,"duration":33405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":3006,"name":"read-resource","id":3007,"timestamp":2307956496279,"duration":36232,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3006,"timestamp":2307956496271,"duration":36508,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"read-resource","id":3005,"timestamp":2307956496260,"duration":36528,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3004,"timestamp":2307956496248,"duration":36659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3014,"name":"read-resource","id":3015,"timestamp":2307956496324,"duration":36589,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2722,"name":"build-module-mjs","id":3014,"timestamp":2307956496317,"duration":36666,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3010,"name":"read-resource","id":3011,"timestamp":2307956496303,"duration":36685,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"build-module-mjs","id":3010,"timestamp":2307956496296,"duration":36927,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/use-props.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3012,"name":"read-resource","id":3013,"timestamp":2307956496313,"duration":36915,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"build-module-mjs","id":3012,"timestamp":2307956496307,"duration":37034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/use-props.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3008,"name":"read-resource","id":3009,"timestamp":2307956496290,"duration":37057,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3008,"timestamp":2307956496282,"duration":37147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3018,"name":"read-resource","id":3019,"timestamp":2307956496345,"duration":37091,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3018,"timestamp":2307956496338,"duration":37304,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/measure.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3020,"name":"read-resource","id":3021,"timestamp":2307956496356,"duration":37610,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3020,"timestamp":2307956496349,"duration":37710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3016,"name":"read-resource","id":3017,"timestamp":2307956496334,"duration":38036,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2726,"name":"build-module-mjs","id":3016,"timestamp":2307956496328,"duration":38219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3022,"name":"read-resource","id":3023,"timestamp":2307956497427,"duration":37166,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3022,"timestamp":2307956497389,"duration":37631,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3026,"name":"read-resource","id":3027,"timestamp":2307956497472,"duration":37555,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3026,"timestamp":2307956497459,"duration":37701,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3024,"name":"read-resource","id":3025,"timestamp":2307956497452,"duration":37712,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3024,"timestamp":2307956497441,"duration":37956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3030,"name":"read-resource","id":3031,"timestamp":2307956497500,"duration":37902,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3030,"timestamp":2307956497492,"duration":37967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3032,"name":"read-resource","id":3033,"timestamp":2307956497516,"duration":37949,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3032,"timestamp":2307956497508,"duration":38053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3028,"name":"read-resource","id":3029,"timestamp":2307956497487,"duration":38079,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3028,"timestamp":2307956497478,"duration":38244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/transform.mjs"},"startTime":1664295729501}] +[{"traceId":"1979f6cbb13579d5","parentId":3034,"name":"read-resource","id":3035,"timestamp":2307956497531,"duration":38329,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3034,"timestamp":2307956497523,"duration":38453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"read-resource","id":3037,"timestamp":2307956497547,"duration":38436,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3036,"timestamp":2307956497540,"duration":38602,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3038,"name":"read-resource","id":3039,"timestamp":2307956497572,"duration":38603,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3038,"timestamp":2307956497563,"duration":38682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3040,"name":"read-resource","id":3041,"timestamp":2307956558913,"duration":4500,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3040,"timestamp":2307956558871,"duration":4832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3042,"name":"read-resource","id":3043,"timestamp":2307956558935,"duration":4789,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2730,"name":"build-module-mjs","id":3042,"timestamp":2307956558924,"duration":4891,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3046,"name":"read-resource","id":3047,"timestamp":2307956558974,"duration":4895,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2788,"name":"build-module-js","id":3046,"timestamp":2307956558965,"duration":5026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3044,"name":"read-resource","id":3045,"timestamp":2307956558956,"duration":5040,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"build-module-js","id":3044,"timestamp":2307956558945,"duration":5129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3048,"name":"read-resource","id":3049,"timestamp":2307956558989,"duration":5090,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"build-module-js","id":3048,"timestamp":2307956558981,"duration":5155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3050,"name":"read-resource","id":3051,"timestamp":2307956560325,"duration":6195,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"build-module-mjs","id":3050,"timestamp":2307956560311,"duration":6504,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3052,"name":"read-resource","id":3053,"timestamp":2307956560343,"duration":6480,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"build-module-mjs","id":3052,"timestamp":2307956560335,"duration":6720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3056,"name":"read-resource","id":3057,"timestamp":2307956560374,"duration":6687,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2776,"name":"build-module-mjs","id":3056,"timestamp":2307956560366,"duration":6764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3054,"name":"read-resource","id":3055,"timestamp":2307956560359,"duration":6777,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2780,"name":"build-module-mjs","id":3054,"timestamp":2307956560350,"duration":6936,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3058,"name":"read-resource","id":3059,"timestamp":2307956560391,"duration":6900,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3058,"timestamp":2307956560384,"duration":7235,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/shared/stack.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3060,"name":"read-resource","id":3061,"timestamp":2307956560410,"duration":7215,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3060,"timestamp":2307956560402,"duration":7720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3064,"name":"read-resource","id":3065,"timestamp":2307956560443,"duration":10149,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3064,"timestamp":2307956560436,"duration":10662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/deepmerge/dist/cjs.js"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"read-resource","id":3063,"timestamp":2307956560429,"duration":10678,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3062,"timestamp":2307956560422,"duration":10900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/index.js"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"read-resource","id":3067,"timestamp":2307956561456,"duration":10152,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3066,"timestamp":2307956561444,"duration":10564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"read-resource","id":3073,"timestamp":2307956561505,"duration":10514,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":3072,"timestamp":2307956561497,"duration":10725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"read-resource","id":3071,"timestamp":2307956561490,"duration":10743,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3070,"timestamp":2307956561482,"duration":10876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3076,"name":"read-resource","id":3077,"timestamp":2307956561545,"duration":10818,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"build-module-js","id":3076,"timestamp":2307956561536,"duration":10995,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"read-resource","id":3069,"timestamp":2307956561475,"duration":11062,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3068,"timestamp":2307956561467,"duration":11821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3078,"name":"read-resource","id":3079,"timestamp":2307956561560,"duration":11733,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"build-module-js","id":3078,"timestamp":2307956561552,"duration":15340,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3080,"name":"read-resource","id":3081,"timestamp":2307956561575,"duration":15335,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"build-module-js","id":3080,"timestamp":2307956561567,"duration":15564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/utils/resolve-elements.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3082,"name":"read-resource","id":3083,"timestamp":2307956561590,"duration":15549,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"build-module-js","id":3082,"timestamp":2307956561582,"duration":15639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/options.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"read-resource","id":3075,"timestamp":2307956561523,"duration":15710,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3074,"timestamp":2307956561516,"duration":15843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3084,"name":"read-resource","id":3085,"timestamp":2307956561604,"duration":15760,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"build-module-js","id":3084,"timestamp":2307956561597,"duration":15908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/css-var.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3086,"name":"read-resource","id":3087,"timestamp":2307956561618,"duration":15891,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"build-module-js","id":3086,"timestamp":2307956561611,"duration":16139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/transforms.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3094,"name":"read-resource","id":3095,"timestamp":2307956562821,"duration":21987,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3094,"timestamp":2307956562814,"duration":22587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3092,"name":"read-resource","id":3093,"timestamp":2307956562807,"duration":22613,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3092,"timestamp":2307956562800,"duration":23142,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/easing.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"read-resource","id":3089,"timestamp":2307956562776,"duration":23251,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":3088,"timestamp":2307956562764,"duration":23645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/index.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"read-resource","id":3091,"timestamp":2307956562793,"duration":23625,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"build-module-js","id":3090,"timestamp":2307956562785,"duration":23838,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/index.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3096,"name":"read-resource","id":3097,"timestamp":2307956562835,"duration":26423,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3096,"timestamp":2307956562828,"duration":26924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3098,"name":"read-resource","id":3099,"timestamp":2307956565257,"duration":25033,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3098,"timestamp":2307956565227,"duration":25458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3100,"name":"read-resource","id":3101,"timestamp":2307956565284,"duration":25410,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3100,"timestamp":2307956565273,"duration":25770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3102,"name":"read-resource","id":3103,"timestamp":2307956565300,"duration":25751,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3102,"timestamp":2307956565292,"duration":27228,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/handleScroll.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3104,"name":"read-resource","id":3105,"timestamp":2307956565314,"duration":27217,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"build-module-js","id":3104,"timestamp":2307956565306,"duration":27975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3106,"name":"read-resource","id":3107,"timestamp":2307956565327,"duration":27963,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"build-module-js","id":3106,"timestamp":2307956565319,"duration":28497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3108,"name":"read-resource","id":3109,"timestamp":2307956565339,"duration":28489,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"build-module-js","id":3108,"timestamp":2307956565332,"duration":29155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/info.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3112,"name":"read-resource","id":3113,"timestamp":2307956565365,"duration":29131,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3112,"timestamp":2307956565358,"duration":29344,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3110,"name":"read-resource","id":3111,"timestamp":2307956565352,"duration":29358,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"build-module-js","id":3110,"timestamp":2307956565344,"duration":30202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3116,"name":"read-resource","id":3117,"timestamp":2307956565390,"duration":30186,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3116,"timestamp":2307956565382,"duration":30428,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/sort.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3118,"name":"read-resource","id":3119,"timestamp":2307956565402,"duration":30417,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2860,"name":"build-module-mjs","id":3118,"timestamp":2307956565395,"duration":30620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/inc.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3120,"name":"read-resource","id":3121,"timestamp":2307956565422,"duration":30604,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2656,"name":"build-module-js","id":3120,"timestamp":2307956565408,"duration":31384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/event-utils/dist/index.esm.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3114,"name":"read-resource","id":3115,"timestamp":2307956565377,"duration":31433,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3114,"timestamp":2307956565370,"duration":31823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/edit.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3122,"name":"read-resource","id":3123,"timestamp":2307956565436,"duration":31766,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3122,"timestamp":2307956565428,"duration":32051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/has-changed.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3124,"name":"read-resource","id":3125,"timestamp":2307956565447,"duration":32039,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3124,"timestamp":2307956565440,"duration":32341,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3126,"name":"read-resource","id":3127,"timestamp":2307956565459,"duration":32339,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3126,"timestamp":2307956565452,"duration":32678,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/schedule.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3128,"name":"read-resource","id":3129,"timestamp":2307956565471,"duration":32796,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3128,"timestamp":2307956565464,"duration":32969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/events.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3134,"name":"read-resource","id":3135,"timestamp":2307956565509,"duration":32931,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2878,"name":"build-module-mjs","id":3134,"timestamp":2307956565502,"duration":33395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/hsla-to-rgba.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3132,"name":"read-resource","id":3133,"timestamp":2307956565495,"duration":33447,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2920,"name":"build-module-mjs","id":3132,"timestamp":2307956565489,"duration":33980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/utils.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3130,"name":"read-resource","id":3131,"timestamp":2307956565483,"duration":34028,"tags":{},"startTime":1664295729569}] +[{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"build-module-js","id":3130,"timestamp":2307956565476,"duration":35845,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3136,"name":"read-resource","id":3137,"timestamp":2307956565521,"duration":35865,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2924,"name":"build-module-mjs","id":3136,"timestamp":2307956565514,"duration":36279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/utils.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3144,"name":"read-resource","id":3145,"timestamp":2307956569667,"duration":40104,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3144,"timestamp":2307956568979,"duration":41329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/elapsed.mjs"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3140,"name":"read-resource","id":3141,"timestamp":2307956568955,"duration":41373,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3140,"timestamp":2307956568944,"duration":41956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/hover.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3142,"name":"read-resource","id":3143,"timestamp":2307956568970,"duration":41947,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3142,"timestamp":2307956568961,"duration":42755,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/in-view.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3138,"name":"read-resource","id":3139,"timestamp":2307956568931,"duration":42803,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3138,"timestamp":2307956568907,"duration":43218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/press.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3148,"name":"read-resource","id":3149,"timestamp":2307956569704,"duration":42441,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2858,"name":"build-module-mjs","id":3148,"timestamp":2307956569695,"duration":43646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/find-spring.mjs"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3150,"name":"read-resource","id":3151,"timestamp":2307956569718,"duration":43642,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":3150,"timestamp":2307956569711,"duration":43920,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3146,"name":"read-resource","id":3147,"timestamp":2307956569687,"duration":43975,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3146,"timestamp":2307956569677,"duration":44417,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/detect-animation-from-options.mjs"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3154,"name":"read-resource","id":3155,"timestamp":2307956569758,"duration":44345,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3154,"timestamp":2307956569749,"duration":61826,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3152,"name":"read-resource","id":3153,"timestamp":2307956569735,"duration":61868,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2658,"name":"build-module-js","id":3152,"timestamp":2307956569726,"duration":75188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-utils/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3156,"name":"read-resource","id":3157,"timestamp":2307956569776,"duration":75191,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2674,"name":"build-module-js","id":3156,"timestamp":2307956569767,"duration":75749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3160,"name":"read-resource","id":3161,"timestamp":2307956569806,"duration":75722,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3160,"timestamp":2307956569798,"duration":77061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"read-resource","id":3165,"timestamp":2307956569834,"duration":77034,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3164,"timestamp":2307956569827,"duration":77171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/index.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3158,"name":"read-resource","id":3159,"timestamp":2307956569791,"duration":77213,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3158,"timestamp":2307956569783,"duration":85875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"read-resource","id":3163,"timestamp":2307956569822,"duration":86263,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3162,"timestamp":2307956569814,"duration":87034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/index.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3166,"name":"read-resource","id":3167,"timestamp":2307956569847,"duration":87059,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3166,"timestamp":2307956569839,"duration":95061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3168,"name":"read-resource","id":3169,"timestamp":2307956569859,"duration":95065,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3168,"timestamp":2307956569851,"duration":106415,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3170,"name":"read-resource","id":3171,"timestamp":2307956691602,"duration":8726,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3170,"timestamp":2307956691555,"duration":10420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3172,"name":"read-resource","id":3173,"timestamp":2307956691630,"duration":10357,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3172,"timestamp":2307956691615,"duration":10512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/medium.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3174,"name":"read-resource","id":3175,"timestamp":2307956691648,"duration":10485,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2976,"name":"build-module-js","id":3174,"timestamp":2307956691639,"duration":10597,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/util.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3178,"name":"read-resource","id":3179,"timestamp":2307956695139,"duration":9684,"tags":{},"startTime":1664295729699},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"build-module-mjs","id":3178,"timestamp":2307956695128,"duration":10089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs"},"startTime":1664295729699},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"read-resource","id":3177,"timestamp":2307956695114,"duration":10125,"tags":{},"startTime":1664295729698},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3176,"timestamp":2307956695080,"duration":10300,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/index.js"},"startTime":1664295729698},{"traceId":"1979f6cbb13579d5","parentId":3180,"name":"read-resource","id":3181,"timestamp":2307956697135,"duration":8596,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"build-module-js","id":3180,"timestamp":2307956697111,"duration":9139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/base64-js/index.js"},"startTime":1664295729700},{"traceId":"1979f6cbb13579d5","parentId":3186,"name":"read-resource","id":3187,"timestamp":2307956697189,"duration":9087,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3186,"timestamp":2307956697181,"duration":9370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/events.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3182,"name":"read-resource","id":3183,"timestamp":2307956697156,"duration":9402,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"build-module-js","id":3182,"timestamp":2307956697147,"duration":9751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/ieee754/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3188,"name":"read-resource","id":3189,"timestamp":2307956697203,"duration":9701,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3188,"timestamp":2307956697195,"duration":9834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/storage.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3190,"name":"read-resource","id":3191,"timestamp":2307956697218,"duration":9817,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"build-module-mjs","id":3190,"timestamp":2307956697210,"duration":9908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3184,"name":"read-resource","id":3185,"timestamp":2307956697173,"duration":9950,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3184,"timestamp":2307956697164,"duration":10097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/errors.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3196,"name":"read-resource","id":3197,"timestamp":2307956697260,"duration":10006,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"build-module-mjs","id":3196,"timestamp":2307956697253,"duration":10127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3194,"name":"read-resource","id":3195,"timestamp":2307956697246,"duration":10139,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"build-module-mjs","id":3194,"timestamp":2307956697239,"duration":10474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3198,"name":"read-resource","id":3199,"timestamp":2307956697275,"duration":10442,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3006,"name":"build-module-mjs","id":3198,"timestamp":2307956697268,"duration":10540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3200,"name":"read-resource","id":3201,"timestamp":2307956697292,"duration":10521,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2442,"name":"build-module-js","id":3200,"timestamp":2307956697284,"duration":10669,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/process.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3202,"name":"read-resource","id":3203,"timestamp":2307956697306,"duration":10653,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"build-module-mjs","id":3202,"timestamp":2307956697298,"duration":10940,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3192,"name":"read-resource","id":3193,"timestamp":2307956697232,"duration":11013,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3192,"timestamp":2307956697224,"duration":11179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/url.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3208,"name":"read-resource","id":3209,"timestamp":2307956697359,"duration":11049,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2826,"name":"build-module-js","id":3208,"timestamp":2307956697352,"duration":11114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/types/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"read-resource","id":3207,"timestamp":2307956697340,"duration":11131,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3206,"timestamp":2307956697332,"duration":11200,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3212,"name":"read-resource","id":3213,"timestamp":2307956697387,"duration":11150,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"build-module-mjs","id":3212,"timestamp":2307956697380,"duration":11249,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3204,"name":"read-resource","id":3205,"timestamp":2307956697326,"duration":11308,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"build-module-mjs","id":3204,"timestamp":2307956697319,"duration":11992,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"read-resource","id":3211,"timestamp":2307956697373,"duration":11948,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3210,"timestamp":2307956697366,"duration":12109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3214,"name":"read-resource","id":3215,"timestamp":2307956697400,"duration":12085,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"build-module-mjs","id":3214,"timestamp":2307956697393,"duration":12201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"read-resource","id":3219,"timestamp":2307956697439,"duration":12160,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2942,"name":"build-module-js","id":3218,"timestamp":2307956697428,"duration":12305,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"read-resource","id":3217,"timestamp":2307956697419,"duration":12323,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"build-module-js","id":3216,"timestamp":2307956697412,"duration":12399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3224,"name":"read-resource","id":3225,"timestamp":2307956697483,"duration":12333,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3224,"timestamp":2307956697476,"duration":12443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"read-resource","id":3221,"timestamp":2307956697455,"duration":12469,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2944,"name":"build-module-js","id":3220,"timestamp":2307956697448,"duration":15328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"read-resource","id":3223,"timestamp":2307956697469,"duration":15332,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3222,"timestamp":2307956697462,"duration":15820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"read-resource","id":3229,"timestamp":2307956697510,"duration":15777,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3228,"timestamp":2307956697503,"duration":16034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"read-resource","id":3231,"timestamp":2307956697524,"duration":16019,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"build-module-js","id":3230,"timestamp":2307956697517,"duration":16178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"read-resource","id":3227,"timestamp":2307956697497,"duration":16206,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3226,"timestamp":2307956697489,"duration":16696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"read-resource","id":3233,"timestamp":2307956697538,"duration":16654,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"build-module-js","id":3232,"timestamp":2307956697530,"duration":18170,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/auth/v1beta1/auth.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3234,"name":"read-resource","id":3235,"timestamp":2307956697555,"duration":18153,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3234,"timestamp":2307956697548,"duration":20653,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/v1beta1/tx.js"},"startTime":1664295729701}] +[{"traceId":"1979f6cbb13579d5","parentId":3236,"name":"read-resource","id":3237,"timestamp":2307956697569,"duration":20793,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"build-module-js","id":3236,"timestamp":2307956697562,"duration":21935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/vesting/v1beta1/vesting.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3240,"name":"read-resource","id":3241,"timestamp":2307956697599,"duration":21905,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3240,"timestamp":2307956697592,"duration":22424,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/v1beta1/coin.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3238,"name":"read-resource","id":3239,"timestamp":2307956697585,"duration":22438,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3238,"timestamp":2307956697578,"duration":23484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/signing/v1beta1/signing.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3242,"name":"read-resource","id":3243,"timestamp":2307956697612,"duration":27643,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3242,"timestamp":2307956697605,"duration":28918,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3248,"name":"read-resource","id":3249,"timestamp":2307956697651,"duration":28882,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3248,"timestamp":2307956697644,"duration":30623,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/types.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"read-resource","id":3245,"timestamp":2307956697625,"duration":30650,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3244,"timestamp":2307956697618,"duration":32351,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3246,"name":"read-resource","id":3247,"timestamp":2307956697638,"duration":32343,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3246,"timestamp":2307956697631,"duration":34042,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/multisig/v1beta1/multisig.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3250,"name":"read-resource","id":3251,"timestamp":2307956697664,"duration":34016,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3250,"timestamp":2307956697657,"duration":36932,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3256,"name":"read-resource","id":3257,"timestamp":2307956697710,"duration":36894,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3054,"name":"build-module-mjs","id":3256,"timestamp":2307956697703,"duration":37047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3252,"name":"read-resource","id":3253,"timestamp":2307956697678,"duration":37112,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3252,"timestamp":2307956697671,"duration":37647,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3258,"name":"read-resource","id":3259,"timestamp":2307956697723,"duration":37601,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"build-module-js","id":3258,"timestamp":2307956697717,"duration":37885,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-clientside-effect/lib/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"read-resource","id":3255,"timestamp":2307956697693,"duration":37950,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3254,"timestamp":2307956697685,"duration":38228,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/index.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3266,"name":"read-resource","id":3267,"timestamp":2307956698984,"duration":40910,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3266,"timestamp":2307956698973,"duration":41431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/cosmjs.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3268,"name":"read-resource","id":3269,"timestamp":2307956698999,"duration":41414,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3268,"timestamp":2307956698991,"duration":41633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/enigma.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"read-resource","id":3273,"timestamp":2307956699031,"duration":41599,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"build-module-js","id":3272,"timestamp":2307956699023,"duration":42156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/queryclient.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3260,"name":"read-resource","id":3261,"timestamp":2307956698904,"duration":42282,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3260,"timestamp":2307956698871,"duration":42424,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/constants.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3274,"name":"read-resource","id":3275,"timestamp":2307956699051,"duration":42251,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"build-module-js","id":3274,"timestamp":2307956699039,"duration":42481,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/utils.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3270,"name":"read-resource","id":3271,"timestamp":2307956699012,"duration":42514,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3270,"timestamp":2307956699005,"duration":43487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/inject.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"read-resource","id":3263,"timestamp":2307956698928,"duration":43576,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3262,"timestamp":2307956698917,"duration":43707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"read-resource","id":3277,"timestamp":2307956699071,"duration":43560,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3276,"timestamp":2307956699059,"duration":43978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"read-resource","id":3279,"timestamp":2307956699083,"duration":43961,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3278,"timestamp":2307956699076,"duration":44682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"read-resource","id":3265,"timestamp":2307956698965,"duration":44800,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3264,"timestamp":2307956698936,"duration":45724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/core.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"read-resource","id":3283,"timestamp":2307956699116,"duration":45559,"tags":{},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3282,"timestamp":2307956699108,"duration":45865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"read-resource","id":3281,"timestamp":2307956699101,"duration":46061,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3280,"timestamp":2307956699093,"duration":46290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"read-resource","id":3285,"timestamp":2307956699130,"duration":46340,"tags":{},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3284,"timestamp":2307956699122,"duration":46503,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/index.js"},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":3290,"name":"read-resource","id":3291,"timestamp":2307956702991,"duration":44890,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3124,"name":"build-module-js","id":3290,"timestamp":2307956702980,"duration":45016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/is-variant.es.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"read-resource","id":3289,"timestamp":2307956702966,"duration":45036,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3288,"timestamp":2307956702945,"duration":45477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/index.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"read-resource","id":3287,"timestamp":2307956702928,"duration":45504,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3286,"timestamp":2307956702906,"duration":45977,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/index.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"read-resource","id":3293,"timestamp":2307956703006,"duration":45882,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3110,"name":"build-module-js","id":3292,"timestamp":2307956702997,"duration":46134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3294,"name":"read-resource","id":3295,"timestamp":2307956703019,"duration":46300,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3294,"timestamp":2307956703011,"duration":46451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/messages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3298,"name":"read-resource","id":3299,"timestamp":2307956703058,"duration":46409,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3298,"timestamp":2307956703046,"duration":46688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/queries.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3296,"name":"read-resource","id":3297,"timestamp":2307956703039,"duration":48203,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3296,"timestamp":2307956703024,"duration":48541,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/aminomessages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3300,"name":"read-resource","id":3301,"timestamp":2307956703072,"duration":48502,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3300,"timestamp":2307956703064,"duration":48624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/auth/queries.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3302,"name":"read-resource","id":3303,"timestamp":2307956703084,"duration":48889,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3302,"timestamp":2307956703076,"duration":48967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/aminomessages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3306,"name":"read-resource","id":3307,"timestamp":2307956704449,"duration":47601,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3306,"timestamp":2307956704434,"duration":47730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3304,"name":"read-resource","id":3305,"timestamp":2307956704414,"duration":47755,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3304,"timestamp":2307956704378,"duration":47856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3314,"name":"read-resource","id":3315,"timestamp":2307956704512,"duration":47726,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3314,"timestamp":2307956704504,"duration":47801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/crisis/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3310,"name":"read-resource","id":3311,"timestamp":2307956704482,"duration":47831,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3310,"timestamp":2307956704474,"duration":47909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3308,"name":"read-resource","id":3309,"timestamp":2307956704467,"duration":47920,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3308,"timestamp":2307956704456,"duration":48069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3312,"name":"read-resource","id":3313,"timestamp":2307956704498,"duration":48030,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3312,"timestamp":2307956704490,"duration":48185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3320,"name":"read-resource","id":3321,"timestamp":2307956704557,"duration":48124,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3320,"timestamp":2307956704550,"duration":48282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3324,"name":"read-resource","id":3325,"timestamp":2307956704587,"duration":48251,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3324,"timestamp":2307956704579,"duration":48314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3326,"name":"read-resource","id":3327,"timestamp":2307956704602,"duration":48296,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3326,"timestamp":2307956704594,"duration":48362,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3318,"name":"read-resource","id":3319,"timestamp":2307956704543,"duration":48418,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3318,"timestamp":2307956704535,"duration":48617,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3316,"name":"read-resource","id":3317,"timestamp":2307956704527,"duration":48630,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3316,"timestamp":2307956704520,"duration":48714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3322,"name":"read-resource","id":3323,"timestamp":2307956704572,"duration":48666,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3322,"timestamp":2307956704565,"duration":48737,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/evidence/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3328,"name":"read-resource","id":3329,"timestamp":2307956704615,"duration":48742,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3328,"timestamp":2307956704608,"duration":48849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3330,"name":"read-resource","id":3331,"timestamp":2307956780332,"duration":8050,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3330,"timestamp":2307956780295,"duration":8405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/messages.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3332,"name":"read-resource","id":3333,"timestamp":2307956780352,"duration":8355,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3332,"timestamp":2307956780343,"duration":10363,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/aminomessages.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3340,"name":"read-resource","id":3341,"timestamp":2307956780412,"duration":10311,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3340,"timestamp":2307956780405,"duration":11029,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/ethereum.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3336,"name":"read-resource","id":3337,"timestamp":2307956780383,"duration":11413,"tags":{},"startTime":1664295729784}] +[{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3336,"timestamp":2307956780376,"duration":11702,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/constants.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3338,"name":"read-resource","id":3339,"timestamp":2307956780398,"duration":11687,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3338,"timestamp":2307956780390,"duration":12050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/encoding.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3334,"name":"read-resource","id":3335,"timestamp":2307956780368,"duration":12077,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3334,"timestamp":2307956780360,"duration":12310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/queries.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3342,"name":"read-resource","id":3343,"timestamp":2307956780431,"duration":12245,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3342,"timestamp":2307956780422,"duration":12414,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/payload.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3344,"name":"read-resource","id":3345,"timestamp":2307956780445,"duration":12396,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3344,"timestamp":2307956780438,"duration":12658,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/misc.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3348,"name":"read-resource","id":3349,"timestamp":2307956780479,"duration":12622,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3348,"timestamp":2307956780470,"duration":12758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/url.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3346,"name":"read-resource","id":3347,"timestamp":2307956780459,"duration":12775,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3346,"timestamp":2307956780451,"duration":12925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/session.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3352,"name":"read-resource","id":3353,"timestamp":2307956780512,"duration":12871,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3352,"timestamp":2307956780505,"duration":12953,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/assignRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3356,"name":"read-resource","id":3357,"timestamp":2307956780543,"duration":12920,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3356,"timestamp":2307956780536,"duration":13162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/createRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3358,"name":"read-resource","id":3359,"timestamp":2307956780556,"duration":13146,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3358,"timestamp":2307956780549,"duration":13239,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/mergeRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3354,"name":"read-resource","id":3355,"timestamp":2307956780529,"duration":13337,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3354,"timestamp":2307956780522,"duration":13443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3350,"name":"read-resource","id":3351,"timestamp":2307956780494,"duration":13555,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3350,"timestamp":2307956780486,"duration":13758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/validators.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3360,"name":"read-resource","id":3361,"timestamp":2307956783535,"duration":14117,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3360,"timestamp":2307956783505,"duration":14293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useMergeRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3366,"name":"read-resource","id":3367,"timestamp":2307956783583,"duration":14221,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3366,"timestamp":2307956783574,"duration":14366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/refToCallback.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3362,"name":"read-resource","id":3363,"timestamp":2307956783553,"duration":14392,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3362,"timestamp":2307956783543,"duration":14480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useTransformRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3364,"name":"read-resource","id":3365,"timestamp":2307956783569,"duration":14459,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3364,"timestamp":2307956783559,"duration":14543,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/transformRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"read-resource","id":3371,"timestamp":2307956783617,"duration":14490,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3370,"timestamp":2307956783610,"duration":14657,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3376,"name":"read-resource","id":3377,"timestamp":2307956783663,"duration":14609,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3376,"timestamp":2307956783656,"duration":14771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/mint/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3372,"name":"read-resource","id":3373,"timestamp":2307956783632,"duration":14800,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3372,"timestamp":2307956783623,"duration":15070,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3378,"name":"read-resource","id":3379,"timestamp":2307956783676,"duration":15023,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3378,"timestamp":2307956783668,"duration":15109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/slashing/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3380,"name":"read-resource","id":3381,"timestamp":2307956783689,"duration":15094,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3380,"timestamp":2307956783681,"duration":15216,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/slashing/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3384,"name":"read-resource","id":3385,"timestamp":2307956783713,"duration":15190,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3384,"timestamp":2307956783706,"duration":15416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/medium.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"read-resource","id":3375,"timestamp":2307956783644,"duration":15485,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3374,"timestamp":2307956783636,"duration":16397,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3382,"name":"read-resource","id":3383,"timestamp":2307956783701,"duration":16338,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3382,"timestamp":2307956783694,"duration":16560,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/hook.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3368,"name":"read-resource","id":3369,"timestamp":2307956783602,"duration":16658,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3368,"timestamp":2307956783594,"duration":19271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/long/src/long.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3386,"name":"read-resource","id":3387,"timestamp":2307956783726,"duration":19152,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3386,"timestamp":2307956783719,"duration":19310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/config.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3390,"name":"read-resource","id":3391,"timestamp":2307956783753,"duration":19285,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3390,"timestamp":2307956783744,"duration":19418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/hoc.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3388,"name":"read-resource","id":3389,"timestamp":2307956783740,"duration":19428,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3388,"timestamp":2307956783731,"duration":19625,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/renderProp.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3402,"name":"read-resource","id":3403,"timestamp":2307956783844,"duration":19517,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3402,"timestamp":2307956783837,"duration":19719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/vesting/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3404,"name":"read-resource","id":3405,"timestamp":2307956783855,"duration":19707,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3404,"timestamp":2307956783848,"duration":19786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/vesting/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3392,"name":"read-resource","id":3393,"timestamp":2307956783770,"duration":19869,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3392,"timestamp":2307956783760,"duration":19987,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/exports.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3394,"name":"read-resource","id":3395,"timestamp":2307956783784,"duration":19972,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3394,"timestamp":2307956783777,"duration":20374,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3398,"name":"read-resource","id":3399,"timestamp":2307956783813,"duration":20344,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3398,"timestamp":2307956783806,"duration":20613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3396,"name":"read-resource","id":3397,"timestamp":2307956783801,"duration":20625,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3396,"timestamp":2307956783788,"duration":20729,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3400,"name":"read-resource","id":3401,"timestamp":2307956783828,"duration":20694,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3400,"timestamp":2307956783822,"duration":20877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/tx/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3408,"name":"read-resource","id":3409,"timestamp":2307956783880,"duration":20824,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3408,"timestamp":2307956783873,"duration":20973,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/coins.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3406,"name":"read-resource","id":3407,"timestamp":2307956783868,"duration":20984,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"build-module-js","id":3406,"timestamp":2307956783862,"duration":21215,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/component.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3410,"name":"read-resource","id":3411,"timestamp":2307956783893,"duration":21588,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3410,"timestamp":2307956783884,"duration":21703,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/decode.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3412,"name":"read-resource","id":3413,"timestamp":2307956783904,"duration":21690,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3412,"timestamp":2307956783897,"duration":22934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1hdwallet.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3416,"name":"read-resource","id":3417,"timestamp":2307956784977,"duration":27851,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3416,"timestamp":2307956784968,"duration":28082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/paths.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3414,"name":"read-resource","id":3415,"timestamp":2307956784963,"duration":28096,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3414,"timestamp":2307956784950,"duration":28357,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1wallet.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"read-resource","id":3419,"timestamp":2307956784988,"duration":28327,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3418,"timestamp":2307956784981,"duration":28591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/pubkey.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3420,"name":"read-resource","id":3421,"timestamp":2307956785035,"duration":28543,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3420,"timestamp":2307956785015,"duration":29008,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/registry.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3422,"name":"read-resource","id":3423,"timestamp":2307956785053,"duration":29010,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3422,"timestamp":2307956785042,"duration":29101,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/signer.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3424,"name":"read-resource","id":3425,"timestamp":2307956785848,"duration":28408,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3424,"timestamp":2307956785826,"duration":29328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/signing.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3426,"name":"read-resource","id":3427,"timestamp":2307956785867,"duration":29345,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3426,"timestamp":2307956785857,"duration":29752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/wallet.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"read-resource","id":3431,"timestamp":2307956785907,"duration":29709,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"build-module-js","id":3430,"timestamp":2307956785898,"duration":30656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/encoding/dist/esm/index.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3428,"name":"read-resource","id":3429,"timestamp":2307956785883,"duration":30678,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"build-module-js","id":3428,"timestamp":2307956785875,"duration":30890,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"read-resource","id":3433,"timestamp":2307956785921,"duration":36727,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3432,"timestamp":2307956785914,"duration":37477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/dist/esm/index.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3436,"name":"read-resource","id":3437,"timestamp":2307956796491,"duration":30480,"tags":{},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":3208,"name":"build-module-js","id":3436,"timestamp":2307956796480,"duration":30692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/types/dist/MotionValue.es.js"},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"read-resource","id":3435,"timestamp":2307956796470,"duration":30710,"tags":{},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"build-module-js","id":3434,"timestamp":2307956796441,"duration":30842,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/index.js"},"startTime":1664295729800}] +[{"traceId":"1979f6cbb13579d5","parentId":3438,"name":"read-resource","id":3439,"timestamp":2307956820826,"duration":9828,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"build-module-js","id":3438,"timestamp":2307956820792,"duration":10533,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/Animation.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3440,"name":"read-resource","id":3441,"timestamp":2307956820848,"duration":10486,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3440,"timestamp":2307956820837,"duration":10603,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/array.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3442,"name":"read-resource","id":3443,"timestamp":2307956820862,"duration":10584,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3442,"timestamp":2307956820853,"duration":10661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/clamp.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3446,"name":"read-resource","id":3447,"timestamp":2307956820897,"duration":10622,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3446,"timestamp":2307956820889,"duration":10707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/easing.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3444,"name":"read-resource","id":3445,"timestamp":2307956820879,"duration":10722,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3444,"timestamp":2307956820870,"duration":10784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/defaults.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3448,"name":"read-resource","id":3449,"timestamp":2307956820909,"duration":10748,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3448,"timestamp":2307956820902,"duration":10903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/interpolate.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3452,"name":"read-resource","id":3453,"timestamp":2307956820934,"duration":10876,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3452,"timestamp":2307956820927,"duration":10943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-easing-list.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3456,"name":"read-resource","id":3457,"timestamp":2307956820958,"duration":10916,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3456,"timestamp":2307956820952,"duration":10972,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-number.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3450,"name":"read-resource","id":3451,"timestamp":2307956820922,"duration":11005,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3450,"timestamp":2307956820915,"duration":11062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-easing-generator.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3454,"name":"read-resource","id":3455,"timestamp":2307956820945,"duration":11036,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3454,"timestamp":2307956820939,"duration":11088,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-function.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3460,"name":"read-resource","id":3461,"timestamp":2307956820981,"duration":11049,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3460,"timestamp":2307956820974,"duration":11110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-cubic-bezier.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3462,"name":"read-resource","id":3463,"timestamp":2307956820993,"duration":11096,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3462,"timestamp":2307956820986,"duration":11151,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/mix.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3458,"name":"read-resource","id":3459,"timestamp":2307956820970,"duration":11171,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3458,"timestamp":2307956820963,"duration":11218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-string.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3464,"name":"read-resource","id":3465,"timestamp":2307956821005,"duration":11191,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3464,"timestamp":2307956820998,"duration":11295,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/offset.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3468,"name":"read-resource","id":3469,"timestamp":2307956821028,"duration":11269,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3468,"timestamp":2307956821021,"duration":11324,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/noop.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3466,"name":"read-resource","id":3467,"timestamp":2307956821017,"duration":11332,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3466,"timestamp":2307956821010,"duration":11390,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/progress.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3470,"name":"read-resource","id":3471,"timestamp":2307956821041,"duration":11363,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3470,"timestamp":2307956821034,"duration":11646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/denom/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3476,"name":"read-resource","id":3477,"timestamp":2307956821076,"duration":11610,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3476,"timestamp":2307956821069,"duration":11771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/utils/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3480,"name":"read-resource","id":3481,"timestamp":2307956821100,"duration":11745,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3480,"timestamp":2307956821093,"duration":11811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/time.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3478,"name":"read-resource","id":3479,"timestamp":2307956821088,"duration":11825,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3478,"timestamp":2307956821081,"duration":11941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/escape/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3484,"name":"read-resource","id":3485,"timestamp":2307956821123,"duration":11905,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3484,"timestamp":2307956821116,"duration":11970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/wrap.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3474,"name":"read-resource","id":3475,"timestamp":2307956821064,"duration":12026,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3474,"timestamp":2307956821057,"duration":12179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/mobx/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3482,"name":"read-resource","id":3483,"timestamp":2307956821111,"duration":12132,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3482,"timestamp":2307956821104,"duration":12199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/velocity.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"read-resource","id":3473,"timestamp":2307956821052,"duration":12256,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3472,"timestamp":2307956821046,"duration":12431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3490,"name":"read-resource","id":3491,"timestamp":2307956821164,"duration":12318,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3490,"timestamp":2307956821158,"duration":12492,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/singleton.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3492,"name":"read-resource","id":3493,"timestamp":2307956821176,"duration":12479,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3492,"timestamp":2307956821169,"duration":12565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/hook.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3488,"name":"read-resource","id":3489,"timestamp":2307956821151,"duration":12588,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3488,"timestamp":2307956821143,"duration":12664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/component.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3496,"name":"read-resource","id":3497,"timestamp":2307956821202,"duration":12609,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3496,"timestamp":2307956821196,"duration":12871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/glide/index.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3486,"name":"read-resource","id":3487,"timestamp":2307956821135,"duration":12937,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"build-module-js","id":3486,"timestamp":2307956821128,"duration":13083,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/utils/easing.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"read-resource","id":3495,"timestamp":2307956821191,"duration":13027,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3224,"name":"build-module-js","id":3494,"timestamp":2307956821181,"duration":14375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/factoryWithTypeCheckers.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"read-resource","id":3499,"timestamp":2307956821216,"duration":17100,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3498,"timestamp":2307956821209,"duration":17807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/index.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3500,"name":"read-resource","id":3501,"timestamp":2307956821227,"duration":18174,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3500,"timestamp":2307956821221,"duration":18403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3502,"name":"read-resource","id":3503,"timestamp":2307956821241,"duration":18390,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3502,"timestamp":2307956821232,"duration":18489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/velocity.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3504,"name":"read-resource","id":3505,"timestamp":2307956825527,"duration":15150,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"build-module-js","id":3504,"timestamp":2307956825501,"duration":15923,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/decimal.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3512,"name":"read-resource","id":3513,"timestamp":2307956825819,"duration":15619,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3512,"timestamp":2307956825811,"duration":15730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/sleep.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3510,"name":"read-resource","id":3511,"timestamp":2307956825806,"duration":15922,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3510,"timestamp":2307956825798,"duration":16068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/assert.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3506,"name":"read-resource","id":3507,"timestamp":2307956825545,"duration":16330,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"build-module-js","id":3506,"timestamp":2307956825536,"duration":18313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/integers.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3508,"name":"read-resource","id":3509,"timestamp":2307956825791,"duration":18114,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3508,"timestamp":2307956825780,"duration":18260,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/arrays.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3514,"name":"read-resource","id":3515,"timestamp":2307956828876,"duration":19074,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3514,"timestamp":2307956828852,"duration":19340,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/typechecks.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3520,"name":"read-resource","id":3521,"timestamp":2307956828917,"duration":19323,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3520,"timestamp":2307956828909,"duration":19928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/encoding.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3516,"name":"read-resource","id":3517,"timestamp":2307956828894,"duration":19967,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3516,"timestamp":2307956828885,"duration":20197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/addresses.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3518,"name":"read-resource","id":3519,"timestamp":2307956828906,"duration":20293,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3518,"timestamp":2307956828898,"duration":20549,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/coins.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3522,"name":"read-resource","id":3523,"timestamp":2307956829122,"duration":20330,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3522,"timestamp":2307956829112,"duration":20523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/multisig.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3526,"name":"read-resource","id":3527,"timestamp":2307956829145,"duration":21760,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3526,"timestamp":2307956829138,"duration":21924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/pubkeys.js"},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3524,"name":"read-resource","id":3525,"timestamp":2307956829134,"duration":21934,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3524,"timestamp":2307956829127,"duration":22036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/paths.js"},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3528,"name":"read-resource","id":3529,"timestamp":2307956837024,"duration":14942,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3528,"timestamp":2307956836995,"duration":15708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/secp256k1hdwallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3530,"name":"read-resource","id":3531,"timestamp":2307956837049,"duration":15661,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3530,"timestamp":2307956837040,"duration":15887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/secp256k1wallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3532,"name":"read-resource","id":3533,"timestamp":2307956837075,"duration":15857,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3532,"timestamp":2307956837055,"duration":16020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/signature.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3536,"name":"read-resource","id":3537,"timestamp":2307956837104,"duration":15977,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3536,"timestamp":2307956837095,"duration":16096,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/stdtx.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3540,"name":"read-resource","id":3541,"timestamp":2307956837132,"duration":16067,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3540,"timestamp":2307956837124,"duration":16387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/bech32.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3534,"name":"read-resource","id":3535,"timestamp":2307956837090,"duration":16427,"tags":{},"startTime":1664295729840}] +[{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3534,"timestamp":2307956837082,"duration":16749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/signdoc.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3544,"name":"read-resource","id":3545,"timestamp":2307956837159,"duration":16677,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3544,"timestamp":2307956837152,"duration":16918,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/base64.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3542,"name":"read-resource","id":3543,"timestamp":2307956837146,"duration":16930,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3542,"timestamp":2307956837139,"duration":17089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/ascii.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3538,"name":"read-resource","id":3539,"timestamp":2307956837117,"duration":17116,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3538,"timestamp":2307956837109,"duration":17331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/wallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3548,"name":"read-resource","id":3549,"timestamp":2307956837188,"duration":17259,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3548,"timestamp":2307956837181,"duration":18418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/rfc3339.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3546,"name":"read-resource","id":3547,"timestamp":2307956837176,"duration":18429,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3546,"timestamp":2307956837169,"duration":18594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/hex.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3550,"name":"read-resource","id":3551,"timestamp":2307956837203,"duration":18960,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3550,"timestamp":2307956837195,"duration":19061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/utf8.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3554,"name":"read-resource","id":3555,"timestamp":2307956837235,"duration":19197,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"build-module-mjs","id":3554,"timestamp":2307956837227,"duration":19346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/on-next-frame.mjs"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"read-resource","id":3553,"timestamp":2307956837217,"duration":19376,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3552,"timestamp":2307956837210,"duration":19538,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusInside.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3556,"name":"read-resource","id":3557,"timestamp":2307956840326,"duration":18482,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"build-module-mjs","id":3556,"timestamp":2307956840294,"duration":18849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/create-render-step.mjs"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3562,"name":"read-resource","id":3563,"timestamp":2307956840380,"duration":18771,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3562,"timestamp":2307956840371,"duration":19485,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/dates.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3560,"name":"read-resource","id":3561,"timestamp":2307956840363,"duration":19503,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3560,"timestamp":2307956840351,"duration":19708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/addresses.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3558,"name":"read-resource","id":3559,"timestamp":2307956840344,"duration":19745,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3558,"timestamp":2307956840335,"duration":19876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusIsHidden.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"read-resource","id":3567,"timestamp":2307956840405,"duration":19835,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3566,"timestamp":2307956840397,"duration":20097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusMerge.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3564,"name":"read-resource","id":3565,"timestamp":2307956840393,"duration":20107,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3564,"timestamp":2307956840384,"duration":20214,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/types.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3570,"name":"read-resource","id":3571,"timestamp":2307956847215,"duration":16809,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3570,"timestamp":2307956847201,"duration":17139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusables.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3568,"name":"read-resource","id":3569,"timestamp":2307956847188,"duration":17159,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3568,"timestamp":2307956846906,"duration":17616,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/setFocus.js"},"startTime":1664295729850},{"traceId":"1979f6cbb13579d5","parentId":3572,"name":"read-resource","id":3573,"timestamp":2307956847230,"duration":17299,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3572,"timestamp":2307956847221,"duration":17542,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/sibling.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3574,"name":"read-resource","id":3575,"timestamp":2307956847243,"duration":17550,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3574,"timestamp":2307956847235,"duration":17641,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/tabHook.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3584,"name":"read-resource","id":3585,"timestamp":2307956850733,"duration":15287,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3584,"timestamp":2307956850726,"duration":15653,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/dates.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"read-resource","id":3577,"timestamp":2307956850678,"duration":15707,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"build-module-js","id":3576,"timestamp":2307956850661,"duration":21829,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/staking.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3578,"name":"read-resource","id":3579,"timestamp":2307956850695,"duration":21821,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3258,"name":"build-module-js","id":3578,"timestamp":2307956850686,"duration":22024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3582,"name":"read-resource","id":3583,"timestamp":2307956850721,"duration":21998,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3582,"timestamp":2307956850714,"duration":22111,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3580,"name":"read-resource","id":3581,"timestamp":2307956850708,"duration":22123,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3580,"timestamp":2307956850700,"duration":22315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/all-affected.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3592,"name":"read-resource","id":3593,"timestamp":2307956857616,"duration":17708,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"build-module-js","id":3592,"timestamp":2307956857609,"duration":18382,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/decimal.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3590,"name":"read-resource","id":3591,"timestamp":2307956857603,"duration":18397,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"build-module-js","id":3590,"timestamp":2307956857595,"duration":19063,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/integers.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3586,"name":"read-resource","id":3587,"timestamp":2307956857566,"duration":19104,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3586,"timestamp":2307956857544,"duration":19302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/addresses.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3588,"name":"read-resource","id":3589,"timestamp":2307956857587,"duration":19265,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3588,"timestamp":2307956857577,"duration":19370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/types.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3594,"name":"read-resource","id":3595,"timestamp":2307956857629,"duration":19324,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3594,"timestamp":2307956857622,"duration":19450,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/coins.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3598,"name":"read-resource","id":3599,"timestamp":2307956857656,"duration":19421,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3598,"timestamp":2307956857649,"duration":20030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1hdwallet.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3596,"name":"read-resource","id":3597,"timestamp":2307956857642,"duration":20044,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3596,"timestamp":2307956857634,"duration":20138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/decode.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3600,"name":"read-resource","id":3601,"timestamp":2307956858006,"duration":20257,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3600,"timestamp":2307956857669,"duration":20969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1wallet.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3602,"name":"read-resource","id":3603,"timestamp":2307956858022,"duration":20625,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3602,"timestamp":2307956858014,"duration":20746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/paths.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3606,"name":"read-resource","id":3607,"timestamp":2307956861978,"duration":19188,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3606,"timestamp":2307956861968,"duration":19686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/registry.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3604,"name":"read-resource","id":3605,"timestamp":2307956861957,"duration":19749,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3604,"timestamp":2307956861919,"duration":20054,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/pubkey.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3608,"name":"read-resource","id":3609,"timestamp":2307956861993,"duration":19988,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3608,"timestamp":2307956861985,"duration":20073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/signer.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3610,"name":"read-resource","id":3611,"timestamp":2307956862006,"duration":20063,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3610,"timestamp":2307956861999,"duration":20309,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/signing.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3614,"name":"read-resource","id":3615,"timestamp":2307956862032,"duration":20287,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"build-module-js","id":3614,"timestamp":2307956862026,"duration":20667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/any.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3616,"name":"read-resource","id":3617,"timestamp":2307956862045,"duration":20656,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"build-module-js","id":3616,"timestamp":2307956862038,"duration":20902,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/timestamp.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3612,"name":"read-resource","id":3613,"timestamp":2307956862019,"duration":20930,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3612,"timestamp":2307956862012,"duration":21136,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/wallet.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3622,"name":"read-resource","id":3623,"timestamp":2307956862080,"duration":21073,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3622,"timestamp":2307956862074,"duration":21238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/hex.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3618,"name":"read-resource","id":3619,"timestamp":2307956862057,"duration":21263,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3618,"timestamp":2307956862051,"duration":22569,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/ascii.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3620,"name":"read-resource","id":3621,"timestamp":2307956862068,"duration":22561,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3620,"timestamp":2307956862062,"duration":22897,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/bech32.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3624,"name":"read-resource","id":3625,"timestamp":2307956862091,"duration":22874,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3624,"timestamp":2307956862085,"duration":23095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/base64.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3626,"name":"read-resource","id":3627,"timestamp":2307956862102,"duration":23302,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3626,"timestamp":2307956862096,"duration":24492,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/rfc3339.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3634,"name":"read-resource","id":3635,"timestamp":2307956865397,"duration":24656,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3634,"timestamp":2307956865390,"duration":24835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/sleep.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3632,"name":"read-resource","id":3633,"timestamp":2307956865386,"duration":24846,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3632,"timestamp":2307956865379,"duration":24988,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/assert.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3628,"name":"read-resource","id":3629,"timestamp":2307956865351,"duration":25022,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3628,"timestamp":2307956865332,"duration":25129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/utf8.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3630,"name":"read-resource","id":3631,"timestamp":2307956865371,"duration":25094,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3630,"timestamp":2307956865363,"duration":25474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/arrays.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3636,"name":"read-resource","id":3637,"timestamp":2307956874402,"duration":18020,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3636,"timestamp":2307956874383,"duration":18301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/typechecks.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3638,"name":"read-resource","id":3639,"timestamp":2307956874422,"duration":18270,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3638,"timestamp":2307956874414,"duration":18534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/addresses.js"},"startTime":1664295729878}] +[{"traceId":"1979f6cbb13579d5","parentId":3640,"name":"read-resource","id":3641,"timestamp":2307956874437,"duration":18650,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3640,"timestamp":2307956874429,"duration":19000,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/coins.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3642,"name":"read-resource","id":3643,"timestamp":2307956874453,"duration":18983,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3642,"timestamp":2307956874445,"duration":19477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/encoding.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3644,"name":"read-resource","id":3645,"timestamp":2307956874467,"duration":19464,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3644,"timestamp":2307956874459,"duration":19656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/multisig.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3646,"name":"read-resource","id":3647,"timestamp":2307956874480,"duration":19641,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3646,"timestamp":2307956874473,"duration":19728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/paths.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"read-resource","id":3651,"timestamp":2307956874511,"duration":19695,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3650,"timestamp":2307956874503,"duration":20322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/inflate.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3652,"name":"read-resource","id":3653,"timestamp":2307956874524,"duration":20309,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3652,"timestamp":2307956874517,"duration":20412,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/constants.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3654,"name":"read-resource","id":3655,"timestamp":2307956874542,"duration":20393,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3654,"timestamp":2307956874535,"duration":20968,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/pubkeys.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3658,"name":"read-resource","id":3659,"timestamp":2307956874573,"duration":20937,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3658,"timestamp":2307956874566,"duration":21074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/signature.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3660,"name":"read-resource","id":3661,"timestamp":2307956874591,"duration":21054,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3660,"timestamp":2307956874584,"duration":21269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/secp256k1wallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3662,"name":"read-resource","id":3663,"timestamp":2307956874608,"duration":21251,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3662,"timestamp":2307956874600,"duration":21411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/signdoc.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3664,"name":"read-resource","id":3665,"timestamp":2307956874624,"duration":21407,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3664,"timestamp":2307956874618,"duration":21509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/stdtx.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3648,"name":"read-resource","id":3649,"timestamp":2307956874495,"duration":21637,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3648,"timestamp":2307956874487,"duration":22152,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/deflate.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3656,"name":"read-resource","id":3657,"timestamp":2307956874555,"duration":22091,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3656,"timestamp":2307956874548,"duration":22735,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/secp256k1hdwallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3666,"name":"read-resource","id":3667,"timestamp":2307956874637,"duration":22652,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3666,"timestamp":2307956874630,"duration":22851,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/wallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3668,"name":"read-resource","id":3669,"timestamp":2307956874653,"duration":22833,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3668,"timestamp":2307956874647,"duration":24086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/bip39.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3670,"name":"read-resource","id":3671,"timestamp":2307956879317,"duration":22109,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3670,"timestamp":2307956879294,"duration":22449,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/hmac.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"read-resource","id":3673,"timestamp":2307956879340,"duration":22411,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3672,"timestamp":2307956879331,"duration":22585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/keccak.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3674,"name":"read-resource","id":3675,"timestamp":2307956879353,"duration":22569,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3674,"timestamp":2307956879346,"duration":22893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/libsodium.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3676,"name":"read-resource","id":3677,"timestamp":2307956879365,"duration":22998,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3676,"timestamp":2307956879358,"duration":23143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/random.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3678,"name":"read-resource","id":3679,"timestamp":2307956879380,"duration":23152,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3678,"timestamp":2307956879371,"duration":23287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/ripemd.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"read-resource","id":3681,"timestamp":2307956888045,"duration":17128,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3680,"timestamp":2307956888020,"duration":17745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/secp256k1.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3684,"name":"read-resource","id":3685,"timestamp":2307956888082,"duration":17691,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"build-module-js","id":3684,"timestamp":2307956888074,"duration":17941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3682,"name":"read-resource","id":3683,"timestamp":2307956888067,"duration":17955,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"build-module-js","id":3682,"timestamp":2307956888057,"duration":18086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3686,"name":"read-resource","id":3687,"timestamp":2307956888096,"duration":18053,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3252,"name":"build-module-js","id":3686,"timestamp":2307956888089,"duration":19217,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/client.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"read-resource","id":3693,"timestamp":2307956888139,"duration":19175,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3692,"timestamp":2307956888132,"duration":19367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/sha.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3690,"name":"read-resource","id":3691,"timestamp":2307956888126,"duration":19381,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3690,"timestamp":2307956888118,"duration":19808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/secp256k1signature.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3688,"name":"read-resource","id":3689,"timestamp":2307956888111,"duration":19829,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3274,"name":"build-module-js","id":3688,"timestamp":2307956888103,"duration":20393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/query/v1beta1/pagination.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3694,"name":"read-resource","id":3695,"timestamp":2307956888152,"duration":20350,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3694,"timestamp":2307956888145,"duration":22255,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/slip10.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3696,"name":"read-resource","id":3697,"timestamp":2307956888164,"duration":22244,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3200,"name":"build-module-js","id":3696,"timestamp":2307956888157,"duration":22656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/process/browser.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3706,"name":"read-resource","id":3707,"timestamp":2307956891255,"duration":22215,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3318,"name":"build-module-js","id":3706,"timestamp":2307956891247,"duration":24467,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"read-resource","id":3699,"timestamp":2307956891179,"duration":24545,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3698,"timestamp":2307956891148,"duration":24706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3704,"name":"read-resource","id":3705,"timestamp":2307956891243,"duration":24616,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3300,"name":"build-module-js","id":3704,"timestamp":2307956891235,"duration":25419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/auth/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3708,"name":"read-resource","id":3709,"timestamp":2307956891266,"duration":25399,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"build-module-js","id":3708,"timestamp":2307956891259,"duration":25478,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/minimal.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"read-resource","id":3701,"timestamp":2307956891205,"duration":25539,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3700,"timestamp":2307956891195,"duration":25681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"read-resource","id":3711,"timestamp":2307956891277,"duration":25608,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3710,"timestamp":2307956891270,"duration":25711,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3720,"name":"read-resource","id":3721,"timestamp":2307956891340,"duration":25648,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3310,"name":"build-module-js","id":3720,"timestamp":2307956891333,"duration":26511,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3702,"name":"read-resource","id":3703,"timestamp":2307956891226,"duration":26629,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3298,"name":"build-module-js","id":3702,"timestamp":2307956891215,"duration":30720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"read-resource","id":3713,"timestamp":2307956891288,"duration":30672,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3712,"timestamp":2307956891282,"duration":30949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3716,"name":"read-resource","id":3717,"timestamp":2307956891311,"duration":30933,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3306,"name":"build-module-js","id":3716,"timestamp":2307956891302,"duration":32103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3718,"name":"read-resource","id":3719,"timestamp":2307956891326,"duration":32087,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3304,"name":"build-module-js","id":3718,"timestamp":2307956891320,"duration":33021,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3714,"name":"read-resource","id":3715,"timestamp":2307956891299,"duration":33052,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"build-module-js","id":3714,"timestamp":2307956891292,"duration":33207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/types/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3722,"name":"read-resource","id":3723,"timestamp":2307956891349,"duration":33156,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3312,"name":"build-module-js","id":3722,"timestamp":2307956891343,"duration":35941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3728,"name":"read-resource","id":3729,"timestamp":2307956891397,"duration":35897,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3382,"name":"build-module-js","id":3728,"timestamp":2307956891390,"duration":36018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/env.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3724,"name":"read-resource","id":3725,"timestamp":2307956891365,"duration":36049,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3326,"name":"build-module-js","id":3724,"timestamp":2307956891356,"duration":36601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3726,"name":"read-resource","id":3727,"timestamp":2307956891383,"duration":36581,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3328,"name":"build-module-js","id":3726,"timestamp":2307956891376,"duration":37212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3730,"name":"read-resource","id":3731,"timestamp":2307956891418,"duration":37177,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3730,"timestamp":2307956891411,"duration":41076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3732,"name":"read-resource","id":3733,"timestamp":2307956891433,"duration":41074,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3732,"timestamp":2307956891426,"duration":42346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3734,"name":"read-resource","id":3735,"timestamp":2307956891446,"duration":42341,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3734,"timestamp":2307956891439,"duration":43853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"read-resource","id":3739,"timestamp":2307956891538,"duration":43886,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3400,"name":"build-module-js","id":3738,"timestamp":2307956891531,"duration":45884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/v1beta1/service.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3736,"name":"read-resource","id":3737,"timestamp":2307956891518,"duration":45907,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3398,"name":"build-module-js","id":3736,"timestamp":2307956891503,"duration":52059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3740,"name":"read-resource","id":3741,"timestamp":2307956953714,"duration":7321,"tags":{},"startTime":1664295729957}] +[{"traceId":"1979f6cbb13579d5","parentId":3404,"name":"build-module-js","id":3740,"timestamp":2307956953678,"duration":8274,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/vesting/v1beta1/tx.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3744,"name":"read-resource","id":3745,"timestamp":2307956953755,"duration":8206,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"build-module-js","id":3744,"timestamp":2307956953746,"duration":8405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/dist/esm/network.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3742,"name":"read-resource","id":3743,"timestamp":2307956953738,"duration":8419,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"build-module-js","id":3742,"timestamp":2307956953727,"duration":8724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/multisig/keys.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3752,"name":"read-resource","id":3753,"timestamp":2307956953812,"duration":8645,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"build-module-js","id":3752,"timestamp":2307956953804,"duration":9043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/secp256k1/keys.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3750,"name":"read-resource","id":3751,"timestamp":2307956953797,"duration":10246,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3334,"name":"build-module-js","id":3750,"timestamp":2307956953790,"duration":12521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/query.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3746,"name":"read-resource","id":3747,"timestamp":2307956953770,"duration":12562,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3332,"name":"build-module-js","id":3746,"timestamp":2307956953761,"duration":14566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/gov.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3748,"name":"read-resource","id":3749,"timestamp":2307956953785,"duration":14608,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3330,"name":"build-module-js","id":3748,"timestamp":2307956953778,"duration":15876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/tx.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3758,"name":"read-resource","id":3759,"timestamp":2307956957413,"duration":12476,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3758,"timestamp":2307956957404,"duration":13668,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/hmac.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3760,"name":"read-resource","id":3761,"timestamp":2307956957427,"duration":13660,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3760,"timestamp":2307956957418,"duration":13783,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/sha2.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3762,"name":"read-resource","id":3763,"timestamp":2307956957439,"duration":13768,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3762,"timestamp":2307956957432,"duration":13856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/aes.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"read-resource","id":3755,"timestamp":2307956957373,"duration":13921,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3754,"timestamp":2307956957342,"duration":14040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/index.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"read-resource","id":3757,"timestamp":2307956957398,"duration":13989,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"build-module-js","id":3756,"timestamp":2307956957387,"duration":16133,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/index.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3764,"name":"read-resource","id":3765,"timestamp":2307956957453,"duration":16085,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3764,"timestamp":2307956957446,"duration":16244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/defaults.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3766,"name":"read-resource","id":3767,"timestamp":2307956957466,"duration":17777,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3766,"timestamp":2307956957459,"duration":17944,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/utils.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3768,"name":"read-resource","id":3769,"timestamp":2307956957479,"duration":17931,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3768,"timestamp":2307956957471,"duration":18026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/has-reached-target.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3770,"name":"read-resource","id":3771,"timestamp":2307956957491,"duration":18011,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3770,"timestamp":2307956957484,"duration":19676,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/channel.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3772,"name":"read-resource","id":3773,"timestamp":2307956957502,"duration":19664,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3772,"timestamp":2307956957496,"duration":23080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/tx.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3774,"name":"read-resource","id":3775,"timestamp":2307956957513,"duration":23076,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3774,"timestamp":2307956957507,"duration":29638,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3776,"name":"read-resource","id":3777,"timestamp":2307956957527,"duration":29641,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3776,"timestamp":2307956957519,"duration":31512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3780,"name":"read-resource","id":3781,"timestamp":2307956957554,"duration":31492,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3376,"name":"build-module-js","id":3780,"timestamp":2307956957547,"duration":32991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/mint/v1beta1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3778,"name":"read-resource","id":3779,"timestamp":2307956957542,"duration":33006,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3778,"timestamp":2307956957531,"duration":34805,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/tx.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3784,"name":"read-resource","id":3785,"timestamp":2307956957580,"duration":34769,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3784,"timestamp":2307956957573,"duration":35135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/checkPropTypes.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3782,"name":"read-resource","id":3783,"timestamp":2307956957569,"duration":35147,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3380,"name":"build-module-js","id":3782,"timestamp":2307956957563,"duration":37320,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/slashing/v1beta1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3788,"name":"read-resource","id":3789,"timestamp":2307956957607,"duration":37302,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3788,"timestamp":2307956957600,"duration":37506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/extension.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3790,"name":"read-resource","id":3791,"timestamp":2307956957621,"duration":37611,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3476,"name":"build-module-js","id":3790,"timestamp":2307956957615,"duration":37827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/utils/debouncer.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3786,"name":"read-resource","id":3787,"timestamp":2307956957594,"duration":37872,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3786,"timestamp":2307956957585,"duration":37960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/interface.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3792,"name":"read-resource","id":3793,"timestamp":2307956957636,"duration":38171,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3792,"timestamp":2307956957630,"duration":38432,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/base.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3796,"name":"read-resource","id":3797,"timestamp":2307956959444,"duration":38603,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3796,"timestamp":2307956959431,"duration":38801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/local.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3794,"name":"read-resource","id":3795,"timestamp":2307956959420,"duration":38822,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3794,"timestamp":2307956959395,"duration":38971,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/memory.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3798,"name":"read-resource","id":3799,"timestamp":2307956959458,"duration":38915,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3798,"timestamp":2307956959449,"duration":39275,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/indexed-db.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"read-resource","id":3801,"timestamp":2307956959470,"duration":39260,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3800,"timestamp":2307956959463,"duration":40715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/lightclients/tendermint/v1/tendermint.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3804,"name":"read-resource","id":3805,"timestamp":2307956959490,"duration":40694,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3804,"timestamp":2307956959483,"duration":40762,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/lib/ReactPropTypesSecret.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"read-resource","id":3807,"timestamp":2307956959501,"duration":40752,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"build-module-js","id":3806,"timestamp":2307956959495,"duration":41003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/DOMutils.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3802,"name":"read-resource","id":3803,"timestamp":2307956959480,"duration":41024,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3802,"timestamp":2307956959473,"duration":41082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/lib/has.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3810,"name":"read-resource","id":3811,"timestamp":2307956959522,"duration":41039,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3810,"timestamp":2307956959515,"duration":41270,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/solver.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3808,"name":"read-resource","id":3809,"timestamp":2307956959512,"duration":41278,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"build-module-js","id":3808,"timestamp":2307956959505,"duration":41370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/array.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3814,"name":"read-resource","id":3815,"timestamp":2307956959543,"duration":41338,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3814,"timestamp":2307956959536,"duration":41611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/is.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3818,"name":"read-resource","id":3819,"timestamp":2307956959562,"duration":41590,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3578,"name":"build-module-js","id":3818,"timestamp":2307956959556,"duration":41692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3812,"name":"read-resource","id":3813,"timestamp":2307956959532,"duration":41721,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3812,"timestamp":2307956959525,"duration":41817,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/firstFocus.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3820,"name":"read-resource","id":3821,"timestamp":2307956959586,"duration":41761,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3820,"timestamp":2307956959576,"duration":41840,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/object-assign.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3816,"name":"read-resource","id":3817,"timestamp":2307956959552,"duration":41869,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3816,"timestamp":2307956959546,"duration":42053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/parenting.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"read-resource","id":3825,"timestamp":2307956959607,"duration":41997,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3824,"timestamp":2307956959601,"duration":42086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3822,"name":"read-resource","id":3823,"timestamp":2307956959597,"duration":42095,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"build-module-js","id":3822,"timestamp":2307956959590,"duration":42361,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/duration.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"read-resource","id":3829,"timestamp":2307956959627,"duration":42331,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"build-module-js","id":3828,"timestamp":2307956959620,"duration":42509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"read-resource","id":3827,"timestamp":2307956959616,"duration":42518,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3826,"timestamp":2307956959610,"duration":42587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"read-resource","id":3831,"timestamp":2307956959639,"duration":42563,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3270,"name":"build-module-js","id":3830,"timestamp":2307956959631,"duration":42746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"read-resource","id":3833,"timestamp":2307956959651,"duration":42732,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"build-module-js","id":3832,"timestamp":2307956959643,"duration":45910,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/types.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3840,"name":"read-resource","id":3841,"timestamp":2307956959702,"duration":45875,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3840,"timestamp":2307956959695,"duration":46048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/gzheader.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"read-resource","id":3837,"timestamp":2307956959679,"duration":46071,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3836,"timestamp":2307956959672,"duration":49926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inflate.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3838,"name":"read-resource","id":3839,"timestamp":2307956959691,"duration":49921,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3838,"timestamp":2307956959684,"duration":50030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/messages.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3834,"name":"read-resource","id":3835,"timestamp":2307956959661,"duration":50059,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3834,"timestamp":2307956959654,"duration":50160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/zstream.js"},"startTime":1664295729963}] +[{"traceId":"1979f6cbb13579d5","parentId":3848,"name":"read-resource","id":3849,"timestamp":2307956959748,"duration":50266,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3848,"timestamp":2307956959742,"duration":50722,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/utils/strings.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3842,"name":"read-resource","id":3843,"timestamp":2307956959713,"duration":50758,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3648,"name":"build-module-js","id":3842,"timestamp":2307956959706,"duration":53786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/deflate.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3846,"name":"read-resource","id":3847,"timestamp":2307956959737,"duration":53766,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3846,"timestamp":2307956959731,"duration":53948,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/utils/common.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3850,"name":"read-resource","id":3851,"timestamp":2307956959760,"duration":53926,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3668,"name":"build-module-js","id":3850,"timestamp":2307956959753,"duration":54360,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/pbkdf2.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3844,"name":"read-resource","id":3845,"timestamp":2307956959726,"duration":54393,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3684,"name":"build-module-js","id":3844,"timestamp":2307956959719,"duration":54573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3852,"name":"read-resource","id":3853,"timestamp":2307956959772,"duration":54524,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"build-module-js","id":3852,"timestamp":2307956959765,"duration":54604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/utils.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3858,"name":"read-resource","id":3859,"timestamp":2307956959806,"duration":54570,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"build-module-js","id":3858,"timestamp":2307956959799,"duration":54690,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typedarray-to-buffer/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"read-resource","id":3857,"timestamp":2307956959794,"duration":54700,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3412,"name":"build-module-js","id":3856,"timestamp":2307956959788,"duration":55050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"read-resource","id":3855,"timestamp":2307956959784,"duration":55065,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"build-module-js","id":3854,"timestamp":2307956959777,"duration":55202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3860,"name":"read-resource","id":3861,"timestamp":2307956959817,"duration":55389,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"build-module-js","id":3860,"timestamp":2307956959810,"duration":55514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/is-typedarray/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"read-resource","id":3863,"timestamp":2307956960325,"duration":59276,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3862,"timestamp":2307956960316,"duration":60046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3864,"name":"read-resource","id":3865,"timestamp":2307956960337,"duration":60036,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3864,"timestamp":2307956960330,"duration":60144,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/rpcclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"read-resource","id":3867,"timestamp":2307956960349,"duration":60130,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3866,"timestamp":2307956960342,"duration":60705,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/websocketclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3872,"name":"read-resource","id":3873,"timestamp":2307956960379,"duration":60676,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3872,"timestamp":2307956960373,"duration":60807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/responses.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3876,"name":"read-resource","id":3877,"timestamp":2307956960398,"duration":60787,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3876,"timestamp":2307956960392,"duration":61011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3870,"name":"read-resource","id":3871,"timestamp":2307956960369,"duration":61041,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3870,"timestamp":2307956960363,"duration":61213,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/requests.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3868,"name":"read-resource","id":3869,"timestamp":2307956960359,"duration":61222,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3706,"name":"build-module-js","id":3868,"timestamp":2307956960353,"duration":64577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/distribution.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"read-resource","id":3875,"timestamp":2307956960388,"duration":64558,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3874,"timestamp":2307956960382,"duration":65347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/tendermint34client.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"read-resource","id":3881,"timestamp":2307956960427,"duration":65311,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3880,"timestamp":2307956960417,"duration":65780,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/websocketclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"read-resource","id":3883,"timestamp":2307956960437,"duration":65766,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3348,"name":"build-module-js","id":3882,"timestamp":2307956960431,"duration":66611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/query-string/index.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3878,"name":"read-resource","id":3879,"timestamp":2307956960407,"duration":66642,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3878,"timestamp":2307956960401,"duration":66734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/rpcclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3884,"name":"read-resource","id":3885,"timestamp":2307956963328,"duration":64304,"tags":{},"startTime":1664295729967},{"traceId":"1979f6cbb13579d5","parentId":3340,"name":"build-module-js","id":3884,"timestamp":2307956963313,"duration":67121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/js-sha3/src/sha3.js"},"startTime":1664295729967},{"traceId":"1979f6cbb13579d5","parentId":3892,"name":"read-resource","id":3893,"timestamp":2307957042122,"duration":5772,"tags":{},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3892,"timestamp":2307957042115,"duration":6212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/requests.js"},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3894,"name":"read-resource","id":3895,"timestamp":2307957042134,"duration":6200,"tags":{},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3894,"timestamp":2307957042127,"duration":6384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/responses.js"},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"read-resource","id":3887,"timestamp":2307957042075,"duration":6485,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3486,"name":"build-module-js","id":3886,"timestamp":2307957042034,"duration":6635,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/index.es.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"read-resource","id":3891,"timestamp":2307957042109,"duration":6567,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3708,"name":"build-module-js","id":3890,"timestamp":2307957042100,"duration":7282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/index-minimal.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3888,"name":"read-resource","id":3889,"timestamp":2307957042094,"duration":7296,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3338,"name":"build-module-js","id":3888,"timestamp":2307957042084,"duration":20104,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/node_modules/bn.js/lib/bn.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3902,"name":"read-resource","id":3903,"timestamp":2307957044474,"duration":20826,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"build-module-js","id":3902,"timestamp":2307957044467,"duration":20981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/node_modules/ws/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3900,"name":"read-resource","id":3901,"timestamp":2307957044461,"duration":20993,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3716,"name":"build-module-js","id":3900,"timestamp":2307957044453,"duration":21768,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/authz.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"read-resource","id":3897,"timestamp":2307957044432,"duration":21796,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3896,"timestamp":2307957044419,"duration":22619,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/tendermint34client.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3898,"name":"read-resource","id":3899,"timestamp":2307957044447,"duration":23717,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3720,"name":"build-module-js","id":3898,"timestamp":2307957044439,"duration":26145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/bank.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3910,"name":"read-resource","id":3911,"timestamp":2307957044527,"duration":26066,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"build-module-js","id":3910,"timestamp":2307957044517,"duration":26441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/block.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"read-resource","id":3907,"timestamp":2307957044499,"duration":26466,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3344,"name":"build-module-js","id":3906,"timestamp":2307957044491,"duration":26587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3904,"name":"read-resource","id":3905,"timestamp":2307957044487,"duration":26596,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3714,"name":"build-module-js","id":3904,"timestamp":2307957044480,"duration":27295,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/types/msgs.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3908,"name":"read-resource","id":3909,"timestamp":2307957044512,"duration":27270,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3686,"name":"build-module-js","id":3908,"timestamp":2307957044504,"duration":28895,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/upgrade/v1beta1/upgrade.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3912,"name":"read-resource","id":3913,"timestamp":2307957044544,"duration":28861,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3726,"name":"build-module-js","id":3912,"timestamp":2307957044534,"duration":30155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/feegrant.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3914,"name":"read-resource","id":3915,"timestamp":2307957044556,"duration":30156,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3734,"name":"build-module-js","id":3914,"timestamp":2307957044549,"duration":30578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/transfer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"read-resource","id":3923,"timestamp":2307957044605,"duration":30530,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3922,"timestamp":2307957044597,"duration":30926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3916,"name":"read-resource","id":3917,"timestamp":2307957044569,"duration":30963,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3490,"name":"build-module-js","id":3916,"timestamp":2307957044562,"duration":31076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/get-nonce/dist/es2015/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3920,"name":"read-resource","id":3921,"timestamp":2307957044593,"duration":31052,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3920,"timestamp":2307957044586,"duration":31129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/randombytes/dist/esm/browser/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3918,"name":"read-resource","id":3919,"timestamp":2307957044581,"duration":31140,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"build-module-js","id":3918,"timestamp":2307957044573,"duration":34627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/abci/v1beta1/abci.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3928,"name":"read-resource","id":3929,"timestamp":2307957044639,"duration":34578,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3928,"timestamp":2307957044632,"duration":34898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/concat.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3930,"name":"read-resource","id":3931,"timestamp":2307957044650,"duration":34887,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3930,"timestamp":2307957044644,"duration":35004,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/dropduplicates.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3934,"name":"read-resource","id":3935,"timestamp":2307957044673,"duration":34980,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3934,"timestamp":2307957044666,"duration":35187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/promise.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"read-resource","id":3925,"timestamp":2307957044617,"duration":35245,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3470,"name":"build-module-js","id":3924,"timestamp":2307957044610,"duration":35425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3926,"name":"read-resource","id":3927,"timestamp":2307957044628,"duration":35413,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"build-module-js","id":3926,"timestamp":2307957044621,"duration":46249,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/bn.js/lib/bn.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3936,"name":"read-resource","id":3937,"timestamp":2307957044684,"duration":46208,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3936,"timestamp":2307957044677,"duration":46602,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/reducer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3938,"name":"read-resource","id":3939,"timestamp":2307957044697,"duration":46590,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3938,"timestamp":2307957044690,"duration":46764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/valueandupdates.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3932,"name":"read-resource","id":3933,"timestamp":2307957044662,"duration":46798,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3932,"timestamp":2307957044655,"duration":46925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/defaultvalueproducer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3944,"name":"read-resource","id":3945,"timestamp":2307957044738,"duration":46848,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3944,"timestamp":2307957044731,"duration":47053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/mobile.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3942,"name":"read-resource","id":3943,"timestamp":2307957044725,"duration":47065,"tags":{},"startTime":1664295730048}] +[{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3942,"timestamp":2307957044719,"duration":47476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/local.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3946,"name":"read-resource","id":3947,"timestamp":2307957044751,"duration":47468,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3946,"timestamp":2307957044744,"duration":47737,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/registry.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3954,"name":"read-resource","id":3955,"timestamp":2307957044805,"duration":47683,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3954,"timestamp":2307957044798,"duration":47774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/bip44.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3940,"name":"read-resource","id":3941,"timestamp":2307957044714,"duration":47866,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3940,"timestamp":2307957044706,"duration":47962,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/json.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3952,"name":"read-resource","id":3953,"timestamp":2307957044792,"duration":47916,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3952,"timestamp":2307957044784,"duration":47985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/currency.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3950,"name":"read-resource","id":3951,"timestamp":2307957044779,"duration":48064,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3950,"timestamp":2307957044772,"duration":48120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/bech32.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3948,"name":"read-resource","id":3949,"timestamp":2307957044767,"duration":48477,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3758,"name":"build-module-js","id":3948,"timestamp":2307957044760,"duration":48879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/lib/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3962,"name":"read-resource","id":3963,"timestamp":2307957046283,"duration":51061,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3810,"name":"build-module-js","id":3962,"timestamp":2307957046276,"duration":51323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/correctFocus.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3956,"name":"read-resource","id":3957,"timestamp":2307957046236,"duration":51371,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3956,"timestamp":2307957046214,"duration":51467,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/chain-info.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3966,"name":"read-resource","id":3967,"timestamp":2307957046312,"duration":51375,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3782,"name":"build-module-js","id":3966,"timestamp":2307957046305,"duration":52292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/slashing/v1beta1/slashing.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3958,"name":"read-resource","id":3959,"timestamp":2307957046256,"duration":52347,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3958,"timestamp":2307957046246,"duration":52416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/window.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3964,"name":"read-resource","id":3965,"timestamp":2307957046297,"duration":52372,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3780,"name":"build-module-js","id":3964,"timestamp":2307957046288,"duration":52840,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/mint/v1beta1/mint.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3970,"name":"read-resource","id":3971,"timestamp":2307957046337,"duration":52798,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"build-module-js","id":3970,"timestamp":2307957046330,"duration":52945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabOrder.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3968,"name":"read-resource","id":3969,"timestamp":2307957046325,"duration":52956,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":3968,"timestamp":2307957046318,"duration":53690,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/validator.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3960,"name":"read-resource","id":3961,"timestamp":2307957046270,"duration":53744,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3960,"timestamp":2307957046262,"duration":53834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/ethereum.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3972,"name":"read-resource","id":3973,"timestamp":2307957046349,"duration":53752,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"build-module-js","id":3972,"timestamp":2307957046342,"duration":53947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabUtils.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3974,"name":"read-resource","id":3975,"timestamp":2307957046360,"duration":53935,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3974,"timestamp":2307957046353,"duration":54130,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/default.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3978,"name":"read-resource","id":3979,"timestamp":2307957046383,"duration":54105,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3978,"timestamp":2307957046377,"duration":54162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/error.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3982,"name":"read-resource","id":3983,"timestamp":2307957046407,"duration":54136,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3982,"timestamp":2307957046401,"duration":54207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/operations.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3976,"name":"read-resource","id":3977,"timestamp":2307957046372,"duration":54241,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3976,"timestamp":2307957046365,"duration":54297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/encoding.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3980,"name":"read-resource","id":3981,"timestamp":2307957046396,"duration":54271,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3980,"timestamp":2307957046389,"duration":54371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/length.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3986,"name":"read-resource","id":3987,"timestamp":2307957046430,"duration":54337,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":3986,"timestamp":2307957046423,"duration":54502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/pkcs7.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3984,"name":"read-resource","id":3985,"timestamp":2307957046419,"duration":54511,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":3984,"timestamp":2307957046412,"duration":54572,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/env.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3990,"name":"read-resource","id":3991,"timestamp":2307957046452,"duration":54696,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3540,"name":"build-module-js","id":3990,"timestamp":2307957046445,"duration":55160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bech32/index.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3988,"name":"read-resource","id":3989,"timestamp":2307957046440,"duration":55171,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3776,"name":"build-module-js","id":3988,"timestamp":2307957046434,"duration":56511,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/connection.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"read-resource","id":3993,"timestamp":2307957046464,"duration":56591,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"build-module-js","id":3992,"timestamp":2307957046457,"duration":57416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha3.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3996,"name":"read-resource","id":3997,"timestamp":2307957047535,"duration":59346,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"build-module-js","id":3996,"timestamp":2307957047528,"duration":59954,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha256.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4000,"name":"read-resource","id":4001,"timestamp":2307957047554,"duration":59936,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3850,"name":"build-module-js","id":4000,"timestamp":2307957047548,"duration":60332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/pbkdf2.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3998,"name":"read-resource","id":3999,"timestamp":2307957047545,"duration":60343,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"build-module-js","id":3998,"timestamp":2307957047538,"duration":61269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha512.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3994,"name":"read-resource","id":3995,"timestamp":2307957047523,"duration":61292,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3678,"name":"build-module-js","id":3994,"timestamp":2307957047512,"duration":61786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/ripemd160.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4004,"name":"read-resource","id":4005,"timestamp":2307957047577,"duration":61727,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4004,"timestamp":2307957047570,"duration":61809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/interfaces.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4002,"name":"read-resource","id":4003,"timestamp":2307957047566,"duration":61818,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4002,"timestamp":2307957047558,"duration":61873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/handler.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4010,"name":"read-resource","id":4011,"timestamp":2307957047609,"duration":61829,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4010,"timestamp":2307957047602,"duration":61912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/error.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4008,"name":"read-resource","id":4009,"timestamp":2307957047598,"duration":61922,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4008,"timestamp":2307957047591,"duration":61996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/message.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4016,"name":"read-resource","id":4017,"timestamp":2307957047643,"duration":61948,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4016,"timestamp":2307957047637,"duration":62103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/crc32.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4014,"name":"read-resource","id":4015,"timestamp":2307957047633,"duration":62113,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4014,"timestamp":2307957047627,"duration":62231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/adler32.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4012,"name":"read-resource","id":4013,"timestamp":2307957047623,"duration":62306,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4012,"timestamp":2307957047615,"duration":62378,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/constant.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4018,"name":"read-resource","id":4019,"timestamp":2307957047653,"duration":62530,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4018,"timestamp":2307957047647,"duration":63077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inffast.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4006,"name":"read-resource","id":4007,"timestamp":2307957047587,"duration":63142,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4006,"timestamp":2307957047580,"duration":63201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/types.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3888,"name":"build-module","id":4066,"timestamp":2307957113782,"duration":7,"tags":{"name":"undefined"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4020,"name":"read-resource","id":4021,"timestamp":2307957067480,"duration":46919,"tags":{},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4020,"timestamp":2307957067449,"duration":47577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inftrees.js"},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":4022,"name":"read-resource","id":4023,"timestamp":2307957067503,"duration":47530,"tags":{},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3842,"name":"build-module-js","id":4022,"timestamp":2307957067493,"duration":49819,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/trees.js"},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3926,"name":"build-module","id":4073,"timestamp":2307957117957,"duration":12,"tags":{"name":"undefined"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4024,"name":"read-resource","id":4025,"timestamp":2307957105749,"duration":14276,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":4024,"timestamp":2307957105710,"duration":14423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/types.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4032,"name":"read-resource","id":4033,"timestamp":2307957105825,"duration":14319,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4032,"timestamp":2307957105817,"duration":14799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/hmac.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4026,"name":"read-resource","id":4027,"timestamp":2307957105778,"duration":14846,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":4026,"timestamp":2307957105767,"duration":15001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/validators.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4030,"name":"read-resource","id":4031,"timestamp":2307957105811,"duration":14963,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4030,"timestamp":2307957105803,"duration":16537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/bip39.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4034,"name":"read-resource","id":4035,"timestamp":2307957105836,"duration":16512,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4034,"timestamp":2307957105829,"duration":16655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/keccak.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4036,"name":"read-resource","id":4037,"timestamp":2307957105849,"duration":16641,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4036,"timestamp":2307957105841,"duration":17132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/libsodium.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4028,"name":"read-resource","id":4029,"timestamp":2307957105796,"duration":17195,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":4028,"timestamp":2307957105786,"duration":20807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/confio/proofs.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4040,"name":"read-resource","id":4041,"timestamp":2307957105876,"duration":20730,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4040,"timestamp":2307957105870,"duration":20928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/ripemd.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4038,"name":"read-resource","id":4039,"timestamp":2307957105864,"duration":20941,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4038,"timestamp":2307957105856,"duration":21077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/random.js"},"startTime":1664295730109}] +[{"traceId":"1979f6cbb13579d5","parentId":4046,"name":"read-resource","id":4047,"timestamp":2307957105911,"duration":23390,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4046,"timestamp":2307957105904,"duration":23710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/sha.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4048,"name":"read-resource","id":4049,"timestamp":2307957105923,"duration":23698,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4048,"timestamp":2307957105915,"duration":24493,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/slip10.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4044,"name":"read-resource","id":4045,"timestamp":2307957105899,"duration":24517,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4044,"timestamp":2307957105892,"duration":24935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/secp256k1signature.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4042,"name":"read-resource","id":4043,"timestamp":2307957105888,"duration":25247,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4042,"timestamp":2307957105881,"duration":25595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/secp256k1.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"read-resource","id":4051,"timestamp":2307957105936,"duration":25564,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4050,"timestamp":2307957105928,"duration":25841,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/ics23.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4052,"name":"read-resource","id":4053,"timestamp":2307957105952,"duration":26241,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3504,"name":"build-module-js","id":4052,"timestamp":2307957105945,"duration":37945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bn.js/lib/bn.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4056,"name":"read-resource","id":4057,"timestamp":2307957113726,"duration":32694,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"build-module-js","id":4056,"timestamp":2307957113717,"duration":33250,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/version/types.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4054,"name":"read-resource","id":4055,"timestamp":2307957113706,"duration":33269,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"build-module-js","id":4054,"timestamp":2307957113685,"duration":34251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/crypto/proof.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4060,"name":"read-resource","id":4061,"timestamp":2307957113752,"duration":34193,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":4060,"timestamp":2307957113745,"duration":34779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/commitment/v1/commitment.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4058,"name":"read-resource","id":4059,"timestamp":2307957113740,"duration":34792,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4058,"timestamp":2307957113732,"duration":35368,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/proofs.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4064,"name":"read-resource","id":4065,"timestamp":2307957113777,"duration":35330,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"build-module-js","id":4064,"timestamp":2307957113770,"duration":35448,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/jsonrpc.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4069,"name":"read-resource","id":4070,"timestamp":2307957113815,"duration":35408,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"build-module-js","id":4069,"timestamp":2307957113809,"duration":35675,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/cubic-bezier.es.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4062,"name":"read-resource","id":4063,"timestamp":2307957113765,"duration":35807,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4062,"timestamp":2307957113757,"duration":42586,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/generated/codecimpl.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4067,"name":"read-resource","id":4068,"timestamp":2307957113801,"duration":42637,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3728,"name":"build-module-js","id":4067,"timestamp":2307957113794,"duration":42744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/detect-node-es/esm/browser.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4071,"name":"read-resource","id":4072,"timestamp":2307957113826,"duration":42717,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"build-module-js","id":4071,"timestamp":2307957113820,"duration":42848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/steps.es.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4076,"name":"read-resource","id":4077,"timestamp":2307957118020,"duration":41329,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4076,"timestamp":2307957118009,"duration":41636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/writer_buffer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4074,"name":"read-resource","id":4075,"timestamp":2307957118000,"duration":41652,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4074,"timestamp":2307957117978,"duration":43028,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/writer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4082,"name":"read-resource","id":4083,"timestamp":2307957118053,"duration":42961,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4082,"timestamp":2307957118046,"duration":43044,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/rpc.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4078,"name":"read-resource","id":4079,"timestamp":2307957118032,"duration":43063,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4078,"timestamp":2307957118024,"duration":43725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/reader.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4080,"name":"read-resource","id":4081,"timestamp":2307957118042,"duration":43712,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4080,"timestamp":2307957118035,"duration":43837,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/reader_buffer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4084,"name":"read-resource","id":4085,"timestamp":2307957119140,"duration":43167,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4084,"timestamp":2307957119120,"duration":43248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/roots.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4092,"name":"read-resource","id":4093,"timestamp":2307957119199,"duration":43174,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4092,"timestamp":2307957119192,"duration":43752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/utils.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4086,"name":"read-resource","id":4087,"timestamp":2307957119159,"duration":44120,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"build-module-js","id":4086,"timestamp":2307957119150,"duration":44247,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/jsonrpc.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4088,"name":"read-resource","id":4089,"timestamp":2307957119173,"duration":44230,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4088,"timestamp":2307957119164,"duration":44433,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_assert.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4090,"name":"read-resource","id":4091,"timestamp":2307957119187,"duration":44416,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4090,"timestamp":2307957119180,"duration":44886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_u64.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4052,"name":"build-module","id":4140,"timestamp":2307957166116,"duration":12,"tags":{"name":"undefined"},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"read-resource","id":4097,"timestamp":2307957128867,"duration":37725,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4096,"timestamp":2307957128855,"duration":39192,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/util/minimal.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4094,"name":"read-resource","id":4095,"timestamp":2307957128841,"duration":39216,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":4094,"timestamp":2307957128814,"duration":40177,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/wallet/index.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4104,"name":"read-resource","id":4105,"timestamp":2307957128922,"duration":40077,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4104,"timestamp":2307957128915,"duration":40371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/error.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4102,"name":"read-resource","id":4103,"timestamp":2307957128911,"duration":40382,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4102,"timestamp":2307957128903,"duration":40534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/constants.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4100,"name":"read-resource","id":4101,"timestamp":2307957128897,"duration":40546,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3910,"name":"build-module-js","id":4100,"timestamp":2307957128890,"duration":41592,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/evidence.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4106,"name":"read-resource","id":4107,"timestamp":2307957128936,"duration":41561,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4106,"timestamp":2307957128928,"duration":41724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/env.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"read-resource","id":4099,"timestamp":2307957128881,"duration":41779,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4098,"timestamp":2307957128873,"duration":42301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/mnemonic.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4110,"name":"read-resource","id":4111,"timestamp":2307957128963,"duration":42220,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4110,"timestamp":2307957128956,"duration":42400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/routing.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4108,"name":"read-resource","id":4109,"timestamp":2307957128948,"duration":42415,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4108,"timestamp":2307957128941,"duration":42601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/format.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4112,"name":"read-resource","id":4113,"timestamp":2307957128976,"duration":42658,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4112,"timestamp":2307957128969,"duration":42726,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/types.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4114,"name":"read-resource","id":4115,"timestamp":2307957128987,"duration":42713,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4114,"timestamp":2307957128981,"duration":42853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/url.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4116,"name":"read-resource","id":4117,"timestamp":2307957128999,"duration":42841,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4116,"timestamp":2307957128992,"duration":42959,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/validators.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4120,"name":"read-resource","id":4121,"timestamp":2307957145336,"duration":29600,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3996,"name":"build-module-js","id":4120,"timestamp":2307957145327,"duration":30187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_sha2.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4122,"name":"read-resource","id":4123,"timestamp":2307957145351,"duration":30170,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4000,"name":"build-module-js","id":4122,"timestamp":2307957145342,"duration":30576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/hmac.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4126,"name":"read-resource","id":4127,"timestamp":2307957145377,"duration":30554,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4126,"timestamp":2307957145370,"duration":30751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/encoding/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4128,"name":"read-resource","id":4129,"timestamp":2307957145398,"duration":30883,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4128,"timestamp":2307957145390,"duration":31083,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/json-uint8-array/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"read-resource","id":4119,"timestamp":2307957145318,"duration":31161,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"build-module-js","id":4118,"timestamp":2307957145292,"duration":31290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4124,"name":"read-resource","id":4125,"timestamp":2307957145365,"duration":31222,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4124,"timestamp":2307957145357,"duration":31545,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/router/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4130,"name":"read-resource","id":4131,"timestamp":2307957158875,"duration":19680,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4130,"timestamp":2307957158848,"duration":20072,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/key.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4136,"name":"read-resource","id":4137,"timestamp":2307957158921,"duration":20006,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3972,"name":"build-module-js","id":4136,"timestamp":2307957158914,"duration":20100,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabbables.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4132,"name":"read-resource","id":4133,"timestamp":2307957158893,"duration":20126,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4132,"timestamp":2307957158883,"duration":20246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/hash.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4134,"name":"read-resource","id":4135,"timestamp":2307957158907,"duration":20226,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3968,"name":"build-module-js","id":4134,"timestamp":2307957158900,"duration":20597,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/crypto/keys.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4138,"name":"read-resource","id":4139,"timestamp":2307957158933,"duration":20632,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3918,"name":"build-module-js","id":4138,"timestamp":2307957158926,"duration":32501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/abci/types.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4141,"name":"read-resource","id":4142,"timestamp":2307957166162,"duration":29219,"tags":{},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":3674,"name":"build-module-js","id":4141,"timestamp":2307957166136,"duration":39380,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js"},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"read-resource","id":4144,"timestamp":2307957174047,"duration":35538,"tags":{},"startTime":1664295730177},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"build-module-js","id":4143,"timestamp":2307957174018,"duration":35830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/index.js"},"startTime":1664295730177}] +[{"traceId":"1979f6cbb13579d5","parentId":4161,"name":"read-resource","id":4162,"timestamp":2307957210199,"duration":2,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-json","id":4161,"timestamp":2307957210190,"duration":376,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/package.json"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4145,"name":"read-resource","id":4146,"timestamp":2307957177616,"duration":34031,"tags":{},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4030,"name":"build-module-js","id":4145,"timestamp":2307957177593,"duration":34627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/pbkdf2.js"},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4147,"name":"read-resource","id":4148,"timestamp":2307957177639,"duration":34588,"tags":{},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4034,"name":"build-module-js","id":4147,"timestamp":2307957177629,"duration":34685,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/utils.js"},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4153,"name":"read-resource","id":4154,"timestamp":2307957193469,"duration":21316,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4092,"name":"build-module-js","id":4153,"timestamp":2307957193460,"duration":21446,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/cryptoBrowser.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4151,"name":"read-resource","id":4152,"timestamp":2307957193454,"duration":21466,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"build-module-js","id":4151,"timestamp":2307957193442,"duration":21824,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/specs.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4149,"name":"read-resource","id":4150,"timestamp":2307957193430,"duration":21848,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"build-module-js","id":4149,"timestamp":2307957193397,"duration":22159,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/compress.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4155,"name":"read-resource","id":4156,"timestamp":2307957208295,"duration":8146,"tags":{},"startTime":1664295730212},{"traceId":"1979f6cbb13579d5","parentId":4058,"name":"build-module-js","id":4155,"timestamp":2307957208264,"duration":8581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/ops.js"},"startTime":1664295730212},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"read-resource","id":4158,"timestamp":2307957210169,"duration":7730,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"build-module-js","id":4157,"timestamp":2307957210151,"duration":7986,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/index.js"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"read-resource","id":4160,"timestamp":2307957210185,"duration":7959,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"build-module-js","id":4159,"timestamp":2307957210176,"duration":8102,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/index.js"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"read-resource","id":4168,"timestamp":2307957212776,"duration":7374,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3876,"name":"build-module-js","id":4167,"timestamp":2307957212767,"duration":7632,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"read-resource","id":4164,"timestamp":2307957212744,"duration":7662,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"build-module-js","id":4163,"timestamp":2307957212726,"duration":7810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"read-resource","id":4166,"timestamp":2307957212762,"duration":7780,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"build-module-js","id":4165,"timestamp":2307957212752,"duration":8073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"read-resource","id":4170,"timestamp":2307957212789,"duration":8041,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"build-module-js","id":4169,"timestamp":2307957212781,"duration":8950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4173,"name":"read-resource","id":4174,"timestamp":2307957212813,"duration":8938,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4094,"name":"build-module-js","id":4173,"timestamp":2307957212805,"duration":9088,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/wallet/keplr.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4171,"name":"read-resource","id":4172,"timestamp":2307957212801,"duration":9098,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4171,"timestamp":2307957212794,"duration":9944,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/util/longbits.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4175,"name":"read-resource","id":4176,"timestamp":2307957215723,"duration":8683,"tags":{},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4082,"name":"build-module-js","id":4175,"timestamp":2307957215708,"duration":9120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/rpc/service.js"},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4177,"name":"read-resource","id":4178,"timestamp":2307957215740,"duration":9096,"tags":{},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4128,"name":"build-module-js","id":4177,"timestamp":2307957215731,"duration":9290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/json-uint8-array/hex.js"},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4181,"name":"read-resource","id":4182,"timestamp":2307957217091,"duration":9190,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4181,"timestamp":2307957217082,"duration":9326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/split-on-first/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4179,"name":"read-resource","id":4180,"timestamp":2307957217070,"duration":9343,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4179,"timestamp":2307957217055,"duration":9616,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/decode-uri-component/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4183,"name":"read-resource","id":4184,"timestamp":2307957217103,"duration":9646,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4183,"timestamp":2307957217096,"duration":9733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/strict-uri-encode/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4185,"name":"read-resource","id":4186,"timestamp":2307957217114,"duration":9722,"tags":{},"startTime":1664295730221},{"traceId":"1979f6cbb13579d5","parentId":4138,"name":"build-module-js","id":4185,"timestamp":2307957217107,"duration":10830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/params.js"},"startTime":1664295730221},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"read-resource","id":4188,"timestamp":2307957219286,"duration":11561,"tags":{},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4187,"timestamp":2307957219268,"duration":12020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/utils.js"},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"read-resource","id":4190,"timestamp":2307957219302,"duration":12006,"tags":{},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4189,"timestamp":2307957219293,"duration":12311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curves.js"},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4193,"name":"read-resource","id":4194,"timestamp":2307957223333,"duration":10254,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4193,"timestamp":2307957223323,"duration":10928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/requests.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4191,"name":"read-resource","id":4192,"timestamp":2307957223312,"duration":10947,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4191,"timestamp":2307957223287,"duration":11222,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/hasher.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4195,"name":"read-resource","id":4196,"timestamp":2307957223347,"duration":11168,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4195,"timestamp":2307957223339,"duration":12261,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"read-resource","id":4198,"timestamp":2307957225425,"duration":12301,"tags":{},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"build-module-js","id":4197,"timestamp":2307957225409,"duration":16011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/xstream/index.js"},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":4199,"name":"read-resource","id":4200,"timestamp":2307957225442,"duration":16000,"tags":{},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"build-module-js","id":4199,"timestamp":2307957225434,"duration":16135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/index.js"},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"read-resource","id":4202,"timestamp":2307957231805,"duration":15386,"tags":{},"startTime":1664295730235},{"traceId":"1979f6cbb13579d5","parentId":3676,"name":"build-module-js","id":4201,"timestamp":2307957231782,"duration":81614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/crypto-browserify/index.js"},"startTime":1664295730235},{"traceId":"1979f6cbb13579d5","parentId":4205,"name":"read-resource","id":4206,"timestamp":2307957236573,"duration":78075,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4205,"timestamp":2307957236564,"duration":78471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/jsonrpcclient.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4209,"name":"read-resource","id":4210,"timestamp":2307957236603,"duration":78548,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4209,"timestamp":2307957236594,"duration":78681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/types.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4203,"name":"read-resource","id":4204,"timestamp":2307957236553,"duration":78727,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4203,"timestamp":2307957236530,"duration":78832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/id.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4217,"name":"read-resource","id":4218,"timestamp":2307957236656,"duration":78715,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4217,"timestamp":2307957236649,"duration":78907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/streamingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4207,"name":"read-resource","id":4208,"timestamp":2307957236587,"duration":78974,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4207,"timestamp":2307957236580,"duration":79319,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/parse.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4211,"name":"read-resource","id":4212,"timestamp":2307957236617,"duration":80906,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4211,"timestamp":2307957236610,"duration":81452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/queueingstreamingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4213,"name":"read-resource","id":4214,"timestamp":2307957236630,"duration":81443,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4213,"timestamp":2307957236623,"duration":81718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/reconnectingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4215,"name":"read-resource","id":4216,"timestamp":2307957236643,"duration":81734,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4215,"timestamp":2307957236636,"duration":82150,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/socketwrapper.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4219,"name":"read-resource","id":4220,"timestamp":2307957242726,"duration":76942,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4219,"timestamp":2307957242702,"duration":77111,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/id.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4225,"name":"read-resource","id":4226,"timestamp":2307957243290,"duration":77035,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4225,"timestamp":2307957243279,"duration":77171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/types.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4223,"name":"read-resource","id":4224,"timestamp":2307957242759,"duration":77697,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4223,"timestamp":2307957242749,"duration":78048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/parse.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4221,"name":"read-resource","id":4222,"timestamp":2307957242744,"duration":78060,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4221,"timestamp":2307957242735,"duration":78221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/jsonrpcclient.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4227,"name":"read-resource","id":4228,"timestamp":2307957243308,"duration":77653,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4227,"timestamp":2307957243300,"duration":78002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/queueingstreamingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4231,"name":"read-resource","id":4232,"timestamp":2307957243336,"duration":77974,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4231,"timestamp":2307957243329,"duration":78386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/socketwrapper.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4229,"name":"read-resource","id":4230,"timestamp":2307957243320,"duration":78400,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4229,"timestamp":2307957243313,"duration":78644,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/reconnectingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4233,"name":"read-resource","id":4234,"timestamp":2307957243349,"duration":78615,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4233,"timestamp":2307957243340,"duration":78767,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/streamingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4235,"name":"read-resource","id":4236,"timestamp":2307957243361,"duration":78751,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4235,"timestamp":2307957243354,"duration":78942,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/concat.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4237,"name":"read-resource","id":4238,"timestamp":2307957243377,"duration":78925,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4237,"timestamp":2307957243370,"duration":79047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/defaultvalueproducer.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4241,"name":"read-resource","id":4242,"timestamp":2307957243411,"duration":79011,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4241,"timestamp":2307957243402,"duration":79186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/promise.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4239,"name":"read-resource","id":4240,"timestamp":2307957243387,"duration":79209,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4239,"timestamp":2307957243381,"duration":79293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/dropduplicates.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4245,"name":"read-resource","id":4246,"timestamp":2307957243435,"duration":79244,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4245,"timestamp":2307957243428,"duration":79378,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/valueandupdates.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4247,"name":"read-resource","id":4248,"timestamp":2307957243447,"duration":79365,"tags":{},"startTime":1664295730247}] +[{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4247,"timestamp":2307957243440,"duration":79763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/hasher.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4243,"name":"read-resource","id":4244,"timestamp":2307957243423,"duration":79785,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4243,"timestamp":2307957243416,"duration":79945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/reducer.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4249,"name":"read-resource","id":4250,"timestamp":2307957243461,"duration":80473,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4249,"timestamp":2307957243454,"duration":80926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/requests.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4251,"name":"read-resource","id":4252,"timestamp":2307957243473,"duration":80940,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4251,"timestamp":2307957243466,"duration":82051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4257,"name":"read-resource","id":4258,"timestamp":2307957245585,"duration":82756,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3940,"name":"build-module-js","id":4257,"timestamp":2307957245577,"duration":83016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/safe-json/dist/esm/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4255,"name":"read-resource","id":4256,"timestamp":2307957245573,"duration":83044,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4255,"timestamp":2307957245565,"duration":84584,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/detect-browser/es/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4259,"name":"read-resource","id":4260,"timestamp":2307957245596,"duration":84642,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4259,"timestamp":2307957245589,"duration":84852,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/window-getters/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"read-resource","id":4254,"timestamp":2307957245557,"duration":85203,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3948,"name":"build-module-js","id":4253,"timestamp":2307957245538,"duration":85418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4261,"name":"read-resource","id":4262,"timestamp":2307957245612,"duration":85352,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4261,"timestamp":2307957245605,"duration":85672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/window-metadata/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"read-resource","id":4264,"timestamp":2307957317264,"duration":15906,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4263,"timestamp":2307957317233,"duration":16089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"read-resource","id":4266,"timestamp":2307957317282,"duration":16046,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4265,"timestamp":2307957317273,"duration":16721,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"read-resource","id":4268,"timestamp":2307957317302,"duration":16699,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4267,"timestamp":2307957317292,"duration":17038,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4269,"name":"read-resource","id":4270,"timestamp":2307957320120,"duration":17857,"tags":{},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4193,"name":"build-module-js","id":4269,"timestamp":2307957320095,"duration":18097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/inthelpers.js"},"startTime":1664295730323},{"traceId":"1979f6cbb13579d5","parentId":4271,"name":"read-resource","id":4272,"timestamp":2307957320138,"duration":18061,"tags":{},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4191,"name":"build-module-js","id":4271,"timestamp":2307957320128,"duration":18520,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/encodings.js"},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4273,"name":"read-resource","id":4274,"timestamp":2307957326881,"duration":13970,"tags":{},"startTime":1664295730330},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"build-module-js","id":4273,"timestamp":2307957326858,"duration":14480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"},"startTime":1664295730330},{"traceId":"1979f6cbb13579d5","parentId":4275,"name":"read-resource","id":4276,"timestamp":2307957332559,"duration":10757,"tags":{},"startTime":1664295730336},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4275,"timestamp":2307957332536,"duration":11052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/brorand/index.js"},"startTime":1664295730336},{"traceId":"1979f6cbb13579d5","parentId":4275,"name":"build-module","id":4305,"timestamp":2307957346175,"duration":6,"tags":{"name":"undefined"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"read-resource","id":4278,"timestamp":2307957340021,"duration":6358,"tags":{},"startTime":1664295730343},{"traceId":"1979f6cbb13579d5","parentId":4199,"name":"build-module-js","id":4277,"timestamp":2307957339999,"duration":6618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/axios.js"},"startTime":1664295730343},{"traceId":"1979f6cbb13579d5","parentId":4279,"name":"read-resource","id":4280,"timestamp":2307957342741,"duration":4460,"tags":{},"startTime":1664295730346},{"traceId":"1979f6cbb13579d5","parentId":4207,"name":"build-module-js","id":4279,"timestamp":2307957342726,"duration":4740,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/compatibility.js"},"startTime":1664295730346},{"traceId":"1979f6cbb13579d5","parentId":4281,"name":"read-resource","id":4282,"timestamp":2307957343870,"duration":6009,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4281,"timestamp":2307957343858,"duration":6201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/aspromise/index.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4287,"name":"read-resource","id":4288,"timestamp":2307957343915,"duration":6149,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4249,"name":"build-module-js","id":4287,"timestamp":2307957343908,"duration":6322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/inthelpers.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4283,"name":"read-resource","id":4284,"timestamp":2307957343887,"duration":6371,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4223,"name":"build-module-js","id":4283,"timestamp":2307957343878,"duration":7485,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/compatibility.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4285,"name":"read-resource","id":4286,"timestamp":2307957343901,"duration":7501,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4247,"name":"build-module-js","id":4285,"timestamp":2307957343894,"duration":7951,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/encodings.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4289,"name":"read-resource","id":4290,"timestamp":2307957345502,"duration":8006,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4289,"timestamp":2307957345490,"duration":8450,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/base64/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4297,"name":"read-resource","id":4298,"timestamp":2307957345555,"duration":8457,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4297,"timestamp":2307957345548,"duration":8754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/utf8/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4293,"name":"read-resource","id":4294,"timestamp":2307957345530,"duration":8778,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4293,"timestamp":2307957345522,"duration":8945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/eventemitter/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4291,"name":"read-resource","id":4292,"timestamp":2307957345517,"duration":8956,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4291,"timestamp":2307957345509,"duration":9580,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/float/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4295,"name":"read-resource","id":4296,"timestamp":2307957345543,"duration":9552,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4295,"timestamp":2307957345535,"duration":9775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/inquire/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4301,"name":"read-resource","id":4302,"timestamp":2307957345579,"duration":9795,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"build-module-js","id":4301,"timestamp":2307957345572,"duration":9925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/crypto.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4299,"name":"read-resource","id":4300,"timestamp":2307957345567,"duration":9935,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4299,"timestamp":2307957345561,"duration":10034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/pool/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4303,"name":"read-resource","id":4304,"timestamp":2307957345593,"duration":10008,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"build-module-js","id":4303,"timestamp":2307957345585,"duration":10121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/env.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4310,"name":"read-resource","id":4311,"timestamp":2307957346226,"duration":13144,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4310,"timestamp":2307957346219,"duration":15405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/short.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4312,"name":"read-resource","id":4313,"timestamp":2307957346242,"duration":15391,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4312,"timestamp":2307957346235,"duration":15853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/mont.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4316,"name":"read-resource","id":4317,"timestamp":2307957346270,"duration":15827,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4316,"timestamp":2307957346264,"duration":16121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/key.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4318,"name":"read-resource","id":4319,"timestamp":2307957346287,"duration":16103,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4318,"timestamp":2307957346280,"duration":16629,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/signature.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"read-resource","id":4307,"timestamp":2307957346195,"duration":16721,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4112,"name":"build-module-js","id":4306,"timestamp":2307957346186,"duration":16849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/index.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4314,"name":"read-resource","id":4315,"timestamp":2307957346258,"duration":16783,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4314,"timestamp":2307957346251,"duration":17784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/edwards.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4308,"name":"read-resource","id":4309,"timestamp":2307957346213,"duration":17831,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4308,"timestamp":2307957346202,"duration":18728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/base.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4320,"name":"read-resource","id":4321,"timestamp":2307957346306,"duration":18630,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"build-module-js","id":4320,"timestamp":2307957346298,"duration":18864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/key.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4322,"name":"read-resource","id":4323,"timestamp":2307957346320,"duration":18897,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"build-module-js","id":4322,"timestamp":2307957346313,"duration":19066,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/signature.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"read-resource","id":4325,"timestamp":2307957352399,"duration":17509,"tags":{},"startTime":1664295730356},{"traceId":"1979f6cbb13579d5","parentId":4141,"name":"build-module-js","id":4324,"timestamp":2307957352373,"duration":99984,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/libsodium/dist/modules/libsodium.js"},"startTime":1664295730356},{"traceId":"1979f6cbb13579d5","parentId":4326,"name":"read-resource","id":4327,"timestamp":2307957357582,"duration":96066,"tags":{},"startTime":1664295730361},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"build-module-js","id":4326,"timestamp":2307957357542,"duration":96245,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/symbol-observable/ponyfill.js"},"startTime":1664295730361},{"traceId":"1979f6cbb13579d5","parentId":4328,"name":"read-resource","id":4329,"timestamp":2307957366365,"duration":88779,"tags":{},"startTime":1664295730370},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"build-module-js","id":4328,"timestamp":2307957366343,"duration":88969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/minimalistic-assert/index.js"},"startTime":1664295730370},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"build-module","id":4332,"timestamp":2307957455407,"duration":8,"tags":{"name":"undefined"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4330,"name":"read-resource","id":4331,"timestamp":2307957452742,"duration":4545,"tags":{},"startTime":1664295730456},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4330,"timestamp":2307957452707,"duration":5501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/utils.js"},"startTime":1664295730456},{"traceId":"1979f6cbb13579d5","parentId":4337,"name":"read-resource","id":4338,"timestamp":2307957455471,"duration":3529,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4337,"timestamp":2307957455464,"duration":3636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/spread.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4333,"name":"read-resource","id":4334,"timestamp":2307957455442,"duration":3664,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4333,"timestamp":2307957455421,"duration":3773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/bind.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4339,"name":"read-resource","id":4340,"timestamp":2307957455484,"duration":3718,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4339,"timestamp":2307957455477,"duration":3794,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isAxiosError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"read-resource","id":4342,"timestamp":2307957455500,"duration":3775,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4341,"timestamp":2307957455491,"duration":4158,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/Axios.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4345,"name":"read-resource","id":4346,"timestamp":2307957455525,"duration":4129,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4345,"timestamp":2307957455517,"duration":4306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/AxiosError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4347,"name":"read-resource","id":4348,"timestamp":2307957455537,"duration":4290,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4347,"timestamp":2307957455529,"duration":4373,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/CanceledError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4351,"name":"read-resource","id":4352,"timestamp":2307957455560,"duration":4347,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4351,"timestamp":2307957455553,"duration":4399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/isCancel.js"},"startTime":1664295730459}] +[{"traceId":"1979f6cbb13579d5","parentId":4349,"name":"read-resource","id":4350,"timestamp":2307957455549,"duration":4539,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4349,"timestamp":2307957455541,"duration":4751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/CancelToken.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4335,"name":"read-resource","id":4336,"timestamp":2307957455459,"duration":4837,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4335,"timestamp":2307957455449,"duration":5038,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/toFormData.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4353,"name":"read-resource","id":4354,"timestamp":2307957455571,"duration":4920,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4353,"timestamp":2307957455564,"duration":4968,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/env/data.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4343,"name":"read-resource","id":4344,"timestamp":2307957455512,"duration":5024,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4343,"timestamp":2307957455505,"duration":5221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/mergeConfig.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"read-resource","id":4360,"timestamp":2307957456827,"duration":5461,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"build-module-js","id":4359,"timestamp":2307957456821,"duration":5576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/index.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4357,"name":"read-resource","id":4358,"timestamp":2307957456816,"duration":5586,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"build-module-js","id":4357,"timestamp":2307957456809,"duration":5787,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/minimalistic-crypto-utils/lib/utils.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"read-resource","id":4356,"timestamp":2307957456802,"duration":5800,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"build-module-js","id":4355,"timestamp":2307957456791,"duration":5893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4361,"name":"read-resource","id":4362,"timestamp":2307957456840,"duration":5849,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4361,"timestamp":2307957456832,"duration":5889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/jsonrpc.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4363,"name":"read-resource","id":4364,"timestamp":2307957456854,"duration":5935,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4363,"timestamp":2307957456845,"duration":6022,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/misc.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4365,"name":"read-resource","id":4366,"timestamp":2307957456864,"duration":6008,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4365,"timestamp":2307957456858,"duration":6135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/provider.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4367,"name":"read-resource","id":4368,"timestamp":2307957456875,"duration":6123,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4367,"timestamp":2307957456868,"duration":6160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/validator.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4371,"name":"read-resource","id":4372,"timestamp":2307957458340,"duration":5334,"tags":{},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4371,"timestamp":2307957458332,"duration":5434,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58check/index.js"},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"read-resource","id":4370,"timestamp":2307957458324,"duration":5463,"tags":{},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4130,"name":"build-module-js","id":4369,"timestamp":2307957458309,"duration":5970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/index.js"},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"read-resource","id":4376,"timestamp":2307957461056,"duration":5519,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4132,"name":"build-module-js","id":4375,"timestamp":2307957461047,"duration":5711,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4377,"name":"read-resource","id":4378,"timestamp":2307957461070,"duration":5695,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4377,"timestamp":2307957461061,"duration":5801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"read-resource","id":4374,"timestamp":2307957461040,"duration":5827,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4373,"timestamp":2307957461021,"duration":6425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4379,"name":"read-resource","id":4380,"timestamp":2307957463349,"duration":7898,"tags":{},"startTime":1664295730467},{"traceId":"1979f6cbb13579d5","parentId":4326,"name":"build-module-js","id":4379,"timestamp":2307957463333,"duration":8087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/symbol-observable/lib/ponyfill.js"},"startTime":1664295730467},{"traceId":"1979f6cbb13579d5","parentId":4381,"name":"read-resource","id":4382,"timestamp":2307957465273,"duration":7331,"tags":{},"startTime":1664295730469},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4381,"timestamp":2307957465259,"duration":7732,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hmac-drbg/lib/hmac-drbg.js"},"startTime":1664295730469},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"read-resource","id":4384,"timestamp":2307957469348,"duration":5235,"tags":{},"startTime":1664295730473},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4383,"timestamp":2307957469327,"duration":5682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/defaults/index.js"},"startTime":1664295730473},{"traceId":"1979f6cbb13579d5","parentId":4387,"name":"read-resource","id":4388,"timestamp":2307957470671,"duration":6158,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4387,"timestamp":2307957470662,"duration":6420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/InterceptorManager.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4385,"name":"read-resource","id":4386,"timestamp":2307957470656,"duration":6434,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4385,"timestamp":2307957470642,"duration":6754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/buildURL.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4393,"name":"read-resource","id":4394,"timestamp":2307957470712,"duration":6696,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4393,"timestamp":2307957470705,"duration":6979,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/validator.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4389,"name":"read-resource","id":4390,"timestamp":2307957470684,"duration":7007,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4389,"timestamp":2307957470675,"duration":7211,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/dispatchRequest.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"read-resource","id":4392,"timestamp":2307957470699,"duration":7193,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4391,"timestamp":2307957470691,"duration":7273,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/buildFullPath.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4395,"name":"read-resource","id":4396,"timestamp":2307957470726,"duration":7807,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4395,"timestamp":2307957470716,"duration":7924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/implementation.browser.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4397,"name":"read-resource","id":4398,"timestamp":2307957473654,"duration":8440,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4215,"name":"build-module-js","id":4397,"timestamp":2307957473639,"duration":8718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/isomorphic-ws/browser.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4401,"name":"read-resource","id":4402,"timestamp":2307957473682,"duration":8698,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4401,"timestamp":2307957473674,"duration":8867,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/shim.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4399,"name":"read-resource","id":4400,"timestamp":2307957473668,"duration":8881,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4399,"timestamp":2307957473660,"duration":8977,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/polyfill.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"read-resource","id":4404,"timestamp":2307957475334,"duration":8019,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4371,"name":"build-module-js","id":4403,"timestamp":2307957475312,"duration":8323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58check/base.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4409,"name":"read-resource","id":4410,"timestamp":2307957475380,"duration":8266,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4409,"timestamp":2307957475373,"duration":8566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/lib-typedarrays.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4411,"name":"read-resource","id":4412,"timestamp":2307957475396,"duration":8553,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4411,"timestamp":2307957475386,"duration":9821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-utf16.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4417,"name":"read-resource","id":4418,"timestamp":2307957475431,"duration":9789,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4417,"timestamp":2307957475425,"duration":10716,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/md5.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4407,"name":"read-resource","id":4408,"timestamp":2307957475367,"duration":10793,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4407,"timestamp":2307957475359,"duration":11095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/x64-core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4405,"name":"read-resource","id":4406,"timestamp":2307957475353,"duration":11109,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4405,"timestamp":2307957475343,"duration":11994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4419,"name":"read-resource","id":4420,"timestamp":2307957475444,"duration":11903,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4419,"timestamp":2307957475437,"duration":12210,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha1.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4423,"name":"read-resource","id":4424,"timestamp":2307957475466,"duration":12186,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4423,"timestamp":2307957475459,"duration":12326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha224.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4421,"name":"read-resource","id":4422,"timestamp":2307957475455,"duration":12336,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4421,"timestamp":2307957475448,"duration":13850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha256.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4427,"name":"read-resource","id":4428,"timestamp":2307957475494,"duration":13826,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4427,"timestamp":2307957475487,"duration":14018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha384.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4425,"name":"read-resource","id":4426,"timestamp":2307957475482,"duration":14030,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4425,"timestamp":2307957475473,"duration":17453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha512.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4431,"name":"read-resource","id":4432,"timestamp":2307957475518,"duration":17433,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4431,"timestamp":2307957475511,"duration":18419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/ripemd160.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4429,"name":"read-resource","id":4430,"timestamp":2307957475506,"duration":18436,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4429,"timestamp":2307957475500,"duration":19078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha3.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4415,"name":"read-resource","id":4416,"timestamp":2307957475420,"duration":19167,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4415,"timestamp":2307957475413,"duration":19494,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-base64url.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4435,"name":"read-resource","id":4436,"timestamp":2307957475542,"duration":19553,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4435,"timestamp":2307957475536,"duration":20213,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pbkdf2.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4413,"name":"read-resource","id":4414,"timestamp":2307957475409,"duration":20349,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4413,"timestamp":2307957475401,"duration":20636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-base64.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4437,"name":"read-resource","id":4438,"timestamp":2307957475555,"duration":20488,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4437,"timestamp":2307957475549,"duration":20693,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/evpkdf.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4433,"name":"read-resource","id":4434,"timestamp":2307957475530,"duration":20718,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4433,"timestamp":2307957475524,"duration":20924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/hmac.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4441,"name":"read-resource","id":4442,"timestamp":2307957475577,"duration":20876,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4441,"timestamp":2307957475571,"duration":21052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-cfb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4439,"name":"read-resource","id":4440,"timestamp":2307957475565,"duration":21063,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4439,"timestamp":2307957475559,"duration":21945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/cipher-core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4443,"name":"read-resource","id":4444,"timestamp":2307957475589,"duration":21925,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4443,"timestamp":2307957475583,"duration":22090,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ctr.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4451,"name":"read-resource","id":4452,"timestamp":2307957475639,"duration":22045,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4451,"timestamp":2307957475632,"duration":22172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-ansix923.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4449,"name":"read-resource","id":4450,"timestamp":2307957475627,"duration":22183,"tags":{},"startTime":1664295730479}] +[{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4449,"timestamp":2307957475621,"duration":22683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ecb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4445,"name":"read-resource","id":4446,"timestamp":2307957475602,"duration":22708,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4445,"timestamp":2307957475595,"duration":22913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ctr-gladman.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4455,"name":"read-resource","id":4456,"timestamp":2307957475662,"duration":22852,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4455,"timestamp":2307957475656,"duration":22955,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-iso97971.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4453,"name":"read-resource","id":4454,"timestamp":2307957475651,"duration":22965,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4453,"timestamp":2307957475644,"duration":23076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-iso10126.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4447,"name":"read-resource","id":4448,"timestamp":2307957475615,"duration":23110,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4447,"timestamp":2307957475608,"duration":23231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ofb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4459,"name":"read-resource","id":4460,"timestamp":2307957475690,"duration":23155,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4459,"timestamp":2307957475684,"duration":23237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-nopadding.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4461,"name":"read-resource","id":4462,"timestamp":2307957475701,"duration":23224,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4461,"timestamp":2307957475694,"duration":23330,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/format-hex.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4463,"name":"read-resource","id":4464,"timestamp":2307957475713,"duration":23316,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4463,"timestamp":2307957475707,"duration":23865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/aes.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4465,"name":"read-resource","id":4466,"timestamp":2307957475726,"duration":23851,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4465,"timestamp":2307957475719,"duration":24978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/tripledes.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4457,"name":"read-resource","id":4458,"timestamp":2307957475677,"duration":25037,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4457,"timestamp":2307957475671,"duration":25256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-zeropadding.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4467,"name":"read-resource","id":4468,"timestamp":2307957475736,"duration":27666,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4467,"timestamp":2307957475730,"duration":28143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rc4.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4469,"name":"read-resource","id":4470,"timestamp":2307957475748,"duration":28145,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4469,"timestamp":2307957475742,"duration":28692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rabbit.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4471,"name":"read-resource","id":4472,"timestamp":2307957475762,"duration":28717,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4471,"timestamp":2307957475756,"duration":29325,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rabbit-legacy.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4475,"name":"read-resource","id":4476,"timestamp":2307957479633,"duration":27760,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4475,"timestamp":2307957479623,"duration":28593,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/utils.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"read-resource","id":4474,"timestamp":2307957479614,"duration":28615,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4473,"timestamp":2307957479590,"duration":29873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/util.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4481,"name":"read-resource","id":4482,"timestamp":2307957479671,"duration":29804,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4481,"timestamp":2307957479664,"duration":30258,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/ripemd.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"read-resource","id":4480,"timestamp":2307957479659,"duration":30274,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4479,"timestamp":2307957479652,"duration":30356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4477,"name":"read-resource","id":4478,"timestamp":2307957479647,"duration":30368,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4477,"timestamp":2307957479639,"duration":30763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/common.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4485,"name":"read-resource","id":4486,"timestamp":2307957479694,"duration":30715,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4485,"timestamp":2307957479687,"duration":31031,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4487,"name":"read-resource","id":4488,"timestamp":2307957479706,"duration":31018,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4487,"timestamp":2307957479700,"duration":31271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha1.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4483,"name":"read-resource","id":4484,"timestamp":2307957479682,"duration":31294,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4483,"timestamp":2307957479675,"duration":31452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/hmac.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4489,"name":"read-resource","id":4490,"timestamp":2307957479717,"duration":31415,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4489,"timestamp":2307957479711,"duration":31547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha224.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4491,"name":"read-resource","id":4492,"timestamp":2307957479728,"duration":31534,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4491,"timestamp":2307957479722,"duration":31842,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha256.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4493,"name":"read-resource","id":4494,"timestamp":2307957479740,"duration":31830,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4493,"timestamp":2307957479733,"duration":31978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha384.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4495,"name":"read-resource","id":4496,"timestamp":2307957479755,"duration":32295,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4495,"timestamp":2307957479748,"duration":33048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha512.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"read-resource","id":4498,"timestamp":2307957479766,"duration":33041,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4377,"name":"build-module-js","id":4497,"timestamp":2307957479760,"duration":33900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/bip32.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"read-resource","id":4500,"timestamp":2307957479780,"duration":33887,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4499,"timestamp":2307957479774,"duration":34078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/_wordlists.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4405,"name":"build-module","id":4505,"timestamp":2307957514966,"duration":15,"tags":{"name":"undefined"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4501,"name":"read-resource","id":4502,"timestamp":2307957481968,"duration":34290,"tags":{},"startTime":1664295730485},{"traceId":"1979f6cbb13579d5","parentId":4310,"name":"build-module-js","id":4501,"timestamp":2307957481950,"duration":34489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/inherits/inherits_browser.js"},"startTime":1664295730485},{"traceId":"1979f6cbb13579d5","parentId":4503,"name":"read-resource","id":4504,"timestamp":2307957482839,"duration":33751,"tags":{},"startTime":1664295730486},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4503,"timestamp":2307957482815,"duration":34425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/string_decoder/lib/string_decoder.js"},"startTime":1664295730486},{"traceId":"1979f6cbb13579d5","parentId":4506,"name":"read-resource","id":4507,"timestamp":2307957515027,"duration":5395,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4506,"timestamp":2307957514991,"duration":5656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/normalizeHeaderName.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4508,"name":"read-resource","id":4509,"timestamp":2307957515051,"duration":6047,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4508,"timestamp":2307957515040,"duration":6129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/defaults/transitional.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4510,"name":"read-resource","id":4511,"timestamp":2307957515066,"duration":6109,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4510,"timestamp":2307957515057,"duration":6171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/null.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4514,"name":"read-resource","id":4515,"timestamp":2307957517869,"duration":5302,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4389,"name":"build-module-js","id":4514,"timestamp":2307957517859,"duration":5579,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/transformData.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4516,"name":"read-resource","id":4517,"timestamp":2307957517882,"duration":5564,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"build-module-js","id":4516,"timestamp":2307957517874,"duration":5672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isAbsoluteURL.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"read-resource","id":4519,"timestamp":2307957517894,"duration":5659,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4518,"timestamp":2307957517887,"duration":6156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/adapters/xhr.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4512,"name":"read-resource","id":4513,"timestamp":2307957517853,"duration":6197,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"build-module-js","id":4512,"timestamp":2307957517832,"duration":6296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/combineURLs.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4526,"name":"read-resource","id":4527,"timestamp":2307957524710,"duration":2900,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4526,"timestamp":2307957524702,"duration":3663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/chinese_traditional.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4522,"name":"read-resource","id":4523,"timestamp":2307957524676,"duration":3702,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4522,"timestamp":2307957524666,"duration":4178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/czech.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4524,"name":"read-resource","id":4525,"timestamp":2307957524691,"duration":4160,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4524,"timestamp":2307957524683,"duration":4506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/chinese_simplified.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4520,"name":"read-resource","id":4521,"timestamp":2307957524657,"duration":4537,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4485,"name":"build-module-js","id":4520,"timestamp":2307957524631,"duration":4914,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/hash.js"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4528,"name":"read-resource","id":4529,"timestamp":2307957524729,"duration":4822,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4528,"timestamp":2307957524721,"duration":5499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/korean.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4530,"name":"read-resource","id":4531,"timestamp":2307957524742,"duration":5484,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4530,"timestamp":2307957524735,"duration":8075,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/french.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4532,"name":"read-resource","id":4533,"timestamp":2307957524755,"duration":8072,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4532,"timestamp":2307957524748,"duration":8366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/italian.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4534,"name":"read-resource","id":4535,"timestamp":2307957524775,"duration":8345,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4534,"timestamp":2307957524767,"duration":8704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/spanish.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4540,"name":"read-resource","id":4541,"timestamp":2307957524826,"duration":8651,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4540,"timestamp":2307957524819,"duration":8934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/english.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4536,"name":"read-resource","id":4537,"timestamp":2307957524791,"duration":9286,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4536,"timestamp":2307957524783,"duration":9770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/japanese.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4538,"name":"read-resource","id":4539,"timestamp":2307957524808,"duration":10938,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4538,"timestamp":2307957524801,"duration":11365,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/portuguese.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4542,"name":"read-resource","id":4543,"timestamp":2307957524840,"duration":11625,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4542,"timestamp":2307957524833,"duration":11850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/crypto.js"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"read-resource","id":4545,"timestamp":2307957526857,"duration":10346,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4544,"timestamp":2307957526829,"duration":10720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hash/browser.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4548,"name":"read-resource","id":4549,"timestamp":2307957526884,"duration":10692,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4548,"timestamp":2307957526877,"duration":11125,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/1.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4552,"name":"read-resource","id":4553,"timestamp":2307957526903,"duration":11110,"tags":{},"startTime":1664295730530}] +[{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4552,"timestamp":2307957526897,"duration":11633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/256.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4546,"name":"read-resource","id":4547,"timestamp":2307957526873,"duration":11664,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"build-module-js","id":4546,"timestamp":2307957526863,"duration":11754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/support/isBufferBrowser.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4550,"name":"read-resource","id":4551,"timestamp":2307957526894,"duration":11728,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4550,"timestamp":2307957526887,"duration":11839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/224.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4556,"name":"read-resource","id":4557,"timestamp":2307957526922,"duration":11809,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4556,"timestamp":2307957526916,"duration":11912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/384.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"read-resource","id":4559,"timestamp":2307957526932,"duration":11901,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4558,"timestamp":2307957526925,"duration":12077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/define-properties/index.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4554,"name":"read-resource","id":4555,"timestamp":2307957526913,"duration":12095,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4554,"timestamp":2307957526907,"duration":12765,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/512.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4564,"name":"read-resource","id":4565,"timestamp":2307957535577,"duration":7164,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4564,"timestamp":2307957535570,"duration":7445,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/parseHeaders.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4560,"name":"read-resource","id":4561,"timestamp":2307957535548,"duration":7475,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4560,"timestamp":2307957535521,"duration":7608,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/settle.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4562,"name":"read-resource","id":4563,"timestamp":2307957535564,"duration":7700,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4562,"timestamp":2307957535555,"duration":7887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/cookies.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4566,"name":"read-resource","id":4567,"timestamp":2307957535590,"duration":7991,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4566,"timestamp":2307957535583,"duration":8280,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isURLSameOrigin.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4568,"name":"read-resource","id":4569,"timestamp":2307957535606,"duration":8267,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4568,"timestamp":2307957535599,"duration":8372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/parseProtocol.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4570,"name":"read-resource","id":4571,"timestamp":2307957541772,"duration":4189,"tags":{},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4570,"timestamp":2307957541746,"duration":4952,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/vm-browserify/index.js"},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4572,"name":"read-resource","id":4573,"timestamp":2307957541790,"duration":5295,"tags":{},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4572,"timestamp":2307957541780,"duration":13448,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/stream-browserify/index.js"},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4574,"name":"read-resource","id":4575,"timestamp":2307957545271,"duration":12620,"tags":{},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"build-module-js","id":4574,"timestamp":2307957545247,"duration":12801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58/index.js"},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4576,"name":"read-resource","id":4577,"timestamp":2307957545291,"duration":12860,"tags":{},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"build-module-js","id":4576,"timestamp":2307957545282,"duration":13093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/safe-buffer/index.js"},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4578,"name":"read-resource","id":4579,"timestamp":2307957546838,"duration":13533,"tags":{},"startTime":1664295730550},{"traceId":"1979f6cbb13579d5","parentId":4548,"name":"build-module-js","id":4578,"timestamp":2307957546816,"duration":13861,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/common.js"},"startTime":1664295730550},{"traceId":"1979f6cbb13579d5","parentId":4580,"name":"read-resource","id":4581,"timestamp":2307957555615,"duration":5461,"tags":{},"startTime":1664295730559},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"build-module-js","id":4580,"timestamp":2307957555576,"duration":6655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/path-browserify/index.js"},"startTime":1664295730559},{"traceId":"1979f6cbb13579d5","parentId":4582,"name":"read-resource","id":4583,"timestamp":2307957557339,"duration":4996,"tags":{},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4582,"timestamp":2307957557320,"duration":5210,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/randombytes/browser.js"},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"read-resource","id":4585,"timestamp":2307957557358,"duration":5179,"tags":{},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4584,"timestamp":2307957557349,"duration":5248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/browser.js"},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4586,"name":"read-resource","id":4587,"timestamp":2307957561024,"duration":3517,"tags":{},"startTime":1664295730564},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"build-module-js","id":4586,"timestamp":2307957560998,"duration":3727,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/node_modules/inherits/inherits_browser.js"},"startTime":1664295730564},{"traceId":"1979f6cbb13579d5","parentId":4588,"name":"read-resource","id":4589,"timestamp":2307957565790,"duration":677,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4588,"timestamp":2307957565762,"duration":946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/wif/index.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"read-resource","id":4591,"timestamp":2307957565806,"duration":925,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4590,"timestamp":2307957565797,"duration":1500,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/index.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4592,"name":"read-resource","id":4593,"timestamp":2307957565819,"duration":1490,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4592,"timestamp":2307957565812,"duration":2170,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-secp256k1/js.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"read-resource","id":4597,"timestamp":2307957565938,"duration":4281,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"build-module-js","id":4596,"timestamp":2307957565930,"duration":4797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/sync-browser.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4594,"name":"read-resource","id":4595,"timestamp":2307957565922,"duration":4816,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"build-module-js","id":4594,"timestamp":2307957565914,"duration":5167,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/async.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4598,"name":"read-resource","id":4599,"timestamp":2307957566263,"duration":5899,"tags":{},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"build-module-js","id":4598,"timestamp":2307957566219,"duration":6178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-property-descriptors/index.js"},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"read-resource","id":4601,"timestamp":2307957566282,"duration":6122,"tags":{},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"build-module-js","id":4600,"timestamp":2307957566272,"duration":6290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/index.js"},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4606,"name":"read-resource","id":4607,"timestamp":2307957573950,"duration":930,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4606,"timestamp":2307957573943,"duration":1103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/native.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4604,"name":"read-resource","id":4605,"timestamp":2307957573937,"duration":1114,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4604,"timestamp":2307957573928,"duration":1471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/errors.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4602,"name":"read-resource","id":4603,"timestamp":2307957573920,"duration":1625,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4542,"name":"build-module-js","id":4602,"timestamp":2307957573892,"duration":1907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hmac/browser.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4608,"name":"read-resource","id":4609,"timestamp":2307957573964,"duration":1840,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4608,"timestamp":2307957573957,"duration":2139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/extra.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4614,"name":"read-resource","id":4615,"timestamp":2307957574332,"duration":1819,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4592,"name":"build-module-js","id":4614,"timestamp":2307957574324,"duration":2004,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-secp256k1/rfc6979.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4612,"name":"read-resource","id":4613,"timestamp":2307957574319,"duration":3886,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4612,"timestamp":2307957574311,"duration":4299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cipher-base/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4610,"name":"read-resource","id":4611,"timestamp":2307957574305,"duration":4313,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4610,"timestamp":2307957574297,"duration":4893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/md5.js/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4618,"name":"read-resource","id":4619,"timestamp":2307957574621,"duration":4606,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4618,"timestamp":2307957574614,"duration":4721,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/default-encoding.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4620,"name":"read-resource","id":4621,"timestamp":2307957574631,"duration":4710,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4620,"timestamp":2307957574624,"duration":4797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/to-buffer.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4616,"name":"read-resource","id":4617,"timestamp":2307957574608,"duration":4819,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4616,"timestamp":2307957574600,"duration":4903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/precondition.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4622,"name":"read-resource","id":4623,"timestamp":2307957574721,"duration":5467,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4622,"timestamp":2307957574713,"duration":6087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/ripemd160/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4624,"name":"read-resource","id":4625,"timestamp":2307957574731,"duration":6078,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"build-module-js","id":4624,"timestamp":2307957574724,"duration":6191,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/isArguments.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4626,"name":"read-resource","id":4627,"timestamp":2307957574740,"duration":6204,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"build-module-js","id":4626,"timestamp":2307957574734,"duration":6523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/implementation.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4628,"name":"read-resource","id":4629,"timestamp":2307957575495,"duration":8427,"tags":{},"startTime":1664295730579},{"traceId":"1979f6cbb13579d5","parentId":4574,"name":"build-module-js","id":4628,"timestamp":2307957575485,"duration":8874,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/base-x/src/index.js"},"startTime":1664295730579},{"traceId":"1979f6cbb13579d5","parentId":4630,"name":"read-resource","id":4631,"timestamp":2307957582844,"duration":2552,"tags":{},"startTime":1664295730586},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4630,"timestamp":2307957582818,"duration":2802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hash/md5.js"},"startTime":1664295730586},{"traceId":"1979f6cbb13579d5","parentId":4632,"name":"read-resource","id":4633,"timestamp":2307957584997,"duration":2656,"tags":{},"startTime":1664295730588},{"traceId":"1979f6cbb13579d5","parentId":4602,"name":"build-module-js","id":4632,"timestamp":2307957584974,"duration":2991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hmac/legacy.js"},"startTime":1664295730588},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"read-resource","id":4635,"timestamp":2307957589054,"duration":265,"tags":{},"startTime":1664295730592},{"traceId":"1979f6cbb13579d5","parentId":4598,"name":"build-module-js","id":4634,"timestamp":2307957589023,"duration":1480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/get-intrinsic/index.js"},"startTime":1664295730592},{"traceId":"1979f6cbb13579d5","parentId":4636,"name":"read-resource","id":4637,"timestamp":2307957594157,"duration":1876,"tags":{},"startTime":1664295730598},{"traceId":"1979f6cbb13579d5","parentId":4610,"name":"build-module-js","id":4636,"timestamp":2307957594112,"duration":2699,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash-base/index.js"},"startTime":1664295730598},{"traceId":"1979f6cbb13579d5","parentId":4640,"name":"read-resource","id":4641,"timestamp":2307957599973,"duration":413,"tags":{},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4640,"timestamp":2307957599964,"duration":618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/function-bind/index.js"},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4638,"name":"read-resource","id":4639,"timestamp":2307957599956,"duration":814,"tags":{},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4638,"timestamp":2307957599929,"duration":964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-symbols/index.js"},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4642,"name":"read-resource","id":4643,"timestamp":2307957601518,"duration":235,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4642,"timestamp":2307957601492,"duration":346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has/src/index.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4644,"name":"read-resource","id":4645,"timestamp":2307957601616,"duration":355,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4640,"name":"build-module-js","id":4644,"timestamp":2307957601605,"duration":550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/function-bind/implementation.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"read-resource","id":4647,"timestamp":2307957601694,"duration":686,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4636,"name":"build-module-js","id":4646,"timestamp":2307957601685,"duration":818,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/readable-browser.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4648,"name":"read-resource","id":4649,"timestamp":2307957601733,"duration":779,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4638,"name":"build-module-js","id":4648,"timestamp":2307957601724,"duration":983,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-symbols/shams.js"},"startTime":1664295730605}] +[{"traceId":"1979f6cbb13579d5","parentId":4656,"name":"read-resource","id":4657,"timestamp":2307957603742,"duration":579,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4656,"timestamp":2307957603735,"duration":1188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_transform.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4654,"name":"read-resource","id":4655,"timestamp":2307957603728,"duration":1423,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4654,"timestamp":2307957603720,"duration":1773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_duplex.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"read-resource","id":4653,"timestamp":2307957603714,"duration":2174,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4652,"timestamp":2307957603705,"duration":3474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_writable.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"read-resource","id":4651,"timestamp":2307957603697,"duration":3498,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4650,"timestamp":2307957603679,"duration":5427,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_readable.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4658,"name":"read-resource","id":4659,"timestamp":2307957603755,"duration":5367,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4658,"timestamp":2307957603748,"duration":5528,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_passthrough.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4660,"name":"read-resource","id":4661,"timestamp":2307957603990,"duration":7618,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4660,"timestamp":2307957603974,"duration":9118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4662,"name":"read-resource","id":4663,"timestamp":2307957604005,"duration":9096,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4662,"timestamp":2307957603996,"duration":9375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/pipeline.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module","id":4666,"timestamp":2307957614128,"duration":7,"tags":{"name":"undefined"},"startTime":1664295730618},{"traceId":"1979f6cbb13579d5","parentId":4664,"name":"read-resource","id":4665,"timestamp":2307957613730,"duration":1309,"tags":{},"startTime":1664295730617},{"traceId":"1979f6cbb13579d5","parentId":4656,"name":"build-module-js","id":4664,"timestamp":2307957613706,"duration":1907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/errors-browser.js"},"startTime":1664295730617},{"traceId":"1979f6cbb13579d5","parentId":4667,"name":"read-resource","id":4668,"timestamp":2307957615698,"duration":254,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4667,"timestamp":2307957615664,"duration":565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/stream-browser.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4669,"name":"read-resource","id":4670,"timestamp":2307957615720,"duration":637,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4669,"timestamp":2307957615710,"duration":956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/destroy.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4671,"name":"read-resource","id":4672,"timestamp":2307957615734,"duration":940,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4671,"timestamp":2307957615726,"duration":1091,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/state.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4675,"name":"read-resource","id":4676,"timestamp":2307957615759,"duration":1069,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4675,"timestamp":2307957615750,"duration":1480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/async_iterator.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4677,"name":"read-resource","id":4678,"timestamp":2307957615769,"duration":2907,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4677,"timestamp":2307957615763,"duration":3026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/from-browser.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4673,"name":"read-resource","id":4674,"timestamp":2307957615746,"duration":3061,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4673,"timestamp":2307957615738,"duration":3673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/buffer_list.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4673,"name":"build-module","id":4679,"timestamp":2307957620606,"duration":11,"tags":{"name":"undefined"},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":4680,"name":"read-resource","id":4681,"timestamp":2307957620829,"duration":283,"tags":{},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4680,"timestamp":2307957620809,"duration":556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util-deprecate/browser.js"},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":14,"timestamp":2307953514813,"duration":4106608,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":10,"timestamp":2307953513849,"duration":4107857,"tags":{},"startTime":1664295726517},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-chunk-graph","id":4683,"timestamp":2307957667988,"duration":56604,"tags":{},"startTime":1664295730671},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-modules","id":4685,"timestamp":2307957724669,"duration":15,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-chunks","id":4686,"timestamp":2307957724731,"duration":715,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-tree","id":4687,"timestamp":2307957725489,"duration":126,"tags":{},"startTime":1664295730729},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize","id":4684,"timestamp":2307957724635,"duration":1279,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-hash","id":4688,"timestamp":2307957953271,"duration":58169,"tags":{},"startTime":1664295730957},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":4690,"timestamp":2307958676604,"duration":612,"tags":{},"startTime":1664295731680},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"NextJsBuildManifest-createassets","id":4689,"timestamp":2307958675984,"duration":1246,"tags":{},"startTime":1664295731679},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-seal","id":4682,"timestamp":2307957659177,"duration":1022415,"tags":{},"startTime":1664295730663},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":9,"timestamp":2307953509718,"duration":5172091,"tags":{"name":"client"},"startTime":1664295726513},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4691,"timestamp":2307958682074,"duration":350616,"tags":{},"startTime":1664295731685},{"traceId":"1979f6cbb13579d5","parentId":4698,"name":"next-swc-transform","id":4699,"timestamp":2307959231426,"duration":803,"tags":{},"startTime":1664295732235},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"next-swc-loader","id":4698,"timestamp":2307959231356,"duration":880,"tags":{},"startTime":1664295732235},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-tsx","id":4697,"timestamp":2307959230887,"duration":2689,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664295732234},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-react/jsx-dev-runtime","id":4700,"timestamp":2307959235727,"duration":149,"tags":{"name":"react/jsx-dev-runtime"},"startTime":1664295732239},{"traceId":"1979f6cbb13579d5","parentId":4707,"name":"read-resource","id":4708,"timestamp":2307959239731,"duration":586,"tags":{},"startTime":1664295732243},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-css","id":4707,"timestamp":2307959239083,"duration":1578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732243},{"traceId":"1979f6cbb13579d5","parentId":4713,"name":"next-swc-transform","id":4714,"timestamp":2307959241887,"duration":229,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"next-swc-loader","id":4713,"timestamp":2307959241868,"duration":253,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-ts","id":4712,"timestamp":2307959241838,"duration":548,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/index.ts"},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4710,"name":"next-swc-transform","id":4711,"timestamp":2307959241768,"duration":905,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"next-swc-loader","id":4710,"timestamp":2307959241743,"duration":932,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-tsx","id":4709,"timestamp":2307959241675,"duration":1110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/index.tsx"},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-chain-registry","id":4715,"timestamp":2307959244322,"duration":17,"tags":{"name":"chain-registry"},"startTime":1664295732248},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@cosmos-kit/react","id":4716,"timestamp":2307959246093,"duration":13,"tags":{"name":"@cosmos-kit/react"},"startTime":1664295732250},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@cosmos-kit/config","id":4717,"timestamp":2307959246253,"duration":10,"tags":{"name":"@cosmos-kit/config"},"startTime":1664295732250},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@chakra-ui/react","id":4718,"timestamp":2307959247575,"duration":11,"tags":{"name":"@chakra-ui/react"},"startTime":1664295732251},{"traceId":"1979f6cbb13579d5","parentId":4722,"name":"next-swc-transform","id":4723,"timestamp":2307959248209,"duration":501,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4719,"name":"next-swc-loader","id":4722,"timestamp":2307959248189,"duration":524,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4719,"timestamp":2307959248035,"duration":996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/types.tsx"},"startTime":1664295732251},{"traceId":"1979f6cbb13579d5","parentId":4724,"name":"next-swc-transform","id":4725,"timestamp":2307959248223,"duration":885,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4720,"name":"next-swc-loader","id":4724,"timestamp":2307959248211,"duration":898,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4720,"timestamp":2307959248086,"duration":1661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/features.tsx"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4730,"name":"next-swc-transform","id":4731,"timestamp":2307959248376,"duration":1977,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4728,"name":"next-swc-loader","id":4730,"timestamp":2307959248364,"duration":1989,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"build-module-ts","id":4728,"timestamp":2307959248312,"duration":2198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4726,"name":"next-swc-transform","id":4727,"timestamp":2307959248232,"duration":2317,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"next-swc-loader","id":4726,"timestamp":2307959248224,"duration":2326,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4721,"timestamp":2307959248111,"duration":3056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4732,"name":"next-swc-transform","id":4733,"timestamp":2307959248384,"duration":4270,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4729,"name":"next-swc-loader","id":4732,"timestamp":2307959248377,"duration":4280,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"build-module-ts","id":4729,"timestamp":2307959248342,"duration":4490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/theme.ts"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4702,"name":"next-swc-transform","id":4703,"timestamp":2307959238165,"duration":14735,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"next-swc-loader","id":4702,"timestamp":2307959238138,"duration":14763,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-js","id":4701,"timestamp":2307959237880,"duration":15884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_error.js"},"startTime":1664295732241},{"traceId":"1979f6cbb13579d5","parentId":4705,"name":"next-swc-transform","id":4706,"timestamp":2307959238761,"duration":18398,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"next-swc-loader","id":4705,"timestamp":2307959238743,"duration":18419,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-js","id":4704,"timestamp":2307959238709,"duration":21256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_document.js"},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-react","id":4734,"timestamp":2307959260388,"duration":18,"tags":{"name":"react"},"startTime":1664295732264},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/get-page-files","id":4735,"timestamp":2307959262951,"duration":13,"tags":{"name":"../server/get-page-files"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/utils","id":4736,"timestamp":2307959262971,"duration":5,"tags":{"name":"../server/utils"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/htmlescape","id":4737,"timestamp":2307959262982,"duration":5,"tags":{"name":"../server/htmlescape"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"build-module-/shared/lib/head","id":4745,"timestamp":2307959263323,"duration":9,"tags":{"name":"../shared/lib/head"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/shared/lib/constants","id":4746,"timestamp":2307959263338,"duration":5,"tags":{"name":"../shared/lib/constants"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/shared/lib/html-context","id":4747,"timestamp":2307959263345,"duration":4,"tags":{"name":"../shared/lib/html-context"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4741,"name":"read-resource","id":4742,"timestamp":2307959263295,"duration":746,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4741,"timestamp":2307959263271,"duration":1046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/is-error.js"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4743,"name":"read-resource","id":4744,"timestamp":2307959263316,"duration":1024,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4743,"timestamp":2307959263303,"duration":1246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/pretty-bytes.js"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4749,"name":"next-swc-transform","id":4750,"timestamp":2307959263695,"duration":1067,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"next-swc-loader","id":4749,"timestamp":2307959263678,"duration":1086,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-ts","id":4748,"timestamp":2307959263631,"duration":1275,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4741,"name":"build-module-/shared/lib/is-plain-object","id":4754,"timestamp":2307959267060,"duration":20,"tags":{"name":"../shared/lib/is-plain-object"},"startTime":1664295732270},{"traceId":"1979f6cbb13579d5","parentId":4720,"name":"build-module-@chakra-ui/icons","id":4755,"timestamp":2307959267718,"duration":11,"tags":{"name":"@chakra-ui/icons"},"startTime":1664295732271},{"traceId":"1979f6cbb13579d5","parentId":4752,"name":"next-swc-transform","id":4753,"timestamp":2307959263930,"duration":5637,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4751,"name":"next-swc-loader","id":4752,"timestamp":2307959263916,"duration":5653,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-ts","id":4751,"timestamp":2307959263890,"duration":6002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/chain-infos.ts"},"startTime":1664295732267}] +[{"traceId":"1979f6cbb13579d5","parentId":4761,"name":"next-swc-transform","id":4762,"timestamp":2307959268874,"duration":2030,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4756,"name":"next-swc-loader","id":4761,"timestamp":2307959268853,"duration":2055,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4756,"timestamp":2307959268720,"duration":3556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/astronaut.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4767,"name":"next-swc-transform","id":4768,"timestamp":2307959268903,"duration":5786,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4759,"name":"next-swc-loader","id":4767,"timestamp":2307959268895,"duration":5798,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4759,"timestamp":2307959268808,"duration":6209,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4739,"name":"next-swc-transform","id":4740,"timestamp":2307959263116,"duration":12150,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"next-swc-loader","id":4739,"timestamp":2307959263089,"duration":12178,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4738,"timestamp":2307959262992,"duration":13072,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/script.js"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4772,"name":"next-swc-transform","id":4773,"timestamp":2307959269151,"duration":10486,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4771,"name":"next-swc-loader","id":4772,"timestamp":2307959269140,"duration":10499,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4771,"timestamp":2307959269102,"duration":10773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4765,"name":"next-swc-transform","id":4766,"timestamp":2307959268895,"duration":11178,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4758,"name":"next-swc-loader","id":4765,"timestamp":2307959268886,"duration":11188,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4758,"timestamp":2307959268790,"duration":11590,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-react-icons/fi","id":4779,"timestamp":2307959281218,"duration":24,"tags":{"name":"react-icons/fi"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4775,"name":"read-resource","id":4776,"timestamp":2307959269221,"duration":12406,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"build-module-js","id":4775,"timestamp":2307959269203,"duration":12529,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_default.js"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4695,"timestamp":2307959112970,"duration":168895,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-/shared/lib/head-manager-context","id":4782,"timestamp":2307959282047,"duration":9,"tags":{"name":"../shared/lib/head-manager-context"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4763,"name":"next-swc-transform","id":4764,"timestamp":2307959268885,"duration":13344,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4757,"name":"next-swc-loader","id":4763,"timestamp":2307959268875,"duration":13356,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4757,"timestamp":2307959268767,"duration":14059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4777,"name":"next-swc-transform","id":4778,"timestamp":2307959269237,"duration":14212,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"next-swc-loader","id":4777,"timestamp":2307959269227,"duration":14223,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4774,"timestamp":2307959269182,"duration":14965,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4769,"name":"next-swc-transform","id":4770,"timestamp":2307959268912,"duration":16182,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4760,"name":"next-swc-loader","id":4769,"timestamp":2307959268904,"duration":16191,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4760,"timestamp":2307959268826,"duration":16554,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-next/router","id":4793,"timestamp":2307959287882,"duration":16,"tags":{"name":"next/router"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4789,"name":"read-resource","id":4790,"timestamp":2307959287323,"duration":685,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4789,"timestamp":2307959287304,"duration":1003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_wildcard.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4791,"name":"read-resource","id":4792,"timestamp":2307959287345,"duration":971,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4791,"timestamp":2307959287334,"duration":1112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_object_without_properties_loose.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4787,"name":"read-resource","id":4788,"timestamp":2307959287296,"duration":1156,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4787,"timestamp":2307959287260,"duration":1299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_extends.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4757,"name":"build-module-react-icons/io5","id":4794,"timestamp":2307959289560,"duration":17,"tags":{"name":"react-icons/io5"},"startTime":1664295732293},{"traceId":"1979f6cbb13579d5","parentId":4758,"name":"build-module-@cosmos-kit/core","id":4795,"timestamp":2307959290784,"duration":28,"tags":{"name":"@cosmos-kit/core"},"startTime":1664295732294},{"traceId":"1979f6cbb13579d5","parentId":4760,"name":"build-module-react-icons/fa","id":4796,"timestamp":2307959290918,"duration":21,"tags":{"name":"react-icons/fa"},"startTime":1664295732294},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-bowser","id":4797,"timestamp":2307959291507,"duration":8,"tags":{"name":"bowser"},"startTime":1664295732295},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-@headlessui/react","id":4799,"timestamp":2307959292256,"duration":9,"tags":{"name":"@headlessui/react"},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4800,"name":"next-swc-transform","id":4801,"timestamp":2307959292298,"duration":1899,"tags":{},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"next-swc-loader","id":4800,"timestamp":2307959292272,"duration":1930,"tags":{},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-ts","id":4798,"timestamp":2307959292185,"duration":2238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/index.ts"},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4785,"name":"next-swc-transform","id":4786,"timestamp":2307959282097,"duration":12707,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4781,"name":"next-swc-loader","id":4785,"timestamp":2307959282088,"duration":12718,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4781,"timestamp":2307959282024,"duration":13114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/request-idle-callback.js"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4783,"name":"next-swc-transform","id":4784,"timestamp":2307959282086,"duration":13093,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4780,"name":"next-swc-loader","id":4783,"timestamp":2307959282064,"duration":13117,"tags":{},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4780,"timestamp":2307959281969,"duration":13803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/head-manager.js"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4696,"timestamp":2307959112992,"duration":182928,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":4809,"name":"next-swc-transform","id":4810,"timestamp":2307959298476,"duration":966,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"next-swc-loader","id":4809,"timestamp":2307959298468,"duration":980,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4804,"timestamp":2307959298405,"duration":1499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4805,"name":"next-swc-transform","id":4806,"timestamp":2307959298455,"duration":1476,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4802,"name":"next-swc-loader","id":4805,"timestamp":2307959298434,"duration":1497,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4802,"timestamp":2307959298328,"duration":1880,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4812,"name":"next-swc-transform","id":4813,"timestamp":2307959298657,"duration":3447,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4811,"name":"next-swc-loader","id":4812,"timestamp":2307959298645,"duration":3463,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4811,"timestamp":2307959298607,"duration":3988,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4816,"name":"next-swc-transform","id":4817,"timestamp":2307959298781,"duration":3842,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4814,"name":"next-swc-loader","id":4816,"timestamp":2307959298763,"duration":3860,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4814,"timestamp":2307959298700,"duration":4483,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4818,"name":"next-swc-transform","id":4819,"timestamp":2307959298793,"duration":4418,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4815,"name":"next-swc-loader","id":4818,"timestamp":2307959298782,"duration":4430,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4815,"timestamp":2307959298741,"duration":4945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4815,"name":"build-module-copy-to-clipboard","id":4820,"timestamp":2307959307161,"duration":23,"tags":{"name":"copy-to-clipboard"},"startTime":1664295732311},{"traceId":"1979f6cbb13579d5","parentId":4811,"name":"build-module-react","id":4821,"timestamp":2307959307632,"duration":5,"tags":{"name":"qrcode.react"},"startTime":1664295732311},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"build-module-@heroicons/react/24/outline","id":4822,"timestamp":2307959308627,"duration":10,"tags":{"name":"@heroicons/react/24/outline"},"startTime":1664295732312},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"build-module-@heroicons/react/20/solid","id":4823,"timestamp":2307959308649,"duration":3,"tags":{"name":"@heroicons/react/20/solid"},"startTime":1664295732312},{"traceId":"1979f6cbb13579d5","parentId":4807,"name":"next-swc-transform","id":4808,"timestamp":2307959298467,"duration":10822,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4803,"name":"next-swc-loader","id":4807,"timestamp":2307959298457,"duration":10835,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4803,"timestamp":2307959298382,"duration":11403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4694,"timestamp":2307959112694,"duration":197617,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4693,"timestamp":2307959045283,"duration":265196,"tags":{},"startTime":1664295732049},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-chunk-graph","id":4825,"timestamp":2307959312258,"duration":914,"tags":{},"startTime":1664295732316},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-modules","id":4827,"timestamp":2307959313194,"duration":5,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-chunks","id":4828,"timestamp":2307959313253,"duration":83,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-tree","id":4829,"timestamp":2307959313372,"duration":15,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize","id":4826,"timestamp":2307959313184,"duration":270,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-hash","id":4830,"timestamp":2307959321893,"duration":1711,"tags":{},"startTime":1664295732325},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-seal","id":4824,"timestamp":2307959312037,"duration":28570,"tags":{},"startTime":1664295732315},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":4692,"timestamp":2307959042112,"duration":298572,"tags":{"name":"server"},"startTime":1664295732046},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4831,"timestamp":2307959340745,"duration":3894,"tags":{},"startTime":1664295732344},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4833,"timestamp":2307959349833,"duration":1881,"tags":{},"startTime":1664295732353},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-chunk-graph","id":4835,"timestamp":2307959352058,"duration":20,"tags":{},"startTime":1664295732355},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-modules","id":4837,"timestamp":2307959352089,"duration":139,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-chunks","id":4838,"timestamp":2307959352242,"duration":10,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-tree","id":4839,"timestamp":2307959352260,"duration":3,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize","id":4836,"timestamp":2307959352084,"duration":200,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-hash","id":4840,"timestamp":2307959352522,"duration":49,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-seal","id":4834,"timestamp":2307959352004,"duration":850,"tags":{},"startTime":1664295732355},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":4832,"timestamp":2307959348436,"duration":4441,"tags":{"name":"edge-server"},"startTime":1664295732352},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4841,"timestamp":2307959352896,"duration":14018,"tags":{},"startTime":1664295732356}] +[{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4847,"timestamp":2307959380878,"duration":9845,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4848,"timestamp":2307959380935,"duration":11158,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"read-resource","id":4854,"timestamp":2307959392437,"duration":60,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4855,"name":"postcss-process","id":4856,"timestamp":2307959392527,"duration":41067,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"postcss-loader","id":4855,"timestamp":2307959392511,"duration":41980,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"css-loader","id":4857,"timestamp":2307959434516,"duration":13333,"tags":{"astUsed":"true"},"startTime":1664295732438},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"build-module-css","id":4853,"timestamp":2307959392308,"duration":57636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4852,"timestamp":2307959380978,"duration":71942,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4851,"timestamp":2307959380967,"duration":75159,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4849,"timestamp":2307959380947,"duration":88244,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4850,"timestamp":2307959380957,"duration":192803,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"make","id":4846,"timestamp":2307959380617,"duration":193182,"tags":{},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":2307959585537,"duration":35014,"tags":{},"startTime":1664295732589},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":2307959620580,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":2307959620599,"duration":205,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":2307959620835,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize","id":4860,"timestamp":2307959620569,"duration":2620,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-hash","id":4864,"timestamp":2307959646925,"duration":7669,"tags":{},"startTime":1664295732650},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":2307959656158,"duration":112,"tags":{},"startTime":1664295732660},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":2307959655926,"duration":349,"tags":{},"startTime":1664295732659},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-seal","id":4858,"timestamp":2307959579494,"duration":77940,"tags":{},"startTime":1664295732583},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"webpack-compilation","id":4845,"timestamp":2307959379579,"duration":277896,"tags":{"name":"client"},"startTime":1664295732383},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"emit","id":4867,"timestamp":2307959657491,"duration":2892,"tags":{},"startTime":1664295732661},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4842,"timestamp":2307959369343,"duration":291695,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4871,"timestamp":2307959680927,"duration":4882,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4872,"timestamp":2307959680941,"duration":4883,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4870,"timestamp":2307959680849,"duration":33894,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"make","id":4869,"timestamp":2307959665008,"duration":49943,"tags":{},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4874,"timestamp":2307959719700,"duration":1258,"tags":{},"startTime":1664295732723},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4876,"timestamp":2307959720985,"duration":5,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4877,"timestamp":2307959721004,"duration":71,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4878,"timestamp":2307959721144,"duration":5,"tags":{},"startTime":1664295732725},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize","id":4875,"timestamp":2307959720973,"duration":358,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-hash","id":4879,"timestamp":2307959730196,"duration":836,"tags":{},"startTime":1664295732734},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-seal","id":4873,"timestamp":2307959717645,"duration":14240,"tags":{},"startTime":1664295732721},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"webpack-compilation","id":4868,"timestamp":2307959664665,"duration":67253,"tags":{"name":"server"},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"emit","id":4880,"timestamp":2307959731938,"duration":2834,"tags":{},"startTime":1664295732735},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4843,"timestamp":2307959369508,"duration":365658,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"make","id":4882,"timestamp":2307959739348,"duration":2377,"tags":{},"startTime":1664295732743},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-chunk-graph","id":4884,"timestamp":2307959741831,"duration":21,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-modules","id":4886,"timestamp":2307959741873,"duration":31,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-chunks","id":4887,"timestamp":2307959741919,"duration":9,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-tree","id":4888,"timestamp":2307959741936,"duration":6,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize","id":4885,"timestamp":2307959741869,"duration":91,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-hash","id":4889,"timestamp":2307959742097,"duration":46,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-seal","id":4883,"timestamp":2307959741800,"duration":609,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"webpack-compilation","id":4881,"timestamp":2307959738469,"duration":3956,"tags":{"name":"edge-server"},"startTime":1664295732742},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"emit","id":4890,"timestamp":2307959742434,"duration":61800,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":392,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"next-client-pages-loader","id":4904,"timestamp":2307959822360,"duration":297,"tags":{"absolutePagePath":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"build-module-tsx&page=%2F!","id":4903,"timestamp":2307959822171,"duration":1555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4896,"timestamp":2307959817600,"duration":8385,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4897,"timestamp":2307959817793,"duration":16408,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4901,"timestamp":2307959817831,"duration":17170,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4900,"timestamp":2307959817821,"duration":18605,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4898,"timestamp":2307959817808,"duration":24372,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4906,"name":"next-swc-transform","id":4907,"timestamp":2307959838172,"duration":4256,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"next-swc-loader","id":4906,"timestamp":2307959838084,"duration":4346,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"build-module-tsx","id":4905,"timestamp":2307959837809,"duration":6062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732841},{"traceId":"1979f6cbb13579d5","parentId":4908,"name":"read-resource","id":4909,"timestamp":2307959871589,"duration":2843,"tags":{},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"build-module-js","id":4908,"timestamp":2307959871468,"duration":3263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/head.js"},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4902,"timestamp":2307959817839,"duration":59428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4899,"timestamp":2307959817815,"duration":76626,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"make","id":4895,"timestamp":2307959816349,"duration":78130,"tags":{},"startTime":1664295732820},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-chunk-graph","id":4911,"timestamp":2307959899598,"duration":24832,"tags":{},"startTime":1664295732903},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-modules","id":4913,"timestamp":2307959924463,"duration":3,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-chunks","id":4914,"timestamp":2307959924479,"duration":264,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-tree","id":4915,"timestamp":2307959924763,"duration":4,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize","id":4912,"timestamp":2307959924447,"duration":1517,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-hash","id":4916,"timestamp":2307959939048,"duration":8214,"tags":{},"startTime":1664295732942},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-generateClientManifest","id":4918,"timestamp":2307959950994,"duration":216,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-createassets","id":4917,"timestamp":2307959950928,"duration":288,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-seal","id":4910,"timestamp":2307959895896,"duration":60162,"tags":{},"startTime":1664295732899},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"webpack-compilation","id":4894,"timestamp":2307959816042,"duration":140074,"tags":{"name":"client"},"startTime":1664295732819},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"emit","id":4919,"timestamp":2307959956147,"duration":3525,"tags":{},"startTime":1664295732960},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4891,"timestamp":2307959804419,"duration":155925,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4923,"timestamp":2307959978379,"duration":3554,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4924,"timestamp":2307959978384,"duration":3561,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4922,"timestamp":2307959978335,"duration":3908,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4927,"name":"next-swc-transform","id":4928,"timestamp":2307959981400,"duration":1295,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"next-swc-loader","id":4927,"timestamp":2307959981360,"duration":1336,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"build-module-tsx","id":4926,"timestamp":2307959981214,"duration":2398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-next/head","id":4929,"timestamp":2307959986808,"duration":30,"tags":{"name":"next/head"},"startTime":1664295732990},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-react-icons/bs","id":4930,"timestamp":2307959987505,"duration":6,"tags":{"name":"react-icons/bs"},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4925,"timestamp":2307959978387,"duration":9147,"tags":{"request":"./pages/index.tsx"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"make","id":4921,"timestamp":2307959962326,"duration":25240,"tags":{},"startTime":1664295732966},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-chunk-graph","id":4932,"timestamp":2307959988014,"duration":262,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-modules","id":4934,"timestamp":2307959988287,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-chunks","id":4935,"timestamp":2307959988299,"duration":32,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-tree","id":4936,"timestamp":2307959988340,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize","id":4933,"timestamp":2307959988283,"duration":123,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-hash","id":4937,"timestamp":2307959989762,"duration":678,"tags":{},"startTime":1664295732993},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-seal","id":4931,"timestamp":2307959987942,"duration":3740,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"webpack-compilation","id":4920,"timestamp":2307959961993,"duration":29717,"tags":{"name":"server"},"startTime":1664295732965},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"emit","id":4938,"timestamp":2307959991726,"duration":2318,"tags":{},"startTime":1664295732995},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4892,"timestamp":2307959804452,"duration":189972,"tags":{"trigger":"manual"},"startTime":1664295732808}] +[{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4847,"timestamp":2307959380878,"duration":9845,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4848,"timestamp":2307959380935,"duration":11158,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"read-resource","id":4854,"timestamp":2307959392437,"duration":60,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4855,"name":"postcss-process","id":4856,"timestamp":2307959392527,"duration":41067,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"postcss-loader","id":4855,"timestamp":2307959392511,"duration":41980,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"css-loader","id":4857,"timestamp":2307959434516,"duration":13333,"tags":{"astUsed":"true"},"startTime":1664295732438},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"build-module-css","id":4853,"timestamp":2307959392308,"duration":57636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4852,"timestamp":2307959380978,"duration":71942,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4851,"timestamp":2307959380967,"duration":75159,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4849,"timestamp":2307959380947,"duration":88244,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4850,"timestamp":2307959380957,"duration":192803,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"make","id":4846,"timestamp":2307959380617,"duration":193182,"tags":{},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":2307959585537,"duration":35014,"tags":{},"startTime":1664295732589},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":2307959620580,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":2307959620599,"duration":205,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":2307959620835,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize","id":4860,"timestamp":2307959620569,"duration":2620,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-hash","id":4864,"timestamp":2307959646925,"duration":7669,"tags":{},"startTime":1664295732650},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":2307959656158,"duration":112,"tags":{},"startTime":1664295732660},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":2307959655926,"duration":349,"tags":{},"startTime":1664295732659},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-seal","id":4858,"timestamp":2307959579494,"duration":77940,"tags":{},"startTime":1664295732583},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"webpack-compilation","id":4845,"timestamp":2307959379579,"duration":277896,"tags":{"name":"client"},"startTime":1664295732383},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"emit","id":4867,"timestamp":2307959657491,"duration":2892,"tags":{},"startTime":1664295732661},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4842,"timestamp":2307959369343,"duration":291695,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4871,"timestamp":2307959680927,"duration":4882,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4872,"timestamp":2307959680941,"duration":4883,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4870,"timestamp":2307959680849,"duration":33894,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"make","id":4869,"timestamp":2307959665008,"duration":49943,"tags":{},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4874,"timestamp":2307959719700,"duration":1258,"tags":{},"startTime":1664295732723},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4876,"timestamp":2307959720985,"duration":5,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4877,"timestamp":2307959721004,"duration":71,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4878,"timestamp":2307959721144,"duration":5,"tags":{},"startTime":1664295732725},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize","id":4875,"timestamp":2307959720973,"duration":358,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-hash","id":4879,"timestamp":2307959730196,"duration":836,"tags":{},"startTime":1664295732734},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-seal","id":4873,"timestamp":2307959717645,"duration":14240,"tags":{},"startTime":1664295732721},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"webpack-compilation","id":4868,"timestamp":2307959664665,"duration":67253,"tags":{"name":"server"},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"emit","id":4880,"timestamp":2307959731938,"duration":2834,"tags":{},"startTime":1664295732735},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4843,"timestamp":2307959369508,"duration":365658,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"make","id":4882,"timestamp":2307959739348,"duration":2377,"tags":{},"startTime":1664295732743},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-chunk-graph","id":4884,"timestamp":2307959741831,"duration":21,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-modules","id":4886,"timestamp":2307959741873,"duration":31,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-chunks","id":4887,"timestamp":2307959741919,"duration":9,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-tree","id":4888,"timestamp":2307959741936,"duration":6,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize","id":4885,"timestamp":2307959741869,"duration":91,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-hash","id":4889,"timestamp":2307959742097,"duration":46,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-seal","id":4883,"timestamp":2307959741800,"duration":609,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"webpack-compilation","id":4881,"timestamp":2307959738469,"duration":3956,"tags":{"name":"edge-server"},"startTime":1664295732742},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"emit","id":4890,"timestamp":2307959742434,"duration":61800,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":392,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"next-client-pages-loader","id":4904,"timestamp":2307959822360,"duration":297,"tags":{"absolutePagePath":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"build-module-tsx&page=%2F!","id":4903,"timestamp":2307959822171,"duration":1555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4896,"timestamp":2307959817600,"duration":8385,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4897,"timestamp":2307959817793,"duration":16408,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4901,"timestamp":2307959817831,"duration":17170,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4900,"timestamp":2307959817821,"duration":18605,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4898,"timestamp":2307959817808,"duration":24372,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4906,"name":"next-swc-transform","id":4907,"timestamp":2307959838172,"duration":4256,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"next-swc-loader","id":4906,"timestamp":2307959838084,"duration":4346,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"build-module-tsx","id":4905,"timestamp":2307959837809,"duration":6062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732841},{"traceId":"1979f6cbb13579d5","parentId":4908,"name":"read-resource","id":4909,"timestamp":2307959871589,"duration":2843,"tags":{},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"build-module-js","id":4908,"timestamp":2307959871468,"duration":3263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/head.js"},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4902,"timestamp":2307959817839,"duration":59428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4899,"timestamp":2307959817815,"duration":76626,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"make","id":4895,"timestamp":2307959816349,"duration":78130,"tags":{},"startTime":1664295732820},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-chunk-graph","id":4911,"timestamp":2307959899598,"duration":24832,"tags":{},"startTime":1664295732903},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-modules","id":4913,"timestamp":2307959924463,"duration":3,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-chunks","id":4914,"timestamp":2307959924479,"duration":264,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-tree","id":4915,"timestamp":2307959924763,"duration":4,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize","id":4912,"timestamp":2307959924447,"duration":1517,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-hash","id":4916,"timestamp":2307959939048,"duration":8214,"tags":{},"startTime":1664295732942},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-generateClientManifest","id":4918,"timestamp":2307959950994,"duration":216,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-createassets","id":4917,"timestamp":2307959950928,"duration":288,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-seal","id":4910,"timestamp":2307959895896,"duration":60162,"tags":{},"startTime":1664295732899},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"webpack-compilation","id":4894,"timestamp":2307959816042,"duration":140074,"tags":{"name":"client"},"startTime":1664295732819},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"emit","id":4919,"timestamp":2307959956147,"duration":3525,"tags":{},"startTime":1664295732960},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4891,"timestamp":2307959804419,"duration":155925,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4923,"timestamp":2307959978379,"duration":3554,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4924,"timestamp":2307959978384,"duration":3561,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4922,"timestamp":2307959978335,"duration":3908,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4927,"name":"next-swc-transform","id":4928,"timestamp":2307959981400,"duration":1295,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"next-swc-loader","id":4927,"timestamp":2307959981360,"duration":1336,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"build-module-tsx","id":4926,"timestamp":2307959981214,"duration":2398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-next/head","id":4929,"timestamp":2307959986808,"duration":30,"tags":{"name":"next/head"},"startTime":1664295732990},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-react-icons/bs","id":4930,"timestamp":2307959987505,"duration":6,"tags":{"name":"react-icons/bs"},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4925,"timestamp":2307959978387,"duration":9147,"tags":{"request":"./pages/index.tsx"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"make","id":4921,"timestamp":2307959962326,"duration":25240,"tags":{},"startTime":1664295732966},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-chunk-graph","id":4932,"timestamp":2307959988014,"duration":262,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-modules","id":4934,"timestamp":2307959988287,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-chunks","id":4935,"timestamp":2307959988299,"duration":32,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-tree","id":4936,"timestamp":2307959988340,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize","id":4933,"timestamp":2307959988283,"duration":123,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-hash","id":4937,"timestamp":2307959989762,"duration":678,"tags":{},"startTime":1664295732993},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-seal","id":4931,"timestamp":2307959987942,"duration":3740,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"webpack-compilation","id":4920,"timestamp":2307959961993,"duration":29717,"tags":{"name":"server"},"startTime":1664295732965},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"emit","id":4938,"timestamp":2307959991726,"duration":2318,"tags":{},"startTime":1664295732995},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4892,"timestamp":2307959804452,"duration":189972,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4940,"timestamp":2307959995325,"duration":1147,"tags":{},"startTime":1664295732999},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-chunk-graph","id":4942,"timestamp":2307959996564,"duration":20,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-modules","id":4944,"timestamp":2307959996592,"duration":5,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-chunks","id":4945,"timestamp":2307959996606,"duration":6,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-tree","id":4946,"timestamp":2307959996619,"duration":3,"tags":{},"startTime":1664295733000}] +[{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4948,"timestamp":2307959997370,"duration":799,"tags":{},"startTime":1664295733001},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":194237,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"client-success","id":4949,"timestamp":2307962162586,"duration":0,"tags":{},"startTime":1664295735166},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"client-success","id":4950,"timestamp":2308030676891,"duration":0,"tags":{},"startTime":1664295803681},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4954,"timestamp":2308410741300,"duration":14607,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4955,"timestamp":2308410741403,"duration":17118,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4958,"timestamp":2308410741419,"duration":17238,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4956,"timestamp":2308410741409,"duration":17328,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4959,"timestamp":2308410741425,"duration":20415,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4957,"timestamp":2308410741411,"duration":20580,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"make","id":4953,"timestamp":2308410738288,"duration":23793,"tags":{},"startTime":1664296183748},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-chunk-graph","id":4961,"timestamp":2308410763417,"duration":823,"tags":{},"startTime":1664296183773},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-modules","id":4963,"timestamp":2308410764289,"duration":12,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-chunks","id":4964,"timestamp":2308410764339,"duration":106,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-tree","id":4965,"timestamp":2308410764479,"duration":84,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize","id":4962,"timestamp":2308410764267,"duration":404,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-hash","id":4966,"timestamp":2308410768104,"duration":3512,"tags":{},"startTime":1664296183778},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"NextJsBuildManifest-generateClientManifest","id":4968,"timestamp":2308410774951,"duration":226,"tags":{},"startTime":1664296183785},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"NextJsBuildManifest-createassets","id":4967,"timestamp":2308410774739,"duration":444,"tags":{},"startTime":1664296183784},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-seal","id":4960,"timestamp":2308410763137,"duration":12483,"tags":{},"startTime":1664296183773},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"webpack-compilation","id":4952,"timestamp":2308410735484,"duration":40213,"tags":{"name":"client"},"startTime":1664296183745},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"emit","id":4969,"timestamp":2308410775785,"duration":3073,"tags":{},"startTime":1664296183785},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4951,"timestamp":2308410438563,"duration":341938,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react"},"startTime":1664296183448}] +[{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4974,"timestamp":2308422389228,"duration":32885,"tags":{"request":"private-next-pages/_error"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4975,"timestamp":2308422389238,"duration":32890,"tags":{"request":"private-next-pages/_document"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4977,"name":"next-swc-transform","id":4978,"timestamp":2308422421158,"duration":96341,"tags":{},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"next-swc-loader","id":4977,"timestamp":2308422421046,"duration":96477,"tags":{},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"build-module-js","id":4976,"timestamp":2308422420697,"duration":104387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_app.js"},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"build-module-/shared/lib/utils","id":4979,"timestamp":2308422527787,"duration":39,"tags":{"name":"../shared/lib/utils"},"startTime":1664296195538},{"traceId":"1979f6cbb13579d5","parentId":4980,"name":"read-resource","id":4981,"timestamp":2308422529106,"duration":733,"tags":{},"startTime":1664296195539},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"build-module-js","id":4980,"timestamp":2308422528854,"duration":2074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_async_to_generator.js"},"startTime":1664296195539},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4973,"timestamp":2308422389092,"duration":141861,"tags":{"request":"private-next-pages/_app"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"make","id":4972,"timestamp":2308410785216,"duration":11745762,"tags":{},"startTime":1664296183795},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-chunk-graph","id":4983,"timestamp":2308422531860,"duration":208,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-modules","id":4985,"timestamp":2308422532086,"duration":4,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-chunks","id":4986,"timestamp":2308422532139,"duration":42,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-tree","id":4987,"timestamp":2308422532217,"duration":16,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize","id":4984,"timestamp":2308422532079,"duration":247,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-hash","id":4988,"timestamp":2308422533983,"duration":1896,"tags":{},"startTime":1664296195544},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-seal","id":4982,"timestamp":2308422531209,"duration":7764,"tags":{},"startTime":1664296195541},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"webpack-compilation","id":4971,"timestamp":2308410784863,"duration":11754151,"tags":{"name":"server"},"startTime":1664296183795},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"emit","id":4989,"timestamp":2308422539054,"duration":2542,"tags":{},"startTime":1664296195549},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4970,"timestamp":2308410781160,"duration":11761148,"tags":{"trigger":"manual"},"startTime":1664296183791}] +[{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4994,"timestamp":2308480647784,"duration":14569,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4995,"timestamp":2308480647828,"duration":15875,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4998,"timestamp":2308480647843,"duration":16056,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4996,"timestamp":2308480647834,"duration":16301,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4999,"timestamp":2308480647847,"duration":18564,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664296253659},{"traceId":"1979f6cbb13579d5","parentId":5001,"name":"next-swc-transform","id":5002,"timestamp":2308480663512,"duration":11072,"tags":{},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":5000,"name":"next-swc-loader","id":5001,"timestamp":2308480663473,"duration":11117,"tags":{},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"build-module-tsx","id":5000,"timestamp":2308480663309,"duration":14502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"read-resource","id":5004,"timestamp":2308480683921,"duration":568,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5005,"name":"postcss-process","id":5006,"timestamp":2308480684561,"duration":47337,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"postcss-loader","id":5005,"timestamp":2308480684525,"duration":47898,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"css-loader","id":5007,"timestamp":2308480732469,"duration":16045,"tags":{"astUsed":"true"},"startTime":1664296253743},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"build-module-css","id":5003,"timestamp":2308480683776,"duration":71338,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664296253694},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4997,"timestamp":2308480647839,"duration":196014,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"make","id":4993,"timestamp":2308480647604,"duration":196278,"tags":{},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-chunk-graph","id":5009,"timestamp":2308480895084,"duration":51876,"tags":{},"startTime":1664296253906},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-modules","id":5011,"timestamp":2308480947002,"duration":4,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-chunks","id":5012,"timestamp":2308480947019,"duration":272,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-tree","id":5013,"timestamp":2308480947326,"duration":4,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize","id":5010,"timestamp":2308480946984,"duration":2138,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-hash","id":5014,"timestamp":2308481000202,"duration":9262,"tags":{},"startTime":1664296254011},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"NextJsBuildManifest-generateClientManifest","id":5016,"timestamp":2308481026616,"duration":189,"tags":{},"startTime":1664296254037},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"NextJsBuildManifest-createassets","id":5015,"timestamp":2308481026483,"duration":331,"tags":{},"startTime":1664296254037},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-seal","id":5008,"timestamp":2308480890237,"duration":138728,"tags":{},"startTime":1664296253901},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"webpack-compilation","id":4992,"timestamp":2308480647344,"duration":381669,"tags":{"name":"client"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"emit","id":5017,"timestamp":2308481029038,"duration":211288,"tags":{},"startTime":1664296254040},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4990,"timestamp":2308480631359,"duration":609735,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/package.json"},"startTime":1664296253642},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5021,"timestamp":2308481305825,"duration":99266,"tags":{"request":"private-next-pages/_error"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5022,"timestamp":2308481305830,"duration":99274,"tags":{"request":"private-next-pages/_document"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":5024,"name":"next-swc-transform","id":5025,"timestamp":2308481405533,"duration":19652,"tags":{},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5023,"name":"next-swc-loader","id":5024,"timestamp":2308481405467,"duration":19724,"tags":{},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"build-module-tsx","id":5023,"timestamp":2308481405318,"duration":21764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5020,"timestamp":2308481305749,"duration":128283,"tags":{"request":"private-next-pages/_app"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"make","id":5019,"timestamp":2308481243992,"duration":190073,"tags":{},"startTime":1664296254255},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-chunk-graph","id":5027,"timestamp":2308481437661,"duration":393,"tags":{},"startTime":1664296254448},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-modules","id":5029,"timestamp":2308481438068,"duration":6,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-chunks","id":5030,"timestamp":2308481438084,"duration":41,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-tree","id":5031,"timestamp":2308481438139,"duration":4,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize","id":5028,"timestamp":2308481438063,"duration":176,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-hash","id":5032,"timestamp":2308481443538,"duration":685,"tags":{},"startTime":1664296254454},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-seal","id":5026,"timestamp":2308481437569,"duration":7607,"tags":{},"startTime":1664296254448},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"webpack-compilation","id":5018,"timestamp":2308481243761,"duration":201438,"tags":{"name":"server"},"startTime":1664296254254},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"emit","id":5033,"timestamp":2308481445212,"duration":12163,"tags":{},"startTime":1664296254456},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4991,"timestamp":2308480632894,"duration":825020,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/package.json"},"startTime":1664296253644}] diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md deleted file mode 100644 index 013d8e4e5..000000000 --- a/examples/tailwindcss/CHANGELOG.md +++ /dev/null @@ -1,136 +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. - -## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.2 (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.1 (2022-08-24) - -**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcss/cosmos-app/README.md b/examples/tailwindcss/README.md similarity index 100% rename from examples/tailwindcss/cosmos-app/README.md rename to examples/tailwindcss/README.md diff --git a/examples/tailwindcss/cosmos-app/components/features.tsx b/examples/tailwindcss/components/features.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/features.tsx rename to examples/tailwindcss/components/features.tsx diff --git a/examples/tailwindcss/cosmos-app/components/index.tsx b/examples/tailwindcss/components/index.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/index.tsx rename to examples/tailwindcss/components/index.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/address-card.tsx b/examples/tailwindcss/components/react/address-card.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/address-card.tsx rename to examples/tailwindcss/components/react/address-card.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/astronaut.tsx b/examples/tailwindcss/components/react/astronaut.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/astronaut.tsx rename to examples/tailwindcss/components/react/astronaut.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/chain-card.tsx b/examples/tailwindcss/components/react/chain-card.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/chain-card.tsx rename to examples/tailwindcss/components/react/chain-card.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/index.ts b/examples/tailwindcss/components/react/index.ts similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/index.ts rename to examples/tailwindcss/components/react/index.ts diff --git a/examples/tailwindcss/cosmos-app/components/react/modal.tsx b/examples/tailwindcss/components/react/modal.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/modal.tsx rename to examples/tailwindcss/components/react/modal.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/user-card.tsx b/examples/tailwindcss/components/react/user-card.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/user-card.tsx rename to examples/tailwindcss/components/react/user-card.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx b/examples/tailwindcss/components/react/views/Connected.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/Connected.tsx rename to examples/tailwindcss/components/react/views/Connected.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx b/examples/tailwindcss/components/react/views/Connecting.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/Connecting.tsx rename to examples/tailwindcss/components/react/views/Connecting.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/Error.tsx b/examples/tailwindcss/components/react/views/Error.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/Error.tsx rename to examples/tailwindcss/components/react/views/Error.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx b/examples/tailwindcss/components/react/views/NotExist.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/NotExist.tsx rename to examples/tailwindcss/components/react/views/NotExist.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx b/examples/tailwindcss/components/react/views/QRCode.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/QRCode.tsx rename to examples/tailwindcss/components/react/views/QRCode.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx b/examples/tailwindcss/components/react/views/WalletList.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/WalletList.tsx rename to examples/tailwindcss/components/react/views/WalletList.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/views/index.ts b/examples/tailwindcss/components/react/views/index.ts similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/views/index.ts rename to examples/tailwindcss/components/react/views/index.ts diff --git a/examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx b/examples/tailwindcss/components/react/wallet-connect.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/wallet-connect.tsx rename to examples/tailwindcss/components/react/wallet-connect.tsx diff --git a/examples/tailwindcss/cosmos-app/components/react/warn-block.tsx b/examples/tailwindcss/components/react/warn-block.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/react/warn-block.tsx rename to examples/tailwindcss/components/react/warn-block.tsx diff --git a/examples/tailwindcss/cosmos-app/components/types.tsx b/examples/tailwindcss/components/types.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/types.tsx rename to examples/tailwindcss/components/types.tsx diff --git a/examples/tailwindcss/cosmos-app/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/components/wallet.tsx rename to examples/tailwindcss/components/wallet.tsx diff --git a/examples/tailwindcss/cosmos-app/CHANGELOG.md b/examples/tailwindcss/cosmos-app/CHANGELOG.md deleted file mode 100644 index 013d8e4e5..000000000 --- a/examples/tailwindcss/cosmos-app/CHANGELOG.md +++ /dev/null @@ -1,136 +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. - -## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.1...@cosmonauts/connect-chain@0.6.0) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.2 (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.1 (2022-08-24) - -**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/tailwindcss/cosmos-app/config/chain-infos.ts b/examples/tailwindcss/cosmos-app/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/examples/tailwindcss/cosmos-app/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/examples/tailwindcss/cosmos-app/config/features.ts b/examples/tailwindcss/cosmos-app/config/features.ts deleted file mode 100644 index f4e62ff4e..000000000 --- a/examples/tailwindcss/cosmos-app/config/features.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { FeatureProps } from '../components'; - -export const products: FeatureProps[] = [ - { - title: 'CosmosKit', - text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit' - }, - { - title: 'Telescope', - text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope' - }, - { - title: 'TS Codegen', - text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen' - }, - { - title: 'CosmWasm Academy', - text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', - href: 'https://academy.cosmwasm.com/' - }, - { - title: 'Chain Registry', - text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry' - }, - { - title: 'Videos', - text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', - href: 'https://cosmology.tech/learn' - } -]; - -export const dependencies: FeatureProps[] = [ - { - title: 'Chakra UI', - text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/docs/components/' - }, - { - title: 'Next.js', - text: 'A React Framework supports hybrid static & server rendering.', - href: 'https://nextjs.org/' - } -]; diff --git a/examples/tailwindcss/cosmos-app/config/index.ts b/examples/tailwindcss/cosmos-app/config/index.ts deleted file mode 100644 index e249d6303..000000000 --- a/examples/tailwindcss/cosmos-app/config/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './theme'; -export * from './features'; diff --git a/examples/tailwindcss/cosmos-app/config/theme.ts b/examples/tailwindcss/cosmos-app/config/theme.ts deleted file mode 100644 index aa5614194..000000000 --- a/examples/tailwindcss/cosmos-app/config/theme.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { extendTheme } from '@chakra-ui/react'; - -export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif' - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9' - } - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em' - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' - } -}; - -export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcss/cosmos-app/next.config.js b/examples/tailwindcss/cosmos-app/next.config.js deleted file mode 100644 index ae887958d..000000000 --- a/examples/tailwindcss/cosmos-app/next.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - reactStrictMode: true, - swcMinify: true, -} - -module.exports = nextConfig diff --git a/examples/tailwindcss/cosmos-app/tailwind.config.js b/examples/tailwindcss/cosmos-app/tailwind.config.js deleted file mode 100644 index 5d7ad12b7..000000000 --- a/examples/tailwindcss/cosmos-app/tailwind.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], - theme: { - extend: { - colors: { - purple: { - damp: "#6674d9", - }, - }, - }, - }, - plugins: [ - require("@tailwindcss/typography"), - require("@tailwindcss/aspect-ratio"), - require("@tailwindcss/forms"), - require("@tailwindcss/line-clamp"), - require("tailwind-scrollbar-hide"), - ], -}; diff --git a/examples/tailwindcss/cosmos-app/package.json b/examples/tailwindcss/package.json similarity index 96% rename from examples/tailwindcss/cosmos-app/package.json rename to examples/tailwindcss/package.json index 4ebc9f4f7..0d781b3e3 100644 --- a/examples/tailwindcss/cosmos-app/package.json +++ b/examples/tailwindcss/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/connect-chain", + "name": "@cosmonauts/tailwindcss", "version": "0.6.1", "private": true, "scripts": { @@ -46,4 +46,4 @@ "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/tailwindcss/cosmos-app/pages/[chainName].tsx b/examples/tailwindcss/pages/[chainName].tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/pages/[chainName].tsx rename to examples/tailwindcss/pages/[chainName].tsx diff --git a/examples/tailwindcss/cosmos-app/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/pages/_app.tsx rename to examples/tailwindcss/pages/_app.tsx diff --git a/examples/tailwindcss/cosmos-app/pages/index.tsx b/examples/tailwindcss/pages/index.tsx similarity index 100% rename from examples/tailwindcss/cosmos-app/pages/index.tsx rename to examples/tailwindcss/pages/index.tsx diff --git a/examples/tailwindcss/cosmos-app/postcss.config.js b/examples/tailwindcss/postcss.config.js similarity index 100% rename from examples/tailwindcss/cosmos-app/postcss.config.js rename to examples/tailwindcss/postcss.config.js diff --git a/examples/tailwindcss/cosmos-app/public/favicon.ico b/examples/tailwindcss/public/favicon.ico similarity index 100% rename from examples/tailwindcss/cosmos-app/public/favicon.ico rename to examples/tailwindcss/public/favicon.ico diff --git a/examples/tailwindcss/cosmos-app/styles/Home.module.css b/examples/tailwindcss/styles/Home.module.css similarity index 100% rename from examples/tailwindcss/cosmos-app/styles/Home.module.css rename to examples/tailwindcss/styles/Home.module.css diff --git a/examples/tailwindcss/cosmos-app/styles/globals.css b/examples/tailwindcss/styles/globals.css similarity index 100% rename from examples/tailwindcss/cosmos-app/styles/globals.css rename to examples/tailwindcss/styles/globals.css diff --git a/examples/tailwindcss/cosmos-app/tsconfig.json b/examples/tailwindcss/tsconfig.json similarity index 100% rename from examples/tailwindcss/cosmos-app/tsconfig.json rename to examples/tailwindcss/tsconfig.json diff --git a/examples/tailwindcss/cosmos-app/yarn.lock b/examples/tailwindcss/yarn.lock similarity index 100% rename from examples/tailwindcss/cosmos-app/yarn.lock rename to examples/tailwindcss/yarn.lock From 5865d7e5e1289b68c31edff2639c0c2939f57731 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 12:40:19 -0500 Subject: [PATCH 121/262] wasm app --- .../types/create-cosmos-app.d.ts | 2 + .../types/git-cca-template.d.ts | 2 +- .../types/git-question-template.d.ts | 2 +- packages/create-cosmwasm-app/.babelrc.js | 14 + packages/create-cosmwasm-app/.editorconfig | 12 + packages/create-cosmwasm-app/.eslintignore | 5 + packages/create-cosmwasm-app/.eslintrc.js | 71 +++++ packages/create-cosmwasm-app/.gitignore | 48 ++++ packages/create-cosmwasm-app/.npmignore | 32 +++ packages/create-cosmwasm-app/.npmrc | 1 + packages/create-cosmwasm-app/LICENSE | 21 ++ packages/create-cosmwasm-app/README.md | 99 +++++++ packages/create-cosmwasm-app/package.json | 91 ++++++ packages/create-cosmwasm-app/src/cli.ts | 18 ++ .../src/create-cosmwasm-app.ts | 7 + packages/create-cosmwasm-app/src/index.ts | 3 + packages/create-cosmwasm-app/src/prompt.ts | 65 +++++ packages/create-cosmwasm-app/tsconfig.json | 15 + packages/create-cosmwasm-app/types/cli.d.ts | 1 + .../types/git-cca-template.d.ts | 1 + .../types/git-question-template.d.ts | 1 + packages/create-cosmwasm-app/types/index.d.ts | 1 + .../create-cosmwasm-app/types/prompt.d.ts | 3 + yarn.lock | 272 +++++++++++++++++- 24 files changed, 775 insertions(+), 12 deletions(-) create mode 100644 packages/create-cosmos-app/types/create-cosmos-app.d.ts create mode 100644 packages/create-cosmwasm-app/.babelrc.js create mode 100644 packages/create-cosmwasm-app/.editorconfig create mode 100644 packages/create-cosmwasm-app/.eslintignore create mode 100644 packages/create-cosmwasm-app/.eslintrc.js create mode 100644 packages/create-cosmwasm-app/.gitignore create mode 100644 packages/create-cosmwasm-app/.npmignore create mode 100644 packages/create-cosmwasm-app/.npmrc create mode 100644 packages/create-cosmwasm-app/LICENSE create mode 100644 packages/create-cosmwasm-app/README.md create mode 100644 packages/create-cosmwasm-app/package.json create mode 100644 packages/create-cosmwasm-app/src/cli.ts create mode 100755 packages/create-cosmwasm-app/src/create-cosmwasm-app.ts create mode 100644 packages/create-cosmwasm-app/src/index.ts create mode 100644 packages/create-cosmwasm-app/src/prompt.ts create mode 100644 packages/create-cosmwasm-app/tsconfig.json create mode 100644 packages/create-cosmwasm-app/types/cli.d.ts create mode 100644 packages/create-cosmwasm-app/types/git-cca-template.d.ts create mode 100644 packages/create-cosmwasm-app/types/git-question-template.d.ts create mode 100644 packages/create-cosmwasm-app/types/index.d.ts create mode 100644 packages/create-cosmwasm-app/types/prompt.d.ts diff --git a/packages/create-cosmos-app/types/create-cosmos-app.d.ts b/packages/create-cosmos-app/types/create-cosmos-app.d.ts new file mode 100644 index 000000000..b7988016d --- /dev/null +++ b/packages/create-cosmos-app/types/create-cosmos-app.d.ts @@ -0,0 +1,2 @@ +#!/usr/bin/env node +export {}; diff --git a/packages/create-cosmos-app/types/git-cca-template.d.ts b/packages/create-cosmos-app/types/git-cca-template.d.ts index cfa303228..8eadc4434 100644 --- a/packages/create-cosmos-app/types/git-cca-template.d.ts +++ b/packages/create-cosmos-app/types/git-cca-template.d.ts @@ -1 +1 @@ -export declare const createApp: (repo: string) => (argv: any) => Promise; +export declare const createGitApp: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmos-app/types/git-question-template.d.ts b/packages/create-cosmos-app/types/git-question-template.d.ts index cfa303228..8b2dfcec2 100644 --- a/packages/create-cosmos-app/types/git-question-template.d.ts +++ b/packages/create-cosmos-app/types/git-question-template.d.ts @@ -1 +1 @@ -export declare const createApp: (repo: string) => (argv: any) => Promise; +export declare const createQuestionTemplate: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmwasm-app/.babelrc.js b/packages/create-cosmwasm-app/.babelrc.js new file mode 100644 index 000000000..57dd01481 --- /dev/null +++ b/packages/create-cosmwasm-app/.babelrc.js @@ -0,0 +1,14 @@ +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/proposal-export-default-from' + ], + presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] + }; +}; diff --git a/packages/create-cosmwasm-app/.editorconfig b/packages/create-cosmwasm-app/.editorconfig new file mode 100644 index 000000000..4a7ea3036 --- /dev/null +++ b/packages/create-cosmwasm-app/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/packages/create-cosmwasm-app/.eslintignore b/packages/create-cosmwasm-app/.eslintignore new file mode 100644 index 000000000..38ba48499 --- /dev/null +++ b/packages/create-cosmwasm-app/.eslintignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +main/ +module/ +coverage/ \ No newline at end of file diff --git a/packages/create-cosmwasm-app/.eslintrc.js b/packages/create-cosmwasm-app/.eslintrc.js new file mode 100644 index 000000000..2718e8bc4 --- /dev/null +++ b/packages/create-cosmwasm-app/.eslintrc.js @@ -0,0 +1,71 @@ +module.exports = { + plugins: ['prettier'], + extends: ['eslint:recommended', 'prettier'], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaVersion: 11, + requireConfigFile: false, + sourceType: 'module', + ecmaFeatures: { + jsx: true + } + }, + env: { + es6: true, + browser: true, + node: true, + jest: true + }, + rules: { + 'no-debugger': 2, + 'no-alert': 2, + 'no-await-in-loop': 0, + 'no-prototype-builtins': 0, + 'no-return-assign': ['error', 'except-parens'], + 'no-restricted-syntax': [ + 2, + 'ForInStatement', + 'LabeledStatement', + 'WithStatement' + ], + 'no-unused-vars': [ + 0, + { + ignoreSiblings: true, + argsIgnorePattern: 'React|res|next|^_' + } + ], + 'prefer-const': [ + 'error', + { + destructuring: 'all' + } + ], + 'no-unused-expressions': [ + 2, + { + allowTaggedTemplates: true + } + ], + 'no-console': 1, + 'comma-dangle': 2, + 'jsx-quotes': [2, 'prefer-double'], + 'linebreak-style': ['error', 'unix'], + quotes: [ + 2, + 'single', + { + avoidEscape: true, + allowTemplateLiterals: true + } + ], + 'prettier/prettier': [ + 'error', + { + trailingComma: 'none', + singleQuote: true, + printWidth: 80 + } + ] + } +}; diff --git a/packages/create-cosmwasm-app/.gitignore b/packages/create-cosmwasm-app/.gitignore new file mode 100644 index 000000000..d93985ec4 --- /dev/null +++ b/packages/create-cosmwasm-app/.gitignore @@ -0,0 +1,48 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# dist +main +module + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +# Editors +.idea + +# Lib +lib + +# npm package lock +package-lock.json +yarn.lock + +# others +.DS_Store \ No newline at end of file diff --git a/packages/create-cosmwasm-app/.npmignore b/packages/create-cosmwasm-app/.npmignore new file mode 100644 index 000000000..cc2605fa8 --- /dev/null +++ b/packages/create-cosmwasm-app/.npmignore @@ -0,0 +1,32 @@ +*.log +npm-debug.log* + +# Coverage directory used by tools like istanbul +coverage +.nyc_output + +# Dependency directories +node_modules + +# npm package lock +package-lock.json +yarn.lock + +# project files +__fixtures__ +__tests__ +.babelrc +.babelrc.js +.editorconfig +.eslintignore +.eslintrc +.eslintrc.js +.gitignore +.travis.yml +.vscode +CHANGELOG.md +examples +jest.config.js +package.json +src +test \ No newline at end of file diff --git a/packages/create-cosmwasm-app/.npmrc b/packages/create-cosmwasm-app/.npmrc new file mode 100644 index 000000000..a21347f1b --- /dev/null +++ b/packages/create-cosmwasm-app/.npmrc @@ -0,0 +1 @@ +scripts-prepend-node-path=true \ No newline at end of file diff --git a/packages/create-cosmwasm-app/LICENSE b/packages/create-cosmwasm-app/LICENSE new file mode 100644 index 000000000..b0b3013a6 --- /dev/null +++ b/packages/create-cosmwasm-app/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 Dan Lynch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/create-cosmwasm-app/README.md b/packages/create-cosmwasm-app/README.md new file mode 100644 index 000000000..5f8ba3ef3 --- /dev/null +++ b/packages/create-cosmwasm-app/README.md @@ -0,0 +1,99 @@ +# create-cosmwasm-app + +

+ +

+ +

+ + +

+ +Set up a modern CosmWasm app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + +## Overview + +``` +# install +npm install -g create-cosmwasm-app + +# run one command +create-cosmwasm-app + +> name: my-app +cd my-app +yarn && yarn dev + +# now your app is running on localhost:3000! +``` + +### Get Started Immediately + +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! + +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains +## Education & Resources + +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. + +## Creating an App + +To create a new app, you may choose one of the following methods: + +### global install + +```sh +npm install -g create-cosmwasm-app +``` + +Then run the command: + +```sh +create-cosmwasm-app +``` + +we also made an alias `cwa` if you don't want to type `create-cosmwasm-app`: + +```sh +cwa +``` + +### npx + +```sh +npx create-cosmwasm-app +``` +### npm + +```sh +npm init cosmwasm-app +``` +### Yarn + +```sh +yarn create cosmwasm-app +``` + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command ⚛️ +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json new file mode 100644 index 000000000..7c07fe24c --- /dev/null +++ b/packages/create-cosmwasm-app/package.json @@ -0,0 +1,91 @@ +{ + "name": "create-cosmwasm-app", + "version": "0.4.5", + "description": "Set up a modern CosmWasm app by running one command ⚛️", + "author": "Dan Lynch ", + "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", + "license": "SEE LICENSE IN LICENSE", + "main": "main/index.js", + "typings": "types/index.d.ts", + "bin": { + "create-cosmwasm-app": "main/create-cosmwasm-app.js", + "cwa": "main/create-cosmwasm-app.js" + }, + "directories": { + "lib": "src", + "test": "__tests__" + }, + "files": [ + "types", + "main" + ], + "scripts": { + "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", + "build:ts": "tsc --project ./tsconfig.json", + "prepare": "npm run build", + "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", + "cli": "cross-env NODE_ENV=development babel-node src/create-cosmwasm-app --extensions \".tsx,.ts,.js\"", + "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", + "lint": "eslint .", + "format": "eslint --fix .", + "test": "jest", + "test:watch": "jest --watch", + "test:debug": "node --inspect node_modules/.bin/jest --runInBand" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/cosmology-tech/create-cosmos-app" + }, + "keywords": [], + "bugs": { + "url": "https://github.com/cosmology-tech/create-cosmos-app/issues" + }, + "jest": { + "testPathIgnorePatterns": [ + "main/", + "module/", + "types/" + ] + }, + "devDependencies": { + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", + "@babel/eslint-parser": "^7.5.4", + "@babel/node": "^7.18.10", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/preset-typescript": "^7.16.7", + "@types/jest": "^28.1.7", + "babel-core": "7.0.0-bridge.0", + "babel-jest": "28.1.3", + "babel-watch": "^7.0.0", + "case": "1.6.3", + "cross-env": "^7.0.2", + "eslint": "8.22.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-prettier": "^4.0.0", + "glob": "8.0.3", + "jest": "^28.1.3", + "jest-in-case": "^1.0.2", + "prettier": "^2.1.2", + "regenerator-runtime": "^0.13.7", + "ts-jest": "^28.0.8", + "typescript": "^4.6.2" + }, + "dependencies": { + "@babel/runtime": "^7.11.2", + "create-cosmos-app": "0.4.5", + "dargs": "7.0.0", + "fuzzy": "0.1.3", + "inquirerer": "0.1.3", + "minimist": "1.2.6", + "mkdirp": "1.0.4", + "shelljs": "0.8.5" + } +} \ No newline at end of file diff --git a/packages/create-cosmwasm-app/src/cli.ts b/packages/create-cosmwasm-app/src/cli.ts new file mode 100644 index 000000000..a5a6d7390 --- /dev/null +++ b/packages/create-cosmwasm-app/src/cli.ts @@ -0,0 +1,18 @@ +import { createGitApp } from "create-cosmos-app"; +import { prompt } from "./prompt"; +const createCosmosApp = createGitApp('https://github.com/cosmology-tech/create-cosmos-app.git'); +export const cli = async (argv) => { + argv.example = true; + const { template } = await prompt([ + { + type: 'list', + name: 'template', + message: 'Which template', + choices: ['osmosis', 'juno', 'stargaze'] + } + ], argv); + + argv.template = template; + + await createCosmosApp(argv); +}; diff --git a/packages/create-cosmwasm-app/src/create-cosmwasm-app.ts b/packages/create-cosmwasm-app/src/create-cosmwasm-app.ts new file mode 100755 index 000000000..4353dcbbb --- /dev/null +++ b/packages/create-cosmwasm-app/src/create-cosmwasm-app.ts @@ -0,0 +1,7 @@ +#!/usr/bin/env node +import { cli } from './cli'; +var argv = require('minimist')(process.argv.slice(2)); + +(async () => { + await cli(argv); +})(); diff --git a/packages/create-cosmwasm-app/src/index.ts b/packages/create-cosmwasm-app/src/index.ts new file mode 100644 index 000000000..53896b758 --- /dev/null +++ b/packages/create-cosmwasm-app/src/index.ts @@ -0,0 +1,3 @@ +// noop + +export { } \ No newline at end of file diff --git a/packages/create-cosmwasm-app/src/prompt.ts b/packages/create-cosmwasm-app/src/prompt.ts new file mode 100644 index 000000000..51fd0aa17 --- /dev/null +++ b/packages/create-cosmwasm-app/src/prompt.ts @@ -0,0 +1,65 @@ +import { filter } from 'fuzzy'; +import { prompt as inquirerer } from 'inquirerer'; + +export const getFuzzySearch = (list) => { + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return el.original; + }) + ); + }, 25); + }); + }; +}; + +export const getFuzzySearchNames = (nameValueItemList) => { + const list = nameValueItemList.map(({ name, value }) => name); + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return nameValueItemList.find( + ({ name, value }) => el.original == name + ); + }) + ); + }, 25); + }); + }; +}; +const transform = (questions) => { + return questions.map((q) => { + if (q.type === 'fuzzy') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearch(choices) + }; + } else if (q.type === 'fuzzy:objects') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearchNames(choices) + }; + } else { + return q; + } + }); +}; + +export const prompt = async (questions = [], argv = {}) => { + questions = transform(questions); + return await inquirerer(questions, argv); +}; diff --git a/packages/create-cosmwasm-app/tsconfig.json b/packages/create-cosmwasm-app/tsconfig.json new file mode 100644 index 000000000..9aa2a288a --- /dev/null +++ b/packages/create-cosmwasm-app/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "declaration": true, + "declarationDir": "./types", + "emitDeclarationOnly": true, + "isolatedModules": true, + "allowJs": true + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/create-cosmwasm-app/types/cli.d.ts b/packages/create-cosmwasm-app/types/cli.d.ts new file mode 100644 index 000000000..77179954f --- /dev/null +++ b/packages/create-cosmwasm-app/types/cli.d.ts @@ -0,0 +1 @@ +export declare const cli: (argv: any) => Promise; diff --git a/packages/create-cosmwasm-app/types/git-cca-template.d.ts b/packages/create-cosmwasm-app/types/git-cca-template.d.ts new file mode 100644 index 000000000..cfa303228 --- /dev/null +++ b/packages/create-cosmwasm-app/types/git-cca-template.d.ts @@ -0,0 +1 @@ +export declare const createApp: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmwasm-app/types/git-question-template.d.ts b/packages/create-cosmwasm-app/types/git-question-template.d.ts new file mode 100644 index 000000000..cfa303228 --- /dev/null +++ b/packages/create-cosmwasm-app/types/git-question-template.d.ts @@ -0,0 +1 @@ +export declare const createApp: (repo: string) => (argv: any) => Promise; diff --git a/packages/create-cosmwasm-app/types/index.d.ts b/packages/create-cosmwasm-app/types/index.d.ts new file mode 100644 index 000000000..fcd5973e7 --- /dev/null +++ b/packages/create-cosmwasm-app/types/index.d.ts @@ -0,0 +1 @@ +export * from './git-cca-template'; diff --git a/packages/create-cosmwasm-app/types/prompt.d.ts b/packages/create-cosmwasm-app/types/prompt.d.ts new file mode 100644 index 000000000..2c3dfe583 --- /dev/null +++ b/packages/create-cosmwasm-app/types/prompt.d.ts @@ -0,0 +1,3 @@ +export declare const getFuzzySearch: (list: any) => (answers: any, input: any) => Promise; +export declare const getFuzzySearchNames: (nameValueItemList: any) => (answers: any, input: any) => Promise; +export declare const prompt: (questions?: any[], argv?: {}) => Promise; diff --git a/yarn.lock b/yarn.lock index f44b56f5b..88ab83f14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3182,6 +3182,16 @@ resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@headlessui/react@^1.7.2": + version "1.7.2" + resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" + integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== + +"@heroicons/react@^2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" + integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== + "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" @@ -5004,6 +5014,33 @@ dependencies: tslib "^2.4.0" +"@tailwindcss/aspect-ratio@^0.4.2": + version "0.4.2" + resolved "https://registry.npmjs.org/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz#9ffd52fee8e3c8b20623ff0dcb29e5c21fb0a9ba" + integrity sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ== + +"@tailwindcss/forms@^0.5.3": + version "0.5.3" + resolved "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz#e4d7989686cbcaf416c53f1523df5225332a86e7" + integrity sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q== + dependencies: + mini-svg-data-uri "^1.2.3" + +"@tailwindcss/line-clamp@^0.4.2": + version "0.4.2" + resolved "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz#f353c5a8ab2c939c6267ac5b907f012e5ee130f9" + integrity sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw== + +"@tailwindcss/typography@^0.5.7": + version "0.5.7" + resolved "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.7.tgz#e0b95bea787ee14c5a34a74fc824e6fe86ea8855" + integrity sha512-JTTSTrgZfp6Ki4svhPA4mkd9nmQ/j9EfE7SbHJ1cLtthKkpW2OxsFXzSmxbhYbEkfNIyAyhle5p4SYyKRbz/jg== + dependencies: + lodash.castarray "^4.4.0" + lodash.isplainobject "^4.0.6" + lodash.merge "^4.6.2" + postcss-selector-parser "6.0.10" + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" @@ -5466,6 +5503,25 @@ acorn-jsx@^5.3.2: resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== +acorn-node@^1.8.2: + version "1.8.2" + resolved "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8" + integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A== + dependencies: + acorn "^7.0.0" + acorn-walk "^7.0.0" + xtend "^4.0.2" + +acorn-walk@^7.0.0: + version "7.2.0" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== + +acorn@^7.0.0: + version "7.4.1" + resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + acorn@^8.8.0: version "8.8.0" resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" @@ -5607,6 +5663,11 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" +arg@^5.0.2: + version "5.0.2" + resolved "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + argparse@^1.0.7: version "1.0.10" resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" @@ -5740,6 +5801,18 @@ at-least-node@^1.0.0: resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== +autoprefixer@^10.4.12: + version "10.4.12" + resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.12.tgz#183f30bf0b0722af54ee5ef257f7d4320bb33129" + integrity sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q== + dependencies: + browserslist "^4.21.4" + caniuse-lite "^1.0.30001407" + fraction.js "^4.2.0" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz" @@ -6005,7 +6078,7 @@ bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -bowser@2.11.0: +bowser@2.11.0, bowser@^2.11.0: version "2.11.0" resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== @@ -6037,7 +6110,7 @@ brorand@^1.1.0: resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browserslist@^4.11.1, browserslist@^4.21.3: +browserslist@^4.11.1, browserslist@^4.21.3, browserslist@^4.21.4: version "4.21.4" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== @@ -6155,6 +6228,11 @@ callsites@^3.0.0: resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camelcase-css@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" + integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== + camelcase-keys@^6.2.2: version "6.2.2" resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz" @@ -6179,6 +6257,11 @@ caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== +caniuse-lite@^1.0.30001407: + version "1.0.30001414" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001414.tgz#5f1715e506e71860b4b07c50060ea6462217611e" + integrity sha512-t55jfSaWjCdocnFdKQoO+d2ct9C59UZg4dY3OnUlSZ447r8pUtIKdp0hpAzrGFultmTC+Us+KpKi4GZl/LXlFg== + case@1.6.3: version "1.6.3" resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz" @@ -6252,7 +6335,7 @@ charenc@~0.0.1: resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz" integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== -chokidar@^3.4.0, chokidar@^3.4.3: +chokidar@^3.4.0, chokidar@^3.4.3, chokidar@^3.5.3: version "3.5.3" resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -6404,7 +6487,7 @@ color-name@1.1.3: resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== -color-name@~1.1.4: +color-name@^1.1.4, color-name@~1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== @@ -6581,6 +6664,13 @@ copy-to-clipboard@3.3.1: dependencies: toggle-selection "^1.0.6" +copy-to-clipboard@^3.3.2: + version "3.3.2" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.2.tgz#5b263ec2366224b100181dded7ce0579b340c107" + integrity sha512-Vme1Z6RUDzrb6xAI7EZlVZ5uvOk2F//GaxKUxajDqm9LhOVM1inxNAD2vy+UZDYsd0uyA9s7b3/FVZPSxqrCfg== + dependencies: + toggle-selection "^1.0.6" + core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: version "3.25.1" resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" @@ -6702,6 +6792,11 @@ css-box-model@1.2.1: dependencies: tiny-invariant "^1.0.6" +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + csstype@^3.0.11, csstype@^3.0.2: version "3.1.1" resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz" @@ -6816,6 +6911,11 @@ define-properties@^1.1.3, define-properties@^1.1.4: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +defined@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" + integrity sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ== + delay@^4.4.0: version "4.4.1" resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" @@ -6866,6 +6966,15 @@ detect-node-es@^1.1.0: resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz" integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== +detective@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034" + integrity sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw== + dependencies: + acorn-node "^1.8.2" + defined "^1.0.0" + minimist "^1.2.6" + dezalgo@^1.0.0: version "1.0.4" resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz" @@ -6874,6 +6983,11 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" +didyoumean@^1.2.2: + version "1.2.2" + resolved "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" + integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== + diff-sequences@^28.1.1: version "28.1.1" resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-28.1.1.tgz" @@ -6886,6 +7000,11 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" +dlv@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + doctrine@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz" @@ -7456,7 +7575,7 @@ fast-fuzzy@1.11.2: dependencies: graphemesplit "^2.4.1" -fast-glob@^3.2.9: +fast-glob@^3.2.11, fast-glob@^3.2.9: version "3.2.12" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== @@ -7621,6 +7740,11 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +fraction.js@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" + integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== + framer-motion@7.3.6: version "7.3.6" resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz" @@ -7857,7 +7981,7 @@ glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1: +glob-parent@^6.0.1, glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== @@ -9282,6 +9406,11 @@ libsodium@^0.7.0: resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz" integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== +lilconfig@^2.0.5, lilconfig@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz#32a384558bd58af3d4c6e077dd1ad1d397bc69d4" + integrity sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" @@ -9342,6 +9471,11 @@ lodash._reinterpolate@^3.0.0: resolved "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" integrity sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA== +lodash.castarray@^4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115" + integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q== + lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" @@ -9352,6 +9486,11 @@ lodash.ismatch@^4.4.0: resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz" integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== + lodash.isregexp@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/lodash.isregexp/-/lodash.isregexp-4.0.1.tgz" @@ -9607,6 +9746,11 @@ min-indent@^1.0.0: resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== +mini-svg-data-uri@^1.2.3: + version "1.4.4" + resolved "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz#8ab0aabcdf8c29ad5693ca595af19dd2ead09939" + integrity sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg== + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" @@ -9952,6 +10096,11 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + normalize-url@^6.1.0: version "6.1.0" resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" @@ -10077,6 +10226,11 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== +object-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + object-inspect@^1.12.2, object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz" @@ -10523,6 +10677,50 @@ popmotion@11.0.5: style-value-types "5.1.2" tslib "2.4.0" +postcss-import@^14.1.0: + version "14.1.0" + resolved "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz#a7333ffe32f0b8795303ee9e40215dac922781f0" + integrity sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + +postcss-js@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz#31db79889531b80dc7bc9b0ad283e418dce0ac00" + integrity sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ== + dependencies: + camelcase-css "^2.0.1" + +postcss-load-config@^3.1.4: + version "3.1.4" + resolved "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" + integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== + dependencies: + lilconfig "^2.0.5" + yaml "^1.10.2" + +postcss-nested@5.0.6: + version "5.0.6" + resolved "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz#466343f7fc8d3d46af3e7dba3fcd47d052a945bc" + integrity sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA== + dependencies: + postcss-selector-parser "^6.0.6" + +postcss-selector-parser@6.0.10, postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.6: + version "6.0.10" + resolved "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" + integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + postcss@8.4.14: version "8.4.14" resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" @@ -10532,6 +10730,15 @@ postcss@8.4.14: picocolors "^1.0.0" source-map-js "^1.0.2" +postcss@^8.4.14, postcss@^8.4.16: + version "8.4.16" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" + integrity sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" @@ -10715,6 +10922,11 @@ quick-lru@^4.0.1: resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + randombytes@^2.0.1, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" @@ -10827,6 +11039,13 @@ react@18.2.0: dependencies: loose-envify "^1.1.0" +read-cache@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== + dependencies: + pify "^2.3.0" + read-cmd-shim@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz" @@ -11096,7 +11315,7 @@ resolve.exports@^1.1.0: resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.3.2, resolve@^1.8.1: +resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.3.2, resolve@^1.8.1: version "1.22.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -11722,6 +11941,39 @@ symbol-observable@^2.0.3: resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== +tailwind-scrollbar-hide@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/tailwind-scrollbar-hide/-/tailwind-scrollbar-hide-1.1.7.tgz#90b481fb2e204030e3919427416650c54f56f847" + integrity sha512-X324n9OtpTmOMqEgDUEA/RgLrNfBF/jwJdctaPZDzB3mppxJk7TLIDmOreEDm1Bq4R9LSPu4Epf8VSdovNU+iA== + +tailwindcss@^3.1.8: + version "3.1.8" + resolved "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz#4f8520550d67a835d32f2f4021580f9fddb7b741" + integrity sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g== + dependencies: + arg "^5.0.2" + chokidar "^3.5.3" + color-name "^1.1.4" + detective "^5.2.1" + didyoumean "^1.2.2" + dlv "^1.1.3" + fast-glob "^3.2.11" + glob-parent "^6.0.2" + is-glob "^4.0.3" + lilconfig "^2.0.6" + normalize-path "^3.0.0" + object-hash "^3.0.0" + picocolors "^1.0.0" + postcss "^8.4.14" + postcss-import "^14.1.0" + postcss-js "^4.0.0" + postcss-load-config "^3.1.4" + postcss-nested "5.0.6" + postcss-selector-parser "^6.0.10" + postcss-value-parser "^4.2.0" + quick-lru "^5.1.1" + resolve "^1.22.1" + tar@^4.4.12: version "4.4.19" resolved "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz" @@ -12169,7 +12421,7 @@ use-sync-external-store@1.2.0: resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== -util-deprecate@^1.0.1, util-deprecate@~1.0.1: +util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== @@ -12437,7 +12689,7 @@ xstream@^11.14.0: globalthis "^1.0.1" symbol-observable "^2.0.3" -xtend@~4.0.1: +xtend@^4.0.2, xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== @@ -12457,7 +12709,7 @@ yallist@^4.0.0: resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.7.2: +yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: version "1.10.2" resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== From 3e1777a103656bf49168f178f389eac32ef2fc51 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:36:47 -0500 Subject: [PATCH 122/262] chore(release): publish - @cosmonauts/tailwindcss@0.6.2 - create-cosmos-app@0.4.6 - create-cosmwasm-app@0.4.6 --- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 4 ++-- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 6 +++--- 6 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 examples/tailwindcss/CHANGELOG.md create mode 100644 packages/create-cosmwasm-app/CHANGELOG.md diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md new file mode 100644 index 000000000..2ea0f340b --- /dev/null +++ b/examples/tailwindcss/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.6.2 (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 0d781b3e3..420812f34 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "0.6.1", + "version": "0.6.2", "private": true, "scripts": { "dev": "next dev", @@ -46,4 +46,4 @@ "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index c97a2417c..b2284d934 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.5...create-cosmos-app@0.4.6) (2022-09-30) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.4...create-cosmos-app@0.4.5) (2022-09-25) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 6e6b42909..b02b48298 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.5", + "version": "0.4.6", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md new file mode 100644 index 000000000..788be7dd3 --- /dev/null +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.4.6 (2022-09-30) + +**Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 7c07fe24c..aaea67093 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "0.4.5", + "version": "0.4.6", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "0.4.5", + "create-cosmos-app": "^0.4.6", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} From 33f7903b9b60fac1ca6c0d408da2fd5b8a4edc66 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:48:24 -0500 Subject: [PATCH 123/262] apps --- packages/create-cosmwasm-app/types/index.d.ts | 1 - packages/create-juno-app/.babelrc.js | 14 +++ packages/create-juno-app/.editorconfig | 12 +++ packages/create-juno-app/.eslintignore | 5 + packages/create-juno-app/.eslintrc.js | 71 +++++++++++++ packages/create-juno-app/.gitignore | 48 +++++++++ packages/create-juno-app/.npmignore | 32 ++++++ packages/create-juno-app/.npmrc | 1 + packages/create-juno-app/LICENSE | 21 ++++ packages/create-juno-app/README.md | 99 +++++++++++++++++++ packages/create-juno-app/package.json | 91 +++++++++++++++++ packages/create-juno-app/src/cli.ts | 7 ++ .../create-juno-app/src/create-juno-app.ts | 7 ++ packages/create-juno-app/src/index.ts | 3 + packages/create-juno-app/src/prompt.ts | 65 ++++++++++++ packages/create-juno-app/tsconfig.json | 15 +++ .../types/cli.d.ts | 0 .../types/create-juno-app.d.ts | 2 + packages/create-juno-app/types/index.d.ts | 1 + .../types/prompt.d.ts | 0 packages/create-osmosis-app/.babelrc.js | 14 +++ packages/create-osmosis-app/.editorconfig | 12 +++ packages/create-osmosis-app/.eslintignore | 5 + packages/create-osmosis-app/.eslintrc.js | 71 +++++++++++++ packages/create-osmosis-app/.gitignore | 48 +++++++++ packages/create-osmosis-app/.npmignore | 32 ++++++ packages/create-osmosis-app/.npmrc | 1 + packages/create-osmosis-app/LICENSE | 21 ++++ packages/create-osmosis-app/README.md | 99 +++++++++++++++++++ packages/create-osmosis-app/package.json | 91 +++++++++++++++++ packages/create-osmosis-app/src/cli.ts | 7 ++ .../src/create-osmosis-app.ts | 7 ++ packages/create-osmosis-app/src/index.ts | 3 + packages/create-osmosis-app/src/prompt.ts | 65 ++++++++++++ packages/create-osmosis-app/tsconfig.json | 15 +++ packages/create-osmosis-app/types/cli.d.ts | 1 + .../types/create-osmosis-app.d.ts | 2 + .../types/git-cca-template.d.ts | 0 .../types/git-question-template.d.ts | 0 packages/create-osmosis-app/types/index.d.ts | 1 + packages/create-osmosis-app/types/prompt.d.ts | 3 + packages/create-stargaze-app/.babelrc.js | 14 +++ packages/create-stargaze-app/.editorconfig | 12 +++ packages/create-stargaze-app/.eslintignore | 5 + packages/create-stargaze-app/.eslintrc.js | 71 +++++++++++++ packages/create-stargaze-app/.gitignore | 48 +++++++++ packages/create-stargaze-app/.npmignore | 32 ++++++ packages/create-stargaze-app/.npmrc | 1 + packages/create-stargaze-app/LICENSE | 21 ++++ packages/create-stargaze-app/README.md | 99 +++++++++++++++++++ packages/create-stargaze-app/package.json | 91 +++++++++++++++++ packages/create-stargaze-app/src/cli.ts | 7 ++ .../src/create-cosmwasm-app.ts | 7 ++ packages/create-stargaze-app/src/index.ts | 3 + packages/create-stargaze-app/src/prompt.ts | 65 ++++++++++++ packages/create-stargaze-app/tsconfig.json | 15 +++ packages/create-stargaze-app/types/cli.d.ts | 1 + .../types/create-cosmwasm-app.d.ts | 2 + packages/create-stargaze-app/types/index.d.ts | 1 + .../create-stargaze-app/types/prompt.d.ts | 3 + 60 files changed, 1490 insertions(+), 1 deletion(-) delete mode 100644 packages/create-cosmwasm-app/types/index.d.ts create mode 100644 packages/create-juno-app/.babelrc.js create mode 100644 packages/create-juno-app/.editorconfig create mode 100644 packages/create-juno-app/.eslintignore create mode 100644 packages/create-juno-app/.eslintrc.js create mode 100644 packages/create-juno-app/.gitignore create mode 100644 packages/create-juno-app/.npmignore create mode 100644 packages/create-juno-app/.npmrc create mode 100644 packages/create-juno-app/LICENSE create mode 100644 packages/create-juno-app/README.md create mode 100644 packages/create-juno-app/package.json create mode 100644 packages/create-juno-app/src/cli.ts create mode 100755 packages/create-juno-app/src/create-juno-app.ts create mode 100644 packages/create-juno-app/src/index.ts create mode 100644 packages/create-juno-app/src/prompt.ts create mode 100644 packages/create-juno-app/tsconfig.json rename packages/{create-cosmwasm-app => create-juno-app}/types/cli.d.ts (100%) create mode 100644 packages/create-juno-app/types/create-juno-app.d.ts create mode 100644 packages/create-juno-app/types/index.d.ts rename packages/{create-cosmwasm-app => create-juno-app}/types/prompt.d.ts (100%) create mode 100644 packages/create-osmosis-app/.babelrc.js create mode 100644 packages/create-osmosis-app/.editorconfig create mode 100644 packages/create-osmosis-app/.eslintignore create mode 100644 packages/create-osmosis-app/.eslintrc.js create mode 100644 packages/create-osmosis-app/.gitignore create mode 100644 packages/create-osmosis-app/.npmignore create mode 100644 packages/create-osmosis-app/.npmrc create mode 100644 packages/create-osmosis-app/LICENSE create mode 100644 packages/create-osmosis-app/README.md create mode 100644 packages/create-osmosis-app/package.json create mode 100644 packages/create-osmosis-app/src/cli.ts create mode 100755 packages/create-osmosis-app/src/create-osmosis-app.ts create mode 100644 packages/create-osmosis-app/src/index.ts create mode 100644 packages/create-osmosis-app/src/prompt.ts create mode 100644 packages/create-osmosis-app/tsconfig.json create mode 100644 packages/create-osmosis-app/types/cli.d.ts create mode 100644 packages/create-osmosis-app/types/create-osmosis-app.d.ts rename packages/{create-cosmwasm-app => create-osmosis-app}/types/git-cca-template.d.ts (100%) rename packages/{create-cosmwasm-app => create-osmosis-app}/types/git-question-template.d.ts (100%) create mode 100644 packages/create-osmosis-app/types/index.d.ts create mode 100644 packages/create-osmosis-app/types/prompt.d.ts create mode 100644 packages/create-stargaze-app/.babelrc.js create mode 100644 packages/create-stargaze-app/.editorconfig create mode 100644 packages/create-stargaze-app/.eslintignore create mode 100644 packages/create-stargaze-app/.eslintrc.js create mode 100644 packages/create-stargaze-app/.gitignore create mode 100644 packages/create-stargaze-app/.npmignore create mode 100644 packages/create-stargaze-app/.npmrc create mode 100644 packages/create-stargaze-app/LICENSE create mode 100644 packages/create-stargaze-app/README.md create mode 100644 packages/create-stargaze-app/package.json create mode 100644 packages/create-stargaze-app/src/cli.ts create mode 100755 packages/create-stargaze-app/src/create-cosmwasm-app.ts create mode 100644 packages/create-stargaze-app/src/index.ts create mode 100644 packages/create-stargaze-app/src/prompt.ts create mode 100644 packages/create-stargaze-app/tsconfig.json create mode 100644 packages/create-stargaze-app/types/cli.d.ts create mode 100644 packages/create-stargaze-app/types/create-cosmwasm-app.d.ts create mode 100644 packages/create-stargaze-app/types/index.d.ts create mode 100644 packages/create-stargaze-app/types/prompt.d.ts diff --git a/packages/create-cosmwasm-app/types/index.d.ts b/packages/create-cosmwasm-app/types/index.d.ts deleted file mode 100644 index fcd5973e7..000000000 --- a/packages/create-cosmwasm-app/types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './git-cca-template'; diff --git a/packages/create-juno-app/.babelrc.js b/packages/create-juno-app/.babelrc.js new file mode 100644 index 000000000..57dd01481 --- /dev/null +++ b/packages/create-juno-app/.babelrc.js @@ -0,0 +1,14 @@ +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/proposal-export-default-from' + ], + presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] + }; +}; diff --git a/packages/create-juno-app/.editorconfig b/packages/create-juno-app/.editorconfig new file mode 100644 index 000000000..4a7ea3036 --- /dev/null +++ b/packages/create-juno-app/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/packages/create-juno-app/.eslintignore b/packages/create-juno-app/.eslintignore new file mode 100644 index 000000000..38ba48499 --- /dev/null +++ b/packages/create-juno-app/.eslintignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +main/ +module/ +coverage/ \ No newline at end of file diff --git a/packages/create-juno-app/.eslintrc.js b/packages/create-juno-app/.eslintrc.js new file mode 100644 index 000000000..2718e8bc4 --- /dev/null +++ b/packages/create-juno-app/.eslintrc.js @@ -0,0 +1,71 @@ +module.exports = { + plugins: ['prettier'], + extends: ['eslint:recommended', 'prettier'], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaVersion: 11, + requireConfigFile: false, + sourceType: 'module', + ecmaFeatures: { + jsx: true + } + }, + env: { + es6: true, + browser: true, + node: true, + jest: true + }, + rules: { + 'no-debugger': 2, + 'no-alert': 2, + 'no-await-in-loop': 0, + 'no-prototype-builtins': 0, + 'no-return-assign': ['error', 'except-parens'], + 'no-restricted-syntax': [ + 2, + 'ForInStatement', + 'LabeledStatement', + 'WithStatement' + ], + 'no-unused-vars': [ + 0, + { + ignoreSiblings: true, + argsIgnorePattern: 'React|res|next|^_' + } + ], + 'prefer-const': [ + 'error', + { + destructuring: 'all' + } + ], + 'no-unused-expressions': [ + 2, + { + allowTaggedTemplates: true + } + ], + 'no-console': 1, + 'comma-dangle': 2, + 'jsx-quotes': [2, 'prefer-double'], + 'linebreak-style': ['error', 'unix'], + quotes: [ + 2, + 'single', + { + avoidEscape: true, + allowTemplateLiterals: true + } + ], + 'prettier/prettier': [ + 'error', + { + trailingComma: 'none', + singleQuote: true, + printWidth: 80 + } + ] + } +}; diff --git a/packages/create-juno-app/.gitignore b/packages/create-juno-app/.gitignore new file mode 100644 index 000000000..d93985ec4 --- /dev/null +++ b/packages/create-juno-app/.gitignore @@ -0,0 +1,48 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# dist +main +module + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +# Editors +.idea + +# Lib +lib + +# npm package lock +package-lock.json +yarn.lock + +# others +.DS_Store \ No newline at end of file diff --git a/packages/create-juno-app/.npmignore b/packages/create-juno-app/.npmignore new file mode 100644 index 000000000..cc2605fa8 --- /dev/null +++ b/packages/create-juno-app/.npmignore @@ -0,0 +1,32 @@ +*.log +npm-debug.log* + +# Coverage directory used by tools like istanbul +coverage +.nyc_output + +# Dependency directories +node_modules + +# npm package lock +package-lock.json +yarn.lock + +# project files +__fixtures__ +__tests__ +.babelrc +.babelrc.js +.editorconfig +.eslintignore +.eslintrc +.eslintrc.js +.gitignore +.travis.yml +.vscode +CHANGELOG.md +examples +jest.config.js +package.json +src +test \ No newline at end of file diff --git a/packages/create-juno-app/.npmrc b/packages/create-juno-app/.npmrc new file mode 100644 index 000000000..a21347f1b --- /dev/null +++ b/packages/create-juno-app/.npmrc @@ -0,0 +1 @@ +scripts-prepend-node-path=true \ No newline at end of file diff --git a/packages/create-juno-app/LICENSE b/packages/create-juno-app/LICENSE new file mode 100644 index 000000000..b0b3013a6 --- /dev/null +++ b/packages/create-juno-app/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 Dan Lynch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/create-juno-app/README.md b/packages/create-juno-app/README.md new file mode 100644 index 000000000..4c8c31e7f --- /dev/null +++ b/packages/create-juno-app/README.md @@ -0,0 +1,99 @@ +# create-juno-app + +

+ +

+ +

+ + +

+ +Set up a modern CosmWasm app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + +## Overview + +``` +# install +npm install -g create-juno-app + +# run one command +create-juno-app + +> name: my-app +cd my-app +yarn && yarn dev + +# now your app is running on localhost:3000! +``` + +### Get Started Immediately + +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! + +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains +## Education & Resources + +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. + +## Creating an App + +To create a new app, you may choose one of the following methods: + +### global install + +```sh +npm install -g create-juno-app +``` + +Then run the command: + +```sh +create-juno-app +``` + +we also made an alias `cja` if you don't want to type `create-juno-app`: + +```sh +cja +``` + +### npx + +```sh +npx create-juno-app +``` +### npm + +```sh +npm init juno-app +``` +### Yarn + +```sh +yarn create juno-app +``` + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command ⚛️ +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json new file mode 100644 index 000000000..d9ac90dad --- /dev/null +++ b/packages/create-juno-app/package.json @@ -0,0 +1,91 @@ +{ + "name": "create-juno-app", + "version": "0.4.6", + "description": "Set up a modern Juno app by running one command ⚛️", + "author": "Dan Lynch ", + "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", + "license": "SEE LICENSE IN LICENSE", + "main": "main/index.js", + "typings": "types/index.d.ts", + "bin": { + "create-juno-app": "main/create-juno-app.js", + "cja": "main/create-juno-app.js" + }, + "directories": { + "lib": "src", + "test": "__tests__" + }, + "files": [ + "types", + "main" + ], + "scripts": { + "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", + "build:ts": "tsc --project ./tsconfig.json", + "prepare": "npm run build", + "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", + "cli": "cross-env NODE_ENV=development babel-node src/create-juno-app --extensions \".tsx,.ts,.js\"", + "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", + "lint": "eslint .", + "format": "eslint --fix .", + "test": "jest", + "test:watch": "jest --watch", + "test:debug": "node --inspect node_modules/.bin/jest --runInBand" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/cosmology-tech/create-cosmos-app" + }, + "keywords": [], + "bugs": { + "url": "https://github.com/cosmology-tech/create-cosmos-app/issues" + }, + "jest": { + "testPathIgnorePatterns": [ + "main/", + "module/", + "types/" + ] + }, + "devDependencies": { + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", + "@babel/eslint-parser": "^7.5.4", + "@babel/node": "^7.18.10", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/preset-typescript": "^7.16.7", + "@types/jest": "^28.1.7", + "babel-core": "7.0.0-bridge.0", + "babel-jest": "28.1.3", + "babel-watch": "^7.0.0", + "case": "1.6.3", + "cross-env": "^7.0.2", + "eslint": "8.22.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-prettier": "^4.0.0", + "glob": "8.0.3", + "jest": "^28.1.3", + "jest-in-case": "^1.0.2", + "prettier": "^2.1.2", + "regenerator-runtime": "^0.13.7", + "ts-jest": "^28.0.8", + "typescript": "^4.6.2" + }, + "dependencies": { + "@babel/runtime": "^7.11.2", + "create-cosmos-app": "^0.4.6", + "dargs": "7.0.0", + "fuzzy": "0.1.3", + "inquirerer": "0.1.3", + "minimist": "1.2.6", + "mkdirp": "1.0.4", + "shelljs": "0.8.5" + } +} \ No newline at end of file diff --git a/packages/create-juno-app/src/cli.ts b/packages/create-juno-app/src/cli.ts new file mode 100644 index 000000000..a97b07fbb --- /dev/null +++ b/packages/create-juno-app/src/cli.ts @@ -0,0 +1,7 @@ +import { createGitApp } from "create-cosmos-app"; +const createCosmosApp = createGitApp('https://github.com/cosmology-tech/create-cosmos-app.git'); +export const cli = async (argv) => { + argv.example = true; + argv.template = 'juno'; + await createCosmosApp(argv); +}; diff --git a/packages/create-juno-app/src/create-juno-app.ts b/packages/create-juno-app/src/create-juno-app.ts new file mode 100755 index 000000000..4353dcbbb --- /dev/null +++ b/packages/create-juno-app/src/create-juno-app.ts @@ -0,0 +1,7 @@ +#!/usr/bin/env node +import { cli } from './cli'; +var argv = require('minimist')(process.argv.slice(2)); + +(async () => { + await cli(argv); +})(); diff --git a/packages/create-juno-app/src/index.ts b/packages/create-juno-app/src/index.ts new file mode 100644 index 000000000..53896b758 --- /dev/null +++ b/packages/create-juno-app/src/index.ts @@ -0,0 +1,3 @@ +// noop + +export { } \ No newline at end of file diff --git a/packages/create-juno-app/src/prompt.ts b/packages/create-juno-app/src/prompt.ts new file mode 100644 index 000000000..51fd0aa17 --- /dev/null +++ b/packages/create-juno-app/src/prompt.ts @@ -0,0 +1,65 @@ +import { filter } from 'fuzzy'; +import { prompt as inquirerer } from 'inquirerer'; + +export const getFuzzySearch = (list) => { + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return el.original; + }) + ); + }, 25); + }); + }; +}; + +export const getFuzzySearchNames = (nameValueItemList) => { + const list = nameValueItemList.map(({ name, value }) => name); + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return nameValueItemList.find( + ({ name, value }) => el.original == name + ); + }) + ); + }, 25); + }); + }; +}; +const transform = (questions) => { + return questions.map((q) => { + if (q.type === 'fuzzy') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearch(choices) + }; + } else if (q.type === 'fuzzy:objects') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearchNames(choices) + }; + } else { + return q; + } + }); +}; + +export const prompt = async (questions = [], argv = {}) => { + questions = transform(questions); + return await inquirerer(questions, argv); +}; diff --git a/packages/create-juno-app/tsconfig.json b/packages/create-juno-app/tsconfig.json new file mode 100644 index 000000000..9aa2a288a --- /dev/null +++ b/packages/create-juno-app/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "declaration": true, + "declarationDir": "./types", + "emitDeclarationOnly": true, + "isolatedModules": true, + "allowJs": true + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/create-cosmwasm-app/types/cli.d.ts b/packages/create-juno-app/types/cli.d.ts similarity index 100% rename from packages/create-cosmwasm-app/types/cli.d.ts rename to packages/create-juno-app/types/cli.d.ts diff --git a/packages/create-juno-app/types/create-juno-app.d.ts b/packages/create-juno-app/types/create-juno-app.d.ts new file mode 100644 index 000000000..b7988016d --- /dev/null +++ b/packages/create-juno-app/types/create-juno-app.d.ts @@ -0,0 +1,2 @@ +#!/usr/bin/env node +export {}; diff --git a/packages/create-juno-app/types/index.d.ts b/packages/create-juno-app/types/index.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/packages/create-juno-app/types/index.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/packages/create-cosmwasm-app/types/prompt.d.ts b/packages/create-juno-app/types/prompt.d.ts similarity index 100% rename from packages/create-cosmwasm-app/types/prompt.d.ts rename to packages/create-juno-app/types/prompt.d.ts diff --git a/packages/create-osmosis-app/.babelrc.js b/packages/create-osmosis-app/.babelrc.js new file mode 100644 index 000000000..57dd01481 --- /dev/null +++ b/packages/create-osmosis-app/.babelrc.js @@ -0,0 +1,14 @@ +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/proposal-export-default-from' + ], + presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] + }; +}; diff --git a/packages/create-osmosis-app/.editorconfig b/packages/create-osmosis-app/.editorconfig new file mode 100644 index 000000000..4a7ea3036 --- /dev/null +++ b/packages/create-osmosis-app/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/packages/create-osmosis-app/.eslintignore b/packages/create-osmosis-app/.eslintignore new file mode 100644 index 000000000..38ba48499 --- /dev/null +++ b/packages/create-osmosis-app/.eslintignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +main/ +module/ +coverage/ \ No newline at end of file diff --git a/packages/create-osmosis-app/.eslintrc.js b/packages/create-osmosis-app/.eslintrc.js new file mode 100644 index 000000000..2718e8bc4 --- /dev/null +++ b/packages/create-osmosis-app/.eslintrc.js @@ -0,0 +1,71 @@ +module.exports = { + plugins: ['prettier'], + extends: ['eslint:recommended', 'prettier'], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaVersion: 11, + requireConfigFile: false, + sourceType: 'module', + ecmaFeatures: { + jsx: true + } + }, + env: { + es6: true, + browser: true, + node: true, + jest: true + }, + rules: { + 'no-debugger': 2, + 'no-alert': 2, + 'no-await-in-loop': 0, + 'no-prototype-builtins': 0, + 'no-return-assign': ['error', 'except-parens'], + 'no-restricted-syntax': [ + 2, + 'ForInStatement', + 'LabeledStatement', + 'WithStatement' + ], + 'no-unused-vars': [ + 0, + { + ignoreSiblings: true, + argsIgnorePattern: 'React|res|next|^_' + } + ], + 'prefer-const': [ + 'error', + { + destructuring: 'all' + } + ], + 'no-unused-expressions': [ + 2, + { + allowTaggedTemplates: true + } + ], + 'no-console': 1, + 'comma-dangle': 2, + 'jsx-quotes': [2, 'prefer-double'], + 'linebreak-style': ['error', 'unix'], + quotes: [ + 2, + 'single', + { + avoidEscape: true, + allowTemplateLiterals: true + } + ], + 'prettier/prettier': [ + 'error', + { + trailingComma: 'none', + singleQuote: true, + printWidth: 80 + } + ] + } +}; diff --git a/packages/create-osmosis-app/.gitignore b/packages/create-osmosis-app/.gitignore new file mode 100644 index 000000000..d93985ec4 --- /dev/null +++ b/packages/create-osmosis-app/.gitignore @@ -0,0 +1,48 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# dist +main +module + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +# Editors +.idea + +# Lib +lib + +# npm package lock +package-lock.json +yarn.lock + +# others +.DS_Store \ No newline at end of file diff --git a/packages/create-osmosis-app/.npmignore b/packages/create-osmosis-app/.npmignore new file mode 100644 index 000000000..cc2605fa8 --- /dev/null +++ b/packages/create-osmosis-app/.npmignore @@ -0,0 +1,32 @@ +*.log +npm-debug.log* + +# Coverage directory used by tools like istanbul +coverage +.nyc_output + +# Dependency directories +node_modules + +# npm package lock +package-lock.json +yarn.lock + +# project files +__fixtures__ +__tests__ +.babelrc +.babelrc.js +.editorconfig +.eslintignore +.eslintrc +.eslintrc.js +.gitignore +.travis.yml +.vscode +CHANGELOG.md +examples +jest.config.js +package.json +src +test \ No newline at end of file diff --git a/packages/create-osmosis-app/.npmrc b/packages/create-osmosis-app/.npmrc new file mode 100644 index 000000000..a21347f1b --- /dev/null +++ b/packages/create-osmosis-app/.npmrc @@ -0,0 +1 @@ +scripts-prepend-node-path=true \ No newline at end of file diff --git a/packages/create-osmosis-app/LICENSE b/packages/create-osmosis-app/LICENSE new file mode 100644 index 000000000..b0b3013a6 --- /dev/null +++ b/packages/create-osmosis-app/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 Dan Lynch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/create-osmosis-app/README.md b/packages/create-osmosis-app/README.md new file mode 100644 index 000000000..0929a68f6 --- /dev/null +++ b/packages/create-osmosis-app/README.md @@ -0,0 +1,99 @@ +# create-osmosis-app + +

+ +

+ +

+ + +

+ +Set up a modern CosmWasm app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + +## Overview + +``` +# install +npm install -g create-osmosis-app + +# run one command +create-osmosis-app + +> name: my-app +cd my-app +yarn && yarn dev + +# now your app is running on localhost:3000! +``` + +### Get Started Immediately + +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! + +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains +## Education & Resources + +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. + +## Creating an App + +To create a new app, you may choose one of the following methods: + +### global install + +```sh +npm install -g create-osmosis-app +``` + +Then run the command: + +```sh +create-osmosis-app +``` + +we also made an alias `coa` if you don't want to type `create-osmosis-app`: + +```sh +coa +``` + +### npx + +```sh +npx create-osmosis-app +``` +### npm + +```sh +npm init osmosis-app +``` +### Yarn + +```sh +yarn create osmosis-app +``` + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command ⚛️ +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json new file mode 100644 index 000000000..19f1007ef --- /dev/null +++ b/packages/create-osmosis-app/package.json @@ -0,0 +1,91 @@ +{ + "name": "create-osmosis-app", + "version": "0.4.6", + "description": "Set up a modern Osmosis app by running one command ⚛️", + "author": "Dan Lynch ", + "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", + "license": "SEE LICENSE IN LICENSE", + "main": "main/index.js", + "typings": "types/index.d.ts", + "bin": { + "create-osmosis-app": "main/create-osmosis-app.js", + "coa": "main/create-osmosis-app.js" + }, + "directories": { + "lib": "src", + "test": "__tests__" + }, + "files": [ + "types", + "main" + ], + "scripts": { + "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", + "build:ts": "tsc --project ./tsconfig.json", + "prepare": "npm run build", + "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", + "cli": "cross-env NODE_ENV=development babel-node src/create-osmosis-app --extensions \".tsx,.ts,.js\"", + "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", + "lint": "eslint .", + "format": "eslint --fix .", + "test": "jest", + "test:watch": "jest --watch", + "test:debug": "node --inspect node_modules/.bin/jest --runInBand" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/cosmology-tech/create-cosmos-app" + }, + "keywords": [], + "bugs": { + "url": "https://github.com/cosmology-tech/create-cosmos-app/issues" + }, + "jest": { + "testPathIgnorePatterns": [ + "main/", + "module/", + "types/" + ] + }, + "devDependencies": { + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", + "@babel/eslint-parser": "^7.5.4", + "@babel/node": "^7.18.10", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/preset-typescript": "^7.16.7", + "@types/jest": "^28.1.7", + "babel-core": "7.0.0-bridge.0", + "babel-jest": "28.1.3", + "babel-watch": "^7.0.0", + "case": "1.6.3", + "cross-env": "^7.0.2", + "eslint": "8.22.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-prettier": "^4.0.0", + "glob": "8.0.3", + "jest": "^28.1.3", + "jest-in-case": "^1.0.2", + "prettier": "^2.1.2", + "regenerator-runtime": "^0.13.7", + "ts-jest": "^28.0.8", + "typescript": "^4.6.2" + }, + "dependencies": { + "@babel/runtime": "^7.11.2", + "create-cosmos-app": "^0.4.6", + "dargs": "7.0.0", + "fuzzy": "0.1.3", + "inquirerer": "0.1.3", + "minimist": "1.2.6", + "mkdirp": "1.0.4", + "shelljs": "0.8.5" + } +} \ No newline at end of file diff --git a/packages/create-osmosis-app/src/cli.ts b/packages/create-osmosis-app/src/cli.ts new file mode 100644 index 000000000..652773a3d --- /dev/null +++ b/packages/create-osmosis-app/src/cli.ts @@ -0,0 +1,7 @@ +import { createGitApp } from "create-cosmos-app"; +const createCosmosApp = createGitApp('https://github.com/cosmology-tech/create-cosmos-app.git'); +export const cli = async (argv) => { + argv.example = true; + argv.template = 'osmosis'; + await createCosmosApp(argv); +}; diff --git a/packages/create-osmosis-app/src/create-osmosis-app.ts b/packages/create-osmosis-app/src/create-osmosis-app.ts new file mode 100755 index 000000000..4353dcbbb --- /dev/null +++ b/packages/create-osmosis-app/src/create-osmosis-app.ts @@ -0,0 +1,7 @@ +#!/usr/bin/env node +import { cli } from './cli'; +var argv = require('minimist')(process.argv.slice(2)); + +(async () => { + await cli(argv); +})(); diff --git a/packages/create-osmosis-app/src/index.ts b/packages/create-osmosis-app/src/index.ts new file mode 100644 index 000000000..53896b758 --- /dev/null +++ b/packages/create-osmosis-app/src/index.ts @@ -0,0 +1,3 @@ +// noop + +export { } \ No newline at end of file diff --git a/packages/create-osmosis-app/src/prompt.ts b/packages/create-osmosis-app/src/prompt.ts new file mode 100644 index 000000000..51fd0aa17 --- /dev/null +++ b/packages/create-osmosis-app/src/prompt.ts @@ -0,0 +1,65 @@ +import { filter } from 'fuzzy'; +import { prompt as inquirerer } from 'inquirerer'; + +export const getFuzzySearch = (list) => { + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return el.original; + }) + ); + }, 25); + }); + }; +}; + +export const getFuzzySearchNames = (nameValueItemList) => { + const list = nameValueItemList.map(({ name, value }) => name); + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return nameValueItemList.find( + ({ name, value }) => el.original == name + ); + }) + ); + }, 25); + }); + }; +}; +const transform = (questions) => { + return questions.map((q) => { + if (q.type === 'fuzzy') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearch(choices) + }; + } else if (q.type === 'fuzzy:objects') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearchNames(choices) + }; + } else { + return q; + } + }); +}; + +export const prompt = async (questions = [], argv = {}) => { + questions = transform(questions); + return await inquirerer(questions, argv); +}; diff --git a/packages/create-osmosis-app/tsconfig.json b/packages/create-osmosis-app/tsconfig.json new file mode 100644 index 000000000..9aa2a288a --- /dev/null +++ b/packages/create-osmosis-app/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "declaration": true, + "declarationDir": "./types", + "emitDeclarationOnly": true, + "isolatedModules": true, + "allowJs": true + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/create-osmosis-app/types/cli.d.ts b/packages/create-osmosis-app/types/cli.d.ts new file mode 100644 index 000000000..77179954f --- /dev/null +++ b/packages/create-osmosis-app/types/cli.d.ts @@ -0,0 +1 @@ +export declare const cli: (argv: any) => Promise; diff --git a/packages/create-osmosis-app/types/create-osmosis-app.d.ts b/packages/create-osmosis-app/types/create-osmosis-app.d.ts new file mode 100644 index 000000000..b7988016d --- /dev/null +++ b/packages/create-osmosis-app/types/create-osmosis-app.d.ts @@ -0,0 +1,2 @@ +#!/usr/bin/env node +export {}; diff --git a/packages/create-cosmwasm-app/types/git-cca-template.d.ts b/packages/create-osmosis-app/types/git-cca-template.d.ts similarity index 100% rename from packages/create-cosmwasm-app/types/git-cca-template.d.ts rename to packages/create-osmosis-app/types/git-cca-template.d.ts diff --git a/packages/create-cosmwasm-app/types/git-question-template.d.ts b/packages/create-osmosis-app/types/git-question-template.d.ts similarity index 100% rename from packages/create-cosmwasm-app/types/git-question-template.d.ts rename to packages/create-osmosis-app/types/git-question-template.d.ts diff --git a/packages/create-osmosis-app/types/index.d.ts b/packages/create-osmosis-app/types/index.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/packages/create-osmosis-app/types/index.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/packages/create-osmosis-app/types/prompt.d.ts b/packages/create-osmosis-app/types/prompt.d.ts new file mode 100644 index 000000000..2c3dfe583 --- /dev/null +++ b/packages/create-osmosis-app/types/prompt.d.ts @@ -0,0 +1,3 @@ +export declare const getFuzzySearch: (list: any) => (answers: any, input: any) => Promise; +export declare const getFuzzySearchNames: (nameValueItemList: any) => (answers: any, input: any) => Promise; +export declare const prompt: (questions?: any[], argv?: {}) => Promise; diff --git a/packages/create-stargaze-app/.babelrc.js b/packages/create-stargaze-app/.babelrc.js new file mode 100644 index 000000000..57dd01481 --- /dev/null +++ b/packages/create-stargaze-app/.babelrc.js @@ -0,0 +1,14 @@ +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/proposal-export-default-from' + ], + presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] + }; +}; diff --git a/packages/create-stargaze-app/.editorconfig b/packages/create-stargaze-app/.editorconfig new file mode 100644 index 000000000..4a7ea3036 --- /dev/null +++ b/packages/create-stargaze-app/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/packages/create-stargaze-app/.eslintignore b/packages/create-stargaze-app/.eslintignore new file mode 100644 index 000000000..38ba48499 --- /dev/null +++ b/packages/create-stargaze-app/.eslintignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +main/ +module/ +coverage/ \ No newline at end of file diff --git a/packages/create-stargaze-app/.eslintrc.js b/packages/create-stargaze-app/.eslintrc.js new file mode 100644 index 000000000..2718e8bc4 --- /dev/null +++ b/packages/create-stargaze-app/.eslintrc.js @@ -0,0 +1,71 @@ +module.exports = { + plugins: ['prettier'], + extends: ['eslint:recommended', 'prettier'], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaVersion: 11, + requireConfigFile: false, + sourceType: 'module', + ecmaFeatures: { + jsx: true + } + }, + env: { + es6: true, + browser: true, + node: true, + jest: true + }, + rules: { + 'no-debugger': 2, + 'no-alert': 2, + 'no-await-in-loop': 0, + 'no-prototype-builtins': 0, + 'no-return-assign': ['error', 'except-parens'], + 'no-restricted-syntax': [ + 2, + 'ForInStatement', + 'LabeledStatement', + 'WithStatement' + ], + 'no-unused-vars': [ + 0, + { + ignoreSiblings: true, + argsIgnorePattern: 'React|res|next|^_' + } + ], + 'prefer-const': [ + 'error', + { + destructuring: 'all' + } + ], + 'no-unused-expressions': [ + 2, + { + allowTaggedTemplates: true + } + ], + 'no-console': 1, + 'comma-dangle': 2, + 'jsx-quotes': [2, 'prefer-double'], + 'linebreak-style': ['error', 'unix'], + quotes: [ + 2, + 'single', + { + avoidEscape: true, + allowTemplateLiterals: true + } + ], + 'prettier/prettier': [ + 'error', + { + trailingComma: 'none', + singleQuote: true, + printWidth: 80 + } + ] + } +}; diff --git a/packages/create-stargaze-app/.gitignore b/packages/create-stargaze-app/.gitignore new file mode 100644 index 000000000..d93985ec4 --- /dev/null +++ b/packages/create-stargaze-app/.gitignore @@ -0,0 +1,48 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# dist +main +module + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +# Editors +.idea + +# Lib +lib + +# npm package lock +package-lock.json +yarn.lock + +# others +.DS_Store \ No newline at end of file diff --git a/packages/create-stargaze-app/.npmignore b/packages/create-stargaze-app/.npmignore new file mode 100644 index 000000000..cc2605fa8 --- /dev/null +++ b/packages/create-stargaze-app/.npmignore @@ -0,0 +1,32 @@ +*.log +npm-debug.log* + +# Coverage directory used by tools like istanbul +coverage +.nyc_output + +# Dependency directories +node_modules + +# npm package lock +package-lock.json +yarn.lock + +# project files +__fixtures__ +__tests__ +.babelrc +.babelrc.js +.editorconfig +.eslintignore +.eslintrc +.eslintrc.js +.gitignore +.travis.yml +.vscode +CHANGELOG.md +examples +jest.config.js +package.json +src +test \ No newline at end of file diff --git a/packages/create-stargaze-app/.npmrc b/packages/create-stargaze-app/.npmrc new file mode 100644 index 000000000..a21347f1b --- /dev/null +++ b/packages/create-stargaze-app/.npmrc @@ -0,0 +1 @@ +scripts-prepend-node-path=true \ No newline at end of file diff --git a/packages/create-stargaze-app/LICENSE b/packages/create-stargaze-app/LICENSE new file mode 100644 index 000000000..b0b3013a6 --- /dev/null +++ b/packages/create-stargaze-app/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 Dan Lynch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/create-stargaze-app/README.md b/packages/create-stargaze-app/README.md new file mode 100644 index 000000000..4561b4332 --- /dev/null +++ b/packages/create-stargaze-app/README.md @@ -0,0 +1,99 @@ +# create-stargaze-app + +

+ +

+ +

+ + +

+ +Set up a modern Stargaze app by running one command ⚛️ + +## Demo + +https://user-images.githubusercontent.com/545047/192061992-f0e1106d-f4b2-4879-ab0a-896f22ee4f49.mp4 + +## Overview + +``` +# install +npm install -g create-stargaze-app + +# run one command +create-stargaze-app + +> name: my-app +cd my-app +yarn && yarn dev + +# now your app is running on localhost:3000! +``` + +### Get Started Immediately + +You don’t need to install or configure cosmjs, keplr, nextjs, webpack or Babel. + +Everything is preconfigured, ready-to-go, so you can focus on your code! + +* ⚡️ Connect easily to keplr + keplr mobile via wallet connect +* ⚛️ Sign and broadcast with [cosmjs](https://github.com/cosmos/cosmjs) stargate + cosmwasm signers +* 🛠 Render pages with [next.js](https://nextjs.org/) hybrid static & server rendering +* 🎨 Build awesome UI with [Cosmos Kit](https://github.com/cosmology-tech/cosmos-kit) and [Chakra UI](https://chakra-ui.com/docs/components) +* 📝 Leverage [chain-registry](https://github.com/cosmology-tech/chain-registry) for Chain and Asset info for all Cosmos chains +## Education & Resources + +🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! + +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. + +## Creating an App + +To create a new app, you may choose one of the following methods: + +### global install + +```sh +npm install -g create-stargaze-app +``` + +Then run the command: + +```sh +create-stargaze-app +``` + +we also made an alias `csa` if you don't want to type `create-stargaze-app`: + +```sh +csa +``` + +### npx + +```sh +npx create-stargaze-app +``` +### npm + +```sh +npm init stargaze-app +``` +### Yarn + +```sh +yarn create stargaze-app +``` + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command ⚛️ +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json new file mode 100644 index 000000000..d245041c3 --- /dev/null +++ b/packages/create-stargaze-app/package.json @@ -0,0 +1,91 @@ +{ + "name": "create-stargaze-app", + "version": "0.4.6", + "description": "Set up a modern CosmWasm app by running one command ⚛️", + "author": "Dan Lynch ", + "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", + "license": "SEE LICENSE IN LICENSE", + "main": "main/index.js", + "typings": "types/index.d.ts", + "bin": { + "create-stargaze-app": "main/create-stargaze-app.js", + "csa": "main/create-stargaze-app.js" + }, + "directories": { + "lib": "src", + "test": "__tests__" + }, + "files": [ + "types", + "main" + ], + "scripts": { + "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", + "build:ts": "tsc --project ./tsconfig.json", + "prepare": "npm run build", + "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", + "cli": "cross-env NODE_ENV=development babel-node src/create-stargaze-app --extensions \".tsx,.ts,.js\"", + "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", + "lint": "eslint .", + "format": "eslint --fix .", + "test": "jest", + "test:watch": "jest --watch", + "test:debug": "node --inspect node_modules/.bin/jest --runInBand" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/cosmology-tech/create-cosmos-app" + }, + "keywords": [], + "bugs": { + "url": "https://github.com/cosmology-tech/create-cosmos-app/issues" + }, + "jest": { + "testPathIgnorePatterns": [ + "main/", + "module/", + "types/" + ] + }, + "devDependencies": { + "@babel/cli": "7.18.10", + "@babel/core": "7.18.13", + "@babel/eslint-parser": "^7.5.4", + "@babel/node": "^7.18.10", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-default-from": "7.18.10", + "@babel/plugin-proposal-object-rest-spread": "7.18.9", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/preset-typescript": "^7.16.7", + "@types/jest": "^28.1.7", + "babel-core": "7.0.0-bridge.0", + "babel-jest": "28.1.3", + "babel-watch": "^7.0.0", + "case": "1.6.3", + "cross-env": "^7.0.2", + "eslint": "8.22.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-prettier": "^4.0.0", + "glob": "8.0.3", + "jest": "^28.1.3", + "jest-in-case": "^1.0.2", + "prettier": "^2.1.2", + "regenerator-runtime": "^0.13.7", + "ts-jest": "^28.0.8", + "typescript": "^4.6.2" + }, + "dependencies": { + "@babel/runtime": "^7.11.2", + "create-cosmos-app": "^0.4.6", + "dargs": "7.0.0", + "fuzzy": "0.1.3", + "inquirerer": "0.1.3", + "minimist": "1.2.6", + "mkdirp": "1.0.4", + "shelljs": "0.8.5" + } +} \ No newline at end of file diff --git a/packages/create-stargaze-app/src/cli.ts b/packages/create-stargaze-app/src/cli.ts new file mode 100644 index 000000000..8de978fab --- /dev/null +++ b/packages/create-stargaze-app/src/cli.ts @@ -0,0 +1,7 @@ +import { createGitApp } from "create-cosmos-app"; +const createCosmosApp = createGitApp('https://github.com/cosmology-tech/create-cosmos-app.git'); +export const cli = async (argv) => { + argv.example = true; + argv.template = 'stargaze'; + await createCosmosApp(argv); +}; diff --git a/packages/create-stargaze-app/src/create-cosmwasm-app.ts b/packages/create-stargaze-app/src/create-cosmwasm-app.ts new file mode 100755 index 000000000..4353dcbbb --- /dev/null +++ b/packages/create-stargaze-app/src/create-cosmwasm-app.ts @@ -0,0 +1,7 @@ +#!/usr/bin/env node +import { cli } from './cli'; +var argv = require('minimist')(process.argv.slice(2)); + +(async () => { + await cli(argv); +})(); diff --git a/packages/create-stargaze-app/src/index.ts b/packages/create-stargaze-app/src/index.ts new file mode 100644 index 000000000..53896b758 --- /dev/null +++ b/packages/create-stargaze-app/src/index.ts @@ -0,0 +1,3 @@ +// noop + +export { } \ No newline at end of file diff --git a/packages/create-stargaze-app/src/prompt.ts b/packages/create-stargaze-app/src/prompt.ts new file mode 100644 index 000000000..51fd0aa17 --- /dev/null +++ b/packages/create-stargaze-app/src/prompt.ts @@ -0,0 +1,65 @@ +import { filter } from 'fuzzy'; +import { prompt as inquirerer } from 'inquirerer'; + +export const getFuzzySearch = (list) => { + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return el.original; + }) + ); + }, 25); + }); + }; +}; + +export const getFuzzySearchNames = (nameValueItemList) => { + const list = nameValueItemList.map(({ name, value }) => name); + return (answers, input) => { + input = input || ''; + return new Promise(function (resolve) { + setTimeout(function () { + const fuzzyResult = filter(input, list); + resolve( + fuzzyResult.map(function (el) { + return nameValueItemList.find( + ({ name, value }) => el.original == name + ); + }) + ); + }, 25); + }); + }; +}; +const transform = (questions) => { + return questions.map((q) => { + if (q.type === 'fuzzy') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearch(choices) + }; + } else if (q.type === 'fuzzy:objects') { + const choices = q.choices; + delete q.choices; + return { + ...q, + type: 'autocomplete', + source: getFuzzySearchNames(choices) + }; + } else { + return q; + } + }); +}; + +export const prompt = async (questions = [], argv = {}) => { + questions = transform(questions); + return await inquirerer(questions, argv); +}; diff --git a/packages/create-stargaze-app/tsconfig.json b/packages/create-stargaze-app/tsconfig.json new file mode 100644 index 000000000..9aa2a288a --- /dev/null +++ b/packages/create-stargaze-app/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "declaration": true, + "declarationDir": "./types", + "emitDeclarationOnly": true, + "isolatedModules": true, + "allowJs": true + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/create-stargaze-app/types/cli.d.ts b/packages/create-stargaze-app/types/cli.d.ts new file mode 100644 index 000000000..77179954f --- /dev/null +++ b/packages/create-stargaze-app/types/cli.d.ts @@ -0,0 +1 @@ +export declare const cli: (argv: any) => Promise; diff --git a/packages/create-stargaze-app/types/create-cosmwasm-app.d.ts b/packages/create-stargaze-app/types/create-cosmwasm-app.d.ts new file mode 100644 index 000000000..b7988016d --- /dev/null +++ b/packages/create-stargaze-app/types/create-cosmwasm-app.d.ts @@ -0,0 +1,2 @@ +#!/usr/bin/env node +export {}; diff --git a/packages/create-stargaze-app/types/index.d.ts b/packages/create-stargaze-app/types/index.d.ts new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/packages/create-stargaze-app/types/index.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/packages/create-stargaze-app/types/prompt.d.ts b/packages/create-stargaze-app/types/prompt.d.ts new file mode 100644 index 000000000..2c3dfe583 --- /dev/null +++ b/packages/create-stargaze-app/types/prompt.d.ts @@ -0,0 +1,3 @@ +export declare const getFuzzySearch: (list: any) => (answers: any, input: any) => Promise; +export declare const getFuzzySearchNames: (nameValueItemList: any) => (answers: any, input: any) => Promise; +export declare const prompt: (questions?: any[], argv?: {}) => Promise; From 9e4b50683e5162da11447df78fe3184bde22490c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:48:29 -0500 Subject: [PATCH 124/262] chore(release): publish - create-cosmwasm-app@0.5.0 - create-juno-app@0.5.0 - create-osmosis-app@0.5.0 - create-stargaze-app@0.5.0 --- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 2 +- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 8 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 packages/create-juno-app/CHANGELOG.md create mode 100644 packages/create-osmosis-app/CHANGELOG.md create mode 100644 packages/create-stargaze-app/CHANGELOG.md diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 788be7dd3..a9c110c0e 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.4.6...create-cosmwasm-app@0.5.0) (2022-09-30) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## 0.4.6 (2022-09-30) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index aaea67093..fde3eccaa 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "0.4.6", + "version": "0.5.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md new file mode 100644 index 000000000..7f3d86605 --- /dev/null +++ b/packages/create-juno-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 0.5.0 (2022-09-30) + +**Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index d9ac90dad..061876171 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.4.6", + "version": "0.5.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md new file mode 100644 index 000000000..6fea41679 --- /dev/null +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 0.5.0 (2022-09-30) + +**Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 19f1007ef..7dfe47390 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.4.6", + "version": "0.5.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md new file mode 100644 index 000000000..925f23623 --- /dev/null +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 0.5.0 (2022-09-30) + +**Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index d245041c3..3c62fbae3 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.4.6", + "version": "0.5.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} From d44f5903a92c945919c728e318e013465b58f7ae Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:51:00 -0500 Subject: [PATCH 125/262] readme --- README.md | 6 ++++++ packages/create-cosmos-app/README.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 5bb2d5d8f..df863aa6f 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,12 @@ Explore examples! ``` cca --example ``` +### Tailwind + +``` +cca --name exampleapp --example --template tailwindcss +``` + ### Send Tokens

diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 5bb2d5d8f..df863aa6f 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -92,6 +92,12 @@ Explore examples! ``` cca --example ``` +### Tailwind + +``` +cca --name exampleapp --example --template tailwindcss +``` + ### Send Tokens

From 6847a77c7cdd4dc95087e2f78358aefe99206e83 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:56:04 -0500 Subject: [PATCH 126/262] pkg --- packages/create-osmosis-app/package.json | 2 +- packages/create-stargaze-app/package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 7dfe47390..fc89691ff 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} +} \ No newline at end of file diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 3c62fbae3..052e5ebd8 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,7 +1,7 @@ { "name": "create-stargaze-app", - "version": "0.5.0", - "description": "Set up a modern CosmWasm app by running one command ⚛️", + "version": "0.5.1", + "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", "license": "SEE LICENSE IN LICENSE", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} +} \ No newline at end of file From b051962cef40de30ac5fe87756dcd5f63e737c2b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:58:19 -0500 Subject: [PATCH 127/262] pkg --- .../src/{create-cosmwasm-app.ts => create-stargaze-app.ts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/create-stargaze-app/src/{create-cosmwasm-app.ts => create-stargaze-app.ts} (100%) diff --git a/packages/create-stargaze-app/src/create-cosmwasm-app.ts b/packages/create-stargaze-app/src/create-stargaze-app.ts similarity index 100% rename from packages/create-stargaze-app/src/create-cosmwasm-app.ts rename to packages/create-stargaze-app/src/create-stargaze-app.ts From 584b5d6e1a1a0e718e4525857e4bc2d4fa4ded9f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 29 Sep 2022 20:58:35 -0500 Subject: [PATCH 128/262] chore(release): publish - create-cosmos-app@0.4.7 - create-cosmwasm-app@0.5.1 - create-juno-app@0.5.1 - create-osmosis-app@0.5.1 - create-stargaze-app@0.5.2 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 6 +++--- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 6 +++--- 10 files changed, 51 insertions(+), 11 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index b2284d934..18e87448b 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.6...create-cosmos-app@0.4.7) (2022-09-30) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.5...create-cosmos-app@0.4.6) (2022-09-30) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index b02b48298..66823de6c 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.6", + "version": "0.4.7", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index a9c110c0e..0be1119a9 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.5.0...create-cosmwasm-app@0.5.1) (2022-09-30) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.4.6...create-cosmwasm-app@0.5.0) (2022-09-30) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index fde3eccaa..e1d05b901 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "0.5.0", + "version": "0.5.1", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.6", + "create-cosmos-app": "^0.4.7", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 7f3d86605..1f7278b76 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.0...create-juno-app@0.5.1) (2022-09-30) + +**Note:** Version bump only for package create-juno-app + + + + + # 0.5.0 (2022-09-30) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 061876171..2e6b5cf69 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.0", + "version": "0.5.1", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.6", + "create-cosmos-app": "^0.4.7", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 6fea41679..e135ddcfb 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.0...create-osmosis-app@0.5.1) (2022-09-30) + +**Note:** Version bump only for package create-osmosis-app + + + + + # 0.5.0 (2022-09-30) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index fc89691ff..b1886627c 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.0", + "version": "0.5.1", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.6", + "create-cosmos-app": "^0.4.7", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 925f23623..081aa5115 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.0...create-stargaze-app@0.5.2) (2022-09-30) + +**Note:** Version bump only for package create-stargaze-app + + + + + # 0.5.0 (2022-09-30) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 052e5ebd8..353f5abfc 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.1", + "version": "0.5.2", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.6", + "create-cosmos-app": "^0.4.7", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", @@ -88,4 +88,4 @@ "mkdirp": "1.0.4", "shelljs": "0.8.5" } -} \ No newline at end of file +} From 24d1a18c8770b8b85b0c57be100857bfcae46679 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Fri, 30 Sep 2022 11:44:55 +0800 Subject: [PATCH 129/262] upgrade --- examples/contracts/package.json | 2 +- examples/contracts/pages/_app.tsx | 2 +- examples/juno/package.json | 8 ++-- examples/juno/pages/_app.tsx | 2 +- examples/osmosis/package.json | 8 ++-- examples/osmosis/pages/_app.tsx | 2 +- examples/send-tokens/package.json | 8 ++-- examples/send-tokens/pages/_app.tsx | 2 +- examples/stargaze/package.json | 8 ++-- examples/stargaze/pages/_app.tsx | 2 +- examples/tailwindcss/package.json | 8 ++-- examples/telescope/package.json | 2 +- examples/telescope/pages/_app.tsx | 2 +- templates/connect-chain/package.json | 8 ++-- templates/connect-chain/pages/_app.tsx | 2 +- templates/connect-multi-chain/package.json | 8 ++-- templates/connect-multi-chain/pages/_app.tsx | 2 +- yarn.lock | 50 +++++++++++++++++--- 18 files changed, 81 insertions(+), 45 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 4fe9e1153..f26534190 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -16,7 +16,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.3", + "@cosmos-kit/react": "^0.17.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index 5efd134da..8733eb707 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; diff --git a/examples/juno/package.json b/examples/juno/package.json index b441a0819..30a55f632 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -14,13 +14,13 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "framer-motion": "7.3.6", "juno-network": "0.5.0", "next": "12.2.5", diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx index 6d92a3011..d456cc2e2 100644 --- a/examples/juno/pages/_app.tsx +++ b/examples/juno/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'juno-network'; import { GasPrice } from '@cosmjs/stargate'; diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 27ba7cc69..fe7f251c7 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -14,13 +14,13 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.23.0", diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index 6d22069dc..0b84960b4 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'osmojs'; import { GasPrice } from '@cosmjs/stargate'; diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index c89267498..4e4c86b71 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -14,13 +14,13 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "framer-motion": "7.3.6", "interchain": "0.9.1", "next": "12.2.5", diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx index bc160e306..e4bbb1a2d 100644 --- a/examples/send-tokens/pages/_app.tsx +++ b/examples/send-tokens/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'interchain'; diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 527cf9d64..df861d8e6 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -14,13 +14,13 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx index 09d156b30..6389f3fd2 100644 --- a/examples/stargaze/pages/_app.tsx +++ b/examples/stargaze/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'stargaze-zone'; import { GasPrice } from '@cosmjs/stargate'; diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 420812f34..d8f927b63 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -13,15 +13,15 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", "@heroicons/react": "^2.0.11", "bowser": "^2.11.0", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "copy-to-clipboard": "^3.3.2", "framer-motion": "7.3.6", "next": "12.2.5", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 4f6253fe3..c78d379d9 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.16.3", + "@cosmos-kit/react": "^0.17.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 5efd134da..8733eb707 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 404a9fc41..0d639eeae 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,12 +13,12 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index d8fe1faef..8ec97cbaf 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { SignerOptions } from '@cosmos-kit/core'; import { chains } from 'chain-registry'; diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 0fa7bca1b..e9dc74ada 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,12 +14,12 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/config": "0.16.2", - "@cosmos-kit/core": "0.16.2", - "@cosmos-kit/react": "0.16.3", + "@cosmos-kit/keplr": "0.17.0", + "@cosmos-kit/core": "0.17.0", + "@cosmos-kit/react": "0.17.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "0.14.0", + "chain-registry": "1.0.0", "chakra-react-select": "4.2.2", "fast-fuzzy": "1.11.2", "framer-motion": "7.3.6", diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index af04dee6c..381c5408e 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -3,7 +3,7 @@ import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { SignerOptions } from '@cosmos-kit/core'; import { chains } from 'chain-registry'; diff --git a/yarn.lock b/yarn.lock index 88ab83f14..6420460fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2893,7 +2893,7 @@ resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" integrity sha512-ieZgG1FuaRAJbCnVFLiIgpX4Y60h+EGx27bftmv63sL2YRCaKg7QFbbTZD598pJZiCoLNbkvvMFSypGNGXE3rw== -"@cosmos-kit/config@0.16.2", "@cosmos-kit/config@^0.16.2": +"@cosmos-kit/config@^0.16.2": version "0.16.2" resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== @@ -2903,7 +2903,16 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.16.2", "@cosmos-kit/core@^0.16.2": +"@cosmos-kit/core@0.17.0", "@cosmos-kit/core@^0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.17.0.tgz#b939161d329ac424d75da598c5a77d1c84ebcefe" + integrity sha512-1pzr8wcM9a6j/YvsISH8NRJzDxSX0p1ujXu/RKdVGSOg13Vot7T+JXTfXPuw9Z/vjEnKaglYYsMpEhqLzXHrLw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": version "0.16.2" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== @@ -2912,6 +2921,25 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" +"@cosmos-kit/keplr@0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.17.0.tgz#12523ae1f745d051e060247d0716f48fbf5e3f58" + integrity sha512-LuY6J727y7BRBJsAU983nIGJ0sdY462/dF311mTMohFdvwPCetwizt51JhPc67szNXgGCqXGIctcR28NfiJwLg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.17.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + "@cosmos-kit/keplr@^0.16.2": version "0.16.2" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" @@ -2932,10 +2960,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.16.3", "@cosmos-kit/react@^0.16.3": - version "0.16.3" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.16.3.tgz#9c8a6694c685a690f7eeb43fc29190062589127f" - integrity sha512-uIZqc1BZQDaUDFUYPpJBqD+8MyC9d2ZpB1S/bi8/fzzQ11FitQtNR/HKHMGnCbzvHQ3irIUKNq1jJEXJXzG1Pw== +"@cosmos-kit/react@0.17.0", "@cosmos-kit/react@^0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.17.0.tgz#8bdf2ce637fa59dcc2adbc9d28dad07424ab3d9a" + integrity sha512-IVGCHP1axhXIWine3q39j6pEhDO0DZP2cYqy/reBDYY2he40tZb/jsjtBdYVLbNhG4VIrYhTrk+sywLGo3cpRg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -6272,7 +6300,15 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@0.14.0, chain-registry@^0.14.0: +chain-registry@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.0.0.tgz#3e1e8796eb6401fa5e43c216d18ffcd569a434f1" + integrity sha512-9yKRyj8qk34v+JZVd4tuUaxCblc+19Tp9bCyWG7c1O4u2wknIbbyeWtMYROkpIMXv5gnEqGy2NO7QJfTMC4ziw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chain-registry@^0.14.0: version "0.14.0" resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz" integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== From e2855ea06341ecea524419d0837bd72dd0050c0b Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Fri, 30 Sep 2022 17:42:59 +0800 Subject: [PATCH 130/262] update templates: eslint + code modification --- .../components/react/chain-card.tsx | 1 + .../components/react/wallet-connect.tsx | 8 +++-- templates/connect-chain/components/wallet.tsx | 32 +++++++++++++++---- templates/connect-chain/config/chain-infos.ts | 19 ----------- templates/connect-chain/package.json | 6 ++-- .../components/react/chain-dropdown.tsx | 14 +++++--- .../components/react/choose-chain.tsx | 2 +- .../components/react/wallet-connect.tsx | 8 +++-- .../connect-multi-chain/components/wallet.tsx | 28 +++++++++++++--- .../connect-multi-chain/config/chain-infos.ts | 19 ----------- templates/connect-multi-chain/config/index.ts | 1 - templates/connect-multi-chain/package.json | 6 ++-- 12 files changed, 78 insertions(+), 66 deletions(-) delete mode 100644 templates/connect-chain/config/chain-infos.ts delete mode 100644 templates/connect-multi-chain/config/chain-infos.ts diff --git a/templates/connect-chain/components/react/chain-card.tsx b/templates/connect-chain/components/react/chain-card.tsx index ed1e631f6..e8d56a0ea 100644 --- a/templates/connect-chain/components/react/chain-card.tsx +++ b/templates/connect-chain/components/react/chain-card.tsx @@ -26,6 +26,7 @@ export const ChainCard = (props: ChainCardProps) => { overflow="hidden" > diff --git a/templates/connect-chain/components/react/wallet-connect.tsx b/templates/connect-chain/components/react/wallet-connect.tsx index 9844d1481..683e92374 100644 --- a/templates/connect-chain/components/react/wallet-connect.tsx +++ b/templates/connect-chain/components/react/wallet-connect.tsx @@ -78,6 +78,8 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( { const walletManager = useWallet(); const { connect, - disconnect, openView, setCurrentChain, walletStatus, username, address, message, - currentChainName, - currentWalletName + currentWalletName, + chains } = walletManager; - const chain = chainInfos.find((c) => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + + const chain = chainOptions.find((c) => c.chainName === chainName); useEffect(() => { setCurrentChain(chainName); - }, [chainName]); + }, [chainName, setCurrentChain]); // Events const onClickConnect: MouseEventHandler = async (e) => { diff --git a/templates/connect-chain/config/chain-infos.ts b/templates/connect-chain/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/templates/connect-chain/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 0d639eeae..e6ab0fbbb 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.17.1", + "@cosmos-kit/keplr": "0.17.1", + "@cosmos-kit/react": "0.17.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/templates/connect-multi-chain/components/react/chain-dropdown.tsx b/templates/connect-multi-chain/components/react/chain-dropdown.tsx index 09d138f62..a7575f18d 100644 --- a/templates/connect-multi-chain/components/react/chain-dropdown.tsx +++ b/templates/connect-multi-chain/components/react/chain-dropdown.tsx @@ -1,3 +1,5 @@ +/* eslint-disable prettier/prettier */ +/* eslint-disable react-hooks/rules-of-hooks */ import React from 'react'; import { Box, @@ -22,7 +24,7 @@ import { PlaceholderProps } from 'chakra-react-select'; import { - DataType, + ChainOption, ChangeChainDropdownType, ChangeChainMenuType } from '../types'; @@ -134,7 +136,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { }; const DropdownIndicator = ({ ...props - }: DropdownIndicatorProps>) => { + }: DropdownIndicatorProps>) => { return ( { ); }; - const Placeholder = (props: PlaceholderProps) => { + const Placeholder = (props: PlaceholderProps) => { if (props.hasValue) { return ( @@ -176,6 +178,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { overflow="hidden" > @@ -192,7 +195,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { const CustomOption = ({ children, ...props - }: OptionProps>) => { + }: OptionProps>) => { return ( { overflow="hidden" > @@ -238,7 +242,7 @@ const SelectOptions = ({ data, value, onChange }: ChangeChainMenuType) => { chakraStyles={customStyles} isClearable={true} isMulti={false} - isOptionDisabled={(option) => option.isDisabled} + isOptionDisabled={(option) => option.isDisabled || false} blurInputOnSelect={true} controlShouldRenderValue={false} loadingMessage={() => } diff --git a/templates/connect-multi-chain/components/react/choose-chain.tsx b/templates/connect-multi-chain/components/react/choose-chain.tsx index 62159b388..e812e2c94 100644 --- a/templates/connect-multi-chain/components/react/choose-chain.tsx +++ b/templates/connect-multi-chain/components/react/choose-chain.tsx @@ -22,7 +22,7 @@ export function ChooseChain({ chainInfos.filter((options) => options.chainName === chainName)[0] ); if (!chainName) setSelectedItem(undefined); - }, [chainName]); + }, [chainInfos, chainName]); return ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( { const walletManager = useWallet(); @@ -42,9 +42,29 @@ export const WalletSection = () => { address, message, currentChainName: chainName, - currentWalletName + currentWalletName, + chains } = walletManager; + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -112,7 +132,7 @@ export const WalletSection = () => { const chooseChain = ( ); diff --git a/templates/connect-multi-chain/config/chain-infos.ts b/templates/connect-multi-chain/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/templates/connect-multi-chain/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/templates/connect-multi-chain/config/index.ts b/templates/connect-multi-chain/config/index.ts index 0addef3f2..e249d6303 100644 --- a/templates/connect-multi-chain/config/index.ts +++ b/templates/connect-multi-chain/config/index.ts @@ -1,3 +1,2 @@ export * from './theme'; export * from './features'; -export * from './chain-infos'; diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e9dc74ada..5a5810f63 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.17.1", + "@cosmos-kit/keplr": "0.17.1", + "@cosmos-kit/react": "0.17.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", From f37b08ed9248443e8a4264e749bae70f48864f05 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Fri, 30 Sep 2022 18:44:39 +0800 Subject: [PATCH 131/262] update examples eslint + code modifications --- .../contracts/components/react/chain-card.tsx | 1 + .../components/react/wallet-connect.tsx | 8 +- examples/contracts/components/wallet.tsx | 32 +- examples/contracts/config/chain-infos.ts | 17 -- examples/contracts/config/theme.ts | 42 +-- examples/juno/components/features.tsx | 36 +-- examples/juno/components/index.tsx | 8 +- .../juno/components/react/address-card.tsx | 40 +-- examples/juno/components/react/astronaut.tsx | 18 +- examples/juno/components/react/chain-card.tsx | 73 ++--- examples/juno/components/react/index.ts | 12 +- examples/juno/components/react/user-card.tsx | 12 +- .../juno/components/react/wallet-connect.tsx | 58 ++-- examples/juno/components/react/warn-block.tsx | 44 +-- examples/juno/components/types.tsx | 14 +- examples/juno/components/wallet.tsx | 276 +++++++++++------- examples/juno/config/chain-infos.ts | 17 -- examples/juno/config/theme.ts | 42 +-- examples/osmosis/components/features.tsx | 36 +-- examples/osmosis/components/index.tsx | 8 +- .../osmosis/components/react/address-card.tsx | 40 +-- .../osmosis/components/react/astronaut.tsx | 18 +- .../osmosis/components/react/chain-card.tsx | 73 ++--- examples/osmosis/components/react/index.ts | 12 +- .../osmosis/components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 58 ++-- .../osmosis/components/react/warn-block.tsx | 44 +-- examples/osmosis/components/types.tsx | 14 +- examples/osmosis/components/wallet.tsx | 276 +++++++++++------- examples/osmosis/config/chain-infos.ts | 17 -- examples/osmosis/config/theme.ts | 42 +-- examples/send-tokens/components/features.tsx | 36 +-- examples/send-tokens/components/index.tsx | 8 +- .../components/react/address-card.tsx | 40 +-- .../components/react/astronaut.tsx | 18 +- .../components/react/chain-card.tsx | 73 ++--- .../send-tokens/components/react/index.ts | 12 +- .../components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 58 ++-- .../components/react/warn-block.tsx | 44 +-- examples/send-tokens/components/types.tsx | 14 +- examples/send-tokens/components/wallet.tsx | 276 +++++++++++------- examples/send-tokens/config/chain-infos.ts | 17 -- examples/send-tokens/config/theme.ts | 42 +-- .../components/react/address-card.tsx | 40 +-- .../stargaze/components/react/astronaut.tsx | 18 +- .../stargaze/components/react/chain-card.tsx | 73 ++--- examples/stargaze/components/react/index.ts | 12 +- .../stargaze/components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 58 ++-- .../stargaze/components/react/warn-block.tsx | 44 +-- examples/stargaze/components/wallet.tsx | 32 +- examples/stargaze/config/chain-infos.ts | 17 -- examples/stargaze/config/theme.ts | 42 +-- .../components/react/chain-card.tsx | 1 + .../tailwindcss/components/react/index.ts | 13 +- .../tailwindcss/components/react/modal.tsx | 223 -------------- .../components/react/views/Connected.tsx | 108 ------- .../components/react/views/Connecting.tsx | 61 ---- .../components/react/views/Error.tsx | 64 ---- .../components/react/views/NotExist.tsx | 65 ----- .../components/react/views/QRCode.tsx | 57 ---- .../components/react/views/WalletList.tsx | 54 ---- .../components/react/views/index.ts | 6 - .../components/react/wallet-connect.tsx | 118 ++++---- examples/tailwindcss/components/wallet.tsx | 91 +++--- examples/tailwindcss/config/chain-infos.ts | 19 -- examples/telescope/components/features.tsx | 36 +-- examples/telescope/components/index.tsx | 8 +- .../components/react/address-card.tsx | 40 +-- .../telescope/components/react/astronaut.tsx | 18 +- .../telescope/components/react/chain-card.tsx | 73 ++--- examples/telescope/components/react/index.ts | 12 +- .../telescope/components/react/user-card.tsx | 12 +- .../components/react/wallet-connect.tsx | 58 ++-- .../telescope/components/react/warn-block.tsx | 44 +-- examples/telescope/components/types.tsx | 14 +- examples/telescope/components/wallet.tsx | 276 +++++++++++------- examples/telescope/config/chain-infos.ts | 17 -- examples/telescope/config/theme.ts | 42 +-- 80 files changed, 1788 insertions(+), 2140 deletions(-) delete mode 100644 examples/contracts/config/chain-infos.ts delete mode 100644 examples/juno/config/chain-infos.ts delete mode 100644 examples/osmosis/config/chain-infos.ts delete mode 100644 examples/send-tokens/config/chain-infos.ts delete mode 100644 examples/stargaze/config/chain-infos.ts delete mode 100644 examples/tailwindcss/components/react/modal.tsx delete mode 100644 examples/tailwindcss/components/react/views/Connected.tsx delete mode 100644 examples/tailwindcss/components/react/views/Connecting.tsx delete mode 100644 examples/tailwindcss/components/react/views/Error.tsx delete mode 100644 examples/tailwindcss/components/react/views/NotExist.tsx delete mode 100644 examples/tailwindcss/components/react/views/QRCode.tsx delete mode 100644 examples/tailwindcss/components/react/views/WalletList.tsx delete mode 100644 examples/tailwindcss/components/react/views/index.ts delete mode 100644 examples/tailwindcss/config/chain-infos.ts delete mode 100644 examples/telescope/config/chain-infos.ts diff --git a/examples/contracts/components/react/chain-card.tsx b/examples/contracts/components/react/chain-card.tsx index ed1e631f6..e8d56a0ea 100644 --- a/examples/contracts/components/react/chain-card.tsx +++ b/examples/contracts/components/react/chain-card.tsx @@ -26,6 +26,7 @@ export const ChainCard = (props: ChainCardProps) => { overflow="hidden" > diff --git a/examples/contracts/components/react/wallet-connect.tsx b/examples/contracts/components/react/wallet-connect.tsx index 9844d1481..683e92374 100644 --- a/examples/contracts/components/react/wallet-connect.tsx +++ b/examples/contracts/components/react/wallet-connect.tsx @@ -78,6 +78,8 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( { const walletManager = useWallet(); const { connect, - disconnect, openView, setCurrentChain, walletStatus, username, address, message, - currentChainName, - currentWalletName + currentWalletName, + chains } = walletManager; - const chain = chainInfos.find((c) => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + + const chain = chainOptions.find((c) => c.chainName === chainName); useEffect(() => { setCurrentChain(chainName); - }, [chainName]); + }, [chainName, setCurrentChain]); // Events const onClickConnect: MouseEventHandler = async (e) => { diff --git a/examples/contracts/config/chain-infos.ts b/examples/contracts/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/contracts/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/contracts/config/theme.ts b/examples/contracts/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/contracts/config/theme.ts +++ b/examples/contracts/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/juno/components/features.tsx b/examples/juno/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/examples/juno/components/features.tsx +++ b/examples/juno/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/examples/juno/components/index.tsx b/examples/juno/components/index.tsx index 3e7078f7c..4d86fd53c 100644 --- a/examples/juno/components/index.tsx +++ b/examples/juno/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; \ No newline at end of file +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/juno/components/react/address-card.tsx b/examples/juno/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/examples/juno/components/react/address-card.tsx +++ b/examples/juno/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/examples/juno/components/react/astronaut.tsx b/examples/juno/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/examples/juno/components/react/astronaut.tsx +++ b/examples/juno/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/juno/components/react/index.ts b/examples/juno/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/examples/juno/components/react/index.ts +++ b/examples/juno/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/juno/components/react/user-card.tsx b/examples/juno/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/examples/juno/components/react/user-card.tsx +++ b/examples/juno/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/examples/juno/components/react/wallet-connect.tsx b/examples/juno/components/react/wallet-connect.tsx index 9b2b2937e..683e92374 100644 --- a/examples/juno/components/react/wallet-connect.tsx +++ b/examples/juno/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -78,14 +78,20 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +172,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/examples/juno/components/react/warn-block.tsx b/examples/juno/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/examples/juno/components/react/warn-block.tsx +++ b/examples/juno/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/examples/juno/components/types.tsx b/examples/juno/components/types.tsx index 866512e75..5f9133656 100644 --- a/examples/juno/components/types.tsx +++ b/examples/juno/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainName: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx index 3a0dd2318..d12be8a6f 100644 --- a/examples/juno/components/wallet.tsx +++ b/examples/juno/components/wallet.tsx @@ -1,117 +1,181 @@ -import { useWallet } from "@cosmos-kit/react"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; -import { MouseEventHandler, useEffect } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; -import { ChainName } from "@cosmos-kit/core"; -import { chainInfos } from "../config/chain-infos"; +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); - const { connect, disconnect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentWalletName, + chains + } = walletManager; - const chain = chainInfos.find(c => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]) + const chain = chainOptions.find((c) => c.chainName === chainName); - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + useEffect(() => { + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const userInfo = } />; - const addressBtn = chainName && ( - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -

- - {chainName && ( - - - - )} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/juno/config/chain-infos.ts b/examples/juno/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/juno/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/juno/config/theme.ts b/examples/juno/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/juno/config/theme.ts +++ b/examples/juno/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/osmosis/components/features.tsx b/examples/osmosis/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/examples/osmosis/components/features.tsx +++ b/examples/osmosis/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/examples/osmosis/components/index.tsx b/examples/osmosis/components/index.tsx index 3e7078f7c..4d86fd53c 100644 --- a/examples/osmosis/components/index.tsx +++ b/examples/osmosis/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; \ No newline at end of file +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/osmosis/components/react/address-card.tsx b/examples/osmosis/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/examples/osmosis/components/react/address-card.tsx +++ b/examples/osmosis/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/examples/osmosis/components/react/astronaut.tsx b/examples/osmosis/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/examples/osmosis/components/react/astronaut.tsx +++ b/examples/osmosis/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/osmosis/components/react/index.ts b/examples/osmosis/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/examples/osmosis/components/react/index.ts +++ b/examples/osmosis/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/osmosis/components/react/user-card.tsx b/examples/osmosis/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/examples/osmosis/components/react/user-card.tsx +++ b/examples/osmosis/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/examples/osmosis/components/react/wallet-connect.tsx b/examples/osmosis/components/react/wallet-connect.tsx index 9b2b2937e..683e92374 100644 --- a/examples/osmosis/components/react/wallet-connect.tsx +++ b/examples/osmosis/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -78,14 +78,20 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +172,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/examples/osmosis/components/react/warn-block.tsx b/examples/osmosis/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/examples/osmosis/components/react/warn-block.tsx +++ b/examples/osmosis/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/examples/osmosis/components/types.tsx b/examples/osmosis/components/types.tsx index 866512e75..5f9133656 100644 --- a/examples/osmosis/components/types.tsx +++ b/examples/osmosis/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainName: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index 3a0dd2318..d12be8a6f 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -1,117 +1,181 @@ -import { useWallet } from "@cosmos-kit/react"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; -import { MouseEventHandler, useEffect } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; -import { ChainName } from "@cosmos-kit/core"; -import { chainInfos } from "../config/chain-infos"; +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); - const { connect, disconnect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentWalletName, + chains + } = walletManager; - const chain = chainInfos.find(c => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]) + const chain = chainOptions.find((c) => c.chainName === chainName); - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + useEffect(() => { + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const userInfo = } />; - const addressBtn = chainName && ( - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -
- - {chainName && ( - - - - )} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/osmosis/config/chain-infos.ts b/examples/osmosis/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/osmosis/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/osmosis/config/theme.ts b/examples/osmosis/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/osmosis/config/theme.ts +++ b/examples/osmosis/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/send-tokens/components/features.tsx b/examples/send-tokens/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/examples/send-tokens/components/features.tsx +++ b/examples/send-tokens/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/examples/send-tokens/components/index.tsx b/examples/send-tokens/components/index.tsx index 3e7078f7c..4d86fd53c 100644 --- a/examples/send-tokens/components/index.tsx +++ b/examples/send-tokens/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; \ No newline at end of file +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/send-tokens/components/react/address-card.tsx b/examples/send-tokens/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/examples/send-tokens/components/react/address-card.tsx +++ b/examples/send-tokens/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/examples/send-tokens/components/react/astronaut.tsx b/examples/send-tokens/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/examples/send-tokens/components/react/astronaut.tsx +++ b/examples/send-tokens/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/send-tokens/components/react/index.ts b/examples/send-tokens/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/examples/send-tokens/components/react/index.ts +++ b/examples/send-tokens/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/send-tokens/components/react/user-card.tsx b/examples/send-tokens/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/examples/send-tokens/components/react/user-card.tsx +++ b/examples/send-tokens/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/examples/send-tokens/components/react/wallet-connect.tsx b/examples/send-tokens/components/react/wallet-connect.tsx index 9b2b2937e..683e92374 100644 --- a/examples/send-tokens/components/react/wallet-connect.tsx +++ b/examples/send-tokens/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -78,14 +78,20 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +172,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/examples/send-tokens/components/react/warn-block.tsx b/examples/send-tokens/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/examples/send-tokens/components/react/warn-block.tsx +++ b/examples/send-tokens/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/examples/send-tokens/components/types.tsx b/examples/send-tokens/components/types.tsx index 866512e75..5f9133656 100644 --- a/examples/send-tokens/components/types.tsx +++ b/examples/send-tokens/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainName: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx index 3a0dd2318..d12be8a6f 100644 --- a/examples/send-tokens/components/wallet.tsx +++ b/examples/send-tokens/components/wallet.tsx @@ -1,117 +1,181 @@ -import { useWallet } from "@cosmos-kit/react"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; -import { MouseEventHandler, useEffect } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; -import { ChainName } from "@cosmos-kit/core"; -import { chainInfos } from "../config/chain-infos"; +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); - const { connect, disconnect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentWalletName, + chains + } = walletManager; - const chain = chainInfos.find(c => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]) + const chain = chainOptions.find((c) => c.chainName === chainName); - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + useEffect(() => { + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const userInfo = } />; - const addressBtn = chainName && ( - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -
- - {chainName && ( - - - - )} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/send-tokens/config/chain-infos.ts b/examples/send-tokens/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/send-tokens/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/send-tokens/config/theme.ts b/examples/send-tokens/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/send-tokens/config/theme.ts +++ b/examples/send-tokens/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/stargaze/components/react/address-card.tsx b/examples/stargaze/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/examples/stargaze/components/react/address-card.tsx +++ b/examples/stargaze/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/examples/stargaze/components/react/astronaut.tsx b/examples/stargaze/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/examples/stargaze/components/react/astronaut.tsx +++ b/examples/stargaze/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/stargaze/components/react/index.ts b/examples/stargaze/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/examples/stargaze/components/react/index.ts +++ b/examples/stargaze/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/stargaze/components/react/user-card.tsx b/examples/stargaze/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/examples/stargaze/components/react/user-card.tsx +++ b/examples/stargaze/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/examples/stargaze/components/react/wallet-connect.tsx b/examples/stargaze/components/react/wallet-connect.tsx index 9b2b2937e..683e92374 100644 --- a/examples/stargaze/components/react/wallet-connect.tsx +++ b/examples/stargaze/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -78,14 +78,20 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +172,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/examples/stargaze/components/react/warn-block.tsx b/examples/stargaze/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/examples/stargaze/components/react/warn-block.tsx +++ b/examples/stargaze/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx index 2848a4b08..d12be8a6f 100644 --- a/examples/stargaze/components/wallet.tsx +++ b/examples/stargaze/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect } from 'react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -29,28 +29,46 @@ import { } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; import { ChainName } from '@cosmos-kit/core'; -import { chainInfos } from '../config/chain-infos'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const walletManager = useWallet(); const { connect, - disconnect, openView, setCurrentChain, walletStatus, username, address, message, - currentChainName, - currentWalletName + currentWalletName, + chains } = walletManager; - const chain = chainInfos.find((c) => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + + const chain = chainOptions.find((c) => c.chainName === chainName); useEffect(() => { setCurrentChain(chainName); - }, [chainName]); + }, [chainName, setCurrentChain]); // Events const onClickConnect: MouseEventHandler = async (e) => { diff --git a/examples/stargaze/config/chain-infos.ts b/examples/stargaze/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/stargaze/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/stargaze/config/theme.ts b/examples/stargaze/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/stargaze/config/theme.ts +++ b/examples/stargaze/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcss/components/react/chain-card.tsx b/examples/tailwindcss/components/react/chain-card.tsx index ed1e631f6..e8d56a0ea 100644 --- a/examples/tailwindcss/components/react/chain-card.tsx +++ b/examples/tailwindcss/components/react/chain-card.tsx @@ -26,6 +26,7 @@ export const ChainCard = (props: ChainCardProps) => { overflow="hidden" > diff --git a/examples/tailwindcss/components/react/index.ts b/examples/tailwindcss/components/react/index.ts index 11004a051..cc035b9c5 100644 --- a/examples/tailwindcss/components/react/index.ts +++ b/examples/tailwindcss/components/react/index.ts @@ -1,7 +1,6 @@ -export * from './astronaut' -export * from './wallet-connect' -export * from './warn-block' -export * from './user-card' -export * from './address-card' -export * from './chain-card' -export * from './modal' +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/tailwindcss/components/react/modal.tsx b/examples/tailwindcss/components/react/modal.tsx deleted file mode 100644 index bb6c06619..000000000 --- a/examples/tailwindcss/components/react/modal.tsx +++ /dev/null @@ -1,223 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import type { WalletModalProps } from '@cosmos-kit/core' -import { WalletStatus } from '@cosmos-kit/core' -import { useWallet } from '@cosmos-kit/react' -import { useCallback, Fragment, useState, useMemo, useEffect } from 'react' -import { Dialog, Transition } from '@headlessui/react' -import { - Connected, - Connecting, - Error, - NotExist, - QRCode, - WalletList, -} from './views' -import { wallets } from '@cosmos-kit/config' -import { useRouter } from 'next/router' -import Bowser from 'bowser' - -export enum ModalView { - WalletList, - QRCode, - Connecting, - Connected, - Error, - NotExist, -} - -export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { - const router = useRouter() - - const [userBrowserInfo, setUserBrowserInfo] = useState<{ - browser: string - device: string | undefined - os: string - }>() - - useEffect(() => { - const parser = Bowser.getParser(window.navigator.userAgent) - setUserBrowserInfo({ - browser: parser.getBrowserName(true), - device: parser.getPlatform().type, - os: parser.getOSName(true), - }) - }, []) - - const { - setCurrentWallet, - connect, - walletStatus, - currentWalletName, - } = useWallet() - - const [currentView, setCurrentView] = useState( - ModalView.WalletList, - ) - - const currentWalletData = useMemo(() => { - return wallets.find((wallet) => wallet.name === currentWalletName) - }, [currentWalletName]) - - useEffect(() => { - if (isOpen) { - switch (walletStatus) { - case WalletStatus.Disconnected: - setCurrentView(ModalView.WalletList) - break - case WalletStatus.Connecting: - setCurrentView(ModalView.Connecting) - break - case WalletStatus.Connected: - setCurrentView(ModalView.Connected) - break - case WalletStatus.Error: - setCurrentView(ModalView.Error) - break - case WalletStatus.Rejected: - setCurrentView(ModalView.Error) - break - case WalletStatus.NotExist: - setCurrentView(ModalView.NotExist) - break - } - } - }, [isOpen, walletStatus, currentWalletName]) - - const onWalletClicked = useCallback( - (name: string) => { - setCurrentWallet(name) - if (wallets.find((wallet) => wallet.name === name)!.isQRCode) { - setCurrentView(ModalView.QRCode) - } - connect() - }, - [setCurrentWallet, connect], - ) - - const onCloseModal = useCallback(() => { - setOpen(false) - }, [setOpen]) - - const _render = useMemo(() => { - switch (currentView) { - case ModalView.WalletList: - return ( - - ) - case ModalView.Connected: - return ( - setCurrentView(ModalView.WalletList)} - name={currentWalletData!.prettyName} - logo={currentWalletData!.logo!} - /> - ) - case ModalView.Connecting: - let subtitle: string - if (currentWalletData!.isQRCode) { - subtitle = `Approve ${ - currentWalletData!.prettyName - } connection request on your mobile.` - } else { - subtitle = `Open the ${ - currentWalletData!.prettyName - } browser extension to connect your wallet.` - } - - return ( - setCurrentView(ModalView.WalletList)} - name={currentWalletData!.prettyName} - logo={currentWalletData!.logo!} - title="Requesting Connection" - subtitle={subtitle} - /> - ) - case ModalView.QRCode: - return ( - setCurrentView(ModalView.WalletList)} - /> - ) - case ModalView.Error: - return ( - setCurrentView(ModalView.WalletList)} - logo={currentWalletData!.logo!} - onReconnect={() => onWalletClicked(currentWalletData!.name)} - /> - ) - case ModalView.NotExist: - type Device = 'desktop' | 'tablet' | 'mobile' - const device = userBrowserInfo?.device as Device - const downloads = currentWalletData!.downloads! - return ( - setCurrentView(ModalView.WalletList)} - onInstall={() => - router.push( - downloads[device]?.find( - ({ browser, os }) => - browser === userBrowserInfo?.browser || - os === userBrowserInfo?.os, - )?.link || (currentWalletData?.downloads?.default as string), - ) - } - logo={currentWalletData!.logo!} - name={currentWalletData!.prettyName} - /> - ) - } - }, [ - currentView, - onCloseModal, - onWalletClicked, - currentWalletData, - router, - userBrowserInfo, - ]) - - return ( - - - -
- - -
-
- - -
{_render}
-
-
-
-
- - - ) -} diff --git a/examples/tailwindcss/components/react/views/Connected.tsx b/examples/tailwindcss/components/react/views/Connected.tsx deleted file mode 100644 index d892c23ad..000000000 --- a/examples/tailwindcss/components/react/views/Connected.tsx +++ /dev/null @@ -1,108 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { - XMarkIcon, - ArrowRightOnRectangleIcon, - ClipboardDocumentIcon, -} from '@heroicons/react/24/outline' -import { ChevronLeftIcon, CheckIcon } from '@heroicons/react/20/solid' -import copyToClipboard from 'copy-to-clipboard' -import { useState } from 'react' - -export function truncate(address: string) { - return `${address.substring(0, 12)}...${address.substring( - address.length - 8, - address.length, - )}` -} - -const Address = ({ children: address }: { children: string }) => { - const [copied, setCopied] = useState(false) - return ( - - ) -} - -export const Connected = ({ - onClose, - onReturn, - name, - logo, -}: { - onClose: () => void - onReturn: () => void - name: string - logo: string -}) => { - const { disconnect, currentWallet } = useWallet() - - return ( -
-
- - - {name} - - -
-
-
-
- {name} -

- {currentWallet!.username} -

-
-
{currentWallet!.address}
- -
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/Connecting.tsx b/examples/tailwindcss/components/react/views/Connecting.tsx deleted file mode 100644 index 20b209566..000000000 --- a/examples/tailwindcss/components/react/views/Connecting.tsx +++ /dev/null @@ -1,61 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' - -export const Connecting = ({ - onClose, - onReturn, - name, - logo, - title, - subtitle, -}: { - onClose: () => void - onReturn: () => void - name: string - logo: string - title: string - subtitle: string -}) => { - const { disconnect } = useWallet() - - return ( -
-
- - - {name} - - -
-
- {name} -

{title}

-

{subtitle}

-
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/Error.tsx b/examples/tailwindcss/components/react/views/Error.tsx deleted file mode 100644 index 780f11ddf..000000000 --- a/examples/tailwindcss/components/react/views/Error.tsx +++ /dev/null @@ -1,64 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon, ArrowPathIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' - -export const Error = ({ - onClose, - onReturn, - onReconnect, - logo, -}: { - onClose: () => void - onReturn: () => void - onReconnect: () => void - logo: string -}) => { - return ( -
-
- - - Error - - -
-
-
- Wallet type logo -
-

An error has occured

-

Lorem ipsum dolor sit amet

- -
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/NotExist.tsx b/examples/tailwindcss/components/react/views/NotExist.tsx deleted file mode 100644 index 3f441e1d0..000000000 --- a/examples/tailwindcss/components/react/views/NotExist.tsx +++ /dev/null @@ -1,65 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { Dialog } from '@headlessui/react' -import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' - -export const NotExist = ({ - onClose, - onReturn, - onInstall, - logo, - name, -}: { - onClose: () => void - onReturn: () => void - onInstall: () => void - logo: string - name: string -}) => { - return ( -
-
- - - {name} - - -
-
- {name} -

Install {name}

-

- To connect your {name} wallet, install the browser extension. -

- -
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/QRCode.tsx b/examples/tailwindcss/components/react/views/QRCode.tsx deleted file mode 100644 index 33020b98c..000000000 --- a/examples/tailwindcss/components/react/views/QRCode.tsx +++ /dev/null @@ -1,57 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' -import { QRCodeSVG } from 'qrcode.react' - -export const QRCode = ({ - onClose, - onReturn, -}: { - onClose: () => void - onReturn: () => void -}) => { - const { currentWallet } = useWallet() - - return ( -
-
- - - Keplr Mobile - - -
-
-
- -
-
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/WalletList.tsx b/examples/tailwindcss/components/react/views/WalletList.tsx deleted file mode 100644 index 134bfbb60..000000000 --- a/examples/tailwindcss/components/react/views/WalletList.tsx +++ /dev/null @@ -1,54 +0,0 @@ -/* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronRightIcon } from '@heroicons/react/20/solid' - -export const WalletList = ({ - onClose, - onWalletClicked, -}: { - onClose: () => void - onWalletClicked: (name: string) => void -}) => { - const { wallets } = useWallet() - - return ( -
-
- - Select a Wallet - - -
-
- {wallets.map(({ name, prettyName, logo }) => ( - - ))} -
-
- ) -} diff --git a/examples/tailwindcss/components/react/views/index.ts b/examples/tailwindcss/components/react/views/index.ts deleted file mode 100644 index fc1535474..000000000 --- a/examples/tailwindcss/components/react/views/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './WalletList' -export * from './Connected' -export * from './Connecting' -export * from './QRCode' -export * from './Error' -export * from './NotExist' diff --git a/examples/tailwindcss/components/react/wallet-connect.tsx b/examples/tailwindcss/components/react/wallet-connect.tsx index 3992bbb9c..683e92374 100644 --- a/examples/tailwindcss/components/react/wallet-connect.tsx +++ b/examples/tailwindcss/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from 'react' -import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react' -import { IoWallet } from 'react-icons/io5' -import { ConnectWalletType } from '../types' -import { FiAlertTriangle } from 'react-icons/fi' -import { WalletStatus } from '@cosmos-kit/core' +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( - ) -} + ); +}; export const Disconnected = ({ buttonText, - onClick, + onClick }: { - buttonText: string - onClick: MouseEventHandler + buttonText: string; + onClick: MouseEventHandler; }) => { return ( - ) -} + ); +}; export const Connected = ({ buttonText, - onClick, + onClick }: { - buttonText: string - onClick: MouseEventHandler + buttonText: string; + onClick: MouseEventHandler; }) => { return ( - ) -} + ); +}; export const Connecting = () => { - return -} + return ; +}; export const Rejected = ({ buttonText, wordOfWarning, - onClick, + onClick }: { - buttonText: string - wordOfWarning?: string - onClick: MouseEventHandler + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; }) => { - const bg = useColorModeValue('orange.200', 'orange.300') + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( )} - ) -} + ); +}; export const Error = ({ buttonText, wordOfWarning, - onClick, + onClick }: { - buttonText: string - wordOfWarning?: string - onClick: MouseEventHandler + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; }) => { - const bg = useColorModeValue('orange.200', 'orange.300') + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( )} - ) -} + ); +}; export const NotExist = ({ buttonText, - onClick, + onClick }: { - buttonText: string - onClick: MouseEventHandler + buttonText: string; + onClick: MouseEventHandler; }) => { return ( - ) -} + ); +}; export const WalletConnectComponent = ({ walletStatus, @@ -170,30 +172,30 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { - walletStatus: WalletStatus - disconnect: ReactNode - connecting: ReactNode - connected: ReactNode - rejected: ReactNode - error: ReactNode - notExist: ReactNode + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; }) => { switch (walletStatus) { case WalletStatus.Disconnected: - return <>{disconnect} + return <>{disconnect}; case WalletStatus.Connecting: - return <>{connecting} + return <>{connecting}; case WalletStatus.Connected: - return <>{connected} + return <>{connected}; case WalletStatus.Rejected: - return <>{rejected} + return <>{rejected}; case WalletStatus.Error: - return <>{error} + return <>{error}; case WalletStatus.NotExist: - return <>{notExist} + return <>{notExist}; default: - return <>{disconnect} + return <>{disconnect}; } -} +}; diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 451a74ae0..d12be8a6f 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -1,4 +1,4 @@ -import { useWallet } from '@cosmos-kit/react' +import { useWallet } from '@cosmos-kit/react'; import { Box, Center, @@ -7,10 +7,10 @@ import { Icon, Stack, useColorModeValue, - Text, -} from '@chakra-ui/react' -import { MouseEventHandler, useEffect } from 'react' -import { FiAlertTriangle } from 'react-icons/fi' + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, Error, @@ -25,46 +25,64 @@ import { Rejected, RejectedWarn, WalletConnectComponent, - ChainCard, -} from '../components' -import { getWalletPrettyName } from '@cosmos-kit/config' -import { ChainName } from '@cosmos-kit/core' -import { chainInfos } from '../config/chain-infos' + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet() + const walletManager = useWallet(); const { connect, - disconnect, openView, setCurrentChain, walletStatus, username, address, message, - currentChainName, currentWalletName, - } = walletManager + chains + } = walletManager; - const chain = chainInfos.find((c) => c.chainName === chainName) + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + + const chain = chainOptions.find((c) => c.chainName === chainName); useEffect(() => { - setCurrentChain(chainName) - }, [chainName, setCurrentChain]) + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); // Events const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault() - openView() + e.preventDefault(); + openView(); if (currentWalletName) { - await connect() + await connect(); } - } + }; const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault() - openView() - } + e.preventDefault(); + openView(); + }; // Components const connectWalletButton = ( @@ -83,7 +101,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } /> - ) + ); const connectWalletWarn = ( { } wordOfWarning={`${getWalletPrettyName( - currentWalletName, + currentWalletName )}: ${message}`} /> } @@ -100,27 +118,22 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } wordOfWarning={`${getWalletPrettyName( - currentWalletName, + currentWalletName )}: ${message}`} /> } /> - ) + ); const userInfo = ( -
- } - /> - ) + } /> + ); const addressBtn = chainName && ( } /> - ) + ); return (
@@ -148,7 +161,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { bg={useColorModeValue('white', 'blackAlpha.400')} boxShadow={useColorModeValue( '0 0 2px #dfdfdf, 0 0 6px -2px #d3d3d3', - '0 0 2px #363636, 0 0 8px -2px #4f4f4f', + '0 0 2px #363636, 0 0 8px -2px #4f4f4f' )} spacing={4} px={4} @@ -164,5 +177,5 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => {
- ) -} + ); +}; diff --git a/examples/tailwindcss/config/chain-infos.ts b/examples/tailwindcss/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/examples/tailwindcss/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/examples/telescope/components/features.tsx b/examples/telescope/components/features.tsx index 19a4a1648..c4e9cea55 100644 --- a/examples/telescope/components/features.tsx +++ b/examples/telescope/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from "@chakra-ui/icons"; +import { LinkIcon } from '@chakra-ui/icons'; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue, -} from "@chakra-ui/react"; -import { FeatureProps } from "./types"; + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' )} _hover={{ - color: useColorModeValue("purple.600", "purple.300"), + color: useColorModeValue('purple.600', 'purple.300'), boxShadow: useColorModeValue( - "0 2px 5px #bca5e9", - "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" - ), + '0 2px 5px #bca5e9', + '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' + ) }} > {title} → @@ -41,7 +41,7 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius="md" border="1px solid" - borderColor={useColorModeValue("blackAlpha.200", "whiteAlpha.100")} + borderColor={useColorModeValue('blackAlpha.200', 'whiteAlpha.100')} _hover={{ boxShadow: useColorModeValue( - "0 2px 5px #ccc", - "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" - ), + '0 2px 5px #ccc', + '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + ) }} > - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => { {text} diff --git a/examples/telescope/components/index.tsx b/examples/telescope/components/index.tsx index 3e7078f7c..4d86fd53c 100644 --- a/examples/telescope/components/index.tsx +++ b/examples/telescope/components/index.tsx @@ -1,4 +1,4 @@ -export * from "./types"; -export * from "./react"; -export * from "./features"; -export * from "./wallet"; \ No newline at end of file +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/telescope/components/react/address-card.tsx b/examples/telescope/components/react/address-card.tsx index 711ff7167..96ff2cd27 100644 --- a/examples/telescope/components/react/address-card.tsx +++ b/examples/telescope/components/react/address-card.tsx @@ -1,28 +1,28 @@ -import React, { ReactNode } from "react"; +import React, { ReactNode } from 'react'; import { Text, useColorModeValue, Button, Icon, - useClipboard, -} from "@chakra-ui/react"; -import { FaRegCopy } from "react-icons/fa"; -import { WalletStatus } from "@cosmos-kit/core"; + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectedShowAddress = ({ address, - isLoading, + isLoading }: { address?: string; isLoading: boolean; }) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ""); + const { hasCopied, onCopy } = useClipboard(address ? address : ''); return ( ); @@ -64,7 +64,7 @@ export const ConnectedShowAddress = ({ export const CopyAddressBtn = ({ walletStatus, - connected, + connected }: { walletStatus: WalletStatus; connected: ReactNode; diff --git a/examples/telescope/components/react/astronaut.tsx b/examples/telescope/components/react/astronaut.tsx index 382d8cc6e..572884aa7 100644 --- a/examples/telescope/components/react/astronaut.tsx +++ b/examples/telescope/components/react/astronaut.tsx @@ -1,9 +1,9 @@ export const Astronaut = (props: any) => ( - {"cosmology-astronaut"} + {'cosmology-astronaut'} @@ -64,7 +64,7 @@ export const Astronaut = (props: any) => ( @@ -72,20 +72,20 @@ export const Astronaut = (props: any) => ( @@ -191,14 +191,14 @@ export const Astronaut = (props: any) => ( @@ -209,7 +209,7 @@ export const Astronaut = (props: any) => ( { - return ( - - - - - - {props.prettyName} - - - ) -} \ No newline at end of file + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/telescope/components/react/index.ts b/examples/telescope/components/react/index.ts index 5e5de5d06..cc035b9c5 100644 --- a/examples/telescope/components/react/index.ts +++ b/examples/telescope/components/react/index.ts @@ -1,6 +1,6 @@ -export * from "./astronaut"; -export * from "./wallet-connect"; -export * from "./warn-block"; -export * from "./user-card"; -export * from "./address-card"; -export * from "./chain-card"; \ No newline at end of file +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/telescope/components/react/user-card.tsx b/examples/telescope/components/react/user-card.tsx index badc9c5b8..13c8bd75a 100644 --- a/examples/telescope/components/react/user-card.tsx +++ b/examples/telescope/components/react/user-card.tsx @@ -1,17 +1,17 @@ -import React from "react"; -import { Text, Stack, Box } from "@chakra-ui/react"; -import { ConnectedUserCardType } from "../types"; +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; export const ConnectedUserInfo = ({ username, - icon, + icon }: ConnectedUserCardType) => { return ( {username && ( <> {icon} - + {username} diff --git a/examples/telescope/components/react/wallet-connect.tsx b/examples/telescope/components/react/wallet-connect.tsx index 9b2b2937e..683e92374 100644 --- a/examples/telescope/components/react/wallet-connect.tsx +++ b/examples/telescope/components/react/wallet-connect.tsx @@ -1,16 +1,16 @@ -import React, { MouseEventHandler, ReactNode } from "react"; -import { Button, Icon, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { IoWallet } from "react-icons/io5"; -import { ConnectWalletType } from "../types"; -import { FiAlertTriangle } from "react-icons/fi"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; export const ConnectWalletButton = ({ buttonText, isLoading, isDisabled, icon, - onClickConnectBtn, + onClickConnectBtn }: ConnectWalletType) => { return ( ); }; export const Disconnected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -55,7 +55,7 @@ export const Disconnected = ({ export const Connected = ({ buttonText, - onClick, + onClick }: { buttonText: string; onClick: MouseEventHandler; @@ -78,14 +78,20 @@ export const Rejected = ({ wordOfWarning?: string; onClick: MouseEventHandler; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + return ( - + {wordOfWarning && ( ; }) => { - return ; + return ( + + ); }; export const WalletConnectComponent = ({ @@ -154,7 +172,7 @@ export const WalletConnectComponent = ({ connected, rejected, error, - notExist, + notExist }: { walletStatus: WalletStatus; disconnect: ReactNode; diff --git a/examples/telescope/components/react/warn-block.tsx b/examples/telescope/components/react/warn-block.tsx index ce056e879..6a03adb03 100644 --- a/examples/telescope/components/react/warn-block.tsx +++ b/examples/telescope/components/react/warn-block.tsx @@ -1,10 +1,10 @@ -import React, { ReactNode } from "react"; -import { Box, Stack, Text, useColorModeValue } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; export const WarnBlock = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -14,7 +14,7 @@ export const WarnBlock = ({ borderRadius="md" p={4} pr={2} - bg={useColorModeValue("orange.200", "orange.300")} + bg={useColorModeValue('orange.200', 'orange.300')} color="blackAlpha.900" > @@ -62,7 +62,7 @@ export const WarnBlock = ({ export const RejectedWarn = ({ wordOfWarning, - icon, + icon }: { wordOfWarning?: string; icon?: ReactNode; @@ -73,7 +73,7 @@ export const RejectedWarn = ({ export const ConnectStatusWarn = ({ walletStatus, rejected, - error, + error }: { walletStatus: WalletStatus; rejected: ReactNode; diff --git a/examples/telescope/components/types.tsx b/examples/telescope/components/types.tsx index 866512e75..5f9133656 100644 --- a/examples/telescope/components/types.tsx +++ b/examples/telescope/components/types.tsx @@ -1,5 +1,5 @@ -import { MouseEventHandler, ReactNode } from "react"; -import { IconType } from "react-icons"; +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; export interface ChooseChainInfo { chainName: string; @@ -11,11 +11,11 @@ export interface ChooseChainInfo { } export enum WalletStatus { - NotInit = "NotInit", - Loading = "Loading", - Loaded = "Loaded", - NotExist = "NotExist", - Rejected = "Rejected", + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' } export interface ConnectWalletType { diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index 3a0dd2318..d12be8a6f 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -1,117 +1,181 @@ -import { useWallet } from "@cosmos-kit/react"; -import { Box, Center, Grid, GridItem, Icon, Stack, useColorModeValue, Text } from "@chakra-ui/react"; -import { MouseEventHandler, useEffect } from "react"; -import { FiAlertTriangle } from "react-icons/fi"; -import { Astronaut, Error, Connected, ConnectedShowAddress, ConnectedUserInfo, Connecting, ConnectStatusWarn, CopyAddressBtn, Disconnected, NotExist, Rejected, RejectedWarn, WalletConnectComponent, ChainCard } from "../components"; -import { getWalletPrettyName } from "@cosmos-kit/config"; -import { ChainName } from "@cosmos-kit/core"; -import { chainInfos } from "../config/chain-infos"; +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); - const { connect, disconnect, openView, setCurrentChain, - walletStatus, username, address, message, - currentChainName, currentWalletName } = walletManager; + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentWalletName, + chains + } = walletManager; - const chain = chainInfos.find(c => c.chainName === chainName); + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]) + const chain = chainOptions.find((c) => c.chainName === chainName); - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } - }; + useEffect(() => { + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; - // Components - const connectWalletButton = ( - } - connecting={} - connected={} - rejected={} - error={} - notExist={} - /> - ); + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName(currentWalletName)}: ${message}`} - /> - } - /> - ); + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const userInfo = } />; - const addressBtn = chainName && ( - } + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} /> - ); + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); - return ( -
- - {chainName && ( - - - - )} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -} \ No newline at end of file + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/telescope/config/chain-infos.ts b/examples/telescope/config/chain-infos.ts deleted file mode 100644 index feded1c45..000000000 --- a/examples/telescope/config/chain-infos.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ChooseChainInfo } from "../components"; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter(chain => chain.network_type !== 'testnet') - .map(chain => { - const assets = chainAssets.find( - _chain => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - } - }); \ No newline at end of file diff --git a/examples/telescope/config/theme.ts b/examples/telescope/config/theme.ts index 12bb0f21c..aa5614194 100644 --- a/examples/telescope/config/theme.ts +++ b/examples/telescope/config/theme.ts @@ -1,34 +1,34 @@ -import { extendTheme } from "@chakra-ui/react"; +import { extendTheme } from '@chakra-ui/react'; export const defaultThemeObject = { fonts: { - body: "Inter, system-ui, sans-serif", - heading: "Work Sans, system-ui, sans-serif", + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' }, colors: { primary: { - "50": "#e5e7f9", - "100": "#bec4ef", - "200": "#929ce4", - "300": "#6674d9", - "400": "#4657d1", - "500": "#2539c9", - "600": "#2133c3", - "700": "#1b2cbc", - "800": "#1624b5", - "900": "#0d17a9", - }, + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } }, breakPoints: { - sm: "30em", - md: "48em", - lg: "62em", - xl: "80em", - "2xl": "96em", + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' }, shadows: { - largeSoft: "rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;", - }, + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } }; export const defaultTheme = extendTheme(defaultThemeObject); From 0a32ff2fbae7bb0a6fda8087589562c3bfc46d7c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 30 Sep 2022 11:49:40 -0500 Subject: [PATCH 132/262] lock --- yarn.lock | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/yarn.lock b/yarn.lock index 6420460fd..b6618c647 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2912,6 +2912,15 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" +"@cosmos-kit/core@0.17.1", "@cosmos-kit/core@^0.17.1": + version "0.17.1" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.17.1.tgz#80a7865b7199064e7b0553d0a402e57744d9136f" + integrity sha512-SAAKp2NEW75V8+GFyzAk0ScAfzCCNC2DXVyq80myH+szf4ZOxVGi9z+Ji1gdl1nAMje2joUKAajrbOD6fxdhVw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + "@cosmos-kit/core@^0.16.2": version "0.16.2" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" @@ -2940,6 +2949,25 @@ react-dom "18.2.0" react-icons "^4.4.0" +"@cosmos-kit/keplr@0.17.1": + version "0.17.1" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.17.1.tgz#f9aa89b64b008b696401aefb4a067a353ad2bbf6" + integrity sha512-TT6HeA5w4/p7QHZkhXkb2htVUnIHCXJMov56NYIc5tngz9vC9b0s9wAzIbD2g+lI9UWkejZ0e6TQ5Vjd1G/QVA== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.17.1" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + "@cosmos-kit/keplr@^0.16.2": version "0.16.2" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" @@ -2975,6 +3003,21 @@ qrcode.react "^3.1.0" react-icons "^4.4.0" +"@cosmos-kit/react@0.17.1": + version "0.17.1" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.17.1.tgz#b3398d5721ed174cd18085ea3557d43def5d7d7b" + integrity sha512-/TTa11HQmcupwkh6tOG+MNmne90b04+TYVTdqXRQpbQ9sr7EKwF3fKLoXR6whGvN0J45IHvlhINNr6PMaCXObA== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + "@cosmos-kit/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" From 1361ef13564101f91755495a1e21940b8c16678d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 30 Sep 2022 18:45:17 -0500 Subject: [PATCH 133/262] cosmos-kit suggestChain update --- examples/contracts/package.json | 2 +- examples/contracts/pages/_app.tsx | 3 +- examples/juno/package.json | 6 +- examples/juno/pages/_app.tsx | 3 +- examples/osmosis/package.json | 8 +- examples/osmosis/pages/_app.tsx | 3 +- examples/osmosis/pages/index.tsx | 3 +- examples/send-tokens/package.json | 6 +- examples/send-tokens/pages/_app.tsx | 3 +- examples/stargaze/package.json | 6 +- examples/stargaze/pages/_app.tsx | 3 +- examples/tailwindcss/package.json | 6 +- examples/telescope/package.json | 2 +- examples/telescope/pages/_app.tsx | 3 +- templates/connect-chain/package.json | 6 +- templates/connect-chain/pages/_app.tsx | 3 +- templates/connect-multi-chain/package.json | 6 +- templates/connect-multi-chain/pages/_app.tsx | 3 +- yarn.lock | 89 +++++++------------- 19 files changed, 71 insertions(+), 93 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index f26534190..74eaba95b 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -16,7 +16,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.17.0", + "@cosmos-kit/react": "^0.18.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index 8733eb707..cda639c11 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; import { SignerOptions } from '@cosmos-kit/core'; @@ -38,6 +38,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/examples/juno/package.json b/examples/juno/package.json index 30a55f632..6fb5843cf 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx index d456cc2e2..43cd175a7 100644 --- a/examples/juno/pages/_app.tsx +++ b/examples/juno/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'juno-network'; import { GasPrice } from '@cosmjs/stargate'; @@ -30,6 +30,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index fe7f251c7..b03ecf5e1 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -14,16 +14,16 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.23.0", + "osmojs": "0.24.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index 0b84960b4..a6be04ef8 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'osmojs'; import { GasPrice } from '@cosmjs/stargate'; @@ -30,6 +30,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx index ce006e2c6..221448140 100644 --- a/examples/osmosis/pages/index.tsx +++ b/examples/osmosis/pages/index.tsx @@ -35,7 +35,8 @@ const library = { href: 'https://github.com/osmosis-labs/osmojs' }; -const chainName = 'osmosis'; +// const chainName = 'osmosis'; +const chainName = 'osmosistestnet'; const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName ) as AssetList; diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4e4c86b71..31abb8305 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx index e4bbb1a2d..4fa34a364 100644 --- a/examples/send-tokens/pages/_app.tsx +++ b/examples/send-tokens/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'interchain'; import { SignerOptions } from '@cosmos-kit/core'; @@ -21,6 +21,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index df861d8e6..b3994c463 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx index 6389f3fd2..3bc6928f7 100644 --- a/examples/stargaze/pages/_app.tsx +++ b/examples/stargaze/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'stargaze-zone'; import { GasPrice } from '@cosmjs/stargate'; @@ -30,6 +30,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index d8f927b63..ebb166bbc 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/keplr": "0.17.0", - "@cosmos-kit/core": "0.17.0", - "@cosmos-kit/react": "0.17.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index c78d379d9..9801f3841 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.17.0", + "@cosmos-kit/react": "^0.18.0", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 8733eb707..cda639c11 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -4,7 +4,7 @@ import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; -import { chains } from 'chain-registry'; +import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; import { SignerOptions } from '@cosmos-kit/core'; @@ -38,6 +38,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index e6ab0fbbb..14043fe0b 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.17.1", - "@cosmos-kit/keplr": "0.17.1", - "@cosmos-kit/react": "0.17.1", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index 8ec97cbaf..f7ee2a0e5 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -6,7 +6,7 @@ import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { SignerOptions } from '@cosmos-kit/core'; -import { chains } from 'chain-registry'; +import { chains, assets } from 'chain-registry'; function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { @@ -19,6 +19,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 5a5810f63..c4f896016 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.17.1", - "@cosmos-kit/keplr": "0.17.1", - "@cosmos-kit/react": "0.17.1", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/templates/connect-multi-chain/pages/_app.tsx b/templates/connect-multi-chain/pages/_app.tsx index 381c5408e..c887f3ba7 100644 --- a/templates/connect-multi-chain/pages/_app.tsx +++ b/templates/connect-multi-chain/pages/_app.tsx @@ -5,7 +5,7 @@ import { ChakraProvider } from '@chakra-ui/react'; import { defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { SignerOptions } from '@cosmos-kit/core'; -import { chains } from 'chain-registry'; +import { chains, assets } from 'chain-registry'; function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { @@ -18,6 +18,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { diff --git a/yarn.lock b/yarn.lock index b6618c647..6bbe2dd72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1326,6 +1326,17 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + "@chain-registry/types@0.11.0", "@chain-registry/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" @@ -2903,19 +2914,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.17.0", "@cosmos-kit/core@^0.17.0": - version "0.17.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.17.0.tgz#b939161d329ac424d75da598c5a77d1c84ebcefe" - integrity sha512-1pzr8wcM9a6j/YvsISH8NRJzDxSX0p1ujXu/RKdVGSOg13Vot7T+JXTfXPuw9Z/vjEnKaglYYsMpEhqLzXHrLw== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.11.0" - chain-registry "^0.14.0" - -"@cosmos-kit/core@0.17.1", "@cosmos-kit/core@^0.17.1": - version "0.17.1" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.17.1.tgz#80a7865b7199064e7b0553d0a402e57744d9136f" - integrity sha512-SAAKp2NEW75V8+GFyzAk0ScAfzCCNC2DXVyq80myH+szf4ZOxVGi9z+Ji1gdl1nAMje2joUKAajrbOD6fxdhVw== +"@cosmos-kit/core@0.18.0", "@cosmos-kit/core@^0.18.0": + version "0.18.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.18.0.tgz#c7da8c31793a130691a2401f292cef4121d34001" + integrity sha512-zJdA+BTiuLea2oe1TiwOZ8hH9v95EmDK6ZGm+oyPOIoEvtpH84kN8B2RNjwR0vhjFoB5VrnmDVuGwkK1WS8mbw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -2930,34 +2932,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.17.0": - version "0.17.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.17.0.tgz#12523ae1f745d051e060247d0716f48fbf5e3f58" - integrity sha512-LuY6J727y7BRBJsAU983nIGJ0sdY462/dF311mTMohFdvwPCetwizt51JhPc67szNXgGCqXGIctcR28NfiJwLg== +"@cosmos-kit/keplr@0.18.0": + version "0.18.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.18.0.tgz#176315f84626e69cd76d621e3099e152eb4c5930" + integrity sha512-ko8+lcF07hExKwhbIvVAPc0vcl5R4Bi0CmOs2WQZjoKkgApBYH987dXRjYEBQFBy6NbaKOiBFNTksDMFC/QVWA== dependencies: "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.17.0" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.11.3" - "@keplr-wallet/wc-client" "^0.11.3" - "@walletconnect/client" "1.8.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - -"@cosmos-kit/keplr@0.17.1": - version "0.17.1" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.17.1.tgz#f9aa89b64b008b696401aefb4a067a353ad2bbf6" - integrity sha512-TT6HeA5w4/p7QHZkhXkb2htVUnIHCXJMov56NYIc5tngz9vC9b0s9wAzIbD2g+lI9UWkejZ0e6TQ5Vjd1G/QVA== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.11.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.17.1" + "@cosmos-kit/core" "^0.18.0" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2988,25 +2972,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.17.0", "@cosmos-kit/react@^0.17.0": - version "0.17.0" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.17.0.tgz#8bdf2ce637fa59dcc2adbc9d28dad07424ab3d9a" - integrity sha512-IVGCHP1axhXIWine3q39j6pEhDO0DZP2cYqy/reBDYY2he40tZb/jsjtBdYVLbNhG4VIrYhTrk+sywLGo3cpRg== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.11.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/config" "^0.16.2" - "@emotion/react" "^11" - "@emotion/styled" "^11" - bowser "2.11.0" - qrcode.react "^3.1.0" - react-icons "^4.4.0" - -"@cosmos-kit/react@0.17.1": - version "0.17.1" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.17.1.tgz#b3398d5721ed174cd18085ea3557d43def5d7d7b" - integrity sha512-/TTa11HQmcupwkh6tOG+MNmne90b04+TYVTdqXRQpbQ9sr7EKwF3fKLoXR6whGvN0J45IHvlhINNr6PMaCXObA== +"@cosmos-kit/react@0.18.0", "@cosmos-kit/react@^0.18.0": + version "0.18.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.0.tgz#05ef43f6f179d624562aa2f3d88de7c6bcfda041" + integrity sha512-rqVHYsm4dLfnGV3/Dy0qm3EKed7cWw0CFrICVgjvpKUrY27/0dPpS2dydri2VQ36Odm+rJ/bOdRi3tElLYoQFw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -10426,10 +10395,10 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.23.0: - version "0.23.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.23.0.tgz#5fcb485146a9aa0cf10feeb6a0eb4a49dc205bac" - integrity sha512-n/8DImpZOEmeON9WzuqZgVP/sYvpn5xufFnKKC3xYxFmqvfeOmxjHeDFmKhb/J4VHQuaGxDclo7bVRiGxg3xGw== +osmojs@0.24.0: + version "0.24.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.24.0.tgz#dae86771034c036076a796d2758399e6a4f99f29" + integrity sha512-wzbVLKwP6kCUdGjote1/Zf15wBI6w+NB0dwVHuuwQXFbZ/Sl7Mcd2LetfS26bAlkJyEPkOc1ww6ju848APcnzA== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" From 91154c228209471d4f989d4372a7e410e0493087 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 30 Sep 2022 18:45:24 -0500 Subject: [PATCH 134/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0 - @cosmonauts/juno@0.8.0 - @cosmonauts/osmosis@0.8.0 - @cosmonauts/send-tokens@0.7.0 - @cosmonauts/stargaze@0.8.0 - @cosmonauts/tailwindcss@0.7.0 - @cosmonauts/connect-chain-with-telescope@0.6.0 - @cosmonauts/connect-chain@0.7.0 - @cosmonauts/connect-multi-chain@0.7.0 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 18 files changed, 81 insertions(+), 9 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index 78657b171..a16e99209 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1...@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.0...@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 74eaba95b..a8e0716d2 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index afe983a68..688b33ecc 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.7.1...@cosmonauts/juno@0.8.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.7.0...@cosmonauts/juno@0.7.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 6fb5843cf..3062e25a8 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "0.7.1", + "version": "0.8.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 40177a01f..c546da1fc 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.1...@cosmonauts/osmosis@0.8.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.0...@cosmonauts/osmosis@0.7.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index b03ecf5e1..8a3d5ae28 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "0.7.1", + "version": "0.8.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 0651e3462..3e0eb037f 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.6.1...@cosmonauts/send-tokens@0.7.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + ## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.6.0...@cosmonauts/send-tokens@0.6.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 31abb8305..c863294ed 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "0.6.1", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 9ca48abf0..d8e6277d1 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.7.1...@cosmonauts/stargaze@0.8.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.7.0...@cosmonauts/stargaze@0.7.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index b3994c463..d2faad3e2 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "0.7.1", + "version": "0.8.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index 2ea0f340b..4bbacdf53 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@0.6.2...@cosmonauts/tailwindcss@0.7.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + ## 0.6.2 (2022-09-30) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index ebb166bbc..5fbbd6a72 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "0.6.2", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 4145acd92..07ea53c0c 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.5.1...@cosmonauts/connect-chain-with-telescope@0.6.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.5.0...@cosmonauts/connect-chain-with-telescope@0.5.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 9801f3841..b5f579658 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.5.1", + "version": "0.6.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 013d8e4e5..75e037688 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.1...@cosmonauts/connect-chain@0.7.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.0...@cosmonauts/connect-chain@0.6.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 14043fe0b..7359e5723 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.6.1", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 0f9748d4b..706f4c4d8 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.6.1...@cosmonauts/connect-multi-chain@0.7.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.6.0...@cosmonauts/connect-multi-chain@0.6.1) (2022-09-25) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index c4f896016..2f4f24498 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.6.1", + "version": "0.7.0", "private": true, "scripts": { "dev": "next dev", From d31ae01dbff1b8cf73fb391bfddcf8c3370f33c6 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 30 Sep 2022 19:31:57 -0500 Subject: [PATCH 135/262] osmosis cosmwasm example --- examples/contracts/pages/_app.tsx | 1 + examples/osmosis-cosmwasm/.eslintrc.json | 3 + examples/osmosis-cosmwasm/.gitignore | 36 + examples/osmosis-cosmwasm/CHANGELOG.md | 152 ++ examples/osmosis-cosmwasm/README.md | 76 + .../codegen/HackCw20.client.ts | 690 +++++++++ .../codegen/HackCw20.types.ts | 198 +++ .../codegen/HackCw20QueryClient.client.ts | 456 ++++++ .../codegen/HackCw20QueryClient.types.ts | 198 +++ examples/osmosis-cosmwasm/codegen/index.ts | 13 + .../osmosis-cosmwasm/components/features.tsx | 79 + .../osmosis-cosmwasm/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 + .../components/react/astronaut.tsx | 304 ++++ .../components/react/chain-card.tsx | 39 + .../components/react/index.ts | 6 + .../components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 201 +++ .../components/react/warn-block.tsx | 90 ++ .../osmosis-cosmwasm/components/types.tsx | 44 + .../osmosis-cosmwasm/components/wallet.tsx | 181 +++ examples/osmosis-cosmwasm/config/features.ts | 47 + examples/osmosis-cosmwasm/config/index.ts | 2 + examples/osmosis-cosmwasm/config/theme.ts | 34 + examples/osmosis-cosmwasm/next.config.js | 7 + examples/osmosis-cosmwasm/package.json | 41 + examples/osmosis-cosmwasm/pages/_app.tsx | 44 + examples/osmosis-cosmwasm/pages/index.tsx | 199 +++ examples/osmosis-cosmwasm/public/favicon.ico | Bin 0 -> 14037 bytes .../schemas/cw20-base/cw20-base.json | 1375 +++++++++++++++++ examples/osmosis-cosmwasm/scripts/codegen.js | 36 + .../osmosis-cosmwasm/styles/Home.module.css | 25 + examples/osmosis-cosmwasm/styles/globals.css | 26 + examples/osmosis-cosmwasm/tsconfig.json | 30 + examples/osmosis/pages/_app.tsx | 1 + yarn.lock | 35 +- 36 files changed, 4783 insertions(+), 1 deletion(-) create mode 100644 examples/osmosis-cosmwasm/.eslintrc.json create mode 100644 examples/osmosis-cosmwasm/.gitignore create mode 100644 examples/osmosis-cosmwasm/CHANGELOG.md create mode 100644 examples/osmosis-cosmwasm/README.md create mode 100644 examples/osmosis-cosmwasm/codegen/HackCw20.client.ts create mode 100644 examples/osmosis-cosmwasm/codegen/HackCw20.types.ts create mode 100644 examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.client.ts create mode 100644 examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.types.ts create mode 100644 examples/osmosis-cosmwasm/codegen/index.ts create mode 100644 examples/osmosis-cosmwasm/components/features.tsx create mode 100644 examples/osmosis-cosmwasm/components/index.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/address-card.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/astronaut.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/chain-card.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/index.ts create mode 100644 examples/osmosis-cosmwasm/components/react/user-card.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/wallet-connect.tsx create mode 100644 examples/osmosis-cosmwasm/components/react/warn-block.tsx create mode 100644 examples/osmosis-cosmwasm/components/types.tsx create mode 100644 examples/osmosis-cosmwasm/components/wallet.tsx create mode 100644 examples/osmosis-cosmwasm/config/features.ts create mode 100644 examples/osmosis-cosmwasm/config/index.ts create mode 100644 examples/osmosis-cosmwasm/config/theme.ts create mode 100644 examples/osmosis-cosmwasm/next.config.js create mode 100644 examples/osmosis-cosmwasm/package.json create mode 100644 examples/osmosis-cosmwasm/pages/_app.tsx create mode 100644 examples/osmosis-cosmwasm/pages/index.tsx create mode 100644 examples/osmosis-cosmwasm/public/favicon.ico create mode 100644 examples/osmosis-cosmwasm/schemas/cw20-base/cw20-base.json create mode 100644 examples/osmosis-cosmwasm/scripts/codegen.js create mode 100644 examples/osmosis-cosmwasm/styles/Home.module.css create mode 100644 examples/osmosis-cosmwasm/styles/globals.css create mode 100644 examples/osmosis-cosmwasm/tsconfig.json diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index cda639c11..322dff943 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -19,6 +19,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { cosmwasm: (chain: Chain) => { switch (chain.chain_name) { case 'osmosis': + case 'osmosistestnet': return { gasPrice: GasPrice.fromString('0.0025uosmo') }; diff --git a/examples/osmosis-cosmwasm/.eslintrc.json b/examples/osmosis-cosmwasm/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/osmosis-cosmwasm/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/osmosis-cosmwasm/.gitignore b/examples/osmosis-cosmwasm/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/osmosis-cosmwasm/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md new file mode 100644 index 000000000..c546da1fc --- /dev/null +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -0,0 +1,152 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.1...@cosmonauts/osmosis@0.8.0) (2022-09-30) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.0...@cosmonauts/osmosis@0.7.1) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.6.0...@cosmonauts/osmosis@0.7.0) (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + +# 0.6.0 (2022-09-25) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + +## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.2 (2022-08-25) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + +## 0.1.1 (2022-08-24) + +**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/osmosis-cosmwasm/README.md b/examples/osmosis-cosmwasm/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/osmosis-cosmwasm/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/osmosis-cosmwasm/codegen/HackCw20.client.ts b/examples/osmosis-cosmwasm/codegen/HackCw20.client.ts new file mode 100644 index 000000000..42d3f5662 --- /dev/null +++ b/examples/osmosis-cosmwasm/codegen/HackCw20.client.ts @@ -0,0 +1,690 @@ +/** + * This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run the @cosmwasm/ts-codegen generate command to regenerate this file. + */ + +import { + CosmWasmClient, + SigningCosmWasmClient, + ExecuteResult +} from '@cosmjs/cosmwasm-stargate'; +import { Coin, StdFee } from '@cosmjs/amino'; +import { + Uint128, + Logo, + EmbeddedLogo, + Binary, + InstantiateMsg, + Cw20Coin, + InstantiateMarketingInfo, + MinterResponse, + ExecuteMsg, + Expiration, + Timestamp, + Uint64, + QueryMsg, + AllAccountsResponse, + AllAllowancesResponse, + AllowanceInfo, + AllSpenderAllowancesResponse, + SpenderAllowanceInfo, + AllowanceResponse, + BalanceResponse, + DownloadLogoResponse, + LogoInfo, + Addr, + MarketingInfoResponse, + TokenInfoResponse +} from './HackCw20.types'; +export interface HackCw20ReadOnlyInterface { + contractAddress: string; + balance: ({ address }: { address: string }) => Promise; + tokenInfo: () => Promise; + minter: () => Promise; + allowance: ({ + owner, + spender + }: { + owner: string; + spender: string; + }) => Promise; + allAllowances: ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }) => Promise; + allSpenderAllowances: ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }) => Promise; + allAccounts: ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }) => Promise; + marketingInfo: () => Promise; + downloadLogo: () => Promise; +} +export class HackCw20QueryClient implements HackCw20ReadOnlyInterface { + client: CosmWasmClient; + contractAddress: string; + + constructor(client: CosmWasmClient, contractAddress: string) { + this.client = client; + this.contractAddress = contractAddress; + this.balance = this.balance.bind(this); + this.tokenInfo = this.tokenInfo.bind(this); + this.minter = this.minter.bind(this); + this.allowance = this.allowance.bind(this); + this.allAllowances = this.allAllowances.bind(this); + this.allSpenderAllowances = this.allSpenderAllowances.bind(this); + this.allAccounts = this.allAccounts.bind(this); + this.marketingInfo = this.marketingInfo.bind(this); + this.downloadLogo = this.downloadLogo.bind(this); + } + + balance = async ({ + address + }: { + address: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + balance: { + address + } + }); + }; + tokenInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token_info: {} + }); + }; + minter = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + minter: {} + }); + }; + allowance = async ({ + owner, + spender + }: { + owner: string; + spender: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + allowance: { + owner, + spender + } + }); + }; + allAllowances = async ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_allowances: { + limit, + owner, + start_after: startAfter + } + }); + }; + allSpenderAllowances = async ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_spender_allowances: { + limit, + spender, + start_after: startAfter + } + }); + }; + allAccounts = async ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_accounts: { + limit, + start_after: startAfter + } + }); + }; + marketingInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + marketing_info: {} + }); + }; + downloadLogo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + download_logo: {} + }); + }; +} +export interface HackCw20Interface extends HackCw20ReadOnlyInterface { + contractAddress: string; + sender: string; + transfer: ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + burn: ( + { + amount + }: { + amount: Uint128; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + send: ( + { + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + increaseAllowance: ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + decreaseAllowance: ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + transferFrom: ( + { + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + sendFrom: ( + { + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + burnFrom: ( + { + amount, + owner + }: { + amount: Uint128; + owner: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + mint: ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + updateMinter: ( + { + newMinter + }: { + newMinter?: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + updateMarketing: ( + { + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + uploadLogo: ( + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; +} +export class HackCw20Client + extends HackCw20QueryClient + implements HackCw20Interface { + client: SigningCosmWasmClient; + sender: string; + contractAddress: string; + + constructor( + client: SigningCosmWasmClient, + sender: string, + contractAddress: string + ) { + super(client, contractAddress); + this.client = client; + this.sender = sender; + this.contractAddress = contractAddress; + this.transfer = this.transfer.bind(this); + this.burn = this.burn.bind(this); + this.send = this.send.bind(this); + this.increaseAllowance = this.increaseAllowance.bind(this); + this.decreaseAllowance = this.decreaseAllowance.bind(this); + this.transferFrom = this.transferFrom.bind(this); + this.sendFrom = this.sendFrom.bind(this); + this.burnFrom = this.burnFrom.bind(this); + this.mint = this.mint.bind(this); + this.updateMinter = this.updateMinter.bind(this); + this.updateMarketing = this.updateMarketing.bind(this); + this.uploadLogo = this.uploadLogo.bind(this); + } + + transfer = async ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + transfer: { + amount, + recipient + } + }, + fee, + memo, + funds + ); + }; + burn = async ( + { + amount + }: { + amount: Uint128; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + burn: { + amount + } + }, + fee, + memo, + funds + ); + }; + send = async ( + { + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + send: { + amount, + contract, + msg + } + }, + fee, + memo, + funds + ); + }; + increaseAllowance = async ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + increase_allowance: { + amount, + expires, + spender + } + }, + fee, + memo, + funds + ); + }; + decreaseAllowance = async ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + decrease_allowance: { + amount, + expires, + spender + } + }, + fee, + memo, + funds + ); + }; + transferFrom = async ( + { + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + transfer_from: { + amount, + owner, + recipient + } + }, + fee, + memo, + funds + ); + }; + sendFrom = async ( + { + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + send_from: { + amount, + contract, + msg, + owner + } + }, + fee, + memo, + funds + ); + }; + burnFrom = async ( + { + amount, + owner + }: { + amount: Uint128; + owner: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + burn_from: { + amount, + owner + } + }, + fee, + memo, + funds + ); + }; + mint = async ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + mint: { + amount, + recipient + } + }, + fee, + memo, + funds + ); + }; + updateMinter = async ( + { + newMinter + }: { + newMinter?: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + update_minter: { + new_minter: newMinter + } + }, + fee, + memo, + funds + ); + }; + updateMarketing = async ( + { + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + update_marketing: { + description, + marketing, + project + } + }, + fee, + memo, + funds + ); + }; + uploadLogo = async ( + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + upload_logo: {} + }, + fee, + memo, + funds + ); + }; +} diff --git a/examples/osmosis-cosmwasm/codegen/HackCw20.types.ts b/examples/osmosis-cosmwasm/codegen/HackCw20.types.ts new file mode 100644 index 000000000..478282641 --- /dev/null +++ b/examples/osmosis-cosmwasm/codegen/HackCw20.types.ts @@ -0,0 +1,198 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +export type Uint128 = string; +export type Logo = { + url: string; +} | { + embedded: EmbeddedLogo; +}; +export type EmbeddedLogo = { + svg: Binary; +} | { + png: Binary; +}; +export type Binary = string; +export interface InstantiateMsg { + decimals: number; + initial_balances: Cw20Coin[]; + marketing?: InstantiateMarketingInfo | null; + mint?: MinterResponse | null; + name: string; + symbol: string; +} +export interface Cw20Coin { + address: string; + amount: Uint128; +} +export interface InstantiateMarketingInfo { + description?: string | null; + logo?: Logo | null; + marketing?: string | null; + project?: string | null; +} +export interface MinterResponse { + cap?: Uint128 | null; + minter: string; +} +export type ExecuteMsg = { + transfer: { + amount: Uint128; + recipient: string; + }; +} | { + burn: { + amount: Uint128; + }; +} | { + send: { + amount: Uint128; + contract: string; + msg: Binary; + }; +} | { + increase_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + decrease_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + transfer_from: { + amount: Uint128; + owner: string; + recipient: string; + }; +} | { + send_from: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }; +} | { + burn_from: { + amount: Uint128; + owner: string; + }; +} | { + mint: { + amount: Uint128; + recipient: string; + }; +} | { + update_minter: { + new_minter?: string | null; + }; +} | { + update_marketing: { + description?: string | null; + marketing?: string | null; + project?: string | null; + }; +} | { + upload_logo: Logo; +}; +export type Expiration = { + at_height: number; +} | { + at_time: Timestamp; +} | { + never: {}; +}; +export type Timestamp = Uint64; +export type Uint64 = string; +export type QueryMsg = { + balance: { + address: string; + }; +} | { + token_info: {}; +} | { + minter: {}; +} | { + allowance: { + owner: string; + spender: string; + }; +} | { + all_allowances: { + limit?: number | null; + owner: string; + start_after?: string | null; + }; +} | { + all_spender_allowances: { + limit?: number | null; + spender: string; + start_after?: string | null; + }; +} | { + all_accounts: { + limit?: number | null; + start_after?: string | null; + }; +} | { + marketing_info: {}; +} | { + download_logo: {}; +}; +export interface AllAccountsResponse { + accounts: string[]; + [k: string]: unknown; +} +export interface AllAllowancesResponse { + allowances: AllowanceInfo[]; + [k: string]: unknown; +} +export interface AllowanceInfo { + allowance: Uint128; + expires: Expiration; + spender: string; +} +export interface AllSpenderAllowancesResponse { + allowances: SpenderAllowanceInfo[]; + [k: string]: unknown; +} +export interface SpenderAllowanceInfo { + allowance: Uint128; + expires: Expiration; + owner: string; +} +export interface AllowanceResponse { + allowance: Uint128; + expires: Expiration; + [k: string]: unknown; +} +export interface BalanceResponse { + balance: Uint128; +} +export interface DownloadLogoResponse { + data: Binary; + mime_type: string; +} +export type LogoInfo = "embedded" | { + url: string; +}; +export type Addr = string; +export interface MarketingInfoResponse { + description?: string | null; + logo?: LogoInfo | null; + marketing?: Addr | null; + project?: string | null; + [k: string]: unknown; +} +export interface TokenInfoResponse { + decimals: number; + name: string; + symbol: string; + total_supply: Uint128; +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.client.ts b/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.client.ts new file mode 100644 index 000000000..81517d087 --- /dev/null +++ b/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.client.ts @@ -0,0 +1,456 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; +import { Coin, StdFee } from "@cosmjs/amino"; +import { Uint128, Logo, EmbeddedLogo, Binary, InstantiateMsg, Cw20Coin, InstantiateMarketingInfo, MinterResponse, ExecuteMsg, Expiration, Timestamp, Uint64, QueryMsg, AllAccountsResponse, AllAllowancesResponse, AllowanceInfo, AllSpenderAllowancesResponse, SpenderAllowanceInfo, AllowanceResponse, BalanceResponse, DownloadLogoResponse, LogoInfo, Addr, MarketingInfoResponse, TokenInfoResponse } from "./HackCw20QueryClient.types"; +export interface HackCw20QueryClientReadOnlyInterface { + contractAddress: string; + balance: ({ + address + }: { + address: string; + }) => Promise; + tokenInfo: () => Promise; + minter: () => Promise; + allowance: ({ + owner, + spender + }: { + owner: string; + spender: string; + }) => Promise; + allAllowances: ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }) => Promise; + allSpenderAllowances: ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }) => Promise; + allAccounts: ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }) => Promise; + marketingInfo: () => Promise; + downloadLogo: () => Promise; +} +export class HackCw20QueryClientQueryClient implements HackCw20QueryClientReadOnlyInterface { + client: CosmWasmClient; + contractAddress: string; + + constructor(client: CosmWasmClient, contractAddress: string) { + this.client = client; + this.contractAddress = contractAddress; + this.balance = this.balance.bind(this); + this.tokenInfo = this.tokenInfo.bind(this); + this.minter = this.minter.bind(this); + this.allowance = this.allowance.bind(this); + this.allAllowances = this.allAllowances.bind(this); + this.allSpenderAllowances = this.allSpenderAllowances.bind(this); + this.allAccounts = this.allAccounts.bind(this); + this.marketingInfo = this.marketingInfo.bind(this); + this.downloadLogo = this.downloadLogo.bind(this); + } + + balance = async ({ + address + }: { + address: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + balance: { + address + } + }); + }; + tokenInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token_info: {} + }); + }; + minter = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + minter: {} + }); + }; + allowance = async ({ + owner, + spender + }: { + owner: string; + spender: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + allowance: { + owner, + spender + } + }); + }; + allAllowances = async ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_allowances: { + limit, + owner, + start_after: startAfter + } + }); + }; + allSpenderAllowances = async ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_spender_allowances: { + limit, + spender, + start_after: startAfter + } + }); + }; + allAccounts = async ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_accounts: { + limit, + start_after: startAfter + } + }); + }; + marketingInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + marketing_info: {} + }); + }; + downloadLogo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + download_logo: {} + }); + }; +} +export interface HackCw20QueryClientInterface extends HackCw20QueryClientReadOnlyInterface { + contractAddress: string; + sender: string; + transfer: ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + burn: ({ + amount + }: { + amount: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + send: ({ + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + increaseAllowance: ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + decreaseAllowance: ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + transferFrom: ({ + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + sendFrom: ({ + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + burnFrom: ({ + amount, + owner + }: { + amount: Uint128; + owner: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + mint: ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + updateMinter: ({ + newMinter + }: { + newMinter?: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + updateMarketing: ({ + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + uploadLogo: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; +} +export class HackCw20QueryClientClient extends HackCw20QueryClientQueryClient implements HackCw20QueryClientInterface { + client: SigningCosmWasmClient; + sender: string; + contractAddress: string; + + constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { + super(client, contractAddress); + this.client = client; + this.sender = sender; + this.contractAddress = contractAddress; + this.transfer = this.transfer.bind(this); + this.burn = this.burn.bind(this); + this.send = this.send.bind(this); + this.increaseAllowance = this.increaseAllowance.bind(this); + this.decreaseAllowance = this.decreaseAllowance.bind(this); + this.transferFrom = this.transferFrom.bind(this); + this.sendFrom = this.sendFrom.bind(this); + this.burnFrom = this.burnFrom.bind(this); + this.mint = this.mint.bind(this); + this.updateMinter = this.updateMinter.bind(this); + this.updateMarketing = this.updateMarketing.bind(this); + this.uploadLogo = this.uploadLogo.bind(this); + } + + transfer = async ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + transfer: { + amount, + recipient + } + }, fee, memo, funds); + }; + burn = async ({ + amount + }: { + amount: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + burn: { + amount + } + }, fee, memo, funds); + }; + send = async ({ + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + send: { + amount, + contract, + msg + } + }, fee, memo, funds); + }; + increaseAllowance = async ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + increase_allowance: { + amount, + expires, + spender + } + }, fee, memo, funds); + }; + decreaseAllowance = async ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + decrease_allowance: { + amount, + expires, + spender + } + }, fee, memo, funds); + }; + transferFrom = async ({ + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + transfer_from: { + amount, + owner, + recipient + } + }, fee, memo, funds); + }; + sendFrom = async ({ + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + send_from: { + amount, + contract, + msg, + owner + } + }, fee, memo, funds); + }; + burnFrom = async ({ + amount, + owner + }: { + amount: Uint128; + owner: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + burn_from: { + amount, + owner + } + }, fee, memo, funds); + }; + mint = async ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + mint: { + amount, + recipient + } + }, fee, memo, funds); + }; + updateMinter = async ({ + newMinter + }: { + newMinter?: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + update_minter: { + new_minter: newMinter + } + }, fee, memo, funds); + }; + updateMarketing = async ({ + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + update_marketing: { + description, + marketing, + project + } + }, fee, memo, funds); + }; + uploadLogo = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + upload_logo: {} + }, fee, memo, funds); + }; +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.types.ts b/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.types.ts new file mode 100644 index 000000000..478282641 --- /dev/null +++ b/examples/osmosis-cosmwasm/codegen/HackCw20QueryClient.types.ts @@ -0,0 +1,198 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +export type Uint128 = string; +export type Logo = { + url: string; +} | { + embedded: EmbeddedLogo; +}; +export type EmbeddedLogo = { + svg: Binary; +} | { + png: Binary; +}; +export type Binary = string; +export interface InstantiateMsg { + decimals: number; + initial_balances: Cw20Coin[]; + marketing?: InstantiateMarketingInfo | null; + mint?: MinterResponse | null; + name: string; + symbol: string; +} +export interface Cw20Coin { + address: string; + amount: Uint128; +} +export interface InstantiateMarketingInfo { + description?: string | null; + logo?: Logo | null; + marketing?: string | null; + project?: string | null; +} +export interface MinterResponse { + cap?: Uint128 | null; + minter: string; +} +export type ExecuteMsg = { + transfer: { + amount: Uint128; + recipient: string; + }; +} | { + burn: { + amount: Uint128; + }; +} | { + send: { + amount: Uint128; + contract: string; + msg: Binary; + }; +} | { + increase_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + decrease_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + transfer_from: { + amount: Uint128; + owner: string; + recipient: string; + }; +} | { + send_from: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }; +} | { + burn_from: { + amount: Uint128; + owner: string; + }; +} | { + mint: { + amount: Uint128; + recipient: string; + }; +} | { + update_minter: { + new_minter?: string | null; + }; +} | { + update_marketing: { + description?: string | null; + marketing?: string | null; + project?: string | null; + }; +} | { + upload_logo: Logo; +}; +export type Expiration = { + at_height: number; +} | { + at_time: Timestamp; +} | { + never: {}; +}; +export type Timestamp = Uint64; +export type Uint64 = string; +export type QueryMsg = { + balance: { + address: string; + }; +} | { + token_info: {}; +} | { + minter: {}; +} | { + allowance: { + owner: string; + spender: string; + }; +} | { + all_allowances: { + limit?: number | null; + owner: string; + start_after?: string | null; + }; +} | { + all_spender_allowances: { + limit?: number | null; + spender: string; + start_after?: string | null; + }; +} | { + all_accounts: { + limit?: number | null; + start_after?: string | null; + }; +} | { + marketing_info: {}; +} | { + download_logo: {}; +}; +export interface AllAccountsResponse { + accounts: string[]; + [k: string]: unknown; +} +export interface AllAllowancesResponse { + allowances: AllowanceInfo[]; + [k: string]: unknown; +} +export interface AllowanceInfo { + allowance: Uint128; + expires: Expiration; + spender: string; +} +export interface AllSpenderAllowancesResponse { + allowances: SpenderAllowanceInfo[]; + [k: string]: unknown; +} +export interface SpenderAllowanceInfo { + allowance: Uint128; + expires: Expiration; + owner: string; +} +export interface AllowanceResponse { + allowance: Uint128; + expires: Expiration; + [k: string]: unknown; +} +export interface BalanceResponse { + balance: Uint128; +} +export interface DownloadLogoResponse { + data: Binary; + mime_type: string; +} +export type LogoInfo = "embedded" | { + url: string; +}; +export type Addr = string; +export interface MarketingInfoResponse { + description?: string | null; + logo?: LogoInfo | null; + marketing?: Addr | null; + project?: string | null; + [k: string]: unknown; +} +export interface TokenInfoResponse { + decimals: number; + name: string; + symbol: string; + total_supply: Uint128; +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/codegen/index.ts b/examples/osmosis-cosmwasm/codegen/index.ts new file mode 100644 index 000000000..0272f8876 --- /dev/null +++ b/examples/osmosis-cosmwasm/codegen/index.ts @@ -0,0 +1,13 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import * as _0 from "./HackCw20.types"; +import * as _1 from "./HackCw20.client"; +export namespace contracts { + export const HackCw20 = { ..._0, + ..._1 + }; +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/components/features.tsx b/examples/osmosis-cosmwasm/components/features.tsx new file mode 100644 index 000000000..c4e9cea55 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from '@chakra-ui/icons'; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue +} from '@chakra-ui/react'; +import { FeatureProps } from './types'; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/osmosis-cosmwasm/components/index.tsx b/examples/osmosis-cosmwasm/components/index.tsx new file mode 100644 index 000000000..4d86fd53c --- /dev/null +++ b/examples/osmosis-cosmwasm/components/index.tsx @@ -0,0 +1,4 @@ +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/osmosis-cosmwasm/components/react/address-card.tsx b/examples/osmosis-cosmwasm/components/react/address-card.tsx new file mode 100644 index 000000000..96ff2cd27 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from 'react'; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectedShowAddress = ({ + address, + isLoading +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ''); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/osmosis-cosmwasm/components/react/astronaut.tsx b/examples/osmosis-cosmwasm/components/react/astronaut.tsx new file mode 100644 index 000000000..572884aa7 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/osmosis-cosmwasm/components/react/chain-card.tsx b/examples/osmosis-cosmwasm/components/react/chain-card.tsx new file mode 100644 index 000000000..e8d56a0ea --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/chain-card.tsx @@ -0,0 +1,39 @@ +import { Box, Stack, useColorModeValue, Image, Text } from '@chakra-ui/react'; +import { ChainCardProps } from '../types'; + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/osmosis-cosmwasm/components/react/index.ts b/examples/osmosis-cosmwasm/components/react/index.ts new file mode 100644 index 000000000..cc035b9c5 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/index.ts @@ -0,0 +1,6 @@ +export * from './astronaut'; +export * from './wallet-connect'; +export * from './warn-block'; +export * from './user-card'; +export * from './address-card'; +export * from './chain-card'; diff --git a/examples/osmosis-cosmwasm/components/react/user-card.tsx b/examples/osmosis-cosmwasm/components/react/user-card.tsx new file mode 100644 index 000000000..13c8bd75a --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; + +export const ConnectedUserInfo = ({ + username, + icon +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/osmosis-cosmwasm/components/react/wallet-connect.tsx b/examples/osmosis-cosmwasm/components/react/wallet-connect.tsx new file mode 100644 index 000000000..683e92374 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/wallet-connect.tsx @@ -0,0 +1,201 @@ +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/osmosis-cosmwasm/components/react/warn-block.tsx b/examples/osmosis-cosmwasm/components/react/warn-block.tsx new file mode 100644 index 000000000..6a03adb03 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const WarnBlock = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/osmosis-cosmwasm/components/types.tsx b/examples/osmosis-cosmwasm/components/types.tsx new file mode 100644 index 000000000..5f9133656 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/osmosis-cosmwasm/components/wallet.tsx b/examples/osmosis-cosmwasm/components/wallet.tsx new file mode 100644 index 000000000..d12be8a6f --- /dev/null +++ b/examples/osmosis-cosmwasm/components/wallet.tsx @@ -0,0 +1,181 @@ +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { ChainName } from '@cosmos-kit/core'; +import { assets as chainAssets } from 'chain-registry'; + +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet(); + const { + connect, + openView, + setCurrentChain, + walletStatus, + username, + address, + message, + currentWalletName, + chains + } = walletManager; + + const chainOptions = useMemo( + () => + chains.map((chainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + }), + [chains] + ); + + const chain = chainOptions.find((c) => c.chainName === chainName); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName, setCurrentChain]); + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + openView(); + if (currentWalletName) { + await connect(); + } + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); + + return ( +
+ + {chainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/osmosis-cosmwasm/config/features.ts b/examples/osmosis-cosmwasm/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/osmosis-cosmwasm/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/osmosis-cosmwasm/config/index.ts b/examples/osmosis-cosmwasm/config/index.ts new file mode 100644 index 000000000..e249d6303 --- /dev/null +++ b/examples/osmosis-cosmwasm/config/index.ts @@ -0,0 +1,2 @@ +export * from './theme'; +export * from './features'; diff --git a/examples/osmosis-cosmwasm/config/theme.ts b/examples/osmosis-cosmwasm/config/theme.ts new file mode 100644 index 000000000..aa5614194 --- /dev/null +++ b/examples/osmosis-cosmwasm/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from '@chakra-ui/react'; + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/osmosis-cosmwasm/next.config.js b/examples/osmosis-cosmwasm/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/osmosis-cosmwasm/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json new file mode 100644 index 000000000..10050a70a --- /dev/null +++ b/examples/osmosis-cosmwasm/package.json @@ -0,0 +1,41 @@ +{ + "name": "@cosmonauts/osmosis-cosmwasm", + "version": "0.8.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "codegen": "cross-env NODE_ENV=development babel-node scripts/codegen.js" + }, + "dependencies": { + "@chain-registry/types": "0.11.0", + "@chakra-ui/icons": "2.0.10", + "@chakra-ui/react": "2.3.4", + "@cosmjs/cosmwasm-stargate": "0.29.0", + "@cosmjs/stargate": "0.29.0", + "@cosmos-kit/core": "0.18.0", + "@cosmos-kit/keplr": "0.18.0", + "@cosmos-kit/react": "0.18.0", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "1.0.0", + "framer-motion": "7.3.6", + "next": "12.2.5", + "osmojs": "0.24.0", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0" + }, + "devDependencies": { + "@cosmwasm/ts-codegen": "0.16.5", + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/pages/_app.tsx b/examples/osmosis-cosmwasm/pages/_app.tsx new file mode 100644 index 000000000..c54d93cd4 --- /dev/null +++ b/examples/osmosis-cosmwasm/pages/_app.tsx @@ -0,0 +1,44 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/keplr'; +import { assets, chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'osmojs'; +import { GasPrice } from '@cosmjs/stargate'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function CreateCosmosApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'osmosis': + case 'osmosistestnet': + return { + gasPrice: GasPrice.fromString('0.0025uosmo') + }; + } + } + }; + + return ( + + + + + + ); +} + +export default CreateCosmosApp; diff --git a/examples/osmosis-cosmwasm/pages/index.tsx b/examples/osmosis-cosmwasm/pages/index.tsx new file mode 100644 index 000000000..7a6d70eda --- /dev/null +++ b/examples/osmosis-cosmwasm/pages/index.tsx @@ -0,0 +1,199 @@ +import { useEffect, useState, useMemo } from 'react'; +import { useWallet } from '@cosmos-kit/react'; +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; + +// import cosmwasm client generated with cosmwasm-ts-codegen +import { HackCw20QueryClient } from '../codegen/HackCw20.client'; + +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + useColorModeValue +} from '@chakra-ui/react'; +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; +import { dependencies, products } from '../config'; + +import { WalletStatus } from '@cosmos-kit/core'; +import { Product, Dependency, WalletSection } from '../components'; +import Head from 'next/head'; + +const library = { + title: 'OsmoJS', + text: 'OsmoJS', + href: 'https://github.com/osmosis-labs/osmojs' +}; + +// const chainName = 'osmosis'; +const chainName = 'osmosistestnet'; +const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; +const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + + const { + getStargateClient, + getCosmWasmClient, + address, + setCurrentChain, + currentWallet, + walletStatus + } = useWallet(); + + useEffect(() => { + setCurrentChain(chainName); + }, [chainName]); + + const color = useColorModeValue('primary.500', 'primary.200'); + + // get cw20 balance + const [cw20Client, setCw20Client] = useState( + null + ); + useEffect(() => { + getCosmWasmClient().then((cosmwasmClient) => { + if (!cosmwasmClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + setCw20Client( + new HackCw20QueryClient( + cosmwasmClient, + 'osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8' + ) + ); + }); + }, [address, getCosmWasmClient]); + const [cw20Bal, setCw20Bal] = useState(null); + useEffect(() => { + if (cw20Client && address) { + cw20Client + .balance({ + // TODO: replace with `address` !!! + address: 'osmo10vcqfvecwmvfr46cn0ju024xz7khutjtdsg5ga' + }) + .then((b) => setCw20Bal(b.balance)); + } + }, [cw20Client, address]); + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js +{' '} + + {library.title} + + + + + + +
+ HackCW20 Balance:{' '} + {walletStatus === WalletStatus.Disconnected + ? 'Connect wallet!' + : cw20Bal ?? 'loading...'} +
+ + {walletStatus === WalletStatus.Disconnected && ( + + + Connect your wallet! + + + )} + + + + + + + + + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency) => ( + + ))} + + + + + + Built with + + Cosmology + + +
+ ); +} diff --git a/examples/osmosis-cosmwasm/public/favicon.ico b/examples/osmosis-cosmwasm/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/osmosis-cosmwasm/schemas/cw20-base/cw20-base.json b/examples/osmosis-cosmwasm/schemas/cw20-base/cw20-base.json new file mode 100644 index 000000000..b79269b7f --- /dev/null +++ b/examples/osmosis-cosmwasm/schemas/cw20-base/cw20-base.json @@ -0,0 +1,1375 @@ +{ + "contract_name": "cw20-base", + "contract_version": "0.15.1", + "idl_version": "1.0.0", + "instantiate": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "InstantiateMsg", + "type": "object", + "required": [ + "decimals", + "initial_balances", + "name", + "symbol" + ], + "properties": { + "decimals": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "initial_balances": { + "type": "array", + "items": { + "$ref": "#/definitions/Cw20Coin" + } + }, + "marketing": { + "anyOf": [ + { + "$ref": "#/definitions/InstantiateMarketingInfo" + }, + { + "type": "null" + } + ] + }, + "mint": { + "anyOf": [ + { + "$ref": "#/definitions/MinterResponse" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + }, + "Cw20Coin": { + "type": "object", + "required": [ + "address", + "amount" + ], + "properties": { + "address": { + "type": "string" + }, + "amount": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false + }, + "EmbeddedLogo": { + "description": "This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.", + "oneOf": [ + { + "description": "Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)", + "type": "object", + "required": [ + "svg" + ], + "properties": { + "svg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + }, + { + "description": "Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.", + "type": "object", + "required": [ + "png" + ], + "properties": { + "png": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + ] + }, + "InstantiateMarketingInfo": { + "type": "object", + "properties": { + "description": { + "type": [ + "string", + "null" + ] + }, + "logo": { + "anyOf": [ + { + "$ref": "#/definitions/Logo" + }, + { + "type": "null" + } + ] + }, + "marketing": { + "type": [ + "string", + "null" + ] + }, + "project": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + }, + "Logo": { + "description": "This is used for uploading logo data, or setting it in InstantiateData", + "oneOf": [ + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "description": "Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants", + "type": "object", + "required": [ + "embedded" + ], + "properties": { + "embedded": { + "$ref": "#/definitions/EmbeddedLogo" + } + }, + "additionalProperties": false + } + ] + }, + "MinterResponse": { + "type": "object", + "required": [ + "minter" + ], + "properties": { + "cap": { + "description": "cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.", + "anyOf": [ + { + "$ref": "#/definitions/Uint128" + }, + { + "type": "null" + } + ] + }, + "minter": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "execute": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "ExecuteMsg", + "oneOf": [ + { + "description": "Transfer is a base message to move tokens to another account without triggering actions", + "type": "object", + "required": [ + "transfer" + ], + "properties": { + "transfer": { + "type": "object", + "required": [ + "amount", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Burn is a base message to destroy tokens forever", + "type": "object", + "required": [ + "burn" + ], + "properties": { + "burn": { + "type": "object", + "required": [ + "amount" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Send is a base message to transfer tokens to a contract and trigger an action on the receiving contract.", + "type": "object", + "required": [ + "send" + ], + "properties": { + "send": { + "type": "object", + "required": [ + "amount", + "contract", + "msg" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "contract": { + "type": "string" + }, + "msg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Allows spender to access an additional amount tokens from the owner's (env.sender) account. If expires is Some(), overwrites current allowance expiration with this one.", + "type": "object", + "required": [ + "increase_allowance" + ], + "properties": { + "increase_allowance": { + "type": "object", + "required": [ + "amount", + "spender" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Lowers the spender's access of tokens from the owner's (env.sender) account by amount. If expires is Some(), overwrites current allowance expiration with this one.", + "type": "object", + "required": [ + "decrease_allowance" + ], + "properties": { + "decrease_allowance": { + "type": "object", + "required": [ + "amount", + "spender" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Transfers amount tokens from owner -> recipient if `env.sender` has sufficient pre-approval.", + "type": "object", + "required": [ + "transfer_from" + ], + "properties": { + "transfer_from": { + "type": "object", + "required": [ + "amount", + "owner", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "owner": { + "type": "string" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Sends amount tokens from owner -> contract if `env.sender` has sufficient pre-approval.", + "type": "object", + "required": [ + "send_from" + ], + "properties": { + "send_from": { + "type": "object", + "required": [ + "amount", + "contract", + "msg", + "owner" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "contract": { + "type": "string" + }, + "msg": { + "$ref": "#/definitions/Binary" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Destroys tokens forever", + "type": "object", + "required": [ + "burn_from" + ], + "properties": { + "burn_from": { + "type": "object", + "required": [ + "amount", + "owner" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"mintable\" extension. If authorized, creates amount new tokens and adds to the recipient balance.", + "type": "object", + "required": [ + "mint" + ], + "properties": { + "mint": { + "type": "object", + "required": [ + "amount", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"mintable\" extension. The current minter may set a new minter. Setting the minter to None will remove the token's minter forever.", + "type": "object", + "required": [ + "update_minter" + ], + "properties": { + "update_minter": { + "type": "object", + "properties": { + "new_minter": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"marketing\" extension. If authorized, updates marketing metadata. Setting None/null for any of these will leave it unchanged. Setting Some(\"\") will clear this field on the contract storage", + "type": "object", + "required": [ + "update_marketing" + ], + "properties": { + "update_marketing": { + "type": "object", + "properties": { + "description": { + "description": "A longer description of the token and it's utility. Designed for tooltips or such", + "type": [ + "string", + "null" + ] + }, + "marketing": { + "description": "The address (if any) who can update this data structure", + "type": [ + "string", + "null" + ] + }, + "project": { + "description": "A URL pointing to the project behind this token.", + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "If set as the \"marketing\" role on the contract, upload a new URL, SVG, or PNG for the token", + "type": "object", + "required": [ + "upload_logo" + ], + "properties": { + "upload_logo": { + "$ref": "#/definitions/Logo" + } + }, + "additionalProperties": false + } + ], + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + }, + "EmbeddedLogo": { + "description": "This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.", + "oneOf": [ + { + "description": "Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)", + "type": "object", + "required": [ + "svg" + ], + "properties": { + "svg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + }, + { + "description": "Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.", + "type": "object", + "required": [ + "png" + ], + "properties": { + "png": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + ] + }, + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Logo": { + "description": "This is used for uploading logo data, or setting it in InstantiateData", + "oneOf": [ + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "description": "Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants", + "type": "object", + "required": [ + "embedded" + ], + "properties": { + "embedded": { + "$ref": "#/definitions/EmbeddedLogo" + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "query": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "QueryMsg", + "oneOf": [ + { + "description": "Returns the current balance of the given address, 0 if unset.", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "type": "object", + "required": [ + "address" + ], + "properties": { + "address": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Returns metadata on the contract - name, decimals, supply, etc.", + "type": "object", + "required": [ + "token_info" + ], + "properties": { + "token_info": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"mintable\" extension. Returns who can mint and the hard cap on maximum tokens after minting.", + "type": "object", + "required": [ + "minter" + ], + "properties": { + "minter": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"allowance\" extension. Returns how much spender can use from owner account, 0 if unset.", + "type": "object", + "required": [ + "allowance" + ], + "properties": { + "allowance": { + "type": "object", + "required": [ + "owner", + "spender" + ], + "properties": { + "owner": { + "type": "string" + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension (and \"allowances\") Returns all allowances this owner has approved. Supports pagination.", + "type": "object", + "required": [ + "all_allowances" + ], + "properties": { + "all_allowances": { + "type": "object", + "required": [ + "owner" + ], + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "owner": { + "type": "string" + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension (and \"allowances\") Returns all allowances this spender has been granted. Supports pagination.", + "type": "object", + "required": [ + "all_spender_allowances" + ], + "properties": { + "all_spender_allowances": { + "type": "object", + "required": [ + "spender" + ], + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "spender": { + "type": "string" + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension Returns all accounts that have balances. Supports pagination.", + "type": "object", + "required": [ + "all_accounts" + ], + "properties": { + "all_accounts": { + "type": "object", + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"marketing\" extension Returns more metadata on the contract to display in the client: - description, logo, project url, etc.", + "type": "object", + "required": [ + "marketing_info" + ], + "properties": { + "marketing_info": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"marketing\" extension Downloads the embedded logo data (if stored on chain). Errors if no logo data is stored for this contract.", + "type": "object", + "required": [ + "download_logo" + ], + "properties": { + "download_logo": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "migrate": null, + "sudo": null, + "responses": { + "all_accounts": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllAccountsResponse", + "type": "object", + "required": [ + "accounts" + ], + "properties": { + "accounts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "all_allowances": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllAllowancesResponse", + "type": "object", + "required": [ + "allowances" + ], + "properties": { + "allowances": { + "type": "array", + "items": { + "$ref": "#/definitions/AllowanceInfo" + } + } + }, + "definitions": { + "AllowanceInfo": { + "type": "object", + "required": [ + "allowance", + "expires", + "spender" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "all_spender_allowances": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllSpenderAllowancesResponse", + "type": "object", + "required": [ + "allowances" + ], + "properties": { + "allowances": { + "type": "array", + "items": { + "$ref": "#/definitions/SpenderAllowanceInfo" + } + } + }, + "definitions": { + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "SpenderAllowanceInfo": { + "type": "object", + "required": [ + "allowance", + "expires", + "owner" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "allowance": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllowanceResponse", + "type": "object", + "required": [ + "allowance", + "expires" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + } + }, + "definitions": { + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "balance": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "BalanceResponse", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "download_logo": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "DownloadLogoResponse", + "description": "When we download an embedded logo, we get this response type. We expect a SPA to be able to accept this info and display it.", + "type": "object", + "required": [ + "data", + "mime_type" + ], + "properties": { + "data": { + "$ref": "#/definitions/Binary" + }, + "mime_type": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + } + } + }, + "marketing_info": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "MarketingInfoResponse", + "type": "object", + "properties": { + "description": { + "description": "A longer description of the token and it's utility. Designed for tooltips or such", + "type": [ + "string", + "null" + ] + }, + "logo": { + "description": "A link to the logo, or a comment there is an on-chain logo stored", + "anyOf": [ + { + "$ref": "#/definitions/LogoInfo" + }, + { + "type": "null" + } + ] + }, + "marketing": { + "description": "The address (if any) who can update this data structure", + "anyOf": [ + { + "$ref": "#/definitions/Addr" + }, + { + "type": "null" + } + ] + }, + "project": { + "description": "A URL pointing to the project behind this token.", + "type": [ + "string", + "null" + ] + } + }, + "definitions": { + "Addr": { + "description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", + "type": "string" + }, + "LogoInfo": { + "description": "This is used to display logo info, provide a link or inform there is one that can be downloaded from the blockchain itself", + "oneOf": [ + { + "type": "string", + "enum": [ + "embedded" + ] + }, + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + } + ] + } + } + }, + "minter": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "MinterResponse", + "type": "object", + "required": [ + "minter" + ], + "properties": { + "cap": { + "description": "cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.", + "anyOf": [ + { + "$ref": "#/definitions/Uint128" + }, + { + "type": "null" + } + ] + }, + "minter": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "token_info": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "TokenInfoResponse", + "type": "object", + "required": [ + "decimals", + "name", + "symbol", + "total_supply" + ], + "properties": { + "decimals": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "total_supply": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + } + } +} diff --git a/examples/osmosis-cosmwasm/scripts/codegen.js b/examples/osmosis-cosmwasm/scripts/codegen.js new file mode 100644 index 000000000..c14b504b4 --- /dev/null +++ b/examples/osmosis-cosmwasm/scripts/codegen.js @@ -0,0 +1,36 @@ +const { join, resolve } = require('path'); +const codegen = require('@cosmwasm/ts-codegen').default; + +const contractsDir = resolve(join(__dirname, '/../schemas')); +const contracts = [ + { + name: 'HackCw20', + dir: join(contractsDir, 'cw20-base') + } +]; + +codegen({ + contracts, + outPath: join(__dirname, '../codegen'), + options: { + bundle: { + enabled: true, + bundleFile: 'index.ts', + scope: 'contracts' + }, + types: { + enabled: true + }, + client: { + enabled: true + }, + messageComposer: { + enabled: false + } + } +}).then(() => { + console.log('✨ all done!'); +}).catch(e=>{ + console.error(e); + process.exit(1) +}); diff --git a/examples/osmosis-cosmwasm/styles/Home.module.css b/examples/osmosis-cosmwasm/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/osmosis-cosmwasm/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/styles/globals.css b/examples/osmosis-cosmwasm/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/osmosis-cosmwasm/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/osmosis-cosmwasm/tsconfig.json b/examples/osmosis-cosmwasm/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/osmosis-cosmwasm/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index a6be04ef8..c54d93cd4 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -19,6 +19,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { cosmwasm: (chain: Chain) => { switch (chain.chain_name) { case 'osmosis': + case 'osmosistestnet': return { gasPrice: GasPrice.fromString('0.0025uosmo') }; diff --git a/yarn.lock b/yarn.lock index 6bbe2dd72..7fdf64d64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3029,6 +3029,39 @@ shelljs "0.8.5" wasm-ast-types "^0.11.1" +"@cosmwasm/ts-codegen@0.16.5": + version "0.16.5" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.5.tgz#98618126000b28a4039572f501e61805ff5a5620" + integrity sha512-rGqxMsftRESspiT4CfeYP2hxFeRdpN5YPw3FezNbRT0pqO7yZVvFXl5cqGidOHbzlXhreo7/RAABRfGOW7arng== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.11.3" + "@ctrl/tinycolor@^3.4.0": version "3.4.1" resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" @@ -12550,7 +12583,7 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -wasm-ast-types@^0.11.1: +wasm-ast-types@^0.11.1, wasm-ast-types@^0.11.3: version "0.11.3" resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== From e7fbc1c73f962e105d670ba0d7a27cf92b516856 Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Fri, 30 Sep 2022 23:10:49 -0500 Subject: [PATCH 136/262] Finished tailwindcss integration --- examples/tailwindcss/.env.example | 2 + examples/tailwindcss/.next/trace | 228 ++++++++++--- examples/tailwindcss/components/features.tsx | 94 ++---- .../components/react/address-card.tsx | 78 ----- .../components/react/astronaut.tsx | 304 ------------------ .../components/react/chain-card.tsx | 43 +-- .../tailwindcss/components/react/index.ts | 8 +- .../tailwindcss/components/react/modal.tsx | 226 +++++++++++++ .../components/react/user-card.tsx | 33 -- .../components/react/views/Connected.tsx | 108 +++++++ .../components/react/views/Connecting.tsx | 61 ++++ .../components/react/views/Error.tsx | 64 ++++ .../components/react/views/NotExist.tsx | 67 ++++ .../components/react/views/QRCode.tsx | 57 ++++ .../components/react/views/WalletList.tsx | 57 ++++ .../components/react/views/index.ts | 6 + .../components/react/warn-block.tsx | 90 ------ examples/tailwindcss/components/wallet.tsx | 263 ++++++++------- examples/tailwindcss/config/features.ts | 51 +-- examples/tailwindcss/config/index.ts | 3 +- examples/tailwindcss/config/theme.ts | 34 -- examples/tailwindcss/contexts/theme.tsx | 67 ++++ examples/tailwindcss/pages/[chainName].tsx | 104 ------ examples/tailwindcss/pages/_app.tsx | 24 +- examples/tailwindcss/pages/index.tsx | 124 +++---- examples/tailwindcss/public/cosmology.png | Bin 0 -> 18470 bytes examples/tailwindcss/public/cosmology.webp | Bin 0 -> 44310 bytes examples/tailwindcss/tailwind.config.js | 19 +- 28 files changed, 1154 insertions(+), 1061 deletions(-) create mode 100644 examples/tailwindcss/.env.example delete mode 100644 examples/tailwindcss/components/react/address-card.tsx delete mode 100644 examples/tailwindcss/components/react/astronaut.tsx create mode 100644 examples/tailwindcss/components/react/modal.tsx delete mode 100644 examples/tailwindcss/components/react/user-card.tsx create mode 100644 examples/tailwindcss/components/react/views/Connected.tsx create mode 100644 examples/tailwindcss/components/react/views/Connecting.tsx create mode 100644 examples/tailwindcss/components/react/views/Error.tsx create mode 100644 examples/tailwindcss/components/react/views/NotExist.tsx create mode 100644 examples/tailwindcss/components/react/views/QRCode.tsx create mode 100644 examples/tailwindcss/components/react/views/WalletList.tsx create mode 100644 examples/tailwindcss/components/react/views/index.ts delete mode 100644 examples/tailwindcss/components/react/warn-block.tsx delete mode 100644 examples/tailwindcss/config/theme.ts create mode 100644 examples/tailwindcss/contexts/theme.tsx delete mode 100644 examples/tailwindcss/pages/[chainName].tsx create mode 100644 examples/tailwindcss/public/cosmology.png create mode 100644 examples/tailwindcss/public/cosmology.webp diff --git a/examples/tailwindcss/.env.example b/examples/tailwindcss/.env.example new file mode 100644 index 000000000..ba50a8248 --- /dev/null +++ b/examples/tailwindcss/.env.example @@ -0,0 +1,2 @@ +# Set your chain here +NEXT_PUBLIC_CHAIN= \ No newline at end of file diff --git a/examples/tailwindcss/.next/trace b/examples/tailwindcss/.next/trace index 807d3be74..55772fb46 100644 --- a/examples/tailwindcss/.next/trace +++ b/examples/tailwindcss/.next/trace @@ -1,53 +1,175 @@ -[{"traceId":"1979f6cbb13579d5","name":"hot-reloader","id":1,"timestamp":2307953451125,"duration":23,"tags":{"version":"12.2.5"},"startTime":1664295726454},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"start","id":2,"timestamp":2307953451571,"duration":1,"tags":{},"startTime":1664295726455},{"traceId":"1979f6cbb13579d5","parentId":2,"name":"clean","id":3,"timestamp":2307953451595,"duration":7016,"tags":{},"startTime":1664295726455},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"get-page-paths","id":5,"timestamp":2307953459104,"duration":446,"tags":{},"startTime":1664295726462},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":2307953459560,"duration":166,"tags":{},"startTime":1664295726463},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"create-entrypoints","id":7,"timestamp":2307953459736,"duration":1009,"tags":{},"startTime":1664295726463},{"traceId":"1979f6cbb13579d5","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":2307953460760,"duration":17086,"tags":{},"startTime":1664295726464},{"traceId":"1979f6cbb13579d5","parentId":2,"name":"get-webpack-config","id":4,"timestamp":2307953459062,"duration":18795,"tags":{},"startTime":1664295726462},{"traceId":"1979f6cbb13579d5","parentId":17,"name":"next-client-pages-loader","id":18,"timestamp":2307953555871,"duration":342,"tags":{"absolutePagePath":"private-next-pages/_app"},"startTime":1664295726559},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js?absolutePagePath=private-next-pages%2F_app&page=%2F_app!","id":17,"timestamp":2307953553822,"duration":8537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295726557},{"traceId":"1979f6cbb13579d5","parentId":19,"name":"next-client-pages-loader","id":20,"timestamp":2307953562561,"duration":109,"tags":{"absolutePagePath":"private-next-pages/_error"},"startTime":1664295726566},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js?absolutePagePath=private-next-pages%2F_error&page=%2F_error!","id":19,"timestamp":2307953562508,"duration":1425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295726566},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"read-resource","id":22,"timestamp":2307953568886,"duration":3486,"tags":{},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":21,"timestamp":2307953568269,"duration":8274,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":28,"name":"next-swc-transform","id":29,"timestamp":2307953571045,"duration":7118,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"next-swc-loader","id":28,"timestamp":2307953570980,"duration":7188,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":24,"timestamp":2307953570341,"duration":16946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/amp-dev.js"},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":26,"name":"next-swc-transform","id":27,"timestamp":2307953570953,"duration":16538,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"next-swc-loader","id":26,"timestamp":2307953570587,"duration":16909,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":23,"timestamp":2307953568921,"duration":24231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/next-dev.js"},"startTime":1664295726572},{"traceId":"1979f6cbb13579d5","parentId":30,"name":"next-swc-transform","id":31,"timestamp":2307953571068,"duration":22134,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"next-swc-loader","id":30,"timestamp":2307953571047,"duration":22157,"tags":{},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"build-module-js","id":25,"timestamp":2307953570528,"duration":28117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295726574},{"traceId":"1979f6cbb13579d5","parentId":37,"name":"next-swc-transform","id":38,"timestamp":2307953609048,"duration":1399,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":32,"name":"next-swc-loader","id":37,"timestamp":2307953609006,"duration":1447,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":32,"timestamp":2307953608313,"duration":5949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/with-router.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":41,"name":"next-swc-transform","id":42,"timestamp":2307953609157,"duration":5875,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"next-swc-loader","id":41,"timestamp":2307953609140,"duration":5896,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":34,"timestamp":2307953608543,"duration":8949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/webpack-hot-middleware-client.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":39,"name":"next-swc-transform","id":40,"timestamp":2307953609139,"duration":8626,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":33,"name":"next-swc-loader","id":39,"timestamp":2307953609114,"duration":8654,"tags":{},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":33,"timestamp":2307953608480,"duration":11335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/on-demand-entries-client.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":43,"name":"next-swc-transform","id":44,"timestamp":2307953609174,"duration":10684,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":35,"name":"next-swc-loader","id":43,"timestamp":2307953609158,"duration":10701,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":35,"timestamp":2307953608795,"duration":15720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/dev-build-watcher.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":45,"name":"next-swc-transform","id":46,"timestamp":2307953609190,"duration":15375,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":36,"name":"next-swc-loader","id":45,"timestamp":2307953609175,"duration":15393,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":36,"timestamp":2307953608933,"duration":16742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/fouc.js"},"startTime":1664295726612},{"traceId":"1979f6cbb13579d5","parentId":55,"name":"next-swc-transform","id":56,"timestamp":2307953614837,"duration":12131,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":52,"name":"next-swc-loader","id":55,"timestamp":2307953614689,"duration":12284,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":52,"timestamp":2307953614423,"duration":15187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/websocket.js"},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":50,"name":"next-swc-transform","id":51,"timestamp":2307953610324,"duration":19516,"tags":{},"startTime":1664295726614},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"next-swc-loader","id":50,"timestamp":2307953610288,"duration":19556,"tags":{},"startTime":1664295726614},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":49,"timestamp":2307953610128,"duration":32474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/index.js"},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":53,"name":"read-resource","id":54,"timestamp":2307953614635,"duration":35110,"tags":{},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":53,"timestamp":2307953614607,"duration":35744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/is-error.js"},"startTime":1664295726618},{"traceId":"1979f6cbb13579d5","parentId":47,"name":"read-resource","id":48,"timestamp":2307953610046,"duration":40391,"tags":{},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"build-module-js","id":47,"timestamp":2307953610004,"duration":41758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js"},"startTime":1664295726613},{"traceId":"1979f6cbb13579d5","parentId":60,"name":"next-swc-transform","id":61,"timestamp":2307953649452,"duration":3464,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":57,"name":"next-swc-loader","id":60,"timestamp":2307953649387,"duration":3532,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":57,"timestamp":2307953648945,"duration":4774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router-context.js"},"startTime":1664295726652},{"traceId":"1979f6cbb13579d5","parentId":64,"name":"next-swc-transform","id":65,"timestamp":2307953649499,"duration":4246,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":59,"name":"next-swc-loader","id":64,"timestamp":2307953649480,"duration":4267,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":59,"timestamp":2307953649182,"duration":5747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/querystring.js"},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":67,"name":"next-swc-transform","id":68,"timestamp":2307953652454,"duration":4222,"tags":{},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"next-swc-loader","id":67,"timestamp":2307953652417,"duration":4262,"tags":{},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":17,"name":"build-module-tsx","id":66,"timestamp":2307953652310,"duration":6924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664295726656},{"traceId":"1979f6cbb13579d5","parentId":62,"name":"next-swc-transform","id":63,"timestamp":2307953649478,"duration":16254,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"next-swc-loader","id":62,"timestamp":2307953649455,"duration":16286,"tags":{},"startTime":1664295726653},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":58,"timestamp":2307953649032,"duration":39329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/router.js"},"startTime":1664295726652},{"traceId":"1979f6cbb13579d5","parentId":70,"name":"next-swc-transform","id":71,"timestamp":2307953662079,"duration":31143,"tags":{},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"next-swc-loader","id":70,"timestamp":2307953662040,"duration":31186,"tags":{},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"build-module-js","id":69,"timestamp":2307953661789,"duration":34067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/hot-dev-client.js"},"startTime":1664295726665},{"traceId":"1979f6cbb13579d5","parentId":89,"name":"next-swc-transform","id":90,"timestamp":2307953663521,"duration":32378,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":74,"name":"next-swc-loader","id":89,"timestamp":2307953663511,"duration":32390,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":74,"timestamp":2307953663213,"duration":33563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/performance-relayer.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":85,"name":"next-swc-transform","id":86,"timestamp":2307953663495,"duration":33435,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":72,"name":"next-swc-loader","id":85,"timestamp":2307953663469,"duration":33463,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":72,"timestamp":2307953663130,"duration":35211,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/head-manager.js"},"startTime":1664295726666},{"traceId":"1979f6cbb13579d5","parentId":87,"name":"next-swc-transform","id":88,"timestamp":2307953663510,"duration":34879,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":73,"name":"next-swc-loader","id":87,"timestamp":2307953663497,"duration":34894,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":73,"timestamp":2307953663181,"duration":36982,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/page-loader.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":91,"name":"next-swc-transform","id":92,"timestamp":2307953663529,"duration":36687,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":75,"name":"next-swc-loader","id":91,"timestamp":2307953663522,"duration":36696,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":75,"timestamp":2307953663239,"duration":37934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/route-announcer.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":93,"name":"next-swc-transform","id":94,"timestamp":2307953663537,"duration":37665,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":76,"name":"next-swc-loader","id":93,"timestamp":2307953663530,"duration":37673,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":76,"timestamp":2307953663274,"duration":38609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/remove-base-path.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":101,"name":"next-swc-transform","id":102,"timestamp":2307953663688,"duration":38215,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":80,"name":"next-swc-loader","id":101,"timestamp":2307953663677,"duration":38227,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":80,"timestamp":2307953663367,"duration":38983,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/head-manager-context.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":95,"name":"next-swc-transform","id":96,"timestamp":2307953663544,"duration":38826,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":77,"name":"next-swc-loader","id":95,"timestamp":2307953663537,"duration":38834,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":77,"timestamp":2307953663299,"duration":40297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/has-base-path.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":99,"name":"next-swc-transform","id":100,"timestamp":2307953663675,"duration":39947,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":79,"name":"next-swc-loader","id":99,"timestamp":2307953663552,"duration":40073,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":79,"timestamp":2307953663347,"duration":40985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/mitt.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":103,"name":"next-swc-transform","id":104,"timestamp":2307953663695,"duration":40662,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":81,"name":"next-swc-loader","id":103,"timestamp":2307953663689,"duration":40670,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":81,"timestamp":2307953663387,"duration":42552,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/runtime-config.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":107,"name":"next-swc-transform","id":108,"timestamp":2307953663710,"duration":42262,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":83,"name":"next-swc-loader","id":107,"timestamp":2307953663704,"duration":42270,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":83,"timestamp":2307953663427,"duration":43110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/image-config-context.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":109,"name":"next-swc-transform","id":110,"timestamp":2307953663717,"duration":43409,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":84,"name":"next-swc-loader","id":109,"timestamp":2307953663711,"duration":43418,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":84,"timestamp":2307953663446,"duration":44187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":97,"name":"next-swc-transform","id":98,"timestamp":2307953663551,"duration":44131,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"next-swc-loader","id":97,"timestamp":2307953663545,"duration":44139,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":78,"timestamp":2307953663322,"duration":46507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/script.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":105,"name":"next-swc-transform","id":106,"timestamp":2307953663703,"duration":46166,"tags":{},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":82,"name":"next-swc-loader","id":105,"timestamp":2307953663697,"duration":46176,"tags":{},"startTime":1664295726667}] -[{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":82,"timestamp":2307953663407,"duration":50413,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/utils.js"},"startTime":1664295726667},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module","id":118,"timestamp":2307953727866,"duration":307,"tags":{"name":"undefined"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":131,"name":"next-swc-transform","id":132,"timestamp":2307953728551,"duration":1878,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":115,"name":"next-swc-loader","id":131,"timestamp":2307953728541,"duration":1894,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":53,"name":"build-module-js","id":115,"timestamp":2307953727799,"duration":3475,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/is-plain-object.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":133,"name":"next-swc-transform","id":134,"timestamp":2307953728600,"duration":2704,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":121,"name":"next-swc-loader","id":133,"timestamp":2307953728553,"duration":2753,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":121,"timestamp":2307953728213,"duration":3994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/normalize-trailing-slash.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":129,"name":"next-swc-transform","id":130,"timestamp":2307953728540,"duration":5596,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":114,"name":"next-swc-loader","id":129,"timestamp":2307953728530,"duration":5612,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":114,"timestamp":2307953727679,"duration":7782,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_app.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":127,"name":"next-swc-transform","id":128,"timestamp":2307953728528,"duration":6976,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":113,"name":"next-swc-loader","id":127,"timestamp":2307953728506,"duration":7001,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":113,"timestamp":2307953727623,"duration":8893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_error.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":137,"name":"next-swc-transform","id":138,"timestamp":2307953728618,"duration":7922,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":123,"name":"next-swc-loader","id":137,"timestamp":2307953728612,"duration":7931,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":123,"timestamp":2307953728335,"duration":9646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/detect-domain-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":141,"name":"next-swc-transform","id":142,"timestamp":2307953728635,"duration":9366,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":125,"name":"next-swc-loader","id":141,"timestamp":2307953728629,"duration":9374,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":125,"timestamp":2307953728393,"duration":10141,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/remove-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":143,"name":"next-swc-transform","id":144,"timestamp":2307953728645,"duration":14541,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":126,"name":"next-swc-loader","id":143,"timestamp":2307953728636,"duration":14554,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":126,"timestamp":2307953728415,"duration":15663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/add-base-path.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":139,"name":"next-swc-transform","id":140,"timestamp":2307953728628,"duration":15473,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":124,"name":"next-swc-loader","id":139,"timestamp":2307953728619,"duration":15484,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":124,"timestamp":2307953728360,"duration":16388,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/add-locale.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":135,"name":"next-swc-transform","id":136,"timestamp":2307953728610,"duration":16202,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":122,"name":"next-swc-loader","id":135,"timestamp":2307953728602,"duration":16211,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":122,"timestamp":2307953728305,"duration":18166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/route-loader.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":151,"name":"next-swc-transform","id":152,"timestamp":2307953733784,"duration":14482,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":145,"name":"next-swc-loader","id":151,"timestamp":2307953733766,"duration":14502,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":145,"timestamp":2307953733449,"duration":15326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":153,"name":"next-swc-transform","id":154,"timestamp":2307953733793,"duration":15002,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":146,"name":"next-swc-loader","id":153,"timestamp":2307953733785,"duration":15011,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":146,"timestamp":2307953733506,"duration":15754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":155,"name":"next-swc-transform","id":156,"timestamp":2307953733801,"duration":15481,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":147,"name":"next-swc-loader","id":155,"timestamp":2307953733794,"duration":15489,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":147,"timestamp":2307953733537,"duration":16555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/route-matcher.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":161,"name":"next-swc-transform","id":162,"timestamp":2307953733822,"duration":16285,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":150,"name":"next-swc-loader","id":161,"timestamp":2307953733816,"duration":16293,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":150,"timestamp":2307953733700,"duration":17047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/parse-path.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":159,"name":"next-swc-transform","id":160,"timestamp":2307953733815,"duration":16955,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":149,"name":"next-swc-loader","id":159,"timestamp":2307953733809,"duration":16962,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":149,"timestamp":2307953733677,"duration":18059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/format-url.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":157,"name":"next-swc-transform","id":158,"timestamp":2307953733808,"duration":17962,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":148,"name":"next-swc-loader","id":157,"timestamp":2307953733801,"duration":17970,"tags":{},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":148,"timestamp":2307953733645,"duration":19784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/route-regex.js"},"startTime":1664295726737},{"traceId":"1979f6cbb13579d5","parentId":111,"name":"read-resource","id":112,"timestamp":2307953727614,"duration":28246,"tags":{},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":111,"timestamp":2307953727574,"duration":29706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/polyfill-module.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":119,"name":"read-resource","id":120,"timestamp":2307953728204,"duration":29088,"tags":{},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":21,"name":"build-module-js","id":119,"timestamp":2307953728188,"duration":29365,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-refresh/runtime.js"},"startTime":1664295726732},{"traceId":"1979f6cbb13579d5","parentId":116,"name":"read-resource","id":117,"timestamp":2307953727843,"duration":29719,"tags":{},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"build-module-js","id":116,"timestamp":2307953727830,"duration":32146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/regenerator-runtime/runtime.js"},"startTime":1664295726731},{"traceId":"1979f6cbb13579d5","parentId":182,"name":"next-swc-transform","id":183,"timestamp":2307953765245,"duration":2313,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":168,"name":"next-swc-loader","id":182,"timestamp":2307953765238,"duration":2328,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":73,"name":"build-module-js","id":168,"timestamp":2307953764787,"duration":3421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":178,"name":"next-swc-transform","id":179,"timestamp":2307953765229,"duration":3001,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"next-swc-loader","id":178,"timestamp":2307953765221,"duration":3011,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":164,"timestamp":2307953764702,"duration":4596,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":180,"name":"next-swc-transform","id":181,"timestamp":2307953765237,"duration":4079,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":165,"name":"next-swc-loader","id":180,"timestamp":2307953765230,"duration":4087,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":165,"timestamp":2307953764734,"duration":5386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/compare-states.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"next-style-loader","id":221,"timestamp":2307953771875,"duration":196,"tags":{},"startTime":1664295726775},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-css","id":220,"timestamp":2307953770576,"duration":2569,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":176,"name":"next-swc-transform","id":177,"timestamp":2307953765219,"duration":8239,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":163,"name":"next-swc-loader","id":176,"timestamp":2307953765198,"duration":8262,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":163,"timestamp":2307953764636,"duration":9630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":188,"name":"next-swc-transform","id":189,"timestamp":2307953765266,"duration":9016,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"next-swc-loader","id":188,"timestamp":2307953765260,"duration":9023,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":171,"timestamp":2307953764851,"duration":9865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":186,"name":"next-swc-transform","id":187,"timestamp":2307953765259,"duration":9474,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":170,"name":"next-swc-loader","id":186,"timestamp":2307953765253,"duration":9481,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":77,"name":"build-module-js","id":170,"timestamp":2307953764831,"duration":10519,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":192,"name":"next-swc-transform","id":193,"timestamp":2307953765280,"duration":10086,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":173,"name":"next-swc-loader","id":192,"timestamp":2307953765274,"duration":10093,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":83,"name":"build-module-js","id":173,"timestamp":2307953764893,"duration":12237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/image-config.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":190,"name":"next-swc-transform","id":191,"timestamp":2307953765273,"duration":11875,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":172,"name":"next-swc-loader","id":190,"timestamp":2307953765267,"duration":11883,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":58,"name":"build-module-js","id":172,"timestamp":2307953764873,"duration":12734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":194,"name":"next-swc-transform","id":195,"timestamp":2307953765287,"duration":12809,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":174,"name":"next-swc-loader","id":194,"timestamp":2307953765281,"duration":12817,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":174,"timestamp":2307953764912,"duration":14594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/portal/index.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":196,"name":"next-swc-transform","id":197,"timestamp":2307953765294,"duration":14236,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":175,"name":"next-swc-loader","id":196,"timestamp":2307953765288,"duration":14243,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"build-module-js","id":175,"timestamp":2307953764932,"duration":15232,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/request-idle-callback.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":184,"name":"next-swc-transform","id":185,"timestamp":2307953765252,"duration":14949,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":169,"name":"next-swc-loader","id":184,"timestamp":2307953765246,"duration":14956,"tags":{},"startTime":1664295726769},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"build-module-js","id":169,"timestamp":2307953764810,"duration":18978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/dev/error-overlay/format-webpack-messages.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":166,"name":"read-resource","id":167,"timestamp":2307953764774,"duration":24876,"tags":{},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":33,"name":"build-module-js","id":166,"timestamp":2307953764762,"duration":25068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/router.js"},"startTime":1664295726768},{"traceId":"1979f6cbb13579d5","parentId":200,"name":"read-resource","id":201,"timestamp":2307953770375,"duration":23649,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":200,"timestamp":2307953770362,"duration":23887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_default.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"read-resource","id":199,"timestamp":2307953770348,"duration":23916,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":23,"name":"build-module-js","id":198,"timestamp":2307953770322,"duration":24176,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_to_consumable_array.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":202,"name":"read-resource","id":203,"timestamp":2307953770402,"duration":24110,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":202,"timestamp":2307953770386,"duration":24441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_construct.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":204,"name":"read-resource","id":205,"timestamp":2307953770435,"duration":24401,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":24,"name":"build-module-js","id":204,"timestamp":2307953770417,"duration":24638,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_async_to_generator.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"read-resource","id":207,"timestamp":2307953770457,"duration":24608,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":34,"name":"build-module-js","id":206,"timestamp":2307953770443,"duration":24806,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_sliced_to_array.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":208,"name":"read-resource","id":209,"timestamp":2307953770479,"duration":24780,"tags":{},"startTime":1664295726774}] -[{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":208,"timestamp":2307953770465,"duration":25069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_class_call_check.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":210,"name":"read-resource","id":211,"timestamp":2307953770502,"duration":25040,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":210,"timestamp":2307953770486,"duration":25218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_create_class.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":212,"name":"read-resource","id":213,"timestamp":2307953770521,"duration":25193,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":212,"timestamp":2307953770510,"duration":25373,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_inherits.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":214,"name":"read-resource","id":215,"timestamp":2307953770538,"duration":25354,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":214,"timestamp":2307953770527,"duration":26199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_wildcard.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"read-resource","id":217,"timestamp":2307953770554,"duration":26182,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":216,"timestamp":2307953770543,"duration":26486,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_create_super.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":218,"name":"read-resource","id":219,"timestamp":2307953770570,"duration":26472,"tags":{},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":218,"timestamp":2307953770560,"duration":26797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_extends.js"},"startTime":1664295726774},{"traceId":"1979f6cbb13579d5","parentId":228,"name":"next-swc-transform","id":229,"timestamp":2307953788898,"duration":8782,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"next-swc-loader","id":228,"timestamp":2307953788874,"duration":8809,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":113,"name":"build-module-js","id":226,"timestamp":2307953788748,"duration":10551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/head.js"},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":230,"name":"next-swc-transform","id":231,"timestamp":2307953788910,"duration":10412,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":227,"name":"next-swc-loader","id":230,"timestamp":2307953788900,"duration":10423,"tags":{},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":126,"name":"build-module-js","id":227,"timestamp":2307953788814,"duration":14193,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"},"startTime":1664295726792},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":12,"timestamp":2307953514779,"duration":288457,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":237,"name":"next-swc-transform","id":238,"timestamp":2307953793092,"duration":13455,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":236,"name":"next-swc-loader","id":237,"timestamp":2307953793071,"duration":13481,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":122,"name":"build-module-js","id":236,"timestamp":2307953792948,"duration":14283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/trusted-types.js"},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":224,"name":"read-resource","id":225,"timestamp":2307953785355,"duration":21913,"tags":{},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":72,"name":"build-module-js","id":224,"timestamp":2307953785338,"duration":22085,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_instanceof.js"},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":222,"name":"read-resource","id":223,"timestamp":2307953785241,"duration":22480,"tags":{},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-mjs","id":222,"timestamp":2307953785178,"duration":23470,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_object_spread.mjs"},"startTime":1664295726789},{"traceId":"1979f6cbb13579d5","parentId":244,"name":"next-swc-transform","id":245,"timestamp":2307953804405,"duration":4453,"tags":{},"startTime":1664295726808},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"next-swc-loader","id":244,"timestamp":2307953804372,"duration":4488,"tags":{},"startTime":1664295726808},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-tsx","id":243,"timestamp":2307953804065,"duration":5826,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/index.tsx"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":255,"name":"next-swc-transform","id":256,"timestamp":2307953811048,"duration":2005,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":248,"name":"next-swc-loader","id":255,"timestamp":2307953811024,"duration":2034,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":148,"name":"build-module-js","id":248,"timestamp":2307953810727,"duration":2930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/escape-regexp.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":257,"name":"next-swc-transform","id":258,"timestamp":2307953811058,"duration":2621,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":253,"name":"next-swc-loader","id":257,"timestamp":2307953811049,"duration":2632,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"build-module-js","id":253,"timestamp":2307953810819,"duration":3318,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":259,"name":"next-swc-transform","id":260,"timestamp":2307953811066,"duration":3236,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":254,"name":"next-swc-loader","id":259,"timestamp":2307953811059,"duration":3246,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":164,"name":"build-module-js","id":254,"timestamp":2307953810846,"duration":3905,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/add-locale.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":234,"name":"read-resource","id":235,"timestamp":2307953792936,"duration":22586,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":234,"timestamp":2307953792899,"duration":22869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/client.js"},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":268,"name":"next-swc-transform","id":269,"timestamp":2307953812802,"duration":3042,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"next-swc-loader","id":268,"timestamp":2307953812779,"duration":3066,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-ts","id":261,"timestamp":2307953812539,"duration":3704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/index.ts"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":270,"name":"next-swc-transform","id":271,"timestamp":2307953812815,"duration":3443,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":264,"name":"next-swc-loader","id":270,"timestamp":2307953812804,"duration":3456,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"build-module-js","id":264,"timestamp":2307953812640,"duration":3993,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":272,"name":"next-swc-transform","id":273,"timestamp":2307953812823,"duration":3825,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":267,"name":"next-swc-loader","id":272,"timestamp":2307953812816,"duration":3833,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":163,"name":"build-module-js","id":267,"timestamp":2307953812692,"duration":4465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":241,"name":"read-resource","id":242,"timestamp":2307953804056,"duration":13207,"tags":{},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":82,"name":"build-module-js","id":241,"timestamp":2307953804040,"duration":13608,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_wrap_native_super.js"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":239,"name":"read-resource","id":240,"timestamp":2307953804015,"duration":13643,"tags":{},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":78,"name":"build-module-js","id":239,"timestamp":2307953803954,"duration":13967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_object_without_properties_loose.js"},"startTime":1664295726807},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"read-resource","id":233,"timestamp":2307953792790,"duration":25141,"tags":{},"startTime":1664295726796},{"traceId":"1979f6cbb13579d5","parentId":246,"name":"read-resource","id":247,"timestamp":2307953810704,"duration":22478,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":119,"name":"build-module-js","id":246,"timestamp":2307953810658,"duration":25775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":249,"name":"read-resource","id":250,"timestamp":2307953810789,"duration":25672,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":249,"timestamp":2307953810775,"duration":83784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":251,"name":"read-resource","id":252,"timestamp":2307953810811,"duration":83786,"tags":{},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":251,"timestamp":2307953810799,"duration":84024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/jsx-dev-runtime.js"},"startTime":1664295726814},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":11,"timestamp":2307953514468,"duration":380551,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":296,"name":"postcss-process","id":308,"timestamp":2307954118467,"duration":273451,"tags":{},"startTime":1664295727122},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"postcss-loader","id":296,"timestamp":2307953818087,"duration":575144,"tags":{},"startTime":1664295726821},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"css-loader","id":309,"timestamp":2307954393393,"duration":30820,"tags":{"astUsed":"true"},"startTime":1664295727397},{"traceId":"1979f6cbb13579d5","parentId":262,"name":"read-resource","id":263,"timestamp":2307953812629,"duration":613027,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":25,"name":"build-module-js","id":262,"timestamp":2307953812612,"duration":613252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/index.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":265,"name":"read-resource","id":266,"timestamp":2307953812681,"duration":613263,"tags":{},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"build-module-js","id":265,"timestamp":2307953812670,"duration":614731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js"},"startTime":1664295726816},{"traceId":"1979f6cbb13579d5","parentId":306,"name":"next-swc-transform","id":307,"timestamp":2307953895506,"duration":532212,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":301,"name":"next-swc-loader","id":306,"timestamp":2307953895498,"duration":532222,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":301,"timestamp":2307953895363,"duration":532827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/amp-mode.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":304,"name":"next-swc-transform","id":305,"timestamp":2307953895498,"duration":532710,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":300,"name":"next-swc-loader","id":304,"timestamp":2307953895488,"duration":532720,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":300,"timestamp":2307953895335,"duration":533264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/amp-context.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":302,"name":"next-swc-transform","id":303,"timestamp":2307953895486,"duration":534411,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":299,"name":"next-swc-loader","id":302,"timestamp":2307953895459,"duration":534441,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":226,"name":"build-module-js","id":299,"timestamp":2307953895272,"duration":535207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/side-effect.js"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":274,"name":"read-resource","id":275,"timestamp":2307953815139,"duration":615475,"tags":{},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":49,"name":"build-module-js","id":274,"timestamp":2307953815113,"duration":615787,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-is/index.js"},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":278,"name":"read-resource","id":279,"timestamp":2307953815182,"duration":615733,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":278,"timestamp":2307953815172,"duration":615941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_iterable_to_array.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":276,"name":"read-resource","id":277,"timestamp":2307953815163,"duration":615960,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":276,"timestamp":2307953815150,"duration":616251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_without_holes.js"},"startTime":1664295726818},{"traceId":"1979f6cbb13579d5","parentId":280,"name":"read-resource","id":281,"timestamp":2307953815204,"duration":616206,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":280,"timestamp":2307953815195,"duration":616333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_non_iterable_spread.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":284,"name":"read-resource","id":285,"timestamp":2307953815241,"duration":616294,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":202,"name":"build-module-js","id":284,"timestamp":2307953815232,"duration":616440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_set_prototype_of.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":286,"name":"read-resource","id":287,"timestamp":2307953815258,"duration":616424,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"build-module-js","id":286,"timestamp":2307953815249,"duration":616532,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_with_holes.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":290,"name":"read-resource","id":291,"timestamp":2307953815300,"duration":616487,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":290,"timestamp":2307953815286,"duration":616648,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_is_native_reflect_construct.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":288,"name":"read-resource","id":289,"timestamp":2307953815279,"duration":616663,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":206,"name":"build-module-js","id":288,"timestamp":2307953815269,"duration":616757,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_non_iterable_rest.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":282,"name":"read-resource","id":283,"timestamp":2307953815221,"duration":616813,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":198,"name":"build-module-js","id":282,"timestamp":2307953815212,"duration":617071,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_unsupported_iterable_to_array.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":292,"name":"read-resource","id":293,"timestamp":2307953815316,"duration":616975,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":292,"timestamp":2307953815307,"duration":617105,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_get_prototype_of.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"read-resource","id":295,"timestamp":2307953815336,"duration":618285,"tags":{},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":216,"name":"build-module-js","id":294,"timestamp":2307953815327,"duration":618501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_possible_constructor_return.js"},"startTime":1664295726819},{"traceId":"1979f6cbb13579d5","parentId":297,"name":"read-resource","id":298,"timestamp":2307953895253,"duration":540570,"tags":{},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":222,"name":"build-module-mjs","id":297,"timestamp":2307953895205,"duration":540809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_define_property.mjs"},"startTime":1664295726899},{"traceId":"1979f6cbb13579d5","parentId":310,"name":"read-resource","id":311,"timestamp":2307954433331,"duration":6866,"tags":{},"startTime":1664295727437}] -[{"traceId":"1979f6cbb13579d5","parentId":241,"name":"build-module-js","id":310,"timestamp":2307954433270,"duration":7476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_is_native_function.js"},"startTime":1664295727437},{"traceId":"1979f6cbb13579d5","parentId":315,"name":"next-swc-transform","id":316,"timestamp":2307954438123,"duration":2775,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":312,"name":"next-swc-loader","id":315,"timestamp":2307954438082,"duration":2818,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":312,"timestamp":2307954437852,"duration":3809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/types.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":317,"name":"next-swc-transform","id":318,"timestamp":2307954438134,"duration":3564,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":313,"name":"next-swc-loader","id":317,"timestamp":2307954438125,"duration":3574,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":313,"timestamp":2307954437956,"duration":5514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/features.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":319,"name":"next-swc-transform","id":320,"timestamp":2307954438142,"duration":6613,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"next-swc-loader","id":319,"timestamp":2307954438135,"duration":6623,"tags":{},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-tsx","id":314,"timestamp":2307954437988,"duration":8536,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664295727441},{"traceId":"1979f6cbb13579d5","parentId":333,"name":"next-swc-transform","id":334,"timestamp":2307954439006,"duration":7547,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":324,"name":"next-swc-loader","id":333,"timestamp":2307954438990,"duration":7564,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":171,"name":"build-module-js","id":324,"timestamp":2307954438879,"duration":8058,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/index.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":331,"name":"next-swc-transform","id":332,"timestamp":2307954438989,"duration":7966,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":321,"name":"next-swc-loader","id":331,"timestamp":2307954438974,"duration":7982,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":69,"name":"build-module-js","id":321,"timestamp":2307954438815,"duration":8645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/strip-ansi/index.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":345,"name":"next-swc-transform","id":346,"timestamp":2307954444064,"duration":3856,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":340,"name":"next-swc-loader","id":345,"timestamp":2307954444056,"duration":3866,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"build-module-ts","id":340,"timestamp":2307954443938,"duration":4366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":220,"name":"build-module-css","id":232,"timestamp":2307953790137,"duration":660535,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295726793},{"traceId":"1979f6cbb13579d5","parentId":343,"name":"next-swc-transform","id":344,"timestamp":2307954444054,"duration":6641,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":339,"name":"next-swc-loader","id":343,"timestamp":2307954444037,"duration":6659,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":261,"name":"build-module-ts","id":339,"timestamp":2307954443888,"duration":7252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/theme.ts"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":327,"name":"read-resource","id":328,"timestamp":2307954438935,"duration":12718,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":262,"name":"build-module-js","id":327,"timestamp":2307954438924,"duration":26114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/cjs/react.development.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":322,"name":"read-resource","id":323,"timestamp":2307954438869,"duration":26197,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":74,"name":"build-module-js","id":322,"timestamp":2307954438854,"duration":27892,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/web-vitals/web-vitals.umd.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":325,"name":"read-resource","id":326,"timestamp":2307954438917,"duration":27842,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":251,"name":"build-module-js","id":325,"timestamp":2307954438906,"duration":32804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react/cjs/react-jsx-dev-runtime.development.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":329,"name":"read-resource","id":330,"timestamp":2307954438951,"duration":32802,"tags":{},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":276,"name":"build-module-js","id":329,"timestamp":2307954438940,"duration":33055,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_array_like_to_array.js"},"startTime":1664295727442},{"traceId":"1979f6cbb13579d5","parentId":335,"name":"read-resource","id":336,"timestamp":2307954440810,"duration":32517,"tags":{},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"build-module-js","id":335,"timestamp":2307954440788,"duration":32714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_assert_this_initialized.js"},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":337,"name":"read-resource","id":338,"timestamp":2307954440836,"duration":32673,"tags":{},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":294,"name":"build-module-js","id":337,"timestamp":2307954440820,"duration":32838,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_type_of.js"},"startTime":1664295727444},{"traceId":"1979f6cbb13579d5","parentId":341,"name":"read-resource","id":342,"timestamp":2307954443977,"duration":30194,"tags":{},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":274,"name":"build-module-js","id":341,"timestamp":2307954443964,"duration":31479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js"},"startTime":1664295727447},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"read-resource","id":348,"timestamp":2307954474110,"duration":3724,"tags":{},"startTime":1664295727477},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":347,"timestamp":2307954474070,"duration":4051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/index.js"},"startTime":1664295727477},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"read-resource","id":351,"timestamp":2307954476425,"duration":2332,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":350,"timestamp":2307954476409,"duration":2634,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/index.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"read-resource","id":353,"timestamp":2307954476452,"duration":2612,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":352,"timestamp":2307954476438,"duration":2808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/index.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":359,"name":"next-swc-transform","id":360,"timestamp":2307954477787,"duration":1478,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"next-swc-loader","id":359,"timestamp":2307954477711,"duration":1555,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":243,"name":"build-module-ts","id":358,"timestamp":2307954477544,"duration":2120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":366,"name":"next-swc-transform","id":367,"timestamp":2307954478505,"duration":2049,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":361,"name":"next-swc-loader","id":366,"timestamp":2307954478491,"duration":2065,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-ts","id":361,"timestamp":2307954478351,"duration":3285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/chain-infos.ts"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":354,"name":"next-swc-transform","id":355,"timestamp":2307954476488,"duration":5191,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":349,"name":"next-swc-loader","id":354,"timestamp":2307954476459,"duration":5221,"tags":{},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":324,"name":"build-module-js","id":349,"timestamp":2307954476345,"duration":6739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js"},"startTime":1664295727480},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":15,"timestamp":2307953514826,"duration":970211,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":356,"name":"read-resource","id":357,"timestamp":2307954477532,"duration":7687,"tags":{},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":232,"name":"build-module-js","id":356,"timestamp":2307954477506,"duration":8195,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js"},"startTime":1664295727481},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"read-resource","id":365,"timestamp":2307954478432,"duration":8065,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":66,"name":"build-module-js","id":364,"timestamp":2307954478421,"duration":10502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/dist/index.esm.js"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":362,"name":"read-resource","id":363,"timestamp":2307954478410,"duration":10529,"tags":{},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":174,"name":"build-module-js","id":362,"timestamp":2307954478397,"duration":10820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/index.js"},"startTime":1664295727482},{"traceId":"1979f6cbb13579d5","parentId":368,"name":"read-resource","id":369,"timestamp":2307954486071,"duration":8502,"tags":{},"startTime":1664295727489},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-mjs","id":368,"timestamp":2307954486040,"duration":9023,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_async_to_generator.mjs"},"startTime":1664295727489},{"traceId":"1979f6cbb13579d5","parentId":395,"name":"next-swc-transform","id":396,"timestamp":2307954497002,"duration":1094,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":386,"name":"next-swc-loader","id":395,"timestamp":2307954496995,"duration":1109,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":386,"timestamp":2307954496828,"duration":2541,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":391,"name":"next-swc-transform","id":392,"timestamp":2307954496985,"duration":3362,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":384,"name":"next-swc-loader","id":391,"timestamp":2307954496963,"duration":3386,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":384,"timestamp":2307954496740,"duration":8821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":401,"name":"next-swc-transform","id":402,"timestamp":2307954497021,"duration":8593,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":389,"name":"next-swc-loader","id":401,"timestamp":2307954497016,"duration":8600,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":389,"timestamp":2307954496899,"duration":9498,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":399,"name":"next-swc-transform","id":400,"timestamp":2307954497015,"duration":9417,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":388,"name":"next-swc-loader","id":399,"timestamp":2307954497009,"duration":9424,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":388,"timestamp":2307954496878,"duration":11167,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":374,"name":"read-resource","id":375,"timestamp":2307954493142,"duration":15130,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":374,"timestamp":2307954493130,"duration":28876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/ibc.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":370,"name":"read-resource","id":371,"timestamp":2307954493091,"duration":28978,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":370,"timestamp":2307954493047,"duration":40106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/assets.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":372,"name":"read-resource","id":373,"timestamp":2307954493123,"duration":40060,"tags":{},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":372,"timestamp":2307954493109,"duration":49490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/chain-registry/main/chains.js"},"startTime":1664295727496},{"traceId":"1979f6cbb13579d5","parentId":376,"name":"read-resource","id":377,"timestamp":2307954494005,"duration":49380,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":376,"timestamp":2307954493987,"duration":49875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/hooks.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":378,"name":"read-resource","id":379,"timestamp":2307954494024,"duration":49847,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":378,"timestamp":2307954494013,"duration":50403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/provider.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"read-resource","id":381,"timestamp":2307954494041,"duration":50385,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"build-module-js","id":380,"timestamp":2307954494030,"duration":50556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/wallet.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":382,"name":"read-resource","id":383,"timestamp":2307954494061,"duration":50533,"tags":{},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":352,"name":"build-module-js","id":382,"timestamp":2307954494048,"duration":50875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/config/module/utils.js"},"startTime":1664295727497},{"traceId":"1979f6cbb13579d5","parentId":397,"name":"next-swc-transform","id":398,"timestamp":2307954497008,"duration":47952,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":387,"name":"next-swc-loader","id":397,"timestamp":2307954497002,"duration":47960,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":387,"timestamp":2307954496852,"duration":48656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":393,"name":"next-swc-transform","id":394,"timestamp":2307954496995,"duration":48574,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":385,"name":"next-swc-loader","id":393,"timestamp":2307954496987,"duration":48583,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":385,"timestamp":2307954496800,"duration":52355,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/astronaut.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":403,"name":"next-swc-transform","id":404,"timestamp":2307954497112,"duration":55110,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"next-swc-loader","id":403,"timestamp":2307954497022,"duration":55203,"tags":{},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":358,"name":"build-module-tsx","id":390,"timestamp":2307954496920,"duration":57505,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664295727500},{"traceId":"1979f6cbb13579d5","parentId":405,"name":"read-resource","id":406,"timestamp":2307954497811,"duration":64259,"tags":{},"startTime":1664295727501},{"traceId":"1979f6cbb13579d5","parentId":362,"name":"build-module-js","id":405,"timestamp":2307954497794,"duration":163559,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-dom/cjs/react-dom.development.js"},"startTime":1664295727501},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":16,"timestamp":2307953514838,"duration":1158376,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":407,"name":"read-resource","id":408,"timestamp":2307954664973,"duration":8551,"tags":{},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":314,"name":"build-module-js","id":407,"timestamp":2307954664937,"duration":19586,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/fi/index.esm.js"},"startTime":1664295727668}] -[{"traceId":"1979f6cbb13579d5","parentId":409,"name":"read-resource","id":410,"timestamp":2307954664997,"duration":20380,"tags":{},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":350,"name":"build-module-js","id":409,"timestamp":2307954664983,"duration":21244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/index.js"},"startTime":1664295727668},{"traceId":"1979f6cbb13579d5","parentId":411,"name":"read-resource","id":412,"timestamp":2307954665915,"duration":21756,"tags":{},"startTime":1664295727669},{"traceId":"1979f6cbb13579d5","parentId":347,"name":"build-module-js","id":411,"timestamp":2307954665869,"duration":22339,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/interopRequireDefault.js"},"startTime":1664295727669},{"traceId":"1979f6cbb13579d5","parentId":413,"name":"read-resource","id":414,"timestamp":2307954668168,"duration":23508,"tags":{},"startTime":1664295727672},{"traceId":"1979f6cbb13579d5","parentId":313,"name":"build-module-js","id":413,"timestamp":2307954668143,"duration":25281,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/icons/dist/index.esm.js"},"startTime":1664295727672},{"traceId":"1979f6cbb13579d5","parentId":415,"name":"read-resource","id":416,"timestamp":2307954686849,"duration":9237,"tags":{},"startTime":1664295727690},{"traceId":"1979f6cbb13579d5","parentId":385,"name":"build-module-mjs","id":415,"timestamp":2307954686806,"duration":9646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/src/_object_spread_props.mjs"},"startTime":1664295727690},{"traceId":"1979f6cbb13579d5","parentId":432,"name":"next-swc-transform","id":433,"timestamp":2307954702596,"duration":1556,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"next-swc-loader","id":432,"timestamp":2307954702571,"duration":1588,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-ts","id":431,"timestamp":2307954702518,"duration":2103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/index.ts"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":417,"name":"read-resource","id":418,"timestamp":2307954696919,"duration":11133,"tags":{},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":384,"name":"build-module-js","id":417,"timestamp":2307954696882,"duration":66507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/io5/index.esm.js"},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":423,"name":"read-resource","id":424,"timestamp":2307954700380,"duration":63597,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":423,"timestamp":2307954700367,"duration":63984,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/utils/modal-head.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":425,"name":"read-resource","id":426,"timestamp":2307954700400,"duration":63961,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":425,"timestamp":2307954700389,"duration":68561,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/utils/modal-content.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"read-resource","id":422,"timestamp":2307954700358,"duration":68609,"tags":{},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":421,"timestamp":2307954700333,"duration":73344,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectModal.js"},"startTime":1664295727704},{"traceId":"1979f6cbb13579d5","parentId":419,"name":"read-resource","id":420,"timestamp":2307954696944,"duration":80093,"tags":{},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":388,"name":"build-module-js","id":419,"timestamp":2307954696929,"duration":170785,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/fa/index.esm.js"},"startTime":1664295727700},{"traceId":"1979f6cbb13579d5","parentId":429,"name":"read-resource","id":430,"timestamp":2307954702509,"duration":165603,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":429,"timestamp":2307954702498,"duration":186699,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/gr/index.esm.js"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":434,"name":"read-resource","id":435,"timestamp":2307954706975,"duration":189484,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":434,"timestamp":2307954706943,"duration":191032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/alert/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":440,"name":"read-resource","id":441,"timestamp":2307954707043,"duration":190952,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":440,"timestamp":2307954707031,"duration":191264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":436,"name":"read-resource","id":437,"timestamp":2307954707001,"duration":191303,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":436,"timestamp":2307954706986,"duration":199218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/avatar/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"read-resource","id":439,"timestamp":2307954707022,"duration":199212,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":438,"timestamp":2307954707010,"duration":202526,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":446,"name":"read-resource","id":447,"timestamp":2307954707107,"duration":202442,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":446,"timestamp":2307954707090,"duration":203719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/css-reset/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":448,"name":"read-resource","id":449,"timestamp":2307954707124,"duration":203695,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":448,"timestamp":2307954707114,"duration":209964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/hooks/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":444,"name":"read-resource","id":445,"timestamp":2307954707083,"duration":210029,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":444,"timestamp":2307954707072,"duration":210720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/control-box/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":442,"name":"read-resource","id":443,"timestamp":2307954707064,"duration":210738,"tags":{},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":442,"timestamp":2307954707053,"duration":211546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/breadcrumb/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":452,"name":"read-resource","id":453,"timestamp":2307954707250,"duration":211359,"tags":{},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":452,"timestamp":2307954707239,"duration":212089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/counter/dist/index.esm.js"},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":450,"name":"read-resource","id":451,"timestamp":2307954707230,"duration":212113,"tags":{},"startTime":1664295727711},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":450,"timestamp":2307954707130,"duration":213207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295727710},{"traceId":"1979f6cbb13579d5","parentId":427,"name":"read-resource","id":428,"timestamp":2307954702489,"duration":217891,"tags":{},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":427,"timestamp":2307954702466,"duration":332562,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/ri/index.esm.js"},"startTime":1664295727706},{"traceId":"1979f6cbb13579d5","parentId":454,"name":"read-resource","id":455,"timestamp":2307954775101,"duration":267600,"tags":{},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":454,"timestamp":2307954775051,"duration":274956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/image/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":458,"name":"read-resource","id":459,"timestamp":2307954775152,"duration":274875,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":458,"timestamp":2307954775141,"duration":275929,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":456,"name":"read-resource","id":457,"timestamp":2307954775132,"duration":275947,"tags":{},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":456,"timestamp":2307954775118,"duration":277300,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295727778},{"traceId":"1979f6cbb13579d5","parentId":460,"name":"read-resource","id":461,"timestamp":2307954775170,"duration":277259,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":460,"timestamp":2307954775160,"duration":277878,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/portal/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":462,"name":"read-resource","id":463,"timestamp":2307954775195,"duration":277855,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":462,"timestamp":2307954775185,"duration":278727,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/progress/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":464,"name":"read-resource","id":465,"timestamp":2307954775217,"duration":278708,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":464,"timestamp":2307954775207,"duration":280443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"read-resource","id":469,"timestamp":2307954775256,"duration":280425,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":468,"timestamp":2307954775247,"duration":281739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":466,"name":"read-resource","id":467,"timestamp":2307954775238,"duration":281817,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":466,"timestamp":2307954775228,"duration":282097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/spinner/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":470,"name":"read-resource","id":471,"timestamp":2307954775271,"duration":282063,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":470,"timestamp":2307954775262,"duration":282574,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/table/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":472,"name":"read-resource","id":473,"timestamp":2307954775291,"duration":282554,"tags":{},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":472,"timestamp":2307954775278,"duration":282976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295727779},{"traceId":"1979f6cbb13579d5","parentId":478,"name":"read-resource","id":479,"timestamp":2307954891885,"duration":171170,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":478,"timestamp":2307954891873,"duration":171801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/textarea/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":476,"name":"read-resource","id":477,"timestamp":2307954891863,"duration":171821,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":476,"timestamp":2307954891848,"duration":172512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tag/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"read-resource","id":475,"timestamp":2307954891834,"duration":172535,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":474,"timestamp":2307954891779,"duration":175372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tabs/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":480,"name":"read-resource","id":481,"timestamp":2307954891903,"duration":175262,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":480,"timestamp":2307954891892,"duration":177584,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/toast/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":488,"name":"read-resource","id":489,"timestamp":2307954891985,"duration":177522,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":488,"timestamp":2307954891976,"duration":179563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"read-resource","id":491,"timestamp":2307954892003,"duration":179551,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":490,"timestamp":2307954891992,"duration":181120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/tooltip/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":484,"name":"read-resource","id":485,"timestamp":2307954891946,"duration":181176,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":484,"timestamp":2307954891935,"duration":181343,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"read-resource","id":487,"timestamp":2307954891966,"duration":181320,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":486,"timestamp":2307954891957,"duration":190830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"read-resource","id":493,"timestamp":2307954892020,"duration":190796,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":380,"name":"build-module-js","id":492,"timestamp":2307954892010,"duration":191807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/index.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"read-resource","id":483,"timestamp":2307954891919,"duration":191940,"tags":{},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":482,"timestamp":2307954891909,"duration":204419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/theme/dist/index.esm.js"},"startTime":1664295727895},{"traceId":"1979f6cbb13579d5","parentId":494,"name":"read-resource","id":495,"timestamp":2307955124981,"duration":5147,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":409,"name":"build-module-js","id":494,"timestamp":2307955124932,"duration":5497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/defineProperty.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"read-resource","id":497,"timestamp":2307955125006,"duration":5433,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":496,"timestamp":2307955124991,"duration":7053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":498,"name":"read-resource","id":499,"timestamp":2307955125027,"duration":7030,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":498,"timestamp":2307955125012,"duration":8277,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/button/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"read-resource","id":505,"timestamp":2307955125077,"duration":8224,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":504,"timestamp":2307955125068,"duration":8998,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"read-resource","id":501,"timestamp":2307955125043,"duration":9032,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":500,"timestamp":2307955125033,"duration":11046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"read-resource","id":507,"timestamp":2307955125092,"duration":11006,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":506,"timestamp":2307955125082,"duration":13894,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/modal/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"read-resource","id":503,"timestamp":2307955125061,"duration":13941,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":502,"timestamp":2307955125051,"duration":21144,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/layout/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"read-resource","id":511,"timestamp":2307955125125,"duration":21183,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":510,"timestamp":2307955125117,"duration":24537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/dist/index.esm.js"},"startTime":1664295728128}] -[{"traceId":"1979f6cbb13579d5","parentId":512,"name":"read-resource","id":513,"timestamp":2307955125141,"duration":24738,"tags":{},"startTime":1664295728129},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":512,"timestamp":2307955125131,"duration":27362,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"read-resource","id":509,"timestamp":2307955125112,"duration":27476,"tags":{},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":508,"timestamp":2307955125102,"duration":30252,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/number-input/dist/index.esm.js"},"startTime":1664295728128},{"traceId":"1979f6cbb13579d5","parentId":546,"name":"next-swc-transform","id":547,"timestamp":2307955129413,"duration":27875,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"next-swc-loader","id":546,"timestamp":2307955129386,"duration":27908,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":532,"timestamp":2307955129152,"duration":28874,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":552,"name":"next-swc-transform","id":553,"timestamp":2307955129437,"duration":28615,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":535,"name":"next-swc-loader","id":552,"timestamp":2307955129431,"duration":28623,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":535,"timestamp":2307955129247,"duration":29299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":550,"name":"next-swc-transform","id":551,"timestamp":2307955129430,"duration":29137,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":534,"name":"next-swc-loader","id":550,"timestamp":2307955129423,"duration":29145,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":534,"timestamp":2307955129226,"duration":29814,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":548,"name":"next-swc-transform","id":549,"timestamp":2307955129422,"duration":29645,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":533,"name":"next-swc-loader","id":548,"timestamp":2307955129414,"duration":29654,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":533,"timestamp":2307955129201,"duration":30518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":556,"name":"next-swc-transform","id":557,"timestamp":2307955129449,"duration":31182,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":537,"name":"next-swc-loader","id":556,"timestamp":2307955129444,"duration":31190,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":537,"timestamp":2307955129287,"duration":31873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":554,"name":"next-swc-transform","id":555,"timestamp":2307955129443,"duration":31738,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":536,"name":"next-swc-loader","id":554,"timestamp":2307955129437,"duration":31746,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":431,"name":"build-module-tsx","id":536,"timestamp":2307955129267,"duration":32405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":514,"name":"read-resource","id":515,"timestamp":2307955126305,"duration":37460,"tags":{},"startTime":1664295728130},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":514,"timestamp":2307955126289,"duration":38935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/radio/dist/index.esm.js"},"startTime":1664295728130},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"read-resource","id":517,"timestamp":2307955127529,"duration":37901,"tags":{},"startTime":1664295728131},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":516,"timestamp":2307955127456,"duration":43136,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/dist/index.esm.js"},"startTime":1664295728131},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"read-resource","id":521,"timestamp":2307955129052,"duration":43224,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":520,"timestamp":2307955129039,"duration":44479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":522,"name":"read-resource","id":523,"timestamp":2307955129071,"duration":44457,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":522,"timestamp":2307955129061,"duration":45126,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/select/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":524,"name":"read-resource","id":525,"timestamp":2307955129089,"duration":45107,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":524,"timestamp":2307955129079,"duration":45712,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/stat/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"read-resource","id":529,"timestamp":2307955129127,"duration":45671,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":528,"timestamp":2307955129117,"duration":45881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/provider/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"read-resource","id":527,"timestamp":2307955129110,"duration":45897,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":526,"timestamp":2307955129100,"duration":46349,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"read-resource","id":531,"timestamp":2307955129144,"duration":46312,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":386,"name":"build-module-js","id":530,"timestamp":2307955129135,"duration":46410,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/index.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":538,"name":"read-resource","id":539,"timestamp":2307955129320,"duration":46233,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":538,"timestamp":2307955129311,"duration":46400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/motion-component.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"read-resource","id":519,"timestamp":2307955129029,"duration":46688,"tags":{},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":364,"name":"build-module-js","id":518,"timestamp":2307955129009,"duration":57087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/dist/index.esm.js"},"startTime":1664295728132},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"read-resource","id":545,"timestamp":2307955129376,"duration":56907,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":423,"name":"build-module-js","id":544,"timestamp":2307955129366,"duration":57119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/index.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"read-resource","id":543,"timestamp":2307955129354,"duration":57140,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":407,"name":"build-module-js","id":542,"timestamp":2307955129345,"duration":57238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/index.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":540,"name":"read-resource","id":541,"timestamp":2307955129338,"duration":57254,"tags":{},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-js","id":540,"timestamp":2307955129328,"duration":72707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bowser/es5.js"},"startTime":1664295728133},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"read-resource","id":559,"timestamp":2307955278690,"duration":5062,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":390,"name":"build-module-js","id":558,"timestamp":2307955278637,"duration":5521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/headlessui.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":562,"name":"read-resource","id":563,"timestamp":2307955278738,"duration":6351,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":425,"name":"build-module-js","id":562,"timestamp":2307955278726,"duration":11839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/go/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"read-resource","id":571,"timestamp":2307955278813,"duration":11786,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"build-module-js","id":570,"timestamp":2307955278803,"duration":11947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/index.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":566,"name":"read-resource","id":567,"timestamp":2307955278780,"duration":11978,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":413,"name":"build-module-js","id":566,"timestamp":2307955278769,"duration":12613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":564,"name":"read-resource","id":565,"timestamp":2307955278758,"duration":12692,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":405,"name":"build-module-js","id":564,"timestamp":2307955278746,"duration":12970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/scheduler/index.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"read-resource","id":569,"timestamp":2307955278797,"duration":12932,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":568,"timestamp":2307955278786,"duration":13919,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react/dist/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"read-resource","id":573,"timestamp":2307955280934,"duration":13518,"tags":{},"startTime":1664295728284},{"traceId":"1979f6cbb13579d5","parentId":492,"name":"build-module-js","id":572,"timestamp":2307955280890,"duration":13695,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/index.js"},"startTime":1664295728284},{"traceId":"1979f6cbb13579d5","parentId":560,"name":"read-resource","id":561,"timestamp":2307955278718,"duration":15896,"tags":{},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":560,"timestamp":2307955278702,"duration":80670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/bs/index.esm.js"},"startTime":1664295728282},{"traceId":"1979f6cbb13579d5","parentId":578,"name":"read-resource","id":579,"timestamp":2307955282352,"duration":84722,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":442,"name":"build-module-js","id":578,"timestamp":2307955282341,"duration":85313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":576,"name":"read-resource","id":577,"timestamp":2307955282336,"duration":85333,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":576,"timestamp":2307955282323,"duration":86423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":574,"name":"read-resource","id":575,"timestamp":2307955282316,"duration":86441,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":574,"timestamp":2307955282291,"duration":86691,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":582,"name":"read-resource","id":583,"timestamp":2307955283054,"duration":86361,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":434,"name":"build-module-js","id":582,"timestamp":2307955283043,"duration":86661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":584,"name":"read-resource","id":585,"timestamp":2307955283069,"duration":86649,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":584,"timestamp":2307955283059,"duration":87287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":592,"name":"read-resource","id":593,"timestamp":2307955283130,"duration":87230,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"build-module-js","id":592,"timestamp":2307955283120,"duration":87865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/anatomy/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":580,"name":"read-resource","id":581,"timestamp":2307955283036,"duration":87960,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":580,"timestamp":2307955283020,"duration":88876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":590,"name":"read-resource","id":591,"timestamp":2307955283116,"duration":88889,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":482,"name":"build-module-js","id":590,"timestamp":2307955283106,"duration":90010,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/theme-tools/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":586,"name":"read-resource","id":587,"timestamp":2307955283084,"duration":90043,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":586,"timestamp":2307955283074,"duration":95975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":588,"name":"read-resource","id":589,"timestamp":2307955283099,"duration":95972,"tags":{},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":421,"name":"build-module-js","id":588,"timestamp":2307955283090,"duration":103006,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/qrcode.react/lib/esm/index.js"},"startTime":1664295728286},{"traceId":"1979f6cbb13579d5","parentId":596,"name":"read-resource","id":597,"timestamp":2307955399532,"duration":9090,"tags":{},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":596,"timestamp":2307955399518,"duration":9775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-fast-compare/index.js"},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":594,"name":"read-resource","id":595,"timestamp":2307955399505,"duration":9800,"tags":{},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":448,"name":"build-module-js","id":594,"timestamp":2307955399458,"duration":10282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/copy-to-clipboard/index.js"},"startTime":1664295728403},{"traceId":"1979f6cbb13579d5","parentId":602,"name":"read-resource","id":603,"timestamp":2307955402490,"duration":8602,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":458,"name":"build-module-js","id":602,"timestamp":2307955402470,"duration":9393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/breakpoint-utils/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":600,"name":"read-resource","id":601,"timestamp":2307955402463,"duration":9416,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":600,"timestamp":2307955402446,"duration":9617,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":604,"name":"read-resource","id":605,"timestamp":2307955402507,"duration":9564,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":604,"timestamp":2307955402496,"duration":9736,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":606,"name":"read-resource","id":607,"timestamp":2307955402523,"duration":9719,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":606,"timestamp":2307955402512,"duration":9835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/lazy-utils/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":598,"name":"read-resource","id":599,"timestamp":2307955402436,"duration":9918,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":598,"timestamp":2307955402405,"duration":10061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-update-effect/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":608,"name":"read-resource","id":609,"timestamp":2307955402541,"duration":11113,"tags":{},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-js","id":608,"timestamp":2307955402531,"duration":11347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-safe-layout-effect/dist/index.esm.js"},"startTime":1664295728406},{"traceId":"1979f6cbb13579d5","parentId":614,"name":"read-resource","id":615,"timestamp":2307955407471,"duration":9825,"tags":{},"startTime":1664295728411}] -[{"traceId":"1979f6cbb13579d5","parentId":480,"name":"build-module-js","id":614,"timestamp":2307955407459,"duration":10474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-timeout/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":610,"name":"read-resource","id":611,"timestamp":2307955407423,"duration":10538,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":450,"name":"build-module-js","id":610,"timestamp":2307955407367,"duration":10865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/shared-utils/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"read-resource","id":617,"timestamp":2307955407492,"duration":10749,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"build-module-js","id":616,"timestamp":2307955407479,"duration":12119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":612,"name":"read-resource","id":613,"timestamp":2307955407450,"duration":12161,"tags":{},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":474,"name":"build-module-js","id":612,"timestamp":2307955407436,"duration":18263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-children-utils/dist/index.esm.js"},"startTime":1664295728411},{"traceId":"1979f6cbb13579d5","parentId":622,"name":"read-resource","id":623,"timestamp":2307955410028,"duration":18709,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"build-module-js","id":622,"timestamp":2307955410018,"duration":19117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-event-listener/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":618,"name":"read-resource","id":619,"timestamp":2307955409987,"duration":19169,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":502,"name":"build-module-js","id":618,"timestamp":2307955409962,"duration":19456,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"read-resource","id":621,"timestamp":2307955410010,"duration":19420,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-mjs","id":620,"timestamp":2307955409998,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/index.mjs"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":624,"name":"read-resource","id":625,"timestamp":2307955410044,"duration":20121,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":498,"name":"build-module-js","id":624,"timestamp":2307955410034,"duration":20375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/spinner/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":626,"name":"read-resource","id":627,"timestamp":2307955410062,"duration":20393,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"build-module-js","id":626,"timestamp":2307955410053,"duration":21273,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"read-resource","id":629,"timestamp":2307955410079,"duration":22401,"tags":{},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":464,"name":"build-module-js","id":628,"timestamp":2307955410069,"duration":22554,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/index.js"},"startTime":1664295728413},{"traceId":"1979f6cbb13579d5","parentId":630,"name":"read-resource","id":631,"timestamp":2307955412808,"duration":20188,"tags":{},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":630,"timestamp":2307955412762,"duration":20425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/types.js"},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":632,"name":"read-resource","id":633,"timestamp":2307955412840,"duration":20373,"tags":{},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":632,"timestamp":2307955412826,"duration":23003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/wallet-manager.js"},"startTime":1664295728416},{"traceId":"1979f6cbb13579d5","parentId":634,"name":"read-resource","id":635,"timestamp":2307955416078,"duration":24672,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":490,"name":"build-module-js","id":634,"timestamp":2307955416050,"duration":25271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":640,"name":"read-resource","id":641,"timestamp":2307955416126,"duration":25210,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":640,"timestamp":2307955416116,"duration":25410,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectWalletButton.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":642,"name":"read-resource","id":643,"timestamp":2307955416139,"duration":25394,"tags":{},"startTime":1664295728420},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":642,"timestamp":2307955416130,"duration":25667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/ConnectWalletCard.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":638,"name":"read-resource","id":639,"timestamp":2307955416112,"duration":25692,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":438,"name":"build-module-mjs","id":638,"timestamp":2307955416101,"duration":26196,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@zag-js/focus-visible/dist/index.mjs"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":636,"name":"read-resource","id":637,"timestamp":2307955416097,"duration":26209,"tags":{},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":504,"name":"build-module-js","id":636,"timestamp":2307955416084,"duration":26436,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/object-utils/dist/index.esm.js"},"startTime":1664295728419},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"read-resource","id":647,"timestamp":2307955459828,"duration":9255,"tags":{},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":646,"timestamp":2307955459814,"duration":10098,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js"},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":644,"name":"read-resource","id":645,"timestamp":2307955459802,"duration":10135,"tags":{},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":644,"timestamp":2307955459759,"duration":10646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/SimpleCopyAddressButton.js"},"startTime":1664295728463},{"traceId":"1979f6cbb13579d5","parentId":650,"name":"read-resource","id":651,"timestamp":2307955463016,"duration":8682,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":650,"timestamp":2307955463001,"duration":9382,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/portal/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"read-resource","id":653,"timestamp":2307955463034,"duration":9360,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":652,"timestamp":2307955463023,"duration":9629,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/focus-lock/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":658,"name":"read-resource","id":659,"timestamp":2307955463095,"duration":9566,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":658,"timestamp":2307955463086,"duration":10196,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/default-component.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"read-resource","id":649,"timestamp":2307955462987,"duration":10302,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":468,"name":"build-module-js","id":648,"timestamp":2307955462856,"duration":13825,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/dist/emotion-react.browser.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":654,"name":"read-resource","id":655,"timestamp":2307955463062,"duration":15558,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":654,"timestamp":2307955463040,"duration":16604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":660,"name":"read-resource","id":661,"timestamp":2307955463112,"duration":16547,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":660,"timestamp":2307955463102,"duration":17848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/css-box-model/dist/css-box-model.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":656,"name":"read-resource","id":657,"timestamp":2307955463079,"duration":17884,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":656,"timestamp":2307955463068,"duration":21146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":664,"name":"read-resource","id":665,"timestamp":2307955463141,"duration":21085,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":544,"name":"build-module-js","id":664,"timestamp":2307955463132,"duration":28137,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/module/modal/components/svg-icons.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":662,"name":"read-resource","id":663,"timestamp":2307955463126,"duration":28174,"tags":{},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":662,"timestamp":2307955463117,"duration":31031,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/lodash.mergewith/index.js"},"startTime":1664295728466},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"read-resource","id":667,"timestamp":2307955463157,"duration":31010,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":666,"timestamp":2307955463148,"duration":33741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":670,"name":"read-resource","id":671,"timestamp":2307955463187,"duration":33729,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":670,"timestamp":2307955463179,"duration":34093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":672,"name":"read-resource","id":673,"timestamp":2307955463202,"duration":34078,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":672,"timestamp":2307955463194,"duration":34272,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":668,"name":"read-resource","id":669,"timestamp":2307955463173,"duration":34301,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":668,"timestamp":2307955463164,"duration":35157,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":676,"name":"read-resource","id":677,"timestamp":2307955463233,"duration":35098,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":676,"timestamp":2307955463223,"duration":35700,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":674,"name":"read-resource","id":675,"timestamp":2307955463218,"duration":35716,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":674,"timestamp":2307955463209,"duration":37688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/transition/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"read-resource","id":683,"timestamp":2307955463279,"duration":37639,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":682,"timestamp":2307955463271,"duration":37781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"read-resource","id":681,"timestamp":2307955463265,"duration":37794,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":530,"name":"build-module-js","id":680,"timestamp":2307955463253,"duration":38107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":684,"name":"read-resource","id":685,"timestamp":2307955463294,"duration":38074,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":684,"timestamp":2307955463286,"duration":38251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconsManifest.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":688,"name":"read-resource","id":689,"timestamp":2307955463326,"duration":38216,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":688,"timestamp":2307955463318,"duration":38335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconContext.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":686,"name":"read-resource","id":687,"timestamp":2307955463313,"duration":38348,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":542,"name":"build-module-js","id":686,"timestamp":2307955463304,"duration":39095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/lib/esm/iconBase.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":678,"name":"read-resource","id":679,"timestamp":2307955463246,"duration":39165,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":496,"name":"build-module-js","id":678,"timestamp":2307955463237,"duration":39397,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"read-resource","id":697,"timestamp":2307955463384,"duration":39257,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":696,"timestamp":2307955463374,"duration":40056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":690,"name":"read-resource","id":691,"timestamp":2307955463340,"duration":40106,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":690,"timestamp":2307955463331,"duration":40624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/aria-hidden/dist/es2015/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":692,"name":"read-resource","id":693,"timestamp":2307955463354,"duration":40613,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":506,"name":"build-module-js","id":692,"timestamp":2307955463345,"duration":40716,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":700,"name":"read-resource","id":701,"timestamp":2307955463412,"duration":40655,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":700,"timestamp":2307955463403,"duration":40860,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":698,"name":"read-resource","id":699,"timestamp":2307955463398,"duration":40873,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":500,"name":"build-module-js","id":698,"timestamp":2307955463389,"duration":41568,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":706,"name":"read-resource","id":707,"timestamp":2307955463460,"duration":41520,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":706,"timestamp":2307955463451,"duration":41959,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":708,"name":"read-resource","id":709,"timestamp":2307955463473,"duration":41948,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":708,"timestamp":2307955463465,"duration":43670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"read-resource","id":695,"timestamp":2307955463368,"duration":43779,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":486,"name":"build-module-js","id":694,"timestamp":2307955463359,"duration":44109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/index.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"read-resource","id":705,"timestamp":2307955463443,"duration":44033,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":704,"timestamp":2307955463434,"duration":44811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":702,"name":"read-resource","id":703,"timestamp":2307955463427,"duration":44826,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"build-module-js","id":702,"timestamp":2307955463418,"duration":45231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/counter/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":716,"name":"read-resource","id":717,"timestamp":2307955463531,"duration":45127,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":716,"timestamp":2307955463522,"duration":45301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295728467}] -[{"traceId":"1979f6cbb13579d5","parentId":712,"name":"read-resource","id":713,"timestamp":2307955463502,"duration":45560,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":712,"timestamp":2307955463493,"duration":45835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":714,"name":"read-resource","id":715,"timestamp":2307955463516,"duration":45847,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":714,"timestamp":2307955463507,"duration":46030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":710,"name":"read-resource","id":711,"timestamp":2307955463488,"duration":46055,"tags":{},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":710,"timestamp":2307955463480,"duration":46771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728467},{"traceId":"1979f6cbb13579d5","parentId":720,"name":"read-resource","id":721,"timestamp":2307955467840,"duration":47363,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":720,"timestamp":2307955467827,"duration":48141,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/chain-wallet.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"read-resource","id":725,"timestamp":2307955467873,"duration":48136,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":724,"timestamp":2307955467862,"duration":49857,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/dialog/dialog.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":718,"name":"read-resource","id":719,"timestamp":2307955467815,"duration":49916,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":718,"timestamp":2307955467784,"duration":52222,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"read-resource","id":723,"timestamp":2307955467856,"duration":52174,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":722,"timestamp":2307955467847,"duration":56198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/combobox/combobox.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":726,"name":"read-resource","id":727,"timestamp":2307955467888,"duration":56181,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":726,"timestamp":2307955467879,"duration":57266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/disclosure/disclosure.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"read-resource","id":729,"timestamp":2307955467903,"duration":57253,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":728,"timestamp":2307955467894,"duration":57934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"read-resource","id":735,"timestamp":2307955467950,"duration":57886,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":734,"timestamp":2307955467941,"duration":58930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":732,"name":"read-resource","id":733,"timestamp":2307955467935,"duration":58945,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":732,"timestamp":2307955467927,"duration":62585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/listbox/listbox.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":730,"name":"read-resource","id":731,"timestamp":2307955467921,"duration":62620,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":730,"timestamp":2307955467912,"duration":64166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/menu/menu.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":738,"name":"read-resource","id":739,"timestamp":2307955467978,"duration":64112,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":738,"timestamp":2307955467969,"duration":64706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/portal/portal.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":744,"name":"read-resource","id":745,"timestamp":2307955468023,"duration":64664,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":744,"timestamp":2307955468015,"duration":65097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/switch/switch.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":736,"name":"read-resource","id":737,"timestamp":2307955467965,"duration":65155,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":736,"timestamp":2307955467956,"duration":67725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/popover/popover.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":742,"name":"read-resource","id":743,"timestamp":2307955468009,"duration":67682,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":742,"timestamp":2307955467997,"duration":69429,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/transitions/transition.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":740,"name":"read-resource","id":741,"timestamp":2307955467992,"duration":69455,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":558,"name":"build-module-js","id":740,"timestamp":2307955467983,"duration":73884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/tabs/tabs.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"read-resource","id":749,"timestamp":2307955468054,"duration":74091,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":748,"timestamp":2307955468045,"duration":74564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/main-wallet.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":746,"name":"read-resource","id":747,"timestamp":2307955468040,"duration":76859,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":564,"name":"build-module-js","id":746,"timestamp":2307955468031,"duration":78620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/scheduler/cjs/scheduler.development.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":750,"name":"read-resource","id":751,"timestamp":2307955468067,"duration":78607,"tags":{},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":570,"name":"build-module-js","id":750,"timestamp":2307955468059,"duration":78738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/wallet-connect/types.js"},"startTime":1664295728471},{"traceId":"1979f6cbb13579d5","parentId":752,"name":"read-resource","id":753,"timestamp":2307955468617,"duration":82116,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":508,"name":"build-module-js","id":752,"timestamp":2307955468604,"duration":82413,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-interval/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":754,"name":"read-resource","id":755,"timestamp":2307955468631,"duration":82396,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":510,"name":"build-module-js","id":754,"timestamp":2307955468621,"duration":82692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-outside-click/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":760,"name":"read-resource","id":761,"timestamp":2307955468668,"duration":82657,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"build-module-js","id":760,"timestamp":2307955468659,"duration":82863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/css-reset/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"read-resource","id":763,"timestamp":2307955468683,"duration":82847,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":762,"timestamp":2307955468671,"duration":83654,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":756,"name":"read-resource","id":757,"timestamp":2307955468644,"duration":83691,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":533,"name":"build-module-js","id":756,"timestamp":2307955468635,"duration":84195,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/node_modules/copy-to-clipboard/index.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":766,"name":"read-resource","id":767,"timestamp":2307955468708,"duration":84137,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":766,"timestamp":2307955468700,"duration":84421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":758,"name":"read-resource","id":759,"timestamp":2307955468656,"duration":84474,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":528,"name":"build-module-js","id":758,"timestamp":2307955468647,"duration":85458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":764,"name":"read-resource","id":765,"timestamp":2307955468696,"duration":85425,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":512,"name":"build-module-js","id":764,"timestamp":2307955468687,"duration":86176,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"read-resource","id":769,"timestamp":2307955468720,"duration":86154,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":768,"timestamp":2307955468712,"duration":86937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":772,"name":"read-resource","id":773,"timestamp":2307955468744,"duration":86913,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":772,"timestamp":2307955468736,"duration":87674,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":770,"name":"read-resource","id":771,"timestamp":2307955468733,"duration":87686,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":770,"timestamp":2307955468724,"duration":87871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":774,"name":"read-resource","id":775,"timestamp":2307955468757,"duration":87845,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":774,"timestamp":2307955468748,"duration":88074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/react-use-disclosure/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":780,"name":"read-resource","id":781,"timestamp":2307955468793,"duration":88036,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":780,"timestamp":2307955468784,"duration":88342,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/chain-wallet.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":782,"name":"read-resource","id":783,"timestamp":2307955468804,"duration":88330,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":782,"timestamp":2307955468796,"duration":88509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/main-wallet.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"read-resource","id":777,"timestamp":2307955468769,"duration":88543,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"build-module-js","id":776,"timestamp":2307955468761,"duration":90302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":784,"name":"read-resource","id":785,"timestamp":2307955468816,"duration":90255,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":572,"name":"build-module-js","id":784,"timestamp":2307955468808,"duration":90356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/types.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"read-resource","id":779,"timestamp":2307955468781,"duration":91027,"tags":{},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":526,"name":"build-module-js","id":778,"timestamp":2307955468772,"duration":92002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728472},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":13,"timestamp":2307953514800,"duration":2088752,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":786,"name":"read-resource","id":787,"timestamp":2307955624700,"duration":4704,"tags":{},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":786,"timestamp":2307955624656,"duration":5742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"read-resource","id":789,"timestamp":2307955624723,"duration":5710,"tags":{},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":788,"timestamp":2307955624709,"duration":7065,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728628},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"read-resource","id":791,"timestamp":2307955626918,"duration":8320,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":790,"timestamp":2307955626897,"duration":9314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":796,"name":"read-resource","id":797,"timestamp":2307955627009,"duration":9217,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":796,"timestamp":2307955626999,"duration":9463,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":798,"name":"read-resource","id":799,"timestamp":2307955627025,"duration":9445,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":798,"timestamp":2307955627015,"duration":9633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-context/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":792,"name":"read-resource","id":793,"timestamp":2307955626972,"duration":9682,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":792,"timestamp":2307955626926,"duration":10573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-pan-event/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":794,"name":"read-resource","id":795,"timestamp":2307955626993,"duration":10519,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":794,"timestamp":2307955626980,"duration":10672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-update-effect/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":800,"name":"read-resource","id":801,"timestamp":2307955627041,"duration":10618,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":800,"timestamp":2307955627031,"duration":10742,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":804,"name":"read-resource","id":805,"timestamp":2307955627075,"duration":10705,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":804,"timestamp":2307955627066,"duration":10869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-merge-refs/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":802,"name":"read-resource","id":803,"timestamp":2307955627061,"duration":10880,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":802,"timestamp":2307955627051,"duration":11156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-use-size/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":806,"name":"read-resource","id":807,"timestamp":2307955627091,"duration":11124,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":518,"name":"build-module-js","id":806,"timestamp":2307955627081,"duration":11386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/number-utils/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":808,"name":"read-resource","id":809,"timestamp":2307955627105,"duration":14561,"tags":{},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":808,"timestamp":2307955627096,"duration":16148,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295728630},{"traceId":"1979f6cbb13579d5","parentId":814,"name":"read-resource","id":815,"timestamp":2307955651791,"duration":8314,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":520,"name":"build-module-js","id":814,"timestamp":2307955651779,"duration":8668,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-previous/dist/index.esm.js"},"startTime":1664295728655}] -[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"read-resource","id":817,"timestamp":2307955651808,"duration":8800,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"build-module-js","id":816,"timestamp":2307955651798,"duration":10725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/index.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":812,"name":"read-resource","id":813,"timestamp":2307955651771,"duration":10768,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":812,"timestamp":2307955651757,"duration":11106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":810,"name":"read-resource","id":811,"timestamp":2307955651747,"duration":11123,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":516,"name":"build-module-js","id":810,"timestamp":2307955651708,"duration":11494,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"read-resource","id":819,"timestamp":2307955651824,"duration":11427,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":532,"name":"build-module-js","id":818,"timestamp":2307955651814,"duration":13834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/index.js"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"read-resource","id":821,"timestamp":2307955651841,"duration":13819,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":820,"timestamp":2307955651830,"duration":14227,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimateSharedLayout.mjs"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"read-resource","id":823,"timestamp":2307955651855,"duration":14214,"tags":{},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":822,"timestamp":2307955651846,"duration":14879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"},"startTime":1664295728655},{"traceId":"1979f6cbb13579d5","parentId":824,"name":"read-resource","id":825,"timestamp":2307955653965,"duration":15945,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":824,"timestamp":2307955653930,"duration":16315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"read-resource","id":827,"timestamp":2307955654020,"duration":16235,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":826,"timestamp":2307955653992,"duration":16862,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":828,"name":"read-resource","id":829,"timestamp":2307955654053,"duration":16810,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":828,"timestamp":2307955654030,"duration":17095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":830,"name":"read-resource","id":831,"timestamp":2307955654073,"duration":17059,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":830,"timestamp":2307955654061,"duration":17205,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-motion-value.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":832,"name":"read-resource","id":833,"timestamp":2307955654092,"duration":17181,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":832,"timestamp":2307955654081,"duration":17338,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-motion-template.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"read-resource","id":835,"timestamp":2307955654111,"duration":17314,"tags":{},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":834,"timestamp":2307955654100,"duration":18285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/index.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":836,"name":"read-resource","id":837,"timestamp":2307955654131,"duration":18267,"tags":{},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":836,"timestamp":2307955654119,"duration":18484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-transform.mjs"},"startTime":1664295728657},{"traceId":"1979f6cbb13579d5","parentId":838,"name":"read-resource","id":839,"timestamp":2307955654154,"duration":18457,"tags":{},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":838,"timestamp":2307955654143,"duration":18573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-velocity.mjs"},"startTime":1664295728658},{"traceId":"1979f6cbb13579d5","parentId":844,"name":"read-resource","id":845,"timestamp":2307955656384,"duration":18715,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":844,"timestamp":2307955656372,"duration":18864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-time.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":840,"name":"read-resource","id":841,"timestamp":2307955656337,"duration":18907,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":840,"timestamp":2307955656299,"duration":19149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-spring.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":842,"name":"read-resource","id":843,"timestamp":2307955656362,"duration":19093,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":842,"timestamp":2307955656347,"duration":19308,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-scroll.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"read-resource","id":847,"timestamp":2307955656401,"duration":20851,"tags":{},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":846,"timestamp":2307955656391,"duration":20966,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/index.mjs"},"startTime":1664295728660},{"traceId":"1979f6cbb13579d5","parentId":848,"name":"read-resource","id":849,"timestamp":2307955659336,"duration":18733,"tags":{},"startTime":1664295728663},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":848,"timestamp":2307955659302,"duration":18885,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs"},"startTime":1664295728663},{"traceId":"1979f6cbb13579d5","parentId":850,"name":"read-resource","id":851,"timestamp":2307955764874,"duration":4523,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":850,"timestamp":2307955764823,"duration":4899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/scroll/use-element-scroll.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":852,"name":"read-resource","id":853,"timestamp":2307955764900,"duration":4938,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":852,"timestamp":2307955764887,"duration":5208,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":856,"name":"read-resource","id":857,"timestamp":2307955764936,"duration":5169,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":856,"timestamp":2307955764926,"duration":5551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/animation-controls.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"read-resource","id":855,"timestamp":2307955764921,"duration":5570,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":854,"timestamp":2307955764907,"duration":5980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-will-change/index.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":858,"name":"read-resource","id":859,"timestamp":2307955764959,"duration":5937,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":858,"timestamp":2307955764942,"duration":6073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/use-animation.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":860,"name":"read-resource","id":861,"timestamp":2307955764974,"duration":6504,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":860,"timestamp":2307955764965,"duration":7723,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/animate.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":866,"name":"read-resource","id":867,"timestamp":2307955765024,"duration":7674,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":866,"timestamp":2307955765014,"duration":7864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/transform.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":864,"name":"read-resource","id":865,"timestamp":2307955765008,"duration":7878,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":864,"timestamp":2307955764993,"duration":8032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-cycle.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"read-resource","id":869,"timestamp":2307955765038,"duration":7993,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":868,"timestamp":2307955765030,"duration":8118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":872,"name":"read-resource","id":873,"timestamp":2307955765068,"duration":8086,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":872,"timestamp":2307955765059,"duration":8540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-in-view.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":862,"name":"read-resource","id":863,"timestamp":2307955764988,"duration":8618,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":862,"timestamp":2307955764979,"duration":8843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":870,"name":"read-resource","id":871,"timestamp":2307955765053,"duration":8781,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":870,"timestamp":2307955765044,"duration":8895,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":876,"name":"read-resource","id":877,"timestamp":2307955765099,"duration":8846,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":876,"timestamp":2307955765090,"duration":9359,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":874,"name":"read-resource","id":875,"timestamp":2307955765085,"duration":9375,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":874,"timestamp":2307955765076,"duration":9521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-instant-transition.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"read-resource","id":883,"timestamp":2307955765145,"duration":9466,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":882,"timestamp":2307955765136,"duration":9553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/features-animation.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"read-resource","id":879,"timestamp":2307955765113,"duration":9582,"tags":{},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":878,"timestamp":2307955765104,"duration":9729,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":884,"name":"read-resource","id":885,"timestamp":2307955765161,"duration":9677,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":884,"timestamp":2307955765152,"duration":9762,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/features-max.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":880,"name":"read-resource","id":881,"timestamp":2307955765129,"duration":9790,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":880,"timestamp":2307955765120,"duration":9866,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion-minimal.mjs"},"startTime":1664295728768},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"read-resource","id":889,"timestamp":2307955765190,"duration":9844,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":888,"timestamp":2307955765181,"duration":11347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/index.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":886,"name":"read-resource","id":887,"timestamp":2307955765177,"duration":11359,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":886,"timestamp":2307955765168,"duration":11910,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/animation.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":894,"name":"read-resource","id":895,"timestamp":2307955765239,"duration":11847,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":894,"timestamp":2307955765230,"duration":12335,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/alert/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"read-resource","id":891,"timestamp":2307955765204,"duration":12370,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":890,"timestamp":2307955765195,"duration":14370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/accordion/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":896,"name":"read-resource","id":897,"timestamp":2307955765253,"duration":14476,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":896,"timestamp":2307955765244,"duration":14801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/close-button/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":892,"name":"read-resource","id":893,"timestamp":2307955765220,"duration":14835,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":892,"timestamp":2307955765211,"duration":16383,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/button/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":900,"name":"read-resource","id":901,"timestamp":2307955765279,"duration":16326,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":900,"timestamp":2307955765270,"duration":17452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/editable/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":898,"name":"read-resource","id":899,"timestamp":2307955765266,"duration":17465,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":898,"timestamp":2307955765258,"duration":18140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/input/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":904,"name":"read-resource","id":905,"timestamp":2307955765309,"duration":18100,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":904,"timestamp":2307955765297,"duration":20132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":910,"name":"read-resource","id":911,"timestamp":2307955765350,"duration":20090,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":910,"timestamp":2307955765342,"duration":20271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/use-dom-event.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":906,"name":"read-resource","id":907,"timestamp":2307955765323,"duration":20298,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":906,"timestamp":2307955765314,"duration":20698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":914,"name":"read-resource","id":915,"timestamp":2307955765378,"duration":20647,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":914,"timestamp":2307955765369,"duration":20812,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"read-resource","id":913,"timestamp":2307955765364,"duration":20824,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":912,"timestamp":2307955765356,"duration":21188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/index.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"read-resource","id":903,"timestamp":2307955765292,"duration":21260,"tags":{},"startTime":1664295728769}] -[{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":902,"timestamp":2307955765284,"duration":24389,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/menu/dist/index.esm.js"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":920,"name":"read-resource","id":921,"timestamp":2307955765419,"duration":24282,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":920,"timestamp":2307955765410,"duration":24639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/use-instant-layout-transition.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":908,"name":"read-resource","id":909,"timestamp":2307955765337,"duration":24723,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":908,"timestamp":2307955765328,"duration":24949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":922,"name":"read-resource","id":923,"timestamp":2307955765432,"duration":24852,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":922,"timestamp":2307955765423,"duration":24974,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/use-reset-projection.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":916,"name":"read-resource","id":917,"timestamp":2307955765392,"duration":25012,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":916,"timestamp":2307955765384,"duration":26790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/is-motion-component.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":926,"name":"read-resource","id":927,"timestamp":2307955765461,"duration":26729,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":926,"timestamp":2307955765453,"duration":26847,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":928,"name":"read-resource","id":929,"timestamp":2307955765480,"duration":26827,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":928,"timestamp":2307955765472,"duration":26902,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":918,"name":"read-resource","id":919,"timestamp":2307955765405,"duration":26977,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":918,"timestamp":2307955765397,"duration":27068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":930,"name":"read-resource","id":931,"timestamp":2307955765496,"duration":26978,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":930,"timestamp":2307955765485,"duration":27051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":934,"name":"read-resource","id":935,"timestamp":2307955765523,"duration":27031,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":934,"timestamp":2307955765515,"duration":27108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":932,"name":"read-resource","id":933,"timestamp":2307955765509,"duration":27126,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":932,"timestamp":2307955765500,"duration":27198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":924,"name":"read-resource","id":925,"timestamp":2307955765445,"duration":27340,"tags":{},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":924,"timestamp":2307955765437,"duration":27421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs"},"startTime":1664295728769},{"traceId":"1979f6cbb13579d5","parentId":942,"name":"read-resource","id":943,"timestamp":2307955766545,"duration":30667,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":942,"timestamp":2307955766534,"duration":31113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/use-pointer-event.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":938,"name":"read-resource","id":939,"timestamp":2307955766507,"duration":31163,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":938,"timestamp":2307955766493,"duration":31418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-inverted-scale.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":940,"name":"read-resource","id":941,"timestamp":2307955766524,"duration":31396,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":940,"timestamp":2307955766514,"duration":31652,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/use-animated-state.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":946,"name":"read-resource","id":947,"timestamp":2307955766574,"duration":31599,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":946,"timestamp":2307955766565,"duration":31686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-browser.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":948,"name":"read-resource","id":949,"timestamp":2307955766588,"duration":31669,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":948,"timestamp":2307955766579,"duration":31756,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":936,"name":"read-resource","id":937,"timestamp":2307955766483,"duration":31861,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":936,"timestamp":2307955766456,"duration":31967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"read-resource","id":953,"timestamp":2307955766618,"duration":31811,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":952,"timestamp":2307955766609,"duration":32321,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/setters.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":944,"name":"read-resource","id":945,"timestamp":2307955766560,"duration":32393,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":944,"timestamp":2307955766550,"duration":32590,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/event-info.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":956,"name":"read-resource","id":957,"timestamp":2307955766652,"duration":32495,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":956,"timestamp":2307955766643,"duration":35581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/layout/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":958,"name":"read-resource","id":959,"timestamp":2307955766666,"duration":35574,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":958,"timestamp":2307955766657,"duration":36595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/pin-input/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":960,"name":"read-resource","id":961,"timestamp":2307955766682,"duration":36587,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":960,"timestamp":2307955766672,"duration":37943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/popover/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":950,"name":"read-resource","id":951,"timestamp":2307955766601,"duration":38037,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":950,"timestamp":2307955766593,"duration":38412,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/types.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":954,"name":"read-resource","id":955,"timestamp":2307955766636,"duration":38378,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":954,"timestamp":2307955766627,"duration":40456,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/modal/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":962,"name":"read-resource","id":963,"timestamp":2307955766696,"duration":40398,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":962,"timestamp":2307955766687,"duration":41553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/radio/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":970,"name":"read-resource","id":971,"timestamp":2307955766753,"duration":41497,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":970,"timestamp":2307955766744,"duration":41872,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/select/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":968,"name":"read-resource","id":969,"timestamp":2307955766740,"duration":41885,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":968,"timestamp":2307955766731,"duration":42286,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/skeleton/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":964,"name":"read-resource","id":965,"timestamp":2307955766712,"duration":42313,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":964,"timestamp":2307955766700,"duration":43748,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/number-input/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":976,"name":"read-resource","id":977,"timestamp":2307955766794,"duration":43663,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":976,"timestamp":2307955766785,"duration":43770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"read-resource","id":967,"timestamp":2307955766726,"duration":43840,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":966,"timestamp":2307955766717,"duration":50473,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/slider/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"read-resource","id":975,"timestamp":2307955766780,"duration":50437,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":974,"timestamp":2307955766771,"duration":51012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":984,"name":"read-resource","id":985,"timestamp":2307955766850,"duration":50942,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":984,"timestamp":2307955766842,"duration":51049,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"read-resource","id":983,"timestamp":2307955766838,"duration":51061,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":982,"timestamp":2307955766827,"duration":51281,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/popper.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":978,"name":"read-resource","id":979,"timestamp":2307955766808,"duration":51308,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":978,"timestamp":2307955766799,"duration":51565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/enums.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":972,"name":"read-resource","id":973,"timestamp":2307955766766,"duration":51605,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":972,"timestamp":2307955766757,"duration":52237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/stat/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"read-resource","id":981,"timestamp":2307955766823,"duration":52179,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":980,"timestamp":2307955766813,"duration":52941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/createPopper.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":986,"name":"read-resource","id":987,"timestamp":2307955766865,"duration":52898,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":986,"timestamp":2307955766856,"duration":53099,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-force-update.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":990,"name":"read-resource","id":991,"timestamp":2307955766896,"duration":53070,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":990,"timestamp":2307955766888,"duration":53509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/table/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":998,"name":"read-resource","id":999,"timestamp":2307955766954,"duration":53451,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":998,"timestamp":2307955766945,"duration":53651,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/textarea/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"read-resource","id":995,"timestamp":2307955766924,"duration":53678,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":994,"timestamp":2307955766916,"duration":54407,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":996,"name":"read-resource","id":997,"timestamp":2307955766940,"duration":54391,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":996,"timestamp":2307955766929,"duration":55298,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tabs/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":992,"name":"read-resource","id":993,"timestamp":2307955766912,"duration":55323,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":992,"timestamp":2307955766903,"duration":56465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tag/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1004,"name":"read-resource","id":1005,"timestamp":2307955766997,"duration":56395,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1004,"timestamp":2307955766988,"duration":56581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1000,"name":"read-resource","id":1001,"timestamp":2307955766970,"duration":56607,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1000,"timestamp":2307955766961,"duration":57856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/toast/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1002,"name":"read-resource","id":1003,"timestamp":2307955766983,"duration":57842,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1002,"timestamp":2307955766975,"duration":58670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/tooltip/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1008,"name":"read-resource","id":1009,"timestamp":2307955767023,"duration":58633,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1008,"timestamp":2307955767015,"duration":58848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1006,"name":"read-resource","id":1007,"timestamp":2307955767010,"duration":58996,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1006,"timestamp":2307955767001,"duration":60162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/provider/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":988,"name":"read-resource","id":989,"timestamp":2307955766883,"duration":60289,"tags":{},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":988,"timestamp":2307955766872,"duration":60563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/switch/dist/index.esm.js"},"startTime":1664295728770},{"traceId":"1979f6cbb13579d5","parentId":1020,"name":"read-resource","id":1021,"timestamp":2307955767676,"duration":66317,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":1020,"timestamp":2307955767667,"duration":66659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/popper-lite.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1014,"name":"read-resource","id":1015,"timestamp":2307955767639,"duration":66790,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1014,"timestamp":2307955767630,"duration":67079,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/animations.mjs"},"startTime":1664295728771}] -[{"traceId":"1979f6cbb13579d5","parentId":1010,"name":"read-resource","id":1011,"timestamp":2307955767611,"duration":67251,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1010,"timestamp":2307955767594,"duration":67526,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1016,"name":"read-resource","id":1017,"timestamp":2307955767651,"duration":67476,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1016,"timestamp":2307955767643,"duration":67664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1018,"name":"read-resource","id":1019,"timestamp":2307955767663,"duration":67678,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1018,"timestamp":2307955767655,"duration":67832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1012,"name":"read-resource","id":1013,"timestamp":2307955767627,"duration":67868,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":620,"name":"build-module-mjs","id":1012,"timestamp":2307955767617,"duration":67963,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/models.mjs"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1028,"name":"read-resource","id":1029,"timestamp":2307955767955,"duration":70738,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":658,"name":"build-module-js","id":1028,"timestamp":2307955767944,"duration":71023,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/extends.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1022,"name":"read-resource","id":1023,"timestamp":2307955767914,"duration":71077,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1022,"timestamp":2307955767899,"duration":74435,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1026,"name":"read-resource","id":1027,"timestamp":2307955767940,"duration":74406,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1026,"timestamp":2307955767931,"duration":76133,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1024,"name":"read-resource","id":1025,"timestamp":2307955767927,"duration":76150,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":628,"name":"build-module-js","id":1024,"timestamp":2307955767918,"duration":76301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/index.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1030,"name":"read-resource","id":1031,"timestamp":2307955768095,"duration":76132,"tags":{},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1030,"timestamp":2307955768045,"duration":76628,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/breadcrumb/dist/index.esm.js"},"startTime":1664295728771},{"traceId":"1979f6cbb13579d5","parentId":1034,"name":"read-resource","id":1035,"timestamp":2307955912480,"duration":8422,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1034,"timestamp":2307955912464,"duration":9540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/avatar/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1036,"name":"read-resource","id":1037,"timestamp":2307955912499,"duration":9525,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1036,"timestamp":2307955912487,"duration":9770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/control-box/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1038,"name":"read-resource","id":1039,"timestamp":2307955912517,"duration":9748,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1038,"timestamp":2307955912506,"duration":13276,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/hooks/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"read-resource","id":1033,"timestamp":2307955912447,"duration":13356,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1032,"timestamp":2307955912395,"duration":15315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1040,"name":"read-resource","id":1041,"timestamp":2307955912544,"duration":15178,"tags":{},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1040,"timestamp":2307955912532,"duration":15975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popper/dist/index.esm.js"},"startTime":1664295728916},{"traceId":"1979f6cbb13579d5","parentId":1042,"name":"read-resource","id":1043,"timestamp":2307955916877,"duration":15540,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1042,"timestamp":2307955916842,"duration":16416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/progress/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1046,"name":"read-resource","id":1047,"timestamp":2307955916922,"duration":16346,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1046,"timestamp":2307955916909,"duration":16815,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/image/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1044,"name":"read-resource","id":1045,"timestamp":2307955916903,"duration":16830,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1044,"timestamp":2307955916888,"duration":17469,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"read-resource","id":1049,"timestamp":2307955916939,"duration":17429,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":568,"name":"build-module-js","id":1048,"timestamp":2307955916929,"duration":22601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/theme/dist/index.esm.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1050,"name":"read-resource","id":1051,"timestamp":2307955916956,"duration":22601,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"build-module-js","id":1050,"timestamp":2307955916946,"duration":22854,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/on-next-frame.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1052,"name":"read-resource","id":1053,"timestamp":2307955916971,"duration":22837,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":694,"name":"build-module-js","id":1052,"timestamp":2307955916961,"duration":23089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framesync/dist/es/create-render-step.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1054,"name":"read-resource","id":1055,"timestamp":2307955916994,"duration":23064,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":594,"name":"build-module-js","id":1054,"timestamp":2307955916977,"duration":23260,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/toggle-selection/index.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1056,"name":"read-resource","id":1057,"timestamp":2307955917012,"duration":23236,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"build-module-js","id":1056,"timestamp":2307955917000,"duration":23352,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/convert.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"read-resource","id":1061,"timestamp":2307955917049,"duration":23310,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1060,"timestamp":2307955917040,"duration":24119,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/chain-wallet.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1062,"name":"read-resource","id":1063,"timestamp":2307955917065,"duration":24102,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1062,"timestamp":2307955917055,"duration":24380,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/main-wallet.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1064,"name":"read-resource","id":1065,"timestamp":2307955917081,"duration":24361,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":680,"name":"build-module-js","id":1064,"timestamp":2307955917072,"duration":26025,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/bases/state.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1058,"name":"read-resource","id":1059,"timestamp":2307955917030,"duration":26078,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":682,"name":"build-module-js","id":1058,"timestamp":2307955917017,"duration":26244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/core/module/utils/status.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1068,"name":"read-resource","id":1069,"timestamp":2307955917123,"duration":26145,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1068,"timestamp":2307955917102,"duration":26311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/keyboard.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"read-resource","id":1067,"timestamp":2307955917096,"duration":26354,"tags":{},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":692,"name":"build-module-js","id":1066,"timestamp":2307955917087,"duration":26522,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/Combination.js"},"startTime":1664295728920},{"traceId":"1979f6cbb13579d5","parentId":1072,"name":"read-resource","id":1073,"timestamp":2307955917154,"duration":26477,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1072,"timestamp":2307955917143,"duration":26642,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/match.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1074,"name":"read-resource","id":1075,"timestamp":2307955917169,"duration":26631,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1074,"timestamp":2307955917160,"duration":28341,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/render.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1070,"name":"read-resource","id":1071,"timestamp":2307955917139,"duration":28381,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"build-module-js","id":1070,"timestamp":2307955917129,"duration":29306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1076,"name":"read-resource","id":1077,"timestamp":2307955917185,"duration":30153,"tags":{},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1076,"timestamp":2307955917176,"duration":30379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/bugs.js"},"startTime":1664295728921},{"traceId":"1979f6cbb13579d5","parentId":1078,"name":"read-resource","id":1079,"timestamp":2307955919288,"duration":32443,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1078,"timestamp":2307955919258,"duration":32781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1080,"name":"read-resource","id":1081,"timestamp":2307955919313,"duration":32740,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1080,"timestamp":2307955919299,"duration":32923,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-id.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1088,"name":"read-resource","id":1089,"timestamp":2307955919386,"duration":32845,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1088,"timestamp":2307955919376,"duration":32948,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-owner.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1084,"name":"read-resource","id":1085,"timestamp":2307955919349,"duration":32988,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1084,"timestamp":2307955919338,"duration":33112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1082,"name":"read-resource","id":1083,"timestamp":2307955919330,"duration":33126,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1082,"timestamp":2307955919319,"duration":33418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-inert-others.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1086,"name":"read-resource","id":1087,"timestamp":2307955919367,"duration":33378,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1086,"timestamp":2307955919357,"duration":33682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-outside-click.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1092,"name":"read-resource","id":1093,"timestamp":2307955919422,"duration":33625,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1092,"timestamp":2307955919412,"duration":33733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-event.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1090,"name":"read-resource","id":1091,"timestamp":2307955919402,"duration":33752,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1090,"timestamp":2307955919392,"duration":33876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-event-listener.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1094,"name":"read-resource","id":1095,"timestamp":2307955919437,"duration":33838,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1094,"timestamp":2307955919428,"duration":34294,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/disposables.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1096,"name":"read-resource","id":1097,"timestamp":2307955919460,"duration":34270,"tags":{},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1096,"timestamp":2307955919447,"duration":34395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/platform.js"},"startTime":1664295728923},{"traceId":"1979f6cbb13579d5","parentId":1098,"name":"read-resource","id":1099,"timestamp":2307955920594,"duration":36873,"tags":{},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1098,"timestamp":2307955920554,"duration":37109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/portal-force-root.js"},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":1100,"name":"read-resource","id":1101,"timestamp":2307955920616,"duration":37056,"tags":{},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1100,"timestamp":2307955920603,"duration":37220,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/open-closed.js"},"startTime":1664295728924},{"traceId":"1979f6cbb13579d5","parentId":1102,"name":"read-resource","id":1103,"timestamp":2307955955679,"duration":11456,"tags":{},"startTime":1664295728959},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1102,"timestamp":2307955955637,"duration":12001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/stack-context.js"},"startTime":1664295728959},{"traceId":"1979f6cbb13579d5","parentId":1104,"name":"read-resource","id":1105,"timestamp":2307955961433,"duration":7242,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1104,"timestamp":2307955961386,"duration":8093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/hidden.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1112,"name":"read-resource","id":1113,"timestamp":2307955961516,"duration":7978,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1112,"timestamp":2307955961506,"duration":8095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1114,"name":"read-resource","id":1115,"timestamp":2307955961534,"duration":8078,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1114,"timestamp":2307955961524,"duration":8190,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-latest-value.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1116,"name":"read-resource","id":1117,"timestamp":2307955961549,"duration":8171,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1116,"timestamp":2307955961540,"duration":8356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1110,"name":"read-resource","id":1111,"timestamp":2307955961500,"duration":8404,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1110,"timestamp":2307955961490,"duration":8507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-disposables.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1108,"name":"read-resource","id":1109,"timestamp":2307955961482,"duration":8521,"tags":{},"startTime":1664295728965}] -[{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1108,"timestamp":2307955961469,"duration":8850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-computed.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1118,"name":"read-resource","id":1119,"timestamp":2307955961564,"duration":8761,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1118,"timestamp":2307955961555,"duration":8963,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1120,"name":"read-resource","id":1121,"timestamp":2307955961579,"duration":11089,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1120,"timestamp":2307955961570,"duration":11848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/calculate-active-index.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1106,"name":"read-resource","id":1107,"timestamp":2307955961463,"duration":11967,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":724,"name":"build-module-js","id":1106,"timestamp":2307955961446,"duration":12381,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/description/description.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1128,"name":"read-resource","id":1129,"timestamp":2307955961647,"duration":12190,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1128,"timestamp":2307955961637,"duration":13163,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/focus-management.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1130,"name":"read-resource","id":1131,"timestamp":2307955961662,"duration":13156,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1130,"timestamp":2307955961653,"duration":13394,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-controllable.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1132,"name":"read-resource","id":1133,"timestamp":2307955961676,"duration":13379,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1132,"timestamp":2307955961667,"duration":13558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-watch.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1124,"name":"read-resource","id":1125,"timestamp":2307955961617,"duration":13615,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1124,"timestamp":2307955961607,"duration":13771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1136,"name":"read-resource","id":1137,"timestamp":2307955961714,"duration":13671,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":726,"name":"build-module-js","id":1136,"timestamp":2307955961701,"duration":13795,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/owner.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1126,"name":"read-resource","id":1127,"timestamp":2307955961631,"duration":13871,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":722,"name":"build-module-js","id":1126,"timestamp":2307955961622,"duration":14149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/form.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1140,"name":"read-resource","id":1141,"timestamp":2307955961747,"duration":14034,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1140,"timestamp":2307955961738,"duration":14147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1142,"name":"read-resource","id":1143,"timestamp":2307955961764,"duration":14155,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1142,"timestamp":2307955961754,"duration":14356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/micro-task.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1134,"name":"read-resource","id":1135,"timestamp":2307955961695,"duration":14421,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1134,"timestamp":2307955961682,"duration":21430,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1122,"name":"read-resource","id":1123,"timestamp":2307955961597,"duration":21533,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":642,"name":"build-module-js","id":1122,"timestamp":2307955961585,"duration":42623,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-icons/io/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1138,"name":"read-resource","id":1139,"timestamp":2307955961733,"duration":42493,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":728,"name":"build-module-js","id":1138,"timestamp":2307955961724,"duration":42738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1146,"name":"read-resource","id":1147,"timestamp":2307955961793,"duration":42677,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"build-module-js","id":1146,"timestamp":2307955961784,"duration":42830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-flags.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1148,"name":"read-resource","id":1149,"timestamp":2307955961807,"duration":42840,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":738,"name":"build-module-js","id":1148,"timestamp":2307955961798,"duration":42925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/ssr.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1144,"name":"read-resource","id":1145,"timestamp":2307955961779,"duration":43226,"tags":{},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1144,"timestamp":2307955961769,"duration":43502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/system/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728965},{"traceId":"1979f6cbb13579d5","parentId":1156,"name":"read-resource","id":1157,"timestamp":2307955964852,"duration":45618,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":740,"name":"build-module-js","id":1156,"timestamp":2307955964842,"duration":45960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/internal/focus-sentinel.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1150,"name":"read-resource","id":1151,"timestamp":2307955964799,"duration":46014,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":734,"name":"build-module-js","id":1150,"timestamp":2307955964774,"duration":46989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/label/label.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1160,"name":"read-resource","id":1161,"timestamp":2307955964886,"duration":46887,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1160,"timestamp":2307955964877,"duration":47688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1154,"name":"read-resource","id":1155,"timestamp":2307955964837,"duration":47737,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":742,"name":"build-module-js","id":1154,"timestamp":2307955964827,"duration":47943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-transition.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1158,"name":"read-resource","id":1159,"timestamp":2307955964871,"duration":47905,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":616,"name":"build-module-js","id":1158,"timestamp":2307955964859,"duration":51550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1162,"name":"read-resource","id":1163,"timestamp":2307955964900,"duration":51525,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":782,"name":"build-module-js","id":1162,"timestamp":2307955964891,"duration":51717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/module/extension/utils.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"read-resource","id":1153,"timestamp":2307955964820,"duration":51798,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":590,"name":"build-module-js","id":1152,"timestamp":2307955964808,"duration":51976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/public_api.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"read-resource","id":1165,"timestamp":2307955964916,"duration":52127,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1164,"timestamp":2307955964907,"duration":53198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1166,"name":"read-resource","id":1167,"timestamp":2307955964935,"duration":53246,"tags":{},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1166,"timestamp":2307955964922,"duration":53440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"},"startTime":1664295728968},{"traceId":"1979f6cbb13579d5","parentId":1168,"name":"read-resource","id":1169,"timestamp":2307955966100,"duration":55651,"tags":{},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1168,"timestamp":2307955966070,"duration":56076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":1170,"name":"read-resource","id":1171,"timestamp":2307955966123,"duration":56033,"tags":{},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1170,"timestamp":2307955966109,"duration":56204,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"},"startTime":1664295728969},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"read-resource","id":1173,"timestamp":2307955966140,"duration":56306,"tags":{},"startTime":1664295728970},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1172,"timestamp":2307955966129,"duration":57677,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"},"startTime":1664295728970},{"traceId":"1979f6cbb13579d5","parentId":1174,"name":"read-resource","id":1175,"timestamp":2307955971028,"duration":57673,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":648,"name":"build-module-js","id":1174,"timestamp":2307955970995,"duration":57928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1176,"name":"read-resource","id":1177,"timestamp":2307955971057,"duration":57875,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1176,"timestamp":2307955971043,"duration":58683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1180,"name":"read-resource","id":1181,"timestamp":2307955971098,"duration":58637,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1180,"timestamp":2307955971087,"duration":62007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1178,"name":"read-resource","id":1179,"timestamp":2307955971076,"duration":62029,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1178,"timestamp":2307955971065,"duration":62279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1186,"name":"read-resource","id":1187,"timestamp":2307955971154,"duration":62198,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":702,"name":"build-module-js","id":1186,"timestamp":2307955971144,"duration":62409,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/number-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1184,"name":"read-resource","id":1185,"timestamp":2307955971136,"duration":62425,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":666,"name":"build-module-js","id":1184,"timestamp":2307955971126,"duration":65579,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1182,"name":"read-resource","id":1183,"timestamp":2307955971115,"duration":65602,"tags":{},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":660,"name":"build-module-js","id":1182,"timestamp":2307955971106,"duration":65768,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-invariant/dist/tiny-invariant.esm.js"},"startTime":1664295728974},{"traceId":"1979f6cbb13579d5","parentId":1190,"name":"read-resource","id":1191,"timestamp":2307955971195,"duration":65685,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":678,"name":"build-module-js","id":1190,"timestamp":2307955971185,"duration":65827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/accordion/node_modules/@chakra-ui/react-use-callback-ref/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1188,"name":"read-resource","id":1189,"timestamp":2307955971176,"duration":65875,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":646,"name":"build-module-js","id":1188,"timestamp":2307955971161,"duration":70720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/styled/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1194,"name":"read-resource","id":1195,"timestamp":2307955971228,"duration":70706,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1194,"timestamp":2307955971218,"duration":71105,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1192,"name":"read-resource","id":1193,"timestamp":2307955971211,"duration":71127,"tags":{},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"build-module-js","id":1192,"timestamp":2307955971202,"duration":71645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/focus-lock/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295728975},{"traceId":"1979f6cbb13579d5","parentId":1198,"name":"read-resource","id":1199,"timestamp":2307956008043,"duration":39331,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1198,"timestamp":2307956008029,"duration":42744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1196,"name":"read-resource","id":1197,"timestamp":2307956008004,"duration":42789,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1196,"timestamp":2307956007960,"duration":43127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1200,"name":"read-resource","id":1201,"timestamp":2307956008061,"duration":43034,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1200,"timestamp":2307956008050,"duration":43763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1202,"name":"read-resource","id":1203,"timestamp":2307956008083,"duration":43739,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":696,"name":"build-module-js","id":1202,"timestamp":2307956008073,"duration":48724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/editable/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1204,"name":"read-resource","id":1205,"timestamp":2307956008103,"duration":48718,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1204,"timestamp":2307956008093,"duration":51958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1208,"name":"read-resource","id":1209,"timestamp":2307956008133,"duration":51938,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1208,"timestamp":2307956008123,"duration":52694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1206,"name":"read-resource","id":1207,"timestamp":2307956008117,"duration":52711,"tags":{},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":704,"name":"build-module-js","id":1206,"timestamp":2307956008108,"duration":57733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/menu/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729011},{"traceId":"1979f6cbb13579d5","parentId":1212,"name":"read-resource","id":1213,"timestamp":2307956008165,"duration":57701,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1212,"timestamp":2307956008153,"duration":58142,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AdjustmentsHorizontalIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1214,"name":"read-resource","id":1215,"timestamp":2307956008179,"duration":58127,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1214,"timestamp":2307956008170,"duration":58287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AdjustmentsVerticalIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1210,"name":"read-resource","id":1211,"timestamp":2307956008148,"duration":58315,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1210,"timestamp":2307956008138,"duration":58444,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AcademicCapIcon.js"},"startTime":1664295729012}] -[{"traceId":"1979f6cbb13579d5","parentId":1216,"name":"read-resource","id":1217,"timestamp":2307956008197,"duration":58536,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1216,"timestamp":2307956008183,"duration":58659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxArrowDownIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1220,"name":"read-resource","id":1221,"timestamp":2307956008230,"duration":58619,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1220,"timestamp":2307956008221,"duration":58827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1222,"name":"read-resource","id":1223,"timestamp":2307956008245,"duration":58811,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1222,"timestamp":2307956008235,"duration":58940,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownCircleIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1224,"name":"read-resource","id":1225,"timestamp":2307956008259,"duration":58923,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1224,"timestamp":2307956008250,"duration":59026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownLeftIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1218,"name":"read-resource","id":1219,"timestamp":2307956008217,"duration":59570,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1218,"timestamp":2307956008205,"duration":59713,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArchiveBoxXMarkIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1226,"name":"read-resource","id":1227,"timestamp":2307956008274,"duration":59651,"tags":{},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1226,"timestamp":2307956008264,"duration":59769,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownOnSquareStackIcon.js"},"startTime":1664295729012},{"traceId":"1979f6cbb13579d5","parentId":1230,"name":"read-resource","id":1231,"timestamp":2307956019936,"duration":50907,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1230,"timestamp":2307956019921,"duration":51168,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownRightIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1228,"name":"read-resource","id":1229,"timestamp":2307956019907,"duration":51189,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1228,"timestamp":2307956019871,"duration":51347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownOnSquareIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1238,"name":"read-resource","id":1239,"timestamp":2307956020006,"duration":51218,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1238,"timestamp":2307956019995,"duration":51343,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftOnRectangleIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1234,"name":"read-resource","id":1235,"timestamp":2307956019974,"duration":51370,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1234,"timestamp":2307956019963,"duration":51479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1236,"name":"read-resource","id":1237,"timestamp":2307956019990,"duration":51457,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1236,"timestamp":2307956019980,"duration":51571,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftCircleIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1240,"name":"read-resource","id":1241,"timestamp":2307956020021,"duration":51535,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1240,"timestamp":2307956020012,"duration":51637,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLeftIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1232,"name":"read-resource","id":1233,"timestamp":2307956019954,"duration":51700,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1232,"timestamp":2307956019942,"duration":51804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowDownTrayIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1242,"name":"read-resource","id":1243,"timestamp":2307956020034,"duration":51717,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1242,"timestamp":2307956020025,"duration":51813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongDownIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1244,"name":"read-resource","id":1245,"timestamp":2307956020050,"duration":51793,"tags":{},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1244,"timestamp":2307956020039,"duration":51886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongLeftIcon.js"},"startTime":1664295729023},{"traceId":"1979f6cbb13579d5","parentId":1250,"name":"read-resource","id":1251,"timestamp":2307956026230,"duration":48222,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1250,"timestamp":2307956026219,"duration":48507,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowPathRoundedSquareIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1246,"name":"read-resource","id":1247,"timestamp":2307956026183,"duration":48554,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1246,"timestamp":2307956026151,"duration":48718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1252,"name":"read-resource","id":1253,"timestamp":2307956026246,"duration":48629,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1252,"timestamp":2307956026236,"duration":48747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowPathIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1248,"name":"read-resource","id":1249,"timestamp":2307956026213,"duration":48776,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1248,"timestamp":2307956026199,"duration":48888,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowLongUpIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1254,"name":"read-resource","id":1255,"timestamp":2307956026262,"duration":48830,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1254,"timestamp":2307956026252,"duration":48938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightCircleIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1258,"name":"read-resource","id":1259,"timestamp":2307956026293,"duration":48902,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1258,"timestamp":2307956026284,"duration":48999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1256,"name":"read-resource","id":1257,"timestamp":2307956026278,"duration":49009,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1256,"timestamp":2307956026269,"duration":49115,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowRightOnRectangleIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1260,"name":"read-resource","id":1261,"timestamp":2307956026307,"duration":49082,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1260,"timestamp":2307956026298,"duration":49173,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallDownIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1266,"name":"read-resource","id":1267,"timestamp":2307956026348,"duration":49174,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1266,"timestamp":2307956026340,"duration":49269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallUpIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1262,"name":"read-resource","id":1263,"timestamp":2307956026321,"duration":49293,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1262,"timestamp":2307956026312,"duration":49393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallLeftIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1264,"name":"read-resource","id":1265,"timestamp":2307956026335,"duration":49380,"tags":{},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1264,"timestamp":2307956026326,"duration":49476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowSmallRightIcon.js"},"startTime":1664295729030},{"traceId":"1979f6cbb13579d5","parentId":1268,"name":"read-resource","id":1269,"timestamp":2307956045741,"duration":33470,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1268,"timestamp":2307956045691,"duration":33746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTopRightOnSquareIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1270,"name":"read-resource","id":1271,"timestamp":2307956045777,"duration":33667,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1270,"timestamp":2307956045763,"duration":33820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTrendingDownIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1272,"name":"read-resource","id":1273,"timestamp":2307956045798,"duration":33792,"tags":{},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1272,"timestamp":2307956045787,"duration":33908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowTrendingUpIcon.js"},"startTime":1664295729049},{"traceId":"1979f6cbb13579d5","parentId":1274,"name":"read-resource","id":1275,"timestamp":2307956073813,"duration":9042,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1274,"timestamp":2307956073755,"duration":9262,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpCircleIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1276,"name":"read-resource","id":1277,"timestamp":2307956073840,"duration":9184,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1276,"timestamp":2307956073826,"duration":9314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1278,"name":"read-resource","id":1279,"timestamp":2307956073859,"duration":9287,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1278,"timestamp":2307956073847,"duration":9402,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpOnSquareStackIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1280,"name":"read-resource","id":1281,"timestamp":2307956073876,"duration":9378,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1280,"timestamp":2307956073866,"duration":9484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpOnSquareIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1282,"name":"read-resource","id":1283,"timestamp":2307956073895,"duration":9464,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1282,"timestamp":2307956073882,"duration":9573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpRightIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1284,"name":"read-resource","id":1285,"timestamp":2307956073911,"duration":9549,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1284,"timestamp":2307956073901,"duration":9662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpTrayIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1286,"name":"read-resource","id":1287,"timestamp":2307956073929,"duration":9643,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1286,"timestamp":2307956073919,"duration":9739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUpIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1288,"name":"read-resource","id":1289,"timestamp":2307956073948,"duration":9714,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1288,"timestamp":2307956073938,"duration":9811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1290,"name":"read-resource","id":1291,"timestamp":2307956073963,"duration":9791,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1290,"timestamp":2307956073954,"duration":9882,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnDownIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1292,"name":"read-resource","id":1293,"timestamp":2307956073978,"duration":9863,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1292,"timestamp":2307956073969,"duration":9956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnRightIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1294,"name":"read-resource","id":1295,"timestamp":2307956073994,"duration":9936,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1294,"timestamp":2307956073985,"duration":10030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowUturnUpIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1300,"name":"read-resource","id":1301,"timestamp":2307956074037,"duration":9983,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1300,"timestamp":2307956074028,"duration":10080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsRightLeftIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1296,"name":"read-resource","id":1297,"timestamp":2307956074008,"duration":10105,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1296,"timestamp":2307956074000,"duration":10197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsPointingInIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1302,"name":"read-resource","id":1303,"timestamp":2307956074051,"duration":10150,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1302,"timestamp":2307956074043,"duration":10242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsUpDownIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1304,"name":"read-resource","id":1305,"timestamp":2307956074067,"duration":10222,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1304,"timestamp":2307956074058,"duration":10317,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/AtSymbolIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1298,"name":"read-resource","id":1299,"timestamp":2307956074023,"duration":10357,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1298,"timestamp":2307956074014,"duration":10451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ArrowsPointingOutIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1306,"name":"read-resource","id":1307,"timestamp":2307956074083,"duration":10385,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1306,"timestamp":2307956074075,"duration":10475,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BackspaceIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1308,"name":"read-resource","id":1309,"timestamp":2307956074099,"duration":10462,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1308,"timestamp":2307956074090,"duration":10555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BackwardIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1310,"name":"read-resource","id":1311,"timestamp":2307956074116,"duration":11562,"tags":{},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1310,"timestamp":2307956074107,"duration":11686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BanknotesIcon.js"},"startTime":1664295729077},{"traceId":"1979f6cbb13579d5","parentId":1316,"name":"read-resource","id":1317,"timestamp":2307956077386,"duration":8736,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1316,"timestamp":2307956077374,"duration":9673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3BottomRightIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1314,"name":"read-resource","id":1315,"timestamp":2307956077366,"duration":9688,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1314,"timestamp":2307956077352,"duration":9802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3BottomLeftIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1312,"name":"read-resource","id":1313,"timestamp":2307956077339,"duration":9820,"tags":{},"startTime":1664295729081}] -[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1312,"timestamp":2307956077306,"duration":10166,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars2Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1318,"name":"read-resource","id":1319,"timestamp":2307956077406,"duration":10070,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1318,"timestamp":2307956077395,"duration":10169,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3CenterLeftIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1322,"name":"read-resource","id":1323,"timestamp":2307956077445,"duration":10124,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1322,"timestamp":2307956077435,"duration":10219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BarsArrowDownIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1320,"name":"read-resource","id":1321,"timestamp":2307956077423,"duration":10235,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1320,"timestamp":2307956077413,"duration":10329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars3Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1326,"name":"read-resource","id":1327,"timestamp":2307956077480,"duration":11060,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1326,"timestamp":2307956077471,"duration":11452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BarsArrowUpIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1328,"name":"read-resource","id":1329,"timestamp":2307956077497,"duration":11436,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1328,"timestamp":2307956077487,"duration":11589,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery100Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1324,"name":"read-resource","id":1325,"timestamp":2307956077461,"duration":11623,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1324,"timestamp":2307956077452,"duration":11790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery0Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1330,"name":"read-resource","id":1331,"timestamp":2307956077515,"duration":11732,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1330,"timestamp":2307956077506,"duration":11849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Bars4Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1332,"name":"read-resource","id":1333,"timestamp":2307956077531,"duration":11829,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1332,"timestamp":2307956077522,"duration":11933,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Battery50Icon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1334,"name":"read-resource","id":1335,"timestamp":2307956077552,"duration":11908,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1334,"timestamp":2307956077543,"duration":12012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BeakerIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1336,"name":"read-resource","id":1337,"timestamp":2307956077571,"duration":11989,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1336,"timestamp":2307956077562,"duration":12092,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellAlertIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1338,"name":"read-resource","id":1339,"timestamp":2307956077595,"duration":12066,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1338,"timestamp":2307956077582,"duration":12164,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1340,"name":"read-resource","id":1341,"timestamp":2307956077611,"duration":12140,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1340,"timestamp":2307956077602,"duration":12233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellSnoozeIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1342,"name":"read-resource","id":1343,"timestamp":2307956077630,"duration":12210,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1342,"timestamp":2307956077621,"duration":12299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BellIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1346,"name":"read-resource","id":1347,"timestamp":2307956077668,"duration":12258,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1346,"timestamp":2307956077659,"duration":12445,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BoltIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1344,"name":"read-resource","id":1345,"timestamp":2307956077652,"duration":12460,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1344,"timestamp":2307956077643,"duration":12553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BoltSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1348,"name":"read-resource","id":1349,"timestamp":2307956077690,"duration":12511,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1348,"timestamp":2307956077680,"duration":12607,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookOpenIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1350,"name":"read-resource","id":1351,"timestamp":2307956077705,"duration":12586,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1350,"timestamp":2307956077697,"duration":12710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkSlashIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1354,"name":"read-resource","id":1355,"timestamp":2307956077742,"duration":12674,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1354,"timestamp":2307956077733,"duration":12784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1352,"name":"read-resource","id":1353,"timestamp":2307956077726,"duration":12813,"tags":{},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1352,"timestamp":2307956077712,"duration":12908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BookmarkSquareIcon.js"},"startTime":1664295729081},{"traceId":"1979f6cbb13579d5","parentId":1358,"name":"read-resource","id":1359,"timestamp":2307956081237,"duration":11346,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1358,"timestamp":2307956081223,"duration":11532,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BugAntIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1362,"name":"read-resource","id":1363,"timestamp":2307956081272,"duration":11489,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1362,"timestamp":2307956081262,"duration":11607,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingOffice2Icon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1364,"name":"read-resource","id":1365,"timestamp":2307956081289,"duration":11585,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1364,"timestamp":2307956081279,"duration":11688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingOfficeIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1360,"name":"read-resource","id":1361,"timestamp":2307956081255,"duration":11717,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1360,"timestamp":2307956081244,"duration":11816,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingLibraryIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1356,"name":"read-resource","id":1357,"timestamp":2307956081202,"duration":11865,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1356,"timestamp":2307956081168,"duration":11989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BriefcaseIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1366,"name":"read-resource","id":1367,"timestamp":2307956081303,"duration":11858,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1366,"timestamp":2307956081294,"duration":11950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/BuildingStorefrontIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1368,"name":"read-resource","id":1369,"timestamp":2307956081318,"duration":11931,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1368,"timestamp":2307956081309,"duration":12032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CakeIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1370,"name":"read-resource","id":1371,"timestamp":2307956081333,"duration":12013,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1370,"timestamp":2307956081324,"duration":12114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalculatorIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1372,"name":"read-resource","id":1373,"timestamp":2307956081348,"duration":13105,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1372,"timestamp":2307956081339,"duration":13241,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalendarDaysIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1374,"name":"read-resource","id":1375,"timestamp":2307956082067,"duration":14868,"tags":{},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1374,"timestamp":2307956082052,"duration":15040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CalendarIcon.js"},"startTime":1664295729085},{"traceId":"1979f6cbb13579d5","parentId":1376,"name":"read-resource","id":1377,"timestamp":2307956085232,"duration":12820,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1376,"timestamp":2307956085205,"duration":12978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CameraIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1380,"name":"read-resource","id":1381,"timestamp":2307956085282,"duration":12907,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1380,"timestamp":2307956085272,"duration":13017,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartBarIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1378,"name":"read-resource","id":1379,"timestamp":2307956085264,"duration":13029,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1378,"timestamp":2307956085249,"duration":13138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartBarSquareIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1382,"name":"read-resource","id":1383,"timestamp":2307956085299,"duration":13092,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1382,"timestamp":2307956085289,"duration":13187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleBottomCenterTextIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1384,"name":"read-resource","id":1385,"timestamp":2307956085317,"duration":13164,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1384,"timestamp":2307956085307,"duration":13256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftEllipsisIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1390,"name":"read-resource","id":1391,"timestamp":2307956085369,"duration":13198,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1390,"timestamp":2307956085361,"duration":13292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftRightIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1392,"name":"read-resource","id":1393,"timestamp":2307956085385,"duration":13273,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1392,"timestamp":2307956085376,"duration":13360,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1394,"name":"read-resource","id":1395,"timestamp":2307956085400,"duration":13340,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1394,"timestamp":2307956085392,"duration":13428,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleOvalLeftEllipsisIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1396,"name":"read-resource","id":1397,"timestamp":2307956085421,"duration":13403,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1396,"timestamp":2307956085412,"duration":13489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleOvalLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1398,"name":"read-resource","id":1399,"timestamp":2307956085437,"duration":13468,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1398,"timestamp":2307956085428,"duration":13555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckBadgeIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1386,"name":"read-resource","id":1387,"timestamp":2307956085333,"duration":13655,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1386,"timestamp":2307956085324,"duration":13746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChartPieIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1400,"name":"read-resource","id":1401,"timestamp":2307956085452,"duration":13623,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1400,"timestamp":2307956085443,"duration":13708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckCircleIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1404,"name":"read-resource","id":1405,"timestamp":2307956085486,"duration":13670,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1404,"timestamp":2307956085477,"duration":13761,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleDownIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1402,"name":"read-resource","id":1403,"timestamp":2307956085467,"duration":13776,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1402,"timestamp":2307956085458,"duration":13864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1388,"name":"read-resource","id":1389,"timestamp":2307956085354,"duration":13972,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1388,"timestamp":2307956085345,"duration":14062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChatBubbleBottomCenterIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1406,"name":"read-resource","id":1407,"timestamp":2307956085506,"duration":13906,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1406,"timestamp":2307956085492,"duration":13996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleLeftIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1408,"name":"read-resource","id":1409,"timestamp":2307956085521,"duration":13972,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1408,"timestamp":2307956085512,"duration":14067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleRightIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1410,"name":"read-resource","id":1411,"timestamp":2307956085540,"duration":14056,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1410,"timestamp":2307956085531,"duration":14145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDoubleUpIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1412,"name":"read-resource","id":1413,"timestamp":2307956085555,"duration":14125,"tags":{},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1412,"timestamp":2307956085547,"duration":14303,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js"},"startTime":1664295729089},{"traceId":"1979f6cbb13579d5","parentId":1416,"name":"read-resource","id":1417,"timestamp":2307956088424,"duration":16098,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1416,"timestamp":2307956088410,"duration":17852,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronRightIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1414,"name":"read-resource","id":1415,"timestamp":2307956088398,"duration":17882,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1414,"timestamp":2307956088359,"duration":18045,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronLeftIcon.js"},"startTime":1664295729092}] -[{"traceId":"1979f6cbb13579d5","parentId":1418,"name":"read-resource","id":1419,"timestamp":2307956088442,"duration":18104,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1418,"timestamp":2307956088431,"duration":18224,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronUpDownIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1420,"name":"read-resource","id":1421,"timestamp":2307956088461,"duration":18199,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1420,"timestamp":2307956088448,"duration":18304,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ChevronUpIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1424,"name":"read-resource","id":1425,"timestamp":2307956088493,"duration":18302,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1424,"timestamp":2307956088483,"duration":18408,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentCheckIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1422,"name":"read-resource","id":1423,"timestamp":2307956088477,"duration":18419,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1422,"timestamp":2307956088468,"duration":18514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CircleStackIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1426,"name":"read-resource","id":1427,"timestamp":2307956088507,"duration":18479,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1426,"timestamp":2307956088498,"duration":18576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentListIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1428,"name":"read-resource","id":1429,"timestamp":2307956088521,"duration":19339,"tags":{},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1428,"timestamp":2307956088512,"duration":19574,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardDocumentIcon.js"},"startTime":1664295729092},{"traceId":"1979f6cbb13579d5","parentId":1430,"name":"read-resource","id":1431,"timestamp":2307956091970,"duration":16555,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1430,"timestamp":2307956091946,"duration":17600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClipboardIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1436,"name":"read-resource","id":1437,"timestamp":2307956092029,"duration":17526,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1436,"timestamp":2307956092019,"duration":17654,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudArrowUpIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1432,"name":"read-resource","id":1433,"timestamp":2307956091994,"duration":17686,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1432,"timestamp":2307956091982,"duration":17791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ClockIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1434,"name":"read-resource","id":1435,"timestamp":2307956092012,"duration":17766,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1434,"timestamp":2307956092001,"duration":17863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudArrowDownIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1438,"name":"read-resource","id":1439,"timestamp":2307956092048,"duration":17821,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1438,"timestamp":2307956092039,"duration":17909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CloudIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1440,"name":"read-resource","id":1441,"timestamp":2307956092065,"duration":17888,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1440,"timestamp":2307956092055,"duration":17981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Cog6ToothIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1442,"name":"read-resource","id":1443,"timestamp":2307956092084,"duration":17958,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1442,"timestamp":2307956092074,"duration":18047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CodeBracketSquareIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1444,"name":"read-resource","id":1445,"timestamp":2307956092103,"duration":18023,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1444,"timestamp":2307956092094,"duration":18115,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Cog8ToothIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1448,"name":"read-resource","id":1449,"timestamp":2307956092134,"duration":18079,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1448,"timestamp":2307956092125,"duration":18178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CogIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1450,"name":"read-resource","id":1451,"timestamp":2307956092149,"duration":18159,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1450,"timestamp":2307956092140,"duration":18246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CommandLineIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1452,"name":"read-resource","id":1453,"timestamp":2307956092168,"duration":18223,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1452,"timestamp":2307956092159,"duration":18310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ComputerDesktopIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1446,"name":"read-resource","id":1447,"timestamp":2307956092118,"duration":18356,"tags":{},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1446,"timestamp":2307956092110,"duration":18441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CodeBracketIcon.js"},"startTime":1664295729095},{"traceId":"1979f6cbb13579d5","parentId":1454,"name":"read-resource","id":1455,"timestamp":2307956092188,"duration":18366,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1454,"timestamp":2307956092179,"duration":18458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CpuChipIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1460,"name":"read-resource","id":1461,"timestamp":2307956092239,"duration":18403,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1460,"timestamp":2307956092231,"duration":18488,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CubeIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1456,"name":"read-resource","id":1457,"timestamp":2307956092204,"duration":18519,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1456,"timestamp":2307956092196,"duration":18604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CreditCardIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1458,"name":"read-resource","id":1459,"timestamp":2307956092224,"duration":18580,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1458,"timestamp":2307956092215,"duration":18670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CubeTransparentIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1462,"name":"read-resource","id":1463,"timestamp":2307956092254,"duration":18656,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1462,"timestamp":2307956092245,"duration":18745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyBangladeshiIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1466,"name":"read-resource","id":1467,"timestamp":2307956092287,"duration":18708,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1466,"timestamp":2307956092275,"duration":18798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyEuroIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1464,"name":"read-resource","id":1465,"timestamp":2307956092269,"duration":18809,"tags":{},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1464,"timestamp":2307956092260,"duration":18899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyDollarIcon.js"},"startTime":1664295729096},{"traceId":"1979f6cbb13579d5","parentId":1468,"name":"read-resource","id":1469,"timestamp":2307956095335,"duration":17618,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1468,"timestamp":2307956095315,"duration":18107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyPoundIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1472,"name":"read-resource","id":1473,"timestamp":2307956095373,"duration":18060,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1472,"timestamp":2307956095363,"duration":18179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CursorArrowRaysIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1474,"name":"read-resource","id":1475,"timestamp":2307956095389,"duration":18159,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1474,"timestamp":2307956095379,"duration":18263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyYenIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1470,"name":"read-resource","id":1471,"timestamp":2307956095355,"duration":18292,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1470,"timestamp":2307956095344,"duration":18388,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CurrencyRupeeIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1476,"name":"read-resource","id":1477,"timestamp":2307956095456,"duration":18280,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1476,"timestamp":2307956095397,"duration":18452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/CursorArrowRippleIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1478,"name":"read-resource","id":1479,"timestamp":2307956095473,"duration":18381,"tags":{},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1478,"timestamp":2307956095464,"duration":18479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DevicePhoneMobileIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1482,"name":"read-resource","id":1483,"timestamp":2307956096429,"duration":17518,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1482,"timestamp":2307956096417,"duration":17609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentArrowDownIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1480,"name":"read-resource","id":1481,"timestamp":2307956096408,"duration":17623,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1480,"timestamp":2307956095487,"duration":18624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DeviceTabletIcon.js"},"startTime":1664295729099},{"traceId":"1979f6cbb13579d5","parentId":1484,"name":"read-resource","id":1485,"timestamp":2307956096448,"duration":17757,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1484,"timestamp":2307956096435,"duration":18007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentArrowUpIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1486,"name":"read-resource","id":1487,"timestamp":2307956096468,"duration":17990,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1486,"timestamp":2307956096459,"duration":18188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentCheckIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1488,"name":"read-resource","id":1489,"timestamp":2307956096484,"duration":18169,"tags":{},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1488,"timestamp":2307956096475,"duration":18301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentMagnifyingGlassIcon.js"},"startTime":1664295729100},{"traceId":"1979f6cbb13579d5","parentId":1492,"name":"read-resource","id":1493,"timestamp":2307956102031,"duration":13809,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1492,"timestamp":2307956102018,"duration":13982,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentChartBarIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1496,"name":"read-resource","id":1497,"timestamp":2307956102072,"duration":13934,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1496,"timestamp":2307956102062,"duration":14056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentPlusIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1490,"name":"read-resource","id":1491,"timestamp":2307956102003,"duration":14120,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1490,"timestamp":2307956101964,"duration":14258,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentDuplicateIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1494,"name":"read-resource","id":1495,"timestamp":2307956102054,"duration":14173,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1494,"timestamp":2307956102038,"duration":14279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentMinusIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1500,"name":"read-resource","id":1501,"timestamp":2307956102103,"duration":14220,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1500,"timestamp":2307956102094,"duration":14319,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1504,"name":"read-resource","id":1505,"timestamp":2307956102143,"duration":14275,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1504,"timestamp":2307956102131,"duration":14375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EnvelopeIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1498,"name":"read-resource","id":1499,"timestamp":2307956102088,"duration":14426,"tags":{},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1498,"timestamp":2307956102078,"duration":14518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/DocumentTextIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1506,"name":"read-resource","id":1507,"timestamp":2307956102212,"duration":14389,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1506,"timestamp":2307956102148,"duration":14537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisVerticalIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1510,"name":"read-resource","id":1511,"timestamp":2307956102246,"duration":14448,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1510,"timestamp":2307956102237,"duration":14539,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EnvelopeOpenIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1502,"name":"read-resource","id":1503,"timestamp":2307956102125,"duration":14656,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1502,"timestamp":2307956102108,"duration":14753,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisHorizontalCircleIcon.js"},"startTime":1664295729105},{"traceId":"1979f6cbb13579d5","parentId":1508,"name":"read-resource","id":1509,"timestamp":2307956102229,"duration":14636,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1508,"timestamp":2307956102220,"duration":14730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EllipsisHorizontalIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1516,"name":"read-resource","id":1517,"timestamp":2307956102289,"duration":14666,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1516,"timestamp":2307956102280,"duration":15689,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeDropperIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1518,"name":"read-resource","id":1519,"timestamp":2307956102302,"duration":15673,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1518,"timestamp":2307956102294,"duration":15781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeSlashIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1520,"name":"read-resource","id":1521,"timestamp":2307956102316,"duration":15764,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1520,"timestamp":2307956102308,"duration":15867,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/EyeIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1512,"name":"read-resource","id":1513,"timestamp":2307956102259,"duration":15920,"tags":{},"startTime":1664295729106}] -[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1512,"timestamp":2307956102251,"duration":16158,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ExclamationCircleIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1514,"name":"read-resource","id":1515,"timestamp":2307956102275,"duration":16138,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1514,"timestamp":2307956102264,"duration":16457,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ExclamationTriangleIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1522,"name":"read-resource","id":1523,"timestamp":2307956102332,"duration":16395,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1522,"timestamp":2307956102323,"duration":16489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FaceFrownIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1524,"name":"read-resource","id":1525,"timestamp":2307956102345,"duration":16471,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1524,"timestamp":2307956102337,"duration":16558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FaceSmileIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1530,"name":"read-resource","id":1531,"timestamp":2307956102388,"duration":16515,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1530,"timestamp":2307956102380,"duration":16604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FireIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1526,"name":"read-resource","id":1527,"timestamp":2307956102361,"duration":16630,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1526,"timestamp":2307956102352,"duration":16718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FingerPrintIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1532,"name":"read-resource","id":1533,"timestamp":2307956102401,"duration":16677,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1532,"timestamp":2307956102393,"duration":16761,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FlagIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1534,"name":"read-resource","id":1535,"timestamp":2307956102415,"duration":16746,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1534,"timestamp":2307956102406,"duration":16832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderArrowDownIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1528,"name":"read-resource","id":1529,"timestamp":2307956102375,"duration":16868,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1528,"timestamp":2307956102365,"duration":16960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FilmIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1536,"name":"read-resource","id":1537,"timestamp":2307956102429,"duration":16901,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1536,"timestamp":2307956102420,"duration":16993,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderMinusIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1538,"name":"read-resource","id":1539,"timestamp":2307956102443,"duration":16975,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1538,"timestamp":2307956102434,"duration":17062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderOpenIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1540,"name":"read-resource","id":1541,"timestamp":2307956102458,"duration":17044,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1540,"timestamp":2307956102449,"duration":17134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderPlusIcon.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"read-resource","id":1543,"timestamp":2307956102474,"duration":17129,"tags":{},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":652,"name":"build-module-js","id":1542,"timestamp":2307956102463,"duration":17328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/index.js"},"startTime":1664295729106},{"traceId":"1979f6cbb13579d5","parentId":1544,"name":"read-resource","id":1545,"timestamp":2307956107455,"duration":14116,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":716,"name":"build-module-js","id":1544,"timestamp":2307956107424,"duration":14747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1554,"name":"read-resource","id":1555,"timestamp":2307956107560,"duration":14625,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1554,"timestamp":2307956107550,"duration":14799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FolderIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1548,"name":"read-resource","id":1549,"timestamp":2307956107504,"duration":14853,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1548,"timestamp":2307956107493,"duration":18440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1546,"name":"read-resource","id":1547,"timestamp":2307956107485,"duration":18461,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1546,"timestamp":2307956107471,"duration":21064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1560,"name":"read-resource","id":1561,"timestamp":2307956107618,"duration":20944,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1560,"timestamp":2307956107603,"duration":21185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ForwardIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1550,"name":"read-resource","id":1551,"timestamp":2307956107521,"duration":21278,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1550,"timestamp":2307956107510,"duration":21556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1558,"name":"read-resource","id":1559,"timestamp":2307956107593,"duration":21624,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1558,"timestamp":2307956107582,"duration":21859,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GifIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1556,"name":"read-resource","id":1557,"timestamp":2307956107575,"duration":21875,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1556,"timestamp":2307956107567,"duration":21999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/FunnelIcon.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1552,"name":"read-resource","id":1553,"timestamp":2307956107538,"duration":22033,"tags":{},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":762,"name":"build-module-js","id":1552,"timestamp":2307956107529,"duration":25704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/pin-input/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729111},{"traceId":"1979f6cbb13579d5","parentId":1562,"name":"read-resource","id":1563,"timestamp":2307956111989,"duration":23207,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1562,"timestamp":2307956111818,"duration":23598,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GiftTopIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1564,"name":"read-resource","id":1565,"timestamp":2307956112021,"duration":23403,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1564,"timestamp":2307956112002,"duration":23534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GiftIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1566,"name":"read-resource","id":1567,"timestamp":2307956112040,"duration":23502,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1566,"timestamp":2307956112029,"duration":23613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAltIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1574,"name":"read-resource","id":1575,"timestamp":2307956112119,"duration":23528,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1574,"timestamp":2307956112110,"duration":23630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandRaisedIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1572,"name":"read-resource","id":1573,"timestamp":2307956112102,"duration":23643,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1572,"timestamp":2307956112093,"duration":23739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAsiaAustraliaIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1570,"name":"read-resource","id":1571,"timestamp":2307956112080,"duration":23757,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1570,"timestamp":2307956112070,"duration":23853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeEuropeAfricaIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1568,"name":"read-resource","id":1569,"timestamp":2307956112063,"duration":23865,"tags":{},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1568,"timestamp":2307956112053,"duration":23964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/GlobeAmericasIcon.js"},"startTime":1664295729115},{"traceId":"1979f6cbb13579d5","parentId":1576,"name":"read-resource","id":1577,"timestamp":2307956112138,"duration":23884,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1576,"timestamp":2307956112129,"duration":23974,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandThumbDownIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1578,"name":"read-resource","id":1579,"timestamp":2307956112153,"duration":23954,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1578,"timestamp":2307956112145,"duration":24040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HandThumbUpIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1580,"name":"read-resource","id":1581,"timestamp":2307956112169,"duration":24021,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1580,"timestamp":2307956112160,"duration":24112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HashtagIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1582,"name":"read-resource","id":1583,"timestamp":2307956112184,"duration":24092,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1582,"timestamp":2307956112175,"duration":24175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HeartIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1584,"name":"read-resource","id":1585,"timestamp":2307956112204,"duration":24150,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1584,"timestamp":2307956112195,"duration":24877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1588,"name":"read-resource","id":1589,"timestamp":2307956112239,"duration":24840,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1588,"timestamp":2307956112229,"duration":28571,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1586,"name":"read-resource","id":1587,"timestamp":2307956112221,"duration":28600,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1586,"timestamp":2307956112212,"duration":35225,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1594,"name":"read-resource","id":1595,"timestamp":2307956112290,"duration":35168,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1594,"timestamp":2307956112282,"duration":35426,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HomeModernIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1590,"name":"read-resource","id":1591,"timestamp":2307956112258,"duration":35457,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":770,"name":"build-module-js","id":1590,"timestamp":2307956112246,"duration":35741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1596,"name":"read-resource","id":1597,"timestamp":2307956112306,"duration":35689,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1596,"timestamp":2307956112297,"duration":35808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/HomeIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1598,"name":"read-resource","id":1599,"timestamp":2307956112322,"duration":35789,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1598,"timestamp":2307956112313,"duration":35893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/IdentificationIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1600,"name":"read-resource","id":1601,"timestamp":2307956112337,"duration":35875,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1600,"timestamp":2307956112328,"duration":35976,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxArrowDownIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1592,"name":"read-resource","id":1593,"timestamp":2307956112275,"duration":36034,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":768,"name":"build-module-js","id":1592,"timestamp":2307956112266,"duration":36267,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/popover/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1602,"name":"read-resource","id":1603,"timestamp":2307956112357,"duration":36199,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1602,"timestamp":2307956112348,"duration":36318,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxStackIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1604,"name":"read-resource","id":1605,"timestamp":2307956112373,"duration":36306,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1604,"timestamp":2307956112364,"duration":36411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InboxIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1606,"name":"read-resource","id":1607,"timestamp":2307956112387,"duration":36398,"tags":{},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1606,"timestamp":2307956112379,"duration":36491,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/InformationCircleIcon.js"},"startTime":1664295729116},{"traceId":"1979f6cbb13579d5","parentId":1608,"name":"read-resource","id":1609,"timestamp":2307956115273,"duration":36656,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1608,"timestamp":2307956115241,"duration":36937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LanguageIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1612,"name":"read-resource","id":1613,"timestamp":2307956115330,"duration":36857,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1612,"timestamp":2307956115309,"duration":36991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LifebuoyIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1610,"name":"read-resource","id":1611,"timestamp":2307956115301,"duration":37006,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1610,"timestamp":2307956115287,"duration":37113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/KeyIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1614,"name":"read-resource","id":1615,"timestamp":2307956115347,"duration":37058,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1614,"timestamp":2307956115336,"duration":37154,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LightBulbIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1616,"name":"read-resource","id":1617,"timestamp":2307956115365,"duration":37130,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1616,"timestamp":2307956115353,"duration":37233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LinkIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1620,"name":"read-resource","id":1621,"timestamp":2307956115397,"duration":37194,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1620,"timestamp":2307956115384,"duration":37291,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LockClosedIcon.js"},"startTime":1664295729119}] -[{"traceId":"1979f6cbb13579d5","parentId":1618,"name":"read-resource","id":1619,"timestamp":2307956115379,"duration":37431,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1618,"timestamp":2307956115370,"duration":37528,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ListBulletIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1622,"name":"read-resource","id":1623,"timestamp":2307956115411,"duration":37492,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1622,"timestamp":2307956115402,"duration":37578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/LockOpenIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1626,"name":"read-resource","id":1627,"timestamp":2307956115444,"duration":37540,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1626,"timestamp":2307956115435,"duration":37630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassMinusIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1628,"name":"read-resource","id":1629,"timestamp":2307956115458,"duration":37612,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1628,"timestamp":2307956115449,"duration":37700,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassPlusIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1630,"name":"read-resource","id":1631,"timestamp":2307956115473,"duration":37732,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1630,"timestamp":2307956115463,"duration":37820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1624,"name":"read-resource","id":1625,"timestamp":2307956115429,"duration":37858,"tags":{},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1624,"timestamp":2307956115420,"duration":37951,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MagnifyingGlassCircleIcon.js"},"startTime":1664295729119},{"traceId":"1979f6cbb13579d5","parentId":1632,"name":"read-resource","id":1633,"timestamp":2307956120709,"duration":34419,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1632,"timestamp":2307956120683,"duration":34667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MapPinIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1638,"name":"read-resource","id":1639,"timestamp":2307956120774,"duration":34583,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1638,"timestamp":2307956120763,"duration":34715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusCircleIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1636,"name":"read-resource","id":1637,"timestamp":2307956120755,"duration":34729,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1636,"timestamp":2307956120744,"duration":34833,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MicrophoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1646,"name":"read-resource","id":1647,"timestamp":2307956120849,"duration":34734,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1646,"timestamp":2307956120840,"duration":34836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MoonIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1642,"name":"read-resource","id":1643,"timestamp":2307956120814,"duration":34868,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1642,"timestamp":2307956120797,"duration":34967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusSmallIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1640,"name":"read-resource","id":1641,"timestamp":2307956120791,"duration":34979,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1640,"timestamp":2307956120781,"duration":35076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MegaphoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1644,"name":"read-resource","id":1645,"timestamp":2307956120831,"duration":35031,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1644,"timestamp":2307956120821,"duration":35117,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MinusIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1650,"name":"read-resource","id":1651,"timestamp":2307956120884,"duration":35059,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1650,"timestamp":2307956120876,"duration":35156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/NewspaperIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1634,"name":"read-resource","id":1635,"timestamp":2307956120735,"duration":35301,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1634,"timestamp":2307956120721,"duration":35396,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MapIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1648,"name":"read-resource","id":1649,"timestamp":2307956120869,"duration":35253,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1648,"timestamp":2307956120860,"duration":35346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/MusicalNoteIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1654,"name":"read-resource","id":1655,"timestamp":2307956120919,"duration":35291,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1654,"timestamp":2307956120911,"duration":35446,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaintBrushIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1652,"name":"read-resource","id":1653,"timestamp":2307956120904,"duration":35458,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1652,"timestamp":2307956120895,"duration":35542,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/NoSymbolIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1656,"name":"read-resource","id":1657,"timestamp":2307956120939,"duration":35503,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1656,"timestamp":2307956120930,"duration":35593,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaperAirplaneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1660,"name":"read-resource","id":1661,"timestamp":2307956120973,"duration":35555,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1660,"timestamp":2307956120965,"duration":35683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PauseCircleIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1658,"name":"read-resource","id":1659,"timestamp":2307956120955,"duration":35698,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1658,"timestamp":2307956120946,"duration":35792,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PaperClipIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1668,"name":"read-resource","id":1669,"timestamp":2307956121048,"duration":35695,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1668,"timestamp":2307956121040,"duration":35799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneArrowDownLeftIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1662,"name":"read-resource","id":1663,"timestamp":2307956120994,"duration":35858,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1662,"timestamp":2307956120985,"duration":36035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PauseIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1664,"name":"read-resource","id":1665,"timestamp":2307956121015,"duration":36013,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1664,"timestamp":2307956121006,"duration":36143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PencilSquareIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1672,"name":"read-resource","id":1673,"timestamp":2307956121087,"duration":36068,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1672,"timestamp":2307956121079,"duration":36188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneXMarkIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1670,"name":"read-resource","id":1671,"timestamp":2307956121067,"duration":36206,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1670,"timestamp":2307956121058,"duration":36307,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneArrowUpRightIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1666,"name":"read-resource","id":1667,"timestamp":2307956121030,"duration":36342,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1666,"timestamp":2307956121021,"duration":36436,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PencilIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1678,"name":"read-resource","id":1679,"timestamp":2307956121140,"duration":36323,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1678,"timestamp":2307956121131,"duration":36423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhotoIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1674,"name":"read-resource","id":1675,"timestamp":2307956121105,"duration":36454,"tags":{},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1674,"timestamp":2307956121097,"duration":36546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PhoneIcon.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1680,"name":"read-resource","id":1681,"timestamp":2307956121155,"duration":36493,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1680,"timestamp":2307956121146,"duration":36582,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayCircleIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1682,"name":"read-resource","id":1683,"timestamp":2307956121173,"duration":36750,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1682,"timestamp":2307956121161,"duration":36859,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayPauseIcon.js"},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"read-resource","id":1677,"timestamp":2307956121124,"duration":36948,"tags":{},"startTime":1664295729125},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":1676,"timestamp":2307956121115,"duration":37087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/keplr/node_modules/@walletconnect/client/dist/esm/index.js"},"startTime":1664295729124},{"traceId":"1979f6cbb13579d5","parentId":1684,"name":"read-resource","id":1685,"timestamp":2307956133796,"duration":27458,"tags":{},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1684,"timestamp":2307956133756,"duration":27731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlayIcon.js"},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":1686,"name":"read-resource","id":1687,"timestamp":2307956133831,"duration":27665,"tags":{},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1686,"timestamp":2307956133811,"duration":27810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusCircleIcon.js"},"startTime":1664295729137},{"traceId":"1979f6cbb13579d5","parentId":1690,"name":"read-resource","id":1691,"timestamp":2307956149986,"duration":14160,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1690,"timestamp":2307956149973,"duration":14400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1688,"name":"read-resource","id":1689,"timestamp":2307956149952,"duration":14428,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1688,"timestamp":2307956149902,"duration":14583,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PlusSmallIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1694,"name":"read-resource","id":1695,"timestamp":2307956150024,"duration":14467,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1694,"timestamp":2307956150014,"duration":14573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PresentationChartBarIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1692,"name":"read-resource","id":1693,"timestamp":2307956150006,"duration":14587,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1692,"timestamp":2307956149995,"duration":14681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PowerIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1696,"name":"read-resource","id":1697,"timestamp":2307956150041,"duration":14643,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1696,"timestamp":2307956150031,"duration":14741,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PresentationChartLineIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1700,"name":"read-resource","id":1701,"timestamp":2307956150072,"duration":14705,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1700,"timestamp":2307956150063,"duration":14798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PrinterIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1704,"name":"read-resource","id":1705,"timestamp":2307956150105,"duration":14761,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1704,"timestamp":2307956150096,"duration":14851,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QueueListIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1702,"name":"read-resource","id":1703,"timestamp":2307956150089,"duration":14866,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1702,"timestamp":2307956150079,"duration":14958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QuestionMarkCircleIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1712,"name":"read-resource","id":1713,"timestamp":2307956150167,"duration":14875,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1712,"timestamp":2307956150158,"duration":14972,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RectangleGroupIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1698,"name":"read-resource","id":1699,"timestamp":2307956150057,"duration":15082,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1698,"timestamp":2307956150047,"duration":15172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/PuzzlePieceIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1706,"name":"read-resource","id":1707,"timestamp":2307956150120,"duration":15104,"tags":{},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1706,"timestamp":2307956150111,"duration":15199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RadioIcon.js"},"startTime":1664295729153},{"traceId":"1979f6cbb13579d5","parentId":1714,"name":"read-resource","id":1715,"timestamp":2307956150182,"duration":15137,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1714,"timestamp":2307956150174,"duration":15233,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ReceiptRefundIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1708,"name":"read-resource","id":1709,"timestamp":2307956150135,"duration":15277,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1708,"timestamp":2307956150126,"duration":15371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/QrCodeIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1710,"name":"read-resource","id":1711,"timestamp":2307956150151,"duration":15352,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1710,"timestamp":2307956150142,"duration":15442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ReceiptPercentIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1716,"name":"read-resource","id":1717,"timestamp":2307956150197,"duration":15393,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1716,"timestamp":2307956150189,"duration":15479,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RectangleStackIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1718,"name":"read-resource","id":1719,"timestamp":2307956150213,"duration":15460,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1718,"timestamp":2307956150204,"duration":15553,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RocketLaunchIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1720,"name":"read-resource","id":1721,"timestamp":2307956150232,"duration":15529,"tags":{},"startTime":1664295729154}] -[{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1720,"timestamp":2307956150224,"duration":15773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/RssIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1722,"name":"read-resource","id":1723,"timestamp":2307956150250,"duration":15848,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1722,"timestamp":2307956150242,"duration":15945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ScaleIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1724,"name":"read-resource","id":1725,"timestamp":2307956150272,"duration":15919,"tags":{},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1724,"timestamp":2307956150263,"duration":16012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ScissorsIcon.js"},"startTime":1664295729154},{"traceId":"1979f6cbb13579d5","parentId":1728,"name":"read-resource","id":1729,"timestamp":2307956154494,"duration":13320,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1728,"timestamp":2307956154480,"duration":13639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1732,"name":"read-resource","id":1733,"timestamp":2307956154536,"duration":13591,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1732,"timestamp":2307956154520,"duration":13730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1730,"name":"read-resource","id":1731,"timestamp":2307956154511,"duration":13745,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":776,"name":"build-module-js","id":1730,"timestamp":2307956154500,"duration":14550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1734,"name":"read-resource","id":1735,"timestamp":2307956154555,"duration":14502,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1734,"timestamp":2307956154541,"duration":14738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1726,"name":"read-resource","id":1727,"timestamp":2307956154464,"duration":14821,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":1726,"timestamp":2307956154427,"duration":15837,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/events/events.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1738,"name":"read-resource","id":1739,"timestamp":2307956154586,"duration":15684,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1738,"timestamp":2307956154576,"duration":15835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ServerStackIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1736,"name":"read-resource","id":1737,"timestamp":2307956154569,"duration":15847,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1736,"timestamp":2307956154560,"duration":19234,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1740,"name":"read-resource","id":1741,"timestamp":2307956154603,"duration":19222,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1740,"timestamp":2307956154592,"duration":19534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShareIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1742,"name":"read-resource","id":1743,"timestamp":2307956154621,"duration":19513,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1742,"timestamp":2307956154611,"duration":19645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShieldCheckIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1746,"name":"read-resource","id":1747,"timestamp":2307956154659,"duration":19604,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1746,"timestamp":2307956154646,"duration":19713,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShieldExclamationIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1748,"name":"read-resource","id":1749,"timestamp":2307956154673,"duration":19691,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1748,"timestamp":2307956154665,"duration":19790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShoppingBagIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1744,"name":"read-resource","id":1745,"timestamp":2307956154641,"duration":19820,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1744,"timestamp":2307956154632,"duration":19930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ServerIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1750,"name":"read-resource","id":1751,"timestamp":2307956154689,"duration":19880,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1750,"timestamp":2307956154678,"duration":19973,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SignalSlashIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1754,"name":"read-resource","id":1755,"timestamp":2307956154720,"duration":19938,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1754,"timestamp":2307956154708,"duration":20036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SignalIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1752,"name":"read-resource","id":1753,"timestamp":2307956154702,"duration":20048,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1752,"timestamp":2307956154694,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ShoppingCartIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1758,"name":"read-resource","id":1759,"timestamp":2307956154757,"duration":20088,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1758,"timestamp":2307956154744,"duration":20192,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SpeakerWaveIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1756,"name":"read-resource","id":1757,"timestamp":2307956154739,"duration":20260,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1756,"timestamp":2307956154724,"duration":20359,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SparklesIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1760,"name":"read-resource","id":1761,"timestamp":2307956154774,"duration":20394,"tags":{},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1760,"timestamp":2307956154761,"duration":20591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SpeakerXMarkIcon.js"},"startTime":1664295729158},{"traceId":"1979f6cbb13579d5","parentId":1764,"name":"read-resource","id":1765,"timestamp":2307956160359,"duration":17533,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1764,"timestamp":2307956160345,"duration":17719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Square3Stack3DIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1762,"name":"read-resource","id":1763,"timestamp":2307956160331,"duration":17741,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1762,"timestamp":2307956160295,"duration":17883,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Square2StackIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1768,"name":"read-resource","id":1769,"timestamp":2307956160403,"duration":17780,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1768,"timestamp":2307956160392,"duration":17884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SquaresPlusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1766,"name":"read-resource","id":1767,"timestamp":2307956160380,"duration":17902,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1766,"timestamp":2307956160369,"duration":17999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/Squares2X2Icon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1770,"name":"read-resource","id":1771,"timestamp":2307956160423,"duration":17949,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1770,"timestamp":2307956160413,"duration":18042,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StarIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1772,"name":"read-resource","id":1773,"timestamp":2307956160440,"duration":18019,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1772,"timestamp":2307956160431,"duration":18108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StopCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1774,"name":"read-resource","id":1775,"timestamp":2307956160457,"duration":18087,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1774,"timestamp":2307956160447,"duration":18173,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/StopIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1778,"name":"read-resource","id":1779,"timestamp":2307956160492,"duration":18132,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1778,"timestamp":2307956160483,"duration":18221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SwatchIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1776,"name":"read-resource","id":1777,"timestamp":2307956160474,"duration":18234,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1776,"timestamp":2307956160464,"duration":18325,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/SunIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1780,"name":"read-resource","id":1781,"timestamp":2307956160513,"duration":18283,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1780,"timestamp":2307956160504,"duration":18372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TableCellsIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1782,"name":"read-resource","id":1783,"timestamp":2307956160529,"duration":18351,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1782,"timestamp":2307956160519,"duration":18442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TagIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1786,"name":"read-resource","id":1787,"timestamp":2307956160568,"duration":18399,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1786,"timestamp":2307956160558,"duration":18487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TrashIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1788,"name":"read-resource","id":1789,"timestamp":2307956160588,"duration":18462,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1788,"timestamp":2307956160577,"duration":18555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TrophyIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1784,"name":"read-resource","id":1785,"timestamp":2307956160551,"duration":18588,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1784,"timestamp":2307956160542,"duration":18676,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TicketIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1790,"name":"read-resource","id":1791,"timestamp":2307956160606,"duration":18616,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1790,"timestamp":2307956160595,"duration":18706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TruckIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1794,"name":"read-resource","id":1795,"timestamp":2307956160648,"duration":18657,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1794,"timestamp":2307956160635,"duration":18752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/TvIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1796,"name":"read-resource","id":1797,"timestamp":2307956160665,"duration":18727,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1796,"timestamp":2307956160656,"duration":18813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserGroupIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1798,"name":"read-resource","id":1799,"timestamp":2307956160680,"duration":18794,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1798,"timestamp":2307956160671,"duration":18877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserMinusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1792,"name":"read-resource","id":1793,"timestamp":2307956160628,"duration":18925,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1792,"timestamp":2307956160618,"duration":19009,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1802,"name":"read-resource","id":1803,"timestamp":2307956160711,"duration":18920,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1802,"timestamp":2307956160702,"duration":19002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1804,"name":"read-resource","id":1805,"timestamp":2307956160731,"duration":18978,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1804,"timestamp":2307956160722,"duration":19061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UsersIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1800,"name":"read-resource","id":1801,"timestamp":2307956160696,"duration":19091,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1800,"timestamp":2307956160686,"duration":19180,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/UserPlusIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1806,"name":"read-resource","id":1807,"timestamp":2307956160746,"duration":19124,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1806,"timestamp":2307956160737,"duration":19212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VariableIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1810,"name":"read-resource","id":1811,"timestamp":2307956160781,"duration":19172,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1810,"timestamp":2307956160772,"duration":19259,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VideoCameraIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1808,"name":"read-resource","id":1809,"timestamp":2307956160766,"duration":19270,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1808,"timestamp":2307956160757,"duration":19355,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/VideoCameraSlashIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1816,"name":"read-resource","id":1817,"timestamp":2307956160827,"duration":19290,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1816,"timestamp":2307956160818,"duration":19377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WalletIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1812,"name":"read-resource","id":1813,"timestamp":2307956160796,"duration":19404,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1812,"timestamp":2307956160788,"duration":19487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ViewColumnsIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1814,"name":"read-resource","id":1815,"timestamp":2307956160812,"duration":19467,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1814,"timestamp":2307956160803,"duration":19551,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/ViewfinderCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1820,"name":"read-resource","id":1821,"timestamp":2307956160864,"duration":19495,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1820,"timestamp":2307956160856,"duration":19585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WrenchScrewdriverIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1822,"name":"read-resource","id":1823,"timestamp":2307956160884,"duration":19563,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1822,"timestamp":2307956160875,"duration":19649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WindowIcon.js"},"startTime":1664295729164}] -[{"traceId":"1979f6cbb13579d5","parentId":1818,"name":"read-resource","id":1819,"timestamp":2307956160847,"duration":19821,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1818,"timestamp":2307956160838,"duration":19919,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WifiIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1828,"name":"read-resource","id":1829,"timestamp":2307956160933,"duration":19830,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1828,"timestamp":2307956160924,"duration":19913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/XMarkIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1824,"name":"read-resource","id":1825,"timestamp":2307956160902,"duration":19940,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1824,"timestamp":2307956160894,"duration":21775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/WrenchIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1826,"name":"read-resource","id":1827,"timestamp":2307956160918,"duration":21803,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":816,"name":"build-module-js","id":1826,"timestamp":2307956160909,"duration":21934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/20/solid/esm/XCircleIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1830,"name":"read-resource","id":1831,"timestamp":2307956160958,"duration":21892,"tags":{},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1830,"timestamp":2307956160947,"duration":22002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AcademicCapIcon.js"},"startTime":1664295729164},{"traceId":"1979f6cbb13579d5","parentId":1832,"name":"read-resource","id":1833,"timestamp":2307956163858,"duration":21483,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1832,"timestamp":2307956163821,"duration":21688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AdjustmentsHorizontalIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1838,"name":"read-resource","id":1839,"timestamp":2307956163929,"duration":21586,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1838,"timestamp":2307956163919,"duration":21694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxXMarkIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1834,"name":"read-resource","id":1835,"timestamp":2307956163891,"duration":21726,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1834,"timestamp":2307956163878,"duration":21830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AdjustmentsVerticalIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1840,"name":"read-resource","id":1841,"timestamp":2307956163944,"duration":21769,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1840,"timestamp":2307956163934,"duration":21868,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1836,"name":"read-resource","id":1837,"timestamp":2307956163913,"duration":21895,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1836,"timestamp":2307956163898,"duration":21992,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArchiveBoxArrowDownIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1842,"name":"read-resource","id":1843,"timestamp":2307956163959,"duration":21936,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1842,"timestamp":2307956163950,"duration":22027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownCircleIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1844,"name":"read-resource","id":1845,"timestamp":2307956163976,"duration":22088,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1844,"timestamp":2307956163967,"duration":22189,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownLeftIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1846,"name":"read-resource","id":1847,"timestamp":2307956163998,"duration":22164,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1846,"timestamp":2307956163989,"duration":22256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownOnSquareStackIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1848,"name":"read-resource","id":1849,"timestamp":2307956164016,"duration":22242,"tags":{},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1848,"timestamp":2307956164004,"duration":22336,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownOnSquareIcon.js"},"startTime":1664295729167},{"traceId":"1979f6cbb13579d5","parentId":1854,"name":"read-resource","id":1855,"timestamp":2307956167120,"duration":21563,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1854,"timestamp":2307956167108,"duration":21791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1852,"name":"read-resource","id":1853,"timestamp":2307956167100,"duration":21808,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1852,"timestamp":2307956167086,"duration":21939,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownTrayIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1856,"name":"read-resource","id":1857,"timestamp":2307956167138,"duration":21893,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1856,"timestamp":2307956167127,"duration":21999,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftCircleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1858,"name":"read-resource","id":1859,"timestamp":2307956167155,"duration":21977,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1858,"timestamp":2307956167145,"duration":22082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftOnRectangleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1860,"name":"read-resource","id":1861,"timestamp":2307956167179,"duration":22056,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1860,"timestamp":2307956167169,"duration":22149,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1862,"name":"read-resource","id":1863,"timestamp":2307956167198,"duration":22125,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1862,"timestamp":2307956167188,"duration":22223,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongDownIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1864,"name":"read-resource","id":1865,"timestamp":2307956167214,"duration":22202,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1864,"timestamp":2307956167204,"duration":22292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1866,"name":"read-resource","id":1867,"timestamp":2307956167230,"duration":22270,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1866,"timestamp":2307956167221,"duration":22356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1850,"name":"read-resource","id":1851,"timestamp":2307956167074,"duration":22509,"tags":{},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1850,"timestamp":2307956167044,"duration":22618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowDownRightIcon.js"},"startTime":1664295729170},{"traceId":"1979f6cbb13579d5","parentId":1868,"name":"read-resource","id":1869,"timestamp":2307956167247,"duration":22420,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1868,"timestamp":2307956167237,"duration":22506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowLongUpIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1870,"name":"read-resource","id":1871,"timestamp":2307956167269,"duration":22479,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1870,"timestamp":2307956167254,"duration":22575,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowPathRoundedSquareIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1878,"name":"read-resource","id":1879,"timestamp":2307956167347,"duration":22486,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1878,"timestamp":2307956167339,"duration":22577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightCircleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1876,"name":"read-resource","id":1877,"timestamp":2307956167328,"duration":22593,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1876,"timestamp":2307956167319,"duration":22682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1880,"name":"read-resource","id":1881,"timestamp":2307956167363,"duration":22642,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1880,"timestamp":2307956167354,"duration":22731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightOnRectangleIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1888,"name":"read-resource","id":1889,"timestamp":2307956167425,"duration":22664,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1888,"timestamp":2307956167416,"duration":22751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallLeftIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1882,"name":"read-resource","id":1883,"timestamp":2307956167377,"duration":22795,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1882,"timestamp":2307956167369,"duration":22879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1872,"name":"read-resource","id":1873,"timestamp":2307956167287,"duration":22964,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1872,"timestamp":2307956167278,"duration":23734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1884,"name":"read-resource","id":1885,"timestamp":2307956167395,"duration":23624,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1884,"timestamp":2307956167385,"duration":23746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallDownIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1886,"name":"read-resource","id":1887,"timestamp":2307956167409,"duration":23728,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1886,"timestamp":2307956167401,"duration":23831,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallRightIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1890,"name":"read-resource","id":1891,"timestamp":2307956167448,"duration":23848,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1890,"timestamp":2307956167439,"duration":23950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowSmallUpIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1874,"name":"read-resource","id":1875,"timestamp":2307956167308,"duration":24133,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":778,"name":"build-module-js","id":1874,"timestamp":2307956167298,"duration":27822,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1892,"name":"read-resource","id":1893,"timestamp":2307956167464,"duration":29884,"tags":{},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1892,"timestamp":2307956167456,"duration":30147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTopRightOnSquareIcon.js"},"startTime":1664295729171},{"traceId":"1979f6cbb13579d5","parentId":1894,"name":"read-resource","id":1895,"timestamp":2307956176441,"duration":21859,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1894,"timestamp":2307956176402,"duration":22054,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTrendingDownIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1898,"name":"read-resource","id":1899,"timestamp":2307956176488,"duration":21976,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1898,"timestamp":2307956176476,"duration":22092,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpCircleIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1896,"name":"read-resource","id":1897,"timestamp":2307956176468,"duration":22104,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1896,"timestamp":2307956176455,"duration":22208,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowTrendingUpIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1900,"name":"read-resource","id":1901,"timestamp":2307956176506,"duration":22162,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1900,"timestamp":2307956176495,"duration":22264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpLeftIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1902,"name":"read-resource","id":1903,"timestamp":2307956176526,"duration":22238,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1902,"timestamp":2307956176516,"duration":22331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpOnSquareStackIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1904,"name":"read-resource","id":1905,"timestamp":2307956176544,"duration":22308,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1904,"timestamp":2307956176534,"duration":22399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpOnSquareIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1906,"name":"read-resource","id":1907,"timestamp":2307956176560,"duration":22379,"tags":{},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1906,"timestamp":2307956176551,"duration":22466,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpRightIcon.js"},"startTime":1664295729180},{"traceId":"1979f6cbb13579d5","parentId":1910,"name":"read-resource","id":1911,"timestamp":2307956184233,"duration":19111,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1910,"timestamp":2307956184219,"duration":19429,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1912,"name":"read-resource","id":1913,"timestamp":2307956184249,"duration":19409,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1912,"timestamp":2307956184239,"duration":19546,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1908,"name":"read-resource","id":1909,"timestamp":2307956184208,"duration":19583,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1908,"timestamp":2307956184174,"duration":19717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUpTrayIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1914,"name":"read-resource","id":1915,"timestamp":2307956184269,"duration":19627,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1914,"timestamp":2307956184258,"duration":19728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1916,"name":"read-resource","id":1917,"timestamp":2307956184284,"duration":19707,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1916,"timestamp":2307956184275,"duration":19802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnRightIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1918,"name":"read-resource","id":1919,"timestamp":2307956184298,"duration":19784,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1918,"timestamp":2307956184289,"duration":19882,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowUturnUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1920,"name":"read-resource","id":1921,"timestamp":2307956184313,"duration":19864,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1920,"timestamp":2307956184304,"duration":19964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingInIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1922,"name":"read-resource","id":1923,"timestamp":2307956184327,"duration":19945,"tags":{},"startTime":1664295729188}] -[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1922,"timestamp":2307956184318,"duration":20171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingOutIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1926,"name":"read-resource","id":1927,"timestamp":2307956184356,"duration":20138,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1926,"timestamp":2307956184346,"duration":20230,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsUpDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1928,"name":"read-resource","id":1929,"timestamp":2307956184370,"duration":20211,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1928,"timestamp":2307956184361,"duration":20299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/AtSymbolIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1930,"name":"read-resource","id":1931,"timestamp":2307956184386,"duration":20279,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1930,"timestamp":2307956184377,"duration":20368,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BackspaceIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1932,"name":"read-resource","id":1933,"timestamp":2307956184400,"duration":20351,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1932,"timestamp":2307956184391,"duration":20441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BackwardIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1934,"name":"read-resource","id":1935,"timestamp":2307956184415,"duration":20423,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1934,"timestamp":2307956184406,"duration":20512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BanknotesIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1924,"name":"read-resource","id":1925,"timestamp":2307956184341,"duration":20581,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1924,"timestamp":2307956184332,"duration":20669,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ArrowsRightLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1936,"name":"read-resource","id":1937,"timestamp":2307956184429,"duration":20577,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1936,"timestamp":2307956184420,"duration":20662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars2Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1938,"name":"read-resource","id":1939,"timestamp":2307956184445,"duration":20642,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1938,"timestamp":2307956184436,"duration":20736,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3BottomLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1940,"name":"read-resource","id":1941,"timestamp":2307956184459,"duration":20820,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1940,"timestamp":2307956184450,"duration":20913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3BottomRightIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1942,"name":"read-resource","id":1943,"timestamp":2307956184473,"duration":20894,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1942,"timestamp":2307956184465,"duration":20989,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1944,"name":"read-resource","id":1945,"timestamp":2307956184487,"duration":20972,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1944,"timestamp":2307956184478,"duration":21102,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars4Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1948,"name":"read-resource","id":1949,"timestamp":2307956184518,"duration":21071,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1948,"timestamp":2307956184509,"duration":21165,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Bars3CenterLeftIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1952,"name":"read-resource","id":1953,"timestamp":2307956184546,"duration":21133,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1952,"timestamp":2307956184538,"duration":21220,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery0Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1946,"name":"read-resource","id":1947,"timestamp":2307956184504,"duration":21259,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1946,"timestamp":2307956184492,"duration":21348,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1950,"name":"read-resource","id":1951,"timestamp":2307956184532,"duration":21312,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1950,"timestamp":2307956184524,"duration":21399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BarsArrowUpIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1956,"name":"read-resource","id":1957,"timestamp":2307956184575,"duration":21352,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1956,"timestamp":2307956184566,"duration":21440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery50Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1954,"name":"read-resource","id":1955,"timestamp":2307956184560,"duration":21452,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1954,"timestamp":2307956184551,"duration":21540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Battery100Icon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1958,"name":"read-resource","id":1959,"timestamp":2307956184593,"duration":21503,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1958,"timestamp":2307956184584,"duration":21595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BeakerIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1960,"name":"read-resource","id":1961,"timestamp":2307956184606,"duration":21577,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1960,"timestamp":2307956184598,"duration":21665,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellAlertIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1962,"name":"read-resource","id":1963,"timestamp":2307956184620,"duration":21648,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1962,"timestamp":2307956184611,"duration":21747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1966,"name":"read-resource","id":1967,"timestamp":2307956184648,"duration":21715,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1966,"timestamp":2307956184638,"duration":21811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1964,"name":"read-resource","id":1965,"timestamp":2307956184633,"duration":21821,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1964,"timestamp":2307956184624,"duration":21907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BellSnoozeIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1968,"name":"read-resource","id":1969,"timestamp":2307956184662,"duration":21875,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1968,"timestamp":2307956184653,"duration":21960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BoltSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1970,"name":"read-resource","id":1971,"timestamp":2307956184675,"duration":21942,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1970,"timestamp":2307956184667,"duration":22027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BoltIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1972,"name":"read-resource","id":1973,"timestamp":2307956184689,"duration":22009,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1972,"timestamp":2307956184680,"duration":22093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1974,"name":"read-resource","id":1975,"timestamp":2307956184702,"duration":22076,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1974,"timestamp":2307956184694,"duration":22161,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkSlashIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1976,"name":"read-resource","id":1977,"timestamp":2307956184716,"duration":22144,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1976,"timestamp":2307956184707,"duration":22234,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkSquareIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1978,"name":"read-resource","id":1979,"timestamp":2307956184730,"duration":22252,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1978,"timestamp":2307956184721,"duration":22471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BookmarkIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1980,"name":"read-resource","id":1981,"timestamp":2307956184743,"duration":22454,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1980,"timestamp":2307956184734,"duration":22540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BriefcaseIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1982,"name":"read-resource","id":1983,"timestamp":2307956184756,"duration":22523,"tags":{},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1982,"timestamp":2307956184748,"duration":22609,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BugAntIcon.js"},"startTime":1664295729188},{"traceId":"1979f6cbb13579d5","parentId":1986,"name":"read-resource","id":1987,"timestamp":2307956188379,"duration":22226,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1986,"timestamp":2307956188362,"duration":22431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingOffice2Icon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1984,"name":"read-resource","id":1985,"timestamp":2307956188351,"duration":22450,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1984,"timestamp":2307956188320,"duration":22783,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingLibraryIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1988,"name":"read-resource","id":1989,"timestamp":2307956188396,"duration":22730,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1988,"timestamp":2307956188385,"duration":22931,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingOfficeIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1990,"name":"read-resource","id":1991,"timestamp":2307956188414,"duration":22911,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1990,"timestamp":2307956188404,"duration":23044,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CakeIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1992,"name":"read-resource","id":1993,"timestamp":2307956188429,"duration":23025,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1992,"timestamp":2307956188420,"duration":23140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/BuildingStorefrontIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1998,"name":"read-resource","id":1999,"timestamp":2307956188481,"duration":23084,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1998,"timestamp":2307956188472,"duration":23186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalendarIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1994,"name":"read-resource","id":1995,"timestamp":2307956188451,"duration":23213,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1994,"timestamp":2307956188435,"duration":23321,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalculatorIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":1996,"name":"read-resource","id":1997,"timestamp":2307956188467,"duration":23294,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":1996,"timestamp":2307956188457,"duration":23392,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CalendarDaysIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2000,"name":"read-resource","id":2001,"timestamp":2307956188496,"duration":23386,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2000,"timestamp":2307956188487,"duration":23490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CameraIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2002,"name":"read-resource","id":2003,"timestamp":2307956188509,"duration":23569,"tags":{},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2002,"timestamp":2307956188501,"duration":23672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartBarIcon.js"},"startTime":1664295729192},{"traceId":"1979f6cbb13579d5","parentId":2004,"name":"read-resource","id":2005,"timestamp":2307956196127,"duration":17299,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2004,"timestamp":2307956196089,"duration":17588,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartBarSquareIcon.js"},"startTime":1664295729199},{"traceId":"1979f6cbb13579d5","parentId":2006,"name":"read-resource","id":2007,"timestamp":2307956196156,"duration":17532,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2006,"timestamp":2307956196143,"duration":17663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChartPieIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2010,"name":"read-resource","id":2011,"timestamp":2307956196201,"duration":17610,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2010,"timestamp":2307956196190,"duration":17717,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleBottomCenterIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2012,"name":"read-resource","id":2013,"timestamp":2307956196218,"duration":17694,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2012,"timestamp":2307956196209,"duration":17793,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftEllipsisIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2008,"name":"read-resource","id":2009,"timestamp":2307956196177,"duration":17829,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2008,"timestamp":2307956196165,"duration":17928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleBottomCenterTextIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2016,"name":"read-resource","id":2017,"timestamp":2307956196260,"duration":17838,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2016,"timestamp":2307956196250,"duration":17930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2014,"name":"read-resource","id":2015,"timestamp":2307956196237,"duration":17949,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2014,"timestamp":2307956196227,"duration":18047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2020,"name":"read-resource","id":2021,"timestamp":2307956196296,"duration":17982,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2020,"timestamp":2307956196287,"duration":18071,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleOvalLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2018,"name":"read-resource","id":2019,"timestamp":2307956196277,"duration":18085,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2018,"timestamp":2307956196267,"duration":18177,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChatBubbleOvalLeftEllipsisIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2022,"name":"read-resource","id":2023,"timestamp":2307956196313,"duration":18136,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2022,"timestamp":2307956196304,"duration":18224,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckBadgeIcon.js"},"startTime":1664295729200}] -[{"traceId":"1979f6cbb13579d5","parentId":2024,"name":"read-resource","id":2025,"timestamp":2307956196331,"duration":18330,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2024,"timestamp":2307956196322,"duration":18421,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2026,"name":"read-resource","id":2027,"timestamp":2307956196348,"duration":18402,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2026,"timestamp":2307956196338,"duration":18487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleDownIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2028,"name":"read-resource","id":2029,"timestamp":2307956196375,"duration":18455,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2028,"timestamp":2307956196359,"duration":18547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CheckIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2030,"name":"read-resource","id":2031,"timestamp":2307956196395,"duration":18516,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2030,"timestamp":2307956196382,"duration":18611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleLeftIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2032,"name":"read-resource","id":2033,"timestamp":2307956196412,"duration":18587,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2032,"timestamp":2307956196402,"duration":18681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2034,"name":"read-resource","id":2035,"timestamp":2307956196428,"duration":18660,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2034,"timestamp":2307956196419,"duration":18752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDoubleUpIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2036,"name":"read-resource","id":2037,"timestamp":2307956196451,"duration":18728,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2036,"timestamp":2307956196442,"duration":18813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronDownIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2038,"name":"read-resource","id":2039,"timestamp":2307956196468,"duration":18793,"tags":{},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2038,"timestamp":2307956196458,"duration":18877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js"},"startTime":1664295729200},{"traceId":"1979f6cbb13579d5","parentId":2040,"name":"read-resource","id":2041,"timestamp":2307956201593,"duration":15315,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2040,"timestamp":2307956201547,"duration":15496,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronUpIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2042,"name":"read-resource","id":2043,"timestamp":2307956201630,"duration":15525,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2042,"timestamp":2307956201615,"duration":15796,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2044,"name":"read-resource","id":2045,"timestamp":2307956201651,"duration":16179,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2044,"timestamp":2307956201639,"duration":16330,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ChevronUpDownIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2048,"name":"read-resource","id":2049,"timestamp":2307956201685,"duration":16291,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2048,"timestamp":2307956201675,"duration":16401,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentCheckIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2056,"name":"read-resource","id":2057,"timestamp":2307956201737,"duration":16345,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2056,"timestamp":2307956201729,"duration":16441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2046,"name":"read-resource","id":2047,"timestamp":2307956201669,"duration":16505,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2046,"timestamp":2307956201658,"duration":16600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CircleStackIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2052,"name":"read-resource","id":2053,"timestamp":2307956201711,"duration":16552,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2052,"timestamp":2307956201702,"duration":16648,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2054,"name":"read-resource","id":2055,"timestamp":2307956201725,"duration":16654,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2054,"timestamp":2307956201715,"duration":16747,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2050,"name":"read-resource","id":2051,"timestamp":2307956201698,"duration":16833,"tags":{},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2050,"timestamp":2307956201689,"duration":16927,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentListIcon.js"},"startTime":1664295729205},{"traceId":"1979f6cbb13579d5","parentId":2058,"name":"read-resource","id":2059,"timestamp":2307956208863,"duration":9772,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2058,"timestamp":2307956208830,"duration":9892,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudArrowDownIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2060,"name":"read-resource","id":2061,"timestamp":2307956208898,"duration":9829,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2060,"timestamp":2307956208884,"duration":9921,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudArrowUpIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2062,"name":"read-resource","id":2063,"timestamp":2307956208917,"duration":9893,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2062,"timestamp":2307956208906,"duration":9981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CloudIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2064,"name":"read-resource","id":2065,"timestamp":2307956208939,"duration":9952,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2064,"timestamp":2307956208925,"duration":10043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CodeBracketSquareIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2066,"name":"read-resource","id":2067,"timestamp":2307956208961,"duration":10012,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2066,"timestamp":2307956208950,"duration":10113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CodeBracketIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2070,"name":"read-resource","id":2071,"timestamp":2307956208998,"duration":10070,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2070,"timestamp":2307956208988,"duration":10172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Cog8ToothIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2068,"name":"read-resource","id":2069,"timestamp":2307956208977,"duration":10190,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2068,"timestamp":2307956208968,"duration":10285,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Cog6ToothIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2072,"name":"read-resource","id":2073,"timestamp":2307956209014,"duration":10242,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2072,"timestamp":2307956209005,"duration":10331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CogIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2074,"name":"read-resource","id":2075,"timestamp":2307956209029,"duration":10310,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2074,"timestamp":2307956209020,"duration":10395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CommandLineIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2076,"name":"read-resource","id":2077,"timestamp":2307956209045,"duration":10375,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2076,"timestamp":2307956209036,"duration":10461,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ComputerDesktopIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2078,"name":"read-resource","id":2079,"timestamp":2307956209065,"duration":10436,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2078,"timestamp":2307956209056,"duration":10521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CpuChipIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2080,"name":"read-resource","id":2081,"timestamp":2307956209083,"duration":10499,"tags":{},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2080,"timestamp":2307956209074,"duration":10585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CreditCardIcon.js"},"startTime":1664295729212},{"traceId":"1979f6cbb13579d5","parentId":2082,"name":"read-resource","id":2083,"timestamp":2307956209748,"duration":9916,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2082,"timestamp":2307956209734,"duration":10007,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CubeTransparentIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2084,"name":"read-resource","id":2085,"timestamp":2307956209766,"duration":9979,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2084,"timestamp":2307956209756,"duration":10065,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CubeIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2088,"name":"read-resource","id":2089,"timestamp":2307956209798,"duration":10028,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2088,"timestamp":2307956209788,"duration":10113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyDollarIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2090,"name":"read-resource","id":2091,"timestamp":2307956209818,"duration":10088,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2090,"timestamp":2307956209809,"duration":10171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyEuroIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2086,"name":"read-resource","id":2087,"timestamp":2307956209782,"duration":10202,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2086,"timestamp":2307956209773,"duration":10286,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyBangladeshiIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2092,"name":"read-resource","id":2093,"timestamp":2307956209834,"duration":10228,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2092,"timestamp":2307956209825,"duration":10312,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyPoundIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2094,"name":"read-resource","id":2095,"timestamp":2307956209853,"duration":10288,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2094,"timestamp":2307956209844,"duration":10379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyRupeeIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2096,"name":"read-resource","id":2097,"timestamp":2307956209870,"duration":10359,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2096,"timestamp":2307956209861,"duration":10444,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CurrencyYenIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2098,"name":"read-resource","id":2099,"timestamp":2307956209889,"duration":10420,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2098,"timestamp":2307956209881,"duration":10506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CursorArrowRaysIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2100,"name":"read-resource","id":2101,"timestamp":2307956209905,"duration":10491,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2100,"timestamp":2307956209896,"duration":10581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/CursorArrowRippleIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2104,"name":"read-resource","id":2105,"timestamp":2307956209941,"duration":10549,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2104,"timestamp":2307956209932,"duration":10633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DeviceTabletIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2102,"name":"read-resource","id":2103,"timestamp":2307956209924,"duration":10645,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2102,"timestamp":2307956209916,"duration":10728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DevicePhoneMobileIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2106,"name":"read-resource","id":2107,"timestamp":2307956209964,"duration":10685,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2106,"timestamp":2307956209952,"duration":10772,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentArrowDownIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2110,"name":"read-resource","id":2111,"timestamp":2307956209996,"duration":10732,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2110,"timestamp":2307956209986,"duration":10819,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentChartBarIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2108,"name":"read-resource","id":2109,"timestamp":2307956209980,"duration":10829,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2108,"timestamp":2307956209971,"duration":10913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentArrowUpIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2112,"name":"read-resource","id":2113,"timestamp":2307956210013,"duration":10875,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2112,"timestamp":2307956210004,"duration":11107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentCheckIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2114,"name":"read-resource","id":2115,"timestamp":2307956210028,"duration":11101,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2114,"timestamp":2307956210019,"duration":11270,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2116,"name":"read-resource","id":2117,"timestamp":2307956210048,"duration":11248,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2116,"timestamp":2307956210035,"duration":11377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentMagnifyingGlassIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2118,"name":"read-resource","id":2119,"timestamp":2307956210064,"duration":11358,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2118,"timestamp":2307956210055,"duration":11460,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentMinusIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2120,"name":"read-resource","id":2121,"timestamp":2307956210083,"duration":11452,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2120,"timestamp":2307956210074,"duration":11550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentPlusIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2124,"name":"read-resource","id":2125,"timestamp":2307956210117,"duration":11515,"tags":{},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2124,"timestamp":2307956210108,"duration":11613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2122,"name":"read-resource","id":2123,"timestamp":2307956210098,"duration":11628,"tags":{},"startTime":1664295729213}] -[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2122,"timestamp":2307956210090,"duration":11866,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js"},"startTime":1664295729213},{"traceId":"1979f6cbb13579d5","parentId":2126,"name":"read-resource","id":2127,"timestamp":2307956210133,"duration":11829,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2126,"timestamp":2307956210124,"duration":11921,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisHorizontalCircleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2128,"name":"read-resource","id":2129,"timestamp":2307956210154,"duration":11901,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2128,"timestamp":2307956210145,"duration":11994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisVerticalIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2130,"name":"read-resource","id":2131,"timestamp":2307956210170,"duration":11975,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2130,"timestamp":2307956210161,"duration":12064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EllipsisHorizontalIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2132,"name":"read-resource","id":2133,"timestamp":2307956210188,"duration":12042,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2132,"timestamp":2307956210180,"duration":13767,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EnvelopeOpenIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2134,"name":"read-resource","id":2135,"timestamp":2307956210210,"duration":13747,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2134,"timestamp":2307956210201,"duration":13889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EnvelopeIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2136,"name":"read-resource","id":2137,"timestamp":2307956210225,"duration":13875,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2136,"timestamp":2307956210216,"duration":13970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ExclamationCircleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2138,"name":"read-resource","id":2139,"timestamp":2307956210245,"duration":13945,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2138,"timestamp":2307956210236,"duration":14040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2140,"name":"read-resource","id":2141,"timestamp":2307956210260,"duration":14043,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2140,"timestamp":2307956210252,"duration":14130,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeDropperIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2142,"name":"read-resource","id":2143,"timestamp":2307956210275,"duration":14112,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2142,"timestamp":2307956210266,"duration":14198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeSlashIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2144,"name":"read-resource","id":2145,"timestamp":2307956210289,"duration":14179,"tags":{},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2144,"timestamp":2307956210281,"duration":14268,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/EyeIcon.js"},"startTime":1664295729214},{"traceId":"1979f6cbb13579d5","parentId":2148,"name":"read-resource","id":2149,"timestamp":2307956213025,"duration":15080,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2148,"timestamp":2307956213007,"duration":15306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FaceSmileIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2150,"name":"read-resource","id":2151,"timestamp":2307956213043,"duration":15278,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2150,"timestamp":2307956213031,"duration":15407,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FilmIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2152,"name":"read-resource","id":2153,"timestamp":2307956213058,"duration":15385,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2152,"timestamp":2307956213048,"duration":15491,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FingerPrintIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2146,"name":"read-resource","id":2147,"timestamp":2307956212992,"duration":15553,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2146,"timestamp":2307956212907,"duration":15728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FaceFrownIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2156,"name":"read-resource","id":2157,"timestamp":2307956213087,"duration":15553,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2156,"timestamp":2307956213078,"duration":15649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FlagIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2154,"name":"read-resource","id":2155,"timestamp":2307956213073,"duration":15659,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2154,"timestamp":2307956213063,"duration":15763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FireIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2158,"name":"read-resource","id":2159,"timestamp":2307956213106,"duration":15726,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2158,"timestamp":2307956213096,"duration":15820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderArrowDownIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2160,"name":"read-resource","id":2161,"timestamp":2307956213120,"duration":15847,"tags":{},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2160,"timestamp":2307956213111,"duration":15941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderMinusIcon.js"},"startTime":1664295729216},{"traceId":"1979f6cbb13579d5","parentId":2164,"name":"read-resource","id":2165,"timestamp":2307956213149,"duration":15907,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2164,"timestamp":2307956213139,"duration":15998,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderPlusIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2162,"name":"read-resource","id":2163,"timestamp":2307956213134,"duration":16007,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2162,"timestamp":2307956213124,"duration":16093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderOpenIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2166,"name":"read-resource","id":2167,"timestamp":2307956213163,"duration":16059,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2166,"timestamp":2307956213154,"duration":16146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FolderIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2172,"name":"read-resource","id":2173,"timestamp":2307956213204,"duration":16101,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2172,"timestamp":2307956213195,"duration":16191,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/FunnelIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2168,"name":"read-resource","id":2169,"timestamp":2307956213177,"duration":16214,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2168,"timestamp":2307956213168,"duration":16302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ForwardIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2174,"name":"read-resource","id":2175,"timestamp":2307956213221,"duration":16253,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2174,"timestamp":2307956213208,"duration":16345,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GiftTopIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2170,"name":"read-resource","id":2171,"timestamp":2307956213191,"duration":16379,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2170,"timestamp":2307956213182,"duration":16473,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GifIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2176,"name":"read-resource","id":2177,"timestamp":2307956213236,"duration":16485,"tags":{},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2176,"timestamp":2307956213227,"duration":16581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GiftIcon.js"},"startTime":1664295729217},{"traceId":"1979f6cbb13579d5","parentId":2182,"name":"read-resource","id":2183,"timestamp":2307956216102,"duration":14909,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2182,"timestamp":2307956216092,"duration":15140,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAsiaAustraliaIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2186,"name":"read-resource","id":2187,"timestamp":2307956216128,"duration":15112,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2186,"timestamp":2307956216119,"duration":15242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeEuropeAfricaIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2178,"name":"read-resource","id":2179,"timestamp":2307956216061,"duration":15307,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2178,"timestamp":2307956216029,"duration":15442,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAltIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2184,"name":"read-resource","id":2185,"timestamp":2307956216115,"duration":15361,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2184,"timestamp":2307956216106,"duration":15464,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandRaisedIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2180,"name":"read-resource","id":2181,"timestamp":2307956216087,"duration":15488,"tags":{},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2180,"timestamp":2307956216069,"duration":15594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/GlobeAmericasIcon.js"},"startTime":1664295729219},{"traceId":"1979f6cbb13579d5","parentId":2188,"name":"read-resource","id":2189,"timestamp":2307956216140,"duration":15527,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2188,"timestamp":2307956216132,"duration":15624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandThumbDownIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2190,"name":"read-resource","id":2191,"timestamp":2307956216154,"duration":15606,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2190,"timestamp":2307956216145,"duration":15697,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HandThumbUpIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2192,"name":"read-resource","id":2193,"timestamp":2307956216169,"duration":15676,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2192,"timestamp":2307956216160,"duration":15763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HashtagIcon.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2200,"name":"read-resource","id":2201,"timestamp":2307956216245,"duration":15683,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":786,"name":"build-module-js","id":2200,"timestamp":2307956216237,"duration":16046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/react-env/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2196,"name":"read-resource","id":2197,"timestamp":2307956216212,"duration":16077,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2196,"timestamp":2307956216203,"duration":17315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"read-resource","id":2195,"timestamp":2307956216192,"duration":17333,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":748,"name":"build-module-js","id":2194,"timestamp":2307956216181,"duration":19576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/wc-client/build/index.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2198,"name":"read-resource","id":2199,"timestamp":2307956216230,"duration":19543,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2198,"timestamp":2307956216222,"duration":19898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2208,"name":"read-resource","id":2209,"timestamp":2307956216316,"duration":19812,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2208,"timestamp":2307956216308,"duration":20093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2202,"name":"read-resource","id":2203,"timestamp":2307956216263,"duration":20146,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2202,"timestamp":2307956216254,"duration":28272,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2206,"name":"read-resource","id":2207,"timestamp":2307956216302,"duration":28251,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2206,"timestamp":2307956216293,"duration":29912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2210,"name":"read-resource","id":2211,"timestamp":2307956216332,"duration":29891,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2210,"timestamp":2307956216323,"duration":37132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2204,"name":"read-resource","id":2205,"timestamp":2307956216286,"duration":37191,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":788,"name":"build-module-js","id":2204,"timestamp":2307956216274,"duration":41991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/skeleton/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2212,"name":"read-resource","id":2213,"timestamp":2307956216353,"duration":44526,"tags":{},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":790,"name":"build-module-js","id":2212,"timestamp":2307956216343,"duration":47899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729220},{"traceId":"1979f6cbb13579d5","parentId":2214,"name":"read-resource","id":2215,"timestamp":2307956217673,"duration":48474,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2214,"timestamp":2307956217648,"duration":48740,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HeartIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2218,"name":"read-resource","id":2219,"timestamp":2307956217707,"duration":48694,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2218,"timestamp":2307956217698,"duration":48839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HomeIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2220,"name":"read-resource","id":2221,"timestamp":2307956217720,"duration":48823,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2220,"timestamp":2307956217711,"duration":48991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/IdentificationIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2216,"name":"read-resource","id":2217,"timestamp":2307956217694,"duration":49028,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2216,"timestamp":2307956217680,"duration":49293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/HomeModernIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2222,"name":"read-resource","id":2223,"timestamp":2307956217732,"duration":49250,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2222,"timestamp":2307956217723,"duration":49377,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxArrowDownIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2224,"name":"read-resource","id":2225,"timestamp":2307956217770,"duration":49335,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2224,"timestamp":2307956217735,"duration":49469,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxStackIcon.js"},"startTime":1664295729221}] -[{"traceId":"1979f6cbb13579d5","parentId":2228,"name":"read-resource","id":2229,"timestamp":2307956217813,"duration":49779,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2228,"timestamp":2307956217804,"duration":49904,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2226,"name":"read-resource","id":2227,"timestamp":2307956217799,"duration":49915,"tags":{},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2226,"timestamp":2307956217783,"duration":50024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/InboxIcon.js"},"startTime":1664295729221},{"traceId":"1979f6cbb13579d5","parentId":2232,"name":"read-resource","id":2233,"timestamp":2307956226021,"duration":41792,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2232,"timestamp":2307956226005,"duration":41897,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LanguageIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2230,"name":"read-resource","id":2231,"timestamp":2307956225995,"duration":41913,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2230,"timestamp":2307956225965,"duration":42033,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/KeyIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2234,"name":"read-resource","id":2235,"timestamp":2307956226039,"duration":41964,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2234,"timestamp":2307956226027,"duration":42063,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LifebuoyIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2236,"name":"read-resource","id":2237,"timestamp":2307956226055,"duration":42040,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2236,"timestamp":2307956226045,"duration":42134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LightBulbIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2242,"name":"read-resource","id":2243,"timestamp":2307956226100,"duration":42083,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2242,"timestamp":2307956226090,"duration":42178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LockClosedIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2244,"name":"read-resource","id":2245,"timestamp":2307956226113,"duration":42164,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2244,"timestamp":2307956226104,"duration":42256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LockOpenIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2238,"name":"read-resource","id":2239,"timestamp":2307956226071,"duration":42294,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2238,"timestamp":2307956226061,"duration":42385,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2250,"name":"read-resource","id":2251,"timestamp":2307956226155,"duration":42295,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2250,"timestamp":2307956226146,"duration":42384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassPlusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2246,"name":"read-resource","id":2247,"timestamp":2307956226127,"duration":42408,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2246,"timestamp":2307956226118,"duration":42497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassCircleIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2256,"name":"read-resource","id":2257,"timestamp":2307956226196,"duration":42423,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2256,"timestamp":2307956226188,"duration":42513,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MapIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2240,"name":"read-resource","id":2241,"timestamp":2307956226085,"duration":42620,"tags":{},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2240,"timestamp":2307956226076,"duration":42714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ListBulletIcon.js"},"startTime":1664295729229},{"traceId":"1979f6cbb13579d5","parentId":2248,"name":"read-resource","id":2249,"timestamp":2307956226140,"duration":42655,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2248,"timestamp":2307956226131,"duration":43049,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassMinusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2254,"name":"read-resource","id":2255,"timestamp":2307956226182,"duration":43006,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2254,"timestamp":2307956226173,"duration":43118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2258,"name":"read-resource","id":2259,"timestamp":2307956226211,"duration":43086,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2258,"timestamp":2307956226202,"duration":43186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MegaphoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2260,"name":"read-resource","id":2261,"timestamp":2307956226225,"duration":43169,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2260,"timestamp":2307956226216,"duration":43556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MicrophoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2252,"name":"read-resource","id":2253,"timestamp":2307956226169,"duration":43610,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2252,"timestamp":2307956226161,"duration":43710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2262,"name":"read-resource","id":2263,"timestamp":2307956226239,"duration":43637,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2262,"timestamp":2307956226230,"duration":43726,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2264,"name":"read-resource","id":2265,"timestamp":2307956226251,"duration":43709,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2264,"timestamp":2307956226243,"duration":43846,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusSmallIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2266,"name":"read-resource","id":2267,"timestamp":2307956226268,"duration":43826,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2266,"timestamp":2307956226257,"duration":44681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MinusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2270,"name":"read-resource","id":2271,"timestamp":2307956226297,"duration":44649,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2270,"timestamp":2307956226288,"duration":44798,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MusicalNoteIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2272,"name":"read-resource","id":2273,"timestamp":2307956226311,"duration":44780,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2272,"timestamp":2307956226303,"duration":44877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/NewspaperIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2268,"name":"read-resource","id":2269,"timestamp":2307956226283,"duration":44901,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2268,"timestamp":2307956226272,"duration":44996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/MoonIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2274,"name":"read-resource","id":2275,"timestamp":2307956226326,"duration":44947,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2274,"timestamp":2307956226317,"duration":45040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/NoSymbolIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2278,"name":"read-resource","id":2279,"timestamp":2307956226357,"duration":45006,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":792,"name":"build-module-js","id":2278,"timestamp":2307956226347,"duration":45367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/slider/node_modules/@chakra-ui/event-utils/dist/index.esm.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2280,"name":"read-resource","id":2281,"timestamp":2307956226370,"duration":45352,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2280,"timestamp":2307956226361,"duration":45523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaperAirplaneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2284,"name":"read-resource","id":2285,"timestamp":2307956226400,"duration":45496,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2284,"timestamp":2307956226392,"duration":45680,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PauseCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2276,"name":"read-resource","id":2277,"timestamp":2307956226339,"duration":45741,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2276,"timestamp":2307956226331,"duration":45929,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaintBrushIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2282,"name":"read-resource","id":2283,"timestamp":2307956226388,"duration":45883,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2282,"timestamp":2307956226379,"duration":46043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PaperClipIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2290,"name":"read-resource","id":2291,"timestamp":2307956226437,"duration":45993,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2290,"timestamp":2307956226429,"duration":46113,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PencilIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2294,"name":"read-resource","id":2295,"timestamp":2307956226463,"duration":46087,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2294,"timestamp":2307956226454,"duration":46193,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneXMarkIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2292,"name":"read-resource","id":2293,"timestamp":2307956226450,"duration":46203,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2292,"timestamp":2307956226441,"duration":46303,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneArrowDownLeftIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2286,"name":"read-resource","id":2287,"timestamp":2307956226413,"duration":46337,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2286,"timestamp":2307956226404,"duration":46435,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PauseIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2288,"name":"read-resource","id":2289,"timestamp":2307956226425,"duration":46420,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2288,"timestamp":2307956226417,"duration":46523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PencilSquareIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2300,"name":"read-resource","id":2301,"timestamp":2307956226505,"duration":46446,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2300,"timestamp":2307956226497,"duration":46547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhotoIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2298,"name":"read-resource","id":2299,"timestamp":2307956226493,"duration":46557,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2298,"timestamp":2307956226484,"duration":46652,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2302,"name":"read-resource","id":2303,"timestamp":2307956226524,"duration":46617,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2302,"timestamp":2307956226515,"duration":46715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2296,"name":"read-resource","id":2297,"timestamp":2307956226476,"duration":46761,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2296,"timestamp":2307956226467,"duration":46854,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PhoneArrowUpRightIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2304,"name":"read-resource","id":2305,"timestamp":2307956226538,"duration":46790,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2304,"timestamp":2307956226530,"duration":46881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayPauseIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2306,"name":"read-resource","id":2307,"timestamp":2307956226552,"duration":46865,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2306,"timestamp":2307956226544,"duration":46958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlayIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2308,"name":"read-resource","id":2309,"timestamp":2307956226565,"duration":46942,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2308,"timestamp":2307956226557,"duration":47036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusCircleIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2310,"name":"read-resource","id":2311,"timestamp":2307956226580,"duration":47018,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2310,"timestamp":2307956226569,"duration":47108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusSmallIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2316,"name":"read-resource","id":2317,"timestamp":2307956226619,"duration":47064,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2316,"timestamp":2307956226610,"duration":47153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PresentationChartBarIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2312,"name":"read-resource","id":2313,"timestamp":2307956226592,"duration":47176,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2312,"timestamp":2307956226583,"duration":47264,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PlusIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2314,"name":"read-resource","id":2315,"timestamp":2307956226605,"duration":47248,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2314,"timestamp":2307956226597,"duration":47333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PowerIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2322,"name":"read-resource","id":2323,"timestamp":2307956227097,"duration":46838,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2322,"timestamp":2307956227084,"duration":46938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PuzzlePieceIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2318,"name":"read-resource","id":2319,"timestamp":2307956226636,"duration":47391,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2318,"timestamp":2307956226624,"duration":47487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PresentationChartLineIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2320,"name":"read-resource","id":2321,"timestamp":2307956227079,"duration":47038,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2320,"timestamp":2307956226642,"duration":47827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/PrinterIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2326,"name":"read-resource","id":2327,"timestamp":2307956227129,"duration":47346,"tags":{},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2326,"timestamp":2307956227121,"duration":47453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QueueListIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2328,"name":"read-resource","id":2329,"timestamp":2307956227144,"duration":47554,"tags":{},"startTime":1664295729231}] -[{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2328,"timestamp":2307956227135,"duration":48089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QuestionMarkCircleIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2324,"name":"read-resource","id":2325,"timestamp":2307956227116,"duration":48123,"tags":{},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2324,"timestamp":2307956227104,"duration":48339,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/QrCodeIcon.js"},"startTime":1664295729230},{"traceId":"1979f6cbb13579d5","parentId":2330,"name":"read-resource","id":2331,"timestamp":2307956227159,"duration":52456,"tags":{},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2330,"timestamp":2307956227150,"duration":52774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RadioIcon.js"},"startTime":1664295729231},{"traceId":"1979f6cbb13579d5","parentId":2336,"name":"read-resource","id":2337,"timestamp":2307956230610,"duration":49466,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2336,"timestamp":2307956230598,"duration":49619,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RectangleGroupIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2334,"name":"read-resource","id":2335,"timestamp":2307956230592,"duration":49632,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2334,"timestamp":2307956230581,"duration":49751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ReceiptRefundIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2332,"name":"read-resource","id":2333,"timestamp":2307956230572,"duration":49767,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2332,"timestamp":2307956230547,"duration":49888,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ReceiptPercentIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2342,"name":"read-resource","id":2343,"timestamp":2307956230730,"duration":49711,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2342,"timestamp":2307956230655,"duration":49881,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RssIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2338,"name":"read-resource","id":2339,"timestamp":2307956230626,"duration":49917,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2338,"timestamp":2307956230616,"duration":50018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RectangleStackIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2344,"name":"read-resource","id":2345,"timestamp":2307956230748,"duration":49892,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2344,"timestamp":2307956230738,"duration":49995,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ScaleIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2346,"name":"read-resource","id":2347,"timestamp":2307956230762,"duration":49977,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2346,"timestamp":2307956230753,"duration":50073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ServerStackIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2340,"name":"read-resource","id":2341,"timestamp":2307956230642,"duration":50189,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2340,"timestamp":2307956230633,"duration":50283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/RocketLaunchIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2348,"name":"read-resource","id":2349,"timestamp":2307956230777,"duration":50145,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2348,"timestamp":2307956230767,"duration":50241,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ScissorsIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2350,"name":"read-resource","id":2351,"timestamp":2307956230795,"duration":50217,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2350,"timestamp":2307956230783,"duration":50314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ServerIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2356,"name":"read-resource","id":2357,"timestamp":2307956230835,"duration":50266,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2356,"timestamp":2307956230827,"duration":50358,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShieldExclamationIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2354,"name":"read-resource","id":2355,"timestamp":2307956230822,"duration":50368,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2354,"timestamp":2307956230813,"duration":50458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShieldCheckIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2352,"name":"read-resource","id":2353,"timestamp":2307956230809,"duration":50467,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2352,"timestamp":2307956230800,"duration":50776,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShareIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2360,"name":"read-resource","id":2361,"timestamp":2307956230863,"duration":50720,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2360,"timestamp":2307956230855,"duration":50823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShoppingCartIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2358,"name":"read-resource","id":2359,"timestamp":2307956230851,"duration":50861,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2358,"timestamp":2307956230842,"duration":50956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ShoppingBagIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2362,"name":"read-resource","id":2363,"timestamp":2307956230876,"duration":50927,"tags":{},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2362,"timestamp":2307956230868,"duration":51020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SignalSlashIcon.js"},"startTime":1664295729234},{"traceId":"1979f6cbb13579d5","parentId":2364,"name":"read-resource","id":2365,"timestamp":2307956265955,"duration":20981,"tags":{},"startTime":1664295729269},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2364,"timestamp":2307956265908,"duration":21333,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SignalIcon.js"},"startTime":1664295729269},{"traceId":"1979f6cbb13579d5","parentId":2370,"name":"read-resource","id":2371,"timestamp":2307956278387,"duration":9891,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2370,"timestamp":2307956278377,"duration":10201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SpeakerXMarkIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2372,"name":"read-resource","id":2373,"timestamp":2307956278412,"duration":10175,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2372,"timestamp":2307956278395,"duration":10332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Square2StackIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2366,"name":"read-resource","id":2367,"timestamp":2307956278343,"duration":10391,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2366,"timestamp":2307956278302,"duration":10549,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SparklesIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2368,"name":"read-resource","id":2369,"timestamp":2307956278368,"duration":10493,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2368,"timestamp":2307956278355,"duration":10620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SpeakerWaveIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2374,"name":"read-resource","id":2375,"timestamp":2307956278429,"duration":10552,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2374,"timestamp":2307956278418,"duration":10667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Square3Stack3DIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2376,"name":"read-resource","id":2377,"timestamp":2307956278445,"duration":10646,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2376,"timestamp":2307956278436,"duration":10754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/Squares2X2Icon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2378,"name":"read-resource","id":2379,"timestamp":2307956278465,"duration":10731,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2378,"timestamp":2307956278456,"duration":10832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SquaresPlusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2380,"name":"read-resource","id":2381,"timestamp":2307956278482,"duration":10811,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2380,"timestamp":2307956278473,"duration":10906,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StarIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2388,"name":"read-resource","id":2389,"timestamp":2307956278551,"duration":10834,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2388,"timestamp":2307956278543,"duration":10937,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TagIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2382,"name":"read-resource","id":2383,"timestamp":2307956278505,"duration":10985,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2382,"timestamp":2307956278495,"duration":11082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StopCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2384,"name":"read-resource","id":2385,"timestamp":2307956278520,"duration":11062,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2384,"timestamp":2307956278512,"duration":11151,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/StopIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2386,"name":"read-resource","id":2387,"timestamp":2307956278536,"duration":11132,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2386,"timestamp":2307956278526,"duration":11243,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SwatchIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2390,"name":"read-resource","id":2391,"timestamp":2307956278570,"duration":11204,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2390,"timestamp":2307956278562,"duration":11311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TableCellsIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2394,"name":"read-resource","id":2395,"timestamp":2307956278605,"duration":11272,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2394,"timestamp":2307956278597,"duration":11411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TicketIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2396,"name":"read-resource","id":2397,"timestamp":2307956278619,"duration":11400,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2396,"timestamp":2307956278611,"duration":11581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TrashIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2392,"name":"read-resource","id":2393,"timestamp":2307956278585,"duration":11615,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2392,"timestamp":2307956278577,"duration":11781,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/SunIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2398,"name":"read-resource","id":2399,"timestamp":2307956278633,"duration":11738,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2398,"timestamp":2307956278625,"duration":11898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TrophyIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2400,"name":"read-resource","id":2401,"timestamp":2307956278649,"duration":11881,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2400,"timestamp":2307956278640,"duration":12035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TruckIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2402,"name":"read-resource","id":2403,"timestamp":2307956278669,"duration":12016,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2402,"timestamp":2307956278661,"duration":12132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/TvIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2404,"name":"read-resource","id":2405,"timestamp":2307956278685,"duration":12114,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2404,"timestamp":2307956278676,"duration":12217,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2406,"name":"read-resource","id":2407,"timestamp":2307956278703,"duration":12195,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2406,"timestamp":2307956278695,"duration":12322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserGroupIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2408,"name":"read-resource","id":2409,"timestamp":2307956278717,"duration":12306,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2408,"timestamp":2307956278709,"duration":12408,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserMinusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2410,"name":"read-resource","id":2411,"timestamp":2307956278732,"duration":12392,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2410,"timestamp":2307956278724,"duration":12502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserPlusIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2412,"name":"read-resource","id":2413,"timestamp":2307956278747,"duration":12486,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2412,"timestamp":2307956278739,"duration":12582,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UserIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2414,"name":"read-resource","id":2415,"timestamp":2307956278764,"duration":12563,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2414,"timestamp":2307956278753,"duration":12665,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/UsersIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2418,"name":"read-resource","id":2419,"timestamp":2307956278794,"duration":12630,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2418,"timestamp":2307956278786,"duration":12731,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2420,"name":"read-resource","id":2421,"timestamp":2307956278810,"duration":12714,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2420,"timestamp":2307956278801,"duration":12803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VideoCameraSlashIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2422,"name":"read-resource","id":2423,"timestamp":2307956278828,"duration":12781,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2422,"timestamp":2307956278820,"duration":12871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ViewfinderCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2424,"name":"read-resource","id":2425,"timestamp":2307956278852,"duration":12845,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2424,"timestamp":2307956278839,"duration":12946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/ViewColumnsIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2416,"name":"read-resource","id":2417,"timestamp":2307956278779,"duration":13011,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2416,"timestamp":2307956278771,"duration":13104,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/VariableIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2426,"name":"read-resource","id":2427,"timestamp":2307956278866,"duration":13014,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2426,"timestamp":2307956278858,"duration":13109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WalletIcon.js"},"startTime":1664295729282}] -[{"traceId":"1979f6cbb13579d5","parentId":2430,"name":"read-resource","id":2431,"timestamp":2307956278907,"duration":13196,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2430,"timestamp":2307956278899,"duration":13296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WindowIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2432,"name":"read-resource","id":2433,"timestamp":2307956278922,"duration":13278,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2432,"timestamp":2307956278914,"duration":13367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WrenchScrewdriverIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2428,"name":"read-resource","id":2429,"timestamp":2307956278888,"duration":13398,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2428,"timestamp":2307956278880,"duration":13497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WifiIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2434,"name":"read-resource","id":2435,"timestamp":2307956278936,"duration":13446,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2434,"timestamp":2307956278928,"duration":13544,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/WrenchIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2436,"name":"read-resource","id":2437,"timestamp":2307956278954,"duration":13523,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2436,"timestamp":2307956278946,"duration":13611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2438,"name":"read-resource","id":2439,"timestamp":2307956278969,"duration":13595,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":818,"name":"build-module-js","id":2438,"timestamp":2307956278961,"duration":13684,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2440,"name":"read-resource","id":2441,"timestamp":2307956278984,"duration":13666,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"build-module-mjs","id":2440,"timestamp":2307956278976,"duration":13790,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-constant.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2442,"name":"read-resource","id":2443,"timestamp":2307956279004,"duration":13776,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2442,"timestamp":2307956278996,"duration":14094,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/process.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2444,"name":"read-resource","id":2445,"timestamp":2307956279025,"duration":14074,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2444,"timestamp":2307956279017,"duration":14175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2446,"name":"read-resource","id":2447,"timestamp":2307956279040,"duration":14162,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2446,"timestamp":2307956279032,"duration":14248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/warn-once.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2448,"name":"read-resource","id":2449,"timestamp":2307956279054,"duration":14232,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":822,"name":"build-module-mjs","id":2448,"timestamp":2307956279046,"duration":14466,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2454,"name":"read-resource","id":2455,"timestamp":2307956279106,"duration":14412,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":832,"name":"build-module-mjs","id":2454,"timestamp":2307956279098,"duration":14533,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-combine-values.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2452,"name":"read-resource","id":2453,"timestamp":2307956279092,"duration":14547,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2452,"timestamp":2307956279084,"duration":14738,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2456,"name":"read-resource","id":2457,"timestamp":2307956279126,"duration":14703,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":840,"name":"build-module-mjs","id":2456,"timestamp":2307956279117,"duration":14813,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-on-change.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2450,"name":"read-resource","id":2451,"timestamp":2307956279077,"duration":14859,"tags":{},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":802,"name":"build-module-mjs","id":2450,"timestamp":2307956279067,"duration":15012,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@zag-js/element-size/dist/index.mjs"},"startTime":1664295729282},{"traceId":"1979f6cbb13579d5","parentId":2462,"name":"read-resource","id":2463,"timestamp":2307956279173,"duration":14913,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":848,"name":"build-module-mjs","id":2462,"timestamp":2307956279165,"duration":15010,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/resolve-value.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2458,"name":"read-resource","id":2459,"timestamp":2307956279140,"duration":15041,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"build-module-mjs","id":2458,"timestamp":2307956279132,"duration":15108,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/LazyContext.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2460,"name":"read-resource","id":2461,"timestamp":2307956279157,"duration":15089,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":826,"name":"build-module-mjs","id":2460,"timestamp":2307956279146,"duration":15182,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/load-features.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2466,"name":"read-resource","id":2467,"timestamp":2307956279201,"duration":15136,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"build-module-mjs","id":2466,"timestamp":2307956279193,"duration":15358,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/Item.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2464,"name":"read-resource","id":2465,"timestamp":2307956279187,"duration":15370,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":846,"name":"build-module-mjs","id":2464,"timestamp":2307956279179,"duration":15587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/Group.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2474,"name":"read-resource","id":2475,"timestamp":2307956279271,"duration":15502,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"build-module-mjs","id":2474,"timestamp":2307956279262,"duration":15615,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2468,"name":"read-resource","id":2469,"timestamp":2307956279215,"duration":15673,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":828,"name":"build-module-mjs","id":2468,"timestamp":2307956279207,"duration":17313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/group.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2476,"name":"read-resource","id":2477,"timestamp":2307956279285,"duration":17423,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":868,"name":"build-module-mjs","id":2476,"timestamp":2307956279277,"duration":17519,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2472,"name":"read-resource","id":2473,"timestamp":2307956279252,"duration":17550,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2472,"timestamp":2307956279242,"duration":17698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/array.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2470,"name":"read-resource","id":2471,"timestamp":2307956279236,"duration":17718,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":874,"name":"build-module-mjs","id":2470,"timestamp":2307956279227,"duration":17779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2480,"name":"read-resource","id":2481,"timestamp":2307956279318,"duration":17693,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2480,"timestamp":2307956279310,"duration":17894,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/motion-proxy.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"read-resource","id":2479,"timestamp":2307956279299,"duration":17924,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"build-module-mjs","id":2478,"timestamp":2307956279291,"duration":18086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/gestures.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"read-resource","id":2483,"timestamp":2307956279333,"duration":18050,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":882,"name":"build-module-mjs","id":2482,"timestamp":2307956279325,"duration":18197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"read-resource","id":2485,"timestamp":2307956279347,"duration":22813,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2484,"timestamp":2307956279339,"duration":23148,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/drag.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2486,"name":"read-resource","id":2487,"timestamp":2307956279365,"duration":23131,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2486,"timestamp":2307956279357,"duration":23226,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"read-resource","id":2489,"timestamp":2307956279384,"duration":23227,"tags":{},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2488,"timestamp":2307956279376,"duration":23357,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/create-config.mjs"},"startTime":1664295729283},{"traceId":"1979f6cbb13579d5","parentId":2490,"name":"read-resource","id":2491,"timestamp":2307956283672,"duration":19448,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2490,"timestamp":2307956283636,"duration":19655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2494,"name":"read-resource","id":2495,"timestamp":2307956283717,"duration":19582,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2494,"timestamp":2307956283707,"duration":19696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2492,"name":"read-resource","id":2493,"timestamp":2307956283698,"duration":19711,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2492,"timestamp":2307956283684,"duration":19804,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2496,"name":"read-resource","id":2497,"timestamp":2307956283737,"duration":19756,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2496,"timestamp":2307956283726,"duration":20454,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2498,"name":"read-resource","id":2499,"timestamp":2307956283756,"duration":20432,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2498,"timestamp":2307956283745,"duration":20513,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2500,"name":"read-resource","id":2501,"timestamp":2307956283775,"duration":20489,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2500,"timestamp":2307956283764,"duration":20662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/lifecycles.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2502,"name":"read-resource","id":2503,"timestamp":2307956283794,"duration":20638,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2502,"timestamp":2307956283783,"duration":20869,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2504,"name":"read-resource","id":2505,"timestamp":2307956283829,"duration":20828,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2504,"timestamp":2307956283811,"duration":20949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2508,"name":"read-resource","id":2509,"timestamp":2307956283861,"duration":20905,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":886,"name":"build-module-mjs","id":2508,"timestamp":2307956283852,"duration":21018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2506,"name":"read-resource","id":2507,"timestamp":2307956283845,"duration":23775,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":888,"name":"build-module-mjs","id":2506,"timestamp":2307956283836,"duration":23981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/definitions.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2514,"name":"read-resource","id":2515,"timestamp":2307956283909,"duration":23918,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2514,"timestamp":2307956283901,"duration":24168,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2518,"name":"read-resource","id":2519,"timestamp":2307956283952,"duration":24126,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2518,"timestamp":2307956283939,"duration":24266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"read-resource","id":2513,"timestamp":2307956283891,"duration":24321,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":860,"name":"build-module-mjs","id":2512,"timestamp":2307956283883,"duration":24930,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2516,"name":"read-resource","id":2517,"timestamp":2307956283928,"duration":24892,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2516,"timestamp":2307956283920,"duration":25020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"read-resource","id":2511,"timestamp":2307956283876,"duration":25070,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2510,"timestamp":2307956283868,"duration":25207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2520,"name":"read-resource","id":2521,"timestamp":2307956283967,"duration":25117,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2520,"timestamp":2307956283958,"duration":25205,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/id.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2522,"name":"read-resource","id":2523,"timestamp":2307956283981,"duration":25617,"tags":{},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":878,"name":"build-module-mjs","id":2522,"timestamp":2307956283973,"duration":25698,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/layout/index.mjs"},"startTime":1664295729287},{"traceId":"1979f6cbb13579d5","parentId":2528,"name":"read-resource","id":2529,"timestamp":2307956287909,"duration":26949,"tags":{},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":908,"name":"build-module-mjs","id":2528,"timestamp":2307956287897,"duration":27161,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2524,"name":"read-resource","id":2525,"timestamp":2307956287854,"duration":27216,"tags":{},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2524,"timestamp":2307956287812,"duration":27437,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/VisualElementHandler.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2526,"name":"read-resource","id":2527,"timestamp":2307956287887,"duration":27368,"tags":{},"startTime":1664295729291}] -[{"traceId":"1979f6cbb13579d5","parentId":912,"name":"build-module-mjs","id":2526,"timestamp":2307956287870,"duration":27581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"},"startTime":1664295729291},{"traceId":"1979f6cbb13579d5","parentId":2530,"name":"read-resource","id":2531,"timestamp":2307956299950,"duration":16829,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":854,"name":"build-module-mjs","id":2530,"timestamp":2307956299909,"duration":16980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2538,"name":"read-resource","id":2539,"timestamp":2307956300039,"duration":16857,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":944,"name":"build-module-mjs","id":2538,"timestamp":2307956300027,"duration":18971,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/utils/event-type.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2536,"name":"read-resource","id":2537,"timestamp":2307956300017,"duration":19001,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2536,"timestamp":2307956300007,"duration":19153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2532,"name":"read-resource","id":2533,"timestamp":2307956299982,"duration":19192,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":942,"name":"build-module-mjs","id":2532,"timestamp":2307956299968,"duration":19627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/events/utils.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"read-resource","id":2543,"timestamp":2307956300069,"duration":19535,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2542,"timestamp":2307956300060,"duration":19649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2534,"name":"read-resource","id":2535,"timestamp":2307956300001,"duration":19715,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2534,"timestamp":2307956299990,"duration":19808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2540,"name":"read-resource","id":2541,"timestamp":2307956300055,"duration":19749,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2540,"timestamp":2307956300046,"duration":20836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2548,"name":"read-resource","id":2549,"timestamp":2307956300128,"duration":20770,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"build-module-mjs","id":2548,"timestamp":2307956300116,"duration":20863,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2550,"name":"read-resource","id":2551,"timestamp":2307956300145,"duration":20844,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":974,"name":"build-module-mjs","id":2550,"timestamp":2307956300133,"duration":20958,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2544,"name":"read-resource","id":2545,"timestamp":2307956300088,"duration":21010,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":812,"name":"build-module-js","id":2544,"timestamp":2307956300078,"duration":21595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-animation-state/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2546,"name":"read-resource","id":2547,"timestamp":2307956300108,"duration":21573,"tags":{},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":810,"name":"build-module-js","id":2546,"timestamp":2307956300094,"duration":22005,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-focus-effect/node_modules/@chakra-ui/dom-utils/dist/index.esm.js"},"startTime":1664295729303},{"traceId":"1979f6cbb13579d5","parentId":2552,"name":"read-resource","id":2553,"timestamp":2307956300163,"duration":21942,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2552,"timestamp":2307956300152,"duration":22128,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/eventListeners.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2554,"name":"read-resource","id":2555,"timestamp":2307956300181,"duration":22105,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2554,"timestamp":2307956300170,"duration":22199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"read-resource","id":2557,"timestamp":2307956300198,"duration":22176,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2556,"timestamp":2307956300188,"duration":22694,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/computeStyles.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2558,"name":"read-resource","id":2559,"timestamp":2307956300216,"duration":22673,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2558,"timestamp":2307956300204,"duration":22886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/applyStyles.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2560,"name":"read-resource","id":2561,"timestamp":2307956300230,"duration":22867,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2560,"timestamp":2307956300221,"duration":23056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/offset.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"read-resource","id":2563,"timestamp":2307956300247,"duration":23037,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2562,"timestamp":2307956300239,"duration":23440,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/flip.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"read-resource","id":2565,"timestamp":2307956300261,"duration":23424,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2564,"timestamp":2307956300252,"duration":23872,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"read-resource","id":2567,"timestamp":2307956300276,"duration":23855,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2566,"timestamp":2307956300267,"duration":24198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/arrow.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2568,"name":"read-resource","id":2569,"timestamp":2307956300293,"duration":24179,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":982,"name":"build-module-js","id":2568,"timestamp":2307956300283,"duration":24345,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/modifiers/hide.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"read-resource","id":2571,"timestamp":2307956300313,"duration":24321,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2570,"timestamp":2307956300300,"duration":24529,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2572,"name":"read-resource","id":2573,"timestamp":2307956300330,"duration":24504,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2572,"timestamp":2307956300320,"duration":24614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"read-resource","id":2575,"timestamp":2307956300348,"duration":24592,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2574,"timestamp":2307956300336,"duration":24836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2578,"name":"read-resource","id":2579,"timestamp":2307956300379,"duration":24799,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2578,"timestamp":2307956300371,"duration":24876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2576,"name":"read-resource","id":2577,"timestamp":2307956300362,"duration":24889,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2576,"timestamp":2307956300354,"duration":25016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2580,"name":"read-resource","id":2581,"timestamp":2307956300396,"duration":24979,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2580,"timestamp":2307956300387,"duration":25080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2582,"name":"read-resource","id":2583,"timestamp":2307956300413,"duration":25059,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2582,"timestamp":2307956300401,"duration":25203,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/orderModifiers.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2584,"name":"read-resource","id":2585,"timestamp":2307956300428,"duration":25182,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2584,"timestamp":2307956300419,"duration":25262,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/debounce.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2588,"name":"read-resource","id":2589,"timestamp":2307956300464,"duration":25222,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2588,"timestamp":2307956300455,"duration":25293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/uniqueBy.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2586,"name":"read-resource","id":2587,"timestamp":2307956300450,"duration":25667,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2586,"timestamp":2307956300435,"duration":25953,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/validateModifiers.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2590,"name":"read-resource","id":2591,"timestamp":2307956300477,"duration":25917,"tags":{},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2590,"timestamp":2307956300469,"duration":25986,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getBasePlacement.js"},"startTime":1664295729304},{"traceId":"1979f6cbb13579d5","parentId":2596,"name":"read-resource","id":2597,"timestamp":2307956306293,"duration":24134,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":1014,"name":"build-module-mjs","id":2596,"timestamp":2307956306281,"duration":24372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/make-renderless-component.mjs"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"read-resource","id":2595,"timestamp":2307956306275,"duration":24387,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2594,"timestamp":2307956306261,"duration":24803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/detectOverflow.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2600,"name":"read-resource","id":2601,"timestamp":2307956306329,"duration":24742,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":900,"name":"build-module-js","id":2600,"timestamp":2307956306317,"duration":25001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-focus-on-pointer-down/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2592,"name":"read-resource","id":2593,"timestamp":2307956306245,"duration":25080,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":980,"name":"build-module-js","id":2592,"timestamp":2307956306209,"duration":25219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/mergeByName.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"read-resource","id":2599,"timestamp":2307956306311,"duration":25122,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2598,"timestamp":2307956306299,"duration":25387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/index.mjs"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2604,"name":"read-resource","id":2605,"timestamp":2307956306367,"duration":25327,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2604,"timestamp":2307956306354,"duration":25499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-animation-state/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2602,"name":"read-resource","id":2603,"timestamp":2307956306348,"duration":25511,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2602,"timestamp":2307956306335,"duration":25752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/react-use-focus-effect/dist/index.esm.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2606,"name":"read-resource","id":2607,"timestamp":2307956306387,"duration":25705,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":820,"name":"build-module-js","id":2606,"timestamp":2307956306375,"duration":26121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hey-listen/dist/hey-listen.es.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2608,"name":"read-resource","id":2609,"timestamp":2307956306408,"duration":26131,"tags":{},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":1086,"name":"build-module-js","id":2608,"timestamp":2307956306394,"duration":26294,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-document-event.js"},"startTime":1664295729310},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"read-resource","id":2611,"timestamp":2307956311038,"duration":24473,"tags":{},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2610,"timestamp":2307956311002,"duration":25064,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/UI.js"},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"read-resource","id":2613,"timestamp":2307956311063,"duration":25014,"tags":{},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2612,"timestamp":2307956311050,"duration":25146,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/sidecar.js"},"startTime":1664295729314},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"read-resource","id":2615,"timestamp":2307956314240,"duration":27797,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":842,"name":"build-module-js","id":2614,"timestamp":2307956314205,"duration":28121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/index.es.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2618,"name":"read-resource","id":2619,"timestamp":2307956314285,"duration":28055,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":954,"name":"build-module-js","id":2618,"timestamp":2307956314274,"duration":28427,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/focus-lock/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"read-resource","id":2617,"timestamp":2307956314267,"duration":28442,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":834,"name":"build-module-mjs","id":2616,"timestamp":2307956314251,"duration":28810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/index.mjs"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2620,"name":"read-resource","id":2621,"timestamp":2307956314304,"duration":28764,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"build-module-js","id":2620,"timestamp":2307956314291,"duration":29032,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-controllable-state/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2622,"name":"read-resource","id":2623,"timestamp":2307956314322,"duration":29011,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":890,"name":"build-module-js","id":2622,"timestamp":2307956314310,"duration":30900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/descendant/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2624,"name":"read-resource","id":2625,"timestamp":2307956314337,"duration":30882,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":902,"name":"build-module-js","id":2624,"timestamp":2307956314327,"duration":32045,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/clickable/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2626,"name":"read-resource","id":2627,"timestamp":2307956314352,"duration":32029,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2626,"timestamp":2307956314343,"duration":33129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2628,"name":"read-resource","id":2629,"timestamp":2307956314369,"duration":33111,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2628,"timestamp":2307956314360,"duration":37150,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmos-kit/react/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729318}] -[{"traceId":"1979f6cbb13579d5","parentId":2634,"name":"read-resource","id":2635,"timestamp":2307956314422,"duration":37283,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2634,"timestamp":2307956314412,"duration":38518,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/index.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2636,"name":"read-resource","id":2637,"timestamp":2307956314439,"duration":38507,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2636,"timestamp":2307956314430,"duration":38696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2630,"name":"read-resource","id":2631,"timestamp":2307956314389,"duration":38744,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1138,"name":"build-module-js","id":2630,"timestamp":2307956314380,"duration":38903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/hooks/use-window-event.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2638,"name":"read-resource","id":2639,"timestamp":2307956314452,"duration":38839,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2638,"timestamp":2307956314444,"duration":39096,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/readability.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"read-resource","id":2633,"timestamp":2307956314404,"duration":39145,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":952,"name":"build-module-mjs","id":2632,"timestamp":2307956314395,"duration":39306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/index.mjs"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2642,"name":"read-resource","id":2643,"timestamp":2307956314485,"duration":39223,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2642,"timestamp":2307956314476,"duration":39353,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/from-ratio.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2646,"name":"read-resource","id":2647,"timestamp":2307956314518,"duration":39316,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2646,"timestamp":2307956314506,"duration":39913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/format-input.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2648,"name":"read-resource","id":2649,"timestamp":2307956314536,"duration":39891,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2648,"timestamp":2307956314525,"duration":40423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/random.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2640,"name":"read-resource","id":2641,"timestamp":2307956314471,"duration":40483,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2640,"timestamp":2307956314458,"duration":40611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/to-ms-filter.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2644,"name":"read-resource","id":2645,"timestamp":2307956314501,"duration":40573,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1154,"name":"build-module-js","id":2644,"timestamp":2307956314492,"duration":40947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/components/transitions/utils/transition.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2650,"name":"read-resource","id":2651,"timestamp":2307956314550,"duration":49014,"tags":{},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2650,"timestamp":2307956314541,"duration":49178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/interfaces.js"},"startTime":1664295729318},{"traceId":"1979f6cbb13579d5","parentId":2652,"name":"read-resource","id":2653,"timestamp":2307956340297,"duration":28428,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1152,"name":"build-module-js","id":2652,"timestamp":2307956340252,"duration":29385,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/conversion.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2658,"name":"read-resource","id":2659,"timestamp":2307956340372,"duration":29277,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":994,"name":"build-module-js","id":2658,"timestamp":2307956340362,"duration":29560,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-utils/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2660,"name":"read-resource","id":2661,"timestamp":2307956340390,"duration":29540,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"build-module-js","id":2660,"timestamp":2307956340380,"duration":29955,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/anatomy/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2654,"name":"read-resource","id":2655,"timestamp":2307956340337,"duration":30004,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"build-module-js","id":2654,"timestamp":2307956340321,"duration":30266,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-size/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2662,"name":"read-resource","id":2663,"timestamp":2307956340407,"duration":30187,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1048,"name":"build-module-js","id":2662,"timestamp":2307956340397,"duration":32452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/theme-tools/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2656,"name":"read-resource","id":2657,"timestamp":2307956340355,"duration":32521,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":966,"name":"build-module-js","id":2656,"timestamp":2307956340344,"duration":33207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-use-pan-event/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2664,"name":"read-resource","id":2665,"timestamp":2307956340422,"duration":33138,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1066,"name":"build-module-js","id":2664,"timestamp":2307956340413,"duration":34482,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tslib/tslib.es6.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"read-resource","id":2667,"timestamp":2307956340439,"duration":34469,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"build-module-js","id":2666,"timestamp":2307956340429,"duration":35639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"read-resource","id":2669,"timestamp":2307956340453,"duration":35626,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1060,"name":"build-module-js","id":2668,"timestamp":2307956340444,"duration":35865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2670,"name":"read-resource","id":2671,"timestamp":2307956340469,"duration":35847,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2670,"timestamp":2307956340460,"duration":35978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/visually-hidden/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"read-resource","id":2679,"timestamp":2307956340535,"duration":35910,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2678,"timestamp":2307956340526,"duration":36026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/index.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2676,"name":"read-resource","id":2677,"timestamp":2307956340519,"duration":36040,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1038,"name":"build-module-js","id":2676,"timestamp":2307956340504,"duration":42822,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/hooks/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"read-resource","id":2673,"timestamp":2307956340483,"duration":42864,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2672,"timestamp":2307956340475,"duration":43656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2674,"name":"read-resource","id":2675,"timestamp":2307956340498,"duration":43641,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1032,"name":"build-module-js","id":2674,"timestamp":2307956340489,"duration":44663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/form-control/dist/index.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"read-resource","id":2683,"timestamp":2307956340567,"duration":44655,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"build-module-js","id":2682,"timestamp":2307956340558,"duration":44793,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/UI.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"read-resource","id":2685,"timestamp":2307956340643,"duration":44715,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1542,"name":"build-module-js","id":2684,"timestamp":2307956340601,"duration":44909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Combination.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2680,"name":"read-resource","id":2681,"timestamp":2307956340550,"duration":44970,"tags":{},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2680,"timestamp":2307956340541,"duration":45070,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"},"startTime":1664295729344},{"traceId":"1979f6cbb13579d5","parentId":2688,"name":"read-resource","id":2689,"timestamp":2307956395932,"duration":7073,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1168,"name":"build-module-js","id":2688,"timestamp":2307956395918,"duration":7351,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-is/index.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2692,"name":"read-resource","id":2693,"timestamp":2307956395974,"duration":7303,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"build-module-js","id":2692,"timestamp":2307956395963,"duration":7567,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/hash/dist/emotion-hash.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"read-resource","id":2687,"timestamp":2307956395897,"duration":8939,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1044,"name":"build-module-js","id":2686,"timestamp":2307956395847,"duration":10035,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/system/dist/index.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2690,"name":"read-resource","id":2691,"timestamp":2307956395956,"duration":10091,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1164,"name":"build-module-js","id":2690,"timestamp":2307956395944,"duration":10692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2694,"name":"read-resource","id":2695,"timestamp":2307956395992,"duration":11987,"tags":{},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":1172,"name":"build-module-js","id":2694,"timestamp":2307956395982,"duration":12143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"},"startTime":1664295729399},{"traceId":"1979f6cbb13579d5","parentId":2696,"name":"read-resource","id":2697,"timestamp":2307956399267,"duration":10019,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2462,"name":"build-module-mjs","id":2696,"timestamp":2307956399236,"duration":10156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2700,"name":"read-resource","id":2701,"timestamp":2307956399304,"duration":10095,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2700,"timestamp":2307956399294,"duration":10247,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-focus-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2702,"name":"read-resource","id":2703,"timestamp":2307956399319,"duration":10229,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2702,"timestamp":2307956399309,"duration":10376,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-hover-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2698,"name":"read-resource","id":2699,"timestamp":2307956399288,"duration":10564,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2466,"name":"build-module-mjs","id":2698,"timestamp":2307956399275,"duration":10643,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/ReorderContext.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2706,"name":"read-resource","id":2707,"timestamp":2307956399349,"duration":11769,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2448,"name":"build-module-mjs","id":2706,"timestamp":2307956399340,"duration":12050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2704,"name":"read-resource","id":2705,"timestamp":2307956399334,"duration":12062,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2704,"timestamp":2307956399325,"duration":12283,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-tap-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2710,"name":"read-resource","id":2711,"timestamp":2307956399380,"duration":12232,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2710,"timestamp":2307956399371,"duration":12347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"read-resource","id":2709,"timestamp":2307956399366,"duration":12357,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2708,"timestamp":2307956399356,"duration":12670,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/visual-element.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2714,"name":"read-resource","id":2715,"timestamp":2307956399414,"duration":12618,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"build-module-mjs","id":2714,"timestamp":2307956399405,"duration":12778,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/use-pan-gesture.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2718,"name":"read-resource","id":2719,"timestamp":2307956399442,"duration":12747,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2484,"name":"build-module-mjs","id":2718,"timestamp":2307956399433,"duration":12853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/use-drag.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2716,"name":"read-resource","id":2717,"timestamp":2307956399428,"duration":12863,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2496,"name":"build-module-mjs","id":2716,"timestamp":2307956399419,"duration":12957,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2722,"name":"read-resource","id":2723,"timestamp":2307956399468,"duration":12913,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2722,"timestamp":2307956399459,"duration":12985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/config-motion.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"read-resource","id":2729,"timestamp":2307956399506,"duration":12943,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2482,"name":"build-module-mjs","id":2728,"timestamp":2307956399498,"duration":13087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/visual-element.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2712,"name":"read-resource","id":2713,"timestamp":2307956399400,"duration":13189,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":1730,"name":"build-module-js","id":2712,"timestamp":2307956399388,"duration":13420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/switch/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"read-resource","id":2721,"timestamp":2307956399455,"duration":13359,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2720,"timestamp":2307956399446,"duration":13483,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/use-render.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2726,"name":"read-resource","id":2727,"timestamp":2307956399493,"duration":13528,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2478,"name":"build-module-mjs","id":2726,"timestamp":2307956399485,"duration":13791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/viewport/use-viewport.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2730,"name":"read-resource","id":2731,"timestamp":2307956399519,"duration":13762,"tags":{},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2488,"name":"build-module-mjs","id":2730,"timestamp":2307956399511,"duration":14018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2724,"name":"read-resource","id":2725,"timestamp":2307956399481,"duration":14059,"tags":{},"startTime":1664295729403}] -[{"traceId":"1979f6cbb13579d5","parentId":2464,"name":"build-module-mjs","id":2724,"timestamp":2307956399473,"duration":14324,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.mjs"},"startTime":1664295729403},{"traceId":"1979f6cbb13579d5","parentId":2736,"name":"read-resource","id":2737,"timestamp":2307956400789,"duration":17418,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2736,"timestamp":2307956400776,"duration":17686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2732,"name":"read-resource","id":2733,"timestamp":2307956400711,"duration":17759,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2732,"timestamp":2307956400634,"duration":17912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/utils/time-conversion.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2734,"name":"read-resource","id":2735,"timestamp":2307956400770,"duration":17781,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2734,"timestamp":2307956400747,"duration":18000,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/easing.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2738,"name":"read-resource","id":2739,"timestamp":2307956400805,"duration":17946,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2512,"name":"build-module-mjs","id":2738,"timestamp":2307956400795,"duration":18107,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2740,"name":"read-resource","id":2741,"timestamp":2307956400819,"duration":18093,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2516,"name":"build-module-mjs","id":2740,"timestamp":2307956400810,"duration":18206,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2744,"name":"read-resource","id":2745,"timestamp":2307956400856,"duration":18165,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"build-module-mjs","id":2744,"timestamp":2307956400846,"duration":18259,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"read-resource","id":2743,"timestamp":2307956400835,"duration":18275,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2510,"name":"build-module-mjs","id":2742,"timestamp":2307956400826,"duration":23106,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2746,"name":"read-resource","id":2747,"timestamp":2307956400876,"duration":23070,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2520,"name":"build-module-mjs","id":2746,"timestamp":2307956400867,"duration":23185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/node/state.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"read-resource","id":2749,"timestamp":2307956400896,"duration":23199,"tags":{},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2522,"name":"build-module-mjs","id":2748,"timestamp":2307956400887,"duration":23563,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"},"startTime":1664295729404},{"traceId":"1979f6cbb13579d5","parentId":2750,"name":"read-resource","id":2751,"timestamp":2307956402190,"duration":26081,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2552,"name":"build-module-js","id":2750,"timestamp":2307956402174,"duration":26297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindow.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2754,"name":"read-resource","id":2755,"timestamp":2307956402219,"duration":26260,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2554,"name":"build-module-js","id":2754,"timestamp":2307956402210,"duration":26497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/computeOffsets.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2752,"name":"read-resource","id":2753,"timestamp":2307956402206,"duration":26507,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2752,"timestamp":2307956402196,"duration":26596,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2756,"name":"read-resource","id":2757,"timestamp":2307956402232,"duration":26567,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2756,"timestamp":2307956402223,"duration":26642,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getVariation.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2758,"name":"read-resource","id":2759,"timestamp":2307956402245,"duration":26660,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2556,"name":"build-module-js","id":2758,"timestamp":2307956402236,"duration":26739,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/math.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2760,"name":"read-resource","id":2761,"timestamp":2307956402263,"duration":26772,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2558,"name":"build-module-js","id":2760,"timestamp":2307956402255,"duration":26843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2762,"name":"read-resource","id":2763,"timestamp":2307956402280,"duration":26915,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2762,"timestamp":2307956402268,"duration":27025,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2764,"name":"read-resource","id":2765,"timestamp":2307956402293,"duration":27005,"tags":{},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2764,"timestamp":2307956402284,"duration":27081,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js"},"startTime":1664295729406},{"traceId":"1979f6cbb13579d5","parentId":2768,"name":"read-resource","id":2769,"timestamp":2307956407275,"duration":22567,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2768,"timestamp":2307956407261,"duration":22663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2770,"name":"read-resource","id":2771,"timestamp":2307956407292,"duration":22638,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2770,"timestamp":2307956407282,"duration":22702,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getAltAxis.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2766,"name":"read-resource","id":2767,"timestamp":2307956407248,"duration":22741,"tags":{},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2562,"name":"build-module-js","id":2766,"timestamp":2307956407215,"duration":23003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js"},"startTime":1664295729411},{"traceId":"1979f6cbb13579d5","parentId":2774,"name":"read-resource","id":2775,"timestamp":2307956410217,"duration":23457,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2774,"timestamp":2307956410204,"duration":23565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2778,"name":"read-resource","id":2779,"timestamp":2307956410294,"duration":23481,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"build-module-mjs","id":2778,"timestamp":2307956410281,"duration":23577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2776,"name":"read-resource","id":2777,"timestamp":2307956410273,"duration":23591,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2542,"name":"build-module-mjs","id":2776,"timestamp":2307956410225,"duration":23749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2784,"name":"read-resource","id":2785,"timestamp":2307956410348,"duration":23630,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2784,"timestamp":2307956410339,"duration":23715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2782,"name":"read-resource","id":2783,"timestamp":2307956410332,"duration":23728,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2782,"timestamp":2307956410323,"duration":23836,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/contains.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2786,"name":"read-resource","id":2787,"timestamp":2307956410369,"duration":23795,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2566,"name":"build-module-js","id":2786,"timestamp":2307956410354,"duration":23868,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/expandToHashMap.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2780,"name":"read-resource","id":2781,"timestamp":2307956410310,"duration":23916,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2540,"name":"build-module-mjs","id":2780,"timestamp":2307956410301,"duration":26660,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2772,"name":"read-resource","id":2773,"timestamp":2307956410193,"duration":26789,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2564,"name":"build-module-js","id":2772,"timestamp":2307956410168,"duration":27027,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/within.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"read-resource","id":2791,"timestamp":2307956410409,"duration":26797,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2790,"timestamp":2307956410400,"duration":27001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2794,"name":"read-resource","id":2795,"timestamp":2307956410443,"duration":26968,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2794,"timestamp":2307956410434,"duration":27078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2792,"name":"read-resource","id":2793,"timestamp":2307956410427,"duration":27091,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2792,"timestamp":2307956410418,"duration":27179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2788,"name":"read-resource","id":2789,"timestamp":2307956410392,"duration":27209,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2570,"name":"build-module-js","id":2788,"timestamp":2307956410382,"duration":27399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2796,"name":"read-resource","id":2797,"timestamp":2307956410463,"duration":27326,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2796,"timestamp":2307956410454,"duration":27566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2800,"name":"read-resource","id":2801,"timestamp":2307956410496,"duration":27540,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2800,"timestamp":2307956410488,"duration":27673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/userAgent.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2798,"name":"read-resource","id":2799,"timestamp":2307956410478,"duration":27708,"tags":{},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2574,"name":"build-module-js","id":2798,"timestamp":2307956410470,"duration":27791,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js"},"startTime":1664295729414},{"traceId":"1979f6cbb13579d5","parentId":2802,"name":"read-resource","id":2803,"timestamp":2307956440857,"duration":10239,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2576,"name":"build-module-js","id":2802,"timestamp":2307956440821,"duration":10536,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2804,"name":"read-resource","id":2805,"timestamp":2307956440886,"duration":10478,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2586,"name":"build-module-js","id":2804,"timestamp":2307956440873,"duration":10640,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/format.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"read-resource","id":2807,"timestamp":2307956440906,"duration":10613,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"build-module-js","id":2806,"timestamp":2307956440895,"duration":10926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2816,"name":"read-resource","id":2817,"timestamp":2307956441012,"duration":10814,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":2816,"timestamp":2307956441003,"duration":10891,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/medium.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2808,"name":"read-resource","id":2809,"timestamp":2307956440923,"duration":10981,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2594,"name":"build-module-js","id":2808,"timestamp":2307956440913,"duration":11057,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/utils/rectToClientRect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2810,"name":"read-resource","id":2811,"timestamp":2307956440949,"duration":11026,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"build-module-mjs","id":2810,"timestamp":2307956440938,"duration":11154,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/on-next-frame.mjs"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"read-resource","id":2815,"timestamp":2307956440994,"duration":11102,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":2814,"timestamp":2307956440985,"duration":16375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/buffer/index.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2812,"name":"read-resource","id":2813,"timestamp":2307956440972,"duration":16410,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2598,"name":"build-module-mjs","id":2812,"timestamp":2307956440963,"duration":17052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/node_modules/framesync/dist/es/create-render-step.mjs"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"read-resource","id":2819,"timestamp":2307956441035,"duration":16990,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"build-module-js","id":2818,"timestamp":2307956441022,"duration":19848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"read-resource","id":2821,"timestamp":2307956441052,"duration":19836,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2820,"timestamp":2307956441043,"duration":20069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/index.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"read-resource","id":2825,"timestamp":2307956441092,"duration":20027,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2824,"timestamp":2307956441083,"duration":20194,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/style.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2826,"name":"read-resource","id":2827,"timestamp":2307956441107,"duration":20176,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2826,"timestamp":2307956441099,"duration":20296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/data.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2832,"name":"read-resource","id":2833,"timestamp":2307956442041,"duration":19358,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2832,"timestamp":2307956442030,"duration":19641,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/in-view.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"read-resource","id":2823,"timestamp":2307956441072,"duration":20610,"tags":{},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2822,"timestamp":2307956441063,"duration":21346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/animate-style.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2830,"name":"read-resource","id":2831,"timestamp":2307956442020,"duration":20399,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2830,"timestamp":2307956441131,"duration":21465,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/utils/stagger.es.js"},"startTime":1664295729445}] -[{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"read-resource","id":2829,"timestamp":2307956441122,"duration":21668,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2828,"timestamp":2307956441114,"duration":22248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/index.es.js"},"startTime":1664295729444},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"read-resource","id":2835,"timestamp":2307956442057,"duration":21311,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2834,"timestamp":2307956442048,"duration":21405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/index.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2838,"name":"read-resource","id":2839,"timestamp":2307956442089,"duration":21370,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2838,"timestamp":2307956442079,"duration":21451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2840,"name":"read-resource","id":2841,"timestamp":2307956442270,"duration":21265,"tags":{},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2840,"timestamp":2307956442095,"duration":21844,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/controls.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"read-resource","id":2837,"timestamp":2307956442072,"duration":21873,"tags":{},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2836,"timestamp":2307956442063,"duration":22152,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/index.es.js"},"startTime":1664295729445},{"traceId":"1979f6cbb13579d5","parentId":2842,"name":"read-resource","id":2843,"timestamp":2307956442287,"duration":21935,"tags":{},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2842,"timestamp":2307956442278,"duration":22431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js"},"startTime":1664295729446},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"read-resource","id":2849,"timestamp":2307956445107,"duration":22833,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2848,"timestamp":2307956445095,"duration":23558,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/index.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2844,"name":"read-resource","id":2845,"timestamp":2307956445055,"duration":23608,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2844,"timestamp":2307956444881,"duration":24011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/style-object.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2846,"name":"read-resource","id":2847,"timestamp":2307956445087,"duration":23829,"tags":{},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2846,"timestamp":2307956445070,"duration":24164,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/style-string.es.js"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"read-resource","id":2851,"timestamp":2307956445125,"duration":24119,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2850,"timestamp":2307956445115,"duration":24614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/index.mjs"},"startTime":1664295729448},{"traceId":"1979f6cbb13579d5","parentId":2856,"name":"read-resource","id":2857,"timestamp":2307956445173,"duration":24569,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2856,"timestamp":2307956445164,"duration":24876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/keyframes.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2854,"name":"read-resource","id":2855,"timestamp":2307956445158,"duration":24891,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2854,"timestamp":2307956445149,"duration":25055,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/decay.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2852,"name":"read-resource","id":2853,"timestamp":2307956445141,"duration":25071,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2852,"timestamp":2307956445131,"duration":25394,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/inertia.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2858,"name":"read-resource","id":2859,"timestamp":2307956445189,"duration":25342,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2858,"timestamp":2307956445180,"duration":25779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/generators/spring.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2860,"name":"read-resource","id":2861,"timestamp":2307956445209,"duration":25756,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2860,"timestamp":2307956445199,"duration":25862,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/angle.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2862,"name":"read-resource","id":2863,"timestamp":2307956445226,"duration":25839,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2862,"timestamp":2307956445218,"duration":25934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/apply-offset.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2866,"name":"read-resource","id":2867,"timestamp":2307956445260,"duration":25897,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2866,"timestamp":2307956445251,"duration":25970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/clamp.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2864,"name":"read-resource","id":2865,"timestamp":2307956445244,"duration":27731,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2864,"timestamp":2307956445235,"duration":27938,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/attract.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2868,"name":"read-resource","id":2869,"timestamp":2307956445275,"duration":27907,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2868,"timestamp":2307956445266,"duration":27991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/degrees-to-radians.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2870,"name":"read-resource","id":2871,"timestamp":2307956445289,"duration":27974,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2870,"timestamp":2307956445281,"duration":28913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/distance.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2872,"name":"read-resource","id":2873,"timestamp":2307956445306,"duration":28896,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2872,"timestamp":2307956445297,"duration":30078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/interpolate.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2876,"name":"read-resource","id":2877,"timestamp":2307956445372,"duration":30035,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2876,"timestamp":2307956445355,"duration":30127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/is-point.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2874,"name":"read-resource","id":2875,"timestamp":2307956445349,"duration":30139,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2874,"timestamp":2307956445311,"duration":30242,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/is-point-3d.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2878,"name":"read-resource","id":2879,"timestamp":2307956445390,"duration":30168,"tags":{},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2878,"timestamp":2307956445381,"duration":30422,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix-color.mjs"},"startTime":1664295729449},{"traceId":"1979f6cbb13579d5","parentId":2886,"name":"read-resource","id":2887,"timestamp":2307956447864,"duration":30463,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2886,"timestamp":2307956447854,"duration":30633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/point-from-vector.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2880,"name":"read-resource","id":2881,"timestamp":2307956447811,"duration":30684,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2880,"timestamp":2307956447790,"duration":31057,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix-complex.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2884,"name":"read-resource","id":2885,"timestamp":2307956447848,"duration":31005,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2884,"timestamp":2307956447839,"duration":31091,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/pipe.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2882,"name":"read-resource","id":2883,"timestamp":2307956447831,"duration":31103,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2882,"timestamp":2307956447821,"duration":31172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/mix.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2888,"name":"read-resource","id":2889,"timestamp":2307956447880,"duration":31117,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2888,"timestamp":2307956447872,"duration":31332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/progress.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2892,"name":"read-resource","id":2893,"timestamp":2307956447911,"duration":31300,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2892,"timestamp":2307956447903,"duration":31396,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/smooth-frame.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2894,"name":"read-resource","id":2895,"timestamp":2307956447934,"duration":31371,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2894,"timestamp":2307956447922,"duration":31498,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/snap.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2898,"name":"read-resource","id":2899,"timestamp":2307956447965,"duration":31460,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2898,"timestamp":2307956447956,"duration":31534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/to-decimal.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2890,"name":"read-resource","id":2891,"timestamp":2307956447896,"duration":31599,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2890,"timestamp":2307956447888,"duration":31755,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/radians-to-degrees.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2902,"name":"read-resource","id":2903,"timestamp":2307956448003,"duration":31659,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2902,"timestamp":2307956447995,"duration":31824,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/velocity-per-second.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2896,"name":"read-resource","id":2897,"timestamp":2307956447950,"duration":31875,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2896,"timestamp":2307956447941,"duration":32048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/smooth.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2900,"name":"read-resource","id":2901,"timestamp":2307956447984,"duration":32011,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2900,"timestamp":2307956447976,"duration":32081,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/velocity-per-frame.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2906,"name":"read-resource","id":2907,"timestamp":2307956448033,"duration":32037,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2906,"timestamp":2307956448025,"duration":32278,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/index.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2904,"name":"read-resource","id":2905,"timestamp":2307956448018,"duration":32296,"tags":{},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2904,"timestamp":2307956448010,"duration":32370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/wrap.mjs"},"startTime":1664295729451},{"traceId":"1979f6cbb13579d5","parentId":2910,"name":"read-resource","id":2911,"timestamp":2307956449971,"duration":35541,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2910,"timestamp":2307956449958,"duration":35782,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/utils.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2908,"name":"read-resource","id":2909,"timestamp":2307956449946,"duration":35802,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2908,"timestamp":2307956449910,"duration":36858,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/cubic-bezier.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2912,"name":"read-resource","id":2913,"timestamp":2307956449988,"duration":37019,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2616,"name":"build-module-mjs","id":2912,"timestamp":2307956449976,"duration":37162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/easing/steps.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"read-resource","id":2919,"timestamp":2307956450032,"duration":37112,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2918,"timestamp":2307956450024,"duration":37202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/spring/index.es.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2914,"name":"read-resource","id":2915,"timestamp":2307956450004,"duration":37228,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2644,"name":"build-module-js","id":2914,"timestamp":2307956449994,"duration":37323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@headlessui/react/dist/utils/once.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2916,"name":"read-resource","id":2917,"timestamp":2307956450019,"duration":37309,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2614,"name":"build-module-js","id":2916,"timestamp":2307956450010,"duration":37379,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/glide/index.es.js"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2920,"name":"read-resource","id":2921,"timestamp":2307956450051,"duration":37342,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2920,"timestamp":2307956450037,"duration":37449,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/numbers/index.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2924,"name":"read-resource","id":2925,"timestamp":2307956450077,"duration":37413,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2924,"timestamp":2307956450068,"duration":37530,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/hsla.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2926,"name":"read-resource","id":2927,"timestamp":2307956450089,"duration":37545,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2926,"timestamp":2307956450080,"duration":37664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/rgba.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2922,"name":"read-resource","id":2923,"timestamp":2307956450065,"duration":37684,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2922,"timestamp":2307956450056,"duration":37823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/numbers/units.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2930,"name":"read-resource","id":2931,"timestamp":2307956450113,"duration":37771,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2930,"timestamp":2307956450105,"duration":37889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/index.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2928,"name":"read-resource","id":2929,"timestamp":2307956450101,"duration":37899,"tags":{},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2928,"timestamp":2307956450092,"duration":38067,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/hex.mjs"},"startTime":1664295729453},{"traceId":"1979f6cbb13579d5","parentId":2932,"name":"read-resource","id":2933,"timestamp":2307956493451,"duration":4971,"tags":{},"startTime":1664295729497}] -[{"traceId":"1979f6cbb13579d5","parentId":2634,"name":"build-module-js","id":2932,"timestamp":2307956493411,"duration":5604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@ctrl/tinycolor/dist/module/util.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2934,"name":"read-resource","id":2935,"timestamp":2307956493474,"duration":5552,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2934,"timestamp":2307956493463,"duration":5980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/complex/index.mjs"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2936,"name":"read-resource","id":2937,"timestamp":2307956493518,"duration":5934,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2632,"name":"build-module-mjs","id":2936,"timestamp":2307956493481,"duration":6175,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/complex/filter.mjs"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2940,"name":"read-resource","id":2941,"timestamp":2307956493565,"duration":6096,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2940,"timestamp":2307956493556,"duration":6374,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/aminotypes.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2942,"name":"read-resource","id":2943,"timestamp":2307956493579,"duration":6357,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2942,"timestamp":2307956493572,"duration":6620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/fee.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2944,"name":"read-resource","id":2945,"timestamp":2307956493593,"duration":7497,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2944,"timestamp":2307956493585,"duration":7922,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/logs.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"read-resource","id":2939,"timestamp":2307956493548,"duration":7995,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2938,"timestamp":2307956493535,"duration":8289,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/accounts.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"read-resource","id":2947,"timestamp":2307956493605,"duration":8224,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2946,"timestamp":2307956493598,"duration":8766,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/multisignature.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2948,"name":"read-resource","id":2949,"timestamp":2307956493617,"duration":8753,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2948,"timestamp":2307956493610,"duration":8849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/search.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"read-resource","id":2951,"timestamp":2307956493631,"duration":8833,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2950,"timestamp":2307956493623,"duration":9683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/signingstargateclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2952,"name":"read-resource","id":2953,"timestamp":2307956493646,"duration":9666,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":2952,"timestamp":2307956493638,"duration":11555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/stargateclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"read-resource","id":2955,"timestamp":2307956493662,"duration":11541,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2954,"timestamp":2307956493654,"duration":15745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2956,"name":"read-resource","id":2957,"timestamp":2307956493679,"duration":15746,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2956,"timestamp":2307956493671,"duration":16138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Enum.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2958,"name":"read-resource","id":2959,"timestamp":2307956493692,"duration":16133,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2958,"timestamp":2307956493685,"duration":16401,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Utility.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2962,"name":"read-resource","id":2963,"timestamp":2307956493727,"duration":16367,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2962,"timestamp":2307956493720,"duration":16960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Prefixer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2960,"name":"read-resource","id":2961,"timestamp":2307956493710,"duration":16976,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2960,"timestamp":2307956493703,"duration":17899,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Parser.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2964,"name":"read-resource","id":2965,"timestamp":2307956493745,"duration":17869,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2964,"timestamp":2307956493737,"duration":18484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Tokenizer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2966,"name":"read-resource","id":2967,"timestamp":2307956493757,"duration":18472,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2966,"timestamp":2307956493750,"duration":18649,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Serializer.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2968,"name":"read-resource","id":2969,"timestamp":2307956493769,"duration":18636,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2678,"name":"build-module-js","id":2968,"timestamp":2307956493763,"duration":19022,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/stylis/src/Middleware.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2970,"name":"read-resource","id":2971,"timestamp":2307956493782,"duration":19038,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2970,"timestamp":2307956493775,"duration":19186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/encoding.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"read-resource","id":2975,"timestamp":2307956493819,"duration":19185,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2974,"timestamp":2307956493812,"duration":20145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Lock.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"read-resource","id":2973,"timestamp":2307956493800,"duration":20169,"tags":{},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":2972,"timestamp":2307956493793,"duration":21398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/signingcosmwasmclient.js"},"startTime":1664295729497},{"traceId":"1979f6cbb13579d5","parentId":2976,"name":"read-resource","id":2977,"timestamp":2307956494974,"duration":22356,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2976,"timestamp":2307956494955,"duration":22644,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"read-resource","id":2985,"timestamp":2307956495039,"duration":22568,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"build-module-js","id":2984,"timestamp":2307956495031,"duration":23308,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/Trap.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2978,"name":"read-resource","id":2979,"timestamp":2307956494995,"duration":23351,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2978,"timestamp":2307956494985,"duration":23509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2982,"name":"read-resource","id":2983,"timestamp":2307956495025,"duration":23475,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2982,"timestamp":2307956495017,"duration":23630,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/FocusGuard.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2980,"name":"read-resource","id":2981,"timestamp":2307956495011,"duration":23641,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2682,"name":"build-module-js","id":2980,"timestamp":2307956495002,"duration":23835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2990,"name":"read-resource","id":2991,"timestamp":2307956495079,"duration":23763,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2684,"name":"build-module-js","id":2990,"timestamp":2307956495071,"duration":23900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2994,"name":"read-resource","id":2995,"timestamp":2307956495111,"duration":23868,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2714,"name":"build-module-mjs","id":2994,"timestamp":2307956495103,"duration":24956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/PanSession.mjs"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"read-resource","id":2989,"timestamp":2307956495065,"duration":25007,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"build-module-js","id":2988,"timestamp":2307956495057,"duration":26591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/iso-crypto/dist/esm/index.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"read-resource","id":2987,"timestamp":2307956495052,"duration":26606,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":1676,"name":"build-module-js","id":2986,"timestamp":2307956495044,"duration":29048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/index.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2992,"name":"read-resource","id":2993,"timestamp":2307956495093,"duration":29012,"tags":{},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2688,"name":"build-module-js","id":2992,"timestamp":2307956495085,"duration":29600,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-is/cjs/react-is.development.js"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":2996,"name":"read-resource","id":2997,"timestamp":2307956495124,"duration":29595,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2704,"name":"build-module-mjs","id":2996,"timestamp":2307956495116,"duration":29795,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs"},"startTime":1664295729498},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"read-resource","id":3003,"timestamp":2307956495162,"duration":29893,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3002,"timestamp":2307956495155,"duration":30153,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":3000,"name":"read-resource","id":3001,"timestamp":2307956495149,"duration":30164,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2710,"name":"build-module-mjs","id":3000,"timestamp":2307956495142,"duration":30245,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"read-resource","id":2999,"timestamp":2307956495137,"duration":30436,"tags":{},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":2718,"name":"build-module-mjs","id":2998,"timestamp":2307956495130,"duration":33405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs"},"startTime":1664295729499},{"traceId":"1979f6cbb13579d5","parentId":3006,"name":"read-resource","id":3007,"timestamp":2307956496279,"duration":36232,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3006,"timestamp":2307956496271,"duration":36508,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"read-resource","id":3005,"timestamp":2307956496260,"duration":36528,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3004,"timestamp":2307956496248,"duration":36659,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3014,"name":"read-resource","id":3015,"timestamp":2307956496324,"duration":36589,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2722,"name":"build-module-mjs","id":3014,"timestamp":2307956496317,"duration":36666,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3010,"name":"read-resource","id":3011,"timestamp":2307956496303,"duration":36685,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"build-module-mjs","id":3010,"timestamp":2307956496296,"duration":36927,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/use-props.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3012,"name":"read-resource","id":3013,"timestamp":2307956496313,"duration":36915,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2720,"name":"build-module-mjs","id":3012,"timestamp":2307956496307,"duration":37034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/use-props.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3008,"name":"read-resource","id":3009,"timestamp":2307956496290,"duration":37057,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3008,"timestamp":2307956496282,"duration":37147,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3018,"name":"read-resource","id":3019,"timestamp":2307956496345,"duration":37091,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2708,"name":"build-module-mjs","id":3018,"timestamp":2307956496338,"duration":37304,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/measure.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3020,"name":"read-resource","id":3021,"timestamp":2307956496356,"duration":37610,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3020,"timestamp":2307956496349,"duration":37710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3016,"name":"read-resource","id":3017,"timestamp":2307956496334,"duration":38036,"tags":{},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":2726,"name":"build-module-mjs","id":3016,"timestamp":2307956496328,"duration":38219,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"},"startTime":1664295729500},{"traceId":"1979f6cbb13579d5","parentId":3022,"name":"read-resource","id":3023,"timestamp":2307956497427,"duration":37166,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3022,"timestamp":2307956497389,"duration":37631,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3026,"name":"read-resource","id":3027,"timestamp":2307956497472,"duration":37555,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3026,"timestamp":2307956497459,"duration":37701,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3024,"name":"read-resource","id":3025,"timestamp":2307956497452,"duration":37712,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3024,"timestamp":2307956497441,"duration":37956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3030,"name":"read-resource","id":3031,"timestamp":2307956497500,"duration":37902,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3030,"timestamp":2307956497492,"duration":37967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3032,"name":"read-resource","id":3033,"timestamp":2307956497516,"duration":37949,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3032,"timestamp":2307956497508,"duration":38053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3028,"name":"read-resource","id":3029,"timestamp":2307956497487,"duration":38079,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3028,"timestamp":2307956497478,"duration":38244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/transform.mjs"},"startTime":1664295729501}] -[{"traceId":"1979f6cbb13579d5","parentId":3034,"name":"read-resource","id":3035,"timestamp":2307956497531,"duration":38329,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3034,"timestamp":2307956497523,"duration":38453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"read-resource","id":3037,"timestamp":2307956497547,"duration":38436,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3036,"timestamp":2307956497540,"duration":38602,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3038,"name":"read-resource","id":3039,"timestamp":2307956497572,"duration":38603,"tags":{},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3038,"timestamp":2307956497563,"duration":38682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs"},"startTime":1664295729501},{"traceId":"1979f6cbb13579d5","parentId":3040,"name":"read-resource","id":3041,"timestamp":2307956558913,"duration":4500,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2728,"name":"build-module-mjs","id":3040,"timestamp":2307956558871,"duration":4832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3042,"name":"read-resource","id":3043,"timestamp":2307956558935,"duration":4789,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2730,"name":"build-module-mjs","id":3042,"timestamp":2307956558924,"duration":4891,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3046,"name":"read-resource","id":3047,"timestamp":2307956558974,"duration":4895,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2788,"name":"build-module-js","id":3046,"timestamp":2307956558965,"duration":5026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3044,"name":"read-resource","id":3045,"timestamp":2307956558956,"duration":5040,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"build-module-js","id":3044,"timestamp":2307956558945,"duration":5129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3048,"name":"read-resource","id":3049,"timestamp":2307956558989,"duration":5090,"tags":{},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":2790,"name":"build-module-js","id":3048,"timestamp":2307956558981,"duration":5155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js"},"startTime":1664295729562},{"traceId":"1979f6cbb13579d5","parentId":3050,"name":"read-resource","id":3051,"timestamp":2307956560325,"duration":6195,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"build-module-mjs","id":3050,"timestamp":2307956560311,"duration":6504,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3052,"name":"read-resource","id":3053,"timestamp":2307956560343,"duration":6480,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2748,"name":"build-module-mjs","id":3052,"timestamp":2307956560335,"duration":6720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3056,"name":"read-resource","id":3057,"timestamp":2307956560374,"duration":6687,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2776,"name":"build-module-mjs","id":3056,"timestamp":2307956560366,"duration":6764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3054,"name":"read-resource","id":3055,"timestamp":2307956560359,"duration":6777,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2780,"name":"build-module-mjs","id":3054,"timestamp":2307956560350,"duration":6936,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3058,"name":"read-resource","id":3059,"timestamp":2307956560391,"duration":6900,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3058,"timestamp":2307956560384,"duration":7235,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/shared/stack.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3060,"name":"read-resource","id":3061,"timestamp":2307956560410,"duration":7215,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2742,"name":"build-module-mjs","id":3060,"timestamp":2307956560402,"duration":7720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3064,"name":"read-resource","id":3065,"timestamp":2307956560443,"duration":10149,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3064,"timestamp":2307956560436,"duration":10662,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/deepmerge/dist/cjs.js"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"read-resource","id":3063,"timestamp":2307956560429,"duration":10678,"tags":{},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3062,"timestamp":2307956560422,"duration":10900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/index.js"},"startTime":1664295729564},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"read-resource","id":3067,"timestamp":2307956561456,"duration":10152,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3066,"timestamp":2307956561444,"duration":10564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"read-resource","id":3073,"timestamp":2307956561505,"duration":10514,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2668,"name":"build-module-js","id":3072,"timestamp":2307956561497,"duration":10725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"read-resource","id":3071,"timestamp":2307956561490,"duration":10743,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3070,"timestamp":2307956561482,"duration":10876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3076,"name":"read-resource","id":3077,"timestamp":2307956561545,"duration":10818,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"build-module-js","id":3076,"timestamp":2307956561536,"duration":10995,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"read-resource","id":3069,"timestamp":2307956561475,"duration":11062,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3068,"timestamp":2307956561467,"duration":11821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3078,"name":"read-resource","id":3079,"timestamp":2307956561560,"duration":11733,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2806,"name":"build-module-js","id":3078,"timestamp":2307956561552,"duration":15340,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3080,"name":"read-resource","id":3081,"timestamp":2307956561575,"duration":15335,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"build-module-js","id":3080,"timestamp":2307956561567,"duration":15564,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/utils/resolve-elements.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3082,"name":"read-resource","id":3083,"timestamp":2307956561590,"duration":15549,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2820,"name":"build-module-js","id":3082,"timestamp":2307956561582,"duration":15639,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/options.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"read-resource","id":3075,"timestamp":2307956561523,"duration":15710,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2194,"name":"build-module-js","id":3074,"timestamp":2307956561516,"duration":15843,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/index.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3084,"name":"read-resource","id":3085,"timestamp":2307956561604,"duration":15760,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"build-module-js","id":3084,"timestamp":2307956561597,"duration":15908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/css-var.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3086,"name":"read-resource","id":3087,"timestamp":2307956561618,"duration":15891,"tags":{},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":2824,"name":"build-module-js","id":3086,"timestamp":2307956561611,"duration":16139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/transforms.es.js"},"startTime":1664295729565},{"traceId":"1979f6cbb13579d5","parentId":3094,"name":"read-resource","id":3095,"timestamp":2307956562821,"duration":21987,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3094,"timestamp":2307956562814,"duration":22587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3092,"name":"read-resource","id":3093,"timestamp":2307956562807,"duration":22613,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3092,"timestamp":2307956562800,"duration":23142,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/easing.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"read-resource","id":3089,"timestamp":2307956562776,"duration":23251,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":3088,"timestamp":2307956562764,"duration":23645,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/index.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"read-resource","id":3091,"timestamp":2307956562793,"duration":23625,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2612,"name":"build-module-js","id":3090,"timestamp":2307956562785,"duration":23838,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/index.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3096,"name":"read-resource","id":3097,"timestamp":2307956562835,"duration":26423,"tags":{},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3096,"timestamp":2307956562828,"duration":26924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js"},"startTime":1664295729566},{"traceId":"1979f6cbb13579d5","parentId":3098,"name":"read-resource","id":3099,"timestamp":2307956565257,"duration":25033,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3098,"timestamp":2307956565227,"duration":25458,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3100,"name":"read-resource","id":3101,"timestamp":2307956565284,"duration":25410,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3100,"timestamp":2307956565273,"duration":25770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3102,"name":"read-resource","id":3103,"timestamp":2307956565300,"duration":25751,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3102,"timestamp":2307956565292,"duration":27228,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll/dist/es2015/handleScroll.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3104,"name":"read-resource","id":3105,"timestamp":2307956565314,"duration":27217,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"build-module-js","id":3104,"timestamp":2307956565306,"duration":27975,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3106,"name":"read-resource","id":3107,"timestamp":2307956565327,"duration":27963,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2834,"name":"build-module-js","id":3106,"timestamp":2307956565319,"duration":28497,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3108,"name":"read-resource","id":3109,"timestamp":2307956565339,"duration":28489,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"build-module-js","id":3108,"timestamp":2307956565332,"duration":29155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/info.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3112,"name":"read-resource","id":3113,"timestamp":2307956565365,"duration":29131,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3112,"timestamp":2307956565358,"duration":29344,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3110,"name":"read-resource","id":3111,"timestamp":2307956565352,"duration":29358,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2836,"name":"build-module-js","id":3110,"timestamp":2307956565344,"duration":30202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3116,"name":"read-resource","id":3117,"timestamp":2307956565390,"duration":30186,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3116,"timestamp":2307956565382,"duration":30428,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/sort.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3118,"name":"read-resource","id":3119,"timestamp":2307956565402,"duration":30417,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2860,"name":"build-module-mjs","id":3118,"timestamp":2307956565395,"duration":30620,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/inc.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3120,"name":"read-resource","id":3121,"timestamp":2307956565422,"duration":30604,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2656,"name":"build-module-js","id":3120,"timestamp":2307956565408,"duration":31384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/event-utils/dist/index.esm.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3114,"name":"read-resource","id":3115,"timestamp":2307956565377,"duration":31433,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2828,"name":"build-module-js","id":3114,"timestamp":2307956565370,"duration":31823,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/timeline/utils/edit.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3122,"name":"read-resource","id":3123,"timestamp":2307956565436,"duration":31766,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3122,"timestamp":2307956565428,"duration":32051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/has-changed.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3124,"name":"read-resource","id":3125,"timestamp":2307956565447,"duration":32039,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3124,"timestamp":2307956565440,"duration":32341,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3126,"name":"read-resource","id":3127,"timestamp":2307956565459,"duration":32339,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3126,"timestamp":2307956565452,"duration":32678,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/schedule.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3128,"name":"read-resource","id":3129,"timestamp":2307956565471,"duration":32796,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3128,"timestamp":2307956565464,"duration":32969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/events.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3134,"name":"read-resource","id":3135,"timestamp":2307956565509,"duration":32931,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2878,"name":"build-module-mjs","id":3134,"timestamp":2307956565502,"duration":33395,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/utils/hsla-to-rgba.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3132,"name":"read-resource","id":3133,"timestamp":2307956565495,"duration":33447,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2920,"name":"build-module-mjs","id":3132,"timestamp":2307956565489,"duration":33980,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/utils.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3130,"name":"read-resource","id":3131,"timestamp":2307956565483,"duration":34028,"tags":{},"startTime":1664295729569}] -[{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"build-module-js","id":3130,"timestamp":2307956565476,"duration":35845,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3136,"name":"read-resource","id":3137,"timestamp":2307956565521,"duration":35865,"tags":{},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":2924,"name":"build-module-mjs","id":3136,"timestamp":2307956565514,"duration":36279,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/style-value-types/dist/es/color/utils.mjs"},"startTime":1664295729569},{"traceId":"1979f6cbb13579d5","parentId":3144,"name":"read-resource","id":3145,"timestamp":2307956569667,"duration":40104,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3144,"timestamp":2307956568979,"duration":41329,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/elapsed.mjs"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3140,"name":"read-resource","id":3141,"timestamp":2307956568955,"duration":41373,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3140,"timestamp":2307956568944,"duration":41956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/hover.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3142,"name":"read-resource","id":3143,"timestamp":2307956568970,"duration":41947,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3142,"timestamp":2307956568961,"duration":42755,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/in-view.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3138,"name":"read-resource","id":3139,"timestamp":2307956568931,"duration":42803,"tags":{},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":2848,"name":"build-module-js","id":3138,"timestamp":2307956568907,"duration":43218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/gestures/press.es.js"},"startTime":1664295729572},{"traceId":"1979f6cbb13579d5","parentId":3148,"name":"read-resource","id":3149,"timestamp":2307956569704,"duration":42441,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2858,"name":"build-module-mjs","id":3148,"timestamp":2307956569695,"duration":43646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/find-spring.mjs"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3150,"name":"read-resource","id":3151,"timestamp":2307956569718,"duration":43642,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2610,"name":"build-module-js","id":3150,"timestamp":2307956569711,"duration":43920,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/constants.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3146,"name":"read-resource","id":3147,"timestamp":2307956569687,"duration":43975,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3146,"timestamp":2307956569677,"duration":44417,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/dist/es/animations/utils/detect-animation-from-options.mjs"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3154,"name":"read-resource","id":3155,"timestamp":2307956569758,"duration":44345,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3154,"timestamp":2307956569749,"duration":61826,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3152,"name":"read-resource","id":3153,"timestamp":2307956569735,"duration":61868,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2658,"name":"build-module-js","id":3152,"timestamp":2307956569726,"duration":75188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/react-utils/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3156,"name":"read-resource","id":3157,"timestamp":2307956569776,"duration":75191,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2674,"name":"build-module-js","id":3156,"timestamp":2307956569767,"duration":75749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/icon/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3160,"name":"read-resource","id":3161,"timestamp":2307956569806,"duration":75722,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3160,"timestamp":2307956569798,"duration":77061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"read-resource","id":3165,"timestamp":2307956569834,"duration":77034,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3164,"timestamp":2307956569827,"duration":77171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/index.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3158,"name":"read-resource","id":3159,"timestamp":2307956569791,"duration":77213,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2672,"name":"build-module-js","id":3158,"timestamp":2307956569783,"duration":85875,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/checkbox/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"read-resource","id":3163,"timestamp":2307956569822,"duration":86263,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2666,"name":"build-module-js","id":3162,"timestamp":2307956569814,"duration":87034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/index.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3166,"name":"read-resource","id":3167,"timestamp":2307956569847,"duration":87059,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3166,"timestamp":2307956569839,"duration":95061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/styled-system/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3168,"name":"read-resource","id":3169,"timestamp":2307956569859,"duration":95065,"tags":{},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3168,"timestamp":2307956569851,"duration":106415,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/utils/dist/index.esm.js"},"startTime":1664295729573},{"traceId":"1979f6cbb13579d5","parentId":3170,"name":"read-resource","id":3171,"timestamp":2307956691602,"duration":8726,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2686,"name":"build-module-js","id":3170,"timestamp":2307956691555,"duration":10420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@chakra-ui/media-query/node_modules/@chakra-ui/color-mode/dist/index.esm.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3172,"name":"read-resource","id":3173,"timestamp":2307956691630,"duration":10357,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3172,"timestamp":2307956691615,"duration":10512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/medium.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3174,"name":"read-resource","id":3175,"timestamp":2307956691648,"duration":10485,"tags":{},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":2976,"name":"build-module-js","id":3174,"timestamp":2307956691639,"duration":10597,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-focus-lock/dist/es2015/util.js"},"startTime":1664295729695},{"traceId":"1979f6cbb13579d5","parentId":3178,"name":"read-resource","id":3179,"timestamp":2307956695139,"duration":9684,"tags":{},"startTime":1664295729699},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"build-module-mjs","id":3178,"timestamp":2307956695128,"duration":10089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs"},"startTime":1664295729699},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"read-resource","id":3177,"timestamp":2307956695114,"duration":10125,"tags":{},"startTime":1664295729698},{"traceId":"1979f6cbb13579d5","parentId":2818,"name":"build-module-js","id":3176,"timestamp":2307956695080,"duration":10300,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/index.js"},"startTime":1664295729698},{"traceId":"1979f6cbb13579d5","parentId":3180,"name":"read-resource","id":3181,"timestamp":2307956697135,"duration":8596,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"build-module-js","id":3180,"timestamp":2307956697111,"duration":9139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/base64-js/index.js"},"startTime":1664295729700},{"traceId":"1979f6cbb13579d5","parentId":3186,"name":"read-resource","id":3187,"timestamp":2307956697189,"duration":9087,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3186,"timestamp":2307956697181,"duration":9370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/events.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3182,"name":"read-resource","id":3183,"timestamp":2307956697156,"duration":9402,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2814,"name":"build-module-js","id":3182,"timestamp":2307956697147,"duration":9751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/ieee754/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3188,"name":"read-resource","id":3189,"timestamp":2307956697203,"duration":9701,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3188,"timestamp":2307956697195,"duration":9834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/storage.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3190,"name":"read-resource","id":3191,"timestamp":2307956697218,"duration":9817,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3002,"name":"build-module-mjs","id":3190,"timestamp":2307956697210,"duration":9908,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3184,"name":"read-resource","id":3185,"timestamp":2307956697173,"duration":9950,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3184,"timestamp":2307956697164,"duration":10097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/errors.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3196,"name":"read-resource","id":3197,"timestamp":2307956697260,"duration":10006,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"build-module-mjs","id":3196,"timestamp":2307956697253,"duration":10127,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3194,"name":"read-resource","id":3195,"timestamp":2307956697246,"duration":10139,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2998,"name":"build-module-mjs","id":3194,"timestamp":2307956697239,"duration":10474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3198,"name":"read-resource","id":3199,"timestamp":2307956697275,"duration":10442,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3006,"name":"build-module-mjs","id":3198,"timestamp":2307956697268,"duration":10540,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3200,"name":"read-resource","id":3201,"timestamp":2307956697292,"duration":10521,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2442,"name":"build-module-js","id":3200,"timestamp":2307956697284,"duration":10669,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/process.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3202,"name":"read-resource","id":3203,"timestamp":2307956697306,"duration":10653,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"build-module-mjs","id":3202,"timestamp":2307956697298,"duration":10940,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3192,"name":"read-resource","id":3193,"timestamp":2307956697232,"duration":11013,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3192,"timestamp":2307956697224,"duration":11179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/core/dist/esm/url.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3208,"name":"read-resource","id":3209,"timestamp":2307956697359,"duration":11049,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2826,"name":"build-module-js","id":3208,"timestamp":2307956697352,"duration":11114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/types/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"read-resource","id":3207,"timestamp":2307956697340,"duration":11131,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3206,"timestamp":2307956697332,"duration":11200,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3212,"name":"read-resource","id":3213,"timestamp":2307956697387,"duration":11150,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"build-module-mjs","id":3212,"timestamp":2307956697380,"duration":11249,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3204,"name":"read-resource","id":3205,"timestamp":2307956697326,"duration":11308,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3004,"name":"build-module-mjs","id":3204,"timestamp":2307956697319,"duration":11992,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"read-resource","id":3211,"timestamp":2307956697373,"duration":11948,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2822,"name":"build-module-js","id":3210,"timestamp":2307956697366,"duration":12109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3214,"name":"read-resource","id":3215,"timestamp":2307956697400,"duration":12085,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3036,"name":"build-module-mjs","id":3214,"timestamp":2307956697393,"duration":12201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"read-resource","id":3219,"timestamp":2307956697439,"duration":12160,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2942,"name":"build-module-js","id":3218,"timestamp":2307956697428,"duration":12305,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"read-resource","id":3217,"timestamp":2307956697419,"duration":12323,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2918,"name":"build-module-js","id":3216,"timestamp":2307956697412,"duration":12399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3224,"name":"read-resource","id":3225,"timestamp":2307956697483,"duration":12333,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3224,"timestamp":2307956697476,"duration":12443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"read-resource","id":3221,"timestamp":2307956697455,"duration":12469,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2944,"name":"build-module-js","id":3220,"timestamp":2307956697448,"duration":15328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"read-resource","id":3223,"timestamp":2307956697469,"duration":15332,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3222,"timestamp":2307956697462,"duration":15820,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"read-resource","id":3229,"timestamp":2307956697510,"duration":15777,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3228,"timestamp":2307956697503,"duration":16034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"read-resource","id":3231,"timestamp":2307956697524,"duration":16019,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"build-module-js","id":3230,"timestamp":2307956697517,"duration":16178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"read-resource","id":3227,"timestamp":2307956697497,"duration":16206,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3226,"timestamp":2307956697489,"duration":16696,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/index.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"read-resource","id":3233,"timestamp":2307956697538,"duration":16654,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"build-module-js","id":3232,"timestamp":2307956697530,"duration":18170,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/auth/v1beta1/auth.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3234,"name":"read-resource","id":3235,"timestamp":2307956697555,"duration":18153,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3234,"timestamp":2307956697548,"duration":20653,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/v1beta1/tx.js"},"startTime":1664295729701}] -[{"traceId":"1979f6cbb13579d5","parentId":3236,"name":"read-resource","id":3237,"timestamp":2307956697569,"duration":20793,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2938,"name":"build-module-js","id":3236,"timestamp":2307956697562,"duration":21935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/vesting/v1beta1/vesting.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3240,"name":"read-resource","id":3241,"timestamp":2307956697599,"duration":21905,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3240,"timestamp":2307956697592,"duration":22424,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/v1beta1/coin.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3238,"name":"read-resource","id":3239,"timestamp":2307956697585,"duration":22438,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3238,"timestamp":2307956697578,"duration":23484,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/signing/v1beta1/signing.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3242,"name":"read-resource","id":3243,"timestamp":2307956697612,"duration":27643,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3242,"timestamp":2307956697605,"duration":28918,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3248,"name":"read-resource","id":3249,"timestamp":2307956697651,"duration":28882,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3248,"timestamp":2307956697644,"duration":30623,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/types.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"read-resource","id":3245,"timestamp":2307956697625,"duration":30650,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3244,"timestamp":2307956697618,"duration":32351,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3246,"name":"read-resource","id":3247,"timestamp":2307956697638,"duration":32343,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3246,"timestamp":2307956697631,"duration":34042,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/multisig/v1beta1/multisig.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3250,"name":"read-resource","id":3251,"timestamp":2307956697664,"duration":34016,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3250,"timestamp":2307956697657,"duration":36932,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3256,"name":"read-resource","id":3257,"timestamp":2307956697710,"duration":36894,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3054,"name":"build-module-mjs","id":3256,"timestamp":2307956697703,"duration":37047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3252,"name":"read-resource","id":3253,"timestamp":2307956697678,"duration":37112,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2950,"name":"build-module-js","id":3252,"timestamp":2307956697671,"duration":37647,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/tx.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3258,"name":"read-resource","id":3259,"timestamp":2307956697723,"duration":37601,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2984,"name":"build-module-js","id":3258,"timestamp":2307956697717,"duration":37885,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-clientside-effect/lib/index.es.js"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"read-resource","id":3255,"timestamp":2307956697693,"duration":37950,"tags":{},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":2850,"name":"build-module-mjs","id":3254,"timestamp":2307956697685,"duration":38228,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/index.mjs"},"startTime":1664295729701},{"traceId":"1979f6cbb13579d5","parentId":3266,"name":"read-resource","id":3267,"timestamp":2307956698984,"duration":40910,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3266,"timestamp":2307956698973,"duration":41431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/cosmjs.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3268,"name":"read-resource","id":3269,"timestamp":2307956698999,"duration":41414,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3268,"timestamp":2307956698991,"duration":41633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/enigma.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"read-resource","id":3273,"timestamp":2307956699031,"duration":41599,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"build-module-js","id":3272,"timestamp":2307956699023,"duration":42156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/queryclient.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3260,"name":"read-resource","id":3261,"timestamp":2307956698904,"duration":42282,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2974,"name":"build-module-js","id":3260,"timestamp":2307956698871,"duration":42424,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/constants.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3274,"name":"read-resource","id":3275,"timestamp":2307956699051,"duration":42251,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3070,"name":"build-module-js","id":3274,"timestamp":2307956699039,"duration":42481,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/queryclient/utils.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3270,"name":"read-resource","id":3271,"timestamp":2307956699012,"duration":42514,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3270,"timestamp":2307956699005,"duration":43487,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/inject.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"read-resource","id":3263,"timestamp":2307956698928,"duration":43576,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3262,"timestamp":2307956698917,"duration":43707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"read-resource","id":3277,"timestamp":2307956699071,"duration":43560,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3276,"timestamp":2307956699059,"duration":43978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"read-resource","id":3279,"timestamp":2307956699083,"duration":43961,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3278,"timestamp":2307956699076,"duration":44682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"read-resource","id":3265,"timestamp":2307956698965,"duration":44800,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3062,"name":"build-module-js","id":3264,"timestamp":2307956698936,"duration":45724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/core.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"read-resource","id":3283,"timestamp":2307956699116,"duration":45559,"tags":{},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3282,"timestamp":2307956699108,"duration":45865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"read-resource","id":3281,"timestamp":2307956699101,"duration":46061,"tags":{},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3280,"timestamp":2307956699093,"duration":46290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/index.js"},"startTime":1664295729702},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"read-resource","id":3285,"timestamp":2307956699130,"duration":46340,"tags":{},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":2954,"name":"build-module-js","id":3284,"timestamp":2307956699122,"duration":46503,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/index.js"},"startTime":1664295729703},{"traceId":"1979f6cbb13579d5","parentId":3290,"name":"read-resource","id":3291,"timestamp":2307956702991,"duration":44890,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3124,"name":"build-module-js","id":3290,"timestamp":2307956702980,"duration":45016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/state/utils/is-variant.es.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"read-resource","id":3289,"timestamp":2307956702966,"duration":45036,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3288,"timestamp":2307956702945,"duration":45477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/index.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"read-resource","id":3287,"timestamp":2307956702928,"duration":45504,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":2972,"name":"build-module-js","id":3286,"timestamp":2307956702906,"duration":45977,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/index.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"read-resource","id":3293,"timestamp":2307956703006,"duration":45882,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3110,"name":"build-module-js","id":3292,"timestamp":2307956702997,"duration":46134,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3294,"name":"read-resource","id":3295,"timestamp":2307956703019,"duration":46300,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3294,"timestamp":2307956703011,"duration":46451,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/messages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3298,"name":"read-resource","id":3299,"timestamp":2307956703058,"duration":46409,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3298,"timestamp":2307956703046,"duration":46688,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/queries.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3296,"name":"read-resource","id":3297,"timestamp":2307956703039,"duration":48203,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3072,"name":"build-module-js","id":3296,"timestamp":2307956703024,"duration":48541,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/build/modules/wasm/aminomessages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3300,"name":"read-resource","id":3301,"timestamp":2307956703072,"duration":48502,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3300,"timestamp":2307956703064,"duration":48624,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/auth/queries.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3302,"name":"read-resource","id":3303,"timestamp":2307956703084,"duration":48889,"tags":{},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3302,"timestamp":2307956703076,"duration":48967,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/aminomessages.js"},"startTime":1664295729706},{"traceId":"1979f6cbb13579d5","parentId":3306,"name":"read-resource","id":3307,"timestamp":2307956704449,"duration":47601,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3306,"timestamp":2307956704434,"duration":47730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3304,"name":"read-resource","id":3305,"timestamp":2307956704414,"duration":47755,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3304,"timestamp":2307956704378,"duration":47856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/authz/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3314,"name":"read-resource","id":3315,"timestamp":2307956704512,"duration":47726,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3314,"timestamp":2307956704504,"duration":47801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/crisis/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3310,"name":"read-resource","id":3311,"timestamp":2307956704482,"duration":47831,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3310,"timestamp":2307956704474,"duration":47909,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3308,"name":"read-resource","id":3309,"timestamp":2307956704467,"duration":47920,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3308,"timestamp":2307956704456,"duration":48069,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3312,"name":"read-resource","id":3313,"timestamp":2307956704498,"duration":48030,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3312,"timestamp":2307956704490,"duration":48185,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/bank/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3320,"name":"read-resource","id":3321,"timestamp":2307956704557,"duration":48124,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3320,"timestamp":2307956704550,"duration":48282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3324,"name":"read-resource","id":3325,"timestamp":2307956704587,"duration":48251,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3324,"timestamp":2307956704579,"duration":48314,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3326,"name":"read-resource","id":3327,"timestamp":2307956704602,"duration":48296,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3326,"timestamp":2307956704594,"duration":48362,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3318,"name":"read-resource","id":3319,"timestamp":2307956704543,"duration":48418,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3318,"timestamp":2307956704535,"duration":48617,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3316,"name":"read-resource","id":3317,"timestamp":2307956704527,"duration":48630,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3316,"timestamp":2307956704520,"duration":48714,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/distribution/messages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3322,"name":"read-resource","id":3323,"timestamp":2307956704572,"duration":48666,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3322,"timestamp":2307956704565,"duration":48737,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/evidence/aminomessages.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3328,"name":"read-resource","id":3329,"timestamp":2307956704615,"duration":48742,"tags":{},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3328,"timestamp":2307956704608,"duration":48849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/feegrant/queries.js"},"startTime":1664295729708},{"traceId":"1979f6cbb13579d5","parentId":3330,"name":"read-resource","id":3331,"timestamp":2307956780332,"duration":8050,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3330,"timestamp":2307956780295,"duration":8405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/messages.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3332,"name":"read-resource","id":3333,"timestamp":2307956780352,"duration":8355,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3332,"timestamp":2307956780343,"duration":10363,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/aminomessages.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3340,"name":"read-resource","id":3341,"timestamp":2307956780412,"duration":10311,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3340,"timestamp":2307956780405,"duration":11029,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/ethereum.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3336,"name":"read-resource","id":3337,"timestamp":2307956780383,"duration":11413,"tags":{},"startTime":1664295729784}] -[{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3336,"timestamp":2307956780376,"duration":11702,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/constants.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3338,"name":"read-resource","id":3339,"timestamp":2307956780398,"duration":11687,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3338,"timestamp":2307956780390,"duration":12050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/encoding.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3334,"name":"read-resource","id":3335,"timestamp":2307956780368,"duration":12077,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3334,"timestamp":2307956780360,"duration":12310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/gov/queries.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3342,"name":"read-resource","id":3343,"timestamp":2307956780431,"duration":12245,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3342,"timestamp":2307956780422,"duration":12414,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/payload.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3344,"name":"read-resource","id":3345,"timestamp":2307956780445,"duration":12396,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3344,"timestamp":2307956780438,"duration":12658,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/misc.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3348,"name":"read-resource","id":3349,"timestamp":2307956780479,"duration":12622,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3348,"timestamp":2307956780470,"duration":12758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/url.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3346,"name":"read-resource","id":3347,"timestamp":2307956780459,"duration":12775,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3346,"timestamp":2307956780451,"duration":12925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/session.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3352,"name":"read-resource","id":3353,"timestamp":2307956780512,"duration":12871,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3352,"timestamp":2307956780505,"duration":12953,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/assignRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3356,"name":"read-resource","id":3357,"timestamp":2307956780543,"duration":12920,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3356,"timestamp":2307956780536,"duration":13162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/createRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3358,"name":"read-resource","id":3359,"timestamp":2307956780556,"duration":13146,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3358,"timestamp":2307956780549,"duration":13239,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/mergeRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3354,"name":"read-resource","id":3355,"timestamp":2307956780529,"duration":13337,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3354,"timestamp":2307956780522,"duration":13443,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useRef.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3350,"name":"read-resource","id":3351,"timestamp":2307956780494,"duration":13555,"tags":{},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3350,"timestamp":2307956780486,"duration":13758,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/dist/esm/validators.js"},"startTime":1664295729784},{"traceId":"1979f6cbb13579d5","parentId":3360,"name":"read-resource","id":3361,"timestamp":2307956783535,"duration":14117,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3360,"timestamp":2307956783505,"duration":14293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useMergeRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3366,"name":"read-resource","id":3367,"timestamp":2307956783583,"duration":14221,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3366,"timestamp":2307956783574,"duration":14366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/refToCallback.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3362,"name":"read-resource","id":3363,"timestamp":2307956783553,"duration":14392,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3362,"timestamp":2307956783543,"duration":14480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/useTransformRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3364,"name":"read-resource","id":3365,"timestamp":2307956783569,"duration":14459,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3088,"name":"build-module-js","id":3364,"timestamp":2307956783559,"duration":14543,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-callback-ref/dist/es2015/transformRef.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"read-resource","id":3371,"timestamp":2307956783617,"duration":14490,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3370,"timestamp":2307956783610,"duration":14657,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3376,"name":"read-resource","id":3377,"timestamp":2307956783663,"duration":14609,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3376,"timestamp":2307956783656,"duration":14771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/mint/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3372,"name":"read-resource","id":3373,"timestamp":2307956783632,"duration":14800,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3372,"timestamp":2307956783623,"duration":15070,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3378,"name":"read-resource","id":3379,"timestamp":2307956783676,"duration":15023,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3378,"timestamp":2307956783668,"duration":15109,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/slashing/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3380,"name":"read-resource","id":3381,"timestamp":2307956783689,"duration":15094,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3380,"timestamp":2307956783681,"duration":15216,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/slashing/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3384,"name":"read-resource","id":3385,"timestamp":2307956783713,"duration":15190,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3384,"timestamp":2307956783706,"duration":15416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/medium.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"read-resource","id":3375,"timestamp":2307956783644,"duration":15485,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3374,"timestamp":2307956783636,"duration":16397,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/ibc/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3382,"name":"read-resource","id":3383,"timestamp":2307956783701,"duration":16338,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3382,"timestamp":2307956783694,"duration":16560,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/hook.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3368,"name":"read-resource","id":3369,"timestamp":2307956783602,"duration":16658,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":2946,"name":"build-module-js","id":3368,"timestamp":2307956783594,"duration":19271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/long/src/long.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3386,"name":"read-resource","id":3387,"timestamp":2307956783726,"duration":19152,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3386,"timestamp":2307956783719,"duration":19310,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/config.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3390,"name":"read-resource","id":3391,"timestamp":2307956783753,"duration":19285,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3390,"timestamp":2307956783744,"duration":19418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/hoc.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3388,"name":"read-resource","id":3389,"timestamp":2307956783740,"duration":19428,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3388,"timestamp":2307956783731,"duration":19625,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/renderProp.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3402,"name":"read-resource","id":3403,"timestamp":2307956783844,"duration":19517,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3402,"timestamp":2307956783837,"duration":19719,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/vesting/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3404,"name":"read-resource","id":3405,"timestamp":2307956783855,"duration":19707,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3404,"timestamp":2307956783848,"duration":19786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/vesting/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3392,"name":"read-resource","id":3393,"timestamp":2307956783770,"duration":19869,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3090,"name":"build-module-js","id":3392,"timestamp":2307956783760,"duration":19987,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/exports.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3394,"name":"read-resource","id":3395,"timestamp":2307956783784,"duration":19972,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3394,"timestamp":2307956783777,"duration":20374,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/aminomessages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3398,"name":"read-resource","id":3399,"timestamp":2307956783813,"duration":20344,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3398,"timestamp":2307956783806,"duration":20613,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3396,"name":"read-resource","id":3397,"timestamp":2307956783801,"duration":20625,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3396,"timestamp":2307956783788,"duration":20729,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/staking/messages.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3400,"name":"read-resource","id":3401,"timestamp":2307956783828,"duration":20694,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3068,"name":"build-module-js","id":3400,"timestamp":2307956783822,"duration":20877,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/build/modules/tx/queries.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3408,"name":"read-resource","id":3409,"timestamp":2307956783880,"duration":20824,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3408,"timestamp":2307956783873,"duration":20973,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/coins.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3406,"name":"read-resource","id":3407,"timestamp":2307956783868,"duration":20984,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"build-module-js","id":3406,"timestamp":2307956783862,"duration":21215,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/component.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3410,"name":"read-resource","id":3411,"timestamp":2307956783893,"duration":21588,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3410,"timestamp":2307956783884,"duration":21703,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/decode.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3412,"name":"read-resource","id":3413,"timestamp":2307956783904,"duration":21690,"tags":{},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3412,"timestamp":2307956783897,"duration":22934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1hdwallet.js"},"startTime":1664295729787},{"traceId":"1979f6cbb13579d5","parentId":3416,"name":"read-resource","id":3417,"timestamp":2307956784977,"duration":27851,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3416,"timestamp":2307956784968,"duration":28082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/paths.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3414,"name":"read-resource","id":3415,"timestamp":2307956784963,"duration":28096,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3414,"timestamp":2307956784950,"duration":28357,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1wallet.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"read-resource","id":3419,"timestamp":2307956784988,"duration":28327,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3418,"timestamp":2307956784981,"duration":28591,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/pubkey.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3420,"name":"read-resource","id":3421,"timestamp":2307956785035,"duration":28543,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3420,"timestamp":2307956785015,"duration":29008,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/registry.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3422,"name":"read-resource","id":3423,"timestamp":2307956785053,"duration":29010,"tags":{},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3422,"timestamp":2307956785042,"duration":29101,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/signer.js"},"startTime":1664295729788},{"traceId":"1979f6cbb13579d5","parentId":3424,"name":"read-resource","id":3425,"timestamp":2307956785848,"duration":28408,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3424,"timestamp":2307956785826,"duration":29328,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/signing.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3426,"name":"read-resource","id":3427,"timestamp":2307956785867,"duration":29345,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3162,"name":"build-module-js","id":3426,"timestamp":2307956785857,"duration":29752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing/build/wallet.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"read-resource","id":3431,"timestamp":2307956785907,"duration":29709,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"build-module-js","id":3430,"timestamp":2307956785898,"duration":30656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/encoding/dist/esm/index.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3428,"name":"read-resource","id":3429,"timestamp":2307956785883,"duration":30678,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3164,"name":"build-module-js","id":3428,"timestamp":2307956785875,"duration":30890,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"read-resource","id":3433,"timestamp":2307956785921,"duration":36727,"tags":{},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":2986,"name":"build-module-js","id":3432,"timestamp":2307956785914,"duration":37477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/dist/esm/index.js"},"startTime":1664295729789},{"traceId":"1979f6cbb13579d5","parentId":3436,"name":"read-resource","id":3437,"timestamp":2307956796491,"duration":30480,"tags":{},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":3208,"name":"build-module-js","id":3436,"timestamp":2307956796480,"duration":30692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/types/dist/MotionValue.es.js"},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"read-resource","id":3435,"timestamp":2307956796470,"duration":30710,"tags":{},"startTime":1664295729800},{"traceId":"1979f6cbb13579d5","parentId":2988,"name":"build-module-js","id":3434,"timestamp":2307956796441,"duration":30842,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/index.js"},"startTime":1664295729800}] -[{"traceId":"1979f6cbb13579d5","parentId":3438,"name":"read-resource","id":3439,"timestamp":2307956820826,"duration":9828,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"build-module-js","id":3438,"timestamp":2307956820792,"duration":10533,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/Animation.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3440,"name":"read-resource","id":3441,"timestamp":2307956820848,"duration":10486,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3440,"timestamp":2307956820837,"duration":10603,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/array.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3442,"name":"read-resource","id":3443,"timestamp":2307956820862,"duration":10584,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3442,"timestamp":2307956820853,"duration":10661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/clamp.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3446,"name":"read-resource","id":3447,"timestamp":2307956820897,"duration":10622,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3446,"timestamp":2307956820889,"duration":10707,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/easing.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3444,"name":"read-resource","id":3445,"timestamp":2307956820879,"duration":10722,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3444,"timestamp":2307956820870,"duration":10784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/defaults.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3448,"name":"read-resource","id":3449,"timestamp":2307956820909,"duration":10748,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3448,"timestamp":2307956820902,"duration":10903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/interpolate.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3452,"name":"read-resource","id":3453,"timestamp":2307956820934,"duration":10876,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3452,"timestamp":2307956820927,"duration":10943,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-easing-list.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3456,"name":"read-resource","id":3457,"timestamp":2307956820958,"duration":10916,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3456,"timestamp":2307956820952,"duration":10972,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-number.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3450,"name":"read-resource","id":3451,"timestamp":2307956820922,"duration":11005,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3450,"timestamp":2307956820915,"duration":11062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-easing-generator.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3454,"name":"read-resource","id":3455,"timestamp":2307956820945,"duration":11036,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3454,"timestamp":2307956820939,"duration":11088,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-function.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3460,"name":"read-resource","id":3461,"timestamp":2307956820981,"duration":11049,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3460,"timestamp":2307956820974,"duration":11110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-cubic-bezier.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3462,"name":"read-resource","id":3463,"timestamp":2307956820993,"duration":11096,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3462,"timestamp":2307956820986,"duration":11151,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/mix.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3458,"name":"read-resource","id":3459,"timestamp":2307956820970,"duration":11171,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3458,"timestamp":2307956820963,"duration":11218,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/is-string.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3464,"name":"read-resource","id":3465,"timestamp":2307956821005,"duration":11191,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3464,"timestamp":2307956820998,"duration":11295,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/offset.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3468,"name":"read-resource","id":3469,"timestamp":2307956821028,"duration":11269,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3468,"timestamp":2307956821021,"duration":11324,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/noop.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3466,"name":"read-resource","id":3467,"timestamp":2307956821017,"duration":11332,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3466,"timestamp":2307956821010,"duration":11390,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/progress.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3470,"name":"read-resource","id":3471,"timestamp":2307956821041,"duration":11363,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3470,"timestamp":2307956821034,"duration":11646,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/denom/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3476,"name":"read-resource","id":3477,"timestamp":2307956821076,"duration":11610,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3476,"timestamp":2307956821069,"duration":11771,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/utils/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3480,"name":"read-resource","id":3481,"timestamp":2307956821100,"duration":11745,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3480,"timestamp":2307956821093,"duration":11811,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/time.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3478,"name":"read-resource","id":3479,"timestamp":2307956821088,"duration":11825,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3478,"timestamp":2307956821081,"duration":11941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/escape/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3484,"name":"read-resource","id":3485,"timestamp":2307956821123,"duration":11905,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3484,"timestamp":2307956821116,"duration":11970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/wrap.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3474,"name":"read-resource","id":3475,"timestamp":2307956821064,"duration":12026,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3474,"timestamp":2307956821057,"duration":12179,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/mobx/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3482,"name":"read-resource","id":3483,"timestamp":2307956821111,"duration":12132,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3210,"name":"build-module-js","id":3482,"timestamp":2307956821104,"duration":12199,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/utils/dist/velocity.es.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"read-resource","id":3473,"timestamp":2307956821052,"duration":12256,"tags":{},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3066,"name":"build-module-js","id":3472,"timestamp":2307956821046,"duration":12431,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/index.js"},"startTime":1664295729824},{"traceId":"1979f6cbb13579d5","parentId":3490,"name":"read-resource","id":3491,"timestamp":2307956821164,"duration":12318,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3490,"timestamp":2307956821158,"duration":12492,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/singleton.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3492,"name":"read-resource","id":3493,"timestamp":2307956821176,"duration":12479,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3492,"timestamp":2307956821169,"duration":12565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/hook.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3488,"name":"read-resource","id":3489,"timestamp":2307956821151,"duration":12588,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3176,"name":"build-module-js","id":3488,"timestamp":2307956821143,"duration":12664,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/react-style-singleton/dist/es2015/component.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3496,"name":"read-resource","id":3497,"timestamp":2307956821202,"duration":12609,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3496,"timestamp":2307956821196,"duration":12871,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/glide/index.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3486,"name":"read-resource","id":3487,"timestamp":2307956821135,"duration":12937,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3206,"name":"build-module-js","id":3486,"timestamp":2307956821128,"duration":13083,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/animation/dist/utils/easing.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"read-resource","id":3495,"timestamp":2307956821191,"duration":13027,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3224,"name":"build-module-js","id":3494,"timestamp":2307956821181,"duration":14375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/factoryWithTypeCheckers.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"read-resource","id":3499,"timestamp":2307956821216,"duration":17100,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3498,"timestamp":2307956821209,"duration":17807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/index.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3500,"name":"read-resource","id":3501,"timestamp":2307956821227,"duration":18174,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3500,"timestamp":2307956821221,"duration":18403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3502,"name":"read-resource","id":3503,"timestamp":2307956821241,"duration":18390,"tags":{},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3216,"name":"build-module-js","id":3502,"timestamp":2307956821232,"duration":18489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/velocity.es.js"},"startTime":1664295729825},{"traceId":"1979f6cbb13579d5","parentId":3504,"name":"read-resource","id":3505,"timestamp":2307956825527,"duration":15150,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"build-module-js","id":3504,"timestamp":2307956825501,"duration":15923,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/decimal.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3512,"name":"read-resource","id":3513,"timestamp":2307956825819,"duration":15619,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3512,"timestamp":2307956825811,"duration":15730,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/sleep.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3510,"name":"read-resource","id":3511,"timestamp":2307956825806,"duration":15922,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3510,"timestamp":2307956825798,"duration":16068,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/assert.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3506,"name":"read-resource","id":3507,"timestamp":2307956825545,"duration":16330,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3218,"name":"build-module-js","id":3506,"timestamp":2307956825536,"duration":18313,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/math/build/integers.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3508,"name":"read-resource","id":3509,"timestamp":2307956825791,"duration":18114,"tags":{},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3508,"timestamp":2307956825780,"duration":18260,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/arrays.js"},"startTime":1664295729829},{"traceId":"1979f6cbb13579d5","parentId":3514,"name":"read-resource","id":3515,"timestamp":2307956828876,"duration":19074,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3220,"name":"build-module-js","id":3514,"timestamp":2307956828852,"duration":19340,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils/build/typechecks.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3520,"name":"read-resource","id":3521,"timestamp":2307956828917,"duration":19323,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3520,"timestamp":2307956828909,"duration":19928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/encoding.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3516,"name":"read-resource","id":3517,"timestamp":2307956828894,"duration":19967,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3516,"timestamp":2307956828885,"duration":20197,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/addresses.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3518,"name":"read-resource","id":3519,"timestamp":2307956828906,"duration":20293,"tags":{},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3518,"timestamp":2307956828898,"duration":20549,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/coins.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3522,"name":"read-resource","id":3523,"timestamp":2307956829122,"duration":20330,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3522,"timestamp":2307956829112,"duration":20523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/multisig.js"},"startTime":1664295729832},{"traceId":"1979f6cbb13579d5","parentId":3526,"name":"read-resource","id":3527,"timestamp":2307956829145,"duration":21760,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3526,"timestamp":2307956829138,"duration":21924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/pubkeys.js"},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3524,"name":"read-resource","id":3525,"timestamp":2307956829134,"duration":21934,"tags":{},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3524,"timestamp":2307956829127,"duration":22036,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/paths.js"},"startTime":1664295729833},{"traceId":"1979f6cbb13579d5","parentId":3528,"name":"read-resource","id":3529,"timestamp":2307956837024,"duration":14942,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3528,"timestamp":2307956836995,"duration":15708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/secp256k1hdwallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3530,"name":"read-resource","id":3531,"timestamp":2307956837049,"duration":15661,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3530,"timestamp":2307956837040,"duration":15887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/secp256k1wallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3532,"name":"read-resource","id":3533,"timestamp":2307956837075,"duration":15857,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3532,"timestamp":2307956837055,"duration":16020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/signature.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3536,"name":"read-resource","id":3537,"timestamp":2307956837104,"duration":15977,"tags":{},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3536,"timestamp":2307956837095,"duration":16096,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/stdtx.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3540,"name":"read-resource","id":3541,"timestamp":2307956837132,"duration":16067,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3540,"timestamp":2307956837124,"duration":16387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/bech32.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3534,"name":"read-resource","id":3535,"timestamp":2307956837090,"duration":16427,"tags":{},"startTime":1664295729840}] -[{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3534,"timestamp":2307956837082,"duration":16749,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/signdoc.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3544,"name":"read-resource","id":3545,"timestamp":2307956837159,"duration":16677,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3544,"timestamp":2307956837152,"duration":16918,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/base64.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3542,"name":"read-resource","id":3543,"timestamp":2307956837146,"duration":16930,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3542,"timestamp":2307956837139,"duration":17089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/ascii.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3538,"name":"read-resource","id":3539,"timestamp":2307956837117,"duration":17116,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3222,"name":"build-module-js","id":3538,"timestamp":2307956837109,"duration":17331,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/amino/build/wallet.js"},"startTime":1664295729840},{"traceId":"1979f6cbb13579d5","parentId":3548,"name":"read-resource","id":3549,"timestamp":2307956837188,"duration":17259,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3548,"timestamp":2307956837181,"duration":18418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/rfc3339.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3546,"name":"read-resource","id":3547,"timestamp":2307956837176,"duration":18429,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3546,"timestamp":2307956837169,"duration":18594,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/hex.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3550,"name":"read-resource","id":3551,"timestamp":2307956837203,"duration":18960,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3228,"name":"build-module-js","id":3550,"timestamp":2307956837195,"duration":19061,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/encoding/build/utf8.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3554,"name":"read-resource","id":3555,"timestamp":2307956837235,"duration":19197,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"build-module-mjs","id":3554,"timestamp":2307956837227,"duration":19346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/on-next-frame.mjs"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"read-resource","id":3553,"timestamp":2307956837217,"duration":19376,"tags":{},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3552,"timestamp":2307956837210,"duration":19538,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusInside.js"},"startTime":1664295729841},{"traceId":"1979f6cbb13579d5","parentId":3556,"name":"read-resource","id":3557,"timestamp":2307956840326,"duration":18482,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3254,"name":"build-module-mjs","id":3556,"timestamp":2307956840294,"duration":18849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/popmotion/node_modules/framesync/dist/es/create-render-step.mjs"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3562,"name":"read-resource","id":3563,"timestamp":2307956840380,"duration":18771,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3562,"timestamp":2307956840371,"duration":19485,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/dates.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3560,"name":"read-resource","id":3561,"timestamp":2307956840363,"duration":19503,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3560,"timestamp":2307956840351,"duration":19708,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/addresses.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3558,"name":"read-resource","id":3559,"timestamp":2307956840344,"duration":19745,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3558,"timestamp":2307956840335,"duration":19876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusIsHidden.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"read-resource","id":3567,"timestamp":2307956840405,"duration":19835,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3566,"timestamp":2307956840397,"duration":20097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusMerge.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3564,"name":"read-resource","id":3565,"timestamp":2307956840393,"duration":20107,"tags":{},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3564,"timestamp":2307956840384,"duration":20214,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/types.js"},"startTime":1664295729844},{"traceId":"1979f6cbb13579d5","parentId":3570,"name":"read-resource","id":3571,"timestamp":2307956847215,"duration":16809,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3570,"timestamp":2307956847201,"duration":17139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/focusables.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3568,"name":"read-resource","id":3569,"timestamp":2307956847188,"duration":17159,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3568,"timestamp":2307956846906,"duration":17616,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/setFocus.js"},"startTime":1664295729850},{"traceId":"1979f6cbb13579d5","parentId":3572,"name":"read-resource","id":3573,"timestamp":2307956847230,"duration":17299,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3572,"timestamp":2307956847221,"duration":17542,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/sibling.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3574,"name":"read-resource","id":3575,"timestamp":2307956847243,"duration":17550,"tags":{},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3574,"timestamp":2307956847235,"duration":17641,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/tabHook.js"},"startTime":1664295729851},{"traceId":"1979f6cbb13579d5","parentId":3584,"name":"read-resource","id":3585,"timestamp":2307956850733,"duration":15287,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3584,"timestamp":2307956850726,"duration":15653,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/dates.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"read-resource","id":3577,"timestamp":2307956850678,"duration":15707,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"build-module-js","id":3576,"timestamp":2307956850661,"duration":21829,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/staking.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3578,"name":"read-resource","id":3579,"timestamp":2307956850695,"duration":21821,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3258,"name":"build-module-js","id":3578,"timestamp":2307956850686,"duration":22024,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3582,"name":"read-resource","id":3583,"timestamp":2307956850721,"duration":21998,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3582,"timestamp":2307956850714,"duration":22111,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/getActiveElement.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3580,"name":"read-resource","id":3581,"timestamp":2307956850708,"duration":22123,"tags":{},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3230,"name":"build-module-js","id":3580,"timestamp":2307956850700,"duration":22315,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/all-affected.js"},"startTime":1664295729854},{"traceId":"1979f6cbb13579d5","parentId":3592,"name":"read-resource","id":3593,"timestamp":2307956857616,"duration":17708,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"build-module-js","id":3592,"timestamp":2307956857609,"duration":18382,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/decimal.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3590,"name":"read-resource","id":3591,"timestamp":2307956857603,"duration":18397,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3278,"name":"build-module-js","id":3590,"timestamp":2307956857595,"duration":19063,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/math/build/integers.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3586,"name":"read-resource","id":3587,"timestamp":2307956857566,"duration":19104,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3586,"timestamp":2307956857544,"duration":19302,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/addresses.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3588,"name":"read-resource","id":3589,"timestamp":2307956857587,"duration":19265,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3588,"timestamp":2307956857577,"duration":19370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/types.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3594,"name":"read-resource","id":3595,"timestamp":2307956857629,"duration":19324,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3594,"timestamp":2307956857622,"duration":19450,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/coins.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3598,"name":"read-resource","id":3599,"timestamp":2307956857656,"duration":19421,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3598,"timestamp":2307956857649,"duration":20030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1hdwallet.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3596,"name":"read-resource","id":3597,"timestamp":2307956857642,"duration":20044,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3596,"timestamp":2307956857634,"duration":20138,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/decode.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3600,"name":"read-resource","id":3601,"timestamp":2307956858006,"duration":20257,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3600,"timestamp":2307956857669,"duration":20969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/directsecp256k1wallet.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3602,"name":"read-resource","id":3603,"timestamp":2307956858022,"duration":20625,"tags":{},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3602,"timestamp":2307956858014,"duration":20746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/paths.js"},"startTime":1664295729861},{"traceId":"1979f6cbb13579d5","parentId":3606,"name":"read-resource","id":3607,"timestamp":2307956861978,"duration":19188,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3606,"timestamp":2307956861968,"duration":19686,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/registry.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3604,"name":"read-resource","id":3605,"timestamp":2307956861957,"duration":19749,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3604,"timestamp":2307956861919,"duration":20054,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/pubkey.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3608,"name":"read-resource","id":3609,"timestamp":2307956861993,"duration":19988,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3608,"timestamp":2307956861985,"duration":20073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/signer.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3610,"name":"read-resource","id":3611,"timestamp":2307956862006,"duration":20063,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3610,"timestamp":2307956861999,"duration":20309,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/signing.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3614,"name":"read-resource","id":3615,"timestamp":2307956862032,"duration":20287,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"build-module-js","id":3614,"timestamp":2307956862026,"duration":20667,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/any.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3616,"name":"read-resource","id":3617,"timestamp":2307956862045,"duration":20656,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3244,"name":"build-module-js","id":3616,"timestamp":2307956862038,"duration":20902,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/timestamp.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3612,"name":"read-resource","id":3613,"timestamp":2307956862019,"duration":20930,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3282,"name":"build-module-js","id":3612,"timestamp":2307956862012,"duration":21136,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/proto-signing/build/wallet.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3622,"name":"read-resource","id":3623,"timestamp":2307956862080,"duration":21073,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3622,"timestamp":2307956862074,"duration":21238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/hex.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3618,"name":"read-resource","id":3619,"timestamp":2307956862057,"duration":21263,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3618,"timestamp":2307956862051,"duration":22569,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/ascii.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3620,"name":"read-resource","id":3621,"timestamp":2307956862068,"duration":22561,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3620,"timestamp":2307956862062,"duration":22897,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/bech32.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3624,"name":"read-resource","id":3625,"timestamp":2307956862091,"duration":22874,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3624,"timestamp":2307956862085,"duration":23095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/base64.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3626,"name":"read-resource","id":3627,"timestamp":2307956862102,"duration":23302,"tags":{},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3626,"timestamp":2307956862096,"duration":24492,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/rfc3339.js"},"startTime":1664295729865},{"traceId":"1979f6cbb13579d5","parentId":3634,"name":"read-resource","id":3635,"timestamp":2307956865397,"duration":24656,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3634,"timestamp":2307956865390,"duration":24835,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/sleep.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3632,"name":"read-resource","id":3633,"timestamp":2307956865386,"duration":24846,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3632,"timestamp":2307956865379,"duration":24988,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/assert.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3628,"name":"read-resource","id":3629,"timestamp":2307956865351,"duration":25022,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3280,"name":"build-module-js","id":3628,"timestamp":2307956865332,"duration":25129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/encoding/build/utf8.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3630,"name":"read-resource","id":3631,"timestamp":2307956865371,"duration":25094,"tags":{},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3630,"timestamp":2307956865363,"duration":25474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/arrays.js"},"startTime":1664295729869},{"traceId":"1979f6cbb13579d5","parentId":3636,"name":"read-resource","id":3637,"timestamp":2307956874402,"duration":18020,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3284,"name":"build-module-js","id":3636,"timestamp":2307956874383,"duration":18301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/utils/build/typechecks.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3638,"name":"read-resource","id":3639,"timestamp":2307956874422,"duration":18270,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3638,"timestamp":2307956874414,"duration":18534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/addresses.js"},"startTime":1664295729878}] -[{"traceId":"1979f6cbb13579d5","parentId":3640,"name":"read-resource","id":3641,"timestamp":2307956874437,"duration":18650,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3640,"timestamp":2307956874429,"duration":19000,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/coins.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3642,"name":"read-resource","id":3643,"timestamp":2307956874453,"duration":18983,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3642,"timestamp":2307956874445,"duration":19477,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/encoding.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3644,"name":"read-resource","id":3645,"timestamp":2307956874467,"duration":19464,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3644,"timestamp":2307956874459,"duration":19656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/multisig.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3646,"name":"read-resource","id":3647,"timestamp":2307956874480,"duration":19641,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3646,"timestamp":2307956874473,"duration":19728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/paths.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"read-resource","id":3651,"timestamp":2307956874511,"duration":19695,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3650,"timestamp":2307956874503,"duration":20322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/inflate.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3652,"name":"read-resource","id":3653,"timestamp":2307956874524,"duration":20309,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3652,"timestamp":2307956874517,"duration":20412,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/constants.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3654,"name":"read-resource","id":3655,"timestamp":2307956874542,"duration":20393,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3654,"timestamp":2307956874535,"duration":20968,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/pubkeys.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3658,"name":"read-resource","id":3659,"timestamp":2307956874573,"duration":20937,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3658,"timestamp":2307956874566,"duration":21074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/signature.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3660,"name":"read-resource","id":3661,"timestamp":2307956874591,"duration":21054,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3660,"timestamp":2307956874584,"duration":21269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/secp256k1wallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3662,"name":"read-resource","id":3663,"timestamp":2307956874608,"duration":21251,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3662,"timestamp":2307956874600,"duration":21411,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/signdoc.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3664,"name":"read-resource","id":3665,"timestamp":2307956874624,"duration":21407,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3664,"timestamp":2307956874618,"duration":21509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/stdtx.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3648,"name":"read-resource","id":3649,"timestamp":2307956874495,"duration":21637,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3262,"name":"build-module-js","id":3648,"timestamp":2307956874487,"duration":22152,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/deflate.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3656,"name":"read-resource","id":3657,"timestamp":2307956874555,"duration":22091,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3656,"timestamp":2307956874548,"duration":22735,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/secp256k1hdwallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3666,"name":"read-resource","id":3667,"timestamp":2307956874637,"duration":22652,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3288,"name":"build-module-js","id":3666,"timestamp":2307956874630,"duration":22851,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/amino/build/wallet.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3668,"name":"read-resource","id":3669,"timestamp":2307956874653,"duration":22833,"tags":{},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3668,"timestamp":2307956874647,"duration":24086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/bip39.js"},"startTime":1664295729878},{"traceId":"1979f6cbb13579d5","parentId":3670,"name":"read-resource","id":3671,"timestamp":2307956879317,"duration":22109,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3670,"timestamp":2307956879294,"duration":22449,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/hmac.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"read-resource","id":3673,"timestamp":2307956879340,"duration":22411,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3672,"timestamp":2307956879331,"duration":22585,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/keccak.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3674,"name":"read-resource","id":3675,"timestamp":2307956879353,"duration":22569,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3674,"timestamp":2307956879346,"duration":22893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/libsodium.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3676,"name":"read-resource","id":3677,"timestamp":2307956879365,"duration":22998,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3676,"timestamp":2307956879358,"duration":23143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/random.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3678,"name":"read-resource","id":3679,"timestamp":2307956879380,"duration":23152,"tags":{},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3678,"timestamp":2307956879371,"duration":23287,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/ripemd.js"},"startTime":1664295729883},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"read-resource","id":3681,"timestamp":2307956888045,"duration":17128,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3680,"timestamp":2307956888020,"duration":17745,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/secp256k1.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3684,"name":"read-resource","id":3685,"timestamp":2307956888082,"duration":17691,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"build-module-js","id":3684,"timestamp":2307956888074,"duration":17941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3682,"name":"read-resource","id":3683,"timestamp":2307956888067,"duration":17955,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3292,"name":"build-module-js","id":3682,"timestamp":2307956888057,"duration":18086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3686,"name":"read-resource","id":3687,"timestamp":2307956888096,"duration":18053,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3252,"name":"build-module-js","id":3686,"timestamp":2307956888089,"duration":19217,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/client.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"read-resource","id":3693,"timestamp":2307956888139,"duration":19175,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3692,"timestamp":2307956888132,"duration":19367,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/sha.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3690,"name":"read-resource","id":3691,"timestamp":2307956888126,"duration":19381,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3690,"timestamp":2307956888118,"duration":19808,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/secp256k1signature.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3688,"name":"read-resource","id":3689,"timestamp":2307956888111,"duration":19829,"tags":{},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3274,"name":"build-module-js","id":3688,"timestamp":2307956888103,"duration":20393,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/query/v1beta1/pagination.js"},"startTime":1664295729891},{"traceId":"1979f6cbb13579d5","parentId":3694,"name":"read-resource","id":3695,"timestamp":2307956888152,"duration":20350,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3286,"name":"build-module-js","id":3694,"timestamp":2307956888145,"duration":22255,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/slip10.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3696,"name":"read-resource","id":3697,"timestamp":2307956888164,"duration":22244,"tags":{},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3200,"name":"build-module-js","id":3696,"timestamp":2307956888157,"duration":22656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/process/browser.js"},"startTime":1664295729892},{"traceId":"1979f6cbb13579d5","parentId":3706,"name":"read-resource","id":3707,"timestamp":2307956891255,"duration":22215,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3318,"name":"build-module-js","id":3706,"timestamp":2307956891247,"duration":24467,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"read-resource","id":3699,"timestamp":2307956891179,"duration":24545,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3698,"timestamp":2307956891148,"duration":24706,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3704,"name":"read-resource","id":3705,"timestamp":2307956891243,"duration":24616,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3300,"name":"build-module-js","id":3704,"timestamp":2307956891235,"duration":25419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/auth/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3708,"name":"read-resource","id":3709,"timestamp":2307956891266,"duration":25399,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3232,"name":"build-module-js","id":3708,"timestamp":2307956891259,"duration":25478,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/minimal.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"read-resource","id":3701,"timestamp":2307956891205,"duration":25539,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3226,"name":"build-module-js","id":3700,"timestamp":2307956891195,"duration":25681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"read-resource","id":3711,"timestamp":2307956891277,"duration":25608,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3710,"timestamp":2307956891270,"duration":25711,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3720,"name":"read-resource","id":3721,"timestamp":2307956891340,"duration":25648,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3310,"name":"build-module-js","id":3720,"timestamp":2307956891333,"duration":26511,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3702,"name":"read-resource","id":3703,"timestamp":2307956891226,"duration":26629,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3298,"name":"build-module-js","id":3702,"timestamp":2307956891215,"duration":30720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmwasm/wasm/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"read-resource","id":3713,"timestamp":2307956891288,"duration":30672,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3276,"name":"build-module-js","id":3712,"timestamp":2307956891282,"duration":30949,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3716,"name":"read-resource","id":3717,"timestamp":2307956891311,"duration":30933,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3306,"name":"build-module-js","id":3716,"timestamp":2307956891302,"duration":32103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3718,"name":"read-resource","id":3719,"timestamp":2307956891326,"duration":32087,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3304,"name":"build-module-js","id":3718,"timestamp":2307956891320,"duration":33021,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3714,"name":"read-resource","id":3715,"timestamp":2307956891299,"duration":33052,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"build-module-js","id":3714,"timestamp":2307956891292,"duration":33207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/types/index.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3722,"name":"read-resource","id":3723,"timestamp":2307956891349,"duration":33156,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3312,"name":"build-module-js","id":3722,"timestamp":2307956891343,"duration":35941,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3728,"name":"read-resource","id":3729,"timestamp":2307956891397,"duration":35897,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3382,"name":"build-module-js","id":3728,"timestamp":2307956891390,"duration":36018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/use-sidecar/dist/es2015/env.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3724,"name":"read-resource","id":3725,"timestamp":2307956891365,"duration":36049,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3326,"name":"build-module-js","id":3724,"timestamp":2307956891356,"duration":36601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3726,"name":"read-resource","id":3727,"timestamp":2307956891383,"duration":36581,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3328,"name":"build-module-js","id":3726,"timestamp":2307956891376,"duration":37212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3730,"name":"read-resource","id":3731,"timestamp":2307956891418,"duration":37177,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3730,"timestamp":2307956891411,"duration":41076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3732,"name":"read-resource","id":3733,"timestamp":2307956891433,"duration":41074,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3732,"timestamp":2307956891426,"duration":42346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/client/v1/tx.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3734,"name":"read-resource","id":3735,"timestamp":2307956891446,"duration":42341,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3734,"timestamp":2307956891439,"duration":43853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"read-resource","id":3739,"timestamp":2307956891538,"duration":43886,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3400,"name":"build-module-js","id":3738,"timestamp":2307956891531,"duration":45884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/tx/v1beta1/service.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3736,"name":"read-resource","id":3737,"timestamp":2307956891518,"duration":45907,"tags":{},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3398,"name":"build-module-js","id":3736,"timestamp":2307956891503,"duration":52059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/staking/v1beta1/query.js"},"startTime":1664295729895},{"traceId":"1979f6cbb13579d5","parentId":3740,"name":"read-resource","id":3741,"timestamp":2307956953714,"duration":7321,"tags":{},"startTime":1664295729957}] -[{"traceId":"1979f6cbb13579d5","parentId":3404,"name":"build-module-js","id":3740,"timestamp":2307956953678,"duration":8274,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/vesting/v1beta1/tx.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3744,"name":"read-resource","id":3745,"timestamp":2307956953755,"duration":8206,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"build-module-js","id":3744,"timestamp":2307956953746,"duration":8405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/dist/esm/network.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3742,"name":"read-resource","id":3743,"timestamp":2307956953738,"duration":8419,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"build-module-js","id":3742,"timestamp":2307956953727,"duration":8724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/multisig/keys.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3752,"name":"read-resource","id":3753,"timestamp":2307956953812,"duration":8645,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3418,"name":"build-module-js","id":3752,"timestamp":2307956953804,"duration":9043,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/crypto/secp256k1/keys.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3750,"name":"read-resource","id":3751,"timestamp":2307956953797,"duration":10246,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3334,"name":"build-module-js","id":3750,"timestamp":2307956953790,"duration":12521,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/query.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3746,"name":"read-resource","id":3747,"timestamp":2307956953770,"duration":12562,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3332,"name":"build-module-js","id":3746,"timestamp":2307956953761,"duration":14566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/gov.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3748,"name":"read-resource","id":3749,"timestamp":2307956953785,"duration":14608,"tags":{},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3330,"name":"build-module-js","id":3748,"timestamp":2307956953778,"duration":15876,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/gov/v1beta1/tx.js"},"startTime":1664295729957},{"traceId":"1979f6cbb13579d5","parentId":3758,"name":"read-resource","id":3759,"timestamp":2307956957413,"duration":12476,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3758,"timestamp":2307956957404,"duration":13668,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/hmac.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3760,"name":"read-resource","id":3761,"timestamp":2307956957427,"duration":13660,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3760,"timestamp":2307956957418,"duration":13783,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/sha2.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3762,"name":"read-resource","id":3763,"timestamp":2307956957439,"duration":13768,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3762,"timestamp":2307956957432,"duration":13856,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/browser/aes.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"read-resource","id":3755,"timestamp":2307956957373,"duration":13921,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3074,"name":"build-module-js","id":3754,"timestamp":2307956957342,"duration":14040,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/index.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"read-resource","id":3757,"timestamp":2307956957398,"duration":13989,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"build-module-js","id":3756,"timestamp":2307956957387,"duration":16133,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/index.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3764,"name":"read-resource","id":3765,"timestamp":2307956957453,"duration":16085,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3764,"timestamp":2307956957446,"duration":16244,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/defaults.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3766,"name":"read-resource","id":3767,"timestamp":2307956957466,"duration":17777,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3766,"timestamp":2307956957459,"duration":17944,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/spring/utils.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3768,"name":"read-resource","id":3769,"timestamp":2307956957479,"duration":17931,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3498,"name":"build-module-js","id":3768,"timestamp":2307956957471,"duration":18026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/generators/dist/utils/has-reached-target.es.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3770,"name":"read-resource","id":3771,"timestamp":2307956957491,"duration":18011,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3770,"timestamp":2307956957484,"duration":19676,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/channel.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3772,"name":"read-resource","id":3773,"timestamp":2307956957502,"duration":19664,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3772,"timestamp":2307956957496,"duration":23080,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/tx.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3774,"name":"read-resource","id":3775,"timestamp":2307956957513,"duration":23076,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3774,"timestamp":2307956957507,"duration":29638,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/channel/v1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3776,"name":"read-resource","id":3777,"timestamp":2307956957527,"duration":29641,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3776,"timestamp":2307956957519,"duration":31512,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3780,"name":"read-resource","id":3781,"timestamp":2307956957554,"duration":31492,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3376,"name":"build-module-js","id":3780,"timestamp":2307956957547,"duration":32991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/mint/v1beta1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3778,"name":"read-resource","id":3779,"timestamp":2307956957542,"duration":33006,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3370,"name":"build-module-js","id":3778,"timestamp":2307956957531,"duration":34805,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/tx.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3784,"name":"read-resource","id":3785,"timestamp":2307956957580,"duration":34769,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3784,"timestamp":2307956957573,"duration":35135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/checkPropTypes.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3782,"name":"read-resource","id":3783,"timestamp":2307956957569,"duration":35147,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3380,"name":"build-module-js","id":3782,"timestamp":2307956957563,"duration":37320,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/slashing/v1beta1/query.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3788,"name":"read-resource","id":3789,"timestamp":2307956957607,"duration":37302,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3788,"timestamp":2307956957600,"duration":37506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/extension.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3790,"name":"read-resource","id":3791,"timestamp":2307956957621,"duration":37611,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3476,"name":"build-module-js","id":3790,"timestamp":2307956957615,"duration":37827,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/utils/debouncer.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3786,"name":"read-resource","id":3787,"timestamp":2307956957594,"duration":37872,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3786,"timestamp":2307956957585,"duration":37960,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/interface.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3792,"name":"read-resource","id":3793,"timestamp":2307956957636,"duration":38171,"tags":{},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3792,"timestamp":2307956957630,"duration":38432,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/base.js"},"startTime":1664295729961},{"traceId":"1979f6cbb13579d5","parentId":3796,"name":"read-resource","id":3797,"timestamp":2307956959444,"duration":38603,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3796,"timestamp":2307956959431,"duration":38801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/local.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3794,"name":"read-resource","id":3795,"timestamp":2307956959420,"duration":38822,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3794,"timestamp":2307956959395,"duration":38971,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/memory.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3798,"name":"read-resource","id":3799,"timestamp":2307956959458,"duration":38915,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3472,"name":"build-module-js","id":3798,"timestamp":2307956959449,"duration":39275,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/build/kv-store/indexed-db.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"read-resource","id":3801,"timestamp":2307956959470,"duration":39260,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3374,"name":"build-module-js","id":3800,"timestamp":2307956959463,"duration":40715,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/lightclients/tendermint/v1/tendermint.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3804,"name":"read-resource","id":3805,"timestamp":2307956959490,"duration":40694,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3804,"timestamp":2307956959483,"duration":40762,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/lib/ReactPropTypesSecret.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"read-resource","id":3807,"timestamp":2307956959501,"duration":40752,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"build-module-js","id":3806,"timestamp":2307956959495,"duration":41003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/DOMutils.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3802,"name":"read-resource","id":3803,"timestamp":2307956959480,"duration":41024,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3802,"timestamp":2307956959473,"duration":41082,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/prop-types/lib/has.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3810,"name":"read-resource","id":3811,"timestamp":2307956959522,"duration":41039,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3810,"timestamp":2307956959515,"duration":41270,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/solver.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3808,"name":"read-resource","id":3809,"timestamp":2307956959512,"duration":41278,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3552,"name":"build-module-js","id":3808,"timestamp":2307956959505,"duration":41370,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/array.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3814,"name":"read-resource","id":3815,"timestamp":2307956959543,"duration":41338,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3814,"timestamp":2307956959536,"duration":41611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/is.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3818,"name":"read-resource","id":3819,"timestamp":2307956959562,"duration":41590,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3578,"name":"build-module-js","id":3818,"timestamp":2307956959556,"duration":41692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3812,"name":"read-resource","id":3813,"timestamp":2307956959532,"duration":41721,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3812,"timestamp":2307956959525,"duration":41817,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/firstFocus.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3820,"name":"read-resource","id":3821,"timestamp":2307956959586,"duration":41761,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3494,"name":"build-module-js","id":3820,"timestamp":2307956959576,"duration":41840,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/polyfills/object-assign.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3816,"name":"read-resource","id":3817,"timestamp":2307956959552,"duration":41869,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3566,"name":"build-module-js","id":3816,"timestamp":2307956959546,"duration":42053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/parenting.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"read-resource","id":3825,"timestamp":2307956959607,"duration":41997,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3824,"timestamp":2307956959601,"duration":42086,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3822,"name":"read-resource","id":3823,"timestamp":2307956959597,"duration":42095,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"build-module-js","id":3822,"timestamp":2307956959590,"duration":42361,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/google/protobuf/duration.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"read-resource","id":3829,"timestamp":2307956959627,"duration":42331,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3264,"name":"build-module-js","id":3828,"timestamp":2307956959620,"duration":42509,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"read-resource","id":3827,"timestamp":2307956959616,"duration":42518,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3826,"timestamp":2307956959610,"duration":42587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"read-resource","id":3831,"timestamp":2307956959639,"duration":42563,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3270,"name":"build-module-js","id":3830,"timestamp":2307956959631,"duration":42746,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"read-resource","id":3833,"timestamp":2307956959651,"duration":42732,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3576,"name":"build-module-js","id":3832,"timestamp":2307956959643,"duration":45910,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/types.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3840,"name":"read-resource","id":3841,"timestamp":2307956959702,"duration":45875,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3840,"timestamp":2307956959695,"duration":46048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/gzheader.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"read-resource","id":3837,"timestamp":2307956959679,"duration":46071,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3836,"timestamp":2307956959672,"duration":49926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inflate.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3838,"name":"read-resource","id":3839,"timestamp":2307956959691,"duration":49921,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3838,"timestamp":2307956959684,"duration":50030,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/messages.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3834,"name":"read-resource","id":3835,"timestamp":2307956959661,"duration":50059,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3834,"timestamp":2307956959654,"duration":50160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/zstream.js"},"startTime":1664295729963}] -[{"traceId":"1979f6cbb13579d5","parentId":3848,"name":"read-resource","id":3849,"timestamp":2307956959748,"duration":50266,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3848,"timestamp":2307956959742,"duration":50722,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/utils/strings.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3842,"name":"read-resource","id":3843,"timestamp":2307956959713,"duration":50758,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3648,"name":"build-module-js","id":3842,"timestamp":2307956959706,"duration":53786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/deflate.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3846,"name":"read-resource","id":3847,"timestamp":2307956959737,"duration":53766,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3650,"name":"build-module-js","id":3846,"timestamp":2307956959731,"duration":53948,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/utils/common.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3850,"name":"read-resource","id":3851,"timestamp":2307956959760,"duration":53926,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3668,"name":"build-module-js","id":3850,"timestamp":2307956959753,"duration":54360,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/pbkdf2.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3844,"name":"read-resource","id":3845,"timestamp":2307956959726,"duration":54393,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3684,"name":"build-module-js","id":3844,"timestamp":2307956959719,"duration":54573,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3852,"name":"read-resource","id":3853,"timestamp":2307956959772,"duration":54524,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"build-module-js","id":3852,"timestamp":2307956959765,"duration":54604,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/crypto/build/utils.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3858,"name":"read-resource","id":3859,"timestamp":2307956959806,"duration":54570,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"build-module-js","id":3858,"timestamp":2307956959799,"duration":54690,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typedarray-to-buffer/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"read-resource","id":3857,"timestamp":2307956959794,"duration":54700,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3412,"name":"build-module-js","id":3856,"timestamp":2307956959788,"duration":55050,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"read-resource","id":3855,"timestamp":2307956959784,"duration":55065,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3272,"name":"build-module-js","id":3854,"timestamp":2307956959777,"duration":55202,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3860,"name":"read-resource","id":3861,"timestamp":2307956959817,"duration":55389,"tags":{},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3430,"name":"build-module-js","id":3860,"timestamp":2307956959810,"duration":55514,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/is-typedarray/index.js"},"startTime":1664295729963},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"read-resource","id":3863,"timestamp":2307956960325,"duration":59276,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3862,"timestamp":2307956960316,"duration":60046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3864,"name":"read-resource","id":3865,"timestamp":2307956960337,"duration":60036,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3864,"timestamp":2307956960330,"duration":60144,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/rpcclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"read-resource","id":3867,"timestamp":2307956960349,"duration":60130,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3698,"name":"build-module-js","id":3866,"timestamp":2307956960342,"duration":60705,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/websocketclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3872,"name":"read-resource","id":3873,"timestamp":2307956960379,"duration":60676,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3872,"timestamp":2307956960373,"duration":60807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/responses.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3876,"name":"read-resource","id":3877,"timestamp":2307956960398,"duration":60787,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3876,"timestamp":2307956960392,"duration":61011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3870,"name":"read-resource","id":3871,"timestamp":2307956960369,"duration":61041,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3870,"timestamp":2307956960363,"duration":61213,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/requests.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3868,"name":"read-resource","id":3869,"timestamp":2307956960359,"duration":61222,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3706,"name":"build-module-js","id":3868,"timestamp":2307956960353,"duration":64577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/distribution/v1beta1/distribution.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"read-resource","id":3875,"timestamp":2307956960388,"duration":64558,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3700,"name":"build-module-js","id":3874,"timestamp":2307956960382,"duration":65347,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/tendermint34client.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"read-resource","id":3881,"timestamp":2307956960427,"duration":65311,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3880,"timestamp":2307956960417,"duration":65780,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/websocketclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"read-resource","id":3883,"timestamp":2307956960437,"duration":65766,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3348,"name":"build-module-js","id":3882,"timestamp":2307956960431,"duration":66611,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/query-string/index.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3878,"name":"read-resource","id":3879,"timestamp":2307956960407,"duration":66642,"tags":{},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3710,"name":"build-module-js","id":3878,"timestamp":2307956960401,"duration":66734,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/rpcclient.js"},"startTime":1664295729964},{"traceId":"1979f6cbb13579d5","parentId":3884,"name":"read-resource","id":3885,"timestamp":2307956963328,"duration":64304,"tags":{},"startTime":1664295729967},{"traceId":"1979f6cbb13579d5","parentId":3340,"name":"build-module-js","id":3884,"timestamp":2307956963313,"duration":67121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/js-sha3/src/sha3.js"},"startTime":1664295729967},{"traceId":"1979f6cbb13579d5","parentId":3892,"name":"read-resource","id":3893,"timestamp":2307957042122,"duration":5772,"tags":{},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3892,"timestamp":2307957042115,"duration":6212,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/requests.js"},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3894,"name":"read-resource","id":3895,"timestamp":2307957042134,"duration":6200,"tags":{},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3894,"timestamp":2307957042127,"duration":6384,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/responses.js"},"startTime":1664295730046},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"read-resource","id":3887,"timestamp":2307957042075,"duration":6485,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3486,"name":"build-module-js","id":3886,"timestamp":2307957042034,"duration":6635,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/index.es.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"read-resource","id":3891,"timestamp":2307957042109,"duration":6567,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3708,"name":"build-module-js","id":3890,"timestamp":2307957042100,"duration":7282,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/index-minimal.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3888,"name":"read-resource","id":3889,"timestamp":2307957042094,"duration":7296,"tags":{},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3338,"name":"build-module-js","id":3888,"timestamp":2307957042084,"duration":20104,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/utils/node_modules/bn.js/lib/bn.js"},"startTime":1664295730045},{"traceId":"1979f6cbb13579d5","parentId":3902,"name":"read-resource","id":3903,"timestamp":2307957044474,"duration":20826,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3432,"name":"build-module-js","id":3902,"timestamp":2307957044467,"duration":20981,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/socket-transport/node_modules/ws/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3900,"name":"read-resource","id":3901,"timestamp":2307957044461,"duration":20993,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3716,"name":"build-module-js","id":3900,"timestamp":2307957044453,"duration":21768,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/authz/v1beta1/authz.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"read-resource","id":3897,"timestamp":2307957044432,"duration":21796,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3712,"name":"build-module-js","id":3896,"timestamp":2307957044419,"duration":22619,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/tendermint34client.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3898,"name":"read-resource","id":3899,"timestamp":2307957044447,"duration":23717,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3720,"name":"build-module-js","id":3898,"timestamp":2307957044439,"duration":26145,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/bank/v1beta1/bank.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3910,"name":"read-resource","id":3911,"timestamp":2307957044527,"duration":26066,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"build-module-js","id":3910,"timestamp":2307957044517,"duration":26441,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/block.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"read-resource","id":3907,"timestamp":2307957044499,"duration":26466,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3344,"name":"build-module-js","id":3906,"timestamp":2307957044491,"duration":26587,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3904,"name":"read-resource","id":3905,"timestamp":2307957044487,"duration":26596,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3714,"name":"build-module-js","id":3904,"timestamp":2307957044480,"duration":27295,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/provider/build/types/msgs.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3908,"name":"read-resource","id":3909,"timestamp":2307957044512,"duration":27270,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3686,"name":"build-module-js","id":3908,"timestamp":2307957044504,"duration":28895,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/upgrade/v1beta1/upgrade.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3912,"name":"read-resource","id":3913,"timestamp":2307957044544,"duration":28861,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3726,"name":"build-module-js","id":3912,"timestamp":2307957044534,"duration":30155,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/feegrant/v1beta1/feegrant.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3914,"name":"read-resource","id":3915,"timestamp":2307957044556,"duration":30156,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3734,"name":"build-module-js","id":3914,"timestamp":2307957044549,"duration":30578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/applications/transfer/v1/transfer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"read-resource","id":3923,"timestamp":2307957044605,"duration":30530,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3922,"timestamp":2307957044597,"duration":30926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3916,"name":"read-resource","id":3917,"timestamp":2307957044569,"duration":30963,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3490,"name":"build-module-js","id":3916,"timestamp":2307957044562,"duration":31076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/get-nonce/dist/es2015/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3920,"name":"read-resource","id":3921,"timestamp":2307957044593,"duration":31052,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3434,"name":"build-module-js","id":3920,"timestamp":2307957044586,"duration":31129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/randombytes/dist/esm/browser/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3918,"name":"read-resource","id":3919,"timestamp":2307957044581,"duration":31140,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3738,"name":"build-module-js","id":3918,"timestamp":2307957044573,"duration":34627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/base/abci/v1beta1/abci.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3928,"name":"read-resource","id":3929,"timestamp":2307957044639,"duration":34578,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3928,"timestamp":2307957044632,"duration":34898,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/concat.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3930,"name":"read-resource","id":3931,"timestamp":2307957044650,"duration":34887,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3930,"timestamp":2307957044644,"duration":35004,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/dropduplicates.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3934,"name":"read-resource","id":3935,"timestamp":2307957044673,"duration":34980,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3934,"timestamp":2307957044666,"duration":35187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/promise.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"read-resource","id":3925,"timestamp":2307957044617,"duration":35245,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3470,"name":"build-module-js","id":3924,"timestamp":2307957044610,"duration":35425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/index.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3926,"name":"read-resource","id":3927,"timestamp":2307957044628,"duration":35413,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"build-module-js","id":3926,"timestamp":2307957044621,"duration":46249,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/bn.js/lib/bn.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3936,"name":"read-resource","id":3937,"timestamp":2307957044684,"duration":46208,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3936,"timestamp":2307957044677,"duration":46602,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/reducer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3938,"name":"read-resource","id":3939,"timestamp":2307957044697,"duration":46590,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3938,"timestamp":2307957044690,"duration":46764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/valueandupdates.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3932,"name":"read-resource","id":3933,"timestamp":2307957044662,"duration":46798,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3756,"name":"build-module-js","id":3932,"timestamp":2307957044655,"duration":46925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/stream/build/defaultvalueproducer.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3944,"name":"read-resource","id":3945,"timestamp":2307957044738,"duration":46848,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3944,"timestamp":2307957044731,"duration":47053,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/mobile.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3942,"name":"read-resource","id":3943,"timestamp":2307957044725,"duration":47065,"tags":{},"startTime":1664295730048}] -[{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3942,"timestamp":2307957044719,"duration":47476,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/local.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3946,"name":"read-resource","id":3947,"timestamp":2307957044751,"duration":47468,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3946,"timestamp":2307957044744,"duration":47737,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/registry.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3954,"name":"read-resource","id":3955,"timestamp":2307957044805,"duration":47683,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3954,"timestamp":2307957044798,"duration":47774,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/bip44.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3940,"name":"read-resource","id":3941,"timestamp":2307957044714,"duration":47866,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3754,"name":"build-module-js","id":3940,"timestamp":2307957044706,"duration":47962,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/browser-utils/dist/esm/json.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3952,"name":"read-resource","id":3953,"timestamp":2307957044792,"duration":47916,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3952,"timestamp":2307957044784,"duration":47985,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/currency.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3950,"name":"read-resource","id":3951,"timestamp":2307957044779,"duration":48064,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3950,"timestamp":2307957044772,"duration":48120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/bech32.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3948,"name":"read-resource","id":3949,"timestamp":2307957044767,"duration":48477,"tags":{},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3758,"name":"build-module-js","id":3948,"timestamp":2307957044760,"duration":48879,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/lib/browser.js"},"startTime":1664295730048},{"traceId":"1979f6cbb13579d5","parentId":3962,"name":"read-resource","id":3963,"timestamp":2307957046283,"duration":51061,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3810,"name":"build-module-js","id":3962,"timestamp":2307957046276,"duration":51323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/correctFocus.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3956,"name":"read-resource","id":3957,"timestamp":2307957046236,"duration":51371,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3956,"timestamp":2307957046214,"duration":51467,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/chain-info.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3966,"name":"read-resource","id":3967,"timestamp":2307957046312,"duration":51375,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3782,"name":"build-module-js","id":3966,"timestamp":2307957046305,"duration":52292,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/slashing/v1beta1/slashing.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3958,"name":"read-resource","id":3959,"timestamp":2307957046256,"duration":52347,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3958,"timestamp":2307957046246,"duration":52416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/window.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3964,"name":"read-resource","id":3965,"timestamp":2307957046297,"duration":52372,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3780,"name":"build-module-js","id":3964,"timestamp":2307957046288,"duration":52840,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/cosmos/mint/v1beta1/mint.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3970,"name":"read-resource","id":3971,"timestamp":2307957046337,"duration":52798,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"build-module-js","id":3970,"timestamp":2307957046330,"duration":52945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabOrder.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3968,"name":"read-resource","id":3969,"timestamp":2307957046325,"duration":52956,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":3968,"timestamp":2307957046318,"duration":53690,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/validator.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3960,"name":"read-resource","id":3961,"timestamp":2307957046270,"duration":53744,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":3960,"timestamp":2307957046262,"duration":53834,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/ethereum.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3972,"name":"read-resource","id":3973,"timestamp":2307957046349,"duration":53752,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3806,"name":"build-module-js","id":3972,"timestamp":2307957046342,"duration":53947,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabUtils.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3974,"name":"read-resource","id":3975,"timestamp":2307957046360,"duration":53935,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3974,"timestamp":2307957046353,"duration":54130,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/default.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3978,"name":"read-resource","id":3979,"timestamp":2307957046383,"duration":54105,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3978,"timestamp":2307957046377,"duration":54162,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/error.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3982,"name":"read-resource","id":3983,"timestamp":2307957046407,"duration":54136,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3982,"timestamp":2307957046401,"duration":54207,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/operations.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3976,"name":"read-resource","id":3977,"timestamp":2307957046372,"duration":54241,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3976,"timestamp":2307957046365,"duration":54297,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/encoding.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3980,"name":"read-resource","id":3981,"timestamp":2307957046396,"duration":54271,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3824,"name":"build-module-js","id":3980,"timestamp":2307957046389,"duration":54371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/constants/length.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3986,"name":"read-resource","id":3987,"timestamp":2307957046430,"duration":54337,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":3986,"timestamp":2307957046423,"duration":54502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/pkcs7.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3984,"name":"read-resource","id":3985,"timestamp":2307957046419,"duration":54511,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":3984,"timestamp":2307957046412,"duration":54572,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/env.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3990,"name":"read-resource","id":3991,"timestamp":2307957046452,"duration":54696,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3540,"name":"build-module-js","id":3990,"timestamp":2307957046445,"duration":55160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bech32/index.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3988,"name":"read-resource","id":3989,"timestamp":2307957046440,"duration":55171,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3776,"name":"build-module-js","id":3988,"timestamp":2307957046434,"duration":56511,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/connection/v1/connection.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"read-resource","id":3993,"timestamp":2307957046464,"duration":56591,"tags":{},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3672,"name":"build-module-js","id":3992,"timestamp":2307957046457,"duration":57416,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha3.js"},"startTime":1664295730050},{"traceId":"1979f6cbb13579d5","parentId":3996,"name":"read-resource","id":3997,"timestamp":2307957047535,"duration":59346,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"build-module-js","id":3996,"timestamp":2307957047528,"duration":59954,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha256.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4000,"name":"read-resource","id":4001,"timestamp":2307957047554,"duration":59936,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3850,"name":"build-module-js","id":4000,"timestamp":2307957047548,"duration":60332,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/pbkdf2.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3998,"name":"read-resource","id":3999,"timestamp":2307957047545,"duration":60343,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3692,"name":"build-module-js","id":3998,"timestamp":2307957047538,"duration":61269,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/sha512.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3994,"name":"read-resource","id":3995,"timestamp":2307957047523,"duration":61292,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3678,"name":"build-module-js","id":3994,"timestamp":2307957047512,"duration":61786,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/ripemd160.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4004,"name":"read-resource","id":4005,"timestamp":2307957047577,"duration":61727,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4004,"timestamp":2307957047570,"duration":61809,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/interfaces.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4002,"name":"read-resource","id":4003,"timestamp":2307957047566,"duration":61818,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4002,"timestamp":2307957047558,"duration":61873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/handler.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4010,"name":"read-resource","id":4011,"timestamp":2307957047609,"duration":61829,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4010,"timestamp":2307957047602,"duration":61912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/error.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4008,"name":"read-resource","id":4009,"timestamp":2307957047598,"duration":61922,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4008,"timestamp":2307957047591,"duration":61996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/message.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4016,"name":"read-resource","id":4017,"timestamp":2307957047643,"duration":61948,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4016,"timestamp":2307957047637,"duration":62103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/crc32.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4014,"name":"read-resource","id":4015,"timestamp":2307957047633,"duration":62113,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4014,"timestamp":2307957047627,"duration":62231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/adler32.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4012,"name":"read-resource","id":4013,"timestamp":2307957047623,"duration":62306,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4012,"timestamp":2307957047615,"duration":62378,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/constant.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4018,"name":"read-resource","id":4019,"timestamp":2307957047653,"duration":62530,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4018,"timestamp":2307957047647,"duration":63077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inffast.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":4006,"name":"read-resource","id":4007,"timestamp":2307957047587,"duration":63142,"tags":{},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4006,"timestamp":2307957047580,"duration":63201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/types.js"},"startTime":1664295730051},{"traceId":"1979f6cbb13579d5","parentId":3888,"name":"build-module","id":4066,"timestamp":2307957113782,"duration":7,"tags":{"name":"undefined"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4020,"name":"read-resource","id":4021,"timestamp":2307957067480,"duration":46919,"tags":{},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3836,"name":"build-module-js","id":4020,"timestamp":2307957067449,"duration":47577,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/inftrees.js"},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":4022,"name":"read-resource","id":4023,"timestamp":2307957067503,"duration":47530,"tags":{},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3842,"name":"build-module-js","id":4022,"timestamp":2307957067493,"duration":49819,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/pako/lib/zlib/trees.js"},"startTime":1664295730071},{"traceId":"1979f6cbb13579d5","parentId":3926,"name":"build-module","id":4073,"timestamp":2307957117957,"duration":12,"tags":{"name":"undefined"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4024,"name":"read-resource","id":4025,"timestamp":2307957105749,"duration":14276,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":4024,"timestamp":2307957105710,"duration":14423,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/types.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4032,"name":"read-resource","id":4033,"timestamp":2307957105825,"duration":14319,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4032,"timestamp":2307957105817,"duration":14799,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/hmac.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4026,"name":"read-resource","id":4027,"timestamp":2307957105778,"duration":14846,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3826,"name":"build-module-js","id":4026,"timestamp":2307957105767,"duration":15001,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/crypto/dist/esm/helpers/validators.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4030,"name":"read-resource","id":4031,"timestamp":2307957105811,"duration":14963,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4030,"timestamp":2307957105803,"duration":16537,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/bip39.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4034,"name":"read-resource","id":4035,"timestamp":2307957105836,"duration":16512,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4034,"timestamp":2307957105829,"duration":16655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/keccak.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4036,"name":"read-resource","id":4037,"timestamp":2307957105849,"duration":16641,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4036,"timestamp":2307957105841,"duration":17132,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/libsodium.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4028,"name":"read-resource","id":4029,"timestamp":2307957105796,"duration":17195,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":4028,"timestamp":2307957105786,"duration":20807,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/confio/proofs.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4040,"name":"read-resource","id":4041,"timestamp":2307957105876,"duration":20730,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4040,"timestamp":2307957105870,"duration":20928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/ripemd.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4038,"name":"read-resource","id":4039,"timestamp":2307957105864,"duration":20941,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4038,"timestamp":2307957105856,"duration":21077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/random.js"},"startTime":1664295730109}] -[{"traceId":"1979f6cbb13579d5","parentId":4046,"name":"read-resource","id":4047,"timestamp":2307957105911,"duration":23390,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4046,"timestamp":2307957105904,"duration":23710,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/sha.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4048,"name":"read-resource","id":4049,"timestamp":2307957105923,"duration":23698,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4048,"timestamp":2307957105915,"duration":24493,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/slip10.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4044,"name":"read-resource","id":4045,"timestamp":2307957105899,"duration":24517,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4044,"timestamp":2307957105892,"duration":24935,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/secp256k1signature.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4042,"name":"read-resource","id":4043,"timestamp":2307957105888,"duration":25247,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3856,"name":"build-module-js","id":4042,"timestamp":2307957105881,"duration":25595,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/secp256k1.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"read-resource","id":4051,"timestamp":2307957105936,"duration":25564,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4050,"timestamp":2307957105928,"duration":25841,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/ics23.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4052,"name":"read-resource","id":4053,"timestamp":2307957105952,"duration":26241,"tags":{},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":3504,"name":"build-module-js","id":4052,"timestamp":2307957105945,"duration":37945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bn.js/lib/bn.js"},"startTime":1664295730109},{"traceId":"1979f6cbb13579d5","parentId":4056,"name":"read-resource","id":4057,"timestamp":2307957113726,"duration":32694,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"build-module-js","id":4056,"timestamp":2307957113717,"duration":33250,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/version/types.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4054,"name":"read-resource","id":4055,"timestamp":2307957113706,"duration":33269,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3832,"name":"build-module-js","id":4054,"timestamp":2307957113685,"duration":34251,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/crypto/proof.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4060,"name":"read-resource","id":4061,"timestamp":2307957113752,"duration":34193,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3800,"name":"build-module-js","id":4060,"timestamp":2307957113745,"duration":34779,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/ibc/core/commitment/v1/commitment.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4058,"name":"read-resource","id":4059,"timestamp":2307957113740,"duration":34792,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4058,"timestamp":2307957113732,"duration":35368,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/proofs.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4064,"name":"read-resource","id":4065,"timestamp":2307957113777,"duration":35330,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"build-module-js","id":4064,"timestamp":2307957113770,"duration":35448,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/jsonrpc.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4069,"name":"read-resource","id":4070,"timestamp":2307957113815,"duration":35408,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"build-module-js","id":4069,"timestamp":2307957113809,"duration":35675,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/cubic-bezier.es.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4062,"name":"read-resource","id":4063,"timestamp":2307957113765,"duration":35807,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3854,"name":"build-module-js","id":4062,"timestamp":2307957113757,"duration":42586,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/generated/codecimpl.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4067,"name":"read-resource","id":4068,"timestamp":2307957113801,"duration":42637,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3728,"name":"build-module-js","id":4067,"timestamp":2307957113794,"duration":42744,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/detect-node-es/esm/browser.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4071,"name":"read-resource","id":4072,"timestamp":2307957113826,"duration":42717,"tags":{},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":3886,"name":"build-module-js","id":4071,"timestamp":2307957113820,"duration":42848,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@motionone/easing/dist/steps.es.js"},"startTime":1664295730117},{"traceId":"1979f6cbb13579d5","parentId":4076,"name":"read-resource","id":4077,"timestamp":2307957118020,"duration":41329,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4076,"timestamp":2307957118009,"duration":41636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/writer_buffer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4074,"name":"read-resource","id":4075,"timestamp":2307957118000,"duration":41652,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4074,"timestamp":2307957117978,"duration":43028,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/writer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4082,"name":"read-resource","id":4083,"timestamp":2307957118053,"duration":42961,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4082,"timestamp":2307957118046,"duration":43044,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/rpc.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4078,"name":"read-resource","id":4079,"timestamp":2307957118032,"duration":43063,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4078,"timestamp":2307957118024,"duration":43725,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/reader.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4080,"name":"read-resource","id":4081,"timestamp":2307957118042,"duration":43712,"tags":{},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4080,"timestamp":2307957118035,"duration":43837,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/reader_buffer.js"},"startTime":1664295730121},{"traceId":"1979f6cbb13579d5","parentId":4084,"name":"read-resource","id":4085,"timestamp":2307957119140,"duration":43167,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4084,"timestamp":2307957119120,"duration":43248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/roots.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4092,"name":"read-resource","id":4093,"timestamp":2307957119199,"duration":43174,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4092,"timestamp":2307957119192,"duration":43752,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/utils.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4086,"name":"read-resource","id":4087,"timestamp":2307957119159,"duration":44120,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"build-module-js","id":4086,"timestamp":2307957119150,"duration":44247,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/jsonrpc.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4088,"name":"read-resource","id":4089,"timestamp":2307957119173,"duration":44230,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4088,"timestamp":2307957119164,"duration":44433,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_assert.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4090,"name":"read-resource","id":4091,"timestamp":2307957119187,"duration":44416,"tags":{},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":3992,"name":"build-module-js","id":4090,"timestamp":2307957119180,"duration":44886,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_u64.js"},"startTime":1664295730123},{"traceId":"1979f6cbb13579d5","parentId":4052,"name":"build-module","id":4140,"timestamp":2307957166116,"duration":12,"tags":{"name":"undefined"},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"read-resource","id":4097,"timestamp":2307957128867,"duration":37725,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3890,"name":"build-module-js","id":4096,"timestamp":2307957128855,"duration":39192,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/util/minimal.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4094,"name":"read-resource","id":4095,"timestamp":2307957128841,"duration":39216,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3828,"name":"build-module-js","id":4094,"timestamp":2307957128814,"duration":40177,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/wallet/index.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4104,"name":"read-resource","id":4105,"timestamp":2307957128922,"duration":40077,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4104,"timestamp":2307957128915,"duration":40371,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/error.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4102,"name":"read-resource","id":4103,"timestamp":2307957128911,"duration":40382,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4102,"timestamp":2307957128903,"duration":40534,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/constants.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4100,"name":"read-resource","id":4101,"timestamp":2307957128897,"duration":40546,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3910,"name":"build-module-js","id":4100,"timestamp":2307957128890,"duration":41592,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/evidence.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4106,"name":"read-resource","id":4107,"timestamp":2307957128936,"duration":41561,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4106,"timestamp":2307957128928,"duration":41724,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/env.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"read-resource","id":4099,"timestamp":2307957128881,"duration":41779,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4098,"timestamp":2307957128873,"duration":42301,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/mnemonic.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4110,"name":"read-resource","id":4111,"timestamp":2307957128963,"duration":42220,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4110,"timestamp":2307957128956,"duration":42400,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/routing.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4108,"name":"read-resource","id":4109,"timestamp":2307957128948,"duration":42415,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4108,"timestamp":2307957128941,"duration":42601,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/format.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4112,"name":"read-resource","id":4113,"timestamp":2307957128976,"duration":42658,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4112,"timestamp":2307957128969,"duration":42726,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/types.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4114,"name":"read-resource","id":4115,"timestamp":2307957128987,"duration":42713,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4114,"timestamp":2307957128981,"duration":42853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/url.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4116,"name":"read-resource","id":4117,"timestamp":2307957128999,"duration":42841,"tags":{},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":3906,"name":"build-module-js","id":4116,"timestamp":2307957128992,"duration":42959,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-utils/dist/esm/validators.js"},"startTime":1664295730132},{"traceId":"1979f6cbb13579d5","parentId":4120,"name":"read-resource","id":4121,"timestamp":2307957145336,"duration":29600,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3996,"name":"build-module-js","id":4120,"timestamp":2307957145327,"duration":30187,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/_sha2.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4122,"name":"read-resource","id":4123,"timestamp":2307957145351,"duration":30170,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4000,"name":"build-module-js","id":4122,"timestamp":2307957145342,"duration":30576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/hmac.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4126,"name":"read-resource","id":4127,"timestamp":2307957145377,"duration":30554,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4126,"timestamp":2307957145370,"duration":30751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/encoding/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4128,"name":"read-resource","id":4129,"timestamp":2307957145398,"duration":30883,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4128,"timestamp":2307957145390,"duration":31083,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/json-uint8-array/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"read-resource","id":4119,"timestamp":2307957145318,"duration":31161,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3680,"name":"build-module-js","id":4118,"timestamp":2307957145292,"duration":31290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4124,"name":"read-resource","id":4125,"timestamp":2307957145365,"duration":31222,"tags":{},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":3830,"name":"build-module-js","id":4124,"timestamp":2307957145357,"duration":31545,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/router/index.js"},"startTime":1664295730149},{"traceId":"1979f6cbb13579d5","parentId":4130,"name":"read-resource","id":4131,"timestamp":2307957158875,"duration":19680,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4130,"timestamp":2307957158848,"duration":20072,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/key.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4136,"name":"read-resource","id":4137,"timestamp":2307957158921,"duration":20006,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3972,"name":"build-module-js","id":4136,"timestamp":2307957158914,"duration":20100,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/focus-lock/dist/es2015/utils/tabbables.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4132,"name":"read-resource","id":4133,"timestamp":2307957158893,"duration":20126,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3924,"name":"build-module-js","id":4132,"timestamp":2307957158883,"duration":20246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/common/node_modules/@keplr-wallet/crypto/build/hash.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4134,"name":"read-resource","id":4135,"timestamp":2307957158907,"duration":20226,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3968,"name":"build-module-js","id":4134,"timestamp":2307957158900,"duration":20597,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/crypto/keys.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4138,"name":"read-resource","id":4139,"timestamp":2307957158933,"duration":20632,"tags":{},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":3918,"name":"build-module-js","id":4138,"timestamp":2307957158926,"duration":32501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/abci/types.js"},"startTime":1664295730162},{"traceId":"1979f6cbb13579d5","parentId":4141,"name":"read-resource","id":4142,"timestamp":2307957166162,"duration":29219,"tags":{},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":3674,"name":"build-module-js","id":4141,"timestamp":2307957166136,"duration":39380,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js"},"startTime":1664295730170},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"read-resource","id":4144,"timestamp":2307957174047,"duration":35538,"tags":{},"startTime":1664295730177},{"traceId":"1979f6cbb13579d5","parentId":3874,"name":"build-module-js","id":4143,"timestamp":2307957174018,"duration":35830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/index.js"},"startTime":1664295730177}] -[{"traceId":"1979f6cbb13579d5","parentId":4161,"name":"read-resource","id":4162,"timestamp":2307957210199,"duration":2,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-json","id":4161,"timestamp":2307957210190,"duration":376,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/package.json"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4145,"name":"read-resource","id":4146,"timestamp":2307957177616,"duration":34031,"tags":{},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4030,"name":"build-module-js","id":4145,"timestamp":2307957177593,"duration":34627,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/pbkdf2.js"},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4147,"name":"read-resource","id":4148,"timestamp":2307957177639,"duration":34588,"tags":{},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4034,"name":"build-module-js","id":4147,"timestamp":2307957177629,"duration":34685,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/crypto/build/utils.js"},"startTime":1664295730181},{"traceId":"1979f6cbb13579d5","parentId":4153,"name":"read-resource","id":4154,"timestamp":2307957193469,"duration":21316,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4092,"name":"build-module-js","id":4153,"timestamp":2307957193460,"duration":21446,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@noble/hashes/cryptoBrowser.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4151,"name":"read-resource","id":4152,"timestamp":2307957193454,"duration":21466,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"build-module-js","id":4151,"timestamp":2307957193442,"duration":21824,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/specs.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4149,"name":"read-resource","id":4150,"timestamp":2307957193430,"duration":21848,"tags":{},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4050,"name":"build-module-js","id":4149,"timestamp":2307957193397,"duration":22159,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/compress.js"},"startTime":1664295730197},{"traceId":"1979f6cbb13579d5","parentId":4155,"name":"read-resource","id":4156,"timestamp":2307957208295,"duration":8146,"tags":{},"startTime":1664295730212},{"traceId":"1979f6cbb13579d5","parentId":4058,"name":"build-module-js","id":4155,"timestamp":2307957208264,"duration":8581,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@confio/ics23/build/ops.js"},"startTime":1664295730212},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"read-resource","id":4158,"timestamp":2307957210169,"duration":7730,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"build-module-js","id":4157,"timestamp":2307957210151,"duration":7986,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/index.js"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"read-resource","id":4160,"timestamp":2307957210185,"duration":7959,"tags":{},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"build-module-js","id":4159,"timestamp":2307957210176,"duration":8102,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/index.js"},"startTime":1664295730214},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"read-resource","id":4168,"timestamp":2307957212776,"duration":7374,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3876,"name":"build-module-js","id":4167,"timestamp":2307957212767,"duration":7632,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"read-resource","id":4164,"timestamp":2307957212744,"duration":7662,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"build-module-js","id":4163,"timestamp":2307957212726,"duration":7810,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"read-resource","id":4166,"timestamp":2307957212762,"duration":7780,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3880,"name":"build-module-js","id":4165,"timestamp":2307957212752,"duration":8073,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"read-resource","id":4170,"timestamp":2307957212789,"duration":8041,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":3896,"name":"build-module-js","id":4169,"timestamp":2307957212781,"duration":8950,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/index.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4173,"name":"read-resource","id":4174,"timestamp":2307957212813,"duration":8938,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4094,"name":"build-module-js","id":4173,"timestamp":2307957212805,"duration":9088,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/types/build/wallet/keplr.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4171,"name":"read-resource","id":4172,"timestamp":2307957212801,"duration":9098,"tags":{},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4171,"timestamp":2307957212794,"duration":9944,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/util/longbits.js"},"startTime":1664295730216},{"traceId":"1979f6cbb13579d5","parentId":4175,"name":"read-resource","id":4176,"timestamp":2307957215723,"duration":8683,"tags":{},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4082,"name":"build-module-js","id":4175,"timestamp":2307957215708,"duration":9120,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/protobufjs/src/rpc/service.js"},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4177,"name":"read-resource","id":4178,"timestamp":2307957215740,"duration":9096,"tags":{},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4128,"name":"build-module-js","id":4177,"timestamp":2307957215731,"duration":9290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@keplr-wallet/router/build/json-uint8-array/hex.js"},"startTime":1664295730219},{"traceId":"1979f6cbb13579d5","parentId":4181,"name":"read-resource","id":4182,"timestamp":2307957217091,"duration":9190,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4181,"timestamp":2307957217082,"duration":9326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/split-on-first/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4179,"name":"read-resource","id":4180,"timestamp":2307957217070,"duration":9343,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4179,"timestamp":2307957217055,"duration":9616,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/decode-uri-component/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4183,"name":"read-resource","id":4184,"timestamp":2307957217103,"duration":9646,"tags":{},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":3882,"name":"build-module-js","id":4183,"timestamp":2307957217096,"duration":9733,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/strict-uri-encode/index.js"},"startTime":1664295730220},{"traceId":"1979f6cbb13579d5","parentId":4185,"name":"read-resource","id":4186,"timestamp":2307957217114,"duration":9722,"tags":{},"startTime":1664295730221},{"traceId":"1979f6cbb13579d5","parentId":4138,"name":"build-module-js","id":4185,"timestamp":2307957217107,"duration":10830,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cosmjs-types/tendermint/types/params.js"},"startTime":1664295730221},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"read-resource","id":4188,"timestamp":2307957219286,"duration":11561,"tags":{},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4187,"timestamp":2307957219268,"duration":12020,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/utils.js"},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"read-resource","id":4190,"timestamp":2307957219302,"duration":12006,"tags":{},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4189,"timestamp":2307957219293,"duration":12311,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curves.js"},"startTime":1664295730223},{"traceId":"1979f6cbb13579d5","parentId":4193,"name":"read-resource","id":4194,"timestamp":2307957223333,"duration":10254,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4193,"timestamp":2307957223323,"duration":10928,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/requests.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4191,"name":"read-resource","id":4192,"timestamp":2307957223312,"duration":10947,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4191,"timestamp":2307957223287,"duration":11222,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/hasher.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4195,"name":"read-resource","id":4196,"timestamp":2307957223347,"duration":11168,"tags":{},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4143,"name":"build-module-js","id":4195,"timestamp":2307957223339,"duration":12261,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.js"},"startTime":1664295730227},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"read-resource","id":4198,"timestamp":2307957225425,"duration":12301,"tags":{},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":3866,"name":"build-module-js","id":4197,"timestamp":2307957225409,"duration":16011,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/xstream/index.js"},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":4199,"name":"read-resource","id":4200,"timestamp":2307957225442,"duration":16000,"tags":{},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":3862,"name":"build-module-js","id":4199,"timestamp":2307957225434,"duration":16135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/index.js"},"startTime":1664295730229},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"read-resource","id":4202,"timestamp":2307957231805,"duration":15386,"tags":{},"startTime":1664295730235},{"traceId":"1979f6cbb13579d5","parentId":3676,"name":"build-module-js","id":4201,"timestamp":2307957231782,"duration":81614,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/crypto-browserify/index.js"},"startTime":1664295730235},{"traceId":"1979f6cbb13579d5","parentId":4205,"name":"read-resource","id":4206,"timestamp":2307957236573,"duration":78075,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4205,"timestamp":2307957236564,"duration":78471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/jsonrpcclient.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4209,"name":"read-resource","id":4210,"timestamp":2307957236603,"duration":78548,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4209,"timestamp":2307957236594,"duration":78681,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/types.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4203,"name":"read-resource","id":4204,"timestamp":2307957236553,"duration":78727,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4203,"timestamp":2307957236530,"duration":78832,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/id.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4217,"name":"read-resource","id":4218,"timestamp":2307957236656,"duration":78715,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4217,"timestamp":2307957236649,"duration":78907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/streamingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4207,"name":"read-resource","id":4208,"timestamp":2307957236587,"duration":78974,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4157,"name":"build-module-js","id":4207,"timestamp":2307957236580,"duration":79319,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/parse.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4211,"name":"read-resource","id":4212,"timestamp":2307957236617,"duration":80906,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4211,"timestamp":2307957236610,"duration":81452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/queueingstreamingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4213,"name":"read-resource","id":4214,"timestamp":2307957236630,"duration":81443,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4213,"timestamp":2307957236623,"duration":81718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/reconnectingsocket.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4215,"name":"read-resource","id":4216,"timestamp":2307957236643,"duration":81734,"tags":{},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4159,"name":"build-module-js","id":4215,"timestamp":2307957236636,"duration":82150,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/socket/build/socketwrapper.js"},"startTime":1664295730240},{"traceId":"1979f6cbb13579d5","parentId":4219,"name":"read-resource","id":4220,"timestamp":2307957242726,"duration":76942,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4219,"timestamp":2307957242702,"duration":77111,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/id.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4225,"name":"read-resource","id":4226,"timestamp":2307957243290,"duration":77035,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4225,"timestamp":2307957243279,"duration":77171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/types.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4223,"name":"read-resource","id":4224,"timestamp":2307957242759,"duration":77697,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4223,"timestamp":2307957242749,"duration":78048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/parse.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4221,"name":"read-resource","id":4222,"timestamp":2307957242744,"duration":78060,"tags":{},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4167,"name":"build-module-js","id":4221,"timestamp":2307957242735,"duration":78221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/jsonrpcclient.js"},"startTime":1664295730246},{"traceId":"1979f6cbb13579d5","parentId":4227,"name":"read-resource","id":4228,"timestamp":2307957243308,"duration":77653,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4227,"timestamp":2307957243300,"duration":78002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/queueingstreamingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4231,"name":"read-resource","id":4232,"timestamp":2307957243336,"duration":77974,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4231,"timestamp":2307957243329,"duration":78386,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/socketwrapper.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4229,"name":"read-resource","id":4230,"timestamp":2307957243320,"duration":78400,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4229,"timestamp":2307957243313,"duration":78644,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/reconnectingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4233,"name":"read-resource","id":4234,"timestamp":2307957243349,"duration":78615,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4163,"name":"build-module-js","id":4233,"timestamp":2307957243340,"duration":78767,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/socket/build/streamingsocket.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4235,"name":"read-resource","id":4236,"timestamp":2307957243361,"duration":78751,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4235,"timestamp":2307957243354,"duration":78942,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/concat.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4237,"name":"read-resource","id":4238,"timestamp":2307957243377,"duration":78925,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4237,"timestamp":2307957243370,"duration":79047,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/defaultvalueproducer.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4241,"name":"read-resource","id":4242,"timestamp":2307957243411,"duration":79011,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4241,"timestamp":2307957243402,"duration":79186,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/promise.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4239,"name":"read-resource","id":4240,"timestamp":2307957243387,"duration":79209,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4239,"timestamp":2307957243381,"duration":79293,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/dropduplicates.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4245,"name":"read-resource","id":4246,"timestamp":2307957243435,"duration":79244,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4245,"timestamp":2307957243428,"duration":79378,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/valueandupdates.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4247,"name":"read-resource","id":4248,"timestamp":2307957243447,"duration":79365,"tags":{},"startTime":1664295730247}] -[{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4247,"timestamp":2307957243440,"duration":79763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/hasher.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4243,"name":"read-resource","id":4244,"timestamp":2307957243423,"duration":79785,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4165,"name":"build-module-js","id":4243,"timestamp":2307957243416,"duration":79945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/stream/build/reducer.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4249,"name":"read-resource","id":4250,"timestamp":2307957243461,"duration":80473,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4249,"timestamp":2307957243454,"duration":80926,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/requests.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4251,"name":"read-resource","id":4252,"timestamp":2307957243473,"duration":80940,"tags":{},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4169,"name":"build-module-js","id":4251,"timestamp":2307957243466,"duration":82051,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.js"},"startTime":1664295730247},{"traceId":"1979f6cbb13579d5","parentId":4257,"name":"read-resource","id":4258,"timestamp":2307957245585,"duration":82756,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3940,"name":"build-module-js","id":4257,"timestamp":2307957245577,"duration":83016,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/safe-json/dist/esm/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4255,"name":"read-resource","id":4256,"timestamp":2307957245573,"duration":83044,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4255,"timestamp":2307957245565,"duration":84584,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/detect-browser/es/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4259,"name":"read-resource","id":4260,"timestamp":2307957245596,"duration":84642,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4259,"timestamp":2307957245589,"duration":84852,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/window-getters/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"read-resource","id":4254,"timestamp":2307957245557,"duration":85203,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3948,"name":"build-module-js","id":4253,"timestamp":2307957245538,"duration":85418,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4261,"name":"read-resource","id":4262,"timestamp":2307957245612,"duration":85352,"tags":{},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":3922,"name":"build-module-js","id":4261,"timestamp":2307957245605,"duration":85672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/window-metadata/dist/cjs/index.js"},"startTime":1664295730249},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"read-resource","id":4264,"timestamp":2307957317264,"duration":15906,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4263,"timestamp":2307957317233,"duration":16089,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"read-resource","id":4266,"timestamp":2307957317282,"duration":16046,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4265,"timestamp":2307957317273,"duration":16721,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"read-resource","id":4268,"timestamp":2307957317302,"duration":16699,"tags":{},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4267,"timestamp":2307957317292,"duration":17038,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/index.js"},"startTime":1664295730321},{"traceId":"1979f6cbb13579d5","parentId":4269,"name":"read-resource","id":4270,"timestamp":2307957320120,"duration":17857,"tags":{},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4193,"name":"build-module-js","id":4269,"timestamp":2307957320095,"duration":18097,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/inthelpers.js"},"startTime":1664295730323},{"traceId":"1979f6cbb13579d5","parentId":4271,"name":"read-resource","id":4272,"timestamp":2307957320138,"duration":18061,"tags":{},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4191,"name":"build-module-js","id":4271,"timestamp":2307957320128,"duration":18520,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/encodings.js"},"startTime":1664295730324},{"traceId":"1979f6cbb13579d5","parentId":4273,"name":"read-resource","id":4274,"timestamp":2307957326881,"duration":13970,"tags":{},"startTime":1664295730330},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"build-module-js","id":4273,"timestamp":2307957326858,"duration":14480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"},"startTime":1664295730330},{"traceId":"1979f6cbb13579d5","parentId":4275,"name":"read-resource","id":4276,"timestamp":2307957332559,"duration":10757,"tags":{},"startTime":1664295730336},{"traceId":"1979f6cbb13579d5","parentId":4118,"name":"build-module-js","id":4275,"timestamp":2307957332536,"duration":11052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/brorand/index.js"},"startTime":1664295730336},{"traceId":"1979f6cbb13579d5","parentId":4275,"name":"build-module","id":4305,"timestamp":2307957346175,"duration":6,"tags":{"name":"undefined"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"read-resource","id":4278,"timestamp":2307957340021,"duration":6358,"tags":{},"startTime":1664295730343},{"traceId":"1979f6cbb13579d5","parentId":4199,"name":"build-module-js","id":4277,"timestamp":2307957339999,"duration":6618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/axios.js"},"startTime":1664295730343},{"traceId":"1979f6cbb13579d5","parentId":4279,"name":"read-resource","id":4280,"timestamp":2307957342741,"duration":4460,"tags":{},"startTime":1664295730346},{"traceId":"1979f6cbb13579d5","parentId":4207,"name":"build-module-js","id":4279,"timestamp":2307957342726,"duration":4740,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/stargate/node_modules/@cosmjs/json-rpc/build/compatibility.js"},"startTime":1664295730346},{"traceId":"1979f6cbb13579d5","parentId":4281,"name":"read-resource","id":4282,"timestamp":2307957343870,"duration":6009,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4281,"timestamp":2307957343858,"duration":6201,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/aspromise/index.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4287,"name":"read-resource","id":4288,"timestamp":2307957343915,"duration":6149,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4249,"name":"build-module-js","id":4287,"timestamp":2307957343908,"duration":6322,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/inthelpers.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4283,"name":"read-resource","id":4284,"timestamp":2307957343887,"duration":6371,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4223,"name":"build-module-js","id":4283,"timestamp":2307957343878,"duration":7485,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/json-rpc/build/compatibility.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4285,"name":"read-resource","id":4286,"timestamp":2307957343901,"duration":7501,"tags":{},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4247,"name":"build-module-js","id":4285,"timestamp":2307957343894,"duration":7951,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@cosmjs/cosmwasm-stargate/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/encodings.js"},"startTime":1664295730347},{"traceId":"1979f6cbb13579d5","parentId":4289,"name":"read-resource","id":4290,"timestamp":2307957345502,"duration":8006,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4289,"timestamp":2307957345490,"duration":8450,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/base64/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4297,"name":"read-resource","id":4298,"timestamp":2307957345555,"duration":8457,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4297,"timestamp":2307957345548,"duration":8754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/utf8/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4293,"name":"read-resource","id":4294,"timestamp":2307957345530,"duration":8778,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4293,"timestamp":2307957345522,"duration":8945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/eventemitter/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4291,"name":"read-resource","id":4292,"timestamp":2307957345517,"duration":8956,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4291,"timestamp":2307957345509,"duration":9580,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/float/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4295,"name":"read-resource","id":4296,"timestamp":2307957345543,"duration":9552,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4295,"timestamp":2307957345535,"duration":9775,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/inquire/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4301,"name":"read-resource","id":4302,"timestamp":2307957345579,"duration":9795,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"build-module-js","id":4301,"timestamp":2307957345572,"duration":9925,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/crypto.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4299,"name":"read-resource","id":4300,"timestamp":2307957345567,"duration":9935,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4096,"name":"build-module-js","id":4299,"timestamp":2307957345561,"duration":10034,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@protobufjs/pool/index.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4303,"name":"read-resource","id":4304,"timestamp":2307957345593,"duration":10008,"tags":{},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4253,"name":"build-module-js","id":4303,"timestamp":2307957345585,"duration":10121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/environment/dist/cjs/env.js"},"startTime":1664295730349},{"traceId":"1979f6cbb13579d5","parentId":4310,"name":"read-resource","id":4311,"timestamp":2307957346226,"duration":13144,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4310,"timestamp":2307957346219,"duration":15405,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/short.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4312,"name":"read-resource","id":4313,"timestamp":2307957346242,"duration":15391,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4312,"timestamp":2307957346235,"duration":15853,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/mont.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4316,"name":"read-resource","id":4317,"timestamp":2307957346270,"duration":15827,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4316,"timestamp":2307957346264,"duration":16121,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/key.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4318,"name":"read-resource","id":4319,"timestamp":2307957346287,"duration":16103,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4318,"timestamp":2307957346280,"duration":16629,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/ec/signature.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"read-resource","id":4307,"timestamp":2307957346195,"duration":16721,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4112,"name":"build-module-js","id":4306,"timestamp":2307957346186,"duration":16849,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/index.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4314,"name":"read-resource","id":4315,"timestamp":2307957346258,"duration":16783,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4314,"timestamp":2307957346251,"duration":17784,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/edwards.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4308,"name":"read-resource","id":4309,"timestamp":2307957346213,"duration":17831,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4263,"name":"build-module-js","id":4308,"timestamp":2307957346202,"duration":18728,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/curve/base.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4320,"name":"read-resource","id":4321,"timestamp":2307957346306,"duration":18630,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"build-module-js","id":4320,"timestamp":2307957346298,"duration":18864,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/key.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4322,"name":"read-resource","id":4323,"timestamp":2307957346320,"duration":18897,"tags":{},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4267,"name":"build-module-js","id":4322,"timestamp":2307957346313,"duration":19066,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/elliptic/lib/elliptic/eddsa/signature.js"},"startTime":1664295730350},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"read-resource","id":4325,"timestamp":2307957352399,"duration":17509,"tags":{},"startTime":1664295730356},{"traceId":"1979f6cbb13579d5","parentId":4141,"name":"build-module-js","id":4324,"timestamp":2307957352373,"duration":99984,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/libsodium/dist/modules/libsodium.js"},"startTime":1664295730356},{"traceId":"1979f6cbb13579d5","parentId":4326,"name":"read-resource","id":4327,"timestamp":2307957357582,"duration":96066,"tags":{},"startTime":1664295730361},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"build-module-js","id":4326,"timestamp":2307957357542,"duration":96245,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/symbol-observable/ponyfill.js"},"startTime":1664295730361},{"traceId":"1979f6cbb13579d5","parentId":4328,"name":"read-resource","id":4329,"timestamp":2307957366365,"duration":88779,"tags":{},"startTime":1664295730370},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"build-module-js","id":4328,"timestamp":2307957366343,"duration":88969,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/minimalistic-assert/index.js"},"startTime":1664295730370},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"build-module","id":4332,"timestamp":2307957455407,"duration":8,"tags":{"name":"undefined"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4330,"name":"read-resource","id":4331,"timestamp":2307957452742,"duration":4545,"tags":{},"startTime":1664295730456},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4330,"timestamp":2307957452707,"duration":5501,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/utils.js"},"startTime":1664295730456},{"traceId":"1979f6cbb13579d5","parentId":4337,"name":"read-resource","id":4338,"timestamp":2307957455471,"duration":3529,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4337,"timestamp":2307957455464,"duration":3636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/spread.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4333,"name":"read-resource","id":4334,"timestamp":2307957455442,"duration":3664,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4333,"timestamp":2307957455421,"duration":3773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/bind.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4339,"name":"read-resource","id":4340,"timestamp":2307957455484,"duration":3718,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4339,"timestamp":2307957455477,"duration":3794,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isAxiosError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"read-resource","id":4342,"timestamp":2307957455500,"duration":3775,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4341,"timestamp":2307957455491,"duration":4158,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/Axios.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4345,"name":"read-resource","id":4346,"timestamp":2307957455525,"duration":4129,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4345,"timestamp":2307957455517,"duration":4306,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/AxiosError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4347,"name":"read-resource","id":4348,"timestamp":2307957455537,"duration":4290,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4347,"timestamp":2307957455529,"duration":4373,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/CanceledError.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4351,"name":"read-resource","id":4352,"timestamp":2307957455560,"duration":4347,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4351,"timestamp":2307957455553,"duration":4399,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/isCancel.js"},"startTime":1664295730459}] -[{"traceId":"1979f6cbb13579d5","parentId":4349,"name":"read-resource","id":4350,"timestamp":2307957455549,"duration":4539,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4349,"timestamp":2307957455541,"duration":4751,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/cancel/CancelToken.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4335,"name":"read-resource","id":4336,"timestamp":2307957455459,"duration":4837,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4335,"timestamp":2307957455449,"duration":5038,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/toFormData.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4353,"name":"read-resource","id":4354,"timestamp":2307957455571,"duration":4920,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4353,"timestamp":2307957455564,"duration":4968,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/env/data.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4343,"name":"read-resource","id":4344,"timestamp":2307957455512,"duration":5024,"tags":{},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4343,"timestamp":2307957455505,"duration":5221,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/mergeConfig.js"},"startTime":1664295730459},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"read-resource","id":4360,"timestamp":2307957456827,"duration":5461,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4197,"name":"build-module-js","id":4359,"timestamp":2307957456821,"duration":5576,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/index.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4357,"name":"read-resource","id":4358,"timestamp":2307957456816,"duration":5586,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4187,"name":"build-module-js","id":4357,"timestamp":2307957456809,"duration":5787,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/minimalistic-crypto-utils/lib/utils.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"read-resource","id":4356,"timestamp":2307957456802,"duration":5800,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4189,"name":"build-module-js","id":4355,"timestamp":2307957456791,"duration":5893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4361,"name":"read-resource","id":4362,"timestamp":2307957456840,"duration":5849,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4361,"timestamp":2307957456832,"duration":5889,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/jsonrpc.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4363,"name":"read-resource","id":4364,"timestamp":2307957456854,"duration":5935,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4363,"timestamp":2307957456845,"duration":6022,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/misc.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4365,"name":"read-resource","id":4366,"timestamp":2307957456864,"duration":6008,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4365,"timestamp":2307957456858,"duration":6135,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/provider.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4367,"name":"read-resource","id":4368,"timestamp":2307957456875,"duration":6123,"tags":{},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4306,"name":"build-module-js","id":4367,"timestamp":2307957456868,"duration":6160,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@walletconnect/jsonrpc-types/dist/esm/validator.js"},"startTime":1664295730460},{"traceId":"1979f6cbb13579d5","parentId":4371,"name":"read-resource","id":4372,"timestamp":2307957458340,"duration":5334,"tags":{},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4371,"timestamp":2307957458332,"duration":5434,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58check/index.js"},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"read-resource","id":4370,"timestamp":2307957458324,"duration":5463,"tags":{},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4130,"name":"build-module-js","id":4369,"timestamp":2307957458309,"duration":5970,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/index.js"},"startTime":1664295730462},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"read-resource","id":4376,"timestamp":2307957461056,"duration":5519,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4132,"name":"build-module-js","id":4375,"timestamp":2307957461047,"duration":5711,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4377,"name":"read-resource","id":4378,"timestamp":2307957461070,"duration":5695,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4377,"timestamp":2307957461061,"duration":5801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"read-resource","id":4374,"timestamp":2307957461040,"duration":5827,"tags":{},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4098,"name":"build-module-js","id":4373,"timestamp":2307957461021,"duration":6425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/index.js"},"startTime":1664295730464},{"traceId":"1979f6cbb13579d5","parentId":4379,"name":"read-resource","id":4380,"timestamp":2307957463349,"duration":7898,"tags":{},"startTime":1664295730467},{"traceId":"1979f6cbb13579d5","parentId":4326,"name":"build-module-js","id":4379,"timestamp":2307957463333,"duration":8087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/symbol-observable/lib/ponyfill.js"},"startTime":1664295730467},{"traceId":"1979f6cbb13579d5","parentId":4381,"name":"read-resource","id":4382,"timestamp":2307957465273,"duration":7331,"tags":{},"startTime":1664295730469},{"traceId":"1979f6cbb13579d5","parentId":4265,"name":"build-module-js","id":4381,"timestamp":2307957465259,"duration":7732,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hmac-drbg/lib/hmac-drbg.js"},"startTime":1664295730469},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"read-resource","id":4384,"timestamp":2307957469348,"duration":5235,"tags":{},"startTime":1664295730473},{"traceId":"1979f6cbb13579d5","parentId":4277,"name":"build-module-js","id":4383,"timestamp":2307957469327,"duration":5682,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/defaults/index.js"},"startTime":1664295730473},{"traceId":"1979f6cbb13579d5","parentId":4387,"name":"read-resource","id":4388,"timestamp":2307957470671,"duration":6158,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4387,"timestamp":2307957470662,"duration":6420,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/InterceptorManager.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4385,"name":"read-resource","id":4386,"timestamp":2307957470656,"duration":6434,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4385,"timestamp":2307957470642,"duration":6754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/buildURL.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4393,"name":"read-resource","id":4394,"timestamp":2307957470712,"duration":6696,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4393,"timestamp":2307957470705,"duration":6979,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/validator.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4389,"name":"read-resource","id":4390,"timestamp":2307957470684,"duration":7007,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4389,"timestamp":2307957470675,"duration":7211,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/dispatchRequest.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"read-resource","id":4392,"timestamp":2307957470699,"duration":7193,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4341,"name":"build-module-js","id":4391,"timestamp":2307957470691,"duration":7273,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/buildFullPath.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4395,"name":"read-resource","id":4396,"timestamp":2307957470726,"duration":7807,"tags":{},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4395,"timestamp":2307957470716,"duration":7924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/implementation.browser.js"},"startTime":1664295730474},{"traceId":"1979f6cbb13579d5","parentId":4397,"name":"read-resource","id":4398,"timestamp":2307957473654,"duration":8440,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4215,"name":"build-module-js","id":4397,"timestamp":2307957473639,"duration":8718,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/isomorphic-ws/browser.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4401,"name":"read-resource","id":4402,"timestamp":2307957473682,"duration":8698,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4401,"timestamp":2307957473674,"duration":8867,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/shim.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4399,"name":"read-resource","id":4400,"timestamp":2307957473668,"duration":8881,"tags":{},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4399,"timestamp":2307957473660,"duration":8977,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/globalthis/polyfill.js"},"startTime":1664295730477},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"read-resource","id":4404,"timestamp":2307957475334,"duration":8019,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4371,"name":"build-module-js","id":4403,"timestamp":2307957475312,"duration":8323,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58check/base.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4409,"name":"read-resource","id":4410,"timestamp":2307957475380,"duration":8266,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4409,"timestamp":2307957475373,"duration":8566,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/lib-typedarrays.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4411,"name":"read-resource","id":4412,"timestamp":2307957475396,"duration":8553,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4411,"timestamp":2307957475386,"duration":9821,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-utf16.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4417,"name":"read-resource","id":4418,"timestamp":2307957475431,"duration":9789,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4417,"timestamp":2307957475425,"duration":10716,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/md5.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4407,"name":"read-resource","id":4408,"timestamp":2307957475367,"duration":10793,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4407,"timestamp":2307957475359,"duration":11095,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/x64-core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4405,"name":"read-resource","id":4406,"timestamp":2307957475353,"duration":11109,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4405,"timestamp":2307957475343,"duration":11994,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4419,"name":"read-resource","id":4420,"timestamp":2307957475444,"duration":11903,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4419,"timestamp":2307957475437,"duration":12210,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha1.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4423,"name":"read-resource","id":4424,"timestamp":2307957475466,"duration":12186,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4423,"timestamp":2307957475459,"duration":12326,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha224.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4421,"name":"read-resource","id":4422,"timestamp":2307957475455,"duration":12336,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4421,"timestamp":2307957475448,"duration":13850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha256.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4427,"name":"read-resource","id":4428,"timestamp":2307957475494,"duration":13826,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4427,"timestamp":2307957475487,"duration":14018,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha384.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4425,"name":"read-resource","id":4426,"timestamp":2307957475482,"duration":14030,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4425,"timestamp":2307957475473,"duration":17453,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha512.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4431,"name":"read-resource","id":4432,"timestamp":2307957475518,"duration":17433,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4431,"timestamp":2307957475511,"duration":18419,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/ripemd160.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4429,"name":"read-resource","id":4430,"timestamp":2307957475506,"duration":18436,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4429,"timestamp":2307957475500,"duration":19078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/sha3.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4415,"name":"read-resource","id":4416,"timestamp":2307957475420,"duration":19167,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4415,"timestamp":2307957475413,"duration":19494,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-base64url.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4435,"name":"read-resource","id":4436,"timestamp":2307957475542,"duration":19553,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4435,"timestamp":2307957475536,"duration":20213,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pbkdf2.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4413,"name":"read-resource","id":4414,"timestamp":2307957475409,"duration":20349,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4413,"timestamp":2307957475401,"duration":20636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/enc-base64.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4437,"name":"read-resource","id":4438,"timestamp":2307957475555,"duration":20488,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4437,"timestamp":2307957475549,"duration":20693,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/evpkdf.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4433,"name":"read-resource","id":4434,"timestamp":2307957475530,"duration":20718,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4433,"timestamp":2307957475524,"duration":20924,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/hmac.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4441,"name":"read-resource","id":4442,"timestamp":2307957475577,"duration":20876,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4441,"timestamp":2307957475571,"duration":21052,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-cfb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4439,"name":"read-resource","id":4440,"timestamp":2307957475565,"duration":21063,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4439,"timestamp":2307957475559,"duration":21945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/cipher-core.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4443,"name":"read-resource","id":4444,"timestamp":2307957475589,"duration":21925,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4443,"timestamp":2307957475583,"duration":22090,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ctr.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4451,"name":"read-resource","id":4452,"timestamp":2307957475639,"duration":22045,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4451,"timestamp":2307957475632,"duration":22172,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-ansix923.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4449,"name":"read-resource","id":4450,"timestamp":2307957475627,"duration":22183,"tags":{},"startTime":1664295730479}] -[{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4449,"timestamp":2307957475621,"duration":22683,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ecb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4445,"name":"read-resource","id":4446,"timestamp":2307957475602,"duration":22708,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4445,"timestamp":2307957475595,"duration":22913,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ctr-gladman.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4455,"name":"read-resource","id":4456,"timestamp":2307957475662,"duration":22852,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4455,"timestamp":2307957475656,"duration":22955,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-iso97971.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4453,"name":"read-resource","id":4454,"timestamp":2307957475651,"duration":22965,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4453,"timestamp":2307957475644,"duration":23076,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-iso10126.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4447,"name":"read-resource","id":4448,"timestamp":2307957475615,"duration":23110,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4447,"timestamp":2307957475608,"duration":23231,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/mode-ofb.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4459,"name":"read-resource","id":4460,"timestamp":2307957475690,"duration":23155,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4459,"timestamp":2307957475684,"duration":23237,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-nopadding.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4461,"name":"read-resource","id":4462,"timestamp":2307957475701,"duration":23224,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4461,"timestamp":2307957475694,"duration":23330,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/format-hex.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4463,"name":"read-resource","id":4464,"timestamp":2307957475713,"duration":23316,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4463,"timestamp":2307957475707,"duration":23865,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/aes.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4465,"name":"read-resource","id":4466,"timestamp":2307957475726,"duration":23851,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4465,"timestamp":2307957475719,"duration":24978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/tripledes.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4457,"name":"read-resource","id":4458,"timestamp":2307957475677,"duration":25037,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4457,"timestamp":2307957475671,"duration":25256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/pad-zeropadding.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4467,"name":"read-resource","id":4468,"timestamp":2307957475736,"duration":27666,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4467,"timestamp":2307957475730,"duration":28143,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rc4.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4469,"name":"read-resource","id":4470,"timestamp":2307957475748,"duration":28145,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4469,"timestamp":2307957475742,"duration":28692,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rabbit.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4471,"name":"read-resource","id":4472,"timestamp":2307957475762,"duration":28717,"tags":{},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4369,"name":"build-module-js","id":4471,"timestamp":2307957475756,"duration":29325,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/crypto-js/rabbit-legacy.js"},"startTime":1664295730479},{"traceId":"1979f6cbb13579d5","parentId":4475,"name":"read-resource","id":4476,"timestamp":2307957479633,"duration":27760,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4475,"timestamp":2307957479623,"duration":28593,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/utils.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"read-resource","id":4474,"timestamp":2307957479614,"duration":28615,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4473,"timestamp":2307957479590,"duration":29873,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/util.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4481,"name":"read-resource","id":4482,"timestamp":2307957479671,"duration":29804,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4481,"timestamp":2307957479664,"duration":30258,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/ripemd.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"read-resource","id":4480,"timestamp":2307957479659,"duration":30274,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4479,"timestamp":2307957479652,"duration":30356,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4477,"name":"read-resource","id":4478,"timestamp":2307957479647,"duration":30368,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4477,"timestamp":2307957479639,"duration":30763,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/common.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4485,"name":"read-resource","id":4486,"timestamp":2307957479694,"duration":30715,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4485,"timestamp":2307957479687,"duration":31031,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4487,"name":"read-resource","id":4488,"timestamp":2307957479706,"duration":31018,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4487,"timestamp":2307957479700,"duration":31271,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha1.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4483,"name":"read-resource","id":4484,"timestamp":2307957479682,"duration":31294,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4355,"name":"build-module-js","id":4483,"timestamp":2307957479675,"duration":31452,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/hmac.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4489,"name":"read-resource","id":4490,"timestamp":2307957479717,"duration":31415,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4489,"timestamp":2307957479711,"duration":31547,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha224.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4491,"name":"read-resource","id":4492,"timestamp":2307957479728,"duration":31534,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4491,"timestamp":2307957479722,"duration":31842,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha256.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4493,"name":"read-resource","id":4494,"timestamp":2307957479740,"duration":31830,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4493,"timestamp":2307957479733,"duration":31978,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha384.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4495,"name":"read-resource","id":4496,"timestamp":2307957479755,"duration":32295,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4375,"name":"build-module-js","id":4495,"timestamp":2307957479748,"duration":33048,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/sha512.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"read-resource","id":4498,"timestamp":2307957479766,"duration":33041,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4377,"name":"build-module-js","id":4497,"timestamp":2307957479760,"duration":33900,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/bip32.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"read-resource","id":4500,"timestamp":2307957479780,"duration":33887,"tags":{},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4499,"timestamp":2307957479774,"duration":34078,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/_wordlists.js"},"startTime":1664295730483},{"traceId":"1979f6cbb13579d5","parentId":4405,"name":"build-module","id":4505,"timestamp":2307957514966,"duration":15,"tags":{"name":"undefined"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4501,"name":"read-resource","id":4502,"timestamp":2307957481968,"duration":34290,"tags":{},"startTime":1664295730485},{"traceId":"1979f6cbb13579d5","parentId":4310,"name":"build-module-js","id":4501,"timestamp":2307957481950,"duration":34489,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/inherits/inherits_browser.js"},"startTime":1664295730485},{"traceId":"1979f6cbb13579d5","parentId":4503,"name":"read-resource","id":4504,"timestamp":2307957482839,"duration":33751,"tags":{},"startTime":1664295730486},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4503,"timestamp":2307957482815,"duration":34425,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/string_decoder/lib/string_decoder.js"},"startTime":1664295730486},{"traceId":"1979f6cbb13579d5","parentId":4506,"name":"read-resource","id":4507,"timestamp":2307957515027,"duration":5395,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4506,"timestamp":2307957514991,"duration":5656,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/normalizeHeaderName.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4508,"name":"read-resource","id":4509,"timestamp":2307957515051,"duration":6047,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4508,"timestamp":2307957515040,"duration":6129,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/defaults/transitional.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4510,"name":"read-resource","id":4511,"timestamp":2307957515066,"duration":6109,"tags":{},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4510,"timestamp":2307957515057,"duration":6171,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/null.js"},"startTime":1664295730518},{"traceId":"1979f6cbb13579d5","parentId":4514,"name":"read-resource","id":4515,"timestamp":2307957517869,"duration":5302,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4389,"name":"build-module-js","id":4514,"timestamp":2307957517859,"duration":5579,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/transformData.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4516,"name":"read-resource","id":4517,"timestamp":2307957517882,"duration":5564,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"build-module-js","id":4516,"timestamp":2307957517874,"duration":5672,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isAbsoluteURL.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"read-resource","id":4519,"timestamp":2307957517894,"duration":5659,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4383,"name":"build-module-js","id":4518,"timestamp":2307957517887,"duration":6156,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/adapters/xhr.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4512,"name":"read-resource","id":4513,"timestamp":2307957517853,"duration":6197,"tags":{},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4391,"name":"build-module-js","id":4512,"timestamp":2307957517832,"duration":6296,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/combineURLs.js"},"startTime":1664295730521},{"traceId":"1979f6cbb13579d5","parentId":4526,"name":"read-resource","id":4527,"timestamp":2307957524710,"duration":2900,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4526,"timestamp":2307957524702,"duration":3663,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/chinese_traditional.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4522,"name":"read-resource","id":4523,"timestamp":2307957524676,"duration":3702,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4522,"timestamp":2307957524666,"duration":4178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/czech.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4524,"name":"read-resource","id":4525,"timestamp":2307957524691,"duration":4160,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4524,"timestamp":2307957524683,"duration":4506,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/chinese_simplified.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4520,"name":"read-resource","id":4521,"timestamp":2307957524657,"duration":4537,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4485,"name":"build-module-js","id":4520,"timestamp":2307957524631,"duration":4914,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/sha.js/hash.js"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4528,"name":"read-resource","id":4529,"timestamp":2307957524729,"duration":4822,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4528,"timestamp":2307957524721,"duration":5499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/korean.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4530,"name":"read-resource","id":4531,"timestamp":2307957524742,"duration":5484,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4530,"timestamp":2307957524735,"duration":8075,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/french.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4532,"name":"read-resource","id":4533,"timestamp":2307957524755,"duration":8072,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4532,"timestamp":2307957524748,"duration":8366,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/italian.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4534,"name":"read-resource","id":4535,"timestamp":2307957524775,"duration":8345,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4534,"timestamp":2307957524767,"duration":8704,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/spanish.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4540,"name":"read-resource","id":4541,"timestamp":2307957524826,"duration":8651,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4540,"timestamp":2307957524819,"duration":8934,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/english.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4536,"name":"read-resource","id":4537,"timestamp":2307957524791,"duration":9286,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4536,"timestamp":2307957524783,"duration":9770,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/japanese.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4538,"name":"read-resource","id":4539,"timestamp":2307957524808,"duration":10938,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4499,"name":"build-module-json","id":4538,"timestamp":2307957524801,"duration":11365,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip39/src/wordlists/portuguese.json"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4542,"name":"read-resource","id":4543,"timestamp":2307957524840,"duration":11625,"tags":{},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4542,"timestamp":2307957524833,"duration":11850,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bip32/src/crypto.js"},"startTime":1664295730528},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"read-resource","id":4545,"timestamp":2307957526857,"duration":10346,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4544,"timestamp":2307957526829,"duration":10720,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hash/browser.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4548,"name":"read-resource","id":4549,"timestamp":2307957526884,"duration":10692,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4548,"timestamp":2307957526877,"duration":11125,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/1.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4552,"name":"read-resource","id":4553,"timestamp":2307957526903,"duration":11110,"tags":{},"startTime":1664295730530}] -[{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4552,"timestamp":2307957526897,"duration":11633,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/256.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4546,"name":"read-resource","id":4547,"timestamp":2307957526873,"duration":11664,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"build-module-js","id":4546,"timestamp":2307957526863,"duration":11754,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/support/isBufferBrowser.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4550,"name":"read-resource","id":4551,"timestamp":2307957526894,"duration":11728,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4550,"timestamp":2307957526887,"duration":11839,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/224.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4556,"name":"read-resource","id":4557,"timestamp":2307957526922,"duration":11809,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4556,"timestamp":2307957526916,"duration":11912,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/384.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"read-resource","id":4559,"timestamp":2307957526932,"duration":11901,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4359,"name":"build-module-js","id":4558,"timestamp":2307957526925,"duration":12077,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/define-properties/index.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4554,"name":"read-resource","id":4555,"timestamp":2307957526913,"duration":12095,"tags":{},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4479,"name":"build-module-js","id":4554,"timestamp":2307957526907,"duration":12765,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/512.js"},"startTime":1664295730530},{"traceId":"1979f6cbb13579d5","parentId":4564,"name":"read-resource","id":4565,"timestamp":2307957535577,"duration":7164,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4564,"timestamp":2307957535570,"duration":7445,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/parseHeaders.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4560,"name":"read-resource","id":4561,"timestamp":2307957535548,"duration":7475,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4560,"timestamp":2307957535521,"duration":7608,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/core/settle.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4562,"name":"read-resource","id":4563,"timestamp":2307957535564,"duration":7700,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4562,"timestamp":2307957535555,"duration":7887,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/cookies.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4566,"name":"read-resource","id":4567,"timestamp":2307957535590,"duration":7991,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4566,"timestamp":2307957535583,"duration":8280,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/isURLSameOrigin.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4568,"name":"read-resource","id":4569,"timestamp":2307957535606,"duration":8267,"tags":{},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4518,"name":"build-module-js","id":4568,"timestamp":2307957535599,"duration":8372,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/axios/lib/helpers/parseProtocol.js"},"startTime":1664295730539},{"traceId":"1979f6cbb13579d5","parentId":4570,"name":"read-resource","id":4571,"timestamp":2307957541772,"duration":4189,"tags":{},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4570,"timestamp":2307957541746,"duration":4952,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/vm-browserify/index.js"},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4572,"name":"read-resource","id":4573,"timestamp":2307957541790,"duration":5295,"tags":{},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4201,"name":"build-module-js","id":4572,"timestamp":2307957541780,"duration":13448,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/stream-browserify/index.js"},"startTime":1664295730545},{"traceId":"1979f6cbb13579d5","parentId":4574,"name":"read-resource","id":4575,"timestamp":2307957545271,"duration":12620,"tags":{},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"build-module-js","id":4574,"timestamp":2307957545247,"duration":12801,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/bs58/index.js"},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4576,"name":"read-resource","id":4577,"timestamp":2307957545291,"duration":12860,"tags":{},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4403,"name":"build-module-js","id":4576,"timestamp":2307957545282,"duration":13093,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/safe-buffer/index.js"},"startTime":1664295730549},{"traceId":"1979f6cbb13579d5","parentId":4578,"name":"read-resource","id":4579,"timestamp":2307957546838,"duration":13533,"tags":{},"startTime":1664295730550},{"traceId":"1979f6cbb13579d5","parentId":4548,"name":"build-module-js","id":4578,"timestamp":2307957546816,"duration":13861,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash.js/lib/hash/sha/common.js"},"startTime":1664295730550},{"traceId":"1979f6cbb13579d5","parentId":4580,"name":"read-resource","id":4581,"timestamp":2307957555615,"duration":5461,"tags":{},"startTime":1664295730559},{"traceId":"1979f6cbb13579d5","parentId":4324,"name":"build-module-js","id":4580,"timestamp":2307957555576,"duration":6655,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/path-browserify/index.js"},"startTime":1664295730559},{"traceId":"1979f6cbb13579d5","parentId":4582,"name":"read-resource","id":4583,"timestamp":2307957557339,"duration":4996,"tags":{},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4582,"timestamp":2307957557320,"duration":5210,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/randombytes/browser.js"},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"read-resource","id":4585,"timestamp":2307957557358,"duration":5179,"tags":{},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4373,"name":"build-module-js","id":4584,"timestamp":2307957557349,"duration":5248,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/browser.js"},"startTime":1664295730561},{"traceId":"1979f6cbb13579d5","parentId":4586,"name":"read-resource","id":4587,"timestamp":2307957561024,"duration":3517,"tags":{},"startTime":1664295730564},{"traceId":"1979f6cbb13579d5","parentId":4473,"name":"build-module-js","id":4586,"timestamp":2307957560998,"duration":3727,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util/node_modules/inherits/inherits_browser.js"},"startTime":1664295730564},{"traceId":"1979f6cbb13579d5","parentId":4588,"name":"read-resource","id":4589,"timestamp":2307957565790,"duration":677,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4588,"timestamp":2307957565762,"duration":946,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/wif/index.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"read-resource","id":4591,"timestamp":2307957565806,"duration":925,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4590,"timestamp":2307957565797,"duration":1500,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/index.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4592,"name":"read-resource","id":4593,"timestamp":2307957565819,"duration":1490,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4497,"name":"build-module-js","id":4592,"timestamp":2307957565812,"duration":2170,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-secp256k1/js.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"read-resource","id":4597,"timestamp":2307957565938,"duration":4281,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"build-module-js","id":4596,"timestamp":2307957565930,"duration":4797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/sync-browser.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4594,"name":"read-resource","id":4595,"timestamp":2307957565922,"duration":4816,"tags":{},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4584,"name":"build-module-js","id":4594,"timestamp":2307957565914,"duration":5167,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/async.js"},"startTime":1664295730569},{"traceId":"1979f6cbb13579d5","parentId":4598,"name":"read-resource","id":4599,"timestamp":2307957566263,"duration":5899,"tags":{},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"build-module-js","id":4598,"timestamp":2307957566219,"duration":6178,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-property-descriptors/index.js"},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"read-resource","id":4601,"timestamp":2307957566282,"duration":6122,"tags":{},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4558,"name":"build-module-js","id":4600,"timestamp":2307957566272,"duration":6290,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/index.js"},"startTime":1664295730570},{"traceId":"1979f6cbb13579d5","parentId":4606,"name":"read-resource","id":4607,"timestamp":2307957573950,"duration":930,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4606,"timestamp":2307957573943,"duration":1103,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/native.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4604,"name":"read-resource","id":4605,"timestamp":2307957573937,"duration":1114,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4604,"timestamp":2307957573928,"duration":1471,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/errors.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4602,"name":"read-resource","id":4603,"timestamp":2307957573920,"duration":1625,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4542,"name":"build-module-js","id":4602,"timestamp":2307957573892,"duration":1907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hmac/browser.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4608,"name":"read-resource","id":4609,"timestamp":2307957573964,"duration":1840,"tags":{},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4590,"name":"build-module-js","id":4608,"timestamp":2307957573957,"duration":2139,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/typeforce/extra.js"},"startTime":1664295730577},{"traceId":"1979f6cbb13579d5","parentId":4614,"name":"read-resource","id":4615,"timestamp":2307957574332,"duration":1819,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4592,"name":"build-module-js","id":4614,"timestamp":2307957574324,"duration":2004,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/tiny-secp256k1/rfc6979.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4612,"name":"read-resource","id":4613,"timestamp":2307957574319,"duration":3886,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4612,"timestamp":2307957574311,"duration":4299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/cipher-base/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4610,"name":"read-resource","id":4611,"timestamp":2307957574305,"duration":4313,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4610,"timestamp":2307957574297,"duration":4893,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/md5.js/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4618,"name":"read-resource","id":4619,"timestamp":2307957574621,"duration":4606,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4618,"timestamp":2307957574614,"duration":4721,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/default-encoding.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4620,"name":"read-resource","id":4621,"timestamp":2307957574631,"duration":4710,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4620,"timestamp":2307957574624,"duration":4797,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/to-buffer.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4616,"name":"read-resource","id":4617,"timestamp":2307957574608,"duration":4819,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4616,"timestamp":2307957574600,"duration":4903,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/pbkdf2/lib/precondition.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4622,"name":"read-resource","id":4623,"timestamp":2307957574721,"duration":5467,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4544,"name":"build-module-js","id":4622,"timestamp":2307957574713,"duration":6087,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/ripemd160/index.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4624,"name":"read-resource","id":4625,"timestamp":2307957574731,"duration":6078,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"build-module-js","id":4624,"timestamp":2307957574724,"duration":6191,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/isArguments.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4626,"name":"read-resource","id":4627,"timestamp":2307957574740,"duration":6204,"tags":{},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4600,"name":"build-module-js","id":4626,"timestamp":2307957574734,"duration":6523,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/object-keys/implementation.js"},"startTime":1664295730578},{"traceId":"1979f6cbb13579d5","parentId":4628,"name":"read-resource","id":4629,"timestamp":2307957575495,"duration":8427,"tags":{},"startTime":1664295730579},{"traceId":"1979f6cbb13579d5","parentId":4574,"name":"build-module-js","id":4628,"timestamp":2307957575485,"duration":8874,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/base-x/src/index.js"},"startTime":1664295730579},{"traceId":"1979f6cbb13579d5","parentId":4630,"name":"read-resource","id":4631,"timestamp":2307957582844,"duration":2552,"tags":{},"startTime":1664295730586},{"traceId":"1979f6cbb13579d5","parentId":4596,"name":"build-module-js","id":4630,"timestamp":2307957582818,"duration":2802,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hash/md5.js"},"startTime":1664295730586},{"traceId":"1979f6cbb13579d5","parentId":4632,"name":"read-resource","id":4633,"timestamp":2307957584997,"duration":2656,"tags":{},"startTime":1664295730588},{"traceId":"1979f6cbb13579d5","parentId":4602,"name":"build-module-js","id":4632,"timestamp":2307957584974,"duration":2991,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/create-hmac/legacy.js"},"startTime":1664295730588},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"read-resource","id":4635,"timestamp":2307957589054,"duration":265,"tags":{},"startTime":1664295730592},{"traceId":"1979f6cbb13579d5","parentId":4598,"name":"build-module-js","id":4634,"timestamp":2307957589023,"duration":1480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/get-intrinsic/index.js"},"startTime":1664295730592},{"traceId":"1979f6cbb13579d5","parentId":4636,"name":"read-resource","id":4637,"timestamp":2307957594157,"duration":1876,"tags":{},"startTime":1664295730598},{"traceId":"1979f6cbb13579d5","parentId":4610,"name":"build-module-js","id":4636,"timestamp":2307957594112,"duration":2699,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/hash-base/index.js"},"startTime":1664295730598},{"traceId":"1979f6cbb13579d5","parentId":4640,"name":"read-resource","id":4641,"timestamp":2307957599973,"duration":413,"tags":{},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4640,"timestamp":2307957599964,"duration":618,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/function-bind/index.js"},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4638,"name":"read-resource","id":4639,"timestamp":2307957599956,"duration":814,"tags":{},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4638,"timestamp":2307957599929,"duration":964,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-symbols/index.js"},"startTime":1664295730603},{"traceId":"1979f6cbb13579d5","parentId":4642,"name":"read-resource","id":4643,"timestamp":2307957601518,"duration":235,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4634,"name":"build-module-js","id":4642,"timestamp":2307957601492,"duration":346,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has/src/index.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4644,"name":"read-resource","id":4645,"timestamp":2307957601616,"duration":355,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4640,"name":"build-module-js","id":4644,"timestamp":2307957601605,"duration":550,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/function-bind/implementation.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"read-resource","id":4647,"timestamp":2307957601694,"duration":686,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4636,"name":"build-module-js","id":4646,"timestamp":2307957601685,"duration":818,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/readable-browser.js"},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4648,"name":"read-resource","id":4649,"timestamp":2307957601733,"duration":779,"tags":{},"startTime":1664295730605},{"traceId":"1979f6cbb13579d5","parentId":4638,"name":"build-module-js","id":4648,"timestamp":2307957601724,"duration":983,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/has-symbols/shams.js"},"startTime":1664295730605}] -[{"traceId":"1979f6cbb13579d5","parentId":4656,"name":"read-resource","id":4657,"timestamp":2307957603742,"duration":579,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4656,"timestamp":2307957603735,"duration":1188,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_transform.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4654,"name":"read-resource","id":4655,"timestamp":2307957603728,"duration":1423,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4654,"timestamp":2307957603720,"duration":1773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_duplex.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"read-resource","id":4653,"timestamp":2307957603714,"duration":2174,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4652,"timestamp":2307957603705,"duration":3474,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_writable.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"read-resource","id":4651,"timestamp":2307957603697,"duration":3498,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4650,"timestamp":2307957603679,"duration":5427,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_readable.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4658,"name":"read-resource","id":4659,"timestamp":2307957603755,"duration":5367,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4658,"timestamp":2307957603748,"duration":5528,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/_stream_passthrough.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4660,"name":"read-resource","id":4661,"timestamp":2307957603990,"duration":7618,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4660,"timestamp":2307957603974,"duration":9118,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4662,"name":"read-resource","id":4663,"timestamp":2307957604005,"duration":9096,"tags":{},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4646,"name":"build-module-js","id":4662,"timestamp":2307957603996,"duration":9375,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/pipeline.js"},"startTime":1664295730607},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module","id":4666,"timestamp":2307957614128,"duration":7,"tags":{"name":"undefined"},"startTime":1664295730618},{"traceId":"1979f6cbb13579d5","parentId":4664,"name":"read-resource","id":4665,"timestamp":2307957613730,"duration":1309,"tags":{},"startTime":1664295730617},{"traceId":"1979f6cbb13579d5","parentId":4656,"name":"build-module-js","id":4664,"timestamp":2307957613706,"duration":1907,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/errors-browser.js"},"startTime":1664295730617},{"traceId":"1979f6cbb13579d5","parentId":4667,"name":"read-resource","id":4668,"timestamp":2307957615698,"duration":254,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4667,"timestamp":2307957615664,"duration":565,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/stream-browser.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4669,"name":"read-resource","id":4670,"timestamp":2307957615720,"duration":637,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4669,"timestamp":2307957615710,"duration":956,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/destroy.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4671,"name":"read-resource","id":4672,"timestamp":2307957615734,"duration":940,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4671,"timestamp":2307957615726,"duration":1091,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/state.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4675,"name":"read-resource","id":4676,"timestamp":2307957615759,"duration":1069,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4675,"timestamp":2307957615750,"duration":1480,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/async_iterator.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4677,"name":"read-resource","id":4678,"timestamp":2307957615769,"duration":2907,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4677,"timestamp":2307957615763,"duration":3026,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/from-browser.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4673,"name":"read-resource","id":4674,"timestamp":2307957615746,"duration":3061,"tags":{},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4650,"name":"build-module-js","id":4673,"timestamp":2307957615738,"duration":3673,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/readable-stream/lib/internal/streams/buffer_list.js"},"startTime":1664295730619},{"traceId":"1979f6cbb13579d5","parentId":4673,"name":"build-module","id":4679,"timestamp":2307957620606,"duration":11,"tags":{"name":"undefined"},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":4680,"name":"read-resource","id":4681,"timestamp":2307957620829,"duration":283,"tags":{},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":4652,"name":"build-module-js","id":4680,"timestamp":2307957620809,"duration":556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/util-deprecate/browser.js"},"startTime":1664295730624},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"add-entry","id":14,"timestamp":2307953514813,"duration":4106608,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295726518},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":10,"timestamp":2307953513849,"duration":4107857,"tags":{},"startTime":1664295726517},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-chunk-graph","id":4683,"timestamp":2307957667988,"duration":56604,"tags":{},"startTime":1664295730671},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-modules","id":4685,"timestamp":2307957724669,"duration":15,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-chunks","id":4686,"timestamp":2307957724731,"duration":715,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize-tree","id":4687,"timestamp":2307957725489,"duration":126,"tags":{},"startTime":1664295730729},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-optimize","id":4684,"timestamp":2307957724635,"duration":1279,"tags":{},"startTime":1664295730728},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-hash","id":4688,"timestamp":2307957953271,"duration":58169,"tags":{},"startTime":1664295730957},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":4690,"timestamp":2307958676604,"duration":612,"tags":{},"startTime":1664295731680},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"NextJsBuildManifest-createassets","id":4689,"timestamp":2307958675984,"duration":1246,"tags":{},"startTime":1664295731679},{"traceId":"1979f6cbb13579d5","parentId":9,"name":"webpack-compilation-seal","id":4682,"timestamp":2307957659177,"duration":1022415,"tags":{},"startTime":1664295730663},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":9,"timestamp":2307953509718,"duration":5172091,"tags":{"name":"client"},"startTime":1664295726513},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4691,"timestamp":2307958682074,"duration":350616,"tags":{},"startTime":1664295731685},{"traceId":"1979f6cbb13579d5","parentId":4698,"name":"next-swc-transform","id":4699,"timestamp":2307959231426,"duration":803,"tags":{},"startTime":1664295732235},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"next-swc-loader","id":4698,"timestamp":2307959231356,"duration":880,"tags":{},"startTime":1664295732235},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-tsx","id":4697,"timestamp":2307959230887,"duration":2689,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664295732234},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-react/jsx-dev-runtime","id":4700,"timestamp":2307959235727,"duration":149,"tags":{"name":"react/jsx-dev-runtime"},"startTime":1664295732239},{"traceId":"1979f6cbb13579d5","parentId":4707,"name":"read-resource","id":4708,"timestamp":2307959239731,"duration":586,"tags":{},"startTime":1664295732243},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-css","id":4707,"timestamp":2307959239083,"duration":1578,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732243},{"traceId":"1979f6cbb13579d5","parentId":4713,"name":"next-swc-transform","id":4714,"timestamp":2307959241887,"duration":229,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"next-swc-loader","id":4713,"timestamp":2307959241868,"duration":253,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-ts","id":4712,"timestamp":2307959241838,"duration":548,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/index.ts"},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4710,"name":"next-swc-transform","id":4711,"timestamp":2307959241768,"duration":905,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"next-swc-loader","id":4710,"timestamp":2307959241743,"duration":932,"tags":{},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-tsx","id":4709,"timestamp":2307959241675,"duration":1110,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/index.tsx"},"startTime":1664295732245},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-chain-registry","id":4715,"timestamp":2307959244322,"duration":17,"tags":{"name":"chain-registry"},"startTime":1664295732248},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@cosmos-kit/react","id":4716,"timestamp":2307959246093,"duration":13,"tags":{"name":"@cosmos-kit/react"},"startTime":1664295732250},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@cosmos-kit/config","id":4717,"timestamp":2307959246253,"duration":10,"tags":{"name":"@cosmos-kit/config"},"startTime":1664295732250},{"traceId":"1979f6cbb13579d5","parentId":4697,"name":"build-module-@chakra-ui/react","id":4718,"timestamp":2307959247575,"duration":11,"tags":{"name":"@chakra-ui/react"},"startTime":1664295732251},{"traceId":"1979f6cbb13579d5","parentId":4722,"name":"next-swc-transform","id":4723,"timestamp":2307959248209,"duration":501,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4719,"name":"next-swc-loader","id":4722,"timestamp":2307959248189,"duration":524,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4719,"timestamp":2307959248035,"duration":996,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/types.tsx"},"startTime":1664295732251},{"traceId":"1979f6cbb13579d5","parentId":4724,"name":"next-swc-transform","id":4725,"timestamp":2307959248223,"duration":885,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4720,"name":"next-swc-loader","id":4724,"timestamp":2307959248211,"duration":898,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4720,"timestamp":2307959248086,"duration":1661,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/features.tsx"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4730,"name":"next-swc-transform","id":4731,"timestamp":2307959248376,"duration":1977,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4728,"name":"next-swc-loader","id":4730,"timestamp":2307959248364,"duration":1989,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"build-module-ts","id":4728,"timestamp":2307959248312,"duration":2198,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4726,"name":"next-swc-transform","id":4727,"timestamp":2307959248232,"duration":2317,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"next-swc-loader","id":4726,"timestamp":2307959248224,"duration":2326,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-tsx","id":4721,"timestamp":2307959248111,"duration":3056,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4732,"name":"next-swc-transform","id":4733,"timestamp":2307959248384,"duration":4270,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4729,"name":"next-swc-loader","id":4732,"timestamp":2307959248377,"duration":4280,"tags":{},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4712,"name":"build-module-ts","id":4729,"timestamp":2307959248342,"duration":4490,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/theme.ts"},"startTime":1664295732252},{"traceId":"1979f6cbb13579d5","parentId":4702,"name":"next-swc-transform","id":4703,"timestamp":2307959238165,"duration":14735,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"next-swc-loader","id":4702,"timestamp":2307959238138,"duration":14763,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-js","id":4701,"timestamp":2307959237880,"duration":15884,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_error.js"},"startTime":1664295732241},{"traceId":"1979f6cbb13579d5","parentId":4705,"name":"next-swc-transform","id":4706,"timestamp":2307959238761,"duration":18398,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"next-swc-loader","id":4705,"timestamp":2307959238743,"duration":18419,"tags":{},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"build-module-js","id":4704,"timestamp":2307959238709,"duration":21256,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_document.js"},"startTime":1664295732242},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-react","id":4734,"timestamp":2307959260388,"duration":18,"tags":{"name":"react"},"startTime":1664295732264},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/get-page-files","id":4735,"timestamp":2307959262951,"duration":13,"tags":{"name":"../server/get-page-files"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/utils","id":4736,"timestamp":2307959262971,"duration":5,"tags":{"name":"../server/utils"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/server/htmlescape","id":4737,"timestamp":2307959262982,"duration":5,"tags":{"name":"../server/htmlescape"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"build-module-/shared/lib/head","id":4745,"timestamp":2307959263323,"duration":9,"tags":{"name":"../shared/lib/head"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/shared/lib/constants","id":4746,"timestamp":2307959263338,"duration":5,"tags":{"name":"../shared/lib/constants"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-/shared/lib/html-context","id":4747,"timestamp":2307959263345,"duration":4,"tags":{"name":"../shared/lib/html-context"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4741,"name":"read-resource","id":4742,"timestamp":2307959263295,"duration":746,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4741,"timestamp":2307959263271,"duration":1046,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/is-error.js"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4743,"name":"read-resource","id":4744,"timestamp":2307959263316,"duration":1024,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4743,"timestamp":2307959263303,"duration":1246,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/lib/pretty-bytes.js"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4749,"name":"next-swc-transform","id":4750,"timestamp":2307959263695,"duration":1067,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"next-swc-loader","id":4749,"timestamp":2307959263678,"duration":1086,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4709,"name":"build-module-ts","id":4748,"timestamp":2307959263631,"duration":1275,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4741,"name":"build-module-/shared/lib/is-plain-object","id":4754,"timestamp":2307959267060,"duration":20,"tags":{"name":"../shared/lib/is-plain-object"},"startTime":1664295732270},{"traceId":"1979f6cbb13579d5","parentId":4720,"name":"build-module-@chakra-ui/icons","id":4755,"timestamp":2307959267718,"duration":11,"tags":{"name":"@chakra-ui/icons"},"startTime":1664295732271},{"traceId":"1979f6cbb13579d5","parentId":4752,"name":"next-swc-transform","id":4753,"timestamp":2307959263930,"duration":5637,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4751,"name":"next-swc-loader","id":4752,"timestamp":2307959263916,"duration":5653,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-ts","id":4751,"timestamp":2307959263890,"duration":6002,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/config/chain-infos.ts"},"startTime":1664295732267}] -[{"traceId":"1979f6cbb13579d5","parentId":4761,"name":"next-swc-transform","id":4762,"timestamp":2307959268874,"duration":2030,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4756,"name":"next-swc-loader","id":4761,"timestamp":2307959268853,"duration":2055,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4756,"timestamp":2307959268720,"duration":3556,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/astronaut.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4767,"name":"next-swc-transform","id":4768,"timestamp":2307959268903,"duration":5786,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4759,"name":"next-swc-loader","id":4767,"timestamp":2307959268895,"duration":5798,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4759,"timestamp":2307959268808,"duration":6209,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4739,"name":"next-swc-transform","id":4740,"timestamp":2307959263116,"duration":12150,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"next-swc-loader","id":4739,"timestamp":2307959263089,"duration":12178,"tags":{},"startTime":1664295732267},{"traceId":"1979f6cbb13579d5","parentId":4704,"name":"build-module-js","id":4738,"timestamp":2307959262992,"duration":13072,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/script.js"},"startTime":1664295732266},{"traceId":"1979f6cbb13579d5","parentId":4772,"name":"next-swc-transform","id":4773,"timestamp":2307959269151,"duration":10486,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4771,"name":"next-swc-loader","id":4772,"timestamp":2307959269140,"duration":10499,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4771,"timestamp":2307959269102,"duration":10773,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4765,"name":"next-swc-transform","id":4766,"timestamp":2307959268895,"duration":11178,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4758,"name":"next-swc-loader","id":4765,"timestamp":2307959268886,"duration":11188,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4758,"timestamp":2307959268790,"duration":11590,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4721,"name":"build-module-react-icons/fi","id":4779,"timestamp":2307959281218,"duration":24,"tags":{"name":"react-icons/fi"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4775,"name":"read-resource","id":4776,"timestamp":2307959269221,"duration":12406,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4701,"name":"build-module-js","id":4775,"timestamp":2307959269203,"duration":12529,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_default.js"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4695,"timestamp":2307959112970,"duration":168895,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-/shared/lib/head-manager-context","id":4782,"timestamp":2307959282047,"duration":9,"tags":{"name":"../shared/lib/head-manager-context"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4763,"name":"next-swc-transform","id":4764,"timestamp":2307959268885,"duration":13344,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4757,"name":"next-swc-loader","id":4763,"timestamp":2307959268875,"duration":13356,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4757,"timestamp":2307959268767,"duration":14059,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4777,"name":"next-swc-transform","id":4778,"timestamp":2307959269237,"duration":14212,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"next-swc-loader","id":4777,"timestamp":2307959269227,"duration":14223,"tags":{},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4774,"timestamp":2307959269182,"duration":14965,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664295732273},{"traceId":"1979f6cbb13579d5","parentId":4769,"name":"next-swc-transform","id":4770,"timestamp":2307959268912,"duration":16182,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4760,"name":"next-swc-loader","id":4769,"timestamp":2307959268904,"duration":16191,"tags":{},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4748,"name":"build-module-tsx","id":4760,"timestamp":2307959268826,"duration":16554,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664295732272},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-next/router","id":4793,"timestamp":2307959287882,"duration":16,"tags":{"name":"next/router"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4789,"name":"read-resource","id":4790,"timestamp":2307959287323,"duration":685,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4789,"timestamp":2307959287304,"duration":1003,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_interop_require_wildcard.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4791,"name":"read-resource","id":4792,"timestamp":2307959287345,"duration":971,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4791,"timestamp":2307959287334,"duration":1112,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_object_without_properties_loose.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4787,"name":"read-resource","id":4788,"timestamp":2307959287296,"duration":1156,"tags":{},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4787,"timestamp":2307959287260,"duration":1299,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_extends.js"},"startTime":1664295732291},{"traceId":"1979f6cbb13579d5","parentId":4757,"name":"build-module-react-icons/io5","id":4794,"timestamp":2307959289560,"duration":17,"tags":{"name":"react-icons/io5"},"startTime":1664295732293},{"traceId":"1979f6cbb13579d5","parentId":4758,"name":"build-module-@cosmos-kit/core","id":4795,"timestamp":2307959290784,"duration":28,"tags":{"name":"@cosmos-kit/core"},"startTime":1664295732294},{"traceId":"1979f6cbb13579d5","parentId":4760,"name":"build-module-react-icons/fa","id":4796,"timestamp":2307959290918,"duration":21,"tags":{"name":"react-icons/fa"},"startTime":1664295732294},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-bowser","id":4797,"timestamp":2307959291507,"duration":8,"tags":{"name":"bowser"},"startTime":1664295732295},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-@headlessui/react","id":4799,"timestamp":2307959292256,"duration":9,"tags":{"name":"@headlessui/react"},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4800,"name":"next-swc-transform","id":4801,"timestamp":2307959292298,"duration":1899,"tags":{},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"next-swc-loader","id":4800,"timestamp":2307959292272,"duration":1930,"tags":{},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4774,"name":"build-module-ts","id":4798,"timestamp":2307959292185,"duration":2238,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/index.ts"},"startTime":1664295732296},{"traceId":"1979f6cbb13579d5","parentId":4785,"name":"next-swc-transform","id":4786,"timestamp":2307959282097,"duration":12707,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4781,"name":"next-swc-loader","id":4785,"timestamp":2307959282088,"duration":12718,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4781,"timestamp":2307959282024,"duration":13114,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/request-idle-callback.js"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4783,"name":"next-swc-transform","id":4784,"timestamp":2307959282086,"duration":13093,"tags":{},"startTime":1664295732286},{"traceId":"1979f6cbb13579d5","parentId":4780,"name":"next-swc-loader","id":4783,"timestamp":2307959282064,"duration":13117,"tags":{},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4738,"name":"build-module-js","id":4780,"timestamp":2307959281969,"duration":13803,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/head-manager.js"},"startTime":1664295732285},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4696,"timestamp":2307959112992,"duration":182928,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":4809,"name":"next-swc-transform","id":4810,"timestamp":2307959298476,"duration":966,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"next-swc-loader","id":4809,"timestamp":2307959298468,"duration":980,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4804,"timestamp":2307959298405,"duration":1499,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4805,"name":"next-swc-transform","id":4806,"timestamp":2307959298455,"duration":1476,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4802,"name":"next-swc-loader","id":4805,"timestamp":2307959298434,"duration":1497,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4802,"timestamp":2307959298328,"duration":1880,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4812,"name":"next-swc-transform","id":4813,"timestamp":2307959298657,"duration":3447,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4811,"name":"next-swc-loader","id":4812,"timestamp":2307959298645,"duration":3463,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4811,"timestamp":2307959298607,"duration":3988,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4816,"name":"next-swc-transform","id":4817,"timestamp":2307959298781,"duration":3842,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4814,"name":"next-swc-loader","id":4816,"timestamp":2307959298763,"duration":3860,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4814,"timestamp":2307959298700,"duration":4483,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4818,"name":"next-swc-transform","id":4819,"timestamp":2307959298793,"duration":4418,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4815,"name":"next-swc-loader","id":4818,"timestamp":2307959298782,"duration":4430,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4815,"timestamp":2307959298741,"duration":4945,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4815,"name":"build-module-copy-to-clipboard","id":4820,"timestamp":2307959307161,"duration":23,"tags":{"name":"copy-to-clipboard"},"startTime":1664295732311},{"traceId":"1979f6cbb13579d5","parentId":4811,"name":"build-module-react","id":4821,"timestamp":2307959307632,"duration":5,"tags":{"name":"qrcode.react"},"startTime":1664295732311},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"build-module-@heroicons/react/24/outline","id":4822,"timestamp":2307959308627,"duration":10,"tags":{"name":"@heroicons/react/24/outline"},"startTime":1664295732312},{"traceId":"1979f6cbb13579d5","parentId":4804,"name":"build-module-@heroicons/react/20/solid","id":4823,"timestamp":2307959308649,"duration":3,"tags":{"name":"@heroicons/react/20/solid"},"startTime":1664295732312},{"traceId":"1979f6cbb13579d5","parentId":4807,"name":"next-swc-transform","id":4808,"timestamp":2307959298467,"duration":10822,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4803,"name":"next-swc-loader","id":4807,"timestamp":2307959298457,"duration":10835,"tags":{},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4798,"name":"build-module-tsx","id":4803,"timestamp":2307959298382,"duration":11403,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664295732302},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"add-entry","id":4694,"timestamp":2307959112694,"duration":197617,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732116},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4693,"timestamp":2307959045283,"duration":265196,"tags":{},"startTime":1664295732049},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-chunk-graph","id":4825,"timestamp":2307959312258,"duration":914,"tags":{},"startTime":1664295732316},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-modules","id":4827,"timestamp":2307959313194,"duration":5,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-chunks","id":4828,"timestamp":2307959313253,"duration":83,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize-tree","id":4829,"timestamp":2307959313372,"duration":15,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-optimize","id":4826,"timestamp":2307959313184,"duration":270,"tags":{},"startTime":1664295732317},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-hash","id":4830,"timestamp":2307959321893,"duration":1711,"tags":{},"startTime":1664295732325},{"traceId":"1979f6cbb13579d5","parentId":4692,"name":"webpack-compilation-seal","id":4824,"timestamp":2307959312037,"duration":28570,"tags":{},"startTime":1664295732315},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":4692,"timestamp":2307959042112,"duration":298572,"tags":{"name":"server"},"startTime":1664295732046},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4831,"timestamp":2307959340745,"duration":3894,"tags":{},"startTime":1664295732344},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4833,"timestamp":2307959349833,"duration":1881,"tags":{},"startTime":1664295732353},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-chunk-graph","id":4835,"timestamp":2307959352058,"duration":20,"tags":{},"startTime":1664295732355},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-modules","id":4837,"timestamp":2307959352089,"duration":139,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-chunks","id":4838,"timestamp":2307959352242,"duration":10,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize-tree","id":4839,"timestamp":2307959352260,"duration":3,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-optimize","id":4836,"timestamp":2307959352084,"duration":200,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-hash","id":4840,"timestamp":2307959352522,"duration":49,"tags":{},"startTime":1664295732356},{"traceId":"1979f6cbb13579d5","parentId":4832,"name":"webpack-compilation-seal","id":4834,"timestamp":2307959352004,"duration":850,"tags":{},"startTime":1664295732355},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-compilation","id":4832,"timestamp":2307959348436,"duration":4441,"tags":{"name":"edge-server"},"startTime":1664295732352},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4841,"timestamp":2307959352896,"duration":14018,"tags":{},"startTime":1664295732356}] -[{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4847,"timestamp":2307959380878,"duration":9845,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4848,"timestamp":2307959380935,"duration":11158,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"read-resource","id":4854,"timestamp":2307959392437,"duration":60,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4855,"name":"postcss-process","id":4856,"timestamp":2307959392527,"duration":41067,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"postcss-loader","id":4855,"timestamp":2307959392511,"duration":41980,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"css-loader","id":4857,"timestamp":2307959434516,"duration":13333,"tags":{"astUsed":"true"},"startTime":1664295732438},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"build-module-css","id":4853,"timestamp":2307959392308,"duration":57636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4852,"timestamp":2307959380978,"duration":71942,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4851,"timestamp":2307959380967,"duration":75159,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4849,"timestamp":2307959380947,"duration":88244,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4850,"timestamp":2307959380957,"duration":192803,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"make","id":4846,"timestamp":2307959380617,"duration":193182,"tags":{},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":2307959585537,"duration":35014,"tags":{},"startTime":1664295732589},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":2307959620580,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":2307959620599,"duration":205,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":2307959620835,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize","id":4860,"timestamp":2307959620569,"duration":2620,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-hash","id":4864,"timestamp":2307959646925,"duration":7669,"tags":{},"startTime":1664295732650},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":2307959656158,"duration":112,"tags":{},"startTime":1664295732660},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":2307959655926,"duration":349,"tags":{},"startTime":1664295732659},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-seal","id":4858,"timestamp":2307959579494,"duration":77940,"tags":{},"startTime":1664295732583},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"webpack-compilation","id":4845,"timestamp":2307959379579,"duration":277896,"tags":{"name":"client"},"startTime":1664295732383},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"emit","id":4867,"timestamp":2307959657491,"duration":2892,"tags":{},"startTime":1664295732661},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4842,"timestamp":2307959369343,"duration":291695,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4871,"timestamp":2307959680927,"duration":4882,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4872,"timestamp":2307959680941,"duration":4883,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4870,"timestamp":2307959680849,"duration":33894,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"make","id":4869,"timestamp":2307959665008,"duration":49943,"tags":{},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4874,"timestamp":2307959719700,"duration":1258,"tags":{},"startTime":1664295732723},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4876,"timestamp":2307959720985,"duration":5,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4877,"timestamp":2307959721004,"duration":71,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4878,"timestamp":2307959721144,"duration":5,"tags":{},"startTime":1664295732725},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize","id":4875,"timestamp":2307959720973,"duration":358,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-hash","id":4879,"timestamp":2307959730196,"duration":836,"tags":{},"startTime":1664295732734},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-seal","id":4873,"timestamp":2307959717645,"duration":14240,"tags":{},"startTime":1664295732721},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"webpack-compilation","id":4868,"timestamp":2307959664665,"duration":67253,"tags":{"name":"server"},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"emit","id":4880,"timestamp":2307959731938,"duration":2834,"tags":{},"startTime":1664295732735},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4843,"timestamp":2307959369508,"duration":365658,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"make","id":4882,"timestamp":2307959739348,"duration":2377,"tags":{},"startTime":1664295732743},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-chunk-graph","id":4884,"timestamp":2307959741831,"duration":21,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-modules","id":4886,"timestamp":2307959741873,"duration":31,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-chunks","id":4887,"timestamp":2307959741919,"duration":9,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-tree","id":4888,"timestamp":2307959741936,"duration":6,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize","id":4885,"timestamp":2307959741869,"duration":91,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-hash","id":4889,"timestamp":2307959742097,"duration":46,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-seal","id":4883,"timestamp":2307959741800,"duration":609,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"webpack-compilation","id":4881,"timestamp":2307959738469,"duration":3956,"tags":{"name":"edge-server"},"startTime":1664295732742},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"emit","id":4890,"timestamp":2307959742434,"duration":61800,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":392,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"next-client-pages-loader","id":4904,"timestamp":2307959822360,"duration":297,"tags":{"absolutePagePath":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"build-module-tsx&page=%2F!","id":4903,"timestamp":2307959822171,"duration":1555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4896,"timestamp":2307959817600,"duration":8385,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4897,"timestamp":2307959817793,"duration":16408,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4901,"timestamp":2307959817831,"duration":17170,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4900,"timestamp":2307959817821,"duration":18605,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4898,"timestamp":2307959817808,"duration":24372,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4906,"name":"next-swc-transform","id":4907,"timestamp":2307959838172,"duration":4256,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"next-swc-loader","id":4906,"timestamp":2307959838084,"duration":4346,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"build-module-tsx","id":4905,"timestamp":2307959837809,"duration":6062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732841},{"traceId":"1979f6cbb13579d5","parentId":4908,"name":"read-resource","id":4909,"timestamp":2307959871589,"duration":2843,"tags":{},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"build-module-js","id":4908,"timestamp":2307959871468,"duration":3263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/head.js"},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4902,"timestamp":2307959817839,"duration":59428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4899,"timestamp":2307959817815,"duration":76626,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"make","id":4895,"timestamp":2307959816349,"duration":78130,"tags":{},"startTime":1664295732820},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-chunk-graph","id":4911,"timestamp":2307959899598,"duration":24832,"tags":{},"startTime":1664295732903},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-modules","id":4913,"timestamp":2307959924463,"duration":3,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-chunks","id":4914,"timestamp":2307959924479,"duration":264,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-tree","id":4915,"timestamp":2307959924763,"duration":4,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize","id":4912,"timestamp":2307959924447,"duration":1517,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-hash","id":4916,"timestamp":2307959939048,"duration":8214,"tags":{},"startTime":1664295732942},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-generateClientManifest","id":4918,"timestamp":2307959950994,"duration":216,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-createassets","id":4917,"timestamp":2307959950928,"duration":288,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-seal","id":4910,"timestamp":2307959895896,"duration":60162,"tags":{},"startTime":1664295732899},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"webpack-compilation","id":4894,"timestamp":2307959816042,"duration":140074,"tags":{"name":"client"},"startTime":1664295732819},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"emit","id":4919,"timestamp":2307959956147,"duration":3525,"tags":{},"startTime":1664295732960},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4891,"timestamp":2307959804419,"duration":155925,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4923,"timestamp":2307959978379,"duration":3554,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4924,"timestamp":2307959978384,"duration":3561,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4922,"timestamp":2307959978335,"duration":3908,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4927,"name":"next-swc-transform","id":4928,"timestamp":2307959981400,"duration":1295,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"next-swc-loader","id":4927,"timestamp":2307959981360,"duration":1336,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"build-module-tsx","id":4926,"timestamp":2307959981214,"duration":2398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-next/head","id":4929,"timestamp":2307959986808,"duration":30,"tags":{"name":"next/head"},"startTime":1664295732990},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-react-icons/bs","id":4930,"timestamp":2307959987505,"duration":6,"tags":{"name":"react-icons/bs"},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4925,"timestamp":2307959978387,"duration":9147,"tags":{"request":"./pages/index.tsx"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"make","id":4921,"timestamp":2307959962326,"duration":25240,"tags":{},"startTime":1664295732966},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-chunk-graph","id":4932,"timestamp":2307959988014,"duration":262,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-modules","id":4934,"timestamp":2307959988287,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-chunks","id":4935,"timestamp":2307959988299,"duration":32,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-tree","id":4936,"timestamp":2307959988340,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize","id":4933,"timestamp":2307959988283,"duration":123,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-hash","id":4937,"timestamp":2307959989762,"duration":678,"tags":{},"startTime":1664295732993},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-seal","id":4931,"timestamp":2307959987942,"duration":3740,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"webpack-compilation","id":4920,"timestamp":2307959961993,"duration":29717,"tags":{"name":"server"},"startTime":1664295732965},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"emit","id":4938,"timestamp":2307959991726,"duration":2318,"tags":{},"startTime":1664295732995},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4892,"timestamp":2307959804452,"duration":189972,"tags":{"trigger":"manual"},"startTime":1664295732808}] -[{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4847,"timestamp":2307959380878,"duration":9845,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4848,"timestamp":2307959380935,"duration":11158,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"read-resource","id":4854,"timestamp":2307959392437,"duration":60,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4855,"name":"postcss-process","id":4856,"timestamp":2307959392527,"duration":41067,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"postcss-loader","id":4855,"timestamp":2307959392511,"duration":41980,"tags":{},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4853,"name":"css-loader","id":4857,"timestamp":2307959434516,"duration":13333,"tags":{"astUsed":"true"},"startTime":1664295732438},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"build-module-css","id":4853,"timestamp":2307959392308,"duration":57636,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664295732396},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4852,"timestamp":2307959380978,"duration":71942,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4851,"timestamp":2307959380967,"duration":75159,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4849,"timestamp":2307959380947,"duration":88244,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"add-entry","id":4850,"timestamp":2307959380957,"duration":192803,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"make","id":4846,"timestamp":2307959380617,"duration":193182,"tags":{},"startTime":1664295732384},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":2307959585537,"duration":35014,"tags":{},"startTime":1664295732589},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":2307959620580,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":2307959620599,"duration":205,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":2307959620835,"duration":5,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-optimize","id":4860,"timestamp":2307959620569,"duration":2620,"tags":{},"startTime":1664295732624},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-hash","id":4864,"timestamp":2307959646925,"duration":7669,"tags":{},"startTime":1664295732650},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":2307959656158,"duration":112,"tags":{},"startTime":1664295732660},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":2307959655926,"duration":349,"tags":{},"startTime":1664295732659},{"traceId":"1979f6cbb13579d5","parentId":4845,"name":"webpack-compilation-seal","id":4858,"timestamp":2307959579494,"duration":77940,"tags":{},"startTime":1664295732583},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"webpack-compilation","id":4845,"timestamp":2307959379579,"duration":277896,"tags":{"name":"client"},"startTime":1664295732383},{"traceId":"1979f6cbb13579d5","parentId":4842,"name":"emit","id":4867,"timestamp":2307959657491,"duration":2892,"tags":{},"startTime":1664295732661},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4842,"timestamp":2307959369343,"duration":291695,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4871,"timestamp":2307959680927,"duration":4882,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4872,"timestamp":2307959680941,"duration":4883,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"add-entry","id":4870,"timestamp":2307959680849,"duration":33894,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732684},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"make","id":4869,"timestamp":2307959665008,"duration":49943,"tags":{},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4874,"timestamp":2307959719700,"duration":1258,"tags":{},"startTime":1664295732723},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4876,"timestamp":2307959720985,"duration":5,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4877,"timestamp":2307959721004,"duration":71,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4878,"timestamp":2307959721144,"duration":5,"tags":{},"startTime":1664295732725},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-optimize","id":4875,"timestamp":2307959720973,"duration":358,"tags":{},"startTime":1664295732724},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-hash","id":4879,"timestamp":2307959730196,"duration":836,"tags":{},"startTime":1664295732734},{"traceId":"1979f6cbb13579d5","parentId":4868,"name":"webpack-compilation-seal","id":4873,"timestamp":2307959717645,"duration":14240,"tags":{},"startTime":1664295732721},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"webpack-compilation","id":4868,"timestamp":2307959664665,"duration":67253,"tags":{"name":"server"},"startTime":1664295732668},{"traceId":"1979f6cbb13579d5","parentId":4843,"name":"emit","id":4880,"timestamp":2307959731938,"duration":2834,"tags":{},"startTime":1664295732735},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4843,"timestamp":2307959369508,"duration":365658,"tags":{"trigger":"manual"},"startTime":1664295732373},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"make","id":4882,"timestamp":2307959739348,"duration":2377,"tags":{},"startTime":1664295732743},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-chunk-graph","id":4884,"timestamp":2307959741831,"duration":21,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-modules","id":4886,"timestamp":2307959741873,"duration":31,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-chunks","id":4887,"timestamp":2307959741919,"duration":9,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize-tree","id":4888,"timestamp":2307959741936,"duration":6,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-optimize","id":4885,"timestamp":2307959741869,"duration":91,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-hash","id":4889,"timestamp":2307959742097,"duration":46,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":4881,"name":"webpack-compilation-seal","id":4883,"timestamp":2307959741800,"duration":609,"tags":{},"startTime":1664295732745},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"webpack-compilation","id":4881,"timestamp":2307959738469,"duration":3956,"tags":{"name":"edge-server"},"startTime":1664295732742},{"traceId":"1979f6cbb13579d5","parentId":4844,"name":"emit","id":4890,"timestamp":2307959742434,"duration":61800,"tags":{},"startTime":1664295732746},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":392,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"next-client-pages-loader","id":4904,"timestamp":2307959822360,"duration":297,"tags":{"absolutePagePath":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"build-module-tsx&page=%2F!","id":4903,"timestamp":2307959822171,"duration":1555,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732826},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4896,"timestamp":2307959817600,"duration":8385,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4897,"timestamp":2307959817793,"duration":16408,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4901,"timestamp":2307959817831,"duration":17170,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4900,"timestamp":2307959817821,"duration":18605,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4898,"timestamp":2307959817808,"duration":24372,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4906,"name":"next-swc-transform","id":4907,"timestamp":2307959838172,"duration":4256,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"next-swc-loader","id":4906,"timestamp":2307959838084,"duration":4346,"tags":{},"startTime":1664295732842},{"traceId":"1979f6cbb13579d5","parentId":4903,"name":"build-module-tsx","id":4905,"timestamp":2307959837809,"duration":6062,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732841},{"traceId":"1979f6cbb13579d5","parentId":4908,"name":"read-resource","id":4909,"timestamp":2307959871589,"duration":2843,"tags":{},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4905,"name":"build-module-js","id":4908,"timestamp":2307959871468,"duration":3263,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/head.js"},"startTime":1664295732875},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4902,"timestamp":2307959817839,"duration":59428,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fpyramation%2Fcode%2Fcosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"add-entry","id":4899,"timestamp":2307959817815,"duration":76626,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664295732821},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"make","id":4895,"timestamp":2307959816349,"duration":78130,"tags":{},"startTime":1664295732820},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-chunk-graph","id":4911,"timestamp":2307959899598,"duration":24832,"tags":{},"startTime":1664295732903},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-modules","id":4913,"timestamp":2307959924463,"duration":3,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-chunks","id":4914,"timestamp":2307959924479,"duration":264,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize-tree","id":4915,"timestamp":2307959924763,"duration":4,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-optimize","id":4912,"timestamp":2307959924447,"duration":1517,"tags":{},"startTime":1664295732928},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-hash","id":4916,"timestamp":2307959939048,"duration":8214,"tags":{},"startTime":1664295732942},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-generateClientManifest","id":4918,"timestamp":2307959950994,"duration":216,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"NextJsBuildManifest-createassets","id":4917,"timestamp":2307959950928,"duration":288,"tags":{},"startTime":1664295732954},{"traceId":"1979f6cbb13579d5","parentId":4894,"name":"webpack-compilation-seal","id":4910,"timestamp":2307959895896,"duration":60162,"tags":{},"startTime":1664295732899},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"webpack-compilation","id":4894,"timestamp":2307959816042,"duration":140074,"tags":{"name":"client"},"startTime":1664295732819},{"traceId":"1979f6cbb13579d5","parentId":4891,"name":"emit","id":4919,"timestamp":2307959956147,"duration":3525,"tags":{},"startTime":1664295732960},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4891,"timestamp":2307959804419,"duration":155925,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4923,"timestamp":2307959978379,"duration":3554,"tags":{"request":"private-next-pages/_error"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4924,"timestamp":2307959978384,"duration":3561,"tags":{"request":"private-next-pages/_document"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4922,"timestamp":2307959978335,"duration":3908,"tags":{"request":"private-next-pages/_app"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4927,"name":"next-swc-transform","id":4928,"timestamp":2307959981400,"duration":1295,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"next-swc-loader","id":4927,"timestamp":2307959981360,"duration":1336,"tags":{},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"build-module-tsx","id":4926,"timestamp":2307959981214,"duration":2398,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664295732985},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-next/head","id":4929,"timestamp":2307959986808,"duration":30,"tags":{"name":"next/head"},"startTime":1664295732990},{"traceId":"1979f6cbb13579d5","parentId":4926,"name":"build-module-react-icons/bs","id":4930,"timestamp":2307959987505,"duration":6,"tags":{"name":"react-icons/bs"},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"add-entry","id":4925,"timestamp":2307959978387,"duration":9147,"tags":{"request":"./pages/index.tsx"},"startTime":1664295732982},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"make","id":4921,"timestamp":2307959962326,"duration":25240,"tags":{},"startTime":1664295732966},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-chunk-graph","id":4932,"timestamp":2307959988014,"duration":262,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-modules","id":4934,"timestamp":2307959988287,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-chunks","id":4935,"timestamp":2307959988299,"duration":32,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize-tree","id":4936,"timestamp":2307959988340,"duration":3,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-optimize","id":4933,"timestamp":2307959988283,"duration":123,"tags":{},"startTime":1664295732992},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-hash","id":4937,"timestamp":2307959989762,"duration":678,"tags":{},"startTime":1664295732993},{"traceId":"1979f6cbb13579d5","parentId":4920,"name":"webpack-compilation-seal","id":4931,"timestamp":2307959987942,"duration":3740,"tags":{},"startTime":1664295732991},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"webpack-compilation","id":4920,"timestamp":2307959961993,"duration":29717,"tags":{"name":"server"},"startTime":1664295732965},{"traceId":"1979f6cbb13579d5","parentId":4892,"name":"emit","id":4938,"timestamp":2307959991726,"duration":2318,"tags":{},"startTime":1664295732995},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4892,"timestamp":2307959804452,"duration":189972,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"make","id":4940,"timestamp":2307959995325,"duration":1147,"tags":{},"startTime":1664295732999},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-chunk-graph","id":4942,"timestamp":2307959996564,"duration":20,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-modules","id":4944,"timestamp":2307959996592,"duration":5,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-chunks","id":4945,"timestamp":2307959996606,"duration":6,"tags":{},"startTime":1664295733000},{"traceId":"1979f6cbb13579d5","parentId":4939,"name":"webpack-compilation-optimize-tree","id":4946,"timestamp":2307959996619,"duration":3,"tags":{},"startTime":1664295733000}] -[{"traceId":"1979f6cbb13579d5","parentId":1,"name":"emit","id":4948,"timestamp":2307959997370,"duration":799,"tags":{},"startTime":1664295733001},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-edge-server","id":4893,"timestamp":2307959804461,"duration":194237,"tags":{"trigger":"manual"},"startTime":1664295732808},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"client-success","id":4949,"timestamp":2307962162586,"duration":0,"tags":{},"startTime":1664295735166},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"client-success","id":4950,"timestamp":2308030676891,"duration":0,"tags":{},"startTime":1664295803681},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4954,"timestamp":2308410741300,"duration":14607,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4955,"timestamp":2308410741403,"duration":17118,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4958,"timestamp":2308410741419,"duration":17238,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4956,"timestamp":2308410741409,"duration":17328,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4959,"timestamp":2308410741425,"duration":20415,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"add-entry","id":4957,"timestamp":2308410741411,"duration":20580,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664296183751},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"make","id":4953,"timestamp":2308410738288,"duration":23793,"tags":{},"startTime":1664296183748},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-chunk-graph","id":4961,"timestamp":2308410763417,"duration":823,"tags":{},"startTime":1664296183773},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-modules","id":4963,"timestamp":2308410764289,"duration":12,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-chunks","id":4964,"timestamp":2308410764339,"duration":106,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize-tree","id":4965,"timestamp":2308410764479,"duration":84,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-optimize","id":4962,"timestamp":2308410764267,"duration":404,"tags":{},"startTime":1664296183774},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-hash","id":4966,"timestamp":2308410768104,"duration":3512,"tags":{},"startTime":1664296183778},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"NextJsBuildManifest-generateClientManifest","id":4968,"timestamp":2308410774951,"duration":226,"tags":{},"startTime":1664296183785},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"NextJsBuildManifest-createassets","id":4967,"timestamp":2308410774739,"duration":444,"tags":{},"startTime":1664296183784},{"traceId":"1979f6cbb13579d5","parentId":4952,"name":"webpack-compilation-seal","id":4960,"timestamp":2308410763137,"duration":12483,"tags":{},"startTime":1664296183773},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"webpack-compilation","id":4952,"timestamp":2308410735484,"duration":40213,"tags":{"name":"client"},"startTime":1664296183745},{"traceId":"1979f6cbb13579d5","parentId":4951,"name":"emit","id":4969,"timestamp":2308410775785,"duration":3073,"tags":{},"startTime":1664296183785},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4951,"timestamp":2308410438563,"duration":341938,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/components/react"},"startTime":1664296183448}] -[{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4974,"timestamp":2308422389228,"duration":32885,"tags":{"request":"private-next-pages/_error"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4975,"timestamp":2308422389238,"duration":32890,"tags":{"request":"private-next-pages/_document"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4977,"name":"next-swc-transform","id":4978,"timestamp":2308422421158,"duration":96341,"tags":{},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"next-swc-loader","id":4977,"timestamp":2308422421046,"duration":96477,"tags":{},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"build-module-js","id":4976,"timestamp":2308422420697,"duration":104387,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/pages/_app.js"},"startTime":1664296195431},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"build-module-/shared/lib/utils","id":4979,"timestamp":2308422527787,"duration":39,"tags":{"name":"../shared/lib/utils"},"startTime":1664296195538},{"traceId":"1979f6cbb13579d5","parentId":4980,"name":"read-resource","id":4981,"timestamp":2308422529106,"duration":733,"tags":{},"startTime":1664296195539},{"traceId":"1979f6cbb13579d5","parentId":4976,"name":"build-module-js","id":4980,"timestamp":2308422528854,"duration":2074,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/@swc/helpers/lib/_async_to_generator.js"},"startTime":1664296195539},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"add-entry","id":4973,"timestamp":2308422389092,"duration":141861,"tags":{"request":"private-next-pages/_app"},"startTime":1664296195399},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"make","id":4972,"timestamp":2308410785216,"duration":11745762,"tags":{},"startTime":1664296183795},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-chunk-graph","id":4983,"timestamp":2308422531860,"duration":208,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-modules","id":4985,"timestamp":2308422532086,"duration":4,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-chunks","id":4986,"timestamp":2308422532139,"duration":42,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize-tree","id":4987,"timestamp":2308422532217,"duration":16,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-optimize","id":4984,"timestamp":2308422532079,"duration":247,"tags":{},"startTime":1664296195542},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-hash","id":4988,"timestamp":2308422533983,"duration":1896,"tags":{},"startTime":1664296195544},{"traceId":"1979f6cbb13579d5","parentId":4971,"name":"webpack-compilation-seal","id":4982,"timestamp":2308422531209,"duration":7764,"tags":{},"startTime":1664296195541},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"webpack-compilation","id":4971,"timestamp":2308410784863,"duration":11754151,"tags":{"name":"server"},"startTime":1664296183795},{"traceId":"1979f6cbb13579d5","parentId":4970,"name":"emit","id":4989,"timestamp":2308422539054,"duration":2542,"tags":{},"startTime":1664296195549},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4970,"timestamp":2308410781160,"duration":11761148,"tags":{"trigger":"manual"},"startTime":1664296183791}] -[{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4994,"timestamp":2308480647784,"duration":14569,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4995,"timestamp":2308480647828,"duration":15875,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4998,"timestamp":2308480647843,"duration":16056,"tags":{"request":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4996,"timestamp":2308480647834,"duration":16301,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4999,"timestamp":2308480647847,"duration":18564,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664296253659},{"traceId":"1979f6cbb13579d5","parentId":5001,"name":"next-swc-transform","id":5002,"timestamp":2308480663512,"duration":11072,"tags":{},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":5000,"name":"next-swc-loader","id":5001,"timestamp":2308480663473,"duration":11117,"tags":{},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"build-module-tsx","id":5000,"timestamp":2308480663309,"duration":14502,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664296253674},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"read-resource","id":5004,"timestamp":2308480683921,"duration":568,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5005,"name":"postcss-process","id":5006,"timestamp":2308480684561,"duration":47337,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"postcss-loader","id":5005,"timestamp":2308480684525,"duration":47898,"tags":{},"startTime":1664296253695},{"traceId":"1979f6cbb13579d5","parentId":5003,"name":"css-loader","id":5007,"timestamp":2308480732469,"duration":16045,"tags":{"astUsed":"true"},"startTime":1664296253743},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"build-module-css","id":5003,"timestamp":2308480683776,"duration":71338,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/pyramation/code/cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664296253694},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"add-entry","id":4997,"timestamp":2308480647839,"duration":196014,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"make","id":4993,"timestamp":2308480647604,"duration":196278,"tags":{},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-chunk-graph","id":5009,"timestamp":2308480895084,"duration":51876,"tags":{},"startTime":1664296253906},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-modules","id":5011,"timestamp":2308480947002,"duration":4,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-chunks","id":5012,"timestamp":2308480947019,"duration":272,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize-tree","id":5013,"timestamp":2308480947326,"duration":4,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-optimize","id":5010,"timestamp":2308480946984,"duration":2138,"tags":{},"startTime":1664296253958},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-hash","id":5014,"timestamp":2308481000202,"duration":9262,"tags":{},"startTime":1664296254011},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"NextJsBuildManifest-generateClientManifest","id":5016,"timestamp":2308481026616,"duration":189,"tags":{},"startTime":1664296254037},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"NextJsBuildManifest-createassets","id":5015,"timestamp":2308481026483,"duration":331,"tags":{},"startTime":1664296254037},{"traceId":"1979f6cbb13579d5","parentId":4992,"name":"webpack-compilation-seal","id":5008,"timestamp":2308480890237,"duration":138728,"tags":{},"startTime":1664296253901},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"webpack-compilation","id":4992,"timestamp":2308480647344,"duration":381669,"tags":{"name":"client"},"startTime":1664296253658},{"traceId":"1979f6cbb13579d5","parentId":4990,"name":"emit","id":5017,"timestamp":2308481029038,"duration":211288,"tags":{},"startTime":1664296254040},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-client","id":4990,"timestamp":2308480631359,"duration":609735,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/package.json"},"startTime":1664296253642},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5021,"timestamp":2308481305825,"duration":99266,"tags":{"request":"private-next-pages/_error"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5022,"timestamp":2308481305830,"duration":99274,"tags":{"request":"private-next-pages/_document"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":5024,"name":"next-swc-transform","id":5025,"timestamp":2308481405533,"duration":19652,"tags":{},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5023,"name":"next-swc-loader","id":5024,"timestamp":2308481405467,"duration":19724,"tags":{},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"build-module-tsx","id":5023,"timestamp":2308481405318,"duration":21764,"tags":{"name":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/pages/_app.tsx"},"startTime":1664296254416},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"add-entry","id":5020,"timestamp":2308481305749,"duration":128283,"tags":{"request":"private-next-pages/_app"},"startTime":1664296254316},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"make","id":5019,"timestamp":2308481243992,"duration":190073,"tags":{},"startTime":1664296254255},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-chunk-graph","id":5027,"timestamp":2308481437661,"duration":393,"tags":{},"startTime":1664296254448},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-modules","id":5029,"timestamp":2308481438068,"duration":6,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-chunks","id":5030,"timestamp":2308481438084,"duration":41,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize-tree","id":5031,"timestamp":2308481438139,"duration":4,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-optimize","id":5028,"timestamp":2308481438063,"duration":176,"tags":{},"startTime":1664296254449},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-hash","id":5032,"timestamp":2308481443538,"duration":685,"tags":{},"startTime":1664296254454},{"traceId":"1979f6cbb13579d5","parentId":5018,"name":"webpack-compilation-seal","id":5026,"timestamp":2308481437569,"duration":7607,"tags":{},"startTime":1664296254448},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"webpack-compilation","id":5018,"timestamp":2308481243761,"duration":201438,"tags":{"name":"server"},"startTime":1664296254254},{"traceId":"1979f6cbb13579d5","parentId":4991,"name":"emit","id":5033,"timestamp":2308481445212,"duration":12163,"tags":{},"startTime":1664296254456},{"traceId":"1979f6cbb13579d5","parentId":1,"name":"webpack-invalidated-server","id":4991,"timestamp":2308480632894,"duration":825020,"tags":{"trigger":"/Users/pyramation/code/cosmology/create-cosmos-app/examples/tailwindcss/package.json"},"startTime":1664296253644}] +[{"traceId":"43f2de6d909a73f7","name":"hot-reloader","id":1,"timestamp":1670776274789,"duration":27,"tags":{"version":"12.2.5"},"startTime":1664593820180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"start","id":2,"timestamp":1670776275316,"duration":0,"tags":{},"startTime":1664593820181},{"traceId":"43f2de6d909a73f7","parentId":2,"name":"clean","id":3,"timestamp":1670776275338,"duration":15868,"tags":{},"startTime":1664593820181},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"get-page-paths","id":5,"timestamp":1670776291741,"duration":386,"tags":{},"startTime":1664593820197},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":1670776292138,"duration":185,"tags":{},"startTime":1664593820198},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"create-entrypoints","id":7,"timestamp":1670776292333,"duration":1129,"tags":{},"startTime":1664593820198},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":1670776293482,"duration":34898,"tags":{},"startTime":1664593820199},{"traceId":"43f2de6d909a73f7","parentId":2,"name":"get-webpack-config","id":4,"timestamp":1670776291697,"duration":36697,"tags":{},"startTime":1664593820197},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":11,"timestamp":1670776362488,"duration":470927,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":12,"timestamp":1670776362778,"duration":479787,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":15,"timestamp":1670776362817,"duration":485985,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":16,"timestamp":1670776362827,"duration":485987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":13,"timestamp":1670776362798,"duration":504274,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"read-resource","id":21,"timestamp":1670777034471,"duration":2698,"tags":{},"startTime":1664593820940},{"traceId":"43f2de6d909a73f7","parentId":18,"name":"next-swc-transform","id":19,"timestamp":1670776936418,"duration":114141,"tags":{},"startTime":1664593820842},{"traceId":"43f2de6d909a73f7","parentId":17,"name":"next-swc-loader","id":18,"timestamp":1670776936026,"duration":114541,"tags":{},"startTime":1664593820842},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"build-module-tsx","id":17,"timestamp":1670776928223,"duration":133557,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593820834},{"traceId":"43f2de6d909a73f7","parentId":22,"name":"postcss-process","id":23,"timestamp":1670777269583,"duration":229134,"tags":{},"startTime":1664593821175},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"postcss-loader","id":22,"timestamp":1670777037322,"duration":462495,"tags":{},"startTime":1664593820943},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"css-loader","id":24,"timestamp":1670777499961,"duration":30156,"tags":{"astUsed":"true"},"startTime":1664593821405},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"build-module-css","id":20,"timestamp":1670777032061,"duration":504400,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593820938},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":14,"timestamp":1670776362809,"duration":1398843,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":10,"timestamp":1670776361886,"duration":1399970,"tags":{},"startTime":1664593820267},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-chunk-graph","id":26,"timestamp":1670777799266,"duration":45339,"tags":{},"startTime":1664593821705},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-modules","id":28,"timestamp":1670777844671,"duration":14,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-chunks","id":29,"timestamp":1670777844724,"duration":474,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-tree","id":30,"timestamp":1670777845238,"duration":77,"tags":{},"startTime":1664593821751},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize","id":27,"timestamp":1670777844644,"duration":834,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-hash","id":31,"timestamp":1670777919517,"duration":13548,"tags":{},"startTime":1664593821825},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":33,"timestamp":1670778367939,"duration":638,"tags":{},"startTime":1664593822273},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"NextJsBuildManifest-createassets","id":32,"timestamp":1670778367414,"duration":1181,"tags":{},"startTime":1664593822273},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-seal","id":25,"timestamp":1670777793062,"duration":579309,"tags":{},"startTime":1664593821699},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":9,"timestamp":1670776357949,"duration":2014631,"tags":{"name":"client"},"startTime":1664593820263},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":34,"timestamp":1670778372841,"duration":249230,"tags":{},"startTime":1664593822278},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":39,"timestamp":1670778697933,"duration":113862,"tags":{"request":"private-next-pages/_error"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":38,"timestamp":1670778697919,"duration":113992,"tags":{"request":"private-next-pages/_document"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":41,"name":"next-swc-transform","id":42,"timestamp":1670778828349,"duration":3109,"tags":{},"startTime":1664593822734},{"traceId":"43f2de6d909a73f7","parentId":40,"name":"next-swc-loader","id":41,"timestamp":1670778828227,"duration":3257,"tags":{},"startTime":1664593822734},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"build-module-tsx","id":40,"timestamp":1670778827612,"duration":5815,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593822733},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":37,"timestamp":1670778697794,"duration":140948,"tags":{"request":"private-next-pages/_app"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":36,"timestamp":1670778632257,"duration":206581,"tags":{},"startTime":1664593822538},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-chunk-graph","id":44,"timestamp":1670778840037,"duration":736,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-modules","id":46,"timestamp":1670778840799,"duration":4,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-chunks","id":47,"timestamp":1670778840855,"duration":75,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-tree","id":48,"timestamp":1670778840962,"duration":13,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize","id":45,"timestamp":1670778840790,"duration":243,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-hash","id":49,"timestamp":1670778843676,"duration":1313,"tags":{},"startTime":1664593822749},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-seal","id":43,"timestamp":1670778839929,"duration":7898,"tags":{},"startTime":1664593822745},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":35,"timestamp":1670778629775,"duration":218184,"tags":{"name":"server"},"startTime":1664593822535},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":50,"timestamp":1670778848009,"duration":7804,"tags":{},"startTime":1664593822753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":52,"timestamp":1670778859532,"duration":1408,"tags":{},"startTime":1664593822765},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-chunk-graph","id":54,"timestamp":1670778861052,"duration":15,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-modules","id":56,"timestamp":1670778861076,"duration":100,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-chunks","id":57,"timestamp":1670778861190,"duration":7,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-tree","id":58,"timestamp":1670778861204,"duration":3,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize","id":55,"timestamp":1670778861072,"duration":151,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-hash","id":59,"timestamp":1670778861362,"duration":36,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-seal","id":53,"timestamp":1670778861031,"duration":584,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":51,"timestamp":1670778858639,"duration":2999,"tags":{"name":"edge-server"},"startTime":1664593822764},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":60,"timestamp":1670778861656,"duration":12027,"tags":{},"startTime":1664593822767}] +[{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":66,"timestamp":1670778891887,"duration":7233,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":67,"timestamp":1670778891931,"duration":8170,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"read-resource","id":73,"timestamp":1670778900491,"duration":155,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":74,"name":"postcss-process","id":75,"timestamp":1670778900672,"duration":34605,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"postcss-loader","id":74,"timestamp":1670778900660,"duration":34766,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"css-loader","id":76,"timestamp":1670778935445,"duration":8902,"tags":{"astUsed":"true"},"startTime":1664593822841},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"build-module-css","id":72,"timestamp":1670778900306,"duration":49569,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":71,"timestamp":1670778891971,"duration":58495,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":70,"timestamp":1670778891958,"duration":58525,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":68,"timestamp":1670778891943,"duration":64411,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":69,"timestamp":1670778891951,"duration":97570,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"make","id":65,"timestamp":1670778891663,"duration":97888,"tags":{},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-chunk-graph","id":78,"timestamp":1670778995167,"duration":26409,"tags":{},"startTime":1664593822901},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-modules","id":80,"timestamp":1670779021610,"duration":4,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-chunks","id":81,"timestamp":1670779021625,"duration":151,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-tree","id":82,"timestamp":1670779021797,"duration":6,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize","id":79,"timestamp":1670779021599,"duration":2189,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-hash","id":83,"timestamp":1670779037690,"duration":7795,"tags":{},"startTime":1664593822943},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"NextJsBuildManifest-generateClientManifest","id":85,"timestamp":1670779047057,"duration":95,"tags":{},"startTime":1664593822953},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"NextJsBuildManifest-createassets","id":84,"timestamp":1670779046862,"duration":296,"tags":{},"startTime":1664593822952},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-seal","id":77,"timestamp":1670778991598,"duration":56684,"tags":{},"startTime":1664593822897},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"webpack-compilation","id":64,"timestamp":1670778889105,"duration":159216,"tags":{"name":"client"},"startTime":1664593822795},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"emit","id":86,"timestamp":1670779048344,"duration":2201,"tags":{},"startTime":1664593822954},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":61,"timestamp":1670778876074,"duration":175109,"tags":{"trigger":"manual"},"startTime":1664593822782},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":91,"timestamp":1670779062701,"duration":5134,"tags":{"request":"private-next-pages/_error"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":90,"timestamp":1670779062691,"duration":5156,"tags":{"request":"private-next-pages/_document"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":89,"timestamp":1670779062651,"duration":5365,"tags":{"request":"private-next-pages/_app"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"make","id":88,"timestamp":1670779053463,"duration":14576,"tags":{},"startTime":1664593822959},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-chunk-graph","id":93,"timestamp":1670779068392,"duration":251,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-modules","id":95,"timestamp":1670779068656,"duration":4,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-chunks","id":96,"timestamp":1670779068670,"duration":27,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-tree","id":97,"timestamp":1670779068707,"duration":3,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize","id":94,"timestamp":1670779068651,"duration":138,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-hash","id":98,"timestamp":1670779069611,"duration":557,"tags":{},"startTime":1664593822975},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-seal","id":92,"timestamp":1670779068306,"duration":2212,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"webpack-compilation","id":87,"timestamp":1670779053180,"duration":17358,"tags":{"name":"server"},"startTime":1664593822959},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"emit","id":99,"timestamp":1670779070551,"duration":885,"tags":{},"startTime":1664593822976},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":62,"timestamp":1670778876195,"duration":195490,"tags":{"trigger":"manual"},"startTime":1664593822782},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"make","id":101,"timestamp":1670779072640,"duration":833,"tags":{},"startTime":1664593822978},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-chunk-graph","id":103,"timestamp":1670779073548,"duration":15,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-modules","id":105,"timestamp":1670779073572,"duration":24,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-chunks","id":106,"timestamp":1670779073607,"duration":7,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-tree","id":107,"timestamp":1670779073620,"duration":2,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize","id":104,"timestamp":1670779073569,"duration":72,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-hash","id":108,"timestamp":1670779073782,"duration":21,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-seal","id":102,"timestamp":1670779073529,"duration":424,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"webpack-compilation","id":100,"timestamp":1670779072300,"duration":1667,"tags":{"name":"edge-server"},"startTime":1664593822978},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"emit","id":109,"timestamp":1670779073976,"duration":548,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-edge-server","id":63,"timestamp":1670778876221,"duration":198707,"tags":{"trigger":"manual"},"startTime":1664593822782}] +[{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":114,"timestamp":1670779272251,"duration":4711,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":115,"timestamp":1670779272475,"duration":5496,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":119,"timestamp":1670779272519,"duration":6060,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":118,"timestamp":1670779272510,"duration":6244,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":116,"timestamp":1670779272498,"duration":12164,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":120,"timestamp":1670779272525,"duration":38528,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":117,"timestamp":1670779272505,"duration":47623,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"make","id":113,"timestamp":1670779261475,"duration":58685,"tags":{},"startTime":1664593823167},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-chunk-graph","id":122,"timestamp":1670779325643,"duration":4581,"tags":{},"startTime":1664593823231},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-modules","id":124,"timestamp":1670779330251,"duration":4,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-chunks","id":125,"timestamp":1670779330264,"duration":130,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-tree","id":126,"timestamp":1670779330410,"duration":3,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize","id":123,"timestamp":1670779330242,"duration":1221,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-hash","id":127,"timestamp":1670779343844,"duration":5045,"tags":{},"startTime":1664593823249},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"NextJsBuildManifest-generateClientManifest","id":129,"timestamp":1670779352026,"duration":205,"tags":{},"startTime":1664593823258},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"NextJsBuildManifest-createassets","id":128,"timestamp":1670779351967,"duration":272,"tags":{},"startTime":1664593823257},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-seal","id":121,"timestamp":1670779322134,"duration":33030,"tags":{},"startTime":1664593823228},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"webpack-compilation","id":112,"timestamp":1670779261059,"duration":94146,"tags":{"name":"client"},"startTime":1664593823167},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"emit","id":130,"timestamp":1670779355233,"duration":4830,"tags":{},"startTime":1664593823261},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":110,"timestamp":1670779254314,"duration":106346,"tags":{"trigger":"manual"},"startTime":1664593823160},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":135,"timestamp":1670779372311,"duration":5287,"tags":{"request":"private-next-pages/_error"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":134,"timestamp":1670779372304,"duration":5304,"tags":{"request":"private-next-pages/_document"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":133,"timestamp":1670779372261,"duration":5627,"tags":{"request":"private-next-pages/_app"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":138,"name":"next-swc-transform","id":139,"timestamp":1670779379369,"duration":2003,"tags":{},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":137,"name":"next-swc-loader","id":138,"timestamp":1670779379309,"duration":2071,"tags":{},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"build-module-ts","id":137,"timestamp":1670779379116,"duration":3203,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":136,"timestamp":1670779372313,"duration":10096,"tags":{"request":"./pages/index.tsx"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"make","id":132,"timestamp":1670779362379,"duration":20047,"tags":{},"startTime":1664593823268},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-chunk-graph","id":141,"timestamp":1670779382706,"duration":254,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-modules","id":143,"timestamp":1670779382970,"duration":4,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-chunks","id":144,"timestamp":1670779382983,"duration":27,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-tree","id":145,"timestamp":1670779383019,"duration":2,"tags":{},"startTime":1664593823289},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize","id":142,"timestamp":1670779382966,"duration":115,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-hash","id":146,"timestamp":1670779384241,"duration":622,"tags":{},"startTime":1664593823290},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-seal","id":140,"timestamp":1670779382638,"duration":3299,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"webpack-compilation","id":131,"timestamp":1670779362107,"duration":23852,"tags":{"name":"server"},"startTime":1664593823268},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"emit","id":147,"timestamp":1670779385977,"duration":4820,"tags":{},"startTime":1664593823291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":111,"timestamp":1670779254428,"duration":136835,"tags":{"trigger":"manual"},"startTime":1664593823160}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":148,"timestamp":1670780955201,"duration":0,"tags":{},"startTime":1664593824861},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":153,"timestamp":1670791974696,"duration":6267,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":154,"timestamp":1670791974782,"duration":7581,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"read-resource","id":161,"timestamp":1670791983460,"duration":79,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":162,"name":"postcss-process","id":163,"timestamp":1670791983717,"duration":41981,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"postcss-loader","id":162,"timestamp":1670791983641,"duration":42545,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"css-loader","id":164,"timestamp":1670792026255,"duration":12609,"tags":{"astUsed":"true"},"startTime":1664593835932},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"build-module-css","id":160,"timestamp":1670791982599,"duration":65158,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593835888},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":158,"timestamp":1670791974802,"duration":74680,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":157,"timestamp":1670791974798,"duration":74727,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":166,"name":"next-swc-transform","id":167,"timestamp":1670792051011,"duration":2757,"tags":{},"startTime":1664593835957},{"traceId":"43f2de6d909a73f7","parentId":165,"name":"next-swc-loader","id":166,"timestamp":1670792050644,"duration":3131,"tags":{},"startTime":1664593835956},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"build-module-tsx","id":165,"timestamp":1670792050348,"duration":6745,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835956},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":159,"timestamp":1670791974804,"duration":85421,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":155,"timestamp":1670791974787,"duration":86040,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":156,"timestamp":1670791974792,"duration":123171,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"make","id":152,"timestamp":1670791972715,"duration":125379,"tags":{},"startTime":1664593835878},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-chunk-graph","id":169,"timestamp":1670792104890,"duration":20490,"tags":{},"startTime":1664593836010},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-modules","id":171,"timestamp":1670792125434,"duration":13,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-chunks","id":172,"timestamp":1670792125485,"duration":290,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-tree","id":173,"timestamp":1670792125817,"duration":98,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize","id":170,"timestamp":1670792125416,"duration":4433,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-hash","id":174,"timestamp":1670792142848,"duration":10854,"tags":{},"startTime":1664593836048},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"NextJsBuildManifest-generateClientManifest","id":176,"timestamp":1670792165547,"duration":363,"tags":{},"startTime":1664593836071},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"NextJsBuildManifest-createassets","id":175,"timestamp":1670792165282,"duration":639,"tags":{},"startTime":1664593836071},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-seal","id":168,"timestamp":1670792100659,"duration":67609,"tags":{},"startTime":1664593836006},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"webpack-compilation","id":151,"timestamp":1670791969992,"duration":198412,"tags":{"name":"client"},"startTime":1664593835876},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"emit","id":177,"timestamp":1670792168625,"duration":114583,"tags":{},"startTime":1664593836074},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":149,"timestamp":1670791942877,"duration":341663,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":180,"timestamp":1670792301387,"duration":0,"tags":{},"startTime":1664593836207},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":184,"timestamp":1670792304550,"duration":4216,"tags":{"request":"./pages/index.tsx"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":183,"timestamp":1670792304548,"duration":5006,"tags":{"request":"private-next-pages/_error"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":182,"timestamp":1670792304543,"duration":5022,"tags":{"request":"private-next-pages/_document"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":186,"name":"next-swc-transform","id":187,"timestamp":1670792309143,"duration":767,"tags":{},"startTime":1664593836215},{"traceId":"43f2de6d909a73f7","parentId":185,"name":"next-swc-loader","id":186,"timestamp":1670792309040,"duration":872,"tags":{},"startTime":1664593836215},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"build-module-tsx","id":185,"timestamp":1670792308842,"duration":2759,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593836214},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":181,"timestamp":1670792304483,"duration":7608,"tags":{"request":"private-next-pages/_app"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"make","id":179,"timestamp":1670792288185,"duration":23926,"tags":{},"startTime":1664593836194},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-chunk-graph","id":189,"timestamp":1670792312485,"duration":328,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-modules","id":191,"timestamp":1670792312823,"duration":2,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-chunks","id":192,"timestamp":1670792312834,"duration":29,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-tree","id":193,"timestamp":1670792312871,"duration":3,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize","id":190,"timestamp":1670792312819,"duration":118,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-hash","id":194,"timestamp":1670792314349,"duration":1022,"tags":{},"startTime":1664593836220},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-seal","id":188,"timestamp":1670792312418,"duration":4314,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"webpack-compilation","id":178,"timestamp":1670792287785,"duration":28975,"tags":{"name":"server"},"startTime":1664593836193},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":196,"timestamp":1664593835849999,"duration":380000,"tags":{"clientId":1664593824381},"startTime":1664593836231},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"emit","id":195,"timestamp":1670792316787,"duration":18878,"tags":{},"startTime":1664593836222},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":150,"timestamp":1670791943747,"duration":393286,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835849}] +[{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":201,"timestamp":1670802777972,"duration":5222,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":202,"timestamp":1670802778104,"duration":6510,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"read-resource","id":209,"timestamp":1670802784909,"duration":60,"tags":{},"startTime":1664593846690},{"traceId":"43f2de6d909a73f7","parentId":210,"name":"postcss-process","id":211,"timestamp":1670802785001,"duration":37519,"tags":{},"startTime":1664593846691},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"postcss-loader","id":210,"timestamp":1670802784987,"duration":37705,"tags":{},"startTime":1664593846691},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"css-loader","id":212,"timestamp":1670802822716,"duration":10169,"tags":{"astUsed":"true"},"startTime":1664593846728},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"build-module-css","id":208,"timestamp":1670802784744,"duration":53821,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593846690},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":206,"timestamp":1670802778125,"duration":61065,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":205,"timestamp":1670802778120,"duration":61085,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":214,"name":"next-swc-transform","id":215,"timestamp":1670802839743,"duration":1882,"tags":{},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":213,"name":"next-swc-loader","id":214,"timestamp":1670802839701,"duration":1928,"tags":{},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"build-module-tsx","id":213,"timestamp":1670802839585,"duration":4105,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":207,"timestamp":1670802778128,"duration":68255,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":203,"timestamp":1670802778111,"duration":68718,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":204,"timestamp":1670802778116,"duration":97905,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"make","id":200,"timestamp":1670802774025,"duration":102028,"tags":{},"startTime":1664593846680},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-chunk-graph","id":217,"timestamp":1670802881368,"duration":19056,"tags":{},"startTime":1664593846787},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-modules","id":219,"timestamp":1670802900454,"duration":2,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-chunks","id":220,"timestamp":1670802900470,"duration":111,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-tree","id":221,"timestamp":1670802900601,"duration":3,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize","id":218,"timestamp":1670802900445,"duration":1678,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-hash","id":222,"timestamp":1670802912838,"duration":7918,"tags":{},"startTime":1664593846818},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"NextJsBuildManifest-generateClientManifest","id":224,"timestamp":1670802929108,"duration":56,"tags":{},"startTime":1664593846835},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"NextJsBuildManifest-createassets","id":223,"timestamp":1670802929041,"duration":132,"tags":{},"startTime":1664593846835},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-seal","id":216,"timestamp":1670802877790,"duration":53227,"tags":{},"startTime":1664593846783},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"webpack-compilation","id":199,"timestamp":1670802773748,"duration":157304,"tags":{"name":"client"},"startTime":1664593846679},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"emit","id":225,"timestamp":1670802931071,"duration":93139,"tags":{},"startTime":1664593846837},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":197,"timestamp":1670802754297,"duration":270936,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846660},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":231,"timestamp":1670803051474,"duration":0,"tags":{},"startTime":1664593846957},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":230,"timestamp":1670803039947,"duration":16926,"tags":{"request":"private-next-pages/_error"},"startTime":1664593846946},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":229,"timestamp":1670803039914,"duration":16972,"tags":{"request":"private-next-pages/_document"},"startTime":1664593846946},{"traceId":"43f2de6d909a73f7","parentId":233,"name":"next-swc-transform","id":234,"timestamp":1670803056615,"duration":786,"tags":{},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":232,"name":"next-swc-loader","id":233,"timestamp":1670803056521,"duration":884,"tags":{},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"build-module-tsx","id":232,"timestamp":1670803056314,"duration":2539,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":228,"timestamp":1670803039856,"duration":19649,"tags":{"request":"private-next-pages/_app"},"startTime":1664593846945},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"make","id":227,"timestamp":1670803027310,"duration":32214,"tags":{},"startTime":1664593846933},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-chunk-graph","id":236,"timestamp":1670803059965,"duration":295,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-modules","id":238,"timestamp":1670803060273,"duration":3,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-chunks","id":239,"timestamp":1670803060285,"duration":45,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-tree","id":240,"timestamp":1670803060342,"duration":3,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize","id":237,"timestamp":1670803060269,"duration":174,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-hash","id":241,"timestamp":1670803062035,"duration":746,"tags":{},"startTime":1664593846968},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-seal","id":235,"timestamp":1670803059892,"duration":5371,"tags":{},"startTime":1664593846965},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"webpack-compilation","id":226,"timestamp":1670803026924,"duration":38370,"tags":{"name":"server"},"startTime":1664593846933},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"emit","id":242,"timestamp":1670803065312,"duration":3324,"tags":{},"startTime":1664593846971},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":198,"timestamp":1670802754594,"duration":314510,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846660}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":243,"timestamp":1664593846660999,"duration":319000,"tags":{"clientId":1664593824381},"startTime":1664593846981},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":250,"timestamp":1670808096633,"duration":6788,"tags":{"request":"private-next-pages/_error"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":249,"timestamp":1670808096629,"duration":6811,"tags":{"request":"private-next-pages/_document"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":252,"name":"next-swc-transform","id":253,"timestamp":1670808103176,"duration":722,"tags":{},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":251,"name":"next-swc-loader","id":252,"timestamp":1670808103122,"duration":781,"tags":{},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"build-module-tsx","id":251,"timestamp":1670808102981,"duration":1910,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":248,"timestamp":1670808096588,"duration":8537,"tags":{"request":"private-next-pages/_app"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"make","id":247,"timestamp":1670808096359,"duration":8792,"tags":{},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-chunk-graph","id":255,"timestamp":1670808105478,"duration":249,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-modules","id":257,"timestamp":1670808105738,"duration":2,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-chunks","id":258,"timestamp":1670808105751,"duration":24,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-tree","id":259,"timestamp":1670808105785,"duration":3,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize","id":256,"timestamp":1670808105734,"duration":95,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-hash","id":260,"timestamp":1670808106845,"duration":422,"tags":{},"startTime":1664593852012},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-seal","id":254,"timestamp":1670808105407,"duration":2447,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"webpack-compilation","id":246,"timestamp":1670808096166,"duration":11708,"tags":{"name":"server"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"emit","id":261,"timestamp":1670808107885,"duration":1287,"tags":{},"startTime":1664593852013},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":244,"timestamp":1670808088988,"duration":20412,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593851995},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":264,"timestamp":1670808115275,"duration":5299,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":265,"timestamp":1670808115304,"duration":5848,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"read-resource","id":272,"timestamp":1670808121399,"duration":39,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":273,"name":"postcss-process","id":274,"timestamp":1670808121469,"duration":34555,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"postcss-loader","id":273,"timestamp":1670808121456,"duration":34745,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"css-loader","id":275,"timestamp":1670808156229,"duration":8609,"tags":{"astUsed":"true"},"startTime":1664593852062},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"build-module-css","id":271,"timestamp":1670808121255,"duration":44800,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":269,"timestamp":1670808115320,"duration":51280,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":268,"timestamp":1670808115314,"duration":51304,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":277,"name":"next-swc-transform","id":278,"timestamp":1670808167410,"duration":2086,"tags":{},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":276,"name":"next-swc-loader","id":277,"timestamp":1670808167368,"duration":2134,"tags":{},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"build-module-tsx","id":276,"timestamp":1670808167023,"duration":4315,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":270,"timestamp":1670808115322,"duration":58143,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":266,"timestamp":1670808115309,"duration":58600,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":267,"timestamp":1670808115311,"duration":88871,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"make","id":263,"timestamp":1670808114077,"duration":90140,"tags":{},"startTime":1664593852020},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-chunk-graph","id":280,"timestamp":1670808209068,"duration":16464,"tags":{},"startTime":1664593852115},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-modules","id":282,"timestamp":1670808225567,"duration":3,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-chunks","id":283,"timestamp":1670808225582,"duration":97,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-tree","id":284,"timestamp":1670808225697,"duration":3,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize","id":281,"timestamp":1670808225558,"duration":1628,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-hash","id":285,"timestamp":1670808238530,"duration":4408,"tags":{},"startTime":1664593852144},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"NextJsBuildManifest-generateClientManifest","id":287,"timestamp":1670808253379,"duration":53,"tags":{},"startTime":1664593852159},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"NextJsBuildManifest-createassets","id":286,"timestamp":1670808253305,"duration":136,"tags":{},"startTime":1664593852159},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-seal","id":279,"timestamp":1670808205754,"duration":49288,"tags":{},"startTime":1664593852111},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"webpack-compilation","id":262,"timestamp":1670808113893,"duration":141194,"tags":{"name":"client"},"startTime":1664593852020},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"emit","id":288,"timestamp":1670808255104,"duration":89365,"tags":{},"startTime":1664593852161},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":245,"timestamp":1670808089147,"duration":256574,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593851995}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":289,"timestamp":1670808371402,"duration":0,"tags":{},"startTime":1664593852277},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":290,"timestamp":1664593851995000,"duration":291000,"tags":{"clientId":1664593824381},"startTime":1664593852286},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":295,"timestamp":1670814578242,"duration":4393,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":296,"timestamp":1670814578316,"duration":4986,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"read-resource","id":303,"timestamp":1670814583634,"duration":50,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":304,"name":"postcss-process","id":305,"timestamp":1670814583717,"duration":30948,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"postcss-loader","id":304,"timestamp":1670814583701,"duration":31167,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"css-loader","id":306,"timestamp":1670814614895,"duration":10488,"tags":{"astUsed":"true"},"startTime":1664593858521},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"build-module-css","id":302,"timestamp":1670814583428,"duration":43549,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":300,"timestamp":1670814578333,"duration":49124,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":299,"timestamp":1670814578329,"duration":49145,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":308,"name":"next-swc-transform","id":309,"timestamp":1670814628040,"duration":2150,"tags":{},"startTime":1664593858534},{"traceId":"43f2de6d909a73f7","parentId":307,"name":"next-swc-loader","id":308,"timestamp":1670814627956,"duration":2243,"tags":{},"startTime":1664593858534},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"build-module-tsx","id":307,"timestamp":1670814627845,"duration":4077,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858533},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":301,"timestamp":1670814578336,"duration":55739,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":297,"timestamp":1670814578322,"duration":56240,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":298,"timestamp":1670814578326,"duration":86950,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"make","id":294,"timestamp":1670814577051,"duration":88262,"tags":{},"startTime":1664593858483},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-chunk-graph","id":311,"timestamp":1670814670791,"duration":17747,"tags":{},"startTime":1664593858576},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-modules","id":313,"timestamp":1670814688572,"duration":3,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-chunks","id":314,"timestamp":1670814688585,"duration":340,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-tree","id":315,"timestamp":1670814688945,"duration":4,"tags":{},"startTime":1664593858595},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize","id":312,"timestamp":1670814688562,"duration":1835,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-hash","id":316,"timestamp":1670814701796,"duration":5084,"tags":{},"startTime":1664593858607},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"NextJsBuildManifest-generateClientManifest","id":318,"timestamp":1670814717411,"duration":65,"tags":{},"startTime":1664593858623},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"NextJsBuildManifest-createassets","id":317,"timestamp":1670814717315,"duration":172,"tags":{},"startTime":1664593858623},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-seal","id":310,"timestamp":1670814667226,"duration":52236,"tags":{},"startTime":1664593858573},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"webpack-compilation","id":293,"timestamp":1670814576796,"duration":142752,"tags":{"name":"client"},"startTime":1664593858482},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"emit","id":319,"timestamp":1670814719580,"duration":93325,"tags":{},"startTime":1664593858625},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":291,"timestamp":1670814561107,"duration":252505,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858467},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":325,"timestamp":1670814839667,"duration":0,"tags":{},"startTime":1664593858745},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":324,"timestamp":1670814829168,"duration":16177,"tags":{"request":"private-next-pages/_error"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":323,"timestamp":1670814829162,"duration":16203,"tags":{"request":"private-next-pages/_document"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":327,"name":"next-swc-transform","id":328,"timestamp":1670814844790,"duration":1194,"tags":{},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":326,"name":"next-swc-loader","id":327,"timestamp":1670814844622,"duration":1369,"tags":{},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"build-module-tsx","id":326,"timestamp":1670814844433,"duration":2981,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":322,"timestamp":1670814829109,"duration":19398,"tags":{"request":"private-next-pages/_app"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"make","id":321,"timestamp":1670814817849,"duration":30685,"tags":{},"startTime":1664593858723},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-chunk-graph","id":330,"timestamp":1670814849065,"duration":326,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-modules","id":332,"timestamp":1670814849411,"duration":2,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-chunks","id":333,"timestamp":1670814849423,"duration":27,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-tree","id":334,"timestamp":1670814849465,"duration":3,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize","id":331,"timestamp":1670814849406,"duration":146,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-hash","id":335,"timestamp":1670814851151,"duration":726,"tags":{},"startTime":1664593858757},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-seal","id":329,"timestamp":1670814848969,"duration":4087,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"webpack-compilation","id":320,"timestamp":1670814817585,"duration":35519,"tags":{"name":"server"},"startTime":1664593858723},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"emit","id":336,"timestamp":1670814853124,"duration":3841,"tags":{},"startTime":1664593858759},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":292,"timestamp":1670814561414,"duration":296007,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858467}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":337,"timestamp":1664593858468999,"duration":292999,"tags":{"clientId":1664593824381},"startTime":1664593858764},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":342,"timestamp":1670821086288,"duration":4007,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":343,"timestamp":1670821086337,"duration":4669,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"read-resource","id":350,"timestamp":1670821091278,"duration":50,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":351,"name":"postcss-process","id":352,"timestamp":1670821091372,"duration":34554,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"postcss-loader","id":351,"timestamp":1670821091349,"duration":34758,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"css-loader","id":353,"timestamp":1670821126138,"duration":8853,"tags":{"astUsed":"true"},"startTime":1664593865032},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"build-module-css","id":349,"timestamp":1670821091115,"duration":45192,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":347,"timestamp":1670821086353,"duration":52268,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":346,"timestamp":1670821086348,"duration":52289,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":355,"name":"next-swc-transform","id":356,"timestamp":1670821139682,"duration":2159,"tags":{},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":354,"name":"next-swc-loader","id":355,"timestamp":1670821139604,"duration":2245,"tags":{},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"build-module-tsx","id":354,"timestamp":1670821139327,"duration":4053,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":348,"timestamp":1670821086355,"duration":59541,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":344,"timestamp":1670821086341,"duration":60083,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":345,"timestamp":1670821086345,"duration":92718,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"make","id":341,"timestamp":1670821085018,"duration":94085,"tags":{},"startTime":1664593864991},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-chunk-graph","id":358,"timestamp":1670821183844,"duration":17191,"tags":{},"startTime":1664593865090},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-modules","id":360,"timestamp":1670821201065,"duration":2,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-chunks","id":361,"timestamp":1670821201076,"duration":37,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-tree","id":362,"timestamp":1670821201136,"duration":3,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize","id":359,"timestamp":1670821201057,"duration":1511,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-hash","id":363,"timestamp":1670821214950,"duration":4700,"tags":{},"startTime":1664593865121},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"NextJsBuildManifest-generateClientManifest","id":365,"timestamp":1670821234932,"duration":180,"tags":{},"startTime":1664593865141},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"NextJsBuildManifest-createassets","id":364,"timestamp":1670821234860,"duration":265,"tags":{},"startTime":1664593865141},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-seal","id":357,"timestamp":1670821180344,"duration":57476,"tags":{},"startTime":1664593865086},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"webpack-compilation","id":340,"timestamp":1670821083458,"duration":154576,"tags":{"name":"client"},"startTime":1664593864989},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"emit","id":366,"timestamp":1670821238066,"duration":102328,"tags":{},"startTime":1664593865144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":338,"timestamp":1670821068386,"duration":272989,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593864974},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":372,"timestamp":1670821356055,"duration":0,"tags":{},"startTime":1664593865262},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":371,"timestamp":1670821355378,"duration":5595,"tags":{"request":"private-next-pages/_error"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":370,"timestamp":1670821355373,"duration":5612,"tags":{"request":"private-next-pages/_document"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":374,"name":"next-swc-transform","id":375,"timestamp":1670821360492,"duration":756,"tags":{},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":373,"name":"next-swc-loader","id":374,"timestamp":1670821360263,"duration":987,"tags":{},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"build-module-tsx","id":373,"timestamp":1670821360115,"duration":2242,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":369,"timestamp":1670821355304,"duration":7722,"tags":{"request":"private-next-pages/_app"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"make","id":368,"timestamp":1670821344750,"duration":18292,"tags":{},"startTime":1664593865250},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-chunk-graph","id":377,"timestamp":1670821363412,"duration":229,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-modules","id":379,"timestamp":1670821363651,"duration":2,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-chunks","id":380,"timestamp":1670821363662,"duration":23,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-tree","id":381,"timestamp":1670821363694,"duration":2,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize","id":378,"timestamp":1670821363647,"duration":103,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-hash","id":382,"timestamp":1670821364727,"duration":421,"tags":{},"startTime":1664593865270},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-seal","id":376,"timestamp":1670821363350,"duration":3987,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"webpack-compilation","id":367,"timestamp":1670821344387,"duration":22980,"tags":{"name":"server"},"startTime":1664593865250},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"emit","id":383,"timestamp":1670821367461,"duration":2013,"tags":{},"startTime":1664593865273},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":339,"timestamp":1670821068660,"duration":301243,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593864974}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":384,"timestamp":1664593864975000,"duration":304999,"tags":{"clientId":1664593824381},"startTime":1664593865280},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":389,"timestamp":1670825072044,"duration":3733,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":390,"timestamp":1670825072092,"duration":4359,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"read-resource","id":397,"timestamp":1670825076718,"duration":40,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":398,"name":"postcss-process","id":399,"timestamp":1670825076795,"duration":33099,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"postcss-loader","id":398,"timestamp":1670825076775,"duration":33330,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"css-loader","id":400,"timestamp":1670825110135,"duration":8139,"tags":{"astUsed":"true"},"startTime":1664593869016},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"build-module-css","id":396,"timestamp":1670825076570,"duration":43112,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":394,"timestamp":1670825072105,"duration":48267,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":393,"timestamp":1670825072102,"duration":48290,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":402,"name":"next-swc-transform","id":403,"timestamp":1670825121129,"duration":2456,"tags":{},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":401,"name":"next-swc-loader","id":402,"timestamp":1670825121044,"duration":2546,"tags":{},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"build-module-tsx","id":401,"timestamp":1670825120890,"duration":4193,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":395,"timestamp":1670825072108,"duration":57184,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":391,"timestamp":1670825072096,"duration":57578,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":392,"timestamp":1670825072099,"duration":87563,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"make","id":388,"timestamp":1670825069126,"duration":90574,"tags":{},"startTime":1664593868975},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-chunk-graph","id":405,"timestamp":1670825164689,"duration":16457,"tags":{},"startTime":1664593869070},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-modules","id":407,"timestamp":1670825181182,"duration":3,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-chunks","id":408,"timestamp":1670825181197,"duration":47,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-tree","id":409,"timestamp":1670825181261,"duration":3,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize","id":406,"timestamp":1670825181174,"duration":1415,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-hash","id":410,"timestamp":1670825193596,"duration":4635,"tags":{},"startTime":1664593869099},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"NextJsBuildManifest-generateClientManifest","id":412,"timestamp":1670825208730,"duration":61,"tags":{},"startTime":1664593869114},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"NextJsBuildManifest-createassets","id":411,"timestamp":1670825208655,"duration":149,"tags":{},"startTime":1664593869114},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-seal","id":404,"timestamp":1670825161163,"duration":49514,"tags":{},"startTime":1664593869067},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"webpack-compilation","id":387,"timestamp":1670825068903,"duration":141821,"tags":{"name":"client"},"startTime":1664593868975},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"emit","id":413,"timestamp":1670825210765,"duration":90410,"tags":{},"startTime":1664593869116},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":385,"timestamp":1670825055421,"duration":246753,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593868961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":419,"timestamp":1670825328793,"duration":0,"tags":{},"startTime":1664593869235},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":418,"timestamp":1670825315673,"duration":18104,"tags":{"request":"private-next-pages/_error"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":417,"timestamp":1670825315667,"duration":18123,"tags":{"request":"private-next-pages/_document"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":421,"name":"next-swc-transform","id":422,"timestamp":1670825333490,"duration":1853,"tags":{},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":420,"name":"next-swc-loader","id":421,"timestamp":1670825333369,"duration":1986,"tags":{},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"build-module-tsx","id":420,"timestamp":1670825333230,"duration":3729,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":416,"timestamp":1670825315608,"duration":21716,"tags":{"request":"private-next-pages/_app"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"make","id":415,"timestamp":1670825304719,"duration":32627,"tags":{},"startTime":1664593869210},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-chunk-graph","id":424,"timestamp":1670825337750,"duration":268,"tags":{},"startTime":1664593869243},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-modules","id":426,"timestamp":1670825338031,"duration":2,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-chunks","id":427,"timestamp":1670825338045,"duration":25,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-tree","id":428,"timestamp":1670825338081,"duration":8,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize","id":425,"timestamp":1670825338027,"duration":123,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-hash","id":429,"timestamp":1670825339300,"duration":465,"tags":{},"startTime":1664593869245},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-seal","id":423,"timestamp":1670825337671,"duration":3011,"tags":{},"startTime":1664593869243},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"webpack-compilation","id":414,"timestamp":1670825304278,"duration":36428,"tags":{"name":"server"},"startTime":1664593869210},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"emit","id":430,"timestamp":1670825340721,"duration":2566,"tags":{},"startTime":1664593869246},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":386,"timestamp":1670825055704,"duration":287973,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593868961}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":431,"timestamp":1664593868961999,"duration":292000,"tags":{"clientId":1664593824381},"startTime":1664593869255},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":436,"timestamp":1670856018717,"duration":8139,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":441,"timestamp":1670856019616,"duration":8940,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"read-resource","id":444,"timestamp":1670856028356,"duration":961,"tags":{},"startTime":1664593899934},{"traceId":"43f2de6d909a73f7","parentId":448,"name":"postcss-process","id":449,"timestamp":1670856029392,"duration":41111,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"postcss-loader","id":448,"timestamp":1670856029374,"duration":41573,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"css-loader","id":450,"timestamp":1670856070997,"duration":12238,"tags":{"astUsed":"true"},"startTime":1664593899977},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"build-module-css","id":443,"timestamp":1670856028118,"duration":62216,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593899934},{"traceId":"43f2de6d909a73f7","parentId":446,"name":"next-swc-transform","id":447,"timestamp":1670856029218,"duration":63266,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":445,"name":"next-swc-loader","id":446,"timestamp":1670856029141,"duration":63351,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"build-module-tsx","id":445,"timestamp":1670856028926,"duration":67816,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":437,"timestamp":1670856019598,"duration":78764,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":440,"timestamp":1670856019613,"duration":79974,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":442,"timestamp":1670856019618,"duration":87812,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":438,"timestamp":1670856019605,"duration":139461,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":439,"timestamp":1670856019607,"duration":370556,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"make","id":435,"timestamp":1670856017510,"duration":372740,"tags":{},"startTime":1664593899923},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-chunk-graph","id":452,"timestamp":1670856397055,"duration":19300,"tags":{},"startTime":1664593900303},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-modules","id":454,"timestamp":1670856416404,"duration":14,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-chunks","id":455,"timestamp":1670856416456,"duration":70,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-tree","id":456,"timestamp":1670856416565,"duration":16,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize","id":453,"timestamp":1670856416389,"duration":1540,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-hash","id":457,"timestamp":1670856430779,"duration":8378,"tags":{},"startTime":1664593900337},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"NextJsBuildManifest-generateClientManifest","id":459,"timestamp":1670856449644,"duration":201,"tags":{},"startTime":1664593900355},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"NextJsBuildManifest-createassets","id":458,"timestamp":1670856449455,"duration":401,"tags":{},"startTime":1664593900355},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-seal","id":451,"timestamp":1670856391917,"duration":60045,"tags":{},"startTime":1664593900298},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"webpack-compilation","id":434,"timestamp":1670856016651,"duration":435366,"tags":{"name":"client"},"startTime":1664593899922},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"emit","id":460,"timestamp":1670856452094,"duration":136755,"tags":{},"startTime":1664593900358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":432,"timestamp":1670855999332,"duration":590939,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899905},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":466,"timestamp":1670856605709,"duration":0,"tags":{},"startTime":1664593900512},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":465,"timestamp":1670856605038,"duration":8749,"tags":{"request":"private-next-pages/_error"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":464,"timestamp":1670856605033,"duration":8766,"tags":{"request":"private-next-pages/_document"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":468,"name":"next-swc-transform","id":469,"timestamp":1670856612826,"duration":1015,"tags":{},"startTime":1664593900519},{"traceId":"43f2de6d909a73f7","parentId":467,"name":"next-swc-loader","id":468,"timestamp":1670856612760,"duration":1082,"tags":{},"startTime":1664593900519},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"build-module-tsx","id":467,"timestamp":1670856612632,"duration":4768,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593900518},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":470,"timestamp":1664593899905999,"duration":615000,"tags":{"clientId":1664593824381},"startTime":1664593900524},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":463,"timestamp":1670856604970,"duration":27083,"tags":{"request":"private-next-pages/_app"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"make","id":462,"timestamp":1670856593836,"duration":38249,"tags":{},"startTime":1664593900500},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-chunk-graph","id":472,"timestamp":1670856632600,"duration":261,"tags":{},"startTime":1664593900538},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-modules","id":474,"timestamp":1670856632873,"duration":2,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-chunks","id":475,"timestamp":1670856632915,"duration":38,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-tree","id":476,"timestamp":1670856632978,"duration":18,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize","id":473,"timestamp":1670856632869,"duration":218,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-hash","id":477,"timestamp":1670856634616,"duration":978,"tags":{},"startTime":1664593900540},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-seal","id":471,"timestamp":1670856632491,"duration":4587,"tags":{},"startTime":1664593900538},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"webpack-compilation","id":461,"timestamp":1670856593353,"duration":43753,"tags":{"name":"server"},"startTime":1664593900499},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"emit","id":478,"timestamp":1670856637131,"duration":1975,"tags":{},"startTime":1664593900543},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":433,"timestamp":1670855999761,"duration":640397,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899906}] +[{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":483,"timestamp":1670867827639,"duration":6735,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":484,"timestamp":1670867827722,"duration":7884,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"read-resource","id":491,"timestamp":1670867836077,"duration":57,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":492,"name":"postcss-process","id":493,"timestamp":1670867836266,"duration":39935,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"postcss-loader","id":492,"timestamp":1670867836190,"duration":40502,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"css-loader","id":494,"timestamp":1670867876739,"duration":13359,"tags":{"astUsed":"true"},"startTime":1664593911783},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"build-module-css","id":490,"timestamp":1670867835788,"duration":61632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":488,"timestamp":1670867827737,"duration":71472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":487,"timestamp":1670867827734,"duration":71516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":489,"timestamp":1670867827739,"duration":92244,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":485,"timestamp":1670867827727,"duration":95354,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":496,"name":"next-swc-transform","id":497,"timestamp":1670867923339,"duration":7657,"tags":{},"startTime":1664593911829},{"traceId":"43f2de6d909a73f7","parentId":495,"name":"next-swc-loader","id":496,"timestamp":1670867923101,"duration":7906,"tags":{},"startTime":1664593911829},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"build-module-tsx","id":495,"timestamp":1670867920938,"duration":17603,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911827},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":486,"timestamp":1670867827730,"duration":189965,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"make","id":482,"timestamp":1670867825770,"duration":191979,"tags":{},"startTime":1664593911732},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-chunk-graph","id":499,"timestamp":1670868024049,"duration":19367,"tags":{},"startTime":1664593911930},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-modules","id":501,"timestamp":1670868043515,"duration":13,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-chunks","id":502,"timestamp":1670868043569,"duration":124,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-tree","id":503,"timestamp":1670868043735,"duration":35,"tags":{},"startTime":1664593911950},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize","id":500,"timestamp":1670868043469,"duration":1998,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-hash","id":504,"timestamp":1670868060349,"duration":7544,"tags":{},"startTime":1664593911966},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"NextJsBuildManifest-generateClientManifest","id":506,"timestamp":1670868079920,"duration":187,"tags":{},"startTime":1664593911986},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"NextJsBuildManifest-createassets","id":505,"timestamp":1670868079739,"duration":379,"tags":{},"startTime":1664593911986},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-seal","id":498,"timestamp":1670868019391,"duration":62564,"tags":{},"startTime":1664593911925},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"webpack-compilation","id":481,"timestamp":1670867824907,"duration":257087,"tags":{"name":"client"},"startTime":1664593911731},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"emit","id":507,"timestamp":1670868082063,"duration":89684,"tags":{},"startTime":1664593911988},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":479,"timestamp":1670867808566,"duration":364343,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911714},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":513,"timestamp":1670868199611,"duration":0,"tags":{},"startTime":1664593912106},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":512,"timestamp":1670868189280,"duration":16315,"tags":{"request":"private-next-pages/_error"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":511,"timestamp":1670868189275,"duration":16334,"tags":{"request":"private-next-pages/_document"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":515,"name":"next-swc-transform","id":516,"timestamp":1670868205937,"duration":1041,"tags":{},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":514,"name":"next-swc-loader","id":515,"timestamp":1670868205882,"duration":1105,"tags":{},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"build-module-tsx","id":514,"timestamp":1670868205744,"duration":3528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":510,"timestamp":1670868189225,"duration":22288,"tags":{"request":"private-next-pages/_app"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"make","id":509,"timestamp":1670868176036,"duration":35503,"tags":{},"startTime":1664593912082},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-chunk-graph","id":518,"timestamp":1670868211894,"duration":234,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-modules","id":520,"timestamp":1670868212138,"duration":2,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-chunks","id":521,"timestamp":1670868212173,"duration":31,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-tree","id":522,"timestamp":1670868212225,"duration":15,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize","id":519,"timestamp":1670868212134,"duration":192,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-hash","id":523,"timestamp":1670868214103,"duration":1642,"tags":{},"startTime":1664593912120},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-seal","id":517,"timestamp":1670868211823,"duration":5177,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"webpack-compilation","id":508,"timestamp":1670868175644,"duration":41381,"tags":{"name":"server"},"startTime":1664593912082},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"emit","id":524,"timestamp":1670868217053,"duration":2588,"tags":{},"startTime":1664593912123},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":480,"timestamp":1670867809219,"duration":411357,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911715}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":525,"timestamp":1664593911716000,"duration":413999,"tags":{"clientId":1664593824381},"startTime":1664593912131},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":530,"timestamp":1670894796165,"duration":6621,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":531,"timestamp":1670894796225,"duration":7972,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"read-resource","id":538,"timestamp":1670894804685,"duration":63,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":539,"name":"postcss-process","id":540,"timestamp":1670894804824,"duration":46823,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"postcss-loader","id":539,"timestamp":1670894804791,"duration":47285,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"css-loader","id":541,"timestamp":1670894852107,"duration":14557,"tags":{"astUsed":"true"},"startTime":1664593938758},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"build-module-css","id":537,"timestamp":1670894804387,"duration":63446,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593938710},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":535,"timestamp":1670894796249,"duration":71978,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":534,"timestamp":1670894796243,"duration":71998,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":536,"timestamp":1670894796253,"duration":76486,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":532,"timestamp":1670894796233,"duration":76956,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":533,"timestamp":1670894796238,"duration":104277,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"make","id":529,"timestamp":1670894795026,"duration":105534,"tags":{},"startTime":1664593938701},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-chunk-graph","id":543,"timestamp":1670894905099,"duration":17709,"tags":{},"startTime":1664593938811},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-modules","id":545,"timestamp":1670894922835,"duration":3,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-chunks","id":546,"timestamp":1670894922848,"duration":43,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-tree","id":547,"timestamp":1670894922967,"duration":5,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize","id":544,"timestamp":1670894922827,"duration":1417,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-hash","id":548,"timestamp":1670894932703,"duration":5876,"tags":{},"startTime":1664593938839},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"NextJsBuildManifest-generateClientManifest","id":550,"timestamp":1670894941377,"duration":79,"tags":{},"startTime":1664593938847},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"NextJsBuildManifest-createassets","id":549,"timestamp":1670894941304,"duration":160,"tags":{},"startTime":1664593938847},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-seal","id":542,"timestamp":1670894901701,"duration":40745,"tags":{},"startTime":1664593938808},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"webpack-compilation","id":528,"timestamp":1670894794502,"duration":147970,"tags":{"name":"client"},"startTime":1664593938700},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"emit","id":551,"timestamp":1670894942489,"duration":1946,"tags":{},"startTime":1664593938848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":526,"timestamp":1670894773939,"duration":170901,"tags":{"trigger":"manual"},"startTime":1664593938680},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":554,"timestamp":1670894953655,"duration":0,"tags":{},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":557,"timestamp":1670894954016,"duration":2627,"tags":{"request":"private-next-pages/_error"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":556,"timestamp":1670894954012,"duration":2637,"tags":{"request":"private-next-pages/_document"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":555,"timestamp":1670894953969,"duration":3880,"tags":{"request":"private-next-pages/_app"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":558,"timestamp":1670894954018,"duration":8455,"tags":{"request":"./pages/index.tsx"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"make","id":553,"timestamp":1670894945808,"duration":16697,"tags":{},"startTime":1664593938852},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-chunk-graph","id":560,"timestamp":1670894962788,"duration":197,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-modules","id":562,"timestamp":1670894962998,"duration":2,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-chunks","id":563,"timestamp":1670894963012,"duration":13,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-tree","id":564,"timestamp":1670894963034,"duration":2,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize","id":561,"timestamp":1670894962995,"duration":85,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-hash","id":565,"timestamp":1670894963748,"duration":532,"tags":{},"startTime":1664593938870},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-seal","id":559,"timestamp":1670894962714,"duration":2206,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"webpack-compilation","id":552,"timestamp":1670894945655,"duration":19283,"tags":{"name":"server"},"startTime":1664593938852},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"emit","id":566,"timestamp":1670894964950,"duration":2106,"tags":{},"startTime":1664593938871},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":527,"timestamp":1670894774277,"duration":193301,"tags":{"trigger":"manual"},"startTime":1664593938680}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":567,"timestamp":1670895197562,"duration":0,"tags":{},"startTime":1664593939104},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":572,"timestamp":1670917770232,"duration":7491,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":577,"timestamp":1670917770340,"duration":8716,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"read-resource","id":580,"timestamp":1670917778829,"duration":1291,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":584,"name":"postcss-process","id":585,"timestamp":1670917780169,"duration":34847,"tags":{},"startTime":1664593961686},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"postcss-loader","id":584,"timestamp":1670917780147,"duration":35201,"tags":{},"startTime":1664593961686},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"css-loader","id":586,"timestamp":1670917815376,"duration":10791,"tags":{"astUsed":"true"},"startTime":1664593961721},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"build-module-css","id":579,"timestamp":1670917778648,"duration":49195,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":573,"timestamp":1670917770319,"duration":58326,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":582,"name":"next-swc-transform","id":583,"timestamp":1670917779302,"duration":49602,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":581,"name":"next-swc-loader","id":582,"timestamp":1670917779213,"duration":49694,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"build-module-tsx","id":581,"timestamp":1670917779083,"duration":51280,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":576,"timestamp":1670917770336,"duration":60217,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":578,"timestamp":1670917770343,"duration":65281,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":574,"timestamp":1670917770325,"duration":71354,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":575,"timestamp":1670917770329,"duration":100279,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"make","id":571,"timestamp":1670917769008,"duration":101632,"tags":{},"startTime":1664593961675},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-chunk-graph","id":588,"timestamp":1670917875001,"duration":18000,"tags":{},"startTime":1664593961781},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-modules","id":590,"timestamp":1670917893026,"duration":7,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-chunks","id":591,"timestamp":1670917893042,"duration":79,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-tree","id":592,"timestamp":1670917893142,"duration":2,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize","id":589,"timestamp":1670917893020,"duration":1491,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-hash","id":593,"timestamp":1670917905102,"duration":3951,"tags":{},"startTime":1664593961811},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"NextJsBuildManifest-generateClientManifest","id":595,"timestamp":1670917916399,"duration":78,"tags":{},"startTime":1664593961822},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"NextJsBuildManifest-createassets","id":594,"timestamp":1670917916310,"duration":180,"tags":{},"startTime":1664593961822},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-seal","id":587,"timestamp":1670917871794,"duration":46490,"tags":{},"startTime":1664593961778},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"webpack-compilation","id":570,"timestamp":1670917768731,"duration":149579,"tags":{"name":"client"},"startTime":1664593961675},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"emit","id":596,"timestamp":1670917918325,"duration":96941,"tags":{},"startTime":1664593961824},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":568,"timestamp":1670917754404,"duration":261550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961660},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":602,"timestamp":1670918028080,"duration":0,"tags":{},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":601,"timestamp":1670918027456,"duration":6017,"tags":{"request":"private-next-pages/_error"},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":600,"timestamp":1670918027452,"duration":6031,"tags":{"request":"private-next-pages/_document"},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":604,"name":"next-swc-transform","id":605,"timestamp":1670918032880,"duration":630,"tags":{},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":603,"name":"next-swc-loader","id":604,"timestamp":1670918032834,"duration":678,"tags":{},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"build-module-tsx","id":603,"timestamp":1670918032681,"duration":1872,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":599,"timestamp":1670918027382,"duration":7330,"tags":{"request":"private-next-pages/_app"},"startTime":1664593961933},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"make","id":598,"timestamp":1670918018139,"duration":16588,"tags":{},"startTime":1664593961924},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-chunk-graph","id":607,"timestamp":1670918035049,"duration":286,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-modules","id":609,"timestamp":1670918035350,"duration":2,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-chunks","id":610,"timestamp":1670918035361,"duration":21,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-tree","id":611,"timestamp":1670918035392,"duration":4,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize","id":608,"timestamp":1670918035346,"duration":107,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-hash","id":612,"timestamp":1670918036384,"duration":424,"tags":{},"startTime":1664593961942},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-seal","id":606,"timestamp":1670918034979,"duration":2733,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"webpack-compilation","id":597,"timestamp":1670918017956,"duration":19775,"tags":{"name":"server"},"startTime":1664593961924},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"emit","id":613,"timestamp":1670918037745,"duration":2584,"tags":{},"startTime":1664593961944},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":569,"timestamp":1670917754740,"duration":285937,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961661}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":614,"timestamp":1664593961660999,"duration":296000,"tags":{"clientId":1664593939102},"startTime":1664593961958},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":619,"timestamp":1670978946676,"duration":5610,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":624,"timestamp":1670978946776,"duration":6827,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"read-resource","id":627,"timestamp":1670978953412,"duration":901,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":631,"name":"postcss-process","id":632,"timestamp":1670978954393,"duration":35574,"tags":{},"startTime":1664594022861},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"postcss-loader","id":631,"timestamp":1670978954375,"duration":35886,"tags":{},"startTime":1664594022861},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"css-loader","id":633,"timestamp":1670978990309,"duration":11311,"tags":{"astUsed":"true"},"startTime":1664594022897},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"build-module-css","id":626,"timestamp":1670978953173,"duration":50457,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":620,"timestamp":1670978946761,"duration":57559,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":629,"name":"next-swc-transform","id":630,"timestamp":1670978954029,"duration":50714,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":628,"name":"next-swc-loader","id":629,"timestamp":1670978953967,"duration":50778,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"build-module-tsx","id":628,"timestamp":1670978953876,"duration":54539,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":623,"timestamp":1670978946772,"duration":61862,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":625,"timestamp":1670978946778,"duration":69262,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":621,"timestamp":1670978946766,"duration":115855,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":622,"timestamp":1670978946769,"duration":328703,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"make","id":618,"timestamp":1670978945502,"duration":330062,"tags":{},"startTime":1664594022852},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-chunk-graph","id":635,"timestamp":1670979280756,"duration":18187,"tags":{},"startTime":1664594023187},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-modules","id":637,"timestamp":1670979299014,"duration":12,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-chunks","id":638,"timestamp":1670979299063,"duration":131,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-tree","id":639,"timestamp":1670979299233,"duration":16,"tags":{},"startTime":1664594023206},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize","id":636,"timestamp":1670979298985,"duration":1740,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-hash","id":640,"timestamp":1670979312804,"duration":5752,"tags":{},"startTime":1664594023219},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"NextJsBuildManifest-generateClientManifest","id":642,"timestamp":1670979331579,"duration":256,"tags":{},"startTime":1664594023238},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"NextJsBuildManifest-createassets","id":641,"timestamp":1670979331390,"duration":457,"tags":{},"startTime":1664594023238},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-seal","id":634,"timestamp":1670979277170,"duration":56580,"tags":{},"startTime":1664594023184},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"webpack-compilation","id":617,"timestamp":1670978944844,"duration":388952,"tags":{"name":"client"},"startTime":1664594022851},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"emit","id":643,"timestamp":1670979333873,"duration":92655,"tags":{},"startTime":1664594023240},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":615,"timestamp":1670978933605,"duration":494040,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022840},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":649,"timestamp":1670979455021,"duration":0,"tags":{},"startTime":1664594023362},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":648,"timestamp":1670979442631,"duration":18971,"tags":{"request":"private-next-pages/_error"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":647,"timestamp":1670979442627,"duration":18993,"tags":{"request":"private-next-pages/_document"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":651,"name":"next-swc-transform","id":652,"timestamp":1670979461167,"duration":1334,"tags":{},"startTime":1664594023368},{"traceId":"43f2de6d909a73f7","parentId":650,"name":"next-swc-loader","id":651,"timestamp":1670979461095,"duration":1413,"tags":{},"startTime":1664594023367},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"build-module-tsx","id":650,"timestamp":1670979460933,"duration":6835,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594023367},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":646,"timestamp":1670979442583,"duration":37115,"tags":{"request":"private-next-pages/_app"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"make","id":645,"timestamp":1670979430533,"duration":49190,"tags":{},"startTime":1664594023337},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-chunk-graph","id":654,"timestamp":1670979480129,"duration":254,"tags":{},"startTime":1664594023386},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-modules","id":656,"timestamp":1670979480393,"duration":2,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-chunks","id":657,"timestamp":1670979480432,"duration":31,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-tree","id":658,"timestamp":1670979480488,"duration":15,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize","id":655,"timestamp":1670979480390,"duration":205,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-hash","id":659,"timestamp":1670979482131,"duration":925,"tags":{},"startTime":1664594023388},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-seal","id":653,"timestamp":1670979480058,"duration":4349,"tags":{},"startTime":1664594023386},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"webpack-compilation","id":644,"timestamp":1670979430181,"duration":54251,"tags":{"name":"server"},"startTime":1664594023337},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":661,"timestamp":1664594022844999,"duration":539000,"tags":{"clientId":1664593939102},"startTime":1664594023391},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"emit","id":660,"timestamp":1670979484465,"duration":2232,"tags":{},"startTime":1664594023391},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":616,"timestamp":1670978934003,"duration":553328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022840}] +[{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":668,"timestamp":1670996131483,"duration":13652,"tags":{"request":"private-next-pages/_error"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":667,"timestamp":1670996131479,"duration":13673,"tags":{"request":"private-next-pages/_document"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":670,"name":"next-swc-transform","id":671,"timestamp":1670996144821,"duration":1631,"tags":{},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":669,"name":"next-swc-loader","id":670,"timestamp":1670996144742,"duration":1721,"tags":{},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"build-module-tsx","id":669,"timestamp":1670996144554,"duration":5245,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":666,"timestamp":1670996131402,"duration":20788,"tags":{"request":"private-next-pages/_app"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"make","id":665,"timestamp":1670996131256,"duration":20957,"tags":{},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-chunk-graph","id":673,"timestamp":1670996153808,"duration":472,"tags":{},"startTime":1664594040060},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-modules","id":675,"timestamp":1670996154299,"duration":11,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-chunks","id":676,"timestamp":1670996154343,"duration":37,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-tree","id":677,"timestamp":1670996154417,"duration":13,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize","id":674,"timestamp":1670996154294,"duration":228,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-hash","id":678,"timestamp":1670996156886,"duration":729,"tags":{},"startTime":1664594040063},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-seal","id":672,"timestamp":1670996152569,"duration":7583,"tags":{},"startTime":1664594040059},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"webpack-compilation","id":664,"timestamp":1670996131042,"duration":29138,"tags":{"name":"server"},"startTime":1664594040037},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"emit","id":679,"timestamp":1670996160195,"duration":2631,"tags":{},"startTime":1664594040067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":662,"timestamp":1670996122571,"duration":41450,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040029},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":682,"timestamp":1670996172754,"duration":7130,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":683,"timestamp":1670996172793,"duration":7815,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"read-resource","id":690,"timestamp":1670996181002,"duration":52,"tags":{},"startTime":1664594040087},{"traceId":"43f2de6d909a73f7","parentId":691,"name":"postcss-process","id":692,"timestamp":1670996181142,"duration":37810,"tags":{},"startTime":1664594040088},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"postcss-loader","id":691,"timestamp":1670996181113,"duration":38974,"tags":{},"startTime":1664594040088},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"css-loader","id":693,"timestamp":1670996220132,"duration":11661,"tags":{"astUsed":"true"},"startTime":1664594040127},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"build-module-css","id":689,"timestamp":1670996180738,"duration":57031,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594040087},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":687,"timestamp":1670996172807,"duration":65472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":686,"timestamp":1670996172804,"duration":65489,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":695,"name":"next-swc-transform","id":696,"timestamp":1670996238850,"duration":1812,"tags":{},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":694,"name":"next-swc-loader","id":695,"timestamp":1670996238811,"duration":1855,"tags":{},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"build-module-tsx","id":694,"timestamp":1670996238684,"duration":3860,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":688,"timestamp":1670996172809,"duration":71471,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":684,"timestamp":1670996172798,"duration":71919,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":685,"timestamp":1670996172801,"duration":101935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"make","id":681,"timestamp":1670996170935,"duration":103861,"tags":{},"startTime":1664594040077},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-chunk-graph","id":698,"timestamp":1670996279589,"duration":16480,"tags":{},"startTime":1664594040186},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-modules","id":700,"timestamp":1670996296099,"duration":2,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-chunks","id":701,"timestamp":1670996296110,"duration":33,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-tree","id":702,"timestamp":1670996296160,"duration":3,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize","id":699,"timestamp":1670996296091,"duration":1558,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-hash","id":703,"timestamp":1670996309717,"duration":7445,"tags":{},"startTime":1664594040216},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"NextJsBuildManifest-generateClientManifest","id":705,"timestamp":1670996327254,"duration":263,"tags":{},"startTime":1664594040234},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"NextJsBuildManifest-createassets","id":704,"timestamp":1670996327060,"duration":470,"tags":{},"startTime":1664594040233},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-seal","id":697,"timestamp":1670996276060,"duration":53308,"tags":{},"startTime":1664594040182},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"webpack-compilation","id":680,"timestamp":1670996170185,"duration":159219,"tags":{"name":"client"},"startTime":1664594040077},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"emit","id":706,"timestamp":1670996329458,"duration":89360,"tags":{},"startTime":1664594040236},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":663,"timestamp":1670996122819,"duration":296937,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040029}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":707,"timestamp":1670996442205,"duration":0,"tags":{},"startTime":1664594040349},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":708,"timestamp":1664594040030000,"duration":330999,"tags":{"clientId":1664593939102},"startTime":1664594040362},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":715,"timestamp":1671005376768,"duration":7160,"tags":{"request":"private-next-pages/_error"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":714,"timestamp":1671005376762,"duration":7183,"tags":{"request":"private-next-pages/_document"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":717,"name":"next-swc-transform","id":718,"timestamp":1671005383594,"duration":1075,"tags":{},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":716,"name":"next-swc-loader","id":717,"timestamp":1671005383524,"duration":1150,"tags":{},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"build-module-tsx","id":716,"timestamp":1671005383359,"duration":3444,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":713,"timestamp":1671005376691,"duration":11824,"tags":{"request":"private-next-pages/_app"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"make","id":712,"timestamp":1671005376569,"duration":11976,"tags":{},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-chunk-graph","id":720,"timestamp":1671005388994,"duration":342,"tags":{},"startTime":1664594049295},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-modules","id":722,"timestamp":1671005389352,"duration":2,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-chunks","id":723,"timestamp":1671005389363,"duration":26,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-tree","id":724,"timestamp":1671005389402,"duration":6,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize","id":721,"timestamp":1671005389347,"duration":125,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-hash","id":725,"timestamp":1671005390672,"duration":519,"tags":{},"startTime":1664594049297},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-seal","id":719,"timestamp":1671005388902,"duration":2987,"tags":{},"startTime":1664594049295},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"webpack-compilation","id":711,"timestamp":1671005376310,"duration":15603,"tags":{"name":"server"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"emit","id":726,"timestamp":1671005391928,"duration":1861,"tags":{},"startTime":1664594049298},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":709,"timestamp":1671005367553,"duration":26569,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049274},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":729,"timestamp":1671005402726,"duration":4148,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":730,"timestamp":1671005402765,"duration":4777,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"read-resource","id":737,"timestamp":1671005407818,"duration":36,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":738,"name":"postcss-process","id":739,"timestamp":1671005407890,"duration":31575,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"postcss-loader","id":738,"timestamp":1671005407876,"duration":31736,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"css-loader","id":740,"timestamp":1671005439640,"duration":8363,"tags":{"astUsed":"true"},"startTime":1664594049346},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"build-module-css","id":736,"timestamp":1671005407652,"duration":45737,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":734,"timestamp":1671005402778,"duration":53078,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":733,"timestamp":1671005402775,"duration":53100,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":742,"name":"next-swc-transform","id":743,"timestamp":1671005456493,"duration":1861,"tags":{},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":741,"name":"next-swc-loader","id":742,"timestamp":1671005456457,"duration":1901,"tags":{},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"build-module-tsx","id":741,"timestamp":1671005456322,"duration":3562,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":735,"timestamp":1671005402780,"duration":58530,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":731,"timestamp":1671005402769,"duration":58994,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":732,"timestamp":1671005402772,"duration":85974,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"make","id":728,"timestamp":1671005400855,"duration":87925,"tags":{},"startTime":1664594049307},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-chunk-graph","id":745,"timestamp":1671005493306,"duration":16704,"tags":{},"startTime":1664594049400},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-modules","id":747,"timestamp":1671005510035,"duration":2,"tags":{},"startTime":1664594049416},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-chunks","id":748,"timestamp":1671005510047,"duration":36,"tags":{},"startTime":1664594049417},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-tree","id":749,"timestamp":1671005510099,"duration":3,"tags":{},"startTime":1664594049417},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize","id":746,"timestamp":1671005510028,"duration":1507,"tags":{},"startTime":1664594049416},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-hash","id":750,"timestamp":1671005522819,"duration":4128,"tags":{},"startTime":1664594049429},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"NextJsBuildManifest-generateClientManifest","id":752,"timestamp":1671005536574,"duration":58,"tags":{},"startTime":1664594049443},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"NextJsBuildManifest-createassets","id":751,"timestamp":1671005536491,"duration":151,"tags":{},"startTime":1664594049443},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-seal","id":744,"timestamp":1671005490043,"duration":48336,"tags":{},"startTime":1664594049397},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"webpack-compilation","id":727,"timestamp":1671005400653,"duration":137772,"tags":{"name":"client"},"startTime":1664594049307},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"emit","id":753,"timestamp":1671005538445,"duration":88531,"tags":{},"startTime":1664594049445},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":710,"timestamp":1671005367725,"duration":260355,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049274}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":754,"timestamp":1671005649617,"duration":0,"tags":{},"startTime":1664594049556},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":755,"timestamp":1664594049275000,"duration":304000,"tags":{"clientId":1664593939102},"startTime":1664594049581},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":762,"timestamp":1671061225428,"duration":14308,"tags":{"request":"private-next-pages/_error"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":761,"timestamp":1671061225423,"duration":14334,"tags":{"request":"private-next-pages/_document"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":764,"name":"next-swc-transform","id":765,"timestamp":1671061238680,"duration":1714,"tags":{},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":763,"name":"next-swc-loader","id":764,"timestamp":1671061238559,"duration":1840,"tags":{},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"build-module-tsx","id":763,"timestamp":1671061238288,"duration":15353,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":760,"timestamp":1671061225348,"duration":31895,"tags":{"request":"private-next-pages/_app"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"make","id":759,"timestamp":1671061225200,"duration":32072,"tags":{},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-chunk-graph","id":767,"timestamp":1671061258008,"duration":452,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-modules","id":769,"timestamp":1671061258525,"duration":12,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-chunks","id":770,"timestamp":1671061258576,"duration":34,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-tree","id":771,"timestamp":1671061258640,"duration":15,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize","id":768,"timestamp":1671061258490,"duration":287,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-hash","id":772,"timestamp":1671061261384,"duration":1499,"tags":{},"startTime":1664594105168},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-seal","id":766,"timestamp":1671061257884,"duration":7290,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"webpack-compilation","id":758,"timestamp":1671061224746,"duration":40467,"tags":{"name":"server"},"startTime":1664594105131},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"emit","id":773,"timestamp":1671061265268,"duration":1708,"tags":{},"startTime":1664594105172},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":756,"timestamp":1671061216776,"duration":50676,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105123},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":776,"timestamp":1671061276190,"duration":7531,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":781,"timestamp":1671061276238,"duration":8831,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"read-resource","id":784,"timestamp":1671061284858,"duration":916,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":788,"name":"postcss-process","id":789,"timestamp":1671061285841,"duration":38823,"tags":{},"startTime":1664594105193},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"postcss-loader","id":788,"timestamp":1671061285831,"duration":39263,"tags":{},"startTime":1664594105193},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"css-loader","id":790,"timestamp":1671061325143,"duration":12201,"tags":{"astUsed":"true"},"startTime":1664594105232},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"build-module-css","id":783,"timestamp":1671061284621,"duration":59149,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594105191},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":777,"timestamp":1671061276220,"duration":69194,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":786,"name":"next-swc-transform","id":787,"timestamp":1671061285495,"duration":60170,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":785,"name":"next-swc-loader","id":786,"timestamp":1671061285460,"duration":60208,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"build-module-tsx","id":785,"timestamp":1671061285377,"duration":63382,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":780,"timestamp":1671061276231,"duration":72693,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":782,"timestamp":1671061276241,"duration":78286,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":778,"timestamp":1671061276226,"duration":85893,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":779,"timestamp":1671061276229,"duration":120067,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"make","id":775,"timestamp":1671061274415,"duration":121955,"tags":{},"startTime":1664594105181},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-chunk-graph","id":792,"timestamp":1671061402857,"duration":16805,"tags":{},"startTime":1664594105310},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-modules","id":794,"timestamp":1671061419693,"duration":3,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-chunks","id":795,"timestamp":1671061419773,"duration":63,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-tree","id":796,"timestamp":1671061419875,"duration":13,"tags":{},"startTime":1664594105327},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize","id":793,"timestamp":1671061419684,"duration":1675,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-hash","id":797,"timestamp":1671061434483,"duration":7075,"tags":{},"startTime":1664594105341},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"NextJsBuildManifest-generateClientManifest","id":799,"timestamp":1671061450546,"duration":193,"tags":{},"startTime":1664594105357},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"NextJsBuildManifest-createassets","id":798,"timestamp":1671061450355,"duration":396,"tags":{},"startTime":1664594105357},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-seal","id":791,"timestamp":1671061397528,"duration":55192,"tags":{},"startTime":1664594105304},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"webpack-compilation","id":774,"timestamp":1671061273768,"duration":179004,"tags":{"name":"client"},"startTime":1664594105180},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"emit","id":800,"timestamp":1671061452825,"duration":111785,"tags":{},"startTime":1664594105360},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":757,"timestamp":1671061217050,"duration":348625,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105124}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":801,"timestamp":1671061593081,"duration":0,"tags":{},"startTime":1664594105500},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":802,"timestamp":1664594105124000,"duration":396000,"tags":{"clientId":1664593939102},"startTime":1664594105521},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":809,"timestamp":1671071924195,"duration":6010,"tags":{"request":"private-next-pages/_error"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":808,"timestamp":1671071924192,"duration":6028,"tags":{"request":"private-next-pages/_document"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":811,"name":"next-swc-transform","id":812,"timestamp":1671071930533,"duration":1244,"tags":{},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":810,"name":"next-swc-loader","id":811,"timestamp":1671071930480,"duration":1301,"tags":{},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"build-module-tsx","id":810,"timestamp":1671071930315,"duration":10817,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":807,"timestamp":1671071924134,"duration":19291,"tags":{"request":"private-next-pages/_app"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"make","id":806,"timestamp":1671071923984,"duration":19467,"tags":{},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-chunk-graph","id":814,"timestamp":1671071943855,"duration":267,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-modules","id":816,"timestamp":1671071944156,"duration":2,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-chunks","id":817,"timestamp":1671071944168,"duration":23,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-tree","id":818,"timestamp":1671071944201,"duration":5,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize","id":815,"timestamp":1671071944153,"duration":108,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-hash","id":819,"timestamp":1671071945710,"duration":848,"tags":{},"startTime":1664594115852},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-seal","id":813,"timestamp":1671071943784,"duration":4583,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"webpack-compilation","id":805,"timestamp":1671071923791,"duration":24611,"tags":{"name":"server"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"emit","id":820,"timestamp":1671071948424,"duration":2314,"tags":{},"startTime":1664594115855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":803,"timestamp":1671071916841,"duration":34148,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115824},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":823,"timestamp":1671071957063,"duration":3108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":824,"timestamp":1671071957098,"duration":3606,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"read-resource","id":831,"timestamp":1671071960940,"duration":33,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":832,"name":"postcss-process","id":833,"timestamp":1671071961003,"duration":31852,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"postcss-loader","id":832,"timestamp":1671071960993,"duration":32307,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"css-loader","id":834,"timestamp":1671071993330,"duration":10972,"tags":{"astUsed":"true"},"startTime":1664594115900},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"build-module-css","id":830,"timestamp":1671071960789,"duration":44795,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":828,"timestamp":1671071957112,"duration":48971,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":827,"timestamp":1671071957109,"duration":48993,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":829,"timestamp":1671071957114,"duration":52751,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":825,"timestamp":1671071957101,"duration":53170,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":836,"name":"next-swc-transform","id":837,"timestamp":1671072010318,"duration":1958,"tags":{},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":835,"name":"next-swc-loader","id":836,"timestamp":1671072010280,"duration":2006,"tags":{},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"build-module-tsx","id":835,"timestamp":1671072010085,"duration":5435,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":826,"timestamp":1671071957105,"duration":90008,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"make","id":822,"timestamp":1671071955626,"duration":91518,"tags":{},"startTime":1664594115862},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-chunk-graph","id":839,"timestamp":1671072051988,"duration":19651,"tags":{},"startTime":1664594115959},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-modules","id":841,"timestamp":1671072071668,"duration":3,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-chunks","id":842,"timestamp":1671072071680,"duration":43,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-tree","id":843,"timestamp":1671072071742,"duration":3,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize","id":840,"timestamp":1671072071660,"duration":1520,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-hash","id":844,"timestamp":1671072083323,"duration":6298,"tags":{},"startTime":1664594115990},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"NextJsBuildManifest-generateClientManifest","id":846,"timestamp":1671072098029,"duration":56,"tags":{},"startTime":1664594116005},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"NextJsBuildManifest-createassets","id":845,"timestamp":1671072097953,"duration":142,"tags":{},"startTime":1664594116005},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-seal","id":838,"timestamp":1671072048556,"duration":51561,"tags":{},"startTime":1664594115955},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"webpack-compilation","id":821,"timestamp":1671071955441,"duration":144711,"tags":{"name":"client"},"startTime":1664594115862},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"emit","id":847,"timestamp":1671072100174,"duration":97004,"tags":{},"startTime":1664594116007},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":804,"timestamp":1671071917015,"duration":281440,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115824}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":848,"timestamp":1671072211667,"duration":0,"tags":{},"startTime":1664594116118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":849,"timestamp":1664594115824000,"duration":311000,"tags":{"clientId":1664593939102},"startTime":1664594116137},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":854,"timestamp":1671110955151,"duration":14513,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":855,"timestamp":1671110955314,"duration":15959,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"read-resource","id":862,"timestamp":1671110972191,"duration":135,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":863,"name":"postcss-process","id":864,"timestamp":1671110972571,"duration":51199,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"postcss-loader","id":863,"timestamp":1671110972444,"duration":51739,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"css-loader","id":865,"timestamp":1671111024231,"duration":12193,"tags":{"astUsed":"true"},"startTime":1664594154931},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"build-module-css","id":861,"timestamp":1671110971600,"duration":71704,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":859,"timestamp":1671110955349,"duration":88439,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":858,"timestamp":1671110955338,"duration":88470,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":860,"timestamp":1671110955354,"duration":93106,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":856,"timestamp":1671110955325,"duration":93489,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":857,"timestamp":1671110955332,"duration":124925,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"make","id":853,"timestamp":1671110953827,"duration":126498,"tags":{},"startTime":1664594154861},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-chunk-graph","id":867,"timestamp":1671111084951,"duration":16455,"tags":{},"startTime":1664594154992},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-modules","id":869,"timestamp":1671111101449,"duration":14,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-chunks","id":870,"timestamp":1671111101501,"duration":69,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-tree","id":871,"timestamp":1671111101610,"duration":12,"tags":{},"startTime":1664594155009},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize","id":868,"timestamp":1671111101435,"duration":1640,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-hash","id":872,"timestamp":1671111114903,"duration":6792,"tags":{},"startTime":1664594155022},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"NextJsBuildManifest-generateClientManifest","id":874,"timestamp":1671111122939,"duration":191,"tags":{},"startTime":1664594155030},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"NextJsBuildManifest-createassets","id":873,"timestamp":1671111122759,"duration":376,"tags":{},"startTime":1664594155030},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-seal","id":866,"timestamp":1671111081663,"duration":42397,"tags":{},"startTime":1664594154989},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"webpack-compilation","id":852,"timestamp":1671110952013,"duration":172079,"tags":{"name":"client"},"startTime":1664594154859},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"emit","id":875,"timestamp":1671111124160,"duration":3192,"tags":{},"startTime":1664594155031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":850,"timestamp":1671110939396,"duration":188523,"tags":{"trigger":"manual"},"startTime":1664594154846},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":878,"timestamp":1671111144126,"duration":0,"tags":{},"startTime":1664594155051},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":882,"timestamp":1671111144719,"duration":5725,"tags":{"request":"./pages/index.tsx"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":881,"timestamp":1671111144716,"duration":6147,"tags":{"request":"private-next-pages/_error"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":880,"timestamp":1671111144711,"duration":6164,"tags":{"request":"private-next-pages/_document"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":879,"timestamp":1671111144673,"duration":6861,"tags":{"request":"private-next-pages/_app"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"make","id":877,"timestamp":1671111130411,"duration":21151,"tags":{},"startTime":1664594155037},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-chunk-graph","id":884,"timestamp":1671111152042,"duration":459,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-modules","id":886,"timestamp":1671111152524,"duration":2,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-chunks","id":887,"timestamp":1671111152608,"duration":21,"tags":{},"startTime":1664594155060},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-tree","id":888,"timestamp":1671111152646,"duration":3,"tags":{},"startTime":1664594155060},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize","id":885,"timestamp":1671111152519,"duration":190,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-hash","id":889,"timestamp":1671111154543,"duration":1307,"tags":{},"startTime":1664594155061},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-seal","id":883,"timestamp":1671111151937,"duration":5364,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"webpack-compilation","id":876,"timestamp":1671111130041,"duration":27282,"tags":{"name":"server"},"startTime":1664594155037},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"emit","id":890,"timestamp":1671111157352,"duration":2696,"tags":{},"startTime":1664594155064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":851,"timestamp":1671110939678,"duration":221124,"tags":{"trigger":"manual"},"startTime":1664594154847}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":891,"timestamp":1671111423397,"duration":0,"tags":{},"startTime":1664594155330},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":896,"timestamp":1671156772395,"duration":4905,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":901,"timestamp":1671156772459,"duration":5850,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"read-resource","id":904,"timestamp":1671156778139,"duration":1081,"tags":{},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":908,"name":"postcss-process","id":909,"timestamp":1671156779266,"duration":34404,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"postcss-loader","id":908,"timestamp":1671156779252,"duration":34860,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"css-loader","id":910,"timestamp":1671156814152,"duration":14962,"tags":{"astUsed":"true"},"startTime":1664594200721},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"build-module-css","id":903,"timestamp":1671156778002,"duration":58119,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":906,"name":"next-swc-transform","id":907,"timestamp":1671156778587,"duration":58536,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":905,"name":"next-swc-loader","id":906,"timestamp":1671156778451,"duration":58677,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"build-module-tsx","id":905,"timestamp":1671156778330,"duration":66708,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":897,"timestamp":1671156772445,"duration":72960,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":900,"timestamp":1671156772456,"duration":74684,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":902,"timestamp":1671156772461,"duration":80191,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":898,"timestamp":1671156772450,"duration":84976,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":899,"timestamp":1671156772453,"duration":118014,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"make","id":895,"timestamp":1671156771609,"duration":118882,"tags":{},"startTime":1664594200679},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-chunk-graph","id":912,"timestamp":1671156896304,"duration":4161,"tags":{},"startTime":1664594200803},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-modules","id":914,"timestamp":1671156900491,"duration":2,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-chunks","id":915,"timestamp":1671156900505,"duration":44,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-tree","id":916,"timestamp":1671156900587,"duration":10,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize","id":913,"timestamp":1671156900484,"duration":1486,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-hash","id":917,"timestamp":1671156912165,"duration":8810,"tags":{},"startTime":1664594200819},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"NextJsBuildManifest-generateClientManifest","id":919,"timestamp":1671156929650,"duration":62,"tags":{},"startTime":1664594200837},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"NextJsBuildManifest-createassets","id":918,"timestamp":1671156929587,"duration":133,"tags":{},"startTime":1664594200837},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-seal","id":911,"timestamp":1671156891713,"duration":39754,"tags":{},"startTime":1664594200799},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"webpack-compilation","id":894,"timestamp":1671156771390,"duration":160103,"tags":{"name":"client"},"startTime":1664594200679},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"emit","id":920,"timestamp":1671156931512,"duration":97194,"tags":{},"startTime":1664594200839},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":892,"timestamp":1671156758922,"duration":270406,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200666},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":926,"timestamp":1671157042204,"duration":0,"tags":{},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":925,"timestamp":1671157041573,"duration":5932,"tags":{"request":"private-next-pages/_error"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":924,"timestamp":1671157041568,"duration":5950,"tags":{"request":"private-next-pages/_document"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":928,"name":"next-swc-transform","id":929,"timestamp":1671157046853,"duration":1564,"tags":{},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":927,"name":"next-swc-loader","id":928,"timestamp":1671157046790,"duration":1634,"tags":{},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"build-module-tsx","id":927,"timestamp":1671157046625,"duration":12001,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":923,"timestamp":1671157041505,"duration":21816,"tags":{"request":"private-next-pages/_app"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"make","id":922,"timestamp":1671157031551,"duration":31792,"tags":{},"startTime":1664594200939},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-chunk-graph","id":931,"timestamp":1671157063756,"duration":284,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-modules","id":933,"timestamp":1671157064050,"duration":6,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-chunks","id":934,"timestamp":1671157064065,"duration":21,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-tree","id":935,"timestamp":1671157064095,"duration":4,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize","id":932,"timestamp":1671157064046,"duration":113,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-hash","id":936,"timestamp":1671157065751,"duration":479,"tags":{},"startTime":1664594200973},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-seal","id":930,"timestamp":1671157063683,"duration":4023,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"webpack-compilation","id":921,"timestamp":1671157031367,"duration":36368,"tags":{"name":"server"},"startTime":1664594200938},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"emit","id":937,"timestamp":1671157067750,"duration":5323,"tags":{},"startTime":1664594200975},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":893,"timestamp":1671156759142,"duration":314480,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200666}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":938,"timestamp":1664594200667000,"duration":313999,"tags":{"clientId":1664594155340},"startTime":1664594200982},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":943,"timestamp":1671187515782,"duration":8603,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":944,"timestamp":1671187515895,"duration":10239,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"read-resource","id":951,"timestamp":1671187526751,"duration":79,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":952,"name":"postcss-process","id":953,"timestamp":1671187526899,"duration":45660,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"postcss-loader","id":952,"timestamp":1671187526876,"duration":47873,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"css-loader","id":954,"timestamp":1671187574793,"duration":11240,"tags":{"astUsed":"true"},"startTime":1664594231482},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"build-module-css","id":950,"timestamp":1671187526491,"duration":60778,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":948,"timestamp":1671187515934,"duration":72104,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":947,"timestamp":1671187515925,"duration":72132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":949,"timestamp":1671187515941,"duration":76497,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":945,"timestamp":1671187515907,"duration":76800,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":946,"timestamp":1671187515916,"duration":105264,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"make","id":942,"timestamp":1671187514867,"duration":106341,"tags":{},"startTime":1664594231422},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-chunk-graph","id":956,"timestamp":1671187625395,"duration":18200,"tags":{},"startTime":1664594231533},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-modules","id":958,"timestamp":1671187643622,"duration":4,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-chunks","id":959,"timestamp":1671187643635,"duration":36,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-tree","id":960,"timestamp":1671187643688,"duration":3,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize","id":957,"timestamp":1671187643615,"duration":1427,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-hash","id":961,"timestamp":1671187653908,"duration":3759,"tags":{},"startTime":1664594231561},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"NextJsBuildManifest-generateClientManifest","id":963,"timestamp":1671187658461,"duration":56,"tags":{},"startTime":1664594231566},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"NextJsBuildManifest-createassets","id":962,"timestamp":1671187658393,"duration":128,"tags":{},"startTime":1664594231566},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-seal","id":955,"timestamp":1671187622172,"duration":37283,"tags":{},"startTime":1664594231529},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"webpack-compilation","id":941,"timestamp":1671187514205,"duration":145273,"tags":{"name":"client"},"startTime":1664594231421},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"emit","id":964,"timestamp":1671187659490,"duration":3072,"tags":{},"startTime":1664594231567},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":939,"timestamp":1671187495258,"duration":167670,"tags":{"trigger":"manual"},"startTime":1664594231403},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":967,"timestamp":1671187671748,"duration":0,"tags":{},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":971,"timestamp":1671187672137,"duration":2584,"tags":{"request":"./pages/index.tsx"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":970,"timestamp":1671187672132,"duration":2779,"tags":{"request":"private-next-pages/_error"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":969,"timestamp":1671187672125,"duration":2792,"tags":{"request":"private-next-pages/_document"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":968,"timestamp":1671187672084,"duration":2993,"tags":{"request":"private-next-pages/_app"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"make","id":966,"timestamp":1671187663722,"duration":11374,"tags":{},"startTime":1664594231571},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-chunk-graph","id":973,"timestamp":1671187675312,"duration":216,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-modules","id":975,"timestamp":1671187675540,"duration":2,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-chunks","id":976,"timestamp":1671187675549,"duration":18,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-tree","id":977,"timestamp":1671187675575,"duration":2,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize","id":974,"timestamp":1671187675537,"duration":83,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-hash","id":978,"timestamp":1671187676333,"duration":493,"tags":{},"startTime":1664594231584},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-seal","id":972,"timestamp":1671187675246,"duration":2038,"tags":{},"startTime":1664594231582},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"webpack-compilation","id":965,"timestamp":1671187663583,"duration":13715,"tags":{"name":"server"},"startTime":1664594231571},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"emit","id":979,"timestamp":1671187677307,"duration":3380,"tags":{},"startTime":1664594231585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":940,"timestamp":1671187495726,"duration":185345,"tags":{"trigger":"manual"},"startTime":1664594231403}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":980,"timestamp":1671187918877,"duration":0,"tags":{},"startTime":1664594231826},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":981,"timestamp":1671208889890,"duration":0,"tags":{},"startTime":1664594252797},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":982,"timestamp":1671237221712,"duration":1,"tags":{},"startTime":1664594281129},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":987,"timestamp":1671269238029,"duration":14450,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":992,"timestamp":1671269238139,"duration":16538,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"read-resource","id":995,"timestamp":1671269254389,"duration":2346,"tags":{},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":999,"name":"postcss-process","id":1000,"timestamp":1671269256847,"duration":45540,"tags":{},"startTime":1664594313164},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"postcss-loader","id":999,"timestamp":1671269256830,"duration":45979,"tags":{},"startTime":1664594313164},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"css-loader","id":1001,"timestamp":1671269302860,"duration":12779,"tags":{"astUsed":"true"},"startTime":1664594313210},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"build-module-css","id":994,"timestamp":1671269254034,"duration":68841,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":997,"name":"next-swc-transform","id":998,"timestamp":1671269254993,"duration":69585,"tags":{},"startTime":1664594313163},{"traceId":"43f2de6d909a73f7","parentId":996,"name":"next-swc-loader","id":997,"timestamp":1671269254870,"duration":69713,"tags":{},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"build-module-tsx","id":996,"timestamp":1671269254715,"duration":75978,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":988,"timestamp":1671269238120,"duration":93691,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":991,"timestamp":1671269238135,"duration":94133,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":993,"timestamp":1671269238141,"duration":99894,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":989,"timestamp":1671269238129,"duration":103924,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":990,"timestamp":1671269238132,"duration":148533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"make","id":986,"timestamp":1671269236869,"duration":149897,"tags":{},"startTime":1664594313144},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-chunk-graph","id":1003,"timestamp":1671269397611,"duration":24964,"tags":{},"startTime":1664594313305},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-modules","id":1005,"timestamp":1671269422648,"duration":13,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-chunks","id":1006,"timestamp":1671269422700,"duration":139,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-tree","id":1007,"timestamp":1671269422881,"duration":13,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize","id":1004,"timestamp":1671269422617,"duration":2049,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-hash","id":1008,"timestamp":1671269447626,"duration":7694,"tags":{},"startTime":1664594313355},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"NextJsBuildManifest-generateClientManifest","id":1010,"timestamp":1671269472527,"duration":267,"tags":{},"startTime":1664594313380},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"NextJsBuildManifest-createassets","id":1009,"timestamp":1671269472311,"duration":495,"tags":{},"startTime":1664594313380},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-seal","id":1002,"timestamp":1671269390793,"duration":84506,"tags":{},"startTime":1664594313298},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"webpack-compilation","id":985,"timestamp":1671269235915,"duration":239443,"tags":{"name":"client"},"startTime":1664594313144},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"emit","id":1011,"timestamp":1671269475443,"duration":106231,"tags":{},"startTime":1664594313383},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":983,"timestamp":1671269221202,"duration":370076,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313129},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1017,"timestamp":1671269604959,"duration":0,"tags":{},"startTime":1664594313513},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1016,"timestamp":1671269604528,"duration":6481,"tags":{"request":"private-next-pages/_error"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1015,"timestamp":1671269604524,"duration":6498,"tags":{"request":"private-next-pages/_document"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":1019,"name":"next-swc-transform","id":1020,"timestamp":1671269610427,"duration":1600,"tags":{},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1018,"name":"next-swc-loader","id":1019,"timestamp":1671269610359,"duration":1671,"tags":{},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"build-module-tsx","id":1018,"timestamp":1671269610219,"duration":6948,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1014,"timestamp":1671269604459,"duration":16290,"tags":{"request":"private-next-pages/_app"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"make","id":1013,"timestamp":1671269594134,"duration":26629,"tags":{},"startTime":1664594313502},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-chunk-graph","id":1022,"timestamp":1671269621125,"duration":194,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-modules","id":1024,"timestamp":1671269621328,"duration":1,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-chunks","id":1025,"timestamp":1671269621360,"duration":30,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-tree","id":1026,"timestamp":1671269621411,"duration":15,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize","id":1023,"timestamp":1671269621325,"duration":182,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-hash","id":1027,"timestamp":1671269622879,"duration":3593,"tags":{},"startTime":1664594313530},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-seal","id":1021,"timestamp":1671269621054,"duration":7218,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"webpack-compilation","id":1012,"timestamp":1671269593804,"duration":34491,"tags":{"name":"server"},"startTime":1664594313501},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"emit","id":1028,"timestamp":1671269628320,"duration":6660,"tags":{},"startTime":1664594313536},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":984,"timestamp":1671269221645,"duration":414130,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313129}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1029,"timestamp":1664594313129999,"duration":416000,"tags":{"clientId":1664594252847},"startTime":1664594313547},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1034,"timestamp":1671287927134,"duration":4929,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1035,"timestamp":1671287927165,"duration":5641,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"read-resource","id":1042,"timestamp":1671287933119,"duration":32,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1043,"name":"postcss-process","id":1044,"timestamp":1671287933192,"duration":40104,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"postcss-loader","id":1043,"timestamp":1671287933179,"duration":40751,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"css-loader","id":1045,"timestamp":1671287973972,"duration":21042,"tags":{"astUsed":"true"},"startTime":1664594331882},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"build-module-css","id":1041,"timestamp":1671287932916,"duration":68302,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1039,"timestamp":1671287927176,"duration":76147,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1038,"timestamp":1671287927173,"duration":76249,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1047,"name":"next-swc-transform","id":1048,"timestamp":1671288004411,"duration":5822,"tags":{},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1046,"name":"next-swc-loader","id":1047,"timestamp":1671288004370,"duration":5877,"tags":{},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"build-module-tsx","id":1046,"timestamp":1671288004221,"duration":6390,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1040,"timestamp":1671287927178,"duration":89241,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1036,"timestamp":1671287927168,"duration":90037,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1037,"timestamp":1671287927170,"duration":142848,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1030,"name":"make","id":1033,"timestamp":1671287926344,"duration":143714,"tags":{},"startTime":1664594331834},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-chunk-graph","id":1050,"timestamp":1671288074854,"duration":18311,"tags":{},"startTime":1664594331983},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-modules","id":1052,"timestamp":1671288093197,"duration":3,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-chunks","id":1053,"timestamp":1671288093210,"duration":96,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-tree","id":1054,"timestamp":1671288093325,"duration":6,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize","id":1051,"timestamp":1671288093189,"duration":1629,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-hash","id":1055,"timestamp":1671288106248,"duration":6339,"tags":{},"startTime":1664594332014},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"NextJsBuildManifest-generateClientManifest","id":1057,"timestamp":1671288121820,"duration":70,"tags":{},"startTime":1664594332029},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"NextJsBuildManifest-createassets","id":1056,"timestamp":1671288121713,"duration":187,"tags":{},"startTime":1664594332029},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-seal","id":1049,"timestamp":1671288071419,"duration":52572,"tags":{},"startTime":1664594331979},{"traceId":"43f2de6d909a73f7","parentId":1030,"name":"webpack-compilation","id":1032,"timestamp":1671287926147,"duration":197882,"tags":{"name":"client"},"startTime":1664594331834},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1030,"timestamp":1671287914349,"duration":211743,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331822},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1063,"timestamp":1671288139267,"duration":0,"tags":{"errorCount":1},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1062,"timestamp":1671288138892,"duration":4929,"tags":{"request":"private-next-pages/_error"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1061,"timestamp":1671288138888,"duration":4944,"tags":{"request":"private-next-pages/_document"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1065,"name":"next-swc-transform","id":1066,"timestamp":1671288142005,"duration":1988,"tags":{},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1064,"name":"next-swc-loader","id":1065,"timestamp":1671288141967,"duration":2029,"tags":{},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"build-module-tsx","id":1064,"timestamp":1671288141867,"duration":2214,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1060,"timestamp":1671288138846,"duration":5452,"tags":{"request":"private-next-pages/_app"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1031,"name":"make","id":1059,"timestamp":1671288128279,"duration":16033,"tags":{},"startTime":1664594332036},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-chunk-graph","id":1068,"timestamp":1671288144599,"duration":175,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-modules","id":1070,"timestamp":1671288144782,"duration":1,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-chunks","id":1071,"timestamp":1671288144790,"duration":13,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-tree","id":1072,"timestamp":1671288144811,"duration":2,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize","id":1069,"timestamp":1671288144779,"duration":78,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-hash","id":1073,"timestamp":1671288145913,"duration":438,"tags":{},"startTime":1664594332054},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-seal","id":1067,"timestamp":1671288144541,"duration":4068,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1031,"name":"webpack-compilation","id":1058,"timestamp":1671288128109,"duration":20519,"tags":{"name":"server"},"startTime":1664594332036},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1031,"timestamp":1671287914557,"duration":234902,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331822}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1074,"timestamp":1671288225070,"duration":0,"tags":{"errorCount":1},"startTime":1664594332133},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1077,"timestamp":1671288535532,"duration":0,"tags":{"errorCount":1},"startTime":1664594332443},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1080,"timestamp":1671288547291,"duration":3719,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1081,"timestamp":1671288547328,"duration":4263,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"read-resource","id":1088,"timestamp":1671288551790,"duration":31,"tags":{},"startTime":1664594332459},{"traceId":"43f2de6d909a73f7","parentId":1089,"name":"postcss-process","id":1090,"timestamp":1671288551859,"duration":32866,"tags":{},"startTime":1664594332460},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"postcss-loader","id":1089,"timestamp":1671288551845,"duration":33157,"tags":{},"startTime":1664594332460},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"css-loader","id":1091,"timestamp":1671288585041,"duration":8583,"tags":{"astUsed":"true"},"startTime":1664594332493},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"build-module-css","id":1087,"timestamp":1671288551680,"duration":43012,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594332459},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1085,"timestamp":1671288547346,"duration":49724,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1084,"timestamp":1671288547343,"duration":49746,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1093,"name":"next-swc-transform","id":1094,"timestamp":1671288597847,"duration":1857,"tags":{},"startTime":1664594332506},{"traceId":"43f2de6d909a73f7","parentId":1092,"name":"next-swc-loader","id":1093,"timestamp":1671288597811,"duration":1900,"tags":{},"startTime":1664594332505},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"build-module-tsx","id":1092,"timestamp":1671288597669,"duration":2100,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332505},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1086,"timestamp":1671288547353,"duration":53863,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1082,"timestamp":1671288547336,"duration":54164,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1083,"timestamp":1671288547339,"duration":81012,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1075,"name":"make","id":1079,"timestamp":1671288546421,"duration":81960,"tags":{},"startTime":1664594332454},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-chunk-graph","id":1096,"timestamp":1671288632846,"duration":3622,"tags":{},"startTime":1664594332541},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-modules","id":1098,"timestamp":1671288636492,"duration":2,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-chunks","id":1099,"timestamp":1671288636502,"duration":33,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-tree","id":1100,"timestamp":1671288636549,"duration":2,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize","id":1097,"timestamp":1671288636487,"duration":912,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-hash","id":1101,"timestamp":1671288647946,"duration":4228,"tags":{},"startTime":1664594332556},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"NextJsBuildManifest-generateClientManifest","id":1103,"timestamp":1671288653865,"duration":46,"tags":{},"startTime":1664594332562},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"NextJsBuildManifest-createassets","id":1102,"timestamp":1671288653816,"duration":99,"tags":{},"startTime":1664594332561},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-seal","id":1095,"timestamp":1671288629584,"duration":25484,"tags":{},"startTime":1664594332537},{"traceId":"43f2de6d909a73f7","parentId":1075,"name":"webpack-compilation","id":1078,"timestamp":1671288546213,"duration":108877,"tags":{"name":"client"},"startTime":1664594332454},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1075,"timestamp":1671288533888,"duration":121886,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332442},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1109,"timestamp":1671288666748,"duration":0,"tags":{"errorCount":1},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1108,"timestamp":1671288666516,"duration":3162,"tags":{"request":"private-next-pages/_error"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1107,"timestamp":1671288666513,"duration":3176,"tags":{"request":"private-next-pages/_document"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1111,"name":"next-swc-transform","id":1112,"timestamp":1671288669516,"duration":455,"tags":{},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1110,"name":"next-swc-loader","id":1111,"timestamp":1671288669465,"duration":510,"tags":{},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"build-module-tsx","id":1110,"timestamp":1671288669356,"duration":687,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1106,"timestamp":1671288666472,"duration":3649,"tags":{"request":"private-next-pages/_app"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1076,"name":"make","id":1105,"timestamp":1671288656686,"duration":13451,"tags":{},"startTime":1664594332564},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-chunk-graph","id":1114,"timestamp":1671288670391,"duration":184,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-modules","id":1116,"timestamp":1671288670585,"duration":2,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-chunks","id":1117,"timestamp":1671288670594,"duration":14,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-tree","id":1118,"timestamp":1671288670616,"duration":3,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize","id":1115,"timestamp":1671288670581,"duration":84,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-hash","id":1119,"timestamp":1671288671358,"duration":452,"tags":{},"startTime":1664594332579},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-seal","id":1113,"timestamp":1671288670332,"duration":1773,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1076,"name":"webpack-compilation","id":1104,"timestamp":1671288656548,"duration":15578,"tags":{"name":"server"},"startTime":1664594332564},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1076,"timestamp":1671288534017,"duration":138822,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332442}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1120,"timestamp":1671288675603,"duration":0,"tags":{"errorCount":1},"startTime":1664594332583},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1123,"timestamp":1671289057030,"duration":0,"tags":{"errorCount":1},"startTime":1664594332965},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1126,"timestamp":1671289067199,"duration":6437,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1127,"timestamp":1671289067232,"duration":7217,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"read-resource","id":1134,"timestamp":1671289074685,"duration":33,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1135,"name":"postcss-process","id":1136,"timestamp":1671289074760,"duration":29890,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"postcss-loader","id":1135,"timestamp":1671289074748,"duration":30041,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"css-loader","id":1137,"timestamp":1671289104819,"duration":8335,"tags":{"astUsed":"true"},"startTime":1664594333013},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"build-module-css","id":1133,"timestamp":1671289074576,"duration":39701,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1131,"timestamp":1671289067254,"duration":47508,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1130,"timestamp":1671289067251,"duration":47523,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1132,"timestamp":1671289067256,"duration":51290,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1128,"timestamp":1671289067241,"duration":51607,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1139,"name":"next-swc-transform","id":1140,"timestamp":1671289115276,"duration":3846,"tags":{},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1138,"name":"next-swc-loader","id":1139,"timestamp":1671289115244,"duration":3881,"tags":{},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"build-module-tsx","id":1138,"timestamp":1671289115137,"duration":9191,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1129,"timestamp":1671289067248,"duration":86022,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"make","id":1125,"timestamp":1671289066350,"duration":86951,"tags":{},"startTime":1664594332974},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-chunk-graph","id":1142,"timestamp":1671289157743,"duration":3537,"tags":{},"startTime":1664594333065},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-modules","id":1144,"timestamp":1671289161303,"duration":3,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-chunks","id":1145,"timestamp":1671289161315,"duration":33,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-tree","id":1146,"timestamp":1671289161367,"duration":4,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize","id":1143,"timestamp":1671289161297,"duration":972,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-hash","id":1147,"timestamp":1671289171811,"duration":3926,"tags":{},"startTime":1664594333079},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"NextJsBuildManifest-generateClientManifest","id":1149,"timestamp":1671289187024,"duration":50,"tags":{},"startTime":1664594333095},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"NextJsBuildManifest-createassets","id":1148,"timestamp":1671289186968,"duration":115,"tags":{},"startTime":1664594333095},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-seal","id":1141,"timestamp":1671289154499,"duration":34577,"tags":{},"startTime":1664594333062},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"webpack-compilation","id":1124,"timestamp":1671289066167,"duration":122940,"tags":{"name":"client"},"startTime":1664594332974},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"emit","id":1150,"timestamp":1671289189120,"duration":86373,"tags":{},"startTime":1664594333097},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1121,"timestamp":1671289055102,"duration":220956,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332963},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1156,"timestamp":1671289298823,"duration":0,"tags":{},"startTime":1664594333207},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1155,"timestamp":1671289288379,"duration":15690,"tags":{"request":"private-next-pages/_error"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1154,"timestamp":1671289288374,"duration":15710,"tags":{"request":"private-next-pages/_document"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1158,"name":"next-swc-transform","id":1159,"timestamp":1671289303743,"duration":1881,"tags":{},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1157,"name":"next-swc-loader","id":1158,"timestamp":1671289303658,"duration":1985,"tags":{},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"build-module-tsx","id":1157,"timestamp":1671289303527,"duration":6652,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1153,"timestamp":1671289288324,"duration":24899,"tags":{"request":"private-next-pages/_app"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"make","id":1152,"timestamp":1671289277412,"duration":35842,"tags":{},"startTime":1664594333185},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-chunk-graph","id":1161,"timestamp":1671289313684,"duration":253,"tags":{},"startTime":1664594333221},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-modules","id":1163,"timestamp":1671289313946,"duration":2,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-chunks","id":1164,"timestamp":1671289313957,"duration":22,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-tree","id":1165,"timestamp":1671289313986,"duration":5,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize","id":1162,"timestamp":1671289313942,"duration":98,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-hash","id":1166,"timestamp":1671289315404,"duration":420,"tags":{},"startTime":1664594333223},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-seal","id":1160,"timestamp":1671289313616,"duration":3530,"tags":{},"startTime":1664594333221},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"webpack-compilation","id":1151,"timestamp":1671289277192,"duration":39978,"tags":{"name":"server"},"startTime":1664594333185},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"emit","id":1167,"timestamp":1671289317183,"duration":2032,"tags":{},"startTime":1664594333225},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1122,"timestamp":1671289055243,"duration":264343,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332963}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1168,"timestamp":1664594331823000,"duration":1412999,"tags":{"clientId":1664594252847},"startTime":1664594333237},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1173,"timestamp":1671290521419,"duration":3222,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1174,"timestamp":1671290521458,"duration":3730,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"read-resource","id":1181,"timestamp":1671290525420,"duration":29,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1182,"name":"postcss-process","id":1183,"timestamp":1671290525481,"duration":30921,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"postcss-loader","id":1182,"timestamp":1671290525468,"duration":31157,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"css-loader","id":1184,"timestamp":1671290556654,"duration":9699,"tags":{"astUsed":"true"},"startTime":1664594334464},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"build-module-css","id":1180,"timestamp":1671290525285,"duration":42258,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1178,"timestamp":1671290521475,"duration":46739,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1177,"timestamp":1671290521472,"duration":46773,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1179,"timestamp":1671290521477,"duration":50708,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1175,"timestamp":1671290521462,"duration":51041,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1186,"name":"next-swc-transform","id":1187,"timestamp":1671290568764,"duration":4079,"tags":{},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1185,"name":"next-swc-loader","id":1186,"timestamp":1671290568728,"duration":4118,"tags":{},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"build-module-tsx","id":1185,"timestamp":1671290568630,"duration":7938,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1176,"timestamp":1671290521464,"duration":83540,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"make","id":1172,"timestamp":1671290520628,"duration":84415,"tags":{},"startTime":1664594334428},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-chunk-graph","id":1189,"timestamp":1671290609612,"duration":19000,"tags":{},"startTime":1664594334517},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-modules","id":1191,"timestamp":1671290628642,"duration":2,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-chunks","id":1192,"timestamp":1671290628654,"duration":35,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-tree","id":1193,"timestamp":1671290628710,"duration":3,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize","id":1190,"timestamp":1671290628634,"duration":1422,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-hash","id":1194,"timestamp":1671290638954,"duration":5534,"tags":{},"startTime":1664594334547},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"NextJsBuildManifest-generateClientManifest","id":1196,"timestamp":1671290652031,"duration":59,"tags":{},"startTime":1664594334560},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"NextJsBuildManifest-createassets","id":1195,"timestamp":1671290651949,"duration":153,"tags":{},"startTime":1664594334560},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-seal","id":1188,"timestamp":1671290606276,"duration":47398,"tags":{},"startTime":1664594334514},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"webpack-compilation","id":1171,"timestamp":1671290520435,"duration":133264,"tags":{"name":"client"},"startTime":1664594334428},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"emit","id":1197,"timestamp":1671290653714,"duration":82557,"tags":{},"startTime":1664594334561},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1169,"timestamp":1671290508035,"duration":228673,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334416},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1203,"timestamp":1671290746647,"duration":0,"tags":{},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1202,"timestamp":1671290746093,"duration":3734,"tags":{"request":"private-next-pages/_error"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1201,"timestamp":1671290746089,"duration":3747,"tags":{"request":"private-next-pages/_document"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1205,"name":"next-swc-transform","id":1206,"timestamp":1671290749670,"duration":1764,"tags":{},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1204,"name":"next-swc-loader","id":1205,"timestamp":1671290749641,"duration":1800,"tags":{},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"build-module-tsx","id":1204,"timestamp":1671290749573,"duration":4417,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1200,"timestamp":1671290746049,"duration":10517,"tags":{"request":"private-next-pages/_app"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"make","id":1199,"timestamp":1671290737587,"duration":18998,"tags":{},"startTime":1664594334645},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-chunk-graph","id":1208,"timestamp":1671290756913,"duration":184,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-modules","id":1210,"timestamp":1671290757105,"duration":2,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-chunks","id":1211,"timestamp":1671290757115,"duration":13,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-tree","id":1212,"timestamp":1671290757136,"duration":2,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize","id":1209,"timestamp":1671290757102,"duration":77,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-hash","id":1213,"timestamp":1671290758226,"duration":411,"tags":{},"startTime":1664594334666},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-seal","id":1207,"timestamp":1671290756806,"duration":2757,"tags":{},"startTime":1664594334664},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"webpack-compilation","id":1198,"timestamp":1671290737442,"duration":22143,"tags":{"name":"server"},"startTime":1664594334645},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"emit","id":1214,"timestamp":1671290759597,"duration":3753,"tags":{},"startTime":1664594334667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1170,"timestamp":1671290508258,"duration":255450,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334416}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1215,"timestamp":1664594334416000,"duration":262000,"tags":{"clientId":1664594252847},"startTime":1664594334679},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1222,"timestamp":1671293290462,"duration":5708,"tags":{"request":"private-next-pages/_error"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1221,"timestamp":1671293290459,"duration":5723,"tags":{"request":"private-next-pages/_document"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1224,"name":"next-swc-transform","id":1225,"timestamp":1671293296002,"duration":1889,"tags":{},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1223,"name":"next-swc-loader","id":1224,"timestamp":1671293295963,"duration":1936,"tags":{},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"build-module-tsx","id":1223,"timestamp":1671293295868,"duration":4478,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1220,"timestamp":1671293290429,"duration":11531,"tags":{"request":"private-next-pages/_app"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"make","id":1219,"timestamp":1671293290363,"duration":11614,"tags":{},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-chunk-graph","id":1227,"timestamp":1671293302268,"duration":191,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-modules","id":1229,"timestamp":1671293302468,"duration":2,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-chunks","id":1230,"timestamp":1671293302477,"duration":16,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-tree","id":1231,"timestamp":1671293302501,"duration":3,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize","id":1228,"timestamp":1671293302464,"duration":78,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-hash","id":1232,"timestamp":1671293303680,"duration":396,"tags":{},"startTime":1664594337211},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-seal","id":1226,"timestamp":1671293302207,"duration":3076,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"webpack-compilation","id":1218,"timestamp":1671293290203,"duration":15105,"tags":{"name":"server"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"emit","id":1233,"timestamp":1671293305323,"duration":1691,"tags":{},"startTime":1664594337213},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1216,"timestamp":1671293283441,"duration":23795,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337191},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1236,"timestamp":1671293313899,"duration":3048,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1237,"timestamp":1671293313933,"duration":3498,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"read-resource","id":1244,"timestamp":1671293317599,"duration":33,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1245,"name":"postcss-process","id":1246,"timestamp":1671293317659,"duration":25259,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"postcss-loader","id":1245,"timestamp":1671293317651,"duration":25418,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"css-loader","id":1247,"timestamp":1671293343097,"duration":9512,"tags":{"astUsed":"true"},"startTime":1664594337251},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"build-module-css","id":1243,"timestamp":1671293317514,"duration":36069,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1241,"timestamp":1671293313945,"duration":40114,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1240,"timestamp":1671293313942,"duration":40132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1242,"timestamp":1671293313947,"duration":43603,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1238,"timestamp":1671293313937,"duration":43868,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1249,"name":"next-swc-transform","id":1250,"timestamp":1671293354525,"duration":3508,"tags":{},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1248,"name":"next-swc-loader","id":1249,"timestamp":1671293354497,"duration":3537,"tags":{},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"build-module-tsx","id":1248,"timestamp":1671293354409,"duration":6396,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1239,"timestamp":1671293313939,"duration":73633,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"make","id":1235,"timestamp":1671293310652,"duration":76947,"tags":{},"startTime":1664594337218},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-chunk-graph","id":1252,"timestamp":1671293391943,"duration":3583,"tags":{},"startTime":1664594337300},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-modules","id":1254,"timestamp":1671293395549,"duration":3,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-chunks","id":1255,"timestamp":1671293395561,"duration":34,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-tree","id":1256,"timestamp":1671293395614,"duration":3,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize","id":1253,"timestamp":1671293395541,"duration":962,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-hash","id":1257,"timestamp":1671293406616,"duration":3823,"tags":{},"startTime":1664594337314},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"NextJsBuildManifest-generateClientManifest","id":1259,"timestamp":1671293419807,"duration":54,"tags":{},"startTime":1664594337328},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"NextJsBuildManifest-createassets","id":1258,"timestamp":1671293419751,"duration":120,"tags":{},"startTime":1664594337327},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-seal","id":1251,"timestamp":1671293388699,"duration":33028,"tags":{},"startTime":1664594337296},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"webpack-compilation","id":1234,"timestamp":1671293310484,"duration":111272,"tags":{"name":"client"},"startTime":1664594337218},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"emit","id":1260,"timestamp":1671293421772,"duration":99117,"tags":{},"startTime":1664594337329},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1217,"timestamp":1671293283564,"duration":238395,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337191}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1261,"timestamp":1671293533139,"duration":0,"tags":{},"startTime":1664594337441},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1262,"timestamp":1664594337192000,"duration":272999,"tags":{"clientId":1664594252847},"startTime":1664594337466},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1267,"timestamp":1671296711017,"duration":3586,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1268,"timestamp":1671296711087,"duration":4276,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"read-resource","id":1275,"timestamp":1671296715687,"duration":40,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1276,"name":"postcss-process","id":1277,"timestamp":1671296715769,"duration":30852,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"postcss-loader","id":1276,"timestamp":1671296715754,"duration":31144,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"css-loader","id":1278,"timestamp":1671296746935,"duration":10654,"tags":{"astUsed":"true"},"startTime":1664594340655},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"build-module-css","id":1274,"timestamp":1671296715527,"duration":43472,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1272,"timestamp":1671296711101,"duration":48419,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1271,"timestamp":1671296711098,"duration":48439,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1273,"timestamp":1671296711104,"duration":52475,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1269,"timestamp":1671296711092,"duration":52822,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1280,"name":"next-swc-transform","id":1281,"timestamp":1671296760115,"duration":4167,"tags":{},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1279,"name":"next-swc-loader","id":1280,"timestamp":1671296760047,"duration":4237,"tags":{},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"build-module-tsx","id":1279,"timestamp":1671296759939,"duration":7139,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1270,"timestamp":1671296711095,"duration":87594,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"make","id":1266,"timestamp":1671296709909,"duration":88811,"tags":{},"startTime":1664594340618},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-chunk-graph","id":1283,"timestamp":1671296803278,"duration":18141,"tags":{},"startTime":1664594340711},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-modules","id":1285,"timestamp":1671296821447,"duration":4,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-chunks","id":1286,"timestamp":1671296821461,"duration":77,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-tree","id":1287,"timestamp":1671296821557,"duration":4,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize","id":1284,"timestamp":1671296821438,"duration":1434,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-hash","id":1288,"timestamp":1671296831132,"duration":8161,"tags":{},"startTime":1664594340739},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"NextJsBuildManifest-generateClientManifest","id":1290,"timestamp":1671296847528,"duration":52,"tags":{},"startTime":1664594340755},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"NextJsBuildManifest-createassets","id":1289,"timestamp":1671296847460,"duration":241,"tags":{},"startTime":1664594340755},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-seal","id":1282,"timestamp":1671296799982,"duration":49230,"tags":{},"startTime":1664594340708},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"webpack-compilation","id":1265,"timestamp":1671296709635,"duration":139599,"tags":{"name":"client"},"startTime":1664594340617},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"emit","id":1291,"timestamp":1671296849248,"duration":87020,"tags":{},"startTime":1664594340757},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1263,"timestamp":1671296696576,"duration":240335,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340604},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1297,"timestamp":1671296962522,"duration":0,"tags":{},"startTime":1664594340870},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1296,"timestamp":1671296951069,"duration":16096,"tags":{"request":"private-next-pages/_error"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1295,"timestamp":1671296951064,"duration":16116,"tags":{"request":"private-next-pages/_document"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1299,"name":"next-swc-transform","id":1300,"timestamp":1671296966910,"duration":1978,"tags":{},"startTime":1664594340875},{"traceId":"43f2de6d909a73f7","parentId":1298,"name":"next-swc-loader","id":1299,"timestamp":1671296966837,"duration":2063,"tags":{},"startTime":1664594340875},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"build-module-tsx","id":1298,"timestamp":1671296966715,"duration":4816,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340874},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1294,"timestamp":1671296951017,"duration":23876,"tags":{"request":"private-next-pages/_app"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"make","id":1293,"timestamp":1671296939502,"duration":35420,"tags":{},"startTime":1664594340847},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-chunk-graph","id":1302,"timestamp":1671296975272,"duration":262,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-modules","id":1304,"timestamp":1671296975544,"duration":3,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-chunks","id":1305,"timestamp":1671296975557,"duration":24,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-tree","id":1306,"timestamp":1671296975590,"duration":6,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize","id":1303,"timestamp":1671296975541,"duration":110,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-hash","id":1307,"timestamp":1671296977121,"duration":831,"tags":{},"startTime":1664594340885},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-seal","id":1301,"timestamp":1671296975199,"duration":4257,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"webpack-compilation","id":1292,"timestamp":1671296939248,"duration":40247,"tags":{"name":"server"},"startTime":1664594340847},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"emit","id":1308,"timestamp":1671296979510,"duration":2002,"tags":{},"startTime":1664594340887},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1264,"timestamp":1671296696809,"duration":285191,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340605}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1309,"timestamp":1664594340604999,"duration":290000,"tags":{"clientId":1664594252847},"startTime":1664594340896},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1316,"timestamp":1671321377558,"duration":11119,"tags":{"request":"private-next-pages/_error"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1315,"timestamp":1671321377551,"duration":11143,"tags":{"request":"private-next-pages/_document"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1318,"name":"next-swc-transform","id":1319,"timestamp":1671321388418,"duration":1772,"tags":{},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1317,"name":"next-swc-loader","id":1318,"timestamp":1671321388327,"duration":1872,"tags":{},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"build-module-tsx","id":1317,"timestamp":1671321388158,"duration":14981,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1314,"timestamp":1671321377451,"duration":30130,"tags":{"request":"private-next-pages/_app"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"make","id":1313,"timestamp":1671321377261,"duration":30349,"tags":{},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-chunk-graph","id":1321,"timestamp":1671321408287,"duration":318,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-modules","id":1323,"timestamp":1671321408624,"duration":12,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-chunks","id":1324,"timestamp":1671321408669,"duration":40,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-tree","id":1325,"timestamp":1671321408741,"duration":15,"tags":{},"startTime":1664594365317},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize","id":1322,"timestamp":1671321408620,"duration":235,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-hash","id":1326,"timestamp":1671321411802,"duration":703,"tags":{},"startTime":1664594365320},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-seal","id":1320,"timestamp":1671321408174,"duration":7394,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"webpack-compilation","id":1312,"timestamp":1671321376987,"duration":38615,"tags":{"name":"server"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"emit","id":1327,"timestamp":1671321415628,"duration":3043,"tags":{},"startTime":1664594365323},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1310,"timestamp":1671321368004,"duration":51116,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365276},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1330,"timestamp":1671321428866,"duration":6094,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1331,"timestamp":1671321428943,"duration":6740,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"read-resource","id":1338,"timestamp":1671321436100,"duration":58,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1339,"name":"postcss-process","id":1340,"timestamp":1671321436230,"duration":37305,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"postcss-loader","id":1339,"timestamp":1671321436216,"duration":37788,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"css-loader","id":1341,"timestamp":1671321474053,"duration":11385,"tags":{"astUsed":"true"},"startTime":1664594365382},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"build-module-css","id":1337,"timestamp":1671321435839,"duration":57041,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1335,"timestamp":1671321428956,"duration":64366,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1334,"timestamp":1671321428953,"duration":64385,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1336,"timestamp":1671321428959,"duration":68336,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1332,"timestamp":1671321428947,"duration":68697,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1343,"name":"next-swc-transform","id":1344,"timestamp":1671321493922,"duration":4033,"tags":{},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1342,"name":"next-swc-loader","id":1343,"timestamp":1671321493887,"duration":4070,"tags":{},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"build-module-tsx","id":1342,"timestamp":1671321493768,"duration":9458,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1333,"timestamp":1671321428950,"duration":107717,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"make","id":1329,"timestamp":1671321427189,"duration":109561,"tags":{},"startTime":1664594365335},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-chunk-graph","id":1346,"timestamp":1671321546268,"duration":26804,"tags":{},"startTime":1664594365454},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-modules","id":1348,"timestamp":1671321573107,"duration":3,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-chunks","id":1349,"timestamp":1671321573121,"duration":115,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-tree","id":1350,"timestamp":1671321573258,"duration":4,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize","id":1347,"timestamp":1671321573096,"duration":2289,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-hash","id":1351,"timestamp":1671321597815,"duration":7543,"tags":{},"startTime":1664594365506},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"NextJsBuildManifest-generateClientManifest","id":1353,"timestamp":1671321616860,"duration":214,"tags":{},"startTime":1664594365525},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"NextJsBuildManifest-createassets","id":1352,"timestamp":1671321616720,"duration":366,"tags":{},"startTime":1664594365525},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-seal","id":1345,"timestamp":1671321539313,"duration":79887,"tags":{},"startTime":1664594365447},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"webpack-compilation","id":1328,"timestamp":1671321426505,"duration":192729,"tags":{"name":"client"},"startTime":1664594365334},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"emit","id":1354,"timestamp":1671321619280,"duration":95997,"tags":{},"startTime":1664594365527},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1311,"timestamp":1671321368269,"duration":348219,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365276}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1355,"timestamp":1671321728203,"duration":0,"tags":{},"startTime":1664594365636},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1356,"timestamp":1664594365276999,"duration":377000,"tags":{"clientId":1664594252847},"startTime":1664594365654},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1361,"timestamp":1671335747472,"duration":13355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1366,"timestamp":1671335747567,"duration":18209,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"read-resource","id":1369,"timestamp":1671335765048,"duration":2065,"tags":{},"startTime":1664594379673},{"traceId":"43f2de6d909a73f7","parentId":1373,"name":"postcss-process","id":1374,"timestamp":1671335767171,"duration":48335,"tags":{},"startTime":1664594379675},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"postcss-loader","id":1373,"timestamp":1671335767156,"duration":48502,"tags":{},"startTime":1664594379675},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"css-loader","id":1375,"timestamp":1671335815693,"duration":11353,"tags":{"astUsed":"true"},"startTime":1664594379724},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"build-module-css","id":1368,"timestamp":1671335764882,"duration":63664,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594379673},{"traceId":"43f2de6d909a73f7","parentId":1371,"name":"next-swc-transform","id":1372,"timestamp":1671335766053,"duration":70480,"tags":{},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1370,"name":"next-swc-loader","id":1371,"timestamp":1671335765918,"duration":70632,"tags":{},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"build-module-tsx","id":1370,"timestamp":1671335765817,"duration":74867,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1362,"timestamp":1671335747542,"duration":93883,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1365,"timestamp":1671335747560,"duration":94562,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1367,"timestamp":1671335747573,"duration":99471,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1363,"timestamp":1671335747549,"duration":105087,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1364,"timestamp":1671335747556,"duration":137651,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"make","id":1360,"timestamp":1671335741792,"duration":143460,"tags":{},"startTime":1664594379650},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-chunk-graph","id":1377,"timestamp":1671335889910,"duration":16465,"tags":{},"startTime":1664594379798},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-modules","id":1379,"timestamp":1671335906466,"duration":2,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-chunks","id":1380,"timestamp":1671335906482,"duration":64,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-tree","id":1381,"timestamp":1671335906564,"duration":9,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize","id":1378,"timestamp":1671335906453,"duration":1494,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-hash","id":1382,"timestamp":1671335920399,"duration":6718,"tags":{},"startTime":1664594379828},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"NextJsBuildManifest-generateClientManifest","id":1384,"timestamp":1671335936544,"duration":72,"tags":{},"startTime":1664594379844},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"NextJsBuildManifest-createassets","id":1383,"timestamp":1671335936488,"duration":138,"tags":{},"startTime":1664594379844},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-seal","id":1376,"timestamp":1671335886545,"duration":51629,"tags":{},"startTime":1664594379794},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"webpack-compilation","id":1359,"timestamp":1671335741358,"duration":196846,"tags":{"name":"client"},"startTime":1664594379649},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"emit","id":1385,"timestamp":1671335938222,"duration":87160,"tags":{},"startTime":1664594379846},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1357,"timestamp":1671335723839,"duration":302328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379632},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1391,"timestamp":1671336055903,"duration":0,"tags":{},"startTime":1664594379964},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1390,"timestamp":1671336042233,"duration":21290,"tags":{"request":"private-next-pages/_error"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1389,"timestamp":1671336042228,"duration":21316,"tags":{"request":"private-next-pages/_document"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1393,"name":"next-swc-transform","id":1394,"timestamp":1671336062161,"duration":1653,"tags":{},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1392,"name":"next-swc-loader","id":1393,"timestamp":1671336062069,"duration":1748,"tags":{},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"build-module-tsx","id":1392,"timestamp":1671336061858,"duration":5678,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1388,"timestamp":1671336042178,"duration":30909,"tags":{"request":"private-next-pages/_app"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"make","id":1387,"timestamp":1671336028848,"duration":44265,"tags":{},"startTime":1664594379937},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-chunk-graph","id":1396,"timestamp":1671336073686,"duration":281,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-modules","id":1398,"timestamp":1671336073982,"duration":2,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-chunks","id":1399,"timestamp":1671336073992,"duration":33,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-tree","id":1400,"timestamp":1671336074036,"duration":21,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize","id":1397,"timestamp":1671336073978,"duration":136,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-hash","id":1401,"timestamp":1671336076441,"duration":901,"tags":{},"startTime":1664594379984},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-seal","id":1395,"timestamp":1671336073614,"duration":5269,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"webpack-compilation","id":1386,"timestamp":1671336028501,"duration":50407,"tags":{"name":"server"},"startTime":1664594379936},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1403,"timestamp":1664594379632000,"duration":352000,"tags":{"clientId":1664594252847},"startTime":1664594379987},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"emit","id":1402,"timestamp":1671336078926,"duration":2048,"tags":{},"startTime":1664594379987},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1358,"timestamp":1671335724092,"duration":357294,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379632}] +[{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1408,"timestamp":1671364268478,"duration":4183,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594408176},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1409,"timestamp":1671364268519,"duration":4863,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"read-resource","id":1416,"timestamp":1671364273632,"duration":35,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1417,"name":"postcss-process","id":1418,"timestamp":1671364273701,"duration":36774,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"postcss-loader","id":1417,"timestamp":1671364273691,"duration":36971,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"css-loader","id":1419,"timestamp":1671364310693,"duration":9182,"tags":{"astUsed":"true"},"startTime":1664594408219},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"build-module-css","id":1415,"timestamp":1671364273483,"duration":47595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594408181},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1413,"timestamp":1671364268531,"duration":53051,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1412,"timestamp":1671364268528,"duration":53071,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1414,"timestamp":1671364268534,"duration":57112,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1410,"timestamp":1671364268522,"duration":57403,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1421,"name":"next-swc-transform","id":1422,"timestamp":1671364322206,"duration":4027,"tags":{},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1420,"name":"next-swc-loader","id":1421,"timestamp":1671364322169,"duration":4065,"tags":{},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"build-module-tsx","id":1420,"timestamp":1671364322062,"duration":7356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1411,"timestamp":1671364268525,"duration":89878,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"make","id":1407,"timestamp":1671364267644,"duration":90794,"tags":{},"startTime":1664594408176},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-chunk-graph","id":1424,"timestamp":1671364362896,"duration":17524,"tags":{},"startTime":1664594408271},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-modules","id":1426,"timestamp":1671364380452,"duration":3,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-chunks","id":1427,"timestamp":1671364380464,"duration":34,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-tree","id":1428,"timestamp":1671364380516,"duration":4,"tags":{},"startTime":1664594408289},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize","id":1425,"timestamp":1671364380441,"duration":1518,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-hash","id":1429,"timestamp":1671364393549,"duration":3788,"tags":{},"startTime":1664594408302},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"NextJsBuildManifest-generateClientManifest","id":1431,"timestamp":1671364405171,"duration":53,"tags":{},"startTime":1664594408313},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"NextJsBuildManifest-createassets","id":1430,"timestamp":1671364405120,"duration":113,"tags":{},"startTime":1664594408313},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-seal","id":1423,"timestamp":1671364359473,"duration":47480,"tags":{},"startTime":1664594408267},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"webpack-compilation","id":1406,"timestamp":1671364267409,"duration":139569,"tags":{"name":"client"},"startTime":1664594408175},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"emit","id":1432,"timestamp":1671364406998,"duration":87898,"tags":{},"startTime":1664594408315},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1404,"timestamp":1671364254452,"duration":241235,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408162},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1438,"timestamp":1671364520145,"duration":0,"tags":{},"startTime":1664594408428},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1437,"timestamp":1671364508757,"duration":16526,"tags":{"request":"private-next-pages/_error"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1436,"timestamp":1671364508752,"duration":16546,"tags":{"request":"private-next-pages/_document"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1440,"name":"next-swc-transform","id":1441,"timestamp":1671364524986,"duration":1775,"tags":{},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1439,"name":"next-swc-loader","id":1440,"timestamp":1671364524898,"duration":1875,"tags":{},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"build-module-tsx","id":1439,"timestamp":1671364524767,"duration":5516,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1435,"timestamp":1671364508703,"duration":24845,"tags":{"request":"private-next-pages/_app"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"make","id":1434,"timestamp":1671364497248,"duration":36319,"tags":{},"startTime":1664594408405},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-chunk-graph","id":1443,"timestamp":1671364533863,"duration":227,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-modules","id":1445,"timestamp":1671364534099,"duration":2,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-chunks","id":1446,"timestamp":1671364534108,"duration":22,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-tree","id":1447,"timestamp":1671364534137,"duration":5,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize","id":1444,"timestamp":1671364534096,"duration":96,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-hash","id":1448,"timestamp":1671364535469,"duration":398,"tags":{},"startTime":1664594408443},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-seal","id":1442,"timestamp":1671364533802,"duration":5936,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"webpack-compilation","id":1433,"timestamp":1671364497009,"duration":42756,"tags":{"name":"server"},"startTime":1664594408405},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"emit","id":1449,"timestamp":1671364539783,"duration":1804,"tags":{},"startTime":1664594408448},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1405,"timestamp":1671364254662,"duration":287282,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408163}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1450,"timestamp":1664594408164000,"duration":293999,"tags":{"clientId":1664594252847},"startTime":1664594408459},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1455,"timestamp":1671383869081,"duration":8320,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1456,"timestamp":1671383869165,"duration":9249,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"read-resource","id":1463,"timestamp":1671383878913,"duration":88,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1464,"name":"postcss-process","id":1465,"timestamp":1671383879084,"duration":44382,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"postcss-loader","id":1464,"timestamp":1671383879065,"duration":44838,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"css-loader","id":1466,"timestamp":1671383923952,"duration":11888,"tags":{"astUsed":"true"},"startTime":1664594427832},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"build-module-css","id":1462,"timestamp":1671383878619,"duration":64390,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1460,"timestamp":1671383869180,"duration":75257,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1459,"timestamp":1671383869176,"duration":75283,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1461,"timestamp":1671383869186,"duration":79952,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1457,"timestamp":1671383869170,"duration":80274,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1468,"name":"next-swc-transform","id":1469,"timestamp":1671383945063,"duration":4741,"tags":{},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1467,"name":"next-swc-loader","id":1468,"timestamp":1671383945002,"duration":4803,"tags":{},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"build-module-tsx","id":1467,"timestamp":1671383944887,"duration":10777,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1458,"timestamp":1671383869173,"duration":118964,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"make","id":1454,"timestamp":1671383867628,"duration":120578,"tags":{},"startTime":1664594427776},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-chunk-graph","id":1471,"timestamp":1671383992922,"duration":16664,"tags":{},"startTime":1664594427901},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-modules","id":1473,"timestamp":1671384009686,"duration":13,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-chunks","id":1474,"timestamp":1671384009738,"duration":108,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-tree","id":1475,"timestamp":1671384009886,"duration":12,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize","id":1472,"timestamp":1671384009650,"duration":1837,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-hash","id":1476,"timestamp":1671384025838,"duration":6468,"tags":{},"startTime":1664594427934},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"NextJsBuildManifest-generateClientManifest","id":1478,"timestamp":1671384046232,"duration":204,"tags":{},"startTime":1664594427954},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"NextJsBuildManifest-createassets","id":1477,"timestamp":1671384046141,"duration":308,"tags":{},"startTime":1664594427954},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-seal","id":1470,"timestamp":1671383989491,"duration":59075,"tags":{},"startTime":1664594427898},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"webpack-compilation","id":1453,"timestamp":1671383866946,"duration":181652,"tags":{"name":"client"},"startTime":1664594427775},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"emit","id":1479,"timestamp":1671384048640,"duration":109078,"tags":{},"startTime":1664594427957},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1451,"timestamp":1671383853345,"duration":305557,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1485,"timestamp":1671384173503,"duration":0,"tags":{},"startTime":1664594428082},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1484,"timestamp":1671384172708,"duration":6516,"tags":{"request":"private-next-pages/_error"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1483,"timestamp":1671384172704,"duration":6534,"tags":{"request":"private-next-pages/_document"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1487,"name":"next-swc-transform","id":1488,"timestamp":1671384178983,"duration":1447,"tags":{},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1486,"name":"next-swc-loader","id":1487,"timestamp":1671384178909,"duration":1527,"tags":{},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"build-module-tsx","id":1486,"timestamp":1671384178772,"duration":6866,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1482,"timestamp":1671384172624,"duration":16686,"tags":{"request":"private-next-pages/_app"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"make","id":1481,"timestamp":1671384160072,"duration":29258,"tags":{},"startTime":1664594428068},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-chunk-graph","id":1490,"timestamp":1671384189709,"duration":255,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-modules","id":1492,"timestamp":1671384189974,"duration":2,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-chunks","id":1493,"timestamp":1671384190010,"duration":33,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-tree","id":1494,"timestamp":1671384190065,"duration":13,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize","id":1491,"timestamp":1671384189970,"duration":196,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-hash","id":1495,"timestamp":1671384191770,"duration":832,"tags":{},"startTime":1664594428100},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-seal","id":1489,"timestamp":1671384189640,"duration":5027,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"webpack-compilation","id":1480,"timestamp":1671384159820,"duration":34898,"tags":{"name":"server"},"startTime":1664594428068},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"emit","id":1496,"timestamp":1671384194755,"duration":4858,"tags":{},"startTime":1664594428103},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1452,"timestamp":1671383853652,"duration":346594,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427762}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1497,"timestamp":1664594427761999,"duration":349000,"tags":{"clientId":1664594252847},"startTime":1664594428113},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1502,"timestamp":1671394525658,"duration":5567,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1503,"timestamp":1671394525737,"duration":6504,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"read-resource","id":1510,"timestamp":1671394532615,"duration":45,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1511,"name":"postcss-process","id":1512,"timestamp":1671394532703,"duration":50279,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"postcss-loader","id":1511,"timestamp":1671394532686,"duration":50770,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"css-loader","id":1513,"timestamp":1671394583486,"duration":9995,"tags":{"astUsed":"true"},"startTime":1664594438492},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"build-module-css","id":1509,"timestamp":1671394532388,"duration":67483,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1507,"timestamp":1671394525757,"duration":77042,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1506,"timestamp":1671394525752,"duration":77066,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1508,"timestamp":1671394525760,"duration":80828,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1504,"timestamp":1671394525743,"duration":81253,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1505,"timestamp":1671394525748,"duration":109223,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"make","id":1501,"timestamp":1671394524074,"duration":110928,"tags":{},"startTime":1664594438432},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-chunk-graph","id":1515,"timestamp":1671394639617,"duration":16947,"tags":{},"startTime":1664594438548},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-modules","id":1517,"timestamp":1671394656597,"duration":3,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-chunks","id":1518,"timestamp":1671394656610,"duration":49,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-tree","id":1519,"timestamp":1671394656680,"duration":5,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize","id":1516,"timestamp":1671394656587,"duration":1639,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-hash","id":1520,"timestamp":1671394669296,"duration":5762,"tags":{},"startTime":1664594438577},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"NextJsBuildManifest-generateClientManifest","id":1522,"timestamp":1671394676038,"duration":62,"tags":{},"startTime":1664594438584},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"NextJsBuildManifest-createassets","id":1521,"timestamp":1671394675984,"duration":120,"tags":{},"startTime":1664594438584},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-seal","id":1514,"timestamp":1671394636095,"duration":40964,"tags":{},"startTime":1664594438544},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"webpack-compilation","id":1500,"timestamp":1671394523451,"duration":153639,"tags":{"name":"client"},"startTime":1664594438432},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"emit","id":1523,"timestamp":1671394677102,"duration":4010,"tags":{},"startTime":1664594438585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1498,"timestamp":1671394511463,"duration":170091,"tags":{"trigger":"manual"},"startTime":1664594438420},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1526,"timestamp":1671394691079,"duration":0,"tags":{},"startTime":1664594438599},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1529,"timestamp":1671394691466,"duration":3213,"tags":{"request":"private-next-pages/_error"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1528,"timestamp":1671394691443,"duration":3247,"tags":{"request":"private-next-pages/_document"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1527,"timestamp":1671394691383,"duration":4752,"tags":{"request":"private-next-pages/_app"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1530,"timestamp":1671394691470,"duration":13681,"tags":{"request":"./pages/index.tsx"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"make","id":1525,"timestamp":1671394682639,"duration":22543,"tags":{},"startTime":1664594438591},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-chunk-graph","id":1532,"timestamp":1671394705405,"duration":188,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-modules","id":1534,"timestamp":1671394705604,"duration":2,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-chunks","id":1535,"timestamp":1671394705614,"duration":18,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-tree","id":1536,"timestamp":1671394705639,"duration":3,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize","id":1533,"timestamp":1671394705600,"duration":93,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-hash","id":1537,"timestamp":1671394706475,"duration":478,"tags":{},"startTime":1664594438615},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-seal","id":1531,"timestamp":1671394705342,"duration":2385,"tags":{},"startTime":1664594438613},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"webpack-compilation","id":1524,"timestamp":1671394682486,"duration":25258,"tags":{"name":"server"},"startTime":1664594438591},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"emit","id":1538,"timestamp":1671394707758,"duration":1664,"tags":{},"startTime":1664594438616},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1499,"timestamp":1671394511804,"duration":198145,"tags":{"trigger":"manual"},"startTime":1664594438420}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1539,"timestamp":1671395015234,"duration":0,"tags":{},"startTime":1664594438923},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1546,"timestamp":1671435540043,"duration":14068,"tags":{"request":"private-next-pages/_error"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1545,"timestamp":1671435540038,"duration":14095,"tags":{"request":"private-next-pages/_document"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1548,"name":"next-swc-transform","id":1549,"timestamp":1671435552885,"duration":3761,"tags":{},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1547,"name":"next-swc-loader","id":1548,"timestamp":1671435552568,"duration":4094,"tags":{},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"build-module-tsx","id":1547,"timestamp":1671435552392,"duration":17401,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1544,"timestamp":1671435539944,"duration":34385,"tags":{"request":"private-next-pages/_app"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"make","id":1543,"timestamp":1671435539765,"duration":34589,"tags":{},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-chunk-graph","id":1551,"timestamp":1671435574914,"duration":957,"tags":{},"startTime":1664594479483},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-modules","id":1553,"timestamp":1671435575920,"duration":11,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-chunks","id":1554,"timestamp":1671435575964,"duration":47,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-tree","id":1555,"timestamp":1671435576041,"duration":17,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize","id":1552,"timestamp":1671435575901,"duration":353,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-hash","id":1556,"timestamp":1671435579012,"duration":754,"tags":{},"startTime":1664594479487},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-seal","id":1550,"timestamp":1671435574806,"duration":8052,"tags":{},"startTime":1664594479483},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"webpack-compilation","id":1542,"timestamp":1671435539510,"duration":43384,"tags":{"name":"server"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"emit","id":1557,"timestamp":1671435582915,"duration":1996,"tags":{},"startTime":1664594479491},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1540,"timestamp":1671435532194,"duration":53220,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479441},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1560,"timestamp":1671435593445,"duration":5580,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1565,"timestamp":1671435593493,"duration":7566,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"read-resource","id":1568,"timestamp":1671435600856,"duration":1015,"tags":{},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1572,"name":"postcss-process","id":1573,"timestamp":1671435601907,"duration":33423,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"postcss-loader","id":1572,"timestamp":1671435601895,"duration":33931,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"css-loader","id":1574,"timestamp":1671435635863,"duration":11950,"tags":{"astUsed":"true"},"startTime":1664594479544},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"build-module-css","id":1567,"timestamp":1671435600660,"duration":53236,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1561,"timestamp":1671435593480,"duration":61105,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1570,"name":"next-swc-transform","id":1571,"timestamp":1671435601209,"duration":53678,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1569,"name":"next-swc-loader","id":1570,"timestamp":1671435601171,"duration":53719,"tags":{},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"build-module-tsx","id":1569,"timestamp":1671435601085,"duration":59065,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1564,"timestamp":1671435593490,"duration":66847,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1566,"timestamp":1671435593495,"duration":73025,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1562,"timestamp":1671435593485,"duration":76535,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1563,"timestamp":1671435593487,"duration":137212,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"make","id":1559,"timestamp":1671435591269,"duration":139462,"tags":{},"startTime":1664594479500},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-chunk-graph","id":1576,"timestamp":1671435740470,"duration":19500,"tags":{},"startTime":1664594479649},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-modules","id":1578,"timestamp":1671435759999,"duration":3,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-chunks","id":1579,"timestamp":1671435760082,"duration":50,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-tree","id":1580,"timestamp":1671435760225,"duration":16,"tags":{},"startTime":1664594479669},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize","id":1577,"timestamp":1671435759990,"duration":1776,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-hash","id":1581,"timestamp":1671435778454,"duration":7303,"tags":{},"startTime":1664594479687},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"NextJsBuildManifest-generateClientManifest","id":1583,"timestamp":1671435799589,"duration":66,"tags":{},"startTime":1664594479708},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"NextJsBuildManifest-createassets","id":1582,"timestamp":1671435799526,"duration":139,"tags":{},"startTime":1664594479708},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-seal","id":1575,"timestamp":1671435733175,"duration":68528,"tags":{},"startTime":1664594479641},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"webpack-compilation","id":1558,"timestamp":1671435591079,"duration":210711,"tags":{"name":"client"},"startTime":1664594479499},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"emit","id":1584,"timestamp":1671435801811,"duration":134766,"tags":{},"startTime":1664594479710},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1541,"timestamp":1671435532325,"duration":405455,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479441}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1585,"timestamp":1671435948901,"duration":0,"tags":{},"startTime":1664594479857},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1586,"timestamp":1664594479440999,"duration":503000,"tags":{"clientId":1664594439015},"startTime":1664594479944},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1591,"timestamp":1671439742307,"duration":8105,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1592,"timestamp":1671439742492,"duration":9573,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1596,"timestamp":1671439742521,"duration":10319,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1595,"timestamp":1671439742514,"duration":10347,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1597,"timestamp":1671439742525,"duration":18546,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1593,"timestamp":1671439742502,"duration":19023,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1594,"timestamp":1671439742507,"duration":55427,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"make","id":1590,"timestamp":1671439740284,"duration":57744,"tags":{},"startTime":1664594483649},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-chunk-graph","id":1599,"timestamp":1671439805326,"duration":17008,"tags":{},"startTime":1664594483714},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-modules","id":1601,"timestamp":1671439822370,"duration":16,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-chunks","id":1602,"timestamp":1671439822422,"duration":63,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-tree","id":1603,"timestamp":1671439822522,"duration":17,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize","id":1600,"timestamp":1671439822361,"duration":1667,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-hash","id":1604,"timestamp":1671439837951,"duration":4471,"tags":{},"startTime":1664594483746},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"NextJsBuildManifest-generateClientManifest","id":1606,"timestamp":1671439843653,"duration":201,"tags":{},"startTime":1664594483752},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"NextJsBuildManifest-createassets","id":1605,"timestamp":1671439843567,"duration":294,"tags":{},"startTime":1664594483752},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-seal","id":1598,"timestamp":1671439799418,"duration":45545,"tags":{},"startTime":1664594483708},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"webpack-compilation","id":1589,"timestamp":1671439738270,"duration":106720,"tags":{"name":"client"},"startTime":1664594483647},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"emit","id":1607,"timestamp":1671439845026,"duration":2161,"tags":{},"startTime":1664594483753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1587,"timestamp":1671439720518,"duration":127312,"tags":{"trigger":"manual"},"startTime":1664594483629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1610,"timestamp":1671439862599,"duration":0,"tags":{},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1614,"timestamp":1671439862992,"duration":2563,"tags":{"request":"./pages/index.tsx"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1613,"timestamp":1671439862990,"duration":2725,"tags":{"request":"private-next-pages/_error"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1612,"timestamp":1671439862986,"duration":2737,"tags":{"request":"private-next-pages/_document"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1611,"timestamp":1671439862949,"duration":2922,"tags":{"request":"private-next-pages/_app"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"make","id":1609,"timestamp":1671439848891,"duration":17004,"tags":{},"startTime":1664594483757},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-chunk-graph","id":1616,"timestamp":1671439866146,"duration":183,"tags":{},"startTime":1664594483774},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-modules","id":1618,"timestamp":1671439866336,"duration":1,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-chunks","id":1619,"timestamp":1671439866346,"duration":17,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-tree","id":1620,"timestamp":1671439866369,"duration":2,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize","id":1617,"timestamp":1671439866333,"duration":92,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-hash","id":1621,"timestamp":1671439867212,"duration":664,"tags":{},"startTime":1664594483776},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-seal","id":1615,"timestamp":1671439866070,"duration":2396,"tags":{},"startTime":1664594483774},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"webpack-compilation","id":1608,"timestamp":1671439848690,"duration":19791,"tags":{"name":"server"},"startTime":1664594483757},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"emit","id":1622,"timestamp":1671439868490,"duration":3848,"tags":{},"startTime":1664594483777},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1588,"timestamp":1671439721262,"duration":151581,"tags":{"trigger":"manual"},"startTime":1664594483630}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1623,"timestamp":1671440178866,"duration":0,"tags":{},"startTime":1664594484087},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1628,"timestamp":1671465175602,"duration":11980,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1629,"timestamp":1671465175765,"duration":13159,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"read-resource","id":1636,"timestamp":1671465189466,"duration":91,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1637,"name":"postcss-process","id":1638,"timestamp":1671465189726,"duration":50327,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"postcss-loader","id":1637,"timestamp":1671465189646,"duration":50849,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"css-loader","id":1639,"timestamp":1671465240552,"duration":14273,"tags":{"astUsed":"true"},"startTime":1664594509149},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"build-module-css","id":1635,"timestamp":1671465189152,"duration":72826,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594509097},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1633,"timestamp":1671465175800,"duration":86706,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1632,"timestamp":1671465175796,"duration":86727,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1634,"timestamp":1671465175802,"duration":92288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1630,"timestamp":1671465175783,"duration":92649,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1641,"name":"next-swc-transform","id":1642,"timestamp":1671465263154,"duration":5718,"tags":{},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1640,"name":"next-swc-loader","id":1641,"timestamp":1671465263056,"duration":5818,"tags":{},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"build-module-tsx","id":1640,"timestamp":1671465262904,"duration":11674,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1631,"timestamp":1671465175786,"duration":135859,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"make","id":1627,"timestamp":1671465174651,"duration":137029,"tags":{},"startTime":1664594509083},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-chunk-graph","id":1644,"timestamp":1671465316756,"duration":17942,"tags":{},"startTime":1664594509225},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-modules","id":1646,"timestamp":1671465334765,"duration":15,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-chunks","id":1647,"timestamp":1671465334815,"duration":133,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-tree","id":1648,"timestamp":1671465334991,"duration":13,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize","id":1645,"timestamp":1671465334737,"duration":1935,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-hash","id":1649,"timestamp":1671465349980,"duration":6110,"tags":{},"startTime":1664594509258},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"NextJsBuildManifest-generateClientManifest","id":1651,"timestamp":1671465367711,"duration":65,"tags":{},"startTime":1664594509276},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"NextJsBuildManifest-createassets","id":1650,"timestamp":1671465367651,"duration":136,"tags":{},"startTime":1664594509276},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-seal","id":1643,"timestamp":1671465313195,"duration":56778,"tags":{},"startTime":1664594509221},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"webpack-compilation","id":1626,"timestamp":1671465174372,"duration":195636,"tags":{"name":"client"},"startTime":1664594509083},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"emit","id":1652,"timestamp":1671465370041,"duration":106295,"tags":{},"startTime":1664594509278},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1624,"timestamp":1671465159991,"duration":317451,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509068},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1658,"timestamp":1671465493471,"duration":0,"tags":{},"startTime":1664594509402},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1657,"timestamp":1671465492271,"duration":6324,"tags":{"request":"private-next-pages/_error"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1656,"timestamp":1671465492266,"duration":6344,"tags":{"request":"private-next-pages/_document"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1660,"name":"next-swc-transform","id":1661,"timestamp":1671465498306,"duration":1829,"tags":{},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1659,"name":"next-swc-loader","id":1660,"timestamp":1671465498236,"duration":1909,"tags":{},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"build-module-tsx","id":1659,"timestamp":1671465498088,"duration":7590,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1655,"timestamp":1671465492184,"duration":16731,"tags":{"request":"private-next-pages/_app"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"make","id":1654,"timestamp":1671465478845,"duration":30087,"tags":{},"startTime":1664594509387},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-chunk-graph","id":1663,"timestamp":1671465509267,"duration":228,"tags":{},"startTime":1664594509417},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-modules","id":1665,"timestamp":1671465509504,"duration":2,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-chunks","id":1666,"timestamp":1671465509559,"duration":35,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-tree","id":1667,"timestamp":1671465509615,"duration":13,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize","id":1664,"timestamp":1671465509501,"duration":210,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-hash","id":1668,"timestamp":1671465511217,"duration":1412,"tags":{},"startTime":1664594509419},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-seal","id":1662,"timestamp":1671465509206,"duration":5411,"tags":{},"startTime":1664594509417},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"webpack-compilation","id":1653,"timestamp":1671465478552,"duration":36097,"tags":{"name":"server"},"startTime":1664594509387},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"emit","id":1669,"timestamp":1671465514673,"duration":6213,"tags":{},"startTime":1664594509423},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1625,"timestamp":1671465160259,"duration":361467,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509068}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1670,"timestamp":1664594509072000,"duration":368999,"tags":{"clientId":1664594484152},"startTime":1664594509443},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1675,"timestamp":1671469173266,"duration":5034,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1676,"timestamp":1671469173348,"duration":6263,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"read-resource","id":1683,"timestamp":1671469180143,"duration":73,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1684,"name":"postcss-process","id":1685,"timestamp":1671469180276,"duration":48429,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"postcss-loader","id":1684,"timestamp":1671469180255,"duration":48635,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"css-loader","id":1686,"timestamp":1671469228926,"duration":10292,"tags":{"astUsed":"true"},"startTime":1664594513136},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"build-module-css","id":1682,"timestamp":1671469179822,"duration":65563,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1680,"timestamp":1671469173365,"duration":74432,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1679,"timestamp":1671469173361,"duration":74457,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1681,"timestamp":1671469173368,"duration":78153,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1677,"timestamp":1671469173353,"duration":78577,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1678,"timestamp":1671469173357,"duration":105712,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"make","id":1674,"timestamp":1671469172061,"duration":107034,"tags":{},"startTime":1664594513079},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-chunk-graph","id":1688,"timestamp":1671469283301,"duration":16114,"tags":{},"startTime":1664594513190},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-modules","id":1690,"timestamp":1671469299444,"duration":5,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-chunks","id":1691,"timestamp":1671469299459,"duration":40,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-tree","id":1692,"timestamp":1671469299518,"duration":3,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize","id":1689,"timestamp":1671469299436,"duration":1468,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-hash","id":1693,"timestamp":1671469311094,"duration":5634,"tags":{},"startTime":1664594513218},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"NextJsBuildManifest-generateClientManifest","id":1695,"timestamp":1671469317654,"duration":59,"tags":{},"startTime":1664594513225},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"NextJsBuildManifest-createassets","id":1694,"timestamp":1671469317603,"duration":114,"tags":{},"startTime":1664594513225},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-seal","id":1687,"timestamp":1671469280137,"duration":38479,"tags":{},"startTime":1664594513187},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"webpack-compilation","id":1673,"timestamp":1671469171701,"duration":146946,"tags":{"name":"client"},"startTime":1664594513079},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"emit","id":1696,"timestamp":1671469318661,"duration":1845,"tags":{},"startTime":1664594513226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1671,"timestamp":1671469150553,"duration":170377,"tags":{"trigger":"manual"},"startTime":1664594513058},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1699,"timestamp":1671469332065,"duration":0,"tags":{},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1703,"timestamp":1671469332406,"duration":2415,"tags":{"request":"./pages/index.tsx"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1702,"timestamp":1671469332404,"duration":2585,"tags":{"request":"private-next-pages/_error"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1701,"timestamp":1671469332399,"duration":2594,"tags":{"request":"private-next-pages/_document"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1700,"timestamp":1671469332356,"duration":2779,"tags":{"request":"private-next-pages/_app"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"make","id":1698,"timestamp":1671469321804,"duration":13345,"tags":{},"startTime":1664594513229},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-chunk-graph","id":1705,"timestamp":1671469335373,"duration":188,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-modules","id":1707,"timestamp":1671469335571,"duration":2,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-chunks","id":1708,"timestamp":1671469335579,"duration":16,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-tree","id":1709,"timestamp":1671469335601,"duration":6,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize","id":1706,"timestamp":1671469335568,"duration":82,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-hash","id":1710,"timestamp":1671469336400,"duration":447,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-seal","id":1704,"timestamp":1671469335314,"duration":2057,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"webpack-compilation","id":1697,"timestamp":1671469321668,"duration":15718,"tags":{"name":"server"},"startTime":1664594513229},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"emit","id":1711,"timestamp":1671469337397,"duration":1520,"tags":{},"startTime":1664594513244},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1672,"timestamp":1671469156678,"duration":182801,"tags":{"trigger":"manual"},"startTime":1664594513064}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1712,"timestamp":1671469616842,"duration":0,"tags":{},"startTime":1664594513524},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1713,"timestamp":1671474204796,"duration":0,"tags":{},"startTime":1664594518111},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1718,"timestamp":1671489199986,"duration":4531,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1719,"timestamp":1671489200030,"duration":5211,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"read-resource","id":1726,"timestamp":1671489205672,"duration":56,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1727,"name":"postcss-process","id":1728,"timestamp":1671489205790,"duration":35059,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"postcss-loader","id":1727,"timestamp":1671489205766,"duration":35264,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"css-loader","id":1729,"timestamp":1671489241069,"duration":8791,"tags":{"astUsed":"true"},"startTime":1664594533145},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"build-module-css","id":1725,"timestamp":1671489205446,"duration":45717,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1723,"timestamp":1671489200047,"duration":51591,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1722,"timestamp":1671489200044,"duration":51605,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1724,"timestamp":1671489200050,"duration":54985,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1720,"timestamp":1671489200039,"duration":55271,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1731,"name":"next-swc-transform","id":1732,"timestamp":1671489252149,"duration":3391,"tags":{},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1730,"name":"next-swc-loader","id":1731,"timestamp":1671489252108,"duration":3433,"tags":{},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"build-module-tsx","id":1730,"timestamp":1671489251995,"duration":8291,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1721,"timestamp":1671489200042,"duration":86253,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"make","id":1717,"timestamp":1671489199165,"duration":87154,"tags":{},"startTime":1664594533103},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-chunk-graph","id":1734,"timestamp":1671489290490,"duration":3411,"tags":{},"startTime":1664594533195},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-modules","id":1736,"timestamp":1671489293921,"duration":2,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-chunks","id":1737,"timestamp":1671489293932,"duration":33,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-tree","id":1738,"timestamp":1671489293988,"duration":3,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize","id":1735,"timestamp":1671489293915,"duration":1066,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-hash","id":1739,"timestamp":1671489305054,"duration":4093,"tags":{},"startTime":1664594533209},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"NextJsBuildManifest-generateClientManifest","id":1741,"timestamp":1671489319912,"duration":53,"tags":{},"startTime":1664594533224},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"NextJsBuildManifest-createassets","id":1740,"timestamp":1671489319861,"duration":113,"tags":{},"startTime":1664594533224},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-seal","id":1733,"timestamp":1671489287367,"duration":34446,"tags":{},"startTime":1664594533191},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"webpack-compilation","id":1716,"timestamp":1671489198807,"duration":123031,"tags":{"name":"client"},"startTime":1664594533103},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"emit","id":1742,"timestamp":1671489321852,"duration":96432,"tags":{},"startTime":1664594533226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1714,"timestamp":1671489186203,"duration":243204,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1745,"timestamp":1671489443003,"duration":0,"tags":{},"startTime":1664594533347},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1749,"timestamp":1671489444770,"duration":3239,"tags":{"request":"./pages/index.tsx"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1748,"timestamp":1671489444767,"duration":3785,"tags":{"request":"private-next-pages/_error"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1747,"timestamp":1671489444762,"duration":3795,"tags":{"request":"private-next-pages/_document"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1751,"name":"next-swc-transform","id":1752,"timestamp":1671489448327,"duration":2392,"tags":{},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1750,"name":"next-swc-loader","id":1751,"timestamp":1671489448256,"duration":2480,"tags":{},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"build-module-tsx","id":1750,"timestamp":1671489448072,"duration":6050,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1746,"timestamp":1671489444698,"duration":12536,"tags":{"request":"private-next-pages/_app"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"make","id":1744,"timestamp":1671489430603,"duration":26650,"tags":{},"startTime":1664594533335},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-chunk-graph","id":1754,"timestamp":1671489457662,"duration":419,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-modules","id":1756,"timestamp":1671489458092,"duration":2,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-chunks","id":1757,"timestamp":1671489458101,"duration":23,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-tree","id":1758,"timestamp":1671489458133,"duration":4,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize","id":1755,"timestamp":1671489458088,"duration":106,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-hash","id":1759,"timestamp":1671489459484,"duration":526,"tags":{},"startTime":1664594533364},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-seal","id":1753,"timestamp":1671489457590,"duration":6480,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"webpack-compilation","id":1743,"timestamp":1671489430397,"duration":33704,"tags":{"name":"server"},"startTime":1664594533335},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"emit","id":1760,"timestamp":1671489464122,"duration":7028,"tags":{},"startTime":1664594533368},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1715,"timestamp":1671489186472,"duration":285151,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533091}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1761,"timestamp":1664594533091000,"duration":292000,"tags":{"clientId":1664594518197},"startTime":1664594533386},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1766,"timestamp":1671520380510,"duration":12876,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1771,"timestamp":1671520380599,"duration":15498,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"read-resource","id":1774,"timestamp":1671520395856,"duration":1308,"tags":{},"startTime":1664594564299},{"traceId":"43f2de6d909a73f7","parentId":1778,"name":"postcss-process","id":1779,"timestamp":1671520397200,"duration":42489,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"postcss-loader","id":1778,"timestamp":1671520397190,"duration":42847,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"css-loader","id":1780,"timestamp":1671520440067,"duration":11501,"tags":{"astUsed":"true"},"startTime":1664594564343},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"build-module-css","id":1773,"timestamp":1671520395559,"duration":62683,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594564299},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1767,"timestamp":1671520380584,"duration":79080,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1776,"name":"next-swc-transform","id":1777,"timestamp":1671520396789,"duration":63166,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1775,"name":"next-swc-loader","id":1776,"timestamp":1671520396675,"duration":63282,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"build-module-tsx","id":1775,"timestamp":1671520396570,"duration":65844,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1770,"timestamp":1671520380595,"duration":81982,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1772,"timestamp":1671520380601,"duration":87488,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1768,"timestamp":1671520380589,"duration":139004,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1769,"timestamp":1671520380592,"duration":244153,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"make","id":1765,"timestamp":1671520378032,"duration":246806,"tags":{},"startTime":1664594564281},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-chunk-graph","id":1782,"timestamp":1671520629674,"duration":17425,"tags":{},"startTime":1664594564533},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-modules","id":1784,"timestamp":1671520647157,"duration":12,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-chunks","id":1785,"timestamp":1671520647203,"duration":63,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-tree","id":1786,"timestamp":1671520647302,"duration":17,"tags":{},"startTime":1664594564551},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize","id":1783,"timestamp":1671520647131,"duration":1619,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-hash","id":1787,"timestamp":1671520660630,"duration":6927,"tags":{},"startTime":1664594564564},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"NextJsBuildManifest-generateClientManifest","id":1789,"timestamp":1671520679109,"duration":183,"tags":{},"startTime":1664594564582},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"NextJsBuildManifest-createassets","id":1788,"timestamp":1671520679017,"duration":285,"tags":{},"startTime":1664594564582},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-seal","id":1781,"timestamp":1671520626141,"duration":55104,"tags":{},"startTime":1664594564529},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"webpack-compilation","id":1764,"timestamp":1671520377791,"duration":303482,"tags":{"name":"client"},"startTime":1664594564281},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"emit","id":1790,"timestamp":1671520681323,"duration":86632,"tags":{},"startTime":1664594564585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1762,"timestamp":1671520363540,"duration":405135,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1796,"timestamp":1671520780775,"duration":0,"tags":{},"startTime":1664594564684},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1795,"timestamp":1671520780102,"duration":5261,"tags":{"request":"private-next-pages/_error"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1794,"timestamp":1671520780098,"duration":5276,"tags":{"request":"private-next-pages/_document"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1798,"name":"next-swc-transform","id":1799,"timestamp":1671520785124,"duration":10931,"tags":{},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1797,"name":"next-swc-loader","id":1798,"timestamp":1671520785055,"duration":11010,"tags":{},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"build-module-tsx","id":1797,"timestamp":1671520784910,"duration":13595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1793,"timestamp":1671520780055,"duration":21982,"tags":{"request":"private-next-pages/_app"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"make","id":1792,"timestamp":1671520769747,"duration":32304,"tags":{},"startTime":1664594564673},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-chunk-graph","id":1801,"timestamp":1671520802382,"duration":183,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-modules","id":1803,"timestamp":1671520802579,"duration":2,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-chunks","id":1804,"timestamp":1671520802614,"duration":25,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-tree","id":1805,"timestamp":1671520802661,"duration":11,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize","id":1802,"timestamp":1671520802575,"duration":250,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-hash","id":1806,"timestamp":1671520803760,"duration":613,"tags":{},"startTime":1664594564707},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-seal","id":1800,"timestamp":1671520802320,"duration":3059,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"webpack-compilation","id":1791,"timestamp":1671520769595,"duration":35802,"tags":{"name":"server"},"startTime":1664594564673},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"emit","id":1807,"timestamp":1671520805412,"duration":3276,"tags":{},"startTime":1664594564709},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1763,"timestamp":1671520363809,"duration":445300,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564267}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1808,"timestamp":1664594564268000,"duration":444000,"tags":{"clientId":1664594518197},"startTime":1664594564713},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1813,"timestamp":1671535118360,"duration":4034,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1814,"timestamp":1671535118401,"duration":4635,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"read-resource","id":1821,"timestamp":1671535123395,"duration":65,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1822,"name":"postcss-process","id":1823,"timestamp":1671535123499,"duration":37833,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"postcss-loader","id":1822,"timestamp":1671535123487,"duration":38248,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"css-loader","id":1824,"timestamp":1671535161760,"duration":9162,"tags":{"astUsed":"true"},"startTime":1664594579065},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"build-module-css","id":1820,"timestamp":1671535123148,"duration":53305,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594579026},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1818,"timestamp":1671535118414,"duration":59512,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1817,"timestamp":1671535118411,"duration":59535,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1819,"timestamp":1671535118416,"duration":69518,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1815,"timestamp":1671535118405,"duration":70595,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1826,"name":"next-swc-transform","id":1827,"timestamp":1671535189068,"duration":7979,"tags":{},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1825,"name":"next-swc-loader","id":1826,"timestamp":1671535189015,"duration":8043,"tags":{},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"build-module-tsx","id":1825,"timestamp":1671535188571,"duration":11991,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1816,"timestamp":1671535118408,"duration":139419,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"make","id":1812,"timestamp":1671535117235,"duration":140633,"tags":{},"startTime":1664594579020},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-chunk-graph","id":1829,"timestamp":1671535262351,"duration":20313,"tags":{},"startTime":1664594579166},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-modules","id":1831,"timestamp":1671535282706,"duration":3,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-chunks","id":1832,"timestamp":1671535282720,"duration":98,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-tree","id":1833,"timestamp":1671535282845,"duration":6,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize","id":1830,"timestamp":1671535282693,"duration":1449,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-hash","id":1834,"timestamp":1671535294743,"duration":7756,"tags":{},"startTime":1664594579198},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"NextJsBuildManifest-generateClientManifest","id":1836,"timestamp":1671535316332,"duration":72,"tags":{},"startTime":1664594579220},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"NextJsBuildManifest-createassets","id":1835,"timestamp":1671535316269,"duration":145,"tags":{},"startTime":1664594579219},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-seal","id":1828,"timestamp":1671535259092,"duration":59116,"tags":{},"startTime":1664594579162},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"webpack-compilation","id":1811,"timestamp":1671535117027,"duration":201225,"tags":{"name":"client"},"startTime":1664594579020},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"emit","id":1837,"timestamp":1671535318277,"duration":107667,"tags":{},"startTime":1664594579222},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1809,"timestamp":1671535105258,"duration":321483,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1843,"timestamp":1671535440188,"duration":0,"tags":{},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1842,"timestamp":1671535439427,"duration":4681,"tags":{"request":"private-next-pages/_error"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1841,"timestamp":1671535439423,"duration":4695,"tags":{"request":"private-next-pages/_document"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1845,"name":"next-swc-transform","id":1846,"timestamp":1671535444426,"duration":1255,"tags":{},"startTime":1664594579348},{"traceId":"43f2de6d909a73f7","parentId":1844,"name":"next-swc-loader","id":1845,"timestamp":1671535444360,"duration":1333,"tags":{},"startTime":1664594579348},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"build-module-tsx","id":1844,"timestamp":1671535444218,"duration":3672,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579347},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1840,"timestamp":1671535439346,"duration":10332,"tags":{"request":"private-next-pages/_app"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"make","id":1839,"timestamp":1671535428333,"duration":21365,"tags":{},"startTime":1664594579332},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-chunk-graph","id":1848,"timestamp":1671535450050,"duration":236,"tags":{},"startTime":1664594579353},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-modules","id":1850,"timestamp":1671535450296,"duration":2,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-chunks","id":1851,"timestamp":1671535450305,"duration":24,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-tree","id":1852,"timestamp":1671535450336,"duration":5,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize","id":1849,"timestamp":1671535450292,"duration":100,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-hash","id":1853,"timestamp":1671535451442,"duration":439,"tags":{},"startTime":1664594579355},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-seal","id":1847,"timestamp":1671535449983,"duration":4572,"tags":{},"startTime":1664594579353},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"webpack-compilation","id":1838,"timestamp":1671535428040,"duration":26537,"tags":{"name":"server"},"startTime":1664594579331},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"emit","id":1854,"timestamp":1671535454591,"duration":2827,"tags":{},"startTime":1664594579358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1810,"timestamp":1671535105464,"duration":352389,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579009}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1855,"timestamp":1664594579008999,"duration":366000,"tags":{"clientId":1664594518197},"startTime":1664594579379},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1860,"timestamp":1671566340634,"duration":7763,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1861,"timestamp":1671566340718,"duration":8538,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"read-resource","id":1868,"timestamp":1671566349769,"duration":63,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1869,"name":"postcss-process","id":1870,"timestamp":1671566349914,"duration":51179,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"postcss-loader","id":1869,"timestamp":1671566349896,"duration":51680,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"css-loader","id":1871,"timestamp":1671566401629,"duration":13064,"tags":{"astUsed":"true"},"startTime":1664594610305},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"build-module-css","id":1867,"timestamp":1671566349485,"duration":71949,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1865,"timestamp":1671566340735,"duration":82020,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1864,"timestamp":1671566340732,"duration":82043,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1866,"timestamp":1671566340737,"duration":86790,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1862,"timestamp":1671566340725,"duration":87115,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1873,"name":"next-swc-transform","id":1874,"timestamp":1671566423376,"duration":4826,"tags":{},"startTime":1664594610327},{"traceId":"43f2de6d909a73f7","parentId":1872,"name":"next-swc-loader","id":1873,"timestamp":1671566423316,"duration":4887,"tags":{},"startTime":1664594610327},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"build-module-tsx","id":1872,"timestamp":1671566423200,"duration":11026,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610326},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1863,"timestamp":1671566340728,"duration":125625,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"make","id":1859,"timestamp":1671566339207,"duration":127223,"tags":{},"startTime":1664594610242},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-chunk-graph","id":1876,"timestamp":1671566471266,"duration":18053,"tags":{},"startTime":1664594610375},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-modules","id":1878,"timestamp":1671566489375,"duration":12,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-chunks","id":1879,"timestamp":1671566489421,"duration":90,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-tree","id":1880,"timestamp":1671566489549,"duration":12,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize","id":1877,"timestamp":1671566489350,"duration":1711,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-hash","id":1881,"timestamp":1671566503876,"duration":5863,"tags":{},"startTime":1664594610407},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"NextJsBuildManifest-generateClientManifest","id":1883,"timestamp":1671566524093,"duration":198,"tags":{},"startTime":1664594610427},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"NextJsBuildManifest-createassets","id":1882,"timestamp":1671566524005,"duration":297,"tags":{},"startTime":1664594610427},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-seal","id":1875,"timestamp":1671566467767,"duration":58587,"tags":{},"startTime":1664594610371},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"webpack-compilation","id":1858,"timestamp":1671566338504,"duration":187887,"tags":{"name":"client"},"startTime":1664594610242},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"emit","id":1884,"timestamp":1671566526445,"duration":113395,"tags":{},"startTime":1664594610430},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1856,"timestamp":1671566323808,"duration":317078,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610227},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1890,"timestamp":1671566653852,"duration":0,"tags":{},"startTime":1664594610557},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1889,"timestamp":1671566653099,"duration":5472,"tags":{"request":"private-next-pages/_error"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1888,"timestamp":1671566653094,"duration":5487,"tags":{"request":"private-next-pages/_document"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1892,"name":"next-swc-transform","id":1893,"timestamp":1671566658338,"duration":1485,"tags":{},"startTime":1664594610562},{"traceId":"43f2de6d909a73f7","parentId":1891,"name":"next-swc-loader","id":1892,"timestamp":1671566658274,"duration":1556,"tags":{},"startTime":1664594610562},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"build-module-tsx","id":1891,"timestamp":1671566658151,"duration":6637,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610561},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1887,"timestamp":1671566653015,"duration":16993,"tags":{"request":"private-next-pages/_app"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"make","id":1886,"timestamp":1671566642069,"duration":27963,"tags":{},"startTime":1664594610545},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-chunk-graph","id":1895,"timestamp":1671566670499,"duration":263,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-modules","id":1897,"timestamp":1671566670773,"duration":2,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-chunks","id":1898,"timestamp":1671566670815,"duration":54,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-tree","id":1899,"timestamp":1671566670899,"duration":15,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize","id":1896,"timestamp":1671566670769,"duration":241,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-hash","id":1900,"timestamp":1671566673049,"duration":839,"tags":{},"startTime":1664594610576},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-seal","id":1894,"timestamp":1671566670424,"duration":5427,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"webpack-compilation","id":1885,"timestamp":1671566641836,"duration":34047,"tags":{"name":"server"},"startTime":1664594610545},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"emit","id":1901,"timestamp":1671566675902,"duration":5388,"tags":{},"startTime":1664594610579},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1857,"timestamp":1671566324107,"duration":357911,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610227}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1902,"timestamp":1664594610228000,"duration":372999,"tags":{"clientId":1664594518197},"startTime":1664594610605},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1909,"timestamp":1671613362952,"duration":7766,"tags":{"request":"private-next-pages/_error"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1908,"timestamp":1671613362948,"duration":7800,"tags":{"request":"private-next-pages/_document"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1915,"name":"next-swc-transform","id":1916,"timestamp":1671613369923,"duration":1035,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1911,"name":"next-swc-loader","id":1915,"timestamp":1671613369910,"duration":1056,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1911,"timestamp":1671613369815,"duration":2886,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1917,"name":"next-swc-transform","id":1918,"timestamp":1671613369934,"duration":3091,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1912,"name":"next-swc-loader","id":1917,"timestamp":1671613369924,"duration":3105,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1912,"timestamp":1671613369855,"duration":4803,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1913,"name":"next-swc-transform","id":1914,"timestamp":1671613369909,"duration":4807,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1910,"name":"next-swc-loader","id":1913,"timestamp":1671613369877,"duration":4840,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1910,"timestamp":1671613369633,"duration":8097,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1907,"timestamp":1671613362909,"duration":18095,"tags":{"request":"private-next-pages/_app"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"make","id":1906,"timestamp":1671613362753,"duration":18274,"tags":{},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-chunk-graph","id":1920,"timestamp":1671613381677,"duration":514,"tags":{},"startTime":1664594657285},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-modules","id":1922,"timestamp":1671613382216,"duration":2,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-chunks","id":1923,"timestamp":1671613382230,"duration":20,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-tree","id":1924,"timestamp":1671613382267,"duration":2,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize","id":1921,"timestamp":1671613382209,"duration":113,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-hash","id":1925,"timestamp":1671613383952,"duration":706,"tags":{},"startTime":1664594657287},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-seal","id":1919,"timestamp":1671613381415,"duration":5048,"tags":{},"startTime":1664594657285},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"webpack-compilation","id":1905,"timestamp":1671613362516,"duration":23969,"tags":{"name":"server"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"emit","id":1926,"timestamp":1671613386500,"duration":25419,"tags":{},"startTime":1664594657290},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1903,"timestamp":1671613355252,"duration":56954,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657259},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1929,"timestamp":1671613420775,"duration":15912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1934,"timestamp":1671613420835,"duration":17726,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"read-resource","id":1937,"timestamp":1671613438315,"duration":1547,"tags":{},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1947,"name":"postcss-process","id":1948,"timestamp":1671613439906,"duration":39480,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"postcss-loader","id":1947,"timestamp":1671613439893,"duration":40118,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"css-loader","id":1949,"timestamp":1671613480053,"duration":10546,"tags":{"astUsed":"true"},"startTime":1664594657383},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-css","id":1936,"timestamp":1671613438152,"duration":53664,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1930,"timestamp":1671613420823,"duration":71664,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1943,"name":"next-swc-transform","id":1944,"timestamp":1671613439192,"duration":53555,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1939,"name":"next-swc-loader","id":1943,"timestamp":1671613439182,"duration":53568,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1939,"timestamp":1671613439012,"duration":55286,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1945,"name":"next-swc-transform","id":1946,"timestamp":1671613439200,"duration":55135,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1940,"name":"next-swc-loader","id":1945,"timestamp":1671613439193,"duration":55144,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1940,"timestamp":1671613439048,"duration":56550,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1941,"name":"next-swc-transform","id":1942,"timestamp":1671613439178,"duration":56462,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1938,"name":"next-swc-loader","id":1941,"timestamp":1671613439135,"duration":56508,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1938,"timestamp":1671613438939,"duration":58699,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1933,"timestamp":1671613420832,"duration":76989,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1935,"timestamp":1671613420839,"duration":86329,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1931,"timestamp":1671613420826,"duration":91273,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1932,"timestamp":1671613420829,"duration":136550,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"make","id":1928,"timestamp":1671613416618,"duration":140789,"tags":{},"startTime":1664594657320},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-chunk-graph","id":1951,"timestamp":1671613562230,"duration":17887,"tags":{},"startTime":1664594657466},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-modules","id":1953,"timestamp":1671613580162,"duration":2,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-chunks","id":1954,"timestamp":1671613580175,"duration":65,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-tree","id":1955,"timestamp":1671613580308,"duration":10,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize","id":1952,"timestamp":1671613580150,"duration":1659,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-hash","id":1956,"timestamp":1671613595108,"duration":5734,"tags":{},"startTime":1664594657499},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"NextJsBuildManifest-generateClientManifest","id":1958,"timestamp":1671613613487,"duration":59,"tags":{},"startTime":1664594657517},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"NextJsBuildManifest-createassets","id":1957,"timestamp":1671613613425,"duration":133,"tags":{},"startTime":1664594657517},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-seal","id":1950,"timestamp":1671613558634,"duration":56596,"tags":{},"startTime":1664594657462},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"webpack-compilation","id":1927,"timestamp":1671613416423,"duration":198830,"tags":{"name":"client"},"startTime":1664594657320},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"emit","id":1959,"timestamp":1671613615268,"duration":136480,"tags":{},"startTime":1664594657519},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1904,"timestamp":1671613355553,"duration":397829,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657259}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1960,"timestamp":1671613765709,"duration":0,"tags":{},"startTime":1664594657669},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1961,"timestamp":1664594657260000,"duration":443000,"tags":{"clientId":1664594518197},"startTime":1664594657704},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1968,"timestamp":1671614205035,"duration":7047,"tags":{"request":"private-next-pages/_error"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1967,"timestamp":1671614205030,"duration":7068,"tags":{"request":"private-next-pages/_document"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1970,"name":"next-swc-transform","id":1971,"timestamp":1671614212418,"duration":11231,"tags":{},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1969,"name":"next-swc-loader","id":1970,"timestamp":1671614212336,"duration":11327,"tags":{},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"build-module-tsx","id":1969,"timestamp":1671614212195,"duration":13752,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1966,"timestamp":1671614204965,"duration":22456,"tags":{"request":"private-next-pages/_app"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"make","id":1965,"timestamp":1671614204855,"duration":22580,"tags":{},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-chunk-graph","id":1973,"timestamp":1671614227808,"duration":232,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-modules","id":1975,"timestamp":1671614228053,"duration":2,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-chunks","id":1976,"timestamp":1671614228063,"duration":22,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-tree","id":1977,"timestamp":1671614228094,"duration":4,"tags":{},"startTime":1664594658132},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize","id":1974,"timestamp":1671614228049,"duration":100,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-hash","id":1978,"timestamp":1671614228897,"duration":412,"tags":{},"startTime":1664594658132},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-seal","id":1972,"timestamp":1671614227741,"duration":1801,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"webpack-compilation","id":1964,"timestamp":1671614204641,"duration":24923,"tags":{"name":"server"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"emit","id":1979,"timestamp":1671614229573,"duration":2803,"tags":{},"startTime":1664594658133},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1962,"timestamp":1671614198733,"duration":33827,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658102},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1982,"timestamp":1671614237421,"duration":3104,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1983,"timestamp":1671614237454,"duration":3666,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"read-resource","id":1990,"timestamp":1671614241324,"duration":33,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1991,"name":"postcss-process","id":1992,"timestamp":1671614241383,"duration":30690,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"postcss-loader","id":1991,"timestamp":1671614241374,"duration":30973,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"css-loader","id":1993,"timestamp":1671614272378,"duration":8476,"tags":{"astUsed":"true"},"startTime":1664594658176},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"build-module-css","id":1989,"timestamp":1671614241209,"duration":40833,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1987,"timestamp":1671614237466,"duration":46681,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1986,"timestamp":1671614237464,"duration":46708,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1988,"timestamp":1671614237469,"duration":50387,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1984,"timestamp":1671614237458,"duration":50829,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1995,"name":"next-swc-transform","id":1996,"timestamp":1671614288337,"duration":2255,"tags":{},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1994,"name":"next-swc-loader","id":1995,"timestamp":1671614288294,"duration":2304,"tags":{},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"build-module-tsx","id":1994,"timestamp":1671614288081,"duration":4530,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1985,"timestamp":1671614237461,"duration":81127,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"make","id":1981,"timestamp":1671614236097,"duration":82512,"tags":{},"startTime":1664594658140},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-chunk-graph","id":1998,"timestamp":1671614322912,"duration":16304,"tags":{},"startTime":1664594658226},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-modules","id":2000,"timestamp":1671614339242,"duration":3,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-chunks","id":2001,"timestamp":1671614339255,"duration":37,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-tree","id":2002,"timestamp":1671614339309,"duration":3,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize","id":1999,"timestamp":1671614339234,"duration":1435,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-hash","id":2003,"timestamp":1671614351270,"duration":3510,"tags":{},"startTime":1664594658255},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"NextJsBuildManifest-generateClientManifest","id":2005,"timestamp":1671614355570,"duration":148,"tags":{},"startTime":1664594658259},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"NextJsBuildManifest-createassets","id":2004,"timestamp":1671614355517,"duration":205,"tags":{},"startTime":1664594658259},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-seal","id":1997,"timestamp":1671614319622,"duration":37005,"tags":{},"startTime":1664594658223},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"webpack-compilation","id":1980,"timestamp":1671614235873,"duration":120778,"tags":{"name":"client"},"startTime":1664594658139},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"emit","id":2006,"timestamp":1671614356668,"duration":3673,"tags":{},"startTime":1664594658260},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1963,"timestamp":1671614198882,"duration":162063,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658102}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2007,"timestamp":1671614370725,"duration":0,"tags":{},"startTime":1664594658274},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2012,"timestamp":1671625466350,"duration":6367,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2013,"timestamp":1671625466444,"duration":8415,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"read-resource","id":2020,"timestamp":1671625475281,"duration":41,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2021,"name":"postcss-process","id":2022,"timestamp":1671625475366,"duration":36407,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"postcss-loader","id":2021,"timestamp":1671625475347,"duration":36784,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"css-loader","id":2023,"timestamp":1671625512165,"duration":11881,"tags":{"astUsed":"true"},"startTime":1664594669416},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"build-module-css","id":2019,"timestamp":1671625475072,"duration":56198,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2017,"timestamp":1671625466460,"duration":65290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2016,"timestamp":1671625466457,"duration":65311,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2018,"timestamp":1671625466463,"duration":70263,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2014,"timestamp":1671625466451,"duration":70748,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2025,"name":"next-swc-transform","id":2026,"timestamp":1671625537275,"duration":2233,"tags":{},"startTime":1664594669441},{"traceId":"43f2de6d909a73f7","parentId":2024,"name":"next-swc-loader","id":2025,"timestamp":1671625537205,"duration":2308,"tags":{},"startTime":1664594669441},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"build-module-tsx","id":2024,"timestamp":1671625536983,"duration":5453,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669440},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2015,"timestamp":1671625466454,"duration":102976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"make","id":2011,"timestamp":1671625464988,"duration":104465,"tags":{},"startTime":1664594669368},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-chunk-graph","id":2028,"timestamp":1671625574198,"duration":16755,"tags":{},"startTime":1664594669478},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-modules","id":2030,"timestamp":1671625591016,"duration":11,"tags":{},"startTime":1664594669494},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-chunks","id":2031,"timestamp":1671625591061,"duration":102,"tags":{},"startTime":1664594669495},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-tree","id":2032,"timestamp":1671625591205,"duration":12,"tags":{},"startTime":1664594669495},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize","id":2029,"timestamp":1671625590992,"duration":1891,"tags":{},"startTime":1664594669494},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-hash","id":2033,"timestamp":1671625604827,"duration":7134,"tags":{},"startTime":1664594669508},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"NextJsBuildManifest-generateClientManifest","id":2035,"timestamp":1671625622303,"duration":62,"tags":{},"startTime":1664594669526},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"NextJsBuildManifest-createassets","id":2034,"timestamp":1671625622250,"duration":124,"tags":{},"startTime":1664594669526},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-seal","id":2027,"timestamp":1671625570721,"duration":53459,"tags":{},"startTime":1664594669474},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"webpack-compilation","id":2010,"timestamp":1671625464763,"duration":159441,"tags":{"name":"client"},"startTime":1664594669368},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"emit","id":2036,"timestamp":1671625624219,"duration":92026,"tags":{},"startTime":1664594669528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2008,"timestamp":1671625449861,"duration":274765,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2042,"timestamp":1671625738649,"duration":0,"tags":{},"startTime":1664594669642},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2041,"timestamp":1671625737674,"duration":5684,"tags":{"request":"private-next-pages/_error"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2040,"timestamp":1671625737669,"duration":5698,"tags":{"request":"private-next-pages/_document"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2044,"name":"next-swc-transform","id":2045,"timestamp":1671625743680,"duration":929,"tags":{},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2043,"name":"next-swc-loader","id":2044,"timestamp":1671625743623,"duration":991,"tags":{},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"build-module-tsx","id":2043,"timestamp":1671625743496,"duration":3609,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2039,"timestamp":1671625737593,"duration":11163,"tags":{"request":"private-next-pages/_app"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"make","id":2038,"timestamp":1671625726089,"duration":22682,"tags":{},"startTime":1664594669630},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-chunk-graph","id":2047,"timestamp":1671625749077,"duration":231,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-modules","id":2049,"timestamp":1671625749317,"duration":2,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-chunks","id":2050,"timestamp":1671625749352,"duration":33,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-tree","id":2051,"timestamp":1671625749406,"duration":13,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize","id":2048,"timestamp":1671625749313,"duration":188,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-hash","id":2052,"timestamp":1671625750956,"duration":1003,"tags":{},"startTime":1664594669654},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-seal","id":2046,"timestamp":1671625749017,"duration":3980,"tags":{},"startTime":1664594669652},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"webpack-compilation","id":2037,"timestamp":1671625725843,"duration":27176,"tags":{"name":"server"},"startTime":1664594669629},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"emit","id":2053,"timestamp":1671625753037,"duration":2686,"tags":{},"startTime":1664594669657},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2009,"timestamp":1671625450118,"duration":306299,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669354}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2054,"timestamp":1664594669353999,"duration":313000,"tags":{"clientId":1664594518197},"startTime":1664594669679},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2059,"timestamp":1671639129200,"duration":8554,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2060,"timestamp":1671639129353,"duration":10959,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"read-resource","id":2067,"timestamp":1671639140799,"duration":84,"tags":{},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2068,"name":"postcss-process","id":2069,"timestamp":1671639141021,"duration":40501,"tags":{},"startTime":1664594683045},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"postcss-loader","id":2068,"timestamp":1671639140949,"duration":40984,"tags":{},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"css-loader","id":2070,"timestamp":1671639181981,"duration":12169,"tags":{"astUsed":"true"},"startTime":1664594683085},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"build-module-css","id":2066,"timestamp":1671639140507,"duration":61330,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2064,"timestamp":1671639129371,"duration":72948,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2063,"timestamp":1671639129367,"duration":72967,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2065,"timestamp":1671639129373,"duration":78012,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2061,"timestamp":1671639129361,"duration":78532,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2072,"name":"next-swc-transform","id":2073,"timestamp":1671639208011,"duration":2284,"tags":{},"startTime":1664594683112},{"traceId":"43f2de6d909a73f7","parentId":2071,"name":"next-swc-loader","id":2072,"timestamp":1671639207900,"duration":2402,"tags":{},"startTime":1664594683111},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"build-module-tsx","id":2071,"timestamp":1671639207635,"duration":5727,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683111},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2062,"timestamp":1671639129364,"duration":110989,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"make","id":2058,"timestamp":1671639127948,"duration":112473,"tags":{},"startTime":1664594683031},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-chunk-graph","id":2075,"timestamp":1671639245737,"duration":16928,"tags":{},"startTime":1664594683149},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-modules","id":2077,"timestamp":1671639262737,"duration":12,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-chunks","id":2078,"timestamp":1671639262782,"duration":98,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-tree","id":2079,"timestamp":1671639262923,"duration":12,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize","id":2076,"timestamp":1671639262708,"duration":1943,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-hash","id":2080,"timestamp":1671639276309,"duration":6291,"tags":{},"startTime":1664594683180},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"NextJsBuildManifest-generateClientManifest","id":2082,"timestamp":1671639293609,"duration":186,"tags":{},"startTime":1664594683197},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"NextJsBuildManifest-createassets","id":2081,"timestamp":1671639293525,"duration":279,"tags":{},"startTime":1664594683197},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-seal","id":2074,"timestamp":1671639242009,"duration":53693,"tags":{},"startTime":1664594683146},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"webpack-compilation","id":2057,"timestamp":1671639127019,"duration":168720,"tags":{"name":"client"},"startTime":1664594683031},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"emit","id":2083,"timestamp":1671639295779,"duration":103822,"tags":{},"startTime":1664594683199},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2055,"timestamp":1671639112150,"duration":288415,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2089,"timestamp":1671639413286,"duration":0,"tags":{},"startTime":1664594683317},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2088,"timestamp":1671639412613,"duration":4604,"tags":{"request":"private-next-pages/_error"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2087,"timestamp":1671639412609,"duration":4616,"tags":{"request":"private-next-pages/_document"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2091,"name":"next-swc-transform","id":2092,"timestamp":1671639417580,"duration":2803,"tags":{},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2090,"name":"next-swc-loader","id":2091,"timestamp":1671639417511,"duration":2888,"tags":{},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"build-module-tsx","id":2090,"timestamp":1671639417356,"duration":6260,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2086,"timestamp":1671639412547,"duration":12336,"tags":{"request":"private-next-pages/_app"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"make","id":2085,"timestamp":1671639401930,"duration":22966,"tags":{},"startTime":1664594683305},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-chunk-graph","id":2094,"timestamp":1671639425285,"duration":233,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-modules","id":2096,"timestamp":1671639425527,"duration":2,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-chunks","id":2097,"timestamp":1671639425561,"duration":36,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-tree","id":2098,"timestamp":1671639425620,"duration":13,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize","id":2095,"timestamp":1671639425524,"duration":197,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-hash","id":2099,"timestamp":1671639426925,"duration":760,"tags":{},"startTime":1664594683330},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-seal","id":2093,"timestamp":1671639425201,"duration":3501,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"webpack-compilation","id":2084,"timestamp":1671639401703,"duration":27022,"tags":{"name":"server"},"startTime":1664594683305},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"emit","id":2100,"timestamp":1671639428742,"duration":2486,"tags":{},"startTime":1664594683332},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2056,"timestamp":1671639112452,"duration":319449,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683016}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2101,"timestamp":1664594683016000,"duration":336000,"tags":{"clientId":1664594518197},"startTime":1664594683353},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2106,"timestamp":1671657673635,"duration":4311,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2107,"timestamp":1671657673683,"duration":5009,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"read-resource","id":2114,"timestamp":1671657679051,"duration":43,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2115,"name":"postcss-process","id":2116,"timestamp":1671657679132,"duration":40012,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"postcss-loader","id":2115,"timestamp":1671657679121,"duration":40510,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"css-loader","id":2117,"timestamp":1671657719666,"duration":12783,"tags":{"astUsed":"true"},"startTime":1664594701623},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-css","id":2113,"timestamp":1671657678809,"duration":59044,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594701582},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2111,"timestamp":1671657673696,"duration":64842,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2110,"timestamp":1671657673692,"duration":64872,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2112,"timestamp":1671657673698,"duration":69451,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2108,"timestamp":1671657673687,"duration":70317,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2124,"name":"next-swc-transform","id":2125,"timestamp":1671657744110,"duration":2401,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2119,"name":"next-swc-loader","id":2124,"timestamp":1671657744088,"duration":2432,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2119,"timestamp":1671657743695,"duration":6567,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2126,"name":"next-swc-transform","id":2127,"timestamp":1671657744120,"duration":9439,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2120,"name":"next-swc-loader","id":2126,"timestamp":1671657744111,"duration":9456,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2120,"timestamp":1671657743822,"duration":11740,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2128,"name":"next-swc-transform","id":2129,"timestamp":1671657744129,"duration":11463,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2121,"name":"next-swc-loader","id":2128,"timestamp":1671657744122,"duration":11471,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2121,"timestamp":1671657743873,"duration":13208,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2122,"name":"next-swc-transform","id":2123,"timestamp":1671657744085,"duration":13020,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2118,"name":"next-swc-loader","id":2122,"timestamp":1671657744020,"duration":13086,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2118,"timestamp":1671657743550,"duration":14859,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2109,"timestamp":1671657673689,"duration":111434,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"make","id":2105,"timestamp":1671657669696,"duration":115449,"tags":{},"startTime":1664594701573},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-chunk-graph","id":2131,"timestamp":1671657789755,"duration":19424,"tags":{},"startTime":1664594701693},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-modules","id":2133,"timestamp":1671657809210,"duration":2,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-chunks","id":2134,"timestamp":1671657809222,"duration":40,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-tree","id":2135,"timestamp":1671657809282,"duration":3,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize","id":2132,"timestamp":1671657809200,"duration":1342,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-hash","id":2136,"timestamp":1671657820356,"duration":8578,"tags":{},"startTime":1664594701724},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"NextJsBuildManifest-generateClientManifest","id":2138,"timestamp":1671657841191,"duration":52,"tags":{},"startTime":1664594701745},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"NextJsBuildManifest-createassets","id":2137,"timestamp":1671657841137,"duration":116,"tags":{},"startTime":1664594701745},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-seal","id":2130,"timestamp":1671657786429,"duration":56423,"tags":{},"startTime":1664594701690},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"webpack-compilation","id":2104,"timestamp":1671657669502,"duration":173371,"tags":{"name":"client"},"startTime":1664594701573},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"emit","id":2139,"timestamp":1671657842885,"duration":88902,"tags":{},"startTime":1664594701746},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2102,"timestamp":1671657656797,"duration":275615,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701560},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2145,"timestamp":1671657953406,"duration":0,"tags":{},"startTime":1664594701857},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2144,"timestamp":1671657944735,"duration":12875,"tags":{"request":"private-next-pages/_error"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2143,"timestamp":1671657944731,"duration":12891,"tags":{"request":"private-next-pages/_document"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2150,"name":"next-swc-transform","id":2151,"timestamp":1671657957972,"duration":1018,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2146,"name":"next-swc-loader","id":2150,"timestamp":1671657957910,"duration":1086,"tags":{},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2146,"timestamp":1671657957709,"duration":2936,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2154,"name":"next-swc-transform","id":2155,"timestamp":1671657957997,"duration":2696,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2148,"name":"next-swc-loader","id":2154,"timestamp":1671657957987,"duration":2708,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2148,"timestamp":1671657957868,"duration":3636,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2152,"name":"next-swc-transform","id":2153,"timestamp":1671657957986,"duration":4005,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2147,"name":"next-swc-loader","id":2152,"timestamp":1671657957973,"duration":4021,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2147,"timestamp":1671657957832,"duration":11811,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2156,"name":"next-swc-transform","id":2157,"timestamp":1671657958009,"duration":11693,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2149,"name":"next-swc-loader","id":2156,"timestamp":1671657957999,"duration":11705,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2149,"timestamp":1671657957891,"duration":13324,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2142,"timestamp":1671657944676,"duration":30026,"tags":{"request":"private-next-pages/_app"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"make","id":2141,"timestamp":1671657933760,"duration":40960,"tags":{},"startTime":1664594701837},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-chunk-graph","id":2159,"timestamp":1671657975073,"duration":227,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-modules","id":2161,"timestamp":1671657975309,"duration":2,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-chunks","id":2162,"timestamp":1671657975319,"duration":22,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-tree","id":2163,"timestamp":1671657975349,"duration":4,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize","id":2160,"timestamp":1671657975306,"duration":97,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-hash","id":2164,"timestamp":1671657976772,"duration":417,"tags":{},"startTime":1664594701880},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-seal","id":2158,"timestamp":1671657975007,"duration":6287,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"webpack-compilation","id":2140,"timestamp":1671657933514,"duration":47808,"tags":{"name":"server"},"startTime":1664594701837},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"emit","id":2165,"timestamp":1671657981337,"duration":1967,"tags":{},"startTime":1664594701885},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2103,"timestamp":1671657657026,"duration":326620,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701561}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2166,"timestamp":1664594701560999,"duration":360999,"tags":{"clientId":1664594518197},"startTime":1664594701922},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2171,"timestamp":1671667432673,"duration":15085,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2172,"timestamp":1671667432779,"duration":18555,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"read-resource","id":2179,"timestamp":1671667452000,"duration":175,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2180,"name":"postcss-process","id":2181,"timestamp":1671667452235,"duration":55321,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"postcss-loader","id":2180,"timestamp":1671667452210,"duration":55820,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"css-loader","id":2182,"timestamp":1671667508067,"duration":22206,"tags":{"astUsed":"true"},"startTime":1664594711412},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-css","id":2178,"timestamp":1671667451696,"duration":85953,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594711355},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2176,"timestamp":1671667432803,"duration":107800,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2175,"timestamp":1671667432798,"duration":107833,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2177,"timestamp":1671667432806,"duration":113157,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2173,"timestamp":1671667432786,"duration":113792,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2191,"name":"next-swc-transform","id":2192,"timestamp":1671667546685,"duration":3151,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2185,"name":"next-swc-loader","id":2191,"timestamp":1671667546675,"duration":3166,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2185,"timestamp":1671667546450,"duration":6814,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2187,"name":"next-swc-transform","id":2188,"timestamp":1671667546663,"duration":6676,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2183,"name":"next-swc-loader","id":2187,"timestamp":1671667546585,"duration":6755,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2183,"timestamp":1671667546228,"duration":8953,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2193,"name":"next-swc-transform","id":2194,"timestamp":1671667546692,"duration":8525,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2186,"name":"next-swc-loader","id":2193,"timestamp":1671667546686,"duration":8534,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2186,"timestamp":1671667546476,"duration":11208,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2189,"name":"next-swc-transform","id":2190,"timestamp":1671667546674,"duration":11049,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2184,"name":"next-swc-loader","id":2189,"timestamp":1671667546664,"duration":11060,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2184,"timestamp":1671667546403,"duration":13389,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2174,"timestamp":1671667432790,"duration":156091,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"make","id":2170,"timestamp":1671667429046,"duration":159901,"tags":{},"startTime":1664594711333},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-chunk-graph","id":2196,"timestamp":1671667595570,"duration":16261,"tags":{},"startTime":1664594711499},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-modules","id":2198,"timestamp":1671667611857,"duration":14,"tags":{},"startTime":1664594711515},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-chunks","id":2199,"timestamp":1671667611903,"duration":47,"tags":{},"startTime":1664594711516},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-tree","id":2200,"timestamp":1671667611986,"duration":14,"tags":{},"startTime":1664594711516},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize","id":2197,"timestamp":1671667611849,"duration":1463,"tags":{},"startTime":1664594711515},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-hash","id":2201,"timestamp":1671667626068,"duration":6342,"tags":{},"startTime":1664594711530},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"NextJsBuildManifest-generateClientManifest","id":2203,"timestamp":1671667643231,"duration":225,"tags":{},"startTime":1664594711547},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"NextJsBuildManifest-createassets","id":2202,"timestamp":1671667643044,"duration":427,"tags":{},"startTime":1664594711547},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-seal","id":2195,"timestamp":1671667590239,"duration":55011,"tags":{},"startTime":1664594711494},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"webpack-compilation","id":2169,"timestamp":1671667428493,"duration":216783,"tags":{"name":"client"},"startTime":1664594711332},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"emit","id":2204,"timestamp":1671667645320,"duration":96651,"tags":{},"startTime":1664594711549},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2167,"timestamp":1671667408252,"duration":334695,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711312},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2210,"timestamp":1671667757785,"duration":0,"tags":{},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2209,"timestamp":1671667757123,"duration":4810,"tags":{"request":"private-next-pages/_error"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2208,"timestamp":1671667757119,"duration":4822,"tags":{"request":"private-next-pages/_document"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2221,"name":"next-swc-transform","id":2222,"timestamp":1671667762375,"duration":1099,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2214,"name":"next-swc-loader","id":2221,"timestamp":1671667762363,"duration":1126,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2214,"timestamp":1671667762245,"duration":3639,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2215,"name":"next-swc-transform","id":2216,"timestamp":1671667762332,"duration":3613,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2211,"name":"next-swc-loader","id":2215,"timestamp":1671667762268,"duration":3679,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2211,"timestamp":1671667762050,"duration":4671,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2219,"name":"next-swc-transform","id":2220,"timestamp":1671667762361,"duration":4718,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2213,"name":"next-swc-loader","id":2219,"timestamp":1671667762348,"duration":4733,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2213,"timestamp":1671667762218,"duration":5569,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2217,"name":"next-swc-transform","id":2218,"timestamp":1671667762347,"duration":5466,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2212,"name":"next-swc-loader","id":2217,"timestamp":1671667762334,"duration":5481,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2212,"timestamp":1671667762178,"duration":8698,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2207,"timestamp":1671667757044,"duration":17685,"tags":{"request":"private-next-pages/_app"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"make","id":2206,"timestamp":1671667744448,"duration":30299,"tags":{},"startTime":1664594711648},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-chunk-graph","id":2224,"timestamp":1671667775184,"duration":250,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-modules","id":2226,"timestamp":1671667775444,"duration":1,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-chunks","id":2227,"timestamp":1671667775453,"duration":21,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-tree","id":2228,"timestamp":1671667775482,"duration":4,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize","id":2225,"timestamp":1671667775440,"duration":99,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-hash","id":2229,"timestamp":1671667777173,"duration":782,"tags":{},"startTime":1664594711681},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-seal","id":2223,"timestamp":1671667775090,"duration":5089,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"webpack-compilation","id":2205,"timestamp":1671667743980,"duration":36226,"tags":{"name":"server"},"startTime":1664594711648},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"emit","id":2230,"timestamp":1671667780225,"duration":5664,"tags":{},"startTime":1664594711684},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2168,"timestamp":1671667408693,"duration":378047,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711312}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2231,"timestamp":1664594711312999,"duration":400999,"tags":{"clientId":1664594518197},"startTime":1664594711719},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2236,"timestamp":1671698154513,"duration":8526,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2241,"timestamp":1671698154576,"duration":10323,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"read-resource","id":2244,"timestamp":1671698164516,"duration":1112,"tags":{},"startTime":1664594742068},{"traceId":"43f2de6d909a73f7","parentId":2254,"name":"postcss-process","id":2255,"timestamp":1671698165698,"duration":43374,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"postcss-loader","id":2254,"timestamp":1671698165688,"duration":44397,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"css-loader","id":2256,"timestamp":1671698210150,"duration":13684,"tags":{"astUsed":"true"},"startTime":1664594742114},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-css","id":2243,"timestamp":1671698164116,"duration":65477,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594742068},{"traceId":"43f2de6d909a73f7","parentId":2250,"name":"next-swc-transform","id":2251,"timestamp":1671698165494,"duration":65008,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2246,"name":"next-swc-loader","id":2250,"timestamp":1671698165484,"duration":65026,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2246,"timestamp":1671698165352,"duration":67013,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2248,"name":"next-swc-transform","id":2249,"timestamp":1671698165482,"duration":66914,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2245,"name":"next-swc-loader","id":2248,"timestamp":1671698165425,"duration":66972,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2245,"timestamp":1671698165255,"duration":71041,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2252,"name":"next-swc-transform","id":2253,"timestamp":1671698165502,"duration":70842,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2247,"name":"next-swc-loader","id":2252,"timestamp":1671698165495,"duration":70852,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2247,"timestamp":1671698165384,"duration":72329,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2237,"timestamp":1671698154563,"duration":83891,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2240,"timestamp":1671698154572,"duration":85395,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2242,"timestamp":1671698154578,"duration":92878,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2238,"timestamp":1671698154567,"duration":97783,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2239,"timestamp":1671698154569,"duration":132922,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"make","id":2235,"timestamp":1671698153420,"duration":134101,"tags":{},"startTime":1664594742057},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-chunk-graph","id":2258,"timestamp":1671698294095,"duration":16665,"tags":{},"startTime":1664594742198},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-modules","id":2260,"timestamp":1671698310793,"duration":2,"tags":{},"startTime":1664594742214},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-chunks","id":2261,"timestamp":1671698310804,"duration":36,"tags":{},"startTime":1664594742215},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-tree","id":2262,"timestamp":1671698310860,"duration":3,"tags":{},"startTime":1664594742215},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize","id":2259,"timestamp":1671698310784,"duration":1596,"tags":{},"startTime":1664594742214},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-hash","id":2263,"timestamp":1671698325015,"duration":5784,"tags":{},"startTime":1664594742229},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"NextJsBuildManifest-generateClientManifest","id":2265,"timestamp":1671698339073,"duration":53,"tags":{},"startTime":1664594742243},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"NextJsBuildManifest-createassets","id":2264,"timestamp":1671698339019,"duration":117,"tags":{},"startTime":1664594742243},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-seal","id":2257,"timestamp":1671698288769,"duration":52132,"tags":{},"startTime":1664594742192},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"webpack-compilation","id":2234,"timestamp":1671698152846,"duration":188083,"tags":{"name":"client"},"startTime":1664594742057},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"emit","id":2266,"timestamp":1671698340948,"duration":94844,"tags":{},"startTime":1664594742245},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2233,"timestamp":1671698141284,"duration":295103,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742045},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2272,"timestamp":1671698459517,"duration":0,"tags":{},"startTime":1664594742363},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2271,"timestamp":1671698448966,"duration":16486,"tags":{"request":"private-next-pages/_error"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2270,"timestamp":1671698448961,"duration":16510,"tags":{"request":"private-next-pages/_document"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2280,"name":"next-swc-transform","id":2281,"timestamp":1671698464890,"duration":967,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2275,"name":"next-swc-loader","id":2280,"timestamp":1671698464879,"duration":981,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2275,"timestamp":1671698464757,"duration":2937,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2278,"name":"next-swc-transform","id":2279,"timestamp":1671698464878,"duration":10952,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2274,"name":"next-swc-loader","id":2278,"timestamp":1671698464864,"duration":10982,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2274,"timestamp":1671698464720,"duration":12333,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2276,"name":"next-swc-transform","id":2277,"timestamp":1671698464862,"duration":13418,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2273,"name":"next-swc-loader","id":2276,"timestamp":1671698464782,"duration":13503,"tags":{},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2273,"timestamp":1671698464555,"duration":15169,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2269,"timestamp":1671698448915,"duration":32440,"tags":{"request":"private-next-pages/_app"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"make","id":2268,"timestamp":1671698437708,"duration":43667,"tags":{},"startTime":1664594742341},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-chunk-graph","id":2283,"timestamp":1671698481710,"duration":232,"tags":{},"startTime":1664594742385},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-modules","id":2285,"timestamp":1671698481952,"duration":2,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-chunks","id":2286,"timestamp":1671698481962,"duration":20,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-tree","id":2287,"timestamp":1671698481991,"duration":5,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize","id":2284,"timestamp":1671698481948,"duration":98,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-hash","id":2288,"timestamp":1671698483373,"duration":456,"tags":{},"startTime":1664594742387},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-seal","id":2282,"timestamp":1671698481647,"duration":4408,"tags":{},"startTime":1664594742385},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"webpack-compilation","id":2267,"timestamp":1671698437463,"duration":48615,"tags":{"name":"server"},"startTime":1664594742341},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"emit","id":2289,"timestamp":1671698486093,"duration":1758,"tags":{},"startTime":1664594742390},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2232,"timestamp":1671698141137,"duration":347108,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742045}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2290,"timestamp":1664594742052000,"duration":346000,"tags":{"clientId":1664594518197},"startTime":1664594742400},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2295,"timestamp":1671717458729,"duration":14409,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594761362},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2296,"timestamp":1671717458841,"duration":15256,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"read-resource","id":2303,"timestamp":1671717474563,"duration":64,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2304,"name":"postcss-process","id":2305,"timestamp":1671717474713,"duration":45749,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"postcss-loader","id":2304,"timestamp":1671717474692,"duration":46180,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"css-loader","id":2306,"timestamp":1671717520923,"duration":12001,"tags":{"astUsed":"true"},"startTime":1664594761425},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"build-module-css","id":2302,"timestamp":1671717474278,"duration":65283,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2300,"timestamp":1671717458860,"duration":81977,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2299,"timestamp":1671717458856,"duration":82014,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2301,"timestamp":1671717458863,"duration":86098,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2297,"timestamp":1671717458849,"duration":86592,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2308,"name":"next-swc-transform","id":2309,"timestamp":1671717545505,"duration":3404,"tags":{},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2307,"name":"next-swc-loader","id":2308,"timestamp":1671717545447,"duration":3468,"tags":{},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"build-module-tsx","id":2307,"timestamp":1671717545234,"duration":7204,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2298,"timestamp":1671717458852,"duration":132098,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"make","id":2294,"timestamp":1671717455900,"duration":135128,"tags":{},"startTime":1664594761360},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-chunk-graph","id":2311,"timestamp":1671717596522,"duration":19942,"tags":{},"startTime":1664594761500},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-modules","id":2313,"timestamp":1671717616521,"duration":13,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-chunks","id":2314,"timestamp":1671717616568,"duration":52,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-tree","id":2315,"timestamp":1671717616657,"duration":12,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize","id":2312,"timestamp":1671717616496,"duration":1655,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-hash","id":2316,"timestamp":1671717633030,"duration":6365,"tags":{},"startTime":1664594761537},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"NextJsBuildManifest-generateClientManifest","id":2318,"timestamp":1671717649832,"duration":182,"tags":{},"startTime":1664594761554},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"NextJsBuildManifest-createassets","id":2317,"timestamp":1671717649751,"duration":273,"tags":{},"startTime":1664594761554},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-seal","id":2310,"timestamp":1671717592330,"duration":62170,"tags":{},"startTime":1664594761496},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"webpack-compilation","id":2293,"timestamp":1671717455006,"duration":199535,"tags":{"name":"client"},"startTime":1664594761359},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"emit","id":2319,"timestamp":1671717654588,"duration":104434,"tags":{},"startTime":1664594761558},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2291,"timestamp":1671717437590,"duration":322391,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761341},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2325,"timestamp":1671717773198,"duration":0,"tags":{},"startTime":1664594761677},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2324,"timestamp":1671717772440,"duration":5344,"tags":{"request":"private-next-pages/_error"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2323,"timestamp":1671717772433,"duration":5360,"tags":{"request":"private-next-pages/_document"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2327,"name":"next-swc-transform","id":2328,"timestamp":1671717778299,"duration":914,"tags":{},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2326,"name":"next-swc-loader","id":2327,"timestamp":1671717778229,"duration":995,"tags":{},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"build-module-tsx","id":2326,"timestamp":1671717777965,"duration":3563,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2322,"timestamp":1671717772352,"duration":11784,"tags":{"request":"private-next-pages/_app"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"make","id":2321,"timestamp":1671717761413,"duration":22745,"tags":{},"startTime":1664594761665},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-chunk-graph","id":2330,"timestamp":1671717784484,"duration":225,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-modules","id":2332,"timestamp":1671717784718,"duration":2,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-chunks","id":2333,"timestamp":1671717784754,"duration":31,"tags":{},"startTime":1664594761689},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-tree","id":2334,"timestamp":1671717784807,"duration":13,"tags":{},"startTime":1664594761689},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize","id":2331,"timestamp":1671717784715,"duration":193,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-hash","id":2335,"timestamp":1671717786024,"duration":736,"tags":{},"startTime":1664594761690},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-seal","id":2329,"timestamp":1671717784420,"duration":5011,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"webpack-compilation","id":2320,"timestamp":1671717761148,"duration":28312,"tags":{"name":"server"},"startTime":1664594761665},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"emit","id":2336,"timestamp":1671717789476,"duration":2140,"tags":{},"startTime":1664594761693},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2292,"timestamp":1671717438184,"duration":354512,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761342}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2337,"timestamp":1664594761345999,"duration":350000,"tags":{"clientId":1664594518197},"startTime":1664594761698},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2342,"timestamp":1671729967200,"duration":4404,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2343,"timestamp":1671729967254,"duration":5169,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"read-resource","id":2350,"timestamp":1671729972789,"duration":47,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2351,"name":"postcss-process","id":2352,"timestamp":1671729972877,"duration":33537,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"postcss-loader","id":2351,"timestamp":1671729972861,"duration":33709,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"css-loader","id":2353,"timestamp":1671730006602,"duration":8656,"tags":{"astUsed":"true"},"startTime":1664594773910},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"build-module-css","id":2349,"timestamp":1671729972558,"duration":43928,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594773876},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2347,"timestamp":1671729967272,"duration":49686,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2346,"timestamp":1671729967269,"duration":49705,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2348,"timestamp":1671729967275,"duration":55195,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2344,"timestamp":1671729967263,"duration":55612,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2355,"name":"next-swc-transform","id":2356,"timestamp":1671730022925,"duration":2058,"tags":{},"startTime":1664594773927},{"traceId":"43f2de6d909a73f7","parentId":2354,"name":"next-swc-loader","id":2355,"timestamp":1671730022884,"duration":2105,"tags":{},"startTime":1664594773927},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"build-module-tsx","id":2354,"timestamp":1671730022677,"duration":4615,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773926},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2345,"timestamp":1671729967266,"duration":86640,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"make","id":2341,"timestamp":1671729963792,"duration":90137,"tags":{},"startTime":1664594773868},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-chunk-graph","id":2358,"timestamp":1671730058330,"duration":17808,"tags":{},"startTime":1664594773962},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-modules","id":2360,"timestamp":1671730076168,"duration":3,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-chunks","id":2361,"timestamp":1671730076181,"duration":34,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-tree","id":2362,"timestamp":1671730076234,"duration":3,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize","id":2359,"timestamp":1671730076160,"duration":1439,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-hash","id":2363,"timestamp":1671730087603,"duration":7487,"tags":{},"startTime":1664594773991},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"NextJsBuildManifest-generateClientManifest","id":2365,"timestamp":1671730102719,"duration":67,"tags":{},"startTime":1664594774007},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"NextJsBuildManifest-createassets","id":2364,"timestamp":1671730102650,"duration":146,"tags":{},"startTime":1664594774006},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-seal","id":2357,"timestamp":1671730055097,"duration":49938,"tags":{},"startTime":1664594773959},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"webpack-compilation","id":2340,"timestamp":1671729963535,"duration":141524,"tags":{"name":"client"},"startTime":1664594773867},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"emit","id":2366,"timestamp":1671730105079,"duration":98836,"tags":{},"startTime":1664594774009},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2338,"timestamp":1671729951415,"duration":262073,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2372,"timestamp":1671730227592,"duration":0,"tags":{},"startTime":1664594774131},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2371,"timestamp":1671730226533,"duration":5651,"tags":{"request":"private-next-pages/_error"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2370,"timestamp":1671730226527,"duration":5674,"tags":{"request":"private-next-pages/_document"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2374,"name":"next-swc-transform","id":2375,"timestamp":1671730232572,"duration":10630,"tags":{},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2373,"name":"next-swc-loader","id":2374,"timestamp":1671730232497,"duration":10720,"tags":{},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"build-module-tsx","id":2373,"timestamp":1671730232361,"duration":12863,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2369,"timestamp":1671730226426,"duration":20469,"tags":{"request":"private-next-pages/_app"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"make","id":2368,"timestamp":1671730214903,"duration":32006,"tags":{},"startTime":1664594774119},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-chunk-graph","id":2377,"timestamp":1671730247203,"duration":245,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-modules","id":2379,"timestamp":1671730247457,"duration":2,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-chunks","id":2380,"timestamp":1671730247467,"duration":23,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-tree","id":2381,"timestamp":1671730247500,"duration":4,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize","id":2378,"timestamp":1671730247454,"duration":107,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-hash","id":2382,"timestamp":1671730248558,"duration":419,"tags":{},"startTime":1664594774152},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-seal","id":2376,"timestamp":1671730247138,"duration":2681,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"webpack-compilation","id":2367,"timestamp":1671730214708,"duration":35133,"tags":{"name":"server"},"startTime":1664594774119},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2384,"timestamp":1664594773856999,"duration":294000,"tags":{"clientId":1664594518197},"startTime":1664594774154},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"emit","id":2383,"timestamp":1671730249853,"duration":1636,"tags":{},"startTime":1664594774154},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2339,"timestamp":1671729951651,"duration":300196,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773855}] +[{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2388,"timestamp":1671780093090,"duration":9798,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2393,"timestamp":1671780093180,"duration":12495,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"read-resource","id":2396,"timestamp":1671780104263,"duration":3261,"tags":{},"startTime":1664594824008},{"traceId":"43f2de6d909a73f7","parentId":2397,"name":"postcss-process","id":2398,"timestamp":1671780107578,"duration":46471,"tags":{},"startTime":1664594824012},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"postcss-loader","id":2397,"timestamp":1671780107555,"duration":47018,"tags":{},"startTime":1664594824012},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"css-loader","id":2399,"timestamp":1671780154622,"duration":13146,"tags":{"astUsed":"true"},"startTime":1664594824059},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"build-module-css","id":2395,"timestamp":1671780103991,"duration":70431,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594824008},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2389,"timestamp":1671780093159,"duration":82072,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2392,"timestamp":1671780093172,"duration":82355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2390,"timestamp":1671780093164,"duration":94353,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2401,"name":"next-swc-transform","id":2402,"timestamp":1671780188609,"duration":3189,"tags":{},"startTime":1664594824093},{"traceId":"43f2de6d909a73f7","parentId":2400,"name":"next-swc-loader","id":2401,"timestamp":1671780188550,"duration":3255,"tags":{},"startTime":1664594824093},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"build-module-tsx","id":2400,"timestamp":1671780188452,"duration":7372,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664594824092},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2394,"timestamp":1671780093182,"duration":188588,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2391,"timestamp":1671780093169,"duration":233187,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"make","id":2387,"timestamp":1671780092269,"duration":234208,"tags":{},"startTime":1664594823996},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-chunk-graph","id":2404,"timestamp":1671780331251,"duration":17661,"tags":{},"startTime":1664594824235},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-modules","id":2406,"timestamp":1671780348970,"duration":12,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-chunks","id":2407,"timestamp":1671780349015,"duration":142,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-tree","id":2408,"timestamp":1671780349196,"duration":16,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize","id":2405,"timestamp":1671780348945,"duration":1892,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-hash","id":2409,"timestamp":1671780364294,"duration":7615,"tags":{},"startTime":1664594824268},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"NextJsBuildManifest-generateClientManifest","id":2411,"timestamp":1671780388619,"duration":246,"tags":{},"startTime":1664594824293},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"NextJsBuildManifest-createassets","id":2410,"timestamp":1671780388520,"duration":370,"tags":{},"startTime":1664594824292},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-seal","id":2403,"timestamp":1671780327919,"duration":63233,"tags":{},"startTime":1664594824232},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"webpack-compilation","id":2386,"timestamp":1671780092047,"duration":299138,"tags":{"name":"client"},"startTime":1664594823996},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"emit","id":2412,"timestamp":1671780391235,"duration":91709,"tags":{},"startTime":1664594824295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2385,"timestamp":1671780078602,"duration":405234,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664594823983}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2414,"timestamp":1671780495028,"duration":0,"tags":{},"startTime":1664594824399},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2417,"timestamp":1671780507875,"duration":4170,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2418,"timestamp":1671780507908,"duration":4994,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"read-resource","id":2425,"timestamp":1671780513156,"duration":32,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2426,"name":"postcss-process","id":2427,"timestamp":1671780513214,"duration":31194,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"postcss-loader","id":2426,"timestamp":1671780513204,"duration":31434,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"css-loader","id":2428,"timestamp":1671780544669,"duration":8309,"tags":{"astUsed":"true"},"startTime":1664594824449},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"build-module-css","id":2424,"timestamp":1671780512989,"duration":45985,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2422,"timestamp":1671780507920,"duration":51617,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2421,"timestamp":1671780507917,"duration":51632,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2423,"timestamp":1671780507922,"duration":57253,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2419,"timestamp":1671780507912,"duration":57535,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2429,"timestamp":1664594824403000,"duration":72000,"tags":{"clientId":1664594518197},"startTime":1664594824480},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2420,"timestamp":1671780507915,"duration":85155,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"make","id":2416,"timestamp":1671780507012,"duration":86083,"tags":{},"startTime":1664594824411},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-chunk-graph","id":2431,"timestamp":1671780597791,"duration":3568,"tags":{},"startTime":1664594824502},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-modules","id":2433,"timestamp":1671780601381,"duration":2,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-chunks","id":2434,"timestamp":1671780601458,"duration":43,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-tree","id":2435,"timestamp":1671780601541,"duration":12,"tags":{},"startTime":1664594824506},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize","id":2432,"timestamp":1671780601375,"duration":1114,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-hash","id":2436,"timestamp":1671780614147,"duration":5908,"tags":{},"startTime":1664594824518},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"NextJsBuildManifest-generateClientManifest","id":2438,"timestamp":1671780621380,"duration":70,"tags":{},"startTime":1664594824525},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"NextJsBuildManifest-createassets","id":2437,"timestamp":1671780621315,"duration":144,"tags":{},"startTime":1664594824525},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-seal","id":2430,"timestamp":1671780594252,"duration":28525,"tags":{},"startTime":1664594824498},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"webpack-compilation","id":2415,"timestamp":1671780506835,"duration":115968,"tags":{"name":"client"},"startTime":1664594824411},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"emit","id":2439,"timestamp":1671780622821,"duration":2115,"tags":{},"startTime":1664594824527},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2413,"timestamp":1671780494326,"duration":131210,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages"},"startTime":1664594824398}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2440,"timestamp":1671780638185,"duration":0,"tags":{},"startTime":1664594824542},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2447,"timestamp":1671813367104,"duration":18226,"tags":{"request":"private-next-pages/_error"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2446,"timestamp":1671813367095,"duration":18254,"tags":{"request":"private-next-pages/_document"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2449,"name":"next-swc-transform","id":2450,"timestamp":1671813384452,"duration":1075,"tags":{},"startTime":1664594857289},{"traceId":"43f2de6d909a73f7","parentId":2448,"name":"next-swc-loader","id":2449,"timestamp":1671813384194,"duration":1335,"tags":{},"startTime":1664594857288},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"build-module-tsx","id":2448,"timestamp":1671813383950,"duration":4127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857288},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2445,"timestamp":1671813367053,"duration":26432,"tags":{"request":"private-next-pages/_app"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"make","id":2444,"timestamp":1671813366872,"duration":26633,"tags":{},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-chunk-graph","id":2452,"timestamp":1671813393917,"duration":291,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-modules","id":2454,"timestamp":1671813394222,"duration":2,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-chunks","id":2455,"timestamp":1671813394299,"duration":24,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-tree","id":2456,"timestamp":1671813394334,"duration":3,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize","id":2453,"timestamp":1671813394217,"duration":187,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-hash","id":2457,"timestamp":1671813396700,"duration":931,"tags":{},"startTime":1664594857301},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-seal","id":2451,"timestamp":1671813393838,"duration":9266,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"webpack-compilation","id":2443,"timestamp":1671813366681,"duration":36448,"tags":{"name":"server"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"emit","id":2458,"timestamp":1671813403145,"duration":1925,"tags":{},"startTime":1664594857307},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2441,"timestamp":1671813359130,"duration":46237,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857263},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2461,"timestamp":1671813416112,"duration":13613,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2462,"timestamp":1671813416148,"duration":14982,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"read-resource","id":2469,"timestamp":1671813431398,"duration":63,"tags":{},"startTime":1664594857335},{"traceId":"43f2de6d909a73f7","parentId":2470,"name":"postcss-process","id":2471,"timestamp":1671813431495,"duration":40134,"tags":{},"startTime":1664594857336},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"postcss-loader","id":2470,"timestamp":1671813431484,"duration":40290,"tags":{},"startTime":1664594857336},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"css-loader","id":2472,"timestamp":1671813471807,"duration":10679,"tags":{"astUsed":"true"},"startTime":1664594857376},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"build-module-css","id":2468,"timestamp":1671813431274,"duration":52261,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594857335},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2466,"timestamp":1671813416172,"duration":75131,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2465,"timestamp":1671813416168,"duration":75167,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2467,"timestamp":1671813416207,"duration":79142,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2463,"timestamp":1671813416157,"duration":80032,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2474,"name":"next-swc-transform","id":2475,"timestamp":1671813496373,"duration":3422,"tags":{},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2473,"name":"next-swc-loader","id":2474,"timestamp":1671813496198,"duration":3608,"tags":{},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"build-module-tsx","id":2473,"timestamp":1671813495951,"duration":6494,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2464,"timestamp":1671813416164,"duration":120130,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"make","id":2460,"timestamp":1671813411434,"duration":124910,"tags":{},"startTime":1664594857316},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-chunk-graph","id":2477,"timestamp":1671813548190,"duration":3943,"tags":{},"startTime":1664594857452},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-modules","id":2479,"timestamp":1671813552164,"duration":2,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-chunks","id":2480,"timestamp":1671813552179,"duration":45,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-tree","id":2481,"timestamp":1671813552262,"duration":6,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize","id":2478,"timestamp":1671813552157,"duration":1752,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-hash","id":2482,"timestamp":1671813564018,"duration":6370,"tags":{},"startTime":1664594857468},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"NextJsBuildManifest-generateClientManifest","id":2484,"timestamp":1671813584105,"duration":78,"tags":{},"startTime":1664594857488},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"NextJsBuildManifest-createassets","id":2483,"timestamp":1671813584041,"duration":152,"tags":{},"startTime":1664594857488},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-seal","id":2476,"timestamp":1671813537685,"duration":51962,"tags":{},"startTime":1664594857442},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"webpack-compilation","id":2459,"timestamp":1671813411128,"duration":178565,"tags":{"name":"client"},"startTime":1664594857315},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"emit","id":2485,"timestamp":1671813589724,"duration":98065,"tags":{},"startTime":1664594857494},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2442,"timestamp":1671813359319,"duration":329186,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857263}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2486,"timestamp":1671813698900,"duration":0,"tags":{},"startTime":1664594857603},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2487,"timestamp":1664594857264000,"duration":353999,"tags":{"clientId":1664594518197},"startTime":1664594857619},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2492,"timestamp":1671830891423,"duration":8163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2493,"timestamp":1671830891516,"duration":8741,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"read-resource","id":2500,"timestamp":1671830900604,"duration":43,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2501,"name":"postcss-process","id":2502,"timestamp":1671830900683,"duration":35343,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"postcss-loader","id":2501,"timestamp":1671830900667,"duration":35820,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"css-loader","id":2503,"timestamp":1671830936528,"duration":13034,"tags":{"astUsed":"true"},"startTime":1664594874841},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"build-module-css","id":2499,"timestamp":1671830900432,"duration":56359,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2497,"timestamp":1671830891533,"duration":65721,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2496,"timestamp":1671830891530,"duration":65741,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2498,"timestamp":1671830891536,"duration":71061,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2494,"timestamp":1671830891522,"duration":71646,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2505,"name":"next-swc-transform","id":2506,"timestamp":1671830963248,"duration":7683,"tags":{},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2504,"name":"next-swc-loader","id":2505,"timestamp":1671830963174,"duration":7767,"tags":{},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"build-module-tsx","id":2504,"timestamp":1671830962928,"duration":11005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2495,"timestamp":1671830891526,"duration":112121,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"make","id":2491,"timestamp":1671830890162,"duration":113520,"tags":{},"startTime":1664594874794},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-chunk-graph","id":2508,"timestamp":1671831008781,"duration":17656,"tags":{},"startTime":1664594874913},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-modules","id":2510,"timestamp":1671831026496,"duration":11,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-chunks","id":2511,"timestamp":1671831026538,"duration":207,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-tree","id":2512,"timestamp":1671831026809,"duration":16,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize","id":2509,"timestamp":1671831026471,"duration":2317,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-hash","id":2513,"timestamp":1671831042486,"duration":8172,"tags":{},"startTime":1664594874947},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"NextJsBuildManifest-generateClientManifest","id":2515,"timestamp":1671831065046,"duration":66,"tags":{},"startTime":1664594874969},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"NextJsBuildManifest-createassets","id":2514,"timestamp":1671831064985,"duration":138,"tags":{},"startTime":1664594874969},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-seal","id":2507,"timestamp":1671831005315,"duration":61667,"tags":{},"startTime":1664594874909},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"webpack-compilation","id":2490,"timestamp":1671830889788,"duration":177225,"tags":{"name":"client"},"startTime":1664594874794},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"emit","id":2516,"timestamp":1671831067034,"duration":101801,"tags":{},"startTime":1664594874971},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2488,"timestamp":1671830874468,"duration":295328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874779},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2522,"timestamp":1671831182220,"duration":0,"tags":{},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2521,"timestamp":1671831181433,"duration":5589,"tags":{"request":"private-next-pages/_error"},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2520,"timestamp":1671831181429,"duration":5603,"tags":{"request":"private-next-pages/_document"},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2524,"name":"next-swc-transform","id":2525,"timestamp":1671831187351,"duration":3975,"tags":{},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2523,"name":"next-swc-loader","id":2524,"timestamp":1671831187288,"duration":4049,"tags":{},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"build-module-tsx","id":2523,"timestamp":1671831187150,"duration":6476,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2519,"timestamp":1671831181343,"duration":14830,"tags":{"request":"private-next-pages/_app"},"startTime":1664594875085},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"make","id":2518,"timestamp":1671831171115,"duration":25071,"tags":{},"startTime":1664594875075},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-chunk-graph","id":2527,"timestamp":1671831196653,"duration":288,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-modules","id":2529,"timestamp":1671831196958,"duration":2,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-chunks","id":2530,"timestamp":1671831197005,"duration":40,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-tree","id":2531,"timestamp":1671831197077,"duration":17,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize","id":2528,"timestamp":1671831196954,"duration":232,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-hash","id":2532,"timestamp":1671831198516,"duration":728,"tags":{},"startTime":1664594875103},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-seal","id":2526,"timestamp":1671831196577,"duration":3581,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"webpack-compilation","id":2517,"timestamp":1671831170693,"duration":29483,"tags":{"name":"server"},"startTime":1664594875075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2534,"timestamp":1664594874779000,"duration":323000,"tags":{"clientId":1664594518197},"startTime":1664594875105},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"emit","id":2533,"timestamp":1671831200191,"duration":1568,"tags":{},"startTime":1664594875104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2489,"timestamp":1671830874760,"duration":327673,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874779}] +[{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2539,"timestamp":1671864841866,"duration":6075,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2544,"timestamp":1671864841941,"duration":7426,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"read-resource","id":2547,"timestamp":1671864849086,"duration":1206,"tags":{},"startTime":1664594908753},{"traceId":"43f2de6d909a73f7","parentId":2551,"name":"postcss-process","id":2552,"timestamp":1671864850334,"duration":36241,"tags":{},"startTime":1664594908755},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"postcss-loader","id":2551,"timestamp":1671864850322,"duration":36619,"tags":{},"startTime":1664594908755},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"css-loader","id":2553,"timestamp":1671864886967,"duration":10851,"tags":{"astUsed":"true"},"startTime":1664594908791},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"build-module-css","id":2546,"timestamp":1671864848831,"duration":50591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594908753},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2540,"timestamp":1671864841926,"duration":58282,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2549,"name":"next-swc-transform","id":2550,"timestamp":1671864849880,"duration":50578,"tags":{},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2548,"name":"next-swc-loader","id":2549,"timestamp":1671864849835,"duration":50634,"tags":{},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"build-module-tsx","id":2548,"timestamp":1671864849747,"duration":53528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2543,"timestamp":1671864841937,"duration":62001,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2545,"timestamp":1671864841943,"duration":68953,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2541,"timestamp":1671864841931,"duration":75088,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2542,"timestamp":1671864841934,"duration":115635,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"make","id":2538,"timestamp":1671864840610,"duration":116982,"tags":{},"startTime":1664594908745},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-chunk-graph","id":2555,"timestamp":1671864962654,"duration":19203,"tags":{},"startTime":1664594908867},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-modules","id":2557,"timestamp":1671864981895,"duration":3,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-chunks","id":2558,"timestamp":1671864981910,"duration":45,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-tree","id":2559,"timestamp":1671864981983,"duration":4,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize","id":2556,"timestamp":1671864981885,"duration":1773,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-hash","id":2560,"timestamp":1671864996902,"duration":6681,"tags":{},"startTime":1664594908901},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"NextJsBuildManifest-generateClientManifest","id":2562,"timestamp":1671865014945,"duration":58,"tags":{},"startTime":1664594908919},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"NextJsBuildManifest-createassets","id":2561,"timestamp":1671865014877,"duration":134,"tags":{},"startTime":1664594908919},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-seal","id":2554,"timestamp":1671864958843,"duration":58092,"tags":{},"startTime":1664594908863},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"webpack-compilation","id":2537,"timestamp":1671864840416,"duration":176546,"tags":{"name":"client"},"startTime":1664594908745},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"emit","id":2563,"timestamp":1671865016985,"duration":90044,"tags":{},"startTime":1664594908921},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2535,"timestamp":1671864829217,"duration":278425,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908733},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2569,"timestamp":1671865132876,"duration":0,"tags":{},"startTime":1664594909037},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2568,"timestamp":1671865120377,"duration":16726,"tags":{"request":"private-next-pages/_error"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2567,"timestamp":1671865120372,"duration":16742,"tags":{"request":"private-next-pages/_document"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2571,"name":"next-swc-transform","id":2572,"timestamp":1671865137428,"duration":957,"tags":{},"startTime":1664594909042},{"traceId":"43f2de6d909a73f7","parentId":2570,"name":"next-swc-loader","id":2571,"timestamp":1671865137352,"duration":1038,"tags":{},"startTime":1664594909042},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"build-module-tsx","id":2570,"timestamp":1671865137240,"duration":3389,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594909041},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2566,"timestamp":1671865120314,"duration":21773,"tags":{"request":"private-next-pages/_app"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"make","id":2565,"timestamp":1671865108958,"duration":33148,"tags":{},"startTime":1664594909013},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-chunk-graph","id":2574,"timestamp":1671865142431,"duration":254,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-modules","id":2576,"timestamp":1671865142695,"duration":2,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-chunks","id":2577,"timestamp":1671865142707,"duration":27,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-tree","id":2578,"timestamp":1671865142745,"duration":5,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize","id":2575,"timestamp":1671865142692,"duration":117,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-hash","id":2579,"timestamp":1671865143798,"duration":462,"tags":{},"startTime":1664594909048},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-seal","id":2573,"timestamp":1671865142364,"duration":3058,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"webpack-compilation","id":2564,"timestamp":1671865108696,"duration":36746,"tags":{"name":"server"},"startTime":1664594909013},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"emit","id":2580,"timestamp":1671865145457,"duration":2352,"tags":{},"startTime":1664594909050},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2536,"timestamp":1671864829444,"duration":318721,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908734}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2581,"timestamp":1664594908734000,"duration":324999,"tags":{"clientId":1664594518197},"startTime":1664594909062},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2586,"timestamp":1671901211713,"duration":9816,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2587,"timestamp":1671901211797,"duration":11308,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"read-resource","id":2594,"timestamp":1671901223751,"duration":74,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2595,"name":"postcss-process","id":2596,"timestamp":1671901223918,"duration":48160,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"postcss-loader","id":2595,"timestamp":1671901223893,"duration":48626,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"css-loader","id":2597,"timestamp":1671901272568,"duration":12639,"tags":{"astUsed":"true"},"startTime":1664594945177},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"build-module-css","id":2593,"timestamp":1671901223435,"duration":69753,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2591,"timestamp":1671901211813,"duration":81908,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2590,"timestamp":1671901211810,"duration":81929,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2592,"timestamp":1671901211815,"duration":86788,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2588,"timestamp":1671901211802,"duration":87298,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2599,"name":"next-swc-transform","id":2600,"timestamp":1671901299169,"duration":3163,"tags":{},"startTime":1664594945204},{"traceId":"43f2de6d909a73f7","parentId":2598,"name":"next-swc-loader","id":2599,"timestamp":1671901299106,"duration":3231,"tags":{},"startTime":1664594945203},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"build-module-tsx","id":2598,"timestamp":1671901298856,"duration":6629,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945203},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2589,"timestamp":1671901211806,"duration":316176,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"make","id":2585,"timestamp":1671901210662,"duration":317407,"tags":{},"startTime":1664594945115},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-chunk-graph","id":2602,"timestamp":1671901540042,"duration":19086,"tags":{},"startTime":1664594945444},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-modules","id":2604,"timestamp":1671901559222,"duration":12,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-chunks","id":2605,"timestamp":1671901559270,"duration":153,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-tree","id":2606,"timestamp":1671901559464,"duration":15,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize","id":2603,"timestamp":1671901559195,"duration":1859,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-hash","id":2607,"timestamp":1671901574259,"duration":8845,"tags":{},"startTime":1664594945479},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"NextJsBuildManifest-generateClientManifest","id":2609,"timestamp":1671901593748,"duration":207,"tags":{},"startTime":1664594945498},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"NextJsBuildManifest-createassets","id":2608,"timestamp":1671901593656,"duration":309,"tags":{},"startTime":1664594945498},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-seal","id":2601,"timestamp":1671901530113,"duration":66414,"tags":{},"startTime":1664594945434},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"webpack-compilation","id":2584,"timestamp":1671901209994,"duration":386570,"tags":{"name":"client"},"startTime":1664594945114},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"emit","id":2610,"timestamp":1671901596617,"duration":125916,"tags":{},"startTime":1664594945501},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2582,"timestamp":1671901196699,"duration":526795,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945101},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2616,"timestamp":1671901742065,"duration":0,"tags":{},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2615,"timestamp":1671901741344,"duration":7797,"tags":{"request":"private-next-pages/_error"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2614,"timestamp":1671901741339,"duration":7815,"tags":{"request":"private-next-pages/_document"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2618,"name":"next-swc-transform","id":2619,"timestamp":1671901748565,"duration":3885,"tags":{},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2617,"name":"next-swc-loader","id":2618,"timestamp":1671901748500,"duration":3966,"tags":{},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"build-module-tsx","id":2617,"timestamp":1671901748366,"duration":7313,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2613,"timestamp":1671901741261,"duration":24727,"tags":{"request":"private-next-pages/_app"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"make","id":2612,"timestamp":1671901725391,"duration":40622,"tags":{},"startTime":1664594945630},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-chunk-graph","id":2621,"timestamp":1671901766444,"duration":256,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-modules","id":2623,"timestamp":1671901766709,"duration":2,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-chunks","id":2624,"timestamp":1671901766745,"duration":32,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-tree","id":2625,"timestamp":1671901766800,"duration":14,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize","id":2622,"timestamp":1671901766706,"duration":195,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-hash","id":2626,"timestamp":1671901768154,"duration":998,"tags":{},"startTime":1664594945673},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-seal","id":2620,"timestamp":1671901766369,"duration":4061,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"webpack-compilation","id":2611,"timestamp":1671901725113,"duration":45346,"tags":{"name":"server"},"startTime":1664594945629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2628,"timestamp":1664594945102000,"duration":568999,"tags":{"clientId":1664594518197},"startTime":1664594945678},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"emit","id":2627,"timestamp":1671901770479,"duration":3919,"tags":{},"startTime":1664594945675},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2583,"timestamp":1671901197035,"duration":578022,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945101}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2629,"timestamp":1671942824943,"duration":0,"tags":{},"startTime":1664594986729},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2636,"timestamp":1671948632011,"duration":15595,"tags":{"request":"private-next-pages/_error"},"startTime":1664594992537},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2635,"timestamp":1671948631994,"duration":15629,"tags":{"request":"private-next-pages/_document"},"startTime":1664594992537},{"traceId":"43f2de6d909a73f7","parentId":2638,"name":"next-swc-transform","id":2639,"timestamp":1671948648295,"duration":2861,"tags":{},"startTime":1664594992553},{"traceId":"43f2de6d909a73f7","parentId":2637,"name":"next-swc-loader","id":2638,"timestamp":1671948648138,"duration":3029,"tags":{},"startTime":1664594992553},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"build-module-tsx","id":2637,"timestamp":1671948647858,"duration":8071,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992552},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2634,"timestamp":1671948631756,"duration":26945,"tags":{"request":"private-next-pages/_app"},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"make","id":2633,"timestamp":1671948631626,"duration":27094,"tags":{},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-chunk-graph","id":2641,"timestamp":1671948659365,"duration":286,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-modules","id":2643,"timestamp":1671948659680,"duration":10,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-chunks","id":2644,"timestamp":1671948659728,"duration":37,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-tree","id":2645,"timestamp":1671948659791,"duration":19,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize","id":2642,"timestamp":1671948659665,"duration":241,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-hash","id":2646,"timestamp":1671948662064,"duration":868,"tags":{},"startTime":1664594992567},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-seal","id":2640,"timestamp":1671948659262,"duration":4920,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"webpack-compilation","id":2632,"timestamp":1671948631349,"duration":32863,"tags":{"name":"server"},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"emit","id":2647,"timestamp":1671948664232,"duration":2421,"tags":{},"startTime":1664594992569},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2630,"timestamp":1671948623947,"duration":43124,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992528},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2650,"timestamp":1671948677351,"duration":8499,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2655,"timestamp":1671948677406,"duration":9706,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"read-resource","id":2658,"timestamp":1671948686901,"duration":2136,"tags":{},"startTime":1664594992591},{"traceId":"43f2de6d909a73f7","parentId":2662,"name":"postcss-process","id":2663,"timestamp":1671948689133,"duration":41703,"tags":{},"startTime":1664594992594},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"postcss-loader","id":2662,"timestamp":1671948689121,"duration":42215,"tags":{},"startTime":1664594992594},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"css-loader","id":2664,"timestamp":1671948731388,"duration":13835,"tags":{"astUsed":"true"},"startTime":1664594992636},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"build-module-css","id":2657,"timestamp":1671948686681,"duration":64159,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594992591},{"traceId":"43f2de6d909a73f7","parentId":2660,"name":"next-swc-transform","id":2661,"timestamp":1671948688519,"duration":63169,"tags":{},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2659,"name":"next-swc-loader","id":2660,"timestamp":1671948688476,"duration":63214,"tags":{},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"build-module-tsx","id":2659,"timestamp":1671948688322,"duration":65761,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2651,"timestamp":1671948677391,"duration":77891,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2654,"timestamp":1671948677403,"duration":78250,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2656,"timestamp":1671948677409,"duration":83039,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2652,"timestamp":1671948677395,"duration":89707,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2653,"timestamp":1671948677400,"duration":122290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"make","id":2649,"timestamp":1671948674623,"duration":125134,"tags":{},"startTime":1664594992579},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-chunk-graph","id":2666,"timestamp":1671948808270,"duration":17570,"tags":{},"startTime":1664594992713},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-modules","id":2668,"timestamp":1671948825870,"duration":2,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-chunks","id":2669,"timestamp":1671948825967,"duration":130,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-tree","id":2670,"timestamp":1671948826144,"duration":13,"tags":{},"startTime":1664594992731},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize","id":2667,"timestamp":1671948825861,"duration":1819,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-hash","id":2671,"timestamp":1671948841555,"duration":7226,"tags":{},"startTime":1664594992746},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"NextJsBuildManifest-generateClientManifest","id":2673,"timestamp":1671948863134,"duration":200,"tags":{},"startTime":1664594992768},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"NextJsBuildManifest-createassets","id":2672,"timestamp":1671948863042,"duration":301,"tags":{},"startTime":1664594992768},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-seal","id":2665,"timestamp":1671948800987,"duration":64467,"tags":{},"startTime":1664594992706},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"webpack-compilation","id":2648,"timestamp":1671948673966,"duration":191524,"tags":{"name":"client"},"startTime":1664594992578},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"emit","id":2674,"timestamp":1671948865547,"duration":144551,"tags":{},"startTime":1664594992770},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2631,"timestamp":1671948624192,"duration":387232,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992529}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2675,"timestamp":1671949028667,"duration":0,"tags":{},"startTime":1664594992933},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2676,"timestamp":1664594992529999,"duration":429000,"tags":{"clientId":1664594518197},"startTime":1664594992960},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2681,"timestamp":1671981379618,"duration":4472,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2682,"timestamp":1671981379704,"duration":5382,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"read-resource","id":2689,"timestamp":1671981385456,"duration":39,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2690,"name":"postcss-process","id":2691,"timestamp":1671981385532,"duration":40849,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"postcss-loader","id":2690,"timestamp":1671981385515,"duration":41264,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"css-loader","id":2692,"timestamp":1671981426820,"duration":14755,"tags":{"astUsed":"true"},"startTime":1664595025331},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"build-module-css","id":2688,"timestamp":1671981385226,"duration":62452,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2686,"timestamp":1671981379719,"duration":68424,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2685,"timestamp":1671981379715,"duration":68440,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2687,"timestamp":1671981379721,"duration":74464,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2683,"timestamp":1671981379709,"duration":74946,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2694,"name":"next-swc-transform","id":2695,"timestamp":1671981454730,"duration":2505,"tags":{},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2693,"name":"next-swc-loader","id":2694,"timestamp":1671981454662,"duration":2580,"tags":{},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"build-module-tsx","id":2693,"timestamp":1671981454462,"duration":5600,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2684,"timestamp":1671981379712,"duration":114110,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"make","id":2680,"timestamp":1671981377744,"duration":116103,"tags":{},"startTime":1664595025282},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-chunk-graph","id":2697,"timestamp":1671981500476,"duration":18679,"tags":{},"startTime":1664595025405},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-modules","id":2699,"timestamp":1671981519199,"duration":4,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-chunks","id":2700,"timestamp":1671981519214,"duration":221,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-tree","id":2701,"timestamp":1671981519467,"duration":4,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize","id":2698,"timestamp":1671981519187,"duration":2129,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-hash","id":2702,"timestamp":1671981533886,"duration":8656,"tags":{},"startTime":1664595025439},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"NextJsBuildManifest-generateClientManifest","id":2704,"timestamp":1671981554957,"duration":65,"tags":{},"startTime":1664595025460},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"NextJsBuildManifest-createassets","id":2703,"timestamp":1671981554887,"duration":145,"tags":{},"startTime":1664595025460},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-seal","id":2696,"timestamp":1671981495238,"duration":61822,"tags":{},"startTime":1664595025400},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"webpack-compilation","id":2679,"timestamp":1671981377463,"duration":179627,"tags":{"name":"client"},"startTime":1664595025282},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"emit","id":2705,"timestamp":1671981557110,"duration":101205,"tags":{},"startTime":1664595025462},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2677,"timestamp":1671981364986,"duration":293914,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025270},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2711,"timestamp":1671981684542,"duration":0,"tags":{},"startTime":1664595025589},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2710,"timestamp":1671981673310,"duration":18649,"tags":{"request":"private-next-pages/_error"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2709,"timestamp":1671981673305,"duration":18670,"tags":{"request":"private-next-pages/_document"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2713,"name":"next-swc-transform","id":2714,"timestamp":1671981691091,"duration":1376,"tags":{},"startTime":1664595025596},{"traceId":"43f2de6d909a73f7","parentId":2712,"name":"next-swc-loader","id":2713,"timestamp":1671981691015,"duration":1455,"tags":{},"startTime":1664595025596},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"build-module-tsx","id":2712,"timestamp":1671981690836,"duration":4062,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025595},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2715,"timestamp":1664595025271000,"duration":327000,"tags":{"clientId":1664594518197},"startTime":1664595025600},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2708,"timestamp":1671981673255,"duration":24909,"tags":{"request":"private-next-pages/_app"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"make","id":2707,"timestamp":1671981660780,"duration":37406,"tags":{},"startTime":1664595025565},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-chunk-graph","id":2717,"timestamp":1671981698592,"duration":245,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-modules","id":2719,"timestamp":1671981698847,"duration":2,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-chunks","id":2720,"timestamp":1671981698857,"duration":23,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-tree","id":2721,"timestamp":1671981698912,"duration":6,"tags":{},"startTime":1664595025604},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize","id":2718,"timestamp":1671981698843,"duration":128,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-hash","id":2722,"timestamp":1671981699967,"duration":413,"tags":{},"startTime":1664595025605},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-seal","id":2716,"timestamp":1671981698519,"duration":2627,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"webpack-compilation","id":2706,"timestamp":1671981660375,"duration":40789,"tags":{"name":"server"},"startTime":1664595025565},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"emit","id":2723,"timestamp":1671981701176,"duration":2258,"tags":{},"startTime":1664595025606},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2678,"timestamp":1671981365347,"duration":338506,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025270}] +[{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2730,"timestamp":1671997024165,"duration":13161,"tags":{"request":"private-next-pages/_error"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2729,"timestamp":1671997024159,"duration":13193,"tags":{"request":"private-next-pages/_document"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2732,"name":"next-swc-transform","id":2733,"timestamp":1671997037794,"duration":2136,"tags":{},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2731,"name":"next-swc-loader","id":2732,"timestamp":1671997037686,"duration":2254,"tags":{},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"build-module-tsx","id":2731,"timestamp":1671997037491,"duration":13632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2728,"timestamp":1671997024051,"duration":30461,"tags":{"request":"private-next-pages/_app"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"make","id":2727,"timestamp":1671997023876,"duration":30654,"tags":{},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-chunk-graph","id":2735,"timestamp":1671997055114,"duration":312,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-modules","id":2737,"timestamp":1671997055461,"duration":14,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-chunks","id":2738,"timestamp":1671997055505,"duration":38,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-tree","id":2739,"timestamp":1671997055575,"duration":15,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize","id":2736,"timestamp":1671997055446,"duration":238,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-hash","id":2740,"timestamp":1671997057159,"duration":632,"tags":{},"startTime":1664595040962},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-seal","id":2734,"timestamp":1671997054891,"duration":4057,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"webpack-compilation","id":2726,"timestamp":1671997023627,"duration":35350,"tags":{"name":"server"},"startTime":1664595040928},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"emit","id":2741,"timestamp":1671997058990,"duration":3716,"tags":{},"startTime":1664595040964},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2724,"timestamp":1671997016011,"duration":47455,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040921},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2744,"timestamp":1671997070658,"duration":5372,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2745,"timestamp":1671997070699,"duration":7374,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"read-resource","id":2752,"timestamp":1671997078546,"duration":50,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2753,"name":"postcss-process","id":2754,"timestamp":1671997078664,"duration":38936,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"postcss-loader","id":2753,"timestamp":1671997078652,"duration":39405,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"css-loader","id":2755,"timestamp":1671997118115,"duration":11280,"tags":{"astUsed":"true"},"startTime":1664595041023},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"build-module-css","id":2751,"timestamp":1671997078296,"duration":57171,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2749,"timestamp":1671997070712,"duration":65921,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2748,"timestamp":1671997070709,"duration":65942,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2750,"timestamp":1671997070714,"duration":70786,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2746,"timestamp":1671997070703,"duration":71380,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2757,"name":"next-swc-transform","id":2758,"timestamp":1671997142139,"duration":2603,"tags":{},"startTime":1664595041047},{"traceId":"43f2de6d909a73f7","parentId":2756,"name":"next-swc-loader","id":2757,"timestamp":1671997142092,"duration":2661,"tags":{},"startTime":1664595041047},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"build-module-tsx","id":2756,"timestamp":1671997141818,"duration":5660,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595041046},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2747,"timestamp":1671997070706,"duration":110114,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"make","id":2743,"timestamp":1671997067947,"duration":112960,"tags":{},"startTime":1664595040973},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-chunk-graph","id":2760,"timestamp":1671997186634,"duration":19950,"tags":{},"startTime":1664595041091},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-modules","id":2762,"timestamp":1671997206612,"duration":3,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-chunks","id":2763,"timestamp":1671997206697,"duration":48,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-tree","id":2764,"timestamp":1671997206784,"duration":13,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize","id":2761,"timestamp":1671997206602,"duration":1672,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-hash","id":2765,"timestamp":1671997222858,"duration":6408,"tags":{},"startTime":1664595041128},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"NextJsBuildManifest-generateClientManifest","id":2767,"timestamp":1671997237231,"duration":181,"tags":{},"startTime":1664595041142},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"NextJsBuildManifest-createassets","id":2766,"timestamp":1671997237152,"duration":270,"tags":{},"startTime":1664595041142},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-seal","id":2759,"timestamp":1671997182221,"duration":56911,"tags":{},"startTime":1664595041087},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"webpack-compilation","id":2742,"timestamp":1671997067323,"duration":171833,"tags":{"name":"client"},"startTime":1664595040972},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"emit","id":2768,"timestamp":1671997239194,"duration":108395,"tags":{},"startTime":1664595041144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2725,"timestamp":1671997016306,"duration":333071,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040921}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2769,"timestamp":1671997360726,"duration":0,"tags":{},"startTime":1664595041265},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2770,"timestamp":1664595040921999,"duration":360000,"tags":{"clientId":1664594518197},"startTime":1664595041285},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2777,"timestamp":1672016461382,"duration":7531,"tags":{"request":"private-next-pages/_error"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2776,"timestamp":1672016461377,"duration":7550,"tags":{"request":"private-next-pages/_document"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2779,"name":"next-swc-transform","id":2780,"timestamp":1672016469351,"duration":1568,"tags":{},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2778,"name":"next-swc-loader","id":2779,"timestamp":1672016469257,"duration":1674,"tags":{},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"build-module-tsx","id":2778,"timestamp":1672016469025,"duration":10279,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2775,"timestamp":1672016461303,"duration":20559,"tags":{"request":"private-next-pages/_app"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"make","id":2774,"timestamp":1672016461136,"duration":20742,"tags":{},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-chunk-graph","id":2782,"timestamp":1672016482258,"duration":270,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-modules","id":2784,"timestamp":1672016482538,"duration":2,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-chunks","id":2785,"timestamp":1672016482550,"duration":26,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-tree","id":2786,"timestamp":1672016482585,"duration":6,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize","id":2783,"timestamp":1672016482535,"duration":116,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-hash","id":2787,"timestamp":1672016483774,"duration":495,"tags":{},"startTime":1664595060389},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-seal","id":2781,"timestamp":1672016482189,"duration":5042,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"webpack-compilation","id":2773,"timestamp":1672016460896,"duration":26363,"tags":{"name":"server"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"emit","id":2788,"timestamp":1672016487275,"duration":5146,"tags":{},"startTime":1664595060392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2771,"timestamp":1672016454794,"duration":37888,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060360},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2791,"timestamp":1672016499788,"duration":11597,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2796,"timestamp":1672016499844,"duration":12917,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2801,"name":"next-swc-transform","id":2802,"timestamp":1672016513124,"duration":2164,"tags":{},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2800,"name":"next-swc-loader","id":2801,"timestamp":1672016513077,"duration":2219,"tags":{},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"build-module-tsx","id":2800,"timestamp":1672016513010,"duration":4701,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"read-resource","id":2799,"timestamp":1672016512527,"duration":5785,"tags":{},"startTime":1664595060417},{"traceId":"43f2de6d909a73f7","parentId":2803,"name":"postcss-process","id":2804,"timestamp":1672016518345,"duration":32920,"tags":{},"startTime":1664595060423},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"postcss-loader","id":2803,"timestamp":1672016518333,"duration":33399,"tags":{},"startTime":1664595060423},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"css-loader","id":2805,"timestamp":1672016551768,"duration":11143,"tags":{"astUsed":"true"},"startTime":1664595060457},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"build-module-css","id":2798,"timestamp":1672016512349,"duration":51735,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595060417},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2792,"timestamp":1672016499830,"duration":65984,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2795,"timestamp":1672016499839,"duration":66419,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2797,"timestamp":1672016499846,"duration":71999,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2793,"timestamp":1672016499834,"duration":81855,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2794,"timestamp":1672016499836,"duration":118157,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"make","id":2790,"timestamp":1672016497181,"duration":120839,"tags":{},"startTime":1664595060402},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-chunk-graph","id":2807,"timestamp":1672016623354,"duration":19540,"tags":{},"startTime":1664595060528},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-modules","id":2809,"timestamp":1672016642918,"duration":3,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-chunks","id":2810,"timestamp":1672016642929,"duration":31,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-tree","id":2811,"timestamp":1672016642978,"duration":3,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize","id":2808,"timestamp":1672016642909,"duration":1452,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-hash","id":2812,"timestamp":1672016656470,"duration":3597,"tags":{},"startTime":1664595060561},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"NextJsBuildManifest-generateClientManifest","id":2814,"timestamp":1672016668134,"duration":56,"tags":{},"startTime":1664595060573},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"NextJsBuildManifest-createassets","id":2813,"timestamp":1672016668080,"duration":117,"tags":{},"startTime":1664595060573},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-seal","id":2806,"timestamp":1672016619550,"duration":50962,"tags":{},"startTime":1664595060524},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"webpack-compilation","id":2789,"timestamp":1672016497001,"duration":173553,"tags":{"name":"client"},"startTime":1664595060402},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"emit","id":2815,"timestamp":1672016670593,"duration":92391,"tags":{},"startTime":1664595060575},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2772,"timestamp":1672016454944,"duration":308791,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060360}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2816,"timestamp":1672016788860,"duration":0,"tags":{},"startTime":1664595060694},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2817,"timestamp":1664595060360999,"duration":342000,"tags":{"clientId":1664594518197},"startTime":1664595060704},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2822,"timestamp":1672257305330,"duration":9020,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2827,"timestamp":1672257305580,"duration":10410,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2823,"timestamp":1672257305551,"duration":12240,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2826,"timestamp":1672257305569,"duration":12607,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2828,"timestamp":1672257305584,"duration":17963,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2824,"timestamp":1672257305559,"duration":27592,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2825,"timestamp":1672257305564,"duration":74609,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"make","id":2821,"timestamp":1672257304234,"duration":76069,"tags":{},"startTime":1664595301210},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-chunk-graph","id":2830,"timestamp":1672257385795,"duration":17748,"tags":{},"startTime":1664595301291},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-modules","id":2832,"timestamp":1672257403600,"duration":11,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-chunks","id":2833,"timestamp":1672257403645,"duration":66,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-tree","id":2834,"timestamp":1672257403750,"duration":16,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize","id":2831,"timestamp":1672257403576,"duration":1649,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-hash","id":2835,"timestamp":1672257417547,"duration":5730,"tags":{},"startTime":1664595301323},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"NextJsBuildManifest-generateClientManifest","id":2837,"timestamp":1672257424598,"duration":230,"tags":{},"startTime":1664595301330},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"NextJsBuildManifest-createassets","id":2836,"timestamp":1672257424505,"duration":329,"tags":{},"startTime":1664595301330},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-seal","id":2829,"timestamp":1672257381637,"duration":44360,"tags":{},"startTime":1664595301287},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"webpack-compilation","id":2820,"timestamp":1672257302630,"duration":123394,"tags":{"name":"client"},"startTime":1664595301208},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"emit","id":2838,"timestamp":1672257426067,"duration":4961,"tags":{},"startTime":1664595301332},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2818,"timestamp":1672257292938,"duration":138838,"tags":{"trigger":"manual"},"startTime":1664595301198},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2841,"timestamp":1672257444696,"duration":0,"tags":{},"startTime":1664595301350},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2842,"timestamp":1672257445097,"duration":10647,"tags":{"request":"private-next-pages/_app"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2844,"timestamp":1672257445137,"duration":10784,"tags":{"request":"private-next-pages/_error"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2843,"timestamp":1672257445133,"duration":10792,"tags":{"request":"private-next-pages/_document"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2847,"name":"next-swc-transform","id":2848,"timestamp":1672257457130,"duration":1470,"tags":{},"startTime":1664595301363},{"traceId":"43f2de6d909a73f7","parentId":2846,"name":"next-swc-loader","id":2847,"timestamp":1672257457016,"duration":1587,"tags":{},"startTime":1664595301363},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"build-module-tsx","id":2846,"timestamp":1672257456881,"duration":5682,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664595301362},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2845,"timestamp":1672257445139,"duration":20515,"tags":{"request":"./pages/index.tsx"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"make","id":2840,"timestamp":1672257433066,"duration":32600,"tags":{},"startTime":1664595301339},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-chunk-graph","id":2850,"timestamp":1672257465954,"duration":192,"tags":{},"startTime":1664595301371},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-modules","id":2852,"timestamp":1672257466154,"duration":4,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-chunks","id":2853,"timestamp":1672257466190,"duration":25,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-tree","id":2854,"timestamp":1672257466237,"duration":11,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize","id":2851,"timestamp":1672257466151,"duration":202,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-hash","id":2855,"timestamp":1672257467746,"duration":837,"tags":{},"startTime":1664595301373},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-seal","id":2849,"timestamp":1672257465880,"duration":5297,"tags":{},"startTime":1664595301371},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"webpack-compilation","id":2839,"timestamp":1672257432863,"duration":38334,"tags":{"name":"server"},"startTime":1664595301338},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"emit","id":2856,"timestamp":1672257471212,"duration":1824,"tags":{},"startTime":1664595301377},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2819,"timestamp":1672257293352,"duration":180425,"tags":{"trigger":"manual"},"startTime":1664595301199}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2857,"timestamp":1672257798372,"duration":0,"tags":{},"startTime":1664595301704},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2858,"timestamp":1672287541974,"duration":0,"tags":{},"startTime":1664595331448},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2863,"timestamp":1672317508750,"duration":8611,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595361414},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2868,"timestamp":1672317508856,"duration":10217,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"read-resource","id":2871,"timestamp":1672317518795,"duration":1278,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2875,"name":"postcss-process","id":2876,"timestamp":1672317520163,"duration":42498,"tags":{},"startTime":1664595361426},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"postcss-loader","id":2875,"timestamp":1672317520137,"duration":42953,"tags":{},"startTime":1664595361426},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"css-loader","id":2877,"timestamp":1672317563138,"duration":14215,"tags":{"astUsed":"true"},"startTime":1664595361469},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"build-module-css","id":2870,"timestamp":1672317518420,"duration":65407,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595361424},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2864,"timestamp":1672317508840,"duration":75620,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2873,"name":"next-swc-transform","id":2874,"timestamp":1672317519628,"duration":65285,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2872,"name":"next-swc-loader","id":2873,"timestamp":1672317519525,"duration":65389,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"build-module-tsx","id":2872,"timestamp":1672317519406,"duration":68647,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2867,"timestamp":1672317508853,"duration":79752,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2869,"timestamp":1672317508858,"duration":86015,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2865,"timestamp":1672317508844,"duration":91666,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2866,"timestamp":1672317508850,"duration":127863,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"make","id":2862,"timestamp":1672317507033,"duration":129711,"tags":{},"startTime":1664595361413},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-chunk-graph","id":2879,"timestamp":1672317641356,"duration":17383,"tags":{},"startTime":1664595361547},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-modules","id":2881,"timestamp":1672317658761,"duration":3,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-chunks","id":2882,"timestamp":1672317658773,"duration":58,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-tree","id":2883,"timestamp":1672317658850,"duration":3,"tags":{},"startTime":1664595361565},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize","id":2880,"timestamp":1672317658754,"duration":1507,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-hash","id":2884,"timestamp":1672317672088,"duration":4874,"tags":{},"startTime":1664595361578},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"NextJsBuildManifest-generateClientManifest","id":2886,"timestamp":1672317687294,"duration":72,"tags":{},"startTime":1664595361593},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"NextJsBuildManifest-createassets","id":2885,"timestamp":1672317687227,"duration":148,"tags":{},"startTime":1664595361593},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-seal","id":2878,"timestamp":1672317638005,"duration":51217,"tags":{},"startTime":1664595361544},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"webpack-compilation","id":2861,"timestamp":1672317506359,"duration":182883,"tags":{"name":"client"},"startTime":1664595361412},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"emit","id":2887,"timestamp":1672317689259,"duration":125239,"tags":{},"startTime":1664595361595},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2859,"timestamp":1672317486965,"duration":328954,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361393},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2893,"timestamp":1672317831150,"duration":0,"tags":{},"startTime":1664595361737},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2892,"timestamp":1672317830305,"duration":6267,"tags":{"request":"private-next-pages/_error"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2891,"timestamp":1672317830301,"duration":6284,"tags":{"request":"private-next-pages/_document"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2895,"name":"next-swc-transform","id":2896,"timestamp":1672317836205,"duration":1639,"tags":{},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2894,"name":"next-swc-loader","id":2895,"timestamp":1672317836142,"duration":1705,"tags":{},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"build-module-tsx","id":2894,"timestamp":1672317836007,"duration":4296,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2890,"timestamp":1672317830197,"duration":13878,"tags":{"request":"private-next-pages/_app"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"make","id":2889,"timestamp":1672317817315,"duration":26776,"tags":{},"startTime":1664595361723},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-chunk-graph","id":2898,"timestamp":1672317844437,"duration":233,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-modules","id":2900,"timestamp":1672317844682,"duration":2,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-chunks","id":2901,"timestamp":1672317844692,"duration":20,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-tree","id":2902,"timestamp":1672317844720,"duration":4,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize","id":2899,"timestamp":1672317844679,"duration":100,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-hash","id":2903,"timestamp":1672317845861,"duration":467,"tags":{},"startTime":1664595361752},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-seal","id":2897,"timestamp":1672317844370,"duration":2783,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"webpack-compilation","id":2888,"timestamp":1672317817084,"duration":30088,"tags":{"name":"server"},"startTime":1664595361723},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"emit","id":2904,"timestamp":1672317847188,"duration":2113,"tags":{},"startTime":1664595361753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2860,"timestamp":1672317489796,"duration":359846,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361396}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2905,"timestamp":1664595361398000,"duration":357999,"tags":{"clientId":1664595301700},"startTime":1664595361759},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2910,"timestamp":1672321386930,"duration":3572,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2911,"timestamp":1672321386966,"duration":4208,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"read-resource","id":2918,"timestamp":1672321391558,"duration":54,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2919,"name":"postcss-process","id":2920,"timestamp":1672321391644,"duration":33355,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"postcss-loader","id":2919,"timestamp":1672321391635,"duration":33811,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"css-loader","id":2921,"timestamp":1672321425475,"duration":10630,"tags":{"astUsed":"true"},"startTime":1664595365331},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"build-module-css","id":2917,"timestamp":1672321391365,"duration":46073,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2915,"timestamp":1672321386977,"duration":50994,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2914,"timestamp":1672321386974,"duration":51010,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2916,"timestamp":1672321386979,"duration":56382,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2912,"timestamp":1672321386969,"duration":56860,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2923,"name":"next-swc-transform","id":2924,"timestamp":1672321443875,"duration":1868,"tags":{},"startTime":1664595365350},{"traceId":"43f2de6d909a73f7","parentId":2922,"name":"next-swc-loader","id":2923,"timestamp":1672321443836,"duration":1912,"tags":{},"startTime":1664595365350},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"build-module-tsx","id":2922,"timestamp":1672321443622,"duration":4027,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365349},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2913,"timestamp":1672321386971,"duration":88232,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"make","id":2909,"timestamp":1672321383153,"duration":92074,"tags":{},"startTime":1664595365289},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-chunk-graph","id":2926,"timestamp":1672321479935,"duration":17066,"tags":{},"startTime":1664595365386},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-modules","id":2928,"timestamp":1672321497028,"duration":3,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-chunks","id":2929,"timestamp":1672321497040,"duration":31,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-tree","id":2930,"timestamp":1672321497091,"duration":13,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize","id":2927,"timestamp":1672321497019,"duration":1506,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-hash","id":2931,"timestamp":1672321508690,"duration":3726,"tags":{},"startTime":1664595365414},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"NextJsBuildManifest-generateClientManifest","id":2933,"timestamp":1672321522969,"duration":58,"tags":{},"startTime":1664595365429},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"NextJsBuildManifest-createassets","id":2932,"timestamp":1672321522915,"duration":120,"tags":{},"startTime":1664595365429},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-seal","id":2925,"timestamp":1672321476554,"duration":48257,"tags":{},"startTime":1664595365382},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"webpack-compilation","id":2908,"timestamp":1672321382855,"duration":141979,"tags":{"name":"client"},"startTime":1664595365289},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"emit","id":2934,"timestamp":1672321524855,"duration":84549,"tags":{},"startTime":1664595365431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2906,"timestamp":1672321370982,"duration":238995,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365277},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2940,"timestamp":1672321620289,"duration":0,"tags":{},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2939,"timestamp":1672321619810,"duration":3311,"tags":{"request":"private-next-pages/_error"},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2938,"timestamp":1672321619807,"duration":3322,"tags":{"request":"private-next-pages/_document"},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2942,"name":"next-swc-transform","id":2943,"timestamp":1672321623345,"duration":8076,"tags":{},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2941,"name":"next-swc-loader","id":2942,"timestamp":1672321623313,"duration":8111,"tags":{},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"build-module-tsx","id":2941,"timestamp":1672321623239,"duration":9209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2937,"timestamp":1672321619757,"duration":13887,"tags":{"request":"private-next-pages/_app"},"startTime":1664595365525},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"make","id":2936,"timestamp":1672321611084,"duration":22573,"tags":{},"startTime":1664595365517},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-chunk-graph","id":2945,"timestamp":1672321633879,"duration":213,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-modules","id":2947,"timestamp":1672321634100,"duration":1,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-chunks","id":2948,"timestamp":1672321634109,"duration":13,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-tree","id":2949,"timestamp":1672321634128,"duration":3,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize","id":2946,"timestamp":1672321634097,"duration":76,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-hash","id":2950,"timestamp":1672321634953,"duration":394,"tags":{},"startTime":1664595365541},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-seal","id":2944,"timestamp":1672321633819,"duration":2193,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"webpack-compilation","id":2935,"timestamp":1672321610904,"duration":25122,"tags":{"name":"server"},"startTime":1664595365517},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"emit","id":2951,"timestamp":1672321636034,"duration":4348,"tags":{},"startTime":1664595365542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2907,"timestamp":1672321371210,"duration":269505,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365277}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2952,"timestamp":1664595365276999,"duration":268000,"tags":{"clientId":1664595301700},"startTime":1664595365547},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2957,"timestamp":1672327980011,"duration":3358,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2958,"timestamp":1672327980049,"duration":3981,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"read-resource","id":2965,"timestamp":1672327984501,"duration":64,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2966,"name":"postcss-process","id":2967,"timestamp":1672327984603,"duration":32787,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"postcss-loader","id":2966,"timestamp":1672327984591,"duration":33019,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"css-loader","id":2968,"timestamp":1672328017643,"duration":8364,"tags":{"astUsed":"true"},"startTime":1664595371923},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"build-module-css","id":2964,"timestamp":1672327984386,"duration":42621,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2962,"timestamp":1672327980066,"duration":50463,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2961,"timestamp":1672327980063,"duration":50487,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2963,"timestamp":1672327980068,"duration":63835,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2959,"timestamp":1672327980058,"duration":65309,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2970,"name":"next-swc-transform","id":2971,"timestamp":1672328045419,"duration":6499,"tags":{},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2969,"name":"next-swc-loader","id":2970,"timestamp":1672328045378,"duration":6547,"tags":{},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"build-module-tsx","id":2969,"timestamp":1672328044891,"duration":9891,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2960,"timestamp":1672327980061,"duration":135483,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"make","id":2956,"timestamp":1672327979081,"duration":136497,"tags":{},"startTime":1664595371885},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-chunk-graph","id":2973,"timestamp":1672328120094,"duration":17289,"tags":{},"startTime":1664595372026},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-modules","id":2975,"timestamp":1672328137410,"duration":3,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-chunks","id":2976,"timestamp":1672328137426,"duration":94,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-tree","id":2977,"timestamp":1672328137539,"duration":5,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize","id":2974,"timestamp":1672328137400,"duration":1557,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-hash","id":2978,"timestamp":1672328150690,"duration":4368,"tags":{},"startTime":1664595372056},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"NextJsBuildManifest-generateClientManifest","id":2980,"timestamp":1672328155991,"duration":80,"tags":{},"startTime":1664595372062},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"NextJsBuildManifest-createassets","id":2979,"timestamp":1672328155923,"duration":153,"tags":{},"startTime":1664595372062},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-seal","id":2972,"timestamp":1672328116774,"duration":40287,"tags":{},"startTime":1664595372023},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"webpack-compilation","id":2955,"timestamp":1672327978901,"duration":178187,"tags":{"name":"client"},"startTime":1664595371885},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"emit","id":2981,"timestamp":1672328157117,"duration":5346,"tags":{},"startTime":1664595372063},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2953,"timestamp":1672327968320,"duration":194654,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371874},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2987,"timestamp":1672328174173,"duration":0,"tags":{},"startTime":1664595372080},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2986,"timestamp":1672328173537,"duration":3059,"tags":{"request":"private-next-pages/_error"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2985,"timestamp":1672328173533,"duration":3068,"tags":{"request":"private-next-pages/_document"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2989,"name":"next-swc-transform","id":2990,"timestamp":1672328176819,"duration":930,"tags":{},"startTime":1664595372083},{"traceId":"43f2de6d909a73f7","parentId":2988,"name":"next-swc-loader","id":2989,"timestamp":1672328176773,"duration":980,"tags":{},"startTime":1664595372083},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"build-module-tsx","id":2988,"timestamp":1672328176670,"duration":2178,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595372082},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2984,"timestamp":1672328173473,"duration":6183,"tags":{"request":"private-next-pages/_app"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"make","id":2983,"timestamp":1672328164082,"duration":15584,"tags":{},"startTime":1664595372070},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-chunk-graph","id":2992,"timestamp":1672328179891,"duration":167,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-modules","id":2994,"timestamp":1672328180065,"duration":1,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-chunks","id":2995,"timestamp":1672328180073,"duration":14,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-tree","id":2996,"timestamp":1672328180094,"duration":2,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize","id":2993,"timestamp":1672328180062,"duration":83,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-hash","id":2997,"timestamp":1672328180787,"duration":350,"tags":{},"startTime":1664595372087},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-seal","id":2991,"timestamp":1672328179834,"duration":1476,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"webpack-compilation","id":2982,"timestamp":1672328163904,"duration":17419,"tags":{"name":"server"},"startTime":1664595372070},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"emit","id":2998,"timestamp":1672328181330,"duration":3408,"tags":{},"startTime":1664595372087},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2954,"timestamp":1672327968518,"duration":216554,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371874}] +[{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3003,"timestamp":1672341805478,"duration":6756,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3004,"timestamp":1672341805582,"duration":7672,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"read-resource","id":3011,"timestamp":1672341813793,"duration":71,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3012,"name":"postcss-process","id":3013,"timestamp":1672341813935,"duration":41988,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"postcss-loader","id":3012,"timestamp":1672341813918,"duration":42405,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"css-loader","id":3014,"timestamp":1672341856376,"duration":12567,"tags":{"astUsed":"true"},"startTime":1664595385762},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"build-module-css","id":3010,"timestamp":1672341813468,"duration":66645,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595385719},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3008,"timestamp":1672341805600,"duration":74976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3007,"timestamp":1672341805596,"duration":74996,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3009,"timestamp":1672341805602,"duration":79606,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3005,"timestamp":1672341805587,"duration":79991,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3006,"timestamp":1672341805592,"duration":109094,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"make","id":3002,"timestamp":1672341804531,"duration":110182,"tags":{},"startTime":1664595385710},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-chunk-graph","id":3016,"timestamp":1672341919413,"duration":17052,"tags":{},"startTime":1664595385825},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-modules","id":3018,"timestamp":1672341936519,"duration":11,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-chunks","id":3019,"timestamp":1672341936560,"duration":59,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-tree","id":3020,"timestamp":1672341936656,"duration":11,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize","id":3017,"timestamp":1672341936496,"duration":1768,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-hash","id":3021,"timestamp":1672341949843,"duration":5097,"tags":{},"startTime":1664595385856},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"NextJsBuildManifest-generateClientManifest","id":3023,"timestamp":1672341955976,"duration":72,"tags":{},"startTime":1664595385862},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"NextJsBuildManifest-createassets","id":3022,"timestamp":1672341955919,"duration":132,"tags":{},"startTime":1664595385862},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-seal","id":3015,"timestamp":1672341915877,"duration":41441,"tags":{},"startTime":1664595385822},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"webpack-compilation","id":3001,"timestamp":1672341803688,"duration":153658,"tags":{"name":"client"},"startTime":1664595385709},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"emit","id":3024,"timestamp":1672341957370,"duration":8070,"tags":{},"startTime":1664595385863},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2999,"timestamp":1672341784448,"duration":182080,"tags":{"trigger":"manual"},"startTime":1664595385690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3027,"timestamp":1672341990111,"duration":0,"tags":{},"startTime":1664595385896},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3031,"timestamp":1672341990979,"duration":5457,"tags":{"request":"./pages/index.tsx"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3030,"timestamp":1672341990976,"duration":5937,"tags":{"request":"private-next-pages/_error"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3029,"timestamp":1672341990971,"duration":5951,"tags":{"request":"private-next-pages/_document"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3028,"timestamp":1672341990927,"duration":6761,"tags":{"request":"private-next-pages/_app"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"make","id":3026,"timestamp":1672341968485,"duration":29234,"tags":{},"startTime":1664595385874},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-chunk-graph","id":3033,"timestamp":1672341998157,"duration":474,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-modules","id":3035,"timestamp":1672341998646,"duration":2,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-chunks","id":3036,"timestamp":1672341998689,"duration":105,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-tree","id":3037,"timestamp":1672341998818,"duration":19,"tags":{},"startTime":1664595385905},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize","id":3034,"timestamp":1672341998640,"duration":292,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-hash","id":3038,"timestamp":1672342000759,"duration":1183,"tags":{},"startTime":1664595385907},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-seal","id":3032,"timestamp":1672341998067,"duration":5276,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"webpack-compilation","id":3025,"timestamp":1672341968201,"duration":35169,"tags":{"name":"server"},"startTime":1664595385874},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"emit","id":3039,"timestamp":1672342003389,"duration":7984,"tags":{},"startTime":1664595385909},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3000,"timestamp":1672341786789,"duration":225492,"tags":{"trigger":"manual"},"startTime":1664595385693}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3040,"timestamp":1672342288127,"duration":0,"tags":{},"startTime":1664595386194},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3041,"timestamp":1672342303386,"duration":0,"tags":{},"startTime":1664595386209},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3046,"timestamp":1672412845518,"duration":14947,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3051,"timestamp":1672412845637,"duration":16712,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"read-resource","id":3054,"timestamp":1672412862075,"duration":2632,"tags":{},"startTime":1664595456740},{"traceId":"43f2de6d909a73f7","parentId":3058,"name":"postcss-process","id":3059,"timestamp":1672412864826,"duration":46695,"tags":{},"startTime":1664595456743},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"postcss-loader","id":3058,"timestamp":1672412864805,"duration":47307,"tags":{},"startTime":1664595456743},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"css-loader","id":3060,"timestamp":1672412912179,"duration":13436,"tags":{"astUsed":"true"},"startTime":1664595456791},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"build-module-css","id":3053,"timestamp":1672412861765,"duration":74972,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595456740},{"traceId":"43f2de6d909a73f7","parentId":3056,"name":"next-swc-transform","id":3057,"timestamp":1672412863227,"duration":74327,"tags":{},"startTime":1664595456742},{"traceId":"43f2de6d909a73f7","parentId":3055,"name":"next-swc-loader","id":3056,"timestamp":1672412863094,"duration":74462,"tags":{},"startTime":1664595456742},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"build-module-tsx","id":3055,"timestamp":1672412862961,"duration":78632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456741},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3047,"timestamp":1672412845620,"duration":98333,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3050,"timestamp":1672412845634,"duration":100976,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3052,"timestamp":1672412845640,"duration":101587,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3048,"timestamp":1672412845625,"duration":145786,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3049,"timestamp":1672412845630,"duration":233102,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"make","id":3045,"timestamp":1672412843973,"duration":234847,"tags":{},"startTime":1664595456722},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-chunk-graph","id":3062,"timestamp":1672413083787,"duration":16879,"tags":{},"startTime":1664595456962},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-modules","id":3064,"timestamp":1672413100721,"duration":11,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-chunks","id":3065,"timestamp":1672413100766,"duration":105,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-tree","id":3066,"timestamp":1672413100915,"duration":14,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize","id":3063,"timestamp":1672413100696,"duration":1699,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-hash","id":3067,"timestamp":1672413114640,"duration":6255,"tags":{},"startTime":1664595456993},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"NextJsBuildManifest-generateClientManifest","id":3069,"timestamp":1672413135048,"duration":190,"tags":{},"startTime":1664595457013},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"NextJsBuildManifest-createassets","id":3068,"timestamp":1672413134961,"duration":287,"tags":{},"startTime":1664595457013},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-seal","id":3061,"timestamp":1672413080378,"duration":56670,"tags":{},"startTime":1664595456959},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"webpack-compilation","id":3044,"timestamp":1672412843224,"duration":293855,"tags":{"name":"client"},"startTime":1664595456722},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"emit","id":3070,"timestamp":1672413137125,"duration":90849,"tags":{},"startTime":1664595457016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3042,"timestamp":1672412828781,"duration":400128,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456707},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3076,"timestamp":1672413240090,"duration":0,"tags":{},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3077,"timestamp":1672413240293,"duration":0,"tags":{},"startTime":1664595457119},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3075,"timestamp":1672413239494,"duration":6286,"tags":{"request":"private-next-pages/_error"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3074,"timestamp":1672413239490,"duration":6306,"tags":{"request":"private-next-pages/_document"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3081,"timestamp":1664595456708000,"duration":424000,"tags":{"clientId":1664595386228},"startTime":1664595457133},{"traceId":"43f2de6d909a73f7","parentId":3079,"name":"next-swc-transform","id":3080,"timestamp":1672413245492,"duration":11400,"tags":{},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3078,"name":"next-swc-loader","id":3079,"timestamp":1672413245421,"duration":11475,"tags":{},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"build-module-tsx","id":3078,"timestamp":1672413245278,"duration":16022,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3073,"timestamp":1672413239439,"duration":31653,"tags":{"request":"private-next-pages/_app"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"make","id":3072,"timestamp":1672413229862,"duration":41247,"tags":{},"startTime":1664595457108},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-chunk-graph","id":3083,"timestamp":1672413271493,"duration":166,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-modules","id":3085,"timestamp":1672413271667,"duration":1,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-chunks","id":3086,"timestamp":1672413271710,"duration":29,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-tree","id":3087,"timestamp":1672413271762,"duration":10,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize","id":3084,"timestamp":1672413271664,"duration":192,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-hash","id":3088,"timestamp":1672413272927,"duration":714,"tags":{},"startTime":1664595457151},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-seal","id":3082,"timestamp":1672413271433,"duration":3216,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"webpack-compilation","id":3071,"timestamp":1672413229666,"duration":44997,"tags":{"name":"server"},"startTime":1664595457108},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"emit","id":3089,"timestamp":1672413274678,"duration":1721,"tags":{},"startTime":1664595457153},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3043,"timestamp":1672412829195,"duration":447859,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456708}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3090,"timestamp":1664595456708999,"duration":487000,"tags":{"clientId":1664595301700},"startTime":1664595457204},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3097,"timestamp":1672420985474,"duration":6060,"tags":{"request":"private-next-pages/_error"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3096,"timestamp":1672420985470,"duration":6077,"tags":{"request":"private-next-pages/_document"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3099,"name":"next-swc-transform","id":3100,"timestamp":1672420991835,"duration":1451,"tags":{},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3098,"name":"next-swc-loader","id":3099,"timestamp":1672420991787,"duration":1504,"tags":{},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"build-module-tsx","id":3098,"timestamp":1672420991626,"duration":4970,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3095,"timestamp":1672420985422,"duration":13337,"tags":{"request":"private-next-pages/_app"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"make","id":3094,"timestamp":1672420985271,"duration":13508,"tags":{},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-chunk-graph","id":3102,"timestamp":1672420999163,"duration":221,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-modules","id":3104,"timestamp":1672420999396,"duration":2,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-chunks","id":3105,"timestamp":1672420999406,"duration":17,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-tree","id":3106,"timestamp":1672420999438,"duration":3,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize","id":3103,"timestamp":1672420999391,"duration":100,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-hash","id":3107,"timestamp":1672421000689,"duration":676,"tags":{},"startTime":1664595464879},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-seal","id":3101,"timestamp":1672420999088,"duration":3474,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"webpack-compilation","id":3093,"timestamp":1672420985082,"duration":17504,"tags":{"name":"server"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"emit","id":3108,"timestamp":1672421002601,"duration":7035,"tags":{},"startTime":1664595464880},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3091,"timestamp":1672420978178,"duration":32032,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464856},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3111,"timestamp":1672421018851,"duration":5596,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3112,"timestamp":1672421018898,"duration":7215,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"read-resource","id":3119,"timestamp":1672421026698,"duration":44,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3120,"name":"postcss-process","id":3121,"timestamp":1672421026775,"duration":52015,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"postcss-loader","id":3120,"timestamp":1672421026763,"duration":52451,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"css-loader","id":3122,"timestamp":1672421079242,"duration":10106,"tags":{"astUsed":"true"},"startTime":1664595464957},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"build-module-css","id":3118,"timestamp":1672421026302,"duration":64434,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595464904},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3116,"timestamp":1672421018913,"duration":81194,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3115,"timestamp":1672421018909,"duration":81221,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3117,"timestamp":1672421018916,"duration":85419,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3113,"timestamp":1672421018902,"duration":85990,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3124,"name":"next-swc-transform","id":3125,"timestamp":1672421104960,"duration":2340,"tags":{},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3123,"name":"next-swc-loader","id":3124,"timestamp":1672421104900,"duration":2404,"tags":{},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"build-module-tsx","id":3123,"timestamp":1672421104651,"duration":5676,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3114,"timestamp":1672421018906,"duration":116897,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"make","id":3110,"timestamp":1672421016195,"duration":119637,"tags":{},"startTime":1664595464894},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-chunk-graph","id":3127,"timestamp":1672421139960,"duration":16023,"tags":{},"startTime":1664595465018},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-modules","id":3129,"timestamp":1672421156007,"duration":2,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-chunks","id":3130,"timestamp":1672421156021,"duration":60,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-tree","id":3131,"timestamp":1672421156098,"duration":5,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize","id":3128,"timestamp":1672421156000,"duration":1398,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-hash","id":3132,"timestamp":1672421168192,"duration":4476,"tags":{},"startTime":1664595465046},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"NextJsBuildManifest-generateClientManifest","id":3134,"timestamp":1672421185083,"duration":63,"tags":{},"startTime":1664595465063},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"NextJsBuildManifest-createassets","id":3133,"timestamp":1672421185032,"duration":120,"tags":{},"startTime":1664595465063},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-seal","id":3126,"timestamp":1672421136909,"duration":50026,"tags":{},"startTime":1664595465015},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"webpack-compilation","id":3109,"timestamp":1672421015843,"duration":171125,"tags":{"name":"client"},"startTime":1664595464894},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"emit","id":3135,"timestamp":1672421186995,"duration":89768,"tags":{},"startTime":1664595465065},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3092,"timestamp":1672420978279,"duration":299398,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464856}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3136,"timestamp":1672421302867,"duration":0,"tags":{},"startTime":1664595465181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3137,"timestamp":1672421303189,"duration":0,"tags":{},"startTime":1664595465181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3138,"timestamp":1664595464856999,"duration":342000,"tags":{"clientId":1664595386228},"startTime":1664595465199},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3139,"timestamp":1664595464856999,"duration":376999,"tags":{"clientId":1664595301700},"startTime":1664595465235},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3144,"timestamp":1672428146585,"duration":4321,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3145,"timestamp":1672428146670,"duration":4982,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"read-resource","id":3152,"timestamp":1672428151991,"duration":39,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3153,"name":"postcss-process","id":3154,"timestamp":1672428152071,"duration":30969,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"postcss-loader","id":3153,"timestamp":1672428152053,"duration":32836,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"css-loader","id":3155,"timestamp":1672428184930,"duration":8086,"tags":{"astUsed":"true"},"startTime":1664595472063},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"build-module-css","id":3151,"timestamp":1672428151794,"duration":42591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595472029},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3149,"timestamp":1672428146691,"duration":48209,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3148,"timestamp":1672428146681,"duration":48237,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3150,"timestamp":1672428146694,"duration":52026,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3146,"timestamp":1672428146675,"duration":52519,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3157,"name":"next-swc-transform","id":3158,"timestamp":1672428199271,"duration":3813,"tags":{},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3156,"name":"next-swc-loader","id":3157,"timestamp":1672428199199,"duration":3889,"tags":{},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"build-module-tsx","id":3156,"timestamp":1672428198999,"duration":6681,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3147,"timestamp":1672428146678,"duration":84862,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"make","id":3143,"timestamp":1672428145520,"duration":86041,"tags":{},"startTime":1664595472023},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-chunk-graph","id":3160,"timestamp":1672428236260,"duration":16662,"tags":{},"startTime":1664595472114},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-modules","id":3162,"timestamp":1672428252953,"duration":3,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-chunks","id":3163,"timestamp":1672428252969,"duration":60,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-tree","id":3164,"timestamp":1672428253047,"duration":3,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize","id":3161,"timestamp":1672428252945,"duration":1500,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-hash","id":3165,"timestamp":1672428265144,"duration":3664,"tags":{},"startTime":1664595472143},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"NextJsBuildManifest-generateClientManifest","id":3167,"timestamp":1672428280334,"duration":67,"tags":{},"startTime":1664595472158},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"NextJsBuildManifest-createassets","id":3166,"timestamp":1672428280261,"duration":151,"tags":{},"startTime":1664595472158},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-seal","id":3159,"timestamp":1672428232808,"duration":49754,"tags":{},"startTime":1664595472110},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"webpack-compilation","id":3142,"timestamp":1672428145265,"duration":137335,"tags":{"name":"client"},"startTime":1664595472023},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"emit","id":3168,"timestamp":1672428282627,"duration":112234,"tags":{},"startTime":1664595472160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3140,"timestamp":1672428130923,"duration":264648,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472009},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3174,"timestamp":1672428422375,"duration":0,"tags":{},"startTime":1664595472300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3175,"timestamp":1672428422456,"duration":0,"tags":{},"startTime":1664595472300},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3173,"timestamp":1672428410351,"duration":17710,"tags":{"request":"private-next-pages/_error"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3172,"timestamp":1672428410345,"duration":17735,"tags":{"request":"private-next-pages/_document"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3177,"name":"next-swc-transform","id":3178,"timestamp":1672428428807,"duration":1469,"tags":{},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3176,"name":"next-swc-loader","id":3177,"timestamp":1672428428698,"duration":1588,"tags":{},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"build-module-tsx","id":3176,"timestamp":1672428428472,"duration":4734,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3171,"timestamp":1672428410284,"duration":27091,"tags":{"request":"private-next-pages/_app"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"make","id":3170,"timestamp":1672428397066,"duration":40342,"tags":{},"startTime":1664595472275},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-chunk-graph","id":3180,"timestamp":1672428437940,"duration":215,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-modules","id":3182,"timestamp":1672428438163,"duration":2,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-chunks","id":3183,"timestamp":1672428438172,"duration":21,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-tree","id":3184,"timestamp":1672428438201,"duration":4,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize","id":3181,"timestamp":1672428438159,"duration":96,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-hash","id":3185,"timestamp":1672428439302,"duration":449,"tags":{},"startTime":1664595472317},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-seal","id":3179,"timestamp":1672428437868,"duration":4643,"tags":{},"startTime":1664595472315},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"webpack-compilation","id":3169,"timestamp":1672428396794,"duration":45737,"tags":{"name":"server"},"startTime":1664595472274},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"emit","id":3186,"timestamp":1672428442545,"duration":2737,"tags":{},"startTime":1664595472320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3141,"timestamp":1672428131344,"duration":314519,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472009}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3187,"timestamp":1664595472008999,"duration":312999,"tags":{"clientId":1664595386228},"startTime":1664595472325},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3188,"timestamp":1664595472009999,"duration":321000,"tags":{"clientId":1664595301700},"startTime":1664595472333},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3193,"timestamp":1672447125255,"duration":7661,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595491002},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3194,"timestamp":1672447125554,"duration":8242,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"read-resource","id":3201,"timestamp":1672447134323,"duration":69,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3202,"name":"postcss-process","id":3203,"timestamp":1672447134465,"duration":41358,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"postcss-loader","id":3202,"timestamp":1672447134449,"duration":41905,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"css-loader","id":3204,"timestamp":1672447176409,"duration":13028,"tags":{"astUsed":"true"},"startTime":1664595491054},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"build-module-css","id":3200,"timestamp":1672447134050,"duration":66233,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595491011},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3198,"timestamp":1672447125579,"duration":75361,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3197,"timestamp":1672447125575,"duration":75384,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3199,"timestamp":1672447125582,"duration":80152,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3195,"timestamp":1672447125568,"duration":80699,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3206,"name":"next-swc-transform","id":3207,"timestamp":1672447206347,"duration":3117,"tags":{},"startTime":1664595491084},{"traceId":"43f2de6d909a73f7","parentId":3205,"name":"next-swc-loader","id":3206,"timestamp":1672447206274,"duration":3195,"tags":{},"startTime":1664595491083},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"build-module-tsx","id":3205,"timestamp":1672447206025,"duration":8700,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595491083},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3196,"timestamp":1672447125572,"duration":117670,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"make","id":3192,"timestamp":1672447122995,"duration":120296,"tags":{},"startTime":1664595491000},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-chunk-graph","id":3209,"timestamp":1672447247881,"duration":16633,"tags":{},"startTime":1664595491125},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-modules","id":3211,"timestamp":1672447264596,"duration":13,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-chunks","id":3212,"timestamp":1672447264639,"duration":92,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-tree","id":3213,"timestamp":1672447264771,"duration":11,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize","id":3210,"timestamp":1672447264572,"duration":1818,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-hash","id":3214,"timestamp":1672447278882,"duration":6804,"tags":{},"startTime":1664595491156},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"NextJsBuildManifest-generateClientManifest","id":3216,"timestamp":1672447298864,"duration":208,"tags":{},"startTime":1664595491176},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"NextJsBuildManifest-createassets","id":3215,"timestamp":1672447298776,"duration":304,"tags":{},"startTime":1664595491176},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-seal","id":3208,"timestamp":1672447244540,"duration":56651,"tags":{},"startTime":1664595491122},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"webpack-compilation","id":3191,"timestamp":1672447122268,"duration":178952,"tags":{"name":"client"},"startTime":1664595490999},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"emit","id":3217,"timestamp":1672447301262,"duration":139414,"tags":{},"startTime":1664595491178},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3189,"timestamp":1672447107026,"duration":334756,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595490984},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3223,"timestamp":1672447457973,"duration":0,"tags":{},"startTime":1664595491335},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3224,"timestamp":1672447458186,"duration":0,"tags":{},"startTime":1664595491335},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3222,"timestamp":1672447457218,"duration":6102,"tags":{"request":"private-next-pages/_error"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3221,"timestamp":1672447457213,"duration":6119,"tags":{"request":"private-next-pages/_document"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3226,"name":"next-swc-transform","id":3227,"timestamp":1672447463726,"duration":1197,"tags":{},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3225,"name":"next-swc-loader","id":3226,"timestamp":1672447463641,"duration":1287,"tags":{},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"build-module-tsx","id":3225,"timestamp":1672447463486,"duration":10602,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3220,"timestamp":1672447457150,"duration":21061,"tags":{"request":"private-next-pages/_app"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"make","id":3219,"timestamp":1672447443436,"duration":34796,"tags":{},"startTime":1664595491321},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-chunk-graph","id":3229,"timestamp":1672447479024,"duration":299,"tags":{},"startTime":1664595491356},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-modules","id":3231,"timestamp":1672447479336,"duration":2,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-chunks","id":3232,"timestamp":1672447479380,"duration":43,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-tree","id":3233,"timestamp":1672447479456,"duration":15,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize","id":3230,"timestamp":1672447479332,"duration":235,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-hash","id":3234,"timestamp":1672447480924,"duration":717,"tags":{},"startTime":1664595491358},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-seal","id":3228,"timestamp":1672447478944,"duration":4096,"tags":{},"startTime":1664595491356},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"webpack-compilation","id":3218,"timestamp":1672447443123,"duration":39943,"tags":{"name":"server"},"startTime":1664595491320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3236,"timestamp":1664595490984999,"duration":378000,"tags":{"clientId":1664595386228},"startTime":1664595491363},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3237,"timestamp":1664595490985999,"duration":383000,"tags":{"clientId":1664595301700},"startTime":1664595491371},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"emit","id":3235,"timestamp":1672447483084,"duration":17359,"tags":{},"startTime":1664595491360},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3190,"timestamp":1672447107327,"duration":393890,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595490985}] +[{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3242,"timestamp":1672453356106,"duration":4709,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3243,"timestamp":1672453356160,"duration":5693,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"read-resource","id":3250,"timestamp":1672453362232,"duration":49,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3251,"name":"postcss-process","id":3252,"timestamp":1672453362317,"duration":46173,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"postcss-loader","id":3251,"timestamp":1672453362305,"duration":46678,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"css-loader","id":3253,"timestamp":1672453409020,"duration":11259,"tags":{"astUsed":"true"},"startTime":1664595497286},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"build-module-css","id":3249,"timestamp":1672453361997,"duration":59654,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3247,"timestamp":1672453356180,"duration":66040,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3246,"timestamp":1672453356176,"duration":66058,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3248,"timestamp":1672453356184,"duration":72314,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3244,"timestamp":1672453356167,"duration":72619,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3245,"timestamp":1672453356171,"duration":102735,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"make","id":3241,"timestamp":1672453355415,"duration":103513,"tags":{},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-chunk-graph","id":3255,"timestamp":1672453463327,"duration":16699,"tags":{},"startTime":1664595497340},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-modules","id":3257,"timestamp":1672453480055,"duration":2,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-chunks","id":3258,"timestamp":1672453480067,"duration":80,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-tree","id":3259,"timestamp":1672453480170,"duration":2,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize","id":3256,"timestamp":1672453480047,"duration":1697,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-hash","id":3260,"timestamp":1672453492420,"duration":5843,"tags":{},"startTime":1664595497370},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"NextJsBuildManifest-generateClientManifest","id":3262,"timestamp":1672453499231,"duration":57,"tags":{},"startTime":1664595497376},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"NextJsBuildManifest-createassets","id":3261,"timestamp":1672453499177,"duration":114,"tags":{},"startTime":1664595497376},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-seal","id":3254,"timestamp":1672453460042,"duration":40258,"tags":{},"startTime":1664595497337},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"webpack-compilation","id":3240,"timestamp":1672453355157,"duration":145166,"tags":{"name":"client"},"startTime":1664595497232},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"emit","id":3263,"timestamp":1672453500337,"duration":4375,"tags":{},"startTime":1664595497378},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3238,"timestamp":1672453343627,"duration":161534,"tags":{"trigger":"manual"},"startTime":1664595497221},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3266,"timestamp":1672453514406,"duration":0,"tags":{},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3267,"timestamp":1672453514458,"duration":0,"tags":{},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3271,"timestamp":1672453514807,"duration":2392,"tags":{"request":"./pages/index.tsx"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3270,"timestamp":1672453514805,"duration":2558,"tags":{"request":"private-next-pages/_error"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3269,"timestamp":1672453514801,"duration":2564,"tags":{"request":"private-next-pages/_document"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3268,"timestamp":1672453514732,"duration":2798,"tags":{"request":"private-next-pages/_app"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"make","id":3265,"timestamp":1672453506075,"duration":11471,"tags":{},"startTime":1664595497383},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-chunk-graph","id":3273,"timestamp":1672453517796,"duration":202,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-modules","id":3275,"timestamp":1672453518008,"duration":2,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-chunks","id":3276,"timestamp":1672453518017,"duration":15,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-tree","id":3277,"timestamp":1672453518040,"duration":2,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize","id":3274,"timestamp":1672453518005,"duration":80,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-hash","id":3278,"timestamp":1672453518793,"duration":438,"tags":{},"startTime":1664595497396},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-seal","id":3272,"timestamp":1672453517732,"duration":2014,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"webpack-compilation","id":3264,"timestamp":1672453505932,"duration":13826,"tags":{"name":"server"},"startTime":1664595497383},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"emit","id":3279,"timestamp":1672453519767,"duration":1582,"tags":{},"startTime":1664595497397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3239,"timestamp":1672453344432,"duration":177485,"tags":{"trigger":"manual"},"startTime":1664595497222}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3280,"timestamp":1672453768957,"duration":0,"tags":{},"startTime":1664595497646},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3281,"timestamp":1672453769193,"duration":0,"tags":{},"startTime":1664595497646},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3289,"timestamp":1672459834818,"duration":3761,"tags":{"request":"./pages/index.tsx"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3288,"timestamp":1672459834815,"duration":4063,"tags":{"request":"private-next-pages/_error"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3287,"timestamp":1672459834811,"duration":4082,"tags":{"request":"private-next-pages/_document"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3291,"name":"next-swc-transform","id":3292,"timestamp":1672459839286,"duration":1629,"tags":{},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3290,"name":"next-swc-loader","id":3291,"timestamp":1672459839234,"duration":1690,"tags":{},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"build-module-tsx","id":3290,"timestamp":1672459839020,"duration":4207,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3286,"timestamp":1672459834742,"duration":10707,"tags":{"request":"private-next-pages/_app"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"make","id":3285,"timestamp":1672459831284,"duration":14182,"tags":{},"startTime":1664595503708},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-chunk-graph","id":3294,"timestamp":1672459845803,"duration":229,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-modules","id":3296,"timestamp":1672459846041,"duration":2,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-chunks","id":3297,"timestamp":1672459846050,"duration":18,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-tree","id":3298,"timestamp":1672459846078,"duration":3,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize","id":3295,"timestamp":1672459846038,"duration":88,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-hash","id":3299,"timestamp":1672459847116,"duration":430,"tags":{},"startTime":1664595503724},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-seal","id":3293,"timestamp":1672459845731,"duration":3369,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"webpack-compilation","id":3284,"timestamp":1672459831119,"duration":18006,"tags":{"name":"server"},"startTime":1664595503708},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"emit","id":3300,"timestamp":1672459849140,"duration":3654,"tags":{},"startTime":1664595503726},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3282,"timestamp":1672459824212,"duration":28825,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503701},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3303,"timestamp":1672459858374,"duration":3689,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595503735},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3304,"timestamp":1672459858407,"duration":4290,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"read-resource","id":3311,"timestamp":1672459862895,"duration":31,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3312,"name":"postcss-process","id":3313,"timestamp":1672459862954,"duration":29224,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"postcss-loader","id":3312,"timestamp":1672459862944,"duration":29459,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"css-loader","id":3314,"timestamp":1672459892429,"duration":10548,"tags":{"astUsed":"true"},"startTime":1664595503770},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"build-module-css","id":3310,"timestamp":1672459862796,"duration":41141,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3308,"timestamp":1672459858426,"duration":45957,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3307,"timestamp":1672459858423,"duration":45970,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3309,"timestamp":1672459858429,"duration":49369,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3305,"timestamp":1672459858417,"duration":49878,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3316,"name":"next-swc-transform","id":3317,"timestamp":1672459908340,"duration":1917,"tags":{},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3315,"name":"next-swc-loader","id":3316,"timestamp":1672459908301,"duration":1960,"tags":{},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"build-module-tsx","id":3315,"timestamp":1672459908112,"duration":4493,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3306,"timestamp":1672459858420,"duration":77442,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"make","id":3302,"timestamp":1672459856942,"duration":78940,"tags":{},"startTime":1664595503734},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-chunk-graph","id":3319,"timestamp":1672459940131,"duration":5896,"tags":{},"startTime":1664595503817},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-modules","id":3321,"timestamp":1672459946052,"duration":3,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-chunks","id":3322,"timestamp":1672459946064,"duration":31,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-tree","id":3323,"timestamp":1672459946114,"duration":3,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize","id":3320,"timestamp":1672459946044,"duration":940,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-hash","id":3324,"timestamp":1672459954396,"duration":3358,"tags":{},"startTime":1664595503832},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"NextJsBuildManifest-generateClientManifest","id":3326,"timestamp":1672459966740,"duration":47,"tags":{},"startTime":1664595503844},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"NextJsBuildManifest-createassets","id":3325,"timestamp":1672459966694,"duration":100,"tags":{},"startTime":1664595503844},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-seal","id":3318,"timestamp":1672459936864,"duration":31439,"tags":{},"startTime":1664595503814},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"webpack-compilation","id":3301,"timestamp":1672459856723,"duration":111603,"tags":{"name":"client"},"startTime":1664595503734},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"emit","id":3327,"timestamp":1672459968341,"duration":101226,"tags":{},"startTime":1664595503845},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3283,"timestamp":1672459824344,"duration":246463,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503701}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3328,"timestamp":1672460084089,"duration":0,"tags":{},"startTime":1664595503961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3329,"timestamp":1664595503702000,"duration":289999,"tags":{"clientId":1664595301700},"startTime":1664595503994},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3330,"timestamp":1672464275823,"duration":1,"tags":{},"startTime":1664595508153},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3331,"timestamp":1672464282210,"duration":0,"tags":{},"startTime":1664595508159},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3332,"timestamp":1672465650489,"duration":0,"tags":{},"startTime":1664595509528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3333,"timestamp":1672465651150,"duration":0,"tags":{},"startTime":1664595509528},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3338,"timestamp":1672473041684,"duration":10405,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3343,"timestamp":1672473041789,"duration":13400,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"read-resource","id":3346,"timestamp":1672473054962,"duration":1125,"tags":{},"startTime":1664595516932},{"traceId":"43f2de6d909a73f7","parentId":3350,"name":"postcss-process","id":3351,"timestamp":1672473056118,"duration":39456,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"postcss-loader","id":3350,"timestamp":1672473056107,"duration":39839,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"css-loader","id":3352,"timestamp":1672473095981,"duration":11486,"tags":{"astUsed":"true"},"startTime":1664595516973},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"build-module-css","id":3345,"timestamp":1672473054745,"duration":63178,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595516932},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3339,"timestamp":1672473041775,"duration":76688,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3348,"name":"next-swc-transform","id":3349,"timestamp":1672473055718,"duration":63228,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3347,"name":"next-swc-loader","id":3348,"timestamp":1672473055629,"duration":63320,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"build-module-tsx","id":3347,"timestamp":1672473055530,"duration":67467,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3342,"timestamp":1672473041786,"duration":81403,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3344,"timestamp":1672473041791,"duration":87358,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3340,"timestamp":1672473041779,"duration":92894,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3341,"timestamp":1672473041783,"duration":128461,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"make","id":3337,"timestamp":1672473040822,"duration":129441,"tags":{},"startTime":1664595516918},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-chunk-graph","id":3354,"timestamp":1672473174882,"duration":18933,"tags":{},"startTime":1664595517052},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-modules","id":3356,"timestamp":1672473193871,"duration":12,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-chunks","id":3357,"timestamp":1672473193915,"duration":92,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-tree","id":3358,"timestamp":1672473194052,"duration":12,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize","id":3355,"timestamp":1672473193846,"duration":1736,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-hash","id":3359,"timestamp":1672473206257,"duration":7713,"tags":{},"startTime":1664595517083},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"NextJsBuildManifest-generateClientManifest","id":3361,"timestamp":1672473223603,"duration":63,"tags":{},"startTime":1664595517101},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"NextJsBuildManifest-createassets","id":3360,"timestamp":1672473223547,"duration":133,"tags":{},"startTime":1664595517101},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-seal","id":3353,"timestamp":1672473171472,"duration":54145,"tags":{},"startTime":1664595517049},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"webpack-compilation","id":3336,"timestamp":1672473040589,"duration":185056,"tags":{"name":"client"},"startTime":1664595516918},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"emit","id":3362,"timestamp":1672473225662,"duration":92166,"tags":{},"startTime":1664595517103},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3334,"timestamp":1672473026806,"duration":302054,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516904},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3365,"timestamp":1672473344378,"duration":0,"tags":{},"startTime":1664595517221},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3369,"timestamp":1672473345862,"duration":5171,"tags":{"request":"./pages/index.tsx"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3368,"timestamp":1672473345860,"duration":6038,"tags":{"request":"private-next-pages/_error"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3367,"timestamp":1672473345855,"duration":6047,"tags":{"request":"private-next-pages/_document"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3371,"name":"next-swc-transform","id":3372,"timestamp":1672473351562,"duration":1596,"tags":{},"startTime":1664595517229},{"traceId":"43f2de6d909a73f7","parentId":3370,"name":"next-swc-loader","id":3371,"timestamp":1672473351492,"duration":1669,"tags":{},"startTime":1664595517229},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"build-module-tsx","id":3370,"timestamp":1672473351351,"duration":11300,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595517228},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3366,"timestamp":1672473345757,"duration":21378,"tags":{"request":"private-next-pages/_app"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"make","id":3364,"timestamp":1672473330563,"duration":36589,"tags":{},"startTime":1664595517208},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-chunk-graph","id":3374,"timestamp":1672473367566,"duration":297,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-modules","id":3376,"timestamp":1672473367871,"duration":2,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-chunks","id":3377,"timestamp":1672473367908,"duration":35,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-tree","id":3378,"timestamp":1672473367969,"duration":16,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize","id":3375,"timestamp":1672473367868,"duration":219,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-hash","id":3379,"timestamp":1672473369796,"duration":2076,"tags":{},"startTime":1664595517247},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-seal","id":3373,"timestamp":1672473367486,"duration":6216,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"webpack-compilation","id":3363,"timestamp":1672473330289,"duration":43440,"tags":{"name":"server"},"startTime":1664595517207},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3381,"timestamp":1664595516904999,"duration":344999,"tags":{"clientId":1664595301700},"startTime":1664595517251},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"emit","id":3380,"timestamp":1672473373750,"duration":2859,"tags":{},"startTime":1664595517251},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3335,"timestamp":1672473027075,"duration":350125,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516904}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3382,"timestamp":1672476390586,"duration":0,"tags":{},"startTime":1664595520268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3383,"timestamp":1672476391360,"duration":0,"tags":{},"startTime":1664595520268},{"traceId":"43f2de6d909a73f7","parentId":3392,"name":"next-swc-transform","id":3393,"timestamp":1672550629870,"duration":999,"tags":{},"startTime":1664595594507},{"traceId":"43f2de6d909a73f7","parentId":3391,"name":"next-swc-loader","id":3392,"timestamp":1672550629779,"duration":1099,"tags":{},"startTime":1664595594507},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"build-module-tsx","id":3391,"timestamp":1672550629559,"duration":3150,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594506},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3390,"timestamp":1672550619168,"duration":14249,"tags":{"request":"private-next-pages/_error"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3389,"timestamp":1672550619163,"duration":14263,"tags":{"request":"private-next-pages/_document"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3388,"timestamp":1672550619091,"duration":22099,"tags":{"request":"private-next-pages/_app"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"make","id":3387,"timestamp":1672550618885,"duration":22320,"tags":{},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-chunk-graph","id":3395,"timestamp":1672550641533,"duration":244,"tags":{},"startTime":1664595594518},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-modules","id":3397,"timestamp":1672550641787,"duration":2,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-chunks","id":3398,"timestamp":1672550641796,"duration":23,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-tree","id":3399,"timestamp":1672550641827,"duration":4,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize","id":3396,"timestamp":1672550641782,"duration":102,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-hash","id":3400,"timestamp":1672550642696,"duration":501,"tags":{},"startTime":1664595594520},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-seal","id":3394,"timestamp":1672550641463,"duration":2003,"tags":{},"startTime":1664595594518},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"webpack-compilation","id":3386,"timestamp":1672550618665,"duration":24818,"tags":{"name":"server"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"emit","id":3401,"timestamp":1672550643492,"duration":1117,"tags":{},"startTime":1664595594520},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3384,"timestamp":1672550612705,"duration":32209,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594490},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3404,"timestamp":1672550649862,"duration":4071,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3409,"timestamp":1672550649906,"duration":4970,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"read-resource","id":3412,"timestamp":1672550654695,"duration":882,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3416,"name":"postcss-process","id":3417,"timestamp":1672550655603,"duration":34409,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"postcss-loader","id":3416,"timestamp":1672550655595,"duration":34578,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"css-loader","id":3418,"timestamp":1672550690198,"duration":10235,"tags":{"astUsed":"true"},"startTime":1664595594567},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"build-module-css","id":3411,"timestamp":1672550654552,"duration":47122,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595594531},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3405,"timestamp":1672550649893,"duration":52489,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3414,"name":"next-swc-transform","id":3415,"timestamp":1672550655016,"duration":47745,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3413,"name":"next-swc-loader","id":3414,"timestamp":1672550654973,"duration":47790,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"build-module-tsx","id":3413,"timestamp":1672550654895,"duration":49127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3408,"timestamp":1672550649902,"duration":55042,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3410,"timestamp":1672550649908,"duration":63084,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3406,"timestamp":1672550649896,"duration":112717,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3407,"timestamp":1672550649899,"duration":320362,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"make","id":3403,"timestamp":1672550648411,"duration":321936,"tags":{},"startTime":1664595594525},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-chunk-graph","id":3420,"timestamp":1672550975069,"duration":16502,"tags":{},"startTime":1664595594852},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-modules","id":3422,"timestamp":1672550991596,"duration":2,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-chunks","id":3423,"timestamp":1672550991608,"duration":45,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-tree","id":3424,"timestamp":1672550991671,"duration":5,"tags":{},"startTime":1664595594869},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize","id":3421,"timestamp":1672550991588,"duration":1449,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-hash","id":3425,"timestamp":1672551004926,"duration":4265,"tags":{},"startTime":1664595594882},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"NextJsBuildManifest-generateClientManifest","id":3427,"timestamp":1672551010291,"duration":183,"tags":{},"startTime":1664595594887},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"NextJsBuildManifest-createassets","id":3426,"timestamp":1672551010200,"duration":278,"tags":{},"startTime":1664595594887},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-seal","id":3419,"timestamp":1672550971660,"duration":39664,"tags":{},"startTime":1664595594849},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"webpack-compilation","id":3402,"timestamp":1672550648238,"duration":363108,"tags":{"name":"client"},"startTime":1664595594525},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"emit","id":3428,"timestamp":1672551011385,"duration":2341,"tags":{},"startTime":1664595594888},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3385,"timestamp":1672550612882,"duration":401532,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594490}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3429,"timestamp":1672551026369,"duration":0,"tags":{},"startTime":1664595594903},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3430,"timestamp":1672551027622,"duration":0,"tags":{},"startTime":1664595594904},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3437,"timestamp":1672555239863,"duration":7720,"tags":{"request":"private-next-pages/_error"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3436,"timestamp":1672555239858,"duration":7737,"tags":{"request":"private-next-pages/_document"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3439,"name":"next-swc-transform","id":3440,"timestamp":1672555247294,"duration":892,"tags":{},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3438,"name":"next-swc-loader","id":3439,"timestamp":1672555247182,"duration":1012,"tags":{},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"build-module-tsx","id":3438,"timestamp":1672555246976,"duration":2990,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3435,"timestamp":1672555239817,"duration":11422,"tags":{"request":"private-next-pages/_app"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"make","id":3434,"timestamp":1672555239711,"duration":11540,"tags":{},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-chunk-graph","id":3442,"timestamp":1672555251628,"duration":221,"tags":{},"startTime":1664595599128},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-modules","id":3444,"timestamp":1672555251858,"duration":20,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-chunks","id":3445,"timestamp":1672555251887,"duration":21,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-tree","id":3446,"timestamp":1672555251918,"duration":3,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize","id":3443,"timestamp":1672555251854,"duration":164,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-hash","id":3447,"timestamp":1672555253153,"duration":601,"tags":{},"startTime":1664595599130},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-seal","id":3441,"timestamp":1672555251537,"duration":3157,"tags":{},"startTime":1664595599128},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"webpack-compilation","id":3433,"timestamp":1672555239492,"duration":15229,"tags":{"name":"server"},"startTime":1664595599116},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"emit","id":3448,"timestamp":1672555254738,"duration":1929,"tags":{},"startTime":1664595599132},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3431,"timestamp":1672555232325,"duration":24557,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599109},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3451,"timestamp":1672555262207,"duration":6439,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3452,"timestamp":1672555262246,"duration":7078,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"read-resource","id":3459,"timestamp":1672555269574,"duration":32,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3460,"name":"postcss-process","id":3461,"timestamp":1672555269636,"duration":32270,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"postcss-loader","id":3460,"timestamp":1672555269626,"duration":32434,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"css-loader","id":3462,"timestamp":1672555302089,"duration":8302,"tags":{"astUsed":"true"},"startTime":1664595599179},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"build-module-css","id":3458,"timestamp":1672555269432,"duration":42166,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3456,"timestamp":1672555262260,"duration":49806,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3455,"timestamp":1672555262256,"duration":49820,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3464,"name":"next-swc-transform","id":3465,"timestamp":1672555312528,"duration":1778,"tags":{},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3463,"name":"next-swc-loader","id":3464,"timestamp":1672555312498,"duration":1811,"tags":{},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"build-module-tsx","id":3463,"timestamp":1672555312404,"duration":3255,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3457,"timestamp":1672555262262,"duration":54849,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3453,"timestamp":1672555262250,"duration":55344,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3454,"timestamp":1672555262253,"duration":81736,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"make","id":3450,"timestamp":1672555260751,"duration":83258,"tags":{},"startTime":1664595599138},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-chunk-graph","id":3467,"timestamp":1672555348134,"duration":3586,"tags":{},"startTime":1664595599225},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-modules","id":3469,"timestamp":1672555351739,"duration":2,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-chunks","id":3470,"timestamp":1672555351751,"duration":29,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-tree","id":3471,"timestamp":1672555351794,"duration":5,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize","id":3468,"timestamp":1672555351733,"duration":922,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-hash","id":3472,"timestamp":1672555362106,"duration":3720,"tags":{},"startTime":1664595599239},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"NextJsBuildManifest-generateClientManifest","id":3474,"timestamp":1672555376401,"duration":56,"tags":{},"startTime":1664595599253},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"NextJsBuildManifest-createassets","id":3473,"timestamp":1672555376346,"duration":118,"tags":{},"startTime":1664595599253},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-seal","id":3466,"timestamp":1672555344958,"duration":33560,"tags":{},"startTime":1664595599222},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"webpack-compilation","id":3449,"timestamp":1672555260562,"duration":117988,"tags":{"name":"client"},"startTime":1664595599137},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"emit","id":3475,"timestamp":1672555378568,"duration":86624,"tags":{},"startTime":1664595599255},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3432,"timestamp":1672555232499,"duration":233251,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599109}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3476,"timestamp":1672555475660,"duration":0,"tags":{},"startTime":1664595599353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3477,"timestamp":1672555475835,"duration":0,"tags":{},"startTime":1664595599353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3478,"timestamp":1664595599110000,"duration":248999,"tags":{"clientId":1664595509559},"startTime":1664595599359},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3479,"timestamp":1664595599110000,"duration":272000,"tags":{"clientId":1664595301700},"startTime":1664595599382},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3486,"timestamp":1672560707984,"duration":11679,"tags":{"request":"private-next-pages/_error"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3485,"timestamp":1672560707979,"duration":11701,"tags":{"request":"private-next-pages/_document"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3488,"name":"next-swc-transform","id":3489,"timestamp":1672560719238,"duration":1307,"tags":{},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3487,"name":"next-swc-loader","id":3488,"timestamp":1672560719151,"duration":1397,"tags":{},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"build-module-tsx","id":3487,"timestamp":1672560718947,"duration":6210,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3484,"timestamp":1672560707880,"duration":21458,"tags":{"request":"private-next-pages/_app"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"make","id":3483,"timestamp":1672560707693,"duration":21667,"tags":{},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-chunk-graph","id":3491,"timestamp":1672560729852,"duration":256,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-modules","id":3493,"timestamp":1672560730134,"duration":9,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-chunks","id":3494,"timestamp":1672560730171,"duration":31,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-tree","id":3495,"timestamp":1672560730225,"duration":13,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize","id":3492,"timestamp":1672560730122,"duration":212,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-hash","id":3496,"timestamp":1672560731401,"duration":1676,"tags":{},"startTime":1664595604608},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-seal","id":3490,"timestamp":1672560729749,"duration":3723,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"webpack-compilation","id":3482,"timestamp":1672560707454,"duration":26039,"tags":{"name":"server"},"startTime":1664595604584},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"emit","id":3497,"timestamp":1672560733503,"duration":844,"tags":{},"startTime":1664595604610},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3480,"timestamp":1672560700371,"duration":34344,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604577},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3500,"timestamp":1672560740315,"duration":3305,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3501,"timestamp":1672560740341,"duration":3803,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"read-resource","id":3508,"timestamp":1672560744369,"duration":88,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3510,"name":"postcss-process","id":3511,"timestamp":1672560744478,"duration":35207,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"postcss-loader","id":3510,"timestamp":1672560744469,"duration":35656,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"css-loader","id":3514,"timestamp":1672560780157,"duration":11722,"tags":{"astUsed":"true"},"startTime":1664595604657},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"build-module-css","id":3507,"timestamp":1672560744237,"duration":53713,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3512,"name":"next-swc-transform","id":3513,"timestamp":1672560744774,"duration":53391,"tags":{},"startTime":1664595604622},{"traceId":"43f2de6d909a73f7","parentId":3509,"name":"next-swc-loader","id":3512,"timestamp":1672560744725,"duration":53443,"tags":{},"startTime":1664595604622},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"build-module-tsx","id":3509,"timestamp":1672560744388,"duration":58104,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3505,"timestamp":1672560740355,"duration":62496,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3504,"timestamp":1672560740352,"duration":62516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3506,"timestamp":1672560740357,"duration":67694,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3502,"timestamp":1672560740345,"duration":67888,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3503,"timestamp":1672560740347,"duration":96857,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"make","id":3499,"timestamp":1672560738199,"duration":99030,"tags":{},"startTime":1664595604615},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-chunk-graph","id":3516,"timestamp":1672560841644,"duration":15887,"tags":{},"startTime":1664595604718},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-modules","id":3518,"timestamp":1672560857553,"duration":2,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-chunks","id":3519,"timestamp":1672560857621,"duration":45,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-tree","id":3520,"timestamp":1672560857700,"duration":15,"tags":{},"startTime":1664595604735},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize","id":3517,"timestamp":1672560857546,"duration":1604,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-hash","id":3521,"timestamp":1672560870442,"duration":6026,"tags":{},"startTime":1664595604747},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"NextJsBuildManifest-generateClientManifest","id":3523,"timestamp":1672560877602,"duration":85,"tags":{},"startTime":1664595604754},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"NextJsBuildManifest-createassets","id":3522,"timestamp":1672560877536,"duration":156,"tags":{},"startTime":1664595604754},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-seal","id":3515,"timestamp":1672560838423,"duration":40404,"tags":{},"startTime":1664595604715},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"webpack-compilation","id":3498,"timestamp":1672560738023,"duration":140828,"tags":{"name":"client"},"startTime":1664595604615},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"emit","id":3524,"timestamp":1672560878868,"duration":4304,"tags":{},"startTime":1664595604756},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3481,"timestamp":1672560700598,"duration":183191,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604577}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3526,"timestamp":1672560898071,"duration":0,"tags":{},"startTime":1664595604775},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3527,"timestamp":1672560898118,"duration":0,"tags":{},"startTime":1664595604775},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3530,"timestamp":1672560912372,"duration":6431,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3531,"timestamp":1672560912414,"duration":8058,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"read-resource","id":3538,"timestamp":1672560921174,"duration":54,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3539,"name":"postcss-process","id":3540,"timestamp":1672560921267,"duration":44775,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"postcss-loader","id":3539,"timestamp":1672560921255,"duration":45021,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"css-loader","id":3541,"timestamp":1672560966314,"duration":9940,"tags":{"astUsed":"true"},"startTime":1664595604843},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"build-module-css","id":3537,"timestamp":1672560920668,"duration":56725,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3535,"timestamp":1672560912429,"duration":73450,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3534,"timestamp":1672560912426,"duration":73476,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3536,"timestamp":1672560912432,"duration":77588,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3532,"timestamp":1672560912419,"duration":77883,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3533,"timestamp":1672560912423,"duration":109987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"make","id":3529,"timestamp":1672560911269,"duration":111182,"tags":{},"startTime":1664595604788},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-chunk-graph","id":3543,"timestamp":1672561026858,"duration":17067,"tags":{},"startTime":1664595604904},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-modules","id":3545,"timestamp":1672561043949,"duration":3,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-chunks","id":3546,"timestamp":1672561043960,"duration":77,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-tree","id":3547,"timestamp":1672561044059,"duration":5,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize","id":3544,"timestamp":1672561043941,"duration":1447,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-hash","id":3548,"timestamp":1672561056229,"duration":3880,"tags":{},"startTime":1664595604933},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"NextJsBuildManifest-generateClientManifest","id":3550,"timestamp":1672561061067,"duration":68,"tags":{},"startTime":1664595604938},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"NextJsBuildManifest-createassets","id":3549,"timestamp":1672561061001,"duration":137,"tags":{},"startTime":1664595604938},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-seal","id":3542,"timestamp":1672561023665,"duration":38504,"tags":{},"startTime":1664595604901},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"webpack-compilation","id":3528,"timestamp":1672560910942,"duration":151252,"tags":{"name":"client"},"startTime":1664595604788},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"emit","id":3551,"timestamp":1672561062213,"duration":7502,"tags":{},"startTime":1664595604939},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3525,"timestamp":1672560896556,"duration":174013,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595604773}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3552,"timestamp":1672561080893,"duration":0,"tags":{},"startTime":1664595604958},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3553,"timestamp":1672561080945,"duration":0,"tags":{},"startTime":1664595604958},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3558,"timestamp":1672667124889,"duration":8441,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3563,"timestamp":1672667124959,"duration":9801,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"read-resource","id":3566,"timestamp":1672667134571,"duration":729,"tags":{},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3570,"name":"postcss-process","id":3571,"timestamp":1672667135332,"duration":31452,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"postcss-loader","id":3570,"timestamp":1672667135323,"duration":31670,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"css-loader","id":3572,"timestamp":1672667167024,"duration":15041,"tags":{"astUsed":"true"},"startTime":1664595711044},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"build-module-css","id":3565,"timestamp":1672667134401,"duration":49187,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3568,"name":"next-swc-transform","id":3569,"timestamp":1672667134942,"duration":49999,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3567,"name":"next-swc-loader","id":3568,"timestamp":1672667134858,"duration":50087,"tags":{},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"build-module-tsx","id":3567,"timestamp":1672667134781,"duration":51649,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3559,"timestamp":1672667124947,"duration":63130,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3562,"timestamp":1672667124956,"duration":63343,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3564,"timestamp":1672667124961,"duration":71998,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3560,"timestamp":1672667124951,"duration":78100,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3561,"timestamp":1672667124954,"duration":112609,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"make","id":3557,"timestamp":1672667123862,"duration":113726,"tags":{},"startTime":1664595711000},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-chunk-graph","id":3574,"timestamp":1672667242417,"duration":17978,"tags":{},"startTime":1664595711119},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-modules","id":3576,"timestamp":1672667260416,"duration":2,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-chunks","id":3577,"timestamp":1672667260428,"duration":40,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-tree","id":3578,"timestamp":1672667260493,"duration":3,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize","id":3575,"timestamp":1672667260409,"duration":1392,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-hash","id":3579,"timestamp":1672667271958,"duration":6510,"tags":{},"startTime":1664595711149},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"NextJsBuildManifest-generateClientManifest","id":3581,"timestamp":1672667286362,"duration":82,"tags":{},"startTime":1664595711163},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"NextJsBuildManifest-createassets","id":3580,"timestamp":1672667286309,"duration":142,"tags":{},"startTime":1664595711163},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-seal","id":3573,"timestamp":1672667238809,"duration":49412,"tags":{},"startTime":1664595711115},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"webpack-compilation","id":3556,"timestamp":1672667123427,"duration":164823,"tags":{"name":"client"},"startTime":1664595711000},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"emit","id":3582,"timestamp":1672667288264,"duration":98548,"tags":{},"startTime":1664595711165},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3554,"timestamp":1672667110264,"duration":277463,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595710987},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3588,"timestamp":1672667402424,"duration":0,"tags":{},"startTime":1664595711279},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3589,"timestamp":1672667402648,"duration":0,"tags":{},"startTime":1664595711279},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3587,"timestamp":1672667401757,"duration":8447,"tags":{"request":"private-next-pages/_error"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3586,"timestamp":1672667401753,"duration":8469,"tags":{"request":"private-next-pages/_document"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3591,"name":"next-swc-transform","id":3592,"timestamp":1672667409461,"duration":792,"tags":{},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3590,"name":"next-swc-loader","id":3591,"timestamp":1672667409383,"duration":872,"tags":{},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"build-module-tsx","id":3590,"timestamp":1672667409210,"duration":2537,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3585,"timestamp":1672667401649,"duration":10385,"tags":{"request":"private-next-pages/_app"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"make","id":3584,"timestamp":1672667389061,"duration":22985,"tags":{},"startTime":1664595711266},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-chunk-graph","id":3594,"timestamp":1672667412573,"duration":284,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-modules","id":3596,"timestamp":1672667412868,"duration":2,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-chunks","id":3597,"timestamp":1672667412881,"duration":28,"tags":{},"startTime":1664595711290},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-tree","id":3598,"timestamp":1672667412922,"duration":5,"tags":{},"startTime":1664595711290},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize","id":3595,"timestamp":1672667412865,"duration":131,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-hash","id":3599,"timestamp":1672667414147,"duration":694,"tags":{},"startTime":1664595711291},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-seal","id":3593,"timestamp":1672667412485,"duration":3107,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"webpack-compilation","id":3583,"timestamp":1672667388811,"duration":26801,"tags":{"name":"server"},"startTime":1664595711265},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"emit","id":3600,"timestamp":1672667415625,"duration":3750,"tags":{},"startTime":1664595711292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3555,"timestamp":1672667110598,"duration":309523,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595710987}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3601,"timestamp":1664595710988000,"duration":311000,"tags":{"clientId":1664595509559},"startTime":1664595711299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3602,"timestamp":1664595710992000,"duration":347000,"tags":{"clientId":1664595301700},"startTime":1664595711340},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3607,"timestamp":1672703397171,"duration":3548,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3608,"timestamp":1672703397254,"duration":4090,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"read-resource","id":3615,"timestamp":1672703401579,"duration":92,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3617,"name":"postcss-process","id":3618,"timestamp":1672703401697,"duration":38668,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"postcss-loader","id":3617,"timestamp":1672703401688,"duration":38864,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"css-loader","id":3621,"timestamp":1672703440582,"duration":11194,"tags":{"astUsed":"true"},"startTime":1664595747317},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"build-module-css","id":3614,"timestamp":1672703401438,"duration":52151,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3619,"name":"next-swc-transform","id":3620,"timestamp":1672703402012,"duration":51764,"tags":{},"startTime":1664595747279},{"traceId":"43f2de6d909a73f7","parentId":3616,"name":"next-swc-loader","id":3619,"timestamp":1672703401976,"duration":51802,"tags":{},"startTime":1664595747279},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"build-module-tsx","id":3616,"timestamp":1672703401600,"duration":55328,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3612,"timestamp":1672703397267,"duration":60004,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3611,"timestamp":1672703397264,"duration":60020,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3613,"timestamp":1672703397269,"duration":64561,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3609,"timestamp":1672703397258,"duration":73390,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3610,"timestamp":1672703397261,"duration":94733,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"make","id":3606,"timestamp":1672703393872,"duration":98148,"tags":{},"startTime":1664595747270},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-chunk-graph","id":3623,"timestamp":1672703496362,"duration":18065,"tags":{},"startTime":1664595747373},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-modules","id":3625,"timestamp":1672703514447,"duration":2,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-chunks","id":3626,"timestamp":1672703514458,"duration":29,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-tree","id":3627,"timestamp":1672703514501,"duration":2,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize","id":3624,"timestamp":1672703514440,"duration":1505,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-hash","id":3628,"timestamp":1672703525749,"duration":5849,"tags":{},"startTime":1664595747402},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"NextJsBuildManifest-generateClientManifest","id":3630,"timestamp":1672703540620,"duration":80,"tags":{},"startTime":1664595747417},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"NextJsBuildManifest-createassets","id":3629,"timestamp":1672703540542,"duration":166,"tags":{},"startTime":1664595747417},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-seal","id":3622,"timestamp":1672703493050,"duration":49687,"tags":{},"startTime":1664595747370},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"webpack-compilation","id":3605,"timestamp":1672703393669,"duration":149102,"tags":{"name":"client"},"startTime":1664595747270},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"emit","id":3631,"timestamp":1672703542787,"duration":100204,"tags":{},"startTime":1664595747419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3603,"timestamp":1672703381419,"duration":262453,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747258},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3638,"timestamp":1672703658149,"duration":0,"tags":{},"startTime":1664595747535},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3639,"timestamp":1672703658320,"duration":0,"tags":{},"startTime":1664595747535},{"traceId":"43f2de6d909a73f7","parentId":3641,"name":"next-swc-transform","id":3642,"timestamp":1672703662341,"duration":3429,"tags":{},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3640,"name":"next-swc-loader","id":3641,"timestamp":1672703662253,"duration":3523,"tags":{},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"build-module-tsx","id":3640,"timestamp":1672703662113,"duration":6656,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3637,"timestamp":1672703657543,"duration":13117,"tags":{"request":"private-next-pages/_error"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3636,"timestamp":1672703657539,"duration":13134,"tags":{"request":"private-next-pages/_document"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3643,"timestamp":1664595747534000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664595747553},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3635,"timestamp":1672703657483,"duration":20298,"tags":{"request":"private-next-pages/_app"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"make","id":3633,"timestamp":1672703645940,"duration":31869,"tags":{},"startTime":1664595747522},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-chunk-graph","id":3645,"timestamp":1672703678259,"duration":303,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-modules","id":3647,"timestamp":1672703678569,"duration":2,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-chunks","id":3648,"timestamp":1672703678579,"duration":25,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-tree","id":3649,"timestamp":1672703678612,"duration":4,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize","id":3646,"timestamp":1672703678566,"duration":116,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-hash","id":3650,"timestamp":1672703680027,"duration":446,"tags":{},"startTime":1664595747557},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-seal","id":3644,"timestamp":1672703678169,"duration":3461,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"webpack-compilation","id":3632,"timestamp":1672703645607,"duration":36044,"tags":{"name":"server"},"startTime":1664595747522},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"emit","id":3651,"timestamp":1672703681662,"duration":5245,"tags":{},"startTime":1664595747558},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3604,"timestamp":1672703381660,"duration":305668,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747258},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3654,"timestamp":1664595747534000,"duration":28999,"tags":{"clientId":1664595301700},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3655,"timestamp":1672703692614,"duration":4211,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3656,"timestamp":1672703692654,"duration":4870,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"read-resource","id":3663,"timestamp":1672703697779,"duration":43,"tags":{},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3664,"name":"postcss-process","id":3665,"timestamp":1672703697962,"duration":34736,"tags":{},"startTime":1664595747575},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"postcss-loader","id":3664,"timestamp":1672703697951,"duration":34984,"tags":{},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"css-loader","id":3666,"timestamp":1672703732969,"duration":8751,"tags":{"astUsed":"true"},"startTime":1664595747610},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"build-module-css","id":3662,"timestamp":1672703697634,"duration":45167,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3660,"timestamp":1672703692666,"duration":52766,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3659,"timestamp":1672703692663,"duration":52807,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3661,"timestamp":1672703692668,"duration":56573,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3657,"timestamp":1672703692658,"duration":56892,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3658,"timestamp":1672703692660,"duration":90828,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"make","id":3653,"timestamp":1672703691228,"duration":92283,"tags":{},"startTime":1664595747568},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-chunk-graph","id":3668,"timestamp":1672703788728,"duration":17043,"tags":{},"startTime":1664595747665},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-modules","id":3670,"timestamp":1672703805799,"duration":2,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-chunks","id":3671,"timestamp":1672703805811,"duration":34,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-tree","id":3672,"timestamp":1672703805865,"duration":3,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize","id":3669,"timestamp":1672703805789,"duration":1474,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-hash","id":3673,"timestamp":1672703817383,"duration":4675,"tags":{},"startTime":1664595747694},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"NextJsBuildManifest-generateClientManifest","id":3675,"timestamp":1672703822947,"duration":64,"tags":{},"startTime":1664595747699},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"NextJsBuildManifest-createassets","id":3674,"timestamp":1672703822887,"duration":127,"tags":{},"startTime":1664595747699},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-seal","id":3667,"timestamp":1672703784583,"duration":39285,"tags":{},"startTime":1664595747661},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"webpack-compilation","id":3652,"timestamp":1672703691053,"duration":132836,"tags":{"name":"client"},"startTime":1664595747568},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"emit","id":3676,"timestamp":1672703823901,"duration":4435,"tags":{},"startTime":1664595747700},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3634,"timestamp":1672703657244,"duration":171938,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595747534}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3677,"timestamp":1672703839488,"duration":0,"tags":{},"startTime":1664595747716},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3678,"timestamp":1672703839538,"duration":0,"tags":{},"startTime":1664595747716},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3685,"timestamp":1672711305055,"duration":5791,"tags":{"request":"private-next-pages/_error"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3684,"timestamp":1672711305051,"duration":5807,"tags":{"request":"private-next-pages/_document"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3687,"name":"next-swc-transform","id":3688,"timestamp":1672711310548,"duration":1730,"tags":{},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3686,"name":"next-swc-loader","id":3687,"timestamp":1672711310510,"duration":1775,"tags":{},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"build-module-tsx","id":3686,"timestamp":1672711310420,"duration":3921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3683,"timestamp":1672711305012,"duration":15750,"tags":{"request":"private-next-pages/_app"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"make","id":3682,"timestamp":1672711304937,"duration":15843,"tags":{},"startTime":1664595755181},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-chunk-graph","id":3690,"timestamp":1672711321106,"duration":321,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-modules","id":3692,"timestamp":1672711321439,"duration":2,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-chunks","id":3693,"timestamp":1672711321449,"duration":17,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-tree","id":3694,"timestamp":1672711321482,"duration":3,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize","id":3691,"timestamp":1672711321435,"duration":98,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-hash","id":3695,"timestamp":1672711322654,"duration":449,"tags":{},"startTime":1664595755199},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-seal","id":3689,"timestamp":1672711321042,"duration":3177,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"webpack-compilation","id":3681,"timestamp":1672711304777,"duration":19460,"tags":{"name":"server"},"startTime":1664595755181},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"emit","id":3696,"timestamp":1672711324248,"duration":2917,"tags":{},"startTime":1664595755201},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3679,"timestamp":1672711298240,"duration":29181,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755175},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3699,"timestamp":1672711332683,"duration":3480,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3700,"timestamp":1672711332719,"duration":3968,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"read-resource","id":3707,"timestamp":1672711336870,"duration":82,"tags":{},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3709,"name":"postcss-process","id":3710,"timestamp":1672711336985,"duration":32157,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"postcss-loader","id":3709,"timestamp":1672711336977,"duration":32399,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"css-loader","id":3713,"timestamp":1672711369403,"duration":8229,"tags":{"astUsed":"true"},"startTime":1664595755246},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"build-module-css","id":3706,"timestamp":1672711336773,"duration":41679,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3711,"name":"next-swc-transform","id":3712,"timestamp":1672711337222,"duration":41382,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3708,"name":"next-swc-loader","id":3711,"timestamp":1672711337187,"duration":41418,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"build-module-tsx","id":3708,"timestamp":1672711336886,"duration":45705,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3704,"timestamp":1672711332734,"duration":50151,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3703,"timestamp":1672711332732,"duration":50164,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3705,"timestamp":1672711332736,"duration":53243,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3701,"timestamp":1672711332726,"duration":59318,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3702,"timestamp":1672711332729,"duration":81838,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"make","id":3698,"timestamp":1672711331453,"duration":83153,"tags":{},"startTime":1664595755208},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-chunk-graph","id":3715,"timestamp":1672711419047,"duration":4059,"tags":{},"startTime":1664595755296},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-modules","id":3717,"timestamp":1672711423130,"duration":2,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-chunks","id":3718,"timestamp":1672711423141,"duration":34,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-tree","id":3719,"timestamp":1672711423195,"duration":3,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize","id":3716,"timestamp":1672711423121,"duration":957,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-hash","id":3720,"timestamp":1672711434405,"duration":4116,"tags":{},"startTime":1664595755311},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"NextJsBuildManifest-generateClientManifest","id":3722,"timestamp":1672711451475,"duration":61,"tags":{},"startTime":1664595755328},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"NextJsBuildManifest-createassets","id":3721,"timestamp":1672711451418,"duration":128,"tags":{},"startTime":1664595755328},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-seal","id":3714,"timestamp":1672711415634,"duration":38227,"tags":{},"startTime":1664595755292},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"webpack-compilation","id":3697,"timestamp":1672711331284,"duration":122620,"tags":{"name":"client"},"startTime":1664595755208},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"emit","id":3723,"timestamp":1672711453926,"duration":125364,"tags":{},"startTime":1664595755330},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3680,"timestamp":1672711298373,"duration":282167,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755175}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3725,"timestamp":1672711596433,"duration":0,"tags":{},"startTime":1664595755473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3726,"timestamp":1672711596482,"duration":0,"tags":{},"startTime":1664595755473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3736,"timestamp":1664595755472999,"duration":22000,"tags":{"clientId":1664595301700},"startTime":1664595755497},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3737,"timestamp":1664595755472000,"duration":25999,"tags":{"clientId":1664595509559},"startTime":1664595755499},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3729,"timestamp":1672711615164,"duration":9159,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3730,"timestamp":1672711615243,"duration":10611,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"read-resource","id":3739,"timestamp":1672711626852,"duration":62,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3740,"name":"postcss-process","id":3741,"timestamp":1672711626957,"duration":35667,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"postcss-loader","id":3740,"timestamp":1672711626941,"duration":36085,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"css-loader","id":3742,"timestamp":1672711663065,"duration":15391,"tags":{"astUsed":"true"},"startTime":1664595755540},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"build-module-css","id":3738,"timestamp":1672711626350,"duration":53609,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3734,"timestamp":1672711615257,"duration":65224,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3733,"timestamp":1672711615254,"duration":65245,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3735,"timestamp":1672711615259,"duration":69256,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3731,"timestamp":1672711615248,"duration":69612,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3732,"timestamp":1672711615251,"duration":100995,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"make","id":3728,"timestamp":1672711611811,"duration":104463,"tags":{},"startTime":1664595755488},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-chunk-graph","id":3744,"timestamp":1672711721001,"duration":17203,"tags":{},"startTime":1664595755598},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-modules","id":3746,"timestamp":1672711738234,"duration":3,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-chunks","id":3747,"timestamp":1672711738246,"duration":84,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-tree","id":3748,"timestamp":1672711738355,"duration":4,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize","id":3745,"timestamp":1672711738223,"duration":1550,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-hash","id":3749,"timestamp":1672711750349,"duration":4599,"tags":{},"startTime":1664595755627},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"NextJsBuildManifest-generateClientManifest","id":3751,"timestamp":1672711755852,"duration":69,"tags":{},"startTime":1664595755632},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"NextJsBuildManifest-createassets","id":3750,"timestamp":1672711755791,"duration":132,"tags":{},"startTime":1664595755632},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-seal","id":3743,"timestamp":1672711717351,"duration":39518,"tags":{},"startTime":1664595755594},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"webpack-compilation","id":3727,"timestamp":1672711611512,"duration":145401,"tags":{"name":"client"},"startTime":1664595755488},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"emit","id":3752,"timestamp":1672711756941,"duration":5084,"tags":{},"startTime":1664595755633},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3724,"timestamp":1672711595398,"duration":167209,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595755472}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3753,"timestamp":1672711772973,"duration":0,"tags":{},"startTime":1664595755650},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3754,"timestamp":1672711773025,"duration":0,"tags":{},"startTime":1664595755650},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3761,"timestamp":1672714933577,"duration":5609,"tags":{"request":"private-next-pages/_error"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3760,"timestamp":1672714933574,"duration":5624,"tags":{"request":"private-next-pages/_document"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3763,"name":"next-swc-transform","id":3764,"timestamp":1672714938846,"duration":2667,"tags":{},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3762,"name":"next-swc-loader","id":3763,"timestamp":1672714938777,"duration":2759,"tags":{},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"build-module-tsx","id":3762,"timestamp":1672714938672,"duration":4818,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3759,"timestamp":1672714933543,"duration":12162,"tags":{"request":"private-next-pages/_app"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"make","id":3758,"timestamp":1672714933462,"duration":12259,"tags":{},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-chunk-graph","id":3766,"timestamp":1672714946037,"duration":178,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-modules","id":3768,"timestamp":1672714946222,"duration":1,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-chunks","id":3769,"timestamp":1672714946231,"duration":14,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-tree","id":3770,"timestamp":1672714946253,"duration":2,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize","id":3767,"timestamp":1672714946219,"duration":88,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-hash","id":3771,"timestamp":1672714947395,"duration":410,"tags":{},"startTime":1664595758824},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-seal","id":3765,"timestamp":1672714945973,"duration":2958,"tags":{},"startTime":1664595758822},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"webpack-compilation","id":3757,"timestamp":1672714933317,"duration":15633,"tags":{"name":"server"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"emit","id":3772,"timestamp":1672714948963,"duration":1790,"tags":{},"startTime":1664595758825},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3755,"timestamp":1672714926598,"duration":24399,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758803},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3775,"timestamp":1672714955985,"duration":2863,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3776,"timestamp":1672714956023,"duration":3281,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"read-resource","id":3783,"timestamp":1672714959466,"duration":73,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3785,"name":"postcss-process","id":3786,"timestamp":1672714959555,"duration":31085,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"postcss-loader","id":3785,"timestamp":1672714959548,"duration":31232,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"css-loader","id":3789,"timestamp":1672714990801,"duration":9391,"tags":{"astUsed":"true"},"startTime":1664595758867},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"build-module-css","id":3782,"timestamp":1672714959394,"duration":41765,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3787,"name":"next-swc-transform","id":3788,"timestamp":1672714959816,"duration":41488,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3784,"name":"next-swc-loader","id":3787,"timestamp":1672714959781,"duration":41524,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"build-module-tsx","id":3784,"timestamp":1672714959482,"duration":43767,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3780,"timestamp":1672714956033,"duration":48431,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3779,"timestamp":1672714956031,"duration":48452,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3781,"timestamp":1672714956035,"duration":56662,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3777,"timestamp":1672714956026,"duration":78911,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3778,"timestamp":1672714956028,"duration":124684,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"make","id":3774,"timestamp":1672714954779,"duration":125999,"tags":{},"startTime":1664595758831},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-chunk-graph","id":3791,"timestamp":1672715085869,"duration":18867,"tags":{},"startTime":1664595758962},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-modules","id":3793,"timestamp":1672715104766,"duration":3,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-chunks","id":3794,"timestamp":1672715104780,"duration":139,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-tree","id":3795,"timestamp":1672715104941,"duration":6,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize","id":3792,"timestamp":1672715104757,"duration":1766,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-hash","id":3796,"timestamp":1672715122230,"duration":5298,"tags":{},"startTime":1664595758999},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"NextJsBuildManifest-generateClientManifest","id":3798,"timestamp":1672715144535,"duration":119,"tags":{},"startTime":1664595759021},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"NextJsBuildManifest-createassets","id":3797,"timestamp":1672715144346,"duration":321,"tags":{},"startTime":1664595759021},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-seal","id":3790,"timestamp":1672715082238,"duration":64987,"tags":{},"startTime":1664595758959},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"webpack-compilation","id":3773,"timestamp":1672714954607,"duration":192649,"tags":{"name":"client"},"startTime":1664595758831},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"emit","id":3799,"timestamp":1672715147282,"duration":91594,"tags":{},"startTime":1664595759024},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3756,"timestamp":1672714926720,"duration":312905,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758803}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3801,"timestamp":1672715250575,"duration":0,"tags":{},"startTime":1664595759127},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3802,"timestamp":1672715251042,"duration":0,"tags":{},"startTime":1664595759128},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3805,"timestamp":1672715261920,"duration":4189,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3806,"timestamp":1672715261957,"duration":4909,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"read-resource","id":3813,"timestamp":1672715267044,"duration":27,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3814,"name":"postcss-process","id":3815,"timestamp":1672715267090,"duration":29704,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"postcss-loader","id":3814,"timestamp":1672715267083,"duration":29941,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"css-loader","id":3816,"timestamp":1672715297049,"duration":10835,"tags":{"astUsed":"true"},"startTime":1664595759174},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"build-module-css","id":3812,"timestamp":1672715266941,"duration":42230,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595759143},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3810,"timestamp":1672715261969,"duration":47935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3809,"timestamp":1672715261966,"duration":47955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3811,"timestamp":1672715261971,"duration":51973,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3807,"timestamp":1672715261960,"duration":52311,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3817,"timestamp":1664595759127000,"duration":63000,"tags":{"clientId":1664595509559},"startTime":1664595759191},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3818,"timestamp":1664595759127000,"duration":80000,"tags":{"clientId":1664595301700},"startTime":1664595759213},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3808,"timestamp":1672715261963,"duration":79675,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"make","id":3804,"timestamp":1672715260570,"duration":81088,"tags":{},"startTime":1664595759137},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-chunk-graph","id":3820,"timestamp":1672715346510,"duration":3899,"tags":{},"startTime":1664595759223},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-modules","id":3822,"timestamp":1672715350431,"duration":2,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-chunks","id":3823,"timestamp":1672715350442,"duration":34,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-tree","id":3824,"timestamp":1672715350497,"duration":3,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize","id":3821,"timestamp":1672715350424,"duration":1066,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-hash","id":3825,"timestamp":1672715361946,"duration":4781,"tags":{},"startTime":1664595759238},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"NextJsBuildManifest-generateClientManifest","id":3827,"timestamp":1672715367559,"duration":62,"tags":{},"startTime":1664595759244},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"NextJsBuildManifest-createassets","id":3826,"timestamp":1672715367511,"duration":114,"tags":{},"startTime":1664595759244},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-seal","id":3819,"timestamp":1672715342873,"duration":25729,"tags":{},"startTime":1664595759219},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"webpack-compilation","id":3803,"timestamp":1672715260387,"duration":108268,"tags":{"name":"client"},"startTime":1664595759137},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"emit","id":3828,"timestamp":1672715368691,"duration":16842,"tags":{},"startTime":1664595759245},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3800,"timestamp":1672715249802,"duration":136279,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595759126}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3829,"timestamp":1672715397060,"duration":0,"tags":{},"startTime":1664595759274},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3830,"timestamp":1672715397100,"duration":0,"tags":{},"startTime":1664595759274},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3837,"timestamp":1672717914611,"duration":6769,"tags":{"request":"private-next-pages/_error"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3836,"timestamp":1672717914607,"duration":6787,"tags":{"request":"private-next-pages/_document"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3839,"name":"next-swc-transform","id":3840,"timestamp":1672717920889,"duration":1566,"tags":{},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3838,"name":"next-swc-loader","id":3839,"timestamp":1672717920798,"duration":1660,"tags":{},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"build-module-tsx","id":3838,"timestamp":1672717920662,"duration":3813,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3835,"timestamp":1672717914575,"duration":11962,"tags":{"request":"private-next-pages/_app"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"make","id":3834,"timestamp":1672717914480,"duration":12072,"tags":{},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-chunk-graph","id":3842,"timestamp":1672717926841,"duration":190,"tags":{},"startTime":1664595761803},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-modules","id":3844,"timestamp":1672717927038,"duration":2,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-chunks","id":3845,"timestamp":1672717927047,"duration":88,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-tree","id":3846,"timestamp":1672717927169,"duration":4,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize","id":3843,"timestamp":1672717927035,"duration":216,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-hash","id":3847,"timestamp":1672717928385,"duration":388,"tags":{},"startTime":1664595761805},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-seal","id":3841,"timestamp":1672717926776,"duration":2999,"tags":{},"startTime":1664595761803},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"webpack-compilation","id":3833,"timestamp":1672717914315,"duration":15478,"tags":{"name":"server"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"emit","id":3848,"timestamp":1672717929804,"duration":11384,"tags":{},"startTime":1664595761806},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3831,"timestamp":1672717907477,"duration":33962,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761784},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3851,"timestamp":1672717946092,"duration":2905,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3852,"timestamp":1672717946124,"duration":3343,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"read-resource","id":3859,"timestamp":1672717949620,"duration":71,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3861,"name":"postcss-process","id":3862,"timestamp":1672717949707,"duration":29469,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"postcss-loader","id":3861,"timestamp":1672717949700,"duration":29627,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"css-loader","id":3865,"timestamp":1672717979350,"duration":8176,"tags":{"astUsed":"true"},"startTime":1664595761856},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"build-module-css","id":3858,"timestamp":1672717949547,"duration":38832,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3863,"name":"next-swc-transform","id":3864,"timestamp":1672717950029,"duration":38497,"tags":{},"startTime":1664595761827},{"traceId":"43f2de6d909a73f7","parentId":3860,"name":"next-swc-loader","id":3863,"timestamp":1672717949997,"duration":38530,"tags":{},"startTime":1664595761827},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"build-module-tsx","id":3860,"timestamp":1672717949635,"duration":40658,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3856,"timestamp":1672717946134,"duration":46750,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3855,"timestamp":1672717946131,"duration":46766,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3857,"timestamp":1672717946136,"duration":49814,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3853,"timestamp":1672717946127,"duration":56287,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3854,"timestamp":1672717946129,"duration":75844,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"make","id":3850,"timestamp":1672717945034,"duration":76957,"tags":{},"startTime":1664595761822},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-chunk-graph","id":3867,"timestamp":1672718026311,"duration":3507,"tags":{},"startTime":1664595761903},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-modules","id":3869,"timestamp":1672718029834,"duration":3,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-chunks","id":3870,"timestamp":1672718029845,"duration":32,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-tree","id":3871,"timestamp":1672718029892,"duration":2,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize","id":3868,"timestamp":1672718029829,"duration":926,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-hash","id":3872,"timestamp":1672718039352,"duration":3217,"tags":{},"startTime":1664595761916},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"NextJsBuildManifest-generateClientManifest","id":3874,"timestamp":1672718051918,"duration":50,"tags":{},"startTime":1664595761928},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"NextJsBuildManifest-createassets","id":3873,"timestamp":1672718051853,"duration":122,"tags":{},"startTime":1664595761928},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-seal","id":3866,"timestamp":1672718023178,"duration":30447,"tags":{},"startTime":1664595761900},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"webpack-compilation","id":3849,"timestamp":1672717944869,"duration":108779,"tags":{"name":"client"},"startTime":1664595761821},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"emit","id":3875,"timestamp":1672718053661,"duration":96608,"tags":{},"startTime":1664595761930},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3832,"timestamp":1672717907599,"duration":243717,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761784}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3879,"timestamp":1672718185952,"duration":0,"tags":{},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3880,"timestamp":1672718186026,"duration":0,"tags":{},"startTime":1664595762063},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3881,"timestamp":1672718190140,"duration":7052,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3882,"timestamp":1672718190214,"duration":8230,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"read-resource","id":3889,"timestamp":1672718198668,"duration":39,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3890,"name":"postcss-process","id":3891,"timestamp":1672718198737,"duration":29659,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"postcss-loader","id":3890,"timestamp":1672718198725,"duration":29952,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"css-loader","id":3892,"timestamp":1672718228703,"duration":11881,"tags":{"astUsed":"true"},"startTime":1664595762105},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"build-module-css","id":3888,"timestamp":1672718198537,"duration":43525,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3886,"timestamp":1672718190227,"duration":52783,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3885,"timestamp":1672718190224,"duration":52803,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3893,"timestamp":1664595762041999,"duration":80000,"tags":{"clientId":1664595509559},"startTime":1664595762123},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3887,"timestamp":1672718190229,"duration":57838,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3883,"timestamp":1672718190219,"duration":58163,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3894,"timestamp":1664595762041999,"duration":96000,"tags":{"clientId":1664595301700},"startTime":1664595762145},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3884,"timestamp":1672718190221,"duration":93528,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"make","id":3878,"timestamp":1672718185311,"duration":98478,"tags":{},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-chunk-graph","id":3896,"timestamp":1672718289179,"duration":17970,"tags":{},"startTime":1664595762166},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-modules","id":3898,"timestamp":1672718307174,"duration":3,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-chunks","id":3899,"timestamp":1672718307187,"duration":127,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-tree","id":3900,"timestamp":1672718307348,"duration":3,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize","id":3897,"timestamp":1672718307166,"duration":1614,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-hash","id":3901,"timestamp":1672718319445,"duration":5091,"tags":{},"startTime":1664595762196},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"NextJsBuildManifest-generateClientManifest","id":3903,"timestamp":1672718325465,"duration":62,"tags":{},"startTime":1664595762202},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"NextJsBuildManifest-createassets","id":3902,"timestamp":1672718325399,"duration":132,"tags":{},"startTime":1664595762202},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-seal","id":3895,"timestamp":1672718285164,"duration":41389,"tags":{},"startTime":1664595762162},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"webpack-compilation","id":3877,"timestamp":1672718185067,"duration":141519,"tags":{"name":"client"},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"emit","id":3904,"timestamp":1672718326606,"duration":2508,"tags":{},"startTime":1664595762203},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3876,"timestamp":1672718164879,"duration":164906,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595762041}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3905,"timestamp":1672718342128,"duration":0,"tags":{},"startTime":1664595762219},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3906,"timestamp":1672718342180,"duration":0,"tags":{},"startTime":1664595762219},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3913,"timestamp":1672948842330,"duration":23778,"tags":{"request":"private-next-pages/_error"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3912,"timestamp":1672948842325,"duration":23806,"tags":{"request":"private-next-pages/_document"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3915,"name":"next-swc-transform","id":3916,"timestamp":1672948862479,"duration":4084,"tags":{},"startTime":1664595992739},{"traceId":"43f2de6d909a73f7","parentId":3914,"name":"next-swc-loader","id":3915,"timestamp":1672948862279,"duration":4291,"tags":{},"startTime":1664595992738},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"build-module-tsx","id":3914,"timestamp":1672948862008,"duration":12183,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992738},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3911,"timestamp":1672948842174,"duration":49654,"tags":{"request":"private-next-pages/_app"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"make","id":3910,"timestamp":1672948841950,"duration":49900,"tags":{},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-chunk-graph","id":3918,"timestamp":1672948894489,"duration":489,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-modules","id":3920,"timestamp":1672948895020,"duration":11,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-chunks","id":3921,"timestamp":1672948895066,"duration":41,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-tree","id":3922,"timestamp":1672948895135,"duration":16,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize","id":3919,"timestamp":1672948895001,"duration":254,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-hash","id":3923,"timestamp":1672948898594,"duration":922,"tags":{},"startTime":1664595992775},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-seal","id":3917,"timestamp":1672948893570,"duration":9865,"tags":{},"startTime":1664595992770},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"webpack-compilation","id":3909,"timestamp":1672948841439,"duration":62040,"tags":{"name":"server"},"startTime":1664595992717},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"emit","id":3924,"timestamp":1672948903496,"duration":2447,"tags":{},"startTime":1664595992780},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3907,"timestamp":1672948830997,"duration":76561,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992707},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3927,"timestamp":1672948914098,"duration":6298,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3932,"timestamp":1672948914147,"duration":7326,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"read-resource","id":3935,"timestamp":1672948921214,"duration":922,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3939,"name":"postcss-process","id":3940,"timestamp":1672948922190,"duration":36496,"tags":{},"startTime":1664595992798},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"postcss-loader","id":3939,"timestamp":1672948922178,"duration":36880,"tags":{},"startTime":1664595992798},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"css-loader","id":3941,"timestamp":1672948959077,"duration":10835,"tags":{"astUsed":"true"},"startTime":1664595992835},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"build-module-css","id":3934,"timestamp":1672948921061,"duration":54900,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3928,"timestamp":1672948914133,"duration":62521,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3937,"name":"next-swc-transform","id":3938,"timestamp":1672948921329,"duration":55593,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3936,"name":"next-swc-loader","id":3937,"timestamp":1672948921294,"duration":55629,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"build-module-tsx","id":3936,"timestamp":1672948921237,"duration":59362,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3931,"timestamp":1672948914144,"duration":66596,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3933,"timestamp":1672948914148,"duration":72425,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3929,"timestamp":1672948914139,"duration":131297,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3930,"timestamp":1672948914141,"duration":215455,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"make","id":3926,"timestamp":1672948912220,"duration":217468,"tags":{},"startTime":1664595992788},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-chunk-graph","id":3943,"timestamp":1672949134742,"duration":18029,"tags":{},"startTime":1664595993011},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-modules","id":3945,"timestamp":1672949152793,"duration":3,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-chunks","id":3946,"timestamp":1672949152863,"duration":73,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-tree","id":3947,"timestamp":1672949152972,"duration":15,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize","id":3944,"timestamp":1672949152785,"duration":1550,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-hash","id":3948,"timestamp":1672949166767,"duration":6284,"tags":{},"startTime":1664595993043},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"NextJsBuildManifest-generateClientManifest","id":3950,"timestamp":1672949185695,"duration":159,"tags":{},"startTime":1664595993062},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"NextJsBuildManifest-createassets","id":3949,"timestamp":1672949185633,"duration":230,"tags":{},"startTime":1664595993062},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-seal","id":3942,"timestamp":1672949131069,"duration":56778,"tags":{},"startTime":1664595993007},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"webpack-compilation","id":3925,"timestamp":1672948911990,"duration":275889,"tags":{"name":"client"},"startTime":1664595992788},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"emit","id":3951,"timestamp":1672949187923,"duration":99127,"tags":{},"startTime":1664595993064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3908,"timestamp":1672948831525,"duration":456928,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992708}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3952,"timestamp":1672949299526,"duration":0,"tags":{},"startTime":1664595993176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3953,"timestamp":1672949299657,"duration":0,"tags":{},"startTime":1664595993176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3954,"timestamp":1664595992708999,"duration":476000,"tags":{"clientId":1664595509559},"startTime":1664595993186},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3955,"timestamp":1664595992710000,"duration":506999,"tags":{"clientId":1664595301700},"startTime":1664595993229},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3960,"timestamp":1672981178140,"duration":6757,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3961,"timestamp":1672981178193,"duration":9791,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"read-resource","id":3968,"timestamp":1672981188707,"duration":297,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3970,"name":"postcss-process","id":3971,"timestamp":1672981189044,"duration":69599,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"postcss-loader","id":3970,"timestamp":1672981189031,"duration":70069,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"css-loader","id":3974,"timestamp":1672981259124,"duration":22150,"tags":{"astUsed":"true"},"startTime":1664596025135},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"build-module-css","id":3967,"timestamp":1672981188220,"duration":94835,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596025064},{"traceId":"43f2de6d909a73f7","parentId":3972,"name":"next-swc-transform","id":3973,"timestamp":1672981189726,"duration":93605,"tags":{},"startTime":1664596025066},{"traceId":"43f2de6d909a73f7","parentId":3969,"name":"next-swc-loader","id":3972,"timestamp":1672981189634,"duration":93698,"tags":{},"startTime":1664596025066},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"build-module-tsx","id":3969,"timestamp":1672981188765,"duration":99637,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3965,"timestamp":1672981178206,"duration":110640,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3964,"timestamp":1672981178203,"duration":110690,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3966,"timestamp":1672981178208,"duration":117702,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3962,"timestamp":1672981178198,"duration":125895,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3963,"timestamp":1672981178200,"duration":150104,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"make","id":3959,"timestamp":1672981177165,"duration":151173,"tags":{},"startTime":1664596025053},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-chunk-graph","id":3976,"timestamp":1672981334812,"duration":16448,"tags":{},"startTime":1664596025211},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-modules","id":3978,"timestamp":1672981351283,"duration":4,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-chunks","id":3979,"timestamp":1672981351297,"duration":97,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-tree","id":3980,"timestamp":1672981351416,"duration":5,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize","id":3977,"timestamp":1672981351275,"duration":1554,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-hash","id":3981,"timestamp":1672981365463,"duration":6125,"tags":{},"startTime":1664596025241},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"NextJsBuildManifest-generateClientManifest","id":3983,"timestamp":1672981380674,"duration":68,"tags":{},"startTime":1664596025257},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"NextJsBuildManifest-createassets","id":3982,"timestamp":1672981380610,"duration":140,"tags":{},"startTime":1664596025257},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-seal","id":3975,"timestamp":1672981329658,"duration":53162,"tags":{},"startTime":1664596025206},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"webpack-compilation","id":3958,"timestamp":1672981176973,"duration":205877,"tags":{"name":"client"},"startTime":1664596025053},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"emit","id":3984,"timestamp":1672981382877,"duration":92024,"tags":{},"startTime":1664596025259},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3956,"timestamp":1672981162572,"duration":312963,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025039},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3991,"timestamp":1672981486437,"duration":0,"tags":{},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3992,"timestamp":1672981486577,"duration":0,"tags":{},"startTime":1664596025363},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3990,"timestamp":1672981485937,"duration":4250,"tags":{"request":"private-next-pages/_error"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3989,"timestamp":1672981485933,"duration":4261,"tags":{"request":"private-next-pages/_document"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3994,"name":"next-swc-transform","id":3995,"timestamp":1672981489532,"duration":5946,"tags":{},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3993,"name":"next-swc-loader","id":3994,"timestamp":1672981489494,"duration":5991,"tags":{},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"build-module-tsx","id":3993,"timestamp":1672981489373,"duration":8660,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3988,"timestamp":1672981485898,"duration":15157,"tags":{"request":"private-next-pages/_app"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"make","id":3986,"timestamp":1672981476507,"duration":24560,"tags":{},"startTime":1664596025352},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-chunk-graph","id":3997,"timestamp":1672981501343,"duration":196,"tags":{},"startTime":1664596025377},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-modules","id":3999,"timestamp":1672981501548,"duration":2,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-chunks","id":4000,"timestamp":1672981501558,"duration":15,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-tree","id":4001,"timestamp":1672981501581,"duration":2,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize","id":3998,"timestamp":1672981501544,"duration":97,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-hash","id":4002,"timestamp":1672981502629,"duration":371,"tags":{},"startTime":1664596025379},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-seal","id":3996,"timestamp":1672981501281,"duration":2669,"tags":{},"startTime":1664596025377},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"webpack-compilation","id":3985,"timestamp":1672981476356,"duration":27609,"tags":{"name":"server"},"startTime":1664596025352},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"emit","id":4003,"timestamp":1672981503974,"duration":2036,"tags":{},"startTime":1664596025380},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3957,"timestamp":1672981162757,"duration":343478,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025039},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4006,"timestamp":1664596025361999,"duration":20000,"tags":{"clientId":1664595509559},"startTime":1664596025387},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4007,"timestamp":1672981511675,"duration":3221,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4008,"timestamp":1672981511705,"duration":3760,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"read-resource","id":4015,"timestamp":1672981515644,"duration":33,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4016,"name":"postcss-process","id":4017,"timestamp":1672981515699,"duration":28948,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"postcss-loader","id":4016,"timestamp":1672981515691,"duration":29165,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"css-loader","id":4018,"timestamp":1672981544883,"duration":10990,"tags":{"astUsed":"true"},"startTime":1664596025421},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"build-module-css","id":4014,"timestamp":1672981515543,"duration":41342,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4019,"timestamp":1664596025364999,"duration":30000,"tags":{"clientId":1664595301700},"startTime":1664596025433},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4012,"timestamp":1672981511715,"duration":45687,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4011,"timestamp":1672981511712,"duration":45705,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4013,"timestamp":1672981511716,"duration":49104,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4009,"timestamp":1672981511708,"duration":49498,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4010,"timestamp":1672981511710,"duration":75834,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"make","id":4005,"timestamp":1672981509746,"duration":77820,"tags":{},"startTime":1664596025386},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-chunk-graph","id":4021,"timestamp":1672981591832,"duration":3775,"tags":{},"startTime":1664596025468},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-modules","id":4023,"timestamp":1672981595631,"duration":2,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-chunks","id":4024,"timestamp":1672981595643,"duration":34,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-tree","id":4025,"timestamp":1672981595697,"duration":3,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize","id":4022,"timestamp":1672981595623,"duration":1071,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-hash","id":4026,"timestamp":1672981607025,"duration":3793,"tags":{},"startTime":1664596025483},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"NextJsBuildManifest-generateClientManifest","id":4028,"timestamp":1672981611759,"duration":53,"tags":{},"startTime":1664596025488},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"NextJsBuildManifest-createassets","id":4027,"timestamp":1672981611704,"duration":111,"tags":{},"startTime":1664596025488},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-seal","id":4020,"timestamp":1672981588561,"duration":24453,"tags":{},"startTime":1664596025465},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"webpack-compilation","id":4004,"timestamp":1672981509574,"duration":103468,"tags":{"name":"client"},"startTime":1664596025386},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"emit","id":4029,"timestamp":1672981613056,"duration":5287,"tags":{},"startTime":1664596025489},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3987,"timestamp":1672981485678,"duration":133222,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596025362}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4030,"timestamp":1672981629381,"duration":0,"tags":{},"startTime":1664596025505},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4031,"timestamp":1672981629452,"duration":0,"tags":{},"startTime":1664596025505},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4036,"timestamp":1673066556545,"duration":9711,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4041,"timestamp":1673066556649,"duration":11180,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"read-resource","id":4044,"timestamp":1673066567413,"duration":1055,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4048,"name":"postcss-process","id":4049,"timestamp":1673066568565,"duration":36461,"tags":{},"startTime":1664596110444},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"postcss-loader","id":4048,"timestamp":1673066568544,"duration":38768,"tags":{},"startTime":1664596110444},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"css-loader","id":4050,"timestamp":1673066607346,"duration":15815,"tags":{"astUsed":"true"},"startTime":1664596110483},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"build-module-css","id":4043,"timestamp":1673066567213,"duration":67417,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4046,"name":"next-swc-transform","id":4047,"timestamp":1673066567625,"duration":68378,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4045,"name":"next-swc-loader","id":4046,"timestamp":1673066567504,"duration":68503,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"build-module-tsx","id":4045,"timestamp":1673066567443,"duration":74148,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4037,"timestamp":1673066556636,"duration":86219,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4040,"timestamp":1673066556646,"duration":87108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4042,"timestamp":1673066556651,"duration":94699,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4038,"timestamp":1673066556640,"duration":100731,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4039,"timestamp":1673066556643,"duration":139200,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"make","id":4035,"timestamp":1673066555246,"duration":140665,"tags":{},"startTime":1664596110431},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-chunk-graph","id":4052,"timestamp":1673066702047,"duration":16738,"tags":{},"startTime":1664596110578},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-modules","id":4054,"timestamp":1673066718834,"duration":11,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-chunks","id":4055,"timestamp":1673066718877,"duration":48,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-tree","id":4056,"timestamp":1673066718963,"duration":11,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize","id":4053,"timestamp":1673066718812,"duration":1611,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-hash","id":4057,"timestamp":1673066733310,"duration":6726,"tags":{},"startTime":1664596110609},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"NextJsBuildManifest-generateClientManifest","id":4059,"timestamp":1673066751027,"duration":156,"tags":{},"startTime":1664596110627},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"NextJsBuildManifest-createassets","id":4058,"timestamp":1673066750973,"duration":217,"tags":{},"startTime":1664596110627},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-seal","id":4051,"timestamp":1673066697344,"duration":55794,"tags":{},"startTime":1664596110573},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"webpack-compilation","id":4034,"timestamp":1673066555020,"duration":198142,"tags":{"name":"client"},"startTime":1664596110431},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"emit","id":4060,"timestamp":1673066753194,"duration":115059,"tags":{},"startTime":1664596110629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4032,"timestamp":1673066542968,"duration":326349,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4067,"timestamp":1673066886132,"duration":0,"tags":{},"startTime":1664596110762},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4068,"timestamp":1673066886287,"duration":0,"tags":{},"startTime":1664596110762},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4066,"timestamp":1673066885113,"duration":10491,"tags":{"request":"private-next-pages/_error"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4065,"timestamp":1673066885109,"duration":10507,"tags":{"request":"private-next-pages/_document"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4072,"timestamp":1664596110760999,"duration":12000,"tags":{"clientId":1664595509559},"startTime":1664596110774},{"traceId":"43f2de6d909a73f7","parentId":4070,"name":"next-swc-transform","id":4071,"timestamp":1673066893551,"duration":11346,"tags":{},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4069,"name":"next-swc-loader","id":4070,"timestamp":1673066893485,"duration":11414,"tags":{},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"build-module-tsx","id":4069,"timestamp":1673066893350,"duration":20042,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4064,"timestamp":1673066885025,"duration":33249,"tags":{"request":"private-next-pages/_app"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"make","id":4062,"timestamp":1673066871540,"duration":46750,"tags":{},"startTime":1664596110747},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-chunk-graph","id":4074,"timestamp":1673066918670,"duration":307,"tags":{},"startTime":1664596110794},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-modules","id":4076,"timestamp":1673066918990,"duration":2,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-chunks","id":4077,"timestamp":1673066919035,"duration":37,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-tree","id":4078,"timestamp":1673066919098,"duration":14,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize","id":4075,"timestamp":1673066918985,"duration":221,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-hash","id":4079,"timestamp":1673066920563,"duration":912,"tags":{},"startTime":1664596110796},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-seal","id":4073,"timestamp":1673066918599,"duration":4225,"tags":{},"startTime":1664596110794},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"webpack-compilation","id":4061,"timestamp":1673066871224,"duration":51619,"tags":{"name":"server"},"startTime":1664596110747},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4081,"timestamp":1664596110774000,"duration":34999,"tags":{"clientId":1664595301700},"startTime":1664596110810},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"emit","id":4080,"timestamp":1673066922858,"duration":16952,"tags":{},"startTime":1664596110799},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4033,"timestamp":1673066543242,"duration":397002,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110419},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4084,"timestamp":1673066945144,"duration":3171,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4085,"timestamp":1673066945179,"duration":3681,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"read-resource","id":4092,"timestamp":1673066949088,"duration":39,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4093,"name":"postcss-process","id":4094,"timestamp":1673066949149,"duration":30761,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"postcss-loader","id":4093,"timestamp":1673066949142,"duration":31184,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"css-loader","id":4095,"timestamp":1673066980347,"duration":8804,"tags":{"astUsed":"true"},"startTime":1664596110856},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"build-module-css","id":4091,"timestamp":1673066948943,"duration":41496,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4089,"timestamp":1673066945193,"duration":47210,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4088,"timestamp":1673066945189,"duration":47231,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4090,"timestamp":1673066945196,"duration":50543,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4086,"timestamp":1673066945183,"duration":50818,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4087,"timestamp":1673066945185,"duration":77250,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"make","id":4083,"timestamp":1673066943771,"duration":78684,"tags":{},"startTime":1664596110820},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-chunk-graph","id":4097,"timestamp":1673067026742,"duration":16040,"tags":{},"startTime":1664596110903},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-modules","id":4099,"timestamp":1673067042804,"duration":2,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-chunks","id":4100,"timestamp":1673067042815,"duration":29,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-tree","id":4101,"timestamp":1673067042866,"duration":3,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize","id":4098,"timestamp":1673067042797,"duration":1276,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-hash","id":4102,"timestamp":1673067054685,"duration":5659,"tags":{},"startTime":1664596110930},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"NextJsBuildManifest-generateClientManifest","id":4104,"timestamp":1673067061208,"duration":49,"tags":{},"startTime":1664596110937},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"NextJsBuildManifest-createassets","id":4103,"timestamp":1673067061161,"duration":98,"tags":{},"startTime":1664596110937},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-seal","id":4096,"timestamp":1673067023462,"duration":38688,"tags":{},"startTime":1664596110899},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"webpack-compilation","id":4082,"timestamp":1673066943579,"duration":118591,"tags":{"name":"client"},"startTime":1664596110819},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"emit","id":4105,"timestamp":1673067062182,"duration":3437,"tags":{},"startTime":1664596110938},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4063,"timestamp":1673066884722,"duration":181595,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596110761}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4106,"timestamp":1673067075178,"duration":0,"tags":{},"startTime":1664596110951},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4107,"timestamp":1673067075320,"duration":0,"tags":{},"startTime":1664596110951},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4112,"timestamp":1673183100667,"duration":9271,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4117,"timestamp":1673183100769,"duration":11951,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"read-resource","id":4120,"timestamp":1673183112245,"duration":1189,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4124,"name":"postcss-process","id":4125,"timestamp":1673183113467,"duration":44436,"tags":{},"startTime":1664596226989},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"postcss-loader","id":4124,"timestamp":1673183113457,"duration":44846,"tags":{},"startTime":1664596226989},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"css-loader","id":4126,"timestamp":1673183158327,"duration":11751,"tags":{"astUsed":"true"},"startTime":1664596227034},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"build-module-css","id":4119,"timestamp":1673183112024,"duration":68573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4122,"name":"next-swc-transform","id":4123,"timestamp":1673183112449,"duration":69875,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4121,"name":"next-swc-loader","id":4122,"timestamp":1673183112362,"duration":69966,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"build-module-tsx","id":4121,"timestamp":1673183112289,"duration":74619,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4113,"timestamp":1673183100757,"duration":87579,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4116,"timestamp":1673183100767,"duration":87912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4118,"timestamp":1673183100771,"duration":94665,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4114,"timestamp":1673183100761,"duration":98872,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4115,"timestamp":1673183100764,"duration":134866,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"make","id":4111,"timestamp":1673183098856,"duration":136796,"tags":{},"startTime":1664596226974},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-chunk-graph","id":4128,"timestamp":1673183240727,"duration":16811,"tags":{},"startTime":1664596227116},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-modules","id":4130,"timestamp":1673183257561,"duration":13,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-chunks","id":4131,"timestamp":1673183257610,"duration":59,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-tree","id":4132,"timestamp":1673183257706,"duration":14,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize","id":4129,"timestamp":1673183257554,"duration":1654,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-hash","id":4133,"timestamp":1673183270771,"duration":5866,"tags":{},"startTime":1664596227146},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"NextJsBuildManifest-generateClientManifest","id":4135,"timestamp":1673183287669,"duration":62,"tags":{},"startTime":1664596227163},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"NextJsBuildManifest-createassets","id":4134,"timestamp":1673183287615,"duration":124,"tags":{},"startTime":1664596227163},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-seal","id":4127,"timestamp":1673183237011,"duration":52551,"tags":{},"startTime":1664596227113},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"webpack-compilation","id":4110,"timestamp":1673183098636,"duration":190946,"tags":{"name":"client"},"startTime":1664596226974},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"emit","id":4136,"timestamp":1673183289600,"duration":118943,"tags":{},"startTime":1664596227165},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4108,"timestamp":1673183085281,"duration":324352,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4143,"timestamp":1673183424211,"duration":0,"tags":{},"startTime":1664596227300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4144,"timestamp":1673183424415,"duration":0,"tags":{},"startTime":1664596227300},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4142,"timestamp":1673183423269,"duration":12107,"tags":{"request":"private-next-pages/_error"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4141,"timestamp":1673183423264,"duration":12126,"tags":{"request":"private-next-pages/_document"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4148,"timestamp":1664596227299000,"duration":12999,"tags":{"clientId":1664595509559},"startTime":1664596227313},{"traceId":"43f2de6d909a73f7","parentId":4146,"name":"next-swc-transform","id":4147,"timestamp":1673183434014,"duration":8241,"tags":{},"startTime":1664596227310},{"traceId":"43f2de6d909a73f7","parentId":4145,"name":"next-swc-loader","id":4146,"timestamp":1673183433955,"duration":8305,"tags":{},"startTime":1664596227309},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"build-module-tsx","id":4145,"timestamp":1673183433825,"duration":13446,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596227309},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4140,"timestamp":1673183423163,"duration":27187,"tags":{"request":"private-next-pages/_app"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"make","id":4138,"timestamp":1673183410834,"duration":39531,"tags":{},"startTime":1664596227286},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-chunk-graph","id":4150,"timestamp":1673183450682,"duration":287,"tags":{},"startTime":1664596227326},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-modules","id":4152,"timestamp":1673183450978,"duration":1,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-chunks","id":4153,"timestamp":1673183450987,"duration":22,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-tree","id":4154,"timestamp":1673183451018,"duration":5,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize","id":4151,"timestamp":1673183450975,"duration":105,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-hash","id":4155,"timestamp":1673183452452,"duration":709,"tags":{},"startTime":1664596227328},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-seal","id":4149,"timestamp":1673183450617,"duration":5264,"tags":{},"startTime":1664596227326},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"webpack-compilation","id":4137,"timestamp":1673183410595,"duration":45313,"tags":{"name":"server"},"startTime":1664596227286},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4157,"timestamp":1664596227299000,"duration":27000,"tags":{"clientId":1664595301700},"startTime":1664596227335},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"emit","id":4156,"timestamp":1673183455924,"duration":4686,"tags":{},"startTime":1664596227331},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4109,"timestamp":1673183085557,"duration":375404,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226961},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4160,"timestamp":1673183466141,"duration":3604,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4161,"timestamp":1673183466293,"duration":4032,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"read-resource","id":4168,"timestamp":1673183470532,"duration":33,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4169,"name":"postcss-process","id":4170,"timestamp":1673183470591,"duration":32285,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"postcss-loader","id":4169,"timestamp":1673183470582,"duration":32852,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"css-loader","id":4171,"timestamp":1673183503454,"duration":9137,"tags":{"astUsed":"true"},"startTime":1664596227379},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"build-module-css","id":4167,"timestamp":1673183470414,"duration":48137,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4165,"timestamp":1673183466307,"duration":54832,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4164,"timestamp":1673183466304,"duration":54852,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4166,"timestamp":1673183466309,"duration":58824,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4162,"timestamp":1673183466298,"duration":59202,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4163,"timestamp":1673183466300,"duration":90527,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"make","id":4159,"timestamp":1673183464844,"duration":92008,"tags":{},"startTime":1664596227340},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-chunk-graph","id":4173,"timestamp":1673183561159,"duration":16117,"tags":{},"startTime":1664596227437},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-modules","id":4175,"timestamp":1673183577298,"duration":2,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-chunks","id":4176,"timestamp":1673183577309,"duration":34,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-tree","id":4177,"timestamp":1673183577372,"duration":3,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize","id":4174,"timestamp":1673183577291,"duration":1601,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-hash","id":4178,"timestamp":1673183589939,"duration":5429,"tags":{},"startTime":1664596227465},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"NextJsBuildManifest-generateClientManifest","id":4180,"timestamp":1673183596163,"duration":50,"tags":{},"startTime":1664596227472},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"NextJsBuildManifest-createassets","id":4179,"timestamp":1673183596115,"duration":100,"tags":{},"startTime":1664596227472},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-seal","id":4172,"timestamp":1673183557853,"duration":39428,"tags":{},"startTime":1664596227433},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"webpack-compilation","id":4158,"timestamp":1673183464661,"duration":132646,"tags":{"name":"client"},"startTime":1664596227340},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"emit","id":4181,"timestamp":1673183597322,"duration":4058,"tags":{},"startTime":1664596227473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4139,"timestamp":1673183422703,"duration":179337,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596227298}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4182,"timestamp":1673183610771,"duration":0,"tags":{},"startTime":1664596227486},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4183,"timestamp":1673183610806,"duration":0,"tags":{},"startTime":1664596227486},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4188,"timestamp":1673293559245,"duration":16516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4193,"timestamp":1673293559470,"duration":19030,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"read-resource","id":4196,"timestamp":1673293577699,"duration":5504,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4200,"name":"postcss-process","id":4201,"timestamp":1673293583339,"duration":58027,"tags":{},"startTime":1664596337463},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"postcss-loader","id":4200,"timestamp":1673293583250,"duration":58589,"tags":{},"startTime":1664596337463},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"css-loader","id":4202,"timestamp":1673293641874,"duration":18549,"tags":{"astUsed":"true"},"startTime":1664596337521},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"build-module-css","id":4195,"timestamp":1673293577250,"duration":94673,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4198,"name":"next-swc-transform","id":4199,"timestamp":1673293578028,"duration":94760,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4197,"name":"next-swc-loader","id":4198,"timestamp":1673293577902,"duration":94889,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"build-module-tsx","id":4197,"timestamp":1673293577775,"duration":100758,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4189,"timestamp":1673293559445,"duration":119819,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4192,"timestamp":1673293559466,"duration":120907,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4194,"timestamp":1673293559472,"duration":139401,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4190,"timestamp":1673293559459,"duration":224526,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4191,"timestamp":1673293559463,"duration":305354,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"make","id":4187,"timestamp":1673293555735,"duration":309164,"tags":{},"startTime":1664596337435},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-chunk-graph","id":4204,"timestamp":1673293870109,"duration":17466,"tags":{},"startTime":1664596337749},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-modules","id":4206,"timestamp":1673293887639,"duration":12,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-chunks","id":4207,"timestamp":1673293887685,"duration":128,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-tree","id":4208,"timestamp":1673293887859,"duration":15,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize","id":4205,"timestamp":1673293887607,"duration":1821,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-hash","id":4209,"timestamp":1673293901432,"duration":6155,"tags":{},"startTime":1664596337781},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"NextJsBuildManifest-generateClientManifest","id":4211,"timestamp":1673293923105,"duration":186,"tags":{},"startTime":1664596337802},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"NextJsBuildManifest-createassets","id":4210,"timestamp":1673293923041,"duration":257,"tags":{},"startTime":1664596337802},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-seal","id":4203,"timestamp":1673293866381,"duration":58948,"tags":{},"startTime":1664596337746},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"webpack-compilation","id":4186,"timestamp":1673293554957,"duration":370400,"tags":{"name":"client"},"startTime":1664596337434},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"emit","id":4212,"timestamp":1673293925395,"duration":125998,"tags":{},"startTime":1664596337805},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4184,"timestamp":1673293529412,"duration":522774,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337409},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4219,"timestamp":1673294064376,"duration":0,"tags":{},"startTime":1664596337944},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4220,"timestamp":1673294064528,"duration":0,"tags":{},"startTime":1664596337944},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4218,"timestamp":1673294063814,"duration":11630,"tags":{"request":"private-next-pages/_error"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4217,"timestamp":1673294063810,"duration":11645,"tags":{"request":"private-next-pages/_document"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4222,"name":"next-swc-transform","id":4223,"timestamp":1673294074216,"duration":2429,"tags":{},"startTime":1664596337954},{"traceId":"43f2de6d909a73f7","parentId":4221,"name":"next-swc-loader","id":4222,"timestamp":1673294074145,"duration":2504,"tags":{},"startTime":1664596337953},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"build-module-tsx","id":4221,"timestamp":1673294073990,"duration":7830,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337953},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4224,"timestamp":1664596337943000,"duration":25999,"tags":{"clientId":1664595509559},"startTime":1664596337969},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4216,"timestamp":1673294063764,"duration":30032,"tags":{"request":"private-next-pages/_app"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"make","id":4214,"timestamp":1673294053102,"duration":40709,"tags":{},"startTime":1664596337932},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-chunk-graph","id":4226,"timestamp":1673294094159,"duration":175,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-modules","id":4228,"timestamp":1673294094341,"duration":2,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-chunks","id":4229,"timestamp":1673294094375,"duration":25,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-tree","id":4230,"timestamp":1673294094421,"duration":11,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize","id":4227,"timestamp":1673294094338,"duration":186,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-hash","id":4231,"timestamp":1673294095810,"duration":735,"tags":{},"startTime":1664596337975},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-seal","id":4225,"timestamp":1673294094098,"duration":3787,"tags":{},"startTime":1664596337973},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"webpack-compilation","id":4213,"timestamp":1673294052907,"duration":44999,"tags":{"name":"server"},"startTime":1664596337932},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"emit","id":4232,"timestamp":1673294097917,"duration":1667,"tags":{},"startTime":1664596337977},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4185,"timestamp":1673293530197,"duration":569802,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337410},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4235,"timestamp":1673294107702,"duration":3373,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4236,"timestamp":1673294107740,"duration":3917,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"read-resource","id":4243,"timestamp":1673294111932,"duration":35,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4244,"name":"postcss-process","id":4245,"timestamp":1673294111993,"duration":30670,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"postcss-loader","id":4244,"timestamp":1673294111984,"duration":30895,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"css-loader","id":4246,"timestamp":1673294142900,"duration":10996,"tags":{"astUsed":"true"},"startTime":1664596338022},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"build-module-css","id":4242,"timestamp":1673294111739,"duration":48207,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4247,"timestamp":1664596337947000,"duration":48999,"tags":{"clientId":1664595301700},"startTime":1664596338040},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4240,"timestamp":1673294107752,"duration":52814,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4239,"timestamp":1673294107749,"duration":52830,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4241,"timestamp":1673294107754,"duration":56599,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4237,"timestamp":1673294107743,"duration":56913,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4238,"timestamp":1673294107746,"duration":85236,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"make","id":4234,"timestamp":1673294103792,"duration":89213,"tags":{},"startTime":1664596337983},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-chunk-graph","id":4249,"timestamp":1673294197583,"duration":3932,"tags":{},"startTime":1664596338077},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-modules","id":4251,"timestamp":1673294201539,"duration":2,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-chunks","id":4252,"timestamp":1673294201553,"duration":32,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-tree","id":4253,"timestamp":1673294201606,"duration":3,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize","id":4250,"timestamp":1673294201532,"duration":978,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-hash","id":4254,"timestamp":1673294212468,"duration":5423,"tags":{},"startTime":1664596338092},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"NextJsBuildManifest-generateClientManifest","id":4256,"timestamp":1673294218863,"duration":49,"tags":{},"startTime":1664596338098},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"NextJsBuildManifest-createassets","id":4255,"timestamp":1673294218821,"duration":95,"tags":{},"startTime":1664596338098},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-seal","id":4248,"timestamp":1673294194142,"duration":25844,"tags":{},"startTime":1664596338073},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"webpack-compilation","id":4233,"timestamp":1673294103616,"duration":116399,"tags":{"name":"client"},"startTime":1664596337983},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"emit","id":4257,"timestamp":1673294220031,"duration":2558,"tags":{},"startTime":1664596338099},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4215,"timestamp":1673294063497,"duration":159732,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596337943}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4258,"timestamp":1673294235386,"duration":0,"tags":{},"startTime":1664596338115},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4259,"timestamp":1673294235447,"duration":0,"tags":{},"startTime":1664596338115},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4266,"timestamp":1673310069615,"duration":6640,"tags":{"request":"private-next-pages/_error"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4265,"timestamp":1673310069611,"duration":6655,"tags":{"request":"private-next-pages/_document"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4268,"name":"next-swc-transform","id":4269,"timestamp":1673310075928,"duration":1711,"tags":{},"startTime":1664596353956},{"traceId":"43f2de6d909a73f7","parentId":4267,"name":"next-swc-loader","id":4268,"timestamp":1673310075885,"duration":1760,"tags":{},"startTime":1664596353956},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"build-module-tsx","id":4267,"timestamp":1673310075711,"duration":6693,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353955},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4264,"timestamp":1673310069574,"duration":17105,"tags":{"request":"private-next-pages/_app"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"make","id":4263,"timestamp":1673310069426,"duration":17611,"tags":{},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-chunk-graph","id":4271,"timestamp":1673310087490,"duration":209,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-modules","id":4273,"timestamp":1673310087708,"duration":2,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-chunks","id":4274,"timestamp":1673310087720,"duration":16,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-tree","id":4275,"timestamp":1673310087744,"duration":3,"tags":{},"startTime":1664596353968},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize","id":4272,"timestamp":1673310087705,"duration":93,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-hash","id":4276,"timestamp":1673310089034,"duration":502,"tags":{},"startTime":1664596353969},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-seal","id":4270,"timestamp":1673310087400,"duration":3245,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"webpack-compilation","id":4262,"timestamp":1673310069266,"duration":21405,"tags":{"name":"server"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"emit","id":4277,"timestamp":1673310090682,"duration":2636,"tags":{},"startTime":1664596353970},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4260,"timestamp":1673310062404,"duration":31405,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353942},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4280,"timestamp":1673310103633,"duration":3983,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4281,"timestamp":1673310103680,"duration":6954,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"read-resource","id":4288,"timestamp":1673310110895,"duration":87,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4290,"name":"postcss-process","id":4291,"timestamp":1673310111004,"duration":32503,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"postcss-loader","id":4290,"timestamp":1673310110995,"duration":32643,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"css-loader","id":4294,"timestamp":1673310143653,"duration":7808,"tags":{"astUsed":"true"},"startTime":1664596354023},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"build-module-css","id":4287,"timestamp":1673310110776,"duration":41753,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4292,"name":"next-swc-transform","id":4293,"timestamp":1673310111237,"duration":41455,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4289,"name":"next-swc-loader","id":4292,"timestamp":1673310111197,"duration":41497,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"build-module-tsx","id":4289,"timestamp":1673310110916,"duration":44962,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4285,"timestamp":1673310103700,"duration":53386,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4284,"timestamp":1673310103696,"duration":53406,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4286,"timestamp":1673310103702,"duration":65533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4282,"timestamp":1673310103691,"duration":89444,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4283,"timestamp":1673310103694,"duration":130504,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"make","id":4279,"timestamp":1673310097950,"duration":136283,"tags":{},"startTime":1664596353978},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-chunk-graph","id":4296,"timestamp":1673310238822,"duration":16972,"tags":{},"startTime":1664596354119},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-modules","id":4298,"timestamp":1673310255819,"duration":3,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-chunks","id":4299,"timestamp":1673310255835,"duration":156,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-tree","id":4300,"timestamp":1673310256017,"duration":7,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize","id":4297,"timestamp":1673310255810,"duration":1989,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-hash","id":4301,"timestamp":1673310271558,"duration":4684,"tags":{},"startTime":1664596354151},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"NextJsBuildManifest-generateClientManifest","id":4303,"timestamp":1673310289014,"duration":70,"tags":{},"startTime":1664596354169},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"NextJsBuildManifest-createassets","id":4302,"timestamp":1673310288960,"duration":133,"tags":{},"startTime":1664596354169},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-seal","id":4295,"timestamp":1673310235510,"duration":55604,"tags":{},"startTime":1664596354115},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"webpack-compilation","id":4278,"timestamp":1673310097758,"duration":193396,"tags":{"name":"client"},"startTime":1664596353978},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"emit","id":4304,"timestamp":1673310291180,"duration":134168,"tags":{},"startTime":1664596354171},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4261,"timestamp":1673310062554,"duration":363742,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353942}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4306,"timestamp":1673310439649,"duration":0,"tags":{},"startTime":1664596354319},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4307,"timestamp":1673310439844,"duration":0,"tags":{},"startTime":1664596354320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4317,"timestamp":1664596354319000,"duration":18999,"tags":{"clientId":1664595509559},"startTime":1664596354340},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4310,"timestamp":1673310454962,"duration":7939,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4311,"timestamp":1673310455040,"duration":8637,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"read-resource","id":4319,"timestamp":1673310463958,"duration":40,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4320,"name":"postcss-process","id":4321,"timestamp":1673310464031,"duration":37295,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"postcss-loader","id":4320,"timestamp":1673310464017,"duration":39416,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"css-loader","id":4322,"timestamp":1673310503501,"duration":13021,"tags":{"astUsed":"true"},"startTime":1664596354383},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"build-module-css","id":4318,"timestamp":1673310463799,"duration":54156,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4323,"timestamp":1664596354320000,"duration":48999,"tags":{"clientId":1664595301700},"startTime":1664596354398},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4315,"timestamp":1673310455052,"duration":63539,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4314,"timestamp":1673310455049,"duration":63564,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4316,"timestamp":1673310455054,"duration":68018,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4312,"timestamp":1673310455044,"duration":68421,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4313,"timestamp":1673310455046,"duration":102560,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"make","id":4309,"timestamp":1673310452104,"duration":105535,"tags":{},"startTime":1664596354332},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-chunk-graph","id":4325,"timestamp":1673310563203,"duration":17465,"tags":{},"startTime":1664596354443},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-modules","id":4327,"timestamp":1673310580694,"duration":3,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-chunks","id":4328,"timestamp":1673310580708,"duration":96,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-tree","id":4329,"timestamp":1673310580826,"duration":4,"tags":{},"startTime":1664596354461},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize","id":4326,"timestamp":1673310580687,"duration":1601,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-hash","id":4330,"timestamp":1673310595581,"duration":4028,"tags":{},"startTime":1664596354475},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"NextJsBuildManifest-generateClientManifest","id":4332,"timestamp":1673310600447,"duration":54,"tags":{},"startTime":1664596354480},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"NextJsBuildManifest-createassets","id":4331,"timestamp":1673310600398,"duration":105,"tags":{},"startTime":1664596354480},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-seal","id":4324,"timestamp":1673310558691,"duration":42828,"tags":{},"startTime":1664596354438},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"webpack-compilation","id":4308,"timestamp":1673310451860,"duration":149683,"tags":{"name":"client"},"startTime":1664596354332},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"emit","id":4333,"timestamp":1673310601556,"duration":5665,"tags":{},"startTime":1664596354481},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4305,"timestamp":1673310438792,"duration":168993,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596354319}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4334,"timestamp":1673310618265,"duration":0,"tags":{},"startTime":1664596354498},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4335,"timestamp":1673310618312,"duration":0,"tags":{},"startTime":1664596354498},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4340,"timestamp":1673457723943,"duration":10300,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4345,"timestamp":1673457724066,"duration":11822,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"read-resource","id":4348,"timestamp":1673457735366,"duration":1282,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4352,"name":"postcss-process","id":4353,"timestamp":1673457736765,"duration":42227,"tags":{},"startTime":1664596501617},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"postcss-loader","id":4352,"timestamp":1673457736742,"duration":42614,"tags":{},"startTime":1664596501617},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"css-loader","id":4354,"timestamp":1673457779384,"duration":15242,"tags":{"astUsed":"true"},"startTime":1664596501659},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"build-module-css","id":4347,"timestamp":1673457735168,"duration":70149,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4350,"name":"next-swc-transform","id":4351,"timestamp":1673457735604,"duration":70443,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4349,"name":"next-swc-loader","id":4350,"timestamp":1673457735474,"duration":70576,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"build-module-tsx","id":4349,"timestamp":1673457735404,"duration":77056,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4341,"timestamp":1673457724051,"duration":90569,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4344,"timestamp":1673457724062,"duration":91069,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4346,"timestamp":1673457724068,"duration":98007,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4342,"timestamp":1673457724056,"duration":104468,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4343,"timestamp":1673457724059,"duration":136659,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"make","id":4339,"timestamp":1673457722542,"duration":138239,"tags":{},"startTime":1664596501602},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-chunk-graph","id":4356,"timestamp":1673457866532,"duration":16253,"tags":{},"startTime":1664596501746},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-modules","id":4358,"timestamp":1673457882840,"duration":13,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-chunks","id":4359,"timestamp":1673457882885,"duration":53,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-tree","id":4360,"timestamp":1673457882974,"duration":11,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize","id":4357,"timestamp":1673457882811,"duration":1603,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-hash","id":4361,"timestamp":1673457898609,"duration":5427,"tags":{},"startTime":1664596501778},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"NextJsBuildManifest-generateClientManifest","id":4363,"timestamp":1673457912872,"duration":251,"tags":{},"startTime":1664596501793},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"NextJsBuildManifest-createassets","id":4362,"timestamp":1673457912818,"duration":313,"tags":{},"startTime":1664596501793},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-seal","id":4355,"timestamp":1673457862178,"duration":52717,"tags":{},"startTime":1664596501742},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"webpack-compilation","id":4338,"timestamp":1673457722300,"duration":192625,"tags":{"name":"client"},"startTime":1664596501602},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"emit","id":4364,"timestamp":1673457914957,"duration":94871,"tags":{},"startTime":1664596501795},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4336,"timestamp":1673457711660,"duration":307564,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501591},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4371,"timestamp":1673458033739,"duration":0,"tags":{},"startTime":1664596501914},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4372,"timestamp":1673458033923,"duration":0,"tags":{},"startTime":1664596501914},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4370,"timestamp":1673458032788,"duration":10125,"tags":{"request":"private-next-pages/_error"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4369,"timestamp":1673458032783,"duration":10142,"tags":{"request":"private-next-pages/_document"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4376,"timestamp":1664596501912999,"duration":11000,"tags":{"clientId":1664595509559},"startTime":1664596501925},{"traceId":"43f2de6d909a73f7","parentId":4374,"name":"next-swc-transform","id":4375,"timestamp":1673458041520,"duration":6164,"tags":{},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4373,"name":"next-swc-loader","id":4374,"timestamp":1673458041455,"duration":6233,"tags":{},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"build-module-tsx","id":4373,"timestamp":1673458041313,"duration":10877,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4368,"timestamp":1673458032708,"duration":23021,"tags":{"request":"private-next-pages/_app"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"make","id":4366,"timestamp":1673458021090,"duration":34649,"tags":{},"startTime":1664596501901},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-chunk-graph","id":4378,"timestamp":1673458056043,"duration":213,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-modules","id":4380,"timestamp":1673458056263,"duration":2,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-chunks","id":4381,"timestamp":1673458056296,"duration":30,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-tree","id":4382,"timestamp":1673458056344,"duration":13,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize","id":4379,"timestamp":1673458056260,"duration":178,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-hash","id":4383,"timestamp":1673458057735,"duration":699,"tags":{},"startTime":1664596501938},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-seal","id":4377,"timestamp":1673458055977,"duration":5094,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"webpack-compilation","id":4365,"timestamp":1673458020811,"duration":40277,"tags":{"name":"server"},"startTime":1664596501901},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4385,"timestamp":1664596501913999,"duration":24000,"tags":{"clientId":1664595301700},"startTime":1664596501944},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"emit","id":4384,"timestamp":1673458061101,"duration":4672,"tags":{},"startTime":1664596501941},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4337,"timestamp":1673457711885,"duration":354270,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501592},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4388,"timestamp":1673458070621,"duration":3474,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4389,"timestamp":1673458070652,"duration":4027,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"read-resource","id":4396,"timestamp":1673458074902,"duration":34,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4397,"name":"postcss-process","id":4398,"timestamp":1673458074959,"duration":31925,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"postcss-loader","id":4397,"timestamp":1673458074951,"duration":32400,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"css-loader","id":4399,"timestamp":1673458107372,"duration":8827,"tags":{"astUsed":"true"},"startTime":1664596501987},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"build-module-css","id":4395,"timestamp":1673458074764,"duration":46626,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4393,"timestamp":1673458070664,"duration":52721,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4392,"timestamp":1673458070661,"duration":52744,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4394,"timestamp":1673458070666,"duration":56565,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4390,"timestamp":1673458070656,"duration":56987,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4391,"timestamp":1673458070658,"duration":86276,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"make","id":4387,"timestamp":1673458069465,"duration":87491,"tags":{},"startTime":1664596501949},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-chunk-graph","id":4401,"timestamp":1673458161597,"duration":17214,"tags":{},"startTime":1664596502041},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-modules","id":4403,"timestamp":1673458178841,"duration":2,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-chunks","id":4404,"timestamp":1673458178853,"duration":69,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-tree","id":4405,"timestamp":1673458178944,"duration":3,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize","id":4402,"timestamp":1673458178831,"duration":1571,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-hash","id":4406,"timestamp":1673458190938,"duration":5545,"tags":{},"startTime":1664596502071},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"NextJsBuildManifest-generateClientManifest","id":4408,"timestamp":1673458197369,"duration":51,"tags":{},"startTime":1664596502077},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"NextJsBuildManifest-createassets","id":4407,"timestamp":1673458197321,"duration":102,"tags":{},"startTime":1664596502077},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-seal","id":4400,"timestamp":1673458158178,"duration":40076,"tags":{},"startTime":1664596502038},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"webpack-compilation","id":4386,"timestamp":1673458069269,"duration":129007,"tags":{"name":"client"},"startTime":1664596501949},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"emit","id":4409,"timestamp":1673458198292,"duration":3613,"tags":{},"startTime":1664596502078},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4367,"timestamp":1673458032415,"duration":170222,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596501912}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4410,"timestamp":1673458211665,"duration":0,"tags":{},"startTime":1664596502092},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4411,"timestamp":1673458587144,"duration":0,"tags":{},"startTime":1664596502467},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4418,"timestamp":1673492238090,"duration":9516,"tags":{"request":"private-next-pages/_error"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4417,"timestamp":1673492238086,"duration":9533,"tags":{"request":"private-next-pages/_document"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4420,"name":"next-swc-transform","id":4421,"timestamp":1673492247143,"duration":718,"tags":{},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4419,"name":"next-swc-loader","id":4420,"timestamp":1673492247093,"duration":775,"tags":{},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"build-module-tsx","id":4419,"timestamp":1673492246908,"duration":1239,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4416,"timestamp":1673492238035,"duration":10261,"tags":{"request":"private-next-pages/_app"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4412,"name":"make","id":4415,"timestamp":1673492237876,"duration":10432,"tags":{},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-chunk-graph","id":4423,"timestamp":1673492248642,"duration":212,"tags":{},"startTime":1664596536128},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-modules","id":4425,"timestamp":1673492248866,"duration":2,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-chunks","id":4426,"timestamp":1673492248875,"duration":25,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-tree","id":4427,"timestamp":1673492248910,"duration":2,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize","id":4424,"timestamp":1673492248861,"duration":101,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-hash","id":4428,"timestamp":1673492252037,"duration":582,"tags":{},"startTime":1664596536132},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-seal","id":4422,"timestamp":1673492248572,"duration":7176,"tags":{},"startTime":1664596536128},{"traceId":"43f2de6d909a73f7","parentId":4412,"name":"webpack-compilation","id":4414,"timestamp":1673492237681,"duration":18096,"tags":{"name":"server"},"startTime":1664596536117},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4412,"timestamp":1673492231689,"duration":25497,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536111},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4431,"timestamp":1673492265882,"duration":0,"tags":{"errorCount":1},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4439,"timestamp":1673492270935,"duration":0,"tags":{"errorCount":1},"startTime":1664596536151},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4432,"timestamp":1673492266511,"duration":6822,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4433,"timestamp":1673492266552,"duration":7419,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"read-resource","id":4441,"timestamp":1673492274895,"duration":88,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4443,"name":"postcss-process","id":4444,"timestamp":1673492275009,"duration":37060,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"postcss-loader","id":4443,"timestamp":1673492274998,"duration":37213,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"css-loader","id":4447,"timestamp":1673492312229,"duration":9221,"tags":{"astUsed":"true"},"startTime":1664596536192},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"build-module-css","id":4440,"timestamp":1673492274790,"duration":47738,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4445,"name":"next-swc-transform","id":4446,"timestamp":1673492275292,"duration":47353,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4442,"name":"next-swc-loader","id":4445,"timestamp":1673492275256,"duration":47392,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"build-module-tsx","id":4442,"timestamp":1673492274918,"duration":47776,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4437,"timestamp":1673492266570,"duration":56425,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4436,"timestamp":1673492266566,"duration":56440,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4438,"timestamp":1673492266574,"duration":59983,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4434,"timestamp":1673492266561,"duration":60067,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4435,"timestamp":1673492266564,"duration":86976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4413,"name":"make","id":4430,"timestamp":1673492263634,"duration":89933,"tags":{},"startTime":1664596536143},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-chunk-graph","id":4449,"timestamp":1673492357976,"duration":3623,"tags":{},"startTime":1664596536238},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-modules","id":4451,"timestamp":1673492361617,"duration":2,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-chunks","id":4452,"timestamp":1673492361627,"duration":28,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-tree","id":4453,"timestamp":1673492361669,"duration":2,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize","id":4450,"timestamp":1673492361607,"duration":882,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-hash","id":4454,"timestamp":1673492371827,"duration":3484,"tags":{},"startTime":1664596536252},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"NextJsBuildManifest-generateClientManifest","id":4456,"timestamp":1673492382632,"duration":69,"tags":{},"startTime":1664596536262},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"NextJsBuildManifest-createassets","id":4455,"timestamp":1673492382579,"duration":128,"tags":{},"startTime":1664596536262},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-seal","id":4448,"timestamp":1673492354775,"duration":29075,"tags":{},"startTime":1664596536235},{"traceId":"43f2de6d909a73f7","parentId":4413,"name":"webpack-compilation","id":4429,"timestamp":1673492263433,"duration":120445,"tags":{"name":"client"},"startTime":1664596536143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4413,"timestamp":1673492231860,"duration":152725,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536112}] +[{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4460,"timestamp":1673492407121,"duration":3485,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4461,"timestamp":1673492407167,"duration":4078,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"read-resource","id":4468,"timestamp":1673492411445,"duration":71,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4470,"name":"postcss-process","id":4471,"timestamp":1673492411539,"duration":31367,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"postcss-loader","id":4470,"timestamp":1673492411526,"duration":31607,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"css-loader","id":4474,"timestamp":1673492443153,"duration":10949,"tags":{"astUsed":"true"},"startTime":1664596536323},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"build-module-css","id":4467,"timestamp":1673492411347,"duration":43743,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4472,"name":"next-swc-transform","id":4473,"timestamp":1673492411689,"duration":43598,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4469,"name":"next-swc-loader","id":4472,"timestamp":1673492411663,"duration":43627,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"build-module-tsx","id":4469,"timestamp":1673492411460,"duration":43876,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4465,"timestamp":1673492407180,"duration":49386,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4464,"timestamp":1673492407177,"duration":49403,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4466,"timestamp":1673492407182,"duration":57533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4462,"timestamp":1673492407171,"duration":57618,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4463,"timestamp":1673492407173,"duration":128072,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4457,"name":"make","id":4459,"timestamp":1673492406420,"duration":128864,"tags":{},"startTime":1664596536286},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-chunk-graph","id":4476,"timestamp":1673492540464,"duration":17832,"tags":{},"startTime":1664596536420},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-modules","id":4478,"timestamp":1673492558315,"duration":3,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-chunks","id":4479,"timestamp":1673492558327,"duration":103,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-tree","id":4480,"timestamp":1673492558448,"duration":5,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize","id":4477,"timestamp":1673492558308,"duration":1449,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-hash","id":4481,"timestamp":1673492570153,"duration":4053,"tags":{},"startTime":1664596536450},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"NextJsBuildManifest-generateClientManifest","id":4483,"timestamp":1673492576166,"duration":61,"tags":{},"startTime":1664596536456},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"NextJsBuildManifest-createassets","id":4482,"timestamp":1673492576096,"duration":135,"tags":{},"startTime":1664596536456},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-seal","id":4475,"timestamp":1673492536540,"duration":40916,"tags":{},"startTime":1664596536416},{"traceId":"43f2de6d909a73f7","parentId":4457,"name":"webpack-compilation","id":4458,"timestamp":1673492406252,"duration":171231,"tags":{"name":"client"},"startTime":1664596536286},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4457,"timestamp":1673492395520,"duration":183136,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596536275}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4486,"timestamp":1673508855452,"duration":0,"tags":{"errorCount":1},"startTime":1664596552735},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4492,"timestamp":1673508867627,"duration":0,"tags":{"errorCount":1},"startTime":1664596552747},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4491,"timestamp":1673508861562,"duration":12602,"tags":{"request":"private-next-pages/_error"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4490,"timestamp":1673508861558,"duration":12618,"tags":{"request":"private-next-pages/_document"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4494,"name":"next-swc-transform","id":4495,"timestamp":1673508873630,"duration":1693,"tags":{},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4493,"name":"next-swc-loader","id":4494,"timestamp":1673508873543,"duration":1785,"tags":{},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"build-module-tsx","id":4493,"timestamp":1673508873359,"duration":8916,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4489,"timestamp":1673508861449,"duration":25512,"tags":{"request":"private-next-pages/_app"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"make","id":4488,"timestamp":1673508861282,"duration":25741,"tags":{},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-chunk-graph","id":4497,"timestamp":1673508887335,"duration":228,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-modules","id":4499,"timestamp":1673508887570,"duration":2,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-chunks","id":4500,"timestamp":1673508887580,"duration":21,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-tree","id":4501,"timestamp":1673508887608,"duration":5,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize","id":4498,"timestamp":1673508887568,"duration":95,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-hash","id":4502,"timestamp":1673508888951,"duration":541,"tags":{},"startTime":1664596552769},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-seal","id":4496,"timestamp":1673508887262,"duration":4582,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"webpack-compilation","id":4487,"timestamp":1673508861079,"duration":30791,"tags":{"name":"server"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"emit","id":4503,"timestamp":1673508891883,"duration":2218,"tags":{},"startTime":1664596552772},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4484,"timestamp":1673508853712,"duration":40735,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552733},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4506,"timestamp":1673508901380,"duration":6404,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4507,"timestamp":1673508901416,"duration":6989,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"read-resource","id":4514,"timestamp":1673508908693,"duration":88,"tags":{},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4516,"name":"postcss-process","id":4517,"timestamp":1673508908809,"duration":36180,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"postcss-loader","id":4516,"timestamp":1673508908798,"duration":36627,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"css-loader","id":4520,"timestamp":1673508945443,"duration":11719,"tags":{"astUsed":"true"},"startTime":1664596552825},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"build-module-css","id":4513,"timestamp":1673508908530,"duration":54599,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4518,"name":"next-swc-transform","id":4519,"timestamp":1673508909135,"duration":54207,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4515,"name":"next-swc-loader","id":4518,"timestamp":1673508909100,"duration":54245,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"build-module-tsx","id":4515,"timestamp":1673508908709,"duration":58867,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4511,"timestamp":1673508901429,"duration":66409,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4510,"timestamp":1673508901426,"duration":66428,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4512,"timestamp":1673508901431,"duration":70461,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4508,"timestamp":1673508901420,"duration":82400,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4509,"timestamp":1673508901423,"duration":101791,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"make","id":4505,"timestamp":1673508899878,"duration":103358,"tags":{},"startTime":1664596552780},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-chunk-graph","id":4522,"timestamp":1673509009196,"duration":16386,"tags":{},"startTime":1664596552889},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-modules","id":4524,"timestamp":1673509025605,"duration":2,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-chunks","id":4525,"timestamp":1673509025620,"duration":35,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-tree","id":4526,"timestamp":1673509025673,"duration":3,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize","id":4523,"timestamp":1673509025598,"duration":1490,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-hash","id":4527,"timestamp":1673509039382,"duration":5801,"tags":{},"startTime":1664596552919},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"NextJsBuildManifest-generateClientManifest","id":4529,"timestamp":1673509053627,"duration":62,"tags":{},"startTime":1664596552933},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"NextJsBuildManifest-createassets","id":4528,"timestamp":1673509053567,"duration":130,"tags":{},"startTime":1664596552933},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-seal","id":4521,"timestamp":1673509004402,"duration":51164,"tags":{},"startTime":1664596552884},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"webpack-compilation","id":4504,"timestamp":1673508899713,"duration":155878,"tags":{"name":"client"},"startTime":1664596552779},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"emit","id":4530,"timestamp":1673509055610,"duration":123261,"tags":{},"startTime":1664596552935},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4485,"timestamp":1673508854355,"duration":325957,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552734}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4532,"timestamp":1673509195728,"duration":0,"tags":{},"startTime":1664596553076},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4533,"timestamp":1673509195994,"duration":0,"tags":{},"startTime":1664596553076},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4536,"timestamp":1673509210303,"duration":5955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4543,"timestamp":1664596553075000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4537,"timestamp":1673509210379,"duration":6886,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"read-resource","id":4545,"timestamp":1673509217584,"duration":41,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4546,"name":"postcss-process","id":4547,"timestamp":1673509217657,"duration":35536,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"postcss-loader","id":4546,"timestamp":1673509217645,"duration":36168,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"css-loader","id":4548,"timestamp":1673509253838,"duration":12982,"tags":{"astUsed":"true"},"startTime":1664596553134},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"build-module-css","id":4544,"timestamp":1673509217378,"duration":50975,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4541,"timestamp":1673509210392,"duration":58694,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4540,"timestamp":1673509210389,"duration":58716,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4542,"timestamp":1673509210394,"duration":62927,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4538,"timestamp":1673509210384,"duration":63285,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4549,"timestamp":1664596553086000,"duration":75999,"tags":{"clientId":1664595301700},"startTime":1664596553163},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4539,"timestamp":1673509210386,"duration":93389,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"make","id":4535,"timestamp":1673509208171,"duration":95624,"tags":{},"startTime":1664596553088},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-chunk-graph","id":4551,"timestamp":1673509308293,"duration":19297,"tags":{},"startTime":1664596553188},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-modules","id":4553,"timestamp":1673509327616,"duration":3,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-chunks","id":4554,"timestamp":1673509327628,"duration":106,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-tree","id":4555,"timestamp":1673509327755,"duration":3,"tags":{},"startTime":1664596553208},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize","id":4552,"timestamp":1673509327609,"duration":1450,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-hash","id":4556,"timestamp":1673509338754,"duration":5652,"tags":{},"startTime":1664596553219},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"NextJsBuildManifest-generateClientManifest","id":4558,"timestamp":1673509345326,"duration":61,"tags":{},"startTime":1664596553225},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"NextJsBuildManifest-createassets","id":4557,"timestamp":1673509345267,"duration":123,"tags":{},"startTime":1664596553225},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-seal","id":4550,"timestamp":1673509305018,"duration":41408,"tags":{},"startTime":1664596553185},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"webpack-compilation","id":4534,"timestamp":1673509207871,"duration":138577,"tags":{"name":"client"},"startTime":1664596553088},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"emit","id":4559,"timestamp":1673509346462,"duration":2701,"tags":{},"startTime":1664596553226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4531,"timestamp":1673509194858,"duration":154778,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596553075}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4560,"timestamp":1673509359462,"duration":0,"tags":{},"startTime":1664596553239},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4561,"timestamp":1673509396692,"duration":0,"tags":{},"startTime":1664596553276},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4566,"timestamp":1673527155291,"duration":6225,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4571,"timestamp":1673527155526,"duration":10177,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"read-resource","id":4574,"timestamp":1673527165243,"duration":1040,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4578,"name":"postcss-process","id":4579,"timestamp":1673527166303,"duration":30003,"tags":{},"startTime":1664596571046},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"postcss-loader","id":4578,"timestamp":1673527166296,"duration":30335,"tags":{},"startTime":1664596571046},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"css-loader","id":4580,"timestamp":1673527196655,"duration":11209,"tags":{"astUsed":"true"},"startTime":1664596571076},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"build-module-css","id":4573,"timestamp":1673527165127,"duration":43819,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4576,"name":"next-swc-transform","id":4577,"timestamp":1673527165424,"duration":44547,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4575,"name":"next-swc-loader","id":4576,"timestamp":1673527165352,"duration":44621,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"build-module-tsx","id":4575,"timestamp":1673527165282,"duration":48993,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4567,"timestamp":1673527155494,"duration":59181,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4570,"timestamp":1673527155522,"duration":60193,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4572,"timestamp":1673527155528,"duration":65872,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4568,"timestamp":1673527155515,"duration":70248,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4569,"timestamp":1673527155518,"duration":100039,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"make","id":4565,"timestamp":1673527151354,"duration":104228,"tags":{},"startTime":1664596571031},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-chunk-graph","id":4582,"timestamp":1673527259892,"duration":3626,"tags":{},"startTime":1664596571140},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-modules","id":4584,"timestamp":1673527263544,"duration":2,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-chunks","id":4585,"timestamp":1673527263555,"duration":34,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-tree","id":4586,"timestamp":1673527263608,"duration":3,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize","id":4583,"timestamp":1673527263530,"duration":1114,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-hash","id":4587,"timestamp":1673527274579,"duration":3752,"tags":{},"startTime":1664596571154},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"NextJsBuildManifest-generateClientManifest","id":4589,"timestamp":1673527288926,"duration":45,"tags":{},"startTime":1664596571169},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"NextJsBuildManifest-createassets","id":4588,"timestamp":1673527288877,"duration":105,"tags":{},"startTime":1664596571169},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-seal","id":4581,"timestamp":1673527256623,"duration":33994,"tags":{},"startTime":1664596571136},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"webpack-compilation","id":4564,"timestamp":1673527151111,"duration":139529,"tags":{"name":"client"},"startTime":1664596571031},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"emit","id":4590,"timestamp":1673527290653,"duration":99015,"tags":{},"startTime":1664596571170},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4562,"timestamp":1673527138311,"duration":252155,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571018},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4597,"timestamp":1673527404280,"duration":0,"tags":{},"startTime":1664596571284},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4598,"timestamp":1673527404447,"duration":0,"tags":{},"startTime":1664596571284},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4596,"timestamp":1673527403634,"duration":8720,"tags":{"request":"private-next-pages/_error"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4595,"timestamp":1673527403630,"duration":8738,"tags":{"request":"private-next-pages/_document"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4600,"name":"next-swc-transform","id":4601,"timestamp":1673527411512,"duration":2825,"tags":{},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":4599,"name":"next-swc-loader","id":4600,"timestamp":1673527411435,"duration":2906,"tags":{},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"build-module-tsx","id":4599,"timestamp":1673527411265,"duration":5592,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4602,"timestamp":1664596571284000,"duration":13999,"tags":{"clientId":1664595509559},"startTime":1664596571299},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4594,"timestamp":1673527403558,"duration":18457,"tags":{"request":"private-next-pages/_app"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"make","id":4592,"timestamp":1673527391875,"duration":30160,"tags":{},"startTime":1664596571272},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-chunk-graph","id":4604,"timestamp":1673527422415,"duration":243,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-modules","id":4606,"timestamp":1673527422667,"duration":2,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-chunks","id":4607,"timestamp":1673527422679,"duration":27,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-tree","id":4608,"timestamp":1673527422713,"duration":5,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize","id":4605,"timestamp":1673527422663,"duration":119,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-hash","id":4609,"timestamp":1673527424096,"duration":441,"tags":{},"startTime":1664596571304},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-seal","id":4603,"timestamp":1673527422340,"duration":3590,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"webpack-compilation","id":4591,"timestamp":1673527391637,"duration":34319,"tags":{"name":"server"},"startTime":1664596571271},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"emit","id":4610,"timestamp":1673527425973,"duration":4161,"tags":{},"startTime":1664596571306},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4563,"timestamp":1673527138585,"duration":291770,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571018},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4620,"timestamp":1664596571284000,"duration":28999,"tags":{"clientId":1664595301700},"startTime":1664596571317},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4613,"timestamp":1673527434910,"duration":3481,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4614,"timestamp":1673527434954,"duration":3931,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"read-resource","id":4622,"timestamp":1673527439085,"duration":33,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4623,"name":"postcss-process","id":4624,"timestamp":1673527439141,"duration":33691,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"postcss-loader","id":4623,"timestamp":1673527439133,"duration":33949,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"css-loader","id":4625,"timestamp":1673527473104,"duration":8976,"tags":{"astUsed":"true"},"startTime":1664596571353},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"build-module-css","id":4621,"timestamp":1673527438969,"duration":44549,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4618,"timestamp":1673527434966,"duration":51045,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4617,"timestamp":1673527434963,"duration":51068,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4619,"timestamp":1673527434968,"duration":55030,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4615,"timestamp":1673527434958,"duration":55399,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4616,"timestamp":1673527434960,"duration":87864,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"make","id":4612,"timestamp":1673527433586,"duration":89259,"tags":{},"startTime":1664596571313},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-chunk-graph","id":4627,"timestamp":1673527527450,"duration":16857,"tags":{},"startTime":1664596571407},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-modules","id":4629,"timestamp":1673527544333,"duration":3,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-chunks","id":4630,"timestamp":1673527544345,"duration":38,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-tree","id":4631,"timestamp":1673527544406,"duration":3,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize","id":4628,"timestamp":1673527544325,"duration":1642,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-hash","id":4632,"timestamp":1673527556493,"duration":3925,"tags":{},"startTime":1664596571436},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"NextJsBuildManifest-generateClientManifest","id":4634,"timestamp":1673527561352,"duration":165,"tags":{},"startTime":1664596571441},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"NextJsBuildManifest-createassets","id":4633,"timestamp":1673527561286,"duration":236,"tags":{},"startTime":1664596571441},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-seal","id":4626,"timestamp":1673527523877,"duration":38652,"tags":{},"startTime":1664596571404},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"webpack-compilation","id":4611,"timestamp":1673527433425,"duration":129128,"tags":{"name":"client"},"startTime":1664596571313},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"emit","id":4635,"timestamp":1673527562566,"duration":6101,"tags":{},"startTime":1664596571442},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4593,"timestamp":1673527403246,"duration":165982,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596571283}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4636,"timestamp":1673527578830,"duration":0,"tags":{},"startTime":1664596571459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4637,"timestamp":1673527581042,"duration":0,"tags":{},"startTime":1664596571461},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4644,"timestamp":1673531175259,"duration":5887,"tags":{"request":"private-next-pages/_error"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4643,"timestamp":1673531175255,"duration":5905,"tags":{"request":"private-next-pages/_document"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4646,"name":"next-swc-transform","id":4647,"timestamp":1673531180759,"duration":1585,"tags":{},"startTime":1664596575061},{"traceId":"43f2de6d909a73f7","parentId":4645,"name":"next-swc-loader","id":4646,"timestamp":1673531180721,"duration":1628,"tags":{},"startTime":1664596575060},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"build-module-tsx","id":4645,"timestamp":1673531180630,"duration":3949,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575060},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4642,"timestamp":1673531175211,"duration":11591,"tags":{"request":"private-next-pages/_app"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"make","id":4641,"timestamp":1673531175137,"duration":11686,"tags":{},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-chunk-graph","id":4649,"timestamp":1673531187097,"duration":193,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-modules","id":4651,"timestamp":1673531187298,"duration":2,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-chunks","id":4652,"timestamp":1673531187308,"duration":16,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-tree","id":4653,"timestamp":1673531187332,"duration":2,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize","id":4650,"timestamp":1673531187295,"duration":96,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-hash","id":4654,"timestamp":1673531188769,"duration":1037,"tags":{},"startTime":1664596575069},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-seal","id":4648,"timestamp":1673531187033,"duration":4393,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"webpack-compilation","id":4640,"timestamp":1673531174983,"duration":16468,"tags":{"name":"server"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"emit","id":4655,"timestamp":1673531191465,"duration":2072,"tags":{},"startTime":1664596575071},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4638,"timestamp":1673531168161,"duration":25602,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575048},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4658,"timestamp":1673531198792,"duration":5019,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4659,"timestamp":1673531198834,"duration":5572,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"read-resource","id":4666,"timestamp":1673531204600,"duration":79,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4668,"name":"postcss-process","id":4669,"timestamp":1673531204699,"duration":26934,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"postcss-loader","id":4668,"timestamp":1673531204691,"duration":27090,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"css-loader","id":4672,"timestamp":1673531231798,"duration":10466,"tags":{"astUsed":"true"},"startTime":1664596575112},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"build-module-css","id":4665,"timestamp":1673531204497,"duration":38666,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4670,"name":"next-swc-transform","id":4671,"timestamp":1673531205130,"duration":38193,"tags":{},"startTime":1664596575085},{"traceId":"43f2de6d909a73f7","parentId":4667,"name":"next-swc-loader","id":4670,"timestamp":1673531205085,"duration":38239,"tags":{},"startTime":1664596575085},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"build-module-tsx","id":4667,"timestamp":1673531204621,"duration":40921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4663,"timestamp":1673531198861,"duration":47878,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4662,"timestamp":1673531198857,"duration":47918,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4664,"timestamp":1673531198863,"duration":56745,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4660,"timestamp":1673531198845,"duration":79547,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4661,"timestamp":1673531198847,"duration":126336,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"make","id":4657,"timestamp":1673531197471,"duration":127744,"tags":{},"startTime":1664596575077},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-chunk-graph","id":4674,"timestamp":1673531329803,"duration":16435,"tags":{},"startTime":1664596575210},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-modules","id":4676,"timestamp":1673531346257,"duration":2,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-chunks","id":4677,"timestamp":1673531346267,"duration":70,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-tree","id":4678,"timestamp":1673531346355,"duration":6,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize","id":4675,"timestamp":1673531346250,"duration":1543,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-hash","id":4679,"timestamp":1673531361944,"duration":7186,"tags":{},"startTime":1664596575242},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"NextJsBuildManifest-generateClientManifest","id":4681,"timestamp":1673531379603,"duration":70,"tags":{},"startTime":1664596575259},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"NextJsBuildManifest-createassets","id":4680,"timestamp":1673531379537,"duration":144,"tags":{},"startTime":1664596575259},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-seal","id":4673,"timestamp":1673531326476,"duration":55768,"tags":{},"startTime":1664596575206},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"webpack-compilation","id":4656,"timestamp":1673531197309,"duration":184979,"tags":{"name":"client"},"startTime":1664596575077},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"emit","id":4682,"timestamp":1673531382317,"duration":100036,"tags":{},"startTime":1664596575262},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4639,"timestamp":1673531168298,"duration":314765,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575048}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4684,"timestamp":1673531494098,"duration":0,"tags":{},"startTime":1664596575374},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4685,"timestamp":1673531494605,"duration":0,"tags":{},"startTime":1664596575374},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4695,"timestamp":1664596575374000,"duration":19999,"tags":{"clientId":1664595509559},"startTime":1664596575395},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4688,"timestamp":1673531509750,"duration":6542,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596575389},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4689,"timestamp":1673531509788,"duration":7363,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"read-resource","id":4697,"timestamp":1673531517393,"duration":34,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4698,"name":"postcss-process","id":4699,"timestamp":1673531517455,"duration":34857,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"postcss-loader","id":4698,"timestamp":1673531517445,"duration":35085,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"css-loader","id":4700,"timestamp":1673531552570,"duration":11190,"tags":{"astUsed":"true"},"startTime":1664596575432},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"build-module-css","id":4696,"timestamp":1673531517245,"duration":48028,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4701,"timestamp":1664596575375000,"duration":25999,"tags":{"clientId":1664595301700},"startTime":1664596575445},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4693,"timestamp":1673531509800,"duration":56284,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4692,"timestamp":1673531509797,"duration":56298,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4694,"timestamp":1673531509802,"duration":63201,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4690,"timestamp":1673531509792,"duration":63534,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4691,"timestamp":1673531509794,"duration":97025,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"make","id":4687,"timestamp":1673531508139,"duration":98703,"tags":{},"startTime":1664596575388},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-chunk-graph","id":4703,"timestamp":1673531612418,"duration":4396,"tags":{},"startTime":1664596575492},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-modules","id":4705,"timestamp":1673531616836,"duration":2,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-chunks","id":4706,"timestamp":1673531616847,"duration":33,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-tree","id":4707,"timestamp":1673531616904,"duration":3,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize","id":4704,"timestamp":1673531616829,"duration":1051,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-hash","id":4708,"timestamp":1673531628385,"duration":3841,"tags":{},"startTime":1664596575508},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"NextJsBuildManifest-generateClientManifest","id":4710,"timestamp":1673531633036,"duration":49,"tags":{},"startTime":1664596575513},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"NextJsBuildManifest-createassets","id":4709,"timestamp":1673531632994,"duration":94,"tags":{},"startTime":1664596575513},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-seal","id":4702,"timestamp":1673531607888,"duration":26245,"tags":{},"startTime":1664596575488},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"webpack-compilation","id":4686,"timestamp":1673531507943,"duration":126225,"tags":{"name":"client"},"startTime":1664596575388},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"emit","id":4711,"timestamp":1673531634186,"duration":3616,"tags":{},"startTime":1664596575514},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4683,"timestamp":1673531493493,"duration":144863,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596575373}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4712,"timestamp":1673531651028,"duration":0,"tags":{},"startTime":1664596575531},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4713,"timestamp":1673531651078,"duration":0,"tags":{},"startTime":1664596575531},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4718,"timestamp":1673541420750,"duration":6444,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596585300},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4719,"timestamp":1673541420852,"duration":8752,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"read-resource","id":4726,"timestamp":1673541430081,"duration":160,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4728,"name":"postcss-process","id":4729,"timestamp":1673541430279,"duration":42772,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"postcss-loader","id":4728,"timestamp":1673541430263,"duration":43156,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"css-loader","id":4732,"timestamp":1673541473444,"duration":10931,"tags":{"astUsed":"true"},"startTime":1664596585353},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"build-module-css","id":4725,"timestamp":1673541429827,"duration":65373,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4730,"name":"next-swc-transform","id":4731,"timestamp":1673541430808,"duration":64617,"tags":{},"startTime":1664596585311},{"traceId":"43f2de6d909a73f7","parentId":4727,"name":"next-swc-loader","id":4730,"timestamp":1673541430660,"duration":64769,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"build-module-tsx","id":4727,"timestamp":1673541430123,"duration":71108,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4723,"timestamp":1673541420869,"duration":80688,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4722,"timestamp":1673541420865,"duration":80707,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4724,"timestamp":1673541420872,"duration":83878,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4720,"timestamp":1673541420858,"duration":92663,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4721,"timestamp":1673541420862,"duration":113176,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"make","id":4717,"timestamp":1673541419277,"duration":114782,"tags":{},"startTime":1664596585299},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-chunk-graph","id":4734,"timestamp":1673541538773,"duration":18541,"tags":{},"startTime":1664596585419},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-modules","id":4736,"timestamp":1673541557362,"duration":11,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-chunks","id":4737,"timestamp":1673541557403,"duration":91,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-tree","id":4738,"timestamp":1673541557530,"duration":12,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize","id":4735,"timestamp":1673541557339,"duration":1672,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-hash","id":4739,"timestamp":1673541573804,"duration":7019,"tags":{},"startTime":1664596585454},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"NextJsBuildManifest-generateClientManifest","id":4741,"timestamp":1673541593056,"duration":73,"tags":{},"startTime":1664596585473},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"NextJsBuildManifest-createassets","id":4740,"timestamp":1673541592978,"duration":160,"tags":{},"startTime":1664596585473},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-seal","id":4733,"timestamp":1673541535338,"duration":60649,"tags":{},"startTime":1664596585415},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"webpack-compilation","id":4716,"timestamp":1673541419028,"duration":177010,"tags":{"name":"client"},"startTime":1664596585299},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"emit","id":4742,"timestamp":1673541596068,"duration":106819,"tags":{},"startTime":1664596585476},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4714,"timestamp":1673541404899,"duration":307249,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585285},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4749,"timestamp":1673541727885,"duration":0,"tags":{},"startTime":1664596585608},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4750,"timestamp":1673541727943,"duration":0,"tags":{},"startTime":1664596585608},{"traceId":"43f2de6d909a73f7","parentId":4752,"name":"next-swc-transform","id":4753,"timestamp":1673541737874,"duration":3508,"tags":{},"startTime":1664596585618},{"traceId":"43f2de6d909a73f7","parentId":4751,"name":"next-swc-loader","id":4752,"timestamp":1673541737785,"duration":3605,"tags":{},"startTime":1664596585618},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"build-module-tsx","id":4751,"timestamp":1673541737569,"duration":15367,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585617},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4748,"timestamp":1673541726857,"duration":26479,"tags":{"request":"private-next-pages/_error"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4747,"timestamp":1673541726852,"duration":26494,"tags":{"request":"private-next-pages/_document"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4746,"timestamp":1673541726785,"duration":30631,"tags":{"request":"private-next-pages/_app"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"make","id":4744,"timestamp":1673541714677,"duration":42756,"tags":{},"startTime":1664596585594},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-chunk-graph","id":4755,"timestamp":1673541757819,"duration":234,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-modules","id":4757,"timestamp":1673541758060,"duration":2,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-chunks","id":4758,"timestamp":1673541758095,"duration":34,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-tree","id":4759,"timestamp":1673541758156,"duration":14,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize","id":4756,"timestamp":1673541758057,"duration":201,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-hash","id":4760,"timestamp":1673541760045,"duration":855,"tags":{},"startTime":1664596585640},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-seal","id":4754,"timestamp":1673541757743,"duration":6050,"tags":{},"startTime":1664596585637},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"webpack-compilation","id":4743,"timestamp":1673541714319,"duration":49505,"tags":{"name":"server"},"startTime":1664596585594},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"emit","id":4761,"timestamp":1673541763840,"duration":7553,"tags":{},"startTime":1664596585644},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4715,"timestamp":1673541405220,"duration":366760,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585285},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4771,"timestamp":1664596585607000,"duration":53999,"tags":{"clientId":1664595509559},"startTime":1664596585662},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4764,"timestamp":1673541778006,"duration":5070,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4772,"timestamp":1664596585607000,"duration":55000,"tags":{"clientId":1664595301700},"startTime":1664596585663},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4765,"timestamp":1673541778080,"duration":5678,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"read-resource","id":4774,"timestamp":1673541784032,"duration":40,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4775,"name":"postcss-process","id":4776,"timestamp":1673541784100,"duration":38800,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"postcss-loader","id":4775,"timestamp":1673541784089,"duration":39410,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"css-loader","id":4777,"timestamp":1673541823521,"duration":9377,"tags":{"astUsed":"true"},"startTime":1664596585703},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"build-module-css","id":4773,"timestamp":1673541783847,"duration":52537,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4769,"timestamp":1673541778092,"duration":60874,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4768,"timestamp":1673541778089,"duration":60894,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4770,"timestamp":1673541778094,"duration":64746,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4766,"timestamp":1673541778083,"duration":65167,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4767,"timestamp":1673541778086,"duration":96026,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"make","id":4763,"timestamp":1673541775537,"duration":98596,"tags":{},"startTime":1664596585655},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-chunk-graph","id":4779,"timestamp":1673541878431,"duration":17003,"tags":{},"startTime":1664596585758},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-modules","id":4781,"timestamp":1673541895459,"duration":3,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-chunks","id":4782,"timestamp":1673541895471,"duration":39,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-tree","id":4783,"timestamp":1673541895531,"duration":3,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize","id":4780,"timestamp":1673541895451,"duration":1474,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-hash","id":4784,"timestamp":1673541908908,"duration":5800,"tags":{},"startTime":1664596585789},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"NextJsBuildManifest-generateClientManifest","id":4786,"timestamp":1673541915671,"duration":54,"tags":{},"startTime":1664596585795},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"NextJsBuildManifest-createassets","id":4785,"timestamp":1673541915617,"duration":110,"tags":{},"startTime":1664596585795},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-seal","id":4778,"timestamp":1673541875093,"duration":41595,"tags":{},"startTime":1664596585755},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"webpack-compilation","id":4762,"timestamp":1673541775349,"duration":141361,"tags":{"name":"client"},"startTime":1664596585655},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"emit","id":4787,"timestamp":1673541916724,"duration":5692,"tags":{},"startTime":1664596585796},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4745,"timestamp":1673541726409,"duration":196801,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596585606}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4788,"timestamp":1673541932568,"duration":0,"tags":{},"startTime":1664596585812},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4789,"timestamp":1673541932614,"duration":0,"tags":{},"startTime":1664596585812},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4796,"timestamp":1673550418998,"duration":7446,"tags":{"request":"private-next-pages/_error"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4795,"timestamp":1673550418993,"duration":7471,"tags":{"request":"private-next-pages/_document"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4798,"name":"next-swc-transform","id":4799,"timestamp":1673550425577,"duration":2105,"tags":{},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4797,"name":"next-swc-loader","id":4798,"timestamp":1673550425532,"duration":2158,"tags":{},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"build-module-tsx","id":4797,"timestamp":1673550425276,"duration":7214,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4794,"timestamp":1673550418949,"duration":19387,"tags":{"request":"private-next-pages/_app"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"make","id":4793,"timestamp":1673550418798,"duration":19558,"tags":{},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-chunk-graph","id":4801,"timestamp":1673550438697,"duration":174,"tags":{},"startTime":1664596594318},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-modules","id":4803,"timestamp":1673550438882,"duration":2,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-chunks","id":4804,"timestamp":1673550438890,"duration":15,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-tree","id":4805,"timestamp":1673550438913,"duration":2,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize","id":4802,"timestamp":1673550438879,"duration":87,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-hash","id":4806,"timestamp":1673550440103,"duration":477,"tags":{},"startTime":1664596594320},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-seal","id":4800,"timestamp":1673550438631,"duration":3255,"tags":{},"startTime":1664596594318},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"webpack-compilation","id":4792,"timestamp":1673550418632,"duration":23270,"tags":{"name":"server"},"startTime":1664596594298},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"emit","id":4807,"timestamp":1673550441912,"duration":2621,"tags":{},"startTime":1664596594322},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4790,"timestamp":1673550411737,"duration":32988,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594291},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4810,"timestamp":1673550450133,"duration":3733,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4811,"timestamp":1673550450173,"duration":4391,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"read-resource","id":4818,"timestamp":1673550454777,"duration":90,"tags":{},"startTime":1664596594334},{"traceId":"43f2de6d909a73f7","parentId":4820,"name":"postcss-process","id":4821,"timestamp":1673550454886,"duration":36072,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"postcss-loader","id":4820,"timestamp":1673550454878,"duration":36266,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"css-loader","id":4824,"timestamp":1673550491164,"duration":11867,"tags":{"astUsed":"true"},"startTime":1664596594371},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"build-module-css","id":4817,"timestamp":1673550454664,"duration":49356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596594334},{"traceId":"43f2de6d909a73f7","parentId":4822,"name":"next-swc-transform","id":4823,"timestamp":1673550455111,"duration":49072,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4819,"name":"next-swc-loader","id":4822,"timestamp":1673550455076,"duration":49109,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"build-module-tsx","id":4819,"timestamp":1673550454802,"duration":52148,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4815,"timestamp":1673550450190,"duration":56996,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4814,"timestamp":1673550450187,"duration":57008,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4816,"timestamp":1673550450192,"duration":59965,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4812,"timestamp":1673550450182,"duration":70691,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4813,"timestamp":1673550450184,"duration":90481,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"make","id":4809,"timestamp":1673550448815,"duration":91872,"tags":{},"startTime":1664596594329},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-chunk-graph","id":4826,"timestamp":1673550545840,"duration":5768,"tags":{},"startTime":1664596594426},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-modules","id":4828,"timestamp":1673550551629,"duration":2,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-chunks","id":4829,"timestamp":1673550551640,"duration":36,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-tree","id":4830,"timestamp":1673550551699,"duration":3,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize","id":4827,"timestamp":1673550551622,"duration":1291,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-hash","id":4831,"timestamp":1673550560534,"duration":4501,"tags":{},"startTime":1664596594440},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"NextJsBuildManifest-generateClientManifest","id":4833,"timestamp":1673550578794,"duration":71,"tags":{},"startTime":1664596594459},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"NextJsBuildManifest-createassets","id":4832,"timestamp":1673550578723,"duration":152,"tags":{},"startTime":1664596594458},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-seal","id":4825,"timestamp":1673550541680,"duration":39397,"tags":{},"startTime":1664596594421},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"webpack-compilation","id":4808,"timestamp":1673550448641,"duration":132476,"tags":{"name":"client"},"startTime":1664596594328},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"emit","id":4834,"timestamp":1673550581138,"duration":100796,"tags":{},"startTime":1664596594461},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4791,"timestamp":1673550411843,"duration":270734,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594292}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4835,"timestamp":1673550702598,"duration":0,"tags":{},"startTime":1664596594582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4836,"timestamp":1673550702674,"duration":0,"tags":{},"startTime":1664596594582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4837,"timestamp":1664596594292000,"duration":306000,"tags":{"clientId":1664595509559},"startTime":1664596594598},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4838,"timestamp":1664596594292999,"duration":305000,"tags":{"clientId":1664595301700},"startTime":1664596594598},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4843,"timestamp":1673556170883,"duration":5355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4844,"timestamp":1673556170964,"duration":6291,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"read-resource","id":4851,"timestamp":1673556177601,"duration":104,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4853,"name":"postcss-process","id":4854,"timestamp":1673556177733,"duration":38517,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"postcss-loader","id":4853,"timestamp":1673556177724,"duration":38678,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"css-loader","id":4857,"timestamp":1673556216443,"duration":8472,"tags":{"astUsed":"true"},"startTime":1664596600096},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"build-module-css","id":4850,"timestamp":1673556177433,"duration":48898,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4855,"name":"next-swc-transform","id":4856,"timestamp":1673556178049,"duration":48508,"tags":{},"startTime":1664596600058},{"traceId":"43f2de6d909a73f7","parentId":4852,"name":"next-swc-loader","id":4855,"timestamp":1673556177988,"duration":48571,"tags":{},"startTime":1664596600058},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"build-module-tsx","id":4852,"timestamp":1673556177628,"duration":51728,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4848,"timestamp":1673556170981,"duration":60271,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4847,"timestamp":1673556170977,"duration":60290,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4849,"timestamp":1673556170984,"duration":63529,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4845,"timestamp":1673556170970,"duration":71416,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4846,"timestamp":1673556170974,"duration":92027,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"make","id":4842,"timestamp":1673556169873,"duration":93151,"tags":{},"startTime":1664596600050},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":1673556267290,"duration":16115,"tags":{},"startTime":1664596600147},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":1673556283425,"duration":2,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":1673556283436,"duration":49,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":1673556283503,"duration":3,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize","id":4860,"timestamp":1673556283419,"duration":1407,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-hash","id":4864,"timestamp":1673556294931,"duration":4117,"tags":{},"startTime":1664596600175},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":1673556311066,"duration":66,"tags":{},"startTime":1664596600191},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":1673556310994,"duration":149,"tags":{},"startTime":1664596600191},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-seal","id":4858,"timestamp":1673556264120,"duration":49182,"tags":{},"startTime":1664596600144},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"webpack-compilation","id":4841,"timestamp":1673556169631,"duration":143702,"tags":{"name":"client"},"startTime":1664596600049},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"emit","id":4867,"timestamp":1673556313360,"duration":121480,"tags":{},"startTime":1664596600193},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4839,"timestamp":1673556156988,"duration":278438,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600037},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4874,"timestamp":1673556465690,"duration":0,"tags":{},"startTime":1664596600345},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4875,"timestamp":1673556465942,"duration":0,"tags":{},"startTime":1664596600346},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4873,"timestamp":1673556449979,"duration":22050,"tags":{"request":"private-next-pages/_error"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4872,"timestamp":1673556449974,"duration":22069,"tags":{"request":"private-next-pages/_document"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4877,"name":"next-swc-transform","id":4878,"timestamp":1673556470483,"duration":2188,"tags":{},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4876,"name":"next-swc-loader","id":4877,"timestamp":1673556470371,"duration":2302,"tags":{},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"build-module-tsx","id":4876,"timestamp":1673556470201,"duration":8810,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4871,"timestamp":1673556449925,"duration":32940,"tags":{"request":"private-next-pages/_app"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"make","id":4869,"timestamp":1673556437245,"duration":45639,"tags":{},"startTime":1664596600317},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4880,"timestamp":1673556483172,"duration":235,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4882,"timestamp":1673556483415,"duration":2,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4883,"timestamp":1673556483424,"duration":25,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4884,"timestamp":1673556483456,"duration":4,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize","id":4881,"timestamp":1673556483411,"duration":103,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-hash","id":4885,"timestamp":1673556484656,"duration":408,"tags":{},"startTime":1664596600364},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-seal","id":4879,"timestamp":1673556483104,"duration":3427,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"webpack-compilation","id":4868,"timestamp":1673556436980,"duration":49600,"tags":{"name":"server"},"startTime":1664596600317},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"emit","id":4886,"timestamp":1673556486609,"duration":3592,"tags":{},"startTime":1664596600366},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4840,"timestamp":1673556157307,"duration":333134,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600037},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4896,"timestamp":1664596600329999,"duration":49000,"tags":{"clientId":1664595509559},"startTime":1664596600379},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4889,"timestamp":1673556497136,"duration":3660,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4890,"timestamp":1673556497176,"duration":4166,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"read-resource","id":4898,"timestamp":1673556501552,"duration":31,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4899,"name":"postcss-process","id":4900,"timestamp":1673556501608,"duration":34108,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"postcss-loader","id":4899,"timestamp":1673556501600,"duration":34394,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"css-loader","id":4901,"timestamp":1673556536016,"duration":11123,"tags":{"astUsed":"true"},"startTime":1664596600416},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"build-module-css","id":4897,"timestamp":1673556501429,"duration":46915,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4902,"timestamp":1664596600329999,"duration":57000,"tags":{"clientId":1664595301700},"startTime":1664596600428},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4894,"timestamp":1673556497188,"duration":51648,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4893,"timestamp":1673556497185,"duration":51662,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4895,"timestamp":1673556497190,"duration":55092,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4891,"timestamp":1673556497180,"duration":55480,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4892,"timestamp":1673556497182,"duration":87221,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"make","id":4888,"timestamp":1673556493944,"duration":90482,"tags":{},"startTime":1664596600374},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-chunk-graph","id":4904,"timestamp":1673556588798,"duration":17393,"tags":{},"startTime":1664596600469},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-modules","id":4906,"timestamp":1673556606217,"duration":3,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-chunks","id":4907,"timestamp":1673556606229,"duration":38,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-tree","id":4908,"timestamp":1673556606287,"duration":3,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize","id":4905,"timestamp":1673556606208,"duration":1681,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-hash","id":4909,"timestamp":1673556619202,"duration":3679,"tags":{},"startTime":1664596600499},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"NextJsBuildManifest-generateClientManifest","id":4911,"timestamp":1673556624139,"duration":70,"tags":{},"startTime":1664596600504},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"NextJsBuildManifest-createassets","id":4910,"timestamp":1673556624059,"duration":157,"tags":{},"startTime":1664596600504},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-seal","id":4903,"timestamp":1673556585538,"duration":39761,"tags":{},"startTime":1664596600465},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"webpack-compilation","id":4887,"timestamp":1673556493759,"duration":131565,"tags":{"name":"client"},"startTime":1664596600373},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"emit","id":4912,"timestamp":1673556625339,"duration":4635,"tags":{},"startTime":1664596600505},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4870,"timestamp":1673556449650,"duration":180862,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596600329}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4913,"timestamp":1673556639783,"duration":0,"tags":{},"startTime":1664596600520},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4914,"timestamp":1673556639837,"duration":0,"tags":{},"startTime":1664596600520},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4919,"timestamp":1673559070611,"duration":6898,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4920,"timestamp":1673559070647,"duration":7517,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"read-resource","id":4927,"timestamp":1673559078365,"duration":75,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4929,"name":"postcss-process","id":4930,"timestamp":1673559078458,"duration":33439,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"postcss-loader","id":4929,"timestamp":1673559078451,"duration":33585,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"css-loader","id":4933,"timestamp":1673559112052,"duration":8503,"tags":{"astUsed":"true"},"startTime":1664596602992},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"build-module-css","id":4926,"timestamp":1673559078255,"duration":43204,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4931,"name":"next-swc-transform","id":4932,"timestamp":1673559078697,"duration":42931,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4928,"name":"next-swc-loader","id":4931,"timestamp":1673559078659,"duration":42970,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"build-module-tsx","id":4928,"timestamp":1673559078382,"duration":45513,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4924,"timestamp":1673559070659,"duration":53519,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4923,"timestamp":1673559070656,"duration":53532,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4925,"timestamp":1673559070661,"duration":57550,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4921,"timestamp":1673559070651,"duration":65103,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4922,"timestamp":1673559070653,"duration":83767,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"make","id":4918,"timestamp":1673559069768,"duration":84671,"tags":{},"startTime":1664596602949},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-chunk-graph","id":4935,"timestamp":1673559158713,"duration":3643,"tags":{},"startTime":1664596603038},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-modules","id":4937,"timestamp":1673559162372,"duration":2,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-chunks","id":4938,"timestamp":1673559162383,"duration":32,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-tree","id":4939,"timestamp":1673559162433,"duration":3,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize","id":4936,"timestamp":1673559162367,"duration":999,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-hash","id":4940,"timestamp":1673559173865,"duration":4586,"tags":{},"startTime":1664596603054},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"NextJsBuildManifest-generateClientManifest","id":4942,"timestamp":1673559190928,"duration":45,"tags":{},"startTime":1664596603071},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"NextJsBuildManifest-createassets","id":4941,"timestamp":1673559190884,"duration":97,"tags":{},"startTime":1664596603071},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-seal","id":4934,"timestamp":1673559155479,"duration":37438,"tags":{},"startTime":1664596603035},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"webpack-compilation","id":4917,"timestamp":1673559069593,"duration":123374,"tags":{"name":"client"},"startTime":1664596602949},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"emit","id":4943,"timestamp":1673559192992,"duration":107662,"tags":{},"startTime":1664596603073},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4915,"timestamp":1673559057208,"duration":244223,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602937},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4950,"timestamp":1673559317496,"duration":0,"tags":{},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4951,"timestamp":1673559317542,"duration":0,"tags":{},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4949,"timestamp":1673559316866,"duration":9047,"tags":{"request":"private-next-pages/_error"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4948,"timestamp":1673559316862,"duration":9065,"tags":{"request":"private-next-pages/_document"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4953,"name":"next-swc-transform","id":4954,"timestamp":1673559325415,"duration":1498,"tags":{},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4952,"name":"next-swc-loader","id":4953,"timestamp":1673559325335,"duration":1580,"tags":{},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"build-module-tsx","id":4952,"timestamp":1673559325216,"duration":4399,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4947,"timestamp":1673559316801,"duration":16605,"tags":{"request":"private-next-pages/_app"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"make","id":4945,"timestamp":1673559304545,"duration":28877,"tags":{},"startTime":1664596603184},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-chunk-graph","id":4956,"timestamp":1673559333699,"duration":217,"tags":{},"startTime":1664596603213},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-modules","id":4958,"timestamp":1673559333923,"duration":1,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-chunks","id":4959,"timestamp":1673559333931,"duration":22,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-tree","id":4960,"timestamp":1673559333959,"duration":4,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize","id":4957,"timestamp":1673559333920,"duration":95,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-hash","id":4961,"timestamp":1673559335050,"duration":403,"tags":{},"startTime":1664596603215},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-seal","id":4955,"timestamp":1673559333634,"duration":4745,"tags":{},"startTime":1664596603213},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"webpack-compilation","id":4944,"timestamp":1673559304308,"duration":34097,"tags":{"name":"server"},"startTime":1664596603184},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"emit","id":4962,"timestamp":1673559338418,"duration":5644,"tags":{},"startTime":1664596603218},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4916,"timestamp":1673559057382,"duration":287117,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602937},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4972,"timestamp":1664596603196999,"duration":35000,"tags":{"clientId":1664595509559},"startTime":1664596603233},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4965,"timestamp":1673559350345,"duration":3989,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4966,"timestamp":1673559350389,"duration":4538,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"read-resource","id":4974,"timestamp":1673559355149,"duration":34,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4975,"name":"postcss-process","id":4976,"timestamp":1673559355210,"duration":33055,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"postcss-loader","id":4975,"timestamp":1673559355201,"duration":33333,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"css-loader","id":4977,"timestamp":1673559388555,"duration":9018,"tags":{"astUsed":"true"},"startTime":1664596603268},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"build-module-css","id":4973,"timestamp":1673559355018,"duration":43646,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4978,"timestamp":1664596603196999,"duration":48000,"tags":{"clientId":1664595301700},"startTime":1664596603280},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4970,"timestamp":1673559350400,"duration":50421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4969,"timestamp":1673559350397,"duration":50442,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4971,"timestamp":1673559350402,"duration":55505,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4967,"timestamp":1673559350392,"duration":56059,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4968,"timestamp":1673559350394,"duration":89191,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"make","id":4964,"timestamp":1673559348406,"duration":91203,"tags":{},"startTime":1664596603228},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-chunk-graph","id":4980,"timestamp":1673559444039,"duration":17430,"tags":{},"startTime":1664596603324},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-modules","id":4982,"timestamp":1673559461494,"duration":2,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-chunks","id":4983,"timestamp":1673559461505,"duration":34,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-tree","id":4984,"timestamp":1673559461559,"duration":3,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize","id":4981,"timestamp":1673559461487,"duration":1461,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-hash","id":4985,"timestamp":1673559472752,"duration":3617,"tags":{},"startTime":1664596603352},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"NextJsBuildManifest-generateClientManifest","id":4987,"timestamp":1673559477285,"duration":53,"tags":{},"startTime":1664596603357},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"NextJsBuildManifest-createassets","id":4986,"timestamp":1673559477238,"duration":105,"tags":{},"startTime":1664596603357},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-seal","id":4979,"timestamp":1673559440559,"duration":38222,"tags":{},"startTime":1664596603320},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"webpack-compilation","id":4963,"timestamp":1673559348236,"duration":130575,"tags":{"name":"client"},"startTime":1664596603228},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"emit","id":4988,"timestamp":1673559478826,"duration":3613,"tags":{},"startTime":1664596603359},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4946,"timestamp":1673559316578,"duration":166308,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596603196}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4989,"timestamp":1673559491997,"duration":0,"tags":{},"startTime":1664596603372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4990,"timestamp":1673559492043,"duration":0,"tags":{},"startTime":1664596603372},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4997,"timestamp":1673566109251,"duration":6460,"tags":{"request":"private-next-pages/_error"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4996,"timestamp":1673566109246,"duration":6481,"tags":{"request":"private-next-pages/_document"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4999,"name":"next-swc-transform","id":5000,"timestamp":1673566115192,"duration":1681,"tags":{},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4998,"name":"next-swc-loader","id":4999,"timestamp":1673566115103,"duration":1776,"tags":{},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"build-module-tsx","id":4998,"timestamp":1673566114940,"duration":5043,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4995,"timestamp":1673566109182,"duration":14678,"tags":{"request":"private-next-pages/_app"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"make","id":4994,"timestamp":1673566109025,"duration":14860,"tags":{},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-chunk-graph","id":5002,"timestamp":1673566124288,"duration":277,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-modules","id":5004,"timestamp":1673566124575,"duration":66,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-chunks","id":5005,"timestamp":1673566124848,"duration":41,"tags":{},"startTime":1664596610005},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-tree","id":5006,"timestamp":1673566124904,"duration":6,"tags":{},"startTime":1664596610005},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize","id":5003,"timestamp":1673566124571,"duration":412,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-hash","id":5007,"timestamp":1673566126519,"duration":480,"tags":{},"startTime":1664596610006},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-seal","id":5001,"timestamp":1673566124200,"duration":4509,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"webpack-compilation","id":4993,"timestamp":1673566108722,"duration":20016,"tags":{"name":"server"},"startTime":1664596609988},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"emit","id":5008,"timestamp":1673566128751,"duration":2716,"tags":{},"startTime":1664596610008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4991,"timestamp":1673566102029,"duration":29761,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609982},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5011,"timestamp":1673566138288,"duration":3652,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5012,"timestamp":1673566138319,"duration":4464,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"read-resource","id":5019,"timestamp":1673566143041,"duration":93,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5021,"name":"postcss-process","id":5022,"timestamp":1673566143168,"duration":39456,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"postcss-loader","id":5021,"timestamp":1673566143158,"duration":39662,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"css-loader","id":5025,"timestamp":1673566182843,"duration":8544,"tags":{"astUsed":"true"},"startTime":1664596610063},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"build-module-css","id":5018,"timestamp":1673566142895,"duration":49745,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5023,"name":"next-swc-transform","id":5024,"timestamp":1673566143462,"duration":49407,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5020,"name":"next-swc-loader","id":5023,"timestamp":1673566143426,"duration":49444,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"build-module-tsx","id":5020,"timestamp":1673566143063,"duration":52402,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5016,"timestamp":1673566138330,"duration":59646,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5015,"timestamp":1673566138327,"duration":59667,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5017,"timestamp":1673566138332,"duration":62740,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5013,"timestamp":1673566138322,"duration":70253,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5014,"timestamp":1673566138324,"duration":91146,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"make","id":5010,"timestamp":1673566136801,"duration":92696,"tags":{},"startTime":1664596610017},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-chunk-graph","id":5027,"timestamp":1673566233891,"duration":16726,"tags":{},"startTime":1664596610114},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-modules","id":5029,"timestamp":1673566250637,"duration":2,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-chunks","id":5030,"timestamp":1673566250651,"duration":33,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-tree","id":5031,"timestamp":1673566250701,"duration":3,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize","id":5028,"timestamp":1673566250631,"duration":1422,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-hash","id":5032,"timestamp":1673566263253,"duration":3392,"tags":{},"startTime":1664596610143},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"NextJsBuildManifest-generateClientManifest","id":5034,"timestamp":1673566278110,"duration":62,"tags":{},"startTime":1664596610158},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"NextJsBuildManifest-createassets","id":5033,"timestamp":1673566278062,"duration":117,"tags":{},"startTime":1664596610158},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-seal","id":5026,"timestamp":1673566230537,"duration":49324,"tags":{},"startTime":1664596610110},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"webpack-compilation","id":5009,"timestamp":1673566136615,"duration":143267,"tags":{"name":"client"},"startTime":1664596610016},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"emit","id":5035,"timestamp":1673566279898,"duration":95812,"tags":{},"startTime":1664596610160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4992,"timestamp":1673566102193,"duration":274437,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609982}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5039,"timestamp":1673566415015,"duration":0,"tags":{},"startTime":1664596610295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5040,"timestamp":1673566415091,"duration":0,"tags":{},"startTime":1664596610295},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5041,"timestamp":1673566419515,"duration":7998,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5042,"timestamp":1673566419577,"duration":9713,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"read-resource","id":5049,"timestamp":1673566429648,"duration":56,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5050,"name":"postcss-process","id":5051,"timestamp":1673566429775,"duration":33807,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"postcss-loader","id":5050,"timestamp":1673566429740,"duration":34177,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"css-loader","id":5052,"timestamp":1673566463950,"duration":15120,"tags":{"astUsed":"true"},"startTime":1664596610344},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"build-module-css","id":5048,"timestamp":1673566429431,"duration":51281,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5046,"timestamp":1673566419590,"duration":62127,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5045,"timestamp":1673566419586,"duration":62147,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5047,"timestamp":1673566419592,"duration":65951,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5043,"timestamp":1673566419581,"duration":66322,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5053,"timestamp":1664596610272000,"duration":105999,"tags":{"clientId":1664595509559},"startTime":1664596610378},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5054,"timestamp":1664596610273999,"duration":114000,"tags":{"clientId":1664595301700},"startTime":1664596610396},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5044,"timestamp":1673566419584,"duration":100484,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"make","id":5038,"timestamp":1673566414236,"duration":106005,"tags":{},"startTime":1664596610294},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-chunk-graph","id":5056,"timestamp":1673566524933,"duration":4725,"tags":{},"startTime":1664596610405},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-modules","id":5058,"timestamp":1673566529681,"duration":3,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-chunks","id":5059,"timestamp":1673566529696,"duration":44,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-tree","id":5060,"timestamp":1673566529760,"duration":3,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize","id":5057,"timestamp":1673566529673,"duration":1577,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-hash","id":5061,"timestamp":1673566543386,"duration":5999,"tags":{},"startTime":1664596610423},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"NextJsBuildManifest-generateClientManifest","id":5063,"timestamp":1673566550265,"duration":60,"tags":{},"startTime":1664596610430},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"NextJsBuildManifest-createassets","id":5062,"timestamp":1673566550214,"duration":113,"tags":{},"startTime":1664596610430},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-seal","id":5055,"timestamp":1673566521599,"duration":29586,"tags":{},"startTime":1664596610401},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"webpack-compilation","id":5037,"timestamp":1673566413979,"duration":137230,"tags":{"name":"client"},"startTime":1664596610294},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"emit","id":5064,"timestamp":1673566551227,"duration":3670,"tags":{},"startTime":1664596610431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5036,"timestamp":1673566389645,"duration":166005,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596610269}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5065,"timestamp":1673566569512,"duration":0,"tags":{},"startTime":1664596610449},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5066,"timestamp":1673566569582,"duration":0,"tags":{},"startTime":1664596610449},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5071,"timestamp":1673568275859,"duration":3515,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5072,"timestamp":1673568275886,"duration":4012,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"read-resource","id":5079,"timestamp":1673568280082,"duration":80,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5081,"name":"postcss-process","id":5082,"timestamp":1673568280181,"duration":32861,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"postcss-loader","id":5081,"timestamp":1673568280173,"duration":33052,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"css-loader","id":5085,"timestamp":1673568313245,"duration":8389,"tags":{"astUsed":"true"},"startTime":1664596612193},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"build-module-css","id":5078,"timestamp":1673568279983,"duration":44726,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5083,"name":"next-swc-transform","id":5084,"timestamp":1673568280492,"duration":44366,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5080,"name":"next-swc-loader","id":5083,"timestamp":1673568280424,"duration":44435,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"build-module-tsx","id":5080,"timestamp":1673568280100,"duration":47035,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5076,"timestamp":1673568275896,"duration":51534,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5075,"timestamp":1673568275894,"duration":51547,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5077,"timestamp":1673568275898,"duration":54322,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5073,"timestamp":1673568275889,"duration":61224,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5074,"timestamp":1673568275891,"duration":80813,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"make","id":5070,"timestamp":1673568275025,"duration":81699,"tags":{},"startTime":1664596612155},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-chunk-graph","id":5087,"timestamp":1673568361185,"duration":3636,"tags":{},"startTime":1664596612241},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-modules","id":5089,"timestamp":1673568364839,"duration":2,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-chunks","id":5090,"timestamp":1673568364853,"duration":35,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-tree","id":5091,"timestamp":1673568364902,"duration":3,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize","id":5088,"timestamp":1673568364833,"duration":1032,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-hash","id":5092,"timestamp":1673568375057,"duration":3417,"tags":{},"startTime":1664596612255},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"NextJsBuildManifest-generateClientManifest","id":5094,"timestamp":1673568390156,"duration":43,"tags":{},"startTime":1664596612270},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"NextJsBuildManifest-createassets","id":5093,"timestamp":1673568390112,"duration":94,"tags":{},"startTime":1664596612270},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-seal","id":5086,"timestamp":1673568357894,"duration":34129,"tags":{},"startTime":1664596612238},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"webpack-compilation","id":5069,"timestamp":1673568274862,"duration":117188,"tags":{"name":"client"},"startTime":1664596612155},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"emit","id":5095,"timestamp":1673568392063,"duration":97562,"tags":{},"startTime":1664596612272},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5067,"timestamp":1673568263417,"duration":226917,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5102,"timestamp":1673568516019,"duration":0,"tags":{},"startTime":1664596612396},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5103,"timestamp":1673568523034,"duration":0,"tags":{},"startTime":1664596612403},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5101,"timestamp":1673568504958,"duration":22720,"tags":{"request":"private-next-pages/_error"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5100,"timestamp":1673568504953,"duration":22746,"tags":{"request":"private-next-pages/_document"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5105,"name":"next-swc-transform","id":5106,"timestamp":1673568526982,"duration":3733,"tags":{},"startTime":1664596612407},{"traceId":"43f2de6d909a73f7","parentId":5104,"name":"next-swc-loader","id":5105,"timestamp":1673568526895,"duration":3826,"tags":{},"startTime":1664596612407},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"build-module-tsx","id":5104,"timestamp":1673568526762,"duration":6439,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612406},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5099,"timestamp":1673568504903,"duration":32543,"tags":{"request":"private-next-pages/_app"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"make","id":5097,"timestamp":1673568491727,"duration":45763,"tags":{},"startTime":1664596612371},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-chunk-graph","id":5108,"timestamp":1673568537916,"duration":267,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-modules","id":5110,"timestamp":1673568538192,"duration":2,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-chunks","id":5111,"timestamp":1673568538202,"duration":25,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-tree","id":5112,"timestamp":1673568538235,"duration":5,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize","id":5109,"timestamp":1673568538189,"duration":114,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-hash","id":5113,"timestamp":1673568539503,"duration":587,"tags":{},"startTime":1664596612419},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-seal","id":5107,"timestamp":1673568537840,"duration":5008,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"webpack-compilation","id":5096,"timestamp":1673568491464,"duration":51410,"tags":{"name":"server"},"startTime":1664596612371},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"emit","id":5114,"timestamp":1673568542891,"duration":5307,"tags":{},"startTime":1664596612423},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5068,"timestamp":1673568263629,"duration":284885,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5124,"timestamp":1664596612384999,"duration":52000,"tags":{"clientId":1664595509559},"startTime":1664596612437},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5117,"timestamp":1673568555158,"duration":3906,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5118,"timestamp":1673568555198,"duration":4683,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"read-resource","id":5126,"timestamp":1673568560130,"duration":38,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5127,"name":"postcss-process","id":5128,"timestamp":1673568560202,"duration":35180,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"postcss-loader","id":5127,"timestamp":1673568560189,"duration":35691,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"css-loader","id":5129,"timestamp":1673568595914,"duration":11683,"tags":{"astUsed":"true"},"startTime":1664596612476},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"build-module-css","id":5125,"timestamp":1673568559977,"duration":48818,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5130,"timestamp":1664596612384999,"duration":60000,"tags":{"clientId":1664595301700},"startTime":1664596612489},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5122,"timestamp":1673568555209,"duration":54099,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5121,"timestamp":1673568555206,"duration":54115,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5123,"timestamp":1673568555211,"duration":58347,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5119,"timestamp":1673568555202,"duration":58678,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5120,"timestamp":1673568555204,"duration":92517,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"make","id":5116,"timestamp":1673568552422,"duration":95320,"tags":{},"startTime":1664596612432},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-chunk-graph","id":5132,"timestamp":1673568652397,"duration":18895,"tags":{},"startTime":1664596612532},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-modules","id":5134,"timestamp":1673568671315,"duration":3,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-chunks","id":5135,"timestamp":1673568671327,"duration":32,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-tree","id":5136,"timestamp":1673568671378,"duration":3,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize","id":5133,"timestamp":1673568671307,"duration":1445,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-hash","id":5137,"timestamp":1673568683019,"duration":3870,"tags":{},"startTime":1664596612563},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"NextJsBuildManifest-generateClientManifest","id":5139,"timestamp":1673568687844,"duration":55,"tags":{},"startTime":1664596612568},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"NextJsBuildManifest-createassets","id":5138,"timestamp":1673568687781,"duration":120,"tags":{},"startTime":1664596612567},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-seal","id":5131,"timestamp":1673568648844,"duration":39958,"tags":{},"startTime":1664596612529},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"webpack-compilation","id":5115,"timestamp":1673568552210,"duration":136614,"tags":{"name":"client"},"startTime":1664596612432},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"emit","id":5140,"timestamp":1673568688837,"duration":4095,"tags":{},"startTime":1664596612569},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5098,"timestamp":1673568504639,"duration":188822,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596612384}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5141,"timestamp":1673568702498,"duration":0,"tags":{},"startTime":1664596612582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5142,"timestamp":1673568702561,"duration":0,"tags":{},"startTime":1664596612582},{"traceId":"43f2de6d909a73f7","parentId":5151,"name":"next-swc-transform","id":5152,"timestamp":1673574135985,"duration":4076,"tags":{},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5150,"name":"next-swc-loader","id":5151,"timestamp":1673574135947,"duration":4125,"tags":{},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"build-module-tsx","id":5150,"timestamp":1673574135850,"duration":6545,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5149,"timestamp":1673574129552,"duration":13163,"tags":{"request":"private-next-pages/_error"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5148,"timestamp":1673574129548,"duration":13174,"tags":{"request":"private-next-pages/_document"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5147,"timestamp":1673574129519,"duration":16001,"tags":{"request":"private-next-pages/_app"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"make","id":5146,"timestamp":1673574129435,"duration":16105,"tags":{},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-chunk-graph","id":5154,"timestamp":1673574145869,"duration":177,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-modules","id":5156,"timestamp":1673574146054,"duration":2,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-chunks","id":5157,"timestamp":1673574146063,"duration":16,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-tree","id":5158,"timestamp":1673574146087,"duration":3,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize","id":5155,"timestamp":1673574146051,"duration":84,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-hash","id":5159,"timestamp":1673574147153,"duration":467,"tags":{},"startTime":1664596618027},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-seal","id":5153,"timestamp":1673574145807,"duration":3042,"tags":{},"startTime":1664596618025},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"webpack-compilation","id":5145,"timestamp":1673574129257,"duration":19611,"tags":{"name":"server"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"emit","id":5160,"timestamp":1673574148877,"duration":1921,"tags":{},"startTime":1664596618029},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5143,"timestamp":1673574122377,"duration":28644,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618002},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5163,"timestamp":1673574156005,"duration":3933,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5164,"timestamp":1673574156043,"duration":4482,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"read-resource","id":5171,"timestamp":1673574160708,"duration":75,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5173,"name":"postcss-process","id":5174,"timestamp":1673574160803,"duration":31417,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"postcss-loader","id":5173,"timestamp":1673574160793,"duration":31601,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"css-loader","id":5177,"timestamp":1673574192416,"duration":9917,"tags":{"astUsed":"true"},"startTime":1664596618072},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"build-module-css","id":5170,"timestamp":1673574160609,"duration":42514,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5175,"name":"next-swc-transform","id":5176,"timestamp":1673574161032,"duration":42223,"tags":{},"startTime":1664596618041},{"traceId":"43f2de6d909a73f7","parentId":5172,"name":"next-swc-loader","id":5175,"timestamp":1673574160995,"duration":42261,"tags":{},"startTime":1664596618041},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"build-module-tsx","id":5172,"timestamp":1673574160725,"duration":44573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5168,"timestamp":1673574156054,"duration":49533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5167,"timestamp":1673574156052,"duration":49551,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5169,"timestamp":1673574156056,"duration":52288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5165,"timestamp":1673574156046,"duration":61327,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5166,"timestamp":1673574156049,"duration":76421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"make","id":5162,"timestamp":1673574154653,"duration":77840,"tags":{},"startTime":1664596618034},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-chunk-graph","id":5179,"timestamp":1673574236624,"duration":3773,"tags":{},"startTime":1664596618116},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-modules","id":5181,"timestamp":1673574240414,"duration":3,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-chunks","id":5182,"timestamp":1673574240424,"duration":32,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-tree","id":5183,"timestamp":1673574240474,"duration":3,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize","id":5180,"timestamp":1673574240408,"duration":961,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-hash","id":5184,"timestamp":1673574250837,"duration":3437,"tags":{},"startTime":1664596618131},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"NextJsBuildManifest-generateClientManifest","id":5186,"timestamp":1673574263621,"duration":44,"tags":{},"startTime":1664596618143},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"NextJsBuildManifest-createassets","id":5185,"timestamp":1673574263579,"duration":97,"tags":{},"startTime":1664596618143},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-seal","id":5178,"timestamp":1673574233422,"duration":31889,"tags":{},"startTime":1664596618113},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"webpack-compilation","id":5161,"timestamp":1673574154458,"duration":110875,"tags":{"name":"client"},"startTime":1664596618034},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"emit","id":5187,"timestamp":1673574265345,"duration":95010,"tags":{},"startTime":1664596618145},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5144,"timestamp":1673574122500,"duration":238760,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618002}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5189,"timestamp":1673574372881,"duration":0,"tags":{},"startTime":1664596618253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5190,"timestamp":1673574373087,"duration":0,"tags":{},"startTime":1664596618253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5200,"timestamp":1664596618252000,"duration":19000,"tags":{"clientId":1664595509559},"startTime":1664596618271},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5193,"timestamp":1673574386837,"duration":5036,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5194,"timestamp":1673574386891,"duration":5800,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"read-resource","id":5202,"timestamp":1673574392906,"duration":36,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5203,"name":"postcss-process","id":5204,"timestamp":1673574392975,"duration":31822,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"postcss-loader","id":5203,"timestamp":1673574392963,"duration":32058,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"css-loader","id":5205,"timestamp":1673574425044,"duration":12749,"tags":{"astUsed":"true"},"startTime":1664596618305},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"build-module-css","id":5201,"timestamp":1673574392783,"duration":46520,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596618272},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5198,"timestamp":1673574386904,"duration":53096,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5197,"timestamp":1673574386900,"duration":53119,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5199,"timestamp":1673574386906,"duration":57202,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5195,"timestamp":1673574386895,"duration":57624,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5206,"timestamp":1664596618252999,"duration":73000,"tags":{"clientId":1664595301700},"startTime":1664596618329},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5196,"timestamp":1673574386897,"duration":88272,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"make","id":5192,"timestamp":1673574384614,"duration":90582,"tags":{},"startTime":1664596618264},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-chunk-graph","id":5208,"timestamp":1673574479503,"duration":19228,"tags":{},"startTime":1664596618359},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-modules","id":5210,"timestamp":1673574498755,"duration":57,"tags":{},"startTime":1664596618378},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-chunks","id":5211,"timestamp":1673574498822,"duration":74,"tags":{},"startTime":1664596618379},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-tree","id":5212,"timestamp":1673574498916,"duration":4,"tags":{},"startTime":1664596618379},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize","id":5209,"timestamp":1673574498747,"duration":1453,"tags":{},"startTime":1664596618378},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-hash","id":5213,"timestamp":1673574507578,"duration":5039,"tags":{},"startTime":1664596618387},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"NextJsBuildManifest-generateClientManifest","id":5215,"timestamp":1673574513518,"duration":69,"tags":{},"startTime":1664596618393},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"NextJsBuildManifest-createassets","id":5214,"timestamp":1673574513450,"duration":140,"tags":{},"startTime":1664596618393},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-seal","id":5207,"timestamp":1673574476233,"duration":38267,"tags":{},"startTime":1664596618356},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"webpack-compilation","id":5191,"timestamp":1673574384393,"duration":130131,"tags":{"name":"client"},"startTime":1664596618264},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"emit","id":5216,"timestamp":1673574514538,"duration":2489,"tags":{},"startTime":1664596618394},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5188,"timestamp":1673574372126,"duration":145362,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596618252}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5217,"timestamp":1673574527269,"duration":0,"tags":{},"startTime":1664596618407},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5218,"timestamp":1673574527310,"duration":0,"tags":{},"startTime":1664596618407},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5223,"timestamp":1673605465279,"duration":9398,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5228,"timestamp":1673605465424,"duration":11842,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5224,"timestamp":1673605465408,"duration":15126,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5227,"timestamp":1673605465421,"duration":16546,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5229,"timestamp":1673605465427,"duration":27927,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5225,"timestamp":1673605465414,"duration":37262,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5226,"timestamp":1673605465417,"duration":74726,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"make","id":5222,"timestamp":1673605464555,"duration":75676,"tags":{},"startTime":1664596649344},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-chunk-graph","id":5231,"timestamp":1673605544709,"duration":17896,"tags":{},"startTime":1664596649424},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-modules","id":5233,"timestamp":1673605562728,"duration":18,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-chunks","id":5234,"timestamp":1673605562782,"duration":100,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-tree","id":5235,"timestamp":1673605562918,"duration":17,"tags":{},"startTime":1664596649443},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize","id":5232,"timestamp":1673605562650,"duration":1639,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-hash","id":5236,"timestamp":1673605576693,"duration":5237,"tags":{},"startTime":1664596649456},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"NextJsBuildManifest-generateClientManifest","id":5238,"timestamp":1673605582909,"duration":70,"tags":{},"startTime":1664596649463},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"NextJsBuildManifest-createassets","id":5237,"timestamp":1673605582856,"duration":126,"tags":{},"startTime":1664596649463},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-seal","id":5230,"timestamp":1673605541319,"duration":42700,"tags":{},"startTime":1664596649421},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"webpack-compilation","id":5221,"timestamp":1673605464273,"duration":119776,"tags":{"name":"client"},"startTime":1664596649344},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"emit","id":5239,"timestamp":1673605584062,"duration":2991,"tags":{},"startTime":1664596649464},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5219,"timestamp":1673605446400,"duration":141226,"tags":{"trigger":"manual"},"startTime":1664596649326},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5242,"timestamp":1673605598235,"duration":0,"tags":{},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5243,"timestamp":1673605598282,"duration":0,"tags":{},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5244,"timestamp":1673605598555,"duration":13056,"tags":{"request":"private-next-pages/_app"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5246,"timestamp":1673605598594,"duration":19043,"tags":{"request":"private-next-pages/_error"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5245,"timestamp":1673605598591,"duration":19057,"tags":{"request":"private-next-pages/_document"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5247,"timestamp":1673605598596,"duration":25274,"tags":{"request":"./pages/index.tsx"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"make","id":5241,"timestamp":1673605588609,"duration":35341,"tags":{},"startTime":1664596649468},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-chunk-graph","id":5249,"timestamp":1673605624325,"duration":450,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-modules","id":5251,"timestamp":1673605624790,"duration":2,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-chunks","id":5252,"timestamp":1673605624854,"duration":30,"tags":{},"startTime":1664596649505},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-tree","id":5253,"timestamp":1673605624996,"duration":41,"tags":{},"startTime":1664596649505},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize","id":5250,"timestamp":1673605624784,"duration":398,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-hash","id":5254,"timestamp":1673605626872,"duration":1351,"tags":{},"startTime":1664596649507},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-seal","id":5248,"timestamp":1673605624195,"duration":5546,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"webpack-compilation","id":5240,"timestamp":1673605588428,"duration":41338,"tags":{"name":"server"},"startTime":1664596649468},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"emit","id":5255,"timestamp":1673605629785,"duration":3636,"tags":{},"startTime":1664596649509},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5220,"timestamp":1673605448259,"duration":186168,"tags":{"trigger":"manual"},"startTime":1664596649328}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5256,"timestamp":1673605978001,"duration":0,"tags":{},"startTime":1664596649858},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5257,"timestamp":1673605978421,"duration":0,"tags":{},"startTime":1664596649858},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5265,"timestamp":1673615897958,"duration":9145,"tags":{"request":"./pages/index.tsx"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5264,"timestamp":1673615897956,"duration":9681,"tags":{"request":"private-next-pages/_error"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5263,"timestamp":1673615897951,"duration":9700,"tags":{"request":"private-next-pages/_document"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5267,"name":"next-swc-transform","id":5268,"timestamp":1673615906876,"duration":3150,"tags":{},"startTime":1664596659787},{"traceId":"43f2de6d909a73f7","parentId":5266,"name":"next-swc-loader","id":5267,"timestamp":1673615906526,"duration":3509,"tags":{},"startTime":1664596659786},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"build-module-tsx","id":5266,"timestamp":1673615906245,"duration":10350,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659786},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5262,"timestamp":1673615897845,"duration":22866,"tags":{"request":"private-next-pages/_app"},"startTime":1664596659777},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"make","id":5261,"timestamp":1673615891518,"duration":29217,"tags":{},"startTime":1664596659771},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-chunk-graph","id":5270,"timestamp":1673615921222,"duration":312,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-modules","id":5272,"timestamp":1673615921545,"duration":3,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-chunks","id":5273,"timestamp":1673615921555,"duration":39,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-tree","id":5274,"timestamp":1673615921605,"duration":6,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize","id":5271,"timestamp":1673615921540,"duration":132,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-hash","id":5275,"timestamp":1673615923652,"duration":711,"tags":{},"startTime":1664596659803},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-seal","id":5269,"timestamp":1673615921131,"duration":5531,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"webpack-compilation","id":5260,"timestamp":1673615890914,"duration":35791,"tags":{"name":"server"},"startTime":1664596659771},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"emit","id":5276,"timestamp":1673615926722,"duration":2716,"tags":{},"startTime":1664596659806},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5258,"timestamp":1673615882857,"duration":46837,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659762},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5279,"timestamp":1673615935316,"duration":7516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5280,"timestamp":1673615935349,"duration":8172,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5284,"timestamp":1673615935362,"duration":8963,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5283,"timestamp":1673615935360,"duration":8975,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5289,"name":"next-swc-transform","id":5290,"timestamp":1673615943974,"duration":2335,"tags":{},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5288,"name":"next-swc-loader","id":5289,"timestamp":1673615943936,"duration":2378,"tags":{},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"build-module-tsx","id":5288,"timestamp":1673615943867,"duration":7466,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5285,"timestamp":1673615935365,"duration":17146,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5281,"timestamp":1673615935352,"duration":17990,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"read-resource","id":5287,"timestamp":1673615943824,"duration":9540,"tags":{},"startTime":1664596659823},{"traceId":"43f2de6d909a73f7","parentId":5291,"name":"postcss-process","id":5292,"timestamp":1673615953395,"duration":36713,"tags":{},"startTime":1664596659833},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"postcss-loader","id":5291,"timestamp":1673615953378,"duration":37127,"tags":{},"startTime":1664596659833},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"css-loader","id":5293,"timestamp":1673615990522,"duration":10935,"tags":{"astUsed":"true"},"startTime":1664596659870},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"build-module-css","id":5286,"timestamp":1673615943640,"duration":63842,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596659823},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5282,"timestamp":1673615935357,"duration":100841,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"make","id":5278,"timestamp":1673615933672,"duration":102544,"tags":{},"startTime":1664596659813},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-chunk-graph","id":5295,"timestamp":1673616040653,"duration":3493,"tags":{},"startTime":1664596659920},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-modules","id":5297,"timestamp":1673616044160,"duration":2,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-chunks","id":5298,"timestamp":1673616044171,"duration":31,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-tree","id":5299,"timestamp":1673616044218,"duration":3,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize","id":5296,"timestamp":1673616044155,"duration":1383,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-hash","id":5300,"timestamp":1673616055503,"duration":3682,"tags":{},"startTime":1664596659935},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"NextJsBuildManifest-generateClientManifest","id":5302,"timestamp":1673616068150,"duration":66,"tags":{},"startTime":1664596659948},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"NextJsBuildManifest-createassets","id":5301,"timestamp":1673616068099,"duration":127,"tags":{},"startTime":1664596659948},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-seal","id":5294,"timestamp":1673616037402,"duration":36369,"tags":{},"startTime":1664596659917},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"webpack-compilation","id":5277,"timestamp":1673615933480,"duration":140322,"tags":{"name":"client"},"startTime":1664596659813},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"emit","id":5303,"timestamp":1673616073822,"duration":105556,"tags":{},"startTime":1664596659953},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5259,"timestamp":1673615883803,"duration":296382,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659763}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5305,"timestamp":1673616216024,"duration":0,"tags":{},"startTime":1664596660096},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5308,"timestamp":1673616228328,"duration":0,"tags":{},"startTime":1664596660108},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5309,"timestamp":1673616231536,"duration":8761,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5310,"timestamp":1673616231611,"duration":10172,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"read-resource","id":5317,"timestamp":1673616242101,"duration":37,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5318,"name":"postcss-process","id":5319,"timestamp":1673616242172,"duration":47926,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"postcss-loader","id":5318,"timestamp":1673616242160,"duration":48772,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"css-loader","id":5320,"timestamp":1673616290962,"duration":23014,"tags":{"astUsed":"true"},"startTime":1664596660171},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"build-module-css","id":5316,"timestamp":1673616241897,"duration":73956,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5314,"timestamp":1673616231623,"duration":85268,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5313,"timestamp":1673616231620,"duration":85286,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5315,"timestamp":1673616231625,"duration":90795,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5311,"timestamp":1673616231615,"duration":91288,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5321,"timestamp":1664596660086000,"duration":120000,"tags":{"clientId":1664595509559},"startTime":1664596660208},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5322,"timestamp":1664596660087000,"duration":124000,"tags":{"clientId":1664596649926},"startTime":1664596660212},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5312,"timestamp":1673616231617,"duration":125810,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"make","id":5307,"timestamp":1673616227829,"duration":129625,"tags":{},"startTime":1664596660107},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-chunk-graph","id":5324,"timestamp":1673616361951,"duration":16690,"tags":{},"startTime":1664596660242},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-modules","id":5326,"timestamp":1673616378666,"duration":3,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-chunks","id":5327,"timestamp":1673616378678,"duration":96,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-tree","id":5328,"timestamp":1673616378796,"duration":3,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize","id":5325,"timestamp":1673616378658,"duration":1576,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-hash","id":5329,"timestamp":1673616390778,"duration":3350,"tags":{},"startTime":1664596660270},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"NextJsBuildManifest-generateClientManifest","id":5331,"timestamp":1673616394879,"duration":54,"tags":{},"startTime":1664596660275},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"NextJsBuildManifest-createassets","id":5330,"timestamp":1673616394833,"duration":102,"tags":{},"startTime":1664596660274},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-seal","id":5323,"timestamp":1673616358506,"duration":37423,"tags":{},"startTime":1664596660238},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"webpack-compilation","id":5306,"timestamp":1673616227602,"duration":168351,"tags":{"name":"client"},"startTime":1664596660107},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"emit","id":5332,"timestamp":1673616395972,"duration":2004,"tags":{},"startTime":1664596660276},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5304,"timestamp":1673616203996,"duration":194510,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596660084}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5333,"timestamp":1673616409786,"duration":0,"tags":{},"startTime":1664596660289},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5334,"timestamp":1673616409823,"duration":0,"tags":{},"startTime":1664596660289},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5341,"timestamp":1673626159695,"duration":11773,"tags":{"request":"private-next-pages/_error"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5340,"timestamp":1673626159688,"duration":11794,"tags":{"request":"private-next-pages/_document"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5343,"name":"next-swc-transform","id":5344,"timestamp":1673626170908,"duration":2390,"tags":{},"startTime":1664596670051},{"traceId":"43f2de6d909a73f7","parentId":5342,"name":"next-swc-loader","id":5343,"timestamp":1673626170758,"duration":2545,"tags":{},"startTime":1664596670050},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"build-module-tsx","id":5342,"timestamp":1673626170550,"duration":11752,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670050},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5339,"timestamp":1673626159603,"duration":26945,"tags":{"request":"private-next-pages/_app"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"make","id":5338,"timestamp":1673626159469,"duration":27103,"tags":{},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-chunk-graph","id":5346,"timestamp":1673626187026,"duration":277,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-modules","id":5348,"timestamp":1673626187333,"duration":10,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-chunks","id":5349,"timestamp":1673626187373,"duration":35,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-tree","id":5350,"timestamp":1673626187430,"duration":14,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize","id":5347,"timestamp":1673626187318,"duration":221,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-hash","id":5351,"timestamp":1673626190459,"duration":835,"tags":{},"startTime":1664596670070},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-seal","id":5345,"timestamp":1673626186918,"duration":6080,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"webpack-compilation","id":5337,"timestamp":1673626159169,"duration":33861,"tags":{"name":"server"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"emit","id":5352,"timestamp":1673626193047,"duration":4286,"tags":{},"startTime":1664596670073},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5335,"timestamp":1673626152067,"duration":45923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670032},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5355,"timestamp":1673626203544,"duration":8108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5356,"timestamp":1673626203578,"duration":9178,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"read-resource","id":5363,"timestamp":1673626213525,"duration":172,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5365,"name":"postcss-process","id":5366,"timestamp":1673626213735,"duration":35787,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"postcss-loader","id":5365,"timestamp":1673626213721,"duration":37303,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"css-loader","id":5369,"timestamp":1673626251050,"duration":10620,"tags":{"astUsed":"true"},"startTime":1664596670131},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"build-module-css","id":5362,"timestamp":1673626213106,"duration":56614,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5367,"name":"next-swc-transform","id":5368,"timestamp":1673626214081,"duration":55855,"tags":{},"startTime":1664596670094},{"traceId":"43f2de6d909a73f7","parentId":5364,"name":"next-swc-loader","id":5367,"timestamp":1673626214045,"duration":55892,"tags":{},"startTime":1664596670094},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"build-module-tsx","id":5364,"timestamp":1673626213584,"duration":62371,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5360,"timestamp":1673626203590,"duration":72630,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5359,"timestamp":1673626203587,"duration":72648,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5361,"timestamp":1673626203593,"duration":75877,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5357,"timestamp":1673626203582,"duration":84377,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5358,"timestamp":1673626203584,"duration":105673,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"make","id":5354,"timestamp":1673626202079,"duration":107199,"tags":{},"startTime":1664596670082},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-chunk-graph","id":5371,"timestamp":1673626313827,"duration":17780,"tags":{},"startTime":1664596670193},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-modules","id":5373,"timestamp":1673626331628,"duration":2,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-chunks","id":5374,"timestamp":1673626331716,"duration":211,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-tree","id":5375,"timestamp":1673626331966,"duration":13,"tags":{},"startTime":1664596670212},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize","id":5372,"timestamp":1673626331621,"duration":1857,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-hash","id":5376,"timestamp":1673626348199,"duration":7661,"tags":{},"startTime":1664596670228},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"NextJsBuildManifest-generateClientManifest","id":5378,"timestamp":1673626371268,"duration":70,"tags":{},"startTime":1664596670251},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"NextJsBuildManifest-createassets","id":5377,"timestamp":1673626371156,"duration":191,"tags":{},"startTime":1664596670251},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-seal","id":5370,"timestamp":1673626310434,"duration":62986,"tags":{},"startTime":1664596670190},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"webpack-compilation","id":5353,"timestamp":1673626201891,"duration":171559,"tags":{"name":"client"},"startTime":1664596670082},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"emit","id":5379,"timestamp":1673626373471,"duration":131860,"tags":{},"startTime":1664596670253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5336,"timestamp":1673626152378,"duration":354207,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670032}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5381,"timestamp":1673626521123,"duration":0,"tags":{},"startTime":1664596670401},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5382,"timestamp":1673626521178,"duration":0,"tags":{},"startTime":1664596670401},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5392,"timestamp":1664596670400000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664596670418},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5385,"timestamp":1673626533342,"duration":5363,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5386,"timestamp":1673626533396,"duration":6128,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"read-resource","id":5394,"timestamp":1673626539815,"duration":43,"tags":{},"startTime":1664596670419},{"traceId":"43f2de6d909a73f7","parentId":5395,"name":"postcss-process","id":5396,"timestamp":1673626539888,"duration":31372,"tags":{},"startTime":1664596670420},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"postcss-loader","id":5395,"timestamp":1673626539877,"duration":31677,"tags":{},"startTime":1664596670420},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"css-loader","id":5397,"timestamp":1673626571583,"duration":11806,"tags":{"astUsed":"true"},"startTime":1664596670451},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"build-module-css","id":5393,"timestamp":1673626539627,"duration":45327,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596670419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5398,"timestamp":1664596670400999,"duration":18000,"tags":{"clientId":1664596649926},"startTime":1664596670465},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5390,"timestamp":1673626533408,"duration":52077,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5389,"timestamp":1673626533405,"duration":52091,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5391,"timestamp":1673626533409,"duration":56238,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5387,"timestamp":1673626533400,"duration":56602,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5388,"timestamp":1673626533402,"duration":84665,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"make","id":5384,"timestamp":1673626531459,"duration":86633,"tags":{},"startTime":1664596670411},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-chunk-graph","id":5400,"timestamp":1673626622690,"duration":18803,"tags":{},"startTime":1664596670502},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-modules","id":5402,"timestamp":1673626641518,"duration":3,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-chunks","id":5403,"timestamp":1673626641530,"duration":104,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-tree","id":5404,"timestamp":1673626641655,"duration":3,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize","id":5401,"timestamp":1673626641510,"duration":1484,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-hash","id":5405,"timestamp":1673626651911,"duration":5966,"tags":{},"startTime":1664596670532},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"NextJsBuildManifest-generateClientManifest","id":5407,"timestamp":1673626658708,"duration":52,"tags":{},"startTime":1664596670538},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"NextJsBuildManifest-createassets","id":5406,"timestamp":1673626658658,"duration":106,"tags":{},"startTime":1664596670538},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-seal","id":5399,"timestamp":1673626619156,"duration":40569,"tags":{},"startTime":1664596670499},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"webpack-compilation","id":5383,"timestamp":1673626531274,"duration":128475,"tags":{"name":"client"},"startTime":1664596670411},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"emit","id":5408,"timestamp":1673626659763,"duration":2471,"tags":{},"startTime":1664596670539},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5380,"timestamp":1673626520238,"duration":142603,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596670400}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5409,"timestamp":1673626673043,"duration":0,"tags":{},"startTime":1664596670553},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5410,"timestamp":1673626673088,"duration":0,"tags":{},"startTime":1664596670553},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5415,"timestamp":1673659511238,"duration":4865,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5416,"timestamp":1673659511337,"duration":5665,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"read-resource","id":5423,"timestamp":1673659517394,"duration":102,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5425,"name":"postcss-process","id":5426,"timestamp":1673659517522,"duration":43114,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"postcss-loader","id":5425,"timestamp":1673659517510,"duration":43290,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"css-loader","id":5429,"timestamp":1673659560821,"duration":11083,"tags":{"astUsed":"true"},"startTime":1664596703440},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"build-module-css","id":5422,"timestamp":1673659517268,"duration":55578,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5427,"name":"next-swc-transform","id":5428,"timestamp":1673659517808,"duration":55204,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5424,"name":"next-swc-loader","id":5427,"timestamp":1673659517732,"duration":55282,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"build-module-tsx","id":5424,"timestamp":1673659517419,"duration":59921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5420,"timestamp":1673659511361,"duration":66290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5419,"timestamp":1673659511357,"duration":66306,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5421,"timestamp":1673659511363,"duration":70283,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5417,"timestamp":1673659511350,"duration":79381,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5418,"timestamp":1673659511354,"duration":98845,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"make","id":5414,"timestamp":1673659507768,"duration":102460,"tags":{},"startTime":1664596703387},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-chunk-graph","id":5431,"timestamp":1673659614775,"duration":3792,"tags":{},"startTime":1664596703494},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-modules","id":5433,"timestamp":1673659618582,"duration":4,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-chunks","id":5434,"timestamp":1673659618598,"duration":35,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-tree","id":5435,"timestamp":1673659618655,"duration":5,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize","id":5432,"timestamp":1673659618577,"duration":1015,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-hash","id":5436,"timestamp":1673659632483,"duration":5043,"tags":{},"startTime":1664596703512},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"NextJsBuildManifest-generateClientManifest","id":5438,"timestamp":1673659647513,"duration":55,"tags":{},"startTime":1664596703527},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"NextJsBuildManifest-createassets","id":5437,"timestamp":1673659647464,"duration":113,"tags":{},"startTime":1664596703527},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-seal","id":5430,"timestamp":1673659611396,"duration":38066,"tags":{},"startTime":1664596703491},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"webpack-compilation","id":5413,"timestamp":1673659507512,"duration":141977,"tags":{"name":"client"},"startTime":1664596703387},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5440,"timestamp":1673659669183,"duration":0,"tags":{},"startTime":1664596703549},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5441,"timestamp":1673659671096,"duration":1,"tags":{},"startTime":1664596703551},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"emit","id":5439,"timestamp":1673659649506,"duration":106667,"tags":{},"startTime":1664596703529},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5411,"timestamp":1673659495093,"duration":261840,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5448,"timestamp":1673659770704,"duration":0,"tags":{},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5449,"timestamp":1673659770744,"duration":0,"tags":{},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5451,"name":"next-swc-transform","id":5452,"timestamp":1673659774190,"duration":3209,"tags":{},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5450,"name":"next-swc-loader","id":5451,"timestamp":1673659774130,"duration":3279,"tags":{},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"build-module-tsx","id":5450,"timestamp":1673659774016,"duration":6887,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5447,"timestamp":1673659769932,"duration":12561,"tags":{"request":"private-next-pages/_error"},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5446,"timestamp":1673659769928,"duration":12572,"tags":{"request":"private-next-pages/_document"},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5445,"timestamp":1673659769848,"duration":14761,"tags":{"request":"private-next-pages/_app"},"startTime":1664596703649},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"make","id":5443,"timestamp":1673659758463,"duration":26158,"tags":{},"startTime":1664596703638},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-chunk-graph","id":5454,"timestamp":1673659784920,"duration":227,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-modules","id":5456,"timestamp":1673659785154,"duration":2,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-chunks","id":5457,"timestamp":1673659785163,"duration":21,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-tree","id":5458,"timestamp":1673659785192,"duration":5,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize","id":5455,"timestamp":1673659785151,"duration":99,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-hash","id":5459,"timestamp":1673659786739,"duration":452,"tags":{},"startTime":1664596703666},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-seal","id":5453,"timestamp":1673659784858,"duration":3747,"tags":{},"startTime":1664596703664},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"webpack-compilation","id":5442,"timestamp":1673659758272,"duration":30385,"tags":{"name":"server"},"startTime":1664596703638},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"emit","id":5460,"timestamp":1673659788687,"duration":7630,"tags":{},"startTime":1664596703668},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5412,"timestamp":1673659495300,"duration":301258,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5463,"timestamp":1664596703648999,"duration":27000,"tags":{"clientId":1664595509559},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5464,"timestamp":1673659802156,"duration":3380,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5465,"timestamp":1673659802194,"duration":3830,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"read-resource","id":5472,"timestamp":1673659806228,"duration":33,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5473,"name":"postcss-process","id":5474,"timestamp":1673659806288,"duration":32898,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"postcss-loader","id":5473,"timestamp":1673659806275,"duration":33161,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"css-loader","id":5475,"timestamp":1673659839462,"duration":9136,"tags":{"astUsed":"true"},"startTime":1664596703719},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"build-module-css","id":5471,"timestamp":1673659806106,"duration":43776,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5476,"timestamp":1664596703649999,"duration":37000,"tags":{"clientId":1664596649926},"startTime":1664596703730},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5469,"timestamp":1673659802205,"duration":49797,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5468,"timestamp":1673659802202,"duration":49818,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5470,"timestamp":1673659802206,"duration":54288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5466,"timestamp":1673659802197,"duration":54700,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5467,"timestamp":1673659802199,"duration":89116,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"make","id":5462,"timestamp":1673659800616,"duration":90729,"tags":{},"startTime":1664596703680},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-chunk-graph","id":5478,"timestamp":1673659896186,"duration":16781,"tags":{},"startTime":1664596703776},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-modules","id":5480,"timestamp":1673659912992,"duration":2,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-chunks","id":5481,"timestamp":1673659913003,"duration":34,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-tree","id":5482,"timestamp":1673659913058,"duration":3,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize","id":5479,"timestamp":1673659912984,"duration":1541,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-hash","id":5483,"timestamp":1673659924541,"duration":3931,"tags":{},"startTime":1664596703804},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"NextJsBuildManifest-generateClientManifest","id":5485,"timestamp":1673659929328,"duration":54,"tags":{},"startTime":1664596703809},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"NextJsBuildManifest-createassets","id":5484,"timestamp":1673659929273,"duration":111,"tags":{},"startTime":1664596703809},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-seal","id":5477,"timestamp":1673659892417,"duration":37855,"tags":{},"startTime":1664596703772},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"webpack-compilation","id":5461,"timestamp":1673659800429,"duration":129864,"tags":{"name":"client"},"startTime":1664596703680},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"emit","id":5486,"timestamp":1673659930306,"duration":3521,"tags":{},"startTime":1664596703810},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5444,"timestamp":1673659769444,"duration":165003,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596703649}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5487,"timestamp":1673659943163,"duration":0,"tags":{},"startTime":1664596703823},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5488,"timestamp":1673659943211,"duration":0,"tags":{},"startTime":1664596703823},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5495,"timestamp":1673667825387,"duration":10811,"tags":{"request":"private-next-pages/_error"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5494,"timestamp":1673667825383,"duration":10828,"tags":{"request":"private-next-pages/_document"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5497,"name":"next-swc-transform","id":5498,"timestamp":1673667834739,"duration":1619,"tags":{},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5496,"name":"next-swc-loader","id":5497,"timestamp":1673667834706,"duration":1659,"tags":{},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"build-module-tsx","id":5496,"timestamp":1673667834618,"duration":3784,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5493,"timestamp":1673667825347,"duration":18270,"tags":{"request":"private-next-pages/_app"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"make","id":5492,"timestamp":1673667825275,"duration":18358,"tags":{},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-chunk-graph","id":5500,"timestamp":1673667843954,"duration":167,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-modules","id":5502,"timestamp":1673667844131,"duration":2,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-chunks","id":5503,"timestamp":1673667844140,"duration":15,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-tree","id":5504,"timestamp":1673667844162,"duration":3,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize","id":5501,"timestamp":1673667844127,"duration":83,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-hash","id":5505,"timestamp":1673667845355,"duration":506,"tags":{},"startTime":1664596711725},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-seal","id":5499,"timestamp":1673667843891,"duration":3226,"tags":{},"startTime":1664596711723},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"webpack-compilation","id":5491,"timestamp":1673667825127,"duration":22010,"tags":{"name":"server"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"emit","id":5506,"timestamp":1673667847149,"duration":1675,"tags":{},"startTime":1664596711727},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5489,"timestamp":1673667818335,"duration":30699,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711698},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5509,"timestamp":1673667853795,"duration":3862,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"read-resource","id":5517,"timestamp":1673667858293,"duration":61,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5519,"name":"postcss-process","id":5520,"timestamp":1673667858372,"duration":31268,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"postcss-loader","id":5519,"timestamp":1673667858365,"duration":31464,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"css-loader","id":5523,"timestamp":1673667889847,"duration":9891,"tags":{"astUsed":"true"},"startTime":1664596711769},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"build-module-css","id":5516,"timestamp":1673667858212,"duration":42607,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5521,"name":"next-swc-transform","id":5522,"timestamp":1673667858620,"duration":43152,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5518,"name":"next-swc-loader","id":5521,"timestamp":1673667858587,"duration":43188,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"build-module-tsx","id":5518,"timestamp":1673667858309,"duration":48209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5514,"timestamp":1673667853848,"duration":53059,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5510,"timestamp":1673667853837,"duration":57013,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5513,"timestamp":1673667853845,"duration":57565,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5515,"timestamp":1673667853850,"duration":66314,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5511,"timestamp":1673667853840,"duration":85686,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5512,"timestamp":1673667853843,"duration":151513,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"make","id":5508,"timestamp":1673667852467,"duration":152925,"tags":{},"startTime":1664596711732},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-chunk-graph","id":5525,"timestamp":1673668010984,"duration":19378,"tags":{},"startTime":1664596711891},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-modules","id":5527,"timestamp":1673668030392,"duration":3,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-chunks","id":5528,"timestamp":1673668030406,"duration":157,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-tree","id":5529,"timestamp":1673668030591,"duration":7,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize","id":5526,"timestamp":1673668030384,"duration":2947,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-hash","id":5530,"timestamp":1673668048792,"duration":7038,"tags":{},"startTime":1664596711928},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"NextJsBuildManifest-generateClientManifest","id":5532,"timestamp":1673668066730,"duration":67,"tags":{},"startTime":1664596711946},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"NextJsBuildManifest-createassets","id":5531,"timestamp":1673668066673,"duration":133,"tags":{},"startTime":1664596711946},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-seal","id":5524,"timestamp":1673668007480,"duration":61120,"tags":{},"startTime":1664596711887},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"webpack-compilation","id":5507,"timestamp":1673667852314,"duration":216316,"tags":{"name":"client"},"startTime":1664596711732},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"emit","id":5533,"timestamp":1673668068651,"duration":138673,"tags":{},"startTime":1664596711948},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5490,"timestamp":1673667818460,"duration":389944,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711698}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5535,"timestamp":1673668224247,"duration":0,"tags":{},"startTime":1664596712104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5536,"timestamp":1673668224298,"duration":0,"tags":{},"startTime":1664596712104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5546,"timestamp":1664596712104000,"duration":19000,"tags":{"clientId":1664595509559},"startTime":1664596712124},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5539,"timestamp":1673668238855,"duration":7955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596712118},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5540,"timestamp":1673668238974,"duration":8855,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"read-resource","id":5548,"timestamp":1673668248086,"duration":38,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5549,"name":"postcss-process","id":5550,"timestamp":1673668248161,"duration":50007,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"postcss-loader","id":5549,"timestamp":1673668248146,"duration":50712,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"css-loader","id":5551,"timestamp":1673668298886,"duration":14383,"tags":{"astUsed":"true"},"startTime":1664596712178},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"build-module-css","id":5547,"timestamp":1673668247935,"duration":66798,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5544,"timestamp":1673668238988,"duration":76607,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5543,"timestamp":1673668238985,"duration":76626,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5545,"timestamp":1673668238990,"duration":80484,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5541,"timestamp":1673668238978,"duration":81194,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5552,"timestamp":1664596712104000,"duration":95000,"tags":{"clientId":1664596649926},"startTime":1664596712202},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5542,"timestamp":1673668238981,"duration":111751,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"make","id":5538,"timestamp":1673668236734,"duration":114023,"tags":{},"startTime":1664596712116},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-chunk-graph","id":5554,"timestamp":1673668355396,"duration":21789,"tags":{},"startTime":1664596712235},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-modules","id":5556,"timestamp":1673668377213,"duration":3,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-chunks","id":5557,"timestamp":1673668377225,"duration":126,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-tree","id":5558,"timestamp":1673668377373,"duration":3,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize","id":5555,"timestamp":1673668377206,"duration":1509,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-hash","id":5559,"timestamp":1673668388952,"duration":6706,"tags":{},"startTime":1664596712269},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"NextJsBuildManifest-generateClientManifest","id":5561,"timestamp":1673668396722,"duration":1897,"tags":{},"startTime":1664596712276},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"NextJsBuildManifest-createassets","id":5560,"timestamp":1673668396663,"duration":1966,"tags":{},"startTime":1664596712276},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-seal","id":5553,"timestamp":1673668351862,"duration":47812,"tags":{},"startTime":1664596712231},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"webpack-compilation","id":5537,"timestamp":1673668236433,"duration":163267,"tags":{"name":"client"},"startTime":1664596712116},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"emit","id":5562,"timestamp":1673668399722,"duration":2126,"tags":{},"startTime":1664596712279},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5534,"timestamp":1673668223540,"duration":178834,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596712103}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5563,"timestamp":1673668412910,"duration":0,"tags":{},"startTime":1664596712292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5564,"timestamp":1673668412965,"duration":0,"tags":{},"startTime":1664596712293},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5569,"timestamp":1673672955972,"duration":3966,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5570,"timestamp":1673672956013,"duration":4548,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"read-resource","id":5577,"timestamp":1673672960767,"duration":113,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5579,"name":"postcss-process","id":5580,"timestamp":1673672960907,"duration":34109,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"postcss-loader","id":5579,"timestamp":1673672960897,"duration":34320,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"css-loader","id":5583,"timestamp":1673672995236,"duration":8619,"tags":{"astUsed":"true"},"startTime":1664596716875},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"build-module-css","id":5576,"timestamp":1673672960666,"duration":44130,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5581,"name":"next-swc-transform","id":5582,"timestamp":1673672961246,"duration":43747,"tags":{},"startTime":1664596716841},{"traceId":"43f2de6d909a73f7","parentId":5578,"name":"next-swc-loader","id":5581,"timestamp":1673672961134,"duration":43860,"tags":{},"startTime":1664596716841},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"build-module-tsx","id":5578,"timestamp":1673672960784,"duration":48293,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5574,"timestamp":1673672956025,"duration":53335,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5573,"timestamp":1673672956022,"duration":53348,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5575,"timestamp":1673672956027,"duration":56070,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5571,"timestamp":1673672956017,"duration":63526,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5572,"timestamp":1673672956019,"duration":82334,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"make","id":5568,"timestamp":1673672955247,"duration":83127,"tags":{},"startTime":1664596716835},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-chunk-graph","id":5585,"timestamp":1673673042814,"duration":3750,"tags":{},"startTime":1664596716922},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-modules","id":5587,"timestamp":1673673046580,"duration":3,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-chunks","id":5588,"timestamp":1673673046591,"duration":37,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-tree","id":5589,"timestamp":1673673046645,"duration":3,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize","id":5586,"timestamp":1673673046574,"duration":948,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-hash","id":5590,"timestamp":1673673057850,"duration":4732,"tags":{},"startTime":1664596716937},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"NextJsBuildManifest-generateClientManifest","id":5592,"timestamp":1673673076163,"duration":45,"tags":{},"startTime":1664596716956},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"NextJsBuildManifest-createassets","id":5591,"timestamp":1673673076116,"duration":100,"tags":{},"startTime":1664596716956},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-seal","id":5584,"timestamp":1673673039408,"duration":38899,"tags":{},"startTime":1664596716919},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"webpack-compilation","id":5567,"timestamp":1673672955089,"duration":123254,"tags":{"name":"client"},"startTime":1664596716835},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"emit","id":5593,"timestamp":1673673078361,"duration":123449,"tags":{},"startTime":1664596716958},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5565,"timestamp":1673672943763,"duration":260723,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716823},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5600,"timestamp":1673673225766,"duration":0,"tags":{},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5601,"timestamp":1673673225818,"duration":0,"tags":{},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5599,"timestamp":1673673224971,"duration":11247,"tags":{"request":"private-next-pages/_error"},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5598,"timestamp":1673673224966,"duration":11266,"tags":{"request":"private-next-pages/_document"},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5603,"name":"next-swc-transform","id":5604,"timestamp":1673673234465,"duration":4286,"tags":{},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5602,"name":"next-swc-loader","id":5603,"timestamp":1673673234257,"duration":4502,"tags":{},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"build-module-tsx","id":5602,"timestamp":1673673233979,"duration":7471,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5597,"timestamp":1673673224882,"duration":21293,"tags":{"request":"private-next-pages/_app"},"startTime":1664596717104},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"make","id":5595,"timestamp":1673673207523,"duration":38676,"tags":{},"startTime":1664596717087},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-chunk-graph","id":5606,"timestamp":1673673246589,"duration":222,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-modules","id":5608,"timestamp":1673673246819,"duration":2,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-chunks","id":5609,"timestamp":1673673246864,"duration":25,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-tree","id":5610,"timestamp":1673673246898,"duration":5,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize","id":5607,"timestamp":1673673246816,"duration":142,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-hash","id":5611,"timestamp":1673673248308,"duration":461,"tags":{},"startTime":1664596717128},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-seal","id":5605,"timestamp":1673673246520,"duration":3566,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"webpack-compilation","id":5594,"timestamp":1673673207265,"duration":42841,"tags":{"name":"server"},"startTime":1664596717087},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5613,"timestamp":1664596717104000,"duration":22000,"tags":{"clientId":1664595509559},"startTime":1664596717134},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5614,"timestamp":1664596717104999,"duration":22000,"tags":{"clientId":1664596649926},"startTime":1664596717134},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"emit","id":5612,"timestamp":1673673250116,"duration":5991,"tags":{},"startTime":1664596717130},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5566,"timestamp":1673672943958,"duration":312573,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716824},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5617,"timestamp":1673673261793,"duration":3683,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5618,"timestamp":1673673261855,"duration":4203,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"read-resource","id":5625,"timestamp":1673673266282,"duration":36,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5626,"name":"postcss-process","id":5627,"timestamp":1673673266347,"duration":33968,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"postcss-loader","id":5626,"timestamp":1673673266335,"duration":34123,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"css-loader","id":5628,"timestamp":1673673300479,"duration":8987,"tags":{"astUsed":"true"},"startTime":1664596717180},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"build-module-css","id":5624,"timestamp":1673673266152,"duration":44695,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5622,"timestamp":1673673261869,"duration":51272,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5621,"timestamp":1673673261866,"duration":51293,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5623,"timestamp":1673673261872,"duration":54943,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5619,"timestamp":1673673261860,"duration":55279,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5620,"timestamp":1673673261863,"duration":83981,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"make","id":5616,"timestamp":1673673260207,"duration":85662,"tags":{},"startTime":1664596717140},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-chunk-graph","id":5630,"timestamp":1673673350068,"duration":16100,"tags":{},"startTime":1664596717230},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-modules","id":5632,"timestamp":1673673366191,"duration":3,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-chunks","id":5633,"timestamp":1673673366202,"duration":31,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-tree","id":5634,"timestamp":1673673366251,"duration":3,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize","id":5631,"timestamp":1673673366184,"duration":1339,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-hash","id":5635,"timestamp":1673673377085,"duration":4135,"tags":{},"startTime":1664596717257},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"NextJsBuildManifest-generateClientManifest","id":5637,"timestamp":1673673382143,"duration":61,"tags":{},"startTime":1664596717262},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"NextJsBuildManifest-createassets","id":5636,"timestamp":1673673382074,"duration":133,"tags":{},"startTime":1664596717262},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-seal","id":5629,"timestamp":1673673346882,"duration":36276,"tags":{},"startTime":1664596717226},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"webpack-compilation","id":5615,"timestamp":1673673260026,"duration":123156,"tags":{"name":"client"},"startTime":1664596717140},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"emit","id":5638,"timestamp":1673673383197,"duration":3714,"tags":{},"startTime":1664596717263},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5596,"timestamp":1673673224542,"duration":162948,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596717104}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5639,"timestamp":1673673396569,"duration":0,"tags":{},"startTime":1664596717276},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5640,"timestamp":1673673396634,"duration":0,"tags":{},"startTime":1664596717276},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5645,"timestamp":1673676931236,"duration":6243,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5646,"timestamp":1673676931301,"duration":7148,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5650,"timestamp":1673676931320,"duration":10952,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5649,"timestamp":1673676931315,"duration":10985,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5651,"timestamp":1673676931323,"duration":15658,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5647,"timestamp":1673676931307,"duration":16218,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5648,"timestamp":1673676931311,"duration":42833,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"make","id":5644,"timestamp":1673676930189,"duration":43979,"tags":{},"startTime":1664596720810},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-chunk-graph","id":5653,"timestamp":1673676978601,"duration":5361,"tags":{},"startTime":1664596720858},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-modules","id":5655,"timestamp":1673676983989,"duration":3,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-chunks","id":5656,"timestamp":1673676984002,"duration":41,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-tree","id":5657,"timestamp":1673676984063,"duration":3,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize","id":5654,"timestamp":1673676983977,"duration":1013,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-hash","id":5658,"timestamp":1673676991959,"duration":3383,"tags":{},"startTime":1664596720872},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"NextJsBuildManifest-generateClientManifest","id":5660,"timestamp":1673676996142,"duration":50,"tags":{},"startTime":1664596720876},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"NextJsBuildManifest-createassets","id":5659,"timestamp":1673676996094,"duration":103,"tags":{},"startTime":1664596720876},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-seal","id":5652,"timestamp":1673676975075,"duration":21955,"tags":{},"startTime":1664596720855},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"webpack-compilation","id":5643,"timestamp":1673676929929,"duration":67120,"tags":{"name":"client"},"startTime":1664596720809},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"emit","id":5661,"timestamp":1673676997060,"duration":4071,"tags":{},"startTime":1664596720877},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5641,"timestamp":1673676906678,"duration":94851,"tags":{"trigger":"manual"},"startTime":1664596720786},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5664,"timestamp":1673677010796,"duration":0,"tags":{},"startTime":1664596720890},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5665,"timestamp":1673677010838,"duration":0,"tags":{},"startTime":1664596720890},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5669,"timestamp":1673677011224,"duration":2513,"tags":{"request":"./pages/index.tsx"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5668,"timestamp":1673677011223,"duration":2672,"tags":{"request":"private-next-pages/_error"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5667,"timestamp":1673677011220,"duration":2679,"tags":{"request":"private-next-pages/_document"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5666,"timestamp":1673677011183,"duration":2862,"tags":{"request":"private-next-pages/_app"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"make","id":5663,"timestamp":1673677002413,"duration":11644,"tags":{},"startTime":1664596720882},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-chunk-graph","id":5671,"timestamp":1673677014284,"duration":196,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-modules","id":5673,"timestamp":1673677014486,"duration":2,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-chunks","id":5674,"timestamp":1673677014495,"duration":17,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-tree","id":5675,"timestamp":1673677014518,"duration":2,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize","id":5672,"timestamp":1673677014484,"duration":82,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-hash","id":5676,"timestamp":1673677015235,"duration":436,"tags":{},"startTime":1664596720895},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-seal","id":5670,"timestamp":1673677014226,"duration":1992,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"webpack-compilation","id":5662,"timestamp":1673677002282,"duration":13954,"tags":{"name":"server"},"startTime":1664596720882},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"emit","id":5677,"timestamp":1673677016244,"duration":3522,"tags":{},"startTime":1664596720896},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5642,"timestamp":1673676907505,"duration":112765,"tags":{"trigger":"manual"},"startTime":1664596720787}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5678,"timestamp":1673677297770,"duration":0,"tags":{},"startTime":1664596721177},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5679,"timestamp":1673677298113,"duration":0,"tags":{},"startTime":1664596721178},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5684,"timestamp":1673685152125,"duration":5895,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5685,"timestamp":1673685152219,"duration":7295,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5689,"timestamp":1673685152235,"duration":7987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5688,"timestamp":1673685152230,"duration":8008,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5694,"name":"next-swc-transform","id":5695,"timestamp":1673685159955,"duration":3118,"tags":{},"startTime":1664596729040},{"traceId":"43f2de6d909a73f7","parentId":5693,"name":"next-swc-loader","id":5694,"timestamp":1673685159887,"duration":3193,"tags":{},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"build-module-tsx","id":5693,"timestamp":1673685159804,"duration":9625,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5690,"timestamp":1673685152237,"duration":18545,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5686,"timestamp":1673685152224,"duration":19734,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"read-resource","id":5692,"timestamp":1673685159755,"duration":12236,"tags":{},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5696,"name":"postcss-process","id":5697,"timestamp":1673685172037,"duration":37514,"tags":{},"startTime":1664596729052},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"postcss-loader","id":5696,"timestamp":1673685172018,"duration":37997,"tags":{},"startTime":1664596729052},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"css-loader","id":5698,"timestamp":1673685210034,"duration":11849,"tags":{"astUsed":"true"},"startTime":1664596729090},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"build-module-css","id":5691,"timestamp":1673685159621,"duration":67926,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5687,"timestamp":1673685152226,"duration":106000,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"make","id":5683,"timestamp":1673685151110,"duration":107140,"tags":{},"startTime":1664596729031},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-chunk-graph","id":5700,"timestamp":1673685262452,"duration":17445,"tags":{},"startTime":1664596729142},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-modules","id":5702,"timestamp":1673685279924,"duration":3,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-chunks","id":5703,"timestamp":1673685279938,"duration":95,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-tree","id":5704,"timestamp":1673685280055,"duration":4,"tags":{},"startTime":1664596729160},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize","id":5701,"timestamp":1673685279915,"duration":1653,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-hash","id":5705,"timestamp":1673685294053,"duration":5594,"tags":{},"startTime":1664596729174},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"NextJsBuildManifest-generateClientManifest","id":5707,"timestamp":1673685310843,"duration":56,"tags":{},"startTime":1664596729190},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"NextJsBuildManifest-createassets","id":5706,"timestamp":1673685310786,"duration":120,"tags":{},"startTime":1664596729190},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-seal","id":5699,"timestamp":1673685259314,"duration":53389,"tags":{},"startTime":1664596729139},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"webpack-compilation","id":5682,"timestamp":1673685150909,"duration":161823,"tags":{"name":"client"},"startTime":1664596729030},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"emit","id":5708,"timestamp":1673685312750,"duration":103245,"tags":{},"startTime":1664596729192},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5680,"timestamp":1673685136598,"duration":280201,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5711,"timestamp":1673685428440,"duration":0,"tags":{},"startTime":1664596729308},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5712,"timestamp":1673685428500,"duration":0,"tags":{},"startTime":1664596729308},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5716,"timestamp":1673685429997,"duration":3624,"tags":{"request":"./pages/index.tsx"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5715,"timestamp":1673685429995,"duration":3872,"tags":{"request":"private-next-pages/_error"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5714,"timestamp":1673685429990,"duration":3881,"tags":{"request":"private-next-pages/_document"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5718,"name":"next-swc-transform","id":5719,"timestamp":1673685433480,"duration":1298,"tags":{},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5717,"name":"next-swc-loader","id":5718,"timestamp":1673685433416,"duration":1364,"tags":{},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"build-module-tsx","id":5717,"timestamp":1673685433276,"duration":10940,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5713,"timestamp":1673685429926,"duration":19393,"tags":{"request":"private-next-pages/_app"},"startTime":1664596729309},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"make","id":5710,"timestamp":1673685417813,"duration":31524,"tags":{},"startTime":1664596729297},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-chunk-graph","id":5721,"timestamp":1673685449694,"duration":280,"tags":{},"startTime":1664596729329},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-modules","id":5723,"timestamp":1673685449981,"duration":17,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-chunks","id":5724,"timestamp":1673685450006,"duration":24,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-tree","id":5725,"timestamp":1673685450039,"duration":4,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize","id":5722,"timestamp":1673685449978,"duration":121,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-hash","id":5726,"timestamp":1673685451361,"duration":527,"tags":{},"startTime":1664596729331},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-seal","id":5720,"timestamp":1673685449619,"duration":3774,"tags":{},"startTime":1664596729329},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"webpack-compilation","id":5709,"timestamp":1673685417652,"duration":35761,"tags":{"name":"server"},"startTime":1664596729297},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5728,"timestamp":1664596729016999,"duration":316000,"tags":{"clientId":1664595509559},"startTime":1664596729336},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"emit","id":5727,"timestamp":1673685453425,"duration":5248,"tags":{},"startTime":1664596729333},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5681,"timestamp":1673685136842,"duration":322407,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729016}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5729,"timestamp":1664596729017999,"duration":322000,"tags":{"clientId":1664596721221},"startTime":1664596729342},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5737,"timestamp":1673689397285,"duration":4111,"tags":{"request":"./pages/index.tsx"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5736,"timestamp":1673689397283,"duration":4365,"tags":{"request":"private-next-pages/_error"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5735,"timestamp":1673689397279,"duration":4376,"tags":{"request":"private-next-pages/_document"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5739,"name":"next-swc-transform","id":5740,"timestamp":1673689401252,"duration":1953,"tags":{},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5738,"name":"next-swc-loader","id":5739,"timestamp":1673689401209,"duration":2004,"tags":{},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"build-module-tsx","id":5738,"timestamp":1673689401028,"duration":8747,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5734,"timestamp":1673689397229,"duration":16216,"tags":{"request":"private-next-pages/_app"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"make","id":5733,"timestamp":1673689393957,"duration":19510,"tags":{},"startTime":1664596733274},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-chunk-graph","id":5742,"timestamp":1673689413782,"duration":403,"tags":{},"startTime":1664596733293},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-modules","id":5744,"timestamp":1673689414204,"duration":2,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-chunks","id":5745,"timestamp":1673689414214,"duration":31,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-tree","id":5746,"timestamp":1673689414264,"duration":3,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize","id":5743,"timestamp":1673689414197,"duration":131,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-hash","id":5747,"timestamp":1673689415553,"duration":630,"tags":{},"startTime":1664596733295},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-seal","id":5741,"timestamp":1673689413710,"duration":4162,"tags":{},"startTime":1664596733293},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"webpack-compilation","id":5732,"timestamp":1673689393781,"duration":24116,"tags":{"name":"server"},"startTime":1664596733273},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"emit","id":5748,"timestamp":1673689417910,"duration":11514,"tags":{},"startTime":1664596733297},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5730,"timestamp":1673689387336,"duration":42346,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733267},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5751,"timestamp":1673689435358,"duration":3401,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5752,"timestamp":1673689435399,"duration":4000,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"read-resource","id":5759,"timestamp":1673689439611,"duration":83,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5761,"name":"postcss-process","id":5762,"timestamp":1673689439720,"duration":34086,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"postcss-loader","id":5761,"timestamp":1673689439711,"duration":34458,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"css-loader","id":5765,"timestamp":1673689474186,"duration":9504,"tags":{"astUsed":"true"},"startTime":1664596733354},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"build-module-css","id":5758,"timestamp":1673689439486,"duration":45357,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5763,"name":"next-swc-transform","id":5764,"timestamp":1673689440195,"duration":44862,"tags":{},"startTime":1664596733320},{"traceId":"43f2de6d909a73f7","parentId":5760,"name":"next-swc-loader","id":5763,"timestamp":1673689440158,"duration":44900,"tags":{},"startTime":1664596733320},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"build-module-tsx","id":5760,"timestamp":1673689439629,"duration":48890,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5756,"timestamp":1673689435411,"duration":55447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5755,"timestamp":1673689435408,"duration":55466,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5757,"timestamp":1673689435413,"duration":58386,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5753,"timestamp":1673689435403,"duration":65953,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5754,"timestamp":1673689435405,"duration":86339,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"make","id":5750,"timestamp":1673689433996,"duration":87768,"tags":{},"startTime":1664596733314},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-chunk-graph","id":5767,"timestamp":1673689526079,"duration":15714,"tags":{},"startTime":1664596733406},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-modules","id":5769,"timestamp":1673689541820,"duration":2,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-chunks","id":5770,"timestamp":1673689541831,"duration":34,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-tree","id":5771,"timestamp":1673689541887,"duration":3,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize","id":5768,"timestamp":1673689541813,"duration":1533,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-hash","id":5772,"timestamp":1673689555358,"duration":3966,"tags":{},"startTime":1664596733435},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"NextJsBuildManifest-generateClientManifest","id":5774,"timestamp":1673689569611,"duration":49,"tags":{},"startTime":1664596733449},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"NextJsBuildManifest-createassets","id":5773,"timestamp":1673689569564,"duration":104,"tags":{},"startTime":1664596733449},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-seal","id":5766,"timestamp":1673689522882,"duration":48686,"tags":{},"startTime":1664596733402},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"webpack-compilation","id":5749,"timestamp":1673689433826,"duration":137776,"tags":{"name":"client"},"startTime":1664596733313},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"emit","id":5775,"timestamp":1673689571618,"duration":88442,"tags":{},"startTime":1664596733451},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5731,"timestamp":1673689387475,"duration":273266,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733267}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5777,"timestamp":1673689670982,"duration":0,"tags":{},"startTime":1664596733551},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5780,"timestamp":1673689685208,"duration":0,"tags":{},"startTime":1664596733565},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5781,"timestamp":1673689685947,"duration":5163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596733565},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5788,"timestamp":1664596733550000,"duration":19999,"tags":{"clientId":1664595509559},"startTime":1664596733571},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5782,"timestamp":1673689685980,"duration":6046,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"read-resource","id":5790,"timestamp":1673689692207,"duration":37,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5791,"name":"postcss-process","id":5792,"timestamp":1673689692264,"duration":35750,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"postcss-loader","id":5791,"timestamp":1673689692256,"duration":35997,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"css-loader","id":5793,"timestamp":1673689728276,"duration":10026,"tags":{"astUsed":"true"},"startTime":1664596733608},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"build-module-css","id":5789,"timestamp":1673689692116,"duration":47188,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5786,"timestamp":1673689685991,"duration":53955,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5785,"timestamp":1673689685988,"duration":53971,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5787,"timestamp":1673689685993,"duration":59809,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5783,"timestamp":1673689685984,"duration":60160,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5794,"timestamp":1664596733556000,"duration":76000,"tags":{"clientId":1664596721221},"startTime":1664596733633},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5784,"timestamp":1673689685986,"duration":84463,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"make","id":5779,"timestamp":1673689684503,"duration":85969,"tags":{},"startTime":1664596733564},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-chunk-graph","id":5796,"timestamp":1673689774735,"duration":3598,"tags":{},"startTime":1664596733654},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-modules","id":5798,"timestamp":1673689778349,"duration":2,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-chunks","id":5799,"timestamp":1673689778359,"duration":37,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-tree","id":5800,"timestamp":1673689778412,"duration":3,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize","id":5797,"timestamp":1673689778344,"duration":1093,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-hash","id":5801,"timestamp":1673689789429,"duration":3458,"tags":{},"startTime":1664596733669},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"NextJsBuildManifest-generateClientManifest","id":5803,"timestamp":1673689793660,"duration":44,"tags":{},"startTime":1664596733673},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"NextJsBuildManifest-createassets","id":5802,"timestamp":1673689793622,"duration":83,"tags":{},"startTime":1664596733673},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-seal","id":5795,"timestamp":1673689771490,"duration":23383,"tags":{},"startTime":1664596733651},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"webpack-compilation","id":5778,"timestamp":1673689684289,"duration":110621,"tags":{"name":"client"},"startTime":1664596733564},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"emit","id":5804,"timestamp":1673689794928,"duration":2675,"tags":{},"startTime":1664596733674},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5776,"timestamp":1673689670273,"duration":127841,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596733550}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5805,"timestamp":1673689810451,"duration":0,"tags":{},"startTime":1664596733690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5806,"timestamp":1673689810519,"duration":0,"tags":{},"startTime":1664596733690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5807,"timestamp":1673721799197,"duration":0,"tags":{},"startTime":1664596765679},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5808,"timestamp":1673721802065,"duration":0,"tags":{},"startTime":1664596765682},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5813,"timestamp":1673731812769,"duration":7762,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"read-resource","id":5821,"timestamp":1673731821539,"duration":105,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5823,"name":"postcss-process","id":5824,"timestamp":1673731821677,"duration":43962,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"postcss-loader","id":5823,"timestamp":1673731821665,"duration":44522,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"css-loader","id":5827,"timestamp":1673731866218,"duration":28582,"tags":{"astUsed":"true"},"startTime":1664596775746},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"build-module-css","id":5820,"timestamp":1673731821377,"duration":76754,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5825,"name":"next-swc-transform","id":5826,"timestamp":1673731821852,"duration":76600,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5822,"name":"next-swc-loader","id":5825,"timestamp":1673731821820,"duration":76634,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"build-module-tsx","id":5822,"timestamp":1673731821573,"duration":84338,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5818,"timestamp":1673731812835,"duration":93537,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5814,"timestamp":1673731812815,"duration":97577,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5817,"timestamp":1673731812832,"duration":97925,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5819,"timestamp":1673731812837,"duration":112794,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5815,"timestamp":1673731812820,"duration":137664,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5816,"timestamp":1673731812829,"duration":174090,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"make","id":5812,"timestamp":1673731811658,"duration":175295,"tags":{},"startTime":1664596775691},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-chunk-graph","id":5829,"timestamp":1673731991570,"duration":17381,"tags":{},"startTime":1664596775871},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-modules","id":5831,"timestamp":1673732008973,"duration":3,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-chunks","id":5832,"timestamp":1673732008985,"duration":56,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-tree","id":5833,"timestamp":1673732009060,"duration":6,"tags":{},"startTime":1664596775889},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize","id":5830,"timestamp":1673732008966,"duration":1514,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-hash","id":5834,"timestamp":1673732022017,"duration":5535,"tags":{},"startTime":1664596775902},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"NextJsBuildManifest-generateClientManifest","id":5836,"timestamp":1673732041225,"duration":63,"tags":{},"startTime":1664596775921},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"NextJsBuildManifest-createassets","id":5835,"timestamp":1673732041174,"duration":122,"tags":{},"startTime":1664596775921},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-seal","id":5828,"timestamp":1673731988169,"duration":54823,"tags":{},"startTime":1664596775868},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"webpack-compilation","id":5811,"timestamp":1673731811470,"duration":231546,"tags":{"name":"client"},"startTime":1664596775691},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"emit","id":5837,"timestamp":1673732043038,"duration":105072,"tags":{},"startTime":1664596775923},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5809,"timestamp":1673731800816,"duration":347935,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775680},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5844,"timestamp":1673732160313,"duration":0,"tags":{},"startTime":1664596776040},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5845,"timestamp":1673732160353,"duration":0,"tags":{},"startTime":1664596776040},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5843,"timestamp":1673732159835,"duration":8547,"tags":{"request":"private-next-pages/_error"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5842,"timestamp":1673732159831,"duration":8561,"tags":{"request":"private-next-pages/_document"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5847,"name":"next-swc-transform","id":5848,"timestamp":1673732167062,"duration":2604,"tags":{},"startTime":1664596776047},{"traceId":"43f2de6d909a73f7","parentId":5846,"name":"next-swc-loader","id":5847,"timestamp":1673732167011,"duration":2663,"tags":{},"startTime":1664596776047},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"build-module-tsx","id":5846,"timestamp":1673732166893,"duration":4970,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596776046},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5841,"timestamp":1673732159790,"duration":14741,"tags":{"request":"private-next-pages/_app"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"make","id":5839,"timestamp":1673732149859,"duration":24685,"tags":{},"startTime":1664596776029},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-chunk-graph","id":5850,"timestamp":1673732174769,"duration":217,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-modules","id":5852,"timestamp":1673732174993,"duration":2,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-chunks","id":5853,"timestamp":1673732175002,"duration":14,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-tree","id":5854,"timestamp":1673732175022,"duration":2,"tags":{},"startTime":1664596776055},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize","id":5851,"timestamp":1673732174990,"duration":85,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-hash","id":5855,"timestamp":1673732176073,"duration":648,"tags":{},"startTime":1664596776056},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-seal","id":5849,"timestamp":1673732174714,"duration":3251,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"webpack-compilation","id":5838,"timestamp":1673732149695,"duration":28288,"tags":{"name":"server"},"startTime":1664596776029},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5857,"timestamp":1664596776039000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664596776060},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5858,"timestamp":1664596776054000,"duration":20999,"tags":{"clientId":1664596721221},"startTime":1664596776076},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"emit","id":5856,"timestamp":1673732177994,"duration":23067,"tags":{},"startTime":1664596776057},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5810,"timestamp":1673731801037,"duration":400290,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775681},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5861,"timestamp":1673732205739,"duration":3073,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5862,"timestamp":1673732205773,"duration":3545,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"read-resource","id":5869,"timestamp":1673732209485,"duration":32,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5870,"name":"postcss-process","id":5871,"timestamp":1673732209539,"duration":30875,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"postcss-loader","id":5870,"timestamp":1673732209531,"duration":31028,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"css-loader","id":5872,"timestamp":1673732240578,"duration":8032,"tags":{"astUsed":"true"},"startTime":1664596776120},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"build-module-css","id":5868,"timestamp":1673732209398,"duration":40124,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5866,"timestamp":1673732205848,"duration":45667,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5865,"timestamp":1673732205845,"duration":45683,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5867,"timestamp":1673732205850,"duration":48877,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5863,"timestamp":1673732205837,"duration":49160,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5864,"timestamp":1673732205842,"duration":72784,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"make","id":5860,"timestamp":1673732204474,"duration":74171,"tags":{},"startTime":1664596776084},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-chunk-graph","id":5874,"timestamp":1673732282712,"duration":3473,"tags":{},"startTime":1664596776162},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-modules","id":5876,"timestamp":1673732286203,"duration":2,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-chunks","id":5877,"timestamp":1673732286213,"duration":30,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-tree","id":5878,"timestamp":1673732286257,"duration":3,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize","id":5875,"timestamp":1673732286198,"duration":930,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-hash","id":5879,"timestamp":1673732296128,"duration":3256,"tags":{},"startTime":1664596776176},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"NextJsBuildManifest-generateClientManifest","id":5881,"timestamp":1673732300105,"duration":44,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"NextJsBuildManifest-createassets","id":5880,"timestamp":1673732300064,"duration":87,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-seal","id":5873,"timestamp":1673732279528,"duration":21437,"tags":{},"startTime":1664596776159},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"webpack-compilation","id":5859,"timestamp":1673732204320,"duration":96664,"tags":{"name":"client"},"startTime":1664596776084},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"emit","id":5882,"timestamp":1673732300994,"duration":1957,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5840,"timestamp":1673732159573,"duration":143892,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596776039}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5883,"timestamp":1673732314621,"duration":0,"tags":{},"startTime":1664596776194},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5884,"timestamp":1673732314664,"duration":0,"tags":{},"startTime":1664596776194},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5891,"timestamp":1673738786274,"duration":6056,"tags":{"request":"private-next-pages/_error"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5890,"timestamp":1673738786270,"duration":6071,"tags":{"request":"private-next-pages/_document"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5893,"name":"next-swc-transform","id":5894,"timestamp":1673738791860,"duration":10913,"tags":{},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5892,"name":"next-swc-loader","id":5893,"timestamp":1673738791817,"duration":10966,"tags":{},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"build-module-tsx","id":5892,"timestamp":1673738791714,"duration":12939,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5889,"timestamp":1673738786232,"duration":20952,"tags":{"request":"private-next-pages/_app"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"make","id":5888,"timestamp":1673738786151,"duration":21054,"tags":{},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-chunk-graph","id":5896,"timestamp":1673738807464,"duration":193,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-modules","id":5898,"timestamp":1673738807667,"duration":2,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-chunks","id":5899,"timestamp":1673738807676,"duration":15,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-tree","id":5900,"timestamp":1673738807700,"duration":2,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize","id":5897,"timestamp":1673738807663,"duration":84,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-hash","id":5901,"timestamp":1673738808747,"duration":474,"tags":{},"startTime":1664596782688},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-seal","id":5895,"timestamp":1673738807402,"duration":3073,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"webpack-compilation","id":5887,"timestamp":1673738785986,"duration":24512,"tags":{"name":"server"},"startTime":1664596782665},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"emit","id":5902,"timestamp":1673738810513,"duration":2710,"tags":{},"startTime":1664596782690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5885,"timestamp":1673738779164,"duration":34265,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782659},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5905,"timestamp":1673738823209,"duration":6671,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5906,"timestamp":1673738823250,"duration":8916,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"read-resource","id":5913,"timestamp":1673738832655,"duration":199,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5915,"name":"postcss-process","id":5916,"timestamp":1673738832891,"duration":48661,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"postcss-loader","id":5915,"timestamp":1673738832876,"duration":48821,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"css-loader","id":5919,"timestamp":1673738881716,"duration":10214,"tags":{"astUsed":"true"},"startTime":1664596782761},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"build-module-css","id":5912,"timestamp":1673738832359,"duration":60591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5917,"name":"next-swc-transform","id":5918,"timestamp":1673738833189,"duration":59985,"tags":{},"startTime":1664596782713},{"traceId":"43f2de6d909a73f7","parentId":5914,"name":"next-swc-loader","id":5917,"timestamp":1673738833148,"duration":60027,"tags":{},"startTime":1664596782713},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"build-module-tsx","id":5914,"timestamp":1673738832685,"duration":63437,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5910,"timestamp":1673738823264,"duration":83533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5909,"timestamp":1673738823260,"duration":83575,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5911,"timestamp":1673738823266,"duration":88473,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5907,"timestamp":1673738823253,"duration":98646,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5908,"timestamp":1673738823256,"duration":135044,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"make","id":5904,"timestamp":1673738817816,"duration":140522,"tags":{},"startTime":1664596782697},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-chunk-graph","id":5921,"timestamp":1673738963919,"duration":20111,"tags":{},"startTime":1664596782843},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-modules","id":5923,"timestamp":1673738984054,"duration":2,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-chunks","id":5924,"timestamp":1673738984065,"duration":133,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-tree","id":5925,"timestamp":1673738984222,"duration":8,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize","id":5922,"timestamp":1673738984047,"duration":1860,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-hash","id":5926,"timestamp":1673738998574,"duration":4740,"tags":{},"startTime":1664596782878},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"NextJsBuildManifest-generateClientManifest","id":5928,"timestamp":1673739015272,"duration":70,"tags":{},"startTime":1664596782895},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"NextJsBuildManifest-createassets","id":5927,"timestamp":1673739015209,"duration":141,"tags":{},"startTime":1664596782895},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-seal","id":5920,"timestamp":1673738959658,"duration":57645,"tags":{},"startTime":1664596782839},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"webpack-compilation","id":5903,"timestamp":1673738817649,"duration":199683,"tags":{"name":"client"},"startTime":1664596782697},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"emit","id":5929,"timestamp":1673739017355,"duration":97979,"tags":{},"startTime":1664596782897},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5886,"timestamp":1673738779289,"duration":337128,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782659}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5933,"timestamp":1673739148629,"duration":0,"tags":{},"startTime":1664596783028},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5934,"timestamp":1673739148745,"duration":0,"tags":{},"startTime":1664596783028},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5935,"timestamp":1673739151011,"duration":5060,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596783030},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5936,"timestamp":1673739151107,"duration":5740,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"read-resource","id":5943,"timestamp":1673739157097,"duration":33,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5944,"name":"postcss-process","id":5945,"timestamp":1673739157161,"duration":29107,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"postcss-loader","id":5944,"timestamp":1673739157150,"duration":29274,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"css-loader","id":5946,"timestamp":1673739186446,"duration":12253,"tags":{"astUsed":"true"},"startTime":1664596783066},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"build-module-css","id":5942,"timestamp":1673739156956,"duration":43288,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596783036},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5940,"timestamp":1673739151123,"duration":50208,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5939,"timestamp":1673739151120,"duration":50224,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5941,"timestamp":1673739151125,"duration":54168,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5937,"timestamp":1673739151114,"duration":54450,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5947,"timestamp":1664596783008999,"duration":78000,"tags":{"clientId":1664596721221},"startTime":1664596783089},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5948,"timestamp":1664596783008999,"duration":85000,"tags":{"clientId":1664595509559},"startTime":1664596783095},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5938,"timestamp":1673739151117,"duration":86011,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"make","id":5932,"timestamp":1673739147916,"duration":89261,"tags":{},"startTime":1664596783027},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-chunk-graph","id":5950,"timestamp":1673739241803,"duration":17103,"tags":{},"startTime":1664596783121},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-modules","id":5952,"timestamp":1673739258931,"duration":2,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-chunks","id":5953,"timestamp":1673739258943,"duration":98,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-tree","id":5954,"timestamp":1673739259061,"duration":3,"tags":{},"startTime":1664596783139},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize","id":5951,"timestamp":1673739258923,"duration":1535,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-hash","id":5955,"timestamp":1673739271366,"duration":3457,"tags":{},"startTime":1664596783151},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"NextJsBuildManifest-generateClientManifest","id":5957,"timestamp":1673739275586,"duration":49,"tags":{},"startTime":1664596783155},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"NextJsBuildManifest-createassets","id":5956,"timestamp":1673739275540,"duration":97,"tags":{},"startTime":1664596783155},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-seal","id":5949,"timestamp":1673739238269,"duration":38375,"tags":{},"startTime":1664596783118},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"webpack-compilation","id":5931,"timestamp":1673739147710,"duration":128959,"tags":{"name":"client"},"startTime":1664596783027},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"emit","id":5958,"timestamp":1673739276686,"duration":2018,"tags":{},"startTime":1664596783156},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5930,"timestamp":1673739128916,"duration":150339,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596783008}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5959,"timestamp":1673739291067,"duration":0,"tags":{},"startTime":1664596783171},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5960,"timestamp":1673739291110,"duration":0,"tags":{},"startTime":1664596783171},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5967,"timestamp":1673744106878,"duration":7374,"tags":{"request":"private-next-pages/_error"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5966,"timestamp":1673744106875,"duration":7428,"tags":{"request":"private-next-pages/_document"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5969,"name":"next-swc-transform","id":5970,"timestamp":1673744113622,"duration":2079,"tags":{},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5968,"name":"next-swc-loader","id":5969,"timestamp":1673744113541,"duration":2167,"tags":{},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"build-module-tsx","id":5968,"timestamp":1673744113320,"duration":5092,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5965,"timestamp":1673744106838,"duration":14610,"tags":{"request":"private-next-pages/_app"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"make","id":5964,"timestamp":1673744106733,"duration":14733,"tags":{},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-chunk-graph","id":5972,"timestamp":1673744121761,"duration":179,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-modules","id":5974,"timestamp":1673744121949,"duration":2,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-chunks","id":5975,"timestamp":1673744122027,"duration":17,"tags":{},"startTime":1664596788002},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-tree","id":5976,"timestamp":1673744122122,"duration":9,"tags":{},"startTime":1664596788002},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize","id":5973,"timestamp":1673744121945,"duration":276,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-hash","id":5977,"timestamp":1673744123433,"duration":475,"tags":{},"startTime":1664596788003},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-seal","id":5971,"timestamp":1673744121699,"duration":4792,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"webpack-compilation","id":5963,"timestamp":1673744106547,"duration":19964,"tags":{"name":"server"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"emit","id":5978,"timestamp":1673744126521,"duration":9351,"tags":{},"startTime":1664596788006},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5961,"timestamp":1673744099595,"duration":36550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787979},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5981,"timestamp":1673744141690,"duration":3579,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5982,"timestamp":1673744141736,"duration":4190,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"read-resource","id":5989,"timestamp":1673744146102,"duration":74,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5991,"name":"postcss-process","id":5992,"timestamp":1673744146193,"duration":35492,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"postcss-loader","id":5991,"timestamp":1673744146186,"duration":35644,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"css-loader","id":5995,"timestamp":1673744181848,"duration":8873,"tags":{"astUsed":"true"},"startTime":1664596788061},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"build-module-css","id":5988,"timestamp":1673744146007,"duration":45722,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596788025},{"traceId":"43f2de6d909a73f7","parentId":5993,"name":"next-swc-transform","id":5994,"timestamp":1673744146444,"duration":45438,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5990,"name":"next-swc-loader","id":5993,"timestamp":1673744146403,"duration":45480,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"build-module-tsx","id":5990,"timestamp":1673744146118,"duration":48237,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5986,"timestamp":1673744141749,"duration":54770,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5985,"timestamp":1673744141746,"duration":54786,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5987,"timestamp":1673744141751,"duration":57710,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5983,"timestamp":1673744141739,"duration":64571,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5984,"timestamp":1673744141743,"duration":86073,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"make","id":5980,"timestamp":1673744140166,"duration":87668,"tags":{},"startTime":1664596788020},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-chunk-graph","id":5997,"timestamp":1673744232569,"duration":3869,"tags":{},"startTime":1664596788112},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-modules","id":5999,"timestamp":1673744236470,"duration":3,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-chunks","id":6000,"timestamp":1673744236487,"duration":40,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-tree","id":6001,"timestamp":1673744236554,"duration":3,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize","id":5998,"timestamp":1673744236458,"duration":1228,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-hash","id":6002,"timestamp":1673744248732,"duration":3995,"tags":{},"startTime":1664596788128},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"NextJsBuildManifest-generateClientManifest","id":6004,"timestamp":1673744267994,"duration":64,"tags":{},"startTime":1664596788147},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"NextJsBuildManifest-createassets","id":6003,"timestamp":1673744267926,"duration":142,"tags":{},"startTime":1664596788147},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-seal","id":5996,"timestamp":1673744228773,"duration":42133,"tags":{},"startTime":1664596788108},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"webpack-compilation","id":5979,"timestamp":1673744139992,"duration":130974,"tags":{"name":"client"},"startTime":1664596788019},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"emit","id":6005,"timestamp":1673744270986,"duration":110987,"tags":{},"startTime":1664596788150},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5962,"timestamp":1673744099696,"duration":283930,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787979}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6007,"timestamp":1673744401398,"duration":0,"tags":{},"startTime":1664596788281},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6008,"timestamp":1673744401459,"duration":0,"tags":{},"startTime":1664596788281},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6011,"timestamp":1673744413203,"duration":4268,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6018,"timestamp":1664596788280000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6019,"timestamp":1664596788280000,"duration":16999,"tags":{"clientId":1664596721221},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6012,"timestamp":1673744413250,"duration":5022,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"read-resource","id":6021,"timestamp":1673744418491,"duration":32,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6022,"name":"postcss-process","id":6023,"timestamp":1673744418549,"duration":33463,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"postcss-loader","id":6022,"timestamp":1673744418540,"duration":33766,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"css-loader","id":6024,"timestamp":1673744452344,"duration":11470,"tags":{"astUsed":"true"},"startTime":1664596788332},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"build-module-css","id":6020,"timestamp":1673744418367,"duration":46750,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6016,"timestamp":1673744413263,"duration":52270,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6015,"timestamp":1673744413260,"duration":52285,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6017,"timestamp":1673744413265,"duration":56417,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6013,"timestamp":1673744413255,"duration":56828,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6014,"timestamp":1673744413257,"duration":86241,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"make","id":6010,"timestamp":1673744411383,"duration":88142,"tags":{},"startTime":1664596788291},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-chunk-graph","id":6026,"timestamp":1673744504009,"duration":18772,"tags":{},"startTime":1664596788383},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-modules","id":6028,"timestamp":1673744522809,"duration":3,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-chunks","id":6029,"timestamp":1673744522821,"duration":101,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-tree","id":6030,"timestamp":1673744522943,"duration":3,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize","id":6027,"timestamp":1673744522801,"duration":1414,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-hash","id":6031,"timestamp":1673744532335,"duration":5535,"tags":{},"startTime":1664596788412},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"NextJsBuildManifest-generateClientManifest","id":6033,"timestamp":1673744538679,"duration":53,"tags":{},"startTime":1664596788418},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"NextJsBuildManifest-createassets","id":6032,"timestamp":1673744538627,"duration":108,"tags":{},"startTime":1664596788418},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-seal","id":6025,"timestamp":1673744500530,"duration":39018,"tags":{},"startTime":1664596788380},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"webpack-compilation","id":6009,"timestamp":1673744411170,"duration":128397,"tags":{"name":"client"},"startTime":1664596788291},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"emit","id":6034,"timestamp":1673744539584,"duration":1968,"tags":{},"startTime":1664596788419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6006,"timestamp":1673744399944,"duration":142194,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596788279}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6035,"timestamp":1673744551987,"duration":0,"tags":{},"startTime":1664596788431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6036,"timestamp":1673744552033,"duration":0,"tags":{},"startTime":1664596788432},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6043,"timestamp":1673803372796,"duration":18696,"tags":{"request":"private-next-pages/_error"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6042,"timestamp":1673803372791,"duration":18757,"tags":{"request":"private-next-pages/_document"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6045,"name":"next-swc-transform","id":6046,"timestamp":1673803387874,"duration":4230,"tags":{},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6044,"name":"next-swc-loader","id":6045,"timestamp":1673803387695,"duration":4411,"tags":{},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"build-module-tsx","id":6044,"timestamp":1673803387441,"duration":13058,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6041,"timestamp":1673803372704,"duration":35207,"tags":{"request":"private-next-pages/_app"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"make","id":6040,"timestamp":1673803372494,"duration":35445,"tags":{},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-chunk-graph","id":6048,"timestamp":1673803408461,"duration":288,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-modules","id":6050,"timestamp":1673803408758,"duration":10,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-chunks","id":6051,"timestamp":1673803408799,"duration":45,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-tree","id":6052,"timestamp":1673803408865,"duration":18,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize","id":6049,"timestamp":1673803408755,"duration":237,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-hash","id":6053,"timestamp":1673803411181,"duration":858,"tags":{},"startTime":1664596847291},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-seal","id":6047,"timestamp":1673803408345,"duration":6029,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"webpack-compilation","id":6039,"timestamp":1673803372245,"duration":42156,"tags":{"name":"server"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"emit","id":6054,"timestamp":1673803414414,"duration":1658,"tags":{},"startTime":1664596847294},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6037,"timestamp":1673803365760,"duration":51518,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847245},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6057,"timestamp":1673803424038,"duration":4836,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6062,"timestamp":1673803424078,"duration":6797,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"read-resource","id":6065,"timestamp":1673803430608,"duration":972,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6069,"name":"postcss-process","id":6070,"timestamp":1673803431608,"duration":41043,"tags":{},"startTime":1664596847311},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"postcss-loader","id":6069,"timestamp":1673803431597,"duration":41467,"tags":{},"startTime":1664596847311},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"css-loader","id":6071,"timestamp":1673803473085,"duration":12654,"tags":{"astUsed":"true"},"startTime":1664596847352},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"build-module-css","id":6064,"timestamp":1673803430459,"duration":61231,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6058,"timestamp":1673803424066,"duration":68364,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6067,"name":"next-swc-transform","id":6068,"timestamp":1673803430726,"duration":61970,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6066,"name":"next-swc-loader","id":6067,"timestamp":1673803430689,"duration":62009,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"build-module-tsx","id":6066,"timestamp":1673803430635,"duration":66439,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6061,"timestamp":1673803424075,"duration":73138,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6063,"timestamp":1673803424080,"duration":79229,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6059,"timestamp":1673803424069,"duration":85252,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6060,"timestamp":1673803424071,"duration":127421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"make","id":6056,"timestamp":1673803421929,"duration":129588,"tags":{},"startTime":1664596847301},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-chunk-graph","id":6073,"timestamp":1673803563872,"duration":26429,"tags":{},"startTime":1664596847443},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-modules","id":6075,"timestamp":1673803590329,"duration":3,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-chunks","id":6076,"timestamp":1673803590344,"duration":120,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-tree","id":6077,"timestamp":1673803590489,"duration":5,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize","id":6074,"timestamp":1673803590320,"duration":3266,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-hash","id":6078,"timestamp":1673803624944,"duration":6561,"tags":{},"startTime":1664596847504},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"NextJsBuildManifest-generateClientManifest","id":6080,"timestamp":1673803648464,"duration":82,"tags":{},"startTime":1664596847528},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"NextJsBuildManifest-createassets","id":6079,"timestamp":1673803648389,"duration":171,"tags":{},"startTime":1664596847528},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-seal","id":6072,"timestamp":1673803554623,"duration":96110,"tags":{},"startTime":1664596847434},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"webpack-compilation","id":6055,"timestamp":1673803421718,"duration":229046,"tags":{"name":"client"},"startTime":1664596847301},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"emit","id":6081,"timestamp":1673803650789,"duration":99510,"tags":{},"startTime":1664596847530},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6038,"timestamp":1673803365945,"duration":385333,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847245}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6083,"timestamp":1673803764720,"duration":0,"tags":{},"startTime":1664596847644},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6084,"timestamp":1673803764763,"duration":0,"tags":{},"startTime":1664596847644},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6087,"timestamp":1673803787150,"duration":5802,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6088,"timestamp":1673803787269,"duration":6737,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"read-resource","id":6095,"timestamp":1673803794354,"duration":74,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6096,"name":"postcss-process","id":6097,"timestamp":1673803794466,"duration":39707,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"postcss-loader","id":6096,"timestamp":1673803794453,"duration":40408,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"css-loader","id":6098,"timestamp":1673803834886,"duration":16785,"tags":{"astUsed":"true"},"startTime":1664596847714},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"build-module-css","id":6094,"timestamp":1673803794130,"duration":59431,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6092,"timestamp":1673803787352,"duration":67132,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6091,"timestamp":1673803787347,"duration":67154,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6099,"timestamp":1664596847644000,"duration":93999,"tags":{"clientId":1664595509559},"startTime":1664596847740},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6093,"timestamp":1673803787354,"duration":76856,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6089,"timestamp":1673803787325,"duration":77355,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6100,"timestamp":1664596847644999,"duration":108000,"tags":{"clientId":1664596721221},"startTime":1664596847756},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6090,"timestamp":1673803787343,"duration":108221,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"make","id":6086,"timestamp":1673803779209,"duration":116377,"tags":{},"startTime":1664596847659},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-chunk-graph","id":6102,"timestamp":1673803900751,"duration":6242,"tags":{},"startTime":1664596847780},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-modules","id":6104,"timestamp":1673803907020,"duration":3,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-chunks","id":6105,"timestamp":1673803907033,"duration":49,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-tree","id":6106,"timestamp":1673803907105,"duration":4,"tags":{},"startTime":1664596847787},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize","id":6103,"timestamp":1673803907012,"duration":1182,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-hash","id":6107,"timestamp":1673803917333,"duration":6484,"tags":{},"startTime":1664596847797},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"NextJsBuildManifest-generateClientManifest","id":6109,"timestamp":1673803924634,"duration":50,"tags":{},"startTime":1664596847804},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"NextJsBuildManifest-createassets","id":6108,"timestamp":1673803924588,"duration":98,"tags":{},"startTime":1664596847804},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-seal","id":6101,"timestamp":1673803896683,"duration":28941,"tags":{},"startTime":1664596847776},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"webpack-compilation","id":6085,"timestamp":1673803778760,"duration":146890,"tags":{"name":"client"},"startTime":1664596847658},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"emit","id":6110,"timestamp":1673803925663,"duration":6598,"tags":{},"startTime":1664596847805},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6082,"timestamp":1673803763721,"duration":169157,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596847643}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6111,"timestamp":1673803943038,"duration":0,"tags":{},"startTime":1664596847822},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6112,"timestamp":1673803943090,"duration":0,"tags":{},"startTime":1664596847822},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6117,"timestamp":1673853017427,"duration":7884,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6118,"timestamp":1673853017516,"duration":8525,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"read-resource","id":6125,"timestamp":1673853027076,"duration":114,"tags":{},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6127,"name":"postcss-process","id":6128,"timestamp":1673853027223,"duration":47589,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"postcss-loader","id":6127,"timestamp":1673853027210,"duration":48014,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"css-loader","id":6131,"timestamp":1673853075249,"duration":12966,"tags":{"astUsed":"true"},"startTime":1664596896955},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"build-module-css","id":6124,"timestamp":1673853026202,"duration":74670,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6129,"name":"next-swc-transform","id":6130,"timestamp":1673853027603,"duration":73495,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6126,"name":"next-swc-loader","id":6129,"timestamp":1673853027489,"duration":73612,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"build-module-tsx","id":6126,"timestamp":1673853027105,"duration":78508,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6122,"timestamp":1673853017532,"duration":88413,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6121,"timestamp":1673853017529,"duration":88435,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6123,"timestamp":1673853017534,"duration":92854,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6119,"timestamp":1673853017524,"duration":104167,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6120,"timestamp":1673853017526,"duration":130590,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"make","id":6116,"timestamp":1673853016510,"duration":131633,"tags":{},"startTime":1664596896896},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-chunk-graph","id":6133,"timestamp":1673853152838,"duration":18035,"tags":{},"startTime":1664596897032},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-modules","id":6135,"timestamp":1673853170898,"duration":14,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-chunks","id":6136,"timestamp":1673853170951,"duration":129,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-tree","id":6137,"timestamp":1673853171120,"duration":15,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize","id":6134,"timestamp":1673853170890,"duration":1730,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-hash","id":6138,"timestamp":1673853185143,"duration":6114,"tags":{},"startTime":1664596897064},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"NextJsBuildManifest-generateClientManifest","id":6140,"timestamp":1673853205992,"duration":64,"tags":{},"startTime":1664596897085},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"NextJsBuildManifest-createassets","id":6139,"timestamp":1673853205930,"duration":135,"tags":{},"startTime":1664596897085},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-seal","id":6132,"timestamp":1673853149476,"duration":58838,"tags":{},"startTime":1664596897029},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"webpack-compilation","id":6115,"timestamp":1673853016280,"duration":192072,"tags":{"name":"client"},"startTime":1664596896896},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"emit","id":6141,"timestamp":1673853208372,"duration":95562,"tags":{},"startTime":1664596897088},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6113,"timestamp":1673853002346,"duration":302385,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896882},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6148,"timestamp":1673853334043,"duration":0,"tags":{},"startTime":1664596897213},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6149,"timestamp":1673853334298,"duration":0,"tags":{},"startTime":1664596897214},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6147,"timestamp":1673853320684,"duration":20125,"tags":{"request":"private-next-pages/_error"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6146,"timestamp":1673853320679,"duration":20143,"tags":{"request":"private-next-pages/_document"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6151,"name":"next-swc-transform","id":6152,"timestamp":1673853339200,"duration":6162,"tags":{},"startTime":1664596897219},{"traceId":"43f2de6d909a73f7","parentId":6150,"name":"next-swc-loader","id":6151,"timestamp":1673853339133,"duration":6237,"tags":{},"startTime":1664596897218},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"build-module-tsx","id":6150,"timestamp":1673853338985,"duration":15553,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596897218},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6145,"timestamp":1673853320636,"duration":37997,"tags":{"request":"private-next-pages/_app"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"make","id":6143,"timestamp":1673853306073,"duration":52576,"tags":{},"startTime":1664596897185},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-chunk-graph","id":6154,"timestamp":1673853358953,"duration":210,"tags":{},"startTime":1664596897238},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-modules","id":6156,"timestamp":1673853359170,"duration":2,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-chunks","id":6157,"timestamp":1673853359179,"duration":21,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-tree","id":6158,"timestamp":1673853359207,"duration":5,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize","id":6155,"timestamp":1673853359167,"duration":99,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-hash","id":6159,"timestamp":1673853360465,"duration":661,"tags":{},"startTime":1664596897240},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-seal","id":6153,"timestamp":1673853358890,"duration":3547,"tags":{},"startTime":1664596897238},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"webpack-compilation","id":6142,"timestamp":1673853305782,"duration":56677,"tags":{"name":"server"},"startTime":1664596897185},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"emit","id":6160,"timestamp":1673853362473,"duration":1722,"tags":{},"startTime":1664596897242},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6114,"timestamp":1673853002605,"duration":361913,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896882},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6163,"timestamp":1673853369478,"duration":3088,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6164,"timestamp":1673853369500,"duration":4381,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"read-resource","id":6171,"timestamp":1673853374075,"duration":27,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6172,"name":"postcss-process","id":6173,"timestamp":1673853374126,"duration":34747,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"postcss-loader","id":6172,"timestamp":1673853374118,"duration":35028,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"css-loader","id":6174,"timestamp":1673853409166,"duration":10875,"tags":{"astUsed":"true"},"startTime":1664596897289},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"build-module-css","id":6170,"timestamp":1673853373961,"duration":49380,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6175,"timestamp":1664596897200000,"duration":59000,"tags":{"clientId":1664595509559},"startTime":1664596897303},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6176,"timestamp":1664596897200000,"duration":73999,"tags":{"clientId":1664596721221},"startTime":1664596897303},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6168,"timestamp":1673853369510,"duration":54402,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6167,"timestamp":1673853369508,"duration":54422,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6169,"timestamp":1673853369512,"duration":57885,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6165,"timestamp":1673853369503,"duration":58251,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6166,"timestamp":1673853369505,"duration":85497,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"make","id":6162,"timestamp":1673853367994,"duration":87034,"tags":{},"startTime":1664596897247},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-chunk-graph","id":6178,"timestamp":1673853459348,"duration":16221,"tags":{},"startTime":1664596897339},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-modules","id":6180,"timestamp":1673853475591,"duration":2,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-chunks","id":6181,"timestamp":1673853475601,"duration":28,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-tree","id":6182,"timestamp":1673853475647,"duration":4,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize","id":6179,"timestamp":1673853475583,"duration":1436,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-hash","id":6183,"timestamp":1673853488331,"duration":5598,"tags":{},"startTime":1664596897368},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"NextJsBuildManifest-generateClientManifest","id":6185,"timestamp":1673853494758,"duration":54,"tags":{},"startTime":1664596897374},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"NextJsBuildManifest-createassets","id":6184,"timestamp":1673853494710,"duration":103,"tags":{},"startTime":1664596897374},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-seal","id":6177,"timestamp":1673853456103,"duration":39792,"tags":{},"startTime":1664596897335},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"webpack-compilation","id":6161,"timestamp":1673853367828,"duration":128097,"tags":{"name":"client"},"startTime":1664596897247},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"emit","id":6186,"timestamp":1673853495942,"duration":3997,"tags":{},"startTime":1664596897375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6144,"timestamp":1673853320351,"duration":180332,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596897200}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6187,"timestamp":1673853509291,"duration":0,"tags":{},"startTime":1664596897389},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6188,"timestamp":1673853509335,"duration":0,"tags":{},"startTime":1664596897389},{"traceId":"43f2de6d909a73f7","parentId":6197,"name":"next-swc-transform","id":6198,"timestamp":1673858004173,"duration":2870,"tags":{},"startTime":1664596901884},{"traceId":"43f2de6d909a73f7","parentId":6196,"name":"next-swc-loader","id":6197,"timestamp":1673858004127,"duration":2923,"tags":{},"startTime":1664596901883},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"build-module-tsx","id":6196,"timestamp":1673858003946,"duration":7074,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901883},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6195,"timestamp":1673857997308,"duration":14017,"tags":{"request":"private-next-pages/_error"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6194,"timestamp":1673857997303,"duration":14027,"tags":{"request":"private-next-pages/_document"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6193,"timestamp":1673857997257,"duration":16599,"tags":{"request":"private-next-pages/_app"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"make","id":6192,"timestamp":1673857997153,"duration":16719,"tags":{},"startTime":1664596901876},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-chunk-graph","id":6200,"timestamp":1673858014231,"duration":185,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-modules","id":6202,"timestamp":1673858014428,"duration":1,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-chunks","id":6203,"timestamp":1673858014437,"duration":15,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-tree","id":6204,"timestamp":1673858014459,"duration":5,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize","id":6201,"timestamp":1673858014425,"duration":89,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-hash","id":6205,"timestamp":1673858016066,"duration":536,"tags":{},"startTime":1664596901895},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-seal","id":6199,"timestamp":1673858014159,"duration":3889,"tags":{},"startTime":1664596901893},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"webpack-compilation","id":6191,"timestamp":1673857996932,"duration":21139,"tags":{"name":"server"},"startTime":1664596901876},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"emit","id":6206,"timestamp":1673858018084,"duration":2059,"tags":{},"startTime":1664596901897},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6189,"timestamp":1673857990887,"duration":29516,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901870},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6209,"timestamp":1673858025281,"duration":3409,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6210,"timestamp":1673858025321,"duration":3981,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"read-resource","id":6217,"timestamp":1673858029493,"duration":67,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6219,"name":"postcss-process","id":6220,"timestamp":1673858029575,"duration":31557,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"postcss-loader","id":6219,"timestamp":1673858029569,"duration":31732,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"css-loader","id":6223,"timestamp":1673858061320,"duration":10278,"tags":{"astUsed":"true"},"startTime":1664596901941},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"build-module-css","id":6216,"timestamp":1673858029415,"duration":43153,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6221,"name":"next-swc-transform","id":6222,"timestamp":1673858029778,"duration":42937,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6218,"name":"next-swc-loader","id":6221,"timestamp":1673858029747,"duration":42969,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"build-module-tsx","id":6218,"timestamp":1673858029509,"duration":46116,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6214,"timestamp":1673858025340,"duration":50636,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6213,"timestamp":1673858025338,"duration":50651,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6215,"timestamp":1673858025342,"duration":53728,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6211,"timestamp":1673858025332,"duration":63396,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6212,"timestamp":1673858025335,"duration":82523,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"make","id":6208,"timestamp":1673858024024,"duration":83859,"tags":{},"startTime":1664596901903},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-chunk-graph","id":6225,"timestamp":1673858112644,"duration":6008,"tags":{},"startTime":1664596901992},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-modules","id":6227,"timestamp":1673858118672,"duration":2,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-chunks","id":6228,"timestamp":1673858118683,"duration":36,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-tree","id":6229,"timestamp":1673858118739,"duration":3,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize","id":6226,"timestamp":1673858118665,"duration":1062,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-hash","id":6230,"timestamp":1673858126946,"duration":4622,"tags":{},"startTime":1664596902006},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"NextJsBuildManifest-generateClientManifest","id":6232,"timestamp":1673858149582,"duration":55,"tags":{},"startTime":1664596902029},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"NextJsBuildManifest-createassets","id":6231,"timestamp":1673858149443,"duration":204,"tags":{},"startTime":1664596902029},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-seal","id":6224,"timestamp":1673858108871,"duration":42984,"tags":{},"startTime":1664596901988},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"webpack-compilation","id":6207,"timestamp":1673858023878,"duration":128017,"tags":{"name":"client"},"startTime":1664596901903},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"emit","id":6233,"timestamp":1673858151915,"duration":90580,"tags":{},"startTime":1664596902031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6190,"timestamp":1673857991050,"duration":252211,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901870}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6235,"timestamp":1673858255969,"duration":0,"tags":{},"startTime":1664596902135},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6236,"timestamp":1673858256043,"duration":0,"tags":{},"startTime":1664596902135},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6246,"timestamp":1664596902135000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596902157},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6239,"timestamp":1673858272164,"duration":7134,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6240,"timestamp":1673858272194,"duration":7879,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"read-resource","id":6248,"timestamp":1673858280419,"duration":46,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6249,"name":"postcss-process","id":6250,"timestamp":1673858280518,"duration":34618,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"postcss-loader","id":6249,"timestamp":1673858280498,"duration":34784,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"css-loader","id":6251,"timestamp":1673858315303,"duration":9137,"tags":{"astUsed":"true"},"startTime":1664596902195},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"build-module-css","id":6247,"timestamp":1673858280176,"duration":45242,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6252,"timestamp":1664596902135000,"duration":25999,"tags":{"clientId":1664596721221},"startTime":1664596902205},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6244,"timestamp":1673858272205,"duration":53780,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6243,"timestamp":1673858272202,"duration":53794,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6245,"timestamp":1673858272207,"duration":59569,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6241,"timestamp":1673858272198,"duration":59919,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6242,"timestamp":1673858272200,"duration":137533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"make","id":6238,"timestamp":1673858270665,"duration":139105,"tags":{},"startTime":1664596902150},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-chunk-graph","id":6254,"timestamp":1673858414584,"duration":16725,"tags":{},"startTime":1664596902294},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-modules","id":6256,"timestamp":1673858431333,"duration":2,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-chunks","id":6257,"timestamp":1673858431344,"duration":93,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-tree","id":6258,"timestamp":1673858431457,"duration":6,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize","id":6255,"timestamp":1673858431326,"duration":1479,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-hash","id":6259,"timestamp":1673858443911,"duration":3488,"tags":{},"startTime":1664596902323},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"NextJsBuildManifest-generateClientManifest","id":6261,"timestamp":1673858448227,"duration":65,"tags":{},"startTime":1664596902328},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"NextJsBuildManifest-createassets","id":6260,"timestamp":1673858448166,"duration":130,"tags":{},"startTime":1664596902328},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-seal","id":6253,"timestamp":1673858410938,"duration":38235,"tags":{},"startTime":1664596902290},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"webpack-compilation","id":6237,"timestamp":1673858270438,"duration":178759,"tags":{"name":"client"},"startTime":1664596902150},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"emit","id":6262,"timestamp":1673858449216,"duration":2419,"tags":{},"startTime":1664596902329},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6234,"timestamp":1673858255345,"duration":196925,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596902135}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6263,"timestamp":1673858465634,"duration":0,"tags":{},"startTime":1664596902345},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6264,"timestamp":1673858465689,"duration":0,"tags":{},"startTime":1664596902345},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6269,"timestamp":1673870405529,"duration":10843,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6274,"timestamp":1673870405653,"duration":13549,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"read-resource","id":6277,"timestamp":1673870418762,"duration":1236,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6281,"name":"postcss-process","id":6282,"timestamp":1673870420034,"duration":38642,"tags":{},"startTime":1664596914299},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"postcss-loader","id":6281,"timestamp":1673870420019,"duration":39025,"tags":{},"startTime":1664596914299},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"css-loader","id":6283,"timestamp":1673870459066,"duration":13887,"tags":{"astUsed":"true"},"startTime":1664596914338},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"build-module-css","id":6276,"timestamp":1673870418546,"duration":65474,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6279,"name":"next-swc-transform","id":6280,"timestamp":1673870419001,"duration":65756,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6278,"name":"next-swc-loader","id":6279,"timestamp":1673870418867,"duration":65894,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"build-module-tsx","id":6278,"timestamp":1673870418797,"duration":70599,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6270,"timestamp":1673870405635,"duration":85084,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6273,"timestamp":1673870405649,"duration":86010,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6275,"timestamp":1673870405655,"duration":91672,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6271,"timestamp":1673870405643,"duration":98425,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6272,"timestamp":1673870405646,"duration":138532,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"make","id":6268,"timestamp":1673870404342,"duration":139863,"tags":{},"startTime":1664596914284},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-chunk-graph","id":6285,"timestamp":1673870550330,"duration":18410,"tags":{},"startTime":1664596914430},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-modules","id":6287,"timestamp":1673870568796,"duration":12,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-chunks","id":6288,"timestamp":1673870568841,"duration":85,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-tree","id":6289,"timestamp":1673870568970,"duration":12,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize","id":6286,"timestamp":1673870568769,"duration":2173,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-hash","id":6290,"timestamp":1673870584098,"duration":7215,"tags":{},"startTime":1664596914463},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"NextJsBuildManifest-generateClientManifest","id":6292,"timestamp":1673870603093,"duration":67,"tags":{},"startTime":1664596914482},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"NextJsBuildManifest-createassets","id":6291,"timestamp":1673870603030,"duration":142,"tags":{},"startTime":1664596914482},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-seal","id":6284,"timestamp":1673870545703,"duration":60036,"tags":{},"startTime":1664596914425},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"webpack-compilation","id":6267,"timestamp":1673870404098,"duration":201675,"tags":{"name":"client"},"startTime":1664596914283},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"emit","id":6293,"timestamp":1673870605795,"duration":108312,"tags":{},"startTime":1664596914485},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6265,"timestamp":1673870390581,"duration":324439,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914270},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6300,"timestamp":1673870729441,"duration":0,"tags":{},"startTime":1664596914609},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6301,"timestamp":1673870729488,"duration":0,"tags":{},"startTime":1664596914609},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6299,"timestamp":1673870728494,"duration":11556,"tags":{"request":"private-next-pages/_error"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6298,"timestamp":1673870728490,"duration":11573,"tags":{"request":"private-next-pages/_document"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6305,"timestamp":1664596914608000,"duration":12999,"tags":{"clientId":1664595509559},"startTime":1664596914621},{"traceId":"43f2de6d909a73f7","parentId":6303,"name":"next-swc-transform","id":6304,"timestamp":1673870738655,"duration":7526,"tags":{},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":6302,"name":"next-swc-loader","id":6303,"timestamp":1673870738595,"duration":7592,"tags":{},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"build-module-tsx","id":6302,"timestamp":1673870738473,"duration":16778,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6306,"timestamp":1664596914608000,"duration":19000,"tags":{"clientId":1664596721221},"startTime":1664596914635},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6297,"timestamp":1673870728381,"duration":31244,"tags":{"request":"private-next-pages/_app"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"make","id":6295,"timestamp":1673870716695,"duration":42947,"tags":{},"startTime":1664596914596},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-chunk-graph","id":6308,"timestamp":1673870760035,"duration":220,"tags":{},"startTime":1664596914639},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-modules","id":6310,"timestamp":1673870760263,"duration":2,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-chunks","id":6311,"timestamp":1673870760299,"duration":34,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-tree","id":6312,"timestamp":1673870760354,"duration":14,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize","id":6309,"timestamp":1673870760260,"duration":197,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-hash","id":6313,"timestamp":1673870761912,"duration":779,"tags":{},"startTime":1664596914641},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-seal","id":6307,"timestamp":1673870759965,"duration":4070,"tags":{},"startTime":1664596914639},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"webpack-compilation","id":6294,"timestamp":1673870716143,"duration":47916,"tags":{"name":"server"},"startTime":1664596914595},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"emit","id":6314,"timestamp":1673870764076,"duration":4506,"tags":{},"startTime":1664596914643},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6266,"timestamp":1673870390863,"duration":378141,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914270},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6317,"timestamp":1673870774281,"duration":3255,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6318,"timestamp":1673870774320,"duration":4128,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"read-resource","id":6325,"timestamp":1673870778832,"duration":45,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6326,"name":"postcss-process","id":6327,"timestamp":1673870778911,"duration":34384,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"postcss-loader","id":6326,"timestamp":1673870778899,"duration":34646,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"css-loader","id":6328,"timestamp":1673870813566,"duration":9070,"tags":{"astUsed":"true"},"startTime":1664596914693},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"build-module-css","id":6324,"timestamp":1673870778596,"duration":47310,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6322,"timestamp":1673870774332,"duration":53929,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6321,"timestamp":1673870774329,"duration":53948,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6323,"timestamp":1673870774334,"duration":57822,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6319,"timestamp":1673870774324,"duration":58292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6320,"timestamp":1673870774326,"duration":88390,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"make","id":6316,"timestamp":1673870772971,"duration":89767,"tags":{},"startTime":1664596914652},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-chunk-graph","id":6330,"timestamp":1673870867315,"duration":16768,"tags":{},"startTime":1664596914747},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-modules","id":6332,"timestamp":1673870884108,"duration":2,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-chunks","id":6333,"timestamp":1673870884120,"duration":36,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-tree","id":6334,"timestamp":1673870884175,"duration":3,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize","id":6331,"timestamp":1673870884100,"duration":1602,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-hash","id":6335,"timestamp":1673870897469,"duration":5979,"tags":{},"startTime":1664596914777},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"NextJsBuildManifest-generateClientManifest","id":6337,"timestamp":1673870904400,"duration":52,"tags":{},"startTime":1664596914784},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"NextJsBuildManifest-createassets","id":6336,"timestamp":1673870904351,"duration":103,"tags":{},"startTime":1664596914784},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-seal","id":6329,"timestamp":1673870863939,"duration":41510,"tags":{},"startTime":1664596914743},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"webpack-compilation","id":6315,"timestamp":1673870772811,"duration":132660,"tags":{"name":"client"},"startTime":1664596914652},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"emit","id":6338,"timestamp":1673870905487,"duration":4093,"tags":{},"startTime":1664596914785},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6296,"timestamp":1673870727972,"duration":182322,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596914607}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6339,"timestamp":1673870920235,"duration":0,"tags":{},"startTime":1664596914800},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6340,"timestamp":1673870920285,"duration":0,"tags":{},"startTime":1664596914800},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6345,"timestamp":1673881443342,"duration":8234,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6346,"timestamp":1673881443390,"duration":9138,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"read-resource","id":6353,"timestamp":1673881452830,"duration":104,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6355,"name":"postcss-process","id":6356,"timestamp":1673881452958,"duration":36953,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"postcss-loader","id":6355,"timestamp":1673881452948,"duration":37120,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"css-loader","id":6359,"timestamp":1673881490085,"duration":8755,"tags":{"astUsed":"true"},"startTime":1664596925369},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"build-module-css","id":6352,"timestamp":1673881452695,"duration":47183,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6357,"name":"next-swc-transform","id":6358,"timestamp":1673881453212,"duration":46826,"tags":{},"startTime":1664596925333},{"traceId":"43f2de6d909a73f7","parentId":6354,"name":"next-swc-loader","id":6357,"timestamp":1673881453169,"duration":46870,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"build-module-tsx","id":6354,"timestamp":1673881452855,"duration":51512,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6350,"timestamp":1673881443412,"duration":61249,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6349,"timestamp":1673881443408,"duration":61265,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6351,"timestamp":1673881443414,"duration":65745,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6347,"timestamp":1673881443400,"duration":73120,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6348,"timestamp":1673881443404,"duration":91217,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"make","id":6344,"timestamp":1673881442545,"duration":92098,"tags":{},"startTime":1664596925322},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-chunk-graph","id":6361,"timestamp":1673881539071,"duration":3721,"tags":{},"startTime":1664596925418},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-modules","id":6363,"timestamp":1673881542810,"duration":2,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-chunks","id":6364,"timestamp":1673881542820,"duration":29,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-tree","id":6365,"timestamp":1673881542866,"duration":3,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize","id":6362,"timestamp":1673881542804,"duration":906,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-hash","id":6366,"timestamp":1673881553368,"duration":3534,"tags":{},"startTime":1664596925433},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"NextJsBuildManifest-generateClientManifest","id":6368,"timestamp":1673881568733,"duration":42,"tags":{},"startTime":1664596925448},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"NextJsBuildManifest-createassets","id":6367,"timestamp":1673881568615,"duration":167,"tags":{},"startTime":1664596925448},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-seal","id":6360,"timestamp":1673881535715,"duration":34780,"tags":{},"startTime":1664596925415},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"webpack-compilation","id":6343,"timestamp":1673881442352,"duration":128172,"tags":{"name":"client"},"startTime":1664596925322},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"emit","id":6369,"timestamp":1673881570540,"duration":103244,"tags":{},"startTime":1664596925450},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6341,"timestamp":1673881430748,"duration":243675,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6376,"timestamp":1673881688747,"duration":0,"tags":{},"startTime":1664596925568},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6377,"timestamp":1673881688791,"duration":0,"tags":{},"startTime":1664596925568},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6375,"timestamp":1673881688090,"duration":9179,"tags":{"request":"private-next-pages/_error"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6374,"timestamp":1673881688084,"duration":9199,"tags":{"request":"private-next-pages/_document"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6379,"name":"next-swc-transform","id":6380,"timestamp":1673881696404,"duration":1448,"tags":{},"startTime":1664596925576},{"traceId":"43f2de6d909a73f7","parentId":6378,"name":"next-swc-loader","id":6379,"timestamp":1673881696321,"duration":1532,"tags":{},"startTime":1664596925576},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"build-module-tsx","id":6378,"timestamp":1673881696121,"duration":4814,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925575},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6373,"timestamp":1673881687990,"duration":16731,"tags":{"request":"private-next-pages/_app"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"make","id":6371,"timestamp":1673881675734,"duration":29005,"tags":{},"startTime":1664596925555},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-chunk-graph","id":6382,"timestamp":1673881705062,"duration":318,"tags":{},"startTime":1664596925584},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-modules","id":6384,"timestamp":1673881705399,"duration":3,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-chunks","id":6385,"timestamp":1673881705410,"duration":26,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-tree","id":6386,"timestamp":1673881705452,"duration":6,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize","id":6383,"timestamp":1673881705392,"duration":141,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-hash","id":6387,"timestamp":1673881706813,"duration":413,"tags":{},"startTime":1664596925586},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-seal","id":6381,"timestamp":1673881704996,"duration":3375,"tags":{},"startTime":1664596925584},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"webpack-compilation","id":6370,"timestamp":1673881675545,"duration":32851,"tags":{"name":"server"},"startTime":1664596925555},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"emit","id":6388,"timestamp":1673881708413,"duration":6852,"tags":{},"startTime":1664596925588},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6342,"timestamp":1673881430973,"duration":284536,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6398,"timestamp":1664596925567000,"duration":34999,"tags":{"clientId":1664595509559},"startTime":1664596925603},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6391,"timestamp":1673881720313,"duration":3704,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6392,"timestamp":1673881720360,"duration":4550,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"read-resource","id":6400,"timestamp":1673881725281,"duration":45,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6401,"name":"postcss-process","id":6402,"timestamp":1673881725364,"duration":41242,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"postcss-loader","id":6401,"timestamp":1673881725350,"duration":41470,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"css-loader","id":6403,"timestamp":1673881766839,"duration":9988,"tags":{"astUsed":"true"},"startTime":1664596925646},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"build-module-css","id":6399,"timestamp":1673881725080,"duration":53493,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596925604},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6404,"timestamp":1664596925568999,"duration":37000,"tags":{"clientId":1664596721221},"startTime":1664596925658},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6396,"timestamp":1673881720372,"duration":60476,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6395,"timestamp":1673881720369,"duration":60496,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6397,"timestamp":1673881720374,"duration":64033,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6393,"timestamp":1673881720364,"duration":64471,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6394,"timestamp":1673881720366,"duration":94955,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"make","id":6390,"timestamp":1673881718584,"duration":96758,"tags":{},"startTime":1664596925598},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-chunk-graph","id":6406,"timestamp":1673881819768,"duration":17168,"tags":{},"startTime":1664596925699},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-modules","id":6408,"timestamp":1673881836961,"duration":2,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-chunks","id":6409,"timestamp":1673881836973,"duration":34,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-tree","id":6410,"timestamp":1673881837026,"duration":3,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize","id":6407,"timestamp":1673881836953,"duration":1462,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-hash","id":6411,"timestamp":1673881848598,"duration":3431,"tags":{},"startTime":1664596925728},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"NextJsBuildManifest-generateClientManifest","id":6413,"timestamp":1673881853012,"duration":64,"tags":{},"startTime":1664596925732},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"NextJsBuildManifest-createassets","id":6412,"timestamp":1673881852951,"duration":128,"tags":{},"startTime":1664596925732},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-seal","id":6405,"timestamp":1673881816434,"duration":37511,"tags":{},"startTime":1664596925696},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"webpack-compilation","id":6389,"timestamp":1673881718424,"duration":135541,"tags":{"name":"client"},"startTime":1664596925598},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"emit","id":6414,"timestamp":1673881853981,"duration":4569,"tags":{},"startTime":1664596925733},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6372,"timestamp":1673881687648,"duration":171409,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596925567}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6415,"timestamp":1673881869669,"duration":0,"tags":{},"startTime":1664596925749},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6416,"timestamp":1673881869713,"duration":0,"tags":{},"startTime":1664596925749},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6423,"timestamp":1673884662291,"duration":7572,"tags":{"request":"private-next-pages/_error"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6422,"timestamp":1673884662286,"duration":7587,"tags":{"request":"private-next-pages/_document"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6425,"name":"next-swc-transform","id":6426,"timestamp":1673884669452,"duration":1507,"tags":{},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6424,"name":"next-swc-loader","id":6425,"timestamp":1673884669401,"duration":1563,"tags":{},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"build-module-tsx","id":6424,"timestamp":1673884669241,"duration":4691,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6421,"timestamp":1673884662246,"duration":16648,"tags":{"request":"private-next-pages/_app"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"make","id":6420,"timestamp":1673884662163,"duration":16753,"tags":{},"startTime":1664596928541},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-chunk-graph","id":6428,"timestamp":1673884679257,"duration":213,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-modules","id":6430,"timestamp":1673884679484,"duration":2,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-chunks","id":6431,"timestamp":1673884679495,"duration":20,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-tree","id":6432,"timestamp":1673884679524,"duration":3,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize","id":6429,"timestamp":1673884679480,"duration":102,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-hash","id":6433,"timestamp":1673884680752,"duration":470,"tags":{},"startTime":1664596928560},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-seal","id":6427,"timestamp":1673884679177,"duration":3294,"tags":{},"startTime":1664596928558},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"webpack-compilation","id":6419,"timestamp":1673884661970,"duration":20519,"tags":{"name":"server"},"startTime":1664596928541},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"emit","id":6434,"timestamp":1673884682499,"duration":1623,"tags":{},"startTime":1664596928562},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6417,"timestamp":1673884655009,"duration":29324,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928534},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6437,"timestamp":1673884689048,"duration":3246,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6438,"timestamp":1673884689081,"duration":3749,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"read-resource","id":6445,"timestamp":1673884693014,"duration":77,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6447,"name":"postcss-process","id":6448,"timestamp":1673884693109,"duration":34084,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"postcss-loader","id":6447,"timestamp":1673884693102,"duration":34299,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"css-loader","id":6451,"timestamp":1673884727420,"duration":9984,"tags":{"astUsed":"true"},"startTime":1664596928607},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"build-module-css","id":6444,"timestamp":1673884692924,"duration":45430,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6449,"name":"next-swc-transform","id":6450,"timestamp":1673884693326,"duration":45191,"tags":{},"startTime":1664596928573},{"traceId":"43f2de6d909a73f7","parentId":6446,"name":"next-swc-loader","id":6449,"timestamp":1673884693291,"duration":45228,"tags":{},"startTime":1664596928573},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"build-module-tsx","id":6446,"timestamp":1673884693032,"duration":48265,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6442,"timestamp":1673884689093,"duration":53889,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6441,"timestamp":1673884689090,"duration":53912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6443,"timestamp":1673884689095,"duration":64425,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6439,"timestamp":1673884689084,"duration":87962,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6440,"timestamp":1673884689088,"duration":132713,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"make","id":6436,"timestamp":1673884687856,"duration":133985,"tags":{},"startTime":1664596928567},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-chunk-graph","id":6453,"timestamp":1673884827178,"duration":18485,"tags":{},"startTime":1664596928706},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-modules","id":6455,"timestamp":1673884845688,"duration":2,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-chunks","id":6456,"timestamp":1673884845699,"duration":128,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-tree","id":6457,"timestamp":1673884845847,"duration":7,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize","id":6454,"timestamp":1673884845680,"duration":1605,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-hash","id":6458,"timestamp":1673884859984,"duration":4118,"tags":{},"startTime":1664596928739},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"NextJsBuildManifest-generateClientManifest","id":6460,"timestamp":1673884877187,"duration":59,"tags":{},"startTime":1664596928756},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"NextJsBuildManifest-createassets","id":6459,"timestamp":1673884877134,"duration":121,"tags":{},"startTime":1664596928756},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-seal","id":6452,"timestamp":1673884823130,"duration":55709,"tags":{},"startTime":1664596928702},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"webpack-compilation","id":6435,"timestamp":1673884687683,"duration":191179,"tags":{"name":"client"},"startTime":1664596928567},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"emit","id":6461,"timestamp":1673884878882,"duration":89383,"tags":{},"startTime":1664596928758},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6418,"timestamp":1673884655142,"duration":313816,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928534}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6463,"timestamp":1673884980751,"duration":0,"tags":{},"startTime":1664596928860},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6464,"timestamp":1673884980816,"duration":0,"tags":{},"startTime":1664596928860},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6467,"timestamp":1673884997902,"duration":6740,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6468,"timestamp":1673884997945,"duration":7654,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"read-resource","id":6475,"timestamp":1673885005880,"duration":36,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6476,"name":"postcss-process","id":6477,"timestamp":1673885005947,"duration":37062,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"postcss-loader","id":6476,"timestamp":1673885005935,"duration":37411,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"css-loader","id":6478,"timestamp":1673885043372,"duration":11859,"tags":{"astUsed":"true"},"startTime":1664596928923},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"build-module-css","id":6474,"timestamp":1673885005729,"duration":50850,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6472,"timestamp":1673884997957,"duration":59335,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6471,"timestamp":1673884997954,"duration":59348,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6473,"timestamp":1673884997959,"duration":62765,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6469,"timestamp":1673884997949,"duration":63124,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6479,"timestamp":1664596928860000,"duration":77999,"tags":{"clientId":1664595509559},"startTime":1664596928941},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6480,"timestamp":1664596928860999,"duration":84999,"tags":{"clientId":1664596721221},"startTime":1664596928950},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6470,"timestamp":1673884997951,"duration":88474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"make","id":6466,"timestamp":1673884995095,"duration":91358,"tags":{},"startTime":1664596928874},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-chunk-graph","id":6482,"timestamp":1673885091367,"duration":3815,"tags":{},"startTime":1664596928971},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-modules","id":6484,"timestamp":1673885095206,"duration":2,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-chunks","id":6485,"timestamp":1673885095217,"duration":30,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-tree","id":6486,"timestamp":1673885095268,"duration":9,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize","id":6483,"timestamp":1673885095200,"duration":941,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-hash","id":6487,"timestamp":1673885106174,"duration":3778,"tags":{},"startTime":1664596928985},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"NextJsBuildManifest-generateClientManifest","id":6489,"timestamp":1673885110710,"duration":80,"tags":{},"startTime":1664596928990},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"NextJsBuildManifest-createassets","id":6488,"timestamp":1673885110670,"duration":168,"tags":{},"startTime":1664596928990},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-seal","id":6481,"timestamp":1673885087816,"duration":24534,"tags":{},"startTime":1664596928967},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"webpack-compilation","id":6465,"timestamp":1673884994793,"duration":117582,"tags":{"name":"client"},"startTime":1664596928874},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"emit","id":6490,"timestamp":1673885112391,"duration":4836,"tags":{},"startTime":1664596928992},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6462,"timestamp":1673884980014,"duration":137732,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596928859}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6491,"timestamp":1673885128185,"duration":0,"tags":{},"startTime":1664596929008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6492,"timestamp":1673885128235,"duration":0,"tags":{},"startTime":1664596929008},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6499,"timestamp":1673891176320,"duration":6070,"tags":{"request":"private-next-pages/_error"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6498,"timestamp":1673891176317,"duration":6084,"tags":{"request":"private-next-pages/_document"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6501,"name":"next-swc-transform","id":6502,"timestamp":1673891182096,"duration":4371,"tags":{},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6500,"name":"next-swc-loader","id":6501,"timestamp":1673891182022,"duration":4454,"tags":{},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"build-module-tsx","id":6500,"timestamp":1673891181908,"duration":6920,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6497,"timestamp":1673891176277,"duration":18764,"tags":{"request":"private-next-pages/_app"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"make","id":6496,"timestamp":1673891176180,"duration":18882,"tags":{},"startTime":1664596935055},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-chunk-graph","id":6504,"timestamp":1673891195518,"duration":532,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-modules","id":6506,"timestamp":1673891196069,"duration":3,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-chunks","id":6507,"timestamp":1673891196081,"duration":19,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-tree","id":6508,"timestamp":1673891196117,"duration":4,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize","id":6505,"timestamp":1673891196061,"duration":130,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-hash","id":6509,"timestamp":1673891198713,"duration":827,"tags":{},"startTime":1664596935078},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-seal","id":6503,"timestamp":1673891195359,"duration":7007,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"webpack-compilation","id":6495,"timestamp":1673891176017,"duration":26375,"tags":{"name":"server"},"startTime":1664596935055},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"emit","id":6510,"timestamp":1673891202407,"duration":2417,"tags":{},"startTime":1664596935082},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6493,"timestamp":1673891169755,"duration":35501,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935049},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6513,"timestamp":1673891213640,"duration":7509,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6514,"timestamp":1673891213677,"duration":8510,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"read-resource","id":6521,"timestamp":1673891222498,"duration":130,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6523,"name":"postcss-process","id":6524,"timestamp":1673891222645,"duration":48579,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"postcss-loader","id":6523,"timestamp":1673891222638,"duration":48760,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"css-loader","id":6527,"timestamp":1673891271416,"duration":11923,"tags":{"astUsed":"true"},"startTime":1664596935151},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"build-module-css","id":6520,"timestamp":1673891222377,"duration":61978,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6525,"name":"next-swc-transform","id":6526,"timestamp":1673891222946,"duration":61597,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6522,"name":"next-swc-loader","id":6525,"timestamp":1673891222897,"duration":61647,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"build-module-tsx","id":6522,"timestamp":1673891222513,"duration":64941,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6518,"timestamp":1673891213691,"duration":83180,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6517,"timestamp":1673891213687,"duration":83209,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6519,"timestamp":1673891213693,"duration":87082,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6515,"timestamp":1673891213681,"duration":96292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6516,"timestamp":1673891213684,"duration":125207,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"make","id":6512,"timestamp":1673891211234,"duration":127708,"tags":{},"startTime":1664596935091},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-chunk-graph","id":6529,"timestamp":1673891343452,"duration":4480,"tags":{},"startTime":1664596935223},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-modules","id":6531,"timestamp":1673891347956,"duration":2,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-chunks","id":6532,"timestamp":1673891347967,"duration":45,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-tree","id":6533,"timestamp":1673891348032,"duration":6,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize","id":6530,"timestamp":1673891347946,"duration":1486,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-hash","id":6534,"timestamp":1673891359490,"duration":4286,"tags":{},"startTime":1664596935239},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"NextJsBuildManifest-generateClientManifest","id":6536,"timestamp":1673891374227,"duration":61,"tags":{},"startTime":1664596935254},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"NextJsBuildManifest-createassets","id":6535,"timestamp":1673891374174,"duration":120,"tags":{},"startTime":1664596935253},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-seal","id":6528,"timestamp":1673891340018,"duration":35820,"tags":{},"startTime":1664596935219},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"webpack-compilation","id":6511,"timestamp":1673891210812,"duration":165048,"tags":{"name":"client"},"startTime":1664596935090},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"emit","id":6537,"timestamp":1673891375879,"duration":103306,"tags":{},"startTime":1664596935255},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6494,"timestamp":1673891169843,"duration":310391,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935049}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6539,"timestamp":1673891492930,"duration":0,"tags":{},"startTime":1664596935372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6540,"timestamp":1673891493134,"duration":0,"tags":{},"startTime":1664596935372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6550,"timestamp":1664596935372000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596935393},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6543,"timestamp":1673891509208,"duration":4826,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6544,"timestamp":1673891509274,"duration":5385,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"read-resource","id":6552,"timestamp":1673891514888,"duration":35,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6553,"name":"postcss-process","id":6554,"timestamp":1673891514954,"duration":41865,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"postcss-loader","id":6553,"timestamp":1673891514942,"duration":42230,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"css-loader","id":6555,"timestamp":1673891557203,"duration":12387,"tags":{"astUsed":"true"},"startTime":1664596935437},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"build-module-css","id":6551,"timestamp":1673891514750,"duration":56888,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6556,"timestamp":1664596935372999,"duration":27000,"tags":{"clientId":1664596721221},"startTime":1664596935451},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6548,"timestamp":1673891509286,"duration":63105,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6547,"timestamp":1673891509283,"duration":63132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6549,"timestamp":1673891509288,"duration":67005,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6545,"timestamp":1673891509278,"duration":67361,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6546,"timestamp":1673891509281,"duration":98223,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"make","id":6542,"timestamp":1673891507165,"duration":100413,"tags":{},"startTime":1664596935386},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-chunk-graph","id":6558,"timestamp":1673891611999,"duration":20000,"tags":{},"startTime":1664596935491},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-modules","id":6560,"timestamp":1673891632021,"duration":2,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-chunks","id":6561,"timestamp":1673891632032,"duration":110,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-tree","id":6562,"timestamp":1673891632163,"duration":3,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize","id":6559,"timestamp":1673891632014,"duration":1483,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-hash","id":6563,"timestamp":1673891642100,"duration":5826,"tags":{},"startTime":1664596935521},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"NextJsBuildManifest-generateClientManifest","id":6565,"timestamp":1673891648758,"duration":52,"tags":{},"startTime":1664596935528},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"NextJsBuildManifest-createassets","id":6564,"timestamp":1673891648707,"duration":104,"tags":{},"startTime":1664596935528},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-seal","id":6557,"timestamp":1673891608599,"duration":41166,"tags":{},"startTime":1664596935488},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"webpack-compilation","id":6541,"timestamp":1673891506946,"duration":142841,"tags":{"name":"client"},"startTime":1664596935386},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"emit","id":6566,"timestamp":1673891649802,"duration":2429,"tags":{},"startTime":1664596935529},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6538,"timestamp":1673891492199,"duration":160650,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596935371}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6567,"timestamp":1673891662992,"duration":0,"tags":{},"startTime":1664596935542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6568,"timestamp":1673891663036,"duration":0,"tags":{},"startTime":1664596935542},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6575,"timestamp":1673911882187,"duration":11975,"tags":{"request":"private-next-pages/_error"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6574,"timestamp":1673911882183,"duration":12008,"tags":{"request":"private-next-pages/_document"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6577,"name":"next-swc-transform","id":6578,"timestamp":1673911893338,"duration":1576,"tags":{},"startTime":1664596955773},{"traceId":"43f2de6d909a73f7","parentId":6576,"name":"next-swc-loader","id":6577,"timestamp":1673911893200,"duration":1719,"tags":{},"startTime":1664596955772},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"build-module-tsx","id":6576,"timestamp":1673911893025,"duration":9072,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955772},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6573,"timestamp":1673911882099,"duration":23350,"tags":{"request":"private-next-pages/_app"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"make","id":6572,"timestamp":1673911881962,"duration":23501,"tags":{},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-chunk-graph","id":6580,"timestamp":1673911905897,"duration":239,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-modules","id":6582,"timestamp":1673911906145,"duration":11,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-chunks","id":6583,"timestamp":1673911906188,"duration":34,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-tree","id":6584,"timestamp":1673911906248,"duration":13,"tags":{},"startTime":1664596955786},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize","id":6581,"timestamp":1673911906142,"duration":205,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-hash","id":6585,"timestamp":1673911908186,"duration":781,"tags":{},"startTime":1664596955787},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-seal","id":6579,"timestamp":1673911905779,"duration":6394,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"webpack-compilation","id":6571,"timestamp":1673911881694,"duration":30502,"tags":{"name":"server"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"emit","id":6586,"timestamp":1673911912207,"duration":2177,"tags":{},"startTime":1664596955791},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6569,"timestamp":1673911875616,"duration":39226,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955755},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6589,"timestamp":1673911921353,"duration":4369,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6590,"timestamp":1673911921384,"duration":6131,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"read-resource","id":6597,"timestamp":1673911927800,"duration":85,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6599,"name":"postcss-process","id":6600,"timestamp":1673911927912,"duration":37438,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"postcss-loader","id":6599,"timestamp":1673911927903,"duration":37840,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"css-loader","id":6603,"timestamp":1673911965760,"duration":11643,"tags":{"astUsed":"true"},"startTime":1664596955845},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"build-module-css","id":6596,"timestamp":1673911927626,"duration":55566,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6601,"name":"next-swc-transform","id":6602,"timestamp":1673911928190,"duration":55195,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6598,"name":"next-swc-loader","id":6601,"timestamp":1673911928157,"duration":55230,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"build-module-tsx","id":6598,"timestamp":1673911927818,"duration":60005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6594,"timestamp":1673911921396,"duration":66686,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6593,"timestamp":1673911921393,"duration":66704,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6595,"timestamp":1673911921398,"duration":71646,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6591,"timestamp":1673911921388,"duration":82598,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6592,"timestamp":1673911921390,"duration":109613,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"make","id":6588,"timestamp":1673911919402,"duration":111626,"tags":{},"startTime":1664596955799},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-chunk-graph","id":6605,"timestamp":1673912036091,"duration":20214,"tags":{},"startTime":1664596955915},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-modules","id":6607,"timestamp":1673912056331,"duration":3,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-chunks","id":6608,"timestamp":1673912056344,"duration":112,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-tree","id":6609,"timestamp":1673912056478,"duration":3,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize","id":6606,"timestamp":1673912056323,"duration":1454,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-hash","id":6610,"timestamp":1673912068660,"duration":8250,"tags":{},"startTime":1664596955948},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"NextJsBuildManifest-generateClientManifest","id":6612,"timestamp":1673912086160,"duration":72,"tags":{},"startTime":1664596955965},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"NextJsBuildManifest-createassets","id":6611,"timestamp":1673912086088,"duration":153,"tags":{},"startTime":1664596955965},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-seal","id":6604,"timestamp":1673912032329,"duration":55794,"tags":{},"startTime":1664596955912},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"webpack-compilation","id":6587,"timestamp":1673911919260,"duration":168898,"tags":{"name":"client"},"startTime":1664596955799},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"emit","id":6613,"timestamp":1673912088177,"duration":100086,"tags":{},"startTime":1664596955967},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6570,"timestamp":1673911875878,"duration":313573,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955755}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6617,"timestamp":1673912230479,"duration":0,"tags":{},"startTime":1664596956110},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6618,"timestamp":1673912230547,"duration":0,"tags":{},"startTime":1664596956110},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6619,"timestamp":1673912235007,"duration":5374,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6620,"timestamp":1673912235083,"duration":5961,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"read-resource","id":6627,"timestamp":1673912241274,"duration":35,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6628,"name":"postcss-process","id":6629,"timestamp":1673912241341,"duration":34626,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"postcss-loader","id":6628,"timestamp":1673912241329,"duration":34879,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"css-loader","id":6630,"timestamp":1673912276231,"duration":11927,"tags":{"astUsed":"true"},"startTime":1664596956156},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"build-module-css","id":6626,"timestamp":1673912241137,"duration":48535,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596956120},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6624,"timestamp":1673912235096,"duration":56112,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6623,"timestamp":1673912235093,"duration":56128,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6625,"timestamp":1673912235098,"duration":61330,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6621,"timestamp":1673912235087,"duration":61667,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6631,"timestamp":1664596956084999,"duration":90000,"tags":{"clientId":1664595509559},"startTime":1664596956178},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6632,"timestamp":1664596956086000,"duration":104999,"tags":{"clientId":1664596721221},"startTime":1664596956193},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6622,"timestamp":1673912235090,"duration":94785,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"make","id":6616,"timestamp":1673912229993,"duration":99907,"tags":{},"startTime":1664596956109},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-chunk-graph","id":6634,"timestamp":1673912334878,"duration":16307,"tags":{},"startTime":1664596956214},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-modules","id":6636,"timestamp":1673912351211,"duration":2,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-chunks","id":6637,"timestamp":1673912351223,"duration":117,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-tree","id":6638,"timestamp":1673912351362,"duration":3,"tags":{},"startTime":1664596956231},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize","id":6635,"timestamp":1673912351203,"duration":1884,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-hash","id":6639,"timestamp":1673912365972,"duration":4767,"tags":{},"startTime":1664596956245},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"NextJsBuildManifest-generateClientManifest","id":6641,"timestamp":1673912371708,"duration":60,"tags":{},"startTime":1664596956251},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"NextJsBuildManifest-createassets","id":6640,"timestamp":1673912371648,"duration":127,"tags":{},"startTime":1664596956251},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-seal","id":6633,"timestamp":1673912331168,"duration":41684,"tags":{},"startTime":1664596956210},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"webpack-compilation","id":6615,"timestamp":1673912229774,"duration":143106,"tags":{"name":"client"},"startTime":1664596956109},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"emit","id":6642,"timestamp":1673912372905,"duration":2586,"tags":{},"startTime":1664596956252},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6614,"timestamp":1673912205444,"duration":170758,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596956085}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6643,"timestamp":1673912388605,"duration":0,"tags":{},"startTime":1664596956268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6644,"timestamp":1673912388645,"duration":0,"tags":{},"startTime":1664596956268},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6651,"timestamp":1673945958200,"duration":8672,"tags":{"request":"private-next-pages/_error"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6650,"timestamp":1673945958195,"duration":8688,"tags":{"request":"private-next-pages/_document"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6653,"name":"next-swc-transform","id":6654,"timestamp":1673945965531,"duration":2047,"tags":{},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6652,"name":"next-swc-loader","id":6653,"timestamp":1673945965450,"duration":2134,"tags":{},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"build-module-tsx","id":6652,"timestamp":1673945965302,"duration":5496,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6649,"timestamp":1673945958156,"duration":16360,"tags":{"request":"private-next-pages/_app"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"make","id":6648,"timestamp":1673945957984,"duration":16553,"tags":{},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-chunk-graph","id":6656,"timestamp":1673945974930,"duration":206,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-modules","id":6658,"timestamp":1673945975144,"duration":3,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-chunks","id":6659,"timestamp":1673945975156,"duration":17,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-tree","id":6660,"timestamp":1673945975182,"duration":2,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize","id":6657,"timestamp":1673945975140,"duration":110,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-hash","id":6661,"timestamp":1673945976677,"duration":482,"tags":{},"startTime":1664596989856},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-seal","id":6655,"timestamp":1673945974856,"duration":4151,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"webpack-compilation","id":6647,"timestamp":1673945957788,"duration":21249,"tags":{"name":"server"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"emit","id":6662,"timestamp":1673945979053,"duration":2508,"tags":{},"startTime":1664596989858},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6645,"timestamp":1673945951828,"duration":30000,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989831},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6665,"timestamp":1673945989167,"duration":4048,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6670,"timestamp":1673945989236,"duration":4848,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6675,"name":"next-swc-transform","id":6676,"timestamp":1673945993947,"duration":3310,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6674,"name":"next-swc-loader","id":6675,"timestamp":1673945993908,"duration":3355,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"build-module-tsx","id":6674,"timestamp":1673945993860,"duration":6902,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"read-resource","id":6673,"timestamp":1673945993837,"duration":7799,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6677,"name":"postcss-process","id":6678,"timestamp":1673946001662,"duration":35000,"tags":{},"startTime":1664596989881},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"postcss-loader","id":6677,"timestamp":1673946001651,"duration":35145,"tags":{},"startTime":1664596989881},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"css-loader","id":6679,"timestamp":1673946036815,"duration":9408,"tags":{"astUsed":"true"},"startTime":1664596989916},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"build-module-css","id":6672,"timestamp":1673945993750,"duration":53320,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6666,"timestamp":1673945989217,"duration":58655,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6669,"timestamp":1673945989233,"duration":59150,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6671,"timestamp":1673945989238,"duration":64109,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6667,"timestamp":1673945989227,"duration":70078,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6668,"timestamp":1673945989230,"duration":96808,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"make","id":6664,"timestamp":1673945985666,"duration":100394,"tags":{},"startTime":1664596989865},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-chunk-graph","id":6681,"timestamp":1673946092369,"duration":4122,"tags":{},"startTime":1664596989972},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-modules","id":6683,"timestamp":1673946096520,"duration":2,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-chunks","id":6684,"timestamp":1673946096533,"duration":33,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-tree","id":6685,"timestamp":1673946096584,"duration":2,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize","id":6682,"timestamp":1673946096511,"duration":1110,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-hash","id":6686,"timestamp":1673946108808,"duration":4004,"tags":{},"startTime":1664596989988},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"NextJsBuildManifest-generateClientManifest","id":6688,"timestamp":1673946121722,"duration":75,"tags":{},"startTime":1664596990001},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"NextJsBuildManifest-createassets","id":6687,"timestamp":1673946121663,"duration":150,"tags":{},"startTime":1664596990001},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-seal","id":6680,"timestamp":1673946087099,"duration":37269,"tags":{},"startTime":1664596989966},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"webpack-compilation","id":6663,"timestamp":1673945985499,"duration":138918,"tags":{"name":"client"},"startTime":1664596989865},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"emit","id":6689,"timestamp":1673946124440,"duration":128758,"tags":{},"startTime":1664596990004},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6646,"timestamp":1673945951980,"duration":302704,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989831}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6690,"timestamp":1673946268590,"duration":0,"tags":{},"startTime":1664596990148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6691,"timestamp":1673946268641,"duration":0,"tags":{},"startTime":1664596990148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6692,"timestamp":1664596989832000,"duration":324999,"tags":{"clientId":1664595509559},"startTime":1664596990157},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6693,"timestamp":1664596989832000,"duration":334000,"tags":{"clientId":1664596721221},"startTime":1664596990167},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6698,"timestamp":1673960184724,"duration":8422,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6699,"timestamp":1673960184831,"duration":10108,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"read-resource","id":6706,"timestamp":1673960195390,"duration":118,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6708,"name":"postcss-process","id":6709,"timestamp":1673960195543,"duration":43605,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"postcss-loader","id":6708,"timestamp":1673960195528,"duration":44212,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"css-loader","id":6712,"timestamp":1673960239776,"duration":13113,"tags":{"astUsed":"true"},"startTime":1664597004119},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"build-module-css","id":6705,"timestamp":1673960195157,"duration":68454,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597004074},{"traceId":"43f2de6d909a73f7","parentId":6710,"name":"next-swc-transform","id":6711,"timestamp":1673960195954,"duration":67874,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6707,"name":"next-swc-loader","id":6710,"timestamp":1673960195881,"duration":67949,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"build-module-tsx","id":6707,"timestamp":1673960195416,"duration":73132,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6703,"timestamp":1673960184848,"duration":84022,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6702,"timestamp":1673960184845,"duration":84043,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6704,"timestamp":1673960184851,"duration":88044,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6700,"timestamp":1673960184839,"duration":98621,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6701,"timestamp":1673960184842,"duration":123829,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"make","id":6697,"timestamp":1673960183673,"duration":125020,"tags":{},"startTime":1664597004063},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-chunk-graph","id":6714,"timestamp":1673960313776,"duration":20298,"tags":{},"startTime":1664597004193},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-modules","id":6716,"timestamp":1673960334128,"duration":11,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-chunks","id":6717,"timestamp":1673960334170,"duration":128,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-tree","id":6718,"timestamp":1673960334336,"duration":11,"tags":{},"startTime":1664597004214},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize","id":6715,"timestamp":1673960334104,"duration":1854,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-hash","id":6719,"timestamp":1673960350053,"duration":7822,"tags":{},"startTime":1664597004229},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"NextJsBuildManifest-generateClientManifest","id":6721,"timestamp":1673960370589,"duration":74,"tags":{},"startTime":1664597004250},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"NextJsBuildManifest-createassets","id":6720,"timestamp":1673960370489,"duration":196,"tags":{},"startTime":1664597004250},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-seal","id":6713,"timestamp":1673960310072,"duration":62886,"tags":{},"startTime":1664597004189},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"webpack-compilation","id":6696,"timestamp":1673960183355,"duration":189631,"tags":{"name":"client"},"startTime":1664597004063},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"emit","id":6722,"timestamp":1673960373010,"duration":103622,"tags":{},"startTime":1664597004252},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6694,"timestamp":1673960167769,"duration":309585,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004047},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6729,"timestamp":1673960517578,"duration":0,"tags":{},"startTime":1664597004397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6730,"timestamp":1673960517838,"duration":0,"tags":{},"startTime":1664597004397},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6728,"timestamp":1673960500053,"duration":24075,"tags":{"request":"private-next-pages/_error"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6727,"timestamp":1673960500049,"duration":24095,"tags":{"request":"private-next-pages/_document"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6732,"name":"next-swc-transform","id":6733,"timestamp":1673960522711,"duration":2114,"tags":{},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6731,"name":"next-swc-loader","id":6732,"timestamp":1673960522623,"duration":2206,"tags":{},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"build-module-tsx","id":6731,"timestamp":1673960522465,"duration":11487,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6726,"timestamp":1673960499937,"duration":38507,"tags":{"request":"private-next-pages/_app"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"make","id":6724,"timestamp":1673960478991,"duration":59471,"tags":{},"startTime":1664597004358},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-chunk-graph","id":6735,"timestamp":1673960538827,"duration":216,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-modules","id":6737,"timestamp":1673960539050,"duration":2,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-chunks","id":6738,"timestamp":1673960539084,"duration":35,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-tree","id":6739,"timestamp":1673960539140,"duration":14,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize","id":6736,"timestamp":1673960539048,"duration":194,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-hash","id":6740,"timestamp":1673960540513,"duration":825,"tags":{},"startTime":1664597004420},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-seal","id":6734,"timestamp":1673960538752,"duration":3879,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"webpack-compilation","id":6723,"timestamp":1673960478710,"duration":63939,"tags":{"name":"server"},"startTime":1664597004358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6742,"timestamp":1664597004380999,"duration":43000,"tags":{"clientId":1664595509559},"startTime":1664597004425},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"emit","id":6741,"timestamp":1673960542661,"duration":3478,"tags":{},"startTime":1664597004422},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6695,"timestamp":1673960168068,"duration":378446,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004047},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6745,"timestamp":1664597004380000,"duration":48000,"tags":{"clientId":1664596721221},"startTime":1664597004430},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6746,"timestamp":1673960551458,"duration":3916,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6747,"timestamp":1673960551495,"duration":5412,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"read-resource","id":6754,"timestamp":1673960557214,"duration":31,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6755,"name":"postcss-process","id":6756,"timestamp":1673960557274,"duration":36415,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"postcss-loader","id":6755,"timestamp":1673960557261,"duration":37047,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"css-loader","id":6757,"timestamp":1673960594340,"duration":12754,"tags":{"astUsed":"true"},"startTime":1664597004474},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"build-module-css","id":6753,"timestamp":1673960557007,"duration":51530,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6751,"timestamp":1673960551506,"duration":57481,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6750,"timestamp":1673960551503,"duration":57500,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6752,"timestamp":1673960551508,"duration":61581,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6748,"timestamp":1673960551498,"duration":62031,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6749,"timestamp":1673960551500,"duration":95238,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"make","id":6744,"timestamp":1673960550010,"duration":96748,"tags":{},"startTime":1664597004429},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-chunk-graph","id":6759,"timestamp":1673960651422,"duration":17183,"tags":{},"startTime":1664597004531},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-modules","id":6761,"timestamp":1673960668627,"duration":2,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-chunks","id":6762,"timestamp":1673960668639,"duration":38,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-tree","id":6763,"timestamp":1673960668696,"duration":3,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize","id":6760,"timestamp":1673960668620,"duration":3700,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-hash","id":6764,"timestamp":1673960681347,"duration":5931,"tags":{},"startTime":1664597004561},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"NextJsBuildManifest-generateClientManifest","id":6766,"timestamp":1673960688219,"duration":49,"tags":{},"startTime":1664597004567},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"NextJsBuildManifest-createassets","id":6765,"timestamp":1673960688170,"duration":102,"tags":{},"startTime":1664597004567},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-seal","id":6758,"timestamp":1673960647948,"duration":41251,"tags":{},"startTime":1664597004527},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"webpack-compilation","id":6743,"timestamp":1673960549837,"duration":139384,"tags":{"name":"client"},"startTime":1664597004429},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"emit","id":6767,"timestamp":1673960689234,"duration":4266,"tags":{},"startTime":1664597004568},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6725,"timestamp":1673960499666,"duration":194496,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597004379}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6768,"timestamp":1673960702284,"duration":0,"tags":{},"startTime":1664597004582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6769,"timestamp":1673960702326,"duration":0,"tags":{},"startTime":1664597004582},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6773,"timestamp":1674002090513,"duration":6340,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6774,"timestamp":1674002090569,"duration":6994,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"read-resource","id":6781,"timestamp":1674002097839,"duration":40,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6782,"name":"postcss-process","id":6783,"timestamp":1674002097906,"duration":44121,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"postcss-loader","id":6782,"timestamp":1674002097893,"duration":44374,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"css-loader","id":6784,"timestamp":1674002142290,"duration":14865,"tags":{"astUsed":"true"},"startTime":1664597046021},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"build-module-css","id":6780,"timestamp":1674002097689,"duration":60538,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6778,"timestamp":1674002090590,"duration":68133,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6777,"timestamp":1674002090586,"duration":68156,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6786,"name":"next-swc-transform","id":6787,"timestamp":1674002159352,"duration":2808,"tags":{},"startTime":1664597046039},{"traceId":"43f2de6d909a73f7","parentId":6785,"name":"next-swc-loader","id":6786,"timestamp":1674002159308,"duration":2859,"tags":{},"startTime":1664597046038},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"build-module-tsx","id":6785,"timestamp":1674002159184,"duration":3234,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597046038},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6779,"timestamp":1674002090627,"duration":74059,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6775,"timestamp":1674002090580,"duration":75118,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6776,"timestamp":1674002090583,"duration":120038,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6770,"name":"make","id":6772,"timestamp":1674002089405,"duration":121241,"tags":{},"startTime":1664597045969},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-chunk-graph","id":6789,"timestamp":1674002215968,"duration":7039,"tags":{},"startTime":1664597046095},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-modules","id":6791,"timestamp":1674002223033,"duration":2,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-chunks","id":6792,"timestamp":1674002223052,"duration":35,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-tree","id":6793,"timestamp":1674002223109,"duration":3,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize","id":6790,"timestamp":1674002223025,"duration":1196,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-hash","id":6794,"timestamp":1674002233183,"duration":3928,"tags":{},"startTime":1664597046112},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"NextJsBuildManifest-generateClientManifest","id":6796,"timestamp":1674002247382,"duration":48,"tags":{},"startTime":1664597046127},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"NextJsBuildManifest-createassets","id":6795,"timestamp":1674002247333,"duration":105,"tags":{},"startTime":1664597046126},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-seal","id":6788,"timestamp":1674002212066,"duration":36924,"tags":{},"startTime":1664597046091},{"traceId":"43f2de6d909a73f7","parentId":6770,"name":"webpack-compilation","id":6771,"timestamp":1674002089212,"duration":159806,"tags":{"name":"client"},"startTime":1664597045968},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6770,"timestamp":1674002077370,"duration":173179,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597045957}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6803,"timestamp":1674002263526,"duration":0,"tags":{"errorCount":1},"startTime":1664597046143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6804,"timestamp":1674002263583,"duration":0,"tags":{"errorCount":1},"startTime":1664597046143},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6802,"timestamp":1674002260859,"duration":6144,"tags":{"request":"private-next-pages/_error"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6801,"timestamp":1674002260854,"duration":6159,"tags":{"request":"private-next-pages/_document"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6806,"name":"next-swc-transform","id":6807,"timestamp":1674002266747,"duration":299,"tags":{},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6805,"name":"next-swc-loader","id":6806,"timestamp":1674002266707,"duration":342,"tags":{},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"build-module-tsx","id":6805,"timestamp":1674002266596,"duration":518,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6800,"timestamp":1674002260806,"duration":6664,"tags":{"request":"private-next-pages/_app"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6797,"name":"make","id":6799,"timestamp":1674002251885,"duration":15595,"tags":{},"startTime":1664597046131},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-chunk-graph","id":6809,"timestamp":1674002267876,"duration":192,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-modules","id":6811,"timestamp":1674002268077,"duration":2,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-chunks","id":6812,"timestamp":1674002268087,"duration":17,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-tree","id":6813,"timestamp":1674002268113,"duration":2,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize","id":6810,"timestamp":1674002268074,"duration":87,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-hash","id":6814,"timestamp":1674002269207,"duration":1742,"tags":{},"startTime":1664597046148},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-seal","id":6808,"timestamp":1674002267803,"duration":4170,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6797,"name":"webpack-compilation","id":6798,"timestamp":1674002251654,"duration":20347,"tags":{"name":"server"},"startTime":1664597046131},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6797,"timestamp":1674002250932,"duration":21995,"tags":{"trigger":"manual"},"startTime":1664597046130}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6815,"timestamp":1674002274665,"duration":0,"tags":{"errorCount":1},"startTime":1664597046154},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6816,"timestamp":1674002497223,"duration":0,"tags":{"errorCount":1},"startTime":1664597046376},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6819,"timestamp":1674028929914,"duration":0,"tags":{"errorCount":1},"startTime":1664597072809},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6820,"timestamp":1674028932474,"duration":0,"tags":{"errorCount":1},"startTime":1664597072812},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6823,"timestamp":1674028941989,"duration":6991,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6828,"timestamp":1674028942043,"duration":10620,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6833,"name":"next-swc-transform","id":6834,"timestamp":1674028949810,"duration":3358,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6832,"name":"next-swc-loader","id":6833,"timestamp":1674028949780,"duration":3396,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-tsx","id":6832,"timestamp":1674028949729,"duration":8339,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6836,"name":"next-swc-transform","id":6837,"timestamp":1674028952940,"duration":6429,"tags":{},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6835,"name":"next-swc-loader","id":6836,"timestamp":1674028952902,"duration":6473,"tags":{},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-tsx","id":6835,"timestamp":1674028952720,"duration":6728,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"read-resource","id":6831,"timestamp":1674028949703,"duration":10077,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6838,"name":"postcss-process","id":6839,"timestamp":1674028959817,"duration":37583,"tags":{},"startTime":1664597072839},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"postcss-loader","id":6838,"timestamp":1674028959800,"duration":37742,"tags":{},"startTime":1664597072839},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"css-loader","id":6840,"timestamp":1674028997562,"duration":9897,"tags":{"astUsed":"true"},"startTime":1664597072877},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-css","id":6830,"timestamp":1674028949615,"duration":58975,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6824,"timestamp":1674028942035,"duration":69120,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6827,"timestamp":1674028942041,"duration":69570,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6829,"timestamp":1674028942044,"duration":82572,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6825,"timestamp":1674028942037,"duration":157598,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6826,"timestamp":1674028942039,"duration":199135,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6817,"name":"make","id":6822,"timestamp":1674028940440,"duration":200766,"tags":{},"startTime":1664597072820},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-chunk-graph","id":6842,"timestamp":1674029145727,"duration":16427,"tags":{},"startTime":1664597073025},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-modules","id":6844,"timestamp":1674029162176,"duration":2,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-chunks","id":6845,"timestamp":1674029162188,"duration":79,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-tree","id":6846,"timestamp":1674029162287,"duration":6,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize","id":6843,"timestamp":1674029162168,"duration":1519,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-hash","id":6847,"timestamp":1674029174749,"duration":4496,"tags":{},"startTime":1664597073054},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"NextJsBuildManifest-generateClientManifest","id":6849,"timestamp":1674029191943,"duration":52,"tags":{},"startTime":1664597073071},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"NextJsBuildManifest-createassets","id":6848,"timestamp":1674029191887,"duration":119,"tags":{},"startTime":1664597073071},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-seal","id":6841,"timestamp":1674029142472,"duration":50863,"tags":{},"startTime":1664597073022},{"traceId":"43f2de6d909a73f7","parentId":6817,"name":"webpack-compilation","id":6821,"timestamp":1674028940268,"duration":253094,"tags":{"name":"client"},"startTime":1664597072819},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6817,"timestamp":1674028928558,"duration":266125,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6856,"timestamp":1674029205072,"duration":0,"tags":{"errorCount":1},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6857,"timestamp":1674029207440,"duration":0,"tags":{"errorCount":1},"startTime":1664597073087},{"traceId":"43f2de6d909a73f7","parentId":6862,"name":"next-swc-transform","id":6863,"timestamp":1674029208810,"duration":160,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6861,"name":"next-swc-loader","id":6862,"timestamp":1674029208789,"duration":186,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"build-module-tsx","id":6861,"timestamp":1674029208733,"duration":312,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6855,"timestamp":1674029204844,"duration":9199,"tags":{"request":"private-next-pages/_error"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6854,"timestamp":1674029204838,"duration":9214,"tags":{"request":"private-next-pages/_document"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6859,"name":"next-swc-transform","id":6860,"timestamp":1674029208597,"duration":11588,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6858,"name":"next-swc-loader","id":6859,"timestamp":1674029208520,"duration":11672,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"build-module-tsx","id":6858,"timestamp":1674029208401,"duration":15140,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6853,"timestamp":1674029204802,"duration":25101,"tags":{"request":"private-next-pages/_app"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6818,"name":"make","id":6851,"timestamp":1674029195614,"duration":34307,"tags":{},"startTime":1664597073075},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-chunk-graph","id":6865,"timestamp":1674029230246,"duration":218,"tags":{},"startTime":1664597073109},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-modules","id":6867,"timestamp":1674029230478,"duration":2,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-chunks","id":6868,"timestamp":1674029230488,"duration":19,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-tree","id":6869,"timestamp":1674029230518,"duration":2,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize","id":6866,"timestamp":1674029230473,"duration":109,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-hash","id":6870,"timestamp":1674029231685,"duration":428,"tags":{},"startTime":1664597073111},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-seal","id":6864,"timestamp":1674029230166,"duration":3368,"tags":{},"startTime":1664597073109},{"traceId":"43f2de6d909a73f7","parentId":6818,"name":"webpack-compilation","id":6850,"timestamp":1674029195467,"duration":38087,"tags":{"name":"server"},"startTime":1664597073075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6818,"timestamp":1674028928753,"duration":305433,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6873,"timestamp":1674029238322,"duration":0,"tags":{"errorCount":1},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6874,"timestamp":1674029238361,"duration":0,"tags":{"errorCount":1},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6875,"timestamp":1674029238685,"duration":5610,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6876,"timestamp":1674029238712,"duration":6122,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"read-resource","id":6883,"timestamp":1674029245023,"duration":29,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6884,"name":"postcss-process","id":6885,"timestamp":1674029245084,"duration":30271,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"postcss-loader","id":6884,"timestamp":1674029245075,"duration":30562,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"css-loader","id":6886,"timestamp":1674029275658,"duration":10625,"tags":{"astUsed":"true"},"startTime":1664597073155},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"build-module-css","id":6882,"timestamp":1674029244908,"duration":42542,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6880,"timestamp":1674029238719,"duration":49148,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6879,"timestamp":1674029238717,"duration":49161,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6888,"name":"next-swc-transform","id":6889,"timestamp":1674029288330,"duration":1847,"tags":{},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6887,"name":"next-swc-loader","id":6888,"timestamp":1674029288298,"duration":1882,"tags":{},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"build-module-tsx","id":6887,"timestamp":1674029288190,"duration":2036,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6881,"timestamp":1674029238721,"duration":52881,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6877,"timestamp":1674029238714,"duration":53135,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6878,"timestamp":1674029238716,"duration":80106,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6852,"name":"make","id":6872,"timestamp":1674029237462,"duration":81383,"tags":{},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-chunk-graph","id":6891,"timestamp":1674029323466,"duration":5792,"tags":{},"startTime":1664597073203},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-modules","id":6893,"timestamp":1674029329303,"duration":3,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-chunks","id":6894,"timestamp":1674029329318,"duration":40,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-tree","id":6895,"timestamp":1674029329382,"duration":3,"tags":{},"startTime":1664597073209},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize","id":6892,"timestamp":1674029329291,"duration":1064,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-hash","id":6896,"timestamp":1674029340156,"duration":6335,"tags":{},"startTime":1664597073219},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"NextJsBuildManifest-generateClientManifest","id":6898,"timestamp":1674029348455,"duration":51,"tags":{},"startTime":1664597073228},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"NextJsBuildManifest-createassets","id":6897,"timestamp":1674029348406,"duration":107,"tags":{},"startTime":1664597073228},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-seal","id":6890,"timestamp":1674029320054,"duration":30034,"tags":{},"startTime":1664597073199},{"traceId":"43f2de6d909a73f7","parentId":6852,"name":"webpack-compilation","id":6871,"timestamp":1674029237304,"duration":112816,"tags":{"name":"client"},"startTime":1664597073116},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6852,"timestamp":1674029204590,"duration":146068,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597073084}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6901,"timestamp":1674036758297,"duration":0,"tags":{"errorCount":1},"startTime":1664597080637},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6902,"timestamp":1674036759622,"duration":0,"tags":{"errorCount":1},"startTime":1664597080639},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6905,"timestamp":1674036781083,"duration":8002,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6906,"timestamp":1674036781201,"duration":9626,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"read-resource","id":6913,"timestamp":1674036791356,"duration":163,"tags":{},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6915,"name":"postcss-process","id":6916,"timestamp":1674036791580,"duration":34840,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"postcss-loader","id":6915,"timestamp":1674036791545,"duration":35019,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"css-loader","id":6919,"timestamp":1674036826594,"duration":8651,"tags":{"astUsed":"true"},"startTime":1664597080706},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"build-module-css","id":6912,"timestamp":1674036791036,"duration":45504,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6917,"name":"next-swc-transform","id":6918,"timestamp":1674036792238,"duration":44449,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6914,"name":"next-swc-loader","id":6917,"timestamp":1674036792174,"duration":44530,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"build-module-ts","id":6914,"timestamp":1674036791375,"duration":47253,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6910,"timestamp":1674036781211,"duration":57769,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6909,"timestamp":1674036781208,"duration":57784,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6911,"timestamp":1674036781212,"duration":61555,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6907,"timestamp":1674036781205,"duration":62248,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6908,"timestamp":1674036781207,"duration":101152,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"make","id":6904,"timestamp":1674036775175,"duration":107209,"tags":{},"startTime":1664597080654},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-chunk-graph","id":6921,"timestamp":1674036887297,"duration":3876,"tags":{},"startTime":1664597080766},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-modules","id":6923,"timestamp":1674036891188,"duration":2,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-chunks","id":6924,"timestamp":1674036891198,"duration":55,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-tree","id":6925,"timestamp":1674036891269,"duration":3,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize","id":6922,"timestamp":1674036891182,"duration":1076,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-hash","id":6926,"timestamp":1674036907604,"duration":4796,"tags":{},"startTime":1664597080787},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"NextJsBuildManifest-generateClientManifest","id":6928,"timestamp":1674036925695,"duration":99,"tags":{},"startTime":1664597080805},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"NextJsBuildManifest-createassets","id":6927,"timestamp":1674036925600,"duration":207,"tags":{},"startTime":1664597080805},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-seal","id":6920,"timestamp":1674036883845,"duration":44580,"tags":{},"startTime":1664597080763},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"webpack-compilation","id":6903,"timestamp":1674036774449,"duration":154017,"tags":{"name":"client"},"startTime":1664597080654},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"emit","id":6929,"timestamp":1674036928486,"duration":157321,"tags":{},"startTime":1664597080808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6899,"timestamp":1674036756058,"duration":330923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080635},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6935,"timestamp":1674037113328,"duration":0,"tags":{},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6936,"timestamp":1674037113411,"duration":0,"tags":{},"startTime":1664597080993},{"traceId":"43f2de6d909a73f7","parentId":6938,"name":"next-swc-transform","id":6939,"timestamp":1674037117275,"duration":608,"tags":{},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6937,"name":"next-swc-loader","id":6938,"timestamp":1674037117210,"duration":679,"tags":{},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"build-module-ts","id":6937,"timestamp":1674037117093,"duration":1584,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6934,"timestamp":1674037112482,"duration":6300,"tags":{"request":"private-next-pages/_error"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6933,"timestamp":1674037112479,"duration":6309,"tags":{"request":"private-next-pages/_document"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6932,"timestamp":1674037112418,"duration":9790,"tags":{"request":"private-next-pages/_app"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"make","id":6931,"timestamp":1674037089934,"duration":32300,"tags":{},"startTime":1664597080969},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-chunk-graph","id":6941,"timestamp":1674037122622,"duration":295,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-modules","id":6943,"timestamp":1674037122929,"duration":3,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-chunks","id":6944,"timestamp":1674037122940,"duration":28,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-tree","id":6945,"timestamp":1674037122979,"duration":6,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize","id":6942,"timestamp":1674037122925,"duration":125,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-hash","id":6946,"timestamp":1674037124140,"duration":468,"tags":{},"startTime":1664597081003},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-seal","id":6940,"timestamp":1674037122546,"duration":2620,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"webpack-compilation","id":6930,"timestamp":1674037089519,"duration":35668,"tags":{"name":"server"},"startTime":1664597080969},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"emit","id":6947,"timestamp":1674037125199,"duration":2892,"tags":{},"startTime":1664597081004},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6900,"timestamp":1674036756523,"duration":371985,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080636}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6948,"timestamp":1664597073086000,"duration":7934999,"tags":{"clientId":1664596721221},"startTime":1664597081021},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6949,"timestamp":1664597073084000,"duration":8019000,"tags":{"clientId":1664595509559},"startTime":1664597081104},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6956,"timestamp":1674062618624,"duration":11002,"tags":{"request":"private-next-pages/_error"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6955,"timestamp":1674062618619,"duration":11021,"tags":{"request":"private-next-pages/_document"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6958,"name":"next-swc-transform","id":6959,"timestamp":1674062628916,"duration":1874,"tags":{},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6957,"name":"next-swc-loader","id":6958,"timestamp":1674062628762,"duration":2035,"tags":{},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"build-module-tsx","id":6957,"timestamp":1674062628557,"duration":9186,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6954,"timestamp":1674062618531,"duration":24432,"tags":{"request":"private-next-pages/_app"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"make","id":6953,"timestamp":1674062618387,"duration":24599,"tags":{},"startTime":1664597106497},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-chunk-graph","id":6961,"timestamp":1674062643562,"duration":1260,"tags":{},"startTime":1664597106523},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-modules","id":6963,"timestamp":1674062644879,"duration":14,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-chunks","id":6964,"timestamp":1674062644924,"duration":41,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-tree","id":6965,"timestamp":1674062645000,"duration":14,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize","id":6962,"timestamp":1674062644851,"duration":261,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-hash","id":6966,"timestamp":1674062646959,"duration":1478,"tags":{},"startTime":1664597106526},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-seal","id":6960,"timestamp":1674062643446,"duration":7211,"tags":{},"startTime":1664597106523},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"webpack-compilation","id":6952,"timestamp":1674062618101,"duration":32589,"tags":{"name":"server"},"startTime":1664597106497},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"emit","id":6967,"timestamp":1674062650708,"duration":1736,"tags":{},"startTime":1664597106530},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6950,"timestamp":1674062610483,"duration":42433,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106490},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6970,"timestamp":1674062658832,"duration":4830,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6971,"timestamp":1674062658860,"duration":5377,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"read-resource","id":6978,"timestamp":1674062664479,"duration":88,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6980,"name":"postcss-process","id":6981,"timestamp":1674062664591,"duration":38775,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"postcss-loader","id":6980,"timestamp":1674062664579,"duration":39188,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"css-loader","id":6984,"timestamp":1674062703784,"duration":12664,"tags":{"astUsed":"true"},"startTime":1664597106583},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"build-module-css","id":6977,"timestamp":1674062664333,"duration":58005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597106543},{"traceId":"43f2de6d909a73f7","parentId":6982,"name":"next-swc-transform","id":6983,"timestamp":1674062665027,"duration":57529,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6979,"name":"next-swc-loader","id":6982,"timestamp":1674062664995,"duration":57564,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"build-module-tsx","id":6979,"timestamp":1674062664496,"duration":63710,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6975,"timestamp":1674062658873,"duration":69591,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6974,"timestamp":1674062658871,"duration":69607,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6976,"timestamp":1674062658876,"duration":72846,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6972,"timestamp":1674062658867,"duration":82076,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6973,"timestamp":1674062658869,"duration":101522,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"make","id":6969,"timestamp":1674062657517,"duration":102893,"tags":{},"startTime":1664597106537},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-chunk-graph","id":6986,"timestamp":1674062765049,"duration":19782,"tags":{},"startTime":1664597106644},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-modules","id":6988,"timestamp":1674062784854,"duration":2,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-chunks","id":6989,"timestamp":1674062784926,"duration":105,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-tree","id":6990,"timestamp":1674062785092,"duration":28,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize","id":6987,"timestamp":1674062784846,"duration":2179,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-hash","id":6991,"timestamp":1674062801190,"duration":6051,"tags":{},"startTime":1664597106680},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"NextJsBuildManifest-generateClientManifest","id":6993,"timestamp":1674062817629,"duration":72,"tags":{},"startTime":1664597106697},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"NextJsBuildManifest-createassets","id":6992,"timestamp":1674062817554,"duration":156,"tags":{},"startTime":1664597106697},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-seal","id":6985,"timestamp":1674062761606,"duration":58833,"tags":{},"startTime":1664597106641},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"webpack-compilation","id":6968,"timestamp":1674062656844,"duration":163635,"tags":{"name":"client"},"startTime":1664597106536},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"emit","id":6994,"timestamp":1674062820503,"duration":111438,"tags":{},"startTime":1664597106700},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6951,"timestamp":1674062610685,"duration":322684,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106490}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6996,"timestamp":1674062950531,"duration":0,"tags":{},"startTime":1664597106830},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6997,"timestamp":1674062950738,"duration":0,"tags":{},"startTime":1664597106830},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7000,"timestamp":1674062967630,"duration":8897,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597106847},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7001,"timestamp":1674062968778,"duration":13038,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"read-resource","id":7008,"timestamp":1674062982134,"duration":38,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7009,"name":"postcss-process","id":7010,"timestamp":1674062982201,"duration":46897,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"postcss-loader","id":7009,"timestamp":1674062982190,"duration":47420,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"css-loader","id":7011,"timestamp":1674063029664,"duration":12835,"tags":{"astUsed":"true"},"startTime":1664597106909},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"build-module-css","id":7007,"timestamp":1674062981933,"duration":62369,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7005,"timestamp":1674062968848,"duration":77377,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7004,"timestamp":1674062968839,"duration":77430,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7012,"timestamp":1664597106828999,"duration":97000,"tags":{"clientId":1664595509559},"startTime":1664597106927},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7006,"timestamp":1674062968853,"duration":82139,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7002,"timestamp":1674062968825,"duration":82517,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7013,"timestamp":1664597106832000,"duration":111000,"tags":{"clientId":1664596721221},"startTime":1664597106946},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7003,"timestamp":1674062968833,"duration":117237,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"make","id":6999,"timestamp":1674062965271,"duration":120823,"tags":{},"startTime":1664597106844},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-chunk-graph","id":7015,"timestamp":1674063091858,"duration":21200,"tags":{},"startTime":1664597106971},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-modules","id":7017,"timestamp":1674063113086,"duration":3,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-chunks","id":7018,"timestamp":1674063113099,"duration":145,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-tree","id":7019,"timestamp":1674063113268,"duration":3,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize","id":7016,"timestamp":1674063113078,"duration":1608,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-hash","id":7020,"timestamp":1674063124799,"duration":4933,"tags":{},"startTime":1664597107004},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"NextJsBuildManifest-generateClientManifest","id":7022,"timestamp":1674063132865,"duration":56,"tags":{},"startTime":1664597107012},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"NextJsBuildManifest-createassets","id":7021,"timestamp":1674063132795,"duration":134,"tags":{},"startTime":1664597107012},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-seal","id":7014,"timestamp":1674063088267,"duration":45783,"tags":{},"startTime":1664597106967},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"webpack-compilation","id":6998,"timestamp":1674062965050,"duration":169020,"tags":{"name":"client"},"startTime":1664597106844},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"emit","id":7023,"timestamp":1674063134086,"duration":2359,"tags":{},"startTime":1664597107013},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6995,"timestamp":1674062949708,"duration":187345,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597106829}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7024,"timestamp":1674063147705,"duration":0,"tags":{},"startTime":1664597107027},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7025,"timestamp":1674063147757,"duration":0,"tags":{},"startTime":1664597107027},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7030,"timestamp":1674069551486,"duration":3868,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7031,"timestamp":1674069551533,"duration":4505,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"read-resource","id":7038,"timestamp":1674069556230,"duration":85,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7040,"name":"postcss-process","id":7041,"timestamp":1674069556331,"duration":33909,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"postcss-loader","id":7040,"timestamp":1674069556324,"duration":34077,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"css-loader","id":7044,"timestamp":1674069590421,"duration":8407,"tags":{"astUsed":"true"},"startTime":1664597113470},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"build-module-css","id":7037,"timestamp":1674069556131,"duration":43625,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7042,"name":"next-swc-transform","id":7043,"timestamp":1674069556598,"duration":43334,"tags":{},"startTime":1664597113436},{"traceId":"43f2de6d909a73f7","parentId":7039,"name":"next-swc-loader","id":7042,"timestamp":1674069556526,"duration":43408,"tags":{},"startTime":1664597113436},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"build-module-tsx","id":7039,"timestamp":1674069556250,"duration":47282,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7035,"timestamp":1674069551552,"duration":52294,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7034,"timestamp":1674069551549,"duration":52310,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7036,"timestamp":1674069551554,"duration":57444,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7032,"timestamp":1674069551545,"duration":64883,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7033,"timestamp":1674069551547,"duration":83502,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"make","id":7029,"timestamp":1674069548294,"duration":86776,"tags":{},"startTime":1664597113427},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-chunk-graph","id":7046,"timestamp":1674069639384,"duration":3602,"tags":{},"startTime":1664597113518},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-modules","id":7048,"timestamp":1674069643004,"duration":2,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-chunks","id":7049,"timestamp":1674069643015,"duration":32,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-tree","id":7050,"timestamp":1674069643066,"duration":2,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize","id":7047,"timestamp":1674069642998,"duration":1007,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-hash","id":7051,"timestamp":1674069654349,"duration":4145,"tags":{},"startTime":1664597113533},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"NextJsBuildManifest-generateClientManifest","id":7053,"timestamp":1674069670654,"duration":43,"tags":{},"startTime":1664597113550},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"NextJsBuildManifest-createassets","id":7052,"timestamp":1674069670611,"duration":93,"tags":{},"startTime":1664597113550},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-seal","id":7045,"timestamp":1674069636197,"duration":36288,"tags":{},"startTime":1664597113515},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"webpack-compilation","id":7028,"timestamp":1674069548116,"duration":124393,"tags":{"name":"client"},"startTime":1664597113427},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"emit","id":7054,"timestamp":1674069672524,"duration":84941,"tags":{},"startTime":1664597113552},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7026,"timestamp":1674069535600,"duration":222307,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7061,"timestamp":1674069769152,"duration":0,"tags":{},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7062,"timestamp":1674069769298,"duration":0,"tags":{},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7060,"timestamp":1674069768629,"duration":3968,"tags":{"request":"private-next-pages/_error"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7059,"timestamp":1674069768626,"duration":3977,"tags":{"request":"private-next-pages/_document"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7064,"name":"next-swc-transform","id":7065,"timestamp":1674069772122,"duration":7465,"tags":{},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7063,"name":"next-swc-loader","id":7064,"timestamp":1674069772088,"duration":7507,"tags":{},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"build-module-tsx","id":7063,"timestamp":1674069771973,"duration":9521,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7058,"timestamp":1674069768571,"duration":16162,"tags":{"request":"private-next-pages/_app"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"make","id":7056,"timestamp":1674069759203,"duration":25548,"tags":{},"startTime":1664597113638},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-chunk-graph","id":7067,"timestamp":1674069785072,"duration":162,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-modules","id":7069,"timestamp":1674069785244,"duration":2,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-chunks","id":7070,"timestamp":1674069785253,"duration":15,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-tree","id":7071,"timestamp":1674069785278,"duration":2,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize","id":7068,"timestamp":1674069785241,"duration":102,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-hash","id":7072,"timestamp":1674069786394,"duration":423,"tags":{},"startTime":1664597113665},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-seal","id":7066,"timestamp":1674069785008,"duration":3508,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"webpack-compilation","id":7055,"timestamp":1674069759050,"duration":29489,"tags":{"name":"server"},"startTime":1664597113638},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7074,"timestamp":1664597113648000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664597113668},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"emit","id":7073,"timestamp":1674069788551,"duration":2773,"tags":{},"startTime":1664597113668},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7027,"timestamp":1674069535772,"duration":255790,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7084,"timestamp":1664597113648000,"duration":25999,"tags":{"clientId":1664596721221},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7077,"timestamp":1674069797024,"duration":3507,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7078,"timestamp":1674069797072,"duration":7336,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"read-resource","id":7086,"timestamp":1674069804656,"duration":37,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7087,"name":"postcss-process","id":7088,"timestamp":1674069804718,"duration":29559,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"postcss-loader","id":7087,"timestamp":1674069804708,"duration":31256,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"css-loader","id":7089,"timestamp":1674069836004,"duration":13039,"tags":{"astUsed":"true"},"startTime":1664597113715},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"build-module-css","id":7085,"timestamp":1674069804541,"duration":45573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7082,"timestamp":1674069797081,"duration":53482,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7081,"timestamp":1674069797078,"duration":53498,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7083,"timestamp":1674069797086,"duration":57926,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7079,"timestamp":1674069797074,"duration":58326,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7080,"timestamp":1674069797076,"duration":132083,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"make","id":7076,"timestamp":1674069795584,"duration":133598,"tags":{},"startTime":1664597113675},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-chunk-graph","id":7091,"timestamp":1674069935560,"duration":8284,"tags":{},"startTime":1664597113815},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-modules","id":7093,"timestamp":1674069943869,"duration":3,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-chunks","id":7094,"timestamp":1674069943881,"duration":34,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-tree","id":7095,"timestamp":1674069943939,"duration":3,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize","id":7092,"timestamp":1674069943860,"duration":1094,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-hash","id":7096,"timestamp":1674069956619,"duration":9589,"tags":{},"startTime":1664597113836},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"NextJsBuildManifest-generateClientManifest","id":7098,"timestamp":1674069967392,"duration":77,"tags":{},"startTime":1664597113846},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"NextJsBuildManifest-createassets","id":7097,"timestamp":1674069967334,"duration":140,"tags":{},"startTime":1664597113846},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-seal","id":7090,"timestamp":1674069931343,"duration":37485,"tags":{},"startTime":1664597113810},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"webpack-compilation","id":7075,"timestamp":1674069795403,"duration":173464,"tags":{"name":"client"},"startTime":1664597113674},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"emit","id":7099,"timestamp":1674069968888,"duration":12980,"tags":{},"startTime":1664597113848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7057,"timestamp":1674069768285,"duration":214537,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597113647}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7100,"timestamp":1674069995153,"duration":0,"tags":{},"startTime":1664597113874},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7101,"timestamp":1674069995206,"duration":0,"tags":{},"startTime":1664597113874},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7106,"timestamp":1674076148970,"duration":3996,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7107,"timestamp":1674076149022,"duration":4764,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"read-resource","id":7114,"timestamp":1674076154116,"duration":96,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7116,"name":"postcss-process","id":7117,"timestamp":1674076154243,"duration":33834,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"postcss-loader","id":7116,"timestamp":1674076154230,"duration":34047,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"css-loader","id":7120,"timestamp":1674076188298,"duration":10330,"tags":{"astUsed":"true"},"startTime":1664597120067},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"build-module-css","id":7113,"timestamp":1674076153947,"duration":46162,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7118,"name":"next-swc-transform","id":7119,"timestamp":1674076154586,"duration":45878,"tags":{},"startTime":1664597120034},{"traceId":"43f2de6d909a73f7","parentId":7115,"name":"next-swc-loader","id":7118,"timestamp":1674076154524,"duration":45947,"tags":{},"startTime":1664597120034},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"build-module-tsx","id":7115,"timestamp":1674076154138,"duration":49017,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7111,"timestamp":1674076149032,"duration":54472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7110,"timestamp":1674076149029,"duration":54492,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7112,"timestamp":1674076149033,"duration":57533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7108,"timestamp":1674076149026,"duration":66429,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7109,"timestamp":1674076149028,"duration":82542,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"make","id":7105,"timestamp":1674076148090,"duration":83499,"tags":{},"startTime":1664597120027},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-chunk-graph","id":7122,"timestamp":1674076236049,"duration":5249,"tags":{},"startTime":1664597120115},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-modules","id":7124,"timestamp":1674076241318,"duration":3,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-chunks","id":7125,"timestamp":1674076241330,"duration":37,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-tree","id":7126,"timestamp":1674076241385,"duration":3,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize","id":7123,"timestamp":1674076241312,"duration":875,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-hash","id":7127,"timestamp":1674076249980,"duration":3783,"tags":{},"startTime":1664597120129},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"NextJsBuildManifest-generateClientManifest","id":7129,"timestamp":1674076263601,"duration":43,"tags":{},"startTime":1664597120143},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"NextJsBuildManifest-createassets","id":7128,"timestamp":1674076263554,"duration":96,"tags":{},"startTime":1664597120143},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-seal","id":7121,"timestamp":1674076232747,"duration":32466,"tags":{},"startTime":1664597120112},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"webpack-compilation","id":7104,"timestamp":1674076147899,"duration":117335,"tags":{"name":"client"},"startTime":1664597120027},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"emit","id":7130,"timestamp":1674076265251,"duration":84644,"tags":{},"startTime":1664597120144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7102,"timestamp":1674076136124,"duration":214303,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120015},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7137,"timestamp":1674076363500,"duration":0,"tags":{},"startTime":1664597120243},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7138,"timestamp":1674076363544,"duration":0,"tags":{},"startTime":1664597120243},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7136,"timestamp":1674076362679,"duration":14964,"tags":{"request":"private-next-pages/_error"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7135,"timestamp":1674076362676,"duration":14982,"tags":{"request":"private-next-pages/_document"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7140,"name":"next-swc-transform","id":7141,"timestamp":1674076376553,"duration":1901,"tags":{},"startTime":1664597120256},{"traceId":"43f2de6d909a73f7","parentId":7139,"name":"next-swc-loader","id":7140,"timestamp":1674076376516,"duration":1942,"tags":{},"startTime":1664597120256},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"build-module-tsx","id":7139,"timestamp":1674076376385,"duration":4858,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120255},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7134,"timestamp":1674076362638,"duration":22021,"tags":{"request":"private-next-pages/_app"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"make","id":7132,"timestamp":1674076351458,"duration":33223,"tags":{},"startTime":1664597120231},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-chunk-graph","id":7143,"timestamp":1674076385075,"duration":197,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-modules","id":7145,"timestamp":1674076385281,"duration":2,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-chunks","id":7146,"timestamp":1674076385291,"duration":16,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-tree","id":7147,"timestamp":1674076385316,"duration":3,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize","id":7144,"timestamp":1674076385278,"duration":103,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-hash","id":7148,"timestamp":1674076386476,"duration":398,"tags":{},"startTime":1664597120266},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-seal","id":7142,"timestamp":1674076385007,"duration":2900,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"webpack-compilation","id":7131,"timestamp":1674076351279,"duration":36648,"tags":{"name":"server"},"startTime":1664597120230},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"emit","id":7149,"timestamp":1674076387937,"duration":2358,"tags":{},"startTime":1664597120267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7103,"timestamp":1674076136408,"duration":254205,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120015},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7152,"timestamp":1664597120241999,"duration":29000,"tags":{"clientId":1664596721221},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7153,"timestamp":1674076396602,"duration":5353,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7154,"timestamp":1674076396626,"duration":5948,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"read-resource","id":7161,"timestamp":1674076403025,"duration":54,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7162,"name":"postcss-process","id":7163,"timestamp":1674076403113,"duration":29976,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"postcss-loader","id":7162,"timestamp":1674076403098,"duration":30263,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"css-loader","id":7164,"timestamp":1674076433383,"duration":12241,"tags":{"astUsed":"true"},"startTime":1664597120312},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"build-module-css","id":7160,"timestamp":1674076402888,"duration":43709,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7158,"timestamp":1674076396634,"duration":50374,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7157,"timestamp":1674076396632,"duration":50387,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7159,"timestamp":1674076396636,"duration":54290,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7155,"timestamp":1674076396628,"duration":54620,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7156,"timestamp":1674076396630,"duration":85152,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"make","id":7151,"timestamp":1674076395446,"duration":86359,"tags":{},"startTime":1664597120275},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-chunk-graph","id":7166,"timestamp":1674076486400,"duration":6516,"tags":{},"startTime":1664597120365},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-modules","id":7168,"timestamp":1674076492941,"duration":2,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-chunks","id":7169,"timestamp":1674076492952,"duration":37,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-tree","id":7170,"timestamp":1674076493011,"duration":3,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize","id":7167,"timestamp":1674076492934,"duration":1188,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-hash","id":7171,"timestamp":1674076501876,"duration":4153,"tags":{},"startTime":1664597120381},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"NextJsBuildManifest-generateClientManifest","id":7173,"timestamp":1674076506813,"duration":47,"tags":{},"startTime":1664597120386},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"NextJsBuildManifest-createassets","id":7172,"timestamp":1674076506766,"duration":97,"tags":{},"startTime":1664597120386},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-seal","id":7165,"timestamp":1674076482861,"duration":24869,"tags":{},"startTime":1664597120362},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"webpack-compilation","id":7150,"timestamp":1674076395264,"duration":112490,"tags":{"name":"client"},"startTime":1664597120274},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"emit","id":7174,"timestamp":1674076507765,"duration":7988,"tags":{},"startTime":1664597120387},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7133,"timestamp":1674076362352,"duration":153951,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597120241}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7175,"timestamp":1674076527195,"duration":0,"tags":{},"startTime":1664597120406},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7176,"timestamp":1674076527303,"duration":0,"tags":{},"startTime":1664597120406},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7177,"timestamp":1664597120241999,"duration":545000,"tags":{"clientId":1664595509559},"startTime":1664597120787},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7184,"timestamp":1674092081404,"duration":16624,"tags":{"request":"private-next-pages/_error"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7183,"timestamp":1674092081400,"duration":16644,"tags":{"request":"private-next-pages/_document"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7186,"name":"next-swc-transform","id":7187,"timestamp":1674092096233,"duration":1886,"tags":{},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7185,"name":"next-swc-loader","id":7186,"timestamp":1674092096148,"duration":1972,"tags":{},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"build-module-tsx","id":7185,"timestamp":1674092095929,"duration":8374,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7182,"timestamp":1674092081321,"duration":30029,"tags":{"request":"private-next-pages/_app"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"make","id":7181,"timestamp":1674092081154,"duration":30213,"tags":{},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-chunk-graph","id":7189,"timestamp":1674092111808,"duration":1211,"tags":{},"startTime":1664597135991},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-modules","id":7191,"timestamp":1674092113061,"duration":11,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-chunks","id":7192,"timestamp":1674092113103,"duration":38,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-tree","id":7193,"timestamp":1674092113171,"duration":14,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize","id":7190,"timestamp":1674092113041,"duration":235,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-hash","id":7194,"timestamp":1674092115725,"duration":815,"tags":{},"startTime":1664597135995},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-seal","id":7188,"timestamp":1674092111699,"duration":7889,"tags":{},"startTime":1664597135991},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"webpack-compilation","id":7180,"timestamp":1674092080971,"duration":38646,"tags":{"name":"server"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"emit","id":7195,"timestamp":1674092119631,"duration":2283,"tags":{},"startTime":1664597135999},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7178,"timestamp":1674092073960,"duration":48417,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135953},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7198,"timestamp":1674092129990,"duration":8087,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7203,"timestamp":1674092130047,"duration":9742,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"read-resource","id":7206,"timestamp":1674092139313,"duration":1104,"tags":{},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7210,"name":"postcss-process","id":7211,"timestamp":1674092140459,"duration":37740,"tags":{},"startTime":1664597136020},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"postcss-loader","id":7210,"timestamp":1674092140445,"duration":38262,"tags":{},"startTime":1664597136019},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"css-loader","id":7212,"timestamp":1674092178729,"duration":12327,"tags":{"astUsed":"true"},"startTime":1664597136058},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"build-module-css","id":7205,"timestamp":1674092139030,"duration":57836,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7208,"name":"next-swc-transform","id":7209,"timestamp":1674092139482,"duration":58202,"tags":{},"startTime":1664597136019},{"traceId":"43f2de6d909a73f7","parentId":7207,"name":"next-swc-loader","id":7208,"timestamp":1674092139444,"duration":58250,"tags":{},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"build-module-tsx","id":7207,"timestamp":1674092139374,"duration":62951,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7199,"timestamp":1674092130035,"duration":72992,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7202,"timestamp":1674092130044,"duration":74049,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7204,"timestamp":1674092130049,"duration":79457,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7200,"timestamp":1674092130039,"duration":84723,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7201,"timestamp":1674092130041,"duration":118825,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"make","id":7197,"timestamp":1674092128134,"duration":120751,"tags":{},"startTime":1664597136007},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-chunk-graph","id":7214,"timestamp":1674092253369,"duration":16963,"tags":{},"startTime":1664597136132},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-modules","id":7216,"timestamp":1674092270358,"duration":3,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-chunks","id":7217,"timestamp":1674092270440,"duration":137,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-tree","id":7218,"timestamp":1674092270619,"duration":12,"tags":{},"startTime":1664597136150},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize","id":7215,"timestamp":1674092270351,"duration":1945,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-hash","id":7219,"timestamp":1674092284208,"duration":5641,"tags":{},"startTime":1664597136163},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"NextJsBuildManifest-generateClientManifest","id":7221,"timestamp":1674092299762,"duration":55,"tags":{},"startTime":1664597136179},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"NextJsBuildManifest-createassets","id":7220,"timestamp":1674092299715,"duration":110,"tags":{},"startTime":1664597136179},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-seal","id":7213,"timestamp":1674092250115,"duration":51538,"tags":{},"startTime":1664597136129},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"webpack-compilation","id":7196,"timestamp":1674092127952,"duration":173723,"tags":{"name":"client"},"startTime":1664597136007},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"emit","id":7222,"timestamp":1674092301689,"duration":95811,"tags":{},"startTime":1664597136181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7179,"timestamp":1674092074114,"duration":324698,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135953}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7224,"timestamp":1674092412161,"duration":0,"tags":{},"startTime":1664597136291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7225,"timestamp":1674092412536,"duration":0,"tags":{},"startTime":1664597136292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7235,"timestamp":1664597136292000,"duration":18000,"tags":{"clientId":1664595509559},"startTime":1664597136310},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7228,"timestamp":1674092425462,"duration":6881,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7229,"timestamp":1674092425560,"duration":7761,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"read-resource","id":7237,"timestamp":1674092433761,"duration":51,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7238,"name":"postcss-process","id":7239,"timestamp":1674092433851,"duration":38351,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"postcss-loader","id":7238,"timestamp":1674092433836,"duration":39116,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"css-loader","id":7240,"timestamp":1674092472983,"duration":13503,"tags":{"astUsed":"true"},"startTime":1664597136352},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"build-module-css","id":7236,"timestamp":1674092433497,"duration":54509,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7241,"timestamp":1664597136292999,"duration":49000,"tags":{"clientId":1664596721221},"startTime":1664597136367},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7233,"timestamp":1674092425574,"duration":63006,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7232,"timestamp":1674092425571,"duration":63026,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7234,"timestamp":1674092425576,"duration":67186,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7230,"timestamp":1674092425565,"duration":67511,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7231,"timestamp":1674092425568,"duration":97115,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"make","id":7227,"timestamp":1674092423360,"duration":99343,"tags":{},"startTime":1664597136302},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-chunk-graph","id":7243,"timestamp":1674092527243,"duration":19252,"tags":{},"startTime":1664597136406},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-modules","id":7245,"timestamp":1674092546519,"duration":3,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-chunks","id":7246,"timestamp":1674092546531,"duration":99,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-tree","id":7247,"timestamp":1674092546650,"duration":3,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize","id":7244,"timestamp":1674092546512,"duration":1446,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-hash","id":7248,"timestamp":1674092558347,"duration":4047,"tags":{},"startTime":1664597136437},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"NextJsBuildManifest-generateClientManifest","id":7250,"timestamp":1674092563543,"duration":2217,"tags":{},"startTime":1664597136443},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"NextJsBuildManifest-createassets","id":7249,"timestamp":1674092563470,"duration":2302,"tags":{},"startTime":1664597136443},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-seal","id":7242,"timestamp":1674092523827,"duration":43374,"tags":{},"startTime":1664597136403},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"webpack-compilation","id":7226,"timestamp":1674092423159,"duration":144071,"tags":{"name":"client"},"startTime":1664597136302},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"emit","id":7251,"timestamp":1674092567262,"duration":2248,"tags":{},"startTime":1664597136446},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7223,"timestamp":1674092411394,"duration":158719,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597136290}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7252,"timestamp":1674092580499,"duration":0,"tags":{},"startTime":1664597136460},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7253,"timestamp":1674092580547,"duration":0,"tags":{},"startTime":1664597136460},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7257,"timestamp":1674134556032,"duration":4077,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7258,"timestamp":1674134556100,"duration":7038,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"read-resource","id":7265,"timestamp":1674134563419,"duration":97,"tags":{},"startTime":1664597178442},{"traceId":"43f2de6d909a73f7","parentId":7266,"name":"postcss-process","id":7267,"timestamp":1674134563555,"duration":39132,"tags":{},"startTime":1664597178443},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"postcss-loader","id":7266,"timestamp":1674134563540,"duration":39302,"tags":{},"startTime":1664597178443},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"css-loader","id":7268,"timestamp":1674134602863,"duration":9938,"tags":{"astUsed":"true"},"startTime":1664597178482},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"build-module-css","id":7264,"timestamp":1674134563290,"duration":50528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597178442},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7262,"timestamp":1674134556120,"duration":58474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7261,"timestamp":1674134556117,"duration":58491,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7270,"name":"next-swc-transform","id":7271,"timestamp":1674134615092,"duration":2525,"tags":{},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7269,"name":"next-swc-loader","id":7270,"timestamp":1674134615039,"duration":2585,"tags":{},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"build-module-tsx","id":7269,"timestamp":1674134614934,"duration":2942,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7263,"timestamp":1674134556122,"duration":64009,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7259,"timestamp":1674134556112,"duration":64296,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7260,"timestamp":1674134556114,"duration":90121,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7254,"name":"make","id":7256,"timestamp":1674134552110,"duration":94147,"tags":{},"startTime":1664597178431},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-chunk-graph","id":7273,"timestamp":1674134650677,"duration":5589,"tags":{},"startTime":1664597178530},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-modules","id":7275,"timestamp":1674134656292,"duration":2,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-chunks","id":7276,"timestamp":1674134656302,"duration":30,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-tree","id":7277,"timestamp":1674134656350,"duration":2,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize","id":7274,"timestamp":1674134656280,"duration":974,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-hash","id":7278,"timestamp":1674134664876,"duration":3548,"tags":{},"startTime":1664597178544},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"NextJsBuildManifest-generateClientManifest","id":7280,"timestamp":1674134677450,"duration":47,"tags":{},"startTime":1664597178556},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"NextJsBuildManifest-createassets","id":7279,"timestamp":1674134677404,"duration":101,"tags":{},"startTime":1664597178556},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-seal","id":7272,"timestamp":1674134647315,"duration":31472,"tags":{},"startTime":1664597178526},{"traceId":"43f2de6d909a73f7","parentId":7254,"name":"webpack-compilation","id":7255,"timestamp":1674134551920,"duration":126892,"tags":{"name":"client"},"startTime":1664597178431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7254,"timestamp":1674134539763,"duration":140430,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178419}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7287,"timestamp":1674134693226,"duration":0,"tags":{"errorCount":1},"startTime":1664597178572},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7288,"timestamp":1674134693327,"duration":0,"tags":{"errorCount":1},"startTime":1664597178572},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7286,"timestamp":1674134690018,"duration":7165,"tags":{"request":"private-next-pages/_error"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7285,"timestamp":1674134690015,"duration":7179,"tags":{"request":"private-next-pages/_document"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7290,"name":"next-swc-transform","id":7291,"timestamp":1674134696895,"duration":336,"tags":{},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7289,"name":"next-swc-loader","id":7290,"timestamp":1674134696853,"duration":380,"tags":{},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"build-module-tsx","id":7289,"timestamp":1674134696640,"duration":661,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7284,"timestamp":1674134689971,"duration":7585,"tags":{"request":"private-next-pages/_app"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7281,"name":"make","id":7283,"timestamp":1674134681334,"duration":16237,"tags":{},"startTime":1664597178560},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-chunk-graph","id":7293,"timestamp":1674134697872,"duration":166,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-modules","id":7295,"timestamp":1674134698049,"duration":2,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-chunks","id":7296,"timestamp":1674134698058,"duration":15,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-tree","id":7297,"timestamp":1674134698081,"duration":2,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize","id":7294,"timestamp":1674134698046,"duration":89,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-hash","id":7298,"timestamp":1674134698809,"duration":460,"tags":{},"startTime":1664597178578},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-seal","id":7292,"timestamp":1674134697811,"duration":2155,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7281,"name":"webpack-compilation","id":7282,"timestamp":1674134681194,"duration":18792,"tags":{"name":"server"},"startTime":1664597178560},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7281,"timestamp":1674134680557,"duration":20222,"tags":{"trigger":"manual"},"startTime":1664597178560}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7299,"timestamp":1674134703380,"duration":0,"tags":{"errorCount":1},"startTime":1664597178582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7300,"timestamp":1674134731022,"duration":0,"tags":{"errorCount":1},"startTime":1664597178610},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7304,"timestamp":1674137260199,"duration":3555,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7305,"timestamp":1674137260256,"duration":4007,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"read-resource","id":7312,"timestamp":1674137264416,"duration":27,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7313,"name":"postcss-process","id":7314,"timestamp":1674137264461,"duration":33514,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"postcss-loader","id":7313,"timestamp":1674137264453,"duration":33903,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"css-loader","id":7315,"timestamp":1674137298396,"duration":11984,"tags":{"astUsed":"true"},"startTime":1664597181177},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-css","id":7311,"timestamp":1674137264336,"duration":47099,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7309,"timestamp":1674137260264,"duration":52757,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7308,"timestamp":1674137260262,"duration":52779,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7318,"name":"next-swc-transform","id":7319,"timestamp":1674137314383,"duration":322,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7316,"name":"next-swc-loader","id":7318,"timestamp":1674137314343,"duration":367,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-tsx","id":7316,"timestamp":1674137314075,"duration":693,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7320,"name":"next-swc-transform","id":7321,"timestamp":1674137314397,"duration":378,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7317,"name":"next-swc-loader","id":7320,"timestamp":1674137314386,"duration":391,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-tsx","id":7317,"timestamp":1674137314189,"duration":607,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7310,"timestamp":1674137260266,"duration":63367,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7306,"timestamp":1674137260258,"duration":64014,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7307,"timestamp":1674137260260,"duration":132139,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7301,"name":"make","id":7303,"timestamp":1674137259212,"duration":133221,"tags":{},"startTime":1664597181138},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-chunk-graph","id":7323,"timestamp":1674137396727,"duration":17337,"tags":{},"startTime":1664597181276},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-modules","id":7325,"timestamp":1674137414087,"duration":2,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-chunks","id":7326,"timestamp":1674137414098,"duration":94,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-tree","id":7327,"timestamp":1674137414214,"duration":15,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize","id":7324,"timestamp":1674137414077,"duration":1619,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-hash","id":7328,"timestamp":1674137427384,"duration":3988,"tags":{},"startTime":1664597181306},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"NextJsBuildManifest-generateClientManifest","id":7330,"timestamp":1674137440056,"duration":99,"tags":{},"startTime":1664597181319},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"NextJsBuildManifest-createassets","id":7329,"timestamp":1674137439983,"duration":181,"tags":{},"startTime":1664597181319},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-seal","id":7322,"timestamp":1674137393640,"duration":47897,"tags":{},"startTime":1664597181273},{"traceId":"43f2de6d909a73f7","parentId":7301,"name":"webpack-compilation","id":7302,"timestamp":1674137259030,"duration":182551,"tags":{"name":"client"},"startTime":1664597181138},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7301,"timestamp":1674137247412,"duration":195543,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181126}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7337,"timestamp":1674137455928,"duration":0,"tags":{"errorCount":2},"startTime":1664597181335},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7338,"timestamp":1674137455987,"duration":0,"tags":{"errorCount":2},"startTime":1664597181335},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7336,"timestamp":1674137453936,"duration":5882,"tags":{"request":"private-next-pages/_error"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7335,"timestamp":1674137453932,"duration":5895,"tags":{"request":"private-next-pages/_document"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7341,"name":"next-swc-transform","id":7342,"timestamp":1674137459541,"duration":408,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7339,"name":"next-swc-loader","id":7341,"timestamp":1674137459494,"duration":458,"tags":{},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"build-module-tsx","id":7339,"timestamp":1674137459256,"duration":767,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7343,"name":"next-swc-transform","id":7344,"timestamp":1674137459555,"duration":474,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7340,"name":"next-swc-loader","id":7343,"timestamp":1674137459543,"duration":487,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"build-module-tsx","id":7340,"timestamp":1674137459452,"duration":595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7334,"timestamp":1674137453875,"duration":6285,"tags":{"request":"private-next-pages/_app"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7331,"name":"make","id":7333,"timestamp":1674137444392,"duration":15777,"tags":{},"startTime":1664597181323},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-chunk-graph","id":7346,"timestamp":1674137460425,"duration":389,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-modules","id":7348,"timestamp":1674137460839,"duration":3,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-chunks","id":7349,"timestamp":1674137460854,"duration":23,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-tree","id":7350,"timestamp":1674137460897,"duration":3,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize","id":7347,"timestamp":1674137460831,"duration":146,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-hash","id":7351,"timestamp":1674137461685,"duration":377,"tags":{},"startTime":1664597181341},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-seal","id":7345,"timestamp":1674137460366,"duration":2305,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7331,"name":"webpack-compilation","id":7332,"timestamp":1674137444223,"duration":18465,"tags":{"name":"server"},"startTime":1664597181323},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7331,"timestamp":1674137443271,"duration":20088,"tags":{"trigger":"manual"},"startTime":1664597181322}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7352,"timestamp":1674137464775,"duration":0,"tags":{"errorCount":2},"startTime":1664597181344},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7353,"timestamp":1674137469861,"duration":0,"tags":{"errorCount":2},"startTime":1664597181349},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7356,"timestamp":1674143404889,"duration":0,"tags":{"errorCount":2},"startTime":1664597187284},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7357,"timestamp":1674143406629,"duration":0,"tags":{"errorCount":2},"startTime":1664597187286},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7360,"timestamp":1674143418121,"duration":3855,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7361,"timestamp":1674143418168,"duration":4532,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"read-resource","id":7368,"timestamp":1674143422930,"duration":97,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7370,"name":"postcss-process","id":7371,"timestamp":1674143423062,"duration":37034,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"postcss-loader","id":7370,"timestamp":1674143423050,"duration":37261,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"css-loader","id":7374,"timestamp":1674143460331,"duration":10216,"tags":{"astUsed":"true"},"startTime":1664597187339},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"build-module-css","id":7367,"timestamp":1674143422805,"duration":49186,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7372,"name":"next-swc-transform","id":7373,"timestamp":1674143423511,"duration":48690,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7369,"name":"next-swc-loader","id":7372,"timestamp":1674143423468,"duration":48734,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"build-module-ts","id":7369,"timestamp":1674143422947,"duration":50338,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7365,"timestamp":1674143418179,"duration":55444,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7364,"timestamp":1674143418176,"duration":55458,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7366,"timestamp":1674143418181,"duration":58863,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7362,"timestamp":1674143418171,"duration":59257,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7363,"timestamp":1674143418174,"duration":228653,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"make","id":7359,"timestamp":1674143416687,"duration":230170,"tags":{},"startTime":1664597187296},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-chunk-graph","id":7376,"timestamp":1674143656817,"duration":18947,"tags":{},"startTime":1664597187536},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-modules","id":7378,"timestamp":1674143675787,"duration":3,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-chunks","id":7379,"timestamp":1674143675801,"duration":75,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-tree","id":7380,"timestamp":1674143675898,"duration":7,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize","id":7377,"timestamp":1674143675780,"duration":1624,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-hash","id":7381,"timestamp":1674143692577,"duration":4156,"tags":{},"startTime":1664597187572},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"NextJsBuildManifest-generateClientManifest","id":7383,"timestamp":1674143705644,"duration":88,"tags":{},"startTime":1664597187585},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"NextJsBuildManifest-createassets","id":7382,"timestamp":1674143705584,"duration":154,"tags":{},"startTime":1664597187585},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-seal","id":7375,"timestamp":1674143649930,"duration":57680,"tags":{},"startTime":1664597187529},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"webpack-compilation","id":7358,"timestamp":1674143416480,"duration":291162,"tags":{"name":"client"},"startTime":1664597187295},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"emit","id":7384,"timestamp":1674143707692,"duration":106909,"tags":{},"startTime":1664597187587},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7354,"timestamp":1674143403539,"duration":411809,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187283},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7390,"timestamp":1674143827215,"duration":0,"tags":{},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7391,"timestamp":1674143827494,"duration":0,"tags":{},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7393,"name":"next-swc-transform","id":7394,"timestamp":1674143830593,"duration":529,"tags":{},"startTime":1664597187710},{"traceId":"43f2de6d909a73f7","parentId":7392,"name":"next-swc-loader","id":7393,"timestamp":1674143830534,"duration":591,"tags":{},"startTime":1664597187710},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"build-module-ts","id":7392,"timestamp":1674143830434,"duration":1337,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187709},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7389,"timestamp":1674143826563,"duration":5272,"tags":{"request":"private-next-pages/_error"},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7388,"timestamp":1674143826559,"duration":5280,"tags":{"request":"private-next-pages/_document"},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7387,"timestamp":1674143826495,"duration":6764,"tags":{"request":"private-next-pages/_app"},"startTime":1664597187705},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"make","id":7386,"timestamp":1674143816436,"duration":16837,"tags":{},"startTime":1664597187695},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-chunk-graph","id":7396,"timestamp":1674143833545,"duration":237,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-modules","id":7398,"timestamp":1674143833791,"duration":2,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-chunks","id":7399,"timestamp":1674143833799,"duration":25,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-tree","id":7400,"timestamp":1674143833834,"duration":4,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize","id":7397,"timestamp":1674143833787,"duration":112,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-hash","id":7401,"timestamp":1674143835016,"duration":429,"tags":{},"startTime":1664597187714},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-seal","id":7395,"timestamp":1674143833482,"duration":2576,"tags":{},"startTime":1664597187712},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"webpack-compilation","id":7385,"timestamp":1674143816273,"duration":19804,"tags":{"name":"server"},"startTime":1664597187695},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"emit","id":7402,"timestamp":1674143836087,"duration":4318,"tags":{},"startTime":1664597187715},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7355,"timestamp":1674143403687,"duration":437099,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187283}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7403,"timestamp":1664597178419000,"duration":9304000,"tags":{"clientId":1664595509559},"startTime":1664597187723},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7404,"timestamp":1664597178420999,"duration":9318000,"tags":{"clientId":1664596721221},"startTime":1664597187740},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7408,"timestamp":1674149019587,"duration":4200,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7409,"timestamp":1674149019684,"duration":4707,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"read-resource","id":7416,"timestamp":1674149024700,"duration":41,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7417,"name":"postcss-process","id":7418,"timestamp":1674149024780,"duration":38985,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"postcss-loader","id":7417,"timestamp":1674149024766,"duration":39368,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"css-loader","id":7419,"timestamp":1674149064168,"duration":12982,"tags":{"astUsed":"true"},"startTime":1664597192943},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"build-module-css","id":7415,"timestamp":1674149024527,"duration":54231,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7413,"timestamp":1674149019696,"duration":59521,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7412,"timestamp":1674149019693,"duration":59538,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7421,"name":"next-swc-transform","id":7422,"timestamp":1674149079938,"duration":2137,"tags":{},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7420,"name":"next-swc-loader","id":7421,"timestamp":1674149079827,"duration":2257,"tags":{},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"build-module-tsx","id":7420,"timestamp":1674149079675,"duration":2622,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7414,"timestamp":1674149019698,"duration":64420,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7410,"timestamp":1674149019689,"duration":64865,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7411,"timestamp":1674149019691,"duration":102474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7405,"name":"make","id":7407,"timestamp":1674149017057,"duration":105137,"tags":{},"startTime":1664597192896},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-chunk-graph","id":7424,"timestamp":1674149127182,"duration":17413,"tags":{},"startTime":1664597193006},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-modules","id":7426,"timestamp":1674149144624,"duration":14,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-chunks","id":7427,"timestamp":1674149144674,"duration":102,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-tree","id":7428,"timestamp":1674149144815,"duration":12,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize","id":7425,"timestamp":1674149144616,"duration":1678,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-hash","id":7429,"timestamp":1674149157814,"duration":3636,"tags":{},"startTime":1664597193037},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"NextJsBuildManifest-generateClientManifest","id":7431,"timestamp":1674149170295,"duration":59,"tags":{},"startTime":1664597193049},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"NextJsBuildManifest-createassets","id":7430,"timestamp":1674149170234,"duration":127,"tags":{},"startTime":1664597193049},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-seal","id":7423,"timestamp":1674149123893,"duration":47995,"tags":{},"startTime":1664597193003},{"traceId":"43f2de6d909a73f7","parentId":7405,"name":"webpack-compilation","id":7406,"timestamp":1674149016829,"duration":155087,"tags":{"name":"client"},"startTime":1664597192896},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7405,"timestamp":1674149003819,"duration":169667,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597192883}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7438,"timestamp":1674149184841,"duration":0,"tags":{"errorCount":1},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7439,"timestamp":1674149184972,"duration":0,"tags":{"errorCount":1},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7437,"timestamp":1674149184559,"duration":3909,"tags":{"request":"private-next-pages/_error"},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7436,"timestamp":1674149184556,"duration":3920,"tags":{"request":"private-next-pages/_document"},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7441,"name":"next-swc-transform","id":7442,"timestamp":1674149188300,"duration":362,"tags":{},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7440,"name":"next-swc-loader","id":7441,"timestamp":1674149188262,"duration":407,"tags":{},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"build-module-tsx","id":7440,"timestamp":1674149188125,"duration":632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7435,"timestamp":1674149184507,"duration":4409,"tags":{"request":"private-next-pages/_app"},"startTime":1664597193063},{"traceId":"43f2de6d909a73f7","parentId":7432,"name":"make","id":7434,"timestamp":1674149174424,"duration":14507,"tags":{},"startTime":1664597193053},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-chunk-graph","id":7444,"timestamp":1674149189335,"duration":169,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-modules","id":7446,"timestamp":1674149189513,"duration":1,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-chunks","id":7447,"timestamp":1674149189520,"duration":15,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-tree","id":7448,"timestamp":1674149189546,"duration":2,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize","id":7445,"timestamp":1674149189509,"duration":90,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-hash","id":7449,"timestamp":1674149190462,"duration":412,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-seal","id":7443,"timestamp":1674149189245,"duration":2205,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7432,"name":"webpack-compilation","id":7433,"timestamp":1674149174287,"duration":17179,"tags":{"name":"server"},"startTime":1664597193053},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7432,"timestamp":1674149173645,"duration":18571,"tags":{"trigger":"manual"},"startTime":1664597193053}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7450,"timestamp":1674149195934,"duration":0,"tags":{"errorCount":1},"startTime":1664597193075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7451,"timestamp":1674149262500,"duration":0,"tags":{"errorCount":1},"startTime":1664597193141},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7454,"timestamp":1674151892512,"duration":0,"tags":{"errorCount":1},"startTime":1664597195771},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7455,"timestamp":1674151894480,"duration":0,"tags":{"errorCount":1},"startTime":1664597195773},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7460,"timestamp":1674151899449,"duration":7007,"tags":{"request":"private-next-pages/_error"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7459,"timestamp":1674151899446,"duration":7022,"tags":{"request":"private-next-pages/_document"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7462,"name":"next-swc-transform","id":7463,"timestamp":1674151906130,"duration":675,"tags":{},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7461,"name":"next-swc-loader","id":7462,"timestamp":1674151906075,"duration":733,"tags":{},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"build-module-ts","id":7461,"timestamp":1674151905913,"duration":1619,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7458,"timestamp":1674151899410,"duration":10492,"tags":{"request":"private-next-pages/_app"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"make","id":7457,"timestamp":1674151899309,"duration":10634,"tags":{},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-chunk-graph","id":7465,"timestamp":1674151910376,"duration":454,"tags":{},"startTime":1664597195789},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-modules","id":7467,"timestamp":1674151910849,"duration":2,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-chunks","id":7468,"timestamp":1674151910860,"duration":30,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-tree","id":7469,"timestamp":1674151910901,"duration":8,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize","id":7466,"timestamp":1674151910844,"duration":120,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-hash","id":7470,"timestamp":1674151912103,"duration":554,"tags":{},"startTime":1664597195791},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-seal","id":7464,"timestamp":1674151910291,"duration":4643,"tags":{},"startTime":1664597195789},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"webpack-compilation","id":7456,"timestamp":1674151899113,"duration":15849,"tags":{"name":"server"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"emit","id":7471,"timestamp":1674151914976,"duration":2412,"tags":{},"startTime":1664597195794},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7452,"timestamp":1674151891530,"duration":26109,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195771},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7474,"timestamp":1674151923370,"duration":7265,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7475,"timestamp":1674151923403,"duration":8042,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"read-resource","id":7482,"timestamp":1674151931778,"duration":96,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7484,"name":"postcss-process","id":7485,"timestamp":1674151931897,"duration":30993,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"postcss-loader","id":7484,"timestamp":1674151931886,"duration":31157,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"css-loader","id":7488,"timestamp":1674151963060,"duration":11232,"tags":{"astUsed":"true"},"startTime":1664597195842},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"build-module-css","id":7481,"timestamp":1674151931584,"duration":43759,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7486,"name":"next-swc-transform","id":7487,"timestamp":1674151932167,"duration":43295,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7483,"name":"next-swc-loader","id":7486,"timestamp":1674151932138,"duration":43326,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"build-module-ts","id":7483,"timestamp":1674151931797,"duration":44768,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7479,"timestamp":1674151923412,"duration":53459,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7478,"timestamp":1674151923410,"duration":53473,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7480,"timestamp":1674151923414,"duration":56880,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7476,"timestamp":1674151923406,"duration":57292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7477,"timestamp":1674151923408,"duration":81086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"make","id":7473,"timestamp":1674151921639,"duration":82876,"tags":{},"startTime":1664597195801},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-chunk-graph","id":7490,"timestamp":1674152009048,"duration":5646,"tags":{},"startTime":1664597195888},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-modules","id":7492,"timestamp":1674152014714,"duration":2,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-chunks","id":7493,"timestamp":1674152014724,"duration":29,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-tree","id":7494,"timestamp":1674152014771,"duration":3,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize","id":7491,"timestamp":1674152014707,"duration":911,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-hash","id":7495,"timestamp":1674152022742,"duration":5954,"tags":{},"startTime":1664597195902},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"NextJsBuildManifest-generateClientManifest","id":7497,"timestamp":1674152036239,"duration":46,"tags":{},"startTime":1664597195915},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"NextJsBuildManifest-createassets","id":7496,"timestamp":1674152036200,"duration":91,"tags":{},"startTime":1664597195915},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-seal","id":7489,"timestamp":1674152005510,"duration":32591,"tags":{},"startTime":1664597195884},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"webpack-compilation","id":7472,"timestamp":1674151921469,"duration":116659,"tags":{"name":"client"},"startTime":1664597195800},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"emit","id":7498,"timestamp":1674152038142,"duration":88977,"tags":{},"startTime":1664597195917},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7453,"timestamp":1674151892090,"duration":235789,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195771}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7499,"timestamp":1674152152022,"duration":0,"tags":{},"startTime":1664597196031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7500,"timestamp":1674152152497,"duration":0,"tags":{},"startTime":1664597196031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7501,"timestamp":1664597195772000,"duration":272999,"tags":{"clientId":1664595509559},"startTime":1664597196046},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7502,"timestamp":1664597195772999,"duration":284999,"tags":{"clientId":1664596721221},"startTime":1664597196060},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7507,"timestamp":1674164283204,"duration":6863,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7512,"timestamp":1674164283292,"duration":9958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"read-resource","id":7515,"timestamp":1674164292882,"duration":1295,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7519,"name":"postcss-process","id":7520,"timestamp":1674164294235,"duration":43259,"tags":{},"startTime":1664597208173},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"postcss-loader","id":7519,"timestamp":1674164294213,"duration":43736,"tags":{},"startTime":1664597208173},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"css-loader","id":7521,"timestamp":1674164337971,"duration":13332,"tags":{"astUsed":"true"},"startTime":1664597208217},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"build-module-css","id":7514,"timestamp":1674164292671,"duration":69392,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7508,"timestamp":1674164283280,"duration":79555,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7517,"name":"next-swc-transform","id":7518,"timestamp":1674164293071,"duration":70014,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7516,"name":"next-swc-loader","id":7517,"timestamp":1674164292991,"duration":70095,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"build-module-tsx","id":7516,"timestamp":1674164292916,"duration":74280,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7511,"timestamp":1674164283289,"duration":84106,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7513,"timestamp":1674164283293,"duration":89446,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7509,"timestamp":1674164283285,"duration":91429,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7510,"timestamp":1674164283287,"duration":124207,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"make","id":7506,"timestamp":1674164282357,"duration":125158,"tags":{},"startTime":1664597208161},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-chunk-graph","id":7523,"timestamp":1674164411793,"duration":16350,"tags":{},"startTime":1664597208291},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-modules","id":7525,"timestamp":1674164428196,"duration":11,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-chunks","id":7526,"timestamp":1674164428241,"duration":83,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-tree","id":7527,"timestamp":1674164428363,"duration":12,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize","id":7524,"timestamp":1674164428170,"duration":1747,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-hash","id":7528,"timestamp":1674164440984,"duration":4999,"tags":{},"startTime":1664597208320},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"NextJsBuildManifest-generateClientManifest","id":7530,"timestamp":1674164455962,"duration":53,"tags":{},"startTime":1664597208335},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"NextJsBuildManifest-createassets","id":7529,"timestamp":1674164455912,"duration":110,"tags":{},"startTime":1664597208335},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-seal","id":7522,"timestamp":1674164408716,"duration":48907,"tags":{},"startTime":1664597208288},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"webpack-compilation","id":7505,"timestamp":1674164282146,"duration":175498,"tags":{"name":"client"},"startTime":1664597208161},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"emit","id":7531,"timestamp":1674164457660,"duration":96465,"tags":{},"startTime":1664597208337},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7503,"timestamp":1674164268475,"duration":286469,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208147},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7538,"timestamp":1674165414030,"duration":0,"tags":{},"startTime":1664597209293},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7539,"timestamp":1674165414200,"duration":0,"tags":{},"startTime":1664597209293},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7537,"timestamp":1674165413227,"duration":8514,"tags":{"request":"private-next-pages/_error"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7536,"timestamp":1674165413223,"duration":8528,"tags":{"request":"private-next-pages/_document"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7541,"name":"next-swc-transform","id":7542,"timestamp":1674165421070,"duration":1179,"tags":{},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7540,"name":"next-swc-loader","id":7541,"timestamp":1674165421008,"duration":1242,"tags":{},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"build-module-tsx","id":7540,"timestamp":1674165420903,"duration":4724,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7535,"timestamp":1674165413165,"duration":17901,"tags":{"request":"private-next-pages/_app"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"make","id":7533,"timestamp":1674164556334,"duration":874751,"tags":{},"startTime":1664597208435},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-chunk-graph","id":7544,"timestamp":1674165431444,"duration":189,"tags":{},"startTime":1664597209310},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-modules","id":7546,"timestamp":1674165431640,"duration":1,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-chunks","id":7547,"timestamp":1674165431675,"duration":34,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-tree","id":7548,"timestamp":1674165431730,"duration":14,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize","id":7545,"timestamp":1674165431637,"duration":209,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-hash","id":7549,"timestamp":1674165433298,"duration":824,"tags":{},"startTime":1664597209312},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-seal","id":7543,"timestamp":1674165431386,"duration":4013,"tags":{},"startTime":1664597209310},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"webpack-compilation","id":7532,"timestamp":1674164555866,"duration":879552,"tags":{"name":"server"},"startTime":1664597208435},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7551,"timestamp":1664597209292000,"duration":18000,"tags":{"clientId":1664595509559},"startTime":1664597209317},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"emit","id":7550,"timestamp":1674165435431,"duration":4656,"tags":{},"startTime":1664597209314},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7504,"timestamp":1674164268733,"duration":1171718,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208148},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7554,"timestamp":1674165444930,"duration":3374,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7555,"timestamp":1674165444956,"duration":3958,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"read-resource","id":7562,"timestamp":1674165449165,"duration":34,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7563,"name":"postcss-process","id":7564,"timestamp":1674165449224,"duration":32283,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"postcss-loader","id":7563,"timestamp":1674165449216,"duration":32458,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"css-loader","id":7565,"timestamp":1674165481713,"duration":8604,"tags":{"astUsed":"true"},"startTime":1664597209361},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"build-module-css","id":7561,"timestamp":1674165448995,"duration":42579,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7566,"timestamp":1664597209292999,"duration":39000,"tags":{"clientId":1664596721221},"startTime":1664597209371},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7559,"timestamp":1674165444965,"duration":49202,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7558,"timestamp":1674165444963,"duration":49220,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7560,"timestamp":1674165444970,"duration":52365,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7556,"timestamp":1674165444959,"duration":52460,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7557,"timestamp":1674165444961,"duration":80585,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"make","id":7553,"timestamp":1674165443487,"duration":82082,"tags":{},"startTime":1664597209322},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-chunk-graph","id":7568,"timestamp":1674165529960,"duration":15963,"tags":{},"startTime":1664597209409},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-modules","id":7570,"timestamp":1674165545955,"duration":2,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-chunks","id":7571,"timestamp":1674165545967,"duration":37,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-tree","id":7572,"timestamp":1674165546026,"duration":3,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize","id":7569,"timestamp":1674165545945,"duration":1579,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-hash","id":7573,"timestamp":1674165558730,"duration":5620,"tags":{},"startTime":1664597209438},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"NextJsBuildManifest-generateClientManifest","id":7575,"timestamp":1674165565078,"duration":49,"tags":{},"startTime":1664597209444},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"NextJsBuildManifest-createassets","id":7574,"timestamp":1674165565022,"duration":109,"tags":{},"startTime":1664597209444},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-seal","id":7567,"timestamp":1674165526793,"duration":39167,"tags":{},"startTime":1664597209406},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"webpack-compilation","id":7552,"timestamp":1674165443324,"duration":122657,"tags":{"name":"client"},"startTime":1664597209322},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"emit","id":7576,"timestamp":1674165565992,"duration":2728,"tags":{},"startTime":1664597209445},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7534,"timestamp":1674165412862,"duration":156630,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597209292}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7577,"timestamp":1674165580572,"duration":0,"tags":{},"startTime":1664597209460},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7578,"timestamp":1674165580615,"duration":0,"tags":{},"startTime":1664597209460},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7585,"timestamp":1674191908319,"duration":6184,"tags":{"request":"private-next-pages/_error"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7584,"timestamp":1674191908316,"duration":6198,"tags":{"request":"private-next-pages/_document"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7587,"name":"next-swc-transform","id":7588,"timestamp":1674191914211,"duration":1296,"tags":{},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7586,"name":"next-swc-loader","id":7587,"timestamp":1674191914162,"duration":1349,"tags":{},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"build-module-tsx","id":7586,"timestamp":1674191914029,"duration":3612,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7583,"timestamp":1674191908276,"duration":12006,"tags":{"request":"private-next-pages/_app"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"make","id":7582,"timestamp":1674191908094,"duration":12207,"tags":{},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-chunk-graph","id":7590,"timestamp":1674191920584,"duration":160,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-modules","id":7592,"timestamp":1674191920757,"duration":2,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-chunks","id":7593,"timestamp":1674191920766,"duration":17,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-tree","id":7594,"timestamp":1674191920791,"duration":2,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize","id":7591,"timestamp":1674191920751,"duration":91,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-hash","id":7595,"timestamp":1674191921843,"duration":515,"tags":{},"startTime":1664597235802},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-seal","id":7589,"timestamp":1674191920520,"duration":3086,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"webpack-compilation","id":7581,"timestamp":1674191907895,"duration":15748,"tags":{"name":"server"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"emit","id":7596,"timestamp":1674191923660,"duration":2603,"tags":{},"startTime":1664597235804},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7579,"timestamp":1674191901528,"duration":25055,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235782},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7599,"timestamp":1674191933421,"duration":9651,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7600,"timestamp":1674191933467,"duration":10336,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"read-resource","id":7607,"timestamp":1674191943987,"duration":88,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7609,"name":"postcss-process","id":7610,"timestamp":1674191944095,"duration":38531,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"postcss-loader","id":7609,"timestamp":1674191944086,"duration":38690,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"css-loader","id":7613,"timestamp":1674191982794,"duration":9510,"tags":{"astUsed":"true"},"startTime":1664597235863},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"build-module-css","id":7606,"timestamp":1674191943887,"duration":49356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7611,"name":"next-swc-transform","id":7612,"timestamp":1674191944322,"duration":49064,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7608,"name":"next-swc-loader","id":7611,"timestamp":1674191944285,"duration":49103,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"build-module-tsx","id":7608,"timestamp":1674191944011,"duration":51650,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7604,"timestamp":1674191933484,"duration":62432,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7603,"timestamp":1674191933481,"duration":62447,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7605,"timestamp":1674191933485,"duration":66838,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7601,"timestamp":1674191933477,"duration":72980,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7602,"timestamp":1674191933479,"duration":89834,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"make","id":7598,"timestamp":1674191930343,"duration":92991,"tags":{},"startTime":1664597235810},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-chunk-graph","id":7615,"timestamp":1674192027382,"duration":3640,"tags":{},"startTime":1664597235908},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-modules","id":7617,"timestamp":1674192031037,"duration":2,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-chunks","id":7618,"timestamp":1674192031051,"duration":32,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-tree","id":7619,"timestamp":1674192031102,"duration":7,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize","id":7616,"timestamp":1674192031032,"duration":985,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-hash","id":7620,"timestamp":1674192040762,"duration":5136,"tags":{},"startTime":1664597235921},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"NextJsBuildManifest-generateClientManifest","id":7622,"timestamp":1674192053419,"duration":65,"tags":{},"startTime":1664597235934},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"NextJsBuildManifest-createassets","id":7621,"timestamp":1674192053376,"duration":115,"tags":{},"startTime":1664597235934},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-seal","id":7614,"timestamp":1674192024428,"duration":30860,"tags":{},"startTime":1664597235905},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"webpack-compilation","id":7597,"timestamp":1674191930163,"duration":125150,"tags":{"name":"client"},"startTime":1664597235810},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"emit","id":7623,"timestamp":1674192055329,"duration":101160,"tags":{},"startTime":1664597235935},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7580,"timestamp":1674191901677,"duration":256321,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235782}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7625,"timestamp":1674192171350,"duration":0,"tags":{},"startTime":1664597236052},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7626,"timestamp":1674192171601,"duration":0,"tags":{},"startTime":1664597236052},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7629,"timestamp":1674192183985,"duration":5393,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7636,"timestamp":1664597236051000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664597236070},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7630,"timestamp":1674192184033,"duration":6170,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"read-resource","id":7638,"timestamp":1674192190460,"duration":38,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7639,"name":"postcss-process","id":7640,"timestamp":1674192190533,"duration":57345,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"postcss-loader","id":7639,"timestamp":1674192190518,"duration":57794,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"css-loader","id":7641,"timestamp":1674192248347,"duration":11917,"tags":{"astUsed":"true"},"startTime":1664597236129},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"build-module-css","id":7637,"timestamp":1674192190306,"duration":72225,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597236070},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7634,"timestamp":1674192184042,"duration":79356,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7633,"timestamp":1674192184039,"duration":79371,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7635,"timestamp":1674192184043,"duration":82455,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7631,"timestamp":1674192184036,"duration":82523,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7642,"timestamp":1664597236052999,"duration":105000,"tags":{"clientId":1664596721221},"startTime":1664597236166},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7632,"timestamp":1674192184038,"duration":114362,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"make","id":7628,"timestamp":1674192181682,"duration":116752,"tags":{},"startTime":1664597236062},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-chunk-graph","id":7644,"timestamp":1674192303261,"duration":17817,"tags":{},"startTime":1664597236183},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-modules","id":7646,"timestamp":1674192321104,"duration":3,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-chunks","id":7647,"timestamp":1674192321116,"duration":110,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-tree","id":7648,"timestamp":1674192321248,"duration":3,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize","id":7645,"timestamp":1674192321096,"duration":1527,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-hash","id":7649,"timestamp":1674192332722,"duration":3537,"tags":{},"startTime":1664597236213},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"NextJsBuildManifest-generateClientManifest","id":7651,"timestamp":1674192336827,"duration":50,"tags":{},"startTime":1664597236217},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"NextJsBuildManifest-createassets","id":7650,"timestamp":1674192336773,"duration":107,"tags":{},"startTime":1664597236217},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-seal","id":7643,"timestamp":1674192300086,"duration":37609,"tags":{},"startTime":1664597236180},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"webpack-compilation","id":7627,"timestamp":1674192181468,"duration":156247,"tags":{"name":"client"},"startTime":1664597236062},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"emit","id":7652,"timestamp":1674192337733,"duration":2041,"tags":{},"startTime":1664597236218},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7624,"timestamp":1674192170579,"duration":169798,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597236051}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7653,"timestamp":1674192352865,"duration":0,"tags":{},"startTime":1664597236233},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7654,"timestamp":1674192352934,"duration":0,"tags":{},"startTime":1664597236233},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7659,"timestamp":1674195770940,"duration":3114,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7660,"timestamp":1674195770981,"duration":3728,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"read-resource","id":7667,"timestamp":1674195774973,"duration":94,"tags":{},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7669,"name":"postcss-process","id":7670,"timestamp":1674195775089,"duration":32768,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"postcss-loader","id":7669,"timestamp":1674195775080,"duration":33012,"tags":{},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"css-loader","id":7673,"timestamp":1674195808111,"duration":10578,"tags":{"astUsed":"true"},"startTime":1664597239689},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"build-module-css","id":7666,"timestamp":1674195774847,"duration":44738,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7671,"name":"next-swc-transform","id":7672,"timestamp":1674195775374,"duration":44399,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7668,"name":"next-swc-loader","id":7671,"timestamp":1674195775300,"duration":44475,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"build-module-tsx","id":7668,"timestamp":1674195774997,"duration":46910,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7664,"timestamp":1674195770990,"duration":51214,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7663,"timestamp":1674195770987,"duration":51252,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7665,"timestamp":1674195770991,"duration":54334,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7661,"timestamp":1674195770984,"duration":59606,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7662,"timestamp":1674195770986,"duration":78016,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"make","id":7658,"timestamp":1674195770008,"duration":79016,"tags":{},"startTime":1664597239650},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-chunk-graph","id":7675,"timestamp":1674195853040,"duration":3466,"tags":{},"startTime":1664597239733},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-modules","id":7677,"timestamp":1674195856521,"duration":2,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-chunks","id":7678,"timestamp":1674195856532,"duration":32,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-tree","id":7679,"timestamp":1674195856581,"duration":3,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize","id":7676,"timestamp":1674195856516,"duration":925,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-hash","id":7680,"timestamp":1674195866817,"duration":3126,"tags":{},"startTime":1664597239747},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"NextJsBuildManifest-generateClientManifest","id":7682,"timestamp":1674195879075,"duration":44,"tags":{},"startTime":1664597239759},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"NextJsBuildManifest-createassets","id":7681,"timestamp":1674195879032,"duration":96,"tags":{},"startTime":1664597239759},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-seal","id":7674,"timestamp":1674195850056,"duration":30715,"tags":{},"startTime":1664597239730},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"webpack-compilation","id":7657,"timestamp":1674195769842,"duration":110952,"tags":{"name":"client"},"startTime":1664597239650},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"emit","id":7683,"timestamp":1674195880806,"duration":83204,"tags":{},"startTime":1664597239761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7655,"timestamp":1674195759771,"duration":204679,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239640},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7690,"timestamp":1674195974314,"duration":0,"tags":{},"startTime":1664597239855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7691,"timestamp":1674195974567,"duration":0,"tags":{},"startTime":1664597239855},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7689,"timestamp":1674195973869,"duration":3833,"tags":{"request":"private-next-pages/_error"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7688,"timestamp":1674195973866,"duration":3843,"tags":{"request":"private-next-pages/_document"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7693,"name":"next-swc-transform","id":7694,"timestamp":1674195977414,"duration":1328,"tags":{},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7692,"name":"next-swc-loader","id":7693,"timestamp":1674195977378,"duration":1371,"tags":{},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"build-module-tsx","id":7692,"timestamp":1674195977302,"duration":2822,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7687,"timestamp":1674195973828,"duration":13003,"tags":{"request":"private-next-pages/_app"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"make","id":7685,"timestamp":1674195965429,"duration":21419,"tags":{},"startTime":1664597239846},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-chunk-graph","id":7696,"timestamp":1674195987064,"duration":130,"tags":{},"startTime":1664597239867},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-modules","id":7698,"timestamp":1674195987200,"duration":1,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-chunks","id":7699,"timestamp":1674195987208,"duration":13,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-tree","id":7700,"timestamp":1674195987228,"duration":2,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize","id":7697,"timestamp":1674195987198,"duration":77,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-hash","id":7701,"timestamp":1674195988102,"duration":375,"tags":{},"startTime":1664597239869},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-seal","id":7695,"timestamp":1674195987012,"duration":2451,"tags":{},"startTime":1664597239867},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"webpack-compilation","id":7684,"timestamp":1674195965283,"duration":24195,"tags":{"name":"server"},"startTime":1664597239846},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"emit","id":7702,"timestamp":1674195989487,"duration":2315,"tags":{},"startTime":1664597239870},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7656,"timestamp":1674195759956,"duration":232062,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239640},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7712,"timestamp":1664597239854000,"duration":24999,"tags":{"clientId":1664595509559},"startTime":1664597239880},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7705,"timestamp":1674195996562,"duration":3241,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7706,"timestamp":1674195996587,"duration":3758,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"read-resource","id":7714,"timestamp":1674196000502,"duration":30,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7715,"name":"postcss-process","id":7716,"timestamp":1674196000551,"duration":31001,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"postcss-loader","id":7715,"timestamp":1674196000543,"duration":31197,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"css-loader","id":7717,"timestamp":1674196031766,"duration":11118,"tags":{"astUsed":"true"},"startTime":1664597239912},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"build-module-css","id":7713,"timestamp":1674196000421,"duration":43377,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7718,"timestamp":1664597239855000,"duration":26999,"tags":{"clientId":1664596721221},"startTime":1664597239924},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7710,"timestamp":1674195996594,"duration":47628,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7709,"timestamp":1674195996592,"duration":47642,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7711,"timestamp":1674195996596,"duration":50296,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7707,"timestamp":1674195996589,"duration":50364,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7708,"timestamp":1674195996591,"duration":78178,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"make","id":7704,"timestamp":1674195995256,"duration":79532,"tags":{},"startTime":1664597239876},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-chunk-graph","id":7720,"timestamp":1674196078969,"duration":3659,"tags":{},"startTime":1664597239959},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-modules","id":7722,"timestamp":1674196082649,"duration":2,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-chunks","id":7723,"timestamp":1674196082660,"duration":34,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-tree","id":7724,"timestamp":1674196082725,"duration":3,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize","id":7721,"timestamp":1674196082643,"duration":1106,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-hash","id":7725,"timestamp":1674196092718,"duration":3129,"tags":{},"startTime":1664597239973},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"NextJsBuildManifest-generateClientManifest","id":7727,"timestamp":1674196096350,"duration":45,"tags":{},"startTime":1664597239977},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"NextJsBuildManifest-createassets","id":7726,"timestamp":1674196096314,"duration":83,"tags":{},"startTime":1664597239977},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-seal","id":7719,"timestamp":1674196075735,"duration":21508,"tags":{},"startTime":1664597239956},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"webpack-compilation","id":7703,"timestamp":1674195995042,"duration":102220,"tags":{"name":"client"},"startTime":1664597239875},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"emit","id":7728,"timestamp":1674196097273,"duration":3117,"tags":{},"startTime":1664597239978},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7686,"timestamp":1674195973608,"duration":127789,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597239854}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7729,"timestamp":1674196127268,"duration":0,"tags":{},"startTime":1664597240008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7730,"timestamp":1674196127314,"duration":0,"tags":{},"startTime":1664597240008},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7735,"timestamp":1674210942911,"duration":9007,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7736,"timestamp":1674210943010,"duration":10873,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"read-resource","id":7743,"timestamp":1674210954350,"duration":128,"tags":{},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7745,"name":"postcss-process","id":7746,"timestamp":1674210954514,"duration":42684,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"postcss-loader","id":7745,"timestamp":1674210954498,"duration":43081,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"css-loader","id":7749,"timestamp":1674210997597,"duration":11747,"tags":{"astUsed":"true"},"startTime":1664597254879},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"build-module-css","id":7742,"timestamp":1674210954089,"duration":66130,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7747,"name":"next-swc-transform","id":7748,"timestamp":1674210955158,"duration":65292,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7744,"name":"next-swc-loader","id":7747,"timestamp":1674210955056,"duration":65396,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"build-module-tsx","id":7744,"timestamp":1674210954383,"duration":71441,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7740,"timestamp":1674210943023,"duration":83103,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7739,"timestamp":1674210943020,"duration":83125,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7741,"timestamp":1674210943027,"duration":86496,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7737,"timestamp":1674210943016,"duration":94776,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7738,"timestamp":1674210943018,"duration":114811,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"make","id":7734,"timestamp":1674210941872,"duration":115978,"tags":{},"startTime":1664597254823},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-chunk-graph","id":7751,"timestamp":1674211061943,"duration":17359,"tags":{},"startTime":1664597254943},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-modules","id":7753,"timestamp":1674211079355,"duration":11,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-chunks","id":7754,"timestamp":1674211079401,"duration":143,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-tree","id":7755,"timestamp":1674211079587,"duration":14,"tags":{},"startTime":1664597254961},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize","id":7752,"timestamp":1674211079331,"duration":1980,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-hash","id":7756,"timestamp":1674211094112,"duration":7237,"tags":{},"startTime":1664597254975},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"NextJsBuildManifest-generateClientManifest","id":7758,"timestamp":1674211112687,"duration":62,"tags":{},"startTime":1664597254994},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"NextJsBuildManifest-createassets","id":7757,"timestamp":1674211112617,"duration":141,"tags":{},"startTime":1664597254994},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-seal","id":7750,"timestamp":1674211058946,"duration":56386,"tags":{},"startTime":1664597254940},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"webpack-compilation","id":7733,"timestamp":1674210941057,"duration":174337,"tags":{"name":"client"},"startTime":1664597254822},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"emit","id":7759,"timestamp":1674211115435,"duration":102171,"tags":{},"startTime":1664597254996},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7731,"timestamp":1674210928390,"duration":291376,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254809},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7766,"timestamp":1674211241911,"duration":0,"tags":{},"startTime":1664597255123},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7767,"timestamp":1674211242022,"duration":0,"tags":{},"startTime":1664597255123},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7765,"timestamp":1674211240743,"duration":9846,"tags":{"request":"private-next-pages/_error"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7764,"timestamp":1674211240740,"duration":9862,"tags":{"request":"private-next-pages/_document"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7769,"name":"next-swc-transform","id":7770,"timestamp":1674211249929,"duration":1439,"tags":{},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7768,"name":"next-swc-loader","id":7769,"timestamp":1674211249869,"duration":1502,"tags":{},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"build-module-tsx","id":7768,"timestamp":1674211249761,"duration":8209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7763,"timestamp":1674211240670,"duration":21061,"tags":{"request":"private-next-pages/_app"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"make","id":7761,"timestamp":1674211221881,"duration":39876,"tags":{},"startTime":1664597255103},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-chunk-graph","id":7772,"timestamp":1674211262188,"duration":277,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-modules","id":7774,"timestamp":1674211262474,"duration":2,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-chunks","id":7775,"timestamp":1674211262515,"duration":42,"tags":{},"startTime":1664597255144},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-tree","id":7776,"timestamp":1674211262589,"duration":16,"tags":{},"startTime":1664597255144},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize","id":7773,"timestamp":1674211262471,"duration":240,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-hash","id":7777,"timestamp":1674211264340,"duration":973,"tags":{},"startTime":1664597255145},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-seal","id":7771,"timestamp":1674211262116,"duration":4794,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"webpack-compilation","id":7760,"timestamp":1674211221601,"duration":45333,"tags":{"name":"server"},"startTime":1664597255103},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"emit","id":7778,"timestamp":1674211266950,"duration":7171,"tags":{},"startTime":1664597255148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7732,"timestamp":1674210928654,"duration":346009,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254810},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7781,"timestamp":1664597255121999,"duration":33000,"tags":{"clientId":1664595509559},"startTime":1664597255160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7782,"timestamp":1664597255121999,"duration":34000,"tags":{"clientId":1664596721221},"startTime":1664597255160},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7783,"timestamp":1674211279795,"duration":3660,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7784,"timestamp":1674211279861,"duration":4402,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"read-resource","id":7791,"timestamp":1674211284548,"duration":41,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7792,"name":"postcss-process","id":7793,"timestamp":1674211284618,"duration":35030,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"postcss-loader","id":7792,"timestamp":1674211284607,"duration":35301,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"css-loader","id":7794,"timestamp":1674211319932,"duration":9808,"tags":{"astUsed":"true"},"startTime":1664597255201},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"build-module-css","id":7790,"timestamp":1674211284372,"duration":51277,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597255165},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7788,"timestamp":1674211279872,"duration":58855,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7787,"timestamp":1674211279869,"duration":58879,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7789,"timestamp":1674211279874,"duration":62433,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7785,"timestamp":1674211279865,"duration":62522,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7786,"timestamp":1674211279867,"duration":92482,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"make","id":7780,"timestamp":1674211278246,"duration":94124,"tags":{},"startTime":1664597255159},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-chunk-graph","id":7796,"timestamp":1674211376306,"duration":16898,"tags":{},"startTime":1664597255257},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-modules","id":7798,"timestamp":1674211393229,"duration":2,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-chunks","id":7799,"timestamp":1674211393239,"duration":101,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-tree","id":7800,"timestamp":1674211393363,"duration":4,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize","id":7797,"timestamp":1674211393222,"duration":1740,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-hash","id":7801,"timestamp":1674211406524,"duration":5973,"tags":{},"startTime":1664597255288},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"NextJsBuildManifest-generateClientManifest","id":7803,"timestamp":1674211413285,"duration":53,"tags":{},"startTime":1664597255294},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"NextJsBuildManifest-createassets","id":7802,"timestamp":1674211413237,"duration":104,"tags":{},"startTime":1664597255294},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-seal","id":7795,"timestamp":1674211373431,"duration":40790,"tags":{},"startTime":1664597255254},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"webpack-compilation","id":7779,"timestamp":1674211278050,"duration":136190,"tags":{"name":"client"},"startTime":1664597255159},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"emit","id":7804,"timestamp":1674211414253,"duration":1991,"tags":{},"startTime":1664597255295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7762,"timestamp":1674211240372,"duration":176521,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597255121}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7805,"timestamp":1674211428596,"duration":0,"tags":{},"startTime":1664597255310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7806,"timestamp":1674211428645,"duration":0,"tags":{},"startTime":1664597255310},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7811,"timestamp":1674224559082,"duration":4926,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7816,"timestamp":1674224559185,"duration":5775,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"read-resource","id":7819,"timestamp":1674224564813,"duration":1260,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7823,"name":"postcss-process","id":7824,"timestamp":1674224566099,"duration":32998,"tags":{},"startTime":1664597268447},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"postcss-loader","id":7823,"timestamp":1674224566089,"duration":33167,"tags":{},"startTime":1664597268447},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"css-loader","id":7825,"timestamp":1674224599273,"duration":11250,"tags":{"astUsed":"true"},"startTime":1664597268480},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"build-module-css","id":7818,"timestamp":1674224564723,"duration":46785,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7812,"timestamp":1674224559167,"duration":52614,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7821,"name":"next-swc-transform","id":7822,"timestamp":1674224565191,"duration":46819,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7820,"name":"next-swc-loader","id":7821,"timestamp":1674224565147,"duration":46865,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"build-module-tsx","id":7820,"timestamp":1674224565087,"duration":49546,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7815,"timestamp":1674224559183,"duration":55726,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7817,"timestamp":1674224559187,"duration":59196,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7813,"timestamp":1674224559178,"duration":60778,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7814,"timestamp":1674224559180,"duration":145388,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"make","id":7810,"timestamp":1674224558246,"duration":146345,"tags":{},"startTime":1664597268439},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-chunk-graph","id":7827,"timestamp":1674224709400,"duration":4093,"tags":{},"startTime":1664597268591},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-modules","id":7829,"timestamp":1674224713518,"duration":2,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-chunks","id":7830,"timestamp":1674224713529,"duration":32,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-tree","id":7831,"timestamp":1674224713581,"duration":3,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize","id":7828,"timestamp":1674224713511,"duration":998,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-hash","id":7832,"timestamp":1674224724740,"duration":4148,"tags":{},"startTime":1664597268606},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"NextJsBuildManifest-generateClientManifest","id":7834,"timestamp":1674224740827,"duration":112,"tags":{},"startTime":1664597268622},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"NextJsBuildManifest-createassets","id":7833,"timestamp":1674224740765,"duration":187,"tags":{},"startTime":1664597268622},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-seal","id":7826,"timestamp":1674224705938,"duration":37250,"tags":{},"startTime":1664597268587},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"webpack-compilation","id":7809,"timestamp":1674224558074,"duration":185142,"tags":{"name":"client"},"startTime":1664597268439},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"emit","id":7835,"timestamp":1674224743234,"duration":111015,"tags":{},"startTime":1664597268624},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7807,"timestamp":1674224546184,"duration":308826,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268427},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7841,"timestamp":1674224869034,"duration":0,"tags":{},"startTime":1664597268750},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7842,"timestamp":1674224869095,"duration":0,"tags":{},"startTime":1664597268750},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7840,"timestamp":1674224868238,"duration":4947,"tags":{"request":"private-next-pages/_error"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7839,"timestamp":1674224868234,"duration":4960,"tags":{"request":"private-next-pages/_document"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7844,"name":"next-swc-transform","id":7845,"timestamp":1674224873528,"duration":1485,"tags":{},"startTime":1664597268755},{"traceId":"43f2de6d909a73f7","parentId":7843,"name":"next-swc-loader","id":7844,"timestamp":1674224873377,"duration":1643,"tags":{},"startTime":1664597268755},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"build-module-tsx","id":7843,"timestamp":1674224873229,"duration":10116,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268754},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7838,"timestamp":1674224868155,"duration":20169,"tags":{"request":"private-next-pages/_app"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"make","id":7837,"timestamp":1674224856839,"duration":31506,"tags":{},"startTime":1664597268738},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-chunk-graph","id":7847,"timestamp":1674224888706,"duration":201,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-modules","id":7849,"timestamp":1674224888914,"duration":2,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-chunks","id":7850,"timestamp":1674224888923,"duration":24,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-tree","id":7851,"timestamp":1674224888954,"duration":4,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize","id":7848,"timestamp":1674224888911,"duration":93,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-hash","id":7852,"timestamp":1674224890039,"duration":441,"tags":{},"startTime":1664597268771},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-seal","id":7846,"timestamp":1674224888641,"duration":2867,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"webpack-compilation","id":7836,"timestamp":1674224856428,"duration":35101,"tags":{"name":"server"},"startTime":1664597268738},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"emit","id":7853,"timestamp":1674224891541,"duration":1484,"tags":{},"startTime":1664597268773},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7808,"timestamp":1674224546442,"duration":346915,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268428}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7854,"timestamp":1664597268430000,"duration":350999,"tags":{"clientId":1664596721221},"startTime":1664597268782},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7855,"timestamp":1664597268428000,"duration":432000,"tags":{"clientId":1664595509559},"startTime":1664597268860},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7860,"timestamp":1674231338303,"duration":4325,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7861,"timestamp":1674231338352,"duration":5223,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"read-resource","id":7868,"timestamp":1674231343977,"duration":109,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7870,"name":"postcss-process","id":7871,"timestamp":1674231344126,"duration":38280,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"postcss-loader","id":7870,"timestamp":1674231344113,"duration":38663,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"css-loader","id":7874,"timestamp":1674231382842,"duration":9041,"tags":{"astUsed":"true"},"startTime":1664597275264},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"build-module-css","id":7867,"timestamp":1674231343743,"duration":49343,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7872,"name":"next-swc-transform","id":7873,"timestamp":1674231344535,"duration":48722,"tags":{},"startTime":1664597275226},{"traceId":"43f2de6d909a73f7","parentId":7869,"name":"next-swc-loader","id":7872,"timestamp":1674231344494,"duration":48764,"tags":{},"startTime":1664597275226},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"build-module-tsx","id":7869,"timestamp":1674231344004,"duration":52951,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7865,"timestamp":1674231338363,"duration":61893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7864,"timestamp":1674231338360,"duration":61912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7866,"timestamp":1674231338365,"duration":64883,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7862,"timestamp":1674231338355,"duration":70509,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7863,"timestamp":1674231338358,"duration":90086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"make","id":7859,"timestamp":1674231334657,"duration":93809,"tags":{},"startTime":1664597275216},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-chunk-graph","id":7876,"timestamp":1674231432191,"duration":15557,"tags":{},"startTime":1664597275313},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-modules","id":7878,"timestamp":1674231447769,"duration":2,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-chunks","id":7879,"timestamp":1674231447780,"duration":30,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-tree","id":7880,"timestamp":1674231447828,"duration":3,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize","id":7877,"timestamp":1674231447761,"duration":1317,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-hash","id":7881,"timestamp":1674231459363,"duration":3483,"tags":{},"startTime":1664597275341},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"NextJsBuildManifest-generateClientManifest","id":7883,"timestamp":1674231471571,"duration":51,"tags":{},"startTime":1664597275353},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"NextJsBuildManifest-createassets","id":7882,"timestamp":1674231471515,"duration":117,"tags":{},"startTime":1664597275353},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-seal","id":7875,"timestamp":1674231429485,"duration":43836,"tags":{},"startTime":1664597275311},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"webpack-compilation","id":7858,"timestamp":1674231334350,"duration":138999,"tags":{"name":"client"},"startTime":1664597275216},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"emit","id":7884,"timestamp":1674231473362,"duration":91976,"tags":{},"startTime":1664597275355},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7856,"timestamp":1674231321303,"duration":244726,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275203},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7891,"timestamp":1674231577917,"duration":0,"tags":{},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7892,"timestamp":1674231577964,"duration":0,"tags":{},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7890,"timestamp":1674231577254,"duration":13567,"tags":{"request":"private-next-pages/_error"},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7889,"timestamp":1674231577251,"duration":13585,"tags":{"request":"private-next-pages/_document"},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7896,"timestamp":1664597275459000,"duration":16000,"tags":{"clientId":1664595509559},"startTime":1664597275475},{"traceId":"43f2de6d909a73f7","parentId":7894,"name":"next-swc-transform","id":7895,"timestamp":1674231588952,"duration":6568,"tags":{},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":7893,"name":"next-swc-loader","id":7894,"timestamp":1674231588876,"duration":6648,"tags":{},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"build-module-tsx","id":7893,"timestamp":1674231588774,"duration":10122,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7897,"timestamp":1664597275459000,"duration":20999,"tags":{"clientId":1664596721221},"startTime":1664597275481},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7888,"timestamp":1674231577193,"duration":24898,"tags":{"request":"private-next-pages/_app"},"startTime":1664597275458},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"make","id":7886,"timestamp":1674231567196,"duration":34907,"tags":{},"startTime":1664597275448},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-chunk-graph","id":7899,"timestamp":1674231602357,"duration":196,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-modules","id":7901,"timestamp":1674231602560,"duration":2,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-chunks","id":7902,"timestamp":1674231602569,"duration":30,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-tree","id":7903,"timestamp":1674231602608,"duration":5,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize","id":7900,"timestamp":1674231602557,"duration":105,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-hash","id":7904,"timestamp":1674231603889,"duration":439,"tags":{},"startTime":1664597275485},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-seal","id":7898,"timestamp":1674231602297,"duration":5066,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"webpack-compilation","id":7885,"timestamp":1674231567024,"duration":40364,"tags":{"name":"server"},"startTime":1664597275448},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"emit","id":7905,"timestamp":1674231607406,"duration":3560,"tags":{},"startTime":1664597275489},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7857,"timestamp":1674231321541,"duration":289745,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275203},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7908,"timestamp":1674231616222,"duration":3799,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597275497},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7909,"timestamp":1674231616254,"duration":4397,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"read-resource","id":7916,"timestamp":1674231620984,"duration":47,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7917,"name":"postcss-process","id":7918,"timestamp":1674231621065,"duration":34569,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"postcss-loader","id":7917,"timestamp":1674231621055,"duration":34883,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"css-loader","id":7919,"timestamp":1674231655962,"duration":9222,"tags":{"astUsed":"true"},"startTime":1664597275537},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"build-module-css","id":7915,"timestamp":1674231620843,"duration":45720,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7913,"timestamp":1674231616265,"duration":52466,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7912,"timestamp":1674231616262,"duration":52488,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7914,"timestamp":1674231616267,"duration":55810,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7910,"timestamp":1674231616256,"duration":55903,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7911,"timestamp":1674231616260,"duration":86283,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"make","id":7907,"timestamp":1674231614670,"duration":87895,"tags":{},"startTime":1664597275496},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-chunk-graph","id":7921,"timestamp":1674231706561,"duration":16470,"tags":{},"startTime":1664597275588},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-modules","id":7923,"timestamp":1674231723054,"duration":2,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-chunks","id":7924,"timestamp":1674231723065,"duration":31,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-tree","id":7925,"timestamp":1674231723116,"duration":3,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize","id":7922,"timestamp":1674231723047,"duration":1326,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-hash","id":7926,"timestamp":1674231733865,"duration":3003,"tags":{},"startTime":1664597275615},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"NextJsBuildManifest-generateClientManifest","id":7928,"timestamp":1674231737409,"duration":48,"tags":{},"startTime":1664597275619},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"NextJsBuildManifest-createassets","id":7927,"timestamp":1674231737365,"duration":96,"tags":{},"startTime":1664597275619},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-seal","id":7920,"timestamp":1674231703572,"duration":34751,"tags":{},"startTime":1664597275585},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"webpack-compilation","id":7906,"timestamp":1674231614499,"duration":123844,"tags":{"name":"client"},"startTime":1664597275496},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"emit","id":7929,"timestamp":1674231738356,"duration":2762,"tags":{},"startTime":1664597275620},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7887,"timestamp":1674231576954,"duration":164643,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597275458}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7930,"timestamp":1674231752806,"duration":0,"tags":{},"startTime":1664597275634},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7931,"timestamp":1674231752851,"duration":0,"tags":{},"startTime":1664597275634},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7936,"timestamp":1674246692433,"duration":9826,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7937,"timestamp":1674246692522,"duration":12381,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"read-resource","id":7944,"timestamp":1674246705389,"duration":119,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7946,"name":"postcss-process","id":7947,"timestamp":1674246705541,"duration":42736,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"postcss-loader","id":7946,"timestamp":1674246705528,"duration":43118,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"css-loader","id":7950,"timestamp":1674246748665,"duration":12568,"tags":{"astUsed":"true"},"startTime":1664597290630},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"build-module-css","id":7943,"timestamp":1674246705152,"duration":67107,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597290586},{"traceId":"43f2de6d909a73f7","parentId":7948,"name":"next-swc-transform","id":7949,"timestamp":1674246705892,"duration":66599,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7945,"name":"next-swc-loader","id":7948,"timestamp":1674246705828,"duration":66665,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"build-module-tsx","id":7945,"timestamp":1674246705417,"duration":72206,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7941,"timestamp":1674246692532,"duration":85380,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7940,"timestamp":1674246692530,"duration":85398,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7942,"timestamp":1674246692535,"duration":89668,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7938,"timestamp":1674246692525,"duration":96761,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7939,"timestamp":1674246692527,"duration":117483,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"make","id":7935,"timestamp":1674246691449,"duration":118583,"tags":{},"startTime":1664597290573},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-chunk-graph","id":7952,"timestamp":1674246814362,"duration":16534,"tags":{},"startTime":1664597290696},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-modules","id":7954,"timestamp":1674246830941,"duration":12,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-chunks","id":7955,"timestamp":1674246830984,"duration":47,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-tree","id":7956,"timestamp":1674246831066,"duration":13,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize","id":7953,"timestamp":1674246830919,"duration":1533,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-hash","id":7957,"timestamp":1674246843141,"duration":5223,"tags":{},"startTime":1664597290724},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"NextJsBuildManifest-generateClientManifest","id":7959,"timestamp":1674246861301,"duration":59,"tags":{},"startTime":1664597290743},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"NextJsBuildManifest-createassets","id":7958,"timestamp":1674246861241,"duration":125,"tags":{},"startTime":1664597290743},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-seal","id":7951,"timestamp":1674246811284,"duration":52154,"tags":{},"startTime":1664597290693},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"webpack-compilation","id":7934,"timestamp":1674246690599,"duration":172870,"tags":{"name":"client"},"startTime":1664597290572},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"emit","id":7960,"timestamp":1674246863489,"duration":88610,"tags":{},"startTime":1664597290745},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7932,"timestamp":1674246677909,"duration":275233,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290559},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7967,"timestamp":1674246988072,"duration":0,"tags":{},"startTime":1664597290869},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7968,"timestamp":1674246988143,"duration":0,"tags":{},"startTime":1664597290869},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7966,"timestamp":1674246973200,"duration":21759,"tags":{"request":"private-next-pages/_error"},"startTime":1664597290855},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7965,"timestamp":1674246973197,"duration":21777,"tags":{"request":"private-next-pages/_document"},"startTime":1664597290855},{"traceId":"43f2de6d909a73f7","parentId":7970,"name":"next-swc-transform","id":7971,"timestamp":1674246993753,"duration":3375,"tags":{},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7969,"name":"next-swc-loader","id":7970,"timestamp":1674246993672,"duration":3463,"tags":{},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"build-module-tsx","id":7969,"timestamp":1674246993530,"duration":6954,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7964,"timestamp":1674246973161,"duration":32323,"tags":{"request":"private-next-pages/_app"},"startTime":1664597290854},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"make","id":7962,"timestamp":1674246955188,"duration":50315,"tags":{},"startTime":1664597290836},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-chunk-graph","id":7973,"timestamp":1674247005843,"duration":193,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-modules","id":7975,"timestamp":1674247006042,"duration":2,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-chunks","id":7976,"timestamp":1674247006075,"duration":33,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-tree","id":7977,"timestamp":1674247006128,"duration":14,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize","id":7974,"timestamp":1674247006040,"duration":292,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-hash","id":7978,"timestamp":1674247007847,"duration":872,"tags":{},"startTime":1664597290889},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-seal","id":7972,"timestamp":1674247005781,"duration":4312,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"webpack-compilation","id":7961,"timestamp":1674246954809,"duration":55307,"tags":{"name":"server"},"startTime":1664597290836},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"emit","id":7979,"timestamp":1674247010130,"duration":2675,"tags":{},"startTime":1664597290891},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7933,"timestamp":1674246678186,"duration":335016,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290559},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7982,"timestamp":1664597290854000,"duration":42999,"tags":{"clientId":1664595509559},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7983,"timestamp":1674247019864,"duration":3621,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7990,"timestamp":1664597290855000,"duration":45999,"tags":{"clientId":1664596721221},"startTime":1664597290905},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7984,"timestamp":1674247019896,"duration":4364,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"read-resource","id":7992,"timestamp":1674247024524,"duration":41,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7993,"name":"postcss-process","id":7994,"timestamp":1674247024591,"duration":45749,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"postcss-loader","id":7993,"timestamp":1674247024582,"duration":46196,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"css-loader","id":7995,"timestamp":1674247070802,"duration":12902,"tags":{"astUsed":"true"},"startTime":1664597290952},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"build-module-css","id":7991,"timestamp":1674247024346,"duration":60639,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7988,"timestamp":1674247019908,"duration":65470,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7987,"timestamp":1674247019903,"duration":65489,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7989,"timestamp":1674247019910,"duration":68685,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7985,"timestamp":1674247019899,"duration":68790,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7986,"timestamp":1674247019901,"duration":101084,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"make","id":7981,"timestamp":1674247018106,"duration":102900,"tags":{},"startTime":1664597290899},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-chunk-graph","id":7997,"timestamp":1674247126132,"duration":16636,"tags":{},"startTime":1664597291007},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-modules","id":7999,"timestamp":1674247142794,"duration":2,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-chunks","id":8000,"timestamp":1674247142806,"duration":35,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-tree","id":8001,"timestamp":1674247142868,"duration":3,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize","id":7998,"timestamp":1674247142785,"duration":1911,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-hash","id":8002,"timestamp":1674247156422,"duration":6520,"tags":{},"startTime":1664597291038},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"NextJsBuildManifest-generateClientManifest","id":8004,"timestamp":1674247163565,"duration":57,"tags":{},"startTime":1664597291045},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"NextJsBuildManifest-createassets","id":8003,"timestamp":1674247163513,"duration":111,"tags":{},"startTime":1664597291045},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-seal","id":7996,"timestamp":1674247122160,"duration":42421,"tags":{},"startTime":1664597291003},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"webpack-compilation","id":7980,"timestamp":1674247017947,"duration":146661,"tags":{"name":"client"},"startTime":1664597290899},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"emit","id":8005,"timestamp":1674247164620,"duration":2170,"tags":{},"startTime":1664597291046},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7963,"timestamp":1674246972883,"duration":194663,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597290854}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8006,"timestamp":1674247178750,"duration":0,"tags":{},"startTime":1664597291060},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8007,"timestamp":1674247178826,"duration":0,"tags":{},"startTime":1664597291060},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8012,"timestamp":1674275042079,"duration":4261,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8013,"timestamp":1674275042128,"duration":5021,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"read-resource","id":8020,"timestamp":1674275047391,"duration":103,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8022,"name":"postcss-process","id":8023,"timestamp":1674275047520,"duration":41488,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"postcss-loader","id":8022,"timestamp":1674275047507,"duration":41670,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"css-loader","id":8026,"timestamp":1674275089197,"duration":10425,"tags":{"astUsed":"true"},"startTime":1664597318971},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"build-module-css","id":8019,"timestamp":1674275047255,"duration":53241,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8024,"name":"next-swc-transform","id":8025,"timestamp":1674275047819,"duration":52829,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8021,"name":"next-swc-loader","id":8024,"timestamp":1674275047757,"duration":52894,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"build-module-tsx","id":8021,"timestamp":1674275047417,"duration":56423,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8017,"timestamp":1674275042147,"duration":61956,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8016,"timestamp":1674275042144,"duration":61970,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8018,"timestamp":1674275042149,"duration":66206,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8014,"timestamp":1674275042139,"duration":72792,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8015,"timestamp":1674275042142,"duration":89471,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"make","id":8011,"timestamp":1674275041203,"duration":90429,"tags":{},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-chunk-graph","id":8028,"timestamp":1674275135720,"duration":5319,"tags":{},"startTime":1664597319017},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-modules","id":8030,"timestamp":1674275141073,"duration":2,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-chunks","id":8031,"timestamp":1674275141084,"duration":81,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-tree","id":8032,"timestamp":1674275141185,"duration":3,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize","id":8029,"timestamp":1674275141066,"duration":999,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-hash","id":8033,"timestamp":1674275150124,"duration":4024,"tags":{},"startTime":1664597319031},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"NextJsBuildManifest-generateClientManifest","id":8035,"timestamp":1674275164567,"duration":75,"tags":{},"startTime":1664597319046},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"NextJsBuildManifest-createassets","id":8034,"timestamp":1674275164517,"duration":135,"tags":{},"startTime":1664597319046},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-seal","id":8027,"timestamp":1674275132640,"duration":33960,"tags":{},"startTime":1664597319014},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"webpack-compilation","id":8010,"timestamp":1674275041009,"duration":125631,"tags":{"name":"client"},"startTime":1664597318922},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"emit","id":8036,"timestamp":1674275166655,"duration":95108,"tags":{},"startTime":1664597319048},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8008,"timestamp":1674275030746,"duration":241024,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318912},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8043,"timestamp":1674275286580,"duration":0,"tags":{},"startTime":1664597319168},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8044,"timestamp":1674275290233,"duration":0,"tags":{},"startTime":1664597319172},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8042,"timestamp":1674275285376,"duration":9917,"tags":{"request":"private-next-pages/_error"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8041,"timestamp":1674275285372,"duration":9934,"tags":{"request":"private-next-pages/_document"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8048,"timestamp":1664597319167000,"duration":15000,"tags":{"clientId":1664595509559},"startTime":1664597319183},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8049,"timestamp":1664597319168999,"duration":16000,"tags":{"clientId":1664596721221},"startTime":1664597319185},{"traceId":"43f2de6d909a73f7","parentId":8046,"name":"next-swc-transform","id":8047,"timestamp":1674275294602,"duration":11301,"tags":{},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8045,"name":"next-swc-loader","id":8046,"timestamp":1674275294527,"duration":11383,"tags":{},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"build-module-tsx","id":8045,"timestamp":1674275294360,"duration":14440,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8040,"timestamp":1674275285283,"duration":25948,"tags":{"request":"private-next-pages/_app"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"make","id":8038,"timestamp":1674275274284,"duration":36966,"tags":{},"startTime":1664597319156},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-chunk-graph","id":8051,"timestamp":1674275311598,"duration":230,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-modules","id":8053,"timestamp":1674275311836,"duration":2,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-chunks","id":8054,"timestamp":1674275311846,"duration":22,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-tree","id":8055,"timestamp":1674275311877,"duration":5,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize","id":8052,"timestamp":1674275311833,"duration":103,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-hash","id":8056,"timestamp":1674275313056,"duration":444,"tags":{},"startTime":1664597319194},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-seal","id":8050,"timestamp":1674275311525,"duration":3247,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"webpack-compilation","id":8037,"timestamp":1674275272894,"duration":41904,"tags":{"name":"server"},"startTime":1664597319154},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"emit","id":8057,"timestamp":1674275314814,"duration":3656,"tags":{},"startTime":1664597319196},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8009,"timestamp":1674275030988,"duration":287730,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318912},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8060,"timestamp":1674275323292,"duration":4194,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8061,"timestamp":1674275323326,"duration":4930,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"read-resource","id":8068,"timestamp":1674275328542,"duration":54,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8069,"name":"postcss-process","id":8070,"timestamp":1674275328629,"duration":33507,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"postcss-loader","id":8069,"timestamp":1674275328616,"duration":33789,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"css-loader","id":8071,"timestamp":1674275362427,"duration":9332,"tags":{"astUsed":"true"},"startTime":1664597319244},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"build-module-css","id":8067,"timestamp":1674275328389,"duration":44763,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8065,"timestamp":1674275323336,"duration":51935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8064,"timestamp":1674275323334,"duration":51954,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8066,"timestamp":1674275323337,"duration":55101,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8062,"timestamp":1674275323329,"duration":55196,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8063,"timestamp":1674275323331,"duration":81893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"make","id":8059,"timestamp":1674275321908,"duration":83336,"tags":{},"startTime":1664597319203},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-chunk-graph","id":8073,"timestamp":1674275408963,"duration":16483,"tags":{},"startTime":1664597319290},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-modules","id":8075,"timestamp":1674275425481,"duration":3,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-chunks","id":8076,"timestamp":1674275425493,"duration":34,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-tree","id":8077,"timestamp":1674275425548,"duration":3,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize","id":8074,"timestamp":1674275425473,"duration":1685,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-hash","id":8078,"timestamp":1674275437344,"duration":3647,"tags":{},"startTime":1664597319319},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"NextJsBuildManifest-generateClientManifest","id":8080,"timestamp":1674275441588,"duration":54,"tags":{},"startTime":1664597319323},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"NextJsBuildManifest-createassets","id":8079,"timestamp":1674275441536,"duration":109,"tags":{},"startTime":1664597319323},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-seal","id":8072,"timestamp":1674275406231,"duration":36367,"tags":{},"startTime":1664597319288},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"webpack-compilation","id":8058,"timestamp":1674275321742,"duration":120887,"tags":{"name":"client"},"startTime":1664597319203},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"emit","id":8081,"timestamp":1674275442646,"duration":3243,"tags":{},"startTime":1664597319324},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8039,"timestamp":1674275284986,"duration":161550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597319166}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8082,"timestamp":1674275458135,"duration":0,"tags":{},"startTime":1664597319339},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8083,"timestamp":1674275458194,"duration":0,"tags":{},"startTime":1664597319340},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8090,"timestamp":1674285482978,"duration":9634,"tags":{"request":"private-next-pages/_error"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8089,"timestamp":1674285482975,"duration":9651,"tags":{"request":"private-next-pages/_document"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8092,"name":"next-swc-transform","id":8093,"timestamp":1674285492895,"duration":1220,"tags":{},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8091,"name":"next-swc-loader","id":8092,"timestamp":1674285492820,"duration":1301,"tags":{},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"build-module-tsx","id":8091,"timestamp":1674285492685,"duration":6091,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8088,"timestamp":1674285482886,"duration":18268,"tags":{"request":"private-next-pages/_app"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"make","id":8087,"timestamp":1674285482721,"duration":18450,"tags":{},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-chunk-graph","id":8095,"timestamp":1674285501595,"duration":238,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-modules","id":8097,"timestamp":1674285501861,"duration":10,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-chunks","id":8098,"timestamp":1674285501901,"duration":43,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-tree","id":8099,"timestamp":1674285501967,"duration":14,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize","id":8096,"timestamp":1674285501847,"duration":1323,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-hash","id":8100,"timestamp":1674285505256,"duration":639,"tags":{},"startTime":1664597329387},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-seal","id":8094,"timestamp":1674285501497,"duration":6854,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"webpack-compilation","id":8086,"timestamp":1674285482518,"duration":25854,"tags":{"name":"server"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"emit","id":8101,"timestamp":1674285508384,"duration":2529,"tags":{},"startTime":1664597329390},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8084,"timestamp":1674285476664,"duration":34597,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329358},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8104,"timestamp":1674285516277,"duration":4665,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8109,"timestamp":1674285516320,"duration":5763,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8114,"name":"next-swc-transform","id":8115,"timestamp":1674285522327,"duration":1515,"tags":{},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8113,"name":"next-swc-loader","id":8114,"timestamp":1674285522284,"duration":1561,"tags":{},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"build-module-tsx","id":8113,"timestamp":1674285522214,"duration":5769,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"read-resource","id":8112,"timestamp":1674285521921,"duration":6588,"tags":{},"startTime":1664597329403},{"traceId":"43f2de6d909a73f7","parentId":8116,"name":"postcss-process","id":8117,"timestamp":1674285528531,"duration":35911,"tags":{},"startTime":1664597329410},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"postcss-loader","id":8116,"timestamp":1674285528521,"duration":36419,"tags":{},"startTime":1664597329410},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"css-loader","id":8118,"timestamp":1674285564962,"duration":13372,"tags":{"astUsed":"true"},"startTime":1664597329446},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"build-module-css","id":8111,"timestamp":1674285521771,"duration":62873,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597329403},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8105,"timestamp":1674285516307,"duration":70207,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8108,"timestamp":1674285516318,"duration":70567,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8110,"timestamp":1674285516322,"duration":73823,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8106,"timestamp":1674285516310,"duration":82128,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8107,"timestamp":1674285516316,"duration":115498,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"make","id":8103,"timestamp":1674285514312,"duration":117526,"tags":{},"startTime":1664597329396},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-chunk-graph","id":8120,"timestamp":1674285637529,"duration":22285,"tags":{},"startTime":1664597329519},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-modules","id":8122,"timestamp":1674285659849,"duration":4,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-chunks","id":8123,"timestamp":1674285659944,"duration":106,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-tree","id":8124,"timestamp":1674285660130,"duration":18,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize","id":8121,"timestamp":1674285659835,"duration":2103,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-hash","id":8125,"timestamp":1674285673525,"duration":9155,"tags":{},"startTime":1664597329555},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"NextJsBuildManifest-generateClientManifest","id":8127,"timestamp":1674285691499,"duration":61,"tags":{},"startTime":1664597329573},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"NextJsBuildManifest-createassets","id":8126,"timestamp":1674285691444,"duration":123,"tags":{},"startTime":1664597329573},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-seal","id":8119,"timestamp":1674285633226,"duration":60030,"tags":{},"startTime":1664597329515},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"webpack-compilation","id":8102,"timestamp":1674285514165,"duration":179115,"tags":{"name":"client"},"startTime":1664597329395},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"emit","id":8128,"timestamp":1674285693298,"duration":105356,"tags":{},"startTime":1664597329575},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8085,"timestamp":1674285476911,"duration":323163,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329358}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8129,"timestamp":1674285817110,"duration":0,"tags":{},"startTime":1664597329698},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8130,"timestamp":1674285817383,"duration":0,"tags":{},"startTime":1664597329699},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8131,"timestamp":1664597329359000,"duration":346999,"tags":{"clientId":1664595509559},"startTime":1664597329707},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8132,"timestamp":1664597329359000,"duration":360000,"tags":{"clientId":1664596721221},"startTime":1664597329721},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8137,"timestamp":1674308378831,"duration":4722,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8138,"timestamp":1674308378913,"duration":5466,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"read-resource","id":8145,"timestamp":1674308384709,"duration":175,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8147,"name":"postcss-process","id":8148,"timestamp":1674308384915,"duration":43772,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"postcss-loader","id":8147,"timestamp":1674308384904,"duration":44078,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"css-loader","id":8151,"timestamp":1674308429008,"duration":9839,"tags":{"astUsed":"true"},"startTime":1664597352310},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"build-module-css","id":8144,"timestamp":1674308384529,"duration":55794,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8149,"name":"next-swc-transform","id":8150,"timestamp":1674308385577,"duration":54972,"tags":{},"startTime":1664597352267},{"traceId":"43f2de6d909a73f7","parentId":8146,"name":"next-swc-loader","id":8149,"timestamp":1674308385506,"duration":55046,"tags":{},"startTime":1664597352267},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"build-module-tsx","id":8146,"timestamp":1674308384741,"duration":59967,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8142,"timestamp":1674308378925,"duration":67761,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8141,"timestamp":1674308378923,"duration":67782,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8143,"timestamp":1674308378927,"duration":72001,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8139,"timestamp":1674308378918,"duration":78686,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8140,"timestamp":1674308378920,"duration":106599,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"make","id":8136,"timestamp":1674308377933,"duration":107609,"tags":{},"startTime":1664597352259},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-chunk-graph","id":8153,"timestamp":1674308489781,"duration":17084,"tags":{},"startTime":1664597352371},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-modules","id":8155,"timestamp":1674308506891,"duration":3,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-chunks","id":8156,"timestamp":1674308506903,"duration":127,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-tree","id":8157,"timestamp":1674308507053,"duration":3,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize","id":8154,"timestamp":1674308506884,"duration":1648,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-hash","id":8158,"timestamp":1674308521881,"duration":4053,"tags":{},"startTime":1664597352403},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"NextJsBuildManifest-generateClientManifest","id":8160,"timestamp":1674308541349,"duration":55,"tags":{},"startTime":1664597352423},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"NextJsBuildManifest-createassets","id":8159,"timestamp":1674308541286,"duration":127,"tags":{},"startTime":1664597352423},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-seal","id":8152,"timestamp":1674308486822,"duration":56706,"tags":{},"startTime":1664597352368},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"webpack-compilation","id":8135,"timestamp":1674308377710,"duration":165846,"tags":{"name":"client"},"startTime":1664597352259},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"emit","id":8161,"timestamp":1674308543583,"duration":99289,"tags":{},"startTime":1664597352425},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8133,"timestamp":1674308366739,"duration":276920,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352248},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8168,"timestamp":1674308660684,"duration":0,"tags":{},"startTime":1664597352542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8169,"timestamp":1674308660735,"duration":0,"tags":{},"startTime":1664597352542},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8167,"timestamp":1674308659958,"duration":12823,"tags":{"request":"private-next-pages/_error"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8166,"timestamp":1674308659955,"duration":12842,"tags":{"request":"private-next-pages/_document"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8171,"name":"next-swc-transform","id":8172,"timestamp":1674308671003,"duration":1921,"tags":{},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8170,"name":"next-swc-loader","id":8171,"timestamp":1674308670925,"duration":2006,"tags":{},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"build-module-tsx","id":8170,"timestamp":1674308670762,"duration":5158,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8165,"timestamp":1674308659863,"duration":20680,"tags":{"request":"private-next-pages/_app"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"make","id":8163,"timestamp":1674308647221,"duration":33347,"tags":{},"startTime":1664597352529},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-chunk-graph","id":8174,"timestamp":1674308680901,"duration":206,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-modules","id":8176,"timestamp":1674308681114,"duration":2,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-chunks","id":8177,"timestamp":1674308681123,"duration":25,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-tree","id":8178,"timestamp":1674308681157,"duration":4,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize","id":8175,"timestamp":1674308681111,"duration":101,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-hash","id":8179,"timestamp":1674308682252,"duration":487,"tags":{},"startTime":1664597352564},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-seal","id":8173,"timestamp":1674308680838,"duration":3953,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"webpack-compilation","id":8162,"timestamp":1674308646801,"duration":38015,"tags":{"name":"server"},"startTime":1664597352528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8181,"timestamp":1664597352540999,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664597352570},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8182,"timestamp":1664597352540999,"duration":23000,"tags":{"clientId":1664596721221},"startTime":1664597352570},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"emit","id":8180,"timestamp":1674308684831,"duration":4926,"tags":{},"startTime":1664597352566},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8134,"timestamp":1674308367031,"duration":323017,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352248},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8185,"timestamp":1674308694513,"duration":3163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8186,"timestamp":1674308694557,"duration":3600,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"read-resource","id":8193,"timestamp":1674308698353,"duration":33,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8194,"name":"postcss-process","id":8195,"timestamp":1674308698412,"duration":35266,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"postcss-loader","id":8194,"timestamp":1674308698402,"duration":35505,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"css-loader","id":8196,"timestamp":1674308733926,"duration":9077,"tags":{"astUsed":"true"},"startTime":1664597352615},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"build-module-css","id":8192,"timestamp":1674308698235,"duration":46127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8190,"timestamp":1674308694569,"duration":51656,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8189,"timestamp":1674308694563,"duration":51682,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8191,"timestamp":1674308694592,"duration":54963,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8187,"timestamp":1674308694559,"duration":55084,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8188,"timestamp":1674308694561,"duration":82945,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"make","id":8184,"timestamp":1674308693304,"duration":84226,"tags":{},"startTime":1664597352575},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-chunk-graph","id":8198,"timestamp":1674308781638,"duration":16109,"tags":{},"startTime":1664597352663},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-modules","id":8200,"timestamp":1674308797770,"duration":2,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-chunks","id":8201,"timestamp":1674308797781,"duration":30,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-tree","id":8202,"timestamp":1674308797838,"duration":3,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize","id":8199,"timestamp":1674308797763,"duration":1316,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-hash","id":8203,"timestamp":1674308809741,"duration":3759,"tags":{},"startTime":1664597352691},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"NextJsBuildManifest-generateClientManifest","id":8205,"timestamp":1674308814065,"duration":50,"tags":{},"startTime":1664597352695},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"NextJsBuildManifest-createassets","id":8204,"timestamp":1674308814019,"duration":99,"tags":{},"startTime":1664597352695},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-seal","id":8197,"timestamp":1674308778812,"duration":36313,"tags":{},"startTime":1664597352660},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"webpack-compilation","id":8183,"timestamp":1674308693128,"duration":122029,"tags":{"name":"client"},"startTime":1664597352574},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"emit","id":8206,"timestamp":1674308815179,"duration":2354,"tags":{},"startTime":1664597352696},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8164,"timestamp":1674308659508,"duration":158512,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597352541}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8207,"timestamp":1674308829613,"duration":0,"tags":{},"startTime":1664597352711},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8208,"timestamp":1674308829692,"duration":0,"tags":{},"startTime":1664597352711},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8213,"timestamp":1674319429537,"duration":3575,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8214,"timestamp":1674319429570,"duration":4232,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"read-resource","id":8221,"timestamp":1674319433993,"duration":33,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8222,"name":"postcss-process","id":8223,"timestamp":1674319434047,"duration":34481,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"postcss-loader","id":8222,"timestamp":1674319434038,"duration":34670,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"css-loader","id":8224,"timestamp":1674319468728,"duration":8657,"tags":{"astUsed":"true"},"startTime":1664597363350},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"build-module-css","id":8220,"timestamp":1674319433900,"duration":44424,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8218,"timestamp":1674319429585,"duration":50881,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8217,"timestamp":1674319429582,"duration":50896,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8219,"timestamp":1674319429586,"duration":53998,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8215,"timestamp":1674319429578,"duration":54078,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8226,"name":"next-swc-transform","id":8227,"timestamp":1674319482432,"duration":1374,"tags":{},"startTime":1664597363364},{"traceId":"43f2de6d909a73f7","parentId":8225,"name":"next-swc-loader","id":8226,"timestamp":1674319482394,"duration":1413,"tags":{},"startTime":1664597363364},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"build-module-tsx","id":8225,"timestamp":1674319481993,"duration":3972,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363363},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8216,"timestamp":1674319429580,"duration":96436,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"make","id":8212,"timestamp":1674319428827,"duration":97212,"tags":{},"startTime":1664597363310},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-chunk-graph","id":8229,"timestamp":1674319536830,"duration":10182,"tags":{},"startTime":1664597363418},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-modules","id":8231,"timestamp":1674319547047,"duration":3,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-chunks","id":8232,"timestamp":1674319547061,"duration":77,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-tree","id":8233,"timestamp":1674319547160,"duration":4,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize","id":8230,"timestamp":1674319547037,"duration":1573,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-hash","id":8234,"timestamp":1674319576901,"duration":4261,"tags":{},"startTime":1664597363458},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"NextJsBuildManifest-generateClientManifest","id":8236,"timestamp":1674319595431,"duration":47,"tags":{},"startTime":1664597363477},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"NextJsBuildManifest-createassets","id":8235,"timestamp":1674319595377,"duration":113,"tags":{},"startTime":1664597363477},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-seal","id":8228,"timestamp":1674319529057,"duration":68386,"tags":{},"startTime":1664597363410},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"webpack-compilation","id":8211,"timestamp":1674319428657,"duration":168815,"tags":{"name":"client"},"startTime":1664597363310},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"emit","id":8237,"timestamp":1674319597486,"duration":120904,"tags":{},"startTime":1664597363479},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8209,"timestamp":1674319417524,"duration":302205,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8243,"timestamp":1674319731924,"duration":0,"tags":{},"startTime":1664597363613},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8244,"timestamp":1674319732216,"duration":0,"tags":{},"startTime":1664597363614},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8242,"timestamp":1674319730826,"duration":5632,"tags":{"request":"private-next-pages/_error"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8241,"timestamp":1674319730822,"duration":5645,"tags":{"request":"private-next-pages/_document"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8246,"name":"next-swc-transform","id":8247,"timestamp":1674319736652,"duration":3774,"tags":{},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":8245,"name":"next-swc-loader","id":8246,"timestamp":1674319736587,"duration":3851,"tags":{},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"build-module-tsx","id":8245,"timestamp":1674319736495,"duration":6286,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8248,"timestamp":1664597363299000,"duration":324000,"tags":{"clientId":1664595509559},"startTime":1664597363624},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8240,"timestamp":1674319730736,"duration":13610,"tags":{"request":"private-next-pages/_app"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"make","id":8239,"timestamp":1674319720847,"duration":23516,"tags":{},"startTime":1664597363602},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-chunk-graph","id":8250,"timestamp":1674319744742,"duration":236,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-modules","id":8252,"timestamp":1674319744996,"duration":2,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-chunks","id":8253,"timestamp":1674319745006,"duration":25,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-tree","id":8254,"timestamp":1674319745041,"duration":5,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize","id":8251,"timestamp":1674319744992,"duration":106,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-hash","id":8255,"timestamp":1674319746204,"duration":416,"tags":{},"startTime":1664597363627},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-seal","id":8249,"timestamp":1674319744670,"duration":2994,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"webpack-compilation","id":8238,"timestamp":1674319720661,"duration":27031,"tags":{"name":"server"},"startTime":1664597363602},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"emit","id":8256,"timestamp":1674319747710,"duration":2514,"tags":{},"startTime":1664597363629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8210,"timestamp":1674319417745,"duration":332923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363299}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8257,"timestamp":1664597363300000,"duration":343000,"tags":{"clientId":1664596721221},"startTime":1664597363645},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8262,"timestamp":1674325616365,"duration":3669,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8263,"timestamp":1674325616399,"duration":4210,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"read-resource","id":8270,"timestamp":1674325620867,"duration":37,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8271,"name":"postcss-process","id":8272,"timestamp":1674325620930,"duration":33206,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"postcss-loader","id":8271,"timestamp":1674325620921,"duration":33384,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"css-loader","id":8273,"timestamp":1674325654325,"duration":9058,"tags":{"astUsed":"true"},"startTime":1664597369536},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"build-module-css","id":8269,"timestamp":1674325620710,"duration":43977,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8267,"timestamp":1674325616407,"duration":48759,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8266,"timestamp":1674325616405,"duration":48774,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8268,"timestamp":1674325616410,"duration":55001,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8264,"timestamp":1674325616401,"duration":55102,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8275,"name":"next-swc-transform","id":8276,"timestamp":1674325667524,"duration":4259,"tags":{},"startTime":1664597369549},{"traceId":"43f2de6d909a73f7","parentId":8274,"name":"next-swc-loader","id":8275,"timestamp":1674325667477,"duration":4307,"tags":{},"startTime":1664597369549},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"build-module-tsx","id":8274,"timestamp":1674325666970,"duration":7102,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369548},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8265,"timestamp":1674325616403,"duration":90343,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"make","id":8261,"timestamp":1674325613360,"duration":93408,"tags":{},"startTime":1664597369495},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-chunk-graph","id":8278,"timestamp":1674325710830,"duration":16392,"tags":{},"startTime":1664597369592},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-modules","id":8280,"timestamp":1674325727244,"duration":2,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-chunks","id":8281,"timestamp":1674325727256,"duration":32,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-tree","id":8282,"timestamp":1674325727307,"duration":3,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize","id":8279,"timestamp":1674325727237,"duration":1521,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-hash","id":8283,"timestamp":1674325739333,"duration":3557,"tags":{},"startTime":1664597369621},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"NextJsBuildManifest-generateClientManifest","id":8285,"timestamp":1674325753968,"duration":51,"tags":{},"startTime":1664597369635},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"NextJsBuildManifest-createassets","id":8284,"timestamp":1674325753918,"duration":109,"tags":{},"startTime":1664597369635},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-seal","id":8277,"timestamp":1674325707792,"duration":48202,"tags":{},"startTime":1664597369589},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"webpack-compilation","id":8260,"timestamp":1674325613189,"duration":142832,"tags":{"name":"client"},"startTime":1664597369494},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"emit","id":8286,"timestamp":1674325756035,"duration":97016,"tags":{},"startTime":1664597369637},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8258,"timestamp":1674325601885,"duration":251930,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369483},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8292,"timestamp":1674325865171,"duration":0,"tags":{},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8293,"timestamp":1674325865220,"duration":0,"tags":{},"startTime":1664597369747},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8291,"timestamp":1674325864555,"duration":5242,"tags":{"request":"private-next-pages/_error"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8290,"timestamp":1674325864550,"duration":5254,"tags":{"request":"private-next-pages/_document"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8295,"name":"next-swc-transform","id":8296,"timestamp":1674325870019,"duration":1149,"tags":{},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8294,"name":"next-swc-loader","id":8295,"timestamp":1674325869954,"duration":1216,"tags":{},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"build-module-tsx","id":8294,"timestamp":1674325869833,"duration":3489,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8289,"timestamp":1674325864464,"duration":11115,"tags":{"request":"private-next-pages/_app"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"make","id":8288,"timestamp":1674325854848,"duration":20746,"tags":{},"startTime":1664597369736},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-chunk-graph","id":8298,"timestamp":1674325875885,"duration":230,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-modules","id":8300,"timestamp":1674325876124,"duration":2,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-chunks","id":8301,"timestamp":1674325876134,"duration":25,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-tree","id":8302,"timestamp":1674325876166,"duration":4,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize","id":8299,"timestamp":1674325876120,"duration":103,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-hash","id":8303,"timestamp":1674325877447,"duration":642,"tags":{},"startTime":1664597369759},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-seal","id":8297,"timestamp":1674325875824,"duration":3290,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"webpack-compilation","id":8287,"timestamp":1674325854673,"duration":24464,"tags":{"name":"server"},"startTime":1664597369736},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"emit","id":8304,"timestamp":1674325879153,"duration":2704,"tags":{},"startTime":1664597369760},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8259,"timestamp":1674325602198,"duration":279977,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369483}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8305,"timestamp":1664597369484000,"duration":287000,"tags":{"clientId":1664595509559},"startTime":1664597369771},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8306,"timestamp":1664597369484999,"duration":291000,"tags":{"clientId":1664596721221},"startTime":1664597369778},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8311,"timestamp":1674335266098,"duration":6305,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8312,"timestamp":1674335266174,"duration":7684,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"read-resource","id":8319,"timestamp":1674335274277,"duration":57,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8320,"name":"postcss-process","id":8321,"timestamp":1674335274375,"duration":44880,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"postcss-loader","id":8320,"timestamp":1674335274355,"duration":45282,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"css-loader","id":8322,"timestamp":1674335319656,"duration":12720,"tags":{"astUsed":"true"},"startTime":1664597379201},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"build-module-css","id":8318,"timestamp":1674335273998,"duration":68962,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597379155},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8316,"timestamp":1674335266185,"duration":77229,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8315,"timestamp":1674335266183,"duration":77250,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8317,"timestamp":1674335266187,"duration":81514,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8313,"timestamp":1674335266178,"duration":81657,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8324,"name":"next-swc-transform","id":8325,"timestamp":1674335345665,"duration":2422,"tags":{},"startTime":1664597379227},{"traceId":"43f2de6d909a73f7","parentId":8323,"name":"next-swc-loader","id":8324,"timestamp":1674335345595,"duration":2494,"tags":{},"startTime":1664597379227},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"build-module-tsx","id":8323,"timestamp":1674335345139,"duration":6704,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379226},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8314,"timestamp":1674335266181,"duration":118595,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"make","id":8310,"timestamp":1674335265095,"duration":119703,"tags":{},"startTime":1664597379146},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-chunk-graph","id":8327,"timestamp":1674335389696,"duration":19162,"tags":{},"startTime":1664597379271},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-modules","id":8329,"timestamp":1674335408892,"duration":3,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-chunks","id":8330,"timestamp":1674335408907,"duration":241,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-tree","id":8331,"timestamp":1674335409185,"duration":6,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize","id":8328,"timestamp":1674335408881,"duration":2064,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-hash","id":8332,"timestamp":1674335423823,"duration":6558,"tags":{},"startTime":1664597379305},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"NextJsBuildManifest-generateClientManifest","id":8334,"timestamp":1674335441418,"duration":58,"tags":{},"startTime":1664597379323},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"NextJsBuildManifest-createassets","id":8333,"timestamp":1674335441367,"duration":118,"tags":{},"startTime":1664597379323},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-seal","id":8326,"timestamp":1674335386431,"duration":56817,"tags":{},"startTime":1664597379268},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"webpack-compilation","id":8309,"timestamp":1674335264095,"duration":179180,"tags":{"name":"client"},"startTime":1664597379145},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"emit","id":8335,"timestamp":1674335443291,"duration":88414,"tags":{},"startTime":1664597379325},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8307,"timestamp":1674335250195,"duration":282408,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379131},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8341,"timestamp":1674335561319,"duration":0,"tags":{},"startTime":1664597379443},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8342,"timestamp":1674335561731,"duration":0,"tags":{},"startTime":1664597379443},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8340,"timestamp":1674335547997,"duration":20688,"tags":{"request":"private-next-pages/_error"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8339,"timestamp":1674335547993,"duration":20710,"tags":{"request":"private-next-pages/_document"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8344,"name":"next-swc-transform","id":8345,"timestamp":1674335569297,"duration":5277,"tags":{},"startTime":1664597379451},{"traceId":"43f2de6d909a73f7","parentId":8343,"name":"next-swc-loader","id":8344,"timestamp":1674335569191,"duration":5393,"tags":{},"startTime":1664597379450},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"build-module-tsx","id":8343,"timestamp":1674335568747,"duration":16054,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379450},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8346,"timestamp":1664597379134000,"duration":326999,"tags":{"clientId":1664596721221},"startTime":1664597379467},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8338,"timestamp":1674335547951,"duration":38937,"tags":{"request":"private-next-pages/_app"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"make","id":8337,"timestamp":1674335534224,"duration":52683,"tags":{},"startTime":1664597379415},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-chunk-graph","id":8348,"timestamp":1674335587278,"duration":233,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-modules","id":8350,"timestamp":1674335587519,"duration":2,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-chunks","id":8351,"timestamp":1674335587530,"duration":25,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-tree","id":8352,"timestamp":1674335587562,"duration":6,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize","id":8349,"timestamp":1674335587516,"duration":110,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-hash","id":8353,"timestamp":1674335588780,"duration":485,"tags":{},"startTime":1664597379470},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-seal","id":8347,"timestamp":1674335587205,"duration":3010,"tags":{},"startTime":1664597379468},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"webpack-compilation","id":8336,"timestamp":1674335533984,"duration":56251,"tags":{"name":"server"},"startTime":1664597379415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8355,"timestamp":1664597379132000,"duration":336000,"tags":{"clientId":1664595509559},"startTime":1664597379472},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"emit","id":8354,"timestamp":1674335590249,"duration":1702,"tags":{},"startTime":1664597379472},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8308,"timestamp":1674335250485,"duration":341804,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379132}] +[{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8360,"timestamp":1674345973380,"duration":5864,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8365,"timestamp":1674345973421,"duration":7433,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"read-resource","id":8368,"timestamp":1674345980494,"duration":1119,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8372,"name":"postcss-process","id":8373,"timestamp":1674345981647,"duration":41187,"tags":{},"startTime":1664597389863},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"postcss-loader","id":8372,"timestamp":1674345981638,"duration":41864,"tags":{},"startTime":1664597389863},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"css-loader","id":8374,"timestamp":1674346023524,"duration":12831,"tags":{"astUsed":"true"},"startTime":1664597389905},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"build-module-css","id":8367,"timestamp":1674345980231,"duration":57456,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597389861},{"traceId":"43f2de6d909a73f7","parentId":8370,"name":"next-swc-transform","id":8371,"timestamp":1674345980650,"duration":57775,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8369,"name":"next-swc-loader","id":8370,"timestamp":1674345980600,"duration":57827,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"build-module-tsx","id":8369,"timestamp":1674345980528,"duration":61320,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8361,"timestamp":1674345973411,"duration":68833,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8364,"timestamp":1674345973419,"duration":69633,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8366,"timestamp":1674345973423,"duration":73005,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8362,"timestamp":1674345973414,"duration":80145,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8363,"timestamp":1674345973417,"duration":109076,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"make","id":8359,"timestamp":1674345972459,"duration":110052,"tags":{},"startTime":1664597389854},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-chunk-graph","id":8376,"timestamp":1674346086528,"duration":17574,"tags":{},"startTime":1664597389968},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-modules","id":8378,"timestamp":1674346104132,"duration":2,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-chunks","id":8379,"timestamp":1674346104144,"duration":47,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-tree","id":8380,"timestamp":1674346104208,"duration":3,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize","id":8377,"timestamp":1674346104124,"duration":1537,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-hash","id":8381,"timestamp":1674346117439,"duration":6342,"tags":{},"startTime":1664597389999},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"NextJsBuildManifest-generateClientManifest","id":8383,"timestamp":1674346139014,"duration":91,"tags":{},"startTime":1664597390020},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"NextJsBuildManifest-createassets","id":8382,"timestamp":1674346138935,"duration":184,"tags":{},"startTime":1664597390020},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-seal","id":8375,"timestamp":1674346083678,"duration":57416,"tags":{},"startTime":1664597389965},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"webpack-compilation","id":8358,"timestamp":1674345972285,"duration":168833,"tags":{"name":"client"},"startTime":1664597389854},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"emit","id":8384,"timestamp":1674346141133,"duration":90809,"tags":{},"startTime":1664597390022},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8356,"timestamp":1674345961139,"duration":271587,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389842},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8391,"timestamp":1674346264982,"duration":0,"tags":{},"startTime":1664597390146},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8392,"timestamp":1674346265087,"duration":0,"tags":{},"startTime":1664597390146},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8390,"timestamp":1674346251986,"duration":18962,"tags":{"request":"private-next-pages/_error"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8389,"timestamp":1674346251982,"duration":18979,"tags":{"request":"private-next-pages/_document"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8394,"name":"next-swc-transform","id":8395,"timestamp":1674346270152,"duration":2419,"tags":{},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8393,"name":"next-swc-loader","id":8394,"timestamp":1674346270072,"duration":2509,"tags":{},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"build-module-tsx","id":8393,"timestamp":1674346269966,"duration":6274,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8388,"timestamp":1674346251946,"duration":27938,"tags":{"request":"private-next-pages/_app"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"make","id":8386,"timestamp":1674346236076,"duration":43827,"tags":{},"startTime":1664597390117},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-chunk-graph","id":8397,"timestamp":1674346280157,"duration":198,"tags":{},"startTime":1664597390161},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-modules","id":8399,"timestamp":1674346280361,"duration":2,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-chunks","id":8400,"timestamp":1674346280371,"duration":21,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-tree","id":8401,"timestamp":1674346280398,"duration":4,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize","id":8398,"timestamp":1674346280358,"duration":91,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-hash","id":8402,"timestamp":1674346281519,"duration":428,"tags":{},"startTime":1664597390163},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-seal","id":8396,"timestamp":1674346280094,"duration":5340,"tags":{},"startTime":1664597390161},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"webpack-compilation","id":8385,"timestamp":1674346235242,"duration":50222,"tags":{"name":"server"},"startTime":1664597390117},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"emit","id":8403,"timestamp":1674346285482,"duration":2642,"tags":{},"startTime":1664597390167},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8357,"timestamp":1674345961397,"duration":326984,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389843},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8406,"timestamp":1674346294537,"duration":3604,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8407,"timestamp":1674346294577,"duration":4079,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"read-resource","id":8414,"timestamp":1674346298862,"duration":33,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8415,"name":"postcss-process","id":8416,"timestamp":1674346298920,"duration":34643,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"postcss-loader","id":8415,"timestamp":1674346298911,"duration":34887,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"css-loader","id":8417,"timestamp":1674346333817,"duration":11492,"tags":{"astUsed":"true"},"startTime":1664597390215},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"build-module-css","id":8413,"timestamp":1674346298739,"duration":47802,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8418,"timestamp":1664597390132999,"duration":48000,"tags":{"clientId":1664595509559},"startTime":1664597390228},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8419,"timestamp":1664597390134000,"duration":53999,"tags":{"clientId":1664596721221},"startTime":1664597390228},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8411,"timestamp":1674346294586,"duration":52694,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8410,"timestamp":1674346294584,"duration":52717,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8412,"timestamp":1674346294590,"duration":56141,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8408,"timestamp":1674346294580,"duration":56252,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8409,"timestamp":1674346294582,"duration":86310,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"make","id":8405,"timestamp":1674346292701,"duration":88219,"tags":{},"startTime":1664597390174},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-chunk-graph","id":8421,"timestamp":1674346384842,"duration":16545,"tags":{},"startTime":1664597390266},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-modules","id":8423,"timestamp":1674346401420,"duration":2,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-chunks","id":8424,"timestamp":1674346401432,"duration":33,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-tree","id":8425,"timestamp":1674346401484,"duration":3,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize","id":8422,"timestamp":1674346401412,"duration":1420,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-hash","id":8426,"timestamp":1674346413551,"duration":3878,"tags":{},"startTime":1664597390295},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"NextJsBuildManifest-generateClientManifest","id":8428,"timestamp":1674346418002,"duration":51,"tags":{},"startTime":1664597390299},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"NextJsBuildManifest-createassets","id":8427,"timestamp":1674346417951,"duration":106,"tags":{},"startTime":1664597390299},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-seal","id":8420,"timestamp":1674346381941,"duration":36975,"tags":{},"startTime":1664597390263},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"webpack-compilation","id":8404,"timestamp":1674346292527,"duration":126410,"tags":{"name":"client"},"startTime":1664597390174},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"emit","id":8429,"timestamp":1674346418950,"duration":2280,"tags":{},"startTime":1664597390300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8387,"timestamp":1674346251736,"duration":170026,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597390133}] +[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8430,"timestamp":1674346431996,"duration":0,"tags":{},"startTime":1664597390313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8431,"timestamp":1674346432065,"duration":0,"tags":{},"startTime":1664597390313},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8436,"timestamp":1674353128225,"duration":4206,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597397009},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8437,"timestamp":1674353128265,"duration":4778,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"read-resource","id":8444,"timestamp":1674353133253,"duration":93,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8446,"name":"postcss-process","id":8447,"timestamp":1674353133372,"duration":35814,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"postcss-loader","id":8446,"timestamp":1674353133360,"duration":35984,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"css-loader","id":8450,"timestamp":1674353169361,"duration":11470,"tags":{"astUsed":"true"},"startTime":1664597397051},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"build-module-css","id":8443,"timestamp":1674353133140,"duration":48698,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597397014},{"traceId":"43f2de6d909a73f7","parentId":8448,"name":"next-swc-transform","id":8449,"timestamp":1674353133642,"duration":48378,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8445,"name":"next-swc-loader","id":8448,"timestamp":1674353133597,"duration":48424,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"build-module-tsx","id":8445,"timestamp":1674353133274,"duration":51828,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8441,"timestamp":1674353128286,"duration":57069,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8440,"timestamp":1674353128283,"duration":57083,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8442,"timestamp":1674353128288,"duration":59820,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8438,"timestamp":1674353128278,"duration":65065,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8439,"timestamp":1674353128281,"duration":87199,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"make","id":8435,"timestamp":1674353127356,"duration":88143,"tags":{},"startTime":1664597397009},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-chunk-graph","id":8452,"timestamp":1674353223734,"duration":7823,"tags":{},"startTime":1664597397105},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-modules","id":8454,"timestamp":1674353231581,"duration":46,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-chunks","id":8455,"timestamp":1674353231658,"duration":40,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-tree","id":8456,"timestamp":1674353231719,"duration":4,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize","id":8453,"timestamp":1674353231573,"duration":1219,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-hash","id":8457,"timestamp":1674353258412,"duration":7525,"tags":{},"startTime":1664597397140},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"NextJsBuildManifest-generateClientManifest","id":8459,"timestamp":1674353290431,"duration":86,"tags":{},"startTime":1664597397172},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"NextJsBuildManifest-createassets","id":8458,"timestamp":1674353290357,"duration":174,"tags":{},"startTime":1664597397172},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-seal","id":8451,"timestamp":1674353217560,"duration":77177,"tags":{},"startTime":1664597397099},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"webpack-compilation","id":8434,"timestamp":1674353127174,"duration":167680,"tags":{"name":"client"},"startTime":1664597397008},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"emit","id":8460,"timestamp":1674353294892,"duration":101100,"tags":{},"startTime":1664597397176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8432,"timestamp":1674353115434,"duration":281210,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597396997},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8467,"timestamp":1674353413886,"duration":0,"tags":{},"startTime":1664597397295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8468,"timestamp":1674353414097,"duration":0,"tags":{},"startTime":1664597397295},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8466,"timestamp":1674353413000,"duration":8919,"tags":{"request":"private-next-pages/_error"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8465,"timestamp":1674353412996,"duration":8935,"tags":{"request":"private-next-pages/_document"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8470,"name":"next-swc-transform","id":8471,"timestamp":1674353421219,"duration":1365,"tags":{},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8469,"name":"next-swc-loader","id":8470,"timestamp":1674353421141,"duration":1444,"tags":{},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"build-module-tsx","id":8469,"timestamp":1674353420998,"duration":4157,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8464,"timestamp":1674353412925,"duration":15479,"tags":{"request":"private-next-pages/_app"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"make","id":8462,"timestamp":1674353399761,"duration":28680,"tags":{},"startTime":1664597397281},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-chunk-graph","id":8473,"timestamp":1674353428772,"duration":230,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-modules","id":8475,"timestamp":1674353429009,"duration":2,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-chunks","id":8476,"timestamp":1674353429019,"duration":24,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-tree","id":8477,"timestamp":1674353429049,"duration":5,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize","id":8474,"timestamp":1674353429006,"duration":101,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-hash","id":8478,"timestamp":1674353430079,"duration":430,"tags":{},"startTime":1664597397311},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-seal","id":8472,"timestamp":1674353428703,"duration":2954,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"webpack-compilation","id":8461,"timestamp":1674353399537,"duration":32141,"tags":{"name":"server"},"startTime":1664597397281},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"emit","id":8479,"timestamp":1674353431688,"duration":3553,"tags":{},"startTime":1664597397313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8433,"timestamp":1674353115671,"duration":319876,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597396997},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8482,"timestamp":1664597397294000,"duration":22999,"tags":{"clientId":1664595509559},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8490,"timestamp":1664597397296000,"duration":32000,"tags":{"clientId":1664596721221},"startTime":1664597397329},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8483,"timestamp":1674353444970,"duration":3884,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8484,"timestamp":1674353445013,"duration":4716,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"read-resource","id":8492,"timestamp":1674353450144,"duration":64,"tags":{},"startTime":1664597397331},{"traceId":"43f2de6d909a73f7","parentId":8493,"name":"postcss-process","id":8494,"timestamp":1674353450270,"duration":35026,"tags":{},"startTime":1664597397332},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"postcss-loader","id":8493,"timestamp":1674353450256,"duration":35261,"tags":{},"startTime":1664597397332},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"css-loader","id":8495,"timestamp":1674353485539,"duration":9375,"tags":{"astUsed":"true"},"startTime":1664597397367},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"build-module-css","id":8491,"timestamp":1674353449929,"duration":46266,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597397331},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8488,"timestamp":1674353445024,"duration":51585,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8487,"timestamp":1674353445022,"duration":51599,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8489,"timestamp":1674353445026,"duration":56265,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8485,"timestamp":1674353445018,"duration":56346,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8486,"timestamp":1674353445020,"duration":87947,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"make","id":8481,"timestamp":1674353440343,"duration":92648,"tags":{},"startTime":1664597397322},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-chunk-graph","id":8497,"timestamp":1674353537399,"duration":17206,"tags":{},"startTime":1664597397419},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-modules","id":8499,"timestamp":1674353554630,"duration":2,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-chunks","id":8500,"timestamp":1674353554641,"duration":42,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-tree","id":8501,"timestamp":1674353554702,"duration":3,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize","id":8498,"timestamp":1674353554622,"duration":1630,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-hash","id":8502,"timestamp":1674353568236,"duration":3956,"tags":{},"startTime":1664597397449},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"NextJsBuildManifest-generateClientManifest","id":8504,"timestamp":1674353572876,"duration":54,"tags":{},"startTime":1664597397454},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"NextJsBuildManifest-createassets","id":8503,"timestamp":1674353572822,"duration":113,"tags":{},"startTime":1664597397454},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-seal","id":8496,"timestamp":1674353534233,"duration":39876,"tags":{},"startTime":1664597397415},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"webpack-compilation","id":8480,"timestamp":1674353440173,"duration":133959,"tags":{"name":"client"},"startTime":1664597397321},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"emit","id":8505,"timestamp":1674353574145,"duration":2142,"tags":{},"startTime":1664597397455},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8463,"timestamp":1674353412655,"duration":164167,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597397294}] diff --git a/examples/tailwindcss/components/features.tsx b/examples/tailwindcss/components/features.tsx index c4e9cea55..c4a2c4ae0 100644 --- a/examples/tailwindcss/components/features.tsx +++ b/examples/tailwindcss/components/features.tsx @@ -1,79 +1,27 @@ -import { LinkIcon } from '@chakra-ui/icons'; -import { - Box, - Heading, - Icon, - Link, - Stack, - Text, - useColorModeValue -} from '@chakra-ui/react'; -import { FeatureProps } from './types'; +import { LinkIcon } from '@heroicons/react/24/outline' +import { FeatureProps } from './types' export const Product = ({ title, text, href }: FeatureProps) => { return ( - - - {title} → - {text} - - - ); -}; + +
+

{title} →

+

{text}

+
+
+ ) +} export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - - - - - - - - {title} - - - {text} - - - - - ); -}; + +
+ +
+

{title} →

+

{text}

+
+
+
+ ) +} diff --git a/examples/tailwindcss/components/react/address-card.tsx b/examples/tailwindcss/components/react/address-card.tsx deleted file mode 100644 index 96ff2cd27..000000000 --- a/examples/tailwindcss/components/react/address-card.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import React, { ReactNode } from 'react'; -import { - Text, - useColorModeValue, - Button, - Icon, - useClipboard -} from '@chakra-ui/react'; -import { FaRegCopy } from 'react-icons/fa'; -import { WalletStatus } from '@cosmos-kit/core'; - -export const ConnectedShowAddress = ({ - address, - isLoading -}: { - address?: string; - isLoading: boolean; -}) => { - const { hasCopied, onCopy } = useClipboard(address ? address : ''); - - return ( - - ); -}; - -export const CopyAddressBtn = ({ - walletStatus, - connected -}: { - walletStatus: WalletStatus; - connected: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Connected: - return <>{connected}; - default: - return <>; - } -}; diff --git a/examples/tailwindcss/components/react/astronaut.tsx b/examples/tailwindcss/components/react/astronaut.tsx deleted file mode 100644 index 572884aa7..000000000 --- a/examples/tailwindcss/components/react/astronaut.tsx +++ /dev/null @@ -1,304 +0,0 @@ -export const Astronaut = (props: any) => ( - - {'cosmology-astronaut'} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -); diff --git a/examples/tailwindcss/components/react/chain-card.tsx b/examples/tailwindcss/components/react/chain-card.tsx index e8d56a0ea..b359e5f13 100644 --- a/examples/tailwindcss/components/react/chain-card.tsx +++ b/examples/tailwindcss/components/react/chain-card.tsx @@ -1,39 +1,10 @@ -import { Box, Stack, useColorModeValue, Image, Text } from '@chakra-ui/react'; -import { ChainCardProps } from '../types'; +import { ChainCardProps } from '../types' export const ChainCard = (props: ChainCardProps) => { return ( - - - - - - {props.prettyName} - - - ); -}; +
+ +

{props.prettyName}

+
+ ) +} diff --git a/examples/tailwindcss/components/react/index.ts b/examples/tailwindcss/components/react/index.ts index cc035b9c5..3dd41b0b4 100644 --- a/examples/tailwindcss/components/react/index.ts +++ b/examples/tailwindcss/components/react/index.ts @@ -1,6 +1,2 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from './chain-card' +export * from './modal' diff --git a/examples/tailwindcss/components/react/modal.tsx b/examples/tailwindcss/components/react/modal.tsx new file mode 100644 index 000000000..1de0eeee0 --- /dev/null +++ b/examples/tailwindcss/components/react/modal.tsx @@ -0,0 +1,226 @@ +/* eslint-disable @next/next/no-img-element */ +import type { WalletModalProps } from '@cosmos-kit/core' +import { WalletStatus } from '@cosmos-kit/core' +import { useWallet } from '@cosmos-kit/react' +import { useCallback, Fragment, useState, useMemo, useEffect } from 'react' +import { Dialog, Transition } from '@headlessui/react' +import { + Connected, + Connecting, + Error, + NotExist, + QRCode, + WalletList, +} from './views' +import { wallets } from '@cosmos-kit/config' +import { useRouter } from 'next/router' +import Bowser from 'bowser' + +export enum ModalView { + WalletList, + QRCode, + Connecting, + Connected, + Error, + NotExist, +} + +export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { + const router = useRouter() + + const [userBrowserInfo, setUserBrowserInfo] = useState<{ + browser: string + device: string | undefined + os: string + }>() + + useEffect(() => { + const parser = Bowser.getParser(window.navigator.userAgent) + setUserBrowserInfo({ + browser: parser.getBrowserName(true), + device: parser.getPlatform().type, + os: parser.getOSName(true), + }) + }, []) + + const { + setCurrentWallet, + connect, + walletStatus, + currentWalletName, + } = useWallet() + + const [currentView, setCurrentView] = useState( + ModalView.WalletList, + ) + + const currentWalletData = useMemo(() => { + return wallets.find((wallet) => wallet.name === currentWalletName) + }, [currentWalletName]) + + useEffect(() => { + if (isOpen) { + switch (walletStatus) { + case WalletStatus.Disconnected: + setCurrentView(ModalView.WalletList) + break + case WalletStatus.Connecting: + setCurrentView(ModalView.Connecting) + break + case WalletStatus.Connected: + setCurrentView(ModalView.Connected) + break + case WalletStatus.Error: + setCurrentView(ModalView.Error) + break + case WalletStatus.Rejected: + setCurrentView(ModalView.Error) + break + case WalletStatus.NotExist: + setCurrentView(ModalView.NotExist) + break + } + } + }, [isOpen, walletStatus, currentWalletName]) + + const onWalletClicked = useCallback( + (name: string) => { + setCurrentWallet(name) + connect() + + // 1ms timeout prevents _render from determining the view to show first + setTimeout(() => { + if (wallets.find((wallet) => wallet.name === name)?.isQRCode) + setCurrentView(ModalView.QRCode) + }, 1) + }, + [setCurrentWallet, connect], + ) + + const onCloseModal = useCallback(() => { + setOpen(false) + }, [setOpen]) + + const _render = useMemo(() => { + switch (currentView) { + case ModalView.WalletList: + return ( + + ) + case ModalView.Connected: + return ( + setCurrentView(ModalView.WalletList)} + name={currentWalletData?.prettyName!} + logo={currentWalletData?.logo!} + /> + ) + case ModalView.Connecting: + let subtitle: string + if (currentWalletData!.isQRCode) { + subtitle = `Approve ${ + currentWalletData!.prettyName + } connection request on your mobile.` + } else { + subtitle = `Open the ${ + currentWalletData!.prettyName + } browser extension to connect your wallet.` + } + + return ( + setCurrentView(ModalView.WalletList)} + name={currentWalletData?.prettyName!} + logo={currentWalletData?.logo!} + title="Requesting Connection" + subtitle={subtitle} + /> + ) + case ModalView.QRCode: + return ( + setCurrentView(ModalView.WalletList)} + /> + ) + case ModalView.Error: + return ( + setCurrentView(ModalView.WalletList)} + logo={currentWalletData?.logo!} + onReconnect={() => onWalletClicked(currentWalletData?.name!)} + /> + ) + case ModalView.NotExist: + type Device = 'desktop' | 'tablet' | 'mobile' + const device = userBrowserInfo?.device as Device + const downloads = currentWalletData?.downloads! + return ( + setCurrentView(ModalView.WalletList)} + onInstall={() => + router.push( + downloads[device]?.find( + ({ browser, os }) => + browser === userBrowserInfo?.browser || + os === userBrowserInfo?.os, + )?.link || (currentWalletData?.downloads?.default as string), + ) + } + logo={currentWalletData?.logo!} + name={currentWalletData?.prettyName!} + /> + ) + } + }, [ + currentView, + onCloseModal, + onWalletClicked, + currentWalletData, + router, + userBrowserInfo, + ]) + + return ( + + + +
+ + +
+
+ + +
{_render}
+
+
+
+
+
+
+ ) +} diff --git a/examples/tailwindcss/components/react/user-card.tsx b/examples/tailwindcss/components/react/user-card.tsx deleted file mode 100644 index 13c8bd75a..000000000 --- a/examples/tailwindcss/components/react/user-card.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; -import { Text, Stack, Box } from '@chakra-ui/react'; -import { ConnectedUserCardType } from '../types'; - -export const ConnectedUserInfo = ({ - username, - icon -}: ConnectedUserCardType) => { - return ( - - {username && ( - <> - - {icon} - - - {username} - - - )} - - ); -}; diff --git a/examples/tailwindcss/components/react/views/Connected.tsx b/examples/tailwindcss/components/react/views/Connected.tsx new file mode 100644 index 000000000..41c85eb9f --- /dev/null +++ b/examples/tailwindcss/components/react/views/Connected.tsx @@ -0,0 +1,108 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { + XMarkIcon, + ArrowRightOnRectangleIcon, + ClipboardDocumentIcon, +} from '@heroicons/react/24/outline' +import { ChevronLeftIcon, CheckIcon } from '@heroicons/react/20/solid' +import copyToClipboard from 'copy-to-clipboard' +import { useState } from 'react' + +export function truncate(address: string) { + return `${address.substring(0, 12)}...${address.substring( + address.length - 8, + address.length, + )}` +} + +export const Address = ({ children: address }: { children: string }) => { + const [copied, setCopied] = useState(false) + return ( + + ) +} + +export const Connected = ({ + onClose, + onReturn, + name, + logo, +}: { + onClose: () => void + onReturn: () => void + name: string + logo: string +}) => { + const { disconnect, currentWallet } = useWallet() + + return ( +
+
+ + + {name} + + +
+
+
+
+ {name} +

+ {currentWallet?.username || ''} +

+
+
{currentWallet?.address || ''}
+ +
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/Connecting.tsx b/examples/tailwindcss/components/react/views/Connecting.tsx new file mode 100644 index 000000000..3e9059a8b --- /dev/null +++ b/examples/tailwindcss/components/react/views/Connecting.tsx @@ -0,0 +1,61 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const Connecting = ({ + onClose, + onReturn, + name, + logo, + title, + subtitle, +}: { + onClose: () => void + onReturn: () => void + name: string + logo: string + title: string + subtitle: string +}) => { + return ( +
+
+ + + {name} + + +
+
+ {name} +

{title}

+

+ {subtitle} +

+
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/Error.tsx b/examples/tailwindcss/components/react/views/Error.tsx new file mode 100644 index 000000000..a4ff64a31 --- /dev/null +++ b/examples/tailwindcss/components/react/views/Error.tsx @@ -0,0 +1,64 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon, ArrowPathIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const Error = ({ + onClose, + onReturn, + onReconnect, + logo, +}: { + onClose: () => void + onReturn: () => void + onReconnect: () => void + logo: string +}) => { + return ( +
+
+ + + Error + + +
+
+
+ Wallet type logo +
+

An error has occured

+

Lorem ipsum dolor sit amet

+ +
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/NotExist.tsx b/examples/tailwindcss/components/react/views/NotExist.tsx new file mode 100644 index 000000000..e2beb5b66 --- /dev/null +++ b/examples/tailwindcss/components/react/views/NotExist.tsx @@ -0,0 +1,67 @@ +/* eslint-disable @next/next/no-img-element */ +import { Dialog } from '@headlessui/react' +import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' + +export const NotExist = ({ + onClose, + onReturn, + onInstall, + logo, + name, +}: { + onClose: () => void + onReturn: () => void + onInstall: () => void + logo: string + name: string +}) => { + return ( +
+
+ + + {name} + + +
+
+ {name} +

+ Install {name} +

+

+ To connect your {name} wallet, install the browser extension. +

+ +
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/QRCode.tsx b/examples/tailwindcss/components/react/views/QRCode.tsx new file mode 100644 index 000000000..28fd5edbf --- /dev/null +++ b/examples/tailwindcss/components/react/views/QRCode.tsx @@ -0,0 +1,57 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronLeftIcon } from '@heroicons/react/20/solid' +import { QRCodeSVG } from 'qrcode.react' + +export const QRCode = ({ + onClose, + onReturn, +}: { + onClose: () => void + onReturn: () => void +}) => { + const { currentWallet } = useWallet() + + return ( +
+
+ + + Keplr Mobile + + +
+
+
+ +
+
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/WalletList.tsx b/examples/tailwindcss/components/react/views/WalletList.tsx new file mode 100644 index 000000000..aff1a7d49 --- /dev/null +++ b/examples/tailwindcss/components/react/views/WalletList.tsx @@ -0,0 +1,57 @@ +/* eslint-disable @next/next/no-img-element */ +import { useWallet } from '@cosmos-kit/react' +import { Dialog } from '@headlessui/react' +import { XMarkIcon } from '@heroicons/react/24/outline' +import { ChevronRightIcon } from '@heroicons/react/20/solid' + +export const WalletList = ({ + onClose, + onWalletClicked, +}: { + onClose: () => void + onWalletClicked: (name: string) => void +}) => { + const { wallets } = useWallet() + + return ( +
+
+ + Select a Wallet + + +
+
+ {wallets.map(({ name, prettyName, logo }) => ( + + ))} +
+
+ ) +} diff --git a/examples/tailwindcss/components/react/views/index.ts b/examples/tailwindcss/components/react/views/index.ts new file mode 100644 index 000000000..b94c99eea --- /dev/null +++ b/examples/tailwindcss/components/react/views/index.ts @@ -0,0 +1,6 @@ +export * from './Connected' +export * from './Connecting' +export * from './Error' +export * from './NotExist' +export * from './QRCode' +export * from './WalletList' diff --git a/examples/tailwindcss/components/react/warn-block.tsx b/examples/tailwindcss/components/react/warn-block.tsx deleted file mode 100644 index 6a03adb03..000000000 --- a/examples/tailwindcss/components/react/warn-block.tsx +++ /dev/null @@ -1,90 +0,0 @@ -import React, { ReactNode } from 'react'; -import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; -import { WalletStatus } from '@cosmos-kit/core'; - -export const WarnBlock = ({ - wordOfWarning, - icon -}: { - wordOfWarning?: string; - icon?: ReactNode; -}) => { - return ( - - - - {icon} - - {wordOfWarning} - - - ); -}; - -export const RejectedWarn = ({ - wordOfWarning, - icon -}: { - wordOfWarning?: string; - icon?: ReactNode; -}) => { - return ; -}; - -export const ConnectStatusWarn = ({ - walletStatus, - rejected, - error -}: { - walletStatus: WalletStatus; - rejected: ReactNode; - error: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.Error: - return <>{error}; - default: - return <>; - } -}; diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index d12be8a6f..58727052c 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -1,38 +1,40 @@ -import { useWallet } from '@cosmos-kit/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react' +import { ChainCard } from '../components' +import { Address, truncate } from './react/views' import { - Box, - Center, - Grid, - GridItem, - Icon, - Stack, - useColorModeValue, - Text -} from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { - Astronaut, - Error, - Connected, - ConnectedShowAddress, - ConnectedUserInfo, - Connecting, - ConnectStatusWarn, - CopyAddressBtn, - Disconnected, - NotExist, - Rejected, - RejectedWarn, - WalletConnectComponent, - ChainCard -} from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; -import { assets as chainAssets } from 'chain-registry'; + ArrowPathIcon, + ArrowDownTrayIcon, + WalletIcon, +} from '@heroicons/react/24/outline' +import { useWallet } from '@cosmos-kit/react' +import { ChainName, WalletStatus } from '@cosmos-kit/core' +import { assets as chainAssets } from 'chain-registry' + +const buttons = { + Disconnected: { + icon: WalletIcon, + title: 'Connect Wallet', + }, + Connected: { + icon: WalletIcon, + title: 'My Wallet', + }, + Rejected: { + icon: ArrowPathIcon, + title: 'Reconnect', + }, + Error: { + icon: ArrowPathIcon, + title: 'Change Wallet', + }, + NotExist: { + icon: ArrowDownTrayIcon, + title: 'Install Wallet', + }, +} export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet(); + const walletManager = useWallet() const { connect, openView, @@ -40,142 +42,129 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { walletStatus, username, address, - message, currentWalletName, - chains - } = walletManager; + chains, + } = walletManager const chainOptions = useMemo( () => chains.map((chainRecord) => { const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; + (_chain) => _chain.chain_name === chainRecord.name, + )?.assets return { chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, + label: chainRecord.chain?.pretty_name, value: chainRecord.name, icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false - }; + disabled: false, + } }), - [chains] - ); + [chains], + ) - const chain = chainOptions.find((c) => c.chainName === chainName); + const chain = chainOptions.find((c) => c.chainName === chainName) useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); + setCurrentChain(chainName) + }, [chainName, setCurrentChain]) // Events const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - openView(); + e.preventDefault() + openView() if (currentWalletName) { - await connect(); + await connect() } - }; + } const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + e.preventDefault() + openView() + } + + const _renderConnectButton = useMemo(() => { + // Spinner + if (walletStatus === WalletStatus.Connecting) { + return ( + + ) + } - // Components - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - error={} - notExist={ - - } - /> - ); + let onClick + if ( + walletStatus === WalletStatus.Disconnected || + walletStatus === WalletStatus.Rejected + ) + onClick = onClickConnect + else onClick = onClickOpenView - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - /> - ); + const buttonData = buttons[walletStatus] - const userInfo = ( - } /> - ); - const addressBtn = chainName && ( - } - /> - ); + return ( + + ) + }, [walletStatus]) return ( -
- +
+
{chainName && ( - +
- +
)} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -}; +
+
+
+ {username && ( +
+
+

+ {username} +

+
+ )} +
+ {address ?
{truncate(address)}
: <>} +
+ {_renderConnectButton} +
+
+
+ + + ) +} diff --git a/examples/tailwindcss/config/features.ts b/examples/tailwindcss/config/features.ts index f4e62ff4e..81ea744e1 100644 --- a/examples/tailwindcss/config/features.ts +++ b/examples/tailwindcss/config/features.ts @@ -1,47 +1,54 @@ -import { FeatureProps } from '../components'; +import { FeatureProps } from '../components' export const products: FeatureProps[] = [ { title: 'CosmosKit', - text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit' + text: + 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit', }, { title: 'Telescope', - text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope' + text: + 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope', }, { title: 'TS Codegen', - text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen' + text: + 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen', }, { title: 'CosmWasm Academy', - text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', - href: 'https://academy.cosmwasm.com/' + text: + 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/', }, { title: 'Chain Registry', - text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry' + text: + 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry', }, { title: 'Videos', - text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', - href: 'https://cosmology.tech/learn' - } -]; + text: + 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn', + }, +] export const dependencies: FeatureProps[] = [ { - title: 'Chakra UI', - text: 'A simple, modular and accessible React Component Library.', - href: 'https://chakra-ui.com/docs/components/' + title: 'Tailwind CSS', + text: + 'An unopinionated CSS framework with a multitude of customizable styles for the modern web.', + href: 'https://tailwindcss.com', }, { title: 'Next.js', - text: 'A React Framework supports hybrid static & server rendering.', - href: 'https://nextjs.org/' - } -]; + text: 'A React Framework for hybrid static & server-side rendering.', + href: 'https://nextjs.org/', + }, +] diff --git a/examples/tailwindcss/config/index.ts b/examples/tailwindcss/config/index.ts index e249d6303..4c2748a41 100644 --- a/examples/tailwindcss/config/index.ts +++ b/examples/tailwindcss/config/index.ts @@ -1,2 +1 @@ -export * from './theme'; -export * from './features'; +export * from './features' diff --git a/examples/tailwindcss/config/theme.ts b/examples/tailwindcss/config/theme.ts deleted file mode 100644 index aa5614194..000000000 --- a/examples/tailwindcss/config/theme.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { extendTheme } from '@chakra-ui/react'; - -export const defaultThemeObject = { - fonts: { - body: 'Inter, system-ui, sans-serif', - heading: 'Work Sans, system-ui, sans-serif' - }, - colors: { - primary: { - '50': '#e5e7f9', - '100': '#bec4ef', - '200': '#929ce4', - '300': '#6674d9', - '400': '#4657d1', - '500': '#2539c9', - '600': '#2133c3', - '700': '#1b2cbc', - '800': '#1624b5', - '900': '#0d17a9' - } - }, - breakPoints: { - sm: '30em', - md: '48em', - lg: '62em', - xl: '80em', - '2xl': '96em' - }, - shadows: { - largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' - } -}; - -export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/tailwindcss/contexts/theme.tsx b/examples/tailwindcss/contexts/theme.tsx new file mode 100644 index 000000000..45ab4214c --- /dev/null +++ b/examples/tailwindcss/contexts/theme.tsx @@ -0,0 +1,67 @@ +import { + createContext, + ReactNode, + useContext, + useState, + useEffect, + useCallback, +} from 'react' + +export interface ThemeContext { + theme: 'dark' | 'light' + toggleTheme: () => void +} + +export const Theme = createContext({ + theme: 'light', + toggleTheme: () => {}, +}) + +export const ThemeProvider = ({ children }: { children: ReactNode }) => { + const [theme, setTheme] = useState<'dark' | 'light'>('light') + + useEffect(() => { + if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + document.documentElement.classList.add('dark') + setTheme('dark') + } else { + document.documentElement.classList.remove('dark') + setTheme('light') + } + }, []) + + useEffect(() => { + switch (theme) { + case 'light': + document.documentElement.classList.remove('dark') + break + case 'dark': + document.documentElement.classList.add('dark') + break + } + }, [theme]) + + const toggleTheme = useCallback(() => { + switch (theme) { + case 'light': + setTheme('dark') + break + case 'dark': + setTheme('light') + break + } + }, [theme]) + + return ( + + {children} + + ) +} + +export const useTheme = (): ThemeContext => useContext(Theme) diff --git a/examples/tailwindcss/pages/[chainName].tsx b/examples/tailwindcss/pages/[chainName].tsx deleted file mode 100644 index 3b99eccd9..000000000 --- a/examples/tailwindcss/pages/[chainName].tsx +++ /dev/null @@ -1,104 +0,0 @@ -import Head from 'next/head'; -import { - Box, - Divider, - Grid, - Heading, - Text, - Stack, - Container, - Link, - Button, - Flex, - Icon, - useColorMode, - useColorModeValue -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { Product, Dependency, WalletSection } from '../components'; -import { dependencies, products } from '../config'; -import { useRouter } from 'next/router'; - -export default function Home() { - const { colorMode, toggleColorMode } = useColorMode(); - const router = useRouter(); - let { chainName } = router.query; - chainName = chainName ? (chainName as string) : undefined; - - return ( - - - Create Cosmos App - - - - - - - - - Create Cosmos App - - - Welcome to  - - CosmosKit + Next.js - - - - - - {products.map((product) => ( - - ))} - - - {dependencies.map((dependency) => ( - - ))} - - - - - - Built with - - Cosmology - - - - ); -} diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index a21efd925..0d15681ed 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -2,9 +2,9 @@ import '../styles/globals.css' import type { AppProps } from 'next/app' import { WalletProvider } from '@cosmos-kit/react' import { ChakraProvider } from '@chakra-ui/react' -import { defaultTheme } from '../config' import { wallets } from '@cosmos-kit/config' import { TailwindModal } from '../components' +import { ThemeProvider } from '../contexts/theme' import { SignerOptions } from '@cosmos-kit/core' import { chains } from 'chain-registry' @@ -17,16 +17,18 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { } return ( - - - - - + + +
+ +
+
+
) } diff --git a/examples/tailwindcss/pages/index.tsx b/examples/tailwindcss/pages/index.tsx index d9aab6359..a9a24c462 100644 --- a/examples/tailwindcss/pages/index.tsx +++ b/examples/tailwindcss/pages/index.tsx @@ -1,101 +1,71 @@ import Head from 'next/head' -import { - Box, - Divider, - Grid, - Heading, - Text, - Stack, - Container, - Link, - Button, - Flex, - Icon, - useColorMode, - useColorModeValue, -} from '@chakra-ui/react' +import { Container, Button, Flex, Icon } from '@chakra-ui/react' import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs' import { Product, Dependency, WalletSection } from '../components' import { dependencies, products } from '../config' +import { useTheme } from '../contexts/theme' +import { MoonIcon, SunIcon } from '@heroicons/react/24/outline' export default function Home() { - const { colorMode, toggleColorMode } = useColorMode() - const chainName = 'stargaze' + const chainName = process.env.NEXT_PUBLIC_CHAIN + const { theme, toggleTheme } = useTheme() return ( - +
Create Cosmos App - - - - - + +
+
+

Create Cosmos App - - - Welcome to  - - CosmosKit + Next.js - - - +

+

+ Welcome to  + + CosmosKit + Next.js + TailwindCSS + +

+
- +
{products.map((product) => ( ))} - - +
+
{dependencies.map((dependency) => ( ))} - - - - - - Built with - - Cosmology - - - +
+
+ +

Built with

+ + + +
+
+ ) } diff --git a/examples/tailwindcss/public/cosmology.png b/examples/tailwindcss/public/cosmology.png new file mode 100644 index 0000000000000000000000000000000000000000..4f09d4e6a084958abbc35a9b7fd892a9788e1373 GIT binary patch literal 18470 zcmXtgb9g1e()T$hwrv}`aW)&ijcq62-uHg@kDjTSd7hc> z>h8j?swPrVUIGaoA07YzAW2DzDgyw(p?|arEcCx4RCk%}zZ0Z|kemv@11pvdX0FeJE;J=3duK@s{e9-^y0EhA+{zn5;{`0VoO=1-Q5Clkx z3aNSk&-LI8F~ycHPBJL}?kFb8C>n`DsbZq5c18pwL_?*Fue*NN=zQS+&~sT{bk(~w z`TnQ~6xx@R1hoc56;cM2UjxK?A=(l{5=_n8KQ7f=<-E+>X_7`M@$wPAs@DGFzQ{W@Mq#LJyA&XklQTj&S?SiwV-MSH}>?BYh1lMK8vdLO(kbgdKI@dTMl(8 zddrU5{k|N&!75Xir%_c$vCsPf47-2s?xWnNZ(WGLMPGeq^YqDnfIOldL)P>BeU&YN+lnwe(zCIrkt6Urq}zSG8!vD}LZ$Sqq78H~A{ z8wAT=v<2u*`+WWN+(Y2kWTM$?sG>AOIdUe3j)@z^YGrxCvKRZJ`JA6b67Z>*Npm}8 zH?M_s-9Gi-k=H<>+XMSUi{0!E8je{vRs5N_8nb{QzL=T`wf!M>^n}%lta=Z)6+a<= z3dtgts_18kJ58W^3RC~J6MO05zUA}2DcbCzj4RzpYq{iIoqhv|a6%C+b*pa%8EKWH zim|`YjB|be?PILyNsAb;aW?DWH!a{^UD$g1pV3=-BQQ=F_#&3tisSOuN==*A#^)xz zi>zCNQ&+UHQ59#j`*q0O2lr2*pOE&{0pt4#Nd>(^&%({U=vq)f=1NXTc1S*lU5!6t z?2zQ^ZYqu~i5Hp}4<6 za&I9)go%)(QNsB1rh3I6~AKBM_ia@R%?cOHAEX{mw`^6G`6uxM* zY-CkZ;z|3ijifvc{<{HArCz4uMW&gRmu4@edMriP`Q~b(4!12N($)-Th@w(2)*=8p zgJ3$HF)g}#1tg|(z~bLvfFZ+N1Q((qB`xrRwXfWftQV40hGjmPqJaX@*XJsC?CQw> z3*Xj)SDrumu1dkFB9x_SE@K)(-VHp>jZ6}PzF292s#d4RScL4cs7qzf)SYjp#(ertI{)xjRYH7MJP37%2RbCQ| zgMxkFVS9_}CM>)tRaFB3s>f)$w3PHlsnIXdo!I=NETTTSb8UMw#6703A*hf4*=2$1 zO@h}eQ9gWS2m=Ux7*oG_&0WTF*hX?bQMjgnxR2DqQ}%ifQVRZE*OtAox}u~3zc9&u z!16HI)0yB{ zWWky#+ivFny4e7LPUD4%kpz3JY55xZOBA>E;#%cG#LaQbugX_`UhY3NXSb_0we$wd*#kovNf2nNMU z*x_%YoJkY?u-qKU3TD#E3)`?-;dul@5C3KCX-aG3KbQ71DEuHc{V={`>tF!4AZdLL-Y>gD0@BIO!F_mtwjh5}*Vm zCa6U53%)g^VT6k?YLY|{NG%&SS>EWFG&PL-)YZ=BkKG@nk$a@2rl(NSzJ6t;p;=hs zXz-dzfSQ$Xw`4Hmn8JQiux_?wFbQNb3ON)(PDP$ng4ItlZkr$GG@jg%!;l;qeKUw_ ze%BCDdLhRA7Gd2`p=KiexPRi6_oH}|_(#k&{4E`impZKd*54nsbO>CXMgAvYQRAW3 z2ywS_o?Ksc;Yhjzus_IG=f;Qh0dN692Y)diP*D?#{L<5_FaTnjR6y~A*=F*A)Ap%U z*4zf0Cj?)v;2P10H#Y&usj8aKc7xu-X)$*uoGO9inSk5|pA^01s2kvSO3LCl@d?b^ zRO5TbeT*xy3G?*b27Q2WBI1&7f^MNV-|stMCTi>;`tmd?$41qKk*4w0sz!&%;cwUs()VLtdCnq4GC)@xmD^n$=7I<_mNBWk+N(@IECcK^jAUH z3U9$Xd0z$!b{TRjkp--6D*=#3gu|(!^SASm1mcrh01ad5E z>D|}@Y3#G4vZtJ96v5r_ihvKt6bE;}c5g`UzY0tip%IU@Fwml8Z|M!e0jQY#`f7Jgs4aE#|VeReh{{H?QaKWM(h4gXqa5$B6DdRdd# ze7p3$X;CA8VVi7AB}HKjq!?@{#fv7J_yMV3+^&5;R>3cOYgB&c3Ta+)v*7to^4-`z zd6(j6yD5?1a_&jaifr{gx*1$X;{Lqo7wPdh)E)Hy>ezprT*bCzGh}4acE(W*j+4TW zrk6x}Cn2BZrg)Z=c#Urp2FbyJ(u3Dw1Usv4je?0M{CGc{WlWml;0)u{^dC2Gwe!Kq zM=uPtONn>nG_GkU@Swm#!pp&IvZ9%<6OP^4{SEp=SDIxxK{RnBycn*VMC%qsE9f;Gvo-3aIDM|2CgYakRPN3PA5{wmcwvnw1`&_$q{ZO z?6X5v^np;vzq^i)1*Ux~KDnYc)cqdjyDVF8S*prxJ;!=#FTRA(zzLG)sM(_#36iz< zu64}3o3Y5`upLF(ZPUm~3~@#@Tx=Wh;^QQKqys?$y+UI8>MFQ6UPY7iNVNw> zdqhzz-=J!9?;PLMWPGNw59544f~|YBF1SD#tg0_3GZwEtiBHPHRG_P=vNR}O-Z-x~ z(_)9$jIedI%=y^1e>T?tsc}AROEtp{1EMDaQWOLUNsiTgofJ%@E|7F!RD{F(eYJe9 z)ZqlT7;{a%xn$5)#q^y%42NRvlKZLM_B@Lr`wSARxrPv8Dh{T}$9PueB7U~_s?s1~Jg`0Jrs zjA5DXSCh@Wwo}fDk%R&?(b?S(I;M=16xsI1g&MbKosxpeOwE*bI|UA3WGeuc^mlxG zIyED_ewNuuSbn0WuWS^)#ooMKrD~fuo0=0;{D{5Z_$}Gy1N!yHQWwH8U1~hLwt`6B z->>HKZP&jjX0~{dh6O}lxpOWY0hv00BOO5OYaSU}nB8^2;nTdpkSohL-^~@5^XDdx z0Yl_A*jZ5G7BD?vC1x_y@_`1Ot5mv#HJ(`hy9;8zcD>HW{riMkZssmsk6~ZJPuV{ zzN7g(!Q~fl?zX<0I0qWCNVq;>dSc3Kclss<<3q=4OzyUNwU+oSnRU%swNvhB?OdTd z-|+KSFp#E=T8GvhySTvJTLFpPt6CO_bW=G~4s)92Itd1jXt|#qb)Z6$i^#?Hi#DuB zZ!=mAlNiAk%AT9F1OcSSAG~X=&zZyC_DZ8xrvz=gC@BZO6xg1Ke;AbQ0KA84`)np+S)eje)9P?zA8gMq8G)t{W4Y!J`H-&D!- zob6F@ZMm|2B@rO-kaNQ#Ak2Ug3fH=OAHgRVKc)Zb&nea%m@X%8x+}iU0cn8KQ;gzZ}47JHe`Ccf&+jClG z%j4wVD?rR5>5*j7=5h=B8}ghgR+LlaLHU6KR1(EK|LL?FtoK>l#i*fN_X9Dm#2Yuj zS9sjT&;TE(vtbrxIOPFsjbsKvlliS`@d?&o9h(zO) zL&LQejDKwCzd7RpR}XqJT!Kc1Tx-GlzSVW?uh>tmHrH(r-50;0V$Styuc`u1bwe!n zcsAxG!pb;^EZDT*U#*lJ|5*~9VXtPwqQpZVtTl{>7qGmr9^mx|r+7Gp0nndygmI@M zHgCs{hHLA%`{n0la9jRtmH6;VZsFY7z+xAkLGT3vxN`8pE4XOQIhd zwZyFnIpb)u*J}Y}6t`O0Jj}Ac?<&l)ub%S!&L{KEp@K=osZVF1iKwi$%nDpsB4<)q zp-K=f<)M{WVIvEdTXC5uNj~2>_{!~(jhJ;z8#$`@yFiW0er0y)iO}J>-E-!2u&-SJ z+HOzyF;n`j)!<@E?HsD5%Klmj&Y{K!a2xF%$3+T~RvFFr)EDV-J;kiVv8$k#gBWpu zIFJZw7y{E^fN0)Fky0qTY}YP3lpwqZOu4> zam!IKh5Tq~$p!GY8KI&mnLoq_#qsbv#0mt86eyJ#m@{2|%v?*v`MgNTv){>Pg||Sr z4J#?4Op#>gC)K~K#p3*GcbjKebX{BrgexH^>{& zX`CWKObn%Pc6tddH+<`VX#beDUnniuxG6U*R@t0Ys^rgCwfd9y7V)Hre4rs%(_e}b zuQ&G*UNvAv*4Iro!)3Z*PgZ>^9uy7J_iTLJM1_taR`M=17=4m3(vO0?#_k+ zlCWa31{dDPr5fFJlxX8A5tJW{%wSsGW%)la1h&IZ^S{8J+L#t=I(6f>vddMS5+3~b z3&n2b*5yPao`$fzuRRjq3BxA<1{$yUAok82yG5XvUzATgc;1S{lZ{u^Y|-1NBlZNS zndI?xDB3Uh)H6FpfO4WKkjk@a3S{dEyGiy_b$L^0*kfc=on<2L1J`z$N9m*iX>yh+ zlg72}9#4zcPcF^3yH`s*z~owbj~AlRa-qRYJkcU6L~ZRBlzFMp9H|{39(Ax*CRTQ_ z)pE|q-az(PKL(y%0bx;ZcL&xv{lU#mdR-a`*ye^qi8*5WDRxC2XmIDCx?;0fzhiEZ z8O~AEf>wln-WxU)*yX;MHlQ>rb&2KAgQq4QpJ4|_xK8~s`VyUFjVXw}0?w;L(f$FF zZy?yGAVn%9;Vw=(MmMY{S6fcAFe{Beb+k|OJy$eC8i?x&`x%Esa&prkaq6V!XZ1N$ z8(ChN4u8lrQlO9a&H+`|N5Aw+U?*j45|I?beM{z2xT1@*3OQD-nWLo6Rt9i~Qg^H`u$bPZ}kx%?%5v#%hPLa=xAwf0|;RB+A0w zA`T(e!3UXaf`j;OtovLS6%t4uX6tf*XP}vTtBXq;Ru0f}&)*o`@f4u!qwDA6GSch4 zbo4#V(F~hD{!PNyVxqMmBhQDc*WODvDg93e+AUUcVKno<%}U2JOsw#A_*hbVvrN?Ttup_T!k@PZMEg2EnYNf85dx$DIK)`? zUayg<=Vo>b0x@X>>#yJlB#zsT9E|KYJiCKuudPfaIQd)^tZjYOH|QwV7{9-IYeCBPbQYXoR#Rnv5!Dg zfd%`_?xkxxI(Ud@bzR9%C0W0piyE_<`Eh?I>*apk;Ccl?z93w&$)Lva^jnIWQ7A+N z2p|?Pawm92|AY8zwzE|DpYIz+^Qx~2y5j@2{DnD8^`O!V)caxbl}IO)-r)eFWiR6b zV}0Hq>Wa7g^+nVWS#o&fn9Rl&ouL{EmabojiyyNUZF*2C&JSjKcYUe z^)fMH#lQ1SI3wZL1z;$s+!a=5@3$_ytz3h*>d&87ujw1e=2GFt;t=$lnyDs;TW zXbgFI#i=Q;S93WKJGv96kKm(?CoBF ziKQeetOBgzizUBkHZlEiLVH)0oB75Nyas>bb%~0=CB9{O53006#qH~~$X6YN7&0(lzBi<(^Woxb+4Nb}3I((gRZJFO5FxF^o;48v+7WC9CSc0A4Ph?KKa> zTt(XypKVF49=~eQqQ1ujn~*{s0}iKwr9^yaSSMAheqSgRJxa}R1$)|w3qEoUAF`W7 z>;Pen-$L6c>%&rvA8NeA1-PovhVq$_I75qQrSgO~JUhnSMH20=X~)H^i>%fprlI$>w=7@S8E#`_ef@ z|1qWnL0xa$)-FuOUcheJSXwR#W}JAgm++NvHUKHMC$WR^CSetIh%=_s{rE+Gv8jps zr(D+Awt+ja`Y%-oxnhy|v^GqEKp>Ga{y^dw`V!A#UdT_=j67!e?SO49;wcNW&kh4+ z!~wCT^2C0K53<<$nFNVP8{`s7=H}%Vd(@i9^CM_t;xmnyX)y2V;o#4Uo0qXY(tBr} zQQdVriQ)b4lW|*1?1=NL4J{7pq%VntZdgC-0<3+bV^yMV*; z-gKAc@0}pWp`>5>-k{gG;rn_{_r6SU?gu}vm3hFi4^IG-ox6v4JQeqZ35m;iBbxB{ z-t>TaxAht{OSgGj(|n{Q9T;4T&h9r&cGf;SCZll6r_l*=S^hrYk#5=k#`%dQhoBMwxO2Y@&NoyYz_dYviBnFSjD13p(!1q!NlF_gmuOs|tY-E;sU0O>P$_V2 ztOKO%>gUVNuz0Jwe5GCof{iHT?Y~BL&G*!owPZ)lJ0QFNEF>WIc5oguEZ8e}iu3w( zi+jBrI6D#@=rTcwX>Av=jG&oiaLT!JC^S*qp^>+mJ>n0ZZSeLUZff<45yqW==(Uts zgPp1?fRY+@+YF9sVomrbKY>ew71El?SX`_RlOxp|ie0tHw&E}}&$CC3?RaI@OrYsd zun+ERwC8%*9w(A)3AgX!&;t{nZltASQ6HCJ35H?-OVkzWhlj2c>x;{NLqu326ofRjFwO>)+-1TgC8xKEqLig z1zP6aJz(D|X7V8Sx#&Xz<@3_9CC4)$kX#MRw|S~^4BQQdYs6>WRUwZ5{f*C%>tIb zV4(jzYnM=I(z5zzdzyf0GuR@(gQixZXo6vj&$Zz2}vcJ+oMYR2*sG7 zriHgrbepEq%Z=81yg|?)n^HUwLz?OtMLgqM7B<{0rbb8H!$2r12CgGL4)wOZ9dle2 zyM5HPUN2C%T$ZMwy@m-9_kqE|aq?DXtJVhs25v*dn>xp|^{$jD!DhM3D%NCAve_$= z%(erDV6l(ZV53)ZNiZuyqF=~^@!-Zqa|Gn-CmHdFz9$g|O{omYG7B1cs&2EifX)6C zND)wmv#6k!+Z*T=dGquY81Z#-hCh?tqV+ttRPzi20ma1-;f5i6k5`ttrY0S+Cu>gR zZyK#7wA@wLAXdIo5UdJI;?^_WB;Sx6pkhSf8P@QcSp-ipf_o8~U-^g9wer=}kz+_p z<7d%SRzBTn;DMn*IG0RwN6INWVP#8du#x>?fdE612zQeEno8|?liVOQ!TQ%oJepCT z5QV+!pzmR8X3+0^J`^{6h!DOs;!^4AfgL7#Q3bWj@ppba2cdnhXE$w)um~&q!4K^h zXlsKCl9gWI#wV9oIH+uh^pvGaTQ?Qz;>E?M%JD2q8{1|@yvDriEz7Sy`~z+ySaQ!T z+@(%f9BXdO=%MGWg);zTJvc(lR#Mu2$T-?g?5;-R_?k(+YUfLJomgHH19TXCg$x1n zeN}d8-w@_vHp~PsMSEn&itKWvCqrwfA3G+~8$lwR zQ({hpoXO|5-_Q#YA;H%$wedH$`L_Rfd#_!hYk=>@$hopCRxRDEfUcTN?<^7Ux*gLW zM7f2~G77n31M1I=Z+5js+3|K}SO!mdLLh$1TqZQRENlS36^-+-t0Y~w)9gwUR^Lm9 z*xHz}a^l3+BC-CkV9wB7UA5~76^lDJ0(i911La4=H~OoCn4rZ;rxVqWdH0Y63!DVU zWPjZz4r(yk<+SX1Qfw1Mv}BJ0S}H!E{r!PHZf8HI<28}ys3uh}- z{4i3Oz;VM)Up zhxF^Pe7xm4JF5l%HgkMo6E1FnE)4)FAgHG=-J&$HV!F#q%Pu;sHQ5RLafYyUS@jH& zH0ztb%LWR@f`w@9Irs6$T1(qOai!*WsnZ zr|fu>#=+V+T7UWo(n(4@#dQo_wo3bcT#-vtaK_aP_C}DEz4BSD zy=ruRGtV-iW0Fi4@bavM&f|om$V~Fo8^B{f46g%x0kIzgyq;+KVgbrQ`O+!ff2mp3 z2C6I*MA7>wLMchdjFw6Bzcxc3vuRa6?jsx^t}&WXJ-FX5p2lw&kl^|)#b6Y54^lR( zYG{))20+YT4h;JkR6jm{M&Yb6IFO9B{4$4^=*|UFTzx&DipST;y)|U}-Emd}h5Q4- zQ0!B8;#C4bfqzkNSv6ZNfgH_iJ0DPhE%6O94{_Dlu+!`QUzElmaThH`@A3K3I4kc*1yoA+2L9j5=Q<)a%Ow4#wPP z+oL*7x+rPc4u7MM6SYYm0ACb4*Jx9(kP%Stc7l!la}%6WfHT(cHl`wEfRP(!!K!fQ z(T@&jh^tbt&A zd>-{=)36IE1s3&k&B%_^Dynt~OO?H`GDRFk`h}*wujXQMQrPz;py+6mbiAc3`=-^~ zPhSWFo)$7m@L3@P2B2ict8JPLh^=TwN~lVpuC#LF3vk~zW!6KbA8L8v1~7sh{E_-? z-Ow+Zj9M4HMAe9C-f%Y*7|z2a_MI{G5D0~_dnL{V3dF2E{4DMG{{TrWxj7(l{{?RR z{~n6}{in2F!8=3L@rgDXhS|Oc9mlR~AHsmSKa{fI(BMD4>cAATHH4p z?Z(RmJ_}c-yON%K3B2Ywue+o^K93XZS(a^f8Py?n!&H9E!a*dCV8$p{>WKvbyfAChPz{9bfhYC9ot~OltkF@ zT2b}&G4L7e0^A~LG|iS!xvzbD=sx~SZcU@j#FWwE8j9Op>f8_}$_M;cKPBC#zF@|g zD}Fnvbr#v3dlU92WGh3y^qP+QZmDK3qc3~>;lqOK!w+tO7Z1~2P0CY7>)*4c&Xkn- zay>J*?IB{`CQ9~}UEsc*1^0gK2b-~%9#?V#hgNabD>qwBA@Kt%nh08SBgF4m`@aeX zi8*dCi`L(r(8_-of=e#oA!SI{Ik1^fAfw8-DQc?;+jyQRnmlr@KD^)2nA5Sfpt7p5 zTF`l8HZ*)&hjfuj?NJTPPbGiK;o!j=@TgcZac`!z$yV0Bl5#(K^R+(uMX-j#`L3#& zQkJ}5dmQz3@5FX5W<>wyAZh`hMdueNrjqid?k1?7fo7-MhhSPHvk=C2Y8oyKWwy7^ zWAj+~A96br=|IR?QHvw;X)x@JFm{gq&1*PmnOVW;+UhdpubN$-^EMkL5krSH0peOS znYv5XI=hpI$3#SU2`5jFWc4rTn1x^uW{XjW&P0WZtvXY3YETCT^2`*nO;nmif-<2$ z=x+#1Uo0j@fH+=+sGe|jGT98~ZKS#G9eglIl=^SNKxINF$#DtyqR|0(_)a(d^|ITQ zvW00g6+jZhrnOJDe^6Fwh$HhZ*DFe7^mBS$xutb%*C*b&+sg}}4TURq`RjTKR*7t9 z7GQS`q>vXo2`$>R$wAxs1s|hI>$_d&aW-ZK8&}|wj^O(=fQ}M+)aSMN&k<=aSe}VU z%@Mi9_m$sZPLf*hadj79zc2=yVm7BI&3xSctj9u_!PF(m9o+%0jj#mFT4h1kfqw_h ztzfHA6XNFKYx9eu)X`06H(P$)IkQv({=QDkhpHZEB?}~+lT(C5ENm9V=q2k#j{GBt z99gKR%4hD^CusFYp||4nsWY}dE#?@56XTd0WQ*ahir(gAzzE4*t{~lKv=_&-Y*My z6jw0~auf$dm~g-$3we4xLsnn<0Gp^K!#f;q$$aquGhQe!%%(801^~>cOwS2BeqtDj zU@j_^V3?OKNRTe&>j|`a1M@)kp6vI{+qGh`0e2e z)%n8p6HAiNp(U?}=1?Y}g~YYb^&6S?R%)>sv8RXHIY>oG$G``*{s z@Y+5PSG5ycBF{faf94Zh+mjtEY$9@wR1k0+In4!!j|Pc1`Y(a(VuCf*UGp~Ghf-o6 zXO#N_kYW(nqtitfSXA2Wyfs2+pZ99>HISTXIef0j;fv{}<$ST+`=CrfDbu)LCXe5Z zgm%@tKY}!jQF-#}6j%PR$NSvzuUjbZFNjkfDLGJexpq-RU3B<*B)V~tZayBDx@Hpg zNcj5Cyz8T(b~AM1(E=QMwHapUF{2^RrFFBxp!NA$|Ka5{O{u?bG}Ai0^YxaCP;8C7mt2 zLrusB4+V_h^{_?lg(e08rE$8)MDQXd^=G(%NjCt+2ZRMgT|M8QhxIc}?3R?bi+uHuxM7HYc*!8p@Ki4>EcuyIKq|bD2KTbxG zt(d641!7&qp_O=6!Em+&{LEAnYo+%+yD`F%tU`oaPl0-`=Vq7#zrQEIh&M<#=(+RF zlcChyk2ykE1PmVitkKV2m*3y{AXL^><)Iw<0k!&IyXnbPLoDY^xdFaPX=@fn$~|n9 zgE&9$KR6SNfWsvrVD-PFpqbEt1RKC0evsB(xBxW^aYTC;SB_LPo1V#I@F6cLrCC4A zVQ4>4CG06+F&iu-iG;^!eYBIE%5wYVJKx@K6*}%VH+uA5F0`^}c`}GzBGX__YY|ba z1uCfl25ZPgeK5$ZPUlz_9Rxk%IfEt62azmLFj2fyD7X_(TE9!2F4Bhwj7glV+}hCa zG~FPjP*-ps?nI(9ZI+1w4!G6!9-Y^>dN#3Sn!SKF`YrP+GjD{XI2}b>4e5 zxxaa{jn6<-qfCbeifYe0T5;#>%HICri;;d)3cN1(xRns_dF$i=_SEAdJwsXE)eWrM zOi(#-fHDh3%6G}~2%j6$R?@{sBr1Lm6518R9`(k^wE{oGb`lsE#B)6M#}emR{11IV zBM|*e?LM~DXB=dj{tF8gA9cN@w}*)Qh9^rcCPUWjj7IKcirY!i2=t#a_boE^a7-qe z55kDw)*cECPZ|DMKT}a^{K%)dAsx5_8;QuSuiQP=uE^f7EJ*7dc0rR)|KP1*`u%6O zJCWE_o8`^%BA?kUlDf^LAMTU?=9X^a+E3)S4_+=yW{>q;fqRD1Z`W7EM(ba5I+RdT z`VQphRX!BLc)SUD))pc2ffTM45?(mr^F@QUf!7rUDRd}rM@_G+ac!_wKm|3VPBqkf zkMepNiDOz_5cyFQwNI1`I^PRTQL@3LMARFi%zMTIE!Q1bK#QaOauKV@&)IDMD8a-p zWCvnrxM$uS$*T`USe{G$vc5!8`pwWQ+SH3@sP=vQ`YY~RL)bY|3U?b-Y2@SbuVej z1H=+avU)oG`wid!H@p4f^TY8^Z9gM3g$u4N(JW3fd;{Y-!Z4Nd5Vi+#X8~m5diwh| zj05+L4r>g2YroP!I4TgI6J!u;Hh}HsI9`!i66fDWOJW8qn5GEqq&(A+4y2FweKk7g z$d2N@rP*WFEFB7{RSMN^AfXjHVd6Nu`Xo-RFPClpmn=deH71WZ9*@GBmU7TlR=VX5 zS1GE)PEHtbA_`c11;jZ~`o&xl_!oPw4D0b_Y^$EW#$Ua@Z?XsH0JHujLM|eO$CnIF z0D3z&u4B#^M2pbK)aLm%UIhc7{GxCwB7PyZR`H_lfY-w;idyb@_wX3@jmhK~2zm}Q zi~4ZG(y&ejzcDZMy+2cJ@#Hnp@rI~o8+byDc`0w)u!4AGzs$fyRLs7SH1$D z#S!td8Bnt0>#y~=9x8e0JF%|#grl+Act=qp$jp&AH2_OUelTm*d|Q1F>MJ{=_3Htt zXx+8dDTaRox9|2xrA13SWgmb=zEY}m6&t^7JJ9st78XbC2>J-HjYZuuT=Y5LnByp@ zm#jL^OT+W?$+F>>K0Ofh1nb$XLsC&I`FTm7fEtNDi<^t+GA!+gya(hxMM#el_oU~2 zKGwdn+q6L%-<9FJtY(fs=+2NSJ%f(^DxgZL`K=PLn?>?*>qi_Tq)X&gc(yZl`>8cg zOSM5H#)UmU)~y;8E*RjWr40C$P7hBI@Bum-T)zj<>t<_27To`tj_t?R*j17Lbo~m| zYw@*iq;1$@G-Cac0JkHUC_#Hg6xE$}xP?>V&y5@Bq2(d{l-;-Aqm6vdE}Xvg~*CaLPd^ ze#Q)YiHFUgyQPX(nDbY?S3RZUI`95tw`E$7pY@e$?P6!H zKV}M|R@F_|>!>OVf6nRPrACd=tE+TtE}CQKNMY6;)KN~IaOJled)QP|f!vDetE4E4 z5(5uEzN}BWe{niB?k*n34UNnE4e;#EjB`%v$+4{;kOtpcQX6)S^XZ4aD3wzrME6@! z9hE#-Ey;!|Oe1uam=9Gb@kCWMwF?*LL7~zw^7h$r))Z{yg?IcJH&ird z__0;zEqbY368;qPNrkP*e!G&#iAt_0?$CxJK})SjiF#j`ERzKi%Q8mxQvRvyZe)>N zdhfsdu3luNkZVmzCzjv=S$F#R&GAx>4$0{ssEjxGU0)FSnk!+=7z! zt9mpAH%(9vXF5$Ekg>VmAm;~DxK+v|l-L+C=%txv$EA*?=Odyv%aEjwxUKLNMO>qH@eQM^e9GxUbuFF|*G}cS zz4vKqszQSMAqE-pbq43G;BeZZ{@30RlQPjjgiIE?qKo(xM{7^6O%%(Li_gvJqhUEH8{vJ0+_FU5noa1zZ)LUe)b`2#3hRmtixtWXC z#Mev@ai+piBn26{zJgu3Hg1h{1j9Fi1FTsu0ZAlYjAUwm^T^F)T5_3;002(>6?Xgfe zm-*I}RXF<|@s@S=#HZgi7DtSLbpN`LIz5v~^}DOKqY~o&=(>J=-MH)HNI@)zSvu9L z;sq=9aH8L3dH~YNG14cT&@2{$Sm>Rpag&E&Ra*pV}gUxc;5M-P$^2N#3 zI{-7pV@CYp2pqVGm8GvzB>L3$}5gDzUI~YTF+6^ze$Yr-z}5hVE|`i=1X{m znn->hlbu^&!1MTmFqt*pY`=?kWX&;3*zHc_oAr2@@qNdD8M=cC1*UvFN8BF%Wo#YF z{1(GmI?-~}*+b_=uV~B- zh8R7tFup=*u&^R<#O#dLv+KEo%HMz6ecJSk3-LkvAMAcJ>}g7P=S`xe595hixxdk|?ZUpB6W)gQD&&Ga0eSyW^JD*=PvU z)lS4lPOi~S!PptX?M%N5U96COn>`+}`3BwCyf^huX#cW5d6FS@E%(vQ51ywuIkk2M zg#`|(`T)kx0%bMR^Ib#Y<-k4^VFFycC-$aZI}Fu#&w_-5i^ZlE&?~7%WHYhlr;va` z5=Zms@|MH>qgewy8@KMIkyaKZbocgm@>glcr?xOg07S$j{Dk4 zJz;wdA8!M9ZQGbyo*4M6-bh@2J|ORI{H*#fUiSR)`rVJqdLLY_PP=nGmMZ>zj4I?u zjpbe9`6-AlnhOrbVq+`IPp-YK^$2lWCX)&lOlCf_77miodJT7o&Tg>FhQ_o>;wA_9 z?qH~hNmv9gz97bGGDYg`Y)k+5^nvz{?W~+=G?bAr@-sPQQLKxeL45JLUpIJn&I6t= z{f4pK(AK=kf7>|SlG_e{1=in`BU<6UY3_?|D}U8%Vp+s3ItsN(tE=OGGw;)(>YN&( z1@RqsVC1r9V3lyae-|~@MZP}2y5U{FuY561%-1u(;Oqd;|x3g)uM|5=3sOM)EKq z0L;wRI}9pZdY>>7tMb6#vayH3&-pMRYdw#iBnbRzxf6;(5sW#z%}NLNm`kYZqnZ!YA#%{w z$gcsr&afc?4-WYG0O<3cDC8nWS^6S^8R zWgTX(=zfiIS}RaFV>qy}STN-=ab7xp;fJqFelO;y-yUJ$NHQ*CUI~HrPTmvl&5BFu zwuh@4Fh^vS+3rAV+}rV@XWJfEWl;vALW%{g-@F(LZ2|}33yF*p_nP<4^%0kxrjz(@ zd3T(QO_KjVK>^r;1S8Tn40ec96QN7ssslR(_(^7ygm;r~ylcBDCI`q{=2_Sjv(YNO z*0a`sl)W0yLgHL>GhoN`i!HAr|Bz32MAyfVu4B-o5vup}7=ivMe0f;PL0NseBZBw` zgQ+BtCP1<)i{16I^LMMWi3@ltU%yLSRlm}x?a%%E?A>^0;TfVZBP$y_5v`^cZ=+sVEJ!DBz zk5Fi4HyhHld2)(B)tD4i+O`t6MVN`x+l_?eL-J!|REb40G}uuXa-bD9Jm&KumF4CU zehAn9&oZx1pktW1Y{j|;7c^BdtSs48Fd~qix^-lZN-mP?zRx1GQNY$>k?ZZYc-MQb zQ|q(sC3xd|6wU0%2AWKV>hg7!fZprCq#zIPV}dG1Ga3-&lpVmx7{-n-t;T8Hm{-1; zjqvF{WG^O$@vE3&`oDEPQa^w`6Cdg{iw-{)e#=|c&-uO*L*m3hZtGaW$zby*^ z!srO*pq5Y@43(r!w2Zpc{-vS~_*8iK zInTc7?CWZ~^EEle3csI`L|Z2wB}6ae12XC>YGYo;WsaTKC4(Xi>;Fom!^5DiLJK+q zNuZjW%xvVq{RK=HUqCuTD!&PiSC(hH&Cy5g75ZQ*R&}@&cd>sQ5)h%va+52s$g;06 zxj$wnCSF``ISq3ac;i{1WahM2WX1;yl|pvU4uM%48OIn5f#fqLnBSS9T0uTi4Y*z* zB#hh2xidoVBVhG4WMG|C_!f8DRx2T(4J*A3(WJp1V49})D#VXWYKb3{50mA%L?E%u zfqMvC6WxKa;tngIDdFiD){w#0>xKnLx)o8EO6^L%C=6+r%vMq5o8}E)X6WU z1VFS;6oP~c;bG_%`9vOAS2nJwcIEo$35eOm43bDJzriSt>Ll+u3x$V+r1^gVI0wi0 z$V5)WrCf?g8pZL~2&5*j@XT;9zgY&!Vp;==+>GH(9KEG)0`k@~e4vhsLz)NjdjmH6 zf#+D1pGJkr^39@6`QSCn7cxay@KS>5tolnbWzrs=I_lhJo%yNcxxQ-w*8;8u+RFkZ z1(mtzY%E6Gh_6ps9L_;S%l0k~g872$d=okm8x39Cq8oY^IyOh3_jWwe=?KW7Xs~UE zH%S^A;8$=&+eC}xxPm1GD=$R<iivU$<-+cmxGfBy{#ynzZ*KqSAk zAwhtEgXrXlf>2LX@+urWeiae~umq4mX%b`_`6-WZBELwLy+=Y4AyUevh?E2#N;1o9 z%&z#T6hb-TQK^J`l$#t&g>J{8_jeq_K)0ZnK3L>@pdf|_5PT$#G>j}ivOa{eLPwd2 zO2@szZ@c835szN7T!?djTno4sa4m4aSO6e*6`He9P$ccSmJa$zw6P;;aU{mn#3IRn z`nU_C_#f4wz1*CY=Djv5Q;dl`V1L>T%Baoi-ZdfH3I)1*nCAiLBvAwb2}&k#P^E!D z5`+j0C@u|wAy^rp3Mrc4MTAJ?5#9VF;0l5Xg^@ofOJ))2vV6%a^HTYeLFz&vfhgI(Ob_30W|SwH_DP>dCd&V;Sr%ugjy zSn*MsQD89(@i7%{9R6gYwxgbO2mwbv>>4fg(yi_f9;3dmP zw0McIS)A*+7H}=#TA=MM;PK$_5_}Rbk&bC^rDSEEQBZp7x%!0|3LVOmm5>&-cKAez4vIO|x z+vr@YGm}JF5`YMl6n|qLDol`(6a*?FSOlo@g3F2$=&rC~uk;R3+So>vg05Ldl4%0mDm zdRhc1_>+7@C5$2PlRZakehG-$YE0_>%B!ax%Tv<&fcYV0saJf^N#rMxqEZx{%2qTg zgVI#FqCAvIP7UFjWd-w#pPNK)c)d~tmsKyjW*cYW6a zt_55R9OxD(Dj)K{j%Q@|!?!&rp)RxW7xM`+0K@O`_mW3vmlS5@3@9ug_9C0Z@IBPT zI^Dx>Lz^D*eNdh2(-JjQOWG1I1}(iO;tg;1tUb0w;6`DQs%oksmY zZY(#rl9iO9l*R=)6czf3B$+Nt1&^-Nr?y_i3fG6PsyM%j^105nfNKHQ0td4N&>>)p z$5-^Ouh)9$9=#iS2i-BpM?;zT2shh}R&obg=N-D?`69n;NSl51p=|7`Q~X*0D_mIy z{^k~yXD4*YBVj>=`*YV9PQc2eQh-vwh{P}g0f_)2iAKRypF*&}7D|`J&=v|*Vpa;% zX8ruzDQm+-*+w5caqh8(kN=bz{3if19C&Vmm&vWlCm;Piluswp&_WwgxWGPDez+f$ zMXaWd(r?UF4Mlrr59uk^&Tph_Jw;MzBP53jlF8dR()9{q2;vPgGwzVyX9ouXh%r?{+nYJ4d3d zOa*=@8Kncv0B#cB8p{`YiFDFW>L~iVK|Lw2bV2=T-wtC-(M|mCah+0M&0Uro(rs7# zuJ2mFwSa2@*8&Hh1sYMop>BWf`QHJCPy0EBR?%(cogCOqP%_0awhN(Gb)C)p-3^z# z$)+{(So&L6FUxgLt+CkB4Z0R^E#O+>wzmJ&(8`qhAHJcJ+y`R$&p@EyG0>|M z^yvgWI|4W}F}1iK^u1X3`U84`d!gqy(EAfTg;gDKLf>_h<_t>gGUe8;v@74WfNKHQ f0sE~7L z>DYUBw;ApVAc8CvfD{xXp@4KKAW4CXtcw};rdN9=>?d6Wx|Jj(E_$JxZYqcChTYvW z1AFT`0+hZXFY?6GrhD~FINkG90;%u?oi9rGR)vEKd`JPit7nG0CB5JPk2m0afeT1H zY#olktB03%56=amikK=Alou2URD~)sP-F{GfL`XM-LL+j1NIH*ZrI>u^H=?pqgK_L zsjlw+nBmW=NC1Vi)(|LYhktV-$+fk&ZBDwo|MU#A|CMB@VR}9=?T65Q5GsT~xUsk{ zfRbX{jwH!&9OvUW!NqwvpCH96Ek-r0{ja1}AX`f)skY@vlFp#iP%faT{V$|iTWj6@ zaGbz!4CCV%iIa-{PXGp0uf#26WocgWK*;*%E~DY@s(PNnZI-0u9tBa9NfTOykY$ts z!QGj-%F=G5P+W2uJn%{Rp4IoG;0mnZV6aai``x+SVhZcx9=&>RMu6PSyb~Vwo*nA9 zkn9C;HvS2T900r(55Jf!!AELY?Nt#9;kWPqw!PN{fN~@<)G@G;oOn6_WQ(|uRvuT- z9D@MmP^2Rz<*@r726tayFs;us6Ir?RwCk1X7E;}Va%+2?Y`IO{q3J{I&N!OiSF7-6 z69oE{~#4>$6-ec9M0T;^!_yWPH{=O zpkM7+c$O(-3Vopas)d<^guzvBu>@-A^#|vsZt4-$`7HqJ4nU&gDSAh}g;;WQeE+=G z#_Ci;EU|o6%f4VDpnG3{i>n~^u5&Mso#u9vlD$W7=4Qfz3Nr-#XG;PA6CojB<1zKt zBsynn03h`r#g0$t_k^(JzA%vxf|Bo3Z=H#R5R`nMdPCiLdIj(vAbHwvxUA>Oo0aO! zbRln{yED#S0kewInZgTVF~A=Q01}b_DBW~Io_?uV$I%&#mLvd*){!ItiUt~btM6$> z*;r2%^p^Ds@-BOJmb0v2A%IH%<5;MHnM>aQm;it;>I-0@c(6CmQ6>Oyh zs4vj1?SFb8|Cxic0f2lud!l2bO9%_I!Y}BanVMuka&!bhs_Svz8vxQ)0N_mAGb;7H z0YF=UCB7F@-+x#b02PGD0Q3&PnZ1|Gm@0tLH=_&&8xPZ9DGT%l*;1RX0hN;GWh!TV z-H^qxoY6lqU=;B=o0+Het^Xs$2y>+5@lK|0XX_5V`Inx1b7rxT99->e9dJxxbn9X6 z0MtjN5(3BxgHe7h3^UvZ#=iL&Z#xxkh(9yaZE+ut7tqm{{ja?l?qEIi4!FfF0GxpM z-gnh!x;lWc)GT>{fBH;ZaqR#c!!gvcS_J^&Muz~la@UR+Ky)>tb##nwbiluJfd4CU}gvpFqCV)Gk zK}u*4xVM_UrhD|wRRA1R(Ea?nMMWhE05*GBCS@KT;K3A&gSL?*DG7hp-7~xQ0EmbQ zz_lHkelPgRQd7&>e;^YmEBdC-X1Ic004SgW$XNwA04h^Z7#SX^jKQrumUXboE3Q;( zd2q-oC~n7R4o(b8t?-~;sVpvfQl>6*2`RM#yc1mjZ(s7@N~Hx_z2cXk9;md!nKvjP zp!$db0)kIUE8IzL-V~LExFC1b5VA&yb&d)cn?$2RA`+I6 zVl@}kyR^jMXuyPR+p@Qf&ii@4|Cc4(VJtHlXa!?2qjmU%bK zQy3^iCQLqJTl&BE!Gvwwu}PB7`+2`VBGQ@Vwvl7owr4lT?0Pk}ZQHgztHvyC+Y{B9 z<;sexjEMjH-iHDJ0Em-_jTkFZB}62YZqa}91r-5(qy@piejAZ6-@*a}M8E*Wq+Qb; zb98Tv7?RuAV14Ut0{AwzE!(zjXRdRZxkCTlB2D03!rYg6E)|J-*3r?Gif6!9HaZ&6 zY?#2526ORgOKmKQZ4$kG=LYJ8B!|akDFW#mth6^%FCvTMCbuS!q8pt~f}EfI!q(2#513xh2g8_C2C`wFeSh5KKAWwaN;Gex#^TRK%4fYQG zGiH53busL{gS`u!y|B*)>^)&g4Vgq~LYb7(B}!8kSt|SX+Ii;ae6WF7pqESYQ|+kx z%-ZDk4Ea~au$F2oA(jb7EH!vScoMkD3@%RHiSCxror-QLTX%z3yMutbn5GQrNj zG1<*a>WgH2Iji~WgZb#o=Xv_Q-v#84wO{1dO28BZLVzgp)Iw79 zNCA+j-wB>A*2M?IdV!YfR=%I_{=w)O%Q>Z;pQD`5WZZeQN`x^a!HLeyO8`b_?$+-^ zBA5;{PuwEkvrx)pz9(!tOB$D=@u90mf!~j%r`Iw%jU{0zqa->dps@&SWH=Glry$A+ zR|7T@yh^FMovSK=hU-#(&^(&+{(mdaXDYsl;dXAEB^VV>IXZebtmlzOX1ycdnQxK9 zibCZ3j+K!JU>t^EdxFNL`r*UH+p>9kgMjq0@_Me=EJ&n7M8_@)%wvPd0b3cFiOzlj zHs2C9Cdl8NK3OIpx%TAy|K=OmZ@YMx$8#xPA%4kBTvF_^MUGPj>u~o9cX!+|JB-}R z-780!cQZ0!MJXD2YS9TIk{v$U$J-B>?#RYXkN^G0!<)En`s_$TGSs5(nPI@{kxvj? zL1&-zsYR{Z=4>GHCk>CCF%Af{TxasVeeuPH&p4t|;4g)LBHT79n{Scx-6`(_HfJM` z+_ygS?0Fc|-1>3eO`jR=yTR;J%Q&29hTvc-ugYZgnRC5B=L_wVFzdZN>-c3riFym6 zdu}s3vu<$mQ{>2}(rn}j<1lWzu{mrAO3wxdWNZ27x{~kVD=!%--IzuB$$0*y3go8U zT<2Z*wgJwzj_iisF@ZZKK;-Fm;n+834@1idw7?FA1s)34$V9ck#~02g^M=;P?49H9 z3v!kOEyC1l18aCP25%w{`=t!6MqJyXgEM zH@jUk@{MkPBjd;Z^?v9c=1H$eAayDkNFJmO~0w9P6 zlxEFvYX)$lZjocF8*u}u`38)`28dWmKaPIC)eZJFBHzpXZ?ie?W6r*6)*emg+L%7u z^fsM#=%D6WxXbv4&%4+n_sm_Nci;x&=+^Hu(+wiW7Kf21jKi>c0|v08yM=LjnaKY? zo;P3N@Bd)@6esWSJ==xsC*zl>W3}2ErEP_=HEYu|&DvoUwsDAjDvTUkO%Y&Pv}_%N z&4C5zLWO&O!X`&%jI07vrx1MbEV zV7kHdJbjyeHdAI}E1W!T01P0BDy1&(GUxqhAHVyGfGUH3@&|a}6%%DZBuQ8-qZ^`f z3v@tpwPr9IxSi_O3`Svt+2a<78?>;27B>Jf)(gY-eWZTj1FPB3dSLASSq})E*z9<{ zqs)QHeXV}b+uy79b01C8QngWtO}Pow!)LGHvt?1ZjXUnFllx)3QgAkpySX~^ZuUGg z<1p`LKQiwo5Jnk?Qx6-5L7wQ*tsen%gJU8e6Uo2E{f9+B*wL~p%HzC+TB1dq6KAYLCcA5932Cz*${)(Gt}HDnPWTIfF~K>WaGr@DA$T^2M^E8Vc`9S zanm^F;fr7c?~X=W@sT+J%{T#(PnBD&W2m)kjDv&X?vN7h=l%(*_ifrchntbw>B$l$ z$}Nz!@6z}5=zFz4c7Lo+eOa~?+QvmI3UmuBSc3rQT-46R4y+Cg?jV4C-;X255n%Qs zj6-Y?6-40Ew~FQe*BK>les`XiC=T-x>1}Tp`oIq z>#{=(w<9+rX-Iul@h2L+ zpidMiv9b9e*X=e9H0>aX;M2f&Tmj!N(7Smdg-ApP7Y)9p=sJO#M|@J{eTc>^OOa%U z2w^D(a9cNC@Y>=9$pi2O8*Xe{O5czIZh*URi1>oH-zn(#C8P);f=Bo2qi+1?mX@D? zdRK6+uXb|T^OKUiFY$Nts&`rLamk*He^delYXLFOB~eqaSrjjdi&X@jnRFAK#mh$P zIBZTZOa1C3`Ra_|S2;kdCMdjwU?nI>D0Ac3Id*$6a#LDX3A}vk)w7%r*}6M?$sj32 zF2Gd-R0wVZZY#Z8UDZx0}%k(u?bL5WL;j_ zL^M5u#8B`Z5`^~=#VaIE2*4Z+!!5zEgqum+7oyc~289j1skd=qnc6S9cLoyNSqI$Zm%w#S zdXl07Oh`b)q~J^rVSs|}G#MB~R2*_6gM+Wv=o6hyMqvE?3%)7P8-&i82j~K@dIMmN z!4c)6%rfq{L zR2FY&(eVmk{o)(G0^&PZ(n&2sLbNJx>P=(=u%Z+N)1sD%+q(6#c@;%8bkpnXbT16P zE<@%T3~u0VGJ(Y+AfA-(j2n31e*j0*RnT0sug|l+To%jUtG5C) z9S5Qycn3c&G0O)C+mKCm=bt}3Qoos%+9Pk9Z+EnoA<1sOz_{QS-{*>H9H|xOy5d&0mp7&-Lz=gax*O(TM*e5S;bcLpToUarWVWWKdGKsWYXh?ro&`Vi)oL`@m8D* zh!b$OD0-iyy-xvI8QFpM<@pA$e?M1xM=uqN4tey}13@GZgd_sy0j9W49QdMa$UiTj z2q06eZaQ;#e0`zz8(Pt?vcn6^iumTc1n{=N0x+mIU~XW3>>JiGw5a7#v>4!v251_% zllHYRH+$K?S4u5znk;CD4roH!cK9tqZxQExNa5QXubq7SzDWB*?{*&;vlO9Aps}`| zJx51z2qJk7&2uU=IdSHwIKoyGfN}tyeOR+Tay#_MtmW|Tjzub(0mK4B@lCC{6l5}0 zM}QUsFgG`IOp97KwA|L)QL1*i$z+q+49SQ#>Eu>P+bm`ul5Ucu=>)T23f`L1`@ECL z!VW3~2Cl#OLGOirjuCsYTMJI3<*IZ9CENB$B+gq40WP6f;Kwx=&-R^}s2w;^ zTU%LKeIa!K1VCK~CW;B?ItTITH{9x*CL@4|G{m}ux!$z&K4p+p@vyJb zuD4if=O80Sy{)`bSJqm+!~0w-P{#o}0E)%A3MR}r%ohg@DC`X!@ZsQ%(y&Mz3ktul z#dvw)fqubv6bnwWI5MJ`TfM>Ds5cnC0hksAL%$9OR#GfObI4Ab#W>QvvsqeZ?>EO|(Ru`d!}e zbuaLh)z`YN)i>|M8$~K;3ZSZhGY3=FhSa} zYD27Iy0D^!SdWo0H`v-u%^PeK#d^WlIr9*w*i-?TmEB2XGom@UXbW>y!Hc9iI-wyj zm@s-Pco}Z$QrY@vTvzci9Oy~P?hd?p+lW>xYd8=ocSy7X;3}Z6YeJj=A>Wrep^?hT zshncaIUNRkoo)A50O2pNzKP#9Pquc_4PZ;au^*LJZ>Tp|KY|uEE^bA+m_`vG%ySJO zMyYRr#&Nk>k}*W7iR+6d0HXSZU$I`i&l|=ea~41SP#-;=aZSZ@LE{`WGrebU-22+R zSJu^z6%u_-5!sNC{45T@0TJiagiM$P5baIyA;EnK*A}cvjk`>T2Kg22BM0NMtr(bJzg3 z0>pt+hr{wI=%o7eRnVEx{9g}_AF25(+5ht1jK8^Q|B@yC^~inPDjy%FA3Lu$eA&Ct zQf|l$n#h14XapJaeRH9J>RO7lz)OTpbASYK16+k~f|~-zpy>b;NN=8l^H+I?((nWB zGIx?^=4>-l*7h=)+872h=cFc(96JhnL@_lrMGe-#2m%{!oIn;sRk9QV zl2`rTyyK@q|K*RqZnx;kgbKGD+*2sSF`yk71B+H%dq{UG*HJEM%_XYgWcTdu9%NzY zPf0~pYg5!pQ|<4JHbg}ffe!VIeW-!Ft@N{XBq1g1*gtm7@vOU!kKNMw?bx+!joI7x z6R$;vA#$$WNA_r*Gn4)bcd+@&I#cvHvt}Fx)ftd+uc&HwD{6E=kGUD7h&lmotKBqi zM8rZwtSbIt*J=kUPhMd5nQ>0V16B8)n>8P6Cs9|i=pw*-Kwcp7pS*@*nTA#p)_(<6 z)dy5U-vwNvf|CM5m1Y4D2^SHG3F@SE4v})Ejiqh)Xz3Ul8F01&W8W}ub)*ayvRm+p zs0xBZa6?APcVGed1jVX_;!0U?P~1TWKmc2To3UxpsT(K?d2qI?9I5gkA;Q z0jNSn2}jYpUmzkMI|2f8tUwb`8}@27Tb%db{i_M=5O9B*wNa8JVVwO00W{aWAX^wH zOMvy2wXZAqMNAIwwNxFTjNS{lQ#tBU(ZR8A1;v7KGi)VxBLkvUyIS(!a*{#;1@GE# zD^PF-0s+aIU9;n5&@Wz)L@vr4@FAJ4(iTAfgHG)D=@^nQJ`vPg^S7?Whitf=|a$7 z4V>ng%-l!s>n3(Ewt05+}spB=7Am; zO1?|3?x=&W+3U9=quGl37}w|9W8ZH*JsWQ`t=ff=n_;la)r8i zuJ)ZN8g7~_2(Y0_grc-xiS+)wUjF6G{Owc!|HXgM1qKDm1R|cEW^<993)QBuLa~)$ zkh^06QIdk0s-rhh!T@&zICgV`Ef7_n4eso*@Zpx}0&P4Gf22FUoV~+~P5^7R--}ip zAWY)JtF8i?@A%_shifII=w6KSfK#*AUNeXI$V%Y#)`MlQVWnsl4vIbmBd4?*GVL*H${2t4RtcP=B?EYR?hCGnqfwZ zTN)6q$dBv)N1glIQ{$uV^BPbm!HkgTXGgU(>kFBonH zyZH2h%aLWZmn`s}=dVC(g3=yq;23uvoQe+U09J6h;&v<_CNcu1Dm6gh@;mDT-BztY{#99}%x;~=a5-yfBTDb#q&P^*7 zLE&vb(9O*l3|Ax8)o8(A+vUGKRXpkw|6wffB$c~U<*Ke`J_^x5JHUpcK~%Jiu^Jd^ zkiy4Za^k6FP7%1z^IqUxvLCapl~q>@b-$roBrxjADnsjQBa*>K6Zeu^`L7O*dN_0k zAGX(mK_%*&MjLpe;izC^Vp{b7^B>lKXUfP(@{YSsZlcHm#aLi!jrcL&(RP;)4*sD%HH}V&D^umSpwy} zP?Nd00tF;TNQf{q8V+HcTUysd0C}WG=H?uFd)XVUm)z=MMEm5TTbQdHZd%K2*ixlh z^vr7}mI=Jz@%~%y)}~U?@?SmCaTWo+gUsS6mgpnPTJYxi z!~b)Ea~;HPW7C{K>|ERsdZv$>wN)V2SXrxLn`sSS1eqGLhCarF5(vZc3$@J~X^lf? z&hlAv6b&DK$XSOtkTj{PR+sR4Ew13d|E0Og?6eH_wgY3(qM_mg<1I&TNUnkSl&c$m z|C`)#-^)-nijR_fG=o+;CBM?V;cIoD@mWkX)*;GAw|&WjwC8dc=hE%tHha!KYtA!7 z-d5_VO0IsO#&!Ic(=^$y-l%>O^;#@CiAn3I=G+#P3&^j3_^lUs(UPD;byOAoC$f>9 z9rqepabi{KSu7fdK&0(R{Odhf0WZcRQWQvQyxF$VQL;29&c(sGv8(xqNrR8Ml1F5H z298+UNa?Y<1IY|>{iB47#Y=a9AU4HUm5$yS)!w|U&1>$cXAo08YnTTwq#JtKbFV~n zu=)!3$`ojU{h**80@XWvt7q>F`o-5_5o@{p#TrCwd7-+me|Uq_{}O+rMcq3GEx-<7 zXZK8omeFec<@GGK#$ksiJc!d?CLxWzxRv&L0|0~F`yb$n3hYbxY-HM9BWd~};4i@f zcQV$*v|Rfj@OOc`&AXH7#Gw}jn~@DTyn^H1fi>w*J8ho#*n|0i&jJ}>!F4@r%<|?m zTHop3e2M{ld!1_;-m+lxwGTmHt3E_K@*inp!1I}@d&!w3sq9nKujuX#wMnmvG0yHk2U)KrucprE?D@-n@+ z1l4}p4)fx1Kc@4nULCJ6s)&5az=E}UB~~GQKiqYH`*^*>Lsqp5^k>KbPEiOD0Rjqe zU!n6mFPVpV@t9h-{ay`NH^)18(cNFrZ59f3jYXe++iM*JT9c{4yW`&RRzwsBC^#UT zwYg{VPKSB%c-HCLgRD4S>*~;oq()PWV>iyK?g_4OiT~oy|37rarN(o2iR&;F$F-RCh7)CQ-7(^g0F_8j3M1V|wh#<}IBN33*h)K+%CX>40=JVODC4Bg@ z`=31BsxUUsz<^2>!6dCLB>YWDSxH#1 zuu$tn@ATRP1odejw0^?swJ{89Xd7bPD&vO-aCEe6BP8gEo_fd2F8ho>|Af~}DQ^7f zTK}w#A9?KQUv=(-kG6gO!B4&8WtT-V6QiaVE_z>6p|@L(w0_ZfZWD$>B=#}efz@{C zG761=AknRDGXVk~yZLR^O0tcG404%6L#H$R*}A2lO2D#D`4-`W9%ccU!2=@=sQD*O z3t!U_)=NgqtQXo0PvVXqn<4-P1wwf)s4HyAonH-lk01J~n6#^d2#*#ADjCugbjF}@ zprSHg_SV}U3Tech2JQ%fFNpI9RCNw2z6vBl9p4MuQgF^4+PrA|{@?o~t9`?N0hYg< zJ8O5k*JWCx5;aQWfOjDsKm3h0Pw4aO=mu@1ZE-}~&(vvkcf zzv=^KJ{|7#!v$*f3r z6<|^_e%FCuGygKGi!j88}e2Y-mLt22?vOkGo6EWZE$@Q}rQVuBrQ z$$(na?^l4e9%zDU5CIZU&7`RKwwK2*c>mG5n~byQP|;}KA)4+OiJG%1sGumNU?jVy zS&kEh9#Mg(JEfsQx}Bkcnv{B0C#&^K)s@G3jjuQFOBMI z*8B!KtI%6nZvE^>y3;G3Oeq<)R({oh+xyd-<<>v_NOyY0lTRMim0wkdy$fu7D+<%4 zXj`mD3^9s&vp$^J*Yb<2H}!5$at-CpE;k-00=aCDycD|UBPX@!?DixnN<=OwEr+v? zN2(~&V6S>jA{P9t$iudGUQkRGg}Xb|7Xs{UA#(P=zZ>SC2}N&dRD?r*wG=$<-Z0>7i3CmR`*4p9oIIjz_o z_ys9oFB-_*Q`u{U}#b|{IRbFz1MGkRYbI#ALx#^(R{H}J@^(#y7&VRJiUJ0{yy4ibZfg~Mr9%i z(28pfzlfCEU*hhGl7Tz#GY8nxPxCwQ_UHz=`|USB?=#DT3#ROoq}GUwFmShEnP%EG z$p@mzMV1*feNUbx72K1d{RlbcNrNw~r2?Q!Y4DAy22Iv*cPg6C zCC(H{bF=ddG?etSzOV+h)`C`2(9E1QWIomWGP1wsJ*cx^e1D8$&NuE8n*0wR{TF#M z@BRJ1>ot*F5B_q7WD&{Z#rNO*1Qe=2cz#bD|4nHar!6y>< zkX%sJRnd+Yv?qYE*_$0$z1zojT2sF-eB)*22mbb6Z|Rw}6tM|3feusg(NGUb-#Rwk z4QiDHE&|cTu4%gsWS(Mmmjmw<2~NHxYA4x@pjHg z8rr?RZ81Ol^R+%Cu8lp;A0eT995J4P<&Ku=^hiwlaoRO{<0|G42GRaYtG}Hoqhr1` z@Te@OutwXT;41y1*51GMIPu zJ-p;KcOKCv*UOGGHWqT7C*P~Z)IV*?%GnauUUzSYR`Fwg?XyALb%OhD z6PLa2Zhs9T&ixa?@X0(YqPb%Kh-rR*DF`24iJjRl0s$KE89*0+VNtZ3cIY-|uy%ZH zdr$2@?a`AHmZivIW(pb?l423q!B2hygaidNBdE&ObFG^@z1c-GUdOJ_8|(LrL2x(2 zBe8Umki{Dwe&=v!d)@uCZM3kXoqYrpX4LO|@WBlQ{M>(dzy-ucAYCd`vY-FSdAO6M zcf~o~JS zP}4#IZJ_LR_o?m0M?3#FH#+q4B5ri|qwB)leu*<~4a~B8on6^`{J?j6quZ=MM<+-_ zDh1|dTm#$!J{w7j`$rx7N{<&!=WWWRN(}%DY{`a-5lLot^DPw{HI#Y z<5T3z$gCx?8dmMpK@0c^-~hbj#+iH3N5zhwPJG{XOUK2>dT`p%dHz>W(6@ z4a3YuqGJKsm>t*nMtX}2Zd>us|0IttVvU!DOfK!CSz~&HGyhKTs*e>%UbaU`?T7>AbYN>+v0hHji2_|vbRLe>W-nT@!ybUw6X4b+Enl2pYa7_PyuD1-7vuwD|fW2tq=UJRGtFAp~Y$C1Wav@XT-%d~r(LgTtXlT8> zN{^1mFZjgSp$^auRUq};#tdUi0Yo`568`$hprbCpMEeiy-J{6tdoOXhi93S=)rOb2 z*rV@}+t@RXC74-p{xKvkz1Ml$uxTkS*RTl`PRS9V$PP#np;nG+M=)N4l-jYVD!kSw z64Yj@4m1e>166annl8WSZ%@fTwL4RZ;s5x)@Si>%YaZ4%`UDRj235s#6zH;-UK+W8 zvk8=yTqP|GA+L8ZcS z8Fpy}1l}ePtrfUF%%fR+l$nCAd)OE_Gz>EmIqoU=r>O&-eP2bK7gUl^0XlV?b;H4Q zD<1Tzl0dCbh;RYKTjE*qpx3Q$I8KfB!?Jr+xlK`v$VDSofp!Pc18~_0b&F_#Q0y{` zY7UynWl}nq{Op@|&#vUZ_>Gt9qUN7M{!YsBBd6#BT=py5CK?1^<+5LSo1A8Q*%&So zO{-n1{Kj|H=8PhWB`kyBPIll1(-R8DEUC)L$Jw2TX^-2vwZO99{0K#{vEZ0EJO3QX^>xlldf>bm>IZtDdgk zhq?5>)6>%#jgP}c7aCzOQT_St`Usp4BVK|;J+yTwJB$vrGD#sgTLFQOJ93hh)u7}1 z6N2BrTZxSnaKpfifHR>4lBZUmee-^e4{KXrDUV%+2G}Qy#ULxZ;v8jp=;#tTi_wb%PdGJT z=1N{`Tr5H~g3GD4mzT)4l@?=^PuYAkt9ZpZVtHtHiCnu_dXR-zoKHI{8?4npr7Fb{ zJAdxI=hyS$ut{PLXTeftU^;O{(o`P-*b1D_C)O;Ep#|X3#RAOIXJFqO2>=bup$eA# zPyfIa>I>i4%wP0pbI`sjc1eh+CdZNS*$jM2MBO~p@#sL^dO00vD1az9B5*wVq2$V; z6L;eB|=b#LVN!KI}UKX6M0*A_xeyMpYDzSEiiU}peWoY1Zz^;}*hgEDZ`o`2!e zy1fscoe1>HVK5fjsxmn|WZD&^jK0%1{Rg{lhliSW1z&T^Ou!I^2A9k3)Hdw00U$CW zVWr|bGTT2vP#_U4yy|c*5SJ&=ExKVW0(t=qHbx);*f78l?SIN8RG^Zn@)y3b>A%pg z;~^btfvJh;#(_*GbJ1xAY?ZnN6Ngax2~hAH00Bi|;Isfqb)>Zw-*vz49bZ9?j2;)x z`1v$YFS?YpxpT1c2?W}Xn4#%*Wn^pE)Lm@0LWH^spn6acWlGxtnkULT%v^B6=#&Fq z7MFgJJKsjgiJ9{|^Bp$T?9wlC=i83^pz}NP9X92W+G`ga2^1M8vjJ{QKao(li<9Wg zb|jn$pg;x|9C7(~3EuRYC1O!5)1RgG;zQQa@^Mg5NAc9yC9p-H|BCdyftI=fb+fMD z-1YhQM6fZfAYr$#n~5ERR@)4E+91Rrnn7p-h5?#U0PTwjYyQENH6X^~)+l14>;h^D znH4ZvQhKRb(MO(m$N)0iD;`)4R$OA%E-}NLo1%pv_M@ZK!Tm9IKRX+H@FJfxYx9!jVWs;lw-m>a7Ra1#NePV zRaSvb5CwXx?i?i-Tp2FT|?nAYPNKN5Pf*f&ijro4*UifEh%$ph>Z)Md>isT=L4H> zA31o=@Ptp@d>KN~#r;1#i$!lbtfw08gb5AckohNI^g4`r!k9R9m%#_`)w#)K%v;ku zY4gA;Q~vpDjnCW`~IK zgE>OYy6;8X%UVC@{FBb?>CM=K?t>vF{ZUkjXuv3I18GNZO;~pQoXr|J#=a)(jsNZM zza!}1_|d=CzscN;IjsS%6E@#8;~Qbp$r&S?vfO*OeG3BIKhqO!Mm>|(-kOE9V9hgG zfaj&T7cx|LjF+o5*i8$r_Mq&8@`?a=;UpK%%m55AIxROlbc-6-M3TOf! zK)^yw-pHYDi_FoDy=%qpU^x;xsZ3I~=o#tUWP`cWZTpy~{K+T&;KIb@jbFJ%<~Q9n zgH6nuW&HzFW<{gQLBA&rEGI?r5XVA+j9>Zcb1gPbtfG>gw6`3s&Rlbtn_IB?{ee++k;HjSc{1e0ACKnw-Z+AkRI%uQ{{LJ9Htwu_YQBQZx z|K4{0VD%N?U?XmfE}2=CSFb(q7i~2XIZEoTIexa$eLwjXpMUO#4^;Vi88oVtu_*gv ztz3G&g^krSW@VuH6k=dS$(B$JgOsem4W=g)2@=@u^52ld6$vGh010qZjS}vM+{Pab zH!Ok#;D|C3+!rY4s{0w)vv{VJaEU~~IX<1(MrpTiIQF4$$cd&AX-7LSDb0K;nR#3xE@4DkX{-0i~&+a4s zh=b8Ku3`g{m)C#CSAtyb8E7ARd-IKz!BmXKXJ=y;Op;_00|t(dsCta_y|Ssb-hoag4bf1(VS}Y@g)-OJwU;Bi0ZtQj(|LMTYV(7tq+4P?|0tVN<``rdW+HCnz2WHc6cq`E~; zk<`hL*}fV?;w&WsM2xfC`|i6A%P#GABJD=y+#1j(6cGzBT1H&PfMu84MAgud%hp~D zt_|5-*r<7YLzGLqojVz_7L+VLe8eTCU&zelCSY|1WYiC=MWX)d3#{KX1ojpprzELT zr_+33?V7K?!1}|VeG8FOBz4BR@`g`NXTtXPHjvd~_#LCP{+O1?Zgo#34MSd7K1+=U4v{_bOU1dagS?=dXR6Xzk59 z0(@lrXDve-D$-p71#3=jDPk*3oFr1eKtV;7ND@M3jECuHF`zGcFydktA7*s&sb@cug+>ka-P4 z%_OmlR!&%nki?Qm4@jo@NuO|+_u6GW_J>*29iugo=q|zM9)4$v+%sZ3n*DxjU*?Wq zbMU#EHB2Q|Y4-cAeVIFc&B5nt)_ht=;74j`&6aQrDbNw#%N9?VG_DU8jE)lMu zw#tc%Hc67kX>cvpMjbCY2$CjAKBRpco2f;u+gKT93a|v=tc%EYZEokW4}d6_tp#Ho zm;Q6{pbAN|CMdq)xvv}O$_EV%0Tiyp)CEuJAc~)alIQ_Rlw1?(Zh?HakM%k7yDJWL zJ74#3n!5!pcTlCca!xmQdxqv|Z|lkjz5FzZzvL-3y4y1}PkUQeKIrAAN&F>G>1H&2 z{CrK%cFUb(!FXl~quUF06hPso1#iseutcbp?7~*yFHG?*?oOs;(|7LEs}^Zv^)}XH zmx=XUMZe6MFn{iU#V7TeDTcogt*vg+XFgSI98P4@cXC9nowmc6*Ab~cS8#LRZ7vt= z`%m499=o}L9^0nisL;RCGTM0jgYRsO8p=RV;$8j_r`AZ4CXGG4-?{tsScGX9Jd7Jx zb;}&tg{)V6^5Q(yGALlCxa+mOsu*g1H%u=yt7LZ#N)w+&On=a_gsRkoOz{$!5^tayL>R0RI;TQb;CLSNhIYGGfrMA!<@cWQYU#pMid{^nZZnq zy4VRqk#vl^zs8=c)RP)U*Bv@}!F??Ke&_fnZ!R&*$xG|=g8Nwd{m$`E-dtiqr2^O5v*c?1@{Po@*whp2WRnd|VJm>qTduTipnN6P1}8w>ZWhmrL6a3nG={1xfau z&@^cv)Pk{EHPp;qq$Le&1O~VS!7TaTQpjCb5Tqg1FJV+V&)yt&k;o7QqJ(L2sb3Ls(oWCt zDL=5vnKlVi=kJ;cm_AzZ#G#X#EAU{N;ulm=vwO|X($Pn`OLQhlXKQLEq~xV5#QQ(t z(Icfp5={ghkNw!KVEsrQg{05|2~j!0wz`PBjMn0~={$Tn2`LhdK1tKunZ|cDFsru= z)aov!NMn>r#tDHTF2z|!oRw56RxY`QDeg!p1bEX&N)g#3Y_Z;Hz=H{V^6NlIY&wUvU7dm28C12 z*pqdjl9Wgq`&?%VxQQqE85Oi7fd(Hl**`&0ptQRD-(E77lNSXLxn`R_{LUWZL+p0638Ynoh24xFpiSOPH^iZe5v; zJ4JWLMH2>Kb%Wzl$WlD31b4h*z%pwWWd9EUo2E`Skx$|Hx}@wPq51t(d`*usr_%Isnffte~jwoy`H?C1EQ2 z?Ako`!HVY(?ae3I9PnKdCfR4}mfZQ5$KEPw$3cEB-udLMLdJA{y<->&)BK%J-ipj* zN5Yu^3QpJx2ox-Ovq=KF`y$A|Vi}=S0e3Jkk*A+{HTXpjUo=@pMM)$J_};@fm>)Ir zv12g%$xlTs`h>*u26VAuzQWo}w7sGVX1q{rsf%y(TrI`Pk#l0WTrMYm= zr415{WL4qXh&UPc! zgZ#i8qfg-^!5i}cAr>N059JhBfu~OFM~KSEbOcdxuxZ(t<{#S9$m9z6{)hKLV2AGPqqEpLOPXOJ3c7p*N{S`?Ev9O7|?@n&G(<_8oq|m#R z7sT5Ck8+6uF~>Y$<%hb8zugPBSs7KRj6m<2s{$Zmt=kOVWh ze0+nSsA3w!**O$if=c?$@?es!U>kJ#A1@(jFQ^AN^qR95uvRVKnPeA6B%*lDj;WX4 zFM8-^-cp360Z9@i!0JLU>*g4bG%i}{CuV1&Gq=fB3#h8%&gAqeFnGlcc6=55$pRuu z+`<@wLuqhn7Ym-=xR~>oaj60lxGafLKkI<$9|=>aj7-o9CtDEUX*dT$k%BcKlGJ8n z^hOdf+MMmgxYSQ2QxE~L)qze{?n+L~$VVxhvIf1TF87?1oS2c1QaEKF^cvOOXeLY2 zvSBltMYd=84QZ5QJxI*sas?Z<0-v~pEjj4bdQ^bV@)&U4j}ZL_3G*Rx^S8g;^0_o(P=Qb{`KDX?I`9lptGLoRpCaMR%WtmBYd=YGe_vXMc0kT^UnNoPD1!fW0TG?o91^$?`zqy3LS#|~#5%sPk#7zNESuJ>L+Q5pUnN>-#zGK~5Ij2yA`TM* zj>PNIN^gMUG>5?wFfm3Rd6;iu(@z8z)>Ekxcq-+Q2kV=?0-rsYN1xt0k+>*ORZ@qE z^}rC_W{M`M&I%|a>J$^=WG!}qD_DI2d>RNGsm%z8DZ`St@}`@b8KFXw;4w(cn_M*f zX2sWJwKb?ye1z+Ivu{>>O;%gKNAVF>FFpijb5x{^fvn8hD)M8XCFsI{_ZjTJR>8o# zfVTA||ktS5&cx zJfcz|Rb>Ih;z&{*p=*xLLoYYk9Va_92OAU=8)co{f|xjwQ|0yIbo8O@5qQC+z4xc% zf~Kt)J+G?{ZJjzzo(I>$Q zse7)4SKKEnrzN9`2fn&4&$aN1`()+EDIWN0)s5cACV(m!)VzlGS3Hqsx9HrnB*Ij% z2^L;+9GSs4ouQy$Yp`G8?Vu4n)+`bqb0IX&xs~@c*i-Z#X!(4PcgyZX-{eKQF^f&G$kT zKUj0`AI)VxZnwokij-&HVXh9CoE0=@op%@%1sVuAXi_zxh{y#`2Eq=D`JBkI1ksbz z@WI)#WI1}ek5PQ8^Nt=A#U=Nz%f~1_)p>t|;*$HT##hc(Mru4SAV90n4yYg)g=0?$ zkacz#2(ggCpZ|o>SA%4{SpW?O-@GU?29?2#d!3DCsT({Wc;IIHXXjaPHkctp$2PND zTL+1>Sw|%03ru7dT}2T9I%gh16!K;_1@D#a?u<3SIx`PQ25W4?LhyU4E=@DZ0@t|Y zVR|Xh$gU$gP6{OC%toD16kbuBG;I+nSX}|G3<8E2h;y3Q;z|N$PVf9id?acG7f9WV z;=3~&-9u6M)peOse0OG#RQS~@u8WI;h_8S4uUUDynWH&71GJ=>TLx(C4AfDw6iDh^ zLy2C_$pKvyEQrj8MT3k{LTk*SYZ*`m%m*C4Xt~c4E0HYVF%zJXM{X>`6jjy8_ zRmF^}>3^jx1a!PQ6_|IEJp0W3UK9B%R`nT*KK(7Dn5*D!w*$j;Q=r$8O0<|MQm^F9 zfP$K=;4D*32wUOa){#LFv5-}o#g%Yk<>Y{)z&iAF->LY-%+``g#l!3Jor+J)Z0!#y z9rd9tgKkgRm5n7?s&yhGBXNU@hx>ZUh$O7e3If@R7@ikTx&A7pZI$< zO98TT1X{wl1ZFz|(}^nzN~deMWaHSOl4*EH$xLf@-v|7^+;hi`4=n@YgO9Fx&+b+D z9!N5gdthx7XRDKD;M|Q#RTf~gfOr*}Rsx4ZP=^D>k~l~5-g?35be9Bf*|&gsw^ND0 zm0h(+PTf}}AmPfm{ILUlD|^|Ou&Zgs=~a2wJruXi?KH*dDg;u&ft%YbvQ6a2 zx>j{_1;K&*j`mLw6ivfcA$1%k4h>*)+!6W=G<07!7|Ajq4}!NJImh|1-CfXmn@JkR zis5dH!6pWKKr#R}9IZCiVGTMW6X5`#t0h4w2{kGDx`2!4C>0Fv1qblDEddjfkuRxR z4^fnkap4c*D%n=_CBrUp>hQkrJTXSoQj9$90zbE8-ccmeRP)(P*b2Ah^#EusimWC! zB~-lfUEg_gHLKLCP@#X{cb*vEO7ZyIxJ;fRnWj~F-*=uE-%9cL-2Q(>GEG$hQqeY1 zZf=E=AK-^>Qb2?lS0Xyvk#Ht}A}z30I4>O>aB!y~0Y|L+x1d=*w2|&|^*_a-r!#+Q zf9WgBM4hD)_k^e1`-_1|#0)+fk}7^!C4qM@;CQc2 zcSt%c;lZM!hnw>mfo`st*wIt0`7w9g1nSUcnp$`;Q0Kg|&fA$vk3>ehQLTV)n-fXY~- zu>syd^+)NC0nujh;+-<@ObKYA$|o+Sv#?`aQs;}T|q3hVr zX{;bZ=bo&m6=?7UPkmTN!wiDNh>mymc0!<-;?(;wiof98X%i~Y;3w4NF^a$7+-Vak z(BLPCAP7a8gxPVD6fm+q$F5N{y=8uICwHb~DWXHD!W%E%tuA2hT79MC&c#mc?hiQ_ zbQv*Hwcqyix7vad#kG$u6_XsrD%2d_@4u;9o&A3GI(^oatX(9DDcE*E>s?Fz)9XOT zAw?xc9f5Z`dqC;*S_IxK)HZPl1TwjjMlbq`NC_%|6hskCm>sGj6<+%Jx75`%RB6l( zboA;g5kNdW`(VXmvuiCvg^#Pr2P+<%-SZVbPK1U~U=U?jBA^qJ0x=G5b^_ulR7ImO zRruhG)4#uO62PfBfJ8XYw;Obep8v~nh~awuuBYB~8n22%i;ar4XEHh99tT?l^x2AA zgcj#wn-U$-&A(k;4ier?wxkf<2%y064SJFA;jFXosg6Kk@2|}jH4=RVO<^Tc=qeb( z>`0(w%;ONv3z&>(oFL85J`Rje%YI0)e|GE$CErn#A5!d}-CvV@ho)x-3p5q%hz5XR zq7@z@u#=P-Xdz*|`^g(!RXDFWf_E=E>C{AF0TjSFrAvnt(9(4MJ4{yUw?Fl*H%}~y zV0Ub2N6*a7%+;;nxnofrzh9dcoJ?$`MYp!3K2=F)k*?yo2#MCmGMB|UKhZ_ORSw== zNOKBVshlCO^-tvL8XbKF59GP8O zB9z>sCdVp{%=D#C_BJ zFa4WHk=NGfcRb~$<%(qqBeBq4UUjJiPyw_XtW^o9TA*Rp?0yBK2?1FP+_{9w25=*) z1>krZw22m;Eld?yBk+VPZ8G&0Z3rrnCS64!%#I5$3G5-F)*z^CB%;(%7`|TTtj0~# ztqT+n%dX8Plx(fZ1&W7d_x+Ns8tf)gGOU3?044}oks6^3keeVVn%=Ok;yIv`#m@QZq=Vk`m7)j0w-5c@Ue*x!~^btj%%^SB@#9_Eqg<` z(7FOXnM{<}?q=K!-B4^;+lEO0F4R2iQ~rn-6Fn6sNJXHo1SW{$-0a3(P)l$ehzKZC zJnmwjM1>d&x)Ob{98UC(Po}Q>1MfFKJ3V@Y;@s?xl;C)U)Z`J0bF({AayJcanv%iD z4736b&Q9p1G9UpV7D6|=iUQL`u6CvF0XP(zyY*v=pki*vjupY5FsfbAk2rCW_mMkB z%Q6y{GC~OJ^Q8ZsVEH`{ohexg z7Hk~^LPVc00MAww@3^XCYa_=|8i zP^>)Yx()&k@+#n;8;IbD+HrO7yv4JBGpB8QGicxzVgQqvcN0$c8XJ^t6IF>Yu59G&mF(UeAXFoa5CbMUFQnA4=z|1@UR&-L_{n?XK@~^W zWwcTxa>j7#*+Pev*E{?N((LLij^z-oaB2av$6JVWkLxI4DKO+X;Ap46+>c;x0)r{m ze)G4qlb8N|9+#i(`O<%qub-bJLJ0^H=sNQPL4F1YAw>x46hOT2iy*t#;c&NT%j@Jl z04ii>JB;it!Xk$O^VP}AK$2&>!O^ETYp=iu-cz4i0#RnRPpG8`R2qJb-KKTx>MOgQ zc%YRDM?tOvn&|SQ6$or4mJ=8BrU&1Qf_sHYPkTo+5oR;rYi7Ow10x2NMI}R)T|ZR zGxUPFdM`Vo6zbNlQ}*=QLB%KV*!+l%)1%+9Kgd~_CdQhP^&VjQ1g^MJ5GCni9w|83 zaDOa7wFHrkE}2C(zFDs13eEgbQw3qpB$$(=pLVH|2kS@s1n%%2{y&c7ei1fUrkQrl zz31{@x_XM6Kr1M~wJrz~?MV0;0>~7QR6-aomFnu$Uc4`=62=386=!|#{6EWM^CPA+ z_Inm;v4{l6u_6Ln6x)5jZ^p<>&H<31gf5t%IMAQs1yqgd8?w>LwmUWB)a>ohHpjHY zbVG_CJ5qes%o3>Oy?|egVpxXFU?H9@IrmT5v#X_CeWR9$1!jaDCOHg*SV-`$1$gW<2cmrxAccx@1QZ=>~yCmG*!C9zxsb$Am79x-?@Po(YM{S)nTz03pb0Dek zmV~yg#2sth;9iTC*|~>V41AT6b94|oC2@!`grcbIrp-Bx=!e5Wv(syxV;IvK_m8uXky^zvJ0dX}HC+BDd^~9SbAf7@MAXXP0Ja4QP%QOVw zF7izrDGv%Fu=^k2ae02|tj@<=?U)2)fj|L9tiwrymF+I(8fzGWfO{C3A6{G#NQdCf z6jIs*&y~HqxuI!6aVR-wsMJ&p?26ilRNn6V{|^YrdGF%Z7{Md{6k>!T8FwDJ8cJi} zC`y5c%tMlt8E7G?aV>XLk|+2rn!8w21vUx1T8Rrj#c{I*`gt$p z!c!Lpqqn9)?3BI(p09oa*ho4QOs;_`0ia!_U=^ksyIQ#jW7^k$(c@POJmzs3*IkC} zdGRE$Av)wRfzl1sxT9>2Pr$|+tg%HNc>-J)&jNwpgx+z`TX6(j{KL)^l|G^7`i~^N zas~_EurW;+I3qB~WAcCelP?4P$3OICJ7CoSoga|oBdLCo-a^(OISR^GJ23*SxD4b7 zK;Bvbm8{K`rfLY>dWpy6-cNhAR(t=y`bLYwtT1Nk9sa^O43>cGtHpZ9-R4ZJVGL^+ zV=Yis7Ou}w=~RSBRa_u~gI&eou3~UHrC0Aul`7!_!BwxTX}Z8EfnFY$%TJzo#jd0N zqaXN^Sxg(4iuVUFgX$(pObKC42_|9=KC7S11Fc{aFWkEnD)^=|1kkOXTK)@Pe+>R9 z?|RwJ*q%nA>u98n&$4}pSrB;`I>1mmB?(f%Vjp^ZY>lj_+~sVSDbvtaXg9Qn&?P2`=pCP0Uyw0gO(U0DYZ{bcm2NswlYXNDwD$!Z~6}_YqaaAiJuwSnm?O42#K`F>vP}SF+DOrjh*r~%; zeCTUq_AF$tQcdd`soo&0NiQ9K2?{zd91nfh6%n$as7fWv2Atd!kl)qkGt|$nF4V zd&P)nC}%Y7oXpCz)lOm)wBmu_YF{9pPz8)ZPZ7WTy`Qpwc7}*jyAj7WQD>{Ct+LUx zp{ufJxHG{}3w+O%PH8Z@(?|fva0o*cJt|n|EU%mK=5@Abj*GI;+pS+?Suz3E)qHmI zy6!W3#xF=EnX&+VI1&J=?mfBce~;BZe`TVx_m|_cVp%+iE1FZJoMD>hLK(QhPyY{L zb&~^Gp$VMEIMmnUErh~O3BKw*pRst``XZ1nCE$t#RBNC@z^PY=TnAK&zLVyL1;y2v z{9}V!^E%Y5F#tCJBaZ#3n6hrh_RP8&BVkdM4$m#~y6^brVpnsSZfL#@`1_J12wDQ` z1hyz7frI;mos0NAS}Xr055-``QJmWBoYCzBoFnC&fgd`%nu(*J6)An=jeT5xl_E{p z!S_|}{F33@*AC);^`-QZKvPUhvoxG6NOHGCLA zfT4<^$9=3b;j#R}OxD;4|Sb$@U14*$5*oljsa<+%~Jzy)J zpK@a-5W_=Ky{#icUi_l}`L()916qNo1=)RoJeqg`WF9OJxG#JEXLR1=oAK z(X~9=y2$$Qy*~u)J5(xSBxn|$%?_eCfIIFuv%jSyevg^A9RVJJKn{PUP7LKM1?a#r z@&u?>GgE0)%9!6WYg4=?Er(fDk;$zv2TQ8|~Cj zTP=Pncd^xgKdGL1M3UUl^qoHUs`VK7cUZ+bU2&%a<_4i#={ta`DVq$XCh6Q}H#301 zwfuCqUZDSM-~YYOK7&e0{38F%KDD$14f^2(13!6RWZ-wZ)RL&{#Tj|6CPH4;O2PDB z$GCcx)6MldPzFk-0UuJUx7FlBYV|fvB+3D|iC_h8%y0lq3P?bRg=pBp^|c=U6Z=E^ zzd{pGBGC(QVe>7I3quHu=&s$`3?NtgUfKBcAG$N4@g;B@qzG#aJ$4iuG{bxtFsx`w zloD^toT43$pL+>duI4-Vujkv8oSDRh7+c%=>|qCW4CsXe_^Iwt%%zTwP!Wk%C9r9! z0%Pc82P;I9ERqV?e$41C3R368|D|HEcmLV{iJAr+r#L^mmr4FXO^#DwL?^qKN&bPR zx7iCN^8pVKV+5^8B@YlL1?otafbe6v(L12N;%k4veA~YhkkV5H`3up4%{M_5EgQgw zivpmuLZAQDL<>I#d})yO*;oE0xi_@ zgL2JDDisT{+UlnG>;;;EpPaxQr{x7ZFE?iL6cl77TBM5BKxCIdNMK6qU;|}uqcnmf zGRE|qo%$W5xL0<6N^)^c4pOuhM0S5lag-*&~zvwNQ8%WJY-kyeQ8o+tTo z&G-SKqz!m>5W|uVq0dTIxesQHZpf~>?=)HqoX$VChEM7As>cOk2 z-^Gg4viozATh`=a#cA37Ims%^#sF+s zDPyQM8!7pmtkb*6WPzJJh7%c^86{IUpl;-7XvQ1`@3wbzUT)0bDWV`NfrV5N8j)Sf zijWMQyeh4T_x>QrsS+aIDT1bc_fmXjc8`@jttR(U1c>Y&D|wm*s8|6MNW-&3$Ec`z zr_TsT5=}3FFyrDTg;?-Nn&kh4 zANgoB~-RD_28vw(9W z2nBj9yQ+61m6B8)3`kSH&rrPTp9P#7K`4%OO+P~s!2VeioZCT)V=ev*3QX|qpbd+1 zfEJiU0?{gfL|7+$g&*lJkT39!$M!SDSVqZKH$M#M z#X+;vtvQ(Y!?Mo1%Pp;V3h(jIi;#5~Iyhn~e4`7O;JHO06bMFLj3G|~ISVjTzRe1M zQEqQhysj#n6~57hhv2!rMe#aSgiw)cz_UXbmDQ^SgG4Q0Iv?Ox0qRJW0E~Gc{!2gi z!-jii3rQ`C;TvfF(Cuu-fenJZ6+u9(TfNl_XxX^vHsDki#7Ut*F2#kk02@fr_ubHd zp#lj9ck#m6aN5)D%oKq%fe$b77~j$3a6kbLH31;-6OkKGJwmikp!ITVmqV^(nboEa zKupb7;L&HybBj666-+ZLv-m$=*@jqEu#y4_r+g>BRdHx;2P(Ez<>a?2@F?@#4peMY z5s{+RhPl1x4}UKtk~L)=1nChZX27LY+=EaBGzbIWU;BmcMf_p@#jL0Z|4=#!jW*Hv z{5guooHt;5c?iL6&DiZuI=O}?f;H{1(lWmhLBVTh5Y zSTE(Aha2n30=ooW2`G8IKZ|3#HFKPkBp~CXY~c+KM773Y!4F*SV{j!=t6Lq6##Ah? zBd6S$I4TIEGC)C%Q=pO#UQYS^VTwoPc6-HFRK*{rcvNn;SA2!4MW}$@lv{K3loy&- zSq3P9S#@X?kGBwGVr%!c9)1t|3qJH_{+n-mdGW`xy1!>^UaV0G7%dt!3>H{7z+KV< zR=lM*p%8j=(Rk!=ETUT|M?xavwpu`JWnja`gkeaOEv;-N*j&PT01C{O@KPyLZF6^y&b z<#pmI3Iww*&r~q(9+%gNrzj9iRYIts8U~Shf#1C(!G$-0QLq!RiV5W}Ak6FB_6)6R zU-26-KkS#60^V@*vyXjL=7$pY2uu)RWr?`q=GYbsh93-rU$uaTsb36&Q$i63prh)J zV-1U{%BGnSI$?y)HKtZZ9$RUtsY>!#sKd>ERd_HytoRl$t--+;hQY5|z{C9dwH2N8 zUAXg~Uv3VAsUVH_s6(5~E1EfffMhfiZX0AV8o7Y3FJVrIaqJoH*eE;uy>&_jS-y~Yp=|5f`PtwF<7femnfgG7Zx2wi|J2=8Fl2B`L%0nAVpg4X{C{OcmJt!&8ANGZ(q!nc1hf5bUo*3W@@$ zeh`}#VD{F{$I7NrYBO)Y849pw8gQ}V%2#J~z!yvIS(l3ySH3!{1HM?&bW>Cf6oq>@ z%x3kKkonTgOq2kzYizS3Rw?$Sf{lu*E=Y_Afx+^%a`Z=m@w zFkWlmDi*&9BAP0YIlC(}Ik3q0oX6c8o)P|d|_ zbL@rjT7&N@if`^!RnOYEaM>a0QF!=(TOBx&6%=6iJATMJs|&zo$GOT?kzA*mKhqIF0>lr?CGVgV57(3=5!3+wNJ z2KNGU`!ghp;w`=Pbm*va(G+qU+>AVq-9pud62z=K`Ie+a<|SF+I+v=zqJ$slY(5U& z*TREX3qMTw(}2eGoeX@gT&%e465WzC5^z8jVp9}_=dGLbY)&ALyj6e|psdZ-&};#U zcp4BJ6osERo72<3M6qpaUGAmuy!F(1Hm9e5iDKJURc}}062?_fpVL8UI9lEf&c2}= zYN0TOIn?I02u<6T(%DnI2Ri$gVDfD?mp$4cMjsbrNZX z;)+vq`jY!9zTI_w@Us+GoSM^@+*k4KRv$zJ3g`mxHYZSq6t+B|W;TofvktBV1PCIq z)%m=ixzk+s6beww&^gR!4lqE~8WFdZP$RR}@Bev$%Qxm%@%(nYFoDJx)=|s>12=9O zNl_F%GSL4o$@zzv@s)48c81IMI|(L{tJ2L6&GuSgi1p1cCO~S`e%s4#+bt9n?&#C+ zT&luG%A_JvzrgpLdKsZsQjOIIVkr0v(}0bCMDgr{bGo~gTPm~hk0>JJ*TFg6-Ac-s z%t*!+2k!p;zkfcbo^gpN%QF;O0IYh0vu$D%Vc#E>YGgSl)aCO&`Xs|;X@R84QcV7L z%qPIik>h^N1V98;n~DYITwxZtC=5l>a%wVuK=PR+G@PYAEEhgo303PX&TJEjsYebA%uM0RmNRs*w<6mQsJdm%O>FaxTE0IdUZ?B9EHp&8+=FA+FjToa=AS^7_ z8~=7DHw$AHbVMv-TT&xa)!tDsHMorv1F)WSXesJaQSj99qXK~;F6pNyrZ0sg^Sc7n zjIo7T_}i>+Vw)n0*B)OTyZoZlEkRNa&{e=jo5IXIc5*%-lXOT%hSutg|HVHVhXxDK z;Y|mynQaOme{w!w`wGebS(`6W`1q6a`Px@VMn<>lXpT$%U(lb=;%W8JzUzqp-@SMY+{XCafR=>XTXNnUeyK1aPy z@up3g!PM;TE|S-rozGFPQ!ts^q#IWh3F!rovf0FP(N&BTS^%}{4`16zuNe12kn$D8 zfUU#VdiWIk7Z{hqg(jkr3#vl`6mBaMAR$VC;WLK~2#Z@75mbI?J&Y~5=>S#)5RsZ{ z19Yf?D!3^x3Auenie$ByD$vGd{%8N$G%{3bt^kFnO+YXvoVnEh)|cOq*}q+3CP_e0 zgUgv-P#{(pf9&u~HWwnfXl0nKu5QfOD^T0Sbl~#i6{qZ<&4qu>%9lHHC`fmgAFnuN z@yGu0Og0z(H7j3k{X)hiNYwMkJ}8^ZDD`z%cyd-Vr2R!&XYcbz`^>(x=kN8$m^w+5cqiY!#D5G`)WqnB+Fu)RF*=K3o0Zj!?on9~THwMQfZis3^rzSsW@ z3P@m4P<~6Xju*u#9W<#b4gQy^!>`TJ{{Mzc{{18=VZY}}&DkrJVt6eWtObVY;t+B9 zp9vY3oHlZ#v<3!k3a3f}P~@`s+I=BA!xHpptxuGH74v7P(*b{i!soBe<+=Bgyt<1~ z6p|L5?)(V~r;@NXm*?I~^6C!W;nX`$5rM)qQvf{|jxKN=k0cHKxtR$tTY&qA;9dMb z`<74qdr!}jv5H?r&lC%X+scC23g|r-lYmtWn7}ZL08CLeOW)tkg1^dQSb zQw2;(@Zw=-gSey$yyVjV_>{~xs1i`wI+<^lAXvadSODYcsSaHM9P&-#2;7A=hygEw z%& zaFXQQnM^i)y_HwY-=5ZVur{ccFxX=!M60TiCn3{FC+f zyfVjG+xbwgc|)CE7{%2SpmWdmGTX~@dzqPo2E)BK#v&j^)L`qID&%B-6Q5>DK~aPY zjDvRfj&_0fyHUG^jgP=gfs0%L1uh6)^SfSitCAqsnm6CnIVU60e}QF_4vMhv z@07(So;O<5+rRPSHY`6;_h`iay^Bo44M8XluplUNiMWSN3|L=%gwom=7(FoM;`ep) z%{Mp=vFMHnn&8>1YFL8iMA9XzAOV3u`Txh2aKE-%v{b30D2E=tIV|}8itle$U>UZ4 z1|?ht!76mQhLCr8+kjoJJD7SyC4k`mm6>0Kc{kY>0>%IwkJ|>r9lqhy z{Hn+BS!fLW(R2?gNnjNOh_vlOfixooA_PhV+PEVAHz}lcb@!61=T?jOhF?{~;@9^W zBWx$xR|0c*uW<x3dn{q(@Ml=$*2 zPCP}j5hI|*nAAzI0bwM? z01Qi-=k*NXbOfjl4 zwAOC7-#)XcxMnsUB9ss%hcJNYZpZ7N5>fS83hG_kAAQ#XrVLt0k)^pOO%s|GeuHE? zOW4`n?RdjeqGwr(PJ_FJ7ActY0q+b>*dSq3KKtzMcD&)1=vkIt?$&G0!ARDl8xT96rW`6i5;D(U`IA~JtUBIcjjkG{O#ZMs;>T9 zrHC}c+7mk(TF$W=bK*fUz-&j?=sWN~;7VNq3AKGBtiWy$$M&T zui#8iIc2ci-GSK(K>G~MD!`P1ee61pyT7IiV<%3(F#$wolrBE?ma%IKbCYCmmw4N7 ztvdm=8=y|fqP1Xb_wWD8vd(_=vp*I5D?fOOd`(_UFN|AZq)8Bk(*-wVZ1K9=wd;5PzHgfA2+XteX-rtLT;B=! zoqY5ka0L~y(^W-+%76*Bkat|fEJ?^B^y+IRuQ_WNU<^j*XHb$}*j}%Koopg*xy>|9 zfYyhPn_+_yu@R62bqj752admE`5ljY3%ejsa&0%}gRj}H%unD7`rM57zT$0|ADUZt z^=3?=wf2FcwvEiCAO8b)x~2-RX;q2J6mqKE1hw5Qy5#`;3qBHkHrTt5w_&c;0U9bO zjlrK0?Q?1;6V+^sQ`RT$_Pu}Rbv_duW6BTR>q9h=h}d&B#h+Ga&>bVk-3*p9S-za! zo#3gJ4A$sV(=lzh90jHEsUz$3Ikl5VTbwd8+%aWR!qrQVlELNo(fHKQJ++gGDz?Q( zxoZeUWKhH9dhn$k^y(SwiKDHkP3>`AQ4^g3Q`j=j>5&4)tbh|B1Uc^k&;SZ*GC#pV zS|0;@vep{W80ffRKxiaHtg*GRjhGP|8e511i5?cGI}b*R&Wg0ZfGa6z-{TfwxRM{P;TFv7RKZQjp;D>r%eY7Yi>-yf}JB~g@Q&(hMLcO^7 z+E@Zrcm5QSH@tE8JHI!7R`#C%_Zo{{^R@VnqfgY-8OqNsBCqG-I2e#|&Ba#Ipb@U@ z-zBr1Q4PDq1!zep2xw+-R@|MHLJyvMj7Nxz!w(DAVM}4oXw*=k4b4eVx3P{qTiIfr z)VYq`@Uc`MIh*#91wM0C<;*?l9g-9dWTz|vkMA`J;aQ zBef^8R-*a1&n<+6q^{|;_T3NlZtCDy{_Pd$vU^XHBb^iiwUh}!{b?HUsz$0rHfhDk znU55)osE_eqNhso*j;lSREe3ygRBf*bsLfW#EjmLDG#MjUW`A?VJSi7i6VbRjgzLaF$T{);4{QW0~}zA z_x4at0AC|+stz@BOC^SeCIP|N+9a??(-aR5>mCfh@uXfsl2a>*iZ`V$&PKJtxM!3SwZlXIwEtmp+ zu*bcLCL=6~kbu0dLO^D%tGma#c^&{71MwNV1e}ku;dna)s3?M}O$`jjY#W1Fr&K;B zbK-1_6oLC(Y14Ecp>`a|pw3JA#EV zSkSCtVfS`ZeG{Mn_PBP5S%@_z8-`6J+k&<37a{36a08PXFu`ouGTRIaXUbxevh9=E zX}@%T&v^k$|9}6fr3lT(dSt}8%YXNSf1pY8g5?x3qL2DFg9L*DI|krPA~H;Qymy%> zuCTe$2naE;oMmv)!M=G~@kVCNmf0p0uF7J&lx?5PP95Ff(*kHlh8%`QSRck!cfRB+ zj~5Xli8o;6{BBou>88%!c#+KZ>%Stlqip+RcG{2bXVQ#}&fzy%|0kRwSY+l~olOK$ z(CjK+?5KY2B!2#$ja;|bHcm!rv+F$nP1O!oIy(0Hx4jFqfMt>?0SY1@uaF^FYw$xc z03H~?+aF8un&7F)Ejnt28WuKyIYws8MPWlsOR|a|Xu7~fuDD=?v#Vx6sUCRU+;9lp zv+x?4iu%YuM1iN0pdaOFM_ERt<%Zw-%f1@-uDtq$!RWv?gM}`7WYW=1M;3a5(FzQv z8N`g30kdHJ5zq*C*w}smN+-)c_{h!>3*E{YQV26(Ko|{zi8&C=L`EP8GTJ&|>`pNk zw|2Vd>1FSVdcriL1KWg!E_xLDd5=w+(I&7j{90o6S0dIQ;Vzr>4|fmLY!r?Cu`mf_ zz7<|*N3*)iEFqK5ZfK+|6P6K{pK`gCiJ3ZVg^BAZQUquJQrc5OCa;+wQ`Vg8 z>a4vtnu5In1{@xMC5k;&S6|iYEdewo5BS?h9?5RsIhE}+<7a&3Z_By*M)D@KhD-KN zQh0`nI*hDRj{|imeR3JhPbs|H!Shm)>MzdNa2I_xI;WASJINL@KeD&G=1x&<<2nXl zM69QopN+25VVHE1?YYDIhv^v@HLF#VM9>jGuAQU%KqC6=zqY26Y|kCuJ50|5tfrRM zP1lJwN?{$G1laZoW_GQooT&^4sL@l&?+KsRqNkQ?hc~{3WMU)QYl}siJV$DKOR-jm}4QLEN zFql*nR5F#@8hs5atHU@|(f%Y=VWI(hhC=1RPkJGl?A)$!Y-_>fz*j*mG zZ#zpcbc^oHV2^Bv16a}cYc447Jm(5TAy3LdO9C`k5{MB2H!R50wVkx8-nsAL`+u&E zLnbR^BmymDjQI+)(E~7GG8#bzQ+zZKm_-mI0jvq7DWg6W1#db)-tWd$dEWl6n6UkT zLkoqA4guMU0)pcC@3r!%z*NH^4K}0FScQ_U9og=qURxR{+x-W=rraGzOjcnHQ|mn) z{l!PjlKsZg?z7~ZzHL4a)BKfz6Q99p(b_-u+S2Z`UGc^IAsUO zz^(|I0{(uT|1baJh}&4Ek{6ZKMV-NTWar0(QxbLKP8*5t9E>o22iuE_lnM&)bakn# z5QcV15a^C4mv_z;bRimY=t%;2E%LqZ_Jt);8h6|*@0>GOWmPyZErIEUq3sL;fb02W zwx$k{{C4JP>RM6dn%B$)oHgf_yu!MICVWaQYHuc!ACAF*nT4V(h>+NjWX)^AOJJG6 zy}yYo_1OMH{cYxSXpOl;A25dly?C9DB+%;G-elFFsK2@+{KwN2>_Ao!6Y0<%n+^m<+TiQ!FB60UIs1@8%XO(uFx;UiN#dydWWNkSR)x@P!P3Ozu zI?{>^U>1Qml}~!cmzG0Se+_rvI`40QZG9x*{1`me@-J9&P07^`sIZwmJbO=*#7~8y zWDtnwhwuOstFB65VL>>kmH`X~19aMRFJv-;Me)#XExp`R?%(aqs&#q+siZ)NbfH8L zJ_i_sA$VEf`4z?NWfdAIr;P%4+t$KFhhED1y}#;t5@*T8zc3^sjB(T%Qf3sWJtwPc zo-)5hfXvmrB4!j&oJ`z~9rNj>P_jnPcCB+x>;5d7R(H&B{aZ4-9Sig6rBJfQZhmdL zvmdtuWk(oo9r%MGS9MrpIzR=Jmw+rm(VAB>>zaWGilX@`kqIaT!WIE3VqF6U8DL}v zm`wJprC1J&0ohaWJ(T~))K2%}qd}+6K@bDL$i(1O9_-gDuB^?n=Mi2hiJ6h3gKr)A z8Vh#IR1rkV#SlXUk_6z7;2R4`*HtHaQt3c^^*D^&&*&AKh-;%ivh zZA=xxkaBU+d5@ys%CYXy5xdK4z`kPqRqR5T2JAL+V2oJpVT5zc$r z*q#t0);K_cJb@AsfoXmg*1ReNaT`Hp0z(5B3@LsjD29}RUQf-RHccX*e4P%JI91X+ z4#F-qUq?%JkZp=31ic?tAN>PXJ4IhVqq zd5(ewvlWPSr2y2hEx0)HK%_(9jA-W1`MOV?W2*i)?d5;RaW|wl@8S^WP>M%@x$)Hg zZVgx2lNYq_Z4e7!f*aoSBWF09?9h~^%r=1Uqi?!8;*2+8={lMnWl&_8o!(f#InxUn z)BQyi(RoLOC}?X}me=UDdotnmNAPFnaliIr!dhDwzmqZ&1moNvl@y)T3uo$HzH za>K&~jFG+)g^$YXbg0C>sQJBP3C{YU+p{v5(ZMesk~9~YLJm=OLl%Y(cHJG>2i^XV zj1GSBP?F|?f6Vv&B8LsbVCV5c?ZzqB7>uz^iZ0yk@Xb?M{TmXq9Y+FkrT{_>LsU_~ z$f^a2(2~nq0=7l4g`@_gx;nASeRyWS=q0Z5X{?_nBW=yyX*f{;N5D~lkphySgL&F_ z4Od=($Ffgm;1KF;sASY-tjco60E?MBOgb_lVn{)+WxGI7n<^JkYbs(qs}G8i@6B4@ zoHHOq6!*h;;>;QWukSQ6Wr*wn%!G3o3>&sm^RE*K26`XwRjNWSwt;vtdB{e#jw2CeExIxoXo3L(=VAs{ zazRiba$Tsx^X=0a{~uTVFZj&=_AVK(aTY{wo*fF5OvIt)TdK!?G&fPzF6#wcjlry& zrLD)0I*h5kEq?>!F75}Z$51stsdkBv+Tpghy`E-bDIXXU9S|{+ZkSc9rPM_ODtL); zqiFq+QNPoHHs=pm7}wp{PbWmz$yME)*&fb6cbnw=Z-I4x8%;(N4U(fvqN*QcgCk3B9Pu2VyD~uvOjmB zOCLQ`cy6R2)xBMEK6|<5Y#+75;oDyS{saDY2b*8^=Pq<5!OXSG{X{%zy15F8yrDiQ zX|7DO`wh{q$fE1sibNQa=k2u7o|V9fq)krUmIzkXk`>t=^yJ_EAOpXAD(@}TOP6`; zCGeB0|4ZWh)fdGY4zM76Hoy@_A4MVHh=E!fDHZs5MOyg~_T#DTvDP*eTdc80Vi`dC zd15fd7{6`Acv9nwygkju0wrhw7sl9?MuM5~3Q|LKTycx) z3IZu;15ZK7*p0VcQ`!S15@SAOa|BLkn?j&{ArXaTD4G4V^-nnJ-}Q$7n0BF$0oU3J zuW2tLZNCpH70edamgph@YUFrvVU#eWD}h?-MZ)6SPxgRG7YLTYk<{C1GP@Eaa)KLK zrz>~|)P?MG0c)3)9ns5<$aJSz?;k+=*ml{mYom4Ua`h<{Xw+~kDB`$sfFr?8woFzJ zuIb}c3O-F=ob%Ra|Ix8w*X9rVB*p|2X+PU8J9cf%bnbHfEvjn@B;eaMod!h-VLO28 zy_m6&1lq^;NXC;4v`Ndt1aBc`!4yDI$|iJSCFry`>r~9n;5fBP1ew8nY%uVM`IGVF z&d9)0K22urGT|k#MBt9VATI(F)tnOmCoc;3(j0OnQEvo%1{75_EkgA_Z2ccs?;Cu_ z2713gXVxAaZJaO-C@=uKdz*qKv|24fl_;&7kQHG&2-!n4+~?e(GjBP+)#ZN`z<^{g zIs9(W`@HjW%*U~&X?S;&y+~jxwyAjUe*3RkfY(6fGQnqH6}5O^I0m`NxX|== zc;WHgwIB%maq-vt?%x8v&!2sw`FN%^wc*{VVUY!Xa-$S2A^@;j6tw{D$kOns3p1`N z;Qs))Id=Nu4vxh#4Q^yFGD0C|X(skanAi}rh+8D7iNg@5&O8u1|E~fVkPQ5n9Dck* zW3feQHzVlon{NdZ))&6M>2>jwj;*R<)L5AaN zrMu?_&_#icR)MTrHN^V-#uH1*dv*4uKUV=b#WXud6pRsPof@&^vBJ6{0>@XtjWjW6 z8X$>M%9G#CnftQ^{_tWkmhcxGbgDw9qZ#Kp8WIQ0=#U6h&twr#ULyrnaN?BmyYBjD z?KU~22*KyIm{nwQ2G-(G3p@r>%>a=>M7dZQ0=K^{FBa1TMp0GP>PtkePrUd;%*pOo540%5U56J&`t0^b{^Hfpa+nC1(X+gIIvY1oJF`CU{BUGcOt^ z0CP6TjuRL?M>hwk1Vt7YJ_0M6K$d3a@dS2SK^0iSDTT*^ExhpE507W^68%mluRt!D z6$rB!Lxaf}2+&gT_|N46O0-94w za74kR##w)sSG>(YKzjvI@W_!Nf(Wx92!$|K5x?|%z8mCe<8DY7r8z5x1?Iz8!XKhE zRpa6?hnbnV)FJM0(`$40i?#UhNf(Ax5sFjD&`z+G(73#Id&lmCYR+p07^SdcDFUYw zu_^`0)_>~lpX2UnqpW5_8DY_?Z@BKYNZl)?)AY!2Z_a=OXxK!=jA-u%8>o8NS=sEu zDFgH~{X{`S7UObDUVCtiH9L%v0o8Q{Ji;u1p|o80wDEjzZM}DJ$*NvZ;QM|PhE+!Q zu9$Ve%smqs3EnR@nB!uf1Pe|X-~qda6_IXp-eSy%IUzH0CNmfSYq&*)qQB+8vU|E9 zKwn&Jh0xuzGn~L?Wh-3%07M*H>x|xU>>@@jDBe%jpJcfpNt;?NBiTZ%OoGpBiRKHS z;w!)aGLXpxgxwld;@2C#?Ylv>d9%^`*s+d1ANste*!p{4MnBni&T<8@Xho=Q7YVXRtAYu|nTwhb1WX48Yv$qzK|o+}o8pm*yl#8ec;@Oh zIC}>l^8MDfm%ShDls;@F zlix)Ec9b(#q85B^DKJ!Z&1^6UP{tSo#tIPZ=dra4Z}v9U+s5_ay%DAge?iTn_v@=# zwmt!N*eNZG1uk43AGN!-*+qAJZR!QcbwJ#ih`zyf2N946XllbmS^K`!{mT2%0;4H? zM}b5=yuWr80lu)H6o}Q)+fZ^7V3bmH5G%Ff06BAUteL`tWs_6h7xIOSpRs=CD~T`} zfedxRlOPA&_j@f0bMtLc(Hpl|`u|-H@~1Ou&z14}(#~t(bct|ptCJLQCv+8wXUZkt|q4 zEMkYlhtD%u3aU-FV6d-LSIy;=rVuXxE$%YBb1E3Dqu)t614N_|Kc+2vfU zSSsmnA1CU5`J9FTxl!fwQ7 z9}{;%78sAQ0A>z=$N|B{=@(olYMq%!*@z(aR{w*BI(_h^Y2($G^Ju)J-dH2UNV4ZU7J}l9jQ8H_>XqIf;ydA-RKcAI1L~T>aDod0?L4u)6(!rs zHA!-c0Jk7h3dRIb=a*W4ps=bcfUY{40k60N5VUBGK+N;$wP^TEL$DM=QLm3y@?UIC zc!+IWAff#PXmd+Px@oujE@ae%NaoI&V~@a%$IAy_i;IN)iSl62`lw3awvkWOc0!Z+Fv!T8j*9!#7dMreqy{< z4W55Wl`4%IBk=b5^0b?O-m!KRn|c#bKS4&(4bq%@>{xv5J;5G>O%Gb1Q3So#Ia_cY z0#5Wq-XtsUHJm>!F!q7NJ*n&o~Ene;VK4tBmez1G%BuJv%try|HRr zfN@T1^91*gIY&gQERB|31Q=`9c~8bgkcpgG3G)a^!=EL*7^vvdDp_FjyX~#+ z)IY+#$V3Yl2p8aBj=|u0Zw7m~{4uW0^B%Anw1B8jq;-y~uVw+T)zeD}?<6_>G?xF* zFRah}-={Nv!P7qvUD9(TQ&gf^1ts@A!s+gCiY zl3NSOagi7Yp=%VO>s+FwZmycSI0DK#222bNf(5)JRRV#^cT3vbvSs%uG^NQ>M#)fP z02mh^V@xIuNQSjmQ3$pTj4|lu20|vSMQ5K|WeX6MB&ge!rJwe~zb^?$UnpPV=tTdq z|9h)v>hc$uCTLR7=ClG7P9FTOScf8{-@@jUJzx<~fy(I+ED4%>-j^JnlGWQlx{ z5rvUQ9)P()Z)rl0F_~sxTz9cG$6x?GfPF-geUndBXP^00;gnBBa6oEY-;LeHWqo}~ z;K%dt>4U1D{hi>Y5-kw1ph3|@(2atF<9K%m2)Hq!b2P3C9302H=LV?kPu)CO+?&HK zOPUwufK$N0o^hHw2V9+;oz|aV8ovGy}0m3wAj#Nbd&c7 zKqn_!*oYikJ>|&vj6>4bXSG~BmwQiV{a8T!{CVT<5$9vJaX+tk?S|e0z6)^7O#mGG zv32n7bT?3U$A;fw9NhTRWY`08Cwovg&n`x}pXlOA;+@eQTIUJw`dzTywy75&_z2v! z&mT1bNd~|7QF@$rZnts+9bIdY$kBOU#@NwGBs($%gybRxRtvnm0Avaym`prClgSIX zsm7vBXM0&B@c%c-&-Lo}&_3(iKQwU%WYGj6Mme;gl%Yk-kca@IcpkuJBMsPQ0h>AP z!SkRw)C?81Hn+O9nFEr79AJ?{y1yjpZQV0!!9|Gmad1e zcuUnT@5DEJ+n&p=EoA8?F2o`d03wf~!AfY+05E=N2G2uagS{|l zw0_Xgm##)I$&Be+z*bK=j&vr6apad5X_4gpj=W#WcOqX>pV}TWwf!`&{^Or-`%Uzf zKKn!7hhNzlKMW?%fys`xUs9tJ8MTLz3DlMZCot-2v0_Ex*o)E&>?7#((t-QF@yEp> z=_4Sci^3ba1OT~8BHyv@yvzx_pnWq=Y=A{p8=u8fzLRW12A)|Ct}ej)}QKY27b2N*d(uvL=U)O@{+ z@%DW7+s?s~(VX3A-eO!N?JcF31QQ@K(=FD3!5Roc2pDTXRlx@41lWveZ%h>%<{pC{ z&^Dg{Kf%<)C<)P+IW{+ld1pT1*pDLze1W%ImL=1%K$~FKQjtCwO3vFN-Hnp$C!}de z7sE}4vkIda8Gb0171&&oaP^f=|np~rE@P5|S80hk+DUCr~P>=6LHL!syf%ErF$EqYL# zi#dz-?^_S>Bry;`%H1hM$YeEw16hR=dfG8seU~T{dATooZ5Lm3Sj)F!Wpah7h0vH4E)?fmgT42!h*Z^Zl z%$^i}D$2=Eg^kc+KJP5djWRe!#;rol(F^|Swh(MDpK_o@Ii6r-b89!48^E!be!#0! zYVQs=9H1yDaIf_8%}UR;F7WL&*v=Eh;3Z?ao1EFQT_~uf&X*wYr3f^A?Bkg#+Vjr9 zV|i*1WIRMcgBvRE+~5!zIr0P;MJXDfWdH<0fno40V8Ue<&n>f|VF<8+H8@eWdIFd^ z$YF69`96~Y!@(8<>MXED4sz(cn|C`!0X=f@5k_S}%uHzqX2-kWx)E@Lm$lPprr|qy z`ONW`{N>5wvDoHHQU*qER8q>4JHP5O^`e3ZMxXZPzEXZ`fjy#y?@a#L)|?DC6AXjM zW#q72Ee8x98A?$iW5i0VBi1t3Q3lUN@Z4j7_nun@b5#Lzj%l8IFqoa0$INZ!Q!5iK zzy!=^E|bW)W{d3V#>*$Rm)XkDf*w!acL^Aou^vap+{jvb@t(m;FQu0Bar0@4%}qhz z(A&%2MWp97o(U*;vKXumnOiCm#cs&{tP7nD39+)3dKddwrp<*fI`B?_$B+aA1TYSv z1aR|l92i_2MFGqsMG$}zYXD;as(N}JfSU=nf!cufcml>@z=?~eqLg`Ofkh@TH=sKZ zTzs`sPMKhfOrXaOf6d;)U!xqkX!RCv-W8g6iuN4b6Y2i`M%>tr9~2~XKFs`vCyhaW zlQ`AkZ?)^r%%y@JMyjOAiZ4fCKwyh#<~s%S&-oJ=gE^JRqiE5{fjJWxhjAE@VNjG< zt=_`O!B_#oU=v0Cpa<-+H5lv-_hK{Y!G2;K2Egesn4NpfXAYQmGf&6-)s<@1!l!Fy zV17CToDL(8g7Vk=y1Re^SU+M;2FDMT){Ao}z|o`*8>n({4idgSST-#@aSSL6pL_<{ zUV~68?O2vvEV#$+Mg^5>`1o>lIrjK=7=lZEFhnp05TIgWWO@5y-!~g*noR=&JHi+X z3^^DCfVmM6C_yl^XiPFj00*T&Lj!>mL4@`a-$M1puU}uS)gAGNrav}|jwUb{O1#lK zrxTh6l7NDU3#9i69S4SDYRv$%FY=~FGTwgoe`($i^697^tN@~Y{$?b)V1%;*=^hu| zyWj$vejluBEe*2W znt2`r6k|(g*Ys=FE?)fNi{*c&Pi4{&nP4~xzFFS9{OKV6>7Pg<2?_#9@Rk&3X;Gsq zV043-xf#ezvnCoayr1NV^zxAYw(#+HzPRAAi!ll@RfNKq^$*_=Ep(##AqINk;vCQd zFdL|X?x*I5(?l54f{`H@<1oMs3;Bep{58zcug7<4ua3+TzuGMrV=p~G6?PXA5wa_5{`^Z#vfbsXY z^bJC9Jt~SGyMbb)Mvujb`+C31Tbm(>u!|P*lhONHkf7rg8|?mSUWOWG=QPOVF2b9nNS5Nx#W^3)nJlg3shp8C_ zMe5hk#(ftKs22(V%BAy~E4t8u{Q(j&#^i?s_Fy1>=z={oXn=+R@KII-kweQk46+o^ zGC;xHd}bI$K~V@ds^bJgJ=i_QV7|T(z;}sR9KN|19+^#&9nkch-uGI$xo_W#IGXX_ z*FTYJq5@3t3n?fAHP>Rj=uxP)-C*&b=KVB-?vY0?yOZit5~J-VH(WlG&i<~5vE>%$ z_|hFSV4;AFfXNSy=MNSeuqNXP(|&R+BXVfbG6F@*0I+V=_|L_e zrLrDuvymsAF9d;6$u>GML;|ew_TO|4t7!25qp3E)wWEfa? zQL|w%Fy5L#n7FB?z&MN?12hi9umsY@y10XaH|01_pzZC`sfUs!E`e8u99keUxlU@c z@ni#I&||H7YqH*Fo?mYY4=9F{`bnQ8`xeRWN>gP(y+!7KAN~d$D=<;<4II0Td~7D6 z_CYdFK+Y4;pzhA8M?BkGBFO8CsNfqj>&dPnC`ygc&v!>AV4+15Hyy(*yG?=C;t_ z+Hi3*PjGng~;_}6`mh9L*Ne}&?=DgAbt?jG=N<601#x`20VEl zje&y(ya;yNhL;!Jt+M+LvhR(t7PxyYJkd+Z%OOFq!Z>~fu~}(mOVzuxo&^FAcv2cn zV!3vY$vsLv6Cf9anvkeaX)}Mhnxhx@any{-ZD%FMb>uGQA_l;Qp$Xf2U?@{A*vvsU zz+eIa7C9J&aTtK8YQg)dDB6upioj1kPJyQH>ZZfHOI3bKw-o{oqZ}dwy9xn}0qnt; z1hYKr`!l9E=g>6K|I(W|6fM(~DO3j;qNwJ`4!-t&q5-Cd z#X#@*rSm?(>kLqSiXjYiCUkR=jd>1#!JGc?Gt7I1u^kYEK?;2d^53w3xP>RKfedtj z$3KDqw1X@cn0m#iWc46sY(tO=qC}d`4vn?-O{BUTx*y}(f^LlKZfVV<16RSJu2=h8 zuI6vO<0nBO+A0_tFt*WTvY8%Gu07Klu!Z16Wo_i;+rMuEV3Lf@$ZATSL^(uP0rLbs)(zGEIqN_@q_+18%r2)ib z_ih-?HXi}lNYDTRut)(^ep%5|k||l>4)5x}>62XE6fTUEM7QN2j}m~xW`Wq_X&A$K zYsY-Q_=H2Z6TKMK4bjbWlWD*aHV`k=FFXEfK1{H}p;%6#T^cEG%+YSHQ3P|~2S^6P zV8OMWmGYFJ;$7AZCJfLV48+(ID!!tMNo(*tfTAh1COo~YDqWzKcdNkAr_Dn}OHG?a znsNpPn8#QSvq573j4^;S7x1z9Sj;HG#*S08s>UEHJ(LT&>MVL4Eki`Em4v|j)!sjL z+uwBcAcgBc1)d6(_jkXm7&L+&8_C|#G{mQ@udm>_e;^5vQY>ZJZjkwNfBIczy!$_1 z;DnSbM9W2#QD9;dl=-0tfIZ-S-jiHutMeEk!7{CGp$0)>E7&GLSP%1h+jj6_w;$c6 zkKg~2N8RT-P=RmK%#h;MyXtui81$HP!(`6^Cf2IW^B6<4=TA>o&Zj%KJI?b};OXrY{D zr5sIisL?chmOW?tkh8R)WpHtjhYfrJ_iLb5w@}3h41)m%xdZB2$t{@k+{_^tQ7a)e zX{KO@YmR$-Q$>M-6+DEh^T-1r)=&u0qQOOrzieS#5fr^)MfHE~?AHRq0(Z}|>Uxao z^r8M3&zxo3v4%!w$tEo3JgqCDT7<7wdfhQ6#`wnKmiwg7+Ur*7`cX|0U@^! zKV-&ct}x1A4H#qwFpGkXk`S%bz_V#YZb<>K;_ljv-*wdr&Mq}Fdy-&aL$CEsC0#rJ z#`z8HJwl{nFbYbnjG~c4izZP?cqk&;JDvY!ctL|%kTY@eMmW^TkAUXchr4dE251>; z88C`+apnQ{YivpoL9PL~j)sx5w~Y6?pfu?f2}@F7eN#+|xRUlc7 z!cw-(+p_{KJO*C_ihtxw?jDc*@(*rP*BmLpgXvQX8az6*=*&E#-A8S)AeaFWMD_J| zr8U4sWV?7zQoDB=_I|(@C=~eRn{Il*{1@L!jktyC9?@7w9u%Pv>p;kRsi{n=ME?hm z&9#68Ui?EZIsNw+``tO`6nytMIYlQi=04X^VB`TK4~jB#yVo+wip~~&R(CQ14*yq@ z%Zu*WWrV-}Fd_e(z^#wx8r0Ll_mrbJR_;d(D1ecNB85uuxv-pFn6i#Mjvq{|yU*mb zq@5BgCvkBSu$9QVkOx{A05cCDP)Gm`Py!NBrubE~dS`YB9rbX=NgzyMyTFa#jq6iE zC5VZ=>|k7jl!VX(AoxA$Jt<4}>mys>HIMTzv^`WZ=}4rFD@(xHm81&XCfU-%mKnBm)ufs&8EQLJ$UrJH(jCs<$;>k&Op{TmnE0S+_vVd< abOm$;90Ys?W(n*OI3v&?(D@SAkOBbiQL-EW literal 0 HcmV?d00001 diff --git a/examples/tailwindcss/tailwind.config.js b/examples/tailwindcss/tailwind.config.js index 5d7ad12b7..b476e573e 100644 --- a/examples/tailwindcss/tailwind.config.js +++ b/examples/tailwindcss/tailwind.config.js @@ -1,11 +1,28 @@ /** @type {import('tailwindcss').Config} */ module.exports = { + darkMode: "class", content: ["components/**/*.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}"], theme: { extend: { colors: { purple: { - damp: "#6674d9", + damp: "#6674D9", + }, + gray: { + bg: "#1A202C", + lightbg: "#2D3748", + }, + primary: { + 50: "#e5e7f9", + 100: "#bec4ef", + 200: "#929ce4", + 300: "#6674d9", + 400: "#4657d1", + 500: "#2539c9", + 600: "#2133c3", + 700: "#1b2cbc", + 800: "#1624b5", + 900: "#0d17a9", }, }, }, From 0acfa6e966ebd2d3812bf8384abfd781ea9f7b77 Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Fri, 30 Sep 2022 23:16:39 -0500 Subject: [PATCH 137/262] Completely remove chakra-ui and react-icons in favor of tailwindcss and heroicons --- examples/tailwindcss/components/types.tsx | 43 +++++++++++------------ examples/tailwindcss/package.json | 3 -- examples/tailwindcss/pages/_app.tsx | 1 - examples/tailwindcss/pages/index.tsx | 2 -- 4 files changed, 21 insertions(+), 28 deletions(-) diff --git a/examples/tailwindcss/components/types.tsx b/examples/tailwindcss/components/types.tsx index 5f9133656..8f1db84df 100644 --- a/examples/tailwindcss/components/types.tsx +++ b/examples/tailwindcss/components/types.tsx @@ -1,13 +1,12 @@ -import { MouseEventHandler, ReactNode } from 'react'; -import { IconType } from 'react-icons'; +import { MouseEventHandler, ReactNode } from 'react' export interface ChooseChainInfo { - chainName: string; - chainRoute?: string; - label: string; - value: string; - icon?: string; - disabled?: boolean; + chainName: string + chainRoute?: string + label: string + value: string + icon?: string + disabled?: boolean } export enum WalletStatus { @@ -15,30 +14,30 @@ export enum WalletStatus { Loading = 'Loading', Loaded = 'Loaded', NotExist = 'NotExist', - Rejected = 'Rejected' + Rejected = 'Rejected', } export interface ConnectWalletType { - buttonText?: string; - isLoading?: boolean; - isDisabled?: boolean; - icon?: IconType; - onClickConnectBtn?: MouseEventHandler; + buttonText?: string + isLoading?: boolean + isDisabled?: boolean + icon?: ReactNode + onClickConnectBtn?: MouseEventHandler } export interface ConnectedUserCardType { - walletIcon?: string; - username?: string; - icon?: ReactNode; + walletIcon?: string + username?: string + icon?: ReactNode } export interface FeatureProps { - title: string; - text: string; - href: string; + title: string + text: string + href: string } export interface ChainCardProps { - prettyName: string; - icon?: string; + prettyName: string + icon?: string } diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 5fbbd6a72..dd79cbaa7 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -9,8 +9,6 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", "@cosmos-kit/core": "0.18.0", @@ -29,7 +27,6 @@ "qrcode.react": "^3.1.0", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0", "tailwindcss": "^3.1.8" }, "devDependencies": { diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index 0d15681ed..e41fa1e65 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -1,7 +1,6 @@ import '../styles/globals.css' import type { AppProps } from 'next/app' import { WalletProvider } from '@cosmos-kit/react' -import { ChakraProvider } from '@chakra-ui/react' import { wallets } from '@cosmos-kit/config' import { TailwindModal } from '../components' import { ThemeProvider } from '../contexts/theme' diff --git a/examples/tailwindcss/pages/index.tsx b/examples/tailwindcss/pages/index.tsx index a9a24c462..bb4c750cd 100644 --- a/examples/tailwindcss/pages/index.tsx +++ b/examples/tailwindcss/pages/index.tsx @@ -1,6 +1,4 @@ import Head from 'next/head' -import { Container, Button, Flex, Icon } from '@chakra-ui/react' -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs' import { Product, Dependency, WalletSection } from '../components' import { dependencies, products } from '../config' import { useTheme } from '../contexts/theme' From a6ce2a959d325bd5ac181a3c6bc9dcca9586c65d Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Fri, 30 Sep 2022 23:17:08 -0500 Subject: [PATCH 138/262] Yarnlock upgrade --- yarn.lock | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/yarn.lock b/yarn.lock index 7fdf64d64..2a8b4fa97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3265,6 +3265,16 @@ resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== +"@headlessui/react@^1.7.2": + version "1.7.2" + resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" + integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== + +"@heroicons/react@^2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" + integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== + "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" @@ -6331,9 +6341,15 @@ caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== caniuse-lite@^1.0.30001407: +<<<<<<< HEAD version "1.0.30001414" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001414.tgz#5f1715e506e71860b4b07c50060ea6462217611e" integrity sha512-t55jfSaWjCdocnFdKQoO+d2ct9C59UZg4dY3OnUlSZ447r8pUtIKdp0hpAzrGFultmTC+Us+KpKi4GZl/LXlFg== +======= + version "1.0.30001412" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c" + integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA== +>>>>>>> 10c4410 (Yarnlock upgrade) case@1.6.3: version "1.6.3" From 981b67a852b2e531eb0a2af71ed736450a33b970 Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Fri, 30 Sep 2022 23:32:23 -0500 Subject: [PATCH 139/262] Fix yarn conflict & update _app --- examples/tailwindcss/pages/_app.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index e41fa1e65..6a35bf862 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -1,12 +1,12 @@ import '../styles/globals.css' import type { AppProps } from 'next/app' import { WalletProvider } from '@cosmos-kit/react' -import { wallets } from '@cosmos-kit/config' +import { wallets } from '@cosmos-kit/keplr' import { TailwindModal } from '../components' import { ThemeProvider } from '../contexts/theme' import { SignerOptions } from '@cosmos-kit/core' -import { chains } from 'chain-registry' +import { chains, assets } from 'chain-registry' function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { @@ -18,6 +18,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( Date: Fri, 30 Sep 2022 23:34:39 -0500 Subject: [PATCH 140/262] Revert to using chain-infos --- examples/tailwindcss/components/wallet.tsx | 23 ++-------------------- examples/tailwindcss/config/chain-infos.ts | 19 ++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 examples/tailwindcss/config/chain-infos.ts diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 58727052c..ea5c09128 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -8,7 +8,7 @@ import { } from '@heroicons/react/24/outline' import { useWallet } from '@cosmos-kit/react' import { ChainName, WalletStatus } from '@cosmos-kit/core' -import { assets as chainAssets } from 'chain-registry' +import { chainInfos } from '../config/chain-infos' const buttons = { Disconnected: { @@ -46,26 +46,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { chains, } = walletManager - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name, - )?.assets - return { - chainName: chainRecord.name, - label: chainRecord.chain?.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false, - } - }), - [chains], - ) - - const chain = chainOptions.find((c) => c.chainName === chainName) + const chain = chainInfos.find((c) => c.chainName === chainName) useEffect(() => { setCurrentChain(chainName) diff --git a/examples/tailwindcss/config/chain-infos.ts b/examples/tailwindcss/config/chain-infos.ts new file mode 100644 index 000000000..0592d230a --- /dev/null +++ b/examples/tailwindcss/config/chain-infos.ts @@ -0,0 +1,19 @@ +import { ChooseChainInfo } from '../components' +import { chains as chainsBase, assets as chainAssets } from 'chain-registry' + +export const chainInfos: ChooseChainInfo[] = chainsBase + .filter((chain) => chain.network_type !== 'testnet') + .map((chain) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chain.chain_name, + )?.assets + return { + chainName: chain.chain_name, + label: chain.pretty_name, + value: chain.chain_name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false, + } + }) From 2ed58f0cce9b72da5ffd83afac408fbadb1e0c24 Mon Sep 17 00:00:00 2001 From: Josef Leventon Date: Sat, 1 Oct 2022 00:21:23 -0500 Subject: [PATCH 141/262] Fix wallets data --- examples/tailwindcss/.next/trace | 181 +----------------- .../components/react/views/WalletList.tsx | 2 +- 2 files changed, 7 insertions(+), 176 deletions(-) diff --git a/examples/tailwindcss/.next/trace b/examples/tailwindcss/.next/trace index 55772fb46..1fa649915 100644 --- a/examples/tailwindcss/.next/trace +++ b/examples/tailwindcss/.next/trace @@ -1,175 +1,6 @@ -[{"traceId":"43f2de6d909a73f7","name":"hot-reloader","id":1,"timestamp":1670776274789,"duration":27,"tags":{"version":"12.2.5"},"startTime":1664593820180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"start","id":2,"timestamp":1670776275316,"duration":0,"tags":{},"startTime":1664593820181},{"traceId":"43f2de6d909a73f7","parentId":2,"name":"clean","id":3,"timestamp":1670776275338,"duration":15868,"tags":{},"startTime":1664593820181},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"get-page-paths","id":5,"timestamp":1670776291741,"duration":386,"tags":{},"startTime":1664593820197},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":1670776292138,"duration":185,"tags":{},"startTime":1664593820198},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"create-entrypoints","id":7,"timestamp":1670776292333,"duration":1129,"tags":{},"startTime":1664593820198},{"traceId":"43f2de6d909a73f7","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":1670776293482,"duration":34898,"tags":{},"startTime":1664593820199},{"traceId":"43f2de6d909a73f7","parentId":2,"name":"get-webpack-config","id":4,"timestamp":1670776291697,"duration":36697,"tags":{},"startTime":1664593820197},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":11,"timestamp":1670776362488,"duration":470927,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":12,"timestamp":1670776362778,"duration":479787,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":15,"timestamp":1670776362817,"duration":485985,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":16,"timestamp":1670776362827,"duration":485987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":13,"timestamp":1670776362798,"duration":504274,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"read-resource","id":21,"timestamp":1670777034471,"duration":2698,"tags":{},"startTime":1664593820940},{"traceId":"43f2de6d909a73f7","parentId":18,"name":"next-swc-transform","id":19,"timestamp":1670776936418,"duration":114141,"tags":{},"startTime":1664593820842},{"traceId":"43f2de6d909a73f7","parentId":17,"name":"next-swc-loader","id":18,"timestamp":1670776936026,"duration":114541,"tags":{},"startTime":1664593820842},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"build-module-tsx","id":17,"timestamp":1670776928223,"duration":133557,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593820834},{"traceId":"43f2de6d909a73f7","parentId":22,"name":"postcss-process","id":23,"timestamp":1670777269583,"duration":229134,"tags":{},"startTime":1664593821175},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"postcss-loader","id":22,"timestamp":1670777037322,"duration":462495,"tags":{},"startTime":1664593820943},{"traceId":"43f2de6d909a73f7","parentId":20,"name":"css-loader","id":24,"timestamp":1670777499961,"duration":30156,"tags":{"astUsed":"true"},"startTime":1664593821405},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"build-module-css","id":20,"timestamp":1670777032061,"duration":504400,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593820938},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"add-entry","id":14,"timestamp":1670776362809,"duration":1398843,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593820268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":10,"timestamp":1670776361886,"duration":1399970,"tags":{},"startTime":1664593820267},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-chunk-graph","id":26,"timestamp":1670777799266,"duration":45339,"tags":{},"startTime":1664593821705},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-modules","id":28,"timestamp":1670777844671,"duration":14,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-chunks","id":29,"timestamp":1670777844724,"duration":474,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize-tree","id":30,"timestamp":1670777845238,"duration":77,"tags":{},"startTime":1664593821751},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-optimize","id":27,"timestamp":1670777844644,"duration":834,"tags":{},"startTime":1664593821750},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-hash","id":31,"timestamp":1670777919517,"duration":13548,"tags":{},"startTime":1664593821825},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":33,"timestamp":1670778367939,"duration":638,"tags":{},"startTime":1664593822273},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"NextJsBuildManifest-createassets","id":32,"timestamp":1670778367414,"duration":1181,"tags":{},"startTime":1664593822273},{"traceId":"43f2de6d909a73f7","parentId":9,"name":"webpack-compilation-seal","id":25,"timestamp":1670777793062,"duration":579309,"tags":{},"startTime":1664593821699},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":9,"timestamp":1670776357949,"duration":2014631,"tags":{"name":"client"},"startTime":1664593820263},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":34,"timestamp":1670778372841,"duration":249230,"tags":{},"startTime":1664593822278},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":39,"timestamp":1670778697933,"duration":113862,"tags":{"request":"private-next-pages/_error"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":38,"timestamp":1670778697919,"duration":113992,"tags":{"request":"private-next-pages/_document"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":41,"name":"next-swc-transform","id":42,"timestamp":1670778828349,"duration":3109,"tags":{},"startTime":1664593822734},{"traceId":"43f2de6d909a73f7","parentId":40,"name":"next-swc-loader","id":41,"timestamp":1670778828227,"duration":3257,"tags":{},"startTime":1664593822734},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"build-module-tsx","id":40,"timestamp":1670778827612,"duration":5815,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593822733},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"add-entry","id":37,"timestamp":1670778697794,"duration":140948,"tags":{"request":"private-next-pages/_app"},"startTime":1664593822603},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":36,"timestamp":1670778632257,"duration":206581,"tags":{},"startTime":1664593822538},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-chunk-graph","id":44,"timestamp":1670778840037,"duration":736,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-modules","id":46,"timestamp":1670778840799,"duration":4,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-chunks","id":47,"timestamp":1670778840855,"duration":75,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize-tree","id":48,"timestamp":1670778840962,"duration":13,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-optimize","id":45,"timestamp":1670778840790,"duration":243,"tags":{},"startTime":1664593822746},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-hash","id":49,"timestamp":1670778843676,"duration":1313,"tags":{},"startTime":1664593822749},{"traceId":"43f2de6d909a73f7","parentId":35,"name":"webpack-compilation-seal","id":43,"timestamp":1670778839929,"duration":7898,"tags":{},"startTime":1664593822745},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":35,"timestamp":1670778629775,"duration":218184,"tags":{"name":"server"},"startTime":1664593822535},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":50,"timestamp":1670778848009,"duration":7804,"tags":{},"startTime":1664593822753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"make","id":52,"timestamp":1670778859532,"duration":1408,"tags":{},"startTime":1664593822765},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-chunk-graph","id":54,"timestamp":1670778861052,"duration":15,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-modules","id":56,"timestamp":1670778861076,"duration":100,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-chunks","id":57,"timestamp":1670778861190,"duration":7,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize-tree","id":58,"timestamp":1670778861204,"duration":3,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-optimize","id":55,"timestamp":1670778861072,"duration":151,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-hash","id":59,"timestamp":1670778861362,"duration":36,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":51,"name":"webpack-compilation-seal","id":53,"timestamp":1670778861031,"duration":584,"tags":{},"startTime":1664593822767},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-compilation","id":51,"timestamp":1670778858639,"duration":2999,"tags":{"name":"edge-server"},"startTime":1664593822764},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"emit","id":60,"timestamp":1670778861656,"duration":12027,"tags":{},"startTime":1664593822767}] -[{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":66,"timestamp":1670778891887,"duration":7233,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":67,"timestamp":1670778891931,"duration":8170,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"read-resource","id":73,"timestamp":1670778900491,"duration":155,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":74,"name":"postcss-process","id":75,"timestamp":1670778900672,"duration":34605,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"postcss-loader","id":74,"timestamp":1670778900660,"duration":34766,"tags":{},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":72,"name":"css-loader","id":76,"timestamp":1670778935445,"duration":8902,"tags":{"astUsed":"true"},"startTime":1664593822841},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"build-module-css","id":72,"timestamp":1670778900306,"duration":49569,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593822806},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":71,"timestamp":1670778891971,"duration":58495,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":70,"timestamp":1670778891958,"duration":58525,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":68,"timestamp":1670778891943,"duration":64411,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"add-entry","id":69,"timestamp":1670778891951,"duration":97570,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"make","id":65,"timestamp":1670778891663,"duration":97888,"tags":{},"startTime":1664593822797},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-chunk-graph","id":78,"timestamp":1670778995167,"duration":26409,"tags":{},"startTime":1664593822901},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-modules","id":80,"timestamp":1670779021610,"duration":4,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-chunks","id":81,"timestamp":1670779021625,"duration":151,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize-tree","id":82,"timestamp":1670779021797,"duration":6,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-optimize","id":79,"timestamp":1670779021599,"duration":2189,"tags":{},"startTime":1664593822927},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-hash","id":83,"timestamp":1670779037690,"duration":7795,"tags":{},"startTime":1664593822943},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"NextJsBuildManifest-generateClientManifest","id":85,"timestamp":1670779047057,"duration":95,"tags":{},"startTime":1664593822953},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"NextJsBuildManifest-createassets","id":84,"timestamp":1670779046862,"duration":296,"tags":{},"startTime":1664593822952},{"traceId":"43f2de6d909a73f7","parentId":64,"name":"webpack-compilation-seal","id":77,"timestamp":1670778991598,"duration":56684,"tags":{},"startTime":1664593822897},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"webpack-compilation","id":64,"timestamp":1670778889105,"duration":159216,"tags":{"name":"client"},"startTime":1664593822795},{"traceId":"43f2de6d909a73f7","parentId":61,"name":"emit","id":86,"timestamp":1670779048344,"duration":2201,"tags":{},"startTime":1664593822954},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":61,"timestamp":1670778876074,"duration":175109,"tags":{"trigger":"manual"},"startTime":1664593822782},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":91,"timestamp":1670779062701,"duration":5134,"tags":{"request":"private-next-pages/_error"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":90,"timestamp":1670779062691,"duration":5156,"tags":{"request":"private-next-pages/_document"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"add-entry","id":89,"timestamp":1670779062651,"duration":5365,"tags":{"request":"private-next-pages/_app"},"startTime":1664593822968},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"make","id":88,"timestamp":1670779053463,"duration":14576,"tags":{},"startTime":1664593822959},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-chunk-graph","id":93,"timestamp":1670779068392,"duration":251,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-modules","id":95,"timestamp":1670779068656,"duration":4,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-chunks","id":96,"timestamp":1670779068670,"duration":27,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize-tree","id":97,"timestamp":1670779068707,"duration":3,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-optimize","id":94,"timestamp":1670779068651,"duration":138,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-hash","id":98,"timestamp":1670779069611,"duration":557,"tags":{},"startTime":1664593822975},{"traceId":"43f2de6d909a73f7","parentId":87,"name":"webpack-compilation-seal","id":92,"timestamp":1670779068306,"duration":2212,"tags":{},"startTime":1664593822974},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"webpack-compilation","id":87,"timestamp":1670779053180,"duration":17358,"tags":{"name":"server"},"startTime":1664593822959},{"traceId":"43f2de6d909a73f7","parentId":62,"name":"emit","id":99,"timestamp":1670779070551,"duration":885,"tags":{},"startTime":1664593822976},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":62,"timestamp":1670778876195,"duration":195490,"tags":{"trigger":"manual"},"startTime":1664593822782},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"make","id":101,"timestamp":1670779072640,"duration":833,"tags":{},"startTime":1664593822978},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-chunk-graph","id":103,"timestamp":1670779073548,"duration":15,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-modules","id":105,"timestamp":1670779073572,"duration":24,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-chunks","id":106,"timestamp":1670779073607,"duration":7,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize-tree","id":107,"timestamp":1670779073620,"duration":2,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-optimize","id":104,"timestamp":1670779073569,"duration":72,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-hash","id":108,"timestamp":1670779073782,"duration":21,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":100,"name":"webpack-compilation-seal","id":102,"timestamp":1670779073529,"duration":424,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"webpack-compilation","id":100,"timestamp":1670779072300,"duration":1667,"tags":{"name":"edge-server"},"startTime":1664593822978},{"traceId":"43f2de6d909a73f7","parentId":63,"name":"emit","id":109,"timestamp":1670779073976,"duration":548,"tags":{},"startTime":1664593822979},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-edge-server","id":63,"timestamp":1670778876221,"duration":198707,"tags":{"trigger":"manual"},"startTime":1664593822782}] -[{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":114,"timestamp":1670779272251,"duration":4711,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":115,"timestamp":1670779272475,"duration":5496,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":119,"timestamp":1670779272519,"duration":6060,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":118,"timestamp":1670779272510,"duration":6244,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":116,"timestamp":1670779272498,"duration":12164,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":120,"timestamp":1670779272525,"duration":38528,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"add-entry","id":117,"timestamp":1670779272505,"duration":47623,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593823178},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"make","id":113,"timestamp":1670779261475,"duration":58685,"tags":{},"startTime":1664593823167},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-chunk-graph","id":122,"timestamp":1670779325643,"duration":4581,"tags":{},"startTime":1664593823231},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-modules","id":124,"timestamp":1670779330251,"duration":4,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-chunks","id":125,"timestamp":1670779330264,"duration":130,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize-tree","id":126,"timestamp":1670779330410,"duration":3,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-optimize","id":123,"timestamp":1670779330242,"duration":1221,"tags":{},"startTime":1664593823236},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-hash","id":127,"timestamp":1670779343844,"duration":5045,"tags":{},"startTime":1664593823249},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"NextJsBuildManifest-generateClientManifest","id":129,"timestamp":1670779352026,"duration":205,"tags":{},"startTime":1664593823258},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"NextJsBuildManifest-createassets","id":128,"timestamp":1670779351967,"duration":272,"tags":{},"startTime":1664593823257},{"traceId":"43f2de6d909a73f7","parentId":112,"name":"webpack-compilation-seal","id":121,"timestamp":1670779322134,"duration":33030,"tags":{},"startTime":1664593823228},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"webpack-compilation","id":112,"timestamp":1670779261059,"duration":94146,"tags":{"name":"client"},"startTime":1664593823167},{"traceId":"43f2de6d909a73f7","parentId":110,"name":"emit","id":130,"timestamp":1670779355233,"duration":4830,"tags":{},"startTime":1664593823261},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":110,"timestamp":1670779254314,"duration":106346,"tags":{"trigger":"manual"},"startTime":1664593823160},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":135,"timestamp":1670779372311,"duration":5287,"tags":{"request":"private-next-pages/_error"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":134,"timestamp":1670779372304,"duration":5304,"tags":{"request":"private-next-pages/_document"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":133,"timestamp":1670779372261,"duration":5627,"tags":{"request":"private-next-pages/_app"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":138,"name":"next-swc-transform","id":139,"timestamp":1670779379369,"duration":2003,"tags":{},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":137,"name":"next-swc-loader","id":138,"timestamp":1670779379309,"duration":2071,"tags":{},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"build-module-ts","id":137,"timestamp":1670779379116,"duration":3203,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/config/features.ts"},"startTime":1664593823285},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"add-entry","id":136,"timestamp":1670779372313,"duration":10096,"tags":{"request":"./pages/index.tsx"},"startTime":1664593823278},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"make","id":132,"timestamp":1670779362379,"duration":20047,"tags":{},"startTime":1664593823268},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-chunk-graph","id":141,"timestamp":1670779382706,"duration":254,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-modules","id":143,"timestamp":1670779382970,"duration":4,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-chunks","id":144,"timestamp":1670779382983,"duration":27,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize-tree","id":145,"timestamp":1670779383019,"duration":2,"tags":{},"startTime":1664593823289},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-optimize","id":142,"timestamp":1670779382966,"duration":115,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-hash","id":146,"timestamp":1670779384241,"duration":622,"tags":{},"startTime":1664593823290},{"traceId":"43f2de6d909a73f7","parentId":131,"name":"webpack-compilation-seal","id":140,"timestamp":1670779382638,"duration":3299,"tags":{},"startTime":1664593823288},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"webpack-compilation","id":131,"timestamp":1670779362107,"duration":23852,"tags":{"name":"server"},"startTime":1664593823268},{"traceId":"43f2de6d909a73f7","parentId":111,"name":"emit","id":147,"timestamp":1670779385977,"duration":4820,"tags":{},"startTime":1664593823291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":111,"timestamp":1670779254428,"duration":136835,"tags":{"trigger":"manual"},"startTime":1664593823160}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":148,"timestamp":1670780955201,"duration":0,"tags":{},"startTime":1664593824861},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":153,"timestamp":1670791974696,"duration":6267,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":154,"timestamp":1670791974782,"duration":7581,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"read-resource","id":161,"timestamp":1670791983460,"duration":79,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":162,"name":"postcss-process","id":163,"timestamp":1670791983717,"duration":41981,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"postcss-loader","id":162,"timestamp":1670791983641,"duration":42545,"tags":{},"startTime":1664593835889},{"traceId":"43f2de6d909a73f7","parentId":160,"name":"css-loader","id":164,"timestamp":1670792026255,"duration":12609,"tags":{"astUsed":"true"},"startTime":1664593835932},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"build-module-css","id":160,"timestamp":1670791982599,"duration":65158,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593835888},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":158,"timestamp":1670791974802,"duration":74680,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":157,"timestamp":1670791974798,"duration":74727,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":166,"name":"next-swc-transform","id":167,"timestamp":1670792051011,"duration":2757,"tags":{},"startTime":1664593835957},{"traceId":"43f2de6d909a73f7","parentId":165,"name":"next-swc-loader","id":166,"timestamp":1670792050644,"duration":3131,"tags":{},"startTime":1664593835956},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"build-module-tsx","id":165,"timestamp":1670792050348,"duration":6745,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835956},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":159,"timestamp":1670791974804,"duration":85421,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":155,"timestamp":1670791974787,"duration":86040,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"add-entry","id":156,"timestamp":1670791974792,"duration":123171,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593835880},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"make","id":152,"timestamp":1670791972715,"duration":125379,"tags":{},"startTime":1664593835878},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-chunk-graph","id":169,"timestamp":1670792104890,"duration":20490,"tags":{},"startTime":1664593836010},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-modules","id":171,"timestamp":1670792125434,"duration":13,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-chunks","id":172,"timestamp":1670792125485,"duration":290,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize-tree","id":173,"timestamp":1670792125817,"duration":98,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-optimize","id":170,"timestamp":1670792125416,"duration":4433,"tags":{},"startTime":1664593836031},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-hash","id":174,"timestamp":1670792142848,"duration":10854,"tags":{},"startTime":1664593836048},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"NextJsBuildManifest-generateClientManifest","id":176,"timestamp":1670792165547,"duration":363,"tags":{},"startTime":1664593836071},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"NextJsBuildManifest-createassets","id":175,"timestamp":1670792165282,"duration":639,"tags":{},"startTime":1664593836071},{"traceId":"43f2de6d909a73f7","parentId":151,"name":"webpack-compilation-seal","id":168,"timestamp":1670792100659,"duration":67609,"tags":{},"startTime":1664593836006},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"webpack-compilation","id":151,"timestamp":1670791969992,"duration":198412,"tags":{"name":"client"},"startTime":1664593835876},{"traceId":"43f2de6d909a73f7","parentId":149,"name":"emit","id":177,"timestamp":1670792168625,"duration":114583,"tags":{},"startTime":1664593836074},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":149,"timestamp":1670791942877,"duration":341663,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":180,"timestamp":1670792301387,"duration":0,"tags":{},"startTime":1664593836207},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":184,"timestamp":1670792304550,"duration":4216,"tags":{"request":"./pages/index.tsx"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":183,"timestamp":1670792304548,"duration":5006,"tags":{"request":"private-next-pages/_error"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":182,"timestamp":1670792304543,"duration":5022,"tags":{"request":"private-next-pages/_document"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":186,"name":"next-swc-transform","id":187,"timestamp":1670792309143,"duration":767,"tags":{},"startTime":1664593836215},{"traceId":"43f2de6d909a73f7","parentId":185,"name":"next-swc-loader","id":186,"timestamp":1670792309040,"duration":872,"tags":{},"startTime":1664593836215},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"build-module-tsx","id":185,"timestamp":1670792308842,"duration":2759,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593836214},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"add-entry","id":181,"timestamp":1670792304483,"duration":7608,"tags":{"request":"private-next-pages/_app"},"startTime":1664593836210},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"make","id":179,"timestamp":1670792288185,"duration":23926,"tags":{},"startTime":1664593836194},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-chunk-graph","id":189,"timestamp":1670792312485,"duration":328,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-modules","id":191,"timestamp":1670792312823,"duration":2,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-chunks","id":192,"timestamp":1670792312834,"duration":29,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize-tree","id":193,"timestamp":1670792312871,"duration":3,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-optimize","id":190,"timestamp":1670792312819,"duration":118,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-hash","id":194,"timestamp":1670792314349,"duration":1022,"tags":{},"startTime":1664593836220},{"traceId":"43f2de6d909a73f7","parentId":178,"name":"webpack-compilation-seal","id":188,"timestamp":1670792312418,"duration":4314,"tags":{},"startTime":1664593836218},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"webpack-compilation","id":178,"timestamp":1670792287785,"duration":28975,"tags":{"name":"server"},"startTime":1664593836193},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":196,"timestamp":1664593835849999,"duration":380000,"tags":{"clientId":1664593824381},"startTime":1664593836231},{"traceId":"43f2de6d909a73f7","parentId":150,"name":"emit","id":195,"timestamp":1670792316787,"duration":18878,"tags":{},"startTime":1664593836222},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":150,"timestamp":1670791943747,"duration":393286,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593835849}] -[{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":201,"timestamp":1670802777972,"duration":5222,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":202,"timestamp":1670802778104,"duration":6510,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"read-resource","id":209,"timestamp":1670802784909,"duration":60,"tags":{},"startTime":1664593846690},{"traceId":"43f2de6d909a73f7","parentId":210,"name":"postcss-process","id":211,"timestamp":1670802785001,"duration":37519,"tags":{},"startTime":1664593846691},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"postcss-loader","id":210,"timestamp":1670802784987,"duration":37705,"tags":{},"startTime":1664593846691},{"traceId":"43f2de6d909a73f7","parentId":208,"name":"css-loader","id":212,"timestamp":1670802822716,"duration":10169,"tags":{"astUsed":"true"},"startTime":1664593846728},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"build-module-css","id":208,"timestamp":1670802784744,"duration":53821,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593846690},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":206,"timestamp":1670802778125,"duration":61065,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":205,"timestamp":1670802778120,"duration":61085,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":214,"name":"next-swc-transform","id":215,"timestamp":1670802839743,"duration":1882,"tags":{},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":213,"name":"next-swc-loader","id":214,"timestamp":1670802839701,"duration":1928,"tags":{},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"build-module-tsx","id":213,"timestamp":1670802839585,"duration":4105,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846745},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":207,"timestamp":1670802778128,"duration":68255,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":203,"timestamp":1670802778111,"duration":68718,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"add-entry","id":204,"timestamp":1670802778116,"duration":97905,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593846684},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"make","id":200,"timestamp":1670802774025,"duration":102028,"tags":{},"startTime":1664593846680},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-chunk-graph","id":217,"timestamp":1670802881368,"duration":19056,"tags":{},"startTime":1664593846787},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-modules","id":219,"timestamp":1670802900454,"duration":2,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-chunks","id":220,"timestamp":1670802900470,"duration":111,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize-tree","id":221,"timestamp":1670802900601,"duration":3,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-optimize","id":218,"timestamp":1670802900445,"duration":1678,"tags":{},"startTime":1664593846806},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-hash","id":222,"timestamp":1670802912838,"duration":7918,"tags":{},"startTime":1664593846818},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"NextJsBuildManifest-generateClientManifest","id":224,"timestamp":1670802929108,"duration":56,"tags":{},"startTime":1664593846835},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"NextJsBuildManifest-createassets","id":223,"timestamp":1670802929041,"duration":132,"tags":{},"startTime":1664593846835},{"traceId":"43f2de6d909a73f7","parentId":199,"name":"webpack-compilation-seal","id":216,"timestamp":1670802877790,"duration":53227,"tags":{},"startTime":1664593846783},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"webpack-compilation","id":199,"timestamp":1670802773748,"duration":157304,"tags":{"name":"client"},"startTime":1664593846679},{"traceId":"43f2de6d909a73f7","parentId":197,"name":"emit","id":225,"timestamp":1670802931071,"duration":93139,"tags":{},"startTime":1664593846837},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":197,"timestamp":1670802754297,"duration":270936,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846660},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":231,"timestamp":1670803051474,"duration":0,"tags":{},"startTime":1664593846957},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":230,"timestamp":1670803039947,"duration":16926,"tags":{"request":"private-next-pages/_error"},"startTime":1664593846946},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":229,"timestamp":1670803039914,"duration":16972,"tags":{"request":"private-next-pages/_document"},"startTime":1664593846946},{"traceId":"43f2de6d909a73f7","parentId":233,"name":"next-swc-transform","id":234,"timestamp":1670803056615,"duration":786,"tags":{},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":232,"name":"next-swc-loader","id":233,"timestamp":1670803056521,"duration":884,"tags":{},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"build-module-tsx","id":232,"timestamp":1670803056314,"duration":2539,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846962},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"add-entry","id":228,"timestamp":1670803039856,"duration":19649,"tags":{"request":"private-next-pages/_app"},"startTime":1664593846945},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"make","id":227,"timestamp":1670803027310,"duration":32214,"tags":{},"startTime":1664593846933},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-chunk-graph","id":236,"timestamp":1670803059965,"duration":295,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-modules","id":238,"timestamp":1670803060273,"duration":3,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-chunks","id":239,"timestamp":1670803060285,"duration":45,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize-tree","id":240,"timestamp":1670803060342,"duration":3,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-optimize","id":237,"timestamp":1670803060269,"duration":174,"tags":{},"startTime":1664593846966},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-hash","id":241,"timestamp":1670803062035,"duration":746,"tags":{},"startTime":1664593846968},{"traceId":"43f2de6d909a73f7","parentId":226,"name":"webpack-compilation-seal","id":235,"timestamp":1670803059892,"duration":5371,"tags":{},"startTime":1664593846965},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"webpack-compilation","id":226,"timestamp":1670803026924,"duration":38370,"tags":{"name":"server"},"startTime":1664593846933},{"traceId":"43f2de6d909a73f7","parentId":198,"name":"emit","id":242,"timestamp":1670803065312,"duration":3324,"tags":{},"startTime":1664593846971},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":198,"timestamp":1670802754594,"duration":314510,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593846660}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":243,"timestamp":1664593846660999,"duration":319000,"tags":{"clientId":1664593824381},"startTime":1664593846981},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":250,"timestamp":1670808096633,"duration":6788,"tags":{"request":"private-next-pages/_error"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":249,"timestamp":1670808096629,"duration":6811,"tags":{"request":"private-next-pages/_document"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":252,"name":"next-swc-transform","id":253,"timestamp":1670808103176,"duration":722,"tags":{},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":251,"name":"next-swc-loader","id":252,"timestamp":1670808103122,"duration":781,"tags":{},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"build-module-tsx","id":251,"timestamp":1670808102981,"duration":1910,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593852009},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"add-entry","id":248,"timestamp":1670808096588,"duration":8537,"tags":{"request":"private-next-pages/_app"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"make","id":247,"timestamp":1670808096359,"duration":8792,"tags":{},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-chunk-graph","id":255,"timestamp":1670808105478,"duration":249,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-modules","id":257,"timestamp":1670808105738,"duration":2,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-chunks","id":258,"timestamp":1670808105751,"duration":24,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize-tree","id":259,"timestamp":1670808105785,"duration":3,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-optimize","id":256,"timestamp":1670808105734,"duration":95,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-hash","id":260,"timestamp":1670808106845,"duration":422,"tags":{},"startTime":1664593852012},{"traceId":"43f2de6d909a73f7","parentId":246,"name":"webpack-compilation-seal","id":254,"timestamp":1670808105407,"duration":2447,"tags":{},"startTime":1664593852011},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"webpack-compilation","id":246,"timestamp":1670808096166,"duration":11708,"tags":{"name":"server"},"startTime":1664593852002},{"traceId":"43f2de6d909a73f7","parentId":244,"name":"emit","id":261,"timestamp":1670808107885,"duration":1287,"tags":{},"startTime":1664593852013},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":244,"timestamp":1670808088988,"duration":20412,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593851995},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":264,"timestamp":1670808115275,"duration":5299,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":265,"timestamp":1670808115304,"duration":5848,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"read-resource","id":272,"timestamp":1670808121399,"duration":39,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":273,"name":"postcss-process","id":274,"timestamp":1670808121469,"duration":34555,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"postcss-loader","id":273,"timestamp":1670808121456,"duration":34745,"tags":{},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":271,"name":"css-loader","id":275,"timestamp":1670808156229,"duration":8609,"tags":{"astUsed":"true"},"startTime":1664593852062},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"build-module-css","id":271,"timestamp":1670808121255,"duration":44800,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593852027},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":269,"timestamp":1670808115320,"duration":51280,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":268,"timestamp":1670808115314,"duration":51304,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":277,"name":"next-swc-transform","id":278,"timestamp":1670808167410,"duration":2086,"tags":{},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":276,"name":"next-swc-loader","id":277,"timestamp":1670808167368,"duration":2134,"tags":{},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"build-module-tsx","id":276,"timestamp":1670808167023,"duration":4315,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593852073},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":270,"timestamp":1670808115322,"duration":58143,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":266,"timestamp":1670808115309,"duration":58600,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"add-entry","id":267,"timestamp":1670808115311,"duration":88871,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593852021},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"make","id":263,"timestamp":1670808114077,"duration":90140,"tags":{},"startTime":1664593852020},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-chunk-graph","id":280,"timestamp":1670808209068,"duration":16464,"tags":{},"startTime":1664593852115},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-modules","id":282,"timestamp":1670808225567,"duration":3,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-chunks","id":283,"timestamp":1670808225582,"duration":97,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize-tree","id":284,"timestamp":1670808225697,"duration":3,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-optimize","id":281,"timestamp":1670808225558,"duration":1628,"tags":{},"startTime":1664593852131},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-hash","id":285,"timestamp":1670808238530,"duration":4408,"tags":{},"startTime":1664593852144},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"NextJsBuildManifest-generateClientManifest","id":287,"timestamp":1670808253379,"duration":53,"tags":{},"startTime":1664593852159},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"NextJsBuildManifest-createassets","id":286,"timestamp":1670808253305,"duration":136,"tags":{},"startTime":1664593852159},{"traceId":"43f2de6d909a73f7","parentId":262,"name":"webpack-compilation-seal","id":279,"timestamp":1670808205754,"duration":49288,"tags":{},"startTime":1664593852111},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"webpack-compilation","id":262,"timestamp":1670808113893,"duration":141194,"tags":{"name":"client"},"startTime":1664593852020},{"traceId":"43f2de6d909a73f7","parentId":245,"name":"emit","id":288,"timestamp":1670808255104,"duration":89365,"tags":{},"startTime":1664593852161},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":245,"timestamp":1670808089147,"duration":256574,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593851995}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":289,"timestamp":1670808371402,"duration":0,"tags":{},"startTime":1664593852277},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":290,"timestamp":1664593851995000,"duration":291000,"tags":{"clientId":1664593824381},"startTime":1664593852286},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":295,"timestamp":1670814578242,"duration":4393,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":296,"timestamp":1670814578316,"duration":4986,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"read-resource","id":303,"timestamp":1670814583634,"duration":50,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":304,"name":"postcss-process","id":305,"timestamp":1670814583717,"duration":30948,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"postcss-loader","id":304,"timestamp":1670814583701,"duration":31167,"tags":{},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":302,"name":"css-loader","id":306,"timestamp":1670814614895,"duration":10488,"tags":{"astUsed":"true"},"startTime":1664593858521},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"build-module-css","id":302,"timestamp":1670814583428,"duration":43549,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593858489},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":300,"timestamp":1670814578333,"duration":49124,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":299,"timestamp":1670814578329,"duration":49145,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":308,"name":"next-swc-transform","id":309,"timestamp":1670814628040,"duration":2150,"tags":{},"startTime":1664593858534},{"traceId":"43f2de6d909a73f7","parentId":307,"name":"next-swc-loader","id":308,"timestamp":1670814627956,"duration":2243,"tags":{},"startTime":1664593858534},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"build-module-tsx","id":307,"timestamp":1670814627845,"duration":4077,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858533},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":301,"timestamp":1670814578336,"duration":55739,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":297,"timestamp":1670814578322,"duration":56240,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"add-entry","id":298,"timestamp":1670814578326,"duration":86950,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593858484},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"make","id":294,"timestamp":1670814577051,"duration":88262,"tags":{},"startTime":1664593858483},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-chunk-graph","id":311,"timestamp":1670814670791,"duration":17747,"tags":{},"startTime":1664593858576},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-modules","id":313,"timestamp":1670814688572,"duration":3,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-chunks","id":314,"timestamp":1670814688585,"duration":340,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize-tree","id":315,"timestamp":1670814688945,"duration":4,"tags":{},"startTime":1664593858595},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-optimize","id":312,"timestamp":1670814688562,"duration":1835,"tags":{},"startTime":1664593858594},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-hash","id":316,"timestamp":1670814701796,"duration":5084,"tags":{},"startTime":1664593858607},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"NextJsBuildManifest-generateClientManifest","id":318,"timestamp":1670814717411,"duration":65,"tags":{},"startTime":1664593858623},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"NextJsBuildManifest-createassets","id":317,"timestamp":1670814717315,"duration":172,"tags":{},"startTime":1664593858623},{"traceId":"43f2de6d909a73f7","parentId":293,"name":"webpack-compilation-seal","id":310,"timestamp":1670814667226,"duration":52236,"tags":{},"startTime":1664593858573},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"webpack-compilation","id":293,"timestamp":1670814576796,"duration":142752,"tags":{"name":"client"},"startTime":1664593858482},{"traceId":"43f2de6d909a73f7","parentId":291,"name":"emit","id":319,"timestamp":1670814719580,"duration":93325,"tags":{},"startTime":1664593858625},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":291,"timestamp":1670814561107,"duration":252505,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858467},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":325,"timestamp":1670814839667,"duration":0,"tags":{},"startTime":1664593858745},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":324,"timestamp":1670814829168,"duration":16177,"tags":{"request":"private-next-pages/_error"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":323,"timestamp":1670814829162,"duration":16203,"tags":{"request":"private-next-pages/_document"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":327,"name":"next-swc-transform","id":328,"timestamp":1670814844790,"duration":1194,"tags":{},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":326,"name":"next-swc-loader","id":327,"timestamp":1670814844622,"duration":1369,"tags":{},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"build-module-tsx","id":326,"timestamp":1670814844433,"duration":2981,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858750},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"add-entry","id":322,"timestamp":1670814829109,"duration":19398,"tags":{"request":"private-next-pages/_app"},"startTime":1664593858735},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"make","id":321,"timestamp":1670814817849,"duration":30685,"tags":{},"startTime":1664593858723},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-chunk-graph","id":330,"timestamp":1670814849065,"duration":326,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-modules","id":332,"timestamp":1670814849411,"duration":2,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-chunks","id":333,"timestamp":1670814849423,"duration":27,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize-tree","id":334,"timestamp":1670814849465,"duration":3,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-optimize","id":331,"timestamp":1670814849406,"duration":146,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-hash","id":335,"timestamp":1670814851151,"duration":726,"tags":{},"startTime":1664593858757},{"traceId":"43f2de6d909a73f7","parentId":320,"name":"webpack-compilation-seal","id":329,"timestamp":1670814848969,"duration":4087,"tags":{},"startTime":1664593858755},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"webpack-compilation","id":320,"timestamp":1670814817585,"duration":35519,"tags":{"name":"server"},"startTime":1664593858723},{"traceId":"43f2de6d909a73f7","parentId":292,"name":"emit","id":336,"timestamp":1670814853124,"duration":3841,"tags":{},"startTime":1664593858759},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":292,"timestamp":1670814561414,"duration":296007,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593858467}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":337,"timestamp":1664593858468999,"duration":292999,"tags":{"clientId":1664593824381},"startTime":1664593858764},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":342,"timestamp":1670821086288,"duration":4007,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":343,"timestamp":1670821086337,"duration":4669,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"read-resource","id":350,"timestamp":1670821091278,"duration":50,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":351,"name":"postcss-process","id":352,"timestamp":1670821091372,"duration":34554,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"postcss-loader","id":351,"timestamp":1670821091349,"duration":34758,"tags":{},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":349,"name":"css-loader","id":353,"timestamp":1670821126138,"duration":8853,"tags":{"astUsed":"true"},"startTime":1664593865032},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"build-module-css","id":349,"timestamp":1670821091115,"duration":45192,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593864997},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":347,"timestamp":1670821086353,"duration":52268,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":346,"timestamp":1670821086348,"duration":52289,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":355,"name":"next-swc-transform","id":356,"timestamp":1670821139682,"duration":2159,"tags":{},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":354,"name":"next-swc-loader","id":355,"timestamp":1670821139604,"duration":2245,"tags":{},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"build-module-tsx","id":354,"timestamp":1670821139327,"duration":4053,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593865045},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":348,"timestamp":1670821086355,"duration":59541,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":344,"timestamp":1670821086341,"duration":60083,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"add-entry","id":345,"timestamp":1670821086345,"duration":92718,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593864992},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"make","id":341,"timestamp":1670821085018,"duration":94085,"tags":{},"startTime":1664593864991},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-chunk-graph","id":358,"timestamp":1670821183844,"duration":17191,"tags":{},"startTime":1664593865090},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-modules","id":360,"timestamp":1670821201065,"duration":2,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-chunks","id":361,"timestamp":1670821201076,"duration":37,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize-tree","id":362,"timestamp":1670821201136,"duration":3,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-optimize","id":359,"timestamp":1670821201057,"duration":1511,"tags":{},"startTime":1664593865107},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-hash","id":363,"timestamp":1670821214950,"duration":4700,"tags":{},"startTime":1664593865121},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"NextJsBuildManifest-generateClientManifest","id":365,"timestamp":1670821234932,"duration":180,"tags":{},"startTime":1664593865141},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"NextJsBuildManifest-createassets","id":364,"timestamp":1670821234860,"duration":265,"tags":{},"startTime":1664593865141},{"traceId":"43f2de6d909a73f7","parentId":340,"name":"webpack-compilation-seal","id":357,"timestamp":1670821180344,"duration":57476,"tags":{},"startTime":1664593865086},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"webpack-compilation","id":340,"timestamp":1670821083458,"duration":154576,"tags":{"name":"client"},"startTime":1664593864989},{"traceId":"43f2de6d909a73f7","parentId":338,"name":"emit","id":366,"timestamp":1670821238066,"duration":102328,"tags":{},"startTime":1664593865144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":338,"timestamp":1670821068386,"duration":272989,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593864974},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":372,"timestamp":1670821356055,"duration":0,"tags":{},"startTime":1664593865262},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":371,"timestamp":1670821355378,"duration":5595,"tags":{"request":"private-next-pages/_error"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":370,"timestamp":1670821355373,"duration":5612,"tags":{"request":"private-next-pages/_document"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":374,"name":"next-swc-transform","id":375,"timestamp":1670821360492,"duration":756,"tags":{},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":373,"name":"next-swc-loader","id":374,"timestamp":1670821360263,"duration":987,"tags":{},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"build-module-tsx","id":373,"timestamp":1670821360115,"duration":2242,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593865266},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"add-entry","id":369,"timestamp":1670821355304,"duration":7722,"tags":{"request":"private-next-pages/_app"},"startTime":1664593865261},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"make","id":368,"timestamp":1670821344750,"duration":18292,"tags":{},"startTime":1664593865250},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-chunk-graph","id":377,"timestamp":1670821363412,"duration":229,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-modules","id":379,"timestamp":1670821363651,"duration":2,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-chunks","id":380,"timestamp":1670821363662,"duration":23,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize-tree","id":381,"timestamp":1670821363694,"duration":2,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-optimize","id":378,"timestamp":1670821363647,"duration":103,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-hash","id":382,"timestamp":1670821364727,"duration":421,"tags":{},"startTime":1664593865270},{"traceId":"43f2de6d909a73f7","parentId":367,"name":"webpack-compilation-seal","id":376,"timestamp":1670821363350,"duration":3987,"tags":{},"startTime":1664593865269},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"webpack-compilation","id":367,"timestamp":1670821344387,"duration":22980,"tags":{"name":"server"},"startTime":1664593865250},{"traceId":"43f2de6d909a73f7","parentId":339,"name":"emit","id":383,"timestamp":1670821367461,"duration":2013,"tags":{},"startTime":1664593865273},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":339,"timestamp":1670821068660,"duration":301243,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593864974}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":384,"timestamp":1664593864975000,"duration":304999,"tags":{"clientId":1664593824381},"startTime":1664593865280},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":389,"timestamp":1670825072044,"duration":3733,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":390,"timestamp":1670825072092,"duration":4359,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"read-resource","id":397,"timestamp":1670825076718,"duration":40,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":398,"name":"postcss-process","id":399,"timestamp":1670825076795,"duration":33099,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"postcss-loader","id":398,"timestamp":1670825076775,"duration":33330,"tags":{},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":396,"name":"css-loader","id":400,"timestamp":1670825110135,"duration":8139,"tags":{"astUsed":"true"},"startTime":1664593869016},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"build-module-css","id":396,"timestamp":1670825076570,"duration":43112,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593868982},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":394,"timestamp":1670825072105,"duration":48267,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":393,"timestamp":1670825072102,"duration":48290,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":402,"name":"next-swc-transform","id":403,"timestamp":1670825121129,"duration":2456,"tags":{},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":401,"name":"next-swc-loader","id":402,"timestamp":1670825121044,"duration":2546,"tags":{},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"build-module-tsx","id":401,"timestamp":1670825120890,"duration":4193,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593869027},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":395,"timestamp":1670825072108,"duration":57184,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":391,"timestamp":1670825072096,"duration":57578,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"add-entry","id":392,"timestamp":1670825072099,"duration":87563,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593868978},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"make","id":388,"timestamp":1670825069126,"duration":90574,"tags":{},"startTime":1664593868975},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-chunk-graph","id":405,"timestamp":1670825164689,"duration":16457,"tags":{},"startTime":1664593869070},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-modules","id":407,"timestamp":1670825181182,"duration":3,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-chunks","id":408,"timestamp":1670825181197,"duration":47,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize-tree","id":409,"timestamp":1670825181261,"duration":3,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-optimize","id":406,"timestamp":1670825181174,"duration":1415,"tags":{},"startTime":1664593869087},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-hash","id":410,"timestamp":1670825193596,"duration":4635,"tags":{},"startTime":1664593869099},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"NextJsBuildManifest-generateClientManifest","id":412,"timestamp":1670825208730,"duration":61,"tags":{},"startTime":1664593869114},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"NextJsBuildManifest-createassets","id":411,"timestamp":1670825208655,"duration":149,"tags":{},"startTime":1664593869114},{"traceId":"43f2de6d909a73f7","parentId":387,"name":"webpack-compilation-seal","id":404,"timestamp":1670825161163,"duration":49514,"tags":{},"startTime":1664593869067},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"webpack-compilation","id":387,"timestamp":1670825068903,"duration":141821,"tags":{"name":"client"},"startTime":1664593868975},{"traceId":"43f2de6d909a73f7","parentId":385,"name":"emit","id":413,"timestamp":1670825210765,"duration":90410,"tags":{},"startTime":1664593869116},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":385,"timestamp":1670825055421,"duration":246753,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593868961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":419,"timestamp":1670825328793,"duration":0,"tags":{},"startTime":1664593869235},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":418,"timestamp":1670825315673,"duration":18104,"tags":{"request":"private-next-pages/_error"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":417,"timestamp":1670825315667,"duration":18123,"tags":{"request":"private-next-pages/_document"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":421,"name":"next-swc-transform","id":422,"timestamp":1670825333490,"duration":1853,"tags":{},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":420,"name":"next-swc-loader","id":421,"timestamp":1670825333369,"duration":1986,"tags":{},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"build-module-tsx","id":420,"timestamp":1670825333230,"duration":3729,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593869239},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"add-entry","id":416,"timestamp":1670825315608,"duration":21716,"tags":{"request":"private-next-pages/_app"},"startTime":1664593869221},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"make","id":415,"timestamp":1670825304719,"duration":32627,"tags":{},"startTime":1664593869210},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-chunk-graph","id":424,"timestamp":1670825337750,"duration":268,"tags":{},"startTime":1664593869243},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-modules","id":426,"timestamp":1670825338031,"duration":2,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-chunks","id":427,"timestamp":1670825338045,"duration":25,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize-tree","id":428,"timestamp":1670825338081,"duration":8,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-optimize","id":425,"timestamp":1670825338027,"duration":123,"tags":{},"startTime":1664593869244},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-hash","id":429,"timestamp":1670825339300,"duration":465,"tags":{},"startTime":1664593869245},{"traceId":"43f2de6d909a73f7","parentId":414,"name":"webpack-compilation-seal","id":423,"timestamp":1670825337671,"duration":3011,"tags":{},"startTime":1664593869243},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"webpack-compilation","id":414,"timestamp":1670825304278,"duration":36428,"tags":{"name":"server"},"startTime":1664593869210},{"traceId":"43f2de6d909a73f7","parentId":386,"name":"emit","id":430,"timestamp":1670825340721,"duration":2566,"tags":{},"startTime":1664593869246},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":386,"timestamp":1670825055704,"duration":287973,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593868961}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":431,"timestamp":1664593868961999,"duration":292000,"tags":{"clientId":1664593824381},"startTime":1664593869255},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":436,"timestamp":1670856018717,"duration":8139,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":441,"timestamp":1670856019616,"duration":8940,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"read-resource","id":444,"timestamp":1670856028356,"duration":961,"tags":{},"startTime":1664593899934},{"traceId":"43f2de6d909a73f7","parentId":448,"name":"postcss-process","id":449,"timestamp":1670856029392,"duration":41111,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"postcss-loader","id":448,"timestamp":1670856029374,"duration":41573,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":443,"name":"css-loader","id":450,"timestamp":1670856070997,"duration":12238,"tags":{"astUsed":"true"},"startTime":1664593899977},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"build-module-css","id":443,"timestamp":1670856028118,"duration":62216,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593899934},{"traceId":"43f2de6d909a73f7","parentId":446,"name":"next-swc-transform","id":447,"timestamp":1670856029218,"duration":63266,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":445,"name":"next-swc-loader","id":446,"timestamp":1670856029141,"duration":63351,"tags":{},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"build-module-tsx","id":445,"timestamp":1670856028926,"duration":67816,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899935},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":437,"timestamp":1670856019598,"duration":78764,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":440,"timestamp":1670856019613,"duration":79974,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":442,"timestamp":1670856019618,"duration":87812,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":438,"timestamp":1670856019605,"duration":139461,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"add-entry","id":439,"timestamp":1670856019607,"duration":370556,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593899925},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"make","id":435,"timestamp":1670856017510,"duration":372740,"tags":{},"startTime":1664593899923},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-chunk-graph","id":452,"timestamp":1670856397055,"duration":19300,"tags":{},"startTime":1664593900303},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-modules","id":454,"timestamp":1670856416404,"duration":14,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-chunks","id":455,"timestamp":1670856416456,"duration":70,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize-tree","id":456,"timestamp":1670856416565,"duration":16,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-optimize","id":453,"timestamp":1670856416389,"duration":1540,"tags":{},"startTime":1664593900322},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-hash","id":457,"timestamp":1670856430779,"duration":8378,"tags":{},"startTime":1664593900337},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"NextJsBuildManifest-generateClientManifest","id":459,"timestamp":1670856449644,"duration":201,"tags":{},"startTime":1664593900355},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"NextJsBuildManifest-createassets","id":458,"timestamp":1670856449455,"duration":401,"tags":{},"startTime":1664593900355},{"traceId":"43f2de6d909a73f7","parentId":434,"name":"webpack-compilation-seal","id":451,"timestamp":1670856391917,"duration":60045,"tags":{},"startTime":1664593900298},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"webpack-compilation","id":434,"timestamp":1670856016651,"duration":435366,"tags":{"name":"client"},"startTime":1664593899922},{"traceId":"43f2de6d909a73f7","parentId":432,"name":"emit","id":460,"timestamp":1670856452094,"duration":136755,"tags":{},"startTime":1664593900358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":432,"timestamp":1670855999332,"duration":590939,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899905},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":466,"timestamp":1670856605709,"duration":0,"tags":{},"startTime":1664593900512},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":465,"timestamp":1670856605038,"duration":8749,"tags":{"request":"private-next-pages/_error"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":464,"timestamp":1670856605033,"duration":8766,"tags":{"request":"private-next-pages/_document"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":468,"name":"next-swc-transform","id":469,"timestamp":1670856612826,"duration":1015,"tags":{},"startTime":1664593900519},{"traceId":"43f2de6d909a73f7","parentId":467,"name":"next-swc-loader","id":468,"timestamp":1670856612760,"duration":1082,"tags":{},"startTime":1664593900519},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"build-module-tsx","id":467,"timestamp":1670856612632,"duration":4768,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593900518},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":470,"timestamp":1664593899905999,"duration":615000,"tags":{"clientId":1664593824381},"startTime":1664593900524},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"add-entry","id":463,"timestamp":1670856604970,"duration":27083,"tags":{"request":"private-next-pages/_app"},"startTime":1664593900511},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"make","id":462,"timestamp":1670856593836,"duration":38249,"tags":{},"startTime":1664593900500},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-chunk-graph","id":472,"timestamp":1670856632600,"duration":261,"tags":{},"startTime":1664593900538},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-modules","id":474,"timestamp":1670856632873,"duration":2,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-chunks","id":475,"timestamp":1670856632915,"duration":38,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize-tree","id":476,"timestamp":1670856632978,"duration":18,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-optimize","id":473,"timestamp":1670856632869,"duration":218,"tags":{},"startTime":1664593900539},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-hash","id":477,"timestamp":1670856634616,"duration":978,"tags":{},"startTime":1664593900540},{"traceId":"43f2de6d909a73f7","parentId":461,"name":"webpack-compilation-seal","id":471,"timestamp":1670856632491,"duration":4587,"tags":{},"startTime":1664593900538},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"webpack-compilation","id":461,"timestamp":1670856593353,"duration":43753,"tags":{"name":"server"},"startTime":1664593900499},{"traceId":"43f2de6d909a73f7","parentId":433,"name":"emit","id":478,"timestamp":1670856637131,"duration":1975,"tags":{},"startTime":1664593900543},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":433,"timestamp":1670855999761,"duration":640397,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593899906}] -[{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":483,"timestamp":1670867827639,"duration":6735,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":484,"timestamp":1670867827722,"duration":7884,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"read-resource","id":491,"timestamp":1670867836077,"duration":57,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":492,"name":"postcss-process","id":493,"timestamp":1670867836266,"duration":39935,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"postcss-loader","id":492,"timestamp":1670867836190,"duration":40502,"tags":{},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":490,"name":"css-loader","id":494,"timestamp":1670867876739,"duration":13359,"tags":{"astUsed":"true"},"startTime":1664593911783},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"build-module-css","id":490,"timestamp":1670867835788,"duration":61632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593911742},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":488,"timestamp":1670867827737,"duration":71472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":487,"timestamp":1670867827734,"duration":71516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":489,"timestamp":1670867827739,"duration":92244,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":485,"timestamp":1670867827727,"duration":95354,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":496,"name":"next-swc-transform","id":497,"timestamp":1670867923339,"duration":7657,"tags":{},"startTime":1664593911829},{"traceId":"43f2de6d909a73f7","parentId":495,"name":"next-swc-loader","id":496,"timestamp":1670867923101,"duration":7906,"tags":{},"startTime":1664593911829},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"build-module-tsx","id":495,"timestamp":1670867920938,"duration":17603,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911827},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"add-entry","id":486,"timestamp":1670867827730,"duration":189965,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593911734},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"make","id":482,"timestamp":1670867825770,"duration":191979,"tags":{},"startTime":1664593911732},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-chunk-graph","id":499,"timestamp":1670868024049,"duration":19367,"tags":{},"startTime":1664593911930},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-modules","id":501,"timestamp":1670868043515,"duration":13,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-chunks","id":502,"timestamp":1670868043569,"duration":124,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize-tree","id":503,"timestamp":1670868043735,"duration":35,"tags":{},"startTime":1664593911950},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-optimize","id":500,"timestamp":1670868043469,"duration":1998,"tags":{},"startTime":1664593911949},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-hash","id":504,"timestamp":1670868060349,"duration":7544,"tags":{},"startTime":1664593911966},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"NextJsBuildManifest-generateClientManifest","id":506,"timestamp":1670868079920,"duration":187,"tags":{},"startTime":1664593911986},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"NextJsBuildManifest-createassets","id":505,"timestamp":1670868079739,"duration":379,"tags":{},"startTime":1664593911986},{"traceId":"43f2de6d909a73f7","parentId":481,"name":"webpack-compilation-seal","id":498,"timestamp":1670868019391,"duration":62564,"tags":{},"startTime":1664593911925},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"webpack-compilation","id":481,"timestamp":1670867824907,"duration":257087,"tags":{"name":"client"},"startTime":1664593911731},{"traceId":"43f2de6d909a73f7","parentId":479,"name":"emit","id":507,"timestamp":1670868082063,"duration":89684,"tags":{},"startTime":1664593911988},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":479,"timestamp":1670867808566,"duration":364343,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911714},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":513,"timestamp":1670868199611,"duration":0,"tags":{},"startTime":1664593912106},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":512,"timestamp":1670868189280,"duration":16315,"tags":{"request":"private-next-pages/_error"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":511,"timestamp":1670868189275,"duration":16334,"tags":{"request":"private-next-pages/_document"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":515,"name":"next-swc-transform","id":516,"timestamp":1670868205937,"duration":1041,"tags":{},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":514,"name":"next-swc-loader","id":515,"timestamp":1670868205882,"duration":1105,"tags":{},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"build-module-tsx","id":514,"timestamp":1670868205744,"duration":3528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593912112},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"add-entry","id":510,"timestamp":1670868189225,"duration":22288,"tags":{"request":"private-next-pages/_app"},"startTime":1664593912095},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"make","id":509,"timestamp":1670868176036,"duration":35503,"tags":{},"startTime":1664593912082},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-chunk-graph","id":518,"timestamp":1670868211894,"duration":234,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-modules","id":520,"timestamp":1670868212138,"duration":2,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-chunks","id":521,"timestamp":1670868212173,"duration":31,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize-tree","id":522,"timestamp":1670868212225,"duration":15,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-optimize","id":519,"timestamp":1670868212134,"duration":192,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-hash","id":523,"timestamp":1670868214103,"duration":1642,"tags":{},"startTime":1664593912120},{"traceId":"43f2de6d909a73f7","parentId":508,"name":"webpack-compilation-seal","id":517,"timestamp":1670868211823,"duration":5177,"tags":{},"startTime":1664593912118},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"webpack-compilation","id":508,"timestamp":1670868175644,"duration":41381,"tags":{"name":"server"},"startTime":1664593912082},{"traceId":"43f2de6d909a73f7","parentId":480,"name":"emit","id":524,"timestamp":1670868217053,"duration":2588,"tags":{},"startTime":1664593912123},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":480,"timestamp":1670867809219,"duration":411357,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664593911715}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":525,"timestamp":1664593911716000,"duration":413999,"tags":{"clientId":1664593824381},"startTime":1664593912131},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":530,"timestamp":1670894796165,"duration":6621,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":531,"timestamp":1670894796225,"duration":7972,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"read-resource","id":538,"timestamp":1670894804685,"duration":63,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":539,"name":"postcss-process","id":540,"timestamp":1670894804824,"duration":46823,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"postcss-loader","id":539,"timestamp":1670894804791,"duration":47285,"tags":{},"startTime":1664593938711},{"traceId":"43f2de6d909a73f7","parentId":537,"name":"css-loader","id":541,"timestamp":1670894852107,"duration":14557,"tags":{"astUsed":"true"},"startTime":1664593938758},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"build-module-css","id":537,"timestamp":1670894804387,"duration":63446,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593938710},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":535,"timestamp":1670894796249,"duration":71978,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":534,"timestamp":1670894796243,"duration":71998,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":536,"timestamp":1670894796253,"duration":76486,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":532,"timestamp":1670894796233,"duration":76956,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"add-entry","id":533,"timestamp":1670894796238,"duration":104277,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593938702},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"make","id":529,"timestamp":1670894795026,"duration":105534,"tags":{},"startTime":1664593938701},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-chunk-graph","id":543,"timestamp":1670894905099,"duration":17709,"tags":{},"startTime":1664593938811},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-modules","id":545,"timestamp":1670894922835,"duration":3,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-chunks","id":546,"timestamp":1670894922848,"duration":43,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize-tree","id":547,"timestamp":1670894922967,"duration":5,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-optimize","id":544,"timestamp":1670894922827,"duration":1417,"tags":{},"startTime":1664593938829},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-hash","id":548,"timestamp":1670894932703,"duration":5876,"tags":{},"startTime":1664593938839},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"NextJsBuildManifest-generateClientManifest","id":550,"timestamp":1670894941377,"duration":79,"tags":{},"startTime":1664593938847},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"NextJsBuildManifest-createassets","id":549,"timestamp":1670894941304,"duration":160,"tags":{},"startTime":1664593938847},{"traceId":"43f2de6d909a73f7","parentId":528,"name":"webpack-compilation-seal","id":542,"timestamp":1670894901701,"duration":40745,"tags":{},"startTime":1664593938808},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"webpack-compilation","id":528,"timestamp":1670894794502,"duration":147970,"tags":{"name":"client"},"startTime":1664593938700},{"traceId":"43f2de6d909a73f7","parentId":526,"name":"emit","id":551,"timestamp":1670894942489,"duration":1946,"tags":{},"startTime":1664593938848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":526,"timestamp":1670894773939,"duration":170901,"tags":{"trigger":"manual"},"startTime":1664593938680},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":554,"timestamp":1670894953655,"duration":0,"tags":{},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":557,"timestamp":1670894954016,"duration":2627,"tags":{"request":"private-next-pages/_error"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":556,"timestamp":1670894954012,"duration":2637,"tags":{"request":"private-next-pages/_document"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":555,"timestamp":1670894953969,"duration":3880,"tags":{"request":"private-next-pages/_app"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"add-entry","id":558,"timestamp":1670894954018,"duration":8455,"tags":{"request":"./pages/index.tsx"},"startTime":1664593938860},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"make","id":553,"timestamp":1670894945808,"duration":16697,"tags":{},"startTime":1664593938852},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-chunk-graph","id":560,"timestamp":1670894962788,"duration":197,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-modules","id":562,"timestamp":1670894962998,"duration":2,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-chunks","id":563,"timestamp":1670894963012,"duration":13,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize-tree","id":564,"timestamp":1670894963034,"duration":2,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-optimize","id":561,"timestamp":1670894962995,"duration":85,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-hash","id":565,"timestamp":1670894963748,"duration":532,"tags":{},"startTime":1664593938870},{"traceId":"43f2de6d909a73f7","parentId":552,"name":"webpack-compilation-seal","id":559,"timestamp":1670894962714,"duration":2206,"tags":{},"startTime":1664593938869},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"webpack-compilation","id":552,"timestamp":1670894945655,"duration":19283,"tags":{"name":"server"},"startTime":1664593938852},{"traceId":"43f2de6d909a73f7","parentId":527,"name":"emit","id":566,"timestamp":1670894964950,"duration":2106,"tags":{},"startTime":1664593938871},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":527,"timestamp":1670894774277,"duration":193301,"tags":{"trigger":"manual"},"startTime":1664593938680}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":567,"timestamp":1670895197562,"duration":0,"tags":{},"startTime":1664593939104},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":572,"timestamp":1670917770232,"duration":7491,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":577,"timestamp":1670917770340,"duration":8716,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"read-resource","id":580,"timestamp":1670917778829,"duration":1291,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":584,"name":"postcss-process","id":585,"timestamp":1670917780169,"duration":34847,"tags":{},"startTime":1664593961686},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"postcss-loader","id":584,"timestamp":1670917780147,"duration":35201,"tags":{},"startTime":1664593961686},{"traceId":"43f2de6d909a73f7","parentId":579,"name":"css-loader","id":586,"timestamp":1670917815376,"duration":10791,"tags":{"astUsed":"true"},"startTime":1664593961721},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"build-module-css","id":579,"timestamp":1670917778648,"duration":49195,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":573,"timestamp":1670917770319,"duration":58326,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":582,"name":"next-swc-transform","id":583,"timestamp":1670917779302,"duration":49602,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":581,"name":"next-swc-loader","id":582,"timestamp":1670917779213,"duration":49694,"tags":{},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"build-module-tsx","id":581,"timestamp":1670917779083,"duration":51280,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961685},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":576,"timestamp":1670917770336,"duration":60217,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":578,"timestamp":1670917770343,"duration":65281,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":574,"timestamp":1670917770325,"duration":71354,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"add-entry","id":575,"timestamp":1670917770329,"duration":100279,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664593961676},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"make","id":571,"timestamp":1670917769008,"duration":101632,"tags":{},"startTime":1664593961675},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-chunk-graph","id":588,"timestamp":1670917875001,"duration":18000,"tags":{},"startTime":1664593961781},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-modules","id":590,"timestamp":1670917893026,"duration":7,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-chunks","id":591,"timestamp":1670917893042,"duration":79,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize-tree","id":592,"timestamp":1670917893142,"duration":2,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-optimize","id":589,"timestamp":1670917893020,"duration":1491,"tags":{},"startTime":1664593961799},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-hash","id":593,"timestamp":1670917905102,"duration":3951,"tags":{},"startTime":1664593961811},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"NextJsBuildManifest-generateClientManifest","id":595,"timestamp":1670917916399,"duration":78,"tags":{},"startTime":1664593961822},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"NextJsBuildManifest-createassets","id":594,"timestamp":1670917916310,"duration":180,"tags":{},"startTime":1664593961822},{"traceId":"43f2de6d909a73f7","parentId":570,"name":"webpack-compilation-seal","id":587,"timestamp":1670917871794,"duration":46490,"tags":{},"startTime":1664593961778},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"webpack-compilation","id":570,"timestamp":1670917768731,"duration":149579,"tags":{"name":"client"},"startTime":1664593961675},{"traceId":"43f2de6d909a73f7","parentId":568,"name":"emit","id":596,"timestamp":1670917918325,"duration":96941,"tags":{},"startTime":1664593961824},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":568,"timestamp":1670917754404,"duration":261550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961660},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":602,"timestamp":1670918028080,"duration":0,"tags":{},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":601,"timestamp":1670918027456,"duration":6017,"tags":{"request":"private-next-pages/_error"},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":600,"timestamp":1670918027452,"duration":6031,"tags":{"request":"private-next-pages/_document"},"startTime":1664593961934},{"traceId":"43f2de6d909a73f7","parentId":604,"name":"next-swc-transform","id":605,"timestamp":1670918032880,"duration":630,"tags":{},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":603,"name":"next-swc-loader","id":604,"timestamp":1670918032834,"duration":678,"tags":{},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"build-module-tsx","id":603,"timestamp":1670918032681,"duration":1872,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961939},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"add-entry","id":599,"timestamp":1670918027382,"duration":7330,"tags":{"request":"private-next-pages/_app"},"startTime":1664593961933},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"make","id":598,"timestamp":1670918018139,"duration":16588,"tags":{},"startTime":1664593961924},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-chunk-graph","id":607,"timestamp":1670918035049,"duration":286,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-modules","id":609,"timestamp":1670918035350,"duration":2,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-chunks","id":610,"timestamp":1670918035361,"duration":21,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize-tree","id":611,"timestamp":1670918035392,"duration":4,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-optimize","id":608,"timestamp":1670918035346,"duration":107,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-hash","id":612,"timestamp":1670918036384,"duration":424,"tags":{},"startTime":1664593961942},{"traceId":"43f2de6d909a73f7","parentId":597,"name":"webpack-compilation-seal","id":606,"timestamp":1670918034979,"duration":2733,"tags":{},"startTime":1664593961941},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"webpack-compilation","id":597,"timestamp":1670918017956,"duration":19775,"tags":{"name":"server"},"startTime":1664593961924},{"traceId":"43f2de6d909a73f7","parentId":569,"name":"emit","id":613,"timestamp":1670918037745,"duration":2584,"tags":{},"startTime":1664593961944},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":569,"timestamp":1670917754740,"duration":285937,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/chain-card.tsx"},"startTime":1664593961661}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":614,"timestamp":1664593961660999,"duration":296000,"tags":{"clientId":1664593939102},"startTime":1664593961958},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":619,"timestamp":1670978946676,"duration":5610,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":624,"timestamp":1670978946776,"duration":6827,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"read-resource","id":627,"timestamp":1670978953412,"duration":901,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":631,"name":"postcss-process","id":632,"timestamp":1670978954393,"duration":35574,"tags":{},"startTime":1664594022861},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"postcss-loader","id":631,"timestamp":1670978954375,"duration":35886,"tags":{},"startTime":1664594022861},{"traceId":"43f2de6d909a73f7","parentId":626,"name":"css-loader","id":633,"timestamp":1670978990309,"duration":11311,"tags":{"astUsed":"true"},"startTime":1664594022897},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"build-module-css","id":626,"timestamp":1670978953173,"duration":50457,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":620,"timestamp":1670978946761,"duration":57559,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":629,"name":"next-swc-transform","id":630,"timestamp":1670978954029,"duration":50714,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":628,"name":"next-swc-loader","id":629,"timestamp":1670978953967,"duration":50778,"tags":{},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"build-module-tsx","id":628,"timestamp":1670978953876,"duration":54539,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022860},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":623,"timestamp":1670978946772,"duration":61862,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":625,"timestamp":1670978946778,"duration":69262,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":621,"timestamp":1670978946766,"duration":115855,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"add-entry","id":622,"timestamp":1670978946769,"duration":328703,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594022853},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"make","id":618,"timestamp":1670978945502,"duration":330062,"tags":{},"startTime":1664594022852},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-chunk-graph","id":635,"timestamp":1670979280756,"duration":18187,"tags":{},"startTime":1664594023187},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-modules","id":637,"timestamp":1670979299014,"duration":12,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-chunks","id":638,"timestamp":1670979299063,"duration":131,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize-tree","id":639,"timestamp":1670979299233,"duration":16,"tags":{},"startTime":1664594023206},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-optimize","id":636,"timestamp":1670979298985,"duration":1740,"tags":{},"startTime":1664594023205},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-hash","id":640,"timestamp":1670979312804,"duration":5752,"tags":{},"startTime":1664594023219},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"NextJsBuildManifest-generateClientManifest","id":642,"timestamp":1670979331579,"duration":256,"tags":{},"startTime":1664594023238},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"NextJsBuildManifest-createassets","id":641,"timestamp":1670979331390,"duration":457,"tags":{},"startTime":1664594023238},{"traceId":"43f2de6d909a73f7","parentId":617,"name":"webpack-compilation-seal","id":634,"timestamp":1670979277170,"duration":56580,"tags":{},"startTime":1664594023184},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"webpack-compilation","id":617,"timestamp":1670978944844,"duration":388952,"tags":{"name":"client"},"startTime":1664594022851},{"traceId":"43f2de6d909a73f7","parentId":615,"name":"emit","id":643,"timestamp":1670979333873,"duration":92655,"tags":{},"startTime":1664594023240},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":615,"timestamp":1670978933605,"duration":494040,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022840},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":649,"timestamp":1670979455021,"duration":0,"tags":{},"startTime":1664594023362},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":648,"timestamp":1670979442631,"duration":18971,"tags":{"request":"private-next-pages/_error"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":647,"timestamp":1670979442627,"duration":18993,"tags":{"request":"private-next-pages/_document"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":651,"name":"next-swc-transform","id":652,"timestamp":1670979461167,"duration":1334,"tags":{},"startTime":1664594023368},{"traceId":"43f2de6d909a73f7","parentId":650,"name":"next-swc-loader","id":651,"timestamp":1670979461095,"duration":1413,"tags":{},"startTime":1664594023367},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"build-module-tsx","id":650,"timestamp":1670979460933,"duration":6835,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594023367},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"add-entry","id":646,"timestamp":1670979442583,"duration":37115,"tags":{"request":"private-next-pages/_app"},"startTime":1664594023349},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"make","id":645,"timestamp":1670979430533,"duration":49190,"tags":{},"startTime":1664594023337},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-chunk-graph","id":654,"timestamp":1670979480129,"duration":254,"tags":{},"startTime":1664594023386},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-modules","id":656,"timestamp":1670979480393,"duration":2,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-chunks","id":657,"timestamp":1670979480432,"duration":31,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize-tree","id":658,"timestamp":1670979480488,"duration":15,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-optimize","id":655,"timestamp":1670979480390,"duration":205,"tags":{},"startTime":1664594023387},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-hash","id":659,"timestamp":1670979482131,"duration":925,"tags":{},"startTime":1664594023388},{"traceId":"43f2de6d909a73f7","parentId":644,"name":"webpack-compilation-seal","id":653,"timestamp":1670979480058,"duration":4349,"tags":{},"startTime":1664594023386},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"webpack-compilation","id":644,"timestamp":1670979430181,"duration":54251,"tags":{"name":"server"},"startTime":1664594023337},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":661,"timestamp":1664594022844999,"duration":539000,"tags":{"clientId":1664593939102},"startTime":1664594023391},{"traceId":"43f2de6d909a73f7","parentId":616,"name":"emit","id":660,"timestamp":1670979484465,"duration":2232,"tags":{},"startTime":1664594023391},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":616,"timestamp":1670978934003,"duration":553328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594022840}] -[{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":668,"timestamp":1670996131483,"duration":13652,"tags":{"request":"private-next-pages/_error"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":667,"timestamp":1670996131479,"duration":13673,"tags":{"request":"private-next-pages/_document"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":670,"name":"next-swc-transform","id":671,"timestamp":1670996144821,"duration":1631,"tags":{},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":669,"name":"next-swc-loader","id":670,"timestamp":1670996144742,"duration":1721,"tags":{},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"build-module-tsx","id":669,"timestamp":1670996144554,"duration":5245,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040051},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"add-entry","id":666,"timestamp":1670996131402,"duration":20788,"tags":{"request":"private-next-pages/_app"},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"make","id":665,"timestamp":1670996131256,"duration":20957,"tags":{},"startTime":1664594040038},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-chunk-graph","id":673,"timestamp":1670996153808,"duration":472,"tags":{},"startTime":1664594040060},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-modules","id":675,"timestamp":1670996154299,"duration":11,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-chunks","id":676,"timestamp":1670996154343,"duration":37,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize-tree","id":677,"timestamp":1670996154417,"duration":13,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-optimize","id":674,"timestamp":1670996154294,"duration":228,"tags":{},"startTime":1664594040061},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-hash","id":678,"timestamp":1670996156886,"duration":729,"tags":{},"startTime":1664594040063},{"traceId":"43f2de6d909a73f7","parentId":664,"name":"webpack-compilation-seal","id":672,"timestamp":1670996152569,"duration":7583,"tags":{},"startTime":1664594040059},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"webpack-compilation","id":664,"timestamp":1670996131042,"duration":29138,"tags":{"name":"server"},"startTime":1664594040037},{"traceId":"43f2de6d909a73f7","parentId":662,"name":"emit","id":679,"timestamp":1670996160195,"duration":2631,"tags":{},"startTime":1664594040067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":662,"timestamp":1670996122571,"duration":41450,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040029},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":682,"timestamp":1670996172754,"duration":7130,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":683,"timestamp":1670996172793,"duration":7815,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"read-resource","id":690,"timestamp":1670996181002,"duration":52,"tags":{},"startTime":1664594040087},{"traceId":"43f2de6d909a73f7","parentId":691,"name":"postcss-process","id":692,"timestamp":1670996181142,"duration":37810,"tags":{},"startTime":1664594040088},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"postcss-loader","id":691,"timestamp":1670996181113,"duration":38974,"tags":{},"startTime":1664594040088},{"traceId":"43f2de6d909a73f7","parentId":689,"name":"css-loader","id":693,"timestamp":1670996220132,"duration":11661,"tags":{"astUsed":"true"},"startTime":1664594040127},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"build-module-css","id":689,"timestamp":1670996180738,"duration":57031,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594040087},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":687,"timestamp":1670996172807,"duration":65472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":686,"timestamp":1670996172804,"duration":65489,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":695,"name":"next-swc-transform","id":696,"timestamp":1670996238850,"duration":1812,"tags":{},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":694,"name":"next-swc-loader","id":695,"timestamp":1670996238811,"duration":1855,"tags":{},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"build-module-tsx","id":694,"timestamp":1670996238684,"duration":3860,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040145},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":688,"timestamp":1670996172809,"duration":71471,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":684,"timestamp":1670996172798,"duration":71919,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"add-entry","id":685,"timestamp":1670996172801,"duration":101935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594040079},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"make","id":681,"timestamp":1670996170935,"duration":103861,"tags":{},"startTime":1664594040077},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-chunk-graph","id":698,"timestamp":1670996279589,"duration":16480,"tags":{},"startTime":1664594040186},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-modules","id":700,"timestamp":1670996296099,"duration":2,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-chunks","id":701,"timestamp":1670996296110,"duration":33,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize-tree","id":702,"timestamp":1670996296160,"duration":3,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-optimize","id":699,"timestamp":1670996296091,"duration":1558,"tags":{},"startTime":1664594040203},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-hash","id":703,"timestamp":1670996309717,"duration":7445,"tags":{},"startTime":1664594040216},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"NextJsBuildManifest-generateClientManifest","id":705,"timestamp":1670996327254,"duration":263,"tags":{},"startTime":1664594040234},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"NextJsBuildManifest-createassets","id":704,"timestamp":1670996327060,"duration":470,"tags":{},"startTime":1664594040233},{"traceId":"43f2de6d909a73f7","parentId":680,"name":"webpack-compilation-seal","id":697,"timestamp":1670996276060,"duration":53308,"tags":{},"startTime":1664594040182},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"webpack-compilation","id":680,"timestamp":1670996170185,"duration":159219,"tags":{"name":"client"},"startTime":1664594040077},{"traceId":"43f2de6d909a73f7","parentId":663,"name":"emit","id":706,"timestamp":1670996329458,"duration":89360,"tags":{},"startTime":1664594040236},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":663,"timestamp":1670996122819,"duration":296937,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594040029}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":707,"timestamp":1670996442205,"duration":0,"tags":{},"startTime":1664594040349},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":708,"timestamp":1664594040030000,"duration":330999,"tags":{"clientId":1664593939102},"startTime":1664594040362},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":715,"timestamp":1671005376768,"duration":7160,"tags":{"request":"private-next-pages/_error"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":714,"timestamp":1671005376762,"duration":7183,"tags":{"request":"private-next-pages/_document"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":717,"name":"next-swc-transform","id":718,"timestamp":1671005383594,"duration":1075,"tags":{},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":716,"name":"next-swc-loader","id":717,"timestamp":1671005383524,"duration":1150,"tags":{},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"build-module-tsx","id":716,"timestamp":1671005383359,"duration":3444,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049290},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"add-entry","id":713,"timestamp":1671005376691,"duration":11824,"tags":{"request":"private-next-pages/_app"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"make","id":712,"timestamp":1671005376569,"duration":11976,"tags":{},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-chunk-graph","id":720,"timestamp":1671005388994,"duration":342,"tags":{},"startTime":1664594049295},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-modules","id":722,"timestamp":1671005389352,"duration":2,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-chunks","id":723,"timestamp":1671005389363,"duration":26,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize-tree","id":724,"timestamp":1671005389402,"duration":6,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-optimize","id":721,"timestamp":1671005389347,"duration":125,"tags":{},"startTime":1664594049296},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-hash","id":725,"timestamp":1671005390672,"duration":519,"tags":{},"startTime":1664594049297},{"traceId":"43f2de6d909a73f7","parentId":711,"name":"webpack-compilation-seal","id":719,"timestamp":1671005388902,"duration":2987,"tags":{},"startTime":1664594049295},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"webpack-compilation","id":711,"timestamp":1671005376310,"duration":15603,"tags":{"name":"server"},"startTime":1664594049283},{"traceId":"43f2de6d909a73f7","parentId":709,"name":"emit","id":726,"timestamp":1671005391928,"duration":1861,"tags":{},"startTime":1664594049298},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":709,"timestamp":1671005367553,"duration":26569,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049274},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":729,"timestamp":1671005402726,"duration":4148,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":730,"timestamp":1671005402765,"duration":4777,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"read-resource","id":737,"timestamp":1671005407818,"duration":36,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":738,"name":"postcss-process","id":739,"timestamp":1671005407890,"duration":31575,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"postcss-loader","id":738,"timestamp":1671005407876,"duration":31736,"tags":{},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":736,"name":"css-loader","id":740,"timestamp":1671005439640,"duration":8363,"tags":{"astUsed":"true"},"startTime":1664594049346},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"build-module-css","id":736,"timestamp":1671005407652,"duration":45737,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594049314},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":734,"timestamp":1671005402778,"duration":53078,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":733,"timestamp":1671005402775,"duration":53100,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":742,"name":"next-swc-transform","id":743,"timestamp":1671005456493,"duration":1861,"tags":{},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":741,"name":"next-swc-loader","id":742,"timestamp":1671005456457,"duration":1901,"tags":{},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"build-module-tsx","id":741,"timestamp":1671005456322,"duration":3562,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049363},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":735,"timestamp":1671005402780,"duration":58530,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":731,"timestamp":1671005402769,"duration":58994,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"add-entry","id":732,"timestamp":1671005402772,"duration":85974,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594049309},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"make","id":728,"timestamp":1671005400855,"duration":87925,"tags":{},"startTime":1664594049307},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-chunk-graph","id":745,"timestamp":1671005493306,"duration":16704,"tags":{},"startTime":1664594049400},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-modules","id":747,"timestamp":1671005510035,"duration":2,"tags":{},"startTime":1664594049416},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-chunks","id":748,"timestamp":1671005510047,"duration":36,"tags":{},"startTime":1664594049417},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize-tree","id":749,"timestamp":1671005510099,"duration":3,"tags":{},"startTime":1664594049417},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-optimize","id":746,"timestamp":1671005510028,"duration":1507,"tags":{},"startTime":1664594049416},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-hash","id":750,"timestamp":1671005522819,"duration":4128,"tags":{},"startTime":1664594049429},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"NextJsBuildManifest-generateClientManifest","id":752,"timestamp":1671005536574,"duration":58,"tags":{},"startTime":1664594049443},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"NextJsBuildManifest-createassets","id":751,"timestamp":1671005536491,"duration":151,"tags":{},"startTime":1664594049443},{"traceId":"43f2de6d909a73f7","parentId":727,"name":"webpack-compilation-seal","id":744,"timestamp":1671005490043,"duration":48336,"tags":{},"startTime":1664594049397},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"webpack-compilation","id":727,"timestamp":1671005400653,"duration":137772,"tags":{"name":"client"},"startTime":1664594049307},{"traceId":"43f2de6d909a73f7","parentId":710,"name":"emit","id":753,"timestamp":1671005538445,"duration":88531,"tags":{},"startTime":1664594049445},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":710,"timestamp":1671005367725,"duration":260355,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664594049274}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":754,"timestamp":1671005649617,"duration":0,"tags":{},"startTime":1664594049556},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":755,"timestamp":1664594049275000,"duration":304000,"tags":{"clientId":1664593939102},"startTime":1664594049581},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":762,"timestamp":1671061225428,"duration":14308,"tags":{"request":"private-next-pages/_error"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":761,"timestamp":1671061225423,"duration":14334,"tags":{"request":"private-next-pages/_document"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":764,"name":"next-swc-transform","id":765,"timestamp":1671061238680,"duration":1714,"tags":{},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":763,"name":"next-swc-loader","id":764,"timestamp":1671061238559,"duration":1840,"tags":{},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"build-module-tsx","id":763,"timestamp":1671061238288,"duration":15353,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105145},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"add-entry","id":760,"timestamp":1671061225348,"duration":31895,"tags":{"request":"private-next-pages/_app"},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"make","id":759,"timestamp":1671061225200,"duration":32072,"tags":{},"startTime":1664594105132},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-chunk-graph","id":767,"timestamp":1671061258008,"duration":452,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-modules","id":769,"timestamp":1671061258525,"duration":12,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-chunks","id":770,"timestamp":1671061258576,"duration":34,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize-tree","id":771,"timestamp":1671061258640,"duration":15,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-optimize","id":768,"timestamp":1671061258490,"duration":287,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-hash","id":772,"timestamp":1671061261384,"duration":1499,"tags":{},"startTime":1664594105168},{"traceId":"43f2de6d909a73f7","parentId":758,"name":"webpack-compilation-seal","id":766,"timestamp":1671061257884,"duration":7290,"tags":{},"startTime":1664594105165},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"webpack-compilation","id":758,"timestamp":1671061224746,"duration":40467,"tags":{"name":"server"},"startTime":1664594105131},{"traceId":"43f2de6d909a73f7","parentId":756,"name":"emit","id":773,"timestamp":1671061265268,"duration":1708,"tags":{},"startTime":1664594105172},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":756,"timestamp":1671061216776,"duration":50676,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105123},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":776,"timestamp":1671061276190,"duration":7531,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":781,"timestamp":1671061276238,"duration":8831,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"read-resource","id":784,"timestamp":1671061284858,"duration":916,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":788,"name":"postcss-process","id":789,"timestamp":1671061285841,"duration":38823,"tags":{},"startTime":1664594105193},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"postcss-loader","id":788,"timestamp":1671061285831,"duration":39263,"tags":{},"startTime":1664594105193},{"traceId":"43f2de6d909a73f7","parentId":783,"name":"css-loader","id":790,"timestamp":1671061325143,"duration":12201,"tags":{"astUsed":"true"},"startTime":1664594105232},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"build-module-css","id":783,"timestamp":1671061284621,"duration":59149,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594105191},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":777,"timestamp":1671061276220,"duration":69194,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":786,"name":"next-swc-transform","id":787,"timestamp":1671061285495,"duration":60170,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":785,"name":"next-swc-loader","id":786,"timestamp":1671061285460,"duration":60208,"tags":{},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"build-module-tsx","id":785,"timestamp":1671061285377,"duration":63382,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105192},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":780,"timestamp":1671061276231,"duration":72693,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":782,"timestamp":1671061276241,"duration":78286,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":778,"timestamp":1671061276226,"duration":85893,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"add-entry","id":779,"timestamp":1671061276229,"duration":120067,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594105183},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"make","id":775,"timestamp":1671061274415,"duration":121955,"tags":{},"startTime":1664594105181},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-chunk-graph","id":792,"timestamp":1671061402857,"duration":16805,"tags":{},"startTime":1664594105310},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-modules","id":794,"timestamp":1671061419693,"duration":3,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-chunks","id":795,"timestamp":1671061419773,"duration":63,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize-tree","id":796,"timestamp":1671061419875,"duration":13,"tags":{},"startTime":1664594105327},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-optimize","id":793,"timestamp":1671061419684,"duration":1675,"tags":{},"startTime":1664594105326},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-hash","id":797,"timestamp":1671061434483,"duration":7075,"tags":{},"startTime":1664594105341},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"NextJsBuildManifest-generateClientManifest","id":799,"timestamp":1671061450546,"duration":193,"tags":{},"startTime":1664594105357},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"NextJsBuildManifest-createassets","id":798,"timestamp":1671061450355,"duration":396,"tags":{},"startTime":1664594105357},{"traceId":"43f2de6d909a73f7","parentId":774,"name":"webpack-compilation-seal","id":791,"timestamp":1671061397528,"duration":55192,"tags":{},"startTime":1664594105304},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"webpack-compilation","id":774,"timestamp":1671061273768,"duration":179004,"tags":{"name":"client"},"startTime":1664594105180},{"traceId":"43f2de6d909a73f7","parentId":757,"name":"emit","id":800,"timestamp":1671061452825,"duration":111785,"tags":{},"startTime":1664594105360},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":757,"timestamp":1671061217050,"duration":348625,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594105124}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":801,"timestamp":1671061593081,"duration":0,"tags":{},"startTime":1664594105500},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":802,"timestamp":1664594105124000,"duration":396000,"tags":{"clientId":1664593939102},"startTime":1664594105521},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":809,"timestamp":1671071924195,"duration":6010,"tags":{"request":"private-next-pages/_error"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":808,"timestamp":1671071924192,"duration":6028,"tags":{"request":"private-next-pages/_document"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":811,"name":"next-swc-transform","id":812,"timestamp":1671071930533,"duration":1244,"tags":{},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":810,"name":"next-swc-loader","id":811,"timestamp":1671071930480,"duration":1301,"tags":{},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"build-module-tsx","id":810,"timestamp":1671071930315,"duration":10817,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115837},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"add-entry","id":807,"timestamp":1671071924134,"duration":19291,"tags":{"request":"private-next-pages/_app"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"make","id":806,"timestamp":1671071923984,"duration":19467,"tags":{},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-chunk-graph","id":814,"timestamp":1671071943855,"duration":267,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-modules","id":816,"timestamp":1671071944156,"duration":2,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-chunks","id":817,"timestamp":1671071944168,"duration":23,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize-tree","id":818,"timestamp":1671071944201,"duration":5,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-optimize","id":815,"timestamp":1671071944153,"duration":108,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-hash","id":819,"timestamp":1671071945710,"duration":848,"tags":{},"startTime":1664594115852},{"traceId":"43f2de6d909a73f7","parentId":805,"name":"webpack-compilation-seal","id":813,"timestamp":1671071943784,"duration":4583,"tags":{},"startTime":1664594115851},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"webpack-compilation","id":805,"timestamp":1671071923791,"duration":24611,"tags":{"name":"server"},"startTime":1664594115831},{"traceId":"43f2de6d909a73f7","parentId":803,"name":"emit","id":820,"timestamp":1671071948424,"duration":2314,"tags":{},"startTime":1664594115855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":803,"timestamp":1671071916841,"duration":34148,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115824},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":823,"timestamp":1671071957063,"duration":3108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":824,"timestamp":1671071957098,"duration":3606,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"read-resource","id":831,"timestamp":1671071960940,"duration":33,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":832,"name":"postcss-process","id":833,"timestamp":1671071961003,"duration":31852,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"postcss-loader","id":832,"timestamp":1671071960993,"duration":32307,"tags":{},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":830,"name":"css-loader","id":834,"timestamp":1671071993330,"duration":10972,"tags":{"astUsed":"true"},"startTime":1664594115900},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"build-module-css","id":830,"timestamp":1671071960789,"duration":44795,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594115868},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":828,"timestamp":1671071957112,"duration":48971,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":827,"timestamp":1671071957109,"duration":48993,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":829,"timestamp":1671071957114,"duration":52751,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":825,"timestamp":1671071957101,"duration":53170,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":836,"name":"next-swc-transform","id":837,"timestamp":1671072010318,"duration":1958,"tags":{},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":835,"name":"next-swc-loader","id":836,"timestamp":1671072010280,"duration":2006,"tags":{},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"build-module-tsx","id":835,"timestamp":1671072010085,"duration":5435,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115917},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"add-entry","id":826,"timestamp":1671071957105,"duration":90008,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594115864},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"make","id":822,"timestamp":1671071955626,"duration":91518,"tags":{},"startTime":1664594115862},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-chunk-graph","id":839,"timestamp":1671072051988,"duration":19651,"tags":{},"startTime":1664594115959},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-modules","id":841,"timestamp":1671072071668,"duration":3,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-chunks","id":842,"timestamp":1671072071680,"duration":43,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize-tree","id":843,"timestamp":1671072071742,"duration":3,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-optimize","id":840,"timestamp":1671072071660,"duration":1520,"tags":{},"startTime":1664594115978},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-hash","id":844,"timestamp":1671072083323,"duration":6298,"tags":{},"startTime":1664594115990},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"NextJsBuildManifest-generateClientManifest","id":846,"timestamp":1671072098029,"duration":56,"tags":{},"startTime":1664594116005},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"NextJsBuildManifest-createassets","id":845,"timestamp":1671072097953,"duration":142,"tags":{},"startTime":1664594116005},{"traceId":"43f2de6d909a73f7","parentId":821,"name":"webpack-compilation-seal","id":838,"timestamp":1671072048556,"duration":51561,"tags":{},"startTime":1664594115955},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"webpack-compilation","id":821,"timestamp":1671071955441,"duration":144711,"tags":{"name":"client"},"startTime":1664594115862},{"traceId":"43f2de6d909a73f7","parentId":804,"name":"emit","id":847,"timestamp":1671072100174,"duration":97004,"tags":{},"startTime":1664594116007},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":804,"timestamp":1671071917015,"duration":281440,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594115824}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":848,"timestamp":1671072211667,"duration":0,"tags":{},"startTime":1664594116118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":849,"timestamp":1664594115824000,"duration":311000,"tags":{"clientId":1664593939102},"startTime":1664594116137},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":854,"timestamp":1671110955151,"duration":14513,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":855,"timestamp":1671110955314,"duration":15959,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"read-resource","id":862,"timestamp":1671110972191,"duration":135,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":863,"name":"postcss-process","id":864,"timestamp":1671110972571,"duration":51199,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"postcss-loader","id":863,"timestamp":1671110972444,"duration":51739,"tags":{},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":861,"name":"css-loader","id":865,"timestamp":1671111024231,"duration":12193,"tags":{"astUsed":"true"},"startTime":1664594154931},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"build-module-css","id":861,"timestamp":1671110971600,"duration":71704,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594154879},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":859,"timestamp":1671110955349,"duration":88439,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":858,"timestamp":1671110955338,"duration":88470,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":860,"timestamp":1671110955354,"duration":93106,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":856,"timestamp":1671110955325,"duration":93489,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"add-entry","id":857,"timestamp":1671110955332,"duration":124925,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594154862},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"make","id":853,"timestamp":1671110953827,"duration":126498,"tags":{},"startTime":1664594154861},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-chunk-graph","id":867,"timestamp":1671111084951,"duration":16455,"tags":{},"startTime":1664594154992},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-modules","id":869,"timestamp":1671111101449,"duration":14,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-chunks","id":870,"timestamp":1671111101501,"duration":69,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize-tree","id":871,"timestamp":1671111101610,"duration":12,"tags":{},"startTime":1664594155009},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-optimize","id":868,"timestamp":1671111101435,"duration":1640,"tags":{},"startTime":1664594155008},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-hash","id":872,"timestamp":1671111114903,"duration":6792,"tags":{},"startTime":1664594155022},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"NextJsBuildManifest-generateClientManifest","id":874,"timestamp":1671111122939,"duration":191,"tags":{},"startTime":1664594155030},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"NextJsBuildManifest-createassets","id":873,"timestamp":1671111122759,"duration":376,"tags":{},"startTime":1664594155030},{"traceId":"43f2de6d909a73f7","parentId":852,"name":"webpack-compilation-seal","id":866,"timestamp":1671111081663,"duration":42397,"tags":{},"startTime":1664594154989},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"webpack-compilation","id":852,"timestamp":1671110952013,"duration":172079,"tags":{"name":"client"},"startTime":1664594154859},{"traceId":"43f2de6d909a73f7","parentId":850,"name":"emit","id":875,"timestamp":1671111124160,"duration":3192,"tags":{},"startTime":1664594155031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":850,"timestamp":1671110939396,"duration":188523,"tags":{"trigger":"manual"},"startTime":1664594154846},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":878,"timestamp":1671111144126,"duration":0,"tags":{},"startTime":1664594155051},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":882,"timestamp":1671111144719,"duration":5725,"tags":{"request":"./pages/index.tsx"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":881,"timestamp":1671111144716,"duration":6147,"tags":{"request":"private-next-pages/_error"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":880,"timestamp":1671111144711,"duration":6164,"tags":{"request":"private-next-pages/_document"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"add-entry","id":879,"timestamp":1671111144673,"duration":6861,"tags":{"request":"private-next-pages/_app"},"startTime":1664594155052},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"make","id":877,"timestamp":1671111130411,"duration":21151,"tags":{},"startTime":1664594155037},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-chunk-graph","id":884,"timestamp":1671111152042,"duration":459,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-modules","id":886,"timestamp":1671111152524,"duration":2,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-chunks","id":887,"timestamp":1671111152608,"duration":21,"tags":{},"startTime":1664594155060},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize-tree","id":888,"timestamp":1671111152646,"duration":3,"tags":{},"startTime":1664594155060},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-optimize","id":885,"timestamp":1671111152519,"duration":190,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-hash","id":889,"timestamp":1671111154543,"duration":1307,"tags":{},"startTime":1664594155061},{"traceId":"43f2de6d909a73f7","parentId":876,"name":"webpack-compilation-seal","id":883,"timestamp":1671111151937,"duration":5364,"tags":{},"startTime":1664594155059},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"webpack-compilation","id":876,"timestamp":1671111130041,"duration":27282,"tags":{"name":"server"},"startTime":1664594155037},{"traceId":"43f2de6d909a73f7","parentId":851,"name":"emit","id":890,"timestamp":1671111157352,"duration":2696,"tags":{},"startTime":1664594155064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":851,"timestamp":1671110939678,"duration":221124,"tags":{"trigger":"manual"},"startTime":1664594154847}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":891,"timestamp":1671111423397,"duration":0,"tags":{},"startTime":1664594155330},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":896,"timestamp":1671156772395,"duration":4905,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":901,"timestamp":1671156772459,"duration":5850,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"read-resource","id":904,"timestamp":1671156778139,"duration":1081,"tags":{},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":908,"name":"postcss-process","id":909,"timestamp":1671156779266,"duration":34404,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"postcss-loader","id":908,"timestamp":1671156779252,"duration":34860,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":903,"name":"css-loader","id":910,"timestamp":1671156814152,"duration":14962,"tags":{"astUsed":"true"},"startTime":1664594200721},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"build-module-css","id":903,"timestamp":1671156778002,"duration":58119,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":906,"name":"next-swc-transform","id":907,"timestamp":1671156778587,"duration":58536,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":905,"name":"next-swc-loader","id":906,"timestamp":1671156778451,"duration":58677,"tags":{},"startTime":1664594200686},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"build-module-tsx","id":905,"timestamp":1671156778330,"duration":66708,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200685},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":897,"timestamp":1671156772445,"duration":72960,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":900,"timestamp":1671156772456,"duration":74684,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":902,"timestamp":1671156772461,"duration":80191,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":898,"timestamp":1671156772450,"duration":84976,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"add-entry","id":899,"timestamp":1671156772453,"duration":118014,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594200680},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"make","id":895,"timestamp":1671156771609,"duration":118882,"tags":{},"startTime":1664594200679},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-chunk-graph","id":912,"timestamp":1671156896304,"duration":4161,"tags":{},"startTime":1664594200803},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-modules","id":914,"timestamp":1671156900491,"duration":2,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-chunks","id":915,"timestamp":1671156900505,"duration":44,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize-tree","id":916,"timestamp":1671156900587,"duration":10,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-optimize","id":913,"timestamp":1671156900484,"duration":1486,"tags":{},"startTime":1664594200808},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-hash","id":917,"timestamp":1671156912165,"duration":8810,"tags":{},"startTime":1664594200819},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"NextJsBuildManifest-generateClientManifest","id":919,"timestamp":1671156929650,"duration":62,"tags":{},"startTime":1664594200837},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"NextJsBuildManifest-createassets","id":918,"timestamp":1671156929587,"duration":133,"tags":{},"startTime":1664594200837},{"traceId":"43f2de6d909a73f7","parentId":894,"name":"webpack-compilation-seal","id":911,"timestamp":1671156891713,"duration":39754,"tags":{},"startTime":1664594200799},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"webpack-compilation","id":894,"timestamp":1671156771390,"duration":160103,"tags":{"name":"client"},"startTime":1664594200679},{"traceId":"43f2de6d909a73f7","parentId":892,"name":"emit","id":920,"timestamp":1671156931512,"duration":97194,"tags":{},"startTime":1664594200839},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":892,"timestamp":1671156758922,"duration":270406,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200666},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":926,"timestamp":1671157042204,"duration":0,"tags":{},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":925,"timestamp":1671157041573,"duration":5932,"tags":{"request":"private-next-pages/_error"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":924,"timestamp":1671157041568,"duration":5950,"tags":{"request":"private-next-pages/_document"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":928,"name":"next-swc-transform","id":929,"timestamp":1671157046853,"duration":1564,"tags":{},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":927,"name":"next-swc-loader","id":928,"timestamp":1671157046790,"duration":1634,"tags":{},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"build-module-tsx","id":927,"timestamp":1671157046625,"duration":12001,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200954},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"add-entry","id":923,"timestamp":1671157041505,"duration":21816,"tags":{"request":"private-next-pages/_app"},"startTime":1664594200949},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"make","id":922,"timestamp":1671157031551,"duration":31792,"tags":{},"startTime":1664594200939},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-chunk-graph","id":931,"timestamp":1671157063756,"duration":284,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-modules","id":933,"timestamp":1671157064050,"duration":6,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-chunks","id":934,"timestamp":1671157064065,"duration":21,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize-tree","id":935,"timestamp":1671157064095,"duration":4,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-optimize","id":932,"timestamp":1671157064046,"duration":113,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-hash","id":936,"timestamp":1671157065751,"duration":479,"tags":{},"startTime":1664594200973},{"traceId":"43f2de6d909a73f7","parentId":921,"name":"webpack-compilation-seal","id":930,"timestamp":1671157063683,"duration":4023,"tags":{},"startTime":1664594200971},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"webpack-compilation","id":921,"timestamp":1671157031367,"duration":36368,"tags":{"name":"server"},"startTime":1664594200938},{"traceId":"43f2de6d909a73f7","parentId":893,"name":"emit","id":937,"timestamp":1671157067750,"duration":5323,"tags":{},"startTime":1664594200975},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":893,"timestamp":1671156759142,"duration":314480,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594200666}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":938,"timestamp":1664594200667000,"duration":313999,"tags":{"clientId":1664594155340},"startTime":1664594200982},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":943,"timestamp":1671187515782,"duration":8603,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":944,"timestamp":1671187515895,"duration":10239,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"read-resource","id":951,"timestamp":1671187526751,"duration":79,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":952,"name":"postcss-process","id":953,"timestamp":1671187526899,"duration":45660,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"postcss-loader","id":952,"timestamp":1671187526876,"duration":47873,"tags":{},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":950,"name":"css-loader","id":954,"timestamp":1671187574793,"duration":11240,"tags":{"astUsed":"true"},"startTime":1664594231482},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"build-module-css","id":950,"timestamp":1671187526491,"duration":60778,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594231434},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":948,"timestamp":1671187515934,"duration":72104,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":947,"timestamp":1671187515925,"duration":72132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":949,"timestamp":1671187515941,"duration":76497,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":945,"timestamp":1671187515907,"duration":76800,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"add-entry","id":946,"timestamp":1671187515916,"duration":105264,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594231423},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"make","id":942,"timestamp":1671187514867,"duration":106341,"tags":{},"startTime":1664594231422},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-chunk-graph","id":956,"timestamp":1671187625395,"duration":18200,"tags":{},"startTime":1664594231533},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-modules","id":958,"timestamp":1671187643622,"duration":4,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-chunks","id":959,"timestamp":1671187643635,"duration":36,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize-tree","id":960,"timestamp":1671187643688,"duration":3,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-optimize","id":957,"timestamp":1671187643615,"duration":1427,"tags":{},"startTime":1664594231551},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-hash","id":961,"timestamp":1671187653908,"duration":3759,"tags":{},"startTime":1664594231561},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"NextJsBuildManifest-generateClientManifest","id":963,"timestamp":1671187658461,"duration":56,"tags":{},"startTime":1664594231566},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"NextJsBuildManifest-createassets","id":962,"timestamp":1671187658393,"duration":128,"tags":{},"startTime":1664594231566},{"traceId":"43f2de6d909a73f7","parentId":941,"name":"webpack-compilation-seal","id":955,"timestamp":1671187622172,"duration":37283,"tags":{},"startTime":1664594231529},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"webpack-compilation","id":941,"timestamp":1671187514205,"duration":145273,"tags":{"name":"client"},"startTime":1664594231421},{"traceId":"43f2de6d909a73f7","parentId":939,"name":"emit","id":964,"timestamp":1671187659490,"duration":3072,"tags":{},"startTime":1664594231567},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":939,"timestamp":1671187495258,"duration":167670,"tags":{"trigger":"manual"},"startTime":1664594231403},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":967,"timestamp":1671187671748,"duration":0,"tags":{},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":971,"timestamp":1671187672137,"duration":2584,"tags":{"request":"./pages/index.tsx"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":970,"timestamp":1671187672132,"duration":2779,"tags":{"request":"private-next-pages/_error"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":969,"timestamp":1671187672125,"duration":2792,"tags":{"request":"private-next-pages/_document"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"add-entry","id":968,"timestamp":1671187672084,"duration":2993,"tags":{"request":"private-next-pages/_app"},"startTime":1664594231579},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"make","id":966,"timestamp":1671187663722,"duration":11374,"tags":{},"startTime":1664594231571},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-chunk-graph","id":973,"timestamp":1671187675312,"duration":216,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-modules","id":975,"timestamp":1671187675540,"duration":2,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-chunks","id":976,"timestamp":1671187675549,"duration":18,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize-tree","id":977,"timestamp":1671187675575,"duration":2,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-optimize","id":974,"timestamp":1671187675537,"duration":83,"tags":{},"startTime":1664594231583},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-hash","id":978,"timestamp":1671187676333,"duration":493,"tags":{},"startTime":1664594231584},{"traceId":"43f2de6d909a73f7","parentId":965,"name":"webpack-compilation-seal","id":972,"timestamp":1671187675246,"duration":2038,"tags":{},"startTime":1664594231582},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"webpack-compilation","id":965,"timestamp":1671187663583,"duration":13715,"tags":{"name":"server"},"startTime":1664594231571},{"traceId":"43f2de6d909a73f7","parentId":940,"name":"emit","id":979,"timestamp":1671187677307,"duration":3380,"tags":{},"startTime":1664594231585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":940,"timestamp":1671187495726,"duration":185345,"tags":{"trigger":"manual"},"startTime":1664594231403}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":980,"timestamp":1671187918877,"duration":0,"tags":{},"startTime":1664594231826},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":981,"timestamp":1671208889890,"duration":0,"tags":{},"startTime":1664594252797},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":982,"timestamp":1671237221712,"duration":1,"tags":{},"startTime":1664594281129},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":987,"timestamp":1671269238029,"duration":14450,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":992,"timestamp":1671269238139,"duration":16538,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"read-resource","id":995,"timestamp":1671269254389,"duration":2346,"tags":{},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":999,"name":"postcss-process","id":1000,"timestamp":1671269256847,"duration":45540,"tags":{},"startTime":1664594313164},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"postcss-loader","id":999,"timestamp":1671269256830,"duration":45979,"tags":{},"startTime":1664594313164},{"traceId":"43f2de6d909a73f7","parentId":994,"name":"css-loader","id":1001,"timestamp":1671269302860,"duration":12779,"tags":{"astUsed":"true"},"startTime":1664594313210},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"build-module-css","id":994,"timestamp":1671269254034,"duration":68841,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":997,"name":"next-swc-transform","id":998,"timestamp":1671269254993,"duration":69585,"tags":{},"startTime":1664594313163},{"traceId":"43f2de6d909a73f7","parentId":996,"name":"next-swc-loader","id":997,"timestamp":1671269254870,"duration":69713,"tags":{},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"build-module-tsx","id":996,"timestamp":1671269254715,"duration":75978,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313162},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":988,"timestamp":1671269238120,"duration":93691,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":991,"timestamp":1671269238135,"duration":94133,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":993,"timestamp":1671269238141,"duration":99894,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":989,"timestamp":1671269238129,"duration":103924,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"add-entry","id":990,"timestamp":1671269238132,"duration":148533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594313146},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"make","id":986,"timestamp":1671269236869,"duration":149897,"tags":{},"startTime":1664594313144},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-chunk-graph","id":1003,"timestamp":1671269397611,"duration":24964,"tags":{},"startTime":1664594313305},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-modules","id":1005,"timestamp":1671269422648,"duration":13,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-chunks","id":1006,"timestamp":1671269422700,"duration":139,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize-tree","id":1007,"timestamp":1671269422881,"duration":13,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-optimize","id":1004,"timestamp":1671269422617,"duration":2049,"tags":{},"startTime":1664594313330},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-hash","id":1008,"timestamp":1671269447626,"duration":7694,"tags":{},"startTime":1664594313355},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"NextJsBuildManifest-generateClientManifest","id":1010,"timestamp":1671269472527,"duration":267,"tags":{},"startTime":1664594313380},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"NextJsBuildManifest-createassets","id":1009,"timestamp":1671269472311,"duration":495,"tags":{},"startTime":1664594313380},{"traceId":"43f2de6d909a73f7","parentId":985,"name":"webpack-compilation-seal","id":1002,"timestamp":1671269390793,"duration":84506,"tags":{},"startTime":1664594313298},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"webpack-compilation","id":985,"timestamp":1671269235915,"duration":239443,"tags":{"name":"client"},"startTime":1664594313144},{"traceId":"43f2de6d909a73f7","parentId":983,"name":"emit","id":1011,"timestamp":1671269475443,"duration":106231,"tags":{},"startTime":1664594313383},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":983,"timestamp":1671269221202,"duration":370076,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313129},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1017,"timestamp":1671269604959,"duration":0,"tags":{},"startTime":1664594313513},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1016,"timestamp":1671269604528,"duration":6481,"tags":{"request":"private-next-pages/_error"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1015,"timestamp":1671269604524,"duration":6498,"tags":{"request":"private-next-pages/_document"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":1019,"name":"next-swc-transform","id":1020,"timestamp":1671269610427,"duration":1600,"tags":{},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1018,"name":"next-swc-loader","id":1019,"timestamp":1671269610359,"duration":1671,"tags":{},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"build-module-tsx","id":1018,"timestamp":1671269610219,"duration":6948,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313518},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"add-entry","id":1014,"timestamp":1671269604459,"duration":16290,"tags":{"request":"private-next-pages/_app"},"startTime":1664594313512},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"make","id":1013,"timestamp":1671269594134,"duration":26629,"tags":{},"startTime":1664594313502},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-chunk-graph","id":1022,"timestamp":1671269621125,"duration":194,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-modules","id":1024,"timestamp":1671269621328,"duration":1,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-chunks","id":1025,"timestamp":1671269621360,"duration":30,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize-tree","id":1026,"timestamp":1671269621411,"duration":15,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-optimize","id":1023,"timestamp":1671269621325,"duration":182,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-hash","id":1027,"timestamp":1671269622879,"duration":3593,"tags":{},"startTime":1664594313530},{"traceId":"43f2de6d909a73f7","parentId":1012,"name":"webpack-compilation-seal","id":1021,"timestamp":1671269621054,"duration":7218,"tags":{},"startTime":1664594313529},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"webpack-compilation","id":1012,"timestamp":1671269593804,"duration":34491,"tags":{"name":"server"},"startTime":1664594313501},{"traceId":"43f2de6d909a73f7","parentId":984,"name":"emit","id":1028,"timestamp":1671269628320,"duration":6660,"tags":{},"startTime":1664594313536},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":984,"timestamp":1671269221645,"duration":414130,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594313129}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1029,"timestamp":1664594313129999,"duration":416000,"tags":{"clientId":1664594252847},"startTime":1664594313547},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1034,"timestamp":1671287927134,"duration":4929,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1035,"timestamp":1671287927165,"duration":5641,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"read-resource","id":1042,"timestamp":1671287933119,"duration":32,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1043,"name":"postcss-process","id":1044,"timestamp":1671287933192,"duration":40104,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"postcss-loader","id":1043,"timestamp":1671287933179,"duration":40751,"tags":{},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1041,"name":"css-loader","id":1045,"timestamp":1671287973972,"duration":21042,"tags":{"astUsed":"true"},"startTime":1664594331882},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"build-module-css","id":1041,"timestamp":1671287932916,"duration":68302,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594331841},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1039,"timestamp":1671287927176,"duration":76147,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1038,"timestamp":1671287927173,"duration":76249,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1047,"name":"next-swc-transform","id":1048,"timestamp":1671288004411,"duration":5822,"tags":{},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1046,"name":"next-swc-loader","id":1047,"timestamp":1671288004370,"duration":5877,"tags":{},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"build-module-tsx","id":1046,"timestamp":1671288004221,"duration":6390,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331912},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1040,"timestamp":1671287927178,"duration":89241,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1036,"timestamp":1671287927168,"duration":90037,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"add-entry","id":1037,"timestamp":1671287927170,"duration":142848,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594331835},{"traceId":"43f2de6d909a73f7","parentId":1030,"name":"make","id":1033,"timestamp":1671287926344,"duration":143714,"tags":{},"startTime":1664594331834},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-chunk-graph","id":1050,"timestamp":1671288074854,"duration":18311,"tags":{},"startTime":1664594331983},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-modules","id":1052,"timestamp":1671288093197,"duration":3,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-chunks","id":1053,"timestamp":1671288093210,"duration":96,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize-tree","id":1054,"timestamp":1671288093325,"duration":6,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-optimize","id":1051,"timestamp":1671288093189,"duration":1629,"tags":{},"startTime":1664594332001},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-hash","id":1055,"timestamp":1671288106248,"duration":6339,"tags":{},"startTime":1664594332014},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"NextJsBuildManifest-generateClientManifest","id":1057,"timestamp":1671288121820,"duration":70,"tags":{},"startTime":1664594332029},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"NextJsBuildManifest-createassets","id":1056,"timestamp":1671288121713,"duration":187,"tags":{},"startTime":1664594332029},{"traceId":"43f2de6d909a73f7","parentId":1032,"name":"webpack-compilation-seal","id":1049,"timestamp":1671288071419,"duration":52572,"tags":{},"startTime":1664594331979},{"traceId":"43f2de6d909a73f7","parentId":1030,"name":"webpack-compilation","id":1032,"timestamp":1671287926147,"duration":197882,"tags":{"name":"client"},"startTime":1664594331834},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1030,"timestamp":1671287914349,"duration":211743,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331822},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1063,"timestamp":1671288139267,"duration":0,"tags":{"errorCount":1},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1062,"timestamp":1671288138892,"duration":4929,"tags":{"request":"private-next-pages/_error"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1061,"timestamp":1671288138888,"duration":4944,"tags":{"request":"private-next-pages/_document"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1065,"name":"next-swc-transform","id":1066,"timestamp":1671288142005,"duration":1988,"tags":{},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1064,"name":"next-swc-loader","id":1065,"timestamp":1671288141967,"duration":2029,"tags":{},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"build-module-tsx","id":1064,"timestamp":1671288141867,"duration":2214,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332050},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"add-entry","id":1060,"timestamp":1671288138846,"duration":5452,"tags":{"request":"private-next-pages/_app"},"startTime":1664594332047},{"traceId":"43f2de6d909a73f7","parentId":1031,"name":"make","id":1059,"timestamp":1671288128279,"duration":16033,"tags":{},"startTime":1664594332036},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-chunk-graph","id":1068,"timestamp":1671288144599,"duration":175,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-modules","id":1070,"timestamp":1671288144782,"duration":1,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-chunks","id":1071,"timestamp":1671288144790,"duration":13,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize-tree","id":1072,"timestamp":1671288144811,"duration":2,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-optimize","id":1069,"timestamp":1671288144779,"duration":78,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-hash","id":1073,"timestamp":1671288145913,"duration":438,"tags":{},"startTime":1664594332054},{"traceId":"43f2de6d909a73f7","parentId":1058,"name":"webpack-compilation-seal","id":1067,"timestamp":1671288144541,"duration":4068,"tags":{},"startTime":1664594332052},{"traceId":"43f2de6d909a73f7","parentId":1031,"name":"webpack-compilation","id":1058,"timestamp":1671288128109,"duration":20519,"tags":{"name":"server"},"startTime":1664594332036},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1031,"timestamp":1671287914557,"duration":234902,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594331822}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1074,"timestamp":1671288225070,"duration":0,"tags":{"errorCount":1},"startTime":1664594332133},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1077,"timestamp":1671288535532,"duration":0,"tags":{"errorCount":1},"startTime":1664594332443},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1080,"timestamp":1671288547291,"duration":3719,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1081,"timestamp":1671288547328,"duration":4263,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"read-resource","id":1088,"timestamp":1671288551790,"duration":31,"tags":{},"startTime":1664594332459},{"traceId":"43f2de6d909a73f7","parentId":1089,"name":"postcss-process","id":1090,"timestamp":1671288551859,"duration":32866,"tags":{},"startTime":1664594332460},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"postcss-loader","id":1089,"timestamp":1671288551845,"duration":33157,"tags":{},"startTime":1664594332460},{"traceId":"43f2de6d909a73f7","parentId":1087,"name":"css-loader","id":1091,"timestamp":1671288585041,"duration":8583,"tags":{"astUsed":"true"},"startTime":1664594332493},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"build-module-css","id":1087,"timestamp":1671288551680,"duration":43012,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594332459},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1085,"timestamp":1671288547346,"duration":49724,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1084,"timestamp":1671288547343,"duration":49746,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1093,"name":"next-swc-transform","id":1094,"timestamp":1671288597847,"duration":1857,"tags":{},"startTime":1664594332506},{"traceId":"43f2de6d909a73f7","parentId":1092,"name":"next-swc-loader","id":1093,"timestamp":1671288597811,"duration":1900,"tags":{},"startTime":1664594332505},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"build-module-tsx","id":1092,"timestamp":1671288597669,"duration":2100,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332505},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1086,"timestamp":1671288547353,"duration":53863,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1082,"timestamp":1671288547336,"duration":54164,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"add-entry","id":1083,"timestamp":1671288547339,"duration":81012,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594332455},{"traceId":"43f2de6d909a73f7","parentId":1075,"name":"make","id":1079,"timestamp":1671288546421,"duration":81960,"tags":{},"startTime":1664594332454},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-chunk-graph","id":1096,"timestamp":1671288632846,"duration":3622,"tags":{},"startTime":1664594332541},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-modules","id":1098,"timestamp":1671288636492,"duration":2,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-chunks","id":1099,"timestamp":1671288636502,"duration":33,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize-tree","id":1100,"timestamp":1671288636549,"duration":2,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-optimize","id":1097,"timestamp":1671288636487,"duration":912,"tags":{},"startTime":1664594332544},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-hash","id":1101,"timestamp":1671288647946,"duration":4228,"tags":{},"startTime":1664594332556},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"NextJsBuildManifest-generateClientManifest","id":1103,"timestamp":1671288653865,"duration":46,"tags":{},"startTime":1664594332562},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"NextJsBuildManifest-createassets","id":1102,"timestamp":1671288653816,"duration":99,"tags":{},"startTime":1664594332561},{"traceId":"43f2de6d909a73f7","parentId":1078,"name":"webpack-compilation-seal","id":1095,"timestamp":1671288629584,"duration":25484,"tags":{},"startTime":1664594332537},{"traceId":"43f2de6d909a73f7","parentId":1075,"name":"webpack-compilation","id":1078,"timestamp":1671288546213,"duration":108877,"tags":{"name":"client"},"startTime":1664594332454},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1075,"timestamp":1671288533888,"duration":121886,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332442},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1109,"timestamp":1671288666748,"duration":0,"tags":{"errorCount":1},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1108,"timestamp":1671288666516,"duration":3162,"tags":{"request":"private-next-pages/_error"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1107,"timestamp":1671288666513,"duration":3176,"tags":{"request":"private-next-pages/_document"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1111,"name":"next-swc-transform","id":1112,"timestamp":1671288669516,"duration":455,"tags":{},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1110,"name":"next-swc-loader","id":1111,"timestamp":1671288669465,"duration":510,"tags":{},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"build-module-tsx","id":1110,"timestamp":1671288669356,"duration":687,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332577},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"add-entry","id":1106,"timestamp":1671288666472,"duration":3649,"tags":{"request":"private-next-pages/_app"},"startTime":1664594332574},{"traceId":"43f2de6d909a73f7","parentId":1076,"name":"make","id":1105,"timestamp":1671288656686,"duration":13451,"tags":{},"startTime":1664594332564},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-chunk-graph","id":1114,"timestamp":1671288670391,"duration":184,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-modules","id":1116,"timestamp":1671288670585,"duration":2,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-chunks","id":1117,"timestamp":1671288670594,"duration":14,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize-tree","id":1118,"timestamp":1671288670616,"duration":3,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-optimize","id":1115,"timestamp":1671288670581,"duration":84,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-hash","id":1119,"timestamp":1671288671358,"duration":452,"tags":{},"startTime":1664594332579},{"traceId":"43f2de6d909a73f7","parentId":1104,"name":"webpack-compilation-seal","id":1113,"timestamp":1671288670332,"duration":1773,"tags":{},"startTime":1664594332578},{"traceId":"43f2de6d909a73f7","parentId":1076,"name":"webpack-compilation","id":1104,"timestamp":1671288656548,"duration":15578,"tags":{"name":"server"},"startTime":1664594332564},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1076,"timestamp":1671288534017,"duration":138822,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332442}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1120,"timestamp":1671288675603,"duration":0,"tags":{"errorCount":1},"startTime":1664594332583},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":1123,"timestamp":1671289057030,"duration":0,"tags":{"errorCount":1},"startTime":1664594332965},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1126,"timestamp":1671289067199,"duration":6437,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1127,"timestamp":1671289067232,"duration":7217,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"read-resource","id":1134,"timestamp":1671289074685,"duration":33,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1135,"name":"postcss-process","id":1136,"timestamp":1671289074760,"duration":29890,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"postcss-loader","id":1135,"timestamp":1671289074748,"duration":30041,"tags":{},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1133,"name":"css-loader","id":1137,"timestamp":1671289104819,"duration":8335,"tags":{"astUsed":"true"},"startTime":1664594333013},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"build-module-css","id":1133,"timestamp":1671289074576,"duration":39701,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594332982},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1131,"timestamp":1671289067254,"duration":47508,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1130,"timestamp":1671289067251,"duration":47523,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1132,"timestamp":1671289067256,"duration":51290,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1128,"timestamp":1671289067241,"duration":51607,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1139,"name":"next-swc-transform","id":1140,"timestamp":1671289115276,"duration":3846,"tags":{},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1138,"name":"next-swc-loader","id":1139,"timestamp":1671289115244,"duration":3881,"tags":{},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"build-module-tsx","id":1138,"timestamp":1671289115137,"duration":9191,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594333023},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"add-entry","id":1129,"timestamp":1671289067248,"duration":86022,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594332975},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"make","id":1125,"timestamp":1671289066350,"duration":86951,"tags":{},"startTime":1664594332974},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-chunk-graph","id":1142,"timestamp":1671289157743,"duration":3537,"tags":{},"startTime":1664594333065},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-modules","id":1144,"timestamp":1671289161303,"duration":3,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-chunks","id":1145,"timestamp":1671289161315,"duration":33,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize-tree","id":1146,"timestamp":1671289161367,"duration":4,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-optimize","id":1143,"timestamp":1671289161297,"duration":972,"tags":{},"startTime":1664594333069},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-hash","id":1147,"timestamp":1671289171811,"duration":3926,"tags":{},"startTime":1664594333079},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"NextJsBuildManifest-generateClientManifest","id":1149,"timestamp":1671289187024,"duration":50,"tags":{},"startTime":1664594333095},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"NextJsBuildManifest-createassets","id":1148,"timestamp":1671289186968,"duration":115,"tags":{},"startTime":1664594333095},{"traceId":"43f2de6d909a73f7","parentId":1124,"name":"webpack-compilation-seal","id":1141,"timestamp":1671289154499,"duration":34577,"tags":{},"startTime":1664594333062},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"webpack-compilation","id":1124,"timestamp":1671289066167,"duration":122940,"tags":{"name":"client"},"startTime":1664594332974},{"traceId":"43f2de6d909a73f7","parentId":1121,"name":"emit","id":1150,"timestamp":1671289189120,"duration":86373,"tags":{},"startTime":1664594333097},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1121,"timestamp":1671289055102,"duration":220956,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332963},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1156,"timestamp":1671289298823,"duration":0,"tags":{},"startTime":1664594333207},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1155,"timestamp":1671289288379,"duration":15690,"tags":{"request":"private-next-pages/_error"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1154,"timestamp":1671289288374,"duration":15710,"tags":{"request":"private-next-pages/_document"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1158,"name":"next-swc-transform","id":1159,"timestamp":1671289303743,"duration":1881,"tags":{},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1157,"name":"next-swc-loader","id":1158,"timestamp":1671289303658,"duration":1985,"tags":{},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"build-module-tsx","id":1157,"timestamp":1671289303527,"duration":6652,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594333211},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"add-entry","id":1153,"timestamp":1671289288324,"duration":24899,"tags":{"request":"private-next-pages/_app"},"startTime":1664594333196},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"make","id":1152,"timestamp":1671289277412,"duration":35842,"tags":{},"startTime":1664594333185},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-chunk-graph","id":1161,"timestamp":1671289313684,"duration":253,"tags":{},"startTime":1664594333221},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-modules","id":1163,"timestamp":1671289313946,"duration":2,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-chunks","id":1164,"timestamp":1671289313957,"duration":22,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize-tree","id":1165,"timestamp":1671289313986,"duration":5,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-optimize","id":1162,"timestamp":1671289313942,"duration":98,"tags":{},"startTime":1664594333222},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-hash","id":1166,"timestamp":1671289315404,"duration":420,"tags":{},"startTime":1664594333223},{"traceId":"43f2de6d909a73f7","parentId":1151,"name":"webpack-compilation-seal","id":1160,"timestamp":1671289313616,"duration":3530,"tags":{},"startTime":1664594333221},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"webpack-compilation","id":1151,"timestamp":1671289277192,"duration":39978,"tags":{"name":"server"},"startTime":1664594333185},{"traceId":"43f2de6d909a73f7","parentId":1122,"name":"emit","id":1167,"timestamp":1671289317183,"duration":2032,"tags":{},"startTime":1664594333225},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1122,"timestamp":1671289055243,"duration":264343,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594332963}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1168,"timestamp":1664594331823000,"duration":1412999,"tags":{"clientId":1664594252847},"startTime":1664594333237},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1173,"timestamp":1671290521419,"duration":3222,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1174,"timestamp":1671290521458,"duration":3730,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"read-resource","id":1181,"timestamp":1671290525420,"duration":29,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1182,"name":"postcss-process","id":1183,"timestamp":1671290525481,"duration":30921,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"postcss-loader","id":1182,"timestamp":1671290525468,"duration":31157,"tags":{},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1180,"name":"css-loader","id":1184,"timestamp":1671290556654,"duration":9699,"tags":{"astUsed":"true"},"startTime":1664594334464},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"build-module-css","id":1180,"timestamp":1671290525285,"duration":42258,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594334433},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1178,"timestamp":1671290521475,"duration":46739,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1177,"timestamp":1671290521472,"duration":46773,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1179,"timestamp":1671290521477,"duration":50708,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1175,"timestamp":1671290521462,"duration":51041,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1186,"name":"next-swc-transform","id":1187,"timestamp":1671290568764,"duration":4079,"tags":{},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1185,"name":"next-swc-loader","id":1186,"timestamp":1671290568728,"duration":4118,"tags":{},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"build-module-tsx","id":1185,"timestamp":1671290568630,"duration":7938,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334476},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"add-entry","id":1176,"timestamp":1671290521464,"duration":83540,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594334429},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"make","id":1172,"timestamp":1671290520628,"duration":84415,"tags":{},"startTime":1664594334428},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-chunk-graph","id":1189,"timestamp":1671290609612,"duration":19000,"tags":{},"startTime":1664594334517},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-modules","id":1191,"timestamp":1671290628642,"duration":2,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-chunks","id":1192,"timestamp":1671290628654,"duration":35,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize-tree","id":1193,"timestamp":1671290628710,"duration":3,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-optimize","id":1190,"timestamp":1671290628634,"duration":1422,"tags":{},"startTime":1664594334536},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-hash","id":1194,"timestamp":1671290638954,"duration":5534,"tags":{},"startTime":1664594334547},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"NextJsBuildManifest-generateClientManifest","id":1196,"timestamp":1671290652031,"duration":59,"tags":{},"startTime":1664594334560},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"NextJsBuildManifest-createassets","id":1195,"timestamp":1671290651949,"duration":153,"tags":{},"startTime":1664594334560},{"traceId":"43f2de6d909a73f7","parentId":1171,"name":"webpack-compilation-seal","id":1188,"timestamp":1671290606276,"duration":47398,"tags":{},"startTime":1664594334514},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"webpack-compilation","id":1171,"timestamp":1671290520435,"duration":133264,"tags":{"name":"client"},"startTime":1664594334428},{"traceId":"43f2de6d909a73f7","parentId":1169,"name":"emit","id":1197,"timestamp":1671290653714,"duration":82557,"tags":{},"startTime":1664594334561},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1169,"timestamp":1671290508035,"duration":228673,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334416},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1203,"timestamp":1671290746647,"duration":0,"tags":{},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1202,"timestamp":1671290746093,"duration":3734,"tags":{"request":"private-next-pages/_error"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1201,"timestamp":1671290746089,"duration":3747,"tags":{"request":"private-next-pages/_document"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1205,"name":"next-swc-transform","id":1206,"timestamp":1671290749670,"duration":1764,"tags":{},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1204,"name":"next-swc-loader","id":1205,"timestamp":1671290749641,"duration":1800,"tags":{},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"build-module-tsx","id":1204,"timestamp":1671290749573,"duration":4417,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334657},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"add-entry","id":1200,"timestamp":1671290746049,"duration":10517,"tags":{"request":"private-next-pages/_app"},"startTime":1664594334654},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"make","id":1199,"timestamp":1671290737587,"duration":18998,"tags":{},"startTime":1664594334645},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-chunk-graph","id":1208,"timestamp":1671290756913,"duration":184,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-modules","id":1210,"timestamp":1671290757105,"duration":2,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-chunks","id":1211,"timestamp":1671290757115,"duration":13,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize-tree","id":1212,"timestamp":1671290757136,"duration":2,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-optimize","id":1209,"timestamp":1671290757102,"duration":77,"tags":{},"startTime":1664594334665},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-hash","id":1213,"timestamp":1671290758226,"duration":411,"tags":{},"startTime":1664594334666},{"traceId":"43f2de6d909a73f7","parentId":1198,"name":"webpack-compilation-seal","id":1207,"timestamp":1671290756806,"duration":2757,"tags":{},"startTime":1664594334664},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"webpack-compilation","id":1198,"timestamp":1671290737442,"duration":22143,"tags":{"name":"server"},"startTime":1664594334645},{"traceId":"43f2de6d909a73f7","parentId":1170,"name":"emit","id":1214,"timestamp":1671290759597,"duration":3753,"tags":{},"startTime":1664594334667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1170,"timestamp":1671290508258,"duration":255450,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594334416}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1215,"timestamp":1664594334416000,"duration":262000,"tags":{"clientId":1664594252847},"startTime":1664594334679},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1222,"timestamp":1671293290462,"duration":5708,"tags":{"request":"private-next-pages/_error"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1221,"timestamp":1671293290459,"duration":5723,"tags":{"request":"private-next-pages/_document"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1224,"name":"next-swc-transform","id":1225,"timestamp":1671293296002,"duration":1889,"tags":{},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1223,"name":"next-swc-loader","id":1224,"timestamp":1671293295963,"duration":1936,"tags":{},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"build-module-tsx","id":1223,"timestamp":1671293295868,"duration":4478,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337204},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"add-entry","id":1220,"timestamp":1671293290429,"duration":11531,"tags":{"request":"private-next-pages/_app"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"make","id":1219,"timestamp":1671293290363,"duration":11614,"tags":{},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-chunk-graph","id":1227,"timestamp":1671293302268,"duration":191,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-modules","id":1229,"timestamp":1671293302468,"duration":2,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-chunks","id":1230,"timestamp":1671293302477,"duration":16,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize-tree","id":1231,"timestamp":1671293302501,"duration":3,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-optimize","id":1228,"timestamp":1671293302464,"duration":78,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-hash","id":1232,"timestamp":1671293303680,"duration":396,"tags":{},"startTime":1664594337211},{"traceId":"43f2de6d909a73f7","parentId":1218,"name":"webpack-compilation-seal","id":1226,"timestamp":1671293302207,"duration":3076,"tags":{},"startTime":1664594337210},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"webpack-compilation","id":1218,"timestamp":1671293290203,"duration":15105,"tags":{"name":"server"},"startTime":1664594337198},{"traceId":"43f2de6d909a73f7","parentId":1216,"name":"emit","id":1233,"timestamp":1671293305323,"duration":1691,"tags":{},"startTime":1664594337213},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1216,"timestamp":1671293283441,"duration":23795,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337191},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1236,"timestamp":1671293313899,"duration":3048,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1237,"timestamp":1671293313933,"duration":3498,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"read-resource","id":1244,"timestamp":1671293317599,"duration":33,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1245,"name":"postcss-process","id":1246,"timestamp":1671293317659,"duration":25259,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"postcss-loader","id":1245,"timestamp":1671293317651,"duration":25418,"tags":{},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1243,"name":"css-loader","id":1247,"timestamp":1671293343097,"duration":9512,"tags":{"astUsed":"true"},"startTime":1664594337251},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"build-module-css","id":1243,"timestamp":1671293317514,"duration":36069,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594337225},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1241,"timestamp":1671293313945,"duration":40114,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1240,"timestamp":1671293313942,"duration":40132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1242,"timestamp":1671293313947,"duration":43603,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1238,"timestamp":1671293313937,"duration":43868,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1249,"name":"next-swc-transform","id":1250,"timestamp":1671293354525,"duration":3508,"tags":{},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1248,"name":"next-swc-loader","id":1249,"timestamp":1671293354497,"duration":3537,"tags":{},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"build-module-tsx","id":1248,"timestamp":1671293354409,"duration":6396,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337262},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"add-entry","id":1239,"timestamp":1671293313939,"duration":73633,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594337222},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"make","id":1235,"timestamp":1671293310652,"duration":76947,"tags":{},"startTime":1664594337218},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-chunk-graph","id":1252,"timestamp":1671293391943,"duration":3583,"tags":{},"startTime":1664594337300},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-modules","id":1254,"timestamp":1671293395549,"duration":3,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-chunks","id":1255,"timestamp":1671293395561,"duration":34,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize-tree","id":1256,"timestamp":1671293395614,"duration":3,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-optimize","id":1253,"timestamp":1671293395541,"duration":962,"tags":{},"startTime":1664594337303},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-hash","id":1257,"timestamp":1671293406616,"duration":3823,"tags":{},"startTime":1664594337314},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"NextJsBuildManifest-generateClientManifest","id":1259,"timestamp":1671293419807,"duration":54,"tags":{},"startTime":1664594337328},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"NextJsBuildManifest-createassets","id":1258,"timestamp":1671293419751,"duration":120,"tags":{},"startTime":1664594337327},{"traceId":"43f2de6d909a73f7","parentId":1234,"name":"webpack-compilation-seal","id":1251,"timestamp":1671293388699,"duration":33028,"tags":{},"startTime":1664594337296},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"webpack-compilation","id":1234,"timestamp":1671293310484,"duration":111272,"tags":{"name":"client"},"startTime":1664594337218},{"traceId":"43f2de6d909a73f7","parentId":1217,"name":"emit","id":1260,"timestamp":1671293421772,"duration":99117,"tags":{},"startTime":1664594337329},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1217,"timestamp":1671293283564,"duration":238395,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594337191}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1261,"timestamp":1671293533139,"duration":0,"tags":{},"startTime":1664594337441},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1262,"timestamp":1664594337192000,"duration":272999,"tags":{"clientId":1664594252847},"startTime":1664594337466},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1267,"timestamp":1671296711017,"duration":3586,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1268,"timestamp":1671296711087,"duration":4276,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"read-resource","id":1275,"timestamp":1671296715687,"duration":40,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1276,"name":"postcss-process","id":1277,"timestamp":1671296715769,"duration":30852,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"postcss-loader","id":1276,"timestamp":1671296715754,"duration":31144,"tags":{},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1274,"name":"css-loader","id":1278,"timestamp":1671296746935,"duration":10654,"tags":{"astUsed":"true"},"startTime":1664594340655},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"build-module-css","id":1274,"timestamp":1671296715527,"duration":43472,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594340623},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1272,"timestamp":1671296711101,"duration":48419,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1271,"timestamp":1671296711098,"duration":48439,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1273,"timestamp":1671296711104,"duration":52475,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1269,"timestamp":1671296711092,"duration":52822,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1280,"name":"next-swc-transform","id":1281,"timestamp":1671296760115,"duration":4167,"tags":{},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1279,"name":"next-swc-loader","id":1280,"timestamp":1671296760047,"duration":4237,"tags":{},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"build-module-tsx","id":1279,"timestamp":1671296759939,"duration":7139,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340668},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"add-entry","id":1270,"timestamp":1671296711095,"duration":87594,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594340619},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"make","id":1266,"timestamp":1671296709909,"duration":88811,"tags":{},"startTime":1664594340618},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-chunk-graph","id":1283,"timestamp":1671296803278,"duration":18141,"tags":{},"startTime":1664594340711},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-modules","id":1285,"timestamp":1671296821447,"duration":4,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-chunks","id":1286,"timestamp":1671296821461,"duration":77,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize-tree","id":1287,"timestamp":1671296821557,"duration":4,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-optimize","id":1284,"timestamp":1671296821438,"duration":1434,"tags":{},"startTime":1664594340729},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-hash","id":1288,"timestamp":1671296831132,"duration":8161,"tags":{},"startTime":1664594340739},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"NextJsBuildManifest-generateClientManifest","id":1290,"timestamp":1671296847528,"duration":52,"tags":{},"startTime":1664594340755},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"NextJsBuildManifest-createassets","id":1289,"timestamp":1671296847460,"duration":241,"tags":{},"startTime":1664594340755},{"traceId":"43f2de6d909a73f7","parentId":1265,"name":"webpack-compilation-seal","id":1282,"timestamp":1671296799982,"duration":49230,"tags":{},"startTime":1664594340708},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"webpack-compilation","id":1265,"timestamp":1671296709635,"duration":139599,"tags":{"name":"client"},"startTime":1664594340617},{"traceId":"43f2de6d909a73f7","parentId":1263,"name":"emit","id":1291,"timestamp":1671296849248,"duration":87020,"tags":{},"startTime":1664594340757},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1263,"timestamp":1671296696576,"duration":240335,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340604},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1297,"timestamp":1671296962522,"duration":0,"tags":{},"startTime":1664594340870},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1296,"timestamp":1671296951069,"duration":16096,"tags":{"request":"private-next-pages/_error"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1295,"timestamp":1671296951064,"duration":16116,"tags":{"request":"private-next-pages/_document"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1299,"name":"next-swc-transform","id":1300,"timestamp":1671296966910,"duration":1978,"tags":{},"startTime":1664594340875},{"traceId":"43f2de6d909a73f7","parentId":1298,"name":"next-swc-loader","id":1299,"timestamp":1671296966837,"duration":2063,"tags":{},"startTime":1664594340875},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"build-module-tsx","id":1298,"timestamp":1671296966715,"duration":4816,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340874},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"add-entry","id":1294,"timestamp":1671296951017,"duration":23876,"tags":{"request":"private-next-pages/_app"},"startTime":1664594340859},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"make","id":1293,"timestamp":1671296939502,"duration":35420,"tags":{},"startTime":1664594340847},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-chunk-graph","id":1302,"timestamp":1671296975272,"duration":262,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-modules","id":1304,"timestamp":1671296975544,"duration":3,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-chunks","id":1305,"timestamp":1671296975557,"duration":24,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize-tree","id":1306,"timestamp":1671296975590,"duration":6,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-optimize","id":1303,"timestamp":1671296975541,"duration":110,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-hash","id":1307,"timestamp":1671296977121,"duration":831,"tags":{},"startTime":1664594340885},{"traceId":"43f2de6d909a73f7","parentId":1292,"name":"webpack-compilation-seal","id":1301,"timestamp":1671296975199,"duration":4257,"tags":{},"startTime":1664594340883},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"webpack-compilation","id":1292,"timestamp":1671296939248,"duration":40247,"tags":{"name":"server"},"startTime":1664594340847},{"traceId":"43f2de6d909a73f7","parentId":1264,"name":"emit","id":1308,"timestamp":1671296979510,"duration":2002,"tags":{},"startTime":1664594340887},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1264,"timestamp":1671296696809,"duration":285191,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594340605}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1309,"timestamp":1664594340604999,"duration":290000,"tags":{"clientId":1664594252847},"startTime":1664594340896},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1316,"timestamp":1671321377558,"duration":11119,"tags":{"request":"private-next-pages/_error"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1315,"timestamp":1671321377551,"duration":11143,"tags":{"request":"private-next-pages/_document"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1318,"name":"next-swc-transform","id":1319,"timestamp":1671321388418,"duration":1772,"tags":{},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1317,"name":"next-swc-loader","id":1318,"timestamp":1671321388327,"duration":1872,"tags":{},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"build-module-tsx","id":1317,"timestamp":1671321388158,"duration":14981,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365296},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"add-entry","id":1314,"timestamp":1671321377451,"duration":30130,"tags":{"request":"private-next-pages/_app"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"make","id":1313,"timestamp":1671321377261,"duration":30349,"tags":{},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-chunk-graph","id":1321,"timestamp":1671321408287,"duration":318,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-modules","id":1323,"timestamp":1671321408624,"duration":12,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-chunks","id":1324,"timestamp":1671321408669,"duration":40,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize-tree","id":1325,"timestamp":1671321408741,"duration":15,"tags":{},"startTime":1664594365317},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-optimize","id":1322,"timestamp":1671321408620,"duration":235,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-hash","id":1326,"timestamp":1671321411802,"duration":703,"tags":{},"startTime":1664594365320},{"traceId":"43f2de6d909a73f7","parentId":1312,"name":"webpack-compilation-seal","id":1320,"timestamp":1671321408174,"duration":7394,"tags":{},"startTime":1664594365316},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"webpack-compilation","id":1312,"timestamp":1671321376987,"duration":38615,"tags":{"name":"server"},"startTime":1664594365285},{"traceId":"43f2de6d909a73f7","parentId":1310,"name":"emit","id":1327,"timestamp":1671321415628,"duration":3043,"tags":{},"startTime":1664594365323},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1310,"timestamp":1671321368004,"duration":51116,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365276},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1330,"timestamp":1671321428866,"duration":6094,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1331,"timestamp":1671321428943,"duration":6740,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"read-resource","id":1338,"timestamp":1671321436100,"duration":58,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1339,"name":"postcss-process","id":1340,"timestamp":1671321436230,"duration":37305,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"postcss-loader","id":1339,"timestamp":1671321436216,"duration":37788,"tags":{},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1337,"name":"css-loader","id":1341,"timestamp":1671321474053,"duration":11385,"tags":{"astUsed":"true"},"startTime":1664594365382},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"build-module-css","id":1337,"timestamp":1671321435839,"duration":57041,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594365344},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1335,"timestamp":1671321428956,"duration":64366,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1334,"timestamp":1671321428953,"duration":64385,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1336,"timestamp":1671321428959,"duration":68336,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1332,"timestamp":1671321428947,"duration":68697,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1343,"name":"next-swc-transform","id":1344,"timestamp":1671321493922,"duration":4033,"tags":{},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1342,"name":"next-swc-loader","id":1343,"timestamp":1671321493887,"duration":4070,"tags":{},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"build-module-tsx","id":1342,"timestamp":1671321493768,"duration":9458,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365402},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"add-entry","id":1333,"timestamp":1671321428950,"duration":107717,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594365337},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"make","id":1329,"timestamp":1671321427189,"duration":109561,"tags":{},"startTime":1664594365335},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-chunk-graph","id":1346,"timestamp":1671321546268,"duration":26804,"tags":{},"startTime":1664594365454},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-modules","id":1348,"timestamp":1671321573107,"duration":3,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-chunks","id":1349,"timestamp":1671321573121,"duration":115,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize-tree","id":1350,"timestamp":1671321573258,"duration":4,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-optimize","id":1347,"timestamp":1671321573096,"duration":2289,"tags":{},"startTime":1664594365481},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-hash","id":1351,"timestamp":1671321597815,"duration":7543,"tags":{},"startTime":1664594365506},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"NextJsBuildManifest-generateClientManifest","id":1353,"timestamp":1671321616860,"duration":214,"tags":{},"startTime":1664594365525},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"NextJsBuildManifest-createassets","id":1352,"timestamp":1671321616720,"duration":366,"tags":{},"startTime":1664594365525},{"traceId":"43f2de6d909a73f7","parentId":1328,"name":"webpack-compilation-seal","id":1345,"timestamp":1671321539313,"duration":79887,"tags":{},"startTime":1664594365447},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"webpack-compilation","id":1328,"timestamp":1671321426505,"duration":192729,"tags":{"name":"client"},"startTime":1664594365334},{"traceId":"43f2de6d909a73f7","parentId":1311,"name":"emit","id":1354,"timestamp":1671321619280,"duration":95997,"tags":{},"startTime":1664594365527},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1311,"timestamp":1671321368269,"duration":348219,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594365276}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1355,"timestamp":1671321728203,"duration":0,"tags":{},"startTime":1664594365636},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1356,"timestamp":1664594365276999,"duration":377000,"tags":{"clientId":1664594252847},"startTime":1664594365654},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1361,"timestamp":1671335747472,"duration":13355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1366,"timestamp":1671335747567,"duration":18209,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"read-resource","id":1369,"timestamp":1671335765048,"duration":2065,"tags":{},"startTime":1664594379673},{"traceId":"43f2de6d909a73f7","parentId":1373,"name":"postcss-process","id":1374,"timestamp":1671335767171,"duration":48335,"tags":{},"startTime":1664594379675},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"postcss-loader","id":1373,"timestamp":1671335767156,"duration":48502,"tags":{},"startTime":1664594379675},{"traceId":"43f2de6d909a73f7","parentId":1368,"name":"css-loader","id":1375,"timestamp":1671335815693,"duration":11353,"tags":{"astUsed":"true"},"startTime":1664594379724},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"build-module-css","id":1368,"timestamp":1671335764882,"duration":63664,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594379673},{"traceId":"43f2de6d909a73f7","parentId":1371,"name":"next-swc-transform","id":1372,"timestamp":1671335766053,"duration":70480,"tags":{},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1370,"name":"next-swc-loader","id":1371,"timestamp":1671335765918,"duration":70632,"tags":{},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"build-module-tsx","id":1370,"timestamp":1671335765817,"duration":74867,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379674},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1362,"timestamp":1671335747542,"duration":93883,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1365,"timestamp":1671335747560,"duration":94562,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1367,"timestamp":1671335747573,"duration":99471,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1363,"timestamp":1671335747549,"duration":105087,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"add-entry","id":1364,"timestamp":1671335747556,"duration":137651,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594379655},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"make","id":1360,"timestamp":1671335741792,"duration":143460,"tags":{},"startTime":1664594379650},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-chunk-graph","id":1377,"timestamp":1671335889910,"duration":16465,"tags":{},"startTime":1664594379798},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-modules","id":1379,"timestamp":1671335906466,"duration":2,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-chunks","id":1380,"timestamp":1671335906482,"duration":64,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize-tree","id":1381,"timestamp":1671335906564,"duration":9,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-optimize","id":1378,"timestamp":1671335906453,"duration":1494,"tags":{},"startTime":1664594379814},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-hash","id":1382,"timestamp":1671335920399,"duration":6718,"tags":{},"startTime":1664594379828},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"NextJsBuildManifest-generateClientManifest","id":1384,"timestamp":1671335936544,"duration":72,"tags":{},"startTime":1664594379844},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"NextJsBuildManifest-createassets","id":1383,"timestamp":1671335936488,"duration":138,"tags":{},"startTime":1664594379844},{"traceId":"43f2de6d909a73f7","parentId":1359,"name":"webpack-compilation-seal","id":1376,"timestamp":1671335886545,"duration":51629,"tags":{},"startTime":1664594379794},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"webpack-compilation","id":1359,"timestamp":1671335741358,"duration":196846,"tags":{"name":"client"},"startTime":1664594379649},{"traceId":"43f2de6d909a73f7","parentId":1357,"name":"emit","id":1385,"timestamp":1671335938222,"duration":87160,"tags":{},"startTime":1664594379846},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1357,"timestamp":1671335723839,"duration":302328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379632},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1391,"timestamp":1671336055903,"duration":0,"tags":{},"startTime":1664594379964},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1390,"timestamp":1671336042233,"duration":21290,"tags":{"request":"private-next-pages/_error"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1389,"timestamp":1671336042228,"duration":21316,"tags":{"request":"private-next-pages/_document"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1393,"name":"next-swc-transform","id":1394,"timestamp":1671336062161,"duration":1653,"tags":{},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1392,"name":"next-swc-loader","id":1393,"timestamp":1671336062069,"duration":1748,"tags":{},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"build-module-tsx","id":1392,"timestamp":1671336061858,"duration":5678,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379970},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"add-entry","id":1388,"timestamp":1671336042178,"duration":30909,"tags":{"request":"private-next-pages/_app"},"startTime":1664594379950},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"make","id":1387,"timestamp":1671336028848,"duration":44265,"tags":{},"startTime":1664594379937},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-chunk-graph","id":1396,"timestamp":1671336073686,"duration":281,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-modules","id":1398,"timestamp":1671336073982,"duration":2,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-chunks","id":1399,"timestamp":1671336073992,"duration":33,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize-tree","id":1400,"timestamp":1671336074036,"duration":21,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-optimize","id":1397,"timestamp":1671336073978,"duration":136,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-hash","id":1401,"timestamp":1671336076441,"duration":901,"tags":{},"startTime":1664594379984},{"traceId":"43f2de6d909a73f7","parentId":1386,"name":"webpack-compilation-seal","id":1395,"timestamp":1671336073614,"duration":5269,"tags":{},"startTime":1664594379982},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"webpack-compilation","id":1386,"timestamp":1671336028501,"duration":50407,"tags":{"name":"server"},"startTime":1664594379936},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1403,"timestamp":1664594379632000,"duration":352000,"tags":{"clientId":1664594252847},"startTime":1664594379987},{"traceId":"43f2de6d909a73f7","parentId":1358,"name":"emit","id":1402,"timestamp":1671336078926,"duration":2048,"tags":{},"startTime":1664594379987},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1358,"timestamp":1671335724092,"duration":357294,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594379632}] -[{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1408,"timestamp":1671364268478,"duration":4183,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594408176},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1409,"timestamp":1671364268519,"duration":4863,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"read-resource","id":1416,"timestamp":1671364273632,"duration":35,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1417,"name":"postcss-process","id":1418,"timestamp":1671364273701,"duration":36774,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"postcss-loader","id":1417,"timestamp":1671364273691,"duration":36971,"tags":{},"startTime":1664594408182},{"traceId":"43f2de6d909a73f7","parentId":1415,"name":"css-loader","id":1419,"timestamp":1671364310693,"duration":9182,"tags":{"astUsed":"true"},"startTime":1664594408219},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"build-module-css","id":1415,"timestamp":1671364273483,"duration":47595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594408181},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1413,"timestamp":1671364268531,"duration":53051,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1412,"timestamp":1671364268528,"duration":53071,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1414,"timestamp":1671364268534,"duration":57112,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1410,"timestamp":1671364268522,"duration":57403,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1421,"name":"next-swc-transform","id":1422,"timestamp":1671364322206,"duration":4027,"tags":{},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1420,"name":"next-swc-loader","id":1421,"timestamp":1671364322169,"duration":4065,"tags":{},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"build-module-tsx","id":1420,"timestamp":1671364322062,"duration":7356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408230},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"add-entry","id":1411,"timestamp":1671364268525,"duration":89878,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594408177},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"make","id":1407,"timestamp":1671364267644,"duration":90794,"tags":{},"startTime":1664594408176},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-chunk-graph","id":1424,"timestamp":1671364362896,"duration":17524,"tags":{},"startTime":1664594408271},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-modules","id":1426,"timestamp":1671364380452,"duration":3,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-chunks","id":1427,"timestamp":1671364380464,"duration":34,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize-tree","id":1428,"timestamp":1671364380516,"duration":4,"tags":{},"startTime":1664594408289},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-optimize","id":1425,"timestamp":1671364380441,"duration":1518,"tags":{},"startTime":1664594408288},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-hash","id":1429,"timestamp":1671364393549,"duration":3788,"tags":{},"startTime":1664594408302},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"NextJsBuildManifest-generateClientManifest","id":1431,"timestamp":1671364405171,"duration":53,"tags":{},"startTime":1664594408313},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"NextJsBuildManifest-createassets","id":1430,"timestamp":1671364405120,"duration":113,"tags":{},"startTime":1664594408313},{"traceId":"43f2de6d909a73f7","parentId":1406,"name":"webpack-compilation-seal","id":1423,"timestamp":1671364359473,"duration":47480,"tags":{},"startTime":1664594408267},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"webpack-compilation","id":1406,"timestamp":1671364267409,"duration":139569,"tags":{"name":"client"},"startTime":1664594408175},{"traceId":"43f2de6d909a73f7","parentId":1404,"name":"emit","id":1432,"timestamp":1671364406998,"duration":87898,"tags":{},"startTime":1664594408315},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1404,"timestamp":1671364254452,"duration":241235,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408162},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1438,"timestamp":1671364520145,"duration":0,"tags":{},"startTime":1664594408428},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1437,"timestamp":1671364508757,"duration":16526,"tags":{"request":"private-next-pages/_error"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1436,"timestamp":1671364508752,"duration":16546,"tags":{"request":"private-next-pages/_document"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1440,"name":"next-swc-transform","id":1441,"timestamp":1671364524986,"duration":1775,"tags":{},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1439,"name":"next-swc-loader","id":1440,"timestamp":1671364524898,"duration":1875,"tags":{},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"build-module-tsx","id":1439,"timestamp":1671364524767,"duration":5516,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408433},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"add-entry","id":1435,"timestamp":1671364508703,"duration":24845,"tags":{"request":"private-next-pages/_app"},"startTime":1664594408417},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"make","id":1434,"timestamp":1671364497248,"duration":36319,"tags":{},"startTime":1664594408405},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-chunk-graph","id":1443,"timestamp":1671364533863,"duration":227,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-modules","id":1445,"timestamp":1671364534099,"duration":2,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-chunks","id":1446,"timestamp":1671364534108,"duration":22,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize-tree","id":1447,"timestamp":1671364534137,"duration":5,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-optimize","id":1444,"timestamp":1671364534096,"duration":96,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-hash","id":1448,"timestamp":1671364535469,"duration":398,"tags":{},"startTime":1664594408443},{"traceId":"43f2de6d909a73f7","parentId":1433,"name":"webpack-compilation-seal","id":1442,"timestamp":1671364533802,"duration":5936,"tags":{},"startTime":1664594408442},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"webpack-compilation","id":1433,"timestamp":1671364497009,"duration":42756,"tags":{"name":"server"},"startTime":1664594408405},{"traceId":"43f2de6d909a73f7","parentId":1405,"name":"emit","id":1449,"timestamp":1671364539783,"duration":1804,"tags":{},"startTime":1664594408448},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1405,"timestamp":1671364254662,"duration":287282,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594408163}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1450,"timestamp":1664594408164000,"duration":293999,"tags":{"clientId":1664594252847},"startTime":1664594408459},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1455,"timestamp":1671383869081,"duration":8320,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1456,"timestamp":1671383869165,"duration":9249,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"read-resource","id":1463,"timestamp":1671383878913,"duration":88,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1464,"name":"postcss-process","id":1465,"timestamp":1671383879084,"duration":44382,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"postcss-loader","id":1464,"timestamp":1671383879065,"duration":44838,"tags":{},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1462,"name":"css-loader","id":1466,"timestamp":1671383923952,"duration":11888,"tags":{"astUsed":"true"},"startTime":1664594427832},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"build-module-css","id":1462,"timestamp":1671383878619,"duration":64390,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594427787},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1460,"timestamp":1671383869180,"duration":75257,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1459,"timestamp":1671383869176,"duration":75283,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1461,"timestamp":1671383869186,"duration":79952,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1457,"timestamp":1671383869170,"duration":80274,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1468,"name":"next-swc-transform","id":1469,"timestamp":1671383945063,"duration":4741,"tags":{},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1467,"name":"next-swc-loader","id":1468,"timestamp":1671383945002,"duration":4803,"tags":{},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"build-module-tsx","id":1467,"timestamp":1671383944887,"duration":10777,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427853},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"add-entry","id":1458,"timestamp":1671383869173,"duration":118964,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594427777},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"make","id":1454,"timestamp":1671383867628,"duration":120578,"tags":{},"startTime":1664594427776},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-chunk-graph","id":1471,"timestamp":1671383992922,"duration":16664,"tags":{},"startTime":1664594427901},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-modules","id":1473,"timestamp":1671384009686,"duration":13,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-chunks","id":1474,"timestamp":1671384009738,"duration":108,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize-tree","id":1475,"timestamp":1671384009886,"duration":12,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-optimize","id":1472,"timestamp":1671384009650,"duration":1837,"tags":{},"startTime":1664594427918},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-hash","id":1476,"timestamp":1671384025838,"duration":6468,"tags":{},"startTime":1664594427934},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"NextJsBuildManifest-generateClientManifest","id":1478,"timestamp":1671384046232,"duration":204,"tags":{},"startTime":1664594427954},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"NextJsBuildManifest-createassets","id":1477,"timestamp":1671384046141,"duration":308,"tags":{},"startTime":1664594427954},{"traceId":"43f2de6d909a73f7","parentId":1453,"name":"webpack-compilation-seal","id":1470,"timestamp":1671383989491,"duration":59075,"tags":{},"startTime":1664594427898},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"webpack-compilation","id":1453,"timestamp":1671383866946,"duration":181652,"tags":{"name":"client"},"startTime":1664594427775},{"traceId":"43f2de6d909a73f7","parentId":1451,"name":"emit","id":1479,"timestamp":1671384048640,"duration":109078,"tags":{},"startTime":1664594427957},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1451,"timestamp":1671383853345,"duration":305557,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1485,"timestamp":1671384173503,"duration":0,"tags":{},"startTime":1664594428082},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1484,"timestamp":1671384172708,"duration":6516,"tags":{"request":"private-next-pages/_error"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1483,"timestamp":1671384172704,"duration":6534,"tags":{"request":"private-next-pages/_document"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1487,"name":"next-swc-transform","id":1488,"timestamp":1671384178983,"duration":1447,"tags":{},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1486,"name":"next-swc-loader","id":1487,"timestamp":1671384178909,"duration":1527,"tags":{},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"build-module-tsx","id":1486,"timestamp":1671384178772,"duration":6866,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594428087},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"add-entry","id":1482,"timestamp":1671384172624,"duration":16686,"tags":{"request":"private-next-pages/_app"},"startTime":1664594428081},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"make","id":1481,"timestamp":1671384160072,"duration":29258,"tags":{},"startTime":1664594428068},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-chunk-graph","id":1490,"timestamp":1671384189709,"duration":255,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-modules","id":1492,"timestamp":1671384189974,"duration":2,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-chunks","id":1493,"timestamp":1671384190010,"duration":33,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize-tree","id":1494,"timestamp":1671384190065,"duration":13,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-optimize","id":1491,"timestamp":1671384189970,"duration":196,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-hash","id":1495,"timestamp":1671384191770,"duration":832,"tags":{},"startTime":1664594428100},{"traceId":"43f2de6d909a73f7","parentId":1480,"name":"webpack-compilation-seal","id":1489,"timestamp":1671384189640,"duration":5027,"tags":{},"startTime":1664594428098},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"webpack-compilation","id":1480,"timestamp":1671384159820,"duration":34898,"tags":{"name":"server"},"startTime":1664594428068},{"traceId":"43f2de6d909a73f7","parentId":1452,"name":"emit","id":1496,"timestamp":1671384194755,"duration":4858,"tags":{},"startTime":1664594428103},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1452,"timestamp":1671383853652,"duration":346594,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594427762}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1497,"timestamp":1664594427761999,"duration":349000,"tags":{"clientId":1664594252847},"startTime":1664594428113},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1502,"timestamp":1671394525658,"duration":5567,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1503,"timestamp":1671394525737,"duration":6504,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"read-resource","id":1510,"timestamp":1671394532615,"duration":45,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1511,"name":"postcss-process","id":1512,"timestamp":1671394532703,"duration":50279,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"postcss-loader","id":1511,"timestamp":1671394532686,"duration":50770,"tags":{},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1509,"name":"css-loader","id":1513,"timestamp":1671394583486,"duration":9995,"tags":{"astUsed":"true"},"startTime":1664594438492},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"build-module-css","id":1509,"timestamp":1671394532388,"duration":67483,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594438441},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1507,"timestamp":1671394525757,"duration":77042,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1506,"timestamp":1671394525752,"duration":77066,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1508,"timestamp":1671394525760,"duration":80828,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1504,"timestamp":1671394525743,"duration":81253,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"add-entry","id":1505,"timestamp":1671394525748,"duration":109223,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594438434},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"make","id":1501,"timestamp":1671394524074,"duration":110928,"tags":{},"startTime":1664594438432},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-chunk-graph","id":1515,"timestamp":1671394639617,"duration":16947,"tags":{},"startTime":1664594438548},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-modules","id":1517,"timestamp":1671394656597,"duration":3,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-chunks","id":1518,"timestamp":1671394656610,"duration":49,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize-tree","id":1519,"timestamp":1671394656680,"duration":5,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-optimize","id":1516,"timestamp":1671394656587,"duration":1639,"tags":{},"startTime":1664594438565},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-hash","id":1520,"timestamp":1671394669296,"duration":5762,"tags":{},"startTime":1664594438577},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"NextJsBuildManifest-generateClientManifest","id":1522,"timestamp":1671394676038,"duration":62,"tags":{},"startTime":1664594438584},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"NextJsBuildManifest-createassets","id":1521,"timestamp":1671394675984,"duration":120,"tags":{},"startTime":1664594438584},{"traceId":"43f2de6d909a73f7","parentId":1500,"name":"webpack-compilation-seal","id":1514,"timestamp":1671394636095,"duration":40964,"tags":{},"startTime":1664594438544},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"webpack-compilation","id":1500,"timestamp":1671394523451,"duration":153639,"tags":{"name":"client"},"startTime":1664594438432},{"traceId":"43f2de6d909a73f7","parentId":1498,"name":"emit","id":1523,"timestamp":1671394677102,"duration":4010,"tags":{},"startTime":1664594438585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1498,"timestamp":1671394511463,"duration":170091,"tags":{"trigger":"manual"},"startTime":1664594438420},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1526,"timestamp":1671394691079,"duration":0,"tags":{},"startTime":1664594438599},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1529,"timestamp":1671394691466,"duration":3213,"tags":{"request":"private-next-pages/_error"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1528,"timestamp":1671394691443,"duration":3247,"tags":{"request":"private-next-pages/_document"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1527,"timestamp":1671394691383,"duration":4752,"tags":{"request":"private-next-pages/_app"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"add-entry","id":1530,"timestamp":1671394691470,"duration":13681,"tags":{"request":"./pages/index.tsx"},"startTime":1664594438600},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"make","id":1525,"timestamp":1671394682639,"duration":22543,"tags":{},"startTime":1664594438591},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-chunk-graph","id":1532,"timestamp":1671394705405,"duration":188,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-modules","id":1534,"timestamp":1671394705604,"duration":2,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-chunks","id":1535,"timestamp":1671394705614,"duration":18,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize-tree","id":1536,"timestamp":1671394705639,"duration":3,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-optimize","id":1533,"timestamp":1671394705600,"duration":93,"tags":{},"startTime":1664594438614},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-hash","id":1537,"timestamp":1671394706475,"duration":478,"tags":{},"startTime":1664594438615},{"traceId":"43f2de6d909a73f7","parentId":1524,"name":"webpack-compilation-seal","id":1531,"timestamp":1671394705342,"duration":2385,"tags":{},"startTime":1664594438613},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"webpack-compilation","id":1524,"timestamp":1671394682486,"duration":25258,"tags":{"name":"server"},"startTime":1664594438591},{"traceId":"43f2de6d909a73f7","parentId":1499,"name":"emit","id":1538,"timestamp":1671394707758,"duration":1664,"tags":{},"startTime":1664594438616},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1499,"timestamp":1671394511804,"duration":198145,"tags":{"trigger":"manual"},"startTime":1664594438420}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1539,"timestamp":1671395015234,"duration":0,"tags":{},"startTime":1664594438923},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1546,"timestamp":1671435540043,"duration":14068,"tags":{"request":"private-next-pages/_error"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1545,"timestamp":1671435540038,"duration":14095,"tags":{"request":"private-next-pages/_document"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1548,"name":"next-swc-transform","id":1549,"timestamp":1671435552885,"duration":3761,"tags":{},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1547,"name":"next-swc-loader","id":1548,"timestamp":1671435552568,"duration":4094,"tags":{},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"build-module-tsx","id":1547,"timestamp":1671435552392,"duration":17401,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479461},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"add-entry","id":1544,"timestamp":1671435539944,"duration":34385,"tags":{"request":"private-next-pages/_app"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"make","id":1543,"timestamp":1671435539765,"duration":34589,"tags":{},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-chunk-graph","id":1551,"timestamp":1671435574914,"duration":957,"tags":{},"startTime":1664594479483},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-modules","id":1553,"timestamp":1671435575920,"duration":11,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-chunks","id":1554,"timestamp":1671435575964,"duration":47,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize-tree","id":1555,"timestamp":1671435576041,"duration":17,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-optimize","id":1552,"timestamp":1671435575901,"duration":353,"tags":{},"startTime":1664594479484},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-hash","id":1556,"timestamp":1671435579012,"duration":754,"tags":{},"startTime":1664594479487},{"traceId":"43f2de6d909a73f7","parentId":1542,"name":"webpack-compilation-seal","id":1550,"timestamp":1671435574806,"duration":8052,"tags":{},"startTime":1664594479483},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"webpack-compilation","id":1542,"timestamp":1671435539510,"duration":43384,"tags":{"name":"server"},"startTime":1664594479448},{"traceId":"43f2de6d909a73f7","parentId":1540,"name":"emit","id":1557,"timestamp":1671435582915,"duration":1996,"tags":{},"startTime":1664594479491},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1540,"timestamp":1671435532194,"duration":53220,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479441},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1560,"timestamp":1671435593445,"duration":5580,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1565,"timestamp":1671435593493,"duration":7566,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"read-resource","id":1568,"timestamp":1671435600856,"duration":1015,"tags":{},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1572,"name":"postcss-process","id":1573,"timestamp":1671435601907,"duration":33423,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"postcss-loader","id":1572,"timestamp":1671435601895,"duration":33931,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1567,"name":"css-loader","id":1574,"timestamp":1671435635863,"duration":11950,"tags":{"astUsed":"true"},"startTime":1664594479544},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"build-module-css","id":1567,"timestamp":1671435600660,"duration":53236,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1561,"timestamp":1671435593480,"duration":61105,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1570,"name":"next-swc-transform","id":1571,"timestamp":1671435601209,"duration":53678,"tags":{},"startTime":1664594479510},{"traceId":"43f2de6d909a73f7","parentId":1569,"name":"next-swc-loader","id":1570,"timestamp":1671435601171,"duration":53719,"tags":{},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"build-module-tsx","id":1569,"timestamp":1671435601085,"duration":59065,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479509},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1564,"timestamp":1671435593490,"duration":66847,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1566,"timestamp":1671435593495,"duration":73025,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1562,"timestamp":1671435593485,"duration":76535,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"add-entry","id":1563,"timestamp":1671435593487,"duration":137212,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594479502},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"make","id":1559,"timestamp":1671435591269,"duration":139462,"tags":{},"startTime":1664594479500},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-chunk-graph","id":1576,"timestamp":1671435740470,"duration":19500,"tags":{},"startTime":1664594479649},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-modules","id":1578,"timestamp":1671435759999,"duration":3,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-chunks","id":1579,"timestamp":1671435760082,"duration":50,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize-tree","id":1580,"timestamp":1671435760225,"duration":16,"tags":{},"startTime":1664594479669},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-optimize","id":1577,"timestamp":1671435759990,"duration":1776,"tags":{},"startTime":1664594479668},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-hash","id":1581,"timestamp":1671435778454,"duration":7303,"tags":{},"startTime":1664594479687},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"NextJsBuildManifest-generateClientManifest","id":1583,"timestamp":1671435799589,"duration":66,"tags":{},"startTime":1664594479708},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"NextJsBuildManifest-createassets","id":1582,"timestamp":1671435799526,"duration":139,"tags":{},"startTime":1664594479708},{"traceId":"43f2de6d909a73f7","parentId":1558,"name":"webpack-compilation-seal","id":1575,"timestamp":1671435733175,"duration":68528,"tags":{},"startTime":1664594479641},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"webpack-compilation","id":1558,"timestamp":1671435591079,"duration":210711,"tags":{"name":"client"},"startTime":1664594479499},{"traceId":"43f2de6d909a73f7","parentId":1541,"name":"emit","id":1584,"timestamp":1671435801811,"duration":134766,"tags":{},"startTime":1664594479710},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1541,"timestamp":1671435532325,"duration":405455,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594479441}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1585,"timestamp":1671435948901,"duration":0,"tags":{},"startTime":1664594479857},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1586,"timestamp":1664594479440999,"duration":503000,"tags":{"clientId":1664594439015},"startTime":1664594479944},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1591,"timestamp":1671439742307,"duration":8105,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1592,"timestamp":1671439742492,"duration":9573,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1596,"timestamp":1671439742521,"duration":10319,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1595,"timestamp":1671439742514,"duration":10347,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1597,"timestamp":1671439742525,"duration":18546,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1593,"timestamp":1671439742502,"duration":19023,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"add-entry","id":1594,"timestamp":1671439742507,"duration":55427,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594483651},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"make","id":1590,"timestamp":1671439740284,"duration":57744,"tags":{},"startTime":1664594483649},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-chunk-graph","id":1599,"timestamp":1671439805326,"duration":17008,"tags":{},"startTime":1664594483714},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-modules","id":1601,"timestamp":1671439822370,"duration":16,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-chunks","id":1602,"timestamp":1671439822422,"duration":63,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize-tree","id":1603,"timestamp":1671439822522,"duration":17,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-optimize","id":1600,"timestamp":1671439822361,"duration":1667,"tags":{},"startTime":1664594483731},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-hash","id":1604,"timestamp":1671439837951,"duration":4471,"tags":{},"startTime":1664594483746},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"NextJsBuildManifest-generateClientManifest","id":1606,"timestamp":1671439843653,"duration":201,"tags":{},"startTime":1664594483752},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"NextJsBuildManifest-createassets","id":1605,"timestamp":1671439843567,"duration":294,"tags":{},"startTime":1664594483752},{"traceId":"43f2de6d909a73f7","parentId":1589,"name":"webpack-compilation-seal","id":1598,"timestamp":1671439799418,"duration":45545,"tags":{},"startTime":1664594483708},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"webpack-compilation","id":1589,"timestamp":1671439738270,"duration":106720,"tags":{"name":"client"},"startTime":1664594483647},{"traceId":"43f2de6d909a73f7","parentId":1587,"name":"emit","id":1607,"timestamp":1671439845026,"duration":2161,"tags":{},"startTime":1664594483753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1587,"timestamp":1671439720518,"duration":127312,"tags":{"trigger":"manual"},"startTime":1664594483629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1610,"timestamp":1671439862599,"duration":0,"tags":{},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1614,"timestamp":1671439862992,"duration":2563,"tags":{"request":"./pages/index.tsx"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1613,"timestamp":1671439862990,"duration":2725,"tags":{"request":"private-next-pages/_error"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1612,"timestamp":1671439862986,"duration":2737,"tags":{"request":"private-next-pages/_document"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"add-entry","id":1611,"timestamp":1671439862949,"duration":2922,"tags":{"request":"private-next-pages/_app"},"startTime":1664594483771},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"make","id":1609,"timestamp":1671439848891,"duration":17004,"tags":{},"startTime":1664594483757},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-chunk-graph","id":1616,"timestamp":1671439866146,"duration":183,"tags":{},"startTime":1664594483774},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-modules","id":1618,"timestamp":1671439866336,"duration":1,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-chunks","id":1619,"timestamp":1671439866346,"duration":17,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize-tree","id":1620,"timestamp":1671439866369,"duration":2,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-optimize","id":1617,"timestamp":1671439866333,"duration":92,"tags":{},"startTime":1664594483775},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-hash","id":1621,"timestamp":1671439867212,"duration":664,"tags":{},"startTime":1664594483776},{"traceId":"43f2de6d909a73f7","parentId":1608,"name":"webpack-compilation-seal","id":1615,"timestamp":1671439866070,"duration":2396,"tags":{},"startTime":1664594483774},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"webpack-compilation","id":1608,"timestamp":1671439848690,"duration":19791,"tags":{"name":"server"},"startTime":1664594483757},{"traceId":"43f2de6d909a73f7","parentId":1588,"name":"emit","id":1622,"timestamp":1671439868490,"duration":3848,"tags":{},"startTime":1664594483777},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1588,"timestamp":1671439721262,"duration":151581,"tags":{"trigger":"manual"},"startTime":1664594483630}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1623,"timestamp":1671440178866,"duration":0,"tags":{},"startTime":1664594484087},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1628,"timestamp":1671465175602,"duration":11980,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1629,"timestamp":1671465175765,"duration":13159,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"read-resource","id":1636,"timestamp":1671465189466,"duration":91,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1637,"name":"postcss-process","id":1638,"timestamp":1671465189726,"duration":50327,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"postcss-loader","id":1637,"timestamp":1671465189646,"duration":50849,"tags":{},"startTime":1664594509098},{"traceId":"43f2de6d909a73f7","parentId":1635,"name":"css-loader","id":1639,"timestamp":1671465240552,"duration":14273,"tags":{"astUsed":"true"},"startTime":1664594509149},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"build-module-css","id":1635,"timestamp":1671465189152,"duration":72826,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594509097},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1633,"timestamp":1671465175800,"duration":86706,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1632,"timestamp":1671465175796,"duration":86727,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1634,"timestamp":1671465175802,"duration":92288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1630,"timestamp":1671465175783,"duration":92649,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1641,"name":"next-swc-transform","id":1642,"timestamp":1671465263154,"duration":5718,"tags":{},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1640,"name":"next-swc-loader","id":1641,"timestamp":1671465263056,"duration":5818,"tags":{},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"build-module-tsx","id":1640,"timestamp":1671465262904,"duration":11674,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509171},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"add-entry","id":1631,"timestamp":1671465175786,"duration":135859,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594509084},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"make","id":1627,"timestamp":1671465174651,"duration":137029,"tags":{},"startTime":1664594509083},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-chunk-graph","id":1644,"timestamp":1671465316756,"duration":17942,"tags":{},"startTime":1664594509225},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-modules","id":1646,"timestamp":1671465334765,"duration":15,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-chunks","id":1647,"timestamp":1671465334815,"duration":133,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize-tree","id":1648,"timestamp":1671465334991,"duration":13,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-optimize","id":1645,"timestamp":1671465334737,"duration":1935,"tags":{},"startTime":1664594509243},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-hash","id":1649,"timestamp":1671465349980,"duration":6110,"tags":{},"startTime":1664594509258},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"NextJsBuildManifest-generateClientManifest","id":1651,"timestamp":1671465367711,"duration":65,"tags":{},"startTime":1664594509276},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"NextJsBuildManifest-createassets","id":1650,"timestamp":1671465367651,"duration":136,"tags":{},"startTime":1664594509276},{"traceId":"43f2de6d909a73f7","parentId":1626,"name":"webpack-compilation-seal","id":1643,"timestamp":1671465313195,"duration":56778,"tags":{},"startTime":1664594509221},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"webpack-compilation","id":1626,"timestamp":1671465174372,"duration":195636,"tags":{"name":"client"},"startTime":1664594509083},{"traceId":"43f2de6d909a73f7","parentId":1624,"name":"emit","id":1652,"timestamp":1671465370041,"duration":106295,"tags":{},"startTime":1664594509278},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1624,"timestamp":1671465159991,"duration":317451,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509068},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1658,"timestamp":1671465493471,"duration":0,"tags":{},"startTime":1664594509402},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1657,"timestamp":1671465492271,"duration":6324,"tags":{"request":"private-next-pages/_error"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1656,"timestamp":1671465492266,"duration":6344,"tags":{"request":"private-next-pages/_document"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1660,"name":"next-swc-transform","id":1661,"timestamp":1671465498306,"duration":1829,"tags":{},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1659,"name":"next-swc-loader","id":1660,"timestamp":1671465498236,"duration":1909,"tags":{},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"build-module-tsx","id":1659,"timestamp":1671465498088,"duration":7590,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509406},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"add-entry","id":1655,"timestamp":1671465492184,"duration":16731,"tags":{"request":"private-next-pages/_app"},"startTime":1664594509400},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"make","id":1654,"timestamp":1671465478845,"duration":30087,"tags":{},"startTime":1664594509387},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-chunk-graph","id":1663,"timestamp":1671465509267,"duration":228,"tags":{},"startTime":1664594509417},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-modules","id":1665,"timestamp":1671465509504,"duration":2,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-chunks","id":1666,"timestamp":1671465509559,"duration":35,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize-tree","id":1667,"timestamp":1671465509615,"duration":13,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-optimize","id":1664,"timestamp":1671465509501,"duration":210,"tags":{},"startTime":1664594509418},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-hash","id":1668,"timestamp":1671465511217,"duration":1412,"tags":{},"startTime":1664594509419},{"traceId":"43f2de6d909a73f7","parentId":1653,"name":"webpack-compilation-seal","id":1662,"timestamp":1671465509206,"duration":5411,"tags":{},"startTime":1664594509417},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"webpack-compilation","id":1653,"timestamp":1671465478552,"duration":36097,"tags":{"name":"server"},"startTime":1664594509387},{"traceId":"43f2de6d909a73f7","parentId":1625,"name":"emit","id":1669,"timestamp":1671465514673,"duration":6213,"tags":{},"startTime":1664594509423},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1625,"timestamp":1671465160259,"duration":361467,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594509068}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1670,"timestamp":1664594509072000,"duration":368999,"tags":{"clientId":1664594484152},"startTime":1664594509443},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1675,"timestamp":1671469173266,"duration":5034,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1676,"timestamp":1671469173348,"duration":6263,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"read-resource","id":1683,"timestamp":1671469180143,"duration":73,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1684,"name":"postcss-process","id":1685,"timestamp":1671469180276,"duration":48429,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"postcss-loader","id":1684,"timestamp":1671469180255,"duration":48635,"tags":{},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1682,"name":"css-loader","id":1686,"timestamp":1671469228926,"duration":10292,"tags":{"astUsed":"true"},"startTime":1664594513136},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"build-module-css","id":1682,"timestamp":1671469179822,"duration":65563,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594513087},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1680,"timestamp":1671469173365,"duration":74432,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1679,"timestamp":1671469173361,"duration":74457,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1681,"timestamp":1671469173368,"duration":78153,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1677,"timestamp":1671469173353,"duration":78577,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"add-entry","id":1678,"timestamp":1671469173357,"duration":105712,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594513080},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"make","id":1674,"timestamp":1671469172061,"duration":107034,"tags":{},"startTime":1664594513079},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-chunk-graph","id":1688,"timestamp":1671469283301,"duration":16114,"tags":{},"startTime":1664594513190},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-modules","id":1690,"timestamp":1671469299444,"duration":5,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-chunks","id":1691,"timestamp":1671469299459,"duration":40,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize-tree","id":1692,"timestamp":1671469299518,"duration":3,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-optimize","id":1689,"timestamp":1671469299436,"duration":1468,"tags":{},"startTime":1664594513206},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-hash","id":1693,"timestamp":1671469311094,"duration":5634,"tags":{},"startTime":1664594513218},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"NextJsBuildManifest-generateClientManifest","id":1695,"timestamp":1671469317654,"duration":59,"tags":{},"startTime":1664594513225},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"NextJsBuildManifest-createassets","id":1694,"timestamp":1671469317603,"duration":114,"tags":{},"startTime":1664594513225},{"traceId":"43f2de6d909a73f7","parentId":1673,"name":"webpack-compilation-seal","id":1687,"timestamp":1671469280137,"duration":38479,"tags":{},"startTime":1664594513187},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"webpack-compilation","id":1673,"timestamp":1671469171701,"duration":146946,"tags":{"name":"client"},"startTime":1664594513079},{"traceId":"43f2de6d909a73f7","parentId":1671,"name":"emit","id":1696,"timestamp":1671469318661,"duration":1845,"tags":{},"startTime":1664594513226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1671,"timestamp":1671469150553,"duration":170377,"tags":{"trigger":"manual"},"startTime":1664594513058},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1699,"timestamp":1671469332065,"duration":0,"tags":{},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1703,"timestamp":1671469332406,"duration":2415,"tags":{"request":"./pages/index.tsx"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1702,"timestamp":1671469332404,"duration":2585,"tags":{"request":"private-next-pages/_error"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1701,"timestamp":1671469332399,"duration":2594,"tags":{"request":"private-next-pages/_document"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"add-entry","id":1700,"timestamp":1671469332356,"duration":2779,"tags":{"request":"private-next-pages/_app"},"startTime":1664594513239},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"make","id":1698,"timestamp":1671469321804,"duration":13345,"tags":{},"startTime":1664594513229},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-chunk-graph","id":1705,"timestamp":1671469335373,"duration":188,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-modules","id":1707,"timestamp":1671469335571,"duration":2,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-chunks","id":1708,"timestamp":1671469335579,"duration":16,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize-tree","id":1709,"timestamp":1671469335601,"duration":6,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-optimize","id":1706,"timestamp":1671469335568,"duration":82,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-hash","id":1710,"timestamp":1671469336400,"duration":447,"tags":{},"startTime":1664594513243},{"traceId":"43f2de6d909a73f7","parentId":1697,"name":"webpack-compilation-seal","id":1704,"timestamp":1671469335314,"duration":2057,"tags":{},"startTime":1664594513242},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"webpack-compilation","id":1697,"timestamp":1671469321668,"duration":15718,"tags":{"name":"server"},"startTime":1664594513229},{"traceId":"43f2de6d909a73f7","parentId":1672,"name":"emit","id":1711,"timestamp":1671469337397,"duration":1520,"tags":{},"startTime":1664594513244},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1672,"timestamp":1671469156678,"duration":182801,"tags":{"trigger":"manual"},"startTime":1664594513064}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1712,"timestamp":1671469616842,"duration":0,"tags":{},"startTime":1664594513524},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1713,"timestamp":1671474204796,"duration":0,"tags":{},"startTime":1664594518111},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1718,"timestamp":1671489199986,"duration":4531,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1719,"timestamp":1671489200030,"duration":5211,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"read-resource","id":1726,"timestamp":1671489205672,"duration":56,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1727,"name":"postcss-process","id":1728,"timestamp":1671489205790,"duration":35059,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"postcss-loader","id":1727,"timestamp":1671489205766,"duration":35264,"tags":{},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1725,"name":"css-loader","id":1729,"timestamp":1671489241069,"duration":8791,"tags":{"astUsed":"true"},"startTime":1664594533145},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"build-module-css","id":1725,"timestamp":1671489205446,"duration":45717,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594533110},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1723,"timestamp":1671489200047,"duration":51591,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1722,"timestamp":1671489200044,"duration":51605,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1724,"timestamp":1671489200050,"duration":54985,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1720,"timestamp":1671489200039,"duration":55271,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1731,"name":"next-swc-transform","id":1732,"timestamp":1671489252149,"duration":3391,"tags":{},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1730,"name":"next-swc-loader","id":1731,"timestamp":1671489252108,"duration":3433,"tags":{},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"build-module-tsx","id":1730,"timestamp":1671489251995,"duration":8291,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533156},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"add-entry","id":1721,"timestamp":1671489200042,"duration":86253,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594533104},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"make","id":1717,"timestamp":1671489199165,"duration":87154,"tags":{},"startTime":1664594533103},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-chunk-graph","id":1734,"timestamp":1671489290490,"duration":3411,"tags":{},"startTime":1664594533195},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-modules","id":1736,"timestamp":1671489293921,"duration":2,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-chunks","id":1737,"timestamp":1671489293932,"duration":33,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize-tree","id":1738,"timestamp":1671489293988,"duration":3,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-optimize","id":1735,"timestamp":1671489293915,"duration":1066,"tags":{},"startTime":1664594533198},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-hash","id":1739,"timestamp":1671489305054,"duration":4093,"tags":{},"startTime":1664594533209},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"NextJsBuildManifest-generateClientManifest","id":1741,"timestamp":1671489319912,"duration":53,"tags":{},"startTime":1664594533224},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"NextJsBuildManifest-createassets","id":1740,"timestamp":1671489319861,"duration":113,"tags":{},"startTime":1664594533224},{"traceId":"43f2de6d909a73f7","parentId":1716,"name":"webpack-compilation-seal","id":1733,"timestamp":1671489287367,"duration":34446,"tags":{},"startTime":1664594533191},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"webpack-compilation","id":1716,"timestamp":1671489198807,"duration":123031,"tags":{"name":"client"},"startTime":1664594533103},{"traceId":"43f2de6d909a73f7","parentId":1714,"name":"emit","id":1742,"timestamp":1671489321852,"duration":96432,"tags":{},"startTime":1664594533226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1714,"timestamp":1671489186203,"duration":243204,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1745,"timestamp":1671489443003,"duration":0,"tags":{},"startTime":1664594533347},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1749,"timestamp":1671489444770,"duration":3239,"tags":{"request":"./pages/index.tsx"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1748,"timestamp":1671489444767,"duration":3785,"tags":{"request":"private-next-pages/_error"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1747,"timestamp":1671489444762,"duration":3795,"tags":{"request":"private-next-pages/_document"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1751,"name":"next-swc-transform","id":1752,"timestamp":1671489448327,"duration":2392,"tags":{},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1750,"name":"next-swc-loader","id":1751,"timestamp":1671489448256,"duration":2480,"tags":{},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"build-module-tsx","id":1750,"timestamp":1671489448072,"duration":6050,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533352},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"add-entry","id":1746,"timestamp":1671489444698,"duration":12536,"tags":{"request":"private-next-pages/_app"},"startTime":1664594533349},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"make","id":1744,"timestamp":1671489430603,"duration":26650,"tags":{},"startTime":1664594533335},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-chunk-graph","id":1754,"timestamp":1671489457662,"duration":419,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-modules","id":1756,"timestamp":1671489458092,"duration":2,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-chunks","id":1757,"timestamp":1671489458101,"duration":23,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize-tree","id":1758,"timestamp":1671489458133,"duration":4,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-optimize","id":1755,"timestamp":1671489458088,"duration":106,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-hash","id":1759,"timestamp":1671489459484,"duration":526,"tags":{},"startTime":1664594533364},{"traceId":"43f2de6d909a73f7","parentId":1743,"name":"webpack-compilation-seal","id":1753,"timestamp":1671489457590,"duration":6480,"tags":{},"startTime":1664594533362},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"webpack-compilation","id":1743,"timestamp":1671489430397,"duration":33704,"tags":{"name":"server"},"startTime":1664594533335},{"traceId":"43f2de6d909a73f7","parentId":1715,"name":"emit","id":1760,"timestamp":1671489464122,"duration":7028,"tags":{},"startTime":1664594533368},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1715,"timestamp":1671489186472,"duration":285151,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594533091}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1761,"timestamp":1664594533091000,"duration":292000,"tags":{"clientId":1664594518197},"startTime":1664594533386},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1766,"timestamp":1671520380510,"duration":12876,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1771,"timestamp":1671520380599,"duration":15498,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"read-resource","id":1774,"timestamp":1671520395856,"duration":1308,"tags":{},"startTime":1664594564299},{"traceId":"43f2de6d909a73f7","parentId":1778,"name":"postcss-process","id":1779,"timestamp":1671520397200,"duration":42489,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"postcss-loader","id":1778,"timestamp":1671520397190,"duration":42847,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1773,"name":"css-loader","id":1780,"timestamp":1671520440067,"duration":11501,"tags":{"astUsed":"true"},"startTime":1664594564343},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"build-module-css","id":1773,"timestamp":1671520395559,"duration":62683,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594564299},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1767,"timestamp":1671520380584,"duration":79080,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1776,"name":"next-swc-transform","id":1777,"timestamp":1671520396789,"duration":63166,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1775,"name":"next-swc-loader","id":1776,"timestamp":1671520396675,"duration":63282,"tags":{},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"build-module-tsx","id":1775,"timestamp":1671520396570,"duration":65844,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564300},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1770,"timestamp":1671520380595,"duration":81982,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1772,"timestamp":1671520380601,"duration":87488,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1768,"timestamp":1671520380589,"duration":139004,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"add-entry","id":1769,"timestamp":1671520380592,"duration":244153,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594564284},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"make","id":1765,"timestamp":1671520378032,"duration":246806,"tags":{},"startTime":1664594564281},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-chunk-graph","id":1782,"timestamp":1671520629674,"duration":17425,"tags":{},"startTime":1664594564533},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-modules","id":1784,"timestamp":1671520647157,"duration":12,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-chunks","id":1785,"timestamp":1671520647203,"duration":63,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize-tree","id":1786,"timestamp":1671520647302,"duration":17,"tags":{},"startTime":1664594564551},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-optimize","id":1783,"timestamp":1671520647131,"duration":1619,"tags":{},"startTime":1664594564550},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-hash","id":1787,"timestamp":1671520660630,"duration":6927,"tags":{},"startTime":1664594564564},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"NextJsBuildManifest-generateClientManifest","id":1789,"timestamp":1671520679109,"duration":183,"tags":{},"startTime":1664594564582},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"NextJsBuildManifest-createassets","id":1788,"timestamp":1671520679017,"duration":285,"tags":{},"startTime":1664594564582},{"traceId":"43f2de6d909a73f7","parentId":1764,"name":"webpack-compilation-seal","id":1781,"timestamp":1671520626141,"duration":55104,"tags":{},"startTime":1664594564529},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"webpack-compilation","id":1764,"timestamp":1671520377791,"duration":303482,"tags":{"name":"client"},"startTime":1664594564281},{"traceId":"43f2de6d909a73f7","parentId":1762,"name":"emit","id":1790,"timestamp":1671520681323,"duration":86632,"tags":{},"startTime":1664594564585},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1762,"timestamp":1671520363540,"duration":405135,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1796,"timestamp":1671520780775,"duration":0,"tags":{},"startTime":1664594564684},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1795,"timestamp":1671520780102,"duration":5261,"tags":{"request":"private-next-pages/_error"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1794,"timestamp":1671520780098,"duration":5276,"tags":{"request":"private-next-pages/_document"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1798,"name":"next-swc-transform","id":1799,"timestamp":1671520785124,"duration":10931,"tags":{},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1797,"name":"next-swc-loader","id":1798,"timestamp":1671520785055,"duration":11010,"tags":{},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"build-module-tsx","id":1797,"timestamp":1671520784910,"duration":13595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564688},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"add-entry","id":1793,"timestamp":1671520780055,"duration":21982,"tags":{"request":"private-next-pages/_app"},"startTime":1664594564683},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"make","id":1792,"timestamp":1671520769747,"duration":32304,"tags":{},"startTime":1664594564673},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-chunk-graph","id":1801,"timestamp":1671520802382,"duration":183,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-modules","id":1803,"timestamp":1671520802579,"duration":2,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-chunks","id":1804,"timestamp":1671520802614,"duration":25,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize-tree","id":1805,"timestamp":1671520802661,"duration":11,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-optimize","id":1802,"timestamp":1671520802575,"duration":250,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-hash","id":1806,"timestamp":1671520803760,"duration":613,"tags":{},"startTime":1664594564707},{"traceId":"43f2de6d909a73f7","parentId":1791,"name":"webpack-compilation-seal","id":1800,"timestamp":1671520802320,"duration":3059,"tags":{},"startTime":1664594564706},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"webpack-compilation","id":1791,"timestamp":1671520769595,"duration":35802,"tags":{"name":"server"},"startTime":1664594564673},{"traceId":"43f2de6d909a73f7","parentId":1763,"name":"emit","id":1807,"timestamp":1671520805412,"duration":3276,"tags":{},"startTime":1664594564709},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1763,"timestamp":1671520363809,"duration":445300,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594564267}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1808,"timestamp":1664594564268000,"duration":444000,"tags":{"clientId":1664594518197},"startTime":1664594564713},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1813,"timestamp":1671535118360,"duration":4034,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1814,"timestamp":1671535118401,"duration":4635,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"read-resource","id":1821,"timestamp":1671535123395,"duration":65,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1822,"name":"postcss-process","id":1823,"timestamp":1671535123499,"duration":37833,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"postcss-loader","id":1822,"timestamp":1671535123487,"duration":38248,"tags":{},"startTime":1664594579027},{"traceId":"43f2de6d909a73f7","parentId":1820,"name":"css-loader","id":1824,"timestamp":1671535161760,"duration":9162,"tags":{"astUsed":"true"},"startTime":1664594579065},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"build-module-css","id":1820,"timestamp":1671535123148,"duration":53305,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594579026},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1818,"timestamp":1671535118414,"duration":59512,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1817,"timestamp":1671535118411,"duration":59535,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1819,"timestamp":1671535118416,"duration":69518,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1815,"timestamp":1671535118405,"duration":70595,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1826,"name":"next-swc-transform","id":1827,"timestamp":1671535189068,"duration":7979,"tags":{},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1825,"name":"next-swc-loader","id":1826,"timestamp":1671535189015,"duration":8043,"tags":{},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"build-module-tsx","id":1825,"timestamp":1671535188571,"duration":11991,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579092},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"add-entry","id":1816,"timestamp":1671535118408,"duration":139419,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594579022},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"make","id":1812,"timestamp":1671535117235,"duration":140633,"tags":{},"startTime":1664594579020},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-chunk-graph","id":1829,"timestamp":1671535262351,"duration":20313,"tags":{},"startTime":1664594579166},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-modules","id":1831,"timestamp":1671535282706,"duration":3,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-chunks","id":1832,"timestamp":1671535282720,"duration":98,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize-tree","id":1833,"timestamp":1671535282845,"duration":6,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-optimize","id":1830,"timestamp":1671535282693,"duration":1449,"tags":{},"startTime":1664594579186},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-hash","id":1834,"timestamp":1671535294743,"duration":7756,"tags":{},"startTime":1664594579198},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"NextJsBuildManifest-generateClientManifest","id":1836,"timestamp":1671535316332,"duration":72,"tags":{},"startTime":1664594579220},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"NextJsBuildManifest-createassets","id":1835,"timestamp":1671535316269,"duration":145,"tags":{},"startTime":1664594579219},{"traceId":"43f2de6d909a73f7","parentId":1811,"name":"webpack-compilation-seal","id":1828,"timestamp":1671535259092,"duration":59116,"tags":{},"startTime":1664594579162},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"webpack-compilation","id":1811,"timestamp":1671535117027,"duration":201225,"tags":{"name":"client"},"startTime":1664594579020},{"traceId":"43f2de6d909a73f7","parentId":1809,"name":"emit","id":1837,"timestamp":1671535318277,"duration":107667,"tags":{},"startTime":1664594579222},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1809,"timestamp":1671535105258,"duration":321483,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1843,"timestamp":1671535440188,"duration":0,"tags":{},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1842,"timestamp":1671535439427,"duration":4681,"tags":{"request":"private-next-pages/_error"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1841,"timestamp":1671535439423,"duration":4695,"tags":{"request":"private-next-pages/_document"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1845,"name":"next-swc-transform","id":1846,"timestamp":1671535444426,"duration":1255,"tags":{},"startTime":1664594579348},{"traceId":"43f2de6d909a73f7","parentId":1844,"name":"next-swc-loader","id":1845,"timestamp":1671535444360,"duration":1333,"tags":{},"startTime":1664594579348},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"build-module-tsx","id":1844,"timestamp":1671535444218,"duration":3672,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579347},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"add-entry","id":1840,"timestamp":1671535439346,"duration":10332,"tags":{"request":"private-next-pages/_app"},"startTime":1664594579343},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"make","id":1839,"timestamp":1671535428333,"duration":21365,"tags":{},"startTime":1664594579332},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-chunk-graph","id":1848,"timestamp":1671535450050,"duration":236,"tags":{},"startTime":1664594579353},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-modules","id":1850,"timestamp":1671535450296,"duration":2,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-chunks","id":1851,"timestamp":1671535450305,"duration":24,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize-tree","id":1852,"timestamp":1671535450336,"duration":5,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-optimize","id":1849,"timestamp":1671535450292,"duration":100,"tags":{},"startTime":1664594579354},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-hash","id":1853,"timestamp":1671535451442,"duration":439,"tags":{},"startTime":1664594579355},{"traceId":"43f2de6d909a73f7","parentId":1838,"name":"webpack-compilation-seal","id":1847,"timestamp":1671535449983,"duration":4572,"tags":{},"startTime":1664594579353},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"webpack-compilation","id":1838,"timestamp":1671535428040,"duration":26537,"tags":{"name":"server"},"startTime":1664594579331},{"traceId":"43f2de6d909a73f7","parentId":1810,"name":"emit","id":1854,"timestamp":1671535454591,"duration":2827,"tags":{},"startTime":1664594579358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1810,"timestamp":1671535105464,"duration":352389,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594579009}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1855,"timestamp":1664594579008999,"duration":366000,"tags":{"clientId":1664594518197},"startTime":1664594579379},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1860,"timestamp":1671566340634,"duration":7763,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1861,"timestamp":1671566340718,"duration":8538,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"read-resource","id":1868,"timestamp":1671566349769,"duration":63,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1869,"name":"postcss-process","id":1870,"timestamp":1671566349914,"duration":51179,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"postcss-loader","id":1869,"timestamp":1671566349896,"duration":51680,"tags":{},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1867,"name":"css-loader","id":1871,"timestamp":1671566401629,"duration":13064,"tags":{"astUsed":"true"},"startTime":1664594610305},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"build-module-css","id":1867,"timestamp":1671566349485,"duration":71949,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594610253},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1865,"timestamp":1671566340735,"duration":82020,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1864,"timestamp":1671566340732,"duration":82043,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1866,"timestamp":1671566340737,"duration":86790,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1862,"timestamp":1671566340725,"duration":87115,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1873,"name":"next-swc-transform","id":1874,"timestamp":1671566423376,"duration":4826,"tags":{},"startTime":1664594610327},{"traceId":"43f2de6d909a73f7","parentId":1872,"name":"next-swc-loader","id":1873,"timestamp":1671566423316,"duration":4887,"tags":{},"startTime":1664594610327},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"build-module-tsx","id":1872,"timestamp":1671566423200,"duration":11026,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610326},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"add-entry","id":1863,"timestamp":1671566340728,"duration":125625,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594610244},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"make","id":1859,"timestamp":1671566339207,"duration":127223,"tags":{},"startTime":1664594610242},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-chunk-graph","id":1876,"timestamp":1671566471266,"duration":18053,"tags":{},"startTime":1664594610375},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-modules","id":1878,"timestamp":1671566489375,"duration":12,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-chunks","id":1879,"timestamp":1671566489421,"duration":90,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize-tree","id":1880,"timestamp":1671566489549,"duration":12,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-optimize","id":1877,"timestamp":1671566489350,"duration":1711,"tags":{},"startTime":1664594610393},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-hash","id":1881,"timestamp":1671566503876,"duration":5863,"tags":{},"startTime":1664594610407},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"NextJsBuildManifest-generateClientManifest","id":1883,"timestamp":1671566524093,"duration":198,"tags":{},"startTime":1664594610427},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"NextJsBuildManifest-createassets","id":1882,"timestamp":1671566524005,"duration":297,"tags":{},"startTime":1664594610427},{"traceId":"43f2de6d909a73f7","parentId":1858,"name":"webpack-compilation-seal","id":1875,"timestamp":1671566467767,"duration":58587,"tags":{},"startTime":1664594610371},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"webpack-compilation","id":1858,"timestamp":1671566338504,"duration":187887,"tags":{"name":"client"},"startTime":1664594610242},{"traceId":"43f2de6d909a73f7","parentId":1856,"name":"emit","id":1884,"timestamp":1671566526445,"duration":113395,"tags":{},"startTime":1664594610430},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1856,"timestamp":1671566323808,"duration":317078,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610227},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1890,"timestamp":1671566653852,"duration":0,"tags":{},"startTime":1664594610557},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1889,"timestamp":1671566653099,"duration":5472,"tags":{"request":"private-next-pages/_error"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1888,"timestamp":1671566653094,"duration":5487,"tags":{"request":"private-next-pages/_document"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1892,"name":"next-swc-transform","id":1893,"timestamp":1671566658338,"duration":1485,"tags":{},"startTime":1664594610562},{"traceId":"43f2de6d909a73f7","parentId":1891,"name":"next-swc-loader","id":1892,"timestamp":1671566658274,"duration":1556,"tags":{},"startTime":1664594610562},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"build-module-tsx","id":1891,"timestamp":1671566658151,"duration":6637,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610561},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"add-entry","id":1887,"timestamp":1671566653015,"duration":16993,"tags":{"request":"private-next-pages/_app"},"startTime":1664594610556},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"make","id":1886,"timestamp":1671566642069,"duration":27963,"tags":{},"startTime":1664594610545},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-chunk-graph","id":1895,"timestamp":1671566670499,"duration":263,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-modules","id":1897,"timestamp":1671566670773,"duration":2,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-chunks","id":1898,"timestamp":1671566670815,"duration":54,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize-tree","id":1899,"timestamp":1671566670899,"duration":15,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-optimize","id":1896,"timestamp":1671566670769,"duration":241,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-hash","id":1900,"timestamp":1671566673049,"duration":839,"tags":{},"startTime":1664594610576},{"traceId":"43f2de6d909a73f7","parentId":1885,"name":"webpack-compilation-seal","id":1894,"timestamp":1671566670424,"duration":5427,"tags":{},"startTime":1664594610574},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"webpack-compilation","id":1885,"timestamp":1671566641836,"duration":34047,"tags":{"name":"server"},"startTime":1664594610545},{"traceId":"43f2de6d909a73f7","parentId":1857,"name":"emit","id":1901,"timestamp":1671566675902,"duration":5388,"tags":{},"startTime":1664594610579},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1857,"timestamp":1671566324107,"duration":357911,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664594610227}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1902,"timestamp":1664594610228000,"duration":372999,"tags":{"clientId":1664594518197},"startTime":1664594610605},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1909,"timestamp":1671613362952,"duration":7766,"tags":{"request":"private-next-pages/_error"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1908,"timestamp":1671613362948,"duration":7800,"tags":{"request":"private-next-pages/_document"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1915,"name":"next-swc-transform","id":1916,"timestamp":1671613369923,"duration":1035,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1911,"name":"next-swc-loader","id":1915,"timestamp":1671613369910,"duration":1056,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1911,"timestamp":1671613369815,"duration":2886,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1917,"name":"next-swc-transform","id":1918,"timestamp":1671613369934,"duration":3091,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1912,"name":"next-swc-loader","id":1917,"timestamp":1671613369924,"duration":3105,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1912,"timestamp":1671613369855,"duration":4803,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1913,"name":"next-swc-transform","id":1914,"timestamp":1671613369909,"duration":4807,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1910,"name":"next-swc-loader","id":1913,"timestamp":1671613369877,"duration":4840,"tags":{},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"build-module-tsx","id":1910,"timestamp":1671613369633,"duration":8097,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594657273},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"add-entry","id":1907,"timestamp":1671613362909,"duration":18095,"tags":{"request":"private-next-pages/_app"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"make","id":1906,"timestamp":1671613362753,"duration":18274,"tags":{},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-chunk-graph","id":1920,"timestamp":1671613381677,"duration":514,"tags":{},"startTime":1664594657285},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-modules","id":1922,"timestamp":1671613382216,"duration":2,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-chunks","id":1923,"timestamp":1671613382230,"duration":20,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize-tree","id":1924,"timestamp":1671613382267,"duration":2,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-optimize","id":1921,"timestamp":1671613382209,"duration":113,"tags":{},"startTime":1664594657286},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-hash","id":1925,"timestamp":1671613383952,"duration":706,"tags":{},"startTime":1664594657287},{"traceId":"43f2de6d909a73f7","parentId":1905,"name":"webpack-compilation-seal","id":1919,"timestamp":1671613381415,"duration":5048,"tags":{},"startTime":1664594657285},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"webpack-compilation","id":1905,"timestamp":1671613362516,"duration":23969,"tags":{"name":"server"},"startTime":1664594657266},{"traceId":"43f2de6d909a73f7","parentId":1903,"name":"emit","id":1926,"timestamp":1671613386500,"duration":25419,"tags":{},"startTime":1664594657290},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1903,"timestamp":1671613355252,"duration":56954,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657259},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1929,"timestamp":1671613420775,"duration":15912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1934,"timestamp":1671613420835,"duration":17726,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"read-resource","id":1937,"timestamp":1671613438315,"duration":1547,"tags":{},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1947,"name":"postcss-process","id":1948,"timestamp":1671613439906,"duration":39480,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"postcss-loader","id":1947,"timestamp":1671613439893,"duration":40118,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1936,"name":"css-loader","id":1949,"timestamp":1671613480053,"duration":10546,"tags":{"astUsed":"true"},"startTime":1664594657383},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-css","id":1936,"timestamp":1671613438152,"duration":53664,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1930,"timestamp":1671613420823,"duration":71664,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1943,"name":"next-swc-transform","id":1944,"timestamp":1671613439192,"duration":53555,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1939,"name":"next-swc-loader","id":1943,"timestamp":1671613439182,"duration":53568,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1939,"timestamp":1671613439012,"duration":55286,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1945,"name":"next-swc-transform","id":1946,"timestamp":1671613439200,"duration":55135,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1940,"name":"next-swc-loader","id":1945,"timestamp":1671613439193,"duration":55144,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1940,"timestamp":1671613439048,"duration":56550,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1941,"name":"next-swc-transform","id":1942,"timestamp":1671613439178,"duration":56462,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1938,"name":"next-swc-loader","id":1941,"timestamp":1671613439135,"duration":56508,"tags":{},"startTime":1664594657343},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"build-module-tsx","id":1938,"timestamp":1671613438939,"duration":58699,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594657342},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1933,"timestamp":1671613420832,"duration":76989,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1935,"timestamp":1671613420839,"duration":86329,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1931,"timestamp":1671613420826,"duration":91273,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"add-entry","id":1932,"timestamp":1671613420829,"duration":136550,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594657324},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"make","id":1928,"timestamp":1671613416618,"duration":140789,"tags":{},"startTime":1664594657320},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-chunk-graph","id":1951,"timestamp":1671613562230,"duration":17887,"tags":{},"startTime":1664594657466},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-modules","id":1953,"timestamp":1671613580162,"duration":2,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-chunks","id":1954,"timestamp":1671613580175,"duration":65,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize-tree","id":1955,"timestamp":1671613580308,"duration":10,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-optimize","id":1952,"timestamp":1671613580150,"duration":1659,"tags":{},"startTime":1664594657484},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-hash","id":1956,"timestamp":1671613595108,"duration":5734,"tags":{},"startTime":1664594657499},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"NextJsBuildManifest-generateClientManifest","id":1958,"timestamp":1671613613487,"duration":59,"tags":{},"startTime":1664594657517},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"NextJsBuildManifest-createassets","id":1957,"timestamp":1671613613425,"duration":133,"tags":{},"startTime":1664594657517},{"traceId":"43f2de6d909a73f7","parentId":1927,"name":"webpack-compilation-seal","id":1950,"timestamp":1671613558634,"duration":56596,"tags":{},"startTime":1664594657462},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"webpack-compilation","id":1927,"timestamp":1671613416423,"duration":198830,"tags":{"name":"client"},"startTime":1664594657320},{"traceId":"43f2de6d909a73f7","parentId":1904,"name":"emit","id":1959,"timestamp":1671613615268,"duration":136480,"tags":{},"startTime":1664594657519},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1904,"timestamp":1671613355553,"duration":397829,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594657259}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":1960,"timestamp":1671613765709,"duration":0,"tags":{},"startTime":1664594657669},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":1961,"timestamp":1664594657260000,"duration":443000,"tags":{"clientId":1664594518197},"startTime":1664594657704},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1968,"timestamp":1671614205035,"duration":7047,"tags":{"request":"private-next-pages/_error"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1967,"timestamp":1671614205030,"duration":7068,"tags":{"request":"private-next-pages/_document"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1970,"name":"next-swc-transform","id":1971,"timestamp":1671614212418,"duration":11231,"tags":{},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1969,"name":"next-swc-loader","id":1970,"timestamp":1671614212336,"duration":11327,"tags":{},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"build-module-tsx","id":1969,"timestamp":1671614212195,"duration":13752,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658116},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"add-entry","id":1966,"timestamp":1671614204965,"duration":22456,"tags":{"request":"private-next-pages/_app"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"make","id":1965,"timestamp":1671614204855,"duration":22580,"tags":{},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-chunk-graph","id":1973,"timestamp":1671614227808,"duration":232,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-modules","id":1975,"timestamp":1671614228053,"duration":2,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-chunks","id":1976,"timestamp":1671614228063,"duration":22,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize-tree","id":1977,"timestamp":1671614228094,"duration":4,"tags":{},"startTime":1664594658132},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-optimize","id":1974,"timestamp":1671614228049,"duration":100,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-hash","id":1978,"timestamp":1671614228897,"duration":412,"tags":{},"startTime":1664594658132},{"traceId":"43f2de6d909a73f7","parentId":1964,"name":"webpack-compilation-seal","id":1972,"timestamp":1671614227741,"duration":1801,"tags":{},"startTime":1664594658131},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"webpack-compilation","id":1964,"timestamp":1671614204641,"duration":24923,"tags":{"name":"server"},"startTime":1664594658108},{"traceId":"43f2de6d909a73f7","parentId":1962,"name":"emit","id":1979,"timestamp":1671614229573,"duration":2803,"tags":{},"startTime":1664594658133},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":1962,"timestamp":1671614198733,"duration":33827,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658102},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1982,"timestamp":1671614237421,"duration":3104,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1983,"timestamp":1671614237454,"duration":3666,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"read-resource","id":1990,"timestamp":1671614241324,"duration":33,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1991,"name":"postcss-process","id":1992,"timestamp":1671614241383,"duration":30690,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"postcss-loader","id":1991,"timestamp":1671614241374,"duration":30973,"tags":{},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1989,"name":"css-loader","id":1993,"timestamp":1671614272378,"duration":8476,"tags":{"astUsed":"true"},"startTime":1664594658176},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"build-module-css","id":1989,"timestamp":1671614241209,"duration":40833,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594658145},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1987,"timestamp":1671614237466,"duration":46681,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1986,"timestamp":1671614237464,"duration":46708,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1988,"timestamp":1671614237469,"duration":50387,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1984,"timestamp":1671614237458,"duration":50829,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1995,"name":"next-swc-transform","id":1996,"timestamp":1671614288337,"duration":2255,"tags":{},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1994,"name":"next-swc-loader","id":1995,"timestamp":1671614288294,"duration":2304,"tags":{},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"build-module-tsx","id":1994,"timestamp":1671614288081,"duration":4530,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658192},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"add-entry","id":1985,"timestamp":1671614237461,"duration":81127,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594658141},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"make","id":1981,"timestamp":1671614236097,"duration":82512,"tags":{},"startTime":1664594658140},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-chunk-graph","id":1998,"timestamp":1671614322912,"duration":16304,"tags":{},"startTime":1664594658226},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-modules","id":2000,"timestamp":1671614339242,"duration":3,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-chunks","id":2001,"timestamp":1671614339255,"duration":37,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize-tree","id":2002,"timestamp":1671614339309,"duration":3,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-optimize","id":1999,"timestamp":1671614339234,"duration":1435,"tags":{},"startTime":1664594658243},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-hash","id":2003,"timestamp":1671614351270,"duration":3510,"tags":{},"startTime":1664594658255},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"NextJsBuildManifest-generateClientManifest","id":2005,"timestamp":1671614355570,"duration":148,"tags":{},"startTime":1664594658259},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"NextJsBuildManifest-createassets","id":2004,"timestamp":1671614355517,"duration":205,"tags":{},"startTime":1664594658259},{"traceId":"43f2de6d909a73f7","parentId":1980,"name":"webpack-compilation-seal","id":1997,"timestamp":1671614319622,"duration":37005,"tags":{},"startTime":1664594658223},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"webpack-compilation","id":1980,"timestamp":1671614235873,"duration":120778,"tags":{"name":"client"},"startTime":1664594658139},{"traceId":"43f2de6d909a73f7","parentId":1963,"name":"emit","id":2006,"timestamp":1671614356668,"duration":3673,"tags":{},"startTime":1664594658260},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":1963,"timestamp":1671614198882,"duration":162063,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594658102}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2007,"timestamp":1671614370725,"duration":0,"tags":{},"startTime":1664594658274},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2012,"timestamp":1671625466350,"duration":6367,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2013,"timestamp":1671625466444,"duration":8415,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"read-resource","id":2020,"timestamp":1671625475281,"duration":41,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2021,"name":"postcss-process","id":2022,"timestamp":1671625475366,"duration":36407,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"postcss-loader","id":2021,"timestamp":1671625475347,"duration":36784,"tags":{},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2019,"name":"css-loader","id":2023,"timestamp":1671625512165,"duration":11881,"tags":{"astUsed":"true"},"startTime":1664594669416},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"build-module-css","id":2019,"timestamp":1671625475072,"duration":56198,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594669379},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2017,"timestamp":1671625466460,"duration":65290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2016,"timestamp":1671625466457,"duration":65311,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2018,"timestamp":1671625466463,"duration":70263,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2014,"timestamp":1671625466451,"duration":70748,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2025,"name":"next-swc-transform","id":2026,"timestamp":1671625537275,"duration":2233,"tags":{},"startTime":1664594669441},{"traceId":"43f2de6d909a73f7","parentId":2024,"name":"next-swc-loader","id":2025,"timestamp":1671625537205,"duration":2308,"tags":{},"startTime":1664594669441},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"build-module-tsx","id":2024,"timestamp":1671625536983,"duration":5453,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669440},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"add-entry","id":2015,"timestamp":1671625466454,"duration":102976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594669370},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"make","id":2011,"timestamp":1671625464988,"duration":104465,"tags":{},"startTime":1664594669368},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-chunk-graph","id":2028,"timestamp":1671625574198,"duration":16755,"tags":{},"startTime":1664594669478},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-modules","id":2030,"timestamp":1671625591016,"duration":11,"tags":{},"startTime":1664594669494},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-chunks","id":2031,"timestamp":1671625591061,"duration":102,"tags":{},"startTime":1664594669495},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize-tree","id":2032,"timestamp":1671625591205,"duration":12,"tags":{},"startTime":1664594669495},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-optimize","id":2029,"timestamp":1671625590992,"duration":1891,"tags":{},"startTime":1664594669494},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-hash","id":2033,"timestamp":1671625604827,"duration":7134,"tags":{},"startTime":1664594669508},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"NextJsBuildManifest-generateClientManifest","id":2035,"timestamp":1671625622303,"duration":62,"tags":{},"startTime":1664594669526},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"NextJsBuildManifest-createassets","id":2034,"timestamp":1671625622250,"duration":124,"tags":{},"startTime":1664594669526},{"traceId":"43f2de6d909a73f7","parentId":2010,"name":"webpack-compilation-seal","id":2027,"timestamp":1671625570721,"duration":53459,"tags":{},"startTime":1664594669474},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"webpack-compilation","id":2010,"timestamp":1671625464763,"duration":159441,"tags":{"name":"client"},"startTime":1664594669368},{"traceId":"43f2de6d909a73f7","parentId":2008,"name":"emit","id":2036,"timestamp":1671625624219,"duration":92026,"tags":{},"startTime":1664594669528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2008,"timestamp":1671625449861,"duration":274765,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2042,"timestamp":1671625738649,"duration":0,"tags":{},"startTime":1664594669642},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2041,"timestamp":1671625737674,"duration":5684,"tags":{"request":"private-next-pages/_error"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2040,"timestamp":1671625737669,"duration":5698,"tags":{"request":"private-next-pages/_document"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2044,"name":"next-swc-transform","id":2045,"timestamp":1671625743680,"duration":929,"tags":{},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2043,"name":"next-swc-loader","id":2044,"timestamp":1671625743623,"duration":991,"tags":{},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"build-module-tsx","id":2043,"timestamp":1671625743496,"duration":3609,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669647},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"add-entry","id":2039,"timestamp":1671625737593,"duration":11163,"tags":{"request":"private-next-pages/_app"},"startTime":1664594669641},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"make","id":2038,"timestamp":1671625726089,"duration":22682,"tags":{},"startTime":1664594669630},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-chunk-graph","id":2047,"timestamp":1671625749077,"duration":231,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-modules","id":2049,"timestamp":1671625749317,"duration":2,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-chunks","id":2050,"timestamp":1671625749352,"duration":33,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize-tree","id":2051,"timestamp":1671625749406,"duration":13,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-optimize","id":2048,"timestamp":1671625749313,"duration":188,"tags":{},"startTime":1664594669653},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-hash","id":2052,"timestamp":1671625750956,"duration":1003,"tags":{},"startTime":1664594669654},{"traceId":"43f2de6d909a73f7","parentId":2037,"name":"webpack-compilation-seal","id":2046,"timestamp":1671625749017,"duration":3980,"tags":{},"startTime":1664594669652},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"webpack-compilation","id":2037,"timestamp":1671625725843,"duration":27176,"tags":{"name":"server"},"startTime":1664594669629},{"traceId":"43f2de6d909a73f7","parentId":2009,"name":"emit","id":2053,"timestamp":1671625753037,"duration":2686,"tags":{},"startTime":1664594669657},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2009,"timestamp":1671625450118,"duration":306299,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594669354}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2054,"timestamp":1664594669353999,"duration":313000,"tags":{"clientId":1664594518197},"startTime":1664594669679},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2059,"timestamp":1671639129200,"duration":8554,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2060,"timestamp":1671639129353,"duration":10959,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"read-resource","id":2067,"timestamp":1671639140799,"duration":84,"tags":{},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2068,"name":"postcss-process","id":2069,"timestamp":1671639141021,"duration":40501,"tags":{},"startTime":1664594683045},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"postcss-loader","id":2068,"timestamp":1671639140949,"duration":40984,"tags":{},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2066,"name":"css-loader","id":2070,"timestamp":1671639181981,"duration":12169,"tags":{"astUsed":"true"},"startTime":1664594683085},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"build-module-css","id":2066,"timestamp":1671639140507,"duration":61330,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594683044},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2064,"timestamp":1671639129371,"duration":72948,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2063,"timestamp":1671639129367,"duration":72967,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2065,"timestamp":1671639129373,"duration":78012,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2061,"timestamp":1671639129361,"duration":78532,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2072,"name":"next-swc-transform","id":2073,"timestamp":1671639208011,"duration":2284,"tags":{},"startTime":1664594683112},{"traceId":"43f2de6d909a73f7","parentId":2071,"name":"next-swc-loader","id":2072,"timestamp":1671639207900,"duration":2402,"tags":{},"startTime":1664594683111},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"build-module-tsx","id":2071,"timestamp":1671639207635,"duration":5727,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683111},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"add-entry","id":2062,"timestamp":1671639129364,"duration":110989,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594683033},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"make","id":2058,"timestamp":1671639127948,"duration":112473,"tags":{},"startTime":1664594683031},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-chunk-graph","id":2075,"timestamp":1671639245737,"duration":16928,"tags":{},"startTime":1664594683149},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-modules","id":2077,"timestamp":1671639262737,"duration":12,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-chunks","id":2078,"timestamp":1671639262782,"duration":98,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize-tree","id":2079,"timestamp":1671639262923,"duration":12,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-optimize","id":2076,"timestamp":1671639262708,"duration":1943,"tags":{},"startTime":1664594683166},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-hash","id":2080,"timestamp":1671639276309,"duration":6291,"tags":{},"startTime":1664594683180},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"NextJsBuildManifest-generateClientManifest","id":2082,"timestamp":1671639293609,"duration":186,"tags":{},"startTime":1664594683197},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"NextJsBuildManifest-createassets","id":2081,"timestamp":1671639293525,"duration":279,"tags":{},"startTime":1664594683197},{"traceId":"43f2de6d909a73f7","parentId":2057,"name":"webpack-compilation-seal","id":2074,"timestamp":1671639242009,"duration":53693,"tags":{},"startTime":1664594683146},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"webpack-compilation","id":2057,"timestamp":1671639127019,"duration":168720,"tags":{"name":"client"},"startTime":1664594683031},{"traceId":"43f2de6d909a73f7","parentId":2055,"name":"emit","id":2083,"timestamp":1671639295779,"duration":103822,"tags":{},"startTime":1664594683199},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2055,"timestamp":1671639112150,"duration":288415,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2089,"timestamp":1671639413286,"duration":0,"tags":{},"startTime":1664594683317},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2088,"timestamp":1671639412613,"duration":4604,"tags":{"request":"private-next-pages/_error"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2087,"timestamp":1671639412609,"duration":4616,"tags":{"request":"private-next-pages/_document"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2091,"name":"next-swc-transform","id":2092,"timestamp":1671639417580,"duration":2803,"tags":{},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2090,"name":"next-swc-loader","id":2091,"timestamp":1671639417511,"duration":2888,"tags":{},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"build-module-tsx","id":2090,"timestamp":1671639417356,"duration":6260,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683321},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"add-entry","id":2086,"timestamp":1671639412547,"duration":12336,"tags":{"request":"private-next-pages/_app"},"startTime":1664594683316},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"make","id":2085,"timestamp":1671639401930,"duration":22966,"tags":{},"startTime":1664594683305},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-chunk-graph","id":2094,"timestamp":1671639425285,"duration":233,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-modules","id":2096,"timestamp":1671639425527,"duration":2,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-chunks","id":2097,"timestamp":1671639425561,"duration":36,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize-tree","id":2098,"timestamp":1671639425620,"duration":13,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-optimize","id":2095,"timestamp":1671639425524,"duration":197,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-hash","id":2099,"timestamp":1671639426925,"duration":760,"tags":{},"startTime":1664594683330},{"traceId":"43f2de6d909a73f7","parentId":2084,"name":"webpack-compilation-seal","id":2093,"timestamp":1671639425201,"duration":3501,"tags":{},"startTime":1664594683329},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"webpack-compilation","id":2084,"timestamp":1671639401703,"duration":27022,"tags":{"name":"server"},"startTime":1664594683305},{"traceId":"43f2de6d909a73f7","parentId":2056,"name":"emit","id":2100,"timestamp":1671639428742,"duration":2486,"tags":{},"startTime":1664594683332},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2056,"timestamp":1671639112452,"duration":319449,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594683016}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2101,"timestamp":1664594683016000,"duration":336000,"tags":{"clientId":1664594518197},"startTime":1664594683353},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2106,"timestamp":1671657673635,"duration":4311,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2107,"timestamp":1671657673683,"duration":5009,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"read-resource","id":2114,"timestamp":1671657679051,"duration":43,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2115,"name":"postcss-process","id":2116,"timestamp":1671657679132,"duration":40012,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"postcss-loader","id":2115,"timestamp":1671657679121,"duration":40510,"tags":{},"startTime":1664594701583},{"traceId":"43f2de6d909a73f7","parentId":2113,"name":"css-loader","id":2117,"timestamp":1671657719666,"duration":12783,"tags":{"astUsed":"true"},"startTime":1664594701623},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-css","id":2113,"timestamp":1671657678809,"duration":59044,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594701582},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2111,"timestamp":1671657673696,"duration":64842,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2110,"timestamp":1671657673692,"duration":64872,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2112,"timestamp":1671657673698,"duration":69451,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2108,"timestamp":1671657673687,"duration":70317,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2124,"name":"next-swc-transform","id":2125,"timestamp":1671657744110,"duration":2401,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2119,"name":"next-swc-loader","id":2124,"timestamp":1671657744088,"duration":2432,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2119,"timestamp":1671657743695,"duration":6567,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2126,"name":"next-swc-transform","id":2127,"timestamp":1671657744120,"duration":9439,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2120,"name":"next-swc-loader","id":2126,"timestamp":1671657744111,"duration":9456,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2120,"timestamp":1671657743822,"duration":11740,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2128,"name":"next-swc-transform","id":2129,"timestamp":1671657744129,"duration":11463,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2121,"name":"next-swc-loader","id":2128,"timestamp":1671657744122,"duration":11471,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2121,"timestamp":1671657743873,"duration":13208,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2122,"name":"next-swc-transform","id":2123,"timestamp":1671657744085,"duration":13020,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2118,"name":"next-swc-loader","id":2122,"timestamp":1671657744020,"duration":13086,"tags":{},"startTime":1664594701648},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"build-module-tsx","id":2118,"timestamp":1671657743550,"duration":14859,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594701647},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"add-entry","id":2109,"timestamp":1671657673689,"duration":111434,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594701577},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"make","id":2105,"timestamp":1671657669696,"duration":115449,"tags":{},"startTime":1664594701573},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-chunk-graph","id":2131,"timestamp":1671657789755,"duration":19424,"tags":{},"startTime":1664594701693},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-modules","id":2133,"timestamp":1671657809210,"duration":2,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-chunks","id":2134,"timestamp":1671657809222,"duration":40,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize-tree","id":2135,"timestamp":1671657809282,"duration":3,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-optimize","id":2132,"timestamp":1671657809200,"duration":1342,"tags":{},"startTime":1664594701713},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-hash","id":2136,"timestamp":1671657820356,"duration":8578,"tags":{},"startTime":1664594701724},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"NextJsBuildManifest-generateClientManifest","id":2138,"timestamp":1671657841191,"duration":52,"tags":{},"startTime":1664594701745},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"NextJsBuildManifest-createassets","id":2137,"timestamp":1671657841137,"duration":116,"tags":{},"startTime":1664594701745},{"traceId":"43f2de6d909a73f7","parentId":2104,"name":"webpack-compilation-seal","id":2130,"timestamp":1671657786429,"duration":56423,"tags":{},"startTime":1664594701690},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"webpack-compilation","id":2104,"timestamp":1671657669502,"duration":173371,"tags":{"name":"client"},"startTime":1664594701573},{"traceId":"43f2de6d909a73f7","parentId":2102,"name":"emit","id":2139,"timestamp":1671657842885,"duration":88902,"tags":{},"startTime":1664594701746},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2102,"timestamp":1671657656797,"duration":275615,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701560},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2145,"timestamp":1671657953406,"duration":0,"tags":{},"startTime":1664594701857},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2144,"timestamp":1671657944735,"duration":12875,"tags":{"request":"private-next-pages/_error"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2143,"timestamp":1671657944731,"duration":12891,"tags":{"request":"private-next-pages/_document"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2150,"name":"next-swc-transform","id":2151,"timestamp":1671657957972,"duration":1018,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2146,"name":"next-swc-loader","id":2150,"timestamp":1671657957910,"duration":1086,"tags":{},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2146,"timestamp":1671657957709,"duration":2936,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2154,"name":"next-swc-transform","id":2155,"timestamp":1671657957997,"duration":2696,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2148,"name":"next-swc-loader","id":2154,"timestamp":1671657957987,"duration":2708,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2148,"timestamp":1671657957868,"duration":3636,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2152,"name":"next-swc-transform","id":2153,"timestamp":1671657957986,"duration":4005,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2147,"name":"next-swc-loader","id":2152,"timestamp":1671657957973,"duration":4021,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2147,"timestamp":1671657957832,"duration":11811,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2156,"name":"next-swc-transform","id":2157,"timestamp":1671657958009,"duration":11693,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2149,"name":"next-swc-loader","id":2156,"timestamp":1671657957999,"duration":11705,"tags":{},"startTime":1664594701862},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"build-module-tsx","id":2149,"timestamp":1671657957891,"duration":13324,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701861},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"add-entry","id":2142,"timestamp":1671657944676,"duration":30026,"tags":{"request":"private-next-pages/_app"},"startTime":1664594701848},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"make","id":2141,"timestamp":1671657933760,"duration":40960,"tags":{},"startTime":1664594701837},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-chunk-graph","id":2159,"timestamp":1671657975073,"duration":227,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-modules","id":2161,"timestamp":1671657975309,"duration":2,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-chunks","id":2162,"timestamp":1671657975319,"duration":22,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize-tree","id":2163,"timestamp":1671657975349,"duration":4,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-optimize","id":2160,"timestamp":1671657975306,"duration":97,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-hash","id":2164,"timestamp":1671657976772,"duration":417,"tags":{},"startTime":1664594701880},{"traceId":"43f2de6d909a73f7","parentId":2140,"name":"webpack-compilation-seal","id":2158,"timestamp":1671657975007,"duration":6287,"tags":{},"startTime":1664594701879},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"webpack-compilation","id":2140,"timestamp":1671657933514,"duration":47808,"tags":{"name":"server"},"startTime":1664594701837},{"traceId":"43f2de6d909a73f7","parentId":2103,"name":"emit","id":2165,"timestamp":1671657981337,"duration":1967,"tags":{},"startTime":1664594701885},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2103,"timestamp":1671657657026,"duration":326620,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594701561}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2166,"timestamp":1664594701560999,"duration":360999,"tags":{"clientId":1664594518197},"startTime":1664594701922},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2171,"timestamp":1671667432673,"duration":15085,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2172,"timestamp":1671667432779,"duration":18555,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"read-resource","id":2179,"timestamp":1671667452000,"duration":175,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2180,"name":"postcss-process","id":2181,"timestamp":1671667452235,"duration":55321,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"postcss-loader","id":2180,"timestamp":1671667452210,"duration":55820,"tags":{},"startTime":1664594711356},{"traceId":"43f2de6d909a73f7","parentId":2178,"name":"css-loader","id":2182,"timestamp":1671667508067,"duration":22206,"tags":{"astUsed":"true"},"startTime":1664594711412},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-css","id":2178,"timestamp":1671667451696,"duration":85953,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594711355},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2176,"timestamp":1671667432803,"duration":107800,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2175,"timestamp":1671667432798,"duration":107833,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2177,"timestamp":1671667432806,"duration":113157,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2173,"timestamp":1671667432786,"duration":113792,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2191,"name":"next-swc-transform","id":2192,"timestamp":1671667546685,"duration":3151,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2185,"name":"next-swc-loader","id":2191,"timestamp":1671667546675,"duration":3166,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2185,"timestamp":1671667546450,"duration":6814,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2187,"name":"next-swc-transform","id":2188,"timestamp":1671667546663,"duration":6676,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2183,"name":"next-swc-loader","id":2187,"timestamp":1671667546585,"duration":6755,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2183,"timestamp":1671667546228,"duration":8953,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2193,"name":"next-swc-transform","id":2194,"timestamp":1671667546692,"duration":8525,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2186,"name":"next-swc-loader","id":2193,"timestamp":1671667546686,"duration":8534,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2186,"timestamp":1671667546476,"duration":11208,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2189,"name":"next-swc-transform","id":2190,"timestamp":1671667546674,"duration":11049,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2184,"name":"next-swc-loader","id":2189,"timestamp":1671667546664,"duration":11060,"tags":{},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"build-module-tsx","id":2184,"timestamp":1671667546403,"duration":13389,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594711450},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"add-entry","id":2174,"timestamp":1671667432790,"duration":156091,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594711336},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"make","id":2170,"timestamp":1671667429046,"duration":159901,"tags":{},"startTime":1664594711333},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-chunk-graph","id":2196,"timestamp":1671667595570,"duration":16261,"tags":{},"startTime":1664594711499},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-modules","id":2198,"timestamp":1671667611857,"duration":14,"tags":{},"startTime":1664594711515},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-chunks","id":2199,"timestamp":1671667611903,"duration":47,"tags":{},"startTime":1664594711516},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize-tree","id":2200,"timestamp":1671667611986,"duration":14,"tags":{},"startTime":1664594711516},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-optimize","id":2197,"timestamp":1671667611849,"duration":1463,"tags":{},"startTime":1664594711515},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-hash","id":2201,"timestamp":1671667626068,"duration":6342,"tags":{},"startTime":1664594711530},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"NextJsBuildManifest-generateClientManifest","id":2203,"timestamp":1671667643231,"duration":225,"tags":{},"startTime":1664594711547},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"NextJsBuildManifest-createassets","id":2202,"timestamp":1671667643044,"duration":427,"tags":{},"startTime":1664594711547},{"traceId":"43f2de6d909a73f7","parentId":2169,"name":"webpack-compilation-seal","id":2195,"timestamp":1671667590239,"duration":55011,"tags":{},"startTime":1664594711494},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"webpack-compilation","id":2169,"timestamp":1671667428493,"duration":216783,"tags":{"name":"client"},"startTime":1664594711332},{"traceId":"43f2de6d909a73f7","parentId":2167,"name":"emit","id":2204,"timestamp":1671667645320,"duration":96651,"tags":{},"startTime":1664594711549},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2167,"timestamp":1671667408252,"duration":334695,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711312},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2210,"timestamp":1671667757785,"duration":0,"tags":{},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2209,"timestamp":1671667757123,"duration":4810,"tags":{"request":"private-next-pages/_error"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2208,"timestamp":1671667757119,"duration":4822,"tags":{"request":"private-next-pages/_document"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2221,"name":"next-swc-transform","id":2222,"timestamp":1671667762375,"duration":1099,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2214,"name":"next-swc-loader","id":2221,"timestamp":1671667762363,"duration":1126,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2214,"timestamp":1671667762245,"duration":3639,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2215,"name":"next-swc-transform","id":2216,"timestamp":1671667762332,"duration":3613,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2211,"name":"next-swc-loader","id":2215,"timestamp":1671667762268,"duration":3679,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2211,"timestamp":1671667762050,"duration":4671,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2219,"name":"next-swc-transform","id":2220,"timestamp":1671667762361,"duration":4718,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2213,"name":"next-swc-loader","id":2219,"timestamp":1671667762348,"duration":4733,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2213,"timestamp":1671667762218,"duration":5569,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2217,"name":"next-swc-transform","id":2218,"timestamp":1671667762347,"duration":5466,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2212,"name":"next-swc-loader","id":2217,"timestamp":1671667762334,"duration":5481,"tags":{},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"build-module-tsx","id":2212,"timestamp":1671667762178,"duration":8698,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594711666},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"add-entry","id":2207,"timestamp":1671667757044,"duration":17685,"tags":{"request":"private-next-pages/_app"},"startTime":1664594711661},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"make","id":2206,"timestamp":1671667744448,"duration":30299,"tags":{},"startTime":1664594711648},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-chunk-graph","id":2224,"timestamp":1671667775184,"duration":250,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-modules","id":2226,"timestamp":1671667775444,"duration":1,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-chunks","id":2227,"timestamp":1671667775453,"duration":21,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize-tree","id":2228,"timestamp":1671667775482,"duration":4,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-optimize","id":2225,"timestamp":1671667775440,"duration":99,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-hash","id":2229,"timestamp":1671667777173,"duration":782,"tags":{},"startTime":1664594711681},{"traceId":"43f2de6d909a73f7","parentId":2205,"name":"webpack-compilation-seal","id":2223,"timestamp":1671667775090,"duration":5089,"tags":{},"startTime":1664594711679},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"webpack-compilation","id":2205,"timestamp":1671667743980,"duration":36226,"tags":{"name":"server"},"startTime":1664594711648},{"traceId":"43f2de6d909a73f7","parentId":2168,"name":"emit","id":2230,"timestamp":1671667780225,"duration":5664,"tags":{},"startTime":1664594711684},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2168,"timestamp":1671667408693,"duration":378047,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594711312}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2231,"timestamp":1664594711312999,"duration":400999,"tags":{"clientId":1664594518197},"startTime":1664594711719},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2236,"timestamp":1671698154513,"duration":8526,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2241,"timestamp":1671698154576,"duration":10323,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"read-resource","id":2244,"timestamp":1671698164516,"duration":1112,"tags":{},"startTime":1664594742068},{"traceId":"43f2de6d909a73f7","parentId":2254,"name":"postcss-process","id":2255,"timestamp":1671698165698,"duration":43374,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"postcss-loader","id":2254,"timestamp":1671698165688,"duration":44397,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2243,"name":"css-loader","id":2256,"timestamp":1671698210150,"duration":13684,"tags":{"astUsed":"true"},"startTime":1664594742114},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-css","id":2243,"timestamp":1671698164116,"duration":65477,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594742068},{"traceId":"43f2de6d909a73f7","parentId":2250,"name":"next-swc-transform","id":2251,"timestamp":1671698165494,"duration":65008,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2246,"name":"next-swc-loader","id":2250,"timestamp":1671698165484,"duration":65026,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2246,"timestamp":1671698165352,"duration":67013,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2248,"name":"next-swc-transform","id":2249,"timestamp":1671698165482,"duration":66914,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2245,"name":"next-swc-loader","id":2248,"timestamp":1671698165425,"duration":66972,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2245,"timestamp":1671698165255,"duration":71041,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2252,"name":"next-swc-transform","id":2253,"timestamp":1671698165502,"duration":70842,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2247,"name":"next-swc-loader","id":2252,"timestamp":1671698165495,"duration":70852,"tags":{},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"build-module-tsx","id":2247,"timestamp":1671698165384,"duration":72329,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742069},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2237,"timestamp":1671698154563,"duration":83891,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2240,"timestamp":1671698154572,"duration":85395,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2242,"timestamp":1671698154578,"duration":92878,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2238,"timestamp":1671698154567,"duration":97783,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"add-entry","id":2239,"timestamp":1671698154569,"duration":132922,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594742058},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"make","id":2235,"timestamp":1671698153420,"duration":134101,"tags":{},"startTime":1664594742057},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-chunk-graph","id":2258,"timestamp":1671698294095,"duration":16665,"tags":{},"startTime":1664594742198},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-modules","id":2260,"timestamp":1671698310793,"duration":2,"tags":{},"startTime":1664594742214},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-chunks","id":2261,"timestamp":1671698310804,"duration":36,"tags":{},"startTime":1664594742215},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize-tree","id":2262,"timestamp":1671698310860,"duration":3,"tags":{},"startTime":1664594742215},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-optimize","id":2259,"timestamp":1671698310784,"duration":1596,"tags":{},"startTime":1664594742214},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-hash","id":2263,"timestamp":1671698325015,"duration":5784,"tags":{},"startTime":1664594742229},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"NextJsBuildManifest-generateClientManifest","id":2265,"timestamp":1671698339073,"duration":53,"tags":{},"startTime":1664594742243},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"NextJsBuildManifest-createassets","id":2264,"timestamp":1671698339019,"duration":117,"tags":{},"startTime":1664594742243},{"traceId":"43f2de6d909a73f7","parentId":2234,"name":"webpack-compilation-seal","id":2257,"timestamp":1671698288769,"duration":52132,"tags":{},"startTime":1664594742192},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"webpack-compilation","id":2234,"timestamp":1671698152846,"duration":188083,"tags":{"name":"client"},"startTime":1664594742057},{"traceId":"43f2de6d909a73f7","parentId":2233,"name":"emit","id":2266,"timestamp":1671698340948,"duration":94844,"tags":{},"startTime":1664594742245},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2233,"timestamp":1671698141284,"duration":295103,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742045},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2272,"timestamp":1671698459517,"duration":0,"tags":{},"startTime":1664594742363},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2271,"timestamp":1671698448966,"duration":16486,"tags":{"request":"private-next-pages/_error"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2270,"timestamp":1671698448961,"duration":16510,"tags":{"request":"private-next-pages/_document"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2280,"name":"next-swc-transform","id":2281,"timestamp":1671698464890,"duration":967,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2275,"name":"next-swc-loader","id":2280,"timestamp":1671698464879,"duration":981,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2275,"timestamp":1671698464757,"duration":2937,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2278,"name":"next-swc-transform","id":2279,"timestamp":1671698464878,"duration":10952,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2274,"name":"next-swc-loader","id":2278,"timestamp":1671698464864,"duration":10982,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2274,"timestamp":1671698464720,"duration":12333,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Error.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2276,"name":"next-swc-transform","id":2277,"timestamp":1671698464862,"duration":13418,"tags":{},"startTime":1664594742369},{"traceId":"43f2de6d909a73f7","parentId":2273,"name":"next-swc-loader","id":2276,"timestamp":1671698464782,"duration":13503,"tags":{},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"build-module-tsx","id":2273,"timestamp":1671698464555,"duration":15169,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742368},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"add-entry","id":2269,"timestamp":1671698448915,"duration":32440,"tags":{"request":"private-next-pages/_app"},"startTime":1664594742353},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"make","id":2268,"timestamp":1671698437708,"duration":43667,"tags":{},"startTime":1664594742341},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-chunk-graph","id":2283,"timestamp":1671698481710,"duration":232,"tags":{},"startTime":1664594742385},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-modules","id":2285,"timestamp":1671698481952,"duration":2,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-chunks","id":2286,"timestamp":1671698481962,"duration":20,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize-tree","id":2287,"timestamp":1671698481991,"duration":5,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-optimize","id":2284,"timestamp":1671698481948,"duration":98,"tags":{},"startTime":1664594742386},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-hash","id":2288,"timestamp":1671698483373,"duration":456,"tags":{},"startTime":1664594742387},{"traceId":"43f2de6d909a73f7","parentId":2267,"name":"webpack-compilation-seal","id":2282,"timestamp":1671698481647,"duration":4408,"tags":{},"startTime":1664594742385},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"webpack-compilation","id":2267,"timestamp":1671698437463,"duration":48615,"tags":{"name":"server"},"startTime":1664594742341},{"traceId":"43f2de6d909a73f7","parentId":2232,"name":"emit","id":2289,"timestamp":1671698486093,"duration":1758,"tags":{},"startTime":1664594742390},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2232,"timestamp":1671698141137,"duration":347108,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664594742045}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2290,"timestamp":1664594742052000,"duration":346000,"tags":{"clientId":1664594518197},"startTime":1664594742400},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2295,"timestamp":1671717458729,"duration":14409,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594761362},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2296,"timestamp":1671717458841,"duration":15256,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"read-resource","id":2303,"timestamp":1671717474563,"duration":64,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2304,"name":"postcss-process","id":2305,"timestamp":1671717474713,"duration":45749,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"postcss-loader","id":2304,"timestamp":1671717474692,"duration":46180,"tags":{},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2302,"name":"css-loader","id":2306,"timestamp":1671717520923,"duration":12001,"tags":{"astUsed":"true"},"startTime":1664594761425},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"build-module-css","id":2302,"timestamp":1671717474278,"duration":65283,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594761378},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2300,"timestamp":1671717458860,"duration":81977,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2299,"timestamp":1671717458856,"duration":82014,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2301,"timestamp":1671717458863,"duration":86098,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2297,"timestamp":1671717458849,"duration":86592,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2308,"name":"next-swc-transform","id":2309,"timestamp":1671717545505,"duration":3404,"tags":{},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2307,"name":"next-swc-loader","id":2308,"timestamp":1671717545447,"duration":3468,"tags":{},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"build-module-tsx","id":2307,"timestamp":1671717545234,"duration":7204,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761449},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"add-entry","id":2298,"timestamp":1671717458852,"duration":132098,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594761363},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"make","id":2294,"timestamp":1671717455900,"duration":135128,"tags":{},"startTime":1664594761360},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-chunk-graph","id":2311,"timestamp":1671717596522,"duration":19942,"tags":{},"startTime":1664594761500},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-modules","id":2313,"timestamp":1671717616521,"duration":13,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-chunks","id":2314,"timestamp":1671717616568,"duration":52,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize-tree","id":2315,"timestamp":1671717616657,"duration":12,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-optimize","id":2312,"timestamp":1671717616496,"duration":1655,"tags":{},"startTime":1664594761520},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-hash","id":2316,"timestamp":1671717633030,"duration":6365,"tags":{},"startTime":1664594761537},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"NextJsBuildManifest-generateClientManifest","id":2318,"timestamp":1671717649832,"duration":182,"tags":{},"startTime":1664594761554},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"NextJsBuildManifest-createassets","id":2317,"timestamp":1671717649751,"duration":273,"tags":{},"startTime":1664594761554},{"traceId":"43f2de6d909a73f7","parentId":2293,"name":"webpack-compilation-seal","id":2310,"timestamp":1671717592330,"duration":62170,"tags":{},"startTime":1664594761496},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"webpack-compilation","id":2293,"timestamp":1671717455006,"duration":199535,"tags":{"name":"client"},"startTime":1664594761359},{"traceId":"43f2de6d909a73f7","parentId":2291,"name":"emit","id":2319,"timestamp":1671717654588,"duration":104434,"tags":{},"startTime":1664594761558},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2291,"timestamp":1671717437590,"duration":322391,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761341},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2325,"timestamp":1671717773198,"duration":0,"tags":{},"startTime":1664594761677},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2324,"timestamp":1671717772440,"duration":5344,"tags":{"request":"private-next-pages/_error"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2323,"timestamp":1671717772433,"duration":5360,"tags":{"request":"private-next-pages/_document"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2327,"name":"next-swc-transform","id":2328,"timestamp":1671717778299,"duration":914,"tags":{},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2326,"name":"next-swc-loader","id":2327,"timestamp":1671717778229,"duration":995,"tags":{},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"build-module-tsx","id":2326,"timestamp":1671717777965,"duration":3563,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761682},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"add-entry","id":2322,"timestamp":1671717772352,"duration":11784,"tags":{"request":"private-next-pages/_app"},"startTime":1664594761676},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"make","id":2321,"timestamp":1671717761413,"duration":22745,"tags":{},"startTime":1664594761665},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-chunk-graph","id":2330,"timestamp":1671717784484,"duration":225,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-modules","id":2332,"timestamp":1671717784718,"duration":2,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-chunks","id":2333,"timestamp":1671717784754,"duration":31,"tags":{},"startTime":1664594761689},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize-tree","id":2334,"timestamp":1671717784807,"duration":13,"tags":{},"startTime":1664594761689},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-optimize","id":2331,"timestamp":1671717784715,"duration":193,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-hash","id":2335,"timestamp":1671717786024,"duration":736,"tags":{},"startTime":1664594761690},{"traceId":"43f2de6d909a73f7","parentId":2320,"name":"webpack-compilation-seal","id":2329,"timestamp":1671717784420,"duration":5011,"tags":{},"startTime":1664594761688},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"webpack-compilation","id":2320,"timestamp":1671717761148,"duration":28312,"tags":{"name":"server"},"startTime":1664594761665},{"traceId":"43f2de6d909a73f7","parentId":2292,"name":"emit","id":2336,"timestamp":1671717789476,"duration":2140,"tags":{},"startTime":1664594761693},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2292,"timestamp":1671717438184,"duration":354512,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594761342}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2337,"timestamp":1664594761345999,"duration":350000,"tags":{"clientId":1664594518197},"startTime":1664594761698},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2342,"timestamp":1671729967200,"duration":4404,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2343,"timestamp":1671729967254,"duration":5169,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"read-resource","id":2350,"timestamp":1671729972789,"duration":47,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2351,"name":"postcss-process","id":2352,"timestamp":1671729972877,"duration":33537,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"postcss-loader","id":2351,"timestamp":1671729972861,"duration":33709,"tags":{},"startTime":1664594773877},{"traceId":"43f2de6d909a73f7","parentId":2349,"name":"css-loader","id":2353,"timestamp":1671730006602,"duration":8656,"tags":{"astUsed":"true"},"startTime":1664594773910},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"build-module-css","id":2349,"timestamp":1671729972558,"duration":43928,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594773876},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2347,"timestamp":1671729967272,"duration":49686,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2346,"timestamp":1671729967269,"duration":49705,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2348,"timestamp":1671729967275,"duration":55195,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2344,"timestamp":1671729967263,"duration":55612,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2355,"name":"next-swc-transform","id":2356,"timestamp":1671730022925,"duration":2058,"tags":{},"startTime":1664594773927},{"traceId":"43f2de6d909a73f7","parentId":2354,"name":"next-swc-loader","id":2355,"timestamp":1671730022884,"duration":2105,"tags":{},"startTime":1664594773927},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"build-module-tsx","id":2354,"timestamp":1671730022677,"duration":4615,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773926},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"add-entry","id":2345,"timestamp":1671729967266,"duration":86640,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594773871},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"make","id":2341,"timestamp":1671729963792,"duration":90137,"tags":{},"startTime":1664594773868},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-chunk-graph","id":2358,"timestamp":1671730058330,"duration":17808,"tags":{},"startTime":1664594773962},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-modules","id":2360,"timestamp":1671730076168,"duration":3,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-chunks","id":2361,"timestamp":1671730076181,"duration":34,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize-tree","id":2362,"timestamp":1671730076234,"duration":3,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-optimize","id":2359,"timestamp":1671730076160,"duration":1439,"tags":{},"startTime":1664594773980},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-hash","id":2363,"timestamp":1671730087603,"duration":7487,"tags":{},"startTime":1664594773991},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"NextJsBuildManifest-generateClientManifest","id":2365,"timestamp":1671730102719,"duration":67,"tags":{},"startTime":1664594774007},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"NextJsBuildManifest-createassets","id":2364,"timestamp":1671730102650,"duration":146,"tags":{},"startTime":1664594774006},{"traceId":"43f2de6d909a73f7","parentId":2340,"name":"webpack-compilation-seal","id":2357,"timestamp":1671730055097,"duration":49938,"tags":{},"startTime":1664594773959},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"webpack-compilation","id":2340,"timestamp":1671729963535,"duration":141524,"tags":{"name":"client"},"startTime":1664594773867},{"traceId":"43f2de6d909a73f7","parentId":2338,"name":"emit","id":2366,"timestamp":1671730105079,"duration":98836,"tags":{},"startTime":1664594774009},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2338,"timestamp":1671729951415,"duration":262073,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2372,"timestamp":1671730227592,"duration":0,"tags":{},"startTime":1664594774131},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2371,"timestamp":1671730226533,"duration":5651,"tags":{"request":"private-next-pages/_error"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2370,"timestamp":1671730226527,"duration":5674,"tags":{"request":"private-next-pages/_document"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2374,"name":"next-swc-transform","id":2375,"timestamp":1671730232572,"duration":10630,"tags":{},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2373,"name":"next-swc-loader","id":2374,"timestamp":1671730232497,"duration":10720,"tags":{},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"build-module-tsx","id":2373,"timestamp":1671730232361,"duration":12863,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594774136},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"add-entry","id":2369,"timestamp":1671730226426,"duration":20469,"tags":{"request":"private-next-pages/_app"},"startTime":1664594774130},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"make","id":2368,"timestamp":1671730214903,"duration":32006,"tags":{},"startTime":1664594774119},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-chunk-graph","id":2377,"timestamp":1671730247203,"duration":245,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-modules","id":2379,"timestamp":1671730247457,"duration":2,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-chunks","id":2380,"timestamp":1671730247467,"duration":23,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize-tree","id":2381,"timestamp":1671730247500,"duration":4,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-optimize","id":2378,"timestamp":1671730247454,"duration":107,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-hash","id":2382,"timestamp":1671730248558,"duration":419,"tags":{},"startTime":1664594774152},{"traceId":"43f2de6d909a73f7","parentId":2367,"name":"webpack-compilation-seal","id":2376,"timestamp":1671730247138,"duration":2681,"tags":{},"startTime":1664594774151},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"webpack-compilation","id":2367,"timestamp":1671730214708,"duration":35133,"tags":{"name":"server"},"startTime":1664594774119},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2384,"timestamp":1664594773856999,"duration":294000,"tags":{"clientId":1664594518197},"startTime":1664594774154},{"traceId":"43f2de6d909a73f7","parentId":2339,"name":"emit","id":2383,"timestamp":1671730249853,"duration":1636,"tags":{},"startTime":1664594774154},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2339,"timestamp":1671729951651,"duration":300196,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594773855}] -[{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2388,"timestamp":1671780093090,"duration":9798,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2393,"timestamp":1671780093180,"duration":12495,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"read-resource","id":2396,"timestamp":1671780104263,"duration":3261,"tags":{},"startTime":1664594824008},{"traceId":"43f2de6d909a73f7","parentId":2397,"name":"postcss-process","id":2398,"timestamp":1671780107578,"duration":46471,"tags":{},"startTime":1664594824012},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"postcss-loader","id":2397,"timestamp":1671780107555,"duration":47018,"tags":{},"startTime":1664594824012},{"traceId":"43f2de6d909a73f7","parentId":2395,"name":"css-loader","id":2399,"timestamp":1671780154622,"duration":13146,"tags":{"astUsed":"true"},"startTime":1664594824059},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"build-module-css","id":2395,"timestamp":1671780103991,"duration":70431,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594824008},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2389,"timestamp":1671780093159,"duration":82072,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2392,"timestamp":1671780093172,"duration":82355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2390,"timestamp":1671780093164,"duration":94353,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2401,"name":"next-swc-transform","id":2402,"timestamp":1671780188609,"duration":3189,"tags":{},"startTime":1664594824093},{"traceId":"43f2de6d909a73f7","parentId":2400,"name":"next-swc-loader","id":2401,"timestamp":1671780188550,"duration":3255,"tags":{},"startTime":1664594824093},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"build-module-tsx","id":2400,"timestamp":1671780188452,"duration":7372,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664594824092},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2394,"timestamp":1671780093182,"duration":188588,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"add-entry","id":2391,"timestamp":1671780093169,"duration":233187,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594823997},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"make","id":2387,"timestamp":1671780092269,"duration":234208,"tags":{},"startTime":1664594823996},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-chunk-graph","id":2404,"timestamp":1671780331251,"duration":17661,"tags":{},"startTime":1664594824235},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-modules","id":2406,"timestamp":1671780348970,"duration":12,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-chunks","id":2407,"timestamp":1671780349015,"duration":142,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize-tree","id":2408,"timestamp":1671780349196,"duration":16,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-optimize","id":2405,"timestamp":1671780348945,"duration":1892,"tags":{},"startTime":1664594824253},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-hash","id":2409,"timestamp":1671780364294,"duration":7615,"tags":{},"startTime":1664594824268},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"NextJsBuildManifest-generateClientManifest","id":2411,"timestamp":1671780388619,"duration":246,"tags":{},"startTime":1664594824293},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"NextJsBuildManifest-createassets","id":2410,"timestamp":1671780388520,"duration":370,"tags":{},"startTime":1664594824292},{"traceId":"43f2de6d909a73f7","parentId":2386,"name":"webpack-compilation-seal","id":2403,"timestamp":1671780327919,"duration":63233,"tags":{},"startTime":1664594824232},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"webpack-compilation","id":2386,"timestamp":1671780092047,"duration":299138,"tags":{"name":"client"},"startTime":1664594823996},{"traceId":"43f2de6d909a73f7","parentId":2385,"name":"emit","id":2412,"timestamp":1671780391235,"duration":91709,"tags":{},"startTime":1664594824295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2385,"timestamp":1671780078602,"duration":405234,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664594823983}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2414,"timestamp":1671780495028,"duration":0,"tags":{},"startTime":1664594824399},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2417,"timestamp":1671780507875,"duration":4170,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2418,"timestamp":1671780507908,"duration":4994,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"read-resource","id":2425,"timestamp":1671780513156,"duration":32,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2426,"name":"postcss-process","id":2427,"timestamp":1671780513214,"duration":31194,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"postcss-loader","id":2426,"timestamp":1671780513204,"duration":31434,"tags":{},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2424,"name":"css-loader","id":2428,"timestamp":1671780544669,"duration":8309,"tags":{"astUsed":"true"},"startTime":1664594824449},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"build-module-css","id":2424,"timestamp":1671780512989,"duration":45985,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594824417},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2422,"timestamp":1671780507920,"duration":51617,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2421,"timestamp":1671780507917,"duration":51632,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2423,"timestamp":1671780507922,"duration":57253,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2419,"timestamp":1671780507912,"duration":57535,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2429,"timestamp":1664594824403000,"duration":72000,"tags":{"clientId":1664594518197},"startTime":1664594824480},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"add-entry","id":2420,"timestamp":1671780507915,"duration":85155,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594824412},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"make","id":2416,"timestamp":1671780507012,"duration":86083,"tags":{},"startTime":1664594824411},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-chunk-graph","id":2431,"timestamp":1671780597791,"duration":3568,"tags":{},"startTime":1664594824502},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-modules","id":2433,"timestamp":1671780601381,"duration":2,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-chunks","id":2434,"timestamp":1671780601458,"duration":43,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize-tree","id":2435,"timestamp":1671780601541,"duration":12,"tags":{},"startTime":1664594824506},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-optimize","id":2432,"timestamp":1671780601375,"duration":1114,"tags":{},"startTime":1664594824505},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-hash","id":2436,"timestamp":1671780614147,"duration":5908,"tags":{},"startTime":1664594824518},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"NextJsBuildManifest-generateClientManifest","id":2438,"timestamp":1671780621380,"duration":70,"tags":{},"startTime":1664594824525},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"NextJsBuildManifest-createassets","id":2437,"timestamp":1671780621315,"duration":144,"tags":{},"startTime":1664594824525},{"traceId":"43f2de6d909a73f7","parentId":2415,"name":"webpack-compilation-seal","id":2430,"timestamp":1671780594252,"duration":28525,"tags":{},"startTime":1664594824498},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"webpack-compilation","id":2415,"timestamp":1671780506835,"duration":115968,"tags":{"name":"client"},"startTime":1664594824411},{"traceId":"43f2de6d909a73f7","parentId":2413,"name":"emit","id":2439,"timestamp":1671780622821,"duration":2115,"tags":{},"startTime":1664594824527},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2413,"timestamp":1671780494326,"duration":131210,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages"},"startTime":1664594824398}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2440,"timestamp":1671780638185,"duration":0,"tags":{},"startTime":1664594824542},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2447,"timestamp":1671813367104,"duration":18226,"tags":{"request":"private-next-pages/_error"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2446,"timestamp":1671813367095,"duration":18254,"tags":{"request":"private-next-pages/_document"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2449,"name":"next-swc-transform","id":2450,"timestamp":1671813384452,"duration":1075,"tags":{},"startTime":1664594857289},{"traceId":"43f2de6d909a73f7","parentId":2448,"name":"next-swc-loader","id":2449,"timestamp":1671813384194,"duration":1335,"tags":{},"startTime":1664594857288},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"build-module-tsx","id":2448,"timestamp":1671813383950,"duration":4127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857288},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"add-entry","id":2445,"timestamp":1671813367053,"duration":26432,"tags":{"request":"private-next-pages/_app"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"make","id":2444,"timestamp":1671813366872,"duration":26633,"tags":{},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-chunk-graph","id":2452,"timestamp":1671813393917,"duration":291,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-modules","id":2454,"timestamp":1671813394222,"duration":2,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-chunks","id":2455,"timestamp":1671813394299,"duration":24,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize-tree","id":2456,"timestamp":1671813394334,"duration":3,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-optimize","id":2453,"timestamp":1671813394217,"duration":187,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-hash","id":2457,"timestamp":1671813396700,"duration":931,"tags":{},"startTime":1664594857301},{"traceId":"43f2de6d909a73f7","parentId":2443,"name":"webpack-compilation-seal","id":2451,"timestamp":1671813393838,"duration":9266,"tags":{},"startTime":1664594857298},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"webpack-compilation","id":2443,"timestamp":1671813366681,"duration":36448,"tags":{"name":"server"},"startTime":1664594857271},{"traceId":"43f2de6d909a73f7","parentId":2441,"name":"emit","id":2458,"timestamp":1671813403145,"duration":1925,"tags":{},"startTime":1664594857307},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2441,"timestamp":1671813359130,"duration":46237,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857263},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2461,"timestamp":1671813416112,"duration":13613,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2462,"timestamp":1671813416148,"duration":14982,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"read-resource","id":2469,"timestamp":1671813431398,"duration":63,"tags":{},"startTime":1664594857335},{"traceId":"43f2de6d909a73f7","parentId":2470,"name":"postcss-process","id":2471,"timestamp":1671813431495,"duration":40134,"tags":{},"startTime":1664594857336},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"postcss-loader","id":2470,"timestamp":1671813431484,"duration":40290,"tags":{},"startTime":1664594857336},{"traceId":"43f2de6d909a73f7","parentId":2468,"name":"css-loader","id":2472,"timestamp":1671813471807,"duration":10679,"tags":{"astUsed":"true"},"startTime":1664594857376},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"build-module-css","id":2468,"timestamp":1671813431274,"duration":52261,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594857335},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2466,"timestamp":1671813416172,"duration":75131,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2465,"timestamp":1671813416168,"duration":75167,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2467,"timestamp":1671813416207,"duration":79142,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2463,"timestamp":1671813416157,"duration":80032,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2474,"name":"next-swc-transform","id":2475,"timestamp":1671813496373,"duration":3422,"tags":{},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2473,"name":"next-swc-loader","id":2474,"timestamp":1671813496198,"duration":3608,"tags":{},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"build-module-tsx","id":2473,"timestamp":1671813495951,"duration":6494,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857400},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"add-entry","id":2464,"timestamp":1671813416164,"duration":120130,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594857320},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"make","id":2460,"timestamp":1671813411434,"duration":124910,"tags":{},"startTime":1664594857316},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-chunk-graph","id":2477,"timestamp":1671813548190,"duration":3943,"tags":{},"startTime":1664594857452},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-modules","id":2479,"timestamp":1671813552164,"duration":2,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-chunks","id":2480,"timestamp":1671813552179,"duration":45,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize-tree","id":2481,"timestamp":1671813552262,"duration":6,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-optimize","id":2478,"timestamp":1671813552157,"duration":1752,"tags":{},"startTime":1664594857456},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-hash","id":2482,"timestamp":1671813564018,"duration":6370,"tags":{},"startTime":1664594857468},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"NextJsBuildManifest-generateClientManifest","id":2484,"timestamp":1671813584105,"duration":78,"tags":{},"startTime":1664594857488},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"NextJsBuildManifest-createassets","id":2483,"timestamp":1671813584041,"duration":152,"tags":{},"startTime":1664594857488},{"traceId":"43f2de6d909a73f7","parentId":2459,"name":"webpack-compilation-seal","id":2476,"timestamp":1671813537685,"duration":51962,"tags":{},"startTime":1664594857442},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"webpack-compilation","id":2459,"timestamp":1671813411128,"duration":178565,"tags":{"name":"client"},"startTime":1664594857315},{"traceId":"43f2de6d909a73f7","parentId":2442,"name":"emit","id":2485,"timestamp":1671813589724,"duration":98065,"tags":{},"startTime":1664594857494},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2442,"timestamp":1671813359319,"duration":329186,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594857263}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2486,"timestamp":1671813698900,"duration":0,"tags":{},"startTime":1664594857603},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2487,"timestamp":1664594857264000,"duration":353999,"tags":{"clientId":1664594518197},"startTime":1664594857619},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2492,"timestamp":1671830891423,"duration":8163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2493,"timestamp":1671830891516,"duration":8741,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"read-resource","id":2500,"timestamp":1671830900604,"duration":43,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2501,"name":"postcss-process","id":2502,"timestamp":1671830900683,"duration":35343,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"postcss-loader","id":2501,"timestamp":1671830900667,"duration":35820,"tags":{},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2499,"name":"css-loader","id":2503,"timestamp":1671830936528,"duration":13034,"tags":{"astUsed":"true"},"startTime":1664594874841},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"build-module-css","id":2499,"timestamp":1671830900432,"duration":56359,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594874805},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2497,"timestamp":1671830891533,"duration":65721,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2496,"timestamp":1671830891530,"duration":65741,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2498,"timestamp":1671830891536,"duration":71061,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2494,"timestamp":1671830891522,"duration":71646,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2505,"name":"next-swc-transform","id":2506,"timestamp":1671830963248,"duration":7683,"tags":{},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2504,"name":"next-swc-loader","id":2505,"timestamp":1671830963174,"duration":7767,"tags":{},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"build-module-tsx","id":2504,"timestamp":1671830962928,"duration":11005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874867},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"add-entry","id":2495,"timestamp":1671830891526,"duration":112121,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594874796},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"make","id":2491,"timestamp":1671830890162,"duration":113520,"tags":{},"startTime":1664594874794},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-chunk-graph","id":2508,"timestamp":1671831008781,"duration":17656,"tags":{},"startTime":1664594874913},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-modules","id":2510,"timestamp":1671831026496,"duration":11,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-chunks","id":2511,"timestamp":1671831026538,"duration":207,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize-tree","id":2512,"timestamp":1671831026809,"duration":16,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-optimize","id":2509,"timestamp":1671831026471,"duration":2317,"tags":{},"startTime":1664594874931},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-hash","id":2513,"timestamp":1671831042486,"duration":8172,"tags":{},"startTime":1664594874947},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"NextJsBuildManifest-generateClientManifest","id":2515,"timestamp":1671831065046,"duration":66,"tags":{},"startTime":1664594874969},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"NextJsBuildManifest-createassets","id":2514,"timestamp":1671831064985,"duration":138,"tags":{},"startTime":1664594874969},{"traceId":"43f2de6d909a73f7","parentId":2490,"name":"webpack-compilation-seal","id":2507,"timestamp":1671831005315,"duration":61667,"tags":{},"startTime":1664594874909},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"webpack-compilation","id":2490,"timestamp":1671830889788,"duration":177225,"tags":{"name":"client"},"startTime":1664594874794},{"traceId":"43f2de6d909a73f7","parentId":2488,"name":"emit","id":2516,"timestamp":1671831067034,"duration":101801,"tags":{},"startTime":1664594874971},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2488,"timestamp":1671830874468,"duration":295328,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874779},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2522,"timestamp":1671831182220,"duration":0,"tags":{},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2521,"timestamp":1671831181433,"duration":5589,"tags":{"request":"private-next-pages/_error"},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2520,"timestamp":1671831181429,"duration":5603,"tags":{"request":"private-next-pages/_document"},"startTime":1664594875086},{"traceId":"43f2de6d909a73f7","parentId":2524,"name":"next-swc-transform","id":2525,"timestamp":1671831187351,"duration":3975,"tags":{},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2523,"name":"next-swc-loader","id":2524,"timestamp":1671831187288,"duration":4049,"tags":{},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"build-module-tsx","id":2523,"timestamp":1671831187150,"duration":6476,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594875091},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"add-entry","id":2519,"timestamp":1671831181343,"duration":14830,"tags":{"request":"private-next-pages/_app"},"startTime":1664594875085},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"make","id":2518,"timestamp":1671831171115,"duration":25071,"tags":{},"startTime":1664594875075},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-chunk-graph","id":2527,"timestamp":1671831196653,"duration":288,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-modules","id":2529,"timestamp":1671831196958,"duration":2,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-chunks","id":2530,"timestamp":1671831197005,"duration":40,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize-tree","id":2531,"timestamp":1671831197077,"duration":17,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-optimize","id":2528,"timestamp":1671831196954,"duration":232,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-hash","id":2532,"timestamp":1671831198516,"duration":728,"tags":{},"startTime":1664594875103},{"traceId":"43f2de6d909a73f7","parentId":2517,"name":"webpack-compilation-seal","id":2526,"timestamp":1671831196577,"duration":3581,"tags":{},"startTime":1664594875101},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"webpack-compilation","id":2517,"timestamp":1671831170693,"duration":29483,"tags":{"name":"server"},"startTime":1664594875075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2534,"timestamp":1664594874779000,"duration":323000,"tags":{"clientId":1664594518197},"startTime":1664594875105},{"traceId":"43f2de6d909a73f7","parentId":2489,"name":"emit","id":2533,"timestamp":1671831200191,"duration":1568,"tags":{},"startTime":1664594875104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2489,"timestamp":1671830874760,"duration":327673,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664594874779}] -[{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2539,"timestamp":1671864841866,"duration":6075,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2544,"timestamp":1671864841941,"duration":7426,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"read-resource","id":2547,"timestamp":1671864849086,"duration":1206,"tags":{},"startTime":1664594908753},{"traceId":"43f2de6d909a73f7","parentId":2551,"name":"postcss-process","id":2552,"timestamp":1671864850334,"duration":36241,"tags":{},"startTime":1664594908755},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"postcss-loader","id":2551,"timestamp":1671864850322,"duration":36619,"tags":{},"startTime":1664594908755},{"traceId":"43f2de6d909a73f7","parentId":2546,"name":"css-loader","id":2553,"timestamp":1671864886967,"duration":10851,"tags":{"astUsed":"true"},"startTime":1664594908791},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"build-module-css","id":2546,"timestamp":1671864848831,"duration":50591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594908753},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2540,"timestamp":1671864841926,"duration":58282,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2549,"name":"next-swc-transform","id":2550,"timestamp":1671864849880,"duration":50578,"tags":{},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2548,"name":"next-swc-loader","id":2549,"timestamp":1671864849835,"duration":50634,"tags":{},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"build-module-tsx","id":2548,"timestamp":1671864849747,"duration":53528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908754},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2543,"timestamp":1671864841937,"duration":62001,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2545,"timestamp":1671864841943,"duration":68953,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2541,"timestamp":1671864841931,"duration":75088,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"add-entry","id":2542,"timestamp":1671864841934,"duration":115635,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594908746},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"make","id":2538,"timestamp":1671864840610,"duration":116982,"tags":{},"startTime":1664594908745},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-chunk-graph","id":2555,"timestamp":1671864962654,"duration":19203,"tags":{},"startTime":1664594908867},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-modules","id":2557,"timestamp":1671864981895,"duration":3,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-chunks","id":2558,"timestamp":1671864981910,"duration":45,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize-tree","id":2559,"timestamp":1671864981983,"duration":4,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-optimize","id":2556,"timestamp":1671864981885,"duration":1773,"tags":{},"startTime":1664594908886},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-hash","id":2560,"timestamp":1671864996902,"duration":6681,"tags":{},"startTime":1664594908901},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"NextJsBuildManifest-generateClientManifest","id":2562,"timestamp":1671865014945,"duration":58,"tags":{},"startTime":1664594908919},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"NextJsBuildManifest-createassets","id":2561,"timestamp":1671865014877,"duration":134,"tags":{},"startTime":1664594908919},{"traceId":"43f2de6d909a73f7","parentId":2537,"name":"webpack-compilation-seal","id":2554,"timestamp":1671864958843,"duration":58092,"tags":{},"startTime":1664594908863},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"webpack-compilation","id":2537,"timestamp":1671864840416,"duration":176546,"tags":{"name":"client"},"startTime":1664594908745},{"traceId":"43f2de6d909a73f7","parentId":2535,"name":"emit","id":2563,"timestamp":1671865016985,"duration":90044,"tags":{},"startTime":1664594908921},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2535,"timestamp":1671864829217,"duration":278425,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908733},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2569,"timestamp":1671865132876,"duration":0,"tags":{},"startTime":1664594909037},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2568,"timestamp":1671865120377,"duration":16726,"tags":{"request":"private-next-pages/_error"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2567,"timestamp":1671865120372,"duration":16742,"tags":{"request":"private-next-pages/_document"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2571,"name":"next-swc-transform","id":2572,"timestamp":1671865137428,"duration":957,"tags":{},"startTime":1664594909042},{"traceId":"43f2de6d909a73f7","parentId":2570,"name":"next-swc-loader","id":2571,"timestamp":1671865137352,"duration":1038,"tags":{},"startTime":1664594909042},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"build-module-tsx","id":2570,"timestamp":1671865137240,"duration":3389,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594909041},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"add-entry","id":2566,"timestamp":1671865120314,"duration":21773,"tags":{"request":"private-next-pages/_app"},"startTime":1664594909025},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"make","id":2565,"timestamp":1671865108958,"duration":33148,"tags":{},"startTime":1664594909013},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-chunk-graph","id":2574,"timestamp":1671865142431,"duration":254,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-modules","id":2576,"timestamp":1671865142695,"duration":2,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-chunks","id":2577,"timestamp":1671865142707,"duration":27,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize-tree","id":2578,"timestamp":1671865142745,"duration":5,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-optimize","id":2575,"timestamp":1671865142692,"duration":117,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-hash","id":2579,"timestamp":1671865143798,"duration":462,"tags":{},"startTime":1664594909048},{"traceId":"43f2de6d909a73f7","parentId":2564,"name":"webpack-compilation-seal","id":2573,"timestamp":1671865142364,"duration":3058,"tags":{},"startTime":1664594909047},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"webpack-compilation","id":2564,"timestamp":1671865108696,"duration":36746,"tags":{"name":"server"},"startTime":1664594909013},{"traceId":"43f2de6d909a73f7","parentId":2536,"name":"emit","id":2580,"timestamp":1671865145457,"duration":2352,"tags":{},"startTime":1664594909050},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2536,"timestamp":1671864829444,"duration":318721,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/NotExist.tsx"},"startTime":1664594908734}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2581,"timestamp":1664594908734000,"duration":324999,"tags":{"clientId":1664594518197},"startTime":1664594909062},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2586,"timestamp":1671901211713,"duration":9816,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2587,"timestamp":1671901211797,"duration":11308,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"read-resource","id":2594,"timestamp":1671901223751,"duration":74,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2595,"name":"postcss-process","id":2596,"timestamp":1671901223918,"duration":48160,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"postcss-loader","id":2595,"timestamp":1671901223893,"duration":48626,"tags":{},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2593,"name":"css-loader","id":2597,"timestamp":1671901272568,"duration":12639,"tags":{"astUsed":"true"},"startTime":1664594945177},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"build-module-css","id":2593,"timestamp":1671901223435,"duration":69753,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594945128},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2591,"timestamp":1671901211813,"duration":81908,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2590,"timestamp":1671901211810,"duration":81929,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2592,"timestamp":1671901211815,"duration":86788,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2588,"timestamp":1671901211802,"duration":87298,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2599,"name":"next-swc-transform","id":2600,"timestamp":1671901299169,"duration":3163,"tags":{},"startTime":1664594945204},{"traceId":"43f2de6d909a73f7","parentId":2598,"name":"next-swc-loader","id":2599,"timestamp":1671901299106,"duration":3231,"tags":{},"startTime":1664594945203},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"build-module-tsx","id":2598,"timestamp":1671901298856,"duration":6629,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945203},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"add-entry","id":2589,"timestamp":1671901211806,"duration":316176,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594945116},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"make","id":2585,"timestamp":1671901210662,"duration":317407,"tags":{},"startTime":1664594945115},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-chunk-graph","id":2602,"timestamp":1671901540042,"duration":19086,"tags":{},"startTime":1664594945444},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-modules","id":2604,"timestamp":1671901559222,"duration":12,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-chunks","id":2605,"timestamp":1671901559270,"duration":153,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize-tree","id":2606,"timestamp":1671901559464,"duration":15,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-optimize","id":2603,"timestamp":1671901559195,"duration":1859,"tags":{},"startTime":1664594945464},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-hash","id":2607,"timestamp":1671901574259,"duration":8845,"tags":{},"startTime":1664594945479},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"NextJsBuildManifest-generateClientManifest","id":2609,"timestamp":1671901593748,"duration":207,"tags":{},"startTime":1664594945498},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"NextJsBuildManifest-createassets","id":2608,"timestamp":1671901593656,"duration":309,"tags":{},"startTime":1664594945498},{"traceId":"43f2de6d909a73f7","parentId":2584,"name":"webpack-compilation-seal","id":2601,"timestamp":1671901530113,"duration":66414,"tags":{},"startTime":1664594945434},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"webpack-compilation","id":2584,"timestamp":1671901209994,"duration":386570,"tags":{"name":"client"},"startTime":1664594945114},{"traceId":"43f2de6d909a73f7","parentId":2582,"name":"emit","id":2610,"timestamp":1671901596617,"duration":125916,"tags":{},"startTime":1664594945501},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2582,"timestamp":1671901196699,"duration":526795,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945101},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2616,"timestamp":1671901742065,"duration":0,"tags":{},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2615,"timestamp":1671901741344,"duration":7797,"tags":{"request":"private-next-pages/_error"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2614,"timestamp":1671901741339,"duration":7815,"tags":{"request":"private-next-pages/_document"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2618,"name":"next-swc-transform","id":2619,"timestamp":1671901748565,"duration":3885,"tags":{},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2617,"name":"next-swc-loader","id":2618,"timestamp":1671901748500,"duration":3966,"tags":{},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"build-module-tsx","id":2617,"timestamp":1671901748366,"duration":7313,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945653},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"add-entry","id":2613,"timestamp":1671901741261,"duration":24727,"tags":{"request":"private-next-pages/_app"},"startTime":1664594945646},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"make","id":2612,"timestamp":1671901725391,"duration":40622,"tags":{},"startTime":1664594945630},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-chunk-graph","id":2621,"timestamp":1671901766444,"duration":256,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-modules","id":2623,"timestamp":1671901766709,"duration":2,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-chunks","id":2624,"timestamp":1671901766745,"duration":32,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize-tree","id":2625,"timestamp":1671901766800,"duration":14,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-optimize","id":2622,"timestamp":1671901766706,"duration":195,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-hash","id":2626,"timestamp":1671901768154,"duration":998,"tags":{},"startTime":1664594945673},{"traceId":"43f2de6d909a73f7","parentId":2611,"name":"webpack-compilation-seal","id":2620,"timestamp":1671901766369,"duration":4061,"tags":{},"startTime":1664594945671},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"webpack-compilation","id":2611,"timestamp":1671901725113,"duration":45346,"tags":{"name":"server"},"startTime":1664594945629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2628,"timestamp":1664594945102000,"duration":568999,"tags":{"clientId":1664594518197},"startTime":1664594945678},{"traceId":"43f2de6d909a73f7","parentId":2583,"name":"emit","id":2627,"timestamp":1671901770479,"duration":3919,"tags":{},"startTime":1664594945675},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2583,"timestamp":1671901197035,"duration":578022,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594945101}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2629,"timestamp":1671942824943,"duration":0,"tags":{},"startTime":1664594986729},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2636,"timestamp":1671948632011,"duration":15595,"tags":{"request":"private-next-pages/_error"},"startTime":1664594992537},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2635,"timestamp":1671948631994,"duration":15629,"tags":{"request":"private-next-pages/_document"},"startTime":1664594992537},{"traceId":"43f2de6d909a73f7","parentId":2638,"name":"next-swc-transform","id":2639,"timestamp":1671948648295,"duration":2861,"tags":{},"startTime":1664594992553},{"traceId":"43f2de6d909a73f7","parentId":2637,"name":"next-swc-loader","id":2638,"timestamp":1671948648138,"duration":3029,"tags":{},"startTime":1664594992553},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"build-module-tsx","id":2637,"timestamp":1671948647858,"duration":8071,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992552},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"add-entry","id":2634,"timestamp":1671948631756,"duration":26945,"tags":{"request":"private-next-pages/_app"},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"make","id":2633,"timestamp":1671948631626,"duration":27094,"tags":{},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-chunk-graph","id":2641,"timestamp":1671948659365,"duration":286,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-modules","id":2643,"timestamp":1671948659680,"duration":10,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-chunks","id":2644,"timestamp":1671948659728,"duration":37,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize-tree","id":2645,"timestamp":1671948659791,"duration":19,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-optimize","id":2642,"timestamp":1671948659665,"duration":241,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-hash","id":2646,"timestamp":1671948662064,"duration":868,"tags":{},"startTime":1664594992567},{"traceId":"43f2de6d909a73f7","parentId":2632,"name":"webpack-compilation-seal","id":2640,"timestamp":1671948659262,"duration":4920,"tags":{},"startTime":1664594992564},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"webpack-compilation","id":2632,"timestamp":1671948631349,"duration":32863,"tags":{"name":"server"},"startTime":1664594992536},{"traceId":"43f2de6d909a73f7","parentId":2630,"name":"emit","id":2647,"timestamp":1671948664232,"duration":2421,"tags":{},"startTime":1664594992569},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2630,"timestamp":1671948623947,"duration":43124,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992528},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2650,"timestamp":1671948677351,"duration":8499,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2655,"timestamp":1671948677406,"duration":9706,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"read-resource","id":2658,"timestamp":1671948686901,"duration":2136,"tags":{},"startTime":1664594992591},{"traceId":"43f2de6d909a73f7","parentId":2662,"name":"postcss-process","id":2663,"timestamp":1671948689133,"duration":41703,"tags":{},"startTime":1664594992594},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"postcss-loader","id":2662,"timestamp":1671948689121,"duration":42215,"tags":{},"startTime":1664594992594},{"traceId":"43f2de6d909a73f7","parentId":2657,"name":"css-loader","id":2664,"timestamp":1671948731388,"duration":13835,"tags":{"astUsed":"true"},"startTime":1664594992636},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"build-module-css","id":2657,"timestamp":1671948686681,"duration":64159,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664594992591},{"traceId":"43f2de6d909a73f7","parentId":2660,"name":"next-swc-transform","id":2661,"timestamp":1671948688519,"duration":63169,"tags":{},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2659,"name":"next-swc-loader","id":2660,"timestamp":1671948688476,"duration":63214,"tags":{},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"build-module-tsx","id":2659,"timestamp":1671948688322,"duration":65761,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992593},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2651,"timestamp":1671948677391,"duration":77891,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2654,"timestamp":1671948677403,"duration":78250,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2656,"timestamp":1671948677409,"duration":83039,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2652,"timestamp":1671948677395,"duration":89707,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"add-entry","id":2653,"timestamp":1671948677400,"duration":122290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664594992582},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"make","id":2649,"timestamp":1671948674623,"duration":125134,"tags":{},"startTime":1664594992579},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-chunk-graph","id":2666,"timestamp":1671948808270,"duration":17570,"tags":{},"startTime":1664594992713},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-modules","id":2668,"timestamp":1671948825870,"duration":2,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-chunks","id":2669,"timestamp":1671948825967,"duration":130,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize-tree","id":2670,"timestamp":1671948826144,"duration":13,"tags":{},"startTime":1664594992731},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-optimize","id":2667,"timestamp":1671948825861,"duration":1819,"tags":{},"startTime":1664594992730},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-hash","id":2671,"timestamp":1671948841555,"duration":7226,"tags":{},"startTime":1664594992746},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"NextJsBuildManifest-generateClientManifest","id":2673,"timestamp":1671948863134,"duration":200,"tags":{},"startTime":1664594992768},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"NextJsBuildManifest-createassets","id":2672,"timestamp":1671948863042,"duration":301,"tags":{},"startTime":1664594992768},{"traceId":"43f2de6d909a73f7","parentId":2648,"name":"webpack-compilation-seal","id":2665,"timestamp":1671948800987,"duration":64467,"tags":{},"startTime":1664594992706},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"webpack-compilation","id":2648,"timestamp":1671948673966,"duration":191524,"tags":{"name":"client"},"startTime":1664594992578},{"traceId":"43f2de6d909a73f7","parentId":2631,"name":"emit","id":2674,"timestamp":1671948865547,"duration":144551,"tags":{},"startTime":1664594992770},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2631,"timestamp":1671948624192,"duration":387232,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664594992529}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2675,"timestamp":1671949028667,"duration":0,"tags":{},"startTime":1664594992933},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2676,"timestamp":1664594992529999,"duration":429000,"tags":{"clientId":1664594518197},"startTime":1664594992960},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2681,"timestamp":1671981379618,"duration":4472,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2682,"timestamp":1671981379704,"duration":5382,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"read-resource","id":2689,"timestamp":1671981385456,"duration":39,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2690,"name":"postcss-process","id":2691,"timestamp":1671981385532,"duration":40849,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"postcss-loader","id":2690,"timestamp":1671981385515,"duration":41264,"tags":{},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2688,"name":"css-loader","id":2692,"timestamp":1671981426820,"duration":14755,"tags":{"astUsed":"true"},"startTime":1664595025331},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"build-module-css","id":2688,"timestamp":1671981385226,"duration":62452,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595025290},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2686,"timestamp":1671981379719,"duration":68424,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2685,"timestamp":1671981379715,"duration":68440,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2687,"timestamp":1671981379721,"duration":74464,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2683,"timestamp":1671981379709,"duration":74946,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2694,"name":"next-swc-transform","id":2695,"timestamp":1671981454730,"duration":2505,"tags":{},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2693,"name":"next-swc-loader","id":2694,"timestamp":1671981454662,"duration":2580,"tags":{},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"build-module-tsx","id":2693,"timestamp":1671981454462,"duration":5600,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025359},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"add-entry","id":2684,"timestamp":1671981379712,"duration":114110,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595025284},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"make","id":2680,"timestamp":1671981377744,"duration":116103,"tags":{},"startTime":1664595025282},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-chunk-graph","id":2697,"timestamp":1671981500476,"duration":18679,"tags":{},"startTime":1664595025405},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-modules","id":2699,"timestamp":1671981519199,"duration":4,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-chunks","id":2700,"timestamp":1671981519214,"duration":221,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize-tree","id":2701,"timestamp":1671981519467,"duration":4,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-optimize","id":2698,"timestamp":1671981519187,"duration":2129,"tags":{},"startTime":1664595025424},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-hash","id":2702,"timestamp":1671981533886,"duration":8656,"tags":{},"startTime":1664595025439},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"NextJsBuildManifest-generateClientManifest","id":2704,"timestamp":1671981554957,"duration":65,"tags":{},"startTime":1664595025460},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"NextJsBuildManifest-createassets","id":2703,"timestamp":1671981554887,"duration":145,"tags":{},"startTime":1664595025460},{"traceId":"43f2de6d909a73f7","parentId":2679,"name":"webpack-compilation-seal","id":2696,"timestamp":1671981495238,"duration":61822,"tags":{},"startTime":1664595025400},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"webpack-compilation","id":2679,"timestamp":1671981377463,"duration":179627,"tags":{"name":"client"},"startTime":1664595025282},{"traceId":"43f2de6d909a73f7","parentId":2677,"name":"emit","id":2705,"timestamp":1671981557110,"duration":101205,"tags":{},"startTime":1664595025462},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2677,"timestamp":1671981364986,"duration":293914,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025270},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2711,"timestamp":1671981684542,"duration":0,"tags":{},"startTime":1664595025589},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2710,"timestamp":1671981673310,"duration":18649,"tags":{"request":"private-next-pages/_error"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2709,"timestamp":1671981673305,"duration":18670,"tags":{"request":"private-next-pages/_document"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2713,"name":"next-swc-transform","id":2714,"timestamp":1671981691091,"duration":1376,"tags":{},"startTime":1664595025596},{"traceId":"43f2de6d909a73f7","parentId":2712,"name":"next-swc-loader","id":2713,"timestamp":1671981691015,"duration":1455,"tags":{},"startTime":1664595025596},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"build-module-tsx","id":2712,"timestamp":1671981690836,"duration":4062,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025595},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2715,"timestamp":1664595025271000,"duration":327000,"tags":{"clientId":1664594518197},"startTime":1664595025600},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"add-entry","id":2708,"timestamp":1671981673255,"duration":24909,"tags":{"request":"private-next-pages/_app"},"startTime":1664595025578},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"make","id":2707,"timestamp":1671981660780,"duration":37406,"tags":{},"startTime":1664595025565},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-chunk-graph","id":2717,"timestamp":1671981698592,"duration":245,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-modules","id":2719,"timestamp":1671981698847,"duration":2,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-chunks","id":2720,"timestamp":1671981698857,"duration":23,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize-tree","id":2721,"timestamp":1671981698912,"duration":6,"tags":{},"startTime":1664595025604},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-optimize","id":2718,"timestamp":1671981698843,"duration":128,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-hash","id":2722,"timestamp":1671981699967,"duration":413,"tags":{},"startTime":1664595025605},{"traceId":"43f2de6d909a73f7","parentId":2706,"name":"webpack-compilation-seal","id":2716,"timestamp":1671981698519,"duration":2627,"tags":{},"startTime":1664595025603},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"webpack-compilation","id":2706,"timestamp":1671981660375,"duration":40789,"tags":{"name":"server"},"startTime":1664595025565},{"traceId":"43f2de6d909a73f7","parentId":2678,"name":"emit","id":2723,"timestamp":1671981701176,"duration":2258,"tags":{},"startTime":1664595025606},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2678,"timestamp":1671981365347,"duration":338506,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595025270}] -[{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2730,"timestamp":1671997024165,"duration":13161,"tags":{"request":"private-next-pages/_error"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2729,"timestamp":1671997024159,"duration":13193,"tags":{"request":"private-next-pages/_document"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2732,"name":"next-swc-transform","id":2733,"timestamp":1671997037794,"duration":2136,"tags":{},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2731,"name":"next-swc-loader","id":2732,"timestamp":1671997037686,"duration":2254,"tags":{},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"build-module-tsx","id":2731,"timestamp":1671997037491,"duration":13632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040942},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"add-entry","id":2728,"timestamp":1671997024051,"duration":30461,"tags":{"request":"private-next-pages/_app"},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"make","id":2727,"timestamp":1671997023876,"duration":30654,"tags":{},"startTime":1664595040929},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-chunk-graph","id":2735,"timestamp":1671997055114,"duration":312,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-modules","id":2737,"timestamp":1671997055461,"duration":14,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-chunks","id":2738,"timestamp":1671997055505,"duration":38,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize-tree","id":2739,"timestamp":1671997055575,"duration":15,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-optimize","id":2736,"timestamp":1671997055446,"duration":238,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-hash","id":2740,"timestamp":1671997057159,"duration":632,"tags":{},"startTime":1664595040962},{"traceId":"43f2de6d909a73f7","parentId":2726,"name":"webpack-compilation-seal","id":2734,"timestamp":1671997054891,"duration":4057,"tags":{},"startTime":1664595040960},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"webpack-compilation","id":2726,"timestamp":1671997023627,"duration":35350,"tags":{"name":"server"},"startTime":1664595040928},{"traceId":"43f2de6d909a73f7","parentId":2724,"name":"emit","id":2741,"timestamp":1671997058990,"duration":3716,"tags":{},"startTime":1664595040964},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2724,"timestamp":1671997016011,"duration":47455,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040921},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2744,"timestamp":1671997070658,"duration":5372,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2745,"timestamp":1671997070699,"duration":7374,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"read-resource","id":2752,"timestamp":1671997078546,"duration":50,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2753,"name":"postcss-process","id":2754,"timestamp":1671997078664,"duration":38936,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"postcss-loader","id":2753,"timestamp":1671997078652,"duration":39405,"tags":{},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2751,"name":"css-loader","id":2755,"timestamp":1671997118115,"duration":11280,"tags":{"astUsed":"true"},"startTime":1664595041023},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"build-module-css","id":2751,"timestamp":1671997078296,"duration":57171,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595040983},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2749,"timestamp":1671997070712,"duration":65921,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2748,"timestamp":1671997070709,"duration":65942,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2750,"timestamp":1671997070714,"duration":70786,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2746,"timestamp":1671997070703,"duration":71380,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2757,"name":"next-swc-transform","id":2758,"timestamp":1671997142139,"duration":2603,"tags":{},"startTime":1664595041047},{"traceId":"43f2de6d909a73f7","parentId":2756,"name":"next-swc-loader","id":2757,"timestamp":1671997142092,"duration":2661,"tags":{},"startTime":1664595041047},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"build-module-tsx","id":2756,"timestamp":1671997141818,"duration":5660,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595041046},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"add-entry","id":2747,"timestamp":1671997070706,"duration":110114,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595040975},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"make","id":2743,"timestamp":1671997067947,"duration":112960,"tags":{},"startTime":1664595040973},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-chunk-graph","id":2760,"timestamp":1671997186634,"duration":19950,"tags":{},"startTime":1664595041091},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-modules","id":2762,"timestamp":1671997206612,"duration":3,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-chunks","id":2763,"timestamp":1671997206697,"duration":48,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize-tree","id":2764,"timestamp":1671997206784,"duration":13,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-optimize","id":2761,"timestamp":1671997206602,"duration":1672,"tags":{},"startTime":1664595041111},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-hash","id":2765,"timestamp":1671997222858,"duration":6408,"tags":{},"startTime":1664595041128},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"NextJsBuildManifest-generateClientManifest","id":2767,"timestamp":1671997237231,"duration":181,"tags":{},"startTime":1664595041142},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"NextJsBuildManifest-createassets","id":2766,"timestamp":1671997237152,"duration":270,"tags":{},"startTime":1664595041142},{"traceId":"43f2de6d909a73f7","parentId":2742,"name":"webpack-compilation-seal","id":2759,"timestamp":1671997182221,"duration":56911,"tags":{},"startTime":1664595041087},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"webpack-compilation","id":2742,"timestamp":1671997067323,"duration":171833,"tags":{"name":"client"},"startTime":1664595040972},{"traceId":"43f2de6d909a73f7","parentId":2725,"name":"emit","id":2768,"timestamp":1671997239194,"duration":108395,"tags":{},"startTime":1664595041144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2725,"timestamp":1671997016306,"duration":333071,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595040921}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2769,"timestamp":1671997360726,"duration":0,"tags":{},"startTime":1664595041265},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2770,"timestamp":1664595040921999,"duration":360000,"tags":{"clientId":1664594518197},"startTime":1664595041285},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2777,"timestamp":1672016461382,"duration":7531,"tags":{"request":"private-next-pages/_error"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2776,"timestamp":1672016461377,"duration":7550,"tags":{"request":"private-next-pages/_document"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2779,"name":"next-swc-transform","id":2780,"timestamp":1672016469351,"duration":1568,"tags":{},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2778,"name":"next-swc-loader","id":2779,"timestamp":1672016469257,"duration":1674,"tags":{},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"build-module-tsx","id":2778,"timestamp":1672016469025,"duration":10279,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060374},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"add-entry","id":2775,"timestamp":1672016461303,"duration":20559,"tags":{"request":"private-next-pages/_app"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"make","id":2774,"timestamp":1672016461136,"duration":20742,"tags":{},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-chunk-graph","id":2782,"timestamp":1672016482258,"duration":270,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-modules","id":2784,"timestamp":1672016482538,"duration":2,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-chunks","id":2785,"timestamp":1672016482550,"duration":26,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize-tree","id":2786,"timestamp":1672016482585,"duration":6,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-optimize","id":2783,"timestamp":1672016482535,"duration":116,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-hash","id":2787,"timestamp":1672016483774,"duration":495,"tags":{},"startTime":1664595060389},{"traceId":"43f2de6d909a73f7","parentId":2773,"name":"webpack-compilation-seal","id":2781,"timestamp":1672016482189,"duration":5042,"tags":{},"startTime":1664595060387},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"webpack-compilation","id":2773,"timestamp":1672016460896,"duration":26363,"tags":{"name":"server"},"startTime":1664595060366},{"traceId":"43f2de6d909a73f7","parentId":2771,"name":"emit","id":2788,"timestamp":1672016487275,"duration":5146,"tags":{},"startTime":1664595060392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2771,"timestamp":1672016454794,"duration":37888,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060360},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2791,"timestamp":1672016499788,"duration":11597,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2796,"timestamp":1672016499844,"duration":12917,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2801,"name":"next-swc-transform","id":2802,"timestamp":1672016513124,"duration":2164,"tags":{},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2800,"name":"next-swc-loader","id":2801,"timestamp":1672016513077,"duration":2219,"tags":{},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"build-module-tsx","id":2800,"timestamp":1672016513010,"duration":4701,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060418},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"read-resource","id":2799,"timestamp":1672016512527,"duration":5785,"tags":{},"startTime":1664595060417},{"traceId":"43f2de6d909a73f7","parentId":2803,"name":"postcss-process","id":2804,"timestamp":1672016518345,"duration":32920,"tags":{},"startTime":1664595060423},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"postcss-loader","id":2803,"timestamp":1672016518333,"duration":33399,"tags":{},"startTime":1664595060423},{"traceId":"43f2de6d909a73f7","parentId":2798,"name":"css-loader","id":2805,"timestamp":1672016551768,"duration":11143,"tags":{"astUsed":"true"},"startTime":1664595060457},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"build-module-css","id":2798,"timestamp":1672016512349,"duration":51735,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595060417},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2792,"timestamp":1672016499830,"duration":65984,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2795,"timestamp":1672016499839,"duration":66419,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2797,"timestamp":1672016499846,"duration":71999,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2793,"timestamp":1672016499834,"duration":81855,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"add-entry","id":2794,"timestamp":1672016499836,"duration":118157,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595060405},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"make","id":2790,"timestamp":1672016497181,"duration":120839,"tags":{},"startTime":1664595060402},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-chunk-graph","id":2807,"timestamp":1672016623354,"duration":19540,"tags":{},"startTime":1664595060528},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-modules","id":2809,"timestamp":1672016642918,"duration":3,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-chunks","id":2810,"timestamp":1672016642929,"duration":31,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize-tree","id":2811,"timestamp":1672016642978,"duration":3,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-optimize","id":2808,"timestamp":1672016642909,"duration":1452,"tags":{},"startTime":1664595060548},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-hash","id":2812,"timestamp":1672016656470,"duration":3597,"tags":{},"startTime":1664595060561},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"NextJsBuildManifest-generateClientManifest","id":2814,"timestamp":1672016668134,"duration":56,"tags":{},"startTime":1664595060573},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"NextJsBuildManifest-createassets","id":2813,"timestamp":1672016668080,"duration":117,"tags":{},"startTime":1664595060573},{"traceId":"43f2de6d909a73f7","parentId":2789,"name":"webpack-compilation-seal","id":2806,"timestamp":1672016619550,"duration":50962,"tags":{},"startTime":1664595060524},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"webpack-compilation","id":2789,"timestamp":1672016497001,"duration":173553,"tags":{"name":"client"},"startTime":1664595060402},{"traceId":"43f2de6d909a73f7","parentId":2772,"name":"emit","id":2815,"timestamp":1672016670593,"duration":92391,"tags":{},"startTime":1664595060575},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2772,"timestamp":1672016454944,"duration":308791,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/QRCode.tsx"},"startTime":1664595060360}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2816,"timestamp":1672016788860,"duration":0,"tags":{},"startTime":1664595060694},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2817,"timestamp":1664595060360999,"duration":342000,"tags":{"clientId":1664594518197},"startTime":1664595060704},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2822,"timestamp":1672257305330,"duration":9020,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2827,"timestamp":1672257305580,"duration":10410,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2823,"timestamp":1672257305551,"duration":12240,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2826,"timestamp":1672257305569,"duration":12607,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2828,"timestamp":1672257305584,"duration":17963,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2824,"timestamp":1672257305559,"duration":27592,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"add-entry","id":2825,"timestamp":1672257305564,"duration":74609,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595301211},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"make","id":2821,"timestamp":1672257304234,"duration":76069,"tags":{},"startTime":1664595301210},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-chunk-graph","id":2830,"timestamp":1672257385795,"duration":17748,"tags":{},"startTime":1664595301291},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-modules","id":2832,"timestamp":1672257403600,"duration":11,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-chunks","id":2833,"timestamp":1672257403645,"duration":66,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize-tree","id":2834,"timestamp":1672257403750,"duration":16,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-optimize","id":2831,"timestamp":1672257403576,"duration":1649,"tags":{},"startTime":1664595301309},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-hash","id":2835,"timestamp":1672257417547,"duration":5730,"tags":{},"startTime":1664595301323},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"NextJsBuildManifest-generateClientManifest","id":2837,"timestamp":1672257424598,"duration":230,"tags":{},"startTime":1664595301330},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"NextJsBuildManifest-createassets","id":2836,"timestamp":1672257424505,"duration":329,"tags":{},"startTime":1664595301330},{"traceId":"43f2de6d909a73f7","parentId":2820,"name":"webpack-compilation-seal","id":2829,"timestamp":1672257381637,"duration":44360,"tags":{},"startTime":1664595301287},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"webpack-compilation","id":2820,"timestamp":1672257302630,"duration":123394,"tags":{"name":"client"},"startTime":1664595301208},{"traceId":"43f2de6d909a73f7","parentId":2818,"name":"emit","id":2838,"timestamp":1672257426067,"duration":4961,"tags":{},"startTime":1664595301332},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2818,"timestamp":1672257292938,"duration":138838,"tags":{"trigger":"manual"},"startTime":1664595301198},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2841,"timestamp":1672257444696,"duration":0,"tags":{},"startTime":1664595301350},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2842,"timestamp":1672257445097,"duration":10647,"tags":{"request":"private-next-pages/_app"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2844,"timestamp":1672257445137,"duration":10784,"tags":{"request":"private-next-pages/_error"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2843,"timestamp":1672257445133,"duration":10792,"tags":{"request":"private-next-pages/_document"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2847,"name":"next-swc-transform","id":2848,"timestamp":1672257457130,"duration":1470,"tags":{},"startTime":1664595301363},{"traceId":"43f2de6d909a73f7","parentId":2846,"name":"next-swc-loader","id":2847,"timestamp":1672257457016,"duration":1587,"tags":{},"startTime":1664595301363},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"build-module-tsx","id":2846,"timestamp":1672257456881,"duration":5682,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/pages/index.tsx"},"startTime":1664595301362},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"add-entry","id":2845,"timestamp":1672257445139,"duration":20515,"tags":{"request":"./pages/index.tsx"},"startTime":1664595301351},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"make","id":2840,"timestamp":1672257433066,"duration":32600,"tags":{},"startTime":1664595301339},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-chunk-graph","id":2850,"timestamp":1672257465954,"duration":192,"tags":{},"startTime":1664595301371},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-modules","id":2852,"timestamp":1672257466154,"duration":4,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-chunks","id":2853,"timestamp":1672257466190,"duration":25,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize-tree","id":2854,"timestamp":1672257466237,"duration":11,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-optimize","id":2851,"timestamp":1672257466151,"duration":202,"tags":{},"startTime":1664595301372},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-hash","id":2855,"timestamp":1672257467746,"duration":837,"tags":{},"startTime":1664595301373},{"traceId":"43f2de6d909a73f7","parentId":2839,"name":"webpack-compilation-seal","id":2849,"timestamp":1672257465880,"duration":5297,"tags":{},"startTime":1664595301371},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"webpack-compilation","id":2839,"timestamp":1672257432863,"duration":38334,"tags":{"name":"server"},"startTime":1664595301338},{"traceId":"43f2de6d909a73f7","parentId":2819,"name":"emit","id":2856,"timestamp":1672257471212,"duration":1824,"tags":{},"startTime":1664595301377},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2819,"timestamp":1672257293352,"duration":180425,"tags":{"trigger":"manual"},"startTime":1664595301199}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2857,"timestamp":1672257798372,"duration":0,"tags":{},"startTime":1664595301704},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2858,"timestamp":1672287541974,"duration":0,"tags":{},"startTime":1664595331448},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2863,"timestamp":1672317508750,"duration":8611,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595361414},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2868,"timestamp":1672317508856,"duration":10217,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"read-resource","id":2871,"timestamp":1672317518795,"duration":1278,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2875,"name":"postcss-process","id":2876,"timestamp":1672317520163,"duration":42498,"tags":{},"startTime":1664595361426},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"postcss-loader","id":2875,"timestamp":1672317520137,"duration":42953,"tags":{},"startTime":1664595361426},{"traceId":"43f2de6d909a73f7","parentId":2870,"name":"css-loader","id":2877,"timestamp":1672317563138,"duration":14215,"tags":{"astUsed":"true"},"startTime":1664595361469},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"build-module-css","id":2870,"timestamp":1672317518420,"duration":65407,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595361424},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2864,"timestamp":1672317508840,"duration":75620,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2873,"name":"next-swc-transform","id":2874,"timestamp":1672317519628,"duration":65285,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2872,"name":"next-swc-loader","id":2873,"timestamp":1672317519525,"duration":65389,"tags":{},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"build-module-tsx","id":2872,"timestamp":1672317519406,"duration":68647,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361425},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2867,"timestamp":1672317508853,"duration":79752,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2869,"timestamp":1672317508858,"duration":86015,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2865,"timestamp":1672317508844,"duration":91666,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"add-entry","id":2866,"timestamp":1672317508850,"duration":127863,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595361415},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"make","id":2862,"timestamp":1672317507033,"duration":129711,"tags":{},"startTime":1664595361413},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-chunk-graph","id":2879,"timestamp":1672317641356,"duration":17383,"tags":{},"startTime":1664595361547},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-modules","id":2881,"timestamp":1672317658761,"duration":3,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-chunks","id":2882,"timestamp":1672317658773,"duration":58,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize-tree","id":2883,"timestamp":1672317658850,"duration":3,"tags":{},"startTime":1664595361565},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-optimize","id":2880,"timestamp":1672317658754,"duration":1507,"tags":{},"startTime":1664595361564},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-hash","id":2884,"timestamp":1672317672088,"duration":4874,"tags":{},"startTime":1664595361578},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"NextJsBuildManifest-generateClientManifest","id":2886,"timestamp":1672317687294,"duration":72,"tags":{},"startTime":1664595361593},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"NextJsBuildManifest-createassets","id":2885,"timestamp":1672317687227,"duration":148,"tags":{},"startTime":1664595361593},{"traceId":"43f2de6d909a73f7","parentId":2861,"name":"webpack-compilation-seal","id":2878,"timestamp":1672317638005,"duration":51217,"tags":{},"startTime":1664595361544},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"webpack-compilation","id":2861,"timestamp":1672317506359,"duration":182883,"tags":{"name":"client"},"startTime":1664595361412},{"traceId":"43f2de6d909a73f7","parentId":2859,"name":"emit","id":2887,"timestamp":1672317689259,"duration":125239,"tags":{},"startTime":1664595361595},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2859,"timestamp":1672317486965,"duration":328954,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361393},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2893,"timestamp":1672317831150,"duration":0,"tags":{},"startTime":1664595361737},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2892,"timestamp":1672317830305,"duration":6267,"tags":{"request":"private-next-pages/_error"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2891,"timestamp":1672317830301,"duration":6284,"tags":{"request":"private-next-pages/_document"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2895,"name":"next-swc-transform","id":2896,"timestamp":1672317836205,"duration":1639,"tags":{},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2894,"name":"next-swc-loader","id":2895,"timestamp":1672317836142,"duration":1705,"tags":{},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"build-module-tsx","id":2894,"timestamp":1672317836007,"duration":4296,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361742},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"add-entry","id":2890,"timestamp":1672317830197,"duration":13878,"tags":{"request":"private-next-pages/_app"},"startTime":1664595361736},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"make","id":2889,"timestamp":1672317817315,"duration":26776,"tags":{},"startTime":1664595361723},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-chunk-graph","id":2898,"timestamp":1672317844437,"duration":233,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-modules","id":2900,"timestamp":1672317844682,"duration":2,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-chunks","id":2901,"timestamp":1672317844692,"duration":20,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize-tree","id":2902,"timestamp":1672317844720,"duration":4,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-optimize","id":2899,"timestamp":1672317844679,"duration":100,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-hash","id":2903,"timestamp":1672317845861,"duration":467,"tags":{},"startTime":1664595361752},{"traceId":"43f2de6d909a73f7","parentId":2888,"name":"webpack-compilation-seal","id":2897,"timestamp":1672317844370,"duration":2783,"tags":{},"startTime":1664595361750},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"webpack-compilation","id":2888,"timestamp":1672317817084,"duration":30088,"tags":{"name":"server"},"startTime":1664595361723},{"traceId":"43f2de6d909a73f7","parentId":2860,"name":"emit","id":2904,"timestamp":1672317847188,"duration":2113,"tags":{},"startTime":1664595361753},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2860,"timestamp":1672317489796,"duration":359846,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595361396}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2905,"timestamp":1664595361398000,"duration":357999,"tags":{"clientId":1664595301700},"startTime":1664595361759},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2910,"timestamp":1672321386930,"duration":3572,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2911,"timestamp":1672321386966,"duration":4208,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"read-resource","id":2918,"timestamp":1672321391558,"duration":54,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2919,"name":"postcss-process","id":2920,"timestamp":1672321391644,"duration":33355,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"postcss-loader","id":2919,"timestamp":1672321391635,"duration":33811,"tags":{},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2917,"name":"css-loader","id":2921,"timestamp":1672321425475,"duration":10630,"tags":{"astUsed":"true"},"startTime":1664595365331},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"build-module-css","id":2917,"timestamp":1672321391365,"duration":46073,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595365297},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2915,"timestamp":1672321386977,"duration":50994,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2914,"timestamp":1672321386974,"duration":51010,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2916,"timestamp":1672321386979,"duration":56382,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2912,"timestamp":1672321386969,"duration":56860,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2923,"name":"next-swc-transform","id":2924,"timestamp":1672321443875,"duration":1868,"tags":{},"startTime":1664595365350},{"traceId":"43f2de6d909a73f7","parentId":2922,"name":"next-swc-loader","id":2923,"timestamp":1672321443836,"duration":1912,"tags":{},"startTime":1664595365350},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"build-module-tsx","id":2922,"timestamp":1672321443622,"duration":4027,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365349},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"add-entry","id":2913,"timestamp":1672321386971,"duration":88232,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595365293},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"make","id":2909,"timestamp":1672321383153,"duration":92074,"tags":{},"startTime":1664595365289},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-chunk-graph","id":2926,"timestamp":1672321479935,"duration":17066,"tags":{},"startTime":1664595365386},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-modules","id":2928,"timestamp":1672321497028,"duration":3,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-chunks","id":2929,"timestamp":1672321497040,"duration":31,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize-tree","id":2930,"timestamp":1672321497091,"duration":13,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-optimize","id":2927,"timestamp":1672321497019,"duration":1506,"tags":{},"startTime":1664595365403},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-hash","id":2931,"timestamp":1672321508690,"duration":3726,"tags":{},"startTime":1664595365414},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"NextJsBuildManifest-generateClientManifest","id":2933,"timestamp":1672321522969,"duration":58,"tags":{},"startTime":1664595365429},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"NextJsBuildManifest-createassets","id":2932,"timestamp":1672321522915,"duration":120,"tags":{},"startTime":1664595365429},{"traceId":"43f2de6d909a73f7","parentId":2908,"name":"webpack-compilation-seal","id":2925,"timestamp":1672321476554,"duration":48257,"tags":{},"startTime":1664595365382},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"webpack-compilation","id":2908,"timestamp":1672321382855,"duration":141979,"tags":{"name":"client"},"startTime":1664595365289},{"traceId":"43f2de6d909a73f7","parentId":2906,"name":"emit","id":2934,"timestamp":1672321524855,"duration":84549,"tags":{},"startTime":1664595365431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2906,"timestamp":1672321370982,"duration":238995,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365277},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2940,"timestamp":1672321620289,"duration":0,"tags":{},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2939,"timestamp":1672321619810,"duration":3311,"tags":{"request":"private-next-pages/_error"},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2938,"timestamp":1672321619807,"duration":3322,"tags":{"request":"private-next-pages/_document"},"startTime":1664595365526},{"traceId":"43f2de6d909a73f7","parentId":2942,"name":"next-swc-transform","id":2943,"timestamp":1672321623345,"duration":8076,"tags":{},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2941,"name":"next-swc-loader","id":2942,"timestamp":1672321623313,"duration":8111,"tags":{},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"build-module-tsx","id":2941,"timestamp":1672321623239,"duration":9209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365529},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"add-entry","id":2937,"timestamp":1672321619757,"duration":13887,"tags":{"request":"private-next-pages/_app"},"startTime":1664595365525},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"make","id":2936,"timestamp":1672321611084,"duration":22573,"tags":{},"startTime":1664595365517},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-chunk-graph","id":2945,"timestamp":1672321633879,"duration":213,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-modules","id":2947,"timestamp":1672321634100,"duration":1,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-chunks","id":2948,"timestamp":1672321634109,"duration":13,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize-tree","id":2949,"timestamp":1672321634128,"duration":3,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-optimize","id":2946,"timestamp":1672321634097,"duration":76,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-hash","id":2950,"timestamp":1672321634953,"duration":394,"tags":{},"startTime":1664595365541},{"traceId":"43f2de6d909a73f7","parentId":2935,"name":"webpack-compilation-seal","id":2944,"timestamp":1672321633819,"duration":2193,"tags":{},"startTime":1664595365540},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"webpack-compilation","id":2935,"timestamp":1672321610904,"duration":25122,"tags":{"name":"server"},"startTime":1664595365517},{"traceId":"43f2de6d909a73f7","parentId":2907,"name":"emit","id":2951,"timestamp":1672321636034,"duration":4348,"tags":{},"startTime":1664595365542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2907,"timestamp":1672321371210,"duration":269505,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595365277}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":2952,"timestamp":1664595365276999,"duration":268000,"tags":{"clientId":1664595301700},"startTime":1664595365547},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2957,"timestamp":1672327980011,"duration":3358,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2958,"timestamp":1672327980049,"duration":3981,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"read-resource","id":2965,"timestamp":1672327984501,"duration":64,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2966,"name":"postcss-process","id":2967,"timestamp":1672327984603,"duration":32787,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"postcss-loader","id":2966,"timestamp":1672327984591,"duration":33019,"tags":{},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2964,"name":"css-loader","id":2968,"timestamp":1672328017643,"duration":8364,"tags":{"astUsed":"true"},"startTime":1664595371923},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"build-module-css","id":2964,"timestamp":1672327984386,"duration":42621,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595371890},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2962,"timestamp":1672327980066,"duration":50463,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2961,"timestamp":1672327980063,"duration":50487,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2963,"timestamp":1672327980068,"duration":63835,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2959,"timestamp":1672327980058,"duration":65309,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2970,"name":"next-swc-transform","id":2971,"timestamp":1672328045419,"duration":6499,"tags":{},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2969,"name":"next-swc-loader","id":2970,"timestamp":1672328045378,"duration":6547,"tags":{},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"build-module-tsx","id":2969,"timestamp":1672328044891,"duration":9891,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371951},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"add-entry","id":2960,"timestamp":1672327980061,"duration":135483,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595371886},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"make","id":2956,"timestamp":1672327979081,"duration":136497,"tags":{},"startTime":1664595371885},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-chunk-graph","id":2973,"timestamp":1672328120094,"duration":17289,"tags":{},"startTime":1664595372026},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-modules","id":2975,"timestamp":1672328137410,"duration":3,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-chunks","id":2976,"timestamp":1672328137426,"duration":94,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize-tree","id":2977,"timestamp":1672328137539,"duration":5,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-optimize","id":2974,"timestamp":1672328137400,"duration":1557,"tags":{},"startTime":1664595372043},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-hash","id":2978,"timestamp":1672328150690,"duration":4368,"tags":{},"startTime":1664595372056},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"NextJsBuildManifest-generateClientManifest","id":2980,"timestamp":1672328155991,"duration":80,"tags":{},"startTime":1664595372062},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"NextJsBuildManifest-createassets","id":2979,"timestamp":1672328155923,"duration":153,"tags":{},"startTime":1664595372062},{"traceId":"43f2de6d909a73f7","parentId":2955,"name":"webpack-compilation-seal","id":2972,"timestamp":1672328116774,"duration":40287,"tags":{},"startTime":1664595372023},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"webpack-compilation","id":2955,"timestamp":1672327978901,"duration":178187,"tags":{"name":"client"},"startTime":1664595371885},{"traceId":"43f2de6d909a73f7","parentId":2953,"name":"emit","id":2981,"timestamp":1672328157117,"duration":5346,"tags":{},"startTime":1664595372063},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2953,"timestamp":1672327968320,"duration":194654,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371874},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":2987,"timestamp":1672328174173,"duration":0,"tags":{},"startTime":1664595372080},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2986,"timestamp":1672328173537,"duration":3059,"tags":{"request":"private-next-pages/_error"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2985,"timestamp":1672328173533,"duration":3068,"tags":{"request":"private-next-pages/_document"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2989,"name":"next-swc-transform","id":2990,"timestamp":1672328176819,"duration":930,"tags":{},"startTime":1664595372083},{"traceId":"43f2de6d909a73f7","parentId":2988,"name":"next-swc-loader","id":2989,"timestamp":1672328176773,"duration":980,"tags":{},"startTime":1664595372083},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"build-module-tsx","id":2988,"timestamp":1672328176670,"duration":2178,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595372082},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"add-entry","id":2984,"timestamp":1672328173473,"duration":6183,"tags":{"request":"private-next-pages/_app"},"startTime":1664595372079},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"make","id":2983,"timestamp":1672328164082,"duration":15584,"tags":{},"startTime":1664595372070},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-chunk-graph","id":2992,"timestamp":1672328179891,"duration":167,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-modules","id":2994,"timestamp":1672328180065,"duration":1,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-chunks","id":2995,"timestamp":1672328180073,"duration":14,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize-tree","id":2996,"timestamp":1672328180094,"duration":2,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-optimize","id":2993,"timestamp":1672328180062,"duration":83,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-hash","id":2997,"timestamp":1672328180787,"duration":350,"tags":{},"startTime":1664595372087},{"traceId":"43f2de6d909a73f7","parentId":2982,"name":"webpack-compilation-seal","id":2991,"timestamp":1672328179834,"duration":1476,"tags":{},"startTime":1664595372086},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"webpack-compilation","id":2982,"timestamp":1672328163904,"duration":17419,"tags":{"name":"server"},"startTime":1664595372070},{"traceId":"43f2de6d909a73f7","parentId":2954,"name":"emit","id":2998,"timestamp":1672328181330,"duration":3408,"tags":{},"startTime":1664595372087},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":2954,"timestamp":1672327968518,"duration":216554,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connecting.tsx"},"startTime":1664595371874}] -[{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3003,"timestamp":1672341805478,"duration":6756,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3004,"timestamp":1672341805582,"duration":7672,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"read-resource","id":3011,"timestamp":1672341813793,"duration":71,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3012,"name":"postcss-process","id":3013,"timestamp":1672341813935,"duration":41988,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"postcss-loader","id":3012,"timestamp":1672341813918,"duration":42405,"tags":{},"startTime":1664595385720},{"traceId":"43f2de6d909a73f7","parentId":3010,"name":"css-loader","id":3014,"timestamp":1672341856376,"duration":12567,"tags":{"astUsed":"true"},"startTime":1664595385762},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"build-module-css","id":3010,"timestamp":1672341813468,"duration":66645,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595385719},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3008,"timestamp":1672341805600,"duration":74976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3007,"timestamp":1672341805596,"duration":74996,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3009,"timestamp":1672341805602,"duration":79606,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3005,"timestamp":1672341805587,"duration":79991,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"add-entry","id":3006,"timestamp":1672341805592,"duration":109094,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595385711},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"make","id":3002,"timestamp":1672341804531,"duration":110182,"tags":{},"startTime":1664595385710},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-chunk-graph","id":3016,"timestamp":1672341919413,"duration":17052,"tags":{},"startTime":1664595385825},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-modules","id":3018,"timestamp":1672341936519,"duration":11,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-chunks","id":3019,"timestamp":1672341936560,"duration":59,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize-tree","id":3020,"timestamp":1672341936656,"duration":11,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-optimize","id":3017,"timestamp":1672341936496,"duration":1768,"tags":{},"startTime":1664595385842},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-hash","id":3021,"timestamp":1672341949843,"duration":5097,"tags":{},"startTime":1664595385856},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"NextJsBuildManifest-generateClientManifest","id":3023,"timestamp":1672341955976,"duration":72,"tags":{},"startTime":1664595385862},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"NextJsBuildManifest-createassets","id":3022,"timestamp":1672341955919,"duration":132,"tags":{},"startTime":1664595385862},{"traceId":"43f2de6d909a73f7","parentId":3001,"name":"webpack-compilation-seal","id":3015,"timestamp":1672341915877,"duration":41441,"tags":{},"startTime":1664595385822},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"webpack-compilation","id":3001,"timestamp":1672341803688,"duration":153658,"tags":{"name":"client"},"startTime":1664595385709},{"traceId":"43f2de6d909a73f7","parentId":2999,"name":"emit","id":3024,"timestamp":1672341957370,"duration":8070,"tags":{},"startTime":1664595385863},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":2999,"timestamp":1672341784448,"duration":182080,"tags":{"trigger":"manual"},"startTime":1664595385690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3027,"timestamp":1672341990111,"duration":0,"tags":{},"startTime":1664595385896},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3031,"timestamp":1672341990979,"duration":5457,"tags":{"request":"./pages/index.tsx"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3030,"timestamp":1672341990976,"duration":5937,"tags":{"request":"private-next-pages/_error"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3029,"timestamp":1672341990971,"duration":5951,"tags":{"request":"private-next-pages/_document"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"add-entry","id":3028,"timestamp":1672341990927,"duration":6761,"tags":{"request":"private-next-pages/_app"},"startTime":1664595385897},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"make","id":3026,"timestamp":1672341968485,"duration":29234,"tags":{},"startTime":1664595385874},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-chunk-graph","id":3033,"timestamp":1672341998157,"duration":474,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-modules","id":3035,"timestamp":1672341998646,"duration":2,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-chunks","id":3036,"timestamp":1672341998689,"duration":105,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize-tree","id":3037,"timestamp":1672341998818,"duration":19,"tags":{},"startTime":1664595385905},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-optimize","id":3034,"timestamp":1672341998640,"duration":292,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-hash","id":3038,"timestamp":1672342000759,"duration":1183,"tags":{},"startTime":1664595385907},{"traceId":"43f2de6d909a73f7","parentId":3025,"name":"webpack-compilation-seal","id":3032,"timestamp":1672341998067,"duration":5276,"tags":{},"startTime":1664595385904},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"webpack-compilation","id":3025,"timestamp":1672341968201,"duration":35169,"tags":{"name":"server"},"startTime":1664595385874},{"traceId":"43f2de6d909a73f7","parentId":3000,"name":"emit","id":3039,"timestamp":1672342003389,"duration":7984,"tags":{},"startTime":1664595385909},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3000,"timestamp":1672341786789,"duration":225492,"tags":{"trigger":"manual"},"startTime":1664595385693}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3040,"timestamp":1672342288127,"duration":0,"tags":{},"startTime":1664595386194},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3041,"timestamp":1672342303386,"duration":0,"tags":{},"startTime":1664595386209},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3046,"timestamp":1672412845518,"duration":14947,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3051,"timestamp":1672412845637,"duration":16712,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"read-resource","id":3054,"timestamp":1672412862075,"duration":2632,"tags":{},"startTime":1664595456740},{"traceId":"43f2de6d909a73f7","parentId":3058,"name":"postcss-process","id":3059,"timestamp":1672412864826,"duration":46695,"tags":{},"startTime":1664595456743},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"postcss-loader","id":3058,"timestamp":1672412864805,"duration":47307,"tags":{},"startTime":1664595456743},{"traceId":"43f2de6d909a73f7","parentId":3053,"name":"css-loader","id":3060,"timestamp":1672412912179,"duration":13436,"tags":{"astUsed":"true"},"startTime":1664595456791},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"build-module-css","id":3053,"timestamp":1672412861765,"duration":74972,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595456740},{"traceId":"43f2de6d909a73f7","parentId":3056,"name":"next-swc-transform","id":3057,"timestamp":1672412863227,"duration":74327,"tags":{},"startTime":1664595456742},{"traceId":"43f2de6d909a73f7","parentId":3055,"name":"next-swc-loader","id":3056,"timestamp":1672412863094,"duration":74462,"tags":{},"startTime":1664595456742},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"build-module-tsx","id":3055,"timestamp":1672412862961,"duration":78632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456741},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3047,"timestamp":1672412845620,"duration":98333,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3050,"timestamp":1672412845634,"duration":100976,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3052,"timestamp":1672412845640,"duration":101587,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3048,"timestamp":1672412845625,"duration":145786,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"add-entry","id":3049,"timestamp":1672412845630,"duration":233102,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595456724},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"make","id":3045,"timestamp":1672412843973,"duration":234847,"tags":{},"startTime":1664595456722},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-chunk-graph","id":3062,"timestamp":1672413083787,"duration":16879,"tags":{},"startTime":1664595456962},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-modules","id":3064,"timestamp":1672413100721,"duration":11,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-chunks","id":3065,"timestamp":1672413100766,"duration":105,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize-tree","id":3066,"timestamp":1672413100915,"duration":14,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-optimize","id":3063,"timestamp":1672413100696,"duration":1699,"tags":{},"startTime":1664595456979},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-hash","id":3067,"timestamp":1672413114640,"duration":6255,"tags":{},"startTime":1664595456993},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"NextJsBuildManifest-generateClientManifest","id":3069,"timestamp":1672413135048,"duration":190,"tags":{},"startTime":1664595457013},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"NextJsBuildManifest-createassets","id":3068,"timestamp":1672413134961,"duration":287,"tags":{},"startTime":1664595457013},{"traceId":"43f2de6d909a73f7","parentId":3044,"name":"webpack-compilation-seal","id":3061,"timestamp":1672413080378,"duration":56670,"tags":{},"startTime":1664595456959},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"webpack-compilation","id":3044,"timestamp":1672412843224,"duration":293855,"tags":{"name":"client"},"startTime":1664595456722},{"traceId":"43f2de6d909a73f7","parentId":3042,"name":"emit","id":3070,"timestamp":1672413137125,"duration":90849,"tags":{},"startTime":1664595457016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3042,"timestamp":1672412828781,"duration":400128,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456707},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3076,"timestamp":1672413240090,"duration":0,"tags":{},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3077,"timestamp":1672413240293,"duration":0,"tags":{},"startTime":1664595457119},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3075,"timestamp":1672413239494,"duration":6286,"tags":{"request":"private-next-pages/_error"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3074,"timestamp":1672413239490,"duration":6306,"tags":{"request":"private-next-pages/_document"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3081,"timestamp":1664595456708000,"duration":424000,"tags":{"clientId":1664595386228},"startTime":1664595457133},{"traceId":"43f2de6d909a73f7","parentId":3079,"name":"next-swc-transform","id":3080,"timestamp":1672413245492,"duration":11400,"tags":{},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3078,"name":"next-swc-loader","id":3079,"timestamp":1672413245421,"duration":11475,"tags":{},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"build-module-tsx","id":3078,"timestamp":1672413245278,"duration":16022,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595457124},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"add-entry","id":3073,"timestamp":1672413239439,"duration":31653,"tags":{"request":"private-next-pages/_app"},"startTime":1664595457118},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"make","id":3072,"timestamp":1672413229862,"duration":41247,"tags":{},"startTime":1664595457108},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-chunk-graph","id":3083,"timestamp":1672413271493,"duration":166,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-modules","id":3085,"timestamp":1672413271667,"duration":1,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-chunks","id":3086,"timestamp":1672413271710,"duration":29,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize-tree","id":3087,"timestamp":1672413271762,"duration":10,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-optimize","id":3084,"timestamp":1672413271664,"duration":192,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-hash","id":3088,"timestamp":1672413272927,"duration":714,"tags":{},"startTime":1664595457151},{"traceId":"43f2de6d909a73f7","parentId":3071,"name":"webpack-compilation-seal","id":3082,"timestamp":1672413271433,"duration":3216,"tags":{},"startTime":1664595457150},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"webpack-compilation","id":3071,"timestamp":1672413229666,"duration":44997,"tags":{"name":"server"},"startTime":1664595457108},{"traceId":"43f2de6d909a73f7","parentId":3043,"name":"emit","id":3089,"timestamp":1672413274678,"duration":1721,"tags":{},"startTime":1664595457153},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3043,"timestamp":1672412829195,"duration":447859,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595456708}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3090,"timestamp":1664595456708999,"duration":487000,"tags":{"clientId":1664595301700},"startTime":1664595457204},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3097,"timestamp":1672420985474,"duration":6060,"tags":{"request":"private-next-pages/_error"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3096,"timestamp":1672420985470,"duration":6077,"tags":{"request":"private-next-pages/_document"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3099,"name":"next-swc-transform","id":3100,"timestamp":1672420991835,"duration":1451,"tags":{},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3098,"name":"next-swc-loader","id":3099,"timestamp":1672420991787,"duration":1504,"tags":{},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"build-module-tsx","id":3098,"timestamp":1672420991626,"duration":4970,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464870},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"add-entry","id":3095,"timestamp":1672420985422,"duration":13337,"tags":{"request":"private-next-pages/_app"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"make","id":3094,"timestamp":1672420985271,"duration":13508,"tags":{},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-chunk-graph","id":3102,"timestamp":1672420999163,"duration":221,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-modules","id":3104,"timestamp":1672420999396,"duration":2,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-chunks","id":3105,"timestamp":1672420999406,"duration":17,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize-tree","id":3106,"timestamp":1672420999438,"duration":3,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-optimize","id":3103,"timestamp":1672420999391,"duration":100,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-hash","id":3107,"timestamp":1672421000689,"duration":676,"tags":{},"startTime":1664595464879},{"traceId":"43f2de6d909a73f7","parentId":3093,"name":"webpack-compilation-seal","id":3101,"timestamp":1672420999088,"duration":3474,"tags":{},"startTime":1664595464877},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"webpack-compilation","id":3093,"timestamp":1672420985082,"duration":17504,"tags":{"name":"server"},"startTime":1664595464863},{"traceId":"43f2de6d909a73f7","parentId":3091,"name":"emit","id":3108,"timestamp":1672421002601,"duration":7035,"tags":{},"startTime":1664595464880},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3091,"timestamp":1672420978178,"duration":32032,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464856},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3111,"timestamp":1672421018851,"duration":5596,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3112,"timestamp":1672421018898,"duration":7215,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"read-resource","id":3119,"timestamp":1672421026698,"duration":44,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3120,"name":"postcss-process","id":3121,"timestamp":1672421026775,"duration":52015,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"postcss-loader","id":3120,"timestamp":1672421026763,"duration":52451,"tags":{},"startTime":1664595464905},{"traceId":"43f2de6d909a73f7","parentId":3118,"name":"css-loader","id":3122,"timestamp":1672421079242,"duration":10106,"tags":{"astUsed":"true"},"startTime":1664595464957},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"build-module-css","id":3118,"timestamp":1672421026302,"duration":64434,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595464904},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3116,"timestamp":1672421018913,"duration":81194,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3115,"timestamp":1672421018909,"duration":81221,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3117,"timestamp":1672421018916,"duration":85419,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3113,"timestamp":1672421018902,"duration":85990,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3124,"name":"next-swc-transform","id":3125,"timestamp":1672421104960,"duration":2340,"tags":{},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3123,"name":"next-swc-loader","id":3124,"timestamp":1672421104900,"duration":2404,"tags":{},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"build-module-tsx","id":3123,"timestamp":1672421104651,"duration":5676,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464983},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"add-entry","id":3114,"timestamp":1672421018906,"duration":116897,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595464897},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"make","id":3110,"timestamp":1672421016195,"duration":119637,"tags":{},"startTime":1664595464894},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-chunk-graph","id":3127,"timestamp":1672421139960,"duration":16023,"tags":{},"startTime":1664595465018},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-modules","id":3129,"timestamp":1672421156007,"duration":2,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-chunks","id":3130,"timestamp":1672421156021,"duration":60,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize-tree","id":3131,"timestamp":1672421156098,"duration":5,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-optimize","id":3128,"timestamp":1672421156000,"duration":1398,"tags":{},"startTime":1664595465034},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-hash","id":3132,"timestamp":1672421168192,"duration":4476,"tags":{},"startTime":1664595465046},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"NextJsBuildManifest-generateClientManifest","id":3134,"timestamp":1672421185083,"duration":63,"tags":{},"startTime":1664595465063},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"NextJsBuildManifest-createassets","id":3133,"timestamp":1672421185032,"duration":120,"tags":{},"startTime":1664595465063},{"traceId":"43f2de6d909a73f7","parentId":3109,"name":"webpack-compilation-seal","id":3126,"timestamp":1672421136909,"duration":50026,"tags":{},"startTime":1664595465015},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"webpack-compilation","id":3109,"timestamp":1672421015843,"duration":171125,"tags":{"name":"client"},"startTime":1664595464894},{"traceId":"43f2de6d909a73f7","parentId":3092,"name":"emit","id":3135,"timestamp":1672421186995,"duration":89768,"tags":{},"startTime":1664595465065},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3092,"timestamp":1672420978279,"duration":299398,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595464856}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3136,"timestamp":1672421302867,"duration":0,"tags":{},"startTime":1664595465181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3137,"timestamp":1672421303189,"duration":0,"tags":{},"startTime":1664595465181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3138,"timestamp":1664595464856999,"duration":342000,"tags":{"clientId":1664595386228},"startTime":1664595465199},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3139,"timestamp":1664595464856999,"duration":376999,"tags":{"clientId":1664595301700},"startTime":1664595465235},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3144,"timestamp":1672428146585,"duration":4321,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3145,"timestamp":1672428146670,"duration":4982,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"read-resource","id":3152,"timestamp":1672428151991,"duration":39,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3153,"name":"postcss-process","id":3154,"timestamp":1672428152071,"duration":30969,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"postcss-loader","id":3153,"timestamp":1672428152053,"duration":32836,"tags":{},"startTime":1664595472030},{"traceId":"43f2de6d909a73f7","parentId":3151,"name":"css-loader","id":3155,"timestamp":1672428184930,"duration":8086,"tags":{"astUsed":"true"},"startTime":1664595472063},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"build-module-css","id":3151,"timestamp":1672428151794,"duration":42591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595472029},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3149,"timestamp":1672428146691,"duration":48209,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3148,"timestamp":1672428146681,"duration":48237,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3150,"timestamp":1672428146694,"duration":52026,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3146,"timestamp":1672428146675,"duration":52519,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3157,"name":"next-swc-transform","id":3158,"timestamp":1672428199271,"duration":3813,"tags":{},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3156,"name":"next-swc-loader","id":3157,"timestamp":1672428199199,"duration":3889,"tags":{},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"build-module-tsx","id":3156,"timestamp":1672428198999,"duration":6681,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472077},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"add-entry","id":3147,"timestamp":1672428146678,"duration":84862,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595472024},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"make","id":3143,"timestamp":1672428145520,"duration":86041,"tags":{},"startTime":1664595472023},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-chunk-graph","id":3160,"timestamp":1672428236260,"duration":16662,"tags":{},"startTime":1664595472114},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-modules","id":3162,"timestamp":1672428252953,"duration":3,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-chunks","id":3163,"timestamp":1672428252969,"duration":60,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize-tree","id":3164,"timestamp":1672428253047,"duration":3,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-optimize","id":3161,"timestamp":1672428252945,"duration":1500,"tags":{},"startTime":1664595472131},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-hash","id":3165,"timestamp":1672428265144,"duration":3664,"tags":{},"startTime":1664595472143},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"NextJsBuildManifest-generateClientManifest","id":3167,"timestamp":1672428280334,"duration":67,"tags":{},"startTime":1664595472158},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"NextJsBuildManifest-createassets","id":3166,"timestamp":1672428280261,"duration":151,"tags":{},"startTime":1664595472158},{"traceId":"43f2de6d909a73f7","parentId":3142,"name":"webpack-compilation-seal","id":3159,"timestamp":1672428232808,"duration":49754,"tags":{},"startTime":1664595472110},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"webpack-compilation","id":3142,"timestamp":1672428145265,"duration":137335,"tags":{"name":"client"},"startTime":1664595472023},{"traceId":"43f2de6d909a73f7","parentId":3140,"name":"emit","id":3168,"timestamp":1672428282627,"duration":112234,"tags":{},"startTime":1664595472160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3140,"timestamp":1672428130923,"duration":264648,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472009},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3174,"timestamp":1672428422375,"duration":0,"tags":{},"startTime":1664595472300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3175,"timestamp":1672428422456,"duration":0,"tags":{},"startTime":1664595472300},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3173,"timestamp":1672428410351,"duration":17710,"tags":{"request":"private-next-pages/_error"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3172,"timestamp":1672428410345,"duration":17735,"tags":{"request":"private-next-pages/_document"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3177,"name":"next-swc-transform","id":3178,"timestamp":1672428428807,"duration":1469,"tags":{},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3176,"name":"next-swc-loader","id":3177,"timestamp":1672428428698,"duration":1588,"tags":{},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"build-module-tsx","id":3176,"timestamp":1672428428472,"duration":4734,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472306},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"add-entry","id":3171,"timestamp":1672428410284,"duration":27091,"tags":{"request":"private-next-pages/_app"},"startTime":1664595472288},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"make","id":3170,"timestamp":1672428397066,"duration":40342,"tags":{},"startTime":1664595472275},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-chunk-graph","id":3180,"timestamp":1672428437940,"duration":215,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-modules","id":3182,"timestamp":1672428438163,"duration":2,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-chunks","id":3183,"timestamp":1672428438172,"duration":21,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize-tree","id":3184,"timestamp":1672428438201,"duration":4,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-optimize","id":3181,"timestamp":1672428438159,"duration":96,"tags":{},"startTime":1664595472316},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-hash","id":3185,"timestamp":1672428439302,"duration":449,"tags":{},"startTime":1664595472317},{"traceId":"43f2de6d909a73f7","parentId":3169,"name":"webpack-compilation-seal","id":3179,"timestamp":1672428437868,"duration":4643,"tags":{},"startTime":1664595472315},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"webpack-compilation","id":3169,"timestamp":1672428396794,"duration":45737,"tags":{"name":"server"},"startTime":1664595472274},{"traceId":"43f2de6d909a73f7","parentId":3141,"name":"emit","id":3186,"timestamp":1672428442545,"duration":2737,"tags":{},"startTime":1664595472320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3141,"timestamp":1672428131344,"duration":314519,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595472009}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3187,"timestamp":1664595472008999,"duration":312999,"tags":{"clientId":1664595386228},"startTime":1664595472325},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3188,"timestamp":1664595472009999,"duration":321000,"tags":{"clientId":1664595301700},"startTime":1664595472333},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3193,"timestamp":1672447125255,"duration":7661,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595491002},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3194,"timestamp":1672447125554,"duration":8242,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"read-resource","id":3201,"timestamp":1672447134323,"duration":69,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3202,"name":"postcss-process","id":3203,"timestamp":1672447134465,"duration":41358,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"postcss-loader","id":3202,"timestamp":1672447134449,"duration":41905,"tags":{},"startTime":1664595491012},{"traceId":"43f2de6d909a73f7","parentId":3200,"name":"css-loader","id":3204,"timestamp":1672447176409,"duration":13028,"tags":{"astUsed":"true"},"startTime":1664595491054},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"build-module-css","id":3200,"timestamp":1672447134050,"duration":66233,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595491011},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3198,"timestamp":1672447125579,"duration":75361,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3197,"timestamp":1672447125575,"duration":75384,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3199,"timestamp":1672447125582,"duration":80152,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3195,"timestamp":1672447125568,"duration":80699,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3206,"name":"next-swc-transform","id":3207,"timestamp":1672447206347,"duration":3117,"tags":{},"startTime":1664595491084},{"traceId":"43f2de6d909a73f7","parentId":3205,"name":"next-swc-loader","id":3206,"timestamp":1672447206274,"duration":3195,"tags":{},"startTime":1664595491083},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"build-module-tsx","id":3205,"timestamp":1672447206025,"duration":8700,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595491083},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"add-entry","id":3196,"timestamp":1672447125572,"duration":117670,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595491003},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"make","id":3192,"timestamp":1672447122995,"duration":120296,"tags":{},"startTime":1664595491000},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-chunk-graph","id":3209,"timestamp":1672447247881,"duration":16633,"tags":{},"startTime":1664595491125},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-modules","id":3211,"timestamp":1672447264596,"duration":13,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-chunks","id":3212,"timestamp":1672447264639,"duration":92,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize-tree","id":3213,"timestamp":1672447264771,"duration":11,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-optimize","id":3210,"timestamp":1672447264572,"duration":1818,"tags":{},"startTime":1664595491142},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-hash","id":3214,"timestamp":1672447278882,"duration":6804,"tags":{},"startTime":1664595491156},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"NextJsBuildManifest-generateClientManifest","id":3216,"timestamp":1672447298864,"duration":208,"tags":{},"startTime":1664595491176},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"NextJsBuildManifest-createassets","id":3215,"timestamp":1672447298776,"duration":304,"tags":{},"startTime":1664595491176},{"traceId":"43f2de6d909a73f7","parentId":3191,"name":"webpack-compilation-seal","id":3208,"timestamp":1672447244540,"duration":56651,"tags":{},"startTime":1664595491122},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"webpack-compilation","id":3191,"timestamp":1672447122268,"duration":178952,"tags":{"name":"client"},"startTime":1664595490999},{"traceId":"43f2de6d909a73f7","parentId":3189,"name":"emit","id":3217,"timestamp":1672447301262,"duration":139414,"tags":{},"startTime":1664595491178},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3189,"timestamp":1672447107026,"duration":334756,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595490984},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3223,"timestamp":1672447457973,"duration":0,"tags":{},"startTime":1664595491335},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3224,"timestamp":1672447458186,"duration":0,"tags":{},"startTime":1664595491335},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3222,"timestamp":1672447457218,"duration":6102,"tags":{"request":"private-next-pages/_error"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3221,"timestamp":1672447457213,"duration":6119,"tags":{"request":"private-next-pages/_document"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3226,"name":"next-swc-transform","id":3227,"timestamp":1672447463726,"duration":1197,"tags":{},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3225,"name":"next-swc-loader","id":3226,"timestamp":1672447463641,"duration":1287,"tags":{},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"build-module-tsx","id":3225,"timestamp":1672447463486,"duration":10602,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595491341},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"add-entry","id":3220,"timestamp":1672447457150,"duration":21061,"tags":{"request":"private-next-pages/_app"},"startTime":1664595491334},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"make","id":3219,"timestamp":1672447443436,"duration":34796,"tags":{},"startTime":1664595491321},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-chunk-graph","id":3229,"timestamp":1672447479024,"duration":299,"tags":{},"startTime":1664595491356},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-modules","id":3231,"timestamp":1672447479336,"duration":2,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-chunks","id":3232,"timestamp":1672447479380,"duration":43,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize-tree","id":3233,"timestamp":1672447479456,"duration":15,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-optimize","id":3230,"timestamp":1672447479332,"duration":235,"tags":{},"startTime":1664595491357},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-hash","id":3234,"timestamp":1672447480924,"duration":717,"tags":{},"startTime":1664595491358},{"traceId":"43f2de6d909a73f7","parentId":3218,"name":"webpack-compilation-seal","id":3228,"timestamp":1672447478944,"duration":4096,"tags":{},"startTime":1664595491356},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"webpack-compilation","id":3218,"timestamp":1672447443123,"duration":39943,"tags":{"name":"server"},"startTime":1664595491320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3236,"timestamp":1664595490984999,"duration":378000,"tags":{"clientId":1664595386228},"startTime":1664595491363},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3237,"timestamp":1664595490985999,"duration":383000,"tags":{"clientId":1664595301700},"startTime":1664595491371},{"traceId":"43f2de6d909a73f7","parentId":3190,"name":"emit","id":3235,"timestamp":1672447483084,"duration":17359,"tags":{},"startTime":1664595491360},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3190,"timestamp":1672447107327,"duration":393890,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595490985}] -[{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3242,"timestamp":1672453356106,"duration":4709,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3243,"timestamp":1672453356160,"duration":5693,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"read-resource","id":3250,"timestamp":1672453362232,"duration":49,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3251,"name":"postcss-process","id":3252,"timestamp":1672453362317,"duration":46173,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"postcss-loader","id":3251,"timestamp":1672453362305,"duration":46678,"tags":{},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3249,"name":"css-loader","id":3253,"timestamp":1672453409020,"duration":11259,"tags":{"astUsed":"true"},"startTime":1664595497286},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"build-module-css","id":3249,"timestamp":1672453361997,"duration":59654,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595497239},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3247,"timestamp":1672453356180,"duration":66040,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3246,"timestamp":1672453356176,"duration":66058,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3248,"timestamp":1672453356184,"duration":72314,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3244,"timestamp":1672453356167,"duration":72619,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"add-entry","id":3245,"timestamp":1672453356171,"duration":102735,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"make","id":3241,"timestamp":1672453355415,"duration":103513,"tags":{},"startTime":1664595497233},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-chunk-graph","id":3255,"timestamp":1672453463327,"duration":16699,"tags":{},"startTime":1664595497340},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-modules","id":3257,"timestamp":1672453480055,"duration":2,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-chunks","id":3258,"timestamp":1672453480067,"duration":80,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize-tree","id":3259,"timestamp":1672453480170,"duration":2,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-optimize","id":3256,"timestamp":1672453480047,"duration":1697,"tags":{},"startTime":1664595497357},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-hash","id":3260,"timestamp":1672453492420,"duration":5843,"tags":{},"startTime":1664595497370},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"NextJsBuildManifest-generateClientManifest","id":3262,"timestamp":1672453499231,"duration":57,"tags":{},"startTime":1664595497376},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"NextJsBuildManifest-createassets","id":3261,"timestamp":1672453499177,"duration":114,"tags":{},"startTime":1664595497376},{"traceId":"43f2de6d909a73f7","parentId":3240,"name":"webpack-compilation-seal","id":3254,"timestamp":1672453460042,"duration":40258,"tags":{},"startTime":1664595497337},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"webpack-compilation","id":3240,"timestamp":1672453355157,"duration":145166,"tags":{"name":"client"},"startTime":1664595497232},{"traceId":"43f2de6d909a73f7","parentId":3238,"name":"emit","id":3263,"timestamp":1672453500337,"duration":4375,"tags":{},"startTime":1664595497378},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3238,"timestamp":1672453343627,"duration":161534,"tags":{"trigger":"manual"},"startTime":1664595497221},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3266,"timestamp":1672453514406,"duration":0,"tags":{},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3267,"timestamp":1672453514458,"duration":0,"tags":{},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3271,"timestamp":1672453514807,"duration":2392,"tags":{"request":"./pages/index.tsx"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3270,"timestamp":1672453514805,"duration":2558,"tags":{"request":"private-next-pages/_error"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3269,"timestamp":1672453514801,"duration":2564,"tags":{"request":"private-next-pages/_document"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"add-entry","id":3268,"timestamp":1672453514732,"duration":2798,"tags":{"request":"private-next-pages/_app"},"startTime":1664595497392},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"make","id":3265,"timestamp":1672453506075,"duration":11471,"tags":{},"startTime":1664595497383},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-chunk-graph","id":3273,"timestamp":1672453517796,"duration":202,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-modules","id":3275,"timestamp":1672453518008,"duration":2,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-chunks","id":3276,"timestamp":1672453518017,"duration":15,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize-tree","id":3277,"timestamp":1672453518040,"duration":2,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-optimize","id":3274,"timestamp":1672453518005,"duration":80,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-hash","id":3278,"timestamp":1672453518793,"duration":438,"tags":{},"startTime":1664595497396},{"traceId":"43f2de6d909a73f7","parentId":3264,"name":"webpack-compilation-seal","id":3272,"timestamp":1672453517732,"duration":2014,"tags":{},"startTime":1664595497395},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"webpack-compilation","id":3264,"timestamp":1672453505932,"duration":13826,"tags":{"name":"server"},"startTime":1664595497383},{"traceId":"43f2de6d909a73f7","parentId":3239,"name":"emit","id":3279,"timestamp":1672453519767,"duration":1582,"tags":{},"startTime":1664595497397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3239,"timestamp":1672453344432,"duration":177485,"tags":{"trigger":"manual"},"startTime":1664595497222}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3280,"timestamp":1672453768957,"duration":0,"tags":{},"startTime":1664595497646},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3281,"timestamp":1672453769193,"duration":0,"tags":{},"startTime":1664595497646},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3289,"timestamp":1672459834818,"duration":3761,"tags":{"request":"./pages/index.tsx"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3288,"timestamp":1672459834815,"duration":4063,"tags":{"request":"private-next-pages/_error"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3287,"timestamp":1672459834811,"duration":4082,"tags":{"request":"private-next-pages/_document"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3291,"name":"next-swc-transform","id":3292,"timestamp":1672459839286,"duration":1629,"tags":{},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3290,"name":"next-swc-loader","id":3291,"timestamp":1672459839234,"duration":1690,"tags":{},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"build-module-tsx","id":3290,"timestamp":1672459839020,"duration":4207,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503716},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"add-entry","id":3286,"timestamp":1672459834742,"duration":10707,"tags":{"request":"private-next-pages/_app"},"startTime":1664595503712},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"make","id":3285,"timestamp":1672459831284,"duration":14182,"tags":{},"startTime":1664595503708},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-chunk-graph","id":3294,"timestamp":1672459845803,"duration":229,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-modules","id":3296,"timestamp":1672459846041,"duration":2,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-chunks","id":3297,"timestamp":1672459846050,"duration":18,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize-tree","id":3298,"timestamp":1672459846078,"duration":3,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-optimize","id":3295,"timestamp":1672459846038,"duration":88,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-hash","id":3299,"timestamp":1672459847116,"duration":430,"tags":{},"startTime":1664595503724},{"traceId":"43f2de6d909a73f7","parentId":3284,"name":"webpack-compilation-seal","id":3293,"timestamp":1672459845731,"duration":3369,"tags":{},"startTime":1664595503723},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"webpack-compilation","id":3284,"timestamp":1672459831119,"duration":18006,"tags":{"name":"server"},"startTime":1664595503708},{"traceId":"43f2de6d909a73f7","parentId":3282,"name":"emit","id":3300,"timestamp":1672459849140,"duration":3654,"tags":{},"startTime":1664595503726},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3282,"timestamp":1672459824212,"duration":28825,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503701},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3303,"timestamp":1672459858374,"duration":3689,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595503735},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3304,"timestamp":1672459858407,"duration":4290,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"read-resource","id":3311,"timestamp":1672459862895,"duration":31,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3312,"name":"postcss-process","id":3313,"timestamp":1672459862954,"duration":29224,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"postcss-loader","id":3312,"timestamp":1672459862944,"duration":29459,"tags":{},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3310,"name":"css-loader","id":3314,"timestamp":1672459892429,"duration":10548,"tags":{"astUsed":"true"},"startTime":1664595503770},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"build-module-css","id":3310,"timestamp":1672459862796,"duration":41141,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595503740},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3308,"timestamp":1672459858426,"duration":45957,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3307,"timestamp":1672459858423,"duration":45970,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3309,"timestamp":1672459858429,"duration":49369,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3305,"timestamp":1672459858417,"duration":49878,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3316,"name":"next-swc-transform","id":3317,"timestamp":1672459908340,"duration":1917,"tags":{},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3315,"name":"next-swc-loader","id":3316,"timestamp":1672459908301,"duration":1960,"tags":{},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"build-module-tsx","id":3315,"timestamp":1672459908112,"duration":4493,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503785},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"add-entry","id":3306,"timestamp":1672459858420,"duration":77442,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595503736},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"make","id":3302,"timestamp":1672459856942,"duration":78940,"tags":{},"startTime":1664595503734},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-chunk-graph","id":3319,"timestamp":1672459940131,"duration":5896,"tags":{},"startTime":1664595503817},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-modules","id":3321,"timestamp":1672459946052,"duration":3,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-chunks","id":3322,"timestamp":1672459946064,"duration":31,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize-tree","id":3323,"timestamp":1672459946114,"duration":3,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-optimize","id":3320,"timestamp":1672459946044,"duration":940,"tags":{},"startTime":1664595503823},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-hash","id":3324,"timestamp":1672459954396,"duration":3358,"tags":{},"startTime":1664595503832},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"NextJsBuildManifest-generateClientManifest","id":3326,"timestamp":1672459966740,"duration":47,"tags":{},"startTime":1664595503844},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"NextJsBuildManifest-createassets","id":3325,"timestamp":1672459966694,"duration":100,"tags":{},"startTime":1664595503844},{"traceId":"43f2de6d909a73f7","parentId":3301,"name":"webpack-compilation-seal","id":3318,"timestamp":1672459936864,"duration":31439,"tags":{},"startTime":1664595503814},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"webpack-compilation","id":3301,"timestamp":1672459856723,"duration":111603,"tags":{"name":"client"},"startTime":1664595503734},{"traceId":"43f2de6d909a73f7","parentId":3283,"name":"emit","id":3327,"timestamp":1672459968341,"duration":101226,"tags":{},"startTime":1664595503845},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3283,"timestamp":1672459824344,"duration":246463,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595503701}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3328,"timestamp":1672460084089,"duration":0,"tags":{},"startTime":1664595503961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3329,"timestamp":1664595503702000,"duration":289999,"tags":{"clientId":1664595301700},"startTime":1664595503994},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3330,"timestamp":1672464275823,"duration":1,"tags":{},"startTime":1664595508153},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3331,"timestamp":1672464282210,"duration":0,"tags":{},"startTime":1664595508159},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3332,"timestamp":1672465650489,"duration":0,"tags":{},"startTime":1664595509528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3333,"timestamp":1672465651150,"duration":0,"tags":{},"startTime":1664595509528},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3338,"timestamp":1672473041684,"duration":10405,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3343,"timestamp":1672473041789,"duration":13400,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"read-resource","id":3346,"timestamp":1672473054962,"duration":1125,"tags":{},"startTime":1664595516932},{"traceId":"43f2de6d909a73f7","parentId":3350,"name":"postcss-process","id":3351,"timestamp":1672473056118,"duration":39456,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"postcss-loader","id":3350,"timestamp":1672473056107,"duration":39839,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3345,"name":"css-loader","id":3352,"timestamp":1672473095981,"duration":11486,"tags":{"astUsed":"true"},"startTime":1664595516973},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"build-module-css","id":3345,"timestamp":1672473054745,"duration":63178,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595516932},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3339,"timestamp":1672473041775,"duration":76688,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3348,"name":"next-swc-transform","id":3349,"timestamp":1672473055718,"duration":63228,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3347,"name":"next-swc-loader","id":3348,"timestamp":1672473055629,"duration":63320,"tags":{},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"build-module-tsx","id":3347,"timestamp":1672473055530,"duration":67467,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516933},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3342,"timestamp":1672473041786,"duration":81403,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3344,"timestamp":1672473041791,"duration":87358,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3340,"timestamp":1672473041779,"duration":92894,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"add-entry","id":3341,"timestamp":1672473041783,"duration":128461,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595516919},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"make","id":3337,"timestamp":1672473040822,"duration":129441,"tags":{},"startTime":1664595516918},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-chunk-graph","id":3354,"timestamp":1672473174882,"duration":18933,"tags":{},"startTime":1664595517052},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-modules","id":3356,"timestamp":1672473193871,"duration":12,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-chunks","id":3357,"timestamp":1672473193915,"duration":92,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize-tree","id":3358,"timestamp":1672473194052,"duration":12,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-optimize","id":3355,"timestamp":1672473193846,"duration":1736,"tags":{},"startTime":1664595517071},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-hash","id":3359,"timestamp":1672473206257,"duration":7713,"tags":{},"startTime":1664595517083},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"NextJsBuildManifest-generateClientManifest","id":3361,"timestamp":1672473223603,"duration":63,"tags":{},"startTime":1664595517101},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"NextJsBuildManifest-createassets","id":3360,"timestamp":1672473223547,"duration":133,"tags":{},"startTime":1664595517101},{"traceId":"43f2de6d909a73f7","parentId":3336,"name":"webpack-compilation-seal","id":3353,"timestamp":1672473171472,"duration":54145,"tags":{},"startTime":1664595517049},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"webpack-compilation","id":3336,"timestamp":1672473040589,"duration":185056,"tags":{"name":"client"},"startTime":1664595516918},{"traceId":"43f2de6d909a73f7","parentId":3334,"name":"emit","id":3362,"timestamp":1672473225662,"duration":92166,"tags":{},"startTime":1664595517103},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3334,"timestamp":1672473026806,"duration":302054,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516904},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3365,"timestamp":1672473344378,"duration":0,"tags":{},"startTime":1664595517221},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3369,"timestamp":1672473345862,"duration":5171,"tags":{"request":"./pages/index.tsx"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3368,"timestamp":1672473345860,"duration":6038,"tags":{"request":"private-next-pages/_error"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3367,"timestamp":1672473345855,"duration":6047,"tags":{"request":"private-next-pages/_document"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3371,"name":"next-swc-transform","id":3372,"timestamp":1672473351562,"duration":1596,"tags":{},"startTime":1664595517229},{"traceId":"43f2de6d909a73f7","parentId":3370,"name":"next-swc-loader","id":3371,"timestamp":1672473351492,"duration":1669,"tags":{},"startTime":1664595517229},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"build-module-tsx","id":3370,"timestamp":1672473351351,"duration":11300,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595517228},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"add-entry","id":3366,"timestamp":1672473345757,"duration":21378,"tags":{"request":"private-next-pages/_app"},"startTime":1664595517223},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"make","id":3364,"timestamp":1672473330563,"duration":36589,"tags":{},"startTime":1664595517208},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-chunk-graph","id":3374,"timestamp":1672473367566,"duration":297,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-modules","id":3376,"timestamp":1672473367871,"duration":2,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-chunks","id":3377,"timestamp":1672473367908,"duration":35,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize-tree","id":3378,"timestamp":1672473367969,"duration":16,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-optimize","id":3375,"timestamp":1672473367868,"duration":219,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-hash","id":3379,"timestamp":1672473369796,"duration":2076,"tags":{},"startTime":1664595517247},{"traceId":"43f2de6d909a73f7","parentId":3363,"name":"webpack-compilation-seal","id":3373,"timestamp":1672473367486,"duration":6216,"tags":{},"startTime":1664595517245},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"webpack-compilation","id":3363,"timestamp":1672473330289,"duration":43440,"tags":{"name":"server"},"startTime":1664595517207},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3381,"timestamp":1664595516904999,"duration":344999,"tags":{"clientId":1664595301700},"startTime":1664595517251},{"traceId":"43f2de6d909a73f7","parentId":3335,"name":"emit","id":3380,"timestamp":1672473373750,"duration":2859,"tags":{},"startTime":1664595517251},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3335,"timestamp":1672473027075,"duration":350125,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664595516904}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3382,"timestamp":1672476390586,"duration":0,"tags":{},"startTime":1664595520268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3383,"timestamp":1672476391360,"duration":0,"tags":{},"startTime":1664595520268},{"traceId":"43f2de6d909a73f7","parentId":3392,"name":"next-swc-transform","id":3393,"timestamp":1672550629870,"duration":999,"tags":{},"startTime":1664595594507},{"traceId":"43f2de6d909a73f7","parentId":3391,"name":"next-swc-loader","id":3392,"timestamp":1672550629779,"duration":1099,"tags":{},"startTime":1664595594507},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"build-module-tsx","id":3391,"timestamp":1672550629559,"duration":3150,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594506},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3390,"timestamp":1672550619168,"duration":14249,"tags":{"request":"private-next-pages/_error"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3389,"timestamp":1672550619163,"duration":14263,"tags":{"request":"private-next-pages/_document"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"add-entry","id":3388,"timestamp":1672550619091,"duration":22099,"tags":{"request":"private-next-pages/_app"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"make","id":3387,"timestamp":1672550618885,"duration":22320,"tags":{},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-chunk-graph","id":3395,"timestamp":1672550641533,"duration":244,"tags":{},"startTime":1664595594518},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-modules","id":3397,"timestamp":1672550641787,"duration":2,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-chunks","id":3398,"timestamp":1672550641796,"duration":23,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize-tree","id":3399,"timestamp":1672550641827,"duration":4,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-optimize","id":3396,"timestamp":1672550641782,"duration":102,"tags":{},"startTime":1664595594519},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-hash","id":3400,"timestamp":1672550642696,"duration":501,"tags":{},"startTime":1664595594520},{"traceId":"43f2de6d909a73f7","parentId":3386,"name":"webpack-compilation-seal","id":3394,"timestamp":1672550641463,"duration":2003,"tags":{},"startTime":1664595594518},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"webpack-compilation","id":3386,"timestamp":1672550618665,"duration":24818,"tags":{"name":"server"},"startTime":1664595594496},{"traceId":"43f2de6d909a73f7","parentId":3384,"name":"emit","id":3401,"timestamp":1672550643492,"duration":1117,"tags":{},"startTime":1664595594520},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3384,"timestamp":1672550612705,"duration":32209,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594490},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3404,"timestamp":1672550649862,"duration":4071,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3409,"timestamp":1672550649906,"duration":4970,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"read-resource","id":3412,"timestamp":1672550654695,"duration":882,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3416,"name":"postcss-process","id":3417,"timestamp":1672550655603,"duration":34409,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"postcss-loader","id":3416,"timestamp":1672550655595,"duration":34578,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3411,"name":"css-loader","id":3418,"timestamp":1672550690198,"duration":10235,"tags":{"astUsed":"true"},"startTime":1664595594567},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"build-module-css","id":3411,"timestamp":1672550654552,"duration":47122,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595594531},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3405,"timestamp":1672550649893,"duration":52489,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3414,"name":"next-swc-transform","id":3415,"timestamp":1672550655016,"duration":47745,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3413,"name":"next-swc-loader","id":3414,"timestamp":1672550654973,"duration":47790,"tags":{},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"build-module-tsx","id":3413,"timestamp":1672550654895,"duration":49127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594532},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3408,"timestamp":1672550649902,"duration":55042,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3410,"timestamp":1672550649908,"duration":63084,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3406,"timestamp":1672550649896,"duration":112717,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"add-entry","id":3407,"timestamp":1672550649899,"duration":320362,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595594527},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"make","id":3403,"timestamp":1672550648411,"duration":321936,"tags":{},"startTime":1664595594525},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-chunk-graph","id":3420,"timestamp":1672550975069,"duration":16502,"tags":{},"startTime":1664595594852},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-modules","id":3422,"timestamp":1672550991596,"duration":2,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-chunks","id":3423,"timestamp":1672550991608,"duration":45,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize-tree","id":3424,"timestamp":1672550991671,"duration":5,"tags":{},"startTime":1664595594869},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-optimize","id":3421,"timestamp":1672550991588,"duration":1449,"tags":{},"startTime":1664595594868},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-hash","id":3425,"timestamp":1672551004926,"duration":4265,"tags":{},"startTime":1664595594882},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"NextJsBuildManifest-generateClientManifest","id":3427,"timestamp":1672551010291,"duration":183,"tags":{},"startTime":1664595594887},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"NextJsBuildManifest-createassets","id":3426,"timestamp":1672551010200,"duration":278,"tags":{},"startTime":1664595594887},{"traceId":"43f2de6d909a73f7","parentId":3402,"name":"webpack-compilation-seal","id":3419,"timestamp":1672550971660,"duration":39664,"tags":{},"startTime":1664595594849},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"webpack-compilation","id":3402,"timestamp":1672550648238,"duration":363108,"tags":{"name":"client"},"startTime":1664595594525},{"traceId":"43f2de6d909a73f7","parentId":3385,"name":"emit","id":3428,"timestamp":1672551011385,"duration":2341,"tags":{},"startTime":1664595594888},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3385,"timestamp":1672550612882,"duration":401532,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595594490}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3429,"timestamp":1672551026369,"duration":0,"tags":{},"startTime":1664595594903},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3430,"timestamp":1672551027622,"duration":0,"tags":{},"startTime":1664595594904},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3437,"timestamp":1672555239863,"duration":7720,"tags":{"request":"private-next-pages/_error"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3436,"timestamp":1672555239858,"duration":7737,"tags":{"request":"private-next-pages/_document"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3439,"name":"next-swc-transform","id":3440,"timestamp":1672555247294,"duration":892,"tags":{},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3438,"name":"next-swc-loader","id":3439,"timestamp":1672555247182,"duration":1012,"tags":{},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"build-module-tsx","id":3438,"timestamp":1672555246976,"duration":2990,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599124},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"add-entry","id":3435,"timestamp":1672555239817,"duration":11422,"tags":{"request":"private-next-pages/_app"},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"make","id":3434,"timestamp":1672555239711,"duration":11540,"tags":{},"startTime":1664595599117},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-chunk-graph","id":3442,"timestamp":1672555251628,"duration":221,"tags":{},"startTime":1664595599128},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-modules","id":3444,"timestamp":1672555251858,"duration":20,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-chunks","id":3445,"timestamp":1672555251887,"duration":21,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize-tree","id":3446,"timestamp":1672555251918,"duration":3,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-optimize","id":3443,"timestamp":1672555251854,"duration":164,"tags":{},"startTime":1664595599129},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-hash","id":3447,"timestamp":1672555253153,"duration":601,"tags":{},"startTime":1664595599130},{"traceId":"43f2de6d909a73f7","parentId":3433,"name":"webpack-compilation-seal","id":3441,"timestamp":1672555251537,"duration":3157,"tags":{},"startTime":1664595599128},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"webpack-compilation","id":3433,"timestamp":1672555239492,"duration":15229,"tags":{"name":"server"},"startTime":1664595599116},{"traceId":"43f2de6d909a73f7","parentId":3431,"name":"emit","id":3448,"timestamp":1672555254738,"duration":1929,"tags":{},"startTime":1664595599132},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3431,"timestamp":1672555232325,"duration":24557,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599109},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3451,"timestamp":1672555262207,"duration":6439,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3452,"timestamp":1672555262246,"duration":7078,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"read-resource","id":3459,"timestamp":1672555269574,"duration":32,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3460,"name":"postcss-process","id":3461,"timestamp":1672555269636,"duration":32270,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"postcss-loader","id":3460,"timestamp":1672555269626,"duration":32434,"tags":{},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3458,"name":"css-loader","id":3462,"timestamp":1672555302089,"duration":8302,"tags":{"astUsed":"true"},"startTime":1664595599179},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"build-module-css","id":3458,"timestamp":1672555269432,"duration":42166,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595599146},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3456,"timestamp":1672555262260,"duration":49806,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3455,"timestamp":1672555262256,"duration":49820,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3464,"name":"next-swc-transform","id":3465,"timestamp":1672555312528,"duration":1778,"tags":{},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3463,"name":"next-swc-loader","id":3464,"timestamp":1672555312498,"duration":1811,"tags":{},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"build-module-tsx","id":3463,"timestamp":1672555312404,"duration":3255,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599189},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3457,"timestamp":1672555262262,"duration":54849,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3453,"timestamp":1672555262250,"duration":55344,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"add-entry","id":3454,"timestamp":1672555262253,"duration":81736,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595599139},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"make","id":3450,"timestamp":1672555260751,"duration":83258,"tags":{},"startTime":1664595599138},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-chunk-graph","id":3467,"timestamp":1672555348134,"duration":3586,"tags":{},"startTime":1664595599225},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-modules","id":3469,"timestamp":1672555351739,"duration":2,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-chunks","id":3470,"timestamp":1672555351751,"duration":29,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize-tree","id":3471,"timestamp":1672555351794,"duration":5,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-optimize","id":3468,"timestamp":1672555351733,"duration":922,"tags":{},"startTime":1664595599229},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-hash","id":3472,"timestamp":1672555362106,"duration":3720,"tags":{},"startTime":1664595599239},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"NextJsBuildManifest-generateClientManifest","id":3474,"timestamp":1672555376401,"duration":56,"tags":{},"startTime":1664595599253},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"NextJsBuildManifest-createassets","id":3473,"timestamp":1672555376346,"duration":118,"tags":{},"startTime":1664595599253},{"traceId":"43f2de6d909a73f7","parentId":3449,"name":"webpack-compilation-seal","id":3466,"timestamp":1672555344958,"duration":33560,"tags":{},"startTime":1664595599222},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"webpack-compilation","id":3449,"timestamp":1672555260562,"duration":117988,"tags":{"name":"client"},"startTime":1664595599137},{"traceId":"43f2de6d909a73f7","parentId":3432,"name":"emit","id":3475,"timestamp":1672555378568,"duration":86624,"tags":{},"startTime":1664595599255},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3432,"timestamp":1672555232499,"duration":233251,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664595599109}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3476,"timestamp":1672555475660,"duration":0,"tags":{},"startTime":1664595599353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3477,"timestamp":1672555475835,"duration":0,"tags":{},"startTime":1664595599353},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3478,"timestamp":1664595599110000,"duration":248999,"tags":{"clientId":1664595509559},"startTime":1664595599359},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3479,"timestamp":1664595599110000,"duration":272000,"tags":{"clientId":1664595301700},"startTime":1664595599382},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3486,"timestamp":1672560707984,"duration":11679,"tags":{"request":"private-next-pages/_error"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3485,"timestamp":1672560707979,"duration":11701,"tags":{"request":"private-next-pages/_document"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3488,"name":"next-swc-transform","id":3489,"timestamp":1672560719238,"duration":1307,"tags":{},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3487,"name":"next-swc-loader","id":3488,"timestamp":1672560719151,"duration":1397,"tags":{},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"build-module-tsx","id":3487,"timestamp":1672560718947,"duration":6210,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604596},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"add-entry","id":3484,"timestamp":1672560707880,"duration":21458,"tags":{"request":"private-next-pages/_app"},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"make","id":3483,"timestamp":1672560707693,"duration":21667,"tags":{},"startTime":1664595604585},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-chunk-graph","id":3491,"timestamp":1672560729852,"duration":256,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-modules","id":3493,"timestamp":1672560730134,"duration":9,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-chunks","id":3494,"timestamp":1672560730171,"duration":31,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize-tree","id":3495,"timestamp":1672560730225,"duration":13,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-optimize","id":3492,"timestamp":1672560730122,"duration":212,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-hash","id":3496,"timestamp":1672560731401,"duration":1676,"tags":{},"startTime":1664595604608},{"traceId":"43f2de6d909a73f7","parentId":3482,"name":"webpack-compilation-seal","id":3490,"timestamp":1672560729749,"duration":3723,"tags":{},"startTime":1664595604607},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"webpack-compilation","id":3482,"timestamp":1672560707454,"duration":26039,"tags":{"name":"server"},"startTime":1664595604584},{"traceId":"43f2de6d909a73f7","parentId":3480,"name":"emit","id":3497,"timestamp":1672560733503,"duration":844,"tags":{},"startTime":1664595604610},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3480,"timestamp":1672560700371,"duration":34344,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604577},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3500,"timestamp":1672560740315,"duration":3305,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3501,"timestamp":1672560740341,"duration":3803,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"read-resource","id":3508,"timestamp":1672560744369,"duration":88,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3510,"name":"postcss-process","id":3511,"timestamp":1672560744478,"duration":35207,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"postcss-loader","id":3510,"timestamp":1672560744469,"duration":35656,"tags":{},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3507,"name":"css-loader","id":3514,"timestamp":1672560780157,"duration":11722,"tags":{"astUsed":"true"},"startTime":1664595604657},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"build-module-css","id":3507,"timestamp":1672560744237,"duration":53713,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3512,"name":"next-swc-transform","id":3513,"timestamp":1672560744774,"duration":53391,"tags":{},"startTime":1664595604622},{"traceId":"43f2de6d909a73f7","parentId":3509,"name":"next-swc-loader","id":3512,"timestamp":1672560744725,"duration":53443,"tags":{},"startTime":1664595604622},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"build-module-tsx","id":3509,"timestamp":1672560744388,"duration":58104,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604621},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3505,"timestamp":1672560740355,"duration":62496,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3504,"timestamp":1672560740352,"duration":62516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3506,"timestamp":1672560740357,"duration":67694,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3502,"timestamp":1672560740345,"duration":67888,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"add-entry","id":3503,"timestamp":1672560740347,"duration":96857,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595604617},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"make","id":3499,"timestamp":1672560738199,"duration":99030,"tags":{},"startTime":1664595604615},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-chunk-graph","id":3516,"timestamp":1672560841644,"duration":15887,"tags":{},"startTime":1664595604718},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-modules","id":3518,"timestamp":1672560857553,"duration":2,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-chunks","id":3519,"timestamp":1672560857621,"duration":45,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize-tree","id":3520,"timestamp":1672560857700,"duration":15,"tags":{},"startTime":1664595604735},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-optimize","id":3517,"timestamp":1672560857546,"duration":1604,"tags":{},"startTime":1664595604734},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-hash","id":3521,"timestamp":1672560870442,"duration":6026,"tags":{},"startTime":1664595604747},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"NextJsBuildManifest-generateClientManifest","id":3523,"timestamp":1672560877602,"duration":85,"tags":{},"startTime":1664595604754},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"NextJsBuildManifest-createassets","id":3522,"timestamp":1672560877536,"duration":156,"tags":{},"startTime":1664595604754},{"traceId":"43f2de6d909a73f7","parentId":3498,"name":"webpack-compilation-seal","id":3515,"timestamp":1672560838423,"duration":40404,"tags":{},"startTime":1664595604715},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"webpack-compilation","id":3498,"timestamp":1672560738023,"duration":140828,"tags":{"name":"client"},"startTime":1664595604615},{"traceId":"43f2de6d909a73f7","parentId":3481,"name":"emit","id":3524,"timestamp":1672560878868,"duration":4304,"tags":{},"startTime":1664595604756},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3481,"timestamp":1672560700598,"duration":183191,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595604577}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3526,"timestamp":1672560898071,"duration":0,"tags":{},"startTime":1664595604775},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3527,"timestamp":1672560898118,"duration":0,"tags":{},"startTime":1664595604775},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3530,"timestamp":1672560912372,"duration":6431,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3531,"timestamp":1672560912414,"duration":8058,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"read-resource","id":3538,"timestamp":1672560921174,"duration":54,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3539,"name":"postcss-process","id":3540,"timestamp":1672560921267,"duration":44775,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"postcss-loader","id":3539,"timestamp":1672560921255,"duration":45021,"tags":{},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3537,"name":"css-loader","id":3541,"timestamp":1672560966314,"duration":9940,"tags":{"astUsed":"true"},"startTime":1664595604843},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"build-module-css","id":3537,"timestamp":1672560920668,"duration":56725,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595604798},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3535,"timestamp":1672560912429,"duration":73450,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3534,"timestamp":1672560912426,"duration":73476,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3536,"timestamp":1672560912432,"duration":77588,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3532,"timestamp":1672560912419,"duration":77883,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"add-entry","id":3533,"timestamp":1672560912423,"duration":109987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595604789},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"make","id":3529,"timestamp":1672560911269,"duration":111182,"tags":{},"startTime":1664595604788},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-chunk-graph","id":3543,"timestamp":1672561026858,"duration":17067,"tags":{},"startTime":1664595604904},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-modules","id":3545,"timestamp":1672561043949,"duration":3,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-chunks","id":3546,"timestamp":1672561043960,"duration":77,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize-tree","id":3547,"timestamp":1672561044059,"duration":5,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-optimize","id":3544,"timestamp":1672561043941,"duration":1447,"tags":{},"startTime":1664595604921},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-hash","id":3548,"timestamp":1672561056229,"duration":3880,"tags":{},"startTime":1664595604933},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"NextJsBuildManifest-generateClientManifest","id":3550,"timestamp":1672561061067,"duration":68,"tags":{},"startTime":1664595604938},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"NextJsBuildManifest-createassets","id":3549,"timestamp":1672561061001,"duration":137,"tags":{},"startTime":1664595604938},{"traceId":"43f2de6d909a73f7","parentId":3528,"name":"webpack-compilation-seal","id":3542,"timestamp":1672561023665,"duration":38504,"tags":{},"startTime":1664595604901},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"webpack-compilation","id":3528,"timestamp":1672560910942,"duration":151252,"tags":{"name":"client"},"startTime":1664595604788},{"traceId":"43f2de6d909a73f7","parentId":3525,"name":"emit","id":3551,"timestamp":1672561062213,"duration":7502,"tags":{},"startTime":1664595604939},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3525,"timestamp":1672560896556,"duration":174013,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595604773}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3552,"timestamp":1672561080893,"duration":0,"tags":{},"startTime":1664595604958},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3553,"timestamp":1672561080945,"duration":0,"tags":{},"startTime":1664595604958},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3558,"timestamp":1672667124889,"duration":8441,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3563,"timestamp":1672667124959,"duration":9801,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"read-resource","id":3566,"timestamp":1672667134571,"duration":729,"tags":{},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3570,"name":"postcss-process","id":3571,"timestamp":1672667135332,"duration":31452,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"postcss-loader","id":3570,"timestamp":1672667135323,"duration":31670,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3565,"name":"css-loader","id":3572,"timestamp":1672667167024,"duration":15041,"tags":{"astUsed":"true"},"startTime":1664595711044},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"build-module-css","id":3565,"timestamp":1672667134401,"duration":49187,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3568,"name":"next-swc-transform","id":3569,"timestamp":1672667134942,"duration":49999,"tags":{},"startTime":1664595711012},{"traceId":"43f2de6d909a73f7","parentId":3567,"name":"next-swc-loader","id":3568,"timestamp":1672667134858,"duration":50087,"tags":{},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"build-module-tsx","id":3567,"timestamp":1672667134781,"duration":51649,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595711011},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3559,"timestamp":1672667124947,"duration":63130,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3562,"timestamp":1672667124956,"duration":63343,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3564,"timestamp":1672667124961,"duration":71998,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3560,"timestamp":1672667124951,"duration":78100,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"add-entry","id":3561,"timestamp":1672667124954,"duration":112609,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595711002},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"make","id":3557,"timestamp":1672667123862,"duration":113726,"tags":{},"startTime":1664595711000},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-chunk-graph","id":3574,"timestamp":1672667242417,"duration":17978,"tags":{},"startTime":1664595711119},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-modules","id":3576,"timestamp":1672667260416,"duration":2,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-chunks","id":3577,"timestamp":1672667260428,"duration":40,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize-tree","id":3578,"timestamp":1672667260493,"duration":3,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-optimize","id":3575,"timestamp":1672667260409,"duration":1392,"tags":{},"startTime":1664595711137},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-hash","id":3579,"timestamp":1672667271958,"duration":6510,"tags":{},"startTime":1664595711149},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"NextJsBuildManifest-generateClientManifest","id":3581,"timestamp":1672667286362,"duration":82,"tags":{},"startTime":1664595711163},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"NextJsBuildManifest-createassets","id":3580,"timestamp":1672667286309,"duration":142,"tags":{},"startTime":1664595711163},{"traceId":"43f2de6d909a73f7","parentId":3556,"name":"webpack-compilation-seal","id":3573,"timestamp":1672667238809,"duration":49412,"tags":{},"startTime":1664595711115},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"webpack-compilation","id":3556,"timestamp":1672667123427,"duration":164823,"tags":{"name":"client"},"startTime":1664595711000},{"traceId":"43f2de6d909a73f7","parentId":3554,"name":"emit","id":3582,"timestamp":1672667288264,"duration":98548,"tags":{},"startTime":1664595711165},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3554,"timestamp":1672667110264,"duration":277463,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595710987},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3588,"timestamp":1672667402424,"duration":0,"tags":{},"startTime":1664595711279},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3589,"timestamp":1672667402648,"duration":0,"tags":{},"startTime":1664595711279},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3587,"timestamp":1672667401757,"duration":8447,"tags":{"request":"private-next-pages/_error"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3586,"timestamp":1672667401753,"duration":8469,"tags":{"request":"private-next-pages/_document"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3591,"name":"next-swc-transform","id":3592,"timestamp":1672667409461,"duration":792,"tags":{},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3590,"name":"next-swc-loader","id":3591,"timestamp":1672667409383,"duration":872,"tags":{},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"build-module-tsx","id":3590,"timestamp":1672667409210,"duration":2537,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595711286},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"add-entry","id":3585,"timestamp":1672667401649,"duration":10385,"tags":{"request":"private-next-pages/_app"},"startTime":1664595711278},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"make","id":3584,"timestamp":1672667389061,"duration":22985,"tags":{},"startTime":1664595711266},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-chunk-graph","id":3594,"timestamp":1672667412573,"duration":284,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-modules","id":3596,"timestamp":1672667412868,"duration":2,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-chunks","id":3597,"timestamp":1672667412881,"duration":28,"tags":{},"startTime":1664595711290},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize-tree","id":3598,"timestamp":1672667412922,"duration":5,"tags":{},"startTime":1664595711290},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-optimize","id":3595,"timestamp":1672667412865,"duration":131,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-hash","id":3599,"timestamp":1672667414147,"duration":694,"tags":{},"startTime":1664595711291},{"traceId":"43f2de6d909a73f7","parentId":3583,"name":"webpack-compilation-seal","id":3593,"timestamp":1672667412485,"duration":3107,"tags":{},"startTime":1664595711289},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"webpack-compilation","id":3583,"timestamp":1672667388811,"duration":26801,"tags":{"name":"server"},"startTime":1664595711265},{"traceId":"43f2de6d909a73f7","parentId":3555,"name":"emit","id":3600,"timestamp":1672667415625,"duration":3750,"tags":{},"startTime":1664595711292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3555,"timestamp":1672667110598,"duration":309523,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664595710987}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3601,"timestamp":1664595710988000,"duration":311000,"tags":{"clientId":1664595509559},"startTime":1664595711299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3602,"timestamp":1664595710992000,"duration":347000,"tags":{"clientId":1664595301700},"startTime":1664595711340},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3607,"timestamp":1672703397171,"duration":3548,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3608,"timestamp":1672703397254,"duration":4090,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"read-resource","id":3615,"timestamp":1672703401579,"duration":92,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3617,"name":"postcss-process","id":3618,"timestamp":1672703401697,"duration":38668,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"postcss-loader","id":3617,"timestamp":1672703401688,"duration":38864,"tags":{},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3614,"name":"css-loader","id":3621,"timestamp":1672703440582,"duration":11194,"tags":{"astUsed":"true"},"startTime":1664595747317},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"build-module-css","id":3614,"timestamp":1672703401438,"duration":52151,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3619,"name":"next-swc-transform","id":3620,"timestamp":1672703402012,"duration":51764,"tags":{},"startTime":1664595747279},{"traceId":"43f2de6d909a73f7","parentId":3616,"name":"next-swc-loader","id":3619,"timestamp":1672703401976,"duration":51802,"tags":{},"startTime":1664595747279},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"build-module-tsx","id":3616,"timestamp":1672703401600,"duration":55328,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747278},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3612,"timestamp":1672703397267,"duration":60004,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3611,"timestamp":1672703397264,"duration":60020,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3613,"timestamp":1672703397269,"duration":64561,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3609,"timestamp":1672703397258,"duration":73390,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"add-entry","id":3610,"timestamp":1672703397261,"duration":94733,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595747274},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"make","id":3606,"timestamp":1672703393872,"duration":98148,"tags":{},"startTime":1664595747270},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-chunk-graph","id":3623,"timestamp":1672703496362,"duration":18065,"tags":{},"startTime":1664595747373},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-modules","id":3625,"timestamp":1672703514447,"duration":2,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-chunks","id":3626,"timestamp":1672703514458,"duration":29,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize-tree","id":3627,"timestamp":1672703514501,"duration":2,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-optimize","id":3624,"timestamp":1672703514440,"duration":1505,"tags":{},"startTime":1664595747391},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-hash","id":3628,"timestamp":1672703525749,"duration":5849,"tags":{},"startTime":1664595747402},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"NextJsBuildManifest-generateClientManifest","id":3630,"timestamp":1672703540620,"duration":80,"tags":{},"startTime":1664595747417},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"NextJsBuildManifest-createassets","id":3629,"timestamp":1672703540542,"duration":166,"tags":{},"startTime":1664595747417},{"traceId":"43f2de6d909a73f7","parentId":3605,"name":"webpack-compilation-seal","id":3622,"timestamp":1672703493050,"duration":49687,"tags":{},"startTime":1664595747370},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"webpack-compilation","id":3605,"timestamp":1672703393669,"duration":149102,"tags":{"name":"client"},"startTime":1664595747270},{"traceId":"43f2de6d909a73f7","parentId":3603,"name":"emit","id":3631,"timestamp":1672703542787,"duration":100204,"tags":{},"startTime":1664595747419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3603,"timestamp":1672703381419,"duration":262453,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747258},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3638,"timestamp":1672703658149,"duration":0,"tags":{},"startTime":1664595747535},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3639,"timestamp":1672703658320,"duration":0,"tags":{},"startTime":1664595747535},{"traceId":"43f2de6d909a73f7","parentId":3641,"name":"next-swc-transform","id":3642,"timestamp":1672703662341,"duration":3429,"tags":{},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3640,"name":"next-swc-loader","id":3641,"timestamp":1672703662253,"duration":3523,"tags":{},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"build-module-tsx","id":3640,"timestamp":1672703662113,"duration":6656,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747539},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3637,"timestamp":1672703657543,"duration":13117,"tags":{"request":"private-next-pages/_error"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3636,"timestamp":1672703657539,"duration":13134,"tags":{"request":"private-next-pages/_document"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3643,"timestamp":1664595747534000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664595747553},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"add-entry","id":3635,"timestamp":1672703657483,"duration":20298,"tags":{"request":"private-next-pages/_app"},"startTime":1664595747534},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"make","id":3633,"timestamp":1672703645940,"duration":31869,"tags":{},"startTime":1664595747522},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-chunk-graph","id":3645,"timestamp":1672703678259,"duration":303,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-modules","id":3647,"timestamp":1672703678569,"duration":2,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-chunks","id":3648,"timestamp":1672703678579,"duration":25,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize-tree","id":3649,"timestamp":1672703678612,"duration":4,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-optimize","id":3646,"timestamp":1672703678566,"duration":116,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-hash","id":3650,"timestamp":1672703680027,"duration":446,"tags":{},"startTime":1664595747557},{"traceId":"43f2de6d909a73f7","parentId":3632,"name":"webpack-compilation-seal","id":3644,"timestamp":1672703678169,"duration":3461,"tags":{},"startTime":1664595747555},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"webpack-compilation","id":3632,"timestamp":1672703645607,"duration":36044,"tags":{"name":"server"},"startTime":1664595747522},{"traceId":"43f2de6d909a73f7","parentId":3604,"name":"emit","id":3651,"timestamp":1672703681662,"duration":5245,"tags":{},"startTime":1664595747558},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3604,"timestamp":1672703381660,"duration":305668,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595747258},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3654,"timestamp":1664595747534000,"duration":28999,"tags":{"clientId":1664595301700},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3655,"timestamp":1672703692614,"duration":4211,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3656,"timestamp":1672703692654,"duration":4870,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"read-resource","id":3663,"timestamp":1672703697779,"duration":43,"tags":{},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3664,"name":"postcss-process","id":3665,"timestamp":1672703697962,"duration":34736,"tags":{},"startTime":1664595747575},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"postcss-loader","id":3664,"timestamp":1672703697951,"duration":34984,"tags":{},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3662,"name":"css-loader","id":3666,"timestamp":1672703732969,"duration":8751,"tags":{"astUsed":"true"},"startTime":1664595747610},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"build-module-css","id":3662,"timestamp":1672703697634,"duration":45167,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595747574},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3660,"timestamp":1672703692666,"duration":52766,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3659,"timestamp":1672703692663,"duration":52807,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3661,"timestamp":1672703692668,"duration":56573,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3657,"timestamp":1672703692658,"duration":56892,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"add-entry","id":3658,"timestamp":1672703692660,"duration":90828,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595747569},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"make","id":3653,"timestamp":1672703691228,"duration":92283,"tags":{},"startTime":1664595747568},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-chunk-graph","id":3668,"timestamp":1672703788728,"duration":17043,"tags":{},"startTime":1664595747665},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-modules","id":3670,"timestamp":1672703805799,"duration":2,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-chunks","id":3671,"timestamp":1672703805811,"duration":34,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize-tree","id":3672,"timestamp":1672703805865,"duration":3,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-optimize","id":3669,"timestamp":1672703805789,"duration":1474,"tags":{},"startTime":1664595747682},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-hash","id":3673,"timestamp":1672703817383,"duration":4675,"tags":{},"startTime":1664595747694},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"NextJsBuildManifest-generateClientManifest","id":3675,"timestamp":1672703822947,"duration":64,"tags":{},"startTime":1664595747699},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"NextJsBuildManifest-createassets","id":3674,"timestamp":1672703822887,"duration":127,"tags":{},"startTime":1664595747699},{"traceId":"43f2de6d909a73f7","parentId":3652,"name":"webpack-compilation-seal","id":3667,"timestamp":1672703784583,"duration":39285,"tags":{},"startTime":1664595747661},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"webpack-compilation","id":3652,"timestamp":1672703691053,"duration":132836,"tags":{"name":"client"},"startTime":1664595747568},{"traceId":"43f2de6d909a73f7","parentId":3634,"name":"emit","id":3676,"timestamp":1672703823901,"duration":4435,"tags":{},"startTime":1664595747700},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3634,"timestamp":1672703657244,"duration":171938,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595747534}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3677,"timestamp":1672703839488,"duration":0,"tags":{},"startTime":1664595747716},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3678,"timestamp":1672703839538,"duration":0,"tags":{},"startTime":1664595747716},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3685,"timestamp":1672711305055,"duration":5791,"tags":{"request":"private-next-pages/_error"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3684,"timestamp":1672711305051,"duration":5807,"tags":{"request":"private-next-pages/_document"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3687,"name":"next-swc-transform","id":3688,"timestamp":1672711310548,"duration":1730,"tags":{},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3686,"name":"next-swc-loader","id":3687,"timestamp":1672711310510,"duration":1775,"tags":{},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"build-module-tsx","id":3686,"timestamp":1672711310420,"duration":3921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755187},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"add-entry","id":3683,"timestamp":1672711305012,"duration":15750,"tags":{"request":"private-next-pages/_app"},"startTime":1664595755182},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"make","id":3682,"timestamp":1672711304937,"duration":15843,"tags":{},"startTime":1664595755181},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-chunk-graph","id":3690,"timestamp":1672711321106,"duration":321,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-modules","id":3692,"timestamp":1672711321439,"duration":2,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-chunks","id":3693,"timestamp":1672711321449,"duration":17,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize-tree","id":3694,"timestamp":1672711321482,"duration":3,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-optimize","id":3691,"timestamp":1672711321435,"duration":98,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-hash","id":3695,"timestamp":1672711322654,"duration":449,"tags":{},"startTime":1664595755199},{"traceId":"43f2de6d909a73f7","parentId":3681,"name":"webpack-compilation-seal","id":3689,"timestamp":1672711321042,"duration":3177,"tags":{},"startTime":1664595755198},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"webpack-compilation","id":3681,"timestamp":1672711304777,"duration":19460,"tags":{"name":"server"},"startTime":1664595755181},{"traceId":"43f2de6d909a73f7","parentId":3679,"name":"emit","id":3696,"timestamp":1672711324248,"duration":2917,"tags":{},"startTime":1664595755201},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3679,"timestamp":1672711298240,"duration":29181,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755175},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3699,"timestamp":1672711332683,"duration":3480,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3700,"timestamp":1672711332719,"duration":3968,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"read-resource","id":3707,"timestamp":1672711336870,"duration":82,"tags":{},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3709,"name":"postcss-process","id":3710,"timestamp":1672711336985,"duration":32157,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"postcss-loader","id":3709,"timestamp":1672711336977,"duration":32399,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3706,"name":"css-loader","id":3713,"timestamp":1672711369403,"duration":8229,"tags":{"astUsed":"true"},"startTime":1664595755246},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"build-module-css","id":3706,"timestamp":1672711336773,"duration":41679,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3711,"name":"next-swc-transform","id":3712,"timestamp":1672711337222,"duration":41382,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3708,"name":"next-swc-loader","id":3711,"timestamp":1672711337187,"duration":41418,"tags":{},"startTime":1664595755214},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"build-module-tsx","id":3708,"timestamp":1672711336886,"duration":45705,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755213},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3704,"timestamp":1672711332734,"duration":50151,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3703,"timestamp":1672711332732,"duration":50164,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3705,"timestamp":1672711332736,"duration":53243,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3701,"timestamp":1672711332726,"duration":59318,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"add-entry","id":3702,"timestamp":1672711332729,"duration":81838,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595755209},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"make","id":3698,"timestamp":1672711331453,"duration":83153,"tags":{},"startTime":1664595755208},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-chunk-graph","id":3715,"timestamp":1672711419047,"duration":4059,"tags":{},"startTime":1664595755296},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-modules","id":3717,"timestamp":1672711423130,"duration":2,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-chunks","id":3718,"timestamp":1672711423141,"duration":34,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize-tree","id":3719,"timestamp":1672711423195,"duration":3,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-optimize","id":3716,"timestamp":1672711423121,"duration":957,"tags":{},"startTime":1664595755300},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-hash","id":3720,"timestamp":1672711434405,"duration":4116,"tags":{},"startTime":1664595755311},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"NextJsBuildManifest-generateClientManifest","id":3722,"timestamp":1672711451475,"duration":61,"tags":{},"startTime":1664595755328},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"NextJsBuildManifest-createassets","id":3721,"timestamp":1672711451418,"duration":128,"tags":{},"startTime":1664595755328},{"traceId":"43f2de6d909a73f7","parentId":3697,"name":"webpack-compilation-seal","id":3714,"timestamp":1672711415634,"duration":38227,"tags":{},"startTime":1664595755292},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"webpack-compilation","id":3697,"timestamp":1672711331284,"duration":122620,"tags":{"name":"client"},"startTime":1664595755208},{"traceId":"43f2de6d909a73f7","parentId":3680,"name":"emit","id":3723,"timestamp":1672711453926,"duration":125364,"tags":{},"startTime":1664595755330},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3680,"timestamp":1672711298373,"duration":282167,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595755175}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3725,"timestamp":1672711596433,"duration":0,"tags":{},"startTime":1664595755473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3726,"timestamp":1672711596482,"duration":0,"tags":{},"startTime":1664595755473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3736,"timestamp":1664595755472999,"duration":22000,"tags":{"clientId":1664595301700},"startTime":1664595755497},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3737,"timestamp":1664595755472000,"duration":25999,"tags":{"clientId":1664595509559},"startTime":1664595755499},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3729,"timestamp":1672711615164,"duration":9159,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3730,"timestamp":1672711615243,"duration":10611,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"read-resource","id":3739,"timestamp":1672711626852,"duration":62,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3740,"name":"postcss-process","id":3741,"timestamp":1672711626957,"duration":35667,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"postcss-loader","id":3740,"timestamp":1672711626941,"duration":36085,"tags":{},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3738,"name":"css-loader","id":3742,"timestamp":1672711663065,"duration":15391,"tags":{"astUsed":"true"},"startTime":1664595755540},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"build-module-css","id":3738,"timestamp":1672711626350,"duration":53609,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595755503},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3734,"timestamp":1672711615257,"duration":65224,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3733,"timestamp":1672711615254,"duration":65245,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3735,"timestamp":1672711615259,"duration":69256,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3731,"timestamp":1672711615248,"duration":69612,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"add-entry","id":3732,"timestamp":1672711615251,"duration":100995,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595755492},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"make","id":3728,"timestamp":1672711611811,"duration":104463,"tags":{},"startTime":1664595755488},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-chunk-graph","id":3744,"timestamp":1672711721001,"duration":17203,"tags":{},"startTime":1664595755598},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-modules","id":3746,"timestamp":1672711738234,"duration":3,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-chunks","id":3747,"timestamp":1672711738246,"duration":84,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize-tree","id":3748,"timestamp":1672711738355,"duration":4,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-optimize","id":3745,"timestamp":1672711738223,"duration":1550,"tags":{},"startTime":1664595755615},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-hash","id":3749,"timestamp":1672711750349,"duration":4599,"tags":{},"startTime":1664595755627},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"NextJsBuildManifest-generateClientManifest","id":3751,"timestamp":1672711755852,"duration":69,"tags":{},"startTime":1664595755632},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"NextJsBuildManifest-createassets","id":3750,"timestamp":1672711755791,"duration":132,"tags":{},"startTime":1664595755632},{"traceId":"43f2de6d909a73f7","parentId":3727,"name":"webpack-compilation-seal","id":3743,"timestamp":1672711717351,"duration":39518,"tags":{},"startTime":1664595755594},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"webpack-compilation","id":3727,"timestamp":1672711611512,"duration":145401,"tags":{"name":"client"},"startTime":1664595755488},{"traceId":"43f2de6d909a73f7","parentId":3724,"name":"emit","id":3752,"timestamp":1672711756941,"duration":5084,"tags":{},"startTime":1664595755633},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3724,"timestamp":1672711595398,"duration":167209,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595755472}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3753,"timestamp":1672711772973,"duration":0,"tags":{},"startTime":1664595755650},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3754,"timestamp":1672711773025,"duration":0,"tags":{},"startTime":1664595755650},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3761,"timestamp":1672714933577,"duration":5609,"tags":{"request":"private-next-pages/_error"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3760,"timestamp":1672714933574,"duration":5624,"tags":{"request":"private-next-pages/_document"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3763,"name":"next-swc-transform","id":3764,"timestamp":1672714938846,"duration":2667,"tags":{},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3762,"name":"next-swc-loader","id":3763,"timestamp":1672714938777,"duration":2759,"tags":{},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"build-module-tsx","id":3762,"timestamp":1672714938672,"duration":4818,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758815},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"add-entry","id":3759,"timestamp":1672714933543,"duration":12162,"tags":{"request":"private-next-pages/_app"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"make","id":3758,"timestamp":1672714933462,"duration":12259,"tags":{},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-chunk-graph","id":3766,"timestamp":1672714946037,"duration":178,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-modules","id":3768,"timestamp":1672714946222,"duration":1,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-chunks","id":3769,"timestamp":1672714946231,"duration":14,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize-tree","id":3770,"timestamp":1672714946253,"duration":2,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-optimize","id":3767,"timestamp":1672714946219,"duration":88,"tags":{},"startTime":1664595758823},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-hash","id":3771,"timestamp":1672714947395,"duration":410,"tags":{},"startTime":1664595758824},{"traceId":"43f2de6d909a73f7","parentId":3757,"name":"webpack-compilation-seal","id":3765,"timestamp":1672714945973,"duration":2958,"tags":{},"startTime":1664595758822},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"webpack-compilation","id":3757,"timestamp":1672714933317,"duration":15633,"tags":{"name":"server"},"startTime":1664595758810},{"traceId":"43f2de6d909a73f7","parentId":3755,"name":"emit","id":3772,"timestamp":1672714948963,"duration":1790,"tags":{},"startTime":1664595758825},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3755,"timestamp":1672714926598,"duration":24399,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758803},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3775,"timestamp":1672714955985,"duration":2863,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3776,"timestamp":1672714956023,"duration":3281,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"read-resource","id":3783,"timestamp":1672714959466,"duration":73,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3785,"name":"postcss-process","id":3786,"timestamp":1672714959555,"duration":31085,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"postcss-loader","id":3785,"timestamp":1672714959548,"duration":31232,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3782,"name":"css-loader","id":3789,"timestamp":1672714990801,"duration":9391,"tags":{"astUsed":"true"},"startTime":1664595758867},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"build-module-css","id":3782,"timestamp":1672714959394,"duration":41765,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3787,"name":"next-swc-transform","id":3788,"timestamp":1672714959816,"duration":41488,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3784,"name":"next-swc-loader","id":3787,"timestamp":1672714959781,"duration":41524,"tags":{},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"build-module-tsx","id":3784,"timestamp":1672714959482,"duration":43767,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758836},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3780,"timestamp":1672714956033,"duration":48431,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3779,"timestamp":1672714956031,"duration":48452,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3781,"timestamp":1672714956035,"duration":56662,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3777,"timestamp":1672714956026,"duration":78911,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"add-entry","id":3778,"timestamp":1672714956028,"duration":124684,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595758833},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"make","id":3774,"timestamp":1672714954779,"duration":125999,"tags":{},"startTime":1664595758831},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-chunk-graph","id":3791,"timestamp":1672715085869,"duration":18867,"tags":{},"startTime":1664595758962},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-modules","id":3793,"timestamp":1672715104766,"duration":3,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-chunks","id":3794,"timestamp":1672715104780,"duration":139,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize-tree","id":3795,"timestamp":1672715104941,"duration":6,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-optimize","id":3792,"timestamp":1672715104757,"duration":1766,"tags":{},"startTime":1664595758981},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-hash","id":3796,"timestamp":1672715122230,"duration":5298,"tags":{},"startTime":1664595758999},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"NextJsBuildManifest-generateClientManifest","id":3798,"timestamp":1672715144535,"duration":119,"tags":{},"startTime":1664595759021},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"NextJsBuildManifest-createassets","id":3797,"timestamp":1672715144346,"duration":321,"tags":{},"startTime":1664595759021},{"traceId":"43f2de6d909a73f7","parentId":3773,"name":"webpack-compilation-seal","id":3790,"timestamp":1672715082238,"duration":64987,"tags":{},"startTime":1664595758959},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"webpack-compilation","id":3773,"timestamp":1672714954607,"duration":192649,"tags":{"name":"client"},"startTime":1664595758831},{"traceId":"43f2de6d909a73f7","parentId":3756,"name":"emit","id":3799,"timestamp":1672715147282,"duration":91594,"tags":{},"startTime":1664595759024},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3756,"timestamp":1672714926720,"duration":312905,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595758803}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3801,"timestamp":1672715250575,"duration":0,"tags":{},"startTime":1664595759127},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3802,"timestamp":1672715251042,"duration":0,"tags":{},"startTime":1664595759128},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3805,"timestamp":1672715261920,"duration":4189,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3806,"timestamp":1672715261957,"duration":4909,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"read-resource","id":3813,"timestamp":1672715267044,"duration":27,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3814,"name":"postcss-process","id":3815,"timestamp":1672715267090,"duration":29704,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"postcss-loader","id":3814,"timestamp":1672715267083,"duration":29941,"tags":{},"startTime":1664595759144},{"traceId":"43f2de6d909a73f7","parentId":3812,"name":"css-loader","id":3816,"timestamp":1672715297049,"duration":10835,"tags":{"astUsed":"true"},"startTime":1664595759174},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"build-module-css","id":3812,"timestamp":1672715266941,"duration":42230,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595759143},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3810,"timestamp":1672715261969,"duration":47935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3809,"timestamp":1672715261966,"duration":47955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3811,"timestamp":1672715261971,"duration":51973,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3807,"timestamp":1672715261960,"duration":52311,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3817,"timestamp":1664595759127000,"duration":63000,"tags":{"clientId":1664595509559},"startTime":1664595759191},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3818,"timestamp":1664595759127000,"duration":80000,"tags":{"clientId":1664595301700},"startTime":1664595759213},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"add-entry","id":3808,"timestamp":1672715261963,"duration":79675,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595759138},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"make","id":3804,"timestamp":1672715260570,"duration":81088,"tags":{},"startTime":1664595759137},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-chunk-graph","id":3820,"timestamp":1672715346510,"duration":3899,"tags":{},"startTime":1664595759223},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-modules","id":3822,"timestamp":1672715350431,"duration":2,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-chunks","id":3823,"timestamp":1672715350442,"duration":34,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize-tree","id":3824,"timestamp":1672715350497,"duration":3,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-optimize","id":3821,"timestamp":1672715350424,"duration":1066,"tags":{},"startTime":1664595759227},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-hash","id":3825,"timestamp":1672715361946,"duration":4781,"tags":{},"startTime":1664595759238},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"NextJsBuildManifest-generateClientManifest","id":3827,"timestamp":1672715367559,"duration":62,"tags":{},"startTime":1664595759244},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"NextJsBuildManifest-createassets","id":3826,"timestamp":1672715367511,"duration":114,"tags":{},"startTime":1664595759244},{"traceId":"43f2de6d909a73f7","parentId":3803,"name":"webpack-compilation-seal","id":3819,"timestamp":1672715342873,"duration":25729,"tags":{},"startTime":1664595759219},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"webpack-compilation","id":3803,"timestamp":1672715260387,"duration":108268,"tags":{"name":"client"},"startTime":1664595759137},{"traceId":"43f2de6d909a73f7","parentId":3800,"name":"emit","id":3828,"timestamp":1672715368691,"duration":16842,"tags":{},"startTime":1664595759245},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3800,"timestamp":1672715249802,"duration":136279,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595759126}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3829,"timestamp":1672715397060,"duration":0,"tags":{},"startTime":1664595759274},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3830,"timestamp":1672715397100,"duration":0,"tags":{},"startTime":1664595759274},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3837,"timestamp":1672717914611,"duration":6769,"tags":{"request":"private-next-pages/_error"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3836,"timestamp":1672717914607,"duration":6787,"tags":{"request":"private-next-pages/_document"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3839,"name":"next-swc-transform","id":3840,"timestamp":1672717920889,"duration":1566,"tags":{},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3838,"name":"next-swc-loader","id":3839,"timestamp":1672717920798,"duration":1660,"tags":{},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"build-module-tsx","id":3838,"timestamp":1672717920662,"duration":3813,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761797},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"add-entry","id":3835,"timestamp":1672717914575,"duration":11962,"tags":{"request":"private-next-pages/_app"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"make","id":3834,"timestamp":1672717914480,"duration":12072,"tags":{},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-chunk-graph","id":3842,"timestamp":1672717926841,"duration":190,"tags":{},"startTime":1664595761803},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-modules","id":3844,"timestamp":1672717927038,"duration":2,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-chunks","id":3845,"timestamp":1672717927047,"duration":88,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize-tree","id":3846,"timestamp":1672717927169,"duration":4,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-optimize","id":3843,"timestamp":1672717927035,"duration":216,"tags":{},"startTime":1664595761804},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-hash","id":3847,"timestamp":1672717928385,"duration":388,"tags":{},"startTime":1664595761805},{"traceId":"43f2de6d909a73f7","parentId":3833,"name":"webpack-compilation-seal","id":3841,"timestamp":1672717926776,"duration":2999,"tags":{},"startTime":1664595761803},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"webpack-compilation","id":3833,"timestamp":1672717914315,"duration":15478,"tags":{"name":"server"},"startTime":1664595761791},{"traceId":"43f2de6d909a73f7","parentId":3831,"name":"emit","id":3848,"timestamp":1672717929804,"duration":11384,"tags":{},"startTime":1664595761806},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3831,"timestamp":1672717907477,"duration":33962,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761784},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3851,"timestamp":1672717946092,"duration":2905,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3852,"timestamp":1672717946124,"duration":3343,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"read-resource","id":3859,"timestamp":1672717949620,"duration":71,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3861,"name":"postcss-process","id":3862,"timestamp":1672717949707,"duration":29469,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"postcss-loader","id":3861,"timestamp":1672717949700,"duration":29627,"tags":{},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3858,"name":"css-loader","id":3865,"timestamp":1672717979350,"duration":8176,"tags":{"astUsed":"true"},"startTime":1664595761856},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"build-module-css","id":3858,"timestamp":1672717949547,"duration":38832,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3863,"name":"next-swc-transform","id":3864,"timestamp":1672717950029,"duration":38497,"tags":{},"startTime":1664595761827},{"traceId":"43f2de6d909a73f7","parentId":3860,"name":"next-swc-loader","id":3863,"timestamp":1672717949997,"duration":38530,"tags":{},"startTime":1664595761827},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"build-module-tsx","id":3860,"timestamp":1672717949635,"duration":40658,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761826},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3856,"timestamp":1672717946134,"duration":46750,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3855,"timestamp":1672717946131,"duration":46766,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3857,"timestamp":1672717946136,"duration":49814,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3853,"timestamp":1672717946127,"duration":56287,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"add-entry","id":3854,"timestamp":1672717946129,"duration":75844,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595761823},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"make","id":3850,"timestamp":1672717945034,"duration":76957,"tags":{},"startTime":1664595761822},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-chunk-graph","id":3867,"timestamp":1672718026311,"duration":3507,"tags":{},"startTime":1664595761903},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-modules","id":3869,"timestamp":1672718029834,"duration":3,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-chunks","id":3870,"timestamp":1672718029845,"duration":32,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize-tree","id":3871,"timestamp":1672718029892,"duration":2,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-optimize","id":3868,"timestamp":1672718029829,"duration":926,"tags":{},"startTime":1664595761906},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-hash","id":3872,"timestamp":1672718039352,"duration":3217,"tags":{},"startTime":1664595761916},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"NextJsBuildManifest-generateClientManifest","id":3874,"timestamp":1672718051918,"duration":50,"tags":{},"startTime":1664595761928},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"NextJsBuildManifest-createassets","id":3873,"timestamp":1672718051853,"duration":122,"tags":{},"startTime":1664595761928},{"traceId":"43f2de6d909a73f7","parentId":3849,"name":"webpack-compilation-seal","id":3866,"timestamp":1672718023178,"duration":30447,"tags":{},"startTime":1664595761900},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"webpack-compilation","id":3849,"timestamp":1672717944869,"duration":108779,"tags":{"name":"client"},"startTime":1664595761821},{"traceId":"43f2de6d909a73f7","parentId":3832,"name":"emit","id":3875,"timestamp":1672718053661,"duration":96608,"tags":{},"startTime":1664595761930},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3832,"timestamp":1672717907599,"duration":243717,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595761784}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3879,"timestamp":1672718185952,"duration":0,"tags":{},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3880,"timestamp":1672718186026,"duration":0,"tags":{},"startTime":1664595762063},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3881,"timestamp":1672718190140,"duration":7052,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3882,"timestamp":1672718190214,"duration":8230,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"read-resource","id":3889,"timestamp":1672718198668,"duration":39,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3890,"name":"postcss-process","id":3891,"timestamp":1672718198737,"duration":29659,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"postcss-loader","id":3890,"timestamp":1672718198725,"duration":29952,"tags":{},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3888,"name":"css-loader","id":3892,"timestamp":1672718228703,"duration":11881,"tags":{"astUsed":"true"},"startTime":1664595762105},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"build-module-css","id":3888,"timestamp":1672718198537,"duration":43525,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595762075},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3886,"timestamp":1672718190227,"duration":52783,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3885,"timestamp":1672718190224,"duration":52803,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3893,"timestamp":1664595762041999,"duration":80000,"tags":{"clientId":1664595509559},"startTime":1664595762123},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3887,"timestamp":1672718190229,"duration":57838,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3883,"timestamp":1672718190219,"duration":58163,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3894,"timestamp":1664595762041999,"duration":96000,"tags":{"clientId":1664595301700},"startTime":1664595762145},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"add-entry","id":3884,"timestamp":1672718190221,"duration":93528,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595762067},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"make","id":3878,"timestamp":1672718185311,"duration":98478,"tags":{},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-chunk-graph","id":3896,"timestamp":1672718289179,"duration":17970,"tags":{},"startTime":1664595762166},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-modules","id":3898,"timestamp":1672718307174,"duration":3,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-chunks","id":3899,"timestamp":1672718307187,"duration":127,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize-tree","id":3900,"timestamp":1672718307348,"duration":3,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-optimize","id":3897,"timestamp":1672718307166,"duration":1614,"tags":{},"startTime":1664595762184},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-hash","id":3901,"timestamp":1672718319445,"duration":5091,"tags":{},"startTime":1664595762196},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"NextJsBuildManifest-generateClientManifest","id":3903,"timestamp":1672718325465,"duration":62,"tags":{},"startTime":1664595762202},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"NextJsBuildManifest-createassets","id":3902,"timestamp":1672718325399,"duration":132,"tags":{},"startTime":1664595762202},{"traceId":"43f2de6d909a73f7","parentId":3877,"name":"webpack-compilation-seal","id":3895,"timestamp":1672718285164,"duration":41389,"tags":{},"startTime":1664595762162},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"webpack-compilation","id":3877,"timestamp":1672718185067,"duration":141519,"tags":{"name":"client"},"startTime":1664595762062},{"traceId":"43f2de6d909a73f7","parentId":3876,"name":"emit","id":3904,"timestamp":1672718326606,"duration":2508,"tags":{},"startTime":1664595762203},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3876,"timestamp":1672718164879,"duration":164906,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664595762041}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3905,"timestamp":1672718342128,"duration":0,"tags":{},"startTime":1664595762219},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3906,"timestamp":1672718342180,"duration":0,"tags":{},"startTime":1664595762219},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3913,"timestamp":1672948842330,"duration":23778,"tags":{"request":"private-next-pages/_error"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3912,"timestamp":1672948842325,"duration":23806,"tags":{"request":"private-next-pages/_document"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3915,"name":"next-swc-transform","id":3916,"timestamp":1672948862479,"duration":4084,"tags":{},"startTime":1664595992739},{"traceId":"43f2de6d909a73f7","parentId":3914,"name":"next-swc-loader","id":3915,"timestamp":1672948862279,"duration":4291,"tags":{},"startTime":1664595992738},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"build-module-tsx","id":3914,"timestamp":1672948862008,"duration":12183,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992738},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"add-entry","id":3911,"timestamp":1672948842174,"duration":49654,"tags":{"request":"private-next-pages/_app"},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"make","id":3910,"timestamp":1672948841950,"duration":49900,"tags":{},"startTime":1664595992718},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-chunk-graph","id":3918,"timestamp":1672948894489,"duration":489,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-modules","id":3920,"timestamp":1672948895020,"duration":11,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-chunks","id":3921,"timestamp":1672948895066,"duration":41,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize-tree","id":3922,"timestamp":1672948895135,"duration":16,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-optimize","id":3919,"timestamp":1672948895001,"duration":254,"tags":{},"startTime":1664595992771},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-hash","id":3923,"timestamp":1672948898594,"duration":922,"tags":{},"startTime":1664595992775},{"traceId":"43f2de6d909a73f7","parentId":3909,"name":"webpack-compilation-seal","id":3917,"timestamp":1672948893570,"duration":9865,"tags":{},"startTime":1664595992770},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"webpack-compilation","id":3909,"timestamp":1672948841439,"duration":62040,"tags":{"name":"server"},"startTime":1664595992717},{"traceId":"43f2de6d909a73f7","parentId":3907,"name":"emit","id":3924,"timestamp":1672948903496,"duration":2447,"tags":{},"startTime":1664595992780},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3907,"timestamp":1672948830997,"duration":76561,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992707},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3927,"timestamp":1672948914098,"duration":6298,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3932,"timestamp":1672948914147,"duration":7326,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"read-resource","id":3935,"timestamp":1672948921214,"duration":922,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3939,"name":"postcss-process","id":3940,"timestamp":1672948922190,"duration":36496,"tags":{},"startTime":1664595992798},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"postcss-loader","id":3939,"timestamp":1672948922178,"duration":36880,"tags":{},"startTime":1664595992798},{"traceId":"43f2de6d909a73f7","parentId":3934,"name":"css-loader","id":3941,"timestamp":1672948959077,"duration":10835,"tags":{"astUsed":"true"},"startTime":1664595992835},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"build-module-css","id":3934,"timestamp":1672948921061,"duration":54900,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3928,"timestamp":1672948914133,"duration":62521,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3937,"name":"next-swc-transform","id":3938,"timestamp":1672948921329,"duration":55593,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3936,"name":"next-swc-loader","id":3937,"timestamp":1672948921294,"duration":55629,"tags":{},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"build-module-tsx","id":3936,"timestamp":1672948921237,"duration":59362,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992797},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3931,"timestamp":1672948914144,"duration":66596,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3933,"timestamp":1672948914148,"duration":72425,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3929,"timestamp":1672948914139,"duration":131297,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"add-entry","id":3930,"timestamp":1672948914141,"duration":215455,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664595992790},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"make","id":3926,"timestamp":1672948912220,"duration":217468,"tags":{},"startTime":1664595992788},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-chunk-graph","id":3943,"timestamp":1672949134742,"duration":18029,"tags":{},"startTime":1664595993011},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-modules","id":3945,"timestamp":1672949152793,"duration":3,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-chunks","id":3946,"timestamp":1672949152863,"duration":73,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize-tree","id":3947,"timestamp":1672949152972,"duration":15,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-optimize","id":3944,"timestamp":1672949152785,"duration":1550,"tags":{},"startTime":1664595993029},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-hash","id":3948,"timestamp":1672949166767,"duration":6284,"tags":{},"startTime":1664595993043},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"NextJsBuildManifest-generateClientManifest","id":3950,"timestamp":1672949185695,"duration":159,"tags":{},"startTime":1664595993062},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"NextJsBuildManifest-createassets","id":3949,"timestamp":1672949185633,"duration":230,"tags":{},"startTime":1664595993062},{"traceId":"43f2de6d909a73f7","parentId":3925,"name":"webpack-compilation-seal","id":3942,"timestamp":1672949131069,"duration":56778,"tags":{},"startTime":1664595993007},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"webpack-compilation","id":3925,"timestamp":1672948911990,"duration":275889,"tags":{"name":"client"},"startTime":1664595992788},{"traceId":"43f2de6d909a73f7","parentId":3908,"name":"emit","id":3951,"timestamp":1672949187923,"duration":99127,"tags":{},"startTime":1664595993064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3908,"timestamp":1672948831525,"duration":456928,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664595992708}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3952,"timestamp":1672949299526,"duration":0,"tags":{},"startTime":1664595993176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3953,"timestamp":1672949299657,"duration":0,"tags":{},"startTime":1664595993176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3954,"timestamp":1664595992708999,"duration":476000,"tags":{"clientId":1664595509559},"startTime":1664595993186},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":3955,"timestamp":1664595992710000,"duration":506999,"tags":{"clientId":1664595301700},"startTime":1664595993229},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3960,"timestamp":1672981178140,"duration":6757,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3961,"timestamp":1672981178193,"duration":9791,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"read-resource","id":3968,"timestamp":1672981188707,"duration":297,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3970,"name":"postcss-process","id":3971,"timestamp":1672981189044,"duration":69599,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"postcss-loader","id":3970,"timestamp":1672981189031,"duration":70069,"tags":{},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3967,"name":"css-loader","id":3974,"timestamp":1672981259124,"duration":22150,"tags":{"astUsed":"true"},"startTime":1664596025135},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"build-module-css","id":3967,"timestamp":1672981188220,"duration":94835,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596025064},{"traceId":"43f2de6d909a73f7","parentId":3972,"name":"next-swc-transform","id":3973,"timestamp":1672981189726,"duration":93605,"tags":{},"startTime":1664596025066},{"traceId":"43f2de6d909a73f7","parentId":3969,"name":"next-swc-loader","id":3972,"timestamp":1672981189634,"duration":93698,"tags":{},"startTime":1664596025066},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"build-module-tsx","id":3969,"timestamp":1672981188765,"duration":99637,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025065},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3965,"timestamp":1672981178206,"duration":110640,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3964,"timestamp":1672981178203,"duration":110690,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3966,"timestamp":1672981178208,"duration":117702,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3962,"timestamp":1672981178198,"duration":125895,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"add-entry","id":3963,"timestamp":1672981178200,"duration":150104,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596025054},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"make","id":3959,"timestamp":1672981177165,"duration":151173,"tags":{},"startTime":1664596025053},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-chunk-graph","id":3976,"timestamp":1672981334812,"duration":16448,"tags":{},"startTime":1664596025211},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-modules","id":3978,"timestamp":1672981351283,"duration":4,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-chunks","id":3979,"timestamp":1672981351297,"duration":97,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize-tree","id":3980,"timestamp":1672981351416,"duration":5,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-optimize","id":3977,"timestamp":1672981351275,"duration":1554,"tags":{},"startTime":1664596025227},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-hash","id":3981,"timestamp":1672981365463,"duration":6125,"tags":{},"startTime":1664596025241},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"NextJsBuildManifest-generateClientManifest","id":3983,"timestamp":1672981380674,"duration":68,"tags":{},"startTime":1664596025257},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"NextJsBuildManifest-createassets","id":3982,"timestamp":1672981380610,"duration":140,"tags":{},"startTime":1664596025257},{"traceId":"43f2de6d909a73f7","parentId":3958,"name":"webpack-compilation-seal","id":3975,"timestamp":1672981329658,"duration":53162,"tags":{},"startTime":1664596025206},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"webpack-compilation","id":3958,"timestamp":1672981176973,"duration":205877,"tags":{"name":"client"},"startTime":1664596025053},{"traceId":"43f2de6d909a73f7","parentId":3956,"name":"emit","id":3984,"timestamp":1672981382877,"duration":92024,"tags":{},"startTime":1664596025259},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3956,"timestamp":1672981162572,"duration":312963,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025039},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3991,"timestamp":1672981486437,"duration":0,"tags":{},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":3992,"timestamp":1672981486577,"duration":0,"tags":{},"startTime":1664596025363},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3990,"timestamp":1672981485937,"duration":4250,"tags":{"request":"private-next-pages/_error"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3989,"timestamp":1672981485933,"duration":4261,"tags":{"request":"private-next-pages/_document"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3994,"name":"next-swc-transform","id":3995,"timestamp":1672981489532,"duration":5946,"tags":{},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3993,"name":"next-swc-loader","id":3994,"timestamp":1672981489494,"duration":5991,"tags":{},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"build-module-tsx","id":3993,"timestamp":1672981489373,"duration":8660,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025365},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"add-entry","id":3988,"timestamp":1672981485898,"duration":15157,"tags":{"request":"private-next-pages/_app"},"startTime":1664596025362},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"make","id":3986,"timestamp":1672981476507,"duration":24560,"tags":{},"startTime":1664596025352},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-chunk-graph","id":3997,"timestamp":1672981501343,"duration":196,"tags":{},"startTime":1664596025377},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-modules","id":3999,"timestamp":1672981501548,"duration":2,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-chunks","id":4000,"timestamp":1672981501558,"duration":15,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize-tree","id":4001,"timestamp":1672981501581,"duration":2,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-optimize","id":3998,"timestamp":1672981501544,"duration":97,"tags":{},"startTime":1664596025378},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-hash","id":4002,"timestamp":1672981502629,"duration":371,"tags":{},"startTime":1664596025379},{"traceId":"43f2de6d909a73f7","parentId":3985,"name":"webpack-compilation-seal","id":3996,"timestamp":1672981501281,"duration":2669,"tags":{},"startTime":1664596025377},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"webpack-compilation","id":3985,"timestamp":1672981476356,"duration":27609,"tags":{"name":"server"},"startTime":1664596025352},{"traceId":"43f2de6d909a73f7","parentId":3957,"name":"emit","id":4003,"timestamp":1672981503974,"duration":2036,"tags":{},"startTime":1664596025380},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":3957,"timestamp":1672981162757,"duration":343478,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596025039},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4006,"timestamp":1664596025361999,"duration":20000,"tags":{"clientId":1664595509559},"startTime":1664596025387},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4007,"timestamp":1672981511675,"duration":3221,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4008,"timestamp":1672981511705,"duration":3760,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"read-resource","id":4015,"timestamp":1672981515644,"duration":33,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4016,"name":"postcss-process","id":4017,"timestamp":1672981515699,"duration":28948,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"postcss-loader","id":4016,"timestamp":1672981515691,"duration":29165,"tags":{},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":4014,"name":"css-loader","id":4018,"timestamp":1672981544883,"duration":10990,"tags":{"astUsed":"true"},"startTime":1664596025421},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"build-module-css","id":4014,"timestamp":1672981515543,"duration":41342,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596025392},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4019,"timestamp":1664596025364999,"duration":30000,"tags":{"clientId":1664595301700},"startTime":1664596025433},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4012,"timestamp":1672981511715,"duration":45687,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4011,"timestamp":1672981511712,"duration":45705,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4013,"timestamp":1672981511716,"duration":49104,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4009,"timestamp":1672981511708,"duration":49498,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"add-entry","id":4010,"timestamp":1672981511710,"duration":75834,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596025388},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"make","id":4005,"timestamp":1672981509746,"duration":77820,"tags":{},"startTime":1664596025386},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-chunk-graph","id":4021,"timestamp":1672981591832,"duration":3775,"tags":{},"startTime":1664596025468},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-modules","id":4023,"timestamp":1672981595631,"duration":2,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-chunks","id":4024,"timestamp":1672981595643,"duration":34,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize-tree","id":4025,"timestamp":1672981595697,"duration":3,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-optimize","id":4022,"timestamp":1672981595623,"duration":1071,"tags":{},"startTime":1664596025472},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-hash","id":4026,"timestamp":1672981607025,"duration":3793,"tags":{},"startTime":1664596025483},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"NextJsBuildManifest-generateClientManifest","id":4028,"timestamp":1672981611759,"duration":53,"tags":{},"startTime":1664596025488},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"NextJsBuildManifest-createassets","id":4027,"timestamp":1672981611704,"duration":111,"tags":{},"startTime":1664596025488},{"traceId":"43f2de6d909a73f7","parentId":4004,"name":"webpack-compilation-seal","id":4020,"timestamp":1672981588561,"duration":24453,"tags":{},"startTime":1664596025465},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"webpack-compilation","id":4004,"timestamp":1672981509574,"duration":103468,"tags":{"name":"client"},"startTime":1664596025386},{"traceId":"43f2de6d909a73f7","parentId":3987,"name":"emit","id":4029,"timestamp":1672981613056,"duration":5287,"tags":{},"startTime":1664596025489},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":3987,"timestamp":1672981485678,"duration":133222,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596025362}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4030,"timestamp":1672981629381,"duration":0,"tags":{},"startTime":1664596025505},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4031,"timestamp":1672981629452,"duration":0,"tags":{},"startTime":1664596025505},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4036,"timestamp":1673066556545,"duration":9711,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4041,"timestamp":1673066556649,"duration":11180,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"read-resource","id":4044,"timestamp":1673066567413,"duration":1055,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4048,"name":"postcss-process","id":4049,"timestamp":1673066568565,"duration":36461,"tags":{},"startTime":1664596110444},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"postcss-loader","id":4048,"timestamp":1673066568544,"duration":38768,"tags":{},"startTime":1664596110444},{"traceId":"43f2de6d909a73f7","parentId":4043,"name":"css-loader","id":4050,"timestamp":1673066607346,"duration":15815,"tags":{"astUsed":"true"},"startTime":1664596110483},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"build-module-css","id":4043,"timestamp":1673066567213,"duration":67417,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4046,"name":"next-swc-transform","id":4047,"timestamp":1673066567625,"duration":68378,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4045,"name":"next-swc-loader","id":4046,"timestamp":1673066567504,"duration":68503,"tags":{},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"build-module-tsx","id":4045,"timestamp":1673066567443,"duration":74148,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110443},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4037,"timestamp":1673066556636,"duration":86219,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4040,"timestamp":1673066556646,"duration":87108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4042,"timestamp":1673066556651,"duration":94699,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4038,"timestamp":1673066556640,"duration":100731,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"add-entry","id":4039,"timestamp":1673066556643,"duration":139200,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596110432},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"make","id":4035,"timestamp":1673066555246,"duration":140665,"tags":{},"startTime":1664596110431},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-chunk-graph","id":4052,"timestamp":1673066702047,"duration":16738,"tags":{},"startTime":1664596110578},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-modules","id":4054,"timestamp":1673066718834,"duration":11,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-chunks","id":4055,"timestamp":1673066718877,"duration":48,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize-tree","id":4056,"timestamp":1673066718963,"duration":11,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-optimize","id":4053,"timestamp":1673066718812,"duration":1611,"tags":{},"startTime":1664596110595},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-hash","id":4057,"timestamp":1673066733310,"duration":6726,"tags":{},"startTime":1664596110609},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"NextJsBuildManifest-generateClientManifest","id":4059,"timestamp":1673066751027,"duration":156,"tags":{},"startTime":1664596110627},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"NextJsBuildManifest-createassets","id":4058,"timestamp":1673066750973,"duration":217,"tags":{},"startTime":1664596110627},{"traceId":"43f2de6d909a73f7","parentId":4034,"name":"webpack-compilation-seal","id":4051,"timestamp":1673066697344,"duration":55794,"tags":{},"startTime":1664596110573},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"webpack-compilation","id":4034,"timestamp":1673066555020,"duration":198142,"tags":{"name":"client"},"startTime":1664596110431},{"traceId":"43f2de6d909a73f7","parentId":4032,"name":"emit","id":4060,"timestamp":1673066753194,"duration":115059,"tags":{},"startTime":1664596110629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4032,"timestamp":1673066542968,"duration":326349,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4067,"timestamp":1673066886132,"duration":0,"tags":{},"startTime":1664596110762},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4068,"timestamp":1673066886287,"duration":0,"tags":{},"startTime":1664596110762},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4066,"timestamp":1673066885113,"duration":10491,"tags":{"request":"private-next-pages/_error"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4065,"timestamp":1673066885109,"duration":10507,"tags":{"request":"private-next-pages/_document"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4072,"timestamp":1664596110760999,"duration":12000,"tags":{"clientId":1664595509559},"startTime":1664596110774},{"traceId":"43f2de6d909a73f7","parentId":4070,"name":"next-swc-transform","id":4071,"timestamp":1673066893551,"duration":11346,"tags":{},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4069,"name":"next-swc-loader","id":4070,"timestamp":1673066893485,"duration":11414,"tags":{},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"build-module-tsx","id":4069,"timestamp":1673066893350,"duration":20042,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110769},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"add-entry","id":4064,"timestamp":1673066885025,"duration":33249,"tags":{"request":"private-next-pages/_app"},"startTime":1664596110761},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"make","id":4062,"timestamp":1673066871540,"duration":46750,"tags":{},"startTime":1664596110747},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-chunk-graph","id":4074,"timestamp":1673066918670,"duration":307,"tags":{},"startTime":1664596110794},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-modules","id":4076,"timestamp":1673066918990,"duration":2,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-chunks","id":4077,"timestamp":1673066919035,"duration":37,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize-tree","id":4078,"timestamp":1673066919098,"duration":14,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-optimize","id":4075,"timestamp":1673066918985,"duration":221,"tags":{},"startTime":1664596110795},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-hash","id":4079,"timestamp":1673066920563,"duration":912,"tags":{},"startTime":1664596110796},{"traceId":"43f2de6d909a73f7","parentId":4061,"name":"webpack-compilation-seal","id":4073,"timestamp":1673066918599,"duration":4225,"tags":{},"startTime":1664596110794},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"webpack-compilation","id":4061,"timestamp":1673066871224,"duration":51619,"tags":{"name":"server"},"startTime":1664596110747},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4081,"timestamp":1664596110774000,"duration":34999,"tags":{"clientId":1664595301700},"startTime":1664596110810},{"traceId":"43f2de6d909a73f7","parentId":4033,"name":"emit","id":4080,"timestamp":1673066922858,"duration":16952,"tags":{},"startTime":1664596110799},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4033,"timestamp":1673066543242,"duration":397002,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596110419},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4084,"timestamp":1673066945144,"duration":3171,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4085,"timestamp":1673066945179,"duration":3681,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"read-resource","id":4092,"timestamp":1673066949088,"duration":39,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4093,"name":"postcss-process","id":4094,"timestamp":1673066949149,"duration":30761,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"postcss-loader","id":4093,"timestamp":1673066949142,"duration":31184,"tags":{},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4091,"name":"css-loader","id":4095,"timestamp":1673066980347,"duration":8804,"tags":{"astUsed":"true"},"startTime":1664596110856},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"build-module-css","id":4091,"timestamp":1673066948943,"duration":41496,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596110825},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4089,"timestamp":1673066945193,"duration":47210,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4088,"timestamp":1673066945189,"duration":47231,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4090,"timestamp":1673066945196,"duration":50543,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4086,"timestamp":1673066945183,"duration":50818,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"add-entry","id":4087,"timestamp":1673066945185,"duration":77250,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596110821},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"make","id":4083,"timestamp":1673066943771,"duration":78684,"tags":{},"startTime":1664596110820},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-chunk-graph","id":4097,"timestamp":1673067026742,"duration":16040,"tags":{},"startTime":1664596110903},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-modules","id":4099,"timestamp":1673067042804,"duration":2,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-chunks","id":4100,"timestamp":1673067042815,"duration":29,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize-tree","id":4101,"timestamp":1673067042866,"duration":3,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-optimize","id":4098,"timestamp":1673067042797,"duration":1276,"tags":{},"startTime":1664596110919},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-hash","id":4102,"timestamp":1673067054685,"duration":5659,"tags":{},"startTime":1664596110930},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"NextJsBuildManifest-generateClientManifest","id":4104,"timestamp":1673067061208,"duration":49,"tags":{},"startTime":1664596110937},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"NextJsBuildManifest-createassets","id":4103,"timestamp":1673067061161,"duration":98,"tags":{},"startTime":1664596110937},{"traceId":"43f2de6d909a73f7","parentId":4082,"name":"webpack-compilation-seal","id":4096,"timestamp":1673067023462,"duration":38688,"tags":{},"startTime":1664596110899},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"webpack-compilation","id":4082,"timestamp":1673066943579,"duration":118591,"tags":{"name":"client"},"startTime":1664596110819},{"traceId":"43f2de6d909a73f7","parentId":4063,"name":"emit","id":4105,"timestamp":1673067062182,"duration":3437,"tags":{},"startTime":1664596110938},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4063,"timestamp":1673066884722,"duration":181595,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596110761}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4106,"timestamp":1673067075178,"duration":0,"tags":{},"startTime":1664596110951},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4107,"timestamp":1673067075320,"duration":0,"tags":{},"startTime":1664596110951},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4112,"timestamp":1673183100667,"duration":9271,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4117,"timestamp":1673183100769,"duration":11951,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"read-resource","id":4120,"timestamp":1673183112245,"duration":1189,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4124,"name":"postcss-process","id":4125,"timestamp":1673183113467,"duration":44436,"tags":{},"startTime":1664596226989},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"postcss-loader","id":4124,"timestamp":1673183113457,"duration":44846,"tags":{},"startTime":1664596226989},{"traceId":"43f2de6d909a73f7","parentId":4119,"name":"css-loader","id":4126,"timestamp":1673183158327,"duration":11751,"tags":{"astUsed":"true"},"startTime":1664596227034},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"build-module-css","id":4119,"timestamp":1673183112024,"duration":68573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4122,"name":"next-swc-transform","id":4123,"timestamp":1673183112449,"duration":69875,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4121,"name":"next-swc-loader","id":4122,"timestamp":1673183112362,"duration":69966,"tags":{},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"build-module-tsx","id":4121,"timestamp":1673183112289,"duration":74619,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226988},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4113,"timestamp":1673183100757,"duration":87579,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4116,"timestamp":1673183100767,"duration":87912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4118,"timestamp":1673183100771,"duration":94665,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4114,"timestamp":1673183100761,"duration":98872,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"add-entry","id":4115,"timestamp":1673183100764,"duration":134866,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596226976},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"make","id":4111,"timestamp":1673183098856,"duration":136796,"tags":{},"startTime":1664596226974},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-chunk-graph","id":4128,"timestamp":1673183240727,"duration":16811,"tags":{},"startTime":1664596227116},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-modules","id":4130,"timestamp":1673183257561,"duration":13,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-chunks","id":4131,"timestamp":1673183257610,"duration":59,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize-tree","id":4132,"timestamp":1673183257706,"duration":14,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-optimize","id":4129,"timestamp":1673183257554,"duration":1654,"tags":{},"startTime":1664596227133},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-hash","id":4133,"timestamp":1673183270771,"duration":5866,"tags":{},"startTime":1664596227146},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"NextJsBuildManifest-generateClientManifest","id":4135,"timestamp":1673183287669,"duration":62,"tags":{},"startTime":1664596227163},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"NextJsBuildManifest-createassets","id":4134,"timestamp":1673183287615,"duration":124,"tags":{},"startTime":1664596227163},{"traceId":"43f2de6d909a73f7","parentId":4110,"name":"webpack-compilation-seal","id":4127,"timestamp":1673183237011,"duration":52551,"tags":{},"startTime":1664596227113},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"webpack-compilation","id":4110,"timestamp":1673183098636,"duration":190946,"tags":{"name":"client"},"startTime":1664596226974},{"traceId":"43f2de6d909a73f7","parentId":4108,"name":"emit","id":4136,"timestamp":1673183289600,"duration":118943,"tags":{},"startTime":1664596227165},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4108,"timestamp":1673183085281,"duration":324352,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226961},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4143,"timestamp":1673183424211,"duration":0,"tags":{},"startTime":1664596227300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4144,"timestamp":1673183424415,"duration":0,"tags":{},"startTime":1664596227300},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4142,"timestamp":1673183423269,"duration":12107,"tags":{"request":"private-next-pages/_error"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4141,"timestamp":1673183423264,"duration":12126,"tags":{"request":"private-next-pages/_document"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4148,"timestamp":1664596227299000,"duration":12999,"tags":{"clientId":1664595509559},"startTime":1664596227313},{"traceId":"43f2de6d909a73f7","parentId":4146,"name":"next-swc-transform","id":4147,"timestamp":1673183434014,"duration":8241,"tags":{},"startTime":1664596227310},{"traceId":"43f2de6d909a73f7","parentId":4145,"name":"next-swc-loader","id":4146,"timestamp":1673183433955,"duration":8305,"tags":{},"startTime":1664596227309},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"build-module-tsx","id":4145,"timestamp":1673183433825,"duration":13446,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596227309},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"add-entry","id":4140,"timestamp":1673183423163,"duration":27187,"tags":{"request":"private-next-pages/_app"},"startTime":1664596227299},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"make","id":4138,"timestamp":1673183410834,"duration":39531,"tags":{},"startTime":1664596227286},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-chunk-graph","id":4150,"timestamp":1673183450682,"duration":287,"tags":{},"startTime":1664596227326},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-modules","id":4152,"timestamp":1673183450978,"duration":1,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-chunks","id":4153,"timestamp":1673183450987,"duration":22,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize-tree","id":4154,"timestamp":1673183451018,"duration":5,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-optimize","id":4151,"timestamp":1673183450975,"duration":105,"tags":{},"startTime":1664596227327},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-hash","id":4155,"timestamp":1673183452452,"duration":709,"tags":{},"startTime":1664596227328},{"traceId":"43f2de6d909a73f7","parentId":4137,"name":"webpack-compilation-seal","id":4149,"timestamp":1673183450617,"duration":5264,"tags":{},"startTime":1664596227326},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"webpack-compilation","id":4137,"timestamp":1673183410595,"duration":45313,"tags":{"name":"server"},"startTime":1664596227286},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4157,"timestamp":1664596227299000,"duration":27000,"tags":{"clientId":1664595301700},"startTime":1664596227335},{"traceId":"43f2de6d909a73f7","parentId":4109,"name":"emit","id":4156,"timestamp":1673183455924,"duration":4686,"tags":{},"startTime":1664596227331},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4109,"timestamp":1673183085557,"duration":375404,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596226961},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4160,"timestamp":1673183466141,"duration":3604,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4161,"timestamp":1673183466293,"duration":4032,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"read-resource","id":4168,"timestamp":1673183470532,"duration":33,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4169,"name":"postcss-process","id":4170,"timestamp":1673183470591,"duration":32285,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"postcss-loader","id":4169,"timestamp":1673183470582,"duration":32852,"tags":{},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4167,"name":"css-loader","id":4171,"timestamp":1673183503454,"duration":9137,"tags":{"astUsed":"true"},"startTime":1664596227379},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"build-module-css","id":4167,"timestamp":1673183470414,"duration":48137,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596227346},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4165,"timestamp":1673183466307,"duration":54832,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4164,"timestamp":1673183466304,"duration":54852,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4166,"timestamp":1673183466309,"duration":58824,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4162,"timestamp":1673183466298,"duration":59202,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"add-entry","id":4163,"timestamp":1673183466300,"duration":90527,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596227342},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"make","id":4159,"timestamp":1673183464844,"duration":92008,"tags":{},"startTime":1664596227340},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-chunk-graph","id":4173,"timestamp":1673183561159,"duration":16117,"tags":{},"startTime":1664596227437},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-modules","id":4175,"timestamp":1673183577298,"duration":2,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-chunks","id":4176,"timestamp":1673183577309,"duration":34,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize-tree","id":4177,"timestamp":1673183577372,"duration":3,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-optimize","id":4174,"timestamp":1673183577291,"duration":1601,"tags":{},"startTime":1664596227453},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-hash","id":4178,"timestamp":1673183589939,"duration":5429,"tags":{},"startTime":1664596227465},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"NextJsBuildManifest-generateClientManifest","id":4180,"timestamp":1673183596163,"duration":50,"tags":{},"startTime":1664596227472},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"NextJsBuildManifest-createassets","id":4179,"timestamp":1673183596115,"duration":100,"tags":{},"startTime":1664596227472},{"traceId":"43f2de6d909a73f7","parentId":4158,"name":"webpack-compilation-seal","id":4172,"timestamp":1673183557853,"duration":39428,"tags":{},"startTime":1664596227433},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"webpack-compilation","id":4158,"timestamp":1673183464661,"duration":132646,"tags":{"name":"client"},"startTime":1664596227340},{"traceId":"43f2de6d909a73f7","parentId":4139,"name":"emit","id":4181,"timestamp":1673183597322,"duration":4058,"tags":{},"startTime":1664596227473},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4139,"timestamp":1673183422703,"duration":179337,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596227298}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4182,"timestamp":1673183610771,"duration":0,"tags":{},"startTime":1664596227486},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4183,"timestamp":1673183610806,"duration":0,"tags":{},"startTime":1664596227486},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4188,"timestamp":1673293559245,"duration":16516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4193,"timestamp":1673293559470,"duration":19030,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"read-resource","id":4196,"timestamp":1673293577699,"duration":5504,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4200,"name":"postcss-process","id":4201,"timestamp":1673293583339,"duration":58027,"tags":{},"startTime":1664596337463},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"postcss-loader","id":4200,"timestamp":1673293583250,"duration":58589,"tags":{},"startTime":1664596337463},{"traceId":"43f2de6d909a73f7","parentId":4195,"name":"css-loader","id":4202,"timestamp":1673293641874,"duration":18549,"tags":{"astUsed":"true"},"startTime":1664596337521},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"build-module-css","id":4195,"timestamp":1673293577250,"duration":94673,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4198,"name":"next-swc-transform","id":4199,"timestamp":1673293578028,"duration":94760,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4197,"name":"next-swc-loader","id":4198,"timestamp":1673293577902,"duration":94889,"tags":{},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"build-module-tsx","id":4197,"timestamp":1673293577775,"duration":100758,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337457},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4189,"timestamp":1673293559445,"duration":119819,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4192,"timestamp":1673293559466,"duration":120907,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4194,"timestamp":1673293559472,"duration":139401,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4190,"timestamp":1673293559459,"duration":224526,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"add-entry","id":4191,"timestamp":1673293559463,"duration":305354,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596337439},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"make","id":4187,"timestamp":1673293555735,"duration":309164,"tags":{},"startTime":1664596337435},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-chunk-graph","id":4204,"timestamp":1673293870109,"duration":17466,"tags":{},"startTime":1664596337749},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-modules","id":4206,"timestamp":1673293887639,"duration":12,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-chunks","id":4207,"timestamp":1673293887685,"duration":128,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize-tree","id":4208,"timestamp":1673293887859,"duration":15,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-optimize","id":4205,"timestamp":1673293887607,"duration":1821,"tags":{},"startTime":1664596337767},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-hash","id":4209,"timestamp":1673293901432,"duration":6155,"tags":{},"startTime":1664596337781},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"NextJsBuildManifest-generateClientManifest","id":4211,"timestamp":1673293923105,"duration":186,"tags":{},"startTime":1664596337802},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"NextJsBuildManifest-createassets","id":4210,"timestamp":1673293923041,"duration":257,"tags":{},"startTime":1664596337802},{"traceId":"43f2de6d909a73f7","parentId":4186,"name":"webpack-compilation-seal","id":4203,"timestamp":1673293866381,"duration":58948,"tags":{},"startTime":1664596337746},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"webpack-compilation","id":4186,"timestamp":1673293554957,"duration":370400,"tags":{"name":"client"},"startTime":1664596337434},{"traceId":"43f2de6d909a73f7","parentId":4184,"name":"emit","id":4212,"timestamp":1673293925395,"duration":125998,"tags":{},"startTime":1664596337805},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4184,"timestamp":1673293529412,"duration":522774,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337409},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4219,"timestamp":1673294064376,"duration":0,"tags":{},"startTime":1664596337944},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4220,"timestamp":1673294064528,"duration":0,"tags":{},"startTime":1664596337944},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4218,"timestamp":1673294063814,"duration":11630,"tags":{"request":"private-next-pages/_error"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4217,"timestamp":1673294063810,"duration":11645,"tags":{"request":"private-next-pages/_document"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4222,"name":"next-swc-transform","id":4223,"timestamp":1673294074216,"duration":2429,"tags":{},"startTime":1664596337954},{"traceId":"43f2de6d909a73f7","parentId":4221,"name":"next-swc-loader","id":4222,"timestamp":1673294074145,"duration":2504,"tags":{},"startTime":1664596337953},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"build-module-tsx","id":4221,"timestamp":1673294073990,"duration":7830,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337953},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4224,"timestamp":1664596337943000,"duration":25999,"tags":{"clientId":1664595509559},"startTime":1664596337969},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"add-entry","id":4216,"timestamp":1673294063764,"duration":30032,"tags":{"request":"private-next-pages/_app"},"startTime":1664596337943},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"make","id":4214,"timestamp":1673294053102,"duration":40709,"tags":{},"startTime":1664596337932},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-chunk-graph","id":4226,"timestamp":1673294094159,"duration":175,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-modules","id":4228,"timestamp":1673294094341,"duration":2,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-chunks","id":4229,"timestamp":1673294094375,"duration":25,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize-tree","id":4230,"timestamp":1673294094421,"duration":11,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-optimize","id":4227,"timestamp":1673294094338,"duration":186,"tags":{},"startTime":1664596337974},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-hash","id":4231,"timestamp":1673294095810,"duration":735,"tags":{},"startTime":1664596337975},{"traceId":"43f2de6d909a73f7","parentId":4213,"name":"webpack-compilation-seal","id":4225,"timestamp":1673294094098,"duration":3787,"tags":{},"startTime":1664596337973},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"webpack-compilation","id":4213,"timestamp":1673294052907,"duration":44999,"tags":{"name":"server"},"startTime":1664596337932},{"traceId":"43f2de6d909a73f7","parentId":4185,"name":"emit","id":4232,"timestamp":1673294097917,"duration":1667,"tags":{},"startTime":1664596337977},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4185,"timestamp":1673293530197,"duration":569802,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596337410},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4235,"timestamp":1673294107702,"duration":3373,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4236,"timestamp":1673294107740,"duration":3917,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"read-resource","id":4243,"timestamp":1673294111932,"duration":35,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4244,"name":"postcss-process","id":4245,"timestamp":1673294111993,"duration":30670,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"postcss-loader","id":4244,"timestamp":1673294111984,"duration":30895,"tags":{},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":4242,"name":"css-loader","id":4246,"timestamp":1673294142900,"duration":10996,"tags":{"astUsed":"true"},"startTime":1664596338022},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"build-module-css","id":4242,"timestamp":1673294111739,"duration":48207,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596337991},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4247,"timestamp":1664596337947000,"duration":48999,"tags":{"clientId":1664595301700},"startTime":1664596338040},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4240,"timestamp":1673294107752,"duration":52814,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4239,"timestamp":1673294107749,"duration":52830,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4241,"timestamp":1673294107754,"duration":56599,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4237,"timestamp":1673294107743,"duration":56913,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"add-entry","id":4238,"timestamp":1673294107746,"duration":85236,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596337987},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"make","id":4234,"timestamp":1673294103792,"duration":89213,"tags":{},"startTime":1664596337983},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-chunk-graph","id":4249,"timestamp":1673294197583,"duration":3932,"tags":{},"startTime":1664596338077},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-modules","id":4251,"timestamp":1673294201539,"duration":2,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-chunks","id":4252,"timestamp":1673294201553,"duration":32,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize-tree","id":4253,"timestamp":1673294201606,"duration":3,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-optimize","id":4250,"timestamp":1673294201532,"duration":978,"tags":{},"startTime":1664596338081},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-hash","id":4254,"timestamp":1673294212468,"duration":5423,"tags":{},"startTime":1664596338092},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"NextJsBuildManifest-generateClientManifest","id":4256,"timestamp":1673294218863,"duration":49,"tags":{},"startTime":1664596338098},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"NextJsBuildManifest-createassets","id":4255,"timestamp":1673294218821,"duration":95,"tags":{},"startTime":1664596338098},{"traceId":"43f2de6d909a73f7","parentId":4233,"name":"webpack-compilation-seal","id":4248,"timestamp":1673294194142,"duration":25844,"tags":{},"startTime":1664596338073},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"webpack-compilation","id":4233,"timestamp":1673294103616,"duration":116399,"tags":{"name":"client"},"startTime":1664596337983},{"traceId":"43f2de6d909a73f7","parentId":4215,"name":"emit","id":4257,"timestamp":1673294220031,"duration":2558,"tags":{},"startTime":1664596338099},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4215,"timestamp":1673294063497,"duration":159732,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596337943}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4258,"timestamp":1673294235386,"duration":0,"tags":{},"startTime":1664596338115},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4259,"timestamp":1673294235447,"duration":0,"tags":{},"startTime":1664596338115},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4266,"timestamp":1673310069615,"duration":6640,"tags":{"request":"private-next-pages/_error"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4265,"timestamp":1673310069611,"duration":6655,"tags":{"request":"private-next-pages/_document"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4268,"name":"next-swc-transform","id":4269,"timestamp":1673310075928,"duration":1711,"tags":{},"startTime":1664596353956},{"traceId":"43f2de6d909a73f7","parentId":4267,"name":"next-swc-loader","id":4268,"timestamp":1673310075885,"duration":1760,"tags":{},"startTime":1664596353956},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"build-module-tsx","id":4267,"timestamp":1673310075711,"duration":6693,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353955},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"add-entry","id":4264,"timestamp":1673310069574,"duration":17105,"tags":{"request":"private-next-pages/_app"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"make","id":4263,"timestamp":1673310069426,"duration":17611,"tags":{},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-chunk-graph","id":4271,"timestamp":1673310087490,"duration":209,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-modules","id":4273,"timestamp":1673310087708,"duration":2,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-chunks","id":4274,"timestamp":1673310087720,"duration":16,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize-tree","id":4275,"timestamp":1673310087744,"duration":3,"tags":{},"startTime":1664596353968},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-optimize","id":4272,"timestamp":1673310087705,"duration":93,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-hash","id":4276,"timestamp":1673310089034,"duration":502,"tags":{},"startTime":1664596353969},{"traceId":"43f2de6d909a73f7","parentId":4262,"name":"webpack-compilation-seal","id":4270,"timestamp":1673310087400,"duration":3245,"tags":{},"startTime":1664596353967},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"webpack-compilation","id":4262,"timestamp":1673310069266,"duration":21405,"tags":{"name":"server"},"startTime":1664596353949},{"traceId":"43f2de6d909a73f7","parentId":4260,"name":"emit","id":4277,"timestamp":1673310090682,"duration":2636,"tags":{},"startTime":1664596353970},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4260,"timestamp":1673310062404,"duration":31405,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353942},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4280,"timestamp":1673310103633,"duration":3983,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4281,"timestamp":1673310103680,"duration":6954,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"read-resource","id":4288,"timestamp":1673310110895,"duration":87,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4290,"name":"postcss-process","id":4291,"timestamp":1673310111004,"duration":32503,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"postcss-loader","id":4290,"timestamp":1673310110995,"duration":32643,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4287,"name":"css-loader","id":4294,"timestamp":1673310143653,"duration":7808,"tags":{"astUsed":"true"},"startTime":1664596354023},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"build-module-css","id":4287,"timestamp":1673310110776,"duration":41753,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4292,"name":"next-swc-transform","id":4293,"timestamp":1673310111237,"duration":41455,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4289,"name":"next-swc-loader","id":4292,"timestamp":1673310111197,"duration":41497,"tags":{},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"build-module-tsx","id":4289,"timestamp":1673310110916,"duration":44962,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353991},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4285,"timestamp":1673310103700,"duration":53386,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4284,"timestamp":1673310103696,"duration":53406,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4286,"timestamp":1673310103702,"duration":65533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4282,"timestamp":1673310103691,"duration":89444,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"add-entry","id":4283,"timestamp":1673310103694,"duration":130504,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596353983},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"make","id":4279,"timestamp":1673310097950,"duration":136283,"tags":{},"startTime":1664596353978},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-chunk-graph","id":4296,"timestamp":1673310238822,"duration":16972,"tags":{},"startTime":1664596354119},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-modules","id":4298,"timestamp":1673310255819,"duration":3,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-chunks","id":4299,"timestamp":1673310255835,"duration":156,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize-tree","id":4300,"timestamp":1673310256017,"duration":7,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-optimize","id":4297,"timestamp":1673310255810,"duration":1989,"tags":{},"startTime":1664596354136},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-hash","id":4301,"timestamp":1673310271558,"duration":4684,"tags":{},"startTime":1664596354151},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"NextJsBuildManifest-generateClientManifest","id":4303,"timestamp":1673310289014,"duration":70,"tags":{},"startTime":1664596354169},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"NextJsBuildManifest-createassets","id":4302,"timestamp":1673310288960,"duration":133,"tags":{},"startTime":1664596354169},{"traceId":"43f2de6d909a73f7","parentId":4278,"name":"webpack-compilation-seal","id":4295,"timestamp":1673310235510,"duration":55604,"tags":{},"startTime":1664596354115},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"webpack-compilation","id":4278,"timestamp":1673310097758,"duration":193396,"tags":{"name":"client"},"startTime":1664596353978},{"traceId":"43f2de6d909a73f7","parentId":4261,"name":"emit","id":4304,"timestamp":1673310291180,"duration":134168,"tags":{},"startTime":1664596354171},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4261,"timestamp":1673310062554,"duration":363742,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596353942}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4306,"timestamp":1673310439649,"duration":0,"tags":{},"startTime":1664596354319},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4307,"timestamp":1673310439844,"duration":0,"tags":{},"startTime":1664596354320},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4317,"timestamp":1664596354319000,"duration":18999,"tags":{"clientId":1664595509559},"startTime":1664596354340},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4310,"timestamp":1673310454962,"duration":7939,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4311,"timestamp":1673310455040,"duration":8637,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"read-resource","id":4319,"timestamp":1673310463958,"duration":40,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4320,"name":"postcss-process","id":4321,"timestamp":1673310464031,"duration":37295,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"postcss-loader","id":4320,"timestamp":1673310464017,"duration":39416,"tags":{},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":4318,"name":"css-loader","id":4322,"timestamp":1673310503501,"duration":13021,"tags":{"astUsed":"true"},"startTime":1664596354383},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"build-module-css","id":4318,"timestamp":1673310463799,"duration":54156,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596354344},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4323,"timestamp":1664596354320000,"duration":48999,"tags":{"clientId":1664595301700},"startTime":1664596354398},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4315,"timestamp":1673310455052,"duration":63539,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4314,"timestamp":1673310455049,"duration":63564,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4316,"timestamp":1673310455054,"duration":68018,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4312,"timestamp":1673310455044,"duration":68421,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"add-entry","id":4313,"timestamp":1673310455046,"duration":102560,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596354335},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"make","id":4309,"timestamp":1673310452104,"duration":105535,"tags":{},"startTime":1664596354332},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-chunk-graph","id":4325,"timestamp":1673310563203,"duration":17465,"tags":{},"startTime":1664596354443},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-modules","id":4327,"timestamp":1673310580694,"duration":3,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-chunks","id":4328,"timestamp":1673310580708,"duration":96,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize-tree","id":4329,"timestamp":1673310580826,"duration":4,"tags":{},"startTime":1664596354461},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-optimize","id":4326,"timestamp":1673310580687,"duration":1601,"tags":{},"startTime":1664596354460},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-hash","id":4330,"timestamp":1673310595581,"duration":4028,"tags":{},"startTime":1664596354475},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"NextJsBuildManifest-generateClientManifest","id":4332,"timestamp":1673310600447,"duration":54,"tags":{},"startTime":1664596354480},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"NextJsBuildManifest-createassets","id":4331,"timestamp":1673310600398,"duration":105,"tags":{},"startTime":1664596354480},{"traceId":"43f2de6d909a73f7","parentId":4308,"name":"webpack-compilation-seal","id":4324,"timestamp":1673310558691,"duration":42828,"tags":{},"startTime":1664596354438},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"webpack-compilation","id":4308,"timestamp":1673310451860,"duration":149683,"tags":{"name":"client"},"startTime":1664596354332},{"traceId":"43f2de6d909a73f7","parentId":4305,"name":"emit","id":4333,"timestamp":1673310601556,"duration":5665,"tags":{},"startTime":1664596354481},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4305,"timestamp":1673310438792,"duration":168993,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596354319}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4334,"timestamp":1673310618265,"duration":0,"tags":{},"startTime":1664596354498},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4335,"timestamp":1673310618312,"duration":0,"tags":{},"startTime":1664596354498},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4340,"timestamp":1673457723943,"duration":10300,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4345,"timestamp":1673457724066,"duration":11822,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"read-resource","id":4348,"timestamp":1673457735366,"duration":1282,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4352,"name":"postcss-process","id":4353,"timestamp":1673457736765,"duration":42227,"tags":{},"startTime":1664596501617},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"postcss-loader","id":4352,"timestamp":1673457736742,"duration":42614,"tags":{},"startTime":1664596501617},{"traceId":"43f2de6d909a73f7","parentId":4347,"name":"css-loader","id":4354,"timestamp":1673457779384,"duration":15242,"tags":{"astUsed":"true"},"startTime":1664596501659},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"build-module-css","id":4347,"timestamp":1673457735168,"duration":70149,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4350,"name":"next-swc-transform","id":4351,"timestamp":1673457735604,"duration":70443,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4349,"name":"next-swc-loader","id":4350,"timestamp":1673457735474,"duration":70576,"tags":{},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"build-module-tsx","id":4349,"timestamp":1673457735404,"duration":77056,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501615},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4341,"timestamp":1673457724051,"duration":90569,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4344,"timestamp":1673457724062,"duration":91069,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4346,"timestamp":1673457724068,"duration":98007,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4342,"timestamp":1673457724056,"duration":104468,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"add-entry","id":4343,"timestamp":1673457724059,"duration":136659,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596501604},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"make","id":4339,"timestamp":1673457722542,"duration":138239,"tags":{},"startTime":1664596501602},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-chunk-graph","id":4356,"timestamp":1673457866532,"duration":16253,"tags":{},"startTime":1664596501746},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-modules","id":4358,"timestamp":1673457882840,"duration":13,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-chunks","id":4359,"timestamp":1673457882885,"duration":53,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize-tree","id":4360,"timestamp":1673457882974,"duration":11,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-optimize","id":4357,"timestamp":1673457882811,"duration":1603,"tags":{},"startTime":1664596501763},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-hash","id":4361,"timestamp":1673457898609,"duration":5427,"tags":{},"startTime":1664596501778},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"NextJsBuildManifest-generateClientManifest","id":4363,"timestamp":1673457912872,"duration":251,"tags":{},"startTime":1664596501793},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"NextJsBuildManifest-createassets","id":4362,"timestamp":1673457912818,"duration":313,"tags":{},"startTime":1664596501793},{"traceId":"43f2de6d909a73f7","parentId":4338,"name":"webpack-compilation-seal","id":4355,"timestamp":1673457862178,"duration":52717,"tags":{},"startTime":1664596501742},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"webpack-compilation","id":4338,"timestamp":1673457722300,"duration":192625,"tags":{"name":"client"},"startTime":1664596501602},{"traceId":"43f2de6d909a73f7","parentId":4336,"name":"emit","id":4364,"timestamp":1673457914957,"duration":94871,"tags":{},"startTime":1664596501795},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4336,"timestamp":1673457711660,"duration":307564,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501591},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4371,"timestamp":1673458033739,"duration":0,"tags":{},"startTime":1664596501914},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4372,"timestamp":1673458033923,"duration":0,"tags":{},"startTime":1664596501914},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4370,"timestamp":1673458032788,"duration":10125,"tags":{"request":"private-next-pages/_error"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4369,"timestamp":1673458032783,"duration":10142,"tags":{"request":"private-next-pages/_document"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4376,"timestamp":1664596501912999,"duration":11000,"tags":{"clientId":1664595509559},"startTime":1664596501925},{"traceId":"43f2de6d909a73f7","parentId":4374,"name":"next-swc-transform","id":4375,"timestamp":1673458041520,"duration":6164,"tags":{},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4373,"name":"next-swc-loader","id":4374,"timestamp":1673458041455,"duration":6233,"tags":{},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"build-module-tsx","id":4373,"timestamp":1673458041313,"duration":10877,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501921},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"add-entry","id":4368,"timestamp":1673458032708,"duration":23021,"tags":{"request":"private-next-pages/_app"},"startTime":1664596501913},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"make","id":4366,"timestamp":1673458021090,"duration":34649,"tags":{},"startTime":1664596501901},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-chunk-graph","id":4378,"timestamp":1673458056043,"duration":213,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-modules","id":4380,"timestamp":1673458056263,"duration":2,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-chunks","id":4381,"timestamp":1673458056296,"duration":30,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize-tree","id":4382,"timestamp":1673458056344,"duration":13,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-optimize","id":4379,"timestamp":1673458056260,"duration":178,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-hash","id":4383,"timestamp":1673458057735,"duration":699,"tags":{},"startTime":1664596501938},{"traceId":"43f2de6d909a73f7","parentId":4365,"name":"webpack-compilation-seal","id":4377,"timestamp":1673458055977,"duration":5094,"tags":{},"startTime":1664596501936},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"webpack-compilation","id":4365,"timestamp":1673458020811,"duration":40277,"tags":{"name":"server"},"startTime":1664596501901},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4385,"timestamp":1664596501913999,"duration":24000,"tags":{"clientId":1664595301700},"startTime":1664596501944},{"traceId":"43f2de6d909a73f7","parentId":4337,"name":"emit","id":4384,"timestamp":1673458061101,"duration":4672,"tags":{},"startTime":1664596501941},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4337,"timestamp":1673457711885,"duration":354270,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596501592},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4388,"timestamp":1673458070621,"duration":3474,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4389,"timestamp":1673458070652,"duration":4027,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"read-resource","id":4396,"timestamp":1673458074902,"duration":34,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4397,"name":"postcss-process","id":4398,"timestamp":1673458074959,"duration":31925,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"postcss-loader","id":4397,"timestamp":1673458074951,"duration":32400,"tags":{},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4395,"name":"css-loader","id":4399,"timestamp":1673458107372,"duration":8827,"tags":{"astUsed":"true"},"startTime":1664596501987},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"build-module-css","id":4395,"timestamp":1673458074764,"duration":46626,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596501955},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4393,"timestamp":1673458070664,"duration":52721,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4392,"timestamp":1673458070661,"duration":52744,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4394,"timestamp":1673458070666,"duration":56565,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4390,"timestamp":1673458070656,"duration":56987,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"add-entry","id":4391,"timestamp":1673458070658,"duration":86276,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596501950},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"make","id":4387,"timestamp":1673458069465,"duration":87491,"tags":{},"startTime":1664596501949},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-chunk-graph","id":4401,"timestamp":1673458161597,"duration":17214,"tags":{},"startTime":1664596502041},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-modules","id":4403,"timestamp":1673458178841,"duration":2,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-chunks","id":4404,"timestamp":1673458178853,"duration":69,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize-tree","id":4405,"timestamp":1673458178944,"duration":3,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-optimize","id":4402,"timestamp":1673458178831,"duration":1571,"tags":{},"startTime":1664596502059},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-hash","id":4406,"timestamp":1673458190938,"duration":5545,"tags":{},"startTime":1664596502071},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"NextJsBuildManifest-generateClientManifest","id":4408,"timestamp":1673458197369,"duration":51,"tags":{},"startTime":1664596502077},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"NextJsBuildManifest-createassets","id":4407,"timestamp":1673458197321,"duration":102,"tags":{},"startTime":1664596502077},{"traceId":"43f2de6d909a73f7","parentId":4386,"name":"webpack-compilation-seal","id":4400,"timestamp":1673458158178,"duration":40076,"tags":{},"startTime":1664596502038},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"webpack-compilation","id":4386,"timestamp":1673458069269,"duration":129007,"tags":{"name":"client"},"startTime":1664596501949},{"traceId":"43f2de6d909a73f7","parentId":4367,"name":"emit","id":4409,"timestamp":1673458198292,"duration":3613,"tags":{},"startTime":1664596502078},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4367,"timestamp":1673458032415,"duration":170222,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596501912}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4410,"timestamp":1673458211665,"duration":0,"tags":{},"startTime":1664596502092},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4411,"timestamp":1673458587144,"duration":0,"tags":{},"startTime":1664596502467},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4418,"timestamp":1673492238090,"duration":9516,"tags":{"request":"private-next-pages/_error"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4417,"timestamp":1673492238086,"duration":9533,"tags":{"request":"private-next-pages/_document"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4420,"name":"next-swc-transform","id":4421,"timestamp":1673492247143,"duration":718,"tags":{},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4419,"name":"next-swc-loader","id":4420,"timestamp":1673492247093,"duration":775,"tags":{},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"build-module-tsx","id":4419,"timestamp":1673492246908,"duration":1239,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536127},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"add-entry","id":4416,"timestamp":1673492238035,"duration":10261,"tags":{"request":"private-next-pages/_app"},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4412,"name":"make","id":4415,"timestamp":1673492237876,"duration":10432,"tags":{},"startTime":1664596536118},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-chunk-graph","id":4423,"timestamp":1673492248642,"duration":212,"tags":{},"startTime":1664596536128},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-modules","id":4425,"timestamp":1673492248866,"duration":2,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-chunks","id":4426,"timestamp":1673492248875,"duration":25,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize-tree","id":4427,"timestamp":1673492248910,"duration":2,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-optimize","id":4424,"timestamp":1673492248861,"duration":101,"tags":{},"startTime":1664596536129},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-hash","id":4428,"timestamp":1673492252037,"duration":582,"tags":{},"startTime":1664596536132},{"traceId":"43f2de6d909a73f7","parentId":4414,"name":"webpack-compilation-seal","id":4422,"timestamp":1673492248572,"duration":7176,"tags":{},"startTime":1664596536128},{"traceId":"43f2de6d909a73f7","parentId":4412,"name":"webpack-compilation","id":4414,"timestamp":1673492237681,"duration":18096,"tags":{"name":"server"},"startTime":1664596536117},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4412,"timestamp":1673492231689,"duration":25497,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536111},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4431,"timestamp":1673492265882,"duration":0,"tags":{"errorCount":1},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4439,"timestamp":1673492270935,"duration":0,"tags":{"errorCount":1},"startTime":1664596536151},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4432,"timestamp":1673492266511,"duration":6822,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4433,"timestamp":1673492266552,"duration":7419,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"read-resource","id":4441,"timestamp":1673492274895,"duration":88,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4443,"name":"postcss-process","id":4444,"timestamp":1673492275009,"duration":37060,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"postcss-loader","id":4443,"timestamp":1673492274998,"duration":37213,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4440,"name":"css-loader","id":4447,"timestamp":1673492312229,"duration":9221,"tags":{"astUsed":"true"},"startTime":1664596536192},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"build-module-css","id":4440,"timestamp":1673492274790,"duration":47738,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4445,"name":"next-swc-transform","id":4446,"timestamp":1673492275292,"duration":47353,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4442,"name":"next-swc-loader","id":4445,"timestamp":1673492275256,"duration":47392,"tags":{},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"build-module-tsx","id":4442,"timestamp":1673492274918,"duration":47776,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536155},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4437,"timestamp":1673492266570,"duration":56425,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4436,"timestamp":1673492266566,"duration":56440,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4438,"timestamp":1673492266574,"duration":59983,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4434,"timestamp":1673492266561,"duration":60067,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"add-entry","id":4435,"timestamp":1673492266564,"duration":86976,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596536146},{"traceId":"43f2de6d909a73f7","parentId":4413,"name":"make","id":4430,"timestamp":1673492263634,"duration":89933,"tags":{},"startTime":1664596536143},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-chunk-graph","id":4449,"timestamp":1673492357976,"duration":3623,"tags":{},"startTime":1664596536238},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-modules","id":4451,"timestamp":1673492361617,"duration":2,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-chunks","id":4452,"timestamp":1673492361627,"duration":28,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize-tree","id":4453,"timestamp":1673492361669,"duration":2,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-optimize","id":4450,"timestamp":1673492361607,"duration":882,"tags":{},"startTime":1664596536241},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-hash","id":4454,"timestamp":1673492371827,"duration":3484,"tags":{},"startTime":1664596536252},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"NextJsBuildManifest-generateClientManifest","id":4456,"timestamp":1673492382632,"duration":69,"tags":{},"startTime":1664596536262},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"NextJsBuildManifest-createassets","id":4455,"timestamp":1673492382579,"duration":128,"tags":{},"startTime":1664596536262},{"traceId":"43f2de6d909a73f7","parentId":4429,"name":"webpack-compilation-seal","id":4448,"timestamp":1673492354775,"duration":29075,"tags":{},"startTime":1664596536235},{"traceId":"43f2de6d909a73f7","parentId":4413,"name":"webpack-compilation","id":4429,"timestamp":1673492263433,"duration":120445,"tags":{"name":"client"},"startTime":1664596536143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4413,"timestamp":1673492231860,"duration":152725,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536112}] -[{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4460,"timestamp":1673492407121,"duration":3485,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4461,"timestamp":1673492407167,"duration":4078,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"read-resource","id":4468,"timestamp":1673492411445,"duration":71,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4470,"name":"postcss-process","id":4471,"timestamp":1673492411539,"duration":31367,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"postcss-loader","id":4470,"timestamp":1673492411526,"duration":31607,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4467,"name":"css-loader","id":4474,"timestamp":1673492443153,"duration":10949,"tags":{"astUsed":"true"},"startTime":1664596536323},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"build-module-css","id":4467,"timestamp":1673492411347,"duration":43743,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4472,"name":"next-swc-transform","id":4473,"timestamp":1673492411689,"duration":43598,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4469,"name":"next-swc-loader","id":4472,"timestamp":1673492411663,"duration":43627,"tags":{},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"build-module-tsx","id":4469,"timestamp":1673492411460,"duration":43876,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596536291},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4465,"timestamp":1673492407180,"duration":49386,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4464,"timestamp":1673492407177,"duration":49403,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4466,"timestamp":1673492407182,"duration":57533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4462,"timestamp":1673492407171,"duration":57618,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"add-entry","id":4463,"timestamp":1673492407173,"duration":128072,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596536287},{"traceId":"43f2de6d909a73f7","parentId":4457,"name":"make","id":4459,"timestamp":1673492406420,"duration":128864,"tags":{},"startTime":1664596536286},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-chunk-graph","id":4476,"timestamp":1673492540464,"duration":17832,"tags":{},"startTime":1664596536420},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-modules","id":4478,"timestamp":1673492558315,"duration":3,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-chunks","id":4479,"timestamp":1673492558327,"duration":103,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize-tree","id":4480,"timestamp":1673492558448,"duration":5,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-optimize","id":4477,"timestamp":1673492558308,"duration":1449,"tags":{},"startTime":1664596536438},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-hash","id":4481,"timestamp":1673492570153,"duration":4053,"tags":{},"startTime":1664596536450},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"NextJsBuildManifest-generateClientManifest","id":4483,"timestamp":1673492576166,"duration":61,"tags":{},"startTime":1664596536456},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"NextJsBuildManifest-createassets","id":4482,"timestamp":1673492576096,"duration":135,"tags":{},"startTime":1664596536456},{"traceId":"43f2de6d909a73f7","parentId":4458,"name":"webpack-compilation-seal","id":4475,"timestamp":1673492536540,"duration":40916,"tags":{},"startTime":1664596536416},{"traceId":"43f2de6d909a73f7","parentId":4457,"name":"webpack-compilation","id":4458,"timestamp":1673492406252,"duration":171231,"tags":{"name":"client"},"startTime":1664596536286},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4457,"timestamp":1673492395520,"duration":183136,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596536275}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4486,"timestamp":1673508855452,"duration":0,"tags":{"errorCount":1},"startTime":1664596552735},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":4492,"timestamp":1673508867627,"duration":0,"tags":{"errorCount":1},"startTime":1664596552747},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4491,"timestamp":1673508861562,"duration":12602,"tags":{"request":"private-next-pages/_error"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4490,"timestamp":1673508861558,"duration":12618,"tags":{"request":"private-next-pages/_document"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4494,"name":"next-swc-transform","id":4495,"timestamp":1673508873630,"duration":1693,"tags":{},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4493,"name":"next-swc-loader","id":4494,"timestamp":1673508873543,"duration":1785,"tags":{},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"build-module-tsx","id":4493,"timestamp":1673508873359,"duration":8916,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552753},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"add-entry","id":4489,"timestamp":1673508861449,"duration":25512,"tags":{"request":"private-next-pages/_app"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"make","id":4488,"timestamp":1673508861282,"duration":25741,"tags":{},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-chunk-graph","id":4497,"timestamp":1673508887335,"duration":228,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-modules","id":4499,"timestamp":1673508887570,"duration":2,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-chunks","id":4500,"timestamp":1673508887580,"duration":21,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize-tree","id":4501,"timestamp":1673508887608,"duration":5,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-optimize","id":4498,"timestamp":1673508887568,"duration":95,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-hash","id":4502,"timestamp":1673508888951,"duration":541,"tags":{},"startTime":1664596552769},{"traceId":"43f2de6d909a73f7","parentId":4487,"name":"webpack-compilation-seal","id":4496,"timestamp":1673508887262,"duration":4582,"tags":{},"startTime":1664596552767},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"webpack-compilation","id":4487,"timestamp":1673508861079,"duration":30791,"tags":{"name":"server"},"startTime":1664596552741},{"traceId":"43f2de6d909a73f7","parentId":4484,"name":"emit","id":4503,"timestamp":1673508891883,"duration":2218,"tags":{},"startTime":1664596552772},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4484,"timestamp":1673508853712,"duration":40735,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552733},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4506,"timestamp":1673508901380,"duration":6404,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4507,"timestamp":1673508901416,"duration":6989,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"read-resource","id":4514,"timestamp":1673508908693,"duration":88,"tags":{},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4516,"name":"postcss-process","id":4517,"timestamp":1673508908809,"duration":36180,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"postcss-loader","id":4516,"timestamp":1673508908798,"duration":36627,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4513,"name":"css-loader","id":4520,"timestamp":1673508945443,"duration":11719,"tags":{"astUsed":"true"},"startTime":1664596552825},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"build-module-css","id":4513,"timestamp":1673508908530,"duration":54599,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4518,"name":"next-swc-transform","id":4519,"timestamp":1673508909135,"duration":54207,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4515,"name":"next-swc-loader","id":4518,"timestamp":1673508909100,"duration":54245,"tags":{},"startTime":1664596552789},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"build-module-tsx","id":4515,"timestamp":1673508908709,"duration":58867,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552788},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4511,"timestamp":1673508901429,"duration":66409,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4510,"timestamp":1673508901426,"duration":66428,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4512,"timestamp":1673508901431,"duration":70461,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4508,"timestamp":1673508901420,"duration":82400,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"add-entry","id":4509,"timestamp":1673508901423,"duration":101791,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596552781},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"make","id":4505,"timestamp":1673508899878,"duration":103358,"tags":{},"startTime":1664596552780},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-chunk-graph","id":4522,"timestamp":1673509009196,"duration":16386,"tags":{},"startTime":1664596552889},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-modules","id":4524,"timestamp":1673509025605,"duration":2,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-chunks","id":4525,"timestamp":1673509025620,"duration":35,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize-tree","id":4526,"timestamp":1673509025673,"duration":3,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-optimize","id":4523,"timestamp":1673509025598,"duration":1490,"tags":{},"startTime":1664596552905},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-hash","id":4527,"timestamp":1673509039382,"duration":5801,"tags":{},"startTime":1664596552919},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"NextJsBuildManifest-generateClientManifest","id":4529,"timestamp":1673509053627,"duration":62,"tags":{},"startTime":1664596552933},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"NextJsBuildManifest-createassets","id":4528,"timestamp":1673509053567,"duration":130,"tags":{},"startTime":1664596552933},{"traceId":"43f2de6d909a73f7","parentId":4504,"name":"webpack-compilation-seal","id":4521,"timestamp":1673509004402,"duration":51164,"tags":{},"startTime":1664596552884},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"webpack-compilation","id":4504,"timestamp":1673508899713,"duration":155878,"tags":{"name":"client"},"startTime":1664596552779},{"traceId":"43f2de6d909a73f7","parentId":4485,"name":"emit","id":4530,"timestamp":1673509055610,"duration":123261,"tags":{},"startTime":1664596552935},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4485,"timestamp":1673508854355,"duration":325957,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596552734}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4532,"timestamp":1673509195728,"duration":0,"tags":{},"startTime":1664596553076},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4533,"timestamp":1673509195994,"duration":0,"tags":{},"startTime":1664596553076},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4536,"timestamp":1673509210303,"duration":5955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4543,"timestamp":1664596553075000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4537,"timestamp":1673509210379,"duration":6886,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"read-resource","id":4545,"timestamp":1673509217584,"duration":41,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4546,"name":"postcss-process","id":4547,"timestamp":1673509217657,"duration":35536,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"postcss-loader","id":4546,"timestamp":1673509217645,"duration":36168,"tags":{},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4544,"name":"css-loader","id":4548,"timestamp":1673509253838,"duration":12982,"tags":{"astUsed":"true"},"startTime":1664596553134},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"build-module-css","id":4544,"timestamp":1673509217378,"duration":50975,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596553097},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4541,"timestamp":1673509210392,"duration":58694,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4540,"timestamp":1673509210389,"duration":58716,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4542,"timestamp":1673509210394,"duration":62927,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4538,"timestamp":1673509210384,"duration":63285,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4549,"timestamp":1664596553086000,"duration":75999,"tags":{"clientId":1664595301700},"startTime":1664596553163},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"add-entry","id":4539,"timestamp":1673509210386,"duration":93389,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596553090},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"make","id":4535,"timestamp":1673509208171,"duration":95624,"tags":{},"startTime":1664596553088},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-chunk-graph","id":4551,"timestamp":1673509308293,"duration":19297,"tags":{},"startTime":1664596553188},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-modules","id":4553,"timestamp":1673509327616,"duration":3,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-chunks","id":4554,"timestamp":1673509327628,"duration":106,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize-tree","id":4555,"timestamp":1673509327755,"duration":3,"tags":{},"startTime":1664596553208},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-optimize","id":4552,"timestamp":1673509327609,"duration":1450,"tags":{},"startTime":1664596553207},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-hash","id":4556,"timestamp":1673509338754,"duration":5652,"tags":{},"startTime":1664596553219},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"NextJsBuildManifest-generateClientManifest","id":4558,"timestamp":1673509345326,"duration":61,"tags":{},"startTime":1664596553225},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"NextJsBuildManifest-createassets","id":4557,"timestamp":1673509345267,"duration":123,"tags":{},"startTime":1664596553225},{"traceId":"43f2de6d909a73f7","parentId":4534,"name":"webpack-compilation-seal","id":4550,"timestamp":1673509305018,"duration":41408,"tags":{},"startTime":1664596553185},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"webpack-compilation","id":4534,"timestamp":1673509207871,"duration":138577,"tags":{"name":"client"},"startTime":1664596553088},{"traceId":"43f2de6d909a73f7","parentId":4531,"name":"emit","id":4559,"timestamp":1673509346462,"duration":2701,"tags":{},"startTime":1664596553226},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4531,"timestamp":1673509194858,"duration":154778,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596553075}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4560,"timestamp":1673509359462,"duration":0,"tags":{},"startTime":1664596553239},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4561,"timestamp":1673509396692,"duration":0,"tags":{},"startTime":1664596553276},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4566,"timestamp":1673527155291,"duration":6225,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4571,"timestamp":1673527155526,"duration":10177,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"read-resource","id":4574,"timestamp":1673527165243,"duration":1040,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4578,"name":"postcss-process","id":4579,"timestamp":1673527166303,"duration":30003,"tags":{},"startTime":1664596571046},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"postcss-loader","id":4578,"timestamp":1673527166296,"duration":30335,"tags":{},"startTime":1664596571046},{"traceId":"43f2de6d909a73f7","parentId":4573,"name":"css-loader","id":4580,"timestamp":1673527196655,"duration":11209,"tags":{"astUsed":"true"},"startTime":1664596571076},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"build-module-css","id":4573,"timestamp":1673527165127,"duration":43819,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4576,"name":"next-swc-transform","id":4577,"timestamp":1673527165424,"duration":44547,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4575,"name":"next-swc-loader","id":4576,"timestamp":1673527165352,"duration":44621,"tags":{},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"build-module-tsx","id":4575,"timestamp":1673527165282,"duration":48993,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571045},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4567,"timestamp":1673527155494,"duration":59181,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4570,"timestamp":1673527155522,"duration":60193,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4572,"timestamp":1673527155528,"duration":65872,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4568,"timestamp":1673527155515,"duration":70248,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"add-entry","id":4569,"timestamp":1673527155518,"duration":100039,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596571035},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"make","id":4565,"timestamp":1673527151354,"duration":104228,"tags":{},"startTime":1664596571031},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-chunk-graph","id":4582,"timestamp":1673527259892,"duration":3626,"tags":{},"startTime":1664596571140},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-modules","id":4584,"timestamp":1673527263544,"duration":2,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-chunks","id":4585,"timestamp":1673527263555,"duration":34,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize-tree","id":4586,"timestamp":1673527263608,"duration":3,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-optimize","id":4583,"timestamp":1673527263530,"duration":1114,"tags":{},"startTime":1664596571143},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-hash","id":4587,"timestamp":1673527274579,"duration":3752,"tags":{},"startTime":1664596571154},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"NextJsBuildManifest-generateClientManifest","id":4589,"timestamp":1673527288926,"duration":45,"tags":{},"startTime":1664596571169},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"NextJsBuildManifest-createassets","id":4588,"timestamp":1673527288877,"duration":105,"tags":{},"startTime":1664596571169},{"traceId":"43f2de6d909a73f7","parentId":4564,"name":"webpack-compilation-seal","id":4581,"timestamp":1673527256623,"duration":33994,"tags":{},"startTime":1664596571136},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"webpack-compilation","id":4564,"timestamp":1673527151111,"duration":139529,"tags":{"name":"client"},"startTime":1664596571031},{"traceId":"43f2de6d909a73f7","parentId":4562,"name":"emit","id":4590,"timestamp":1673527290653,"duration":99015,"tags":{},"startTime":1664596571170},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4562,"timestamp":1673527138311,"duration":252155,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571018},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4597,"timestamp":1673527404280,"duration":0,"tags":{},"startTime":1664596571284},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4598,"timestamp":1673527404447,"duration":0,"tags":{},"startTime":1664596571284},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4596,"timestamp":1673527403634,"duration":8720,"tags":{"request":"private-next-pages/_error"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4595,"timestamp":1673527403630,"duration":8738,"tags":{"request":"private-next-pages/_document"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4600,"name":"next-swc-transform","id":4601,"timestamp":1673527411512,"duration":2825,"tags":{},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":4599,"name":"next-swc-loader","id":4600,"timestamp":1673527411435,"duration":2906,"tags":{},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"build-module-tsx","id":4599,"timestamp":1673527411265,"duration":5592,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4602,"timestamp":1664596571284000,"duration":13999,"tags":{"clientId":1664595509559},"startTime":1664596571299},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"add-entry","id":4594,"timestamp":1673527403558,"duration":18457,"tags":{"request":"private-next-pages/_app"},"startTime":1664596571283},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"make","id":4592,"timestamp":1673527391875,"duration":30160,"tags":{},"startTime":1664596571272},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-chunk-graph","id":4604,"timestamp":1673527422415,"duration":243,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-modules","id":4606,"timestamp":1673527422667,"duration":2,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-chunks","id":4607,"timestamp":1673527422679,"duration":27,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize-tree","id":4608,"timestamp":1673527422713,"duration":5,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-optimize","id":4605,"timestamp":1673527422663,"duration":119,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-hash","id":4609,"timestamp":1673527424096,"duration":441,"tags":{},"startTime":1664596571304},{"traceId":"43f2de6d909a73f7","parentId":4591,"name":"webpack-compilation-seal","id":4603,"timestamp":1673527422340,"duration":3590,"tags":{},"startTime":1664596571302},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"webpack-compilation","id":4591,"timestamp":1673527391637,"duration":34319,"tags":{"name":"server"},"startTime":1664596571271},{"traceId":"43f2de6d909a73f7","parentId":4563,"name":"emit","id":4610,"timestamp":1673527425973,"duration":4161,"tags":{},"startTime":1664596571306},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4563,"timestamp":1673527138585,"duration":291770,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596571018},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4620,"timestamp":1664596571284000,"duration":28999,"tags":{"clientId":1664595301700},"startTime":1664596571317},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4613,"timestamp":1673527434910,"duration":3481,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4614,"timestamp":1673527434954,"duration":3931,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"read-resource","id":4622,"timestamp":1673527439085,"duration":33,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4623,"name":"postcss-process","id":4624,"timestamp":1673527439141,"duration":33691,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"postcss-loader","id":4623,"timestamp":1673527439133,"duration":33949,"tags":{},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4621,"name":"css-loader","id":4625,"timestamp":1673527473104,"duration":8976,"tags":{"astUsed":"true"},"startTime":1664596571353},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"build-module-css","id":4621,"timestamp":1673527438969,"duration":44549,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596571319},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4618,"timestamp":1673527434966,"duration":51045,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4617,"timestamp":1673527434963,"duration":51068,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4619,"timestamp":1673527434968,"duration":55030,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4615,"timestamp":1673527434958,"duration":55399,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"add-entry","id":4616,"timestamp":1673527434960,"duration":87864,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596571315},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"make","id":4612,"timestamp":1673527433586,"duration":89259,"tags":{},"startTime":1664596571313},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-chunk-graph","id":4627,"timestamp":1673527527450,"duration":16857,"tags":{},"startTime":1664596571407},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-modules","id":4629,"timestamp":1673527544333,"duration":3,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-chunks","id":4630,"timestamp":1673527544345,"duration":38,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize-tree","id":4631,"timestamp":1673527544406,"duration":3,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-optimize","id":4628,"timestamp":1673527544325,"duration":1642,"tags":{},"startTime":1664596571424},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-hash","id":4632,"timestamp":1673527556493,"duration":3925,"tags":{},"startTime":1664596571436},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"NextJsBuildManifest-generateClientManifest","id":4634,"timestamp":1673527561352,"duration":165,"tags":{},"startTime":1664596571441},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"NextJsBuildManifest-createassets","id":4633,"timestamp":1673527561286,"duration":236,"tags":{},"startTime":1664596571441},{"traceId":"43f2de6d909a73f7","parentId":4611,"name":"webpack-compilation-seal","id":4626,"timestamp":1673527523877,"duration":38652,"tags":{},"startTime":1664596571404},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"webpack-compilation","id":4611,"timestamp":1673527433425,"duration":129128,"tags":{"name":"client"},"startTime":1664596571313},{"traceId":"43f2de6d909a73f7","parentId":4593,"name":"emit","id":4635,"timestamp":1673527562566,"duration":6101,"tags":{},"startTime":1664596571442},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4593,"timestamp":1673527403246,"duration":165982,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596571283}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4636,"timestamp":1673527578830,"duration":0,"tags":{},"startTime":1664596571459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4637,"timestamp":1673527581042,"duration":0,"tags":{},"startTime":1664596571461},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4644,"timestamp":1673531175259,"duration":5887,"tags":{"request":"private-next-pages/_error"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4643,"timestamp":1673531175255,"duration":5905,"tags":{"request":"private-next-pages/_document"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4646,"name":"next-swc-transform","id":4647,"timestamp":1673531180759,"duration":1585,"tags":{},"startTime":1664596575061},{"traceId":"43f2de6d909a73f7","parentId":4645,"name":"next-swc-loader","id":4646,"timestamp":1673531180721,"duration":1628,"tags":{},"startTime":1664596575060},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"build-module-tsx","id":4645,"timestamp":1673531180630,"duration":3949,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575060},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"add-entry","id":4642,"timestamp":1673531175211,"duration":11591,"tags":{"request":"private-next-pages/_app"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"make","id":4641,"timestamp":1673531175137,"duration":11686,"tags":{},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-chunk-graph","id":4649,"timestamp":1673531187097,"duration":193,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-modules","id":4651,"timestamp":1673531187298,"duration":2,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-chunks","id":4652,"timestamp":1673531187308,"duration":16,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize-tree","id":4653,"timestamp":1673531187332,"duration":2,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-optimize","id":4650,"timestamp":1673531187295,"duration":96,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-hash","id":4654,"timestamp":1673531188769,"duration":1037,"tags":{},"startTime":1664596575069},{"traceId":"43f2de6d909a73f7","parentId":4640,"name":"webpack-compilation-seal","id":4648,"timestamp":1673531187033,"duration":4393,"tags":{},"startTime":1664596575067},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"webpack-compilation","id":4640,"timestamp":1673531174983,"duration":16468,"tags":{"name":"server"},"startTime":1664596575055},{"traceId":"43f2de6d909a73f7","parentId":4638,"name":"emit","id":4655,"timestamp":1673531191465,"duration":2072,"tags":{},"startTime":1664596575071},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4638,"timestamp":1673531168161,"duration":25602,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575048},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4658,"timestamp":1673531198792,"duration":5019,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4659,"timestamp":1673531198834,"duration":5572,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"read-resource","id":4666,"timestamp":1673531204600,"duration":79,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4668,"name":"postcss-process","id":4669,"timestamp":1673531204699,"duration":26934,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"postcss-loader","id":4668,"timestamp":1673531204691,"duration":27090,"tags":{},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4665,"name":"css-loader","id":4672,"timestamp":1673531231798,"duration":10466,"tags":{"astUsed":"true"},"startTime":1664596575112},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"build-module-css","id":4665,"timestamp":1673531204497,"duration":38666,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4670,"name":"next-swc-transform","id":4671,"timestamp":1673531205130,"duration":38193,"tags":{},"startTime":1664596575085},{"traceId":"43f2de6d909a73f7","parentId":4667,"name":"next-swc-loader","id":4670,"timestamp":1673531205085,"duration":38239,"tags":{},"startTime":1664596575085},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"build-module-tsx","id":4667,"timestamp":1673531204621,"duration":40921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575084},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4663,"timestamp":1673531198861,"duration":47878,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4662,"timestamp":1673531198857,"duration":47918,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4664,"timestamp":1673531198863,"duration":56745,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4660,"timestamp":1673531198845,"duration":79547,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"add-entry","id":4661,"timestamp":1673531198847,"duration":126336,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596575079},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"make","id":4657,"timestamp":1673531197471,"duration":127744,"tags":{},"startTime":1664596575077},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-chunk-graph","id":4674,"timestamp":1673531329803,"duration":16435,"tags":{},"startTime":1664596575210},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-modules","id":4676,"timestamp":1673531346257,"duration":2,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-chunks","id":4677,"timestamp":1673531346267,"duration":70,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize-tree","id":4678,"timestamp":1673531346355,"duration":6,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-optimize","id":4675,"timestamp":1673531346250,"duration":1543,"tags":{},"startTime":1664596575226},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-hash","id":4679,"timestamp":1673531361944,"duration":7186,"tags":{},"startTime":1664596575242},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"NextJsBuildManifest-generateClientManifest","id":4681,"timestamp":1673531379603,"duration":70,"tags":{},"startTime":1664596575259},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"NextJsBuildManifest-createassets","id":4680,"timestamp":1673531379537,"duration":144,"tags":{},"startTime":1664596575259},{"traceId":"43f2de6d909a73f7","parentId":4656,"name":"webpack-compilation-seal","id":4673,"timestamp":1673531326476,"duration":55768,"tags":{},"startTime":1664596575206},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"webpack-compilation","id":4656,"timestamp":1673531197309,"duration":184979,"tags":{"name":"client"},"startTime":1664596575077},{"traceId":"43f2de6d909a73f7","parentId":4639,"name":"emit","id":4682,"timestamp":1673531382317,"duration":100036,"tags":{},"startTime":1664596575262},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4639,"timestamp":1673531168298,"duration":314765,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596575048}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4684,"timestamp":1673531494098,"duration":0,"tags":{},"startTime":1664596575374},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4685,"timestamp":1673531494605,"duration":0,"tags":{},"startTime":1664596575374},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4695,"timestamp":1664596575374000,"duration":19999,"tags":{"clientId":1664595509559},"startTime":1664596575395},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4688,"timestamp":1673531509750,"duration":6542,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596575389},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4689,"timestamp":1673531509788,"duration":7363,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"read-resource","id":4697,"timestamp":1673531517393,"duration":34,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4698,"name":"postcss-process","id":4699,"timestamp":1673531517455,"duration":34857,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"postcss-loader","id":4698,"timestamp":1673531517445,"duration":35085,"tags":{},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":4696,"name":"css-loader","id":4700,"timestamp":1673531552570,"duration":11190,"tags":{"astUsed":"true"},"startTime":1664596575432},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"build-module-css","id":4696,"timestamp":1673531517245,"duration":48028,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596575397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4701,"timestamp":1664596575375000,"duration":25999,"tags":{"clientId":1664595301700},"startTime":1664596575445},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4693,"timestamp":1673531509800,"duration":56284,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4692,"timestamp":1673531509797,"duration":56298,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4694,"timestamp":1673531509802,"duration":63201,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4690,"timestamp":1673531509792,"duration":63534,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"add-entry","id":4691,"timestamp":1673531509794,"duration":97025,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596575390},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"make","id":4687,"timestamp":1673531508139,"duration":98703,"tags":{},"startTime":1664596575388},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-chunk-graph","id":4703,"timestamp":1673531612418,"duration":4396,"tags":{},"startTime":1664596575492},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-modules","id":4705,"timestamp":1673531616836,"duration":2,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-chunks","id":4706,"timestamp":1673531616847,"duration":33,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize-tree","id":4707,"timestamp":1673531616904,"duration":3,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-optimize","id":4704,"timestamp":1673531616829,"duration":1051,"tags":{},"startTime":1664596575497},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-hash","id":4708,"timestamp":1673531628385,"duration":3841,"tags":{},"startTime":1664596575508},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"NextJsBuildManifest-generateClientManifest","id":4710,"timestamp":1673531633036,"duration":49,"tags":{},"startTime":1664596575513},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"NextJsBuildManifest-createassets","id":4709,"timestamp":1673531632994,"duration":94,"tags":{},"startTime":1664596575513},{"traceId":"43f2de6d909a73f7","parentId":4686,"name":"webpack-compilation-seal","id":4702,"timestamp":1673531607888,"duration":26245,"tags":{},"startTime":1664596575488},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"webpack-compilation","id":4686,"timestamp":1673531507943,"duration":126225,"tags":{"name":"client"},"startTime":1664596575388},{"traceId":"43f2de6d909a73f7","parentId":4683,"name":"emit","id":4711,"timestamp":1673531634186,"duration":3616,"tags":{},"startTime":1664596575514},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4683,"timestamp":1673531493493,"duration":144863,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596575373}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4712,"timestamp":1673531651028,"duration":0,"tags":{},"startTime":1664596575531},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4713,"timestamp":1673531651078,"duration":0,"tags":{},"startTime":1664596575531},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4718,"timestamp":1673541420750,"duration":6444,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596585300},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4719,"timestamp":1673541420852,"duration":8752,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"read-resource","id":4726,"timestamp":1673541430081,"duration":160,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4728,"name":"postcss-process","id":4729,"timestamp":1673541430279,"duration":42772,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"postcss-loader","id":4728,"timestamp":1673541430263,"duration":43156,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4725,"name":"css-loader","id":4732,"timestamp":1673541473444,"duration":10931,"tags":{"astUsed":"true"},"startTime":1664596585353},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"build-module-css","id":4725,"timestamp":1673541429827,"duration":65373,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4730,"name":"next-swc-transform","id":4731,"timestamp":1673541430808,"duration":64617,"tags":{},"startTime":1664596585311},{"traceId":"43f2de6d909a73f7","parentId":4727,"name":"next-swc-loader","id":4730,"timestamp":1673541430660,"duration":64769,"tags":{},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"build-module-tsx","id":4727,"timestamp":1673541430123,"duration":71108,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585310},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4723,"timestamp":1673541420869,"duration":80688,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4722,"timestamp":1673541420865,"duration":80707,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4724,"timestamp":1673541420872,"duration":83878,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4720,"timestamp":1673541420858,"duration":92663,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"add-entry","id":4721,"timestamp":1673541420862,"duration":113176,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596585301},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"make","id":4717,"timestamp":1673541419277,"duration":114782,"tags":{},"startTime":1664596585299},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-chunk-graph","id":4734,"timestamp":1673541538773,"duration":18541,"tags":{},"startTime":1664596585419},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-modules","id":4736,"timestamp":1673541557362,"duration":11,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-chunks","id":4737,"timestamp":1673541557403,"duration":91,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize-tree","id":4738,"timestamp":1673541557530,"duration":12,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-optimize","id":4735,"timestamp":1673541557339,"duration":1672,"tags":{},"startTime":1664596585437},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-hash","id":4739,"timestamp":1673541573804,"duration":7019,"tags":{},"startTime":1664596585454},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"NextJsBuildManifest-generateClientManifest","id":4741,"timestamp":1673541593056,"duration":73,"tags":{},"startTime":1664596585473},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"NextJsBuildManifest-createassets","id":4740,"timestamp":1673541592978,"duration":160,"tags":{},"startTime":1664596585473},{"traceId":"43f2de6d909a73f7","parentId":4716,"name":"webpack-compilation-seal","id":4733,"timestamp":1673541535338,"duration":60649,"tags":{},"startTime":1664596585415},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"webpack-compilation","id":4716,"timestamp":1673541419028,"duration":177010,"tags":{"name":"client"},"startTime":1664596585299},{"traceId":"43f2de6d909a73f7","parentId":4714,"name":"emit","id":4742,"timestamp":1673541596068,"duration":106819,"tags":{},"startTime":1664596585476},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4714,"timestamp":1673541404899,"duration":307249,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585285},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4749,"timestamp":1673541727885,"duration":0,"tags":{},"startTime":1664596585608},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4750,"timestamp":1673541727943,"duration":0,"tags":{},"startTime":1664596585608},{"traceId":"43f2de6d909a73f7","parentId":4752,"name":"next-swc-transform","id":4753,"timestamp":1673541737874,"duration":3508,"tags":{},"startTime":1664596585618},{"traceId":"43f2de6d909a73f7","parentId":4751,"name":"next-swc-loader","id":4752,"timestamp":1673541737785,"duration":3605,"tags":{},"startTime":1664596585618},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"build-module-tsx","id":4751,"timestamp":1673541737569,"duration":15367,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585617},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4748,"timestamp":1673541726857,"duration":26479,"tags":{"request":"private-next-pages/_error"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4747,"timestamp":1673541726852,"duration":26494,"tags":{"request":"private-next-pages/_document"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"add-entry","id":4746,"timestamp":1673541726785,"duration":30631,"tags":{"request":"private-next-pages/_app"},"startTime":1664596585607},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"make","id":4744,"timestamp":1673541714677,"duration":42756,"tags":{},"startTime":1664596585594},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-chunk-graph","id":4755,"timestamp":1673541757819,"duration":234,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-modules","id":4757,"timestamp":1673541758060,"duration":2,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-chunks","id":4758,"timestamp":1673541758095,"duration":34,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize-tree","id":4759,"timestamp":1673541758156,"duration":14,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-optimize","id":4756,"timestamp":1673541758057,"duration":201,"tags":{},"startTime":1664596585638},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-hash","id":4760,"timestamp":1673541760045,"duration":855,"tags":{},"startTime":1664596585640},{"traceId":"43f2de6d909a73f7","parentId":4743,"name":"webpack-compilation-seal","id":4754,"timestamp":1673541757743,"duration":6050,"tags":{},"startTime":1664596585637},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"webpack-compilation","id":4743,"timestamp":1673541714319,"duration":49505,"tags":{"name":"server"},"startTime":1664596585594},{"traceId":"43f2de6d909a73f7","parentId":4715,"name":"emit","id":4761,"timestamp":1673541763840,"duration":7553,"tags":{},"startTime":1664596585644},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4715,"timestamp":1673541405220,"duration":366760,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596585285},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4771,"timestamp":1664596585607000,"duration":53999,"tags":{"clientId":1664595509559},"startTime":1664596585662},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4764,"timestamp":1673541778006,"duration":5070,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4772,"timestamp":1664596585607000,"duration":55000,"tags":{"clientId":1664595301700},"startTime":1664596585663},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4765,"timestamp":1673541778080,"duration":5678,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"read-resource","id":4774,"timestamp":1673541784032,"duration":40,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4775,"name":"postcss-process","id":4776,"timestamp":1673541784100,"duration":38800,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"postcss-loader","id":4775,"timestamp":1673541784089,"duration":39410,"tags":{},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4773,"name":"css-loader","id":4777,"timestamp":1673541823521,"duration":9377,"tags":{"astUsed":"true"},"startTime":1664596585703},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"build-module-css","id":4773,"timestamp":1673541783847,"duration":52537,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596585664},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4769,"timestamp":1673541778092,"duration":60874,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4768,"timestamp":1673541778089,"duration":60894,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4770,"timestamp":1673541778094,"duration":64746,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4766,"timestamp":1673541778083,"duration":65167,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"add-entry","id":4767,"timestamp":1673541778086,"duration":96026,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596585658},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"make","id":4763,"timestamp":1673541775537,"duration":98596,"tags":{},"startTime":1664596585655},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-chunk-graph","id":4779,"timestamp":1673541878431,"duration":17003,"tags":{},"startTime":1664596585758},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-modules","id":4781,"timestamp":1673541895459,"duration":3,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-chunks","id":4782,"timestamp":1673541895471,"duration":39,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize-tree","id":4783,"timestamp":1673541895531,"duration":3,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-optimize","id":4780,"timestamp":1673541895451,"duration":1474,"tags":{},"startTime":1664596585775},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-hash","id":4784,"timestamp":1673541908908,"duration":5800,"tags":{},"startTime":1664596585789},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"NextJsBuildManifest-generateClientManifest","id":4786,"timestamp":1673541915671,"duration":54,"tags":{},"startTime":1664596585795},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"NextJsBuildManifest-createassets","id":4785,"timestamp":1673541915617,"duration":110,"tags":{},"startTime":1664596585795},{"traceId":"43f2de6d909a73f7","parentId":4762,"name":"webpack-compilation-seal","id":4778,"timestamp":1673541875093,"duration":41595,"tags":{},"startTime":1664596585755},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"webpack-compilation","id":4762,"timestamp":1673541775349,"duration":141361,"tags":{"name":"client"},"startTime":1664596585655},{"traceId":"43f2de6d909a73f7","parentId":4745,"name":"emit","id":4787,"timestamp":1673541916724,"duration":5692,"tags":{},"startTime":1664596585796},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4745,"timestamp":1673541726409,"duration":196801,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596585606}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4788,"timestamp":1673541932568,"duration":0,"tags":{},"startTime":1664596585812},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4789,"timestamp":1673541932614,"duration":0,"tags":{},"startTime":1664596585812},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4796,"timestamp":1673550418998,"duration":7446,"tags":{"request":"private-next-pages/_error"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4795,"timestamp":1673550418993,"duration":7471,"tags":{"request":"private-next-pages/_document"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4798,"name":"next-swc-transform","id":4799,"timestamp":1673550425577,"duration":2105,"tags":{},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4797,"name":"next-swc-loader","id":4798,"timestamp":1673550425532,"duration":2158,"tags":{},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"build-module-tsx","id":4797,"timestamp":1673550425276,"duration":7214,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594305},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"add-entry","id":4794,"timestamp":1673550418949,"duration":19387,"tags":{"request":"private-next-pages/_app"},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"make","id":4793,"timestamp":1673550418798,"duration":19558,"tags":{},"startTime":1664596594299},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-chunk-graph","id":4801,"timestamp":1673550438697,"duration":174,"tags":{},"startTime":1664596594318},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-modules","id":4803,"timestamp":1673550438882,"duration":2,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-chunks","id":4804,"timestamp":1673550438890,"duration":15,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize-tree","id":4805,"timestamp":1673550438913,"duration":2,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-optimize","id":4802,"timestamp":1673550438879,"duration":87,"tags":{},"startTime":1664596594319},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-hash","id":4806,"timestamp":1673550440103,"duration":477,"tags":{},"startTime":1664596594320},{"traceId":"43f2de6d909a73f7","parentId":4792,"name":"webpack-compilation-seal","id":4800,"timestamp":1673550438631,"duration":3255,"tags":{},"startTime":1664596594318},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"webpack-compilation","id":4792,"timestamp":1673550418632,"duration":23270,"tags":{"name":"server"},"startTime":1664596594298},{"traceId":"43f2de6d909a73f7","parentId":4790,"name":"emit","id":4807,"timestamp":1673550441912,"duration":2621,"tags":{},"startTime":1664596594322},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4790,"timestamp":1673550411737,"duration":32988,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594291},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4810,"timestamp":1673550450133,"duration":3733,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4811,"timestamp":1673550450173,"duration":4391,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"read-resource","id":4818,"timestamp":1673550454777,"duration":90,"tags":{},"startTime":1664596594334},{"traceId":"43f2de6d909a73f7","parentId":4820,"name":"postcss-process","id":4821,"timestamp":1673550454886,"duration":36072,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"postcss-loader","id":4820,"timestamp":1673550454878,"duration":36266,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4817,"name":"css-loader","id":4824,"timestamp":1673550491164,"duration":11867,"tags":{"astUsed":"true"},"startTime":1664596594371},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"build-module-css","id":4817,"timestamp":1673550454664,"duration":49356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596594334},{"traceId":"43f2de6d909a73f7","parentId":4822,"name":"next-swc-transform","id":4823,"timestamp":1673550455111,"duration":49072,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4819,"name":"next-swc-loader","id":4822,"timestamp":1673550455076,"duration":49109,"tags":{},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"build-module-tsx","id":4819,"timestamp":1673550454802,"duration":52148,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594335},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4815,"timestamp":1673550450190,"duration":56996,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4814,"timestamp":1673550450187,"duration":57008,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4816,"timestamp":1673550450192,"duration":59965,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4812,"timestamp":1673550450182,"duration":70691,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"add-entry","id":4813,"timestamp":1673550450184,"duration":90481,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596594330},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"make","id":4809,"timestamp":1673550448815,"duration":91872,"tags":{},"startTime":1664596594329},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-chunk-graph","id":4826,"timestamp":1673550545840,"duration":5768,"tags":{},"startTime":1664596594426},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-modules","id":4828,"timestamp":1673550551629,"duration":2,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-chunks","id":4829,"timestamp":1673550551640,"duration":36,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize-tree","id":4830,"timestamp":1673550551699,"duration":3,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-optimize","id":4827,"timestamp":1673550551622,"duration":1291,"tags":{},"startTime":1664596594431},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-hash","id":4831,"timestamp":1673550560534,"duration":4501,"tags":{},"startTime":1664596594440},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"NextJsBuildManifest-generateClientManifest","id":4833,"timestamp":1673550578794,"duration":71,"tags":{},"startTime":1664596594459},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"NextJsBuildManifest-createassets","id":4832,"timestamp":1673550578723,"duration":152,"tags":{},"startTime":1664596594458},{"traceId":"43f2de6d909a73f7","parentId":4808,"name":"webpack-compilation-seal","id":4825,"timestamp":1673550541680,"duration":39397,"tags":{},"startTime":1664596594421},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"webpack-compilation","id":4808,"timestamp":1673550448641,"duration":132476,"tags":{"name":"client"},"startTime":1664596594328},{"traceId":"43f2de6d909a73f7","parentId":4791,"name":"emit","id":4834,"timestamp":1673550581138,"duration":100796,"tags":{},"startTime":1664596594461},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4791,"timestamp":1673550411843,"duration":270734,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596594292}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4835,"timestamp":1673550702598,"duration":0,"tags":{},"startTime":1664596594582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4836,"timestamp":1673550702674,"duration":0,"tags":{},"startTime":1664596594582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4837,"timestamp":1664596594292000,"duration":306000,"tags":{"clientId":1664595509559},"startTime":1664596594598},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4838,"timestamp":1664596594292999,"duration":305000,"tags":{"clientId":1664595301700},"startTime":1664596594598},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4843,"timestamp":1673556170883,"duration":5355,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4844,"timestamp":1673556170964,"duration":6291,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"read-resource","id":4851,"timestamp":1673556177601,"duration":104,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4853,"name":"postcss-process","id":4854,"timestamp":1673556177733,"duration":38517,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"postcss-loader","id":4853,"timestamp":1673556177724,"duration":38678,"tags":{},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4850,"name":"css-loader","id":4857,"timestamp":1673556216443,"duration":8472,"tags":{"astUsed":"true"},"startTime":1664596600096},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"build-module-css","id":4850,"timestamp":1673556177433,"duration":48898,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4855,"name":"next-swc-transform","id":4856,"timestamp":1673556178049,"duration":48508,"tags":{},"startTime":1664596600058},{"traceId":"43f2de6d909a73f7","parentId":4852,"name":"next-swc-loader","id":4855,"timestamp":1673556177988,"duration":48571,"tags":{},"startTime":1664596600058},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"build-module-tsx","id":4852,"timestamp":1673556177628,"duration":51728,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600057},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4848,"timestamp":1673556170981,"duration":60271,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4847,"timestamp":1673556170977,"duration":60290,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4849,"timestamp":1673556170984,"duration":63529,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4845,"timestamp":1673556170970,"duration":71416,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"add-entry","id":4846,"timestamp":1673556170974,"duration":92027,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596600051},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"make","id":4842,"timestamp":1673556169873,"duration":93151,"tags":{},"startTime":1664596600050},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-chunk-graph","id":4859,"timestamp":1673556267290,"duration":16115,"tags":{},"startTime":1664596600147},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-modules","id":4861,"timestamp":1673556283425,"duration":2,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-chunks","id":4862,"timestamp":1673556283436,"duration":49,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize-tree","id":4863,"timestamp":1673556283503,"duration":3,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-optimize","id":4860,"timestamp":1673556283419,"duration":1407,"tags":{},"startTime":1664596600163},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-hash","id":4864,"timestamp":1673556294931,"duration":4117,"tags":{},"startTime":1664596600175},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"NextJsBuildManifest-generateClientManifest","id":4866,"timestamp":1673556311066,"duration":66,"tags":{},"startTime":1664596600191},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"NextJsBuildManifest-createassets","id":4865,"timestamp":1673556310994,"duration":149,"tags":{},"startTime":1664596600191},{"traceId":"43f2de6d909a73f7","parentId":4841,"name":"webpack-compilation-seal","id":4858,"timestamp":1673556264120,"duration":49182,"tags":{},"startTime":1664596600144},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"webpack-compilation","id":4841,"timestamp":1673556169631,"duration":143702,"tags":{"name":"client"},"startTime":1664596600049},{"traceId":"43f2de6d909a73f7","parentId":4839,"name":"emit","id":4867,"timestamp":1673556313360,"duration":121480,"tags":{},"startTime":1664596600193},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4839,"timestamp":1673556156988,"duration":278438,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600037},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4874,"timestamp":1673556465690,"duration":0,"tags":{},"startTime":1664596600345},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4875,"timestamp":1673556465942,"duration":0,"tags":{},"startTime":1664596600346},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4873,"timestamp":1673556449979,"duration":22050,"tags":{"request":"private-next-pages/_error"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4872,"timestamp":1673556449974,"duration":22069,"tags":{"request":"private-next-pages/_document"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4877,"name":"next-swc-transform","id":4878,"timestamp":1673556470483,"duration":2188,"tags":{},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4876,"name":"next-swc-loader","id":4877,"timestamp":1673556470371,"duration":2302,"tags":{},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"build-module-tsx","id":4876,"timestamp":1673556470201,"duration":8810,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600350},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"add-entry","id":4871,"timestamp":1673556449925,"duration":32940,"tags":{"request":"private-next-pages/_app"},"startTime":1664596600330},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"make","id":4869,"timestamp":1673556437245,"duration":45639,"tags":{},"startTime":1664596600317},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-chunk-graph","id":4880,"timestamp":1673556483172,"duration":235,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-modules","id":4882,"timestamp":1673556483415,"duration":2,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-chunks","id":4883,"timestamp":1673556483424,"duration":25,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize-tree","id":4884,"timestamp":1673556483456,"duration":4,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-optimize","id":4881,"timestamp":1673556483411,"duration":103,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-hash","id":4885,"timestamp":1673556484656,"duration":408,"tags":{},"startTime":1664596600364},{"traceId":"43f2de6d909a73f7","parentId":4868,"name":"webpack-compilation-seal","id":4879,"timestamp":1673556483104,"duration":3427,"tags":{},"startTime":1664596600363},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"webpack-compilation","id":4868,"timestamp":1673556436980,"duration":49600,"tags":{"name":"server"},"startTime":1664596600317},{"traceId":"43f2de6d909a73f7","parentId":4840,"name":"emit","id":4886,"timestamp":1673556486609,"duration":3592,"tags":{},"startTime":1664596600366},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4840,"timestamp":1673556157307,"duration":333134,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596600037},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4896,"timestamp":1664596600329999,"duration":49000,"tags":{"clientId":1664595509559},"startTime":1664596600379},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4889,"timestamp":1673556497136,"duration":3660,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4890,"timestamp":1673556497176,"duration":4166,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"read-resource","id":4898,"timestamp":1673556501552,"duration":31,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4899,"name":"postcss-process","id":4900,"timestamp":1673556501608,"duration":34108,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"postcss-loader","id":4899,"timestamp":1673556501600,"duration":34394,"tags":{},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":4897,"name":"css-loader","id":4901,"timestamp":1673556536016,"duration":11123,"tags":{"astUsed":"true"},"startTime":1664596600416},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"build-module-css","id":4897,"timestamp":1673556501429,"duration":46915,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596600381},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4902,"timestamp":1664596600329999,"duration":57000,"tags":{"clientId":1664595301700},"startTime":1664596600428},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4894,"timestamp":1673556497188,"duration":51648,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4893,"timestamp":1673556497185,"duration":51662,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4895,"timestamp":1673556497190,"duration":55092,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4891,"timestamp":1673556497180,"duration":55480,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"add-entry","id":4892,"timestamp":1673556497182,"duration":87221,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596600377},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"make","id":4888,"timestamp":1673556493944,"duration":90482,"tags":{},"startTime":1664596600374},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-chunk-graph","id":4904,"timestamp":1673556588798,"duration":17393,"tags":{},"startTime":1664596600469},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-modules","id":4906,"timestamp":1673556606217,"duration":3,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-chunks","id":4907,"timestamp":1673556606229,"duration":38,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize-tree","id":4908,"timestamp":1673556606287,"duration":3,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-optimize","id":4905,"timestamp":1673556606208,"duration":1681,"tags":{},"startTime":1664596600486},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-hash","id":4909,"timestamp":1673556619202,"duration":3679,"tags":{},"startTime":1664596600499},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"NextJsBuildManifest-generateClientManifest","id":4911,"timestamp":1673556624139,"duration":70,"tags":{},"startTime":1664596600504},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"NextJsBuildManifest-createassets","id":4910,"timestamp":1673556624059,"duration":157,"tags":{},"startTime":1664596600504},{"traceId":"43f2de6d909a73f7","parentId":4887,"name":"webpack-compilation-seal","id":4903,"timestamp":1673556585538,"duration":39761,"tags":{},"startTime":1664596600465},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"webpack-compilation","id":4887,"timestamp":1673556493759,"duration":131565,"tags":{"name":"client"},"startTime":1664596600373},{"traceId":"43f2de6d909a73f7","parentId":4870,"name":"emit","id":4912,"timestamp":1673556625339,"duration":4635,"tags":{},"startTime":1664596600505},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4870,"timestamp":1673556449650,"duration":180862,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596600329}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4913,"timestamp":1673556639783,"duration":0,"tags":{},"startTime":1664596600520},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4914,"timestamp":1673556639837,"duration":0,"tags":{},"startTime":1664596600520},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4919,"timestamp":1673559070611,"duration":6898,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4920,"timestamp":1673559070647,"duration":7517,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"read-resource","id":4927,"timestamp":1673559078365,"duration":75,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4929,"name":"postcss-process","id":4930,"timestamp":1673559078458,"duration":33439,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"postcss-loader","id":4929,"timestamp":1673559078451,"duration":33585,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4926,"name":"css-loader","id":4933,"timestamp":1673559112052,"duration":8503,"tags":{"astUsed":"true"},"startTime":1664596602992},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"build-module-css","id":4926,"timestamp":1673559078255,"duration":43204,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4931,"name":"next-swc-transform","id":4932,"timestamp":1673559078697,"duration":42931,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4928,"name":"next-swc-loader","id":4931,"timestamp":1673559078659,"duration":42970,"tags":{},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"build-module-tsx","id":4928,"timestamp":1673559078382,"duration":45513,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602958},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4924,"timestamp":1673559070659,"duration":53519,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4923,"timestamp":1673559070656,"duration":53532,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4925,"timestamp":1673559070661,"duration":57550,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4921,"timestamp":1673559070651,"duration":65103,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"add-entry","id":4922,"timestamp":1673559070653,"duration":83767,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596602950},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"make","id":4918,"timestamp":1673559069768,"duration":84671,"tags":{},"startTime":1664596602949},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-chunk-graph","id":4935,"timestamp":1673559158713,"duration":3643,"tags":{},"startTime":1664596603038},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-modules","id":4937,"timestamp":1673559162372,"duration":2,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-chunks","id":4938,"timestamp":1673559162383,"duration":32,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize-tree","id":4939,"timestamp":1673559162433,"duration":3,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-optimize","id":4936,"timestamp":1673559162367,"duration":999,"tags":{},"startTime":1664596603042},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-hash","id":4940,"timestamp":1673559173865,"duration":4586,"tags":{},"startTime":1664596603054},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"NextJsBuildManifest-generateClientManifest","id":4942,"timestamp":1673559190928,"duration":45,"tags":{},"startTime":1664596603071},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"NextJsBuildManifest-createassets","id":4941,"timestamp":1673559190884,"duration":97,"tags":{},"startTime":1664596603071},{"traceId":"43f2de6d909a73f7","parentId":4917,"name":"webpack-compilation-seal","id":4934,"timestamp":1673559155479,"duration":37438,"tags":{},"startTime":1664596603035},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"webpack-compilation","id":4917,"timestamp":1673559069593,"duration":123374,"tags":{"name":"client"},"startTime":1664596602949},{"traceId":"43f2de6d909a73f7","parentId":4915,"name":"emit","id":4943,"timestamp":1673559192992,"duration":107662,"tags":{},"startTime":1664596603073},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4915,"timestamp":1673559057208,"duration":244223,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602937},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4950,"timestamp":1673559317496,"duration":0,"tags":{},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4951,"timestamp":1673559317542,"duration":0,"tags":{},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4949,"timestamp":1673559316866,"duration":9047,"tags":{"request":"private-next-pages/_error"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4948,"timestamp":1673559316862,"duration":9065,"tags":{"request":"private-next-pages/_document"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4953,"name":"next-swc-transform","id":4954,"timestamp":1673559325415,"duration":1498,"tags":{},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4952,"name":"next-swc-loader","id":4953,"timestamp":1673559325335,"duration":1580,"tags":{},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"build-module-tsx","id":4952,"timestamp":1673559325216,"duration":4399,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596603205},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"add-entry","id":4947,"timestamp":1673559316801,"duration":16605,"tags":{"request":"private-next-pages/_app"},"startTime":1664596603197},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"make","id":4945,"timestamp":1673559304545,"duration":28877,"tags":{},"startTime":1664596603184},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-chunk-graph","id":4956,"timestamp":1673559333699,"duration":217,"tags":{},"startTime":1664596603213},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-modules","id":4958,"timestamp":1673559333923,"duration":1,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-chunks","id":4959,"timestamp":1673559333931,"duration":22,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize-tree","id":4960,"timestamp":1673559333959,"duration":4,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-optimize","id":4957,"timestamp":1673559333920,"duration":95,"tags":{},"startTime":1664596603214},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-hash","id":4961,"timestamp":1673559335050,"duration":403,"tags":{},"startTime":1664596603215},{"traceId":"43f2de6d909a73f7","parentId":4944,"name":"webpack-compilation-seal","id":4955,"timestamp":1673559333634,"duration":4745,"tags":{},"startTime":1664596603213},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"webpack-compilation","id":4944,"timestamp":1673559304308,"duration":34097,"tags":{"name":"server"},"startTime":1664596603184},{"traceId":"43f2de6d909a73f7","parentId":4916,"name":"emit","id":4962,"timestamp":1673559338418,"duration":5644,"tags":{},"startTime":1664596603218},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4916,"timestamp":1673559057382,"duration":287117,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596602937},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4972,"timestamp":1664596603196999,"duration":35000,"tags":{"clientId":1664595509559},"startTime":1664596603233},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4965,"timestamp":1673559350345,"duration":3989,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4966,"timestamp":1673559350389,"duration":4538,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"read-resource","id":4974,"timestamp":1673559355149,"duration":34,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4975,"name":"postcss-process","id":4976,"timestamp":1673559355210,"duration":33055,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"postcss-loader","id":4975,"timestamp":1673559355201,"duration":33333,"tags":{},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":4973,"name":"css-loader","id":4977,"timestamp":1673559388555,"duration":9018,"tags":{"astUsed":"true"},"startTime":1664596603268},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"build-module-css","id":4973,"timestamp":1673559355018,"duration":43646,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596603235},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":4978,"timestamp":1664596603196999,"duration":48000,"tags":{"clientId":1664595301700},"startTime":1664596603280},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4970,"timestamp":1673559350400,"duration":50421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4969,"timestamp":1673559350397,"duration":50442,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4971,"timestamp":1673559350402,"duration":55505,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4967,"timestamp":1673559350392,"duration":56059,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"add-entry","id":4968,"timestamp":1673559350394,"duration":89191,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596603230},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"make","id":4964,"timestamp":1673559348406,"duration":91203,"tags":{},"startTime":1664596603228},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-chunk-graph","id":4980,"timestamp":1673559444039,"duration":17430,"tags":{},"startTime":1664596603324},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-modules","id":4982,"timestamp":1673559461494,"duration":2,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-chunks","id":4983,"timestamp":1673559461505,"duration":34,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize-tree","id":4984,"timestamp":1673559461559,"duration":3,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-optimize","id":4981,"timestamp":1673559461487,"duration":1461,"tags":{},"startTime":1664596603341},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-hash","id":4985,"timestamp":1673559472752,"duration":3617,"tags":{},"startTime":1664596603352},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"NextJsBuildManifest-generateClientManifest","id":4987,"timestamp":1673559477285,"duration":53,"tags":{},"startTime":1664596603357},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"NextJsBuildManifest-createassets","id":4986,"timestamp":1673559477238,"duration":105,"tags":{},"startTime":1664596603357},{"traceId":"43f2de6d909a73f7","parentId":4963,"name":"webpack-compilation-seal","id":4979,"timestamp":1673559440559,"duration":38222,"tags":{},"startTime":1664596603320},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"webpack-compilation","id":4963,"timestamp":1673559348236,"duration":130575,"tags":{"name":"client"},"startTime":1664596603228},{"traceId":"43f2de6d909a73f7","parentId":4946,"name":"emit","id":4988,"timestamp":1673559478826,"duration":3613,"tags":{},"startTime":1664596603359},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4946,"timestamp":1673559316578,"duration":166308,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596603196}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4989,"timestamp":1673559491997,"duration":0,"tags":{},"startTime":1664596603372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":4990,"timestamp":1673559492043,"duration":0,"tags":{},"startTime":1664596603372},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4997,"timestamp":1673566109251,"duration":6460,"tags":{"request":"private-next-pages/_error"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4996,"timestamp":1673566109246,"duration":6481,"tags":{"request":"private-next-pages/_document"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4999,"name":"next-swc-transform","id":5000,"timestamp":1673566115192,"duration":1681,"tags":{},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4998,"name":"next-swc-loader","id":4999,"timestamp":1673566115103,"duration":1776,"tags":{},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"build-module-tsx","id":4998,"timestamp":1673566114940,"duration":5043,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609995},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"add-entry","id":4995,"timestamp":1673566109182,"duration":14678,"tags":{"request":"private-next-pages/_app"},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"make","id":4994,"timestamp":1673566109025,"duration":14860,"tags":{},"startTime":1664596609989},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-chunk-graph","id":5002,"timestamp":1673566124288,"duration":277,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-modules","id":5004,"timestamp":1673566124575,"duration":66,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-chunks","id":5005,"timestamp":1673566124848,"duration":41,"tags":{},"startTime":1664596610005},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize-tree","id":5006,"timestamp":1673566124904,"duration":6,"tags":{},"startTime":1664596610005},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-optimize","id":5003,"timestamp":1673566124571,"duration":412,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-hash","id":5007,"timestamp":1673566126519,"duration":480,"tags":{},"startTime":1664596610006},{"traceId":"43f2de6d909a73f7","parentId":4993,"name":"webpack-compilation-seal","id":5001,"timestamp":1673566124200,"duration":4509,"tags":{},"startTime":1664596610004},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"webpack-compilation","id":4993,"timestamp":1673566108722,"duration":20016,"tags":{"name":"server"},"startTime":1664596609988},{"traceId":"43f2de6d909a73f7","parentId":4991,"name":"emit","id":5008,"timestamp":1673566128751,"duration":2716,"tags":{},"startTime":1664596610008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":4991,"timestamp":1673566102029,"duration":29761,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609982},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5011,"timestamp":1673566138288,"duration":3652,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5012,"timestamp":1673566138319,"duration":4464,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"read-resource","id":5019,"timestamp":1673566143041,"duration":93,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5021,"name":"postcss-process","id":5022,"timestamp":1673566143168,"duration":39456,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"postcss-loader","id":5021,"timestamp":1673566143158,"duration":39662,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5018,"name":"css-loader","id":5025,"timestamp":1673566182843,"duration":8544,"tags":{"astUsed":"true"},"startTime":1664596610063},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"build-module-css","id":5018,"timestamp":1673566142895,"duration":49745,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5023,"name":"next-swc-transform","id":5024,"timestamp":1673566143462,"duration":49407,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5020,"name":"next-swc-loader","id":5023,"timestamp":1673566143426,"duration":49444,"tags":{},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"build-module-tsx","id":5020,"timestamp":1673566143063,"duration":52402,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596610023},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5016,"timestamp":1673566138330,"duration":59646,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5015,"timestamp":1673566138327,"duration":59667,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5017,"timestamp":1673566138332,"duration":62740,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5013,"timestamp":1673566138322,"duration":70253,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"add-entry","id":5014,"timestamp":1673566138324,"duration":91146,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596610018},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"make","id":5010,"timestamp":1673566136801,"duration":92696,"tags":{},"startTime":1664596610017},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-chunk-graph","id":5027,"timestamp":1673566233891,"duration":16726,"tags":{},"startTime":1664596610114},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-modules","id":5029,"timestamp":1673566250637,"duration":2,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-chunks","id":5030,"timestamp":1673566250651,"duration":33,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize-tree","id":5031,"timestamp":1673566250701,"duration":3,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-optimize","id":5028,"timestamp":1673566250631,"duration":1422,"tags":{},"startTime":1664596610130},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-hash","id":5032,"timestamp":1673566263253,"duration":3392,"tags":{},"startTime":1664596610143},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"NextJsBuildManifest-generateClientManifest","id":5034,"timestamp":1673566278110,"duration":62,"tags":{},"startTime":1664596610158},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"NextJsBuildManifest-createassets","id":5033,"timestamp":1673566278062,"duration":117,"tags":{},"startTime":1664596610158},{"traceId":"43f2de6d909a73f7","parentId":5009,"name":"webpack-compilation-seal","id":5026,"timestamp":1673566230537,"duration":49324,"tags":{},"startTime":1664596610110},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"webpack-compilation","id":5009,"timestamp":1673566136615,"duration":143267,"tags":{"name":"client"},"startTime":1664596610016},{"traceId":"43f2de6d909a73f7","parentId":4992,"name":"emit","id":5035,"timestamp":1673566279898,"duration":95812,"tags":{},"startTime":1664596610160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":4992,"timestamp":1673566102193,"duration":274437,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596609982}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5039,"timestamp":1673566415015,"duration":0,"tags":{},"startTime":1664596610295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5040,"timestamp":1673566415091,"duration":0,"tags":{},"startTime":1664596610295},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5041,"timestamp":1673566419515,"duration":7998,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5042,"timestamp":1673566419577,"duration":9713,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"read-resource","id":5049,"timestamp":1673566429648,"duration":56,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5050,"name":"postcss-process","id":5051,"timestamp":1673566429775,"duration":33807,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"postcss-loader","id":5050,"timestamp":1673566429740,"duration":34177,"tags":{},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5048,"name":"css-loader","id":5052,"timestamp":1673566463950,"duration":15120,"tags":{"astUsed":"true"},"startTime":1664596610344},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"build-module-css","id":5048,"timestamp":1673566429431,"duration":51281,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596610309},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5046,"timestamp":1673566419590,"duration":62127,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5045,"timestamp":1673566419586,"duration":62147,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5047,"timestamp":1673566419592,"duration":65951,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5043,"timestamp":1673566419581,"duration":66322,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5053,"timestamp":1664596610272000,"duration":105999,"tags":{"clientId":1664595509559},"startTime":1664596610378},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5054,"timestamp":1664596610273999,"duration":114000,"tags":{"clientId":1664595301700},"startTime":1664596610396},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"add-entry","id":5044,"timestamp":1673566419584,"duration":100484,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596610299},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"make","id":5038,"timestamp":1673566414236,"duration":106005,"tags":{},"startTime":1664596610294},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-chunk-graph","id":5056,"timestamp":1673566524933,"duration":4725,"tags":{},"startTime":1664596610405},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-modules","id":5058,"timestamp":1673566529681,"duration":3,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-chunks","id":5059,"timestamp":1673566529696,"duration":44,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize-tree","id":5060,"timestamp":1673566529760,"duration":3,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-optimize","id":5057,"timestamp":1673566529673,"duration":1577,"tags":{},"startTime":1664596610409},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-hash","id":5061,"timestamp":1673566543386,"duration":5999,"tags":{},"startTime":1664596610423},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"NextJsBuildManifest-generateClientManifest","id":5063,"timestamp":1673566550265,"duration":60,"tags":{},"startTime":1664596610430},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"NextJsBuildManifest-createassets","id":5062,"timestamp":1673566550214,"duration":113,"tags":{},"startTime":1664596610430},{"traceId":"43f2de6d909a73f7","parentId":5037,"name":"webpack-compilation-seal","id":5055,"timestamp":1673566521599,"duration":29586,"tags":{},"startTime":1664596610401},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"webpack-compilation","id":5037,"timestamp":1673566413979,"duration":137230,"tags":{"name":"client"},"startTime":1664596610294},{"traceId":"43f2de6d909a73f7","parentId":5036,"name":"emit","id":5064,"timestamp":1673566551227,"duration":3670,"tags":{},"startTime":1664596610431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5036,"timestamp":1673566389645,"duration":166005,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596610269}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5065,"timestamp":1673566569512,"duration":0,"tags":{},"startTime":1664596610449},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5066,"timestamp":1673566569582,"duration":0,"tags":{},"startTime":1664596610449},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5071,"timestamp":1673568275859,"duration":3515,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5072,"timestamp":1673568275886,"duration":4012,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"read-resource","id":5079,"timestamp":1673568280082,"duration":80,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5081,"name":"postcss-process","id":5082,"timestamp":1673568280181,"duration":32861,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"postcss-loader","id":5081,"timestamp":1673568280173,"duration":33052,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5078,"name":"css-loader","id":5085,"timestamp":1673568313245,"duration":8389,"tags":{"astUsed":"true"},"startTime":1664596612193},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"build-module-css","id":5078,"timestamp":1673568279983,"duration":44726,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5083,"name":"next-swc-transform","id":5084,"timestamp":1673568280492,"duration":44366,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5080,"name":"next-swc-loader","id":5083,"timestamp":1673568280424,"duration":44435,"tags":{},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"build-module-tsx","id":5080,"timestamp":1673568280100,"duration":47035,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612160},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5076,"timestamp":1673568275896,"duration":51534,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5075,"timestamp":1673568275894,"duration":51547,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5077,"timestamp":1673568275898,"duration":54322,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5073,"timestamp":1673568275889,"duration":61224,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"add-entry","id":5074,"timestamp":1673568275891,"duration":80813,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596612156},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"make","id":5070,"timestamp":1673568275025,"duration":81699,"tags":{},"startTime":1664596612155},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-chunk-graph","id":5087,"timestamp":1673568361185,"duration":3636,"tags":{},"startTime":1664596612241},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-modules","id":5089,"timestamp":1673568364839,"duration":2,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-chunks","id":5090,"timestamp":1673568364853,"duration":35,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize-tree","id":5091,"timestamp":1673568364902,"duration":3,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-optimize","id":5088,"timestamp":1673568364833,"duration":1032,"tags":{},"startTime":1664596612245},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-hash","id":5092,"timestamp":1673568375057,"duration":3417,"tags":{},"startTime":1664596612255},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"NextJsBuildManifest-generateClientManifest","id":5094,"timestamp":1673568390156,"duration":43,"tags":{},"startTime":1664596612270},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"NextJsBuildManifest-createassets","id":5093,"timestamp":1673568390112,"duration":94,"tags":{},"startTime":1664596612270},{"traceId":"43f2de6d909a73f7","parentId":5069,"name":"webpack-compilation-seal","id":5086,"timestamp":1673568357894,"duration":34129,"tags":{},"startTime":1664596612238},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"webpack-compilation","id":5069,"timestamp":1673568274862,"duration":117188,"tags":{"name":"client"},"startTime":1664596612155},{"traceId":"43f2de6d909a73f7","parentId":5067,"name":"emit","id":5095,"timestamp":1673568392063,"duration":97562,"tags":{},"startTime":1664596612272},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5067,"timestamp":1673568263417,"duration":226917,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5102,"timestamp":1673568516019,"duration":0,"tags":{},"startTime":1664596612396},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5103,"timestamp":1673568523034,"duration":0,"tags":{},"startTime":1664596612403},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5101,"timestamp":1673568504958,"duration":22720,"tags":{"request":"private-next-pages/_error"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5100,"timestamp":1673568504953,"duration":22746,"tags":{"request":"private-next-pages/_document"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5105,"name":"next-swc-transform","id":5106,"timestamp":1673568526982,"duration":3733,"tags":{},"startTime":1664596612407},{"traceId":"43f2de6d909a73f7","parentId":5104,"name":"next-swc-loader","id":5105,"timestamp":1673568526895,"duration":3826,"tags":{},"startTime":1664596612407},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"build-module-tsx","id":5104,"timestamp":1673568526762,"duration":6439,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612406},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"add-entry","id":5099,"timestamp":1673568504903,"duration":32543,"tags":{"request":"private-next-pages/_app"},"startTime":1664596612385},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"make","id":5097,"timestamp":1673568491727,"duration":45763,"tags":{},"startTime":1664596612371},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-chunk-graph","id":5108,"timestamp":1673568537916,"duration":267,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-modules","id":5110,"timestamp":1673568538192,"duration":2,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-chunks","id":5111,"timestamp":1673568538202,"duration":25,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize-tree","id":5112,"timestamp":1673568538235,"duration":5,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-optimize","id":5109,"timestamp":1673568538189,"duration":114,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-hash","id":5113,"timestamp":1673568539503,"duration":587,"tags":{},"startTime":1664596612419},{"traceId":"43f2de6d909a73f7","parentId":5096,"name":"webpack-compilation-seal","id":5107,"timestamp":1673568537840,"duration":5008,"tags":{},"startTime":1664596612418},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"webpack-compilation","id":5096,"timestamp":1673568491464,"duration":51410,"tags":{"name":"server"},"startTime":1664596612371},{"traceId":"43f2de6d909a73f7","parentId":5068,"name":"emit","id":5114,"timestamp":1673568542891,"duration":5307,"tags":{},"startTime":1664596612423},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5068,"timestamp":1673568263629,"duration":284885,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596612143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5124,"timestamp":1664596612384999,"duration":52000,"tags":{"clientId":1664595509559},"startTime":1664596612437},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5117,"timestamp":1673568555158,"duration":3906,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5118,"timestamp":1673568555198,"duration":4683,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"read-resource","id":5126,"timestamp":1673568560130,"duration":38,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5127,"name":"postcss-process","id":5128,"timestamp":1673568560202,"duration":35180,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"postcss-loader","id":5127,"timestamp":1673568560189,"duration":35691,"tags":{},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":5125,"name":"css-loader","id":5129,"timestamp":1673568595914,"duration":11683,"tags":{"astUsed":"true"},"startTime":1664596612476},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"build-module-css","id":5125,"timestamp":1673568559977,"duration":48818,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596612440},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5130,"timestamp":1664596612384999,"duration":60000,"tags":{"clientId":1664595301700},"startTime":1664596612489},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5122,"timestamp":1673568555209,"duration":54099,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5121,"timestamp":1673568555206,"duration":54115,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5123,"timestamp":1673568555211,"duration":58347,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5119,"timestamp":1673568555202,"duration":58678,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"add-entry","id":5120,"timestamp":1673568555204,"duration":92517,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596612435},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"make","id":5116,"timestamp":1673568552422,"duration":95320,"tags":{},"startTime":1664596612432},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-chunk-graph","id":5132,"timestamp":1673568652397,"duration":18895,"tags":{},"startTime":1664596612532},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-modules","id":5134,"timestamp":1673568671315,"duration":3,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-chunks","id":5135,"timestamp":1673568671327,"duration":32,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize-tree","id":5136,"timestamp":1673568671378,"duration":3,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-optimize","id":5133,"timestamp":1673568671307,"duration":1445,"tags":{},"startTime":1664596612551},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-hash","id":5137,"timestamp":1673568683019,"duration":3870,"tags":{},"startTime":1664596612563},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"NextJsBuildManifest-generateClientManifest","id":5139,"timestamp":1673568687844,"duration":55,"tags":{},"startTime":1664596612568},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"NextJsBuildManifest-createassets","id":5138,"timestamp":1673568687781,"duration":120,"tags":{},"startTime":1664596612567},{"traceId":"43f2de6d909a73f7","parentId":5115,"name":"webpack-compilation-seal","id":5131,"timestamp":1673568648844,"duration":39958,"tags":{},"startTime":1664596612529},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"webpack-compilation","id":5115,"timestamp":1673568552210,"duration":136614,"tags":{"name":"client"},"startTime":1664596612432},{"traceId":"43f2de6d909a73f7","parentId":5098,"name":"emit","id":5140,"timestamp":1673568688837,"duration":4095,"tags":{},"startTime":1664596612569},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5098,"timestamp":1673568504639,"duration":188822,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596612384}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5141,"timestamp":1673568702498,"duration":0,"tags":{},"startTime":1664596612582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5142,"timestamp":1673568702561,"duration":0,"tags":{},"startTime":1664596612582},{"traceId":"43f2de6d909a73f7","parentId":5151,"name":"next-swc-transform","id":5152,"timestamp":1673574135985,"duration":4076,"tags":{},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5150,"name":"next-swc-loader","id":5151,"timestamp":1673574135947,"duration":4125,"tags":{},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"build-module-tsx","id":5150,"timestamp":1673574135850,"duration":6545,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618016},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5149,"timestamp":1673574129552,"duration":13163,"tags":{"request":"private-next-pages/_error"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5148,"timestamp":1673574129548,"duration":13174,"tags":{"request":"private-next-pages/_document"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"add-entry","id":5147,"timestamp":1673574129519,"duration":16001,"tags":{"request":"private-next-pages/_app"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"make","id":5146,"timestamp":1673574129435,"duration":16105,"tags":{},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-chunk-graph","id":5154,"timestamp":1673574145869,"duration":177,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-modules","id":5156,"timestamp":1673574146054,"duration":2,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-chunks","id":5157,"timestamp":1673574146063,"duration":16,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize-tree","id":5158,"timestamp":1673574146087,"duration":3,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-optimize","id":5155,"timestamp":1673574146051,"duration":84,"tags":{},"startTime":1664596618026},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-hash","id":5159,"timestamp":1673574147153,"duration":467,"tags":{},"startTime":1664596618027},{"traceId":"43f2de6d909a73f7","parentId":5145,"name":"webpack-compilation-seal","id":5153,"timestamp":1673574145807,"duration":3042,"tags":{},"startTime":1664596618025},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"webpack-compilation","id":5145,"timestamp":1673574129257,"duration":19611,"tags":{"name":"server"},"startTime":1664596618009},{"traceId":"43f2de6d909a73f7","parentId":5143,"name":"emit","id":5160,"timestamp":1673574148877,"duration":1921,"tags":{},"startTime":1664596618029},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5143,"timestamp":1673574122377,"duration":28644,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618002},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5163,"timestamp":1673574156005,"duration":3933,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5164,"timestamp":1673574156043,"duration":4482,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"read-resource","id":5171,"timestamp":1673574160708,"duration":75,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5173,"name":"postcss-process","id":5174,"timestamp":1673574160803,"duration":31417,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"postcss-loader","id":5173,"timestamp":1673574160793,"duration":31601,"tags":{},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5170,"name":"css-loader","id":5177,"timestamp":1673574192416,"duration":9917,"tags":{"astUsed":"true"},"startTime":1664596618072},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"build-module-css","id":5170,"timestamp":1673574160609,"duration":42514,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5175,"name":"next-swc-transform","id":5176,"timestamp":1673574161032,"duration":42223,"tags":{},"startTime":1664596618041},{"traceId":"43f2de6d909a73f7","parentId":5172,"name":"next-swc-loader","id":5175,"timestamp":1673574160995,"duration":42261,"tags":{},"startTime":1664596618041},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"build-module-tsx","id":5172,"timestamp":1673574160725,"duration":44573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618040},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5168,"timestamp":1673574156054,"duration":49533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5167,"timestamp":1673574156052,"duration":49551,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5169,"timestamp":1673574156056,"duration":52288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5165,"timestamp":1673574156046,"duration":61327,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"add-entry","id":5166,"timestamp":1673574156049,"duration":76421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596618036},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"make","id":5162,"timestamp":1673574154653,"duration":77840,"tags":{},"startTime":1664596618034},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-chunk-graph","id":5179,"timestamp":1673574236624,"duration":3773,"tags":{},"startTime":1664596618116},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-modules","id":5181,"timestamp":1673574240414,"duration":3,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-chunks","id":5182,"timestamp":1673574240424,"duration":32,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize-tree","id":5183,"timestamp":1673574240474,"duration":3,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-optimize","id":5180,"timestamp":1673574240408,"duration":961,"tags":{},"startTime":1664596618120},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-hash","id":5184,"timestamp":1673574250837,"duration":3437,"tags":{},"startTime":1664596618131},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"NextJsBuildManifest-generateClientManifest","id":5186,"timestamp":1673574263621,"duration":44,"tags":{},"startTime":1664596618143},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"NextJsBuildManifest-createassets","id":5185,"timestamp":1673574263579,"duration":97,"tags":{},"startTime":1664596618143},{"traceId":"43f2de6d909a73f7","parentId":5161,"name":"webpack-compilation-seal","id":5178,"timestamp":1673574233422,"duration":31889,"tags":{},"startTime":1664596618113},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"webpack-compilation","id":5161,"timestamp":1673574154458,"duration":110875,"tags":{"name":"client"},"startTime":1664596618034},{"traceId":"43f2de6d909a73f7","parentId":5144,"name":"emit","id":5187,"timestamp":1673574265345,"duration":95010,"tags":{},"startTime":1664596618145},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5144,"timestamp":1673574122500,"duration":238760,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596618002}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5189,"timestamp":1673574372881,"duration":0,"tags":{},"startTime":1664596618253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5190,"timestamp":1673574373087,"duration":0,"tags":{},"startTime":1664596618253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5200,"timestamp":1664596618252000,"duration":19000,"tags":{"clientId":1664595509559},"startTime":1664596618271},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5193,"timestamp":1673574386837,"duration":5036,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5194,"timestamp":1673574386891,"duration":5800,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"read-resource","id":5202,"timestamp":1673574392906,"duration":36,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5203,"name":"postcss-process","id":5204,"timestamp":1673574392975,"duration":31822,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"postcss-loader","id":5203,"timestamp":1673574392963,"duration":32058,"tags":{},"startTime":1664596618273},{"traceId":"43f2de6d909a73f7","parentId":5201,"name":"css-loader","id":5205,"timestamp":1673574425044,"duration":12749,"tags":{"astUsed":"true"},"startTime":1664596618305},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"build-module-css","id":5201,"timestamp":1673574392783,"duration":46520,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596618272},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5198,"timestamp":1673574386904,"duration":53096,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5197,"timestamp":1673574386900,"duration":53119,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5199,"timestamp":1673574386906,"duration":57202,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5195,"timestamp":1673574386895,"duration":57624,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5206,"timestamp":1664596618252999,"duration":73000,"tags":{"clientId":1664595301700},"startTime":1664596618329},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"add-entry","id":5196,"timestamp":1673574386897,"duration":88272,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596618267},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"make","id":5192,"timestamp":1673574384614,"duration":90582,"tags":{},"startTime":1664596618264},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-chunk-graph","id":5208,"timestamp":1673574479503,"duration":19228,"tags":{},"startTime":1664596618359},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-modules","id":5210,"timestamp":1673574498755,"duration":57,"tags":{},"startTime":1664596618378},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-chunks","id":5211,"timestamp":1673574498822,"duration":74,"tags":{},"startTime":1664596618379},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize-tree","id":5212,"timestamp":1673574498916,"duration":4,"tags":{},"startTime":1664596618379},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-optimize","id":5209,"timestamp":1673574498747,"duration":1453,"tags":{},"startTime":1664596618378},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-hash","id":5213,"timestamp":1673574507578,"duration":5039,"tags":{},"startTime":1664596618387},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"NextJsBuildManifest-generateClientManifest","id":5215,"timestamp":1673574513518,"duration":69,"tags":{},"startTime":1664596618393},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"NextJsBuildManifest-createassets","id":5214,"timestamp":1673574513450,"duration":140,"tags":{},"startTime":1664596618393},{"traceId":"43f2de6d909a73f7","parentId":5191,"name":"webpack-compilation-seal","id":5207,"timestamp":1673574476233,"duration":38267,"tags":{},"startTime":1664596618356},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"webpack-compilation","id":5191,"timestamp":1673574384393,"duration":130131,"tags":{"name":"client"},"startTime":1664596618264},{"traceId":"43f2de6d909a73f7","parentId":5188,"name":"emit","id":5216,"timestamp":1673574514538,"duration":2489,"tags":{},"startTime":1664596618394},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5188,"timestamp":1673574372126,"duration":145362,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596618252}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5217,"timestamp":1673574527269,"duration":0,"tags":{},"startTime":1664596618407},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5218,"timestamp":1673574527310,"duration":0,"tags":{},"startTime":1664596618407},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5223,"timestamp":1673605465279,"duration":9398,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5228,"timestamp":1673605465424,"duration":11842,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5224,"timestamp":1673605465408,"duration":15126,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5227,"timestamp":1673605465421,"duration":16546,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5229,"timestamp":1673605465427,"duration":27927,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5225,"timestamp":1673605465414,"duration":37262,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"add-entry","id":5226,"timestamp":1673605465417,"duration":74726,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596649345},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"make","id":5222,"timestamp":1673605464555,"duration":75676,"tags":{},"startTime":1664596649344},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-chunk-graph","id":5231,"timestamp":1673605544709,"duration":17896,"tags":{},"startTime":1664596649424},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-modules","id":5233,"timestamp":1673605562728,"duration":18,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-chunks","id":5234,"timestamp":1673605562782,"duration":100,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize-tree","id":5235,"timestamp":1673605562918,"duration":17,"tags":{},"startTime":1664596649443},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-optimize","id":5232,"timestamp":1673605562650,"duration":1639,"tags":{},"startTime":1664596649442},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-hash","id":5236,"timestamp":1673605576693,"duration":5237,"tags":{},"startTime":1664596649456},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"NextJsBuildManifest-generateClientManifest","id":5238,"timestamp":1673605582909,"duration":70,"tags":{},"startTime":1664596649463},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"NextJsBuildManifest-createassets","id":5237,"timestamp":1673605582856,"duration":126,"tags":{},"startTime":1664596649463},{"traceId":"43f2de6d909a73f7","parentId":5221,"name":"webpack-compilation-seal","id":5230,"timestamp":1673605541319,"duration":42700,"tags":{},"startTime":1664596649421},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"webpack-compilation","id":5221,"timestamp":1673605464273,"duration":119776,"tags":{"name":"client"},"startTime":1664596649344},{"traceId":"43f2de6d909a73f7","parentId":5219,"name":"emit","id":5239,"timestamp":1673605584062,"duration":2991,"tags":{},"startTime":1664596649464},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5219,"timestamp":1673605446400,"duration":141226,"tags":{"trigger":"manual"},"startTime":1664596649326},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5242,"timestamp":1673605598235,"duration":0,"tags":{},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5243,"timestamp":1673605598282,"duration":0,"tags":{},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5244,"timestamp":1673605598555,"duration":13056,"tags":{"request":"private-next-pages/_app"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5246,"timestamp":1673605598594,"duration":19043,"tags":{"request":"private-next-pages/_error"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5245,"timestamp":1673605598591,"duration":19057,"tags":{"request":"private-next-pages/_document"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"add-entry","id":5247,"timestamp":1673605598596,"duration":25274,"tags":{"request":"./pages/index.tsx"},"startTime":1664596649478},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"make","id":5241,"timestamp":1673605588609,"duration":35341,"tags":{},"startTime":1664596649468},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-chunk-graph","id":5249,"timestamp":1673605624325,"duration":450,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-modules","id":5251,"timestamp":1673605624790,"duration":2,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-chunks","id":5252,"timestamp":1673605624854,"duration":30,"tags":{},"startTime":1664596649505},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize-tree","id":5253,"timestamp":1673605624996,"duration":41,"tags":{},"startTime":1664596649505},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-optimize","id":5250,"timestamp":1673605624784,"duration":398,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-hash","id":5254,"timestamp":1673605626872,"duration":1351,"tags":{},"startTime":1664596649507},{"traceId":"43f2de6d909a73f7","parentId":5240,"name":"webpack-compilation-seal","id":5248,"timestamp":1673605624195,"duration":5546,"tags":{},"startTime":1664596649504},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"webpack-compilation","id":5240,"timestamp":1673605588428,"duration":41338,"tags":{"name":"server"},"startTime":1664596649468},{"traceId":"43f2de6d909a73f7","parentId":5220,"name":"emit","id":5255,"timestamp":1673605629785,"duration":3636,"tags":{},"startTime":1664596649509},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5220,"timestamp":1673605448259,"duration":186168,"tags":{"trigger":"manual"},"startTime":1664596649328}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5256,"timestamp":1673605978001,"duration":0,"tags":{},"startTime":1664596649858},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5257,"timestamp":1673605978421,"duration":0,"tags":{},"startTime":1664596649858},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5265,"timestamp":1673615897958,"duration":9145,"tags":{"request":"./pages/index.tsx"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5264,"timestamp":1673615897956,"duration":9681,"tags":{"request":"private-next-pages/_error"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5263,"timestamp":1673615897951,"duration":9700,"tags":{"request":"private-next-pages/_document"},"startTime":1664596659778},{"traceId":"43f2de6d909a73f7","parentId":5267,"name":"next-swc-transform","id":5268,"timestamp":1673615906876,"duration":3150,"tags":{},"startTime":1664596659787},{"traceId":"43f2de6d909a73f7","parentId":5266,"name":"next-swc-loader","id":5267,"timestamp":1673615906526,"duration":3509,"tags":{},"startTime":1664596659786},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"build-module-tsx","id":5266,"timestamp":1673615906245,"duration":10350,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659786},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"add-entry","id":5262,"timestamp":1673615897845,"duration":22866,"tags":{"request":"private-next-pages/_app"},"startTime":1664596659777},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"make","id":5261,"timestamp":1673615891518,"duration":29217,"tags":{},"startTime":1664596659771},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-chunk-graph","id":5270,"timestamp":1673615921222,"duration":312,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-modules","id":5272,"timestamp":1673615921545,"duration":3,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-chunks","id":5273,"timestamp":1673615921555,"duration":39,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize-tree","id":5274,"timestamp":1673615921605,"duration":6,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-optimize","id":5271,"timestamp":1673615921540,"duration":132,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-hash","id":5275,"timestamp":1673615923652,"duration":711,"tags":{},"startTime":1664596659803},{"traceId":"43f2de6d909a73f7","parentId":5260,"name":"webpack-compilation-seal","id":5269,"timestamp":1673615921131,"duration":5531,"tags":{},"startTime":1664596659801},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"webpack-compilation","id":5260,"timestamp":1673615890914,"duration":35791,"tags":{"name":"server"},"startTime":1664596659771},{"traceId":"43f2de6d909a73f7","parentId":5258,"name":"emit","id":5276,"timestamp":1673615926722,"duration":2716,"tags":{},"startTime":1664596659806},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5258,"timestamp":1673615882857,"duration":46837,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659762},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5279,"timestamp":1673615935316,"duration":7516,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5280,"timestamp":1673615935349,"duration":8172,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5284,"timestamp":1673615935362,"duration":8963,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5283,"timestamp":1673615935360,"duration":8975,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5289,"name":"next-swc-transform","id":5290,"timestamp":1673615943974,"duration":2335,"tags":{},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5288,"name":"next-swc-loader","id":5289,"timestamp":1673615943936,"duration":2378,"tags":{},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"build-module-tsx","id":5288,"timestamp":1673615943867,"duration":7466,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659824},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5285,"timestamp":1673615935365,"duration":17146,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5281,"timestamp":1673615935352,"duration":17990,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"read-resource","id":5287,"timestamp":1673615943824,"duration":9540,"tags":{},"startTime":1664596659823},{"traceId":"43f2de6d909a73f7","parentId":5291,"name":"postcss-process","id":5292,"timestamp":1673615953395,"duration":36713,"tags":{},"startTime":1664596659833},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"postcss-loader","id":5291,"timestamp":1673615953378,"duration":37127,"tags":{},"startTime":1664596659833},{"traceId":"43f2de6d909a73f7","parentId":5286,"name":"css-loader","id":5293,"timestamp":1673615990522,"duration":10935,"tags":{"astUsed":"true"},"startTime":1664596659870},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"build-module-css","id":5286,"timestamp":1673615943640,"duration":63842,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596659823},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"add-entry","id":5282,"timestamp":1673615935357,"duration":100841,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596659815},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"make","id":5278,"timestamp":1673615933672,"duration":102544,"tags":{},"startTime":1664596659813},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-chunk-graph","id":5295,"timestamp":1673616040653,"duration":3493,"tags":{},"startTime":1664596659920},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-modules","id":5297,"timestamp":1673616044160,"duration":2,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-chunks","id":5298,"timestamp":1673616044171,"duration":31,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize-tree","id":5299,"timestamp":1673616044218,"duration":3,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-optimize","id":5296,"timestamp":1673616044155,"duration":1383,"tags":{},"startTime":1664596659924},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-hash","id":5300,"timestamp":1673616055503,"duration":3682,"tags":{},"startTime":1664596659935},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"NextJsBuildManifest-generateClientManifest","id":5302,"timestamp":1673616068150,"duration":66,"tags":{},"startTime":1664596659948},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"NextJsBuildManifest-createassets","id":5301,"timestamp":1673616068099,"duration":127,"tags":{},"startTime":1664596659948},{"traceId":"43f2de6d909a73f7","parentId":5277,"name":"webpack-compilation-seal","id":5294,"timestamp":1673616037402,"duration":36369,"tags":{},"startTime":1664596659917},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"webpack-compilation","id":5277,"timestamp":1673615933480,"duration":140322,"tags":{"name":"client"},"startTime":1664596659813},{"traceId":"43f2de6d909a73f7","parentId":5259,"name":"emit","id":5303,"timestamp":1673616073822,"duration":105556,"tags":{},"startTime":1664596659953},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5259,"timestamp":1673615883803,"duration":296382,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596659763}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5305,"timestamp":1673616216024,"duration":0,"tags":{},"startTime":1664596660096},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5308,"timestamp":1673616228328,"duration":0,"tags":{},"startTime":1664596660108},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5309,"timestamp":1673616231536,"duration":8761,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5310,"timestamp":1673616231611,"duration":10172,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"read-resource","id":5317,"timestamp":1673616242101,"duration":37,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5318,"name":"postcss-process","id":5319,"timestamp":1673616242172,"duration":47926,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"postcss-loader","id":5318,"timestamp":1673616242160,"duration":48772,"tags":{},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5316,"name":"css-loader","id":5320,"timestamp":1673616290962,"duration":23014,"tags":{"astUsed":"true"},"startTime":1664596660171},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"build-module-css","id":5316,"timestamp":1673616241897,"duration":73956,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596660122},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5314,"timestamp":1673616231623,"duration":85268,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5313,"timestamp":1673616231620,"duration":85286,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5315,"timestamp":1673616231625,"duration":90795,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5311,"timestamp":1673616231615,"duration":91288,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5321,"timestamp":1664596660086000,"duration":120000,"tags":{"clientId":1664595509559},"startTime":1664596660208},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5322,"timestamp":1664596660087000,"duration":124000,"tags":{"clientId":1664596649926},"startTime":1664596660212},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"add-entry","id":5312,"timestamp":1673616231617,"duration":125810,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596660111},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"make","id":5307,"timestamp":1673616227829,"duration":129625,"tags":{},"startTime":1664596660107},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-chunk-graph","id":5324,"timestamp":1673616361951,"duration":16690,"tags":{},"startTime":1664596660242},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-modules","id":5326,"timestamp":1673616378666,"duration":3,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-chunks","id":5327,"timestamp":1673616378678,"duration":96,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize-tree","id":5328,"timestamp":1673616378796,"duration":3,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-optimize","id":5325,"timestamp":1673616378658,"duration":1576,"tags":{},"startTime":1664596660258},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-hash","id":5329,"timestamp":1673616390778,"duration":3350,"tags":{},"startTime":1664596660270},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"NextJsBuildManifest-generateClientManifest","id":5331,"timestamp":1673616394879,"duration":54,"tags":{},"startTime":1664596660275},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"NextJsBuildManifest-createassets","id":5330,"timestamp":1673616394833,"duration":102,"tags":{},"startTime":1664596660274},{"traceId":"43f2de6d909a73f7","parentId":5306,"name":"webpack-compilation-seal","id":5323,"timestamp":1673616358506,"duration":37423,"tags":{},"startTime":1664596660238},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"webpack-compilation","id":5306,"timestamp":1673616227602,"duration":168351,"tags":{"name":"client"},"startTime":1664596660107},{"traceId":"43f2de6d909a73f7","parentId":5304,"name":"emit","id":5332,"timestamp":1673616395972,"duration":2004,"tags":{},"startTime":1664596660276},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5304,"timestamp":1673616203996,"duration":194510,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596660084}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5333,"timestamp":1673616409786,"duration":0,"tags":{},"startTime":1664596660289},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5334,"timestamp":1673616409823,"duration":0,"tags":{},"startTime":1664596660289},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5341,"timestamp":1673626159695,"duration":11773,"tags":{"request":"private-next-pages/_error"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5340,"timestamp":1673626159688,"duration":11794,"tags":{"request":"private-next-pages/_document"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5343,"name":"next-swc-transform","id":5344,"timestamp":1673626170908,"duration":2390,"tags":{},"startTime":1664596670051},{"traceId":"43f2de6d909a73f7","parentId":5342,"name":"next-swc-loader","id":5343,"timestamp":1673626170758,"duration":2545,"tags":{},"startTime":1664596670050},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"build-module-tsx","id":5342,"timestamp":1673626170550,"duration":11752,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670050},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"add-entry","id":5339,"timestamp":1673626159603,"duration":26945,"tags":{"request":"private-next-pages/_app"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"make","id":5338,"timestamp":1673626159469,"duration":27103,"tags":{},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-chunk-graph","id":5346,"timestamp":1673626187026,"duration":277,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-modules","id":5348,"timestamp":1673626187333,"duration":10,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-chunks","id":5349,"timestamp":1673626187373,"duration":35,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize-tree","id":5350,"timestamp":1673626187430,"duration":14,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-optimize","id":5347,"timestamp":1673626187318,"duration":221,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-hash","id":5351,"timestamp":1673626190459,"duration":835,"tags":{},"startTime":1664596670070},{"traceId":"43f2de6d909a73f7","parentId":5337,"name":"webpack-compilation-seal","id":5345,"timestamp":1673626186918,"duration":6080,"tags":{},"startTime":1664596670067},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"webpack-compilation","id":5337,"timestamp":1673626159169,"duration":33861,"tags":{"name":"server"},"startTime":1664596670039},{"traceId":"43f2de6d909a73f7","parentId":5335,"name":"emit","id":5352,"timestamp":1673626193047,"duration":4286,"tags":{},"startTime":1664596670073},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5335,"timestamp":1673626152067,"duration":45923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670032},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5355,"timestamp":1673626203544,"duration":8108,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5356,"timestamp":1673626203578,"duration":9178,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"read-resource","id":5363,"timestamp":1673626213525,"duration":172,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5365,"name":"postcss-process","id":5366,"timestamp":1673626213735,"duration":35787,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"postcss-loader","id":5365,"timestamp":1673626213721,"duration":37303,"tags":{},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5362,"name":"css-loader","id":5369,"timestamp":1673626251050,"duration":10620,"tags":{"astUsed":"true"},"startTime":1664596670131},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"build-module-css","id":5362,"timestamp":1673626213106,"duration":56614,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5367,"name":"next-swc-transform","id":5368,"timestamp":1673626214081,"duration":55855,"tags":{},"startTime":1664596670094},{"traceId":"43f2de6d909a73f7","parentId":5364,"name":"next-swc-loader","id":5367,"timestamp":1673626214045,"duration":55892,"tags":{},"startTime":1664596670094},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"build-module-tsx","id":5364,"timestamp":1673626213584,"duration":62371,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670093},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5360,"timestamp":1673626203590,"duration":72630,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5359,"timestamp":1673626203587,"duration":72648,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5361,"timestamp":1673626203593,"duration":75877,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5357,"timestamp":1673626203582,"duration":84377,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"add-entry","id":5358,"timestamp":1673626203584,"duration":105673,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596670083},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"make","id":5354,"timestamp":1673626202079,"duration":107199,"tags":{},"startTime":1664596670082},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-chunk-graph","id":5371,"timestamp":1673626313827,"duration":17780,"tags":{},"startTime":1664596670193},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-modules","id":5373,"timestamp":1673626331628,"duration":2,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-chunks","id":5374,"timestamp":1673626331716,"duration":211,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize-tree","id":5375,"timestamp":1673626331966,"duration":13,"tags":{},"startTime":1664596670212},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-optimize","id":5372,"timestamp":1673626331621,"duration":1857,"tags":{},"startTime":1664596670211},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-hash","id":5376,"timestamp":1673626348199,"duration":7661,"tags":{},"startTime":1664596670228},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"NextJsBuildManifest-generateClientManifest","id":5378,"timestamp":1673626371268,"duration":70,"tags":{},"startTime":1664596670251},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"NextJsBuildManifest-createassets","id":5377,"timestamp":1673626371156,"duration":191,"tags":{},"startTime":1664596670251},{"traceId":"43f2de6d909a73f7","parentId":5353,"name":"webpack-compilation-seal","id":5370,"timestamp":1673626310434,"duration":62986,"tags":{},"startTime":1664596670190},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"webpack-compilation","id":5353,"timestamp":1673626201891,"duration":171559,"tags":{"name":"client"},"startTime":1664596670082},{"traceId":"43f2de6d909a73f7","parentId":5336,"name":"emit","id":5379,"timestamp":1673626373471,"duration":131860,"tags":{},"startTime":1664596670253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5336,"timestamp":1673626152378,"duration":354207,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596670032}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5381,"timestamp":1673626521123,"duration":0,"tags":{},"startTime":1664596670401},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5382,"timestamp":1673626521178,"duration":0,"tags":{},"startTime":1664596670401},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5392,"timestamp":1664596670400000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664596670418},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5385,"timestamp":1673626533342,"duration":5363,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5386,"timestamp":1673626533396,"duration":6128,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"read-resource","id":5394,"timestamp":1673626539815,"duration":43,"tags":{},"startTime":1664596670419},{"traceId":"43f2de6d909a73f7","parentId":5395,"name":"postcss-process","id":5396,"timestamp":1673626539888,"duration":31372,"tags":{},"startTime":1664596670420},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"postcss-loader","id":5395,"timestamp":1673626539877,"duration":31677,"tags":{},"startTime":1664596670420},{"traceId":"43f2de6d909a73f7","parentId":5393,"name":"css-loader","id":5397,"timestamp":1673626571583,"duration":11806,"tags":{"astUsed":"true"},"startTime":1664596670451},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"build-module-css","id":5393,"timestamp":1673626539627,"duration":45327,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596670419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5398,"timestamp":1664596670400999,"duration":18000,"tags":{"clientId":1664596649926},"startTime":1664596670465},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5390,"timestamp":1673626533408,"duration":52077,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5389,"timestamp":1673626533405,"duration":52091,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5391,"timestamp":1673626533409,"duration":56238,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5387,"timestamp":1673626533400,"duration":56602,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"add-entry","id":5388,"timestamp":1673626533402,"duration":84665,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596670413},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"make","id":5384,"timestamp":1673626531459,"duration":86633,"tags":{},"startTime":1664596670411},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-chunk-graph","id":5400,"timestamp":1673626622690,"duration":18803,"tags":{},"startTime":1664596670502},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-modules","id":5402,"timestamp":1673626641518,"duration":3,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-chunks","id":5403,"timestamp":1673626641530,"duration":104,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize-tree","id":5404,"timestamp":1673626641655,"duration":3,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-optimize","id":5401,"timestamp":1673626641510,"duration":1484,"tags":{},"startTime":1664596670521},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-hash","id":5405,"timestamp":1673626651911,"duration":5966,"tags":{},"startTime":1664596670532},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"NextJsBuildManifest-generateClientManifest","id":5407,"timestamp":1673626658708,"duration":52,"tags":{},"startTime":1664596670538},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"NextJsBuildManifest-createassets","id":5406,"timestamp":1673626658658,"duration":106,"tags":{},"startTime":1664596670538},{"traceId":"43f2de6d909a73f7","parentId":5383,"name":"webpack-compilation-seal","id":5399,"timestamp":1673626619156,"duration":40569,"tags":{},"startTime":1664596670499},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"webpack-compilation","id":5383,"timestamp":1673626531274,"duration":128475,"tags":{"name":"client"},"startTime":1664596670411},{"traceId":"43f2de6d909a73f7","parentId":5380,"name":"emit","id":5408,"timestamp":1673626659763,"duration":2471,"tags":{},"startTime":1664596670539},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5380,"timestamp":1673626520238,"duration":142603,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596670400}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5409,"timestamp":1673626673043,"duration":0,"tags":{},"startTime":1664596670553},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5410,"timestamp":1673626673088,"duration":0,"tags":{},"startTime":1664596670553},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5415,"timestamp":1673659511238,"duration":4865,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5416,"timestamp":1673659511337,"duration":5665,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"read-resource","id":5423,"timestamp":1673659517394,"duration":102,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5425,"name":"postcss-process","id":5426,"timestamp":1673659517522,"duration":43114,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"postcss-loader","id":5425,"timestamp":1673659517510,"duration":43290,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5422,"name":"css-loader","id":5429,"timestamp":1673659560821,"duration":11083,"tags":{"astUsed":"true"},"startTime":1664596703440},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"build-module-css","id":5422,"timestamp":1673659517268,"duration":55578,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5427,"name":"next-swc-transform","id":5428,"timestamp":1673659517808,"duration":55204,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5424,"name":"next-swc-loader","id":5427,"timestamp":1673659517732,"duration":55282,"tags":{},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"build-module-tsx","id":5424,"timestamp":1673659517419,"duration":59921,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703397},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5420,"timestamp":1673659511361,"duration":66290,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5419,"timestamp":1673659511357,"duration":66306,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5421,"timestamp":1673659511363,"duration":70283,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5417,"timestamp":1673659511350,"duration":79381,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"add-entry","id":5418,"timestamp":1673659511354,"duration":98845,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596703391},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"make","id":5414,"timestamp":1673659507768,"duration":102460,"tags":{},"startTime":1664596703387},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-chunk-graph","id":5431,"timestamp":1673659614775,"duration":3792,"tags":{},"startTime":1664596703494},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-modules","id":5433,"timestamp":1673659618582,"duration":4,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-chunks","id":5434,"timestamp":1673659618598,"duration":35,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize-tree","id":5435,"timestamp":1673659618655,"duration":5,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-optimize","id":5432,"timestamp":1673659618577,"duration":1015,"tags":{},"startTime":1664596703498},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-hash","id":5436,"timestamp":1673659632483,"duration":5043,"tags":{},"startTime":1664596703512},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"NextJsBuildManifest-generateClientManifest","id":5438,"timestamp":1673659647513,"duration":55,"tags":{},"startTime":1664596703527},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"NextJsBuildManifest-createassets","id":5437,"timestamp":1673659647464,"duration":113,"tags":{},"startTime":1664596703527},{"traceId":"43f2de6d909a73f7","parentId":5413,"name":"webpack-compilation-seal","id":5430,"timestamp":1673659611396,"duration":38066,"tags":{},"startTime":1664596703491},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"webpack-compilation","id":5413,"timestamp":1673659507512,"duration":141977,"tags":{"name":"client"},"startTime":1664596703387},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5440,"timestamp":1673659669183,"duration":0,"tags":{},"startTime":1664596703549},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5441,"timestamp":1673659671096,"duration":1,"tags":{},"startTime":1664596703551},{"traceId":"43f2de6d909a73f7","parentId":5411,"name":"emit","id":5439,"timestamp":1673659649506,"duration":106667,"tags":{},"startTime":1664596703529},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5411,"timestamp":1673659495093,"duration":261840,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5448,"timestamp":1673659770704,"duration":0,"tags":{},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5449,"timestamp":1673659770744,"duration":0,"tags":{},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5451,"name":"next-swc-transform","id":5452,"timestamp":1673659774190,"duration":3209,"tags":{},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5450,"name":"next-swc-loader","id":5451,"timestamp":1673659774130,"duration":3279,"tags":{},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"build-module-tsx","id":5450,"timestamp":1673659774016,"duration":6887,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703654},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5447,"timestamp":1673659769932,"duration":12561,"tags":{"request":"private-next-pages/_error"},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5446,"timestamp":1673659769928,"duration":12572,"tags":{"request":"private-next-pages/_document"},"startTime":1664596703650},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"add-entry","id":5445,"timestamp":1673659769848,"duration":14761,"tags":{"request":"private-next-pages/_app"},"startTime":1664596703649},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"make","id":5443,"timestamp":1673659758463,"duration":26158,"tags":{},"startTime":1664596703638},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-chunk-graph","id":5454,"timestamp":1673659784920,"duration":227,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-modules","id":5456,"timestamp":1673659785154,"duration":2,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-chunks","id":5457,"timestamp":1673659785163,"duration":21,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize-tree","id":5458,"timestamp":1673659785192,"duration":5,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-optimize","id":5455,"timestamp":1673659785151,"duration":99,"tags":{},"startTime":1664596703665},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-hash","id":5459,"timestamp":1673659786739,"duration":452,"tags":{},"startTime":1664596703666},{"traceId":"43f2de6d909a73f7","parentId":5442,"name":"webpack-compilation-seal","id":5453,"timestamp":1673659784858,"duration":3747,"tags":{},"startTime":1664596703664},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"webpack-compilation","id":5442,"timestamp":1673659758272,"duration":30385,"tags":{"name":"server"},"startTime":1664596703638},{"traceId":"43f2de6d909a73f7","parentId":5412,"name":"emit","id":5460,"timestamp":1673659788687,"duration":7630,"tags":{},"startTime":1664596703668},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5412,"timestamp":1673659495300,"duration":301258,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596703375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5463,"timestamp":1664596703648999,"duration":27000,"tags":{"clientId":1664595509559},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5464,"timestamp":1673659802156,"duration":3380,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5465,"timestamp":1673659802194,"duration":3830,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"read-resource","id":5472,"timestamp":1673659806228,"duration":33,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5473,"name":"postcss-process","id":5474,"timestamp":1673659806288,"duration":32898,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"postcss-loader","id":5473,"timestamp":1673659806275,"duration":33161,"tags":{},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":5471,"name":"css-loader","id":5475,"timestamp":1673659839462,"duration":9136,"tags":{"astUsed":"true"},"startTime":1664596703719},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"build-module-css","id":5471,"timestamp":1673659806106,"duration":43776,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596703686},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5476,"timestamp":1664596703649999,"duration":37000,"tags":{"clientId":1664596649926},"startTime":1664596703730},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5469,"timestamp":1673659802205,"duration":49797,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5468,"timestamp":1673659802202,"duration":49818,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5470,"timestamp":1673659802206,"duration":54288,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5466,"timestamp":1673659802197,"duration":54700,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"add-entry","id":5467,"timestamp":1673659802199,"duration":89116,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596703682},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"make","id":5462,"timestamp":1673659800616,"duration":90729,"tags":{},"startTime":1664596703680},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-chunk-graph","id":5478,"timestamp":1673659896186,"duration":16781,"tags":{},"startTime":1664596703776},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-modules","id":5480,"timestamp":1673659912992,"duration":2,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-chunks","id":5481,"timestamp":1673659913003,"duration":34,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize-tree","id":5482,"timestamp":1673659913058,"duration":3,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-optimize","id":5479,"timestamp":1673659912984,"duration":1541,"tags":{},"startTime":1664596703793},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-hash","id":5483,"timestamp":1673659924541,"duration":3931,"tags":{},"startTime":1664596703804},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"NextJsBuildManifest-generateClientManifest","id":5485,"timestamp":1673659929328,"duration":54,"tags":{},"startTime":1664596703809},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"NextJsBuildManifest-createassets","id":5484,"timestamp":1673659929273,"duration":111,"tags":{},"startTime":1664596703809},{"traceId":"43f2de6d909a73f7","parentId":5461,"name":"webpack-compilation-seal","id":5477,"timestamp":1673659892417,"duration":37855,"tags":{},"startTime":1664596703772},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"webpack-compilation","id":5461,"timestamp":1673659800429,"duration":129864,"tags":{"name":"client"},"startTime":1664596703680},{"traceId":"43f2de6d909a73f7","parentId":5444,"name":"emit","id":5486,"timestamp":1673659930306,"duration":3521,"tags":{},"startTime":1664596703810},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5444,"timestamp":1673659769444,"duration":165003,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596703649}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5487,"timestamp":1673659943163,"duration":0,"tags":{},"startTime":1664596703823},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5488,"timestamp":1673659943211,"duration":0,"tags":{},"startTime":1664596703823},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5495,"timestamp":1673667825387,"duration":10811,"tags":{"request":"private-next-pages/_error"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5494,"timestamp":1673667825383,"duration":10828,"tags":{"request":"private-next-pages/_document"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5497,"name":"next-swc-transform","id":5498,"timestamp":1673667834739,"duration":1619,"tags":{},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5496,"name":"next-swc-loader","id":5497,"timestamp":1673667834706,"duration":1659,"tags":{},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"build-module-tsx","id":5496,"timestamp":1673667834618,"duration":3784,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711714},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"add-entry","id":5493,"timestamp":1673667825347,"duration":18270,"tags":{"request":"private-next-pages/_app"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"make","id":5492,"timestamp":1673667825275,"duration":18358,"tags":{},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-chunk-graph","id":5500,"timestamp":1673667843954,"duration":167,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-modules","id":5502,"timestamp":1673667844131,"duration":2,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-chunks","id":5503,"timestamp":1673667844140,"duration":15,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize-tree","id":5504,"timestamp":1673667844162,"duration":3,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-optimize","id":5501,"timestamp":1673667844127,"duration":83,"tags":{},"startTime":1664596711724},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-hash","id":5505,"timestamp":1673667845355,"duration":506,"tags":{},"startTime":1664596711725},{"traceId":"43f2de6d909a73f7","parentId":5491,"name":"webpack-compilation-seal","id":5499,"timestamp":1673667843891,"duration":3226,"tags":{},"startTime":1664596711723},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"webpack-compilation","id":5491,"timestamp":1673667825127,"duration":22010,"tags":{"name":"server"},"startTime":1664596711705},{"traceId":"43f2de6d909a73f7","parentId":5489,"name":"emit","id":5506,"timestamp":1673667847149,"duration":1675,"tags":{},"startTime":1664596711727},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5489,"timestamp":1673667818335,"duration":30699,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711698},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5509,"timestamp":1673667853795,"duration":3862,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"read-resource","id":5517,"timestamp":1673667858293,"duration":61,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5519,"name":"postcss-process","id":5520,"timestamp":1673667858372,"duration":31268,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"postcss-loader","id":5519,"timestamp":1673667858365,"duration":31464,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5516,"name":"css-loader","id":5523,"timestamp":1673667889847,"duration":9891,"tags":{"astUsed":"true"},"startTime":1664596711769},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"build-module-css","id":5516,"timestamp":1673667858212,"duration":42607,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5521,"name":"next-swc-transform","id":5522,"timestamp":1673667858620,"duration":43152,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5518,"name":"next-swc-loader","id":5521,"timestamp":1673667858587,"duration":43188,"tags":{},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"build-module-tsx","id":5518,"timestamp":1673667858309,"duration":48209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711738},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5514,"timestamp":1673667853848,"duration":53059,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5510,"timestamp":1673667853837,"duration":57013,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5513,"timestamp":1673667853845,"duration":57565,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5515,"timestamp":1673667853850,"duration":66314,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5511,"timestamp":1673667853840,"duration":85686,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"add-entry","id":5512,"timestamp":1673667853843,"duration":151513,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596711733},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"make","id":5508,"timestamp":1673667852467,"duration":152925,"tags":{},"startTime":1664596711732},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-chunk-graph","id":5525,"timestamp":1673668010984,"duration":19378,"tags":{},"startTime":1664596711891},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-modules","id":5527,"timestamp":1673668030392,"duration":3,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-chunks","id":5528,"timestamp":1673668030406,"duration":157,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize-tree","id":5529,"timestamp":1673668030591,"duration":7,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-optimize","id":5526,"timestamp":1673668030384,"duration":2947,"tags":{},"startTime":1664596711910},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-hash","id":5530,"timestamp":1673668048792,"duration":7038,"tags":{},"startTime":1664596711928},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"NextJsBuildManifest-generateClientManifest","id":5532,"timestamp":1673668066730,"duration":67,"tags":{},"startTime":1664596711946},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"NextJsBuildManifest-createassets","id":5531,"timestamp":1673668066673,"duration":133,"tags":{},"startTime":1664596711946},{"traceId":"43f2de6d909a73f7","parentId":5507,"name":"webpack-compilation-seal","id":5524,"timestamp":1673668007480,"duration":61120,"tags":{},"startTime":1664596711887},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"webpack-compilation","id":5507,"timestamp":1673667852314,"duration":216316,"tags":{"name":"client"},"startTime":1664596711732},{"traceId":"43f2de6d909a73f7","parentId":5490,"name":"emit","id":5533,"timestamp":1673668068651,"duration":138673,"tags":{},"startTime":1664596711948},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5490,"timestamp":1673667818460,"duration":389944,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596711698}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5535,"timestamp":1673668224247,"duration":0,"tags":{},"startTime":1664596712104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5536,"timestamp":1673668224298,"duration":0,"tags":{},"startTime":1664596712104},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5546,"timestamp":1664596712104000,"duration":19000,"tags":{"clientId":1664595509559},"startTime":1664596712124},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5539,"timestamp":1673668238855,"duration":7955,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596712118},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5540,"timestamp":1673668238974,"duration":8855,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"read-resource","id":5548,"timestamp":1673668248086,"duration":38,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5549,"name":"postcss-process","id":5550,"timestamp":1673668248161,"duration":50007,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"postcss-loader","id":5549,"timestamp":1673668248146,"duration":50712,"tags":{},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5547,"name":"css-loader","id":5551,"timestamp":1673668298886,"duration":14383,"tags":{"astUsed":"true"},"startTime":1664596712178},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"build-module-css","id":5547,"timestamp":1673668247935,"duration":66798,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596712128},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5544,"timestamp":1673668238988,"duration":76607,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5543,"timestamp":1673668238985,"duration":76626,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5545,"timestamp":1673668238990,"duration":80484,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5541,"timestamp":1673668238978,"duration":81194,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5552,"timestamp":1664596712104000,"duration":95000,"tags":{"clientId":1664596649926},"startTime":1664596712202},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"add-entry","id":5542,"timestamp":1673668238981,"duration":111751,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596712119},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"make","id":5538,"timestamp":1673668236734,"duration":114023,"tags":{},"startTime":1664596712116},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-chunk-graph","id":5554,"timestamp":1673668355396,"duration":21789,"tags":{},"startTime":1664596712235},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-modules","id":5556,"timestamp":1673668377213,"duration":3,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-chunks","id":5557,"timestamp":1673668377225,"duration":126,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize-tree","id":5558,"timestamp":1673668377373,"duration":3,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-optimize","id":5555,"timestamp":1673668377206,"duration":1509,"tags":{},"startTime":1664596712257},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-hash","id":5559,"timestamp":1673668388952,"duration":6706,"tags":{},"startTime":1664596712269},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"NextJsBuildManifest-generateClientManifest","id":5561,"timestamp":1673668396722,"duration":1897,"tags":{},"startTime":1664596712276},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"NextJsBuildManifest-createassets","id":5560,"timestamp":1673668396663,"duration":1966,"tags":{},"startTime":1664596712276},{"traceId":"43f2de6d909a73f7","parentId":5537,"name":"webpack-compilation-seal","id":5553,"timestamp":1673668351862,"duration":47812,"tags":{},"startTime":1664596712231},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"webpack-compilation","id":5537,"timestamp":1673668236433,"duration":163267,"tags":{"name":"client"},"startTime":1664596712116},{"traceId":"43f2de6d909a73f7","parentId":5534,"name":"emit","id":5562,"timestamp":1673668399722,"duration":2126,"tags":{},"startTime":1664596712279},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5534,"timestamp":1673668223540,"duration":178834,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596712103}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5563,"timestamp":1673668412910,"duration":0,"tags":{},"startTime":1664596712292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5564,"timestamp":1673668412965,"duration":0,"tags":{},"startTime":1664596712293},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5569,"timestamp":1673672955972,"duration":3966,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5570,"timestamp":1673672956013,"duration":4548,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"read-resource","id":5577,"timestamp":1673672960767,"duration":113,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5579,"name":"postcss-process","id":5580,"timestamp":1673672960907,"duration":34109,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"postcss-loader","id":5579,"timestamp":1673672960897,"duration":34320,"tags":{},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5576,"name":"css-loader","id":5583,"timestamp":1673672995236,"duration":8619,"tags":{"astUsed":"true"},"startTime":1664596716875},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"build-module-css","id":5576,"timestamp":1673672960666,"duration":44130,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5581,"name":"next-swc-transform","id":5582,"timestamp":1673672961246,"duration":43747,"tags":{},"startTime":1664596716841},{"traceId":"43f2de6d909a73f7","parentId":5578,"name":"next-swc-loader","id":5581,"timestamp":1673672961134,"duration":43860,"tags":{},"startTime":1664596716841},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"build-module-tsx","id":5578,"timestamp":1673672960784,"duration":48293,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716840},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5574,"timestamp":1673672956025,"duration":53335,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5573,"timestamp":1673672956022,"duration":53348,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5575,"timestamp":1673672956027,"duration":56070,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5571,"timestamp":1673672956017,"duration":63526,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"add-entry","id":5572,"timestamp":1673672956019,"duration":82334,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596716836},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"make","id":5568,"timestamp":1673672955247,"duration":83127,"tags":{},"startTime":1664596716835},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-chunk-graph","id":5585,"timestamp":1673673042814,"duration":3750,"tags":{},"startTime":1664596716922},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-modules","id":5587,"timestamp":1673673046580,"duration":3,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-chunks","id":5588,"timestamp":1673673046591,"duration":37,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize-tree","id":5589,"timestamp":1673673046645,"duration":3,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-optimize","id":5586,"timestamp":1673673046574,"duration":948,"tags":{},"startTime":1664596716926},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-hash","id":5590,"timestamp":1673673057850,"duration":4732,"tags":{},"startTime":1664596716937},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"NextJsBuildManifest-generateClientManifest","id":5592,"timestamp":1673673076163,"duration":45,"tags":{},"startTime":1664596716956},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"NextJsBuildManifest-createassets","id":5591,"timestamp":1673673076116,"duration":100,"tags":{},"startTime":1664596716956},{"traceId":"43f2de6d909a73f7","parentId":5567,"name":"webpack-compilation-seal","id":5584,"timestamp":1673673039408,"duration":38899,"tags":{},"startTime":1664596716919},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"webpack-compilation","id":5567,"timestamp":1673672955089,"duration":123254,"tags":{"name":"client"},"startTime":1664596716835},{"traceId":"43f2de6d909a73f7","parentId":5565,"name":"emit","id":5593,"timestamp":1673673078361,"duration":123449,"tags":{},"startTime":1664596716958},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5565,"timestamp":1673672943763,"duration":260723,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716823},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5600,"timestamp":1673673225766,"duration":0,"tags":{},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5601,"timestamp":1673673225818,"duration":0,"tags":{},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5599,"timestamp":1673673224971,"duration":11247,"tags":{"request":"private-next-pages/_error"},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5598,"timestamp":1673673224966,"duration":11266,"tags":{"request":"private-next-pages/_document"},"startTime":1664596717105},{"traceId":"43f2de6d909a73f7","parentId":5603,"name":"next-swc-transform","id":5604,"timestamp":1673673234465,"duration":4286,"tags":{},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5602,"name":"next-swc-loader","id":5603,"timestamp":1673673234257,"duration":4502,"tags":{},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"build-module-tsx","id":5602,"timestamp":1673673233979,"duration":7471,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596717114},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"add-entry","id":5597,"timestamp":1673673224882,"duration":21293,"tags":{"request":"private-next-pages/_app"},"startTime":1664596717104},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"make","id":5595,"timestamp":1673673207523,"duration":38676,"tags":{},"startTime":1664596717087},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-chunk-graph","id":5606,"timestamp":1673673246589,"duration":222,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-modules","id":5608,"timestamp":1673673246819,"duration":2,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-chunks","id":5609,"timestamp":1673673246864,"duration":25,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize-tree","id":5610,"timestamp":1673673246898,"duration":5,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-optimize","id":5607,"timestamp":1673673246816,"duration":142,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-hash","id":5611,"timestamp":1673673248308,"duration":461,"tags":{},"startTime":1664596717128},{"traceId":"43f2de6d909a73f7","parentId":5594,"name":"webpack-compilation-seal","id":5605,"timestamp":1673673246520,"duration":3566,"tags":{},"startTime":1664596717126},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"webpack-compilation","id":5594,"timestamp":1673673207265,"duration":42841,"tags":{"name":"server"},"startTime":1664596717087},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5613,"timestamp":1664596717104000,"duration":22000,"tags":{"clientId":1664595509559},"startTime":1664596717134},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5614,"timestamp":1664596717104999,"duration":22000,"tags":{"clientId":1664596649926},"startTime":1664596717134},{"traceId":"43f2de6d909a73f7","parentId":5566,"name":"emit","id":5612,"timestamp":1673673250116,"duration":5991,"tags":{},"startTime":1664596717130},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5566,"timestamp":1673672943958,"duration":312573,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596716824},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5617,"timestamp":1673673261793,"duration":3683,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5618,"timestamp":1673673261855,"duration":4203,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"read-resource","id":5625,"timestamp":1673673266282,"duration":36,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5626,"name":"postcss-process","id":5627,"timestamp":1673673266347,"duration":33968,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"postcss-loader","id":5626,"timestamp":1673673266335,"duration":34123,"tags":{},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5624,"name":"css-loader","id":5628,"timestamp":1673673300479,"duration":8987,"tags":{"astUsed":"true"},"startTime":1664596717180},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"build-module-css","id":5624,"timestamp":1673673266152,"duration":44695,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596717146},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5622,"timestamp":1673673261869,"duration":51272,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5621,"timestamp":1673673261866,"duration":51293,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5623,"timestamp":1673673261872,"duration":54943,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5619,"timestamp":1673673261860,"duration":55279,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"add-entry","id":5620,"timestamp":1673673261863,"duration":83981,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596717141},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"make","id":5616,"timestamp":1673673260207,"duration":85662,"tags":{},"startTime":1664596717140},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-chunk-graph","id":5630,"timestamp":1673673350068,"duration":16100,"tags":{},"startTime":1664596717230},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-modules","id":5632,"timestamp":1673673366191,"duration":3,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-chunks","id":5633,"timestamp":1673673366202,"duration":31,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize-tree","id":5634,"timestamp":1673673366251,"duration":3,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-optimize","id":5631,"timestamp":1673673366184,"duration":1339,"tags":{},"startTime":1664596717246},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-hash","id":5635,"timestamp":1673673377085,"duration":4135,"tags":{},"startTime":1664596717257},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"NextJsBuildManifest-generateClientManifest","id":5637,"timestamp":1673673382143,"duration":61,"tags":{},"startTime":1664596717262},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"NextJsBuildManifest-createassets","id":5636,"timestamp":1673673382074,"duration":133,"tags":{},"startTime":1664596717262},{"traceId":"43f2de6d909a73f7","parentId":5615,"name":"webpack-compilation-seal","id":5629,"timestamp":1673673346882,"duration":36276,"tags":{},"startTime":1664596717226},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"webpack-compilation","id":5615,"timestamp":1673673260026,"duration":123156,"tags":{"name":"client"},"startTime":1664596717140},{"traceId":"43f2de6d909a73f7","parentId":5596,"name":"emit","id":5638,"timestamp":1673673383197,"duration":3714,"tags":{},"startTime":1664596717263},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5596,"timestamp":1673673224542,"duration":162948,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596717104}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5639,"timestamp":1673673396569,"duration":0,"tags":{},"startTime":1664596717276},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5640,"timestamp":1673673396634,"duration":0,"tags":{},"startTime":1664596717276},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5645,"timestamp":1673676931236,"duration":6243,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5646,"timestamp":1673676931301,"duration":7148,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5650,"timestamp":1673676931320,"duration":10952,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5649,"timestamp":1673676931315,"duration":10985,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5651,"timestamp":1673676931323,"duration":15658,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5647,"timestamp":1673676931307,"duration":16218,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"add-entry","id":5648,"timestamp":1673676931311,"duration":42833,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596720811},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"make","id":5644,"timestamp":1673676930189,"duration":43979,"tags":{},"startTime":1664596720810},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-chunk-graph","id":5653,"timestamp":1673676978601,"duration":5361,"tags":{},"startTime":1664596720858},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-modules","id":5655,"timestamp":1673676983989,"duration":3,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-chunks","id":5656,"timestamp":1673676984002,"duration":41,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize-tree","id":5657,"timestamp":1673676984063,"duration":3,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-optimize","id":5654,"timestamp":1673676983977,"duration":1013,"tags":{},"startTime":1664596720864},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-hash","id":5658,"timestamp":1673676991959,"duration":3383,"tags":{},"startTime":1664596720872},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"NextJsBuildManifest-generateClientManifest","id":5660,"timestamp":1673676996142,"duration":50,"tags":{},"startTime":1664596720876},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"NextJsBuildManifest-createassets","id":5659,"timestamp":1673676996094,"duration":103,"tags":{},"startTime":1664596720876},{"traceId":"43f2de6d909a73f7","parentId":5643,"name":"webpack-compilation-seal","id":5652,"timestamp":1673676975075,"duration":21955,"tags":{},"startTime":1664596720855},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"webpack-compilation","id":5643,"timestamp":1673676929929,"duration":67120,"tags":{"name":"client"},"startTime":1664596720809},{"traceId":"43f2de6d909a73f7","parentId":5641,"name":"emit","id":5661,"timestamp":1673676997060,"duration":4071,"tags":{},"startTime":1664596720877},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5641,"timestamp":1673676906678,"duration":94851,"tags":{"trigger":"manual"},"startTime":1664596720786},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5664,"timestamp":1673677010796,"duration":0,"tags":{},"startTime":1664596720890},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5665,"timestamp":1673677010838,"duration":0,"tags":{},"startTime":1664596720890},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5669,"timestamp":1673677011224,"duration":2513,"tags":{"request":"./pages/index.tsx"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5668,"timestamp":1673677011223,"duration":2672,"tags":{"request":"private-next-pages/_error"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5667,"timestamp":1673677011220,"duration":2679,"tags":{"request":"private-next-pages/_document"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"add-entry","id":5666,"timestamp":1673677011183,"duration":2862,"tags":{"request":"private-next-pages/_app"},"startTime":1664596720891},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"make","id":5663,"timestamp":1673677002413,"duration":11644,"tags":{},"startTime":1664596720882},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-chunk-graph","id":5671,"timestamp":1673677014284,"duration":196,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-modules","id":5673,"timestamp":1673677014486,"duration":2,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-chunks","id":5674,"timestamp":1673677014495,"duration":17,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize-tree","id":5675,"timestamp":1673677014518,"duration":2,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-optimize","id":5672,"timestamp":1673677014484,"duration":82,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-hash","id":5676,"timestamp":1673677015235,"duration":436,"tags":{},"startTime":1664596720895},{"traceId":"43f2de6d909a73f7","parentId":5662,"name":"webpack-compilation-seal","id":5670,"timestamp":1673677014226,"duration":1992,"tags":{},"startTime":1664596720894},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"webpack-compilation","id":5662,"timestamp":1673677002282,"duration":13954,"tags":{"name":"server"},"startTime":1664596720882},{"traceId":"43f2de6d909a73f7","parentId":5642,"name":"emit","id":5677,"timestamp":1673677016244,"duration":3522,"tags":{},"startTime":1664596720896},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5642,"timestamp":1673676907505,"duration":112765,"tags":{"trigger":"manual"},"startTime":1664596720787}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5678,"timestamp":1673677297770,"duration":0,"tags":{},"startTime":1664596721177},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5679,"timestamp":1673677298113,"duration":0,"tags":{},"startTime":1664596721178},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5684,"timestamp":1673685152125,"duration":5895,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5685,"timestamp":1673685152219,"duration":7295,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5689,"timestamp":1673685152235,"duration":7987,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5688,"timestamp":1673685152230,"duration":8008,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5694,"name":"next-swc-transform","id":5695,"timestamp":1673685159955,"duration":3118,"tags":{},"startTime":1664596729040},{"traceId":"43f2de6d909a73f7","parentId":5693,"name":"next-swc-loader","id":5694,"timestamp":1673685159887,"duration":3193,"tags":{},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"build-module-tsx","id":5693,"timestamp":1673685159804,"duration":9625,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5690,"timestamp":1673685152237,"duration":18545,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5686,"timestamp":1673685152224,"duration":19734,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"read-resource","id":5692,"timestamp":1673685159755,"duration":12236,"tags":{},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5696,"name":"postcss-process","id":5697,"timestamp":1673685172037,"duration":37514,"tags":{},"startTime":1664596729052},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"postcss-loader","id":5696,"timestamp":1673685172018,"duration":37997,"tags":{},"startTime":1664596729052},{"traceId":"43f2de6d909a73f7","parentId":5691,"name":"css-loader","id":5698,"timestamp":1673685210034,"duration":11849,"tags":{"astUsed":"true"},"startTime":1664596729090},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"build-module-css","id":5691,"timestamp":1673685159621,"duration":67926,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596729039},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"add-entry","id":5687,"timestamp":1673685152226,"duration":106000,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596729032},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"make","id":5683,"timestamp":1673685151110,"duration":107140,"tags":{},"startTime":1664596729031},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-chunk-graph","id":5700,"timestamp":1673685262452,"duration":17445,"tags":{},"startTime":1664596729142},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-modules","id":5702,"timestamp":1673685279924,"duration":3,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-chunks","id":5703,"timestamp":1673685279938,"duration":95,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize-tree","id":5704,"timestamp":1673685280055,"duration":4,"tags":{},"startTime":1664596729160},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-optimize","id":5701,"timestamp":1673685279915,"duration":1653,"tags":{},"startTime":1664596729159},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-hash","id":5705,"timestamp":1673685294053,"duration":5594,"tags":{},"startTime":1664596729174},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"NextJsBuildManifest-generateClientManifest","id":5707,"timestamp":1673685310843,"duration":56,"tags":{},"startTime":1664596729190},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"NextJsBuildManifest-createassets","id":5706,"timestamp":1673685310786,"duration":120,"tags":{},"startTime":1664596729190},{"traceId":"43f2de6d909a73f7","parentId":5682,"name":"webpack-compilation-seal","id":5699,"timestamp":1673685259314,"duration":53389,"tags":{},"startTime":1664596729139},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"webpack-compilation","id":5682,"timestamp":1673685150909,"duration":161823,"tags":{"name":"client"},"startTime":1664596729030},{"traceId":"43f2de6d909a73f7","parentId":5680,"name":"emit","id":5708,"timestamp":1673685312750,"duration":103245,"tags":{},"startTime":1664596729192},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5680,"timestamp":1673685136598,"duration":280201,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729016},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5711,"timestamp":1673685428440,"duration":0,"tags":{},"startTime":1664596729308},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5712,"timestamp":1673685428500,"duration":0,"tags":{},"startTime":1664596729308},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5716,"timestamp":1673685429997,"duration":3624,"tags":{"request":"./pages/index.tsx"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5715,"timestamp":1673685429995,"duration":3872,"tags":{"request":"private-next-pages/_error"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5714,"timestamp":1673685429990,"duration":3881,"tags":{"request":"private-next-pages/_document"},"startTime":1664596729310},{"traceId":"43f2de6d909a73f7","parentId":5718,"name":"next-swc-transform","id":5719,"timestamp":1673685433480,"duration":1298,"tags":{},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5717,"name":"next-swc-loader","id":5718,"timestamp":1673685433416,"duration":1364,"tags":{},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"build-module-tsx","id":5717,"timestamp":1673685433276,"duration":10940,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729313},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"add-entry","id":5713,"timestamp":1673685429926,"duration":19393,"tags":{"request":"private-next-pages/_app"},"startTime":1664596729309},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"make","id":5710,"timestamp":1673685417813,"duration":31524,"tags":{},"startTime":1664596729297},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-chunk-graph","id":5721,"timestamp":1673685449694,"duration":280,"tags":{},"startTime":1664596729329},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-modules","id":5723,"timestamp":1673685449981,"duration":17,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-chunks","id":5724,"timestamp":1673685450006,"duration":24,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize-tree","id":5725,"timestamp":1673685450039,"duration":4,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-optimize","id":5722,"timestamp":1673685449978,"duration":121,"tags":{},"startTime":1664596729330},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-hash","id":5726,"timestamp":1673685451361,"duration":527,"tags":{},"startTime":1664596729331},{"traceId":"43f2de6d909a73f7","parentId":5709,"name":"webpack-compilation-seal","id":5720,"timestamp":1673685449619,"duration":3774,"tags":{},"startTime":1664596729329},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"webpack-compilation","id":5709,"timestamp":1673685417652,"duration":35761,"tags":{"name":"server"},"startTime":1664596729297},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5728,"timestamp":1664596729016999,"duration":316000,"tags":{"clientId":1664595509559},"startTime":1664596729336},{"traceId":"43f2de6d909a73f7","parentId":5681,"name":"emit","id":5727,"timestamp":1673685453425,"duration":5248,"tags":{},"startTime":1664596729333},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5681,"timestamp":1673685136842,"duration":322407,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596729016}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5729,"timestamp":1664596729017999,"duration":322000,"tags":{"clientId":1664596721221},"startTime":1664596729342},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5737,"timestamp":1673689397285,"duration":4111,"tags":{"request":"./pages/index.tsx"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5736,"timestamp":1673689397283,"duration":4365,"tags":{"request":"private-next-pages/_error"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5735,"timestamp":1673689397279,"duration":4376,"tags":{"request":"private-next-pages/_document"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5739,"name":"next-swc-transform","id":5740,"timestamp":1673689401252,"duration":1953,"tags":{},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5738,"name":"next-swc-loader","id":5739,"timestamp":1673689401209,"duration":2004,"tags":{},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"build-module-tsx","id":5738,"timestamp":1673689401028,"duration":8747,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733281},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"add-entry","id":5734,"timestamp":1673689397229,"duration":16216,"tags":{"request":"private-next-pages/_app"},"startTime":1664596733277},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"make","id":5733,"timestamp":1673689393957,"duration":19510,"tags":{},"startTime":1664596733274},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-chunk-graph","id":5742,"timestamp":1673689413782,"duration":403,"tags":{},"startTime":1664596733293},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-modules","id":5744,"timestamp":1673689414204,"duration":2,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-chunks","id":5745,"timestamp":1673689414214,"duration":31,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize-tree","id":5746,"timestamp":1673689414264,"duration":3,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-optimize","id":5743,"timestamp":1673689414197,"duration":131,"tags":{},"startTime":1664596733294},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-hash","id":5747,"timestamp":1673689415553,"duration":630,"tags":{},"startTime":1664596733295},{"traceId":"43f2de6d909a73f7","parentId":5732,"name":"webpack-compilation-seal","id":5741,"timestamp":1673689413710,"duration":4162,"tags":{},"startTime":1664596733293},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"webpack-compilation","id":5732,"timestamp":1673689393781,"duration":24116,"tags":{"name":"server"},"startTime":1664596733273},{"traceId":"43f2de6d909a73f7","parentId":5730,"name":"emit","id":5748,"timestamp":1673689417910,"duration":11514,"tags":{},"startTime":1664596733297},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5730,"timestamp":1673689387336,"duration":42346,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733267},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5751,"timestamp":1673689435358,"duration":3401,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5752,"timestamp":1673689435399,"duration":4000,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"read-resource","id":5759,"timestamp":1673689439611,"duration":83,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5761,"name":"postcss-process","id":5762,"timestamp":1673689439720,"duration":34086,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"postcss-loader","id":5761,"timestamp":1673689439711,"duration":34458,"tags":{},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5758,"name":"css-loader","id":5765,"timestamp":1673689474186,"duration":9504,"tags":{"astUsed":"true"},"startTime":1664596733354},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"build-module-css","id":5758,"timestamp":1673689439486,"duration":45357,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5763,"name":"next-swc-transform","id":5764,"timestamp":1673689440195,"duration":44862,"tags":{},"startTime":1664596733320},{"traceId":"43f2de6d909a73f7","parentId":5760,"name":"next-swc-loader","id":5763,"timestamp":1673689440158,"duration":44900,"tags":{},"startTime":1664596733320},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"build-module-tsx","id":5760,"timestamp":1673689439629,"duration":48890,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733319},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5756,"timestamp":1673689435411,"duration":55447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5755,"timestamp":1673689435408,"duration":55466,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5757,"timestamp":1673689435413,"duration":58386,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5753,"timestamp":1673689435403,"duration":65953,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"add-entry","id":5754,"timestamp":1673689435405,"duration":86339,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596733315},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"make","id":5750,"timestamp":1673689433996,"duration":87768,"tags":{},"startTime":1664596733314},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-chunk-graph","id":5767,"timestamp":1673689526079,"duration":15714,"tags":{},"startTime":1664596733406},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-modules","id":5769,"timestamp":1673689541820,"duration":2,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-chunks","id":5770,"timestamp":1673689541831,"duration":34,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize-tree","id":5771,"timestamp":1673689541887,"duration":3,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-optimize","id":5768,"timestamp":1673689541813,"duration":1533,"tags":{},"startTime":1664596733421},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-hash","id":5772,"timestamp":1673689555358,"duration":3966,"tags":{},"startTime":1664596733435},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"NextJsBuildManifest-generateClientManifest","id":5774,"timestamp":1673689569611,"duration":49,"tags":{},"startTime":1664596733449},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"NextJsBuildManifest-createassets","id":5773,"timestamp":1673689569564,"duration":104,"tags":{},"startTime":1664596733449},{"traceId":"43f2de6d909a73f7","parentId":5749,"name":"webpack-compilation-seal","id":5766,"timestamp":1673689522882,"duration":48686,"tags":{},"startTime":1664596733402},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"webpack-compilation","id":5749,"timestamp":1673689433826,"duration":137776,"tags":{"name":"client"},"startTime":1664596733313},{"traceId":"43f2de6d909a73f7","parentId":5731,"name":"emit","id":5775,"timestamp":1673689571618,"duration":88442,"tags":{},"startTime":1664596733451},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5731,"timestamp":1673689387475,"duration":273266,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596733267}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5777,"timestamp":1673689670982,"duration":0,"tags":{},"startTime":1664596733551},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5780,"timestamp":1673689685208,"duration":0,"tags":{},"startTime":1664596733565},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5781,"timestamp":1673689685947,"duration":5163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596733565},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5788,"timestamp":1664596733550000,"duration":19999,"tags":{"clientId":1664595509559},"startTime":1664596733571},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5782,"timestamp":1673689685980,"duration":6046,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"read-resource","id":5790,"timestamp":1673689692207,"duration":37,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5791,"name":"postcss-process","id":5792,"timestamp":1673689692264,"duration":35750,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"postcss-loader","id":5791,"timestamp":1673689692256,"duration":35997,"tags":{},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5789,"name":"css-loader","id":5793,"timestamp":1673689728276,"duration":10026,"tags":{"astUsed":"true"},"startTime":1664596733608},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"build-module-css","id":5789,"timestamp":1673689692116,"duration":47188,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596733572},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5786,"timestamp":1673689685991,"duration":53955,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5785,"timestamp":1673689685988,"duration":53971,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5787,"timestamp":1673689685993,"duration":59809,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5783,"timestamp":1673689685984,"duration":60160,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5794,"timestamp":1664596733556000,"duration":76000,"tags":{"clientId":1664596721221},"startTime":1664596733633},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"add-entry","id":5784,"timestamp":1673689685986,"duration":84463,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596733566},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"make","id":5779,"timestamp":1673689684503,"duration":85969,"tags":{},"startTime":1664596733564},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-chunk-graph","id":5796,"timestamp":1673689774735,"duration":3598,"tags":{},"startTime":1664596733654},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-modules","id":5798,"timestamp":1673689778349,"duration":2,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-chunks","id":5799,"timestamp":1673689778359,"duration":37,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize-tree","id":5800,"timestamp":1673689778412,"duration":3,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-optimize","id":5797,"timestamp":1673689778344,"duration":1093,"tags":{},"startTime":1664596733658},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-hash","id":5801,"timestamp":1673689789429,"duration":3458,"tags":{},"startTime":1664596733669},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"NextJsBuildManifest-generateClientManifest","id":5803,"timestamp":1673689793660,"duration":44,"tags":{},"startTime":1664596733673},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"NextJsBuildManifest-createassets","id":5802,"timestamp":1673689793622,"duration":83,"tags":{},"startTime":1664596733673},{"traceId":"43f2de6d909a73f7","parentId":5778,"name":"webpack-compilation-seal","id":5795,"timestamp":1673689771490,"duration":23383,"tags":{},"startTime":1664596733651},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"webpack-compilation","id":5778,"timestamp":1673689684289,"duration":110621,"tags":{"name":"client"},"startTime":1664596733564},{"traceId":"43f2de6d909a73f7","parentId":5776,"name":"emit","id":5804,"timestamp":1673689794928,"duration":2675,"tags":{},"startTime":1664596733674},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5776,"timestamp":1673689670273,"duration":127841,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596733550}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5805,"timestamp":1673689810451,"duration":0,"tags":{},"startTime":1664596733690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5806,"timestamp":1673689810519,"duration":0,"tags":{},"startTime":1664596733690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5807,"timestamp":1673721799197,"duration":0,"tags":{},"startTime":1664596765679},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5808,"timestamp":1673721802065,"duration":0,"tags":{},"startTime":1664596765682},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5813,"timestamp":1673731812769,"duration":7762,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"read-resource","id":5821,"timestamp":1673731821539,"duration":105,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5823,"name":"postcss-process","id":5824,"timestamp":1673731821677,"duration":43962,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"postcss-loader","id":5823,"timestamp":1673731821665,"duration":44522,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5820,"name":"css-loader","id":5827,"timestamp":1673731866218,"duration":28582,"tags":{"astUsed":"true"},"startTime":1664596775746},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"build-module-css","id":5820,"timestamp":1673731821377,"duration":76754,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5825,"name":"next-swc-transform","id":5826,"timestamp":1673731821852,"duration":76600,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5822,"name":"next-swc-loader","id":5825,"timestamp":1673731821820,"duration":76634,"tags":{},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"build-module-tsx","id":5822,"timestamp":1673731821573,"duration":84338,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775701},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5818,"timestamp":1673731812835,"duration":93537,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5814,"timestamp":1673731812815,"duration":97577,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5817,"timestamp":1673731812832,"duration":97925,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5819,"timestamp":1673731812837,"duration":112794,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5815,"timestamp":1673731812820,"duration":137664,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"add-entry","id":5816,"timestamp":1673731812829,"duration":174090,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596775692},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"make","id":5812,"timestamp":1673731811658,"duration":175295,"tags":{},"startTime":1664596775691},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-chunk-graph","id":5829,"timestamp":1673731991570,"duration":17381,"tags":{},"startTime":1664596775871},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-modules","id":5831,"timestamp":1673732008973,"duration":3,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-chunks","id":5832,"timestamp":1673732008985,"duration":56,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize-tree","id":5833,"timestamp":1673732009060,"duration":6,"tags":{},"startTime":1664596775889},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-optimize","id":5830,"timestamp":1673732008966,"duration":1514,"tags":{},"startTime":1664596775888},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-hash","id":5834,"timestamp":1673732022017,"duration":5535,"tags":{},"startTime":1664596775902},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"NextJsBuildManifest-generateClientManifest","id":5836,"timestamp":1673732041225,"duration":63,"tags":{},"startTime":1664596775921},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"NextJsBuildManifest-createassets","id":5835,"timestamp":1673732041174,"duration":122,"tags":{},"startTime":1664596775921},{"traceId":"43f2de6d909a73f7","parentId":5811,"name":"webpack-compilation-seal","id":5828,"timestamp":1673731988169,"duration":54823,"tags":{},"startTime":1664596775868},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"webpack-compilation","id":5811,"timestamp":1673731811470,"duration":231546,"tags":{"name":"client"},"startTime":1664596775691},{"traceId":"43f2de6d909a73f7","parentId":5809,"name":"emit","id":5837,"timestamp":1673732043038,"duration":105072,"tags":{},"startTime":1664596775923},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5809,"timestamp":1673731800816,"duration":347935,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775680},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5844,"timestamp":1673732160313,"duration":0,"tags":{},"startTime":1664596776040},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5845,"timestamp":1673732160353,"duration":0,"tags":{},"startTime":1664596776040},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5843,"timestamp":1673732159835,"duration":8547,"tags":{"request":"private-next-pages/_error"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5842,"timestamp":1673732159831,"duration":8561,"tags":{"request":"private-next-pages/_document"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5847,"name":"next-swc-transform","id":5848,"timestamp":1673732167062,"duration":2604,"tags":{},"startTime":1664596776047},{"traceId":"43f2de6d909a73f7","parentId":5846,"name":"next-swc-loader","id":5847,"timestamp":1673732167011,"duration":2663,"tags":{},"startTime":1664596776047},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"build-module-tsx","id":5846,"timestamp":1673732166893,"duration":4970,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596776046},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"add-entry","id":5841,"timestamp":1673732159790,"duration":14741,"tags":{"request":"private-next-pages/_app"},"startTime":1664596776039},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"make","id":5839,"timestamp":1673732149859,"duration":24685,"tags":{},"startTime":1664596776029},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-chunk-graph","id":5850,"timestamp":1673732174769,"duration":217,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-modules","id":5852,"timestamp":1673732174993,"duration":2,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-chunks","id":5853,"timestamp":1673732175002,"duration":14,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize-tree","id":5854,"timestamp":1673732175022,"duration":2,"tags":{},"startTime":1664596776055},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-optimize","id":5851,"timestamp":1673732174990,"duration":85,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-hash","id":5855,"timestamp":1673732176073,"duration":648,"tags":{},"startTime":1664596776056},{"traceId":"43f2de6d909a73f7","parentId":5838,"name":"webpack-compilation-seal","id":5849,"timestamp":1673732174714,"duration":3251,"tags":{},"startTime":1664596776054},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"webpack-compilation","id":5838,"timestamp":1673732149695,"duration":28288,"tags":{"name":"server"},"startTime":1664596776029},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5857,"timestamp":1664596776039000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664596776060},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5858,"timestamp":1664596776054000,"duration":20999,"tags":{"clientId":1664596721221},"startTime":1664596776076},{"traceId":"43f2de6d909a73f7","parentId":5810,"name":"emit","id":5856,"timestamp":1673732177994,"duration":23067,"tags":{},"startTime":1664596776057},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5810,"timestamp":1673731801037,"duration":400290,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596775681},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5861,"timestamp":1673732205739,"duration":3073,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5862,"timestamp":1673732205773,"duration":3545,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"read-resource","id":5869,"timestamp":1673732209485,"duration":32,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5870,"name":"postcss-process","id":5871,"timestamp":1673732209539,"duration":30875,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"postcss-loader","id":5870,"timestamp":1673732209531,"duration":31028,"tags":{},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5868,"name":"css-loader","id":5872,"timestamp":1673732240578,"duration":8032,"tags":{"astUsed":"true"},"startTime":1664596776120},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"build-module-css","id":5868,"timestamp":1673732209398,"duration":40124,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596776089},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5866,"timestamp":1673732205848,"duration":45667,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5865,"timestamp":1673732205845,"duration":45683,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5867,"timestamp":1673732205850,"duration":48877,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5863,"timestamp":1673732205837,"duration":49160,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"add-entry","id":5864,"timestamp":1673732205842,"duration":72784,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596776085},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"make","id":5860,"timestamp":1673732204474,"duration":74171,"tags":{},"startTime":1664596776084},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-chunk-graph","id":5874,"timestamp":1673732282712,"duration":3473,"tags":{},"startTime":1664596776162},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-modules","id":5876,"timestamp":1673732286203,"duration":2,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-chunks","id":5877,"timestamp":1673732286213,"duration":30,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize-tree","id":5878,"timestamp":1673732286257,"duration":3,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-optimize","id":5875,"timestamp":1673732286198,"duration":930,"tags":{},"startTime":1664596776166},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-hash","id":5879,"timestamp":1673732296128,"duration":3256,"tags":{},"startTime":1664596776176},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"NextJsBuildManifest-generateClientManifest","id":5881,"timestamp":1673732300105,"duration":44,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"NextJsBuildManifest-createassets","id":5880,"timestamp":1673732300064,"duration":87,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":5859,"name":"webpack-compilation-seal","id":5873,"timestamp":1673732279528,"duration":21437,"tags":{},"startTime":1664596776159},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"webpack-compilation","id":5859,"timestamp":1673732204320,"duration":96664,"tags":{"name":"client"},"startTime":1664596776084},{"traceId":"43f2de6d909a73f7","parentId":5840,"name":"emit","id":5882,"timestamp":1673732300994,"duration":1957,"tags":{},"startTime":1664596776180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5840,"timestamp":1673732159573,"duration":143892,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596776039}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5883,"timestamp":1673732314621,"duration":0,"tags":{},"startTime":1664596776194},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5884,"timestamp":1673732314664,"duration":0,"tags":{},"startTime":1664596776194},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5891,"timestamp":1673738786274,"duration":6056,"tags":{"request":"private-next-pages/_error"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5890,"timestamp":1673738786270,"duration":6071,"tags":{"request":"private-next-pages/_document"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5893,"name":"next-swc-transform","id":5894,"timestamp":1673738791860,"duration":10913,"tags":{},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5892,"name":"next-swc-loader","id":5893,"timestamp":1673738791817,"duration":10966,"tags":{},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"build-module-tsx","id":5892,"timestamp":1673738791714,"duration":12939,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782671},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"add-entry","id":5889,"timestamp":1673738786232,"duration":20952,"tags":{"request":"private-next-pages/_app"},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"make","id":5888,"timestamp":1673738786151,"duration":21054,"tags":{},"startTime":1664596782666},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-chunk-graph","id":5896,"timestamp":1673738807464,"duration":193,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-modules","id":5898,"timestamp":1673738807667,"duration":2,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-chunks","id":5899,"timestamp":1673738807676,"duration":15,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize-tree","id":5900,"timestamp":1673738807700,"duration":2,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-optimize","id":5897,"timestamp":1673738807663,"duration":84,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-hash","id":5901,"timestamp":1673738808747,"duration":474,"tags":{},"startTime":1664596782688},{"traceId":"43f2de6d909a73f7","parentId":5887,"name":"webpack-compilation-seal","id":5895,"timestamp":1673738807402,"duration":3073,"tags":{},"startTime":1664596782687},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"webpack-compilation","id":5887,"timestamp":1673738785986,"duration":24512,"tags":{"name":"server"},"startTime":1664596782665},{"traceId":"43f2de6d909a73f7","parentId":5885,"name":"emit","id":5902,"timestamp":1673738810513,"duration":2710,"tags":{},"startTime":1664596782690},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5885,"timestamp":1673738779164,"duration":34265,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782659},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5905,"timestamp":1673738823209,"duration":6671,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5906,"timestamp":1673738823250,"duration":8916,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"read-resource","id":5913,"timestamp":1673738832655,"duration":199,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5915,"name":"postcss-process","id":5916,"timestamp":1673738832891,"duration":48661,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"postcss-loader","id":5915,"timestamp":1673738832876,"duration":48821,"tags":{},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5912,"name":"css-loader","id":5919,"timestamp":1673738881716,"duration":10214,"tags":{"astUsed":"true"},"startTime":1664596782761},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"build-module-css","id":5912,"timestamp":1673738832359,"duration":60591,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5917,"name":"next-swc-transform","id":5918,"timestamp":1673738833189,"duration":59985,"tags":{},"startTime":1664596782713},{"traceId":"43f2de6d909a73f7","parentId":5914,"name":"next-swc-loader","id":5917,"timestamp":1673738833148,"duration":60027,"tags":{},"startTime":1664596782713},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"build-module-tsx","id":5914,"timestamp":1673738832685,"duration":63437,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782712},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5910,"timestamp":1673738823264,"duration":83533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5909,"timestamp":1673738823260,"duration":83575,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5911,"timestamp":1673738823266,"duration":88473,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5907,"timestamp":1673738823253,"duration":98646,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"add-entry","id":5908,"timestamp":1673738823256,"duration":135044,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596782703},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"make","id":5904,"timestamp":1673738817816,"duration":140522,"tags":{},"startTime":1664596782697},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-chunk-graph","id":5921,"timestamp":1673738963919,"duration":20111,"tags":{},"startTime":1664596782843},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-modules","id":5923,"timestamp":1673738984054,"duration":2,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-chunks","id":5924,"timestamp":1673738984065,"duration":133,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize-tree","id":5925,"timestamp":1673738984222,"duration":8,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-optimize","id":5922,"timestamp":1673738984047,"duration":1860,"tags":{},"startTime":1664596782864},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-hash","id":5926,"timestamp":1673738998574,"duration":4740,"tags":{},"startTime":1664596782878},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"NextJsBuildManifest-generateClientManifest","id":5928,"timestamp":1673739015272,"duration":70,"tags":{},"startTime":1664596782895},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"NextJsBuildManifest-createassets","id":5927,"timestamp":1673739015209,"duration":141,"tags":{},"startTime":1664596782895},{"traceId":"43f2de6d909a73f7","parentId":5903,"name":"webpack-compilation-seal","id":5920,"timestamp":1673738959658,"duration":57645,"tags":{},"startTime":1664596782839},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"webpack-compilation","id":5903,"timestamp":1673738817649,"duration":199683,"tags":{"name":"client"},"startTime":1664596782697},{"traceId":"43f2de6d909a73f7","parentId":5886,"name":"emit","id":5929,"timestamp":1673739017355,"duration":97979,"tags":{},"startTime":1664596782897},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5886,"timestamp":1673738779289,"duration":337128,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596782659}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5933,"timestamp":1673739148629,"duration":0,"tags":{},"startTime":1664596783028},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5934,"timestamp":1673739148745,"duration":0,"tags":{},"startTime":1664596783028},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5935,"timestamp":1673739151011,"duration":5060,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596783030},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5936,"timestamp":1673739151107,"duration":5740,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"read-resource","id":5943,"timestamp":1673739157097,"duration":33,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5944,"name":"postcss-process","id":5945,"timestamp":1673739157161,"duration":29107,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"postcss-loader","id":5944,"timestamp":1673739157150,"duration":29274,"tags":{},"startTime":1664596783037},{"traceId":"43f2de6d909a73f7","parentId":5942,"name":"css-loader","id":5946,"timestamp":1673739186446,"duration":12253,"tags":{"astUsed":"true"},"startTime":1664596783066},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"build-module-css","id":5942,"timestamp":1673739156956,"duration":43288,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596783036},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5940,"timestamp":1673739151123,"duration":50208,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5939,"timestamp":1673739151120,"duration":50224,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5941,"timestamp":1673739151125,"duration":54168,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5937,"timestamp":1673739151114,"duration":54450,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5947,"timestamp":1664596783008999,"duration":78000,"tags":{"clientId":1664596721221},"startTime":1664596783089},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":5948,"timestamp":1664596783008999,"duration":85000,"tags":{"clientId":1664595509559},"startTime":1664596783095},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"add-entry","id":5938,"timestamp":1673739151117,"duration":86011,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596783031},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"make","id":5932,"timestamp":1673739147916,"duration":89261,"tags":{},"startTime":1664596783027},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-chunk-graph","id":5950,"timestamp":1673739241803,"duration":17103,"tags":{},"startTime":1664596783121},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-modules","id":5952,"timestamp":1673739258931,"duration":2,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-chunks","id":5953,"timestamp":1673739258943,"duration":98,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize-tree","id":5954,"timestamp":1673739259061,"duration":3,"tags":{},"startTime":1664596783139},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-optimize","id":5951,"timestamp":1673739258923,"duration":1535,"tags":{},"startTime":1664596783138},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-hash","id":5955,"timestamp":1673739271366,"duration":3457,"tags":{},"startTime":1664596783151},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"NextJsBuildManifest-generateClientManifest","id":5957,"timestamp":1673739275586,"duration":49,"tags":{},"startTime":1664596783155},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"NextJsBuildManifest-createassets","id":5956,"timestamp":1673739275540,"duration":97,"tags":{},"startTime":1664596783155},{"traceId":"43f2de6d909a73f7","parentId":5931,"name":"webpack-compilation-seal","id":5949,"timestamp":1673739238269,"duration":38375,"tags":{},"startTime":1664596783118},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"webpack-compilation","id":5931,"timestamp":1673739147710,"duration":128959,"tags":{"name":"client"},"startTime":1664596783027},{"traceId":"43f2de6d909a73f7","parentId":5930,"name":"emit","id":5958,"timestamp":1673739276686,"duration":2018,"tags":{},"startTime":1664596783156},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5930,"timestamp":1673739128916,"duration":150339,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596783008}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5959,"timestamp":1673739291067,"duration":0,"tags":{},"startTime":1664596783171},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":5960,"timestamp":1673739291110,"duration":0,"tags":{},"startTime":1664596783171},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5967,"timestamp":1673744106878,"duration":7374,"tags":{"request":"private-next-pages/_error"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5966,"timestamp":1673744106875,"duration":7428,"tags":{"request":"private-next-pages/_document"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5969,"name":"next-swc-transform","id":5970,"timestamp":1673744113622,"duration":2079,"tags":{},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5968,"name":"next-swc-loader","id":5969,"timestamp":1673744113541,"duration":2167,"tags":{},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"build-module-tsx","id":5968,"timestamp":1673744113320,"duration":5092,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787993},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"add-entry","id":5965,"timestamp":1673744106838,"duration":14610,"tags":{"request":"private-next-pages/_app"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"make","id":5964,"timestamp":1673744106733,"duration":14733,"tags":{},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-chunk-graph","id":5972,"timestamp":1673744121761,"duration":179,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-modules","id":5974,"timestamp":1673744121949,"duration":2,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-chunks","id":5975,"timestamp":1673744122027,"duration":17,"tags":{},"startTime":1664596788002},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize-tree","id":5976,"timestamp":1673744122122,"duration":9,"tags":{},"startTime":1664596788002},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-optimize","id":5973,"timestamp":1673744121945,"duration":276,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-hash","id":5977,"timestamp":1673744123433,"duration":475,"tags":{},"startTime":1664596788003},{"traceId":"43f2de6d909a73f7","parentId":5963,"name":"webpack-compilation-seal","id":5971,"timestamp":1673744121699,"duration":4792,"tags":{},"startTime":1664596788001},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"webpack-compilation","id":5963,"timestamp":1673744106547,"duration":19964,"tags":{"name":"server"},"startTime":1664596787986},{"traceId":"43f2de6d909a73f7","parentId":5961,"name":"emit","id":5978,"timestamp":1673744126521,"duration":9351,"tags":{},"startTime":1664596788006},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":5961,"timestamp":1673744099595,"duration":36550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787979},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5981,"timestamp":1673744141690,"duration":3579,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5982,"timestamp":1673744141736,"duration":4190,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"read-resource","id":5989,"timestamp":1673744146102,"duration":74,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5991,"name":"postcss-process","id":5992,"timestamp":1673744146193,"duration":35492,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"postcss-loader","id":5991,"timestamp":1673744146186,"duration":35644,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5988,"name":"css-loader","id":5995,"timestamp":1673744181848,"duration":8873,"tags":{"astUsed":"true"},"startTime":1664596788061},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"build-module-css","id":5988,"timestamp":1673744146007,"duration":45722,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596788025},{"traceId":"43f2de6d909a73f7","parentId":5993,"name":"next-swc-transform","id":5994,"timestamp":1673744146444,"duration":45438,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5990,"name":"next-swc-loader","id":5993,"timestamp":1673744146403,"duration":45480,"tags":{},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"build-module-tsx","id":5990,"timestamp":1673744146118,"duration":48237,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596788026},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5986,"timestamp":1673744141749,"duration":54770,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5985,"timestamp":1673744141746,"duration":54786,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5987,"timestamp":1673744141751,"duration":57710,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5983,"timestamp":1673744141739,"duration":64571,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"add-entry","id":5984,"timestamp":1673744141743,"duration":86073,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596788021},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"make","id":5980,"timestamp":1673744140166,"duration":87668,"tags":{},"startTime":1664596788020},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-chunk-graph","id":5997,"timestamp":1673744232569,"duration":3869,"tags":{},"startTime":1664596788112},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-modules","id":5999,"timestamp":1673744236470,"duration":3,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-chunks","id":6000,"timestamp":1673744236487,"duration":40,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize-tree","id":6001,"timestamp":1673744236554,"duration":3,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-optimize","id":5998,"timestamp":1673744236458,"duration":1228,"tags":{},"startTime":1664596788116},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-hash","id":6002,"timestamp":1673744248732,"duration":3995,"tags":{},"startTime":1664596788128},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"NextJsBuildManifest-generateClientManifest","id":6004,"timestamp":1673744267994,"duration":64,"tags":{},"startTime":1664596788147},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"NextJsBuildManifest-createassets","id":6003,"timestamp":1673744267926,"duration":142,"tags":{},"startTime":1664596788147},{"traceId":"43f2de6d909a73f7","parentId":5979,"name":"webpack-compilation-seal","id":5996,"timestamp":1673744228773,"duration":42133,"tags":{},"startTime":1664596788108},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"webpack-compilation","id":5979,"timestamp":1673744139992,"duration":130974,"tags":{"name":"client"},"startTime":1664596788019},{"traceId":"43f2de6d909a73f7","parentId":5962,"name":"emit","id":6005,"timestamp":1673744270986,"duration":110987,"tags":{},"startTime":1664596788150},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":5962,"timestamp":1673744099696,"duration":283930,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596787979}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6007,"timestamp":1673744401398,"duration":0,"tags":{},"startTime":1664596788281},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6008,"timestamp":1673744401459,"duration":0,"tags":{},"startTime":1664596788281},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6011,"timestamp":1673744413203,"duration":4268,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6018,"timestamp":1664596788280000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6019,"timestamp":1664596788280000,"duration":16999,"tags":{"clientId":1664596721221},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6012,"timestamp":1673744413250,"duration":5022,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"read-resource","id":6021,"timestamp":1673744418491,"duration":32,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6022,"name":"postcss-process","id":6023,"timestamp":1673744418549,"duration":33463,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"postcss-loader","id":6022,"timestamp":1673744418540,"duration":33766,"tags":{},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6020,"name":"css-loader","id":6024,"timestamp":1673744452344,"duration":11470,"tags":{"astUsed":"true"},"startTime":1664596788332},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"build-module-css","id":6020,"timestamp":1673744418367,"duration":46750,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596788298},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6016,"timestamp":1673744413263,"duration":52270,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6015,"timestamp":1673744413260,"duration":52285,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6017,"timestamp":1673744413265,"duration":56417,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6013,"timestamp":1673744413255,"duration":56828,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"add-entry","id":6014,"timestamp":1673744413257,"duration":86241,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596788293},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"make","id":6010,"timestamp":1673744411383,"duration":88142,"tags":{},"startTime":1664596788291},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-chunk-graph","id":6026,"timestamp":1673744504009,"duration":18772,"tags":{},"startTime":1664596788383},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-modules","id":6028,"timestamp":1673744522809,"duration":3,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-chunks","id":6029,"timestamp":1673744522821,"duration":101,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize-tree","id":6030,"timestamp":1673744522943,"duration":3,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-optimize","id":6027,"timestamp":1673744522801,"duration":1414,"tags":{},"startTime":1664596788402},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-hash","id":6031,"timestamp":1673744532335,"duration":5535,"tags":{},"startTime":1664596788412},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"NextJsBuildManifest-generateClientManifest","id":6033,"timestamp":1673744538679,"duration":53,"tags":{},"startTime":1664596788418},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"NextJsBuildManifest-createassets","id":6032,"timestamp":1673744538627,"duration":108,"tags":{},"startTime":1664596788418},{"traceId":"43f2de6d909a73f7","parentId":6009,"name":"webpack-compilation-seal","id":6025,"timestamp":1673744500530,"duration":39018,"tags":{},"startTime":1664596788380},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"webpack-compilation","id":6009,"timestamp":1673744411170,"duration":128397,"tags":{"name":"client"},"startTime":1664596788291},{"traceId":"43f2de6d909a73f7","parentId":6006,"name":"emit","id":6034,"timestamp":1673744539584,"duration":1968,"tags":{},"startTime":1664596788419},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6006,"timestamp":1673744399944,"duration":142194,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596788279}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6035,"timestamp":1673744551987,"duration":0,"tags":{},"startTime":1664596788431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6036,"timestamp":1673744552033,"duration":0,"tags":{},"startTime":1664596788432},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6043,"timestamp":1673803372796,"duration":18696,"tags":{"request":"private-next-pages/_error"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6042,"timestamp":1673803372791,"duration":18757,"tags":{"request":"private-next-pages/_document"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6045,"name":"next-swc-transform","id":6046,"timestamp":1673803387874,"duration":4230,"tags":{},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6044,"name":"next-swc-loader","id":6045,"timestamp":1673803387695,"duration":4411,"tags":{},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"build-module-tsx","id":6044,"timestamp":1673803387441,"duration":13058,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847267},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"add-entry","id":6041,"timestamp":1673803372704,"duration":35207,"tags":{"request":"private-next-pages/_app"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"make","id":6040,"timestamp":1673803372494,"duration":35445,"tags":{},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-chunk-graph","id":6048,"timestamp":1673803408461,"duration":288,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-modules","id":6050,"timestamp":1673803408758,"duration":10,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-chunks","id":6051,"timestamp":1673803408799,"duration":45,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize-tree","id":6052,"timestamp":1673803408865,"duration":18,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-optimize","id":6049,"timestamp":1673803408755,"duration":237,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-hash","id":6053,"timestamp":1673803411181,"duration":858,"tags":{},"startTime":1664596847291},{"traceId":"43f2de6d909a73f7","parentId":6039,"name":"webpack-compilation-seal","id":6047,"timestamp":1673803408345,"duration":6029,"tags":{},"startTime":1664596847288},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"webpack-compilation","id":6039,"timestamp":1673803372245,"duration":42156,"tags":{"name":"server"},"startTime":1664596847252},{"traceId":"43f2de6d909a73f7","parentId":6037,"name":"emit","id":6054,"timestamp":1673803414414,"duration":1658,"tags":{},"startTime":1664596847294},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6037,"timestamp":1673803365760,"duration":51518,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847245},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6057,"timestamp":1673803424038,"duration":4836,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6062,"timestamp":1673803424078,"duration":6797,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"read-resource","id":6065,"timestamp":1673803430608,"duration":972,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6069,"name":"postcss-process","id":6070,"timestamp":1673803431608,"duration":41043,"tags":{},"startTime":1664596847311},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"postcss-loader","id":6069,"timestamp":1673803431597,"duration":41467,"tags":{},"startTime":1664596847311},{"traceId":"43f2de6d909a73f7","parentId":6064,"name":"css-loader","id":6071,"timestamp":1673803473085,"duration":12654,"tags":{"astUsed":"true"},"startTime":1664596847352},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"build-module-css","id":6064,"timestamp":1673803430459,"duration":61231,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6058,"timestamp":1673803424066,"duration":68364,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6067,"name":"next-swc-transform","id":6068,"timestamp":1673803430726,"duration":61970,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6066,"name":"next-swc-loader","id":6067,"timestamp":1673803430689,"duration":62009,"tags":{},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"build-module-tsx","id":6066,"timestamp":1673803430635,"duration":66439,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847310},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6061,"timestamp":1673803424075,"duration":73138,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6063,"timestamp":1673803424080,"duration":79229,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6059,"timestamp":1673803424069,"duration":85252,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"add-entry","id":6060,"timestamp":1673803424071,"duration":127421,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596847303},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"make","id":6056,"timestamp":1673803421929,"duration":129588,"tags":{},"startTime":1664596847301},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-chunk-graph","id":6073,"timestamp":1673803563872,"duration":26429,"tags":{},"startTime":1664596847443},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-modules","id":6075,"timestamp":1673803590329,"duration":3,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-chunks","id":6076,"timestamp":1673803590344,"duration":120,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize-tree","id":6077,"timestamp":1673803590489,"duration":5,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-optimize","id":6074,"timestamp":1673803590320,"duration":3266,"tags":{},"startTime":1664596847470},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-hash","id":6078,"timestamp":1673803624944,"duration":6561,"tags":{},"startTime":1664596847504},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"NextJsBuildManifest-generateClientManifest","id":6080,"timestamp":1673803648464,"duration":82,"tags":{},"startTime":1664596847528},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"NextJsBuildManifest-createassets","id":6079,"timestamp":1673803648389,"duration":171,"tags":{},"startTime":1664596847528},{"traceId":"43f2de6d909a73f7","parentId":6055,"name":"webpack-compilation-seal","id":6072,"timestamp":1673803554623,"duration":96110,"tags":{},"startTime":1664596847434},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"webpack-compilation","id":6055,"timestamp":1673803421718,"duration":229046,"tags":{"name":"client"},"startTime":1664596847301},{"traceId":"43f2de6d909a73f7","parentId":6038,"name":"emit","id":6081,"timestamp":1673803650789,"duration":99510,"tags":{},"startTime":1664596847530},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6038,"timestamp":1673803365945,"duration":385333,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596847245}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6083,"timestamp":1673803764720,"duration":0,"tags":{},"startTime":1664596847644},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6084,"timestamp":1673803764763,"duration":0,"tags":{},"startTime":1664596847644},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6087,"timestamp":1673803787150,"duration":5802,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6088,"timestamp":1673803787269,"duration":6737,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"read-resource","id":6095,"timestamp":1673803794354,"duration":74,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6096,"name":"postcss-process","id":6097,"timestamp":1673803794466,"duration":39707,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"postcss-loader","id":6096,"timestamp":1673803794453,"duration":40408,"tags":{},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6094,"name":"css-loader","id":6098,"timestamp":1673803834886,"duration":16785,"tags":{"astUsed":"true"},"startTime":1664596847714},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"build-module-css","id":6094,"timestamp":1673803794130,"duration":59431,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596847674},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6092,"timestamp":1673803787352,"duration":67132,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6091,"timestamp":1673803787347,"duration":67154,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6099,"timestamp":1664596847644000,"duration":93999,"tags":{"clientId":1664595509559},"startTime":1664596847740},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6093,"timestamp":1673803787354,"duration":76856,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6089,"timestamp":1673803787325,"duration":77355,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6100,"timestamp":1664596847644999,"duration":108000,"tags":{"clientId":1664596721221},"startTime":1664596847756},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"add-entry","id":6090,"timestamp":1673803787343,"duration":108221,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596847667},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"make","id":6086,"timestamp":1673803779209,"duration":116377,"tags":{},"startTime":1664596847659},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-chunk-graph","id":6102,"timestamp":1673803900751,"duration":6242,"tags":{},"startTime":1664596847780},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-modules","id":6104,"timestamp":1673803907020,"duration":3,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-chunks","id":6105,"timestamp":1673803907033,"duration":49,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize-tree","id":6106,"timestamp":1673803907105,"duration":4,"tags":{},"startTime":1664596847787},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-optimize","id":6103,"timestamp":1673803907012,"duration":1182,"tags":{},"startTime":1664596847786},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-hash","id":6107,"timestamp":1673803917333,"duration":6484,"tags":{},"startTime":1664596847797},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"NextJsBuildManifest-generateClientManifest","id":6109,"timestamp":1673803924634,"duration":50,"tags":{},"startTime":1664596847804},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"NextJsBuildManifest-createassets","id":6108,"timestamp":1673803924588,"duration":98,"tags":{},"startTime":1664596847804},{"traceId":"43f2de6d909a73f7","parentId":6085,"name":"webpack-compilation-seal","id":6101,"timestamp":1673803896683,"duration":28941,"tags":{},"startTime":1664596847776},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"webpack-compilation","id":6085,"timestamp":1673803778760,"duration":146890,"tags":{"name":"client"},"startTime":1664596847658},{"traceId":"43f2de6d909a73f7","parentId":6082,"name":"emit","id":6110,"timestamp":1673803925663,"duration":6598,"tags":{},"startTime":1664596847805},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6082,"timestamp":1673803763721,"duration":169157,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596847643}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6111,"timestamp":1673803943038,"duration":0,"tags":{},"startTime":1664596847822},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6112,"timestamp":1673803943090,"duration":0,"tags":{},"startTime":1664596847822},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6117,"timestamp":1673853017427,"duration":7884,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6118,"timestamp":1673853017516,"duration":8525,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"read-resource","id":6125,"timestamp":1673853027076,"duration":114,"tags":{},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6127,"name":"postcss-process","id":6128,"timestamp":1673853027223,"duration":47589,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"postcss-loader","id":6127,"timestamp":1673853027210,"duration":48014,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6124,"name":"css-loader","id":6131,"timestamp":1673853075249,"duration":12966,"tags":{"astUsed":"true"},"startTime":1664596896955},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"build-module-css","id":6124,"timestamp":1673853026202,"duration":74670,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6129,"name":"next-swc-transform","id":6130,"timestamp":1673853027603,"duration":73495,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6126,"name":"next-swc-loader","id":6129,"timestamp":1673853027489,"duration":73612,"tags":{},"startTime":1664596896907},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"build-module-tsx","id":6126,"timestamp":1673853027105,"duration":78508,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896906},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6122,"timestamp":1673853017532,"duration":88413,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6121,"timestamp":1673853017529,"duration":88435,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6123,"timestamp":1673853017534,"duration":92854,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6119,"timestamp":1673853017524,"duration":104167,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"add-entry","id":6120,"timestamp":1673853017526,"duration":130590,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596896897},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"make","id":6116,"timestamp":1673853016510,"duration":131633,"tags":{},"startTime":1664596896896},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-chunk-graph","id":6133,"timestamp":1673853152838,"duration":18035,"tags":{},"startTime":1664596897032},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-modules","id":6135,"timestamp":1673853170898,"duration":14,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-chunks","id":6136,"timestamp":1673853170951,"duration":129,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize-tree","id":6137,"timestamp":1673853171120,"duration":15,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-optimize","id":6134,"timestamp":1673853170890,"duration":1730,"tags":{},"startTime":1664596897050},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-hash","id":6138,"timestamp":1673853185143,"duration":6114,"tags":{},"startTime":1664596897064},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"NextJsBuildManifest-generateClientManifest","id":6140,"timestamp":1673853205992,"duration":64,"tags":{},"startTime":1664596897085},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"NextJsBuildManifest-createassets","id":6139,"timestamp":1673853205930,"duration":135,"tags":{},"startTime":1664596897085},{"traceId":"43f2de6d909a73f7","parentId":6115,"name":"webpack-compilation-seal","id":6132,"timestamp":1673853149476,"duration":58838,"tags":{},"startTime":1664596897029},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"webpack-compilation","id":6115,"timestamp":1673853016280,"duration":192072,"tags":{"name":"client"},"startTime":1664596896896},{"traceId":"43f2de6d909a73f7","parentId":6113,"name":"emit","id":6141,"timestamp":1673853208372,"duration":95562,"tags":{},"startTime":1664596897088},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6113,"timestamp":1673853002346,"duration":302385,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896882},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6148,"timestamp":1673853334043,"duration":0,"tags":{},"startTime":1664596897213},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6149,"timestamp":1673853334298,"duration":0,"tags":{},"startTime":1664596897214},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6147,"timestamp":1673853320684,"duration":20125,"tags":{"request":"private-next-pages/_error"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6146,"timestamp":1673853320679,"duration":20143,"tags":{"request":"private-next-pages/_document"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6151,"name":"next-swc-transform","id":6152,"timestamp":1673853339200,"duration":6162,"tags":{},"startTime":1664596897219},{"traceId":"43f2de6d909a73f7","parentId":6150,"name":"next-swc-loader","id":6151,"timestamp":1673853339133,"duration":6237,"tags":{},"startTime":1664596897218},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"build-module-tsx","id":6150,"timestamp":1673853338985,"duration":15553,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596897218},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"add-entry","id":6145,"timestamp":1673853320636,"duration":37997,"tags":{"request":"private-next-pages/_app"},"startTime":1664596897200},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"make","id":6143,"timestamp":1673853306073,"duration":52576,"tags":{},"startTime":1664596897185},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-chunk-graph","id":6154,"timestamp":1673853358953,"duration":210,"tags":{},"startTime":1664596897238},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-modules","id":6156,"timestamp":1673853359170,"duration":2,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-chunks","id":6157,"timestamp":1673853359179,"duration":21,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize-tree","id":6158,"timestamp":1673853359207,"duration":5,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-optimize","id":6155,"timestamp":1673853359167,"duration":99,"tags":{},"startTime":1664596897239},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-hash","id":6159,"timestamp":1673853360465,"duration":661,"tags":{},"startTime":1664596897240},{"traceId":"43f2de6d909a73f7","parentId":6142,"name":"webpack-compilation-seal","id":6153,"timestamp":1673853358890,"duration":3547,"tags":{},"startTime":1664596897238},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"webpack-compilation","id":6142,"timestamp":1673853305782,"duration":56677,"tags":{"name":"server"},"startTime":1664596897185},{"traceId":"43f2de6d909a73f7","parentId":6114,"name":"emit","id":6160,"timestamp":1673853362473,"duration":1722,"tags":{},"startTime":1664596897242},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6114,"timestamp":1673853002605,"duration":361913,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596896882},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6163,"timestamp":1673853369478,"duration":3088,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6164,"timestamp":1673853369500,"duration":4381,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"read-resource","id":6171,"timestamp":1673853374075,"duration":27,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6172,"name":"postcss-process","id":6173,"timestamp":1673853374126,"duration":34747,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"postcss-loader","id":6172,"timestamp":1673853374118,"duration":35028,"tags":{},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":6170,"name":"css-loader","id":6174,"timestamp":1673853409166,"duration":10875,"tags":{"astUsed":"true"},"startTime":1664596897289},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"build-module-css","id":6170,"timestamp":1673853373961,"duration":49380,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596897253},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6175,"timestamp":1664596897200000,"duration":59000,"tags":{"clientId":1664595509559},"startTime":1664596897303},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6176,"timestamp":1664596897200000,"duration":73999,"tags":{"clientId":1664596721221},"startTime":1664596897303},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6168,"timestamp":1673853369510,"duration":54402,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6167,"timestamp":1673853369508,"duration":54422,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6169,"timestamp":1673853369512,"duration":57885,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6165,"timestamp":1673853369503,"duration":58251,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"add-entry","id":6166,"timestamp":1673853369505,"duration":85497,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596897249},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"make","id":6162,"timestamp":1673853367994,"duration":87034,"tags":{},"startTime":1664596897247},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-chunk-graph","id":6178,"timestamp":1673853459348,"duration":16221,"tags":{},"startTime":1664596897339},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-modules","id":6180,"timestamp":1673853475591,"duration":2,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-chunks","id":6181,"timestamp":1673853475601,"duration":28,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize-tree","id":6182,"timestamp":1673853475647,"duration":4,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-optimize","id":6179,"timestamp":1673853475583,"duration":1436,"tags":{},"startTime":1664596897355},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-hash","id":6183,"timestamp":1673853488331,"duration":5598,"tags":{},"startTime":1664596897368},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"NextJsBuildManifest-generateClientManifest","id":6185,"timestamp":1673853494758,"duration":54,"tags":{},"startTime":1664596897374},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"NextJsBuildManifest-createassets","id":6184,"timestamp":1673853494710,"duration":103,"tags":{},"startTime":1664596897374},{"traceId":"43f2de6d909a73f7","parentId":6161,"name":"webpack-compilation-seal","id":6177,"timestamp":1673853456103,"duration":39792,"tags":{},"startTime":1664596897335},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"webpack-compilation","id":6161,"timestamp":1673853367828,"duration":128097,"tags":{"name":"client"},"startTime":1664596897247},{"traceId":"43f2de6d909a73f7","parentId":6144,"name":"emit","id":6186,"timestamp":1673853495942,"duration":3997,"tags":{},"startTime":1664596897375},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6144,"timestamp":1673853320351,"duration":180332,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596897200}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6187,"timestamp":1673853509291,"duration":0,"tags":{},"startTime":1664596897389},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6188,"timestamp":1673853509335,"duration":0,"tags":{},"startTime":1664596897389},{"traceId":"43f2de6d909a73f7","parentId":6197,"name":"next-swc-transform","id":6198,"timestamp":1673858004173,"duration":2870,"tags":{},"startTime":1664596901884},{"traceId":"43f2de6d909a73f7","parentId":6196,"name":"next-swc-loader","id":6197,"timestamp":1673858004127,"duration":2923,"tags":{},"startTime":1664596901883},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"build-module-tsx","id":6196,"timestamp":1673858003946,"duration":7074,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901883},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6195,"timestamp":1673857997308,"duration":14017,"tags":{"request":"private-next-pages/_error"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6194,"timestamp":1673857997303,"duration":14027,"tags":{"request":"private-next-pages/_document"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"add-entry","id":6193,"timestamp":1673857997257,"duration":16599,"tags":{"request":"private-next-pages/_app"},"startTime":1664596901877},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"make","id":6192,"timestamp":1673857997153,"duration":16719,"tags":{},"startTime":1664596901876},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-chunk-graph","id":6200,"timestamp":1673858014231,"duration":185,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-modules","id":6202,"timestamp":1673858014428,"duration":1,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-chunks","id":6203,"timestamp":1673858014437,"duration":15,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize-tree","id":6204,"timestamp":1673858014459,"duration":5,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-optimize","id":6201,"timestamp":1673858014425,"duration":89,"tags":{},"startTime":1664596901894},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-hash","id":6205,"timestamp":1673858016066,"duration":536,"tags":{},"startTime":1664596901895},{"traceId":"43f2de6d909a73f7","parentId":6191,"name":"webpack-compilation-seal","id":6199,"timestamp":1673858014159,"duration":3889,"tags":{},"startTime":1664596901893},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"webpack-compilation","id":6191,"timestamp":1673857996932,"duration":21139,"tags":{"name":"server"},"startTime":1664596901876},{"traceId":"43f2de6d909a73f7","parentId":6189,"name":"emit","id":6206,"timestamp":1673858018084,"duration":2059,"tags":{},"startTime":1664596901897},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6189,"timestamp":1673857990887,"duration":29516,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901870},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6209,"timestamp":1673858025281,"duration":3409,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6210,"timestamp":1673858025321,"duration":3981,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"read-resource","id":6217,"timestamp":1673858029493,"duration":67,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6219,"name":"postcss-process","id":6220,"timestamp":1673858029575,"duration":31557,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"postcss-loader","id":6219,"timestamp":1673858029569,"duration":31732,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6216,"name":"css-loader","id":6223,"timestamp":1673858061320,"duration":10278,"tags":{"astUsed":"true"},"startTime":1664596901941},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"build-module-css","id":6216,"timestamp":1673858029415,"duration":43153,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6221,"name":"next-swc-transform","id":6222,"timestamp":1673858029778,"duration":42937,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6218,"name":"next-swc-loader","id":6221,"timestamp":1673858029747,"duration":42969,"tags":{},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"build-module-tsx","id":6218,"timestamp":1673858029509,"duration":46116,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901909},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6214,"timestamp":1673858025340,"duration":50636,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6213,"timestamp":1673858025338,"duration":50651,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6215,"timestamp":1673858025342,"duration":53728,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6211,"timestamp":1673858025332,"duration":63396,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"add-entry","id":6212,"timestamp":1673858025335,"duration":82523,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596901905},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"make","id":6208,"timestamp":1673858024024,"duration":83859,"tags":{},"startTime":1664596901903},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-chunk-graph","id":6225,"timestamp":1673858112644,"duration":6008,"tags":{},"startTime":1664596901992},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-modules","id":6227,"timestamp":1673858118672,"duration":2,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-chunks","id":6228,"timestamp":1673858118683,"duration":36,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize-tree","id":6229,"timestamp":1673858118739,"duration":3,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-optimize","id":6226,"timestamp":1673858118665,"duration":1062,"tags":{},"startTime":1664596901998},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-hash","id":6230,"timestamp":1673858126946,"duration":4622,"tags":{},"startTime":1664596902006},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"NextJsBuildManifest-generateClientManifest","id":6232,"timestamp":1673858149582,"duration":55,"tags":{},"startTime":1664596902029},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"NextJsBuildManifest-createassets","id":6231,"timestamp":1673858149443,"duration":204,"tags":{},"startTime":1664596902029},{"traceId":"43f2de6d909a73f7","parentId":6207,"name":"webpack-compilation-seal","id":6224,"timestamp":1673858108871,"duration":42984,"tags":{},"startTime":1664596901988},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"webpack-compilation","id":6207,"timestamp":1673858023878,"duration":128017,"tags":{"name":"client"},"startTime":1664596901903},{"traceId":"43f2de6d909a73f7","parentId":6190,"name":"emit","id":6233,"timestamp":1673858151915,"duration":90580,"tags":{},"startTime":1664596902031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6190,"timestamp":1673857991050,"duration":252211,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596901870}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6235,"timestamp":1673858255969,"duration":0,"tags":{},"startTime":1664596902135},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6236,"timestamp":1673858256043,"duration":0,"tags":{},"startTime":1664596902135},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6246,"timestamp":1664596902135000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596902157},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6239,"timestamp":1673858272164,"duration":7134,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6240,"timestamp":1673858272194,"duration":7879,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"read-resource","id":6248,"timestamp":1673858280419,"duration":46,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6249,"name":"postcss-process","id":6250,"timestamp":1673858280518,"duration":34618,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"postcss-loader","id":6249,"timestamp":1673858280498,"duration":34784,"tags":{},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":6247,"name":"css-loader","id":6251,"timestamp":1673858315303,"duration":9137,"tags":{"astUsed":"true"},"startTime":1664596902195},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"build-module-css","id":6247,"timestamp":1673858280176,"duration":45242,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596902160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6252,"timestamp":1664596902135000,"duration":25999,"tags":{"clientId":1664596721221},"startTime":1664596902205},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6244,"timestamp":1673858272205,"duration":53780,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6243,"timestamp":1673858272202,"duration":53794,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6245,"timestamp":1673858272207,"duration":59569,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6241,"timestamp":1673858272198,"duration":59919,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"add-entry","id":6242,"timestamp":1673858272200,"duration":137533,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596902152},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"make","id":6238,"timestamp":1673858270665,"duration":139105,"tags":{},"startTime":1664596902150},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-chunk-graph","id":6254,"timestamp":1673858414584,"duration":16725,"tags":{},"startTime":1664596902294},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-modules","id":6256,"timestamp":1673858431333,"duration":2,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-chunks","id":6257,"timestamp":1673858431344,"duration":93,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize-tree","id":6258,"timestamp":1673858431457,"duration":6,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-optimize","id":6255,"timestamp":1673858431326,"duration":1479,"tags":{},"startTime":1664596902311},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-hash","id":6259,"timestamp":1673858443911,"duration":3488,"tags":{},"startTime":1664596902323},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"NextJsBuildManifest-generateClientManifest","id":6261,"timestamp":1673858448227,"duration":65,"tags":{},"startTime":1664596902328},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"NextJsBuildManifest-createassets","id":6260,"timestamp":1673858448166,"duration":130,"tags":{},"startTime":1664596902328},{"traceId":"43f2de6d909a73f7","parentId":6237,"name":"webpack-compilation-seal","id":6253,"timestamp":1673858410938,"duration":38235,"tags":{},"startTime":1664596902290},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"webpack-compilation","id":6237,"timestamp":1673858270438,"duration":178759,"tags":{"name":"client"},"startTime":1664596902150},{"traceId":"43f2de6d909a73f7","parentId":6234,"name":"emit","id":6262,"timestamp":1673858449216,"duration":2419,"tags":{},"startTime":1664596902329},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6234,"timestamp":1673858255345,"duration":196925,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596902135}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6263,"timestamp":1673858465634,"duration":0,"tags":{},"startTime":1664596902345},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6264,"timestamp":1673858465689,"duration":0,"tags":{},"startTime":1664596902345},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6269,"timestamp":1673870405529,"duration":10843,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6274,"timestamp":1673870405653,"duration":13549,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"read-resource","id":6277,"timestamp":1673870418762,"duration":1236,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6281,"name":"postcss-process","id":6282,"timestamp":1673870420034,"duration":38642,"tags":{},"startTime":1664596914299},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"postcss-loader","id":6281,"timestamp":1673870420019,"duration":39025,"tags":{},"startTime":1664596914299},{"traceId":"43f2de6d909a73f7","parentId":6276,"name":"css-loader","id":6283,"timestamp":1673870459066,"duration":13887,"tags":{"astUsed":"true"},"startTime":1664596914338},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"build-module-css","id":6276,"timestamp":1673870418546,"duration":65474,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6279,"name":"next-swc-transform","id":6280,"timestamp":1673870419001,"duration":65756,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6278,"name":"next-swc-loader","id":6279,"timestamp":1673870418867,"duration":65894,"tags":{},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"build-module-tsx","id":6278,"timestamp":1673870418797,"duration":70599,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914298},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6270,"timestamp":1673870405635,"duration":85084,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6273,"timestamp":1673870405649,"duration":86010,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6275,"timestamp":1673870405655,"duration":91672,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6271,"timestamp":1673870405643,"duration":98425,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"add-entry","id":6272,"timestamp":1673870405646,"duration":138532,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596914285},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"make","id":6268,"timestamp":1673870404342,"duration":139863,"tags":{},"startTime":1664596914284},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-chunk-graph","id":6285,"timestamp":1673870550330,"duration":18410,"tags":{},"startTime":1664596914430},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-modules","id":6287,"timestamp":1673870568796,"duration":12,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-chunks","id":6288,"timestamp":1673870568841,"duration":85,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize-tree","id":6289,"timestamp":1673870568970,"duration":12,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-optimize","id":6286,"timestamp":1673870568769,"duration":2173,"tags":{},"startTime":1664596914448},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-hash","id":6290,"timestamp":1673870584098,"duration":7215,"tags":{},"startTime":1664596914463},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"NextJsBuildManifest-generateClientManifest","id":6292,"timestamp":1673870603093,"duration":67,"tags":{},"startTime":1664596914482},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"NextJsBuildManifest-createassets","id":6291,"timestamp":1673870603030,"duration":142,"tags":{},"startTime":1664596914482},{"traceId":"43f2de6d909a73f7","parentId":6267,"name":"webpack-compilation-seal","id":6284,"timestamp":1673870545703,"duration":60036,"tags":{},"startTime":1664596914425},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"webpack-compilation","id":6267,"timestamp":1673870404098,"duration":201675,"tags":{"name":"client"},"startTime":1664596914283},{"traceId":"43f2de6d909a73f7","parentId":6265,"name":"emit","id":6293,"timestamp":1673870605795,"duration":108312,"tags":{},"startTime":1664596914485},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6265,"timestamp":1673870390581,"duration":324439,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914270},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6300,"timestamp":1673870729441,"duration":0,"tags":{},"startTime":1664596914609},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6301,"timestamp":1673870729488,"duration":0,"tags":{},"startTime":1664596914609},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6299,"timestamp":1673870728494,"duration":11556,"tags":{"request":"private-next-pages/_error"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6298,"timestamp":1673870728490,"duration":11573,"tags":{"request":"private-next-pages/_document"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6305,"timestamp":1664596914608000,"duration":12999,"tags":{"clientId":1664595509559},"startTime":1664596914621},{"traceId":"43f2de6d909a73f7","parentId":6303,"name":"next-swc-transform","id":6304,"timestamp":1673870738655,"duration":7526,"tags":{},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":6302,"name":"next-swc-loader","id":6303,"timestamp":1673870738595,"duration":7592,"tags":{},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"build-module-tsx","id":6302,"timestamp":1673870738473,"duration":16778,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914618},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6306,"timestamp":1664596914608000,"duration":19000,"tags":{"clientId":1664596721221},"startTime":1664596914635},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"add-entry","id":6297,"timestamp":1673870728381,"duration":31244,"tags":{"request":"private-next-pages/_app"},"startTime":1664596914608},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"make","id":6295,"timestamp":1673870716695,"duration":42947,"tags":{},"startTime":1664596914596},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-chunk-graph","id":6308,"timestamp":1673870760035,"duration":220,"tags":{},"startTime":1664596914639},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-modules","id":6310,"timestamp":1673870760263,"duration":2,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-chunks","id":6311,"timestamp":1673870760299,"duration":34,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize-tree","id":6312,"timestamp":1673870760354,"duration":14,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-optimize","id":6309,"timestamp":1673870760260,"duration":197,"tags":{},"startTime":1664596914640},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-hash","id":6313,"timestamp":1673870761912,"duration":779,"tags":{},"startTime":1664596914641},{"traceId":"43f2de6d909a73f7","parentId":6294,"name":"webpack-compilation-seal","id":6307,"timestamp":1673870759965,"duration":4070,"tags":{},"startTime":1664596914639},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"webpack-compilation","id":6294,"timestamp":1673870716143,"duration":47916,"tags":{"name":"server"},"startTime":1664596914595},{"traceId":"43f2de6d909a73f7","parentId":6266,"name":"emit","id":6314,"timestamp":1673870764076,"duration":4506,"tags":{},"startTime":1664596914643},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6266,"timestamp":1673870390863,"duration":378141,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596914270},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6317,"timestamp":1673870774281,"duration":3255,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6318,"timestamp":1673870774320,"duration":4128,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"read-resource","id":6325,"timestamp":1673870778832,"duration":45,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6326,"name":"postcss-process","id":6327,"timestamp":1673870778911,"duration":34384,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"postcss-loader","id":6326,"timestamp":1673870778899,"duration":34646,"tags":{},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6324,"name":"css-loader","id":6328,"timestamp":1673870813566,"duration":9070,"tags":{"astUsed":"true"},"startTime":1664596914693},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"build-module-css","id":6324,"timestamp":1673870778596,"duration":47310,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596914658},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6322,"timestamp":1673870774332,"duration":53929,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6321,"timestamp":1673870774329,"duration":53948,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6323,"timestamp":1673870774334,"duration":57822,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6319,"timestamp":1673870774324,"duration":58292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"add-entry","id":6320,"timestamp":1673870774326,"duration":88390,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596914654},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"make","id":6316,"timestamp":1673870772971,"duration":89767,"tags":{},"startTime":1664596914652},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-chunk-graph","id":6330,"timestamp":1673870867315,"duration":16768,"tags":{},"startTime":1664596914747},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-modules","id":6332,"timestamp":1673870884108,"duration":2,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-chunks","id":6333,"timestamp":1673870884120,"duration":36,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize-tree","id":6334,"timestamp":1673870884175,"duration":3,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-optimize","id":6331,"timestamp":1673870884100,"duration":1602,"tags":{},"startTime":1664596914763},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-hash","id":6335,"timestamp":1673870897469,"duration":5979,"tags":{},"startTime":1664596914777},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"NextJsBuildManifest-generateClientManifest","id":6337,"timestamp":1673870904400,"duration":52,"tags":{},"startTime":1664596914784},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"NextJsBuildManifest-createassets","id":6336,"timestamp":1673870904351,"duration":103,"tags":{},"startTime":1664596914784},{"traceId":"43f2de6d909a73f7","parentId":6315,"name":"webpack-compilation-seal","id":6329,"timestamp":1673870863939,"duration":41510,"tags":{},"startTime":1664596914743},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"webpack-compilation","id":6315,"timestamp":1673870772811,"duration":132660,"tags":{"name":"client"},"startTime":1664596914652},{"traceId":"43f2de6d909a73f7","parentId":6296,"name":"emit","id":6338,"timestamp":1673870905487,"duration":4093,"tags":{},"startTime":1664596914785},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6296,"timestamp":1673870727972,"duration":182322,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596914607}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6339,"timestamp":1673870920235,"duration":0,"tags":{},"startTime":1664596914800},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6340,"timestamp":1673870920285,"duration":0,"tags":{},"startTime":1664596914800},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6345,"timestamp":1673881443342,"duration":8234,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6346,"timestamp":1673881443390,"duration":9138,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"read-resource","id":6353,"timestamp":1673881452830,"duration":104,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6355,"name":"postcss-process","id":6356,"timestamp":1673881452958,"duration":36953,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"postcss-loader","id":6355,"timestamp":1673881452948,"duration":37120,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6352,"name":"css-loader","id":6359,"timestamp":1673881490085,"duration":8755,"tags":{"astUsed":"true"},"startTime":1664596925369},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"build-module-css","id":6352,"timestamp":1673881452695,"duration":47183,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6357,"name":"next-swc-transform","id":6358,"timestamp":1673881453212,"duration":46826,"tags":{},"startTime":1664596925333},{"traceId":"43f2de6d909a73f7","parentId":6354,"name":"next-swc-loader","id":6357,"timestamp":1673881453169,"duration":46870,"tags":{},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"build-module-tsx","id":6354,"timestamp":1673881452855,"duration":51512,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925332},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6350,"timestamp":1673881443412,"duration":61249,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6349,"timestamp":1673881443408,"duration":61265,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6351,"timestamp":1673881443414,"duration":65745,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6347,"timestamp":1673881443400,"duration":73120,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"add-entry","id":6348,"timestamp":1673881443404,"duration":91217,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596925323},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"make","id":6344,"timestamp":1673881442545,"duration":92098,"tags":{},"startTime":1664596925322},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-chunk-graph","id":6361,"timestamp":1673881539071,"duration":3721,"tags":{},"startTime":1664596925418},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-modules","id":6363,"timestamp":1673881542810,"duration":2,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-chunks","id":6364,"timestamp":1673881542820,"duration":29,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize-tree","id":6365,"timestamp":1673881542866,"duration":3,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-optimize","id":6362,"timestamp":1673881542804,"duration":906,"tags":{},"startTime":1664596925422},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-hash","id":6366,"timestamp":1673881553368,"duration":3534,"tags":{},"startTime":1664596925433},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"NextJsBuildManifest-generateClientManifest","id":6368,"timestamp":1673881568733,"duration":42,"tags":{},"startTime":1664596925448},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"NextJsBuildManifest-createassets","id":6367,"timestamp":1673881568615,"duration":167,"tags":{},"startTime":1664596925448},{"traceId":"43f2de6d909a73f7","parentId":6343,"name":"webpack-compilation-seal","id":6360,"timestamp":1673881535715,"duration":34780,"tags":{},"startTime":1664596925415},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"webpack-compilation","id":6343,"timestamp":1673881442352,"duration":128172,"tags":{"name":"client"},"startTime":1664596925322},{"traceId":"43f2de6d909a73f7","parentId":6341,"name":"emit","id":6369,"timestamp":1673881570540,"duration":103244,"tags":{},"startTime":1664596925450},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6341,"timestamp":1673881430748,"duration":243675,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6376,"timestamp":1673881688747,"duration":0,"tags":{},"startTime":1664596925568},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6377,"timestamp":1673881688791,"duration":0,"tags":{},"startTime":1664596925568},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6375,"timestamp":1673881688090,"duration":9179,"tags":{"request":"private-next-pages/_error"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6374,"timestamp":1673881688084,"duration":9199,"tags":{"request":"private-next-pages/_document"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6379,"name":"next-swc-transform","id":6380,"timestamp":1673881696404,"duration":1448,"tags":{},"startTime":1664596925576},{"traceId":"43f2de6d909a73f7","parentId":6378,"name":"next-swc-loader","id":6379,"timestamp":1673881696321,"duration":1532,"tags":{},"startTime":1664596925576},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"build-module-tsx","id":6378,"timestamp":1673881696121,"duration":4814,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925575},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"add-entry","id":6373,"timestamp":1673881687990,"duration":16731,"tags":{"request":"private-next-pages/_app"},"startTime":1664596925567},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"make","id":6371,"timestamp":1673881675734,"duration":29005,"tags":{},"startTime":1664596925555},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-chunk-graph","id":6382,"timestamp":1673881705062,"duration":318,"tags":{},"startTime":1664596925584},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-modules","id":6384,"timestamp":1673881705399,"duration":3,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-chunks","id":6385,"timestamp":1673881705410,"duration":26,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize-tree","id":6386,"timestamp":1673881705452,"duration":6,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-optimize","id":6383,"timestamp":1673881705392,"duration":141,"tags":{},"startTime":1664596925585},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-hash","id":6387,"timestamp":1673881706813,"duration":413,"tags":{},"startTime":1664596925586},{"traceId":"43f2de6d909a73f7","parentId":6370,"name":"webpack-compilation-seal","id":6381,"timestamp":1673881704996,"duration":3375,"tags":{},"startTime":1664596925584},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"webpack-compilation","id":6370,"timestamp":1673881675545,"duration":32851,"tags":{"name":"server"},"startTime":1664596925555},{"traceId":"43f2de6d909a73f7","parentId":6342,"name":"emit","id":6388,"timestamp":1673881708413,"duration":6852,"tags":{},"startTime":1664596925588},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6342,"timestamp":1673881430973,"duration":284536,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596925310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6398,"timestamp":1664596925567000,"duration":34999,"tags":{"clientId":1664595509559},"startTime":1664596925603},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6391,"timestamp":1673881720313,"duration":3704,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6392,"timestamp":1673881720360,"duration":4550,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"read-resource","id":6400,"timestamp":1673881725281,"duration":45,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6401,"name":"postcss-process","id":6402,"timestamp":1673881725364,"duration":41242,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"postcss-loader","id":6401,"timestamp":1673881725350,"duration":41470,"tags":{},"startTime":1664596925605},{"traceId":"43f2de6d909a73f7","parentId":6399,"name":"css-loader","id":6403,"timestamp":1673881766839,"duration":9988,"tags":{"astUsed":"true"},"startTime":1664596925646},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"build-module-css","id":6399,"timestamp":1673881725080,"duration":53493,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596925604},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6404,"timestamp":1664596925568999,"duration":37000,"tags":{"clientId":1664596721221},"startTime":1664596925658},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6396,"timestamp":1673881720372,"duration":60476,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6395,"timestamp":1673881720369,"duration":60496,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6397,"timestamp":1673881720374,"duration":64033,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6393,"timestamp":1673881720364,"duration":64471,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"add-entry","id":6394,"timestamp":1673881720366,"duration":94955,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596925600},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"make","id":6390,"timestamp":1673881718584,"duration":96758,"tags":{},"startTime":1664596925598},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-chunk-graph","id":6406,"timestamp":1673881819768,"duration":17168,"tags":{},"startTime":1664596925699},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-modules","id":6408,"timestamp":1673881836961,"duration":2,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-chunks","id":6409,"timestamp":1673881836973,"duration":34,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize-tree","id":6410,"timestamp":1673881837026,"duration":3,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-optimize","id":6407,"timestamp":1673881836953,"duration":1462,"tags":{},"startTime":1664596925716},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-hash","id":6411,"timestamp":1673881848598,"duration":3431,"tags":{},"startTime":1664596925728},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"NextJsBuildManifest-generateClientManifest","id":6413,"timestamp":1673881853012,"duration":64,"tags":{},"startTime":1664596925732},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"NextJsBuildManifest-createassets","id":6412,"timestamp":1673881852951,"duration":128,"tags":{},"startTime":1664596925732},{"traceId":"43f2de6d909a73f7","parentId":6389,"name":"webpack-compilation-seal","id":6405,"timestamp":1673881816434,"duration":37511,"tags":{},"startTime":1664596925696},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"webpack-compilation","id":6389,"timestamp":1673881718424,"duration":135541,"tags":{"name":"client"},"startTime":1664596925598},{"traceId":"43f2de6d909a73f7","parentId":6372,"name":"emit","id":6414,"timestamp":1673881853981,"duration":4569,"tags":{},"startTime":1664596925733},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6372,"timestamp":1673881687648,"duration":171409,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596925567}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6415,"timestamp":1673881869669,"duration":0,"tags":{},"startTime":1664596925749},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6416,"timestamp":1673881869713,"duration":0,"tags":{},"startTime":1664596925749},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6423,"timestamp":1673884662291,"duration":7572,"tags":{"request":"private-next-pages/_error"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6422,"timestamp":1673884662286,"duration":7587,"tags":{"request":"private-next-pages/_document"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6425,"name":"next-swc-transform","id":6426,"timestamp":1673884669452,"duration":1507,"tags":{},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6424,"name":"next-swc-loader","id":6425,"timestamp":1673884669401,"duration":1563,"tags":{},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"build-module-tsx","id":6424,"timestamp":1673884669241,"duration":4691,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928549},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"add-entry","id":6421,"timestamp":1673884662246,"duration":16648,"tags":{"request":"private-next-pages/_app"},"startTime":1664596928542},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"make","id":6420,"timestamp":1673884662163,"duration":16753,"tags":{},"startTime":1664596928541},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-chunk-graph","id":6428,"timestamp":1673884679257,"duration":213,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-modules","id":6430,"timestamp":1673884679484,"duration":2,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-chunks","id":6431,"timestamp":1673884679495,"duration":20,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize-tree","id":6432,"timestamp":1673884679524,"duration":3,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-optimize","id":6429,"timestamp":1673884679480,"duration":102,"tags":{},"startTime":1664596928559},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-hash","id":6433,"timestamp":1673884680752,"duration":470,"tags":{},"startTime":1664596928560},{"traceId":"43f2de6d909a73f7","parentId":6419,"name":"webpack-compilation-seal","id":6427,"timestamp":1673884679177,"duration":3294,"tags":{},"startTime":1664596928558},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"webpack-compilation","id":6419,"timestamp":1673884661970,"duration":20519,"tags":{"name":"server"},"startTime":1664596928541},{"traceId":"43f2de6d909a73f7","parentId":6417,"name":"emit","id":6434,"timestamp":1673884682499,"duration":1623,"tags":{},"startTime":1664596928562},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6417,"timestamp":1673884655009,"duration":29324,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928534},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6437,"timestamp":1673884689048,"duration":3246,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6438,"timestamp":1673884689081,"duration":3749,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"read-resource","id":6445,"timestamp":1673884693014,"duration":77,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6447,"name":"postcss-process","id":6448,"timestamp":1673884693109,"duration":34084,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"postcss-loader","id":6447,"timestamp":1673884693102,"duration":34299,"tags":{},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6444,"name":"css-loader","id":6451,"timestamp":1673884727420,"duration":9984,"tags":{"astUsed":"true"},"startTime":1664596928607},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"build-module-css","id":6444,"timestamp":1673884692924,"duration":45430,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6449,"name":"next-swc-transform","id":6450,"timestamp":1673884693326,"duration":45191,"tags":{},"startTime":1664596928573},{"traceId":"43f2de6d909a73f7","parentId":6446,"name":"next-swc-loader","id":6449,"timestamp":1673884693291,"duration":45228,"tags":{},"startTime":1664596928573},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"build-module-tsx","id":6446,"timestamp":1673884693032,"duration":48265,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928572},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6442,"timestamp":1673884689093,"duration":53889,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6441,"timestamp":1673884689090,"duration":53912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6443,"timestamp":1673884689095,"duration":64425,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6439,"timestamp":1673884689084,"duration":87962,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"add-entry","id":6440,"timestamp":1673884689088,"duration":132713,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596928568},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"make","id":6436,"timestamp":1673884687856,"duration":133985,"tags":{},"startTime":1664596928567},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-chunk-graph","id":6453,"timestamp":1673884827178,"duration":18485,"tags":{},"startTime":1664596928706},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-modules","id":6455,"timestamp":1673884845688,"duration":2,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-chunks","id":6456,"timestamp":1673884845699,"duration":128,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize-tree","id":6457,"timestamp":1673884845847,"duration":7,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-optimize","id":6454,"timestamp":1673884845680,"duration":1605,"tags":{},"startTime":1664596928725},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-hash","id":6458,"timestamp":1673884859984,"duration":4118,"tags":{},"startTime":1664596928739},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"NextJsBuildManifest-generateClientManifest","id":6460,"timestamp":1673884877187,"duration":59,"tags":{},"startTime":1664596928756},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"NextJsBuildManifest-createassets","id":6459,"timestamp":1673884877134,"duration":121,"tags":{},"startTime":1664596928756},{"traceId":"43f2de6d909a73f7","parentId":6435,"name":"webpack-compilation-seal","id":6452,"timestamp":1673884823130,"duration":55709,"tags":{},"startTime":1664596928702},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"webpack-compilation","id":6435,"timestamp":1673884687683,"duration":191179,"tags":{"name":"client"},"startTime":1664596928567},{"traceId":"43f2de6d909a73f7","parentId":6418,"name":"emit","id":6461,"timestamp":1673884878882,"duration":89383,"tags":{},"startTime":1664596928758},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6418,"timestamp":1673884655142,"duration":313816,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596928534}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6463,"timestamp":1673884980751,"duration":0,"tags":{},"startTime":1664596928860},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6464,"timestamp":1673884980816,"duration":0,"tags":{},"startTime":1664596928860},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6467,"timestamp":1673884997902,"duration":6740,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6468,"timestamp":1673884997945,"duration":7654,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"read-resource","id":6475,"timestamp":1673885005880,"duration":36,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6476,"name":"postcss-process","id":6477,"timestamp":1673885005947,"duration":37062,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"postcss-loader","id":6476,"timestamp":1673885005935,"duration":37411,"tags":{},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6474,"name":"css-loader","id":6478,"timestamp":1673885043372,"duration":11859,"tags":{"astUsed":"true"},"startTime":1664596928923},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"build-module-css","id":6474,"timestamp":1673885005729,"duration":50850,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596928885},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6472,"timestamp":1673884997957,"duration":59335,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6471,"timestamp":1673884997954,"duration":59348,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6473,"timestamp":1673884997959,"duration":62765,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6469,"timestamp":1673884997949,"duration":63124,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6479,"timestamp":1664596928860000,"duration":77999,"tags":{"clientId":1664595509559},"startTime":1664596928941},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6480,"timestamp":1664596928860999,"duration":84999,"tags":{"clientId":1664596721221},"startTime":1664596928950},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"add-entry","id":6470,"timestamp":1673884997951,"duration":88474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596928877},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"make","id":6466,"timestamp":1673884995095,"duration":91358,"tags":{},"startTime":1664596928874},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-chunk-graph","id":6482,"timestamp":1673885091367,"duration":3815,"tags":{},"startTime":1664596928971},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-modules","id":6484,"timestamp":1673885095206,"duration":2,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-chunks","id":6485,"timestamp":1673885095217,"duration":30,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize-tree","id":6486,"timestamp":1673885095268,"duration":9,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-optimize","id":6483,"timestamp":1673885095200,"duration":941,"tags":{},"startTime":1664596928975},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-hash","id":6487,"timestamp":1673885106174,"duration":3778,"tags":{},"startTime":1664596928985},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"NextJsBuildManifest-generateClientManifest","id":6489,"timestamp":1673885110710,"duration":80,"tags":{},"startTime":1664596928990},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"NextJsBuildManifest-createassets","id":6488,"timestamp":1673885110670,"duration":168,"tags":{},"startTime":1664596928990},{"traceId":"43f2de6d909a73f7","parentId":6465,"name":"webpack-compilation-seal","id":6481,"timestamp":1673885087816,"duration":24534,"tags":{},"startTime":1664596928967},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"webpack-compilation","id":6465,"timestamp":1673884994793,"duration":117582,"tags":{"name":"client"},"startTime":1664596928874},{"traceId":"43f2de6d909a73f7","parentId":6462,"name":"emit","id":6490,"timestamp":1673885112391,"duration":4836,"tags":{},"startTime":1664596928992},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6462,"timestamp":1673884980014,"duration":137732,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596928859}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6491,"timestamp":1673885128185,"duration":0,"tags":{},"startTime":1664596929008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6492,"timestamp":1673885128235,"duration":0,"tags":{},"startTime":1664596929008},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6499,"timestamp":1673891176320,"duration":6070,"tags":{"request":"private-next-pages/_error"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6498,"timestamp":1673891176317,"duration":6084,"tags":{"request":"private-next-pages/_document"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6501,"name":"next-swc-transform","id":6502,"timestamp":1673891182096,"duration":4371,"tags":{},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6500,"name":"next-swc-loader","id":6501,"timestamp":1673891182022,"duration":4454,"tags":{},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"build-module-tsx","id":6500,"timestamp":1673891181908,"duration":6920,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935061},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"add-entry","id":6497,"timestamp":1673891176277,"duration":18764,"tags":{"request":"private-next-pages/_app"},"startTime":1664596935056},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"make","id":6496,"timestamp":1673891176180,"duration":18882,"tags":{},"startTime":1664596935055},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-chunk-graph","id":6504,"timestamp":1673891195518,"duration":532,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-modules","id":6506,"timestamp":1673891196069,"duration":3,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-chunks","id":6507,"timestamp":1673891196081,"duration":19,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize-tree","id":6508,"timestamp":1673891196117,"duration":4,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-optimize","id":6505,"timestamp":1673891196061,"duration":130,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-hash","id":6509,"timestamp":1673891198713,"duration":827,"tags":{},"startTime":1664596935078},{"traceId":"43f2de6d909a73f7","parentId":6495,"name":"webpack-compilation-seal","id":6503,"timestamp":1673891195359,"duration":7007,"tags":{},"startTime":1664596935075},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"webpack-compilation","id":6495,"timestamp":1673891176017,"duration":26375,"tags":{"name":"server"},"startTime":1664596935055},{"traceId":"43f2de6d909a73f7","parentId":6493,"name":"emit","id":6510,"timestamp":1673891202407,"duration":2417,"tags":{},"startTime":1664596935082},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6493,"timestamp":1673891169755,"duration":35501,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935049},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6513,"timestamp":1673891213640,"duration":7509,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6514,"timestamp":1673891213677,"duration":8510,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"read-resource","id":6521,"timestamp":1673891222498,"duration":130,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6523,"name":"postcss-process","id":6524,"timestamp":1673891222645,"duration":48579,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"postcss-loader","id":6523,"timestamp":1673891222638,"duration":48760,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6520,"name":"css-loader","id":6527,"timestamp":1673891271416,"duration":11923,"tags":{"astUsed":"true"},"startTime":1664596935151},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"build-module-css","id":6520,"timestamp":1673891222377,"duration":61978,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6525,"name":"next-swc-transform","id":6526,"timestamp":1673891222946,"duration":61597,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6522,"name":"next-swc-loader","id":6525,"timestamp":1673891222897,"duration":61647,"tags":{},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"build-module-tsx","id":6522,"timestamp":1673891222513,"duration":64941,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935102},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6518,"timestamp":1673891213691,"duration":83180,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6517,"timestamp":1673891213687,"duration":83209,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6519,"timestamp":1673891213693,"duration":87082,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6515,"timestamp":1673891213681,"duration":96292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"add-entry","id":6516,"timestamp":1673891213684,"duration":125207,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596935093},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"make","id":6512,"timestamp":1673891211234,"duration":127708,"tags":{},"startTime":1664596935091},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-chunk-graph","id":6529,"timestamp":1673891343452,"duration":4480,"tags":{},"startTime":1664596935223},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-modules","id":6531,"timestamp":1673891347956,"duration":2,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-chunks","id":6532,"timestamp":1673891347967,"duration":45,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize-tree","id":6533,"timestamp":1673891348032,"duration":6,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-optimize","id":6530,"timestamp":1673891347946,"duration":1486,"tags":{},"startTime":1664596935227},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-hash","id":6534,"timestamp":1673891359490,"duration":4286,"tags":{},"startTime":1664596935239},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"NextJsBuildManifest-generateClientManifest","id":6536,"timestamp":1673891374227,"duration":61,"tags":{},"startTime":1664596935254},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"NextJsBuildManifest-createassets","id":6535,"timestamp":1673891374174,"duration":120,"tags":{},"startTime":1664596935253},{"traceId":"43f2de6d909a73f7","parentId":6511,"name":"webpack-compilation-seal","id":6528,"timestamp":1673891340018,"duration":35820,"tags":{},"startTime":1664596935219},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"webpack-compilation","id":6511,"timestamp":1673891210812,"duration":165048,"tags":{"name":"client"},"startTime":1664596935090},{"traceId":"43f2de6d909a73f7","parentId":6494,"name":"emit","id":6537,"timestamp":1673891375879,"duration":103306,"tags":{},"startTime":1664596935255},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6494,"timestamp":1673891169843,"duration":310391,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596935049}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6539,"timestamp":1673891492930,"duration":0,"tags":{},"startTime":1664596935372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6540,"timestamp":1673891493134,"duration":0,"tags":{},"startTime":1664596935372},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6550,"timestamp":1664596935372000,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664596935393},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6543,"timestamp":1673891509208,"duration":4826,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6544,"timestamp":1673891509274,"duration":5385,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"read-resource","id":6552,"timestamp":1673891514888,"duration":35,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6553,"name":"postcss-process","id":6554,"timestamp":1673891514954,"duration":41865,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"postcss-loader","id":6553,"timestamp":1673891514942,"duration":42230,"tags":{},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":6551,"name":"css-loader","id":6555,"timestamp":1673891557203,"duration":12387,"tags":{"astUsed":"true"},"startTime":1664596935437},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"build-module-css","id":6551,"timestamp":1673891514750,"duration":56888,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596935394},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6556,"timestamp":1664596935372999,"duration":27000,"tags":{"clientId":1664596721221},"startTime":1664596935451},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6548,"timestamp":1673891509286,"duration":63105,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6547,"timestamp":1673891509283,"duration":63132,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6549,"timestamp":1673891509288,"duration":67005,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6545,"timestamp":1673891509278,"duration":67361,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"add-entry","id":6546,"timestamp":1673891509281,"duration":98223,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596935389},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"make","id":6542,"timestamp":1673891507165,"duration":100413,"tags":{},"startTime":1664596935386},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-chunk-graph","id":6558,"timestamp":1673891611999,"duration":20000,"tags":{},"startTime":1664596935491},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-modules","id":6560,"timestamp":1673891632021,"duration":2,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-chunks","id":6561,"timestamp":1673891632032,"duration":110,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize-tree","id":6562,"timestamp":1673891632163,"duration":3,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-optimize","id":6559,"timestamp":1673891632014,"duration":1483,"tags":{},"startTime":1664596935511},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-hash","id":6563,"timestamp":1673891642100,"duration":5826,"tags":{},"startTime":1664596935521},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"NextJsBuildManifest-generateClientManifest","id":6565,"timestamp":1673891648758,"duration":52,"tags":{},"startTime":1664596935528},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"NextJsBuildManifest-createassets","id":6564,"timestamp":1673891648707,"duration":104,"tags":{},"startTime":1664596935528},{"traceId":"43f2de6d909a73f7","parentId":6541,"name":"webpack-compilation-seal","id":6557,"timestamp":1673891608599,"duration":41166,"tags":{},"startTime":1664596935488},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"webpack-compilation","id":6541,"timestamp":1673891506946,"duration":142841,"tags":{"name":"client"},"startTime":1664596935386},{"traceId":"43f2de6d909a73f7","parentId":6538,"name":"emit","id":6566,"timestamp":1673891649802,"duration":2429,"tags":{},"startTime":1664596935529},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6538,"timestamp":1673891492199,"duration":160650,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596935371}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6567,"timestamp":1673891662992,"duration":0,"tags":{},"startTime":1664596935542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6568,"timestamp":1673891663036,"duration":0,"tags":{},"startTime":1664596935542},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6575,"timestamp":1673911882187,"duration":11975,"tags":{"request":"private-next-pages/_error"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6574,"timestamp":1673911882183,"duration":12008,"tags":{"request":"private-next-pages/_document"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6577,"name":"next-swc-transform","id":6578,"timestamp":1673911893338,"duration":1576,"tags":{},"startTime":1664596955773},{"traceId":"43f2de6d909a73f7","parentId":6576,"name":"next-swc-loader","id":6577,"timestamp":1673911893200,"duration":1719,"tags":{},"startTime":1664596955772},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"build-module-tsx","id":6576,"timestamp":1673911893025,"duration":9072,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955772},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"add-entry","id":6573,"timestamp":1673911882099,"duration":23350,"tags":{"request":"private-next-pages/_app"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"make","id":6572,"timestamp":1673911881962,"duration":23501,"tags":{},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-chunk-graph","id":6580,"timestamp":1673911905897,"duration":239,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-modules","id":6582,"timestamp":1673911906145,"duration":11,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-chunks","id":6583,"timestamp":1673911906188,"duration":34,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize-tree","id":6584,"timestamp":1673911906248,"duration":13,"tags":{},"startTime":1664596955786},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-optimize","id":6581,"timestamp":1673911906142,"duration":205,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-hash","id":6585,"timestamp":1673911908186,"duration":781,"tags":{},"startTime":1664596955787},{"traceId":"43f2de6d909a73f7","parentId":6571,"name":"webpack-compilation-seal","id":6579,"timestamp":1673911905779,"duration":6394,"tags":{},"startTime":1664596955785},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"webpack-compilation","id":6571,"timestamp":1673911881694,"duration":30502,"tags":{"name":"server"},"startTime":1664596955761},{"traceId":"43f2de6d909a73f7","parentId":6569,"name":"emit","id":6586,"timestamp":1673911912207,"duration":2177,"tags":{},"startTime":1664596955791},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6569,"timestamp":1673911875616,"duration":39226,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955755},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6589,"timestamp":1673911921353,"duration":4369,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6590,"timestamp":1673911921384,"duration":6131,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"read-resource","id":6597,"timestamp":1673911927800,"duration":85,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6599,"name":"postcss-process","id":6600,"timestamp":1673911927912,"duration":37438,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"postcss-loader","id":6599,"timestamp":1673911927903,"duration":37840,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6596,"name":"css-loader","id":6603,"timestamp":1673911965760,"duration":11643,"tags":{"astUsed":"true"},"startTime":1664596955845},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"build-module-css","id":6596,"timestamp":1673911927626,"duration":55566,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6601,"name":"next-swc-transform","id":6602,"timestamp":1673911928190,"duration":55195,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6598,"name":"next-swc-loader","id":6601,"timestamp":1673911928157,"duration":55230,"tags":{},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"build-module-tsx","id":6598,"timestamp":1673911927818,"duration":60005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955807},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6594,"timestamp":1673911921396,"duration":66686,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6593,"timestamp":1673911921393,"duration":66704,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6595,"timestamp":1673911921398,"duration":71646,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6591,"timestamp":1673911921388,"duration":82598,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"add-entry","id":6592,"timestamp":1673911921390,"duration":109613,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596955801},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"make","id":6588,"timestamp":1673911919402,"duration":111626,"tags":{},"startTime":1664596955799},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-chunk-graph","id":6605,"timestamp":1673912036091,"duration":20214,"tags":{},"startTime":1664596955915},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-modules","id":6607,"timestamp":1673912056331,"duration":3,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-chunks","id":6608,"timestamp":1673912056344,"duration":112,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize-tree","id":6609,"timestamp":1673912056478,"duration":3,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-optimize","id":6606,"timestamp":1673912056323,"duration":1454,"tags":{},"startTime":1664596955936},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-hash","id":6610,"timestamp":1673912068660,"duration":8250,"tags":{},"startTime":1664596955948},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"NextJsBuildManifest-generateClientManifest","id":6612,"timestamp":1673912086160,"duration":72,"tags":{},"startTime":1664596955965},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"NextJsBuildManifest-createassets","id":6611,"timestamp":1673912086088,"duration":153,"tags":{},"startTime":1664596955965},{"traceId":"43f2de6d909a73f7","parentId":6587,"name":"webpack-compilation-seal","id":6604,"timestamp":1673912032329,"duration":55794,"tags":{},"startTime":1664596955912},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"webpack-compilation","id":6587,"timestamp":1673911919260,"duration":168898,"tags":{"name":"client"},"startTime":1664596955799},{"traceId":"43f2de6d909a73f7","parentId":6570,"name":"emit","id":6613,"timestamp":1673912088177,"duration":100086,"tags":{},"startTime":1664596955967},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6570,"timestamp":1673911875878,"duration":313573,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596955755}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6617,"timestamp":1673912230479,"duration":0,"tags":{},"startTime":1664596956110},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6618,"timestamp":1673912230547,"duration":0,"tags":{},"startTime":1664596956110},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6619,"timestamp":1673912235007,"duration":5374,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6620,"timestamp":1673912235083,"duration":5961,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"read-resource","id":6627,"timestamp":1673912241274,"duration":35,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6628,"name":"postcss-process","id":6629,"timestamp":1673912241341,"duration":34626,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"postcss-loader","id":6628,"timestamp":1673912241329,"duration":34879,"tags":{},"startTime":1664596956121},{"traceId":"43f2de6d909a73f7","parentId":6626,"name":"css-loader","id":6630,"timestamp":1673912276231,"duration":11927,"tags":{"astUsed":"true"},"startTime":1664596956156},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"build-module-css","id":6626,"timestamp":1673912241137,"duration":48535,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596956120},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6624,"timestamp":1673912235096,"duration":56112,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6623,"timestamp":1673912235093,"duration":56128,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6625,"timestamp":1673912235098,"duration":61330,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6621,"timestamp":1673912235087,"duration":61667,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6631,"timestamp":1664596956084999,"duration":90000,"tags":{"clientId":1664595509559},"startTime":1664596956178},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6632,"timestamp":1664596956086000,"duration":104999,"tags":{"clientId":1664596721221},"startTime":1664596956193},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"add-entry","id":6622,"timestamp":1673912235090,"duration":94785,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596956114},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"make","id":6616,"timestamp":1673912229993,"duration":99907,"tags":{},"startTime":1664596956109},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-chunk-graph","id":6634,"timestamp":1673912334878,"duration":16307,"tags":{},"startTime":1664596956214},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-modules","id":6636,"timestamp":1673912351211,"duration":2,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-chunks","id":6637,"timestamp":1673912351223,"duration":117,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize-tree","id":6638,"timestamp":1673912351362,"duration":3,"tags":{},"startTime":1664596956231},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-optimize","id":6635,"timestamp":1673912351203,"duration":1884,"tags":{},"startTime":1664596956230},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-hash","id":6639,"timestamp":1673912365972,"duration":4767,"tags":{},"startTime":1664596956245},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"NextJsBuildManifest-generateClientManifest","id":6641,"timestamp":1673912371708,"duration":60,"tags":{},"startTime":1664596956251},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"NextJsBuildManifest-createassets","id":6640,"timestamp":1673912371648,"duration":127,"tags":{},"startTime":1664596956251},{"traceId":"43f2de6d909a73f7","parentId":6615,"name":"webpack-compilation-seal","id":6633,"timestamp":1673912331168,"duration":41684,"tags":{},"startTime":1664596956210},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"webpack-compilation","id":6615,"timestamp":1673912229774,"duration":143106,"tags":{"name":"client"},"startTime":1664596956109},{"traceId":"43f2de6d909a73f7","parentId":6614,"name":"emit","id":6642,"timestamp":1673912372905,"duration":2586,"tags":{},"startTime":1664596956252},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6614,"timestamp":1673912205444,"duration":170758,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664596956085}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6643,"timestamp":1673912388605,"duration":0,"tags":{},"startTime":1664596956268},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6644,"timestamp":1673912388645,"duration":0,"tags":{},"startTime":1664596956268},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6651,"timestamp":1673945958200,"duration":8672,"tags":{"request":"private-next-pages/_error"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6650,"timestamp":1673945958195,"duration":8688,"tags":{"request":"private-next-pages/_document"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6653,"name":"next-swc-transform","id":6654,"timestamp":1673945965531,"duration":2047,"tags":{},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6652,"name":"next-swc-loader","id":6653,"timestamp":1673945965450,"duration":2134,"tags":{},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"build-module-tsx","id":6652,"timestamp":1673945965302,"duration":5496,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989845},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"add-entry","id":6649,"timestamp":1673945958156,"duration":16360,"tags":{"request":"private-next-pages/_app"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"make","id":6648,"timestamp":1673945957984,"duration":16553,"tags":{},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-chunk-graph","id":6656,"timestamp":1673945974930,"duration":206,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-modules","id":6658,"timestamp":1673945975144,"duration":3,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-chunks","id":6659,"timestamp":1673945975156,"duration":17,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize-tree","id":6660,"timestamp":1673945975182,"duration":2,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-optimize","id":6657,"timestamp":1673945975140,"duration":110,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-hash","id":6661,"timestamp":1673945976677,"duration":482,"tags":{},"startTime":1664596989856},{"traceId":"43f2de6d909a73f7","parentId":6647,"name":"webpack-compilation-seal","id":6655,"timestamp":1673945974856,"duration":4151,"tags":{},"startTime":1664596989854},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"webpack-compilation","id":6647,"timestamp":1673945957788,"duration":21249,"tags":{"name":"server"},"startTime":1664596989837},{"traceId":"43f2de6d909a73f7","parentId":6645,"name":"emit","id":6662,"timestamp":1673945979053,"duration":2508,"tags":{},"startTime":1664596989858},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6645,"timestamp":1673945951828,"duration":30000,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989831},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6665,"timestamp":1673945989167,"duration":4048,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6670,"timestamp":1673945989236,"duration":4848,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6675,"name":"next-swc-transform","id":6676,"timestamp":1673945993947,"duration":3310,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6674,"name":"next-swc-loader","id":6675,"timestamp":1673945993908,"duration":3355,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"build-module-tsx","id":6674,"timestamp":1673945993860,"duration":6902,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"read-resource","id":6673,"timestamp":1673945993837,"duration":7799,"tags":{},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6677,"name":"postcss-process","id":6678,"timestamp":1673946001662,"duration":35000,"tags":{},"startTime":1664596989881},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"postcss-loader","id":6677,"timestamp":1673946001651,"duration":35145,"tags":{},"startTime":1664596989881},{"traceId":"43f2de6d909a73f7","parentId":6672,"name":"css-loader","id":6679,"timestamp":1673946036815,"duration":9408,"tags":{"astUsed":"true"},"startTime":1664596989916},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"build-module-css","id":6672,"timestamp":1673945993750,"duration":53320,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664596989873},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6666,"timestamp":1673945989217,"duration":58655,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6669,"timestamp":1673945989233,"duration":59150,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6671,"timestamp":1673945989238,"duration":64109,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6667,"timestamp":1673945989227,"duration":70078,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"add-entry","id":6668,"timestamp":1673945989230,"duration":96808,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664596989868},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"make","id":6664,"timestamp":1673945985666,"duration":100394,"tags":{},"startTime":1664596989865},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-chunk-graph","id":6681,"timestamp":1673946092369,"duration":4122,"tags":{},"startTime":1664596989972},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-modules","id":6683,"timestamp":1673946096520,"duration":2,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-chunks","id":6684,"timestamp":1673946096533,"duration":33,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize-tree","id":6685,"timestamp":1673946096584,"duration":2,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-optimize","id":6682,"timestamp":1673946096511,"duration":1110,"tags":{},"startTime":1664596989976},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-hash","id":6686,"timestamp":1673946108808,"duration":4004,"tags":{},"startTime":1664596989988},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"NextJsBuildManifest-generateClientManifest","id":6688,"timestamp":1673946121722,"duration":75,"tags":{},"startTime":1664596990001},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"NextJsBuildManifest-createassets","id":6687,"timestamp":1673946121663,"duration":150,"tags":{},"startTime":1664596990001},{"traceId":"43f2de6d909a73f7","parentId":6663,"name":"webpack-compilation-seal","id":6680,"timestamp":1673946087099,"duration":37269,"tags":{},"startTime":1664596989966},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"webpack-compilation","id":6663,"timestamp":1673945985499,"duration":138918,"tags":{"name":"client"},"startTime":1664596989865},{"traceId":"43f2de6d909a73f7","parentId":6646,"name":"emit","id":6689,"timestamp":1673946124440,"duration":128758,"tags":{},"startTime":1664596990004},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6646,"timestamp":1673945951980,"duration":302704,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664596989831}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6690,"timestamp":1673946268590,"duration":0,"tags":{},"startTime":1664596990148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6691,"timestamp":1673946268641,"duration":0,"tags":{},"startTime":1664596990148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6692,"timestamp":1664596989832000,"duration":324999,"tags":{"clientId":1664595509559},"startTime":1664596990157},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6693,"timestamp":1664596989832000,"duration":334000,"tags":{"clientId":1664596721221},"startTime":1664596990167},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6698,"timestamp":1673960184724,"duration":8422,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6699,"timestamp":1673960184831,"duration":10108,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"read-resource","id":6706,"timestamp":1673960195390,"duration":118,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6708,"name":"postcss-process","id":6709,"timestamp":1673960195543,"duration":43605,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"postcss-loader","id":6708,"timestamp":1673960195528,"duration":44212,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6705,"name":"css-loader","id":6712,"timestamp":1673960239776,"duration":13113,"tags":{"astUsed":"true"},"startTime":1664597004119},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"build-module-css","id":6705,"timestamp":1673960195157,"duration":68454,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597004074},{"traceId":"43f2de6d909a73f7","parentId":6710,"name":"next-swc-transform","id":6711,"timestamp":1673960195954,"duration":67874,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6707,"name":"next-swc-loader","id":6710,"timestamp":1673960195881,"duration":67949,"tags":{},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"build-module-tsx","id":6707,"timestamp":1673960195416,"duration":73132,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004075},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6703,"timestamp":1673960184848,"duration":84022,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6702,"timestamp":1673960184845,"duration":84043,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6704,"timestamp":1673960184851,"duration":88044,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6700,"timestamp":1673960184839,"duration":98621,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"add-entry","id":6701,"timestamp":1673960184842,"duration":123829,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597004064},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"make","id":6697,"timestamp":1673960183673,"duration":125020,"tags":{},"startTime":1664597004063},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-chunk-graph","id":6714,"timestamp":1673960313776,"duration":20298,"tags":{},"startTime":1664597004193},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-modules","id":6716,"timestamp":1673960334128,"duration":11,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-chunks","id":6717,"timestamp":1673960334170,"duration":128,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize-tree","id":6718,"timestamp":1673960334336,"duration":11,"tags":{},"startTime":1664597004214},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-optimize","id":6715,"timestamp":1673960334104,"duration":1854,"tags":{},"startTime":1664597004213},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-hash","id":6719,"timestamp":1673960350053,"duration":7822,"tags":{},"startTime":1664597004229},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"NextJsBuildManifest-generateClientManifest","id":6721,"timestamp":1673960370589,"duration":74,"tags":{},"startTime":1664597004250},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"NextJsBuildManifest-createassets","id":6720,"timestamp":1673960370489,"duration":196,"tags":{},"startTime":1664597004250},{"traceId":"43f2de6d909a73f7","parentId":6696,"name":"webpack-compilation-seal","id":6713,"timestamp":1673960310072,"duration":62886,"tags":{},"startTime":1664597004189},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"webpack-compilation","id":6696,"timestamp":1673960183355,"duration":189631,"tags":{"name":"client"},"startTime":1664597004063},{"traceId":"43f2de6d909a73f7","parentId":6694,"name":"emit","id":6722,"timestamp":1673960373010,"duration":103622,"tags":{},"startTime":1664597004252},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6694,"timestamp":1673960167769,"duration":309585,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004047},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6729,"timestamp":1673960517578,"duration":0,"tags":{},"startTime":1664597004397},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6730,"timestamp":1673960517838,"duration":0,"tags":{},"startTime":1664597004397},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6728,"timestamp":1673960500053,"duration":24075,"tags":{"request":"private-next-pages/_error"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6727,"timestamp":1673960500049,"duration":24095,"tags":{"request":"private-next-pages/_document"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6732,"name":"next-swc-transform","id":6733,"timestamp":1673960522711,"duration":2114,"tags":{},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6731,"name":"next-swc-loader","id":6732,"timestamp":1673960522623,"duration":2206,"tags":{},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"build-module-tsx","id":6731,"timestamp":1673960522465,"duration":11487,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004402},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"add-entry","id":6726,"timestamp":1673960499937,"duration":38507,"tags":{"request":"private-next-pages/_app"},"startTime":1664597004379},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"make","id":6724,"timestamp":1673960478991,"duration":59471,"tags":{},"startTime":1664597004358},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-chunk-graph","id":6735,"timestamp":1673960538827,"duration":216,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-modules","id":6737,"timestamp":1673960539050,"duration":2,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-chunks","id":6738,"timestamp":1673960539084,"duration":35,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize-tree","id":6739,"timestamp":1673960539140,"duration":14,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-optimize","id":6736,"timestamp":1673960539048,"duration":194,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-hash","id":6740,"timestamp":1673960540513,"duration":825,"tags":{},"startTime":1664597004420},{"traceId":"43f2de6d909a73f7","parentId":6723,"name":"webpack-compilation-seal","id":6734,"timestamp":1673960538752,"duration":3879,"tags":{},"startTime":1664597004418},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"webpack-compilation","id":6723,"timestamp":1673960478710,"duration":63939,"tags":{"name":"server"},"startTime":1664597004358},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6742,"timestamp":1664597004380999,"duration":43000,"tags":{"clientId":1664595509559},"startTime":1664597004425},{"traceId":"43f2de6d909a73f7","parentId":6695,"name":"emit","id":6741,"timestamp":1673960542661,"duration":3478,"tags":{},"startTime":1664597004422},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6695,"timestamp":1673960168068,"duration":378446,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597004047},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6745,"timestamp":1664597004380000,"duration":48000,"tags":{"clientId":1664596721221},"startTime":1664597004430},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6746,"timestamp":1673960551458,"duration":3916,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6747,"timestamp":1673960551495,"duration":5412,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"read-resource","id":6754,"timestamp":1673960557214,"duration":31,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6755,"name":"postcss-process","id":6756,"timestamp":1673960557274,"duration":36415,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"postcss-loader","id":6755,"timestamp":1673960557261,"duration":37047,"tags":{},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6753,"name":"css-loader","id":6757,"timestamp":1673960594340,"duration":12754,"tags":{"astUsed":"true"},"startTime":1664597004474},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"build-module-css","id":6753,"timestamp":1673960557007,"duration":51530,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597004436},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6751,"timestamp":1673960551506,"duration":57481,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6750,"timestamp":1673960551503,"duration":57500,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6752,"timestamp":1673960551508,"duration":61581,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6748,"timestamp":1673960551498,"duration":62031,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"add-entry","id":6749,"timestamp":1673960551500,"duration":95238,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597004431},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"make","id":6744,"timestamp":1673960550010,"duration":96748,"tags":{},"startTime":1664597004429},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-chunk-graph","id":6759,"timestamp":1673960651422,"duration":17183,"tags":{},"startTime":1664597004531},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-modules","id":6761,"timestamp":1673960668627,"duration":2,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-chunks","id":6762,"timestamp":1673960668639,"duration":38,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize-tree","id":6763,"timestamp":1673960668696,"duration":3,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-optimize","id":6760,"timestamp":1673960668620,"duration":3700,"tags":{},"startTime":1664597004548},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-hash","id":6764,"timestamp":1673960681347,"duration":5931,"tags":{},"startTime":1664597004561},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"NextJsBuildManifest-generateClientManifest","id":6766,"timestamp":1673960688219,"duration":49,"tags":{},"startTime":1664597004567},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"NextJsBuildManifest-createassets","id":6765,"timestamp":1673960688170,"duration":102,"tags":{},"startTime":1664597004567},{"traceId":"43f2de6d909a73f7","parentId":6743,"name":"webpack-compilation-seal","id":6758,"timestamp":1673960647948,"duration":41251,"tags":{},"startTime":1664597004527},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"webpack-compilation","id":6743,"timestamp":1673960549837,"duration":139384,"tags":{"name":"client"},"startTime":1664597004429},{"traceId":"43f2de6d909a73f7","parentId":6725,"name":"emit","id":6767,"timestamp":1673960689234,"duration":4266,"tags":{},"startTime":1664597004568},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6725,"timestamp":1673960499666,"duration":194496,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597004379}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6768,"timestamp":1673960702284,"duration":0,"tags":{},"startTime":1664597004582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6769,"timestamp":1673960702326,"duration":0,"tags":{},"startTime":1664597004582},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6773,"timestamp":1674002090513,"duration":6340,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6774,"timestamp":1674002090569,"duration":6994,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"read-resource","id":6781,"timestamp":1674002097839,"duration":40,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6782,"name":"postcss-process","id":6783,"timestamp":1674002097906,"duration":44121,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"postcss-loader","id":6782,"timestamp":1674002097893,"duration":44374,"tags":{},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6780,"name":"css-loader","id":6784,"timestamp":1674002142290,"duration":14865,"tags":{"astUsed":"true"},"startTime":1664597046021},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"build-module-css","id":6780,"timestamp":1674002097689,"duration":60538,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597045977},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6778,"timestamp":1674002090590,"duration":68133,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6777,"timestamp":1674002090586,"duration":68156,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6786,"name":"next-swc-transform","id":6787,"timestamp":1674002159352,"duration":2808,"tags":{},"startTime":1664597046039},{"traceId":"43f2de6d909a73f7","parentId":6785,"name":"next-swc-loader","id":6786,"timestamp":1674002159308,"duration":2859,"tags":{},"startTime":1664597046038},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"build-module-tsx","id":6785,"timestamp":1674002159184,"duration":3234,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597046038},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6779,"timestamp":1674002090627,"duration":74059,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6775,"timestamp":1674002090580,"duration":75118,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"add-entry","id":6776,"timestamp":1674002090583,"duration":120038,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597045970},{"traceId":"43f2de6d909a73f7","parentId":6770,"name":"make","id":6772,"timestamp":1674002089405,"duration":121241,"tags":{},"startTime":1664597045969},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-chunk-graph","id":6789,"timestamp":1674002215968,"duration":7039,"tags":{},"startTime":1664597046095},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-modules","id":6791,"timestamp":1674002223033,"duration":2,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-chunks","id":6792,"timestamp":1674002223052,"duration":35,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize-tree","id":6793,"timestamp":1674002223109,"duration":3,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-optimize","id":6790,"timestamp":1674002223025,"duration":1196,"tags":{},"startTime":1664597046102},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-hash","id":6794,"timestamp":1674002233183,"duration":3928,"tags":{},"startTime":1664597046112},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"NextJsBuildManifest-generateClientManifest","id":6796,"timestamp":1674002247382,"duration":48,"tags":{},"startTime":1664597046127},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"NextJsBuildManifest-createassets","id":6795,"timestamp":1674002247333,"duration":105,"tags":{},"startTime":1664597046126},{"traceId":"43f2de6d909a73f7","parentId":6771,"name":"webpack-compilation-seal","id":6788,"timestamp":1674002212066,"duration":36924,"tags":{},"startTime":1664597046091},{"traceId":"43f2de6d909a73f7","parentId":6770,"name":"webpack-compilation","id":6771,"timestamp":1674002089212,"duration":159806,"tags":{"name":"client"},"startTime":1664597045968},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6770,"timestamp":1674002077370,"duration":173179,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597045957}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6803,"timestamp":1674002263526,"duration":0,"tags":{"errorCount":1},"startTime":1664597046143},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6804,"timestamp":1674002263583,"duration":0,"tags":{"errorCount":1},"startTime":1664597046143},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6802,"timestamp":1674002260859,"duration":6144,"tags":{"request":"private-next-pages/_error"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6801,"timestamp":1674002260854,"duration":6159,"tags":{"request":"private-next-pages/_document"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6806,"name":"next-swc-transform","id":6807,"timestamp":1674002266747,"duration":299,"tags":{},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6805,"name":"next-swc-loader","id":6806,"timestamp":1674002266707,"duration":342,"tags":{},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"build-module-tsx","id":6805,"timestamp":1674002266596,"duration":518,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597046146},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"add-entry","id":6800,"timestamp":1674002260806,"duration":6664,"tags":{"request":"private-next-pages/_app"},"startTime":1664597046140},{"traceId":"43f2de6d909a73f7","parentId":6797,"name":"make","id":6799,"timestamp":1674002251885,"duration":15595,"tags":{},"startTime":1664597046131},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-chunk-graph","id":6809,"timestamp":1674002267876,"duration":192,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-modules","id":6811,"timestamp":1674002268077,"duration":2,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-chunks","id":6812,"timestamp":1674002268087,"duration":17,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize-tree","id":6813,"timestamp":1674002268113,"duration":2,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-optimize","id":6810,"timestamp":1674002268074,"duration":87,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-hash","id":6814,"timestamp":1674002269207,"duration":1742,"tags":{},"startTime":1664597046148},{"traceId":"43f2de6d909a73f7","parentId":6798,"name":"webpack-compilation-seal","id":6808,"timestamp":1674002267803,"duration":4170,"tags":{},"startTime":1664597046147},{"traceId":"43f2de6d909a73f7","parentId":6797,"name":"webpack-compilation","id":6798,"timestamp":1674002251654,"duration":20347,"tags":{"name":"server"},"startTime":1664597046131},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6797,"timestamp":1674002250932,"duration":21995,"tags":{"trigger":"manual"},"startTime":1664597046130}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6815,"timestamp":1674002274665,"duration":0,"tags":{"errorCount":1},"startTime":1664597046154},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6816,"timestamp":1674002497223,"duration":0,"tags":{"errorCount":1},"startTime":1664597046376},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6819,"timestamp":1674028929914,"duration":0,"tags":{"errorCount":1},"startTime":1664597072809},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6820,"timestamp":1674028932474,"duration":0,"tags":{"errorCount":1},"startTime":1664597072812},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6823,"timestamp":1674028941989,"duration":6991,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6828,"timestamp":1674028942043,"duration":10620,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6833,"name":"next-swc-transform","id":6834,"timestamp":1674028949810,"duration":3358,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6832,"name":"next-swc-loader","id":6833,"timestamp":1674028949780,"duration":3396,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-tsx","id":6832,"timestamp":1674028949729,"duration":8339,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6836,"name":"next-swc-transform","id":6837,"timestamp":1674028952940,"duration":6429,"tags":{},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6835,"name":"next-swc-loader","id":6836,"timestamp":1674028952902,"duration":6473,"tags":{},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-tsx","id":6835,"timestamp":1674028952720,"duration":6728,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597072832},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"read-resource","id":6831,"timestamp":1674028949703,"duration":10077,"tags":{},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6838,"name":"postcss-process","id":6839,"timestamp":1674028959817,"duration":37583,"tags":{},"startTime":1664597072839},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"postcss-loader","id":6838,"timestamp":1674028959800,"duration":37742,"tags":{},"startTime":1664597072839},{"traceId":"43f2de6d909a73f7","parentId":6830,"name":"css-loader","id":6840,"timestamp":1674028997562,"duration":9897,"tags":{"astUsed":"true"},"startTime":1664597072877},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"build-module-css","id":6830,"timestamp":1674028949615,"duration":58975,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597072829},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6824,"timestamp":1674028942035,"duration":69120,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6827,"timestamp":1674028942041,"duration":69570,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6829,"timestamp":1674028942044,"duration":82572,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6825,"timestamp":1674028942037,"duration":157598,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"add-entry","id":6826,"timestamp":1674028942039,"duration":199135,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597072821},{"traceId":"43f2de6d909a73f7","parentId":6817,"name":"make","id":6822,"timestamp":1674028940440,"duration":200766,"tags":{},"startTime":1664597072820},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-chunk-graph","id":6842,"timestamp":1674029145727,"duration":16427,"tags":{},"startTime":1664597073025},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-modules","id":6844,"timestamp":1674029162176,"duration":2,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-chunks","id":6845,"timestamp":1674029162188,"duration":79,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize-tree","id":6846,"timestamp":1674029162287,"duration":6,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-optimize","id":6843,"timestamp":1674029162168,"duration":1519,"tags":{},"startTime":1664597073041},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-hash","id":6847,"timestamp":1674029174749,"duration":4496,"tags":{},"startTime":1664597073054},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"NextJsBuildManifest-generateClientManifest","id":6849,"timestamp":1674029191943,"duration":52,"tags":{},"startTime":1664597073071},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"NextJsBuildManifest-createassets","id":6848,"timestamp":1674029191887,"duration":119,"tags":{},"startTime":1664597073071},{"traceId":"43f2de6d909a73f7","parentId":6821,"name":"webpack-compilation-seal","id":6841,"timestamp":1674029142472,"duration":50863,"tags":{},"startTime":1664597073022},{"traceId":"43f2de6d909a73f7","parentId":6817,"name":"webpack-compilation","id":6821,"timestamp":1674028940268,"duration":253094,"tags":{"name":"client"},"startTime":1664597072819},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6817,"timestamp":1674028928558,"duration":266125,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6856,"timestamp":1674029205072,"duration":0,"tags":{"errorCount":1},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6857,"timestamp":1674029207440,"duration":0,"tags":{"errorCount":1},"startTime":1664597073087},{"traceId":"43f2de6d909a73f7","parentId":6862,"name":"next-swc-transform","id":6863,"timestamp":1674029208810,"duration":160,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6861,"name":"next-swc-loader","id":6862,"timestamp":1674029208789,"duration":186,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"build-module-tsx","id":6861,"timestamp":1674029208733,"duration":312,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6855,"timestamp":1674029204844,"duration":9199,"tags":{"request":"private-next-pages/_error"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6854,"timestamp":1674029204838,"duration":9214,"tags":{"request":"private-next-pages/_document"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6859,"name":"next-swc-transform","id":6860,"timestamp":1674029208597,"duration":11588,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6858,"name":"next-swc-loader","id":6859,"timestamp":1674029208520,"duration":11672,"tags":{},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"build-module-tsx","id":6858,"timestamp":1674029208401,"duration":15140,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597073088},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"add-entry","id":6853,"timestamp":1674029204802,"duration":25101,"tags":{"request":"private-next-pages/_app"},"startTime":1664597073084},{"traceId":"43f2de6d909a73f7","parentId":6818,"name":"make","id":6851,"timestamp":1674029195614,"duration":34307,"tags":{},"startTime":1664597073075},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-chunk-graph","id":6865,"timestamp":1674029230246,"duration":218,"tags":{},"startTime":1664597073109},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-modules","id":6867,"timestamp":1674029230478,"duration":2,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-chunks","id":6868,"timestamp":1674029230488,"duration":19,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize-tree","id":6869,"timestamp":1674029230518,"duration":2,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-optimize","id":6866,"timestamp":1674029230473,"duration":109,"tags":{},"startTime":1664597073110},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-hash","id":6870,"timestamp":1674029231685,"duration":428,"tags":{},"startTime":1664597073111},{"traceId":"43f2de6d909a73f7","parentId":6850,"name":"webpack-compilation-seal","id":6864,"timestamp":1674029230166,"duration":3368,"tags":{},"startTime":1664597073109},{"traceId":"43f2de6d909a73f7","parentId":6818,"name":"webpack-compilation","id":6850,"timestamp":1674029195467,"duration":38087,"tags":{"name":"server"},"startTime":1664597073075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6818,"timestamp":1674028928753,"duration":305433,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597072808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6873,"timestamp":1674029238322,"duration":0,"tags":{"errorCount":1},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6874,"timestamp":1674029238361,"duration":0,"tags":{"errorCount":1},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6875,"timestamp":1674029238685,"duration":5610,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6876,"timestamp":1674029238712,"duration":6122,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"read-resource","id":6883,"timestamp":1674029245023,"duration":29,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6884,"name":"postcss-process","id":6885,"timestamp":1674029245084,"duration":30271,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"postcss-loader","id":6884,"timestamp":1674029245075,"duration":30562,"tags":{},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6882,"name":"css-loader","id":6886,"timestamp":1674029275658,"duration":10625,"tags":{"astUsed":"true"},"startTime":1664597073155},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"build-module-css","id":6882,"timestamp":1674029244908,"duration":42542,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597073124},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6880,"timestamp":1674029238719,"duration":49148,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6879,"timestamp":1674029238717,"duration":49161,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6888,"name":"next-swc-transform","id":6889,"timestamp":1674029288330,"duration":1847,"tags":{},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6887,"name":"next-swc-loader","id":6888,"timestamp":1674029288298,"duration":1882,"tags":{},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"build-module-tsx","id":6887,"timestamp":1674029288190,"duration":2036,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/address-card.tsx"},"startTime":1664597073167},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6881,"timestamp":1674029238721,"duration":52881,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6877,"timestamp":1674029238714,"duration":53135,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"add-entry","id":6878,"timestamp":1674029238716,"duration":80106,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597073118},{"traceId":"43f2de6d909a73f7","parentId":6852,"name":"make","id":6872,"timestamp":1674029237462,"duration":81383,"tags":{},"startTime":1664597073117},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-chunk-graph","id":6891,"timestamp":1674029323466,"duration":5792,"tags":{},"startTime":1664597073203},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-modules","id":6893,"timestamp":1674029329303,"duration":3,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-chunks","id":6894,"timestamp":1674029329318,"duration":40,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize-tree","id":6895,"timestamp":1674029329382,"duration":3,"tags":{},"startTime":1664597073209},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-optimize","id":6892,"timestamp":1674029329291,"duration":1064,"tags":{},"startTime":1664597073208},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-hash","id":6896,"timestamp":1674029340156,"duration":6335,"tags":{},"startTime":1664597073219},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"NextJsBuildManifest-generateClientManifest","id":6898,"timestamp":1674029348455,"duration":51,"tags":{},"startTime":1664597073228},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"NextJsBuildManifest-createassets","id":6897,"timestamp":1674029348406,"duration":107,"tags":{},"startTime":1664597073228},{"traceId":"43f2de6d909a73f7","parentId":6871,"name":"webpack-compilation-seal","id":6890,"timestamp":1674029320054,"duration":30034,"tags":{},"startTime":1664597073199},{"traceId":"43f2de6d909a73f7","parentId":6852,"name":"webpack-compilation","id":6871,"timestamp":1674029237304,"duration":112816,"tags":{"name":"client"},"startTime":1664597073116},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6852,"timestamp":1674029204590,"duration":146068,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597073084}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6901,"timestamp":1674036758297,"duration":0,"tags":{"errorCount":1},"startTime":1664597080637},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":6902,"timestamp":1674036759622,"duration":0,"tags":{"errorCount":1},"startTime":1664597080639},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6905,"timestamp":1674036781083,"duration":8002,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6906,"timestamp":1674036781201,"duration":9626,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"read-resource","id":6913,"timestamp":1674036791356,"duration":163,"tags":{},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6915,"name":"postcss-process","id":6916,"timestamp":1674036791580,"duration":34840,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"postcss-loader","id":6915,"timestamp":1674036791545,"duration":35019,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6912,"name":"css-loader","id":6919,"timestamp":1674036826594,"duration":8651,"tags":{"astUsed":"true"},"startTime":1664597080706},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"build-module-css","id":6912,"timestamp":1674036791036,"duration":45504,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6917,"name":"next-swc-transform","id":6918,"timestamp":1674036792238,"duration":44449,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6914,"name":"next-swc-loader","id":6917,"timestamp":1674036792174,"duration":44530,"tags":{},"startTime":1664597080671},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"build-module-ts","id":6914,"timestamp":1674036791375,"duration":47253,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080670},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6910,"timestamp":1674036781211,"duration":57769,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6909,"timestamp":1674036781208,"duration":57784,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6911,"timestamp":1674036781212,"duration":61555,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6907,"timestamp":1674036781205,"duration":62248,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"add-entry","id":6908,"timestamp":1674036781207,"duration":101152,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597080660},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"make","id":6904,"timestamp":1674036775175,"duration":107209,"tags":{},"startTime":1664597080654},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-chunk-graph","id":6921,"timestamp":1674036887297,"duration":3876,"tags":{},"startTime":1664597080766},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-modules","id":6923,"timestamp":1674036891188,"duration":2,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-chunks","id":6924,"timestamp":1674036891198,"duration":55,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize-tree","id":6925,"timestamp":1674036891269,"duration":3,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-optimize","id":6922,"timestamp":1674036891182,"duration":1076,"tags":{},"startTime":1664597080770},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-hash","id":6926,"timestamp":1674036907604,"duration":4796,"tags":{},"startTime":1664597080787},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"NextJsBuildManifest-generateClientManifest","id":6928,"timestamp":1674036925695,"duration":99,"tags":{},"startTime":1664597080805},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"NextJsBuildManifest-createassets","id":6927,"timestamp":1674036925600,"duration":207,"tags":{},"startTime":1664597080805},{"traceId":"43f2de6d909a73f7","parentId":6903,"name":"webpack-compilation-seal","id":6920,"timestamp":1674036883845,"duration":44580,"tags":{},"startTime":1664597080763},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"webpack-compilation","id":6903,"timestamp":1674036774449,"duration":154017,"tags":{"name":"client"},"startTime":1664597080654},{"traceId":"43f2de6d909a73f7","parentId":6899,"name":"emit","id":6929,"timestamp":1674036928486,"duration":157321,"tags":{},"startTime":1664597080808},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6899,"timestamp":1674036756058,"duration":330923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080635},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6935,"timestamp":1674037113328,"duration":0,"tags":{},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6936,"timestamp":1674037113411,"duration":0,"tags":{},"startTime":1664597080993},{"traceId":"43f2de6d909a73f7","parentId":6938,"name":"next-swc-transform","id":6939,"timestamp":1674037117275,"duration":608,"tags":{},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6937,"name":"next-swc-loader","id":6938,"timestamp":1674037117210,"duration":679,"tags":{},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"build-module-ts","id":6937,"timestamp":1674037117093,"duration":1584,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080996},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6934,"timestamp":1674037112482,"duration":6300,"tags":{"request":"private-next-pages/_error"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6933,"timestamp":1674037112479,"duration":6309,"tags":{"request":"private-next-pages/_document"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"add-entry","id":6932,"timestamp":1674037112418,"duration":9790,"tags":{"request":"private-next-pages/_app"},"startTime":1664597080992},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"make","id":6931,"timestamp":1674037089934,"duration":32300,"tags":{},"startTime":1664597080969},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-chunk-graph","id":6941,"timestamp":1674037122622,"duration":295,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-modules","id":6943,"timestamp":1674037122929,"duration":3,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-chunks","id":6944,"timestamp":1674037122940,"duration":28,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize-tree","id":6945,"timestamp":1674037122979,"duration":6,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-optimize","id":6942,"timestamp":1674037122925,"duration":125,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-hash","id":6946,"timestamp":1674037124140,"duration":468,"tags":{},"startTime":1664597081003},{"traceId":"43f2de6d909a73f7","parentId":6930,"name":"webpack-compilation-seal","id":6940,"timestamp":1674037122546,"duration":2620,"tags":{},"startTime":1664597081002},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"webpack-compilation","id":6930,"timestamp":1674037089519,"duration":35668,"tags":{"name":"server"},"startTime":1664597080969},{"traceId":"43f2de6d909a73f7","parentId":6900,"name":"emit","id":6947,"timestamp":1674037125199,"duration":2892,"tags":{},"startTime":1664597081004},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6900,"timestamp":1674036756523,"duration":371985,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597080636}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6948,"timestamp":1664597073086000,"duration":7934999,"tags":{"clientId":1664596721221},"startTime":1664597081021},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":6949,"timestamp":1664597073084000,"duration":8019000,"tags":{"clientId":1664595509559},"startTime":1664597081104},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6956,"timestamp":1674062618624,"duration":11002,"tags":{"request":"private-next-pages/_error"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6955,"timestamp":1674062618619,"duration":11021,"tags":{"request":"private-next-pages/_document"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6958,"name":"next-swc-transform","id":6959,"timestamp":1674062628916,"duration":1874,"tags":{},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6957,"name":"next-swc-loader","id":6958,"timestamp":1674062628762,"duration":2035,"tags":{},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"build-module-tsx","id":6957,"timestamp":1674062628557,"duration":9186,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106508},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"add-entry","id":6954,"timestamp":1674062618531,"duration":24432,"tags":{"request":"private-next-pages/_app"},"startTime":1664597106498},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"make","id":6953,"timestamp":1674062618387,"duration":24599,"tags":{},"startTime":1664597106497},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-chunk-graph","id":6961,"timestamp":1674062643562,"duration":1260,"tags":{},"startTime":1664597106523},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-modules","id":6963,"timestamp":1674062644879,"duration":14,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-chunks","id":6964,"timestamp":1674062644924,"duration":41,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize-tree","id":6965,"timestamp":1674062645000,"duration":14,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-optimize","id":6962,"timestamp":1674062644851,"duration":261,"tags":{},"startTime":1664597106524},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-hash","id":6966,"timestamp":1674062646959,"duration":1478,"tags":{},"startTime":1664597106526},{"traceId":"43f2de6d909a73f7","parentId":6952,"name":"webpack-compilation-seal","id":6960,"timestamp":1674062643446,"duration":7211,"tags":{},"startTime":1664597106523},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"webpack-compilation","id":6952,"timestamp":1674062618101,"duration":32589,"tags":{"name":"server"},"startTime":1664597106497},{"traceId":"43f2de6d909a73f7","parentId":6950,"name":"emit","id":6967,"timestamp":1674062650708,"duration":1736,"tags":{},"startTime":1664597106530},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":6950,"timestamp":1674062610483,"duration":42433,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106490},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6970,"timestamp":1674062658832,"duration":4830,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6971,"timestamp":1674062658860,"duration":5377,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"read-resource","id":6978,"timestamp":1674062664479,"duration":88,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6980,"name":"postcss-process","id":6981,"timestamp":1674062664591,"duration":38775,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"postcss-loader","id":6980,"timestamp":1674062664579,"duration":39188,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6977,"name":"css-loader","id":6984,"timestamp":1674062703784,"duration":12664,"tags":{"astUsed":"true"},"startTime":1664597106583},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"build-module-css","id":6977,"timestamp":1674062664333,"duration":58005,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597106543},{"traceId":"43f2de6d909a73f7","parentId":6982,"name":"next-swc-transform","id":6983,"timestamp":1674062665027,"duration":57529,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6979,"name":"next-swc-loader","id":6982,"timestamp":1674062664995,"duration":57564,"tags":{},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"build-module-tsx","id":6979,"timestamp":1674062664496,"duration":63710,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106544},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6975,"timestamp":1674062658873,"duration":69591,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6974,"timestamp":1674062658871,"duration":69607,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6976,"timestamp":1674062658876,"duration":72846,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6972,"timestamp":1674062658867,"duration":82076,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"add-entry","id":6973,"timestamp":1674062658869,"duration":101522,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597106538},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"make","id":6969,"timestamp":1674062657517,"duration":102893,"tags":{},"startTime":1664597106537},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-chunk-graph","id":6986,"timestamp":1674062765049,"duration":19782,"tags":{},"startTime":1664597106644},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-modules","id":6988,"timestamp":1674062784854,"duration":2,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-chunks","id":6989,"timestamp":1674062784926,"duration":105,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize-tree","id":6990,"timestamp":1674062785092,"duration":28,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-optimize","id":6987,"timestamp":1674062784846,"duration":2179,"tags":{},"startTime":1664597106664},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-hash","id":6991,"timestamp":1674062801190,"duration":6051,"tags":{},"startTime":1664597106680},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"NextJsBuildManifest-generateClientManifest","id":6993,"timestamp":1674062817629,"duration":72,"tags":{},"startTime":1664597106697},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"NextJsBuildManifest-createassets","id":6992,"timestamp":1674062817554,"duration":156,"tags":{},"startTime":1664597106697},{"traceId":"43f2de6d909a73f7","parentId":6968,"name":"webpack-compilation-seal","id":6985,"timestamp":1674062761606,"duration":58833,"tags":{},"startTime":1664597106641},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"webpack-compilation","id":6968,"timestamp":1674062656844,"duration":163635,"tags":{"name":"client"},"startTime":1664597106536},{"traceId":"43f2de6d909a73f7","parentId":6951,"name":"emit","id":6994,"timestamp":1674062820503,"duration":111438,"tags":{},"startTime":1664597106700},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6951,"timestamp":1674062610685,"duration":322684,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597106490}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6996,"timestamp":1674062950531,"duration":0,"tags":{},"startTime":1664597106830},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":6997,"timestamp":1674062950738,"duration":0,"tags":{},"startTime":1664597106830},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7000,"timestamp":1674062967630,"duration":8897,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597106847},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7001,"timestamp":1674062968778,"duration":13038,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"read-resource","id":7008,"timestamp":1674062982134,"duration":38,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7009,"name":"postcss-process","id":7010,"timestamp":1674062982201,"duration":46897,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"postcss-loader","id":7009,"timestamp":1674062982190,"duration":47420,"tags":{},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":7007,"name":"css-loader","id":7011,"timestamp":1674063029664,"duration":12835,"tags":{"astUsed":"true"},"startTime":1664597106909},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"build-module-css","id":7007,"timestamp":1674062981933,"duration":62369,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597106861},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7005,"timestamp":1674062968848,"duration":77377,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7004,"timestamp":1674062968839,"duration":77430,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7012,"timestamp":1664597106828999,"duration":97000,"tags":{"clientId":1664595509559},"startTime":1664597106927},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7006,"timestamp":1674062968853,"duration":82139,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7002,"timestamp":1674062968825,"duration":82517,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7013,"timestamp":1664597106832000,"duration":111000,"tags":{"clientId":1664596721221},"startTime":1664597106946},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"add-entry","id":7003,"timestamp":1674062968833,"duration":117237,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597106848},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"make","id":6999,"timestamp":1674062965271,"duration":120823,"tags":{},"startTime":1664597106844},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-chunk-graph","id":7015,"timestamp":1674063091858,"duration":21200,"tags":{},"startTime":1664597106971},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-modules","id":7017,"timestamp":1674063113086,"duration":3,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-chunks","id":7018,"timestamp":1674063113099,"duration":145,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize-tree","id":7019,"timestamp":1674063113268,"duration":3,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-optimize","id":7016,"timestamp":1674063113078,"duration":1608,"tags":{},"startTime":1664597106992},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-hash","id":7020,"timestamp":1674063124799,"duration":4933,"tags":{},"startTime":1664597107004},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"NextJsBuildManifest-generateClientManifest","id":7022,"timestamp":1674063132865,"duration":56,"tags":{},"startTime":1664597107012},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"NextJsBuildManifest-createassets","id":7021,"timestamp":1674063132795,"duration":134,"tags":{},"startTime":1664597107012},{"traceId":"43f2de6d909a73f7","parentId":6998,"name":"webpack-compilation-seal","id":7014,"timestamp":1674063088267,"duration":45783,"tags":{},"startTime":1664597106967},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"webpack-compilation","id":6998,"timestamp":1674062965050,"duration":169020,"tags":{"name":"client"},"startTime":1664597106844},{"traceId":"43f2de6d909a73f7","parentId":6995,"name":"emit","id":7023,"timestamp":1674063134086,"duration":2359,"tags":{},"startTime":1664597107013},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":6995,"timestamp":1674062949708,"duration":187345,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597106829}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7024,"timestamp":1674063147705,"duration":0,"tags":{},"startTime":1664597107027},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7025,"timestamp":1674063147757,"duration":0,"tags":{},"startTime":1664597107027},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7030,"timestamp":1674069551486,"duration":3868,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7031,"timestamp":1674069551533,"duration":4505,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"read-resource","id":7038,"timestamp":1674069556230,"duration":85,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7040,"name":"postcss-process","id":7041,"timestamp":1674069556331,"duration":33909,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"postcss-loader","id":7040,"timestamp":1674069556324,"duration":34077,"tags":{},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7037,"name":"css-loader","id":7044,"timestamp":1674069590421,"duration":8407,"tags":{"astUsed":"true"},"startTime":1664597113470},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"build-module-css","id":7037,"timestamp":1674069556131,"duration":43625,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7042,"name":"next-swc-transform","id":7043,"timestamp":1674069556598,"duration":43334,"tags":{},"startTime":1664597113436},{"traceId":"43f2de6d909a73f7","parentId":7039,"name":"next-swc-loader","id":7042,"timestamp":1674069556526,"duration":43408,"tags":{},"startTime":1664597113436},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"build-module-tsx","id":7039,"timestamp":1674069556250,"duration":47282,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113435},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7035,"timestamp":1674069551552,"duration":52294,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7034,"timestamp":1674069551549,"duration":52310,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7036,"timestamp":1674069551554,"duration":57444,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7032,"timestamp":1674069551545,"duration":64883,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"add-entry","id":7033,"timestamp":1674069551547,"duration":83502,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597113431},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"make","id":7029,"timestamp":1674069548294,"duration":86776,"tags":{},"startTime":1664597113427},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-chunk-graph","id":7046,"timestamp":1674069639384,"duration":3602,"tags":{},"startTime":1664597113518},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-modules","id":7048,"timestamp":1674069643004,"duration":2,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-chunks","id":7049,"timestamp":1674069643015,"duration":32,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize-tree","id":7050,"timestamp":1674069643066,"duration":2,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-optimize","id":7047,"timestamp":1674069642998,"duration":1007,"tags":{},"startTime":1664597113522},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-hash","id":7051,"timestamp":1674069654349,"duration":4145,"tags":{},"startTime":1664597113533},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"NextJsBuildManifest-generateClientManifest","id":7053,"timestamp":1674069670654,"duration":43,"tags":{},"startTime":1664597113550},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"NextJsBuildManifest-createassets","id":7052,"timestamp":1674069670611,"duration":93,"tags":{},"startTime":1664597113550},{"traceId":"43f2de6d909a73f7","parentId":7028,"name":"webpack-compilation-seal","id":7045,"timestamp":1674069636197,"duration":36288,"tags":{},"startTime":1664597113515},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"webpack-compilation","id":7028,"timestamp":1674069548116,"duration":124393,"tags":{"name":"client"},"startTime":1664597113427},{"traceId":"43f2de6d909a73f7","parentId":7026,"name":"emit","id":7054,"timestamp":1674069672524,"duration":84941,"tags":{},"startTime":1664597113552},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7026,"timestamp":1674069535600,"duration":222307,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7061,"timestamp":1674069769152,"duration":0,"tags":{},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7062,"timestamp":1674069769298,"duration":0,"tags":{},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7060,"timestamp":1674069768629,"duration":3968,"tags":{"request":"private-next-pages/_error"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7059,"timestamp":1674069768626,"duration":3977,"tags":{"request":"private-next-pages/_document"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7064,"name":"next-swc-transform","id":7065,"timestamp":1674069772122,"duration":7465,"tags":{},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7063,"name":"next-swc-loader","id":7064,"timestamp":1674069772088,"duration":7507,"tags":{},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"build-module-tsx","id":7063,"timestamp":1674069771973,"duration":9521,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113651},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"add-entry","id":7058,"timestamp":1674069768571,"duration":16162,"tags":{"request":"private-next-pages/_app"},"startTime":1664597113648},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"make","id":7056,"timestamp":1674069759203,"duration":25548,"tags":{},"startTime":1664597113638},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-chunk-graph","id":7067,"timestamp":1674069785072,"duration":162,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-modules","id":7069,"timestamp":1674069785244,"duration":2,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-chunks","id":7070,"timestamp":1674069785253,"duration":15,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize-tree","id":7071,"timestamp":1674069785278,"duration":2,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-optimize","id":7068,"timestamp":1674069785241,"duration":102,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-hash","id":7072,"timestamp":1674069786394,"duration":423,"tags":{},"startTime":1664597113665},{"traceId":"43f2de6d909a73f7","parentId":7055,"name":"webpack-compilation-seal","id":7066,"timestamp":1674069785008,"duration":3508,"tags":{},"startTime":1664597113664},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"webpack-compilation","id":7055,"timestamp":1674069759050,"duration":29489,"tags":{"name":"server"},"startTime":1664597113638},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7074,"timestamp":1664597113648000,"duration":16999,"tags":{"clientId":1664595509559},"startTime":1664597113668},{"traceId":"43f2de6d909a73f7","parentId":7027,"name":"emit","id":7073,"timestamp":1674069788551,"duration":2773,"tags":{},"startTime":1664597113668},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7027,"timestamp":1674069535772,"duration":255790,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597113415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7084,"timestamp":1664597113648000,"duration":25999,"tags":{"clientId":1664596721221},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7077,"timestamp":1674069797024,"duration":3507,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7078,"timestamp":1674069797072,"duration":7336,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"read-resource","id":7086,"timestamp":1674069804656,"duration":37,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7087,"name":"postcss-process","id":7088,"timestamp":1674069804718,"duration":29559,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"postcss-loader","id":7087,"timestamp":1674069804708,"duration":31256,"tags":{},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7085,"name":"css-loader","id":7089,"timestamp":1674069836004,"duration":13039,"tags":{"astUsed":"true"},"startTime":1664597113715},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"build-module-css","id":7085,"timestamp":1674069804541,"duration":45573,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597113684},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7082,"timestamp":1674069797081,"duration":53482,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7081,"timestamp":1674069797078,"duration":53498,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7083,"timestamp":1674069797086,"duration":57926,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7079,"timestamp":1674069797074,"duration":58326,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"add-entry","id":7080,"timestamp":1674069797076,"duration":132083,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597113676},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"make","id":7076,"timestamp":1674069795584,"duration":133598,"tags":{},"startTime":1664597113675},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-chunk-graph","id":7091,"timestamp":1674069935560,"duration":8284,"tags":{},"startTime":1664597113815},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-modules","id":7093,"timestamp":1674069943869,"duration":3,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-chunks","id":7094,"timestamp":1674069943881,"duration":34,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize-tree","id":7095,"timestamp":1674069943939,"duration":3,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-optimize","id":7092,"timestamp":1674069943860,"duration":1094,"tags":{},"startTime":1664597113823},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-hash","id":7096,"timestamp":1674069956619,"duration":9589,"tags":{},"startTime":1664597113836},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"NextJsBuildManifest-generateClientManifest","id":7098,"timestamp":1674069967392,"duration":77,"tags":{},"startTime":1664597113846},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"NextJsBuildManifest-createassets","id":7097,"timestamp":1674069967334,"duration":140,"tags":{},"startTime":1664597113846},{"traceId":"43f2de6d909a73f7","parentId":7075,"name":"webpack-compilation-seal","id":7090,"timestamp":1674069931343,"duration":37485,"tags":{},"startTime":1664597113810},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"webpack-compilation","id":7075,"timestamp":1674069795403,"duration":173464,"tags":{"name":"client"},"startTime":1664597113674},{"traceId":"43f2de6d909a73f7","parentId":7057,"name":"emit","id":7099,"timestamp":1674069968888,"duration":12980,"tags":{},"startTime":1664597113848},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7057,"timestamp":1674069768285,"duration":214537,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597113647}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7100,"timestamp":1674069995153,"duration":0,"tags":{},"startTime":1664597113874},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7101,"timestamp":1674069995206,"duration":0,"tags":{},"startTime":1664597113874},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7106,"timestamp":1674076148970,"duration":3996,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7107,"timestamp":1674076149022,"duration":4764,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"read-resource","id":7114,"timestamp":1674076154116,"duration":96,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7116,"name":"postcss-process","id":7117,"timestamp":1674076154243,"duration":33834,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"postcss-loader","id":7116,"timestamp":1674076154230,"duration":34047,"tags":{},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7113,"name":"css-loader","id":7120,"timestamp":1674076188298,"duration":10330,"tags":{"astUsed":"true"},"startTime":1664597120067},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"build-module-css","id":7113,"timestamp":1674076153947,"duration":46162,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7118,"name":"next-swc-transform","id":7119,"timestamp":1674076154586,"duration":45878,"tags":{},"startTime":1664597120034},{"traceId":"43f2de6d909a73f7","parentId":7115,"name":"next-swc-loader","id":7118,"timestamp":1674076154524,"duration":45947,"tags":{},"startTime":1664597120034},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"build-module-tsx","id":7115,"timestamp":1674076154138,"duration":49017,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120033},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7111,"timestamp":1674076149032,"duration":54472,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7110,"timestamp":1674076149029,"duration":54492,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7112,"timestamp":1674076149033,"duration":57533,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7108,"timestamp":1674076149026,"duration":66429,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"add-entry","id":7109,"timestamp":1674076149028,"duration":82542,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597120028},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"make","id":7105,"timestamp":1674076148090,"duration":83499,"tags":{},"startTime":1664597120027},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-chunk-graph","id":7122,"timestamp":1674076236049,"duration":5249,"tags":{},"startTime":1664597120115},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-modules","id":7124,"timestamp":1674076241318,"duration":3,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-chunks","id":7125,"timestamp":1674076241330,"duration":37,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize-tree","id":7126,"timestamp":1674076241385,"duration":3,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-optimize","id":7123,"timestamp":1674076241312,"duration":875,"tags":{},"startTime":1664597120120},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-hash","id":7127,"timestamp":1674076249980,"duration":3783,"tags":{},"startTime":1664597120129},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"NextJsBuildManifest-generateClientManifest","id":7129,"timestamp":1674076263601,"duration":43,"tags":{},"startTime":1664597120143},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"NextJsBuildManifest-createassets","id":7128,"timestamp":1674076263554,"duration":96,"tags":{},"startTime":1664597120143},{"traceId":"43f2de6d909a73f7","parentId":7104,"name":"webpack-compilation-seal","id":7121,"timestamp":1674076232747,"duration":32466,"tags":{},"startTime":1664597120112},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"webpack-compilation","id":7104,"timestamp":1674076147899,"duration":117335,"tags":{"name":"client"},"startTime":1664597120027},{"traceId":"43f2de6d909a73f7","parentId":7102,"name":"emit","id":7130,"timestamp":1674076265251,"duration":84644,"tags":{},"startTime":1664597120144},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7102,"timestamp":1674076136124,"duration":214303,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120015},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7137,"timestamp":1674076363500,"duration":0,"tags":{},"startTime":1664597120243},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7138,"timestamp":1674076363544,"duration":0,"tags":{},"startTime":1664597120243},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7136,"timestamp":1674076362679,"duration":14964,"tags":{"request":"private-next-pages/_error"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7135,"timestamp":1674076362676,"duration":14982,"tags":{"request":"private-next-pages/_document"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7140,"name":"next-swc-transform","id":7141,"timestamp":1674076376553,"duration":1901,"tags":{},"startTime":1664597120256},{"traceId":"43f2de6d909a73f7","parentId":7139,"name":"next-swc-loader","id":7140,"timestamp":1674076376516,"duration":1942,"tags":{},"startTime":1664597120256},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"build-module-tsx","id":7139,"timestamp":1674076376385,"duration":4858,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120255},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"add-entry","id":7134,"timestamp":1674076362638,"duration":22021,"tags":{"request":"private-next-pages/_app"},"startTime":1664597120242},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"make","id":7132,"timestamp":1674076351458,"duration":33223,"tags":{},"startTime":1664597120231},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-chunk-graph","id":7143,"timestamp":1674076385075,"duration":197,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-modules","id":7145,"timestamp":1674076385281,"duration":2,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-chunks","id":7146,"timestamp":1674076385291,"duration":16,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize-tree","id":7147,"timestamp":1674076385316,"duration":3,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-optimize","id":7144,"timestamp":1674076385278,"duration":103,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-hash","id":7148,"timestamp":1674076386476,"duration":398,"tags":{},"startTime":1664597120266},{"traceId":"43f2de6d909a73f7","parentId":7131,"name":"webpack-compilation-seal","id":7142,"timestamp":1674076385007,"duration":2900,"tags":{},"startTime":1664597120264},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"webpack-compilation","id":7131,"timestamp":1674076351279,"duration":36648,"tags":{"name":"server"},"startTime":1664597120230},{"traceId":"43f2de6d909a73f7","parentId":7103,"name":"emit","id":7149,"timestamp":1674076387937,"duration":2358,"tags":{},"startTime":1664597120267},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7103,"timestamp":1674076136408,"duration":254205,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597120015},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7152,"timestamp":1664597120241999,"duration":29000,"tags":{"clientId":1664596721221},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7153,"timestamp":1674076396602,"duration":5353,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7154,"timestamp":1674076396626,"duration":5948,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"read-resource","id":7161,"timestamp":1674076403025,"duration":54,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7162,"name":"postcss-process","id":7163,"timestamp":1674076403113,"duration":29976,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"postcss-loader","id":7162,"timestamp":1674076403098,"duration":30263,"tags":{},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7160,"name":"css-loader","id":7164,"timestamp":1674076433383,"duration":12241,"tags":{"astUsed":"true"},"startTime":1664597120312},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"build-module-css","id":7160,"timestamp":1674076402888,"duration":43709,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597120282},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7158,"timestamp":1674076396634,"duration":50374,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7157,"timestamp":1674076396632,"duration":50387,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7159,"timestamp":1674076396636,"duration":54290,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7155,"timestamp":1674076396628,"duration":54620,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"add-entry","id":7156,"timestamp":1674076396630,"duration":85152,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597120276},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"make","id":7151,"timestamp":1674076395446,"duration":86359,"tags":{},"startTime":1664597120275},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-chunk-graph","id":7166,"timestamp":1674076486400,"duration":6516,"tags":{},"startTime":1664597120365},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-modules","id":7168,"timestamp":1674076492941,"duration":2,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-chunks","id":7169,"timestamp":1674076492952,"duration":37,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize-tree","id":7170,"timestamp":1674076493011,"duration":3,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-optimize","id":7167,"timestamp":1674076492934,"duration":1188,"tags":{},"startTime":1664597120372},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-hash","id":7171,"timestamp":1674076501876,"duration":4153,"tags":{},"startTime":1664597120381},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"NextJsBuildManifest-generateClientManifest","id":7173,"timestamp":1674076506813,"duration":47,"tags":{},"startTime":1664597120386},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"NextJsBuildManifest-createassets","id":7172,"timestamp":1674076506766,"duration":97,"tags":{},"startTime":1664597120386},{"traceId":"43f2de6d909a73f7","parentId":7150,"name":"webpack-compilation-seal","id":7165,"timestamp":1674076482861,"duration":24869,"tags":{},"startTime":1664597120362},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"webpack-compilation","id":7150,"timestamp":1674076395264,"duration":112490,"tags":{"name":"client"},"startTime":1664597120274},{"traceId":"43f2de6d909a73f7","parentId":7133,"name":"emit","id":7174,"timestamp":1674076507765,"duration":7988,"tags":{},"startTime":1664597120387},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7133,"timestamp":1674076362352,"duration":153951,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597120241}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7175,"timestamp":1674076527195,"duration":0,"tags":{},"startTime":1664597120406},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7176,"timestamp":1674076527303,"duration":0,"tags":{},"startTime":1664597120406},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7177,"timestamp":1664597120241999,"duration":545000,"tags":{"clientId":1664595509559},"startTime":1664597120787},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7184,"timestamp":1674092081404,"duration":16624,"tags":{"request":"private-next-pages/_error"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7183,"timestamp":1674092081400,"duration":16644,"tags":{"request":"private-next-pages/_document"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7186,"name":"next-swc-transform","id":7187,"timestamp":1674092096233,"duration":1886,"tags":{},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7185,"name":"next-swc-loader","id":7186,"timestamp":1674092096148,"duration":1972,"tags":{},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"build-module-tsx","id":7185,"timestamp":1674092095929,"duration":8374,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135975},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"add-entry","id":7182,"timestamp":1674092081321,"duration":30029,"tags":{"request":"private-next-pages/_app"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"make","id":7181,"timestamp":1674092081154,"duration":30213,"tags":{},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-chunk-graph","id":7189,"timestamp":1674092111808,"duration":1211,"tags":{},"startTime":1664597135991},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-modules","id":7191,"timestamp":1674092113061,"duration":11,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-chunks","id":7192,"timestamp":1674092113103,"duration":38,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize-tree","id":7193,"timestamp":1674092113171,"duration":14,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-optimize","id":7190,"timestamp":1674092113041,"duration":235,"tags":{},"startTime":1664597135992},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-hash","id":7194,"timestamp":1674092115725,"duration":815,"tags":{},"startTime":1664597135995},{"traceId":"43f2de6d909a73f7","parentId":7180,"name":"webpack-compilation-seal","id":7188,"timestamp":1674092111699,"duration":7889,"tags":{},"startTime":1664597135991},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"webpack-compilation","id":7180,"timestamp":1674092080971,"duration":38646,"tags":{"name":"server"},"startTime":1664597135960},{"traceId":"43f2de6d909a73f7","parentId":7178,"name":"emit","id":7195,"timestamp":1674092119631,"duration":2283,"tags":{},"startTime":1664597135999},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7178,"timestamp":1674092073960,"duration":48417,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135953},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7198,"timestamp":1674092129990,"duration":8087,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7203,"timestamp":1674092130047,"duration":9742,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"read-resource","id":7206,"timestamp":1674092139313,"duration":1104,"tags":{},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7210,"name":"postcss-process","id":7211,"timestamp":1674092140459,"duration":37740,"tags":{},"startTime":1664597136020},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"postcss-loader","id":7210,"timestamp":1674092140445,"duration":38262,"tags":{},"startTime":1664597136019},{"traceId":"43f2de6d909a73f7","parentId":7205,"name":"css-loader","id":7212,"timestamp":1674092178729,"duration":12327,"tags":{"astUsed":"true"},"startTime":1664597136058},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"build-module-css","id":7205,"timestamp":1674092139030,"duration":57836,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7208,"name":"next-swc-transform","id":7209,"timestamp":1674092139482,"duration":58202,"tags":{},"startTime":1664597136019},{"traceId":"43f2de6d909a73f7","parentId":7207,"name":"next-swc-loader","id":7208,"timestamp":1674092139444,"duration":58250,"tags":{},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"build-module-tsx","id":7207,"timestamp":1674092139374,"duration":62951,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597136018},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7199,"timestamp":1674092130035,"duration":72992,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7202,"timestamp":1674092130044,"duration":74049,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7204,"timestamp":1674092130049,"duration":79457,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7200,"timestamp":1674092130039,"duration":84723,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"add-entry","id":7201,"timestamp":1674092130041,"duration":118825,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597136009},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"make","id":7197,"timestamp":1674092128134,"duration":120751,"tags":{},"startTime":1664597136007},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-chunk-graph","id":7214,"timestamp":1674092253369,"duration":16963,"tags":{},"startTime":1664597136132},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-modules","id":7216,"timestamp":1674092270358,"duration":3,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-chunks","id":7217,"timestamp":1674092270440,"duration":137,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize-tree","id":7218,"timestamp":1674092270619,"duration":12,"tags":{},"startTime":1664597136150},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-optimize","id":7215,"timestamp":1674092270351,"duration":1945,"tags":{},"startTime":1664597136149},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-hash","id":7219,"timestamp":1674092284208,"duration":5641,"tags":{},"startTime":1664597136163},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"NextJsBuildManifest-generateClientManifest","id":7221,"timestamp":1674092299762,"duration":55,"tags":{},"startTime":1664597136179},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"NextJsBuildManifest-createassets","id":7220,"timestamp":1674092299715,"duration":110,"tags":{},"startTime":1664597136179},{"traceId":"43f2de6d909a73f7","parentId":7196,"name":"webpack-compilation-seal","id":7213,"timestamp":1674092250115,"duration":51538,"tags":{},"startTime":1664597136129},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"webpack-compilation","id":7196,"timestamp":1674092127952,"duration":173723,"tags":{"name":"client"},"startTime":1664597136007},{"traceId":"43f2de6d909a73f7","parentId":7179,"name":"emit","id":7222,"timestamp":1674092301689,"duration":95811,"tags":{},"startTime":1664597136181},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7179,"timestamp":1674092074114,"duration":324698,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597135953}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7224,"timestamp":1674092412161,"duration":0,"tags":{},"startTime":1664597136291},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7225,"timestamp":1674092412536,"duration":0,"tags":{},"startTime":1664597136292},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7235,"timestamp":1664597136292000,"duration":18000,"tags":{"clientId":1664595509559},"startTime":1664597136310},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7228,"timestamp":1674092425462,"duration":6881,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7229,"timestamp":1674092425560,"duration":7761,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"read-resource","id":7237,"timestamp":1674092433761,"duration":51,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7238,"name":"postcss-process","id":7239,"timestamp":1674092433851,"duration":38351,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"postcss-loader","id":7238,"timestamp":1674092433836,"duration":39116,"tags":{},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":7236,"name":"css-loader","id":7240,"timestamp":1674092472983,"duration":13503,"tags":{"astUsed":"true"},"startTime":1664597136352},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"build-module-css","id":7236,"timestamp":1674092433497,"duration":54509,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597136313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7241,"timestamp":1664597136292999,"duration":49000,"tags":{"clientId":1664596721221},"startTime":1664597136367},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7233,"timestamp":1674092425574,"duration":63006,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7232,"timestamp":1674092425571,"duration":63026,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7234,"timestamp":1674092425576,"duration":67186,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7230,"timestamp":1674092425565,"duration":67511,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"add-entry","id":7231,"timestamp":1674092425568,"duration":97115,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597136305},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"make","id":7227,"timestamp":1674092423360,"duration":99343,"tags":{},"startTime":1664597136302},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-chunk-graph","id":7243,"timestamp":1674092527243,"duration":19252,"tags":{},"startTime":1664597136406},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-modules","id":7245,"timestamp":1674092546519,"duration":3,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-chunks","id":7246,"timestamp":1674092546531,"duration":99,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize-tree","id":7247,"timestamp":1674092546650,"duration":3,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-optimize","id":7244,"timestamp":1674092546512,"duration":1446,"tags":{},"startTime":1664597136426},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-hash","id":7248,"timestamp":1674092558347,"duration":4047,"tags":{},"startTime":1664597136437},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"NextJsBuildManifest-generateClientManifest","id":7250,"timestamp":1674092563543,"duration":2217,"tags":{},"startTime":1664597136443},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"NextJsBuildManifest-createassets","id":7249,"timestamp":1674092563470,"duration":2302,"tags":{},"startTime":1664597136443},{"traceId":"43f2de6d909a73f7","parentId":7226,"name":"webpack-compilation-seal","id":7242,"timestamp":1674092523827,"duration":43374,"tags":{},"startTime":1664597136403},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"webpack-compilation","id":7226,"timestamp":1674092423159,"duration":144071,"tags":{"name":"client"},"startTime":1664597136302},{"traceId":"43f2de6d909a73f7","parentId":7223,"name":"emit","id":7251,"timestamp":1674092567262,"duration":2248,"tags":{},"startTime":1664597136446},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7223,"timestamp":1674092411394,"duration":158719,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597136290}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7252,"timestamp":1674092580499,"duration":0,"tags":{},"startTime":1664597136460},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7253,"timestamp":1674092580547,"duration":0,"tags":{},"startTime":1664597136460},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7257,"timestamp":1674134556032,"duration":4077,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7258,"timestamp":1674134556100,"duration":7038,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"read-resource","id":7265,"timestamp":1674134563419,"duration":97,"tags":{},"startTime":1664597178442},{"traceId":"43f2de6d909a73f7","parentId":7266,"name":"postcss-process","id":7267,"timestamp":1674134563555,"duration":39132,"tags":{},"startTime":1664597178443},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"postcss-loader","id":7266,"timestamp":1674134563540,"duration":39302,"tags":{},"startTime":1664597178443},{"traceId":"43f2de6d909a73f7","parentId":7264,"name":"css-loader","id":7268,"timestamp":1674134602863,"duration":9938,"tags":{"astUsed":"true"},"startTime":1664597178482},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"build-module-css","id":7264,"timestamp":1674134563290,"duration":50528,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597178442},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7262,"timestamp":1674134556120,"duration":58474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7261,"timestamp":1674134556117,"duration":58491,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7270,"name":"next-swc-transform","id":7271,"timestamp":1674134615092,"duration":2525,"tags":{},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7269,"name":"next-swc-loader","id":7270,"timestamp":1674134615039,"duration":2585,"tags":{},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"build-module-tsx","id":7269,"timestamp":1674134614934,"duration":2942,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178494},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7263,"timestamp":1674134556122,"duration":64009,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7259,"timestamp":1674134556112,"duration":64296,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"add-entry","id":7260,"timestamp":1674134556114,"duration":90121,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597178435},{"traceId":"43f2de6d909a73f7","parentId":7254,"name":"make","id":7256,"timestamp":1674134552110,"duration":94147,"tags":{},"startTime":1664597178431},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-chunk-graph","id":7273,"timestamp":1674134650677,"duration":5589,"tags":{},"startTime":1664597178530},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-modules","id":7275,"timestamp":1674134656292,"duration":2,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-chunks","id":7276,"timestamp":1674134656302,"duration":30,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize-tree","id":7277,"timestamp":1674134656350,"duration":2,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-optimize","id":7274,"timestamp":1674134656280,"duration":974,"tags":{},"startTime":1664597178535},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-hash","id":7278,"timestamp":1674134664876,"duration":3548,"tags":{},"startTime":1664597178544},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"NextJsBuildManifest-generateClientManifest","id":7280,"timestamp":1674134677450,"duration":47,"tags":{},"startTime":1664597178556},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"NextJsBuildManifest-createassets","id":7279,"timestamp":1674134677404,"duration":101,"tags":{},"startTime":1664597178556},{"traceId":"43f2de6d909a73f7","parentId":7255,"name":"webpack-compilation-seal","id":7272,"timestamp":1674134647315,"duration":31472,"tags":{},"startTime":1664597178526},{"traceId":"43f2de6d909a73f7","parentId":7254,"name":"webpack-compilation","id":7255,"timestamp":1674134551920,"duration":126892,"tags":{"name":"client"},"startTime":1664597178431},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7254,"timestamp":1674134539763,"duration":140430,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178419}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7287,"timestamp":1674134693226,"duration":0,"tags":{"errorCount":1},"startTime":1664597178572},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7288,"timestamp":1674134693327,"duration":0,"tags":{"errorCount":1},"startTime":1664597178572},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7286,"timestamp":1674134690018,"duration":7165,"tags":{"request":"private-next-pages/_error"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7285,"timestamp":1674134690015,"duration":7179,"tags":{"request":"private-next-pages/_document"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7290,"name":"next-swc-transform","id":7291,"timestamp":1674134696895,"duration":336,"tags":{},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7289,"name":"next-swc-loader","id":7290,"timestamp":1674134696853,"duration":380,"tags":{},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"build-module-tsx","id":7289,"timestamp":1674134696640,"duration":661,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597178576},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"add-entry","id":7284,"timestamp":1674134689971,"duration":7585,"tags":{"request":"private-next-pages/_app"},"startTime":1664597178569},{"traceId":"43f2de6d909a73f7","parentId":7281,"name":"make","id":7283,"timestamp":1674134681334,"duration":16237,"tags":{},"startTime":1664597178560},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-chunk-graph","id":7293,"timestamp":1674134697872,"duration":166,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-modules","id":7295,"timestamp":1674134698049,"duration":2,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-chunks","id":7296,"timestamp":1674134698058,"duration":15,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize-tree","id":7297,"timestamp":1674134698081,"duration":2,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-optimize","id":7294,"timestamp":1674134698046,"duration":89,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-hash","id":7298,"timestamp":1674134698809,"duration":460,"tags":{},"startTime":1664597178578},{"traceId":"43f2de6d909a73f7","parentId":7282,"name":"webpack-compilation-seal","id":7292,"timestamp":1674134697811,"duration":2155,"tags":{},"startTime":1664597178577},{"traceId":"43f2de6d909a73f7","parentId":7281,"name":"webpack-compilation","id":7282,"timestamp":1674134681194,"duration":18792,"tags":{"name":"server"},"startTime":1664597178560},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7281,"timestamp":1674134680557,"duration":20222,"tags":{"trigger":"manual"},"startTime":1664597178560}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7299,"timestamp":1674134703380,"duration":0,"tags":{"errorCount":1},"startTime":1664597178582},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7300,"timestamp":1674134731022,"duration":0,"tags":{"errorCount":1},"startTime":1664597178610},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7304,"timestamp":1674137260199,"duration":3555,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7305,"timestamp":1674137260256,"duration":4007,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"read-resource","id":7312,"timestamp":1674137264416,"duration":27,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7313,"name":"postcss-process","id":7314,"timestamp":1674137264461,"duration":33514,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"postcss-loader","id":7313,"timestamp":1674137264453,"duration":33903,"tags":{},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7311,"name":"css-loader","id":7315,"timestamp":1674137298396,"duration":11984,"tags":{"astUsed":"true"},"startTime":1664597181177},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-css","id":7311,"timestamp":1674137264336,"duration":47099,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597181143},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7309,"timestamp":1674137260264,"duration":52757,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7308,"timestamp":1674137260262,"duration":52779,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7318,"name":"next-swc-transform","id":7319,"timestamp":1674137314383,"duration":322,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7316,"name":"next-swc-loader","id":7318,"timestamp":1674137314343,"duration":367,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-tsx","id":7316,"timestamp":1674137314075,"duration":693,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7320,"name":"next-swc-transform","id":7321,"timestamp":1674137314397,"duration":378,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7317,"name":"next-swc-loader","id":7320,"timestamp":1674137314386,"duration":391,"tags":{},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"build-module-tsx","id":7317,"timestamp":1674137314189,"duration":607,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181193},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7310,"timestamp":1674137260266,"duration":63367,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7306,"timestamp":1674137260258,"duration":64014,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"add-entry","id":7307,"timestamp":1674137260260,"duration":132139,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597181139},{"traceId":"43f2de6d909a73f7","parentId":7301,"name":"make","id":7303,"timestamp":1674137259212,"duration":133221,"tags":{},"startTime":1664597181138},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-chunk-graph","id":7323,"timestamp":1674137396727,"duration":17337,"tags":{},"startTime":1664597181276},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-modules","id":7325,"timestamp":1674137414087,"duration":2,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-chunks","id":7326,"timestamp":1674137414098,"duration":94,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize-tree","id":7327,"timestamp":1674137414214,"duration":15,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-optimize","id":7324,"timestamp":1674137414077,"duration":1619,"tags":{},"startTime":1664597181293},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-hash","id":7328,"timestamp":1674137427384,"duration":3988,"tags":{},"startTime":1664597181306},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"NextJsBuildManifest-generateClientManifest","id":7330,"timestamp":1674137440056,"duration":99,"tags":{},"startTime":1664597181319},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"NextJsBuildManifest-createassets","id":7329,"timestamp":1674137439983,"duration":181,"tags":{},"startTime":1664597181319},{"traceId":"43f2de6d909a73f7","parentId":7302,"name":"webpack-compilation-seal","id":7322,"timestamp":1674137393640,"duration":47897,"tags":{},"startTime":1664597181273},{"traceId":"43f2de6d909a73f7","parentId":7301,"name":"webpack-compilation","id":7302,"timestamp":1674137259030,"duration":182551,"tags":{"name":"client"},"startTime":1664597181138},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7301,"timestamp":1674137247412,"duration":195543,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181126}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7337,"timestamp":1674137455928,"duration":0,"tags":{"errorCount":2},"startTime":1664597181335},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7338,"timestamp":1674137455987,"duration":0,"tags":{"errorCount":2},"startTime":1664597181335},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7336,"timestamp":1674137453936,"duration":5882,"tags":{"request":"private-next-pages/_error"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7335,"timestamp":1674137453932,"duration":5895,"tags":{"request":"private-next-pages/_document"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7341,"name":"next-swc-transform","id":7342,"timestamp":1674137459541,"duration":408,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7339,"name":"next-swc-loader","id":7341,"timestamp":1674137459494,"duration":458,"tags":{},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"build-module-tsx","id":7339,"timestamp":1674137459256,"duration":767,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/warn-block.tsx"},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7343,"name":"next-swc-transform","id":7344,"timestamp":1674137459555,"duration":474,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7340,"name":"next-swc-loader","id":7343,"timestamp":1674137459543,"duration":487,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"build-module-tsx","id":7340,"timestamp":1674137459452,"duration":595,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/user-card.tsx"},"startTime":1664597181338},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"add-entry","id":7334,"timestamp":1674137453875,"duration":6285,"tags":{"request":"private-next-pages/_app"},"startTime":1664597181333},{"traceId":"43f2de6d909a73f7","parentId":7331,"name":"make","id":7333,"timestamp":1674137444392,"duration":15777,"tags":{},"startTime":1664597181323},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-chunk-graph","id":7346,"timestamp":1674137460425,"duration":389,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-modules","id":7348,"timestamp":1674137460839,"duration":3,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-chunks","id":7349,"timestamp":1674137460854,"duration":23,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize-tree","id":7350,"timestamp":1674137460897,"duration":3,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-optimize","id":7347,"timestamp":1674137460831,"duration":146,"tags":{},"startTime":1664597181340},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-hash","id":7351,"timestamp":1674137461685,"duration":377,"tags":{},"startTime":1664597181341},{"traceId":"43f2de6d909a73f7","parentId":7332,"name":"webpack-compilation-seal","id":7345,"timestamp":1674137460366,"duration":2305,"tags":{},"startTime":1664597181339},{"traceId":"43f2de6d909a73f7","parentId":7331,"name":"webpack-compilation","id":7332,"timestamp":1674137444223,"duration":18465,"tags":{"name":"server"},"startTime":1664597181323},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7331,"timestamp":1674137443271,"duration":20088,"tags":{"trigger":"manual"},"startTime":1664597181322}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7352,"timestamp":1674137464775,"duration":0,"tags":{"errorCount":2},"startTime":1664597181344},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7353,"timestamp":1674137469861,"duration":0,"tags":{"errorCount":2},"startTime":1664597181349},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7356,"timestamp":1674143404889,"duration":0,"tags":{"errorCount":2},"startTime":1664597187284},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7357,"timestamp":1674143406629,"duration":0,"tags":{"errorCount":2},"startTime":1664597187286},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7360,"timestamp":1674143418121,"duration":3855,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7361,"timestamp":1674143418168,"duration":4532,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"read-resource","id":7368,"timestamp":1674143422930,"duration":97,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7370,"name":"postcss-process","id":7371,"timestamp":1674143423062,"duration":37034,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"postcss-loader","id":7370,"timestamp":1674143423050,"duration":37261,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7367,"name":"css-loader","id":7374,"timestamp":1674143460331,"duration":10216,"tags":{"astUsed":"true"},"startTime":1664597187339},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"build-module-css","id":7367,"timestamp":1674143422805,"duration":49186,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7372,"name":"next-swc-transform","id":7373,"timestamp":1674143423511,"duration":48690,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7369,"name":"next-swc-loader","id":7372,"timestamp":1674143423468,"duration":48734,"tags":{},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"build-module-ts","id":7369,"timestamp":1674143422947,"duration":50338,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187302},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7365,"timestamp":1674143418179,"duration":55444,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7364,"timestamp":1674143418176,"duration":55458,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7366,"timestamp":1674143418181,"duration":58863,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7362,"timestamp":1674143418171,"duration":59257,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"add-entry","id":7363,"timestamp":1674143418174,"duration":228653,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597187297},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"make","id":7359,"timestamp":1674143416687,"duration":230170,"tags":{},"startTime":1664597187296},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-chunk-graph","id":7376,"timestamp":1674143656817,"duration":18947,"tags":{},"startTime":1664597187536},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-modules","id":7378,"timestamp":1674143675787,"duration":3,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-chunks","id":7379,"timestamp":1674143675801,"duration":75,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize-tree","id":7380,"timestamp":1674143675898,"duration":7,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-optimize","id":7377,"timestamp":1674143675780,"duration":1624,"tags":{},"startTime":1664597187555},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-hash","id":7381,"timestamp":1674143692577,"duration":4156,"tags":{},"startTime":1664597187572},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"NextJsBuildManifest-generateClientManifest","id":7383,"timestamp":1674143705644,"duration":88,"tags":{},"startTime":1664597187585},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"NextJsBuildManifest-createassets","id":7382,"timestamp":1674143705584,"duration":154,"tags":{},"startTime":1664597187585},{"traceId":"43f2de6d909a73f7","parentId":7358,"name":"webpack-compilation-seal","id":7375,"timestamp":1674143649930,"duration":57680,"tags":{},"startTime":1664597187529},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"webpack-compilation","id":7358,"timestamp":1674143416480,"duration":291162,"tags":{"name":"client"},"startTime":1664597187295},{"traceId":"43f2de6d909a73f7","parentId":7354,"name":"emit","id":7384,"timestamp":1674143707692,"duration":106909,"tags":{},"startTime":1664597187587},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7354,"timestamp":1674143403539,"duration":411809,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187283},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7390,"timestamp":1674143827215,"duration":0,"tags":{},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7391,"timestamp":1674143827494,"duration":0,"tags":{},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7393,"name":"next-swc-transform","id":7394,"timestamp":1674143830593,"duration":529,"tags":{},"startTime":1664597187710},{"traceId":"43f2de6d909a73f7","parentId":7392,"name":"next-swc-loader","id":7393,"timestamp":1674143830534,"duration":591,"tags":{},"startTime":1664597187710},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"build-module-ts","id":7392,"timestamp":1674143830434,"duration":1337,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187709},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7389,"timestamp":1674143826563,"duration":5272,"tags":{"request":"private-next-pages/_error"},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7388,"timestamp":1674143826559,"duration":5280,"tags":{"request":"private-next-pages/_document"},"startTime":1664597187706},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"add-entry","id":7387,"timestamp":1674143826495,"duration":6764,"tags":{"request":"private-next-pages/_app"},"startTime":1664597187705},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"make","id":7386,"timestamp":1674143816436,"duration":16837,"tags":{},"startTime":1664597187695},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-chunk-graph","id":7396,"timestamp":1674143833545,"duration":237,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-modules","id":7398,"timestamp":1674143833791,"duration":2,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-chunks","id":7399,"timestamp":1674143833799,"duration":25,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize-tree","id":7400,"timestamp":1674143833834,"duration":4,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-optimize","id":7397,"timestamp":1674143833787,"duration":112,"tags":{},"startTime":1664597187713},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-hash","id":7401,"timestamp":1674143835016,"duration":429,"tags":{},"startTime":1664597187714},{"traceId":"43f2de6d909a73f7","parentId":7385,"name":"webpack-compilation-seal","id":7395,"timestamp":1674143833482,"duration":2576,"tags":{},"startTime":1664597187712},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"webpack-compilation","id":7385,"timestamp":1674143816273,"duration":19804,"tags":{"name":"server"},"startTime":1664597187695},{"traceId":"43f2de6d909a73f7","parentId":7355,"name":"emit","id":7402,"timestamp":1674143836087,"duration":4318,"tags":{},"startTime":1664597187715},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7355,"timestamp":1674143403687,"duration":437099,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597187283}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7403,"timestamp":1664597178419000,"duration":9304000,"tags":{"clientId":1664595509559},"startTime":1664597187723},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7404,"timestamp":1664597178420999,"duration":9318000,"tags":{"clientId":1664596721221},"startTime":1664597187740},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7408,"timestamp":1674149019587,"duration":4200,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7409,"timestamp":1674149019684,"duration":4707,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"read-resource","id":7416,"timestamp":1674149024700,"duration":41,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7417,"name":"postcss-process","id":7418,"timestamp":1674149024780,"duration":38985,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"postcss-loader","id":7417,"timestamp":1674149024766,"duration":39368,"tags":{},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7415,"name":"css-loader","id":7419,"timestamp":1674149064168,"duration":12982,"tags":{"astUsed":"true"},"startTime":1664597192943},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"build-module-css","id":7415,"timestamp":1674149024527,"duration":54231,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597192904},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7413,"timestamp":1674149019696,"duration":59521,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7412,"timestamp":1674149019693,"duration":59538,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7421,"name":"next-swc-transform","id":7422,"timestamp":1674149079938,"duration":2137,"tags":{},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7420,"name":"next-swc-loader","id":7421,"timestamp":1674149079827,"duration":2257,"tags":{},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"build-module-tsx","id":7420,"timestamp":1674149079675,"duration":2622,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597192959},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7414,"timestamp":1674149019698,"duration":64420,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7410,"timestamp":1674149019689,"duration":64865,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"add-entry","id":7411,"timestamp":1674149019691,"duration":102474,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597192899},{"traceId":"43f2de6d909a73f7","parentId":7405,"name":"make","id":7407,"timestamp":1674149017057,"duration":105137,"tags":{},"startTime":1664597192896},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-chunk-graph","id":7424,"timestamp":1674149127182,"duration":17413,"tags":{},"startTime":1664597193006},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-modules","id":7426,"timestamp":1674149144624,"duration":14,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-chunks","id":7427,"timestamp":1674149144674,"duration":102,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize-tree","id":7428,"timestamp":1674149144815,"duration":12,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-optimize","id":7425,"timestamp":1674149144616,"duration":1678,"tags":{},"startTime":1664597193024},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-hash","id":7429,"timestamp":1674149157814,"duration":3636,"tags":{},"startTime":1664597193037},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"NextJsBuildManifest-generateClientManifest","id":7431,"timestamp":1674149170295,"duration":59,"tags":{},"startTime":1664597193049},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"NextJsBuildManifest-createassets","id":7430,"timestamp":1674149170234,"duration":127,"tags":{},"startTime":1664597193049},{"traceId":"43f2de6d909a73f7","parentId":7406,"name":"webpack-compilation-seal","id":7423,"timestamp":1674149123893,"duration":47995,"tags":{},"startTime":1664597193003},{"traceId":"43f2de6d909a73f7","parentId":7405,"name":"webpack-compilation","id":7406,"timestamp":1674149016829,"duration":155087,"tags":{"name":"client"},"startTime":1664597192896},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7405,"timestamp":1674149003819,"duration":169667,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597192883}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7438,"timestamp":1674149184841,"duration":0,"tags":{"errorCount":1},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7439,"timestamp":1674149184972,"duration":0,"tags":{"errorCount":1},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7437,"timestamp":1674149184559,"duration":3909,"tags":{"request":"private-next-pages/_error"},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7436,"timestamp":1674149184556,"duration":3920,"tags":{"request":"private-next-pages/_document"},"startTime":1664597193064},{"traceId":"43f2de6d909a73f7","parentId":7441,"name":"next-swc-transform","id":7442,"timestamp":1674149188300,"duration":362,"tags":{},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7440,"name":"next-swc-loader","id":7441,"timestamp":1674149188262,"duration":407,"tags":{},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"build-module-tsx","id":7440,"timestamp":1674149188125,"duration":632,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/wallet-connect.tsx"},"startTime":1664597193067},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"add-entry","id":7435,"timestamp":1674149184507,"duration":4409,"tags":{"request":"private-next-pages/_app"},"startTime":1664597193063},{"traceId":"43f2de6d909a73f7","parentId":7432,"name":"make","id":7434,"timestamp":1674149174424,"duration":14507,"tags":{},"startTime":1664597193053},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-chunk-graph","id":7444,"timestamp":1674149189335,"duration":169,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-modules","id":7446,"timestamp":1674149189513,"duration":1,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-chunks","id":7447,"timestamp":1674149189520,"duration":15,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize-tree","id":7448,"timestamp":1674149189546,"duration":2,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-optimize","id":7445,"timestamp":1674149189509,"duration":90,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-hash","id":7449,"timestamp":1674149190462,"duration":412,"tags":{},"startTime":1664597193069},{"traceId":"43f2de6d909a73f7","parentId":7433,"name":"webpack-compilation-seal","id":7443,"timestamp":1674149189245,"duration":2205,"tags":{},"startTime":1664597193068},{"traceId":"43f2de6d909a73f7","parentId":7432,"name":"webpack-compilation","id":7433,"timestamp":1674149174287,"duration":17179,"tags":{"name":"server"},"startTime":1664597193053},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7432,"timestamp":1674149173645,"duration":18571,"tags":{"trigger":"manual"},"startTime":1664597193053}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7450,"timestamp":1674149195934,"duration":0,"tags":{"errorCount":1},"startTime":1664597193075},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7451,"timestamp":1674149262500,"duration":0,"tags":{"errorCount":1},"startTime":1664597193141},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7454,"timestamp":1674151892512,"duration":0,"tags":{"errorCount":1},"startTime":1664597195771},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-error","id":7455,"timestamp":1674151894480,"duration":0,"tags":{"errorCount":1},"startTime":1664597195773},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7460,"timestamp":1674151899449,"duration":7007,"tags":{"request":"private-next-pages/_error"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7459,"timestamp":1674151899446,"duration":7022,"tags":{"request":"private-next-pages/_document"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7462,"name":"next-swc-transform","id":7463,"timestamp":1674151906130,"duration":675,"tags":{},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7461,"name":"next-swc-loader","id":7462,"timestamp":1674151906075,"duration":733,"tags":{},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"build-module-ts","id":7461,"timestamp":1674151905913,"duration":1619,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195785},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"add-entry","id":7458,"timestamp":1674151899410,"duration":10492,"tags":{"request":"private-next-pages/_app"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"make","id":7457,"timestamp":1674151899309,"duration":10634,"tags":{},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-chunk-graph","id":7465,"timestamp":1674151910376,"duration":454,"tags":{},"startTime":1664597195789},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-modules","id":7467,"timestamp":1674151910849,"duration":2,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-chunks","id":7468,"timestamp":1674151910860,"duration":30,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize-tree","id":7469,"timestamp":1674151910901,"duration":8,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-optimize","id":7466,"timestamp":1674151910844,"duration":120,"tags":{},"startTime":1664597195790},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-hash","id":7470,"timestamp":1674151912103,"duration":554,"tags":{},"startTime":1664597195791},{"traceId":"43f2de6d909a73f7","parentId":7456,"name":"webpack-compilation-seal","id":7464,"timestamp":1674151910291,"duration":4643,"tags":{},"startTime":1664597195789},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"webpack-compilation","id":7456,"timestamp":1674151899113,"duration":15849,"tags":{"name":"server"},"startTime":1664597195778},{"traceId":"43f2de6d909a73f7","parentId":7452,"name":"emit","id":7471,"timestamp":1674151914976,"duration":2412,"tags":{},"startTime":1664597195794},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7452,"timestamp":1674151891530,"duration":26109,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195771},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7474,"timestamp":1674151923370,"duration":7265,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7475,"timestamp":1674151923403,"duration":8042,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"read-resource","id":7482,"timestamp":1674151931778,"duration":96,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7484,"name":"postcss-process","id":7485,"timestamp":1674151931897,"duration":30993,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"postcss-loader","id":7484,"timestamp":1674151931886,"duration":31157,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7481,"name":"css-loader","id":7488,"timestamp":1674151963060,"duration":11232,"tags":{"astUsed":"true"},"startTime":1664597195842},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"build-module-css","id":7481,"timestamp":1674151931584,"duration":43759,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7486,"name":"next-swc-transform","id":7487,"timestamp":1674151932167,"duration":43295,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7483,"name":"next-swc-loader","id":7486,"timestamp":1674151932138,"duration":43326,"tags":{},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"build-module-ts","id":7483,"timestamp":1674151931797,"duration":44768,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195811},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7479,"timestamp":1674151923412,"duration":53459,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7478,"timestamp":1674151923410,"duration":53473,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7480,"timestamp":1674151923414,"duration":56880,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7476,"timestamp":1674151923406,"duration":57292,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"add-entry","id":7477,"timestamp":1674151923408,"duration":81086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597195802},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"make","id":7473,"timestamp":1674151921639,"duration":82876,"tags":{},"startTime":1664597195801},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-chunk-graph","id":7490,"timestamp":1674152009048,"duration":5646,"tags":{},"startTime":1664597195888},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-modules","id":7492,"timestamp":1674152014714,"duration":2,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-chunks","id":7493,"timestamp":1674152014724,"duration":29,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize-tree","id":7494,"timestamp":1674152014771,"duration":3,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-optimize","id":7491,"timestamp":1674152014707,"duration":911,"tags":{},"startTime":1664597195894},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-hash","id":7495,"timestamp":1674152022742,"duration":5954,"tags":{},"startTime":1664597195902},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"NextJsBuildManifest-generateClientManifest","id":7497,"timestamp":1674152036239,"duration":46,"tags":{},"startTime":1664597195915},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"NextJsBuildManifest-createassets","id":7496,"timestamp":1674152036200,"duration":91,"tags":{},"startTime":1664597195915},{"traceId":"43f2de6d909a73f7","parentId":7472,"name":"webpack-compilation-seal","id":7489,"timestamp":1674152005510,"duration":32591,"tags":{},"startTime":1664597195884},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"webpack-compilation","id":7472,"timestamp":1674151921469,"duration":116659,"tags":{"name":"client"},"startTime":1664597195800},{"traceId":"43f2de6d909a73f7","parentId":7453,"name":"emit","id":7498,"timestamp":1674152038142,"duration":88977,"tags":{},"startTime":1664597195917},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7453,"timestamp":1674151892090,"duration":235789,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/index.ts"},"startTime":1664597195771}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7499,"timestamp":1674152152022,"duration":0,"tags":{},"startTime":1664597196031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7500,"timestamp":1674152152497,"duration":0,"tags":{},"startTime":1664597196031},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7501,"timestamp":1664597195772000,"duration":272999,"tags":{"clientId":1664595509559},"startTime":1664597196046},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7502,"timestamp":1664597195772999,"duration":284999,"tags":{"clientId":1664596721221},"startTime":1664597196060},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7507,"timestamp":1674164283204,"duration":6863,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7512,"timestamp":1674164283292,"duration":9958,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"read-resource","id":7515,"timestamp":1674164292882,"duration":1295,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7519,"name":"postcss-process","id":7520,"timestamp":1674164294235,"duration":43259,"tags":{},"startTime":1664597208173},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"postcss-loader","id":7519,"timestamp":1674164294213,"duration":43736,"tags":{},"startTime":1664597208173},{"traceId":"43f2de6d909a73f7","parentId":7514,"name":"css-loader","id":7521,"timestamp":1674164337971,"duration":13332,"tags":{"astUsed":"true"},"startTime":1664597208217},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"build-module-css","id":7514,"timestamp":1674164292671,"duration":69392,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7508,"timestamp":1674164283280,"duration":79555,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7517,"name":"next-swc-transform","id":7518,"timestamp":1674164293071,"duration":70014,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7516,"name":"next-swc-loader","id":7517,"timestamp":1674164292991,"duration":70095,"tags":{},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"build-module-tsx","id":7516,"timestamp":1674164292916,"duration":74280,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208172},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7511,"timestamp":1674164283289,"duration":84106,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7513,"timestamp":1674164283293,"duration":89446,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7509,"timestamp":1674164283285,"duration":91429,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"add-entry","id":7510,"timestamp":1674164283287,"duration":124207,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597208162},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"make","id":7506,"timestamp":1674164282357,"duration":125158,"tags":{},"startTime":1664597208161},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-chunk-graph","id":7523,"timestamp":1674164411793,"duration":16350,"tags":{},"startTime":1664597208291},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-modules","id":7525,"timestamp":1674164428196,"duration":11,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-chunks","id":7526,"timestamp":1674164428241,"duration":83,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize-tree","id":7527,"timestamp":1674164428363,"duration":12,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-optimize","id":7524,"timestamp":1674164428170,"duration":1747,"tags":{},"startTime":1664597208307},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-hash","id":7528,"timestamp":1674164440984,"duration":4999,"tags":{},"startTime":1664597208320},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"NextJsBuildManifest-generateClientManifest","id":7530,"timestamp":1674164455962,"duration":53,"tags":{},"startTime":1664597208335},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"NextJsBuildManifest-createassets","id":7529,"timestamp":1674164455912,"duration":110,"tags":{},"startTime":1664597208335},{"traceId":"43f2de6d909a73f7","parentId":7505,"name":"webpack-compilation-seal","id":7522,"timestamp":1674164408716,"duration":48907,"tags":{},"startTime":1664597208288},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"webpack-compilation","id":7505,"timestamp":1674164282146,"duration":175498,"tags":{"name":"client"},"startTime":1664597208161},{"traceId":"43f2de6d909a73f7","parentId":7503,"name":"emit","id":7531,"timestamp":1674164457660,"duration":96465,"tags":{},"startTime":1664597208337},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7503,"timestamp":1674164268475,"duration":286469,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208147},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7538,"timestamp":1674165414030,"duration":0,"tags":{},"startTime":1664597209293},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7539,"timestamp":1674165414200,"duration":0,"tags":{},"startTime":1664597209293},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7537,"timestamp":1674165413227,"duration":8514,"tags":{"request":"private-next-pages/_error"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7536,"timestamp":1674165413223,"duration":8528,"tags":{"request":"private-next-pages/_document"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7541,"name":"next-swc-transform","id":7542,"timestamp":1674165421070,"duration":1179,"tags":{},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7540,"name":"next-swc-loader","id":7541,"timestamp":1674165421008,"duration":1242,"tags":{},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"build-module-tsx","id":7540,"timestamp":1674165420903,"duration":4724,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597209300},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"add-entry","id":7535,"timestamp":1674165413165,"duration":17901,"tags":{"request":"private-next-pages/_app"},"startTime":1664597209292},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"make","id":7533,"timestamp":1674164556334,"duration":874751,"tags":{},"startTime":1664597208435},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-chunk-graph","id":7544,"timestamp":1674165431444,"duration":189,"tags":{},"startTime":1664597209310},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-modules","id":7546,"timestamp":1674165431640,"duration":1,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-chunks","id":7547,"timestamp":1674165431675,"duration":34,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize-tree","id":7548,"timestamp":1674165431730,"duration":14,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-optimize","id":7545,"timestamp":1674165431637,"duration":209,"tags":{},"startTime":1664597209311},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-hash","id":7549,"timestamp":1674165433298,"duration":824,"tags":{},"startTime":1664597209312},{"traceId":"43f2de6d909a73f7","parentId":7532,"name":"webpack-compilation-seal","id":7543,"timestamp":1674165431386,"duration":4013,"tags":{},"startTime":1664597209310},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"webpack-compilation","id":7532,"timestamp":1674164555866,"duration":879552,"tags":{"name":"server"},"startTime":1664597208435},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7551,"timestamp":1664597209292000,"duration":18000,"tags":{"clientId":1664595509559},"startTime":1664597209317},{"traceId":"43f2de6d909a73f7","parentId":7504,"name":"emit","id":7550,"timestamp":1674165435431,"duration":4656,"tags":{},"startTime":1664597209314},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7504,"timestamp":1674164268733,"duration":1171718,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597208148},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7554,"timestamp":1674165444930,"duration":3374,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7555,"timestamp":1674165444956,"duration":3958,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"read-resource","id":7562,"timestamp":1674165449165,"duration":34,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7563,"name":"postcss-process","id":7564,"timestamp":1674165449224,"duration":32283,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"postcss-loader","id":7563,"timestamp":1674165449216,"duration":32458,"tags":{},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":7561,"name":"css-loader","id":7565,"timestamp":1674165481713,"duration":8604,"tags":{"astUsed":"true"},"startTime":1664597209361},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"build-module-css","id":7561,"timestamp":1674165448995,"duration":42579,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597209328},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7566,"timestamp":1664597209292999,"duration":39000,"tags":{"clientId":1664596721221},"startTime":1664597209371},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7559,"timestamp":1674165444965,"duration":49202,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7558,"timestamp":1674165444963,"duration":49220,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7560,"timestamp":1674165444970,"duration":52365,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7556,"timestamp":1674165444959,"duration":52460,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"add-entry","id":7557,"timestamp":1674165444961,"duration":80585,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597209324},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"make","id":7553,"timestamp":1674165443487,"duration":82082,"tags":{},"startTime":1664597209322},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-chunk-graph","id":7568,"timestamp":1674165529960,"duration":15963,"tags":{},"startTime":1664597209409},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-modules","id":7570,"timestamp":1674165545955,"duration":2,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-chunks","id":7571,"timestamp":1674165545967,"duration":37,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize-tree","id":7572,"timestamp":1674165546026,"duration":3,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-optimize","id":7569,"timestamp":1674165545945,"duration":1579,"tags":{},"startTime":1664597209425},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-hash","id":7573,"timestamp":1674165558730,"duration":5620,"tags":{},"startTime":1664597209438},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"NextJsBuildManifest-generateClientManifest","id":7575,"timestamp":1674165565078,"duration":49,"tags":{},"startTime":1664597209444},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"NextJsBuildManifest-createassets","id":7574,"timestamp":1674165565022,"duration":109,"tags":{},"startTime":1664597209444},{"traceId":"43f2de6d909a73f7","parentId":7552,"name":"webpack-compilation-seal","id":7567,"timestamp":1674165526793,"duration":39167,"tags":{},"startTime":1664597209406},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"webpack-compilation","id":7552,"timestamp":1674165443324,"duration":122657,"tags":{"name":"client"},"startTime":1664597209322},{"traceId":"43f2de6d909a73f7","parentId":7534,"name":"emit","id":7576,"timestamp":1674165565992,"duration":2728,"tags":{},"startTime":1664597209445},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7534,"timestamp":1674165412862,"duration":156630,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597209292}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7577,"timestamp":1674165580572,"duration":0,"tags":{},"startTime":1664597209460},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7578,"timestamp":1674165580615,"duration":0,"tags":{},"startTime":1664597209460},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7585,"timestamp":1674191908319,"duration":6184,"tags":{"request":"private-next-pages/_error"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7584,"timestamp":1674191908316,"duration":6198,"tags":{"request":"private-next-pages/_document"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7587,"name":"next-swc-transform","id":7588,"timestamp":1674191914211,"duration":1296,"tags":{},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7586,"name":"next-swc-loader","id":7587,"timestamp":1674191914162,"duration":1349,"tags":{},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"build-module-tsx","id":7586,"timestamp":1674191914029,"duration":3612,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235794},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"add-entry","id":7583,"timestamp":1674191908276,"duration":12006,"tags":{"request":"private-next-pages/_app"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"make","id":7582,"timestamp":1674191908094,"duration":12207,"tags":{},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-chunk-graph","id":7590,"timestamp":1674191920584,"duration":160,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-modules","id":7592,"timestamp":1674191920757,"duration":2,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-chunks","id":7593,"timestamp":1674191920766,"duration":17,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize-tree","id":7594,"timestamp":1674191920791,"duration":2,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-optimize","id":7591,"timestamp":1674191920751,"duration":91,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-hash","id":7595,"timestamp":1674191921843,"duration":515,"tags":{},"startTime":1664597235802},{"traceId":"43f2de6d909a73f7","parentId":7581,"name":"webpack-compilation-seal","id":7589,"timestamp":1674191920520,"duration":3086,"tags":{},"startTime":1664597235801},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"webpack-compilation","id":7581,"timestamp":1674191907895,"duration":15748,"tags":{"name":"server"},"startTime":1664597235788},{"traceId":"43f2de6d909a73f7","parentId":7579,"name":"emit","id":7596,"timestamp":1674191923660,"duration":2603,"tags":{},"startTime":1664597235804},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7579,"timestamp":1674191901528,"duration":25055,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235782},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7599,"timestamp":1674191933421,"duration":9651,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7600,"timestamp":1674191933467,"duration":10336,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"read-resource","id":7607,"timestamp":1674191943987,"duration":88,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7609,"name":"postcss-process","id":7610,"timestamp":1674191944095,"duration":38531,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"postcss-loader","id":7609,"timestamp":1674191944086,"duration":38690,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7606,"name":"css-loader","id":7613,"timestamp":1674191982794,"duration":9510,"tags":{"astUsed":"true"},"startTime":1664597235863},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"build-module-css","id":7606,"timestamp":1674191943887,"duration":49356,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7611,"name":"next-swc-transform","id":7612,"timestamp":1674191944322,"duration":49064,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7608,"name":"next-swc-loader","id":7611,"timestamp":1674191944285,"duration":49103,"tags":{},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"build-module-tsx","id":7608,"timestamp":1674191944011,"duration":51650,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235824},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7604,"timestamp":1674191933484,"duration":62432,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7603,"timestamp":1674191933481,"duration":62447,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7605,"timestamp":1674191933485,"duration":66838,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7601,"timestamp":1674191933477,"duration":72980,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"add-entry","id":7602,"timestamp":1674191933479,"duration":89834,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597235814},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"make","id":7598,"timestamp":1674191930343,"duration":92991,"tags":{},"startTime":1664597235810},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-chunk-graph","id":7615,"timestamp":1674192027382,"duration":3640,"tags":{},"startTime":1664597235908},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-modules","id":7617,"timestamp":1674192031037,"duration":2,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-chunks","id":7618,"timestamp":1674192031051,"duration":32,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize-tree","id":7619,"timestamp":1674192031102,"duration":7,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-optimize","id":7616,"timestamp":1674192031032,"duration":985,"tags":{},"startTime":1664597235911},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-hash","id":7620,"timestamp":1674192040762,"duration":5136,"tags":{},"startTime":1664597235921},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"NextJsBuildManifest-generateClientManifest","id":7622,"timestamp":1674192053419,"duration":65,"tags":{},"startTime":1664597235934},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"NextJsBuildManifest-createassets","id":7621,"timestamp":1674192053376,"duration":115,"tags":{},"startTime":1664597235934},{"traceId":"43f2de6d909a73f7","parentId":7597,"name":"webpack-compilation-seal","id":7614,"timestamp":1674192024428,"duration":30860,"tags":{},"startTime":1664597235905},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"webpack-compilation","id":7597,"timestamp":1674191930163,"duration":125150,"tags":{"name":"client"},"startTime":1664597235810},{"traceId":"43f2de6d909a73f7","parentId":7580,"name":"emit","id":7623,"timestamp":1674192055329,"duration":101160,"tags":{},"startTime":1664597235935},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7580,"timestamp":1674191901677,"duration":256321,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597235782}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7625,"timestamp":1674192171350,"duration":0,"tags":{},"startTime":1664597236052},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7626,"timestamp":1674192171601,"duration":0,"tags":{},"startTime":1664597236052},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7629,"timestamp":1674192183985,"duration":5393,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7636,"timestamp":1664597236051000,"duration":17999,"tags":{"clientId":1664595509559},"startTime":1664597236070},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7630,"timestamp":1674192184033,"duration":6170,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"read-resource","id":7638,"timestamp":1674192190460,"duration":38,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7639,"name":"postcss-process","id":7640,"timestamp":1674192190533,"duration":57345,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"postcss-loader","id":7639,"timestamp":1674192190518,"duration":57794,"tags":{},"startTime":1664597236071},{"traceId":"43f2de6d909a73f7","parentId":7637,"name":"css-loader","id":7641,"timestamp":1674192248347,"duration":11917,"tags":{"astUsed":"true"},"startTime":1664597236129},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"build-module-css","id":7637,"timestamp":1674192190306,"duration":72225,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597236070},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7634,"timestamp":1674192184042,"duration":79356,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7633,"timestamp":1674192184039,"duration":79371,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7635,"timestamp":1674192184043,"duration":82455,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7631,"timestamp":1674192184036,"duration":82523,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7642,"timestamp":1664597236052999,"duration":105000,"tags":{"clientId":1664596721221},"startTime":1664597236166},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"add-entry","id":7632,"timestamp":1674192184038,"duration":114362,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597236064},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"make","id":7628,"timestamp":1674192181682,"duration":116752,"tags":{},"startTime":1664597236062},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-chunk-graph","id":7644,"timestamp":1674192303261,"duration":17817,"tags":{},"startTime":1664597236183},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-modules","id":7646,"timestamp":1674192321104,"duration":3,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-chunks","id":7647,"timestamp":1674192321116,"duration":110,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize-tree","id":7648,"timestamp":1674192321248,"duration":3,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-optimize","id":7645,"timestamp":1674192321096,"duration":1527,"tags":{},"startTime":1664597236201},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-hash","id":7649,"timestamp":1674192332722,"duration":3537,"tags":{},"startTime":1664597236213},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"NextJsBuildManifest-generateClientManifest","id":7651,"timestamp":1674192336827,"duration":50,"tags":{},"startTime":1664597236217},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"NextJsBuildManifest-createassets","id":7650,"timestamp":1674192336773,"duration":107,"tags":{},"startTime":1664597236217},{"traceId":"43f2de6d909a73f7","parentId":7627,"name":"webpack-compilation-seal","id":7643,"timestamp":1674192300086,"duration":37609,"tags":{},"startTime":1664597236180},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"webpack-compilation","id":7627,"timestamp":1674192181468,"duration":156247,"tags":{"name":"client"},"startTime":1664597236062},{"traceId":"43f2de6d909a73f7","parentId":7624,"name":"emit","id":7652,"timestamp":1674192337733,"duration":2041,"tags":{},"startTime":1664597236218},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7624,"timestamp":1674192170579,"duration":169798,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597236051}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7653,"timestamp":1674192352865,"duration":0,"tags":{},"startTime":1664597236233},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7654,"timestamp":1674192352934,"duration":0,"tags":{},"startTime":1664597236233},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7659,"timestamp":1674195770940,"duration":3114,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7660,"timestamp":1674195770981,"duration":3728,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"read-resource","id":7667,"timestamp":1674195774973,"duration":94,"tags":{},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7669,"name":"postcss-process","id":7670,"timestamp":1674195775089,"duration":32768,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"postcss-loader","id":7669,"timestamp":1674195775080,"duration":33012,"tags":{},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7666,"name":"css-loader","id":7673,"timestamp":1674195808111,"duration":10578,"tags":{"astUsed":"true"},"startTime":1664597239689},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"build-module-css","id":7666,"timestamp":1674195774847,"duration":44738,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7671,"name":"next-swc-transform","id":7672,"timestamp":1674195775374,"duration":44399,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7668,"name":"next-swc-loader","id":7671,"timestamp":1674195775300,"duration":44475,"tags":{},"startTime":1664597239656},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"build-module-tsx","id":7668,"timestamp":1674195774997,"duration":46910,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239655},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7664,"timestamp":1674195770990,"duration":51214,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7663,"timestamp":1674195770987,"duration":51252,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7665,"timestamp":1674195770991,"duration":54334,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7661,"timestamp":1674195770984,"duration":59606,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"add-entry","id":7662,"timestamp":1674195770986,"duration":78016,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597239651},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"make","id":7658,"timestamp":1674195770008,"duration":79016,"tags":{},"startTime":1664597239650},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-chunk-graph","id":7675,"timestamp":1674195853040,"duration":3466,"tags":{},"startTime":1664597239733},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-modules","id":7677,"timestamp":1674195856521,"duration":2,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-chunks","id":7678,"timestamp":1674195856532,"duration":32,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize-tree","id":7679,"timestamp":1674195856581,"duration":3,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-optimize","id":7676,"timestamp":1674195856516,"duration":925,"tags":{},"startTime":1664597239737},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-hash","id":7680,"timestamp":1674195866817,"duration":3126,"tags":{},"startTime":1664597239747},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"NextJsBuildManifest-generateClientManifest","id":7682,"timestamp":1674195879075,"duration":44,"tags":{},"startTime":1664597239759},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"NextJsBuildManifest-createassets","id":7681,"timestamp":1674195879032,"duration":96,"tags":{},"startTime":1664597239759},{"traceId":"43f2de6d909a73f7","parentId":7657,"name":"webpack-compilation-seal","id":7674,"timestamp":1674195850056,"duration":30715,"tags":{},"startTime":1664597239730},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"webpack-compilation","id":7657,"timestamp":1674195769842,"duration":110952,"tags":{"name":"client"},"startTime":1664597239650},{"traceId":"43f2de6d909a73f7","parentId":7655,"name":"emit","id":7683,"timestamp":1674195880806,"duration":83204,"tags":{},"startTime":1664597239761},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7655,"timestamp":1674195759771,"duration":204679,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239640},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7690,"timestamp":1674195974314,"duration":0,"tags":{},"startTime":1664597239855},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7691,"timestamp":1674195974567,"duration":0,"tags":{},"startTime":1664597239855},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7689,"timestamp":1674195973869,"duration":3833,"tags":{"request":"private-next-pages/_error"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7688,"timestamp":1674195973866,"duration":3843,"tags":{"request":"private-next-pages/_document"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7693,"name":"next-swc-transform","id":7694,"timestamp":1674195977414,"duration":1328,"tags":{},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7692,"name":"next-swc-loader","id":7693,"timestamp":1674195977378,"duration":1371,"tags":{},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"build-module-tsx","id":7692,"timestamp":1674195977302,"duration":2822,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239858},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"add-entry","id":7687,"timestamp":1674195973828,"duration":13003,"tags":{"request":"private-next-pages/_app"},"startTime":1664597239854},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"make","id":7685,"timestamp":1674195965429,"duration":21419,"tags":{},"startTime":1664597239846},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-chunk-graph","id":7696,"timestamp":1674195987064,"duration":130,"tags":{},"startTime":1664597239867},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-modules","id":7698,"timestamp":1674195987200,"duration":1,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-chunks","id":7699,"timestamp":1674195987208,"duration":13,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize-tree","id":7700,"timestamp":1674195987228,"duration":2,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-optimize","id":7697,"timestamp":1674195987198,"duration":77,"tags":{},"startTime":1664597239868},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-hash","id":7701,"timestamp":1674195988102,"duration":375,"tags":{},"startTime":1664597239869},{"traceId":"43f2de6d909a73f7","parentId":7684,"name":"webpack-compilation-seal","id":7695,"timestamp":1674195987012,"duration":2451,"tags":{},"startTime":1664597239867},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"webpack-compilation","id":7684,"timestamp":1674195965283,"duration":24195,"tags":{"name":"server"},"startTime":1664597239846},{"traceId":"43f2de6d909a73f7","parentId":7656,"name":"emit","id":7702,"timestamp":1674195989487,"duration":2315,"tags":{},"startTime":1664597239870},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7656,"timestamp":1674195759956,"duration":232062,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597239640},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7712,"timestamp":1664597239854000,"duration":24999,"tags":{"clientId":1664595509559},"startTime":1664597239880},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7705,"timestamp":1674195996562,"duration":3241,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7706,"timestamp":1674195996587,"duration":3758,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"read-resource","id":7714,"timestamp":1674196000502,"duration":30,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7715,"name":"postcss-process","id":7716,"timestamp":1674196000551,"duration":31001,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"postcss-loader","id":7715,"timestamp":1674196000543,"duration":31197,"tags":{},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":7713,"name":"css-loader","id":7717,"timestamp":1674196031766,"duration":11118,"tags":{"astUsed":"true"},"startTime":1664597239912},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"build-module-css","id":7713,"timestamp":1674196000421,"duration":43377,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597239881},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7718,"timestamp":1664597239855000,"duration":26999,"tags":{"clientId":1664596721221},"startTime":1664597239924},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7710,"timestamp":1674195996594,"duration":47628,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7709,"timestamp":1674195996592,"duration":47642,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7711,"timestamp":1674195996596,"duration":50296,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7707,"timestamp":1674195996589,"duration":50364,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"add-entry","id":7708,"timestamp":1674195996591,"duration":78178,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597239877},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"make","id":7704,"timestamp":1674195995256,"duration":79532,"tags":{},"startTime":1664597239876},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-chunk-graph","id":7720,"timestamp":1674196078969,"duration":3659,"tags":{},"startTime":1664597239959},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-modules","id":7722,"timestamp":1674196082649,"duration":2,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-chunks","id":7723,"timestamp":1674196082660,"duration":34,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize-tree","id":7724,"timestamp":1674196082725,"duration":3,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-optimize","id":7721,"timestamp":1674196082643,"duration":1106,"tags":{},"startTime":1664597239963},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-hash","id":7725,"timestamp":1674196092718,"duration":3129,"tags":{},"startTime":1664597239973},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"NextJsBuildManifest-generateClientManifest","id":7727,"timestamp":1674196096350,"duration":45,"tags":{},"startTime":1664597239977},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"NextJsBuildManifest-createassets","id":7726,"timestamp":1674196096314,"duration":83,"tags":{},"startTime":1664597239977},{"traceId":"43f2de6d909a73f7","parentId":7703,"name":"webpack-compilation-seal","id":7719,"timestamp":1674196075735,"duration":21508,"tags":{},"startTime":1664597239956},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"webpack-compilation","id":7703,"timestamp":1674195995042,"duration":102220,"tags":{"name":"client"},"startTime":1664597239875},{"traceId":"43f2de6d909a73f7","parentId":7686,"name":"emit","id":7728,"timestamp":1674196097273,"duration":3117,"tags":{},"startTime":1664597239978},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7686,"timestamp":1674195973608,"duration":127789,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597239854}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7729,"timestamp":1674196127268,"duration":0,"tags":{},"startTime":1664597240008},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7730,"timestamp":1674196127314,"duration":0,"tags":{},"startTime":1664597240008},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7735,"timestamp":1674210942911,"duration":9007,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7736,"timestamp":1674210943010,"duration":10873,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"read-resource","id":7743,"timestamp":1674210954350,"duration":128,"tags":{},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7745,"name":"postcss-process","id":7746,"timestamp":1674210954514,"duration":42684,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"postcss-loader","id":7745,"timestamp":1674210954498,"duration":43081,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7742,"name":"css-loader","id":7749,"timestamp":1674210997597,"duration":11747,"tags":{"astUsed":"true"},"startTime":1664597254879},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"build-module-css","id":7742,"timestamp":1674210954089,"duration":66130,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7747,"name":"next-swc-transform","id":7748,"timestamp":1674210955158,"duration":65292,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7744,"name":"next-swc-loader","id":7747,"timestamp":1674210955056,"duration":65396,"tags":{},"startTime":1664597254836},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"build-module-tsx","id":7744,"timestamp":1674210954383,"duration":71441,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254835},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7740,"timestamp":1674210943023,"duration":83103,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7739,"timestamp":1674210943020,"duration":83125,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7741,"timestamp":1674210943027,"duration":86496,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7737,"timestamp":1674210943016,"duration":94776,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"add-entry","id":7738,"timestamp":1674210943018,"duration":114811,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597254824},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"make","id":7734,"timestamp":1674210941872,"duration":115978,"tags":{},"startTime":1664597254823},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-chunk-graph","id":7751,"timestamp":1674211061943,"duration":17359,"tags":{},"startTime":1664597254943},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-modules","id":7753,"timestamp":1674211079355,"duration":11,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-chunks","id":7754,"timestamp":1674211079401,"duration":143,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize-tree","id":7755,"timestamp":1674211079587,"duration":14,"tags":{},"startTime":1664597254961},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-optimize","id":7752,"timestamp":1674211079331,"duration":1980,"tags":{},"startTime":1664597254960},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-hash","id":7756,"timestamp":1674211094112,"duration":7237,"tags":{},"startTime":1664597254975},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"NextJsBuildManifest-generateClientManifest","id":7758,"timestamp":1674211112687,"duration":62,"tags":{},"startTime":1664597254994},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"NextJsBuildManifest-createassets","id":7757,"timestamp":1674211112617,"duration":141,"tags":{},"startTime":1664597254994},{"traceId":"43f2de6d909a73f7","parentId":7733,"name":"webpack-compilation-seal","id":7750,"timestamp":1674211058946,"duration":56386,"tags":{},"startTime":1664597254940},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"webpack-compilation","id":7733,"timestamp":1674210941057,"duration":174337,"tags":{"name":"client"},"startTime":1664597254822},{"traceId":"43f2de6d909a73f7","parentId":7731,"name":"emit","id":7759,"timestamp":1674211115435,"duration":102171,"tags":{},"startTime":1664597254996},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7731,"timestamp":1674210928390,"duration":291376,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254809},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7766,"timestamp":1674211241911,"duration":0,"tags":{},"startTime":1664597255123},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7767,"timestamp":1674211242022,"duration":0,"tags":{},"startTime":1664597255123},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7765,"timestamp":1674211240743,"duration":9846,"tags":{"request":"private-next-pages/_error"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7764,"timestamp":1674211240740,"duration":9862,"tags":{"request":"private-next-pages/_document"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7769,"name":"next-swc-transform","id":7770,"timestamp":1674211249929,"duration":1439,"tags":{},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7768,"name":"next-swc-loader","id":7769,"timestamp":1674211249869,"duration":1502,"tags":{},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"build-module-tsx","id":7768,"timestamp":1674211249761,"duration":8209,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597255131},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"add-entry","id":7763,"timestamp":1674211240670,"duration":21061,"tags":{"request":"private-next-pages/_app"},"startTime":1664597255122},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"make","id":7761,"timestamp":1674211221881,"duration":39876,"tags":{},"startTime":1664597255103},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-chunk-graph","id":7772,"timestamp":1674211262188,"duration":277,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-modules","id":7774,"timestamp":1674211262474,"duration":2,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-chunks","id":7775,"timestamp":1674211262515,"duration":42,"tags":{},"startTime":1664597255144},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize-tree","id":7776,"timestamp":1674211262589,"duration":16,"tags":{},"startTime":1664597255144},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-optimize","id":7773,"timestamp":1674211262471,"duration":240,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-hash","id":7777,"timestamp":1674211264340,"duration":973,"tags":{},"startTime":1664597255145},{"traceId":"43f2de6d909a73f7","parentId":7760,"name":"webpack-compilation-seal","id":7771,"timestamp":1674211262116,"duration":4794,"tags":{},"startTime":1664597255143},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"webpack-compilation","id":7760,"timestamp":1674211221601,"duration":45333,"tags":{"name":"server"},"startTime":1664597255103},{"traceId":"43f2de6d909a73f7","parentId":7732,"name":"emit","id":7778,"timestamp":1674211266950,"duration":7171,"tags":{},"startTime":1664597255148},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7732,"timestamp":1674210928654,"duration":346009,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597254810},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7781,"timestamp":1664597255121999,"duration":33000,"tags":{"clientId":1664595509559},"startTime":1664597255160},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7782,"timestamp":1664597255121999,"duration":34000,"tags":{"clientId":1664596721221},"startTime":1664597255160},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7783,"timestamp":1674211279795,"duration":3660,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7784,"timestamp":1674211279861,"duration":4402,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"read-resource","id":7791,"timestamp":1674211284548,"duration":41,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7792,"name":"postcss-process","id":7793,"timestamp":1674211284618,"duration":35030,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"postcss-loader","id":7792,"timestamp":1674211284607,"duration":35301,"tags":{},"startTime":1664597255166},{"traceId":"43f2de6d909a73f7","parentId":7790,"name":"css-loader","id":7794,"timestamp":1674211319932,"duration":9808,"tags":{"astUsed":"true"},"startTime":1664597255201},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"build-module-css","id":7790,"timestamp":1674211284372,"duration":51277,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597255165},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7788,"timestamp":1674211279872,"duration":58855,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7787,"timestamp":1674211279869,"duration":58879,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7789,"timestamp":1674211279874,"duration":62433,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7785,"timestamp":1674211279865,"duration":62522,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"add-entry","id":7786,"timestamp":1674211279867,"duration":92482,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597255161},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"make","id":7780,"timestamp":1674211278246,"duration":94124,"tags":{},"startTime":1664597255159},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-chunk-graph","id":7796,"timestamp":1674211376306,"duration":16898,"tags":{},"startTime":1664597255257},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-modules","id":7798,"timestamp":1674211393229,"duration":2,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-chunks","id":7799,"timestamp":1674211393239,"duration":101,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize-tree","id":7800,"timestamp":1674211393363,"duration":4,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-optimize","id":7797,"timestamp":1674211393222,"duration":1740,"tags":{},"startTime":1664597255274},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-hash","id":7801,"timestamp":1674211406524,"duration":5973,"tags":{},"startTime":1664597255288},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"NextJsBuildManifest-generateClientManifest","id":7803,"timestamp":1674211413285,"duration":53,"tags":{},"startTime":1664597255294},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"NextJsBuildManifest-createassets","id":7802,"timestamp":1674211413237,"duration":104,"tags":{},"startTime":1664597255294},{"traceId":"43f2de6d909a73f7","parentId":7779,"name":"webpack-compilation-seal","id":7795,"timestamp":1674211373431,"duration":40790,"tags":{},"startTime":1664597255254},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"webpack-compilation","id":7779,"timestamp":1674211278050,"duration":136190,"tags":{"name":"client"},"startTime":1664597255159},{"traceId":"43f2de6d909a73f7","parentId":7762,"name":"emit","id":7804,"timestamp":1674211414253,"duration":1991,"tags":{},"startTime":1664597255295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7762,"timestamp":1674211240372,"duration":176521,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597255121}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7805,"timestamp":1674211428596,"duration":0,"tags":{},"startTime":1664597255310},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7806,"timestamp":1674211428645,"duration":0,"tags":{},"startTime":1664597255310},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7811,"timestamp":1674224559082,"duration":4926,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7816,"timestamp":1674224559185,"duration":5775,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"read-resource","id":7819,"timestamp":1674224564813,"duration":1260,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7823,"name":"postcss-process","id":7824,"timestamp":1674224566099,"duration":32998,"tags":{},"startTime":1664597268447},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"postcss-loader","id":7823,"timestamp":1674224566089,"duration":33167,"tags":{},"startTime":1664597268447},{"traceId":"43f2de6d909a73f7","parentId":7818,"name":"css-loader","id":7825,"timestamp":1674224599273,"duration":11250,"tags":{"astUsed":"true"},"startTime":1664597268480},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"build-module-css","id":7818,"timestamp":1674224564723,"duration":46785,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7812,"timestamp":1674224559167,"duration":52614,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7821,"name":"next-swc-transform","id":7822,"timestamp":1674224565191,"duration":46819,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7820,"name":"next-swc-loader","id":7821,"timestamp":1674224565147,"duration":46865,"tags":{},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"build-module-tsx","id":7820,"timestamp":1674224565087,"duration":49546,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268446},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7815,"timestamp":1674224559183,"duration":55726,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7817,"timestamp":1674224559187,"duration":59196,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7813,"timestamp":1674224559178,"duration":60778,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"add-entry","id":7814,"timestamp":1674224559180,"duration":145388,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597268440},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"make","id":7810,"timestamp":1674224558246,"duration":146345,"tags":{},"startTime":1664597268439},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-chunk-graph","id":7827,"timestamp":1674224709400,"duration":4093,"tags":{},"startTime":1664597268591},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-modules","id":7829,"timestamp":1674224713518,"duration":2,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-chunks","id":7830,"timestamp":1674224713529,"duration":32,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize-tree","id":7831,"timestamp":1674224713581,"duration":3,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-optimize","id":7828,"timestamp":1674224713511,"duration":998,"tags":{},"startTime":1664597268595},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-hash","id":7832,"timestamp":1674224724740,"duration":4148,"tags":{},"startTime":1664597268606},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"NextJsBuildManifest-generateClientManifest","id":7834,"timestamp":1674224740827,"duration":112,"tags":{},"startTime":1664597268622},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"NextJsBuildManifest-createassets","id":7833,"timestamp":1674224740765,"duration":187,"tags":{},"startTime":1664597268622},{"traceId":"43f2de6d909a73f7","parentId":7809,"name":"webpack-compilation-seal","id":7826,"timestamp":1674224705938,"duration":37250,"tags":{},"startTime":1664597268587},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"webpack-compilation","id":7809,"timestamp":1674224558074,"duration":185142,"tags":{"name":"client"},"startTime":1664597268439},{"traceId":"43f2de6d909a73f7","parentId":7807,"name":"emit","id":7835,"timestamp":1674224743234,"duration":111015,"tags":{},"startTime":1664597268624},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7807,"timestamp":1674224546184,"duration":308826,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268427},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7841,"timestamp":1674224869034,"duration":0,"tags":{},"startTime":1664597268750},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7842,"timestamp":1674224869095,"duration":0,"tags":{},"startTime":1664597268750},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7840,"timestamp":1674224868238,"duration":4947,"tags":{"request":"private-next-pages/_error"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7839,"timestamp":1674224868234,"duration":4960,"tags":{"request":"private-next-pages/_document"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7844,"name":"next-swc-transform","id":7845,"timestamp":1674224873528,"duration":1485,"tags":{},"startTime":1664597268755},{"traceId":"43f2de6d909a73f7","parentId":7843,"name":"next-swc-loader","id":7844,"timestamp":1674224873377,"duration":1643,"tags":{},"startTime":1664597268755},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"build-module-tsx","id":7843,"timestamp":1674224873229,"duration":10116,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268754},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"add-entry","id":7838,"timestamp":1674224868155,"duration":20169,"tags":{"request":"private-next-pages/_app"},"startTime":1664597268749},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"make","id":7837,"timestamp":1674224856839,"duration":31506,"tags":{},"startTime":1664597268738},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-chunk-graph","id":7847,"timestamp":1674224888706,"duration":201,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-modules","id":7849,"timestamp":1674224888914,"duration":2,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-chunks","id":7850,"timestamp":1674224888923,"duration":24,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize-tree","id":7851,"timestamp":1674224888954,"duration":4,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-optimize","id":7848,"timestamp":1674224888911,"duration":93,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-hash","id":7852,"timestamp":1674224890039,"duration":441,"tags":{},"startTime":1664597268771},{"traceId":"43f2de6d909a73f7","parentId":7836,"name":"webpack-compilation-seal","id":7846,"timestamp":1674224888641,"duration":2867,"tags":{},"startTime":1664597268770},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"webpack-compilation","id":7836,"timestamp":1674224856428,"duration":35101,"tags":{"name":"server"},"startTime":1664597268738},{"traceId":"43f2de6d909a73f7","parentId":7808,"name":"emit","id":7853,"timestamp":1674224891541,"duration":1484,"tags":{},"startTime":1664597268773},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7808,"timestamp":1674224546442,"duration":346915,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597268428}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7854,"timestamp":1664597268430000,"duration":350999,"tags":{"clientId":1664596721221},"startTime":1664597268782},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7855,"timestamp":1664597268428000,"duration":432000,"tags":{"clientId":1664595509559},"startTime":1664597268860},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7860,"timestamp":1674231338303,"duration":4325,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7861,"timestamp":1674231338352,"duration":5223,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"read-resource","id":7868,"timestamp":1674231343977,"duration":109,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7870,"name":"postcss-process","id":7871,"timestamp":1674231344126,"duration":38280,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"postcss-loader","id":7870,"timestamp":1674231344113,"duration":38663,"tags":{},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7867,"name":"css-loader","id":7874,"timestamp":1674231382842,"duration":9041,"tags":{"astUsed":"true"},"startTime":1664597275264},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"build-module-css","id":7867,"timestamp":1674231343743,"duration":49343,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7872,"name":"next-swc-transform","id":7873,"timestamp":1674231344535,"duration":48722,"tags":{},"startTime":1664597275226},{"traceId":"43f2de6d909a73f7","parentId":7869,"name":"next-swc-loader","id":7872,"timestamp":1674231344494,"duration":48764,"tags":{},"startTime":1664597275226},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"build-module-tsx","id":7869,"timestamp":1674231344004,"duration":52951,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275225},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7865,"timestamp":1674231338363,"duration":61893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7864,"timestamp":1674231338360,"duration":61912,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7866,"timestamp":1674231338365,"duration":64883,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7862,"timestamp":1674231338355,"duration":70509,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"add-entry","id":7863,"timestamp":1674231338358,"duration":90086,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597275220},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"make","id":7859,"timestamp":1674231334657,"duration":93809,"tags":{},"startTime":1664597275216},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-chunk-graph","id":7876,"timestamp":1674231432191,"duration":15557,"tags":{},"startTime":1664597275313},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-modules","id":7878,"timestamp":1674231447769,"duration":2,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-chunks","id":7879,"timestamp":1674231447780,"duration":30,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize-tree","id":7880,"timestamp":1674231447828,"duration":3,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-optimize","id":7877,"timestamp":1674231447761,"duration":1317,"tags":{},"startTime":1664597275329},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-hash","id":7881,"timestamp":1674231459363,"duration":3483,"tags":{},"startTime":1664597275341},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"NextJsBuildManifest-generateClientManifest","id":7883,"timestamp":1674231471571,"duration":51,"tags":{},"startTime":1664597275353},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"NextJsBuildManifest-createassets","id":7882,"timestamp":1674231471515,"duration":117,"tags":{},"startTime":1664597275353},{"traceId":"43f2de6d909a73f7","parentId":7858,"name":"webpack-compilation-seal","id":7875,"timestamp":1674231429485,"duration":43836,"tags":{},"startTime":1664597275311},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"webpack-compilation","id":7858,"timestamp":1674231334350,"duration":138999,"tags":{"name":"client"},"startTime":1664597275216},{"traceId":"43f2de6d909a73f7","parentId":7856,"name":"emit","id":7884,"timestamp":1674231473362,"duration":91976,"tags":{},"startTime":1664597275355},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7856,"timestamp":1674231321303,"duration":244726,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275203},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7891,"timestamp":1674231577917,"duration":0,"tags":{},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7892,"timestamp":1674231577964,"duration":0,"tags":{},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7890,"timestamp":1674231577254,"duration":13567,"tags":{"request":"private-next-pages/_error"},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7889,"timestamp":1674231577251,"duration":13585,"tags":{"request":"private-next-pages/_document"},"startTime":1664597275459},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7896,"timestamp":1664597275459000,"duration":16000,"tags":{"clientId":1664595509559},"startTime":1664597275475},{"traceId":"43f2de6d909a73f7","parentId":7894,"name":"next-swc-transform","id":7895,"timestamp":1674231588952,"duration":6568,"tags":{},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":7893,"name":"next-swc-loader","id":7894,"timestamp":1674231588876,"duration":6648,"tags":{},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"build-module-tsx","id":7893,"timestamp":1674231588774,"duration":10122,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275470},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7897,"timestamp":1664597275459000,"duration":20999,"tags":{"clientId":1664596721221},"startTime":1664597275481},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"add-entry","id":7888,"timestamp":1674231577193,"duration":24898,"tags":{"request":"private-next-pages/_app"},"startTime":1664597275458},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"make","id":7886,"timestamp":1674231567196,"duration":34907,"tags":{},"startTime":1664597275448},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-chunk-graph","id":7899,"timestamp":1674231602357,"duration":196,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-modules","id":7901,"timestamp":1674231602560,"duration":2,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-chunks","id":7902,"timestamp":1674231602569,"duration":30,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize-tree","id":7903,"timestamp":1674231602608,"duration":5,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-optimize","id":7900,"timestamp":1674231602557,"duration":105,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-hash","id":7904,"timestamp":1674231603889,"duration":439,"tags":{},"startTime":1664597275485},{"traceId":"43f2de6d909a73f7","parentId":7885,"name":"webpack-compilation-seal","id":7898,"timestamp":1674231602297,"duration":5066,"tags":{},"startTime":1664597275484},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"webpack-compilation","id":7885,"timestamp":1674231567024,"duration":40364,"tags":{"name":"server"},"startTime":1664597275448},{"traceId":"43f2de6d909a73f7","parentId":7857,"name":"emit","id":7905,"timestamp":1674231607406,"duration":3560,"tags":{},"startTime":1664597275489},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7857,"timestamp":1674231321541,"duration":289745,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597275203},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7908,"timestamp":1674231616222,"duration":3799,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597275497},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7909,"timestamp":1674231616254,"duration":4397,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"read-resource","id":7916,"timestamp":1674231620984,"duration":47,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7917,"name":"postcss-process","id":7918,"timestamp":1674231621065,"duration":34569,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"postcss-loader","id":7917,"timestamp":1674231621055,"duration":34883,"tags":{},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7915,"name":"css-loader","id":7919,"timestamp":1674231655962,"duration":9222,"tags":{"astUsed":"true"},"startTime":1664597275537},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"build-module-css","id":7915,"timestamp":1674231620843,"duration":45720,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597275502},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7913,"timestamp":1674231616265,"duration":52466,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7912,"timestamp":1674231616262,"duration":52488,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7914,"timestamp":1674231616267,"duration":55810,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7910,"timestamp":1674231616256,"duration":55903,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"add-entry","id":7911,"timestamp":1674231616260,"duration":86283,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597275498},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"make","id":7907,"timestamp":1674231614670,"duration":87895,"tags":{},"startTime":1664597275496},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-chunk-graph","id":7921,"timestamp":1674231706561,"duration":16470,"tags":{},"startTime":1664597275588},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-modules","id":7923,"timestamp":1674231723054,"duration":2,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-chunks","id":7924,"timestamp":1674231723065,"duration":31,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize-tree","id":7925,"timestamp":1674231723116,"duration":3,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-optimize","id":7922,"timestamp":1674231723047,"duration":1326,"tags":{},"startTime":1664597275604},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-hash","id":7926,"timestamp":1674231733865,"duration":3003,"tags":{},"startTime":1664597275615},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"NextJsBuildManifest-generateClientManifest","id":7928,"timestamp":1674231737409,"duration":48,"tags":{},"startTime":1664597275619},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"NextJsBuildManifest-createassets","id":7927,"timestamp":1674231737365,"duration":96,"tags":{},"startTime":1664597275619},{"traceId":"43f2de6d909a73f7","parentId":7906,"name":"webpack-compilation-seal","id":7920,"timestamp":1674231703572,"duration":34751,"tags":{},"startTime":1664597275585},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"webpack-compilation","id":7906,"timestamp":1674231614499,"duration":123844,"tags":{"name":"client"},"startTime":1664597275496},{"traceId":"43f2de6d909a73f7","parentId":7887,"name":"emit","id":7929,"timestamp":1674231738356,"duration":2762,"tags":{},"startTime":1664597275620},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7887,"timestamp":1674231576954,"duration":164643,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597275458}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7930,"timestamp":1674231752806,"duration":0,"tags":{},"startTime":1664597275634},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7931,"timestamp":1674231752851,"duration":0,"tags":{},"startTime":1664597275634},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7936,"timestamp":1674246692433,"duration":9826,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7937,"timestamp":1674246692522,"duration":12381,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"read-resource","id":7944,"timestamp":1674246705389,"duration":119,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7946,"name":"postcss-process","id":7947,"timestamp":1674246705541,"duration":42736,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"postcss-loader","id":7946,"timestamp":1674246705528,"duration":43118,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7943,"name":"css-loader","id":7950,"timestamp":1674246748665,"duration":12568,"tags":{"astUsed":"true"},"startTime":1664597290630},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"build-module-css","id":7943,"timestamp":1674246705152,"duration":67107,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597290586},{"traceId":"43f2de6d909a73f7","parentId":7948,"name":"next-swc-transform","id":7949,"timestamp":1674246705892,"duration":66599,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7945,"name":"next-swc-loader","id":7948,"timestamp":1674246705828,"duration":66665,"tags":{},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"build-module-tsx","id":7945,"timestamp":1674246705417,"duration":72206,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290587},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7941,"timestamp":1674246692532,"duration":85380,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7940,"timestamp":1674246692530,"duration":85398,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7942,"timestamp":1674246692535,"duration":89668,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7938,"timestamp":1674246692525,"duration":96761,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"add-entry","id":7939,"timestamp":1674246692527,"duration":117483,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597290574},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"make","id":7935,"timestamp":1674246691449,"duration":118583,"tags":{},"startTime":1664597290573},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-chunk-graph","id":7952,"timestamp":1674246814362,"duration":16534,"tags":{},"startTime":1664597290696},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-modules","id":7954,"timestamp":1674246830941,"duration":12,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-chunks","id":7955,"timestamp":1674246830984,"duration":47,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize-tree","id":7956,"timestamp":1674246831066,"duration":13,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-optimize","id":7953,"timestamp":1674246830919,"duration":1533,"tags":{},"startTime":1664597290712},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-hash","id":7957,"timestamp":1674246843141,"duration":5223,"tags":{},"startTime":1664597290724},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"NextJsBuildManifest-generateClientManifest","id":7959,"timestamp":1674246861301,"duration":59,"tags":{},"startTime":1664597290743},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"NextJsBuildManifest-createassets","id":7958,"timestamp":1674246861241,"duration":125,"tags":{},"startTime":1664597290743},{"traceId":"43f2de6d909a73f7","parentId":7934,"name":"webpack-compilation-seal","id":7951,"timestamp":1674246811284,"duration":52154,"tags":{},"startTime":1664597290693},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"webpack-compilation","id":7934,"timestamp":1674246690599,"duration":172870,"tags":{"name":"client"},"startTime":1664597290572},{"traceId":"43f2de6d909a73f7","parentId":7932,"name":"emit","id":7960,"timestamp":1674246863489,"duration":88610,"tags":{},"startTime":1664597290745},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7932,"timestamp":1674246677909,"duration":275233,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290559},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7967,"timestamp":1674246988072,"duration":0,"tags":{},"startTime":1664597290869},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":7968,"timestamp":1674246988143,"duration":0,"tags":{},"startTime":1664597290869},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7966,"timestamp":1674246973200,"duration":21759,"tags":{"request":"private-next-pages/_error"},"startTime":1664597290855},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7965,"timestamp":1674246973197,"duration":21777,"tags":{"request":"private-next-pages/_document"},"startTime":1664597290855},{"traceId":"43f2de6d909a73f7","parentId":7970,"name":"next-swc-transform","id":7971,"timestamp":1674246993753,"duration":3375,"tags":{},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7969,"name":"next-swc-loader","id":7970,"timestamp":1674246993672,"duration":3463,"tags":{},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"build-module-tsx","id":7969,"timestamp":1674246993530,"duration":6954,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290875},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"add-entry","id":7964,"timestamp":1674246973161,"duration":32323,"tags":{"request":"private-next-pages/_app"},"startTime":1664597290854},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"make","id":7962,"timestamp":1674246955188,"duration":50315,"tags":{},"startTime":1664597290836},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-chunk-graph","id":7973,"timestamp":1674247005843,"duration":193,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-modules","id":7975,"timestamp":1674247006042,"duration":2,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-chunks","id":7976,"timestamp":1674247006075,"duration":33,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize-tree","id":7977,"timestamp":1674247006128,"duration":14,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-optimize","id":7974,"timestamp":1674247006040,"duration":292,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-hash","id":7978,"timestamp":1674247007847,"duration":872,"tags":{},"startTime":1664597290889},{"traceId":"43f2de6d909a73f7","parentId":7961,"name":"webpack-compilation-seal","id":7972,"timestamp":1674247005781,"duration":4312,"tags":{},"startTime":1664597290887},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"webpack-compilation","id":7961,"timestamp":1674246954809,"duration":55307,"tags":{"name":"server"},"startTime":1664597290836},{"traceId":"43f2de6d909a73f7","parentId":7933,"name":"emit","id":7979,"timestamp":1674247010130,"duration":2675,"tags":{},"startTime":1664597290891},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":7933,"timestamp":1674246678186,"duration":335016,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597290559},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7982,"timestamp":1664597290854000,"duration":42999,"tags":{"clientId":1664595509559},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7983,"timestamp":1674247019864,"duration":3621,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":7990,"timestamp":1664597290855000,"duration":45999,"tags":{"clientId":1664596721221},"startTime":1664597290905},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7984,"timestamp":1674247019896,"duration":4364,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"read-resource","id":7992,"timestamp":1674247024524,"duration":41,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7993,"name":"postcss-process","id":7994,"timestamp":1674247024591,"duration":45749,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"postcss-loader","id":7993,"timestamp":1674247024582,"duration":46196,"tags":{},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7991,"name":"css-loader","id":7995,"timestamp":1674247070802,"duration":12902,"tags":{"astUsed":"true"},"startTime":1664597290952},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"build-module-css","id":7991,"timestamp":1674247024346,"duration":60639,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597290906},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7988,"timestamp":1674247019908,"duration":65470,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7987,"timestamp":1674247019903,"duration":65489,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7989,"timestamp":1674247019910,"duration":68685,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7985,"timestamp":1674247019899,"duration":68790,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"add-entry","id":7986,"timestamp":1674247019901,"duration":101084,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597290901},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"make","id":7981,"timestamp":1674247018106,"duration":102900,"tags":{},"startTime":1664597290899},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-chunk-graph","id":7997,"timestamp":1674247126132,"duration":16636,"tags":{},"startTime":1664597291007},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-modules","id":7999,"timestamp":1674247142794,"duration":2,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-chunks","id":8000,"timestamp":1674247142806,"duration":35,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize-tree","id":8001,"timestamp":1674247142868,"duration":3,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-optimize","id":7998,"timestamp":1674247142785,"duration":1911,"tags":{},"startTime":1664597291024},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-hash","id":8002,"timestamp":1674247156422,"duration":6520,"tags":{},"startTime":1664597291038},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"NextJsBuildManifest-generateClientManifest","id":8004,"timestamp":1674247163565,"duration":57,"tags":{},"startTime":1664597291045},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"NextJsBuildManifest-createassets","id":8003,"timestamp":1674247163513,"duration":111,"tags":{},"startTime":1664597291045},{"traceId":"43f2de6d909a73f7","parentId":7980,"name":"webpack-compilation-seal","id":7996,"timestamp":1674247122160,"duration":42421,"tags":{},"startTime":1664597291003},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"webpack-compilation","id":7980,"timestamp":1674247017947,"duration":146661,"tags":{"name":"client"},"startTime":1664597290899},{"traceId":"43f2de6d909a73f7","parentId":7963,"name":"emit","id":8005,"timestamp":1674247164620,"duration":2170,"tags":{},"startTime":1664597291046},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":7963,"timestamp":1674246972883,"duration":194663,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597290854}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8006,"timestamp":1674247178750,"duration":0,"tags":{},"startTime":1664597291060},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8007,"timestamp":1674247178826,"duration":0,"tags":{},"startTime":1664597291060},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8012,"timestamp":1674275042079,"duration":4261,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8013,"timestamp":1674275042128,"duration":5021,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"read-resource","id":8020,"timestamp":1674275047391,"duration":103,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8022,"name":"postcss-process","id":8023,"timestamp":1674275047520,"duration":41488,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"postcss-loader","id":8022,"timestamp":1674275047507,"duration":41670,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8019,"name":"css-loader","id":8026,"timestamp":1674275089197,"duration":10425,"tags":{"astUsed":"true"},"startTime":1664597318971},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"build-module-css","id":8019,"timestamp":1674275047255,"duration":53241,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8024,"name":"next-swc-transform","id":8025,"timestamp":1674275047819,"duration":52829,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8021,"name":"next-swc-loader","id":8024,"timestamp":1674275047757,"duration":52894,"tags":{},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"build-module-tsx","id":8021,"timestamp":1674275047417,"duration":56423,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318929},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8017,"timestamp":1674275042147,"duration":61956,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8016,"timestamp":1674275042144,"duration":61970,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8018,"timestamp":1674275042149,"duration":66206,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8014,"timestamp":1674275042139,"duration":72792,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"add-entry","id":8015,"timestamp":1674275042142,"duration":89471,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"make","id":8011,"timestamp":1674275041203,"duration":90429,"tags":{},"startTime":1664597318923},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-chunk-graph","id":8028,"timestamp":1674275135720,"duration":5319,"tags":{},"startTime":1664597319017},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-modules","id":8030,"timestamp":1674275141073,"duration":2,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-chunks","id":8031,"timestamp":1674275141084,"duration":81,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize-tree","id":8032,"timestamp":1674275141185,"duration":3,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-optimize","id":8029,"timestamp":1674275141066,"duration":999,"tags":{},"startTime":1664597319022},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-hash","id":8033,"timestamp":1674275150124,"duration":4024,"tags":{},"startTime":1664597319031},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"NextJsBuildManifest-generateClientManifest","id":8035,"timestamp":1674275164567,"duration":75,"tags":{},"startTime":1664597319046},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"NextJsBuildManifest-createassets","id":8034,"timestamp":1674275164517,"duration":135,"tags":{},"startTime":1664597319046},{"traceId":"43f2de6d909a73f7","parentId":8010,"name":"webpack-compilation-seal","id":8027,"timestamp":1674275132640,"duration":33960,"tags":{},"startTime":1664597319014},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"webpack-compilation","id":8010,"timestamp":1674275041009,"duration":125631,"tags":{"name":"client"},"startTime":1664597318922},{"traceId":"43f2de6d909a73f7","parentId":8008,"name":"emit","id":8036,"timestamp":1674275166655,"duration":95108,"tags":{},"startTime":1664597319048},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8008,"timestamp":1674275030746,"duration":241024,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318912},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8043,"timestamp":1674275286580,"duration":0,"tags":{},"startTime":1664597319168},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8044,"timestamp":1674275290233,"duration":0,"tags":{},"startTime":1664597319172},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8042,"timestamp":1674275285376,"duration":9917,"tags":{"request":"private-next-pages/_error"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8041,"timestamp":1674275285372,"duration":9934,"tags":{"request":"private-next-pages/_document"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8048,"timestamp":1664597319167000,"duration":15000,"tags":{"clientId":1664595509559},"startTime":1664597319183},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8049,"timestamp":1664597319168999,"duration":16000,"tags":{"clientId":1664596721221},"startTime":1664597319185},{"traceId":"43f2de6d909a73f7","parentId":8046,"name":"next-swc-transform","id":8047,"timestamp":1674275294602,"duration":11301,"tags":{},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8045,"name":"next-swc-loader","id":8046,"timestamp":1674275294527,"duration":11383,"tags":{},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"build-module-tsx","id":8045,"timestamp":1674275294360,"duration":14440,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597319176},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"add-entry","id":8040,"timestamp":1674275285283,"duration":25948,"tags":{"request":"private-next-pages/_app"},"startTime":1664597319167},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"make","id":8038,"timestamp":1674275274284,"duration":36966,"tags":{},"startTime":1664597319156},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-chunk-graph","id":8051,"timestamp":1674275311598,"duration":230,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-modules","id":8053,"timestamp":1674275311836,"duration":2,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-chunks","id":8054,"timestamp":1674275311846,"duration":22,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize-tree","id":8055,"timestamp":1674275311877,"duration":5,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-optimize","id":8052,"timestamp":1674275311833,"duration":103,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-hash","id":8056,"timestamp":1674275313056,"duration":444,"tags":{},"startTime":1664597319194},{"traceId":"43f2de6d909a73f7","parentId":8037,"name":"webpack-compilation-seal","id":8050,"timestamp":1674275311525,"duration":3247,"tags":{},"startTime":1664597319193},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"webpack-compilation","id":8037,"timestamp":1674275272894,"duration":41904,"tags":{"name":"server"},"startTime":1664597319154},{"traceId":"43f2de6d909a73f7","parentId":8009,"name":"emit","id":8057,"timestamp":1674275314814,"duration":3656,"tags":{},"startTime":1664597319196},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8009,"timestamp":1674275030988,"duration":287730,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597318912},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8060,"timestamp":1674275323292,"duration":4194,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8061,"timestamp":1674275323326,"duration":4930,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"read-resource","id":8068,"timestamp":1674275328542,"duration":54,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8069,"name":"postcss-process","id":8070,"timestamp":1674275328629,"duration":33507,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"postcss-loader","id":8069,"timestamp":1674275328616,"duration":33789,"tags":{},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8067,"name":"css-loader","id":8071,"timestamp":1674275362427,"duration":9332,"tags":{"astUsed":"true"},"startTime":1664597319244},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"build-module-css","id":8067,"timestamp":1674275328389,"duration":44763,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597319210},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8065,"timestamp":1674275323336,"duration":51935,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8064,"timestamp":1674275323334,"duration":51954,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8066,"timestamp":1674275323337,"duration":55101,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8062,"timestamp":1674275323329,"duration":55196,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"add-entry","id":8063,"timestamp":1674275323331,"duration":81893,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597319205},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"make","id":8059,"timestamp":1674275321908,"duration":83336,"tags":{},"startTime":1664597319203},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-chunk-graph","id":8073,"timestamp":1674275408963,"duration":16483,"tags":{},"startTime":1664597319290},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-modules","id":8075,"timestamp":1674275425481,"duration":3,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-chunks","id":8076,"timestamp":1674275425493,"duration":34,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize-tree","id":8077,"timestamp":1674275425548,"duration":3,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-optimize","id":8074,"timestamp":1674275425473,"duration":1685,"tags":{},"startTime":1664597319307},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-hash","id":8078,"timestamp":1674275437344,"duration":3647,"tags":{},"startTime":1664597319319},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"NextJsBuildManifest-generateClientManifest","id":8080,"timestamp":1674275441588,"duration":54,"tags":{},"startTime":1664597319323},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"NextJsBuildManifest-createassets","id":8079,"timestamp":1674275441536,"duration":109,"tags":{},"startTime":1664597319323},{"traceId":"43f2de6d909a73f7","parentId":8058,"name":"webpack-compilation-seal","id":8072,"timestamp":1674275406231,"duration":36367,"tags":{},"startTime":1664597319288},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"webpack-compilation","id":8058,"timestamp":1674275321742,"duration":120887,"tags":{"name":"client"},"startTime":1664597319203},{"traceId":"43f2de6d909a73f7","parentId":8039,"name":"emit","id":8081,"timestamp":1674275442646,"duration":3243,"tags":{},"startTime":1664597319324},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8039,"timestamp":1674275284986,"duration":161550,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597319166}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8082,"timestamp":1674275458135,"duration":0,"tags":{},"startTime":1664597319339},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8083,"timestamp":1674275458194,"duration":0,"tags":{},"startTime":1664597319340},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8090,"timestamp":1674285482978,"duration":9634,"tags":{"request":"private-next-pages/_error"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8089,"timestamp":1674285482975,"duration":9651,"tags":{"request":"private-next-pages/_document"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8092,"name":"next-swc-transform","id":8093,"timestamp":1674285492895,"duration":1220,"tags":{},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8091,"name":"next-swc-loader","id":8092,"timestamp":1674285492820,"duration":1301,"tags":{},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"build-module-tsx","id":8091,"timestamp":1674285492685,"duration":6091,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329374},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"add-entry","id":8088,"timestamp":1674285482886,"duration":18268,"tags":{"request":"private-next-pages/_app"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"make","id":8087,"timestamp":1674285482721,"duration":18450,"tags":{},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-chunk-graph","id":8095,"timestamp":1674285501595,"duration":238,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-modules","id":8097,"timestamp":1674285501861,"duration":10,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-chunks","id":8098,"timestamp":1674285501901,"duration":43,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize-tree","id":8099,"timestamp":1674285501967,"duration":14,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-optimize","id":8096,"timestamp":1674285501847,"duration":1323,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-hash","id":8100,"timestamp":1674285505256,"duration":639,"tags":{},"startTime":1664597329387},{"traceId":"43f2de6d909a73f7","parentId":8086,"name":"webpack-compilation-seal","id":8094,"timestamp":1674285501497,"duration":6854,"tags":{},"startTime":1664597329383},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"webpack-compilation","id":8086,"timestamp":1674285482518,"duration":25854,"tags":{"name":"server"},"startTime":1664597329364},{"traceId":"43f2de6d909a73f7","parentId":8084,"name":"emit","id":8101,"timestamp":1674285508384,"duration":2529,"tags":{},"startTime":1664597329390},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8084,"timestamp":1674285476664,"duration":34597,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329358},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8104,"timestamp":1674285516277,"duration":4665,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8109,"timestamp":1674285516320,"duration":5763,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8114,"name":"next-swc-transform","id":8115,"timestamp":1674285522327,"duration":1515,"tags":{},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8113,"name":"next-swc-loader","id":8114,"timestamp":1674285522284,"duration":1561,"tags":{},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"build-module-tsx","id":8113,"timestamp":1674285522214,"duration":5769,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329404},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"read-resource","id":8112,"timestamp":1674285521921,"duration":6588,"tags":{},"startTime":1664597329403},{"traceId":"43f2de6d909a73f7","parentId":8116,"name":"postcss-process","id":8117,"timestamp":1674285528531,"duration":35911,"tags":{},"startTime":1664597329410},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"postcss-loader","id":8116,"timestamp":1674285528521,"duration":36419,"tags":{},"startTime":1664597329410},{"traceId":"43f2de6d909a73f7","parentId":8111,"name":"css-loader","id":8118,"timestamp":1674285564962,"duration":13372,"tags":{"astUsed":"true"},"startTime":1664597329446},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"build-module-css","id":8111,"timestamp":1674285521771,"duration":62873,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597329403},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8105,"timestamp":1674285516307,"duration":70207,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8108,"timestamp":1674285516318,"duration":70567,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8110,"timestamp":1674285516322,"duration":73823,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8106,"timestamp":1674285516310,"duration":82128,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"add-entry","id":8107,"timestamp":1674285516316,"duration":115498,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597329398},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"make","id":8103,"timestamp":1674285514312,"duration":117526,"tags":{},"startTime":1664597329396},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-chunk-graph","id":8120,"timestamp":1674285637529,"duration":22285,"tags":{},"startTime":1664597329519},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-modules","id":8122,"timestamp":1674285659849,"duration":4,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-chunks","id":8123,"timestamp":1674285659944,"duration":106,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize-tree","id":8124,"timestamp":1674285660130,"duration":18,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-optimize","id":8121,"timestamp":1674285659835,"duration":2103,"tags":{},"startTime":1664597329541},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-hash","id":8125,"timestamp":1674285673525,"duration":9155,"tags":{},"startTime":1664597329555},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"NextJsBuildManifest-generateClientManifest","id":8127,"timestamp":1674285691499,"duration":61,"tags":{},"startTime":1664597329573},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"NextJsBuildManifest-createassets","id":8126,"timestamp":1674285691444,"duration":123,"tags":{},"startTime":1664597329573},{"traceId":"43f2de6d909a73f7","parentId":8102,"name":"webpack-compilation-seal","id":8119,"timestamp":1674285633226,"duration":60030,"tags":{},"startTime":1664597329515},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"webpack-compilation","id":8102,"timestamp":1674285514165,"duration":179115,"tags":{"name":"client"},"startTime":1664597329395},{"traceId":"43f2de6d909a73f7","parentId":8085,"name":"emit","id":8128,"timestamp":1674285693298,"duration":105356,"tags":{},"startTime":1664597329575},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8085,"timestamp":1674285476911,"duration":323163,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597329358}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8129,"timestamp":1674285817110,"duration":0,"tags":{},"startTime":1664597329698},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8130,"timestamp":1674285817383,"duration":0,"tags":{},"startTime":1664597329699},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8131,"timestamp":1664597329359000,"duration":346999,"tags":{"clientId":1664595509559},"startTime":1664597329707},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8132,"timestamp":1664597329359000,"duration":360000,"tags":{"clientId":1664596721221},"startTime":1664597329721},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8137,"timestamp":1674308378831,"duration":4722,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8138,"timestamp":1674308378913,"duration":5466,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"read-resource","id":8145,"timestamp":1674308384709,"duration":175,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8147,"name":"postcss-process","id":8148,"timestamp":1674308384915,"duration":43772,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"postcss-loader","id":8147,"timestamp":1674308384904,"duration":44078,"tags":{},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8144,"name":"css-loader","id":8151,"timestamp":1674308429008,"duration":9839,"tags":{"astUsed":"true"},"startTime":1664597352310},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"build-module-css","id":8144,"timestamp":1674308384529,"duration":55794,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8149,"name":"next-swc-transform","id":8150,"timestamp":1674308385577,"duration":54972,"tags":{},"startTime":1664597352267},{"traceId":"43f2de6d909a73f7","parentId":8146,"name":"next-swc-loader","id":8149,"timestamp":1674308385506,"duration":55046,"tags":{},"startTime":1664597352267},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"build-module-tsx","id":8146,"timestamp":1674308384741,"duration":59967,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352266},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8142,"timestamp":1674308378925,"duration":67761,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8141,"timestamp":1674308378923,"duration":67782,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8143,"timestamp":1674308378927,"duration":72001,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8139,"timestamp":1674308378918,"duration":78686,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"add-entry","id":8140,"timestamp":1674308378920,"duration":106599,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597352260},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"make","id":8136,"timestamp":1674308377933,"duration":107609,"tags":{},"startTime":1664597352259},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-chunk-graph","id":8153,"timestamp":1674308489781,"duration":17084,"tags":{},"startTime":1664597352371},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-modules","id":8155,"timestamp":1674308506891,"duration":3,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-chunks","id":8156,"timestamp":1674308506903,"duration":127,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize-tree","id":8157,"timestamp":1674308507053,"duration":3,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-optimize","id":8154,"timestamp":1674308506884,"duration":1648,"tags":{},"startTime":1664597352388},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-hash","id":8158,"timestamp":1674308521881,"duration":4053,"tags":{},"startTime":1664597352403},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"NextJsBuildManifest-generateClientManifest","id":8160,"timestamp":1674308541349,"duration":55,"tags":{},"startTime":1664597352423},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"NextJsBuildManifest-createassets","id":8159,"timestamp":1674308541286,"duration":127,"tags":{},"startTime":1664597352423},{"traceId":"43f2de6d909a73f7","parentId":8135,"name":"webpack-compilation-seal","id":8152,"timestamp":1674308486822,"duration":56706,"tags":{},"startTime":1664597352368},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"webpack-compilation","id":8135,"timestamp":1674308377710,"duration":165846,"tags":{"name":"client"},"startTime":1664597352259},{"traceId":"43f2de6d909a73f7","parentId":8133,"name":"emit","id":8161,"timestamp":1674308543583,"duration":99289,"tags":{},"startTime":1664597352425},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8133,"timestamp":1674308366739,"duration":276920,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352248},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8168,"timestamp":1674308660684,"duration":0,"tags":{},"startTime":1664597352542},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8169,"timestamp":1674308660735,"duration":0,"tags":{},"startTime":1664597352542},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8167,"timestamp":1674308659958,"duration":12823,"tags":{"request":"private-next-pages/_error"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8166,"timestamp":1674308659955,"duration":12842,"tags":{"request":"private-next-pages/_document"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8171,"name":"next-swc-transform","id":8172,"timestamp":1674308671003,"duration":1921,"tags":{},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8170,"name":"next-swc-loader","id":8171,"timestamp":1674308670925,"duration":2006,"tags":{},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"build-module-tsx","id":8170,"timestamp":1674308670762,"duration":5158,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352552},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"add-entry","id":8165,"timestamp":1674308659863,"duration":20680,"tags":{"request":"private-next-pages/_app"},"startTime":1664597352541},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"make","id":8163,"timestamp":1674308647221,"duration":33347,"tags":{},"startTime":1664597352529},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-chunk-graph","id":8174,"timestamp":1674308680901,"duration":206,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-modules","id":8176,"timestamp":1674308681114,"duration":2,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-chunks","id":8177,"timestamp":1674308681123,"duration":25,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize-tree","id":8178,"timestamp":1674308681157,"duration":4,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-optimize","id":8175,"timestamp":1674308681111,"duration":101,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-hash","id":8179,"timestamp":1674308682252,"duration":487,"tags":{},"startTime":1664597352564},{"traceId":"43f2de6d909a73f7","parentId":8162,"name":"webpack-compilation-seal","id":8173,"timestamp":1674308680838,"duration":3953,"tags":{},"startTime":1664597352562},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"webpack-compilation","id":8162,"timestamp":1674308646801,"duration":38015,"tags":{"name":"server"},"startTime":1664597352528},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8181,"timestamp":1664597352540999,"duration":20999,"tags":{"clientId":1664595509559},"startTime":1664597352570},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8182,"timestamp":1664597352540999,"duration":23000,"tags":{"clientId":1664596721221},"startTime":1664597352570},{"traceId":"43f2de6d909a73f7","parentId":8134,"name":"emit","id":8180,"timestamp":1674308684831,"duration":4926,"tags":{},"startTime":1664597352566},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8134,"timestamp":1674308367031,"duration":323017,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597352248},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8185,"timestamp":1674308694513,"duration":3163,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8186,"timestamp":1674308694557,"duration":3600,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"read-resource","id":8193,"timestamp":1674308698353,"duration":33,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8194,"name":"postcss-process","id":8195,"timestamp":1674308698412,"duration":35266,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"postcss-loader","id":8194,"timestamp":1674308698402,"duration":35505,"tags":{},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8192,"name":"css-loader","id":8196,"timestamp":1674308733926,"duration":9077,"tags":{"astUsed":"true"},"startTime":1664597352615},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"build-module-css","id":8192,"timestamp":1674308698235,"duration":46127,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597352580},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8190,"timestamp":1674308694569,"duration":51656,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8189,"timestamp":1674308694563,"duration":51682,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8191,"timestamp":1674308694592,"duration":54963,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8187,"timestamp":1674308694559,"duration":55084,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"add-entry","id":8188,"timestamp":1674308694561,"duration":82945,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597352576},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"make","id":8184,"timestamp":1674308693304,"duration":84226,"tags":{},"startTime":1664597352575},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-chunk-graph","id":8198,"timestamp":1674308781638,"duration":16109,"tags":{},"startTime":1664597352663},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-modules","id":8200,"timestamp":1674308797770,"duration":2,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-chunks","id":8201,"timestamp":1674308797781,"duration":30,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize-tree","id":8202,"timestamp":1674308797838,"duration":3,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-optimize","id":8199,"timestamp":1674308797763,"duration":1316,"tags":{},"startTime":1664597352679},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-hash","id":8203,"timestamp":1674308809741,"duration":3759,"tags":{},"startTime":1664597352691},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"NextJsBuildManifest-generateClientManifest","id":8205,"timestamp":1674308814065,"duration":50,"tags":{},"startTime":1664597352695},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"NextJsBuildManifest-createassets","id":8204,"timestamp":1674308814019,"duration":99,"tags":{},"startTime":1664597352695},{"traceId":"43f2de6d909a73f7","parentId":8183,"name":"webpack-compilation-seal","id":8197,"timestamp":1674308778812,"duration":36313,"tags":{},"startTime":1664597352660},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"webpack-compilation","id":8183,"timestamp":1674308693128,"duration":122029,"tags":{"name":"client"},"startTime":1664597352574},{"traceId":"43f2de6d909a73f7","parentId":8164,"name":"emit","id":8206,"timestamp":1674308815179,"duration":2354,"tags":{},"startTime":1664597352696},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8164,"timestamp":1674308659508,"duration":158512,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597352541}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8207,"timestamp":1674308829613,"duration":0,"tags":{},"startTime":1664597352711},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8208,"timestamp":1674308829692,"duration":0,"tags":{},"startTime":1664597352711},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8213,"timestamp":1674319429537,"duration":3575,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8214,"timestamp":1674319429570,"duration":4232,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"read-resource","id":8221,"timestamp":1674319433993,"duration":33,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8222,"name":"postcss-process","id":8223,"timestamp":1674319434047,"duration":34481,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"postcss-loader","id":8222,"timestamp":1674319434038,"duration":34670,"tags":{},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8220,"name":"css-loader","id":8224,"timestamp":1674319468728,"duration":8657,"tags":{"astUsed":"true"},"startTime":1664597363350},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"build-module-css","id":8220,"timestamp":1674319433900,"duration":44424,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597363315},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8218,"timestamp":1674319429585,"duration":50881,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8217,"timestamp":1674319429582,"duration":50896,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8219,"timestamp":1674319429586,"duration":53998,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8215,"timestamp":1674319429578,"duration":54078,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8226,"name":"next-swc-transform","id":8227,"timestamp":1674319482432,"duration":1374,"tags":{},"startTime":1664597363364},{"traceId":"43f2de6d909a73f7","parentId":8225,"name":"next-swc-loader","id":8226,"timestamp":1674319482394,"duration":1413,"tags":{},"startTime":1664597363364},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"build-module-tsx","id":8225,"timestamp":1674319481993,"duration":3972,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363363},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"add-entry","id":8216,"timestamp":1674319429580,"duration":96436,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597363311},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"make","id":8212,"timestamp":1674319428827,"duration":97212,"tags":{},"startTime":1664597363310},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-chunk-graph","id":8229,"timestamp":1674319536830,"duration":10182,"tags":{},"startTime":1664597363418},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-modules","id":8231,"timestamp":1674319547047,"duration":3,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-chunks","id":8232,"timestamp":1674319547061,"duration":77,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize-tree","id":8233,"timestamp":1674319547160,"duration":4,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-optimize","id":8230,"timestamp":1674319547037,"duration":1573,"tags":{},"startTime":1664597363428},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-hash","id":8234,"timestamp":1674319576901,"duration":4261,"tags":{},"startTime":1664597363458},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"NextJsBuildManifest-generateClientManifest","id":8236,"timestamp":1674319595431,"duration":47,"tags":{},"startTime":1664597363477},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"NextJsBuildManifest-createassets","id":8235,"timestamp":1674319595377,"duration":113,"tags":{},"startTime":1664597363477},{"traceId":"43f2de6d909a73f7","parentId":8211,"name":"webpack-compilation-seal","id":8228,"timestamp":1674319529057,"duration":68386,"tags":{},"startTime":1664597363410},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"webpack-compilation","id":8211,"timestamp":1674319428657,"duration":168815,"tags":{"name":"client"},"startTime":1664597363310},{"traceId":"43f2de6d909a73f7","parentId":8209,"name":"emit","id":8237,"timestamp":1674319597486,"duration":120904,"tags":{},"startTime":1664597363479},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8209,"timestamp":1674319417524,"duration":302205,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363299},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8243,"timestamp":1674319731924,"duration":0,"tags":{},"startTime":1664597363613},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8244,"timestamp":1674319732216,"duration":0,"tags":{},"startTime":1664597363614},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8242,"timestamp":1674319730826,"duration":5632,"tags":{"request":"private-next-pages/_error"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8241,"timestamp":1674319730822,"duration":5645,"tags":{"request":"private-next-pages/_document"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8246,"name":"next-swc-transform","id":8247,"timestamp":1674319736652,"duration":3774,"tags":{},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":8245,"name":"next-swc-loader","id":8246,"timestamp":1674319736587,"duration":3851,"tags":{},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"build-module-tsx","id":8245,"timestamp":1674319736495,"duration":6286,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363618},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8248,"timestamp":1664597363299000,"duration":324000,"tags":{"clientId":1664595509559},"startTime":1664597363624},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"add-entry","id":8240,"timestamp":1674319730736,"duration":13610,"tags":{"request":"private-next-pages/_app"},"startTime":1664597363612},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"make","id":8239,"timestamp":1674319720847,"duration":23516,"tags":{},"startTime":1664597363602},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-chunk-graph","id":8250,"timestamp":1674319744742,"duration":236,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-modules","id":8252,"timestamp":1674319744996,"duration":2,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-chunks","id":8253,"timestamp":1674319745006,"duration":25,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize-tree","id":8254,"timestamp":1674319745041,"duration":5,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-optimize","id":8251,"timestamp":1674319744992,"duration":106,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-hash","id":8255,"timestamp":1674319746204,"duration":416,"tags":{},"startTime":1664597363627},{"traceId":"43f2de6d909a73f7","parentId":8238,"name":"webpack-compilation-seal","id":8249,"timestamp":1674319744670,"duration":2994,"tags":{},"startTime":1664597363626},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"webpack-compilation","id":8238,"timestamp":1674319720661,"duration":27031,"tags":{"name":"server"},"startTime":1664597363602},{"traceId":"43f2de6d909a73f7","parentId":8210,"name":"emit","id":8256,"timestamp":1674319747710,"duration":2514,"tags":{},"startTime":1664597363629},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8210,"timestamp":1674319417745,"duration":332923,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597363299}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8257,"timestamp":1664597363300000,"duration":343000,"tags":{"clientId":1664596721221},"startTime":1664597363645},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8262,"timestamp":1674325616365,"duration":3669,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8263,"timestamp":1674325616399,"duration":4210,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"read-resource","id":8270,"timestamp":1674325620867,"duration":37,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8271,"name":"postcss-process","id":8272,"timestamp":1674325620930,"duration":33206,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"postcss-loader","id":8271,"timestamp":1674325620921,"duration":33384,"tags":{},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8269,"name":"css-loader","id":8273,"timestamp":1674325654325,"duration":9058,"tags":{"astUsed":"true"},"startTime":1664597369536},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"build-module-css","id":8269,"timestamp":1674325620710,"duration":43977,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597369502},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8267,"timestamp":1674325616407,"duration":48759,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8266,"timestamp":1674325616405,"duration":48774,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8268,"timestamp":1674325616410,"duration":55001,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8264,"timestamp":1674325616401,"duration":55102,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8275,"name":"next-swc-transform","id":8276,"timestamp":1674325667524,"duration":4259,"tags":{},"startTime":1664597369549},{"traceId":"43f2de6d909a73f7","parentId":8274,"name":"next-swc-loader","id":8275,"timestamp":1674325667477,"duration":4307,"tags":{},"startTime":1664597369549},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"build-module-tsx","id":8274,"timestamp":1674325666970,"duration":7102,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369548},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"add-entry","id":8265,"timestamp":1674325616403,"duration":90343,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597369498},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"make","id":8261,"timestamp":1674325613360,"duration":93408,"tags":{},"startTime":1664597369495},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-chunk-graph","id":8278,"timestamp":1674325710830,"duration":16392,"tags":{},"startTime":1664597369592},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-modules","id":8280,"timestamp":1674325727244,"duration":2,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-chunks","id":8281,"timestamp":1674325727256,"duration":32,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize-tree","id":8282,"timestamp":1674325727307,"duration":3,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-optimize","id":8279,"timestamp":1674325727237,"duration":1521,"tags":{},"startTime":1664597369609},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-hash","id":8283,"timestamp":1674325739333,"duration":3557,"tags":{},"startTime":1664597369621},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"NextJsBuildManifest-generateClientManifest","id":8285,"timestamp":1674325753968,"duration":51,"tags":{},"startTime":1664597369635},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"NextJsBuildManifest-createassets","id":8284,"timestamp":1674325753918,"duration":109,"tags":{},"startTime":1664597369635},{"traceId":"43f2de6d909a73f7","parentId":8260,"name":"webpack-compilation-seal","id":8277,"timestamp":1674325707792,"duration":48202,"tags":{},"startTime":1664597369589},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"webpack-compilation","id":8260,"timestamp":1674325613189,"duration":142832,"tags":{"name":"client"},"startTime":1664597369494},{"traceId":"43f2de6d909a73f7","parentId":8258,"name":"emit","id":8286,"timestamp":1674325756035,"duration":97016,"tags":{},"startTime":1664597369637},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8258,"timestamp":1674325601885,"duration":251930,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369483},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8292,"timestamp":1674325865171,"duration":0,"tags":{},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8293,"timestamp":1674325865220,"duration":0,"tags":{},"startTime":1664597369747},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8291,"timestamp":1674325864555,"duration":5242,"tags":{"request":"private-next-pages/_error"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8290,"timestamp":1674325864550,"duration":5254,"tags":{"request":"private-next-pages/_document"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8295,"name":"next-swc-transform","id":8296,"timestamp":1674325870019,"duration":1149,"tags":{},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8294,"name":"next-swc-loader","id":8295,"timestamp":1674325869954,"duration":1216,"tags":{},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"build-module-tsx","id":8294,"timestamp":1674325869833,"duration":3489,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369751},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"add-entry","id":8289,"timestamp":1674325864464,"duration":11115,"tags":{"request":"private-next-pages/_app"},"startTime":1664597369746},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"make","id":8288,"timestamp":1674325854848,"duration":20746,"tags":{},"startTime":1664597369736},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-chunk-graph","id":8298,"timestamp":1674325875885,"duration":230,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-modules","id":8300,"timestamp":1674325876124,"duration":2,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-chunks","id":8301,"timestamp":1674325876134,"duration":25,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize-tree","id":8302,"timestamp":1674325876166,"duration":4,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-optimize","id":8299,"timestamp":1674325876120,"duration":103,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-hash","id":8303,"timestamp":1674325877447,"duration":642,"tags":{},"startTime":1664597369759},{"traceId":"43f2de6d909a73f7","parentId":8287,"name":"webpack-compilation-seal","id":8297,"timestamp":1674325875824,"duration":3290,"tags":{},"startTime":1664597369757},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"webpack-compilation","id":8287,"timestamp":1674325854673,"duration":24464,"tags":{"name":"server"},"startTime":1664597369736},{"traceId":"43f2de6d909a73f7","parentId":8259,"name":"emit","id":8304,"timestamp":1674325879153,"duration":2704,"tags":{},"startTime":1664597369760},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8259,"timestamp":1674325602198,"duration":279977,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597369483}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8305,"timestamp":1664597369484000,"duration":287000,"tags":{"clientId":1664595509559},"startTime":1664597369771},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8306,"timestamp":1664597369484999,"duration":291000,"tags":{"clientId":1664596721221},"startTime":1664597369778},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8311,"timestamp":1674335266098,"duration":6305,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8312,"timestamp":1674335266174,"duration":7684,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"read-resource","id":8319,"timestamp":1674335274277,"duration":57,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8320,"name":"postcss-process","id":8321,"timestamp":1674335274375,"duration":44880,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"postcss-loader","id":8320,"timestamp":1674335274355,"duration":45282,"tags":{},"startTime":1664597379156},{"traceId":"43f2de6d909a73f7","parentId":8318,"name":"css-loader","id":8322,"timestamp":1674335319656,"duration":12720,"tags":{"astUsed":"true"},"startTime":1664597379201},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"build-module-css","id":8318,"timestamp":1674335273998,"duration":68962,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597379155},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8316,"timestamp":1674335266185,"duration":77229,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8315,"timestamp":1674335266183,"duration":77250,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8317,"timestamp":1674335266187,"duration":81514,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8313,"timestamp":1674335266178,"duration":81657,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8324,"name":"next-swc-transform","id":8325,"timestamp":1674335345665,"duration":2422,"tags":{},"startTime":1664597379227},{"traceId":"43f2de6d909a73f7","parentId":8323,"name":"next-swc-loader","id":8324,"timestamp":1674335345595,"duration":2494,"tags":{},"startTime":1664597379227},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"build-module-tsx","id":8323,"timestamp":1674335345139,"duration":6704,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379226},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"add-entry","id":8314,"timestamp":1674335266181,"duration":118595,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597379147},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"make","id":8310,"timestamp":1674335265095,"duration":119703,"tags":{},"startTime":1664597379146},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-chunk-graph","id":8327,"timestamp":1674335389696,"duration":19162,"tags":{},"startTime":1664597379271},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-modules","id":8329,"timestamp":1674335408892,"duration":3,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-chunks","id":8330,"timestamp":1674335408907,"duration":241,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize-tree","id":8331,"timestamp":1674335409185,"duration":6,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-optimize","id":8328,"timestamp":1674335408881,"duration":2064,"tags":{},"startTime":1664597379290},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-hash","id":8332,"timestamp":1674335423823,"duration":6558,"tags":{},"startTime":1664597379305},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"NextJsBuildManifest-generateClientManifest","id":8334,"timestamp":1674335441418,"duration":58,"tags":{},"startTime":1664597379323},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"NextJsBuildManifest-createassets","id":8333,"timestamp":1674335441367,"duration":118,"tags":{},"startTime":1664597379323},{"traceId":"43f2de6d909a73f7","parentId":8309,"name":"webpack-compilation-seal","id":8326,"timestamp":1674335386431,"duration":56817,"tags":{},"startTime":1664597379268},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"webpack-compilation","id":8309,"timestamp":1674335264095,"duration":179180,"tags":{"name":"client"},"startTime":1664597379145},{"traceId":"43f2de6d909a73f7","parentId":8307,"name":"emit","id":8335,"timestamp":1674335443291,"duration":88414,"tags":{},"startTime":1664597379325},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8307,"timestamp":1674335250195,"duration":282408,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379131},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8341,"timestamp":1674335561319,"duration":0,"tags":{},"startTime":1664597379443},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8342,"timestamp":1674335561731,"duration":0,"tags":{},"startTime":1664597379443},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8340,"timestamp":1674335547997,"duration":20688,"tags":{"request":"private-next-pages/_error"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8339,"timestamp":1674335547993,"duration":20710,"tags":{"request":"private-next-pages/_document"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8344,"name":"next-swc-transform","id":8345,"timestamp":1674335569297,"duration":5277,"tags":{},"startTime":1664597379451},{"traceId":"43f2de6d909a73f7","parentId":8343,"name":"next-swc-loader","id":8344,"timestamp":1674335569191,"duration":5393,"tags":{},"startTime":1664597379450},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"build-module-tsx","id":8343,"timestamp":1674335568747,"duration":16054,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379450},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8346,"timestamp":1664597379134000,"duration":326999,"tags":{"clientId":1664596721221},"startTime":1664597379467},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"add-entry","id":8338,"timestamp":1674335547951,"duration":38937,"tags":{"request":"private-next-pages/_app"},"startTime":1664597379429},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"make","id":8337,"timestamp":1674335534224,"duration":52683,"tags":{},"startTime":1664597379415},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-chunk-graph","id":8348,"timestamp":1674335587278,"duration":233,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-modules","id":8350,"timestamp":1674335587519,"duration":2,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-chunks","id":8351,"timestamp":1674335587530,"duration":25,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize-tree","id":8352,"timestamp":1674335587562,"duration":6,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-optimize","id":8349,"timestamp":1674335587516,"duration":110,"tags":{},"startTime":1664597379469},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-hash","id":8353,"timestamp":1674335588780,"duration":485,"tags":{},"startTime":1664597379470},{"traceId":"43f2de6d909a73f7","parentId":8336,"name":"webpack-compilation-seal","id":8347,"timestamp":1674335587205,"duration":3010,"tags":{},"startTime":1664597379468},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"webpack-compilation","id":8336,"timestamp":1674335533984,"duration":56251,"tags":{"name":"server"},"startTime":1664597379415},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8355,"timestamp":1664597379132000,"duration":336000,"tags":{"clientId":1664595509559},"startTime":1664597379472},{"traceId":"43f2de6d909a73f7","parentId":8308,"name":"emit","id":8354,"timestamp":1674335590249,"duration":1702,"tags":{},"startTime":1664597379472},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8308,"timestamp":1674335250485,"duration":341804,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/Connected.tsx"},"startTime":1664597379132}] -[{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8360,"timestamp":1674345973380,"duration":5864,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8365,"timestamp":1674345973421,"duration":7433,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"read-resource","id":8368,"timestamp":1674345980494,"duration":1119,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8372,"name":"postcss-process","id":8373,"timestamp":1674345981647,"duration":41187,"tags":{},"startTime":1664597389863},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"postcss-loader","id":8372,"timestamp":1674345981638,"duration":41864,"tags":{},"startTime":1664597389863},{"traceId":"43f2de6d909a73f7","parentId":8367,"name":"css-loader","id":8374,"timestamp":1674346023524,"duration":12831,"tags":{"astUsed":"true"},"startTime":1664597389905},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"build-module-css","id":8367,"timestamp":1674345980231,"duration":57456,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597389861},{"traceId":"43f2de6d909a73f7","parentId":8370,"name":"next-swc-transform","id":8371,"timestamp":1674345980650,"duration":57775,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8369,"name":"next-swc-loader","id":8370,"timestamp":1674345980600,"duration":57827,"tags":{},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"build-module-tsx","id":8369,"timestamp":1674345980528,"duration":61320,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389862},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8361,"timestamp":1674345973411,"duration":68833,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8364,"timestamp":1674345973419,"duration":69633,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8366,"timestamp":1674345973423,"duration":73005,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8362,"timestamp":1674345973414,"duration":80145,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"add-entry","id":8363,"timestamp":1674345973417,"duration":109076,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597389855},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"make","id":8359,"timestamp":1674345972459,"duration":110052,"tags":{},"startTime":1664597389854},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-chunk-graph","id":8376,"timestamp":1674346086528,"duration":17574,"tags":{},"startTime":1664597389968},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-modules","id":8378,"timestamp":1674346104132,"duration":2,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-chunks","id":8379,"timestamp":1674346104144,"duration":47,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize-tree","id":8380,"timestamp":1674346104208,"duration":3,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-optimize","id":8377,"timestamp":1674346104124,"duration":1537,"tags":{},"startTime":1664597389985},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-hash","id":8381,"timestamp":1674346117439,"duration":6342,"tags":{},"startTime":1664597389999},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"NextJsBuildManifest-generateClientManifest","id":8383,"timestamp":1674346139014,"duration":91,"tags":{},"startTime":1664597390020},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"NextJsBuildManifest-createassets","id":8382,"timestamp":1674346138935,"duration":184,"tags":{},"startTime":1664597390020},{"traceId":"43f2de6d909a73f7","parentId":8358,"name":"webpack-compilation-seal","id":8375,"timestamp":1674346083678,"duration":57416,"tags":{},"startTime":1664597389965},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"webpack-compilation","id":8358,"timestamp":1674345972285,"duration":168833,"tags":{"name":"client"},"startTime":1664597389854},{"traceId":"43f2de6d909a73f7","parentId":8356,"name":"emit","id":8384,"timestamp":1674346141133,"duration":90809,"tags":{},"startTime":1664597390022},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8356,"timestamp":1674345961139,"duration":271587,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389842},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8391,"timestamp":1674346264982,"duration":0,"tags":{},"startTime":1664597390146},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8392,"timestamp":1674346265087,"duration":0,"tags":{},"startTime":1664597390146},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8390,"timestamp":1674346251986,"duration":18962,"tags":{"request":"private-next-pages/_error"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8389,"timestamp":1674346251982,"duration":18979,"tags":{"request":"private-next-pages/_document"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8394,"name":"next-swc-transform","id":8395,"timestamp":1674346270152,"duration":2419,"tags":{},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8393,"name":"next-swc-loader","id":8394,"timestamp":1674346270072,"duration":2509,"tags":{},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"build-module-tsx","id":8393,"timestamp":1674346269966,"duration":6274,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597390151},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"add-entry","id":8388,"timestamp":1674346251946,"duration":27938,"tags":{"request":"private-next-pages/_app"},"startTime":1664597390133},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"make","id":8386,"timestamp":1674346236076,"duration":43827,"tags":{},"startTime":1664597390117},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-chunk-graph","id":8397,"timestamp":1674346280157,"duration":198,"tags":{},"startTime":1664597390161},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-modules","id":8399,"timestamp":1674346280361,"duration":2,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-chunks","id":8400,"timestamp":1674346280371,"duration":21,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize-tree","id":8401,"timestamp":1674346280398,"duration":4,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-optimize","id":8398,"timestamp":1674346280358,"duration":91,"tags":{},"startTime":1664597390162},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-hash","id":8402,"timestamp":1674346281519,"duration":428,"tags":{},"startTime":1664597390163},{"traceId":"43f2de6d909a73f7","parentId":8385,"name":"webpack-compilation-seal","id":8396,"timestamp":1674346280094,"duration":5340,"tags":{},"startTime":1664597390161},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"webpack-compilation","id":8385,"timestamp":1674346235242,"duration":50222,"tags":{"name":"server"},"startTime":1664597390117},{"traceId":"43f2de6d909a73f7","parentId":8357,"name":"emit","id":8403,"timestamp":1674346285482,"duration":2642,"tags":{},"startTime":1664597390167},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8357,"timestamp":1674345961397,"duration":326984,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597389843},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8406,"timestamp":1674346294537,"duration":3604,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8407,"timestamp":1674346294577,"duration":4079,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"read-resource","id":8414,"timestamp":1674346298862,"duration":33,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8415,"name":"postcss-process","id":8416,"timestamp":1674346298920,"duration":34643,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"postcss-loader","id":8415,"timestamp":1674346298911,"duration":34887,"tags":{},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":8413,"name":"css-loader","id":8417,"timestamp":1674346333817,"duration":11492,"tags":{"astUsed":"true"},"startTime":1664597390215},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"build-module-css","id":8413,"timestamp":1674346298739,"duration":47802,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597390180},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8418,"timestamp":1664597390132999,"duration":48000,"tags":{"clientId":1664595509559},"startTime":1664597390228},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8419,"timestamp":1664597390134000,"duration":53999,"tags":{"clientId":1664596721221},"startTime":1664597390228},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8411,"timestamp":1674346294586,"duration":52694,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8410,"timestamp":1674346294584,"duration":52717,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8412,"timestamp":1674346294590,"duration":56141,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8408,"timestamp":1674346294580,"duration":56252,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"add-entry","id":8409,"timestamp":1674346294582,"duration":86310,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597390176},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"make","id":8405,"timestamp":1674346292701,"duration":88219,"tags":{},"startTime":1664597390174},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-chunk-graph","id":8421,"timestamp":1674346384842,"duration":16545,"tags":{},"startTime":1664597390266},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-modules","id":8423,"timestamp":1674346401420,"duration":2,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-chunks","id":8424,"timestamp":1674346401432,"duration":33,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize-tree","id":8425,"timestamp":1674346401484,"duration":3,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-optimize","id":8422,"timestamp":1674346401412,"duration":1420,"tags":{},"startTime":1664597390283},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-hash","id":8426,"timestamp":1674346413551,"duration":3878,"tags":{},"startTime":1664597390295},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"NextJsBuildManifest-generateClientManifest","id":8428,"timestamp":1674346418002,"duration":51,"tags":{},"startTime":1664597390299},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"NextJsBuildManifest-createassets","id":8427,"timestamp":1674346417951,"duration":106,"tags":{},"startTime":1664597390299},{"traceId":"43f2de6d909a73f7","parentId":8404,"name":"webpack-compilation-seal","id":8420,"timestamp":1674346381941,"duration":36975,"tags":{},"startTime":1664597390263},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"webpack-compilation","id":8404,"timestamp":1674346292527,"duration":126410,"tags":{"name":"client"},"startTime":1664597390174},{"traceId":"43f2de6d909a73f7","parentId":8387,"name":"emit","id":8429,"timestamp":1674346418950,"duration":2280,"tags":{},"startTime":1664597390300},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8387,"timestamp":1674346251736,"duration":170026,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597390133}] -[{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8430,"timestamp":1674346431996,"duration":0,"tags":{},"startTime":1664597390313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8431,"timestamp":1674346432065,"duration":0,"tags":{},"startTime":1664597390313},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8436,"timestamp":1674353128225,"duration":4206,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597397009},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8437,"timestamp":1674353128265,"duration":4778,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"read-resource","id":8444,"timestamp":1674353133253,"duration":93,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8446,"name":"postcss-process","id":8447,"timestamp":1674353133372,"duration":35814,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"postcss-loader","id":8446,"timestamp":1674353133360,"duration":35984,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8443,"name":"css-loader","id":8450,"timestamp":1674353169361,"duration":11470,"tags":{"astUsed":"true"},"startTime":1664597397051},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"build-module-css","id":8443,"timestamp":1674353133140,"duration":48698,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597397014},{"traceId":"43f2de6d909a73f7","parentId":8448,"name":"next-swc-transform","id":8449,"timestamp":1674353133642,"duration":48378,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8445,"name":"next-swc-loader","id":8448,"timestamp":1674353133597,"duration":48424,"tags":{},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"build-module-tsx","id":8445,"timestamp":1674353133274,"duration":51828,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597397015},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8441,"timestamp":1674353128286,"duration":57069,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8440,"timestamp":1674353128283,"duration":57083,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8442,"timestamp":1674353128288,"duration":59820,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8438,"timestamp":1674353128278,"duration":65065,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"add-entry","id":8439,"timestamp":1674353128281,"duration":87199,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597397010},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"make","id":8435,"timestamp":1674353127356,"duration":88143,"tags":{},"startTime":1664597397009},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-chunk-graph","id":8452,"timestamp":1674353223734,"duration":7823,"tags":{},"startTime":1664597397105},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-modules","id":8454,"timestamp":1674353231581,"duration":46,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-chunks","id":8455,"timestamp":1674353231658,"duration":40,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize-tree","id":8456,"timestamp":1674353231719,"duration":4,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-optimize","id":8453,"timestamp":1674353231573,"duration":1219,"tags":{},"startTime":1664597397113},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-hash","id":8457,"timestamp":1674353258412,"duration":7525,"tags":{},"startTime":1664597397140},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"NextJsBuildManifest-generateClientManifest","id":8459,"timestamp":1674353290431,"duration":86,"tags":{},"startTime":1664597397172},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"NextJsBuildManifest-createassets","id":8458,"timestamp":1674353290357,"duration":174,"tags":{},"startTime":1664597397172},{"traceId":"43f2de6d909a73f7","parentId":8434,"name":"webpack-compilation-seal","id":8451,"timestamp":1674353217560,"duration":77177,"tags":{},"startTime":1664597397099},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"webpack-compilation","id":8434,"timestamp":1674353127174,"duration":167680,"tags":{"name":"client"},"startTime":1664597397008},{"traceId":"43f2de6d909a73f7","parentId":8432,"name":"emit","id":8460,"timestamp":1674353294892,"duration":101100,"tags":{},"startTime":1664597397176},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8432,"timestamp":1674353115434,"duration":281210,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597396997},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8467,"timestamp":1674353413886,"duration":0,"tags":{},"startTime":1664597397295},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-success","id":8468,"timestamp":1674353414097,"duration":0,"tags":{},"startTime":1664597397295},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8466,"timestamp":1674353413000,"duration":8919,"tags":{"request":"private-next-pages/_error"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8465,"timestamp":1674353412996,"duration":8935,"tags":{"request":"private-next-pages/_document"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8470,"name":"next-swc-transform","id":8471,"timestamp":1674353421219,"duration":1365,"tags":{},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8469,"name":"next-swc-loader","id":8470,"timestamp":1674353421141,"duration":1444,"tags":{},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"build-module-tsx","id":8469,"timestamp":1674353420998,"duration":4157,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597397302},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"add-entry","id":8464,"timestamp":1674353412925,"duration":15479,"tags":{"request":"private-next-pages/_app"},"startTime":1664597397294},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"make","id":8462,"timestamp":1674353399761,"duration":28680,"tags":{},"startTime":1664597397281},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-chunk-graph","id":8473,"timestamp":1674353428772,"duration":230,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-modules","id":8475,"timestamp":1674353429009,"duration":2,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-chunks","id":8476,"timestamp":1674353429019,"duration":24,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize-tree","id":8477,"timestamp":1674353429049,"duration":5,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-optimize","id":8474,"timestamp":1674353429006,"duration":101,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-hash","id":8478,"timestamp":1674353430079,"duration":430,"tags":{},"startTime":1664597397311},{"traceId":"43f2de6d909a73f7","parentId":8461,"name":"webpack-compilation-seal","id":8472,"timestamp":1674353428703,"duration":2954,"tags":{},"startTime":1664597397310},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"webpack-compilation","id":8461,"timestamp":1674353399537,"duration":32141,"tags":{"name":"server"},"startTime":1664597397281},{"traceId":"43f2de6d909a73f7","parentId":8433,"name":"emit","id":8479,"timestamp":1674353431688,"duration":3553,"tags":{},"startTime":1664597397313},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-server","id":8433,"timestamp":1674353115671,"duration":319876,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/wallet.tsx"},"startTime":1664597396997},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8482,"timestamp":1664597397294000,"duration":22999,"tags":{"clientId":1664595509559},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"client-hmr-latency","id":8490,"timestamp":1664597397296000,"duration":32000,"tags":{"clientId":1664596721221},"startTime":1664597397329},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8483,"timestamp":1674353444970,"duration":3884,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8484,"timestamp":1674353445013,"duration":4716,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"read-resource","id":8492,"timestamp":1674353450144,"duration":64,"tags":{},"startTime":1664597397331},{"traceId":"43f2de6d909a73f7","parentId":8493,"name":"postcss-process","id":8494,"timestamp":1674353450270,"duration":35026,"tags":{},"startTime":1664597397332},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"postcss-loader","id":8493,"timestamp":1674353450256,"duration":35261,"tags":{},"startTime":1664597397332},{"traceId":"43f2de6d909a73f7","parentId":8491,"name":"css-loader","id":8495,"timestamp":1674353485539,"duration":9375,"tags":{"astUsed":"true"},"startTime":1664597397367},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"build-module-css","id":8491,"timestamp":1674353449929,"duration":46266,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664597397331},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8488,"timestamp":1674353445024,"duration":51585,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8487,"timestamp":1674353445022,"duration":51599,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8489,"timestamp":1674353445026,"duration":56265,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8485,"timestamp":1674353445018,"duration":56346,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"add-entry","id":8486,"timestamp":1674353445020,"duration":87947,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664597397326},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"make","id":8481,"timestamp":1674353440343,"duration":92648,"tags":{},"startTime":1664597397322},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-chunk-graph","id":8497,"timestamp":1674353537399,"duration":17206,"tags":{},"startTime":1664597397419},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-modules","id":8499,"timestamp":1674353554630,"duration":2,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-chunks","id":8500,"timestamp":1674353554641,"duration":42,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize-tree","id":8501,"timestamp":1674353554702,"duration":3,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-optimize","id":8498,"timestamp":1674353554622,"duration":1630,"tags":{},"startTime":1664597397436},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-hash","id":8502,"timestamp":1674353568236,"duration":3956,"tags":{},"startTime":1664597397449},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"NextJsBuildManifest-generateClientManifest","id":8504,"timestamp":1674353572876,"duration":54,"tags":{},"startTime":1664597397454},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"NextJsBuildManifest-createassets","id":8503,"timestamp":1674353572822,"duration":113,"tags":{},"startTime":1664597397454},{"traceId":"43f2de6d909a73f7","parentId":8480,"name":"webpack-compilation-seal","id":8496,"timestamp":1674353534233,"duration":39876,"tags":{},"startTime":1664597397415},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"webpack-compilation","id":8480,"timestamp":1674353440173,"duration":133959,"tags":{"name":"client"},"startTime":1664597397321},{"traceId":"43f2de6d909a73f7","parentId":8463,"name":"emit","id":8505,"timestamp":1674353574145,"duration":2142,"tags":{},"startTime":1664597397455},{"traceId":"43f2de6d909a73f7","parentId":1,"name":"webpack-invalidated-client","id":8463,"timestamp":1674353412655,"duration":164167,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components"},"startTime":1664597397294}] +[{"traceId":"f3663b1b147e3bbc","name":"hot-reloader","id":1,"timestamp":1678462492535,"duration":23,"tags":{"version":"12.2.5"},"startTime":1664601506390},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"start","id":2,"timestamp":1678462493167,"duration":0,"tags":{},"startTime":1664601506391},{"traceId":"f3663b1b147e3bbc","parentId":2,"name":"clean","id":3,"timestamp":1678462493186,"duration":1324,"tags":{},"startTime":1664601506391},{"traceId":"f3663b1b147e3bbc","parentId":4,"name":"get-page-paths","id":5,"timestamp":1678462494973,"duration":451,"tags":{},"startTime":1664601506393},{"traceId":"f3663b1b147e3bbc","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":1678462495434,"duration":153,"tags":{},"startTime":1664601506393},{"traceId":"f3663b1b147e3bbc","parentId":4,"name":"create-entrypoints","id":7,"timestamp":1678462495597,"duration":954,"tags":{},"startTime":1664601506393},{"traceId":"f3663b1b147e3bbc","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":1678462496564,"duration":23918,"tags":{},"startTime":1664601506394},{"traceId":"f3663b1b147e3bbc","parentId":2,"name":"get-webpack-config","id":4,"timestamp":1678462494936,"duration":25558,"tags":{},"startTime":1664601506393},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":11,"timestamp":1678462551973,"duration":610006,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":12,"timestamp":1678462552311,"duration":611899,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":17,"name":"read-resource","id":18,"timestamp":1678463171471,"duration":40171,"tags":{},"startTime":1664601507069},{"traceId":"f3663b1b147e3bbc","parentId":22,"name":"postcss-process","id":23,"timestamp":1678463436145,"duration":221751,"tags":{},"startTime":1664601507334},{"traceId":"f3663b1b147e3bbc","parentId":17,"name":"postcss-loader","id":22,"timestamp":1678463211839,"duration":447222,"tags":{},"startTime":1664601507110},{"traceId":"f3663b1b147e3bbc","parentId":17,"name":"css-loader","id":24,"timestamp":1678463659251,"duration":28787,"tags":{"astUsed":"true"},"startTime":1664601507557},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"build-module-css","id":17,"timestamp":1678463167305,"duration":535782,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664601507065},{"traceId":"f3663b1b147e3bbc","parentId":20,"name":"next-swc-transform","id":21,"timestamp":1678463185971,"duration":519404,"tags":{},"startTime":1664601507084},{"traceId":"f3663b1b147e3bbc","parentId":19,"name":"next-swc-loader","id":20,"timestamp":1678463185609,"duration":519780,"tags":{},"startTime":1664601507083},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"build-module-tsx","id":19,"timestamp":1678463181844,"duration":531436,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601507080},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":16,"timestamp":1678462552363,"duration":1198718,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":15,"timestamp":1678462552351,"duration":1200876,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":13,"timestamp":1678462552330,"duration":1286984,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"add-entry","id":14,"timestamp":1678462552342,"duration":1356414,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601506450},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"make","id":10,"timestamp":1678462551416,"duration":1357552,"tags":{},"startTime":1664601506449},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-chunk-graph","id":26,"timestamp":1678463946112,"duration":43674,"tags":{},"startTime":1664601507844},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-optimize-modules","id":28,"timestamp":1678463989864,"duration":13,"tags":{},"startTime":1664601507888},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-optimize-chunks","id":29,"timestamp":1678463989913,"duration":477,"tags":{},"startTime":1664601507888},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-optimize-tree","id":30,"timestamp":1678463990429,"duration":81,"tags":{},"startTime":1664601507888},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-optimize","id":27,"timestamp":1678463989836,"duration":844,"tags":{},"startTime":1664601507888},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-hash","id":31,"timestamp":1678464068082,"duration":13751,"tags":{},"startTime":1664601507966},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"NextJsBuildManifest-generateClientManifest","id":33,"timestamp":1678464469101,"duration":635,"tags":{},"startTime":1664601508367},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"NextJsBuildManifest-createassets","id":32,"timestamp":1678464468566,"duration":1188,"tags":{},"startTime":1664601508366},{"traceId":"f3663b1b147e3bbc","parentId":9,"name":"webpack-compilation-seal","id":25,"timestamp":1678463936927,"duration":537197,"tags":{},"startTime":1664601507835},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-compilation","id":9,"timestamp":1678462547961,"duration":1926439,"tags":{"name":"client"},"startTime":1664601506446},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"emit","id":34,"timestamp":1678464474681,"duration":329803,"tags":{},"startTime":1664601508373},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"add-entry","id":38,"timestamp":1678464878948,"duration":134026,"tags":{"request":"private-next-pages/_error"},"startTime":1664601508777},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"add-entry","id":39,"timestamp":1678464878963,"duration":134034,"tags":{"request":"private-next-pages/_document"},"startTime":1664601508777},{"traceId":"f3663b1b147e3bbc","parentId":41,"name":"next-swc-transform","id":42,"timestamp":1678465030054,"duration":2514,"tags":{},"startTime":1664601508928},{"traceId":"f3663b1b147e3bbc","parentId":40,"name":"next-swc-loader","id":41,"timestamp":1678465029943,"duration":2741,"tags":{},"startTime":1664601508928},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"build-module-tsx","id":40,"timestamp":1678465029479,"duration":10224,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601508927},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"add-entry","id":37,"timestamp":1678464878834,"duration":161462,"tags":{"request":"private-next-pages/_app"},"startTime":1664601508777},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"make","id":36,"timestamp":1678464825703,"duration":214731,"tags":{},"startTime":1664601508724},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-chunk-graph","id":44,"timestamp":1678465041223,"duration":547,"tags":{},"startTime":1664601508939},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-optimize-modules","id":46,"timestamp":1678465041785,"duration":4,"tags":{},"startTime":1664601508940},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-optimize-chunks","id":47,"timestamp":1678465041824,"duration":58,"tags":{},"startTime":1664601508940},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-optimize-tree","id":48,"timestamp":1678465041908,"duration":12,"tags":{},"startTime":1664601508940},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-optimize","id":45,"timestamp":1678465041779,"duration":193,"tags":{},"startTime":1664601508940},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-hash","id":49,"timestamp":1678465046802,"duration":1417,"tags":{},"startTime":1664601508945},{"traceId":"f3663b1b147e3bbc","parentId":35,"name":"webpack-compilation-seal","id":43,"timestamp":1678465041121,"duration":10107,"tags":{},"startTime":1664601508939},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-compilation","id":35,"timestamp":1678464822743,"duration":228614,"tags":{"name":"server"},"startTime":1664601508721},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"emit","id":50,"timestamp":1678465051428,"duration":2351,"tags":{},"startTime":1664601508949},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"make","id":52,"timestamp":1678465057943,"duration":1529,"tags":{},"startTime":1664601508956},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-chunk-graph","id":54,"timestamp":1678465059594,"duration":16,"tags":{},"startTime":1664601508957},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-optimize-modules","id":56,"timestamp":1678465059620,"duration":104,"tags":{},"startTime":1664601508957},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-optimize-chunks","id":57,"timestamp":1678465059736,"duration":7,"tags":{},"startTime":1664601508958},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-optimize-tree","id":58,"timestamp":1678465059751,"duration":3,"tags":{},"startTime":1664601508958},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-optimize","id":55,"timestamp":1678465059616,"duration":155,"tags":{},"startTime":1664601508957},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-hash","id":59,"timestamp":1678465059916,"duration":36,"tags":{},"startTime":1664601508958},{"traceId":"f3663b1b147e3bbc","parentId":51,"name":"webpack-compilation-seal","id":53,"timestamp":1678465059568,"duration":641,"tags":{},"startTime":1664601508957},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-compilation","id":51,"timestamp":1678465056856,"duration":3382,"tags":{"name":"edge-server"},"startTime":1664601508955},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"emit","id":60,"timestamp":1678465060259,"duration":14328,"tags":{},"startTime":1664601508958}] +[{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":66,"timestamp":1678465090552,"duration":9013,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":67,"timestamp":1678465090605,"duration":9915,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":72,"name":"read-resource","id":73,"timestamp":1678465100773,"duration":41,"tags":{},"startTime":1664601508999},{"traceId":"f3663b1b147e3bbc","parentId":74,"name":"postcss-process","id":75,"timestamp":1678465100838,"duration":34528,"tags":{},"startTime":1664601508999},{"traceId":"f3663b1b147e3bbc","parentId":72,"name":"postcss-loader","id":74,"timestamp":1678465100828,"duration":34747,"tags":{},"startTime":1664601508999},{"traceId":"f3663b1b147e3bbc","parentId":72,"name":"css-loader","id":76,"timestamp":1678465135595,"duration":12075,"tags":{"astUsed":"true"},"startTime":1664601509033},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"build-module-css","id":72,"timestamp":1678465100622,"duration":48481,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664601508998},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":71,"timestamp":1678465090643,"duration":58938,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601508989},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":70,"timestamp":1678465090633,"duration":59900,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":68,"timestamp":1678465090616,"duration":62725,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"add-entry","id":69,"timestamp":1678465090626,"duration":100804,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":61,"name":"make","id":65,"timestamp":1678465090310,"duration":101151,"tags":{},"startTime":1664601508988},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-chunk-graph","id":78,"timestamp":1678465197008,"duration":26669,"tags":{},"startTime":1664601509095},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-optimize-modules","id":80,"timestamp":1678465223710,"duration":4,"tags":{},"startTime":1664601509122},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-optimize-chunks","id":81,"timestamp":1678465223726,"duration":140,"tags":{},"startTime":1664601509122},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-optimize-tree","id":82,"timestamp":1678465223883,"duration":4,"tags":{},"startTime":1664601509122},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-optimize","id":79,"timestamp":1678465223701,"duration":2360,"tags":{},"startTime":1664601509122},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-hash","id":83,"timestamp":1678465244593,"duration":6293,"tags":{},"startTime":1664601509142},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"NextJsBuildManifest-generateClientManifest","id":85,"timestamp":1678465252438,"duration":97,"tags":{},"startTime":1664601509150},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"NextJsBuildManifest-createassets","id":84,"timestamp":1678465252276,"duration":264,"tags":{},"startTime":1664601509150},{"traceId":"f3663b1b147e3bbc","parentId":64,"name":"webpack-compilation-seal","id":77,"timestamp":1678465193546,"duration":60206,"tags":{},"startTime":1664601509091},{"traceId":"f3663b1b147e3bbc","parentId":61,"name":"webpack-compilation","id":64,"timestamp":1678465089574,"duration":164218,"tags":{"name":"client"},"startTime":1664601508987},{"traceId":"f3663b1b147e3bbc","parentId":61,"name":"emit","id":86,"timestamp":1678465253815,"duration":2413,"tags":{},"startTime":1664601509152},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-client","id":61,"timestamp":1678465076864,"duration":179964,"tags":{"trigger":"manual"},"startTime":1664601508975},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"add-entry","id":90,"timestamp":1678465270058,"duration":4968,"tags":{"request":"private-next-pages/_error"},"startTime":1664601509168},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"add-entry","id":91,"timestamp":1678465270069,"duration":4969,"tags":{"request":"private-next-pages/_document"},"startTime":1664601509168},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"add-entry","id":89,"timestamp":1678465270004,"duration":5154,"tags":{"request":"private-next-pages/_app"},"startTime":1664601509168},{"traceId":"f3663b1b147e3bbc","parentId":62,"name":"make","id":88,"timestamp":1678465259260,"duration":15920,"tags":{},"startTime":1664601509157},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-chunk-graph","id":93,"timestamp":1678465275546,"duration":285,"tags":{},"startTime":1664601509173},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-optimize-modules","id":95,"timestamp":1678465275848,"duration":3,"tags":{},"startTime":1664601509174},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-optimize-chunks","id":96,"timestamp":1678465275861,"duration":26,"tags":{},"startTime":1664601509174},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-optimize-tree","id":97,"timestamp":1678465275896,"duration":3,"tags":{},"startTime":1664601509174},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-optimize","id":94,"timestamp":1678465275843,"duration":122,"tags":{},"startTime":1664601509174},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-hash","id":98,"timestamp":1678465276697,"duration":633,"tags":{},"startTime":1664601509175},{"traceId":"f3663b1b147e3bbc","parentId":87,"name":"webpack-compilation-seal","id":92,"timestamp":1678465275464,"duration":2238,"tags":{},"startTime":1664601509173},{"traceId":"f3663b1b147e3bbc","parentId":62,"name":"webpack-compilation","id":87,"timestamp":1678465258965,"duration":18760,"tags":{"name":"server"},"startTime":1664601509157},{"traceId":"f3663b1b147e3bbc","parentId":62,"name":"emit","id":99,"timestamp":1678465277738,"duration":1007,"tags":{},"startTime":1664601509176},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-server","id":62,"timestamp":1678465076984,"duration":202005,"tags":{"trigger":"manual"},"startTime":1664601508975},{"traceId":"f3663b1b147e3bbc","parentId":63,"name":"make","id":101,"timestamp":1678465279957,"duration":770,"tags":{},"startTime":1664601509178},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-chunk-graph","id":103,"timestamp":1678465280801,"duration":82,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-optimize-modules","id":105,"timestamp":1678465280899,"duration":28,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-optimize-chunks","id":106,"timestamp":1678465280939,"duration":7,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-optimize-tree","id":107,"timestamp":1678465280955,"duration":3,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-optimize","id":104,"timestamp":1678465280893,"duration":83,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-hash","id":108,"timestamp":1678465281069,"duration":22,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":100,"name":"webpack-compilation-seal","id":102,"timestamp":1678465280779,"duration":465,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":63,"name":"webpack-compilation","id":100,"timestamp":1678465279622,"duration":1636,"tags":{"name":"edge-server"},"startTime":1664601509177},{"traceId":"f3663b1b147e3bbc","parentId":63,"name":"emit","id":109,"timestamp":1678465281267,"duration":567,"tags":{},"startTime":1664601509179},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-edge-server","id":63,"timestamp":1678465077012,"duration":205208,"tags":{"trigger":"manual"},"startTime":1664601508975}] +[{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":114,"timestamp":1678465462623,"duration":4295,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601509360},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":115,"timestamp":1678465462850,"duration":5091,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":119,"timestamp":1678465462887,"duration":5345,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":118,"timestamp":1678465462876,"duration":6339,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":116,"timestamp":1678465462864,"duration":8924,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":120,"timestamp":1678465462893,"duration":22291,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"add-entry","id":117,"timestamp":1678465462870,"duration":42752,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601509361},{"traceId":"f3663b1b147e3bbc","parentId":110,"name":"make","id":113,"timestamp":1678465456853,"duration":48839,"tags":{},"startTime":1664601509355},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-chunk-graph","id":122,"timestamp":1678465510892,"duration":4865,"tags":{},"startTime":1664601509409},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-optimize-modules","id":124,"timestamp":1678465515781,"duration":4,"tags":{},"startTime":1664601509414},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-optimize-chunks","id":125,"timestamp":1678465515795,"duration":156,"tags":{},"startTime":1664601509414},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-optimize-tree","id":126,"timestamp":1678465515968,"duration":3,"tags":{},"startTime":1664601509414},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-optimize","id":123,"timestamp":1678465515774,"duration":1425,"tags":{},"startTime":1664601509414},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-hash","id":127,"timestamp":1678465528313,"duration":5122,"tags":{},"startTime":1664601509426},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"NextJsBuildManifest-generateClientManifest","id":129,"timestamp":1678465536528,"duration":221,"tags":{},"startTime":1664601509434},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"NextJsBuildManifest-createassets","id":128,"timestamp":1678465536457,"duration":302,"tags":{},"startTime":1664601509434},{"traceId":"f3663b1b147e3bbc","parentId":112,"name":"webpack-compilation-seal","id":121,"timestamp":1678465507752,"duration":31920,"tags":{},"startTime":1664601509406},{"traceId":"f3663b1b147e3bbc","parentId":110,"name":"webpack-compilation","id":112,"timestamp":1678465456524,"duration":83191,"tags":{"name":"client"},"startTime":1664601509354},{"traceId":"f3663b1b147e3bbc","parentId":110,"name":"emit","id":130,"timestamp":1678465539746,"duration":4651,"tags":{},"startTime":1664601509438},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-client","id":110,"timestamp":1678465449225,"duration":95707,"tags":{"trigger":"manual"},"startTime":1664601509347},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"add-entry","id":134,"timestamp":1678465556890,"duration":6158,"tags":{"request":"private-next-pages/_error"},"startTime":1664601509455},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"add-entry","id":135,"timestamp":1678465556895,"duration":6164,"tags":{"request":"private-next-pages/_document"},"startTime":1664601509455},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"add-entry","id":133,"timestamp":1678465556842,"duration":6568,"tags":{"request":"private-next-pages/_app"},"startTime":1664601509455},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"add-entry","id":136,"timestamp":1678465556897,"duration":8877,"tags":{"request":"./pages/index.tsx"},"startTime":1664601509455},{"traceId":"f3663b1b147e3bbc","parentId":111,"name":"make","id":132,"timestamp":1678465546720,"duration":19076,"tags":{},"startTime":1664601509445},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-chunk-graph","id":138,"timestamp":1678465566027,"duration":205,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-optimize-modules","id":140,"timestamp":1678465566244,"duration":3,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-optimize-chunks","id":141,"timestamp":1678465566256,"duration":29,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-optimize-tree","id":142,"timestamp":1678465566292,"duration":3,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-optimize","id":139,"timestamp":1678465566237,"duration":103,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-hash","id":143,"timestamp":1678465567142,"duration":576,"tags":{},"startTime":1664601509465},{"traceId":"f3663b1b147e3bbc","parentId":131,"name":"webpack-compilation-seal","id":137,"timestamp":1678465565972,"duration":2550,"tags":{},"startTime":1664601509464},{"traceId":"f3663b1b147e3bbc","parentId":111,"name":"webpack-compilation","id":131,"timestamp":1678465546421,"duration":22118,"tags":{"name":"server"},"startTime":1664601509444},{"traceId":"f3663b1b147e3bbc","parentId":111,"name":"emit","id":144,"timestamp":1678465568551,"duration":1636,"tags":{},"startTime":1664601509466},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-server","id":111,"timestamp":1678465449324,"duration":121238,"tags":{"trigger":"manual"},"startTime":1664601509347}] +[{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-success","id":145,"timestamp":1678467072727,"duration":0,"tags":{},"startTime":1664601510971},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-success","id":146,"timestamp":1678606279584,"duration":0,"tags":{},"startTime":1664601650178},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"add-entry","id":152,"timestamp":1678607341862,"duration":26358,"tags":{"request":"private-next-pages/_error"},"startTime":1664601651240},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"add-entry","id":153,"timestamp":1678607341867,"duration":26369,"tags":{"request":"private-next-pages/_document"},"startTime":1664601651240},{"traceId":"f3663b1b147e3bbc","parentId":155,"name":"next-swc-transform","id":156,"timestamp":1678607366241,"duration":3210,"tags":{},"startTime":1664601651264},{"traceId":"f3663b1b147e3bbc","parentId":154,"name":"next-swc-loader","id":155,"timestamp":1678607365920,"duration":3540,"tags":{},"startTime":1664601651264},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"build-module-tsx","id":154,"timestamp":1678607364724,"duration":10668,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601651263},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"add-entry","id":151,"timestamp":1678607341736,"duration":37953,"tags":{"request":"private-next-pages/_app"},"startTime":1664601651240},{"traceId":"f3663b1b147e3bbc","parentId":147,"name":"make","id":150,"timestamp":1678607340241,"duration":39552,"tags":{},"startTime":1664601651238},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-chunk-graph","id":158,"timestamp":1678607380821,"duration":502,"tags":{},"startTime":1664601651279},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-optimize-modules","id":160,"timestamp":1678607381355,"duration":24,"tags":{},"startTime":1664601651279},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-optimize-chunks","id":161,"timestamp":1678607381421,"duration":115,"tags":{},"startTime":1664601651279},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-optimize-tree","id":162,"timestamp":1678607381566,"duration":102,"tags":{},"startTime":1664601651280},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-optimize","id":159,"timestamp":1678607381344,"duration":517,"tags":{},"startTime":1664601651279},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-hash","id":163,"timestamp":1678607385928,"duration":2105,"tags":{},"startTime":1664601651284},{"traceId":"f3663b1b147e3bbc","parentId":149,"name":"webpack-compilation-seal","id":157,"timestamp":1678607380687,"duration":11257,"tags":{},"startTime":1664601651279},{"traceId":"f3663b1b147e3bbc","parentId":147,"name":"webpack-compilation","id":149,"timestamp":1678607336560,"duration":55518,"tags":{"name":"server"},"startTime":1664601651235},{"traceId":"f3663b1b147e3bbc","parentId":147,"name":"emit","id":164,"timestamp":1678607392301,"duration":3098,"tags":{},"startTime":1664601651290},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-server","id":147,"timestamp":1678607311430,"duration":84791,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601651209},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":167,"timestamp":1678607411369,"duration":7930,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":172,"timestamp":1678607411413,"duration":10439,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":174,"name":"read-resource","id":175,"timestamp":1678607421631,"duration":994,"tags":{},"startTime":1664601651320},{"traceId":"f3663b1b147e3bbc","parentId":179,"name":"postcss-process","id":180,"timestamp":1678607422734,"duration":52950,"tags":{},"startTime":1664601651321},{"traceId":"f3663b1b147e3bbc","parentId":174,"name":"postcss-loader","id":179,"timestamp":1678607422684,"duration":53521,"tags":{},"startTime":1664601651321},{"traceId":"f3663b1b147e3bbc","parentId":174,"name":"css-loader","id":181,"timestamp":1678607476255,"duration":13281,"tags":{"astUsed":"true"},"startTime":1664601651374},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"build-module-css","id":174,"timestamp":1678607421361,"duration":74099,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664601651319},{"traceId":"f3663b1b147e3bbc","parentId":177,"name":"next-swc-transform","id":178,"timestamp":1678607422301,"duration":73837,"tags":{},"startTime":1664601651320},{"traceId":"f3663b1b147e3bbc","parentId":176,"name":"next-swc-loader","id":177,"timestamp":1678607422255,"duration":73887,"tags":{},"startTime":1664601651320},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"build-module-tsx","id":176,"timestamp":1678607422149,"duration":78000,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601651320},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":168,"timestamp":1678607411398,"duration":89396,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":171,"timestamp":1678607411410,"duration":90339,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":173,"timestamp":1678607411416,"duration":96855,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":169,"timestamp":1678607411402,"duration":100052,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"add-entry","id":170,"timestamp":1678607411404,"duration":174102,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601651309},{"traceId":"f3663b1b147e3bbc","parentId":148,"name":"make","id":166,"timestamp":1678607408577,"duration":177021,"tags":{},"startTime":1664601651307},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-chunk-graph","id":183,"timestamp":1678607601299,"duration":33999,"tags":{},"startTime":1664601651499},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-optimize-modules","id":185,"timestamp":1678607635329,"duration":4,"tags":{},"startTime":1664601651533},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-optimize-chunks","id":186,"timestamp":1678607635345,"duration":143,"tags":{},"startTime":1664601651533},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-optimize-tree","id":187,"timestamp":1678607635508,"duration":5,"tags":{},"startTime":1664601651534},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-optimize","id":184,"timestamp":1678607635318,"duration":2172,"tags":{},"startTime":1664601651533},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-hash","id":188,"timestamp":1678607665901,"duration":8065,"tags":{},"startTime":1664601651564},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"NextJsBuildManifest-generateClientManifest","id":190,"timestamp":1678607688659,"duration":223,"tags":{},"startTime":1664601651587},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"NextJsBuildManifest-createassets","id":189,"timestamp":1678607688447,"duration":453,"tags":{},"startTime":1664601651586},{"traceId":"f3663b1b147e3bbc","parentId":165,"name":"webpack-compilation-seal","id":182,"timestamp":1678607589604,"duration":101476,"tags":{},"startTime":1664601651488},{"traceId":"f3663b1b147e3bbc","parentId":148,"name":"webpack-compilation","id":165,"timestamp":1678607407795,"duration":283326,"tags":{"name":"client"},"startTime":1664601651306},{"traceId":"f3663b1b147e3bbc","parentId":148,"name":"emit","id":191,"timestamp":1678607691178,"duration":135654,"tags":{},"startTime":1664601651589},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-client","id":148,"timestamp":1678607313226,"duration":514811,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601651211}] +[{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-success","id":192,"timestamp":1678607841693,"duration":0,"tags":{},"startTime":1664601651740},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-hmr-latency","id":193,"timestamp":1664601651217999,"duration":543000,"tags":{"clientId":1664601510980},"startTime":1664601651763},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"add-entry","id":199,"timestamp":1678623320978,"duration":22581,"tags":{"request":"private-next-pages/_error"},"startTime":1664601667219},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"add-entry","id":200,"timestamp":1678623320982,"duration":22596,"tags":{"request":"private-next-pages/_document"},"startTime":1664601667219},{"traceId":"f3663b1b147e3bbc","parentId":202,"name":"next-swc-transform","id":203,"timestamp":1678623344118,"duration":1499,"tags":{},"startTime":1664601667242},{"traceId":"f3663b1b147e3bbc","parentId":201,"name":"next-swc-loader","id":202,"timestamp":1678623343963,"duration":1665,"tags":{},"startTime":1664601667242},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"build-module-tsx","id":201,"timestamp":1678623343752,"duration":6530,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601667242},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"add-entry","id":198,"timestamp":1678623320945,"duration":33052,"tags":{"request":"private-next-pages/_app"},"startTime":1664601667219},{"traceId":"f3663b1b147e3bbc","parentId":194,"name":"make","id":197,"timestamp":1678623320807,"duration":33224,"tags":{},"startTime":1664601667219},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-chunk-graph","id":205,"timestamp":1678623354782,"duration":583,"tags":{},"startTime":1664601667253},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-optimize-modules","id":207,"timestamp":1678623355390,"duration":5,"tags":{},"startTime":1664601667253},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-optimize-chunks","id":208,"timestamp":1678623355409,"duration":27,"tags":{},"startTime":1664601667253},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-optimize-tree","id":209,"timestamp":1678623355452,"duration":7,"tags":{},"startTime":1664601667254},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-optimize","id":206,"timestamp":1678623355382,"duration":224,"tags":{},"startTime":1664601667253},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-hash","id":210,"timestamp":1678623357852,"duration":1358,"tags":{},"startTime":1664601667256},{"traceId":"f3663b1b147e3bbc","parentId":196,"name":"webpack-compilation-seal","id":204,"timestamp":1678623354612,"duration":6539,"tags":{},"startTime":1664601667253},{"traceId":"f3663b1b147e3bbc","parentId":194,"name":"webpack-compilation","id":196,"timestamp":1678623320572,"duration":40614,"tags":{"name":"server"},"startTime":1664601667219},{"traceId":"f3663b1b147e3bbc","parentId":194,"name":"emit","id":211,"timestamp":1678623361208,"duration":2127,"tags":{},"startTime":1664601667259},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-server","id":194,"timestamp":1678623311963,"duration":51876,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601667210},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":214,"timestamp":1678623373938,"duration":7176,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":215,"timestamp":1678623373976,"duration":8956,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":221,"name":"read-resource","id":222,"timestamp":1678623383409,"duration":142,"tags":{},"startTime":1664601667281},{"traceId":"f3663b1b147e3bbc","parentId":223,"name":"postcss-process","id":224,"timestamp":1678623383750,"duration":42527,"tags":{},"startTime":1664601667282},{"traceId":"f3663b1b147e3bbc","parentId":221,"name":"postcss-loader","id":223,"timestamp":1678623383573,"duration":43141,"tags":{},"startTime":1664601667282},{"traceId":"f3663b1b147e3bbc","parentId":221,"name":"css-loader","id":225,"timestamp":1678623426752,"duration":11754,"tags":{"astUsed":"true"},"startTime":1664601667325},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"build-module-css","id":221,"timestamp":1678623383152,"duration":71815,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664601667281},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":219,"timestamp":1678623373992,"duration":81497,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":218,"timestamp":1678623373988,"duration":81512,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":220,"timestamp":1678623373995,"duration":85847,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":216,"timestamp":1678623373981,"duration":86011,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":227,"name":"next-swc-transform","id":228,"timestamp":1678623457948,"duration":2349,"tags":{},"startTime":1664601667356},{"traceId":"f3663b1b147e3bbc","parentId":226,"name":"next-swc-loader","id":227,"timestamp":1678623457893,"duration":2407,"tags":{},"startTime":1664601667356},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"build-module-tsx","id":226,"timestamp":1678623457415,"duration":6082,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601667355},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"add-entry","id":217,"timestamp":1678623373985,"duration":123079,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601667272},{"traceId":"f3663b1b147e3bbc","parentId":195,"name":"make","id":213,"timestamp":1678623371881,"duration":125236,"tags":{},"startTime":1664601667270},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-chunk-graph","id":230,"timestamp":1678623502159,"duration":4260,"tags":{},"startTime":1664601667400},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-optimize-modules","id":232,"timestamp":1678623506447,"duration":5,"tags":{},"startTime":1664601667405},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-optimize-chunks","id":233,"timestamp":1678623506462,"duration":115,"tags":{},"startTime":1664601667405},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-optimize-tree","id":234,"timestamp":1678623506596,"duration":3,"tags":{},"startTime":1664601667405},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-optimize","id":231,"timestamp":1678623506438,"duration":1799,"tags":{},"startTime":1664601667405},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-hash","id":235,"timestamp":1678623520437,"duration":7288,"tags":{},"startTime":1664601667419},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"NextJsBuildManifest-generateClientManifest","id":237,"timestamp":1678623538911,"duration":73,"tags":{},"startTime":1664601667437},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"NextJsBuildManifest-createassets","id":236,"timestamp":1678623538830,"duration":167,"tags":{},"startTime":1664601667437},{"traceId":"f3663b1b147e3bbc","parentId":212,"name":"webpack-compilation-seal","id":229,"timestamp":1678623498799,"duration":42053,"tags":{},"startTime":1664601667397},{"traceId":"f3663b1b147e3bbc","parentId":195,"name":"webpack-compilation","id":212,"timestamp":1678623371523,"duration":169364,"tags":{"name":"client"},"startTime":1664601667270},{"traceId":"f3663b1b147e3bbc","parentId":195,"name":"emit","id":238,"timestamp":1678623540907,"duration":97095,"tags":{},"startTime":1664601667439},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-client","id":195,"timestamp":1678623312130,"duration":326882,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/views/WalletList.tsx"},"startTime":1664601667210}] +[{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-success","id":239,"timestamp":1678623668475,"duration":0,"tags":{},"startTime":1664601667567},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-hmr-latency","id":240,"timestamp":1664601667211000,"duration":368999,"tags":{"clientId":1664601510980},"startTime":1664601667581},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":245,"timestamp":1678633734094,"duration":4550,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":246,"timestamp":1678633734168,"duration":5126,"tags":{"request":"./../../node_modules/next/dist/client/dev/amp-dev"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":252,"name":"read-resource","id":253,"timestamp":1678633739652,"duration":164,"tags":{},"startTime":1664601677638},{"traceId":"f3663b1b147e3bbc","parentId":254,"name":"postcss-process","id":255,"timestamp":1678633739848,"duration":35266,"tags":{},"startTime":1664601677638},{"traceId":"f3663b1b147e3bbc","parentId":252,"name":"postcss-loader","id":254,"timestamp":1678633739835,"duration":35450,"tags":{},"startTime":1664601677638},{"traceId":"f3663b1b147e3bbc","parentId":252,"name":"css-loader","id":256,"timestamp":1678633775312,"duration":8542,"tags":{"astUsed":"true"},"startTime":1664601677673},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"build-module-css","id":252,"timestamp":1678633739412,"duration":45793,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/styles/globals.css"},"startTime":1664601677637},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":250,"timestamp":1678633734187,"duration":51450,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_error&page=%2F_error!"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":249,"timestamp":1678633734183,"duration":51465,"tags":{"request":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/node_modules/next/dist/client/router.js"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":251,"timestamp":1678633734189,"duration":56464,"tags":{"request":"next-client-pages-loader?absolutePagePath=%2FUsers%2Fjosefleventon%2FDeveloper%2FCosmology%2Fcreate-cosmos-app%2Fexamples%2Ftailwindcss%2Fpages%2Findex.tsx&page=%2F!"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":247,"timestamp":1678633734176,"duration":56596,"tags":{"request":"./../../node_modules/next/dist/client/next-dev.js"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":258,"name":"next-swc-transform","id":259,"timestamp":1678633786318,"duration":10339,"tags":{},"startTime":1664601677684},{"traceId":"f3663b1b147e3bbc","parentId":257,"name":"next-swc-loader","id":258,"timestamp":1678633786237,"duration":10428,"tags":{},"startTime":1664601677684},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"build-module-tsx","id":257,"timestamp":1678633786123,"duration":16869,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664601677684},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"add-entry","id":248,"timestamp":1678633734179,"duration":98303,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app&page=%2F_app!"},"startTime":1664601677632},{"traceId":"f3663b1b147e3bbc","parentId":241,"name":"make","id":244,"timestamp":1678633732830,"duration":99684,"tags":{},"startTime":1664601677631},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-chunk-graph","id":261,"timestamp":1678633837378,"duration":19341,"tags":{},"startTime":1664601677735},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-optimize-modules","id":263,"timestamp":1678633856756,"duration":4,"tags":{},"startTime":1664601677755},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-optimize-chunks","id":264,"timestamp":1678633856771,"duration":141,"tags":{},"startTime":1664601677755},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-optimize-tree","id":265,"timestamp":1678633856930,"duration":4,"tags":{},"startTime":1664601677755},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-optimize","id":262,"timestamp":1678633856744,"duration":1907,"tags":{},"startTime":1664601677755},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-hash","id":266,"timestamp":1678633869205,"duration":6363,"tags":{},"startTime":1664601677767},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"NextJsBuildManifest-generateClientManifest","id":268,"timestamp":1678633876531,"duration":61,"tags":{},"startTime":1664601677775},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"NextJsBuildManifest-createassets","id":267,"timestamp":1678633876451,"duration":146,"tags":{},"startTime":1664601677775},{"traceId":"f3663b1b147e3bbc","parentId":243,"name":"webpack-compilation-seal","id":260,"timestamp":1678633834215,"duration":43354,"tags":{},"startTime":1664601677732},{"traceId":"f3663b1b147e3bbc","parentId":241,"name":"webpack-compilation","id":243,"timestamp":1678633732520,"duration":145080,"tags":{"name":"client"},"startTime":1664601677631},{"traceId":"f3663b1b147e3bbc","parentId":241,"name":"emit","id":269,"timestamp":1678633877614,"duration":1994,"tags":{},"startTime":1664601677776},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-client","id":241,"timestamp":1678633718398,"duration":161622,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664601677616},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"client-success","id":275,"timestamp":1678633894683,"duration":0,"tags":{},"startTime":1664601677793},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"add-entry","id":273,"timestamp":1678633891750,"duration":6276,"tags":{"request":"private-next-pages/_error"},"startTime":1664601677790},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"add-entry","id":274,"timestamp":1678633891754,"duration":6279,"tags":{"request":"private-next-pages/_document"},"startTime":1664601677790},{"traceId":"f3663b1b147e3bbc","parentId":277,"name":"next-swc-transform","id":278,"timestamp":1678633897881,"duration":1514,"tags":{},"startTime":1664601677796},{"traceId":"f3663b1b147e3bbc","parentId":276,"name":"next-swc-loader","id":277,"timestamp":1678633897828,"duration":1570,"tags":{},"startTime":1664601677796},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"build-module-tsx","id":276,"timestamp":1678633897414,"duration":10996,"tags":{"name":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664601677796},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"add-entry","id":272,"timestamp":1678633891720,"duration":18975,"tags":{"request":"private-next-pages/_app"},"startTime":1664601677790},{"traceId":"f3663b1b147e3bbc","parentId":242,"name":"make","id":271,"timestamp":1678633883222,"duration":27495,"tags":{},"startTime":1664601677781},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-chunk-graph","id":280,"timestamp":1678633911020,"duration":177,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-optimize-modules","id":282,"timestamp":1678633911209,"duration":3,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-optimize-chunks","id":283,"timestamp":1678633911221,"duration":35,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-optimize-tree","id":284,"timestamp":1678633911276,"duration":3,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-optimize","id":281,"timestamp":1678633911204,"duration":131,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-hash","id":285,"timestamp":1678633912218,"duration":476,"tags":{},"startTime":1664601677810},{"traceId":"f3663b1b147e3bbc","parentId":270,"name":"webpack-compilation-seal","id":279,"timestamp":1678633910962,"duration":1939,"tags":{},"startTime":1664601677809},{"traceId":"f3663b1b147e3bbc","parentId":242,"name":"webpack-compilation","id":270,"timestamp":1678633883046,"duration":29876,"tags":{"name":"server"},"startTime":1664601677781},{"traceId":"f3663b1b147e3bbc","parentId":242,"name":"emit","id":286,"timestamp":1678633912932,"duration":856,"tags":{},"startTime":1664601677811},{"traceId":"f3663b1b147e3bbc","parentId":1,"name":"webpack-invalidated-server","id":242,"timestamp":1678633718656,"duration":195507,"tags":{"trigger":"/Users/josefleventon/Developer/Cosmology/create-cosmos-app/examples/tailwindcss/components/react/modal.tsx"},"startTime":1664601677617}] diff --git a/examples/tailwindcss/components/react/views/WalletList.tsx b/examples/tailwindcss/components/react/views/WalletList.tsx index aff1a7d49..ddd4d4ca4 100644 --- a/examples/tailwindcss/components/react/views/WalletList.tsx +++ b/examples/tailwindcss/components/react/views/WalletList.tsx @@ -32,7 +32,7 @@ export const WalletList = ({
- {wallets.map(({ name, prettyName, logo }) => ( + {wallets.map(({ walletInfo: { name, prettyName, logo } }) => (
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/index.ts b/examples/tailwindcss/components/react/index.ts index 3dd41b0b4..ac1dc7dd7 100644 --- a/examples/tailwindcss/components/react/index.ts +++ b/examples/tailwindcss/components/react/index.ts @@ -1,2 +1,2 @@ -export * from './chain-card' -export * from './modal' +export * from './chain-card'; +export * from './modal'; diff --git a/examples/tailwindcss/components/react/modal.tsx b/examples/tailwindcss/components/react/modal.tsx index 1de0eeee0..dbb93b263 100644 --- a/examples/tailwindcss/components/react/modal.tsx +++ b/examples/tailwindcss/components/react/modal.tsx @@ -1,20 +1,20 @@ /* eslint-disable @next/next/no-img-element */ -import type { WalletModalProps } from '@cosmos-kit/core' -import { WalletStatus } from '@cosmos-kit/core' -import { useWallet } from '@cosmos-kit/react' -import { useCallback, Fragment, useState, useMemo, useEffect } from 'react' -import { Dialog, Transition } from '@headlessui/react' +import type { WalletModalProps } from '@cosmos-kit/core'; +import { WalletStatus } from '@cosmos-kit/core'; +import { useWallet } from '@cosmos-kit/react'; +import { useCallback, Fragment, useState, useMemo, useEffect } from 'react'; +import { Dialog, Transition } from '@headlessui/react'; import { Connected, Connecting, Error, NotExist, QRCode, - WalletList, -} from './views' -import { wallets } from '@cosmos-kit/config' -import { useRouter } from 'next/router' -import Bowser from 'bowser' + WalletList +} from './views'; +import { wallets } from '@cosmos-kit/config'; +import { useRouter } from 'next/router'; +import Bowser from 'bowser'; export enum ModalView { WalletList, @@ -22,84 +22,80 @@ export enum ModalView { Connecting, Connected, Error, - NotExist, + NotExist } export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { - const router = useRouter() + const router = useRouter(); const [userBrowserInfo, setUserBrowserInfo] = useState<{ - browser: string - device: string | undefined - os: string - }>() + browser: string; + device: string | undefined; + os: string; + }>(); useEffect(() => { - const parser = Bowser.getParser(window.navigator.userAgent) + const parser = Bowser.getParser(window.navigator.userAgent); setUserBrowserInfo({ browser: parser.getBrowserName(true), device: parser.getPlatform().type, - os: parser.getOSName(true), - }) - }, []) + os: parser.getOSName(true) + }); + }, []); - const { - setCurrentWallet, - connect, - walletStatus, - currentWalletName, - } = useWallet() + const { setCurrentWallet, connect, walletStatus, currentWalletName } = + useWallet(); const [currentView, setCurrentView] = useState( - ModalView.WalletList, - ) + ModalView.WalletList + ); const currentWalletData = useMemo(() => { - return wallets.find((wallet) => wallet.name === currentWalletName) - }, [currentWalletName]) + return wallets.find((wallet) => wallet.name === currentWalletName); + }, [currentWalletName]); useEffect(() => { if (isOpen) { switch (walletStatus) { case WalletStatus.Disconnected: - setCurrentView(ModalView.WalletList) - break + setCurrentView(ModalView.WalletList); + break; case WalletStatus.Connecting: - setCurrentView(ModalView.Connecting) - break + setCurrentView(ModalView.Connecting); + break; case WalletStatus.Connected: - setCurrentView(ModalView.Connected) - break + setCurrentView(ModalView.Connected); + break; case WalletStatus.Error: - setCurrentView(ModalView.Error) - break + setCurrentView(ModalView.Error); + break; case WalletStatus.Rejected: - setCurrentView(ModalView.Error) - break + setCurrentView(ModalView.Error); + break; case WalletStatus.NotExist: - setCurrentView(ModalView.NotExist) - break + setCurrentView(ModalView.NotExist); + break; } } - }, [isOpen, walletStatus, currentWalletName]) + }, [isOpen, walletStatus, currentWalletName]); const onWalletClicked = useCallback( (name: string) => { - setCurrentWallet(name) - connect() + setCurrentWallet(name); + connect(); // 1ms timeout prevents _render from determining the view to show first setTimeout(() => { if (wallets.find((wallet) => wallet.name === name)?.isQRCode) - setCurrentView(ModalView.QRCode) - }, 1) + setCurrentView(ModalView.QRCode); + }, 1); }, - [setCurrentWallet, connect], - ) + [setCurrentWallet, connect] + ); const onCloseModal = useCallback(() => { - setOpen(false) - }, [setOpen]) + setOpen(false); + }, [setOpen]); const _render = useMemo(() => { switch (currentView) { @@ -109,7 +105,7 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { onClose={onCloseModal} onWalletClicked={onWalletClicked} /> - ) + ); case ModalView.Connected: return ( { name={currentWalletData?.prettyName!} logo={currentWalletData?.logo!} /> - ) + ); case ModalView.Connecting: - let subtitle: string + let subtitle: string; if (currentWalletData!.isQRCode) { - subtitle = `Approve ${ - currentWalletData!.prettyName - } connection request on your mobile.` + subtitle = `Approve ${currentWalletData!.prettyName + } connection request on your mobile.`; } else { - subtitle = `Open the ${ - currentWalletData!.prettyName - } browser extension to connect your wallet.` + subtitle = `Open the ${currentWalletData!.prettyName + } browser extension to connect your wallet.`; } return ( @@ -140,14 +134,14 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { title="Requesting Connection" subtitle={subtitle} /> - ) + ); case ModalView.QRCode: return ( setCurrentView(ModalView.WalletList)} /> - ) + ); case ModalView.Error: return ( { logo={currentWalletData?.logo!} onReconnect={() => onWalletClicked(currentWalletData?.name!)} /> - ) + ); case ModalView.NotExist: - type Device = 'desktop' | 'tablet' | 'mobile' - const device = userBrowserInfo?.device as Device - const downloads = currentWalletData?.downloads! + type Device = 'desktop' | 'tablet' | 'mobile'; + const device = userBrowserInfo?.device as Device; + const downloads = currentWalletData?.downloads!; return ( { downloads[device]?.find( ({ browser, os }) => browser === userBrowserInfo?.browser || - os === userBrowserInfo?.os, - )?.link || (currentWalletData?.downloads?.default as string), + os === userBrowserInfo?.os + )?.link || (currentWalletData?.downloads?.default as string) ) } logo={currentWalletData?.logo!} name={currentWalletData?.prettyName!} /> - ) + ); } }, [ currentView, @@ -185,8 +179,8 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { onWalletClicked, currentWalletData, router, - userBrowserInfo, - ]) + userBrowserInfo + ]); return ( @@ -222,5 +216,5 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { - ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/Connected.tsx b/examples/tailwindcss/components/react/views/Connected.tsx index 41c85eb9f..7c64852bd 100644 --- a/examples/tailwindcss/components/react/views/Connected.tsx +++ b/examples/tailwindcss/components/react/views/Connected.tsx @@ -1,33 +1,33 @@ /* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' +import { useWallet } from '@cosmos-kit/react'; +import { Dialog } from '@headlessui/react'; import { XMarkIcon, ArrowRightOnRectangleIcon, - ClipboardDocumentIcon, -} from '@heroicons/react/24/outline' -import { ChevronLeftIcon, CheckIcon } from '@heroicons/react/20/solid' -import copyToClipboard from 'copy-to-clipboard' -import { useState } from 'react' + ClipboardDocumentIcon +} from '@heroicons/react/24/outline'; +import { ChevronLeftIcon, CheckIcon } from '@heroicons/react/20/solid'; +import copyToClipboard from 'copy-to-clipboard'; +import { useState } from 'react'; export function truncate(address: string) { return `${address.substring(0, 12)}...${address.substring( address.length - 8, - address.length, - )}` + address.length + )}`; } export const Address = ({ children: address }: { children: string }) => { - const [copied, setCopied] = useState(false) + const [copied, setCopied] = useState(false); return ( - ) -} + ); +}; export const Connected = ({ onClose, onReturn, name, - logo, + logo }: { - onClose: () => void - onReturn: () => void - name: string - logo: string + onClose: () => void; + onReturn: () => void; + name: string; + logo: string; }) => { - const { disconnect, currentWallet } = useWallet() + const { disconnect, currentWallet } = useWallet(); return (
@@ -95,8 +95,8 @@ export const Connected = ({
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/Connecting.tsx b/examples/tailwindcss/components/react/views/Connecting.tsx index 3e9059a8b..e20adcb01 100644 --- a/examples/tailwindcss/components/react/views/Connecting.tsx +++ b/examples/tailwindcss/components/react/views/Connecting.tsx @@ -1,8 +1,8 @@ /* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' +import { useWallet } from '@cosmos-kit/react'; +import { Dialog } from '@headlessui/react'; +import { XMarkIcon } from '@heroicons/react/24/outline'; +import { ChevronLeftIcon } from '@heroicons/react/20/solid'; export const Connecting = ({ onClose, @@ -10,14 +10,14 @@ export const Connecting = ({ name, logo, title, - subtitle, + subtitle }: { - onClose: () => void - onReturn: () => void - name: string - logo: string - title: string - subtitle: string + onClose: () => void; + onReturn: () => void; + name: string; + logo: string; + title: string; + subtitle: string; }) => { return (
@@ -57,5 +57,5 @@ export const Connecting = ({

- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/Error.tsx b/examples/tailwindcss/components/react/views/Error.tsx index a4ff64a31..748c263b1 100644 --- a/examples/tailwindcss/components/react/views/Error.tsx +++ b/examples/tailwindcss/components/react/views/Error.tsx @@ -1,19 +1,19 @@ /* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon, ArrowPathIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' +import { useWallet } from '@cosmos-kit/react'; +import { Dialog } from '@headlessui/react'; +import { XMarkIcon, ArrowPathIcon } from '@heroicons/react/24/outline'; +import { ChevronLeftIcon } from '@heroicons/react/20/solid'; export const Error = ({ onClose, onReturn, onReconnect, - logo, + logo }: { - onClose: () => void - onReturn: () => void - onReconnect: () => void - logo: string + onClose: () => void; + onReturn: () => void; + onReconnect: () => void; + logo: string; }) => { return (
@@ -60,5 +60,5 @@ export const Error = ({
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/NotExist.tsx b/examples/tailwindcss/components/react/views/NotExist.tsx index e2beb5b66..c2f65f301 100644 --- a/examples/tailwindcss/components/react/views/NotExist.tsx +++ b/examples/tailwindcss/components/react/views/NotExist.tsx @@ -1,20 +1,20 @@ /* eslint-disable @next/next/no-img-element */ -import { Dialog } from '@headlessui/react' -import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' +import { Dialog } from '@headlessui/react'; +import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/react/24/outline'; +import { ChevronLeftIcon } from '@heroicons/react/20/solid'; export const NotExist = ({ onClose, onReturn, onInstall, logo, - name, + name }: { - onClose: () => void - onReturn: () => void - onInstall: () => void - logo: string - name: string + onClose: () => void; + onReturn: () => void; + onInstall: () => void; + logo: string; + name: string; }) => { return (
@@ -63,5 +63,5 @@ export const NotExist = ({
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/QRCode.tsx b/examples/tailwindcss/components/react/views/QRCode.tsx index 28fd5edbf..5d3d2440c 100644 --- a/examples/tailwindcss/components/react/views/QRCode.tsx +++ b/examples/tailwindcss/components/react/views/QRCode.tsx @@ -1,18 +1,18 @@ /* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronLeftIcon } from '@heroicons/react/20/solid' -import { QRCodeSVG } from 'qrcode.react' +import { useWallet } from '@cosmos-kit/react'; +import { Dialog } from '@headlessui/react'; +import { XMarkIcon } from '@heroicons/react/24/outline'; +import { ChevronLeftIcon } from '@heroicons/react/20/solid'; +import { QRCodeSVG } from 'qrcode.react'; export const QRCode = ({ onClose, - onReturn, + onReturn }: { - onClose: () => void - onReturn: () => void + onClose: () => void; + onReturn: () => void; }) => { - const { currentWallet } = useWallet() + const { currentWallet } = useWallet(); return (
@@ -53,5 +53,5 @@ export const QRCode = ({
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/WalletList.tsx b/examples/tailwindcss/components/react/views/WalletList.tsx index ddd4d4ca4..adc449a90 100644 --- a/examples/tailwindcss/components/react/views/WalletList.tsx +++ b/examples/tailwindcss/components/react/views/WalletList.tsx @@ -1,17 +1,17 @@ /* eslint-disable @next/next/no-img-element */ -import { useWallet } from '@cosmos-kit/react' -import { Dialog } from '@headlessui/react' -import { XMarkIcon } from '@heroicons/react/24/outline' -import { ChevronRightIcon } from '@heroicons/react/20/solid' +import { useWallet } from '@cosmos-kit/react'; +import { Dialog } from '@headlessui/react'; +import { XMarkIcon } from '@heroicons/react/24/outline'; +import { ChevronRightIcon } from '@heroicons/react/20/solid'; export const WalletList = ({ onClose, - onWalletClicked, + onWalletClicked }: { - onClose: () => void - onWalletClicked: (name: string) => void + onClose: () => void; + onWalletClicked: (name: string) => void; }) => { - const { wallets } = useWallet() + const { wallets } = useWallet(); return (
@@ -53,5 +53,5 @@ export const WalletList = ({ ))}
- ) -} + ); +}; diff --git a/examples/tailwindcss/components/react/views/index.ts b/examples/tailwindcss/components/react/views/index.ts index b94c99eea..c4efa7bf7 100644 --- a/examples/tailwindcss/components/react/views/index.ts +++ b/examples/tailwindcss/components/react/views/index.ts @@ -1,6 +1,6 @@ -export * from './Connected' -export * from './Connecting' -export * from './Error' -export * from './NotExist' -export * from './QRCode' -export * from './WalletList' +export * from './Connected'; +export * from './Connecting'; +export * from './Error'; +export * from './NotExist'; +export * from './QRCode'; +export * from './WalletList'; diff --git a/examples/tailwindcss/config/chain-infos.ts b/examples/tailwindcss/config/chain-infos.ts index 0592d230a..3a5de4712 100644 --- a/examples/tailwindcss/config/chain-infos.ts +++ b/examples/tailwindcss/config/chain-infos.ts @@ -1,12 +1,12 @@ -import { ChooseChainInfo } from '../components' -import { chains as chainsBase, assets as chainAssets } from 'chain-registry' +import { ChooseChainInfo } from '../components'; +import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; export const chainInfos: ChooseChainInfo[] = chainsBase .filter((chain) => chain.network_type !== 'testnet') .map((chain) => { const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name, - )?.assets + (_chain) => _chain.chain_name === chain.chain_name + )?.assets; return { chainName: chain.chain_name, label: chain.pretty_name, @@ -14,6 +14,6 @@ export const chainInfos: ChooseChainInfo[] = chainsBase icon: assets ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png : undefined, - disabled: false, - } - }) + disabled: false + }; + }); diff --git a/examples/tailwindcss/config/features.ts b/examples/tailwindcss/config/features.ts index 81ea744e1..2076b4405 100644 --- a/examples/tailwindcss/config/features.ts +++ b/examples/tailwindcss/config/features.ts @@ -1,54 +1,47 @@ -import { FeatureProps } from '../components' +import { FeatureProps } from '../components'; export const products: FeatureProps[] = [ { title: 'CosmosKit', - text: - 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', - href: 'https://github.com/cosmology-tech/cosmos-kit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' }, { title: 'Telescope', - text: - 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', - href: 'https://github.com/osmosis-labs/telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' }, { title: 'TS Codegen', - text: - 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', - href: 'https://github.com/CosmWasm/ts-codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' }, { title: 'CosmWasm Academy', - text: - 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', - href: 'https://academy.cosmwasm.com/', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' }, { title: 'Chain Registry', - text: - 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', - href: 'https://github.com/cosmology-tech/chain-registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' }, { title: 'Videos', - text: - 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', - href: 'https://cosmology.tech/learn', - }, -] + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; export const dependencies: FeatureProps[] = [ { title: 'Tailwind CSS', - text: - 'An unopinionated CSS framework with a multitude of customizable styles for the modern web.', - href: 'https://tailwindcss.com', + text: 'An unopinionated CSS framework with a multitude of customizable styles for the modern web.', + href: 'https://tailwindcss.com' }, { title: 'Next.js', text: 'A React Framework for hybrid static & server-side rendering.', - href: 'https://nextjs.org/', - }, -] + href: 'https://nextjs.org/' + } +]; diff --git a/examples/tailwindcss/config/index.ts b/examples/tailwindcss/config/index.ts index 4c2748a41..b8795830d 100644 --- a/examples/tailwindcss/config/index.ts +++ b/examples/tailwindcss/config/index.ts @@ -1 +1 @@ -export * from './features' +export * from './features'; diff --git a/examples/tailwindcss/contexts/theme.tsx b/examples/tailwindcss/contexts/theme.tsx index 45ab4214c..fa9711c8d 100644 --- a/examples/tailwindcss/contexts/theme.tsx +++ b/examples/tailwindcss/contexts/theme.tsx @@ -4,64 +4,64 @@ import { useContext, useState, useEffect, - useCallback, -} from 'react' + useCallback +} from 'react'; export interface ThemeContext { - theme: 'dark' | 'light' - toggleTheme: () => void + theme: 'dark' | 'light'; + toggleTheme: () => void; } export const Theme = createContext({ theme: 'light', - toggleTheme: () => {}, -}) + toggleTheme: () => { } +}); export const ThemeProvider = ({ children }: { children: ReactNode }) => { - const [theme, setTheme] = useState<'dark' | 'light'>('light') + const [theme, setTheme] = useState<'dark' | 'light'>('light'); useEffect(() => { if (window.matchMedia('(prefers-color-scheme: dark)').matches) { - document.documentElement.classList.add('dark') - setTheme('dark') + document.documentElement.classList.add('dark'); + setTheme('dark'); } else { - document.documentElement.classList.remove('dark') - setTheme('light') + document.documentElement.classList.remove('dark'); + setTheme('light'); } - }, []) + }, []); useEffect(() => { switch (theme) { case 'light': - document.documentElement.classList.remove('dark') - break + document.documentElement.classList.remove('dark'); + break; case 'dark': - document.documentElement.classList.add('dark') - break + document.documentElement.classList.add('dark'); + break; } - }, [theme]) + }, [theme]); const toggleTheme = useCallback(() => { switch (theme) { case 'light': - setTheme('dark') - break + setTheme('dark'); + break; case 'dark': - setTheme('light') - break + setTheme('light'); + break; } - }, [theme]) + }, [theme]); return ( {children} - ) -} + ); +}; -export const useTheme = (): ThemeContext => useContext(Theme) +export const useTheme = (): ThemeContext => useContext(Theme); diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index 6a35bf862..1c1b5980e 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -1,19 +1,19 @@ -import '../styles/globals.css' -import type { AppProps } from 'next/app' -import { WalletProvider } from '@cosmos-kit/react' -import { wallets } from '@cosmos-kit/keplr' -import { TailwindModal } from '../components' -import { ThemeProvider } from '../contexts/theme' +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { wallets } from '@cosmos-kit/keplr'; +import { TailwindModal } from '../components'; +import { ThemeProvider } from '../contexts/theme'; -import { SignerOptions } from '@cosmos-kit/core' -import { chains, assets } from 'chain-registry' +import { SignerOptions } from '@cosmos-kit/core'; +import { chains, assets } from 'chain-registry'; function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { // stargate: (_chain: Chain) => { // return getSigningCosmosClientOptions(); // } - } + }; return ( - ) + ); } -export default CreateCosmosApp +export default CreateCosmosApp; diff --git a/examples/tailwindcss/pages/index.tsx b/examples/tailwindcss/pages/index.tsx index bb4c750cd..b8874835f 100644 --- a/examples/tailwindcss/pages/index.tsx +++ b/examples/tailwindcss/pages/index.tsx @@ -1,12 +1,12 @@ -import Head from 'next/head' -import { Product, Dependency, WalletSection } from '../components' -import { dependencies, products } from '../config' -import { useTheme } from '../contexts/theme' -import { MoonIcon, SunIcon } from '@heroicons/react/24/outline' +import Head from 'next/head'; +import { Product, Dependency, WalletSection } from '../components'; +import { dependencies, products } from '../config'; +import { useTheme } from '../contexts/theme'; +import { MoonIcon, SunIcon } from '@heroicons/react/24/outline'; export default function Home() { - const chainName = process.env.NEXT_PUBLIC_CHAIN - const { theme, toggleTheme } = useTheme() + const chainName = process.env.NEXT_PUBLIC_CHAIN ?? 'stargaze'; + const { theme, toggleTheme } = useTheme(); return (
@@ -65,5 +65,5 @@ export default function Home() {
- ) + ); } From d1302ed86424e0c8e239f536006a66eff93786db Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 01:05:24 -0500 Subject: [PATCH 143/262] gitignore --- examples/tailwindcss/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/tailwindcss/.gitignore b/examples/tailwindcss/.gitignore index c87c9b392..084701482 100644 --- a/examples/tailwindcss/.gitignore +++ b/examples/tailwindcss/.gitignore @@ -34,3 +34,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +.next From 6c0b3964d4f8310516458e96cdf1b6df3847ff58 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:09:28 -0500 Subject: [PATCH 144/262] use RPC --- examples/contracts/package.json | 2 +- examples/juno/package.json | 2 +- examples/juno/pages/index.tsx | 14 ++-- examples/osmosis-cosmwasm/package.json | 4 +- examples/osmosis/package.json | 2 +- examples/osmosis/pages/index.tsx | 14 ++-- examples/send-tokens/package.json | 2 +- examples/send-tokens/pages/index.tsx | 14 ++-- examples/stargaze/pages/index.tsx | 14 ++-- examples/telescope/package.json | 2 +- yarn.lock | 111 +++++-------------------- 11 files changed, 57 insertions(+), 124 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index a8e0716d2..54be9c2f7 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.33.0", + "@osmonauts/telescope": "0.35.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/juno/package.json b/examples/juno/package.json index 3062e25a8..337dbac59 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -22,7 +22,7 @@ "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", - "juno-network": "0.5.0", + "juno-network": "0.5.3", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx index d51cc5060..1f52f2b35 100644 --- a/examples/juno/pages/index.tsx +++ b/examples/juno/pages/index.tsx @@ -105,16 +105,16 @@ export default function Home() { return; } - let restEndpoint = await currentWallet?.getRestEndpoint(); + let rpcEndpoint = await currentWallet?.getRpcEndpoint(); - if (!restEndpoint) { - console.log('no rest endpoint — using a fallback'); - restEndpoint = `https://rest.cosmos.directory/${chainName}`; + if (!rpcEndpoint) { + console.log('no rpc endpoint — using a fallback'); + rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } - // get LCD client - const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint + // get RPC client + const client = await cosmos.ClientFactory.createRPCQueryClient({ + rpcEndpoint }); // fetch balance diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 10050a70a..6647c46c0 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -24,7 +24,7 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.24.0", + "osmojs": "0.25.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" @@ -38,4 +38,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 8a3d5ae28..4efbe2940 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -23,7 +23,7 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.24.0", + "osmojs": "0.25.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx index 221448140..cb12c04a8 100644 --- a/examples/osmosis/pages/index.tsx +++ b/examples/osmosis/pages/index.tsx @@ -106,16 +106,16 @@ export default function Home() { return; } - let restEndpoint = await currentWallet?.getRestEndpoint(); + let rpcEndpoint = await currentWallet?.getRpcEndpoint(); - if (!restEndpoint) { - console.log('no rest endpoint — using a fallback'); - restEndpoint = `https://rest.cosmos.directory/${chainName}`; + if (!rpcEndpoint) { + console.log('no rpc endpoint — using a fallback'); + rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } - // get LCD client - const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint + // get RPC client + const client = await cosmos.ClientFactory.createRPCQueryClient({ + rpcEndpoint }); // fetch balance diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index c863294ed..4d61baaa5 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -22,7 +22,7 @@ "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", - "interchain": "0.9.1", + "interchain": "1.0.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index a8dd78aa3..545c5ad55 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -99,16 +99,16 @@ export default function Home() { return; } - let restEndpoint = await currentWallet?.getRestEndpoint(); + let rpcEndpoint = await currentWallet?.getRpcEndpoint(); - if (!restEndpoint) { - console.log('no rest endpoint — using a fallback'); - restEndpoint = `https://rest.cosmos.directory/${chainName}`; + if (!rpcEndpoint) { + console.log('no rpc endpoint — using a fallback'); + rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } - // get LCD client - const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint + // get RPC client + const client = await cosmos.ClientFactory.createRPCQueryClient({ + rpcEndpoint }); // fetch balance diff --git a/examples/stargaze/pages/index.tsx b/examples/stargaze/pages/index.tsx index 3e773bf9e..66d8adeeb 100644 --- a/examples/stargaze/pages/index.tsx +++ b/examples/stargaze/pages/index.tsx @@ -105,16 +105,16 @@ export default function Home() { return; } - let restEndpoint = await currentWallet?.getRestEndpoint(); + let rpcEndpoint = await currentWallet?.getRpcEndpoint(); - if (!restEndpoint) { - console.log('no rest endpoint — using a fallback'); - restEndpoint = `https://rest.cosmos.directory/${chainName}`; + if (!rpcEndpoint) { + console.log('no rpc endpoint — using a fallback'); + rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } - // get LCD client - const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint + // get RPC client + const client = await cosmos.ClientFactory.createRPCQueryClient({ + rpcEndpoint }); // fetch balance diff --git a/examples/telescope/package.json b/examples/telescope/package.json index b5f579658..5f05fdc1d 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.33.0", + "@osmonauts/telescope": "0.35.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/yarn.lock b/yarn.lock index 2a8b4fa97..7ded312f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3265,16 +3265,6 @@ resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== -"@headlessui/react@^1.7.2": - version "1.7.2" - resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" - integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== - -"@heroicons/react@^2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" - integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== - "@humanwhocodes/config-array@^0.10.4": version "0.10.4" resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz" @@ -4731,23 +4721,10 @@ dependencies: "@octokit/openapi-types" "^12.11.0" -"@osmonauts/ast@^0.27.0": - version "0.27.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.27.0.tgz#fd0a173ca3f03164de759d508c274ad0f9704895" - integrity sha512-cVs2E4VIf507zEfzgwwIGeTe7ybOLr0KBfdizH0cFKaf0wFm4V/whxkt+g3xb6Jh2ulWHqr49bB+COcohrC/Ow== - dependencies: - "@babel/runtime" "^7.18.9" - "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.19.1" - "@osmonauts/types" "^0.15.1" - "@osmonauts/utils" "^0.4.0" - case "1.6.3" - dotty "0.1.2" - -"@osmonauts/ast@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.29.0.tgz#5a812a5f99f6a392a196d9b3ae52b71f9dadb842" - integrity sha512-350zhR6i8NlqfHrlycKtOGoXU01nYoew/WAWKhBRKmTmaFDDh0pyKCeJYWEUp6NwquJDiwwYooRQRjSYfZxXlQ== +"@osmonauts/ast@^0.31.0": + version "0.31.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.31.0.tgz#3c4159f4c660a9ebce51268c0f2ad697bbb6ec55" + integrity sha512-ybcuClvO4Tym9Dymy79yQzQtgFzUGo/IZ5hOF3Q1bbQ8qeol+uMxhs8GhZfmqQpVzw/WOyjVazEPrzohiL/bYg== dependencies: "@babel/runtime" "^7.18.9" "@babel/types" "7.18.13" @@ -4791,10 +4768,10 @@ glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.33.0": - version "0.33.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.33.0.tgz#1b6418067acc824fb28aecf958abf09dd13a057d" - integrity sha512-Lu9uT0cF4kqxaxoIA4kZFnmhr90EYmOZQYhINy1GmWiRx2QOFk/s14k08T6HRYjPBmh2przu3P+t+NsNs3T0xA== +"@osmonauts/telescope@0.35.0", "@osmonauts/telescope@^0.35.0": + version "0.35.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.35.0.tgz#d02477d491f6a095e5f163cdc1c958aff3582c69" + integrity sha512-Q1yAHFvONy3kV/U1/5Xp4H+cv5f++MOjMe9LcxqggtSvcanwj+RmUg89hacOpZovUrPP6Z1skHzYyPH8/Hj1Fg== dependencies: "@babel/core" "7.18.13" "@babel/generator" "7.18.13" @@ -4809,45 +4786,7 @@ "@babel/traverse" "7.18.13" "@babel/types" "7.18.13" "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.29.0" - "@osmonauts/proto-parser" "^0.19.1" - "@osmonauts/types" "^0.15.1" - "@osmonauts/utils" "^0.4.0" - "@types/parse-package-name" "0.1.0" - case "1.6.3" - dargs "7.0.0" - deepmerge "4.2.2" - dotty "0.1.2" - fuzzy "0.1.3" - glob "8.0.3" - inquirerer "0.1.3" - long "^5.2.0" - minimatch "5.1.0" - minimist "1.2.6" - mkdirp "1.0.4" - parse-package-name "1.0.0" - rimraf "3.0.2" - shelljs "0.8.5" - -"@osmonauts/telescope@^0.31.0": - version "0.31.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.31.0.tgz#fb4ffbaaae04ed59b8a7e02b0f2bab6ee8d93ecb" - integrity sha512-lX3I2oMBH4jVmVxO7va/gd1Sv5nqBlD4zAq21nwbA//YUNmpXD6m3BoKIKamLCUD91oasu8g3spCfzx/S6Gwng== - dependencies: - "@babel/core" "7.18.13" - "@babel/generator" "7.18.13" - "@babel/parser" "^7.18.13" - "@babel/plugin-proposal-class-properties" "7.18.6" - "@babel/plugin-proposal-export-default-from" "7.18.10" - "@babel/plugin-proposal-object-rest-spread" "7.18.9" - "@babel/plugin-transform-runtime" "7.18.10" - "@babel/preset-env" "7.18.10" - "@babel/preset-typescript" "^7.17.12" - "@babel/runtime" "^7.18.9" - "@babel/traverse" "7.18.13" - "@babel/types" "7.18.13" - "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.27.0" + "@osmonauts/ast" "^0.31.0" "@osmonauts/proto-parser" "^0.19.1" "@osmonauts/types" "^0.15.1" "@osmonauts/utils" "^0.4.0" @@ -6341,15 +6280,9 @@ caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== caniuse-lite@^1.0.30001407: -<<<<<<< HEAD - version "1.0.30001414" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001414.tgz#5f1715e506e71860b4b07c50060ea6462217611e" - integrity sha512-t55jfSaWjCdocnFdKQoO+d2ct9C59UZg4dY3OnUlSZ447r8pUtIKdp0hpAzrGFultmTC+Us+KpKi4GZl/LXlFg== -======= version "1.0.30001412" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c" integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA== ->>>>>>> 10c4410 (Yarnlock upgrade) case@1.6.3: version "1.6.3" @@ -8542,10 +8475,10 @@ inquirerer@0.1.3: inquirer "^6.0.0" inquirer-autocomplete-prompt "^0.11.1" -interchain@0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/interchain/-/interchain-0.9.1.tgz#0eb5226fb8339d0dac7f76800d5851ea8ace8598" - integrity sha512-AS81myNxAczCausPoZtkM7KawOjaWm/7Rr6LoNsJ3FkW2RPmRQJT0UFPN6ykKoo+fNN4NEwEKzB+MXDfx0L61A== +interchain@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/interchain/-/interchain-1.0.0.tgz#ce4ac1a37f52f91898a77b4e372ab849b105b3ef" + integrity sha512-kl+rUW02DAFg9ejDVtHDqY3Qtt2AET0LQ6fD66h6zENG1mBZGXJV6VNgb3l+z/MfuSP1N36kocYvz56HFCoAww== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" @@ -8554,7 +8487,7 @@ interchain@0.9.1: "@cosmjs/tendermint-rpc" "^0.29.0" "@osmonauts/helpers" "^0.6.0" "@osmonauts/lcd" "^0.6.0" - "@osmonauts/telescope" "^0.31.0" + "@osmonauts/telescope" "^0.35.0" protobufjs "^6.11.2" internal-slot@^1.0.3: @@ -9384,10 +9317,10 @@ jsprim@^1.2.2: array-includes "^3.1.5" object.assign "^4.1.3" -juno-network@0.5.0: - version "0.5.0" - resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.5.0.tgz#70408e6b3294068a7ff2ff5056544c982f7575c0" - integrity sha512-mgmRQZq5PD3RiWT8wIJDXfS9yZcxEsNL7JWxy3/pKG9xowZm2Na/dayV+V2xG5y48eTENHBbfsFtb2rKSAz2mQ== +juno-network@0.5.3: + version "0.5.3" + resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.5.3.tgz#686e66ff967e3877316f62a91b2c797885899f65" + integrity sha512-AtZYQE5c/wXBs29nTniiIwiFF0UlVFb/9/gvCpYhpTmjc9eEfvglqu0Y26MO0NyP0wG1tSdxOlyGAV49kRHkVA== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" @@ -10444,10 +10377,10 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.24.0: - version "0.24.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.24.0.tgz#dae86771034c036076a796d2758399e6a4f99f29" - integrity sha512-wzbVLKwP6kCUdGjote1/Zf15wBI6w+NB0dwVHuuwQXFbZ/Sl7Mcd2LetfS26bAlkJyEPkOc1ww6ju848APcnzA== +osmojs@0.25.0: + version "0.25.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.25.0.tgz#882e8e7a262b4865c8e3b7a78ad5159d652a19f0" + integrity sha512-Ul9GG2QM2KbIS1Aw4wwceECGXRNqKCjqAX+c8O/xEfLcCQyW3+7qdR8vKOmAHd3j026LoN1Kxdpz99gsOVQdjQ== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" From 4228cc77821f413c2218ccc1ebbb3822313bee07 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:15:36 -0500 Subject: [PATCH 145/262] readme --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index df863aa6f..fc1af346a 100644 --- a/README.md +++ b/README.md @@ -92,11 +92,6 @@ Explore examples! ``` cca --example ``` -### Tailwind - -``` -cca --name exampleapp --example --template tailwindcss -``` ### Send Tokens @@ -120,6 +115,12 @@ uses [osmojs](https://github.com/osmosis-labs/osmojs) cca --name myosmoapp --example --template osmosis ``` +or the cosmwsam example: + +``` +cca --name myosmoapp --example --template osmosis-cosmwasm +``` + ### Juno

@@ -145,6 +146,12 @@ uses [stargazejs](https://github.com/cosmology-tech/stargaze-zone) cca --name mystarsapp --example --template stargaze ``` +### Tailwind + +``` +cca --name exampleapp --example --template tailwindcss +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From 7e0aacd1f42fa949ebb3b9f65f466ccf411a5cc1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:16:59 -0500 Subject: [PATCH 146/262] cli --- packages/create-cosmwasm-app/src/cli.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmwasm-app/src/cli.ts b/packages/create-cosmwasm-app/src/cli.ts index a5a6d7390..ed056af25 100644 --- a/packages/create-cosmwasm-app/src/cli.ts +++ b/packages/create-cosmwasm-app/src/cli.ts @@ -12,7 +12,12 @@ export const cli = async (argv) => { } ], argv); - argv.template = template; + if (template === 'osmosis') { + argv.template = 'osmosis-cosmwasm'; + } else { + argv.template = template; + } + await createCosmosApp(argv); }; From 70f49be555822a029429c28f7c7ba102dcccda79 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:17:22 -0500 Subject: [PATCH 147/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0 - @cosmonauts/juno@1.0.0 - @cosmonauts/osmosis-cosmwasm@1.0.0 - @cosmonauts/osmosis@1.0.0 - @cosmonauts/send-tokens@1.0.0 - @cosmonauts/stargaze@1.0.0 - @cosmonauts/tailwindcss@1.0.0 - @cosmonauts/connect-chain-with-telescope@1.0.0 - create-cosmwasm-app@1.0.0 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 2 +- 18 files changed, 81 insertions(+), 9 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index a16e99209..9c86ab9ae 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.5.1...@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 54be9c2f7..47163e879 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "0.6.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 688b33ecc..9afb3061d 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.8.0...@cosmonauts/juno@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.7.1...@cosmonauts/juno@0.8.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 337dbac59..ae4de1bfd 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "0.8.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index c546da1fc..d29ef51d5 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.0.0 (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.1...@cosmonauts/osmosis@0.8.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 6647c46c0..215ea8fa2 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "0.8.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index c546da1fc..62945db28 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.8.0...@cosmonauts/osmosis@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.1...@cosmonauts/osmosis@0.8.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 4efbe2940..9103b6d82 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "0.8.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 3e0eb037f..b713bf871 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.7.0...@cosmonauts/send-tokens@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.6.1...@cosmonauts/send-tokens@0.7.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4d61baaa5..2c814297a 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "0.7.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index d8e6277d1..96aedf261 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.8.0...@cosmonauts/stargaze@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.7.1...@cosmonauts/stargaze@0.8.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index d2faad3e2..da59f3658 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "0.8.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index 4bbacdf53..3c7cea9fd 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@0.7.0...@cosmonauts/tailwindcss@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@0.6.2...@cosmonauts/tailwindcss@0.7.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index dd79cbaa7..beeff20ac 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "0.7.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 07ea53c0c..0a353c9db 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.6.0...@cosmonauts/connect-chain-with-telescope@1.0.0) (2022-10-01) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.5.1...@cosmonauts/connect-chain-with-telescope@0.6.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 5f05fdc1d..90b115741 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "0.6.0", + "version": "1.0.0", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 0be1119a9..07288fdd3 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.5.1...create-cosmwasm-app@1.0.0) (2022-10-01) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.5.0...create-cosmwasm-app@0.5.1) (2022-09-30) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index e1d05b901..17250826a 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "0.5.1", + "version": "1.0.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From c2321f950486e6227a5134dd4642b1a319e91547 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:55:16 -0500 Subject: [PATCH 148/262] readme --- README.md | 2 +- packages/create-cosmos-app/README.md | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc1af346a..0266daa04 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ cca --name myjunoapp --example --template juno

-uses [stargazejs](https://github.com/cosmology-tech/stargaze-zone) +uses [stargazejs](https://github.com/cosmology-tech/stargazejs) ``` cca --name mystarsapp --example --template stargaze diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index df863aa6f..0266daa04 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -92,11 +92,6 @@ Explore examples! ``` cca --example ``` -### Tailwind - -``` -cca --name exampleapp --example --template tailwindcss -``` ### Send Tokens @@ -120,6 +115,12 @@ uses [osmojs](https://github.com/osmosis-labs/osmojs) cca --name myosmoapp --example --template osmosis ``` +or the cosmwsam example: + +``` +cca --name myosmoapp --example --template osmosis-cosmwasm +``` + ### Juno

@@ -139,12 +140,18 @@ cca --name myjunoapp --example --template juno

-uses [stargazejs](https://github.com/cosmology-tech/stargaze-zone) +uses [stargazejs](https://github.com/cosmology-tech/stargazejs) ``` cca --name mystarsapp --example --template stargaze ``` +### Tailwind + +``` +cca --name exampleapp --example --template tailwindcss +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From d258826f6dad7ba6d1aa9a0b32679cdab2fc9141 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 02:55:28 -0500 Subject: [PATCH 149/262] chore(release): publish - create-cosmos-app@0.4.8 - create-cosmwasm-app@1.0.1 - create-juno-app@0.5.2 - create-osmosis-app@0.5.2 - create-stargaze-app@0.5.3 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 18e87448b..18db3a9b0 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.8](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.7...create-cosmos-app@0.4.8) (2022-10-01) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.6...create-cosmos-app@0.4.7) (2022-09-30) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 66823de6c..7b8380527 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.7", + "version": "0.4.8", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 07288fdd3..81531316e 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.0...create-cosmwasm-app@1.0.1) (2022-10-01) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@0.5.1...create-cosmwasm-app@1.0.0) (2022-10-01) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 17250826a..8070fb655 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.0", + "version": "1.0.1", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.7", + "create-cosmos-app": "^0.4.8", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 1f7278b76..6e7da9c53 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.1...create-juno-app@0.5.2) (2022-10-01) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.0...create-juno-app@0.5.1) (2022-09-30) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 2e6b5cf69..3f61cd6ef 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.1", + "version": "0.5.2", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.7", + "create-cosmos-app": "^0.4.8", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index e135ddcfb..8e630494c 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.1...create-osmosis-app@0.5.2) (2022-10-01) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.0...create-osmosis-app@0.5.1) (2022-09-30) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index b1886627c..0b8cd3664 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.1", + "version": "0.5.2", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.7", + "create-cosmos-app": "^0.4.8", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 081aa5115..2394619ab 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.2...create-stargaze-app@0.5.3) (2022-10-01) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.0...create-stargaze-app@0.5.2) (2022-09-30) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 353f5abfc..34a6ed790 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.2", + "version": "0.5.3", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.7", + "create-cosmos-app": "^0.4.8", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From 830784ac51d296d62a177efaec2f2ebaa503d60b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 1 Oct 2022 10:19:26 -0500 Subject: [PATCH 150/262] assets --- examples/juno/package.json | 1 + examples/osmosis-cosmwasm/package.json | 1 + examples/osmosis/package.json | 1 + yarn.lock | 16 ++++++++++++++++ 4 files changed, 19 insertions(+) diff --git a/examples/juno/package.json b/examples/juno/package.json index ae4de1bfd..5d461dc5c 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -19,6 +19,7 @@ "@cosmos-kit/react": "0.18.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", + "@juno-network/assets": "0.11.1", "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 215ea8fa2..4a234cb96 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -10,6 +10,7 @@ "codegen": "cross-env NODE_ENV=development babel-node scripts/codegen.js" }, "dependencies": { + "@chain-registry/osmosis": "1.0.0", "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 9103b6d82..6a76c1ad8 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@chain-registry/osmosis": "1.0.0", "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", diff --git a/yarn.lock b/yarn.lock index 7ded312f3..a7a6fcbea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1337,6 +1337,14 @@ "@keplr-wallet/crypto" "^0.10.24" semver "^7.3.7" +"@chain-registry/osmosis@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.0.0.tgz#268d195966fe7351436e5261506c4083d6105e9d" + integrity sha512-fKrydOUykie31SZjk72RxIoBgeCevQb/E3uMbwfcb+taTmcZkrN5TuA/5t3OvszazrdxbMD8h54uIqcu1kroFw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@chain-registry/types@0.11.0", "@chain-registry/types@^0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" @@ -3585,6 +3593,14 @@ resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== +"@juno-network/assets@0.11.1": + version "0.11.1" + resolved "https://registry.npmjs.org/@juno-network/assets/-/assets-0.11.1.tgz#d80bb3f34d82c511f9dd120930ccf04f585bc459" + integrity sha512-7X4LzJVM3JLVHFexa71POLYsJ44Pk7TuZh16xgY+ty0rqQlo3egtyJyvINJCGtP9OG/c5VgnGCt/AeMjmN1MBg== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "0.11.0" + "@keplr-wallet/common@0.11.3": version "0.11.3" resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.3.tgz#996290a157acd200cc5aa2c7f298c82545fc176e" From c6bc1a4e057cc36290a993065159e7dba551c0fe Mon Sep 17 00:00:00 2001 From: Jon Ator Date: Sun, 2 Oct 2022 19:28:45 -0500 Subject: [PATCH 151/262] Cleaup and separate --- .eslintrc.js | 70 ------------------- .prettierrc.yaml | 2 + .../components/react/hackcw20.tsx | 24 +++++++ .../components/react/index.ts | 12 ++-- .../hooks/use-hack-cw20-balance.ts | 33 +++++++++ examples/osmosis-cosmwasm/pages/index.tsx | 60 +++------------- 6 files changed, 73 insertions(+), 128 deletions(-) delete mode 100644 .eslintrc.js create mode 100644 .prettierrc.yaml create mode 100644 examples/osmosis-cosmwasm/components/react/hackcw20.tsx create mode 100644 examples/osmosis-cosmwasm/hooks/use-hack-cw20-balance.ts diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index c11d7e022..000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,70 +0,0 @@ -module.exports = { - plugins: ['prettier'], - extends: ['eslint:recommended', 'prettier'], - parser: 'babel-eslint', - parserOptions: { - ecmaVersion: 11, - sourceType: 'module', - ecmaFeatures: { - jsx: true - } - }, - env: { - es6: true, - browser: true, - node: true, - jest: true - }, - rules: { - 'no-debugger': 2, - 'no-alert': 2, - 'no-await-in-loop': 0, - 'no-prototype-builtins': 0, - 'no-return-assign': ['error', 'except-parens'], - 'no-restricted-syntax': [ - 2, - 'ForInStatement', - 'LabeledStatement', - 'WithStatement' - ], - 'no-unused-vars': [ - 0, - { - ignoreSiblings: true, - argsIgnorePattern: 'res|next|^_' - } - ], - 'prefer-const': [ - 'error', - { - destructuring: 'all' - } - ], - 'no-unused-expressions': [ - 2, - { - allowTaggedTemplates: true - } - ], - 'no-console': 1, - 'comma-dangle': 2, - 'jsx-quotes': [2, 'prefer-double'], - 'linebreak-style': ['error', 'unix'], - quotes: [ - 2, - 'single', - { - avoidEscape: true, - allowTemplateLiterals: true - } - ], - 'prettier/prettier': [ - 'error', - { - trailingComma: 'none', - singleQuote: true, - printWidth: 80 - } - ] - } -}; diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 000000000..125ae1cb2 --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,2 @@ +# .prettierrc or .prettierrc.yaml +singleQuote: true diff --git a/examples/osmosis-cosmwasm/components/react/hackcw20.tsx b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx new file mode 100644 index 000000000..fdc86f2e0 --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx @@ -0,0 +1,24 @@ +import { FunctionComponent } from "react"; +import { Heading } from "@chakra-ui/react"; +import { WalletStatus } from "@cosmos-kit/core"; +import { useWallet } from "@cosmos-kit/react"; +import { useHackCw20Balance } from "../../hooks/use-hack-cw20-balance"; + +export default function HackCw20() { + const { walletStatus } = useWallet(); + + const { balance } = useHackCw20Balance( + "osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8" + ); + + return ( + +
+ HackCW20 Balance:{" "} + {walletStatus === WalletStatus.Disconnected + ? "Connect wallet!" + : balance ?? "loading..."} +
+
+ ); +} diff --git a/examples/osmosis-cosmwasm/components/react/index.ts b/examples/osmosis-cosmwasm/components/react/index.ts index cc035b9c5..ea8b0e598 100644 --- a/examples/osmosis-cosmwasm/components/react/index.ts +++ b/examples/osmosis-cosmwasm/components/react/index.ts @@ -1,6 +1,6 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; diff --git a/examples/osmosis-cosmwasm/hooks/use-hack-cw20-balance.ts b/examples/osmosis-cosmwasm/hooks/use-hack-cw20-balance.ts new file mode 100644 index 000000000..073cad3fd --- /dev/null +++ b/examples/osmosis-cosmwasm/hooks/use-hack-cw20-balance.ts @@ -0,0 +1,33 @@ +import { useState, useEffect } from "react"; +import { useWallet } from "@cosmos-kit/react"; + +// import cosmwasm client generated with cosmwasm-ts-codegen +import { HackCw20QueryClient } from "../codegen/HackCw20.client"; + +export function useHackCw20Balance(contractAddress: string): { + balance: string | undefined; +} { + const { getCosmWasmClient, address } = useWallet(); + + const [cw20Client, setCw20Client] = useState( + null + ); + useEffect(() => { + getCosmWasmClient().then((cosmwasmClient) => { + if (!cosmwasmClient || !address) { + console.error("cosmwasmClient undefined or address undefined."); + return; + } + + setCw20Client(new HackCw20QueryClient(cosmwasmClient, contractAddress)); + }); + }, [address, contractAddress, getCosmWasmClient]); + const [cw20Bal, setCw20Bal] = useState(null); + useEffect(() => { + if (cw20Client && address) { + cw20Client.balance({ address }).then((b) => setCw20Bal(b.balance)); + } + }, [cw20Client, address]); + + return { balance: cw20Bal ?? undefined }; +} diff --git a/examples/osmosis-cosmwasm/pages/index.tsx b/examples/osmosis-cosmwasm/pages/index.tsx index 7a6d70eda..b5ae32b02 100644 --- a/examples/osmosis-cosmwasm/pages/index.tsx +++ b/examples/osmosis-cosmwasm/pages/index.tsx @@ -1,11 +1,8 @@ -import { useEffect, useState, useMemo } from 'react'; +import { useEffect } from 'react'; import { useWallet } from '@cosmos-kit/react'; import { assets } from 'chain-registry'; import { AssetList, Asset } from '@chain-registry/types'; -// import cosmwasm client generated with cosmwasm-ts-codegen -import { HackCw20QueryClient } from '../codegen/HackCw20.client'; - import { Box, Divider, @@ -19,7 +16,7 @@ import { Flex, Icon, useColorMode, - useColorModeValue + useColorModeValue, } from '@chakra-ui/react'; import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; import { dependencies, products } from '../config'; @@ -28,10 +25,12 @@ import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; import Head from 'next/head'; +import HackCw20 from '../components/react/hackcw20'; + const library = { title: 'OsmoJS', text: 'OsmoJS', - href: 'https://github.com/osmosis-labs/osmojs' + href: 'https://github.com/osmosis-labs/osmojs', }; // const chainName = 'osmosis'; @@ -46,14 +45,7 @@ const coin: Asset = chainassets.assets.find( export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { - getStargateClient, - getCosmWasmClient, - address, - setCurrentChain, - currentWallet, - walletStatus - } = useWallet(); + const { walletStatus, setCurrentChain } = useWallet(); useEffect(() => { setCurrentChain(chainName); @@ -61,37 +53,6 @@ export default function Home() { const color = useColorModeValue('primary.500', 'primary.200'); - // get cw20 balance - const [cw20Client, setCw20Client] = useState( - null - ); - useEffect(() => { - getCosmWasmClient().then((cosmwasmClient) => { - if (!cosmwasmClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - setCw20Client( - new HackCw20QueryClient( - cosmwasmClient, - 'osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8' - ) - ); - }); - }, [address, getCosmWasmClient]); - const [cw20Bal, setCw20Bal] = useState(null); - useEffect(() => { - if (cw20Client && address) { - cw20Client - .balance({ - // TODO: replace with `address` !!! - address: 'osmo10vcqfvecwmvfr46cn0ju024xz7khutjtdsg5ga' - }) - .then((b) => setCw20Bal(b.balance)); - } - }, [cw20Client, address]); - return ( @@ -131,12 +92,7 @@ export default function Home() {
-
- HackCW20 Balance:{' '} - {walletStatus === WalletStatus.Disconnected - ? 'Connect wallet!' - : cw20Bal ?? 'loading...'} -
+ {walletStatus === WalletStatus.Disconnected && ( @@ -160,7 +116,7 @@ export default function Home() { Date: Mon, 3 Oct 2022 03:41:33 -0500 Subject: [PATCH 152/262] codegen --- examples/osmosis-cosmwasm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 4a234cb96..d40bcef1d 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "codegen": "cross-env NODE_ENV=development babel-node scripts/codegen.js" + "codegen": "node scripts/codegen.js" }, "dependencies": { "@chain-registry/osmosis": "1.0.0", From 84a493d02092a8c8646303d9f652adb691670b29 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 3 Oct 2022 16:44:55 -0500 Subject: [PATCH 153/262] upgrades --- examples/contracts/package.json | 2 +- examples/juno/package.json | 6 ++-- examples/osmosis-cosmwasm/package.json | 8 ++--- examples/osmosis/package.json | 8 ++--- examples/send-tokens/package.json | 6 ++-- examples/stargaze/package.json | 6 ++-- examples/tailwindcss/package.json | 6 ++-- examples/telescope/package.json | 2 +- templates/connect-chain/package.json | 6 ++-- templates/connect-multi-chain/package.json | 6 ++-- yarn.lock | 35 +++++++++++----------- 11 files changed, 45 insertions(+), 46 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 47163e879..f191b67ec 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -16,7 +16,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.18.0", + "@cosmos-kit/react": "^0.18.1", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/juno/package.json b/examples/juno/package.json index 5d461dc5c..f039a28f6 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@juno-network/assets": "0.11.1", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index d40bcef1d..913c4ddeb 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -16,16 +16,16 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.25.0", + "osmojs": "0.27.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 6a76c1ad8..806c3a3c0 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -15,16 +15,16 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.25.0", + "osmojs": "0.27.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 2c814297a..3fb197107 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index da59f3658..2bea2099f 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index beeff20ac..f01128538 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -11,9 +11,9 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 90b115741..5c4d0f30c 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.18.0", + "@cosmos-kit/react": "^0.18.1", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 7359e5723..a91d955f7 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 2f4f24498..0cd43093a 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.18.0", - "@cosmos-kit/keplr": "0.18.0", - "@cosmos-kit/react": "0.18.0", + "@cosmos-kit/core": "0.19.0", + "@cosmos-kit/keplr": "0.19.0", + "@cosmos-kit/react": "0.18.1", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/yarn.lock b/yarn.lock index a7a6fcbea..e3b02ea4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,10 +2922,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.18.0", "@cosmos-kit/core@^0.18.0": - version "0.18.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.18.0.tgz#c7da8c31793a130691a2401f292cef4121d34001" - integrity sha512-zJdA+BTiuLea2oe1TiwOZ8hH9v95EmDK6ZGm+oyPOIoEvtpH84kN8B2RNjwR0vhjFoB5VrnmDVuGwkK1WS8mbw== +"@cosmos-kit/core@0.19.0", "@cosmos-kit/core@^0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.0.tgz#df053f173aa6c3ca8419e61e1b7b0f67f6243a33" + integrity sha512-FNBgrIik20aWUbfL5P+A3hgR+alvKUjEU88OCrGX90jgSlJHCYrp50CYR0qSuRK/nq4QwP45Oo/8yTcnaMMrnA== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -2940,16 +2940,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.18.0": - version "0.18.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.18.0.tgz#176315f84626e69cd76d621e3099e152eb4c5930" - integrity sha512-ko8+lcF07hExKwhbIvVAPc0vcl5R4Bi0CmOs2WQZjoKkgApBYH987dXRjYEBQFBy6NbaKOiBFNTksDMFC/QVWA== +"@cosmos-kit/keplr@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.0.tgz#d50f2d109f0015b787a569b3aaf38427c253669c" + integrity sha512-eUNDaUGwfrR5fp4xAFTfxWO7aREVyEv2G+R+0tFnvZOddZbMBs9EpiPLgUzDq3BNuKrVQE7GybeKs7zkRPO0Ag== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.18.0" + "@cosmos-kit/core" "^0.19.0" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2980,10 +2980,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.18.0", "@cosmos-kit/react@^0.18.0": - version "0.18.0" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.0.tgz#05ef43f6f179d624562aa2f3d88de7c6bcfda041" - integrity sha512-rqVHYsm4dLfnGV3/Dy0qm3EKed7cWw0CFrICVgjvpKUrY27/0dPpS2dydri2VQ36Odm+rJ/bOdRi3tElLYoQFw== +"@cosmos-kit/react@0.18.1", "@cosmos-kit/react@^0.18.1": + version "0.18.1" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.1.tgz#8aa52ad1501063d3a9407968d73807244838f1b8" + integrity sha512-CoiD7l5R7AUutW00OPlFTWi0NGlKoJfX9YPZZ+Cpn4M47mjmw6MTDoqtSEZa44zb36r+JYp6QUbckMPg4mTVDw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -10393,17 +10393,16 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.25.0: - version "0.25.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.25.0.tgz#882e8e7a262b4865c8e3b7a78ad5159d652a19f0" - integrity sha512-Ul9GG2QM2KbIS1Aw4wwceECGXRNqKCjqAX+c8O/xEfLcCQyW3+7qdR8vKOmAHd3j026LoN1Kxdpz99gsOVQdjQ== +osmojs@0.27.0: + version "0.27.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.27.0.tgz#386e25671ed21e9cfe4a443562effbd339cdfb78" + integrity sha512-CVuGPgUsVMIkoNr+cEtoPjBuRN0PzMtEOaVLASndvqlqarRI3mUKCc/pvhbIGrPeD0tb/C0JRtOUc8Zt2ZykSg== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" "@cosmjs/proto-signing" "0.29.0" "@cosmjs/stargate" "0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" - "@osmonauts/helpers" "^0.6.0" "@osmonauts/lcd" "^0.6.0" long "^5.2.0" protobufjs "^6.11.3" From 4e5ab1c1c93ccde7d62b84caaf9a508ddf9cc7e5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 3 Oct 2022 16:45:13 -0500 Subject: [PATCH 154/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1 - @cosmonauts/juno@1.0.1 - @cosmonauts/osmosis-cosmwasm@1.0.1 - @cosmonauts/osmosis@1.0.1 - @cosmonauts/send-tokens@1.0.1 - @cosmonauts/stargaze@1.0.1 - @cosmonauts/tailwindcss@1.0.1 - @cosmonauts/connect-chain-with-telescope@1.0.1 - @cosmonauts/connect-chain@0.7.1 - @cosmonauts/connect-multi-chain@0.7.1 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 20 files changed, 90 insertions(+), 10 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index 9c86ab9ae..72f3c185a 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@0.6.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index f191b67ec..4a3c000cc 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 9afb3061d..a36b94593 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.0...@cosmonauts/juno@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@0.8.0...@cosmonauts/juno@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index f039a28f6..1e6440569 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index d29ef51d5..b83288590 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.0...@cosmonauts/osmosis-cosmwasm@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + # 1.0.0 (2022-10-01) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 913c4ddeb..c439f76ca 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 62945db28..33aa6c777 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.0...@cosmonauts/osmosis@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.8.0...@cosmonauts/osmosis@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 806c3a3c0..4c6395692 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index b713bf871..1f722a375 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.0...@cosmonauts/send-tokens@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@0.7.0...@cosmonauts/send-tokens@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 3fb197107..7ac313499 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 96aedf261..325d25cec 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.0...@cosmonauts/stargaze@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@0.8.0...@cosmonauts/stargaze@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 2bea2099f..19e478222 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index 3c7cea9fd..d8645f520 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.0...@cosmonauts/tailwindcss@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@0.7.0...@cosmonauts/tailwindcss@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index f01128538..d0020bf22 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 0a353c9db..ef7e3b272 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.0...@cosmonauts/connect-chain-with-telescope@1.0.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + # [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@0.6.0...@cosmonauts/connect-chain-with-telescope@1.0.0) (2022-10-01) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 5c4d0f30c..0392d4593 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 75e037688..563127dd4 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.0...@cosmonauts/connect-chain@0.7.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.6.1...@cosmonauts/connect-chain@0.7.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index a91d955f7..013af78dd 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.7.0", + "version": "0.7.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 706f4c4d8..283d0f565 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.0...@cosmonauts/connect-multi-chain@0.7.1) (2022-10-03) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.6.1...@cosmonauts/connect-multi-chain@0.7.0) (2022-09-30) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 0cd43093a..fc5ade45b 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.7.0", + "version": "0.7.1", "private": true, "scripts": { "dev": "next dev", From 8a660d28bbeebb3ea476d20469ca9f831b3910fa Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Mon, 10 Oct 2022 12:20:25 +0800 Subject: [PATCH 155/262] modify event handler --- examples/contracts/components/wallet.tsx | 13 ++++++++----- examples/juno/components/wallet.tsx | 17 +++++++++++------ examples/osmosis/components/wallet.tsx | 13 ++++++++----- examples/send-tokens/components/wallet.tsx | 13 ++++++++----- examples/stargaze/components/wallet.tsx | 13 ++++++++----- examples/tailwindcss/components/wallet.tsx | 13 ++++++++----- examples/telescope/components/wallet.tsx | 13 ++++++++----- templates/connect-chain/components/wallet.tsx | 13 ++++++++----- .../connect-multi-chain/components/wallet.tsx | 18 +++++++++--------- 9 files changed, 76 insertions(+), 50 deletions(-) diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/contracts/components/wallet.tsx +++ b/examples/contracts/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx index d12be8a6f..26b467df2 100644 --- a/examples/juno/components/wallet.tsx +++ b/examples/juno/components/wallet.tsx @@ -36,13 +36,16 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, + chains, walletStatus, username, address, message, + currentChainName: chainName, currentWalletName, - chains + currentWallet } = walletManager; const chainOptions = useMemo( @@ -73,10 +76,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +84,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/send-tokens/components/wallet.tsx +++ b/examples/send-tokens/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/stargaze/components/wallet.tsx +++ b/examples/stargaze/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index d12be8a6f..8df1de9e0 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -73,10 +74,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -84,6 +82,11 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + // Components const connectWalletButton = ( { } connecting={} connected={ - + } rejected={} error={} diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index d0a03fafd..4b2ec58fa 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -36,6 +36,7 @@ export const WalletSection = () => { const { connect, openView, + disconnect, setCurrentChain, walletStatus, username, @@ -68,10 +69,7 @@ export const WalletSection = () => { // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { @@ -79,14 +77,16 @@ export const WalletSection = () => { openView(); }; + const onClickDisconnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await disconnect(); + }; + const onChainChange: handleSelectChainDropdown = async ( selectedValue: ChainOption | null ) => { setCurrentChain(selectedValue?.chainName); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; // Components @@ -98,7 +98,7 @@ export const WalletSection = () => { } connecting={} connected={ - + } rejected={} error={} From 46011c0bf6f1a3f413708fa4faf260a9f7937006 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Tue, 11 Oct 2022 11:31:39 +0800 Subject: [PATCH 156/262] update --- examples/contracts/components/wallet.tsx | 2 +- examples/juno/components/wallet.tsx | 2 +- examples/osmosis/components/wallet.tsx | 2 +- examples/send-tokens/components/wallet.tsx | 2 +- examples/stargaze/components/wallet.tsx | 2 +- examples/tailwindcss/components/wallet.tsx | 2 +- examples/telescope/components/wallet.tsx | 2 +- package.json | 3 ++- templates/connect-chain/components/wallet.tsx | 2 +- templates/connect-multi-chain/components/wallet.tsx | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-) diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/contracts/components/wallet.tsx +++ b/examples/contracts/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx index 26b467df2..77af5d759 100644 --- a/examples/juno/components/wallet.tsx +++ b/examples/juno/components/wallet.tsx @@ -98,7 +98,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/send-tokens/components/wallet.tsx +++ b/examples/send-tokens/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/stargaze/components/wallet.tsx +++ b/examples/stargaze/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/package.json b/package.json index 2eaccb688..8119f9f0b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "bootstrap": "lerna bootstrap --use-workspaces", "lint": "lerna run lint", "format": "lerna run format", - "test": "lerna run test --stream" + "test": "lerna run test --stream", + "update": "yarn upgrade-interactive --latest" }, "devDependencies": { "@babel/cli": "7.18.10", diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index 8df1de9e0..efc913a8d 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -96,7 +96,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { } connecting={} connected={ - + } rejected={} error={} diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index 4b2ec58fa..2a98a2300 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -98,7 +98,7 @@ export const WalletSection = () => { } connecting={} connected={ - + } rejected={} error={} From 828a93f01cc9fe27f2b14dd0f0dcd3ace037be3d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 11 Oct 2022 21:12:02 -0700 Subject: [PATCH 157/262] readme --- README.md | 2 +- packages/create-cosmos-app/README.md | 2 +- packages/create-cosmwasm-app/README.md | 2 +- packages/create-juno-app/README.md | 2 +- packages/create-osmosis-app/README.md | 2 +- packages/create-stargaze-app/README.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0266daa04..064721c83 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 0266daa04..064721c83 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App diff --git a/packages/create-cosmwasm-app/README.md b/packages/create-cosmwasm-app/README.md index 5f8ba3ef3..89e59cf2c 100644 --- a/packages/create-cosmwasm-app/README.md +++ b/packages/create-cosmwasm-app/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App diff --git a/packages/create-juno-app/README.md b/packages/create-juno-app/README.md index 4c8c31e7f..3f60e4547 100644 --- a/packages/create-juno-app/README.md +++ b/packages/create-juno-app/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App diff --git a/packages/create-osmosis-app/README.md b/packages/create-osmosis-app/README.md index 0929a68f6..6b1ae1adb 100644 --- a/packages/create-osmosis-app/README.md +++ b/packages/create-osmosis-app/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App diff --git a/packages/create-stargaze-app/README.md b/packages/create-stargaze-app/README.md index 4561b4332..d00e2f36b 100644 --- a/packages/create-stargaze-app/README.md +++ b/packages/create-stargaze-app/README.md @@ -46,7 +46,7 @@ Everything is preconfigured, ready-to-go, so you can focus on your code! 🎥 [Checkout our videos](https://cosmology.tech/learn) to learn to learn more about `create-cosmos-app` and tooling for building frontends in the Cosmos! -Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#2-signing-clients) for getting cosmjs stargate and cosmjs signers. +Checkout [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) for more docs as well as [cosmos-kit/react](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) for getting cosmjs stargate and cosmjs signers. ## Creating an App From dc58552f3d7d50860dcb6fe690204f008ee32616 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Wed, 12 Oct 2022 19:50:00 +0800 Subject: [PATCH 158/262] update target --- examples/contracts/components/wallet.tsx | 7 ----- examples/contracts/package.json | 2 +- examples/contracts/tsconfig.json | 20 ++++++++++---- examples/juno/components/wallet.tsx | 7 ----- examples/juno/package.json | 6 ++--- examples/osmosis-cosmwasm/package.json | 6 ++--- examples/osmosis/components/wallet.tsx | 7 ----- examples/osmosis/package.json | 6 ++--- examples/send-tokens/components/wallet.tsx | 7 ----- examples/send-tokens/package.json | 6 ++--- examples/stargaze/components/wallet.tsx | 7 ----- examples/stargaze/package.json | 6 ++--- examples/tailwindcss/components/wallet.tsx | 3 +-- examples/tailwindcss/package.json | 6 ++--- examples/tailwindcss/tsconfig.json | 20 ++++++++++---- examples/telescope/components/wallet.tsx | 7 ----- examples/telescope/package.json | 2 +- examples/telescope/tsconfig.json | 20 ++++++++++---- templates/connect-chain/components/wallet.tsx | 7 ----- templates/connect-chain/package.json | 6 ++--- templates/connect-chain/tsconfig.json | 20 ++++++++++---- .../connect-multi-chain/components/wallet.tsx | 7 ----- templates/connect-multi-chain/package.json | 6 ++--- templates/connect-multi-chain/tsconfig.json | 20 ++++++++++---- yarn.lock | 26 +++++++++---------- 25 files changed, 115 insertions(+), 122 deletions(-) diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx index efc913a8d..e035cb95b 100644 --- a/examples/contracts/components/wallet.tsx +++ b/examples/contracts/components/wallet.tsx @@ -36,7 +36,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, chains, walletStatus, @@ -83,12 +82,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index d0020bf22..56b3b34ad 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -11,9 +11,9 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.0", - "@cosmos-kit/keplr": "0.19.0", - "@cosmos-kit/react": "0.18.1", + "@cosmos-kit/core": "0.19.1", + "@cosmos-kit/keplr": "0.19.1", + "@cosmos-kit/react": "0.18.2", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", diff --git a/examples/tailwindcss/tsconfig.json b/examples/tailwindcss/tsconfig.json index 99710e857..e68bd5ae6 100644 --- a/examples/tailwindcss/tsconfig.json +++ b/examples/tailwindcss/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -15,6 +19,12 @@ "jsx": "preserve", "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] -} + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index efc913a8d..e035cb95b 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -36,7 +36,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -81,12 +80,6 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - // Components const connectWalletButton = ( { const { connect, openView, - disconnect, setCurrentChain, walletStatus, username, @@ -76,12 +75,6 @@ export const WalletSection = () => { e.preventDefault(); openView(); }; - - const onClickDisconnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await disconnect(); - }; - const onChainChange: handleSelectChainDropdown = async ( selectedValue: ChainOption | null ) => { diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index fc5ade45b..8590e58b2 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.0", - "@cosmos-kit/keplr": "0.19.0", - "@cosmos-kit/react": "0.18.1", + "@cosmos-kit/core": "0.19.1", + "@cosmos-kit/keplr": "0.19.1", + "@cosmos-kit/react": "0.18.2", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/templates/connect-multi-chain/tsconfig.json b/templates/connect-multi-chain/tsconfig.json index 99710e857..e68bd5ae6 100644 --- a/templates/connect-multi-chain/tsconfig.json +++ b/templates/connect-multi-chain/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -15,6 +19,12 @@ "jsx": "preserve", "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] -} + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index e3b02ea4b..eca1817b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,10 +2922,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.0", "@cosmos-kit/core@^0.19.0": - version "0.19.0" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.0.tgz#df053f173aa6c3ca8419e61e1b7b0f67f6243a33" - integrity sha512-FNBgrIik20aWUbfL5P+A3hgR+alvKUjEU88OCrGX90jgSlJHCYrp50CYR0qSuRK/nq4QwP45Oo/8yTcnaMMrnA== +"@cosmos-kit/core@0.19.1", "@cosmos-kit/core@^0.19.1": + version "0.19.1" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.1.tgz#fe9ceaed7d15dc592ef01fc9a2976629511f9f70" + integrity sha512-n7X7gxpbvYw9NFEbxf7kgL9sVlCD6z9++2IrrcieQm/DUCRNBtI6v80nekvvgWwOyOYsUtVa+q2m9gziiT/NJQ== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -2940,16 +2940,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.19.0": - version "0.19.0" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.0.tgz#d50f2d109f0015b787a569b3aaf38427c253669c" - integrity sha512-eUNDaUGwfrR5fp4xAFTfxWO7aREVyEv2G+R+0tFnvZOddZbMBs9EpiPLgUzDq3BNuKrVQE7GybeKs7zkRPO0Ag== +"@cosmos-kit/keplr@0.19.1": + version "0.19.1" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.1.tgz#f637979bf0c4eab584e92aa4738ea2029d5c1528" + integrity sha512-JrGs/Z6R2EsR8SzZrp2SFUmu2a4a+SZQPN+jv1sz0yIC9qD5nvP/nJX/EJ03YaXHAD1RAhfPG0Nb1PAAzM9uhA== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.0" + "@cosmos-kit/core" "^0.19.1" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2980,10 +2980,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.18.1", "@cosmos-kit/react@^0.18.1": - version "0.18.1" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.1.tgz#8aa52ad1501063d3a9407968d73807244838f1b8" - integrity sha512-CoiD7l5R7AUutW00OPlFTWi0NGlKoJfX9YPZZ+Cpn4M47mjmw6MTDoqtSEZa44zb36r+JYp6QUbckMPg4mTVDw== +"@cosmos-kit/react@0.18.2", "@cosmos-kit/react@^0.18.2": + version "0.18.2" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.2.tgz#4ca69f9c82bb3bc135d1ede32396127f8ed2766d" + integrity sha512-zm/XqjiHgmx1wUNfxhwiMpBBqakfp7UEdA0wBPDpquGa8zXsFhMEKT/6yKeXvZrxFwd9w5hJeEbBBlcNdyPBFw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" From a0ef640bb7049653850f011573b4128d090c07e6 Mon Sep 17 00:00:00 2001 From: JunLiu93 <853480121@qq.com> Date: Thu, 13 Oct 2022 22:50:46 +0800 Subject: [PATCH 159/262] update --- examples/contracts/components/wallet.tsx | 27 +- examples/contracts/config/defaults.ts | 52 ++++ examples/contracts/config/index.ts | 1 + examples/contracts/package.json | 2 +- examples/contracts/pages/_app.tsx | 6 +- examples/contracts/pages/index.tsx | 58 +--- examples/juno/components/wallet.tsx | 31 +- examples/juno/config/defaults.ts | 12 + examples/juno/config/index.ts | 1 + examples/juno/package.json | 6 +- examples/juno/pages/_app.tsx | 6 +- examples/juno/pages/index.tsx | 21 +- .../osmosis-cosmwasm/components/wallet.tsx | 31 +- examples/osmosis-cosmwasm/config/defaults.ts | 13 + examples/osmosis-cosmwasm/config/index.ts | 1 + examples/osmosis-cosmwasm/package.json | 6 +- examples/osmosis-cosmwasm/pages/_app.tsx | 11 +- examples/osmosis-cosmwasm/pages/index.tsx | 20 +- examples/osmosis/components/wallet.tsx | 27 +- examples/osmosis/config/defaults.ts | 55 ++++ examples/osmosis/config/index.ts | 1 + examples/osmosis/package.json | 6 +- examples/osmosis/pages/_app.tsx | 7 +- examples/osmosis/pages/index.tsx | 62 +--- examples/send-tokens/components/wallet.tsx | 27 +- examples/send-tokens/config/defaults.ts | 54 ++++ examples/send-tokens/config/index.ts | 1 + examples/send-tokens/package.json | 6 +- examples/send-tokens/pages/_app.tsx | 6 +- examples/send-tokens/pages/index.tsx | 61 +--- examples/stargaze/components/wallet.tsx | 27 +- examples/stargaze/config/defaults.ts | 54 ++++ examples/stargaze/config/index.ts | 1 + examples/stargaze/package.json | 6 +- examples/stargaze/pages/_app.tsx | 7 +- examples/stargaze/pages/index.tsx | 61 +--- examples/tailwindcss/components/wallet.tsx | 264 ++++++++++-------- examples/tailwindcss/config/defaults.ts | 1 + examples/tailwindcss/config/index.ts | 1 + examples/tailwindcss/package.json | 6 +- examples/tailwindcss/pages/_app.tsx | 5 +- examples/tailwindcss/pages/index.tsx | 3 +- examples/telescope/components/wallet.tsx | 27 +- examples/telescope/config/defaults.ts | 54 ++++ examples/telescope/config/index.ts | 1 + examples/telescope/package.json | 2 +- examples/telescope/pages/_app.tsx | 6 +- examples/telescope/pages/index.tsx | 57 +--- package.json | 2 +- templates/connect-chain/components/wallet.tsx | 27 +- templates/connect-chain/config/defaults.ts | 1 + templates/connect-chain/config/index.ts | 1 + templates/connect-chain/package.json | 6 +- templates/connect-chain/pages/[chainName].tsx | 104 ------- templates/connect-chain/pages/_app.tsx | 6 +- templates/connect-chain/pages/index.tsx | 3 +- .../components/react/chain-dropdown.tsx | 1 - .../connect-multi-chain/components/wallet.tsx | 1 + templates/connect-multi-chain/package.json | 6 +- yarn.lock | 46 ++- 60 files changed, 672 insertions(+), 733 deletions(-) create mode 100644 examples/contracts/config/defaults.ts create mode 100644 examples/juno/config/defaults.ts create mode 100644 examples/osmosis-cosmwasm/config/defaults.ts create mode 100644 examples/osmosis/config/defaults.ts create mode 100644 examples/send-tokens/config/defaults.ts create mode 100644 examples/stargaze/config/defaults.ts create mode 100644 examples/tailwindcss/config/defaults.ts create mode 100644 examples/telescope/config/defaults.ts create mode 100644 templates/connect-chain/config/defaults.ts delete mode 100644 templates/connect-chain/pages/[chainName].tsx diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/examples/contracts/components/wallet.tsx +++ b/examples/contracts/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const baseAsset: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +export const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: baseAsset.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: baseAsset.base, + amount: '0' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; \ No newline at end of file diff --git a/examples/contracts/config/index.ts b/examples/contracts/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/contracts/config/index.ts +++ b/examples/contracts/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 6d926ae01..e6a5024dc 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -16,7 +16,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.18.2", + "@cosmos-kit/react": "0.18.4", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index 322dff943..daa2735e0 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { chainName, defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; @@ -38,8 +38,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/contracts/pages/index.tsx b/examples/contracts/pages/index.tsx index 31821d89b..360403530 100644 --- a/examples/contracts/pages/index.tsx +++ b/examples/contracts/pages/index.tsx @@ -1,76 +1,22 @@ import { Container, Button } from '@chakra-ui/react'; import { useWallet } from '@cosmos-kit/react'; -import { useEffect, useState } from 'react'; -import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; +import { useState } from 'react'; import { SigningStargateClient } from '@cosmjs/stargate'; import { WalletStatus } from '@cosmos-kit/core'; import BigNumber from 'bignumber.js'; import { WalletSection } from '../components'; import { cosmos } from '../codegen'; - -const chainName = 'osmosis'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const baseAsset: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' -) as Asset; - -const sendTokens = ( - getStargateClient: () => Promise, - setResp: () => any, - address: string -) => { - return async () => { - const stargateClient = await getStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: baseAsset.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: baseAsset.base, - amount: '0' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; +import { baseAsset, chainassets, chainName, sendTokens } from '../config'; export default function Home() { const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx index 819c51aef..ecb7170b5 100644 --- a/examples/juno/components/wallet.tsx +++ b/examples/juno/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,28 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, - chains, walletStatus, username, address, message, - currentChainName: chainName, + currentChainName, currentWalletName, - currentWallet + chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -62,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -82,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'ujuno' +) as Asset; \ No newline at end of file diff --git a/examples/juno/config/index.ts b/examples/juno/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/juno/config/index.ts +++ b/examples/juno/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/juno/package.json b/examples/juno/package.json index 93e961391..c6150ae25 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@juno-network/assets": "0.11.1", diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx index 43cd175a7..4834a5a24 100644 --- a/examples/juno/pages/_app.tsx +++ b/examples/juno/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { chainName, defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'juno-network'; @@ -29,8 +29,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx index 1f52f2b35..0755c8470 100644 --- a/examples/juno/pages/index.tsx +++ b/examples/juno/pages/index.tsx @@ -1,8 +1,6 @@ -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { useWallet } from '@cosmos-kit/react'; import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import BigNumber from 'bignumber.js'; @@ -22,7 +20,7 @@ import { useColorModeValue } from '@chakra-ui/react'; import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products } from '../config'; +import { chainassets, chainName, coin, dependencies, products } from '../config'; import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; @@ -35,14 +33,6 @@ const library = { href: 'https://github.com/CosmosContracts/typescript' }; -const chainName = 'juno'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'ujuno' -) as Asset; - const sendTokens = ( getStargateClient: () => Promise, setResp: () => any, @@ -88,15 +78,10 @@ export default function Home() { const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { @@ -172,7 +157,7 @@ export default function Home() { - + {walletStatus === WalletStatus.Disconnected && ( diff --git a/examples/osmosis-cosmwasm/components/wallet.tsx b/examples/osmosis-cosmwasm/components/wallet.tsx index d12be8a6f..ecb7170b5 100644 --- a/examples/osmosis-cosmwasm/components/wallet.tsx +++ b/examples/osmosis-cosmwasm/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,23 +62,16 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); - openView(); - if (currentWalletName) { - await connect(); - } + await connect(); }; const onClickOpenView: MouseEventHandler = (e) => { diff --git a/examples/osmosis-cosmwasm/config/defaults.ts b/examples/osmosis-cosmwasm/config/defaults.ts new file mode 100644 index 000000000..43f24d9af --- /dev/null +++ b/examples/osmosis-cosmwasm/config/defaults.ts @@ -0,0 +1,13 @@ +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; + +// export const chainName = 'osmosis'; +export const chainName = 'osmosistestnet'; + +export const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/config/index.ts b/examples/osmosis-cosmwasm/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/osmosis-cosmwasm/config/index.ts +++ b/examples/osmosis-cosmwasm/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index a81286cee..8b8082091 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -16,9 +16,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/osmosis-cosmwasm/pages/_app.tsx b/examples/osmosis-cosmwasm/pages/_app.tsx index c54d93cd4..86c4cd59e 100644 --- a/examples/osmosis-cosmwasm/pages/_app.tsx +++ b/examples/osmosis-cosmwasm/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { chainName, defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'osmojs'; @@ -30,10 +30,15 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} + endpointOptions={{ + osmosistestnet: { + rpc: ['https://testnet-rpc.osmosis.zone/'] + } + }} > diff --git a/examples/osmosis-cosmwasm/pages/index.tsx b/examples/osmosis-cosmwasm/pages/index.tsx index b5ae32b02..ef481b8ae 100644 --- a/examples/osmosis-cosmwasm/pages/index.tsx +++ b/examples/osmosis-cosmwasm/pages/index.tsx @@ -1,7 +1,4 @@ -import { useEffect } from 'react'; import { useWallet } from '@cosmos-kit/react'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; import { Box, @@ -33,23 +30,10 @@ const library = { href: 'https://github.com/osmosis-labs/osmojs', }; -// const chainName = 'osmosis'; -const chainName = 'osmosistestnet'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' -) as Asset; - export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { walletStatus, setCurrentChain } = useWallet(); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); + const { walletStatus } = useWallet(); const color = useColorModeValue('primary.500', 'primary.200'); @@ -90,7 +74,7 @@ export default function Home() { - + diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +export const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; \ No newline at end of file diff --git a/examples/osmosis/config/index.ts b/examples/osmosis/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/osmosis/config/index.ts +++ b/examples/osmosis/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index df0298b18..04ff6d9ea 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -15,9 +15,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index c54d93cd4..c3556e79e 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -11,6 +11,9 @@ import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; +// const chainName = 'osmosis'; +const chainName = 'osmosistestnet'; + function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { @@ -30,8 +33,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx index cb12c04a8..217733020 100644 --- a/examples/osmosis/pages/index.tsx +++ b/examples/osmosis/pages/index.tsx @@ -1,8 +1,5 @@ -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { useWallet } from '@cosmos-kit/react'; -import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import BigNumber from 'bignumber.js'; @@ -22,7 +19,7 @@ import { useColorModeValue } from '@chakra-ui/react'; import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products } from '../config'; +import { chainassets, chainName, coin, dependencies, products, sendTokens } from '../config'; import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; @@ -35,69 +32,16 @@ const library = { href: 'https://github.com/osmosis-labs/osmojs' }; -// const chainName = 'osmosis'; -const chainName = 'osmosistestnet'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' -) as Asset; - -const sendTokens = ( - getStargateClient: () => Promise, - setResp: () => any, - address: string -) => { - return async () => { - const stargateClient = await getStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: coin.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: coin.base, - amount: '864' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; - export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { @@ -173,7 +117,7 @@ export default function Home() {
- + {walletStatus === WalletStatus.Disconnected && ( diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/examples/send-tokens/components/wallet.tsx +++ b/examples/send-tokens/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uatom' +) as Asset; + +export const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; \ No newline at end of file diff --git a/examples/send-tokens/config/index.ts b/examples/send-tokens/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/send-tokens/config/index.ts +++ b/examples/send-tokens/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 8b2efdab3..0d218117b 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx index 4fa34a364..6b8ff203e 100644 --- a/examples/send-tokens/pages/_app.tsx +++ b/examples/send-tokens/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { chainName, defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { assets, chains } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'interchain'; @@ -20,8 +20,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index 545c5ad55..3ab362dc4 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -1,8 +1,5 @@ -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { useWallet } from '@cosmos-kit/react'; -import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import BigNumber from 'bignumber.js'; @@ -22,75 +19,23 @@ import { useColorModeValue } from '@chakra-ui/react'; import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products } from '../config'; +import { chainassets, chainName, coin, dependencies, products, sendTokens } from '../config'; import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'interchain'; import Head from 'next/head'; -const chainName = 'cosmoshub'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'uatom' -) as Asset; - -const sendTokens = ( - getStargateClient: () => Promise, - setResp: () => any, - address: string -) => { - return async () => { - const stargateClient = await getStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: coin.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: coin.base, - amount: '864' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; - export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { @@ -163,7 +108,7 @@ export default function Home() { - + {walletStatus === WalletStatus.Disconnected && ( diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/examples/stargaze/components/wallet.tsx +++ b/examples/stargaze/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'ustars' +) as Asset; + +export const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '864' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; \ No newline at end of file diff --git a/examples/stargaze/config/index.ts b/examples/stargaze/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/stargaze/config/index.ts +++ b/examples/stargaze/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index e44fbe7ad..f179ef32d 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx index 3bc6928f7..5af61d592 100644 --- a/examples/stargaze/pages/_app.tsx +++ b/examples/stargaze/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { chainName, defaultTheme } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from 'stargaze-zone'; @@ -11,6 +11,7 @@ import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; + function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { @@ -29,8 +30,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/stargaze/pages/index.tsx b/examples/stargaze/pages/index.tsx index 66d8adeeb..508b23c1b 100644 --- a/examples/stargaze/pages/index.tsx +++ b/examples/stargaze/pages/index.tsx @@ -1,8 +1,5 @@ -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { useWallet } from '@cosmos-kit/react'; -import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import BigNumber from 'bignumber.js'; import { @@ -21,7 +18,7 @@ import { useColorModeValue } from '@chakra-ui/react'; import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products } from '../config'; +import { dependencies, products, chainName, chainassets, sendTokens, coin } from '../config'; import { WalletStatus } from '@cosmos-kit/core'; import { Product, Dependency, WalletSection } from '../components'; @@ -35,68 +32,16 @@ const library = { href: 'https://github.com/cosmology-tech/stargaze-zone' }; -const chainName = 'stargaze'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'ustars' -) as Asset; - -const sendTokens = ( - getStargateClient: () => Promise, - setResp: () => any, - address: string -) => { - return async () => { - const stargateClient = await getStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: coin.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: coin.base, - amount: '864' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; - export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { @@ -172,7 +117,7 @@ export default function Home() { - + {walletStatus === WalletStatus.Disconnected && ( diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 77290c75a..ecb7170b5 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -1,56 +1,72 @@ -import { MouseEventHandler, useEffect, useMemo } from 'react' -import { ChainCard } from '../components' -import { Address, truncate } from './react/views' +import { useWallet } from '@cosmos-kit/react'; import { - ArrowPathIcon, - ArrowDownTrayIcon, - WalletIcon, -} from '@heroicons/react/24/outline' -import { useWallet } from '@cosmos-kit/react' -import { ChainName, WalletStatus } from '@cosmos-kit/core' -import { chainInfos } from '../config/chain-infos' - -const buttons = { - Disconnected: { - icon: WalletIcon, - title: 'Connect Wallet' - }, - Connected: { - icon: WalletIcon, - title: 'My Wallet', - }, - Rejected: { - icon: ArrowPathIcon, - title: 'Reconnect', - }, - Error: { - icon: ArrowPathIcon, - title: 'Change Wallet', - }, - NotExist: { - icon: ArrowDownTrayIcon, - title: 'Install Wallet', - }, -} + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useMemo } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { getWalletPrettyName } from '@cosmos-kit/config'; +import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { - const walletManager = useWallet() +export const WalletSection = () => { + const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, + message, + currentChainName, currentWalletName, - chains, - } = walletManager + chains + } = walletManager; - const chain = chainInfos.find((c) => c.chainName === chainName) + const chainName = currentChainName; - useEffect(() => { - setCurrentChain(chainName) - }, [chainName, setCurrentChain]) + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { + const assets = chainAssets.find( + (_chain) => _chain.chain_name === chainRecord.name + )?.assets; + return { + chainName: chainRecord.name, + label: chainRecord.chain.pretty_name, + value: chainRecord.name, + icon: assets + ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png + : undefined, + disabled: false + }; + } + return getChain(chains[0]); + }, + [chains] + ); // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -59,90 +75,102 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { }; const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault() - openView() - } - - const _renderConnectButton = useMemo(() => { - // Spinner - if (walletStatus === WalletStatus.Connecting) { - return ( - - ) - } + e.preventDefault(); + openView(); + }; - let onClick - if ( - walletStatus === WalletStatus.Disconnected || - walletStatus === WalletStatus.Rejected - ) - onClick = onClickConnect - else onClick = onClickOpenView + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); - const buttonData = buttons[walletStatus] + const connectWalletWarn = ( + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${getWalletPrettyName( + currentWalletName + )}: ${message}`} + /> + } + /> + ); - return ( - - ) - }, [onClickConnect, onClickOpenView, walletStatus]) + const userInfo = ( + } /> + ); + const addressBtn = chainName && ( + } + /> + ); return ( -
-
+
+ {chainName && ( -
+ -
+ )} -
-
-
- {username && ( -
-
-

- {username} -

-
- )} -
- {address ?
{truncate(address)}
: <>} -
- {_renderConnectButton} -
-
-
-
-
- ) -} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + +
+ + ); +}; diff --git a/examples/tailwindcss/config/defaults.ts b/examples/tailwindcss/config/defaults.ts new file mode 100644 index 000000000..5c3dba51b --- /dev/null +++ b/examples/tailwindcss/config/defaults.ts @@ -0,0 +1 @@ +export const chainName = process.env.NEXT_PUBLIC_CHAIN ?? 'stargaze';; \ No newline at end of file diff --git a/examples/tailwindcss/config/index.ts b/examples/tailwindcss/config/index.ts index b8795830d..2e1983362 100644 --- a/examples/tailwindcss/config/index.ts +++ b/examples/tailwindcss/config/index.ts @@ -1 +1,2 @@ export * from './features'; +export * from './defaults'; diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 56b3b34ad..295cda310 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -11,9 +11,9 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index 1c1b5980e..ccd2955bd 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -7,6 +7,7 @@ import { ThemeProvider } from '../contexts/theme'; import { SignerOptions } from '@cosmos-kit/core'; import { chains, assets } from 'chain-registry'; +import { chainName } from '../config'; function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { @@ -17,8 +18,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} walletModal={TailwindModal} diff --git a/examples/tailwindcss/pages/index.tsx b/examples/tailwindcss/pages/index.tsx index b8874835f..0e31b30fc 100644 --- a/examples/tailwindcss/pages/index.tsx +++ b/examples/tailwindcss/pages/index.tsx @@ -5,7 +5,6 @@ import { useTheme } from '../contexts/theme'; import { MoonIcon, SunIcon } from '@heroicons/react/24/outline'; export default function Home() { - const chainName = process.env.NEXT_PUBLIC_CHAIN ?? 'stargaze'; const { theme, toggleTheme } = useTheme(); return ( @@ -38,7 +37,7 @@ export default function Home() { - +
{products.map((product) => ( diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( chain.chain_name === chainName +) as AssetList; + +export const baseAsset: Asset = chainassets.assets.find( + (asset) => asset.base === 'uosmo' +) as Asset; + +export const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.'); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: baseAsset.base, + amount: '1000' + } + ], + toAddress: address, + fromAddress: address + }); + + const fee: StdFee = { + amount: [ + { + denom: baseAsset.base, + amount: '0' + } + ], + gas: '86364' + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; \ No newline at end of file diff --git a/examples/telescope/config/index.ts b/examples/telescope/config/index.ts index e249d6303..2c416ce6f 100644 --- a/examples/telescope/config/index.ts +++ b/examples/telescope/config/index.ts @@ -1,2 +1,3 @@ export * from './theme'; export * from './features'; +export * from './defaults'; diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 8032a2d51..ca99b4031 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "^0.18.2", + "@cosmos-kit/react": "0.18.4", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index cda639c11..83f24dc78 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { defaultTheme, chainName } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; @@ -37,8 +37,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index 31821d89b..5cc3158c6 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -1,9 +1,6 @@ import { Container, Button } from '@chakra-ui/react'; import { useWallet } from '@cosmos-kit/react'; -import { useEffect, useState } from 'react'; -import { StdFee } from '@cosmjs/amino'; -import { assets } from 'chain-registry'; -import { AssetList, Asset } from '@chain-registry/types'; +import { useState } from 'react'; import { SigningStargateClient } from '@cosmjs/stargate'; import { WalletStatus } from '@cosmos-kit/core'; import BigNumber from 'bignumber.js'; @@ -11,66 +8,16 @@ import BigNumber from 'bignumber.js'; import { WalletSection } from '../components'; import { cosmos } from '../codegen'; -const chainName = 'osmosis'; -const chainassets: AssetList = assets.find( - (chain) => chain.chain_name === chainName -) as AssetList; -const baseAsset: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' -) as Asset; - -const sendTokens = ( - getStargateClient: () => Promise, - setResp: () => any, - address: string -) => { - return async () => { - const stargateClient = await getStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: baseAsset.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: baseAsset.base, - amount: '0' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; +import { chainName, chainassets, baseAsset, sendTokens } from '../config'; export default function Home() { const { getStargateClient, address, - setCurrentChain, currentWallet, walletStatus } = useWallet(); - useEffect(() => { - setCurrentChain(chainName); - }, [chainName]); - const [balance, setBalance] = useState(new BigNumber(0)); const [resp, setResp] = useState(''); const getBalance = async () => { diff --git a/package.json b/package.json index 8119f9f0b..f4d7517b5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint": "lerna run lint", "format": "lerna run format", "test": "lerna run test --stream", - "update": "yarn upgrade-interactive --latest" + "upgrade": "yarn upgrade-interactive --latest" }, "devDependencies": { "@babel/cli": "7.18.10", diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index e035cb95b..ecb7170b5 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,26 +28,28 @@ import { ChainCard } from '../components'; import { getWalletPrettyName } from '@cosmos-kit/config'; -import { ChainName } from '@cosmos-kit/core'; import { assets as chainAssets } from 'chain-registry'; +import { ChainRecord } from '@cosmos-kit/core'; -export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { +export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, + currentChainName, currentWalletName, chains } = walletManager; - const chainOptions = useMemo( - () => - chains.map((chainRecord) => { + const chainName = currentChainName; + + const chain = useMemo( + () => { + const getChain = (chainRecord: ChainRecord) => { const assets = chainAssets.find( (_chain) => _chain.chain_name === chainRecord.name )?.assets; @@ -60,16 +62,12 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { : undefined, disabled: false }; - }), + } + return getChain(chains[0]); + }, [chains] ); - const chain = chainOptions.find((c) => c.chainName === chainName); - - useEffect(() => { - setCurrentChain(chainName); - }, [chainName, setCurrentChain]); - // Events const onClickConnect: MouseEventHandler = async (e) => { e.preventDefault(); @@ -80,6 +78,7 @@ export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { e.preventDefault(); openView(); }; + // Components const connectWalletButton = ( - - Create Cosmos App - - - - - - - - - Create Cosmos App - - - Welcome to  - - CosmosKit + Next.js - - - - - - {products.map((product) => ( - - ))} - - - {dependencies.map((dependency) => ( - - ))} - - - - - - Built with - - Cosmology - - - - ); -} diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index f7ee2a0e5..ad6ace545 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import type { AppProps } from 'next/app'; import { WalletProvider } from '@cosmos-kit/react'; import { ChakraProvider } from '@chakra-ui/react'; -import { defaultTheme } from '../config'; +import { defaultTheme, chainName } from '../config'; import { wallets } from '@cosmos-kit/keplr'; import { SignerOptions } from '@cosmos-kit/core'; @@ -18,8 +18,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} + assetLists={assets.filter(asset => asset.chain_name === chainName)} wallets={wallets} signerOptions={signerOptions} > diff --git a/templates/connect-chain/pages/index.tsx b/templates/connect-chain/pages/index.tsx index 809379b04..2c8e394ae 100644 --- a/templates/connect-chain/pages/index.tsx +++ b/templates/connect-chain/pages/index.tsx @@ -20,7 +20,6 @@ import { dependencies, products } from '../config'; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const chainName = 'cosmoshub'; return ( @@ -59,7 +58,7 @@ export default function Home() { - + { e.preventDefault(); openView(); }; + const onChainChange: handleSelectChainDropdown = async ( selectedValue: ChainOption | null ) => { diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 8590e58b2..b3718bddf 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.1", - "@cosmos-kit/keplr": "0.19.1", - "@cosmos-kit/react": "0.18.2", + "@cosmos-kit/core": "0.19.3", + "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", diff --git a/yarn.lock b/yarn.lock index eca1817b6..b8adf5520 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,10 +2922,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.1", "@cosmos-kit/core@^0.19.1": - version "0.19.1" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.1.tgz#fe9ceaed7d15dc592ef01fc9a2976629511f9f70" - integrity sha512-n7X7gxpbvYw9NFEbxf7kgL9sVlCD6z9++2IrrcieQm/DUCRNBtI6v80nekvvgWwOyOYsUtVa+q2m9gziiT/NJQ== +"@cosmos-kit/core@0.19.3", "@cosmos-kit/core@^0.19.3": + version "0.19.3" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.3.tgz#1c065956e4c84c3a912ad1fce98028de01d4494a" + integrity sha512-0YqThC5hoLIFKmQdJn7BEI/og+4YlSxr/Rytmt29dICr8FXLIfdfjMHb/W+MqBUo7y0lLAal1l6RIcFbq2qKCg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -2940,16 +2940,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.19.1": - version "0.19.1" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.1.tgz#f637979bf0c4eab584e92aa4738ea2029d5c1528" - integrity sha512-JrGs/Z6R2EsR8SzZrp2SFUmu2a4a+SZQPN+jv1sz0yIC9qD5nvP/nJX/EJ03YaXHAD1RAhfPG0Nb1PAAzM9uhA== +"@cosmos-kit/keplr@0.19.3": + version "0.19.3" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.3.tgz#fbbaad6dc5139883a89ac1f75aeb9b845727fad9" + integrity sha512-lm5jKrAVL8sWFCwo5jfqN4QrTwCYNgLoTdnQPi7+IqgsX8FAZke7qSkfSHyd32ST55RWnfgz5jAgLlWzIzlz4Q== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.1" + "@cosmos-kit/core" "^0.19.3" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2980,10 +2980,30 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.18.2", "@cosmos-kit/react@^0.18.2": - version "0.18.2" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.2.tgz#4ca69f9c82bb3bc135d1ede32396127f8ed2766d" - integrity sha512-zm/XqjiHgmx1wUNfxhwiMpBBqakfp7UEdA0wBPDpquGa8zXsFhMEKT/6yKeXvZrxFwd9w5hJeEbBBlcNdyPBFw== +"@cosmos-kit/leap@0.1.2": + version "0.1.2" + resolved "https://registry.npmjs.org/@cosmos-kit/leap/-/leap-0.1.2.tgz#7ddb6f809f64cc043f0f44265bff5c39c22f2a61" + integrity sha512-mh0BHlgmDoNoJf8i5Jp6q8GTMGCHSky4gnyulG9vCza/CXyvbjc9mFnQjLT0dKs8sJ7NGFtx1L42Hwzgr4mPng== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.19.3" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.18.4": + version "0.18.4" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.4.tgz#f02cf5939a08595b8b7db82c388d3ccfb36be956" + integrity sha512-gRAPFE7Ln4CMiyKq3YxW5hqUbLvyqFAT1CUlvBFtb+wdrM3g+7JhdNLKZLV7I68gWYW3rO4ORC6jZxsgqmmsNg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" From 93d044ccc991d45038ea963154f7279caf388e86 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 13 Oct 2022 15:21:29 -0700 Subject: [PATCH 160/262] upgrades --- examples/contracts/codegen/JunoSwap.client.ts | 2 +- examples/contracts/codegen/JunoSwap.types.ts | 2 +- examples/contracts/codegen/confio/proofs.ts | 38 +- examples/contracts/codegen/contracts.ts | 2 +- .../codegen/cosmos/app/v1alpha1/config.ts | 4 +- .../codegen/cosmos/app/v1alpha1/module.ts | 4 +- .../cosmos/app/v1alpha1/query.rpc.query.ts | 15 +- .../codegen/cosmos/app/v1alpha1/query.ts | 6 +- .../codegen/cosmos/auth/v1beta1/auth.ts | 10 +- .../codegen/cosmos/auth/v1beta1/genesis.ts | 4 +- .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 4 +- .../cosmos/auth/v1beta1/query.rpc.query.ts | 69 +- .../codegen/cosmos/auth/v1beta1/query.ts | 22 +- .../codegen/cosmos/authz/v1beta1/authz.ts | 14 +- .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 6 +- .../cosmos/authz/v1beta1/query.rpc.query.ts | 43 +- .../codegen/cosmos/authz/v1beta1/query.ts | 18 +- .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 47 +- .../codegen/cosmos/authz/v1beta1/tx.ts | 10 +- .../codegen/cosmos/bank/v1beta1/genesis.ts | 4 +- .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 8 +- .../cosmos/bank/v1beta1/query.rpc.query.ts | 91 +-- .../codegen/cosmos/bank/v1beta1/query.ts | 42 +- .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 19 +- .../codegen/cosmos/bank/v1beta1/tx.ts | 4 +- .../codegen/cosmos/base/abci/v1beta1/abci.ts | 14 +- .../cosmos/base/query/v1beta1/pagination.ts | 58 +- .../base/reflection/v1beta1/reflection.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 60 +- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 6 +- .../cosmos/base/store/v1beta1/commit_info.ts | 6 +- .../base/tendermint/v1beta1/query.lcd.ts | 2 +- .../base/tendermint/v1beta1/query.rpc.svc.ts | 55 +- .../cosmos/base/tendermint/v1beta1/query.ts | 42 +- examples/contracts/codegen/cosmos/bundle.ts | 320 ++++---- .../cosmos/capability/v1beta1/capability.ts | 2 +- .../cosmos/capability/v1beta1/genesis.ts | 6 +- examples/contracts/codegen/cosmos/client.ts | 35 +- .../codegen/cosmos/crisis/v1beta1/genesis.ts | 4 +- .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/crisis/v1beta1/tx.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 12 +- .../distribution/v1beta1/distribution.ts | 22 +- .../cosmos/distribution/v1beta1/genesis.ts | 30 +- .../cosmos/distribution/v1beta1/query.lcd.ts | 4 +- .../distribution/v1beta1/query.rpc.query.ts | 83 +-- .../cosmos/distribution/v1beta1/query.ts | 40 +- .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 47 +- .../codegen/cosmos/distribution/v1beta1/tx.ts | 8 +- .../cosmos/evidence/v1beta1/evidence.ts | 6 +- .../cosmos/evidence/v1beta1/query.lcd.ts | 2 +- .../evidence/v1beta1/query.rpc.query.ts | 23 +- .../codegen/cosmos/evidence/v1beta1/query.ts | 8 +- .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 17 +- .../codegen/cosmos/evidence/v1beta1/tx.ts | 6 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 28 +- .../cosmos/feegrant/v1beta1/query.lcd.ts | 4 +- .../feegrant/v1beta1/query.rpc.query.ts | 35 +- .../codegen/cosmos/feegrant/v1beta1/query.ts | 10 +- .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 27 +- .../codegen/cosmos/feegrant/v1beta1/tx.ts | 8 +- .../codegen/cosmos/gov/v1/genesis.ts | 14 +- .../contracts/codegen/cosmos/gov/v1/gov.ts | 52 +- .../codegen/cosmos/gov/v1/query.lcd.ts | 2 +- .../codegen/cosmos/gov/v1/query.rpc.query.ts | 71 +- .../contracts/codegen/cosmos/gov/v1/query.ts | 58 +- .../codegen/cosmos/gov/v1/tx.amino.ts | 2 +- .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 41 +- .../contracts/codegen/cosmos/gov/v1/tx.ts | 16 +- .../codegen/cosmos/gov/v1beta1/genesis.ts | 14 +- .../codegen/cosmos/gov/v1beta1/gov.ts | 56 +- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 2 +- .../cosmos/gov/v1beta1/query.rpc.query.ts | 71 +- .../codegen/cosmos/gov/v1beta1/query.ts | 58 +- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 2 +- .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 37 +- .../codegen/cosmos/gov/v1beta1/tx.ts | 14 +- .../codegen/cosmos/group/v1/events.ts | 2 +- .../codegen/cosmos/group/v1/genesis.ts | 2 +- .../codegen/cosmos/group/v1/query.lcd.ts | 2 +- .../cosmos/group/v1/query.rpc.query.ts | 111 ++- .../codegen/cosmos/group/v1/query.ts | 48 +- .../codegen/cosmos/group/v1/tx.amino.ts | 2 +- .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 91 ++- .../contracts/codegen/cosmos/group/v1/tx.ts | 45 +- .../codegen/cosmos/group/v1/types.ts | 70 +- .../codegen/cosmos/mint/v1beta1/genesis.ts | 8 +- .../codegen/cosmos/mint/v1beta1/mint.ts | 2 +- .../cosmos/mint/v1beta1/query.rpc.query.ts | 31 +- .../codegen/cosmos/mint/v1beta1/query.ts | 10 +- .../codegen/cosmos/nft/v1beta1/nft.ts | 8 +- .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 4 +- .../cosmos/nft/v1beta1/query.rpc.query.ts | 67 +- .../codegen/cosmos/nft/v1beta1/query.ts | 32 +- .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/nft/v1beta1/tx.ts | 2 +- .../contracts/codegen/cosmos/orm/v1/orm.ts | 88 +-- .../codegen/cosmos/orm/v1alpha1/schema.ts | 3 +- .../cosmos/params/v1beta1/query.lcd.ts | 2 +- .../cosmos/params/v1beta1/query.rpc.query.ts | 29 +- .../codegen/cosmos/params/v1beta1/query.ts | 8 +- examples/contracts/codegen/cosmos/rpc.tx.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 10 +- .../cosmos/slashing/v1beta1/query.lcd.ts | 2 +- .../slashing/v1beta1/query.rpc.query.ts | 31 +- .../codegen/cosmos/slashing/v1beta1/query.ts | 14 +- .../cosmos/slashing/v1beta1/slashing.ts | 12 +- .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 19 +- .../codegen/cosmos/slashing/v1beta1/tx.ts | 2 +- .../codegen/cosmos/staking/v1beta1/authz.ts | 7 +- .../codegen/cosmos/staking/v1beta1/genesis.ts | 6 +- .../cosmos/staking/v1beta1/query.lcd.ts | 10 +- .../cosmos/staking/v1beta1/query.rpc.query.ts | 135 ++-- .../codegen/cosmos/staking/v1beta1/query.ts | 70 +- .../codegen/cosmos/staking/v1beta1/staking.ts | 63 +- .../cosmos/staking/v1beta1/tx.amino.ts | 2 +- .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 49 +- .../codegen/cosmos/staking/v1beta1/tx.ts | 52 +- .../cosmos/tx/signing/v1beta1/signing.ts | 17 +- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 4 +- .../cosmos/tx/v1beta1/service.rpc.svc.ts | 53 +- .../codegen/cosmos/tx/v1beta1/service.ts | 58 +- .../contracts/codegen/cosmos/tx/v1beta1/tx.ts | 42 +- .../cosmos/upgrade/v1beta1/query.lcd.ts | 12 +- .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 73 +- .../codegen/cosmos/upgrade/v1beta1/query.ts | 20 +- .../cosmos/upgrade/v1beta1/tx.amino.ts | 2 +- .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 33 +- .../codegen/cosmos/upgrade/v1beta1/tx.ts | 8 +- .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 14 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 2 +- .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 41 +- .../codegen/cosmos/vesting/v1beta1/tx.ts | 8 +- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 22 +- .../contracts/codegen/cosmos_proto/cosmos.ts | 3 +- examples/contracts/codegen/cosmwasm/bundle.ts | 30 +- examples/contracts/codegen/cosmwasm/client.ts | 7 +- examples/contracts/codegen/cosmwasm/rpc.tx.ts | 2 +- .../codegen/cosmwasm/wasm/v1/genesis.ts | 14 +- .../contracts/codegen/cosmwasm/wasm/v1/ibc.ts | 2 +- .../codegen/cosmwasm/wasm/v1/proposal.ts | 6 +- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 2 +- .../cosmwasm/wasm/v1/query.rpc.query.ts | 79 +- .../codegen/cosmwasm/wasm/v1/query.ts | 28 +- .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 2 +- .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 43 +- .../contracts/codegen/cosmwasm/wasm/v1/tx.ts | 18 +- .../codegen/cosmwasm/wasm/v1/types.ts | 28 +- examples/contracts/codegen/google/api/http.ts | 356 ++++----- examples/contracts/codegen/google/bundle.ts | 8 +- .../contracts/codegen/google/protobuf/any.ts | 208 +++--- .../codegen/google/protobuf/descriptor.ts | 384 +++++----- .../codegen/google/protobuf/duration.ts | 110 +-- .../codegen/google/protobuf/empty.ts | 12 +- .../codegen/google/protobuf/field_mask.ts | 458 ------------ .../codegen/google/protobuf/struct.ts | 420 ----------- .../codegen/google/protobuf/timestamp.ts | 86 +-- .../codegen/google/protobuf/wrappers.ts | 587 --------------- examples/contracts/codegen/helpers.ts | 240 ++++++ .../ibc/applications/transfer/v1/genesis.ts | 4 +- .../ibc/applications/transfer/v1/query.lcd.ts | 2 +- .../transfer/v1/query.rpc.query.ts | 31 +- .../ibc/applications/transfer/v1/query.ts | 14 +- .../ibc/applications/transfer/v1/tx.amino.ts | 2 +- .../applications/transfer/v1/tx.rpc.msg.ts | 13 +- .../ibc/applications/transfer/v1/tx.ts | 12 +- examples/contracts/codegen/ibc/bundle.ts | 192 ++--- examples/contracts/codegen/ibc/client.ts | 13 +- .../codegen/ibc/core/channel/v1/channel.ts | 20 +- .../codegen/ibc/core/channel/v1/genesis.ts | 2 +- .../codegen/ibc/core/channel/v1/query.lcd.ts | 18 +- .../ibc/core/channel/v1/query.rpc.query.ts | 167 +++-- .../codegen/ibc/core/channel/v1/query.ts | 96 +-- .../codegen/ibc/core/channel/v1/tx.amino.ts | 2 +- .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 71 +- .../codegen/ibc/core/channel/v1/tx.ts | 78 +- .../codegen/ibc/core/client/v1/client.ts | 22 +- .../codegen/ibc/core/client/v1/genesis.ts | 6 +- .../codegen/ibc/core/client/v1/query.lcd.ts | 6 +- .../ibc/core/client/v1/query.rpc.query.ts | 79 +- .../codegen/ibc/core/client/v1/query.ts | 50 +- .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 31 +- .../codegen/ibc/core/client/v1/tx.ts | 32 +- .../ibc/core/connection/v1/connection.ts | 17 +- .../codegen/ibc/core/connection/v1/genesis.ts | 6 +- .../ibc/core/connection/v1/query.lcd.ts | 8 +- .../ibc/core/connection/v1/query.rpc.query.ts | 67 +- .../codegen/ibc/core/connection/v1/query.ts | 44 +- .../ibc/core/connection/v1/tx.amino.ts | 2 +- .../ibc/core/connection/v1/tx.rpc.msg.ts | 35 +- .../codegen/ibc/core/connection/v1/tx.ts | 54 +- .../ibc/core/port/v1/query.rpc.query.ts | 15 +- .../codegen/ibc/core/port/v1/query.ts | 6 +- .../codegen/ibc/core/types/v1/genesis.ts | 18 +- .../lightclients/localhost/v1/localhost.ts | 4 +- .../solomachine/v1/solomachine.ts | 45 +- .../solomachine/v2/solomachine.ts | 45 +- .../lightclients/tendermint/v1/tendermint.ts | 84 +-- examples/contracts/codegen/ibc/rpc.tx.ts | 2 +- examples/contracts/codegen/index.ts | 2 +- .../codegen/tendermint/abci/types.ts | 112 +-- .../contracts/codegen/tendermint/bundle.ts | 44 +- .../codegen/tendermint/crypto/proof.ts | 6 +- .../codegen/tendermint/libs/bits/types.ts | 2 +- .../contracts/codegen/tendermint/p2p/types.ts | 22 +- .../codegen/tendermint/types/block.ts | 16 +- .../codegen/tendermint/types/evidence.ts | 22 +- .../codegen/tendermint/types/params.ts | 24 +- .../codegen/tendermint/types/types.ts | 80 +- .../codegen/tendermint/types/validator.ts | 14 +- .../codegen/tendermint/version/types.ts | 2 +- examples/contracts/package.json | 9 +- examples/juno/package.json | 8 +- examples/osmosis-cosmwasm/package.json | 8 +- examples/osmosis/package.json | 6 +- examples/send-tokens/package.json | 4 +- examples/stargaze/package.json | 4 +- examples/tailwindcss/package.json | 4 +- examples/telescope/codegen/confio/proofs.ts | 38 +- .../codegen/cosmos/app/v1alpha1/config.ts | 4 +- .../codegen/cosmos/app/v1alpha1/module.ts | 4 +- .../cosmos/app/v1alpha1/query.rpc.query.ts | 15 +- .../codegen/cosmos/app/v1alpha1/query.ts | 6 +- .../codegen/cosmos/auth/v1beta1/auth.ts | 10 +- .../codegen/cosmos/auth/v1beta1/genesis.ts | 4 +- .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 4 +- .../cosmos/auth/v1beta1/query.rpc.query.ts | 69 +- .../codegen/cosmos/auth/v1beta1/query.ts | 22 +- .../codegen/cosmos/authz/v1beta1/authz.ts | 14 +- .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 6 +- .../cosmos/authz/v1beta1/query.rpc.query.ts | 43 +- .../codegen/cosmos/authz/v1beta1/query.ts | 18 +- .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 47 +- .../codegen/cosmos/authz/v1beta1/tx.ts | 10 +- .../codegen/cosmos/bank/v1beta1/genesis.ts | 4 +- .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 8 +- .../cosmos/bank/v1beta1/query.rpc.query.ts | 91 +-- .../codegen/cosmos/bank/v1beta1/query.ts | 42 +- .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 19 +- .../codegen/cosmos/bank/v1beta1/tx.ts | 4 +- .../codegen/cosmos/base/abci/v1beta1/abci.ts | 14 +- .../cosmos/base/query/v1beta1/pagination.ts | 58 +- .../base/reflection/v1beta1/reflection.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 60 +- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 6 +- .../cosmos/base/store/v1beta1/commit_info.ts | 6 +- .../base/tendermint/v1beta1/query.lcd.ts | 2 +- .../base/tendermint/v1beta1/query.rpc.svc.ts | 55 +- .../cosmos/base/tendermint/v1beta1/query.ts | 42 +- examples/telescope/codegen/cosmos/bundle.ts | 320 ++++---- .../cosmos/capability/v1beta1/capability.ts | 2 +- .../cosmos/capability/v1beta1/genesis.ts | 6 +- examples/telescope/codegen/cosmos/client.ts | 35 +- .../codegen/cosmos/crisis/v1beta1/genesis.ts | 4 +- .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/crisis/v1beta1/tx.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 12 +- .../distribution/v1beta1/distribution.ts | 22 +- .../cosmos/distribution/v1beta1/genesis.ts | 30 +- .../cosmos/distribution/v1beta1/query.lcd.ts | 4 +- .../distribution/v1beta1/query.rpc.query.ts | 83 +-- .../cosmos/distribution/v1beta1/query.ts | 40 +- .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 47 +- .../codegen/cosmos/distribution/v1beta1/tx.ts | 8 +- .../cosmos/evidence/v1beta1/evidence.ts | 6 +- .../cosmos/evidence/v1beta1/query.lcd.ts | 2 +- .../evidence/v1beta1/query.rpc.query.ts | 23 +- .../codegen/cosmos/evidence/v1beta1/query.ts | 8 +- .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 17 +- .../codegen/cosmos/evidence/v1beta1/tx.ts | 6 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 28 +- .../cosmos/feegrant/v1beta1/query.lcd.ts | 4 +- .../feegrant/v1beta1/query.rpc.query.ts | 35 +- .../codegen/cosmos/feegrant/v1beta1/query.ts | 10 +- .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 27 +- .../codegen/cosmos/feegrant/v1beta1/tx.ts | 8 +- .../codegen/cosmos/gov/v1/genesis.ts | 14 +- .../telescope/codegen/cosmos/gov/v1/gov.ts | 52 +- .../codegen/cosmos/gov/v1/query.lcd.ts | 2 +- .../codegen/cosmos/gov/v1/query.rpc.query.ts | 71 +- .../telescope/codegen/cosmos/gov/v1/query.ts | 58 +- .../codegen/cosmos/gov/v1/tx.amino.ts | 2 +- .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 41 +- .../telescope/codegen/cosmos/gov/v1/tx.ts | 16 +- .../codegen/cosmos/gov/v1beta1/genesis.ts | 14 +- .../codegen/cosmos/gov/v1beta1/gov.ts | 56 +- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 2 +- .../cosmos/gov/v1beta1/query.rpc.query.ts | 71 +- .../codegen/cosmos/gov/v1beta1/query.ts | 58 +- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 2 +- .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 37 +- .../codegen/cosmos/gov/v1beta1/tx.ts | 14 +- .../codegen/cosmos/group/v1/events.ts | 2 +- .../codegen/cosmos/group/v1/genesis.ts | 2 +- .../codegen/cosmos/group/v1/query.lcd.ts | 2 +- .../cosmos/group/v1/query.rpc.query.ts | 111 ++- .../codegen/cosmos/group/v1/query.ts | 48 +- .../codegen/cosmos/group/v1/tx.amino.ts | 2 +- .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 91 ++- .../telescope/codegen/cosmos/group/v1/tx.ts | 45 +- .../codegen/cosmos/group/v1/types.ts | 70 +- .../codegen/cosmos/mint/v1beta1/genesis.ts | 8 +- .../codegen/cosmos/mint/v1beta1/mint.ts | 2 +- .../cosmos/mint/v1beta1/query.rpc.query.ts | 31 +- .../codegen/cosmos/mint/v1beta1/query.ts | 10 +- .../codegen/cosmos/nft/v1beta1/nft.ts | 8 +- .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 4 +- .../cosmos/nft/v1beta1/query.rpc.query.ts | 67 +- .../codegen/cosmos/nft/v1beta1/query.ts | 32 +- .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 13 +- .../codegen/cosmos/nft/v1beta1/tx.ts | 2 +- .../telescope/codegen/cosmos/orm/v1/orm.ts | 88 +-- .../codegen/cosmos/orm/v1alpha1/schema.ts | 3 +- .../cosmos/params/v1beta1/query.lcd.ts | 2 +- .../cosmos/params/v1beta1/query.rpc.query.ts | 29 +- .../codegen/cosmos/params/v1beta1/query.ts | 8 +- examples/telescope/codegen/cosmos/rpc.tx.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 10 +- .../cosmos/slashing/v1beta1/query.lcd.ts | 2 +- .../slashing/v1beta1/query.rpc.query.ts | 31 +- .../codegen/cosmos/slashing/v1beta1/query.ts | 14 +- .../cosmos/slashing/v1beta1/slashing.ts | 12 +- .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 19 +- .../codegen/cosmos/slashing/v1beta1/tx.ts | 2 +- .../codegen/cosmos/staking/v1beta1/authz.ts | 7 +- .../codegen/cosmos/staking/v1beta1/genesis.ts | 6 +- .../cosmos/staking/v1beta1/query.lcd.ts | 10 +- .../cosmos/staking/v1beta1/query.rpc.query.ts | 135 ++-- .../codegen/cosmos/staking/v1beta1/query.ts | 70 +- .../codegen/cosmos/staking/v1beta1/staking.ts | 63 +- .../cosmos/staking/v1beta1/tx.amino.ts | 2 +- .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 49 +- .../codegen/cosmos/staking/v1beta1/tx.ts | 52 +- .../cosmos/tx/signing/v1beta1/signing.ts | 17 +- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 4 +- .../cosmos/tx/v1beta1/service.rpc.svc.ts | 53 +- .../codegen/cosmos/tx/v1beta1/service.ts | 58 +- .../telescope/codegen/cosmos/tx/v1beta1/tx.ts | 42 +- .../cosmos/upgrade/v1beta1/query.lcd.ts | 12 +- .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 73 +- .../codegen/cosmos/upgrade/v1beta1/query.ts | 20 +- .../cosmos/upgrade/v1beta1/tx.amino.ts | 2 +- .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 33 +- .../codegen/cosmos/upgrade/v1beta1/tx.ts | 8 +- .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 14 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 2 +- .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 41 +- .../codegen/cosmos/vesting/v1beta1/tx.ts | 8 +- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 22 +- .../telescope/codegen/cosmos_proto/cosmos.ts | 3 +- examples/telescope/codegen/cosmwasm/bundle.ts | 30 +- examples/telescope/codegen/cosmwasm/client.ts | 7 +- examples/telescope/codegen/cosmwasm/rpc.tx.ts | 2 +- .../codegen/cosmwasm/wasm/v1/genesis.ts | 14 +- .../telescope/codegen/cosmwasm/wasm/v1/ibc.ts | 2 +- .../codegen/cosmwasm/wasm/v1/proposal.ts | 6 +- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 2 +- .../cosmwasm/wasm/v1/query.rpc.query.ts | 79 +- .../codegen/cosmwasm/wasm/v1/query.ts | 28 +- .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 2 +- .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 43 +- .../telescope/codegen/cosmwasm/wasm/v1/tx.ts | 18 +- .../codegen/cosmwasm/wasm/v1/types.ts | 28 +- examples/telescope/codegen/google/api/http.ts | 356 ++++----- examples/telescope/codegen/google/bundle.ts | 8 +- .../telescope/codegen/google/protobuf/any.ts | 208 +++--- .../codegen/google/protobuf/descriptor.ts | 384 +++++----- .../codegen/google/protobuf/duration.ts | 110 +-- .../codegen/google/protobuf/empty.ts | 12 +- .../codegen/google/protobuf/field_mask.ts | 458 ------------ .../codegen/google/protobuf/struct.ts | 420 ----------- .../codegen/google/protobuf/timestamp.ts | 86 +-- .../codegen/google/protobuf/wrappers.ts | 587 --------------- examples/telescope/codegen/helpers.ts | 240 ++++++ .../ibc/applications/transfer/v1/genesis.ts | 4 +- .../ibc/applications/transfer/v1/query.lcd.ts | 2 +- .../transfer/v1/query.rpc.query.ts | 31 +- .../ibc/applications/transfer/v1/query.ts | 14 +- .../ibc/applications/transfer/v1/tx.amino.ts | 2 +- .../applications/transfer/v1/tx.rpc.msg.ts | 13 +- .../ibc/applications/transfer/v1/tx.ts | 12 +- examples/telescope/codegen/ibc/bundle.ts | 192 ++--- examples/telescope/codegen/ibc/client.ts | 13 +- .../codegen/ibc/core/channel/v1/channel.ts | 20 +- .../codegen/ibc/core/channel/v1/genesis.ts | 2 +- .../codegen/ibc/core/channel/v1/query.lcd.ts | 18 +- .../ibc/core/channel/v1/query.rpc.query.ts | 167 +++-- .../codegen/ibc/core/channel/v1/query.ts | 96 +-- .../codegen/ibc/core/channel/v1/tx.amino.ts | 2 +- .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 71 +- .../codegen/ibc/core/channel/v1/tx.ts | 78 +- .../codegen/ibc/core/client/v1/client.ts | 22 +- .../codegen/ibc/core/client/v1/genesis.ts | 6 +- .../codegen/ibc/core/client/v1/query.lcd.ts | 6 +- .../ibc/core/client/v1/query.rpc.query.ts | 79 +- .../codegen/ibc/core/client/v1/query.ts | 50 +- .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 31 +- .../codegen/ibc/core/client/v1/tx.ts | 32 +- .../ibc/core/connection/v1/connection.ts | 17 +- .../codegen/ibc/core/connection/v1/genesis.ts | 6 +- .../ibc/core/connection/v1/query.lcd.ts | 8 +- .../ibc/core/connection/v1/query.rpc.query.ts | 67 +- .../codegen/ibc/core/connection/v1/query.ts | 44 +- .../ibc/core/connection/v1/tx.amino.ts | 2 +- .../ibc/core/connection/v1/tx.rpc.msg.ts | 35 +- .../codegen/ibc/core/connection/v1/tx.ts | 54 +- .../ibc/core/port/v1/query.rpc.query.ts | 15 +- .../codegen/ibc/core/port/v1/query.ts | 6 +- .../codegen/ibc/core/types/v1/genesis.ts | 18 +- .../lightclients/localhost/v1/localhost.ts | 4 +- .../solomachine/v1/solomachine.ts | 45 +- .../solomachine/v2/solomachine.ts | 45 +- .../lightclients/tendermint/v1/tendermint.ts | 84 +-- examples/telescope/codegen/ibc/rpc.tx.ts | 2 +- examples/telescope/codegen/index.ts | 2 +- .../codegen/tendermint/abci/types.ts | 112 +-- .../telescope/codegen/tendermint/bundle.ts | 44 +- .../codegen/tendermint/crypto/proof.ts | 6 +- .../codegen/tendermint/libs/bits/types.ts | 2 +- .../telescope/codegen/tendermint/p2p/types.ts | 22 +- .../codegen/tendermint/types/block.ts | 16 +- .../codegen/tendermint/types/evidence.ts | 22 +- .../codegen/tendermint/types/params.ts | 24 +- .../codegen/tendermint/types/types.ts | 80 +- .../codegen/tendermint/types/validator.ts | 14 +- .../codegen/tendermint/version/types.ts | 2 +- examples/telescope/package.json | 11 +- templates/connect-chain/package.json | 4 +- templates/connect-multi-chain/package.json | 4 +- yarn.lock | 690 ++++++++++++++++-- 430 files changed, 8047 insertions(+), 9731 deletions(-) delete mode 100644 examples/contracts/codegen/google/protobuf/field_mask.ts delete mode 100644 examples/contracts/codegen/google/protobuf/struct.ts delete mode 100644 examples/contracts/codegen/google/protobuf/wrappers.ts create mode 100644 examples/contracts/codegen/helpers.ts delete mode 100644 examples/telescope/codegen/google/protobuf/field_mask.ts delete mode 100644 examples/telescope/codegen/google/protobuf/struct.ts delete mode 100644 examples/telescope/codegen/google/protobuf/wrappers.ts create mode 100644 examples/telescope/codegen/helpers.ts diff --git a/examples/contracts/codegen/JunoSwap.client.ts b/examples/contracts/codegen/JunoSwap.client.ts index adb6ca06e..92b0f8ef2 100644 --- a/examples/contracts/codegen/JunoSwap.client.ts +++ b/examples/contracts/codegen/JunoSwap.client.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/contracts/codegen/JunoSwap.types.ts b/examples/contracts/codegen/JunoSwap.types.ts index 1e14b26b1..0c0998e32 100644 --- a/examples/contracts/codegen/JunoSwap.types.ts +++ b/examples/contracts/codegen/JunoSwap.types.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/contracts/codegen/confio/proofs.ts b/examples/contracts/codegen/confio/proofs.ts index d7c8dab0e..354db9699 100644 --- a/examples/contracts/codegen/confio/proofs.ts +++ b/examples/contracts/codegen/confio/proofs.ts @@ -75,8 +75,9 @@ export function hashOpToJSON(object: HashOp): string { case HashOp.BITCOIN: return "BITCOIN"; + case HashOp.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -224,8 +225,9 @@ export function lengthOpToJSON(object: LengthOp): string { case LengthOp.REQUIRE_64_BYTES: return "REQUIRE_64_BYTES"; + case LengthOp.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -253,7 +255,7 @@ export function lengthOpToJSON(object: LengthOp): string { export interface ExistenceProof { key: Uint8Array; value: Uint8Array; - leaf: LeafOp | undefined; + leaf?: LeafOp | undefined; path: InnerOp[]; } /** @@ -281,7 +283,7 @@ export interface ExistenceProof { export interface ExistenceProofSDKType { key: Uint8Array; value: Uint8Array; - leaf: LeafOpSDKType | undefined; + leaf?: LeafOpSDKType | undefined; path: InnerOpSDKType[]; } /** @@ -293,8 +295,8 @@ export interface ExistenceProofSDKType { export interface NonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: ExistenceProof | undefined; - right: ExistenceProof | undefined; + left?: ExistenceProof | undefined; + right?: ExistenceProof | undefined; } /** * NonExistenceProof takes a proof of two neighbors, one left of the desired key, @@ -305,8 +307,8 @@ export interface NonExistenceProof { export interface NonExistenceProofSDKType { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: ExistenceProofSDKType | undefined; - right: ExistenceProofSDKType | undefined; + left?: ExistenceProofSDKType | undefined; + right?: ExistenceProofSDKType | undefined; } /** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ @@ -446,8 +448,8 @@ export interface ProofSpec { * any field in the ExistenceProof must be the same as in this spec. * except Prefix, which is just the first bytes of prefix (spec can be longer) */ - leafSpec: LeafOp | undefined; - innerSpec: InnerSpec | undefined; + leafSpec?: LeafOp | undefined; + innerSpec?: InnerSpec | undefined; /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ maxDepth: number; @@ -473,8 +475,8 @@ export interface ProofSpecSDKType { * any field in the ExistenceProof must be the same as in this spec. * except Prefix, which is just the first bytes of prefix (spec can be longer) */ - leaf_spec: LeafOpSDKType | undefined; - inner_spec: InnerSpecSDKType | undefined; + leaf_spec?: LeafOpSDKType | undefined; + inner_spec?: InnerSpecSDKType | undefined; /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ max_depth: number; @@ -583,7 +585,7 @@ export interface CompressedBatchEntrySDKType { export interface CompressedExistenceProof { key: Uint8Array; value: Uint8Array; - leaf: LeafOp | undefined; + leaf?: LeafOp | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ path: number[]; @@ -591,7 +593,7 @@ export interface CompressedExistenceProof { export interface CompressedExistenceProofSDKType { key: Uint8Array; value: Uint8Array; - leaf: LeafOpSDKType | undefined; + leaf?: LeafOpSDKType | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ path: number[]; @@ -599,14 +601,14 @@ export interface CompressedExistenceProofSDKType { export interface CompressedNonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: CompressedExistenceProof | undefined; - right: CompressedExistenceProof | undefined; + left?: CompressedExistenceProof | undefined; + right?: CompressedExistenceProof | undefined; } export interface CompressedNonExistenceProofSDKType { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: CompressedExistenceProofSDKType | undefined; - right: CompressedExistenceProofSDKType | undefined; + left?: CompressedExistenceProofSDKType | undefined; + right?: CompressedExistenceProofSDKType | undefined; } function createBaseExistenceProof(): ExistenceProof { diff --git a/examples/contracts/codegen/contracts.ts b/examples/contracts/codegen/contracts.ts index b53b0c5bf..f89602121 100644 --- a/examples/contracts/codegen/contracts.ts +++ b/examples/contracts/codegen/contracts.ts @@ -1,5 +1,5 @@ /** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1. +* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ diff --git a/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts index 7311e877d..a67d60bde 100644 --- a/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/config.ts @@ -49,7 +49,7 @@ export interface ModuleConfig { * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. */ - config: Any | undefined; + config?: Any | undefined; } /** ModuleConfig is a module configuration for an app. */ @@ -72,7 +72,7 @@ export interface ModuleConfigSDKType { * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. */ - config: AnySDKType | undefined; + config?: AnySDKType | undefined; } function createBaseConfig(): Config { diff --git a/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts index c5d0b3f12..2041ee6c0 100644 --- a/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/module.ts @@ -100,7 +100,7 @@ export interface PackageReference { * 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 + * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ @@ -145,7 +145,7 @@ export interface PackageReferenceSDKType { * 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 + * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ diff --git a/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts index 6668d2141..9ae7ca7f3 100644 --- a/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -1,13 +1,12 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConfigRequest, QueryConfigResponse, QueryConfigResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryConfigRequest, QueryConfigResponse } from "./query"; +/** Query is the app module query service. */ export interface Query { - config(request?: QueryConfigRequest): Promise; - /*Config returns the current app config.*/ - + /** Config returns the current app config. */ + config(request?: QueryConfigRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -17,7 +16,7 @@ export class QueryClientImpl implements Query { this.config = this.config.bind(this); } - config(request: QueryConfigRequest = {}): Promise { + 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 _m0.Reader(data))); @@ -28,7 +27,7 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - config(request?: QueryConfigRequest): Promise { + config(request?: QueryConfigRequest): Promise { return queryService.config(request); } diff --git a/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts b/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts index 1b446bb0a..005f0d648 100644 --- a/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts +++ b/examples/contracts/codegen/cosmos/app/v1alpha1/query.ts @@ -10,13 +10,13 @@ export interface QueryConfigRequestSDKType {} export interface QueryConfigResponse { /** config is the current app config. */ - config: Config | undefined; + config?: Config | undefined; } /** QueryConfigRequest is the Query/Config response type. */ export interface QueryConfigResponseSDKType { /** config is the current app config. */ - config: ConfigSDKType | undefined; + config?: ConfigSDKType | undefined; } function createBaseQueryConfigRequest(): QueryConfigRequest { @@ -68,7 +68,7 @@ export const QueryConfigResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConfigResponse(); diff --git a/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts index fd0a598b7..61a7013dd 100644 --- a/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts @@ -1,6 +1,6 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -9,7 +9,7 @@ import { Long } from "@osmonauts/helpers"; export interface BaseAccount { address: string; - pubKey: Any | undefined; + pubKey?: Any | undefined; accountNumber: Long; sequence: Long; } @@ -21,21 +21,21 @@ export interface BaseAccount { export interface BaseAccountSDKType { address: string; - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; account_number: Long; sequence: Long; } /** ModuleAccount defines an account for modules that holds coins on a pool. */ export interface ModuleAccount { - baseAccount: BaseAccount | undefined; + baseAccount?: BaseAccount | undefined; name: string; permissions: string[]; } /** ModuleAccount defines an account for modules that holds coins on a pool. */ export interface ModuleAccountSDKType { - base_account: BaseAccountSDKType | undefined; + base_account?: BaseAccountSDKType | undefined; name: string; permissions: string[]; } diff --git a/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts index 4db2ee8df..af6abc863 100644 --- a/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts @@ -5,7 +5,7 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** accounts are the accounts present at genesis. */ accounts: Any[]; @@ -14,7 +14,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** accounts are the accounts present at genesis. */ accounts: AnySDKType[]; diff --git a/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts index df358f6f3..83fdf31f5 100644 --- a/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; export class LCDQueryClient { @@ -20,7 +20,7 @@ export class LCDQueryClient { } /* Accounts returns all the existing accounts - Since: cosmos-sdk 0.43 */ + Since: cosmos-sdk 0.43 */ async accounts(params: QueryAccountsRequest = { diff --git a/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts index ad16465b5..bd0c78f34 100644 --- a/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -1,33 +1,34 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - accounts(request?: QueryAccountsRequest): Promise; - /*Accounts returns all the existing accounts - - Since: cosmos-sdk 0.43*/ + /** + * 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; - /*Account returns account details based on address.*/ + account(request: QueryAccountRequest): Promise; + /** Params queries all parameters. */ - params(request?: QueryParamsRequest): Promise; - /*Params queries all parameters.*/ + params(request?: QueryParamsRequest): Promise; + /** ModuleAccounts returns all the existing module accounts. */ - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - /*ModuleAccounts returns all the existing module accounts.*/ + moduleAccounts(request?: QueryModuleAccountsRequest): Promise; + /** Bech32 queries bech32Prefix */ - bech32Prefix(request?: Bech32PrefixRequest): Promise; - /*Bech32 queries bech32Prefix*/ + bech32Prefix(request?: Bech32PrefixRequest): Promise; + /** AddressBytesToString converts Account Address bytes to string */ - addressBytesToString(request: AddressBytesToStringRequest): Promise; - /*AddressBytesToString converts Account Address bytes to string*/ - - addressStringToBytes(request: AddressStringToBytesRequest): Promise; - /*AddressStringToBytes converts Address string to bytes*/ + addressBytesToString(request: AddressBytesToStringRequest): Promise; + /** AddressStringToBytes converts Address string to bytes */ + addressStringToBytes(request: AddressStringToBytesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,43 +46,43 @@ export class QueryClientImpl implements Query { accounts(request: QueryAccountsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); } - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { const data = QueryAccountRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { + moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { const data = QueryModuleAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); } - bech32Prefix(request: Bech32PrefixRequest = {}): Promise { + bech32Prefix(request: Bech32PrefixRequest = {}): Promise { const data = Bech32PrefixRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); } - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { const data = AddressBytesToStringRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); } - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { const data = AddressStringToBytesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); @@ -92,31 +93,31 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - accounts(request?: QueryAccountsRequest): Promise { + accounts(request?: QueryAccountsRequest): Promise { return queryService.accounts(request); }, - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { return queryService.account(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - moduleAccounts(request?: QueryModuleAccountsRequest): Promise { + moduleAccounts(request?: QueryModuleAccountsRequest): Promise { return queryService.moduleAccounts(request); }, - bech32Prefix(request?: Bech32PrefixRequest): Promise { + bech32Prefix(request?: Bech32PrefixRequest): Promise { return queryService.bech32Prefix(request); }, - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { return queryService.addressBytesToString(request); }, - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { return queryService.addressStringToBytes(request); } diff --git a/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts b/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts index b2afad6d5..d26e682dd 100644 --- a/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/auth/v1beta1/query.ts @@ -70,25 +70,25 @@ export interface QueryModuleAccountsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ - account: Any | undefined; + account?: Any | undefined; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponseSDKType { /** account defines the account of the corresponding address. */ - account: AnySDKType | undefined; + account?: AnySDKType | undefined; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ @@ -228,7 +228,7 @@ export const QueryAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountsResponse(); @@ -357,7 +357,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -402,7 +402,7 @@ export const QueryAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountResponse(); @@ -481,7 +481,7 @@ export const QueryModuleAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleAccountsResponse(); @@ -560,7 +560,7 @@ export const Bech32PrefixResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBech32PrefixResponse(); @@ -650,7 +650,7 @@ export const AddressBytesToStringResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressBytesToStringResponse(); @@ -740,7 +740,7 @@ export const AddressStringToBytesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressStringToBytesResponse(); diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts index 5da015f57..519cb7f87 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. @@ -26,7 +26,7 @@ export interface GenericAuthorizationSDKType { */ export interface Grant { - authorization: Any | undefined; + authorization?: 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` @@ -41,7 +41,7 @@ export interface Grant { */ export interface GrantSDKType { - authorization: AnySDKType | undefined; + authorization?: AnySDKType | 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` @@ -58,8 +58,8 @@ export interface GrantSDKType { export interface GrantAuthorization { granter: string; grantee: string; - authorization: Any | undefined; - expiration: Date | undefined; + authorization?: Any | undefined; + expiration?: Date | undefined; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. @@ -69,8 +69,8 @@ export interface GrantAuthorization { export interface GrantAuthorizationSDKType { granter: string; grantee: string; - authorization: AnySDKType | undefined; - expiration: Date | undefined; + authorization?: AnySDKType | undefined; + expiration?: Date | undefined; } /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts index 65de12eee..0a8df3591 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; export class LCDQueryClient { @@ -43,7 +43,7 @@ export class LCDQueryClient { } /* GranterGrants returns list of `GrantAuthorization`, granted by granter. - Since: cosmos-sdk 0.46 */ + Since: cosmos-sdk 0.46 */ async granterGrants(params: QueryGranterGrantsRequest): Promise { @@ -60,7 +60,7 @@ export class LCDQueryClient { } /* GranteeGrants returns a list of `GrantAuthorization` by grantee. - Since: cosmos-sdk 0.46 */ + Since: cosmos-sdk 0.46 */ async granteeGrants(params: QueryGranteeGrantsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts index 333c469df..c2fda460f 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -1,23 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - grants(request: QueryGrantsRequest): Promise; - /*Returns list of `Authorization`, granted to the grantee by the granter.*/ + /** 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; - /*GranterGrants returns list of `GrantAuthorization`, granted by granter. - - Since: cosmos-sdk 0.46*/ - - granteeGrants(request: QueryGranteeGrantsRequest): Promise; - /*GranteeGrants returns a list of `GrantAuthorization` by grantee. - - 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 class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -29,19 +32,19 @@ export class QueryClientImpl implements Query { this.granteeGrants = this.granteeGrants.bind(this); } - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { const data = QueryGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); } - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { const data = QueryGranterGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); } - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { const data = QueryGranteeGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); @@ -52,15 +55,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { return queryService.grants(request); }, - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { return queryService.granterGrants(request); }, - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { return queryService.granteeGrants(request); } diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts index 9f87f3158..cf5557e3b 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/query.ts @@ -4,11 +4,11 @@ import * as _m0 from "protobufjs/minimal"; /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ export interface QueryGrantsRequest { - granter?: string; - grantee?: string; + granter: string; + grantee: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl?: string; + msgTypeUrl: string; /** pagination defines an pagination for the request. */ pagination?: PageRequest | undefined; @@ -16,11 +16,11 @@ export interface QueryGrantsRequest { /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ export interface QueryGrantsRequestSDKType { - granter?: string; - grantee?: string; + granter: string; + grantee: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msg_type_url?: string; + msg_type_url: string; /** pagination defines an pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -207,7 +207,7 @@ export const QueryGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGrantsResponse(); @@ -317,7 +317,7 @@ export const QueryGranterGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranterGrantsResponse(); @@ -427,7 +427,7 @@ export const QueryGranteeGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranteeGrantsResponse(); diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts index aefc71215..63499c426 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -1,24 +1,29 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrant, MsgGrantResponse, MsgGrantResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgRevoke, MsgRevokeResponse, MsgRevokeResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; +/** Msg defines the authz Msg service. */ export interface Msg { - grant(request: MsgGrant): Promise; - /*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.*/ - - exec(request: MsgExec): 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.*/ - - revoke(request: MsgRevoke): Promise; - /*Revoke revokes any authorization corresponding to the provided method name on the - granter's account that has been granted to the grantee.*/ - + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -30,19 +35,19 @@ export class MsgClientImpl implements Msg { this.revoke = this.revoke.bind(this); } - grant(request: MsgGrant): Promise { + grant(request: MsgGrant): Promise { const data = MsgGrant.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - revoke(request: MsgRevoke): Promise { + revoke(request: MsgRevoke): Promise { const data = MsgRevoke.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts index 7eda0f40a..105936746 100644 --- a/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts @@ -9,7 +9,7 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgGrant { granter: string; grantee: string; - grant: Grant | undefined; + grant?: Grant | undefined; } /** * MsgGrant is a request type for Grant method. It declares authorization to the grantee @@ -19,7 +19,7 @@ export interface MsgGrant { export interface MsgGrantSDKType { granter: string; grantee: string; - grant: GrantSDKType | undefined; + grant?: GrantSDKType | undefined; } /** MsgExecResponse defines the Msg/MsgExecResponse response type. */ @@ -176,7 +176,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -270,7 +270,7 @@ export const MsgGrantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantResponse(); @@ -369,7 +369,7 @@ export const MsgRevokeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeResponse(); diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts index eadb3b95b..da2f39609 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts @@ -5,7 +5,7 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** balances is an array containing the balances of all the accounts. */ balances: Balance[]; @@ -23,7 +23,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** balances is an array containing the balances of all the accounts. */ balances: BalanceSDKType[]; diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts index 1eaba0a3c..7535655dc 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -51,7 +51,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* SpendableBalances queries the spenable balance of all coins for a single - account. */ + account. */ async spendableBalances(params: QuerySpendableBalancesRequest): Promise { @@ -113,7 +113,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* DenomsMetadata queries the client metadata for all registered coin - denominations. */ + denominations. */ async denomsMetadata(params: QueryDenomsMetadataRequest = { @@ -131,7 +131,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DenomOwners queries for all account addresses that own a particular token - denomination. */ + denomination. */ async denomOwners(params: QueryDenomOwnersRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts index 71991c2b1..a60bbc8c7 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -1,40 +1,45 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryBalanceRequest): Promise; - /*Balance queries the balance of a single coin for a single account.*/ + /** 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; - /*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. + */ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - /*SpendableBalances queries the spenable balance of all coins for a single - account.*/ + spendableBalances(request: QuerySpendableBalancesRequest): Promise; + /** TotalSupply queries the total supply of all coins. */ - totalSupply(request?: QueryTotalSupplyRequest): 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; - /*SupplyOf queries the supply of a single coin.*/ + supplyOf(request: QuerySupplyOfRequest): Promise; + /** Params queries the parameters of x/bank module. */ - params(request?: QueryParamsRequest): 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 of a given coin denomination.*/ + denomMetadata(request: QueryDenomMetadataRequest): Promise; + /** + * DenomsMetadata queries the client metadata for all registered coin + * denominations. + */ - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - /*DenomsMetadata queries the client metadata for all registered coin - denominations.*/ - - denomOwners(request: QueryDenomOwnersRequest): Promise; - /*DenomOwners queries for all account addresses that own a particular token - denomination.*/ + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; + /** + * DenomOwners queries for all account addresses that own a particular token + * denomination. + */ + denomOwners(request: QueryDenomOwnersRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -52,19 +57,19 @@ export class QueryClientImpl implements Query { this.denomOwners = this.denomOwners.bind(this); } - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { const data = QueryBalanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); } - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { const data = QueryAllBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); } - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { const data = QuerySpendableBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); @@ -72,25 +77,25 @@ export class QueryClientImpl implements Query { totalSupply(request: QueryTotalSupplyRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryTotalSupplyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); } - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { const data = QuerySupplyOfRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { const data = QueryDenomMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); @@ -98,13 +103,13 @@ export class QueryClientImpl implements Query { denomsMetadata(request: QueryDenomsMetadataRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryDenomsMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); } - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { const data = QueryDenomOwnersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); @@ -115,39 +120,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { return queryService.balance(request); }, - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { return queryService.allBalances(request); }, - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { return queryService.spendableBalances(request); }, - totalSupply(request?: QueryTotalSupplyRequest): Promise { + totalSupply(request?: QueryTotalSupplyRequest): Promise { return queryService.totalSupply(request); }, - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { return queryService.supplyOf(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { return queryService.denomMetadata(request); }, - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { return queryService.denomsMetadata(request); }, - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { return queryService.denomOwners(request); } diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts index 5a02f47c0..53ecb3fae 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/query.ts @@ -24,13 +24,13 @@ export interface QueryBalanceRequestSDKType { export interface QueryBalanceResponse { /** balance is the balance of the coin. */ - balance: Coin | undefined; + balance?: Coin | undefined; } /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ export interface QueryBalanceResponseSDKType { /** balance is the balance of the coin. */ - balance: CoinSDKType | undefined; + balance?: CoinSDKType | undefined; } /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ @@ -184,25 +184,25 @@ export interface QueryTotalSupplyResponseSDKType { export interface QuerySupplyOfRequest { /** denom is the coin denom to query balances for. */ - denom?: string; + denom: string; } /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfRequestSDKType { /** denom is the coin denom to query balances for. */ - denom?: string; + 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 | undefined; + amount?: Coin | undefined; } /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfResponseSDKType { /** amount is the supply of the coin. */ - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** QueryParamsRequest defines the request type for querying x/bank parameters. */ @@ -213,12 +213,12 @@ export interface QueryParamsRequestSDKType {} /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponse { - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ @@ -275,7 +275,7 @@ export interface QueryDenomMetadataRequestSDKType { export interface QueryDenomMetadataResponse { /** metadata describes and provides all the client information for the requested token. */ - metadata: Metadata | undefined; + metadata?: Metadata | undefined; } /** * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC @@ -284,7 +284,7 @@ export interface QueryDenomMetadataResponse { export interface QueryDenomMetadataResponseSDKType { /** metadata describes and provides all the client information for the requested token. */ - metadata: MetadataSDKType | undefined; + metadata?: MetadataSDKType | undefined; } /** * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, @@ -323,7 +323,7 @@ export interface DenomOwner { address: string; /** balance is the balance of the denominated coin for an account. */ - balance: Coin | undefined; + balance?: Coin | undefined; } /** * DenomOwner defines structure representing an account that owns or holds a @@ -336,7 +336,7 @@ export interface DenomOwnerSDKType { address: string; /** balance is the balance of the denominated coin for an account. */ - balance: CoinSDKType | undefined; + balance?: CoinSDKType | undefined; } /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ @@ -425,7 +425,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -530,7 +530,7 @@ export const QueryAllBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllBalancesResponse(); @@ -640,7 +640,7 @@ export const QuerySpendableBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySpendableBalancesResponse(); @@ -740,7 +740,7 @@ export const QueryTotalSupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTotalSupplyResponse(); @@ -835,7 +835,7 @@ export const QuerySupplyOfResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyOfResponse(); @@ -914,7 +914,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -1009,7 +1009,7 @@ export const QueryDenomsMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomsMetadataResponse(); @@ -1104,7 +1104,7 @@ export const QueryDenomMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomMetadataResponse(); @@ -1264,7 +1264,7 @@ export const QueryDenomOwnersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomOwnersResponse(); diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts index 26a23d4b4..4112bb9d2 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,14 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - send(request: MsgSend): Promise; - /*Send defines a method for sending coins from one account to another account.*/ - - multiSend(request: MsgMultiSend): Promise; - /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ + /** 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -20,13 +19,13 @@ export class MsgClientImpl implements Msg { this.multiSend = this.multiSend.bind(this); } - send(request: MsgSend): Promise { + send(request: MsgSend): Promise { const data = MsgSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); } - multiSend(request: MsgMultiSend): Promise { + multiSend(request: MsgMultiSend): Promise { const data = MsgMultiSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts index d9cd5047e..8763f6b60 100644 --- a/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts @@ -114,7 +114,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -203,7 +203,7 @@ export const MsgMultiSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMultiSendResponse(); diff --git a/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts index 747fcffca..d95c9ff4e 100644 --- a/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts +++ b/examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Event, EventSDKType } from "../../../../tendermint/abci/types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * TxResponse defines a structure containing relevant tx data and metadata. The * tags are stringified and the log is JSON decoded. @@ -42,7 +42,7 @@ export interface TxResponse { gasUsed: Long; /** The request transaction bytes. */ - tx: Any | undefined; + tx?: Any | undefined; /** * 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, @@ -101,7 +101,7 @@ export interface TxResponseSDKType { gas_used: Long; /** The request transaction bytes. */ - tx: AnySDKType | undefined; + tx?: AnySDKType | undefined; /** * 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, @@ -262,8 +262,8 @@ export interface ResultSDKType { */ export interface SimulationResponse { - gasInfo: GasInfo | undefined; - result: Result | undefined; + gasInfo?: GasInfo | undefined; + result?: Result | undefined; } /** * SimulationResponse defines the response generated when a transaction is @@ -271,8 +271,8 @@ export interface SimulationResponse { */ export interface SimulationResponseSDKType { - gas_info: GasInfoSDKType | undefined; - result: ResultSDKType | undefined; + gas_info?: GasInfoSDKType | undefined; + result?: ResultSDKType | undefined; } /** * MsgData defines the data returned in a Result object during message diff --git a/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts index 51c783184..b99bc3762 100644 --- a/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts +++ b/examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -1,13 +1,13 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } + * message SomeRequest { + * Foo some_parameter = 1; + * PageRequest pagination = 2; + * } */ export interface PageRequest { @@ -16,20 +16,20 @@ export interface PageRequest { * querying the next page most efficiently. Only one of offset or key * should be set. */ - key?: Uint8Array; + 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; + 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; + 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. @@ -37,23 +37,23 @@ export interface PageRequest { * is set. */ - countTotal?: boolean; + countTotal: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ - reverse?: boolean; + reverse: boolean; } /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } + * message SomeRequest { + * Foo some_parameter = 1; + * PageRequest pagination = 2; + * } */ export interface PageRequestSDKType { @@ -62,20 +62,20 @@ export interface PageRequestSDKType { * querying the next page most efficiently. Only one of offset or key * should be set. */ - key?: Uint8Array; + 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; + 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; + 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. @@ -83,23 +83,23 @@ export interface PageRequestSDKType { * is set. */ - count_total?: boolean; + 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; + 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; - * } + * message SomeResponse { + * repeated Bar results = 1; + * PageResponse page = 2; + * } */ export interface PageResponse { @@ -108,7 +108,7 @@ export interface PageResponse { * query the next page most efficiently. It will be empty if * there are no more results. */ - nextKey?: Uint8Array; + nextKey: Uint8Array; /** * total is total number of results available if PageRequest.count_total * was set, its value is undefined otherwise @@ -120,10 +120,10 @@ export interface PageResponse { * 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; - * } + * message SomeResponse { + * repeated Bar results = 1; + * PageResponse page = 2; + * } */ export interface PageResponseSDKType { @@ -132,7 +132,7 @@ export interface PageResponseSDKType { * query the next page most efficiently. It will be empty if * there are no more results. */ - next_key?: Uint8Array; + next_key: Uint8Array; /** * total is total number of results available if PageRequest.count_total * was set, its value is undefined otherwise diff --git a/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts index 61e3d78bd..7846ab5e2 100644 --- a/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ b/examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -101,7 +101,7 @@ export const ListAllInterfacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListAllInterfacesResponse(); @@ -191,7 +191,7 @@ export const ListImplementationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListImplementationsResponse(); diff --git a/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts index eb34c7e64..693dc5a95 100644 --- a/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -6,22 +6,22 @@ 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 | undefined; + authn?: AuthnDescriptor | undefined; /** chain provides the chain descriptor */ - chain: ChainDescriptor | undefined; + chain?: ChainDescriptor | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor | undefined; + codec?: CodecDescriptor | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor | undefined; + configuration?: ConfigurationDescriptor | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor | undefined; + queryServices?: QueryServicesDescriptor | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptor | undefined; + tx?: TxDescriptor | undefined; } /** AppDescriptor describes a cosmos-sdk based application */ @@ -30,22 +30,22 @@ export interface AppDescriptorSDKType { * AuthnDescriptor provides information on how to authenticate transactions on the application * NOTE: experimental and subject to change in future releases. */ - authn: AuthnDescriptorSDKType | undefined; + authn?: AuthnDescriptorSDKType | undefined; /** chain provides the chain descriptor */ - chain: ChainDescriptorSDKType | undefined; + chain?: ChainDescriptorSDKType | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptorSDKType | undefined; + codec?: CodecDescriptorSDKType | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptorSDKType | undefined; + configuration?: ConfigurationDescriptorSDKType | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - query_services: QueryServicesDescriptorSDKType | undefined; + query_services?: QueryServicesDescriptorSDKType | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptorSDKType | undefined; + tx?: TxDescriptorSDKType | undefined; } /** TxDescriptor describes the accepted transaction type */ @@ -279,13 +279,13 @@ export interface GetAuthnDescriptorRequestSDKType {} export interface GetAuthnDescriptorResponse { /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptor | undefined; + authn?: AuthnDescriptor | undefined; } /** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ export interface GetAuthnDescriptorResponseSDKType { /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptorSDKType | undefined; + authn?: AuthnDescriptorSDKType | undefined; } /** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ @@ -297,13 +297,13 @@ export interface GetChainDescriptorRequestSDKType {} export interface GetChainDescriptorResponse { /** chain describes application chain information */ - chain: ChainDescriptor | undefined; + chain?: ChainDescriptor | undefined; } /** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ export interface GetChainDescriptorResponseSDKType { /** chain describes application chain information */ - chain: ChainDescriptorSDKType | undefined; + chain?: ChainDescriptorSDKType | undefined; } /** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ @@ -315,13 +315,13 @@ export interface GetCodecDescriptorRequestSDKType {} export interface GetCodecDescriptorResponse { /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptor | undefined; + codec?: CodecDescriptor | undefined; } /** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ export interface GetCodecDescriptorResponseSDKType { /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptorSDKType | undefined; + codec?: CodecDescriptorSDKType | undefined; } /** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ @@ -333,13 +333,13 @@ export interface GetConfigurationDescriptorRequestSDKType {} export interface GetConfigurationDescriptorResponse { /** config describes the application's sdk.Config */ - config: ConfigurationDescriptor | undefined; + config?: ConfigurationDescriptor | undefined; } /** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ export interface GetConfigurationDescriptorResponseSDKType { /** config describes the application's sdk.Config */ - config: ConfigurationDescriptorSDKType | undefined; + config?: ConfigurationDescriptorSDKType | undefined; } /** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ @@ -351,13 +351,13 @@ export interface GetQueryServicesDescriptorRequestSDKType {} export interface GetQueryServicesDescriptorResponse { /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptor | undefined; + queries?: QueryServicesDescriptor | undefined; } /** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ export interface GetQueryServicesDescriptorResponseSDKType { /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptorSDKType | undefined; + queries?: QueryServicesDescriptorSDKType | undefined; } /** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ @@ -372,7 +372,7 @@ export interface GetTxDescriptorResponse { * tx provides information on msgs that can be forwarded to the application * alongside the accepted transaction protobuf type */ - tx: TxDescriptor | undefined; + tx?: TxDescriptor | undefined; } /** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ @@ -381,7 +381,7 @@ export interface GetTxDescriptorResponseSDKType { * tx provides information on msgs that can be forwarded to the application * alongside the accepted transaction protobuf type */ - tx: TxDescriptorSDKType | undefined; + tx?: TxDescriptorSDKType | undefined; } /** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ @@ -1116,7 +1116,7 @@ export const GetAuthnDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetAuthnDescriptorResponse(); @@ -1195,7 +1195,7 @@ export const GetChainDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetChainDescriptorResponse(); @@ -1274,7 +1274,7 @@ export const GetCodecDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetCodecDescriptorResponse(); @@ -1353,7 +1353,7 @@ export const GetConfigurationDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetConfigurationDescriptorResponse(); @@ -1432,7 +1432,7 @@ export const GetQueryServicesDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetQueryServicesDescriptorResponse(); @@ -1511,7 +1511,7 @@ export const GetTxDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxDescriptorResponse(); diff --git a/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts index 7a889d0f6..3c4d0f0e4 100644 --- a/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** Snapshot contains Tendermint state sync snapshot info. */ export interface Snapshot { @@ -7,7 +7,7 @@ export interface Snapshot { format: number; chunks: number; hash: Uint8Array; - metadata: Metadata | undefined; + metadata?: Metadata | undefined; } /** Snapshot contains Tendermint state sync snapshot info. */ @@ -16,7 +16,7 @@ export interface SnapshotSDKType { format: number; chunks: number; hash: Uint8Array; - metadata: MetadataSDKType | undefined; + metadata?: MetadataSDKType | undefined; } /** Metadata contains SDK-specific snapshot metadata. */ diff --git a/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts index c1e7928b5..5e7599aa6 100644 --- a/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ b/examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * CommitInfo defines commit information used by the multi-store when committing * a version/height. @@ -25,7 +25,7 @@ export interface CommitInfoSDKType { export interface StoreInfo { name: string; - commitId: CommitID | undefined; + commitId?: CommitID | undefined; } /** * StoreInfo defines store-specific commit information. It contains a reference @@ -34,7 +34,7 @@ export interface StoreInfo { export interface StoreInfoSDKType { name: string; - commit_id: CommitIDSDKType | undefined; + commit_id?: CommitIDSDKType | undefined; } /** * CommitID defines the committment information when a specific store is diff --git a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts index ae69c027c..831fcf2c7 100644 --- a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts index bcce00d01..3426fab27 100644 --- a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -1,28 +1,27 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; -/** Service defines the RPC service */ +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; +/** Service defines the gRPC querier service for tendermint queries. */ export interface Service { - getNodeInfo(request?: GetNodeInfoRequest): Promise; - /*GetNodeInfo queries the current node info.*/ + /** GetNodeInfo queries the current node info. */ + getNodeInfo(request?: GetNodeInfoRequest): Promise; + /** GetSyncing queries node syncing. */ - getSyncing(request?: GetSyncingRequest): Promise; - /*GetSyncing queries node syncing.*/ + getSyncing(request?: GetSyncingRequest): Promise; + /** GetLatestBlock returns the latest block. */ - getLatestBlock(request?: GetLatestBlockRequest): Promise; - /*GetLatestBlock returns the latest block.*/ + getLatestBlock(request?: GetLatestBlockRequest): Promise; + /** GetBlockByHeight queries block for given height. */ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - /*GetBlockByHeight queries block for given height.*/ + getBlockByHeight(request: GetBlockByHeightRequest): Promise; + /** GetLatestValidatorSet queries latest validator-set. */ - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - /*GetLatestValidatorSet queries latest validator-set.*/ - - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - /*GetValidatorSetByHeight queries validator-set at a given height.*/ + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; + /** GetValidatorSetByHeight queries validator-set at a given height. */ + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; } export class QueryClientImpl implements Service { private readonly rpc: Rpc; @@ -37,25 +36,25 @@ export class QueryClientImpl implements Service { this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); } - getNodeInfo(request: GetNodeInfoRequest = {}): Promise { + 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 _m0.Reader(data))); } - getSyncing(request: GetSyncingRequest = {}): Promise { + 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 _m0.Reader(data))); } - getLatestBlock(request: GetLatestBlockRequest = {}): Promise { + 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 _m0.Reader(data))); } - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + 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 _m0.Reader(data))); @@ -63,13 +62,13 @@ export class QueryClientImpl implements Service { getLatestValidatorSet(request: GetLatestValidatorSetRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); } - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + 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 _m0.Reader(data))); @@ -80,27 +79,27 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - getNodeInfo(request?: GetNodeInfoRequest): Promise { + getNodeInfo(request?: GetNodeInfoRequest): Promise { return queryService.getNodeInfo(request); }, - getSyncing(request?: GetSyncingRequest): Promise { + getSyncing(request?: GetSyncingRequest): Promise { return queryService.getSyncing(request); }, - getLatestBlock(request?: GetLatestBlockRequest): Promise { + getLatestBlock(request?: GetLatestBlockRequest): Promise { return queryService.getLatestBlock(request); }, - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + getBlockByHeight(request: GetBlockByHeightRequest): Promise { return queryService.getBlockByHeight(request); }, - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise { + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise { return queryService.getLatestValidatorSet(request); }, - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { return queryService.getValidatorSetByHeight(request); } diff --git a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts index cc211d1d6..e2fdee33e 100644 --- a/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -4,7 +4,7 @@ import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; import { Block, BlockSDKType } from "../../../../tendermint/types/block"; import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ export interface GetValidatorSetByHeightRequest { @@ -73,7 +73,7 @@ export interface GetLatestValidatorSetResponseSDKType { export interface Validator { address: string; - pubKey: Any | undefined; + pubKey?: Any | undefined; votingPower: Long; proposerPriority: Long; } @@ -81,7 +81,7 @@ export interface Validator { export interface ValidatorSDKType { address: string; - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; voting_power: Long; proposer_priority: Long; } @@ -98,14 +98,14 @@ export interface GetBlockByHeightRequestSDKType { /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ export interface GetBlockByHeightResponse { - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; } /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ export interface GetBlockByHeightResponseSDKType { - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; } /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ @@ -116,14 +116,14 @@ export interface GetLatestBlockRequestSDKType {} /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ export interface GetLatestBlockResponse { - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; } /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ export interface GetLatestBlockResponseSDKType { - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; } /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ @@ -150,14 +150,14 @@ export interface GetNodeInfoRequestSDKType {} /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ export interface GetNodeInfoResponse { - nodeInfo: NodeInfo | undefined; - applicationVersion: VersionInfo | undefined; + nodeInfo?: NodeInfo | undefined; + applicationVersion?: VersionInfo | undefined; } /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ export interface GetNodeInfoResponseSDKType { - node_info: NodeInfoSDKType | undefined; - application_version: VersionInfoSDKType | undefined; + node_info?: NodeInfoSDKType | undefined; + application_version?: VersionInfoSDKType | undefined; } /** VersionInfo is the type for the GetNodeInfoResponse message. */ @@ -292,7 +292,7 @@ export const GetValidatorSetByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetValidatorSetByHeightResponse(); @@ -402,7 +402,7 @@ export const GetLatestValidatorSetResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestValidatorSetResponse(); @@ -582,7 +582,7 @@ export const GetBlockByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockByHeightResponse(); @@ -671,7 +671,7 @@ export const GetLatestBlockResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestBlockResponse(); @@ -755,7 +755,7 @@ export const GetSyncingResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetSyncingResponse(); @@ -839,7 +839,7 @@ export const GetNodeInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetNodeInfoResponse(); diff --git a/examples/contracts/codegen/cosmos/bundle.ts b/examples/contracts/codegen/cosmos/bundle.ts index f3ebb0d52..d8008841a 100644 --- a/examples/contracts/codegen/cosmos/bundle.ts +++ b/examples/contracts/codegen/cosmos/bundle.ts @@ -90,100 +90,100 @@ import * as _90 from "./upgrade/v1beta1/tx"; import * as _91 from "./upgrade/v1beta1/upgrade"; import * as _92 from "./vesting/v1beta1/tx"; import * as _93 from "./vesting/v1beta1/vesting"; -import * as _146 from "./authz/v1beta1/tx.amino"; -import * as _147 from "./bank/v1beta1/tx.amino"; -import * as _148 from "./crisis/v1beta1/tx.amino"; -import * as _149 from "./distribution/v1beta1/tx.amino"; -import * as _150 from "./evidence/v1beta1/tx.amino"; -import * as _151 from "./feegrant/v1beta1/tx.amino"; -import * as _152 from "./gov/v1/tx.amino"; -import * as _153 from "./gov/v1beta1/tx.amino"; -import * as _154 from "./group/v1/tx.amino"; -import * as _155 from "./nft/v1beta1/tx.amino"; -import * as _156 from "./slashing/v1beta1/tx.amino"; -import * as _157 from "./staking/v1beta1/tx.amino"; -import * as _158 from "./upgrade/v1beta1/tx.amino"; -import * as _159 from "./vesting/v1beta1/tx.amino"; -import * as _160 from "./authz/v1beta1/tx.registry"; -import * as _161 from "./bank/v1beta1/tx.registry"; -import * as _162 from "./crisis/v1beta1/tx.registry"; -import * as _163 from "./distribution/v1beta1/tx.registry"; -import * as _164 from "./evidence/v1beta1/tx.registry"; -import * as _165 from "./feegrant/v1beta1/tx.registry"; -import * as _166 from "./gov/v1/tx.registry"; -import * as _167 from "./gov/v1beta1/tx.registry"; -import * as _168 from "./group/v1/tx.registry"; -import * as _169 from "./nft/v1beta1/tx.registry"; -import * as _170 from "./slashing/v1beta1/tx.registry"; -import * as _171 from "./staking/v1beta1/tx.registry"; -import * as _172 from "./upgrade/v1beta1/tx.registry"; -import * as _173 from "./vesting/v1beta1/tx.registry"; -import * as _174 from "./auth/v1beta1/query.lcd"; -import * as _175 from "./authz/v1beta1/query.lcd"; -import * as _176 from "./bank/v1beta1/query.lcd"; -import * as _177 from "./base/tendermint/v1beta1/query.lcd"; -import * as _178 from "./distribution/v1beta1/query.lcd"; -import * as _179 from "./evidence/v1beta1/query.lcd"; -import * as _180 from "./feegrant/v1beta1/query.lcd"; -import * as _181 from "./gov/v1/query.lcd"; -import * as _182 from "./gov/v1beta1/query.lcd"; -import * as _183 from "./group/v1/query.lcd"; -import * as _184 from "./mint/v1beta1/query.lcd"; -import * as _185 from "./nft/v1beta1/query.lcd"; -import * as _186 from "./params/v1beta1/query.lcd"; -import * as _187 from "./slashing/v1beta1/query.lcd"; -import * as _188 from "./staking/v1beta1/query.lcd"; -import * as _189 from "./tx/v1beta1/service.lcd"; -import * as _190 from "./upgrade/v1beta1/query.lcd"; -import * as _191 from "./app/v1alpha1/query.rpc.query"; -import * as _192 from "./auth/v1beta1/query.rpc.query"; -import * as _193 from "./authz/v1beta1/query.rpc.query"; -import * as _194 from "./bank/v1beta1/query.rpc.query"; -import * as _195 from "./base/tendermint/v1beta1/query.rpc.svc"; -import * as _196 from "./distribution/v1beta1/query.rpc.query"; -import * as _197 from "./evidence/v1beta1/query.rpc.query"; -import * as _198 from "./feegrant/v1beta1/query.rpc.query"; -import * as _199 from "./gov/v1/query.rpc.query"; -import * as _200 from "./gov/v1beta1/query.rpc.query"; -import * as _201 from "./group/v1/query.rpc.query"; -import * as _202 from "./mint/v1beta1/query.rpc.query"; -import * as _203 from "./nft/v1beta1/query.rpc.query"; -import * as _204 from "./params/v1beta1/query.rpc.query"; -import * as _205 from "./slashing/v1beta1/query.rpc.query"; -import * as _206 from "./staking/v1beta1/query.rpc.query"; -import * as _207 from "./tx/v1beta1/service.rpc.svc"; -import * as _208 from "./upgrade/v1beta1/query.rpc.query"; -import * as _209 from "./authz/v1beta1/tx.rpc.msg"; -import * as _210 from "./bank/v1beta1/tx.rpc.msg"; -import * as _211 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _212 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _213 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _214 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _215 from "./gov/v1/tx.rpc.msg"; -import * as _216 from "./gov/v1beta1/tx.rpc.msg"; -import * as _217 from "./group/v1/tx.rpc.msg"; -import * as _218 from "./nft/v1beta1/tx.rpc.msg"; -import * as _219 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _220 from "./staking/v1beta1/tx.rpc.msg"; -import * as _221 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _222 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _249 from "./lcd"; -import * as _250 from "./rpc.query"; -import * as _251 from "./rpc.tx"; +import * as _143 from "./authz/v1beta1/tx.amino"; +import * as _144 from "./bank/v1beta1/tx.amino"; +import * as _145 from "./crisis/v1beta1/tx.amino"; +import * as _146 from "./distribution/v1beta1/tx.amino"; +import * as _147 from "./evidence/v1beta1/tx.amino"; +import * as _148 from "./feegrant/v1beta1/tx.amino"; +import * as _149 from "./gov/v1/tx.amino"; +import * as _150 from "./gov/v1beta1/tx.amino"; +import * as _151 from "./group/v1/tx.amino"; +import * as _152 from "./nft/v1beta1/tx.amino"; +import * as _153 from "./slashing/v1beta1/tx.amino"; +import * as _154 from "./staking/v1beta1/tx.amino"; +import * as _155 from "./upgrade/v1beta1/tx.amino"; +import * as _156 from "./vesting/v1beta1/tx.amino"; +import * as _157 from "./authz/v1beta1/tx.registry"; +import * as _158 from "./bank/v1beta1/tx.registry"; +import * as _159 from "./crisis/v1beta1/tx.registry"; +import * as _160 from "./distribution/v1beta1/tx.registry"; +import * as _161 from "./evidence/v1beta1/tx.registry"; +import * as _162 from "./feegrant/v1beta1/tx.registry"; +import * as _163 from "./gov/v1/tx.registry"; +import * as _164 from "./gov/v1beta1/tx.registry"; +import * as _165 from "./group/v1/tx.registry"; +import * as _166 from "./nft/v1beta1/tx.registry"; +import * as _167 from "./slashing/v1beta1/tx.registry"; +import * as _168 from "./staking/v1beta1/tx.registry"; +import * as _169 from "./upgrade/v1beta1/tx.registry"; +import * as _170 from "./vesting/v1beta1/tx.registry"; +import * as _171 from "./auth/v1beta1/query.lcd"; +import * as _172 from "./authz/v1beta1/query.lcd"; +import * as _173 from "./bank/v1beta1/query.lcd"; +import * as _174 from "./base/tendermint/v1beta1/query.lcd"; +import * as _175 from "./distribution/v1beta1/query.lcd"; +import * as _176 from "./evidence/v1beta1/query.lcd"; +import * as _177 from "./feegrant/v1beta1/query.lcd"; +import * as _178 from "./gov/v1/query.lcd"; +import * as _179 from "./gov/v1beta1/query.lcd"; +import * as _180 from "./group/v1/query.lcd"; +import * as _181 from "./mint/v1beta1/query.lcd"; +import * as _182 from "./nft/v1beta1/query.lcd"; +import * as _183 from "./params/v1beta1/query.lcd"; +import * as _184 from "./slashing/v1beta1/query.lcd"; +import * as _185 from "./staking/v1beta1/query.lcd"; +import * as _186 from "./tx/v1beta1/service.lcd"; +import * as _187 from "./upgrade/v1beta1/query.lcd"; +import * as _188 from "./app/v1alpha1/query.rpc.query"; +import * as _189 from "./auth/v1beta1/query.rpc.query"; +import * as _190 from "./authz/v1beta1/query.rpc.query"; +import * as _191 from "./bank/v1beta1/query.rpc.query"; +import * as _192 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _193 from "./distribution/v1beta1/query.rpc.query"; +import * as _194 from "./evidence/v1beta1/query.rpc.query"; +import * as _195 from "./feegrant/v1beta1/query.rpc.query"; +import * as _196 from "./gov/v1/query.rpc.query"; +import * as _197 from "./gov/v1beta1/query.rpc.query"; +import * as _198 from "./group/v1/query.rpc.query"; +import * as _199 from "./mint/v1beta1/query.rpc.query"; +import * as _200 from "./nft/v1beta1/query.rpc.query"; +import * as _201 from "./params/v1beta1/query.rpc.query"; +import * as _202 from "./slashing/v1beta1/query.rpc.query"; +import * as _203 from "./staking/v1beta1/query.rpc.query"; +import * as _204 from "./tx/v1beta1/service.rpc.svc"; +import * as _205 from "./upgrade/v1beta1/query.rpc.query"; +import * as _206 from "./authz/v1beta1/tx.rpc.msg"; +import * as _207 from "./bank/v1beta1/tx.rpc.msg"; +import * as _208 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _209 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _210 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _211 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _212 from "./gov/v1/tx.rpc.msg"; +import * as _213 from "./gov/v1beta1/tx.rpc.msg"; +import * as _214 from "./group/v1/tx.rpc.msg"; +import * as _215 from "./nft/v1beta1/tx.rpc.msg"; +import * as _216 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _217 from "./staking/v1beta1/tx.rpc.msg"; +import * as _218 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _219 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _246 from "./lcd"; +import * as _247 from "./rpc.query"; +import * as _248 from "./rpc.tx"; export namespace cosmos { export namespace app { export const v1alpha1 = { ..._2, ..._3, ..._4, - ..._191 + ..._188 }; } export namespace auth { export const v1beta1 = { ..._5, ..._6, ..._7, - ..._174, - ..._192 + ..._171, + ..._189 }; } export namespace authz { @@ -192,11 +192,11 @@ export namespace cosmos { ..._10, ..._11, ..._12, - ..._146, - ..._160, - ..._175, - ..._193, - ..._209 + ..._143, + ..._157, + ..._172, + ..._190, + ..._206 }; } export namespace bank { @@ -205,11 +205,11 @@ export namespace cosmos { ..._15, ..._16, ..._17, - ..._147, - ..._161, - ..._176, - ..._194, - ..._210 + ..._144, + ..._158, + ..._173, + ..._191, + ..._207 }; } export namespace base { @@ -242,8 +242,8 @@ export namespace cosmos { } export namespace tendermint { export const v1beta1 = { ..._26, - ..._177, - ..._195 + ..._174, + ..._192 }; } export const v1beta1 = { ..._27 @@ -257,9 +257,9 @@ export namespace cosmos { export namespace crisis { export const v1beta1 = { ..._30, ..._31, - ..._148, - ..._162, - ..._211 + ..._145, + ..._159, + ..._208 }; } export namespace crypto { @@ -285,11 +285,11 @@ export namespace cosmos { ..._39, ..._40, ..._41, - ..._149, - ..._163, - ..._178, - ..._196, - ..._212 + ..._146, + ..._160, + ..._175, + ..._193, + ..._209 }; } export namespace evidence { @@ -297,11 +297,11 @@ export namespace cosmos { ..._43, ..._44, ..._45, - ..._150, - ..._164, - ..._179, - ..._197, - ..._213 + ..._147, + ..._161, + ..._176, + ..._194, + ..._210 }; } export namespace feegrant { @@ -309,11 +309,11 @@ export namespace cosmos { ..._47, ..._48, ..._49, - ..._151, - ..._165, - ..._180, - ..._198, - ..._214 + ..._148, + ..._162, + ..._177, + ..._195, + ..._211 }; } export namespace genutil { @@ -325,21 +325,21 @@ export namespace cosmos { ..._52, ..._53, ..._54, - ..._152, - ..._166, - ..._181, - ..._199, - ..._215 + ..._149, + ..._163, + ..._178, + ..._196, + ..._212 }; export const v1beta1 = { ..._55, ..._56, ..._57, ..._58, - ..._153, - ..._167, - ..._182, - ..._200, - ..._216 + ..._150, + ..._164, + ..._179, + ..._197, + ..._213 }; } export namespace group { @@ -348,19 +348,19 @@ export namespace cosmos { ..._61, ..._62, ..._63, - ..._154, - ..._168, - ..._183, - ..._201, - ..._217 + ..._151, + ..._165, + ..._180, + ..._198, + ..._214 }; } export namespace mint { export const v1beta1 = { ..._64, ..._65, ..._66, - ..._184, - ..._202 + ..._181, + ..._199 }; } export namespace msg { @@ -373,11 +373,11 @@ export namespace cosmos { ..._70, ..._71, ..._72, - ..._155, - ..._169, - ..._185, - ..._203, - ..._218 + ..._152, + ..._166, + ..._182, + ..._200, + ..._215 }; } export namespace orm { @@ -389,8 +389,8 @@ export namespace cosmos { export namespace params { export const v1beta1 = { ..._75, ..._76, - ..._186, - ..._204 + ..._183, + ..._201 }; } export namespace slashing { @@ -398,11 +398,11 @@ export namespace cosmos { ..._78, ..._79, ..._80, - ..._156, - ..._170, - ..._187, - ..._205, - ..._219 + ..._153, + ..._167, + ..._184, + ..._202, + ..._216 }; } export namespace staking { @@ -411,11 +411,11 @@ export namespace cosmos { ..._83, ..._84, ..._85, - ..._157, - ..._171, - ..._188, - ..._206, - ..._220 + ..._154, + ..._168, + ..._185, + ..._203, + ..._217 }; } export namespace tx { @@ -425,31 +425,31 @@ export namespace cosmos { } export const v1beta1 = { ..._87, ..._88, - ..._189, - ..._207 + ..._186, + ..._204 }; } export namespace upgrade { export const v1beta1 = { ..._89, ..._90, ..._91, - ..._158, - ..._172, - ..._190, - ..._208, - ..._221 + ..._155, + ..._169, + ..._187, + ..._205, + ..._218 }; } export namespace vesting { export const v1beta1 = { ..._92, ..._93, - ..._159, - ..._173, - ..._222 + ..._156, + ..._170, + ..._219 }; } - export const ClientFactory = { ..._249, - ..._250, - ..._251 + export const ClientFactory = { ..._246, + ..._247, + ..._248 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts b/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts index 20eccc133..85249c0eb 100644 --- a/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts +++ b/examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * Capability defines an implementation of an object capability. The index * provided to a Capability must be globally unique. diff --git a/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts index bfb716e1f..cf4a1df47 100644 --- a/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts @@ -1,6 +1,6 @@ import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisOwners defines the capability owners with their corresponding index. */ export interface GenesisOwners { @@ -8,7 +8,7 @@ export interface GenesisOwners { index: Long; /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners | undefined; + indexOwners?: CapabilityOwners | undefined; } /** GenesisOwners defines the capability owners with their corresponding index. */ @@ -17,7 +17,7 @@ export interface GenesisOwnersSDKType { index: Long; /** index_owners are the owners at the given index. */ - index_owners: CapabilityOwnersSDKType | undefined; + index_owners?: CapabilityOwnersSDKType | undefined; } /** GenesisState defines the capability module's genesis state. */ diff --git a/examples/contracts/codegen/cosmos/client.ts b/examples/contracts/codegen/cosmos/client.ts index def39ffd3..59543f0dd 100644 --- a/examples/contracts/codegen/cosmos/client.ts +++ b/examples/contracts/codegen/cosmos/client.ts @@ -1,4 +1,4 @@ -import { OfflineSigner, Registry } from "@cosmjs/proto-signing"; +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry"; import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry"; @@ -28,25 +28,28 @@ 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 getSigningCosmosClientOptions = (): { registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...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]); - const aminoTypes = new AminoTypes({ ...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 + const registry = new Registry([...cosmosProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmosAminoConverters }); return { registry, diff --git a/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts index 17bbfbcfd..1b0864f9e 100644 --- a/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -7,7 +7,7 @@ export interface GenesisState { * constant_fee is the fee used to verify the invariant in the crisis * module. */ - constantFee: Coin | undefined; + constantFee?: Coin | undefined; } /** GenesisState defines the crisis module's genesis state. */ @@ -16,7 +16,7 @@ export interface GenesisStateSDKType { * constant_fee is the fee used to verify the invariant in the crisis * module. */ - constant_fee: CoinSDKType | undefined; + constant_fee?: CoinSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts index 5eacd96de..cd2c03878 100644 --- a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse, MsgVerifyInvariantResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - verifyInvariant(request: MsgVerifyInvariant): Promise; - /*VerifyInvariant defines a method to verify a particular invariance.*/ - + /** VerifyInvariant defines a method to verify a particular invariance. */ + verifyInvariant(request: MsgVerifyInvariant): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.verifyInvariant = this.verifyInvariant.bind(this); } - verifyInvariant(request: MsgVerifyInvariant): Promise { + 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 _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts index fd4879b80..31153100f 100644 --- a/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts @@ -94,7 +94,7 @@ export const MsgVerifyInvariantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVerifyInvariantResponse(); diff --git a/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts index ee28ed6c2..c276eee82 100644 --- a/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts +++ b/examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts @@ -8,7 +8,7 @@ export interface Record { name: string; /** pub_key represents a public key in any format */ - pubKey: Any | undefined; + pubKey?: Any | undefined; /** local stores the public information about a locally stored key */ local?: Record_Local | undefined; @@ -29,7 +29,7 @@ export interface RecordSDKType { name: string; /** pub_key represents a public key in any format */ - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; /** local stores the public information about a locally stored key */ local?: Record_LocalSDKType | undefined; @@ -49,7 +49,7 @@ export interface RecordSDKType { */ export interface Record_Local { - privKey: Any | undefined; + privKey?: Any | undefined; privKeyType: string; } /** @@ -58,18 +58,18 @@ export interface Record_Local { */ export interface Record_LocalSDKType { - priv_key: AnySDKType | undefined; + priv_key?: AnySDKType | undefined; priv_key_type: string; } /** Ledger item */ export interface Record_Ledger { - path: BIP44Params | undefined; + path?: BIP44Params | undefined; } /** Ledger item */ export interface Record_LedgerSDKType { - path: BIP44ParamsSDKType | undefined; + path?: BIP44ParamsSDKType | undefined; } /** Multi item */ diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts index 591a636ee..a89f32455 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -1,6 +1,6 @@ import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Params defines the set of params for the distribution module. */ export interface Params { @@ -25,11 +25,11 @@ export interface ParamsSDKType { * 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 + * 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 { @@ -44,11 +44,11 @@ export interface ValidatorHistoricalRewards { * 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 + * 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 { diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts index 16953bb2d..9fef91a17 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -1,7 +1,7 @@ import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -56,7 +56,7 @@ export interface ValidatorAccumulatedCommissionRecord { validatorAddress: string; /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommission | undefined; + accumulated?: ValidatorAccumulatedCommission | undefined; } /** * ValidatorAccumulatedCommissionRecord is used for import / export via genesis @@ -68,7 +68,7 @@ export interface ValidatorAccumulatedCommissionRecordSDKType { validator_address: string; /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommissionSDKType | undefined; + accumulated?: ValidatorAccumulatedCommissionSDKType | undefined; } /** * ValidatorHistoricalRewardsRecord is used for import / export via genesis @@ -83,7 +83,7 @@ export interface ValidatorHistoricalRewardsRecord { period: Long; /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewards | undefined; + rewards?: ValidatorHistoricalRewards | undefined; } /** * ValidatorHistoricalRewardsRecord is used for import / export via genesis @@ -98,7 +98,7 @@ export interface ValidatorHistoricalRewardsRecordSDKType { period: Long; /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewardsSDKType | undefined; + rewards?: ValidatorHistoricalRewardsSDKType | undefined; } /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ @@ -107,7 +107,7 @@ export interface ValidatorCurrentRewardsRecord { validatorAddress: string; /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewards | undefined; + rewards?: ValidatorCurrentRewards | undefined; } /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ @@ -116,7 +116,7 @@ export interface ValidatorCurrentRewardsRecordSDKType { validator_address: string; /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewardsSDKType | undefined; + rewards?: ValidatorCurrentRewardsSDKType | undefined; } /** DelegatorStartingInfoRecord used for import / export via genesis json. */ @@ -128,7 +128,7 @@ export interface DelegatorStartingInfoRecord { validatorAddress: string; /** starting_info defines the starting info of a delegator. */ - startingInfo: DelegatorStartingInfo | undefined; + startingInfo?: DelegatorStartingInfo | undefined; } /** DelegatorStartingInfoRecord used for import / export via genesis json. */ @@ -140,7 +140,7 @@ export interface DelegatorStartingInfoRecordSDKType { validator_address: string; /** starting_info defines the starting info of a delegator. */ - starting_info: DelegatorStartingInfoSDKType | undefined; + starting_info?: DelegatorStartingInfoSDKType | undefined; } /** ValidatorSlashEventRecord is used for import / export via genesis json. */ @@ -155,7 +155,7 @@ export interface ValidatorSlashEventRecord { period: Long; /** validator_slash_event describes the slash event. */ - validatorSlashEvent: ValidatorSlashEvent | undefined; + validatorSlashEvent?: ValidatorSlashEvent | undefined; } /** ValidatorSlashEventRecord is used for import / export via genesis json. */ @@ -170,16 +170,16 @@ export interface ValidatorSlashEventRecordSDKType { period: Long; /** validator_slash_event describes the slash event. */ - validator_slash_event: ValidatorSlashEventSDKType | undefined; + validator_slash_event?: ValidatorSlashEventSDKType | undefined; } /** GenesisState defines the distribution module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool | undefined; + feePool?: FeePool | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ delegatorWithdrawInfos: DelegatorWithdrawInfo[]; @@ -209,10 +209,10 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** fee_pool defines the fee pool at genesis. */ - fee_pool: FeePoolSDKType | undefined; + fee_pool?: FeePoolSDKType | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts index db900399a..5c1f644e5 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -72,7 +72,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* DelegationTotalRewards queries the total rewards accrued by a each - validator. */ + validator. */ async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts index 7ec7a4291..539882a1f 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -1,38 +1,39 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request?: QueryParamsRequest): Promise; - /*Params queries params of the distribution module.*/ + /** Params queries params of the distribution module. */ + params(request?: QueryParamsRequest): Promise; + /** ValidatorOutstandingRewards queries rewards of a validator address. */ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - /*ValidatorOutstandingRewards queries rewards of a validator address.*/ + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + /** ValidatorCommission queries accumulated commission for a validator. */ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - /*ValidatorCommission queries accumulated commission for a validator.*/ + validatorCommission(request: QueryValidatorCommissionRequest): Promise; + /** ValidatorSlashes queries slash events of a validator. */ - validatorSlashes(request: QueryValidatorSlashesRequest): 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; - /*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; - /*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; - /*DelegatorValidators queries the validators of a delegator.*/ + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ - - communityPool(request?: QueryCommunityPoolRequest): Promise; - /*CommunityPool queries the community pool coins.*/ + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + /** CommunityPool queries the community pool coins. */ + communityPool(request?: QueryCommunityPoolRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -50,55 +51,55 @@ export class QueryClientImpl implements Query { this.communityPool = this.communityPool.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); } - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { const data = QueryValidatorCommissionRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); } - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { const data = QueryValidatorSlashesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); } - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { const data = QueryDelegationRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); } - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); } - communityPool(request: QueryCommunityPoolRequest = {}): Promise { + communityPool(request: QueryCommunityPoolRequest = {}): Promise { const data = QueryCommunityPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); @@ -109,39 +110,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { return queryService.validatorOutstandingRewards(request); }, - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { return queryService.validatorCommission(request); }, - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { return queryService.validatorSlashes(request); }, - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { return queryService.delegationRewards(request); }, - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { return queryService.delegationTotalRewards(request); }, - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { return queryService.delegatorValidators(request); }, - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { return queryService.delegatorWithdrawAddress(request); }, - communityPool(request?: QueryCommunityPoolRequest): Promise { + communityPool(request?: QueryCommunityPoolRequest): Promise { return queryService.communityPool(request); } diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts index 0f30eba7f..03ff9aacf 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts @@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest {} @@ -13,13 +13,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QueryValidatorOutstandingRewardsRequest is the request type for the @@ -45,7 +45,7 @@ export interface QueryValidatorOutstandingRewardsRequestSDKType { */ export interface QueryValidatorOutstandingRewardsResponse { - rewards: ValidatorOutstandingRewards | undefined; + rewards?: ValidatorOutstandingRewards | undefined; } /** * QueryValidatorOutstandingRewardsResponse is the response type for the @@ -53,7 +53,7 @@ export interface QueryValidatorOutstandingRewardsResponse { */ export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards: ValidatorOutstandingRewardsSDKType | undefined; + rewards?: ValidatorOutstandingRewardsSDKType | undefined; } /** * QueryValidatorCommissionRequest is the request type for the @@ -80,7 +80,7 @@ export interface QueryValidatorCommissionRequestSDKType { export interface QueryValidatorCommissionResponse { /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommission | undefined; + commission?: ValidatorAccumulatedCommission | undefined; } /** * QueryValidatorCommissionResponse is the response type for the @@ -89,7 +89,7 @@ export interface QueryValidatorCommissionResponse { export interface QueryValidatorCommissionResponseSDKType { /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommissionSDKType | undefined; + commission?: ValidatorAccumulatedCommissionSDKType | undefined; } /** * QueryValidatorSlashesRequest is the request type for the @@ -101,10 +101,10 @@ export interface QueryValidatorSlashesRequest { validatorAddress: string; /** starting_height defines the optional starting height to query the slashes. */ - startingHeight?: Long; + startingHeight: Long; /** starting_height defines the optional ending height to query the slashes. */ - endingHeight?: Long; + endingHeight: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -119,10 +119,10 @@ export interface QueryValidatorSlashesRequestSDKType { validator_address: string; /** starting_height defines the optional starting height to query the slashes. */ - starting_height?: Long; + starting_height: Long; /** starting_height defines the optional ending height to query the slashes. */ - ending_height?: Long; + ending_height: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -387,7 +387,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -477,7 +477,7 @@ export const QueryValidatorOutstandingRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorOutstandingRewardsResponse(); @@ -567,7 +567,7 @@ export const QueryValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorCommissionResponse(); @@ -692,7 +692,7 @@ export const QueryValidatorSlashesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorSlashesResponse(); @@ -797,7 +797,7 @@ export const QueryDelegationRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationRewardsResponse(); @@ -892,7 +892,7 @@ export const QueryDelegationTotalRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationTotalRewardsResponse(); @@ -987,7 +987,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1077,7 +1077,7 @@ export const QueryDelegatorWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorWithdrawAddressResponse(); @@ -1156,7 +1156,7 @@ export const QueryCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCommunityPoolResponse(); diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts index a480b116f..64e7e1905 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -1,25 +1,32 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgSetWithdrawAddressResponseSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawDelegatorRewardResponseSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgWithdrawValidatorCommissionResponseSDKType, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgFundCommunityPoolResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; +/** Msg defines the distribution Msg service. */ export interface Msg { - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - /*SetWithdrawAddress defines a method to change the withdraw address - for a delegator (or validator self-delegation).*/ + /** + * 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; - /*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; - /*WithdrawValidatorCommission defines a method to withdraw the - full commission to the validator address.*/ - - fundCommunityPool(request: MsgFundCommunityPool): Promise; - /*FundCommunityPool defines a method to allow an account to directly - fund the community pool.*/ + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + /** + * FundCommunityPool defines a method to allow an account to directly + * fund the community pool. + */ + fundCommunityPool(request: MsgFundCommunityPool): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -32,25 +39,25 @@ export class MsgClientImpl implements Msg { this.fundCommunityPool = this.fundCommunityPool.bind(this); } - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { const data = MsgSetWithdrawAddress.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); } - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { const data = MsgWithdrawDelegatorReward.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); } - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { const data = MsgWithdrawValidatorCommission.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); } - fundCommunityPool(request: MsgFundCommunityPool): Promise { + fundCommunityPool(request: MsgFundCommunityPool): Promise { const data = MsgFundCommunityPool.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts index 259a05305..e4d3b018f 100644 --- a/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts @@ -167,7 +167,7 @@ export const MsgSetWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSetWithdrawAddressResponse(); @@ -262,7 +262,7 @@ export const MsgWithdrawDelegatorRewardResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawDelegatorRewardResponse(); @@ -352,7 +352,7 @@ export const MsgWithdrawValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawValidatorCommissionResponse(); @@ -446,7 +446,7 @@ export const MsgFundCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgFundCommunityPoolResponse(); diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts index e2ca4ccda..2aef61084 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -1,6 +1,6 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; /** * Equivocation implements the Evidence interface and defines evidence of double * signing misbehavior. @@ -8,7 +8,7 @@ import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; export interface Equivocation { height: Long; - time: Date | undefined; + time?: Date | undefined; power: Long; consensusAddress: string; } @@ -19,7 +19,7 @@ export interface Equivocation { export interface EquivocationSDKType { height: Long; - time: Date | undefined; + time?: Date | undefined; power: Long; consensus_address: string; } diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts index 9f6d533f4..ff67beab4 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts index 26d048326..f55807bd8 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -1,16 +1,15 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - evidence(request: QueryEvidenceRequest): Promise; - /*Evidence queries evidence based on evidence hash.*/ - - allEvidence(request?: QueryAllEvidenceRequest): Promise; - /*AllEvidence queries all evidence.*/ + /** 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; @@ -21,7 +20,7 @@ export class QueryClientImpl implements Query { this.allEvidence = this.allEvidence.bind(this); } - evidence(request: QueryEvidenceRequest): Promise { + 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 _m0.Reader(data))); @@ -29,7 +28,7 @@ export class QueryClientImpl implements Query { allEvidence(request: QueryAllEvidenceRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -40,11 +39,11 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - evidence(request: QueryEvidenceRequest): Promise { + evidence(request: QueryEvidenceRequest): Promise { return queryService.evidence(request); }, - allEvidence(request?: QueryAllEvidenceRequest): Promise { + allEvidence(request?: QueryAllEvidenceRequest): Promise { return queryService.allEvidence(request); } diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts index 992c90b87..11a303b08 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts @@ -17,13 +17,13 @@ export interface QueryEvidenceRequestSDKType { export interface QueryEvidenceResponse { /** evidence returns the requested evidence. */ - evidence: Any | undefined; + evidence?: Any | undefined; } /** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ export interface QueryEvidenceResponseSDKType { /** evidence returns the requested evidence. */ - evidence: AnySDKType | undefined; + evidence?: AnySDKType | undefined; } /** * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC @@ -128,7 +128,7 @@ export const QueryEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryEvidenceResponse(); @@ -223,7 +223,7 @@ export const QueryAllEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllEvidenceResponse(); diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts index 652cf7eae..afd22359e 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -1,13 +1,14 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse, MsgSubmitEvidenceResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; +/** Msg defines the evidence Msg service. */ export interface Msg { - submitEvidence(request: MsgSubmitEvidence): Promise; - /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - counterfactual signing.*/ - + /** + * 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; @@ -17,7 +18,7 @@ export class MsgClientImpl implements Msg { this.submitEvidence = this.submitEvidence.bind(this); } - submitEvidence(request: MsgSubmitEvidence): Promise { + 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 _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts index cdfcd997b..3f2c3de54 100644 --- a/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts @@ -7,7 +7,7 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgSubmitEvidence { submitter: string; - evidence: Any | undefined; + evidence?: Any | undefined; } /** * MsgSubmitEvidence represents a message that supports submitting arbitrary @@ -16,7 +16,7 @@ export interface MsgSubmitEvidence { export interface MsgSubmitEvidenceSDKType { submitter: string; - evidence: AnySDKType | undefined; + evidence?: AnySDKType | undefined; } /** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ @@ -101,7 +101,7 @@ export const MsgSubmitEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitEvidenceResponse(); diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts index b383ebbb8..2028d9334 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -3,7 +3,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * BasicAllowance implements Allowance with a one-time grant of tokens * that optionally expires. The grantee can use up to SpendLimit to cover fees. @@ -18,7 +18,7 @@ export interface BasicAllowance { spendLimit: Coin[]; /** expiration specifies an optional time when this allowance expires */ - expiration: Date | undefined; + expiration?: Date | undefined; } /** * BasicAllowance implements Allowance with a one-time grant of tokens @@ -34,7 +34,7 @@ export interface BasicAllowanceSDKType { spend_limit: CoinSDKType[]; /** expiration specifies an optional time when this allowance expires */ - expiration: Date | undefined; + expiration?: Date | undefined; } /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -43,13 +43,13 @@ export interface BasicAllowanceSDKType { export interface PeriodicAllowance { /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowance | undefined; + basic?: BasicAllowance | undefined; /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: Duration | undefined; + period?: Duration | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period @@ -65,7 +65,7 @@ export interface PeriodicAllowance { * last period ended */ - periodReset: Date | undefined; + periodReset?: Date | undefined; } /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -74,13 +74,13 @@ export interface PeriodicAllowance { export interface PeriodicAllowanceSDKType { /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowanceSDKType | undefined; + basic?: BasicAllowanceSDKType | undefined; /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: DurationSDKType | undefined; + period?: DurationSDKType | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period @@ -96,13 +96,13 @@ export interface PeriodicAllowanceSDKType { * last period ended */ - period_reset: Date | undefined; + period_reset?: Date | undefined; } /** AllowedMsgAllowance creates allowance only for specified message types. */ export interface AllowedMsgAllowance { /** allowance can be any of basic and periodic fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; /** allowed_messages are the messages for which the grantee has the access. */ allowedMessages: string[]; @@ -111,7 +111,7 @@ export interface AllowedMsgAllowance { export interface AllowedMsgAllowanceSDKType { /** allowance can be any of basic and periodic fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; /** allowed_messages are the messages for which the grantee has the access. */ allowed_messages: string[]; @@ -126,7 +126,7 @@ export interface Grant { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; } /** Grant is stored in the KVStore to record a grant with full context */ @@ -138,7 +138,7 @@ export interface GrantSDKType { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; } function createBaseBasicAllowance(): BasicAllowance { @@ -272,7 +272,7 @@ export const PeriodicAllowance = { 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; + 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; diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts index 657fc3a24..c486edb7b 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; export class LCDQueryClient { @@ -37,7 +37,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* AllowancesByGranter returns all the grants given by an address - Since v0.46 */ + Since v0.46 */ async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts index 31deff3b7..a23808dcb 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -1,20 +1,21 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - allowance(request: QueryAllowanceRequest): Promise; - /*Allowance returns fee granted to the grantee by the granter.*/ + /** 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; - /*Allowances returns all the grants for address.*/ - - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; - /*AllowancesByGranter returns all the grants given by an address - Since v0.46*/ + allowances(request: QueryAllowancesRequest): Promise; + /** + * AllowancesByGranter returns all the grants given by an address + * Since v0.46 + */ + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -26,19 +27,19 @@ export class QueryClientImpl implements Query { this.allowancesByGranter = this.allowancesByGranter.bind(this); } - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { const data = QueryAllowanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); } - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { const data = QueryAllowancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); } - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { const data = QueryAllowancesByGranterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); @@ -49,15 +50,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { return queryService.allowance(request); }, - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { return queryService.allowances(request); }, - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { return queryService.allowancesByGranter(request); } diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts index 6a60e38df..5d4f30446 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts @@ -23,13 +23,13 @@ export interface QueryAllowanceRequestSDKType { export interface QueryAllowanceResponse { /** allowance is a allowance granted for grantee by granter. */ - allowance: Grant | undefined; + allowance?: Grant | undefined; } /** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ export interface QueryAllowanceResponseSDKType { /** allowance is a allowance granted for grantee by granter. */ - allowance: GrantSDKType | undefined; + allowance?: GrantSDKType | undefined; } /** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ @@ -170,7 +170,7 @@ export const QueryAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowanceResponse(); @@ -275,7 +275,7 @@ export const QueryAllowancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesResponse(); @@ -385,7 +385,7 @@ export const QueryAllowancesByGranterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesByGranterResponse(); diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts index 9b1e29240..1bc315e34 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -1,17 +1,20 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgGrantAllowanceResponseSDKType, MsgRevokeAllowance, MsgRevokeAllowanceResponse, MsgRevokeAllowanceResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; +/** Msg defines the feegrant msg service. */ export interface Msg { - grantAllowance(request: MsgGrantAllowance): Promise; - /*GrantAllowance grants fee allowance to the grantee on the granter's - account with the provided expiration time.*/ - - revokeAllowance(request: MsgRevokeAllowance): Promise; - /*RevokeAllowance revokes any fee allowance of granter's account that - has been granted to the grantee.*/ + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -22,13 +25,13 @@ export class MsgClientImpl implements Msg { this.revokeAllowance = this.revokeAllowance.bind(this); } - grantAllowance(request: MsgGrantAllowance): Promise { + grantAllowance(request: MsgGrantAllowance): Promise { const data = MsgGrantAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); } - revokeAllowance(request: MsgRevokeAllowance): Promise { + revokeAllowance(request: MsgRevokeAllowance): Promise { const data = MsgRevokeAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts index 2b75320cb..8b88dee50 100644 --- a/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -13,7 +13,7 @@ export interface MsgGrantAllowance { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; } /** * MsgGrantAllowance adds permission for Grantee to spend up to Allowance @@ -28,7 +28,7 @@ export interface MsgGrantAllowanceSDKType { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; } /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ @@ -135,7 +135,7 @@ export const MsgGrantAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantAllowanceResponse(); @@ -224,7 +224,7 @@ export const MsgRevokeAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeAllowanceResponse(); diff --git a/examples/contracts/codegen/cosmos/gov/v1/genesis.ts b/examples/contracts/codegen/cosmos/gov/v1/genesis.ts index f4724ada9..000143893 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/genesis.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/genesis.ts @@ -1,6 +1,6 @@ import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { @@ -17,13 +17,13 @@ export interface GenesisState { proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** GenesisState defines the gov module's genesis state. */ @@ -41,13 +41,13 @@ export interface GenesisStateSDKType { proposals: ProposalSDKType[]; /** params defines all the paramaters of related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** params defines all the paramaters of related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** params defines all the paramaters of related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/cosmos/gov/v1/gov.ts b/examples/contracts/codegen/cosmos/gov/v1/gov.ts index f53f1dec6..5b213be53 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/gov.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/gov.ts @@ -3,7 +3,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { @@ -87,8 +87,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus enumerates the valid statuses of a proposal. */ @@ -217,8 +218,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_FAILED: return "PROPOSAL_STATUS_FAILED"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** WeightedVoteOption defines a unit of vote for vote split. */ @@ -265,12 +267,12 @@ export interface Proposal { * proposal's voting period has ended. */ - finalTallyResult: TallyResult | undefined; - submitTime: Date | undefined; - depositEndTime: Date | undefined; + finalTallyResult?: TallyResult | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; totalDeposit: Coin[]; - votingStartTime: Date | undefined; - votingEndTime: Date | undefined; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; @@ -287,12 +289,12 @@ export interface ProposalSDKType { * proposal's voting period has ended. */ - final_tally_result: TallyResultSDKType | undefined; - submit_time: Date | undefined; - deposit_end_time: Date | undefined; + final_tally_result?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; total_deposit: CoinSDKType[]; - voting_start_time: Date | undefined; - voting_end_time: Date | undefined; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; @@ -346,10 +348,10 @@ export interface DepositParams { minDeposit: Coin[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - maxDepositPeriod: Duration | undefined; + maxDepositPeriod?: Duration | undefined; } /** DepositParams defines the params for deposits on governance proposals. */ @@ -358,29 +360,29 @@ export interface DepositParamsSDKType { min_deposit: CoinSDKType[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - max_deposit_period: DurationSDKType | undefined; + max_deposit_period?: DurationSDKType | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParams { /** Length of the voting period. */ - votingPeriod: Duration | undefined; + votingPeriod?: Duration | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParamsSDKType { /** Length of the voting period. */ - voting_period: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; } /** 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. + * considered valid. */ quorum: string; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -388,7 +390,7 @@ export interface TallyParams { threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ vetoThreshold: string; @@ -398,7 +400,7 @@ export interface TallyParams { export interface TallyParamsSDKType { /** * Minimum percentage of total stake needed to vote for a result to be - * considered valid. + * considered valid. */ quorum: string; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -406,7 +408,7 @@ export interface TallyParamsSDKType { threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ veto_threshold: string; @@ -866,7 +868,7 @@ export const DepositParams = { fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; return message; } @@ -911,7 +913,7 @@ export const VotingParams = { fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; return message; } diff --git a/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts b/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts index f0d9cb596..c70703b85 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts index 804a02a0e..35784235a 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -1,34 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryProposalRequest): Promise; - /*Proposal queries proposal details based on ProposalID.*/ + /** Proposal queries proposal details based on ProposalID. */ + proposal(request: QueryProposalRequest): Promise; + /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): 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; - /*Vote queries voted information based on proposalID, voterAddr.*/ + vote(request: QueryVoteRequest): Promise; + /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /*Votes queries votes of a given proposal.*/ + votes(request: QueryVotesRequest): Promise; + /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): 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; - /*Deposit queries single deposit information based proposalID, depositAddr.*/ + deposit(request: QueryDepositRequest): Promise; + /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /*Deposits queries all deposits of a single proposal.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal vote.*/ + deposits(request: QueryDepositsRequest): Promise; + /** TallyResult queries the tally of a proposal vote. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,49 +44,49 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -98,35 +97,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { return queryService.proposals(request); }, - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { return queryService.vote(request); }, - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { return queryService.votes(request); }, - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { return queryService.deposit(request); }, - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { return queryService.deposits(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/contracts/codegen/cosmos/gov/v1/query.ts b/examples/contracts/codegen/cosmos/gov/v1/query.ts index 5fe1413a0..0aad3e944 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/query.ts @@ -1,7 +1,7 @@ import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { @@ -17,24 +17,24 @@ export interface QueryProposalRequestSDKType { /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponse { - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus?: ProposalStatus; + proposalStatus: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -43,13 +43,13 @@ export interface QueryProposalsRequest { export interface QueryProposalsRequestSDKType { /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatusSDKType; + proposal_status: ProposalStatusSDKType; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -98,13 +98,13 @@ export interface QueryVoteRequestSDKType { export interface QueryVoteResponse { /** vote defined the queried vote. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { /** vote defined the queried vote. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ @@ -164,25 +164,25 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** voting_params defines the parameters related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** deposit_params defines the parameters related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** tally_params defines the parameters related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ @@ -206,13 +206,13 @@ export interface QueryDepositRequestSDKType { export interface QueryDepositResponse { /** deposit defines the requested deposit. */ - deposit: Deposit | undefined; + deposit?: Deposit | undefined; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponseSDKType { /** deposit defines the requested deposit. */ - deposit: DepositSDKType | undefined; + deposit?: DepositSDKType | undefined; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ @@ -264,13 +264,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryProposalRequest(): QueryProposalRequest { @@ -333,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -458,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -563,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -668,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -773,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -883,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -988,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1083,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts index c0b487087..3b7ec125a 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export interface AminoMsgSubmitProposal extends AminoMsg { type: "cosmos-sdk/v1/MsgSubmitProposal"; diff --git a/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts index f3a37f7da..2bd32ee2b 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -1,25 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgExecLegacyContentResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; +/** Msg defines the gov Msg service. */ export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal defines a method to create new proposal given a content.*/ + /** 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; - /*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; - /*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; - /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ - - deposit(request: MsgDeposit): Promise; - /*Deposit defines a method to add deposit on a specific proposal.*/ + voteWeighted(request: MsgVoteWeighted): Promise; + /** Deposit defines a method to add deposit on a specific proposal. */ + deposit(request: MsgDeposit): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -33,31 +34,31 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - execLegacyContent(request: MsgExecLegacyContent): Promise { + execLegacyContent(request: MsgExecLegacyContent): Promise { const data = MsgExecLegacyContent.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/gov/v1/tx.ts b/examples/contracts/codegen/cosmos/gov/v1/tx.ts index c8981a690..f5fc6c120 100644 --- a/examples/contracts/codegen/cosmos/gov/v1/tx.ts +++ b/examples/contracts/codegen/cosmos/gov/v1/tx.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. @@ -46,7 +46,7 @@ export interface MsgSubmitProposalResponseSDKType { export interface MsgExecLegacyContent { /** content is the proposal's content. */ - content: Any | undefined; + content?: Any | undefined; /** authority must be the gov module address. */ authority: string; @@ -58,7 +58,7 @@ export interface MsgExecLegacyContent { export interface MsgExecLegacyContentSDKType { /** content is the proposal's content. */ - content: AnySDKType | undefined; + content?: AnySDKType | undefined; /** authority must be the gov module address. */ authority: string; @@ -224,7 +224,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -318,7 +318,7 @@ export const MsgExecLegacyContentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecLegacyContentResponse(); @@ -427,7 +427,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -536,7 +536,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -635,7 +635,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts index f4724ada9..000143893 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts @@ -1,6 +1,6 @@ import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { @@ -17,13 +17,13 @@ export interface GenesisState { proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** GenesisState defines the gov module's genesis state. */ @@ -41,13 +41,13 @@ export interface GenesisStateSDKType { proposals: ProposalSDKType[]; /** params defines all the paramaters of related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** params defines all the paramaters of related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** params defines all the paramaters of related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts index a06b1f842..897b28389 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts @@ -3,7 +3,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { @@ -87,8 +87,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus enumerates the valid statuses of a proposal. */ @@ -217,8 +218,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_FAILED: return "PROPOSAL_STATUS_FAILED"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -283,7 +285,7 @@ export interface DepositSDKType { export interface Proposal { proposalId: Long; - content: Any | undefined; + content?: Any | undefined; status: ProposalStatus; /** * final_tally_result is the final tally result of the proposal. When @@ -291,18 +293,18 @@ export interface Proposal { * proposal's voting period has ended. */ - finalTallyResult: TallyResult | undefined; - submitTime: Date | undefined; - depositEndTime: Date | undefined; + finalTallyResult?: TallyResult | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; totalDeposit: Coin[]; - votingStartTime: Date | undefined; - votingEndTime: Date | undefined; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; } /** Proposal defines the core field members of a governance proposal. */ export interface ProposalSDKType { proposal_id: Long; - content: AnySDKType | undefined; + content?: AnySDKType | undefined; status: ProposalStatusSDKType; /** * final_tally_result is the final tally result of the proposal. When @@ -310,12 +312,12 @@ export interface ProposalSDKType { * proposal's voting period has ended. */ - final_tally_result: TallyResultSDKType | undefined; - submit_time: Date | undefined; - deposit_end_time: Date | undefined; + final_tally_result?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; total_deposit: CoinSDKType[]; - voting_start_time: Date | undefined; - voting_end_time: Date | undefined; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; } /** TallyResult defines a standard tally for a governance proposal. */ @@ -382,10 +384,10 @@ export interface DepositParams { minDeposit: Coin[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - maxDepositPeriod: Duration | undefined; + maxDepositPeriod?: Duration | undefined; } /** DepositParams defines the params for deposits on governance proposals. */ @@ -394,29 +396,29 @@ export interface DepositParamsSDKType { min_deposit: CoinSDKType[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - max_deposit_period: DurationSDKType | undefined; + max_deposit_period?: DurationSDKType | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParams { /** Length of the voting period. */ - votingPeriod: Duration | undefined; + votingPeriod?: Duration | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParamsSDKType { /** Length of the voting period. */ - voting_period: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; } /** 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. + * considered valid. */ quorum: Uint8Array; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -424,7 +426,7 @@ export interface TallyParams { threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ vetoThreshold: Uint8Array; @@ -434,7 +436,7 @@ export interface TallyParams { export interface TallyParamsSDKType { /** * Minimum percentage of total stake needed to vote for a result to be - * considered valid. + * considered valid. */ quorum: Uint8Array; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -442,7 +444,7 @@ export interface TallyParamsSDKType { threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ veto_threshold: Uint8Array; @@ -947,7 +949,7 @@ export const DepositParams = { fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; return message; } @@ -992,7 +994,7 @@ export const VotingParams = { fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; return message; } diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts index 51e114881..642759d59 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts index 2b13b14d1..246d7da99 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -1,34 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryProposalRequest): Promise; - /*Proposal queries proposal details based on ProposalID.*/ + /** Proposal queries proposal details based on ProposalID. */ + proposal(request: QueryProposalRequest): Promise; + /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): 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; - /*Vote queries voted information based on proposalID, voterAddr.*/ + vote(request: QueryVoteRequest): Promise; + /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /*Votes queries votes of a given proposal.*/ + votes(request: QueryVotesRequest): Promise; + /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): 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; - /*Deposit queries single deposit information based proposalID, depositAddr.*/ + deposit(request: QueryDepositRequest): Promise; + /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /*Deposits queries all deposits of a single proposal.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal vote.*/ + deposits(request: QueryDepositsRequest): Promise; + /** TallyResult queries the tally of a proposal vote. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,49 +44,49 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -98,35 +97,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { return queryService.proposals(request); }, - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { return queryService.vote(request); }, - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { return queryService.votes(request); }, - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { return queryService.deposit(request); }, - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { return queryService.deposits(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts index 5fe1413a0..0aad3e944 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/query.ts @@ -1,7 +1,7 @@ import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { @@ -17,24 +17,24 @@ export interface QueryProposalRequestSDKType { /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponse { - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus?: ProposalStatus; + proposalStatus: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -43,13 +43,13 @@ export interface QueryProposalsRequest { export interface QueryProposalsRequestSDKType { /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatusSDKType; + proposal_status: ProposalStatusSDKType; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -98,13 +98,13 @@ export interface QueryVoteRequestSDKType { export interface QueryVoteResponse { /** vote defined the queried vote. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { /** vote defined the queried vote. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ @@ -164,25 +164,25 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** voting_params defines the parameters related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** deposit_params defines the parameters related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** tally_params defines the parameters related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ @@ -206,13 +206,13 @@ export interface QueryDepositRequestSDKType { export interface QueryDepositResponse { /** deposit defines the requested deposit. */ - deposit: Deposit | undefined; + deposit?: Deposit | undefined; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponseSDKType { /** deposit defines the requested deposit. */ - deposit: DepositSDKType | undefined; + deposit?: DepositSDKType | undefined; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ @@ -264,13 +264,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryProposalRequest(): QueryProposalRequest { @@ -333,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -458,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -563,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -668,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -773,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -883,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -988,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1083,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts index 1f9fb6aca..bdf284576 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export interface AminoMsgSubmitProposal extends AminoMsg { type: "cosmos-sdk/MsgSubmitProposal"; diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts index 2ea60b00c..4e4cc252a 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,24 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal defines a method to create new proposal given a content.*/ + /** 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; - /*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; - /*VoteWeighted defines a method to add a weighted vote on a specific proposal. - - Since: cosmos-sdk 0.43*/ - - deposit(request: MsgDeposit): Promise; - /*Deposit defines a method to add deposit on a specific proposal.*/ + voteWeighted(request: MsgVoteWeighted): Promise; + /** Deposit defines a method to add deposit on a specific proposal. */ + deposit(request: MsgDeposit): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -30,25 +31,25 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts index 30bc4bd1e..318741c62 100644 --- a/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts @@ -2,14 +2,14 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposal { - content: Any | undefined; + content?: Any | undefined; initialDeposit: Coin[]; proposer: string; } @@ -19,7 +19,7 @@ export interface MsgSubmitProposal { */ export interface MsgSubmitProposalSDKType { - content: AnySDKType | undefined; + content?: AnySDKType | undefined; initial_deposit: CoinSDKType[]; proposer: string; } @@ -190,7 +190,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -294,7 +294,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -393,7 +393,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -492,7 +492,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); diff --git a/examples/contracts/codegen/cosmos/group/v1/events.ts b/examples/contracts/codegen/cosmos/group/v1/events.ts index 27f446d21..e239706b4 100644 --- a/examples/contracts/codegen/cosmos/group/v1/events.ts +++ b/examples/contracts/codegen/cosmos/group/v1/events.ts @@ -1,6 +1,6 @@ import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroup { diff --git a/examples/contracts/codegen/cosmos/group/v1/genesis.ts b/examples/contracts/codegen/cosmos/group/v1/genesis.ts index d62e2bd5d..a56366957 100644 --- a/examples/contracts/codegen/cosmos/group/v1/genesis.ts +++ b/examples/contracts/codegen/cosmos/group/v1/genesis.ts @@ -1,6 +1,6 @@ import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the group module's genesis state. */ export interface GenesisState { diff --git a/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts b/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts index 74f335222..dae3205d7 100644 --- a/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts index 59bc35768..27d76df9e 100644 --- a/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts @@ -1,49 +1,48 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryGroupInfoRequest): Promise; - /*GroupInfo queries group info based on group id.*/ + /** 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; - /*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; - /*GroupMembers queries members of a group*/ + groupMembers(request: QueryGroupMembersRequest): Promise; + /** GroupsByAdmin queries groups by admin address. */ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - /*GroupsByAdmin queries groups by admin address.*/ + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + /** GroupPoliciesByGroup queries group policies by group id. */ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - /*GroupPoliciesByGroup queries group policies by group id.*/ + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + /** GroupsByAdmin queries group policies by admin address. */ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - /*GroupsByAdmin queries group policies by admin address.*/ + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + /** Proposal queries a proposal based on proposal id. */ - proposal(request: QueryProposalRequest): 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; - /*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; - /*VoteByProposalVoter queries a vote by proposal id and voter.*/ + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + /** VotesByProposal queries a vote by proposal. */ - votesByProposal(request: QueryVotesByProposalRequest): Promise; - /*VotesByProposal queries a vote by proposal.*/ + votesByProposal(request: QueryVotesByProposalRequest): Promise; + /** VotesByVoter queries a vote by voter. */ - votesByVoter(request: QueryVotesByVoterRequest): Promise; - /*VotesByVoter queries a vote by voter.*/ + votesByVoter(request: QueryVotesByVoterRequest): Promise; + /** GroupsByMember queries groups by member address. */ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - /*GroupsByMember queries groups by member address.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal votes.*/ + groupsByMember(request: QueryGroupsByMemberRequest): Promise; + /** TallyResult queries the tally of a proposal votes. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -65,79 +64,79 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { const data = QueryGroupInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); } - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { const data = QueryGroupPolicyInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); } - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { const data = QueryGroupMembersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); } - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { const data = QueryGroupsByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); } - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); } - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); } - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { const data = QueryVoteByProposalVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); } - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { const data = QueryVotesByProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); } - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { const data = QueryVotesByVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); } - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { const data = QueryGroupsByMemberRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -148,55 +147,55 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { return queryService.groupInfo(request); }, - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { return queryService.groupPolicyInfo(request); }, - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { return queryService.groupMembers(request); }, - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { return queryService.groupsByAdmin(request); }, - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { return queryService.groupPoliciesByGroup(request); }, - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { return queryService.groupPoliciesByAdmin(request); }, - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { return queryService.proposalsByGroupPolicy(request); }, - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { return queryService.voteByProposalVoter(request); }, - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { return queryService.votesByProposal(request); }, - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { return queryService.votesByVoter(request); }, - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { return queryService.groupsByMember(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/contracts/codegen/cosmos/group/v1/query.ts b/examples/contracts/codegen/cosmos/group/v1/query.ts index 19d8454df..88fce471f 100644 --- a/examples/contracts/codegen/cosmos/group/v1/query.ts +++ b/examples/contracts/codegen/cosmos/group/v1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryGroupInfoRequest is the Query/GroupInfo request type. */ export interface QueryGroupInfoRequest { @@ -18,13 +18,13 @@ export interface QueryGroupInfoRequestSDKType { export interface QueryGroupInfoResponse { /** info is the GroupInfo for the group. */ - info: GroupInfo | undefined; + info?: GroupInfo | undefined; } /** QueryGroupInfoResponse is the Query/GroupInfo response type. */ export interface QueryGroupInfoResponseSDKType { /** info is the GroupInfo for the group. */ - info: GroupInfoSDKType | undefined; + info?: GroupInfoSDKType | undefined; } /** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ @@ -42,13 +42,13 @@ export interface QueryGroupPolicyInfoRequestSDKType { export interface QueryGroupPolicyInfoResponse { /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfo | undefined; + info?: GroupPolicyInfo | undefined; } /** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ export interface QueryGroupPolicyInfoResponseSDKType { /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfoSDKType | undefined; + info?: GroupPolicyInfoSDKType | undefined; } /** QueryGroupMembersRequest is the Query/GroupMembers request type. */ @@ -210,13 +210,13 @@ export interface QueryProposalRequestSDKType { export interface QueryProposalResponse { /** proposal is the proposal info. */ - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the Query/Proposal response type. */ export interface QueryProposalResponseSDKType { /** proposal is the proposal info. */ - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ @@ -276,13 +276,13 @@ export interface QueryVoteByProposalVoterRequestSDKType { export interface QueryVoteByProposalVoterResponse { /** vote is the vote with given proposal_id and voter. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ export interface QueryVoteByProposalVoterResponseSDKType { /** vote is the vote with given proposal_id and voter. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ @@ -408,13 +408,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the Query/TallyResult response type. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { @@ -477,7 +477,7 @@ export const QueryGroupInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupInfoResponse(); @@ -567,7 +567,7 @@ export const QueryGroupPolicyInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPolicyInfoResponse(); @@ -672,7 +672,7 @@ export const QueryGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupMembersResponse(); @@ -782,7 +782,7 @@ export const QueryGroupsByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByAdminResponse(); @@ -892,7 +892,7 @@ export const QueryGroupPoliciesByGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByGroupResponse(); @@ -1002,7 +1002,7 @@ export const QueryGroupPoliciesByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByAdminResponse(); @@ -1097,7 +1097,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -1202,7 +1202,7 @@ export const QueryProposalsByGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsByGroupPolicyResponse(); @@ -1307,7 +1307,7 @@ export const QueryVoteByProposalVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteByProposalVoterResponse(); @@ -1412,7 +1412,7 @@ export const QueryVotesByProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByProposalResponse(); @@ -1522,7 +1522,7 @@ export const QueryVotesByVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByVoterResponse(); @@ -1632,7 +1632,7 @@ export const QueryGroupsByMemberResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByMemberResponse(); @@ -1727,7 +1727,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts b/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts index 1b27e619b..fac06b905 100644 --- a/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/group/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export interface AminoMsgCreateGroup extends AminoMsg { type: "cosmos-sdk/MsgCreateGroup"; diff --git a/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts index df2762267..b921d00c0 100644 --- a/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -1,51 +1,50 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateGroup, MsgCreateGroupResponse, MsgCreateGroupResponseSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupMembersResponseSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupAdminResponseSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgUpdateGroupMetadataResponseSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupPolicyResponseSDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgCreateGroupWithPolicyResponseSDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyAdminResponseSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyDecisionPolicyResponseSDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgUpdateGroupPolicyMetadataResponseSDKType, MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgWithdrawProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgLeaveGroup, MsgLeaveGroupResponse, MsgLeaveGroupResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +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(request: MsgCreateGroup): Promise; - /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ + /** 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; - /*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; - /*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; - /*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; - /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + /** CreateGroupWithPolicy creates a new group with policy. */ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - /*CreateGroupWithPolicy creates a new group with policy.*/ + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + /** UpdateGroupPolicyAdmin updates a group policy admin. */ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): 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; - /*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; - /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + /** SubmitProposal submits a new proposal. */ - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal submits a new proposal.*/ + submitProposal(request: MsgSubmitProposal): Promise; + /** WithdrawProposal aborts a proposal. */ - withdrawProposal(request: MsgWithdrawProposal): Promise; - /*WithdrawProposal aborts a proposal.*/ + withdrawProposal(request: MsgWithdrawProposal): Promise; + /** Vote allows a voter to vote on a proposal. */ - vote(request: MsgVote): Promise; - /*Vote allows a voter to vote on a proposal.*/ + vote(request: MsgVote): Promise; + /** Exec executes a proposal. */ - exec(request: MsgExec): Promise; - /*Exec executes a proposal.*/ - - leaveGroup(request: MsgLeaveGroup): Promise; - /*LeaveGroup allows a group member to leave the group.*/ + exec(request: MsgExec): Promise; + /** LeaveGroup allows a group member to leave the group. */ + leaveGroup(request: MsgLeaveGroup): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -68,85 +67,85 @@ export class MsgClientImpl implements Msg { this.leaveGroup = this.leaveGroup.bind(this); } - createGroup(request: MsgCreateGroup): Promise { + createGroup(request: MsgCreateGroup): Promise { const data = MsgCreateGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); } - updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { const data = MsgUpdateGroupMembers.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); } - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { const data = MsgUpdateGroupAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); } - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { const data = MsgUpdateGroupMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); } - createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { const data = MsgCreateGroupPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); } - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { const data = MsgCreateGroupWithPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - withdrawProposal(request: MsgWithdrawProposal): Promise { + withdrawProposal(request: MsgWithdrawProposal): Promise { const data = MsgWithdrawProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - leaveGroup(request: MsgLeaveGroup): Promise { + leaveGroup(request: MsgLeaveGroup): Promise { const data = MsgLeaveGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/group/v1/tx.ts b/examples/contracts/codegen/cosmos/group/v1/tx.ts index cadea4ca7..6cb023bcd 100644 --- a/examples/contracts/codegen/cosmos/group/v1/tx.ts +++ b/examples/contracts/codegen/cosmos/group/v1/tx.ts @@ -1,7 +1,7 @@ import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ export enum Exec { @@ -62,8 +62,9 @@ export function execToJSON(object: Exec): string { case Exec.EXEC_TRY: return "EXEC_TRY"; + case Exec.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** MsgCreateGroup is the Msg/CreateGroup request type. */ @@ -211,7 +212,7 @@ export interface MsgCreateGroupPolicy { metadata: string; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ @@ -226,7 +227,7 @@ export interface MsgCreateGroupPolicySDKType { metadata: string; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ @@ -283,7 +284,7 @@ export interface MsgCreateGroupWithPolicy { groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ @@ -304,7 +305,7 @@ export interface MsgCreateGroupWithPolicySDKType { group_policy_as_admin: boolean; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ @@ -340,7 +341,7 @@ export interface MsgUpdateGroupPolicyDecisionPolicy { address: string; /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ @@ -352,7 +353,7 @@ export interface MsgUpdateGroupPolicyDecisionPolicySDKType { address: string; /** decision_policy is the updated group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ @@ -653,7 +654,7 @@ export const MsgCreateGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupResponse(); @@ -757,7 +758,7 @@ export const MsgUpdateGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMembersResponse(); @@ -856,7 +857,7 @@ export const MsgUpdateGroupAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupAdminResponse(); @@ -955,7 +956,7 @@ export const MsgUpdateGroupMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMetadataResponse(); @@ -1070,7 +1071,7 @@ export const MsgCreateGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupPolicyResponse(); @@ -1280,7 +1281,7 @@ export const MsgCreateGroupWithPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupWithPolicyResponse(); @@ -1324,7 +1325,7 @@ export const MsgUpdateGroupPolicyAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyAdminResponse(); @@ -1423,7 +1424,7 @@ export const MsgUpdateGroupPolicyDecisionPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); @@ -1522,7 +1523,7 @@ export const MsgUpdateGroupPolicyMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); @@ -1647,7 +1648,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -1741,7 +1742,7 @@ export const MsgWithdrawProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawProposalResponse(); @@ -1860,7 +1861,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -1949,7 +1950,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -2038,7 +2039,7 @@ export const MsgLeaveGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgLeaveGroupResponse(); diff --git a/examples/contracts/codegen/cosmos/group/v1/types.ts b/examples/contracts/codegen/cosmos/group/v1/types.ts index 964408286..0e21e943d 100644 --- a/examples/contracts/codegen/cosmos/group/v1/types.ts +++ b/examples/contracts/codegen/cosmos/group/v1/types.ts @@ -2,7 +2,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given proposal. */ export enum VoteOption { @@ -86,8 +86,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus defines proposal statuses. */ @@ -179,8 +180,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: return "PROPOSAL_STATUS_WITHDRAWN"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalResult defines types of proposal results. */ @@ -253,8 +255,9 @@ export function proposalResultToJSON(object: ProposalResult): string { case ProposalResult.PROPOSAL_RESULT_REJECTED: return "PROPOSAL_RESULT_REJECTED"; + case ProposalResult.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalExecutorResult defines types of proposal executor results. */ @@ -327,8 +330,9 @@ export function proposalExecutorResultToJSON(object: ProposalExecutorResult): st case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; + case ProposalExecutorResult.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -347,7 +351,7 @@ export interface Member { metadata: string; /** added_at is a timestamp specifying when a member was added. */ - addedAt: Date | undefined; + addedAt?: Date | undefined; } /** * Member represents a group member with an account address, @@ -365,7 +369,7 @@ export interface MemberSDKType { metadata: string; /** added_at is a timestamp specifying when a member was added. */ - added_at: Date | undefined; + added_at?: Date | undefined; } /** Members defines a repeated slice of Member objects. */ @@ -386,7 +390,7 @@ export interface ThresholdDecisionPolicy { threshold: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows | undefined; + windows?: DecisionPolicyWindows | undefined; } /** ThresholdDecisionPolicy implements the DecisionPolicy interface */ @@ -395,7 +399,7 @@ export interface ThresholdDecisionPolicySDKType { threshold: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindowsSDKType | undefined; + windows?: DecisionPolicyWindowsSDKType | undefined; } /** PercentageDecisionPolicy implements the DecisionPolicy interface */ @@ -404,7 +408,7 @@ export interface PercentageDecisionPolicy { percentage: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows | undefined; + windows?: DecisionPolicyWindows | undefined; } /** PercentageDecisionPolicy implements the DecisionPolicy interface */ @@ -413,7 +417,7 @@ export interface PercentageDecisionPolicySDKType { percentage: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindowsSDKType | undefined; + windows?: DecisionPolicyWindowsSDKType | undefined; } /** DecisionPolicyWindows defines the different windows for voting and execution. */ @@ -422,7 +426,7 @@ 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 | undefined; + votingPeriod?: Duration | undefined; /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -437,7 +441,7 @@ export interface DecisionPolicyWindows { * won't be able to be executed. */ - minExecutionPeriod: Duration | undefined; + minExecutionPeriod?: Duration | undefined; } /** DecisionPolicyWindows defines the different windows for voting and execution. */ @@ -446,7 +450,7 @@ export interface DecisionPolicyWindowsSDKType { * 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: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -461,7 +465,7 @@ export interface DecisionPolicyWindowsSDKType { * won't be able to be executed. */ - min_execution_period: DurationSDKType | undefined; + min_execution_period?: DurationSDKType | undefined; } /** GroupInfo represents the high-level on-chain information for a group. */ @@ -487,7 +491,7 @@ export interface GroupInfo { totalWeight: string; /** created_at is a timestamp specifying when a group was created. */ - createdAt: Date | undefined; + createdAt?: Date | undefined; } /** GroupInfo represents the high-level on-chain information for a group. */ @@ -513,7 +517,7 @@ export interface GroupInfoSDKType { total_weight: string; /** created_at is a timestamp specifying when a group was created. */ - created_at: Date | undefined; + created_at?: Date | undefined; } /** GroupMember represents the relationship between a group and a member. */ @@ -522,7 +526,7 @@ export interface GroupMember { groupId: Long; /** member is the member data. */ - member: Member | undefined; + member?: Member | undefined; } /** GroupMember represents the relationship between a group and a member. */ @@ -531,7 +535,7 @@ export interface GroupMemberSDKType { group_id: Long; /** member is the member data. */ - member: MemberSDKType | undefined; + member?: MemberSDKType | undefined; } /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ @@ -555,10 +559,10 @@ export interface GroupPolicyInfo { version: Long; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Date | undefined; + createdAt?: Date | undefined; } /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ @@ -582,10 +586,10 @@ export interface GroupPolicyInfoSDKType { version: Long; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; /** created_at is a timestamp specifying when a group policy was created. */ - created_at: Date | undefined; + created_at?: Date | undefined; } /** * Proposal defines a group proposal. Any member of a group can submit a proposal @@ -608,7 +612,7 @@ export interface Proposal { proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date | undefined; + submitTime?: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. @@ -637,7 +641,7 @@ export interface Proposal { * has ended. */ - finalTallyResult: TallyResult | undefined; + finalTallyResult?: TallyResult | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -646,7 +650,7 @@ export interface Proposal { * as `status` and `result` fields will be accordingly updated. */ - votingPeriodEnd: Date | undefined; + votingPeriodEnd?: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ executorResult: ProposalExecutorResult; @@ -675,7 +679,7 @@ export interface ProposalSDKType { proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submit_time: Date | undefined; + submit_time?: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. @@ -704,7 +708,7 @@ export interface ProposalSDKType { * has ended. */ - final_tally_result: TallyResultSDKType | undefined; + final_tally_result?: TallyResultSDKType | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -713,7 +717,7 @@ export interface ProposalSDKType { * as `status` and `result` fields will be accordingly updated. */ - voting_period_end: Date | undefined; + voting_period_end?: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ executor_result: ProposalExecutorResultSDKType; @@ -767,7 +771,7 @@ export interface Vote { metadata: string; /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Date | undefined; + submitTime?: Date | undefined; } /** Vote represents a vote for a proposal. */ @@ -785,7 +789,7 @@ export interface VoteSDKType { metadata: string; /** submit_time is the timestamp when the vote was submitted. */ - submit_time: Date | undefined; + submit_time?: Date | undefined; } function createBaseMember(): Member { @@ -1066,8 +1070,8 @@ export const DecisionPolicyWindows = { fromPartial(object: Partial): DecisionPolicyWindows { const message = createBaseDecisionPolicyWindows(); - message.votingPeriod = object.votingPeriod ?? undefined; - message.minExecutionPeriod = object.minExecutionPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; + message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined; return message; } diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts index 7466eca80..adfdc59fb 100644 --- a/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts @@ -4,19 +4,19 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** minter is a space for holding current inflation information. */ - minter: Minter | undefined; + minter?: Minter | undefined; /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the mint module's genesis state. */ export interface GenesisStateSDKType { /** minter is a space for holding current inflation information. */ - minter: MinterSDKType | undefined; + minter?: MinterSDKType | undefined; /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts index 751636d08..a51bb9df2 100644 --- a/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Minter represents the minting state. */ export interface Minter { diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts index 0ea42b140..4e7ca73e5 100644 --- a/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +/** Query provides defines the gRPC querier service. */ export interface Query { - params(request?: QueryParamsRequest): Promise; - /*Params returns the total set of minting parameters.*/ + /** Params returns the total set of minting parameters. */ + params(request?: QueryParamsRequest): Promise; + /** Inflation returns the current minting inflation value. */ - inflation(request?: QueryInflationRequest): Promise; - /*Inflation returns the current minting inflation value.*/ - - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; - /*AnnualProvisions current minting annual provisions value.*/ + inflation(request?: QueryInflationRequest): Promise; + /** AnnualProvisions current minting annual provisions value. */ + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,19 +24,19 @@ export class QueryClientImpl implements Query { this.annualProvisions = this.annualProvisions.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - inflation(request: QueryInflationRequest = {}): Promise { + inflation(request: QueryInflationRequest = {}): Promise { const data = QueryInflationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); } - annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { + annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { const data = QueryAnnualProvisionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); @@ -48,15 +47,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - inflation(request?: QueryInflationRequest): Promise { + inflation(request?: QueryInflationRequest): Promise { return queryService.inflation(request); }, - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { return queryService.annualProvisions(request); } diff --git a/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts b/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts index 988f2d832..789baf002 100644 --- a/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/mint/v1beta1/query.ts @@ -10,13 +10,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ @@ -122,7 +122,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -201,7 +201,7 @@ export const QueryInflationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryInflationResponse(); @@ -280,7 +280,7 @@ export const QueryAnnualProvisionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAnnualProvisionsResponse(); diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts index fc0693d1d..930b93118 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts @@ -22,7 +22,7 @@ export interface Class { uriHash: string; /** data is the app specific metadata of the NFT class. Optional */ - data: Any | undefined; + data?: Any | undefined; } /** Class defines the class of the nft type. */ @@ -46,7 +46,7 @@ export interface ClassSDKType { uri_hash: string; /** data is the app specific metadata of the NFT class. Optional */ - data: AnySDKType | undefined; + data?: AnySDKType | undefined; } /** NFT defines the NFT. */ @@ -64,7 +64,7 @@ export interface NFT { uriHash: string; /** data is an app specific data of the NFT. Optional */ - data: Any | undefined; + data?: Any | undefined; } /** NFT defines the NFT. */ @@ -82,7 +82,7 @@ export interface NFTSDKType { uri_hash: string; /** data is an app specific data of the NFT. Optional */ - data: AnySDKType | undefined; + data?: AnySDKType | undefined; } function createBaseClass(): Class { diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts index 1cbb51ba4..ca3a1dc1e 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; export class LCDQueryClient { @@ -40,7 +40,7 @@ export class LCDQueryClient { 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 */ + ERC721Enumerable */ async nFTs(params: QueryNFTsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts index e27a47468..72e638152 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -1,32 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryBalanceRequest): Promise; - /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ + /** 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; - /*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; - /*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; - /*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; - /*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; - /*Class queries an NFT class based on its id*/ - - classes(request?: QueryClassesRequest): Promise; - /*Classes queries all NFT classes*/ + class(request: QueryClassRequest): Promise; + /** Classes queries all NFT classes */ + classes(request?: QueryClassesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -42,37 +43,37 @@ export class QueryClientImpl implements Query { this.classes = this.classes.bind(this); } - balance(request: QueryBalanceRequest): Promise { + 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 _m0.Reader(data))); } - owner(request: QueryOwnerRequest): Promise { + 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 _m0.Reader(data))); } - supply(request: QuerySupplyRequest): Promise { + 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 _m0.Reader(data))); } - nFTs(request: QueryNFTsRequest): Promise { + 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 _m0.Reader(data))); } - nFT(request: QueryNFTRequest): Promise { + 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 _m0.Reader(data))); } - class(request: QueryClassRequest): Promise { + 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 _m0.Reader(data))); @@ -80,7 +81,7 @@ export class QueryClientImpl implements Query { classes(request: QueryClassesRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -91,31 +92,31 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { return queryService.balance(request); }, - owner(request: QueryOwnerRequest): Promise { + owner(request: QueryOwnerRequest): Promise { return queryService.owner(request); }, - supply(request: QuerySupplyRequest): Promise { + supply(request: QuerySupplyRequest): Promise { return queryService.supply(request); }, - nFTs(request: QueryNFTsRequest): Promise { + nFTs(request: QueryNFTsRequest): Promise { return queryService.nFTs(request); }, - nFT(request: QueryNFTRequest): Promise { + nFT(request: QueryNFTRequest): Promise { return queryService.nFT(request); }, - class(request: QueryClassRequest): Promise { + class(request: QueryClassRequest): Promise { return queryService.class(request); }, - classes(request?: QueryClassesRequest): Promise { + classes(request?: QueryClassesRequest): Promise { return queryService.classes(request); } diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts index 1ac38a5b5..8f79fa88b 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method */ export interface QueryBalanceRequest { @@ -69,15 +69,15 @@ export interface QuerySupplyResponseSDKType { /** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ export interface QueryNFTsRequest { - classId?: string; - owner?: string; + classId: string; + owner: string; pagination?: PageRequest | undefined; } /** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ export interface QueryNFTsRequestSDKType { - class_id?: string; - owner?: string; + class_id: string; + owner: string; pagination?: PageRequestSDKType | undefined; } /** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ @@ -107,12 +107,12 @@ export interface QueryNFTRequestSDKType { /** QueryNFTResponse is the response type for the Query/NFT RPC method */ export interface QueryNFTResponse { - nft: NFT | undefined; + nft?: NFT | undefined; } /** QueryNFTResponse is the response type for the Query/NFT RPC method */ export interface QueryNFTResponseSDKType { - nft: NFTSDKType | undefined; + nft?: NFTSDKType | undefined; } /** QueryClassRequest is the request type for the Query/Class RPC method */ @@ -127,12 +127,12 @@ export interface QueryClassRequestSDKType { /** QueryClassResponse is the response type for the Query/Class RPC method */ export interface QueryClassResponse { - class: Class | undefined; + class?: Class | undefined; } /** QueryClassResponse is the response type for the Query/Class RPC method */ export interface QueryClassResponseSDKType { - class: ClassSDKType | undefined; + class?: ClassSDKType | undefined; } /** QueryClassesRequest is the request type for the Query/Classes RPC method */ @@ -229,7 +229,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -329,7 +329,7 @@ export const QueryOwnerResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryOwnerResponse(); @@ -419,7 +419,7 @@ export const QuerySupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyResponse(); @@ -534,7 +534,7 @@ export const QueryNFTsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTsResponse(); @@ -639,7 +639,7 @@ export const QueryNFTResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTResponse(); @@ -729,7 +729,7 @@ export const QueryClassResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassResponse(); @@ -824,7 +824,7 @@ export const QueryClassesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassesResponse(); diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts index 1684544b3..b6ad14c77 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgSendResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSend, MsgSendResponse } from "./tx"; +/** Msg defines the nft Msg service. */ export interface Msg { - send(request: MsgSend): Promise; - /*Send defines a method to send a nft from one account to another account.*/ - + /** 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; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.send = this.send.bind(this); } - send(request: MsgSend): Promise { + 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 _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts index 488810e3f..987f40d85 100644 --- a/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts @@ -120,7 +120,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); diff --git a/examples/contracts/codegen/cosmos/orm/v1/orm.ts b/examples/contracts/codegen/cosmos/orm/v1/orm.ts index 8565532ca..7b2a45d0a 100644 --- a/examples/contracts/codegen/cosmos/orm/v1/orm.ts +++ b/examples/contracts/codegen/cosmos/orm/v1/orm.ts @@ -3,7 +3,7 @@ import * as _m0 from "protobufjs/minimal"; export interface TableDescriptor { /** primary_key defines the primary key for the table. */ - primaryKey: PrimaryKeyDescriptor | undefined; + primaryKey?: PrimaryKeyDescriptor | undefined; /** index defines one or more secondary indexes. */ index: SecondaryIndexDescriptor[]; @@ -19,7 +19,7 @@ export interface TableDescriptor { export interface TableDescriptorSDKType { /** primary_key defines the primary key for the table. */ - primary_key: PrimaryKeyDescriptorSDKType | undefined; + primary_key?: PrimaryKeyDescriptorSDKType | undefined; /** index defines one or more secondary indexes. */ index: SecondaryIndexDescriptorSDKType[]; @@ -38,27 +38,27 @@ 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. + * - 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. @@ -82,27 +82,27 @@ export interface PrimaryKeyDescriptorSDKType { * 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. + * - 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. diff --git a/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts index a32fcdec3..f2ea65fc1 100644 --- a/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts +++ b/examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts @@ -140,8 +140,9 @@ export function storageTypeToJSON(object: StorageType): string { case StorageType.STORAGE_TYPE_COMMITMENT: return "STORAGE_TYPE_COMMITMENT"; + case StorageType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ModuleSchemaDescriptor describe's a module's ORM schema. */ diff --git a/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts index d165cf20d..7feab29f6 100644 --- a/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -13,7 +13,7 @@ export class LCDQueryClient { this.subspaces = this.subspaces.bind(this); } /* Params queries a specific parameter of a module, given its subspace and - key. */ + key. */ async params(params: QueryParamsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts index 0fa154d26..4f5055144 100644 --- a/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -1,17 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - params(request: QueryParamsRequest): Promise; - /*Params queries a specific parameter of a module, given its subspace and - key.*/ - - subspaces(request?: QuerySubspacesRequest): Promise; - /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ - + /** + * 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. */ + + subspaces(request?: QuerySubspacesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -22,13 +23,13 @@ export class QueryClientImpl implements Query { this.subspaces = this.subspaces.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - subspaces(request: QuerySubspacesRequest = {}): Promise { + subspaces(request: QuerySubspacesRequest = {}): Promise { const data = QuerySubspacesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); @@ -39,11 +40,11 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - subspaces(request?: QuerySubspacesRequest): Promise { + subspaces(request?: QuerySubspacesRequest): Promise { return queryService.subspaces(request); } diff --git a/examples/contracts/codegen/cosmos/params/v1beta1/query.ts b/examples/contracts/codegen/cosmos/params/v1beta1/query.ts index d4ec37fbb..1a6dcf007 100644 --- a/examples/contracts/codegen/cosmos/params/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/params/v1beta1/query.ts @@ -22,13 +22,13 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** param defines the queried parameter. */ - param: ParamChange | undefined; + param?: ParamChange | undefined; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** param defines the queried parameter. */ - param: ParamChangeSDKType | undefined; + param?: ParamChangeSDKType | undefined; } /** * QuerySubspacesRequest defines a request type for querying for all registered @@ -147,7 +147,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -226,7 +226,7 @@ export const QuerySubspacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySubspacesResponse(); diff --git a/examples/contracts/codegen/cosmos/rpc.tx.ts b/examples/contracts/codegen/cosmos/rpc.tx.ts index e2598af91..3a4dbf9b6 100644 --- a/examples/contracts/codegen/cosmos/rpc.tx.ts +++ b/examples/contracts/codegen/cosmos/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts index bcdfead42..bd1a477cd 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -1,11 +1,11 @@ import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; + params?: Params | undefined; /** * signing_infos represents a map between validator addresses and their * signing infos. @@ -23,7 +23,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of related to deposit. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** * signing_infos represents a map between validator addresses and their * signing infos. @@ -44,7 +44,7 @@ export interface SigningInfo { address: string; /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo | undefined; + validatorSigningInfo?: ValidatorSigningInfo | undefined; } /** SigningInfo stores validator signing info of corresponding address. */ @@ -53,7 +53,7 @@ export interface SigningInfoSDKType { address: string; /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info: ValidatorSigningInfoSDKType | undefined; + validator_signing_info?: ValidatorSigningInfoSDKType | undefined; } /** * ValidatorMissedBlocks contains array of missed blocks of corresponding diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts index cb3b9ffdc..346fd6cc7 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts index 3dc1d6580..94cb5ce46 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - params(request?: QueryParamsRequest): Promise; - /*Params queries the parameters of slashing module*/ + /** Params queries the parameters of slashing module */ + params(request?: QueryParamsRequest): Promise; + /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /*SigningInfo queries the signing info of given cons address*/ - - signingInfos(request?: QuerySigningInfosRequest): Promise; - /*SigningInfos queries signing info of all validators*/ + signingInfo(request: QuerySigningInfoRequest): Promise; + /** SigningInfos queries signing info of all validators */ + signingInfos(request?: QuerySigningInfosRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,13 +24,13 @@ export class QueryClientImpl implements Query { this.signingInfos = this.signingInfos.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + 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 _m0.Reader(data))); } - signingInfo(request: QuerySigningInfoRequest): Promise { + 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 _m0.Reader(data))); @@ -39,7 +38,7 @@ export class QueryClientImpl implements Query { signingInfos(request: QuerySigningInfosRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -50,15 +49,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - signingInfo(request: QuerySigningInfoRequest): Promise { + signingInfo(request: QuerySigningInfoRequest): Promise { return queryService.signingInfo(request); }, - signingInfos(request?: QuerySigningInfosRequest): Promise { + signingInfos(request?: QuerySigningInfosRequest): Promise { return queryService.signingInfos(request); } diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts index 21bd49c73..be9c60846 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts @@ -10,12 +10,12 @@ export interface QueryParamsRequestSDKType {} /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponse { - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC @@ -42,7 +42,7 @@ export interface QuerySigningInfoRequestSDKType { export interface QuerySigningInfoResponse { /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo | undefined; + valSigningInfo?: ValidatorSigningInfo | undefined; } /** * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC @@ -51,7 +51,7 @@ export interface QuerySigningInfoResponse { export interface QuerySigningInfoResponseSDKType { /** val_signing_info is the signing info of requested val cons address */ - val_signing_info: ValidatorSigningInfoSDKType | undefined; + val_signing_info?: ValidatorSigningInfoSDKType | undefined; } /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC @@ -139,7 +139,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -229,7 +229,7 @@ export const QuerySigningInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfoResponse(); @@ -324,7 +324,7 @@ export const QuerySigningInfosResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfosResponse(); diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts index 13afa0fff..19f85cb6d 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -1,7 +1,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; /** * ValidatorSigningInfo defines a validator's signing info for monitoring their * liveness activity. @@ -21,7 +21,7 @@ export interface ValidatorSigningInfo { indexOffset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date | undefined; + jailedUntil?: Date | undefined; /** * 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. @@ -54,7 +54,7 @@ export interface ValidatorSigningInfoSDKType { index_offset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until: Date | undefined; + jailed_until?: Date | undefined; /** * 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. @@ -73,7 +73,7 @@ export interface ValidatorSigningInfoSDKType { export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration | undefined; + downtimeJailDuration?: Duration | undefined; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } @@ -82,7 +82,7 @@ export interface Params { export interface ParamsSDKType { signed_blocks_window: Long; min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType | undefined; + downtime_jail_duration?: DurationSDKType | undefined; slash_fraction_double_sign: Uint8Array; slash_fraction_downtime: Uint8Array; } @@ -259,7 +259,7 @@ export const Params = { const message = createBaseParams(); message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); - message.downtimeJailDuration = object.downtimeJailDuration ?? undefined; + 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; diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts index bdc0ffa55..622712b3e 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -1,14 +1,15 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgUnjail, MsgUnjailResponse, MsgUnjailResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgUnjail, MsgUnjailResponse } from "./tx"; +/** Msg defines the slashing Msg service. */ export interface Msg { - unjail(request: MsgUnjail): Promise; - /*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 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; @@ -18,7 +19,7 @@ export class MsgClientImpl implements Msg { this.unjail = this.unjail.bind(this); } - unjail(request: MsgUnjail): Promise { + 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 _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts index 5e0acc0e1..ca80962f5 100644 --- a/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts @@ -70,7 +70,7 @@ export const MsgUnjailResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUnjailResponse(); diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts index 4066c7a4c..e6a9c9e05 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts @@ -78,8 +78,9 @@ export function authorizationTypeToJSON(object: AuthorizationType): string { case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: return "AUTHORIZATION_TYPE_REDELEGATE"; + case AuthorizationType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -93,7 +94,7 @@ export interface StakeAuthorization { * 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 | undefined; + maxTokens?: Coin | undefined; /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. @@ -118,7 +119,7 @@ export interface StakeAuthorizationSDKType { * 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: CoinSDKType | undefined; + max_tokens?: CoinSDKType | undefined; /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts index 073f7a091..6d48e920a 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts @@ -1,11 +1,11 @@ import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the staking module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; + params?: Params | undefined; /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. @@ -36,7 +36,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of related to deposit. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts index 977869717..7507dc0ae 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -89,7 +89,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* UnbondingDelegation queries unbonding info for given validator delegator - pair. */ + pair. */ async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { @@ -112,7 +112,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address. */ + delegator address. */ async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { @@ -151,7 +151,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorValidators queries all validators info for given delegator - address. */ + address. */ async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { @@ -167,7 +167,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorValidator queries validator info for given delegator validator - pair. */ + pair. */ async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts index 5486046f0..550f592fe 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -1,56 +1,63 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryValidatorsRequest): Promise; - /*Validators queries all validators that match the given status.*/ + /** 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; - /*Validator queries validator info for given validator address.*/ + validator(request: QueryValidatorRequest): Promise; + /** ValidatorDelegations queries delegate info for given validator. */ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - /*ValidatorDelegations queries delegate info for given validator.*/ + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): 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; - /*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; - /*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; - /*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; - /*DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address.*/ + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + /** Redelegations queries redelegations of given address. */ - redelegations(request: QueryRedelegationsRequest): Promise; - /*Redelegations queries redelegations of given address.*/ + redelegations(request: QueryRedelegationsRequest): Promise; + /** + * DelegatorValidators queries all validators info for given delegator + * address. + */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): 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; - /*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; - /*HistoricalInfo queries the historical info for given height.*/ + historicalInfo(request: QueryHistoricalInfoRequest): Promise; + /** Pool queries the pool info. */ - pool(request?: QueryPoolRequest): Promise; - /*Pool queries the pool info.*/ - - params(request?: QueryParamsRequest): Promise; - /*Parameters queries the staking parameters.*/ + pool(request?: QueryPoolRequest): Promise; + /** Parameters queries the staking parameters. */ + params(request?: QueryParamsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -73,85 +80,85 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { const data = QueryValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); } - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { const data = QueryValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); } - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { const data = QueryValidatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); } - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { const data = QueryDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); } - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { const data = QueryUnbondingDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); } - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { const data = QueryDelegatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); } - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { const data = QueryRedelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { const data = QueryDelegatorValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); } - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { const data = QueryHistoricalInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); } - pool(request: QueryPoolRequest = {}): Promise { + pool(request: QueryPoolRequest = {}): Promise { const data = QueryPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); @@ -162,59 +169,59 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { return queryService.validators(request); }, - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { return queryService.validator(request); }, - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { return queryService.validatorDelegations(request); }, - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { return queryService.validatorUnbondingDelegations(request); }, - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { return queryService.delegation(request); }, - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { return queryService.unbondingDelegation(request); }, - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { return queryService.delegatorDelegations(request); }, - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { return queryService.delegatorUnbondingDelegations(request); }, - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { return queryService.redelegations(request); }, - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { return queryService.delegatorValidators(request); }, - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { return queryService.delegatorValidator(request); }, - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { return queryService.historicalInfo(request); }, - pool(request?: QueryPoolRequest): Promise { + pool(request?: QueryPoolRequest): Promise { return queryService.pool(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); } diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts index 6d4207a00..7585d5ff7 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/query.ts @@ -1,12 +1,12 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ - status?: string; + status: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -15,7 +15,7 @@ export interface QueryValidatorsRequest { export interface QueryValidatorsRequestSDKType { /** status enables to query for validators matching a given status. */ - status?: string; + status: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -54,13 +54,13 @@ export interface QueryValidatorRequestSDKType { export interface QueryValidatorResponse { /** validator defines the the validator info. */ - validator: Validator | undefined; + validator?: Validator | undefined; } /** QueryValidatorResponse is response type for the Query/Validator RPC method */ export interface QueryValidatorResponseSDKType { /** validator defines the the validator info. */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; } /** * QueryValidatorDelegationsRequest is request type for the @@ -176,13 +176,13 @@ export interface QueryDelegationRequestSDKType { export interface QueryDelegationResponse { /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse: DelegationResponse | undefined; + delegationResponse?: DelegationResponse | undefined; } /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ export interface QueryDelegationResponseSDKType { /** delegation_responses defines the delegation info of a delegation. */ - delegation_response: DelegationResponseSDKType | undefined; + delegation_response?: DelegationResponseSDKType | undefined; } /** * QueryUnbondingDelegationRequest is request type for the @@ -215,7 +215,7 @@ export interface QueryUnbondingDelegationRequestSDKType { export interface QueryUnbondingDelegationResponse { /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegation | undefined; + unbond?: UnbondingDelegation | undefined; } /** * QueryDelegationResponse is response type for the Query/UnbondingDelegation @@ -224,7 +224,7 @@ export interface QueryUnbondingDelegationResponse { export interface QueryUnbondingDelegationResponseSDKType { /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegationSDKType | undefined; + unbond?: UnbondingDelegationSDKType | undefined; } /** * QueryDelegatorDelegationsRequest is request type for the @@ -330,10 +330,10 @@ export interface QueryRedelegationsRequest { delegatorAddr: string; /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr?: string; + srcValidatorAddr: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr?: string; + dstValidatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -348,10 +348,10 @@ export interface QueryRedelegationsRequestSDKType { delegator_addr: string; /** src_validator_addr defines the validator address to redelegate from. */ - src_validator_addr?: string; + src_validator_addr: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dst_validator_addr?: string; + dst_validator_addr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -457,7 +457,7 @@ export interface QueryDelegatorValidatorRequestSDKType { export interface QueryDelegatorValidatorResponse { /** validator defines the the validator info. */ - validator: Validator | undefined; + validator?: Validator | undefined; } /** * QueryDelegatorValidatorResponse response type for the @@ -466,7 +466,7 @@ export interface QueryDelegatorValidatorResponse { export interface QueryDelegatorValidatorResponseSDKType { /** validator defines the the validator info. */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; } /** * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC @@ -493,7 +493,7 @@ export interface QueryHistoricalInfoRequestSDKType { export interface QueryHistoricalInfoResponse { /** hist defines the historical info at the given height. */ - hist: HistoricalInfo | undefined; + hist?: HistoricalInfo | undefined; } /** * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC @@ -502,7 +502,7 @@ export interface QueryHistoricalInfoResponse { export interface QueryHistoricalInfoResponseSDKType { /** hist defines the historical info at the given height. */ - hist: HistoricalInfoSDKType | undefined; + hist?: HistoricalInfoSDKType | undefined; } /** QueryPoolRequest is request type for the Query/Pool RPC method. */ @@ -514,13 +514,13 @@ export interface QueryPoolRequestSDKType {} export interface QueryPoolResponse { /** pool defines the pool info. */ - pool: Pool | undefined; + pool?: Pool | undefined; } /** QueryPoolResponse is response type for the Query/Pool RPC method. */ export interface QueryPoolResponseSDKType { /** pool defines the pool info. */ - pool: PoolSDKType | undefined; + pool?: PoolSDKType | undefined; } /** QueryParamsRequest is request type for the Query/Params RPC method. */ @@ -532,13 +532,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params holds all the parameters of this module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params holds all the parameters of this module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { @@ -616,7 +616,7 @@ export const QueryValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorsResponse(); @@ -711,7 +711,7 @@ export const QueryValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorResponse(); @@ -816,7 +816,7 @@ export const QueryValidatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorDelegationsResponse(); @@ -926,7 +926,7 @@ export const QueryValidatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorUnbondingDelegationsResponse(); @@ -1031,7 +1031,7 @@ export const QueryDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationResponse(); @@ -1131,7 +1131,7 @@ export const QueryUnbondingDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnbondingDelegationResponse(); @@ -1236,7 +1236,7 @@ export const QueryDelegatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorDelegationsResponse(); @@ -1346,7 +1346,7 @@ export const QueryDelegatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); @@ -1476,7 +1476,7 @@ export const QueryRedelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRedelegationsResponse(); @@ -1586,7 +1586,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1691,7 +1691,7 @@ export const QueryDelegatorValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorResponse(); @@ -1781,7 +1781,7 @@ export const QueryHistoricalInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryHistoricalInfoResponse(); @@ -1860,7 +1860,7 @@ export const QueryPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPoolResponse(); @@ -1939,7 +1939,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts index 7ec7dcd88..7bce26a77 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts @@ -4,7 +4,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** BondStatus is the status of a validator. */ export enum BondStatus { @@ -75,8 +75,9 @@ export function bondStatusToJSON(object: BondStatus): string { case BondStatus.BOND_STATUS_BONDED: return "BOND_STATUS_BONDED"; + case BondStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -87,7 +88,7 @@ export function bondStatusToJSON(object: BondStatus): string { */ export interface HistoricalInfo { - header: Header | undefined; + header?: Header | undefined; valset: Validator[]; } /** @@ -98,7 +99,7 @@ export interface HistoricalInfo { */ export interface HistoricalInfoSDKType { - header: HeaderSDKType | undefined; + header?: HeaderSDKType | undefined; valset: ValidatorSDKType[]; } /** @@ -135,19 +136,19 @@ export interface CommissionRatesSDKType { export interface Commission { /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates: CommissionRates | undefined; + commissionRates?: CommissionRates | undefined; /** update_time is the last time the commission rate was changed. */ - updateTime: Date | undefined; + updateTime?: Date | undefined; } /** Commission defines commission parameters for a given validator. */ export interface CommissionSDKType { /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates: CommissionRatesSDKType | undefined; + commission_rates?: CommissionRatesSDKType | undefined; /** update_time is the last time the commission rate was changed. */ - update_time: Date | undefined; + update_time?: Date | undefined; } /** Description defines a validator description. */ @@ -201,7 +202,7 @@ export interface Validator { 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; @@ -216,16 +217,16 @@ export interface Validator { delegatorShares: string; /** description defines the description terms for the validator. */ - description: Description | undefined; + description?: Description | undefined; /** 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: Date | undefined; + unbondingTime?: Date | undefined; /** commission defines the commission parameters. */ - commission: Commission | undefined; + commission?: Commission | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ minSelfDelegation: string; @@ -246,7 +247,7 @@ export interface ValidatorSDKType { operator_address: string; /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensus_pubkey: AnySDKType | undefined; + consensus_pubkey?: AnySDKType | undefined; /** jailed defined whether the validator has been jailed from bonded status or not. */ jailed: boolean; @@ -261,16 +262,16 @@ export interface ValidatorSDKType { delegator_shares: string; /** description defines the description terms for the validator. */ - description: DescriptionSDKType | undefined; + description?: DescriptionSDKType | undefined; /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ unbonding_height: Long; /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbonding_time: Date | undefined; + unbonding_time?: Date | undefined; /** commission defines the commission parameters. */ - commission: CommissionSDKType | undefined; + commission?: CommissionSDKType | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ min_self_delegation: string; @@ -418,7 +419,7 @@ export interface UnbondingDelegationEntry { creationHeight: Long; /** completion_time is the unix time for unbonding completion. */ - completionTime: Date | undefined; + completionTime?: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ initialBalance: string; @@ -433,7 +434,7 @@ export interface UnbondingDelegationEntrySDKType { creation_height: Long; /** completion_time is the unix time for unbonding completion. */ - completion_time: Date | undefined; + completion_time?: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ initial_balance: string; @@ -448,7 +449,7 @@ export interface RedelegationEntry { creationHeight: Long; /** completion_time defines the unix time for redelegation completion. */ - completionTime: Date | undefined; + completionTime?: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ initialBalance: string; @@ -463,7 +464,7 @@ export interface RedelegationEntrySDKType { creation_height: Long; /** completion_time defines the unix time for redelegation completion. */ - completion_time: Date | undefined; + completion_time?: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ initial_balance: string; @@ -511,7 +512,7 @@ export interface RedelegationSDKType { export interface Params { /** unbonding_time is the time duration of unbonding. */ - unbondingTime: Duration | undefined; + unbondingTime?: Duration | undefined; /** max_validators is the maximum number of validators. */ maxValidators: number; @@ -532,7 +533,7 @@ export interface Params { export interface ParamsSDKType { /** unbonding_time is the time duration of unbonding. */ - unbonding_time: DurationSDKType | undefined; + unbonding_time?: DurationSDKType | undefined; /** max_validators is the maximum number of validators. */ max_validators: number; @@ -555,8 +556,8 @@ export interface ParamsSDKType { */ export interface DelegationResponse { - delegation: Delegation | undefined; - balance: Coin | undefined; + delegation?: Delegation | undefined; + balance?: Coin | undefined; } /** * DelegationResponse is equivalent to Delegation except that it contains a @@ -564,8 +565,8 @@ export interface DelegationResponse { */ export interface DelegationResponseSDKType { - delegation: DelegationSDKType | undefined; - balance: CoinSDKType | undefined; + delegation?: DelegationSDKType | undefined; + balance?: CoinSDKType | undefined; } /** * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it @@ -574,7 +575,7 @@ export interface DelegationResponseSDKType { */ export interface RedelegationEntryResponse { - redelegationEntry: RedelegationEntry | undefined; + redelegationEntry?: RedelegationEntry | undefined; balance: string; } /** @@ -584,7 +585,7 @@ export interface RedelegationEntryResponse { */ export interface RedelegationEntryResponseSDKType { - redelegation_entry: RedelegationEntrySDKType | undefined; + redelegation_entry?: RedelegationEntrySDKType | undefined; balance: string; } /** @@ -594,7 +595,7 @@ export interface RedelegationEntryResponseSDKType { */ export interface RedelegationResponse { - redelegation: Redelegation | undefined; + redelegation?: Redelegation | undefined; entries: RedelegationEntryResponse[]; } /** @@ -604,7 +605,7 @@ export interface RedelegationResponse { */ export interface RedelegationResponseSDKType { - redelegation: RedelegationSDKType | undefined; + redelegation?: RedelegationSDKType | undefined; entries: RedelegationEntryResponseSDKType[]; } /** @@ -1725,7 +1726,7 @@ export const Params = { fromPartial(object: Partial): Params { const message = createBaseParams(); - message.unbondingTime = object.unbondingTime ?? undefined; + message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined; message.maxValidators = object.maxValidators ?? 0; message.maxEntries = object.maxEntries ?? 0; message.historicalEntries = object.historicalEntries ?? 0; diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts index e308d8c8f..b517897c9 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -1,6 +1,6 @@ import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; import { fromBase64, toBase64 } from "@cosmjs/encoding"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; export interface AminoMsgCreateValidator extends AminoMsg { type: "cosmos-sdk/MsgCreateValidator"; diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts index e7170f128..b530ca148 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -1,27 +1,32 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; +/** Msg defines the staking Msg service. */ export interface Msg { - createValidator(request: MsgCreateValidator): Promise; - /*CreateValidator defines a method for creating a new validator.*/ + /** 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; - /*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; - /*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; - /*BeginRedelegate defines a method for performing a redelegation - of coins from a delegator and source validator to a destination validator.*/ - - undelegate(request: MsgUndelegate): Promise; - /*Undelegate defines a method for performing an undelegation from a - delegate and a validator.*/ + beginRedelegate(request: MsgBeginRedelegate): Promise; + /** + * Undelegate defines a method for performing an undelegation from a + * delegate and a validator. + */ + undelegate(request: MsgUndelegate): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -35,31 +40,31 @@ export class MsgClientImpl implements Msg { this.undelegate = this.undelegate.bind(this); } - createValidator(request: MsgCreateValidator): Promise { + createValidator(request: MsgCreateValidator): Promise { const data = MsgCreateValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); } - editValidator(request: MsgEditValidator): Promise { + editValidator(request: MsgEditValidator): Promise { const data = MsgEditValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); } - delegate(request: MsgDelegate): Promise { + delegate(request: MsgDelegate): Promise { const data = MsgDelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); } - beginRedelegate(request: MsgBeginRedelegate): Promise { + beginRedelegate(request: MsgBeginRedelegate): Promise { const data = MsgBeginRedelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); } - undelegate(request: MsgUndelegate): Promise { + undelegate(request: MsgUndelegate): Promise { const data = MsgUndelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts index b30ab0eba..06b309369 100644 --- a/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts @@ -3,28 +3,28 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { - description: Description | undefined; - commission: CommissionRates | undefined; + description?: Description | undefined; + commission?: CommissionRates | undefined; minSelfDelegation: string; delegatorAddress: string; validatorAddress: string; - pubkey: Any | undefined; - value: Coin | undefined; + pubkey?: Any | undefined; + value?: Coin | undefined; } /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidatorSDKType { - description: DescriptionSDKType | undefined; - commission: CommissionRatesSDKType | undefined; + description?: DescriptionSDKType | undefined; + commission?: CommissionRatesSDKType | undefined; min_self_delegation: string; delegator_address: string; validator_address: string; - pubkey: AnySDKType | undefined; - value: CoinSDKType | undefined; + pubkey?: AnySDKType | undefined; + value?: CoinSDKType | undefined; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ @@ -35,7 +35,7 @@ export interface MsgCreateValidatorResponseSDKType {} /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidator { - description: Description | undefined; + description?: Description | undefined; validatorAddress: string; /** * We pass a reference to the new commission rate and min self delegation as @@ -50,7 +50,7 @@ export interface MsgEditValidator { /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidatorSDKType { - description: DescriptionSDKType | undefined; + description?: DescriptionSDKType | undefined; validator_address: string; /** * We pass a reference to the new commission rate and min self delegation as @@ -76,7 +76,7 @@ export interface MsgEditValidatorResponseSDKType {} export interface MsgDelegate { delegatorAddress: string; validatorAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgDelegate defines a SDK message for performing a delegation of coins @@ -86,7 +86,7 @@ export interface MsgDelegate { export interface MsgDelegateSDKType { delegator_address: string; validator_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgDelegateResponse defines the Msg/Delegate response type. */ @@ -103,7 +103,7 @@ export interface MsgBeginRedelegate { delegatorAddress: string; validatorSrcAddress: string; validatorDstAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation @@ -114,17 +114,17 @@ export interface MsgBeginRedelegateSDKType { delegator_address: string; validator_src_address: string; validator_dst_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponse { - completionTime: Date | undefined; + completionTime?: Date | undefined; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponseSDKType { - completion_time: Date | undefined; + completion_time?: Date | undefined; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a @@ -134,7 +134,7 @@ export interface MsgBeginRedelegateResponseSDKType { export interface MsgUndelegate { delegatorAddress: string; validatorAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a @@ -144,17 +144,17 @@ export interface MsgUndelegate { export interface MsgUndelegateSDKType { delegator_address: string; validator_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponse { - completionTime: Date | undefined; + completionTime?: Date | undefined; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponseSDKType { - completion_time: Date | undefined; + completion_time?: Date | undefined; } function createBaseMsgCreateValidator(): MsgCreateValidator { @@ -271,7 +271,7 @@ export const MsgCreateValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateValidatorResponse(); @@ -380,7 +380,7 @@ export const MsgEditValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgEditValidatorResponse(); @@ -479,7 +479,7 @@ export const MsgDelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDelegateResponse(); @@ -594,7 +594,7 @@ export const MsgBeginRedelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgBeginRedelegateResponse(); @@ -704,7 +704,7 @@ export const MsgUndelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUndelegateResponse(); diff --git a/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts index eadcf8f00..997f72a7b 100644 --- a/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ b/examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -1,7 +1,7 @@ import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * SignMode represents a signing mode with its own security guarantees. * @@ -143,8 +143,9 @@ export function signModeToJSON(object: SignMode): string { case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: return "SIGN_MODE_LEGACY_AMINO_JSON"; + case SignMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** SignatureDescriptors wraps multiple SignatureDescriptor's. */ @@ -168,8 +169,8 @@ export interface SignatureDescriptorsSDKType { export interface SignatureDescriptor { /** public_key is the public key of the signer */ - publicKey: Any | undefined; - data: SignatureDescriptor_Data | undefined; + publicKey?: Any | undefined; + data?: SignatureDescriptor_Data | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to prevent @@ -187,8 +188,8 @@ export interface SignatureDescriptor { export interface SignatureDescriptorSDKType { /** public_key is the public key of the signer */ - public_key: AnySDKType | undefined; - data: SignatureDescriptor_DataSDKType | undefined; + public_key?: AnySDKType | undefined; + data?: SignatureDescriptor_DataSDKType | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to prevent @@ -237,7 +238,7 @@ export interface SignatureDescriptor_Data_SingleSDKType { export interface SignatureDescriptor_Data_Multi { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray | undefined; + bitarray?: CompactBitArray | undefined; /** signatures is the signatures of the multi-signature */ signatures: SignatureDescriptor_Data[]; @@ -246,7 +247,7 @@ export interface SignatureDescriptor_Data_Multi { export interface SignatureDescriptor_Data_MultiSDKType { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArraySDKType | undefined; + bitarray?: CompactBitArraySDKType | undefined; /** signatures is the signatures of the multi-signature */ signatures: SignatureDescriptor_DataSDKType[]; diff --git a/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts index b43b23467..ee31b21e5 100644 --- a/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; export class LCDQueryClient { @@ -46,7 +46,7 @@ export class LCDQueryClient { } /* GetBlockWithTxs fetches a block with decoded txs. - Since: cosmos-sdk 0.45.2 */ + Since: cosmos-sdk 0.45.2 */ async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts index 471e256d8..4c7049ca6 100644 --- a/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -1,27 +1,28 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { SimulateRequest, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; -/** Service defines the RPC service */ +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(request: SimulateRequest): Promise; - /*Simulate simulates executing a transaction for estimating gas usage.*/ + /** Simulate simulates executing a transaction for estimating gas usage. */ + simulate(request: SimulateRequest): Promise; + /** GetTx fetches a tx by hash. */ - getTx(request: GetTxRequest): Promise; - /*GetTx fetches a tx by hash.*/ + getTx(request: GetTxRequest): Promise; + /** BroadcastTx broadcast transaction. */ - broadcastTx(request: BroadcastTxRequest): Promise; - /*BroadcastTx broadcast transaction.*/ + broadcastTx(request: BroadcastTxRequest): Promise; + /** GetTxsEvent fetches txs by event. */ - getTxsEvent(request: GetTxsEventRequest): Promise; - /*GetTxsEvent fetches txs by event.*/ - - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; - /*GetBlockWithTxs fetches a block with decoded txs. - - Since: cosmos-sdk 0.45.2*/ + getTxsEvent(request: GetTxsEventRequest): Promise; + /** + * GetBlockWithTxs fetches a block with decoded txs. + * + * Since: cosmos-sdk 0.45.2 + */ + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; } export class QueryClientImpl implements Service { private readonly rpc: Rpc; @@ -35,31 +36,31 @@ export class QueryClientImpl implements Service { this.getBlockWithTxs = this.getBlockWithTxs.bind(this); } - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { const data = SimulateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); } - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { const data = GetTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); } - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { const data = BroadcastTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); } - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { const data = GetTxsEventRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); } - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { const data = GetBlockWithTxsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); @@ -70,23 +71,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { return queryService.simulate(request); }, - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { return queryService.getTx(request); }, - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { return queryService.broadcastTx(request); }, - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { return queryService.getTxsEvent(request); }, - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { return queryService.getBlockWithTxs(request); } diff --git a/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts index 3efecb9a6..803ff3623 100644 --- a/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/service.ts @@ -4,7 +4,7 @@ import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultS import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; import { Block, BlockSDKType } from "../../../tendermint/types/block"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** OrderBy defines the sorting order */ export enum OrderBy { @@ -62,8 +62,9 @@ export function orderByToJSON(object: OrderBy): string { case OrderBy.ORDER_BY_DESC: return "ORDER_BY_DESC"; + case OrderBy.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ @@ -154,8 +155,9 @@ export function broadcastModeToJSON(object: BroadcastMode): string { case BroadcastMode.BROADCAST_MODE_ASYNC: return "BROADCAST_MODE_ASYNC"; + case BroadcastMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -165,11 +167,11 @@ export function broadcastModeToJSON(object: BroadcastMode): string { export interface GetTxsEventRequest { /** events is the list of transaction event type. */ - events?: string[]; + events: string[]; /** pagination defines a pagination for the request. */ pagination?: PageRequest | undefined; - orderBy?: OrderBy; + orderBy: OrderBy; } /** * GetTxsEventRequest is the request type for the Service.TxsByEvents @@ -178,11 +180,11 @@ export interface GetTxsEventRequest { export interface GetTxsEventRequestSDKType { /** events is the list of transaction event type. */ - events?: string[]; + events: string[]; /** pagination defines a pagination for the request. */ pagination?: PageRequestSDKType | undefined; - order_by?: OrderBySDKType; + order_by: OrderBySDKType; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents @@ -241,7 +243,7 @@ export interface BroadcastTxRequestSDKType { export interface BroadcastTxResponse { /** tx_response is the queried TxResponses. */ - txResponse: TxResponse | undefined; + txResponse?: TxResponse | undefined; } /** * BroadcastTxResponse is the response type for the @@ -250,7 +252,7 @@ export interface BroadcastTxResponse { export interface BroadcastTxResponseSDKType { /** tx_response is the queried TxResponses. */ - tx_response: TxResponseSDKType | undefined; + tx_response?: TxResponseSDKType | undefined; } /** * SimulateRequest is the request type for the Service.Simulate @@ -264,7 +266,7 @@ export interface SimulateRequest { */ /** @deprecated */ - tx: Tx | undefined; + tx?: Tx | undefined; /** * tx_bytes is the raw transaction. * @@ -285,7 +287,7 @@ export interface SimulateRequestSDKType { */ /** @deprecated */ - tx: TxSDKType | undefined; + tx?: TxSDKType | undefined; /** * tx_bytes is the raw transaction. * @@ -301,10 +303,10 @@ export interface SimulateRequestSDKType { export interface SimulateResponse { /** gas_info is the information about gas used in the simulation. */ - gasInfo: GasInfo | undefined; + gasInfo?: GasInfo | undefined; /** result is the result of the simulation. */ - result: Result | undefined; + result?: Result | undefined; } /** * SimulateResponse is the response type for the @@ -313,10 +315,10 @@ export interface SimulateResponse { export interface SimulateResponseSDKType { /** gas_info is the information about gas used in the simulation. */ - gas_info: GasInfoSDKType | undefined; + gas_info?: GasInfoSDKType | undefined; /** result is the result of the simulation. */ - result: ResultSDKType | undefined; + result?: ResultSDKType | undefined; } /** * GetTxRequest is the request type for the Service.GetTx @@ -340,19 +342,19 @@ export interface GetTxRequestSDKType { export interface GetTxResponse { /** tx is the queried transaction. */ - tx: Tx | undefined; + tx?: Tx | undefined; /** tx_response is the queried TxResponses. */ - txResponse: TxResponse | undefined; + txResponse?: TxResponse | undefined; } /** GetTxResponse is the response type for the Service.GetTx method. */ export interface GetTxResponseSDKType { /** tx is the queried transaction. */ - tx: TxSDKType | undefined; + tx?: TxSDKType | undefined; /** tx_response is the queried TxResponses. */ - tx_response: TxResponseSDKType | undefined; + tx_response?: TxResponseSDKType | undefined; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs @@ -391,8 +393,8 @@ export interface GetBlockWithTxsRequestSDKType { export interface GetBlockWithTxsResponse { /** txs are the transactions in the block. */ txs: Tx[]; - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; /** pagination defines a pagination for the response. */ pagination?: PageResponse | undefined; @@ -406,8 +408,8 @@ export interface GetBlockWithTxsResponse { export interface GetBlockWithTxsResponseSDKType { /** txs are the transactions in the block. */ txs: TxSDKType[]; - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; /** pagination defines a pagination for the response. */ pagination?: PageResponseSDKType | undefined; @@ -503,7 +505,7 @@ export const GetTxsEventResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxsEventResponse(); @@ -613,7 +615,7 @@ export const BroadcastTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBroadcastTxResponse(); @@ -718,7 +720,7 @@ export const SimulateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSimulateResponse(); @@ -818,7 +820,7 @@ export const GetTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxResponse(); @@ -938,7 +940,7 @@ export const GetBlockWithTxsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockWithTxsResponse(); diff --git a/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts index 72017ddfe..a2484a3e8 100644 --- a/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts @@ -3,18 +3,18 @@ import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Tx is the standard type used for broadcasting transactions. */ export interface Tx { /** body is the processable content of the transaction */ - body: TxBody | undefined; + body?: TxBody | undefined; /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - authInfo: AuthInfo | undefined; + authInfo?: AuthInfo | undefined; /** * signatures is a list of signatures that matches the length and order of * AuthInfo's signer_infos to allow connecting signature meta information like @@ -27,13 +27,13 @@ export interface Tx { export interface TxSDKType { /** body is the processable content of the transaction */ - body: TxBodySDKType | undefined; + body?: TxBodySDKType | undefined; /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - auth_info: AuthInfoSDKType | undefined; + auth_info?: AuthInfoSDKType | undefined; /** * signatures is a list of signatures that matches the length and order of * AuthInfo's signer_infos to allow connecting signature meta information like @@ -163,7 +163,7 @@ export interface SignDocDirectAux { bodyBytes: Uint8Array; /** public_key is the public key of the signing account. */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * chain_id is the identifier of the chain this transaction targets. * It prevents signed transactions from being used on another chain by an @@ -182,7 +182,7 @@ export interface SignDocDirectAux { * empty if the signer is not the tipper for this transaction. */ - tip: Tip | undefined; + tip?: Tip | undefined; } /** * SignDocDirectAux is the type used for generating sign bytes for @@ -199,7 +199,7 @@ export interface SignDocDirectAuxSDKType { body_bytes: Uint8Array; /** public_key is the public key of the signing account. */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * chain_id is the identifier of the chain this transaction targets. * It prevents signed transactions from being used on another chain by an @@ -218,7 +218,7 @@ export interface SignDocDirectAuxSDKType { * empty if the signer is not the tipper for this transaction. */ - tip: TipSDKType | undefined; + tip?: TipSDKType | undefined; } /** TxBody is the body of a transaction that all signers sign over. */ @@ -322,14 +322,14 @@ export interface AuthInfo { * of the signers. This can be estimated via simulation. */ - fee: Fee | undefined; + fee?: Fee | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ - tip: Tip | undefined; + tip?: Tip | undefined; } /** * AuthInfo describes the fee and signer modes that are used to sign a @@ -351,14 +351,14 @@ export interface AuthInfoSDKType { * of the signers. This can be estimated via simulation. */ - fee: FeeSDKType | undefined; + fee?: FeeSDKType | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ - tip: TipSDKType | undefined; + tip?: TipSDKType | undefined; } /** * SignerInfo describes the public key and signing mode of a single top-level @@ -371,13 +371,13 @@ export interface SignerInfo { * 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 | undefined; + publicKey?: Any | undefined; /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - modeInfo: ModeInfo | undefined; + modeInfo?: ModeInfo | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to @@ -397,13 +397,13 @@ export interface SignerInfoSDKType { * 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: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - mode_info: ModeInfoSDKType | undefined; + mode_info?: ModeInfoSDKType | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to @@ -454,7 +454,7 @@ export interface ModeInfo_SingleSDKType { export interface ModeInfo_Multi { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray | undefined; + bitarray?: CompactBitArray | undefined; /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys @@ -466,7 +466,7 @@ export interface ModeInfo_Multi { export interface ModeInfo_MultiSDKType { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArraySDKType | undefined; + bitarray?: CompactBitArraySDKType | undefined; /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys @@ -582,7 +582,7 @@ export interface AuxSignerData { * LEGACY_AMINO_JSON. */ - signDoc: SignDocDirectAux | undefined; + signDoc?: SignDocDirectAux | undefined; /** mode is the signing mode of the single signer */ mode: SignMode; @@ -612,7 +612,7 @@ export interface AuxSignerDataSDKType { * LEGACY_AMINO_JSON. */ - sign_doc: SignDocDirectAuxSDKType | undefined; + sign_doc?: SignDocDirectAuxSDKType | undefined; /** mode is the signing mode of the single signer */ mode: SignModeSDKType; diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts index 3aca684bf..36a7cf66c 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -30,11 +30,11 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* 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) */ + 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) */ async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { @@ -43,7 +43,7 @@ export class LCDQueryClient { } /* ModuleVersions queries the list of module versions from state. - Since: cosmos-sdk 0.43 */ + Since: cosmos-sdk 0.43 */ async moduleVersions(params: QueryModuleVersionsRequest): Promise { diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts index 34c05ab53..d2cea4ed8 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -1,32 +1,35 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +/** Query defines the gRPC upgrade querier service. */ export interface Query { - currentPlan(request?: QueryCurrentPlanRequest): Promise; - /*CurrentPlan queries the current upgrade plan.*/ - - appliedPlan(request: QueryAppliedPlanRequest): Promise; - /*AppliedPlan queries a previously applied upgrade plan by its name.*/ - - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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)*/ - - moduleVersions(request: QueryModuleVersionsRequest): Promise; - /*ModuleVersions queries the list of module versions from state. - - Since: cosmos-sdk 0.43*/ - - authority(request?: QueryAuthorityRequest): Promise; - /*Returns the account with authority to conduct upgrades*/ - + /** 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 */ + + authority(request?: QueryAuthorityRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -40,31 +43,31 @@ export class QueryClientImpl implements Query { this.authority = this.authority.bind(this); } - currentPlan(request: QueryCurrentPlanRequest = {}): Promise { + currentPlan(request: QueryCurrentPlanRequest = {}): Promise { const data = QueryCurrentPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); } - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { const data = QueryAppliedPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { const data = QueryModuleVersionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); } - authority(request: QueryAuthorityRequest = {}): Promise { + authority(request: QueryAuthorityRequest = {}): Promise { const data = QueryAuthorityRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); @@ -75,23 +78,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - currentPlan(request?: QueryCurrentPlanRequest): Promise { + currentPlan(request?: QueryCurrentPlanRequest): Promise { return queryService.currentPlan(request); }, - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { return queryService.appliedPlan(request); }, - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { return queryService.upgradedConsensusState(request); }, - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { return queryService.moduleVersions(request); }, - authority(request?: QueryAuthorityRequest): Promise { + authority(request?: QueryAuthorityRequest): Promise { return queryService.authority(request); } diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts index 7c24ea003..ac180c2e8 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts @@ -1,6 +1,6 @@ import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC * method. @@ -20,7 +20,7 @@ export interface QueryCurrentPlanRequestSDKType {} export interface QueryCurrentPlanResponse { /** plan is the current upgrade plan. */ - plan: Plan | undefined; + plan?: Plan | undefined; } /** * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC @@ -29,7 +29,7 @@ export interface QueryCurrentPlanResponse { export interface QueryCurrentPlanResponseSDKType { /** plan is the current upgrade plan. */ - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC @@ -130,7 +130,7 @@ export interface QueryModuleVersionsRequest { * consensus version from state. Leaving this empty will * fetch the full list of module versions from state */ - moduleName?: string; + moduleName: string; } /** * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions @@ -145,7 +145,7 @@ export interface QueryModuleVersionsRequestSDKType { * consensus version from state. Leaving this empty will * fetch the full list of module versions from state */ - module_name?: string; + module_name: string; } /** * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions @@ -251,7 +251,7 @@ export const QueryCurrentPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCurrentPlanResponse(); @@ -341,7 +341,7 @@ export const QueryAppliedPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppliedPlanResponse(); @@ -431,7 +431,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -521,7 +521,7 @@ export const QueryModuleVersionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleVersionsResponse(); @@ -600,7 +600,7 @@ export const QueryAuthorityResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAuthorityResponse(); diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts index d2da342c9..b5e65f6d7 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export interface AminoMsgSoftwareUpgrade extends AminoMsg { type: "cosmos-sdk/MsgSoftwareUpgrade"; diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts index 811997785..901bdbd02 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -1,20 +1,23 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeResponse, MsgCancelUpgradeResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; +/** Msg defines the upgrade Msg service. */ export interface Msg { - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - /*SoftwareUpgrade is a governance operation for initiating a software upgrade. - - Since: cosmos-sdk 0.46*/ - - cancelUpgrade(request: MsgCancelUpgrade): Promise; - /*CancelUpgrade is a governance operation for cancelling a previously - approvid software upgrade. - - Since: cosmos-sdk 0.46*/ + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -25,13 +28,13 @@ export class MsgClientImpl implements Msg { this.cancelUpgrade = this.cancelUpgrade.bind(this); } - softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { const data = MsgSoftwareUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); } - cancelUpgrade(request: MsgCancelUpgrade): Promise { + cancelUpgrade(request: MsgCancelUpgrade): Promise { const data = MsgCancelUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts index 3145691df..f1a8f5c16 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -11,7 +11,7 @@ export interface MsgSoftwareUpgrade { authority: string; /** plan is the upgrade plan. */ - plan: Plan | undefined; + plan?: Plan | undefined; } /** * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. @@ -24,7 +24,7 @@ export interface MsgSoftwareUpgradeSDKType { authority: string; /** plan is the upgrade plan. */ - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. @@ -139,7 +139,7 @@ export const MsgSoftwareUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSoftwareUpgradeResponse(); @@ -218,7 +218,7 @@ export const MsgCancelUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCancelUpgradeResponse(); diff --git a/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts index 9d0277f7d..0b2cc8456 100644 --- a/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ b/examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -1,7 +1,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** Plan specifies information about a planned upgrade and when it should occur. */ export interface Plan { @@ -23,7 +23,7 @@ export interface Plan { /** @deprecated */ - time: Date | undefined; + time?: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. @@ -44,7 +44,7 @@ export interface Plan { /** @deprecated */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** Plan specifies information about a planned upgrade and when it should occur. */ @@ -67,7 +67,7 @@ export interface PlanSDKType { /** @deprecated */ - time: Date | undefined; + time?: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. @@ -88,7 +88,7 @@ export interface PlanSDKType { /** @deprecated */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * SoftwareUpgradeProposal is a gov Content type for initiating a software @@ -102,7 +102,7 @@ export interface PlanSDKType { export interface SoftwareUpgradeProposal { title: string; description: string; - plan: Plan | undefined; + plan?: Plan | undefined; } /** * SoftwareUpgradeProposal is a gov Content type for initiating a software @@ -116,7 +116,7 @@ export interface SoftwareUpgradeProposal { export interface SoftwareUpgradeProposalSDKType { title: string; description: string; - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts index b18fb9244..5f402b993 100644 --- a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; export interface AminoMsgCreateVestingAccount extends AminoMsg { type: "cosmos-sdk/MsgCreateVestingAccount"; diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts index 93df90012..f0728ea1c 100644 --- a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -1,21 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreateVestingAccountResponseSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePermanentLockedAccountResponseSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse, MsgCreatePeriodicVestingAccountResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - createVestingAccount(request: MsgCreateVestingAccount): Promise; - /*CreateVestingAccount defines a method that enables creating a vesting - account.*/ - - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - /*CreatePermanentLockedAccount defines a method that enables creating a permanent - locked account.*/ - - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; - /*CreatePeriodicVestingAccount defines a method that enables creating a - periodic vesting account.*/ - + /** + * 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. + */ + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + /** + * CreatePeriodicVestingAccount defines a method that enables creating a + * periodic vesting account. + */ + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -27,19 +32,19 @@ export class MsgClientImpl implements Msg { this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); } - createVestingAccount(request: MsgCreateVestingAccount): Promise { + createVestingAccount(request: MsgCreateVestingAccount): Promise { const data = MsgCreateVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); } - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { const data = MsgCreatePermanentLockedAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); } - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts index fecca127f..2fe5e8f83 100644 --- a/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts @@ -1,7 +1,7 @@ import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Period, PeriodSDKType } from "./vesting"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. @@ -187,7 +187,7 @@ export const MsgCreateVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateVestingAccountResponse(); @@ -286,7 +286,7 @@ export const MsgCreatePermanentLockedAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePermanentLockedAccountResponse(); @@ -395,7 +395,7 @@ export const MsgCreatePeriodicVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePeriodicVestingAccountResponse(); diff --git a/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts index a0c25a632..759944a84 100644 --- a/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts +++ b/examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -1,14 +1,14 @@ import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ export interface BaseVestingAccount { - baseAccount: BaseAccount | undefined; + baseAccount?: BaseAccount | undefined; originalVesting: Coin[]; delegatedFree: Coin[]; delegatedVesting: Coin[]; @@ -20,7 +20,7 @@ export interface BaseVestingAccount { */ export interface BaseVestingAccountSDKType { - base_account: BaseAccountSDKType | undefined; + base_account?: BaseAccountSDKType | undefined; original_vesting: CoinSDKType[]; delegated_free: CoinSDKType[]; delegated_vesting: CoinSDKType[]; @@ -32,7 +32,7 @@ export interface BaseVestingAccountSDKType { */ export interface ContinuousVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; startTime: Long; } /** @@ -41,7 +41,7 @@ export interface ContinuousVestingAccount { */ export interface ContinuousVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; start_time: Long; } /** @@ -51,7 +51,7 @@ export interface ContinuousVestingAccountSDKType { */ export interface DelayedVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; } /** * DelayedVestingAccount implements the VestingAccount interface. It vests all @@ -60,7 +60,7 @@ export interface DelayedVestingAccount { */ export interface DelayedVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; } /** Period defines a length of time and amount of coins that will vest. */ @@ -80,7 +80,7 @@ export interface PeriodSDKType { */ export interface PeriodicVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; startTime: Long; vestingPeriods: Period[]; } @@ -90,7 +90,7 @@ export interface PeriodicVestingAccount { */ export interface PeriodicVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; start_time: Long; vesting_periods: PeriodSDKType[]; } @@ -103,7 +103,7 @@ export interface PeriodicVestingAccountSDKType { */ export interface PermanentLockedAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; } /** * PermanentLockedAccount implements the VestingAccount interface. It does @@ -114,7 +114,7 @@ export interface PermanentLockedAccount { */ export interface PermanentLockedAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; } function createBaseBaseVestingAccount(): BaseVestingAccount { diff --git a/examples/contracts/codegen/cosmos_proto/cosmos.ts b/examples/contracts/codegen/cosmos_proto/cosmos.ts index 39f468489..c5e1c290a 100644 --- a/examples/contracts/codegen/cosmos_proto/cosmos.ts +++ b/examples/contracts/codegen/cosmos_proto/cosmos.ts @@ -42,8 +42,9 @@ export function scalarTypeToJSON(object: ScalarType): string { case ScalarType.SCALAR_TYPE_BYTES: return "SCALAR_TYPE_BYTES"; + case ScalarType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** diff --git a/examples/contracts/codegen/cosmwasm/bundle.ts b/examples/contracts/codegen/cosmwasm/bundle.ts index 20c8556e3..2cf6fe383 100644 --- a/examples/contracts/codegen/cosmwasm/bundle.ts +++ b/examples/contracts/codegen/cosmwasm/bundle.ts @@ -4,14 +4,14 @@ import * as _96 from "./wasm/v1/proposal"; import * as _97 from "./wasm/v1/query"; import * as _98 from "./wasm/v1/tx"; import * as _99 from "./wasm/v1/types"; -import * as _223 from "./wasm/v1/tx.amino"; -import * as _224 from "./wasm/v1/tx.registry"; -import * as _225 from "./wasm/v1/query.lcd"; -import * as _226 from "./wasm/v1/query.rpc.query"; -import * as _227 from "./wasm/v1/tx.rpc.msg"; -import * as _252 from "./lcd"; -import * as _253 from "./rpc.query"; -import * as _254 from "./rpc.tx"; +import * as _220 from "./wasm/v1/tx.amino"; +import * as _221 from "./wasm/v1/tx.registry"; +import * as _222 from "./wasm/v1/query.lcd"; +import * as _223 from "./wasm/v1/query.rpc.query"; +import * as _224 from "./wasm/v1/tx.rpc.msg"; +import * as _249 from "./lcd"; +import * as _250 from "./rpc.query"; +import * as _251 from "./rpc.tx"; export namespace cosmwasm { export namespace wasm { export const v1 = { ..._94, @@ -20,15 +20,15 @@ export namespace cosmwasm { ..._97, ..._98, ..._99, + ..._220, + ..._221, + ..._222, ..._223, - ..._224, - ..._225, - ..._226, - ..._227 + ..._224 }; } - export const ClientFactory = { ..._252, - ..._253, - ..._254 + export const ClientFactory = { ..._249, + ..._250, + ..._251 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/cosmwasm/client.ts b/examples/contracts/codegen/cosmwasm/client.ts index a917b15c5..2fbbb0251 100644 --- a/examples/contracts/codegen/cosmwasm/client.ts +++ b/examples/contracts/codegen/cosmwasm/client.ts @@ -2,6 +2,9 @@ import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; +export const cosmwasmAminoConverters = { ...cosmwasmWasmV1TxAmino.AminoConverter +}; +export const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmwasmWasmV1TxRegistry.registry]; export const getSigningCosmwasmClientOptions = ({ defaultTypes = defaultRegistryTypes }: { @@ -10,8 +13,8 @@ export const getSigningCosmwasmClientOptions = ({ registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...defaultTypes, ...cosmwasmWasmV1TxRegistry.registry]); - const aminoTypes = new AminoTypes({ ...cosmwasmWasmV1TxAmino.AminoConverter + const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmwasmAminoConverters }); return { registry, diff --git a/examples/contracts/codegen/cosmwasm/rpc.tx.ts b/examples/contracts/codegen/cosmwasm/rpc.tx.ts index 5424c674f..e0ff07d48 100644 --- a/examples/contracts/codegen/cosmwasm/rpc.tx.ts +++ b/examples/contracts/codegen/cosmwasm/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts index 8c401bfac..3cdd11cee 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts @@ -1,11 +1,11 @@ import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState - genesis state of x/wasm */ export interface GenesisState { - params: Params | undefined; + params?: Params | undefined; codes: Code[]; contracts: Contract[]; sequences: Sequence[]; @@ -14,7 +14,7 @@ export interface GenesisState { /** GenesisState - genesis state of x/wasm */ export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; codes: CodeSDKType[]; contracts: ContractSDKType[]; sequences: SequenceSDKType[]; @@ -44,7 +44,7 @@ export interface GenesisState_GenMsgsSDKType { export interface Code { codeId: Long; - codeInfo: CodeInfo | undefined; + codeInfo?: CodeInfo | undefined; codeBytes: Uint8Array; /** Pinned to wasmvm cache */ @@ -54,7 +54,7 @@ export interface Code { export interface CodeSDKType { code_id: Long; - code_info: CodeInfoSDKType | undefined; + code_info?: CodeInfoSDKType | undefined; code_bytes: Uint8Array; /** Pinned to wasmvm cache */ @@ -64,14 +64,14 @@ export interface CodeSDKType { export interface Contract { contractAddress: string; - contractInfo: ContractInfo | undefined; + contractInfo?: ContractInfo | undefined; contractState: Model[]; } /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ export interface ContractSDKType { contract_address: string; - contract_info: ContractInfoSDKType | undefined; + contract_info?: ContractInfoSDKType | undefined; contract_state: ModelSDKType[]; } /** Sequence key and value of an id generation counter */ diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts index d37f6fded..1c93c6db0 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** MsgIBCSend */ export interface MsgIBCSend { diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts index 48adea786..4ff447cef 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts @@ -1,7 +1,7 @@ import { AccessConfig, AccessConfigSDKType } from "./types"; import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ export interface StoreCodeProposal { @@ -18,7 +18,7 @@ export interface StoreCodeProposal { wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ - instantiatePermission: AccessConfig | undefined; + instantiatePermission?: AccessConfig | undefined; } /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ @@ -36,7 +36,7 @@ export interface StoreCodeProposalSDKType { wasm_byte_code: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ - instantiate_permission: AccessConfigSDKType | undefined; + instantiate_permission?: AccessConfigSDKType | undefined; } /** * InstantiateContractProposal gov proposal content type to instantiate a diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts index 17db7e020..6079083b4 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts index 1ee240045..18b107d1e 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -1,37 +1,36 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - contractInfo(request: QueryContractInfoRequest): Promise; - /*ContractInfo gets the contract meta data*/ + /** ContractInfo gets the contract meta data */ + contractInfo(request: QueryContractInfoRequest): Promise; + /** ContractHistory gets the contract code history */ - contractHistory(request: QueryContractHistoryRequest): Promise; - /*ContractHistory gets the contract code history*/ + contractHistory(request: QueryContractHistoryRequest): Promise; + /** ContractsByCode lists all smart contracts for a code id */ - contractsByCode(request: QueryContractsByCodeRequest): Promise; - /*ContractsByCode lists all smart contracts for a code id*/ + contractsByCode(request: QueryContractsByCodeRequest): Promise; + /** AllContractState gets all raw store data for a single contract */ - allContractState(request: QueryAllContractStateRequest): Promise; - /*AllContractState gets all raw store data for a single contract*/ + allContractState(request: QueryAllContractStateRequest): Promise; + /** RawContractState gets single key from the raw store data of a contract */ - rawContractState(request: QueryRawContractStateRequest): Promise; - /*RawContractState gets single key from the raw store data of a contract*/ + rawContractState(request: QueryRawContractStateRequest): Promise; + /** SmartContractState get smart query result from the contract */ - smartContractState(request: QuerySmartContractStateRequest): Promise; - /*SmartContractState get smart query result from the contract*/ + smartContractState(request: QuerySmartContractStateRequest): Promise; + /** Code gets the binary code and metadata for a singe wasm code */ - code(request: QueryCodeRequest): Promise; - /*Code gets the binary code and metadata for a singe wasm code*/ + code(request: QueryCodeRequest): Promise; + /** Codes gets the metadata for all stored wasm codes */ - codes(request?: QueryCodesRequest): Promise; - /*Codes gets the metadata for all stored wasm codes*/ - - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; - /*PinnedCodes gets the pinned code ids*/ + codes(request?: QueryCodesRequest): Promise; + /** PinnedCodes gets the pinned code ids */ + pinnedCodes(request?: QueryPinnedCodesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -49,43 +48,43 @@ export class QueryClientImpl implements Query { this.pinnedCodes = this.pinnedCodes.bind(this); } - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { const data = QueryContractInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); } - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { const data = QueryContractHistoryRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); } - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { const data = QueryContractsByCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); } - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { const data = QueryAllContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); } - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { const data = QueryRawContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); } - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { const data = QuerySmartContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); } - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { const data = QueryCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); @@ -93,7 +92,7 @@ export class QueryClientImpl implements Query { codes(request: QueryCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); @@ -101,7 +100,7 @@ export class QueryClientImpl implements Query { pinnedCodes(request: QueryPinnedCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryPinnedCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); @@ -112,39 +111,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { return queryService.contractInfo(request); }, - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { return queryService.contractHistory(request); }, - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { return queryService.contractsByCode(request); }, - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { return queryService.allContractState(request); }, - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { return queryService.rawContractState(request); }, - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { return queryService.smartContractState(request); }, - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { return queryService.code(request); }, - codes(request?: QueryCodesRequest): Promise { + codes(request?: QueryCodesRequest): Promise { return queryService.codes(request); }, - pinnedCodes(request?: QueryPinnedCodesRequest): Promise { + pinnedCodes(request?: QueryPinnedCodesRequest): Promise { return queryService.pinnedCodes(request); } diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts index a844178e5..8636ec5a0 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC * method @@ -28,7 +28,7 @@ export interface QueryContractInfoRequestSDKType { export interface QueryContractInfoResponse { /** address is the address of the contract */ address: string; - contractInfo: ContractInfo | undefined; + contractInfo?: ContractInfo | undefined; } /** * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC @@ -38,7 +38,7 @@ export interface QueryContractInfoResponse { export interface QueryContractInfoResponseSDKType { /** address is the address of the contract */ address: string; - contract_info: ContractInfoSDKType | undefined; + contract_info?: ContractInfoSDKType | undefined; } /** * QueryContractHistoryRequest is the request type for the Query/ContractHistory @@ -291,13 +291,13 @@ export interface CodeInfoResponseSDKType { /** QueryCodeResponse is the response type for the Query/Code RPC method */ export interface QueryCodeResponse { - codeInfo: CodeInfoResponse | undefined; + codeInfo?: CodeInfoResponse | undefined; data: Uint8Array; } /** QueryCodeResponse is the response type for the Query/Code RPC method */ export interface QueryCodeResponseSDKType { - code_info: CodeInfoResponseSDKType | undefined; + code_info?: CodeInfoResponseSDKType | undefined; data: Uint8Array; } /** QueryCodesRequest is the request type for the Query/Codes RPC method */ @@ -434,7 +434,7 @@ export const QueryContractInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractInfoResponse(); @@ -544,7 +544,7 @@ export const QueryContractHistoryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractHistoryResponse(); @@ -654,7 +654,7 @@ export const QueryContractsByCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractsByCodeResponse(); @@ -764,7 +764,7 @@ export const QueryAllContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllContractStateResponse(); @@ -869,7 +869,7 @@ export const QueryRawContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRawContractStateResponse(); @@ -969,7 +969,7 @@ export const QuerySmartContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySmartContractStateResponse(); @@ -1129,7 +1129,7 @@ export const QueryCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodeResponse(); @@ -1229,7 +1229,7 @@ export const QueryCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodesResponse(); @@ -1333,7 +1333,7 @@ export const QueryPinnedCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPinnedCodesResponse(); diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts index 2ae5a5b9f..de8d2731e 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -1,7 +1,7 @@ import { accessTypeFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; export interface AminoMsgStoreCode extends AminoMsg { type: "wasm/MsgStoreCode"; diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts index 47aea6c9e..0e8007205 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -1,27 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgStoreCodeResponseSDKType, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContractResponseSDKType, MsgExecuteContract, MsgExecuteContractResponse, MsgExecuteContractResponseSDKType, MsgMigrateContract, MsgMigrateContractResponse, MsgMigrateContractResponseSDKType, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgUpdateAdminResponseSDKType, MsgClearAdmin, MsgClearAdminResponse, MsgClearAdminResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; +/** Msg defines the wasm Msg service. */ export interface Msg { - storeCode(request: MsgStoreCode): Promise; - /*StoreCode to submit Wasm code to the system*/ + /** StoreCode to submit Wasm code to the system */ + storeCode(request: MsgStoreCode): Promise; + /** Instantiate creates a new smart contract instance for the given code id. */ - instantiateContract(request: MsgInstantiateContract): Promise; - /*Instantiate creates a new smart contract instance for the given code id.*/ + instantiateContract(request: MsgInstantiateContract): Promise; + /** Execute submits the given message data to a smart contract */ - executeContract(request: MsgExecuteContract): Promise; - /*Execute submits the given message data to a smart contract*/ + executeContract(request: MsgExecuteContract): Promise; + /** Migrate runs a code upgrade/ downgrade for a smart contract */ - migrateContract(request: MsgMigrateContract): Promise; - /*Migrate runs a code upgrade/ downgrade for a smart contract*/ + migrateContract(request: MsgMigrateContract): Promise; + /** UpdateAdmin sets a new admin for a smart contract */ - updateAdmin(request: MsgUpdateAdmin): Promise; - /*UpdateAdmin sets a new admin for a smart contract*/ - - clearAdmin(request: MsgClearAdmin): Promise; - /*ClearAdmin removes any admin stored for a smart contract*/ + updateAdmin(request: MsgUpdateAdmin): Promise; + /** ClearAdmin removes any admin stored for a smart contract */ + clearAdmin(request: MsgClearAdmin): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -36,37 +35,37 @@ export class MsgClientImpl implements Msg { this.clearAdmin = this.clearAdmin.bind(this); } - storeCode(request: MsgStoreCode): Promise { + storeCode(request: MsgStoreCode): Promise { const data = MsgStoreCode.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); } - instantiateContract(request: MsgInstantiateContract): Promise { + instantiateContract(request: MsgInstantiateContract): Promise { const data = MsgInstantiateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); } - executeContract(request: MsgExecuteContract): Promise { + executeContract(request: MsgExecuteContract): Promise { const data = MsgExecuteContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); } - migrateContract(request: MsgMigrateContract): Promise { + migrateContract(request: MsgMigrateContract): Promise { const data = MsgMigrateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); } - updateAdmin(request: MsgUpdateAdmin): Promise { + updateAdmin(request: MsgUpdateAdmin): Promise { const data = MsgUpdateAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); } - clearAdmin(request: MsgClearAdmin): Promise { + clearAdmin(request: MsgClearAdmin): Promise { const data = MsgClearAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts index 3932a4574..b60a7ff27 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts @@ -1,7 +1,7 @@ import { AccessConfig, AccessConfigSDKType } from "./types"; import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** MsgStoreCode submit Wasm code to the system */ export interface MsgStoreCode { @@ -15,7 +15,7 @@ export interface MsgStoreCode { * optional */ - instantiatePermission: AccessConfig | undefined; + instantiatePermission?: AccessConfig | undefined; } /** MsgStoreCode submit Wasm code to the system */ @@ -30,7 +30,7 @@ export interface MsgStoreCodeSDKType { * optional */ - instantiate_permission: AccessConfigSDKType | undefined; + instantiate_permission?: AccessConfigSDKType | undefined; } /** MsgStoreCodeResponse returns store result data. */ @@ -335,7 +335,7 @@ export const MsgStoreCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgStoreCodeResponse(); @@ -480,7 +480,7 @@ export const MsgInstantiateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgInstantiateContractResponse(); @@ -605,7 +605,7 @@ export const MsgExecuteContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecuteContractResponse(); @@ -725,7 +725,7 @@ export const MsgMigrateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMigrateContractResponse(); @@ -829,7 +829,7 @@ export const MsgUpdateAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateAdminResponse(); @@ -918,7 +918,7 @@ export const MsgClearAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgClearAdminResponse(); diff --git a/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts b/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts index 56b834240..5ca38183a 100644 --- a/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts +++ b/examples/contracts/codegen/cosmwasm/wasm/v1/types.ts @@ -1,6 +1,6 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** AccessType permission types */ export enum AccessType { @@ -71,8 +71,9 @@ export function accessTypeToJSON(object: AccessType): string { case AccessType.ACCESS_TYPE_EVERYBODY: return "ACCESS_TYPE_EVERYBODY"; + case AccessType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ContractCodeHistoryOperationType actions that caused a code change */ @@ -145,8 +146,9 @@ export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHisto case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; + case ContractCodeHistoryOperationType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** AccessTypeParam */ @@ -174,14 +176,14 @@ export interface AccessConfigSDKType { /** Params defines the set of wasm parameters. */ export interface Params { - codeUploadAccess: AccessConfig | undefined; + codeUploadAccess?: AccessConfig | undefined; instantiateDefaultPermission: AccessType; maxWasmCodeSize: Long; } /** Params defines the set of wasm parameters. */ export interface ParamsSDKType { - code_upload_access: AccessConfigSDKType | undefined; + code_upload_access?: AccessConfigSDKType | undefined; instantiate_default_permission: AccessTypeSDKType; max_wasm_code_size: Long; } @@ -195,7 +197,7 @@ export interface CodeInfo { creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ - instantiateConfig: AccessConfig | undefined; + instantiateConfig?: AccessConfig | undefined; } /** CodeInfo is data for the uploaded contract WASM code */ @@ -207,7 +209,7 @@ export interface CodeInfoSDKType { creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ - instantiate_config: AccessConfigSDKType | undefined; + instantiate_config?: AccessConfigSDKType | undefined; } /** ContractInfo stores a WASM contract instance */ @@ -229,14 +231,14 @@ export interface ContractInfo { * use for sorting */ - created: AbsoluteTxPosition | undefined; + created?: AbsoluteTxPosition | undefined; ibcPortId: string; /** * Extension is an extension point to store custom metadata within the * persistence model. */ - extension: Any | undefined; + extension?: Any | undefined; } /** ContractInfo stores a WASM contract instance */ @@ -258,14 +260,14 @@ export interface ContractInfoSDKType { * use for sorting */ - created: AbsoluteTxPositionSDKType | undefined; + created?: AbsoluteTxPositionSDKType | undefined; ibc_port_id: string; /** * Extension is an extension point to store custom metadata within the * persistence model. */ - extension: AnySDKType | undefined; + extension?: AnySDKType | undefined; } /** ContractCodeHistoryEntry metadata to a contract. */ @@ -276,7 +278,7 @@ export interface ContractCodeHistoryEntry { codeId: Long; /** Updated Tx position when the operation was executed. */ - updated: AbsoluteTxPosition | undefined; + updated?: AbsoluteTxPosition | undefined; msg: Uint8Array; } /** ContractCodeHistoryEntry metadata to a contract. */ @@ -288,7 +290,7 @@ export interface ContractCodeHistoryEntrySDKType { code_id: Long; /** Updated Tx position when the operation was executed. */ - updated: AbsoluteTxPositionSDKType | undefined; + updated?: AbsoluteTxPositionSDKType | undefined; msg: Uint8Array; } /** diff --git a/examples/contracts/codegen/google/api/http.ts b/examples/contracts/codegen/google/api/http.ts index e9b66e52a..8edd441a2 100644 --- a/examples/contracts/codegen/google/api/http.ts +++ b/examples/contracts/codegen/google/api/http.ts @@ -73,19 +73,19 @@ export interface HttpSDKType { * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -97,21 +97,21 @@ export interface HttpSDKType { * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -132,18 +132,18 @@ export interface HttpSDKType { * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -159,18 +159,18 @@ export interface HttpSDKType { * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -189,20 +189,20 @@ export interface HttpSDKType { * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -215,27 +215,27 @@ export interface HttpSDKType { * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -284,11 +284,11 @@ export interface HttpSDKType { * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * @@ -406,19 +406,19 @@ export interface HttpRule { * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -430,21 +430,21 @@ export interface HttpRule { * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -465,18 +465,18 @@ export interface HttpRule { * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -492,18 +492,18 @@ export interface HttpRule { * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -522,20 +522,20 @@ export interface HttpRule { * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -548,27 +548,27 @@ export interface HttpRule { * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -617,11 +617,11 @@ export interface HttpRule { * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * diff --git a/examples/contracts/codegen/google/bundle.ts b/examples/contracts/codegen/google/bundle.ts index 9cc4276a0..390b33a10 100644 --- a/examples/contracts/codegen/google/bundle.ts +++ b/examples/contracts/codegen/google/bundle.ts @@ -5,9 +5,6 @@ import * as _104 from "./protobuf/descriptor"; import * as _105 from "./protobuf/duration"; import * as _106 from "./protobuf/empty"; import * as _107 from "./protobuf/timestamp"; -import * as _108 from "./protobuf/struct"; -import * as _109 from "./protobuf/wrappers"; -import * as _110 from "./protobuf/field_mask"; export namespace google { export const api = { ..._101, ..._102 @@ -16,9 +13,6 @@ export namespace google { ..._104, ..._105, ..._106, - ..._107, - ..._108, - ..._109, - ..._110 + ..._107 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/google/protobuf/any.ts b/examples/contracts/codegen/google/protobuf/any.ts index 6d43102eb..7e7f18573 100644 --- a/examples/contracts/codegen/google/protobuf/any.ts +++ b/examples/contracts/codegen/google/protobuf/any.ts @@ -8,42 +8,42 @@ import * as _m0 from "protobufjs/minimal"; * * Example 1: Pack and unpack a message in C++. * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } + * 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 { - * ... - * } + * 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 @@ -58,27 +58,27 @@ import * as _m0 from "protobufjs/minimal"; * 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; - * } + * package google.profile; + * message Person { + * string first_name = 1; + * string last_name = 2; + * } * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } + * { + * "@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" - * } + * { + * "@type": "type.googleapis.com/google.protobuf.Duration", + * "value": "1.212s" + * } */ export interface Any { @@ -97,12 +97,12 @@ export interface Any { * * * 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. + * 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.) + * 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 @@ -125,42 +125,42 @@ export interface Any { * * Example 1: Pack and unpack a message in C++. * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } + * 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 { - * ... - * } + * 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 @@ -175,27 +175,27 @@ export interface Any { * 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; - * } + * package google.profile; + * message Person { + * string first_name = 1; + * string last_name = 2; + * } * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } + * { + * "@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" - * } + * { + * "@type": "type.googleapis.com/google.protobuf.Duration", + * "value": "1.212s" + * } */ export interface AnySDKType { @@ -214,12 +214,12 @@ export interface AnySDKType { * * * 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. + * 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.) + * 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 diff --git a/examples/contracts/codegen/google/protobuf/descriptor.ts b/examples/contracts/codegen/google/protobuf/descriptor.ts index d249844b2..346a5a8a1 100644 --- a/examples/contracts/codegen/google/protobuf/descriptor.ts +++ b/examples/contracts/codegen/google/protobuf/descriptor.ts @@ -1,6 +1,6 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export enum FieldDescriptorProto_Type { /** * TYPE_DOUBLE - 0 is reserved for errors. @@ -233,8 +233,9 @@ export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Typ case FieldDescriptorProto_Type.TYPE_SINT64: return "TYPE_SINT64"; + case FieldDescriptorProto_Type.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldDescriptorProto_Label { @@ -282,8 +283,9 @@ export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_La case FieldDescriptorProto_Label.LABEL_REPEATED: return "LABEL_REPEATED"; + case FieldDescriptorProto_Label.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** Generated classes can be optimized for speed or code size. */ @@ -349,8 +351,9 @@ export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode) case FileOptions_OptimizeMode.LITE_RUNTIME: return "LITE_RUNTIME"; + case FileOptions_OptimizeMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldOptions_CType { @@ -398,8 +401,9 @@ export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { case FieldOptions_CType.STRING_PIECE: return "STRING_PIECE"; + case FieldOptions_CType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldOptions_JSType { @@ -455,8 +459,9 @@ export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { case FieldOptions_JSType.JS_NUMBER: return "JS_NUMBER"; + case FieldOptions_JSType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -522,8 +527,9 @@ export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_Idemp case MethodOptions_IdempotencyLevel.IDEMPOTENT: return "IDEMPOTENT"; + case MethodOptions_IdempotencyLevel.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -566,7 +572,7 @@ export interface FileDescriptorProto { enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; - options: FileOptions | undefined; + options?: FileOptions | undefined; /** * This field contains optional information about the original source code. * You may safely remove this entire field without harming runtime @@ -574,7 +580,7 @@ export interface FileDescriptorProto { * development tools. */ - sourceCodeInfo: SourceCodeInfo | undefined; + sourceCodeInfo?: SourceCodeInfo | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". @@ -606,7 +612,7 @@ export interface FileDescriptorProtoSDKType { enum_type: EnumDescriptorProtoSDKType[]; service: ServiceDescriptorProtoSDKType[]; extension: FieldDescriptorProtoSDKType[]; - options: FileOptionsSDKType | undefined; + options?: FileOptionsSDKType | undefined; /** * This field contains optional information about the original source code. * You may safely remove this entire field without harming runtime @@ -614,7 +620,7 @@ export interface FileDescriptorProtoSDKType { * development tools. */ - source_code_info: SourceCodeInfoSDKType | undefined; + source_code_info?: SourceCodeInfoSDKType | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". @@ -632,7 +638,7 @@ export interface DescriptorProto { enumType: EnumDescriptorProto[]; extensionRange: DescriptorProto_ExtensionRange[]; oneofDecl: OneofDescriptorProto[]; - options: MessageOptions | undefined; + options?: MessageOptions | undefined; reservedRange: DescriptorProto_ReservedRange[]; /** * Reserved field names, which may not be used by fields in the same message. @@ -651,7 +657,7 @@ export interface DescriptorProtoSDKType { enum_type: EnumDescriptorProtoSDKType[]; extension_range: DescriptorProto_ExtensionRangeSDKType[]; oneof_decl: OneofDescriptorProtoSDKType[]; - options: MessageOptionsSDKType | undefined; + options?: MessageOptionsSDKType | undefined; reserved_range: DescriptorProto_ReservedRangeSDKType[]; /** * Reserved field names, which may not be used by fields in the same message. @@ -666,7 +672,7 @@ export interface DescriptorProto_ExtensionRange { /** Exclusive. */ end: number; - options: ExtensionRangeOptions | undefined; + options?: ExtensionRangeOptions | undefined; } export interface DescriptorProto_ExtensionRangeSDKType { /** Inclusive. */ @@ -674,7 +680,7 @@ export interface DescriptorProto_ExtensionRangeSDKType { /** Exclusive. */ end: number; - options: ExtensionRangeOptionsSDKType | undefined; + options?: ExtensionRangeOptionsSDKType | undefined; } /** * Range of reserved tag numbers. Reserved tag numbers may not be used by @@ -760,7 +766,7 @@ export interface FieldDescriptorProto { */ jsonName: string; - options: FieldOptions | undefined; + options?: FieldOptions | undefined; } /** Describes a field within a message. */ @@ -812,26 +818,26 @@ export interface FieldDescriptorProtoSDKType { */ json_name: string; - options: FieldOptionsSDKType | undefined; + options?: FieldOptionsSDKType | undefined; } /** Describes a oneof. */ export interface OneofDescriptorProto { name: string; - options: OneofOptions | undefined; + options?: OneofOptions | undefined; } /** Describes a oneof. */ export interface OneofDescriptorProtoSDKType { name: string; - options: OneofOptionsSDKType | undefined; + options?: OneofOptionsSDKType | undefined; } /** Describes an enum type. */ export interface EnumDescriptorProto { name: string; value: EnumValueDescriptorProto[]; - options: EnumOptions | undefined; + options?: EnumOptions | undefined; /** * Range of reserved numeric values. Reserved numeric values may not be used * by enum values in the same enum declaration. Reserved ranges may not @@ -851,7 +857,7 @@ export interface EnumDescriptorProto { export interface EnumDescriptorProtoSDKType { name: string; value: EnumValueDescriptorProtoSDKType[]; - options: EnumOptionsSDKType | undefined; + options?: EnumOptionsSDKType | undefined; /** * Range of reserved numeric values. Reserved numeric values may not be used * by enum values in the same enum declaration. Reserved ranges may not @@ -903,28 +909,28 @@ export interface EnumDescriptorProto_EnumReservedRangeSDKType { export interface EnumValueDescriptorProto { name: string; number: number; - options: EnumValueOptions | undefined; + options?: EnumValueOptions | undefined; } /** Describes a value within an enum. */ export interface EnumValueDescriptorProtoSDKType { name: string; number: number; - options: EnumValueOptionsSDKType | undefined; + options?: EnumValueOptionsSDKType | undefined; } /** Describes a service. */ export interface ServiceDescriptorProto { name: string; method: MethodDescriptorProto[]; - options: ServiceOptions | undefined; + options?: ServiceOptions | undefined; } /** Describes a service. */ export interface ServiceDescriptorProtoSDKType { name: string; method: MethodDescriptorProtoSDKType[]; - options: ServiceOptionsSDKType | undefined; + options?: ServiceOptionsSDKType | undefined; } /** Describes a method of a service. */ @@ -937,7 +943,7 @@ export interface MethodDescriptorProto { inputType: string; outputType: string; - options: MethodOptions | undefined; + options?: MethodOptions | undefined; /** Identifies if client streams multiple client messages */ clientStreaming: boolean; @@ -956,7 +962,7 @@ export interface MethodDescriptorProtoSDKType { input_type: string; output_type: string; - options: MethodOptionsSDKType | undefined; + options?: MethodOptionsSDKType | undefined; /** Identifies if client streams multiple client messages */ client_streaming: boolean; @@ -1010,9 +1016,9 @@ export interface FileOptions { /** * 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. + * - 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; @@ -1144,9 +1150,9 @@ export interface FileOptionsSDKType { /** * 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. + * - 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; @@ -1240,10 +1246,10 @@ export interface MessageOptions { * 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; - * } + * 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. * @@ -1274,14 +1280,14 @@ export interface MessageOptions { * maps field. * * For maps fields: - * map map_field = 1; + * 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; + * 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. @@ -1306,10 +1312,10 @@ export interface MessageOptionsSDKType { * 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; - * } + * 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. * @@ -1340,14 +1346,14 @@ export interface MessageOptionsSDKType { * maps field. * * For maps fields: - * map map_field = 1; + * 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; + * 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. @@ -1723,43 +1729,43 @@ export interface SourceCodeInfo { * tools. * * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } + * message Foo { + * optional string foo = 1; + * } * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi + * 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). + * 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. + * 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. + * 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. + * 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. + * 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. + * ignore those that it doesn't understand, as more types of locations could + * be recorded in the future. */ location: SourceCodeInfo_Location[]; } @@ -1776,43 +1782,43 @@ export interface SourceCodeInfoSDKType { * tools. * * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } + * message Foo { + * optional string foo = 1; + * } * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi + * 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). + * 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. + * 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. + * 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. + * 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. + * 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. + * ignore those that it doesn't understand, as more types of locations could + * be recorded in the future. */ location: SourceCodeInfo_LocationSDKType[]; } @@ -1824,21 +1830,21 @@ export interface SourceCodeInfo_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 ] + * [ 4, 3, 2, 7, 1 ] * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 + * 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; + * repeated DescriptorProto message_type = 4; * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; + * repeated FieldDescriptorProto field = 2; * and FieldDescriptorProto.name has field number 1: - * optional string name = 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 ] + * [ 4, 3, 2, 7 ] * this path refers to the whole field declaration (from the beginning * of the label to the terminating semicolon). */ @@ -1872,34 +1878,34 @@ export interface SourceCodeInfo_Location { * * Examples: * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; + * 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. + * 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; + * // 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. 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. + * // 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; + * 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. + * // ignored detached comments. */ leadingComments: string; @@ -1914,21 +1920,21 @@ export interface SourceCodeInfo_LocationSDKType { * 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 ] + * [ 4, 3, 2, 7, 1 ] * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 + * 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; + * repeated DescriptorProto message_type = 4; * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; + * repeated FieldDescriptorProto field = 2; * and FieldDescriptorProto.name has field number 1: - * optional string name = 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 ] + * [ 4, 3, 2, 7 ] * this path refers to the whole field declaration (from the beginning * of the label to the terminating semicolon). */ @@ -1962,34 +1968,34 @@ export interface SourceCodeInfo_LocationSDKType { * * Examples: * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; + * 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. + * 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; + * // 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. 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. + * // 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; + * 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. + * // ignored detached comments. */ leading_comments: string; @@ -2598,8 +2604,8 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { return { name: "", number: 0, - label: 0, - type: 0, + label: 1, + type: 1, typeName: "", extendee: "", defaultValue: "", @@ -2619,11 +2625,11 @@ export const FieldDescriptorProto = { writer.uint32(24).int32(message.number); } - if (message.label !== 0) { + if (message.label !== 1) { writer.uint32(32).int32(message.label); } - if (message.type !== 0) { + if (message.type !== 1) { writer.uint32(40).int32(message.type); } @@ -2716,8 +2722,8 @@ export const FieldDescriptorProto = { const message = createBaseFieldDescriptorProto(); message.name = object.name ?? ""; message.number = object.number ?? 0; - message.label = object.label ?? 0; - message.type = object.type ?? 0; + message.label = object.label ?? 1; + message.type = object.type ?? 1; message.typeName = object.typeName ?? ""; message.extendee = object.extendee ?? ""; message.defaultValue = object.defaultValue ?? ""; @@ -3156,7 +3162,7 @@ function createBaseFileOptions(): FileOptions { javaMultipleFiles: false, javaGenerateEqualsAndHash: false, javaStringCheckUtf8: false, - optimizeFor: 0, + optimizeFor: 1, goPackage: "", ccGenericServices: false, javaGenericServices: false, @@ -3197,7 +3203,7 @@ export const FileOptions = { writer.uint32(216).bool(message.javaStringCheckUtf8); } - if (message.optimizeFor !== 0) { + if (message.optimizeFor !== 1) { writer.uint32(72).int32(message.optimizeFor); } @@ -3373,7 +3379,7 @@ export const FileOptions = { message.javaMultipleFiles = object.javaMultipleFiles ?? false; message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; - message.optimizeFor = object.optimizeFor ?? 0; + message.optimizeFor = object.optimizeFor ?? 1; message.goPackage = object.goPackage ?? ""; message.ccGenericServices = object.ccGenericServices ?? false; message.javaGenericServices = object.javaGenericServices ?? false; @@ -3481,9 +3487,9 @@ export const MessageOptions = { function createBaseFieldOptions(): FieldOptions { return { - ctype: 0, + ctype: 1, packed: false, - jstype: 0, + jstype: 1, lazy: false, deprecated: false, weak: false, @@ -3493,7 +3499,7 @@ function createBaseFieldOptions(): FieldOptions { export const FieldOptions = { encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.ctype !== 0) { + if (message.ctype !== 1) { writer.uint32(8).int32(message.ctype); } @@ -3501,7 +3507,7 @@ export const FieldOptions = { writer.uint32(16).bool(message.packed); } - if (message.jstype !== 0) { + if (message.jstype !== 1) { writer.uint32(48).int32(message.jstype); } @@ -3572,9 +3578,9 @@ export const FieldOptions = { fromPartial(object: Partial): FieldOptions { const message = createBaseFieldOptions(); - message.ctype = object.ctype ?? 0; + message.ctype = object.ctype ?? 1; message.packed = object.packed ?? false; - message.jstype = object.jstype ?? 0; + message.jstype = object.jstype ?? 1; message.lazy = object.lazy ?? false; message.deprecated = object.deprecated ?? false; message.weak = object.weak ?? false; @@ -3807,7 +3813,7 @@ export const ServiceOptions = { function createBaseMethodOptions(): MethodOptions { return { deprecated: false, - idempotencyLevel: 0, + idempotencyLevel: 1, uninterpretedOption: [] }; } @@ -3818,7 +3824,7 @@ export const MethodOptions = { writer.uint32(264).bool(message.deprecated); } - if (message.idempotencyLevel !== 0) { + if (message.idempotencyLevel !== 1) { writer.uint32(272).int32(message.idempotencyLevel); } @@ -3862,7 +3868,7 @@ export const MethodOptions = { fromPartial(object: Partial): MethodOptions { const message = createBaseMethodOptions(); message.deprecated = object.deprecated ?? false; - message.idempotencyLevel = object.idempotencyLevel ?? 0; + message.idempotencyLevel = object.idempotencyLevel ?? 1; message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; return message; } diff --git a/examples/contracts/codegen/google/protobuf/duration.ts b/examples/contracts/codegen/google/protobuf/duration.ts index 52bb3dec9..de9f82877 100644 --- a/examples/contracts/codegen/google/protobuf/duration.ts +++ b/examples/contracts/codegen/google/protobuf/duration.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond @@ -12,43 +12,43 @@ import { Long } from "@osmonauts/helpers"; * * Example 1: Compute Duration from two Timestamps in pseudo code. * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; + * Timestamp start = ...; + * Timestamp end = ...; + * Duration duration = ...; * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; + * 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; - * } + * 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 = ...; + * Timestamp start = ...; + * Duration duration = ...; + * Timestamp end = ...; * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; + * 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; - * } + * 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) + * td = datetime.timedelta(days=3, minutes=10) + * duration = Duration() + * duration.FromTimedelta(td) * * # JSON Mapping * @@ -91,43 +91,43 @@ export interface Duration { * * Example 1: Compute Duration from two Timestamps in pseudo code. * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; + * Timestamp start = ...; + * Timestamp end = ...; + * Duration duration = ...; * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; + * 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; - * } + * 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 = ...; + * Timestamp start = ...; + * Duration duration = ...; + * Timestamp end = ...; * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; + * 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; - * } + * 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) + * td = datetime.timedelta(days=3, minutes=10) + * duration = Duration() + * duration.FromTimedelta(td) * * # JSON Mapping * diff --git a/examples/contracts/codegen/google/protobuf/empty.ts b/examples/contracts/codegen/google/protobuf/empty.ts index e4fffa295..6b8f72572 100644 --- a/examples/contracts/codegen/google/protobuf/empty.ts +++ b/examples/contracts/codegen/google/protobuf/empty.ts @@ -4,9 +4,9 @@ import * as _m0 from "protobufjs/minimal"; * empty messages in your APIs. A typical example is to use it as the request * or the response type of an API method. For instance: * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } * * The JSON representation for `Empty` is empty JSON object `{}`. */ @@ -17,9 +17,9 @@ export interface Empty {} * empty messages in your APIs. A typical example is to use it as the request * or the response type of an API method. For instance: * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } * * The JSON representation for `Empty` is empty JSON object `{}`. */ diff --git a/examples/contracts/codegen/google/protobuf/field_mask.ts b/examples/contracts/codegen/google/protobuf/field_mask.ts deleted file mode 100644 index 0096e4a2b..000000000 --- a/examples/contracts/codegen/google/protobuf/field_mask.ts +++ /dev/null @@ -1,458 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ - -export interface FieldMask { - /** The set of field mask paths. */ - paths: string[]; -} -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ - -export interface FieldMaskSDKType { - /** The set of field mask paths. */ - paths: string[]; -} - -function createBaseFieldMask(): FieldMask { - return { - paths: [] - }; -} - -export const FieldMask = { - encode(message: FieldMask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.paths) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldMask { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldMask(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.paths.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FieldMask { - const message = createBaseFieldMask(); - message.paths = object.paths?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/contracts/codegen/google/protobuf/struct.ts b/examples/contracts/codegen/google/protobuf/struct.ts deleted file mode 100644 index b2dd105de..000000000 --- a/examples/contracts/codegen/google/protobuf/struct.ts +++ /dev/null @@ -1,420 +0,0 @@ -//@ts-nocheck -import * as _m0 from "protobufjs/minimal"; -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - */ - -export enum NullValue { - /** NULL_VALUE - Null value. */ - NULL_VALUE = 0, - UNRECOGNIZED = -1, -} -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - */ - -export enum NullValueSDKType { - /** NULL_VALUE - Null value. */ - NULL_VALUE = 0, - UNRECOGNIZED = -1, -} -export function nullValueFromJSON(object: any): NullValue { - switch (object) { - case 0: - case "NULL_VALUE": - return NullValue.NULL_VALUE; - - case -1: - case "UNRECOGNIZED": - default: - return NullValue.UNRECOGNIZED; - } -} -export function nullValueToJSON(object: NullValue): string { - switch (object) { - case NullValue.NULL_VALUE: - return "NULL_VALUE"; - - default: - return "UNKNOWN"; - } -} -export interface Struct_FieldsEntry { - key: string; - value: Value | undefined; -} -export interface Struct_FieldsEntrySDKType { - key: string; - value: ValueSDKType | undefined; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ - -export interface Struct { - /** Unordered map of dynamically typed values. */ - fields: { - [key: string]: Value | undefined; - }; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ - -export interface StructSDKType { - /** Unordered map of dynamically typed values. */ - fields: { - [key: string]: ValueSDKType | undefined; - }; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ - -export interface Value { - /** Represents a null value. */ - nullValue?: NullValue; - /** Represents a double value. */ - - numberValue?: number; - /** Represents a string value. */ - - stringValue?: string; - /** Represents a boolean value. */ - - boolValue?: boolean; - /** Represents a structured value. */ - - structValue?: Struct | undefined; - /** Represents a repeated `Value`. */ - - listValue?: ListValue | undefined; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ - -export interface ValueSDKType { - /** Represents a null value. */ - null_value?: NullValueSDKType; - /** Represents a double value. */ - - number_value?: number; - /** Represents a string value. */ - - string_value?: string; - /** Represents a boolean value. */ - - bool_value?: boolean; - /** Represents a structured value. */ - - struct_value?: StructSDKType | undefined; - /** Represents a repeated `Value`. */ - - list_value?: ListValueSDKType | undefined; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ - -export interface ListValue { - /** Repeated field of dynamically typed values. */ - values: Value[]; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ - -export interface ListValueSDKType { - /** Repeated field of dynamically typed values. */ - values: ValueSDKType[]; -} - -function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { - return { - key: "", - value: undefined - }; -} - -export const Struct_FieldsEntry = { - encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct_FieldsEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - - case 2: - message.value = Value.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Struct_FieldsEntry { - const message = createBaseStruct_FieldsEntry(); - message.key = object.key ?? ""; - message.value = object.value !== undefined && object.value !== null ? Value.fromPartial(object.value) : undefined; - return message; - } - -}; - -function createBaseStruct(): Struct { - return { - fields: {} - }; -} - -export const Struct = { - encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.fields).forEach(([key, value]) => { - Struct_FieldsEntry.encode({ - key: (key as any), - value - }, writer.uint32(10).fork()).ldelim(); - }); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Struct { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32()); - - if (entry1.value !== undefined) { - message.fields[entry1.key] = entry1.value; - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Struct { - const message = createBaseStruct(); - message.fields = Object.entries(object.fields ?? {}).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = Value.fromPartial(value); - } - - return acc; - }, {}); - return message; - } - -}; - -function createBaseValue(): Value { - return { - nullValue: undefined, - numberValue: undefined, - stringValue: undefined, - boolValue: undefined, - structValue: undefined, - listValue: undefined - }; -} - -export const Value = { - encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - - if (message.numberValue !== undefined) { - writer.uint32(17).double(message.numberValue); - } - - if (message.stringValue !== undefined) { - writer.uint32(26).string(message.stringValue); - } - - if (message.boolValue !== undefined) { - writer.uint32(32).bool(message.boolValue); - } - - if (message.structValue !== undefined) { - Struct.encode(message.structValue, writer.uint32(42).fork()).ldelim(); - } - - if (message.listValue !== undefined) { - ListValue.encode(message.listValue, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - - case 2: - message.numberValue = reader.double(); - break; - - case 3: - message.stringValue = reader.string(); - break; - - case 4: - message.boolValue = reader.bool(); - break; - - case 5: - message.structValue = Struct.decode(reader, reader.uint32()); - break; - - case 6: - message.listValue = ListValue.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Value { - const message = createBaseValue(); - message.nullValue = object.nullValue ?? undefined; - message.numberValue = object.numberValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - message.structValue = object.structValue !== undefined && object.structValue !== null ? Struct.fromPartial(object.structValue) : undefined; - message.listValue = object.listValue !== undefined && object.listValue !== null ? ListValue.fromPartial(object.listValue) : undefined; - return message; - } - -}; - -function createBaseListValue(): ListValue { - return { - values: [] - }; -} - -export const ListValue = { - encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ListValue { - const message = createBaseListValue(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/contracts/codegen/google/protobuf/timestamp.ts b/examples/contracts/codegen/google/protobuf/timestamp.ts index 1b0f08da2..c3e0b298f 100644 --- a/examples/contracts/codegen/google/protobuf/timestamp.ts +++ b/examples/contracts/codegen/google/protobuf/timestamp.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -19,43 +19,43 @@ import { Long } from "@osmonauts/helpers"; * * Example 1: Compute Timestamp from POSIX `time()`. * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); + * Timestamp timestamp; + * timestamp.set_seconds(time(NULL)); + * timestamp.set_nanos(0); * * Example 2: Compute Timestamp from POSIX `gettimeofday()`. * - * struct timeval tv; - * gettimeofday(&tv, NULL); + * struct timeval tv; + * gettimeofday(&tv, NULL); * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); + * 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; + * 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)); + * // 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(); + * long millis = System.currentTimeMillis(); * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); + * 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() + * timestamp = Timestamp() + * timestamp.GetCurrentTime() * * # JSON Mapping * @@ -120,43 +120,43 @@ export interface Timestamp { * * Example 1: Compute Timestamp from POSIX `time()`. * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); + * Timestamp timestamp; + * timestamp.set_seconds(time(NULL)); + * timestamp.set_nanos(0); * * Example 2: Compute Timestamp from POSIX `gettimeofday()`. * - * struct timeval tv; - * gettimeofday(&tv, NULL); + * struct timeval tv; + * gettimeofday(&tv, NULL); * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); + * 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; + * 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)); + * // 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(); + * long millis = System.currentTimeMillis(); * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); + * 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() + * timestamp = Timestamp() + * timestamp.GetCurrentTime() * * # JSON Mapping * diff --git a/examples/contracts/codegen/google/protobuf/wrappers.ts b/examples/contracts/codegen/google/protobuf/wrappers.ts deleted file mode 100644 index 5b3d3aa96..000000000 --- a/examples/contracts/codegen/google/protobuf/wrappers.ts +++ /dev/null @@ -1,587 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - */ - -export interface DoubleValue { - /** The double value. */ - value: number; -} -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - */ - -export interface DoubleValueSDKType { - /** The double value. */ - value: number; -} -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - */ - -export interface FloatValue { - /** The float value. */ - value: number; -} -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - */ - -export interface FloatValueSDKType { - /** The float value. */ - value: number; -} -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - */ - -export interface Int64Value { - /** The int64 value. */ - value: Long; -} -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - */ - -export interface Int64ValueSDKType { - /** The int64 value. */ - value: Long; -} -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - */ - -export interface UInt64Value { - /** The uint64 value. */ - value: Long; -} -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - */ - -export interface UInt64ValueSDKType { - /** The uint64 value. */ - value: Long; -} -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - */ - -export interface Int32Value { - /** The int32 value. */ - value: number; -} -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - */ - -export interface Int32ValueSDKType { - /** The int32 value. */ - value: number; -} -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - */ - -export interface UInt32Value { - /** The uint32 value. */ - value: number; -} -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - */ - -export interface UInt32ValueSDKType { - /** The uint32 value. */ - value: number; -} -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - */ - -export interface BoolValue { - /** The bool value. */ - value: boolean; -} -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - */ - -export interface BoolValueSDKType { - /** The bool value. */ - value: boolean; -} -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - */ - -export interface StringValue { - /** The string value. */ - value: string; -} -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - */ - -export interface StringValueSDKType { - /** The string value. */ - value: string; -} -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - */ - -export interface BytesValue { - /** The bytes value. */ - value: Uint8Array; -} -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - */ - -export interface BytesValueSDKType { - /** The bytes value. */ - value: Uint8Array; -} - -function createBaseDoubleValue(): DoubleValue { - return { - value: 0 - }; -} - -export const DoubleValue = { - encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(9).double(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDoubleValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.double(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DoubleValue { - const message = createBaseDoubleValue(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseFloatValue(): FloatValue { - return { - value: 0 - }; -} - -export const FloatValue = { - encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(13).float(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFloatValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.float(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FloatValue { - const message = createBaseFloatValue(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseInt64Value(): Int64Value { - return { - value: Long.ZERO - }; -} - -export const Int64Value = { - encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.value.isZero()) { - writer.uint32(8).int64(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInt64Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Int64Value { - const message = createBaseInt64Value(); - message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; - return message; - } - -}; - -function createBaseUInt64Value(): UInt64Value { - return { - value: Long.UZERO - }; -} - -export const UInt64Value = { - encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.value.isZero()) { - writer.uint32(8).uint64(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUInt64Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UInt64Value { - const message = createBaseUInt64Value(); - message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; - return message; - } - -}; - -function createBaseInt32Value(): Int32Value { - return { - value: 0 - }; -} - -export const Int32Value = { - encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).int32(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInt32Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Int32Value { - const message = createBaseInt32Value(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseUInt32Value(): UInt32Value { - return { - value: 0 - }; -} - -export const UInt32Value = { - encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).uint32(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUInt32Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UInt32Value { - const message = createBaseUInt32Value(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseBoolValue(): BoolValue { - return { - value: false - }; -} - -export const BoolValue = { - encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value === true) { - writer.uint32(8).bool(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBoolValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BoolValue { - const message = createBaseBoolValue(); - message.value = object.value ?? false; - return message; - } - -}; - -function createBaseStringValue(): StringValue { - return { - value: "" - }; -} - -export const StringValue = { - encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== "") { - writer.uint32(10).string(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StringValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStringValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StringValue { - const message = createBaseStringValue(); - message.value = object.value ?? ""; - return message; - } - -}; - -function createBaseBytesValue(): BytesValue { - return { - value: new Uint8Array() - }; -} - -export const BytesValue = { - encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value.length !== 0) { - writer.uint32(10).bytes(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBytesValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BytesValue { - const message = createBaseBytesValue(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/contracts/codegen/helpers.ts b/examples/contracts/codegen/helpers.ts new file mode 100644 index 000000000..b4cf3a376 --- /dev/null +++ b/examples/contracts/codegen/helpers.ts @@ -0,0 +1,240 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 + * 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 * as _m0 from "protobufjs/minimal"; +import * as Long from 'long'; + +// @ts-ignore +if (_m0.util.Long !== Long) { + _m0.util.Long = (Long as any); + + _m0.configure(); +} + +export { Long }; + +declare var self: any | undefined; +declare var window: any | undefined; +declare var global: any | undefined; +var globalThis: any = (() => { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + throw 'Unable to locate global object'; +})(); + +const atob: (b64: string) => string = + globalThis.atob || ((b64) => globalThis.Buffer.from(b64, 'base64').toString('binary')); + +export function bytesFromBase64(b64: string): Uint8Array { + const bin = atob(b64); + const arr = new Uint8Array(bin.length); + for (let i = 0; i < bin.length; ++i) { + arr[i] = bin.charCodeAt(i); + } + return arr; +} + +const btoa: (bin: string) => string = + globalThis.btoa || ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64')); + +export function base64FromBytes(arr: Uint8Array): string { + const bin: string[] = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return btoa(bin.join('')); +} + +export interface AminoHeight { + readonly revision_number?: string; + readonly revision_height?: string; +}; + +export function omitDefault(input: T): T | undefined { + if (typeof input === "string") { + return input === "" ? undefined : input; + } + + if (typeof input === "number") { + return input === 0 ? undefined : input; + } + + if (Long.isLong(input)) { + return input.isZero() ? undefined : input; + } + + throw new Error(`Got unsupported type ${typeof input}`); +}; + +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 function toDuration(duration: string): Duration { + return { + seconds: Long.fromNumber(Math.floor(parseInt(duration) / 1000000000)), + nanos: parseInt(duration) % 1000000000 + }; +}; + +export function fromDuration(duration: Duration): string { + return (parseInt(duration.seconds.toString()) * 1000000000 + duration.nanos).toString(); +}; + +export function isSet(value: any): boolean { + return value !== null && value !== undefined; +}; + +export function isObject(value: any): boolean { + return typeof value === 'object' && value !== null; +}; + +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 const setPaginationParams = (options: Params, pagination?: PageRequest) => { + + if (!pagination) { + return options; + } + + if (typeof pagination?.countTotal !== "undefined") { + options.params['pagination.count_total'] = pagination.countTotal; + } + if (typeof pagination?.key !== "undefined") { + // String to Uint8Array + // let uint8arr = new Uint8Array(Buffer.from(data,'base64')); + + // Uint8Array to String + options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64'); + } + if (typeof pagination?.limit !== "undefined") { + options.params["pagination.limit"] = pagination.limit.toString() + } + if (typeof pagination?.offset !== "undefined") { + options.params["pagination.offset"] = pagination.offset.toString() + } + if (typeof pagination?.reverse !== "undefined") { + options.params['pagination.reverse'] = pagination.reverse; + } + + return options; +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin + ? T + : 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 function toTimestamp(date: Date): Timestamp { + const seconds = numberToLong(date.getTime() / 1_000); + const nanos = date.getTime() % 1000 * 1000000; + return { + seconds, + nanos + }; +}; + +export function fromTimestamp(t: Timestamp): Date { + let millis = t.seconds.toNumber() * 1000; + millis += t.nanos / 1000000; + return new Date(millis); +}; + +const fromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; +}; + +const timestampFromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0, + }; +} + +export function fromJsonTimestamp(o: any): Timestamp { + if (o instanceof Date) { + return toTimestamp(o); + } else if (typeof o === "string") { + return toTimestamp(new Date(o)); + } else { + return timestampFromJSON(o); + } +} + +function numberToLong(number: number) { + return Long.fromNumber(number); +} diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts index 6823b603b..8c4e6380e 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts @@ -5,14 +5,14 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { portId: string; denomTraces: DenomTrace[]; - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the ibc-transfer genesis state */ export interface GenesisStateSDKType { port_id: string; denom_traces: DenomTraceSDKType[]; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts index e0b537285..7bce53a40 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts index 4b4f70753..62b2cc990 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +/** Query provides defines the gRPC querier service. */ export interface Query { - denomTrace(request: QueryDenomTraceRequest): Promise; - /*DenomTrace queries a denomination trace information.*/ + /** DenomTrace queries a denomination trace information. */ + denomTrace(request: QueryDenomTraceRequest): Promise; + /** DenomTraces queries all denomination traces. */ - denomTraces(request?: QueryDenomTracesRequest): Promise; - /*DenomTraces queries all denomination traces.*/ - - params(request?: QueryParamsRequest): Promise; - /*Params queries all parameters of the ibc-transfer module.*/ + denomTraces(request?: QueryDenomTracesRequest): Promise; + /** Params queries all parameters of the ibc-transfer module. */ + params(request?: QueryParamsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,7 +24,7 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { const data = QueryDenomTraceRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); @@ -33,13 +32,13 @@ export class QueryClientImpl implements Query { denomTraces(request: QueryDenomTracesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryDenomTracesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); @@ -50,15 +49,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { return queryService.denomTrace(request); }, - denomTraces(request?: QueryDenomTracesRequest): Promise { + denomTraces(request?: QueryDenomTracesRequest): Promise { return queryService.denomTraces(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); } diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts index 556e8fe82..78a22b4d6 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/query.ts @@ -26,7 +26,7 @@ export interface QueryDenomTraceRequestSDKType { export interface QueryDenomTraceResponse { /** denom_trace returns the requested denomination trace information. */ - denomTrace: DenomTrace | undefined; + denomTrace?: DenomTrace | undefined; } /** * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC @@ -35,7 +35,7 @@ export interface QueryDenomTraceResponse { export interface QueryDenomTraceResponseSDKType { /** denom_trace returns the requested denomination trace information. */ - denom_trace: DenomTraceSDKType | undefined; + denom_trace?: DenomTraceSDKType | undefined; } /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC @@ -89,13 +89,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { @@ -158,7 +158,7 @@ export const QueryDenomTraceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTraceResponse(); @@ -253,7 +253,7 @@ export const QueryDenomTracesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTracesResponse(); @@ -337,7 +337,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts index 3543b950e..e99498bcc 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; import { MsgTransfer } from "./tx"; export interface AminoMsgTransfer extends AminoMsg { type: "cosmos-sdk/MsgTransfer"; diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts index 1d91db3c8..b0ed7b31d 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgTransfer, MsgTransferResponse, MsgTransferResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgTransfer, MsgTransferResponse } from "./tx"; +/** Msg defines the ibc/transfer Msg service. */ export interface Msg { - transfer(request: MsgTransfer): Promise; - /*Transfer defines a rpc handler method for MsgTransfer.*/ - + /** Transfer defines a rpc handler method for MsgTransfer. */ + transfer(request: MsgTransfer): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.transfer = this.transfer.bind(this); } - transfer(request: MsgTransfer): Promise { + transfer(request: MsgTransfer): Promise { const data = MsgTransfer.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts index 602234328..fdeb7d480 100644 --- a/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts +++ b/examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts @@ -1,7 +1,7 @@ import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between * ICS20 enabled chains. See ICS Spec here: @@ -16,7 +16,7 @@ export interface MsgTransfer { sourceChannel: string; /** the tokens to be transferred */ - token: Coin | undefined; + token?: Coin | undefined; /** the sender address */ sender: string; @@ -28,7 +28,7 @@ export interface MsgTransfer { * The timeout is disabled when set to 0. */ - timeoutHeight: Height | undefined; + timeoutHeight?: Height | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. @@ -50,7 +50,7 @@ export interface MsgTransferSDKType { source_channel: string; /** the tokens to be transferred */ - token: CoinSDKType | undefined; + token?: CoinSDKType | undefined; /** the sender address */ sender: string; @@ -62,7 +62,7 @@ export interface MsgTransferSDKType { * The timeout is disabled when set to 0. */ - timeout_height: HeightSDKType | undefined; + timeout_height?: HeightSDKType | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. @@ -191,7 +191,7 @@ export const MsgTransferResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTransferResponse(); diff --git a/examples/contracts/codegen/ibc/bundle.ts b/examples/contracts/codegen/ibc/bundle.ts index 9aaf14d88..bf640e264 100644 --- a/examples/contracts/codegen/ibc/bundle.ts +++ b/examples/contracts/codegen/ibc/bundle.ts @@ -1,137 +1,137 @@ -import * as _111 from "./applications/transfer/v1/genesis"; -import * as _112 from "./applications/transfer/v1/query"; -import * as _113 from "./applications/transfer/v1/transfer"; -import * as _114 from "./applications/transfer/v1/tx"; -import * as _115 from "./applications/transfer/v2/packet"; -import * as _116 from "./core/channel/v1/channel"; -import * as _117 from "./core/channel/v1/genesis"; -import * as _118 from "./core/channel/v1/query"; -import * as _119 from "./core/channel/v1/tx"; -import * as _120 from "./core/client/v1/client"; -import * as _121 from "./core/client/v1/genesis"; -import * as _122 from "./core/client/v1/query"; -import * as _123 from "./core/client/v1/tx"; -import * as _124 from "./core/commitment/v1/commitment"; -import * as _125 from "./core/connection/v1/connection"; -import * as _126 from "./core/connection/v1/genesis"; -import * as _127 from "./core/connection/v1/query"; -import * as _128 from "./core/connection/v1/tx"; -import * as _129 from "./core/port/v1/query"; -import * as _130 from "./core/types/v1/genesis"; -import * as _131 from "./lightclients/localhost/v1/localhost"; -import * as _132 from "./lightclients/solomachine/v1/solomachine"; -import * as _133 from "./lightclients/solomachine/v2/solomachine"; -import * as _134 from "./lightclients/tendermint/v1/tendermint"; -import * as _228 from "./applications/transfer/v1/tx.amino"; -import * as _229 from "./core/channel/v1/tx.amino"; -import * as _230 from "./core/client/v1/tx.amino"; -import * as _231 from "./core/connection/v1/tx.amino"; -import * as _232 from "./applications/transfer/v1/tx.registry"; -import * as _233 from "./core/channel/v1/tx.registry"; -import * as _234 from "./core/client/v1/tx.registry"; -import * as _235 from "./core/connection/v1/tx.registry"; -import * as _236 from "./applications/transfer/v1/query.lcd"; -import * as _237 from "./core/channel/v1/query.lcd"; -import * as _238 from "./core/client/v1/query.lcd"; -import * as _239 from "./core/connection/v1/query.lcd"; -import * as _240 from "./applications/transfer/v1/query.rpc.query"; -import * as _241 from "./core/channel/v1/query.rpc.query"; -import * as _242 from "./core/client/v1/query.rpc.query"; -import * as _243 from "./core/connection/v1/query.rpc.query"; -import * as _244 from "./core/port/v1/query.rpc.query"; -import * as _245 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _246 from "./core/channel/v1/tx.rpc.msg"; -import * as _247 from "./core/client/v1/tx.rpc.msg"; -import * as _248 from "./core/connection/v1/tx.rpc.msg"; -import * as _255 from "./lcd"; -import * as _256 from "./rpc.query"; -import * as _257 from "./rpc.tx"; +import * as _108 from "./applications/transfer/v1/genesis"; +import * as _109 from "./applications/transfer/v1/query"; +import * as _110 from "./applications/transfer/v1/transfer"; +import * as _111 from "./applications/transfer/v1/tx"; +import * as _112 from "./applications/transfer/v2/packet"; +import * as _113 from "./core/channel/v1/channel"; +import * as _114 from "./core/channel/v1/genesis"; +import * as _115 from "./core/channel/v1/query"; +import * as _116 from "./core/channel/v1/tx"; +import * as _117 from "./core/client/v1/client"; +import * as _118 from "./core/client/v1/genesis"; +import * as _119 from "./core/client/v1/query"; +import * as _120 from "./core/client/v1/tx"; +import * as _121 from "./core/commitment/v1/commitment"; +import * as _122 from "./core/connection/v1/connection"; +import * as _123 from "./core/connection/v1/genesis"; +import * as _124 from "./core/connection/v1/query"; +import * as _125 from "./core/connection/v1/tx"; +import * as _126 from "./core/port/v1/query"; +import * as _127 from "./core/types/v1/genesis"; +import * as _128 from "./lightclients/localhost/v1/localhost"; +import * as _129 from "./lightclients/solomachine/v1/solomachine"; +import * as _130 from "./lightclients/solomachine/v2/solomachine"; +import * as _131 from "./lightclients/tendermint/v1/tendermint"; +import * as _225 from "./applications/transfer/v1/tx.amino"; +import * as _226 from "./core/channel/v1/tx.amino"; +import * as _227 from "./core/client/v1/tx.amino"; +import * as _228 from "./core/connection/v1/tx.amino"; +import * as _229 from "./applications/transfer/v1/tx.registry"; +import * as _230 from "./core/channel/v1/tx.registry"; +import * as _231 from "./core/client/v1/tx.registry"; +import * as _232 from "./core/connection/v1/tx.registry"; +import * as _233 from "./applications/transfer/v1/query.lcd"; +import * as _234 from "./core/channel/v1/query.lcd"; +import * as _235 from "./core/client/v1/query.lcd"; +import * as _236 from "./core/connection/v1/query.lcd"; +import * as _237 from "./applications/transfer/v1/query.rpc.query"; +import * as _238 from "./core/channel/v1/query.rpc.query"; +import * as _239 from "./core/client/v1/query.rpc.query"; +import * as _240 from "./core/connection/v1/query.rpc.query"; +import * as _241 from "./core/port/v1/query.rpc.query"; +import * as _242 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _243 from "./core/channel/v1/tx.rpc.msg"; +import * as _244 from "./core/client/v1/tx.rpc.msg"; +import * as _245 from "./core/connection/v1/tx.rpc.msg"; +import * as _252 from "./lcd"; +import * as _253 from "./rpc.query"; +import * as _254 from "./rpc.tx"; export namespace ibc { export namespace applications { export namespace transfer { - export const v1 = { ..._111, - ..._112, - ..._113, - ..._114, - ..._228, - ..._232, - ..._236, - ..._240, - ..._245 + export const v1 = { ..._108, + ..._109, + ..._110, + ..._111, + ..._225, + ..._229, + ..._233, + ..._237, + ..._242 }; - export const v2 = { ..._115 + export const v2 = { ..._112 }; } } export namespace core { export namespace channel { - export const v1 = { ..._116, - ..._117, - ..._118, - ..._119, - ..._229, - ..._233, - ..._237, - ..._241, - ..._246 - }; - } - export namespace client { - export const v1 = { ..._120, - ..._121, - ..._122, - ..._123, + export const v1 = { ..._113, + ..._114, + ..._115, + ..._116, + ..._226, ..._230, ..._234, ..._238, - ..._242, - ..._247 + ..._243 + }; + } + export namespace client { + export const v1 = { ..._117, + ..._118, + ..._119, + ..._120, + ..._227, + ..._231, + ..._235, + ..._239, + ..._244 }; } export namespace commitment { - export const v1 = { ..._124 + export const v1 = { ..._121 }; } export namespace connection { - export const v1 = { ..._125, - ..._126, - ..._127, - ..._128, - ..._231, - ..._235, - ..._239, - ..._243, - ..._248 + export const v1 = { ..._122, + ..._123, + ..._124, + ..._125, + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 }; } export namespace port { - export const v1 = { ..._129, - ..._244 + export const v1 = { ..._126, + ..._241 }; } export namespace types { - export const v1 = { ..._130 + export const v1 = { ..._127 }; } } export namespace lightclients { export namespace localhost { - export const v1 = { ..._131 + export const v1 = { ..._128 }; } export namespace solomachine { - export const v1 = { ..._132 + export const v1 = { ..._129 }; - export const v2 = { ..._133 + export const v2 = { ..._130 }; } export namespace tendermint { - export const v1 = { ..._134 + export const v1 = { ..._131 }; } } - export const ClientFactory = { ..._255, - ..._256, - ..._257 + export const ClientFactory = { ..._252, + ..._253, + ..._254 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/ibc/client.ts b/examples/contracts/codegen/ibc/client.ts index 4c4240336..d082598fa 100644 --- a/examples/contracts/codegen/ibc/client.ts +++ b/examples/contracts/codegen/ibc/client.ts @@ -8,6 +8,12 @@ import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; +export const ibcAminoConverters = { ...ibcApplicationsTransferV1TxAmino.AminoConverter, + ...ibcCoreChannelV1TxAmino.AminoConverter, + ...ibcCoreClientV1TxAmino.AminoConverter, + ...ibcCoreConnectionV1TxAmino.AminoConverter +}; +export const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]; export const getSigningIbcClientOptions = ({ defaultTypes = defaultRegistryTypes }: { @@ -16,11 +22,8 @@ export const getSigningIbcClientOptions = ({ registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...defaultTypes, ...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]); - const aminoTypes = new AminoTypes({ ...ibcApplicationsTransferV1TxAmino.AminoConverter, - ...ibcCoreChannelV1TxAmino.AminoConverter, - ...ibcCoreClientV1TxAmino.AminoConverter, - ...ibcCoreConnectionV1TxAmino.AminoConverter + const registry = new Registry([...defaultTypes, ...ibcProtoRegistry]); + const aminoTypes = new AminoTypes({ ...ibcAminoConverters }); return { registry, diff --git a/examples/contracts/codegen/ibc/core/channel/v1/channel.ts b/examples/contracts/codegen/ibc/core/channel/v1/channel.ts index 4ea7be915..135c1675a 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/channel.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/channel.ts @@ -1,6 +1,6 @@ import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * State defines if a channel is in one of the following states: * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. @@ -102,8 +102,9 @@ export function stateToJSON(object: State): string { case State.STATE_CLOSED: return "STATE_CLOSED"; + case State.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** Order defines if a channel is ORDERED or UNORDERED */ @@ -169,8 +170,9 @@ export function orderToJSON(object: Order): string { case Order.ORDER_ORDERED: return "ORDER_ORDERED"; + case Order.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -187,7 +189,7 @@ export interface Channel { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -212,7 +214,7 @@ export interface ChannelSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -236,7 +238,7 @@ export interface IdentifiedChannel { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -266,7 +268,7 @@ export interface IdentifiedChannelSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -327,7 +329,7 @@ export interface Packet { data: Uint8Array; /** block height after which the packet times out */ - timeoutHeight: Height | undefined; + timeoutHeight?: Height | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ timeoutTimestamp: Long; @@ -358,7 +360,7 @@ export interface PacketSDKType { data: Uint8Array; /** block height after which the packet times out */ - timeout_height: HeightSDKType | undefined; + timeout_height?: HeightSDKType | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ timeout_timestamp: Long; diff --git a/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts b/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts index 4dc24900b..819579b03 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc channel submodule's genesis state. */ export interface GenesisState { diff --git a/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts index c3eb887f9..dad6252aa 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; export class LCDQueryClient { @@ -49,7 +49,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConnectionChannels queries all the channels associated with a connection - end. */ + end. */ async connectionChannels(params: QueryConnectionChannelsRequest): Promise { @@ -65,7 +65,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers. */ + with the provided channel identifiers. */ async channelClientState(params: QueryChannelClientStateRequest): Promise { @@ -73,7 +73,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers. */ + associated with the provided channel identifiers. */ async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { @@ -88,7 +88,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* PacketCommitments returns all the packet commitments hashes associated - with a channel. */ + with a channel. */ async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { @@ -104,7 +104,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* PacketReceipt queries if a given packet sequence has been received on the - queried chain */ + queried chain */ async packetReceipt(params: QueryPacketReceiptRequest): Promise { @@ -119,7 +119,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* PacketAcknowledgements returns all the packet acknowledgements associated - with a channel. */ + with a channel. */ async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { @@ -139,7 +139,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences. */ + channel and sequences. */ async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { @@ -147,7 +147,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences. */ + with a channel and sequences. */ async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { diff --git a/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts index 8a9c38668..4fbeb5b70 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -1,57 +1,72 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponse, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse, QueryNextSequenceReceiveResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - channel(request: QueryChannelRequest): Promise; - /*Channel queries an IBC Channel.*/ - - channels(request?: QueryChannelsRequest): Promise; - /*Channels queries all the IBC channels of a chain.*/ - - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - /*ConnectionChannels queries all the channels associated with a connection - end.*/ - - channelClientState(request: QueryChannelClientStateRequest): Promise; - /*ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers.*/ - - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - /*ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers.*/ - - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - /*PacketCommitment queries a stored packet commitment hash.*/ - - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - /*PacketCommitments returns all the packet commitments hashes associated - with a channel.*/ - - packetReceipt(request: QueryPacketReceiptRequest): Promise; - /*PacketReceipt queries if a given packet sequence has been received on the - queried chain*/ - - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ - - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - /*PacketAcknowledgements returns all the packet acknowledgements associated - with a channel.*/ - - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - /*UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences.*/ - - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences.*/ - - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; - /*NextSequenceReceive returns the next receive sequence for a given channel.*/ - + /** Channel queries an IBC Channel. */ + channel(request: QueryChannelRequest): Promise; + /** Channels queries all the IBC channels of a chain. */ + + channels(request?: QueryChannelsRequest): Promise; + /** + * ConnectionChannels queries all the channels associated with a connection + * end. + */ + + connectionChannels(request: QueryConnectionChannelsRequest): Promise; + /** + * ChannelClientState queries for the client state for the channel associated + * with the provided channel identifiers. + */ + + channelClientState(request: QueryChannelClientStateRequest): Promise; + /** + * ChannelConsensusState queries for the consensus state for the channel + * associated with the provided channel identifiers. + */ + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + /** PacketCommitment queries a stored packet commitment hash. */ + + packetCommitment(request: QueryPacketCommitmentRequest): Promise; + /** + * PacketCommitments returns all the packet commitments hashes associated + * with a channel. + */ + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + /** + * PacketReceipt queries if a given packet sequence has been received on the + * queried chain + */ + + packetReceipt(request: QueryPacketReceiptRequest): Promise; + /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + /** + * PacketAcknowledgements returns all the packet acknowledgements associated + * with a channel. + */ + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + /** + * UnreceivedPackets returns all the unreceived IBC packets associated with a + * channel and sequences. + */ + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + /** + * UnreceivedAcks returns all the unreceived IBC acknowledgements associated + * with a channel and sequences. + */ + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + /** NextSequenceReceive returns the next receive sequence for a given channel. */ + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -73,7 +88,7 @@ export class QueryClientImpl implements Query { this.nextSequenceReceive = this.nextSequenceReceive.bind(this); } - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { const data = QueryChannelRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); @@ -81,73 +96,73 @@ export class QueryClientImpl implements Query { channels(request: QueryChannelsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); } - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { const data = QueryConnectionChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); } - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { const data = QueryChannelClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); } - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { const data = QueryChannelConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); } - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { const data = QueryPacketCommitmentRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); } - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { const data = QueryPacketCommitmentsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); } - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { const data = QueryPacketReceiptRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); } - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { const data = QueryPacketAcknowledgementRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); } - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); } - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { const data = QueryUnreceivedPacketsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); } - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { const data = QueryUnreceivedAcksRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); } - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { const data = QueryNextSequenceReceiveRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); @@ -158,55 +173,55 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { return queryService.channel(request); }, - channels(request?: QueryChannelsRequest): Promise { + channels(request?: QueryChannelsRequest): Promise { return queryService.channels(request); }, - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { return queryService.connectionChannels(request); }, - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { return queryService.channelClientState(request); }, - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { return queryService.channelConsensusState(request); }, - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { return queryService.packetCommitment(request); }, - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { return queryService.packetCommitments(request); }, - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { return queryService.packetReceipt(request); }, - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { return queryService.packetAcknowledgement(request); }, - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { return queryService.packetAcknowledgements(request); }, - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { return queryService.unreceivedPackets(request); }, - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { return queryService.unreceivedAcks(request); }, - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { return queryService.nextSequenceReceive(request); } diff --git a/examples/contracts/codegen/ibc/core/channel/v1/query.ts b/examples/contracts/codegen/ibc/core/channel/v1/query.ts index 2d6ac82a3..b4b4b297b 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/query.ts @@ -3,7 +3,7 @@ import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, P import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** QueryChannelRequest is the request type for the Query/Channel RPC method */ export interface QueryChannelRequest { @@ -30,13 +30,13 @@ export interface QueryChannelRequestSDKType { export interface QueryChannelResponse { /** channel associated with the request identifiers */ - channel: Channel | undefined; + channel?: Channel | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelResponse is the response type for the Query/Channel RPC method. @@ -46,13 +46,13 @@ export interface QueryChannelResponse { export interface QueryChannelResponseSDKType { /** channel associated with the request identifiers */ - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** QueryChannelsRequest is the request type for the Query/Channels RPC method */ @@ -76,7 +76,7 @@ export interface QueryChannelsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ @@ -88,7 +88,7 @@ export interface QueryChannelsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryConnectionChannelsRequest is the request type for the @@ -127,7 +127,7 @@ export interface QueryConnectionChannelsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryConnectionChannelsResponse is the Response type for the @@ -142,7 +142,7 @@ export interface QueryConnectionChannelsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryChannelClientStateRequest is the request type for the Query/ClientState @@ -175,13 +175,13 @@ export interface QueryChannelClientStateRequestSDKType { export interface QueryChannelClientStateResponse { /** client state associated with the channel */ - identifiedClientState: IdentifiedClientState | undefined; + identifiedClientState?: IdentifiedClientState | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelClientStateResponse is the Response type for the @@ -190,13 +190,13 @@ export interface QueryChannelClientStateResponse { export interface QueryChannelClientStateResponseSDKType { /** client state associated with the channel */ - identified_client_state: IdentifiedClientStateSDKType | undefined; + identified_client_state?: IdentifiedClientStateSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryChannelConsensusStateRequest is the request type for the @@ -241,7 +241,7 @@ export interface QueryChannelConsensusStateRequestSDKType { export interface QueryChannelConsensusStateResponse { /** consensus state associated with the channel */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** client ID associated with the consensus state */ clientId: string; @@ -250,7 +250,7 @@ export interface QueryChannelConsensusStateResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelClientStateResponse is the Response type for the @@ -259,7 +259,7 @@ export interface QueryChannelConsensusStateResponse { export interface QueryChannelConsensusStateResponseSDKType { /** consensus state associated with the channel */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** client ID associated with the consensus state */ client_id: string; @@ -268,7 +268,7 @@ export interface QueryChannelConsensusStateResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketCommitmentRequest is the request type for the @@ -314,7 +314,7 @@ export interface QueryPacketCommitmentResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketCommitmentResponse defines the client query response for a packet @@ -330,7 +330,7 @@ export interface QueryPacketCommitmentResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketCommitmentsRequest is the request type for the @@ -374,7 +374,7 @@ export interface QueryPacketCommitmentsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryPacketCommitmentsResponse is the request type for the @@ -388,7 +388,7 @@ export interface QueryPacketCommitmentsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryPacketReceiptRequest is the request type for the @@ -434,7 +434,7 @@ export interface QueryPacketReceiptResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketReceiptResponse defines the client query response for a packet @@ -450,7 +450,7 @@ export interface QueryPacketReceiptResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketAcknowledgementRequest is the request type for the @@ -496,7 +496,7 @@ export interface QueryPacketAcknowledgementResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketAcknowledgementResponse defines the client query response for a @@ -512,7 +512,7 @@ export interface QueryPacketAcknowledgementResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketAcknowledgementsRequest is the request type for the @@ -530,7 +530,7 @@ export interface QueryPacketAcknowledgementsRequest { pagination?: PageRequest | undefined; /** list of packet sequences */ - packetCommitmentSequences?: Long[]; + packetCommitmentSequences: Long[]; } /** * QueryPacketAcknowledgementsRequest is the request type for the @@ -548,7 +548,7 @@ export interface QueryPacketAcknowledgementsRequestSDKType { pagination?: PageRequestSDKType | undefined; /** list of packet sequences */ - packet_commitment_sequences?: Long[]; + packet_commitment_sequences: Long[]; } /** * QueryPacketAcknowledgemetsResponse is the request type for the @@ -562,7 +562,7 @@ export interface QueryPacketAcknowledgementsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryPacketAcknowledgemetsResponse is the request type for the @@ -576,7 +576,7 @@ export interface QueryPacketAcknowledgementsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryUnreceivedPacketsRequest is the request type for the @@ -618,7 +618,7 @@ export interface QueryUnreceivedPacketsResponse { sequences: Long[]; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryUnreceivedPacketsResponse is the response type for the @@ -630,7 +630,7 @@ export interface QueryUnreceivedPacketsResponseSDKType { sequences: Long[]; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryUnreceivedAcks is the request type for the @@ -672,7 +672,7 @@ export interface QueryUnreceivedAcksResponse { sequences: Long[]; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryUnreceivedAcksResponse is the response type for the @@ -684,7 +684,7 @@ export interface QueryUnreceivedAcksResponseSDKType { sequences: Long[]; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryNextSequenceReceiveRequest is the request type for the @@ -723,7 +723,7 @@ export interface QueryNextSequenceReceiveResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QuerySequenceResponse is the request type for the @@ -738,7 +738,7 @@ export interface QueryNextSequenceReceiveResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } function createBaseQueryChannelRequest(): QueryChannelRequest { @@ -821,7 +821,7 @@ export const QueryChannelResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelResponse(); @@ -931,7 +931,7 @@ export const QueryChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelsResponse(); @@ -1051,7 +1051,7 @@ export const QueryConnectionChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionChannelsResponse(); @@ -1171,7 +1171,7 @@ export const QueryChannelClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelClientStateResponse(); @@ -1316,7 +1316,7 @@ export const QueryChannelConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelConsensusStateResponse(); @@ -1451,7 +1451,7 @@ export const QueryPacketCommitmentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentResponse(); @@ -1581,7 +1581,7 @@ export const QueryPacketCommitmentsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentsResponse(); @@ -1711,7 +1711,7 @@ export const QueryPacketReceiptResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketReceiptResponse(); @@ -1841,7 +1841,7 @@ export const QueryPacketAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementResponse(); @@ -1993,7 +1993,7 @@ export const QueryPacketAcknowledgementsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementsResponse(); @@ -2134,7 +2134,7 @@ export const QueryUnreceivedPacketsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedPacketsResponse(); @@ -2279,7 +2279,7 @@ export const QueryUnreceivedAcksResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedAcksResponse(); @@ -2403,7 +2403,7 @@ export const QueryNextSequenceReceiveResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNextSequenceReceiveResponse(); diff --git a/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts index 799eb6de4..51cd3b06b 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { stateFromJSON, orderFromJSON } from "./channel"; import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, omitDefault, Long } from "@osmonauts/helpers"; +import { AminoHeight, omitDefault, Long } from "../../../../helpers"; import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; export interface AminoMsgChannelOpenInit extends AminoMsg { type: "cosmos-sdk/MsgChannelOpenInit"; diff --git a/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts index 94f7d8538..b9ebcc50b 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -1,40 +1,41 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenInitResponseSDKType, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenTryResponseSDKType, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenAckResponseSDKType, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelOpenConfirmResponseSDKType, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseInitResponseSDKType, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgChannelCloseConfirmResponseSDKType, MsgRecvPacket, MsgRecvPacketResponse, MsgRecvPacketResponseSDKType, MsgTimeout, MsgTimeoutResponse, MsgTimeoutResponseSDKType, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgTimeoutOnCloseResponseSDKType, MsgAcknowledgement, MsgAcknowledgementResponse, MsgAcknowledgementResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; +/** Msg defines the ibc/channel Msg service. */ export interface Msg { - channelOpenInit(request: MsgChannelOpenInit): Promise; - /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ + /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */ + channelOpenInit(request: MsgChannelOpenInit): Promise; + /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */ - channelOpenTry(request: MsgChannelOpenTry): Promise; - /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ + channelOpenTry(request: MsgChannelOpenTry): Promise; + /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */ - channelOpenAck(request: MsgChannelOpenAck): Promise; - /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ + channelOpenAck(request: MsgChannelOpenAck): Promise; + /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */ - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; - /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */ - channelCloseInit(request: MsgChannelCloseInit): Promise; - /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ + channelCloseInit(request: MsgChannelCloseInit): Promise; + /** + * ChannelCloseConfirm defines a rpc handler method for + * MsgChannelCloseConfirm. + */ - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; - /*ChannelCloseConfirm defines a rpc handler method for - MsgChannelCloseConfirm.*/ + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + /** RecvPacket defines a rpc handler method for MsgRecvPacket. */ - recvPacket(request: MsgRecvPacket): Promise; - /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ + recvPacket(request: MsgRecvPacket): Promise; + /** Timeout defines a rpc handler method for MsgTimeout. */ - timeout(request: MsgTimeout): Promise; - /*Timeout defines a rpc handler method for MsgTimeout.*/ + timeout(request: MsgTimeout): Promise; + /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */ - timeoutOnClose(request: MsgTimeoutOnClose): Promise; - /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ - - acknowledgement(request: MsgAcknowledgement): Promise; - /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ + timeoutOnClose(request: MsgTimeoutOnClose): Promise; + /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */ + acknowledgement(request: MsgAcknowledgement): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -53,61 +54,61 @@ export class MsgClientImpl implements Msg { this.acknowledgement = this.acknowledgement.bind(this); } - channelOpenInit(request: MsgChannelOpenInit): Promise { + channelOpenInit(request: MsgChannelOpenInit): Promise { const data = MsgChannelOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); } - channelOpenTry(request: MsgChannelOpenTry): Promise { + channelOpenTry(request: MsgChannelOpenTry): Promise { const data = MsgChannelOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); } - channelOpenAck(request: MsgChannelOpenAck): Promise { + channelOpenAck(request: MsgChannelOpenAck): Promise { const data = MsgChannelOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); } - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { const data = MsgChannelOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); } - channelCloseInit(request: MsgChannelCloseInit): Promise { + channelCloseInit(request: MsgChannelCloseInit): Promise { const data = MsgChannelCloseInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); } - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { const data = MsgChannelCloseConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); } - recvPacket(request: MsgRecvPacket): Promise { + recvPacket(request: MsgRecvPacket): Promise { const data = MsgRecvPacket.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); } - timeout(request: MsgTimeout): Promise { + timeout(request: MsgTimeout): Promise { const data = MsgTimeout.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); } - timeoutOnClose(request: MsgTimeoutOnClose): Promise { + timeoutOnClose(request: MsgTimeoutOnClose): Promise { const data = MsgTimeoutOnClose.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); } - acknowledgement(request: MsgAcknowledgement): Promise { + acknowledgement(request: MsgAcknowledgement): Promise { const data = MsgAcknowledgement.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/ibc/core/channel/v1/tx.ts b/examples/contracts/codegen/ibc/core/channel/v1/tx.ts index 090d272d2..46bf2e53c 100644 --- a/examples/contracts/codegen/ibc/core/channel/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/channel/v1/tx.ts @@ -1,7 +1,7 @@ import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It * is called by a relayer on Chain A. @@ -9,7 +9,7 @@ import { Long } from "@osmonauts/helpers"; export interface MsgChannelOpenInit { portId: string; - channel: Channel | undefined; + channel?: Channel | undefined; signer: string; } /** @@ -19,7 +19,7 @@ export interface MsgChannelOpenInit { export interface MsgChannelOpenInitSDKType { port_id: string; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; signer: string; } /** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ @@ -41,10 +41,10 @@ export interface MsgChannelOpenTry { */ previousChannelId: string; - channel: Channel | undefined; + channel?: Channel | undefined; counterpartyVersion: string; proofInit: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -60,10 +60,10 @@ export interface MsgChannelOpenTrySDKType { */ previous_channel_id: string; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; counterparty_version: string; proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ @@ -83,7 +83,7 @@ export interface MsgChannelOpenAck { counterpartyChannelId: string; counterpartyVersion: string; proofTry: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -97,7 +97,7 @@ export interface MsgChannelOpenAckSDKType { counterparty_channel_id: string; counterparty_version: string; proof_try: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ @@ -115,7 +115,7 @@ export interface MsgChannelOpenConfirm { portId: string; channelId: string; proofAck: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -127,7 +127,7 @@ export interface MsgChannelOpenConfirmSDKType { port_id: string; channel_id: string; proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -177,7 +177,7 @@ export interface MsgChannelCloseConfirm { portId: string; channelId: string; proofInit: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -189,7 +189,7 @@ export interface MsgChannelCloseConfirmSDKType { port_id: string; channel_id: string; proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -207,17 +207,17 @@ export interface MsgChannelCloseConfirmResponseSDKType {} /** MsgRecvPacket receives incoming IBC packet */ export interface MsgRecvPacket { - packet: Packet | undefined; + packet?: Packet | undefined; proofCommitment: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** MsgRecvPacket receives incoming IBC packet */ export interface MsgRecvPacketSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_commitment: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ @@ -229,18 +229,18 @@ export interface MsgRecvPacketResponseSDKType {} /** MsgTimeout receives timed-out packet */ export interface MsgTimeout { - packet: Packet | undefined; + packet?: Packet | undefined; proofUnreceived: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; nextSequenceRecv: Long; signer: string; } /** MsgTimeout receives timed-out packet */ export interface MsgTimeoutSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_unreceived: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; next_sequence_recv: Long; signer: string; } @@ -253,20 +253,20 @@ export interface MsgTimeoutResponseSDKType {} /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ export interface MsgTimeoutOnClose { - packet: Packet | undefined; + packet?: Packet | undefined; proofUnreceived: Uint8Array; proofClose: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; nextSequenceRecv: Long; signer: string; } /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ export interface MsgTimeoutOnCloseSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_unreceived: Uint8Array; proof_close: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; next_sequence_recv: Long; signer: string; } @@ -279,19 +279,19 @@ export interface MsgTimeoutOnCloseResponseSDKType {} /** MsgAcknowledgement receives incoming IBC acknowledgement */ export interface MsgAcknowledgement { - packet: Packet | undefined; + packet?: Packet | undefined; acknowledgement: Uint8Array; proofAcked: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** MsgAcknowledgement receives incoming IBC acknowledgement */ export interface MsgAcknowledgementSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; acknowledgement: Uint8Array; proof_acked: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ @@ -375,7 +375,7 @@ export const MsgChannelOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenInitResponse(); @@ -514,7 +514,7 @@ export const MsgChannelOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenTryResponse(); @@ -653,7 +653,7 @@ export const MsgChannelOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenAckResponse(); @@ -772,7 +772,7 @@ export const MsgChannelOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenConfirmResponse(); @@ -871,7 +871,7 @@ export const MsgChannelCloseInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseInitResponse(); @@ -990,7 +990,7 @@ export const MsgChannelCloseConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseConfirmResponse(); @@ -1099,7 +1099,7 @@ export const MsgRecvPacketResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRecvPacketResponse(); @@ -1218,7 +1218,7 @@ export const MsgTimeoutResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutResponse(); @@ -1347,7 +1347,7 @@ export const MsgTimeoutOnCloseResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutOnCloseResponse(); @@ -1466,7 +1466,7 @@ export const MsgAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgAcknowledgementResponse(); diff --git a/examples/contracts/codegen/ibc/core/client/v1/client.ts b/examples/contracts/codegen/ibc/core/client/v1/client.ts index b5e632919..7d7dbc203 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/client.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/client.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. @@ -12,7 +12,7 @@ export interface IdentifiedClientState { clientId: string; /** client state */ - clientState: Any | undefined; + clientState?: Any | undefined; } /** * IdentifiedClientState defines a client state with an additional client @@ -24,7 +24,7 @@ export interface IdentifiedClientStateSDKType { client_id: string; /** client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateWithHeight defines a consensus state with an additional height @@ -33,10 +33,10 @@ export interface IdentifiedClientStateSDKType { export interface ConsensusStateWithHeight { /** consensus state height */ - height: Height | undefined; + height?: Height | undefined; /** consensus state */ - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateWithHeight defines a consensus state with an additional height @@ -45,10 +45,10 @@ export interface ConsensusStateWithHeight { export interface ConsensusStateWithHeightSDKType { /** consensus state height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; /** consensus state */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ClientConsensusStates defines all the stored consensus states for a given @@ -128,7 +128,7 @@ export interface ClientUpdateProposalSDKType { export interface UpgradeProposal { title: string; description: string; - plan: Plan | undefined; + plan?: Plan | undefined; /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -138,7 +138,7 @@ export interface UpgradeProposal { * planned chain upgrades */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** * UpgradeProposal is a gov Content type for initiating an IBC breaking @@ -148,7 +148,7 @@ export interface UpgradeProposal { export interface UpgradeProposalSDKType { title: string; description: string; - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -158,7 +158,7 @@ export interface UpgradeProposalSDKType { * planned chain upgrades */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * Height is a monotonically increasing data type diff --git a/examples/contracts/codegen/ibc/core/client/v1/genesis.ts b/examples/contracts/codegen/ibc/core/client/v1/genesis.ts index e4ff7bcc0..4f326ca3b 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc client submodule's genesis state. */ export interface GenesisState { @@ -12,7 +12,7 @@ export interface GenesisState { /** metadata from each client */ clientsMetadata: IdentifiedGenesisMetadata[]; - params: Params | undefined; + params?: Params | undefined; /** create localhost on initialization */ createLocalhost: boolean; @@ -31,7 +31,7 @@ export interface GenesisStateSDKType { /** metadata from each client */ clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** create localhost on initialization */ create_localhost: boolean; diff --git a/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts index ebf8ab744..16255995c 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; export class LCDQueryClient { @@ -44,7 +44,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConsensusState queries a consensus state associated with a client state at - a given height. */ + a given height. */ async consensusState(params: QueryConsensusStateRequest): Promise { @@ -60,7 +60,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConsensusStates queries all the consensus state associated with a given - client. */ + client. */ async consensusStates(params: QueryConsensusStatesRequest): Promise { diff --git a/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts index 2229a6a4b..58429d53b 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -1,36 +1,39 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponse, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponse, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - clientState(request: QueryClientStateRequest): Promise; - /*ClientState queries an IBC light client.*/ + /** ClientState queries an IBC light client. */ + clientState(request: QueryClientStateRequest): Promise; + /** ClientStates queries all the IBC light clients of a chain. */ - clientStates(request?: QueryClientStatesRequest): 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; - /*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; - /*ConsensusStates queries all the consensus state associated with a given - client.*/ + consensusStates(request: QueryConsensusStatesRequest): Promise; + /** Status queries the status of an IBC client. */ - clientStatus(request: QueryClientStatusRequest): 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; - /*ClientParams queries all parameters of the ibc client.*/ + clientParams(request?: QueryClientParamsRequest): Promise; + /** UpgradedClientState queries an Upgraded IBC light client. */ - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - /*UpgradedClientState queries an Upgraded IBC light client.*/ - - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; - /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; + /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -47,7 +50,7 @@ export class QueryClientImpl implements Query { this.upgradedConsensusState = this.upgradedConsensusState.bind(this); } - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { const data = QueryClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); @@ -55,43 +58,43 @@ export class QueryClientImpl implements Query { clientStates(request: QueryClientStatesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryClientStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); } - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { const data = QueryConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); } - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { const data = QueryConsensusStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); } - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { const data = QueryClientStatusRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); } - clientParams(request: QueryClientParamsRequest = {}): Promise { + clientParams(request: QueryClientParamsRequest = {}): Promise { const data = QueryClientParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); } - upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { + upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { const data = QueryUpgradedClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); @@ -102,35 +105,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { return queryService.clientState(request); }, - clientStates(request?: QueryClientStatesRequest): Promise { + clientStates(request?: QueryClientStatesRequest): Promise { return queryService.clientStates(request); }, - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { return queryService.consensusState(request); }, - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { return queryService.consensusStates(request); }, - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { return queryService.clientStatus(request); }, - clientParams(request?: QueryClientParamsRequest): Promise { + clientParams(request?: QueryClientParamsRequest): Promise { return queryService.clientParams(request); }, - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { return queryService.upgradedClientState(request); }, - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { return queryService.upgradedConsensusState(request); } diff --git a/examples/contracts/codegen/ibc/core/client/v1/query.ts b/examples/contracts/codegen/ibc/core/client/v1/query.ts index 0163ae655..02d4a0510 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/query.ts @@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method @@ -29,13 +29,13 @@ export interface QueryClientStateRequestSDKType { export interface QueryClientStateResponse { /** client state associated with the request identifier */ - clientState: Any | undefined; + clientState?: Any | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -45,13 +45,13 @@ export interface QueryClientStateResponse { export interface QueryClientStateResponseSDKType { /** client state associated with the request identifier */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryClientStatesRequest is the request type for the Query/ClientStates RPC @@ -115,7 +115,7 @@ export interface QueryConsensusStateRequest { * ConsensusState */ - latestHeight?: boolean; + latestHeight: boolean; } /** * QueryConsensusStateRequest is the request type for the Query/ConsensusState @@ -137,7 +137,7 @@ export interface QueryConsensusStateRequestSDKType { * ConsensusState */ - latest_height?: boolean; + latest_height: boolean; } /** * QueryConsensusStateResponse is the response type for the Query/ConsensusState @@ -146,13 +146,13 @@ export interface QueryConsensusStateRequestSDKType { export interface QueryConsensusStateResponse { /** consensus state associated with the client identifier at the given height */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConsensusStateResponse is the response type for the Query/ConsensusState @@ -161,13 +161,13 @@ export interface QueryConsensusStateResponse { export interface QueryConsensusStateResponseSDKType { /** consensus state associated with the client identifier at the given height */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates @@ -270,7 +270,7 @@ export interface QueryClientParamsRequestSDKType {} export interface QueryClientParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** * QueryClientParamsResponse is the response type for the Query/ClientParams RPC @@ -279,7 +279,7 @@ export interface QueryClientParamsResponse { export interface QueryClientParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QueryUpgradedClientStateRequest is the request type for the @@ -300,7 +300,7 @@ export interface QueryUpgradedClientStateRequestSDKType {} export interface QueryUpgradedClientStateResponse { /** client state associated with the request identifier */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** * QueryUpgradedClientStateResponse is the response type for the @@ -309,7 +309,7 @@ export interface QueryUpgradedClientStateResponse { export interface QueryUpgradedClientStateResponseSDKType { /** client state associated with the request identifier */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * QueryUpgradedConsensusStateRequest is the request type for the @@ -330,7 +330,7 @@ export interface QueryUpgradedConsensusStateRequestSDKType {} export interface QueryUpgradedConsensusStateResponse { /** Consensus state associated with the request identifier */ - upgradedConsensusState: Any | undefined; + upgradedConsensusState?: Any | undefined; } /** * QueryUpgradedConsensusStateResponse is the response type for the @@ -339,7 +339,7 @@ export interface QueryUpgradedConsensusStateResponse { export interface QueryUpgradedConsensusStateResponseSDKType { /** Consensus state associated with the request identifier */ - upgraded_consensus_state: AnySDKType | undefined; + upgraded_consensus_state?: AnySDKType | undefined; } function createBaseQueryClientStateRequest(): QueryClientStateRequest { @@ -412,7 +412,7 @@ export const QueryClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStateResponse(); @@ -517,7 +517,7 @@ export const QueryClientStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatesResponse(); @@ -652,7 +652,7 @@ export const QueryConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStateResponse(); @@ -767,7 +767,7 @@ export const QueryConsensusStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStatesResponse(); @@ -862,7 +862,7 @@ export const QueryClientStatusResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatusResponse(); @@ -941,7 +941,7 @@ export const QueryClientParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientParamsResponse(); @@ -1020,7 +1020,7 @@ export const QueryUpgradedClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedClientStateResponse(); @@ -1099,7 +1099,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); diff --git a/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts index 32954d23b..3197da3f9 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -1,21 +1,20 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateClient, MsgCreateClientResponse, MsgCreateClientResponseSDKType, MsgUpdateClient, MsgUpdateClientResponse, MsgUpdateClientResponseSDKType, MsgUpgradeClient, MsgUpgradeClientResponse, MsgUpgradeClientResponseSDKType, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse, MsgSubmitMisbehaviourResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; +/** Msg defines the ibc/client Msg service. */ export interface Msg { - createClient(request: MsgCreateClient): Promise; - /*CreateClient defines a rpc handler method for MsgCreateClient.*/ + /** CreateClient defines a rpc handler method for MsgCreateClient. */ + createClient(request: MsgCreateClient): Promise; + /** UpdateClient defines a rpc handler method for MsgUpdateClient. */ - updateClient(request: MsgUpdateClient): 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; - /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ - - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; - /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ + upgradeClient(request: MsgUpgradeClient): Promise; + /** SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. */ + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -28,25 +27,25 @@ export class MsgClientImpl implements Msg { this.submitMisbehaviour = this.submitMisbehaviour.bind(this); } - createClient(request: MsgCreateClient): Promise { + createClient(request: MsgCreateClient): Promise { const data = MsgCreateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); } - updateClient(request: MsgUpdateClient): Promise { + updateClient(request: MsgUpdateClient): Promise { const data = MsgUpdateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); } - upgradeClient(request: MsgUpgradeClient): Promise { + upgradeClient(request: MsgUpgradeClient): Promise { const data = MsgUpgradeClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); } - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { const data = MsgSubmitMisbehaviour.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/ibc/core/client/v1/tx.ts b/examples/contracts/codegen/ibc/core/client/v1/tx.ts index 1936320d5..24b579e8a 100644 --- a/examples/contracts/codegen/ibc/core/client/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/client/v1/tx.ts @@ -4,13 +4,13 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgCreateClient { /** light client state */ - clientState: Any | undefined; + clientState?: Any | undefined; /** * consensus state associated with the client that corresponds to a given * height. */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** signer address */ signer: string; @@ -19,13 +19,13 @@ export interface MsgCreateClient { export interface MsgCreateClientSDKType { /** light client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** * consensus state associated with the client that corresponds to a given * height. */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** signer address */ signer: string; @@ -46,7 +46,7 @@ export interface MsgUpdateClient { clientId: string; /** header to update the light client */ - header: Any | undefined; + header?: Any | undefined; /** signer address */ signer: string; @@ -61,7 +61,7 @@ export interface MsgUpdateClientSDKType { client_id: string; /** header to update the light client */ - header: AnySDKType | undefined; + header?: AnySDKType | undefined; /** signer address */ signer: string; @@ -82,13 +82,13 @@ export interface MsgUpgradeClient { clientId: string; /** upgraded client state */ - clientState: Any | undefined; + clientState?: Any | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** proof that old chain committed to new client */ proofUpgradeClient: Uint8Array; @@ -109,13 +109,13 @@ export interface MsgUpgradeClientSDKType { client_id: string; /** upgraded client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** proof that old chain committed to new client */ proof_upgrade_client: Uint8Array; @@ -142,7 +142,7 @@ export interface MsgSubmitMisbehaviour { clientId: string; /** misbehaviour used for freezing the light client */ - misbehaviour: Any | undefined; + misbehaviour?: Any | undefined; /** signer address */ signer: string; @@ -157,7 +157,7 @@ export interface MsgSubmitMisbehaviourSDKType { client_id: string; /** misbehaviour used for freezing the light client */ - misbehaviour: AnySDKType | undefined; + misbehaviour?: AnySDKType | undefined; /** signer address */ signer: string; @@ -249,7 +249,7 @@ export const MsgCreateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateClientResponse(); @@ -348,7 +348,7 @@ export const MsgUpdateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateClientResponse(); @@ -477,7 +477,7 @@ export const MsgUpgradeClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpgradeClientResponse(); @@ -576,7 +576,7 @@ export const MsgSubmitMisbehaviourResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitMisbehaviourResponse(); diff --git a/examples/contracts/codegen/ibc/core/connection/v1/connection.ts b/examples/contracts/codegen/ibc/core/connection/v1/connection.ts index 56675b482..f232ce385 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/connection.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/connection.ts @@ -1,6 +1,6 @@ import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * State defines if a connection is in one of the following states: * INIT, TRYOPEN, OPEN or UNINITIALIZED. @@ -83,8 +83,9 @@ export function stateToJSON(object: State): string { case State.STATE_OPEN: return "STATE_OPEN"; + case State.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -108,7 +109,7 @@ export interface ConnectionEnd { state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some @@ -138,7 +139,7 @@ export interface ConnectionEndSDKType { state: StateSDKType; /** counterparty chain associated with this connection. */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some @@ -169,7 +170,7 @@ export interface IdentifiedConnection { state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** delay period associated with this connection. */ delayPeriod: Long; @@ -196,7 +197,7 @@ export interface IdentifiedConnectionSDKType { state: StateSDKType; /** counterparty chain associated with this connection. */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** delay period associated with this connection. */ delay_period: Long; @@ -217,7 +218,7 @@ export interface Counterparty { connectionId: string; /** commitment merkle prefix of the counterparty chain. */ - prefix: MerklePrefix | undefined; + prefix?: MerklePrefix | undefined; } /** Counterparty defines the counterparty chain associated with a connection end. */ @@ -235,7 +236,7 @@ export interface CounterpartySDKType { connection_id: string; /** commitment merkle prefix of the counterparty chain. */ - prefix: MerklePrefixSDKType | undefined; + prefix?: MerklePrefixSDKType | undefined; } /** ClientPaths define all the connection paths for a client state. */ diff --git a/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts b/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts index d9f7145f8..9bc46b727 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc connection submodule's genesis state. */ export interface GenesisState { @@ -9,7 +9,7 @@ export interface GenesisState { /** the sequence for the next generated connection identifier */ nextConnectionSequence: Long; - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the ibc connection submodule's genesis state. */ @@ -19,7 +19,7 @@ export interface GenesisStateSDKType { /** the sequence for the next generated connection identifier */ next_connection_sequence: Long; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts index 3f36d30cf..5f34519b7 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; export class LCDQueryClient { @@ -41,7 +41,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ClientConnections queries the connection paths associated with a client - state. */ + state. */ async clientConnections(params: QueryClientConnectionsRequest): Promise { @@ -49,7 +49,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ConnectionClientState queries the client state associated with the - connection. */ + connection. */ async connectionClientState(params: QueryConnectionClientStateRequest): Promise { @@ -57,7 +57,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ConnectionConsensusState queries the consensus state associated with the - connection. */ + connection. */ async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { diff --git a/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts index eb31397af..e3af26e15 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -1,28 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponse, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse, QueryConnectionConsensusStateResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - connection(request: QueryConnectionRequest): Promise; - /*Connection queries an IBC connection end.*/ - - connections(request?: QueryConnectionsRequest): Promise; - /*Connections queries all the IBC connections of a chain.*/ - - clientConnections(request: QueryClientConnectionsRequest): Promise; - /*ClientConnections queries the connection paths associated with a client - state.*/ - - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - /*ConnectionClientState queries the client state associated with the - connection.*/ - - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; - /*ConnectionConsensusState queries the consensus state associated with the - connection.*/ - + /** Connection queries an IBC connection end. */ + connection(request: QueryConnectionRequest): Promise; + /** Connections queries all the IBC connections of a chain. */ + + connections(request?: QueryConnectionsRequest): Promise; + /** + * ClientConnections queries the connection paths associated with a client + * state. + */ + + clientConnections(request: QueryClientConnectionsRequest): Promise; + /** + * ConnectionClientState queries the client state associated with the + * connection. + */ + + connectionClientState(request: QueryConnectionClientStateRequest): Promise; + /** + * ConnectionConsensusState queries the consensus state associated with the + * connection. + */ + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -36,7 +41,7 @@ export class QueryClientImpl implements Query { this.connectionConsensusState = this.connectionConsensusState.bind(this); } - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { const data = QueryConnectionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); @@ -44,25 +49,25 @@ export class QueryClientImpl implements Query { connections(request: QueryConnectionsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); } - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { const data = QueryClientConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); } - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { const data = QueryConnectionClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); } - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { const data = QueryConnectionConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); @@ -73,23 +78,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { return queryService.connection(request); }, - connections(request?: QueryConnectionsRequest): Promise { + connections(request?: QueryConnectionsRequest): Promise { return queryService.connections(request); }, - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { return queryService.clientConnections(request); }, - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { return queryService.connectionClientState(request); }, - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { return queryService.connectionConsensusState(request); } diff --git a/examples/contracts/codegen/ibc/core/connection/v1/query.ts b/examples/contracts/codegen/ibc/core/connection/v1/query.ts index 806638982..47a24de55 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/query.ts @@ -3,7 +3,7 @@ import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedCo import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * QueryConnectionRequest is the request type for the Query/Connection RPC * method @@ -30,13 +30,13 @@ export interface QueryConnectionRequestSDKType { export interface QueryConnectionResponse { /** connection associated with the request identifier */ - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionResponse is the response type for the Query/Connection RPC @@ -46,13 +46,13 @@ export interface QueryConnectionResponse { export interface QueryConnectionResponseSDKType { /** connection associated with the request identifier */ - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionsRequest is the request type for the Query/Connections RPC @@ -83,7 +83,7 @@ export interface QueryConnectionsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryConnectionsResponse is the response type for the Query/Connections RPC @@ -98,7 +98,7 @@ export interface QueryConnectionsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryClientConnectionsRequest is the request type for the @@ -131,7 +131,7 @@ export interface QueryClientConnectionsResponse { proof: Uint8Array; /** height at which the proof was generated */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryClientConnectionsResponse is the response type for the @@ -146,7 +146,7 @@ export interface QueryClientConnectionsResponseSDKType { proof: Uint8Array; /** height at which the proof was generated */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionClientStateRequest is the request type for the @@ -173,13 +173,13 @@ export interface QueryConnectionClientStateRequestSDKType { export interface QueryConnectionClientStateResponse { /** client state associated with the channel */ - identifiedClientState: IdentifiedClientState | undefined; + identifiedClientState?: IdentifiedClientState | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionClientStateResponse is the response type for the @@ -188,13 +188,13 @@ export interface QueryConnectionClientStateResponse { export interface QueryConnectionClientStateResponseSDKType { /** client state associated with the channel */ - identified_client_state: IdentifiedClientStateSDKType | undefined; + identified_client_state?: IdentifiedClientStateSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionConsensusStateRequest is the request type for the @@ -225,7 +225,7 @@ export interface QueryConnectionConsensusStateRequestSDKType { export interface QueryConnectionConsensusStateResponse { /** consensus state associated with the channel */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** client ID associated with the consensus state */ clientId: string; @@ -234,7 +234,7 @@ export interface QueryConnectionConsensusStateResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionConsensusStateResponse is the response type for the @@ -243,7 +243,7 @@ export interface QueryConnectionConsensusStateResponse { export interface QueryConnectionConsensusStateResponseSDKType { /** consensus state associated with the channel */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** client ID associated with the consensus state */ client_id: string; @@ -252,7 +252,7 @@ export interface QueryConnectionConsensusStateResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } function createBaseQueryConnectionRequest(): QueryConnectionRequest { @@ -325,7 +325,7 @@ export const QueryConnectionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionResponse(); @@ -435,7 +435,7 @@ export const QueryConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionsResponse(); @@ -545,7 +545,7 @@ export const QueryClientConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientConnectionsResponse(); @@ -655,7 +655,7 @@ export const QueryConnectionClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionClientStateResponse(); @@ -790,7 +790,7 @@ export const QueryConnectionConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionConsensusStateResponse(); diff --git a/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts index 672bcc142..cf870e601 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; export interface AminoMsgConnectionOpenInit extends AminoMsg { type: "cosmos-sdk/MsgConnectionOpenInit"; diff --git a/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts index 5a29f86b4..bfda3f8cf 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -1,22 +1,23 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenInitResponseSDKType, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenTryResponseSDKType, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenAckResponseSDKType, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse, MsgConnectionOpenConfirmResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; +/** Msg defines the ibc/connection Msg service. */ export interface Msg { - connectionOpenInit(request: MsgConnectionOpenInit): Promise; - /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ + /** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */ + connectionOpenInit(request: MsgConnectionOpenInit): Promise; + /** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */ - connectionOpenTry(request: MsgConnectionOpenTry): Promise; - /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ + connectionOpenTry(request: MsgConnectionOpenTry): Promise; + /** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */ - connectionOpenAck(request: MsgConnectionOpenAck): Promise; - /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ - - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; - /*ConnectionOpenConfirm defines a rpc handler method for - MsgConnectionOpenConfirm.*/ + connectionOpenAck(request: MsgConnectionOpenAck): Promise; + /** + * ConnectionOpenConfirm defines a rpc handler method for + * MsgConnectionOpenConfirm. + */ + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -29,25 +30,25 @@ export class MsgClientImpl implements Msg { this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); } - connectionOpenInit(request: MsgConnectionOpenInit): Promise { + connectionOpenInit(request: MsgConnectionOpenInit): Promise { const data = MsgConnectionOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); } - connectionOpenTry(request: MsgConnectionOpenTry): Promise { + connectionOpenTry(request: MsgConnectionOpenTry): Promise { const data = MsgConnectionOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); } - connectionOpenAck(request: MsgConnectionOpenAck): Promise { + connectionOpenAck(request: MsgConnectionOpenAck): Promise { const data = MsgConnectionOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); } - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { const data = MsgConnectionOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); diff --git a/examples/contracts/codegen/ibc/core/connection/v1/tx.ts b/examples/contracts/codegen/ibc/core/connection/v1/tx.ts index 344a50b3a..e4f7ba63a 100644 --- a/examples/contracts/codegen/ibc/core/connection/v1/tx.ts +++ b/examples/contracts/codegen/ibc/core/connection/v1/tx.ts @@ -2,7 +2,7 @@ import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./co import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. @@ -10,8 +10,8 @@ import { Long } from "@osmonauts/helpers"; export interface MsgConnectionOpenInit { clientId: string; - counterparty: Counterparty | undefined; - version: Version | undefined; + counterparty?: Counterparty | undefined; + version?: Version | undefined; delayPeriod: Long; signer: string; } @@ -22,8 +22,8 @@ export interface MsgConnectionOpenInit { export interface MsgConnectionOpenInitSDKType { client_id: string; - counterparty: CounterpartySDKType | undefined; - version: VersionSDKType | undefined; + counterparty?: CounterpartySDKType | undefined; + version?: VersionSDKType | undefined; delay_period: Long; signer: string; } @@ -52,11 +52,11 @@ export interface MsgConnectionOpenTry { */ previousConnectionId: string; - clientState: Any | undefined; - counterparty: Counterparty | undefined; + clientState?: Any | undefined; + counterparty?: Counterparty | undefined; delayPeriod: Long; counterpartyVersions: Version[]; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` @@ -69,7 +69,7 @@ export interface MsgConnectionOpenTry { /** proof of client consensus state */ proofConsensus: Uint8Array; - consensusHeight: Height | undefined; + consensusHeight?: Height | undefined; signer: string; } /** @@ -85,11 +85,11 @@ export interface MsgConnectionOpenTrySDKType { */ previous_connection_id: string; - client_state: AnySDKType | undefined; - counterparty: CounterpartySDKType | undefined; + client_state?: AnySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; delay_period: Long; counterparty_versions: VersionSDKType[]; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` @@ -102,7 +102,7 @@ export interface MsgConnectionOpenTrySDKType { /** proof of client consensus state */ proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; + consensus_height?: HeightSDKType | undefined; signer: string; } /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ @@ -119,9 +119,9 @@ export interface MsgConnectionOpenTryResponseSDKType {} export interface MsgConnectionOpenAck { connectionId: string; counterpartyConnectionId: string; - version: Version | undefined; - clientState: Any | undefined; - proofHeight: Height | undefined; + version?: Version | undefined; + clientState?: Any | undefined; + proofHeight?: Height | undefined; /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` @@ -134,7 +134,7 @@ export interface MsgConnectionOpenAck { /** proof of client consensus state */ proofConsensus: Uint8Array; - consensusHeight: Height | undefined; + consensusHeight?: Height | undefined; signer: string; } /** @@ -145,9 +145,9 @@ export interface MsgConnectionOpenAck { export interface MsgConnectionOpenAckSDKType { connection_id: string; counterparty_connection_id: string; - version: VersionSDKType | undefined; - client_state: AnySDKType | undefined; - proof_height: HeightSDKType | undefined; + version?: VersionSDKType | undefined; + client_state?: AnySDKType | undefined; + proof_height?: HeightSDKType | undefined; /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` @@ -160,7 +160,7 @@ export interface MsgConnectionOpenAckSDKType { /** proof of client consensus state */ proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; + consensus_height?: HeightSDKType | undefined; signer: string; } /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ @@ -179,7 +179,7 @@ export interface MsgConnectionOpenConfirm { /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ proofAck: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -192,7 +192,7 @@ export interface MsgConnectionOpenConfirmSDKType { /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -302,7 +302,7 @@ export const MsgConnectionOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenInitResponse(); @@ -491,7 +491,7 @@ export const MsgConnectionOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenTryResponse(); @@ -660,7 +660,7 @@ export const MsgConnectionOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenAckResponse(); @@ -769,7 +769,7 @@ export const MsgConnectionOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenConfirmResponse(); diff --git a/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts index f6f39eba1..df3c124c1 100644 --- a/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts +++ b/examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -1,13 +1,12 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAppVersionRequest, QueryAppVersionResponse, QueryAppVersionResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; +/** Query defines the gRPC querier service */ export interface Query { - appVersion(request: QueryAppVersionRequest): Promise; - /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ - + /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ + appVersion(request: QueryAppVersionRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -17,7 +16,7 @@ export class QueryClientImpl implements Query { this.appVersion = this.appVersion.bind(this); } - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { const data = QueryAppVersionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); @@ -28,7 +27,7 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { return queryService.appVersion(request); } diff --git a/examples/contracts/codegen/ibc/core/port/v1/query.ts b/examples/contracts/codegen/ibc/core/port/v1/query.ts index dc84ac749..933166edc 100644 --- a/examples/contracts/codegen/ibc/core/port/v1/query.ts +++ b/examples/contracts/codegen/ibc/core/port/v1/query.ts @@ -13,7 +13,7 @@ export interface QueryAppVersionRequest { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** proposed version */ proposedVersion: string; @@ -31,7 +31,7 @@ export interface QueryAppVersionRequestSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** proposed version */ proposed_version: string; @@ -160,7 +160,7 @@ export const QueryAppVersionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppVersionResponse(); diff --git a/examples/contracts/codegen/ibc/core/types/v1/genesis.ts b/examples/contracts/codegen/ibc/core/types/v1/genesis.ts index 7f13029c2..9a8843a04 100644 --- a/examples/contracts/codegen/ibc/core/types/v1/genesis.ts +++ b/examples/contracts/codegen/ibc/core/types/v1/genesis.ts @@ -10,25 +10,25 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** ICS002 - Clients genesis state */ - clientGenesis: GenesisState1 | undefined; + clientGenesis?: GenesisState1 | undefined; /** ICS003 - Connections genesis state */ - connectionGenesis: GenesisState2 | undefined; + connectionGenesis?: GenesisState2 | undefined; /** ICS004 - Channel genesis state */ - channelGenesis: GenesisState3 | undefined; + channelGenesis?: GenesisState3 | undefined; } /** GenesisState defines the ibc module's genesis state. */ export interface GenesisStateSDKType { /** ICS002 - Clients genesis state */ - client_genesis: GenesisState1SDKType | undefined; + client_genesis?: GenesisState1SDKType | undefined; /** ICS003 - Connections genesis state */ - connection_genesis: GenesisState2SDKType | undefined; + connection_genesis?: GenesisState2SDKType | undefined; /** ICS004 - Channel genesis state */ - channel_genesis: GenesisState3SDKType | undefined; + channel_genesis?: GenesisState3SDKType | undefined; } function createBaseGenesisState(): GenesisState { @@ -88,9 +88,9 @@ export const GenesisState = { fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); - message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; - message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState.fromPartial(object.connectionGenesis) : undefined; - message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState.fromPartial(object.channelGenesis) : undefined; + message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState1.fromPartial(object.clientGenesis) : undefined; + message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState2.fromPartial(object.connectionGenesis) : undefined; + message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState3.fromPartial(object.channelGenesis) : undefined; return message; } diff --git a/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts index 53a6acb02..2e3f7d916 100644 --- a/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts +++ b/examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -10,7 +10,7 @@ export interface ClientState { chainId: string; /** self latest block height */ - height: Height | undefined; + height?: Height | undefined; } /** * ClientState defines a loopback (localhost) client. It requires (read-only) @@ -22,7 +22,7 @@ export interface ClientStateSDKType { chain_id: string; /** self latest block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } function createBaseClientState(): ClientState { diff --git a/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts index 7146ff582..3193aa6bf 100644 --- a/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. @@ -157,8 +157,9 @@ export function dataTypeToJSON(object: DataType): string { case DataType.DATA_TYPE_HEADER: return "DATA_TYPE_HEADER"; + case DataType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -172,7 +173,7 @@ export interface ClientState { /** frozen sequence of the solo machine */ frozenSequence: Long; - consensusState: ConsensusState | undefined; + consensusState?: ConsensusState | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -191,7 +192,7 @@ export interface ClientStateSDKType { /** frozen sequence of the solo machine */ frozen_sequence: Long; - consensus_state: ConsensusStateSDKType | undefined; + consensus_state?: ConsensusStateSDKType | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -207,7 +208,7 @@ export interface ClientStateSDKType { export interface ConsensusState { /** public key of the solo machine */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -225,7 +226,7 @@ export interface ConsensusState { export interface ConsensusStateSDKType { /** public key of the solo machine */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -242,7 +243,7 @@ export interface Header { sequence: Long; timestamp: Long; signature: Uint8Array; - newPublicKey: Any | undefined; + newPublicKey?: Any | undefined; newDiversifier: string; } /** Header defines a solo machine consensus header */ @@ -252,7 +253,7 @@ export interface HeaderSDKType { sequence: Long; timestamp: Long; signature: Uint8Array; - new_public_key: AnySDKType | undefined; + new_public_key?: AnySDKType | undefined; new_diversifier: string; } /** @@ -263,8 +264,8 @@ export interface HeaderSDKType { export interface Misbehaviour { clientId: string; sequence: Long; - signatureOne: SignatureAndData | undefined; - signatureTwo: SignatureAndData | undefined; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; } /** * Misbehaviour defines misbehaviour for a solo machine which consists @@ -274,8 +275,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; sequence: Long; - signature_one: SignatureAndDataSDKType | undefined; - signature_two: SignatureAndDataSDKType | undefined; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; } /** * SignatureAndData contains a signature and the data signed over to create that @@ -347,7 +348,7 @@ export interface SignBytesSDKType { export interface HeaderData { /** header public key */ - newPubKey: Any | undefined; + newPubKey?: Any | undefined; /** header diversifier */ newDiversifier: string; @@ -356,7 +357,7 @@ export interface HeaderData { export interface HeaderDataSDKType { /** header public key */ - new_pub_key: AnySDKType | undefined; + new_pub_key?: AnySDKType | undefined; /** header diversifier */ new_diversifier: string; @@ -365,13 +366,13 @@ export interface HeaderDataSDKType { export interface ClientStateData { path: Uint8Array; - clientState: Any | undefined; + clientState?: Any | undefined; } /** ClientStateData returns the SignBytes data for client state verification. */ export interface ClientStateDataSDKType { path: Uint8Array; - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -380,7 +381,7 @@ export interface ClientStateDataSDKType { export interface ConsensusStateData { path: Uint8Array; - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -389,7 +390,7 @@ export interface ConsensusStateData { export interface ConsensusStateDataSDKType { path: Uint8Array; - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -398,7 +399,7 @@ export interface ConsensusStateDataSDKType { export interface ConnectionStateData { path: Uint8Array; - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -407,7 +408,7 @@ export interface ConnectionStateData { export interface ConnectionStateDataSDKType { path: Uint8Array; - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -416,7 +417,7 @@ export interface ConnectionStateDataSDKType { export interface ChannelStateData { path: Uint8Array; - channel: Channel | undefined; + channel?: Channel | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -425,7 +426,7 @@ export interface ChannelStateData { export interface ChannelStateDataSDKType { path: Uint8Array; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; } /** * PacketCommitmentData returns the SignBytes data for packet commitment diff --git a/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts index 86e21a2aa..c7a3d08be 100644 --- a/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. @@ -157,8 +157,9 @@ export function dataTypeToJSON(object: DataType): string { case DataType.DATA_TYPE_HEADER: return "DATA_TYPE_HEADER"; + case DataType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -172,7 +173,7 @@ export interface ClientState { /** frozen sequence of the solo machine */ isFrozen: boolean; - consensusState: ConsensusState | undefined; + consensusState?: ConsensusState | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -191,7 +192,7 @@ export interface ClientStateSDKType { /** frozen sequence of the solo machine */ is_frozen: boolean; - consensus_state: ConsensusStateSDKType | undefined; + consensus_state?: ConsensusStateSDKType | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -207,7 +208,7 @@ export interface ClientStateSDKType { export interface ConsensusState { /** public key of the solo machine */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -225,7 +226,7 @@ export interface ConsensusState { export interface ConsensusStateSDKType { /** public key of the solo machine */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -242,7 +243,7 @@ export interface Header { sequence: Long; timestamp: Long; signature: Uint8Array; - newPublicKey: Any | undefined; + newPublicKey?: Any | undefined; newDiversifier: string; } /** Header defines a solo machine consensus header */ @@ -252,7 +253,7 @@ export interface HeaderSDKType { sequence: Long; timestamp: Long; signature: Uint8Array; - new_public_key: AnySDKType | undefined; + new_public_key?: AnySDKType | undefined; new_diversifier: string; } /** @@ -263,8 +264,8 @@ export interface HeaderSDKType { export interface Misbehaviour { clientId: string; sequence: Long; - signatureOne: SignatureAndData | undefined; - signatureTwo: SignatureAndData | undefined; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; } /** * Misbehaviour defines misbehaviour for a solo machine which consists @@ -274,8 +275,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; sequence: Long; - signature_one: SignatureAndDataSDKType | undefined; - signature_two: SignatureAndDataSDKType | undefined; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; } /** * SignatureAndData contains a signature and the data signed over to create that @@ -347,7 +348,7 @@ export interface SignBytesSDKType { export interface HeaderData { /** header public key */ - newPubKey: Any | undefined; + newPubKey?: Any | undefined; /** header diversifier */ newDiversifier: string; @@ -356,7 +357,7 @@ export interface HeaderData { export interface HeaderDataSDKType { /** header public key */ - new_pub_key: AnySDKType | undefined; + new_pub_key?: AnySDKType | undefined; /** header diversifier */ new_diversifier: string; @@ -365,13 +366,13 @@ export interface HeaderDataSDKType { export interface ClientStateData { path: Uint8Array; - clientState: Any | undefined; + clientState?: Any | undefined; } /** ClientStateData returns the SignBytes data for client state verification. */ export interface ClientStateDataSDKType { path: Uint8Array; - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -380,7 +381,7 @@ export interface ClientStateDataSDKType { export interface ConsensusStateData { path: Uint8Array; - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -389,7 +390,7 @@ export interface ConsensusStateData { export interface ConsensusStateDataSDKType { path: Uint8Array; - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -398,7 +399,7 @@ export interface ConsensusStateDataSDKType { export interface ConnectionStateData { path: Uint8Array; - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -407,7 +408,7 @@ export interface ConnectionStateData { export interface ConnectionStateDataSDKType { path: Uint8Array; - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -416,7 +417,7 @@ export interface ConnectionStateDataSDKType { export interface ChannelStateData { path: Uint8Array; - channel: Channel | undefined; + channel?: Channel | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -425,7 +426,7 @@ export interface ChannelStateData { export interface ChannelStateDataSDKType { path: Uint8Array; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; } /** * PacketCommitmentData returns the SignBytes data for packet commitment diff --git a/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts index 23ed24b9e..795673042 100644 --- a/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -6,7 +6,7 @@ import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commi import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../../helpers"; /** * ClientState from Tendermint tracks the current validator set, latest height, * and a possible frozen height. @@ -14,25 +14,25 @@ import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; export interface ClientState { chainId: string; - trustLevel: Fraction | undefined; + trustLevel?: Fraction | undefined; /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trustingPeriod: Duration | undefined; + trustingPeriod?: Duration | undefined; /** duration of the staking unbonding period */ - unbondingPeriod: Duration | undefined; + unbondingPeriod?: Duration | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift: Duration | undefined; + maxClockDrift?: Duration | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight: Height | undefined; + frozenHeight?: Height | undefined; /** Latest height the client was updated to */ - latestHeight: Height | undefined; + latestHeight?: Height | undefined; /** Proof specifications used in verifying counterparty state */ proofSpecs: ProofSpec[]; @@ -67,25 +67,25 @@ export interface ClientState { export interface ClientStateSDKType { chain_id: string; - trust_level: FractionSDKType | undefined; + trust_level?: FractionSDKType | undefined; /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trusting_period: DurationSDKType | undefined; + trusting_period?: DurationSDKType | undefined; /** duration of the staking unbonding period */ - unbonding_period: DurationSDKType | undefined; + unbonding_period?: DurationSDKType | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - max_clock_drift: DurationSDKType | undefined; + max_clock_drift?: DurationSDKType | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozen_height: HeightSDKType | undefined; + frozen_height?: HeightSDKType | undefined; /** Latest height the client was updated to */ - latest_height: HeightSDKType | undefined; + latest_height?: HeightSDKType | undefined; /** Proof specifications used in verifying counterparty state */ proof_specs: ProofSpecSDKType[]; @@ -120,10 +120,10 @@ export interface ConsensusState { * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ - timestamp: Date | undefined; + timestamp?: Date | undefined; /** commitment root (i.e app hash) */ - root: MerkleRoot | undefined; + root?: MerkleRoot | undefined; nextValidatorsHash: Uint8Array; } /** ConsensusState defines the consensus state from Tendermint. */ @@ -133,10 +133,10 @@ export interface ConsensusStateSDKType { * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ - timestamp: Date | undefined; + timestamp?: Date | undefined; /** commitment root (i.e app hash) */ - root: MerkleRootSDKType | undefined; + root?: MerkleRootSDKType | undefined; next_validators_hash: Uint8Array; } /** @@ -146,8 +146,8 @@ export interface ConsensusStateSDKType { export interface Misbehaviour { clientId: string; - header_1: Header | undefined; - header_2: Header | undefined; + header1?: Header | undefined; + header2?: Header | undefined; } /** * Misbehaviour is a wrapper over two conflicting Headers @@ -156,8 +156,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; - header_1: HeaderSDKType | undefined; - header_2: HeaderSDKType | undefined; + header_1?: HeaderSDKType | undefined; + header_2?: HeaderSDKType | undefined; } /** * Header defines the Tendermint client consensus Header. @@ -175,10 +175,10 @@ export interface MisbehaviourSDKType { */ export interface Header { - signedHeader: SignedHeader | undefined; - validatorSet: ValidatorSet | undefined; - trustedHeight: Height | undefined; - trustedValidators: ValidatorSet | undefined; + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; + trustedHeight?: Height | undefined; + trustedValidators?: ValidatorSet | undefined; } /** * Header defines the Tendermint client consensus Header. @@ -196,10 +196,10 @@ export interface Header { */ export interface HeaderSDKType { - signed_header: SignedHeaderSDKType | undefined; - validator_set: ValidatorSetSDKType | undefined; - trusted_height: HeightSDKType | undefined; - trusted_validators: ValidatorSetSDKType | undefined; + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; + trusted_height?: HeightSDKType | undefined; + trusted_validators?: ValidatorSetSDKType | undefined; } /** * Fraction defines the protobuf message type for tmmath.Fraction that only @@ -351,9 +351,9 @@ export const ClientState = { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; - message.trustingPeriod = object.trustingPeriod ?? undefined; - message.unbondingPeriod = object.unbondingPeriod ?? undefined; - message.maxClockDrift = object.maxClockDrift ?? undefined; + message.trustingPeriod = object.trustingPeriod !== undefined && object.trustingPeriod !== null ? Duration.fromPartial(object.trustingPeriod) : undefined; + message.unbondingPeriod = object.unbondingPeriod !== undefined && object.unbondingPeriod !== null ? Duration.fromPartial(object.unbondingPeriod) : undefined; + message.maxClockDrift = object.maxClockDrift !== undefined && object.maxClockDrift !== null ? Duration.fromPartial(object.maxClockDrift) : undefined; message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; @@ -433,8 +433,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header_1: undefined, - header_2: undefined + header1: undefined, + header2: undefined }; } @@ -444,12 +444,12 @@ export const Misbehaviour = { writer.uint32(10).string(message.clientId); } - if (message.header_1 !== undefined) { - Header.encode(message.header_1, writer.uint32(18).fork()).ldelim(); + if (message.header1 !== undefined) { + Header.encode(message.header1, writer.uint32(18).fork()).ldelim(); } - if (message.header_2 !== undefined) { - Header.encode(message.header_2, writer.uint32(26).fork()).ldelim(); + if (message.header2 !== undefined) { + Header.encode(message.header2, writer.uint32(26).fork()).ldelim(); } return writer; @@ -469,11 +469,11 @@ export const Misbehaviour = { break; case 2: - message.header_1 = Header.decode(reader, reader.uint32()); + message.header1 = Header.decode(reader, reader.uint32()); break; case 3: - message.header_2 = Header.decode(reader, reader.uint32()); + message.header2 = Header.decode(reader, reader.uint32()); break; default: @@ -488,8 +488,8 @@ export const Misbehaviour = { fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; - message.header_1 = object.header_1 !== undefined && object.header_1 !== null ? Header.fromPartial(object.header_1) : undefined; - message.header_2 = object.header_2 !== undefined && object.header_2 !== null ? Header.fromPartial(object.header_2) : undefined; + message.header1 = object.header1 !== undefined && object.header1 !== null ? Header.fromPartial(object.header1) : undefined; + message.header2 = object.header2 !== undefined && object.header2 !== null ? Header.fromPartial(object.header2) : undefined; return message; } diff --git a/examples/contracts/codegen/ibc/rpc.tx.ts b/examples/contracts/codegen/ibc/rpc.tx.ts index 42f534440..62cb610c4 100644 --- a/examples/contracts/codegen/ibc/rpc.tx.ts +++ b/examples/contracts/codegen/ibc/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/contracts/codegen/index.ts b/examples/contracts/codegen/index.ts index 75f1e792b..0950a4287 100644 --- a/examples/contracts/codegen/index.ts +++ b/examples/contracts/codegen/index.ts @@ -1,5 +1,5 @@ /** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.31.0 + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 * 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. */ diff --git a/examples/contracts/codegen/tendermint/abci/types.ts b/examples/contracts/codegen/tendermint/abci/types.ts index 8582154b0..f7c2d2947 100644 --- a/examples/contracts/codegen/tendermint/abci/types.ts +++ b/examples/contracts/codegen/tendermint/abci/types.ts @@ -4,7 +4,7 @@ import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; export enum CheckTxType { NEW = 0, RECHECK = 1, @@ -39,8 +39,9 @@ export function checkTxTypeToJSON(object: CheckTxType): string { case CheckTxType.RECHECK: return "RECHECK"; + case CheckTxType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum ResponseOfferSnapshot_Result { @@ -135,8 +136,9 @@ export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot case ResponseOfferSnapshot_Result.REJECT_SENDER: return "REJECT_SENDER"; + case ResponseOfferSnapshot_Result.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum ResponseApplySnapshotChunk_Result { @@ -231,8 +233,9 @@ export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySna case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: return "REJECT_SNAPSHOT"; + case ResponseApplySnapshotChunk_Result.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum EvidenceType { @@ -278,8 +281,9 @@ export function evidenceTypeToJSON(object: EvidenceType): string { case EvidenceType.LIGHT_CLIENT_ATTACK: return "LIGHT_CLIENT_ATTACK"; + case EvidenceType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export interface Request { @@ -347,17 +351,17 @@ export interface RequestSetOptionSDKType { value: string; } export interface RequestInitChain { - time: Date | undefined; + time?: Date | undefined; chainId: string; - consensusParams: ConsensusParams | undefined; + consensusParams?: ConsensusParams | undefined; validators: ValidatorUpdate[]; appStateBytes: Uint8Array; initialHeight: Long; } export interface RequestInitChainSDKType { - time: Date | undefined; + time?: Date | undefined; chain_id: string; - consensus_params: ConsensusParamsSDKType | undefined; + consensus_params?: ConsensusParamsSDKType | undefined; validators: ValidatorUpdateSDKType[]; app_state_bytes: Uint8Array; initial_height: Long; @@ -376,14 +380,14 @@ export interface RequestQuerySDKType { } export interface RequestBeginBlock { hash: Uint8Array; - header: Header | undefined; - lastCommitInfo: LastCommitInfo | undefined; + header?: Header | undefined; + lastCommitInfo?: LastCommitInfo | undefined; byzantineValidators: Evidence[]; } export interface RequestBeginBlockSDKType { hash: Uint8Array; - header: HeaderSDKType | undefined; - last_commit_info: LastCommitInfoSDKType | undefined; + header?: HeaderSDKType | undefined; + last_commit_info?: LastCommitInfoSDKType | undefined; byzantine_validators: EvidenceSDKType[]; } export interface RequestCheckTx { @@ -418,7 +422,7 @@ export interface RequestListSnapshotsSDKType {} export interface RequestOfferSnapshot { /** snapshot offered by peers */ - snapshot: Snapshot | undefined; + snapshot?: Snapshot | undefined; /** light client-verified app hash for snapshot height */ appHash: Uint8Array; @@ -427,7 +431,7 @@ export interface RequestOfferSnapshot { export interface RequestOfferSnapshotSDKType { /** snapshot offered by peers */ - snapshot: SnapshotSDKType | undefined; + snapshot?: SnapshotSDKType | undefined; /** light client-verified app hash for snapshot height */ app_hash: Uint8Array; @@ -547,12 +551,12 @@ export interface ResponseSetOptionSDKType { info: string; } export interface ResponseInitChain { - consensusParams: ConsensusParams | undefined; + consensusParams?: ConsensusParams | undefined; validators: ValidatorUpdate[]; appHash: Uint8Array; } export interface ResponseInitChainSDKType { - consensus_params: ConsensusParamsSDKType | undefined; + consensus_params?: ConsensusParamsSDKType | undefined; validators: ValidatorUpdateSDKType[]; app_hash: Uint8Array; } @@ -567,7 +571,7 @@ export interface ResponseQuery { index: Long; key: Uint8Array; value: Uint8Array; - proofOps: ProofOps | undefined; + proofOps?: ProofOps | undefined; height: Long; codespace: string; } @@ -582,7 +586,7 @@ export interface ResponseQuerySDKType { index: Long; key: Uint8Array; value: Uint8Array; - proof_ops: ProofOpsSDKType | undefined; + proof_ops?: ProofOpsSDKType | undefined; height: Long; codespace: string; } @@ -650,12 +654,12 @@ export interface ResponseDeliverTxSDKType { } export interface ResponseEndBlock { validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates: ConsensusParams | undefined; + consensusParamUpdates?: ConsensusParams | undefined; events: Event[]; } export interface ResponseEndBlockSDKType { validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates: ConsensusParamsSDKType | undefined; + consensus_param_updates?: ConsensusParamsSDKType | undefined; events: EventSDKType[]; } export interface ResponseCommit { @@ -710,10 +714,10 @@ export interface ResponseApplySnapshotChunkSDKType { */ export interface ConsensusParams { - block: BlockParams | undefined; - evidence: EvidenceParams | undefined; - validator: ValidatorParams | undefined; - version: VersionParams | undefined; + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; } /** * ConsensusParams contains all consensus-relevant parameters @@ -721,10 +725,10 @@ export interface ConsensusParams { */ export interface ConsensusParamsSDKType { - block: BlockParamsSDKType | undefined; - evidence: EvidenceParamsSDKType | undefined; - validator: ValidatorParamsSDKType | undefined; - version: VersionParamsSDKType | undefined; + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; } /** BlockParams contains limits on the block size. */ @@ -800,7 +804,7 @@ export interface TxResult { height: Long; index: number; tx: Uint8Array; - result: ResponseDeliverTx | undefined; + result?: ResponseDeliverTx | undefined; } /** * TxResult contains results of executing the transaction. @@ -812,7 +816,7 @@ export interface TxResultSDKType { height: Long; index: number; tx: Uint8Array; - result: ResponseDeliverTxSDKType | undefined; + result?: ResponseDeliverTxSDKType | undefined; } /** Validator */ @@ -841,38 +845,38 @@ export interface ValidatorSDKType { /** ValidatorUpdate */ export interface ValidatorUpdate { - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; power: Long; } /** ValidatorUpdate */ export interface ValidatorUpdateSDKType { - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; power: Long; } /** VoteInfo */ export interface VoteInfo { - validator: Validator | undefined; + validator?: Validator | undefined; signedLastBlock: boolean; } /** VoteInfo */ export interface VoteInfoSDKType { - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; signed_last_block: boolean; } export interface Evidence { type: EvidenceType; /** The offending validator */ - validator: Validator | undefined; + validator?: Validator | undefined; /** The height when the offense occurred */ height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time?: Date | undefined; /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. @@ -885,13 +889,13 @@ export interface EvidenceSDKType { type: EvidenceTypeSDKType; /** The offending validator */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; /** The height when the offense occurred */ height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time?: Date | undefined; /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. @@ -2215,7 +2219,7 @@ export const ResponseEcho = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEchoSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEcho(); @@ -2254,7 +2258,7 @@ export const ResponseFlush = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlushSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseFlush(); @@ -2314,7 +2318,7 @@ export const ResponseInfo = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfoSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInfo(); @@ -2389,7 +2393,7 @@ export const ResponseSetOption = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOptionSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseSetOption(); @@ -2454,7 +2458,7 @@ export const ResponseInitChain = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChainSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInitChain(); @@ -2549,7 +2553,7 @@ export const ResponseQuery = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuerySDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseQuery(); @@ -2634,7 +2638,7 @@ export const ResponseBeginBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlockSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseBeginBlock(); @@ -2714,7 +2718,7 @@ export const ResponseCheckTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTxSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCheckTx(); @@ -2829,7 +2833,7 @@ export const ResponseDeliverTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTxSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseDeliverTx(); @@ -2919,7 +2923,7 @@ export const ResponseEndBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlockSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEndBlock(); @@ -2979,7 +2983,7 @@ export const ResponseCommit = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommitSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCommit(); @@ -3029,7 +3033,7 @@ export const ResponseListSnapshots = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshotsSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseListSnapshots(); @@ -3074,7 +3078,7 @@ export const ResponseOfferSnapshot = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshotSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseOfferSnapshot(); @@ -3119,7 +3123,7 @@ export const ResponseLoadSnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunkSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseLoadSnapshotChunk(); @@ -3178,7 +3182,7 @@ export const ResponseApplySnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunkSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseApplySnapshotChunk(); diff --git a/examples/contracts/codegen/tendermint/bundle.ts b/examples/contracts/codegen/tendermint/bundle.ts index 63e9a909d..22fa7923b 100644 --- a/examples/contracts/codegen/tendermint/bundle.ts +++ b/examples/contracts/codegen/tendermint/bundle.ts @@ -1,32 +1,32 @@ -import * as _135 from "./abci/types"; -import * as _136 from "./crypto/keys"; -import * as _137 from "./crypto/proof"; -import * as _138 from "./libs/bits/types"; -import * as _139 from "./p2p/types"; -import * as _140 from "./types/block"; -import * as _141 from "./types/evidence"; -import * as _142 from "./types/params"; -import * as _143 from "./types/types"; -import * as _144 from "./types/validator"; -import * as _145 from "./version/types"; +import * as _132 from "./abci/types"; +import * as _133 from "./crypto/keys"; +import * as _134 from "./crypto/proof"; +import * as _135 from "./libs/bits/types"; +import * as _136 from "./p2p/types"; +import * as _137 from "./types/block"; +import * as _138 from "./types/evidence"; +import * as _139 from "./types/params"; +import * as _140 from "./types/types"; +import * as _141 from "./types/validator"; +import * as _142 from "./version/types"; export namespace tendermint { - export const abci = { ..._135 + export const abci = { ..._132 }; - export const crypto = { ..._136, - ..._137 + export const crypto = { ..._133, + ..._134 }; export namespace libs { - export const bits = { ..._138 + export const bits = { ..._135 }; } - export const p2p = { ..._139 + export const p2p = { ..._136 }; - export const types = { ..._140, - ..._141, - ..._142, - ..._143, - ..._144 + export const types = { ..._137, + ..._138, + ..._139, + ..._140, + ..._141 }; - export const version = { ..._145 + export const version = { ..._142 }; } \ No newline at end of file diff --git a/examples/contracts/codegen/tendermint/crypto/proof.ts b/examples/contracts/codegen/tendermint/crypto/proof.ts index d49309477..3c742f03e 100644 --- a/examples/contracts/codegen/tendermint/crypto/proof.ts +++ b/examples/contracts/codegen/tendermint/crypto/proof.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export interface Proof { total: Long; index: Long; @@ -17,14 +17,14 @@ export interface ValueOp { key: Uint8Array; /** To encode in ProofOp.Data */ - proof: Proof | undefined; + proof?: Proof | undefined; } export interface ValueOpSDKType { /** Encoded in ProofOp.Key. */ key: Uint8Array; /** To encode in ProofOp.Data */ - proof: ProofSDKType | undefined; + proof?: ProofSDKType | undefined; } export interface DominoOp { key: string; diff --git a/examples/contracts/codegen/tendermint/libs/bits/types.ts b/examples/contracts/codegen/tendermint/libs/bits/types.ts index 9d9fbc48a..46f450393 100644 --- a/examples/contracts/codegen/tendermint/libs/bits/types.ts +++ b/examples/contracts/codegen/tendermint/libs/bits/types.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; export interface BitArray { bits: Long; elems: Long[]; diff --git a/examples/contracts/codegen/tendermint/p2p/types.ts b/examples/contracts/codegen/tendermint/p2p/types.ts index 483567968..9f412046d 100644 --- a/examples/contracts/codegen/tendermint/p2p/types.ts +++ b/examples/contracts/codegen/tendermint/p2p/types.ts @@ -1,6 +1,6 @@ import { Timestamp } from "../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; export interface ProtocolVersion { p2p: Long; block: Long; @@ -12,24 +12,24 @@ export interface ProtocolVersionSDKType { app: Long; } export interface NodeInfo { - protocolVersion: ProtocolVersion | undefined; + protocolVersion?: ProtocolVersion | undefined; nodeId: string; listenAddr: string; network: string; version: string; channels: Uint8Array; moniker: string; - other: NodeInfoOther | undefined; + other?: NodeInfoOther | undefined; } export interface NodeInfoSDKType { - protocol_version: ProtocolVersionSDKType | undefined; + protocol_version?: ProtocolVersionSDKType | undefined; node_id: string; listen_addr: string; network: string; version: string; channels: Uint8Array; moniker: string; - other: NodeInfoOtherSDKType | undefined; + other?: NodeInfoOtherSDKType | undefined; } export interface NodeInfoOther { txIndex: string; @@ -42,23 +42,23 @@ export interface NodeInfoOtherSDKType { export interface PeerInfo { id: string; addressInfo: PeerAddressInfo[]; - lastConnected: Date | undefined; + lastConnected?: Date | undefined; } export interface PeerInfoSDKType { id: string; address_info: PeerAddressInfoSDKType[]; - last_connected: Date | undefined; + last_connected?: Date | undefined; } export interface PeerAddressInfo { address: string; - lastDialSuccess: Date | undefined; - lastDialFailure: Date | undefined; + lastDialSuccess?: Date | undefined; + lastDialFailure?: Date | undefined; dialFailures: number; } export interface PeerAddressInfoSDKType { address: string; - last_dial_success: Date | undefined; - last_dial_failure: Date | undefined; + last_dial_success?: Date | undefined; + last_dial_failure?: Date | undefined; dial_failures: number; } diff --git a/examples/contracts/codegen/tendermint/types/block.ts b/examples/contracts/codegen/tendermint/types/block.ts index 336943039..b6f39fec9 100644 --- a/examples/contracts/codegen/tendermint/types/block.ts +++ b/examples/contracts/codegen/tendermint/types/block.ts @@ -2,16 +2,16 @@ import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from import { EvidenceList, EvidenceListSDKType } from "./evidence"; import * as _m0 from "protobufjs/minimal"; export interface Block { - header: Header | undefined; - data: Data | undefined; - evidence: EvidenceList | undefined; - lastCommit: Commit | undefined; + header?: Header | undefined; + data?: Data | undefined; + evidence?: EvidenceList | undefined; + lastCommit?: Commit | undefined; } export interface BlockSDKType { - header: HeaderSDKType | undefined; - data: DataSDKType | undefined; - evidence: EvidenceListSDKType | undefined; - last_commit: CommitSDKType | undefined; + header?: HeaderSDKType | undefined; + data?: DataSDKType | undefined; + evidence?: EvidenceListSDKType | undefined; + last_commit?: CommitSDKType | undefined; } function createBaseBlock(): Block { diff --git a/examples/contracts/codegen/tendermint/types/evidence.ts b/examples/contracts/codegen/tendermint/types/evidence.ts index f55b57a54..1e36496fb 100644 --- a/examples/contracts/codegen/tendermint/types/evidence.ts +++ b/examples/contracts/codegen/tendermint/types/evidence.ts @@ -2,7 +2,7 @@ import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; import { Timestamp } from "../../google/protobuf/timestamp"; import { Validator, ValidatorSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; lightClientAttackEvidence?: LightClientAttackEvidence | undefined; @@ -14,38 +14,38 @@ export interface EvidenceSDKType { /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidence { - voteA: Vote | undefined; - voteB: Vote | undefined; + voteA?: Vote | undefined; + voteB?: Vote | undefined; totalVotingPower: Long; validatorPower: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidenceSDKType { - vote_a: VoteSDKType | undefined; - vote_b: VoteSDKType | undefined; + vote_a?: VoteSDKType | undefined; + vote_b?: VoteSDKType | undefined; total_voting_power: Long; validator_power: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidence { - conflictingBlock: LightBlock | undefined; + conflictingBlock?: LightBlock | undefined; commonHeight: Long; byzantineValidators: Validator[]; totalVotingPower: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidenceSDKType { - conflicting_block: LightBlockSDKType | undefined; + conflicting_block?: LightBlockSDKType | undefined; common_height: Long; byzantine_validators: ValidatorSDKType[]; total_voting_power: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } export interface EvidenceList { evidence: Evidence[]; diff --git a/examples/contracts/codegen/tendermint/types/params.ts b/examples/contracts/codegen/tendermint/types/params.ts index 378482eb0..aa14cf61b 100644 --- a/examples/contracts/codegen/tendermint/types/params.ts +++ b/examples/contracts/codegen/tendermint/types/params.ts @@ -1,16 +1,16 @@ import { Duration, DurationSDKType } from "../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * ConsensusParams contains consensus critical parameters that determine the * validity of blocks. */ export interface ConsensusParams { - block: BlockParams | undefined; - evidence: EvidenceParams | undefined; - validator: ValidatorParams | undefined; - version: VersionParams | undefined; + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; } /** * ConsensusParams contains consensus critical parameters that determine the @@ -18,10 +18,10 @@ export interface ConsensusParams { */ export interface ConsensusParamsSDKType { - block: BlockParamsSDKType | undefined; - evidence: EvidenceParamsSDKType | undefined; - validator: ValidatorParamsSDKType | undefined; - version: VersionParamsSDKType | undefined; + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; } /** BlockParams contains limits on the block size. */ @@ -87,7 +87,7 @@ export interface EvidenceParams { * 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 | undefined; + maxAgeDuration?: Duration | undefined; /** * 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. @@ -114,7 +114,7 @@ export interface EvidenceParamsSDKType { * 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: DurationSDKType | undefined; + max_age_duration?: DurationSDKType | undefined; /** * 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. @@ -368,7 +368,7 @@ export const EvidenceParams = { fromPartial(object: Partial): EvidenceParams { const message = createBaseEvidenceParams(); message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; - message.maxAgeDuration = object.maxAgeDuration ?? undefined; + message.maxAgeDuration = object.maxAgeDuration !== undefined && object.maxAgeDuration !== null ? Duration.fromPartial(object.maxAgeDuration) : undefined; message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; return message; } diff --git a/examples/contracts/codegen/tendermint/types/types.ts b/examples/contracts/codegen/tendermint/types/types.ts index d5b632d42..ecac9fb1f 100644 --- a/examples/contracts/codegen/tendermint/types/types.ts +++ b/examples/contracts/codegen/tendermint/types/types.ts @@ -3,7 +3,7 @@ import { Consensus, ConsensusSDKType } from "../version/types"; import { Timestamp } from "../../google/protobuf/timestamp"; import { ValidatorSet, ValidatorSetSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; /** BlockIdFlag indicates which BlcokID the signature is for */ export enum BlockIDFlag { @@ -60,8 +60,9 @@ export function blockIDFlagToJSON(object: BlockIDFlag): string { case BlockIDFlag.BLOCK_ID_FLAG_NIL: return "BLOCK_ID_FLAG_NIL"; + case BlockIDFlag.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** SignedMsgType is a type of signed message in the consensus. */ @@ -128,8 +129,9 @@ export function signedMsgTypeToJSON(object: SignedMsgType): string { case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: return "SIGNED_MSG_TYPE_PROPOSAL"; + case SignedMsgType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** PartsetHeader */ @@ -147,36 +149,36 @@ export interface PartSetHeaderSDKType { export interface Part { index: number; bytes: Uint8Array; - proof: Proof | undefined; + proof?: Proof | undefined; } export interface PartSDKType { index: number; bytes: Uint8Array; - proof: ProofSDKType | undefined; + proof?: ProofSDKType | undefined; } /** BlockID */ export interface BlockID { hash: Uint8Array; - partSetHeader: PartSetHeader | undefined; + partSetHeader?: PartSetHeader | undefined; } /** BlockID */ export interface BlockIDSDKType { hash: Uint8Array; - part_set_header: PartSetHeaderSDKType | undefined; + part_set_header?: PartSetHeaderSDKType | undefined; } /** Header defines the structure of a Tendermint block header. */ export interface Header { /** basic block info */ - version: Consensus | undefined; + version?: Consensus | undefined; chainId: string; height: Long; - time: Date | undefined; + time?: Date | undefined; /** prev block info */ - lastBlockId: BlockID | undefined; + lastBlockId?: BlockID | undefined; /** hashes of block data */ lastCommitHash: Uint8Array; @@ -205,13 +207,13 @@ export interface Header { export interface HeaderSDKType { /** basic block info */ - version: ConsensusSDKType | undefined; + version?: ConsensusSDKType | undefined; chain_id: string; height: Long; - time: Date | undefined; + time?: Date | undefined; /** prev block info */ - last_block_id: BlockIDSDKType | undefined; + last_block_id?: BlockIDSDKType | undefined; /** hashes of block data */ last_commit_hash: Uint8Array; @@ -267,8 +269,8 @@ export interface Vote { round: number; /** zero if vote is nil. */ - blockId: BlockID | undefined; - timestamp: Date | undefined; + blockId?: BlockID | undefined; + timestamp?: Date | undefined; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; @@ -284,8 +286,8 @@ export interface VoteSDKType { round: number; /** zero if vote is nil. */ - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; validator_address: Uint8Array; validator_index: number; signature: Uint8Array; @@ -295,7 +297,7 @@ export interface VoteSDKType { export interface Commit { height: Long; round: number; - blockId: BlockID | undefined; + blockId?: BlockID | undefined; signatures: CommitSig[]; } /** Commit contains the evidence that a block was committed by a set of validators. */ @@ -303,7 +305,7 @@ export interface Commit { export interface CommitSDKType { height: Long; round: number; - block_id: BlockIDSDKType | undefined; + block_id?: BlockIDSDKType | undefined; signatures: CommitSigSDKType[]; } /** CommitSig is a part of the Vote included in a Commit. */ @@ -311,7 +313,7 @@ export interface CommitSDKType { export interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; - timestamp: Date | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } /** CommitSig is a part of the Vote included in a Commit. */ @@ -319,7 +321,7 @@ export interface CommitSig { export interface CommitSigSDKType { block_id_flag: BlockIDFlagSDKType; validator_address: Uint8Array; - timestamp: Date | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface Proposal { @@ -327,8 +329,8 @@ export interface Proposal { height: Long; round: number; polRound: number; - blockId: BlockID | undefined; - timestamp: Date | undefined; + blockId?: BlockID | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface ProposalSDKType { @@ -336,36 +338,36 @@ export interface ProposalSDKType { height: Long; round: number; pol_round: number; - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface SignedHeader { - header: Header | undefined; - commit: Commit | undefined; + header?: Header | undefined; + commit?: Commit | undefined; } export interface SignedHeaderSDKType { - header: HeaderSDKType | undefined; - commit: CommitSDKType | undefined; + header?: HeaderSDKType | undefined; + commit?: CommitSDKType | undefined; } export interface LightBlock { - signedHeader: SignedHeader | undefined; - validatorSet: ValidatorSet | undefined; + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; } export interface LightBlockSDKType { - signed_header: SignedHeaderSDKType | undefined; - validator_set: ValidatorSetSDKType | undefined; + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; } export interface BlockMeta { - blockId: BlockID | undefined; + blockId?: BlockID | undefined; blockSize: Long; - header: Header | undefined; + header?: Header | undefined; numTxs: Long; } export interface BlockMetaSDKType { - block_id: BlockIDSDKType | undefined; + block_id?: BlockIDSDKType | undefined; block_size: Long; - header: HeaderSDKType | undefined; + header?: HeaderSDKType | undefined; num_txs: Long; } /** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ @@ -373,14 +375,14 @@ export interface BlockMetaSDKType { export interface TxProof { rootHash: Uint8Array; data: Uint8Array; - proof: Proof | undefined; + proof?: Proof | undefined; } /** 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 | undefined; + proof?: ProofSDKType | undefined; } function createBasePartSetHeader(): PartSetHeader { diff --git a/examples/contracts/codegen/tendermint/types/validator.ts b/examples/contracts/codegen/tendermint/types/validator.ts index 5acd17c78..17c07b8c5 100644 --- a/examples/contracts/codegen/tendermint/types/validator.ts +++ b/examples/contracts/codegen/tendermint/types/validator.ts @@ -1,34 +1,34 @@ import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export interface ValidatorSet { validators: Validator[]; - proposer: Validator | undefined; + proposer?: Validator | undefined; totalVotingPower: Long; } export interface ValidatorSetSDKType { validators: ValidatorSDKType[]; - proposer: ValidatorSDKType | undefined; + proposer?: ValidatorSDKType | undefined; total_voting_power: Long; } export interface Validator { address: Uint8Array; - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; votingPower: Long; proposerPriority: Long; } export interface ValidatorSDKType { address: Uint8Array; - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; voting_power: Long; proposer_priority: Long; } export interface SimpleValidator { - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; votingPower: Long; } export interface SimpleValidatorSDKType { - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; voting_power: Long; } diff --git a/examples/contracts/codegen/tendermint/version/types.ts b/examples/contracts/codegen/tendermint/version/types.ts index 142dffe2b..69add730b 100644 --- a/examples/contracts/codegen/tendermint/version/types.ts +++ b/examples/contracts/codegen/tendermint/version/types.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * App includes the protocol and software version for the application. * This information is included in ResponseInfo. The App.Protocol can be diff --git a/examples/contracts/package.json b/examples/contracts/package.json index e6a5024dc..5f0d7931b 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -14,14 +14,13 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "^2.0.10", "@chakra-ui/react": "^2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/react": "0.18.4", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@osmonauts/helpers": "^0.6.0", - "@osmonauts/lcd": "^0.6.0", + "@osmonauts/lcd": "^0.8.0", "bignumber.js": "9.1.0", "framer-motion": "7.3.6", "next": "12.2.5", @@ -31,7 +30,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.35.0", + "@osmonauts/telescope": "0.66.1", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/juno/package.json b/examples/juno/package.json index c6150ae25..b3223e03e 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -12,18 +12,18 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@juno-network/assets": "0.11.1", + "@juno-network/assets": "0.13.0", "bignumber.js": "9.1.0", "chain-registry": "1.0.0", "framer-motion": "7.3.6", - "juno-network": "0.5.3", + "juno-network": "0.8.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 8b8082091..6250cf79a 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -14,8 +14,8 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", @@ -25,13 +25,13 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.27.0", + "osmojs": "0.32.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" }, "devDependencies": { - "@cosmwasm/ts-codegen": "0.16.5", + "@cosmwasm/ts-codegen": "0.19.0", "@types/node": "18.7.11", "@types/react": "18.0.17", "@types/react-dom": "18.0.6", diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 04ff6d9ea..1ad845b4e 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -13,8 +13,8 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", @@ -24,7 +24,7 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.27.0", + "osmojs": "0.32.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 0d218117b..5ffec051d 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -12,8 +12,8 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index f179ef32d..5cb4b2a5b 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -12,8 +12,8 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 295cda310..384c28c11 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -9,8 +9,8 @@ "lint": "next lint" }, "dependencies": { - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", diff --git a/examples/telescope/codegen/confio/proofs.ts b/examples/telescope/codegen/confio/proofs.ts index d7c8dab0e..354db9699 100644 --- a/examples/telescope/codegen/confio/proofs.ts +++ b/examples/telescope/codegen/confio/proofs.ts @@ -75,8 +75,9 @@ export function hashOpToJSON(object: HashOp): string { case HashOp.BITCOIN: return "BITCOIN"; + case HashOp.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -224,8 +225,9 @@ export function lengthOpToJSON(object: LengthOp): string { case LengthOp.REQUIRE_64_BYTES: return "REQUIRE_64_BYTES"; + case LengthOp.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -253,7 +255,7 @@ export function lengthOpToJSON(object: LengthOp): string { export interface ExistenceProof { key: Uint8Array; value: Uint8Array; - leaf: LeafOp | undefined; + leaf?: LeafOp | undefined; path: InnerOp[]; } /** @@ -281,7 +283,7 @@ export interface ExistenceProof { export interface ExistenceProofSDKType { key: Uint8Array; value: Uint8Array; - leaf: LeafOpSDKType | undefined; + leaf?: LeafOpSDKType | undefined; path: InnerOpSDKType[]; } /** @@ -293,8 +295,8 @@ export interface ExistenceProofSDKType { export interface NonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: ExistenceProof | undefined; - right: ExistenceProof | undefined; + left?: ExistenceProof | undefined; + right?: ExistenceProof | undefined; } /** * NonExistenceProof takes a proof of two neighbors, one left of the desired key, @@ -305,8 +307,8 @@ export interface NonExistenceProof { export interface NonExistenceProofSDKType { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: ExistenceProofSDKType | undefined; - right: ExistenceProofSDKType | undefined; + left?: ExistenceProofSDKType | undefined; + right?: ExistenceProofSDKType | undefined; } /** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ @@ -446,8 +448,8 @@ export interface ProofSpec { * any field in the ExistenceProof must be the same as in this spec. * except Prefix, which is just the first bytes of prefix (spec can be longer) */ - leafSpec: LeafOp | undefined; - innerSpec: InnerSpec | undefined; + leafSpec?: LeafOp | undefined; + innerSpec?: InnerSpec | undefined; /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ maxDepth: number; @@ -473,8 +475,8 @@ export interface ProofSpecSDKType { * any field in the ExistenceProof must be the same as in this spec. * except Prefix, which is just the first bytes of prefix (spec can be longer) */ - leaf_spec: LeafOpSDKType | undefined; - inner_spec: InnerSpecSDKType | undefined; + leaf_spec?: LeafOpSDKType | undefined; + inner_spec?: InnerSpecSDKType | undefined; /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ max_depth: number; @@ -583,7 +585,7 @@ export interface CompressedBatchEntrySDKType { export interface CompressedExistenceProof { key: Uint8Array; value: Uint8Array; - leaf: LeafOp | undefined; + leaf?: LeafOp | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ path: number[]; @@ -591,7 +593,7 @@ export interface CompressedExistenceProof { export interface CompressedExistenceProofSDKType { key: Uint8Array; value: Uint8Array; - leaf: LeafOpSDKType | undefined; + leaf?: LeafOpSDKType | undefined; /** these are indexes into the lookup_inners table in CompressedBatchProof */ path: number[]; @@ -599,14 +601,14 @@ export interface CompressedExistenceProofSDKType { export interface CompressedNonExistenceProof { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: CompressedExistenceProof | undefined; - right: CompressedExistenceProof | undefined; + left?: CompressedExistenceProof | undefined; + right?: CompressedExistenceProof | undefined; } export interface CompressedNonExistenceProofSDKType { /** TODO: remove this as unnecessary??? we prove a range */ key: Uint8Array; - left: CompressedExistenceProofSDKType | undefined; - right: CompressedExistenceProofSDKType | undefined; + left?: CompressedExistenceProofSDKType | undefined; + right?: CompressedExistenceProofSDKType | undefined; } function createBaseExistenceProof(): ExistenceProof { diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts index 7311e877d..a67d60bde 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts @@ -49,7 +49,7 @@ export interface ModuleConfig { * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. */ - config: Any | undefined; + config?: Any | undefined; } /** ModuleConfig is a module configuration for an app. */ @@ -72,7 +72,7 @@ export interface ModuleConfigSDKType { * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. */ - config: AnySDKType | undefined; + config?: AnySDKType | undefined; } function createBaseConfig(): Config { diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts index c5d0b3f12..2041ee6c0 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts @@ -100,7 +100,7 @@ export interface PackageReference { * 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 + * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ @@ -145,7 +145,7 @@ export interface PackageReferenceSDKType { * 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 + * are important good client UX * * protobuf files are changed in backwards and forwards compatible ways */ diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts index 6668d2141..9ae7ca7f3 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts @@ -1,13 +1,12 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConfigRequest, QueryConfigResponse, QueryConfigResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryConfigRequest, QueryConfigResponse } from "./query"; +/** Query is the app module query service. */ export interface Query { - config(request?: QueryConfigRequest): Promise; - /*Config returns the current app config.*/ - + /** Config returns the current app config. */ + config(request?: QueryConfigRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -17,7 +16,7 @@ export class QueryClientImpl implements Query { this.config = this.config.bind(this); } - config(request: QueryConfigRequest = {}): Promise { + 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 _m0.Reader(data))); @@ -28,7 +27,7 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - config(request?: QueryConfigRequest): Promise { + config(request?: QueryConfigRequest): Promise { return queryService.config(request); } diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts index 1b446bb0a..005f0d648 100644 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts @@ -10,13 +10,13 @@ export interface QueryConfigRequestSDKType {} export interface QueryConfigResponse { /** config is the current app config. */ - config: Config | undefined; + config?: Config | undefined; } /** QueryConfigRequest is the Query/Config response type. */ export interface QueryConfigResponseSDKType { /** config is the current app config. */ - config: ConfigSDKType | undefined; + config?: ConfigSDKType | undefined; } function createBaseQueryConfigRequest(): QueryConfigRequest { @@ -68,7 +68,7 @@ export const QueryConfigResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConfigResponse(); diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts index fd0a598b7..61a7013dd 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts @@ -1,6 +1,6 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -9,7 +9,7 @@ import { Long } from "@osmonauts/helpers"; export interface BaseAccount { address: string; - pubKey: Any | undefined; + pubKey?: Any | undefined; accountNumber: Long; sequence: Long; } @@ -21,21 +21,21 @@ export interface BaseAccount { export interface BaseAccountSDKType { address: string; - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; account_number: Long; sequence: Long; } /** ModuleAccount defines an account for modules that holds coins on a pool. */ export interface ModuleAccount { - baseAccount: BaseAccount | undefined; + baseAccount?: BaseAccount | undefined; name: string; permissions: string[]; } /** ModuleAccount defines an account for modules that holds coins on a pool. */ export interface ModuleAccountSDKType { - base_account: BaseAccountSDKType | undefined; + base_account?: BaseAccountSDKType | undefined; name: string; permissions: string[]; } diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts index 4db2ee8df..af6abc863 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts @@ -5,7 +5,7 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** accounts are the accounts present at genesis. */ accounts: Any[]; @@ -14,7 +14,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** accounts are the accounts present at genesis. */ accounts: AnySDKType[]; diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts index df358f6f3..83fdf31f5 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; export class LCDQueryClient { @@ -20,7 +20,7 @@ export class LCDQueryClient { } /* Accounts returns all the existing accounts - Since: cosmos-sdk 0.43 */ + Since: cosmos-sdk 0.43 */ async accounts(params: QueryAccountsRequest = { diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts index ad16465b5..bd0c78f34 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts @@ -1,33 +1,34 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - accounts(request?: QueryAccountsRequest): Promise; - /*Accounts returns all the existing accounts - - Since: cosmos-sdk 0.43*/ + /** + * 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; - /*Account returns account details based on address.*/ + account(request: QueryAccountRequest): Promise; + /** Params queries all parameters. */ - params(request?: QueryParamsRequest): Promise; - /*Params queries all parameters.*/ + params(request?: QueryParamsRequest): Promise; + /** ModuleAccounts returns all the existing module accounts. */ - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - /*ModuleAccounts returns all the existing module accounts.*/ + moduleAccounts(request?: QueryModuleAccountsRequest): Promise; + /** Bech32 queries bech32Prefix */ - bech32Prefix(request?: Bech32PrefixRequest): Promise; - /*Bech32 queries bech32Prefix*/ + bech32Prefix(request?: Bech32PrefixRequest): Promise; + /** AddressBytesToString converts Account Address bytes to string */ - addressBytesToString(request: AddressBytesToStringRequest): Promise; - /*AddressBytesToString converts Account Address bytes to string*/ - - addressStringToBytes(request: AddressStringToBytesRequest): Promise; - /*AddressStringToBytes converts Address string to bytes*/ + addressBytesToString(request: AddressBytesToStringRequest): Promise; + /** AddressStringToBytes converts Address string to bytes */ + addressStringToBytes(request: AddressStringToBytesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,43 +46,43 @@ export class QueryClientImpl implements Query { accounts(request: QueryAccountsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); } - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { const data = QueryAccountRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { + moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { const data = QueryModuleAccountsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); } - bech32Prefix(request: Bech32PrefixRequest = {}): Promise { + bech32Prefix(request: Bech32PrefixRequest = {}): Promise { const data = Bech32PrefixRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); } - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { const data = AddressBytesToStringRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); } - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { const data = AddressStringToBytesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); @@ -92,31 +93,31 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - accounts(request?: QueryAccountsRequest): Promise { + accounts(request?: QueryAccountsRequest): Promise { return queryService.accounts(request); }, - account(request: QueryAccountRequest): Promise { + account(request: QueryAccountRequest): Promise { return queryService.account(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - moduleAccounts(request?: QueryModuleAccountsRequest): Promise { + moduleAccounts(request?: QueryModuleAccountsRequest): Promise { return queryService.moduleAccounts(request); }, - bech32Prefix(request?: Bech32PrefixRequest): Promise { + bech32Prefix(request?: Bech32PrefixRequest): Promise { return queryService.bech32Prefix(request); }, - addressBytesToString(request: AddressBytesToStringRequest): Promise { + addressBytesToString(request: AddressBytesToStringRequest): Promise { return queryService.addressBytesToString(request); }, - addressStringToBytes(request: AddressStringToBytesRequest): Promise { + addressStringToBytes(request: AddressStringToBytesRequest): Promise { return queryService.addressStringToBytes(request); } diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts index b2afad6d5..d26e682dd 100644 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts @@ -70,25 +70,25 @@ export interface QueryModuleAccountsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ - account: Any | undefined; + account?: Any | undefined; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponseSDKType { /** account defines the account of the corresponding address. */ - account: AnySDKType | undefined; + account?: AnySDKType | undefined; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ @@ -228,7 +228,7 @@ export const QueryAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountsResponse(); @@ -357,7 +357,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -402,7 +402,7 @@ export const QueryAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAccountResponse(); @@ -481,7 +481,7 @@ export const QueryModuleAccountsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleAccountsResponse(); @@ -560,7 +560,7 @@ export const Bech32PrefixResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBech32PrefixResponse(); @@ -650,7 +650,7 @@ export const AddressBytesToStringResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressBytesToStringResponse(); @@ -740,7 +740,7 @@ export const AddressStringToBytesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseAddressStringToBytesResponse(); diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts index 5da015f57..519cb7f87 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. @@ -26,7 +26,7 @@ export interface GenericAuthorizationSDKType { */ export interface Grant { - authorization: Any | undefined; + authorization?: 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` @@ -41,7 +41,7 @@ export interface Grant { */ export interface GrantSDKType { - authorization: AnySDKType | undefined; + authorization?: AnySDKType | 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` @@ -58,8 +58,8 @@ export interface GrantSDKType { export interface GrantAuthorization { granter: string; grantee: string; - authorization: Any | undefined; - expiration: Date | undefined; + authorization?: Any | undefined; + expiration?: Date | undefined; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. @@ -69,8 +69,8 @@ export interface GrantAuthorization { export interface GrantAuthorizationSDKType { granter: string; grantee: string; - authorization: AnySDKType | undefined; - expiration: Date | undefined; + authorization?: AnySDKType | undefined; + expiration?: Date | undefined; } /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts index 65de12eee..0a8df3591 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; export class LCDQueryClient { @@ -43,7 +43,7 @@ export class LCDQueryClient { } /* GranterGrants returns list of `GrantAuthorization`, granted by granter. - Since: cosmos-sdk 0.46 */ + Since: cosmos-sdk 0.46 */ async granterGrants(params: QueryGranterGrantsRequest): Promise { @@ -60,7 +60,7 @@ export class LCDQueryClient { } /* GranteeGrants returns a list of `GrantAuthorization` by grantee. - Since: cosmos-sdk 0.46 */ + Since: cosmos-sdk 0.46 */ async granteeGrants(params: QueryGranteeGrantsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts index 333c469df..c2fda460f 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts @@ -1,23 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - grants(request: QueryGrantsRequest): Promise; - /*Returns list of `Authorization`, granted to the grantee by the granter.*/ + /** 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; - /*GranterGrants returns list of `GrantAuthorization`, granted by granter. - - Since: cosmos-sdk 0.46*/ - - granteeGrants(request: QueryGranteeGrantsRequest): Promise; - /*GranteeGrants returns a list of `GrantAuthorization` by grantee. - - 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 class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -29,19 +32,19 @@ export class QueryClientImpl implements Query { this.granteeGrants = this.granteeGrants.bind(this); } - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { const data = QueryGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); } - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { const data = QueryGranterGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); } - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { const data = QueryGranteeGrantsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); @@ -52,15 +55,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - grants(request: QueryGrantsRequest): Promise { + grants(request: QueryGrantsRequest): Promise { return queryService.grants(request); }, - granterGrants(request: QueryGranterGrantsRequest): Promise { + granterGrants(request: QueryGranterGrantsRequest): Promise { return queryService.granterGrants(request); }, - granteeGrants(request: QueryGranteeGrantsRequest): Promise { + granteeGrants(request: QueryGranteeGrantsRequest): Promise { return queryService.granteeGrants(request); } diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts index 9f87f3158..cf5557e3b 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts @@ -4,11 +4,11 @@ import * as _m0 from "protobufjs/minimal"; /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ export interface QueryGrantsRequest { - granter?: string; - grantee?: string; + granter: string; + grantee: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl?: string; + msgTypeUrl: string; /** pagination defines an pagination for the request. */ pagination?: PageRequest | undefined; @@ -16,11 +16,11 @@ export interface QueryGrantsRequest { /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ export interface QueryGrantsRequestSDKType { - granter?: string; - grantee?: string; + granter: string; + grantee: string; /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msg_type_url?: string; + msg_type_url: string; /** pagination defines an pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -207,7 +207,7 @@ export const QueryGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGrantsResponse(); @@ -317,7 +317,7 @@ export const QueryGranterGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranterGrantsResponse(); @@ -427,7 +427,7 @@ export const QueryGranteeGrantsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGranteeGrantsResponse(); diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts index aefc71215..63499c426 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -1,24 +1,29 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrant, MsgGrantResponse, MsgGrantResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgRevoke, MsgRevokeResponse, MsgRevokeResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; +/** Msg defines the authz Msg service. */ export interface Msg { - grant(request: MsgGrant): Promise; - /*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.*/ - - exec(request: MsgExec): 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.*/ - - revoke(request: MsgRevoke): Promise; - /*Revoke revokes any authorization corresponding to the provided method name on the - granter's account that has been granted to the grantee.*/ - + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -30,19 +35,19 @@ export class MsgClientImpl implements Msg { this.revoke = this.revoke.bind(this); } - grant(request: MsgGrant): Promise { + grant(request: MsgGrant): Promise { const data = MsgGrant.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - revoke(request: MsgRevoke): Promise { + revoke(request: MsgRevoke): Promise { const data = MsgRevoke.encode(request).finish(); const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts index 7eda0f40a..105936746 100644 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts @@ -9,7 +9,7 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgGrant { granter: string; grantee: string; - grant: Grant | undefined; + grant?: Grant | undefined; } /** * MsgGrant is a request type for Grant method. It declares authorization to the grantee @@ -19,7 +19,7 @@ export interface MsgGrant { export interface MsgGrantSDKType { granter: string; grantee: string; - grant: GrantSDKType | undefined; + grant?: GrantSDKType | undefined; } /** MsgExecResponse defines the Msg/MsgExecResponse response type. */ @@ -176,7 +176,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -270,7 +270,7 @@ export const MsgGrantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantResponse(); @@ -369,7 +369,7 @@ export const MsgRevokeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeResponse(); diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts index eadb3b95b..da2f39609 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts @@ -5,7 +5,7 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** balances is an array containing the balances of all the accounts. */ balances: Balance[]; @@ -23,7 +23,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** balances is an array containing the balances of all the accounts. */ balances: BalanceSDKType[]; diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts index 1eaba0a3c..7535655dc 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -51,7 +51,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* SpendableBalances queries the spenable balance of all coins for a single - account. */ + account. */ async spendableBalances(params: QuerySpendableBalancesRequest): Promise { @@ -113,7 +113,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* DenomsMetadata queries the client metadata for all registered coin - denominations. */ + denominations. */ async denomsMetadata(params: QueryDenomsMetadataRequest = { @@ -131,7 +131,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DenomOwners queries for all account addresses that own a particular token - denomination. */ + denomination. */ async denomOwners(params: QueryDenomOwnersRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts index 71991c2b1..a60bbc8c7 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts @@ -1,40 +1,45 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryBalanceRequest): Promise; - /*Balance queries the balance of a single coin for a single account.*/ + /** 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; - /*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. + */ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - /*SpendableBalances queries the spenable balance of all coins for a single - account.*/ + spendableBalances(request: QuerySpendableBalancesRequest): Promise; + /** TotalSupply queries the total supply of all coins. */ - totalSupply(request?: QueryTotalSupplyRequest): 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; - /*SupplyOf queries the supply of a single coin.*/ + supplyOf(request: QuerySupplyOfRequest): Promise; + /** Params queries the parameters of x/bank module. */ - params(request?: QueryParamsRequest): 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 of a given coin denomination.*/ + denomMetadata(request: QueryDenomMetadataRequest): Promise; + /** + * DenomsMetadata queries the client metadata for all registered coin + * denominations. + */ - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - /*DenomsMetadata queries the client metadata for all registered coin - denominations.*/ - - denomOwners(request: QueryDenomOwnersRequest): Promise; - /*DenomOwners queries for all account addresses that own a particular token - denomination.*/ + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; + /** + * DenomOwners queries for all account addresses that own a particular token + * denomination. + */ + denomOwners(request: QueryDenomOwnersRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -52,19 +57,19 @@ export class QueryClientImpl implements Query { this.denomOwners = this.denomOwners.bind(this); } - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { const data = QueryBalanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); } - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { const data = QueryAllBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); } - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { const data = QuerySpendableBalancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); @@ -72,25 +77,25 @@ export class QueryClientImpl implements Query { totalSupply(request: QueryTotalSupplyRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryTotalSupplyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); } - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { const data = QuerySupplyOfRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { const data = QueryDenomMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); @@ -98,13 +103,13 @@ export class QueryClientImpl implements Query { denomsMetadata(request: QueryDenomsMetadataRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryDenomsMetadataRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); } - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { const data = QueryDenomOwnersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); @@ -115,39 +120,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { return queryService.balance(request); }, - allBalances(request: QueryAllBalancesRequest): Promise { + allBalances(request: QueryAllBalancesRequest): Promise { return queryService.allBalances(request); }, - spendableBalances(request: QuerySpendableBalancesRequest): Promise { + spendableBalances(request: QuerySpendableBalancesRequest): Promise { return queryService.spendableBalances(request); }, - totalSupply(request?: QueryTotalSupplyRequest): Promise { + totalSupply(request?: QueryTotalSupplyRequest): Promise { return queryService.totalSupply(request); }, - supplyOf(request: QuerySupplyOfRequest): Promise { + supplyOf(request: QuerySupplyOfRequest): Promise { return queryService.supplyOf(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - denomMetadata(request: QueryDenomMetadataRequest): Promise { + denomMetadata(request: QueryDenomMetadataRequest): Promise { return queryService.denomMetadata(request); }, - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { return queryService.denomsMetadata(request); }, - denomOwners(request: QueryDenomOwnersRequest): Promise { + denomOwners(request: QueryDenomOwnersRequest): Promise { return queryService.denomOwners(request); } diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts index 5a02f47c0..53ecb3fae 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts @@ -24,13 +24,13 @@ export interface QueryBalanceRequestSDKType { export interface QueryBalanceResponse { /** balance is the balance of the coin. */ - balance: Coin | undefined; + balance?: Coin | undefined; } /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ export interface QueryBalanceResponseSDKType { /** balance is the balance of the coin. */ - balance: CoinSDKType | undefined; + balance?: CoinSDKType | undefined; } /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ @@ -184,25 +184,25 @@ export interface QueryTotalSupplyResponseSDKType { export interface QuerySupplyOfRequest { /** denom is the coin denom to query balances for. */ - denom?: string; + denom: string; } /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfRequestSDKType { /** denom is the coin denom to query balances for. */ - denom?: string; + 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 | undefined; + amount?: Coin | undefined; } /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfResponseSDKType { /** amount is the supply of the coin. */ - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** QueryParamsRequest defines the request type for querying x/bank parameters. */ @@ -213,12 +213,12 @@ export interface QueryParamsRequestSDKType {} /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponse { - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ @@ -275,7 +275,7 @@ export interface QueryDenomMetadataRequestSDKType { export interface QueryDenomMetadataResponse { /** metadata describes and provides all the client information for the requested token. */ - metadata: Metadata | undefined; + metadata?: Metadata | undefined; } /** * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC @@ -284,7 +284,7 @@ export interface QueryDenomMetadataResponse { export interface QueryDenomMetadataResponseSDKType { /** metadata describes and provides all the client information for the requested token. */ - metadata: MetadataSDKType | undefined; + metadata?: MetadataSDKType | undefined; } /** * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, @@ -323,7 +323,7 @@ export interface DenomOwner { address: string; /** balance is the balance of the denominated coin for an account. */ - balance: Coin | undefined; + balance?: Coin | undefined; } /** * DenomOwner defines structure representing an account that owns or holds a @@ -336,7 +336,7 @@ export interface DenomOwnerSDKType { address: string; /** balance is the balance of the denominated coin for an account. */ - balance: CoinSDKType | undefined; + balance?: CoinSDKType | undefined; } /** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ @@ -425,7 +425,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -530,7 +530,7 @@ export const QueryAllBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllBalancesResponse(); @@ -640,7 +640,7 @@ export const QuerySpendableBalancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySpendableBalancesResponse(); @@ -740,7 +740,7 @@ export const QueryTotalSupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTotalSupplyResponse(); @@ -835,7 +835,7 @@ export const QuerySupplyOfResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyOfResponse(); @@ -914,7 +914,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -1009,7 +1009,7 @@ export const QueryDenomsMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomsMetadataResponse(); @@ -1104,7 +1104,7 @@ export const QueryDenomMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomMetadataResponse(); @@ -1264,7 +1264,7 @@ export const QueryDenomOwnersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomOwnersResponse(); diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts index 26a23d4b4..4112bb9d2 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -1,15 +1,14 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - send(request: MsgSend): Promise; - /*Send defines a method for sending coins from one account to another account.*/ - - multiSend(request: MsgMultiSend): Promise; - /*MultiSend defines a method for sending coins from some accounts to other accounts.*/ + /** 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -20,13 +19,13 @@ export class MsgClientImpl implements Msg { this.multiSend = this.multiSend.bind(this); } - send(request: MsgSend): Promise { + send(request: MsgSend): Promise { const data = MsgSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); } - multiSend(request: MsgMultiSend): Promise { + multiSend(request: MsgMultiSend): Promise { const data = MsgMultiSend.encode(request).finish(); const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts index d9cd5047e..8763f6b60 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts @@ -114,7 +114,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); @@ -203,7 +203,7 @@ export const MsgMultiSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMultiSendResponse(); diff --git a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts index 747fcffca..d95c9ff4e 100644 --- a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts +++ b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Event, EventSDKType } from "../../../../tendermint/abci/types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * TxResponse defines a structure containing relevant tx data and metadata. The * tags are stringified and the log is JSON decoded. @@ -42,7 +42,7 @@ export interface TxResponse { gasUsed: Long; /** The request transaction bytes. */ - tx: Any | undefined; + tx?: Any | undefined; /** * 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, @@ -101,7 +101,7 @@ export interface TxResponseSDKType { gas_used: Long; /** The request transaction bytes. */ - tx: AnySDKType | undefined; + tx?: AnySDKType | undefined; /** * 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, @@ -262,8 +262,8 @@ export interface ResultSDKType { */ export interface SimulationResponse { - gasInfo: GasInfo | undefined; - result: Result | undefined; + gasInfo?: GasInfo | undefined; + result?: Result | undefined; } /** * SimulationResponse defines the response generated when a transaction is @@ -271,8 +271,8 @@ export interface SimulationResponse { */ export interface SimulationResponseSDKType { - gas_info: GasInfoSDKType | undefined; - result: ResultSDKType | undefined; + gas_info?: GasInfoSDKType | undefined; + result?: ResultSDKType | undefined; } /** * MsgData defines the data returned in a Result object during message diff --git a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts index 51c783184..b99bc3762 100644 --- a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts +++ b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -1,13 +1,13 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } + * message SomeRequest { + * Foo some_parameter = 1; + * PageRequest pagination = 2; + * } */ export interface PageRequest { @@ -16,20 +16,20 @@ export interface PageRequest { * querying the next page most efficiently. Only one of offset or key * should be set. */ - key?: Uint8Array; + 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; + 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; + 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. @@ -37,23 +37,23 @@ export interface PageRequest { * is set. */ - countTotal?: boolean; + countTotal: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ - reverse?: boolean; + reverse: boolean; } /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } + * message SomeRequest { + * Foo some_parameter = 1; + * PageRequest pagination = 2; + * } */ export interface PageRequestSDKType { @@ -62,20 +62,20 @@ export interface PageRequestSDKType { * querying the next page most efficiently. Only one of offset or key * should be set. */ - key?: Uint8Array; + 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; + 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; + 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. @@ -83,23 +83,23 @@ export interface PageRequestSDKType { * is set. */ - count_total?: boolean; + 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; + 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; - * } + * message SomeResponse { + * repeated Bar results = 1; + * PageResponse page = 2; + * } */ export interface PageResponse { @@ -108,7 +108,7 @@ export interface PageResponse { * query the next page most efficiently. It will be empty if * there are no more results. */ - nextKey?: Uint8Array; + nextKey: Uint8Array; /** * total is total number of results available if PageRequest.count_total * was set, its value is undefined otherwise @@ -120,10 +120,10 @@ export interface PageResponse { * 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; - * } + * message SomeResponse { + * repeated Bar results = 1; + * PageResponse page = 2; + * } */ export interface PageResponseSDKType { @@ -132,7 +132,7 @@ export interface PageResponseSDKType { * query the next page most efficiently. It will be empty if * there are no more results. */ - next_key?: Uint8Array; + next_key: Uint8Array; /** * total is total number of results available if PageRequest.count_total * was set, its value is undefined otherwise diff --git a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts index 61e3d78bd..7846ab5e2 100644 --- a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -101,7 +101,7 @@ export const ListAllInterfacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListAllInterfacesResponse(); @@ -191,7 +191,7 @@ export const ListImplementationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseListImplementationsResponse(); diff --git a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts index eb34c7e64..693dc5a95 100644 --- a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -6,22 +6,22 @@ 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 | undefined; + authn?: AuthnDescriptor | undefined; /** chain provides the chain descriptor */ - chain: ChainDescriptor | undefined; + chain?: ChainDescriptor | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor | undefined; + codec?: CodecDescriptor | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor | undefined; + configuration?: ConfigurationDescriptor | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor | undefined; + queryServices?: QueryServicesDescriptor | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptor | undefined; + tx?: TxDescriptor | undefined; } /** AppDescriptor describes a cosmos-sdk based application */ @@ -30,22 +30,22 @@ export interface AppDescriptorSDKType { * AuthnDescriptor provides information on how to authenticate transactions on the application * NOTE: experimental and subject to change in future releases. */ - authn: AuthnDescriptorSDKType | undefined; + authn?: AuthnDescriptorSDKType | undefined; /** chain provides the chain descriptor */ - chain: ChainDescriptorSDKType | undefined; + chain?: ChainDescriptorSDKType | undefined; /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptorSDKType | undefined; + codec?: CodecDescriptorSDKType | undefined; /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptorSDKType | undefined; + configuration?: ConfigurationDescriptorSDKType | undefined; /** query_services provides metadata information regarding the available queriable endpoints */ - query_services: QueryServicesDescriptorSDKType | undefined; + query_services?: QueryServicesDescriptorSDKType | undefined; /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptorSDKType | undefined; + tx?: TxDescriptorSDKType | undefined; } /** TxDescriptor describes the accepted transaction type */ @@ -279,13 +279,13 @@ export interface GetAuthnDescriptorRequestSDKType {} export interface GetAuthnDescriptorResponse { /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptor | undefined; + authn?: AuthnDescriptor | undefined; } /** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ export interface GetAuthnDescriptorResponseSDKType { /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptorSDKType | undefined; + authn?: AuthnDescriptorSDKType | undefined; } /** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ @@ -297,13 +297,13 @@ export interface GetChainDescriptorRequestSDKType {} export interface GetChainDescriptorResponse { /** chain describes application chain information */ - chain: ChainDescriptor | undefined; + chain?: ChainDescriptor | undefined; } /** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ export interface GetChainDescriptorResponseSDKType { /** chain describes application chain information */ - chain: ChainDescriptorSDKType | undefined; + chain?: ChainDescriptorSDKType | undefined; } /** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ @@ -315,13 +315,13 @@ export interface GetCodecDescriptorRequestSDKType {} export interface GetCodecDescriptorResponse { /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptor | undefined; + codec?: CodecDescriptor | undefined; } /** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ export interface GetCodecDescriptorResponseSDKType { /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptorSDKType | undefined; + codec?: CodecDescriptorSDKType | undefined; } /** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ @@ -333,13 +333,13 @@ export interface GetConfigurationDescriptorRequestSDKType {} export interface GetConfigurationDescriptorResponse { /** config describes the application's sdk.Config */ - config: ConfigurationDescriptor | undefined; + config?: ConfigurationDescriptor | undefined; } /** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ export interface GetConfigurationDescriptorResponseSDKType { /** config describes the application's sdk.Config */ - config: ConfigurationDescriptorSDKType | undefined; + config?: ConfigurationDescriptorSDKType | undefined; } /** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ @@ -351,13 +351,13 @@ export interface GetQueryServicesDescriptorRequestSDKType {} export interface GetQueryServicesDescriptorResponse { /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptor | undefined; + queries?: QueryServicesDescriptor | undefined; } /** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ export interface GetQueryServicesDescriptorResponseSDKType { /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptorSDKType | undefined; + queries?: QueryServicesDescriptorSDKType | undefined; } /** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ @@ -372,7 +372,7 @@ export interface GetTxDescriptorResponse { * tx provides information on msgs that can be forwarded to the application * alongside the accepted transaction protobuf type */ - tx: TxDescriptor | undefined; + tx?: TxDescriptor | undefined; } /** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ @@ -381,7 +381,7 @@ export interface GetTxDescriptorResponseSDKType { * tx provides information on msgs that can be forwarded to the application * alongside the accepted transaction protobuf type */ - tx: TxDescriptorSDKType | undefined; + tx?: TxDescriptorSDKType | undefined; } /** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ @@ -1116,7 +1116,7 @@ export const GetAuthnDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetAuthnDescriptorResponse(); @@ -1195,7 +1195,7 @@ export const GetChainDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetChainDescriptorResponse(); @@ -1274,7 +1274,7 @@ export const GetCodecDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetCodecDescriptorResponse(); @@ -1353,7 +1353,7 @@ export const GetConfigurationDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetConfigurationDescriptorResponse(); @@ -1432,7 +1432,7 @@ export const GetQueryServicesDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetQueryServicesDescriptorResponse(); @@ -1511,7 +1511,7 @@ export const GetTxDescriptorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxDescriptorResponse(); diff --git a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts index 7a889d0f6..3c4d0f0e4 100644 --- a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** Snapshot contains Tendermint state sync snapshot info. */ export interface Snapshot { @@ -7,7 +7,7 @@ export interface Snapshot { format: number; chunks: number; hash: Uint8Array; - metadata: Metadata | undefined; + metadata?: Metadata | undefined; } /** Snapshot contains Tendermint state sync snapshot info. */ @@ -16,7 +16,7 @@ export interface SnapshotSDKType { format: number; chunks: number; hash: Uint8Array; - metadata: MetadataSDKType | undefined; + metadata?: MetadataSDKType | undefined; } /** Metadata contains SDK-specific snapshot metadata. */ diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts index c1e7928b5..5e7599aa6 100644 --- a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * CommitInfo defines commit information used by the multi-store when committing * a version/height. @@ -25,7 +25,7 @@ export interface CommitInfoSDKType { export interface StoreInfo { name: string; - commitId: CommitID | undefined; + commitId?: CommitID | undefined; } /** * StoreInfo defines store-specific commit information. It contains a reference @@ -34,7 +34,7 @@ export interface StoreInfo { export interface StoreInfoSDKType { name: string; - commit_id: CommitIDSDKType | undefined; + commit_id?: CommitIDSDKType | undefined; } /** * CommitID defines the committment information when a specific store is diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts index ae69c027c..831fcf2c7 100644 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts index bcce00d01..3426fab27 100644 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts @@ -1,28 +1,27 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; -/** Service defines the RPC service */ +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; +/** Service defines the gRPC querier service for tendermint queries. */ export interface Service { - getNodeInfo(request?: GetNodeInfoRequest): Promise; - /*GetNodeInfo queries the current node info.*/ + /** GetNodeInfo queries the current node info. */ + getNodeInfo(request?: GetNodeInfoRequest): Promise; + /** GetSyncing queries node syncing. */ - getSyncing(request?: GetSyncingRequest): Promise; - /*GetSyncing queries node syncing.*/ + getSyncing(request?: GetSyncingRequest): Promise; + /** GetLatestBlock returns the latest block. */ - getLatestBlock(request?: GetLatestBlockRequest): Promise; - /*GetLatestBlock returns the latest block.*/ + getLatestBlock(request?: GetLatestBlockRequest): Promise; + /** GetBlockByHeight queries block for given height. */ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - /*GetBlockByHeight queries block for given height.*/ + getBlockByHeight(request: GetBlockByHeightRequest): Promise; + /** GetLatestValidatorSet queries latest validator-set. */ - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - /*GetLatestValidatorSet queries latest validator-set.*/ - - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - /*GetValidatorSetByHeight queries validator-set at a given height.*/ + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; + /** GetValidatorSetByHeight queries validator-set at a given height. */ + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; } export class QueryClientImpl implements Service { private readonly rpc: Rpc; @@ -37,25 +36,25 @@ export class QueryClientImpl implements Service { this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); } - getNodeInfo(request: GetNodeInfoRequest = {}): Promise { + 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 _m0.Reader(data))); } - getSyncing(request: GetSyncingRequest = {}): Promise { + 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 _m0.Reader(data))); } - getLatestBlock(request: GetLatestBlockRequest = {}): Promise { + 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 _m0.Reader(data))); } - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + 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 _m0.Reader(data))); @@ -63,13 +62,13 @@ export class QueryClientImpl implements Service { getLatestValidatorSet(request: GetLatestValidatorSetRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); } - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + 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 _m0.Reader(data))); @@ -80,27 +79,27 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - getNodeInfo(request?: GetNodeInfoRequest): Promise { + getNodeInfo(request?: GetNodeInfoRequest): Promise { return queryService.getNodeInfo(request); }, - getSyncing(request?: GetSyncingRequest): Promise { + getSyncing(request?: GetSyncingRequest): Promise { return queryService.getSyncing(request); }, - getLatestBlock(request?: GetLatestBlockRequest): Promise { + getLatestBlock(request?: GetLatestBlockRequest): Promise { return queryService.getLatestBlock(request); }, - getBlockByHeight(request: GetBlockByHeightRequest): Promise { + getBlockByHeight(request: GetBlockByHeightRequest): Promise { return queryService.getBlockByHeight(request); }, - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise { + getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise { return queryService.getLatestValidatorSet(request); }, - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { + getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { return queryService.getValidatorSetByHeight(request); } diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts index cc211d1d6..e2fdee33e 100644 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -4,7 +4,7 @@ import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; import { Block, BlockSDKType } from "../../../../tendermint/types/block"; import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ export interface GetValidatorSetByHeightRequest { @@ -73,7 +73,7 @@ export interface GetLatestValidatorSetResponseSDKType { export interface Validator { address: string; - pubKey: Any | undefined; + pubKey?: Any | undefined; votingPower: Long; proposerPriority: Long; } @@ -81,7 +81,7 @@ export interface Validator { export interface ValidatorSDKType { address: string; - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; voting_power: Long; proposer_priority: Long; } @@ -98,14 +98,14 @@ export interface GetBlockByHeightRequestSDKType { /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ export interface GetBlockByHeightResponse { - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; } /** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ export interface GetBlockByHeightResponseSDKType { - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; } /** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ @@ -116,14 +116,14 @@ export interface GetLatestBlockRequestSDKType {} /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ export interface GetLatestBlockResponse { - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; } /** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ export interface GetLatestBlockResponseSDKType { - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; } /** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ @@ -150,14 +150,14 @@ export interface GetNodeInfoRequestSDKType {} /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ export interface GetNodeInfoResponse { - nodeInfo: NodeInfo | undefined; - applicationVersion: VersionInfo | undefined; + nodeInfo?: NodeInfo | undefined; + applicationVersion?: VersionInfo | undefined; } /** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ export interface GetNodeInfoResponseSDKType { - node_info: NodeInfoSDKType | undefined; - application_version: VersionInfoSDKType | undefined; + node_info?: NodeInfoSDKType | undefined; + application_version?: VersionInfoSDKType | undefined; } /** VersionInfo is the type for the GetNodeInfoResponse message. */ @@ -292,7 +292,7 @@ export const GetValidatorSetByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetValidatorSetByHeightResponse(); @@ -402,7 +402,7 @@ export const GetLatestValidatorSetResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestValidatorSetResponse(); @@ -582,7 +582,7 @@ export const GetBlockByHeightResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockByHeightResponse(); @@ -671,7 +671,7 @@ export const GetLatestBlockResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetLatestBlockResponse(); @@ -755,7 +755,7 @@ export const GetSyncingResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetSyncingResponse(); @@ -839,7 +839,7 @@ export const GetNodeInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetNodeInfoResponse(); diff --git a/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts index f3ebb0d52..d8008841a 100644 --- a/examples/telescope/codegen/cosmos/bundle.ts +++ b/examples/telescope/codegen/cosmos/bundle.ts @@ -90,100 +90,100 @@ import * as _90 from "./upgrade/v1beta1/tx"; import * as _91 from "./upgrade/v1beta1/upgrade"; import * as _92 from "./vesting/v1beta1/tx"; import * as _93 from "./vesting/v1beta1/vesting"; -import * as _146 from "./authz/v1beta1/tx.amino"; -import * as _147 from "./bank/v1beta1/tx.amino"; -import * as _148 from "./crisis/v1beta1/tx.amino"; -import * as _149 from "./distribution/v1beta1/tx.amino"; -import * as _150 from "./evidence/v1beta1/tx.amino"; -import * as _151 from "./feegrant/v1beta1/tx.amino"; -import * as _152 from "./gov/v1/tx.amino"; -import * as _153 from "./gov/v1beta1/tx.amino"; -import * as _154 from "./group/v1/tx.amino"; -import * as _155 from "./nft/v1beta1/tx.amino"; -import * as _156 from "./slashing/v1beta1/tx.amino"; -import * as _157 from "./staking/v1beta1/tx.amino"; -import * as _158 from "./upgrade/v1beta1/tx.amino"; -import * as _159 from "./vesting/v1beta1/tx.amino"; -import * as _160 from "./authz/v1beta1/tx.registry"; -import * as _161 from "./bank/v1beta1/tx.registry"; -import * as _162 from "./crisis/v1beta1/tx.registry"; -import * as _163 from "./distribution/v1beta1/tx.registry"; -import * as _164 from "./evidence/v1beta1/tx.registry"; -import * as _165 from "./feegrant/v1beta1/tx.registry"; -import * as _166 from "./gov/v1/tx.registry"; -import * as _167 from "./gov/v1beta1/tx.registry"; -import * as _168 from "./group/v1/tx.registry"; -import * as _169 from "./nft/v1beta1/tx.registry"; -import * as _170 from "./slashing/v1beta1/tx.registry"; -import * as _171 from "./staking/v1beta1/tx.registry"; -import * as _172 from "./upgrade/v1beta1/tx.registry"; -import * as _173 from "./vesting/v1beta1/tx.registry"; -import * as _174 from "./auth/v1beta1/query.lcd"; -import * as _175 from "./authz/v1beta1/query.lcd"; -import * as _176 from "./bank/v1beta1/query.lcd"; -import * as _177 from "./base/tendermint/v1beta1/query.lcd"; -import * as _178 from "./distribution/v1beta1/query.lcd"; -import * as _179 from "./evidence/v1beta1/query.lcd"; -import * as _180 from "./feegrant/v1beta1/query.lcd"; -import * as _181 from "./gov/v1/query.lcd"; -import * as _182 from "./gov/v1beta1/query.lcd"; -import * as _183 from "./group/v1/query.lcd"; -import * as _184 from "./mint/v1beta1/query.lcd"; -import * as _185 from "./nft/v1beta1/query.lcd"; -import * as _186 from "./params/v1beta1/query.lcd"; -import * as _187 from "./slashing/v1beta1/query.lcd"; -import * as _188 from "./staking/v1beta1/query.lcd"; -import * as _189 from "./tx/v1beta1/service.lcd"; -import * as _190 from "./upgrade/v1beta1/query.lcd"; -import * as _191 from "./app/v1alpha1/query.rpc.query"; -import * as _192 from "./auth/v1beta1/query.rpc.query"; -import * as _193 from "./authz/v1beta1/query.rpc.query"; -import * as _194 from "./bank/v1beta1/query.rpc.query"; -import * as _195 from "./base/tendermint/v1beta1/query.rpc.svc"; -import * as _196 from "./distribution/v1beta1/query.rpc.query"; -import * as _197 from "./evidence/v1beta1/query.rpc.query"; -import * as _198 from "./feegrant/v1beta1/query.rpc.query"; -import * as _199 from "./gov/v1/query.rpc.query"; -import * as _200 from "./gov/v1beta1/query.rpc.query"; -import * as _201 from "./group/v1/query.rpc.query"; -import * as _202 from "./mint/v1beta1/query.rpc.query"; -import * as _203 from "./nft/v1beta1/query.rpc.query"; -import * as _204 from "./params/v1beta1/query.rpc.query"; -import * as _205 from "./slashing/v1beta1/query.rpc.query"; -import * as _206 from "./staking/v1beta1/query.rpc.query"; -import * as _207 from "./tx/v1beta1/service.rpc.svc"; -import * as _208 from "./upgrade/v1beta1/query.rpc.query"; -import * as _209 from "./authz/v1beta1/tx.rpc.msg"; -import * as _210 from "./bank/v1beta1/tx.rpc.msg"; -import * as _211 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _212 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _213 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _214 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _215 from "./gov/v1/tx.rpc.msg"; -import * as _216 from "./gov/v1beta1/tx.rpc.msg"; -import * as _217 from "./group/v1/tx.rpc.msg"; -import * as _218 from "./nft/v1beta1/tx.rpc.msg"; -import * as _219 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _220 from "./staking/v1beta1/tx.rpc.msg"; -import * as _221 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _222 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _249 from "./lcd"; -import * as _250 from "./rpc.query"; -import * as _251 from "./rpc.tx"; +import * as _143 from "./authz/v1beta1/tx.amino"; +import * as _144 from "./bank/v1beta1/tx.amino"; +import * as _145 from "./crisis/v1beta1/tx.amino"; +import * as _146 from "./distribution/v1beta1/tx.amino"; +import * as _147 from "./evidence/v1beta1/tx.amino"; +import * as _148 from "./feegrant/v1beta1/tx.amino"; +import * as _149 from "./gov/v1/tx.amino"; +import * as _150 from "./gov/v1beta1/tx.amino"; +import * as _151 from "./group/v1/tx.amino"; +import * as _152 from "./nft/v1beta1/tx.amino"; +import * as _153 from "./slashing/v1beta1/tx.amino"; +import * as _154 from "./staking/v1beta1/tx.amino"; +import * as _155 from "./upgrade/v1beta1/tx.amino"; +import * as _156 from "./vesting/v1beta1/tx.amino"; +import * as _157 from "./authz/v1beta1/tx.registry"; +import * as _158 from "./bank/v1beta1/tx.registry"; +import * as _159 from "./crisis/v1beta1/tx.registry"; +import * as _160 from "./distribution/v1beta1/tx.registry"; +import * as _161 from "./evidence/v1beta1/tx.registry"; +import * as _162 from "./feegrant/v1beta1/tx.registry"; +import * as _163 from "./gov/v1/tx.registry"; +import * as _164 from "./gov/v1beta1/tx.registry"; +import * as _165 from "./group/v1/tx.registry"; +import * as _166 from "./nft/v1beta1/tx.registry"; +import * as _167 from "./slashing/v1beta1/tx.registry"; +import * as _168 from "./staking/v1beta1/tx.registry"; +import * as _169 from "./upgrade/v1beta1/tx.registry"; +import * as _170 from "./vesting/v1beta1/tx.registry"; +import * as _171 from "./auth/v1beta1/query.lcd"; +import * as _172 from "./authz/v1beta1/query.lcd"; +import * as _173 from "./bank/v1beta1/query.lcd"; +import * as _174 from "./base/tendermint/v1beta1/query.lcd"; +import * as _175 from "./distribution/v1beta1/query.lcd"; +import * as _176 from "./evidence/v1beta1/query.lcd"; +import * as _177 from "./feegrant/v1beta1/query.lcd"; +import * as _178 from "./gov/v1/query.lcd"; +import * as _179 from "./gov/v1beta1/query.lcd"; +import * as _180 from "./group/v1/query.lcd"; +import * as _181 from "./mint/v1beta1/query.lcd"; +import * as _182 from "./nft/v1beta1/query.lcd"; +import * as _183 from "./params/v1beta1/query.lcd"; +import * as _184 from "./slashing/v1beta1/query.lcd"; +import * as _185 from "./staking/v1beta1/query.lcd"; +import * as _186 from "./tx/v1beta1/service.lcd"; +import * as _187 from "./upgrade/v1beta1/query.lcd"; +import * as _188 from "./app/v1alpha1/query.rpc.query"; +import * as _189 from "./auth/v1beta1/query.rpc.query"; +import * as _190 from "./authz/v1beta1/query.rpc.query"; +import * as _191 from "./bank/v1beta1/query.rpc.query"; +import * as _192 from "./base/tendermint/v1beta1/query.rpc.svc"; +import * as _193 from "./distribution/v1beta1/query.rpc.query"; +import * as _194 from "./evidence/v1beta1/query.rpc.query"; +import * as _195 from "./feegrant/v1beta1/query.rpc.query"; +import * as _196 from "./gov/v1/query.rpc.query"; +import * as _197 from "./gov/v1beta1/query.rpc.query"; +import * as _198 from "./group/v1/query.rpc.query"; +import * as _199 from "./mint/v1beta1/query.rpc.query"; +import * as _200 from "./nft/v1beta1/query.rpc.query"; +import * as _201 from "./params/v1beta1/query.rpc.query"; +import * as _202 from "./slashing/v1beta1/query.rpc.query"; +import * as _203 from "./staking/v1beta1/query.rpc.query"; +import * as _204 from "./tx/v1beta1/service.rpc.svc"; +import * as _205 from "./upgrade/v1beta1/query.rpc.query"; +import * as _206 from "./authz/v1beta1/tx.rpc.msg"; +import * as _207 from "./bank/v1beta1/tx.rpc.msg"; +import * as _208 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _209 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _210 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _211 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _212 from "./gov/v1/tx.rpc.msg"; +import * as _213 from "./gov/v1beta1/tx.rpc.msg"; +import * as _214 from "./group/v1/tx.rpc.msg"; +import * as _215 from "./nft/v1beta1/tx.rpc.msg"; +import * as _216 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _217 from "./staking/v1beta1/tx.rpc.msg"; +import * as _218 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _219 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _246 from "./lcd"; +import * as _247 from "./rpc.query"; +import * as _248 from "./rpc.tx"; export namespace cosmos { export namespace app { export const v1alpha1 = { ..._2, ..._3, ..._4, - ..._191 + ..._188 }; } export namespace auth { export const v1beta1 = { ..._5, ..._6, ..._7, - ..._174, - ..._192 + ..._171, + ..._189 }; } export namespace authz { @@ -192,11 +192,11 @@ export namespace cosmos { ..._10, ..._11, ..._12, - ..._146, - ..._160, - ..._175, - ..._193, - ..._209 + ..._143, + ..._157, + ..._172, + ..._190, + ..._206 }; } export namespace bank { @@ -205,11 +205,11 @@ export namespace cosmos { ..._15, ..._16, ..._17, - ..._147, - ..._161, - ..._176, - ..._194, - ..._210 + ..._144, + ..._158, + ..._173, + ..._191, + ..._207 }; } export namespace base { @@ -242,8 +242,8 @@ export namespace cosmos { } export namespace tendermint { export const v1beta1 = { ..._26, - ..._177, - ..._195 + ..._174, + ..._192 }; } export const v1beta1 = { ..._27 @@ -257,9 +257,9 @@ export namespace cosmos { export namespace crisis { export const v1beta1 = { ..._30, ..._31, - ..._148, - ..._162, - ..._211 + ..._145, + ..._159, + ..._208 }; } export namespace crypto { @@ -285,11 +285,11 @@ export namespace cosmos { ..._39, ..._40, ..._41, - ..._149, - ..._163, - ..._178, - ..._196, - ..._212 + ..._146, + ..._160, + ..._175, + ..._193, + ..._209 }; } export namespace evidence { @@ -297,11 +297,11 @@ export namespace cosmos { ..._43, ..._44, ..._45, - ..._150, - ..._164, - ..._179, - ..._197, - ..._213 + ..._147, + ..._161, + ..._176, + ..._194, + ..._210 }; } export namespace feegrant { @@ -309,11 +309,11 @@ export namespace cosmos { ..._47, ..._48, ..._49, - ..._151, - ..._165, - ..._180, - ..._198, - ..._214 + ..._148, + ..._162, + ..._177, + ..._195, + ..._211 }; } export namespace genutil { @@ -325,21 +325,21 @@ export namespace cosmos { ..._52, ..._53, ..._54, - ..._152, - ..._166, - ..._181, - ..._199, - ..._215 + ..._149, + ..._163, + ..._178, + ..._196, + ..._212 }; export const v1beta1 = { ..._55, ..._56, ..._57, ..._58, - ..._153, - ..._167, - ..._182, - ..._200, - ..._216 + ..._150, + ..._164, + ..._179, + ..._197, + ..._213 }; } export namespace group { @@ -348,19 +348,19 @@ export namespace cosmos { ..._61, ..._62, ..._63, - ..._154, - ..._168, - ..._183, - ..._201, - ..._217 + ..._151, + ..._165, + ..._180, + ..._198, + ..._214 }; } export namespace mint { export const v1beta1 = { ..._64, ..._65, ..._66, - ..._184, - ..._202 + ..._181, + ..._199 }; } export namespace msg { @@ -373,11 +373,11 @@ export namespace cosmos { ..._70, ..._71, ..._72, - ..._155, - ..._169, - ..._185, - ..._203, - ..._218 + ..._152, + ..._166, + ..._182, + ..._200, + ..._215 }; } export namespace orm { @@ -389,8 +389,8 @@ export namespace cosmos { export namespace params { export const v1beta1 = { ..._75, ..._76, - ..._186, - ..._204 + ..._183, + ..._201 }; } export namespace slashing { @@ -398,11 +398,11 @@ export namespace cosmos { ..._78, ..._79, ..._80, - ..._156, - ..._170, - ..._187, - ..._205, - ..._219 + ..._153, + ..._167, + ..._184, + ..._202, + ..._216 }; } export namespace staking { @@ -411,11 +411,11 @@ export namespace cosmos { ..._83, ..._84, ..._85, - ..._157, - ..._171, - ..._188, - ..._206, - ..._220 + ..._154, + ..._168, + ..._185, + ..._203, + ..._217 }; } export namespace tx { @@ -425,31 +425,31 @@ export namespace cosmos { } export const v1beta1 = { ..._87, ..._88, - ..._189, - ..._207 + ..._186, + ..._204 }; } export namespace upgrade { export const v1beta1 = { ..._89, ..._90, ..._91, - ..._158, - ..._172, - ..._190, - ..._208, - ..._221 + ..._155, + ..._169, + ..._187, + ..._205, + ..._218 }; } export namespace vesting { export const v1beta1 = { ..._92, ..._93, - ..._159, - ..._173, - ..._222 + ..._156, + ..._170, + ..._219 }; } - export const ClientFactory = { ..._249, - ..._250, - ..._251 + export const ClientFactory = { ..._246, + ..._247, + ..._248 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts index 20eccc133..85249c0eb 100644 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * Capability defines an implementation of an object capability. The index * provided to a Capability must be globally unique. diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts index bfb716e1f..cf4a1df47 100644 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts @@ -1,6 +1,6 @@ import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisOwners defines the capability owners with their corresponding index. */ export interface GenesisOwners { @@ -8,7 +8,7 @@ export interface GenesisOwners { index: Long; /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners | undefined; + indexOwners?: CapabilityOwners | undefined; } /** GenesisOwners defines the capability owners with their corresponding index. */ @@ -17,7 +17,7 @@ export interface GenesisOwnersSDKType { index: Long; /** index_owners are the owners at the given index. */ - index_owners: CapabilityOwnersSDKType | undefined; + index_owners?: CapabilityOwnersSDKType | undefined; } /** GenesisState defines the capability module's genesis state. */ diff --git a/examples/telescope/codegen/cosmos/client.ts b/examples/telescope/codegen/cosmos/client.ts index def39ffd3..59543f0dd 100644 --- a/examples/telescope/codegen/cosmos/client.ts +++ b/examples/telescope/codegen/cosmos/client.ts @@ -1,4 +1,4 @@ -import { OfflineSigner, Registry } from "@cosmjs/proto-signing"; +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry"; import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry"; @@ -28,25 +28,28 @@ 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 getSigningCosmosClientOptions = (): { registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...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]); - const aminoTypes = new AminoTypes({ ...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 + const registry = new Registry([...cosmosProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmosAminoConverters }); return { registry, diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts index 17bbfbcfd..1b0864f9e 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -7,7 +7,7 @@ export interface GenesisState { * constant_fee is the fee used to verify the invariant in the crisis * module. */ - constantFee: Coin | undefined; + constantFee?: Coin | undefined; } /** GenesisState defines the crisis module's genesis state. */ @@ -16,7 +16,7 @@ export interface GenesisStateSDKType { * constant_fee is the fee used to verify the invariant in the crisis * module. */ - constant_fee: CoinSDKType | undefined; + constant_fee?: CoinSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts index 5eacd96de..cd2c03878 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse, MsgVerifyInvariantResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - verifyInvariant(request: MsgVerifyInvariant): Promise; - /*VerifyInvariant defines a method to verify a particular invariance.*/ - + /** VerifyInvariant defines a method to verify a particular invariance. */ + verifyInvariant(request: MsgVerifyInvariant): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.verifyInvariant = this.verifyInvariant.bind(this); } - verifyInvariant(request: MsgVerifyInvariant): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts index fd4879b80..31153100f 100644 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts @@ -94,7 +94,7 @@ export const MsgVerifyInvariantResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVerifyInvariantResponse(); diff --git a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts index ee28ed6c2..c276eee82 100644 --- a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts +++ b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts @@ -8,7 +8,7 @@ export interface Record { name: string; /** pub_key represents a public key in any format */ - pubKey: Any | undefined; + pubKey?: Any | undefined; /** local stores the public information about a locally stored key */ local?: Record_Local | undefined; @@ -29,7 +29,7 @@ export interface RecordSDKType { name: string; /** pub_key represents a public key in any format */ - pub_key: AnySDKType | undefined; + pub_key?: AnySDKType | undefined; /** local stores the public information about a locally stored key */ local?: Record_LocalSDKType | undefined; @@ -49,7 +49,7 @@ export interface RecordSDKType { */ export interface Record_Local { - privKey: Any | undefined; + privKey?: Any | undefined; privKeyType: string; } /** @@ -58,18 +58,18 @@ export interface Record_Local { */ export interface Record_LocalSDKType { - priv_key: AnySDKType | undefined; + priv_key?: AnySDKType | undefined; priv_key_type: string; } /** Ledger item */ export interface Record_Ledger { - path: BIP44Params | undefined; + path?: BIP44Params | undefined; } /** Ledger item */ export interface Record_LedgerSDKType { - path: BIP44ParamsSDKType | undefined; + path?: BIP44ParamsSDKType | undefined; } /** Multi item */ diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts index 591a636ee..a89f32455 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -1,6 +1,6 @@ import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Params defines the set of params for the distribution module. */ export interface Params { @@ -25,11 +25,11 @@ export interface ParamsSDKType { * 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 + * 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 { @@ -44,11 +44,11 @@ export interface ValidatorHistoricalRewards { * 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 + * 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 { diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts index 16953bb2d..9fef91a17 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -1,7 +1,7 @@ import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -56,7 +56,7 @@ export interface ValidatorAccumulatedCommissionRecord { validatorAddress: string; /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommission | undefined; + accumulated?: ValidatorAccumulatedCommission | undefined; } /** * ValidatorAccumulatedCommissionRecord is used for import / export via genesis @@ -68,7 +68,7 @@ export interface ValidatorAccumulatedCommissionRecordSDKType { validator_address: string; /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommissionSDKType | undefined; + accumulated?: ValidatorAccumulatedCommissionSDKType | undefined; } /** * ValidatorHistoricalRewardsRecord is used for import / export via genesis @@ -83,7 +83,7 @@ export interface ValidatorHistoricalRewardsRecord { period: Long; /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewards | undefined; + rewards?: ValidatorHistoricalRewards | undefined; } /** * ValidatorHistoricalRewardsRecord is used for import / export via genesis @@ -98,7 +98,7 @@ export interface ValidatorHistoricalRewardsRecordSDKType { period: Long; /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewardsSDKType | undefined; + rewards?: ValidatorHistoricalRewardsSDKType | undefined; } /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ @@ -107,7 +107,7 @@ export interface ValidatorCurrentRewardsRecord { validatorAddress: string; /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewards | undefined; + rewards?: ValidatorCurrentRewards | undefined; } /** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ @@ -116,7 +116,7 @@ export interface ValidatorCurrentRewardsRecordSDKType { validator_address: string; /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewardsSDKType | undefined; + rewards?: ValidatorCurrentRewardsSDKType | undefined; } /** DelegatorStartingInfoRecord used for import / export via genesis json. */ @@ -128,7 +128,7 @@ export interface DelegatorStartingInfoRecord { validatorAddress: string; /** starting_info defines the starting info of a delegator. */ - startingInfo: DelegatorStartingInfo | undefined; + startingInfo?: DelegatorStartingInfo | undefined; } /** DelegatorStartingInfoRecord used for import / export via genesis json. */ @@ -140,7 +140,7 @@ export interface DelegatorStartingInfoRecordSDKType { validator_address: string; /** starting_info defines the starting info of a delegator. */ - starting_info: DelegatorStartingInfoSDKType | undefined; + starting_info?: DelegatorStartingInfoSDKType | undefined; } /** ValidatorSlashEventRecord is used for import / export via genesis json. */ @@ -155,7 +155,7 @@ export interface ValidatorSlashEventRecord { period: Long; /** validator_slash_event describes the slash event. */ - validatorSlashEvent: ValidatorSlashEvent | undefined; + validatorSlashEvent?: ValidatorSlashEvent | undefined; } /** ValidatorSlashEventRecord is used for import / export via genesis json. */ @@ -170,16 +170,16 @@ export interface ValidatorSlashEventRecordSDKType { period: Long; /** validator_slash_event describes the slash event. */ - validator_slash_event: ValidatorSlashEventSDKType | undefined; + validator_slash_event?: ValidatorSlashEventSDKType | undefined; } /** GenesisState defines the distribution module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool | undefined; + feePool?: FeePool | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ delegatorWithdrawInfos: DelegatorWithdrawInfo[]; @@ -209,10 +209,10 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** fee_pool defines the fee pool at genesis. */ - fee_pool: FeePoolSDKType | undefined; + fee_pool?: FeePoolSDKType | undefined; /** fee_pool defines the delegator withdraw infos at genesis. */ delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts index db900399a..5c1f644e5 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -72,7 +72,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* DelegationTotalRewards queries the total rewards accrued by a each - validator. */ + validator. */ async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts index 7ec7a4291..539882a1f 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts @@ -1,38 +1,39 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request?: QueryParamsRequest): Promise; - /*Params queries params of the distribution module.*/ + /** Params queries params of the distribution module. */ + params(request?: QueryParamsRequest): Promise; + /** ValidatorOutstandingRewards queries rewards of a validator address. */ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - /*ValidatorOutstandingRewards queries rewards of a validator address.*/ + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; + /** ValidatorCommission queries accumulated commission for a validator. */ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - /*ValidatorCommission queries accumulated commission for a validator.*/ + validatorCommission(request: QueryValidatorCommissionRequest): Promise; + /** ValidatorSlashes queries slash events of a validator. */ - validatorSlashes(request: QueryValidatorSlashesRequest): 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; - /*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; - /*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; - /*DelegatorValidators queries the validators of a delegator.*/ + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; + /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - /*DelegatorWithdrawAddress queries withdraw address of a delegator.*/ - - communityPool(request?: QueryCommunityPoolRequest): Promise; - /*CommunityPool queries the community pool coins.*/ + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; + /** CommunityPool queries the community pool coins. */ + communityPool(request?: QueryCommunityPoolRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -50,55 +51,55 @@ export class QueryClientImpl implements Query { this.communityPool = this.communityPool.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); } - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { const data = QueryValidatorCommissionRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); } - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { const data = QueryValidatorSlashesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); } - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { const data = QueryDelegationRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); } - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); } - communityPool(request: QueryCommunityPoolRequest = {}): Promise { + communityPool(request: QueryCommunityPoolRequest = {}): Promise { const data = QueryCommunityPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); @@ -109,39 +110,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { return queryService.validatorOutstandingRewards(request); }, - validatorCommission(request: QueryValidatorCommissionRequest): Promise { + validatorCommission(request: QueryValidatorCommissionRequest): Promise { return queryService.validatorCommission(request); }, - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { return queryService.validatorSlashes(request); }, - delegationRewards(request: QueryDelegationRewardsRequest): Promise { + delegationRewards(request: QueryDelegationRewardsRequest): Promise { return queryService.delegationRewards(request); }, - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { return queryService.delegationTotalRewards(request); }, - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { return queryService.delegatorValidators(request); }, - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { return queryService.delegatorWithdrawAddress(request); }, - communityPool(request?: QueryCommunityPoolRequest): Promise { + communityPool(request?: QueryCommunityPoolRequest): Promise { return queryService.communityPool(request); } diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts index 0f30eba7f..03ff9aacf 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts @@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest {} @@ -13,13 +13,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QueryValidatorOutstandingRewardsRequest is the request type for the @@ -45,7 +45,7 @@ export interface QueryValidatorOutstandingRewardsRequestSDKType { */ export interface QueryValidatorOutstandingRewardsResponse { - rewards: ValidatorOutstandingRewards | undefined; + rewards?: ValidatorOutstandingRewards | undefined; } /** * QueryValidatorOutstandingRewardsResponse is the response type for the @@ -53,7 +53,7 @@ export interface QueryValidatorOutstandingRewardsResponse { */ export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards: ValidatorOutstandingRewardsSDKType | undefined; + rewards?: ValidatorOutstandingRewardsSDKType | undefined; } /** * QueryValidatorCommissionRequest is the request type for the @@ -80,7 +80,7 @@ export interface QueryValidatorCommissionRequestSDKType { export interface QueryValidatorCommissionResponse { /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommission | undefined; + commission?: ValidatorAccumulatedCommission | undefined; } /** * QueryValidatorCommissionResponse is the response type for the @@ -89,7 +89,7 @@ export interface QueryValidatorCommissionResponse { export interface QueryValidatorCommissionResponseSDKType { /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommissionSDKType | undefined; + commission?: ValidatorAccumulatedCommissionSDKType | undefined; } /** * QueryValidatorSlashesRequest is the request type for the @@ -101,10 +101,10 @@ export interface QueryValidatorSlashesRequest { validatorAddress: string; /** starting_height defines the optional starting height to query the slashes. */ - startingHeight?: Long; + startingHeight: Long; /** starting_height defines the optional ending height to query the slashes. */ - endingHeight?: Long; + endingHeight: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -119,10 +119,10 @@ export interface QueryValidatorSlashesRequestSDKType { validator_address: string; /** starting_height defines the optional starting height to query the slashes. */ - starting_height?: Long; + starting_height: Long; /** starting_height defines the optional ending height to query the slashes. */ - ending_height?: Long; + ending_height: Long; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -387,7 +387,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -477,7 +477,7 @@ export const QueryValidatorOutstandingRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorOutstandingRewardsResponse(); @@ -567,7 +567,7 @@ export const QueryValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorCommissionResponse(); @@ -692,7 +692,7 @@ export const QueryValidatorSlashesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorSlashesResponse(); @@ -797,7 +797,7 @@ export const QueryDelegationRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationRewardsResponse(); @@ -892,7 +892,7 @@ export const QueryDelegationTotalRewardsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationTotalRewardsResponse(); @@ -987,7 +987,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1077,7 +1077,7 @@ export const QueryDelegatorWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorWithdrawAddressResponse(); @@ -1156,7 +1156,7 @@ export const QueryCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCommunityPoolResponse(); diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts index a480b116f..64e7e1905 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -1,25 +1,32 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgSetWithdrawAddressResponseSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawDelegatorRewardResponseSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgWithdrawValidatorCommissionResponseSDKType, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgFundCommunityPoolResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; +/** Msg defines the distribution Msg service. */ export interface Msg { - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - /*SetWithdrawAddress defines a method to change the withdraw address - for a delegator (or validator self-delegation).*/ + /** + * 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; - /*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; - /*WithdrawValidatorCommission defines a method to withdraw the - full commission to the validator address.*/ - - fundCommunityPool(request: MsgFundCommunityPool): Promise; - /*FundCommunityPool defines a method to allow an account to directly - fund the community pool.*/ + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; + /** + * FundCommunityPool defines a method to allow an account to directly + * fund the community pool. + */ + fundCommunityPool(request: MsgFundCommunityPool): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -32,25 +39,25 @@ export class MsgClientImpl implements Msg { this.fundCommunityPool = this.fundCommunityPool.bind(this); } - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { const data = MsgSetWithdrawAddress.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); } - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { const data = MsgWithdrawDelegatorReward.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); } - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { const data = MsgWithdrawValidatorCommission.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); } - fundCommunityPool(request: MsgFundCommunityPool): Promise { + fundCommunityPool(request: MsgFundCommunityPool): Promise { const data = MsgFundCommunityPool.encode(request).finish(); const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts index 259a05305..e4d3b018f 100644 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts @@ -167,7 +167,7 @@ export const MsgSetWithdrawAddressResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSetWithdrawAddressResponse(); @@ -262,7 +262,7 @@ export const MsgWithdrawDelegatorRewardResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawDelegatorRewardResponse(); @@ -352,7 +352,7 @@ export const MsgWithdrawValidatorCommissionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawValidatorCommissionResponse(); @@ -446,7 +446,7 @@ export const MsgFundCommunityPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgFundCommunityPoolResponse(); diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts index e2ca4ccda..2aef61084 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -1,6 +1,6 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; /** * Equivocation implements the Evidence interface and defines evidence of double * signing misbehavior. @@ -8,7 +8,7 @@ import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; export interface Equivocation { height: Long; - time: Date | undefined; + time?: Date | undefined; power: Long; consensusAddress: string; } @@ -19,7 +19,7 @@ export interface Equivocation { export interface EquivocationSDKType { height: Long; - time: Date | undefined; + time?: Date | undefined; power: Long; consensus_address: string; } diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts index 9f6d533f4..ff67beab4 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts index 26d048326..f55807bd8 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts @@ -1,16 +1,15 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - evidence(request: QueryEvidenceRequest): Promise; - /*Evidence queries evidence based on evidence hash.*/ - - allEvidence(request?: QueryAllEvidenceRequest): Promise; - /*AllEvidence queries all evidence.*/ + /** 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; @@ -21,7 +20,7 @@ export class QueryClientImpl implements Query { this.allEvidence = this.allEvidence.bind(this); } - evidence(request: QueryEvidenceRequest): Promise { + 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 _m0.Reader(data))); @@ -29,7 +28,7 @@ export class QueryClientImpl implements Query { allEvidence(request: QueryAllEvidenceRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -40,11 +39,11 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - evidence(request: QueryEvidenceRequest): Promise { + evidence(request: QueryEvidenceRequest): Promise { return queryService.evidence(request); }, - allEvidence(request?: QueryAllEvidenceRequest): Promise { + allEvidence(request?: QueryAllEvidenceRequest): Promise { return queryService.allEvidence(request); } diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts index 992c90b87..11a303b08 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts @@ -17,13 +17,13 @@ export interface QueryEvidenceRequestSDKType { export interface QueryEvidenceResponse { /** evidence returns the requested evidence. */ - evidence: Any | undefined; + evidence?: Any | undefined; } /** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ export interface QueryEvidenceResponseSDKType { /** evidence returns the requested evidence. */ - evidence: AnySDKType | undefined; + evidence?: AnySDKType | undefined; } /** * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC @@ -128,7 +128,7 @@ export const QueryEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryEvidenceResponse(); @@ -223,7 +223,7 @@ export const QueryAllEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllEvidenceResponse(); diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts index 652cf7eae..afd22359e 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -1,13 +1,14 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse, MsgSubmitEvidenceResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; +/** Msg defines the evidence Msg service. */ export interface Msg { - submitEvidence(request: MsgSubmitEvidence): Promise; - /*SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - counterfactual signing.*/ - + /** + * 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; @@ -17,7 +18,7 @@ export class MsgClientImpl implements Msg { this.submitEvidence = this.submitEvidence.bind(this); } - submitEvidence(request: MsgSubmitEvidence): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts index cdfcd997b..3f2c3de54 100644 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts @@ -7,7 +7,7 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgSubmitEvidence { submitter: string; - evidence: Any | undefined; + evidence?: Any | undefined; } /** * MsgSubmitEvidence represents a message that supports submitting arbitrary @@ -16,7 +16,7 @@ export interface MsgSubmitEvidence { export interface MsgSubmitEvidenceSDKType { submitter: string; - evidence: AnySDKType | undefined; + evidence?: AnySDKType | undefined; } /** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ @@ -101,7 +101,7 @@ export const MsgSubmitEvidenceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitEvidenceResponse(); diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts index b383ebbb8..2028d9334 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -3,7 +3,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * BasicAllowance implements Allowance with a one-time grant of tokens * that optionally expires. The grantee can use up to SpendLimit to cover fees. @@ -18,7 +18,7 @@ export interface BasicAllowance { spendLimit: Coin[]; /** expiration specifies an optional time when this allowance expires */ - expiration: Date | undefined; + expiration?: Date | undefined; } /** * BasicAllowance implements Allowance with a one-time grant of tokens @@ -34,7 +34,7 @@ export interface BasicAllowanceSDKType { spend_limit: CoinSDKType[]; /** expiration specifies an optional time when this allowance expires */ - expiration: Date | undefined; + expiration?: Date | undefined; } /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -43,13 +43,13 @@ export interface BasicAllowanceSDKType { export interface PeriodicAllowance { /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowance | undefined; + basic?: BasicAllowance | undefined; /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: Duration | undefined; + period?: Duration | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period @@ -65,7 +65,7 @@ export interface PeriodicAllowance { * last period ended */ - periodReset: Date | undefined; + periodReset?: Date | undefined; } /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -74,13 +74,13 @@ export interface PeriodicAllowance { export interface PeriodicAllowanceSDKType { /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowanceSDKType | undefined; + basic?: BasicAllowanceSDKType | undefined; /** * period specifies the time duration in which period_spend_limit coins can * be spent before that allowance is reset */ - period: DurationSDKType | undefined; + period?: DurationSDKType | undefined; /** * period_spend_limit specifies the maximum number of coins that can be spent * in the period @@ -96,13 +96,13 @@ export interface PeriodicAllowanceSDKType { * last period ended */ - period_reset: Date | undefined; + period_reset?: Date | undefined; } /** AllowedMsgAllowance creates allowance only for specified message types. */ export interface AllowedMsgAllowance { /** allowance can be any of basic and periodic fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; /** allowed_messages are the messages for which the grantee has the access. */ allowedMessages: string[]; @@ -111,7 +111,7 @@ export interface AllowedMsgAllowance { export interface AllowedMsgAllowanceSDKType { /** allowance can be any of basic and periodic fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; /** allowed_messages are the messages for which the grantee has the access. */ allowed_messages: string[]; @@ -126,7 +126,7 @@ export interface Grant { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; } /** Grant is stored in the KVStore to record a grant with full context */ @@ -138,7 +138,7 @@ export interface GrantSDKType { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; } function createBaseBasicAllowance(): BasicAllowance { @@ -272,7 +272,7 @@ export const PeriodicAllowance = { 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; + 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; diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts index 657fc3a24..c486edb7b 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; export class LCDQueryClient { @@ -37,7 +37,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* AllowancesByGranter returns all the grants given by an address - Since v0.46 */ + Since v0.46 */ async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts index 31deff3b7..a23808dcb 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts @@ -1,20 +1,21 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - allowance(request: QueryAllowanceRequest): Promise; - /*Allowance returns fee granted to the grantee by the granter.*/ + /** 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; - /*Allowances returns all the grants for address.*/ - - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; - /*AllowancesByGranter returns all the grants given by an address - Since v0.46*/ + allowances(request: QueryAllowancesRequest): Promise; + /** + * AllowancesByGranter returns all the grants given by an address + * Since v0.46 + */ + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -26,19 +27,19 @@ export class QueryClientImpl implements Query { this.allowancesByGranter = this.allowancesByGranter.bind(this); } - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { const data = QueryAllowanceRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); } - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { const data = QueryAllowancesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); } - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { const data = QueryAllowancesByGranterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); @@ -49,15 +50,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - allowance(request: QueryAllowanceRequest): Promise { + allowance(request: QueryAllowanceRequest): Promise { return queryService.allowance(request); }, - allowances(request: QueryAllowancesRequest): Promise { + allowances(request: QueryAllowancesRequest): Promise { return queryService.allowances(request); }, - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { return queryService.allowancesByGranter(request); } diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts index 6a60e38df..5d4f30446 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts @@ -23,13 +23,13 @@ export interface QueryAllowanceRequestSDKType { export interface QueryAllowanceResponse { /** allowance is a allowance granted for grantee by granter. */ - allowance: Grant | undefined; + allowance?: Grant | undefined; } /** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ export interface QueryAllowanceResponseSDKType { /** allowance is a allowance granted for grantee by granter. */ - allowance: GrantSDKType | undefined; + allowance?: GrantSDKType | undefined; } /** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ @@ -170,7 +170,7 @@ export const QueryAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowanceResponse(); @@ -275,7 +275,7 @@ export const QueryAllowancesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesResponse(); @@ -385,7 +385,7 @@ export const QueryAllowancesByGranterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllowancesByGranterResponse(); diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts index 9b1e29240..1bc315e34 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -1,17 +1,20 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgGrantAllowanceResponseSDKType, MsgRevokeAllowance, MsgRevokeAllowanceResponse, MsgRevokeAllowanceResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; +/** Msg defines the feegrant msg service. */ export interface Msg { - grantAllowance(request: MsgGrantAllowance): Promise; - /*GrantAllowance grants fee allowance to the grantee on the granter's - account with the provided expiration time.*/ - - revokeAllowance(request: MsgRevokeAllowance): Promise; - /*RevokeAllowance revokes any fee allowance of granter's account that - has been granted to the grantee.*/ + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -22,13 +25,13 @@ export class MsgClientImpl implements Msg { this.revokeAllowance = this.revokeAllowance.bind(this); } - grantAllowance(request: MsgGrantAllowance): Promise { + grantAllowance(request: MsgGrantAllowance): Promise { const data = MsgGrantAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); } - revokeAllowance(request: MsgRevokeAllowance): Promise { + revokeAllowance(request: MsgRevokeAllowance): Promise { const data = MsgRevokeAllowance.encode(request).finish(); const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts index 2b75320cb..8b88dee50 100644 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -13,7 +13,7 @@ export interface MsgGrantAllowance { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: Any | undefined; + allowance?: Any | undefined; } /** * MsgGrantAllowance adds permission for Grantee to spend up to Allowance @@ -28,7 +28,7 @@ export interface MsgGrantAllowanceSDKType { grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: AnySDKType | undefined; + allowance?: AnySDKType | undefined; } /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ @@ -135,7 +135,7 @@ export const MsgGrantAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgGrantAllowanceResponse(); @@ -224,7 +224,7 @@ export const MsgRevokeAllowanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRevokeAllowanceResponse(); diff --git a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts index f4724ada9..000143893 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts @@ -1,6 +1,6 @@ import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { @@ -17,13 +17,13 @@ export interface GenesisState { proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** GenesisState defines the gov module's genesis state. */ @@ -41,13 +41,13 @@ export interface GenesisStateSDKType { proposals: ProposalSDKType[]; /** params defines all the paramaters of related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** params defines all the paramaters of related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** params defines all the paramaters of related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/cosmos/gov/v1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1/gov.ts index f53f1dec6..5b213be53 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/gov.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/gov.ts @@ -3,7 +3,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { @@ -87,8 +87,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus enumerates the valid statuses of a proposal. */ @@ -217,8 +218,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_FAILED: return "PROPOSAL_STATUS_FAILED"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** WeightedVoteOption defines a unit of vote for vote split. */ @@ -265,12 +267,12 @@ export interface Proposal { * proposal's voting period has ended. */ - finalTallyResult: TallyResult | undefined; - submitTime: Date | undefined; - depositEndTime: Date | undefined; + finalTallyResult?: TallyResult | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; totalDeposit: Coin[]; - votingStartTime: Date | undefined; - votingEndTime: Date | undefined; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; @@ -287,12 +289,12 @@ export interface ProposalSDKType { * proposal's voting period has ended. */ - final_tally_result: TallyResultSDKType | undefined; - submit_time: Date | undefined; - deposit_end_time: Date | undefined; + final_tally_result?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; total_deposit: CoinSDKType[]; - voting_start_time: Date | undefined; - voting_end_time: Date | undefined; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; @@ -346,10 +348,10 @@ export interface DepositParams { minDeposit: Coin[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - maxDepositPeriod: Duration | undefined; + maxDepositPeriod?: Duration | undefined; } /** DepositParams defines the params for deposits on governance proposals. */ @@ -358,29 +360,29 @@ export interface DepositParamsSDKType { min_deposit: CoinSDKType[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - max_deposit_period: DurationSDKType | undefined; + max_deposit_period?: DurationSDKType | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParams { /** Length of the voting period. */ - votingPeriod: Duration | undefined; + votingPeriod?: Duration | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParamsSDKType { /** Length of the voting period. */ - voting_period: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; } /** 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. + * considered valid. */ quorum: string; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -388,7 +390,7 @@ export interface TallyParams { threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ vetoThreshold: string; @@ -398,7 +400,7 @@ export interface TallyParams { export interface TallyParamsSDKType { /** * Minimum percentage of total stake needed to vote for a result to be - * considered valid. + * considered valid. */ quorum: string; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -406,7 +408,7 @@ export interface TallyParamsSDKType { threshold: string; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ veto_threshold: string; @@ -866,7 +868,7 @@ export const DepositParams = { fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; return message; } @@ -911,7 +913,7 @@ export const VotingParams = { fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; return message; } diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts index f0d9cb596..c70703b85 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts index 804a02a0e..35784235a 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts @@ -1,34 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryProposalRequest): Promise; - /*Proposal queries proposal details based on ProposalID.*/ + /** Proposal queries proposal details based on ProposalID. */ + proposal(request: QueryProposalRequest): Promise; + /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): 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; - /*Vote queries voted information based on proposalID, voterAddr.*/ + vote(request: QueryVoteRequest): Promise; + /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /*Votes queries votes of a given proposal.*/ + votes(request: QueryVotesRequest): Promise; + /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): 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; - /*Deposit queries single deposit information based proposalID, depositAddr.*/ + deposit(request: QueryDepositRequest): Promise; + /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /*Deposits queries all deposits of a single proposal.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal vote.*/ + deposits(request: QueryDepositsRequest): Promise; + /** TallyResult queries the tally of a proposal vote. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,49 +44,49 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -98,35 +97,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { return queryService.proposals(request); }, - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { return queryService.vote(request); }, - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { return queryService.votes(request); }, - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { return queryService.deposit(request); }, - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { return queryService.deposits(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.ts index 5fe1413a0..0aad3e944 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/query.ts @@ -1,7 +1,7 @@ import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { @@ -17,24 +17,24 @@ export interface QueryProposalRequestSDKType { /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponse { - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus?: ProposalStatus; + proposalStatus: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -43,13 +43,13 @@ export interface QueryProposalsRequest { export interface QueryProposalsRequestSDKType { /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatusSDKType; + proposal_status: ProposalStatusSDKType; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -98,13 +98,13 @@ export interface QueryVoteRequestSDKType { export interface QueryVoteResponse { /** vote defined the queried vote. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { /** vote defined the queried vote. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ @@ -164,25 +164,25 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** voting_params defines the parameters related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** deposit_params defines the parameters related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** tally_params defines the parameters related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ @@ -206,13 +206,13 @@ export interface QueryDepositRequestSDKType { export interface QueryDepositResponse { /** deposit defines the requested deposit. */ - deposit: Deposit | undefined; + deposit?: Deposit | undefined; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponseSDKType { /** deposit defines the requested deposit. */ - deposit: DepositSDKType | undefined; + deposit?: DepositSDKType | undefined; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ @@ -264,13 +264,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryProposalRequest(): QueryProposalRequest { @@ -333,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -458,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -563,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -668,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -773,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -883,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -988,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1083,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts index c0b487087..3b7ec125a 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export interface AminoMsgSubmitProposal extends AminoMsg { type: "cosmos-sdk/v1/MsgSubmitProposal"; diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts index f3a37f7da..2bd32ee2b 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -1,25 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgExecLegacyContentResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; +/** Msg defines the gov Msg service. */ export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal defines a method to create new proposal given a content.*/ + /** 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; - /*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; - /*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; - /*VoteWeighted defines a method to add a weighted vote on a specific proposal.*/ - - deposit(request: MsgDeposit): Promise; - /*Deposit defines a method to add deposit on a specific proposal.*/ + voteWeighted(request: MsgVoteWeighted): Promise; + /** Deposit defines a method to add deposit on a specific proposal. */ + deposit(request: MsgDeposit): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -33,31 +34,31 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - execLegacyContent(request: MsgExecLegacyContent): Promise { + execLegacyContent(request: MsgExecLegacyContent): Promise { const data = MsgExecLegacyContent.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.ts index c8981a690..f5fc6c120 100644 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.ts +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. @@ -46,7 +46,7 @@ export interface MsgSubmitProposalResponseSDKType { export interface MsgExecLegacyContent { /** content is the proposal's content. */ - content: Any | undefined; + content?: Any | undefined; /** authority must be the gov module address. */ authority: string; @@ -58,7 +58,7 @@ export interface MsgExecLegacyContent { export interface MsgExecLegacyContentSDKType { /** content is the proposal's content. */ - content: AnySDKType | undefined; + content?: AnySDKType | undefined; /** authority must be the gov module address. */ authority: string; @@ -224,7 +224,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -318,7 +318,7 @@ export const MsgExecLegacyContentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecLegacyContentResponse(); @@ -427,7 +427,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -536,7 +536,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -635,7 +635,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts index f4724ada9..000143893 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts @@ -1,6 +1,6 @@ import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { @@ -17,13 +17,13 @@ export interface GenesisState { proposals: Proposal[]; /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** GenesisState defines the gov module's genesis state. */ @@ -41,13 +41,13 @@ export interface GenesisStateSDKType { proposals: ProposalSDKType[]; /** params defines all the paramaters of related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** params defines all the paramaters of related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** params defines all the paramaters of related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts index a06b1f842..897b28389 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts @@ -3,7 +3,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { @@ -87,8 +87,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus enumerates the valid statuses of a proposal. */ @@ -217,8 +218,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_FAILED: return "PROPOSAL_STATUS_FAILED"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -283,7 +285,7 @@ export interface DepositSDKType { export interface Proposal { proposalId: Long; - content: Any | undefined; + content?: Any | undefined; status: ProposalStatus; /** * final_tally_result is the final tally result of the proposal. When @@ -291,18 +293,18 @@ export interface Proposal { * proposal's voting period has ended. */ - finalTallyResult: TallyResult | undefined; - submitTime: Date | undefined; - depositEndTime: Date | undefined; + finalTallyResult?: TallyResult | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; totalDeposit: Coin[]; - votingStartTime: Date | undefined; - votingEndTime: Date | undefined; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; } /** Proposal defines the core field members of a governance proposal. */ export interface ProposalSDKType { proposal_id: Long; - content: AnySDKType | undefined; + content?: AnySDKType | undefined; status: ProposalStatusSDKType; /** * final_tally_result is the final tally result of the proposal. When @@ -310,12 +312,12 @@ export interface ProposalSDKType { * proposal's voting period has ended. */ - final_tally_result: TallyResultSDKType | undefined; - submit_time: Date | undefined; - deposit_end_time: Date | undefined; + final_tally_result?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; total_deposit: CoinSDKType[]; - voting_start_time: Date | undefined; - voting_end_time: Date | undefined; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; } /** TallyResult defines a standard tally for a governance proposal. */ @@ -382,10 +384,10 @@ export interface DepositParams { minDeposit: Coin[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - maxDepositPeriod: Duration | undefined; + maxDepositPeriod?: Duration | undefined; } /** DepositParams defines the params for deposits on governance proposals. */ @@ -394,29 +396,29 @@ export interface DepositParamsSDKType { min_deposit: CoinSDKType[]; /** * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. + * months. */ - max_deposit_period: DurationSDKType | undefined; + max_deposit_period?: DurationSDKType | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParams { /** Length of the voting period. */ - votingPeriod: Duration | undefined; + votingPeriod?: Duration | undefined; } /** VotingParams defines the params for voting on governance proposals. */ export interface VotingParamsSDKType { /** Length of the voting period. */ - voting_period: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; } /** 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. + * considered valid. */ quorum: Uint8Array; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -424,7 +426,7 @@ export interface TallyParams { threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ vetoThreshold: Uint8Array; @@ -434,7 +436,7 @@ export interface TallyParams { export interface TallyParamsSDKType { /** * Minimum percentage of total stake needed to vote for a result to be - * considered valid. + * considered valid. */ quorum: Uint8Array; /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ @@ -442,7 +444,7 @@ export interface TallyParamsSDKType { threshold: Uint8Array; /** * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. + * vetoed. Default value: 1/3. */ veto_threshold: Uint8Array; @@ -947,7 +949,7 @@ export const DepositParams = { fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod ?? undefined; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; return message; } @@ -992,7 +994,7 @@ export const VotingParams = { fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; return message; } diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts index 51e114881..642759d59 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts index 2b13b14d1..246d7da99 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts @@ -1,34 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryProposalRequest): Promise; - /*Proposal queries proposal details based on ProposalID.*/ + /** Proposal queries proposal details based on ProposalID. */ + proposal(request: QueryProposalRequest): Promise; + /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): 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; - /*Vote queries voted information based on proposalID, voterAddr.*/ + vote(request: QueryVoteRequest): Promise; + /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /*Votes queries votes of a given proposal.*/ + votes(request: QueryVotesRequest): Promise; + /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): 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; - /*Deposit queries single deposit information based proposalID, depositAddr.*/ + deposit(request: QueryDepositRequest): Promise; + /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /*Deposits queries all deposits of a single proposal.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal vote.*/ + deposits(request: QueryDepositsRequest): Promise; + /** TallyResult queries the tally of a proposal vote. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -45,49 +44,49 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { const data = QueryProposalsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); } - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { const data = QueryVoteRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); } - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { const data = QueryVotesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { const data = QueryDepositRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); } - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { const data = QueryDepositsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -98,35 +97,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposals(request: QueryProposalsRequest): Promise { + proposals(request: QueryProposalsRequest): Promise { return queryService.proposals(request); }, - vote(request: QueryVoteRequest): Promise { + vote(request: QueryVoteRequest): Promise { return queryService.vote(request); }, - votes(request: QueryVotesRequest): Promise { + votes(request: QueryVotesRequest): Promise { return queryService.votes(request); }, - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - deposit(request: QueryDepositRequest): Promise { + deposit(request: QueryDepositRequest): Promise { return queryService.deposit(request); }, - deposits(request: QueryDepositsRequest): Promise { + deposits(request: QueryDepositsRequest): Promise { return queryService.deposits(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts index 5fe1413a0..0aad3e944 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts @@ -1,7 +1,7 @@ import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { @@ -17,24 +17,24 @@ export interface QueryProposalRequestSDKType { /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponse { - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ export interface QueryProposalsRequest { /** proposal_status defines the status of the proposals. */ - proposalStatus?: ProposalStatus; + proposalStatus: ProposalStatus; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -43,13 +43,13 @@ export interface QueryProposalsRequest { export interface QueryProposalsRequestSDKType { /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatusSDKType; + proposal_status: ProposalStatusSDKType; /** voter defines the voter address for the proposals. */ - voter?: string; + voter: string; /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; + depositor: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -98,13 +98,13 @@ export interface QueryVoteRequestSDKType { export interface QueryVoteResponse { /** vote defined the queried vote. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteResponse is the response type for the Query/Vote RPC method. */ export interface QueryVoteResponseSDKType { /** vote defined the queried vote. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesRequest is the request type for the Query/Votes RPC method. */ @@ -164,25 +164,25 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams | undefined; + votingParams?: VotingParams | undefined; /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; + depositParams?: DepositParams | undefined; /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams | undefined; + tallyParams?: TallyParams | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** voting_params defines the parameters related to voting. */ - voting_params: VotingParamsSDKType | undefined; + voting_params?: VotingParamsSDKType | undefined; /** deposit_params defines the parameters related to deposit. */ - deposit_params: DepositParamsSDKType | undefined; + deposit_params?: DepositParamsSDKType | undefined; /** tally_params defines the parameters related to tally. */ - tally_params: TallyParamsSDKType | undefined; + tally_params?: TallyParamsSDKType | undefined; } /** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ @@ -206,13 +206,13 @@ export interface QueryDepositRequestSDKType { export interface QueryDepositResponse { /** deposit defines the requested deposit. */ - deposit: Deposit | undefined; + deposit?: Deposit | undefined; } /** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ export interface QueryDepositResponseSDKType { /** deposit defines the requested deposit. */ - deposit: DepositSDKType | undefined; + deposit?: DepositSDKType | undefined; } /** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ @@ -264,13 +264,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryProposalRequest(): QueryProposalRequest { @@ -333,7 +333,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -458,7 +458,7 @@ export const QueryProposalsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsResponse(); @@ -563,7 +563,7 @@ export const QueryVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteResponse(); @@ -668,7 +668,7 @@ export const QueryVotesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesResponse(); @@ -773,7 +773,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -883,7 +883,7 @@ export const QueryDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositResponse(); @@ -988,7 +988,7 @@ export const QueryDepositsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDepositsResponse(); @@ -1083,7 +1083,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts index 1f9fb6aca..bdf284576 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./gov"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export interface AminoMsgSubmitProposal extends AminoMsg { type: "cosmos-sdk/MsgSubmitProposal"; diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts index 2ea60b00c..4e4cc252a 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -1,23 +1,24 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal defines a method to create new proposal given a content.*/ + /** 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; - /*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; - /*VoteWeighted defines a method to add a weighted vote on a specific proposal. - - Since: cosmos-sdk 0.43*/ - - deposit(request: MsgDeposit): Promise; - /*Deposit defines a method to add deposit on a specific proposal.*/ + voteWeighted(request: MsgVoteWeighted): Promise; + /** Deposit defines a method to add deposit on a specific proposal. */ + deposit(request: MsgDeposit): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -30,25 +31,25 @@ export class MsgClientImpl implements Msg { this.deposit = this.deposit.bind(this); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - voteWeighted(request: MsgVoteWeighted): Promise { + voteWeighted(request: MsgVoteWeighted): Promise { const data = MsgVoteWeighted.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); } - deposit(request: MsgDeposit): Promise { + deposit(request: MsgDeposit): Promise { const data = MsgDeposit.encode(request).finish(); const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts index 30bc4bd1e..318741c62 100644 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts @@ -2,14 +2,14 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposal { - content: Any | undefined; + content?: Any | undefined; initialDeposit: Coin[]; proposer: string; } @@ -19,7 +19,7 @@ export interface MsgSubmitProposal { */ export interface MsgSubmitProposalSDKType { - content: AnySDKType | undefined; + content?: AnySDKType | undefined; initial_deposit: CoinSDKType[]; proposer: string; } @@ -190,7 +190,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -294,7 +294,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -393,7 +393,7 @@ export const MsgVoteWeightedResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteWeightedResponse(); @@ -492,7 +492,7 @@ export const MsgDepositResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDepositResponse(); diff --git a/examples/telescope/codegen/cosmos/group/v1/events.ts b/examples/telescope/codegen/cosmos/group/v1/events.ts index 27f446d21..e239706b4 100644 --- a/examples/telescope/codegen/cosmos/group/v1/events.ts +++ b/examples/telescope/codegen/cosmos/group/v1/events.ts @@ -1,6 +1,6 @@ import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroup { diff --git a/examples/telescope/codegen/cosmos/group/v1/genesis.ts b/examples/telescope/codegen/cosmos/group/v1/genesis.ts index d62e2bd5d..a56366957 100644 --- a/examples/telescope/codegen/cosmos/group/v1/genesis.ts +++ b/examples/telescope/codegen/cosmos/group/v1/genesis.ts @@ -1,6 +1,6 @@ import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the group module's genesis state. */ export interface GenesisState { diff --git a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts index 74f335222..dae3205d7 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts index 59bc35768..27d76df9e 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts @@ -1,49 +1,48 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryGroupInfoRequest): Promise; - /*GroupInfo queries group info based on group id.*/ + /** 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; - /*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; - /*GroupMembers queries members of a group*/ + groupMembers(request: QueryGroupMembersRequest): Promise; + /** GroupsByAdmin queries groups by admin address. */ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - /*GroupsByAdmin queries groups by admin address.*/ + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; + /** GroupPoliciesByGroup queries group policies by group id. */ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - /*GroupPoliciesByGroup queries group policies by group id.*/ + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; + /** GroupsByAdmin queries group policies by admin address. */ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - /*GroupsByAdmin queries group policies by admin address.*/ + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; + /** Proposal queries a proposal based on proposal id. */ - proposal(request: QueryProposalRequest): 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; - /*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; - /*VoteByProposalVoter queries a vote by proposal id and voter.*/ + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; + /** VotesByProposal queries a vote by proposal. */ - votesByProposal(request: QueryVotesByProposalRequest): Promise; - /*VotesByProposal queries a vote by proposal.*/ + votesByProposal(request: QueryVotesByProposalRequest): Promise; + /** VotesByVoter queries a vote by voter. */ - votesByVoter(request: QueryVotesByVoterRequest): Promise; - /*VotesByVoter queries a vote by voter.*/ + votesByVoter(request: QueryVotesByVoterRequest): Promise; + /** GroupsByMember queries groups by member address. */ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - /*GroupsByMember queries groups by member address.*/ - - tallyResult(request: QueryTallyResultRequest): Promise; - /*TallyResult queries the tally of a proposal votes.*/ + groupsByMember(request: QueryGroupsByMemberRequest): Promise; + /** TallyResult queries the tally of a proposal votes. */ + tallyResult(request: QueryTallyResultRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -65,79 +64,79 @@ export class QueryClientImpl implements Query { this.tallyResult = this.tallyResult.bind(this); } - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { const data = QueryGroupInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); } - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { const data = QueryGroupPolicyInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); } - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { const data = QueryGroupMembersRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); } - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { const data = QueryGroupsByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); } - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); } - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); } - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { const data = QueryProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); } - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); } - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { const data = QueryVoteByProposalVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); } - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { const data = QueryVotesByProposalRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); } - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { const data = QueryVotesByVoterRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); } - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { const data = QueryGroupsByMemberRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); } - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { const data = QueryTallyResultRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); @@ -148,55 +147,55 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - groupInfo(request: QueryGroupInfoRequest): Promise { + groupInfo(request: QueryGroupInfoRequest): Promise { return queryService.groupInfo(request); }, - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { return queryService.groupPolicyInfo(request); }, - groupMembers(request: QueryGroupMembersRequest): Promise { + groupMembers(request: QueryGroupMembersRequest): Promise { return queryService.groupMembers(request); }, - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { return queryService.groupsByAdmin(request); }, - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { return queryService.groupPoliciesByGroup(request); }, - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { return queryService.groupPoliciesByAdmin(request); }, - proposal(request: QueryProposalRequest): Promise { + proposal(request: QueryProposalRequest): Promise { return queryService.proposal(request); }, - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { return queryService.proposalsByGroupPolicy(request); }, - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { return queryService.voteByProposalVoter(request); }, - votesByProposal(request: QueryVotesByProposalRequest): Promise { + votesByProposal(request: QueryVotesByProposalRequest): Promise { return queryService.votesByProposal(request); }, - votesByVoter(request: QueryVotesByVoterRequest): Promise { + votesByVoter(request: QueryVotesByVoterRequest): Promise { return queryService.votesByVoter(request); }, - groupsByMember(request: QueryGroupsByMemberRequest): Promise { + groupsByMember(request: QueryGroupsByMemberRequest): Promise { return queryService.groupsByMember(request); }, - tallyResult(request: QueryTallyResultRequest): Promise { + tallyResult(request: QueryTallyResultRequest): Promise { return queryService.tallyResult(request); } diff --git a/examples/telescope/codegen/cosmos/group/v1/query.ts b/examples/telescope/codegen/cosmos/group/v1/query.ts index 19d8454df..88fce471f 100644 --- a/examples/telescope/codegen/cosmos/group/v1/query.ts +++ b/examples/telescope/codegen/cosmos/group/v1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryGroupInfoRequest is the Query/GroupInfo request type. */ export interface QueryGroupInfoRequest { @@ -18,13 +18,13 @@ export interface QueryGroupInfoRequestSDKType { export interface QueryGroupInfoResponse { /** info is the GroupInfo for the group. */ - info: GroupInfo | undefined; + info?: GroupInfo | undefined; } /** QueryGroupInfoResponse is the Query/GroupInfo response type. */ export interface QueryGroupInfoResponseSDKType { /** info is the GroupInfo for the group. */ - info: GroupInfoSDKType | undefined; + info?: GroupInfoSDKType | undefined; } /** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ @@ -42,13 +42,13 @@ export interface QueryGroupPolicyInfoRequestSDKType { export interface QueryGroupPolicyInfoResponse { /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfo | undefined; + info?: GroupPolicyInfo | undefined; } /** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ export interface QueryGroupPolicyInfoResponseSDKType { /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfoSDKType | undefined; + info?: GroupPolicyInfoSDKType | undefined; } /** QueryGroupMembersRequest is the Query/GroupMembers request type. */ @@ -210,13 +210,13 @@ export interface QueryProposalRequestSDKType { export interface QueryProposalResponse { /** proposal is the proposal info. */ - proposal: Proposal | undefined; + proposal?: Proposal | undefined; } /** QueryProposalResponse is the Query/Proposal response type. */ export interface QueryProposalResponseSDKType { /** proposal is the proposal info. */ - proposal: ProposalSDKType | undefined; + proposal?: ProposalSDKType | undefined; } /** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ @@ -276,13 +276,13 @@ export interface QueryVoteByProposalVoterRequestSDKType { export interface QueryVoteByProposalVoterResponse { /** vote is the vote with given proposal_id and voter. */ - vote: Vote | undefined; + vote?: Vote | undefined; } /** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ export interface QueryVoteByProposalVoterResponseSDKType { /** vote is the vote with given proposal_id and voter. */ - vote: VoteSDKType | undefined; + vote?: VoteSDKType | undefined; } /** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ @@ -408,13 +408,13 @@ export interface QueryTallyResultRequestSDKType { export interface QueryTallyResultResponse { /** tally defines the requested tally. */ - tally: TallyResult | undefined; + tally?: TallyResult | undefined; } /** QueryTallyResultResponse is the Query/TallyResult response type. */ export interface QueryTallyResultResponseSDKType { /** tally defines the requested tally. */ - tally: TallyResultSDKType | undefined; + tally?: TallyResultSDKType | undefined; } function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { @@ -477,7 +477,7 @@ export const QueryGroupInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupInfoResponse(); @@ -567,7 +567,7 @@ export const QueryGroupPolicyInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPolicyInfoResponse(); @@ -672,7 +672,7 @@ export const QueryGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupMembersResponse(); @@ -782,7 +782,7 @@ export const QueryGroupsByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByAdminResponse(); @@ -892,7 +892,7 @@ export const QueryGroupPoliciesByGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByGroupResponse(); @@ -1002,7 +1002,7 @@ export const QueryGroupPoliciesByAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupPoliciesByAdminResponse(); @@ -1097,7 +1097,7 @@ export const QueryProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalResponse(); @@ -1202,7 +1202,7 @@ export const QueryProposalsByGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryProposalsByGroupPolicyResponse(); @@ -1307,7 +1307,7 @@ export const QueryVoteByProposalVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVoteByProposalVoterResponse(); @@ -1412,7 +1412,7 @@ export const QueryVotesByProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByProposalResponse(); @@ -1522,7 +1522,7 @@ export const QueryVotesByVoterResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryVotesByVoterResponse(); @@ -1632,7 +1632,7 @@ export const QueryGroupsByMemberResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryGroupsByMemberResponse(); @@ -1727,7 +1727,7 @@ export const QueryTallyResultResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryTallyResultResponse(); diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts index 1b27e619b..fac06b905 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { voteOptionFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export interface AminoMsgCreateGroup extends AminoMsg { type: "cosmos-sdk/MsgCreateGroup"; diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts index df2762267..b921d00c0 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -1,51 +1,50 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateGroup, MsgCreateGroupResponse, MsgCreateGroupResponseSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupMembersResponseSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupAdminResponseSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgUpdateGroupMetadataResponseSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupPolicyResponseSDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgCreateGroupWithPolicyResponseSDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyAdminResponseSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyDecisionPolicyResponseSDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgUpdateGroupPolicyMetadataResponseSDKType, MsgSubmitProposal, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgWithdrawProposalResponseSDKType, MsgVote, MsgVoteResponse, MsgVoteResponseSDKType, MsgExec, MsgExecResponse, MsgExecResponseSDKType, MsgLeaveGroup, MsgLeaveGroupResponse, MsgLeaveGroupResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +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(request: MsgCreateGroup): Promise; - /*CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.*/ + /** 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; - /*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; - /*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; - /*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; - /*CreateGroupPolicy creates a new group policy using given DecisionPolicy.*/ + createGroupPolicy(request: MsgCreateGroupPolicy): Promise; + /** CreateGroupWithPolicy creates a new group with policy. */ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - /*CreateGroupWithPolicy creates a new group with policy.*/ + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; + /** UpdateGroupPolicyAdmin updates a group policy admin. */ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): 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; - /*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; - /*UpdateGroupPolicyMetadata updates a group policy metadata.*/ + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; + /** SubmitProposal submits a new proposal. */ - submitProposal(request: MsgSubmitProposal): Promise; - /*SubmitProposal submits a new proposal.*/ + submitProposal(request: MsgSubmitProposal): Promise; + /** WithdrawProposal aborts a proposal. */ - withdrawProposal(request: MsgWithdrawProposal): Promise; - /*WithdrawProposal aborts a proposal.*/ + withdrawProposal(request: MsgWithdrawProposal): Promise; + /** Vote allows a voter to vote on a proposal. */ - vote(request: MsgVote): Promise; - /*Vote allows a voter to vote on a proposal.*/ + vote(request: MsgVote): Promise; + /** Exec executes a proposal. */ - exec(request: MsgExec): Promise; - /*Exec executes a proposal.*/ - - leaveGroup(request: MsgLeaveGroup): Promise; - /*LeaveGroup allows a group member to leave the group.*/ + exec(request: MsgExec): Promise; + /** LeaveGroup allows a group member to leave the group. */ + leaveGroup(request: MsgLeaveGroup): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -68,85 +67,85 @@ export class MsgClientImpl implements Msg { this.leaveGroup = this.leaveGroup.bind(this); } - createGroup(request: MsgCreateGroup): Promise { + createGroup(request: MsgCreateGroup): Promise { const data = MsgCreateGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); } - updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { const data = MsgUpdateGroupMembers.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); } - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { const data = MsgUpdateGroupAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); } - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { const data = MsgUpdateGroupMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); } - createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { const data = MsgCreateGroupPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); } - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { const data = MsgCreateGroupWithPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); } - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); } - submitProposal(request: MsgSubmitProposal): Promise { + submitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); } - withdrawProposal(request: MsgWithdrawProposal): Promise { + withdrawProposal(request: MsgWithdrawProposal): Promise { const data = MsgWithdrawProposal.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); } - vote(request: MsgVote): Promise { + vote(request: MsgVote): Promise { const data = MsgVote.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); } - exec(request: MsgExec): Promise { + exec(request: MsgExec): Promise { const data = MsgExec.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); } - leaveGroup(request: MsgLeaveGroup): Promise { + leaveGroup(request: MsgLeaveGroup): Promise { const data = MsgLeaveGroup.encode(request).finish(); const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.ts b/examples/telescope/codegen/cosmos/group/v1/tx.ts index cadea4ca7..6cb023bcd 100644 --- a/examples/telescope/codegen/cosmos/group/v1/tx.ts +++ b/examples/telescope/codegen/cosmos/group/v1/tx.ts @@ -1,7 +1,7 @@ import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ export enum Exec { @@ -62,8 +62,9 @@ export function execToJSON(object: Exec): string { case Exec.EXEC_TRY: return "EXEC_TRY"; + case Exec.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** MsgCreateGroup is the Msg/CreateGroup request type. */ @@ -211,7 +212,7 @@ export interface MsgCreateGroupPolicy { metadata: string; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ @@ -226,7 +227,7 @@ export interface MsgCreateGroupPolicySDKType { metadata: string; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ @@ -283,7 +284,7 @@ export interface MsgCreateGroupWithPolicy { groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ @@ -304,7 +305,7 @@ export interface MsgCreateGroupWithPolicySDKType { group_policy_as_admin: boolean; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ @@ -340,7 +341,7 @@ export interface MsgUpdateGroupPolicyDecisionPolicy { address: string; /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; } /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ @@ -352,7 +353,7 @@ export interface MsgUpdateGroupPolicyDecisionPolicySDKType { address: string; /** decision_policy is the updated group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; } /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ @@ -653,7 +654,7 @@ export const MsgCreateGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupResponse(); @@ -757,7 +758,7 @@ export const MsgUpdateGroupMembersResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMembersResponse(); @@ -856,7 +857,7 @@ export const MsgUpdateGroupAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupAdminResponse(); @@ -955,7 +956,7 @@ export const MsgUpdateGroupMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupMetadataResponse(); @@ -1070,7 +1071,7 @@ export const MsgCreateGroupPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupPolicyResponse(); @@ -1280,7 +1281,7 @@ export const MsgCreateGroupWithPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateGroupWithPolicyResponse(); @@ -1324,7 +1325,7 @@ export const MsgUpdateGroupPolicyAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyAdminResponse(); @@ -1423,7 +1424,7 @@ export const MsgUpdateGroupPolicyDecisionPolicyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); @@ -1522,7 +1523,7 @@ export const MsgUpdateGroupPolicyMetadataResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); @@ -1647,7 +1648,7 @@ export const MsgSubmitProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitProposalResponse(); @@ -1741,7 +1742,7 @@ export const MsgWithdrawProposalResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgWithdrawProposalResponse(); @@ -1860,7 +1861,7 @@ export const MsgVoteResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgVoteResponse(); @@ -1949,7 +1950,7 @@ export const MsgExecResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecResponse(); @@ -2038,7 +2039,7 @@ export const MsgLeaveGroupResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgLeaveGroupResponse(); diff --git a/examples/telescope/codegen/cosmos/group/v1/types.ts b/examples/telescope/codegen/cosmos/group/v1/types.ts index 964408286..0e21e943d 100644 --- a/examples/telescope/codegen/cosmos/group/v1/types.ts +++ b/examples/telescope/codegen/cosmos/group/v1/types.ts @@ -2,7 +2,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given proposal. */ export enum VoteOption { @@ -86,8 +86,9 @@ export function voteOptionToJSON(object: VoteOption): string { case VoteOption.VOTE_OPTION_NO_WITH_VETO: return "VOTE_OPTION_NO_WITH_VETO"; + case VoteOption.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalStatus defines proposal statuses. */ @@ -179,8 +180,9 @@ export function proposalStatusToJSON(object: ProposalStatus): string { case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: return "PROPOSAL_STATUS_WITHDRAWN"; + case ProposalStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalResult defines types of proposal results. */ @@ -253,8 +255,9 @@ export function proposalResultToJSON(object: ProposalResult): string { case ProposalResult.PROPOSAL_RESULT_REJECTED: return "PROPOSAL_RESULT_REJECTED"; + case ProposalResult.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ProposalExecutorResult defines types of proposal executor results. */ @@ -327,8 +330,9 @@ export function proposalExecutorResultToJSON(object: ProposalExecutorResult): st case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; + case ProposalExecutorResult.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -347,7 +351,7 @@ export interface Member { metadata: string; /** added_at is a timestamp specifying when a member was added. */ - addedAt: Date | undefined; + addedAt?: Date | undefined; } /** * Member represents a group member with an account address, @@ -365,7 +369,7 @@ export interface MemberSDKType { metadata: string; /** added_at is a timestamp specifying when a member was added. */ - added_at: Date | undefined; + added_at?: Date | undefined; } /** Members defines a repeated slice of Member objects. */ @@ -386,7 +390,7 @@ export interface ThresholdDecisionPolicy { threshold: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows | undefined; + windows?: DecisionPolicyWindows | undefined; } /** ThresholdDecisionPolicy implements the DecisionPolicy interface */ @@ -395,7 +399,7 @@ export interface ThresholdDecisionPolicySDKType { threshold: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindowsSDKType | undefined; + windows?: DecisionPolicyWindowsSDKType | undefined; } /** PercentageDecisionPolicy implements the DecisionPolicy interface */ @@ -404,7 +408,7 @@ export interface PercentageDecisionPolicy { percentage: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows | undefined; + windows?: DecisionPolicyWindows | undefined; } /** PercentageDecisionPolicy implements the DecisionPolicy interface */ @@ -413,7 +417,7 @@ export interface PercentageDecisionPolicySDKType { percentage: string; /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindowsSDKType | undefined; + windows?: DecisionPolicyWindowsSDKType | undefined; } /** DecisionPolicyWindows defines the different windows for voting and execution. */ @@ -422,7 +426,7 @@ 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 | undefined; + votingPeriod?: Duration | undefined; /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -437,7 +441,7 @@ export interface DecisionPolicyWindows { * won't be able to be executed. */ - minExecutionPeriod: Duration | undefined; + minExecutionPeriod?: Duration | undefined; } /** DecisionPolicyWindows defines the different windows for voting and execution. */ @@ -446,7 +450,7 @@ export interface DecisionPolicyWindowsSDKType { * 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: DurationSDKType | undefined; + voting_period?: DurationSDKType | undefined; /** * min_execution_period is the minimum duration after the proposal submission * where members can start sending MsgExec. This means that the window for @@ -461,7 +465,7 @@ export interface DecisionPolicyWindowsSDKType { * won't be able to be executed. */ - min_execution_period: DurationSDKType | undefined; + min_execution_period?: DurationSDKType | undefined; } /** GroupInfo represents the high-level on-chain information for a group. */ @@ -487,7 +491,7 @@ export interface GroupInfo { totalWeight: string; /** created_at is a timestamp specifying when a group was created. */ - createdAt: Date | undefined; + createdAt?: Date | undefined; } /** GroupInfo represents the high-level on-chain information for a group. */ @@ -513,7 +517,7 @@ export interface GroupInfoSDKType { total_weight: string; /** created_at is a timestamp specifying when a group was created. */ - created_at: Date | undefined; + created_at?: Date | undefined; } /** GroupMember represents the relationship between a group and a member. */ @@ -522,7 +526,7 @@ export interface GroupMember { groupId: Long; /** member is the member data. */ - member: Member | undefined; + member?: Member | undefined; } /** GroupMember represents the relationship between a group and a member. */ @@ -531,7 +535,7 @@ export interface GroupMemberSDKType { group_id: Long; /** member is the member data. */ - member: MemberSDKType | undefined; + member?: MemberSDKType | undefined; } /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ @@ -555,10 +559,10 @@ export interface GroupPolicyInfo { version: Long; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: Any | undefined; + decisionPolicy?: Any | undefined; /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Date | undefined; + createdAt?: Date | undefined; } /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ @@ -582,10 +586,10 @@ export interface GroupPolicyInfoSDKType { version: Long; /** decision_policy specifies the group policy's decision policy. */ - decision_policy: AnySDKType | undefined; + decision_policy?: AnySDKType | undefined; /** created_at is a timestamp specifying when a group policy was created. */ - created_at: Date | undefined; + created_at?: Date | undefined; } /** * Proposal defines a group proposal. Any member of a group can submit a proposal @@ -608,7 +612,7 @@ export interface Proposal { proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date | undefined; + submitTime?: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. @@ -637,7 +641,7 @@ export interface Proposal { * has ended. */ - finalTallyResult: TallyResult | undefined; + finalTallyResult?: TallyResult | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -646,7 +650,7 @@ export interface Proposal { * as `status` and `result` fields will be accordingly updated. */ - votingPeriodEnd: Date | undefined; + votingPeriodEnd?: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ executorResult: ProposalExecutorResult; @@ -675,7 +679,7 @@ export interface ProposalSDKType { proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submit_time: Date | undefined; + submit_time?: Date | undefined; /** * group_version tracks the version of the group that this proposal corresponds to. * When group membership is changed, existing proposals from previous group versions will become invalid. @@ -704,7 +708,7 @@ export interface ProposalSDKType { * has ended. */ - final_tally_result: TallyResultSDKType | undefined; + final_tally_result?: TallyResultSDKType | undefined; /** * voting_period_end is the timestamp before which voting must be done. * Unless a successfull MsgExec is called before (to execute a proposal whose @@ -713,7 +717,7 @@ export interface ProposalSDKType { * as `status` and `result` fields will be accordingly updated. */ - voting_period_end: Date | undefined; + voting_period_end?: Date | undefined; /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ executor_result: ProposalExecutorResultSDKType; @@ -767,7 +771,7 @@ export interface Vote { metadata: string; /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Date | undefined; + submitTime?: Date | undefined; } /** Vote represents a vote for a proposal. */ @@ -785,7 +789,7 @@ export interface VoteSDKType { metadata: string; /** submit_time is the timestamp when the vote was submitted. */ - submit_time: Date | undefined; + submit_time?: Date | undefined; } function createBaseMember(): Member { @@ -1066,8 +1070,8 @@ export const DecisionPolicyWindows = { fromPartial(object: Partial): DecisionPolicyWindows { const message = createBaseDecisionPolicyWindows(); - message.votingPeriod = object.votingPeriod ?? undefined; - message.minExecutionPeriod = object.minExecutionPeriod ?? undefined; + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; + message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined; return message; } diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts index 7466eca80..adfdc59fb 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts @@ -4,19 +4,19 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** minter is a space for holding current inflation information. */ - minter: Minter | undefined; + minter?: Minter | undefined; /** params defines all the paramaters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the mint module's genesis state. */ export interface GenesisStateSDKType { /** minter is a space for holding current inflation information. */ - minter: MinterSDKType | undefined; + minter?: MinterSDKType | undefined; /** params defines all the paramaters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts index 751636d08..a51bb9df2 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Minter represents the minting state. */ export interface Minter { diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts index 0ea42b140..4e7ca73e5 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; +/** Query provides defines the gRPC querier service. */ export interface Query { - params(request?: QueryParamsRequest): Promise; - /*Params returns the total set of minting parameters.*/ + /** Params returns the total set of minting parameters. */ + params(request?: QueryParamsRequest): Promise; + /** Inflation returns the current minting inflation value. */ - inflation(request?: QueryInflationRequest): Promise; - /*Inflation returns the current minting inflation value.*/ - - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; - /*AnnualProvisions current minting annual provisions value.*/ + inflation(request?: QueryInflationRequest): Promise; + /** AnnualProvisions current minting annual provisions value. */ + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,19 +24,19 @@ export class QueryClientImpl implements Query { this.annualProvisions = this.annualProvisions.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - inflation(request: QueryInflationRequest = {}): Promise { + inflation(request: QueryInflationRequest = {}): Promise { const data = QueryInflationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); } - annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { + annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { const data = QueryAnnualProvisionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); @@ -48,15 +47,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - inflation(request?: QueryInflationRequest): Promise { + inflation(request?: QueryInflationRequest): Promise { return queryService.inflation(request); }, - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { return queryService.annualProvisions(request); } diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts index 988f2d832..789baf002 100644 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts @@ -10,13 +10,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ @@ -122,7 +122,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -201,7 +201,7 @@ export const QueryInflationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryInflationResponse(); @@ -280,7 +280,7 @@ export const QueryAnnualProvisionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAnnualProvisionsResponse(); diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts index fc0693d1d..930b93118 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts @@ -22,7 +22,7 @@ export interface Class { uriHash: string; /** data is the app specific metadata of the NFT class. Optional */ - data: Any | undefined; + data?: Any | undefined; } /** Class defines the class of the nft type. */ @@ -46,7 +46,7 @@ export interface ClassSDKType { uri_hash: string; /** data is the app specific metadata of the NFT class. Optional */ - data: AnySDKType | undefined; + data?: AnySDKType | undefined; } /** NFT defines the NFT. */ @@ -64,7 +64,7 @@ export interface NFT { uriHash: string; /** data is an app specific data of the NFT. Optional */ - data: Any | undefined; + data?: Any | undefined; } /** NFT defines the NFT. */ @@ -82,7 +82,7 @@ export interface NFTSDKType { uri_hash: string; /** data is an app specific data of the NFT. Optional */ - data: AnySDKType | undefined; + data?: AnySDKType | undefined; } function createBaseClass(): Class { diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts index 1cbb51ba4..ca3a1dc1e 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; export class LCDQueryClient { @@ -40,7 +40,7 @@ export class LCDQueryClient { 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 */ + ERC721Enumerable */ async nFTs(params: QueryNFTsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts index e27a47468..72e638152 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts @@ -1,32 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryBalanceRequest): Promise; - /*Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721*/ + /** 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; - /*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; - /*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; - /*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; - /*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; - /*Class queries an NFT class based on its id*/ - - classes(request?: QueryClassesRequest): Promise; - /*Classes queries all NFT classes*/ + class(request: QueryClassRequest): Promise; + /** Classes queries all NFT classes */ + classes(request?: QueryClassesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -42,37 +43,37 @@ export class QueryClientImpl implements Query { this.classes = this.classes.bind(this); } - balance(request: QueryBalanceRequest): Promise { + 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 _m0.Reader(data))); } - owner(request: QueryOwnerRequest): Promise { + 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 _m0.Reader(data))); } - supply(request: QuerySupplyRequest): Promise { + 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 _m0.Reader(data))); } - nFTs(request: QueryNFTsRequest): Promise { + 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 _m0.Reader(data))); } - nFT(request: QueryNFTRequest): Promise { + 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 _m0.Reader(data))); } - class(request: QueryClassRequest): Promise { + 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 _m0.Reader(data))); @@ -80,7 +81,7 @@ export class QueryClientImpl implements Query { classes(request: QueryClassesRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -91,31 +92,31 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - balance(request: QueryBalanceRequest): Promise { + balance(request: QueryBalanceRequest): Promise { return queryService.balance(request); }, - owner(request: QueryOwnerRequest): Promise { + owner(request: QueryOwnerRequest): Promise { return queryService.owner(request); }, - supply(request: QuerySupplyRequest): Promise { + supply(request: QuerySupplyRequest): Promise { return queryService.supply(request); }, - nFTs(request: QueryNFTsRequest): Promise { + nFTs(request: QueryNFTsRequest): Promise { return queryService.nFTs(request); }, - nFT(request: QueryNFTRequest): Promise { + nFT(request: QueryNFTRequest): Promise { return queryService.nFT(request); }, - class(request: QueryClassRequest): Promise { + class(request: QueryClassRequest): Promise { return queryService.class(request); }, - classes(request?: QueryClassesRequest): Promise { + classes(request?: QueryClassesRequest): Promise { return queryService.classes(request); } diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts index 1ac38a5b5..8f79fa88b 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method */ export interface QueryBalanceRequest { @@ -69,15 +69,15 @@ export interface QuerySupplyResponseSDKType { /** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ export interface QueryNFTsRequest { - classId?: string; - owner?: string; + classId: string; + owner: string; pagination?: PageRequest | undefined; } /** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ export interface QueryNFTsRequestSDKType { - class_id?: string; - owner?: string; + class_id: string; + owner: string; pagination?: PageRequestSDKType | undefined; } /** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ @@ -107,12 +107,12 @@ export interface QueryNFTRequestSDKType { /** QueryNFTResponse is the response type for the Query/NFT RPC method */ export interface QueryNFTResponse { - nft: NFT | undefined; + nft?: NFT | undefined; } /** QueryNFTResponse is the response type for the Query/NFT RPC method */ export interface QueryNFTResponseSDKType { - nft: NFTSDKType | undefined; + nft?: NFTSDKType | undefined; } /** QueryClassRequest is the request type for the Query/Class RPC method */ @@ -127,12 +127,12 @@ export interface QueryClassRequestSDKType { /** QueryClassResponse is the response type for the Query/Class RPC method */ export interface QueryClassResponse { - class: Class | undefined; + class?: Class | undefined; } /** QueryClassResponse is the response type for the Query/Class RPC method */ export interface QueryClassResponseSDKType { - class: ClassSDKType | undefined; + class?: ClassSDKType | undefined; } /** QueryClassesRequest is the request type for the Query/Classes RPC method */ @@ -229,7 +229,7 @@ export const QueryBalanceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryBalanceResponse(); @@ -329,7 +329,7 @@ export const QueryOwnerResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryOwnerResponse(); @@ -419,7 +419,7 @@ export const QuerySupplyResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySupplyResponse(); @@ -534,7 +534,7 @@ export const QueryNFTsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTsResponse(); @@ -639,7 +639,7 @@ export const QueryNFTResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNFTResponse(); @@ -729,7 +729,7 @@ export const QueryClassResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassResponse(); @@ -824,7 +824,7 @@ export const QueryClassesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClassesResponse(); diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts index 1684544b3..b6ad14c77 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSend, MsgSendResponse, MsgSendResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSend, MsgSendResponse } from "./tx"; +/** Msg defines the nft Msg service. */ export interface Msg { - send(request: MsgSend): Promise; - /*Send defines a method to send a nft from one account to another account.*/ - + /** 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; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.send = this.send.bind(this); } - send(request: MsgSend): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts index 488810e3f..987f40d85 100644 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts @@ -120,7 +120,7 @@ export const MsgSendResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSendResponse(); diff --git a/examples/telescope/codegen/cosmos/orm/v1/orm.ts b/examples/telescope/codegen/cosmos/orm/v1/orm.ts index 8565532ca..7b2a45d0a 100644 --- a/examples/telescope/codegen/cosmos/orm/v1/orm.ts +++ b/examples/telescope/codegen/cosmos/orm/v1/orm.ts @@ -3,7 +3,7 @@ import * as _m0 from "protobufjs/minimal"; export interface TableDescriptor { /** primary_key defines the primary key for the table. */ - primaryKey: PrimaryKeyDescriptor | undefined; + primaryKey?: PrimaryKeyDescriptor | undefined; /** index defines one or more secondary indexes. */ index: SecondaryIndexDescriptor[]; @@ -19,7 +19,7 @@ export interface TableDescriptor { export interface TableDescriptorSDKType { /** primary_key defines the primary key for the table. */ - primary_key: PrimaryKeyDescriptorSDKType | undefined; + primary_key?: PrimaryKeyDescriptorSDKType | undefined; /** index defines one or more secondary indexes. */ index: SecondaryIndexDescriptorSDKType[]; @@ -38,27 +38,27 @@ 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. + * - 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. @@ -82,27 +82,27 @@ export interface PrimaryKeyDescriptorSDKType { * 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. + * - 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. diff --git a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts index a32fcdec3..f2ea65fc1 100644 --- a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts +++ b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts @@ -140,8 +140,9 @@ export function storageTypeToJSON(object: StorageType): string { case StorageType.STORAGE_TYPE_COMMITMENT: return "STORAGE_TYPE_COMMITMENT"; + case StorageType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ModuleSchemaDescriptor describe's a module's ORM schema. */ diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts index d165cf20d..7feab29f6 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -13,7 +13,7 @@ export class LCDQueryClient { this.subspaces = this.subspaces.bind(this); } /* Params queries a specific parameter of a module, given its subspace and - key. */ + key. */ async params(params: QueryParamsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts index 0fa154d26..4f5055144 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts @@ -1,17 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; +/** Query defines the gRPC querier service. */ export interface Query { - params(request: QueryParamsRequest): Promise; - /*Params queries a specific parameter of a module, given its subspace and - key.*/ - - subspaces(request?: QuerySubspacesRequest): Promise; - /*Subspaces queries for all registered subspaces and all keys for a subspace.*/ - + /** + * 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. */ + + subspaces(request?: QuerySubspacesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -22,13 +23,13 @@ export class QueryClientImpl implements Query { this.subspaces = this.subspaces.bind(this); } - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); } - subspaces(request: QuerySubspacesRequest = {}): Promise { + subspaces(request: QuerySubspacesRequest = {}): Promise { const data = QuerySubspacesRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); @@ -39,11 +40,11 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request: QueryParamsRequest): Promise { + params(request: QueryParamsRequest): Promise { return queryService.params(request); }, - subspaces(request?: QuerySubspacesRequest): Promise { + subspaces(request?: QuerySubspacesRequest): Promise { return queryService.subspaces(request); } diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts index d4ec37fbb..1a6dcf007 100644 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts @@ -22,13 +22,13 @@ export interface QueryParamsRequestSDKType { export interface QueryParamsResponse { /** param defines the queried parameter. */ - param: ParamChange | undefined; + param?: ParamChange | undefined; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** param defines the queried parameter. */ - param: ParamChangeSDKType | undefined; + param?: ParamChangeSDKType | undefined; } /** * QuerySubspacesRequest defines a request type for querying for all registered @@ -147,7 +147,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -226,7 +226,7 @@ export const QuerySubspacesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySubspacesResponse(); diff --git a/examples/telescope/codegen/cosmos/rpc.tx.ts b/examples/telescope/codegen/cosmos/rpc.tx.ts index e2598af91..3a4dbf9b6 100644 --- a/examples/telescope/codegen/cosmos/rpc.tx.ts +++ b/examples/telescope/codegen/cosmos/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts index bcdfead42..bd1a477cd 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -1,11 +1,11 @@ import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; + params?: Params | undefined; /** * signing_infos represents a map between validator addresses and their * signing infos. @@ -23,7 +23,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of related to deposit. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** * signing_infos represents a map between validator addresses and their * signing infos. @@ -44,7 +44,7 @@ export interface SigningInfo { address: string; /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo | undefined; + validatorSigningInfo?: ValidatorSigningInfo | undefined; } /** SigningInfo stores validator signing info of corresponding address. */ @@ -53,7 +53,7 @@ export interface SigningInfoSDKType { address: string; /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info: ValidatorSigningInfoSDKType | undefined; + validator_signing_info?: ValidatorSigningInfoSDKType | undefined; } /** * ValidatorMissedBlocks contains array of missed blocks of corresponding diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts index cb3b9ffdc..346fd6cc7 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts index 3dc1d6580..94cb5ce46 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - params(request?: QueryParamsRequest): Promise; - /*Params queries the parameters of slashing module*/ + /** Params queries the parameters of slashing module */ + params(request?: QueryParamsRequest): Promise; + /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /*SigningInfo queries the signing info of given cons address*/ - - signingInfos(request?: QuerySigningInfosRequest): Promise; - /*SigningInfos queries signing info of all validators*/ + signingInfo(request: QuerySigningInfoRequest): Promise; + /** SigningInfos queries signing info of all validators */ + signingInfos(request?: QuerySigningInfosRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,13 +24,13 @@ export class QueryClientImpl implements Query { this.signingInfos = this.signingInfos.bind(this); } - params(request: QueryParamsRequest = {}): Promise { + 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 _m0.Reader(data))); } - signingInfo(request: QuerySigningInfoRequest): Promise { + 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 _m0.Reader(data))); @@ -39,7 +38,7 @@ export class QueryClientImpl implements Query { signingInfos(request: QuerySigningInfosRequest = { pagination: undefined - }): Promise { + }): 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 _m0.Reader(data))); @@ -50,15 +49,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); }, - signingInfo(request: QuerySigningInfoRequest): Promise { + signingInfo(request: QuerySigningInfoRequest): Promise { return queryService.signingInfo(request); }, - signingInfos(request?: QuerySigningInfosRequest): Promise { + signingInfos(request?: QuerySigningInfosRequest): Promise { return queryService.signingInfos(request); } diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts index 21bd49c73..be9c60846 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts @@ -10,12 +10,12 @@ export interface QueryParamsRequestSDKType {} /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponse { - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC @@ -42,7 +42,7 @@ export interface QuerySigningInfoRequestSDKType { export interface QuerySigningInfoResponse { /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo | undefined; + valSigningInfo?: ValidatorSigningInfo | undefined; } /** * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC @@ -51,7 +51,7 @@ export interface QuerySigningInfoResponse { export interface QuerySigningInfoResponseSDKType { /** val_signing_info is the signing info of requested val cons address */ - val_signing_info: ValidatorSigningInfoSDKType | undefined; + val_signing_info?: ValidatorSigningInfoSDKType | undefined; } /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC @@ -139,7 +139,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); @@ -229,7 +229,7 @@ export const QuerySigningInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfoResponse(); @@ -324,7 +324,7 @@ export const QuerySigningInfosResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySigningInfosResponse(); diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts index 13afa0fff..19f85cb6d 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -1,7 +1,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; /** * ValidatorSigningInfo defines a validator's signing info for monitoring their * liveness activity. @@ -21,7 +21,7 @@ export interface ValidatorSigningInfo { indexOffset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date | undefined; + jailedUntil?: Date | undefined; /** * 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. @@ -54,7 +54,7 @@ export interface ValidatorSigningInfoSDKType { index_offset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until: Date | undefined; + jailed_until?: Date | undefined; /** * 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. @@ -73,7 +73,7 @@ export interface ValidatorSigningInfoSDKType { export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration | undefined; + downtimeJailDuration?: Duration | undefined; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } @@ -82,7 +82,7 @@ export interface Params { export interface ParamsSDKType { signed_blocks_window: Long; min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType | undefined; + downtime_jail_duration?: DurationSDKType | undefined; slash_fraction_double_sign: Uint8Array; slash_fraction_downtime: Uint8Array; } @@ -259,7 +259,7 @@ export const Params = { const message = createBaseParams(); message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); - message.downtimeJailDuration = object.downtimeJailDuration ?? undefined; + 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; diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts index bdc0ffa55..622712b3e 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -1,14 +1,15 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgUnjail, MsgUnjailResponse, MsgUnjailResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgUnjail, MsgUnjailResponse } from "./tx"; +/** Msg defines the slashing Msg service. */ export interface Msg { - unjail(request: MsgUnjail): Promise; - /*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 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; @@ -18,7 +19,7 @@ export class MsgClientImpl implements Msg { this.unjail = this.unjail.bind(this); } - unjail(request: MsgUnjail): Promise { + 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 _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts index 5e0acc0e1..ca80962f5 100644 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts @@ -70,7 +70,7 @@ export const MsgUnjailResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUnjailResponse(); diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts index 4066c7a4c..e6a9c9e05 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts @@ -78,8 +78,9 @@ export function authorizationTypeToJSON(object: AuthorizationType): string { case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: return "AUTHORIZATION_TYPE_REDELEGATE"; + case AuthorizationType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -93,7 +94,7 @@ export interface StakeAuthorization { * 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 | undefined; + maxTokens?: Coin | undefined; /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. @@ -118,7 +119,7 @@ export interface StakeAuthorizationSDKType { * 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: CoinSDKType | undefined; + max_tokens?: CoinSDKType | undefined; /** * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's * account. diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts index 073f7a091..6d48e920a 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts @@ -1,11 +1,11 @@ import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState defines the staking module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; + params?: Params | undefined; /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. @@ -36,7 +36,7 @@ export interface GenesisState { export interface GenesisStateSDKType { /** params defines all the paramaters of related to deposit. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** * last_total_power tracks the total amounts of bonded tokens recorded during * the previous end block. diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts index 977869717..7507dc0ae 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; 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 class LCDQueryClient { @@ -89,7 +89,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* UnbondingDelegation queries unbonding info for given validator delegator - pair. */ + pair. */ async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { @@ -112,7 +112,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address. */ + delegator address. */ async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { @@ -151,7 +151,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorValidators queries all validators info for given delegator - address. */ + address. */ async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { @@ -167,7 +167,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* DelegatorValidator queries validator info for given delegator validator - pair. */ + pair. */ async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts index 5486046f0..550f592fe 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts @@ -1,56 +1,63 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +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(request: QueryValidatorsRequest): Promise; - /*Validators queries all validators that match the given status.*/ + /** 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; - /*Validator queries validator info for given validator address.*/ + validator(request: QueryValidatorRequest): Promise; + /** ValidatorDelegations queries delegate info for given validator. */ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - /*ValidatorDelegations queries delegate info for given validator.*/ + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; + /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): 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; - /*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; - /*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; - /*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; - /*DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address.*/ + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; + /** Redelegations queries redelegations of given address. */ - redelegations(request: QueryRedelegationsRequest): Promise; - /*Redelegations queries redelegations of given address.*/ + redelegations(request: QueryRedelegationsRequest): Promise; + /** + * DelegatorValidators queries all validators info for given delegator + * address. + */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): 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; - /*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; - /*HistoricalInfo queries the historical info for given height.*/ + historicalInfo(request: QueryHistoricalInfoRequest): Promise; + /** Pool queries the pool info. */ - pool(request?: QueryPoolRequest): Promise; - /*Pool queries the pool info.*/ - - params(request?: QueryParamsRequest): Promise; - /*Parameters queries the staking parameters.*/ + pool(request?: QueryPoolRequest): Promise; + /** Parameters queries the staking parameters. */ + params(request?: QueryParamsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -73,85 +80,85 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { const data = QueryValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); } - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { const data = QueryValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); } - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { const data = QueryValidatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); } - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { const data = QueryDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); } - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { const data = QueryUnbondingDelegationRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); } - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { const data = QueryDelegatorDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); } - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); } - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { const data = QueryRedelegationsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); } - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { const data = QueryDelegatorValidatorsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); } - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { const data = QueryDelegatorValidatorRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); } - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { const data = QueryHistoricalInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); } - pool(request: QueryPoolRequest = {}): Promise { + pool(request: QueryPoolRequest = {}): Promise { const data = QueryPoolRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); @@ -162,59 +169,59 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - validators(request: QueryValidatorsRequest): Promise { + validators(request: QueryValidatorsRequest): Promise { return queryService.validators(request); }, - validator(request: QueryValidatorRequest): Promise { + validator(request: QueryValidatorRequest): Promise { return queryService.validator(request); }, - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { return queryService.validatorDelegations(request); }, - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { return queryService.validatorUnbondingDelegations(request); }, - delegation(request: QueryDelegationRequest): Promise { + delegation(request: QueryDelegationRequest): Promise { return queryService.delegation(request); }, - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { return queryService.unbondingDelegation(request); }, - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { return queryService.delegatorDelegations(request); }, - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { return queryService.delegatorUnbondingDelegations(request); }, - redelegations(request: QueryRedelegationsRequest): Promise { + redelegations(request: QueryRedelegationsRequest): Promise { return queryService.redelegations(request); }, - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { return queryService.delegatorValidators(request); }, - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { return queryService.delegatorValidator(request); }, - historicalInfo(request: QueryHistoricalInfoRequest): Promise { + historicalInfo(request: QueryHistoricalInfoRequest): Promise { return queryService.historicalInfo(request); }, - pool(request?: QueryPoolRequest): Promise { + pool(request?: QueryPoolRequest): Promise { return queryService.pool(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); } diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts index 6d4207a00..7585d5ff7 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts @@ -1,12 +1,12 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ - status?: string; + status: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -15,7 +15,7 @@ export interface QueryValidatorsRequest { export interface QueryValidatorsRequestSDKType { /** status enables to query for validators matching a given status. */ - status?: string; + status: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -54,13 +54,13 @@ export interface QueryValidatorRequestSDKType { export interface QueryValidatorResponse { /** validator defines the the validator info. */ - validator: Validator | undefined; + validator?: Validator | undefined; } /** QueryValidatorResponse is response type for the Query/Validator RPC method */ export interface QueryValidatorResponseSDKType { /** validator defines the the validator info. */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; } /** * QueryValidatorDelegationsRequest is request type for the @@ -176,13 +176,13 @@ export interface QueryDelegationRequestSDKType { export interface QueryDelegationResponse { /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse: DelegationResponse | undefined; + delegationResponse?: DelegationResponse | undefined; } /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ export interface QueryDelegationResponseSDKType { /** delegation_responses defines the delegation info of a delegation. */ - delegation_response: DelegationResponseSDKType | undefined; + delegation_response?: DelegationResponseSDKType | undefined; } /** * QueryUnbondingDelegationRequest is request type for the @@ -215,7 +215,7 @@ export interface QueryUnbondingDelegationRequestSDKType { export interface QueryUnbondingDelegationResponse { /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegation | undefined; + unbond?: UnbondingDelegation | undefined; } /** * QueryDelegationResponse is response type for the Query/UnbondingDelegation @@ -224,7 +224,7 @@ export interface QueryUnbondingDelegationResponse { export interface QueryUnbondingDelegationResponseSDKType { /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegationSDKType | undefined; + unbond?: UnbondingDelegationSDKType | undefined; } /** * QueryDelegatorDelegationsRequest is request type for the @@ -330,10 +330,10 @@ export interface QueryRedelegationsRequest { delegatorAddr: string; /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr?: string; + srcValidatorAddr: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr?: string; + dstValidatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest | undefined; @@ -348,10 +348,10 @@ export interface QueryRedelegationsRequestSDKType { delegator_addr: string; /** src_validator_addr defines the validator address to redelegate from. */ - src_validator_addr?: string; + src_validator_addr: string; /** dst_validator_addr defines the validator address to redelegate to. */ - dst_validator_addr?: string; + dst_validator_addr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType | undefined; @@ -457,7 +457,7 @@ export interface QueryDelegatorValidatorRequestSDKType { export interface QueryDelegatorValidatorResponse { /** validator defines the the validator info. */ - validator: Validator | undefined; + validator?: Validator | undefined; } /** * QueryDelegatorValidatorResponse response type for the @@ -466,7 +466,7 @@ export interface QueryDelegatorValidatorResponse { export interface QueryDelegatorValidatorResponseSDKType { /** validator defines the the validator info. */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; } /** * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC @@ -493,7 +493,7 @@ export interface QueryHistoricalInfoRequestSDKType { export interface QueryHistoricalInfoResponse { /** hist defines the historical info at the given height. */ - hist: HistoricalInfo | undefined; + hist?: HistoricalInfo | undefined; } /** * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC @@ -502,7 +502,7 @@ export interface QueryHistoricalInfoResponse { export interface QueryHistoricalInfoResponseSDKType { /** hist defines the historical info at the given height. */ - hist: HistoricalInfoSDKType | undefined; + hist?: HistoricalInfoSDKType | undefined; } /** QueryPoolRequest is request type for the Query/Pool RPC method. */ @@ -514,13 +514,13 @@ export interface QueryPoolRequestSDKType {} export interface QueryPoolResponse { /** pool defines the pool info. */ - pool: Pool | undefined; + pool?: Pool | undefined; } /** QueryPoolResponse is response type for the Query/Pool RPC method. */ export interface QueryPoolResponseSDKType { /** pool defines the pool info. */ - pool: PoolSDKType | undefined; + pool?: PoolSDKType | undefined; } /** QueryParamsRequest is request type for the Query/Params RPC method. */ @@ -532,13 +532,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params holds all the parameters of this module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params holds all the parameters of this module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { @@ -616,7 +616,7 @@ export const QueryValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorsResponse(); @@ -711,7 +711,7 @@ export const QueryValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorResponse(); @@ -816,7 +816,7 @@ export const QueryValidatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorDelegationsResponse(); @@ -926,7 +926,7 @@ export const QueryValidatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryValidatorUnbondingDelegationsResponse(); @@ -1031,7 +1031,7 @@ export const QueryDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegationResponse(); @@ -1131,7 +1131,7 @@ export const QueryUnbondingDelegationResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnbondingDelegationResponse(); @@ -1236,7 +1236,7 @@ export const QueryDelegatorDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorDelegationsResponse(); @@ -1346,7 +1346,7 @@ export const QueryDelegatorUnbondingDelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); @@ -1476,7 +1476,7 @@ export const QueryRedelegationsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRedelegationsResponse(); @@ -1586,7 +1586,7 @@ export const QueryDelegatorValidatorsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorsResponse(); @@ -1691,7 +1691,7 @@ export const QueryDelegatorValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDelegatorValidatorResponse(); @@ -1781,7 +1781,7 @@ export const QueryHistoricalInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryHistoricalInfoResponse(); @@ -1860,7 +1860,7 @@ export const QueryPoolResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPoolResponse(); @@ -1939,7 +1939,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts index 7ec7dcd88..7bce26a77 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts @@ -4,7 +4,7 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** BondStatus is the status of a validator. */ export enum BondStatus { @@ -75,8 +75,9 @@ export function bondStatusToJSON(object: BondStatus): string { case BondStatus.BOND_STATUS_BONDED: return "BOND_STATUS_BONDED"; + case BondStatus.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -87,7 +88,7 @@ export function bondStatusToJSON(object: BondStatus): string { */ export interface HistoricalInfo { - header: Header | undefined; + header?: Header | undefined; valset: Validator[]; } /** @@ -98,7 +99,7 @@ export interface HistoricalInfo { */ export interface HistoricalInfoSDKType { - header: HeaderSDKType | undefined; + header?: HeaderSDKType | undefined; valset: ValidatorSDKType[]; } /** @@ -135,19 +136,19 @@ export interface CommissionRatesSDKType { export interface Commission { /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates: CommissionRates | undefined; + commissionRates?: CommissionRates | undefined; /** update_time is the last time the commission rate was changed. */ - updateTime: Date | undefined; + updateTime?: Date | undefined; } /** Commission defines commission parameters for a given validator. */ export interface CommissionSDKType { /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates: CommissionRatesSDKType | undefined; + commission_rates?: CommissionRatesSDKType | undefined; /** update_time is the last time the commission rate was changed. */ - update_time: Date | undefined; + update_time?: Date | undefined; } /** Description defines a validator description. */ @@ -201,7 +202,7 @@ export interface Validator { 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; @@ -216,16 +217,16 @@ export interface Validator { delegatorShares: string; /** description defines the description terms for the validator. */ - description: Description | undefined; + description?: Description | undefined; /** 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: Date | undefined; + unbondingTime?: Date | undefined; /** commission defines the commission parameters. */ - commission: Commission | undefined; + commission?: Commission | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ minSelfDelegation: string; @@ -246,7 +247,7 @@ export interface ValidatorSDKType { operator_address: string; /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensus_pubkey: AnySDKType | undefined; + consensus_pubkey?: AnySDKType | undefined; /** jailed defined whether the validator has been jailed from bonded status or not. */ jailed: boolean; @@ -261,16 +262,16 @@ export interface ValidatorSDKType { delegator_shares: string; /** description defines the description terms for the validator. */ - description: DescriptionSDKType | undefined; + description?: DescriptionSDKType | undefined; /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ unbonding_height: Long; /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbonding_time: Date | undefined; + unbonding_time?: Date | undefined; /** commission defines the commission parameters. */ - commission: CommissionSDKType | undefined; + commission?: CommissionSDKType | undefined; /** min_self_delegation is the validator's self declared minimum self delegation. */ min_self_delegation: string; @@ -418,7 +419,7 @@ export interface UnbondingDelegationEntry { creationHeight: Long; /** completion_time is the unix time for unbonding completion. */ - completionTime: Date | undefined; + completionTime?: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ initialBalance: string; @@ -433,7 +434,7 @@ export interface UnbondingDelegationEntrySDKType { creation_height: Long; /** completion_time is the unix time for unbonding completion. */ - completion_time: Date | undefined; + completion_time?: Date | undefined; /** initial_balance defines the tokens initially scheduled to receive at completion. */ initial_balance: string; @@ -448,7 +449,7 @@ export interface RedelegationEntry { creationHeight: Long; /** completion_time defines the unix time for redelegation completion. */ - completionTime: Date | undefined; + completionTime?: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ initialBalance: string; @@ -463,7 +464,7 @@ export interface RedelegationEntrySDKType { creation_height: Long; /** completion_time defines the unix time for redelegation completion. */ - completion_time: Date | undefined; + completion_time?: Date | undefined; /** initial_balance defines the initial balance when redelegation started. */ initial_balance: string; @@ -511,7 +512,7 @@ export interface RedelegationSDKType { export interface Params { /** unbonding_time is the time duration of unbonding. */ - unbondingTime: Duration | undefined; + unbondingTime?: Duration | undefined; /** max_validators is the maximum number of validators. */ maxValidators: number; @@ -532,7 +533,7 @@ export interface Params { export interface ParamsSDKType { /** unbonding_time is the time duration of unbonding. */ - unbonding_time: DurationSDKType | undefined; + unbonding_time?: DurationSDKType | undefined; /** max_validators is the maximum number of validators. */ max_validators: number; @@ -555,8 +556,8 @@ export interface ParamsSDKType { */ export interface DelegationResponse { - delegation: Delegation | undefined; - balance: Coin | undefined; + delegation?: Delegation | undefined; + balance?: Coin | undefined; } /** * DelegationResponse is equivalent to Delegation except that it contains a @@ -564,8 +565,8 @@ export interface DelegationResponse { */ export interface DelegationResponseSDKType { - delegation: DelegationSDKType | undefined; - balance: CoinSDKType | undefined; + delegation?: DelegationSDKType | undefined; + balance?: CoinSDKType | undefined; } /** * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it @@ -574,7 +575,7 @@ export interface DelegationResponseSDKType { */ export interface RedelegationEntryResponse { - redelegationEntry: RedelegationEntry | undefined; + redelegationEntry?: RedelegationEntry | undefined; balance: string; } /** @@ -584,7 +585,7 @@ export interface RedelegationEntryResponse { */ export interface RedelegationEntryResponseSDKType { - redelegation_entry: RedelegationEntrySDKType | undefined; + redelegation_entry?: RedelegationEntrySDKType | undefined; balance: string; } /** @@ -594,7 +595,7 @@ export interface RedelegationEntryResponseSDKType { */ export interface RedelegationResponse { - redelegation: Redelegation | undefined; + redelegation?: Redelegation | undefined; entries: RedelegationEntryResponse[]; } /** @@ -604,7 +605,7 @@ export interface RedelegationResponse { */ export interface RedelegationResponseSDKType { - redelegation: RedelegationSDKType | undefined; + redelegation?: RedelegationSDKType | undefined; entries: RedelegationEntryResponseSDKType[]; } /** @@ -1725,7 +1726,7 @@ export const Params = { fromPartial(object: Partial): Params { const message = createBaseParams(); - message.unbondingTime = object.unbondingTime ?? undefined; + message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined; message.maxValidators = object.maxValidators ?? 0; message.maxEntries = object.maxEntries ?? 0; message.historicalEntries = object.historicalEntries ?? 0; diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts index e308d8c8f..b517897c9 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -1,6 +1,6 @@ import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; import { fromBase64, toBase64 } from "@cosmjs/encoding"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; export interface AminoMsgCreateValidator extends AminoMsg { type: "cosmos-sdk/MsgCreateValidator"; diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts index e7170f128..b530ca148 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -1,27 +1,32 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } from "./tx"; +/** Msg defines the staking Msg service. */ export interface Msg { - createValidator(request: MsgCreateValidator): Promise; - /*CreateValidator defines a method for creating a new validator.*/ + /** 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; - /*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; - /*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; - /*BeginRedelegate defines a method for performing a redelegation - of coins from a delegator and source validator to a destination validator.*/ - - undelegate(request: MsgUndelegate): Promise; - /*Undelegate defines a method for performing an undelegation from a - delegate and a validator.*/ + beginRedelegate(request: MsgBeginRedelegate): Promise; + /** + * Undelegate defines a method for performing an undelegation from a + * delegate and a validator. + */ + undelegate(request: MsgUndelegate): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -35,31 +40,31 @@ export class MsgClientImpl implements Msg { this.undelegate = this.undelegate.bind(this); } - createValidator(request: MsgCreateValidator): Promise { + createValidator(request: MsgCreateValidator): Promise { const data = MsgCreateValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); } - editValidator(request: MsgEditValidator): Promise { + editValidator(request: MsgEditValidator): Promise { const data = MsgEditValidator.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); } - delegate(request: MsgDelegate): Promise { + delegate(request: MsgDelegate): Promise { const data = MsgDelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); } - beginRedelegate(request: MsgBeginRedelegate): Promise { + beginRedelegate(request: MsgBeginRedelegate): Promise { const data = MsgBeginRedelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); } - undelegate(request: MsgUndelegate): Promise { + undelegate(request: MsgUndelegate): Promise { const data = MsgUndelegate.encode(request).finish(); const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts index b30ab0eba..06b309369 100644 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts @@ -3,28 +3,28 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Timestamp } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { - description: Description | undefined; - commission: CommissionRates | undefined; + description?: Description | undefined; + commission?: CommissionRates | undefined; minSelfDelegation: string; delegatorAddress: string; validatorAddress: string; - pubkey: Any | undefined; - value: Coin | undefined; + pubkey?: Any | undefined; + value?: Coin | undefined; } /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidatorSDKType { - description: DescriptionSDKType | undefined; - commission: CommissionRatesSDKType | undefined; + description?: DescriptionSDKType | undefined; + commission?: CommissionRatesSDKType | undefined; min_self_delegation: string; delegator_address: string; validator_address: string; - pubkey: AnySDKType | undefined; - value: CoinSDKType | undefined; + pubkey?: AnySDKType | undefined; + value?: CoinSDKType | undefined; } /** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ @@ -35,7 +35,7 @@ export interface MsgCreateValidatorResponseSDKType {} /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidator { - description: Description | undefined; + description?: Description | undefined; validatorAddress: string; /** * We pass a reference to the new commission rate and min self delegation as @@ -50,7 +50,7 @@ export interface MsgEditValidator { /** MsgEditValidator defines a SDK message for editing an existing validator. */ export interface MsgEditValidatorSDKType { - description: DescriptionSDKType | undefined; + description?: DescriptionSDKType | undefined; validator_address: string; /** * We pass a reference to the new commission rate and min self delegation as @@ -76,7 +76,7 @@ export interface MsgEditValidatorResponseSDKType {} export interface MsgDelegate { delegatorAddress: string; validatorAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgDelegate defines a SDK message for performing a delegation of coins @@ -86,7 +86,7 @@ export interface MsgDelegate { export interface MsgDelegateSDKType { delegator_address: string; validator_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgDelegateResponse defines the Msg/Delegate response type. */ @@ -103,7 +103,7 @@ export interface MsgBeginRedelegate { delegatorAddress: string; validatorSrcAddress: string; validatorDstAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgBeginRedelegate defines a SDK message for performing a redelegation @@ -114,17 +114,17 @@ export interface MsgBeginRedelegateSDKType { delegator_address: string; validator_src_address: string; validator_dst_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponse { - completionTime: Date | undefined; + completionTime?: Date | undefined; } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponseSDKType { - completion_time: Date | undefined; + completion_time?: Date | undefined; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a @@ -134,7 +134,7 @@ export interface MsgBeginRedelegateResponseSDKType { export interface MsgUndelegate { delegatorAddress: string; validatorAddress: string; - amount: Coin | undefined; + amount?: Coin | undefined; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a @@ -144,17 +144,17 @@ export interface MsgUndelegate { export interface MsgUndelegateSDKType { delegator_address: string; validator_address: string; - amount: CoinSDKType | undefined; + amount?: CoinSDKType | undefined; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponse { - completionTime: Date | undefined; + completionTime?: Date | undefined; } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponseSDKType { - completion_time: Date | undefined; + completion_time?: Date | undefined; } function createBaseMsgCreateValidator(): MsgCreateValidator { @@ -271,7 +271,7 @@ export const MsgCreateValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateValidatorResponse(); @@ -380,7 +380,7 @@ export const MsgEditValidatorResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgEditValidatorResponse(); @@ -479,7 +479,7 @@ export const MsgDelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgDelegateResponse(); @@ -594,7 +594,7 @@ export const MsgBeginRedelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgBeginRedelegateResponse(); @@ -704,7 +704,7 @@ export const MsgUndelegateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUndelegateResponse(); diff --git a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts index eadcf8f00..997f72a7b 100644 --- a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -1,7 +1,7 @@ import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * SignMode represents a signing mode with its own security guarantees. * @@ -143,8 +143,9 @@ export function signModeToJSON(object: SignMode): string { case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: return "SIGN_MODE_LEGACY_AMINO_JSON"; + case SignMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** SignatureDescriptors wraps multiple SignatureDescriptor's. */ @@ -168,8 +169,8 @@ export interface SignatureDescriptorsSDKType { export interface SignatureDescriptor { /** public_key is the public key of the signer */ - publicKey: Any | undefined; - data: SignatureDescriptor_Data | undefined; + publicKey?: Any | undefined; + data?: SignatureDescriptor_Data | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to prevent @@ -187,8 +188,8 @@ export interface SignatureDescriptor { export interface SignatureDescriptorSDKType { /** public_key is the public key of the signer */ - public_key: AnySDKType | undefined; - data: SignatureDescriptor_DataSDKType | undefined; + public_key?: AnySDKType | undefined; + data?: SignatureDescriptor_DataSDKType | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to prevent @@ -237,7 +238,7 @@ export interface SignatureDescriptor_Data_SingleSDKType { export interface SignatureDescriptor_Data_Multi { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray | undefined; + bitarray?: CompactBitArray | undefined; /** signatures is the signatures of the multi-signature */ signatures: SignatureDescriptor_Data[]; @@ -246,7 +247,7 @@ export interface SignatureDescriptor_Data_Multi { export interface SignatureDescriptor_Data_MultiSDKType { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArraySDKType | undefined; + bitarray?: CompactBitArraySDKType | undefined; /** signatures is the signatures of the multi-signature */ signatures: SignatureDescriptor_DataSDKType[]; diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts index b43b23467..ee31b21e5 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; export class LCDQueryClient { @@ -46,7 +46,7 @@ export class LCDQueryClient { } /* GetBlockWithTxs fetches a block with decoded txs. - Since: cosmos-sdk 0.45.2 */ + Since: cosmos-sdk 0.45.2 */ async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts index 471e256d8..4c7049ca6 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts @@ -1,27 +1,28 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { SimulateRequest, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; -/** Service defines the RPC service */ +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(request: SimulateRequest): Promise; - /*Simulate simulates executing a transaction for estimating gas usage.*/ + /** Simulate simulates executing a transaction for estimating gas usage. */ + simulate(request: SimulateRequest): Promise; + /** GetTx fetches a tx by hash. */ - getTx(request: GetTxRequest): Promise; - /*GetTx fetches a tx by hash.*/ + getTx(request: GetTxRequest): Promise; + /** BroadcastTx broadcast transaction. */ - broadcastTx(request: BroadcastTxRequest): Promise; - /*BroadcastTx broadcast transaction.*/ + broadcastTx(request: BroadcastTxRequest): Promise; + /** GetTxsEvent fetches txs by event. */ - getTxsEvent(request: GetTxsEventRequest): Promise; - /*GetTxsEvent fetches txs by event.*/ - - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; - /*GetBlockWithTxs fetches a block with decoded txs. - - Since: cosmos-sdk 0.45.2*/ + getTxsEvent(request: GetTxsEventRequest): Promise; + /** + * GetBlockWithTxs fetches a block with decoded txs. + * + * Since: cosmos-sdk 0.45.2 + */ + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; } export class QueryClientImpl implements Service { private readonly rpc: Rpc; @@ -35,31 +36,31 @@ export class QueryClientImpl implements Service { this.getBlockWithTxs = this.getBlockWithTxs.bind(this); } - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { const data = SimulateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); } - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { const data = GetTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); } - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { const data = BroadcastTxRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); } - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { const data = GetTxsEventRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); } - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { const data = GetBlockWithTxsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); @@ -70,23 +71,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - simulate(request: SimulateRequest): Promise { + simulate(request: SimulateRequest): Promise { return queryService.simulate(request); }, - getTx(request: GetTxRequest): Promise { + getTx(request: GetTxRequest): Promise { return queryService.getTx(request); }, - broadcastTx(request: BroadcastTxRequest): Promise { + broadcastTx(request: BroadcastTxRequest): Promise { return queryService.broadcastTx(request); }, - getTxsEvent(request: GetTxsEventRequest): Promise { + getTxsEvent(request: GetTxsEventRequest): Promise { return queryService.getTxsEvent(request); }, - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { return queryService.getBlockWithTxs(request); } diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts index 3efecb9a6..803ff3623 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts @@ -4,7 +4,7 @@ import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultS import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; import { Block, BlockSDKType } from "../../../tendermint/types/block"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** OrderBy defines the sorting order */ export enum OrderBy { @@ -62,8 +62,9 @@ export function orderByToJSON(object: OrderBy): string { case OrderBy.ORDER_BY_DESC: return "ORDER_BY_DESC"; + case OrderBy.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ @@ -154,8 +155,9 @@ export function broadcastModeToJSON(object: BroadcastMode): string { case BroadcastMode.BROADCAST_MODE_ASYNC: return "BROADCAST_MODE_ASYNC"; + case BroadcastMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -165,11 +167,11 @@ export function broadcastModeToJSON(object: BroadcastMode): string { export interface GetTxsEventRequest { /** events is the list of transaction event type. */ - events?: string[]; + events: string[]; /** pagination defines a pagination for the request. */ pagination?: PageRequest | undefined; - orderBy?: OrderBy; + orderBy: OrderBy; } /** * GetTxsEventRequest is the request type for the Service.TxsByEvents @@ -178,11 +180,11 @@ export interface GetTxsEventRequest { export interface GetTxsEventRequestSDKType { /** events is the list of transaction event type. */ - events?: string[]; + events: string[]; /** pagination defines a pagination for the request. */ pagination?: PageRequestSDKType | undefined; - order_by?: OrderBySDKType; + order_by: OrderBySDKType; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents @@ -241,7 +243,7 @@ export interface BroadcastTxRequestSDKType { export interface BroadcastTxResponse { /** tx_response is the queried TxResponses. */ - txResponse: TxResponse | undefined; + txResponse?: TxResponse | undefined; } /** * BroadcastTxResponse is the response type for the @@ -250,7 +252,7 @@ export interface BroadcastTxResponse { export interface BroadcastTxResponseSDKType { /** tx_response is the queried TxResponses. */ - tx_response: TxResponseSDKType | undefined; + tx_response?: TxResponseSDKType | undefined; } /** * SimulateRequest is the request type for the Service.Simulate @@ -264,7 +266,7 @@ export interface SimulateRequest { */ /** @deprecated */ - tx: Tx | undefined; + tx?: Tx | undefined; /** * tx_bytes is the raw transaction. * @@ -285,7 +287,7 @@ export interface SimulateRequestSDKType { */ /** @deprecated */ - tx: TxSDKType | undefined; + tx?: TxSDKType | undefined; /** * tx_bytes is the raw transaction. * @@ -301,10 +303,10 @@ export interface SimulateRequestSDKType { export interface SimulateResponse { /** gas_info is the information about gas used in the simulation. */ - gasInfo: GasInfo | undefined; + gasInfo?: GasInfo | undefined; /** result is the result of the simulation. */ - result: Result | undefined; + result?: Result | undefined; } /** * SimulateResponse is the response type for the @@ -313,10 +315,10 @@ export interface SimulateResponse { export interface SimulateResponseSDKType { /** gas_info is the information about gas used in the simulation. */ - gas_info: GasInfoSDKType | undefined; + gas_info?: GasInfoSDKType | undefined; /** result is the result of the simulation. */ - result: ResultSDKType | undefined; + result?: ResultSDKType | undefined; } /** * GetTxRequest is the request type for the Service.GetTx @@ -340,19 +342,19 @@ export interface GetTxRequestSDKType { export interface GetTxResponse { /** tx is the queried transaction. */ - tx: Tx | undefined; + tx?: Tx | undefined; /** tx_response is the queried TxResponses. */ - txResponse: TxResponse | undefined; + txResponse?: TxResponse | undefined; } /** GetTxResponse is the response type for the Service.GetTx method. */ export interface GetTxResponseSDKType { /** tx is the queried transaction. */ - tx: TxSDKType | undefined; + tx?: TxSDKType | undefined; /** tx_response is the queried TxResponses. */ - tx_response: TxResponseSDKType | undefined; + tx_response?: TxResponseSDKType | undefined; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs @@ -391,8 +393,8 @@ export interface GetBlockWithTxsRequestSDKType { export interface GetBlockWithTxsResponse { /** txs are the transactions in the block. */ txs: Tx[]; - blockId: BlockID | undefined; - block: Block | undefined; + blockId?: BlockID | undefined; + block?: Block | undefined; /** pagination defines a pagination for the response. */ pagination?: PageResponse | undefined; @@ -406,8 +408,8 @@ export interface GetBlockWithTxsResponse { export interface GetBlockWithTxsResponseSDKType { /** txs are the transactions in the block. */ txs: TxSDKType[]; - block_id: BlockIDSDKType | undefined; - block: BlockSDKType | undefined; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; /** pagination defines a pagination for the response. */ pagination?: PageResponseSDKType | undefined; @@ -503,7 +505,7 @@ export const GetTxsEventResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxsEventResponse(); @@ -613,7 +615,7 @@ export const BroadcastTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseBroadcastTxResponse(); @@ -718,7 +720,7 @@ export const SimulateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseSimulateResponse(); @@ -818,7 +820,7 @@ export const GetTxResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetTxResponse(); @@ -938,7 +940,7 @@ export const GetBlockWithTxsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseGetBlockWithTxsResponse(); diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts index 72017ddfe..a2484a3e8 100644 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts @@ -3,18 +3,18 @@ import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** Tx is the standard type used for broadcasting transactions. */ export interface Tx { /** body is the processable content of the transaction */ - body: TxBody | undefined; + body?: TxBody | undefined; /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - authInfo: AuthInfo | undefined; + authInfo?: AuthInfo | undefined; /** * signatures is a list of signatures that matches the length and order of * AuthInfo's signer_infos to allow connecting signature meta information like @@ -27,13 +27,13 @@ export interface Tx { export interface TxSDKType { /** body is the processable content of the transaction */ - body: TxBodySDKType | undefined; + body?: TxBodySDKType | undefined; /** * auth_info is the authorization related content of the transaction, * specifically signers, signer modes and fee */ - auth_info: AuthInfoSDKType | undefined; + auth_info?: AuthInfoSDKType | undefined; /** * signatures is a list of signatures that matches the length and order of * AuthInfo's signer_infos to allow connecting signature meta information like @@ -163,7 +163,7 @@ export interface SignDocDirectAux { bodyBytes: Uint8Array; /** public_key is the public key of the signing account. */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * chain_id is the identifier of the chain this transaction targets. * It prevents signed transactions from being used on another chain by an @@ -182,7 +182,7 @@ export interface SignDocDirectAux { * empty if the signer is not the tipper for this transaction. */ - tip: Tip | undefined; + tip?: Tip | undefined; } /** * SignDocDirectAux is the type used for generating sign bytes for @@ -199,7 +199,7 @@ export interface SignDocDirectAuxSDKType { body_bytes: Uint8Array; /** public_key is the public key of the signing account. */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * chain_id is the identifier of the chain this transaction targets. * It prevents signed transactions from being used on another chain by an @@ -218,7 +218,7 @@ export interface SignDocDirectAuxSDKType { * empty if the signer is not the tipper for this transaction. */ - tip: TipSDKType | undefined; + tip?: TipSDKType | undefined; } /** TxBody is the body of a transaction that all signers sign over. */ @@ -322,14 +322,14 @@ export interface AuthInfo { * of the signers. This can be estimated via simulation. */ - fee: Fee | undefined; + fee?: Fee | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ - tip: Tip | undefined; + tip?: Tip | undefined; } /** * AuthInfo describes the fee and signer modes that are used to sign a @@ -351,14 +351,14 @@ export interface AuthInfoSDKType { * of the signers. This can be estimated via simulation. */ - fee: FeeSDKType | undefined; + fee?: FeeSDKType | undefined; /** * Tip is the optional tip used for meta-transactions. * * Since: cosmos-sdk 0.46 */ - tip: TipSDKType | undefined; + tip?: TipSDKType | undefined; } /** * SignerInfo describes the public key and signing mode of a single top-level @@ -371,13 +371,13 @@ export interface SignerInfo { * 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 | undefined; + publicKey?: Any | undefined; /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - modeInfo: ModeInfo | undefined; + modeInfo?: ModeInfo | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to @@ -397,13 +397,13 @@ export interface SignerInfoSDKType { * 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: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * mode_info describes the signing mode of the signer and is a nested * structure to support nested multisig pubkey's */ - mode_info: ModeInfoSDKType | undefined; + mode_info?: ModeInfoSDKType | undefined; /** * sequence is the sequence of the account, which describes the * number of committed transactions signed by a given address. It is used to @@ -454,7 +454,7 @@ export interface ModeInfo_SingleSDKType { export interface ModeInfo_Multi { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray | undefined; + bitarray?: CompactBitArray | undefined; /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys @@ -466,7 +466,7 @@ export interface ModeInfo_Multi { export interface ModeInfo_MultiSDKType { /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArraySDKType | undefined; + bitarray?: CompactBitArraySDKType | undefined; /** * mode_infos is the corresponding modes of the signers of the multisig * which could include nested multisig public keys @@ -582,7 +582,7 @@ export interface AuxSignerData { * LEGACY_AMINO_JSON. */ - signDoc: SignDocDirectAux | undefined; + signDoc?: SignDocDirectAux | undefined; /** mode is the signing mode of the single signer */ mode: SignMode; @@ -612,7 +612,7 @@ export interface AuxSignerDataSDKType { * LEGACY_AMINO_JSON. */ - sign_doc: SignDocDirectAuxSDKType | undefined; + sign_doc?: SignDocDirectAuxSDKType | undefined; /** mode is the signing mode of the single signer */ mode: SignModeSDKType; diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts index 3aca684bf..36a7cf66c 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -30,11 +30,11 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* 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) */ + 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) */ async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { @@ -43,7 +43,7 @@ export class LCDQueryClient { } /* ModuleVersions queries the list of module versions from state. - Since: cosmos-sdk 0.43 */ + Since: cosmos-sdk 0.43 */ async moduleVersions(params: QueryModuleVersionsRequest): Promise { diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts index 34c05ab53..d2cea4ed8 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts @@ -1,32 +1,35 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; +/** Query defines the gRPC upgrade querier service. */ export interface Query { - currentPlan(request?: QueryCurrentPlanRequest): Promise; - /*CurrentPlan queries the current upgrade plan.*/ - - appliedPlan(request: QueryAppliedPlanRequest): Promise; - /*AppliedPlan queries a previously applied upgrade plan by its name.*/ - - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): 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)*/ - - moduleVersions(request: QueryModuleVersionsRequest): Promise; - /*ModuleVersions queries the list of module versions from state. - - Since: cosmos-sdk 0.43*/ - - authority(request?: QueryAuthorityRequest): Promise; - /*Returns the account with authority to conduct upgrades*/ - + /** 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 */ + + authority(request?: QueryAuthorityRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -40,31 +43,31 @@ export class QueryClientImpl implements Query { this.authority = this.authority.bind(this); } - currentPlan(request: QueryCurrentPlanRequest = {}): Promise { + currentPlan(request: QueryCurrentPlanRequest = {}): Promise { const data = QueryCurrentPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); } - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { const data = QueryAppliedPlanRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); } - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { const data = QueryModuleVersionsRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); } - authority(request: QueryAuthorityRequest = {}): Promise { + authority(request: QueryAuthorityRequest = {}): Promise { const data = QueryAuthorityRequest.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); @@ -75,23 +78,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - currentPlan(request?: QueryCurrentPlanRequest): Promise { + currentPlan(request?: QueryCurrentPlanRequest): Promise { return queryService.currentPlan(request); }, - appliedPlan(request: QueryAppliedPlanRequest): Promise { + appliedPlan(request: QueryAppliedPlanRequest): Promise { return queryService.appliedPlan(request); }, - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { return queryService.upgradedConsensusState(request); }, - moduleVersions(request: QueryModuleVersionsRequest): Promise { + moduleVersions(request: QueryModuleVersionsRequest): Promise { return queryService.moduleVersions(request); }, - authority(request?: QueryAuthorityRequest): Promise { + authority(request?: QueryAuthorityRequest): Promise { return queryService.authority(request); } diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts index 7c24ea003..ac180c2e8 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts @@ -1,6 +1,6 @@ import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC * method. @@ -20,7 +20,7 @@ export interface QueryCurrentPlanRequestSDKType {} export interface QueryCurrentPlanResponse { /** plan is the current upgrade plan. */ - plan: Plan | undefined; + plan?: Plan | undefined; } /** * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC @@ -29,7 +29,7 @@ export interface QueryCurrentPlanResponse { export interface QueryCurrentPlanResponseSDKType { /** plan is the current upgrade plan. */ - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC @@ -130,7 +130,7 @@ export interface QueryModuleVersionsRequest { * consensus version from state. Leaving this empty will * fetch the full list of module versions from state */ - moduleName?: string; + moduleName: string; } /** * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions @@ -145,7 +145,7 @@ export interface QueryModuleVersionsRequestSDKType { * consensus version from state. Leaving this empty will * fetch the full list of module versions from state */ - module_name?: string; + module_name: string; } /** * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions @@ -251,7 +251,7 @@ export const QueryCurrentPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCurrentPlanResponse(); @@ -341,7 +341,7 @@ export const QueryAppliedPlanResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppliedPlanResponse(); @@ -431,7 +431,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); @@ -521,7 +521,7 @@ export const QueryModuleVersionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryModuleVersionsResponse(); @@ -600,7 +600,7 @@ export const QueryAuthorityResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAuthorityResponse(); diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts index d2da342c9..b5e65f6d7 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export interface AminoMsgSoftwareUpgrade extends AminoMsg { type: "cosmos-sdk/MsgSoftwareUpgrade"; diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts index 811997785..901bdbd02 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -1,20 +1,23 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeResponse, MsgCancelUpgradeResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; +/** Msg defines the upgrade Msg service. */ export interface Msg { - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - /*SoftwareUpgrade is a governance operation for initiating a software upgrade. - - Since: cosmos-sdk 0.46*/ - - cancelUpgrade(request: MsgCancelUpgrade): Promise; - /*CancelUpgrade is a governance operation for cancelling a previously - approvid software upgrade. - - Since: cosmos-sdk 0.46*/ + /** + * 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 class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -25,13 +28,13 @@ export class MsgClientImpl implements Msg { this.cancelUpgrade = this.cancelUpgrade.bind(this); } - softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { const data = MsgSoftwareUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); } - cancelUpgrade(request: MsgCancelUpgrade): Promise { + cancelUpgrade(request: MsgCancelUpgrade): Promise { const data = MsgCancelUpgrade.encode(request).finish(); const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts index 3145691df..f1a8f5c16 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -11,7 +11,7 @@ export interface MsgSoftwareUpgrade { authority: string; /** plan is the upgrade plan. */ - plan: Plan | undefined; + plan?: Plan | undefined; } /** * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. @@ -24,7 +24,7 @@ export interface MsgSoftwareUpgradeSDKType { authority: string; /** plan is the upgrade plan. */ - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. @@ -139,7 +139,7 @@ export const MsgSoftwareUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSoftwareUpgradeResponse(); @@ -218,7 +218,7 @@ export const MsgCancelUpgradeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCancelUpgradeResponse(); diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts index 9d0277f7d..0b2cc8456 100644 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -1,7 +1,7 @@ import { Timestamp } from "../../../google/protobuf/timestamp"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; /** Plan specifies information about a planned upgrade and when it should occur. */ export interface Plan { @@ -23,7 +23,7 @@ export interface Plan { /** @deprecated */ - time: Date | undefined; + time?: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. @@ -44,7 +44,7 @@ export interface Plan { /** @deprecated */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** Plan specifies information about a planned upgrade and when it should occur. */ @@ -67,7 +67,7 @@ export interface PlanSDKType { /** @deprecated */ - time: Date | undefined; + time?: Date | undefined; /** * The height at which the upgrade must be performed. * Only used if Time is not set. @@ -88,7 +88,7 @@ export interface PlanSDKType { /** @deprecated */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * SoftwareUpgradeProposal is a gov Content type for initiating a software @@ -102,7 +102,7 @@ export interface PlanSDKType { export interface SoftwareUpgradeProposal { title: string; description: string; - plan: Plan | undefined; + plan?: Plan | undefined; } /** * SoftwareUpgradeProposal is a gov Content type for initiating a software @@ -116,7 +116,7 @@ export interface SoftwareUpgradeProposal { export interface SoftwareUpgradeProposalSDKType { title: string; description: string; - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; } /** * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts index b18fb9244..5f402b993 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; export interface AminoMsgCreateVestingAccount extends AminoMsg { type: "cosmos-sdk/MsgCreateVestingAccount"; diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts index 93df90012..f0728ea1c 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -1,21 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreateVestingAccountResponseSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePermanentLockedAccountResponseSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse, MsgCreatePeriodicVestingAccountResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; +/** Msg defines the bank Msg service. */ export interface Msg { - createVestingAccount(request: MsgCreateVestingAccount): Promise; - /*CreateVestingAccount defines a method that enables creating a vesting - account.*/ - - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - /*CreatePermanentLockedAccount defines a method that enables creating a permanent - locked account.*/ - - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; - /*CreatePeriodicVestingAccount defines a method that enables creating a - periodic vesting account.*/ - + /** + * 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. + */ + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + /** + * CreatePeriodicVestingAccount defines a method that enables creating a + * periodic vesting account. + */ + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -27,19 +32,19 @@ export class MsgClientImpl implements Msg { this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); } - createVestingAccount(request: MsgCreateVestingAccount): Promise { + createVestingAccount(request: MsgCreateVestingAccount): Promise { const data = MsgCreateVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); } - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { const data = MsgCreatePermanentLockedAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); } - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts index fecca127f..2fe5e8f83 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts @@ -1,7 +1,7 @@ import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Period, PeriodSDKType } from "./vesting"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. @@ -187,7 +187,7 @@ export const MsgCreateVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateVestingAccountResponse(); @@ -286,7 +286,7 @@ export const MsgCreatePermanentLockedAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePermanentLockedAccountResponse(); @@ -395,7 +395,7 @@ export const MsgCreatePeriodicVestingAccountResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreatePeriodicVestingAccountResponse(); diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts index a0c25a632..759944a84 100644 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -1,14 +1,14 @@ import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ export interface BaseVestingAccount { - baseAccount: BaseAccount | undefined; + baseAccount?: BaseAccount | undefined; originalVesting: Coin[]; delegatedFree: Coin[]; delegatedVesting: Coin[]; @@ -20,7 +20,7 @@ export interface BaseVestingAccount { */ export interface BaseVestingAccountSDKType { - base_account: BaseAccountSDKType | undefined; + base_account?: BaseAccountSDKType | undefined; original_vesting: CoinSDKType[]; delegated_free: CoinSDKType[]; delegated_vesting: CoinSDKType[]; @@ -32,7 +32,7 @@ export interface BaseVestingAccountSDKType { */ export interface ContinuousVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; startTime: Long; } /** @@ -41,7 +41,7 @@ export interface ContinuousVestingAccount { */ export interface ContinuousVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; start_time: Long; } /** @@ -51,7 +51,7 @@ export interface ContinuousVestingAccountSDKType { */ export interface DelayedVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; } /** * DelayedVestingAccount implements the VestingAccount interface. It vests all @@ -60,7 +60,7 @@ export interface DelayedVestingAccount { */ export interface DelayedVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; } /** Period defines a length of time and amount of coins that will vest. */ @@ -80,7 +80,7 @@ export interface PeriodSDKType { */ export interface PeriodicVestingAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; startTime: Long; vestingPeriods: Period[]; } @@ -90,7 +90,7 @@ export interface PeriodicVestingAccount { */ export interface PeriodicVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; start_time: Long; vesting_periods: PeriodSDKType[]; } @@ -103,7 +103,7 @@ export interface PeriodicVestingAccountSDKType { */ export interface PermanentLockedAccount { - baseVestingAccount: BaseVestingAccount | undefined; + baseVestingAccount?: BaseVestingAccount | undefined; } /** * PermanentLockedAccount implements the VestingAccount interface. It does @@ -114,7 +114,7 @@ export interface PermanentLockedAccount { */ export interface PermanentLockedAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType | undefined; + base_vesting_account?: BaseVestingAccountSDKType | undefined; } function createBaseBaseVestingAccount(): BaseVestingAccount { diff --git a/examples/telescope/codegen/cosmos_proto/cosmos.ts b/examples/telescope/codegen/cosmos_proto/cosmos.ts index 39f468489..c5e1c290a 100644 --- a/examples/telescope/codegen/cosmos_proto/cosmos.ts +++ b/examples/telescope/codegen/cosmos_proto/cosmos.ts @@ -42,8 +42,9 @@ export function scalarTypeToJSON(object: ScalarType): string { case ScalarType.SCALAR_TYPE_BYTES: return "SCALAR_TYPE_BYTES"; + case ScalarType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** diff --git a/examples/telescope/codegen/cosmwasm/bundle.ts b/examples/telescope/codegen/cosmwasm/bundle.ts index 20c8556e3..2cf6fe383 100644 --- a/examples/telescope/codegen/cosmwasm/bundle.ts +++ b/examples/telescope/codegen/cosmwasm/bundle.ts @@ -4,14 +4,14 @@ import * as _96 from "./wasm/v1/proposal"; import * as _97 from "./wasm/v1/query"; import * as _98 from "./wasm/v1/tx"; import * as _99 from "./wasm/v1/types"; -import * as _223 from "./wasm/v1/tx.amino"; -import * as _224 from "./wasm/v1/tx.registry"; -import * as _225 from "./wasm/v1/query.lcd"; -import * as _226 from "./wasm/v1/query.rpc.query"; -import * as _227 from "./wasm/v1/tx.rpc.msg"; -import * as _252 from "./lcd"; -import * as _253 from "./rpc.query"; -import * as _254 from "./rpc.tx"; +import * as _220 from "./wasm/v1/tx.amino"; +import * as _221 from "./wasm/v1/tx.registry"; +import * as _222 from "./wasm/v1/query.lcd"; +import * as _223 from "./wasm/v1/query.rpc.query"; +import * as _224 from "./wasm/v1/tx.rpc.msg"; +import * as _249 from "./lcd"; +import * as _250 from "./rpc.query"; +import * as _251 from "./rpc.tx"; export namespace cosmwasm { export namespace wasm { export const v1 = { ..._94, @@ -20,15 +20,15 @@ export namespace cosmwasm { ..._97, ..._98, ..._99, + ..._220, + ..._221, + ..._222, ..._223, - ..._224, - ..._225, - ..._226, - ..._227 + ..._224 }; } - export const ClientFactory = { ..._252, - ..._253, - ..._254 + export const ClientFactory = { ..._249, + ..._250, + ..._251 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/client.ts b/examples/telescope/codegen/cosmwasm/client.ts index a917b15c5..2fbbb0251 100644 --- a/examples/telescope/codegen/cosmwasm/client.ts +++ b/examples/telescope/codegen/cosmwasm/client.ts @@ -2,6 +2,9 @@ import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; +export const cosmwasmAminoConverters = { ...cosmwasmWasmV1TxAmino.AminoConverter +}; +export const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmwasmWasmV1TxRegistry.registry]; export const getSigningCosmwasmClientOptions = ({ defaultTypes = defaultRegistryTypes }: { @@ -10,8 +13,8 @@ export const getSigningCosmwasmClientOptions = ({ registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...defaultTypes, ...cosmwasmWasmV1TxRegistry.registry]); - const aminoTypes = new AminoTypes({ ...cosmwasmWasmV1TxAmino.AminoConverter + const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmwasmAminoConverters }); return { registry, diff --git a/examples/telescope/codegen/cosmwasm/rpc.tx.ts b/examples/telescope/codegen/cosmwasm/rpc.tx.ts index 5424c674f..e0ff07d48 100644 --- a/examples/telescope/codegen/cosmwasm/rpc.tx.ts +++ b/examples/telescope/codegen/cosmwasm/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts index 8c401bfac..3cdd11cee 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts @@ -1,11 +1,11 @@ import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** GenesisState - genesis state of x/wasm */ export interface GenesisState { - params: Params | undefined; + params?: Params | undefined; codes: Code[]; contracts: Contract[]; sequences: Sequence[]; @@ -14,7 +14,7 @@ export interface GenesisState { /** GenesisState - genesis state of x/wasm */ export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; codes: CodeSDKType[]; contracts: ContractSDKType[]; sequences: SequenceSDKType[]; @@ -44,7 +44,7 @@ export interface GenesisState_GenMsgsSDKType { export interface Code { codeId: Long; - codeInfo: CodeInfo | undefined; + codeInfo?: CodeInfo | undefined; codeBytes: Uint8Array; /** Pinned to wasmvm cache */ @@ -54,7 +54,7 @@ export interface Code { export interface CodeSDKType { code_id: Long; - code_info: CodeInfoSDKType | undefined; + code_info?: CodeInfoSDKType | undefined; code_bytes: Uint8Array; /** Pinned to wasmvm cache */ @@ -64,14 +64,14 @@ export interface CodeSDKType { export interface Contract { contractAddress: string; - contractInfo: ContractInfo | undefined; + contractInfo?: ContractInfo | undefined; contractState: Model[]; } /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ export interface ContractSDKType { contract_address: string; - contract_info: ContractInfoSDKType | undefined; + contract_info?: ContractInfoSDKType | undefined; contract_state: ModelSDKType[]; } /** Sequence key and value of an id generation counter */ diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts index d37f6fded..1c93c6db0 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** MsgIBCSend */ export interface MsgIBCSend { diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts index 48adea786..4ff447cef 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts @@ -1,7 +1,7 @@ import { AccessConfig, AccessConfigSDKType } from "./types"; import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ export interface StoreCodeProposal { @@ -18,7 +18,7 @@ export interface StoreCodeProposal { wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ - instantiatePermission: AccessConfig | undefined; + instantiatePermission?: AccessConfig | undefined; } /** StoreCodeProposal gov proposal content type to submit WASM code to the system */ @@ -36,7 +36,7 @@ export interface StoreCodeProposalSDKType { wasm_byte_code: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ - instantiate_permission: AccessConfigSDKType | undefined; + instantiate_permission?: AccessConfigSDKType | undefined; } /** * InstantiateContractProposal gov proposal content type to instantiate a diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts index 17db7e020..6079083b4 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts index 1ee240045..18b107d1e 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts @@ -1,37 +1,36 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - contractInfo(request: QueryContractInfoRequest): Promise; - /*ContractInfo gets the contract meta data*/ + /** ContractInfo gets the contract meta data */ + contractInfo(request: QueryContractInfoRequest): Promise; + /** ContractHistory gets the contract code history */ - contractHistory(request: QueryContractHistoryRequest): Promise; - /*ContractHistory gets the contract code history*/ + contractHistory(request: QueryContractHistoryRequest): Promise; + /** ContractsByCode lists all smart contracts for a code id */ - contractsByCode(request: QueryContractsByCodeRequest): Promise; - /*ContractsByCode lists all smart contracts for a code id*/ + contractsByCode(request: QueryContractsByCodeRequest): Promise; + /** AllContractState gets all raw store data for a single contract */ - allContractState(request: QueryAllContractStateRequest): Promise; - /*AllContractState gets all raw store data for a single contract*/ + allContractState(request: QueryAllContractStateRequest): Promise; + /** RawContractState gets single key from the raw store data of a contract */ - rawContractState(request: QueryRawContractStateRequest): Promise; - /*RawContractState gets single key from the raw store data of a contract*/ + rawContractState(request: QueryRawContractStateRequest): Promise; + /** SmartContractState get smart query result from the contract */ - smartContractState(request: QuerySmartContractStateRequest): Promise; - /*SmartContractState get smart query result from the contract*/ + smartContractState(request: QuerySmartContractStateRequest): Promise; + /** Code gets the binary code and metadata for a singe wasm code */ - code(request: QueryCodeRequest): Promise; - /*Code gets the binary code and metadata for a singe wasm code*/ + code(request: QueryCodeRequest): Promise; + /** Codes gets the metadata for all stored wasm codes */ - codes(request?: QueryCodesRequest): Promise; - /*Codes gets the metadata for all stored wasm codes*/ - - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; - /*PinnedCodes gets the pinned code ids*/ + codes(request?: QueryCodesRequest): Promise; + /** PinnedCodes gets the pinned code ids */ + pinnedCodes(request?: QueryPinnedCodesRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -49,43 +48,43 @@ export class QueryClientImpl implements Query { this.pinnedCodes = this.pinnedCodes.bind(this); } - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { const data = QueryContractInfoRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); } - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { const data = QueryContractHistoryRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); } - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { const data = QueryContractsByCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); } - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { const data = QueryAllContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); } - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { const data = QueryRawContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); } - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { const data = QuerySmartContractStateRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); } - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { const data = QueryCodeRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); @@ -93,7 +92,7 @@ export class QueryClientImpl implements Query { codes(request: QueryCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); @@ -101,7 +100,7 @@ export class QueryClientImpl implements Query { pinnedCodes(request: QueryPinnedCodesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryPinnedCodesRequest.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); @@ -112,39 +111,39 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - contractInfo(request: QueryContractInfoRequest): Promise { + contractInfo(request: QueryContractInfoRequest): Promise { return queryService.contractInfo(request); }, - contractHistory(request: QueryContractHistoryRequest): Promise { + contractHistory(request: QueryContractHistoryRequest): Promise { return queryService.contractHistory(request); }, - contractsByCode(request: QueryContractsByCodeRequest): Promise { + contractsByCode(request: QueryContractsByCodeRequest): Promise { return queryService.contractsByCode(request); }, - allContractState(request: QueryAllContractStateRequest): Promise { + allContractState(request: QueryAllContractStateRequest): Promise { return queryService.allContractState(request); }, - rawContractState(request: QueryRawContractStateRequest): Promise { + rawContractState(request: QueryRawContractStateRequest): Promise { return queryService.rawContractState(request); }, - smartContractState(request: QuerySmartContractStateRequest): Promise { + smartContractState(request: QuerySmartContractStateRequest): Promise { return queryService.smartContractState(request); }, - code(request: QueryCodeRequest): Promise { + code(request: QueryCodeRequest): Promise { return queryService.code(request); }, - codes(request?: QueryCodesRequest): Promise { + codes(request?: QueryCodesRequest): Promise { return queryService.codes(request); }, - pinnedCodes(request?: QueryPinnedCodesRequest): Promise { + pinnedCodes(request?: QueryPinnedCodesRequest): Promise { return queryService.pinnedCodes(request); } diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts index a844178e5..8636ec5a0 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts @@ -1,7 +1,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC * method @@ -28,7 +28,7 @@ export interface QueryContractInfoRequestSDKType { export interface QueryContractInfoResponse { /** address is the address of the contract */ address: string; - contractInfo: ContractInfo | undefined; + contractInfo?: ContractInfo | undefined; } /** * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC @@ -38,7 +38,7 @@ export interface QueryContractInfoResponse { export interface QueryContractInfoResponseSDKType { /** address is the address of the contract */ address: string; - contract_info: ContractInfoSDKType | undefined; + contract_info?: ContractInfoSDKType | undefined; } /** * QueryContractHistoryRequest is the request type for the Query/ContractHistory @@ -291,13 +291,13 @@ export interface CodeInfoResponseSDKType { /** QueryCodeResponse is the response type for the Query/Code RPC method */ export interface QueryCodeResponse { - codeInfo: CodeInfoResponse | undefined; + codeInfo?: CodeInfoResponse | undefined; data: Uint8Array; } /** QueryCodeResponse is the response type for the Query/Code RPC method */ export interface QueryCodeResponseSDKType { - code_info: CodeInfoResponseSDKType | undefined; + code_info?: CodeInfoResponseSDKType | undefined; data: Uint8Array; } /** QueryCodesRequest is the request type for the Query/Codes RPC method */ @@ -434,7 +434,7 @@ export const QueryContractInfoResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractInfoResponse(); @@ -544,7 +544,7 @@ export const QueryContractHistoryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractHistoryResponse(); @@ -654,7 +654,7 @@ export const QueryContractsByCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryContractsByCodeResponse(); @@ -764,7 +764,7 @@ export const QueryAllContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAllContractStateResponse(); @@ -869,7 +869,7 @@ export const QueryRawContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryRawContractStateResponse(); @@ -969,7 +969,7 @@ export const QuerySmartContractStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQuerySmartContractStateResponse(); @@ -1129,7 +1129,7 @@ export const QueryCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodeResponse(); @@ -1229,7 +1229,7 @@ export const QueryCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryCodesResponse(); @@ -1333,7 +1333,7 @@ export const QueryPinnedCodesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPinnedCodesResponse(); diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts index 2ae5a5b9f..de8d2731e 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -1,7 +1,7 @@ import { accessTypeFromJSON } from "./types"; import { AminoMsg } from "@cosmjs/amino"; import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; export interface AminoMsgStoreCode extends AminoMsg { type: "wasm/MsgStoreCode"; diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts index 47aea6c9e..0e8007205 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -1,27 +1,26 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgStoreCodeResponseSDKType, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContractResponseSDKType, MsgExecuteContract, MsgExecuteContractResponse, MsgExecuteContractResponseSDKType, MsgMigrateContract, MsgMigrateContractResponse, MsgMigrateContractResponseSDKType, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgUpdateAdminResponseSDKType, MsgClearAdmin, MsgClearAdminResponse, MsgClearAdminResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; +/** Msg defines the wasm Msg service. */ export interface Msg { - storeCode(request: MsgStoreCode): Promise; - /*StoreCode to submit Wasm code to the system*/ + /** StoreCode to submit Wasm code to the system */ + storeCode(request: MsgStoreCode): Promise; + /** Instantiate creates a new smart contract instance for the given code id. */ - instantiateContract(request: MsgInstantiateContract): Promise; - /*Instantiate creates a new smart contract instance for the given code id.*/ + instantiateContract(request: MsgInstantiateContract): Promise; + /** Execute submits the given message data to a smart contract */ - executeContract(request: MsgExecuteContract): Promise; - /*Execute submits the given message data to a smart contract*/ + executeContract(request: MsgExecuteContract): Promise; + /** Migrate runs a code upgrade/ downgrade for a smart contract */ - migrateContract(request: MsgMigrateContract): Promise; - /*Migrate runs a code upgrade/ downgrade for a smart contract*/ + migrateContract(request: MsgMigrateContract): Promise; + /** UpdateAdmin sets a new admin for a smart contract */ - updateAdmin(request: MsgUpdateAdmin): Promise; - /*UpdateAdmin sets a new admin for a smart contract*/ - - clearAdmin(request: MsgClearAdmin): Promise; - /*ClearAdmin removes any admin stored for a smart contract*/ + updateAdmin(request: MsgUpdateAdmin): Promise; + /** ClearAdmin removes any admin stored for a smart contract */ + clearAdmin(request: MsgClearAdmin): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -36,37 +35,37 @@ export class MsgClientImpl implements Msg { this.clearAdmin = this.clearAdmin.bind(this); } - storeCode(request: MsgStoreCode): Promise { + storeCode(request: MsgStoreCode): Promise { const data = MsgStoreCode.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); } - instantiateContract(request: MsgInstantiateContract): Promise { + instantiateContract(request: MsgInstantiateContract): Promise { const data = MsgInstantiateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); } - executeContract(request: MsgExecuteContract): Promise { + executeContract(request: MsgExecuteContract): Promise { const data = MsgExecuteContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); } - migrateContract(request: MsgMigrateContract): Promise { + migrateContract(request: MsgMigrateContract): Promise { const data = MsgMigrateContract.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); } - updateAdmin(request: MsgUpdateAdmin): Promise { + updateAdmin(request: MsgUpdateAdmin): Promise { const data = MsgUpdateAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); } - clearAdmin(request: MsgClearAdmin): Promise { + clearAdmin(request: MsgClearAdmin): Promise { const data = MsgClearAdmin.encode(request).finish(); const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts index 3932a4574..b60a7ff27 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts @@ -1,7 +1,7 @@ import { AccessConfig, AccessConfigSDKType } from "./types"; import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** MsgStoreCode submit Wasm code to the system */ export interface MsgStoreCode { @@ -15,7 +15,7 @@ export interface MsgStoreCode { * optional */ - instantiatePermission: AccessConfig | undefined; + instantiatePermission?: AccessConfig | undefined; } /** MsgStoreCode submit Wasm code to the system */ @@ -30,7 +30,7 @@ export interface MsgStoreCodeSDKType { * optional */ - instantiate_permission: AccessConfigSDKType | undefined; + instantiate_permission?: AccessConfigSDKType | undefined; } /** MsgStoreCodeResponse returns store result data. */ @@ -335,7 +335,7 @@ export const MsgStoreCodeResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgStoreCodeResponse(); @@ -480,7 +480,7 @@ export const MsgInstantiateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgInstantiateContractResponse(); @@ -605,7 +605,7 @@ export const MsgExecuteContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgExecuteContractResponse(); @@ -725,7 +725,7 @@ export const MsgMigrateContractResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgMigrateContractResponse(); @@ -829,7 +829,7 @@ export const MsgUpdateAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateAdminResponse(); @@ -918,7 +918,7 @@ export const MsgClearAdminResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgClearAdminResponse(); diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts index 56b834240..5ca38183a 100644 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts @@ -1,6 +1,6 @@ import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; /** AccessType permission types */ export enum AccessType { @@ -71,8 +71,9 @@ export function accessTypeToJSON(object: AccessType): string { case AccessType.ACCESS_TYPE_EVERYBODY: return "ACCESS_TYPE_EVERYBODY"; + case AccessType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** ContractCodeHistoryOperationType actions that caused a code change */ @@ -145,8 +146,9 @@ export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHisto case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; + case ContractCodeHistoryOperationType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** AccessTypeParam */ @@ -174,14 +176,14 @@ export interface AccessConfigSDKType { /** Params defines the set of wasm parameters. */ export interface Params { - codeUploadAccess: AccessConfig | undefined; + codeUploadAccess?: AccessConfig | undefined; instantiateDefaultPermission: AccessType; maxWasmCodeSize: Long; } /** Params defines the set of wasm parameters. */ export interface ParamsSDKType { - code_upload_access: AccessConfigSDKType | undefined; + code_upload_access?: AccessConfigSDKType | undefined; instantiate_default_permission: AccessTypeSDKType; max_wasm_code_size: Long; } @@ -195,7 +197,7 @@ export interface CodeInfo { creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ - instantiateConfig: AccessConfig | undefined; + instantiateConfig?: AccessConfig | undefined; } /** CodeInfo is data for the uploaded contract WASM code */ @@ -207,7 +209,7 @@ export interface CodeInfoSDKType { creator: string; /** InstantiateConfig access control to apply on contract creation, optional */ - instantiate_config: AccessConfigSDKType | undefined; + instantiate_config?: AccessConfigSDKType | undefined; } /** ContractInfo stores a WASM contract instance */ @@ -229,14 +231,14 @@ export interface ContractInfo { * use for sorting */ - created: AbsoluteTxPosition | undefined; + created?: AbsoluteTxPosition | undefined; ibcPortId: string; /** * Extension is an extension point to store custom metadata within the * persistence model. */ - extension: Any | undefined; + extension?: Any | undefined; } /** ContractInfo stores a WASM contract instance */ @@ -258,14 +260,14 @@ export interface ContractInfoSDKType { * use for sorting */ - created: AbsoluteTxPositionSDKType | undefined; + created?: AbsoluteTxPositionSDKType | undefined; ibc_port_id: string; /** * Extension is an extension point to store custom metadata within the * persistence model. */ - extension: AnySDKType | undefined; + extension?: AnySDKType | undefined; } /** ContractCodeHistoryEntry metadata to a contract. */ @@ -276,7 +278,7 @@ export interface ContractCodeHistoryEntry { codeId: Long; /** Updated Tx position when the operation was executed. */ - updated: AbsoluteTxPosition | undefined; + updated?: AbsoluteTxPosition | undefined; msg: Uint8Array; } /** ContractCodeHistoryEntry metadata to a contract. */ @@ -288,7 +290,7 @@ export interface ContractCodeHistoryEntrySDKType { code_id: Long; /** Updated Tx position when the operation was executed. */ - updated: AbsoluteTxPositionSDKType | undefined; + updated?: AbsoluteTxPositionSDKType | undefined; msg: Uint8Array; } /** diff --git a/examples/telescope/codegen/google/api/http.ts b/examples/telescope/codegen/google/api/http.ts index e9b66e52a..8edd441a2 100644 --- a/examples/telescope/codegen/google/api/http.ts +++ b/examples/telescope/codegen/google/api/http.ts @@ -73,19 +73,19 @@ export interface HttpSDKType { * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -97,21 +97,21 @@ export interface HttpSDKType { * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -132,18 +132,18 @@ export interface HttpSDKType { * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -159,18 +159,18 @@ export interface HttpSDKType { * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -189,20 +189,20 @@ export interface HttpSDKType { * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -215,27 +215,27 @@ export interface HttpSDKType { * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -284,11 +284,11 @@ export interface HttpSDKType { * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * @@ -406,19 +406,19 @@ export interface HttpRule { * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -430,21 +430,21 @@ export interface HttpRule { * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -465,18 +465,18 @@ export interface HttpRule { * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -492,18 +492,18 @@ export interface HttpRule { * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -522,20 +522,20 @@ export interface HttpRule { * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -548,27 +548,27 @@ export interface HttpRule { * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -617,11 +617,11 @@ export interface HttpRule { * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * diff --git a/examples/telescope/codegen/google/bundle.ts b/examples/telescope/codegen/google/bundle.ts index 9cc4276a0..390b33a10 100644 --- a/examples/telescope/codegen/google/bundle.ts +++ b/examples/telescope/codegen/google/bundle.ts @@ -5,9 +5,6 @@ import * as _104 from "./protobuf/descriptor"; import * as _105 from "./protobuf/duration"; import * as _106 from "./protobuf/empty"; import * as _107 from "./protobuf/timestamp"; -import * as _108 from "./protobuf/struct"; -import * as _109 from "./protobuf/wrappers"; -import * as _110 from "./protobuf/field_mask"; export namespace google { export const api = { ..._101, ..._102 @@ -16,9 +13,6 @@ export namespace google { ..._104, ..._105, ..._106, - ..._107, - ..._108, - ..._109, - ..._110 + ..._107 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/any.ts b/examples/telescope/codegen/google/protobuf/any.ts index 6d43102eb..7e7f18573 100644 --- a/examples/telescope/codegen/google/protobuf/any.ts +++ b/examples/telescope/codegen/google/protobuf/any.ts @@ -8,42 +8,42 @@ import * as _m0 from "protobufjs/minimal"; * * Example 1: Pack and unpack a message in C++. * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } + * 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 { - * ... - * } + * 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 @@ -58,27 +58,27 @@ import * as _m0 from "protobufjs/minimal"; * 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; - * } + * package google.profile; + * message Person { + * string first_name = 1; + * string last_name = 2; + * } * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } + * { + * "@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" - * } + * { + * "@type": "type.googleapis.com/google.protobuf.Duration", + * "value": "1.212s" + * } */ export interface Any { @@ -97,12 +97,12 @@ export interface Any { * * * 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. + * 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.) + * 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 @@ -125,42 +125,42 @@ export interface Any { * * Example 1: Pack and unpack a message in C++. * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } + * 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 { - * ... - * } + * 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 @@ -175,27 +175,27 @@ export interface Any { * 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; - * } + * package google.profile; + * message Person { + * string first_name = 1; + * string last_name = 2; + * } * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } + * { + * "@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" - * } + * { + * "@type": "type.googleapis.com/google.protobuf.Duration", + * "value": "1.212s" + * } */ export interface AnySDKType { @@ -214,12 +214,12 @@ export interface AnySDKType { * * * 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. + * 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.) + * 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 diff --git a/examples/telescope/codegen/google/protobuf/descriptor.ts b/examples/telescope/codegen/google/protobuf/descriptor.ts index d249844b2..346a5a8a1 100644 --- a/examples/telescope/codegen/google/protobuf/descriptor.ts +++ b/examples/telescope/codegen/google/protobuf/descriptor.ts @@ -1,6 +1,6 @@ //@ts-nocheck import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export enum FieldDescriptorProto_Type { /** * TYPE_DOUBLE - 0 is reserved for errors. @@ -233,8 +233,9 @@ export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Typ case FieldDescriptorProto_Type.TYPE_SINT64: return "TYPE_SINT64"; + case FieldDescriptorProto_Type.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldDescriptorProto_Label { @@ -282,8 +283,9 @@ export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_La case FieldDescriptorProto_Label.LABEL_REPEATED: return "LABEL_REPEATED"; + case FieldDescriptorProto_Label.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** Generated classes can be optimized for speed or code size. */ @@ -349,8 +351,9 @@ export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode) case FileOptions_OptimizeMode.LITE_RUNTIME: return "LITE_RUNTIME"; + case FileOptions_OptimizeMode.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldOptions_CType { @@ -398,8 +401,9 @@ export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { case FieldOptions_CType.STRING_PIECE: return "STRING_PIECE"; + case FieldOptions_CType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum FieldOptions_JSType { @@ -455,8 +459,9 @@ export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { case FieldOptions_JSType.JS_NUMBER: return "JS_NUMBER"; + case FieldOptions_JSType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -522,8 +527,9 @@ export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_Idemp case MethodOptions_IdempotencyLevel.IDEMPOTENT: return "IDEMPOTENT"; + case MethodOptions_IdempotencyLevel.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -566,7 +572,7 @@ export interface FileDescriptorProto { enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; - options: FileOptions | undefined; + options?: FileOptions | undefined; /** * This field contains optional information about the original source code. * You may safely remove this entire field without harming runtime @@ -574,7 +580,7 @@ export interface FileDescriptorProto { * development tools. */ - sourceCodeInfo: SourceCodeInfo | undefined; + sourceCodeInfo?: SourceCodeInfo | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". @@ -606,7 +612,7 @@ export interface FileDescriptorProtoSDKType { enum_type: EnumDescriptorProtoSDKType[]; service: ServiceDescriptorProtoSDKType[]; extension: FieldDescriptorProtoSDKType[]; - options: FileOptionsSDKType | undefined; + options?: FileOptionsSDKType | undefined; /** * This field contains optional information about the original source code. * You may safely remove this entire field without harming runtime @@ -614,7 +620,7 @@ export interface FileDescriptorProtoSDKType { * development tools. */ - source_code_info: SourceCodeInfoSDKType | undefined; + source_code_info?: SourceCodeInfoSDKType | undefined; /** * The syntax of the proto file. * The supported values are "proto2" and "proto3". @@ -632,7 +638,7 @@ export interface DescriptorProto { enumType: EnumDescriptorProto[]; extensionRange: DescriptorProto_ExtensionRange[]; oneofDecl: OneofDescriptorProto[]; - options: MessageOptions | undefined; + options?: MessageOptions | undefined; reservedRange: DescriptorProto_ReservedRange[]; /** * Reserved field names, which may not be used by fields in the same message. @@ -651,7 +657,7 @@ export interface DescriptorProtoSDKType { enum_type: EnumDescriptorProtoSDKType[]; extension_range: DescriptorProto_ExtensionRangeSDKType[]; oneof_decl: OneofDescriptorProtoSDKType[]; - options: MessageOptionsSDKType | undefined; + options?: MessageOptionsSDKType | undefined; reserved_range: DescriptorProto_ReservedRangeSDKType[]; /** * Reserved field names, which may not be used by fields in the same message. @@ -666,7 +672,7 @@ export interface DescriptorProto_ExtensionRange { /** Exclusive. */ end: number; - options: ExtensionRangeOptions | undefined; + options?: ExtensionRangeOptions | undefined; } export interface DescriptorProto_ExtensionRangeSDKType { /** Inclusive. */ @@ -674,7 +680,7 @@ export interface DescriptorProto_ExtensionRangeSDKType { /** Exclusive. */ end: number; - options: ExtensionRangeOptionsSDKType | undefined; + options?: ExtensionRangeOptionsSDKType | undefined; } /** * Range of reserved tag numbers. Reserved tag numbers may not be used by @@ -760,7 +766,7 @@ export interface FieldDescriptorProto { */ jsonName: string; - options: FieldOptions | undefined; + options?: FieldOptions | undefined; } /** Describes a field within a message. */ @@ -812,26 +818,26 @@ export interface FieldDescriptorProtoSDKType { */ json_name: string; - options: FieldOptionsSDKType | undefined; + options?: FieldOptionsSDKType | undefined; } /** Describes a oneof. */ export interface OneofDescriptorProto { name: string; - options: OneofOptions | undefined; + options?: OneofOptions | undefined; } /** Describes a oneof. */ export interface OneofDescriptorProtoSDKType { name: string; - options: OneofOptionsSDKType | undefined; + options?: OneofOptionsSDKType | undefined; } /** Describes an enum type. */ export interface EnumDescriptorProto { name: string; value: EnumValueDescriptorProto[]; - options: EnumOptions | undefined; + options?: EnumOptions | undefined; /** * Range of reserved numeric values. Reserved numeric values may not be used * by enum values in the same enum declaration. Reserved ranges may not @@ -851,7 +857,7 @@ export interface EnumDescriptorProto { export interface EnumDescriptorProtoSDKType { name: string; value: EnumValueDescriptorProtoSDKType[]; - options: EnumOptionsSDKType | undefined; + options?: EnumOptionsSDKType | undefined; /** * Range of reserved numeric values. Reserved numeric values may not be used * by enum values in the same enum declaration. Reserved ranges may not @@ -903,28 +909,28 @@ export interface EnumDescriptorProto_EnumReservedRangeSDKType { export interface EnumValueDescriptorProto { name: string; number: number; - options: EnumValueOptions | undefined; + options?: EnumValueOptions | undefined; } /** Describes a value within an enum. */ export interface EnumValueDescriptorProtoSDKType { name: string; number: number; - options: EnumValueOptionsSDKType | undefined; + options?: EnumValueOptionsSDKType | undefined; } /** Describes a service. */ export interface ServiceDescriptorProto { name: string; method: MethodDescriptorProto[]; - options: ServiceOptions | undefined; + options?: ServiceOptions | undefined; } /** Describes a service. */ export interface ServiceDescriptorProtoSDKType { name: string; method: MethodDescriptorProtoSDKType[]; - options: ServiceOptionsSDKType | undefined; + options?: ServiceOptionsSDKType | undefined; } /** Describes a method of a service. */ @@ -937,7 +943,7 @@ export interface MethodDescriptorProto { inputType: string; outputType: string; - options: MethodOptions | undefined; + options?: MethodOptions | undefined; /** Identifies if client streams multiple client messages */ clientStreaming: boolean; @@ -956,7 +962,7 @@ export interface MethodDescriptorProtoSDKType { input_type: string; output_type: string; - options: MethodOptionsSDKType | undefined; + options?: MethodOptionsSDKType | undefined; /** Identifies if client streams multiple client messages */ client_streaming: boolean; @@ -1010,9 +1016,9 @@ export interface FileOptions { /** * 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. + * - 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; @@ -1144,9 +1150,9 @@ export interface FileOptionsSDKType { /** * 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. + * - 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; @@ -1240,10 +1246,10 @@ export interface MessageOptions { * 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; - * } + * 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. * @@ -1274,14 +1280,14 @@ export interface MessageOptions { * maps field. * * For maps fields: - * map map_field = 1; + * 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; + * 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. @@ -1306,10 +1312,10 @@ export interface MessageOptionsSDKType { * 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; - * } + * 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. * @@ -1340,14 +1346,14 @@ export interface MessageOptionsSDKType { * maps field. * * For maps fields: - * map map_field = 1; + * 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; + * 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. @@ -1723,43 +1729,43 @@ export interface SourceCodeInfo { * tools. * * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } + * message Foo { + * optional string foo = 1; + * } * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi + * 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). + * 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. + * 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. + * 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. + * 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. + * 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. + * ignore those that it doesn't understand, as more types of locations could + * be recorded in the future. */ location: SourceCodeInfo_Location[]; } @@ -1776,43 +1782,43 @@ export interface SourceCodeInfoSDKType { * tools. * * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } + * message Foo { + * optional string foo = 1; + * } * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi + * 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). + * 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. + * 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. + * 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. + * 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. + * 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. + * ignore those that it doesn't understand, as more types of locations could + * be recorded in the future. */ location: SourceCodeInfo_LocationSDKType[]; } @@ -1824,21 +1830,21 @@ export interface SourceCodeInfo_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 ] + * [ 4, 3, 2, 7, 1 ] * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 + * 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; + * repeated DescriptorProto message_type = 4; * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; + * repeated FieldDescriptorProto field = 2; * and FieldDescriptorProto.name has field number 1: - * optional string name = 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 ] + * [ 4, 3, 2, 7 ] * this path refers to the whole field declaration (from the beginning * of the label to the terminating semicolon). */ @@ -1872,34 +1878,34 @@ export interface SourceCodeInfo_Location { * * Examples: * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; + * 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. + * 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; + * // 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. 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. + * // 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; + * 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. + * // ignored detached comments. */ leadingComments: string; @@ -1914,21 +1920,21 @@ export interface SourceCodeInfo_LocationSDKType { * 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 ] + * [ 4, 3, 2, 7, 1 ] * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 + * 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; + * repeated DescriptorProto message_type = 4; * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; + * repeated FieldDescriptorProto field = 2; * and FieldDescriptorProto.name has field number 1: - * optional string name = 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 ] + * [ 4, 3, 2, 7 ] * this path refers to the whole field declaration (from the beginning * of the label to the terminating semicolon). */ @@ -1962,34 +1968,34 @@ export interface SourceCodeInfo_LocationSDKType { * * Examples: * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; + * 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. + * 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; + * // 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. 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. + * // 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; + * 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. + * // ignored detached comments. */ leading_comments: string; @@ -2598,8 +2604,8 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { return { name: "", number: 0, - label: 0, - type: 0, + label: 1, + type: 1, typeName: "", extendee: "", defaultValue: "", @@ -2619,11 +2625,11 @@ export const FieldDescriptorProto = { writer.uint32(24).int32(message.number); } - if (message.label !== 0) { + if (message.label !== 1) { writer.uint32(32).int32(message.label); } - if (message.type !== 0) { + if (message.type !== 1) { writer.uint32(40).int32(message.type); } @@ -2716,8 +2722,8 @@ export const FieldDescriptorProto = { const message = createBaseFieldDescriptorProto(); message.name = object.name ?? ""; message.number = object.number ?? 0; - message.label = object.label ?? 0; - message.type = object.type ?? 0; + message.label = object.label ?? 1; + message.type = object.type ?? 1; message.typeName = object.typeName ?? ""; message.extendee = object.extendee ?? ""; message.defaultValue = object.defaultValue ?? ""; @@ -3156,7 +3162,7 @@ function createBaseFileOptions(): FileOptions { javaMultipleFiles: false, javaGenerateEqualsAndHash: false, javaStringCheckUtf8: false, - optimizeFor: 0, + optimizeFor: 1, goPackage: "", ccGenericServices: false, javaGenericServices: false, @@ -3197,7 +3203,7 @@ export const FileOptions = { writer.uint32(216).bool(message.javaStringCheckUtf8); } - if (message.optimizeFor !== 0) { + if (message.optimizeFor !== 1) { writer.uint32(72).int32(message.optimizeFor); } @@ -3373,7 +3379,7 @@ export const FileOptions = { message.javaMultipleFiles = object.javaMultipleFiles ?? false; message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; - message.optimizeFor = object.optimizeFor ?? 0; + message.optimizeFor = object.optimizeFor ?? 1; message.goPackage = object.goPackage ?? ""; message.ccGenericServices = object.ccGenericServices ?? false; message.javaGenericServices = object.javaGenericServices ?? false; @@ -3481,9 +3487,9 @@ export const MessageOptions = { function createBaseFieldOptions(): FieldOptions { return { - ctype: 0, + ctype: 1, packed: false, - jstype: 0, + jstype: 1, lazy: false, deprecated: false, weak: false, @@ -3493,7 +3499,7 @@ function createBaseFieldOptions(): FieldOptions { export const FieldOptions = { encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.ctype !== 0) { + if (message.ctype !== 1) { writer.uint32(8).int32(message.ctype); } @@ -3501,7 +3507,7 @@ export const FieldOptions = { writer.uint32(16).bool(message.packed); } - if (message.jstype !== 0) { + if (message.jstype !== 1) { writer.uint32(48).int32(message.jstype); } @@ -3572,9 +3578,9 @@ export const FieldOptions = { fromPartial(object: Partial): FieldOptions { const message = createBaseFieldOptions(); - message.ctype = object.ctype ?? 0; + message.ctype = object.ctype ?? 1; message.packed = object.packed ?? false; - message.jstype = object.jstype ?? 0; + message.jstype = object.jstype ?? 1; message.lazy = object.lazy ?? false; message.deprecated = object.deprecated ?? false; message.weak = object.weak ?? false; @@ -3807,7 +3813,7 @@ export const ServiceOptions = { function createBaseMethodOptions(): MethodOptions { return { deprecated: false, - idempotencyLevel: 0, + idempotencyLevel: 1, uninterpretedOption: [] }; } @@ -3818,7 +3824,7 @@ export const MethodOptions = { writer.uint32(264).bool(message.deprecated); } - if (message.idempotencyLevel !== 0) { + if (message.idempotencyLevel !== 1) { writer.uint32(272).int32(message.idempotencyLevel); } @@ -3862,7 +3868,7 @@ export const MethodOptions = { fromPartial(object: Partial): MethodOptions { const message = createBaseMethodOptions(); message.deprecated = object.deprecated ?? false; - message.idempotencyLevel = object.idempotencyLevel ?? 0; + message.idempotencyLevel = object.idempotencyLevel ?? 1; message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; return message; } diff --git a/examples/telescope/codegen/google/protobuf/duration.ts b/examples/telescope/codegen/google/protobuf/duration.ts index 52bb3dec9..de9f82877 100644 --- a/examples/telescope/codegen/google/protobuf/duration.ts +++ b/examples/telescope/codegen/google/protobuf/duration.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond @@ -12,43 +12,43 @@ import { Long } from "@osmonauts/helpers"; * * Example 1: Compute Duration from two Timestamps in pseudo code. * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; + * Timestamp start = ...; + * Timestamp end = ...; + * Duration duration = ...; * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; + * 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; - * } + * 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 = ...; + * Timestamp start = ...; + * Duration duration = ...; + * Timestamp end = ...; * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; + * 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; - * } + * 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) + * td = datetime.timedelta(days=3, minutes=10) + * duration = Duration() + * duration.FromTimedelta(td) * * # JSON Mapping * @@ -91,43 +91,43 @@ export interface Duration { * * Example 1: Compute Duration from two Timestamps in pseudo code. * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; + * Timestamp start = ...; + * Timestamp end = ...; + * Duration duration = ...; * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; + * 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; - * } + * 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 = ...; + * Timestamp start = ...; + * Duration duration = ...; + * Timestamp end = ...; * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; + * 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; - * } + * 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) + * td = datetime.timedelta(days=3, minutes=10) + * duration = Duration() + * duration.FromTimedelta(td) * * # JSON Mapping * diff --git a/examples/telescope/codegen/google/protobuf/empty.ts b/examples/telescope/codegen/google/protobuf/empty.ts index e4fffa295..6b8f72572 100644 --- a/examples/telescope/codegen/google/protobuf/empty.ts +++ b/examples/telescope/codegen/google/protobuf/empty.ts @@ -4,9 +4,9 @@ import * as _m0 from "protobufjs/minimal"; * empty messages in your APIs. A typical example is to use it as the request * or the response type of an API method. For instance: * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } * * The JSON representation for `Empty` is empty JSON object `{}`. */ @@ -17,9 +17,9 @@ export interface Empty {} * empty messages in your APIs. A typical example is to use it as the request * or the response type of an API method. For instance: * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } * * The JSON representation for `Empty` is empty JSON object `{}`. */ diff --git a/examples/telescope/codegen/google/protobuf/field_mask.ts b/examples/telescope/codegen/google/protobuf/field_mask.ts deleted file mode 100644 index 0096e4a2b..000000000 --- a/examples/telescope/codegen/google/protobuf/field_mask.ts +++ /dev/null @@ -1,458 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ - -export interface FieldMask { - /** The set of field mask paths. */ - paths: string[]; -} -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ - -export interface FieldMaskSDKType { - /** The set of field mask paths. */ - paths: string[]; -} - -function createBaseFieldMask(): FieldMask { - return { - paths: [] - }; -} - -export const FieldMask = { - encode(message: FieldMask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.paths) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldMask { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldMask(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.paths.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FieldMask { - const message = createBaseFieldMask(); - message.paths = object.paths?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/struct.ts b/examples/telescope/codegen/google/protobuf/struct.ts deleted file mode 100644 index b2dd105de..000000000 --- a/examples/telescope/codegen/google/protobuf/struct.ts +++ /dev/null @@ -1,420 +0,0 @@ -//@ts-nocheck -import * as _m0 from "protobufjs/minimal"; -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - */ - -export enum NullValue { - /** NULL_VALUE - Null value. */ - NULL_VALUE = 0, - UNRECOGNIZED = -1, -} -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - */ - -export enum NullValueSDKType { - /** NULL_VALUE - Null value. */ - NULL_VALUE = 0, - UNRECOGNIZED = -1, -} -export function nullValueFromJSON(object: any): NullValue { - switch (object) { - case 0: - case "NULL_VALUE": - return NullValue.NULL_VALUE; - - case -1: - case "UNRECOGNIZED": - default: - return NullValue.UNRECOGNIZED; - } -} -export function nullValueToJSON(object: NullValue): string { - switch (object) { - case NullValue.NULL_VALUE: - return "NULL_VALUE"; - - default: - return "UNKNOWN"; - } -} -export interface Struct_FieldsEntry { - key: string; - value: Value | undefined; -} -export interface Struct_FieldsEntrySDKType { - key: string; - value: ValueSDKType | undefined; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ - -export interface Struct { - /** Unordered map of dynamically typed values. */ - fields: { - [key: string]: Value | undefined; - }; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ - -export interface StructSDKType { - /** Unordered map of dynamically typed values. */ - fields: { - [key: string]: ValueSDKType | undefined; - }; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ - -export interface Value { - /** Represents a null value. */ - nullValue?: NullValue; - /** Represents a double value. */ - - numberValue?: number; - /** Represents a string value. */ - - stringValue?: string; - /** Represents a boolean value. */ - - boolValue?: boolean; - /** Represents a structured value. */ - - structValue?: Struct | undefined; - /** Represents a repeated `Value`. */ - - listValue?: ListValue | undefined; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ - -export interface ValueSDKType { - /** Represents a null value. */ - null_value?: NullValueSDKType; - /** Represents a double value. */ - - number_value?: number; - /** Represents a string value. */ - - string_value?: string; - /** Represents a boolean value. */ - - bool_value?: boolean; - /** Represents a structured value. */ - - struct_value?: StructSDKType | undefined; - /** Represents a repeated `Value`. */ - - list_value?: ListValueSDKType | undefined; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ - -export interface ListValue { - /** Repeated field of dynamically typed values. */ - values: Value[]; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ - -export interface ListValueSDKType { - /** Repeated field of dynamically typed values. */ - values: ValueSDKType[]; -} - -function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { - return { - key: "", - value: undefined - }; -} - -export const Struct_FieldsEntry = { - encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct_FieldsEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - - case 2: - message.value = Value.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Struct_FieldsEntry { - const message = createBaseStruct_FieldsEntry(); - message.key = object.key ?? ""; - message.value = object.value !== undefined && object.value !== null ? Value.fromPartial(object.value) : undefined; - return message; - } - -}; - -function createBaseStruct(): Struct { - return { - fields: {} - }; -} - -export const Struct = { - encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.fields).forEach(([key, value]) => { - Struct_FieldsEntry.encode({ - key: (key as any), - value - }, writer.uint32(10).fork()).ldelim(); - }); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Struct { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32()); - - if (entry1.value !== undefined) { - message.fields[entry1.key] = entry1.value; - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Struct { - const message = createBaseStruct(); - message.fields = Object.entries(object.fields ?? {}).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = Value.fromPartial(value); - } - - return acc; - }, {}); - return message; - } - -}; - -function createBaseValue(): Value { - return { - nullValue: undefined, - numberValue: undefined, - stringValue: undefined, - boolValue: undefined, - structValue: undefined, - listValue: undefined - }; -} - -export const Value = { - encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - - if (message.numberValue !== undefined) { - writer.uint32(17).double(message.numberValue); - } - - if (message.stringValue !== undefined) { - writer.uint32(26).string(message.stringValue); - } - - if (message.boolValue !== undefined) { - writer.uint32(32).bool(message.boolValue); - } - - if (message.structValue !== undefined) { - Struct.encode(message.structValue, writer.uint32(42).fork()).ldelim(); - } - - if (message.listValue !== undefined) { - ListValue.encode(message.listValue, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - - case 2: - message.numberValue = reader.double(); - break; - - case 3: - message.stringValue = reader.string(); - break; - - case 4: - message.boolValue = reader.bool(); - break; - - case 5: - message.structValue = Struct.decode(reader, reader.uint32()); - break; - - case 6: - message.listValue = ListValue.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Value { - const message = createBaseValue(); - message.nullValue = object.nullValue ?? undefined; - message.numberValue = object.numberValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - message.structValue = object.structValue !== undefined && object.structValue !== null ? Struct.fromPartial(object.structValue) : undefined; - message.listValue = object.listValue !== undefined && object.listValue !== null ? ListValue.fromPartial(object.listValue) : undefined; - return message; - } - -}; - -function createBaseListValue(): ListValue { - return { - values: [] - }; -} - -export const ListValue = { - encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ListValue { - const message = createBaseListValue(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/timestamp.ts b/examples/telescope/codegen/google/protobuf/timestamp.ts index 1b0f08da2..c3e0b298f 100644 --- a/examples/telescope/codegen/google/protobuf/timestamp.ts +++ b/examples/telescope/codegen/google/protobuf/timestamp.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } 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 @@ -19,43 +19,43 @@ import { Long } from "@osmonauts/helpers"; * * Example 1: Compute Timestamp from POSIX `time()`. * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); + * Timestamp timestamp; + * timestamp.set_seconds(time(NULL)); + * timestamp.set_nanos(0); * * Example 2: Compute Timestamp from POSIX `gettimeofday()`. * - * struct timeval tv; - * gettimeofday(&tv, NULL); + * struct timeval tv; + * gettimeofday(&tv, NULL); * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); + * 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; + * 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)); + * // 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(); + * long millis = System.currentTimeMillis(); * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); + * 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() + * timestamp = Timestamp() + * timestamp.GetCurrentTime() * * # JSON Mapping * @@ -120,43 +120,43 @@ export interface Timestamp { * * Example 1: Compute Timestamp from POSIX `time()`. * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); + * Timestamp timestamp; + * timestamp.set_seconds(time(NULL)); + * timestamp.set_nanos(0); * * Example 2: Compute Timestamp from POSIX `gettimeofday()`. * - * struct timeval tv; - * gettimeofday(&tv, NULL); + * struct timeval tv; + * gettimeofday(&tv, NULL); * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); + * 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; + * 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)); + * // 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(); + * long millis = System.currentTimeMillis(); * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); + * 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() + * timestamp = Timestamp() + * timestamp.GetCurrentTime() * * # JSON Mapping * diff --git a/examples/telescope/codegen/google/protobuf/wrappers.ts b/examples/telescope/codegen/google/protobuf/wrappers.ts deleted file mode 100644 index 5b3d3aa96..000000000 --- a/examples/telescope/codegen/google/protobuf/wrappers.ts +++ /dev/null @@ -1,587 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - */ - -export interface DoubleValue { - /** The double value. */ - value: number; -} -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - */ - -export interface DoubleValueSDKType { - /** The double value. */ - value: number; -} -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - */ - -export interface FloatValue { - /** The float value. */ - value: number; -} -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - */ - -export interface FloatValueSDKType { - /** The float value. */ - value: number; -} -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - */ - -export interface Int64Value { - /** The int64 value. */ - value: Long; -} -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - */ - -export interface Int64ValueSDKType { - /** The int64 value. */ - value: Long; -} -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - */ - -export interface UInt64Value { - /** The uint64 value. */ - value: Long; -} -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - */ - -export interface UInt64ValueSDKType { - /** The uint64 value. */ - value: Long; -} -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - */ - -export interface Int32Value { - /** The int32 value. */ - value: number; -} -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - */ - -export interface Int32ValueSDKType { - /** The int32 value. */ - value: number; -} -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - */ - -export interface UInt32Value { - /** The uint32 value. */ - value: number; -} -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - */ - -export interface UInt32ValueSDKType { - /** The uint32 value. */ - value: number; -} -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - */ - -export interface BoolValue { - /** The bool value. */ - value: boolean; -} -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - */ - -export interface BoolValueSDKType { - /** The bool value. */ - value: boolean; -} -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - */ - -export interface StringValue { - /** The string value. */ - value: string; -} -/** - * Wrapper message for `string`. - * - * The JSON representation for `StringValue` is JSON string. - */ - -export interface StringValueSDKType { - /** The string value. */ - value: string; -} -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - */ - -export interface BytesValue { - /** The bytes value. */ - value: Uint8Array; -} -/** - * Wrapper message for `bytes`. - * - * The JSON representation for `BytesValue` is JSON string. - */ - -export interface BytesValueSDKType { - /** The bytes value. */ - value: Uint8Array; -} - -function createBaseDoubleValue(): DoubleValue { - return { - value: 0 - }; -} - -export const DoubleValue = { - encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(9).double(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDoubleValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.double(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DoubleValue { - const message = createBaseDoubleValue(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseFloatValue(): FloatValue { - return { - value: 0 - }; -} - -export const FloatValue = { - encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(13).float(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFloatValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.float(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FloatValue { - const message = createBaseFloatValue(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseInt64Value(): Int64Value { - return { - value: Long.ZERO - }; -} - -export const Int64Value = { - encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.value.isZero()) { - writer.uint32(8).int64(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInt64Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Int64Value { - const message = createBaseInt64Value(); - message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.ZERO; - return message; - } - -}; - -function createBaseUInt64Value(): UInt64Value { - return { - value: Long.UZERO - }; -} - -export const UInt64Value = { - encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.value.isZero()) { - writer.uint32(8).uint64(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUInt64Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UInt64Value { - const message = createBaseUInt64Value(); - message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; - return message; - } - -}; - -function createBaseInt32Value(): Int32Value { - return { - value: 0 - }; -} - -export const Int32Value = { - encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).int32(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInt32Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Int32Value { - const message = createBaseInt32Value(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseUInt32Value(): UInt32Value { - return { - value: 0 - }; -} - -export const UInt32Value = { - encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).uint32(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUInt32Value(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UInt32Value { - const message = createBaseUInt32Value(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseBoolValue(): BoolValue { - return { - value: false - }; -} - -export const BoolValue = { - encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value === true) { - writer.uint32(8).bool(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBoolValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BoolValue { - const message = createBaseBoolValue(); - message.value = object.value ?? false; - return message; - } - -}; - -function createBaseStringValue(): StringValue { - return { - value: "" - }; -} - -export const StringValue = { - encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== "") { - writer.uint32(10).string(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StringValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStringValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StringValue { - const message = createBaseStringValue(); - message.value = object.value ?? ""; - return message; - } - -}; - -function createBaseBytesValue(): BytesValue { - return { - value: new Uint8Array() - }; -} - -export const BytesValue = { - encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value.length !== 0) { - writer.uint32(10).bytes(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBytesValue(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BytesValue { - const message = createBaseBytesValue(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/helpers.ts b/examples/telescope/codegen/helpers.ts new file mode 100644 index 000000000..b4cf3a376 --- /dev/null +++ b/examples/telescope/codegen/helpers.ts @@ -0,0 +1,240 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 + * 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 * as _m0 from "protobufjs/minimal"; +import * as Long from 'long'; + +// @ts-ignore +if (_m0.util.Long !== Long) { + _m0.util.Long = (Long as any); + + _m0.configure(); +} + +export { Long }; + +declare var self: any | undefined; +declare var window: any | undefined; +declare var global: any | undefined; +var globalThis: any = (() => { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + throw 'Unable to locate global object'; +})(); + +const atob: (b64: string) => string = + globalThis.atob || ((b64) => globalThis.Buffer.from(b64, 'base64').toString('binary')); + +export function bytesFromBase64(b64: string): Uint8Array { + const bin = atob(b64); + const arr = new Uint8Array(bin.length); + for (let i = 0; i < bin.length; ++i) { + arr[i] = bin.charCodeAt(i); + } + return arr; +} + +const btoa: (bin: string) => string = + globalThis.btoa || ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64')); + +export function base64FromBytes(arr: Uint8Array): string { + const bin: string[] = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return btoa(bin.join('')); +} + +export interface AminoHeight { + readonly revision_number?: string; + readonly revision_height?: string; +}; + +export function omitDefault(input: T): T | undefined { + if (typeof input === "string") { + return input === "" ? undefined : input; + } + + if (typeof input === "number") { + return input === 0 ? undefined : input; + } + + if (Long.isLong(input)) { + return input.isZero() ? undefined : input; + } + + throw new Error(`Got unsupported type ${typeof input}`); +}; + +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 function toDuration(duration: string): Duration { + return { + seconds: Long.fromNumber(Math.floor(parseInt(duration) / 1000000000)), + nanos: parseInt(duration) % 1000000000 + }; +}; + +export function fromDuration(duration: Duration): string { + return (parseInt(duration.seconds.toString()) * 1000000000 + duration.nanos).toString(); +}; + +export function isSet(value: any): boolean { + return value !== null && value !== undefined; +}; + +export function isObject(value: any): boolean { + return typeof value === 'object' && value !== null; +}; + +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 const setPaginationParams = (options: Params, pagination?: PageRequest) => { + + if (!pagination) { + return options; + } + + if (typeof pagination?.countTotal !== "undefined") { + options.params['pagination.count_total'] = pagination.countTotal; + } + if (typeof pagination?.key !== "undefined") { + // String to Uint8Array + // let uint8arr = new Uint8Array(Buffer.from(data,'base64')); + + // Uint8Array to String + options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64'); + } + if (typeof pagination?.limit !== "undefined") { + options.params["pagination.limit"] = pagination.limit.toString() + } + if (typeof pagination?.offset !== "undefined") { + options.params["pagination.offset"] = pagination.offset.toString() + } + if (typeof pagination?.reverse !== "undefined") { + options.params['pagination.reverse'] = pagination.reverse; + } + + return options; +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin + ? T + : 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 function toTimestamp(date: Date): Timestamp { + const seconds = numberToLong(date.getTime() / 1_000); + const nanos = date.getTime() % 1000 * 1000000; + return { + seconds, + nanos + }; +}; + +export function fromTimestamp(t: Timestamp): Date { + let millis = t.seconds.toNumber() * 1000; + millis += t.nanos / 1000000; + return new Date(millis); +}; + +const fromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; +}; + +const timestampFromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0, + }; +} + +export function fromJsonTimestamp(o: any): Timestamp { + if (o instanceof Date) { + return toTimestamp(o); + } else if (typeof o === "string") { + return toTimestamp(new Date(o)); + } else { + return timestampFromJSON(o); + } +} + +function numberToLong(number: number) { + return Long.fromNumber(number); +} diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts index 6823b603b..8c4e6380e 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts @@ -5,14 +5,14 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { portId: string; denomTraces: DenomTrace[]; - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the ibc-transfer genesis state */ export interface GenesisStateSDKType { port_id: string; denom_traces: DenomTraceSDKType[]; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts index e0b537285..7bce53a40 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts index 4b4f70753..62b2cc990 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts @@ -1,19 +1,18 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; +/** Query provides defines the gRPC querier service. */ export interface Query { - denomTrace(request: QueryDenomTraceRequest): Promise; - /*DenomTrace queries a denomination trace information.*/ + /** DenomTrace queries a denomination trace information. */ + denomTrace(request: QueryDenomTraceRequest): Promise; + /** DenomTraces queries all denomination traces. */ - denomTraces(request?: QueryDenomTracesRequest): Promise; - /*DenomTraces queries all denomination traces.*/ - - params(request?: QueryParamsRequest): Promise; - /*Params queries all parameters of the ibc-transfer module.*/ + denomTraces(request?: QueryDenomTracesRequest): Promise; + /** Params queries all parameters of the ibc-transfer module. */ + params(request?: QueryParamsRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -25,7 +24,7 @@ export class QueryClientImpl implements Query { this.params = this.params.bind(this); } - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { const data = QueryDenomTraceRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); @@ -33,13 +32,13 @@ export class QueryClientImpl implements Query { denomTraces(request: QueryDenomTracesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryDenomTracesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); } - params(request: QueryParamsRequest = {}): Promise { + params(request: QueryParamsRequest = {}): Promise { const data = QueryParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); @@ -50,15 +49,15 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - denomTrace(request: QueryDenomTraceRequest): Promise { + denomTrace(request: QueryDenomTraceRequest): Promise { return queryService.denomTrace(request); }, - denomTraces(request?: QueryDenomTracesRequest): Promise { + denomTraces(request?: QueryDenomTracesRequest): Promise { return queryService.denomTraces(request); }, - params(request?: QueryParamsRequest): Promise { + params(request?: QueryParamsRequest): Promise { return queryService.params(request); } diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts index 556e8fe82..78a22b4d6 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts @@ -26,7 +26,7 @@ export interface QueryDenomTraceRequestSDKType { export interface QueryDenomTraceResponse { /** denom_trace returns the requested denomination trace information. */ - denomTrace: DenomTrace | undefined; + denomTrace?: DenomTrace | undefined; } /** * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC @@ -35,7 +35,7 @@ export interface QueryDenomTraceResponse { export interface QueryDenomTraceResponseSDKType { /** denom_trace returns the requested denomination trace information. */ - denom_trace: DenomTraceSDKType | undefined; + denom_trace?: DenomTraceSDKType | undefined; } /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC @@ -89,13 +89,13 @@ export interface QueryParamsRequestSDKType {} export interface QueryParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { @@ -158,7 +158,7 @@ export const QueryDenomTraceResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTraceResponse(); @@ -253,7 +253,7 @@ export const QueryDenomTracesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryDenomTracesResponse(); @@ -337,7 +337,7 @@ export const QueryParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryParamsResponse(); diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts index 3543b950e..e99498bcc 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; import { MsgTransfer } from "./tx"; export interface AminoMsgTransfer extends AminoMsg { type: "cosmos-sdk/MsgTransfer"; diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts index 1d91db3c8..b0ed7b31d 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -1,12 +1,11 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgTransfer, MsgTransferResponse, MsgTransferResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgTransfer, MsgTransferResponse } from "./tx"; +/** Msg defines the ibc/transfer Msg service. */ export interface Msg { - transfer(request: MsgTransfer): Promise; - /*Transfer defines a rpc handler method for MsgTransfer.*/ - + /** Transfer defines a rpc handler method for MsgTransfer. */ + transfer(request: MsgTransfer): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -16,7 +15,7 @@ export class MsgClientImpl implements Msg { this.transfer = this.transfer.bind(this); } - transfer(request: MsgTransfer): Promise { + transfer(request: MsgTransfer): Promise { const data = MsgTransfer.encode(request).finish(); const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts index 602234328..fdeb7d480 100644 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts @@ -1,7 +1,7 @@ import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { Height, HeightSDKType } from "../../../core/client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between * ICS20 enabled chains. See ICS Spec here: @@ -16,7 +16,7 @@ export interface MsgTransfer { sourceChannel: string; /** the tokens to be transferred */ - token: Coin | undefined; + token?: Coin | undefined; /** the sender address */ sender: string; @@ -28,7 +28,7 @@ export interface MsgTransfer { * The timeout is disabled when set to 0. */ - timeoutHeight: Height | undefined; + timeoutHeight?: Height | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. @@ -50,7 +50,7 @@ export interface MsgTransferSDKType { source_channel: string; /** the tokens to be transferred */ - token: CoinSDKType | undefined; + token?: CoinSDKType | undefined; /** the sender address */ sender: string; @@ -62,7 +62,7 @@ export interface MsgTransferSDKType { * The timeout is disabled when set to 0. */ - timeout_height: HeightSDKType | undefined; + timeout_height?: HeightSDKType | undefined; /** * Timeout timestamp (in nanoseconds) relative to the current block timestamp. * The timeout is disabled when set to 0. @@ -191,7 +191,7 @@ export const MsgTransferResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTransferResponse(); diff --git a/examples/telescope/codegen/ibc/bundle.ts b/examples/telescope/codegen/ibc/bundle.ts index 9aaf14d88..bf640e264 100644 --- a/examples/telescope/codegen/ibc/bundle.ts +++ b/examples/telescope/codegen/ibc/bundle.ts @@ -1,137 +1,137 @@ -import * as _111 from "./applications/transfer/v1/genesis"; -import * as _112 from "./applications/transfer/v1/query"; -import * as _113 from "./applications/transfer/v1/transfer"; -import * as _114 from "./applications/transfer/v1/tx"; -import * as _115 from "./applications/transfer/v2/packet"; -import * as _116 from "./core/channel/v1/channel"; -import * as _117 from "./core/channel/v1/genesis"; -import * as _118 from "./core/channel/v1/query"; -import * as _119 from "./core/channel/v1/tx"; -import * as _120 from "./core/client/v1/client"; -import * as _121 from "./core/client/v1/genesis"; -import * as _122 from "./core/client/v1/query"; -import * as _123 from "./core/client/v1/tx"; -import * as _124 from "./core/commitment/v1/commitment"; -import * as _125 from "./core/connection/v1/connection"; -import * as _126 from "./core/connection/v1/genesis"; -import * as _127 from "./core/connection/v1/query"; -import * as _128 from "./core/connection/v1/tx"; -import * as _129 from "./core/port/v1/query"; -import * as _130 from "./core/types/v1/genesis"; -import * as _131 from "./lightclients/localhost/v1/localhost"; -import * as _132 from "./lightclients/solomachine/v1/solomachine"; -import * as _133 from "./lightclients/solomachine/v2/solomachine"; -import * as _134 from "./lightclients/tendermint/v1/tendermint"; -import * as _228 from "./applications/transfer/v1/tx.amino"; -import * as _229 from "./core/channel/v1/tx.amino"; -import * as _230 from "./core/client/v1/tx.amino"; -import * as _231 from "./core/connection/v1/tx.amino"; -import * as _232 from "./applications/transfer/v1/tx.registry"; -import * as _233 from "./core/channel/v1/tx.registry"; -import * as _234 from "./core/client/v1/tx.registry"; -import * as _235 from "./core/connection/v1/tx.registry"; -import * as _236 from "./applications/transfer/v1/query.lcd"; -import * as _237 from "./core/channel/v1/query.lcd"; -import * as _238 from "./core/client/v1/query.lcd"; -import * as _239 from "./core/connection/v1/query.lcd"; -import * as _240 from "./applications/transfer/v1/query.rpc.query"; -import * as _241 from "./core/channel/v1/query.rpc.query"; -import * as _242 from "./core/client/v1/query.rpc.query"; -import * as _243 from "./core/connection/v1/query.rpc.query"; -import * as _244 from "./core/port/v1/query.rpc.query"; -import * as _245 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _246 from "./core/channel/v1/tx.rpc.msg"; -import * as _247 from "./core/client/v1/tx.rpc.msg"; -import * as _248 from "./core/connection/v1/tx.rpc.msg"; -import * as _255 from "./lcd"; -import * as _256 from "./rpc.query"; -import * as _257 from "./rpc.tx"; +import * as _108 from "./applications/transfer/v1/genesis"; +import * as _109 from "./applications/transfer/v1/query"; +import * as _110 from "./applications/transfer/v1/transfer"; +import * as _111 from "./applications/transfer/v1/tx"; +import * as _112 from "./applications/transfer/v2/packet"; +import * as _113 from "./core/channel/v1/channel"; +import * as _114 from "./core/channel/v1/genesis"; +import * as _115 from "./core/channel/v1/query"; +import * as _116 from "./core/channel/v1/tx"; +import * as _117 from "./core/client/v1/client"; +import * as _118 from "./core/client/v1/genesis"; +import * as _119 from "./core/client/v1/query"; +import * as _120 from "./core/client/v1/tx"; +import * as _121 from "./core/commitment/v1/commitment"; +import * as _122 from "./core/connection/v1/connection"; +import * as _123 from "./core/connection/v1/genesis"; +import * as _124 from "./core/connection/v1/query"; +import * as _125 from "./core/connection/v1/tx"; +import * as _126 from "./core/port/v1/query"; +import * as _127 from "./core/types/v1/genesis"; +import * as _128 from "./lightclients/localhost/v1/localhost"; +import * as _129 from "./lightclients/solomachine/v1/solomachine"; +import * as _130 from "./lightclients/solomachine/v2/solomachine"; +import * as _131 from "./lightclients/tendermint/v1/tendermint"; +import * as _225 from "./applications/transfer/v1/tx.amino"; +import * as _226 from "./core/channel/v1/tx.amino"; +import * as _227 from "./core/client/v1/tx.amino"; +import * as _228 from "./core/connection/v1/tx.amino"; +import * as _229 from "./applications/transfer/v1/tx.registry"; +import * as _230 from "./core/channel/v1/tx.registry"; +import * as _231 from "./core/client/v1/tx.registry"; +import * as _232 from "./core/connection/v1/tx.registry"; +import * as _233 from "./applications/transfer/v1/query.lcd"; +import * as _234 from "./core/channel/v1/query.lcd"; +import * as _235 from "./core/client/v1/query.lcd"; +import * as _236 from "./core/connection/v1/query.lcd"; +import * as _237 from "./applications/transfer/v1/query.rpc.query"; +import * as _238 from "./core/channel/v1/query.rpc.query"; +import * as _239 from "./core/client/v1/query.rpc.query"; +import * as _240 from "./core/connection/v1/query.rpc.query"; +import * as _241 from "./core/port/v1/query.rpc.query"; +import * as _242 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _243 from "./core/channel/v1/tx.rpc.msg"; +import * as _244 from "./core/client/v1/tx.rpc.msg"; +import * as _245 from "./core/connection/v1/tx.rpc.msg"; +import * as _252 from "./lcd"; +import * as _253 from "./rpc.query"; +import * as _254 from "./rpc.tx"; export namespace ibc { export namespace applications { export namespace transfer { - export const v1 = { ..._111, - ..._112, - ..._113, - ..._114, - ..._228, - ..._232, - ..._236, - ..._240, - ..._245 + export const v1 = { ..._108, + ..._109, + ..._110, + ..._111, + ..._225, + ..._229, + ..._233, + ..._237, + ..._242 }; - export const v2 = { ..._115 + export const v2 = { ..._112 }; } } export namespace core { export namespace channel { - export const v1 = { ..._116, - ..._117, - ..._118, - ..._119, - ..._229, - ..._233, - ..._237, - ..._241, - ..._246 - }; - } - export namespace client { - export const v1 = { ..._120, - ..._121, - ..._122, - ..._123, + export const v1 = { ..._113, + ..._114, + ..._115, + ..._116, + ..._226, ..._230, ..._234, ..._238, - ..._242, - ..._247 + ..._243 + }; + } + export namespace client { + export const v1 = { ..._117, + ..._118, + ..._119, + ..._120, + ..._227, + ..._231, + ..._235, + ..._239, + ..._244 }; } export namespace commitment { - export const v1 = { ..._124 + export const v1 = { ..._121 }; } export namespace connection { - export const v1 = { ..._125, - ..._126, - ..._127, - ..._128, - ..._231, - ..._235, - ..._239, - ..._243, - ..._248 + export const v1 = { ..._122, + ..._123, + ..._124, + ..._125, + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 }; } export namespace port { - export const v1 = { ..._129, - ..._244 + export const v1 = { ..._126, + ..._241 }; } export namespace types { - export const v1 = { ..._130 + export const v1 = { ..._127 }; } } export namespace lightclients { export namespace localhost { - export const v1 = { ..._131 + export const v1 = { ..._128 }; } export namespace solomachine { - export const v1 = { ..._132 + export const v1 = { ..._129 }; - export const v2 = { ..._133 + export const v2 = { ..._130 }; } export namespace tendermint { - export const v1 = { ..._134 + export const v1 = { ..._131 }; } } - export const ClientFactory = { ..._255, - ..._256, - ..._257 + export const ClientFactory = { ..._252, + ..._253, + ..._254 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/client.ts b/examples/telescope/codegen/ibc/client.ts index 4c4240336..d082598fa 100644 --- a/examples/telescope/codegen/ibc/client.ts +++ b/examples/telescope/codegen/ibc/client.ts @@ -8,6 +8,12 @@ import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; +export const ibcAminoConverters = { ...ibcApplicationsTransferV1TxAmino.AminoConverter, + ...ibcCoreChannelV1TxAmino.AminoConverter, + ...ibcCoreClientV1TxAmino.AminoConverter, + ...ibcCoreConnectionV1TxAmino.AminoConverter +}; +export const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]; export const getSigningIbcClientOptions = ({ defaultTypes = defaultRegistryTypes }: { @@ -16,11 +22,8 @@ export const getSigningIbcClientOptions = ({ registry: Registry; aminoTypes: AminoTypes; } => { - const registry = new Registry([...defaultTypes, ...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]); - const aminoTypes = new AminoTypes({ ...ibcApplicationsTransferV1TxAmino.AminoConverter, - ...ibcCoreChannelV1TxAmino.AminoConverter, - ...ibcCoreClientV1TxAmino.AminoConverter, - ...ibcCoreConnectionV1TxAmino.AminoConverter + const registry = new Registry([...defaultTypes, ...ibcProtoRegistry]); + const aminoTypes = new AminoTypes({ ...ibcAminoConverters }); return { registry, diff --git a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts index 4ea7be915..135c1675a 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts @@ -1,6 +1,6 @@ import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * State defines if a channel is in one of the following states: * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. @@ -102,8 +102,9 @@ export function stateToJSON(object: State): string { case State.STATE_CLOSED: return "STATE_CLOSED"; + case State.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** Order defines if a channel is ORDERED or UNORDERED */ @@ -169,8 +170,9 @@ export function orderToJSON(object: Order): string { case Order.ORDER_ORDERED: return "ORDER_ORDERED"; + case Order.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -187,7 +189,7 @@ export interface Channel { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -212,7 +214,7 @@ export interface ChannelSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -236,7 +238,7 @@ export interface IdentifiedChannel { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -266,7 +268,7 @@ export interface IdentifiedChannelSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * list of connection identifiers, in order, along which packets sent on * this channel will travel @@ -327,7 +329,7 @@ export interface Packet { data: Uint8Array; /** block height after which the packet times out */ - timeoutHeight: Height | undefined; + timeoutHeight?: Height | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ timeoutTimestamp: Long; @@ -358,7 +360,7 @@ export interface PacketSDKType { data: Uint8Array; /** block height after which the packet times out */ - timeout_height: HeightSDKType | undefined; + timeout_height?: HeightSDKType | undefined; /** block timestamp (in nanoseconds) after which the packet times out */ timeout_timestamp: Long; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts index 4dc24900b..819579b03 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc channel submodule's genesis state. */ export interface GenesisState { diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts index c3eb887f9..dad6252aa 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; export class LCDQueryClient { @@ -49,7 +49,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConnectionChannels queries all the channels associated with a connection - end. */ + end. */ async connectionChannels(params: QueryConnectionChannelsRequest): Promise { @@ -65,7 +65,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers. */ + with the provided channel identifiers. */ async channelClientState(params: QueryChannelClientStateRequest): Promise { @@ -73,7 +73,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers. */ + associated with the provided channel identifiers. */ async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { @@ -88,7 +88,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* PacketCommitments returns all the packet commitments hashes associated - with a channel. */ + with a channel. */ async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { @@ -104,7 +104,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* PacketReceipt queries if a given packet sequence has been received on the - queried chain */ + queried chain */ async packetReceipt(params: QueryPacketReceiptRequest): Promise { @@ -119,7 +119,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* PacketAcknowledgements returns all the packet acknowledgements associated - with a channel. */ + with a channel. */ async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { @@ -139,7 +139,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences. */ + channel and sequences. */ async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { @@ -147,7 +147,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences. */ + with a channel and sequences. */ async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts index 8a9c38668..4fbeb5b70 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts @@ -1,57 +1,72 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponse, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse, QueryNextSequenceReceiveResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - channel(request: QueryChannelRequest): Promise; - /*Channel queries an IBC Channel.*/ - - channels(request?: QueryChannelsRequest): Promise; - /*Channels queries all the IBC channels of a chain.*/ - - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - /*ConnectionChannels queries all the channels associated with a connection - end.*/ - - channelClientState(request: QueryChannelClientStateRequest): Promise; - /*ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers.*/ - - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - /*ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers.*/ - - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - /*PacketCommitment queries a stored packet commitment hash.*/ - - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - /*PacketCommitments returns all the packet commitments hashes associated - with a channel.*/ - - packetReceipt(request: QueryPacketReceiptRequest): Promise; - /*PacketReceipt queries if a given packet sequence has been received on the - queried chain*/ - - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - /*PacketAcknowledgement queries a stored packet acknowledgement hash.*/ - - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - /*PacketAcknowledgements returns all the packet acknowledgements associated - with a channel.*/ - - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - /*UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences.*/ - - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - /*UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences.*/ - - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; - /*NextSequenceReceive returns the next receive sequence for a given channel.*/ - + /** Channel queries an IBC Channel. */ + channel(request: QueryChannelRequest): Promise; + /** Channels queries all the IBC channels of a chain. */ + + channels(request?: QueryChannelsRequest): Promise; + /** + * ConnectionChannels queries all the channels associated with a connection + * end. + */ + + connectionChannels(request: QueryConnectionChannelsRequest): Promise; + /** + * ChannelClientState queries for the client state for the channel associated + * with the provided channel identifiers. + */ + + channelClientState(request: QueryChannelClientStateRequest): Promise; + /** + * ChannelConsensusState queries for the consensus state for the channel + * associated with the provided channel identifiers. + */ + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + /** PacketCommitment queries a stored packet commitment hash. */ + + packetCommitment(request: QueryPacketCommitmentRequest): Promise; + /** + * PacketCommitments returns all the packet commitments hashes associated + * with a channel. + */ + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + /** + * PacketReceipt queries if a given packet sequence has been received on the + * queried chain + */ + + packetReceipt(request: QueryPacketReceiptRequest): Promise; + /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + /** + * PacketAcknowledgements returns all the packet acknowledgements associated + * with a channel. + */ + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + /** + * UnreceivedPackets returns all the unreceived IBC packets associated with a + * channel and sequences. + */ + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + /** + * UnreceivedAcks returns all the unreceived IBC acknowledgements associated + * with a channel and sequences. + */ + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + /** NextSequenceReceive returns the next receive sequence for a given channel. */ + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -73,7 +88,7 @@ export class QueryClientImpl implements Query { this.nextSequenceReceive = this.nextSequenceReceive.bind(this); } - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { const data = QueryChannelRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); @@ -81,73 +96,73 @@ export class QueryClientImpl implements Query { channels(request: QueryChannelsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); } - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { const data = QueryConnectionChannelsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); } - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { const data = QueryChannelClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); } - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { const data = QueryChannelConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); } - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { const data = QueryPacketCommitmentRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); } - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { const data = QueryPacketCommitmentsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); } - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { const data = QueryPacketReceiptRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); } - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { const data = QueryPacketAcknowledgementRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); } - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); } - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { const data = QueryUnreceivedPacketsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); } - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { const data = QueryUnreceivedAcksRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); } - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { const data = QueryNextSequenceReceiveRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); @@ -158,55 +173,55 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - channel(request: QueryChannelRequest): Promise { + channel(request: QueryChannelRequest): Promise { return queryService.channel(request); }, - channels(request?: QueryChannelsRequest): Promise { + channels(request?: QueryChannelsRequest): Promise { return queryService.channels(request); }, - connectionChannels(request: QueryConnectionChannelsRequest): Promise { + connectionChannels(request: QueryConnectionChannelsRequest): Promise { return queryService.connectionChannels(request); }, - channelClientState(request: QueryChannelClientStateRequest): Promise { + channelClientState(request: QueryChannelClientStateRequest): Promise { return queryService.channelClientState(request); }, - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { return queryService.channelConsensusState(request); }, - packetCommitment(request: QueryPacketCommitmentRequest): Promise { + packetCommitment(request: QueryPacketCommitmentRequest): Promise { return queryService.packetCommitment(request); }, - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { return queryService.packetCommitments(request); }, - packetReceipt(request: QueryPacketReceiptRequest): Promise { + packetReceipt(request: QueryPacketReceiptRequest): Promise { return queryService.packetReceipt(request); }, - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { return queryService.packetAcknowledgement(request); }, - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { return queryService.packetAcknowledgements(request); }, - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { return queryService.unreceivedPackets(request); }, - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { return queryService.unreceivedAcks(request); }, - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { return queryService.nextSequenceReceive(request); } diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.ts index 2d6ac82a3..b4b4b297b 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.ts @@ -3,7 +3,7 @@ import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, P import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** QueryChannelRequest is the request type for the Query/Channel RPC method */ export interface QueryChannelRequest { @@ -30,13 +30,13 @@ export interface QueryChannelRequestSDKType { export interface QueryChannelResponse { /** channel associated with the request identifiers */ - channel: Channel | undefined; + channel?: Channel | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelResponse is the response type for the Query/Channel RPC method. @@ -46,13 +46,13 @@ export interface QueryChannelResponse { export interface QueryChannelResponseSDKType { /** channel associated with the request identifiers */ - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** QueryChannelsRequest is the request type for the Query/Channels RPC method */ @@ -76,7 +76,7 @@ export interface QueryChannelsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ @@ -88,7 +88,7 @@ export interface QueryChannelsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryConnectionChannelsRequest is the request type for the @@ -127,7 +127,7 @@ export interface QueryConnectionChannelsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryConnectionChannelsResponse is the Response type for the @@ -142,7 +142,7 @@ export interface QueryConnectionChannelsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryChannelClientStateRequest is the request type for the Query/ClientState @@ -175,13 +175,13 @@ export interface QueryChannelClientStateRequestSDKType { export interface QueryChannelClientStateResponse { /** client state associated with the channel */ - identifiedClientState: IdentifiedClientState | undefined; + identifiedClientState?: IdentifiedClientState | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelClientStateResponse is the Response type for the @@ -190,13 +190,13 @@ export interface QueryChannelClientStateResponse { export interface QueryChannelClientStateResponseSDKType { /** client state associated with the channel */ - identified_client_state: IdentifiedClientStateSDKType | undefined; + identified_client_state?: IdentifiedClientStateSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryChannelConsensusStateRequest is the request type for the @@ -241,7 +241,7 @@ export interface QueryChannelConsensusStateRequestSDKType { export interface QueryChannelConsensusStateResponse { /** consensus state associated with the channel */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** client ID associated with the consensus state */ clientId: string; @@ -250,7 +250,7 @@ export interface QueryChannelConsensusStateResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryChannelClientStateResponse is the Response type for the @@ -259,7 +259,7 @@ export interface QueryChannelConsensusStateResponse { export interface QueryChannelConsensusStateResponseSDKType { /** consensus state associated with the channel */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** client ID associated with the consensus state */ client_id: string; @@ -268,7 +268,7 @@ export interface QueryChannelConsensusStateResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketCommitmentRequest is the request type for the @@ -314,7 +314,7 @@ export interface QueryPacketCommitmentResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketCommitmentResponse defines the client query response for a packet @@ -330,7 +330,7 @@ export interface QueryPacketCommitmentResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketCommitmentsRequest is the request type for the @@ -374,7 +374,7 @@ export interface QueryPacketCommitmentsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryPacketCommitmentsResponse is the request type for the @@ -388,7 +388,7 @@ export interface QueryPacketCommitmentsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryPacketReceiptRequest is the request type for the @@ -434,7 +434,7 @@ export interface QueryPacketReceiptResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketReceiptResponse defines the client query response for a packet @@ -450,7 +450,7 @@ export interface QueryPacketReceiptResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketAcknowledgementRequest is the request type for the @@ -496,7 +496,7 @@ export interface QueryPacketAcknowledgementResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryPacketAcknowledgementResponse defines the client query response for a @@ -512,7 +512,7 @@ export interface QueryPacketAcknowledgementResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryPacketAcknowledgementsRequest is the request type for the @@ -530,7 +530,7 @@ export interface QueryPacketAcknowledgementsRequest { pagination?: PageRequest | undefined; /** list of packet sequences */ - packetCommitmentSequences?: Long[]; + packetCommitmentSequences: Long[]; } /** * QueryPacketAcknowledgementsRequest is the request type for the @@ -548,7 +548,7 @@ export interface QueryPacketAcknowledgementsRequestSDKType { pagination?: PageRequestSDKType | undefined; /** list of packet sequences */ - packet_commitment_sequences?: Long[]; + packet_commitment_sequences: Long[]; } /** * QueryPacketAcknowledgemetsResponse is the request type for the @@ -562,7 +562,7 @@ export interface QueryPacketAcknowledgementsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryPacketAcknowledgemetsResponse is the request type for the @@ -576,7 +576,7 @@ export interface QueryPacketAcknowledgementsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryUnreceivedPacketsRequest is the request type for the @@ -618,7 +618,7 @@ export interface QueryUnreceivedPacketsResponse { sequences: Long[]; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryUnreceivedPacketsResponse is the response type for the @@ -630,7 +630,7 @@ export interface QueryUnreceivedPacketsResponseSDKType { sequences: Long[]; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryUnreceivedAcks is the request type for the @@ -672,7 +672,7 @@ export interface QueryUnreceivedAcksResponse { sequences: Long[]; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryUnreceivedAcksResponse is the response type for the @@ -684,7 +684,7 @@ export interface QueryUnreceivedAcksResponseSDKType { sequences: Long[]; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryNextSequenceReceiveRequest is the request type for the @@ -723,7 +723,7 @@ export interface QueryNextSequenceReceiveResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QuerySequenceResponse is the request type for the @@ -738,7 +738,7 @@ export interface QueryNextSequenceReceiveResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } function createBaseQueryChannelRequest(): QueryChannelRequest { @@ -821,7 +821,7 @@ export const QueryChannelResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelResponse(); @@ -931,7 +931,7 @@ export const QueryChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelsResponse(); @@ -1051,7 +1051,7 @@ export const QueryConnectionChannelsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionChannelsResponse(); @@ -1171,7 +1171,7 @@ export const QueryChannelClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelClientStateResponse(); @@ -1316,7 +1316,7 @@ export const QueryChannelConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryChannelConsensusStateResponse(); @@ -1451,7 +1451,7 @@ export const QueryPacketCommitmentResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentResponse(); @@ -1581,7 +1581,7 @@ export const QueryPacketCommitmentsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketCommitmentsResponse(); @@ -1711,7 +1711,7 @@ export const QueryPacketReceiptResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketReceiptResponse(); @@ -1841,7 +1841,7 @@ export const QueryPacketAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementResponse(); @@ -1993,7 +1993,7 @@ export const QueryPacketAcknowledgementsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryPacketAcknowledgementsResponse(); @@ -2134,7 +2134,7 @@ export const QueryUnreceivedPacketsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedPacketsResponse(); @@ -2279,7 +2279,7 @@ export const QueryUnreceivedAcksResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUnreceivedAcksResponse(); @@ -2403,7 +2403,7 @@ export const QueryNextSequenceReceiveResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryNextSequenceReceiveResponse(); diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts index 799eb6de4..51cd3b06b 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts @@ -1,6 +1,6 @@ import { stateFromJSON, orderFromJSON } from "./channel"; import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, omitDefault, Long } from "@osmonauts/helpers"; +import { AminoHeight, omitDefault, Long } from "../../../../helpers"; import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; export interface AminoMsgChannelOpenInit extends AminoMsg { type: "cosmos-sdk/MsgChannelOpenInit"; diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts index 94f7d8538..b9ebcc50b 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -1,40 +1,41 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenInitResponseSDKType, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenTryResponseSDKType, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenAckResponseSDKType, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelOpenConfirmResponseSDKType, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseInitResponseSDKType, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgChannelCloseConfirmResponseSDKType, MsgRecvPacket, MsgRecvPacketResponse, MsgRecvPacketResponseSDKType, MsgTimeout, MsgTimeoutResponse, MsgTimeoutResponseSDKType, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgTimeoutOnCloseResponseSDKType, MsgAcknowledgement, MsgAcknowledgementResponse, MsgAcknowledgementResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; +/** Msg defines the ibc/channel Msg service. */ export interface Msg { - channelOpenInit(request: MsgChannelOpenInit): Promise; - /*ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.*/ + /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */ + channelOpenInit(request: MsgChannelOpenInit): Promise; + /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */ - channelOpenTry(request: MsgChannelOpenTry): Promise; - /*ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.*/ + channelOpenTry(request: MsgChannelOpenTry): Promise; + /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */ - channelOpenAck(request: MsgChannelOpenAck): Promise; - /*ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.*/ + channelOpenAck(request: MsgChannelOpenAck): Promise; + /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */ - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; - /*ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.*/ + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */ - channelCloseInit(request: MsgChannelCloseInit): Promise; - /*ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.*/ + channelCloseInit(request: MsgChannelCloseInit): Promise; + /** + * ChannelCloseConfirm defines a rpc handler method for + * MsgChannelCloseConfirm. + */ - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; - /*ChannelCloseConfirm defines a rpc handler method for - MsgChannelCloseConfirm.*/ + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + /** RecvPacket defines a rpc handler method for MsgRecvPacket. */ - recvPacket(request: MsgRecvPacket): Promise; - /*RecvPacket defines a rpc handler method for MsgRecvPacket.*/ + recvPacket(request: MsgRecvPacket): Promise; + /** Timeout defines a rpc handler method for MsgTimeout. */ - timeout(request: MsgTimeout): Promise; - /*Timeout defines a rpc handler method for MsgTimeout.*/ + timeout(request: MsgTimeout): Promise; + /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */ - timeoutOnClose(request: MsgTimeoutOnClose): Promise; - /*TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.*/ - - acknowledgement(request: MsgAcknowledgement): Promise; - /*Acknowledgement defines a rpc handler method for MsgAcknowledgement.*/ + timeoutOnClose(request: MsgTimeoutOnClose): Promise; + /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */ + acknowledgement(request: MsgAcknowledgement): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -53,61 +54,61 @@ export class MsgClientImpl implements Msg { this.acknowledgement = this.acknowledgement.bind(this); } - channelOpenInit(request: MsgChannelOpenInit): Promise { + channelOpenInit(request: MsgChannelOpenInit): Promise { const data = MsgChannelOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); } - channelOpenTry(request: MsgChannelOpenTry): Promise { + channelOpenTry(request: MsgChannelOpenTry): Promise { const data = MsgChannelOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); } - channelOpenAck(request: MsgChannelOpenAck): Promise { + channelOpenAck(request: MsgChannelOpenAck): Promise { const data = MsgChannelOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); } - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { const data = MsgChannelOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); } - channelCloseInit(request: MsgChannelCloseInit): Promise { + channelCloseInit(request: MsgChannelCloseInit): Promise { const data = MsgChannelCloseInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); } - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { const data = MsgChannelCloseConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); } - recvPacket(request: MsgRecvPacket): Promise { + recvPacket(request: MsgRecvPacket): Promise { const data = MsgRecvPacket.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); } - timeout(request: MsgTimeout): Promise { + timeout(request: MsgTimeout): Promise { const data = MsgTimeout.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); } - timeoutOnClose(request: MsgTimeoutOnClose): Promise { + timeoutOnClose(request: MsgTimeoutOnClose): Promise { const data = MsgTimeoutOnClose.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); } - acknowledgement(request: MsgAcknowledgement): Promise { + acknowledgement(request: MsgAcknowledgement): Promise { const data = MsgAcknowledgement.encode(request).finish(); const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts index 090d272d2..46bf2e53c 100644 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts @@ -1,7 +1,7 @@ import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It * is called by a relayer on Chain A. @@ -9,7 +9,7 @@ import { Long } from "@osmonauts/helpers"; export interface MsgChannelOpenInit { portId: string; - channel: Channel | undefined; + channel?: Channel | undefined; signer: string; } /** @@ -19,7 +19,7 @@ export interface MsgChannelOpenInit { export interface MsgChannelOpenInitSDKType { port_id: string; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; signer: string; } /** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ @@ -41,10 +41,10 @@ export interface MsgChannelOpenTry { */ previousChannelId: string; - channel: Channel | undefined; + channel?: Channel | undefined; counterpartyVersion: string; proofInit: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -60,10 +60,10 @@ export interface MsgChannelOpenTrySDKType { */ previous_channel_id: string; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; counterparty_version: string; proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ @@ -83,7 +83,7 @@ export interface MsgChannelOpenAck { counterpartyChannelId: string; counterpartyVersion: string; proofTry: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -97,7 +97,7 @@ export interface MsgChannelOpenAckSDKType { counterparty_channel_id: string; counterparty_version: string; proof_try: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ @@ -115,7 +115,7 @@ export interface MsgChannelOpenConfirm { portId: string; channelId: string; proofAck: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -127,7 +127,7 @@ export interface MsgChannelOpenConfirmSDKType { port_id: string; channel_id: string; proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -177,7 +177,7 @@ export interface MsgChannelCloseConfirm { portId: string; channelId: string; proofInit: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -189,7 +189,7 @@ export interface MsgChannelCloseConfirmSDKType { port_id: string; channel_id: string; proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -207,17 +207,17 @@ export interface MsgChannelCloseConfirmResponseSDKType {} /** MsgRecvPacket receives incoming IBC packet */ export interface MsgRecvPacket { - packet: Packet | undefined; + packet?: Packet | undefined; proofCommitment: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** MsgRecvPacket receives incoming IBC packet */ export interface MsgRecvPacketSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_commitment: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ @@ -229,18 +229,18 @@ export interface MsgRecvPacketResponseSDKType {} /** MsgTimeout receives timed-out packet */ export interface MsgTimeout { - packet: Packet | undefined; + packet?: Packet | undefined; proofUnreceived: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; nextSequenceRecv: Long; signer: string; } /** MsgTimeout receives timed-out packet */ export interface MsgTimeoutSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_unreceived: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; next_sequence_recv: Long; signer: string; } @@ -253,20 +253,20 @@ export interface MsgTimeoutResponseSDKType {} /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ export interface MsgTimeoutOnClose { - packet: Packet | undefined; + packet?: Packet | undefined; proofUnreceived: Uint8Array; proofClose: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; nextSequenceRecv: Long; signer: string; } /** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ export interface MsgTimeoutOnCloseSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; proof_unreceived: Uint8Array; proof_close: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; next_sequence_recv: Long; signer: string; } @@ -279,19 +279,19 @@ export interface MsgTimeoutOnCloseResponseSDKType {} /** MsgAcknowledgement receives incoming IBC acknowledgement */ export interface MsgAcknowledgement { - packet: Packet | undefined; + packet?: Packet | undefined; acknowledgement: Uint8Array; proofAcked: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** MsgAcknowledgement receives incoming IBC acknowledgement */ export interface MsgAcknowledgementSDKType { - packet: PacketSDKType | undefined; + packet?: PacketSDKType | undefined; acknowledgement: Uint8Array; proof_acked: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ @@ -375,7 +375,7 @@ export const MsgChannelOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenInitResponse(); @@ -514,7 +514,7 @@ export const MsgChannelOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenTryResponse(); @@ -653,7 +653,7 @@ export const MsgChannelOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenAckResponse(); @@ -772,7 +772,7 @@ export const MsgChannelOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelOpenConfirmResponse(); @@ -871,7 +871,7 @@ export const MsgChannelCloseInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseInitResponse(); @@ -990,7 +990,7 @@ export const MsgChannelCloseConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgChannelCloseConfirmResponse(); @@ -1099,7 +1099,7 @@ export const MsgRecvPacketResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgRecvPacketResponse(); @@ -1218,7 +1218,7 @@ export const MsgTimeoutResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutResponse(); @@ -1347,7 +1347,7 @@ export const MsgTimeoutOnCloseResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgTimeoutOnCloseResponse(); @@ -1466,7 +1466,7 @@ export const MsgAcknowledgementResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgAcknowledgementResponse(); diff --git a/examples/telescope/codegen/ibc/core/client/v1/client.ts b/examples/telescope/codegen/ibc/core/client/v1/client.ts index b5e632919..7d7dbc203 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/client.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/client.ts @@ -1,7 +1,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. @@ -12,7 +12,7 @@ export interface IdentifiedClientState { clientId: string; /** client state */ - clientState: Any | undefined; + clientState?: Any | undefined; } /** * IdentifiedClientState defines a client state with an additional client @@ -24,7 +24,7 @@ export interface IdentifiedClientStateSDKType { client_id: string; /** client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateWithHeight defines a consensus state with an additional height @@ -33,10 +33,10 @@ export interface IdentifiedClientStateSDKType { export interface ConsensusStateWithHeight { /** consensus state height */ - height: Height | undefined; + height?: Height | undefined; /** consensus state */ - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateWithHeight defines a consensus state with an additional height @@ -45,10 +45,10 @@ export interface ConsensusStateWithHeight { export interface ConsensusStateWithHeightSDKType { /** consensus state height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; /** consensus state */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ClientConsensusStates defines all the stored consensus states for a given @@ -128,7 +128,7 @@ export interface ClientUpdateProposalSDKType { export interface UpgradeProposal { title: string; description: string; - plan: Plan | undefined; + plan?: Plan | undefined; /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -138,7 +138,7 @@ export interface UpgradeProposal { * planned chain upgrades */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** * UpgradeProposal is a gov Content type for initiating an IBC breaking @@ -148,7 +148,7 @@ export interface UpgradeProposal { export interface UpgradeProposalSDKType { title: string; description: string; - plan: PlanSDKType | undefined; + plan?: PlanSDKType | undefined; /** * An UpgradedClientState must be provided to perform an IBC breaking upgrade. * This will make the chain commit to the correct upgraded (self) client state @@ -158,7 +158,7 @@ export interface UpgradeProposalSDKType { * planned chain upgrades */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * Height is a monotonically increasing data type diff --git a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts index e4ff7bcc0..4f326ca3b 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc client submodule's genesis state. */ export interface GenesisState { @@ -12,7 +12,7 @@ export interface GenesisState { /** metadata from each client */ clientsMetadata: IdentifiedGenesisMetadata[]; - params: Params | undefined; + params?: Params | undefined; /** create localhost on initialization */ createLocalhost: boolean; @@ -31,7 +31,7 @@ export interface GenesisStateSDKType { /** metadata from each client */ clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; /** create localhost on initialization */ create_localhost: boolean; diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts index ebf8ab744..16255995c 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; export class LCDQueryClient { @@ -44,7 +44,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConsensusState queries a consensus state associated with a client state at - a given height. */ + a given height. */ async consensusState(params: QueryConsensusStateRequest): Promise { @@ -60,7 +60,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ConsensusStates queries all the consensus state associated with a given - client. */ + client. */ async consensusStates(params: QueryConsensusStatesRequest): Promise { diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts index 2229a6a4b..58429d53b 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts @@ -1,36 +1,39 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponse, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponse, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - clientState(request: QueryClientStateRequest): Promise; - /*ClientState queries an IBC light client.*/ + /** ClientState queries an IBC light client. */ + clientState(request: QueryClientStateRequest): Promise; + /** ClientStates queries all the IBC light clients of a chain. */ - clientStates(request?: QueryClientStatesRequest): 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; - /*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; - /*ConsensusStates queries all the consensus state associated with a given - client.*/ + consensusStates(request: QueryConsensusStatesRequest): Promise; + /** Status queries the status of an IBC client. */ - clientStatus(request: QueryClientStatusRequest): 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; - /*ClientParams queries all parameters of the ibc client.*/ + clientParams(request?: QueryClientParamsRequest): Promise; + /** UpgradedClientState queries an Upgraded IBC light client. */ - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - /*UpgradedClientState queries an Upgraded IBC light client.*/ - - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; - /*UpgradedConsensusState queries an Upgraded IBC consensus state.*/ + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; + /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -47,7 +50,7 @@ export class QueryClientImpl implements Query { this.upgradedConsensusState = this.upgradedConsensusState.bind(this); } - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { const data = QueryClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); @@ -55,43 +58,43 @@ export class QueryClientImpl implements Query { clientStates(request: QueryClientStatesRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryClientStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); } - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { const data = QueryConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); } - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { const data = QueryConsensusStatesRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); } - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { const data = QueryClientStatusRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); } - clientParams(request: QueryClientParamsRequest = {}): Promise { + clientParams(request: QueryClientParamsRequest = {}): Promise { const data = QueryClientParamsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); } - upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { + upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { const data = QueryUpgradedClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); } - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); @@ -102,35 +105,35 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - clientState(request: QueryClientStateRequest): Promise { + clientState(request: QueryClientStateRequest): Promise { return queryService.clientState(request); }, - clientStates(request?: QueryClientStatesRequest): Promise { + clientStates(request?: QueryClientStatesRequest): Promise { return queryService.clientStates(request); }, - consensusState(request: QueryConsensusStateRequest): Promise { + consensusState(request: QueryConsensusStateRequest): Promise { return queryService.consensusState(request); }, - consensusStates(request: QueryConsensusStatesRequest): Promise { + consensusStates(request: QueryConsensusStatesRequest): Promise { return queryService.consensusStates(request); }, - clientStatus(request: QueryClientStatusRequest): Promise { + clientStatus(request: QueryClientStatusRequest): Promise { return queryService.clientStatus(request); }, - clientParams(request?: QueryClientParamsRequest): Promise { + clientParams(request?: QueryClientParamsRequest): Promise { return queryService.clientParams(request); }, - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { return queryService.upgradedClientState(request); }, - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { return queryService.upgradedConsensusState(request); } diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.ts index 0163ae655..02d4a0510 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/query.ts @@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method @@ -29,13 +29,13 @@ export interface QueryClientStateRequestSDKType { export interface QueryClientStateResponse { /** client state associated with the request identifier */ - clientState: Any | undefined; + clientState?: Any | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -45,13 +45,13 @@ export interface QueryClientStateResponse { export interface QueryClientStateResponseSDKType { /** client state associated with the request identifier */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryClientStatesRequest is the request type for the Query/ClientStates RPC @@ -115,7 +115,7 @@ export interface QueryConsensusStateRequest { * ConsensusState */ - latestHeight?: boolean; + latestHeight: boolean; } /** * QueryConsensusStateRequest is the request type for the Query/ConsensusState @@ -137,7 +137,7 @@ export interface QueryConsensusStateRequestSDKType { * ConsensusState */ - latest_height?: boolean; + latest_height: boolean; } /** * QueryConsensusStateResponse is the response type for the Query/ConsensusState @@ -146,13 +146,13 @@ export interface QueryConsensusStateRequestSDKType { export interface QueryConsensusStateResponse { /** consensus state associated with the client identifier at the given height */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConsensusStateResponse is the response type for the Query/ConsensusState @@ -161,13 +161,13 @@ export interface QueryConsensusStateResponse { export interface QueryConsensusStateResponseSDKType { /** consensus state associated with the client identifier at the given height */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates @@ -270,7 +270,7 @@ export interface QueryClientParamsRequestSDKType {} export interface QueryClientParamsResponse { /** params defines the parameters of the module. */ - params: Params | undefined; + params?: Params | undefined; } /** * QueryClientParamsResponse is the response type for the Query/ClientParams RPC @@ -279,7 +279,7 @@ export interface QueryClientParamsResponse { export interface QueryClientParamsResponseSDKType { /** params defines the parameters of the module. */ - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } /** * QueryUpgradedClientStateRequest is the request type for the @@ -300,7 +300,7 @@ export interface QueryUpgradedClientStateRequestSDKType {} export interface QueryUpgradedClientStateResponse { /** client state associated with the request identifier */ - upgradedClientState: Any | undefined; + upgradedClientState?: Any | undefined; } /** * QueryUpgradedClientStateResponse is the response type for the @@ -309,7 +309,7 @@ export interface QueryUpgradedClientStateResponse { export interface QueryUpgradedClientStateResponseSDKType { /** client state associated with the request identifier */ - upgraded_client_state: AnySDKType | undefined; + upgraded_client_state?: AnySDKType | undefined; } /** * QueryUpgradedConsensusStateRequest is the request type for the @@ -330,7 +330,7 @@ export interface QueryUpgradedConsensusStateRequestSDKType {} export interface QueryUpgradedConsensusStateResponse { /** Consensus state associated with the request identifier */ - upgradedConsensusState: Any | undefined; + upgradedConsensusState?: Any | undefined; } /** * QueryUpgradedConsensusStateResponse is the response type for the @@ -339,7 +339,7 @@ export interface QueryUpgradedConsensusStateResponse { export interface QueryUpgradedConsensusStateResponseSDKType { /** Consensus state associated with the request identifier */ - upgraded_consensus_state: AnySDKType | undefined; + upgraded_consensus_state?: AnySDKType | undefined; } function createBaseQueryClientStateRequest(): QueryClientStateRequest { @@ -412,7 +412,7 @@ export const QueryClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStateResponse(); @@ -517,7 +517,7 @@ export const QueryClientStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatesResponse(); @@ -652,7 +652,7 @@ export const QueryConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStateResponse(); @@ -767,7 +767,7 @@ export const QueryConsensusStatesResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConsensusStatesResponse(); @@ -862,7 +862,7 @@ export const QueryClientStatusResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientStatusResponse(); @@ -941,7 +941,7 @@ export const QueryClientParamsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientParamsResponse(); @@ -1020,7 +1020,7 @@ export const QueryUpgradedClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedClientStateResponse(); @@ -1099,7 +1099,7 @@ export const QueryUpgradedConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryUpgradedConsensusStateResponse(); diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts index 32954d23b..3197da3f9 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -1,21 +1,20 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgCreateClient, MsgCreateClientResponse, MsgCreateClientResponseSDKType, MsgUpdateClient, MsgUpdateClientResponse, MsgUpdateClientResponseSDKType, MsgUpgradeClient, MsgUpgradeClientResponse, MsgUpgradeClientResponseSDKType, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse, MsgSubmitMisbehaviourResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; +/** Msg defines the ibc/client Msg service. */ export interface Msg { - createClient(request: MsgCreateClient): Promise; - /*CreateClient defines a rpc handler method for MsgCreateClient.*/ + /** CreateClient defines a rpc handler method for MsgCreateClient. */ + createClient(request: MsgCreateClient): Promise; + /** UpdateClient defines a rpc handler method for MsgUpdateClient. */ - updateClient(request: MsgUpdateClient): 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; - /*UpgradeClient defines a rpc handler method for MsgUpgradeClient.*/ - - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; - /*SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.*/ + upgradeClient(request: MsgUpgradeClient): Promise; + /** SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. */ + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -28,25 +27,25 @@ export class MsgClientImpl implements Msg { this.submitMisbehaviour = this.submitMisbehaviour.bind(this); } - createClient(request: MsgCreateClient): Promise { + createClient(request: MsgCreateClient): Promise { const data = MsgCreateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); } - updateClient(request: MsgUpdateClient): Promise { + updateClient(request: MsgUpdateClient): Promise { const data = MsgUpdateClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); } - upgradeClient(request: MsgUpgradeClient): Promise { + upgradeClient(request: MsgUpgradeClient): Promise { const data = MsgUpgradeClient.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); } - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { const data = MsgSubmitMisbehaviour.encode(request).finish(); const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.ts index 1936320d5..24b579e8a 100644 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.ts @@ -4,13 +4,13 @@ import * as _m0 from "protobufjs/minimal"; export interface MsgCreateClient { /** light client state */ - clientState: Any | undefined; + clientState?: Any | undefined; /** * consensus state associated with the client that corresponds to a given * height. */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** signer address */ signer: string; @@ -19,13 +19,13 @@ export interface MsgCreateClient { export interface MsgCreateClientSDKType { /** light client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** * consensus state associated with the client that corresponds to a given * height. */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** signer address */ signer: string; @@ -46,7 +46,7 @@ export interface MsgUpdateClient { clientId: string; /** header to update the light client */ - header: Any | undefined; + header?: Any | undefined; /** signer address */ signer: string; @@ -61,7 +61,7 @@ export interface MsgUpdateClientSDKType { client_id: string; /** header to update the light client */ - header: AnySDKType | undefined; + header?: AnySDKType | undefined; /** signer address */ signer: string; @@ -82,13 +82,13 @@ export interface MsgUpgradeClient { clientId: string; /** upgraded client state */ - clientState: Any | undefined; + clientState?: Any | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** proof that old chain committed to new client */ proofUpgradeClient: Uint8Array; @@ -109,13 +109,13 @@ export interface MsgUpgradeClientSDKType { client_id: string; /** upgraded client state */ - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; /** * upgraded consensus state, only contains enough information to serve as a * basis of trust in update logic */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** proof that old chain committed to new client */ proof_upgrade_client: Uint8Array; @@ -142,7 +142,7 @@ export interface MsgSubmitMisbehaviour { clientId: string; /** misbehaviour used for freezing the light client */ - misbehaviour: Any | undefined; + misbehaviour?: Any | undefined; /** signer address */ signer: string; @@ -157,7 +157,7 @@ export interface MsgSubmitMisbehaviourSDKType { client_id: string; /** misbehaviour used for freezing the light client */ - misbehaviour: AnySDKType | undefined; + misbehaviour?: AnySDKType | undefined; /** signer address */ signer: string; @@ -249,7 +249,7 @@ export const MsgCreateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgCreateClientResponse(); @@ -348,7 +348,7 @@ export const MsgUpdateClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpdateClientResponse(); @@ -477,7 +477,7 @@ export const MsgUpgradeClientResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgUpgradeClientResponse(); @@ -576,7 +576,7 @@ export const MsgSubmitMisbehaviourResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgSubmitMisbehaviourResponse(); diff --git a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts index 56675b482..f232ce385 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts @@ -1,6 +1,6 @@ import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * State defines if a connection is in one of the following states: * INIT, TRYOPEN, OPEN or UNINITIALIZED. @@ -83,8 +83,9 @@ export function stateToJSON(object: State): string { case State.STATE_OPEN: return "STATE_OPEN"; + case State.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -108,7 +109,7 @@ export interface ConnectionEnd { state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some @@ -138,7 +139,7 @@ export interface ConnectionEndSDKType { state: StateSDKType; /** counterparty chain associated with this connection. */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** * delay period that must pass before a consensus state can be used for * packet-verification NOTE: delay period logic is only implemented by some @@ -169,7 +170,7 @@ export interface IdentifiedConnection { state: State; /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** delay period associated with this connection. */ delayPeriod: Long; @@ -196,7 +197,7 @@ export interface IdentifiedConnectionSDKType { state: StateSDKType; /** counterparty chain associated with this connection. */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** delay period associated with this connection. */ delay_period: Long; @@ -217,7 +218,7 @@ export interface Counterparty { connectionId: string; /** commitment merkle prefix of the counterparty chain. */ - prefix: MerklePrefix | undefined; + prefix?: MerklePrefix | undefined; } /** Counterparty defines the counterparty chain associated with a connection end. */ @@ -235,7 +236,7 @@ export interface CounterpartySDKType { connection_id: string; /** commitment merkle prefix of the counterparty chain. */ - prefix: MerklePrefixSDKType | undefined; + prefix?: MerklePrefixSDKType | undefined; } /** ClientPaths define all the connection paths for a client state. */ diff --git a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts index d9f7145f8..9bc46b727 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts @@ -1,6 +1,6 @@ import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** GenesisState defines the ibc connection submodule's genesis state. */ export interface GenesisState { @@ -9,7 +9,7 @@ export interface GenesisState { /** the sequence for the next generated connection identifier */ nextConnectionSequence: Long; - params: Params | undefined; + params?: Params | undefined; } /** GenesisState defines the ibc connection submodule's genesis state. */ @@ -19,7 +19,7 @@ export interface GenesisStateSDKType { /** the sequence for the next generated connection identifier */ next_connection_sequence: Long; - params: ParamsSDKType | undefined; + params?: ParamsSDKType | undefined; } function createBaseGenesisState(): GenesisState { diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts index 3f36d30cf..5f34519b7 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts @@ -1,4 +1,4 @@ -import { setPaginationParams } from "@osmonauts/helpers"; +import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@osmonauts/lcd"; import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; export class LCDQueryClient { @@ -41,7 +41,7 @@ export class LCDQueryClient { return await this.req.get(endpoint, options); } /* ClientConnections queries the connection paths associated with a client - state. */ + state. */ async clientConnections(params: QueryClientConnectionsRequest): Promise { @@ -49,7 +49,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ConnectionClientState queries the client state associated with the - connection. */ + connection. */ async connectionClientState(params: QueryConnectionClientStateRequest): Promise { @@ -57,7 +57,7 @@ export class LCDQueryClient { return await this.req.get(endpoint); } /* ConnectionConsensusState queries the consensus state associated with the - connection. */ + connection. */ async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts index eb31397af..e3af26e15 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts @@ -1,28 +1,33 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponse, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse, QueryConnectionConsensusStateResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +/** Query provides defines the gRPC querier service */ export interface Query { - connection(request: QueryConnectionRequest): Promise; - /*Connection queries an IBC connection end.*/ - - connections(request?: QueryConnectionsRequest): Promise; - /*Connections queries all the IBC connections of a chain.*/ - - clientConnections(request: QueryClientConnectionsRequest): Promise; - /*ClientConnections queries the connection paths associated with a client - state.*/ - - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - /*ConnectionClientState queries the client state associated with the - connection.*/ - - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; - /*ConnectionConsensusState queries the consensus state associated with the - connection.*/ - + /** Connection queries an IBC connection end. */ + connection(request: QueryConnectionRequest): Promise; + /** Connections queries all the IBC connections of a chain. */ + + connections(request?: QueryConnectionsRequest): Promise; + /** + * ClientConnections queries the connection paths associated with a client + * state. + */ + + clientConnections(request: QueryClientConnectionsRequest): Promise; + /** + * ConnectionClientState queries the client state associated with the + * connection. + */ + + connectionClientState(request: QueryConnectionClientStateRequest): Promise; + /** + * ConnectionConsensusState queries the consensus state associated with the + * connection. + */ + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -36,7 +41,7 @@ export class QueryClientImpl implements Query { this.connectionConsensusState = this.connectionConsensusState.bind(this); } - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { const data = QueryConnectionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); @@ -44,25 +49,25 @@ export class QueryClientImpl implements Query { connections(request: QueryConnectionsRequest = { pagination: undefined - }): Promise { + }): Promise { const data = QueryConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); } - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { const data = QueryClientConnectionsRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); } - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { const data = QueryConnectionClientStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); } - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { const data = QueryConnectionConsensusStateRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); @@ -73,23 +78,23 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - connection(request: QueryConnectionRequest): Promise { + connection(request: QueryConnectionRequest): Promise { return queryService.connection(request); }, - connections(request?: QueryConnectionsRequest): Promise { + connections(request?: QueryConnectionsRequest): Promise { return queryService.connections(request); }, - clientConnections(request: QueryClientConnectionsRequest): Promise { + clientConnections(request: QueryClientConnectionsRequest): Promise { return queryService.clientConnections(request); }, - connectionClientState(request: QueryConnectionClientStateRequest): Promise { + connectionClientState(request: QueryConnectionClientStateRequest): Promise { return queryService.connectionClientState(request); }, - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { return queryService.connectionConsensusState(request); } diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.ts index 806638982..47a24de55 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.ts @@ -3,7 +3,7 @@ import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedCo import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; import { Any, AnySDKType } from "../../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * QueryConnectionRequest is the request type for the Query/Connection RPC * method @@ -30,13 +30,13 @@ export interface QueryConnectionRequestSDKType { export interface QueryConnectionResponse { /** connection associated with the request identifier */ - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionResponse is the response type for the Query/Connection RPC @@ -46,13 +46,13 @@ export interface QueryConnectionResponse { export interface QueryConnectionResponseSDKType { /** connection associated with the request identifier */ - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionsRequest is the request type for the Query/Connections RPC @@ -83,7 +83,7 @@ export interface QueryConnectionsResponse { pagination?: PageResponse | undefined; /** query block height */ - height: Height | undefined; + height?: Height | undefined; } /** * QueryConnectionsResponse is the response type for the Query/Connections RPC @@ -98,7 +98,7 @@ export interface QueryConnectionsResponseSDKType { pagination?: PageResponseSDKType | undefined; /** query block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } /** * QueryClientConnectionsRequest is the request type for the @@ -131,7 +131,7 @@ export interface QueryClientConnectionsResponse { proof: Uint8Array; /** height at which the proof was generated */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryClientConnectionsResponse is the response type for the @@ -146,7 +146,7 @@ export interface QueryClientConnectionsResponseSDKType { proof: Uint8Array; /** height at which the proof was generated */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionClientStateRequest is the request type for the @@ -173,13 +173,13 @@ export interface QueryConnectionClientStateRequestSDKType { export interface QueryConnectionClientStateResponse { /** client state associated with the channel */ - identifiedClientState: IdentifiedClientState | undefined; + identifiedClientState?: IdentifiedClientState | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionClientStateResponse is the response type for the @@ -188,13 +188,13 @@ export interface QueryConnectionClientStateResponse { export interface QueryConnectionClientStateResponseSDKType { /** client state associated with the channel */ - identified_client_state: IdentifiedClientStateSDKType | undefined; + identified_client_state?: IdentifiedClientStateSDKType | undefined; /** merkle proof of existence */ proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } /** * QueryConnectionConsensusStateRequest is the request type for the @@ -225,7 +225,7 @@ export interface QueryConnectionConsensusStateRequestSDKType { export interface QueryConnectionConsensusStateResponse { /** consensus state associated with the channel */ - consensusState: Any | undefined; + consensusState?: Any | undefined; /** client ID associated with the consensus state */ clientId: string; @@ -234,7 +234,7 @@ export interface QueryConnectionConsensusStateResponse { proof: Uint8Array; /** height at which the proof was retrieved */ - proofHeight: Height | undefined; + proofHeight?: Height | undefined; } /** * QueryConnectionConsensusStateResponse is the response type for the @@ -243,7 +243,7 @@ export interface QueryConnectionConsensusStateResponse { export interface QueryConnectionConsensusStateResponseSDKType { /** consensus state associated with the channel */ - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; /** client ID associated with the consensus state */ client_id: string; @@ -252,7 +252,7 @@ export interface QueryConnectionConsensusStateResponseSDKType { proof: Uint8Array; /** height at which the proof was retrieved */ - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; } function createBaseQueryConnectionRequest(): QueryConnectionRequest { @@ -325,7 +325,7 @@ export const QueryConnectionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionResponse(); @@ -435,7 +435,7 @@ export const QueryConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionsResponse(); @@ -545,7 +545,7 @@ export const QueryClientConnectionsResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryClientConnectionsResponse(); @@ -655,7 +655,7 @@ export const QueryConnectionClientStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionClientStateResponse(); @@ -790,7 +790,7 @@ export const QueryConnectionConsensusStateResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryConnectionConsensusStateResponse(); diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts index 672bcc142..cf870e601 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts @@ -1,5 +1,5 @@ import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "@osmonauts/helpers"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; export interface AminoMsgConnectionOpenInit extends AminoMsg { type: "cosmos-sdk/MsgConnectionOpenInit"; diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts index 5a29f86b4..bfda3f8cf 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -1,22 +1,23 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; -import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenInitResponseSDKType, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenTryResponseSDKType, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenAckResponseSDKType, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse, MsgConnectionOpenConfirmResponseSDKType } from "./tx"; -/** Msg defines the RPC service */ +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; +/** Msg defines the ibc/connection Msg service. */ export interface Msg { - connectionOpenInit(request: MsgConnectionOpenInit): Promise; - /*ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.*/ + /** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */ + connectionOpenInit(request: MsgConnectionOpenInit): Promise; + /** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */ - connectionOpenTry(request: MsgConnectionOpenTry): Promise; - /*ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.*/ + connectionOpenTry(request: MsgConnectionOpenTry): Promise; + /** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */ - connectionOpenAck(request: MsgConnectionOpenAck): Promise; - /*ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.*/ - - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; - /*ConnectionOpenConfirm defines a rpc handler method for - MsgConnectionOpenConfirm.*/ + connectionOpenAck(request: MsgConnectionOpenAck): Promise; + /** + * ConnectionOpenConfirm defines a rpc handler method for + * MsgConnectionOpenConfirm. + */ + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; } export class MsgClientImpl implements Msg { private readonly rpc: Rpc; @@ -29,25 +30,25 @@ export class MsgClientImpl implements Msg { this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); } - connectionOpenInit(request: MsgConnectionOpenInit): Promise { + connectionOpenInit(request: MsgConnectionOpenInit): Promise { const data = MsgConnectionOpenInit.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); } - connectionOpenTry(request: MsgConnectionOpenTry): Promise { + connectionOpenTry(request: MsgConnectionOpenTry): Promise { const data = MsgConnectionOpenTry.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); } - connectionOpenAck(request: MsgConnectionOpenAck): Promise { + connectionOpenAck(request: MsgConnectionOpenAck): Promise { const data = MsgConnectionOpenAck.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); } - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { const data = MsgConnectionOpenConfirm.encode(request).finish(); const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts index 344a50b3a..e4f7ba63a 100644 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts @@ -2,7 +2,7 @@ import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./co import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Height, HeightSDKType } from "../../client/v1/client"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * MsgConnectionOpenInit defines the msg sent by an account on Chain A to * initialize a connection with Chain B. @@ -10,8 +10,8 @@ import { Long } from "@osmonauts/helpers"; export interface MsgConnectionOpenInit { clientId: string; - counterparty: Counterparty | undefined; - version: Version | undefined; + counterparty?: Counterparty | undefined; + version?: Version | undefined; delayPeriod: Long; signer: string; } @@ -22,8 +22,8 @@ export interface MsgConnectionOpenInit { export interface MsgConnectionOpenInitSDKType { client_id: string; - counterparty: CounterpartySDKType | undefined; - version: VersionSDKType | undefined; + counterparty?: CounterpartySDKType | undefined; + version?: VersionSDKType | undefined; delay_period: Long; signer: string; } @@ -52,11 +52,11 @@ export interface MsgConnectionOpenTry { */ previousConnectionId: string; - clientState: Any | undefined; - counterparty: Counterparty | undefined; + clientState?: Any | undefined; + counterparty?: Counterparty | undefined; delayPeriod: Long; counterpartyVersions: Version[]; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` @@ -69,7 +69,7 @@ export interface MsgConnectionOpenTry { /** proof of client consensus state */ proofConsensus: Uint8Array; - consensusHeight: Height | undefined; + consensusHeight?: Height | undefined; signer: string; } /** @@ -85,11 +85,11 @@ export interface MsgConnectionOpenTrySDKType { */ previous_connection_id: string; - client_state: AnySDKType | undefined; - counterparty: CounterpartySDKType | undefined; + client_state?: AnySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; delay_period: Long; counterparty_versions: VersionSDKType[]; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; /** * proof of the initialization the connection on Chain A: `UNITIALIZED -> * INIT` @@ -102,7 +102,7 @@ export interface MsgConnectionOpenTrySDKType { /** proof of client consensus state */ proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; + consensus_height?: HeightSDKType | undefined; signer: string; } /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ @@ -119,9 +119,9 @@ export interface MsgConnectionOpenTryResponseSDKType {} export interface MsgConnectionOpenAck { connectionId: string; counterpartyConnectionId: string; - version: Version | undefined; - clientState: Any | undefined; - proofHeight: Height | undefined; + version?: Version | undefined; + clientState?: Any | undefined; + proofHeight?: Height | undefined; /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` @@ -134,7 +134,7 @@ export interface MsgConnectionOpenAck { /** proof of client consensus state */ proofConsensus: Uint8Array; - consensusHeight: Height | undefined; + consensusHeight?: Height | undefined; signer: string; } /** @@ -145,9 +145,9 @@ export interface MsgConnectionOpenAck { export interface MsgConnectionOpenAckSDKType { connection_id: string; counterparty_connection_id: string; - version: VersionSDKType | undefined; - client_state: AnySDKType | undefined; - proof_height: HeightSDKType | undefined; + version?: VersionSDKType | undefined; + client_state?: AnySDKType | undefined; + proof_height?: HeightSDKType | undefined; /** * proof of the initialization the connection on Chain B: `UNITIALIZED -> * TRYOPEN` @@ -160,7 +160,7 @@ export interface MsgConnectionOpenAckSDKType { /** proof of client consensus state */ proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; + consensus_height?: HeightSDKType | undefined; signer: string; } /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ @@ -179,7 +179,7 @@ export interface MsgConnectionOpenConfirm { /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ proofAck: Uint8Array; - proofHeight: Height | undefined; + proofHeight?: Height | undefined; signer: string; } /** @@ -192,7 +192,7 @@ export interface MsgConnectionOpenConfirmSDKType { /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; + proof_height?: HeightSDKType | undefined; signer: string; } /** @@ -302,7 +302,7 @@ export const MsgConnectionOpenInitResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenInitResponse(); @@ -491,7 +491,7 @@ export const MsgConnectionOpenTryResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenTryResponse(); @@ -660,7 +660,7 @@ export const MsgConnectionOpenAckResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenAckResponse(); @@ -769,7 +769,7 @@ export const MsgConnectionOpenConfirmResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseMsgConnectionOpenConfirmResponse(); diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts index f6f39eba1..df3c124c1 100644 --- a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts +++ b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts @@ -1,13 +1,12 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../../../../helpers"; import * as _m0 from "protobufjs/minimal"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAppVersionRequest, QueryAppVersionResponse, QueryAppVersionResponseSDKType } from "./query"; -/** Query defines the RPC service */ +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; +/** Query defines the gRPC querier service */ export interface Query { - appVersion(request: QueryAppVersionRequest): Promise; - /*AppVersion queries an IBC Port and determines the appropriate application version to be used*/ - + /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ + appVersion(request: QueryAppVersionRequest): Promise; } export class QueryClientImpl implements Query { private readonly rpc: Rpc; @@ -17,7 +16,7 @@ export class QueryClientImpl implements Query { this.appVersion = this.appVersion.bind(this); } - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { const data = QueryAppVersionRequest.encode(request).finish(); const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); @@ -28,7 +27,7 @@ export const createRpcQueryExtension = (base: QueryClient) => { const rpc = createProtobufRpcClient(base); const queryService = new QueryClientImpl(rpc); return { - appVersion(request: QueryAppVersionRequest): Promise { + appVersion(request: QueryAppVersionRequest): Promise { return queryService.appVersion(request); } diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.ts index dc84ac749..933166edc 100644 --- a/examples/telescope/codegen/ibc/core/port/v1/query.ts +++ b/examples/telescope/codegen/ibc/core/port/v1/query.ts @@ -13,7 +13,7 @@ export interface QueryAppVersionRequest { ordering: Order; /** counterparty channel end */ - counterparty: Counterparty | undefined; + counterparty?: Counterparty | undefined; /** proposed version */ proposedVersion: string; @@ -31,7 +31,7 @@ export interface QueryAppVersionRequestSDKType { ordering: OrderSDKType; /** counterparty channel end */ - counterparty: CounterpartySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; /** proposed version */ proposed_version: string; @@ -160,7 +160,7 @@ export const QueryAppVersionResponse = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponseSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseQueryAppVersionResponse(); diff --git a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts index 7f13029c2..9a8843a04 100644 --- a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts +++ b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts @@ -10,25 +10,25 @@ import * as _m0 from "protobufjs/minimal"; export interface GenesisState { /** ICS002 - Clients genesis state */ - clientGenesis: GenesisState1 | undefined; + clientGenesis?: GenesisState1 | undefined; /** ICS003 - Connections genesis state */ - connectionGenesis: GenesisState2 | undefined; + connectionGenesis?: GenesisState2 | undefined; /** ICS004 - Channel genesis state */ - channelGenesis: GenesisState3 | undefined; + channelGenesis?: GenesisState3 | undefined; } /** GenesisState defines the ibc module's genesis state. */ export interface GenesisStateSDKType { /** ICS002 - Clients genesis state */ - client_genesis: GenesisState1SDKType | undefined; + client_genesis?: GenesisState1SDKType | undefined; /** ICS003 - Connections genesis state */ - connection_genesis: GenesisState2SDKType | undefined; + connection_genesis?: GenesisState2SDKType | undefined; /** ICS004 - Channel genesis state */ - channel_genesis: GenesisState3SDKType | undefined; + channel_genesis?: GenesisState3SDKType | undefined; } function createBaseGenesisState(): GenesisState { @@ -88,9 +88,9 @@ export const GenesisState = { fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); - message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState.fromPartial(object.clientGenesis) : undefined; - message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState.fromPartial(object.connectionGenesis) : undefined; - message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState.fromPartial(object.channelGenesis) : undefined; + message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState1.fromPartial(object.clientGenesis) : undefined; + message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState2.fromPartial(object.connectionGenesis) : undefined; + message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState3.fromPartial(object.channelGenesis) : undefined; return message; } diff --git a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts index 53a6acb02..2e3f7d916 100644 --- a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts +++ b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -10,7 +10,7 @@ export interface ClientState { chainId: string; /** self latest block height */ - height: Height | undefined; + height?: Height | undefined; } /** * ClientState defines a loopback (localhost) client. It requires (read-only) @@ -22,7 +22,7 @@ export interface ClientStateSDKType { chain_id: string; /** self latest block height */ - height: HeightSDKType | undefined; + height?: HeightSDKType | undefined; } function createBaseClientState(): ClientState { diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts index 7146ff582..3193aa6bf 100644 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. @@ -157,8 +157,9 @@ export function dataTypeToJSON(object: DataType): string { case DataType.DATA_TYPE_HEADER: return "DATA_TYPE_HEADER"; + case DataType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -172,7 +173,7 @@ export interface ClientState { /** frozen sequence of the solo machine */ frozenSequence: Long; - consensusState: ConsensusState | undefined; + consensusState?: ConsensusState | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -191,7 +192,7 @@ export interface ClientStateSDKType { /** frozen sequence of the solo machine */ frozen_sequence: Long; - consensus_state: ConsensusStateSDKType | undefined; + consensus_state?: ConsensusStateSDKType | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -207,7 +208,7 @@ export interface ClientStateSDKType { export interface ConsensusState { /** public key of the solo machine */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -225,7 +226,7 @@ export interface ConsensusState { export interface ConsensusStateSDKType { /** public key of the solo machine */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -242,7 +243,7 @@ export interface Header { sequence: Long; timestamp: Long; signature: Uint8Array; - newPublicKey: Any | undefined; + newPublicKey?: Any | undefined; newDiversifier: string; } /** Header defines a solo machine consensus header */ @@ -252,7 +253,7 @@ export interface HeaderSDKType { sequence: Long; timestamp: Long; signature: Uint8Array; - new_public_key: AnySDKType | undefined; + new_public_key?: AnySDKType | undefined; new_diversifier: string; } /** @@ -263,8 +264,8 @@ export interface HeaderSDKType { export interface Misbehaviour { clientId: string; sequence: Long; - signatureOne: SignatureAndData | undefined; - signatureTwo: SignatureAndData | undefined; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; } /** * Misbehaviour defines misbehaviour for a solo machine which consists @@ -274,8 +275,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; sequence: Long; - signature_one: SignatureAndDataSDKType | undefined; - signature_two: SignatureAndDataSDKType | undefined; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; } /** * SignatureAndData contains a signature and the data signed over to create that @@ -347,7 +348,7 @@ export interface SignBytesSDKType { export interface HeaderData { /** header public key */ - newPubKey: Any | undefined; + newPubKey?: Any | undefined; /** header diversifier */ newDiversifier: string; @@ -356,7 +357,7 @@ export interface HeaderData { export interface HeaderDataSDKType { /** header public key */ - new_pub_key: AnySDKType | undefined; + new_pub_key?: AnySDKType | undefined; /** header diversifier */ new_diversifier: string; @@ -365,13 +366,13 @@ export interface HeaderDataSDKType { export interface ClientStateData { path: Uint8Array; - clientState: Any | undefined; + clientState?: Any | undefined; } /** ClientStateData returns the SignBytes data for client state verification. */ export interface ClientStateDataSDKType { path: Uint8Array; - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -380,7 +381,7 @@ export interface ClientStateDataSDKType { export interface ConsensusStateData { path: Uint8Array; - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -389,7 +390,7 @@ export interface ConsensusStateData { export interface ConsensusStateDataSDKType { path: Uint8Array; - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -398,7 +399,7 @@ export interface ConsensusStateDataSDKType { export interface ConnectionStateData { path: Uint8Array; - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -407,7 +408,7 @@ export interface ConnectionStateData { export interface ConnectionStateDataSDKType { path: Uint8Array; - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -416,7 +417,7 @@ export interface ConnectionStateDataSDKType { export interface ChannelStateData { path: Uint8Array; - channel: Channel | undefined; + channel?: Channel | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -425,7 +426,7 @@ export interface ChannelStateData { export interface ChannelStateDataSDKType { path: Uint8Array; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; } /** * PacketCommitmentData returns the SignBytes data for packet commitment diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts index 86e21a2aa..c7a3d08be 100644 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -2,7 +2,7 @@ import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../../helpers"; /** * DataType defines the type of solo machine proof being created. This is done * to preserve uniqueness of different data sign byte encodings. @@ -157,8 +157,9 @@ export function dataTypeToJSON(object: DataType): string { case DataType.DATA_TYPE_HEADER: return "DATA_TYPE_HEADER"; + case DataType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** @@ -172,7 +173,7 @@ export interface ClientState { /** frozen sequence of the solo machine */ isFrozen: boolean; - consensusState: ConsensusState | undefined; + consensusState?: ConsensusState | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -191,7 +192,7 @@ export interface ClientStateSDKType { /** frozen sequence of the solo machine */ is_frozen: boolean; - consensus_state: ConsensusStateSDKType | undefined; + consensus_state?: ConsensusStateSDKType | undefined; /** * when set to true, will allow governance to update a solo machine client. * The client will be unfrozen if it is frozen. @@ -207,7 +208,7 @@ export interface ClientStateSDKType { export interface ConsensusState { /** public key of the solo machine */ - publicKey: Any | undefined; + publicKey?: Any | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -225,7 +226,7 @@ export interface ConsensusState { export interface ConsensusStateSDKType { /** public key of the solo machine */ - public_key: AnySDKType | undefined; + public_key?: AnySDKType | undefined; /** * diversifier allows the same public key to be re-used across different solo * machine clients (potentially on different chains) without being considered @@ -242,7 +243,7 @@ export interface Header { sequence: Long; timestamp: Long; signature: Uint8Array; - newPublicKey: Any | undefined; + newPublicKey?: Any | undefined; newDiversifier: string; } /** Header defines a solo machine consensus header */ @@ -252,7 +253,7 @@ export interface HeaderSDKType { sequence: Long; timestamp: Long; signature: Uint8Array; - new_public_key: AnySDKType | undefined; + new_public_key?: AnySDKType | undefined; new_diversifier: string; } /** @@ -263,8 +264,8 @@ export interface HeaderSDKType { export interface Misbehaviour { clientId: string; sequence: Long; - signatureOne: SignatureAndData | undefined; - signatureTwo: SignatureAndData | undefined; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; } /** * Misbehaviour defines misbehaviour for a solo machine which consists @@ -274,8 +275,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; sequence: Long; - signature_one: SignatureAndDataSDKType | undefined; - signature_two: SignatureAndDataSDKType | undefined; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; } /** * SignatureAndData contains a signature and the data signed over to create that @@ -347,7 +348,7 @@ export interface SignBytesSDKType { export interface HeaderData { /** header public key */ - newPubKey: Any | undefined; + newPubKey?: Any | undefined; /** header diversifier */ newDiversifier: string; @@ -356,7 +357,7 @@ export interface HeaderData { export interface HeaderDataSDKType { /** header public key */ - new_pub_key: AnySDKType | undefined; + new_pub_key?: AnySDKType | undefined; /** header diversifier */ new_diversifier: string; @@ -365,13 +366,13 @@ export interface HeaderDataSDKType { export interface ClientStateData { path: Uint8Array; - clientState: Any | undefined; + clientState?: Any | undefined; } /** ClientStateData returns the SignBytes data for client state verification. */ export interface ClientStateDataSDKType { path: Uint8Array; - client_state: AnySDKType | undefined; + client_state?: AnySDKType | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -380,7 +381,7 @@ export interface ClientStateDataSDKType { export interface ConsensusStateData { path: Uint8Array; - consensusState: Any | undefined; + consensusState?: Any | undefined; } /** * ConsensusStateData returns the SignBytes data for consensus state @@ -389,7 +390,7 @@ export interface ConsensusStateData { export interface ConsensusStateDataSDKType { path: Uint8Array; - consensus_state: AnySDKType | undefined; + consensus_state?: AnySDKType | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -398,7 +399,7 @@ export interface ConsensusStateDataSDKType { export interface ConnectionStateData { path: Uint8Array; - connection: ConnectionEnd | undefined; + connection?: ConnectionEnd | undefined; } /** * ConnectionStateData returns the SignBytes data for connection state @@ -407,7 +408,7 @@ export interface ConnectionStateData { export interface ConnectionStateDataSDKType { path: Uint8Array; - connection: ConnectionEndSDKType | undefined; + connection?: ConnectionEndSDKType | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -416,7 +417,7 @@ export interface ConnectionStateDataSDKType { export interface ChannelStateData { path: Uint8Array; - channel: Channel | undefined; + channel?: Channel | undefined; } /** * ChannelStateData returns the SignBytes data for channel state @@ -425,7 +426,7 @@ export interface ChannelStateData { export interface ChannelStateDataSDKType { path: Uint8Array; - channel: ChannelSDKType | undefined; + channel?: ChannelSDKType | undefined; } /** * PacketCommitmentData returns the SignBytes data for packet commitment diff --git a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts index 23ed24b9e..795673042 100644 --- a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -6,7 +6,7 @@ import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commi import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; +import { toTimestamp, fromTimestamp, Long } from "../../../../helpers"; /** * ClientState from Tendermint tracks the current validator set, latest height, * and a possible frozen height. @@ -14,25 +14,25 @@ import { toTimestamp, fromTimestamp, Long } from "@osmonauts/helpers"; export interface ClientState { chainId: string; - trustLevel: Fraction | undefined; + trustLevel?: Fraction | undefined; /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trustingPeriod: Duration | undefined; + trustingPeriod?: Duration | undefined; /** duration of the staking unbonding period */ - unbondingPeriod: Duration | undefined; + unbondingPeriod?: Duration | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift: Duration | undefined; + maxClockDrift?: Duration | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight: Height | undefined; + frozenHeight?: Height | undefined; /** Latest height the client was updated to */ - latestHeight: Height | undefined; + latestHeight?: Height | undefined; /** Proof specifications used in verifying counterparty state */ proofSpecs: ProofSpec[]; @@ -67,25 +67,25 @@ export interface ClientState { export interface ClientStateSDKType { chain_id: string; - trust_level: FractionSDKType | undefined; + trust_level?: FractionSDKType | undefined; /** * duration of the period since the LastestTimestamp during which the * submitted headers are valid for upgrade */ - trusting_period: DurationSDKType | undefined; + trusting_period?: DurationSDKType | undefined; /** duration of the staking unbonding period */ - unbonding_period: DurationSDKType | undefined; + unbonding_period?: DurationSDKType | undefined; /** defines how much new (untrusted) header's Time can drift into the future. */ - max_clock_drift: DurationSDKType | undefined; + max_clock_drift?: DurationSDKType | undefined; /** Block height when the client was frozen due to a misbehaviour */ - frozen_height: HeightSDKType | undefined; + frozen_height?: HeightSDKType | undefined; /** Latest height the client was updated to */ - latest_height: HeightSDKType | undefined; + latest_height?: HeightSDKType | undefined; /** Proof specifications used in verifying counterparty state */ proof_specs: ProofSpecSDKType[]; @@ -120,10 +120,10 @@ export interface ConsensusState { * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ - timestamp: Date | undefined; + timestamp?: Date | undefined; /** commitment root (i.e app hash) */ - root: MerkleRoot | undefined; + root?: MerkleRoot | undefined; nextValidatorsHash: Uint8Array; } /** ConsensusState defines the consensus state from Tendermint. */ @@ -133,10 +133,10 @@ export interface ConsensusStateSDKType { * timestamp that corresponds to the block height in which the ConsensusState * was stored. */ - timestamp: Date | undefined; + timestamp?: Date | undefined; /** commitment root (i.e app hash) */ - root: MerkleRootSDKType | undefined; + root?: MerkleRootSDKType | undefined; next_validators_hash: Uint8Array; } /** @@ -146,8 +146,8 @@ export interface ConsensusStateSDKType { export interface Misbehaviour { clientId: string; - header_1: Header | undefined; - header_2: Header | undefined; + header1?: Header | undefined; + header2?: Header | undefined; } /** * Misbehaviour is a wrapper over two conflicting Headers @@ -156,8 +156,8 @@ export interface Misbehaviour { export interface MisbehaviourSDKType { client_id: string; - header_1: HeaderSDKType | undefined; - header_2: HeaderSDKType | undefined; + header_1?: HeaderSDKType | undefined; + header_2?: HeaderSDKType | undefined; } /** * Header defines the Tendermint client consensus Header. @@ -175,10 +175,10 @@ export interface MisbehaviourSDKType { */ export interface Header { - signedHeader: SignedHeader | undefined; - validatorSet: ValidatorSet | undefined; - trustedHeight: Height | undefined; - trustedValidators: ValidatorSet | undefined; + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; + trustedHeight?: Height | undefined; + trustedValidators?: ValidatorSet | undefined; } /** * Header defines the Tendermint client consensus Header. @@ -196,10 +196,10 @@ export interface Header { */ export interface HeaderSDKType { - signed_header: SignedHeaderSDKType | undefined; - validator_set: ValidatorSetSDKType | undefined; - trusted_height: HeightSDKType | undefined; - trusted_validators: ValidatorSetSDKType | undefined; + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; + trusted_height?: HeightSDKType | undefined; + trusted_validators?: ValidatorSetSDKType | undefined; } /** * Fraction defines the protobuf message type for tmmath.Fraction that only @@ -351,9 +351,9 @@ export const ClientState = { const message = createBaseClientState(); message.chainId = object.chainId ?? ""; message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; - message.trustingPeriod = object.trustingPeriod ?? undefined; - message.unbondingPeriod = object.unbondingPeriod ?? undefined; - message.maxClockDrift = object.maxClockDrift ?? undefined; + message.trustingPeriod = object.trustingPeriod !== undefined && object.trustingPeriod !== null ? Duration.fromPartial(object.trustingPeriod) : undefined; + message.unbondingPeriod = object.unbondingPeriod !== undefined && object.unbondingPeriod !== null ? Duration.fromPartial(object.unbondingPeriod) : undefined; + message.maxClockDrift = object.maxClockDrift !== undefined && object.maxClockDrift !== null ? Duration.fromPartial(object.maxClockDrift) : undefined; message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; @@ -433,8 +433,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header_1: undefined, - header_2: undefined + header1: undefined, + header2: undefined }; } @@ -444,12 +444,12 @@ export const Misbehaviour = { writer.uint32(10).string(message.clientId); } - if (message.header_1 !== undefined) { - Header.encode(message.header_1, writer.uint32(18).fork()).ldelim(); + if (message.header1 !== undefined) { + Header.encode(message.header1, writer.uint32(18).fork()).ldelim(); } - if (message.header_2 !== undefined) { - Header.encode(message.header_2, writer.uint32(26).fork()).ldelim(); + if (message.header2 !== undefined) { + Header.encode(message.header2, writer.uint32(26).fork()).ldelim(); } return writer; @@ -469,11 +469,11 @@ export const Misbehaviour = { break; case 2: - message.header_1 = Header.decode(reader, reader.uint32()); + message.header1 = Header.decode(reader, reader.uint32()); break; case 3: - message.header_2 = Header.decode(reader, reader.uint32()); + message.header2 = Header.decode(reader, reader.uint32()); break; default: @@ -488,8 +488,8 @@ export const Misbehaviour = { fromPartial(object: Partial): Misbehaviour { const message = createBaseMisbehaviour(); message.clientId = object.clientId ?? ""; - message.header_1 = object.header_1 !== undefined && object.header_1 !== null ? Header.fromPartial(object.header_1) : undefined; - message.header_2 = object.header_2 !== undefined && object.header_2 !== null ? Header.fromPartial(object.header_2) : undefined; + message.header1 = object.header1 !== undefined && object.header1 !== null ? Header.fromPartial(object.header1) : undefined; + message.header2 = object.header2 !== undefined && object.header2 !== null ? Header.fromPartial(object.header2) : undefined; return message; } diff --git a/examples/telescope/codegen/ibc/rpc.tx.ts b/examples/telescope/codegen/ibc/rpc.tx.ts index 42f534440..62cb610c4 100644 --- a/examples/telescope/codegen/ibc/rpc.tx.ts +++ b/examples/telescope/codegen/ibc/rpc.tx.ts @@ -1,4 +1,4 @@ -import { Rpc } from "@osmonauts/helpers"; +import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc }: { diff --git a/examples/telescope/codegen/index.ts b/examples/telescope/codegen/index.ts index 1289f2858..2cb228499 100644 --- a/examples/telescope/codegen/index.ts +++ b/examples/telescope/codegen/index.ts @@ -1,5 +1,5 @@ /** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.31.0 + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 * 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. */ diff --git a/examples/telescope/codegen/tendermint/abci/types.ts b/examples/telescope/codegen/tendermint/abci/types.ts index 8582154b0..f7c2d2947 100644 --- a/examples/telescope/codegen/tendermint/abci/types.ts +++ b/examples/telescope/codegen/tendermint/abci/types.ts @@ -4,7 +4,7 @@ import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; export enum CheckTxType { NEW = 0, RECHECK = 1, @@ -39,8 +39,9 @@ export function checkTxTypeToJSON(object: CheckTxType): string { case CheckTxType.RECHECK: return "RECHECK"; + case CheckTxType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum ResponseOfferSnapshot_Result { @@ -135,8 +136,9 @@ export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot case ResponseOfferSnapshot_Result.REJECT_SENDER: return "REJECT_SENDER"; + case ResponseOfferSnapshot_Result.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum ResponseApplySnapshotChunk_Result { @@ -231,8 +233,9 @@ export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySna case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: return "REJECT_SNAPSHOT"; + case ResponseApplySnapshotChunk_Result.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export enum EvidenceType { @@ -278,8 +281,9 @@ export function evidenceTypeToJSON(object: EvidenceType): string { case EvidenceType.LIGHT_CLIENT_ATTACK: return "LIGHT_CLIENT_ATTACK"; + case EvidenceType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } export interface Request { @@ -347,17 +351,17 @@ export interface RequestSetOptionSDKType { value: string; } export interface RequestInitChain { - time: Date | undefined; + time?: Date | undefined; chainId: string; - consensusParams: ConsensusParams | undefined; + consensusParams?: ConsensusParams | undefined; validators: ValidatorUpdate[]; appStateBytes: Uint8Array; initialHeight: Long; } export interface RequestInitChainSDKType { - time: Date | undefined; + time?: Date | undefined; chain_id: string; - consensus_params: ConsensusParamsSDKType | undefined; + consensus_params?: ConsensusParamsSDKType | undefined; validators: ValidatorUpdateSDKType[]; app_state_bytes: Uint8Array; initial_height: Long; @@ -376,14 +380,14 @@ export interface RequestQuerySDKType { } export interface RequestBeginBlock { hash: Uint8Array; - header: Header | undefined; - lastCommitInfo: LastCommitInfo | undefined; + header?: Header | undefined; + lastCommitInfo?: LastCommitInfo | undefined; byzantineValidators: Evidence[]; } export interface RequestBeginBlockSDKType { hash: Uint8Array; - header: HeaderSDKType | undefined; - last_commit_info: LastCommitInfoSDKType | undefined; + header?: HeaderSDKType | undefined; + last_commit_info?: LastCommitInfoSDKType | undefined; byzantine_validators: EvidenceSDKType[]; } export interface RequestCheckTx { @@ -418,7 +422,7 @@ export interface RequestListSnapshotsSDKType {} export interface RequestOfferSnapshot { /** snapshot offered by peers */ - snapshot: Snapshot | undefined; + snapshot?: Snapshot | undefined; /** light client-verified app hash for snapshot height */ appHash: Uint8Array; @@ -427,7 +431,7 @@ export interface RequestOfferSnapshot { export interface RequestOfferSnapshotSDKType { /** snapshot offered by peers */ - snapshot: SnapshotSDKType | undefined; + snapshot?: SnapshotSDKType | undefined; /** light client-verified app hash for snapshot height */ app_hash: Uint8Array; @@ -547,12 +551,12 @@ export interface ResponseSetOptionSDKType { info: string; } export interface ResponseInitChain { - consensusParams: ConsensusParams | undefined; + consensusParams?: ConsensusParams | undefined; validators: ValidatorUpdate[]; appHash: Uint8Array; } export interface ResponseInitChainSDKType { - consensus_params: ConsensusParamsSDKType | undefined; + consensus_params?: ConsensusParamsSDKType | undefined; validators: ValidatorUpdateSDKType[]; app_hash: Uint8Array; } @@ -567,7 +571,7 @@ export interface ResponseQuery { index: Long; key: Uint8Array; value: Uint8Array; - proofOps: ProofOps | undefined; + proofOps?: ProofOps | undefined; height: Long; codespace: string; } @@ -582,7 +586,7 @@ export interface ResponseQuerySDKType { index: Long; key: Uint8Array; value: Uint8Array; - proof_ops: ProofOpsSDKType | undefined; + proof_ops?: ProofOpsSDKType | undefined; height: Long; codespace: string; } @@ -650,12 +654,12 @@ export interface ResponseDeliverTxSDKType { } export interface ResponseEndBlock { validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates: ConsensusParams | undefined; + consensusParamUpdates?: ConsensusParams | undefined; events: Event[]; } export interface ResponseEndBlockSDKType { validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates: ConsensusParamsSDKType | undefined; + consensus_param_updates?: ConsensusParamsSDKType | undefined; events: EventSDKType[]; } export interface ResponseCommit { @@ -710,10 +714,10 @@ export interface ResponseApplySnapshotChunkSDKType { */ export interface ConsensusParams { - block: BlockParams | undefined; - evidence: EvidenceParams | undefined; - validator: ValidatorParams | undefined; - version: VersionParams | undefined; + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; } /** * ConsensusParams contains all consensus-relevant parameters @@ -721,10 +725,10 @@ export interface ConsensusParams { */ export interface ConsensusParamsSDKType { - block: BlockParamsSDKType | undefined; - evidence: EvidenceParamsSDKType | undefined; - validator: ValidatorParamsSDKType | undefined; - version: VersionParamsSDKType | undefined; + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; } /** BlockParams contains limits on the block size. */ @@ -800,7 +804,7 @@ export interface TxResult { height: Long; index: number; tx: Uint8Array; - result: ResponseDeliverTx | undefined; + result?: ResponseDeliverTx | undefined; } /** * TxResult contains results of executing the transaction. @@ -812,7 +816,7 @@ export interface TxResultSDKType { height: Long; index: number; tx: Uint8Array; - result: ResponseDeliverTxSDKType | undefined; + result?: ResponseDeliverTxSDKType | undefined; } /** Validator */ @@ -841,38 +845,38 @@ export interface ValidatorSDKType { /** ValidatorUpdate */ export interface ValidatorUpdate { - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; power: Long; } /** ValidatorUpdate */ export interface ValidatorUpdateSDKType { - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; power: Long; } /** VoteInfo */ export interface VoteInfo { - validator: Validator | undefined; + validator?: Validator | undefined; signedLastBlock: boolean; } /** VoteInfo */ export interface VoteInfoSDKType { - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; signed_last_block: boolean; } export interface Evidence { type: EvidenceType; /** The offending validator */ - validator: Validator | undefined; + validator?: Validator | undefined; /** The height when the offense occurred */ height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time?: Date | undefined; /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. @@ -885,13 +889,13 @@ export interface EvidenceSDKType { type: EvidenceTypeSDKType; /** The offending validator */ - validator: ValidatorSDKType | undefined; + validator?: ValidatorSDKType | undefined; /** The height when the offense occurred */ height: Long; /** The corresponding time where the offense occurred */ - time: Date | undefined; + time?: Date | undefined; /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. @@ -2215,7 +2219,7 @@ export const ResponseEcho = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEchoSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEcho(); @@ -2254,7 +2258,7 @@ export const ResponseFlush = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlushSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseFlush(); @@ -2314,7 +2318,7 @@ export const ResponseInfo = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfoSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInfo(); @@ -2389,7 +2393,7 @@ export const ResponseSetOption = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOptionSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseSetOption(); @@ -2454,7 +2458,7 @@ export const ResponseInitChain = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChainSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseInitChain(); @@ -2549,7 +2553,7 @@ export const ResponseQuery = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuerySDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseQuery(); @@ -2634,7 +2638,7 @@ export const ResponseBeginBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlockSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseBeginBlock(); @@ -2714,7 +2718,7 @@ export const ResponseCheckTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTxSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCheckTx(); @@ -2829,7 +2833,7 @@ export const ResponseDeliverTx = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTxSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseDeliverTx(); @@ -2919,7 +2923,7 @@ export const ResponseEndBlock = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlockSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseEndBlock(); @@ -2979,7 +2983,7 @@ export const ResponseCommit = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommitSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseCommit(); @@ -3029,7 +3033,7 @@ export const ResponseListSnapshots = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshotsSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseListSnapshots(); @@ -3074,7 +3078,7 @@ export const ResponseOfferSnapshot = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshotSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseOfferSnapshot(); @@ -3119,7 +3123,7 @@ export const ResponseLoadSnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunkSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseLoadSnapshotChunk(); @@ -3178,7 +3182,7 @@ export const ResponseApplySnapshotChunk = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunkSDKType { + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseResponseApplySnapshotChunk(); diff --git a/examples/telescope/codegen/tendermint/bundle.ts b/examples/telescope/codegen/tendermint/bundle.ts index 63e9a909d..22fa7923b 100644 --- a/examples/telescope/codegen/tendermint/bundle.ts +++ b/examples/telescope/codegen/tendermint/bundle.ts @@ -1,32 +1,32 @@ -import * as _135 from "./abci/types"; -import * as _136 from "./crypto/keys"; -import * as _137 from "./crypto/proof"; -import * as _138 from "./libs/bits/types"; -import * as _139 from "./p2p/types"; -import * as _140 from "./types/block"; -import * as _141 from "./types/evidence"; -import * as _142 from "./types/params"; -import * as _143 from "./types/types"; -import * as _144 from "./types/validator"; -import * as _145 from "./version/types"; +import * as _132 from "./abci/types"; +import * as _133 from "./crypto/keys"; +import * as _134 from "./crypto/proof"; +import * as _135 from "./libs/bits/types"; +import * as _136 from "./p2p/types"; +import * as _137 from "./types/block"; +import * as _138 from "./types/evidence"; +import * as _139 from "./types/params"; +import * as _140 from "./types/types"; +import * as _141 from "./types/validator"; +import * as _142 from "./version/types"; export namespace tendermint { - export const abci = { ..._135 + export const abci = { ..._132 }; - export const crypto = { ..._136, - ..._137 + export const crypto = { ..._133, + ..._134 }; export namespace libs { - export const bits = { ..._138 + export const bits = { ..._135 }; } - export const p2p = { ..._139 + export const p2p = { ..._136 }; - export const types = { ..._140, - ..._141, - ..._142, - ..._143, - ..._144 + export const types = { ..._137, + ..._138, + ..._139, + ..._140, + ..._141 }; - export const version = { ..._145 + export const version = { ..._142 }; } \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/proof.ts b/examples/telescope/codegen/tendermint/crypto/proof.ts index d49309477..3c742f03e 100644 --- a/examples/telescope/codegen/tendermint/crypto/proof.ts +++ b/examples/telescope/codegen/tendermint/crypto/proof.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export interface Proof { total: Long; index: Long; @@ -17,14 +17,14 @@ export interface ValueOp { key: Uint8Array; /** To encode in ProofOp.Data */ - proof: Proof | undefined; + proof?: Proof | undefined; } export interface ValueOpSDKType { /** Encoded in ProofOp.Key. */ key: Uint8Array; /** To encode in ProofOp.Data */ - proof: ProofSDKType | undefined; + proof?: ProofSDKType | undefined; } export interface DominoOp { key: string; diff --git a/examples/telescope/codegen/tendermint/libs/bits/types.ts b/examples/telescope/codegen/tendermint/libs/bits/types.ts index 9d9fbc48a..46f450393 100644 --- a/examples/telescope/codegen/tendermint/libs/bits/types.ts +++ b/examples/telescope/codegen/tendermint/libs/bits/types.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../../helpers"; export interface BitArray { bits: Long; elems: Long[]; diff --git a/examples/telescope/codegen/tendermint/p2p/types.ts b/examples/telescope/codegen/tendermint/p2p/types.ts index 483567968..9f412046d 100644 --- a/examples/telescope/codegen/tendermint/p2p/types.ts +++ b/examples/telescope/codegen/tendermint/p2p/types.ts @@ -1,6 +1,6 @@ import { Timestamp } from "../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "@osmonauts/helpers"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; export interface ProtocolVersion { p2p: Long; block: Long; @@ -12,24 +12,24 @@ export interface ProtocolVersionSDKType { app: Long; } export interface NodeInfo { - protocolVersion: ProtocolVersion | undefined; + protocolVersion?: ProtocolVersion | undefined; nodeId: string; listenAddr: string; network: string; version: string; channels: Uint8Array; moniker: string; - other: NodeInfoOther | undefined; + other?: NodeInfoOther | undefined; } export interface NodeInfoSDKType { - protocol_version: ProtocolVersionSDKType | undefined; + protocol_version?: ProtocolVersionSDKType | undefined; node_id: string; listen_addr: string; network: string; version: string; channels: Uint8Array; moniker: string; - other: NodeInfoOtherSDKType | undefined; + other?: NodeInfoOtherSDKType | undefined; } export interface NodeInfoOther { txIndex: string; @@ -42,23 +42,23 @@ export interface NodeInfoOtherSDKType { export interface PeerInfo { id: string; addressInfo: PeerAddressInfo[]; - lastConnected: Date | undefined; + lastConnected?: Date | undefined; } export interface PeerInfoSDKType { id: string; address_info: PeerAddressInfoSDKType[]; - last_connected: Date | undefined; + last_connected?: Date | undefined; } export interface PeerAddressInfo { address: string; - lastDialSuccess: Date | undefined; - lastDialFailure: Date | undefined; + lastDialSuccess?: Date | undefined; + lastDialFailure?: Date | undefined; dialFailures: number; } export interface PeerAddressInfoSDKType { address: string; - last_dial_success: Date | undefined; - last_dial_failure: Date | undefined; + last_dial_success?: Date | undefined; + last_dial_failure?: Date | undefined; dial_failures: number; } diff --git a/examples/telescope/codegen/tendermint/types/block.ts b/examples/telescope/codegen/tendermint/types/block.ts index 336943039..b6f39fec9 100644 --- a/examples/telescope/codegen/tendermint/types/block.ts +++ b/examples/telescope/codegen/tendermint/types/block.ts @@ -2,16 +2,16 @@ import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from import { EvidenceList, EvidenceListSDKType } from "./evidence"; import * as _m0 from "protobufjs/minimal"; export interface Block { - header: Header | undefined; - data: Data | undefined; - evidence: EvidenceList | undefined; - lastCommit: Commit | undefined; + header?: Header | undefined; + data?: Data | undefined; + evidence?: EvidenceList | undefined; + lastCommit?: Commit | undefined; } export interface BlockSDKType { - header: HeaderSDKType | undefined; - data: DataSDKType | undefined; - evidence: EvidenceListSDKType | undefined; - last_commit: CommitSDKType | undefined; + header?: HeaderSDKType | undefined; + data?: DataSDKType | undefined; + evidence?: EvidenceListSDKType | undefined; + last_commit?: CommitSDKType | undefined; } function createBaseBlock(): Block { diff --git a/examples/telescope/codegen/tendermint/types/evidence.ts b/examples/telescope/codegen/tendermint/types/evidence.ts index f55b57a54..1e36496fb 100644 --- a/examples/telescope/codegen/tendermint/types/evidence.ts +++ b/examples/telescope/codegen/tendermint/types/evidence.ts @@ -2,7 +2,7 @@ import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; import { Timestamp } from "../../google/protobuf/timestamp"; import { Validator, ValidatorSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; lightClientAttackEvidence?: LightClientAttackEvidence | undefined; @@ -14,38 +14,38 @@ export interface EvidenceSDKType { /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidence { - voteA: Vote | undefined; - voteB: Vote | undefined; + voteA?: Vote | undefined; + voteB?: Vote | undefined; totalVotingPower: Long; validatorPower: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidenceSDKType { - vote_a: VoteSDKType | undefined; - vote_b: VoteSDKType | undefined; + vote_a?: VoteSDKType | undefined; + vote_b?: VoteSDKType | undefined; total_voting_power: Long; validator_power: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidence { - conflictingBlock: LightBlock | undefined; + conflictingBlock?: LightBlock | undefined; commonHeight: Long; byzantineValidators: Validator[]; totalVotingPower: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidenceSDKType { - conflicting_block: LightBlockSDKType | undefined; + conflicting_block?: LightBlockSDKType | undefined; common_height: Long; byzantine_validators: ValidatorSDKType[]; total_voting_power: Long; - timestamp: Date | undefined; + timestamp?: Date | undefined; } export interface EvidenceList { evidence: Evidence[]; diff --git a/examples/telescope/codegen/tendermint/types/params.ts b/examples/telescope/codegen/tendermint/types/params.ts index 378482eb0..aa14cf61b 100644 --- a/examples/telescope/codegen/tendermint/types/params.ts +++ b/examples/telescope/codegen/tendermint/types/params.ts @@ -1,16 +1,16 @@ import { Duration, DurationSDKType } from "../../google/protobuf/duration"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * ConsensusParams contains consensus critical parameters that determine the * validity of blocks. */ export interface ConsensusParams { - block: BlockParams | undefined; - evidence: EvidenceParams | undefined; - validator: ValidatorParams | undefined; - version: VersionParams | undefined; + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; } /** * ConsensusParams contains consensus critical parameters that determine the @@ -18,10 +18,10 @@ export interface ConsensusParams { */ export interface ConsensusParamsSDKType { - block: BlockParamsSDKType | undefined; - evidence: EvidenceParamsSDKType | undefined; - validator: ValidatorParamsSDKType | undefined; - version: VersionParamsSDKType | undefined; + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; } /** BlockParams contains limits on the block size. */ @@ -87,7 +87,7 @@ export interface EvidenceParams { * 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 | undefined; + maxAgeDuration?: Duration | undefined; /** * 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. @@ -114,7 +114,7 @@ export interface EvidenceParamsSDKType { * 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: DurationSDKType | undefined; + max_age_duration?: DurationSDKType | undefined; /** * 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. @@ -368,7 +368,7 @@ export const EvidenceParams = { fromPartial(object: Partial): EvidenceParams { const message = createBaseEvidenceParams(); message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; - message.maxAgeDuration = object.maxAgeDuration ?? undefined; + message.maxAgeDuration = object.maxAgeDuration !== undefined && object.maxAgeDuration !== null ? Duration.fromPartial(object.maxAgeDuration) : undefined; message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; return message; } diff --git a/examples/telescope/codegen/tendermint/types/types.ts b/examples/telescope/codegen/tendermint/types/types.ts index d5b632d42..ecac9fb1f 100644 --- a/examples/telescope/codegen/tendermint/types/types.ts +++ b/examples/telescope/codegen/tendermint/types/types.ts @@ -3,7 +3,7 @@ import { Consensus, ConsensusSDKType } from "../version/types"; import { Timestamp } from "../../google/protobuf/timestamp"; import { ValidatorSet, ValidatorSetSDKType } from "./validator"; import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "@osmonauts/helpers"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; /** BlockIdFlag indicates which BlcokID the signature is for */ export enum BlockIDFlag { @@ -60,8 +60,9 @@ export function blockIDFlagToJSON(object: BlockIDFlag): string { case BlockIDFlag.BLOCK_ID_FLAG_NIL: return "BLOCK_ID_FLAG_NIL"; + case BlockIDFlag.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** SignedMsgType is a type of signed message in the consensus. */ @@ -128,8 +129,9 @@ export function signedMsgTypeToJSON(object: SignedMsgType): string { case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: return "SIGNED_MSG_TYPE_PROPOSAL"; + case SignedMsgType.UNRECOGNIZED: default: - return "UNKNOWN"; + return "UNRECOGNIZED"; } } /** PartsetHeader */ @@ -147,36 +149,36 @@ export interface PartSetHeaderSDKType { export interface Part { index: number; bytes: Uint8Array; - proof: Proof | undefined; + proof?: Proof | undefined; } export interface PartSDKType { index: number; bytes: Uint8Array; - proof: ProofSDKType | undefined; + proof?: ProofSDKType | undefined; } /** BlockID */ export interface BlockID { hash: Uint8Array; - partSetHeader: PartSetHeader | undefined; + partSetHeader?: PartSetHeader | undefined; } /** BlockID */ export interface BlockIDSDKType { hash: Uint8Array; - part_set_header: PartSetHeaderSDKType | undefined; + part_set_header?: PartSetHeaderSDKType | undefined; } /** Header defines the structure of a Tendermint block header. */ export interface Header { /** basic block info */ - version: Consensus | undefined; + version?: Consensus | undefined; chainId: string; height: Long; - time: Date | undefined; + time?: Date | undefined; /** prev block info */ - lastBlockId: BlockID | undefined; + lastBlockId?: BlockID | undefined; /** hashes of block data */ lastCommitHash: Uint8Array; @@ -205,13 +207,13 @@ export interface Header { export interface HeaderSDKType { /** basic block info */ - version: ConsensusSDKType | undefined; + version?: ConsensusSDKType | undefined; chain_id: string; height: Long; - time: Date | undefined; + time?: Date | undefined; /** prev block info */ - last_block_id: BlockIDSDKType | undefined; + last_block_id?: BlockIDSDKType | undefined; /** hashes of block data */ last_commit_hash: Uint8Array; @@ -267,8 +269,8 @@ export interface Vote { round: number; /** zero if vote is nil. */ - blockId: BlockID | undefined; - timestamp: Date | undefined; + blockId?: BlockID | undefined; + timestamp?: Date | undefined; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; @@ -284,8 +286,8 @@ export interface VoteSDKType { round: number; /** zero if vote is nil. */ - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; validator_address: Uint8Array; validator_index: number; signature: Uint8Array; @@ -295,7 +297,7 @@ export interface VoteSDKType { export interface Commit { height: Long; round: number; - blockId: BlockID | undefined; + blockId?: BlockID | undefined; signatures: CommitSig[]; } /** Commit contains the evidence that a block was committed by a set of validators. */ @@ -303,7 +305,7 @@ export interface Commit { export interface CommitSDKType { height: Long; round: number; - block_id: BlockIDSDKType | undefined; + block_id?: BlockIDSDKType | undefined; signatures: CommitSigSDKType[]; } /** CommitSig is a part of the Vote included in a Commit. */ @@ -311,7 +313,7 @@ export interface CommitSDKType { export interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; - timestamp: Date | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } /** CommitSig is a part of the Vote included in a Commit. */ @@ -319,7 +321,7 @@ export interface CommitSig { export interface CommitSigSDKType { block_id_flag: BlockIDFlagSDKType; validator_address: Uint8Array; - timestamp: Date | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface Proposal { @@ -327,8 +329,8 @@ export interface Proposal { height: Long; round: number; polRound: number; - blockId: BlockID | undefined; - timestamp: Date | undefined; + blockId?: BlockID | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface ProposalSDKType { @@ -336,36 +338,36 @@ export interface ProposalSDKType { height: Long; round: number; pol_round: number; - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; signature: Uint8Array; } export interface SignedHeader { - header: Header | undefined; - commit: Commit | undefined; + header?: Header | undefined; + commit?: Commit | undefined; } export interface SignedHeaderSDKType { - header: HeaderSDKType | undefined; - commit: CommitSDKType | undefined; + header?: HeaderSDKType | undefined; + commit?: CommitSDKType | undefined; } export interface LightBlock { - signedHeader: SignedHeader | undefined; - validatorSet: ValidatorSet | undefined; + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; } export interface LightBlockSDKType { - signed_header: SignedHeaderSDKType | undefined; - validator_set: ValidatorSetSDKType | undefined; + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; } export interface BlockMeta { - blockId: BlockID | undefined; + blockId?: BlockID | undefined; blockSize: Long; - header: Header | undefined; + header?: Header | undefined; numTxs: Long; } export interface BlockMetaSDKType { - block_id: BlockIDSDKType | undefined; + block_id?: BlockIDSDKType | undefined; block_size: Long; - header: HeaderSDKType | undefined; + header?: HeaderSDKType | undefined; num_txs: Long; } /** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ @@ -373,14 +375,14 @@ export interface BlockMetaSDKType { export interface TxProof { rootHash: Uint8Array; data: Uint8Array; - proof: Proof | undefined; + proof?: Proof | undefined; } /** 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 | undefined; + proof?: ProofSDKType | undefined; } function createBasePartSetHeader(): PartSetHeader { diff --git a/examples/telescope/codegen/tendermint/types/validator.ts b/examples/telescope/codegen/tendermint/types/validator.ts index 5acd17c78..17c07b8c5 100644 --- a/examples/telescope/codegen/tendermint/types/validator.ts +++ b/examples/telescope/codegen/tendermint/types/validator.ts @@ -1,34 +1,34 @@ import { PublicKey, PublicKeySDKType } from "../crypto/keys"; import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; export interface ValidatorSet { validators: Validator[]; - proposer: Validator | undefined; + proposer?: Validator | undefined; totalVotingPower: Long; } export interface ValidatorSetSDKType { validators: ValidatorSDKType[]; - proposer: ValidatorSDKType | undefined; + proposer?: ValidatorSDKType | undefined; total_voting_power: Long; } export interface Validator { address: Uint8Array; - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; votingPower: Long; proposerPriority: Long; } export interface ValidatorSDKType { address: Uint8Array; - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; voting_power: Long; proposer_priority: Long; } export interface SimpleValidator { - pubKey: PublicKey | undefined; + pubKey?: PublicKey | undefined; votingPower: Long; } export interface SimpleValidatorSDKType { - pub_key: PublicKeySDKType | undefined; + pub_key?: PublicKeySDKType | undefined; voting_power: Long; } diff --git a/examples/telescope/codegen/tendermint/version/types.ts b/examples/telescope/codegen/tendermint/version/types.ts index 142dffe2b..69add730b 100644 --- a/examples/telescope/codegen/tendermint/version/types.ts +++ b/examples/telescope/codegen/tendermint/version/types.ts @@ -1,5 +1,5 @@ import * as _m0 from "protobufjs/minimal"; -import { Long } from "@osmonauts/helpers"; +import { Long } from "../../helpers"; /** * App includes the protocol and software version for the application. * This information is included in ResponseInfo. The App.Protocol can be diff --git a/examples/telescope/package.json b/examples/telescope/package.json index ca99b4031..925036edf 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -13,14 +13,13 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "^2.0.10", "@chakra-ui/react": "^2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/react": "0.18.4", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@osmonauts/helpers": "^0.6.0", - "@osmonauts/lcd": "^0.6.0", + "@osmonauts/lcd": "^0.8.0", "bignumber.js": "9.1.0", "framer-motion": "7.3.6", "next": "12.2.5", @@ -30,7 +29,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.35.0", + "@osmonauts/telescope": "0.66.1", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", @@ -41,4 +40,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 59ba13184..3e1d24fb4 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -11,8 +11,8 @@ "dependencies": { "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index b3718bddf..0dda5ce26 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -12,8 +12,8 @@ "@chain-registry/types": "0.11.0", "@chakra-ui/icons": "2.0.10", "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", "@cosmos-kit/keplr": "0.19.3", "@cosmos-kit/react": "0.18.4", diff --git a/yarn.lock b/yarn.lock index b8adf5520..d8cd2a3bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -38,6 +38,11 @@ resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== +"@babel/compat-data@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" + integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== + "@babel/core@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" @@ -80,6 +85,27 @@ json5 "^2.2.1" semver "^6.3.0" +"@babel/core@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" + integrity sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.3" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.3" + "@babel/types" "^7.19.3" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + "@babel/core@7.9.6": version "7.9.6" resolved "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz" @@ -150,6 +176,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" + integrity sha512-fqVZnmp1ncvZU757UzDheKZpfPgatqY59XtW2/j/18H7u76akb8xqvjw82f+i2UKd/ksYsSick/BCLQUUtJ/qQ== + dependencies: + "@babel/types" "^7.19.3" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + "@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2", "@babel/generator@^7.9.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" @@ -159,6 +194,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@^7.19.3", "@babel/generator@^7.19.4": + version "7.19.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.5.tgz#da3f4b301c8086717eee9cab14da91b1fa5dcca7" + integrity sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg== + dependencies: + "@babel/types" "^7.19.4" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" @@ -184,6 +228,16 @@ browserslist "^4.21.3" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" + integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0", "@babel/helper-create-class-features-plugin@^7.8.3": version "7.19.0" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" @@ -331,7 +385,12 @@ resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== -"@babel/helper-validator-identifier@^7.18.6": +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== @@ -391,6 +450,11 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== +"@babel/parser@^7.19.3", "@babel/parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" + integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" @@ -407,7 +471,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.8.3": +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1", "@babel/plugin-proposal-async-generator-functions@^7.8.3": version "7.19.1" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== @@ -739,7 +803,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.9.5": +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0", "@babel/plugin-transform-classes@^7.9.5": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== @@ -761,6 +825,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" +"@babel/plugin-transform-destructuring@^7.18.13": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" + integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-transform-destructuring@^7.18.9", "@babel/plugin-transform-destructuring@^7.9.5": version "7.18.13" resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" @@ -840,7 +911,7 @@ "@babel/helper-simple-access" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.9.6": +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0", "@babel/plugin-transform-modules-systemjs@^7.9.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== @@ -859,7 +930,7 @@ "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.19.1", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": version "7.19.1" resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== @@ -962,6 +1033,18 @@ babel-plugin-polyfill-regenerator "^0.4.0" semver "^6.3.0" +"@babel/plugin-transform-runtime@7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.1.tgz#a3df2d7312eea624c7889a2dcd37fd1dfd25b2c6" + integrity sha512-2nJjTUFIzBMP/f/miLxEK9vxwW/KUXsdvN4sR//TmuDhe6yU2h57WmIOE12Gng3MDP/xpjUV/ToZRdcf8Yj4fA== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + semver "^6.3.0" + "@babel/plugin-transform-runtime@7.9.6": version "7.9.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz" @@ -979,7 +1062,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.8.3": +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0", "@babel/plugin-transform-spread@^7.8.3": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== @@ -1113,6 +1196,87 @@ core-js-compat "^3.22.1" semver "^6.3.0" +"@babel/preset-env@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.3.tgz#52cd19abaecb3f176a4ff9cc5e15b7bf06bec754" + integrity sha512-ziye1OTc9dGFOAXSWKUqQblYHNlBOaDl8wzqf2iKXJAltYiR3hKHUKmkt+S9PppW7RQpq4fFCrwwpIDj/f5P4w== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.19.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.19.0" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.13" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.0" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.19.3" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" + semver "^6.3.0" + "@babel/preset-env@7.9.6": version "7.9.6" resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz" @@ -1237,6 +1401,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": version "7.18.10" resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" @@ -1278,6 +1449,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" + integrity sha512-qh5yf6149zhq2sgIXmwjnsvmnNQC2iw70UFjp4olxucKrWd/dvlUsBI88VSLUsnMNF7/vnOiA+nk1+yLoCqROQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.3" + "@babel/types" "^7.19.3" + debug "^4.1.0" + globals "^11.1.0" + "@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": version "7.19.1" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" @@ -1294,6 +1481,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.4.tgz#f117820e18b1e59448a6c1fa9d0ff08f7ac459a8" + integrity sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.4" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.4" + "@babel/types" "^7.19.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" @@ -1312,6 +1515,15 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" +"@babel/types@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" + integrity sha512-hGCaQzIY22DJlDh9CH7NOxgKkFjBk0Cw9xDO1Xmh2151ti7wiGfQ3LauXzL4HP1fmFlTX6XjpRETTpUcv7wQLw== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" @@ -1321,6 +1533,15 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" +"@babel/types@^7.19.3", "@babel/types@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" @@ -2597,7 +2818,44 @@ "@cosmjs/math" "^0.29.0" "@cosmjs/utils" "^0.29.0" -"@cosmjs/cosmwasm-stargate@0.29.0", "@cosmjs/cosmwasm-stargate@^0.29.0": +"@cosmjs/amino@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.1.tgz#cdd77fbca4cd4a4d99540f885ceb0666f7afd348" + integrity sha512-Obw6qMLSUg2YmHOe9cHF9LofeLoz52I+1OUuVg7WdVDWK3kvWYA6oME/21h5XHb18pU5f0Nkcgz1SXTG8/stTQ== + dependencies: + "@cosmjs/crypto" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + +"@cosmjs/amino@^0.29.1", "@cosmjs/amino@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.2.tgz#2d9f87041d4cad7da4828b96f4d51121a19763bd" + integrity sha512-59Ta3liptOPPFNclziqaScm8Uvs5iwUkEU/Nl6SRMrmRU7lOdOYbNqsBgp27Ozc5jL2d8+ML4AyrJ1S5x8jgAw== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + +"@cosmjs/cosmwasm-stargate@0.29.2", "@cosmjs/cosmwasm-stargate@^0.29.1": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.2.tgz#c35f2aa26f310f642a0e296b93eee53bd652771b" + integrity sha512-NC3e0QOJR0iTpexPogEDiJgQ1HIIL6fahowLmmsTO60RbnARd/gEjf5AmdJ/6I8KigN8pSqQOr9Yvu6M73/9yg== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stargate" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/cosmwasm-stargate@^0.29.0": version "0.29.0" resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== @@ -2627,6 +2885,19 @@ elliptic "^6.5.3" libsodium-wrappers "^0.7.6" +"@cosmjs/crypto@0.29.0", "@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + "@cosmjs/crypto@^0.24.1": version "0.24.1" resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz" @@ -2645,14 +2916,14 @@ sha.js "^2.4.11" unorm "^1.5.0" -"@cosmjs/crypto@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" - integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== +"@cosmjs/crypto@^0.29.1", "@cosmjs/crypto@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.2.tgz#63308d8c91ade0de73861ef1e5099cba26db5d1b" + integrity sha512-mm4BNiuLAvfJOPYilP8uCs4MKJIogri2A5jb0xn+ZiyFTdIw6xp5eLU7SLxI/V+F2VMPfQDNfS+syPEkDN7g/w== dependencies: - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" "@noble/hashes" "^1" bn.js "^5.2.0" elliptic "^6.5.3" @@ -2694,6 +2965,15 @@ bech32 "^1.1.4" readonly-date "^1.0.0" +"@cosmjs/encoding@^0.29.1", "@cosmjs/encoding@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.2.tgz#705a1e4509e4f347ebb25adcfa958a4d6e6b87cb" + integrity sha512-v62YsTVvDOSbSAHpD2u5oe0yk/ljitkgi+CM/hpL1qytaVKIlr1RSwBDhJ5cW11oqkIjMWM8UNsGeIG8lyt9JA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + "@cosmjs/json-rpc@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" @@ -2710,6 +2990,14 @@ "@cosmjs/stream" "^0.29.0" xstream "^11.14.0" +"@cosmjs/json-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.2.tgz#ccc46e8b334e3affa7ca7b32eace92fbbcd50410" + integrity sha512-oJA12dZflR/VU8zqiu+6gTt1SbKAhJSr/D5qAbIPdUcRzfI44J5h6tOvxnAuzJIig4oAid4u92KeuibAKFRJeA== + dependencies: + "@cosmjs/stream" "^0.29.2" + xstream "^11.14.0" + "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": version "0.24.1" resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz" @@ -2750,6 +3038,13 @@ dependencies: bn.js "^5.2.0" +"@cosmjs/math@^0.29.1", "@cosmjs/math@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.2.tgz#00e7b7d4db8fb79ca1f73aa50d011bba2140bc72" + integrity sha512-WhgvinqNauEG0GNF7OMNU/cWqBZQ537Zy5d6FAO1+5lOpLhxxBPshEJIO4l2VPU702/JcC5qa49AxyiV3JuGmA== + dependencies: + bn.js "^5.2.0" + "@cosmjs/proto-signing@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" @@ -2776,6 +3071,19 @@ cosmjs-types "^0.5.0" long "^4.0.0" +"@cosmjs/proto-signing@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.1.tgz#925b074de560bd2ab536f4b33599efa4d5415891" + integrity sha512-k3fGmfA0IRBZrctgHHAfixZ03tXY4zKkxOGgB38pdTE3BKwr1rj1CCwrQALdqO5Xkdb2McIRisc5/eVmhJfcrA== + dependencies: + "@cosmjs/amino" "^0.29.1" + "@cosmjs/crypto" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + cosmjs-types "^0.5.0" + long "^4.0.0" + "@cosmjs/proto-signing@^0.24.0-alpha.25": version "0.24.1" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" @@ -2785,6 +3093,19 @@ long "^4.0.0" protobufjs "~6.10.2" +"@cosmjs/proto-signing@^0.29.1", "@cosmjs/proto-signing@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.2.tgz#758f7d0ac4a7446f5eb2c59d5beadf37771c4839" + integrity sha512-+YU1u/SVbvBTiWXkUPca/HNKChSOHuVMrWbhNOzEJgJphYVYwCXabpSFguCymJ1lOFwa0WXIykVqsIzQdEgMQw== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + "@cosmjs/socket@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" @@ -2805,6 +3126,16 @@ ws "^7" xstream "^11.14.0" +"@cosmjs/socket@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.2.tgz#a332f1bd786d4ecb0ac534d9afd3c639f7107cc2" + integrity sha512-SllIOXmn5x3wWfcknv5gmd25kNS2aJmiHEjOM1D+ZUACXzLZBqKTNolg5+8e0yVfR+4yxsJS9w5ocINrY6j0rA== + dependencies: + "@cosmjs/stream" "^0.29.2" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + "@cosmjs/stargate@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" @@ -2841,6 +3172,42 @@ protobufjs "~6.11.3" xstream "^11.14.0" +"@cosmjs/stargate@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.1.tgz#85b739516318102c7907209f9273bd32faccf39c" + integrity sha512-6LYblr8XjIPat4HbW2k0bnPefBHM/0JJUvk8c0m6Nv/vQ9QcG8EIGkB/qndsx+gmPGPNpQ2ed/IpL3670KScmg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/proto-signing" "^0.29.1" + "@cosmjs/stream" "^0.29.1" + "@cosmjs/tendermint-rpc" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.2", "@cosmjs/stargate@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.2.tgz#674711938fc031196968ddf7e409d407572ed50f" + integrity sha512-jCspWI+S+g1DE/rE8wR/JDzmeur120OOacinAADBKiHjSqu9R3qAaiC9kKPsQWl2PYk4qAs8sxLkjg+gq2vRGw== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + "@cosmjs/stream@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" @@ -2855,6 +3222,13 @@ dependencies: xstream "^11.14.0" +"@cosmjs/stream@^0.29.1", "@cosmjs/stream@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.2.tgz#4974742b9d579c96c5cdb29de59ae44f4236949b" + integrity sha512-ov0N6paYO1VVBl9gOu+i7RJyMR7wAWkN+xcxLN123+UHzRgTPWggJ18RqUCZ2Z87hKWHCkzD8pagi8Rf4uY7cg== + dependencies: + xstream "^11.14.0" + "@cosmjs/tendermint-rpc@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" @@ -2887,6 +3261,22 @@ readonly-date "^1.0.0" xstream "^11.14.0" +"@cosmjs/tendermint-rpc@^0.29.1", "@cosmjs/tendermint-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.2.tgz#8e32cd7dd56b1c191c6772d2b9033af4bc2b92c1" + integrity sha512-l3SFzBhJwN5+7gg7elknSFhw1e+YN7QjVTanMZJ0hPH5njeIxaUkabk2y3fqWMBxoUkuCsmxJEIeCSByX/6R8A== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/json-rpc" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/socket" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + "@cosmjs/utils@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" @@ -2907,6 +3297,11 @@ resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== +"@cosmjs/utils@^0.29.1", "@cosmjs/utils@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.2.tgz#1a32338f40decb8ec60b45e9b14476df66e2d915" + integrity sha512-gckp8mbNXF8XCAEwCzH90fpaA0K2O9CC5Rg5v75zsRySYkAaoJIm9f+f8yW2qn6ADge2BnmIT1IkAfmswThCJQ== + "@cosmjson/wasmswap@^0.0.9": version "0.0.9" resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" @@ -2980,26 +3375,6 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/leap@0.1.2": - version "0.1.2" - resolved "https://registry.npmjs.org/@cosmos-kit/leap/-/leap-0.1.2.tgz#7ddb6f809f64cc043f0f44265bff5c39c22f2a61" - integrity sha512-mh0BHlgmDoNoJf8i5Jp6q8GTMGCHSky4gnyulG9vCza/CXyvbjc9mFnQjLT0dKs8sJ7NGFtx1L42Hwzgr4mPng== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/keplr" "1.0.0" - "@chain-registry/types" "^0.11.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.3" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.11.3" - "@keplr-wallet/wc-client" "^0.11.3" - "@walletconnect/client" "1.8.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - "@cosmos-kit/react@0.18.4": version "0.18.4" resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.4.tgz#f02cf5939a08595b8b7db82c388d3ccfb36be956" @@ -3057,10 +3432,10 @@ shelljs "0.8.5" wasm-ast-types "^0.11.1" -"@cosmwasm/ts-codegen@0.16.5": - version "0.16.5" - resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.5.tgz#98618126000b28a4039572f501e61805ff5a5620" - integrity sha512-rGqxMsftRESspiT4CfeYP2hxFeRdpN5YPw3FezNbRT0pqO7yZVvFXl5cqGidOHbzlXhreo7/RAABRfGOW7arng== +"@cosmwasm/ts-codegen@0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.17.0.tgz#fe27a96e54db3ebafca44a99a79849450e4434bd" + integrity sha512-kmeCaNjLXn/ogaRxxcY9BCu2LKsHdpitp7SgM4Pizt13aqDBruLXU3yKU2XmldNB6NjmaYzSwToCs2PmHIxzBA== dependencies: "@babel/core" "7.18.10" "@babel/generator" "7.18.12" @@ -3090,6 +3465,39 @@ shelljs "0.8.5" wasm-ast-types "^0.11.3" +"@cosmwasm/ts-codegen@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.19.0.tgz#30663019ba283dc50778209c984f8bd22ead47af" + integrity sha512-UTQnrxuxTVhaEGLB5gLCV5ppyF0WG6nGqY/eNHeVv3WeoB3CobeGFdsONbXz+whIX6+xJFQJ9YE+rmGVWVc0lQ== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.13.0" + "@ctrl/tinycolor@^3.4.0": version "3.4.1" resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" @@ -3613,12 +4021,12 @@ resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@juno-network/assets@0.11.1": - version "0.11.1" - resolved "https://registry.npmjs.org/@juno-network/assets/-/assets-0.11.1.tgz#d80bb3f34d82c511f9dd120930ccf04f585bc459" - integrity sha512-7X4LzJVM3JLVHFexa71POLYsJ44Pk7TuZh16xgY+ty0rqQlo3egtyJyvINJCGtP9OG/c5VgnGCt/AeMjmN1MBg== +"@juno-network/assets@0.13.0": + version "0.13.0" + resolved "https://registry.npmjs.org/@juno-network/assets/-/assets-0.13.0.tgz#0f31b68bd52d14a5b68f47a5ff91e03fa53c02de" + integrity sha512-SAh0ln8joW6+/6lMkYnfW3bIELfDhonb+y9/WIy4106ztVIRXy9VKiQNUFU9REBEyzrprasvvraByIs8P5UvGw== dependencies: - "@babel/runtime" "^7.19.0" + "@babel/runtime" "^7.19.4" "@chain-registry/types" "0.11.0" "@keplr-wallet/common@0.11.3": @@ -4770,6 +5178,19 @@ case "1.6.3" dotty "0.1.2" +"@osmonauts/ast@^0.59.0": + version "0.59.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.59.0.tgz#13e8d852198c434b48c4e0e37eae115c3b990791" + integrity sha512-s2PGxvYJUhDkLdQs6eGaX06clSpafglKR8Yr0O5Baacc4XI3sYjBa76eBFikN3ijXYji2Ue3cJsvXakb4z5EVg== + dependencies: + "@babel/runtime" "^7.19.0" + "@babel/types" "7.19.3" + "@osmonauts/proto-parser" "^0.30.0" + "@osmonauts/types" "^0.22.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + dotty "0.1.2" + "@osmonauts/helpers@^0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" @@ -4784,6 +5205,20 @@ long "^5.2.0" protobufjs "^6.11.3" +"@osmonauts/helpers@^0.7.0": + version "0.7.0" + resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.7.0.tgz#9fce7a3e569bbc65f32f007c132f2677e202bed9" + integrity sha512-T01bxodVuxEmBu9Owd/mV5vsqOwNY30yvkP4ooM1Tnh3S4ZJFprH52vYNt8v7s3ZkZxMhEPaz/I6BTCVo1X8UQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@cosmjs/amino" "0.29.0" + "@cosmjs/crypto" "0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + cosmjs-types "0.5.1" + long "^5.2.0" + protobufjs "^6.11.3" + "@osmonauts/lcd@0.6.0", "@osmonauts/lcd@^0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" @@ -4792,6 +5227,14 @@ "@babel/runtime" "^7.18.9" axios "0.27.2" +"@osmonauts/lcd@0.8.0", "@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + "@osmonauts/proto-parser@^0.19.1": version "0.19.1" resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.1.tgz#caae3144b3469144dbf630599042078fc871a600" @@ -4804,7 +5247,57 @@ glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.35.0", "@osmonauts/telescope@^0.35.0": +"@osmonauts/proto-parser@^0.30.0": + version "0.30.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.30.0.tgz#e1c3a6d4dcf9983b5fa551856739c2081bd46e8f" + integrity sha512-2BcXrE3/yp2cev8X3uUXKvgMjg7t5qJcGZQerBjihbhIee1YtKdXQDlpcj4fzQqhM6JObBDmClt3mDDCeRhViQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/types" "^0.22.0" + "@pyramation/protobufjs" "6.11.5" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + +"@osmonauts/telescope@0.66.1": + version "0.66.1" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.66.1.tgz#0ed1d14b72818706a3e525785e56478c65f4b283" + integrity sha512-YNFzP/wUItwpTffTLXuUEiw5Yjj3cM51yV3ZHCAkQpk2gg2lV5j8k9W1Q6EWNyvWQYHZ9an8neov4irKhSk+Aw== + dependencies: + "@babel/core" "7.19.3" + "@babel/generator" "7.19.3" + "@babel/parser" "^7.19.3" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.19.1" + "@babel/preset-env" "7.19.3" + "@babel/preset-typescript" "^7.17.12" + "@babel/runtime" "^7.19.0" + "@babel/traverse" "7.19.3" + "@babel/types" "7.19.3" + "@cosmwasm/ts-codegen" "0.17.0" + "@osmonauts/ast" "^0.59.0" + "@osmonauts/proto-parser" "^0.30.0" + "@osmonauts/types" "^0.22.0" + "@osmonauts/utils" "^0.7.0" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + +"@osmonauts/telescope@^0.35.0": version "0.35.0" resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.35.0.tgz#d02477d491f6a095e5f163cdc1c958aff3582c69" integrity sha512-Q1yAHFvONy3kV/U1/5Xp4H+cv5f++MOjMe9LcxqggtSvcanwj+RmUg89hacOpZovUrPP6Z1skHzYyPH8/Hj1Fg== @@ -4851,6 +5344,15 @@ "@osmonauts/utils" "^0.4.0" case "1.6.3" +"@osmonauts/types@^0.22.0": + version "0.22.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.22.0.tgz#c7eb96051b7ffb5961cc0a8a14d0abbc24148ebe" + integrity sha512-b2nHnXseMzgYZPBotKatevrKYMHObKZ+nVz63Km07yfmW2QqYmJkfUdBv+ieP3qvDrOQPMs1mdGvlYLWW7e4LA== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + "@osmonauts/utils@^0.4.0": version "0.4.0" resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz" @@ -4858,6 +5360,13 @@ dependencies: "@babel/runtime" "^7.18.9" +"@osmonauts/utils@^0.7.0": + version "0.7.0" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.7.0.tgz#bd4978d403a99e8b5ade26ee7d2d31ea04e1cb31" + integrity sha512-pGt1oAFgRYWporTcrSjRa0i51PqQ8K1vYb8BjDdTdF/b+Kb+UHUGZXUpbR+kAmIiBMTsRYoYzHjktxGlECIWaQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@popperjs/core@^2.9.3": version "2.11.6" resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz" @@ -5041,6 +5550,25 @@ "@types/node" ">=13.7.0" long "^4.0.0" +"@pyramation/protobufjs@6.11.5": + version "6.11.5" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.5.tgz#c64904a7214f2d061de53eed166c882a369731c4" + integrity sha512-gr+Iv6d7Iwq3PmNsTeQtL6TUONJs0WqbHFikett4zLquRK7egWuifZSKsqV8+o1UBNZcv52Z1HhgwTqNJe75Ag== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + "@rushstack/eslint-patch@^1.1.3": version "1.2.0" resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz" @@ -5977,7 +6505,7 @@ babel-plugin-macros@^3.1.0: cosmiconfig "^7.0.0" resolve "^1.19.0" -babel-plugin-polyfill-corejs2@^0.3.2: +babel-plugin-polyfill-corejs2@^0.3.2, babel-plugin-polyfill-corejs2@^0.3.3: version "0.3.3" resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== @@ -5994,7 +6522,15 @@ babel-plugin-polyfill-corejs3@^0.5.3: "@babel/helper-define-polyfill-provider" "^0.3.2" core-js-compat "^3.21.0" -babel-plugin-polyfill-regenerator@^0.4.0: +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" + +babel-plugin-polyfill-regenerator@^0.4.0, babel-plugin-polyfill-regenerator@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== @@ -6744,6 +7280,13 @@ core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: dependencies: browserslist "^4.21.3" +core-js-compat@^3.25.1: + version "3.25.5" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz#0016e8158c904f7b059486639e6e82116eafa7d9" + integrity sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA== + dependencies: + browserslist "^4.21.4" + core-js-pure@^3.25.1: version "3.25.1" resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.1.tgz" @@ -6802,6 +7345,14 @@ cosmjs-types@^0.4.0: long "^4.0.0" protobufjs "~6.11.2" +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" @@ -9353,19 +9904,18 @@ jsprim@^1.2.2: array-includes "^3.1.5" object.assign "^4.1.3" -juno-network@0.5.3: - version "0.5.3" - resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.5.3.tgz#686e66ff967e3877316f62a91b2c797885899f65" - integrity sha512-AtZYQE5c/wXBs29nTniiIwiFF0UlVFb/9/gvCpYhpTmjc9eEfvglqu0Y26MO0NyP0wG1tSdxOlyGAV49kRHkVA== - dependencies: - "@babel/runtime" "^7.19.0" - "@cosmjs/amino" "0.29.0" - "@cosmjs/cosmwasm-stargate" "^0.29.0" - "@cosmjs/proto-signing" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmjs/tendermint-rpc" "^0.29.0" - "@osmonauts/helpers" "^0.6.0" - "@osmonauts/lcd" "0.6.0" +juno-network@0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.8.0.tgz#1bac72c7a87d5c3534c802747a75f10a3fb64292" + integrity sha512-bWk94G9GvOvaHHDvfMY1ZA3sGQqyTZK5FXlObI/U/oy8pmeOObECqaAmJtLDpQL+dlVuJviRvZUTEhSQKauglg== + dependencies: + "@babel/runtime" "^7.19.4" + "@cosmjs/amino" "0.29.1" + "@cosmjs/cosmwasm-stargate" "^0.29.1" + "@cosmjs/proto-signing" "0.29.1" + "@cosmjs/stargate" "0.29.1" + "@cosmjs/tendermint-rpc" "^0.29.1" + "@osmonauts/lcd" "0.8.0" protobufjs "^6.11.2" keyvaluestorage-interface@^1.0.0: @@ -10413,17 +10963,17 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.27.0: - version "0.27.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.27.0.tgz#386e25671ed21e9cfe4a443562effbd339cdfb78" - integrity sha512-CVuGPgUsVMIkoNr+cEtoPjBuRN0PzMtEOaVLASndvqlqarRI3mUKCc/pvhbIGrPeD0tb/C0JRtOUc8Zt2ZykSg== +osmojs@0.32.0: + version "0.32.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.32.0.tgz#c6967e05557b1ef91665086ef0094f16edf1e009" + integrity sha512-FEnVs3KO/8db1pGxsD3If+lewMnnsfBHNaz63h4mjNR1rQc6s3V7habHM6mI5rygryKVnDTCyXyz/45n/7BZKQ== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" "@cosmjs/proto-signing" "0.29.0" "@cosmjs/stargate" "0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" - "@osmonauts/lcd" "^0.6.0" + "@osmonauts/lcd" "^0.8.0" long "^5.2.0" protobufjs "^6.11.3" @@ -12579,6 +13129,18 @@ wasm-ast-types@^0.11.1, wasm-ast-types@^0.11.3: case "1.6.3" deepmerge "4.2.2" +wasm-ast-types@^0.13.0: + version "0.13.0" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.13.0.tgz#79068ca2c51c097546ed7abdc61a86f7ad43836b" + integrity sha512-Rbg+02LqSYc4v0jGt6L+edLUzoQyfml3nBU13T/4e3T/L8BG25ein5mHSfA+/0l9y29EsNloD0LYr5KQnunN0w== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + wcwidth@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz" From 0d9f7c2bfa313139ae7fe84207b7eac523469d25 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 18:40:28 -0700 Subject: [PATCH 161/262] upgrades --- examples/contracts/package.json | 6 +- examples/juno/package.json | 4 +- examples/osmosis-cosmwasm/package.json | 6 +- examples/osmosis/package.json | 6 +- examples/send-tokens/package.json | 4 +- examples/stargaze/package.json | 4 +- examples/tailwindcss/components/wallet.tsx | 264 +-- examples/tailwindcss/package.json | 4 +- examples/tailwindcss/pages/_app.tsx | 5 +- examples/tailwindcss/pages/index.tsx | 3 +- examples/telescope/package.json | 8 +- templates/connect-chain/package.json | 4 +- templates/connect-multi-chain/package.json | 4 +- yarn.lock | 2333 ++++++++------------ 14 files changed, 1089 insertions(+), 1566 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 5f0d7931b..bcb287328 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "^2.0.10", - "@chakra-ui/react": "^2.3.4", + "@chakra-ui/icons": "^2.0.11", + "@chakra-ui/react": "^2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/react": "0.18.4", @@ -30,7 +30,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.66.1", + "@osmonauts/telescope": "0.69.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", diff --git a/examples/juno/package.json b/examples/juno/package.json index b3223e03e..538b82c87 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 6250cf79a..0b23a7c08 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -12,8 +12,8 @@ "dependencies": { "@chain-registry/osmosis": "1.0.0", "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", @@ -25,7 +25,7 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.32.0", + "osmojs": "0.33.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 1ad845b4e..2b53787ff 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -11,8 +11,8 @@ "dependencies": { "@chain-registry/osmosis": "1.0.0", "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", @@ -24,7 +24,7 @@ "chain-registry": "1.0.0", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.32.0", + "osmojs": "0.33.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 5ffec051d..3772b4840 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 5cb4b2a5b..b862f5c59 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index ecb7170b5..77290c75a 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -1,72 +1,56 @@ -import { useWallet } from '@cosmos-kit/react'; +import { MouseEventHandler, useEffect, useMemo } from 'react' +import { ChainCard } from '../components' +import { Address, truncate } from './react/views' import { - Box, - Center, - Grid, - GridItem, - Icon, - Stack, - useColorModeValue, - Text -} from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { - Astronaut, - Error, - Connected, - ConnectedShowAddress, - ConnectedUserInfo, - Connecting, - ConnectStatusWarn, - CopyAddressBtn, - Disconnected, - NotExist, - Rejected, - RejectedWarn, - WalletConnectComponent, - ChainCard -} from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; + ArrowPathIcon, + ArrowDownTrayIcon, + WalletIcon, +} from '@heroicons/react/24/outline' +import { useWallet } from '@cosmos-kit/react' +import { ChainName, WalletStatus } from '@cosmos-kit/core' +import { chainInfos } from '../config/chain-infos' + +const buttons = { + Disconnected: { + icon: WalletIcon, + title: 'Connect Wallet' + }, + Connected: { + icon: WalletIcon, + title: 'My Wallet', + }, + Rejected: { + icon: ArrowPathIcon, + title: 'Reconnect', + }, + Error: { + icon: ArrowPathIcon, + title: 'Change Wallet', + }, + NotExist: { + icon: ArrowDownTrayIcon, + title: 'Install Wallet', + }, +} -export const WalletSection = () => { - const walletManager = useWallet(); +export const WalletSection = ({ chainName }: { chainName?: ChainName }) => { + const walletManager = useWallet() const { connect, openView, + setCurrentChain, walletStatus, username, address, - message, - currentChainName, currentWalletName, - chains - } = walletManager; + chains, + } = walletManager - const chainName = currentChainName; + const chain = chainInfos.find((c) => c.chainName === chainName) - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + useEffect(() => { + setCurrentChain(chainName) + }, [chainName, setCurrentChain]) // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -75,102 +59,90 @@ export const WalletSection = () => { }; const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + e.preventDefault() + openView() + } - // Components - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - error={} - notExist={ - - } - /> - ); + const _renderConnectButton = useMemo(() => { + // Spinner + if (walletStatus === WalletStatus.Connecting) { + return ( + + ) + } - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - /> - ); + let onClick + if ( + walletStatus === WalletStatus.Disconnected || + walletStatus === WalletStatus.Rejected + ) + onClick = onClickConnect + else onClick = onClickOpenView - const userInfo = ( - } /> - ); - const addressBtn = chainName && ( - } - /> - ); + const buttonData = buttons[walletStatus] - return ( -
- + + {buttonData.title} + + ) + }, [onClickConnect, onClickOpenView, walletStatus]) + + return ( +
+
{chainName && ( - +
- +
)} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -}; +
+
+
+ {username && ( +
+
+

+ {username} +

+
+ )} +
+ {address ?
{truncate(address)}
: <>} +
+ {_renderConnectButton} +
+
+
+
+ + ) +} diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 384c28c11..40f956c6e 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -16,8 +16,8 @@ "@cosmos-kit/react": "0.18.4", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@headlessui/react": "^1.7.2", - "@heroicons/react": "^2.0.11", + "@headlessui/react": "^1.7.3", + "@heroicons/react": "^2.0.12", "bowser": "^2.11.0", "chain-registry": "1.0.0", "copy-to-clipboard": "^3.3.2", diff --git a/examples/tailwindcss/pages/_app.tsx b/examples/tailwindcss/pages/_app.tsx index ccd2955bd..1c1b5980e 100644 --- a/examples/tailwindcss/pages/_app.tsx +++ b/examples/tailwindcss/pages/_app.tsx @@ -7,7 +7,6 @@ import { ThemeProvider } from '../contexts/theme'; import { SignerOptions } from '@cosmos-kit/core'; import { chains, assets } from 'chain-registry'; -import { chainName } from '../config'; function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { @@ -18,8 +17,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} walletModal={TailwindModal} diff --git a/examples/tailwindcss/pages/index.tsx b/examples/tailwindcss/pages/index.tsx index 0e31b30fc..b8874835f 100644 --- a/examples/tailwindcss/pages/index.tsx +++ b/examples/tailwindcss/pages/index.tsx @@ -5,6 +5,7 @@ import { useTheme } from '../contexts/theme'; import { MoonIcon, SunIcon } from '@heroicons/react/24/outline'; export default function Home() { + const chainName = process.env.NEXT_PUBLIC_CHAIN ?? 'stargaze'; const { theme, toggleTheme } = useTheme(); return ( @@ -37,7 +38,7 @@ export default function Home() { - +
{products.map((product) => ( diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 925036edf..fd2a1fba0 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "^2.0.10", - "@chakra-ui/react": "^2.3.4", + "@chakra-ui/icons": "^2.0.11", + "@chakra-ui/react": "^2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/react": "0.18.4", @@ -29,7 +29,7 @@ }, "devDependencies": { "@cosmjson/wasmswap": "^0.0.9", - "@osmonauts/telescope": "0.66.1", + "@osmonauts/telescope": "0.69.0", "@protobufs/cosmos": "^0.0.11", "@protobufs/cosmwasm": "^0.0.11", "@protobufs/ibc": "^0.0.11", @@ -40,4 +40,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 3e1d24fb4..f5234db3f 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -9,8 +9,8 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 0dda5ce26..c68f4f9f3 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "@chain-registry/types": "0.11.0", - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", "@cosmos-kit/core": "0.19.3", diff --git a/yarn.lock b/yarn.lock index d8cd2a3bb..634ba2c91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -380,12 +380,7 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-string-parser@^7.18.10": - version "7.18.10" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" - integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== - -"@babel/helper-string-parser@^7.19.4": +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.19.4": version "7.19.4" resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== @@ -421,7 +416,7 @@ "@babel/highlight@^7.18.6": version "7.18.6" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== dependencies: "@babel/helper-validator-identifier" "^7.18.6" @@ -1394,20 +1389,20 @@ core-js-pure "^3.25.1" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": - version "7.19.0" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" - integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== - dependencies: - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.19.4": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": version "7.19.4" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": version "7.18.10" resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" @@ -1524,7 +1519,7 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== @@ -1533,7 +1528,7 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@^7.19.3", "@babel/types@^7.19.4": +"@babel/types@^7.18.6", "@babel/types@^7.19.3", "@babel/types@^7.19.4": version "7.19.4" resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== @@ -1575,1224 +1570,744 @@ "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" -"@chakra-ui/accordion@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.0.12.tgz" - integrity sha512-O3qq8mILo1QODjCGr2xwxC5LNFakBoMzTjEgpvpIMynxWc/1RKfGuFLis3IDfpHIicXmBTK6sNiZXewmna88CQ== - dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" - -"@chakra-ui/accordion@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.0.tgz" - integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== - dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" - -"@chakra-ui/alert@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" - integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== +"@chakra-ui/accordion@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.1.tgz#34a8ffe7eb5bd30f7e10db4ed61f80c53d8bfa18" + integrity sha512-5f4QBl/0EgU/9EVvzlj8ZU7SWwG6nUHCE9moGBCbgiIOVBEySxZ5Robsk6+T7sXmzQ41db04GcUE9NRKdalgIA== dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.10" -"@chakra-ui/alert@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.9.tgz" - integrity sha512-hFRIh6ZzQJ0sAESRym15mW/mcZE/yu4z6lFtdToBhpfSlhZLuE7gDdOTxqGkg417hY//48NiNXOCoQ2dUUuHKw== +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== dependencies: - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/spinner" "2.0.9" - -"@chakra-ui/anatomy@2.0.6": - version "2.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz" - integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/avatar@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.0.tgz" - integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== - dependencies: - "@chakra-ui/image" "2.0.10" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== -"@chakra-ui/breadcrumb@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz" - integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== +"@chakra-ui/avatar@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.1.tgz#7482d7cda4736dfa9e4b4eefd5cbb8c5b1486c64" + integrity sha512-lTZPUq4Pefxgv3ndyJMxIHgFrXwdz2VZFCLF/aKcuGaUlB7TBYaCurQ7TNbME8j8VkJWNX+vKiVHPYvxsrITwQ== dependencies: - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/breakpoint-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz" - integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/button@2.0.10": +"@chakra-ui/breadcrumb@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.10.tgz" - integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.10.tgz#2b01e7422e171d1de1a8ca8c8e2a774c8449701b" + integrity sha512-roKFA7nheq18eWNAdrHV6w8A9vZMSQTEEsbL6eU0lhUkolW9RlDjBl1bZvE7icFkNFXlJ33n8+0QAezLI+mMrQ== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/button@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.9.tgz" - integrity sha512-4BuDBiBlChHW1rQ9iod9MKs87AY3IyvZQwjV3DZTU4IG0KcDDfLQf++jj4dkg9Ttu+pIWhwF42pzA40JxW1oNg== - dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/spinner" "2.0.9" +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== -"@chakra-ui/checkbox@2.1.8": - version "2.1.8" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.1.8.tgz" - integrity sha512-HhRs3nwTFoIE/UpX4N2AZxxW39Xm/Vw01HjwP/59X60kdKs3RBXlm52cODkfUDfveyT9o5ezLhU/jRf0qA909Q== +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== dependencies: - "@chakra-ui/form-control" "2.0.9" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/visually-hidden" "2.0.9" - "@zag-js/focus-visible" "0.1.0" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/checkbox@2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz" - integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== +"@chakra-ui/checkbox@2.2.1": + version "2.2.1" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.1.tgz#3e88337f4588bb8bbc37da0102653b35991d736d" + integrity sha512-soTeXEI+4UZSA4B4rRLpdh3cIW/gdhY6k0eXF4ZWExPb+dJ5Giv497S96vS4IGE7SJ7Ugw9kaWS+do2lSiPJew== dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/visually-hidden" "2.0.10" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/clickable@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.9.tgz" - integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== - dependencies: - "@chakra-ui/react-use-merge-refs" "2.0.3" - -"@chakra-ui/close-button@2.0.10": +"@chakra-ui/clickable@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.10.tgz" - integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== - dependencies: - "@chakra-ui/icon" "3.0.10" - -"@chakra-ui/close-button@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.9.tgz" - integrity sha512-0RI/zLR+/mycGbYCCwDAc9hAVG7IIVmdikmo1ET7+rYip4TN94aWR0hA4dYtWqqghG1oW/pYQ9Yja6fEY90V5w== + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== dependencies: - "@chakra-ui/icon" "3.0.9" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/color-mode@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.7.tgz" - integrity sha512-GAoKJzVRQeuEfCa2i0BZdMwxuOoaGknU3+5wgvLuaSpwlov4OyqpjKMRdSdpjr4IFiqqHK47dsr3H4LQsbO+9w== +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/icon" "3.0.11" -"@chakra-ui/color-mode@2.1.8": - version "2.1.8" - resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz" - integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/control-box@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.9.tgz" - integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== -"@chakra-ui/counter@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.9.tgz" - integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== dependencies: - "@chakra-ui/number-utils" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/css-reset@2.0.7": - version "2.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz" - integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== -"@chakra-ui/descendant@3.0.9": - version "3.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.9.tgz" - integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - -"@chakra-ui/dom-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.1.tgz" - integrity sha512-sbob9AHQq1+KIQ3XKslafislwtC8pYcpwM0S1SLzgyZumHRwhDimKwdi4MtRQfOCenub0E3diRjp4RpGRL0JuQ== + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/dom-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz" - integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== -"@chakra-ui/editable@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.11.tgz" - integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== +"@chakra-ui/editable@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.12.tgz#935d100cdce18268c9bf716ec9192b4b46253ffb" + integrity sha512-37bDqm+j2JTN2XR443KRK9MmHHIQuS6fN+2TRuFgjfG8TomxxCJnhJ3GIfQSKh5Yjtnt4sXDmL4L0tyDpNrrrw== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/editable@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.9.tgz" - integrity sha512-s5F3UMR09s6ga3eVhw0UBMGmegtxg6jCp29VLqaEwP5BuWIEOjcJz358gTlnFr3dhvb31e3rcr+B1XiYv4wxqg== - dependencies: - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.1" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/event-utils@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz" - integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== -"@chakra-ui/focus-lock@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.10.tgz" - integrity sha512-LeRZYzwfJp0eq84oO8e1pC2qC8v8fJw/P4nYDrCDjuJU753DV6nVjp5MKMRqbkp+6IAElPc+ojy/sp2a9GCocw== +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== dependencies: - "@chakra-ui/dom-utils" "2.0.1" + "@chakra-ui/dom-utils" "2.0.3" react-focus-lock "^2.9.1" -"@chakra-ui/focus-lock@2.0.11": +"@chakra-ui/form-control@2.0.11": version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz" - integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== - dependencies: - "@chakra-ui/dom-utils" "2.0.2" - react-focus-lock "^2.9.1" - -"@chakra-ui/form-control@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.10.tgz" - integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== - dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - -"@chakra-ui/form-control@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.9.tgz" - integrity sha512-P8Tr45z/XSAa1m6uAma0eKf1h7Ltg2sLj2jK5YhaXJER9VUUY18iGe96D4JrAXlgEWDhTyWMb63nB+eYO1tKtw== + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== dependencies: - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/hooks@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.10.tgz" - integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== +"@chakra-ui/hooks@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.11.tgz#465ee4720c0e76900a4a4480c347d6c91bb4848e" + integrity sha512-mYN4u9lbjDjEr/VucrVcLGg/sIO6gA9ZprcT3n9CBGSWt3xih7fCOJmE+yRcCNbL7335AMrv7a/M5Q30aRArcA== dependencies: - "@chakra-ui/react-utils" "2.0.7" - "@chakra-ui/utils" "2.0.10" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" -"@chakra-ui/hooks@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.9.tgz" - integrity sha512-0JRgEPtsBaXr9nQW1xEKlWGA7WwFbLNqac7fQXp9zQvoHOWTfNJkK/NJaVBvyFPgfTLxy37WKHooVSwNG/Lwmg== +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== dependencies: - "@chakra-ui/react-utils" "2.0.6" - "@chakra-ui/utils" "2.0.9" - compute-scroll-into-view "1.0.14" - copy-to-clipboard "3.3.1" + "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/icon@3.0.10": - version "3.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.10.tgz" - integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== +"@chakra-ui/icons@2.0.11", "@chakra-ui/icons@^2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== dependencies: - "@chakra-ui/shared-utils" "2.0.1" + "@chakra-ui/icon" "3.0.11" -"@chakra-ui/icon@3.0.9": - version "3.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.9.tgz" - integrity sha512-P2Pwm/za6m1W1oqL2kGHH6XrrymsBjqYAFwOW2lB5Q6mI1e+RYe/iMxDoPSLHMYhqdfH7vyib/ffE3Vv3a5oTA== +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== dependencies: - "@chakra-ui/shared-utils" "2.0.1" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/icons@2.0.10", "@chakra-ui/icons@^2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.10.tgz" - integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== +"@chakra-ui/input@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.11.tgz#1d37093f2128f3148551b22c43f623256c856940" + integrity sha512-kaV0VCz6/yzoCKQnh/tMUVgh+Rp6EnM+WzJ37SVX1gDvErON2bmmVLU45BiRoWUcd50wOhDlpsNVUWP0sLlCDA== dependencies: - "@chakra-ui/icon" "3.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/image@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.10.tgz" - integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== +"@chakra-ui/layout@2.1.8": + version "2.1.8" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.8.tgz#5bab204e33079527e0756e2f3616718888b5f14d" + integrity sha512-pcNUNgMh+e4wepNOlCg5iDrxGg4VFBpqZPmSHoP4TyPN2ddEnDRLoMLaREMoX7gEVyTsqEFOFg+wa3JZK32H4A== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/input@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.10.tgz" - integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== - dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/input@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.9.tgz" - integrity sha512-6MKydxTyF7JV7PtQHircQ5HBTd6Ik9Vn7p8fCLeAieT0TK8UQTxMWZVPminS7TRWMutrq8W99DcQOBlMz0cKrw== - dependencies: - "@chakra-ui/form-control" "2.0.9" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/layout@2.1.6": - version "2.1.6" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.6.tgz" - integrity sha512-QDNaVu44UI46c+YlSF1KrzJkiwua0UtRXNTnR3jBE1uzcuqRow7xgr3E60dLphY2cPFqAljfQZUNlP3sgvCLww== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/layout@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.7.tgz" - integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/lazy-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz" - integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== - -"@chakra-ui/live-region@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.9.tgz" - integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== -"@chakra-ui/media-query@3.2.5": - version "3.2.5" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.5.tgz" - integrity sha512-V+Dngi/r7u/uj7JhsZerM1RI597Oo4wED2ojNfclnnEVb/IoqktiuFy6RQgbo3HmE7M/E5B1i4yYzt7tQJhXlg== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/react-env" "2.0.9" +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== -"@chakra-ui/media-query@3.2.6": - version "3.2.6" - resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.6.tgz" - integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" -"@chakra-ui/menu@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.0.13.tgz" - integrity sha512-XZYoq9k/txAELUgn5OokyxfXEpVZwBueVYXiT9ji0XvMuzXVxeHd40klJEkiJUctNsOahZf10t5yxlT4B00pwA== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.3" - "@chakra-ui/react-use-focus-effect" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-outside-click" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/transition" "2.0.9" - -"@chakra-ui/menu@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.0.tgz" - integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-outside-click" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/transition" "2.0.9" - -"@chakra-ui/modal@2.1.7": - version "2.1.7" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.1.7.tgz" - integrity sha512-A+CbvhQYpmLH3SrqJ1wJysUCGm0mNoSDxRjP4wX98j56nMTDAsMYlzttpuLmKaSzvbJ7uEQDLtQV8lZjB0gUuw== - dependencies: - "@chakra-ui/close-button" "2.0.9" - "@chakra-ui/focus-lock" "2.0.10" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" - aria-hidden "^1.1.1" - react-remove-scroll "^2.5.4" - -"@chakra-ui/modal@2.2.0": - version "2.2.0" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.0.tgz" - integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== +"@chakra-ui/menu@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.1.tgz#de2b6da5c1267513a7c4b2ae73eff6ea4848a326" + integrity sha512-9fpCyV3vufLV5Rvv/oYC3LyCIkNqh0bEdYFVOLiqCZ6mt6NLFxL2jgE25nROYfDXQuBkY0qPC9IopYU198G4nw== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.10" + +"@chakra-ui/modal@2.2.1": + version "2.2.1" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.1.tgz#2903d1e0a0a5ab308db2ce5e3f6382eed20e702a" + integrity sha512-+zfiUG/yZqUQ0wY7syoZg01cpBf54lbKUe7+ANEx558UQGbsI4bbcHSkY9l5lsprQ8teInvhjb6BekeCA0e7TA== dependencies: - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/focus-lock" "2.0.11" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.10" aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" -"@chakra-ui/number-input@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.11.tgz" - integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== dependencies: - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-interval" "2.0.1" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/number-input@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.9.tgz" - integrity sha512-RsDzoNvSBZMgyXjN543AtQ2v99U1p/0xnGWZy4NCkgCDWMBn3kIXqSzQq5CB9Ot0MD8nnKF5VYdVdXWguXExEQ== - dependencies: - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/form-control" "2.0.9" - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-interval" "2.0.1" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/number-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz" - integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== -"@chakra-ui/object-utils@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz" - integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== -"@chakra-ui/pin-input@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.12.tgz" - integrity sha512-gaMRp5AFW+qAJCUj93V1WluuYBBZ/5A3Wy5q796g8Auvw7vufgkVtl6EBznwvtynZN8gJwbRFpMtJxQyXCkUiw== +"@chakra-ui/pin-input@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.14.tgz#8b5a1817c508bf0c986c6855245b0dc516a14df8" + integrity sha512-gFNlTUjU1xIuOErR/d/HrNNh1mS0erjNJSt5C6RU/My4lShzgCczmwnil7TuEx3k7lPqHKLEf/CGeCxBSUjaGA== dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - -"@chakra-ui/pin-input@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz" - integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== - dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - -"@chakra-ui/popover@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.0.9.tgz" - integrity sha512-+7tH4RVuheFQOyAZ5KT9x+qsLvz7rGuKaHtb0427+5bhUzLaSAghtr/afzOKHDwUVBwF2tTUNanR23ipW1fXDg== - dependencies: - "@chakra-ui/close-button" "2.0.9" - "@chakra-ui/hooks" "2.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/popover@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.0.tgz" - integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== dependencies: - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/popper@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.7.tgz" - integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== dependencies: "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.9.tgz" - integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== - dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - -"@chakra-ui/progress@2.0.10": +"@chakra-ui/portal@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.10.tgz" - integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== - dependencies: - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/provider@2.0.16": - version "2.0.16" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.16.tgz" - integrity sha512-4t/PmjJ7WXPPaPfoYgw8F1/rVtorZuvknugHfOZcOtAPGQmOPotSv28qjKpu/mCvc1GMGV0swMsvCeInYz7g0w== - dependencies: - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/system" "2.2.9" - "@chakra-ui/utils" "2.0.9" - -"@chakra-ui/provider@2.0.18": - version "2.0.18" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.18.tgz" - integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== - dependencies: - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/utils" "2.0.10" - -"@chakra-ui/radio@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.10.tgz" - integrity sha512-LhAWsY22cmb+M/iyhFgkzf2+V9TJmAC77Cd+GbP3M3sxDSEUDtq08KOc3JjoYc3GzeZml3JL1yssbxh+liY3xA== + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== dependencies: - "@chakra-ui/form-control" "2.0.9" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@zag-js/focus-visible" "0.1.0" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/radio@2.0.11": +"@chakra-ui/progress@2.0.11": version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.11.tgz" - integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.11.tgz#f17a08f6d5dd59334ad705501debcbc031e0843d" + integrity sha512-2OwxGxI6W757QpDB6b++B4b2+t0oBgaQdHnd4/y35n3+mOFj++Wg7XpW4/iDHn+x3LkM+X3NIgdBWQFlmGx+6w== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.19": + version "2.0.19" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.19.tgz#6364df6b1f5058f77c270030b122f6614cdb69c4" + integrity sha512-V+p0OePre0OgYmNxLbfiPWWbzaJ/EM2sfaRtD7E6ZA4TjUl2m4pWdC6OPMOiklu7EALfSgVk9X6Jh5pc+moH1g== dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.2.12" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/react-children-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz" - integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== +"@chakra-ui/react-children-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.2.tgz#8676ce88573ad1824989399db8a1ec7e51afc0d0" + integrity sha512-mRTGAZ3DBXB3hgVwS2DVJe3Nlc0qGvMN0PAo4tD/3fj2op2IwspLcYPAWC5D/rI2xj2JlwE6szAtbvxdAfLCNw== -"@chakra-ui/react-context@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.3.tgz" - integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== -"@chakra-ui/react-env@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.9.tgz" - integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== "@chakra-ui/react-types@2.0.3": version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== -"@chakra-ui/react-use-animation-state@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.3.tgz" - integrity sha512-sjGgzMMmxurwKDSFhDLpLNn3SWUERI5iAZOOa0pYnyOLGVXMowgIjK6jpZxre1vc3A+unjJk5P4qeiyY+C4uwQ== +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== dependencies: - "@chakra-ui/dom-utils" "2.0.1" - "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/react-use-animation-state@2.0.4": +"@chakra-ui/react-use-callback-ref@2.0.4": version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz" - integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== - dependencies: - "@chakra-ui/dom-utils" "2.0.2" - "@chakra-ui/react-use-event-listener" "2.0.3" - -"@chakra-ui/react-use-callback-ref@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz" - integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== - -"@chakra-ui/react-use-controllable-state@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.3.tgz" - integrity sha512-su8efwCWWnY2LQUU6PEnYwSGJX8kvPSO2KyUKuymx8q3fNWuyhzAZriG/TbeeCxESLp70+wuniUlSGRa4vxylQ== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== -"@chakra-ui/react-use-controllable-state@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz" - integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-disclosure@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.3.tgz" - integrity sha512-3IdrzvQZcgjqSx5wTVffInOyhMU+d3ZlIE26JmqejMyN/B+qAs932iKfm0A1mTMPTz38ZnNtuaKazmzyfR1ePg== +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-disclosure@2.0.4": +"@chakra-ui/react-use-event-listener@2.0.4": version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz" - integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-event-listener@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz" - integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" -"@chakra-ui/react-use-focus-effect@2.0.3": +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.3.tgz" - integrity sha512-N0rho7P+rH5cn13dbS8GUOye+6RYXAmXhmlS+WW/3lWidGH3HAbMoOVf56UiuSnE1+2or8/U7qRshUryj2H1nA== - dependencies: - "@chakra-ui/dom-utils" "2.0.1" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/react-use-focus-effect@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz" - integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== - dependencies: - "@chakra-ui/dom-utils" "2.0.2" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/react-use-focus-on-pointer-down@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.1.tgz" - integrity sha512-f0qL2iWvajUo+0jwDZyJpUMJ6J6BH3WjDZE2Rp6cns4pgI6uYuv2gj+FqQ5jnoYdXkeER6lBI56a+aIW/1RYiA== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== dependencies: - "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/react-use-focus-on-pointer-down@2.0.2": +"@chakra-ui/react-use-interval@2.0.2": version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz" - integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== dependencies: - "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-interval@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz" - integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== -"@chakra-ui/react-use-merge-refs@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz" - integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== -"@chakra-ui/react-use-outside-click@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz" - integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-pan-event@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz" - integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== dependencies: - "@chakra-ui/event-utils" "2.0.4" + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" framesync "5.3.0" -"@chakra-ui/react-use-previous@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz" - integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== -"@chakra-ui/react-use-safe-layout-effect@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz" - integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== -"@chakra-ui/react-use-size@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz" - integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== dependencies: "@zag-js/element-size" "0.1.0" -"@chakra-ui/react-use-timeout@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz" - integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" - -"@chakra-ui/react-use-update-effect@2.0.3": - version "2.0.3" - resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz" - integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== - -"@chakra-ui/react-utils@2.0.6": - version "2.0.6" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.6.tgz" - integrity sha512-ZL0FPaolovXOxMzYRSLHgBYtvxIkA/c5GTSYpXL8DcC+TBLZnAmQ8BPTS2b6xys6xvwdQjkZRUeQ0cBNFaryJg== - dependencies: - "@chakra-ui/utils" "2.0.9" - -"@chakra-ui/react-utils@2.0.7": - version "2.0.7" - resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz" - integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== - dependencies: - "@chakra-ui/utils" "2.0.10" - -"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.3.4": - version "2.3.4" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.4.tgz" - integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== - dependencies: - "@chakra-ui/accordion" "2.1.0" - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/avatar" "2.1.0" - "@chakra-ui/breadcrumb" "2.0.9" - "@chakra-ui/button" "2.0.10" - "@chakra-ui/checkbox" "2.2.0" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/control-box" "2.0.9" - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/editable" "2.0.11" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/hooks" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/image" "2.0.10" - "@chakra-ui/input" "2.0.10" - "@chakra-ui/layout" "2.1.7" - "@chakra-ui/live-region" "2.0.9" - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/menu" "2.1.0" - "@chakra-ui/modal" "2.2.0" - "@chakra-ui/number-input" "2.0.11" - "@chakra-ui/pin-input" "2.0.13" - "@chakra-ui/popover" "2.1.0" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/progress" "2.0.10" - "@chakra-ui/provider" "2.0.18" - "@chakra-ui/radio" "2.0.11" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/select" "2.0.11" - "@chakra-ui/skeleton" "2.0.16" - "@chakra-ui/slider" "2.0.11" - "@chakra-ui/spinner" "2.0.9" - "@chakra-ui/stat" "2.0.10" - "@chakra-ui/switch" "2.0.12" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/table" "2.0.10" - "@chakra-ui/tabs" "2.1.2" - "@chakra-ui/tag" "2.0.10" - "@chakra-ui/textarea" "2.0.11" - "@chakra-ui/theme" "2.1.12" - "@chakra-ui/toast" "3.0.12" - "@chakra-ui/tooltip" "2.1.0" - "@chakra-ui/transition" "2.0.9" - "@chakra-ui/utils" "2.0.10" - "@chakra-ui/visually-hidden" "2.0.10" - -"@chakra-ui/react@^2.2.9": - version "2.3.2" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.2.tgz" - integrity sha512-qOcDLbA1x4pnpJPtF4YJ7pZzK/ki6SoQl9Vj7fsR+hJw1lt3y1475NSyYGiA6qgho/8twUgYLhcdrTbQPcmOHg== - dependencies: - "@chakra-ui/accordion" "2.0.12" - "@chakra-ui/alert" "2.0.9" - "@chakra-ui/avatar" "2.1.0" - "@chakra-ui/breadcrumb" "2.0.9" - "@chakra-ui/button" "2.0.9" - "@chakra-ui/checkbox" "2.1.8" - "@chakra-ui/close-button" "2.0.9" - "@chakra-ui/control-box" "2.0.9" - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/editable" "2.0.9" - "@chakra-ui/form-control" "2.0.9" - "@chakra-ui/hooks" "2.0.9" - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/image" "2.0.10" - "@chakra-ui/input" "2.0.9" - "@chakra-ui/layout" "2.1.6" - "@chakra-ui/live-region" "2.0.9" - "@chakra-ui/media-query" "3.2.5" - "@chakra-ui/menu" "2.0.13" - "@chakra-ui/modal" "2.1.7" - "@chakra-ui/number-input" "2.0.9" - "@chakra-ui/pin-input" "2.0.12" - "@chakra-ui/popover" "2.0.9" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/progress" "2.0.10" - "@chakra-ui/provider" "2.0.16" - "@chakra-ui/radio" "2.0.10" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/select" "2.0.10" - "@chakra-ui/skeleton" "2.0.15" - "@chakra-ui/slider" "2.0.10" - "@chakra-ui/spinner" "2.0.9" - "@chakra-ui/stat" "2.0.9" - "@chakra-ui/switch" "2.0.11" - "@chakra-ui/system" "2.2.9" - "@chakra-ui/table" "2.0.9" - "@chakra-ui/tabs" "2.1.1" - "@chakra-ui/tag" "2.0.9" - "@chakra-ui/textarea" "2.0.10" - "@chakra-ui/theme" "2.1.11" - "@chakra-ui/toast" "3.0.10" - "@chakra-ui/tooltip" "2.0.10" - "@chakra-ui/transition" "2.0.9" - "@chakra-ui/utils" "2.0.9" - "@chakra-ui/visually-hidden" "2.0.9" - -"@chakra-ui/select@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.10.tgz" - integrity sha512-7AslBWwI/JyczjMMGtPuN34M/C38koVd+N/pb6swHoIP9TRkkdvDlonIakcmtO1oLEzlNIFKmt4FQ7bUp9ea5Q== +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== dependencies: - "@chakra-ui/form-control" "2.0.9" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/select@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.11.tgz" - integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.5", "@chakra-ui/react@^2.2.9", "@chakra-ui/react@^2.3.5": + version "2.3.5" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.5.tgz#0f11a6ede3e90e334bab604e7a2c56e0d0fa930e" + integrity sha512-bQDRV23M3IvF0+AorTvqJmG/4T6KKQIb+1XGA2RyxonoSHVt89HbN3qnygHJw06Sdgpclxdbr/1qZ4o8+SMbpA== + dependencies: + "@chakra-ui/accordion" "2.1.1" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.1.1" + "@chakra-ui/breadcrumb" "2.0.10" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.1" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.12" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.11" + "@chakra-ui/layout" "2.1.8" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.1" + "@chakra-ui/modal" "2.2.1" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.14" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.11" + "@chakra-ui/provider" "2.0.19" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.13" + "@chakra-ui/system" "2.2.12" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.3" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.13" + "@chakra-ui/toast" "3.0.13" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.10" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== dependencies: - "@chakra-ui/form-control" "2.0.10" - -"@chakra-ui/shared-utils@2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz" - integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== + "@chakra-ui/form-control" "2.0.11" -"@chakra-ui/skeleton@2.0.15": - version "2.0.15" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.15.tgz" - integrity sha512-QVMkXwrH9jLfim8uJTZcjHeGjzoquNcHGXD5wapd7eDqp9BygvmMXAHBxFm8eEJLHuvIqLX94P6DLeiieYwX7Q== - dependencies: - "@chakra-ui/media-query" "3.2.5" - "@chakra-ui/react-use-previous" "2.0.1" +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== -"@chakra-ui/skeleton@2.0.16": - version "2.0.16" - resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz" - integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== dependencies: - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/react-use-previous" "2.0.1" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" -"@chakra-ui/slider@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.10.tgz" - integrity sha512-F0RGl2ruADbXO/GnoBUiTEl+przxhZo2e0tfw9VTtS+RsJZ22uHrTNVvVJHNmjK7/E3++kBfaLCacoJFz/io+g== - dependencies: - "@chakra-ui/number-utils" "2.0.3" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-pan-event" "2.0.4" - "@chakra-ui/react-use-size" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/slider@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.11.tgz" - integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== dependencies: - "@chakra-ui/number-utils" "2.0.3" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-pan-event" "2.0.4" - "@chakra-ui/react-use-size" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/spinner@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.9.tgz" - integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== - -"@chakra-ui/stat@2.0.10": + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.10.tgz" - integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== - dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/stat@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.9.tgz" - integrity sha512-C9cytqegWSGJ/hh3/qwsgGlerXLYHrU0iQcJQ+pKSRFJhshXsv3go5IR6kVL72Yf2s4Gs5c3GsMZrLM22ePpDg== - dependencies: - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== -"@chakra-ui/styled-system@2.3.1": - version "2.3.1" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.1.tgz" - integrity sha512-jyR9s2yk5TEyq4HUfjrgUeaOzd9ZTZrbjK96UjtiTCZGO/q4j2RXtYvfheUjUyW1UnzI2A1ffHOJca8tBMDjpA== +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== dependencies: - csstype "^3.0.11" - lodash.mergewith "4.6.2" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/styled-system@2.3.3": - version "2.3.3" - resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz" - integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== dependencies: csstype "^3.0.11" lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.11.tgz" - integrity sha512-gY8OGBnoPosZpq7dDNVf432t67pTc/cz5VkGhbtER7bbjXSoXe0DAiAYL+HT2kD7mbTJQzzHK/y0St0WimR1Mw== - dependencies: - "@chakra-ui/checkbox" "2.1.8" - -"@chakra-ui/switch@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.12.tgz" - integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== - dependencies: - "@chakra-ui/checkbox" "2.2.0" - -"@chakra-ui/system@2.2.11": - version "2.2.11" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.11.tgz" - integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== +"@chakra-ui/switch@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.13.tgz#1736a501daaeedab295b166c176cd2fd990adac3" + integrity sha512-Ikj0L+SLLs/SnfGCiUChaldLIr/aizA1Q9D5+X6LtxpBnixFK/+fNXU+3juPDi9G1IFuNz2IAG51souO7C4nSQ== dependencies: - "@chakra-ui/color-mode" "2.1.8" - "@chakra-ui/react-utils" "2.0.7" - "@chakra-ui/styled-system" "2.3.3" - "@chakra-ui/utils" "2.0.10" - react-fast-compare "3.2.0" + "@chakra-ui/checkbox" "2.2.1" -"@chakra-ui/system@2.2.9": - version "2.2.9" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.9.tgz" - integrity sha512-SyTeIGm+goyYK8vqX4dU6oeLhxUAeGI3Cl+mxA+aiKIX01YTALhTWhpbrsuMYBevV+l9EGK12egPUQE+Mo3WlQ== +"@chakra-ui/system@2.2.12": + version "2.2.12" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.12.tgz#6792afebbebb21e03a4cbf6c0de79739f230acfc" + integrity sha512-I7hFQswp8tG6ogjEMFs5TsCItdCYuNxpLAULgUrLdOlsQeNnHNQhlL4zpIfD+VzguhsNy5lisbegAMKjdghTYg== dependencies: - "@chakra-ui/color-mode" "2.1.7" - "@chakra-ui/react-utils" "2.0.6" - "@chakra-ui/styled-system" "2.3.1" - "@chakra-ui/utils" "2.0.9" + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/utils" "2.0.11" react-fast-compare "3.2.0" -"@chakra-ui/table@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" - integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== - dependencies: - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/table@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.9.tgz" - integrity sha512-XRz6+x4dMeQX3xyViyG2H/P1STI/2vwvgU2cjzzwS+5fZ2JdGaTgYzBb+IZoH9agEq1Ma3rlKMUPDrRCFb7kLQ== - dependencies: - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/tabs@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.1.tgz" - integrity sha512-xA+vwqpAHb0nBLrkiO5Lea2UDGROyAIBqsyp/8XXXEr6eKxtNe1I6WJPbDQy0aazB2ToAA0R6fT34HjLaXP8MQ== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - -"@chakra-ui/tabs@2.1.2": - version "2.1.2" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" - integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - -"@chakra-ui/tag@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" - integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== - dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/tag@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.9.tgz" - integrity sha512-NKARwhsZ04t2vkrdRhNcakEiVtg1q44yUUsDw2Jwdu4idAWQupZGGochQI2Ac4T2MI1b66zQUkaGnm3l1mhTtg== - dependencies: - "@chakra-ui/icon" "3.0.9" - "@chakra-ui/react-context" "2.0.3" - -"@chakra-ui/textarea@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.10.tgz" - integrity sha512-HSo0EPsY8XKGA+Af6jTob1oe1T6NKZwgjLmX0binK3MMM9pDTXsUTw8GD0g971lxw9oktVMLK/O9QVAgVAm5mw== - dependencies: - "@chakra-ui/form-control" "2.0.9" - -"@chakra-ui/textarea@2.0.11": +"@chakra-ui/table@2.0.11": version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" - integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== dependencies: - "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/theme-tools@2.0.11": +"@chakra-ui/tabs@2.1.3": + version "2.1.3" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.3.tgz#17f462c7798292142a78938ae2e66781fe79c6da" + integrity sha512-9gUcj49LMt5QQnfJHR/ctr9VPttJ97CtQWuH2Irjb3RXkq1TRrz6wjythPImNQUv1/DYyXp2jsUhoEQc4Oz14Q== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.2" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz" - integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== dependencies: - "@chakra-ui/anatomy" "2.0.6" - "@ctrl/tinycolor" "^3.4.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/theme@2.1.11": - version "2.1.11" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.11.tgz" - integrity sha512-gI0NLU6wO/5cRq8gbDHuy24Y/ZhJxN4D/2uucNN9is3h+d58/En5jV3fwzZW8PLiLKW/T2CmbYWEZWV2YkcUVA== - dependencies: - "@chakra-ui/anatomy" "2.0.6" - "@chakra-ui/theme-tools" "2.0.11" - -"@chakra-ui/theme@2.1.12": - version "2.1.12" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.12.tgz" - integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== dependencies: - "@chakra-ui/anatomy" "2.0.6" - "@chakra-ui/theme-tools" "2.0.11" + "@chakra-ui/form-control" "2.0.11" -"@chakra-ui/toast@3.0.10": - version "3.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.10.tgz" - integrity sha512-i/oEtzmarO0hM6fxa55OmA8ZGkZv9b+vIC2xs5kQ/C0rJaC0ycibok8srq2Stjq9309fZNezyzThQp6e9acUYQ== +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== dependencies: - "@chakra-ui/alert" "2.0.9" - "@chakra-ui/close-button" "2.0.9" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-use-timeout" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/theme" "2.1.11" + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/toast@3.0.12": - version "3.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" - integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== +"@chakra-ui/theme@2.1.13": + version "2.1.13" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.13.tgz#51e76179048cf87c0cb551a619a49d183246550e" + integrity sha512-qbrrvn9JstyLFV2qyhwgnhwzVs4zSJ4PcS3ScL8kafXJazTRU6onbCcjEZ5mVCw6z8uEz3jcE8Y5KIhVzaB+Xw== dependencies: - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-use-timeout" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/theme" "2.1.12" + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" -"@chakra-ui/tooltip@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.0.10.tgz" - integrity sha512-pBILBdZoux2K3EW9V6JuyZYUWz2/Y7oYCVO6AwNOesiEBGAONyzoDwFV728EzPEHe9e+YBcKOSZ9tEpDdrzHMA== +"@chakra-ui/toast@3.0.13": + version "3.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.13.tgz#e23f6a9c6cc373a78f66f465625b9777d8277033" + integrity sha512-5GADso5l5Tv1PAL1iocEneLs6U7I8HHMHSMvWdPFSmmJJh0XCH3fboh0C9LiFNIcnEGJmn+A5yGc4vjedA0h2A== dependencies: - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.3" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.13" -"@chakra-ui/tooltip@2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" - integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== dependencies: - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/transition@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.9.tgz" - integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== - -"@chakra-ui/utils@2.0.10": +"@chakra-ui/transition@2.0.10": version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.10.tgz" - integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== - dependencies: - "@types/lodash.mergewith" "4.6.6" - css-box-model "1.2.1" - framesync "5.3.0" - lodash.mergewith "4.6.2" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.10.tgz#a1ab786f4c2d0e41eb02dfd0f2f8f48a0bc9e35b" + integrity sha512-Tkkne8pIIY7f95TKt2aH+IAuQqzHmEt+ICPqvg74QbmIpKE5ptX0cd+P3swBANw4ACnJcCc2vWIaKmVBQ9clLw== -"@chakra-ui/utils@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.9.tgz" - integrity sha512-7ct5562Jw6pZdtj63XfUkEUXXsCCVqdqIXyLtQ9VgOKtRQWwDxzc8uPI5Zjdw9AleEITZFUH8TNKWn75nm54kQ== +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" framesync "5.3.0" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz" - integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== - -"@chakra-ui/visually-hidden@2.0.9": - version "2.0.9" - resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.9.tgz" - integrity sha512-PkNxrRGp9H3bdqEaoo8XGt/AL9UuGRTom0/9XJa+G/Dj8Cy1sDuamOWk3pN/ZQs46RokfK9Uh5LqPY5dwSDweg== +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== "@confio/ics23@^0.6.8": version "0.6.8" - resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== dependencies: "@noble/hashes" "^1.0.0" @@ -2828,7 +2343,7 @@ "@cosmjs/math" "^0.29.1" "@cosmjs/utils" "^0.29.1" -"@cosmjs/amino@^0.29.1", "@cosmjs/amino@^0.29.2": +"@cosmjs/amino@0.29.2", "@cosmjs/amino@^0.29.1", "@cosmjs/amino@^0.29.2": version "0.29.2" resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.2.tgz#2d9f87041d4cad7da4828b96f4d51121a19763bd" integrity sha512-59Ta3liptOPPFNclziqaScm8Uvs5iwUkEU/Nl6SRMrmRU7lOdOYbNqsBgp27Ozc5jL2d8+ML4AyrJ1S5x8jgAw== @@ -2885,22 +2400,9 @@ elliptic "^6.5.3" libsodium-wrappers "^0.7.6" -"@cosmjs/crypto@0.29.0", "@cosmjs/crypto@^0.29.0": - version "0.29.0" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" - integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== - dependencies: - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" - "@noble/hashes" "^1" - bn.js "^5.2.0" - elliptic "^6.5.3" - libsodium-wrappers "^0.7.6" - "@cosmjs/crypto@^0.24.1": version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== dependencies: "@cosmjs/encoding" "^0.24.1" @@ -2916,6 +2418,19 @@ sha.js "^2.4.11" unorm "^1.5.0" +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + "@cosmjs/crypto@^0.29.1", "@cosmjs/crypto@^0.29.2": version "0.29.2" resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.2.tgz#63308d8c91ade0de73861ef1e5099cba26db5d1b" @@ -2940,7 +2455,7 @@ "@cosmjs/encoding@^0.20.0": version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== dependencies: base64-js "^1.3.0" @@ -2949,7 +2464,7 @@ "@cosmjs/encoding@^0.24.1": version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== dependencies: base64-js "^1.3.0" @@ -3000,7 +2515,7 @@ "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== dependencies: "@cosmjs/crypto" "^0.24.1" @@ -3019,14 +2534,14 @@ "@cosmjs/math@^0.20.0": version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== dependencies: bn.js "^4.11.8" "@cosmjs/math@^0.24.1": version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== dependencies: bn.js "^4.11.8" @@ -3084,16 +2599,7 @@ cosmjs-types "^0.5.0" long "^4.0.0" -"@cosmjs/proto-signing@^0.24.0-alpha.25": - version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz" - integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== - dependencies: - "@cosmjs/launchpad" "^0.24.1" - long "^4.0.0" - protobufjs "~6.10.2" - -"@cosmjs/proto-signing@^0.29.1", "@cosmjs/proto-signing@^0.29.2": +"@cosmjs/proto-signing@0.29.2", "@cosmjs/proto-signing@^0.29.1", "@cosmjs/proto-signing@^0.29.2": version "0.29.2" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.2.tgz#758f7d0ac4a7446f5eb2c59d5beadf37771c4839" integrity sha512-+YU1u/SVbvBTiWXkUPca/HNKChSOHuVMrWbhNOzEJgJphYVYwCXabpSFguCymJ1lOFwa0WXIykVqsIzQdEgMQw== @@ -3106,6 +2612,15 @@ cosmjs-types "^0.5.2" long "^4.0.0" +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + "@cosmjs/socket@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" @@ -3284,12 +2799,12 @@ "@cosmjs/utils@^0.20.0": version "0.20.1" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== "@cosmjs/utils@^0.24.1": version "0.24.1" - resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== "@cosmjs/utils@^0.29.0": @@ -3500,12 +3015,12 @@ "@ctrl/tinycolor@^3.4.0": version "3.4.1" - resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== "@emotion/babel-plugin@^11.10.0": version "11.10.2" - resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== dependencies: "@babel/helper-module-imports" "^7.16.7" @@ -3534,7 +3049,7 @@ "@emotion/hash@^0.9.0": version "0.9.0" - resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== "@emotion/is-prop-valid@^0.8.2": @@ -3546,7 +3061,7 @@ "@emotion/is-prop-valid@^1.2.0": version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== dependencies: "@emotion/memoize" "^0.8.0" @@ -3558,7 +3073,7 @@ "@emotion/memoize@^0.8.0": version "0.8.0" - resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== "@emotion/react@11.10.4", "@emotion/react@^11", "@emotion/react@^11.8.1": @@ -3577,7 +3092,7 @@ "@emotion/serialize@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== dependencies: "@emotion/hash" "^0.9.0" @@ -3588,7 +3103,7 @@ "@emotion/sheet@^1.2.0": version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== "@emotion/styled@11.10.4", "@emotion/styled@^11": @@ -3605,22 +3120,22 @@ "@emotion/unitless@^0.8.0": version "0.8.0" - resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== "@emotion/use-insertion-effect-with-fallbacks@^1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== "@emotion/utils@^1.2.0": version "1.2.0" - resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== "@emotion/weak-memoize@^0.3.0": version "0.3.0" - resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== "@eslint/eslintrc@^1.3.0": @@ -3640,7 +3155,7 @@ "@ethersproject/address@^5.6.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== dependencies: "@ethersproject/bignumber" "^5.7.0" @@ -3651,7 +3166,7 @@ "@ethersproject/bignumber@^5.7.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== dependencies: "@ethersproject/bytes" "^5.7.0" @@ -3660,14 +3175,14 @@ "@ethersproject/bytes@^5.7.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== dependencies: "@ethersproject/bytes" "^5.7.0" @@ -3675,12 +3190,12 @@ "@ethersproject/logger@^5.7.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== "@ethersproject/rlp@^5.7.0": version "5.7.0" - resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== dependencies: "@ethersproject/bytes" "^5.7.0" @@ -3691,15 +3206,15 @@ resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@headlessui/react@^1.7.2": - version "1.7.2" - resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" - integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== +"@headlessui/react@^1.7.3": + version "1.7.3" + resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.3.tgz#853c598ff47b37cdd192c5cbee890d9b610c3ec0" + integrity sha512-LGp06SrGv7BMaIQlTs8s2G06moqkI0cb0b8stgq7KZ3xcHdH3qMP+cRyV7qe5x4XEW/IGY48BW4fLesD6NQLng== -"@heroicons/react@^2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" - integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== +"@heroicons/react@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.12.tgz#7e5a16c82512f89a30266dd36f8b8465b3e3e216" + integrity sha512-FZxKh3i9aKIDxyALTgIpSF2t6V6/eZfF5mRu41QlwkX3Oxzecdm1u6dpft6PQGxIBwO7TKYWaMAYYL8mp/EaOg== "@humanwhocodes/config-array@^0.10.4": version "0.10.4" @@ -3727,7 +3242,7 @@ "@iov/crypto@2.1.0": version "2.1.0" - resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== dependencies: "@iov/encoding" "^2.1.0" @@ -3744,7 +3259,7 @@ "@iov/encoding@2.1.0": version "2.1.0" - resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== dependencies: base64-js "^1.3.0" @@ -3754,7 +3269,7 @@ "@iov/encoding@^2.1.0": version "2.5.0" - resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== dependencies: "@cosmjs/encoding" "^0.20.0" @@ -3764,7 +3279,7 @@ "@iov/utils@2.0.2": version "2.0.2" - resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== "@istanbuljs/load-nyc-config@^1.0.0": @@ -4029,18 +3544,18 @@ "@babel/runtime" "^7.19.4" "@chain-registry/types" "0.11.0" -"@keplr-wallet/common@0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.3.tgz#996290a157acd200cc5aa2c7f298c82545fc176e" - integrity sha512-3izIyRX9nXTrc+u+24yYpl2qiLyHaweqiXI3fk2SHucWWicPqksSw5wkmuA+4Bef3/CUQPTgtcufDgPyBB+bNw== +"@keplr-wallet/common@0.11.10": + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.10.tgz#75e85156cf2ffe7198fe672f6092a2960c2f3e20" + integrity sha512-e8JhnJ2jyAl6Ar2VzuxEOLHbqWy/Jpo4LXN3VBodiazrkLLLcuEVutc5Ez5VT6ohVoPG2GrvM3zkIRzHw5XKyA== dependencies: - "@keplr-wallet/crypto" "0.11.3" + "@keplr-wallet/crypto" "0.11.10" buffer "^6.0.3" delay "^4.4.0" "@keplr-wallet/cosmos@^0.10.24": version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" @@ -4057,7 +3572,7 @@ "@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== dependencies: bip32 "^2.0.6" @@ -4068,11 +3583,12 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/crypto@0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.3.tgz#5bf1815c229383d28914600ab7a7b4a36d28c889" - integrity sha512-BWSEU97qBu2M7DmSWPFxG+eL6k8UHQe230MBkDzLpVQsouFeJbwsip0mTxxJWaZXMuhyK9gaMsAQSK4YkHyI4Q== +"@keplr-wallet/crypto@0.11.10": + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.10.tgz#9f993a7322186baa05b6e24da0f348974dfacc01" + integrity sha512-88xN6O1YoGA41RYLpAYWGdESIUHY+A1G1Uj/fjYpKQ5UapJ9PTAp1LiWGeLmV9Ztt1LdBiyRUK0V/f13cyc5fw== dependencies: + "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" bip39 "^3.0.3" bs58check "^2.1.2" @@ -4083,34 +3599,34 @@ "@keplr-wallet/proto-types@0.10.24": version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/provider@0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.3.tgz#bb64070fabb963636d4386943088d3deef7a59c1" - integrity sha512-4KWRiJTyIBW+qOOYP2CN/IIvGMLsBgRi1D5/FT6q7EaYkIR/peJlKSR6fJukmQHyI/fmkvGH2+Td9fhZsVv5mA== +"@keplr-wallet/provider@0.11.10": + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.10.tgz#e0268fdab279e83c49bcd73b87f6b3ca4adcd244" + integrity sha512-UImhriPkp3Zq1w25F/m2TlcLw08P0oRGhs89es0rLgrxruu4Evj/BGol+BkajciZ6NKq9V8rkiqMTNrmuS1zOA== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/router" "0.11.3" - "@keplr-wallet/types" "0.11.3" + "@keplr-wallet/router" "0.11.10" + "@keplr-wallet/types" "0.11.10" buffer "^6.0.3" deepmerge "^4.2.2" long "^4.0.0" secretjs "0.17.7" -"@keplr-wallet/router@0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.3.tgz#ef0dbd4e6e76521b5f77066df8550aef67111acb" - integrity sha512-2Kh5+8ZqUY4l+Gf3mEl8q6vDeb7ino1SnCHA0bl5+ny9039zQ8AcIHjrZStX64nTPYuM/G60HRmNKhG51vMubQ== +"@keplr-wallet/router@0.11.10": + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.10.tgz#e1f11dda17fe9b44dd13ff7cf501a76012ef19b9" + integrity sha512-GlUGASVXNQx0C1dXEsZwyy2dLikbT2n6qIA/ekbtcgXYpYYXMoA+NpZUSMLxZiJXOjFUCzdueoOrHa+pv+I8Ag== "@keplr-wallet/types@0.10.24": version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" @@ -4119,10 +3635,10 @@ long "^4.0.0" secretjs "^0.17.0" -"@keplr-wallet/types@0.11.3", "@keplr-wallet/types@^0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.3.tgz#853af5947de837fc1d00147f95d5dd7c6205b212" - integrity sha512-OA0OoimsUI22iTXgup3BAlLt+FJdGKniJqzJyQji+rqfXqreBT+Ie9c5Ng7qY81+RO/nJ5SZfa1gIns+3A0YxA== +"@keplr-wallet/types@0.11.10", "@keplr-wallet/types@^0.11.3": + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.10.tgz#607eb50d3100013a98172f47329d57350c8f49de" + integrity sha512-ZuDD3lhPJMXDl77Ec7P2Hq5OK9X2t/Xl4CPFyJIxYKdvhSjBkPG4utfJSNT4FCLtpZIUUhzaaCWFQSd8ip5ObQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" @@ -4132,7 +3648,7 @@ "@keplr-wallet/unit@0.10.24": version "0.10.24" - resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== dependencies: "@keplr-wallet/types" "0.10.24" @@ -4140,15 +3656,15 @@ utility-types "^3.10.0" "@keplr-wallet/wc-client@^0.11.3": - version "0.11.3" - resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.3.tgz#f55a34531034861e28b6f849115554acff0d9c14" - integrity sha512-u7A+c5XL8+8Qa9g6Qsn6PCZBYBtOgNgIBIqpbLFpbxzBCIHH8GE+PRp1AVNsU8R5f7HHyGWHO1T14sTrdUpGEQ== + version "0.11.10" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.10.tgz#7aaef200b70a35820af43b83d0c06a6bce18511e" + integrity sha512-SEaDaV5HMC44dXxdFr43rf3qIwa98110/xfeprWZDwXPgeTr1aRC0vl1K+d530tGYcomQr4Yx6oc9jnLlW6/WQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/common" "0.11.3" - "@keplr-wallet/provider" "0.11.3" - "@keplr-wallet/types" "0.11.3" + "@keplr-wallet/common" "0.11.10" + "@keplr-wallet/provider" "0.11.10" + "@keplr-wallet/types" "0.11.10" "@walletconnect/types" "^1.6.4" "@walletconnect/utils" "^1.6.4" buffer "^6.0.3" @@ -4969,9 +4485,9 @@ eslint-scope "5.1.1" "@noble/hashes@^1", "@noble/hashes@^1.0.0": - version "1.1.2" - resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz" - integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -5178,15 +4694,15 @@ case "1.6.3" dotty "0.1.2" -"@osmonauts/ast@^0.59.0": - version "0.59.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.59.0.tgz#13e8d852198c434b48c4e0e37eae115c3b990791" - integrity sha512-s2PGxvYJUhDkLdQs6eGaX06clSpafglKR8Yr0O5Baacc4XI3sYjBa76eBFikN3ijXYji2Ue3cJsvXakb4z5EVg== +"@osmonauts/ast@^0.61.0": + version "0.61.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.61.0.tgz#1b032d78077998fff40b4edfb0e85600f55b9851" + integrity sha512-GunM8DIOaTlDlXC1uF/eUfAFgWiBt6TI/UcKPVIGYaBSWQeWjcWd25+CBAQT6dn89Tq72bp6ck+wdvVqIoGR7g== dependencies: "@babel/runtime" "^7.19.0" "@babel/types" "7.19.3" - "@osmonauts/proto-parser" "^0.30.0" - "@osmonauts/types" "^0.22.0" + "@osmonauts/proto-parser" "^0.31.0" + "@osmonauts/types" "^0.23.0" "@osmonauts/utils" "^0.7.0" case "1.6.3" dotty "0.1.2" @@ -5205,20 +4721,6 @@ long "^5.2.0" protobufjs "^6.11.3" -"@osmonauts/helpers@^0.7.0": - version "0.7.0" - resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.7.0.tgz#9fce7a3e569bbc65f32f007c132f2677e202bed9" - integrity sha512-T01bxodVuxEmBu9Owd/mV5vsqOwNY30yvkP4ooM1Tnh3S4ZJFprH52vYNt8v7s3ZkZxMhEPaz/I6BTCVo1X8UQ== - dependencies: - "@babel/runtime" "^7.18.9" - "@cosmjs/amino" "0.29.0" - "@cosmjs/crypto" "0.29.0" - "@cosmjs/proto-signing" "0.29.0" - "@cosmjs/stargate" "0.29.0" - cosmjs-types "0.5.1" - long "^5.2.0" - protobufjs "^6.11.3" - "@osmonauts/lcd@0.6.0", "@osmonauts/lcd@^0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" @@ -5247,22 +4749,22 @@ glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/proto-parser@^0.30.0": - version "0.30.0" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.30.0.tgz#e1c3a6d4dcf9983b5fa551856739c2081bd46e8f" - integrity sha512-2BcXrE3/yp2cev8X3uUXKvgMjg7t5qJcGZQerBjihbhIee1YtKdXQDlpcj4fzQqhM6JObBDmClt3mDDCeRhViQ== +"@osmonauts/proto-parser@^0.31.0": + version "0.31.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.31.0.tgz#41a613d9dcbbbf5070b197b9a7b0c95c8bd93a96" + integrity sha512-C1v5ndzU8h7dfIuwsbIW/w1/tL48h4vpn3C+Brq2wQCIXAbO6vuFaLn4PaTbHyChHMSQY8xs+kQoFKarog75Xw== dependencies: "@babel/runtime" "^7.19.0" - "@osmonauts/types" "^0.22.0" + "@osmonauts/types" "^0.23.0" "@pyramation/protobufjs" "6.11.5" dotty "0.1.2" glob "8.0.3" mkdirp "1.0.4" -"@osmonauts/telescope@0.66.1": - version "0.66.1" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.66.1.tgz#0ed1d14b72818706a3e525785e56478c65f4b283" - integrity sha512-YNFzP/wUItwpTffTLXuUEiw5Yjj3cM51yV3ZHCAkQpk2gg2lV5j8k9W1Q6EWNyvWQYHZ9an8neov4irKhSk+Aw== +"@osmonauts/telescope@0.69.0": + version "0.69.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.69.0.tgz#5ebb7eb0e53ea618feec6ab97d614af35ea35361" + integrity sha512-nd7xgv1PI5mEOTdqJepmiqgelc+4Bu/pqPSQX+5kkY8tFqD4CKw4RWnBdDLkMbEDhJSNU7VehsDh9X46s2DjMA== dependencies: "@babel/core" "7.19.3" "@babel/generator" "7.19.3" @@ -5277,9 +4779,9 @@ "@babel/traverse" "7.19.3" "@babel/types" "7.19.3" "@cosmwasm/ts-codegen" "0.17.0" - "@osmonauts/ast" "^0.59.0" - "@osmonauts/proto-parser" "^0.30.0" - "@osmonauts/types" "^0.22.0" + "@osmonauts/ast" "^0.61.0" + "@osmonauts/proto-parser" "^0.31.0" + "@osmonauts/types" "^0.23.0" "@osmonauts/utils" "^0.7.0" "@types/parse-package-name" "0.1.0" case "1.6.3" @@ -5344,10 +4846,10 @@ "@osmonauts/utils" "^0.4.0" case "1.6.3" -"@osmonauts/types@^0.22.0": - version "0.22.0" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.22.0.tgz#c7eb96051b7ffb5961cc0a8a14d0abbc24148ebe" - integrity sha512-b2nHnXseMzgYZPBotKatevrKYMHObKZ+nVz63Km07yfmW2QqYmJkfUdBv+ieP3qvDrOQPMs1mdGvlYLWW7e4LA== +"@osmonauts/types@^0.23.0": + version "0.23.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.23.0.tgz#252b605f46164d22e554ee479c52c8b62ffd9e85" + integrity sha512-zNCYAU0tSQfiDuWl1r1eldvPgJikSQXM3JDDWznQtyIEBZ82pijFAOro/Wm58f3V+4tlxt/XTlL06JOvn9mJLg== dependencies: "@babel/runtime" "^7.19.0" "@osmonauts/utils" "^0.7.0" @@ -5369,32 +4871,32 @@ "@popperjs/core@^2.9.3": version "2.11.6" - resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== "@protobufjs/base64@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== "@protobufjs/codegen@^2.0.4": version "2.0.4" - resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== "@protobufjs/eventemitter@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== "@protobufjs/fetch@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== dependencies: "@protobufjs/aspromise" "^1.1.1" @@ -5402,27 +4904,27 @@ "@protobufjs/float@^1.0.2": version "1.0.2" - resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== "@protobufjs/inquire@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== "@protobufjs/path@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== "@protobufjs/pool@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== "@protobufjs/utf8@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== "@protobufs/confio@^0.0.6": @@ -5719,19 +5221,24 @@ "@types/lodash.mergewith@4.6.6": version "4.6.6" - resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== dependencies: "@types/lodash" "*" -"@types/lodash@*", "@types/lodash@^4.14.182": +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/lodash@^4.14.182": version "4.14.185" resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== "@types/long@^4.0.1": version "4.0.2" - resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== "@types/minimatch@*": @@ -5749,19 +5256,19 @@ resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== -"@types/node@*", "@types/node@>=13.7.0": +"@types/node@*": version "18.7.18" resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== "@types/node@10.12.18": version "10.12.18" - resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== "@types/node@11.11.6": version "11.11.6" - resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== "@types/node@18.7.11": @@ -5769,9 +5276,14 @@ resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz" integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== +"@types/node@>=13.7.0": + version "18.11.0" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.0.tgz#f38c7139247a1d619f6cc6f27b072606af7c289d" + integrity sha512-IOXCvVRToe7e0ny7HpT/X9Rb2RYtElG1a+VshjwT00HxrM2dWBApHQoqsI6WiY7Q03vdf2bCrIGzVrkF/5t10w== + "@types/node@^13.7.0": version "13.13.52" - resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/normalize-package-data@^2.4.0": @@ -5781,7 +5293,7 @@ "@types/parse-json@^4.0.0": version "4.0.0" - resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== "@types/parse-package-name@0.1.0": @@ -5899,7 +5411,7 @@ "@walletconnect/browser-utils@^1.8.0": version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== dependencies: "@walletconnect/safe-json" "1.0.0" @@ -5920,7 +5432,7 @@ "@walletconnect/client@1.8.0": version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== dependencies: "@walletconnect/core" "^1.8.0" @@ -5939,7 +5451,7 @@ "@walletconnect/crypto@^1.0.2": version "1.0.2" - resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== dependencies: "@walletconnect/encoding" "^1.0.1" @@ -5950,7 +5462,7 @@ "@walletconnect/encoding@^1.0.1": version "1.0.1" - resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== dependencies: is-typedarray "1.0.0" @@ -5958,7 +5470,7 @@ "@walletconnect/environment@^1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== "@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": @@ -5972,14 +5484,14 @@ "@walletconnect/jsonrpc-types@^1.0.1": version "1.0.1" - resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== dependencies: keyvaluestorage-interface "^1.0.0" "@walletconnect/jsonrpc-utils@^1.0.3": version "1.0.3" - resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== dependencies: "@walletconnect/environment" "^1.0.0" @@ -5987,7 +5499,7 @@ "@walletconnect/node-crypto@^1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== dependencies: "@walletconnect/types" "^1.0.0" @@ -5995,7 +5507,7 @@ "@walletconnect/node@1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== dependencies: "@walletconnect/core" "^1.0.0" @@ -6005,7 +5517,7 @@ "@walletconnect/randombytes@^1.0.2": version "1.0.2" - resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== dependencies: "@walletconnect/encoding" "^1.0.1" @@ -6014,12 +5526,12 @@ "@walletconnect/safe-json@1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== "@walletconnect/socket-transport@^1.8.0": version "1.8.0" - resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== dependencies: "@walletconnect/types" "^1.8.0" @@ -6051,24 +5563,24 @@ "@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== "@walletconnect/window-metadata@1.0.0": version "1.0.0" - resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== dependencies: "@walletconnect/window-getters" "^1.0.0" "@zag-js/element-size@0.1.0": version "0.1.0" - resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== "@zag-js/focus-visible@0.1.0": version "0.1.0" - resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== JSONStream@^1.0.4: @@ -6120,7 +5632,7 @@ add-stream@^1.0.0: aes-js@^3.1.2: version "3.1.2" - resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== agent-base@6, agent-base@^6.0.2: @@ -6268,7 +5780,7 @@ argparse@^2.0.1: aria-hidden@^1.1.1: version "1.2.1" - resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== dependencies: tslib "^2.0.0" @@ -6379,7 +5891,7 @@ ast-types-flow@^0.0.7: asynckit@^0.4.0: version "0.4.0" - resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== at-least-node@^1.0.0: @@ -6416,7 +5928,7 @@ axe-core@^4.4.3: axios@0.21.1: version "0.21.1" - resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== dependencies: follow-redirects "^1.10.0" @@ -6498,7 +6010,7 @@ babel-plugin-macros@2.8.0: babel-plugin-macros@^3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== dependencies: "@babel/runtime" "^7.12.5" @@ -6585,14 +6097,14 @@ balanced-match@^1.0.0: base-x@^3.0.2: version "3.0.9" - resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== dependencies: safe-buffer "^5.0.1" base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: version "1.5.1" - resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== bcrypt-pbkdf@^1.0.0: @@ -6604,7 +6116,7 @@ bcrypt-pbkdf@^1.0.0: bech32@^1.1.3, bech32@^1.1.4: version "1.1.4" - resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== before-after-hook@^2.2.0: @@ -6614,7 +6126,7 @@ before-after-hook@^2.2.0: big-integer@^1.6.48: version "1.6.51" - resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== bignumber.js@9.1.0: @@ -6629,14 +6141,14 @@ binary-extensions@^2.0.0: bindings@^1.3.0: version "1.5.0" - resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== dependencies: file-uri-to-path "1.0.0" bip32@^2.0.6: version "2.0.6" - resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== dependencies: "@types/node" "10.12.18" @@ -6649,7 +6161,7 @@ bip32@^2.0.6: bip39@^3.0.2, bip39@^3.0.3: version "3.0.4" - resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== dependencies: "@types/node" "11.11.6" @@ -6659,12 +6171,12 @@ bip39@^3.0.2, bip39@^3.0.3: bn.js@4.11.8: version "4.11.8" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" - resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== bn.js@^5.2.0, bn.js@^5.2.1: @@ -6701,7 +6213,7 @@ braces@^3.0.2, braces@~3.0.2: brorand@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== browserslist@^4.11.1, browserslist@^4.21.3, browserslist@^4.21.4: @@ -6723,14 +6235,14 @@ bs-logger@0.x: bs58@^4.0.0: version "4.0.1" - resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== dependencies: base-x "^3.0.2" bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: version "2.1.2" - resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== dependencies: bs58 "^4.0.0" @@ -6751,7 +6263,7 @@ buffer-from@^1.0.0: buffer@6.0.3, buffer@^6.0.3: version "6.0.3" - resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== dependencies: base64-js "^1.3.1" @@ -6759,7 +6271,7 @@ buffer@6.0.3, buffer@^6.0.3: buffer@~5.4.3: version "5.4.3" - resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== dependencies: base64-js "^1.0.2" @@ -6819,7 +6331,7 @@ call-me-maybe@^1.0.1: callsites@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== camelcase-css@^2.0.1: @@ -6876,7 +6388,7 @@ chain-registry@1.0.0: chain-registry@^0.14.0: version "0.14.0" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== dependencies: "@babel/runtime" "^7.19.0" @@ -6934,7 +6446,7 @@ chardet@^0.7.0: charenc@~0.0.1: version "0.0.2" - resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== chokidar@^3.4.0, chokidar@^3.4.3, chokidar@^3.5.3: @@ -6974,7 +6486,7 @@ ci-info@^3.2.0: cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" - resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== dependencies: inherits "^2.0.1" @@ -7072,7 +6584,7 @@ collect-v8-coverage@^1.0.0: color-convert@^1.9.0: version "1.9.3" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== dependencies: color-name "1.1.3" @@ -7086,7 +6598,7 @@ color-convert@^2.0.1: color-name@1.1.3: version "1.1.3" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== color-name@^1.1.4, color-name@~1.1.4: @@ -7139,7 +6651,7 @@ compare-func@^2.0.0: compute-scroll-into-view@1.0.14: version "1.0.14" - resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== concat-map@0.0.1: @@ -7252,16 +6764,21 @@ conventional-recommended-bump@^6.1.0: meow "^8.0.0" q "^1.5.1" -convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== dependencies: safe-buffer "~5.1.1" +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + copy-to-clipboard@3.3.1: version "3.3.1" - resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== dependencies: toggle-selection "^1.0.6" @@ -7320,7 +6837,7 @@ cosmiconfig@^6.0.0: cosmiconfig@^7.0.0: version "7.0.1" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== dependencies: "@types/parse-json" "^4.0.0" @@ -7355,7 +6872,7 @@ cosmjs-types@^0.5.2: create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" - resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== dependencies: cipher-base "^1.0.1" @@ -7366,7 +6883,7 @@ create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: create-hmac@^1.1.4, create-hmac@^1.1.7: version "1.1.7" - resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== dependencies: cipher-base "^1.0.3" @@ -7394,17 +6911,17 @@ cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: crypt@~0.0.1: version "0.0.2" - resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== crypto-js@^4.0.0: version "4.1.1" - resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== css-box-model@1.2.1: version "1.2.1" - resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== dependencies: tiny-invariant "^1.0.6" @@ -7416,12 +6933,12 @@ cssesc@^3.0.0: csstype@^3.0.11, csstype@^3.0.2: version "3.1.1" - resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== curve25519-js@0.0.4: version "0.0.4" - resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== d@1, d@^1.0.1: @@ -7495,7 +7012,7 @@ decamelize@^1.1.0: decode-uri-component@^0.2.0: version "0.2.0" - resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== dedent@^0.7.0: @@ -7535,12 +7052,12 @@ defined@^1.0.0: delay@^4.4.0: version "4.4.1" - resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== delayed-stream@~1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== delegates@^1.0.0: @@ -7560,7 +7077,7 @@ deprecation@^2.0.0, deprecation@^2.3.1: detect-browser@5.2.0: version "5.2.0" - resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== detect-indent@^5.0.0: @@ -7580,7 +7097,7 @@ detect-newline@^3.0.0: detect-node-es@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== detective@^5.2.1: @@ -7683,7 +7200,7 @@ electron-to-chromium@^1.4.251: elliptic@^6.4.0, elliptic@^6.5.3: version "6.5.4" - resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== dependencies: bn.js "^4.11.9" @@ -7733,7 +7250,7 @@ err-code@^2.0.2: error-ex@^1.3.1: version "1.3.2" - resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" @@ -7841,7 +7358,7 @@ escape-string-regexp@^2.0.0: escape-string-regexp@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== eslint-config-next@12.2.5: @@ -8096,7 +7613,7 @@ eventemitter3@^4.0.4: events@3.3.0: version "3.3.0" - resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== execa@^5.0.0: @@ -8172,7 +7689,7 @@ extsprintf@^1.2.0: fast-deep-equal@3.1.1: version "3.1.1" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: @@ -8250,7 +7767,7 @@ file-entry-cache@^6.0.1: file-uri-to-path@1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== fill-range@^7.0.1: @@ -8276,7 +7793,7 @@ find-cache-dir@^2.0.0: find-root@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== find-up@^2.0.0: @@ -8323,15 +7840,15 @@ flatted@^3.1.0: integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== focus-lock@^0.11.2: - version "0.11.2" - resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.2.tgz" - integrity sha512-pZ2bO++NWLHhiKkgP1bEXHhR1/OjVcSvlCJ98aNJDFeb7H5OOQaO+SKOZle6041O9rv2tmbrO4JzClAvDUHf0g== + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== dependencies: tslib "^2.0.3" follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: version "1.15.2" - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== forever-agent@~0.6.1: @@ -8341,7 +7858,7 @@ forever-agent@~0.6.1: form-data@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: asynckit "^0.4.0" @@ -8378,7 +7895,7 @@ framer-motion@7.3.6: framesync@5.3.0: version "5.3.0" - resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== dependencies: tslib "^2.1.0" @@ -8431,7 +7948,7 @@ fsevents@^2.3.2, fsevents@~2.3.2: function-bind@^1.1.1: version "1.1.1" - resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== function.prototype.name@^1.1.5: @@ -8494,7 +8011,7 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@ get-nonce@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== get-package-type@^0.1.0: @@ -8661,7 +8178,7 @@ globals@^13.15.0: globalthis@^1.0.1: version "1.0.3" - resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== dependencies: define-properties "^1.1.3" @@ -8740,7 +8257,7 @@ has-bigints@^1.0.1, has-bigints@^1.0.2: has-flag@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== has-flag@^4.0.0: @@ -8750,7 +8267,7 @@ has-flag@^4.0.0: has-property-descriptors@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== dependencies: get-intrinsic "^1.1.1" @@ -8774,14 +8291,14 @@ has-unicode@^2.0.0, has-unicode@^2.0.1: has@^1.0.3: version "1.0.3" - resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== dependencies: function-bind "^1.1.1" hash-base@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== dependencies: inherits "^2.0.4" @@ -8790,7 +8307,7 @@ hash-base@^3.0.0: hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: version "1.1.7" - resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== dependencies: inherits "^2.0.3" @@ -8803,7 +8320,7 @@ hey-listen@^1.0.8: hmac-drbg@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== dependencies: hash.js "^1.0.3" @@ -8812,7 +8329,7 @@ hmac-drbg@^1.0.1: hoist-non-react-statics@^3.3.1: version "3.3.2" - resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== dependencies: react-is "^16.7.0" @@ -8900,7 +8417,7 @@ iconv-lite@^0.6.2: ieee754@^1.1.4, ieee754@^1.2.1: version "1.2.1" - resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== ignore-walk@^3.0.3: @@ -9105,7 +8622,7 @@ ip@^2.0.0: is-arrayish@^0.2.1: version "0.2.1" - resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== is-bigint@^1.0.1: @@ -9132,7 +8649,7 @@ is-boolean-object@^1.1.0: is-buffer@~1.1.1: version "1.1.6" - resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== is-callable@^1.1.4, is-callable@^1.2.4: @@ -9326,7 +8843,7 @@ isobject@^3.0.1: isomorphic-ws@^4.0.1: version "4.0.1" - resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== isstream@~0.1.2: @@ -9746,12 +9263,12 @@ js-base64@^3.6.0: js-crypto-env@^0.3.2: version "0.3.2" - resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== js-crypto-hash@^0.6.3: version "0.6.3" - resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== dependencies: buffer "~5.4.3" @@ -9762,7 +9279,7 @@ js-crypto-hash@^0.6.3: js-crypto-hkdf@0.7.3: version "0.7.3" - resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== dependencies: js-crypto-env "^0.3.2" @@ -9772,7 +9289,7 @@ js-crypto-hkdf@0.7.3: js-crypto-hmac@^0.6.3: version "0.6.3" - resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== dependencies: js-crypto-env "^0.3.2" @@ -9780,24 +9297,24 @@ js-crypto-hmac@^0.6.3: js-crypto-random@^0.4.3: version "0.4.3" - resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== dependencies: js-crypto-env "^0.3.2" js-encoding-utils@0.5.6: version "0.5.6" - resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" - resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^3.13.1: @@ -9837,7 +9354,7 @@ json-parse-better-errors@^1.0.1: json-parse-even-better-errors@^2.3.0: version "2.3.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== json-schema-traverse@^0.4.1: @@ -9920,7 +9437,7 @@ juno-network@0.8.0: keyvaluestorage-interface@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== kind-of@^6.0.2, kind-of@^6.0.3: @@ -10012,14 +9529,14 @@ libnpmpublish@^4.0.0: libsodium-wrappers@^0.7.6: version "0.7.10" - resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== dependencies: libsodium "^0.7.0" libsodium@^0.7.0: version "0.7.10" - resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== lilconfig@^2.0.5, lilconfig@^2.0.6: @@ -10029,7 +9546,7 @@ lilconfig@^2.0.5, lilconfig@^2.0.6: lines-and-columns@^1.1.6: version "1.2.4" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== load-json-file@^4.0.0: @@ -10129,7 +9646,7 @@ lodash.merge@^4.6.2: lodash.mergewith@4.6.2: version "4.6.2" - resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== lodash.template@^4.5.0: @@ -10154,7 +9671,7 @@ lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17 long@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== long@^5.2.0: @@ -10164,14 +9681,14 @@ long@^5.2.0: loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" - resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== dependencies: js-tokens "^3.0.0 || ^4.0.0" lru-cache@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== dependencies: yallist "^4.0.0" @@ -10265,7 +9782,7 @@ map-obj@^4.0.0: md5.js@^1.3.4: version "1.3.5" - resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== dependencies: hash-base "^3.0.0" @@ -10274,7 +9791,7 @@ md5.js@^1.3.4: md5@~2.2.1: version "2.2.1" - resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== dependencies: charenc "~0.0.1" @@ -10337,7 +9854,7 @@ micromatch@^4.0.4: mime-db@1.52.0: version "1.52.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12, mime-types@~2.1.19: @@ -10369,12 +9886,12 @@ mini-svg-data-uri@^1.2.3: minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== minimalistic-crypto-utils@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== minimatch@5.1.0, minimatch@^5.0.1: @@ -10484,7 +10001,7 @@ minizlib@^2.0.0, minizlib@^2.1.1: miscreant@0.3.2: version "0.3.2" - resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== mkdirp-infer-owner@^2.0.0: @@ -10559,9 +10076,9 @@ mz@^2.7.0: thenify-all "^1.0.0" nan@^2.13.2: - version "2.16.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz" - integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== nanoid@^3.3.4: version "3.3.4" @@ -10854,7 +10371,7 @@ object-inspect@^1.12.2, object-inspect@^1.9.0: object-keys@^1.1.1: version "1.1.1" - resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== object.assign@^4.1.0, object.assign@^4.1.3, object.assign@^4.1.4: @@ -10963,16 +10480,16 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.32.0: - version "0.32.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.32.0.tgz#c6967e05557b1ef91665086ef0094f16edf1e009" - integrity sha512-FEnVs3KO/8db1pGxsD3If+lewMnnsfBHNaz63h4mjNR1rQc6s3V7habHM6mI5rygryKVnDTCyXyz/45n/7BZKQ== +osmojs@0.33.0: + version "0.33.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.33.0.tgz#6fdfd89c422db8e3ec3a0c50c9469a62befd9603" + integrity sha512-asWIDfUEPiR7R0E4QKd7DxLXucYbfTkbHo4J8pawgJPqfKk2VynLdX11AXQE5mvDrfYP9Yc/C2oqfCMxpjkhFg== dependencies: "@babel/runtime" "^7.19.0" - "@cosmjs/amino" "0.29.0" - "@cosmjs/proto-signing" "0.29.0" - "@cosmjs/stargate" "0.29.0" - "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/amino" "0.29.2" + "@cosmjs/proto-signing" "0.29.2" + "@cosmjs/stargate" "0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" "@osmonauts/lcd" "^0.8.0" long "^5.2.0" protobufjs "^6.11.3" @@ -11112,7 +10629,7 @@ pacote@^11.2.6: pako@1.0.11: version "1.0.11" - resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== pako@^0.2.5: @@ -11122,12 +10639,12 @@ pako@^0.2.5: pako@^2.0.2: version "2.0.4" - resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== parent-module@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" @@ -11202,7 +10719,7 @@ path-key@^3.0.0, path-key@^3.1.0: path-parse@^1.0.7: version "1.0.7" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-type@^3.0.0: @@ -11214,12 +10731,12 @@ path-type@^3.0.0: path-type@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: version "3.1.2" - resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== dependencies: create-hash "^1.1.2" @@ -11449,7 +10966,7 @@ protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, pr protobufjs@~6.10.2: version "6.10.3" - resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== dependencies: "@protobufjs/aspromise" "^1.1.2" @@ -11493,7 +11010,7 @@ q@^1.5.1: qrcode.react@^3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== qs@^6.9.4: @@ -11510,7 +11027,7 @@ qs@~6.5.2: query-string@6.13.5: version "6.13.5" - resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== dependencies: decode-uri-component "^0.2.0" @@ -11544,21 +11061,21 @@ quick-lru@^5.1.1: randombytes@^2.0.1, randombytes@^2.1.0: version "2.1.0" - resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" react-clientside-effect@^1.2.6: version "1.2.6" - resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== dependencies: "@babel/runtime" "^7.12.13" react-dom@18.2.0: version "18.2.0" - resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== dependencies: loose-envify "^1.1.0" @@ -11566,12 +11083,12 @@ react-dom@18.2.0: react-fast-compare@3.2.0: version "3.2.0" - resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== react-focus-lock@^2.9.1: version "2.9.1" - resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== dependencies: "@babel/runtime" "^7.0.0" @@ -11581,14 +11098,19 @@ react-focus-lock@^2.9.1: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-icons@4.4.0, react-icons@^4.4.0: +react-icons@4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz" integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== +react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" - resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== react-is@^18.0.0: @@ -11597,16 +11119,16 @@ react-is@^18.0.0: integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== react-remove-scroll-bar@^2.3.3: - version "2.3.3" - resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz" - integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== dependencies: react-style-singleton "^2.2.1" tslib "^2.0.0" react-remove-scroll@^2.5.4: version "2.5.5" - resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== dependencies: react-remove-scroll-bar "^2.3.3" @@ -11630,7 +11152,7 @@ react-select@^5.4.0: react-style-singleton@^2.2.1: version "2.2.1" - resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== dependencies: get-nonce "^1.0.0" @@ -11649,7 +11171,7 @@ react-transition-group@^4.3.0: react@18.2.0: version "18.2.0" - resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== dependencies: loose-envify "^1.1.0" @@ -11797,7 +11319,7 @@ readdirp@~3.6.0: readonly-date@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== rechoir@^0.6.2: @@ -11827,7 +11349,12 @@ regenerate@^1.4.2: resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +regenerator-runtime@^0.13.7: version "0.13.9" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== @@ -11917,7 +11444,7 @@ resolve-cwd@^3.0.0: resolve-from@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== resolve-from@^5.0.0: @@ -11990,7 +11517,7 @@ rimraf@^2.6.3: ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: version "2.0.2" - resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== dependencies: hash-base "^3.0.0" @@ -12044,14 +11571,14 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: scheduler@^0.23.0: version "0.23.0" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== dependencies: loose-envify "^1.1.0" -secretjs@0.17.7, secretjs@^0.17.0: +secretjs@0.17.7: version "0.17.7" - resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== dependencies: "@iov/crypto" "2.1.0" @@ -12066,9 +11593,26 @@ secretjs@0.17.7, secretjs@^0.17.0: protobufjs "6.11.3" secure-random "1.1.2" +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + secure-random@1.1.2: version "1.1.2" - resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== "semver@2 || 3 || 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: @@ -12076,7 +11620,7 @@ secure-random@1.1.2: resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@7.x, semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: version "7.3.7" resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -12088,6 +11632,13 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" @@ -12095,7 +11646,7 @@ set-blocking@~2.0.0: sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: version "2.4.11" - resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== dependencies: inherits "^2.0.1" @@ -12103,7 +11654,7 @@ sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: sha3@~2.1.0: version "2.1.4" - resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== dependencies: buffer "6.0.3" @@ -12274,7 +11825,7 @@ spdx-license-ids@^3.0.0: split-on-first@^1.0.0: version "1.1.0" - resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== split2@^3.0.0: @@ -12342,7 +11893,7 @@ stargaze-zone@0.4.0: strict-uri-encode@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== string-argv@^0.3.1: @@ -12418,7 +11969,7 @@ string.prototype.trimstart@^1.0.5: string_decoder@^1.1.1: version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== dependencies: safe-buffer "~5.2.0" @@ -12509,7 +12060,7 @@ styled-jsx@5.0.4: stylis@4.0.13: version "4.0.13" - resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== supports-color@^2.0.0: @@ -12548,12 +12099,12 @@ supports-hyperlinks@^2.0.0: supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== symbol-observable@^2.0.3: version "2.0.3" - resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== tailwind-scrollbar-hide@^1.1.7: @@ -12705,13 +12256,13 @@ tiny-inflate@^1.0.0: integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== tiny-invariant@^1.0.6: - version "1.2.0" - resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz" - integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== tiny-secp256k1@^1.1.3: version "1.1.6" - resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== dependencies: bindings "^1.3.0" @@ -12734,7 +12285,7 @@ tmpl@1.0.5: to-fast-properties@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== to-regex-range@^5.0.1: @@ -12746,7 +12297,7 @@ to-regex-range@^5.0.1: toggle-selection@^1.0.6: version "1.0.6" - resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== tough-cookie@~2.5.0: @@ -12871,7 +12422,7 @@ type-fest@^0.8.1: type-tagger@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== type@^1.0.1: @@ -12898,7 +12449,7 @@ typedarray@^0.0.6: typeforce@^1.11.5: version "1.18.0" - resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== typescript@4.7.4: @@ -12993,7 +12544,7 @@ universalify@^2.0.0: unorm@^1.5.0: version "1.6.0" - resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== upath@^2.0.1: @@ -13018,14 +12569,14 @@ uri-js@^4.2.2: use-callback-ref@^1.3.0: version "1.3.0" - resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== dependencies: tslib "^2.0.0" use-sidecar@^1.1.2: version "1.1.2" - resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== dependencies: detect-node-es "^1.1.0" @@ -13057,7 +12608,7 @@ util@^0.10.3: utility-types@^3.10.0: version "3.10.0" - resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== uuid@^3.3.2: @@ -13209,7 +12760,7 @@ wide-align@^1.1.0: wif@^2.0.6: version "2.0.6" - resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== dependencies: bs58check "<3.0.0" @@ -13300,17 +12851,17 @@ write-pkg@^4.0.0: ws@7.5.3: version "7.5.3" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== ws@^7: version "7.5.9" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== xstream@^11.14.0: version "11.14.0" - resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== dependencies: globalthis "^1.0.1" @@ -13333,7 +12884,7 @@ yallist@^3.0.0, yallist@^3.1.1: yallist@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: From cca60657679389f3c63307eaa61bd28c3e7bd5b2 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 18:41:33 -0700 Subject: [PATCH 162/262] readme --- README.md | 6 +++--- packages/create-cosmos-app/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 064721c83..cc80805a4 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ cca --example

``` -cca --name exampleapp --example --template send-tokens +cca --name cca-sendtokens --example --template send-tokens ``` ### Osmosis @@ -118,7 +118,7 @@ cca --name myosmoapp --example --template osmosis or the cosmwsam example: ``` -cca --name myosmoapp --example --template osmosis-cosmwasm +cca --name osmowasm --example --template osmosis-cosmwasm ``` ### Juno @@ -149,7 +149,7 @@ cca --name mystarsapp --example --template stargaze ### Tailwind ``` -cca --name exampleapp --example --template tailwindcss +cca --name cca-tailwind --example --template tailwindcss ``` ## Credits diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 064721c83..cc80805a4 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -100,7 +100,7 @@ cca --example

``` -cca --name exampleapp --example --template send-tokens +cca --name cca-sendtokens --example --template send-tokens ``` ### Osmosis @@ -118,7 +118,7 @@ cca --name myosmoapp --example --template osmosis or the cosmwsam example: ``` -cca --name myosmoapp --example --template osmosis-cosmwasm +cca --name osmowasm --example --template osmosis-cosmwasm ``` ### Juno @@ -149,7 +149,7 @@ cca --name mystarsapp --example --template stargaze ### Tailwind ``` -cca --name exampleapp --example --template tailwindcss +cca --name cca-tailwind --example --template tailwindcss ``` ## Credits From b7add7982576a35394a4aae230edcfc3753a1b6a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 18:41:39 -0700 Subject: [PATCH 163/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2 - @cosmonauts/juno@1.0.2 - @cosmonauts/osmosis-cosmwasm@1.0.2 - @cosmonauts/osmosis@1.0.2 - @cosmonauts/send-tokens@1.0.2 - @cosmonauts/stargaze@1.0.2 - @cosmonauts/tailwindcss@1.0.2 - @cosmonauts/connect-chain-with-telescope@1.0.2 - create-cosmos-app@0.4.9 - create-cosmwasm-app@1.0.2 - create-juno-app@0.5.3 - create-osmosis-app@0.5.3 - create-stargaze-app@0.5.4 - @cosmonauts/connect-chain@0.7.2 - @cosmonauts/connect-multi-chain@0.7.2 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 30 files changed, 139 insertions(+), 19 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index 72f3c185a..48010cf11 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.0...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index bcb287328..757401780 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index a36b94593..9ffa8d86d 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.1...@cosmonauts/juno@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.0...@cosmonauts/juno@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 538b82c87..323f17075 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index b83288590..5d54d07b5 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.1...@cosmonauts/osmosis-cosmwasm@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.0...@cosmonauts/osmosis-cosmwasm@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 0b23a7c08..400719b99 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 33aa6c777..a5ff3cc4b 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.1...@cosmonauts/osmosis@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.0...@cosmonauts/osmosis@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 2b53787ff..70529fbb7 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 1f722a375..50599f3e0 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.1...@cosmonauts/send-tokens@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.0...@cosmonauts/send-tokens@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 3772b4840..052d4bb8b 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 325d25cec..5cf0ccda4 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.1...@cosmonauts/stargaze@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.0...@cosmonauts/stargaze@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index b862f5c59..a4a7a1c6e 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index d8645f520..c0edf454e 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.1...@cosmonauts/tailwindcss@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.0...@cosmonauts/tailwindcss@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 40f956c6e..4c17d90f6 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index ef7e3b272..2b2e09558 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.1...@cosmonauts/connect-chain-with-telescope@1.0.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.0...@cosmonauts/connect-chain-with-telescope@1.0.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index fd2a1fba0..514cc5632 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 18db3a9b0..38bea33d8 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.9](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.8...create-cosmos-app@0.4.9) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.8](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.7...create-cosmos-app@0.4.8) (2022-10-01) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 7b8380527..7cd059c32 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.8", + "version": "0.4.9", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 81531316e..b22744054 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.1...create-cosmwasm-app@1.0.2) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.0...create-cosmwasm-app@1.0.1) (2022-10-01) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 8070fb655..fd453377a 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.1", + "version": "1.0.2", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.8", + "create-cosmos-app": "^0.4.9", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 6e7da9c53..5026a22ce 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.2...create-juno-app@0.5.3) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.1...create-juno-app@0.5.2) (2022-10-01) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 3f61cd6ef..0123d7963 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.2", + "version": "0.5.3", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.8", + "create-cosmos-app": "^0.4.9", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 8e630494c..9fd6c3d0e 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.2...create-osmosis-app@0.5.3) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.1...create-osmosis-app@0.5.2) (2022-10-01) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 0b8cd3664..f8dfbfc63 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.2", + "version": "0.5.3", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.8", + "create-cosmos-app": "^0.4.9", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 2394619ab..893727028 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.3...create-stargaze-app@0.5.4) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.2...create-stargaze-app@0.5.3) (2022-10-01) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 34a6ed790..fb6a220ac 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.3", + "version": "0.5.4", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.8", + "create-cosmos-app": "^0.4.9", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 563127dd4..a70a53d1e 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.1...@cosmonauts/connect-chain@0.7.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.0...@cosmonauts/connect-chain@0.7.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index f5234db3f..f4e9a7599 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.7.1", + "version": "0.7.2", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 283d0f565..6d60ac875 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.1...@cosmonauts/connect-multi-chain@0.7.2) (2022-10-15) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.0...@cosmonauts/connect-multi-chain@0.7.1) (2022-10-03) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index c68f4f9f3..414b292a7 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.7.1", + "version": "0.7.2", "private": true, "scripts": { "dev": "next dev", From d79ee69a284142dc4e27943e2e1ee043491aede5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:22:44 -0700 Subject: [PATCH 164/262] cli --- .../create-cosmos-app/src/git-cca-template.ts | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 4980b3e48..21901497e 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -8,17 +8,23 @@ import * as fs from 'fs'; export const createGitApp = (repo: string) => { return async argv => { - const { name } = await prompt([ + if (!shell.which('git')) { + shell.echo('Sorry, this script requires git'); + return shell.exit(1); + } + if (!shell.which('yarn')) { + shell.echo('Sorry, this script requires yarn'); + return shell.exit(1); + } + let { name } = await prompt([ { name: 'name', message: 'Enter your new app name', required: true, } ], argv); - if (!shell.which('git')) { - shell.echo('Sorry, this script requires git'); - return shell.exit(1); - } + name = name.replace(/\s/g, '-'); + let folderName: 'templates' | 'examples' = 'templates'; if (argv.examples || argv.example || argv.ex) { folderName = 'examples'; @@ -63,6 +69,8 @@ export const createGitApp = (repo: string) => { } shell.cd(currentDirecotry); shell.rm('-rf', dir); + shell.cd(`./${name}`); + shell.cd(`yarn`); console.log(` | _ _ @@ -72,7 +80,9 @@ ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- ✨ Have fun! Now you can start on your project ⚛️ -cd ./${name} && yarn && yarn dev +run this command: + +yarn dev `); }; }; From 8b546d503129d3e7fbf48988b733dc1a83da1be1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:22:52 -0700 Subject: [PATCH 165/262] chore(release): publish - create-cosmos-app@0.4.10 - create-cosmwasm-app@1.0.3 - create-juno-app@0.5.4 - create-osmosis-app@0.5.4 - create-stargaze-app@0.5.5 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 38bea33d8..9efaad723 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.10](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.9...create-cosmos-app@0.4.10) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.9](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.8...create-cosmos-app@0.4.9) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 7cd059c32..b4d58c316 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.9", + "version": "0.4.10", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index b22744054..40043ba23 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.2...create-cosmwasm-app@1.0.3) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.1...create-cosmwasm-app@1.0.2) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index fd453377a..76b00acf8 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.2", + "version": "1.0.3", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.9", + "create-cosmos-app": "^0.4.10", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 5026a22ce..92163ebf1 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.3...create-juno-app@0.5.4) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.2...create-juno-app@0.5.3) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 0123d7963..dfb3ad954 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.3", + "version": "0.5.4", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.9", + "create-cosmos-app": "^0.4.10", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 9fd6c3d0e..f71293b7e 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.3...create-osmosis-app@0.5.4) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.2...create-osmosis-app@0.5.3) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index f8dfbfc63..24dae2e02 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.3", + "version": "0.5.4", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.9", + "create-cosmos-app": "^0.4.10", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 893727028..f09b1423a 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.4...create-stargaze-app@0.5.5) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.3...create-stargaze-app@0.5.4) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index fb6a220ac..8b919ec17 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.4", + "version": "0.5.5", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.9", + "create-cosmos-app": "^0.4.10", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From b63498c0bff2d981866c1a67cb1b9ff51f7aaa60 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:23:59 -0700 Subject: [PATCH 166/262] cli --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 21901497e..70437f6ab 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -69,7 +69,7 @@ export const createGitApp = (repo: string) => { } shell.cd(currentDirecotry); shell.rm('-rf', dir); - shell.cd(`./${name}`); + shell.cd(`cd ./${name}`); shell.cd(`yarn`); console.log(` From af0af7f4340ed75bb01ff9774c665ffe4ecd2c19 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:24:05 -0700 Subject: [PATCH 167/262] chore(release): publish - create-cosmos-app@0.4.11 - create-cosmwasm-app@1.0.4 - create-juno-app@0.5.5 - create-osmosis-app@0.5.5 - create-stargaze-app@0.5.6 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 9efaad723..0f58cd17f 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.11](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.10...create-cosmos-app@0.4.11) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.10](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.9...create-cosmos-app@0.4.10) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index b4d58c316..989e22d75 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.10", + "version": "0.4.11", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 40043ba23..c6cb7ddcc 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.3...create-cosmwasm-app@1.0.4) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.2...create-cosmwasm-app@1.0.3) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 76b00acf8..346f7c8ff 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.3", + "version": "1.0.4", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.10", + "create-cosmos-app": "^0.4.11", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 92163ebf1..eb0d15e3d 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.4...create-juno-app@0.5.5) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.3...create-juno-app@0.5.4) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index dfb3ad954..1514ee22f 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.4", + "version": "0.5.5", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.10", + "create-cosmos-app": "^0.4.11", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index f71293b7e..b97f417de 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.4...create-osmosis-app@0.5.5) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.3...create-osmosis-app@0.5.4) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 24dae2e02..2704c6f63 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.4", + "version": "0.5.5", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.10", + "create-cosmos-app": "^0.4.11", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index f09b1423a..e3b16f4ed 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.5...create-stargaze-app@0.5.6) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.4...create-stargaze-app@0.5.5) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 8b919ec17..f85667fb5 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.5", + "version": "0.5.6", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.10", + "create-cosmos-app": "^0.4.11", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From dfa18d3e9afd4d9c72b0e91b3563fc68bc734eac Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:24:39 -0700 Subject: [PATCH 168/262] cli --- packages/create-cosmos-app/src/git-cca-template.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 70437f6ab..2bce31bf1 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -69,8 +69,8 @@ export const createGitApp = (repo: string) => { } shell.cd(currentDirecotry); shell.rm('-rf', dir); - shell.cd(`cd ./${name}`); - shell.cd(`yarn`); + shell.cd(`./${name}`); + shell.exec(`yarn`); console.log(` | _ _ From f838378e82dab4c3dffa7f5d4319e7704873032c Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:24:43 -0700 Subject: [PATCH 169/262] chore(release): publish - create-cosmos-app@0.4.12 - create-cosmwasm-app@1.0.5 - create-juno-app@0.5.6 - create-osmosis-app@0.5.6 - create-stargaze-app@0.5.7 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 0f58cd17f..e1dd5ec79 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.12](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.11...create-cosmos-app@0.4.12) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.11](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.10...create-cosmos-app@0.4.11) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 989e22d75..cae273d12 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.11", + "version": "0.4.12", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index c6cb7ddcc..03342d021 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.4...create-cosmwasm-app@1.0.5) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.0.4](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.3...create-cosmwasm-app@1.0.4) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 346f7c8ff..57845f450 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.4", + "version": "1.0.5", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.11", + "create-cosmos-app": "^0.4.12", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index eb0d15e3d..8be173075 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.5...create-juno-app@0.5.6) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.4...create-juno-app@0.5.5) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 1514ee22f..8fe2b92de 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.5", + "version": "0.5.6", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.11", + "create-cosmos-app": "^0.4.12", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index b97f417de..397bc7864 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.5...create-osmosis-app@0.5.6) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.4...create-osmosis-app@0.5.5) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 2704c6f63..18b9b8776 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.5", + "version": "0.5.6", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.11", + "create-cosmos-app": "^0.4.12", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index e3b16f4ed..8c3e670c8 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.6...create-stargaze-app@0.5.7) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.5...create-stargaze-app@0.5.6) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index f85667fb5..9f5af566f 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.6", + "version": "0.5.7", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.11", + "create-cosmos-app": "^0.4.12", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From d67dd89b2e5093cd140d763d490264760220cfd5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:25:52 -0700 Subject: [PATCH 170/262] cli --- packages/create-cosmos-app/src/git-cca-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 2bce31bf1..0ad6e3007 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -80,7 +80,7 @@ ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- ✨ Have fun! Now you can start on your project ⚛️ -run this command: +Now, run this command: yarn dev `); From 9dd1fd754b2dd799561d48a9f82f081b0fd88114 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:26:01 -0700 Subject: [PATCH 171/262] chore(release): publish - create-cosmos-app@0.5.0 - create-cosmwasm-app@1.1.0 - create-juno-app@0.6.0 - create-osmosis-app@0.6.0 - create-stargaze-app@0.6.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index e1dd5ec79..78caef826 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.12...create-cosmos-app@0.5.0) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.4.12](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.11...create-cosmos-app@0.4.12) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index cae273d12..395742b80 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.4.12", + "version": "0.5.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 03342d021..2c3dfeb95 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.5...create-cosmwasm-app@1.1.0) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.0.5](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.4...create-cosmwasm-app@1.0.5) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 57845f450..94e209200 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.0.5", + "version": "1.1.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.12", + "create-cosmos-app": "^0.5.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 8be173075..b0c5bad83 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.6...create-juno-app@0.6.0) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.5...create-juno-app@0.5.6) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 8fe2b92de..e75e4cabe 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.5.6", + "version": "0.6.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.12", + "create-cosmos-app": "^0.5.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 397bc7864..e92d5a8b3 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.6...create-osmosis-app@0.6.0) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.5.6](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.5...create-osmosis-app@0.5.6) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 18b9b8776..6d68221d0 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.5.6", + "version": "0.6.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.12", + "create-cosmos-app": "^0.5.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 8c3e670c8..582e14616 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.7...create-stargaze-app@0.6.0) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.5.7](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.6...create-stargaze-app@0.5.7) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 9f5af566f..72a8ffc55 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.5.7", + "version": "0.6.0", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.4.12", + "create-cosmos-app": "^0.5.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From bf5ec00ab1e33ec32204e9e8a3f9e39554db94f5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:35:39 -0700 Subject: [PATCH 172/262] cli --- packages/create-cosmos-app/package.json | 1 + packages/create-cosmos-app/src/git-cca-template.ts | 6 +++++- yarn.lock | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 395742b80..502484ff6 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -79,6 +79,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", + "ansi-colors": "4.1.3", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 0ad6e3007..9f8d5dd95 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -1,4 +1,5 @@ import * as shell from 'shelljs'; +import * as c from 'ansi-colors'; import { prompt } from './prompt'; import { join, dirname } from 'path'; import { sync as mkdirp } from 'mkdirp'; @@ -71,6 +72,9 @@ export const createGitApp = (repo: string) => { shell.rm('-rf', dir); shell.cd(`./${name}`); shell.exec(`yarn`); + shell.cd(currentDirecotry); + const cmd = `cd ./${name} && yarn dev`; + console.log(` | _ _ @@ -82,7 +86,7 @@ ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- Now, run this command: -yarn dev +${c.bold.whiteBright(cmd)} `); }; }; diff --git a/yarn.lock b/yarn.lock index 634ba2c91..f5a5a10a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5669,6 +5669,11 @@ ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ansi-colors@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" + integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== + ansi-escapes@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" From 75f09d3acd93eae238ecc00b637e7ece597a6001 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 14 Oct 2022 21:35:52 -0700 Subject: [PATCH 173/262] chore(release): publish - create-cosmos-app@0.6.0 - create-cosmwasm-app@1.2.0 - create-juno-app@0.7.0 - create-osmosis-app@0.7.0 - create-stargaze-app@0.7.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 78caef826..0cc606bd8 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.5.0...create-cosmos-app@0.6.0) (2022-10-15) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.4.12...create-cosmos-app@0.5.0) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 502484ff6..cd9c8a5c1 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.5.0", + "version": "0.6.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 2c3dfeb95..e4215c074 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.1.0...create-cosmwasm-app@1.2.0) (2022-10-15) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.0.5...create-cosmwasm-app@1.1.0) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 94e209200..8e71a89e3 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.1.0", + "version": "1.2.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.5.0", + "create-cosmos-app": "^0.6.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index b0c5bad83..d20a6ef15 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.6.0...create-juno-app@0.7.0) (2022-10-15) + +**Note:** Version bump only for package create-juno-app + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.5.6...create-juno-app@0.6.0) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index e75e4cabe..f0910fd0e 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.6.0", + "version": "0.7.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.5.0", + "create-cosmos-app": "^0.6.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index e92d5a8b3..7720d0eb0 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.6.0...create-osmosis-app@0.7.0) (2022-10-15) + +**Note:** Version bump only for package create-osmosis-app + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.5.6...create-osmosis-app@0.6.0) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 6d68221d0..c2ef276f9 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.6.0", + "version": "0.7.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.5.0", + "create-cosmos-app": "^0.6.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 582e14616..dbc659a0e 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.6.0...create-stargaze-app@0.7.0) (2022-10-15) + +**Note:** Version bump only for package create-stargaze-app + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.5.7...create-stargaze-app@0.6.0) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 72a8ffc55..207b3e205 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.6.0", + "version": "0.7.0", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.5.0", + "create-cosmos-app": "^0.6.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From 8d251e9aa91615d4e72911e47204dbcb22dd53f0 Mon Sep 17 00:00:00 2001 From: June Date: Mon, 17 Oct 2022 17:07:08 +0800 Subject: [PATCH 174/262] update --- examples/contracts/components/wallet.tsx | 57 ++-- examples/contracts/package.json | 4 +- examples/contracts/pages/_app.tsx | 4 +- examples/juno/components/wallet.tsx | 57 ++-- examples/juno/package.json | 8 +- examples/juno/pages/_app.tsx | 4 +- .../osmosis-cosmwasm/components/wallet.tsx | 57 ++-- examples/osmosis-cosmwasm/package.json | 8 +- examples/osmosis-cosmwasm/pages/_app.tsx | 4 +- examples/osmosis/components/wallet.tsx | 57 ++-- examples/osmosis/config/defaults.ts | 4 +- examples/osmosis/package.json | 8 +- examples/osmosis/pages/_app.tsx | 7 +- examples/send-tokens/components/wallet.tsx | 57 ++-- examples/send-tokens/package.json | 8 +- examples/send-tokens/pages/_app.tsx | 4 +- examples/stargaze/components/wallet.tsx | 57 ++-- examples/stargaze/package.json | 8 +- examples/stargaze/pages/_app.tsx | 4 +- .../tailwindcss/components/react/index.ts | 1 + .../tailwindcss/components/react/modal.tsx | 12 +- examples/tailwindcss/components/wallet.tsx | 271 ++++++++---------- examples/tailwindcss/config/chain-infos.ts | 19 -- examples/tailwindcss/package.json | 8 +- examples/telescope/components/wallet.tsx | 57 ++-- examples/telescope/package.json | 4 +- examples/telescope/pages/_app.tsx | 4 +- package.json | 2 +- templates/connect-chain/components/wallet.tsx | 56 ++-- templates/connect-chain/package.json | 8 +- templates/connect-chain/pages/_app.tsx | 4 +- .../connect-multi-chain/components/wallet.tsx | 41 +-- templates/connect-multi-chain/package.json | 8 +- yarn.lock | 46 +-- 34 files changed, 383 insertions(+), 575 deletions(-) delete mode 100644 examples/tailwindcss/config/chain-infos.ts diff --git a/examples/contracts/components/wallet.tsx b/examples/contracts/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/contracts/components/wallet.tsx +++ b/examples/contracts/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/contracts/package.json b/examples/contracts/package.json index e6a5024dc..fe449e6f1 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -16,7 +16,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/react": "0.18.6", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", @@ -42,4 +42,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/contracts/pages/_app.tsx b/examples/contracts/pages/_app.tsx index daa2735e0..841948ba4 100644 --- a/examples/contracts/pages/_app.tsx +++ b/examples/contracts/pages/_app.tsx @@ -38,8 +38,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/juno/components/wallet.tsx b/examples/juno/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/juno/components/wallet.tsx +++ b/examples/juno/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/juno/package.json b/examples/juno/package.json index c6150ae25..efaf918b6 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@juno-network/assets": "0.11.1", @@ -37,4 +37,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/juno/pages/_app.tsx b/examples/juno/pages/_app.tsx index 4834a5a24..5a3389841 100644 --- a/examples/juno/pages/_app.tsx +++ b/examples/juno/pages/_app.tsx @@ -29,8 +29,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/osmosis-cosmwasm/components/wallet.tsx b/examples/osmosis-cosmwasm/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/osmosis-cosmwasm/components/wallet.tsx +++ b/examples/osmosis-cosmwasm/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 8b8082091..08e322cbd 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -16,9 +16,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", @@ -39,4 +39,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/pages/_app.tsx b/examples/osmosis-cosmwasm/pages/_app.tsx index 86c4cd59e..b986861b4 100644 --- a/examples/osmosis-cosmwasm/pages/_app.tsx +++ b/examples/osmosis-cosmwasm/pages/_app.tsx @@ -30,8 +30,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} endpointOptions={{ diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index ecb7170b5..ce942a65e 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/osmosis/config/defaults.ts b/examples/osmosis/config/defaults.ts index 664c35337..d3f8e3f55 100644 --- a/examples/osmosis/config/defaults.ts +++ b/examples/osmosis/config/defaults.ts @@ -4,8 +4,8 @@ import { AssetList, Asset } from '@chain-registry/types'; import { SigningStargateClient } from '@cosmjs/stargate'; import { cosmos } from 'osmojs'; -// export const chainName = 'osmosis'; -export const chainName = 'osmosistestnet'; +export const chainName = 'osmosis'; +// export const chainName = 'osmosistestnet'; export const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 04ff6d9ea..c55fa7554 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -15,9 +15,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", @@ -37,4 +37,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/osmosis/pages/_app.tsx b/examples/osmosis/pages/_app.tsx index c3556e79e..c54d93cd4 100644 --- a/examples/osmosis/pages/_app.tsx +++ b/examples/osmosis/pages/_app.tsx @@ -11,9 +11,6 @@ import { GasPrice } from '@cosmjs/stargate'; import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; -// const chainName = 'osmosis'; -const chainName = 'osmosistestnet'; - function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { stargate: (_chain: Chain) => { @@ -33,8 +30,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/send-tokens/components/wallet.tsx b/examples/send-tokens/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/send-tokens/components/wallet.tsx +++ b/examples/send-tokens/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 0d218117b..c63ae851e 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/send-tokens/pages/_app.tsx b/examples/send-tokens/pages/_app.tsx index 6b8ff203e..68a09556a 100644 --- a/examples/send-tokens/pages/_app.tsx +++ b/examples/send-tokens/pages/_app.tsx @@ -20,8 +20,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/stargaze/components/wallet.tsx b/examples/stargaze/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/stargaze/components/wallet.tsx +++ b/examples/stargaze/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index f179ef32d..74d9321be 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/stargaze/pages/_app.tsx b/examples/stargaze/pages/_app.tsx index 5af61d592..af9513c62 100644 --- a/examples/stargaze/pages/_app.tsx +++ b/examples/stargaze/pages/_app.tsx @@ -30,8 +30,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/examples/tailwindcss/components/react/index.ts b/examples/tailwindcss/components/react/index.ts index ac1dc7dd7..c9a7498d1 100644 --- a/examples/tailwindcss/components/react/index.ts +++ b/examples/tailwindcss/components/react/index.ts @@ -1,2 +1,3 @@ export * from './chain-card'; export * from './modal'; +export * from './views'; diff --git a/examples/tailwindcss/components/react/modal.tsx b/examples/tailwindcss/components/react/modal.tsx index dbb93b263..56cd9d6d6 100644 --- a/examples/tailwindcss/components/react/modal.tsx +++ b/examples/tailwindcss/components/react/modal.tsx @@ -12,7 +12,7 @@ import { QRCode, WalletList } from './views'; -import { wallets } from '@cosmos-kit/config'; +import { wallets } from '@cosmos-kit/keplr'; import { useRouter } from 'next/router'; import Bowser from 'bowser'; @@ -43,16 +43,14 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { }); }, []); - const { setCurrentWallet, connect, walletStatus, currentWalletName } = + const { setCurrentWallet, connect, walletStatus, currentWalletName, currentWallet, getWallet } = useWallet(); const [currentView, setCurrentView] = useState( ModalView.WalletList ); - const currentWalletData = useMemo(() => { - return wallets.find((wallet) => wallet.name === currentWalletName); - }, [currentWalletName]); + const currentWalletData = currentWallet?.walletInfo; useEffect(() => { if (isOpen) { @@ -86,11 +84,11 @@ export const TailwindModal = ({ isOpen, setOpen }: WalletModalProps) => { // 1ms timeout prevents _render from determining the view to show first setTimeout(() => { - if (wallets.find((wallet) => wallet.name === name)?.isQRCode) + if (getWallet(name)?.walletInfo.isQRCode) setCurrentView(ModalView.QRCode); }, 1); }, - [setCurrentWallet, connect] + [setCurrentWallet, connect, getWallet] ); const onCloseModal = useCallback(() => { diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index ecb7170b5..54a865db0 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -1,72 +1,67 @@ -import { useWallet } from '@cosmos-kit/react'; +/* eslint-disable react-hooks/exhaustive-deps */ +import { MouseEventHandler, useEffect, useMemo } from 'react' +import { ChainCard } from '../components' +import { Address, truncate } from './react/views' import { - Box, - Center, - Grid, - GridItem, - Icon, - Stack, - useColorModeValue, - Text -} from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { - Astronaut, - Error, - Connected, - ConnectedShowAddress, - ConnectedUserInfo, - Connecting, - ConnectStatusWarn, - CopyAddressBtn, - Disconnected, - NotExist, - Rejected, - RejectedWarn, - WalletConnectComponent, - ChainCard -} from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; + ArrowPathIcon, + ArrowDownTrayIcon, + WalletIcon, +} from '@heroicons/react/24/outline' +import { useWallet } from '@cosmos-kit/react' +import { WalletStatus } from '@cosmos-kit/core' +import { chainName } from '../config'; + +const buttons = { + Disconnected: { + icon: WalletIcon, + title: 'Connect Wallet' + }, + Connected: { + icon: WalletIcon, + title: 'My Wallet', + }, + Rejected: { + icon: ArrowPathIcon, + title: 'Reconnect', + }, + Error: { + icon: ArrowPathIcon, + title: 'Change Wallet', + }, + NotExist: { + icon: ArrowDownTrayIcon, + title: 'Install Wallet', + }, +} export const WalletSection = () => { - const walletManager = useWallet(); + const walletManager = useWallet() const { connect, openView, walletStatus, username, address, - message, currentChainName, - currentWalletName, - chains + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); + + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + useEffect(() => { + setCurrentChain(chainName) + }, [setCurrentChain]) // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -75,102 +70,90 @@ export const WalletSection = () => { }; const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; + e.preventDefault() + openView() + } - // Components - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - error={} - notExist={ - - } - /> - ); + const _renderConnectButton = useMemo(() => { + // Spinner + if (walletStatus === WalletStatus.Connecting) { + return ( + + ) + } - const connectWalletWarn = ( - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} - /> - } - /> - ); + let onClick + if ( + walletStatus === WalletStatus.Disconnected || + walletStatus === WalletStatus.Rejected + ) + onClick = onClickConnect + else onClick = onClickOpenView - const userInfo = ( - } /> - ); - const addressBtn = chainName && ( - } - /> - ); + const buttonData = buttons[walletStatus] - return ( -
- + + {buttonData.title} + + ) + }, [onClickConnect, onClickOpenView, walletStatus]) + + return ( +
+
{chainName && ( - +
- +
)} - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn} - - - -
- ); -}; +
+
+
+ {username && ( +
+
+

+ {username} +

+
+ )} +
+ {address ?
{truncate(address)}
: <>} +
+ {_renderConnectButton} +
+
+
+
+ + ) +} \ No newline at end of file diff --git a/examples/tailwindcss/config/chain-infos.ts b/examples/tailwindcss/config/chain-infos.ts deleted file mode 100644 index 3a5de4712..000000000 --- a/examples/tailwindcss/config/chain-infos.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChooseChainInfo } from '../components'; -import { chains as chainsBase, assets as chainAssets } from 'chain-registry'; - -export const chainInfos: ChooseChainInfo[] = chainsBase - .filter((chain) => chain.network_type !== 'testnet') - .map((chain) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chain.chain_name - )?.assets; - return { - chainName: chain.chain_name, - label: chain.pretty_name, - value: chain.chain_name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - }); diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 295cda310..9742a783b 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -11,9 +11,9 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@headlessui/react": "^1.7.2", @@ -43,4 +43,4 @@ "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/telescope/components/wallet.tsx b/examples/telescope/components/wallet.tsx index ecb7170b5..c1ada72ee 100644 --- a/examples/telescope/components/wallet.tsx +++ b/examples/telescope/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,8 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; + export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +40,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +93,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +108,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +125,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/examples/telescope/package.json b/examples/telescope/package.json index ca99b4031..bd2ecee34 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -15,7 +15,7 @@ "@chakra-ui/react": "^2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/react": "0.18.6", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", @@ -41,4 +41,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 83f24dc78..9cd279d04 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -37,8 +37,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/package.json b/package.json index f4d7517b5..8119f9f0b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint": "lerna run lint", "format": "lerna run format", "test": "lerna run test --stream", - "upgrade": "yarn upgrade-interactive --latest" + "update": "yarn upgrade-interactive --latest" }, "devDependencies": { "@babel/cli": "7.18.10", diff --git a/templates/connect-chain/components/wallet.tsx b/templates/connect-chain/components/wallet.tsx index ecb7170b5..9f549cfb6 100644 --- a/templates/connect-chain/components/wallet.tsx +++ b/templates/connect-chain/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -27,9 +27,7 @@ import { WalletConnectComponent, ChainCard } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; -import { ChainRecord } from '@cosmos-kit/core'; +import { chainName } from '../config'; export const WalletSection = () => { const walletManager = useWallet(); @@ -41,32 +39,22 @@ export const WalletSection = () => { address, message, currentChainName, - currentWalletName, - chains + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain } = walletManager; - const chainName = currentChainName; + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); - const chain = useMemo( - () => { - const getChain = (chainRecord: ChainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; - return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false - }; - } - return getChain(chains[0]); - }, - [chains] - ); + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } // Events const onClickConnect: MouseEventHandler = async (e) => { @@ -104,17 +92,13 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> @@ -123,7 +107,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } @@ -140,10 +124,10 @@ export const WalletSection = () => { alignItems="center" justifyContent="center" > - {chainName && ( + {currentChainName && ( diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 59ba13184..274aa29b7 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -13,9 +13,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", @@ -33,4 +33,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/pages/_app.tsx b/templates/connect-chain/pages/_app.tsx index ad6ace545..23cfc60fc 100644 --- a/templates/connect-chain/pages/_app.tsx +++ b/templates/connect-chain/pages/_app.tsx @@ -18,8 +18,8 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( chain.chain_name === chainName)} - assetLists={assets.filter(asset => asset.chain_name === chainName)} + chains={chains} + assetLists={assets} wallets={wallets} signerOptions={signerOptions} > diff --git a/templates/connect-multi-chain/components/wallet.tsx b/templates/connect-multi-chain/components/wallet.tsx index 72264be26..2fddcc7d4 100644 --- a/templates/connect-multi-chain/components/wallet.tsx +++ b/templates/connect-multi-chain/components/wallet.tsx @@ -8,7 +8,7 @@ import { Stack, useColorModeValue } from '@chakra-ui/react'; -import { MouseEventHandler, useMemo } from 'react'; +import { MouseEventHandler, useEffect, useMemo } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, @@ -28,41 +28,34 @@ import { RejectedWarn, WalletConnectComponent } from '../components'; -import { getWalletPrettyName } from '@cosmos-kit/config'; -import { assets as chainAssets } from 'chain-registry'; export const WalletSection = () => { const walletManager = useWallet(); const { connect, openView, - setCurrentChain, walletStatus, username, address, message, - currentChainName: chainName, - currentWalletName, - chains + currentChainName, + currentWallet, + chains, + getChainLogo, + setCurrentChain } = walletManager; const chainOptions = useMemo( () => chains.map((chainRecord) => { - const assets = chainAssets.find( - (_chain) => _chain.chain_name === chainRecord.name - )?.assets; return { - chainName: chainRecord.name, - label: chainRecord.chain.pretty_name, - value: chainRecord.name, - icon: assets - ? assets[0]?.logo_URIs?.svg || assets[0]?.logo_URIs?.png - : undefined, - disabled: false + chainName: chainRecord?.name, + label: chainRecord?.chain.pretty_name, + value: chainRecord?.name, + icon: getChainLogo(chainRecord.name) }; }), - [chains] + [chains, getChainLogo] ); // Events @@ -108,24 +101,20 @@ export const WalletSection = () => { rejected={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } error={ } - wordOfWarning={`${getWalletPrettyName( - currentWalletName - )}: ${message}`} + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} /> } /> ); const chooseChain = ( @@ -134,7 +123,7 @@ export const WalletSection = () => { const userInfo = ( } /> ); - const addressBtn = chainName && ( + const addressBtn = currentChainName && ( } diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index b3718bddf..c4c4ba028 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -14,9 +14,9 @@ "@chakra-ui/react": "2.3.4", "@cosmjs/cosmwasm-stargate": "0.29.0", "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", - "@cosmos-kit/react": "0.18.4", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "chain-registry": "1.0.0", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index b8adf5520..45af03c6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,10 +2922,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.3", "@cosmos-kit/core@^0.19.3": - version "0.19.3" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.3.tgz#1c065956e4c84c3a912ad1fce98028de01d4494a" - integrity sha512-0YqThC5hoLIFKmQdJn7BEI/og+4YlSxr/Rytmt29dICr8FXLIfdfjMHb/W+MqBUo7y0lLAal1l6RIcFbq2qKCg== +"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.9": + version "0.19.9" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.9.tgz#7c984dc3bea19d6e520ae3872667326f6492211e" + integrity sha512-f59sKsu/T3tsGvpbdUmUeXcUAYMZq3/sz6NcwebD/Zpjml5kES4lj7s/LUX5O7Njs8cD5GNbmIcBtJanS6dKBA== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -2940,16 +2940,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.19.3": - version "0.19.3" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.3.tgz#fbbaad6dc5139883a89ac1f75aeb9b845727fad9" - integrity sha512-lm5jKrAVL8sWFCwo5jfqN4QrTwCYNgLoTdnQPi7+IqgsX8FAZke7qSkfSHyd32ST55RWnfgz5jAgLlWzIzlz4Q== +"@cosmos-kit/keplr@0.19.7": + version "0.19.7" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.7.tgz#7d2499706775f2e828c4ec31589a63fd736a62f8" + integrity sha512-lsm54F7Zi1YH3BhuiddA7Q+D6tLrmvG5GvN86duOhqIAt6zQ96iK6Z0r1ZzBHJpELob40OZYpLJkXRq6UDo2PQ== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.3" + "@cosmos-kit/core" "^0.19.9" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -2980,30 +2980,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/leap@0.1.2": - version "0.1.2" - resolved "https://registry.npmjs.org/@cosmos-kit/leap/-/leap-0.1.2.tgz#7ddb6f809f64cc043f0f44265bff5c39c22f2a61" - integrity sha512-mh0BHlgmDoNoJf8i5Jp6q8GTMGCHSky4gnyulG9vCza/CXyvbjc9mFnQjLT0dKs8sJ7NGFtx1L42Hwzgr4mPng== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/keplr" "1.0.0" - "@chain-registry/types" "^0.11.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.3" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.11.3" - "@keplr-wallet/wc-client" "^0.11.3" - "@walletconnect/client" "1.8.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - -"@cosmos-kit/react@0.18.4": - version "0.18.4" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.4.tgz#f02cf5939a08595b8b7db82c388d3ccfb36be956" - integrity sha512-gRAPFE7Ln4CMiyKq3YxW5hqUbLvyqFAT1CUlvBFtb+wdrM3g+7JhdNLKZLV7I68gWYW3rO4ORC6jZxsgqmmsNg== +"@cosmos-kit/react@0.18.6": + version "0.18.6" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.6.tgz#617d351803311faa96295cce3a9fb6072f872d71" + integrity sha512-WrecEa4GHwoao/fDtt2+UA1aWSvRLOlSz78AgoecxIBZASsfRMPS0dxL6gyXij0gvXvCgPna9Re3Lmgu2Umozw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" From 6b8d7e9afec88a66575ba985f89708cf703ff6ed Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 17 Oct 2022 10:06:33 -0700 Subject: [PATCH 175/262] tailwind and yarn.lock --- examples/tailwindcss/components/wallet.tsx | 1 - yarn.lock | 31 +++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 728473818..919deab4b 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -40,7 +40,6 @@ export const WalletSection = () => { const { connect, openView, - setCurrentChain, walletStatus, username, address, diff --git a/yarn.lock b/yarn.lock index 89b9f08d8..f22a27d47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2832,7 +2832,16 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.9": +"@cosmos-kit/core@0.19.3": + version "0.19.3" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.3.tgz#1c065956e4c84c3a912ad1fce98028de01d4494a" + integrity sha512-0YqThC5hoLIFKmQdJn7BEI/og+4YlSxr/Rytmt29dICr8FXLIfdfjMHb/W+MqBUo7y0lLAal1l6RIcFbq2qKCg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.3", "@cosmos-kit/core@^0.19.9": version "0.19.9" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.9.tgz#7c984dc3bea19d6e520ae3872667326f6492211e" integrity sha512-f59sKsu/T3tsGvpbdUmUeXcUAYMZq3/sz6NcwebD/Zpjml5kES4lj7s/LUX5O7Njs8cD5GNbmIcBtJanS6dKBA== @@ -2850,6 +2859,26 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" +"@cosmos-kit/keplr@0.19.3": + version "0.19.3" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.3.tgz#fbbaad6dc5139883a89ac1f75aeb9b845727fad9" + integrity sha512-lm5jKrAVL8sWFCwo5jfqN4QrTwCYNgLoTdnQPi7+IqgsX8FAZke7qSkfSHyd32ST55RWnfgz5jAgLlWzIzlz4Q== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.19.3" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + "@cosmos-kit/keplr@0.19.7": version "0.19.7" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.7.tgz#7d2499706775f2e828c4ec31589a63fd736a62f8" From 1ea846bbbf2ada7281f786eba48fd747c4781ca3 Mon Sep 17 00:00:00 2001 From: 0xArb Date: Tue, 18 Oct 2022 16:53:13 +0200 Subject: [PATCH 176/262] no need to truncate actual address --- examples/tailwindcss/components/wallet.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tailwindcss/components/wallet.tsx b/examples/tailwindcss/components/wallet.tsx index 919deab4b..dbaf17b6f 100644 --- a/examples/tailwindcss/components/wallet.tsx +++ b/examples/tailwindcss/components/wallet.tsx @@ -2,7 +2,7 @@ import { MouseEventHandler, useEffect, useMemo } from 'react' import { ChainCard } from '../components' -import { Address, truncate } from './react/views' +import { Address } from './react/views' import { ArrowPathIcon, ArrowDownTrayIcon, @@ -148,7 +148,7 @@ export const WalletSection = () => { )} - {address ?
{truncate(address)}
: <>} + {address ?
{address}
: <>}
{_renderConnectButton}
From ff87ee9c684ad939dc6378fadbc03104ab9113c0 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:24:31 +0800 Subject: [PATCH 177/262] format send tokens style --- .../components/react/handleChangeColor.tsx | 9 + examples/juno/components/react/index.ts | 14 +- .../components/react/send-tokens-card.tsx | 173 +++++++++++++++++ examples/juno/pages/index.tsx | 175 ++++++++---------- 4 files changed, 269 insertions(+), 102 deletions(-) create mode 100644 examples/juno/components/react/handleChangeColor.tsx create mode 100644 examples/juno/components/react/send-tokens-card.tsx diff --git a/examples/juno/components/react/handleChangeColor.tsx b/examples/juno/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/juno/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/juno/components/react/index.ts b/examples/juno/components/react/index.ts index cc035b9c5..1e39d73aa 100644 --- a/examples/juno/components/react/index.ts +++ b/examples/juno/components/react/index.ts @@ -1,6 +1,8 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; +export * from "./send-tokens-card"; +export * from "./handleChangeColor"; diff --git a/examples/juno/components/react/send-tokens-card.tsx b/examples/juno/components/react/send-tokens-card.tsx new file mode 100644 index 000000000..6049a3004 --- /dev/null +++ b/examples/juno/components/react/send-tokens-card.tsx @@ -0,0 +1,173 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { + Box, + Button, + Center, + Flex, + Heading, + Icon, + Stack, + Text, + useColorMode, +} from "@chakra-ui/react"; + +import { WalletStatus } from "@cosmos-kit/core"; + +import { ConnectWalletType } from "../types"; +import { handleChangeColorModeValue } from "./handleChangeColor"; + +export const SendTokensCard = ({ + balance, + response, + isConnectWallet, + getBalanceButtonText, + handleClickGetBalance, + sendTokensButtonText, + handleClickSendTokens, +}: { + balance: number; + response?: string; + isConnectWallet: boolean; + sendTokensButtonText?: string; + handleClickSendTokens: () => void; + getBalanceButtonText?: string; + handleClickGetBalance: () => void; +}) => { + const { colorMode } = useColorMode(); + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } + return ( + + + + Balance:  + + {balance} + + + + +
+ +
+ {response && ( + + Result + +
{response}
+
+
+ )} +
+ ); +}; diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx index 0755c8470..16e2eb028 100644 --- a/examples/juno/pages/index.tsx +++ b/examples/juno/pages/index.tsx @@ -1,8 +1,9 @@ -import { useState } from 'react'; -import { useWallet } from '@cosmos-kit/react'; -import { StdFee } from '@cosmjs/amino'; -import { SigningStargateClient } from '@cosmjs/stargate'; -import BigNumber from 'bignumber.js'; +import { useState } from "react"; +import Head from "next/head"; +import { useWallet } from "@cosmos-kit/react"; +import { StdFee } from "@cosmjs/amino"; +import { SigningStargateClient } from "@cosmjs/stargate"; +import BigNumber from "bignumber.js"; import { Box, @@ -17,20 +18,32 @@ import { Flex, Icon, useColorMode, - useColorModeValue -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { chainassets, chainName, coin, dependencies, products } from '../config'; - -import { WalletStatus } from '@cosmos-kit/core'; -import { Product, Dependency, WalletSection } from '../components'; -import { cosmos } from 'juno-network'; -import Head from 'next/head'; + useColorModeValue, + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { + chainassets, + chainName, + coin, + dependencies, + products, +} from "../config"; + +import { WalletStatus } from "@cosmos-kit/core"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, +} from "../components"; +import { cosmos } from "juno-network"; +import { SendTokensCard } from "../components/react/send-tokens-card"; const library = { - title: 'Juno Network', - text: 'Typescript libraries for the Juno ecosystem', - href: 'https://github.com/CosmosContracts/typescript' + title: "Juno Network", + text: "Typescript libraries for the Juno ecosystem", + href: "https://github.com/CosmosContracts/typescript", }; const sendTokens = ( @@ -41,7 +54,7 @@ const sendTokens = ( return async () => { const stargateClient = await getStargateClient(); if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); + console.error("stargateClient undefined or address undefined."); return; } @@ -51,21 +64,21 @@ const sendTokens = ( amount: [ { denom: coin.base, - amount: '1000' - } + amount: "1000", + }, ], toAddress: address, - fromAddress: address + fromAddress: address, }); const fee: StdFee = { amount: [ { denom: coin.base, - amount: '2000' - } + amount: "2000", + }, ], - gas: '86364' + gas: "86364", }; const response = await stargateClient.signAndBroadcast(address, [msg], fee); setResp(JSON.stringify(response, null, 2)); @@ -75,15 +88,11 @@ const sendTokens = ( export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { - getStargateClient, - address, - currentWallet, - walletStatus - } = useWallet(); + const { getStargateClient, address, currentWallet, walletStatus } = + useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); - const [resp, setResp] = useState(''); + const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); @@ -93,19 +102,19 @@ export default function Home() { let rpcEndpoint = await currentWallet?.getRpcEndpoint(); if (!rpcEndpoint) { - console.log('no rpc endpoint — using a fallback'); + console.log("no rpc endpoint — using a fallback"); rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } // get RPC client const client = await cosmos.ClientFactory.createRPCQueryClient({ - rpcEndpoint + rpcEndpoint, }); // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: chainassets?.assets[0].base as string + denom: chainassets?.assets[0].base as string, }); // Get the display exponent @@ -119,7 +128,8 @@ export default function Home() { setBalance(amount); }; - const color = useColorModeValue('primary.500', 'primary.200'); + const color = useColorModeValue("primary.500", "primary.200"); + return ( @@ -130,14 +140,18 @@ export default function Home() { @@ -146,88 +160,57 @@ export default function Home() { Welcome to  - CosmosKit + Next.js +{' '} - + CosmosKit + Next.js +  + {library.title} - + - - {walletStatus === WalletStatus.Disconnected && ( - - - Connect your wallet! - - - )} - - {walletStatus === WalletStatus.Connected && ( - - - - Balance  - - Balance: {balance.toNumber()} - - - - - - )} - - {!!resp && ( - <> - Response: -
{resp}
- - )} - - + - +
+ Promise, + setResp as () => any, + address as string + )} + handleClickGetBalance={getBalance} + /> +
+ + - {products.map((product) => ( - + ))} - - + + {dependencies.map((dependency) => ( - + ))} + From 53cca18fe87b7bf109ea803c6d73cca67fa4ae7f Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Wed, 19 Oct 2022 14:34:25 +0800 Subject: [PATCH 178/262] add fetch loading --- .../components/react/send-tokens-card.tsx | 4 ++++ examples/juno/pages/index.tsx | 21 ++++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/examples/juno/components/react/send-tokens-card.tsx b/examples/juno/components/react/send-tokens-card.tsx index 6049a3004..8bd378f9e 100644 --- a/examples/juno/components/react/send-tokens-card.tsx +++ b/examples/juno/components/react/send-tokens-card.tsx @@ -6,6 +6,7 @@ import { Flex, Heading, Icon, + Spinner, Stack, Text, useColorMode, @@ -19,6 +20,7 @@ import { handleChangeColorModeValue } from "./handleChangeColor"; export const SendTokensCard = ({ balance, response, + isFetchingBalance, isConnectWallet, getBalanceButtonText, handleClickGetBalance, @@ -27,6 +29,7 @@ export const SendTokensCard = ({ }: { balance: number; response?: string; + isFetchingBalance: boolean; isConnectWallet: boolean; sendTokensButtonText?: string; handleClickSendTokens: () => void; @@ -104,6 +107,7 @@ export const SendTokensCard = ({ "whiteAlpha.900", "blackAlpha.500" )} + isLoading={isFetchingBalance} variant="outline" onClick={handleClickGetBalance} > diff --git a/examples/juno/pages/index.tsx b/examples/juno/pages/index.tsx index 16e2eb028..ff1bea5e5 100644 --- a/examples/juno/pages/index.tsx +++ b/examples/juno/pages/index.tsx @@ -18,7 +18,6 @@ import { Flex, Icon, useColorMode, - useColorModeValue, Center, } from "@chakra-ui/react"; import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; @@ -92,10 +91,12 @@ export default function Home() { useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); + const [isFetchingBalance, setFetchingBalance] = useState(false); const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); + setFetchingBalance(false); return; } @@ -126,10 +127,9 @@ export default function Home() { const a = new BigNumber(balance.balance.amount); const amount = a.multipliedBy(10 ** -exp); setBalance(amount); + setFetchingBalance(false); }; - const color = useColorModeValue("primary.500", "primary.200"); - return ( @@ -163,7 +163,14 @@ export default function Home() { fontSize={{ base: "2xl", md: "4xl" }} > Welcome to  - + CosmosKit + Next.js +  {library.title} @@ -178,6 +185,7 @@ export default function Home() { any, address as string )} - handleClickGetBalance={getBalance} + handleClickGetBalance={() => { + setFetchingBalance(true); + getBalance(); + }} /> From e0481d07ff54732887754a3809866d6329e8a811 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 20 Oct 2022 13:40:04 -0700 Subject: [PATCH 179/262] remove tests --- .github/workflows/run-tests.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml deleted file mode 100644 index 22e6b7bc6..000000000 --- a/.github/workflows/run-tests.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Run Tests - -on: - workflow_dispatch: - #push: - - pull_request: - types: [opened, reopened] - - workflow_dispatch: - -jobs: - run-tests: - runs-on: ubuntu-latest - steps: - - name: checkout 🛎️ - uses: actions/checkout@v2.3.1 - - name: node - uses: actions/setup-node@v3 - with: - node-version: 16.14.0 - - name: deps - run: yarn - - name: bootstrap - run: yarn bootstrap - - name: build - run: yarn build - - name: react - run: cd ./packages/react && yarn test \ No newline at end of file From 2d955b36b0c60e8a6743c9c2027f5a608dc03745 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 20 Oct 2022 16:43:59 -0700 Subject: [PATCH 180/262] upgrades --- examples/contracts/package.json | 4 +- examples/juno/package.json | 10 +- examples/osmosis-cosmwasm/package.json | 8 +- examples/osmosis/package.json | 8 +- examples/send-tokens/package.json | 6 +- examples/stargaze/package.json | 6 +- examples/tailwindcss/package.json | 4 +- examples/telescope/package.json | 4 +- package.json | 4 +- templates/connect-chain/package.json | 11 +- templates/connect-multi-chain/package.json | 6 +- yarn.lock | 1040 +++++++++++++------- 12 files changed, 727 insertions(+), 384 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index e1147d39b..8e931faf9 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -11,7 +11,7 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "^2.0.11", "@chakra-ui/react": "^2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -41,4 +41,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/juno/package.json b/examples/juno/package.json index b8232dced..d133c8a61 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -9,19 +9,19 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.3", - "@cosmos-kit/keplr": "0.19.3", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "@juno-network/assets": "0.13.0", "bignumber.js": "9.1.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "juno-network": "0.8.0", "next": "12.2.5", @@ -37,4 +37,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 7b7c3cea2..2fb064123 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -10,8 +10,8 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/osmosis": "1.0.0", - "@chain-registry/types": "0.11.0", + "@chain-registry/osmosis": "1.2.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -22,7 +22,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", @@ -39,4 +39,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 938d3263b..838cdf5fd 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -9,8 +9,8 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/osmosis": "1.0.0", - "@chain-registry/types": "0.11.0", + "@chain-registry/osmosis": "1.2.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -21,7 +21,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", @@ -37,4 +37,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4f7ce5833..34cd22a28 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -20,7 +20,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "interchain": "1.0.0", "next": "12.2.5", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index a51a75c5a..190dac40a 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -20,7 +20,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 14a17538d..4a936f15e 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -19,7 +19,7 @@ "@headlessui/react": "^1.7.3", "@heroicons/react": "^2.0.12", "bowser": "^2.11.0", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "copy-to-clipboard": "^3.3.2", "framer-motion": "7.3.6", "next": "12.2.5", @@ -43,4 +43,4 @@ "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 863e25a94..0997c5ec0 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -10,7 +10,7 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "^2.0.11", "@chakra-ui/react": "^2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -40,4 +40,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 8119f9f0b..ea9d1c2d5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@babel/cli": "7.18.10", "@babel/core": "7.18.13", "@babel/eslint-parser": "^7.18.2", - "@pyramation/babel-preset-env": "0.1.0", + "@pyramation/babel-preset-env": "0.2.0", "babel-core": "7.0.0-bridge.0", "babel-jest": "^28.1.1", "eslint": "8.22.0", @@ -37,4 +37,4 @@ "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" } -} \ No newline at end of file +} diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 2ed5e0a2b..eddc4d91b 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -9,13 +9,6 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/icons": "2.0.10", - "@chakra-ui/react": "2.3.4", - "@cosmjs/cosmwasm-stargate": "0.29.0", - "@cosmjs/stargate": "0.29.0", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -25,7 +18,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", @@ -40,4 +33,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 725ab2e44..2ed13aaa9 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.11.0", + "@chain-registry/types": "0.13.0", "@chakra-ui/icons": "2.0.11", "@chakra-ui/react": "2.3.5", "@cosmjs/cosmwasm-stargate": "0.29.2", @@ -19,7 +19,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.0.0", + "chain-registry": "1.2.0", "chakra-react-select": "4.2.2", "fast-fuzzy": "1.11.2", "framer-motion": "7.3.6", @@ -36,4 +36,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index f22a27d47..3fe1703ee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,19 +26,19 @@ "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" chokidar "^3.4.0" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1", "@babel/compat-data@^7.9.6": +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== -"@babel/compat-data@^7.19.3": +"@babel/compat-data@^7.19.3", "@babel/compat-data@^7.19.4": version "7.19.4" resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== @@ -106,27 +106,26 @@ json5 "^2.2.1" semver "^6.3.0" -"@babel/core@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz" - integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== - dependencies: - "@babel/code-frame" "^7.8.3" - "@babel/generator" "^7.9.6" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helpers" "^7.9.6" - "@babel/parser" "^7.9.6" - "@babel/template" "^7.8.6" - "@babel/traverse" "^7.9.6" - "@babel/types" "^7.9.6" +"@babel/core@7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.6.tgz#7122ae4f5c5a37c0946c066149abd8e75f81540f" + integrity sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.6" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-module-transforms" "^7.19.6" + "@babel/helpers" "^7.19.4" + "@babel/parser" "^7.19.6" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.6" + "@babel/types" "^7.19.4" convert-source-map "^1.7.0" debug "^4.1.0" - gensync "^1.0.0-beta.1" - json5 "^2.1.2" - lodash "^4.17.13" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" "@babel/core@^7.11.6", "@babel/core@^7.12.3": version "7.19.1" @@ -185,7 +184,7 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2", "@babel/generator@^7.9.6": +"@babel/generator@^7.18.10", "@babel/generator@^7.18.13", "@babel/generator@^7.19.0", "@babel/generator@^7.7.2": version "7.19.0" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== @@ -203,6 +202,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@^7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz#9e481a3fe9ca6261c972645ae3904ec0f9b34a1d" + integrity sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA== + dependencies: + "@babel/types" "^7.19.4" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" @@ -218,7 +226,7 @@ "@babel/helper-explode-assignable-expression" "^7.18.6" "@babel/types" "^7.18.9" -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1", "@babel/helper-compilation-targets@^7.9.6": +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== @@ -238,7 +246,7 @@ browserslist "^4.21.3" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0", "@babel/helper-create-class-features-plugin@^7.8.3": +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== @@ -305,14 +313,14 @@ dependencies: "@babel/types" "^7.18.9" -"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.8.3": +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0", "@babel/helper-module-transforms@^7.9.0": +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== @@ -326,6 +334,20 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/helper-module-transforms@^7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.6.tgz#6c52cc3ac63b70952d33ee987cbee1c9368b533f" + integrity sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.19.4" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.6" + "@babel/types" "^7.19.4" + "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" @@ -366,6 +388,13 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-simple-access@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz#be553f4951ac6352df2567f7daa19a0ee15668e7" + integrity sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg== + dependencies: + "@babel/types" "^7.19.4" + "@babel/helper-skip-transparent-expression-wrappers@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" @@ -387,7 +416,7 @@ "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== "@babel/helper-validator-option@^7.18.6": @@ -405,7 +434,7 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" -"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.9.6": +"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== @@ -414,6 +443,15 @@ "@babel/traverse" "^7.19.0" "@babel/types" "^7.19.0" +"@babel/helpers@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz#42154945f87b8148df7203a25c31ba9a73be46c5" + integrity sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw== + dependencies: + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.4" + "@babel/types" "^7.19.4" + "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -440,7 +478,7 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1", "@babel/parser@^7.9.6": +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.18.13", "@babel/parser@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== @@ -450,6 +488,11 @@ resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== +"@babel/parser@^7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz#b923430cb94f58a7eae8facbffa9efd19130e7f8" + integrity sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" @@ -466,7 +509,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1", "@babel/plugin-proposal-async-generator-functions@^7.8.3": +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== @@ -484,14 +527,6 @@ "@babel/helper-create-class-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-class-properties@7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz" - integrity sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-class-static-block@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" @@ -501,7 +536,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-dynamic-import@^7.18.6", "@babel/plugin-proposal-dynamic-import@^7.8.3": +"@babel/plugin-proposal-dynamic-import@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== @@ -517,14 +552,6 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-default-from" "^7.18.6" -"@babel/plugin-proposal-export-default-from@7.8.3": - version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz" - integrity sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-export-default-from" "^7.8.3" - "@babel/plugin-proposal-export-namespace-from@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" @@ -533,7 +560,7 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.18.6", "@babel/plugin-proposal-json-strings@^7.8.3": +"@babel/plugin-proposal-json-strings@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== @@ -549,7 +576,7 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== @@ -557,7 +584,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@^7.18.6", "@babel/plugin-proposal-numeric-separator@^7.8.3": +"@babel/plugin-proposal-numeric-separator@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== @@ -565,7 +592,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.9.6": +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== @@ -576,16 +603,18 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-transform-parameters" "^7.18.8" -"@babel/plugin-proposal-object-rest-spread@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz" - integrity sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A== +"@babel/plugin-proposal-object-rest-spread@7.19.4", "@babel/plugin-proposal-object-rest-spread@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.19.4.tgz#a8fc86e8180ff57290c91a75d83fe658189b642d" + integrity sha512-wHmj6LDxVDnL+3WhXteUBaoM1aVILZODAUjg11kHqG4cOlfgMQGxw6aCgvrXrmaJR3Bn14oZhImyCPZzRpC93Q== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/compat-data" "^7.19.4" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.18.8" -"@babel/plugin-proposal-optional-catch-binding@^7.18.6", "@babel/plugin-proposal-optional-catch-binding@^7.8.3": +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== @@ -593,7 +622,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.9.0": +"@babel/plugin-proposal-optional-chaining@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== @@ -620,7 +649,7 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== @@ -628,7 +657,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": +"@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== @@ -656,14 +685,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": +"@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.18.6", "@babel/plugin-syntax-export-default-from@^7.8.3": +"@babel/plugin-syntax-export-default-from@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== @@ -691,7 +720,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": +"@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -700,7 +729,7 @@ "@babel/plugin-syntax-jsx@^7.17.12", "@babel/plugin-syntax-jsx@^7.18.6": version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" @@ -712,35 +741,35 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.10.4" resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": +"@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== @@ -768,14 +797,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-arrow-functions@^7.18.6", "@babel/plugin-transform-arrow-functions@^7.8.3": +"@babel/plugin-transform-arrow-functions@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-async-to-generator@^7.18.6", "@babel/plugin-transform-async-to-generator@^7.8.3": +"@babel/plugin-transform-async-to-generator@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== @@ -784,21 +813,28 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-remap-async-to-generator" "^7.18.6" -"@babel/plugin-transform-block-scoped-functions@^7.18.6", "@babel/plugin-transform-block-scoped-functions@^7.8.3": +"@babel/plugin-transform-block-scoped-functions@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.18.9", "@babel/plugin-transform-block-scoping@^7.8.3": +"@babel/plugin-transform-block-scoping@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0", "@babel/plugin-transform-classes@^7.9.5": +"@babel/plugin-transform-block-scoping@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.19.4.tgz#315d70f68ce64426db379a3d830e7ac30be02e9b" + integrity sha512-934S2VLLlt2hRJwPf4MczaOr4hYF0z+VKPwqTNxyKX7NthTiPfhuKFWQZHXRM0vh/wo/VyXB3s4bZUNA08l+tQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== @@ -813,28 +849,28 @@ "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.18.9", "@babel/plugin-transform-computed-properties@^7.8.3": +"@babel/plugin-transform-computed-properties@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.18.13": +"@babel/plugin-transform-destructuring@^7.18.13", "@babel/plugin-transform-destructuring@^7.19.4": version "7.19.4" resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== dependencies: "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-destructuring@^7.18.9", "@babel/plugin-transform-destructuring@^7.9.5": +"@babel/plugin-transform-destructuring@^7.18.9": version "7.18.13" resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== @@ -842,14 +878,14 @@ "@babel/helper-create-regexp-features-plugin" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-duplicate-keys@^7.18.9", "@babel/plugin-transform-duplicate-keys@^7.8.3": +"@babel/plugin-transform-duplicate-keys@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-exponentiation-operator@^7.18.6", "@babel/plugin-transform-exponentiation-operator@^7.8.3": +"@babel/plugin-transform-exponentiation-operator@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== @@ -857,14 +893,14 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-for-of@^7.18.8", "@babel/plugin-transform-for-of@^7.9.0": +"@babel/plugin-transform-for-of@^7.18.8": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-function-name@^7.18.9", "@babel/plugin-transform-function-name@^7.8.3": +"@babel/plugin-transform-function-name@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== @@ -873,21 +909,21 @@ "@babel/helper-function-name" "^7.18.9" "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-literals@^7.18.9", "@babel/plugin-transform-literals@^7.8.3": +"@babel/plugin-transform-literals@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-member-expression-literals@^7.18.6", "@babel/plugin-transform-member-expression-literals@^7.8.3": +"@babel/plugin-transform-member-expression-literals@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-amd@^7.18.6", "@babel/plugin-transform-modules-amd@^7.9.6": +"@babel/plugin-transform-modules-amd@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== @@ -896,7 +932,7 @@ "@babel/helper-plugin-utils" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.18.6", "@babel/plugin-transform-modules-commonjs@^7.9.6": +"@babel/plugin-transform-modules-commonjs@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== @@ -906,7 +942,7 @@ "@babel/helper-simple-access" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0", "@babel/plugin-transform-modules-systemjs@^7.9.6": +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== @@ -917,7 +953,7 @@ "@babel/helper-validator-identifier" "^7.18.6" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.18.6", "@babel/plugin-transform-modules-umd@^7.9.0": +"@babel/plugin-transform-modules-umd@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== @@ -925,7 +961,7 @@ "@babel/helper-module-transforms" "^7.18.6" "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.19.1", "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": version "7.19.1" resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== @@ -933,14 +969,14 @@ "@babel/helper-create-regexp-features-plugin" "^7.19.0" "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-new-target@^7.18.6", "@babel/plugin-transform-new-target@^7.8.3": +"@babel/plugin-transform-new-target@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-object-super@^7.18.6", "@babel/plugin-transform-object-super@^7.8.3": +"@babel/plugin-transform-object-super@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== @@ -948,49 +984,35 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-parameters@^7.18.8", "@babel/plugin-transform-parameters@^7.9.5": +"@babel/plugin-transform-parameters@^7.18.8": version "7.18.8" resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-property-literals@^7.18.6", "@babel/plugin-transform-property-literals@^7.8.3": +"@babel/plugin-transform-property-literals@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-react-display-name@^7.8.3": +"@babel/plugin-transform-react-display-name@^7.18.6": version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz#8b1125f919ef36ebdfff061d664e266c666b9415" integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-react-jsx-development@^7.9.0": +"@babel/plugin-transform-react-jsx-development@^7.18.6": version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz#dbe5c972811e49c7405b630e4d0d2e1380c0ddc5" integrity sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA== dependencies: "@babel/plugin-transform-react-jsx" "^7.18.6" -"@babel/plugin-transform-react-jsx-self@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.18.6.tgz" - integrity sha512-A0LQGx4+4Jv7u/tWzoJF7alZwnBDQd6cGLh9P+Ttk4dpiL+J5p7NSNv/9tlEFFJDq3kjxOavWmbm6t0Gk+A3Ig== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-react-jsx-source@^7.9.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.18.6.tgz" - integrity sha512-utZmlASneDfdaMh0m/WausbjUjEdGrQJz0vFK93d7wD3xf5wBtX219+q6IlCNZeguIcxS2f/CvLZrlLSvSHQXw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-react-jsx@^7.18.6", "@babel/plugin-transform-react-jsx@^7.9.4": +"@babel/plugin-transform-react-jsx@^7.18.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz" integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg== @@ -1001,7 +1023,15 @@ "@babel/plugin-syntax-jsx" "^7.18.6" "@babel/types" "^7.19.0" -"@babel/plugin-transform-regenerator@^7.18.6", "@babel/plugin-transform-regenerator@^7.8.7": +"@babel/plugin-transform-react-pure-annotations@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.6.tgz#561af267f19f3e5d59291f9950fd7b9663d0d844" + integrity sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-regenerator@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== @@ -1009,7 +1039,7 @@ "@babel/helper-plugin-utils" "^7.18.6" regenerator-transform "^0.15.0" -"@babel/plugin-transform-reserved-words@^7.18.6", "@babel/plugin-transform-reserved-words@^7.8.3": +"@babel/plugin-transform-reserved-words@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== @@ -1040,24 +1070,26 @@ babel-plugin-polyfill-regenerator "^0.4.1" semver "^6.3.0" -"@babel/plugin-transform-runtime@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz" - integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== +"@babel/plugin-transform-runtime@7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.6.tgz#9d2a9dbf4e12644d6f46e5e75bfbf02b5d6e9194" + integrity sha512-PRH37lz4JU156lYFW1p8OxE5i7d6Sl/zV58ooyr+q1J1lnQPyg5tIiXlIwNVhJaY4W3TmOtdc8jqdXQcB1v5Yw== dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - resolve "^1.8.1" - semver "^5.5.1" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + semver "^6.3.0" -"@babel/plugin-transform-shorthand-properties@^7.18.6", "@babel/plugin-transform-shorthand-properties@^7.8.3": +"@babel/plugin-transform-shorthand-properties@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0", "@babel/plugin-transform-spread@^7.8.3": +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0": version "7.19.0" resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== @@ -1065,21 +1097,21 @@ "@babel/helper-plugin-utils" "^7.19.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" -"@babel/plugin-transform-sticky-regex@^7.18.6", "@babel/plugin-transform-sticky-regex@^7.8.3": +"@babel/plugin-transform-sticky-regex@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-template-literals@^7.18.9", "@babel/plugin-transform-template-literals@^7.8.3": +"@babel/plugin-transform-template-literals@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typeof-symbol@^7.18.9", "@babel/plugin-transform-typeof-symbol@^7.8.4": +"@babel/plugin-transform-typeof-symbol@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== @@ -1102,7 +1134,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-regex@^7.18.6", "@babel/plugin-transform-unicode-regex@^7.8.3": +"@babel/plugin-transform-unicode-regex@^7.18.6": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== @@ -1272,73 +1304,88 @@ core-js-compat "^3.25.1" semver "^6.3.0" -"@babel/preset-env@7.9.6": - version "7.9.6" - resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz" - integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== +"@babel/preset-env@7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.4.tgz#4c91ce2e1f994f717efb4237891c3ad2d808c94b" + integrity sha512-5QVOTXUdqTCjQuh2GGtdd7YEhoRXBMVGROAtsBeLGIbIz3obCBIfRMT1I3ZKkMgNzwkyCkftDXSSkHxnfVf4qg== dependencies: - "@babel/compat-data" "^7.9.6" - "@babel/helper-compilation-targets" "^7.9.6" - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-async-generator-functions" "^7.8.3" - "@babel/plugin-proposal-dynamic-import" "^7.8.3" - "@babel/plugin-proposal-json-strings" "^7.8.3" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.6" - "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" - "@babel/plugin-proposal-optional-chaining" "^7.9.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" - "@babel/plugin-syntax-async-generators" "^7.8.0" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" - "@babel/plugin-syntax-json-strings" "^7.8.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-numeric-separator" "^7.8.0" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.8.3" - "@babel/plugin-transform-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions" "^7.8.3" - "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.5" - "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.9.5" - "@babel/plugin-transform-dotall-regex" "^7.8.3" - "@babel/plugin-transform-duplicate-keys" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator" "^7.8.3" - "@babel/plugin-transform-for-of" "^7.9.0" - "@babel/plugin-transform-function-name" "^7.8.3" - "@babel/plugin-transform-literals" "^7.8.3" - "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.6" - "@babel/plugin-transform-modules-commonjs" "^7.9.6" - "@babel/plugin-transform-modules-systemjs" "^7.9.6" - "@babel/plugin-transform-modules-umd" "^7.9.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" - "@babel/plugin-transform-new-target" "^7.8.3" - "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.9.5" - "@babel/plugin-transform-property-literals" "^7.8.3" - "@babel/plugin-transform-regenerator" "^7.8.7" - "@babel/plugin-transform-reserved-words" "^7.8.3" - "@babel/plugin-transform-shorthand-properties" "^7.8.3" - "@babel/plugin-transform-spread" "^7.8.3" - "@babel/plugin-transform-sticky-regex" "^7.8.3" - "@babel/plugin-transform-template-literals" "^7.8.3" - "@babel/plugin-transform-typeof-symbol" "^7.8.4" - "@babel/plugin-transform-unicode-regex" "^7.8.3" - "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.6" - browserslist "^4.11.1" - core-js-compat "^3.6.2" - invariant "^2.2.2" - levenary "^1.1.1" - semver "^5.5.0" - -"@babel/preset-modules@^0.1.3", "@babel/preset-modules@^0.1.5": + "@babel/compat-data" "^7.19.4" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.19.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.19.4" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.19.4" + "@babel/plugin-transform-classes" "^7.19.0" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.19.4" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.0" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.19.4" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" + semver "^6.3.0" + +"@babel/preset-modules@^0.1.5": version "0.1.5" resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== @@ -1349,17 +1396,17 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@7.9.4": - version "7.9.4" - resolved "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.9.4.tgz" - integrity sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ== +"@babel/preset-react@7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.18.6.tgz#979f76d6277048dc19094c217b507f3ad517dd2d" + integrity sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg== dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-react-display-name" "^7.8.3" - "@babel/plugin-transform-react-jsx" "^7.9.4" - "@babel/plugin-transform-react-jsx-development" "^7.9.0" - "@babel/plugin-transform-react-jsx-self" "^7.9.0" - "@babel/plugin-transform-react-jsx-source" "^7.9.0" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-react-display-name" "^7.18.6" + "@babel/plugin-transform-react-jsx" "^7.18.6" + "@babel/plugin-transform-react-jsx-development" "^7.18.6" + "@babel/plugin-transform-react-pure-annotations" "^7.18.6" "@babel/preset-typescript@^7.16.7", "@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": version "7.18.6" @@ -1396,14 +1443,14 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.0", "@babel/runtime@^7.18.9", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": version "7.19.0" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== dependencies: regenerator-runtime "^0.13.4" -"@babel/template@^7.18.10", "@babel/template@^7.3.3", "@babel/template@^7.8.6": +"@babel/template@^7.18.10", "@babel/template@^7.3.3": version "7.18.10" resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== @@ -1460,7 +1507,7 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2", "@babel/traverse@^7.9.6": +"@babel/traverse@^7.18.10", "@babel/traverse@^7.18.13", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.7.2": version "7.19.1" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== @@ -1492,6 +1539,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.19.4", "@babel/traverse@^7.19.6": + version "7.19.6" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz#7b4c865611df6d99cb131eec2e8ac71656a490dc" + integrity sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.6" + "@babel/types" "^7.19.4" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" @@ -1519,7 +1582,7 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.9.6": +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.19.0" resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== @@ -1553,15 +1616,15 @@ "@keplr-wallet/crypto" "^0.10.24" semver "^7.3.7" -"@chain-registry/osmosis@1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.0.0.tgz#268d195966fe7351436e5261506c4083d6105e9d" - integrity sha512-fKrydOUykie31SZjk72RxIoBgeCevQb/E3uMbwfcb+taTmcZkrN5TuA/5t3OvszazrdxbMD8h54uIqcu1kroFw== +"@chain-registry/osmosis@1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.2.0.tgz#af2dbab243d62a58573655564658eec1e62ee1c9" + integrity sha512-2ck5PxQGyz/4qzhKBBRAd2manU/1jhiLm7l6dxKp7z9bQu8iSsEMbuIrCyML354tx2qCG/Ly52ZO5qnjl95wlA== dependencies: - "@babel/runtime" "^7.19.0" - "@chain-registry/types" "^0.11.0" + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.0" -"@chain-registry/types@0.11.0", "@chain-registry/types@^0.11.0": +"@chain-registry/types@0.11.0": version "0.11.0" resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== @@ -1570,6 +1633,24 @@ "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" +"@chain-registry/types@0.13.0", "@chain-registry/types@^0.13.0": + version "0.13.0" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.0.tgz#ab910f229579b33c152de468c3eead562f7aee4c" + integrity sha512-2xgKaRK6T3qkkzWkj2n5nHzGNl+0RuDDB8nS+oyssBe4tCq835yMkxrVAOivFfEm5YGl92FcaVDLrzmfPUO0MA== + dependencies: + "@babel/runtime" "^7.19.4" + "@keplr-wallet/cosmos" "^0.11.12" + "@keplr-wallet/crypto" "^0.11.12" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + "@chakra-ui/accordion@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.1.tgz#34a8ffe7eb5bd30f7e10db4ed61f80c53d8bfa18" @@ -1582,6 +1663,18 @@ "@chakra-ui/react-use-merge-refs" "2.0.4" "@chakra-ui/transition" "2.0.10" +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/alert@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" @@ -1605,6 +1698,15 @@ "@chakra-ui/react-children-utils" "2.0.2" "@chakra-ui/react-context" "2.0.4" +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/breadcrumb@2.0.10": version "2.0.10" resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.10.tgz#2b01e7422e171d1de1a8ca8c8e2a774c8449701b" @@ -1613,6 +1715,14 @@ "@chakra-ui/react-children-utils" "2.0.2" "@chakra-ui/react-context" "2.0.4" +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/breakpoint-utils@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" @@ -1643,6 +1753,22 @@ "@chakra-ui/visually-hidden" "2.0.11" "@zag-js/focus-visible" "0.1.0" +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + "@chakra-ui/clickable@2.0.10": version "2.0.10" resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" @@ -1710,6 +1836,21 @@ "@chakra-ui/react-use-update-effect" "2.0.4" "@chakra-ui/shared-utils" "2.0.2" +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + "@chakra-ui/event-utils@2.0.5": version "2.0.5" resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" @@ -1743,6 +1884,16 @@ compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + "@chakra-ui/icon@3.0.11": version "3.0.11" resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" @@ -1775,6 +1926,17 @@ "@chakra-ui/react-context" "2.0.4" "@chakra-ui/shared-utils" "2.0.2" +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + "@chakra-ui/layout@2.1.8": version "2.1.8" resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.8.tgz#5bab204e33079527e0756e2f3616718888b5f14d" @@ -1787,6 +1949,18 @@ "@chakra-ui/react-context" "2.0.4" "@chakra-ui/shared-utils" "2.0.2" +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + "@chakra-ui/lazy-utils@2.0.2": version "2.0.2" resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" @@ -1825,6 +1999,26 @@ "@chakra-ui/react-use-update-effect" "2.0.4" "@chakra-ui/transition" "2.0.10" +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/modal@2.2.1": version "2.2.1" resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.1.tgz#2903d1e0a0a5ab308db2ce5e3f6382eed20e702a" @@ -1840,6 +2034,21 @@ aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + "@chakra-ui/number-input@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" @@ -1878,6 +2087,17 @@ "@chakra-ui/react-use-controllable-state" "2.0.5" "@chakra-ui/react-use-merge-refs" "2.0.4" +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/popover@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" @@ -1918,6 +2138,13 @@ dependencies: "@chakra-ui/react-context" "2.0.4" +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/provider@2.0.19": version "2.0.19" resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.19.tgz#6364df6b1f5058f77c270030b122f6614cdb69c4" @@ -1929,6 +2156,17 @@ "@chakra-ui/system" "2.2.12" "@chakra-ui/utils" "2.0.11" +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/radio@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" @@ -1945,6 +2183,11 @@ resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.2.tgz#8676ce88573ad1824989399db8a1ec7e51afc0d0" integrity sha512-mRTGAZ3DBXB3hgVwS2DVJe3Nlc0qGvMN0PAo4tD/3fj2op2IwspLcYPAWC5D/rI2xj2JlwE6szAtbvxdAfLCNw== +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + "@chakra-ui/react-context@2.0.4": version "2.0.4" resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" @@ -2079,7 +2322,7 @@ dependencies: "@chakra-ui/utils" "2.0.11" -"@chakra-ui/react@2.3.5", "@chakra-ui/react@^2.2.9", "@chakra-ui/react@^2.3.5": +"@chakra-ui/react@2.3.5", "@chakra-ui/react@^2.3.5": version "2.3.5" resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.5.tgz#0f11a6ede3e90e334bab604e7a2c56e0d0fa930e" integrity sha512-bQDRV23M3IvF0+AorTvqJmG/4T6KKQIb+1XGA2RyxonoSHVt89HbN3qnygHJw06Sdgpclxdbr/1qZ4o8+SMbpA== @@ -2133,6 +2376,61 @@ "@chakra-ui/utils" "2.0.11" "@chakra-ui/visually-hidden" "2.0.11" +"@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + "@chakra-ui/select@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" @@ -2197,6 +2495,13 @@ dependencies: "@chakra-ui/checkbox" "2.2.1" +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/system@2.2.12": version "2.2.12" resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.12.tgz#6792afebbebb21e03a4cbf6c0de79739f230acfc" @@ -2208,6 +2513,18 @@ "@chakra-ui/utils" "2.0.11" react-fast-compare "3.2.0" +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + "@chakra-ui/table@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" @@ -2229,6 +2546,20 @@ "@chakra-ui/react-use-merge-refs" "2.0.4" "@chakra-ui/react-use-safe-layout-effect" "2.0.2" +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/tag@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" @@ -2252,6 +2583,15 @@ "@chakra-ui/anatomy" "2.0.7" "@ctrl/tinycolor" "^3.4.0" +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + "@chakra-ui/theme@2.1.13": version "2.1.13" resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.13.tgz#51e76179048cf87c0cb551a619a49d183246550e" @@ -2260,6 +2600,14 @@ "@chakra-ui/anatomy" "2.0.7" "@chakra-ui/theme-tools" "2.0.12" +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + "@chakra-ui/toast@3.0.13": version "3.0.13" resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.13.tgz#e23f6a9c6cc373a78f66f465625b9777d8277033" @@ -2273,6 +2621,19 @@ "@chakra-ui/styled-system" "2.3.4" "@chakra-ui/theme" "2.1.13" +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/tooltip@2.2.0": version "2.2.0" resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" @@ -2290,6 +2651,11 @@ resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.10.tgz#a1ab786f4c2d0e41eb02dfd0f2f8f48a0bc9e35b" integrity sha512-Tkkne8pIIY7f95TKt2aH+IAuQqzHmEt+ICPqvg74QbmIpKE5ptX0cd+P3swBANw4ACnJcCc2vWIaKmVBQ9clLw== +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + "@chakra-ui/utils@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" @@ -2832,16 +3198,7 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.3": - version "0.19.3" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.3.tgz#1c065956e4c84c3a912ad1fce98028de01d4494a" - integrity sha512-0YqThC5hoLIFKmQdJn7BEI/og+4YlSxr/Rytmt29dICr8FXLIfdfjMHb/W+MqBUo7y0lLAal1l6RIcFbq2qKCg== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/types" "^0.11.0" - chain-registry "^0.14.0" - -"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.3", "@cosmos-kit/core@^0.19.9": +"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.9": version "0.19.9" resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.9.tgz#7c984dc3bea19d6e520ae3872667326f6492211e" integrity sha512-f59sKsu/T3tsGvpbdUmUeXcUAYMZq3/sz6NcwebD/Zpjml5kES4lj7s/LUX5O7Njs8cD5GNbmIcBtJanS6dKBA== @@ -2859,26 +3216,6 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.19.3": - version "0.19.3" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.3.tgz#fbbaad6dc5139883a89ac1f75aeb9b845727fad9" - integrity sha512-lm5jKrAVL8sWFCwo5jfqN4QrTwCYNgLoTdnQPi7+IqgsX8FAZke7qSkfSHyd32ST55RWnfgz5jAgLlWzIzlz4Q== - dependencies: - "@babel/runtime" "^7.11.2" - "@chain-registry/keplr" "1.0.0" - "@chain-registry/types" "^0.11.0" - "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.3" - "@emotion/react" "^11" - "@emotion/styled" "^11" - "@keplr-wallet/types" "^0.11.3" - "@keplr-wallet/wc-client" "^0.11.3" - "@walletconnect/client" "1.8.0" - events "3.3.0" - react "18.2.0" - react-dom "18.2.0" - react-icons "^4.4.0" - "@cosmos-kit/keplr@0.19.7": version "0.19.7" resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.7.tgz#7d2499706775f2e828c4ec31589a63fd736a62f8" @@ -3573,12 +3910,12 @@ "@babel/runtime" "^7.19.4" "@chain-registry/types" "0.11.0" -"@keplr-wallet/common@0.11.10": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.10.tgz#75e85156cf2ffe7198fe672f6092a2960c2f3e20" - integrity sha512-e8JhnJ2jyAl6Ar2VzuxEOLHbqWy/Jpo4LXN3VBodiazrkLLLcuEVutc5Ez5VT6ohVoPG2GrvM3zkIRzHw5XKyA== +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== dependencies: - "@keplr-wallet/crypto" "0.11.10" + "@keplr-wallet/crypto" "0.11.12" buffer "^6.0.3" delay "^4.4.0" @@ -3599,6 +3936,23 @@ long "^4.0.0" protobufjs "^6.11.2" +"@keplr-wallet/cosmos@^0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.11.12.tgz#8c0485363c909b3aeea357d3e7f0cbde51faa33a" + integrity sha512-5p0yIcOO183nY21+/d6dblZIiJKKTN2Bd/Dm8kA0+FqDlPDxnpCQukWsrNNb7Sctci94DYDAVYYa2vmacFUGRQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.11.12" + "@keplr-wallet/proto-types" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@keplr-wallet/unit" "0.11.12" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + "@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" @@ -3612,10 +3966,10 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/crypto@0.11.10": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.10.tgz#9f993a7322186baa05b6e24da0f348974dfacc01" - integrity sha512-88xN6O1YoGA41RYLpAYWGdESIUHY+A1G1Uj/fjYpKQ5UapJ9PTAp1LiWGeLmV9Ztt1LdBiyRUK0V/f13cyc5fw== +"@keplr-wallet/crypto@0.11.12", "@keplr-wallet/crypto@^0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -3634,24 +3988,32 @@ long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/provider@0.11.10": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.10.tgz#e0268fdab279e83c49bcd73b87f6b3ca4adcd244" - integrity sha512-UImhriPkp3Zq1w25F/m2TlcLw08P0oRGhs89es0rLgrxruu4Evj/BGol+BkajciZ6NKq9V8rkiqMTNrmuS1zOA== +"@keplr-wallet/proto-types@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.11.12.tgz#f28849965fe201f88f207bf2c236ff103dbc4427" + integrity sha512-w3p95oOgGc4pzj5Xrtopea+gw8pjEbjwUwCmjhAEXX0IIGFa0iPuy+O6Vmv35VgtiseT6+lx+TTNChFaECKPIQ== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/router" "0.11.10" - "@keplr-wallet/types" "0.11.10" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" buffer "^6.0.3" deepmerge "^4.2.2" long "^4.0.0" secretjs "0.17.7" -"@keplr-wallet/router@0.11.10": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.10.tgz#e1f11dda17fe9b44dd13ff7cf501a76012ef19b9" - integrity sha512-GlUGASVXNQx0C1dXEsZwyy2dLikbT2n6qIA/ekbtcgXYpYYXMoA+NpZUSMLxZiJXOjFUCzdueoOrHa+pv+I8Ag== +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== "@keplr-wallet/types@0.10.24": version "0.10.24" @@ -3664,10 +4026,10 @@ long "^4.0.0" secretjs "^0.17.0" -"@keplr-wallet/types@0.11.10", "@keplr-wallet/types@^0.11.3": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.10.tgz#607eb50d3100013a98172f47329d57350c8f49de" - integrity sha512-ZuDD3lhPJMXDl77Ec7P2Hq5OK9X2t/Xl4CPFyJIxYKdvhSjBkPG4utfJSNT4FCLtpZIUUhzaaCWFQSd8ip5ObQ== +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" @@ -3684,16 +4046,25 @@ big-integer "^1.6.48" utility-types "^3.10.0" +"@keplr-wallet/unit@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.11.12.tgz#5fbb9a35d8250b52c6e85757554ec59190a4bcc8" + integrity sha512-ZvVm/iFOq/7NfytTznOE6M8iQPaprGT/ew6Rtd5kMDenvR12uH6HMnwzOMqfuJqi9o1vnyqXL2RRi+GqVgaL4A== + dependencies: + "@keplr-wallet/types" "0.11.12" + big-integer "^1.6.48" + utility-types "^3.10.0" + "@keplr-wallet/wc-client@^0.11.3": - version "0.11.10" - resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.10.tgz#7aaef200b70a35820af43b83d0c06a6bce18511e" - integrity sha512-SEaDaV5HMC44dXxdFr43rf3qIwa98110/xfeprWZDwXPgeTr1aRC0vl1K+d530tGYcomQr4Yx6oc9jnLlW6/WQ== + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/common" "0.11.10" - "@keplr-wallet/provider" "0.11.10" - "@keplr-wallet/types" "0.11.10" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" "@walletconnect/types" "^1.6.4" "@walletconnect/utils" "^1.6.4" buffer "^6.0.3" @@ -5019,19 +5390,18 @@ "@protobufs/gogoproto" "^0.0.10" "@protobufs/google" "^0.0.10" -"@pyramation/babel-preset-env@0.1.0": - version "0.1.0" - resolved "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.1.0.tgz" - integrity sha512-NgyUnQv5gDe4mTe0SbS3thOyV/XPdVKFx1KYtWARKTPCH4430nMyCrguAR9BJ1q1FLilGQdnr3JbGS1pPTRtrA== - dependencies: - "@babel/core" "7.9.6" - "@babel/plugin-proposal-class-properties" "7.8.3" - "@babel/plugin-proposal-export-default-from" "7.8.3" - "@babel/plugin-proposal-object-rest-spread" "7.9.6" - "@babel/plugin-transform-runtime" "7.9.6" - "@babel/preset-env" "7.9.6" - "@babel/preset-react" "7.9.4" - babel-plugin-macros "2.8.0" +"@pyramation/babel-preset-env@0.2.0": + version "0.2.0" + resolved "https://registry.npmjs.org/@pyramation/babel-preset-env/-/babel-preset-env-0.2.0.tgz#d6c88b54564699842e4fedac73c61b7e54bfd945" + integrity sha512-BCcJtPM+IQ0bSe5ta3l6HaI3dUD9DfNjpZNSxOw8z+peWfMr51qhwWHF+484msbpyLudSYa1KUyEizrZfcIPYg== + dependencies: + "@babel/core" "7.19.6" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.19.4" + "@babel/plugin-transform-runtime" "7.19.6" + "@babel/preset-env" "7.19.4" + "@babel/preset-react" "7.18.6" "@pyramation/json-schema-ref-parser@9.0.6": version "9.0.6" @@ -5306,9 +5676,9 @@ integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== "@types/node@>=13.7.0": - version "18.11.0" - resolved "https://registry.npmjs.org/@types/node/-/node-18.11.0.tgz#f38c7139247a1d619f6cc6f27b072606af7c289d" - integrity sha512-IOXCvVRToe7e0ny7HpT/X9Rb2RYtElG1a+VshjwT00HxrM2dWBApHQoqsI6WiY7Q03vdf2bCrIGzVrkF/5t10w== + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== "@types/node@^13.7.0": version "13.13.52" @@ -6033,15 +6403,6 @@ babel-plugin-jest-hoist@^28.1.3: "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" -babel-plugin-macros@2.8.0: - version "2.8.0" - resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz" - integrity sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg== - dependencies: - "@babel/runtime" "^7.7.2" - cosmiconfig "^6.0.0" - resolve "^1.12.0" - babel-plugin-macros@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" @@ -6250,7 +6611,7 @@ brorand@^1.1.0: resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browserslist@^4.11.1, browserslist@^4.21.3, browserslist@^4.21.4: +browserslist@^4.21.3, browserslist@^4.21.4: version "4.21.4" resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== @@ -6412,13 +6773,13 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.0.0.tgz#3e1e8796eb6401fa5e43c216d18ffcd569a434f1" - integrity sha512-9yKRyj8qk34v+JZVd4tuUaxCblc+19Tp9bCyWG7c1O4u2wknIbbyeWtMYROkpIMXv5gnEqGy2NO7QJfTMC4ziw== +chain-registry@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.2.0.tgz#73f18c583daa009367f3c68794cdb8866e8fcead" + integrity sha512-8A8Js1pKbefS0H17Yxa7Y+8tC3BEgCJLplBq/wbC/PxMSK8JSW/nprZHvvbn7JlG0uwpJM4SyvkIOtb98/Fk6g== dependencies: - "@babel/runtime" "^7.19.0" - "@chain-registry/types" "^0.11.0" + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.0" chain-registry@^0.14.0: version "0.14.0" @@ -6448,7 +6809,7 @@ chalk@^1.0.0, chalk@^1.1.3: chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== dependencies: ansi-styles "^3.2.1" @@ -6824,7 +7185,7 @@ copy-to-clipboard@^3.3.2: dependencies: toggle-selection "^1.0.6" -core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.6.2: +core-js-compat@^3.21.0, core-js-compat@^3.22.1: version "3.25.1" resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== @@ -6858,17 +7219,6 @@ core-util-is@~1.0.0: resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.7.2" - cosmiconfig@^7.0.0: version "7.0.1" resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" @@ -7061,7 +7411,7 @@ deep-is@^0.1.3: deepmerge@4.2.2, deepmerge@^4.2.2: version "4.2.2" - resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== defaults@^1.0.3: @@ -7382,7 +7732,7 @@ escalade@^3.1.1: escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^2.0.0: @@ -8024,7 +8374,7 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" -gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: +gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== @@ -8466,7 +8816,7 @@ ignore@^5.2.0: resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== -import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: +import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -8642,9 +8992,9 @@ interpret@^1.0.0: resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -invariant@^2.2.2, invariant@^2.2.4: +invariant@^2.2.4: version "2.2.4" - resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== dependencies: loose-envify "^1.0.0" @@ -8698,13 +9048,20 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: +is-core-module@^2.5.0, is-core-module@^2.8.1: version "2.10.0" resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz" integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== dependencies: has "^1.0.3" +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + is-date-object@^1.0.1: version "1.0.5" resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" @@ -9418,7 +9775,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.1.2, json5@^2.2.1: +json5@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -9525,13 +9882,6 @@ leven@^3.1.0: resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== -levenary@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz" - integrity sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ== - dependencies: - leven "^3.1.0" - levn@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" @@ -9698,7 +10048,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -11491,7 +11841,7 @@ resolve.exports@^1.1.0: resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.3.2, resolve@^1.8.1: +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.0, resolve@^1.22.1: version "1.22.1" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -11649,7 +11999,7 @@ secure-random@1.1.2: resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== -"semver@2 || 3 || 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: +"semver@2 || 3 || 4 || 5", semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -11821,9 +12171,9 @@ source-map-support@^0.5.16, source-map-support@^0.5.19: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@^0.5.0, source-map@^0.5.7: +source-map@^0.5.7: version "0.5.7" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== source-map@^0.6.0, source-map@^0.6.1: @@ -12921,9 +13271,9 @@ yallist@^4.0.0: resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: +yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" - resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yargs-parser@20.2.4: From 8582a6d1ff876398310667b39adbe625fb869d53 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 20 Oct 2022 17:13:15 -0700 Subject: [PATCH 181/262] sendcards --- .../components/react/handleChangeColor.tsx | 9 + examples/osmosis/components/react/index.ts | 14 +- .../components/react/send-tokens-card.tsx | 177 +++++++++++++++ examples/osmosis/components/wallet.tsx | 2 +- examples/osmosis/pages/index.tsx | 203 ++++++++++------- .../components/react/handleChangeColor.tsx | 9 + .../send-tokens/components/react/index.ts | 14 +- .../components/react/send-tokens-card.tsx | 177 +++++++++++++++ examples/send-tokens/pages/index.tsx | 206 +++++++++++------- .../components/react/handleChangeColor.tsx | 9 + examples/stargaze/components/react/index.ts | 14 +- .../components/react/send-tokens-card.tsx | 177 +++++++++++++++ examples/stargaze/pages/index.tsx | 205 +++++++++-------- 13 files changed, 951 insertions(+), 265 deletions(-) create mode 100644 examples/osmosis/components/react/handleChangeColor.tsx create mode 100644 examples/osmosis/components/react/send-tokens-card.tsx create mode 100644 examples/send-tokens/components/react/handleChangeColor.tsx create mode 100644 examples/send-tokens/components/react/send-tokens-card.tsx create mode 100644 examples/stargaze/components/react/handleChangeColor.tsx create mode 100644 examples/stargaze/components/react/send-tokens-card.tsx diff --git a/examples/osmosis/components/react/handleChangeColor.tsx b/examples/osmosis/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/osmosis/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/osmosis/components/react/index.ts b/examples/osmosis/components/react/index.ts index cc035b9c5..1e39d73aa 100644 --- a/examples/osmosis/components/react/index.ts +++ b/examples/osmosis/components/react/index.ts @@ -1,6 +1,8 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; +export * from "./send-tokens-card"; +export * from "./handleChangeColor"; diff --git a/examples/osmosis/components/react/send-tokens-card.tsx b/examples/osmosis/components/react/send-tokens-card.tsx new file mode 100644 index 000000000..8bd378f9e --- /dev/null +++ b/examples/osmosis/components/react/send-tokens-card.tsx @@ -0,0 +1,177 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { + Box, + Button, + Center, + Flex, + Heading, + Icon, + Spinner, + Stack, + Text, + useColorMode, +} from "@chakra-ui/react"; + +import { WalletStatus } from "@cosmos-kit/core"; + +import { ConnectWalletType } from "../types"; +import { handleChangeColorModeValue } from "./handleChangeColor"; + +export const SendTokensCard = ({ + balance, + response, + isFetchingBalance, + isConnectWallet, + getBalanceButtonText, + handleClickGetBalance, + sendTokensButtonText, + handleClickSendTokens, +}: { + balance: number; + response?: string; + isFetchingBalance: boolean; + isConnectWallet: boolean; + sendTokensButtonText?: string; + handleClickSendTokens: () => void; + getBalanceButtonText?: string; + handleClickGetBalance: () => void; +}) => { + const { colorMode } = useColorMode(); + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } + return ( + + + + Balance:  + + {balance} + + + + +
+ +
+ {response && ( + + Result + +
{response}
+
+
+ )} +
+ ); +}; diff --git a/examples/osmosis/components/wallet.tsx b/examples/osmosis/components/wallet.tsx index ce942a65e..c1ada72ee 100644 --- a/examples/osmosis/components/wallet.tsx +++ b/examples/osmosis/components/wallet.tsx @@ -9,7 +9,7 @@ import { useColorModeValue, Text } from '@chakra-ui/react'; -import { MouseEventHandler, useEffect, useMemo } from 'react'; +import { MouseEventHandler, useEffect } from 'react'; import { FiAlertTriangle } from 'react-icons/fi'; import { Astronaut, diff --git a/examples/osmosis/pages/index.tsx b/examples/osmosis/pages/index.tsx index 217733020..2a0f75006 100644 --- a/examples/osmosis/pages/index.tsx +++ b/examples/osmosis/pages/index.tsx @@ -1,7 +1,9 @@ -import { useState } from 'react'; -import { useWallet } from '@cosmos-kit/react'; -import { SigningStargateClient } from '@cosmjs/stargate'; -import BigNumber from 'bignumber.js'; +import { useState } from "react"; +import Head from "next/head"; +import { useWallet } from "@cosmos-kit/react"; +import { StdFee } from "@cosmjs/amino"; +import { SigningStargateClient } from "@cosmjs/stargate"; +import BigNumber from "bignumber.js"; import { Box, @@ -16,15 +18,27 @@ import { Flex, Icon, useColorMode, - useColorModeValue -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { chainassets, chainName, coin, dependencies, products, sendTokens } from '../config'; + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { + chainassets, + chainName, + coin, + dependencies, + products, +} from "../config"; + +import { WalletStatus } from "@cosmos-kit/core"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, +} from "../components"; +import { SendTokensCard } from "../components/react/send-tokens-card"; -import { WalletStatus } from '@cosmos-kit/core'; -import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'osmojs'; -import Head from 'next/head'; const library = { title: 'OsmoJS', @@ -32,40 +46,77 @@ const library = { href: 'https://github.com/osmosis-labs/osmojs' }; +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error("stargateClient undefined or address undefined."); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: "1000", + }, + ], + toAddress: address, + fromAddress: address, + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: "2000", + }, + ], + gas: "86364", + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { - getStargateClient, - address, - currentWallet, - walletStatus - } = useWallet(); + const { getStargateClient, address, currentWallet, walletStatus } = + useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); - const [resp, setResp] = useState(''); + const [isFetchingBalance, setFetchingBalance] = useState(false); + const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); + setFetchingBalance(false); return; } let rpcEndpoint = await currentWallet?.getRpcEndpoint(); if (!rpcEndpoint) { - console.log('no rpc endpoint — using a fallback'); + console.log("no rpc endpoint — using a fallback"); rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } // get RPC client const client = await cosmos.ClientFactory.createRPCQueryClient({ - rpcEndpoint + rpcEndpoint, }); // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: chainassets?.assets[0].base as string + denom: chainassets?.assets[0].base as string, }); // Get the display exponent @@ -77,9 +128,9 @@ export default function Home() { const a = new BigNumber(balance.balance.amount); const amount = a.multipliedBy(10 ** -exp); setBalance(amount); + setFetchingBalance(false); }; - const color = useColorModeValue('primary.500', 'primary.200'); return ( @@ -90,14 +141,18 @@ export default function Home() { @@ -106,88 +161,68 @@ export default function Home() { Welcome to  - - CosmosKit + Next.js +{' '} - + + CosmosKit + Next.js +  + {library.title} - + - - {walletStatus === WalletStatus.Disconnected && ( - - - Connect your wallet! - - - )} - - {walletStatus === WalletStatus.Connected && ( - - - - Balance  - - Balance: {balance.toNumber()} - - - - - - )} - - {!!resp && ( - <> - Response: -
{resp}
- - )} - - + - +
+ Promise, + setResp as () => any, + address as string + )} + handleClickGetBalance={() => { + setFetchingBalance(true); + getBalance(); + }} + /> +
+ + - {products.map((product) => ( - + ))} - - + + {dependencies.map((dependency) => ( - + ))} + diff --git a/examples/send-tokens/components/react/handleChangeColor.tsx b/examples/send-tokens/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/send-tokens/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/send-tokens/components/react/index.ts b/examples/send-tokens/components/react/index.ts index cc035b9c5..1e39d73aa 100644 --- a/examples/send-tokens/components/react/index.ts +++ b/examples/send-tokens/components/react/index.ts @@ -1,6 +1,8 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; +export * from "./send-tokens-card"; +export * from "./handleChangeColor"; diff --git a/examples/send-tokens/components/react/send-tokens-card.tsx b/examples/send-tokens/components/react/send-tokens-card.tsx new file mode 100644 index 000000000..8bd378f9e --- /dev/null +++ b/examples/send-tokens/components/react/send-tokens-card.tsx @@ -0,0 +1,177 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { + Box, + Button, + Center, + Flex, + Heading, + Icon, + Spinner, + Stack, + Text, + useColorMode, +} from "@chakra-ui/react"; + +import { WalletStatus } from "@cosmos-kit/core"; + +import { ConnectWalletType } from "../types"; +import { handleChangeColorModeValue } from "./handleChangeColor"; + +export const SendTokensCard = ({ + balance, + response, + isFetchingBalance, + isConnectWallet, + getBalanceButtonText, + handleClickGetBalance, + sendTokensButtonText, + handleClickSendTokens, +}: { + balance: number; + response?: string; + isFetchingBalance: boolean; + isConnectWallet: boolean; + sendTokensButtonText?: string; + handleClickSendTokens: () => void; + getBalanceButtonText?: string; + handleClickGetBalance: () => void; +}) => { + const { colorMode } = useColorMode(); + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } + return ( + + + + Balance:  + + {balance} + + + + +
+ +
+ {response && ( + + Result + +
{response}
+
+
+ )} +
+ ); +}; diff --git a/examples/send-tokens/pages/index.tsx b/examples/send-tokens/pages/index.tsx index 3ab362dc4..8efcd53f1 100644 --- a/examples/send-tokens/pages/index.tsx +++ b/examples/send-tokens/pages/index.tsx @@ -1,7 +1,9 @@ -import { useState } from 'react'; -import { useWallet } from '@cosmos-kit/react'; -import { SigningStargateClient } from '@cosmjs/stargate'; -import BigNumber from 'bignumber.js'; +import { useState } from "react"; +import Head from "next/head"; +import { useWallet } from "@cosmos-kit/react"; +import { StdFee } from "@cosmjs/amino"; +import { SigningStargateClient } from "@cosmjs/stargate"; +import BigNumber from "bignumber.js"; import { Box, @@ -16,50 +18,106 @@ import { Flex, Icon, useColorMode, - useColorModeValue -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { chainassets, chainName, coin, dependencies, products, sendTokens } from '../config'; + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { + chainassets, + chainName, + coin, + dependencies, + products, +} from "../config"; + +import { WalletStatus } from "@cosmos-kit/core"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, +} from "../components"; +import { SendTokensCard } from "../components/react/send-tokens-card"; + -import { WalletStatus } from '@cosmos-kit/core'; -import { Product, Dependency, WalletSection } from '../components'; import { cosmos } from 'interchain'; -import Head from 'next/head'; + +const library = { + title: 'Interchain', + text: 'Interchain', + href: 'https://github.com/cosmology-tech/interchain' +}; + +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error("stargateClient undefined or address undefined."); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: "1000", + }, + ], + toAddress: address, + fromAddress: address, + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: "2000", + }, + ], + gas: "86364", + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { - getStargateClient, - address, - currentWallet, - walletStatus - } = useWallet(); + const { getStargateClient, address, currentWallet, walletStatus } = + useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); - const [resp, setResp] = useState(''); + const [isFetchingBalance, setFetchingBalance] = useState(false); + const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); + setFetchingBalance(false); return; } let rpcEndpoint = await currentWallet?.getRpcEndpoint(); if (!rpcEndpoint) { - console.log('no rpc endpoint — using a fallback'); + console.log("no rpc endpoint — using a fallback"); rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } // get RPC client const client = await cosmos.ClientFactory.createRPCQueryClient({ - rpcEndpoint + rpcEndpoint, }); // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: chainassets?.assets[0].base as string + denom: chainassets?.assets[0].base as string, }); // Get the display exponent @@ -71,9 +129,9 @@ export default function Home() { const a = new BigNumber(balance.balance.amount); const amount = a.multipliedBy(10 ** -exp); setBalance(amount); + setFetchingBalance(false); }; - const color = useColorModeValue('primary.500', 'primary.200'); return ( @@ -84,14 +142,18 @@ export default function Home() { @@ -100,78 +162,68 @@ export default function Home() { Welcome to  - - CosmosKit + Next.js + + CosmosKit + Next.js +  + + {library.title} + - - {walletStatus === WalletStatus.Disconnected && ( - - - Connect your wallet! - - - )} - - {walletStatus === WalletStatus.Connected && ( - - - - Balance  - - Balance: {balance.toNumber()} - - - - - - )} - - {!!resp && ( - <> - Response: -
{resp}
- - )} + +
+ Promise, + setResp as () => any, + address as string + )} + handleClickGetBalance={() => { + setFetchingBalance(true); + getBalance(); + }} + /> +
+ + + + {products.map((product) => ( - + ))} - + + {dependencies.map((dependency) => ( - + ))} + diff --git a/examples/stargaze/components/react/handleChangeColor.tsx b/examples/stargaze/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/stargaze/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/stargaze/components/react/index.ts b/examples/stargaze/components/react/index.ts index cc035b9c5..1e39d73aa 100644 --- a/examples/stargaze/components/react/index.ts +++ b/examples/stargaze/components/react/index.ts @@ -1,6 +1,8 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; +export * from "./send-tokens-card"; +export * from "./handleChangeColor"; diff --git a/examples/stargaze/components/react/send-tokens-card.tsx b/examples/stargaze/components/react/send-tokens-card.tsx new file mode 100644 index 000000000..8bd378f9e --- /dev/null +++ b/examples/stargaze/components/react/send-tokens-card.tsx @@ -0,0 +1,177 @@ +import React, { MouseEventHandler, ReactNode } from "react"; +import { + Box, + Button, + Center, + Flex, + Heading, + Icon, + Spinner, + Stack, + Text, + useColorMode, +} from "@chakra-ui/react"; + +import { WalletStatus } from "@cosmos-kit/core"; + +import { ConnectWalletType } from "../types"; +import { handleChangeColorModeValue } from "./handleChangeColor"; + +export const SendTokensCard = ({ + balance, + response, + isFetchingBalance, + isConnectWallet, + getBalanceButtonText, + handleClickGetBalance, + sendTokensButtonText, + handleClickSendTokens, +}: { + balance: number; + response?: string; + isFetchingBalance: boolean; + isConnectWallet: boolean; + sendTokensButtonText?: string; + handleClickSendTokens: () => void; + getBalanceButtonText?: string; + handleClickGetBalance: () => void; +}) => { + const { colorMode } = useColorMode(); + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } + return ( + + + + Balance:  + + {balance} + + + + +
+ +
+ {response && ( + + Result + +
{response}
+
+
+ )} +
+ ); +}; diff --git a/examples/stargaze/pages/index.tsx b/examples/stargaze/pages/index.tsx index 508b23c1b..7783ce298 100644 --- a/examples/stargaze/pages/index.tsx +++ b/examples/stargaze/pages/index.tsx @@ -1,7 +1,10 @@ -import { useState } from 'react'; -import { useWallet } from '@cosmos-kit/react'; -import { SigningStargateClient } from '@cosmjs/stargate'; -import BigNumber from 'bignumber.js'; +import { useState } from "react"; +import Head from "next/head"; +import { useWallet } from "@cosmos-kit/react"; +import { StdFee } from "@cosmjs/amino"; +import { SigningStargateClient } from "@cosmjs/stargate"; +import BigNumber from "bignumber.js"; + import { Box, Divider, @@ -15,16 +18,27 @@ import { Flex, Icon, useColorMode, - useColorModeValue -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products, chainName, chainassets, sendTokens, coin } from '../config'; - -import { WalletStatus } from '@cosmos-kit/core'; -import { Product, Dependency, WalletSection } from '../components'; + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { + chainassets, + chainName, + coin, + dependencies, + products, +} from "../config"; + +import { WalletStatus } from "@cosmos-kit/core"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, +} from "../components"; +import { SendTokensCard } from "../components/react/send-tokens-card"; import { cosmos } from 'stargaze-zone'; -import Head from 'next/head'; const library = { title: 'StargazeJS', @@ -32,40 +46,77 @@ const library = { href: 'https://github.com/cosmology-tech/stargaze-zone' }; +const sendTokens = ( + getStargateClient: () => Promise, + setResp: () => any, + address: string +) => { + return async () => { + const stargateClient = await getStargateClient(); + if (!stargateClient || !address) { + console.error("stargateClient undefined or address undefined."); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: "1000", + }, + ], + toAddress: address, + fromAddress: address, + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: "2000", + }, + ], + gas: "86364", + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; + export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { - getStargateClient, - address, - currentWallet, - walletStatus - } = useWallet(); + const { getStargateClient, address, currentWallet, walletStatus } = + useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); - const [resp, setResp] = useState(''); + const [isFetchingBalance, setFetchingBalance] = useState(false); + const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); + setFetchingBalance(false); return; } let rpcEndpoint = await currentWallet?.getRpcEndpoint(); if (!rpcEndpoint) { - console.log('no rpc endpoint — using a fallback'); + console.log("no rpc endpoint — using a fallback"); rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } // get RPC client const client = await cosmos.ClientFactory.createRPCQueryClient({ - rpcEndpoint + rpcEndpoint, }); // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: chainassets?.assets[0].base as string + denom: chainassets?.assets[0].base as string, }); // Get the display exponent @@ -77,9 +128,9 @@ export default function Home() { const a = new BigNumber(balance.balance.amount); const amount = a.multipliedBy(10 ** -exp); setBalance(amount); + setFetchingBalance(false); }; - const color = useColorModeValue('primary.500', 'primary.200'); return ( @@ -90,14 +141,18 @@ export default function Home() { @@ -106,88 +161,68 @@ export default function Home() { Welcome to  - - CosmosKit + Next.js +{' '} - + + CosmosKit + Next.js +  + {library.title} - + - - {walletStatus === WalletStatus.Disconnected && ( - - - Connect your wallet! - - - )} - - {walletStatus === WalletStatus.Connected && ( - - - - Balance  - - Balance: {balance.toNumber()} - - - - - - )} - - {!!resp && ( - <> - Response: -
{resp}
- - )} - - + - +
+ Promise, + setResp as () => any, + address as string + )} + handleClickGetBalance={() => { + setFetchingBalance(true); + getBalance(); + }} + /> +
+ + - {products.map((product) => ( - + ))} - - + + {dependencies.map((dependency) => ( - + ))} + From eef92e3f3e37eb32a0ce1ea4987acf5fd391945d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 23 Oct 2022 22:04:44 -0700 Subject: [PATCH 182/262] defaults --- .../osmosis-cosmwasm/components/react/hackcw20.tsx | 3 ++- examples/osmosis-cosmwasm/config/defaults.ts | 10 +++++++++- examples/osmosis-cosmwasm/pages/_app.tsx | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/examples/osmosis-cosmwasm/components/react/hackcw20.tsx b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx index fdc86f2e0..d1a2d44ec 100644 --- a/examples/osmosis-cosmwasm/components/react/hackcw20.tsx +++ b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx @@ -3,12 +3,13 @@ import { Heading } from "@chakra-ui/react"; import { WalletStatus } from "@cosmos-kit/core"; import { useWallet } from "@cosmos-kit/react"; import { useHackCw20Balance } from "../../hooks/use-hack-cw20-balance"; +import { cw20ContractAddress } from "../../config"; export default function HackCw20() { const { walletStatus } = useWallet(); const { balance } = useHackCw20Balance( - "osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8" + cw20ContractAddress ); return ( diff --git a/examples/osmosis-cosmwasm/config/defaults.ts b/examples/osmosis-cosmwasm/config/defaults.ts index 43f24d9af..4c3c86be3 100644 --- a/examples/osmosis-cosmwasm/config/defaults.ts +++ b/examples/osmosis-cosmwasm/config/defaults.ts @@ -3,11 +3,19 @@ import { AssetList, Asset } from '@chain-registry/types'; // export const chainName = 'osmosis'; export const chainName = 'osmosistestnet'; +export const stakingDenom = 'uosmo'; +export const feeDenom = 'uosmo'; + +// export const chainName = 'cosmwasmtestnet'; +// export const stakingDenom = 'umlga'; +// export const feeDenom = 'uand'; + +export const cw20ContractAddress = 'osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8' export const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName ) as AssetList; export const coin: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' + (asset) => asset.base === stakingDenom ) as Asset; \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/pages/_app.tsx b/examples/osmosis-cosmwasm/pages/_app.tsx index b986861b4..a808753a8 100644 --- a/examples/osmosis-cosmwasm/pages/_app.tsx +++ b/examples/osmosis-cosmwasm/pages/_app.tsx @@ -23,6 +23,10 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return { gasPrice: GasPrice.fromString('0.0025uosmo') }; + case 'cosmwasmtestnet': + return { + gasPrice: GasPrice.fromString('0.0025umlga') + }; } } }; From c2c64100d93488f9d612ce3f34c835469d3a16c1 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 23 Oct 2022 23:49:44 -0700 Subject: [PATCH 183/262] readme --- README.md | 2 +- packages/create-cosmos-app/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc80805a4..f0578713b 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ uses [osmojs](https://github.com/osmosis-labs/osmojs) cca --name myosmoapp --example --template osmosis ``` -or the cosmwsam example: +or the cosmwasm example: ``` cca --name osmowasm --example --template osmosis-cosmwasm diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index cc80805a4..f0578713b 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -115,7 +115,7 @@ uses [osmojs](https://github.com/osmosis-labs/osmojs) cca --name myosmoapp --example --template osmosis ``` -or the cosmwsam example: +or the cosmwasm example: ``` cca --name osmowasm --example --template osmosis-cosmwasm From 567bdfd8b83e85a5fa9419f7b02909b5d94d1380 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 23 Oct 2022 23:50:15 -0700 Subject: [PATCH 184/262] chore(release): publish - @cosmonauts/connect-chain-with-telescope-and-contracts@1.0.3 - @cosmonauts/juno@1.0.3 - @cosmonauts/osmosis-cosmwasm@1.0.3 - @cosmonauts/osmosis@1.0.3 - @cosmonauts/send-tokens@1.0.3 - @cosmonauts/stargaze@1.0.3 - @cosmonauts/tailwindcss@1.0.3 - @cosmonauts/connect-chain-with-telescope@1.0.3 - create-cosmos-app@0.6.1 - create-cosmwasm-app@1.2.1 - create-juno-app@0.7.1 - create-osmosis-app@0.7.1 - create-stargaze-app@0.7.1 - @cosmonauts/connect-chain@0.7.3 - @cosmonauts/connect-multi-chain@0.7.3 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 2 +- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 30 files changed, 139 insertions(+), 19 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index 48010cf11..f8ea2cce7 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.1...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 8e931faf9..3432f1f07 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 9ffa8d86d..1cefb4837 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.2...@cosmonauts/juno@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.1...@cosmonauts/juno@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index d133c8a61..ea2363d5f 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index 5d54d07b5..3a9489486 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.2...@cosmonauts/osmosis-cosmwasm@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.1...@cosmonauts/osmosis-cosmwasm@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 2fb064123..dc99eabd9 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index a5ff3cc4b..45ee77e2e 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.2...@cosmonauts/osmosis@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.1...@cosmonauts/osmosis@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 838cdf5fd..6cc79c6f3 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 50599f3e0..bfa37cb74 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.2...@cosmonauts/send-tokens@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.1...@cosmonauts/send-tokens@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 34cd22a28..4a0a84983 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 5cf0ccda4..558bd7e72 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.2...@cosmonauts/stargaze@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.1...@cosmonauts/stargaze@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 190dac40a..cda2c24cd 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index c0edf454e..9c18c6fc0 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.2...@cosmonauts/tailwindcss@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.1...@cosmonauts/tailwindcss@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 4a936f15e..5ad313074 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index 2b2e09558..f7271a59b 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.2...@cosmonauts/connect-chain-with-telescope@1.0.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope + + + + + ## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.1...@cosmonauts/connect-chain-with-telescope@1.0.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 0997c5ec0..9219be23d 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain-with-telescope", - "version": "1.0.2", + "version": "1.0.3", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 0cc606bd8..ccd8a9ce2 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.6.0...create-cosmos-app@0.6.1) (2022-10-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.5.0...create-cosmos-app@0.6.0) (2022-10-15) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index cd9c8a5c1..b34e71648 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.6.0", + "version": "0.6.1", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index e4215c074..4e22d8e9e 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.2.0...create-cosmwasm-app@1.2.1) (2022-10-24) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.1.0...create-cosmwasm-app@1.2.0) (2022-10-15) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 8e71a89e3..76fe5f6a1 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.2.0", + "version": "1.2.1", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.0", + "create-cosmos-app": "^0.6.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index d20a6ef15..b731dc34c 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.7.0...create-juno-app@0.7.1) (2022-10-24) + +**Note:** Version bump only for package create-juno-app + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.6.0...create-juno-app@0.7.0) (2022-10-15) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index f0910fd0e..02ce4442d 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.7.0", + "version": "0.7.1", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.0", + "create-cosmos-app": "^0.6.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 7720d0eb0..3d270c7b5 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.7.0...create-osmosis-app@0.7.1) (2022-10-24) + +**Note:** Version bump only for package create-osmosis-app + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.6.0...create-osmosis-app@0.7.0) (2022-10-15) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index c2ef276f9..917937f9f 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.7.0", + "version": "0.7.1", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.0", + "create-cosmos-app": "^0.6.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index dbc659a0e..81a4d3323 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.7.0...create-stargaze-app@0.7.1) (2022-10-24) + +**Note:** Version bump only for package create-stargaze-app + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.6.0...create-stargaze-app@0.7.0) (2022-10-15) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 207b3e205..2b302404a 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.7.0", + "version": "0.7.1", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.0", + "create-cosmos-app": "^0.6.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index a70a53d1e..dc3109a8f 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.2...@cosmonauts/connect-chain@0.7.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.7.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.1...@cosmonauts/connect-chain@0.7.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index eddc4d91b..8c7dcda6b 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.7.2", + "version": "0.7.3", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 6d60ac875..236c0c0d9 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.2...@cosmonauts/connect-multi-chain@0.7.3) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.7.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.1...@cosmonauts/connect-multi-chain@0.7.2) (2022-10-15) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 2ed13aaa9..38f732ad1 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.7.2", + "version": "0.7.3", "private": true, "scripts": { "dev": "next dev", From 21cb628719cba531e874a59645f01e424e2dd024 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 02:43:25 -0700 Subject: [PATCH 185/262] Update defaults.ts --- examples/osmosis-cosmwasm/config/defaults.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osmosis-cosmwasm/config/defaults.ts b/examples/osmosis-cosmwasm/config/defaults.ts index 4c3c86be3..e4f52b558 100644 --- a/examples/osmosis-cosmwasm/config/defaults.ts +++ b/examples/osmosis-cosmwasm/config/defaults.ts @@ -7,7 +7,7 @@ export const stakingDenom = 'uosmo'; export const feeDenom = 'uosmo'; // export const chainName = 'cosmwasmtestnet'; -// export const stakingDenom = 'umlga'; +// export const stakingDenom = 'umlg'; // export const feeDenom = 'uand'; export const cw20ContractAddress = 'osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8' @@ -18,4 +18,4 @@ export const chainassets: AssetList = assets.find( export const coin: Asset = chainassets.assets.find( (asset) => asset.base === stakingDenom -) as Asset; \ No newline at end of file +) as Asset; From 6b6f4e2ef7da181f056fef7631d29115e655bc60 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Mon, 24 Oct 2022 17:53:01 +0800 Subject: [PATCH 186/262] add HackCw20 style --- .../osmosis-cosmwasm/components/features.tsx | 38 ++++---- .../components/react/hackcw20.tsx | 92 +++++++++++++++---- .../components/react/handleChangeColor.tsx | 9 ++ .../components/react/index.ts | 2 + examples/osmosis-cosmwasm/pages/index.tsx | 86 ++++++++--------- 5 files changed, 145 insertions(+), 82 deletions(-) create mode 100644 examples/osmosis-cosmwasm/components/react/handleChangeColor.tsx diff --git a/examples/osmosis-cosmwasm/components/features.tsx b/examples/osmosis-cosmwasm/components/features.tsx index c4e9cea55..8dfa74e06 100644 --- a/examples/osmosis-cosmwasm/components/features.tsx +++ b/examples/osmosis-cosmwasm/components/features.tsx @@ -1,4 +1,4 @@ -import { LinkIcon } from '@chakra-ui/icons'; +import { LinkIcon } from "@chakra-ui/icons"; import { Box, Heading, @@ -6,13 +6,13 @@ import { Link, Stack, Text, - useColorModeValue -} from '@chakra-ui/react'; -import { FeatureProps } from './types'; + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; export const Product = ({ title, text, href }: FeatureProps) => { return ( - + { justifyContent="center" borderRadius={5} boxShadow={useColorModeValue( - '0 2px 5px #ccc', - '0 1px 3px #727272, 0 2px 12px -2px #2f2f2f' + "0 2px 5px #ccc", + "0 1px 3px #727272, 0 2px 12px -2px #2f2f2f" )} _hover={{ - color: useColorModeValue('purple.600', 'purple.300'), + color: useColorModeValue("purple.600", "purple.300"), boxShadow: useColorModeValue( - '0 2px 5px #bca5e9', - '0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)' - ) + "0 2px 5px #bca5e9", + "0 0 3px rgba(150, 75, 213, 0.8), 0 3px 8px -2px rgba(175, 89, 246, 0.9)" + ), }} > {title} → @@ -41,25 +41,25 @@ export const Product = ({ title, text, href }: FeatureProps) => { export const Dependency = ({ title, text, href }: FeatureProps) => { return ( - + - + @@ -68,7 +68,7 @@ export const Dependency = ({ title, text, href }: FeatureProps) => {
{text} diff --git a/examples/osmosis-cosmwasm/components/react/hackcw20.tsx b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx index d1a2d44ec..b99f8663d 100644 --- a/examples/osmosis-cosmwasm/components/react/hackcw20.tsx +++ b/examples/osmosis-cosmwasm/components/react/hackcw20.tsx @@ -1,25 +1,77 @@ -import { FunctionComponent } from "react"; -import { Heading } from "@chakra-ui/react"; -import { WalletStatus } from "@cosmos-kit/core"; -import { useWallet } from "@cosmos-kit/react"; -import { useHackCw20Balance } from "../../hooks/use-hack-cw20-balance"; -import { cw20ContractAddress } from "../../config"; +import React from "react"; +import { Box, Heading, Stack, Text, useColorMode } from "@chakra-ui/react"; +import { handleChangeColorModeValue } from "./handleChangeColor"; -export default function HackCw20() { - const { walletStatus } = useWallet(); +type SendTokensCardType = { + balance?: string; + isConnectWallet: boolean; +}; - const { balance } = useHackCw20Balance( - cw20ContractAddress - ); +export const HackCw20 = ({ balance, isConnectWallet }: SendTokensCardType) => { + const { colorMode } = useColorMode(); + + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } return ( - -
- HackCW20 Balance:{" "} - {walletStatus === WalletStatus.Disconnected - ? "Connect wallet!" - : balance ?? "loading..."} -
-
+ + + + Balance:  + + {balance} + + + + ); -} +}; diff --git a/examples/osmosis-cosmwasm/components/react/handleChangeColor.tsx b/examples/osmosis-cosmwasm/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/osmosis-cosmwasm/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/osmosis-cosmwasm/components/react/index.ts b/examples/osmosis-cosmwasm/components/react/index.ts index ea8b0e598..31f5ad860 100644 --- a/examples/osmosis-cosmwasm/components/react/index.ts +++ b/examples/osmosis-cosmwasm/components/react/index.ts @@ -4,3 +4,5 @@ export * from "./warn-block"; export * from "./user-card"; export * from "./address-card"; export * from "./chain-card"; +export * from "./hackcw20"; +export * from "./handleChangeColor"; diff --git a/examples/osmosis-cosmwasm/pages/index.tsx b/examples/osmosis-cosmwasm/pages/index.tsx index ef481b8ae..4b0351573 100644 --- a/examples/osmosis-cosmwasm/pages/index.tsx +++ b/examples/osmosis-cosmwasm/pages/index.tsx @@ -1,5 +1,4 @@ -import { useWallet } from '@cosmos-kit/react'; - +import Head from "next/head"; import { Box, Divider, @@ -13,29 +12,32 @@ import { Flex, Icon, useColorMode, - useColorModeValue, -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies, products } from '../config'; +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { WalletStatus } from '@cosmos-kit/core'; -import { Product, Dependency, WalletSection } from '../components'; -import Head from 'next/head'; +import { useWallet } from "@cosmos-kit/react"; +import { WalletStatus } from "@cosmos-kit/core"; -import HackCw20 from '../components/react/hackcw20'; +import { cw20ContractAddress, dependencies, products } from "../config"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, + HackCw20, +} from "../components"; +import { useHackCw20Balance } from "../hooks/use-hack-cw20-balance"; const library = { - title: 'OsmoJS', - text: 'OsmoJS', - href: 'https://github.com/osmosis-labs/osmojs', + title: "OsmoJS", + text: "OsmoJS", + href: "https://github.com/osmosis-labs/osmojs", }; export default function Home() { const { colorMode, toggleColorMode } = useColorMode(); - const { walletStatus } = useWallet(); - - const color = useColorModeValue('primary.500', 'primary.200'); + const { balance } = useHackCw20Balance(cw20ContractAddress); return ( @@ -47,14 +49,14 @@ export default function Home() { @@ -63,44 +65,41 @@ export default function Home() { Welcome to  - - CosmosKit + Next.js +{' '} + + CosmosKit + Next.js +{" "} {library.title} - - - - {walletStatus === WalletStatus.Disconnected && ( - - - Connect your wallet! - - - )} + - + + + - + - ))} - - + + {dependencies.map((dependency) => ( ))} + From 82eb4639b3f0097b7d4ae0db54fbf456dac51615 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 03:00:42 -0700 Subject: [PATCH 187/262] wasm --- examples/osmosis-cosmwasm/config/defaults.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/osmosis-cosmwasm/config/defaults.ts b/examples/osmosis-cosmwasm/config/defaults.ts index e4f52b558..205809dec 100644 --- a/examples/osmosis-cosmwasm/config/defaults.ts +++ b/examples/osmosis-cosmwasm/config/defaults.ts @@ -10,6 +10,7 @@ export const feeDenom = 'uosmo'; // export const stakingDenom = 'umlg'; // export const feeDenom = 'uand'; +// export const cw20ContractAddress = 'wasm1p7vmrhl3s0fyl0m9hk2hlm7uuxq84hztur63n8ryh85chh30vt6q89shcv' export const cw20ContractAddress = 'osmo1y0ywcujptlmnx4fgstlqfp7nftc8w5qndsfds9wxwtm0ltjpzp4qdj09j8' export const chainassets: AssetList = assets.find( From 4fc5631e6b1606a7e334ad7cb699ec2579a23391 Mon Sep 17 00:00:00 2001 From: yujulchen <74940804+yujulchen@users.noreply.github.com> Date: Mon, 24 Oct 2022 18:01:49 +0800 Subject: [PATCH 188/262] add balance --- examples/osmosis-cosmwasm/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osmosis-cosmwasm/pages/index.tsx b/examples/osmosis-cosmwasm/pages/index.tsx index 4b0351573..7e65d4bbe 100644 --- a/examples/osmosis-cosmwasm/pages/index.tsx +++ b/examples/osmosis-cosmwasm/pages/index.tsx @@ -88,7 +88,7 @@ export default function Home() { From 0fe9f4ebc1fa31a6a215f893de9da33fc1243d42 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 03:17:14 -0700 Subject: [PATCH 189/262] cosmwasm --- README.md | 12 + examples/cosmwasm/.eslintrc.json | 3 + examples/cosmwasm/.gitignore | 36 + examples/cosmwasm/README.md | 76 + examples/cosmwasm/codegen/HackCw20.client.ts | 690 +++++++++ examples/cosmwasm/codegen/HackCw20.types.ts | 198 +++ .../codegen/HackCw20QueryClient.client.ts | 456 ++++++ .../codegen/HackCw20QueryClient.types.ts | 198 +++ examples/cosmwasm/codegen/index.ts | 13 + examples/cosmwasm/components/features.tsx | 79 + examples/cosmwasm/components/index.tsx | 4 + .../components/react/address-card.tsx | 78 + .../cosmwasm/components/react/astronaut.tsx | 304 ++++ .../cosmwasm/components/react/chain-card.tsx | 39 + .../cosmwasm/components/react/hackcw20.tsx | 77 + .../components/react/handleChangeColor.tsx | 9 + examples/cosmwasm/components/react/index.ts | 8 + .../cosmwasm/components/react/user-card.tsx | 33 + .../components/react/wallet-connect.tsx | 201 +++ .../cosmwasm/components/react/warn-block.tsx | 90 ++ examples/cosmwasm/components/types.tsx | 44 + examples/cosmwasm/components/wallet.tsx | 161 ++ examples/cosmwasm/config/defaults.ts | 16 + examples/cosmwasm/config/features.ts | 47 + examples/cosmwasm/config/index.ts | 3 + examples/cosmwasm/config/theme.ts | 34 + .../cosmwasm/hooks/use-hack-cw20-balance.ts | 33 + examples/cosmwasm/next.config.js | 7 + examples/cosmwasm/package.json | 42 + examples/cosmwasm/pages/_app.tsx | 48 + examples/cosmwasm/pages/index.tsx | 139 ++ examples/cosmwasm/public/favicon.ico | Bin 0 -> 14037 bytes .../cosmwasm/schemas/cw20-base/cw20-base.json | 1375 +++++++++++++++++ examples/cosmwasm/scripts/codegen.js | 36 + examples/cosmwasm/styles/Home.module.css | 25 + examples/cosmwasm/styles/globals.css | 26 + examples/cosmwasm/tsconfig.json | 30 + packages/create-cosmos-app/README.md | 12 + 38 files changed, 4682 insertions(+) create mode 100644 examples/cosmwasm/.eslintrc.json create mode 100644 examples/cosmwasm/.gitignore create mode 100644 examples/cosmwasm/README.md create mode 100644 examples/cosmwasm/codegen/HackCw20.client.ts create mode 100644 examples/cosmwasm/codegen/HackCw20.types.ts create mode 100644 examples/cosmwasm/codegen/HackCw20QueryClient.client.ts create mode 100644 examples/cosmwasm/codegen/HackCw20QueryClient.types.ts create mode 100644 examples/cosmwasm/codegen/index.ts create mode 100644 examples/cosmwasm/components/features.tsx create mode 100644 examples/cosmwasm/components/index.tsx create mode 100644 examples/cosmwasm/components/react/address-card.tsx create mode 100644 examples/cosmwasm/components/react/astronaut.tsx create mode 100644 examples/cosmwasm/components/react/chain-card.tsx create mode 100644 examples/cosmwasm/components/react/hackcw20.tsx create mode 100644 examples/cosmwasm/components/react/handleChangeColor.tsx create mode 100644 examples/cosmwasm/components/react/index.ts create mode 100644 examples/cosmwasm/components/react/user-card.tsx create mode 100644 examples/cosmwasm/components/react/wallet-connect.tsx create mode 100644 examples/cosmwasm/components/react/warn-block.tsx create mode 100644 examples/cosmwasm/components/types.tsx create mode 100644 examples/cosmwasm/components/wallet.tsx create mode 100644 examples/cosmwasm/config/defaults.ts create mode 100644 examples/cosmwasm/config/features.ts create mode 100644 examples/cosmwasm/config/index.ts create mode 100644 examples/cosmwasm/config/theme.ts create mode 100644 examples/cosmwasm/hooks/use-hack-cw20-balance.ts create mode 100644 examples/cosmwasm/next.config.js create mode 100644 examples/cosmwasm/package.json create mode 100644 examples/cosmwasm/pages/_app.tsx create mode 100644 examples/cosmwasm/pages/index.tsx create mode 100644 examples/cosmwasm/public/favicon.ico create mode 100644 examples/cosmwasm/schemas/cw20-base/cw20-base.json create mode 100644 examples/cosmwasm/scripts/codegen.js create mode 100644 examples/cosmwasm/styles/Home.module.css create mode 100644 examples/cosmwasm/styles/globals.css create mode 100644 examples/cosmwasm/tsconfig.json diff --git a/README.md b/README.md index f0578713b..196b5a991 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,18 @@ uses [stargazejs](https://github.com/cosmology-tech/stargazejs) cca --name mystarsapp --example --template stargaze ``` +### CosmWasm + +

+ +

+ + + +``` +cca --name mywasmapp --example --template cosmwasm +``` + ### Tailwind ``` diff --git a/examples/cosmwasm/.eslintrc.json b/examples/cosmwasm/.eslintrc.json new file mode 100644 index 000000000..bffb357a7 --- /dev/null +++ b/examples/cosmwasm/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/cosmwasm/.gitignore b/examples/cosmwasm/.gitignore new file mode 100644 index 000000000..c87c9b392 --- /dev/null +++ b/examples/cosmwasm/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/examples/cosmwasm/README.md b/examples/cosmwasm/README.md new file mode 100644 index 000000000..340852813 --- /dev/null +++ b/examples/cosmwasm/README.md @@ -0,0 +1,76 @@ +This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). + +## Getting Started + +First, install the packages and run the development server: + +```bash +yarn && yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +## Learn More + +### Chain Registry + +The npm package for the Official Cosmos chain registry. Get chain and token data for you application. + +* https://github.com/cosmology-tech/chain-registry + +### Cosmology Videos + +Checkout more videos for how to use various frontend tooling in the Cosmos! + +* https://cosmology.tech/learn + +### Cosmos Kit + +A wallet connector for the Cosmos ⚛️ + +* https://github.com/cosmology-tech/cosmos-kit + +### Telescope + +A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. + +* https://github.com/osmosis-labs/telescope + +🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! + +### CosmWasm TS Codegen + +The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. + +* https://github.com/CosmWasm/ts-codegen + +🎥 [Checkout the CosmWasm/ts-codegne video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! + + +## Learn More about Next.js + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. + +## Credits + +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) + +Code built with the help of these related projects: + +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes +* [@osmonauts/telescope](https://github.com/osmosis-labs/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Cosmos chain registry and chain info. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos. diff --git a/examples/cosmwasm/codegen/HackCw20.client.ts b/examples/cosmwasm/codegen/HackCw20.client.ts new file mode 100644 index 000000000..42d3f5662 --- /dev/null +++ b/examples/cosmwasm/codegen/HackCw20.client.ts @@ -0,0 +1,690 @@ +/** + * This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run the @cosmwasm/ts-codegen generate command to regenerate this file. + */ + +import { + CosmWasmClient, + SigningCosmWasmClient, + ExecuteResult +} from '@cosmjs/cosmwasm-stargate'; +import { Coin, StdFee } from '@cosmjs/amino'; +import { + Uint128, + Logo, + EmbeddedLogo, + Binary, + InstantiateMsg, + Cw20Coin, + InstantiateMarketingInfo, + MinterResponse, + ExecuteMsg, + Expiration, + Timestamp, + Uint64, + QueryMsg, + AllAccountsResponse, + AllAllowancesResponse, + AllowanceInfo, + AllSpenderAllowancesResponse, + SpenderAllowanceInfo, + AllowanceResponse, + BalanceResponse, + DownloadLogoResponse, + LogoInfo, + Addr, + MarketingInfoResponse, + TokenInfoResponse +} from './HackCw20.types'; +export interface HackCw20ReadOnlyInterface { + contractAddress: string; + balance: ({ address }: { address: string }) => Promise; + tokenInfo: () => Promise; + minter: () => Promise; + allowance: ({ + owner, + spender + }: { + owner: string; + spender: string; + }) => Promise; + allAllowances: ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }) => Promise; + allSpenderAllowances: ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }) => Promise; + allAccounts: ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }) => Promise; + marketingInfo: () => Promise; + downloadLogo: () => Promise; +} +export class HackCw20QueryClient implements HackCw20ReadOnlyInterface { + client: CosmWasmClient; + contractAddress: string; + + constructor(client: CosmWasmClient, contractAddress: string) { + this.client = client; + this.contractAddress = contractAddress; + this.balance = this.balance.bind(this); + this.tokenInfo = this.tokenInfo.bind(this); + this.minter = this.minter.bind(this); + this.allowance = this.allowance.bind(this); + this.allAllowances = this.allAllowances.bind(this); + this.allSpenderAllowances = this.allSpenderAllowances.bind(this); + this.allAccounts = this.allAccounts.bind(this); + this.marketingInfo = this.marketingInfo.bind(this); + this.downloadLogo = this.downloadLogo.bind(this); + } + + balance = async ({ + address + }: { + address: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + balance: { + address + } + }); + }; + tokenInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token_info: {} + }); + }; + minter = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + minter: {} + }); + }; + allowance = async ({ + owner, + spender + }: { + owner: string; + spender: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + allowance: { + owner, + spender + } + }); + }; + allAllowances = async ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_allowances: { + limit, + owner, + start_after: startAfter + } + }); + }; + allSpenderAllowances = async ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_spender_allowances: { + limit, + spender, + start_after: startAfter + } + }); + }; + allAccounts = async ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_accounts: { + limit, + start_after: startAfter + } + }); + }; + marketingInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + marketing_info: {} + }); + }; + downloadLogo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + download_logo: {} + }); + }; +} +export interface HackCw20Interface extends HackCw20ReadOnlyInterface { + contractAddress: string; + sender: string; + transfer: ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + burn: ( + { + amount + }: { + amount: Uint128; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + send: ( + { + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + increaseAllowance: ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + decreaseAllowance: ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + transferFrom: ( + { + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + sendFrom: ( + { + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + burnFrom: ( + { + amount, + owner + }: { + amount: Uint128; + owner: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + mint: ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + updateMinter: ( + { + newMinter + }: { + newMinter?: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + updateMarketing: ( + { + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; + uploadLogo: ( + fee?: number | StdFee | 'auto', + memo?: string, + funds?: Coin[] + ) => Promise; +} +export class HackCw20Client + extends HackCw20QueryClient + implements HackCw20Interface { + client: SigningCosmWasmClient; + sender: string; + contractAddress: string; + + constructor( + client: SigningCosmWasmClient, + sender: string, + contractAddress: string + ) { + super(client, contractAddress); + this.client = client; + this.sender = sender; + this.contractAddress = contractAddress; + this.transfer = this.transfer.bind(this); + this.burn = this.burn.bind(this); + this.send = this.send.bind(this); + this.increaseAllowance = this.increaseAllowance.bind(this); + this.decreaseAllowance = this.decreaseAllowance.bind(this); + this.transferFrom = this.transferFrom.bind(this); + this.sendFrom = this.sendFrom.bind(this); + this.burnFrom = this.burnFrom.bind(this); + this.mint = this.mint.bind(this); + this.updateMinter = this.updateMinter.bind(this); + this.updateMarketing = this.updateMarketing.bind(this); + this.uploadLogo = this.uploadLogo.bind(this); + } + + transfer = async ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + transfer: { + amount, + recipient + } + }, + fee, + memo, + funds + ); + }; + burn = async ( + { + amount + }: { + amount: Uint128; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + burn: { + amount + } + }, + fee, + memo, + funds + ); + }; + send = async ( + { + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + send: { + amount, + contract, + msg + } + }, + fee, + memo, + funds + ); + }; + increaseAllowance = async ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + increase_allowance: { + amount, + expires, + spender + } + }, + fee, + memo, + funds + ); + }; + decreaseAllowance = async ( + { + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + decrease_allowance: { + amount, + expires, + spender + } + }, + fee, + memo, + funds + ); + }; + transferFrom = async ( + { + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + transfer_from: { + amount, + owner, + recipient + } + }, + fee, + memo, + funds + ); + }; + sendFrom = async ( + { + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + send_from: { + amount, + contract, + msg, + owner + } + }, + fee, + memo, + funds + ); + }; + burnFrom = async ( + { + amount, + owner + }: { + amount: Uint128; + owner: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + burn_from: { + amount, + owner + } + }, + fee, + memo, + funds + ); + }; + mint = async ( + { + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + mint: { + amount, + recipient + } + }, + fee, + memo, + funds + ); + }; + updateMinter = async ( + { + newMinter + }: { + newMinter?: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + update_minter: { + new_minter: newMinter + } + }, + fee, + memo, + funds + ); + }; + updateMarketing = async ( + { + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + update_marketing: { + description, + marketing, + project + } + }, + fee, + memo, + funds + ); + }; + uploadLogo = async ( + fee: number | StdFee | 'auto' = 'auto', + memo?: string, + funds?: Coin[] + ): Promise => { + return await this.client.execute( + this.sender, + this.contractAddress, + { + upload_logo: {} + }, + fee, + memo, + funds + ); + }; +} diff --git a/examples/cosmwasm/codegen/HackCw20.types.ts b/examples/cosmwasm/codegen/HackCw20.types.ts new file mode 100644 index 000000000..478282641 --- /dev/null +++ b/examples/cosmwasm/codegen/HackCw20.types.ts @@ -0,0 +1,198 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +export type Uint128 = string; +export type Logo = { + url: string; +} | { + embedded: EmbeddedLogo; +}; +export type EmbeddedLogo = { + svg: Binary; +} | { + png: Binary; +}; +export type Binary = string; +export interface InstantiateMsg { + decimals: number; + initial_balances: Cw20Coin[]; + marketing?: InstantiateMarketingInfo | null; + mint?: MinterResponse | null; + name: string; + symbol: string; +} +export interface Cw20Coin { + address: string; + amount: Uint128; +} +export interface InstantiateMarketingInfo { + description?: string | null; + logo?: Logo | null; + marketing?: string | null; + project?: string | null; +} +export interface MinterResponse { + cap?: Uint128 | null; + minter: string; +} +export type ExecuteMsg = { + transfer: { + amount: Uint128; + recipient: string; + }; +} | { + burn: { + amount: Uint128; + }; +} | { + send: { + amount: Uint128; + contract: string; + msg: Binary; + }; +} | { + increase_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + decrease_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + transfer_from: { + amount: Uint128; + owner: string; + recipient: string; + }; +} | { + send_from: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }; +} | { + burn_from: { + amount: Uint128; + owner: string; + }; +} | { + mint: { + amount: Uint128; + recipient: string; + }; +} | { + update_minter: { + new_minter?: string | null; + }; +} | { + update_marketing: { + description?: string | null; + marketing?: string | null; + project?: string | null; + }; +} | { + upload_logo: Logo; +}; +export type Expiration = { + at_height: number; +} | { + at_time: Timestamp; +} | { + never: {}; +}; +export type Timestamp = Uint64; +export type Uint64 = string; +export type QueryMsg = { + balance: { + address: string; + }; +} | { + token_info: {}; +} | { + minter: {}; +} | { + allowance: { + owner: string; + spender: string; + }; +} | { + all_allowances: { + limit?: number | null; + owner: string; + start_after?: string | null; + }; +} | { + all_spender_allowances: { + limit?: number | null; + spender: string; + start_after?: string | null; + }; +} | { + all_accounts: { + limit?: number | null; + start_after?: string | null; + }; +} | { + marketing_info: {}; +} | { + download_logo: {}; +}; +export interface AllAccountsResponse { + accounts: string[]; + [k: string]: unknown; +} +export interface AllAllowancesResponse { + allowances: AllowanceInfo[]; + [k: string]: unknown; +} +export interface AllowanceInfo { + allowance: Uint128; + expires: Expiration; + spender: string; +} +export interface AllSpenderAllowancesResponse { + allowances: SpenderAllowanceInfo[]; + [k: string]: unknown; +} +export interface SpenderAllowanceInfo { + allowance: Uint128; + expires: Expiration; + owner: string; +} +export interface AllowanceResponse { + allowance: Uint128; + expires: Expiration; + [k: string]: unknown; +} +export interface BalanceResponse { + balance: Uint128; +} +export interface DownloadLogoResponse { + data: Binary; + mime_type: string; +} +export type LogoInfo = "embedded" | { + url: string; +}; +export type Addr = string; +export interface MarketingInfoResponse { + description?: string | null; + logo?: LogoInfo | null; + marketing?: Addr | null; + project?: string | null; + [k: string]: unknown; +} +export interface TokenInfoResponse { + decimals: number; + name: string; + symbol: string; + total_supply: Uint128; +} \ No newline at end of file diff --git a/examples/cosmwasm/codegen/HackCw20QueryClient.client.ts b/examples/cosmwasm/codegen/HackCw20QueryClient.client.ts new file mode 100644 index 000000000..81517d087 --- /dev/null +++ b/examples/cosmwasm/codegen/HackCw20QueryClient.client.ts @@ -0,0 +1,456 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; +import { Coin, StdFee } from "@cosmjs/amino"; +import { Uint128, Logo, EmbeddedLogo, Binary, InstantiateMsg, Cw20Coin, InstantiateMarketingInfo, MinterResponse, ExecuteMsg, Expiration, Timestamp, Uint64, QueryMsg, AllAccountsResponse, AllAllowancesResponse, AllowanceInfo, AllSpenderAllowancesResponse, SpenderAllowanceInfo, AllowanceResponse, BalanceResponse, DownloadLogoResponse, LogoInfo, Addr, MarketingInfoResponse, TokenInfoResponse } from "./HackCw20QueryClient.types"; +export interface HackCw20QueryClientReadOnlyInterface { + contractAddress: string; + balance: ({ + address + }: { + address: string; + }) => Promise; + tokenInfo: () => Promise; + minter: () => Promise; + allowance: ({ + owner, + spender + }: { + owner: string; + spender: string; + }) => Promise; + allAllowances: ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }) => Promise; + allSpenderAllowances: ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }) => Promise; + allAccounts: ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }) => Promise; + marketingInfo: () => Promise; + downloadLogo: () => Promise; +} +export class HackCw20QueryClientQueryClient implements HackCw20QueryClientReadOnlyInterface { + client: CosmWasmClient; + contractAddress: string; + + constructor(client: CosmWasmClient, contractAddress: string) { + this.client = client; + this.contractAddress = contractAddress; + this.balance = this.balance.bind(this); + this.tokenInfo = this.tokenInfo.bind(this); + this.minter = this.minter.bind(this); + this.allowance = this.allowance.bind(this); + this.allAllowances = this.allAllowances.bind(this); + this.allSpenderAllowances = this.allSpenderAllowances.bind(this); + this.allAccounts = this.allAccounts.bind(this); + this.marketingInfo = this.marketingInfo.bind(this); + this.downloadLogo = this.downloadLogo.bind(this); + } + + balance = async ({ + address + }: { + address: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + balance: { + address + } + }); + }; + tokenInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + token_info: {} + }); + }; + minter = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + minter: {} + }); + }; + allowance = async ({ + owner, + spender + }: { + owner: string; + spender: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + allowance: { + owner, + spender + } + }); + }; + allAllowances = async ({ + limit, + owner, + startAfter + }: { + limit?: number; + owner: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_allowances: { + limit, + owner, + start_after: startAfter + } + }); + }; + allSpenderAllowances = async ({ + limit, + spender, + startAfter + }: { + limit?: number; + spender: string; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_spender_allowances: { + limit, + spender, + start_after: startAfter + } + }); + }; + allAccounts = async ({ + limit, + startAfter + }: { + limit?: number; + startAfter?: string; + }): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + all_accounts: { + limit, + start_after: startAfter + } + }); + }; + marketingInfo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + marketing_info: {} + }); + }; + downloadLogo = async (): Promise => { + return this.client.queryContractSmart(this.contractAddress, { + download_logo: {} + }); + }; +} +export interface HackCw20QueryClientInterface extends HackCw20QueryClientReadOnlyInterface { + contractAddress: string; + sender: string; + transfer: ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + burn: ({ + amount + }: { + amount: Uint128; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + send: ({ + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + increaseAllowance: ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + decreaseAllowance: ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + transferFrom: ({ + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + sendFrom: ({ + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + burnFrom: ({ + amount, + owner + }: { + amount: Uint128; + owner: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + mint: ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + updateMinter: ({ + newMinter + }: { + newMinter?: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + updateMarketing: ({ + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; + uploadLogo: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; +} +export class HackCw20QueryClientClient extends HackCw20QueryClientQueryClient implements HackCw20QueryClientInterface { + client: SigningCosmWasmClient; + sender: string; + contractAddress: string; + + constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { + super(client, contractAddress); + this.client = client; + this.sender = sender; + this.contractAddress = contractAddress; + this.transfer = this.transfer.bind(this); + this.burn = this.burn.bind(this); + this.send = this.send.bind(this); + this.increaseAllowance = this.increaseAllowance.bind(this); + this.decreaseAllowance = this.decreaseAllowance.bind(this); + this.transferFrom = this.transferFrom.bind(this); + this.sendFrom = this.sendFrom.bind(this); + this.burnFrom = this.burnFrom.bind(this); + this.mint = this.mint.bind(this); + this.updateMinter = this.updateMinter.bind(this); + this.updateMarketing = this.updateMarketing.bind(this); + this.uploadLogo = this.uploadLogo.bind(this); + } + + transfer = async ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + transfer: { + amount, + recipient + } + }, fee, memo, funds); + }; + burn = async ({ + amount + }: { + amount: Uint128; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + burn: { + amount + } + }, fee, memo, funds); + }; + send = async ({ + amount, + contract, + msg + }: { + amount: Uint128; + contract: string; + msg: Binary; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + send: { + amount, + contract, + msg + } + }, fee, memo, funds); + }; + increaseAllowance = async ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + increase_allowance: { + amount, + expires, + spender + } + }, fee, memo, funds); + }; + decreaseAllowance = async ({ + amount, + expires, + spender + }: { + amount: Uint128; + expires?: Expiration; + spender: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + decrease_allowance: { + amount, + expires, + spender + } + }, fee, memo, funds); + }; + transferFrom = async ({ + amount, + owner, + recipient + }: { + amount: Uint128; + owner: string; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + transfer_from: { + amount, + owner, + recipient + } + }, fee, memo, funds); + }; + sendFrom = async ({ + amount, + contract, + msg, + owner + }: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + send_from: { + amount, + contract, + msg, + owner + } + }, fee, memo, funds); + }; + burnFrom = async ({ + amount, + owner + }: { + amount: Uint128; + owner: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + burn_from: { + amount, + owner + } + }, fee, memo, funds); + }; + mint = async ({ + amount, + recipient + }: { + amount: Uint128; + recipient: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + mint: { + amount, + recipient + } + }, fee, memo, funds); + }; + updateMinter = async ({ + newMinter + }: { + newMinter?: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + update_minter: { + new_minter: newMinter + } + }, fee, memo, funds); + }; + updateMarketing = async ({ + description, + marketing, + project + }: { + description?: string; + marketing?: string; + project?: string; + }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + update_marketing: { + description, + marketing, + project + } + }, fee, memo, funds); + }; + uploadLogo = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { + return await this.client.execute(this.sender, this.contractAddress, { + upload_logo: {} + }, fee, memo, funds); + }; +} \ No newline at end of file diff --git a/examples/cosmwasm/codegen/HackCw20QueryClient.types.ts b/examples/cosmwasm/codegen/HackCw20QueryClient.types.ts new file mode 100644 index 000000000..478282641 --- /dev/null +++ b/examples/cosmwasm/codegen/HackCw20QueryClient.types.ts @@ -0,0 +1,198 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +export type Uint128 = string; +export type Logo = { + url: string; +} | { + embedded: EmbeddedLogo; +}; +export type EmbeddedLogo = { + svg: Binary; +} | { + png: Binary; +}; +export type Binary = string; +export interface InstantiateMsg { + decimals: number; + initial_balances: Cw20Coin[]; + marketing?: InstantiateMarketingInfo | null; + mint?: MinterResponse | null; + name: string; + symbol: string; +} +export interface Cw20Coin { + address: string; + amount: Uint128; +} +export interface InstantiateMarketingInfo { + description?: string | null; + logo?: Logo | null; + marketing?: string | null; + project?: string | null; +} +export interface MinterResponse { + cap?: Uint128 | null; + minter: string; +} +export type ExecuteMsg = { + transfer: { + amount: Uint128; + recipient: string; + }; +} | { + burn: { + amount: Uint128; + }; +} | { + send: { + amount: Uint128; + contract: string; + msg: Binary; + }; +} | { + increase_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + decrease_allowance: { + amount: Uint128; + expires?: Expiration | null; + spender: string; + }; +} | { + transfer_from: { + amount: Uint128; + owner: string; + recipient: string; + }; +} | { + send_from: { + amount: Uint128; + contract: string; + msg: Binary; + owner: string; + }; +} | { + burn_from: { + amount: Uint128; + owner: string; + }; +} | { + mint: { + amount: Uint128; + recipient: string; + }; +} | { + update_minter: { + new_minter?: string | null; + }; +} | { + update_marketing: { + description?: string | null; + marketing?: string | null; + project?: string | null; + }; +} | { + upload_logo: Logo; +}; +export type Expiration = { + at_height: number; +} | { + at_time: Timestamp; +} | { + never: {}; +}; +export type Timestamp = Uint64; +export type Uint64 = string; +export type QueryMsg = { + balance: { + address: string; + }; +} | { + token_info: {}; +} | { + minter: {}; +} | { + allowance: { + owner: string; + spender: string; + }; +} | { + all_allowances: { + limit?: number | null; + owner: string; + start_after?: string | null; + }; +} | { + all_spender_allowances: { + limit?: number | null; + spender: string; + start_after?: string | null; + }; +} | { + all_accounts: { + limit?: number | null; + start_after?: string | null; + }; +} | { + marketing_info: {}; +} | { + download_logo: {}; +}; +export interface AllAccountsResponse { + accounts: string[]; + [k: string]: unknown; +} +export interface AllAllowancesResponse { + allowances: AllowanceInfo[]; + [k: string]: unknown; +} +export interface AllowanceInfo { + allowance: Uint128; + expires: Expiration; + spender: string; +} +export interface AllSpenderAllowancesResponse { + allowances: SpenderAllowanceInfo[]; + [k: string]: unknown; +} +export interface SpenderAllowanceInfo { + allowance: Uint128; + expires: Expiration; + owner: string; +} +export interface AllowanceResponse { + allowance: Uint128; + expires: Expiration; + [k: string]: unknown; +} +export interface BalanceResponse { + balance: Uint128; +} +export interface DownloadLogoResponse { + data: Binary; + mime_type: string; +} +export type LogoInfo = "embedded" | { + url: string; +}; +export type Addr = string; +export interface MarketingInfoResponse { + description?: string | null; + logo?: LogoInfo | null; + marketing?: Addr | null; + project?: string | null; + [k: string]: unknown; +} +export interface TokenInfoResponse { + decimals: number; + name: string; + symbol: string; + total_supply: Uint128; +} \ No newline at end of file diff --git a/examples/cosmwasm/codegen/index.ts b/examples/cosmwasm/codegen/index.ts new file mode 100644 index 000000000..0272f8876 --- /dev/null +++ b/examples/cosmwasm/codegen/index.ts @@ -0,0 +1,13 @@ +/** +* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. +* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, +* and run the @cosmwasm/ts-codegen generate command to regenerate this file. +*/ + +import * as _0 from "./HackCw20.types"; +import * as _1 from "./HackCw20.client"; +export namespace contracts { + export const HackCw20 = { ..._0, + ..._1 + }; +} \ No newline at end of file diff --git a/examples/cosmwasm/components/features.tsx b/examples/cosmwasm/components/features.tsx new file mode 100644 index 000000000..8dfa74e06 --- /dev/null +++ b/examples/cosmwasm/components/features.tsx @@ -0,0 +1,79 @@ +import { LinkIcon } from "@chakra-ui/icons"; +import { + Box, + Heading, + Icon, + Link, + Stack, + Text, + useColorModeValue, +} from "@chakra-ui/react"; +import { FeatureProps } from "./types"; + +export const Product = ({ title, text, href }: FeatureProps) => { + return ( + + + {title} → + {text} + + + ); +}; + +export const Dependency = ({ title, text, href }: FeatureProps) => { + return ( + + + + + + + + {title} + + + {text} + + + + + ); +}; diff --git a/examples/cosmwasm/components/index.tsx b/examples/cosmwasm/components/index.tsx new file mode 100644 index 000000000..4d86fd53c --- /dev/null +++ b/examples/cosmwasm/components/index.tsx @@ -0,0 +1,4 @@ +export * from './types'; +export * from './react'; +export * from './features'; +export * from './wallet'; diff --git a/examples/cosmwasm/components/react/address-card.tsx b/examples/cosmwasm/components/react/address-card.tsx new file mode 100644 index 000000000..96ff2cd27 --- /dev/null +++ b/examples/cosmwasm/components/react/address-card.tsx @@ -0,0 +1,78 @@ +import React, { ReactNode } from 'react'; +import { + Text, + useColorModeValue, + Button, + Icon, + useClipboard +} from '@chakra-ui/react'; +import { FaRegCopy } from 'react-icons/fa'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectedShowAddress = ({ + address, + isLoading +}: { + address?: string; + isLoading: boolean; +}) => { + const { hasCopied, onCopy } = useClipboard(address ? address : ''); + + return ( + + ); +}; + +export const CopyAddressBtn = ({ + walletStatus, + connected +}: { + walletStatus: WalletStatus; + connected: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Connected: + return <>{connected}; + default: + return <>; + } +}; diff --git a/examples/cosmwasm/components/react/astronaut.tsx b/examples/cosmwasm/components/react/astronaut.tsx new file mode 100644 index 000000000..572884aa7 --- /dev/null +++ b/examples/cosmwasm/components/react/astronaut.tsx @@ -0,0 +1,304 @@ +export const Astronaut = (props: any) => ( + + {'cosmology-astronaut'} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); diff --git a/examples/cosmwasm/components/react/chain-card.tsx b/examples/cosmwasm/components/react/chain-card.tsx new file mode 100644 index 000000000..e8d56a0ea --- /dev/null +++ b/examples/cosmwasm/components/react/chain-card.tsx @@ -0,0 +1,39 @@ +import { Box, Stack, useColorModeValue, Image, Text } from '@chakra-ui/react'; +import { ChainCardProps } from '../types'; + +export const ChainCard = (props: ChainCardProps) => { + return ( + + + + + + {props.prettyName} + + + ); +}; diff --git a/examples/cosmwasm/components/react/hackcw20.tsx b/examples/cosmwasm/components/react/hackcw20.tsx new file mode 100644 index 000000000..b99f8663d --- /dev/null +++ b/examples/cosmwasm/components/react/hackcw20.tsx @@ -0,0 +1,77 @@ +import React from "react"; +import { Box, Heading, Stack, Text, useColorMode } from "@chakra-ui/react"; +import { handleChangeColorModeValue } from "./handleChangeColor"; + +type SendTokensCardType = { + balance?: string; + isConnectWallet: boolean; +}; + +export const HackCw20 = ({ balance, isConnectWallet }: SendTokensCardType) => { + const { colorMode } = useColorMode(); + + if (!isConnectWallet) { + return ( + + + Please Connect Your Wallet! + + + ); + } + + return ( + + + + Balance:  + + {balance} + + + + + ); +}; diff --git a/examples/cosmwasm/components/react/handleChangeColor.tsx b/examples/cosmwasm/components/react/handleChangeColor.tsx new file mode 100644 index 000000000..c1f46bc5d --- /dev/null +++ b/examples/cosmwasm/components/react/handleChangeColor.tsx @@ -0,0 +1,9 @@ +// use for let color mode value fit Rules of Hooks +export function handleChangeColorModeValue( + colorMode: string, + light: any, + dark: any +) { + if (colorMode === "light") return light; + if (colorMode === "dark") return dark; +} diff --git a/examples/cosmwasm/components/react/index.ts b/examples/cosmwasm/components/react/index.ts new file mode 100644 index 000000000..31f5ad860 --- /dev/null +++ b/examples/cosmwasm/components/react/index.ts @@ -0,0 +1,8 @@ +export * from "./astronaut"; +export * from "./wallet-connect"; +export * from "./warn-block"; +export * from "./user-card"; +export * from "./address-card"; +export * from "./chain-card"; +export * from "./hackcw20"; +export * from "./handleChangeColor"; diff --git a/examples/cosmwasm/components/react/user-card.tsx b/examples/cosmwasm/components/react/user-card.tsx new file mode 100644 index 000000000..13c8bd75a --- /dev/null +++ b/examples/cosmwasm/components/react/user-card.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import { Text, Stack, Box } from '@chakra-ui/react'; +import { ConnectedUserCardType } from '../types'; + +export const ConnectedUserInfo = ({ + username, + icon +}: ConnectedUserCardType) => { + return ( + + {username && ( + <> + + {icon} + + + {username} + + + )} + + ); +}; diff --git a/examples/cosmwasm/components/react/wallet-connect.tsx b/examples/cosmwasm/components/react/wallet-connect.tsx new file mode 100644 index 000000000..683e92374 --- /dev/null +++ b/examples/cosmwasm/components/react/wallet-connect.tsx @@ -0,0 +1,201 @@ +import React, { MouseEventHandler, ReactNode } from 'react'; +import { Button, Icon, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { IoWallet } from 'react-icons/io5'; +import { ConnectWalletType } from '../types'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const ConnectWalletButton = ({ + buttonText, + isLoading, + isDisabled, + icon, + onClickConnectBtn +}: ConnectWalletType) => { + return ( + + ); +}; + +export const Disconnected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connected = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const Connecting = () => { + return ; +}; + +export const Rejected = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const Error = ({ + buttonText, + wordOfWarning, + onClick +}: { + buttonText: string; + wordOfWarning?: string; + onClick: MouseEventHandler; +}) => { + const bg = useColorModeValue('orange.200', 'orange.300'); + + return ( + + + {wordOfWarning && ( + + + + + Warning:  + + {wordOfWarning} + + + )} + + ); +}; + +export const NotExist = ({ + buttonText, + onClick +}: { + buttonText: string; + onClick: MouseEventHandler; +}) => { + return ( + + ); +}; + +export const WalletConnectComponent = ({ + walletStatus, + disconnect, + connecting, + connected, + rejected, + error, + notExist +}: { + walletStatus: WalletStatus; + disconnect: ReactNode; + connecting: ReactNode; + connected: ReactNode; + rejected: ReactNode; + error: ReactNode; + notExist: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Disconnected: + return <>{disconnect}; + case WalletStatus.Connecting: + return <>{connecting}; + case WalletStatus.Connected: + return <>{connected}; + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + case WalletStatus.NotExist: + return <>{notExist}; + default: + return <>{disconnect}; + } +}; diff --git a/examples/cosmwasm/components/react/warn-block.tsx b/examples/cosmwasm/components/react/warn-block.tsx new file mode 100644 index 000000000..6a03adb03 --- /dev/null +++ b/examples/cosmwasm/components/react/warn-block.tsx @@ -0,0 +1,90 @@ +import React, { ReactNode } from 'react'; +import { Box, Stack, Text, useColorModeValue } from '@chakra-ui/react'; +import { WalletStatus } from '@cosmos-kit/core'; + +export const WarnBlock = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ( + + + + {icon} + + {wordOfWarning} + + + ); +}; + +export const RejectedWarn = ({ + wordOfWarning, + icon +}: { + wordOfWarning?: string; + icon?: ReactNode; +}) => { + return ; +}; + +export const ConnectStatusWarn = ({ + walletStatus, + rejected, + error +}: { + walletStatus: WalletStatus; + rejected: ReactNode; + error: ReactNode; +}) => { + switch (walletStatus) { + case WalletStatus.Rejected: + return <>{rejected}; + case WalletStatus.Error: + return <>{error}; + default: + return <>; + } +}; diff --git a/examples/cosmwasm/components/types.tsx b/examples/cosmwasm/components/types.tsx new file mode 100644 index 000000000..5f9133656 --- /dev/null +++ b/examples/cosmwasm/components/types.tsx @@ -0,0 +1,44 @@ +import { MouseEventHandler, ReactNode } from 'react'; +import { IconType } from 'react-icons'; + +export interface ChooseChainInfo { + chainName: string; + chainRoute?: string; + label: string; + value: string; + icon?: string; + disabled?: boolean; +} + +export enum WalletStatus { + NotInit = 'NotInit', + Loading = 'Loading', + Loaded = 'Loaded', + NotExist = 'NotExist', + Rejected = 'Rejected' +} + +export interface ConnectWalletType { + buttonText?: string; + isLoading?: boolean; + isDisabled?: boolean; + icon?: IconType; + onClickConnectBtn?: MouseEventHandler; +} + +export interface ConnectedUserCardType { + walletIcon?: string; + username?: string; + icon?: ReactNode; +} + +export interface FeatureProps { + title: string; + text: string; + href: string; +} + +export interface ChainCardProps { + prettyName: string; + icon?: string; +} diff --git a/examples/cosmwasm/components/wallet.tsx b/examples/cosmwasm/components/wallet.tsx new file mode 100644 index 000000000..c1ada72ee --- /dev/null +++ b/examples/cosmwasm/components/wallet.tsx @@ -0,0 +1,161 @@ +import { useWallet } from '@cosmos-kit/react'; +import { + Box, + Center, + Grid, + GridItem, + Icon, + Stack, + useColorModeValue, + Text +} from '@chakra-ui/react'; +import { MouseEventHandler, useEffect } from 'react'; +import { FiAlertTriangle } from 'react-icons/fi'; +import { + Astronaut, + Error, + Connected, + ConnectedShowAddress, + ConnectedUserInfo, + Connecting, + ConnectStatusWarn, + CopyAddressBtn, + Disconnected, + NotExist, + Rejected, + RejectedWarn, + WalletConnectComponent, + ChainCard +} from '../components'; +import { chainName } from '../config'; + + +export const WalletSection = () => { + const walletManager = useWallet(); + const { + connect, + openView, + walletStatus, + username, + address, + message, + currentChainName, + currentWallet, + currentChainRecord, + getChainLogo, + setCurrentChain + } = walletManager; + + useEffect(() => { + setCurrentChain(chainName); + }, [setCurrentChain]); + + const chain = { + chainName: currentChainName, + label: currentChainRecord?.chain.pretty_name, + value: currentChainName, + icon: getChainLogo(currentChainName) + } + + // Events + const onClickConnect: MouseEventHandler = async (e) => { + e.preventDefault(); + await connect(); + }; + + const onClickOpenView: MouseEventHandler = (e) => { + e.preventDefault(); + openView(); + }; + + // Components + const connectWalletButton = ( + + } + connecting={} + connected={ + + } + rejected={} + error={} + notExist={ + + } + /> + ); + + const connectWalletWarn = ( + } + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} + /> + } + error={ + } + wordOfWarning={`${currentWallet?.walletInfo.prettyName}: ${message}`} + /> + } + /> + ); + + const userInfo = ( + } /> + ); + const addressBtn = currentChainName && ( + } + /> + ); + + return ( +
+ + {currentChainName && ( + + + + )} + + + {userInfo} + {addressBtn} + + {connectWalletButton} + + {connectWalletWarn} + + + +
+ ); +}; diff --git a/examples/cosmwasm/config/defaults.ts b/examples/cosmwasm/config/defaults.ts new file mode 100644 index 000000000..5debdeba0 --- /dev/null +++ b/examples/cosmwasm/config/defaults.ts @@ -0,0 +1,16 @@ +import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; + +export const chainName = 'cosmwasmtestnet'; +export const stakingDenom = 'umlg'; +export const feeDenom = 'uand'; + +export const cw20ContractAddress = 'wasm1p7vmrhl3s0fyl0m9hk2hlm7uuxq84hztur63n8ryh85chh30vt6q89shcv' + +export const chainassets: AssetList = assets.find( + (chain) => chain.chain_name === chainName +) as AssetList; + +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === stakingDenom +) as Asset; diff --git a/examples/cosmwasm/config/features.ts b/examples/cosmwasm/config/features.ts new file mode 100644 index 000000000..f4e62ff4e --- /dev/null +++ b/examples/cosmwasm/config/features.ts @@ -0,0 +1,47 @@ +import { FeatureProps } from '../components'; + +export const products: FeatureProps[] = [ + { + title: 'CosmosKit', + text: 'A wallet adapter for react with mobile WalletConnect support for the Cosmos ecosystem.', + href: 'https://github.com/cosmology-tech/cosmos-kit' + }, + { + title: 'Telescope', + text: 'A TypeScript Transpiler for Cosmos Protobufs to generate libraries for Cosmos blockchains.', + href: 'https://github.com/osmosis-labs/telescope' + }, + { + title: 'TS Codegen', + text: 'The quickest and easiest way to convert CosmWasm Contracts into dev-friendly TypeScript classes.', + href: 'https://github.com/CosmWasm/ts-codegen' + }, + { + title: 'CosmWasm Academy', + text: 'Master CosmWasm and build your secure, multi-chain dApp on any CosmWasm chain!', + href: 'https://academy.cosmwasm.com/' + }, + { + title: 'Chain Registry', + text: 'Get chain and asset list information from the npm package for the Official Cosmos chain registry.', + href: 'https://github.com/cosmology-tech/chain-registry' + }, + { + title: 'Videos', + text: 'How-to videos from the official Cosmology website, with learning resources for building in Cosmos.', + href: 'https://cosmology.tech/learn' + } +]; + +export const dependencies: FeatureProps[] = [ + { + title: 'Chakra UI', + text: 'A simple, modular and accessible React Component Library.', + href: 'https://chakra-ui.com/docs/components/' + }, + { + title: 'Next.js', + text: 'A React Framework supports hybrid static & server rendering.', + href: 'https://nextjs.org/' + } +]; diff --git a/examples/cosmwasm/config/index.ts b/examples/cosmwasm/config/index.ts new file mode 100644 index 000000000..2c416ce6f --- /dev/null +++ b/examples/cosmwasm/config/index.ts @@ -0,0 +1,3 @@ +export * from './theme'; +export * from './features'; +export * from './defaults'; diff --git a/examples/cosmwasm/config/theme.ts b/examples/cosmwasm/config/theme.ts new file mode 100644 index 000000000..aa5614194 --- /dev/null +++ b/examples/cosmwasm/config/theme.ts @@ -0,0 +1,34 @@ +import { extendTheme } from '@chakra-ui/react'; + +export const defaultThemeObject = { + fonts: { + body: 'Inter, system-ui, sans-serif', + heading: 'Work Sans, system-ui, sans-serif' + }, + colors: { + primary: { + '50': '#e5e7f9', + '100': '#bec4ef', + '200': '#929ce4', + '300': '#6674d9', + '400': '#4657d1', + '500': '#2539c9', + '600': '#2133c3', + '700': '#1b2cbc', + '800': '#1624b5', + '900': '#0d17a9' + } + }, + breakPoints: { + sm: '30em', + md: '48em', + lg: '62em', + xl: '80em', + '2xl': '96em' + }, + shadows: { + largeSoft: 'rgba(60, 64, 67, 0.15) 0px 2px 10px 6px;' + } +}; + +export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/examples/cosmwasm/hooks/use-hack-cw20-balance.ts b/examples/cosmwasm/hooks/use-hack-cw20-balance.ts new file mode 100644 index 000000000..073cad3fd --- /dev/null +++ b/examples/cosmwasm/hooks/use-hack-cw20-balance.ts @@ -0,0 +1,33 @@ +import { useState, useEffect } from "react"; +import { useWallet } from "@cosmos-kit/react"; + +// import cosmwasm client generated with cosmwasm-ts-codegen +import { HackCw20QueryClient } from "../codegen/HackCw20.client"; + +export function useHackCw20Balance(contractAddress: string): { + balance: string | undefined; +} { + const { getCosmWasmClient, address } = useWallet(); + + const [cw20Client, setCw20Client] = useState( + null + ); + useEffect(() => { + getCosmWasmClient().then((cosmwasmClient) => { + if (!cosmwasmClient || !address) { + console.error("cosmwasmClient undefined or address undefined."); + return; + } + + setCw20Client(new HackCw20QueryClient(cosmwasmClient, contractAddress)); + }); + }, [address, contractAddress, getCosmWasmClient]); + const [cw20Bal, setCw20Bal] = useState(null); + useEffect(() => { + if (cw20Client && address) { + cw20Client.balance({ address }).then((b) => setCw20Bal(b.balance)); + } + }, [cw20Client, address]); + + return { balance: cw20Bal ?? undefined }; +} diff --git a/examples/cosmwasm/next.config.js b/examples/cosmwasm/next.config.js new file mode 100644 index 000000000..ae887958d --- /dev/null +++ b/examples/cosmwasm/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + swcMinify: true, +} + +module.exports = nextConfig diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json new file mode 100644 index 000000000..73e2ac0bf --- /dev/null +++ b/examples/cosmwasm/package.json @@ -0,0 +1,42 @@ +{ + "name": "@cosmonauts/cosmwasm", + "version": "1.0.3", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "codegen": "node scripts/codegen.js" + }, + "dependencies": { + "@chain-registry/osmosis": "1.2.0", + "@chain-registry/types": "0.13.0", + "@chakra-ui/icons": "2.0.11", + "@chakra-ui/react": "2.3.5", + "@cosmjs/cosmwasm-stargate": "0.29.2", + "@cosmjs/stargate": "0.29.2", + "@cosmos-kit/core": "0.19.9", + "@cosmos-kit/keplr": "0.19.7", + "@cosmos-kit/react": "0.18.6", + "@emotion/react": "11.10.4", + "@emotion/styled": "11.10.4", + "bignumber.js": "9.1.0", + "chain-registry": "1.2.0", + "framer-motion": "7.3.6", + "next": "12.2.5", + "interchain": "1.0.0", + "react": "18.2.0", + "react-dom": "18.2.0", + "react-icons": "4.4.0" + }, + "devDependencies": { + "@cosmwasm/ts-codegen": "0.19.0", + "@types/node": "18.7.11", + "@types/react": "18.0.17", + "@types/react-dom": "18.0.6", + "eslint": "8.22.0", + "eslint-config-next": "12.2.5", + "typescript": "4.7.4" + } +} \ No newline at end of file diff --git a/examples/cosmwasm/pages/_app.tsx b/examples/cosmwasm/pages/_app.tsx new file mode 100644 index 000000000..c9e87bb59 --- /dev/null +++ b/examples/cosmwasm/pages/_app.tsx @@ -0,0 +1,48 @@ +import '../styles/globals.css'; +import type { AppProps } from 'next/app'; +import { WalletProvider } from '@cosmos-kit/react'; +import { ChakraProvider } from '@chakra-ui/react'; +import { defaultTheme } from '../config'; +import { wallets } from '@cosmos-kit/keplr'; +import { assets, chains } from 'chain-registry'; +import { getSigningCosmosClientOptions } from 'interchain'; +import { GasPrice } from '@cosmjs/stargate'; + +import { SignerOptions } from '@cosmos-kit/core'; +import { Chain } from '@chain-registry/types'; + +function CreateCosmosApp({ Component, pageProps }: AppProps) { + const signerOptions: SignerOptions = { + stargate: (_chain: Chain) => { + return getSigningCosmosClientOptions(); + }, + cosmwasm: (chain: Chain) => { + switch (chain.chain_name) { + case 'cosmwasmtestnet': + return { + gasPrice: GasPrice.fromString('0.0025umlga') + }; + } + } + }; + + return ( + + + + + + ); +} + +export default CreateCosmosApp; diff --git a/examples/cosmwasm/pages/index.tsx b/examples/cosmwasm/pages/index.tsx new file mode 100644 index 000000000..85c241b31 --- /dev/null +++ b/examples/cosmwasm/pages/index.tsx @@ -0,0 +1,139 @@ +import Head from "next/head"; +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; + +import { useWallet } from "@cosmos-kit/react"; +import { WalletStatus } from "@cosmos-kit/core"; + +import { cw20ContractAddress, dependencies, products } from "../config"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, + HackCw20, +} from "../components"; +import { useHackCw20Balance } from "../hooks/use-hack-cw20-balance"; + +const library = { + title: "Interchain", + text: "Interchain", + href: "https://github.com/cosmology-tech/interchain", +}; + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode(); + const { walletStatus } = useWallet(); + const { balance } = useHackCw20Balance(cw20ContractAddress); + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js +{" "} + + {library.title} + + + + + + + + + + + + + + + + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency) => ( + + ))} + + + + + + + Built with + + Cosmology + + + + ); +} diff --git a/examples/cosmwasm/public/favicon.ico b/examples/cosmwasm/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d7b1d76a3208442c141db8fcccb9e1d2769d10af GIT binary patch literal 14037 zcmdUW^{(-$<_Z& z65!6%rTjT?A##4JBu6yf#p??Ilo<$KQItff&Bx-qi6S#B8N=S6jqz zv1RM=?kU=DpxCM{L!~DA3OiBxvAfEpyZ-aQPvzg0AG=z^hbMk74IyUcJN_11w&jBx z*Rb1F&fOJPGhmN*PlgL;ds4@XEn551CWb^dsL2jn8Ecb@S0Q zQF^~ev2v& zm#j~K+7G65X{C$aC;05Mh%`+49Vb6*UuYxJ!(+!0#)TC&&6^)_ORMpL=C~%=kjW*9 zG^jI8xtLL0o&Ek0MTSDX8^7m+kB1*U1n_xI32i7F$T`gCG}QP3clq&OG4@|*_e%bg ziDz5pPTFRS$7^AFn&q;Or+%>(pj}r~u;CoV#&>+cR>c;yziEd;(+6%`=5BYz6!0lz zW0?~b;@Uz(YvOdNVxR+%fE;Y<_*>~v$hxa839veein8a>SX#PLnCt5Db04{zg5pM? zS~9PRo@I)L&Dm}hMA!)ryW$PedNJl5@wWkqML!3qhj9Jl&&T6G-_ut&raJi}i8-@8 zBDAzQeT3TQTM2yM4Zx;*-a$^H3RWD@)OtVgLq9hI5?At=(_Hk`d1_Nb^d6LpUHmR` zbayHTKbP<{sYn?4Bx~$eJCc+Aw=76P>2o}%_gR~IJWVb(sB_`PqA}Fl@r(lLIb(u*0=-^QiYa_b5F&>sNRj_&YxRWoryuoqYOZP;i@GRT zLsiD1salbO-#N;2i}m&S1}@kLNrTs6`1*SmpsCJ;%nb^UaFnO=P$Jd_iabBnKWxjg z#epJ{D#im-eF{%ry$t1jH26+Kq-7(sv>|O|$ac~7P&Zp~FpGl``v>(~I~$v%Kr0J5 zTUAC+-b;FB9mata;VnB3YQ~0J6|Z0P6~ipl>1p-6M2gZEUOY$G+tnHJMerg;r1+OQ z7jW0g8Il7Or+&O$T;}-EhV`@6w+a(Qj#$NykH)Lhf=S<@dU10;1@%Wg=1p%k?LOIz zy@n#|J!8Bxx=Q{$fns<)+(4YLiWQh?aBgu~gIm_ifk}EdH>vqiIz751CLMUw>ugj^ zrKsS_hg*8gdM?MLRQIKw958?T&eS$6Il?g5M&eLC%82jcV~H3z703AxtNm7#_`%Gp zyaO2@Rj_tYc;U>Dt%g}xN_B{kiG>P6vH|DGBH%=0pAb){hA8$qmz6g#<$hcw_#mRN zt(0)g{7qPOfm^MMKX{k2n!B+varYiL@s`5KSEY6)MT)4w(#Y-4a9ILPATBHJ=8<2ckrxOE`g3jx_&K}kgbN^^RNbZ-5v zIH?4RU^Bn-bG6=nq2O%;dd8~#GiqYIxSvL3qZqx7^{nj3Sd9`O`#@czXS?YN=Pskg z*c!jwFHI8K4J)4c+kznKNTS*kJboTV{GfQ^L&GUQ@{X15N9POfA_f6M(YQ90Cc_WK z7Xs!xdD|TgY8&1W(XT{7tb7f}`aF$oEYww!7$=;T;j?KuDDEDF3xlcX&DC4m_9ct~ zlDD?;`|t0{=(HE4YHA;=cEG1yLYk|7lyZx>_R^!R#X!ghlk<-(3sv=unn;-Zi=vik zq|_bdy?Kl0?ui6el-7Oe7=JL*ws$MdOb2qWhv!q0hN(1w6we#?&7A_!d=FQ^fwO$Y zCKUY-M&`H)cGto_rJi?$G~F)Yb3J7XO6F@5gj-Mr|rbpY^DtmS*^Q=-!O*}zvIjCJEr*Dvl;>;kk_V1XDx6u2OEz7m{OND%gdf6&Px7p)}%4ckY04}W>7Jycre)=@OYrfDh>)b4-IKl5(Tf$IKhE8t_%Ndzb&Bj8lw!>!z zS!vmrW-feAib4Xh-tpj3IXiH<9IPU$s`F!7Nx)!5Xnz4ELe|ho4`%OpxSPANe7RFq zsP*>H`2c3%A?yn`@PM5EwfePgO3^lC%eN_M4E~m>V&09w-ZkDL(slWR)ZEW-uo>am z5UORd74i^naIl2or74gdz40U$XLaHlC+c}E-kCDrpB6hbOlss}Q&ngKfZ&HspMqZ7mT}Pv+OcgNab^+T+*`la zw~Bo@0-BB1%Wyx?kXtsqXXhKXiXFq?Gzaj7CzErk7IF&z-LrGFU&R(Ia}$O*z~=e9 zTijB}5&lI_0ozYi^vvI;>E$Xm^s@zfOUt}u_2>sArgeEtbir!Kf5sj+Ba~!K=6cCCSdJ!ib zQ1lEJzmiB(O&SVH;qx{hht4|Ov&FL#l5&#Ia(>qyCe&bT`6}lPiwO?2Nbh~{^cHEu zQAP#hQRFEG_pD~i0k@{fkUT46T%heU=qX^QyWTEy_y7f7-N^j4x|AAUv{ehMO3=mS zh{}I8G{eG~xrZ@yMh4Q43CnGSU*gCSIrmB5feRERY|Z;%0e7!Y0Yt*qQ^Z;v90k$0 z<1B8)-iL-1-T-J-)2-_s=GiO0^k6Sa8&tNSJj5g~$dDS*cvI@1vhCzD$r;#ZTy)yv z-pg5x8ydH``B2qylHCRC7f6&PsUj*Gr85=>^kG>|h6bBIM>=i!k>O@X0Su*;e-w?* zDs~E%J4T-F*4`WFJ9WOZ_;Bk|7)5t_)|2mG9UMp+9q5y+F471}Hpk z+hlH+iNq?c;(IM4Jn1~jJ1j}~B*A;XKgP&Y=dH;=ME~IGyV=h4)rII>_q5aLiBm>Qms@tJ_svUz9ag&(nCk-% zF(nh}f(3F)=hRFR`jQA26tL!x)jfwKe)xnCmb++%ZBg0jS5@^B@iRXJ=$A63|1*)! zov2IVs-!A7V?`W}Dl_r(m)vgk{I7!ZCSLG1a)Z_G449Z6vO3OE@wP(dF{&=)&HE^9 zyWP_}oF&m%=!dGh5N(SntQwSgoZ1S3nv=N%9|r#I$OtWT1ElyR6JAtavfdCHyR7?D z-Ul_o{HTW08}h4w*F=1cX>%w|w4e$lK@Is`u<=25eNIouer6Nhi4#DEGxezm|8lxM zB3o9h8t*1$I0l1GOVF>``KH4tWec3Lzgq?IPL9qHGysv7auBa8(V$I+R92-Xu``oC zfBWVajFQ<(eBPK6sZ~f1C0qM8weK)|BWbHo`15sXo3wJnq08;Xq@&jKBY-{e!g;U6 zbG`Mq#vS>aCTOJw8aB_c*4K3_JZi3_g_p_R3SyoX`p=N)n`h;_tXM}Zs4;2s4rpO! zNDhV%J96@+27I7U_!shXjvne!{Hy~-hm@2HRg|yj&<2%$)PzLI#b$9PYm6*af+~XL zTzDs9L6Fb_$}UUvuA%4N|7!r1ezs@-$+1lKy)>&YXIh?@ZaNhP_r#I-lJ|SdX=YJ) zP~sj<*w?e1qes~13z~HAo7Q-e?w!OhTJ)zEB>7p2ko4X3t}GfnFE5Z__%R7nvMH}X z4-Rm1n{ZVPMXF3StvcI7d<$&k^QSb`%r0F}ruORc&rf4qs)nNHg4f4cs_xLZ3K_tq zl-11WATyte5V^b^!)`i=}E+8T^HL z0W4+3*Ecv$t7h*1@)QZ!pDn)v0qo!^0KW84FmH|s7E^)r1-+?#hWy6z>DP);PtY5q z!IWdac-yVm_cxbm`cyudhdO1s{u`f2Uu^%E4rjK$LUfHKf70-#VU+7gg=wnt@~xYW1lrXK4p&vmWG# zAX;7z1?P(d&hrYFnLypw6mfN#;=AXY>8?JJJA&&qzU;*|eNVT&TT&b5d3@!c0g z+fLmP-O5sxNf!@8Om$t&IlSxQ;1|cYh6nDw>sfrEqrZHGyc@D*8Wy(j{X)ydT?#*n zlzOI?j0n#Aldv8kXVL1Bqwp8?3tQesD08Q%3$h{iWVmNUZCxh)kfmqSQQbDPDF7Zx z4t;Gq;5~_0)*O{=-UuOZ6Nno@IEVoffA;+ayx=<#CF*AyN@5%SU<9_6Gx|dHyg(I! z9=OK=o?6`t>DG+{0z)VI>9=T}t;_C2YG_O&*rBx^*v%Wc@mmrbidD+i=W}i zCDHl}OElP|x}vPWd2~3L@RBC%&!1O09L42SvrvDUeX4e-&>d6L`1V5{KVLT1W596hmw8E1xvaF8xzp5t zP}k|9$Z^cv^(Xjh4aDh$Jj>uVF;BVmyQWkqZ|-JxEGZ~DJiYgAOxwX~5C&JbnmgD_ z8uvv~IDZ?m?<|ov6j|MftJaOTMa6?wr6UwI4NU%i;M9+SS^CAwcRc&Wpn-6vD12}W z^0dII5nCz6s{UtJ`&pT;#GI}E`N-QnS_ptjM5TggAzUsdQ5h>l;7Qz3m5ig`a?Y<- z{qK*FHT)O3d?idzot?DG#E3-&zFoy1AVXP0EqxR5 zX!!)I8wU2j7W-62hLxGh5I&U!qe)a0?&1NCdD?E6r zoa6V=8RP3nr(E6HVy1p>1vdct>K6P$3bDvSD0II!aaS<=UY_pk<|~zLR@4&pU1qBrG#$%OhPyqHz)D+y}o1GkMlWRXw3Px~;5b z%dq*|rt?Mni#c0HZ?LbkPn0J=gJ6Ku?JIoodljgO>pA0VSQbO`P6}F-b6cnAH&@n! zAzdgQE#4&_J9Na6@=|J5JUq)T&w-;dcd`u zc~qaD^I70d^@QSf1D;Eol6#BEBAcYB@(+P0_pK*`L@~q1pAJLa>6-nId1>4aMfRTD z9;og@pLM-e-SV!A`tTV&RItr9zzDorUu-+BwGG3blQd^#iPAeWe5bc`$8?t$WJlMM z(n{h?8?pO!AH|j*njZB)-JH3QBA$*m)vk$7<9sD!M$bu#(pITB^OlNo{OnzY=5Ts@ z-2Z^hgHMGgPJ6g#c}os{ZM50gqa`e~*}a)K)LI3>(uJt_&VK|u49@+C!O3`3M7{Yq z`m$T+l<5PW$-|X1qqZ$}RU3md-NR`%^SV<2oBZw1h}BNS0JU2Hzcf`eC_-Xi$$3@d ztfH!Mfhb&9)^u5_-hORx1^d4SvkKuSGB-ts%KJa)rfVw*aSeCz}agJ zbPqpNRBRbX?ECKspY&{Ksf%O9{aSR|HjP^sU9Rfr-twZ5hCX60p&D7J5G_d4uw4VEk7g}wu^tZ_;uB~PKj zTdvD{>UOn6zyh{Bv%#oxm5l>=hqWk;?p#LBzeKU8bfx7h!v5^#anZBi5iux<$m$8r zohEDcBY|j8Fg1AcmQPyNl8gifXR=^xH)y}5y0us)76%H3)_0;qDajq2!5>-flN8+% zHMYG!t+2D56-}^tNUzg~>o)qp*`z_Ky2bVcd8?#)!tjHRe>CBl*oas439fy?)*V3J z=s{^gX-s&k^Tu*-NH&kCAc(WEGhdP!jI4c)?f~yaf`V_R4gVxZ7!HjBOTge>jb>D- z-3K9VS96=-2dNG-E@(YFgiM8Dd#Ahyc7m#yf`BKe;Ufw_Xu<4TlZh1Rs5QnvSD z=6$5SIl2O+#!8aSxylG)p>jGJ{pK>Z_rWOcS5O+-f8)TbaV*`x@fRX6sWReqtIx~L zo9ot%xE`XTOkcJUx!=icQ@Bl{M-5-izuf&MP)w%XR!t7KSpD z6aj#fjKU1WF+D#NSi(d4`#A5Vdi>$H5cO>AycLEUvbNcGQF7Mx89{uzI)u)1PcIqH z%w)&k_!;pa!#->i19L4oQH5e3m#sLwl_&lmk|9d?$nr3FGvaC* zEE{U2D1fHtZV)k(U6HCy-?_$N-sZP|C=P&H0F5G)<}s4{fP07HX8=tLuv!pHj&2w$ zoIJLK_~8fL&qQEs$Qi>kQ_8-7oD@KocmPz8B_Qe>23Wq2X|?_VBv55Ui}*80eN1Dq zzaB(hARyx!4Ev?iU);)+QtpZX!@W;0R!27mBowb0#fCQ)2Rd!#01{qt%+Zx(WuZ>9 z@Evmktl=6-5ySnH$TyQV;{TKd_*2+7FXeoD)ZPEFr{YINUhkWE8>ai&yf5q)??jrF z?})&Qe-w)v+PpP}r>NMkbj26SBwDcIa~F6JWoxiht<5=i1Sk;@pSPbO<>}PX|5yl< zGXeX{9Mv1BB3kI_U(y1&cDC()fZ1&9*XtM31{S^}BUgej?^~oE!@lUdDAaH&{Cy23 zEa5l%h|IZ?%^X~BIbV=gLk z7S=0b(>GIsET`6_|A{iD5v{$b*l@*}VD3vl@2vJPpDQ(H>-rKC6kUbSQ~=ktP>=ry zyayO*G=RF|bjI9!CCMWI|7G{#f|?It*L&RrU!PM|igGJxl?-MYKkZ z2c{c`hWrRQd z2L+W&uQ^E$WcZc%_Ze>09^JVGNPL9NykGDF-O;xFXxW zwU3c$TT}NT4+Nq>!On#z<3cOdrtHW8@vUQOvnx9$?kiV6Hnu%NxEj zd;nn}3;v{A8Qsu&g$D$PDNujj%S(`dBYG8W1al$JzgKzfiUB}^8sdvqe7*k{rT+zk zK)C63TB@sv1#^8@M{Judd9*P-+yTbmY`(4v_iRM`XL;N7*()eB<$=q1fCU;zlUICI z8zqEpP$>!nwD#>_!b?NT4c5LQI3O1Q*pcO*TJd2m&7Tp1*}9EGmWw4dSDb_kcSsq! zHU4tEVG#Qm*=&1joFzv6iVYeFk#J##anOqgkC7vBrlXVNtD1nozJEXA-6AT_3XqNl zk@jX|>3k__ae3n`u{OXXE$5ykX>KNS>i*qnuY4RZ!=F z;ZZ76eSbtHjQ)|VygP>d>FAOT7{P0({WAAf_!=W~R+}#nbHzvMkXlZn3bSi#zzV*g zCSIHTea$%12_*k)ti!@1YKBNDZa{%0r_YdX_dgw+oM{{e=REjlfbg3@W}vit`j7r5 z=gyN1kwSqhoqhnS(U^dVlBBDOAY7P*b?524%Axi0;}*1e)qM=^mETdfP+<_@U!PGD z5R*PbMo{@b1C6~4aUR9~;pj-B01`zc*y%_eEbsqs{@DBfPz*5LMlZY^H1__d)m~eh z5EM6%(VJQAwycCvK-{GU+=stxW$TG4TQ*>Wwm1E}0gO-+fXT+bBG!+We)|6NRr;mm z*dcxJh#GVy%-hur7+I3-?BD?1n5)$bmuUHk4#_ur{!=Eskwsoua6l}eOl8E)sKuz% zr-ji#%^^0z^t8-=Sibr6N>;ilF^vS=6I087d<2G^wRE7$Y(WsI7o9 z<#}1avWX@;z!HYLEw53(aK(rOcq&RjkF}xBcI)res<}06=;D&#{A}i`K!u{S^jc2% z2r#(ouvp%m^ZT}29{=>X9J=ulp^6I0;&IEwD9DezR8xxAb|B@{}#7n8Za?lTW1z5K(oaMyukBG!$Krui<(&a<- zou54=EQZJZQ_X2$q(U6+_Kou3{ZYlXq*`-ZgUrl?`>a?n^WG z08JUXii9*(gueZ4%v&f8*kj`v5@l<=!OjH_vmO4+r2ur zGd9A$h$2M`5Lg+a<~RzS!`dVvXL)VdCZ-2Wv18`qNepf!f1F%jz=TDbyruh>-`kz4 z8ZawE!?Zr!k8>8+e`_QA1I3Ut7hRhhg#3yiLCUBiv_1E$#-2y#2JwAGv;cN!)Wm+Y z4+N;W({BiW0Ja@ef>APh2LT%uA~2i#{j)&K@DA!*^+Y;Q9nl$l99_A{Zd;$56kx>^ zkPRAcO-!YK%-Ocp0_vAR_9I|BWFXLnkXAwX{1-pfw*~Jtqxa%b1j1d~f6q&L0hpq; z35fF8#5IktB1gdND8`J?f4dr|?V{z+JTK2%>;_cu@y&3C zjhie#JuBE?Si}x#9P_;NqdQxQP`n+rR9;i~4tlnp#+3|HU^g#K=@uYc6M`nCd?}dg zJ}Fmg3ZXZ9(ku`8PcpwVo#d-0(y>Rfki?Or@bl3m*YB6-(n_2>b zL4*b01+8+~kHRjYGMdoc$bc)H^&={o_Rfco?lm-G0`Q4-o&l%@0dfjn$NYx-GEcH7 z!-e+)0)pQSZ44NYdEl?X+G74KjByY52-fBdj8(Vn_HbmFkX3fx5+PG$7h?M%eT#@- zc%V(QL^OCd3iO_9@%QO$xvUH65|$3A-70p#%PBm+i~ly9zUN1dy>6$f=iv2l?I^W! ziz#h<`!ODDhY3lwydD0Md_5unVMGsWdn5>D5HdYabHduOBFD7am#Vkawo(V^gaw1V zbH1B-rk?+baZLs9$D+)P#eF5}sR+pF2@}(A)`8A~>wVw_$N^o9^m3Tp$TTWRP!BZo2%ceKQ8D>1?i6H<_UG4E2>*ljTC(AW8pJBDy0z~_>Q|K)Rn zTQ&_=g|9mOa&{vkJ?~H)qS*c>YdEZ{aMpOIW)&!0aX%#AoJCwA7gV;wg>?{9;5)$H z+b0tW2iU-O17AS4J^gg8wfs?;R=-J)_5mfP=QpR_fGJEz?-wk_1)ZvH0h87*8J~p1 z6=UpzWurktCW&X(m|bE-Zgg#wfY1}dZ_f_tEG5yd(F-1!0%MsdyL6S%FlKoR@)Fqz zhvBS&!^+`OwjUrA+fnPj$1ESE@WxFr^r4NCo4oui&Cwb2Jfi5iEV63=k*3dpaSvDs z$>qfW)VU~?#wF#FUr&^Ysh#`lt=BB1)v%>pY8~bUPiKSQoI1dir|%U>(Ps;scwpVz zq@6^{u1@bA0H*2}d|aYkrwK(&nCx471xF3Zg)dh}EB#TqU+Qpm3qA)Nf6I=%++q~5 zkzm9|Xyit^c)TI-d4OTBU_S&tB2TsKmZYO#g>BD+hxP?*#h#8$ z65VUfdu*?rxx086n*#;~fk>{Fp^t%~~;cWKW3t z$u+cbl;dM6U%kt9m}%{6FxJMB;rmEyPru=wr2Vi$9(yb*v}pY9%!&SzLRDiXdrzlq zcplfq%r|dk8$Sg}TD@(FPhaCHXUYEu<6zceqm%~M z@qC%|P7^tb-_PsRNd>B2+RAr>i%rhY-=8R27!HQ-JPD;6za;i~r~BJbsilgwBMjYj zQG(Yqn7V+SwFUlC(_MDs+nObR-%`eQ*2IDIVngg_CJl+Xy9jx)?bJ*Hc|Z+{?8_a$ zWJ2d7ymGSUC8M^VqP`!SIi2kV8}E*eUq0P>2SV?)$8D1yhS{>8Z1_Ntsonbw@37t# zxduC_jg4=cp>Q#z*GnEJUA+_B*_rWpd^Z0jqx%N*Y3j z4(C;KFwBx`7G9DA#cbOZ=Y?UQUskrck$BEOJ&F7ia{L{9Fwr-ZBCm#(}n#NK$H z{nIN0lXLe&r7#y|pu4R;_*dD4kHd|Tmg^vop;1zwQogb;!y-xZT9=*Z7p~NhKn>$~ z&nb&28WZio&^mOM`GF}hBKsr2MwDyV{Lh{I5ghjS7sBEKv0ZBm!wppgWoV(_@HpI6DVUJ8@aS)N1(ltE37{vS zkL`Z=+njnZBj8m!rPZ28+USC{+NKSELvcbg#;5p`N6wv{2iD|AbkQI?O}e;>Pt4A< zhit`Z)N~LwJ6>`%1f}u9mx4{p>ct!*EdeS!mQq-SsWC*kukBEn^oWyGlZm;<*gy`7 z9H)ybdFJ%qR(THx^Lw6g3_rBydjg!&16^wAXb)c`T-4_JNI5YH;ygUF!+4OU6}|I# zsN3DYszD`m!|q*e;}Nxp44b$#Qp6~<&|CNTPBDu|OUX zJA2>@Rp!oZ@NEJ5=uDoF&I$RxuuWqdn=v`yZrN8|J*fSs(*AJn?Yh(6Z>#p#XS#2M zLasUmafCa#;tEIL$!)R*d-)mdecfSP!o6c1`>v6yLQGCZxr$cqW3Dltpw}c%8C`ezr81*KlS@6u>{bJmS@cxg*Z3u0@PONY@@4I%klsZQ7cb^Zfvw8?jY zR*EmB?a=V8qWUP&tr)zronJRG>)SS4)Vco`Uzf?#b%qVCMlhQS*k6QqBS@~J)$yU_ zKiMRv^MIz+uc|v5bVV{T;NVX&PCcyDcGnwPmwVew`U`e*?BJ2$U==R1+o=$?6Nh*q z+4G#`!THd|A*U&A57(aotRp8S-`J6l_V+UTR)b=8rIusC!QIcyQmG&w@gObRqMsEB z{Q8U^@z*_EtB*Ac!(LO{-4-67udh3XeYTSgn9RZEJLG!^lD29xpW{X`WEnZwL#yI~ zZEi!ROR3BpY>R`&cKnIWLliEnR*TIxIckUKGWS3=)C=u1mNBjz~WnR(WTCrf)VZ`nOHP7k|W$NqP?SEQbbzpfPmC9j=A%-&>W-jA{)e%m!Qv zAN?!~>^XBFDcfB*HWNS1oB963Ey#2!l`~*hA_m;@DMrZrhT;ZPvgM78<*fcg#t5=t z9eEzw@83H7ZQpP+g>a^lwh3uz_Wb#7`VRa2AlGh&b{acM*)|+-QW!1a;>KLi=J8243k^9)i+Xj zlDO2v0cwiF%;YEj?6e#5qVjjtc*hbqO=y8j?50T?cwCf)Axlqau+@Nf%x}|#-?`KT zemTOMw63x0NE^HD*g*gJm(=4M{at2(|nSQnmC?Q`uW7oKg=Wk zJdED|WHQ;Y;gCfE#ItcDIcvw~Ckw{54_!iOokl6LrgJ!&Yq^iz_16#S;wBikJG+F4 zbZ0et1Lt{+s(P+Eb+&Ozfp9%T>HRP|J(^ljoo)O}2}!sJQe;%uyW}lT8zL9xFxCZv zxw@O`&hjiVY3}p0k5pCy;WJ8?vEoo55~8o?Jym}&?`NtpJfXC3IdH*&b*xl^+E0Bg zRQ-zBjf7|=c}r#Q01r^MV)K;?mAs{&Rf|T&_BS3zMM0>zBSDO;JXoGEa28wX7FX;Q z6jsfUUt7g%^>~_ zzt)-XaTIa{zw0FIlgc?V2dp?s0rWYs8rPIOwDBC8#!PkVk%?LOUL)xF7YFuniPRA4 zc#yl4AX6lfp!DAtrI|pdx&JBQ@k&q6ak5Hg58CHU2gou42&ve^JFf3MXRR&NyLjxa zAwMv>=`&v47b}5cJsJo}x1gLKvdOPr0%g`AOZalhsv$`?eTc z^WAyxLmF7h>X&IoM}_KcWJ`|a$jpNYJ%auB;0%O1g0iRZ9AdCLzE&9sbcv*PAxaH* zGmyMR$L$G8%47`mI%C1>8|%a26TZG*MdK7kBH7GuC66&USmHBdB~`QU@s_P1tT4F# z9OV4Vy>QMqwe56z0&M0XwY$SR+VBRpXc?ii>XK#S1@|m_Uh#ltngLrBCt?{j0eRNs zs|77hy|i&K9`k}uN9h?W^SJHkt3?R|?UCi5^3q&oVn7?YiQe-MlgS-xd>pC^*4H@0 zY@U=wlNnI1S&duzj(EL8Sej|z9?iTP=u9wG_hd{HHWnFqtz?h$zP~mG{D5J>P&8Sd z@wIBcU|Egl7on36(udqC@s*M0z_=S1Qmg>k+gHZzV$#wcg6P{jTaQL!&Fl0VYF&nGHFN-RDonmPG*Wj_z z+!6adge^>cf7FEt^WJ_l2A3DpZ723HHaufpXLx!nJ0KglEu}~-PVr-IU0RvO?s^Qhx+@jgDs-6P4=GCQ%o%BDJgZ{a7NQA zt0Uy){^q4o+7!p|ZeL$(s+kL|=(c7Y!rJYzdosB!<`w%$!+b{vxT;~kr;3p?nFZ%A mYWwK_?$49{|5x64_ksogzS->{TQKhGEfodL|BB>HzWhI#L%i<* literal 0 HcmV?d00001 diff --git a/examples/cosmwasm/schemas/cw20-base/cw20-base.json b/examples/cosmwasm/schemas/cw20-base/cw20-base.json new file mode 100644 index 000000000..b79269b7f --- /dev/null +++ b/examples/cosmwasm/schemas/cw20-base/cw20-base.json @@ -0,0 +1,1375 @@ +{ + "contract_name": "cw20-base", + "contract_version": "0.15.1", + "idl_version": "1.0.0", + "instantiate": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "InstantiateMsg", + "type": "object", + "required": [ + "decimals", + "initial_balances", + "name", + "symbol" + ], + "properties": { + "decimals": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "initial_balances": { + "type": "array", + "items": { + "$ref": "#/definitions/Cw20Coin" + } + }, + "marketing": { + "anyOf": [ + { + "$ref": "#/definitions/InstantiateMarketingInfo" + }, + { + "type": "null" + } + ] + }, + "mint": { + "anyOf": [ + { + "$ref": "#/definitions/MinterResponse" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + }, + "Cw20Coin": { + "type": "object", + "required": [ + "address", + "amount" + ], + "properties": { + "address": { + "type": "string" + }, + "amount": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false + }, + "EmbeddedLogo": { + "description": "This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.", + "oneOf": [ + { + "description": "Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)", + "type": "object", + "required": [ + "svg" + ], + "properties": { + "svg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + }, + { + "description": "Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.", + "type": "object", + "required": [ + "png" + ], + "properties": { + "png": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + ] + }, + "InstantiateMarketingInfo": { + "type": "object", + "properties": { + "description": { + "type": [ + "string", + "null" + ] + }, + "logo": { + "anyOf": [ + { + "$ref": "#/definitions/Logo" + }, + { + "type": "null" + } + ] + }, + "marketing": { + "type": [ + "string", + "null" + ] + }, + "project": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + }, + "Logo": { + "description": "This is used for uploading logo data, or setting it in InstantiateData", + "oneOf": [ + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "description": "Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants", + "type": "object", + "required": [ + "embedded" + ], + "properties": { + "embedded": { + "$ref": "#/definitions/EmbeddedLogo" + } + }, + "additionalProperties": false + } + ] + }, + "MinterResponse": { + "type": "object", + "required": [ + "minter" + ], + "properties": { + "cap": { + "description": "cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.", + "anyOf": [ + { + "$ref": "#/definitions/Uint128" + }, + { + "type": "null" + } + ] + }, + "minter": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "execute": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "ExecuteMsg", + "oneOf": [ + { + "description": "Transfer is a base message to move tokens to another account without triggering actions", + "type": "object", + "required": [ + "transfer" + ], + "properties": { + "transfer": { + "type": "object", + "required": [ + "amount", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Burn is a base message to destroy tokens forever", + "type": "object", + "required": [ + "burn" + ], + "properties": { + "burn": { + "type": "object", + "required": [ + "amount" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Send is a base message to transfer tokens to a contract and trigger an action on the receiving contract.", + "type": "object", + "required": [ + "send" + ], + "properties": { + "send": { + "type": "object", + "required": [ + "amount", + "contract", + "msg" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "contract": { + "type": "string" + }, + "msg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Allows spender to access an additional amount tokens from the owner's (env.sender) account. If expires is Some(), overwrites current allowance expiration with this one.", + "type": "object", + "required": [ + "increase_allowance" + ], + "properties": { + "increase_allowance": { + "type": "object", + "required": [ + "amount", + "spender" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Lowers the spender's access of tokens from the owner's (env.sender) account by amount. If expires is Some(), overwrites current allowance expiration with this one.", + "type": "object", + "required": [ + "decrease_allowance" + ], + "properties": { + "decrease_allowance": { + "type": "object", + "required": [ + "amount", + "spender" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "anyOf": [ + { + "$ref": "#/definitions/Expiration" + }, + { + "type": "null" + } + ] + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Transfers amount tokens from owner -> recipient if `env.sender` has sufficient pre-approval.", + "type": "object", + "required": [ + "transfer_from" + ], + "properties": { + "transfer_from": { + "type": "object", + "required": [ + "amount", + "owner", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "owner": { + "type": "string" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Sends amount tokens from owner -> contract if `env.sender` has sufficient pre-approval.", + "type": "object", + "required": [ + "send_from" + ], + "properties": { + "send_from": { + "type": "object", + "required": [ + "amount", + "contract", + "msg", + "owner" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "contract": { + "type": "string" + }, + "msg": { + "$ref": "#/definitions/Binary" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"approval\" extension. Destroys tokens forever", + "type": "object", + "required": [ + "burn_from" + ], + "properties": { + "burn_from": { + "type": "object", + "required": [ + "amount", + "owner" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"mintable\" extension. If authorized, creates amount new tokens and adds to the recipient balance.", + "type": "object", + "required": [ + "mint" + ], + "properties": { + "mint": { + "type": "object", + "required": [ + "amount", + "recipient" + ], + "properties": { + "amount": { + "$ref": "#/definitions/Uint128" + }, + "recipient": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"mintable\" extension. The current minter may set a new minter. Setting the minter to None will remove the token's minter forever.", + "type": "object", + "required": [ + "update_minter" + ], + "properties": { + "update_minter": { + "type": "object", + "properties": { + "new_minter": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with the \"marketing\" extension. If authorized, updates marketing metadata. Setting None/null for any of these will leave it unchanged. Setting Some(\"\") will clear this field on the contract storage", + "type": "object", + "required": [ + "update_marketing" + ], + "properties": { + "update_marketing": { + "type": "object", + "properties": { + "description": { + "description": "A longer description of the token and it's utility. Designed for tooltips or such", + "type": [ + "string", + "null" + ] + }, + "marketing": { + "description": "The address (if any) who can update this data structure", + "type": [ + "string", + "null" + ] + }, + "project": { + "description": "A URL pointing to the project behind this token.", + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "If set as the \"marketing\" role on the contract, upload a new URL, SVG, or PNG for the token", + "type": "object", + "required": [ + "upload_logo" + ], + "properties": { + "upload_logo": { + "$ref": "#/definitions/Logo" + } + }, + "additionalProperties": false + } + ], + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + }, + "EmbeddedLogo": { + "description": "This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.", + "oneOf": [ + { + "description": "Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)", + "type": "object", + "required": [ + "svg" + ], + "properties": { + "svg": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + }, + { + "description": "Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.", + "type": "object", + "required": [ + "png" + ], + "properties": { + "png": { + "$ref": "#/definitions/Binary" + } + }, + "additionalProperties": false + } + ] + }, + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Logo": { + "description": "This is used for uploading logo data, or setting it in InstantiateData", + "oneOf": [ + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "description": "Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants", + "type": "object", + "required": [ + "embedded" + ], + "properties": { + "embedded": { + "$ref": "#/definitions/EmbeddedLogo" + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "query": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "QueryMsg", + "oneOf": [ + { + "description": "Returns the current balance of the given address, 0 if unset.", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "type": "object", + "required": [ + "address" + ], + "properties": { + "address": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Returns metadata on the contract - name, decimals, supply, etc.", + "type": "object", + "required": [ + "token_info" + ], + "properties": { + "token_info": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"mintable\" extension. Returns who can mint and the hard cap on maximum tokens after minting.", + "type": "object", + "required": [ + "minter" + ], + "properties": { + "minter": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"allowance\" extension. Returns how much spender can use from owner account, 0 if unset.", + "type": "object", + "required": [ + "allowance" + ], + "properties": { + "allowance": { + "type": "object", + "required": [ + "owner", + "spender" + ], + "properties": { + "owner": { + "type": "string" + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension (and \"allowances\") Returns all allowances this owner has approved. Supports pagination.", + "type": "object", + "required": [ + "all_allowances" + ], + "properties": { + "all_allowances": { + "type": "object", + "required": [ + "owner" + ], + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "owner": { + "type": "string" + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension (and \"allowances\") Returns all allowances this spender has been granted. Supports pagination.", + "type": "object", + "required": [ + "all_spender_allowances" + ], + "properties": { + "all_spender_allowances": { + "type": "object", + "required": [ + "spender" + ], + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "spender": { + "type": "string" + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"enumerable\" extension Returns all accounts that have balances. Supports pagination.", + "type": "object", + "required": [ + "all_accounts" + ], + "properties": { + "all_accounts": { + "type": "object", + "properties": { + "limit": { + "type": [ + "integer", + "null" + ], + "format": "uint32", + "minimum": 0.0 + }, + "start_after": { + "type": [ + "string", + "null" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"marketing\" extension Returns more metadata on the contract to display in the client: - description, logo, project url, etc.", + "type": "object", + "required": [ + "marketing_info" + ], + "properties": { + "marketing_info": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "description": "Only with \"marketing\" extension Downloads the embedded logo data (if stored on chain). Errors if no logo data is stored for this contract.", + "type": "object", + "required": [ + "download_logo" + ], + "properties": { + "download_logo": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "migrate": null, + "sudo": null, + "responses": { + "all_accounts": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllAccountsResponse", + "type": "object", + "required": [ + "accounts" + ], + "properties": { + "accounts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "all_allowances": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllAllowancesResponse", + "type": "object", + "required": [ + "allowances" + ], + "properties": { + "allowances": { + "type": "array", + "items": { + "$ref": "#/definitions/AllowanceInfo" + } + } + }, + "definitions": { + "AllowanceInfo": { + "type": "object", + "required": [ + "allowance", + "expires", + "spender" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + }, + "spender": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "all_spender_allowances": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllSpenderAllowancesResponse", + "type": "object", + "required": [ + "allowances" + ], + "properties": { + "allowances": { + "type": "array", + "items": { + "$ref": "#/definitions/SpenderAllowanceInfo" + } + } + }, + "definitions": { + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "SpenderAllowanceInfo": { + "type": "object", + "required": [ + "allowance", + "expires", + "owner" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "allowance": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AllowanceResponse", + "type": "object", + "required": [ + "allowance", + "expires" + ], + "properties": { + "allowance": { + "$ref": "#/definitions/Uint128" + }, + "expires": { + "$ref": "#/definitions/Expiration" + } + }, + "definitions": { + "Expiration": { + "description": "Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)", + "oneOf": [ + { + "description": "AtHeight will expire when `env.block.height` >= height", + "type": "object", + "required": [ + "at_height" + ], + "properties": { + "at_height": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "description": "AtTime will expire when `env.block.time` >= time", + "type": "object", + "required": [ + "at_time" + ], + "properties": { + "at_time": { + "$ref": "#/definitions/Timestamp" + } + }, + "additionalProperties": false + }, + { + "description": "Never will never expire. Used to express the empty variant", + "type": "object", + "required": [ + "never" + ], + "properties": { + "never": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + } + ] + }, + "Timestamp": { + "description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.\n\n## Examples\n\n``` # use cosmwasm_std::Timestamp; let ts = Timestamp::from_nanos(1_000_000_202); assert_eq!(ts.nanos(), 1_000_000_202); assert_eq!(ts.seconds(), 1); assert_eq!(ts.subsec_nanos(), 202);\n\nlet ts = ts.plus_seconds(2); assert_eq!(ts.nanos(), 3_000_000_202); assert_eq!(ts.seconds(), 3); assert_eq!(ts.subsec_nanos(), 202); ```", + "allOf": [ + { + "$ref": "#/definitions/Uint64" + } + ] + }, + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + }, + "Uint64": { + "description": "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u64` to get the value out:\n\n``` # use cosmwasm_std::Uint64; let a = Uint64::from(42u64); assert_eq!(a.u64(), 42);\n\nlet b = Uint64::from(70u32); assert_eq!(b.u64(), 70); ```", + "type": "string" + } + } + }, + "balance": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "BalanceResponse", + "type": "object", + "required": [ + "balance" + ], + "properties": { + "balance": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "download_logo": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "DownloadLogoResponse", + "description": "When we download an embedded logo, we get this response type. We expect a SPA to be able to accept this info and display it.", + "type": "object", + "required": [ + "data", + "mime_type" + ], + "properties": { + "data": { + "$ref": "#/definitions/Binary" + }, + "mime_type": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Binary": { + "description": "Binary is a wrapper around Vec to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec", + "type": "string" + } + } + }, + "marketing_info": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "MarketingInfoResponse", + "type": "object", + "properties": { + "description": { + "description": "A longer description of the token and it's utility. Designed for tooltips or such", + "type": [ + "string", + "null" + ] + }, + "logo": { + "description": "A link to the logo, or a comment there is an on-chain logo stored", + "anyOf": [ + { + "$ref": "#/definitions/LogoInfo" + }, + { + "type": "null" + } + ] + }, + "marketing": { + "description": "The address (if any) who can update this data structure", + "anyOf": [ + { + "$ref": "#/definitions/Addr" + }, + { + "type": "null" + } + ] + }, + "project": { + "description": "A URL pointing to the project behind this token.", + "type": [ + "string", + "null" + ] + } + }, + "definitions": { + "Addr": { + "description": "A human readable address.\n\nIn Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no assumptions should be made other than being UTF-8 encoded and of reasonable length.\n\nThis type represents a validated address. It can be created in the following ways 1. Use `Addr::unchecked(input)` 2. Use `let checked: Addr = deps.api.addr_validate(input)?` 3. Use `let checked: Addr = deps.api.addr_humanize(canonical_addr)?` 4. Deserialize from JSON. This must only be done from JSON that was validated before such as a contract's state. `Addr` must not be used in messages sent by the user because this would result in unvalidated instances.\n\nThis type is immutable. If you really need to mutate it (Really? Are you sure?), create a mutable copy using `let mut mutable = Addr::to_string()` and operate on that `String` instance.", + "type": "string" + }, + "LogoInfo": { + "description": "This is used to display logo info, provide a link or inform there is one that can be downloaded from the blockchain itself", + "oneOf": [ + { + "type": "string", + "enum": [ + "embedded" + ] + }, + { + "description": "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + }, + "additionalProperties": false + } + ] + } + } + }, + "minter": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "MinterResponse", + "type": "object", + "required": [ + "minter" + ], + "properties": { + "cap": { + "description": "cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.", + "anyOf": [ + { + "$ref": "#/definitions/Uint128" + }, + { + "type": "null" + } + ] + }, + "minter": { + "type": "string" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + }, + "token_info": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "TokenInfoResponse", + "type": "object", + "required": [ + "decimals", + "name", + "symbol", + "total_supply" + ], + "properties": { + "decimals": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "total_supply": { + "$ref": "#/definitions/Uint128" + } + }, + "additionalProperties": false, + "definitions": { + "Uint128": { + "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", + "type": "string" + } + } + } + } +} diff --git a/examples/cosmwasm/scripts/codegen.js b/examples/cosmwasm/scripts/codegen.js new file mode 100644 index 000000000..c14b504b4 --- /dev/null +++ b/examples/cosmwasm/scripts/codegen.js @@ -0,0 +1,36 @@ +const { join, resolve } = require('path'); +const codegen = require('@cosmwasm/ts-codegen').default; + +const contractsDir = resolve(join(__dirname, '/../schemas')); +const contracts = [ + { + name: 'HackCw20', + dir: join(contractsDir, 'cw20-base') + } +]; + +codegen({ + contracts, + outPath: join(__dirname, '../codegen'), + options: { + bundle: { + enabled: true, + bundleFile: 'index.ts', + scope: 'contracts' + }, + types: { + enabled: true + }, + client: { + enabled: true + }, + messageComposer: { + enabled: false + } + } +}).then(() => { + console.log('✨ all done!'); +}).catch(e=>{ + console.error(e); + process.exit(1) +}); diff --git a/examples/cosmwasm/styles/Home.module.css b/examples/cosmwasm/styles/Home.module.css new file mode 100644 index 000000000..e7136f438 --- /dev/null +++ b/examples/cosmwasm/styles/Home.module.css @@ -0,0 +1,25 @@ +.container { + padding: 0 2rem; +} + +.footer { + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; +} + +.footer a { + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; +} + +@media (prefers-color-scheme: dark) { + .footer { + border-color: #222; + } +} \ No newline at end of file diff --git a/examples/cosmwasm/styles/globals.css b/examples/cosmwasm/styles/globals.css new file mode 100644 index 000000000..4f1842163 --- /dev/null +++ b/examples/cosmwasm/styles/globals.css @@ -0,0 +1,26 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +@media (prefers-color-scheme: dark) { + html { + color-scheme: dark; + } + body { + color: white; + background: black; + } +} diff --git a/examples/cosmwasm/tsconfig.json b/examples/cosmwasm/tsconfig.json new file mode 100644 index 000000000..e68bd5ae6 --- /dev/null +++ b/examples/cosmwasm/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index f0578713b..196b5a991 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -146,6 +146,18 @@ uses [stargazejs](https://github.com/cosmology-tech/stargazejs) cca --name mystarsapp --example --template stargaze ``` +### CosmWasm + +

+ +

+ + + +``` +cca --name mywasmapp --example --template cosmwasm +``` + ### Tailwind ``` From 60433357b5e5135608a01c951473731020d7ebc5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 03:17:21 -0700 Subject: [PATCH 190/262] chore(release): publish - @cosmonauts/cosmwasm@1.1.0 - @cosmonauts/osmosis-cosmwasm@1.1.0 - create-cosmos-app@0.7.0 - create-cosmwasm-app@1.3.0 - create-juno-app@0.8.0 - create-osmosis-app@0.8.0 - create-stargaze-app@0.8.0 --- examples/cosmwasm/CHANGELOG.md | 8 ++++++++ examples/cosmwasm/package.json | 6 +++--- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 14 files changed, 69 insertions(+), 13 deletions(-) create mode 100644 examples/cosmwasm/CHANGELOG.md diff --git a/examples/cosmwasm/CHANGELOG.md b/examples/cosmwasm/CHANGELOG.md new file mode 100644 index 000000000..7c666f984 --- /dev/null +++ b/examples/cosmwasm/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# 1.1.0 (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/cosmwasm diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index 73e2ac0bf..bfe92be23 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/cosmwasm", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", @@ -24,8 +24,8 @@ "bignumber.js": "9.1.0", "chain-registry": "1.2.0", "framer-motion": "7.3.6", - "next": "12.2.5", "interchain": "1.0.0", + "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" @@ -39,4 +39,4 @@ "eslint-config-next": "12.2.5", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index 3a9489486..4057ba67d 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.3...@cosmonauts/osmosis-cosmwasm@1.1.0) (2022-10-24) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.2...@cosmonauts/osmosis-cosmwasm@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index dc99eabd9..4d7ca3ab0 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index ccd8a9ce2..16d24a86c 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.6.1...create-cosmos-app@0.7.0) (2022-10-24) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.6.0...create-cosmos-app@0.6.1) (2022-10-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index b34e71648..c39c51bae 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.6.1", + "version": "0.7.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 4e22d8e9e..999c47276 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.2.1...create-cosmwasm-app@1.3.0) (2022-10-24) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.2.0...create-cosmwasm-app@1.2.1) (2022-10-24) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 76fe5f6a1..a6104052c 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.2.1", + "version": "1.3.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.1", + "create-cosmos-app": "^0.7.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index b731dc34c..b700ecc1f 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.7.1...create-juno-app@0.8.0) (2022-10-24) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.7.0...create-juno-app@0.7.1) (2022-10-24) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 02ce4442d..5b94f606e 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.7.1", + "version": "0.8.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.1", + "create-cosmos-app": "^0.7.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 3d270c7b5..c8b5ca768 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.7.1...create-osmosis-app@0.8.0) (2022-10-24) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.7.0...create-osmosis-app@0.7.1) (2022-10-24) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 917937f9f..64cb05540 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.7.1", + "version": "0.8.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.1", + "create-cosmos-app": "^0.7.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 81a4d3323..751f74cc7 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.7.1...create-stargaze-app@0.8.0) (2022-10-24) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.7.0...create-stargaze-app@0.7.1) (2022-10-24) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 2b302404a..5e04f7f18 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.7.1", + "version": "0.8.0", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.6.1", + "create-cosmos-app": "^0.7.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From 6f487b7cbd530cdddf15f02e8e2fec3bf8b0fe96 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 03:17:53 -0700 Subject: [PATCH 191/262] cosmwasm --- packages/create-cosmwasm-app/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmwasm-app/src/cli.ts b/packages/create-cosmwasm-app/src/cli.ts index ed056af25..a3e65ec3f 100644 --- a/packages/create-cosmwasm-app/src/cli.ts +++ b/packages/create-cosmwasm-app/src/cli.ts @@ -8,7 +8,7 @@ export const cli = async (argv) => { type: 'list', name: 'template', message: 'Which template', - choices: ['osmosis', 'juno', 'stargaze'] + choices: ['osmosis', 'juno', 'stargaze', 'cosmwasm'] } ], argv); From 815519cf5753b5da8ca42d4447d576302a08ffd5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 24 Oct 2022 03:18:00 -0700 Subject: [PATCH 192/262] chore(release): publish - create-cosmwasm-app@1.3.1 --- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index 999c47276..bfef9abd7 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.3.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.3.0...create-cosmwasm-app@1.3.1) (2022-10-24) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [1.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.2.1...create-cosmwasm-app@1.3.0) (2022-10-24) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index a6104052c..ea96a6f0e 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.3.0", + "version": "1.3.1", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", From 94cb11c0b3f7ec897e27b1cdac0ee3579332daad Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 26 Oct 2022 16:45:53 -0700 Subject: [PATCH 193/262] upgrades --- README.md | 1 + examples/cosmwasm/package.json | 4 +- examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/package.json | 2 +- examples/send-tokens/package.json | 4 +- examples/stargaze/package.json | 2 +- examples/tailwindcss/package.json | 2 +- packages/create-cosmos-app/README.md | 1 + templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/package.json | 2 +- yarn.lock | 216 ++++++--------------- 12 files changed, 74 insertions(+), 166 deletions(-) diff --git a/README.md b/README.md index 196b5a991..f2d617303 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@

+

diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index bfe92be23..66ca33098 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -22,9 +22,9 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", - "interchain": "1.0.0", + "interchain": "1.1.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/juno/package.json b/examples/juno/package.json index ea2363d5f..ab16bdbdd 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -21,7 +21,7 @@ "@emotion/styled": "11.10.4", "@juno-network/assets": "0.13.0", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", "juno-network": "0.8.0", "next": "12.2.5", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 4d7ca3ab0..0e67c2cfd 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -22,7 +22,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 6cc79c6f3..a270d6544 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -21,7 +21,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4a0a84983..8b07e1f6e 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -20,9 +20,9 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", - "interchain": "1.0.0", + "interchain": "1.1.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index cda2c24cd..af6d9f1e4 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -20,7 +20,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 5ad313074..410ce2b14 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -19,7 +19,7 @@ "@headlessui/react": "^1.7.3", "@heroicons/react": "^2.0.12", "bowser": "^2.11.0", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "copy-to-clipboard": "^3.3.2", "framer-motion": "7.3.6", "next": "12.2.5", diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index 196b5a991..f2d617303 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -5,6 +5,7 @@

+

diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 8c7dcda6b..066ed0c7e 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -18,7 +18,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 38f732ad1..d680dbfd3 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -19,7 +19,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.2.0", + "chain-registry": "1.3.0", "chakra-react-select": "4.2.2", "fast-fuzzy": "1.11.2", "framer-motion": "7.3.6", diff --git a/yarn.lock b/yarn.lock index 3fe1703ee..8afdf5be3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -166,15 +166,6 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz" - integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== - dependencies: - "@babel/types" "^7.18.13" - "@jridgewell/gen-mapping" "^0.3.2" - jsesc "^2.5.1" - "@babel/generator@7.19.3": version "7.19.3" resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" @@ -1475,22 +1466,6 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz" - integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.13" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.18.13" - "@babel/types" "^7.18.13" - debug "^4.1.0" - globals "^11.1.0" - "@babel/traverse@7.19.3": version "7.19.3" resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" @@ -1564,15 +1539,6 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@7.18.13": - version "7.18.13" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz" - integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== - dependencies: - "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" - to-fast-properties "^2.0.0" - "@babel/types@7.19.3": version "7.19.3" resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" @@ -3280,39 +3246,6 @@ "@walletconnect/client" "1.7.8" "@walletconnect/types" "1.7.8" -"@cosmwasm/ts-codegen@0.16.1": - version "0.16.1" - resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.16.1.tgz" - integrity sha512-BmAGgl+Kh0MUq1+aMfzNHhvhezlySRSJFJPNWwO55nNPgndgZUcv+UfPiIJW+lSqFjcfynNg4gP5m3DgGYRY9w== - dependencies: - "@babel/core" "7.18.10" - "@babel/generator" "7.18.12" - "@babel/parser" "7.18.11" - "@babel/plugin-proposal-class-properties" "7.18.6" - "@babel/plugin-proposal-export-default-from" "7.18.10" - "@babel/plugin-proposal-object-rest-spread" "7.18.9" - "@babel/plugin-transform-runtime" "7.18.10" - "@babel/preset-env" "7.18.10" - "@babel/preset-typescript" "^7.18.6" - "@babel/runtime" "^7.18.9" - "@babel/traverse" "7.18.11" - "@babel/types" "7.18.10" - "@pyramation/json-schema-to-typescript" " 11.0.4" - case "1.6.3" - dargs "7.0.0" - deepmerge "4.2.2" - dotty "0.1.2" - fuzzy "0.1.3" - glob "8.0.3" - inquirerer "0.1.3" - long "^5.2.0" - minimist "1.2.6" - mkdirp "1.0.4" - parse-package-name "1.0.0" - rimraf "3.0.2" - shelljs "0.8.5" - wasm-ast-types "^0.11.1" - "@cosmwasm/ts-codegen@0.17.0": version "0.17.0" resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.17.0.tgz#fe27a96e54db3ebafca44a99a79849450e4434bd" @@ -5081,19 +5014,6 @@ dependencies: "@octokit/openapi-types" "^12.11.0" -"@osmonauts/ast@^0.31.0": - version "0.31.0" - resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.31.0.tgz#3c4159f4c660a9ebce51268c0f2ad697bbb6ec55" - integrity sha512-ybcuClvO4Tym9Dymy79yQzQtgFzUGo/IZ5hOF3Q1bbQ8qeol+uMxhs8GhZfmqQpVzw/WOyjVazEPrzohiL/bYg== - dependencies: - "@babel/runtime" "^7.18.9" - "@babel/types" "7.18.13" - "@osmonauts/proto-parser" "^0.19.1" - "@osmonauts/types" "^0.15.1" - "@osmonauts/utils" "^0.4.0" - case "1.6.3" - dotty "0.1.2" - "@osmonauts/ast@^0.61.0": version "0.61.0" resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.61.0.tgz#1b032d78077998fff40b4edfb0e85600f55b9851" @@ -5107,6 +5027,19 @@ case "1.6.3" dotty "0.1.2" +"@osmonauts/ast@^0.63.0": + version "0.63.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.63.0.tgz#ad39d563e97f1bd31342267fbfcdb374d082b86f" + integrity sha512-5IhzT/UDwfVLVuSSTHdoefXs0iAHZsW7Y5yCFEyw2wfv1AuG/YcOc615kpEeGV4oaAQNM032OWxK02jGTHhqAQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@babel/types" "7.19.3" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + dotty "0.1.2" + "@osmonauts/helpers@^0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" @@ -5121,7 +5054,7 @@ long "^5.2.0" protobufjs "^6.11.3" -"@osmonauts/lcd@0.6.0", "@osmonauts/lcd@^0.6.0": +"@osmonauts/lcd@0.6.0": version "0.6.0" resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== @@ -5137,18 +5070,6 @@ "@babel/runtime" "^7.19.0" axios "0.27.2" -"@osmonauts/proto-parser@^0.19.1": - version "0.19.1" - resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.19.1.tgz#caae3144b3469144dbf630599042078fc871a600" - integrity sha512-xFY2ad0T2hSRinRy+oDNaDs3sA5yWukijFOMzuhb68h64F5cWtc6+FsPTZ7k0fY3lCCwbJS6NRH/rNuVlRQk9g== - dependencies: - "@babel/runtime" "^7.18.9" - "@osmonauts/types" "^0.15.1" - "@pyramation/protobufjs" "6.11.4" - dotty "0.1.2" - glob "8.0.3" - mkdirp "1.0.4" - "@osmonauts/proto-parser@^0.31.0": version "0.31.0" resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.31.0.tgz#41a613d9dcbbbf5070b197b9a7b0c95c8bd93a96" @@ -5161,6 +5082,18 @@ glob "8.0.3" mkdirp "1.0.4" +"@osmonauts/proto-parser@^0.32.0": + version "0.32.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.32.0.tgz#e714e731a695b60524197c5874aabe331e7ee15d" + integrity sha512-ptxgp9J5S9QPo5/xS3Ecd17DLuAYUpHE+1t/z0Pk+4URUUbuFW5jcAdK2lhZxrSHidDO+FvnCkmYLU/dthD41g== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/types" "^0.24.0" + "@pyramation/protobufjs" "6.11.5" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + "@osmonauts/telescope@0.69.0": version "0.69.0" resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.69.0.tgz#5ebb7eb0e53ea618feec6ab97d614af35ea35361" @@ -5199,28 +5132,28 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/telescope@^0.35.0": - version "0.35.0" - resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.35.0.tgz#d02477d491f6a095e5f163cdc1c958aff3582c69" - integrity sha512-Q1yAHFvONy3kV/U1/5Xp4H+cv5f++MOjMe9LcxqggtSvcanwj+RmUg89hacOpZovUrPP6Z1skHzYyPH8/Hj1Fg== +"@osmonauts/telescope@^0.72.0": + version "0.72.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.72.0.tgz#e317b527b70b2f73191f0ba58129c0c17eaa2999" + integrity sha512-3fw7qPGxOMHjLiBNzxcIXObThbuN4NzCLk98Gt7j7GrzgZaABCEYX9pTWfdx6g1RBs5vXAIM/TEib5qlTLHVNQ== dependencies: - "@babel/core" "7.18.13" - "@babel/generator" "7.18.13" - "@babel/parser" "^7.18.13" + "@babel/core" "7.19.3" + "@babel/generator" "7.19.3" + "@babel/parser" "^7.19.3" "@babel/plugin-proposal-class-properties" "7.18.6" "@babel/plugin-proposal-export-default-from" "7.18.10" "@babel/plugin-proposal-object-rest-spread" "7.18.9" - "@babel/plugin-transform-runtime" "7.18.10" - "@babel/preset-env" "7.18.10" + "@babel/plugin-transform-runtime" "7.19.1" + "@babel/preset-env" "7.19.3" "@babel/preset-typescript" "^7.17.12" - "@babel/runtime" "^7.18.9" - "@babel/traverse" "7.18.13" - "@babel/types" "7.18.13" - "@cosmwasm/ts-codegen" "0.16.1" - "@osmonauts/ast" "^0.31.0" - "@osmonauts/proto-parser" "^0.19.1" - "@osmonauts/types" "^0.15.1" - "@osmonauts/utils" "^0.4.0" + "@babel/runtime" "^7.19.0" + "@babel/traverse" "7.19.3" + "@babel/types" "7.19.3" + "@cosmwasm/ts-codegen" "0.17.0" + "@osmonauts/ast" "^0.63.0" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" "@types/parse-package-name" "0.1.0" case "1.6.3" dargs "7.0.0" @@ -5237,15 +5170,6 @@ rimraf "3.0.2" shelljs "0.8.5" -"@osmonauts/types@^0.15.1": - version "0.15.1" - resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.15.1.tgz#7f9ee9a7774ad77d7d2a987865fa6285ff89fea7" - integrity sha512-ZW0YWGT310SQ2V3w5rSRNNF6O6W7mm0fAkJUP+M0UzsQp1+KDT6nV+/E52Z6arPvN+mQGvWii1YmlQpTIIsTJw== - dependencies: - "@babel/runtime" "^7.18.9" - "@osmonauts/utils" "^0.4.0" - case "1.6.3" - "@osmonauts/types@^0.23.0": version "0.23.0" resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.23.0.tgz#252b605f46164d22e554ee479c52c8b62ffd9e85" @@ -5255,12 +5179,14 @@ "@osmonauts/utils" "^0.7.0" case "1.6.3" -"@osmonauts/utils@^0.4.0": - version "0.4.0" - resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.4.0.tgz" - integrity sha512-+4ThyiTxyiQiC+lK3aji1zXYnSmHy3DxvMYInEPFwHRWbsvixbq99TGP8jxhhBovtGsnSzPCE/296iuVGEA4MQ== +"@osmonauts/types@^0.24.0": + version "0.24.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.24.0.tgz#8ec5337b8b054e5d0ec2173ac530bb99687edb23" + integrity sha512-ui5yZXk9IDgn8g+NKGy2zpKewVr1FsgOxVQrWk1LAz/eKz1Sk3FH8UOc+Two9RzZa5rj2qna3LZcteV0lHQ8Sg== dependencies: - "@babel/runtime" "^7.18.9" + "@babel/runtime" "^7.19.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" "@osmonauts/utils@^0.7.0": version "0.7.0" @@ -5432,25 +5358,6 @@ mz "^2.7.0" prettier "^2.6.2" -"@pyramation/protobufjs@6.11.4": - version "6.11.4" - resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.4.tgz" - integrity sha512-SvWDkDSo3XOBCzLtjC36QYZOoeCw3/HGAi8wuVj6aM3HrFp6lKgYtxsQ0QymbnagDD582k/roGg3CcXfxeM2Hg== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" - "@types/node" ">=13.7.0" - long "^4.0.0" - "@pyramation/protobufjs@6.11.5": version "6.11.5" resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.5.tgz#c64904a7214f2d061de53eed166c882a369731c4" @@ -6773,10 +6680,10 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.2.0.tgz#73f18c583daa009367f3c68794cdb8866e8fcead" - integrity sha512-8A8Js1pKbefS0H17Yxa7Y+8tC3BEgCJLplBq/wbC/PxMSK8JSW/nprZHvvbn7JlG0uwpJM4SyvkIOtb98/Fk6g== +chain-registry@1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.0.tgz#e6eb74d2d4da09a5434b0375d79e6dcc5aebffb6" + integrity sha512-yK4G99PHYw0yH397fKHjo3ihmmfU96yFQ3H+8x2g1bM5lM7pG542SyEyTNzNmBnHiGzffpO21Iy/D6nuRZEfcQ== dependencies: "@babel/runtime" "^7.19.4" "@chain-registry/types" "^0.13.0" @@ -8963,19 +8870,18 @@ inquirerer@0.1.3: inquirer "^6.0.0" inquirer-autocomplete-prompt "^0.11.1" -interchain@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/interchain/-/interchain-1.0.0.tgz#ce4ac1a37f52f91898a77b4e372ab849b105b3ef" - integrity sha512-kl+rUW02DAFg9ejDVtHDqY3Qtt2AET0LQ6fD66h6zENG1mBZGXJV6VNgb3l+z/MfuSP1N36kocYvz56HFCoAww== +interchain@1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/interchain/-/interchain-1.1.0.tgz#19a2c70b36685540b333580ebf6da9a772f2dd06" + integrity sha512-hEBY+5qa2XE3fx7emllW+GyLlUYQo3NG72qfDtnTz3vN3I9ZSpF++Gk3wz8gj0ahtTDU/bwULZ4d/NYz/efYoA== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.0" "@cosmjs/proto-signing" "0.29.0" "@cosmjs/stargate" "0.29.0" "@cosmjs/tendermint-rpc" "^0.29.0" - "@osmonauts/helpers" "^0.6.0" - "@osmonauts/lcd" "^0.6.0" - "@osmonauts/telescope" "^0.35.0" + "@osmonauts/lcd" "^0.8.0" + "@osmonauts/telescope" "^0.72.0" protobufjs "^6.11.2" internal-slot@^1.0.3: @@ -13052,7 +12958,7 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -wasm-ast-types@^0.11.1, wasm-ast-types@^0.11.3: +wasm-ast-types@^0.11.3: version "0.11.3" resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== From 143f3cfe3ac57a15e6125e2ff7174bd3f6b25380 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 26 Oct 2022 16:46:00 -0700 Subject: [PATCH 194/262] chore(release): publish - @cosmonauts/cosmwasm@1.2.0 - @cosmonauts/juno@1.1.0 - @cosmonauts/osmosis-cosmwasm@1.2.0 - @cosmonauts/osmosis@1.1.0 - @cosmonauts/send-tokens@1.1.0 - @cosmonauts/stargaze@1.1.0 - @cosmonauts/tailwindcss@1.1.0 - create-cosmos-app@0.8.0 - create-cosmwasm-app@1.4.0 - create-juno-app@0.9.0 - create-osmosis-app@0.9.0 - create-stargaze-app@0.9.0 - @cosmonauts/connect-chain@0.8.0 - @cosmonauts/connect-multi-chain@0.8.0 --- examples/cosmwasm/CHANGELOG.md | 8 ++++++++ examples/cosmwasm/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 28 files changed, 130 insertions(+), 18 deletions(-) diff --git a/examples/cosmwasm/CHANGELOG.md b/examples/cosmwasm/CHANGELOG.md index 7c666f984..7e2d31889 100644 --- a/examples/cosmwasm/CHANGELOG.md +++ b/examples/cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/cosmwasm@1.1.0...@cosmonauts/cosmwasm@1.2.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/cosmwasm + + + + + # 1.1.0 (2022-10-24) **Note:** Version bump only for package @cosmonauts/cosmwasm diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index 66ca33098..461416b91 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/cosmwasm", - "version": "1.1.0", + "version": "1.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 1cefb4837..78585f9ee 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.3...@cosmonauts/juno@1.1.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.2...@cosmonauts/juno@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index ab16bdbdd..111d1b0c3 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index 4057ba67d..b84adcc5a 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.1.0...@cosmonauts/osmosis-cosmwasm@1.2.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.0.3...@cosmonauts/osmosis-cosmwasm@1.1.0) (2022-10-24) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 0e67c2cfd..cdeb195de 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.1.0", + "version": "1.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 45ee77e2e..1dddb39bd 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.3...@cosmonauts/osmosis@1.1.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.2...@cosmonauts/osmosis@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index a270d6544..f9ee8c5ec 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index bfa37cb74..63a4b562b 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.3...@cosmonauts/send-tokens@1.1.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.2...@cosmonauts/send-tokens@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 8b07e1f6e..4d762f644 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 558bd7e72..04135469e 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.3...@cosmonauts/stargaze@1.1.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.2...@cosmonauts/stargaze@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index af6d9f1e4..2d3c72c8e 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index 9c18c6fc0..0858d82a9 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.3...@cosmonauts/tailwindcss@1.1.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.2...@cosmonauts/tailwindcss@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 410ce2b14..1ca2ca39d 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "1.0.3", + "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index 16d24a86c..ecc9a2fd2 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.7.0...create-cosmos-app@0.8.0) (2022-10-26) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.6.1...create-cosmos-app@0.7.0) (2022-10-24) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index c39c51bae..24d20eafd 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.7.0", + "version": "0.8.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index bfef9abd7..f99cdd1f7 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.3.1...create-cosmwasm-app@1.4.0) (2022-10-26) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.3.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.3.0...create-cosmwasm-app@1.3.1) (2022-10-24) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index ea96a6f0e..f282d648b 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.3.1", + "version": "1.4.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.7.0", + "create-cosmos-app": "^0.8.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index b700ecc1f..8478445eb 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.8.0...create-juno-app@0.9.0) (2022-10-26) + +**Note:** Version bump only for package create-juno-app + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.7.1...create-juno-app@0.8.0) (2022-10-24) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 5b94f606e..f35801bce 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.8.0", + "version": "0.9.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.7.0", + "create-cosmos-app": "^0.8.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index c8b5ca768..b3be52d40 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.8.0...create-osmosis-app@0.9.0) (2022-10-26) + +**Note:** Version bump only for package create-osmosis-app + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.7.1...create-osmosis-app@0.8.0) (2022-10-24) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 64cb05540..3a8abc2c2 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.8.0", + "version": "0.9.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.7.0", + "create-cosmos-app": "^0.8.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 751f74cc7..ec2d60e28 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.8.0...create-stargaze-app@0.9.0) (2022-10-26) + +**Note:** Version bump only for package create-stargaze-app + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.7.1...create-stargaze-app@0.8.0) (2022-10-24) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 5e04f7f18..2d7fa58ea 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.8.0", + "version": "0.9.0", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.7.0", + "create-cosmos-app": "^0.8.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index dc3109a8f..ea0e8a931 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.3...@cosmonauts/connect-chain@0.8.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + ## [0.7.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.2...@cosmonauts/connect-chain@0.7.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 066ed0c7e..1d990305c 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.7.3", + "version": "0.8.0", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 236c0c0d9..3d69225e1 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.3...@cosmonauts/connect-multi-chain@0.8.0) (2022-10-26) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + ## [0.7.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.2...@cosmonauts/connect-multi-chain@0.7.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index d680dbfd3..bb0698f12 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.7.3", + "version": "0.8.0", "private": true, "scripts": { "dev": "next dev", From c61f207afcac3e2188674ea4d335838e19e5e83a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 26 Oct 2022 16:58:04 -0700 Subject: [PATCH 195/262] readme --- examples/cosmwasm/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cosmwasm/pages/index.tsx b/examples/cosmwasm/pages/index.tsx index 85c241b31..ff36bd50d 100644 --- a/examples/cosmwasm/pages/index.tsx +++ b/examples/cosmwasm/pages/index.tsx @@ -29,8 +29,8 @@ import { import { useHackCw20Balance } from "../hooks/use-hack-cw20-balance"; const library = { - title: "Interchain", - text: "Interchain", + title: "Telescope", + text: "telescope", href: "https://github.com/cosmology-tech/interchain", }; From 3af016b8916db40c90809bae2c428625d7056694 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 27 Oct 2022 13:31:25 -0700 Subject: [PATCH 196/262] upgrades --- examples/cosmwasm/package.json | 2 +- examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/package.json | 2 +- examples/send-tokens/package.json | 2 +- examples/stargaze/package.json | 2 +- examples/tailwindcss/package.json | 2 +- templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/package.json | 2 +- yarn.lock | 17 ++++++++++++----- 10 files changed, 21 insertions(+), 14 deletions(-) diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index 461416b91..f4a0af1c4 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -22,7 +22,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "interchain": "1.1.0", "next": "12.2.5", diff --git a/examples/juno/package.json b/examples/juno/package.json index 111d1b0c3..90ef00d05 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -21,7 +21,7 @@ "@emotion/styled": "11.10.4", "@juno-network/assets": "0.13.0", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "juno-network": "0.8.0", "next": "12.2.5", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index cdeb195de..41aa192e9 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -22,7 +22,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index f9ee8c5ec..b2d586e26 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -21,7 +21,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", "osmojs": "0.33.0", diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4d762f644..d6d31ea26 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -20,7 +20,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "interchain": "1.1.0", "next": "12.2.5", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 2d3c72c8e..4775bff9f 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -20,7 +20,7 @@ "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", "bignumber.js": "9.1.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 1ca2ca39d..cf6db3063 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -19,7 +19,7 @@ "@headlessui/react": "^1.7.3", "@heroicons/react": "^2.0.12", "bowser": "^2.11.0", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "copy-to-clipboard": "^3.3.2", "framer-motion": "7.3.6", "next": "12.2.5", diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 1d990305c..b390e2bb5 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -18,7 +18,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", "react": "18.2.0", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index bb0698f12..618dc4c1c 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -19,7 +19,7 @@ "@cosmos-kit/react": "0.18.6", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "chain-registry": "1.3.0", + "chain-registry": "1.3.1", "chakra-react-select": "4.2.2", "fast-fuzzy": "1.11.2", "framer-motion": "7.3.6", diff --git a/yarn.lock b/yarn.lock index 8afdf5be3..df795be6a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1617,6 +1617,13 @@ "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" +"@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + "@chakra-ui/accordion@2.1.1": version "2.1.1" resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.1.tgz#34a8ffe7eb5bd30f7e10db4ed61f80c53d8bfa18" @@ -6680,13 +6687,13 @@ caseless@~0.12.0: resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== -chain-registry@1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.0.tgz#e6eb74d2d4da09a5434b0375d79e6dcc5aebffb6" - integrity sha512-yK4G99PHYw0yH397fKHjo3ihmmfU96yFQ3H+8x2g1bM5lM7pG542SyEyTNzNmBnHiGzffpO21Iy/D6nuRZEfcQ== +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== dependencies: "@babel/runtime" "^7.19.4" - "@chain-registry/types" "^0.13.0" + "@chain-registry/types" "^0.13.1" chain-registry@^0.14.0: version "0.14.0" From e52d6e10523e5c0e23dedef721099b6d6054e53b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 27 Oct 2022 13:31:33 -0700 Subject: [PATCH 197/262] chore(release): publish - @cosmonauts/cosmwasm@1.2.1 - @cosmonauts/juno@1.1.1 - @cosmonauts/osmosis-cosmwasm@1.2.1 - @cosmonauts/osmosis@1.1.1 - @cosmonauts/send-tokens@1.1.1 - @cosmonauts/stargaze@1.1.1 - @cosmonauts/tailwindcss@1.1.1 - @cosmonauts/connect-chain@0.8.1 - @cosmonauts/connect-multi-chain@0.8.1 --- examples/cosmwasm/CHANGELOG.md | 8 ++++++++ examples/cosmwasm/package.json | 2 +- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 2 +- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 2 +- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 2 +- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 2 +- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 2 +- 18 files changed, 81 insertions(+), 9 deletions(-) diff --git a/examples/cosmwasm/CHANGELOG.md b/examples/cosmwasm/CHANGELOG.md index 7e2d31889..a5372c623 100644 --- a/examples/cosmwasm/CHANGELOG.md +++ b/examples/cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/cosmwasm@1.2.0...@cosmonauts/cosmwasm@1.2.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/cosmwasm + + + + + # [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/cosmwasm@1.1.0...@cosmonauts/cosmwasm@1.2.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/cosmwasm diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index f4a0af1c4..134f78d22 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/cosmwasm", - "version": "1.2.0", + "version": "1.2.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 78585f9ee..55a13b33a 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.1.0...@cosmonauts/juno@1.1.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/juno + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.0.3...@cosmonauts/juno@1.1.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 90ef00d05..e98debf3b 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/juno", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index b84adcc5a..ae8741eb8 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.2.0...@cosmonauts/osmosis-cosmwasm@1.2.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm + + + + + # [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.1.0...@cosmonauts/osmosis-cosmwasm@1.2.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 41aa192e9..ace5fc6d8 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis-cosmwasm", - "version": "1.2.0", + "version": "1.2.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 1dddb39bd..2715f5b6a 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.1.0...@cosmonauts/osmosis@1.1.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/osmosis + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.3...@cosmonauts/osmosis@1.1.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index b2d586e26..a93b4d880 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/osmosis", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 63a4b562b..065af14b0 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.1.0...@cosmonauts/send-tokens@1.1.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/send-tokens + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.0.3...@cosmonauts/send-tokens@1.1.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index d6d31ea26..4e62b2bbf 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/send-tokens", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index 04135469e..d9888fde7 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.1.0...@cosmonauts/stargaze@1.1.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/stargaze + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.0.3...@cosmonauts/stargaze@1.1.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 4775bff9f..0e977e326 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/stargaze", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index 0858d82a9..e1138dd12 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.1.0...@cosmonauts/tailwindcss@1.1.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/tailwindcss + + + + + # [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.0.3...@cosmonauts/tailwindcss@1.1.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index cf6db3063..aa0e670d9 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/tailwindcss", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index ea0e8a931..936e8a235 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.8.0...@cosmonauts/connect-chain@0.8.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/connect-chain + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.7.3...@cosmonauts/connect-chain@0.8.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index b390e2bb5..108bbe634 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-chain", - "version": "0.8.0", + "version": "0.8.1", "private": true, "scripts": { "dev": "next dev", diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 3d69225e1..61948aa5c 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.8.0...@cosmonauts/connect-multi-chain@0.8.1) (2022-10-27) + +**Note:** Version bump only for package @cosmonauts/connect-multi-chain + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.7.3...@cosmonauts/connect-multi-chain@0.8.0) (2022-10-26) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 618dc4c1c..adf967a36 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmonauts/connect-multi-chain", - "version": "0.8.0", + "version": "0.8.1", "private": true, "scripts": { "dev": "next dev", From 6441a9e58f6ade1c807f72d2cf79d19f9e4f2b7a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 27 Oct 2022 13:32:17 -0700 Subject: [PATCH 198/262] upgrade osmojs --- examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index ace5fc6d8..9af49f87e 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -25,7 +25,7 @@ "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.33.0", + "osmojs": "0.34.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index a93b4d880..d421e35d6 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -24,7 +24,7 @@ "chain-registry": "1.3.1", "framer-motion": "7.3.6", "next": "12.2.5", - "osmojs": "0.33.0", + "osmojs": "0.34.0", "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "4.4.0" diff --git a/yarn.lock b/yarn.lock index df795be6a..bfd818ba1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10777,10 +10777,10 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.33.0: - version "0.33.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.33.0.tgz#6fdfd89c422db8e3ec3a0c50c9469a62befd9603" - integrity sha512-asWIDfUEPiR7R0E4QKd7DxLXucYbfTkbHo4J8pawgJPqfKk2VynLdX11AXQE5mvDrfYP9Yc/C2oqfCMxpjkhFg== +osmojs@0.34.0: + version "0.34.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.34.0.tgz#32eb00947ce96c2b2908fe1c821ac6290995cf08" + integrity sha512-vzplPyxeheBIAXotMjZk7FEL/QmFHbjvPN4gV0B0VWMDSnky06L3Sl/YCfdFHmHCCXX2nBPgcaZ7JDWtElajPg== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.2" From 84a4d94f93e539faa7ac79490e65eb68d05e5a86 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 11:40:58 -0700 Subject: [PATCH 199/262] upgrade --- examples/contracts/package.json | 16 +- examples/cosmwasm/package.json | 24 +- examples/juno/package.json | 22 +- examples/osmosis-cosmwasm/package.json | 26 +- examples/osmosis/package.json | 26 +- examples/send-tokens/package.json | 22 +- examples/stargaze/package.json | 22 +- examples/tailwindcss/package.json | 16 +- examples/telescope/package.json | 16 +- packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/package.json | 2 +- packages/create-juno-app/package.json | 2 +- packages/create-osmosis-app/package.json | 2 +- packages/create-stargaze-app/package.json | 2 +- templates/connect-chain/package.json | 20 +- templates/connect-multi-chain/package.json | 24 +- yarn.lock | 679 +++++++++------------ 17 files changed, 417 insertions(+), 506 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 3432f1f07..368962165 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -11,18 +11,18 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "^2.0.11", - "@chakra-ui/react": "^2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/react": "0.18.6", + "@chakra-ui/react": "^2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/react": "0.19.0", "@cosmos-kit/types": "^0.11.0", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "@osmonauts/lcd": "^0.8.0", "bignumber.js": "9.1.0", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index 134f78d22..e67c6aed4 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -10,25 +10,25 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/osmosis": "1.2.0", - "@chain-registry/types": "0.13.0", + "@chain-registry/osmosis": "1.3.1", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "interchain": "1.1.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@cosmwasm/ts-codegen": "0.19.0", diff --git a/examples/juno/package.json b/examples/juno/package.json index e98debf3b..d7a7ed6df 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -9,25 +9,25 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "@juno-network/assets": "0.13.0", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "juno-network": "0.8.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 9af49f87e..71a4968e7 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -10,25 +10,25 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/osmosis": "1.2.0", - "@chain-registry/types": "0.13.0", + "@chain-registry/osmosis": "1.3.1", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", - "osmojs": "0.34.0", + "osmojs": "0.35.0", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@cosmwasm/ts-codegen": "0.19.0", diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index d421e35d6..e2163ef76 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -9,25 +9,25 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/osmosis": "1.2.0", - "@chain-registry/types": "0.13.0", + "@chain-registry/osmosis": "1.3.1", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", - "osmojs": "0.34.0", + "osmojs": "0.35.0", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 4e62b2bbf..fbf79901f 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -9,24 +9,24 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "interchain": "1.1.0", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 0e977e326..f722a3096 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -9,23 +9,23 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "bignumber.js": "9.1.0", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0", + "react-icons": "4.6.0", "stargaze-zone": "0.4.0" }, "devDependencies": { diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index aa0e670d9..5ccab893e 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -9,19 +9,19 @@ "lint": "next lint" }, "dependencies": { - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "@headlessui/react": "^1.7.3", "@heroicons/react": "^2.0.12", "bowser": "^2.11.0", "chain-registry": "1.3.1", "copy-to-clipboard": "^3.3.2", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "postcss": "^8.4.16", "qrcode.react": "^3.1.0", diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 9219be23d..31b266217 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -10,18 +10,18 @@ "codegen": "node scripts/codegen.js" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "^2.0.11", - "@chakra-ui/react": "^2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/react": "0.18.6", + "@chakra-ui/react": "^2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/react": "0.19.0", "@cosmos-kit/types": "^0.11.0", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "@osmonauts/lcd": "^0.8.0", "bignumber.js": "9.1.0", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 24d20eafd..4232b4220 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -83,7 +83,7 @@ "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", - "minimist": "1.2.6", + "minimist": "1.2.7", "mkdirp": "1.0.4", "shelljs": "0.8.5" }, diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index f282d648b..175daabaa 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -84,7 +84,7 @@ "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", - "minimist": "1.2.6", + "minimist": "1.2.7", "mkdirp": "1.0.4", "shelljs": "0.8.5" } diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index f35801bce..250daf8ac 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -84,7 +84,7 @@ "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", - "minimist": "1.2.6", + "minimist": "1.2.7", "mkdirp": "1.0.4", "shelljs": "0.8.5" } diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 3a8abc2c2..eb025d829 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -84,7 +84,7 @@ "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", - "minimist": "1.2.6", + "minimist": "1.2.7", "mkdirp": "1.0.4", "shelljs": "0.8.5" } diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 2d7fa58ea..5509d13e7 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -84,7 +84,7 @@ "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", - "minimist": "1.2.6", + "minimist": "1.2.7", "mkdirp": "1.0.4", "shelljs": "0.8.5" } diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 108bbe634..f1df2f411 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -10,20 +10,20 @@ }, "dependencies": { "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "chain-registry": "1.3.1", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index adf967a36..e5668d1e7 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -9,24 +9,24 @@ "lint": "next lint" }, "dependencies": { - "@chain-registry/types": "0.13.0", + "@chain-registry/types": "0.13.1", "@chakra-ui/icons": "2.0.11", - "@chakra-ui/react": "2.3.5", - "@cosmjs/cosmwasm-stargate": "0.29.2", - "@cosmjs/stargate": "0.29.2", - "@cosmos-kit/core": "0.19.9", - "@cosmos-kit/keplr": "0.19.7", - "@cosmos-kit/react": "0.18.6", - "@emotion/react": "11.10.4", - "@emotion/styled": "11.10.4", + "@chakra-ui/react": "2.3.6", + "@cosmjs/cosmwasm-stargate": "0.29.3", + "@cosmjs/stargate": "0.29.3", + "@cosmos-kit/core": "0.20.0", + "@cosmos-kit/keplr": "0.20.0", + "@cosmos-kit/react": "0.19.0", + "@emotion/react": "11.10.5", + "@emotion/styled": "11.10.5", "chain-registry": "1.3.1", - "chakra-react-select": "4.2.2", + "chakra-react-select": "4.4.0", "fast-fuzzy": "1.11.2", - "framer-motion": "7.3.6", + "framer-motion": "7.6.4", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", - "react-icons": "4.4.0" + "react-icons": "4.6.0" }, "devDependencies": { "@types/node": "18.7.11", diff --git a/yarn.lock b/yarn.lock index bfd818ba1..889f158c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1582,13 +1582,13 @@ "@keplr-wallet/crypto" "^0.10.24" semver "^7.3.7" -"@chain-registry/osmosis@1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.2.0.tgz#af2dbab243d62a58573655564658eec1e62ee1c9" - integrity sha512-2ck5PxQGyz/4qzhKBBRAd2manU/1jhiLm7l6dxKp7z9bQu8iSsEMbuIrCyML354tx2qCG/Ly52ZO5qnjl95wlA== +"@chain-registry/osmosis@1.3.1": + version "1.3.1" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.3.1.tgz#5604a039e1e9789d79ccb2736407dacdb108f7ce" + integrity sha512-JvoNRJ8ja9M+evWVHz0skmz/61stwkYwP/qUOsbSPhOEsn61R3QYQhqvW0SdasWBUIWzDoa1taddVqYAvvIKhg== dependencies: "@babel/runtime" "^7.19.4" - "@chain-registry/types" "^0.13.0" + "@chain-registry/types" "^0.13.1" "@chain-registry/types@0.11.0": version "0.11.0" @@ -1599,14 +1599,12 @@ "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" -"@chain-registry/types@0.13.0", "@chain-registry/types@^0.13.0": - version "0.13.0" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.0.tgz#ab910f229579b33c152de468c3eead562f7aee4c" - integrity sha512-2xgKaRK6T3qkkzWkj2n5nHzGNl+0RuDDB8nS+oyssBe4tCq835yMkxrVAOivFfEm5YGl92FcaVDLrzmfPUO0MA== +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== dependencies: "@babel/runtime" "^7.19.4" - "@keplr-wallet/cosmos" "^0.11.12" - "@keplr-wallet/crypto" "^0.11.12" "@chain-registry/types@^0.11.0": version "0.11.1" @@ -1617,25 +1615,6 @@ "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" -"@chain-registry/types@^0.13.1": - version "0.13.1" - resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" - integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== - dependencies: - "@babel/runtime" "^7.19.4" - -"@chakra-ui/accordion@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.1.tgz#34a8ffe7eb5bd30f7e10db4ed61f80c53d8bfa18" - integrity sha512-5f4QBl/0EgU/9EVvzlj8ZU7SWwG6nUHCE9moGBCbgiIOVBEySxZ5Robsk6+T7sXmzQ41db04GcUE9NRKdalgIA== - dependencies: - "@chakra-ui/descendant" "3.0.10" - "@chakra-ui/icon" "3.0.11" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/transition" "2.0.10" - "@chakra-ui/accordion@2.1.2": version "2.1.2" resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" @@ -1662,15 +1641,6 @@ resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== -"@chakra-ui/avatar@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.1.1.tgz#7482d7cda4736dfa9e4b4eefd5cbb8c5b1486c64" - integrity sha512-lTZPUq4Pefxgv3ndyJMxIHgFrXwdz2VZFCLF/aKcuGaUlB7TBYaCurQ7TNbME8j8VkJWNX+vKiVHPYvxsrITwQ== - dependencies: - "@chakra-ui/image" "2.0.11" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/avatar@2.2.0": version "2.2.0" resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" @@ -1680,14 +1650,6 @@ "@chakra-ui/react-children-utils" "2.0.3" "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/breadcrumb@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.0.10.tgz#2b01e7422e171d1de1a8ca8c8e2a774c8449701b" - integrity sha512-roKFA7nheq18eWNAdrHV6w8A9vZMSQTEEsbL6eU0lhUkolW9RlDjBl1bZvE7icFkNFXlJ33n8+0QAezLI+mMrQ== - dependencies: - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/breadcrumb@2.1.0": version "2.1.0" resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" @@ -1710,22 +1672,6 @@ "@chakra-ui/react-use-merge-refs" "2.0.4" "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/checkbox@2.2.1": - version "2.2.1" - resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.1.tgz#3e88337f4588bb8bbc37da0102653b35991d736d" - integrity sha512-soTeXEI+4UZSA4B4rRLpdh3cIW/gdhY6k0eXF4ZWExPb+dJ5Giv497S96vS4IGE7SJ7Ugw9kaWS+do2lSiPJew== - dependencies: - "@chakra-ui/form-control" "2.0.11" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/react-use-safe-layout-effect" "2.0.2" - "@chakra-ui/react-use-update-effect" "2.0.4" - "@chakra-ui/visually-hidden" "2.0.11" - "@zag-js/focus-visible" "0.1.0" - "@chakra-ui/checkbox@2.2.2": version "2.2.2" resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" @@ -1794,21 +1740,6 @@ resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== -"@chakra-ui/editable@2.0.12": - version "2.0.12" - resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.12.tgz#935d100cdce18268c9bf716ec9192b4b46253ffb" - integrity sha512-37bDqm+j2JTN2XR443KRK9MmHHIQuS6fN+2TRuFgjfG8TomxxCJnhJ3GIfQSKh5Yjtnt4sXDmL4L0tyDpNrrrw== - dependencies: - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/react-use-safe-layout-effect" "2.0.2" - "@chakra-ui/react-use-update-effect" "2.0.4" - "@chakra-ui/shared-utils" "2.0.2" - "@chakra-ui/editable@2.0.13": version "2.0.13" resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" @@ -1847,16 +1778,6 @@ "@chakra-ui/react-types" "2.0.3" "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/hooks@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.0.11.tgz#465ee4720c0e76900a4a4480c347d6c91bb4848e" - integrity sha512-mYN4u9lbjDjEr/VucrVcLGg/sIO6gA9ZprcT3n9CBGSWt3xih7fCOJmE+yRcCNbL7335AMrv7a/M5Q30aRArcA== - dependencies: - "@chakra-ui/react-utils" "2.0.8" - "@chakra-ui/utils" "2.0.11" - compute-scroll-into-view "1.0.14" - copy-to-clipboard "3.3.1" - "@chakra-ui/hooks@2.1.0": version "2.1.0" resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" @@ -1888,17 +1809,6 @@ dependencies: "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/input@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.11.tgz#1d37093f2128f3148551b22c43f623256c856940" - integrity sha512-kaV0VCz6/yzoCKQnh/tMUVgh+Rp6EnM+WzJ37SVX1gDvErON2bmmVLU45BiRoWUcd50wOhDlpsNVUWP0sLlCDA== - dependencies: - "@chakra-ui/form-control" "2.0.11" - "@chakra-ui/object-utils" "2.0.4" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/shared-utils" "2.0.2" - "@chakra-ui/input@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" @@ -1910,18 +1820,6 @@ "@chakra-ui/react-context" "2.0.4" "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/layout@2.1.8": - version "2.1.8" - resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.8.tgz#5bab204e33079527e0756e2f3616718888b5f14d" - integrity sha512-pcNUNgMh+e4wepNOlCg5iDrxGg4VFBpqZPmSHoP4TyPN2ddEnDRLoMLaREMoX7gEVyTsqEFOFg+wa3JZK32H4A== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.4" - "@chakra-ui/icon" "3.0.11" - "@chakra-ui/object-utils" "2.0.4" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/shared-utils" "2.0.2" - "@chakra-ui/layout@2.1.9": version "2.1.9" resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" @@ -1952,26 +1850,6 @@ "@chakra-ui/breakpoint-utils" "2.0.4" "@chakra-ui/react-env" "2.0.10" -"@chakra-ui/menu@2.1.1": - version "2.1.1" - resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.1.tgz#de2b6da5c1267513a7c4b2ae73eff6ea4848a326" - integrity sha512-9fpCyV3vufLV5Rvv/oYC3LyCIkNqh0bEdYFVOLiqCZ6mt6NLFxL2jgE25nROYfDXQuBkY0qPC9IopYU198G4nw== - dependencies: - "@chakra-ui/clickable" "2.0.10" - "@chakra-ui/descendant" "3.0.10" - "@chakra-ui/lazy-utils" "2.0.2" - "@chakra-ui/popper" "3.0.8" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-use-animation-state" "2.0.5" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-disclosure" "2.0.5" - "@chakra-ui/react-use-focus-effect" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/react-use-outside-click" "2.0.4" - "@chakra-ui/react-use-update-effect" "2.0.4" - "@chakra-ui/transition" "2.0.10" - "@chakra-ui/menu@2.1.2": version "2.1.2" resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" @@ -1992,21 +1870,6 @@ "@chakra-ui/react-use-update-effect" "2.0.4" "@chakra-ui/transition" "2.0.11" -"@chakra-ui/modal@2.2.1": - version "2.2.1" - resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.1.tgz#2903d1e0a0a5ab308db2ce5e3f6382eed20e702a" - integrity sha512-+zfiUG/yZqUQ0wY7syoZg01cpBf54lbKUe7+ANEx558UQGbsI4bbcHSkY9l5lsprQ8teInvhjb6BekeCA0e7TA== - dependencies: - "@chakra-ui/close-button" "2.0.11" - "@chakra-ui/focus-lock" "2.0.12" - "@chakra-ui/portal" "2.0.10" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/transition" "2.0.10" - aria-hidden "^1.1.1" - react-remove-scroll "^2.5.4" - "@chakra-ui/modal@2.2.2": version "2.2.2" resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" @@ -2049,17 +1912,6 @@ resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== -"@chakra-ui/pin-input@2.0.14": - version "2.0.14" - resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.14.tgz#8b5a1817c508bf0c986c6855245b0dc516a14df8" - integrity sha512-gFNlTUjU1xIuOErR/d/HrNNh1mS0erjNJSt5C6RU/My4lShzgCczmwnil7TuEx3k7lPqHKLEf/CGeCxBSUjaGA== - dependencies: - "@chakra-ui/descendant" "3.0.10" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/pin-input@2.0.15": version "2.0.15" resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" @@ -2104,13 +1956,6 @@ "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/progress@2.0.11": - version "2.0.11" - resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.11.tgz#f17a08f6d5dd59334ad705501debcbc031e0843d" - integrity sha512-2OwxGxI6W757QpDB6b++B4b2+t0oBgaQdHnd4/y35n3+mOFj++Wg7XpW4/iDHn+x3LkM+X3NIgdBWQFlmGx+6w== - dependencies: - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/progress@2.0.12": version "2.0.12" resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" @@ -2118,17 +1963,6 @@ dependencies: "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/provider@2.0.19": - version "2.0.19" - resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.19.tgz#6364df6b1f5058f77c270030b122f6614cdb69c4" - integrity sha512-V+p0OePre0OgYmNxLbfiPWWbzaJ/EM2sfaRtD7E6ZA4TjUl2m4pWdC6OPMOiklu7EALfSgVk9X6Jh5pc+moH1g== - dependencies: - "@chakra-ui/css-reset" "2.0.8" - "@chakra-ui/portal" "2.0.10" - "@chakra-ui/react-env" "2.0.10" - "@chakra-ui/system" "2.2.12" - "@chakra-ui/utils" "2.0.11" - "@chakra-ui/provider@2.0.20": version "2.0.20" resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" @@ -2151,11 +1985,6 @@ "@chakra-ui/react-use-merge-refs" "2.0.4" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/react-children-utils@2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.2.tgz#8676ce88573ad1824989399db8a1ec7e51afc0d0" - integrity sha512-mRTGAZ3DBXB3hgVwS2DVJe3Nlc0qGvMN0PAo4tD/3fj2op2IwspLcYPAWC5D/rI2xj2JlwE6szAtbvxdAfLCNw== - "@chakra-ui/react-children-utils@2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" @@ -2295,61 +2124,7 @@ dependencies: "@chakra-ui/utils" "2.0.11" -"@chakra-ui/react@2.3.5", "@chakra-ui/react@^2.3.5": - version "2.3.5" - resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.5.tgz#0f11a6ede3e90e334bab604e7a2c56e0d0fa930e" - integrity sha512-bQDRV23M3IvF0+AorTvqJmG/4T6KKQIb+1XGA2RyxonoSHVt89HbN3qnygHJw06Sdgpclxdbr/1qZ4o8+SMbpA== - dependencies: - "@chakra-ui/accordion" "2.1.1" - "@chakra-ui/alert" "2.0.11" - "@chakra-ui/avatar" "2.1.1" - "@chakra-ui/breadcrumb" "2.0.10" - "@chakra-ui/button" "2.0.11" - "@chakra-ui/checkbox" "2.2.1" - "@chakra-ui/close-button" "2.0.11" - "@chakra-ui/control-box" "2.0.10" - "@chakra-ui/counter" "2.0.10" - "@chakra-ui/css-reset" "2.0.8" - "@chakra-ui/editable" "2.0.12" - "@chakra-ui/form-control" "2.0.11" - "@chakra-ui/hooks" "2.0.11" - "@chakra-ui/icon" "3.0.11" - "@chakra-ui/image" "2.0.11" - "@chakra-ui/input" "2.0.11" - "@chakra-ui/layout" "2.1.8" - "@chakra-ui/live-region" "2.0.10" - "@chakra-ui/media-query" "3.2.7" - "@chakra-ui/menu" "2.1.1" - "@chakra-ui/modal" "2.2.1" - "@chakra-ui/number-input" "2.0.12" - "@chakra-ui/pin-input" "2.0.14" - "@chakra-ui/popover" "2.1.1" - "@chakra-ui/popper" "3.0.8" - "@chakra-ui/portal" "2.0.10" - "@chakra-ui/progress" "2.0.11" - "@chakra-ui/provider" "2.0.19" - "@chakra-ui/radio" "2.0.12" - "@chakra-ui/react-env" "2.0.10" - "@chakra-ui/select" "2.0.12" - "@chakra-ui/skeleton" "2.0.17" - "@chakra-ui/slider" "2.0.12" - "@chakra-ui/spinner" "2.0.10" - "@chakra-ui/stat" "2.0.11" - "@chakra-ui/styled-system" "2.3.4" - "@chakra-ui/switch" "2.0.13" - "@chakra-ui/system" "2.2.12" - "@chakra-ui/table" "2.0.11" - "@chakra-ui/tabs" "2.1.3" - "@chakra-ui/tag" "2.0.11" - "@chakra-ui/textarea" "2.0.12" - "@chakra-ui/theme" "2.1.13" - "@chakra-ui/toast" "3.0.13" - "@chakra-ui/tooltip" "2.2.0" - "@chakra-ui/transition" "2.0.10" - "@chakra-ui/utils" "2.0.11" - "@chakra-ui/visually-hidden" "2.0.11" - -"@chakra-ui/react@^2.2.9": +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9", "@chakra-ui/react@^2.3.6": version "2.3.6" resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== @@ -2461,13 +2236,6 @@ csstype "^3.0.11" lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.13": - version "2.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.13.tgz#1736a501daaeedab295b166c176cd2fd990adac3" - integrity sha512-Ikj0L+SLLs/SnfGCiUChaldLIr/aizA1Q9D5+X6LtxpBnixFK/+fNXU+3juPDi9G1IFuNz2IAG51souO7C4nSQ== - dependencies: - "@chakra-ui/checkbox" "2.2.1" - "@chakra-ui/switch@2.0.14": version "2.0.14" resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" @@ -2475,17 +2243,6 @@ dependencies: "@chakra-ui/checkbox" "2.2.2" -"@chakra-ui/system@2.2.12": - version "2.2.12" - resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.2.12.tgz#6792afebbebb21e03a4cbf6c0de79739f230acfc" - integrity sha512-I7hFQswp8tG6ogjEMFs5TsCItdCYuNxpLAULgUrLdOlsQeNnHNQhlL4zpIfD+VzguhsNy5lisbegAMKjdghTYg== - dependencies: - "@chakra-ui/color-mode" "2.1.9" - "@chakra-ui/react-utils" "2.0.8" - "@chakra-ui/styled-system" "2.3.4" - "@chakra-ui/utils" "2.0.11" - react-fast-compare "3.2.0" - "@chakra-ui/system@2.3.0": version "2.3.0" resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" @@ -2505,20 +2262,6 @@ dependencies: "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/tabs@2.1.3": - version "2.1.3" - resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.3.tgz#17f462c7798292142a78938ae2e66781fe79c6da" - integrity sha512-9gUcj49LMt5QQnfJHR/ctr9VPttJ97CtQWuH2Irjb3RXkq1TRrz6wjythPImNQUv1/DYyXp2jsUhoEQc4Oz14Q== - dependencies: - "@chakra-ui/clickable" "2.0.10" - "@chakra-ui/descendant" "3.0.10" - "@chakra-ui/lazy-utils" "2.0.2" - "@chakra-ui/react-children-utils" "2.0.2" - "@chakra-ui/react-context" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.5" - "@chakra-ui/react-use-merge-refs" "2.0.4" - "@chakra-ui/react-use-safe-layout-effect" "2.0.2" - "@chakra-ui/tabs@2.1.4": version "2.1.4" resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" @@ -2565,14 +2308,6 @@ "@chakra-ui/theme" "2.1.14" lodash.mergewith "4.6.2" -"@chakra-ui/theme@2.1.13": - version "2.1.13" - resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.13.tgz#51e76179048cf87c0cb551a619a49d183246550e" - integrity sha512-qbrrvn9JstyLFV2qyhwgnhwzVs4zSJ4PcS3ScL8kafXJazTRU6onbCcjEZ5mVCw6z8uEz3jcE8Y5KIhVzaB+Xw== - dependencies: - "@chakra-ui/anatomy" "2.0.7" - "@chakra-ui/theme-tools" "2.0.12" - "@chakra-ui/theme@2.1.14": version "2.1.14" resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" @@ -2581,19 +2316,6 @@ "@chakra-ui/anatomy" "2.0.7" "@chakra-ui/theme-tools" "2.0.12" -"@chakra-ui/toast@3.0.13": - version "3.0.13" - resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-3.0.13.tgz#e23f6a9c6cc373a78f66f465625b9777d8277033" - integrity sha512-5GADso5l5Tv1PAL1iocEneLs6U7I8HHMHSMvWdPFSmmJJh0XCH3fboh0C9LiFNIcnEGJmn+A5yGc4vjedA0h2A== - dependencies: - "@chakra-ui/alert" "2.0.11" - "@chakra-ui/close-button" "2.0.11" - "@chakra-ui/portal" "2.0.10" - "@chakra-ui/react-use-timeout" "2.0.2" - "@chakra-ui/react-use-update-effect" "2.0.4" - "@chakra-ui/styled-system" "2.3.4" - "@chakra-ui/theme" "2.1.13" - "@chakra-ui/toast@4.0.0": version "4.0.0" resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" @@ -2619,11 +2341,6 @@ "@chakra-ui/react-use-event-listener" "2.0.4" "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/transition@2.0.10": - version "2.0.10" - resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.10.tgz#a1ab786f4c2d0e41eb02dfd0f2f8f48a0bc9e35b" - integrity sha512-Tkkne8pIIY7f95TKt2aH+IAuQqzHmEt+ICPqvg74QbmIpKE5ptX0cd+P3swBANw4ACnJcCc2vWIaKmVBQ9clLw== - "@chakra-ui/transition@2.0.11": version "2.0.11" resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" @@ -2692,19 +2409,29 @@ "@cosmjs/math" "^0.29.2" "@cosmjs/utils" "^0.29.2" -"@cosmjs/cosmwasm-stargate@0.29.2", "@cosmjs/cosmwasm-stargate@^0.29.1": - version "0.29.2" - resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.2.tgz#c35f2aa26f310f642a0e296b93eee53bd652771b" - integrity sha512-NC3e0QOJR0iTpexPogEDiJgQ1HIIL6fahowLmmsTO60RbnARd/gEjf5AmdJ/6I8KigN8pSqQOr9Yvu6M73/9yg== - dependencies: - "@cosmjs/amino" "^0.29.2" - "@cosmjs/crypto" "^0.29.2" - "@cosmjs/encoding" "^0.29.2" - "@cosmjs/math" "^0.29.2" - "@cosmjs/proto-signing" "^0.29.2" - "@cosmjs/stargate" "^0.29.2" - "@cosmjs/tendermint-rpc" "^0.29.2" - "@cosmjs/utils" "^0.29.2" +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" cosmjs-types "^0.5.2" long "^4.0.0" pako "^2.0.2" @@ -2726,6 +2453,23 @@ long "^4.0.0" pako "^2.0.2" +"@cosmjs/cosmwasm-stargate@^0.29.1": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.2.tgz#c35f2aa26f310f642a0e296b93eee53bd652771b" + integrity sha512-NC3e0QOJR0iTpexPogEDiJgQ1HIIL6fahowLmmsTO60RbnARd/gEjf5AmdJ/6I8KigN8pSqQOr9Yvu6M73/9yg== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stargate" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + "@cosmjs/crypto@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz" @@ -2783,6 +2527,19 @@ elliptic "^6.5.3" libsodium-wrappers "^0.7.6" +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + "@cosmjs/encoding@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz" @@ -2828,6 +2585,15 @@ bech32 "^1.1.4" readonly-date "^1.0.0" +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + "@cosmjs/json-rpc@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" @@ -2852,6 +2618,14 @@ "@cosmjs/stream" "^0.29.2" xstream "^11.14.0" +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": version "0.24.1" resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" @@ -2899,6 +2673,13 @@ dependencies: bn.js "^5.2.0" +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + "@cosmjs/proto-signing@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" @@ -2960,6 +2741,19 @@ long "^4.0.0" protobufjs "~6.10.2" +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + "@cosmjs/socket@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" @@ -2990,6 +2784,16 @@ ws "^7" xstream "^11.14.0" +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + "@cosmjs/stargate@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" @@ -3062,6 +2866,24 @@ protobufjs "~6.11.3" xstream "^11.14.0" +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + "@cosmjs/stream@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" @@ -3083,6 +2905,13 @@ dependencies: xstream "^11.14.0" +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + "@cosmjs/tendermint-rpc@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" @@ -3131,6 +2960,22 @@ readonly-date "^1.0.0" xstream "^11.14.0" +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + "@cosmjs/utils@0.28.13": version "0.28.13" resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" @@ -3156,6 +3001,11 @@ resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.2.tgz#1a32338f40decb8ec60b45e9b14476df66e2d915" integrity sha512-gckp8mbNXF8XCAEwCzH90fpaA0K2O9CC5Rg5v75zsRySYkAaoJIm9f+f8yW2qn6ADge2BnmIT1IkAfmswThCJQ== +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + "@cosmjson/wasmswap@^0.0.9": version "0.0.9" resolved "https://registry.npmjs.org/@cosmjson/wasmswap/-/wasmswap-0.0.9.tgz" @@ -3171,10 +3021,10 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.19.9", "@cosmos-kit/core@^0.19.9": - version "0.19.9" - resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.19.9.tgz#7c984dc3bea19d6e520ae3872667326f6492211e" - integrity sha512-f59sKsu/T3tsGvpbdUmUeXcUAYMZq3/sz6NcwebD/Zpjml5kES4lj7s/LUX5O7Njs8cD5GNbmIcBtJanS6dKBA== +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -3189,16 +3039,16 @@ "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" -"@cosmos-kit/keplr@0.19.7": - version "0.19.7" - resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.19.7.tgz#7d2499706775f2e828c4ec31589a63fd736a62f8" - integrity sha512-lsm54F7Zi1YH3BhuiddA7Q+D6tLrmvG5GvN86duOhqIAt6zQ96iK6Z0r1ZzBHJpELob40OZYpLJkXRq6UDo2PQ== +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/keplr" "1.0.0" "@chain-registry/types" "^0.11.0" "@chakra-ui/react" "^2.2.9" - "@cosmos-kit/core" "^0.19.9" + "@cosmos-kit/core" "^0.20.0" "@emotion/react" "^11" "@emotion/styled" "^11" "@keplr-wallet/types" "^0.11.3" @@ -3229,10 +3079,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.18.6": - version "0.18.6" - resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.18.6.tgz#617d351803311faa96295cce3a9fb6072f872d71" - integrity sha512-WrecEa4GHwoao/fDtt2+UA1aWSvRLOlSz78AgoecxIBZASsfRMPS0dxL6gyXij0gvXvCgPna9Re3Lmgu2Umozw== +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -3342,6 +3192,24 @@ source-map "^0.5.7" stylis "4.0.13" +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + "@emotion/cache@^11.10.0", "@emotion/cache@^11.4.0": version "11.10.3" resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" @@ -3353,6 +3221,17 @@ "@emotion/weak-memoize" "^0.3.0" stylis "4.0.13" +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + "@emotion/hash@^0.9.0": version "0.9.0" resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" @@ -3382,7 +3261,21 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@11.10.4", "@emotion/react@^11", "@emotion/react@^11.8.1": +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11", "@emotion/react@^11.8.1": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== @@ -3407,12 +3300,40 @@ "@emotion/utils" "^1.2.0" csstype "^3.0.2" +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + "@emotion/sheet@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== -"@emotion/styled@11.10.4", "@emotion/styled@^11": +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== @@ -3507,6 +3428,18 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" +"@floating-ui/core@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@floating-ui/core/-/core-1.0.1.tgz#00e64d74e911602c8533957af0cce5af6b2e93c8" + integrity sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA== + +"@floating-ui/dom@^1.0.1": + version "1.0.4" + resolved "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.4.tgz#cc0f2a03db7193b1b932b90d09c5c81235682a60" + integrity sha512-maYJRv+sAXTy4K9mzdv0JPyNW5YPVHrqtY90tEdI6XNpuLOP26Ci2pfwPsKBA/Wh4Z3FX5sUrtUFTdMYj9v+ug== + dependencies: + "@floating-ui/core" "^1.0.1" + "@gar/promisify@^1.0.1": version "1.1.3" resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz" @@ -3876,23 +3809,6 @@ long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/cosmos@^0.11.12": - version "0.11.12" - resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.11.12.tgz#8c0485363c909b3aeea357d3e7f0cbde51faa33a" - integrity sha512-5p0yIcOO183nY21+/d6dblZIiJKKTN2Bd/Dm8kA0+FqDlPDxnpCQukWsrNNb7Sctci94DYDAVYYa2vmacFUGRQ== - dependencies: - "@cosmjs/launchpad" "^0.24.0-alpha.25" - "@ethersproject/address" "^5.6.0" - "@keplr-wallet/crypto" "0.11.12" - "@keplr-wallet/proto-types" "0.11.12" - "@keplr-wallet/types" "0.11.12" - "@keplr-wallet/unit" "0.11.12" - axios "^0.27.2" - bech32 "^1.1.4" - buffer "^6.0.3" - long "^4.0.0" - protobufjs "^6.11.2" - "@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": version "0.10.24" resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" @@ -3906,7 +3822,7 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/crypto@0.11.12", "@keplr-wallet/crypto@^0.11.12": +"@keplr-wallet/crypto@0.11.12": version "0.11.12" resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== @@ -3928,14 +3844,6 @@ long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/proto-types@0.11.12": - version "0.11.12" - resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.11.12.tgz#f28849965fe201f88f207bf2c236ff103dbc4427" - integrity sha512-w3p95oOgGc4pzj5Xrtopea+gw8pjEbjwUwCmjhAEXX0IIGFa0iPuy+O6Vmv35VgtiseT6+lx+TTNChFaECKPIQ== - dependencies: - long "^4.0.0" - protobufjs "^6.11.2" - "@keplr-wallet/provider@0.11.12": version "0.11.12" resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" @@ -3986,15 +3894,6 @@ big-integer "^1.6.48" utility-types "^3.10.0" -"@keplr-wallet/unit@0.11.12": - version "0.11.12" - resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.11.12.tgz#5fbb9a35d8250b52c6e85757554ec59190a4bcc8" - integrity sha512-ZvVm/iFOq/7NfytTznOE6M8iQPaprGT/ew6Rtd5kMDenvR12uH6HMnwzOMqfuJqi9o1vnyqXL2RRi+GqVgaL4A== - dependencies: - "@keplr-wallet/types" "0.11.12" - big-integer "^1.6.48" - utility-types "^3.10.0" - "@keplr-wallet/wc-client@^0.11.3": version "0.11.12" resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" @@ -6703,12 +6602,12 @@ chain-registry@^0.14.0: "@babel/runtime" "^7.19.0" "@chain-registry/types" "^0.11.0" -chakra-react-select@4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.2.2.tgz" - integrity sha512-22PjDlhk4341jCofxQQhNtfI6YPoeE5hpppJACAquLvRzs9y6lgTUTm+fhOhWUwzQ4SF++1jC5bt/G3bxsJvZQ== +chakra-react-select@4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.4.0.tgz#ba4478b8356fbcd750d108be3075fd10e870a819" + integrity sha512-7lPPsaxDoaPEH0aPZazDc0mTzsUQq46nB2EAQtp2IWj2p2+ngmp/xHieT3NEGD1kMy9hGcS/y3kcGVcUabL1UQ== dependencies: - react-select "^5.4.0" + react-select "^5.5.7" chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" @@ -8177,10 +8076,10 @@ fraction.js@^4.2.0: resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== -framer-motion@7.3.6: - version "7.3.6" - resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.3.6.tgz" - integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== dependencies: "@motionone/dom" "10.13.1" framesync "6.1.2" @@ -10095,10 +9994,10 @@ md5@~2.2.1: crypt "~0.0.1" is-buffer "~1.1.1" -memoize-one@^5.0.0: - version "5.2.1" - resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz" - integrity sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q== +memoize-one@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045" + integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw== memoizee@^0.4.15: version "0.4.15" @@ -10219,6 +10118,11 @@ minimist@1.2.6, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== +minimist@1.2.7: + version "1.2.7" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz" @@ -10777,10 +10681,10 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -osmojs@0.34.0: - version "0.34.0" - resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.34.0.tgz#32eb00947ce96c2b2908fe1c821ac6290995cf08" - integrity sha512-vzplPyxeheBIAXotMjZk7FEL/QmFHbjvPN4gV0B0VWMDSnky06L3Sl/YCfdFHmHCCXX2nBPgcaZ7JDWtElajPg== +osmojs@0.35.0: + version "0.35.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.35.0.tgz#19eddd259992195fe8c9aa265b83553b93167f75" + integrity sha512-6Kv4kJ1ykB6QpHXdBKj9NV8DseQbG5KLDimT9A5c/vdg4OO6+P7cCMd5wTfQhiTfNh8ccOET5MYgISdNUkzDAg== dependencies: "@babel/runtime" "^7.19.0" "@cosmjs/amino" "0.29.2" @@ -11395,12 +11299,7 @@ react-focus-lock@^2.9.1: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-icons@4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.4.0.tgz" - integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== - -react-icons@^4.4.0: +react-icons@4.6.0, react-icons@^4.4.0: version "4.6.0" resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== @@ -11434,18 +11333,20 @@ react-remove-scroll@^2.5.4: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-select@^5.4.0: - version "5.4.0" - resolved "https://registry.npmjs.org/react-select/-/react-select-5.4.0.tgz" - integrity sha512-CjE9RFLUvChd5SdlfG4vqxZd55AZJRrLrHzkQyTYeHlpOztqcgnyftYAolJ0SGsBev6zAs6qFrjm6KU3eo2hzg== +react-select@^5.5.7: + version "5.5.9" + resolved "https://registry.npmjs.org/react-select/-/react-select-5.5.9.tgz#02f5664e9feff3cabd28f0748bb0e4a3d5438b7b" + integrity sha512-68/sd6KmHS2ISCz9PcDhXidGCjFvc1Q1u8yaxSdo8pT7MkKehID/zMoco304+XtdE79DP0Nq8Fz7ROAb7GJ5Xg== dependencies: "@babel/runtime" "^7.12.0" "@emotion/cache" "^11.4.0" "@emotion/react" "^11.8.1" + "@floating-ui/dom" "^1.0.1" "@types/react-transition-group" "^4.4.0" - memoize-one "^5.0.0" + memoize-one "^6.0.0" prop-types "^15.6.0" react-transition-group "^4.3.0" + use-isomorphic-layout-effect "^1.1.2" react-style-singleton@^2.2.1: version "2.2.1" @@ -12360,6 +12261,11 @@ stylis@4.0.13: resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + supports-color@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" @@ -12871,6 +12777,11 @@ use-callback-ref@^1.3.0: dependencies: tslib "^2.0.0" +use-isomorphic-layout-effect@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz#497cefb13d863d687b08477d9e5a164ad8c1a6fb" + integrity sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA== + use-sidecar@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" From b170476774159ef6493946dbdfd099acf82e213d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 12:51:18 -0700 Subject: [PATCH 200/262] locks --- examples/contracts/package.json | 6 +- examples/contracts/yarn.lock | 3232 ++++++++++ examples/cosmwasm/package.json | 6 +- examples/cosmwasm/yarn.lock | 6181 ++++++++++++++++++++ examples/juno/package.json | 8 +- examples/juno/yarn.lock | 3488 +++++++++++ examples/osmosis-cosmwasm/package.json | 6 +- examples/osmosis-cosmwasm/yarn.lock | 3418 +++++++++++ examples/osmosis/package.json | 8 +- examples/osmosis/yarn.lock | 3418 +++++++++++ examples/send-tokens/package.json | 8 +- examples/send-tokens/yarn.lock | 6173 +++++++++++++++++++ examples/stargaze/package.json | 8 +- examples/stargaze/yarn.lock | 3581 ++++++++++++ examples/tailwindcss/package.json | 8 +- examples/tailwindcss/yarn.lock | 3779 ++++-------- examples/telescope/package.json | 6 +- examples/telescope/yarn.lock | 3232 ++++++++++ package.json | 3 +- templates/connect-chain/package.json | 8 +- templates/connect-chain/yarn.lock | 3262 +++++++++++ templates/connect-multi-chain/package.json | 8 +- templates/connect-multi-chain/yarn.lock | 3395 +++++++++++ yarn.lock | 26 + 24 files changed, 40742 insertions(+), 2526 deletions(-) create mode 100644 examples/contracts/yarn.lock create mode 100644 examples/cosmwasm/yarn.lock create mode 100644 examples/juno/yarn.lock create mode 100644 examples/osmosis-cosmwasm/yarn.lock create mode 100644 examples/osmosis/yarn.lock create mode 100644 examples/send-tokens/yarn.lock create mode 100644 examples/stargaze/yarn.lock create mode 100644 examples/telescope/yarn.lock create mode 100644 templates/connect-chain/yarn.lock create mode 100644 templates/connect-multi-chain/yarn.lock diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 368962165..76fa483bb 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -7,6 +7,9 @@ "build": "next build", "start": "next start", "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create", "format": "next lint --fix", "codegen": "node scripts/codegen.js" }, @@ -39,6 +42,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/contracts/yarn.lock b/examples/contracts/yarn.lock new file mode 100644 index 000000000..0ca628fb0 --- /dev/null +++ b/examples/contracts/yarn.lock @@ -0,0 +1,3232 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/types@0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@^2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@^2.2.9", "@chakra-ui/react@^2.3.6": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmos-kit/types@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" + integrity sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@walletconnect/client" "1.7.8" + "@walletconnect/types" "1.7.8" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz" + integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== + dependencies: + "@walletconnect/core" "^1.7.8" + "@walletconnect/iso-crypto" "^1.7.8" + "@walletconnect/types" "^1.7.8" + "@walletconnect/utils" "^1.7.8" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.7.8", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz" + integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index e67c6aed4..08a1d725c 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -7,6 +7,9 @@ "build": "next build", "start": "next start", "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create", "codegen": "node scripts/codegen.js" }, "dependencies": { @@ -37,6 +40,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/cosmwasm/yarn.lock b/examples/cosmwasm/yarn.lock new file mode 100644 index 000000000..497bcdd4f --- /dev/null +++ b/examples/cosmwasm/yarn.lock @@ -0,0 +1,6181 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.1.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" + integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== + +"@babel/compat-data@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" + integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== + +"@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" + integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.10" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/core@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" + integrity sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.3" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.3" + "@babel/types" "^7.19.3" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/core@^7.11.6", "@babel/core@^7.12.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" + integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.1" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/generator@7.18.12": + version "7.18.12" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz" + integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== + dependencies: + "@babel/types" "^7.18.10" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" + integrity sha512-fqVZnmp1ncvZU757UzDheKZpfPgatqY59XtW2/j/18H7u76akb8xqvjw82f+i2UKd/ksYsSick/BCLQUUtJ/qQ== + dependencies: + "@babel/types" "^7.19.3" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.18.10", "@babel/generator@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" + integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== + dependencies: + "@babel/types" "^7.19.0" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.19.3", "@babel/generator@^7.19.4": + version "7.19.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.5.tgz#da3f4b301c8086717eee9cab14da91b1fa5dcca7" + integrity sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg== + dependencies: + "@babel/types" "^7.19.4" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz" + integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== + dependencies: + "@babel/helper-explode-assignable-expression" "^7.18.6" + "@babel/types" "^7.18.9" + +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" + integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== + dependencies: + "@babel/compat-data" "^7.19.1" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + semver "^6.3.0" + +"@babel/helper-compilation-targets@^7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" + integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + semver "^6.3.0" + +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" + integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.9" + "@babel/helper-split-export-declaration" "^7.18.6" + +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" + integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + regexpu-core "^5.1.0" + +"@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + dependencies: + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + +"@babel/helper-explode-assignable-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== + dependencies: + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" + +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-member-expression-to-functions@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz" + integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== + dependencies: + "@babel/types" "^7.18.9" + +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" + integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.18.6" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" + integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-wrap-function" "^7.18.9" + "@babel/types" "^7.18.9" + +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.18.9": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz" + integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" + +"@babel/helper-simple-access@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz" + integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-skip-transparent-expression-wrappers@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" + integrity sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw== + dependencies: + "@babel/types" "^7.18.9" + +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + +"@babel/helper-wrap-function@^7.18.9": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz" + integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== + dependencies: + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" + integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== + dependencies: + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" + integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== + +"@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" + integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== + +"@babel/parser@^7.19.3", "@babel/parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" + integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" + integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz" + integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" + integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-remap-async-to-generator" "^7.18.9" + "@babel/plugin-syntax-async-generators" "^7.8.4" + +"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-class-static-block@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" + integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + +"@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + +"@babel/plugin-proposal-export-default-from@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz" + integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-default-from" "^7.18.6" + +"@babel/plugin-proposal-export-namespace-from@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-proposal-json-strings@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz" + integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + +"@babel/plugin-proposal-numeric-separator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" + integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.18.8" + +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-proposal-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" + integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-private-property-in-object@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz" + integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-default-from@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" + integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-assertions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz" + integrity sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" + integrity sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" + integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" + integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-remap-async-to-generator" "^7.18.6" + +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" + integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-block-scoping@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" + integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" + integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-replace-supers" "^7.18.9" + "@babel/helper-split-export-declaration" "^7.18.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" + integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-destructuring@^7.18.13": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" + integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-destructuring@^7.18.9": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" + integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" + integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-duplicate-keys@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" + integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" + integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-for-of@^7.18.8": + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" + integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-function-name@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" + integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== + dependencies: + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" + integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-member-expression-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" + integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-modules-amd@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" + integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" + integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-simple-access" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" + integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== + dependencies: + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-identifier" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-umd@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" + integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" + integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-new-target@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" + integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-object-super@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" + integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.6" + +"@babel/plugin-transform-parameters@^7.18.8": + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" + integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-property-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" + integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-regenerator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" + integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + regenerator-transform "^0.15.0" + +"@babel/plugin-transform-reserved-words@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" + integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-runtime@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz" + integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.9" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + semver "^6.3.0" + +"@babel/plugin-transform-runtime@7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.1.tgz#a3df2d7312eea624c7889a2dcd37fd1dfd25b2c6" + integrity sha512-2nJjTUFIzBMP/f/miLxEK9vxwW/KUXsdvN4sR//TmuDhe6yU2h57WmIOE12Gng3MDP/xpjUV/ToZRdcf8Yj4fA== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + semver "^6.3.0" + +"@babel/plugin-transform-shorthand-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" + integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" + integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + +"@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" + integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-template-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" + integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-typeof-symbol@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" + integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-typescript@^7.18.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz" + integrity sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-typescript" "^7.18.6" + +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" + integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/preset-env@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz" + integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.18.10" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.18.9" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.9" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.18.9" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.18.6" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.18.9" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.18.10" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + core-js-compat "^3.22.1" + semver "^6.3.0" + +"@babel/preset-env@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.3.tgz#52cd19abaecb3f176a4ff9cc5e15b7bf06bec754" + integrity sha512-ziye1OTc9dGFOAXSWKUqQblYHNlBOaDl8wzqf2iKXJAltYiR3hKHUKmkt+S9PppW7RQpq4fFCrwwpIDj/f5P4w== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.19.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.19.0" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.13" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.0" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.19.3" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" + semver "^6.3.0" + +"@babel/preset-modules@^0.1.5": + version "0.1.5" + resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" + integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz" + integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-typescript" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.18.9", "@babel/runtime@^7.8.4": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/template@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" + integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.18.10" + "@babel/types" "^7.18.10" + +"@babel/traverse@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz" + integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.11" + "@babel/types" "^7.18.10" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" + integrity sha512-qh5yf6149zhq2sgIXmwjnsvmnNQC2iw70UFjp4olxucKrWd/dvlUsBI88VSLUsnMNF7/vnOiA+nk1+yLoCqROQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.3" + "@babel/types" "^7.19.3" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@^7.18.10", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" + integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.4.tgz#f117820e18b1e59448a6c1fa9d0ff08f7ac459a8" + integrity sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.4" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.4" + "@babel/types" "^7.19.4" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" + integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" + integrity sha512-hGCaQzIY22DJlDh9CH7NOxgKkFjBk0Cw9xDO1Xmh2151ti7wiGfQ3LauXzL4HP1fmFlTX6XjpRETTpUcv7wQLw== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@babel/types@^7.18.10", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.4.4": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@^7.18.6", "@babel/types@^7.19.3", "@babel/types@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/osmosis@1.3.1": + version "1.3.1" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.3.1.tgz#5604a039e1e9789d79ccb2736407dacdb108f7ce" + integrity sha512-JvoNRJ8ja9M+evWVHz0skmz/61stwkYwP/qUOsbSPhOEsn61R3QYQhqvW0SdasWBUIWzDoa1taddVqYAvvIKhg== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.29.0", "@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== + dependencies: + "@cosmjs/stream" "^0.29.0" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.29.0", "@cosmjs/proto-signing@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== + dependencies: + "@cosmjs/stream" "^0.29.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/json-rpc" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/socket" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmwasm/ts-codegen@0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.17.0.tgz#fe27a96e54db3ebafca44a99a79849450e4434bd" + integrity sha512-kmeCaNjLXn/ogaRxxcY9BCu2LKsHdpitp7SgM4Pizt13aqDBruLXU3yKU2XmldNB6NjmaYzSwToCs2PmHIxzBA== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.11.3" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2": + version "0.1.3" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + dependencies: + "@sinclair/typebox" "^0.24.1" + +"@jest/transform@28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^28.1.3" + "@jridgewell/trace-mapping" "^0.3.13" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== + dependencies: + "@jest/schemas" "^28.1.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.1.0": + version "0.1.1" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@^3.0.3": + version "3.1.0" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.14" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.15" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz" + integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/ast@^0.63.0": + version "0.63.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.63.0.tgz#ad39d563e97f1bd31342267fbfcdb374d082b86f" + integrity sha512-5IhzT/UDwfVLVuSSTHdoefXs0iAHZsW7Y5yCFEyw2wfv1AuG/YcOc615kpEeGV4oaAQNM032OWxK02jGTHhqAQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@babel/types" "7.19.3" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + dotty "0.1.2" + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@osmonauts/proto-parser@^0.32.0": + version "0.32.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.32.0.tgz#e714e731a695b60524197c5874aabe331e7ee15d" + integrity sha512-ptxgp9J5S9QPo5/xS3Ecd17DLuAYUpHE+1t/z0Pk+4URUUbuFW5jcAdK2lhZxrSHidDO+FvnCkmYLU/dthD41g== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/types" "^0.24.0" + "@pyramation/protobufjs" "6.11.5" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + +"@osmonauts/telescope@^0.72.0": + version "0.72.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.72.0.tgz#e317b527b70b2f73191f0ba58129c0c17eaa2999" + integrity sha512-3fw7qPGxOMHjLiBNzxcIXObThbuN4NzCLk98Gt7j7GrzgZaABCEYX9pTWfdx6g1RBs5vXAIM/TEib5qlTLHVNQ== + dependencies: + "@babel/core" "7.19.3" + "@babel/generator" "7.19.3" + "@babel/parser" "^7.19.3" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.19.1" + "@babel/preset-env" "7.19.3" + "@babel/preset-typescript" "^7.17.12" + "@babel/runtime" "^7.19.0" + "@babel/traverse" "7.19.3" + "@babel/types" "7.19.3" + "@cosmwasm/ts-codegen" "0.17.0" + "@osmonauts/ast" "^0.63.0" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + +"@osmonauts/types@^0.24.0": + version "0.24.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.24.0.tgz#8ec5337b8b054e5d0ec2173ac530bb99687edb23" + integrity sha512-ui5yZXk9IDgn8g+NKGy2zpKewVr1FsgOxVQrWk1LAz/eKz1Sk3FH8UOc+Two9RzZa5rj2qna3LZcteV0lHQ8Sg== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + +"@osmonauts/utils@^0.7.0": + version "0.7.0" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.7.0.tgz#bd4978d403a99e8b5ade26ee7d2d31ea04e1cb31" + integrity sha512-pGt1oAFgRYWporTcrSjRa0i51PqQ8K1vYb8BjDdTdF/b+Kb+UHUGZXUpbR+kAmIiBMTsRYoYzHjktxGlECIWaQ== + dependencies: + "@babel/runtime" "^7.19.0" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@pyramation/json-schema-ref-parser@9.0.6": + version "9.0.6" + resolved "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz" + integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== + dependencies: + "@jsdevtools/ono" "^7.1.3" + call-me-maybe "^1.0.1" + js-yaml "^3.13.1" + +"@pyramation/json-schema-to-typescript@ 11.0.4": + version "11.0.4" + resolved "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz" + integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== + dependencies: + "@pyramation/json-schema-ref-parser" "9.0.6" + "@types/json-schema" "^7.0.11" + "@types/lodash" "^4.14.182" + "@types/prettier" "^2.6.1" + cli-color "^2.0.2" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^4.2.2" + is-glob "^4.0.3" + lodash "^4.17.21" + minimist "^1.2.6" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.6.2" + +"@pyramation/protobufjs@6.11.5": + version "6.11.5" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.5.tgz#c64904a7214f2d061de53eed166c882a369731c4" + integrity sha512-gr+Iv6d7Iwq3PmNsTeQtL6TUONJs0WqbHFikett4zLquRK7egWuifZSKsqV8+o1UBNZcv52Z1HhgwTqNJe75Ag== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +"@sinclair/typebox@^0.24.1": + version "0.24.41" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz" + integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/glob@^7.1.3": + version "7.2.0" + resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz" + integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + +"@types/graceful-fs@^4.1.3": + version "4.1.5" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": + version "2.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/json-schema@^7.0.11": + version "7.0.11" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/lodash@^4.14.182": + version "4.14.185" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" + integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/minimatch@*": + version "5.1.2" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + +"@types/node@*": + version "18.7.18" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" + integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/parse-package-name@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== + +"@types/prettier@^2.6.1": + version "2.7.0" + resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz" + integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== + +"@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + +"@types/yargs@^17.0.8": + version "17.0.12" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz" + integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== + dependencies: + "@types/yargs-parser" "*" + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-escapes@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" + integrity sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg== + +ansi-escapes@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz" + integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@^3.0.3: + version "3.1.2" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== + dependencies: + "@babel/runtime" "^7.11.2" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== + dependencies: + object.assign "^4.1.0" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +babel-plugin-polyfill-corejs2@^0.3.2, babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== + dependencies: + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" + semver "^6.1.1" + +babel-plugin-polyfill-corejs3@^0.5.3: + version "0.5.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz" + integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.2" + core-js-compat "^3.21.0" + +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" + +babel-plugin-polyfill-regenerator@^0.4.0, babel-plugin-polyfill-regenerator@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +call-me-maybe@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz" + integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +case@1.6.3: + version "1.6.3" + resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz" + integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^1.0.0, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.0, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz" + integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +ci-info@^3.2.0: + version "3.4.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz" + integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +cli-color@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz" + integrity sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.61" + es6-iterator "^2.0.3" + memoizee "^0.4.15" + timers-ext "^0.1.7" + +cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" + integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== + dependencies: + restore-cursor "^2.0.0" + +cli-width@^2.0.0: + version "2.2.1" + resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colors@^1.1.2: + version "1.4.0" + resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +convert-source-map@^1.4.0, convert-source-map@^1.7.0: + version "1.8.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +core-js-compat@^3.21.0, core-js-compat@^3.22.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" + integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== + dependencies: + browserslist "^4.21.3" + +core-js-compat@^3.25.1: + version "3.25.5" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz#0016e8158c904f7b059486639e6e82116eafa7d9" + integrity sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA== + dependencies: + browserslist "^4.21.4" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + +dargs@7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + +debug@^4.1.0, debug@^4.1.1: + version "4.3.4" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@4.2.2, deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3, define-properties@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +dotty@0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + +electron-to-chromium@^1.4.251: + version "1.4.254" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz" + integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: + version "0.10.62" + resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" + integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + next-tick "^1.1.0" + +es6-iterator@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + +es6-symbol@^3.1.1, es6-symbol@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +ext@^1.1.2: + version "1.7.0" + resolved "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== + dependencies: + type "^2.7.2" + +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz" + integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fb-watchman@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== + dependencies: + bser "2.1.1" + +figures@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz" + integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== + dependencies: + escape-string-regexp "^1.0.5" + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2: + version "2.3.2" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +fuzzy@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz" + integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + +glob-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== + dependencies: + "@types/glob" "^7.1.3" + +glob@8.0.3: + version "8.0.3" + resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +iconv-lite@^0.4.17, iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +inquirer-autocomplete-prompt@^0.11.1: + version "0.11.1" + resolved "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz" + integrity sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.1.3" + figures "^2.0.0" + inquirer "3.1.1" + lodash "^4.17.4" + run-async "^2.3.0" + util "^0.10.3" + +inquirer@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz" + integrity sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.0.0" + strip-ansi "^3.0.0" + through "^2.3.6" + +inquirer@^6.0.0: + version "6.5.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== + dependencies: + ansi-escapes "^3.2.0" + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^2.0.0" + lodash "^4.17.12" + mute-stream "0.0.7" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^2.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + +inquirerer@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz" + integrity sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ== + dependencies: + colors "^1.1.2" + inquirer "^6.0.0" + inquirer-autocomplete-prompt "^0.11.1" + +interchain@1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/interchain/-/interchain-1.1.0.tgz#19a2c70b36685540b333580ebf6da9a772f2dd06" + integrity sha512-hEBY+5qa2XE3fx7emllW+GyLlUYQo3NG72qfDtnTz3vN3I9ZSpF++Gk3wz8gj0ahtTDU/bwULZ4d/NYz/efYoA== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/lcd" "^0.8.0" + "@osmonauts/telescope" "^0.72.0" + protobufjs "^6.11.2" + +interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + +is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + +istanbul-lib-instrument@^5.0.4: + version "5.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz" + integrity sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== + dependencies: + "@jest/types" "^28.1.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 "^28.0.2" + jest-util "^28.1.3" + jest-worker "^28.1.3" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-regex-util@^28.0.2: + version "28.0.2" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + +jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== + dependencies: + "@jest/types" "^28.1.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json5@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" + integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +lodash@^4.17.12, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: + version "4.17.21" + resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +memoizee@^0.4.15: + version "0.4.15" + resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" + integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.53" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +minimatch@5.1.0, minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.0.4, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@1.2.6, minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +mkdirp@1.0.4, mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +mute-stream@0.0.7: + version "0.0.7" + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" + integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next-tick@1, next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" + integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== + +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +object-assign@^4.0.1, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.0: + version "4.1.4" + resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz" + integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== + dependencies: + mimic-fn "^1.0.0" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz" + integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pirates@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" + integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prettier@^2.6.2: + version "2.7.1" + resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== + dependencies: + resolve "^1.1.6" + +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +regenerator-transform@^0.15.0: + version "0.15.0" + resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz" + integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== + dependencies: + "@babel/runtime" "^7.8.4" + +regexpu-core@^5.1.0: + version "5.2.1" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz" + integrity sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ== + dependencies: + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.0.0" + +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/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.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz" + integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + +rimraf@3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +run-async@^2.2.0, run-async@^2.3.0: + version "2.4.1" + resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz" + integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== + dependencies: + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz" + integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== + +rxjs@^6.4.0: + version "6.6.7" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +shelljs@0.8.5: + version "0.8.5" + resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +signal-exit@^3.0.2, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string-width@^2.0.0, string-width@^2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== + dependencies: + ansi-regex "^3.0.0" + +strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +type@^1.0.1: + version "1.2.0" + resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.7.2: + version "2.7.2" + resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== + dependencies: + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz" + integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +util@^0.10.3: + version "0.10.4" + resolved "https://registry.npmjs.org/util/-/util-0.10.4.tgz" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== + dependencies: + inherits "2.0.3" + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + +wasm-ast-types@^0.11.3: + version "0.11.3" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" + integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/juno/package.json b/examples/juno/package.json index d7a7ed6df..53e82ae03 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chain-registry/types": "0.13.1", @@ -35,6 +38,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/juno/yarn.lock b/examples/juno/yarn.lock new file mode 100644 index 000000000..e3aae44cf --- /dev/null +++ b/examples/juno/yarn.lock @@ -0,0 +1,3488 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/types@0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" + integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.1.tgz#cdd77fbca4cd4a4d99540f885ceb0666f7afd348" + integrity sha512-Obw6qMLSUg2YmHOe9cHF9LofeLoz52I+1OUuVg7WdVDWK3kvWYA6oME/21h5XHb18pU5f0Nkcgz1SXTG8/stTQ== + dependencies: + "@cosmjs/crypto" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + +"@cosmjs/amino@^0.29.1", "@cosmjs/amino@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.2.tgz#2d9f87041d4cad7da4828b96f4d51121a19763bd" + integrity sha512-59Ta3liptOPPFNclziqaScm8Uvs5iwUkEU/Nl6SRMrmRU7lOdOYbNqsBgp27Ozc5jL2d8+ML4AyrJ1S5x8jgAw== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/cosmwasm-stargate@^0.29.1": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.2.tgz#c35f2aa26f310f642a0e296b93eee53bd652771b" + integrity sha512-NC3e0QOJR0iTpexPogEDiJgQ1HIIL6fahowLmmsTO60RbnARd/gEjf5AmdJ/6I8KigN8pSqQOr9Yvu6M73/9yg== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stargate" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.1", "@cosmjs/crypto@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.2.tgz#63308d8c91ade0de73861ef1e5099cba26db5d1b" + integrity sha512-mm4BNiuLAvfJOPYilP8uCs4MKJIogri2A5jb0xn+ZiyFTdIw6xp5eLU7SLxI/V+F2VMPfQDNfS+syPEkDN7g/w== + dependencies: + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.1", "@cosmjs/encoding@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.2.tgz#705a1e4509e4f347ebb25adcfa958a4d6e6b87cb" + integrity sha512-v62YsTVvDOSbSAHpD2u5oe0yk/ljitkgi+CM/hpL1qytaVKIlr1RSwBDhJ5cW11oqkIjMWM8UNsGeIG8lyt9JA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.2.tgz#ccc46e8b334e3affa7ca7b32eace92fbbcd50410" + integrity sha512-oJA12dZflR/VU8zqiu+6gTt1SbKAhJSr/D5qAbIPdUcRzfI44J5h6tOvxnAuzJIig4oAid4u92KeuibAKFRJeA== + dependencies: + "@cosmjs/stream" "^0.29.2" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.1", "@cosmjs/math@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.2.tgz#00e7b7d4db8fb79ca1f73aa50d011bba2140bc72" + integrity sha512-WhgvinqNauEG0GNF7OMNU/cWqBZQ537Zy5d6FAO1+5lOpLhxxBPshEJIO4l2VPU702/JcC5qa49AxyiV3JuGmA== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.1.tgz#925b074de560bd2ab536f4b33599efa4d5415891" + integrity sha512-k3fGmfA0IRBZrctgHHAfixZ03tXY4zKkxOGgB38pdTE3BKwr1rj1CCwrQALdqO5Xkdb2McIRisc5/eVmhJfcrA== + dependencies: + "@cosmjs/amino" "^0.29.1" + "@cosmjs/crypto" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + cosmjs-types "^0.5.0" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.1", "@cosmjs/proto-signing@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.2.tgz#758f7d0ac4a7446f5eb2c59d5beadf37771c4839" + integrity sha512-+YU1u/SVbvBTiWXkUPca/HNKChSOHuVMrWbhNOzEJgJphYVYwCXabpSFguCymJ1lOFwa0WXIykVqsIzQdEgMQw== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.2.tgz#a332f1bd786d4ecb0ac534d9afd3c639f7107cc2" + integrity sha512-SllIOXmn5x3wWfcknv5gmd25kNS2aJmiHEjOM1D+ZUACXzLZBqKTNolg5+8e0yVfR+4yxsJS9w5ocINrY6j0rA== + dependencies: + "@cosmjs/stream" "^0.29.2" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.1": + version "0.29.1" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.1.tgz#85b739516318102c7907209f9273bd32faccf39c" + integrity sha512-6LYblr8XjIPat4HbW2k0bnPefBHM/0JJUvk8c0m6Nv/vQ9QcG8EIGkB/qndsx+gmPGPNpQ2ed/IpL3670KScmg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.1" + "@cosmjs/encoding" "^0.29.1" + "@cosmjs/math" "^0.29.1" + "@cosmjs/proto-signing" "^0.29.1" + "@cosmjs/stream" "^0.29.1" + "@cosmjs/tendermint-rpc" "^0.29.1" + "@cosmjs/utils" "^0.29.1" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.2.tgz#674711938fc031196968ddf7e409d407572ed50f" + integrity sha512-jCspWI+S+g1DE/rE8wR/JDzmeur120OOacinAADBKiHjSqu9R3qAaiC9kKPsQWl2PYk4qAs8sxLkjg+gq2vRGw== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.1", "@cosmjs/stream@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.2.tgz#4974742b9d579c96c5cdb29de59ae44f4236949b" + integrity sha512-ov0N6paYO1VVBl9gOu+i7RJyMR7wAWkN+xcxLN123+UHzRgTPWggJ18RqUCZ2Z87hKWHCkzD8pagi8Rf4uY7cg== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.1", "@cosmjs/tendermint-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.2.tgz#8e32cd7dd56b1c191c6772d2b9033af4bc2b92c1" + integrity sha512-l3SFzBhJwN5+7gg7elknSFhw1e+YN7QjVTanMZJ0hPH5njeIxaUkabk2y3fqWMBxoUkuCsmxJEIeCSByX/6R8A== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/json-rpc" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/socket" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.1", "@cosmjs/utils@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.2.tgz#1a32338f40decb8ec60b45e9b14476df66e2d915" + integrity sha512-gckp8mbNXF8XCAEwCzH90fpaA0K2O9CC5Rg5v75zsRySYkAaoJIm9f+f8yW2qn6ADge2BnmIT1IkAfmswThCJQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@juno-network/assets@0.13.0": + version "0.13.0" + resolved "https://registry.npmjs.org/@juno-network/assets/-/assets-0.13.0.tgz#0f31b68bd52d14a5b68f47a5ff91e03fa53c02de" + integrity sha512-SAh0ln8joW6+/6lMkYnfW3bIELfDhonb+y9/WIy4106ztVIRXy9VKiQNUFU9REBEyzrprasvvraByIs8P5UvGw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "0.11.0" + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/lcd@0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +juno-network@0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/juno-network/-/juno-network-0.8.0.tgz#1bac72c7a87d5c3534c802747a75f10a3fb64292" + integrity sha512-bWk94G9GvOvaHHDvfMY1ZA3sGQqyTZK5FXlObI/U/oy8pmeOObECqaAmJtLDpQL+dlVuJviRvZUTEhSQKauglg== + dependencies: + "@babel/runtime" "^7.19.4" + "@cosmjs/amino" "0.29.1" + "@cosmjs/cosmwasm-stargate" "^0.29.1" + "@cosmjs/proto-signing" "0.29.1" + "@cosmjs/stargate" "0.29.1" + "@cosmjs/tendermint-rpc" "^0.29.1" + "@osmonauts/lcd" "0.8.0" + protobufjs "^6.11.2" + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 71a4968e7..76e7d557d 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -7,6 +7,9 @@ "build": "next build", "start": "next start", "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create", "codegen": "node scripts/codegen.js" }, "dependencies": { @@ -37,6 +40,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/osmosis-cosmwasm/yarn.lock b/examples/osmosis-cosmwasm/yarn.lock new file mode 100644 index 000000000..938f12a9b --- /dev/null +++ b/examples/osmosis-cosmwasm/yarn.lock @@ -0,0 +1,3418 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/osmosis@1.3.1": + version "1.3.1" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.3.1.tgz#5604a039e1e9789d79ccb2736407dacdb108f7ce" + integrity sha512-JvoNRJ8ja9M+evWVHz0skmz/61stwkYwP/qUOsbSPhOEsn61R3QYQhqvW0SdasWBUIWzDoa1taddVqYAvvIKhg== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.29.2", "@cosmjs/amino@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.2.tgz#2d9f87041d4cad7da4828b96f4d51121a19763bd" + integrity sha512-59Ta3liptOPPFNclziqaScm8Uvs5iwUkEU/Nl6SRMrmRU7lOdOYbNqsBgp27Ozc5jL2d8+ML4AyrJ1S5x8jgAw== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.2.tgz#63308d8c91ade0de73861ef1e5099cba26db5d1b" + integrity sha512-mm4BNiuLAvfJOPYilP8uCs4MKJIogri2A5jb0xn+ZiyFTdIw6xp5eLU7SLxI/V+F2VMPfQDNfS+syPEkDN7g/w== + dependencies: + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.2.tgz#705a1e4509e4f347ebb25adcfa958a4d6e6b87cb" + integrity sha512-v62YsTVvDOSbSAHpD2u5oe0yk/ljitkgi+CM/hpL1qytaVKIlr1RSwBDhJ5cW11oqkIjMWM8UNsGeIG8lyt9JA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.2.tgz#ccc46e8b334e3affa7ca7b32eace92fbbcd50410" + integrity sha512-oJA12dZflR/VU8zqiu+6gTt1SbKAhJSr/D5qAbIPdUcRzfI44J5h6tOvxnAuzJIig4oAid4u92KeuibAKFRJeA== + dependencies: + "@cosmjs/stream" "^0.29.2" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.2.tgz#00e7b7d4db8fb79ca1f73aa50d011bba2140bc72" + integrity sha512-WhgvinqNauEG0GNF7OMNU/cWqBZQ537Zy5d6FAO1+5lOpLhxxBPshEJIO4l2VPU702/JcC5qa49AxyiV3JuGmA== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.29.2", "@cosmjs/proto-signing@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.2.tgz#758f7d0ac4a7446f5eb2c59d5beadf37771c4839" + integrity sha512-+YU1u/SVbvBTiWXkUPca/HNKChSOHuVMrWbhNOzEJgJphYVYwCXabpSFguCymJ1lOFwa0WXIykVqsIzQdEgMQw== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.2.tgz#a332f1bd786d4ecb0ac534d9afd3c639f7107cc2" + integrity sha512-SllIOXmn5x3wWfcknv5gmd25kNS2aJmiHEjOM1D+ZUACXzLZBqKTNolg5+8e0yVfR+4yxsJS9w5ocINrY6j0rA== + dependencies: + "@cosmjs/stream" "^0.29.2" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.2.tgz#674711938fc031196968ddf7e409d407572ed50f" + integrity sha512-jCspWI+S+g1DE/rE8wR/JDzmeur120OOacinAADBKiHjSqu9R3qAaiC9kKPsQWl2PYk4qAs8sxLkjg+gq2vRGw== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.2.tgz#4974742b9d579c96c5cdb29de59ae44f4236949b" + integrity sha512-ov0N6paYO1VVBl9gOu+i7RJyMR7wAWkN+xcxLN123+UHzRgTPWggJ18RqUCZ2Z87hKWHCkzD8pagi8Rf4uY7cg== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.2.tgz#8e32cd7dd56b1c191c6772d2b9033af4bc2b92c1" + integrity sha512-l3SFzBhJwN5+7gg7elknSFhw1e+YN7QjVTanMZJ0hPH5njeIxaUkabk2y3fqWMBxoUkuCsmxJEIeCSByX/6R8A== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/json-rpc" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/socket" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.2.tgz#1a32338f40decb8ec60b45e9b14476df66e2d915" + integrity sha512-gckp8mbNXF8XCAEwCzH90fpaA0K2O9CC5Rg5v75zsRySYkAaoJIm9f+f8yW2qn6ADge2BnmIT1IkAfmswThCJQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +osmojs@0.35.0: + version "0.35.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.35.0.tgz#19eddd259992195fe8c9aa265b83553b93167f75" + integrity sha512-6Kv4kJ1ykB6QpHXdBKj9NV8DseQbG5KLDimT9A5c/vdg4OO6+P7cCMd5wTfQhiTfNh8ccOET5MYgISdNUkzDAg== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.2" + "@cosmjs/proto-signing" "0.29.2" + "@cosmjs/stargate" "0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@osmonauts/lcd" "^0.8.0" + long "^5.2.0" + protobufjs "^6.11.3" + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index e2163ef76..1d5e9dc2c 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chain-registry/osmosis": "1.3.1", @@ -35,6 +38,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/osmosis/yarn.lock b/examples/osmosis/yarn.lock new file mode 100644 index 000000000..938f12a9b --- /dev/null +++ b/examples/osmosis/yarn.lock @@ -0,0 +1,3418 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/osmosis@1.3.1": + version "1.3.1" + resolved "https://registry.npmjs.org/@chain-registry/osmosis/-/osmosis-1.3.1.tgz#5604a039e1e9789d79ccb2736407dacdb108f7ce" + integrity sha512-JvoNRJ8ja9M+evWVHz0skmz/61stwkYwP/qUOsbSPhOEsn61R3QYQhqvW0SdasWBUIWzDoa1taddVqYAvvIKhg== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.29.2", "@cosmjs/amino@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.2.tgz#2d9f87041d4cad7da4828b96f4d51121a19763bd" + integrity sha512-59Ta3liptOPPFNclziqaScm8Uvs5iwUkEU/Nl6SRMrmRU7lOdOYbNqsBgp27Ozc5jL2d8+ML4AyrJ1S5x8jgAw== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.2.tgz#63308d8c91ade0de73861ef1e5099cba26db5d1b" + integrity sha512-mm4BNiuLAvfJOPYilP8uCs4MKJIogri2A5jb0xn+ZiyFTdIw6xp5eLU7SLxI/V+F2VMPfQDNfS+syPEkDN7g/w== + dependencies: + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.2.tgz#705a1e4509e4f347ebb25adcfa958a4d6e6b87cb" + integrity sha512-v62YsTVvDOSbSAHpD2u5oe0yk/ljitkgi+CM/hpL1qytaVKIlr1RSwBDhJ5cW11oqkIjMWM8UNsGeIG8lyt9JA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.2.tgz#ccc46e8b334e3affa7ca7b32eace92fbbcd50410" + integrity sha512-oJA12dZflR/VU8zqiu+6gTt1SbKAhJSr/D5qAbIPdUcRzfI44J5h6tOvxnAuzJIig4oAid4u92KeuibAKFRJeA== + dependencies: + "@cosmjs/stream" "^0.29.2" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.2.tgz#00e7b7d4db8fb79ca1f73aa50d011bba2140bc72" + integrity sha512-WhgvinqNauEG0GNF7OMNU/cWqBZQ537Zy5d6FAO1+5lOpLhxxBPshEJIO4l2VPU702/JcC5qa49AxyiV3JuGmA== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.29.2", "@cosmjs/proto-signing@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.2.tgz#758f7d0ac4a7446f5eb2c59d5beadf37771c4839" + integrity sha512-+YU1u/SVbvBTiWXkUPca/HNKChSOHuVMrWbhNOzEJgJphYVYwCXabpSFguCymJ1lOFwa0WXIykVqsIzQdEgMQw== + dependencies: + "@cosmjs/amino" "^0.29.2" + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.2.tgz#a332f1bd786d4ecb0ac534d9afd3c639f7107cc2" + integrity sha512-SllIOXmn5x3wWfcknv5gmd25kNS2aJmiHEjOM1D+ZUACXzLZBqKTNolg5+8e0yVfR+4yxsJS9w5ocINrY6j0rA== + dependencies: + "@cosmjs/stream" "^0.29.2" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.2.tgz#674711938fc031196968ddf7e409d407572ed50f" + integrity sha512-jCspWI+S+g1DE/rE8wR/JDzmeur120OOacinAADBKiHjSqu9R3qAaiC9kKPsQWl2PYk4qAs8sxLkjg+gq2vRGw== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/proto-signing" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.2.tgz#4974742b9d579c96c5cdb29de59ae44f4236949b" + integrity sha512-ov0N6paYO1VVBl9gOu+i7RJyMR7wAWkN+xcxLN123+UHzRgTPWggJ18RqUCZ2Z87hKWHCkzD8pagi8Rf4uY7cg== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.2.tgz#8e32cd7dd56b1c191c6772d2b9033af4bc2b92c1" + integrity sha512-l3SFzBhJwN5+7gg7elknSFhw1e+YN7QjVTanMZJ0hPH5njeIxaUkabk2y3fqWMBxoUkuCsmxJEIeCSByX/6R8A== + dependencies: + "@cosmjs/crypto" "^0.29.2" + "@cosmjs/encoding" "^0.29.2" + "@cosmjs/json-rpc" "^0.29.2" + "@cosmjs/math" "^0.29.2" + "@cosmjs/socket" "^0.29.2" + "@cosmjs/stream" "^0.29.2" + "@cosmjs/utils" "^0.29.2" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.2": + version "0.29.2" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.2.tgz#1a32338f40decb8ec60b45e9b14476df66e2d915" + integrity sha512-gckp8mbNXF8XCAEwCzH90fpaA0K2O9CC5Rg5v75zsRySYkAaoJIm9f+f8yW2qn6ADge2BnmIT1IkAfmswThCJQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +osmojs@0.35.0: + version "0.35.0" + resolved "https://registry.npmjs.org/osmojs/-/osmojs-0.35.0.tgz#19eddd259992195fe8c9aa265b83553b93167f75" + integrity sha512-6Kv4kJ1ykB6QpHXdBKj9NV8DseQbG5KLDimT9A5c/vdg4OO6+P7cCMd5wTfQhiTfNh8ccOET5MYgISdNUkzDAg== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.2" + "@cosmjs/proto-signing" "0.29.2" + "@cosmjs/stargate" "0.29.2" + "@cosmjs/tendermint-rpc" "^0.29.2" + "@osmonauts/lcd" "^0.8.0" + long "^5.2.0" + protobufjs "^6.11.3" + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index fbf79901f..10ac06cce 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chain-registry/types": "0.13.1", @@ -34,6 +37,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/send-tokens/yarn.lock b/examples/send-tokens/yarn.lock new file mode 100644 index 000000000..c9528d512 --- /dev/null +++ b/examples/send-tokens/yarn.lock @@ -0,0 +1,6173 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.1.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.1.tgz" + integrity sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQwwtjn9ksg== + +"@babel/compat-data@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747" + integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw== + +"@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz" + integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.10" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/core@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz#2519f62a51458f43b682d61583c3810e7dcee64c" + integrity sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.3" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.3" + "@babel/types" "^7.19.3" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/core@^7.11.6", "@babel/core@^7.12.3": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.19.1.tgz" + integrity sha512-1H8VgqXme4UXCRv7/Wa1bq7RVymKOzC7znjyFM8KiEzwFqcKUKYNoQef4GhdklgNvoBXyW4gYhuBNCM5o1zImw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.1" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/generator@7.18.12": + version "7.18.12" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz" + integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== + dependencies: + "@babel/types" "^7.18.10" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.3.tgz#d7f4d1300485b4547cb6f94b27d10d237b42bf59" + integrity sha512-fqVZnmp1ncvZU757UzDheKZpfPgatqY59XtW2/j/18H7u76akb8xqvjw82f+i2UKd/ksYsSick/BCLQUUtJ/qQ== + dependencies: + "@babel/types" "^7.19.3" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.18.10", "@babel/generator@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz" + integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== + dependencies: + "@babel/types" "^7.19.0" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.19.3", "@babel/generator@^7.19.4": + version "7.19.5" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.19.5.tgz#da3f4b301c8086717eee9cab14da91b1fa5dcca7" + integrity sha512-DxbNz9Lz4aMZ99qPpO1raTbcrI1ZeYh+9NR9qhfkQIbFtVEqotHojEBxHzmxhVONkGt6VyrqVQcgpefMy9pqcg== + dependencies: + "@babel/types" "^7.19.4" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz" + integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== + dependencies: + "@babel/helper-explode-assignable-expression" "^7.18.6" + "@babel/types" "^7.18.9" + +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.19.0", "@babel/helper-compilation-targets@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.1.tgz" + integrity sha512-LlLkkqhCMyz2lkQPvJNdIYU7O5YjWRgC2R4omjCTpZd8u8KMQzZvX4qce+/BluN1rcQiV7BoGUpmQ0LeHerbhg== + dependencies: + "@babel/compat-data" "^7.19.1" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + semver "^6.3.0" + +"@babel/helper-compilation-targets@^7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz#a10a04588125675d7c7ae299af86fa1b2ee038ca" + integrity sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + semver "^6.3.0" + +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz" + integrity sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.9" + "@babel/helper-split-export-declaration" "^7.18.6" + +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz" + integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + regexpu-core "^5.1.0" + +"@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + dependencies: + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + +"@babel/helper-explode-assignable-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== + dependencies: + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" + +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-member-expression-to-functions@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz" + integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== + dependencies: + "@babel/types" "^7.18.9" + +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz" + integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.18.6" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz" + integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-wrap-function" "^7.18.9" + "@babel/types" "^7.18.9" + +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.18.9": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz" + integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" + +"@babel/helper-simple-access@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz" + integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-skip-transparent-expression-wrappers@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz" + integrity sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw== + dependencies: + "@babel/types" "^7.18.9" + +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + +"@babel/helper-wrap-function@^7.18.9": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz" + integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== + dependencies: + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz" + integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== + dependencies: + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.18.11.tgz" + integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== + +"@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.1.tgz" + integrity sha512-h7RCSorm1DdTVGJf3P2Mhj3kdnkmF/EiysUkzS2TdgAYqyjFdMQJbVuXOBej2SBJaXan/lIVtT6KkGbyyq753A== + +"@babel/parser@^7.19.3", "@babel/parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz#03c4339d2b8971eb3beca5252bafd9b9f79db3dc" + integrity sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz" + integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz" + integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + +"@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz" + integrity sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-remap-async-to-generator" "^7.18.9" + "@babel/plugin-syntax-async-generators" "^7.8.4" + +"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-class-static-block@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz" + integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + +"@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + +"@babel/plugin-proposal-export-default-from@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz" + integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-default-from" "^7.18.6" + +"@babel/plugin-proposal-export-namespace-from@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-proposal-json-strings@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz" + integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + +"@babel/plugin-proposal-numeric-separator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-object-rest-spread@7.18.9", "@babel/plugin-proposal-object-rest-spread@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz" + integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.18.8" + +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-proposal-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz" + integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-private-property-in-object@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz" + integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-default-from@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.18.6.tgz" + integrity sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-assertions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz" + integrity sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz" + integrity sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz" + integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz" + integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-remap-async-to-generator" "^7.18.6" + +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz" + integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-block-scoping@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.9.tgz" + integrity sha512-5sDIJRV1KtQVEbt/EIBwGy4T01uYIo4KRB3VUqzkhrAIOGx7AoctL9+Ux88btY0zXdDyPJ9mW+bg+v+XEkGmtw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz" + integrity sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-replace-supers" "^7.18.9" + "@babel/helper-split-export-declaration" "^7.18.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz" + integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-destructuring@^7.18.13": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz#46890722687b9b89e1369ad0bd8dc6c5a3b4319d" + integrity sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-destructuring@^7.18.9": + version "7.18.13" + resolved "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.13.tgz" + integrity sha512-TodpQ29XekIsex2A+YJPj5ax2plkGa8YYY6mFjCohk/IG9IY42Rtuj1FuDeemfg2ipxIFLzPeA83SIBnlhSIow== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz" + integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-duplicate-keys@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz" + integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz" + integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-for-of@^7.18.8": + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz" + integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-function-name@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz" + integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== + dependencies: + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz" + integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-member-expression-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz" + integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-modules-amd@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz" + integrity sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz" + integrity sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-simple-access" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz" + integrity sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A== + dependencies: + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-identifier" "^7.18.6" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-umd@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz" + integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6", "@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz" + integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-new-target@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz" + integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-object-super@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz" + integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.6" + +"@babel/plugin-transform-parameters@^7.18.8": + version "7.18.8" + resolved "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz" + integrity sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-property-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz" + integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-regenerator@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz" + integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + regenerator-transform "^0.15.0" + +"@babel/plugin-transform-reserved-words@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz" + integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-runtime@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz" + integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.9" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + semver "^6.3.0" + +"@babel/plugin-transform-runtime@7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.1.tgz#a3df2d7312eea624c7889a2dcd37fd1dfd25b2c6" + integrity sha512-2nJjTUFIzBMP/f/miLxEK9vxwW/KUXsdvN4sR//TmuDhe6yU2h57WmIOE12Gng3MDP/xpjUV/ToZRdcf8Yj4fA== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + semver "^6.3.0" + +"@babel/plugin-transform-shorthand-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz" + integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz" + integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + +"@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz" + integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-template-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz" + integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-typeof-symbol@^7.18.9": + version "7.18.9" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz" + integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-typescript@^7.18.6": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.19.1.tgz" + integrity sha512-+ILcOU+6mWLlvCwnL920m2Ow3wWx3Wo8n2t5aROQmV55GZt+hOiLvBaa3DNzRjSEHa1aauRs4/YLmkCfFkhhRQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-typescript" "^7.18.6" + +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz" + integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/preset-env@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz" + integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.18.10" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.18.9" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.9" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.18.9" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.18.6" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.18.9" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.18.10" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + core-js-compat "^3.22.1" + semver "^6.3.0" + +"@babel/preset-env@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.3.tgz#52cd19abaecb3f176a4ff9cc5e15b7bf06bec754" + integrity sha512-ziye1OTc9dGFOAXSWKUqQblYHNlBOaDl8wzqf2iKXJAltYiR3hKHUKmkt+S9PppW7RQpq4fFCrwwpIDj/f5P4w== + dependencies: + "@babel/compat-data" "^7.19.3" + "@babel/helper-compilation-targets" "^7.19.3" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.19.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.19.0" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.13" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.0" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.19.3" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" + semver "^6.3.0" + +"@babel/preset-modules@^0.1.5": + version "0.1.5" + resolved "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz" + integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-typescript@^7.17.12", "@babel/preset-typescript@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz" + integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-typescript" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.18.9", "@babel/runtime@^7.8.4": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/template@^7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz" + integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.18.10" + "@babel/types" "^7.18.10" + +"@babel/traverse@7.18.11": + version "7.18.11" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.11.tgz" + integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.11" + "@babel/types" "^7.18.10" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.3.tgz#3a3c5348d4988ba60884e8494b0592b2f15a04b4" + integrity sha512-qh5yf6149zhq2sgIXmwjnsvmnNQC2iw70UFjp4olxucKrWd/dvlUsBI88VSLUsnMNF7/vnOiA+nk1+yLoCqROQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.3" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.3" + "@babel/types" "^7.19.3" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@^7.18.10", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.1.tgz" + integrity sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.1" + "@babel/types" "^7.19.0" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@^7.19.3": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.4.tgz#f117820e18b1e59448a6c1fa9d0ff08f7ac459a8" + integrity sha512-w3K1i+V5u2aJUOXBFFC5pveFLmtq1s3qcdDNC2qRI6WPBQIDaKFqXxDEqDO/h1dQ3HjsZoZMyIy6jGLq0xtw+g== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.19.4" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.19.4" + "@babel/types" "^7.19.4" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@7.18.10": + version "7.18.10" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.18.10.tgz" + integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@7.19.3": + version "7.19.3" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.3.tgz#fc420e6bbe54880bce6779ffaf315f5e43ec9624" + integrity sha512-hGCaQzIY22DJlDh9CH7NOxgKkFjBk0Cw9xDO1Xmh2151ti7wiGfQ3LauXzL4HP1fmFlTX6XjpRETTpUcv7wQLw== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@babel/types@^7.18.10", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.4.4": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@^7.18.6", "@babel/types@^7.19.3", "@babel/types@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.29.0", "@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== + dependencies: + "@cosmjs/stream" "^0.29.0" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.29.0", "@cosmjs/proto-signing@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== + dependencies: + "@cosmjs/stream" "^0.29.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/json-rpc" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/socket" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmwasm/ts-codegen@0.17.0": + version "0.17.0" + resolved "https://registry.npmjs.org/@cosmwasm/ts-codegen/-/ts-codegen-0.17.0.tgz#fe27a96e54db3ebafca44a99a79849450e4434bd" + integrity sha512-kmeCaNjLXn/ogaRxxcY9BCu2LKsHdpitp7SgM4Pizt13aqDBruLXU3yKU2XmldNB6NjmaYzSwToCs2PmHIxzBA== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.11.3" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2": + version "0.1.3" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-28.1.3.tgz" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + dependencies: + "@sinclair/typebox" "^0.24.1" + +"@jest/transform@28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-28.1.3.tgz" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^28.1.3" + "@jridgewell/trace-mapping" "^0.3.13" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.npmjs.org/@jest/types/-/types-28.1.3.tgz" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== + dependencies: + "@jest/schemas" "^28.1.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.1.0": + version "0.1.1" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@^3.0.3": + version "3.1.0" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.14" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.15" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz" + integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/ast@^0.63.0": + version "0.63.0" + resolved "https://registry.npmjs.org/@osmonauts/ast/-/ast-0.63.0.tgz#ad39d563e97f1bd31342267fbfcdb374d082b86f" + integrity sha512-5IhzT/UDwfVLVuSSTHdoefXs0iAHZsW7Y5yCFEyw2wfv1AuG/YcOc615kpEeGV4oaAQNM032OWxK02jGTHhqAQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@babel/types" "7.19.3" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + dotty "0.1.2" + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@osmonauts/proto-parser@^0.32.0": + version "0.32.0" + resolved "https://registry.npmjs.org/@osmonauts/proto-parser/-/proto-parser-0.32.0.tgz#e714e731a695b60524197c5874aabe331e7ee15d" + integrity sha512-ptxgp9J5S9QPo5/xS3Ecd17DLuAYUpHE+1t/z0Pk+4URUUbuFW5jcAdK2lhZxrSHidDO+FvnCkmYLU/dthD41g== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/types" "^0.24.0" + "@pyramation/protobufjs" "6.11.5" + dotty "0.1.2" + glob "8.0.3" + mkdirp "1.0.4" + +"@osmonauts/telescope@^0.72.0": + version "0.72.0" + resolved "https://registry.npmjs.org/@osmonauts/telescope/-/telescope-0.72.0.tgz#e317b527b70b2f73191f0ba58129c0c17eaa2999" + integrity sha512-3fw7qPGxOMHjLiBNzxcIXObThbuN4NzCLk98Gt7j7GrzgZaABCEYX9pTWfdx6g1RBs5vXAIM/TEib5qlTLHVNQ== + dependencies: + "@babel/core" "7.19.3" + "@babel/generator" "7.19.3" + "@babel/parser" "^7.19.3" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.19.1" + "@babel/preset-env" "7.19.3" + "@babel/preset-typescript" "^7.17.12" + "@babel/runtime" "^7.19.0" + "@babel/traverse" "7.19.3" + "@babel/types" "7.19.3" + "@cosmwasm/ts-codegen" "0.17.0" + "@osmonauts/ast" "^0.63.0" + "@osmonauts/proto-parser" "^0.32.0" + "@osmonauts/types" "^0.24.0" + "@osmonauts/utils" "^0.7.0" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimatch "5.1.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + +"@osmonauts/types@^0.24.0": + version "0.24.0" + resolved "https://registry.npmjs.org/@osmonauts/types/-/types-0.24.0.tgz#8ec5337b8b054e5d0ec2173ac530bb99687edb23" + integrity sha512-ui5yZXk9IDgn8g+NKGy2zpKewVr1FsgOxVQrWk1LAz/eKz1Sk3FH8UOc+Two9RzZa5rj2qna3LZcteV0lHQ8Sg== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/utils" "^0.7.0" + case "1.6.3" + +"@osmonauts/utils@^0.7.0": + version "0.7.0" + resolved "https://registry.npmjs.org/@osmonauts/utils/-/utils-0.7.0.tgz#bd4978d403a99e8b5ade26ee7d2d31ea04e1cb31" + integrity sha512-pGt1oAFgRYWporTcrSjRa0i51PqQ8K1vYb8BjDdTdF/b+Kb+UHUGZXUpbR+kAmIiBMTsRYoYzHjktxGlECIWaQ== + dependencies: + "@babel/runtime" "^7.19.0" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@pyramation/json-schema-ref-parser@9.0.6": + version "9.0.6" + resolved "https://registry.npmjs.org/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz" + integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== + dependencies: + "@jsdevtools/ono" "^7.1.3" + call-me-maybe "^1.0.1" + js-yaml "^3.13.1" + +"@pyramation/json-schema-to-typescript@ 11.0.4": + version "11.0.4" + resolved "https://registry.npmjs.org/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz" + integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== + dependencies: + "@pyramation/json-schema-ref-parser" "9.0.6" + "@types/json-schema" "^7.0.11" + "@types/lodash" "^4.14.182" + "@types/prettier" "^2.6.1" + cli-color "^2.0.2" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^4.2.2" + is-glob "^4.0.3" + lodash "^4.17.21" + minimist "^1.2.6" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.6.2" + +"@pyramation/protobufjs@6.11.5": + version "6.11.5" + resolved "https://registry.npmjs.org/@pyramation/protobufjs/-/protobufjs-6.11.5.tgz#c64904a7214f2d061de53eed166c882a369731c4" + integrity sha512-gr+Iv6d7Iwq3PmNsTeQtL6TUONJs0WqbHFikett4zLquRK7egWuifZSKsqV8+o1UBNZcv52Z1HhgwTqNJe75Ag== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +"@sinclair/typebox@^0.24.1": + version "0.24.41" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.41.tgz" + integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/glob@^7.1.3": + version "7.2.0" + resolved "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz" + integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + +"@types/graceful-fs@^4.1.3": + version "4.1.5" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": + version "2.0.4" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/json-schema@^7.0.11": + version "7.0.11" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/lodash@^4.14.182": + version "4.14.185" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.185.tgz" + integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/minimatch@*": + version "5.1.2" + resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + +"@types/node@*": + version "18.7.18" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" + integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/parse-package-name@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@types/parse-package-name/-/parse-package-name-0.1.0.tgz" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== + +"@types/prettier@^2.6.1": + version "2.7.0" + resolved "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.0.tgz" + integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== + +"@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + +"@types/yargs@^17.0.8": + version "17.0.12" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.12.tgz" + integrity sha512-Nz4MPhecOFArtm81gFQvQqdV7XYCrWKx5uUt6GNHredFHn1i2mtWqXTON7EPXMtNi1qjtjEM/VCHDhcHsAMLXQ== + dependencies: + "@types/yargs-parser" "*" + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-escapes@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz" + integrity sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg== + +ansi-escapes@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz" + integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@^3.0.3: + version "3.1.2" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/ast-stringify/-/ast-stringify-0.1.0.tgz" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== + dependencies: + "@babel/runtime" "^7.11.2" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== + dependencies: + object.assign "^4.1.0" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +babel-plugin-polyfill-corejs2@^0.3.2, babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== + dependencies: + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" + semver "^6.1.1" + +babel-plugin-polyfill-corejs3@^0.5.3: + version "0.5.3" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz" + integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.2" + core-js-compat "^3.21.0" + +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" + +babel-plugin-polyfill-regenerator@^0.4.0, babel-plugin-polyfill-regenerator@^0.4.1: + version "0.4.1" + resolved "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +call-me-maybe@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz" + integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +case@1.6.3: + version "1.6.3" + resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz" + integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^1.0.0, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.0, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz" + integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +ci-info@^3.2.0: + version "3.4.0" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.4.0.tgz" + integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +cli-color@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz" + integrity sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.61" + es6-iterator "^2.0.3" + memoizee "^0.4.15" + timers-ext "^0.1.7" + +cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz" + integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== + dependencies: + restore-cursor "^2.0.0" + +cli-width@^2.0.0: + version "2.2.1" + resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colors@^1.1.2: + version "1.4.0" + resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +convert-source-map@^1.4.0, convert-source-map@^1.7.0: + version "1.8.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +core-js-compat@^3.21.0, core-js-compat@^3.22.1: + version "3.25.1" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.1.tgz" + integrity sha512-pOHS7O0i8Qt4zlPW/eIFjwp+NrTPx+wTL0ctgI2fHn31sZOq89rDsmtc/A2vAX7r6shl+bmVI+678He46jgBlw== + dependencies: + browserslist "^4.21.3" + +core-js-compat@^3.25.1: + version "3.25.5" + resolved "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz#0016e8158c904f7b059486639e6e82116eafa7d9" + integrity sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA== + dependencies: + browserslist "^4.21.4" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + +dargs@7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + +debug@^4.1.0, debug@^4.1.1: + version "4.3.4" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@4.2.2, deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3, define-properties@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +dotty@0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + +electron-to-chromium@^1.4.251: + version "1.4.254" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz" + integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.53, es5-ext@^0.10.61, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: + version "0.10.62" + resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" + integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + next-tick "^1.1.0" + +es6-iterator@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + +es6-symbol@^3.1.1, es6-symbol@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +ext@^1.1.2: + version "1.7.0" + resolved "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== + dependencies: + type "^2.7.2" + +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz" + integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fb-watchman@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== + dependencies: + bser "2.1.1" + +figures@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz" + integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== + dependencies: + escape-string-regexp "^1.0.5" + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2: + version "2.3.2" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +fuzzy@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/fuzzy/-/fuzzy-0.1.3.tgz" + integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + +glob-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== + dependencies: + "@types/glob" "^7.1.3" + +glob@8.0.3: + version "8.0.3" + resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +iconv-lite@^0.4.17, iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +inquirer-autocomplete-prompt@^0.11.1: + version "0.11.1" + resolved "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz" + integrity sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.1.3" + figures "^2.0.0" + inquirer "3.1.1" + lodash "^4.17.4" + run-async "^2.3.0" + util "^0.10.3" + +inquirer@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-3.1.1.tgz" + integrity sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.0.0" + strip-ansi "^3.0.0" + through "^2.3.6" + +inquirer@^6.0.0: + version "6.5.2" + resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== + dependencies: + ansi-escapes "^3.2.0" + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^2.0.0" + lodash "^4.17.12" + mute-stream "0.0.7" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^2.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + +inquirerer@0.1.3: + version "0.1.3" + resolved "https://registry.npmjs.org/inquirerer/-/inquirerer-0.1.3.tgz" + integrity sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ== + dependencies: + colors "^1.1.2" + inquirer "^6.0.0" + inquirer-autocomplete-prompt "^0.11.1" + +interchain@1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/interchain/-/interchain-1.1.0.tgz#19a2c70b36685540b333580ebf6da9a772f2dd06" + integrity sha512-hEBY+5qa2XE3fx7emllW+GyLlUYQo3NG72qfDtnTz3vN3I9ZSpF++Gk3wz8gj0ahtTDU/bwULZ4d/NYz/efYoA== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/lcd" "^0.8.0" + "@osmonauts/telescope" "^0.72.0" + protobufjs "^6.11.2" + +interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + +is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + +istanbul-lib-instrument@^5.0.4: + version "5.2.0" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz" + integrity sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-28.1.3.tgz" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== + dependencies: + "@jest/types" "^28.1.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 "^28.0.2" + jest-util "^28.1.3" + jest-worker "^28.1.3" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-regex-util@^28.0.2: + version "28.0.2" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-28.0.2.tgz" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + +jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== + dependencies: + "@jest/types" "^28.1.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json5@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" + integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +lodash@^4.17.12, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: + version "4.17.21" + resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +memoizee@^0.4.15: + version "0.4.15" + resolved "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz" + integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.53" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +minimatch@5.1.0, minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.0.4, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@1.2.6, minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +mkdirp@1.0.4, mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +mute-stream@0.0.7: + version "0.0.7" + resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz" + integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next-tick@1, next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" + integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== + +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +object-assign@^4.0.1, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.0: + version "4.1.4" + resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz" + integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== + dependencies: + mimic-fn "^1.0.0" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/parse-package-name/-/parse-package-name-1.0.0.tgz" + integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pirates@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" + integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prettier@^2.6.2: + version "2.7.1" + resolved "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== + dependencies: + resolve "^1.1.6" + +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +regenerator-transform@^0.15.0: + version "0.15.0" + resolved "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz" + integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== + dependencies: + "@babel/runtime" "^7.8.4" + +regexpu-core@^5.1.0: + version "5.2.1" + resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz" + integrity sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ== + dependencies: + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.0.0" + +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/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.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve@^1.1.6, resolve@^1.14.2, resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz" + integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + +rimraf@3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +run-async@^2.2.0, run-async@^2.3.0: + version "2.4.1" + resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz" + integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== + dependencies: + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz" + integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== + +rxjs@^6.4.0: + version "6.6.7" + resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +shelljs@0.8.5: + version "0.8.5" + resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +signal-exit@^3.0.2, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string-width@^2.0.0, string-width@^2.1.0: + version "2.1.1" + resolved "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== + dependencies: + ansi-regex "^3.0.0" + +strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +type@^1.0.1: + version "1.2.0" + resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.7.2: + version "2.7.2" + resolved "https://registry.npmjs.org/type/-/type-2.7.2.tgz" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== + dependencies: + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz" + integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +update-browserslist-db@^1.0.9: + version "1.0.9" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" + integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +util@^0.10.3: + version "0.10.4" + resolved "https://registry.npmjs.org/util/-/util-0.10.4.tgz" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== + dependencies: + inherits "2.0.3" + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + +wasm-ast-types@^0.11.3: + version "0.11.3" + resolved "https://registry.npmjs.org/wasm-ast-types/-/wasm-ast-types-0.11.3.tgz" + integrity sha512-rNJNKznUMgt8Bb01xPoyjM13VQmXzDIBG49oV09k4RusRELZu7pQWejBy08lV5BQjcIYKpWkqiUnAZJp73ZmOA== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index f722a3096..3703d92fc 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chain-registry/types": "0.13.1", @@ -34,6 +37,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/stargaze/yarn.lock b/examples/stargaze/yarn.lock new file mode 100644 index 000000000..d999adc59 --- /dev/null +++ b/examples/stargaze/yarn.lock @@ -0,0 +1,3581 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.18.9": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz" + integrity sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ== + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + +"@cosmjs/amino@0.29.0", "@cosmjs/amino@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.0.tgz" + integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/cosmwasm-stargate@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz" + integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stargate" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz" + integrity sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ== + dependencies: + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.0.tgz" + integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== + dependencies: + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz" + integrity sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.0.tgz" + integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz" + integrity sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A== + dependencies: + "@cosmjs/stream" "0.28.13" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz" + integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== + dependencies: + "@cosmjs/stream" "^0.29.0" + xstream "^11.14.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz" + integrity sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.0.tgz" + integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz" + integrity sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ== + dependencies: + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + +"@cosmjs/proto-signing@0.29.0", "@cosmjs/proto-signing@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz" + integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== + dependencies: + "@cosmjs/amino" "^0.29.0" + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.28.13.tgz" + integrity sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug== + dependencies: + "@cosmjs/stream" "0.28.13" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.0.tgz" + integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== + dependencies: + "@cosmjs/stream" "^0.29.0" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.28.13.tgz" + integrity sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/tendermint-rpc" "0.28.13" + "@cosmjs/utils" "0.28.13" + cosmjs-types "^0.4.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.0.tgz" + integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/proto-signing" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + cosmjs-types "^0.5.0" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.28.13.tgz" + integrity sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.0.tgz" + integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== + dependencies: + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz" + integrity sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w== + dependencies: + "@cosmjs/crypto" "0.28.13" + "@cosmjs/encoding" "0.28.13" + "@cosmjs/json-rpc" "0.28.13" + "@cosmjs/math" "0.28.13" + "@cosmjs/socket" "0.28.13" + "@cosmjs/stream" "0.28.13" + "@cosmjs/utils" "0.28.13" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz" + integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== + dependencies: + "@cosmjs/crypto" "^0.29.0" + "@cosmjs/encoding" "^0.29.0" + "@cosmjs/json-rpc" "^0.29.0" + "@cosmjs/math" "^0.29.0" + "@cosmjs/socket" "^0.29.0" + "@cosmjs/stream" "^0.29.0" + "@cosmjs/utils" "^0.29.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@0.28.13": + version "0.28.13" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz" + integrity sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg== + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.0": + version "0.29.0" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.0.tgz" + integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/helpers@^0.6.0": + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/helpers/-/helpers-0.6.0.tgz" + integrity sha512-l62tWR/0W4R+5wRvMeRK0zlaJ8WZhULKsQAZ7kNzggL0pbndIAV+0BJ/jEBbNletoeGtuV8rpi6Wo+w+RmtZGw== + dependencies: + "@babel/runtime" "^7.18.9" + "@cosmjs/amino" "0.28.13" + "@cosmjs/crypto" "0.28.13" + "@cosmjs/proto-signing" "0.28.13" + "@cosmjs/stargate" "0.28.13" + cosmjs-types "0.5.1" + long "^5.2.0" + protobufjs "^6.11.3" + +"@osmonauts/lcd@0.6.0": + version "0.6.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.6.0.tgz" + integrity sha512-vz9VavXrEfxZoXbSAfNfk90MLpn34XtBYPV3L9YilE+s56AhqYxUh83nne9J5somnTRfGnyR3oeV8C+lHkqiuA== + dependencies: + "@babel/runtime" "^7.18.9" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@0.5.1, cosmjs-types@^0.5.0: + version "0.5.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.1.tgz" + integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.4.0: + version "0.4.1" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz" + integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +long@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/long/-/long-5.2.0.tgz" + integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +stargaze-zone@0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/stargaze-zone/-/stargaze-zone-0.4.0.tgz#ea83b9b4db078b161a22de6ad6ba3a58e973a88b" + integrity sha512-tn0nTZfmMIsWUgLTBBeruJfqOKXd0MsOoBUGO0l4b+ab6hZTZMm24wJfHasVnrxyN8EFk/MZ5Bgf/p3u/M/vXg== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.0" + "@cosmjs/cosmwasm-stargate" "^0.29.0" + "@cosmjs/proto-signing" "0.29.0" + "@cosmjs/stargate" "0.29.0" + "@cosmjs/tendermint-rpc" "^0.29.0" + "@osmonauts/helpers" "^0.6.0" + "@osmonauts/lcd" "0.6.0" + protobufjs "^6.11.2" + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 5ccab893e..2c7886ff8 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@cosmjs/cosmwasm-stargate": "0.29.3", @@ -40,7 +43,8 @@ "autoprefixer": "^10.4.12", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/tailwindcss/yarn.lock b/examples/tailwindcss/yarn.lock index 81c66f91b..e5b824d35 100644 --- a/examples/tailwindcss/yarn.lock +++ b/examples/tailwindcss/yarn.lock @@ -4,36 +4,36 @@ "@babel/code-frame@^7.0.0": version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== dependencies: "@babel/highlight" "^7.18.6" "@babel/helper-module-imports@^7.16.7": version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== dependencies: "@babel/types" "^7.18.6" "@babel/helper-plugin-utils@^7.18.6": version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== -"@babel/helper-string-parser@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" - integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== -"@babel/helper-validator-identifier@^7.18.6": +"@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" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== "@babel/highlight@^7.18.6": version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== dependencies: "@babel/helper-validator-identifier" "^7.18.6" @@ -42,808 +42,831 @@ "@babel/plugin-syntax-jsx@^7.17.12": version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/runtime-corejs3@^7.10.2": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.19.1.tgz#f0cbbe7edda7c4109cd253bb1dee99aba4594ad9" - integrity sha512-j2vJGnkopRzH+ykJ8h68wrHnEUmtK//E723jjixiAl/PPf6FhqY/vYRcMVlNydRKQjQsTsYEjpx+DZMIvnGk/g== - dependencies: - core-js-pure "^3.25.1" - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" - integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== dependencies: regenerator-runtime "^0.13.4" "@babel/types@^7.18.6": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" - integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== dependencies: - "@babel/helper-string-parser" "^7.18.10" - "@babel/helper-validator-identifier" "^7.18.6" + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + "@chain-registry/types@^0.11.0": - version "0.11.0" - resolved "https://registry.yarnpkg.com/@chain-registry/types/-/types-0.11.0.tgz#86e7241f30812e3651d173379fd4edc22bb3ac2c" - integrity sha512-VtsJ+/iM4Iwj4hiDB5SK6scenonONTyLTRuuUVZOERU7U0+WwaKb9H0br0ZKiralCQJKhwDTdJfxGSdYsAy70Q== + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== dependencies: "@babel/runtime" "^7.19.0" "@keplr-wallet/cosmos" "^0.10.24" "@keplr-wallet/crypto" "^0.10.24" -"@chakra-ui/accordion@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/accordion/-/accordion-2.1.0.tgz#8e42132ae451a2e4cbd9872a7b921612e5e61073" - integrity sha512-23kow8qafcAL8s7FDGorhVlvrW09PfX0RlwiZg8yIumNmdcBhkUwK1FT+hzTaZONqNoaVKbgMOGLFTnPxQr3mA== +"@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" + "@babel/runtime" "^7.19.4" -"@chakra-ui/alert@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/alert/-/alert-2.0.10.tgz#81fe7ae87cfa5f48154b26b501c8a7246cfca77e" - integrity sha512-6g3i+eXPFQtC7tRNQnuzQg/AlbqpfjSKDq37myklArA+zh0EMyv3jQSDETVOvT6h2ItZe6nGNpg+EraXkrcqdA== +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" -"@chakra-ui/anatomy@2.0.6": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/anatomy/-/anatomy-2.0.6.tgz#83164841d27eaa271ffa747534519bcd323c312f" - integrity sha512-Vgop2FFdhVtX7BydjZdJWZAWy+DdXBU1IMaBppz6COaH+/7OXxoI2ec2bs17ehJyBO0M+ud3OLj5UCFQ79YsoQ== +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/avatar@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/avatar/-/avatar-2.1.0.tgz#009b4e126c58ef0183618cfbfb29f8e7e3357ee9" - integrity sha512-SRQeH6NNvIBgUc4OsO14ypvcn8I66ndw7r4piIkm+R2zqbYnrzpp1d2zNPNHkChc4xQY71/GenenYO5Fhsi2DA== +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== dependencies: - "@chakra-ui/image" "2.0.10" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/breadcrumb@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/breadcrumb/-/breadcrumb-2.0.9.tgz#357e4e2a50cdad87c0b3b59656aafa85671e6142" - integrity sha512-cc3WbxrJNRUph4v45qCdcIKJI0xECeV9VikQNIactBB+iexN4d+5P66xZABAkD8wWGmyH5KuSZcd9sFYNmC13w== +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== dependencies: - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/breakpoint-utils@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.3.tgz#af7f7603f31a7d8d0166307a47e88cf5902401b4" - integrity sha512-smi41ZtaiPw4mXaCgicyAh5M45Drt20wypThP+qQUT2CQ51UFZhYlItRA2lCXKQ9QB83POcHPC/oAwIsNOAfTg== +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== -"@chakra-ui/button@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/button/-/button-2.0.10.tgz#432051952fa074fd9eee8c4c6c7a6d67895b3ea2" - integrity sha512-8M3tCDvEUtIMzQt2ra1ZlJmoFm3zZyNIJsljKP5dUqOqs8MSWcOOIAs/6l8NSj/vZm/zARTIeiyd8SbkDl7yyQ== +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/spinner" "2.0.9" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" -"@chakra-ui/checkbox@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/checkbox/-/checkbox-2.2.0.tgz#aeec60c0486e4a0913d9a32708607417c99aefdd" - integrity sha512-zocyPl07W2LPLheqQUCC86gZuTFbZAAmymxNtZ4RFyYlQ4JEGYCV9LCQ+1LhwIv13lGCX7paKuy/EmYGQOKcjw== +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/visually-hidden" "2.0.10" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/clickable@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/clickable/-/clickable-2.0.9.tgz#c06486d36f4a4cb517ea75176e05021dfde117cd" - integrity sha512-tGXYM6M6I954fif98QkNu5M76oBZmksCTj2mILOan9/BSimpFpu06aPGX3ZIkNsz300nIObn0FdtMvKpIEQueA== +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== dependencies: - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/close-button@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/close-button/-/close-button-2.0.10.tgz#30c143682edc13e458270cb3ec2bc80780408830" - integrity sha512-uD0I1HyyGpKLoIYDOd+1/LdY2sKL5KXNgoyapc6uX0lSz/eohNwV9ivFHPtPalFR//KPlqs+DKw3DOQ38X8z0A== +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== dependencies: - "@chakra-ui/icon" "3.0.10" + "@chakra-ui/icon" "3.0.11" -"@chakra-ui/color-mode@2.1.8": - version "2.1.8" - resolved "https://registry.yarnpkg.com/@chakra-ui/color-mode/-/color-mode-2.1.8.tgz#887325572cd64da0a063d063df631c74fd25de2e" - integrity sha512-IjHrdHHKG3lpCsiS7GR4TL58c0q++eL6/WrWMz2Pd6tnFFIgymacMiq7i+uNRPyvmrIhMxOMQWYlu+7dH2HzAg== +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/control-box@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/control-box/-/control-box-2.0.9.tgz#b3cd98ceb1ce683c00445ab7469e65ba3d90c3cc" - integrity sha512-/viS9OBah1wCLNZbgfwkoQOnVRUYgp8Gypjqk9QNQwnNdFUTEgWc1RWN+1RYO85esJzHLkA2hZFIrYu1TZeZ6g== +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== -"@chakra-ui/counter@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/counter/-/counter-2.0.9.tgz#b1b7c74c4e5d1ac506d699d93da57d535370a702" - integrity sha512-LuqtpyxCOZM19gAmV0vtVeaFd9ccPmEjoGJQ0NoO8CFheltgLC/7m/8YpDbgWiG4+BAkTUfIG+5nLg5hwvvQxw== +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== dependencies: - "@chakra-ui/number-utils" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/css-reset@2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/css-reset/-/css-reset-2.0.7.tgz#28f4284c36230e30892dc3f2de2464aaacc4f623" - integrity sha512-ztGdFQ6U1hX2k6a3HZ8D3A/dZWVxlGe2F5mvUrRU554mFWBYmsq0ydZ7UBEPlykv9NoCz4nN8VCkIxcKJ3p29Q== +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== -"@chakra-ui/descendant@3.0.9": - version "3.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/descendant/-/descendant-3.0.9.tgz#6574a1ce00067c49a070c5b005f8f1ca399006ea" - integrity sha512-30E5yMWvxgBx43PoI/67r9h9OhbpDfLb/MLOCjtEwebSbD0V5+fmnmCoUELScQbhozQVjA9t195X6UP0VQWj8w== +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/dom-utils@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/dom-utils/-/dom-utils-2.0.2.tgz#5a90916bd64c12fe202b7844052035311669aa2a" - integrity sha512-beTUYmewFppJZrEaHVkl1mj9UwJKjQQj+1S+Qh7ZtIp8ZWwBFyzs9YwXI56QAcL4vTxsnig7znpvkgv8MeF9ew== +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== -"@chakra-ui/editable@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/editable/-/editable-2.0.11.tgz#1568b2450ed71693c9936054e9b393208b087adf" - integrity sha512-QFD1BZSFc6P05dgSJrclgzUB94jZmcG4xG0brIJgySQIYK4SNfSABO7uZ5lYWew6sAuZcCTXBmG2L/2I495Alg== +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== dependencies: - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/event-utils@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/event-utils/-/event-utils-2.0.4.tgz#eeb3eb4f37c3828955dbbc182ea43a8a3238a599" - integrity sha512-J2YgAM5Dw9hMkwfMsWhsiAG848GfTMxNclUIUcgV9RQhLEs0eTFhelzNiKVOMA3vBxlT6lOARuRun/ESiFZgGg== + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== -"@chakra-ui/focus-lock@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/focus-lock/-/focus-lock-2.0.11.tgz#3cd66ef8fb84af819aa6db79f28fbd3d3354a24e" - integrity sha512-o2GlpJleSFvs6KYWlS4KP5H0KHBy37r7E2ALcuDb3dNZbR/1UMJhR1lguPMys4ybfZzu0kHGqKpuWwDUPIB4eg== +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== dependencies: - "@chakra-ui/dom-utils" "2.0.2" + "@chakra-ui/dom-utils" "2.0.3" react-focus-lock "^2.9.1" -"@chakra-ui/form-control@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/form-control/-/form-control-2.0.10.tgz#b279c51728a53d2e448736a5cdbea6cb53d3e394" - integrity sha512-3WhEWCWxd9ee10I5e4nu3Sq90EXa7Xyvv60gFu2rghhd5Z5TA87j3Mod/aRMQ/1/NzCE+zNRSeWgIdKbWMjqpQ== +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/hooks@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/hooks/-/hooks-2.0.10.tgz#43ceef03c2def98c2add470f7056eae268c113e1" - integrity sha512-oVL8UpHC+oqs7hl6gphDMahwfq+fpWDDstw8RVHcy7+twJXkn+0KTexP029z69JoyMCj3yHCRCGcljgV7VCoZA== +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== dependencies: - "@chakra-ui/react-utils" "2.0.7" - "@chakra-ui/utils" "2.0.10" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" compute-scroll-into-view "1.0.14" copy-to-clipboard "3.3.1" -"@chakra-ui/icon@3.0.10": - version "3.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/icon/-/icon-3.0.10.tgz#1a11b5edb42a8af7aa5b6dec2bf2c6c4df1869fc" - integrity sha512-utO569d9bptEraJrEhuImfNzQ8v+a8PsQh8kTsodCzg8B16R3t5TTuoqeJqS6Nq16Vq6w87QbX3/4A73CNK5fw== +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== dependencies: - "@chakra-ui/shared-utils" "2.0.1" + "@chakra-ui/shared-utils" "2.0.2" -"@chakra-ui/icons@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/icons/-/icons-2.0.10.tgz#61aeb44c913c10e7ff77addc798494e50d66c760" - integrity sha512-hxMspvysOay2NsJyadM611F/Y4vVzJU/YkXTxsyBjm6v/DbENhpVmPnUf+kwwyl7dINNb9iOF+kuGxnuIEO1Tw== +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== dependencies: - "@chakra-ui/icon" "3.0.10" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/image@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/image/-/image-2.0.10.tgz#712c0e1c579d959225bd8316d8d8f66cbeb95bb8" - integrity sha512-Atc1bdog4V5xv7IbpF2F2UkKWfgG/TD74cIac09JuSpQcYyh7lrJ7iVvhTkeP+LDdCs+QCD7SnTUM4Y0ZlaHbA== - dependencies: - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== -"@chakra-ui/input@2.0.10": +"@chakra-ui/live-region@2.0.10": version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/input/-/input-2.0.10.tgz#f00466daacd5e1d24aca59f326c8e9d7fcb92919" - integrity sha512-7+/iHdIqUST6KIRW/7JKoDus7a/8ynUsqkid8zTcbgxw8LTPkxA5aHplYLQTHfrhEqLeqP43nmt6nBsCpPt2dA== - dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/layout@2.1.7": - version "2.1.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/layout/-/layout-2.1.7.tgz#a273a220a1001d145ca96f3c88edad90ed0f7ec8" - integrity sha512-KOPTh1T71HiWA3YjHpXmZx/sSXSMKJJc+E+1QRrhOoUPwwEW0jLLpiKGLmelmmB+ZrMMWaq8io0du038xPqkGg== - dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/object-utils" "2.0.3" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/shared-utils" "2.0.1" - -"@chakra-ui/lazy-utils@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/lazy-utils/-/lazy-utils-2.0.1.tgz#6814836552028fa0823563ce3d39d22bccb203e1" - integrity sha512-986YjYq+hEzHDLZiqYlYbdqfiKdC3h2g896Eoe5K2UXtAVxqZI3UOnMH781X6N1R7rGJWquskzG681qFigW/BA== - -"@chakra-ui/live-region@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/live-region/-/live-region-2.0.9.tgz#f26cf1b96df51515cd3a0897f9516f8b5f6bbfec" - integrity sha512-ilbo/C5wcUoSHDU5owFPQP3KsabPYGzDEbwV+Z76BlyNdFN2PD0j13RGEH+sBNNZ3HzLyyuuc1YmkVcJi7ycQg== + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== -"@chakra-ui/media-query@3.2.6": - version "3.2.6" - resolved "https://registry.yarnpkg.com/@chakra-ui/media-query/-/media-query-3.2.6.tgz#7de9e1ddac367bcdda4e70e3bb7293bb2322e36f" - integrity sha512-2GS48Zv7tRZYRdnBa3JaAh1u7C2hlWFa+g8ussbgy+Noduop5ZHpMFhI0S5qzj4UBzYD7mcF+K1yZY6h1DZrow== +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== dependencies: - "@chakra-ui/breakpoint-utils" "2.0.3" - "@chakra-ui/react-env" "2.0.9" + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" -"@chakra-ui/menu@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/menu/-/menu-2.1.0.tgz#14891c7d3000acacf3213696cd1ed3b6c84029e2" - integrity sha512-FEoXrN63hyNaf04CQe7Eg14tWN/e4brpTaKVakfP/h76CxLjokrcr2wF0zGZHuMO4YHBKj4QHNCyuBZHSY+9BQ== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-outside-click" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/transition" "2.0.9" - -"@chakra-ui/modal@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.0.tgz#99517a51446179489137ddfaf91809b392530f59" - integrity sha512-ekACl6VGRU4Du1JeEMRwLrp3VPZyrUsV1K8zhSh3BQjRtPNv71xqJ7wqvGljHNyIi7IL2VDwwxoDz1WhY34FIw== - dependencies: - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/focus-lock" "2.0.11" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-context" "2.0.3" +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/transition" "2.0.9" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" aria-hidden "^1.1.1" react-remove-scroll "^2.5.4" -"@chakra-ui/number-input@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/number-input/-/number-input-2.0.11.tgz#8dfaf8387a4fac17a1e29703002afd1910608e0f" - integrity sha512-SUxpWJ0Ou4kgOQORePqMKHiD76jl19ujNZ9sRk7VkQNbWrzi9CcxnbuyHOc6vSJogCFXsuN06MR0AYR7qpewXg== +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== dependencies: - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-interval" "2.0.1" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/number-utils@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/number-utils/-/number-utils-2.0.3.tgz#2cf1190647ac5a17c90baaf8176226a98eb3bfff" - integrity sha512-oN03kYAUCCp/FNtpLr5mh+cvd/sRTzZWTBoFydmxc955psXq/X950gzs6o5kzoeFCpgXaxMmHAXQm3ReEK2NsQ== + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== -"@chakra-ui/object-utils@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/object-utils/-/object-utils-2.0.3.tgz#0bc8d1c7c452fe1ce8fcda439336e0392e867d7e" - integrity sha512-36prckrqTynVD/JTzyCr8OCWVOrMs/awZo3djVbIiNxRIcJ5iEwUVy26h3MWN4ENSopipBtxNfAwPNTLU5Si/g== +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== -"@chakra-ui/pin-input@2.0.13": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@chakra-ui/pin-input/-/pin-input-2.0.13.tgz#2f2c168066eaed63a100315202be97a6a1e60271" - integrity sha512-YpO2dyrTv4yskuEFxxadCjSIwhDcqtWOmx9GyQohGECKMjcQA8GW5d0F2XOu9P31MNaCO0+xJXWBF1z9PLEZSw== +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== dependencies: - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/popover@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/popover/-/popover-2.1.0.tgz#a67cf5a10167eeb130ddf5362929e7d5d1df0958" - integrity sha512-HvHo7pWtxhxpkUoFogL2gCP6Qe8FodIvD1DSG56ngvDZ5eCA9fpN4rhKLksi0obdjakaRq+xq8AFlWPRTp4tDA== +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== dependencies: - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-animation-state" "2.0.4" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-focus-effect" "2.0.4" - "@chakra-ui/react-use-focus-on-pointer-down" "2.0.2" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/popper@3.0.7": - version "3.0.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/popper/-/popper-3.0.7.tgz#af3428bf5d64ad9372210a70181f69a9d79eefb2" - integrity sha512-xLYhuNsk1gOjymtek1ZdZlG21hmg2a7Iu2KsD9Hi7+aUxc2K5/XxX+/vyjjz8u4s0gmj83pTqnauQRynb/TCXA== +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== dependencies: "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.9.tgz#b427c383a9d602c5b52b21312b4b1c0ffecaf583" - integrity sha512-9e9S0MLbkpofPGlyYA12jNYSdndugy6ylPi5pC9nr3/VqG2Kn+8VcBChAeXW8K4ms7WFc74rNX1pBY/UVwr4qg== +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== dependencies: - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" -"@chakra-ui/progress@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.0.10.tgz#9191ae9061ef08066d37c5cb8341fedc10214a29" - integrity sha512-my0Pi3NG1PYhlvCav4fybg3gL5HBNe+7lO4PVdri4QHEyfJlrDeBWID+1GgqlpUWdTj3sOf7ysku+FEgkeOeSA== +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== dependencies: - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/provider@2.0.18": - version "2.0.18" - resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.18.tgz#b98f06975752eab21df797d0bd7e75dffb7c9230" - integrity sha512-eKRhMV4yiTzemD+zDk20BQ4osCfxm+jpKYXvVdOsrINdDDj4WB+yTgHBcQI4xhUaVN5bXt86/TWgK4JnWcvC3Q== +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== dependencies: - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/utils" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" -"@chakra-ui/radio@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/radio/-/radio-2.0.11.tgz#e52142140c2aa00fa758f504cef1c83513be0b2d" - integrity sha512-QWrWGyNCj9vNIiya+/0h4EKTRE77PJQHomDYcwgabHmMMcC1k5ZGktXZRODTLTJ8BOWCcyiM+gg19k+arU88jg== +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== dependencies: - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" "@zag-js/focus-visible" "0.1.0" -"@chakra-ui/react-children-utils@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-children-utils/-/react-children-utils-2.0.1.tgz#321ac05362ade1495a34ea74052d3c7da3d9e923" - integrity sha512-sEgpuh/vWSt2+W0F49EGYXXUyjmg0lbosjVg6qUKHv9sAyx5tbrOrZ6df/TaMUSAe9m3AUOMGqUIPLpxno0DjA== - -"@chakra-ui/react-context@2.0.3": +"@chakra-ui/react-children-utils@2.0.3": version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-context/-/react-context-2.0.3.tgz#e988be62f5f5fe29d6a8496c79cbf934f840fa5a" - integrity sha512-KmPq6sb1y05WsOUqXZtBBC4LsNKZIFrp2thTsLBwcuH7lkXZwPMHmJGKa9K980P+SWEgfH2s2PY2z+QrIuqWGg== + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== -"@chakra-ui/react-env@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-env/-/react-env-2.0.9.tgz#d51efc31d77197a3526e2c4b2f2fde557396bb3c" - integrity sha512-4AJHNUGBR19hzVyOILYpZZgq8jGrpEcbhvR++CppbvPH7vfPZpoz6L/cBtHxS07YwDtUeBL8yCNiLlTxctV//Q== +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== "@chakra-ui/react-types@2.0.3": version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== -"@chakra-ui/react-use-animation-state@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.4.tgz#ac95e7fc9a0175eb6f423cca2c039101ff6996e2" - integrity sha512-ozmFvKq/Kwq68A3bu+Ek9ONUBHsU00Gi0LNzzCErL6OnZe0FZlC8tyia+/RkPYq3Dx91K7oFB4Uk+eqtMRa6TQ== +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== dependencies: - "@chakra-ui/dom-utils" "2.0.2" - "@chakra-ui/react-use-event-listener" "2.0.3" - -"@chakra-ui/react-use-callback-ref@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.3.tgz#532f993ae0dda27b2638d41e98f42c83751cd3b6" - integrity sha512-kdYlhgnQKWWLNwl3WSv/Oq3+mlnu2p3y4Xc1AqKVHVcBOdQE9lpW3d7ZaOoK2aIXXWq1rocscOiXBUtM0Vqd2A== + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/react-use-controllable-state@2.0.4": +"@chakra-ui/react-use-callback-ref@2.0.4": version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.4.tgz#aa1fb1b238a8297edc750726e52968540b323897" - integrity sha512-7JXsDVL11ge1rjge+rBP4JWyaNxf7WsaqK0iY8ac7SwVHJGtNzKBcIKsT+HXCyF1D0hdpIxAZ71cjnlTpM4zOw== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-disclosure@2.0.4": +"@chakra-ui/react-use-event-listener@2.0.4": version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.4.tgz#5f1fb8de00992277c8e2f751fb14970a587c8a38" - integrity sha512-obHoBDGcrxgKnkQVAg6JENFe+cRMqoqa/5J6k3tPsDGRzRWSqHSuzRCCbC1FyRvb6XL34C6xZtOzw+kS/5nHRw== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-event-listener@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.3.tgz#11b5409c4442888e7981d5288c9e781acdacd685" - integrity sha512-m3ZdJjo3QQ1HcQGnehlBTgHaCVewz5fwIRTXVzbZTraVJr4k589Zf87eagW57tT4dyv656lSmdhaFGZ8p5Snww== +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" -"@chakra-ui/react-use-focus-effect@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.4.tgz#d6b1f6360c402b4b018c579981631a0c7c5f61a8" - integrity sha512-7BdXajSnv1UvDR/VQJoBDZT0Tl+kuuML3eldeZJG0RWkCu6n7K89gH97c+OMuF6lbKWzfsfzLtots3Quw3F8kQ== +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== dependencies: - "@chakra-ui/dom-utils" "2.0.2" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" -"@chakra-ui/react-use-focus-on-pointer-down@2.0.2": +"@chakra-ui/react-use-interval@2.0.2": version "2.0.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.2.tgz#f02abb3cecad408677b5f4d2a9faf805537a2cfd" - integrity sha512-HA2fyUV+efCqBEMV3FZaDjk3cOGQLuqisGlYD4jE0rg4gOixmkdKma9JYmccUsuSZzDd5FXL0Cvn1siWMSNGvQ== + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== dependencies: - "@chakra-ui/react-use-event-listener" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-interval@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-interval/-/react-use-interval-2.0.1.tgz#a8f5dbf83607f5dc53022aa2a766fdcb09d8a081" - integrity sha512-6ZLzKA7Ga894UZcXO3bbGYThlhviiau1oxZ1UcJG5pUXNM9Up7O/4Joq31sL+KcpteCN45vd1etomilsv/blxw== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== -"@chakra-ui/react-use-merge-refs@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.3.tgz#cd8dac79c62dd45daaf4acc4507721d23dc5dc51" - integrity sha512-n35BmVbasy5Esa6qxznWmiV3NaRxGpqMpZH0n+X7aXt8VkGAJzRpAVjUmKCLNYyCLpqsQceCmAEK8a5SR6vxqw== +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== -"@chakra-ui/react-use-outside-click@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.3.tgz#d0136d1c2fb45d86361224e98e3a50648bf9b85f" - integrity sha512-r5OohM8lOuZTz6e3vVHvfm/3sEkd06nUPBNU+r3rWh1I7bR9z5Gia/BOQD6GE4jUTanDkHcH76Pf9qJ45kpibQ== +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react-use-pan-event@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.4.tgz#bfc2c1a2a44b2996951a729182566f02c7dc05e4" - integrity sha512-lcEjngfCgIjE5qZeJiaDx+aJzZPLjbjUmbWumi8pIgWOnDL8Ffjh7AMKW4CddP5OgcRnDDb+7aqJbb55wraboA== +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== dependencies: - "@chakra-ui/event-utils" "2.0.4" + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" framesync "5.3.0" -"@chakra-ui/react-use-previous@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-previous/-/react-use-previous-2.0.1.tgz#e19f6b363271f62c36c9f3bd91dc60caa4c4e340" - integrity sha512-ROi+/puVd8D1QaxBSOcGlJNqV2x02ppSgmXzZZJhM8ryFLZjY9ojV3HhamB2IJ/7SIb1rMSSV1GPedFw7YMCwA== +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== -"@chakra-ui/react-use-safe-layout-effect@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.1.tgz#76f8882abaf17078c3b6eb93e1bb26f8c319f3f7" - integrity sha512-H+ZOjkPqv3KBPEoP68JKpQBNdLOI0mwzEiTT397UdvBVCCJ+1/ijWVUT+Ub/pYic60O6xUghy5ORaWqJHhnKDA== +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== -"@chakra-ui/react-use-size@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-size/-/react-use-size-2.0.3.tgz#ae3bd683eb87a40208cf0dd467a5dafb68d87b3e" - integrity sha512-hr4hKepPUmM2paXseSZiOTK2y+ZqnSzYNusDEB01f+cDerFjdN1jSfNJKXpiKF0+hNESXfOPQb3Zt0eDusRdoA== +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== dependencies: "@zag-js/element-size" "0.1.0" -"@chakra-ui/react-use-timeout@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.1.tgz#acacadfb7c1443aacf634ddce710b1cd7cf3b6ec" - integrity sha512-zXh9RH+GciKr8hvaOADHOoHP72B7UZUEymA8CWCV4WEs/9s/PfQJH7X1bwvaj43CcOmfVQg4oODWqCYQM1lSsg== - dependencies: - "@chakra-ui/react-use-callback-ref" "2.0.3" - -"@chakra-ui/react-use-update-effect@2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.3.tgz#5b0128fe1325b5b1413690db6bc8dd0712d01e29" - integrity sha512-8hkP1o/UUUA49w/R+XyAlPiCjxXTCWCNsHWUOEhAitjJfoCNUjgaNKOD52hT07kc5ACJEcJQHA5327LnwtiIlg== - -"@chakra-ui/react-utils@2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@chakra-ui/react-utils/-/react-utils-2.0.7.tgz#5be991b6ba858fe481a3d454165f499f7f8de082" - integrity sha512-bgJbD0AINaRxFf0Ivx0YMZy9hWLGzJQCodMb7wOikhuPdPwYhn7csmQhDZ2C3ANjKe11VmslUiHbtp6l3jVNzA== +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== dependencies: - "@chakra-ui/utils" "2.0.10" + "@chakra-ui/react-use-callback-ref" "2.0.4" -"@chakra-ui/react@2.3.4", "@chakra-ui/react@^2.2.9": - version "2.3.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.3.4.tgz#e3f7364e155b805fcaf1ef65c5e6e2db4f840563" - integrity sha512-b1jbDwl6EZICTh8IaMlsrYAATpT2SvZi2za+asBdDexmnP6ooW3NTKm/HaTikuQCaysfMUhztrbERmenWvOXzA== - dependencies: - "@chakra-ui/accordion" "2.1.0" - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/avatar" "2.1.0" - "@chakra-ui/breadcrumb" "2.0.9" - "@chakra-ui/button" "2.0.10" - "@chakra-ui/checkbox" "2.2.0" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/control-box" "2.0.9" - "@chakra-ui/counter" "2.0.9" - "@chakra-ui/css-reset" "2.0.7" - "@chakra-ui/editable" "2.0.11" - "@chakra-ui/form-control" "2.0.10" - "@chakra-ui/hooks" "2.0.10" - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/image" "2.0.10" - "@chakra-ui/input" "2.0.10" - "@chakra-ui/layout" "2.1.7" - "@chakra-ui/live-region" "2.0.9" - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/menu" "2.1.0" - "@chakra-ui/modal" "2.2.0" - "@chakra-ui/number-input" "2.0.11" - "@chakra-ui/pin-input" "2.0.13" - "@chakra-ui/popover" "2.1.0" - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/progress" "2.0.10" - "@chakra-ui/provider" "2.0.18" - "@chakra-ui/radio" "2.0.11" - "@chakra-ui/react-env" "2.0.9" - "@chakra-ui/select" "2.0.11" - "@chakra-ui/skeleton" "2.0.16" - "@chakra-ui/slider" "2.0.11" - "@chakra-ui/spinner" "2.0.9" - "@chakra-ui/stat" "2.0.10" - "@chakra-ui/switch" "2.0.12" - "@chakra-ui/system" "2.2.11" - "@chakra-ui/table" "2.0.10" - "@chakra-ui/tabs" "2.1.2" - "@chakra-ui/tag" "2.0.10" - "@chakra-ui/textarea" "2.0.11" - "@chakra-ui/theme" "2.1.12" - "@chakra-ui/toast" "3.0.12" - "@chakra-ui/tooltip" "2.1.0" - "@chakra-ui/transition" "2.0.9" - "@chakra-ui/utils" "2.0.10" - "@chakra-ui/visually-hidden" "2.0.10" - -"@chakra-ui/select@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/select/-/select-2.0.11.tgz#d4234e89f531f7a185be8c6cad372de3dc6d7391" - integrity sha512-DlJVNwrM5Es45cKRBXSwSsIhPW2A7SRg5yYlIkEzMngFJ+v0HNkmTNEOI9nDDEuMWAsOfdbm/DKHmDOysJiZhw== +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== dependencies: - "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/form-control" "2.0.11" -"@chakra-ui/shared-utils@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.1.tgz#41e314e42c96039e8ffb265e73145cf755813ab4" - integrity sha512-NXDBl/u4wrSNp0ON5R3r3evkRurrAz2yuO7neooaG+O5HEenVouGqm4CsXd6lUAPmjwiGzA0LQFNCt0Hj92dXg== +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== -"@chakra-ui/skeleton@2.0.16": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.16.tgz#7a62c7e11ab2d3a2bb68c0829e0a00c138a9692d" - integrity sha512-7paWdnrtOQTmuik+JF3HFi2dC4OOpwS+wv+oncJQxFLKjsv2NEObra3EDZ0SrvNviv2Yff2ufywCB/LC4i+DaA== +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== dependencies: - "@chakra-ui/media-query" "3.2.6" - "@chakra-ui/react-use-previous" "2.0.1" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" -"@chakra-ui/slider@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.11.tgz#ff90a8883d52af9d7f5362714b8e838a05d4d133" - integrity sha512-Ui+s8rtciA+do/iXxcP0rvitiwmPwZTNRBmWE9CGMZwWHebewzw82hbTgPKBBVxKO7s1YMVIndniARn1MQZ8bg== +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== dependencies: - "@chakra-ui/number-utils" "2.0.3" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-callback-ref" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-pan-event" "2.0.4" - "@chakra-ui/react-use-size" "2.0.3" - "@chakra-ui/react-use-update-effect" "2.0.3" - -"@chakra-ui/spinner@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/spinner/-/spinner-2.0.9.tgz#1d8544cc136699a590c3f5c518ae2c14abb459cf" - integrity sha512-9ALl51fiVWptDu2J2xcv0TSfGf4buumpHrEXHvV2Qy+HZ6rYnUmSThBSb/VgoQS+rASG8bAbLUPlQTQ+v9ibFg== - -"@chakra-ui/stat@2.0.10": + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/stat/-/stat-2.0.10.tgz#5bf995b8e96c9c12ee63ce511626eb89f432a667" - integrity sha512-UilTt/VNSVMrzbcaoCQsz584R+Q9j66X+PtG2t2zgKb0mWHIiK6aimwixPwqdXYrXyImrx4V81jJJbCKostGpg== + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/styled-system@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@chakra-ui/styled-system/-/styled-system-2.3.3.tgz#6152739f817b6c6786a53c8388ea7ab5b338e7cc" - integrity sha512-gCvyJkooWeE8NE6uOSkCf/sje7MdM92rx58dDcfHhVer+eYxat4AW4G8i9Tjnk+FWvgiYdqr70+SBWzEmfqn6g== +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== dependencies: csstype "^3.0.11" lodash.mergewith "4.6.2" -"@chakra-ui/switch@2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/switch/-/switch-2.0.12.tgz#372333fab885fb9f46caa95ead37be85cf6b3913" - integrity sha512-VYWVGjmYBX/UgAKloB4Z2465DUmgIp0sSq3W2vVi+8oDutg62mqF/unWs0RGgR++h6w9YDtJeqIozzxY6f1hxA== +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== dependencies: - "@chakra-ui/checkbox" "2.2.0" + "@chakra-ui/checkbox" "2.2.2" -"@chakra-ui/system@2.2.11": - version "2.2.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/system/-/system-2.2.11.tgz#88f600589d2349489b09e448e974bbaf93e173c9" - integrity sha512-m2L8fizAWk196TRY15eu+NoHEWvIDuxC8iFbmJk9LUJNakyiAHCEREC5AhFweBgGW5LhqZLvD34doCDCo+iDxg== - dependencies: - "@chakra-ui/color-mode" "2.1.8" - "@chakra-ui/react-utils" "2.0.7" - "@chakra-ui/styled-system" "2.3.3" - "@chakra-ui/utils" "2.0.10" +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" react-fast-compare "3.2.0" -"@chakra-ui/table@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/table/-/table-2.0.10.tgz#81d17d2a6e5ace20155417124a20ff7e2bc6661d" - integrity sha512-UII+i5f1WS5hdqpGLlD2xT9Nm4tUiQPUW6wCV3/g2/29G/mcNu6TSahf6UljPgMjTowvgtId8kChWTyziRBkTw== +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== dependencies: - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/tabs@2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/tabs/-/tabs-2.1.2.tgz#1ca6ede845c0a80de92eb22b6a794ce321ab1a30" - integrity sha512-Yz4d/gtlzXPquCF6WdtySSZW/v+mGzNxohWW6v9H6tPNFHV+xS9L9gSFIfWl/0sTIUlcJqzlBFjs0W/yLNJzpQ== - dependencies: - "@chakra-ui/clickable" "2.0.9" - "@chakra-ui/descendant" "3.0.9" - "@chakra-ui/lazy-utils" "2.0.1" - "@chakra-ui/react-children-utils" "2.0.1" - "@chakra-ui/react-context" "2.0.3" - "@chakra-ui/react-use-controllable-state" "2.0.4" - "@chakra-ui/react-use-merge-refs" "2.0.3" - "@chakra-ui/react-use-safe-layout-effect" "2.0.1" - -"@chakra-ui/tag@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/tag/-/tag-2.0.10.tgz#681e78b0fafc002b02eb2205427ea2e0c266078c" - integrity sha512-DEiuuZ2BRDp9XkK1tbcdI7gso6XdvC019YGc7bC9as1uz42X6Sr11jqRZFrgI2ctxOoy9UECJEFUhFDCnWvukg== +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== dependencies: - "@chakra-ui/icon" "3.0.10" - "@chakra-ui/react-context" "2.0.3" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" -"@chakra-ui/textarea@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/textarea/-/textarea-2.0.11.tgz#b89b3a6a8889ba0c1b7c4ac7fa50a659cc8303e9" - integrity sha512-bZ511W7RZhuk/U9EFJOUl6aFsXgkxNuWz11q/WHhcXIRsBzQ7yax1LDpe8WlXcszB8uK1e2sWFWveVbt4Jyu/w== +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== dependencies: - "@chakra-ui/form-control" "2.0.10" + "@chakra-ui/form-control" "2.0.11" -"@chakra-ui/theme-tools@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme-tools/-/theme-tools-2.0.11.tgz#de97b422799627b5a514ae424ca08c1d348bc2a5" - integrity sha512-0Juf98bAyOgnBeQ39nMKWqRsOxZDw75BbAB8o0oVyjhYVS1wJh7tFX1ZRV8N/+AN6fuRXEznZPpyUh3J+ZTiRg== +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== dependencies: - "@chakra-ui/anatomy" "2.0.6" + "@chakra-ui/anatomy" "2.0.7" "@ctrl/tinycolor" "^3.4.0" -"@chakra-ui/theme@2.1.12": - version "2.1.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/theme/-/theme-2.1.12.tgz#bb4ffe38849a5f7163895f74a08a06aa916fe020" - integrity sha512-2RaXPJB6FDtw9qMUbK2CMVZSdHmDfoq/Ud2karYallz6QdrsQaE/6SzqGeXB7J2ZuA886bprmXxstpVOfv/BJg== +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== dependencies: - "@chakra-ui/anatomy" "2.0.6" - "@chakra-ui/theme-tools" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" -"@chakra-ui/toast@3.0.12": - version "3.0.12" - resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-3.0.12.tgz#40ef386199dd1f1da9b43b555c011bffa7f6519f" - integrity sha512-WxG/E6JOzWDKFieKYq6ninr6Syhyii+YuVkd6pE9QIA3U02Bcd6/tIFr6MszACpG5s4QphEPb98wjTSL7YM85w== +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== dependencies: - "@chakra-ui/alert" "2.0.10" - "@chakra-ui/close-button" "2.0.10" - "@chakra-ui/portal" "2.0.9" - "@chakra-ui/react-use-timeout" "2.0.1" - "@chakra-ui/react-use-update-effect" "2.0.3" - "@chakra-ui/theme" "2.1.12" + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" -"@chakra-ui/tooltip@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.1.0.tgz#6319d44a99ffd1818f386213c242427674bb23e6" - integrity sha512-eR2O8776VhyX6NSWxE5L+Jnp03nHAU4T7+74vMaLatWGFdTB0QSHisJzMhu9RpE6YWoKx3BfZ9IE/1rTYESrNQ== +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== dependencies: - "@chakra-ui/popper" "3.0.7" - "@chakra-ui/portal" "2.0.9" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" "@chakra-ui/react-types" "2.0.3" - "@chakra-ui/react-use-disclosure" "2.0.4" - "@chakra-ui/react-use-event-listener" "2.0.3" - "@chakra-ui/react-use-merge-refs" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" -"@chakra-ui/transition@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@chakra-ui/transition/-/transition-2.0.9.tgz#1967fd77f44b57681a9efe4e87561c82420cd2a2" - integrity sha512-cVfKdZl128AEj0LDS8M9dzXao4wmTVj3gRJBnm91Qcg243Pm8OlgIBNbHEwsq/Fps+PsN431BtEGfL4w79wQEA== +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== -"@chakra-ui/utils@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/utils/-/utils-2.0.10.tgz#72e870f53753fd2d8c5f9258c76e8d59959bc1ce" - integrity sha512-OIHrAPwAMVLrsZmYkCvmUr5bu5ZoDkgmoqRTKNvYLA/1iODsYQHRhG+0WJBKh/x0orVld8sCLKqjo4bXPA1QIg== +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== dependencies: "@types/lodash.mergewith" "4.6.6" css-box-model "1.2.1" framesync "5.3.0" lodash.mergewith "4.6.2" -"@chakra-ui/visually-hidden@2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@chakra-ui/visually-hidden/-/visually-hidden-2.0.10.tgz#3e85e9fb48ccc419392cb0d97bd8fd45bb37aa1c" - integrity sha512-uNjwYwi6IugGJSXoZtCjVRekvAU7PZv928SagWtA+TaCLux/8cyNwLSRMdUdku3krPXRh8sIhGnUjqyHdjbuAA== +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== "@confio/ics23@^0.6.8": version "0.6.8" - resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== dependencies: "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.29.0.tgz#35873a580a6102e48415ed2b5b97477f146fb50d" - integrity sha512-/ZUVx6nRN5YE36H3SDq9+i8g2nZ8DJQnN9fVRC8rSHQKauNkoEuK4NxTNcQ2o2EBLUT0kyYAFY2550HVsPMrgw== - dependencies: - "@cosmjs/crypto" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" - -"@cosmjs/cosmwasm-stargate@0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.0.tgz#dea1c16fe80daf14072c3796574fe8cb34a3729b" - integrity sha512-KoNc0XpK6Gh4CITpyMXIuhIdZu59lF3wO1pHabeEZ0v7w3U0tFdCbDppe2RufCkERDZZCGFxnoRmr0KL2wK6Tw== - dependencies: - "@cosmjs/amino" "^0.29.0" - "@cosmjs/crypto" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/proto-signing" "^0.29.0" - "@cosmjs/stargate" "^0.29.0" - "@cosmjs/tendermint-rpc" "^0.29.0" - "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" long "^4.0.0" pako "^2.0.2" "@cosmjs/crypto@^0.24.1": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== dependencies: "@cosmjs/encoding" "^0.24.1" @@ -859,14 +882,14 @@ sha.js "^2.4.11" unorm "^1.5.0" -"@cosmjs/crypto@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.29.0.tgz#c914424a8b538f6624e505bc2015a71e3977c2fb" - integrity sha512-MPJoebRGh7AcZgbfR25ci7iV+XzJiKwVq4wL8n6M5P2QdrIv7DqqniyFXcBbn9dQjMLMHnOSgT9LRv+VXzUVCA== +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== dependencies: - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" "@noble/hashes" "^1" bn.js "^5.2.0" elliptic "^6.5.3" @@ -874,7 +897,7 @@ "@cosmjs/encoding@^0.20.0": version "0.20.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== dependencies: base64-js "^1.3.0" @@ -883,33 +906,33 @@ "@cosmjs/encoding@^0.24.1": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== dependencies: base64-js "^1.3.0" bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/encoding@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.29.0.tgz#75b1b41a2f31f71fcb0982cd1b210d6410739fd0" - integrity sha512-6HDBtid/YLbyXapY6PdMMIigAtGKyD1w0dUCLU1dOIkPf1q3y43kqoA7WnLkRw0g0/lZY1VGM2fX+2RWU0wxYg== +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== dependencies: base64-js "^1.3.0" bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/json-rpc@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.29.0.tgz#481f282bcb3457c71f393342691e957a4fa56535" - integrity sha512-noCt91X+dSYjW1BYbp5jFaYaA/PWIQFXOgl4ZDW0ecGOAj8xh6/D/Vd8bDO97CQgJ1KVw0pyAqVhmrBOBUo1sA== +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== dependencies: - "@cosmjs/stream" "^0.29.0" + "@cosmjs/stream" "^0.29.3" xstream "^11.14.0" "@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== dependencies: "@cosmjs/crypto" "^0.24.1" @@ -921,116 +944,116 @@ "@cosmjs/math@^0.20.0": version "0.20.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== dependencies: bn.js "^4.11.8" "@cosmjs/math@^0.24.1": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== dependencies: bn.js "^4.11.8" -"@cosmjs/math@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.29.0.tgz#2c34f96d94055fe82ca310bec7b2d8a9f1c507cb" - integrity sha512-ufRRmyDQtJUrH8r1V4N7Q6rTOk9ZX7XIXjJto7cfXP8kcxm7IJXKYk+r0EfDnNHFkxTidYvW/1YXeeNoy8xZYw== +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== dependencies: bn.js "^5.2.0" "@cosmjs/proto-signing@^0.24.0-alpha.25": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== dependencies: "@cosmjs/launchpad" "^0.24.1" long "^4.0.0" protobufjs "~6.10.2" -"@cosmjs/proto-signing@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.29.0.tgz#4d9c10fc3a5c64b454bd2d9b407861fcffdfbbe0" - integrity sha512-zAdgDz5vRGAfJ5yyKYuTL7qg5UNUT7v4iV1/ZP8ZQn2fLh9QVxViAIovF4r/Y3EEI4JS5uYj/f8UeHMHQSu8hw== - dependencies: - "@cosmjs/amino" "^0.29.0" - "@cosmjs/crypto" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" long "^4.0.0" -"@cosmjs/socket@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.29.0.tgz#6f8f56799e69ead02f9ffe8925c782804635ac89" - integrity sha512-y7cOBp6YJ2Sn/DZne1eiJ6PVkgZlAi48d0Bz6hVuZ6CliutG0BzM/F3bSLxdw8m2fXNU+lYsi4uLPd0epf5Hig== +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== dependencies: - "@cosmjs/stream" "^0.29.0" + "@cosmjs/stream" "^0.29.3" isomorphic-ws "^4.0.1" ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@0.29.0", "@cosmjs/stargate@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.29.0.tgz#55263ed9d414f2c3073a451527576e4c3d6f04a6" - integrity sha512-BsV3iA3vMclMm/B1LYO0djBYCALr/UIvL6u9HGvM7QvpdtpQiAvskuS4PieVO/gtF9iCCBJLPqa0scwFIgvDyg== +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== dependencies: "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/proto-signing" "^0.29.0" - "@cosmjs/stream" "^0.29.0" - "@cosmjs/tendermint-rpc" "^0.29.0" - "@cosmjs/utils" "^0.29.0" - cosmjs-types "^0.5.0" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" long "^4.0.0" protobufjs "~6.11.3" xstream "^11.14.0" -"@cosmjs/stream@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.29.0.tgz#df2d7ea23293170bc192e91c0fa3e9f8d993b7cc" - integrity sha512-KAJ9sNoXhF19wtkoJf3O2y4YXfklDZgmXhDotgAejLrw2ixoVfTodMHvnl6tpw3ZnmXKibTfUaNXWZD++sG6uQ== +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== dependencies: xstream "^11.14.0" -"@cosmjs/tendermint-rpc@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.0.tgz#db71e743d2ee8dde706c09bc92ac47cc6197f672" - integrity sha512-G+42oGh+tw8/KV0gLAGzNCTe/6mkf7VUE5noSTbsxbeliFR7Lt4i6H2aqvWzmlZFeRxunR7AsQr4wakvlVNWyg== - dependencies: - "@cosmjs/crypto" "^0.29.0" - "@cosmjs/encoding" "^0.29.0" - "@cosmjs/json-rpc" "^0.29.0" - "@cosmjs/math" "^0.29.0" - "@cosmjs/socket" "^0.29.0" - "@cosmjs/stream" "^0.29.0" - "@cosmjs/utils" "^0.29.0" +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" axios "^0.21.2" readonly-date "^1.0.0" xstream "^11.14.0" "@cosmjs/utils@^0.20.0": version "0.20.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== "@cosmjs/utils@^0.24.1": version "0.24.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== -"@cosmjs/utils@^0.29.0": - version "0.29.0" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.29.0.tgz#0a61e6d608e9f6f89a278cc71f4e7cee01199657" - integrity sha512-NiJk3ISX+FU1cQcTTgmJcY84A8mV/p8L5CRewp/2jc/lUmo8j9lMGbX17U7NxVQ9RX5RmrwgdjYnBASzhRCVmA== +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== -"@cosmos-kit/config@0.16.2", "@cosmos-kit/config@^0.16.2": +"@cosmos-kit/config@^0.16.2": version "0.16.2" - resolved "https://registry.yarnpkg.com/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== dependencies: "@babel/runtime" "^7.11.2" @@ -1038,18 +1061,47 @@ "@cosmos-kit/core" "^0.16.2" "@cosmos-kit/keplr" "^0.16.2" -"@cosmos-kit/core@0.16.2", "@cosmos-kit/core@^0.16.2": +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": version "0.16.2" - resolved "https://registry.yarnpkg.com/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" chain-registry "^0.14.0" +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + "@cosmos-kit/keplr@^0.16.2": version "0.16.2" - resolved "https://registry.yarnpkg.com/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== dependencies: "@babel/runtime" "^7.11.2" @@ -1067,10 +1119,10 @@ react-dom "18.2.0" react-icons "^4.4.0" -"@cosmos-kit/react@0.16.3": - version "0.16.3" - resolved "https://registry.yarnpkg.com/@cosmos-kit/react/-/react-0.16.3.tgz#9c8a6694c685a690f7eeb43fc29190062589127f" - integrity sha512-uIZqc1BZQDaUDFUYPpJBqD+8MyC9d2ZpB1S/bi8/fzzQ11FitQtNR/HKHMGnCbzvHQ3irIUKNq1jJEXJXzG1Pw== +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== dependencies: "@babel/runtime" "^7.11.2" "@chain-registry/types" "^0.11.0" @@ -1084,12 +1136,12 @@ "@ctrl/tinycolor@^3.4.0": version "3.4.1" - resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== "@emotion/babel-plugin@^11.10.0": version "11.10.2" - resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== dependencies: "@babel/helper-module-imports" "^7.16.7" @@ -1105,9 +1157,27 @@ source-map "^0.5.7" stylis "4.0.13" +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + "@emotion/cache@^11.10.0": version "11.10.3" - resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== dependencies: "@emotion/memoize" "^0.8.0" @@ -1116,38 +1186,63 @@ "@emotion/weak-memoize" "^0.3.0" stylis "4.0.13" +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + "@emotion/hash@^0.9.0": version "0.9.0" - resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== "@emotion/is-prop-valid@^0.8.2": version "0.8.8" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== dependencies: "@emotion/memoize" "0.7.4" "@emotion/is-prop-valid@^1.2.0": version "1.2.0" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== dependencies: "@emotion/memoize" "^0.8.0" "@emotion/memoize@0.7.4": version "0.7.4" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== "@emotion/memoize@^0.8.0": version "0.8.0" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@11.10.4", "@emotion/react@^11": +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": version "11.10.4" - resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.10.4.tgz#9dc6bccbda5d70ff68fdb204746c0e8b13a79199" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== dependencies: "@babel/runtime" "^7.18.3" @@ -1161,7 +1256,7 @@ "@emotion/serialize@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== dependencies: "@emotion/hash" "^0.9.0" @@ -1170,14 +1265,42 @@ "@emotion/utils" "^1.2.0" csstype "^3.0.2" +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + "@emotion/sheet@^1.2.0": version "1.2.0" - resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== -"@emotion/styled@11.10.4", "@emotion/styled@^11": +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": version "11.10.4" - resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.10.4.tgz#e93f84a4d54003c2acbde178c3f97b421fce1cd4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== dependencies: "@babel/runtime" "^7.18.3" @@ -1189,42 +1312,27 @@ "@emotion/unitless@^0.8.0": version "0.8.0" - resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== "@emotion/use-insertion-effect-with-fallbacks@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== "@emotion/utils@^1.2.0": version "1.2.0" - resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== "@emotion/weak-memoize@^0.3.0": version "0.3.0" - resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== -"@eslint/eslintrc@^1.3.0": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" - integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== - dependencies: - ajv "^6.12.4" - debug "^4.3.2" - espree "^9.4.0" - globals "^13.15.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" - "@ethersproject/address@^5.6.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== dependencies: "@ethersproject/bignumber" "^5.7.0" @@ -1235,7 +1343,7 @@ "@ethersproject/bignumber@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== dependencies: "@ethersproject/bytes" "^5.7.0" @@ -1244,14 +1352,14 @@ "@ethersproject/bytes@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== dependencies: "@ethersproject/bytes" "^5.7.0" @@ -1259,49 +1367,30 @@ "@ethersproject/logger@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== "@ethersproject/rlp@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@headlessui/react@^1.7.2": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.7.2.tgz#e6a6a8d38342064a53182f1eb2bf6d9c1e53ba6a" - integrity sha512-snLv2lxwsf2HNTOBNgHYdvoYZ3ChJE8QszPi1d/hl9js8KrFrUulTaQBfSyPbJP5BybVreWh9DxCgz9S0Z6hKQ== - -"@heroicons/react@^2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-2.0.11.tgz#2c6cf4c66d81142ec87c102502407d8c353558bb" - integrity sha512-bASjOgSSaYj8HqXWsOqaBiB6ZLalE/g90WYGgZ5lPm4KCCG7wPXntY4kzHf5NrLh6UBAcnPwvbiw1Ne9GYfJtw== - -"@humanwhocodes/config-array@^0.10.4": - version "0.10.5" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.5.tgz#bb679745224745fff1e9a41961c1d45a49f81c04" - integrity sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug== - dependencies: - "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" - minimatch "^3.0.4" - -"@humanwhocodes/gitignore-to-minimatch@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" - integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== +"@headlessui/react@^1.7.3": + version "1.7.3" + resolved "https://registry.npmjs.org/@headlessui/react/-/react-1.7.3.tgz#853c598ff47b37cdd192c5cbee890d9b610c3ec0" + integrity sha512-LGp06SrGv7BMaIQlTs8s2G06moqkI0cb0b8stgq7KZ3xcHdH3qMP+cRyV7qe5x4XEW/IGY48BW4fLesD6NQLng== -"@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== +"@heroicons/react@^2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.0.12.tgz#7e5a16c82512f89a30266dd36f8b8465b3e3e216" + integrity sha512-FZxKh3i9aKIDxyALTgIpSF2t6V6/eZfF5mRu41QlwkX3Oxzecdm1u6dpft6PQGxIBwO7TKYWaMAYYL8mp/EaOg== "@iov/crypto@2.1.0": version "2.1.0" - resolved "https://registry.yarnpkg.com/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== dependencies: "@iov/encoding" "^2.1.0" @@ -1318,7 +1407,7 @@ "@iov/encoding@2.1.0": version "2.1.0" - resolved "https://registry.yarnpkg.com/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== dependencies: base64-js "^1.3.0" @@ -1328,7 +1417,7 @@ "@iov/encoding@^2.1.0": version "2.5.0" - resolved "https://registry.yarnpkg.com/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== dependencies: "@cosmjs/encoding" "^0.20.0" @@ -1338,21 +1427,21 @@ "@iov/utils@2.0.2": version "2.0.2" - resolved "https://registry.yarnpkg.com/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== -"@keplr-wallet/common@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.11.4.tgz#2af7b79a6d63c1e8a3b801e01944f762230d1ba5" - integrity sha512-gk5zQvLO1S0N2NoRwQbXQxvusapyhQfO5rMya2vl37lQz9ValDOogOyVkW9iU8GnBhqSSRIjiZEeSTGUH3mulA== +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== dependencies: - "@keplr-wallet/crypto" "0.11.4" + "@keplr-wallet/crypto" "0.11.12" buffer "^6.0.3" delay "^4.4.0" "@keplr-wallet/cosmos@^0.10.24": version "0.10.24" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" @@ -1369,7 +1458,7 @@ "@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": version "0.10.24" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== dependencies: bip32 "^2.0.6" @@ -1380,11 +1469,12 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/crypto@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.11.4.tgz#0b0922ed3a7e9e7a1ba4793d70a41c09b91a68d9" - integrity sha512-ktJh7dxSph3Gh8m8cOQPyNxIcbc3PLatVMynX6v4lwSTAK6GvNijHjgz2S+tEKbTBXANtwvVhIWrSS1TtBMn7w== +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== dependencies: + "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" bip39 "^3.0.3" bs58check "^2.1.2" @@ -1395,34 +1485,34 @@ "@keplr-wallet/proto-types@0.10.24": version "0.10.24" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/provider@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/provider/-/provider-0.11.4.tgz#436f657a05d37b1592d030d3a95ee9f585c3b5d3" - integrity sha512-aSFWBY3tq9ifprJzAlchwdwuOgqLqr0vbrW3zlmk+XwcZODwh8P8S9MQ/+tosR54JRqjXeSlG4PoKE2Og7G7wQ== +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/router" "0.11.4" - "@keplr-wallet/types" "0.11.4" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" buffer "^6.0.3" deepmerge "^4.2.2" long "^4.0.0" secretjs "0.17.7" -"@keplr-wallet/router@0.11.4": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/router/-/router-0.11.4.tgz#a4ecf25266f27c5eb259b6673c23e80e4b4de25f" - integrity sha512-C5j32pG3vB8F2xzqFKZDQ02z4bjhH3U0NElfXsHV3tRPTppHn7aIY+eHMCpvFhC8kgfUlUcIrGITGQPpp+Nn+Q== +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== "@keplr-wallet/types@0.10.24": version "0.10.24" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" @@ -1431,10 +1521,10 @@ long "^4.0.0" secretjs "^0.17.0" -"@keplr-wallet/types@0.11.4", "@keplr-wallet/types@^0.11.3": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.4.tgz#d00c937a1b3e514b4ab014d24c4db33fb79c8186" - integrity sha512-VMjpskLqSzIBTl9rgoUo221lI2S5WZlWXW33qDUc/mx/y43d2edRmwUXyEwGzjFxtIbFcsVXoioNWEfXpyHqkQ== +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" @@ -1444,7 +1534,7 @@ "@keplr-wallet/unit@0.10.24": version "0.10.24" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== dependencies: "@keplr-wallet/types" "0.10.24" @@ -1452,15 +1542,15 @@ utility-types "^3.10.0" "@keplr-wallet/wc-client@^0.11.3": - version "0.11.4" - resolved "https://registry.yarnpkg.com/@keplr-wallet/wc-client/-/wc-client-0.11.4.tgz#31b240ff2a97d80e3e1f4dd4fcade0879ea9af81" - integrity sha512-tjCEswdtgkzREQd/ePAlCAuzIo6xlWbN5S6F6ToeqCC/fuEV7M7upktZabwlxADeWV6viGPKHtXoBOGNWRxBUQ== + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== dependencies: "@cosmjs/launchpad" "^0.24.0-alpha.25" "@cosmjs/proto-signing" "^0.24.0-alpha.25" - "@keplr-wallet/common" "0.11.4" - "@keplr-wallet/provider" "0.11.4" - "@keplr-wallet/types" "0.11.4" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" "@walletconnect/types" "^1.6.4" "@walletconnect/utils" "^1.6.4" buffer "^6.0.3" @@ -1469,7 +1559,7 @@ "@motionone/animation@^10.13.1": version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== dependencies: "@motionone/easing" "^10.14.0" @@ -1479,7 +1569,7 @@ "@motionone/dom@10.13.1": version "10.13.1" - resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.13.1.tgz#fc29ea5d12538f21b211b3168e502cfc07a24882" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== dependencies: "@motionone/animation" "^10.13.1" @@ -1491,7 +1581,7 @@ "@motionone/easing@^10.14.0": version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== dependencies: "@motionone/utils" "^10.14.0" @@ -1499,7 +1589,7 @@ "@motionone/generators@^10.13.1": version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== dependencies: "@motionone/types" "^10.14.0" @@ -1508,12 +1598,12 @@ "@motionone/types@^10.13.0", "@motionone/types@^10.14.0": version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== "@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": version "10.14.0" - resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== dependencies: "@motionone/types" "^10.14.0" @@ -1522,89 +1612,82 @@ "@next/env@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/env/-/env-12.2.5.tgz#d908c57b35262b94db3e431e869b72ac3e1ad3e3" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== -"@next/eslint-plugin-next@12.2.5": - version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.5.tgz#4f3acccd2ed4f9300fbf9fd480cc8a0b261889a8" - integrity sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw== - dependencies: - glob "7.1.7" - "@next/swc-android-arm-eabi@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== "@next/swc-android-arm64@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== "@next/swc-darwin-arm64@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz#31b1c3c659d54be546120c488a1e1bad21c24a1d" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== "@next/swc-darwin-x64@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== "@next/swc-freebsd-x64@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== "@next/swc-linux-arm-gnueabihf@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== "@next/swc-linux-arm64-gnu@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== "@next/swc-linux-arm64-musl@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== "@next/swc-linux-x64-gnu@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== "@next/swc-linux-x64-musl@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== "@next/swc-win32-arm64-msvc@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== "@next/swc-win32-ia32-msvc@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== "@next/swc-win32-x64-msvc@12.2.5": version "12.2.5" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== "@noble/hashes@^1", "@noble/hashes@^1.0.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" - integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== "@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" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: "@nodelib/fs.stat" "2.0.5" @@ -1612,12 +1695,12 @@ "@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" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== "@nodelib/fs.walk@^1.2.3": version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: "@nodelib/fs.scandir" "2.1.5" @@ -1625,32 +1708,32 @@ "@popperjs/core@^2.9.3": version "2.11.6" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== "@protobufjs/base64@^1.1.2": version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== "@protobufjs/codegen@^2.0.4": version "2.0.4" - resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== "@protobufjs/eventemitter@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== "@protobufjs/fetch@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== dependencies: "@protobufjs/aspromise" "^1.1.1" @@ -1658,202 +1741,81 @@ "@protobufjs/float@^1.0.2": version "1.0.2" - resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== "@protobufjs/inquire@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== "@protobufjs/path@^1.1.2": version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== "@protobufjs/pool@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== "@protobufjs/utf8@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@rushstack/eslint-patch@^1.1.3": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" - integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== - "@swc/helpers@0.4.3": version "0.4.3" - resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.3.tgz#16593dfc248c53b699d4b5026040f88ddb497012" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== dependencies: tslib "^2.4.0" -"@tailwindcss/aspect-ratio@^0.4.2": - version "0.4.2" - resolved "https://registry.yarnpkg.com/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz#9ffd52fee8e3c8b20623ff0dcb29e5c21fb0a9ba" - integrity sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ== - -"@tailwindcss/forms@^0.5.3": - version "0.5.3" - resolved "https://registry.yarnpkg.com/@tailwindcss/forms/-/forms-0.5.3.tgz#e4d7989686cbcaf416c53f1523df5225332a86e7" - integrity sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q== - dependencies: - mini-svg-data-uri "^1.2.3" - -"@tailwindcss/line-clamp@^0.4.2": - version "0.4.2" - resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz#f353c5a8ab2c939c6267ac5b907f012e5ee130f9" - integrity sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw== - -"@tailwindcss/typography@^0.5.7": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.7.tgz#e0b95bea787ee14c5a34a74fc824e6fe86ea8855" - integrity sha512-JTTSTrgZfp6Ki4svhPA4mkd9nmQ/j9EfE7SbHJ1cLtthKkpW2OxsFXzSmxbhYbEkfNIyAyhle5p4SYyKRbz/jg== - dependencies: - lodash.castarray "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.merge "^4.6.2" - postcss-selector-parser "6.0.10" - -"@types/json5@^0.0.29": - version "0.0.29" - resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== - "@types/lodash.mergewith@4.6.6": version "4.6.6" - resolved "https://registry.yarnpkg.com/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== dependencies: "@types/lodash" "*" "@types/lodash@*": - version "4.14.185" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.185.tgz#c9843f5a40703a8f5edfd53358a58ae729816908" - integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== "@types/long@^4.0.1": version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== "@types/node@10.12.18": version "10.12.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== "@types/node@11.11.6": version "11.11.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== -"@types/node@18.7.11": - version "18.7.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" - integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== - "@types/node@>=13.7.0": - version "18.7.22" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.22.tgz#76f7401362ad63d9d7eefa7dcdfa5fcd9baddff3" - integrity sha512-TsmoXYd4zrkkKjJB0URF/mTIKPl+kVcbqClB2F/ykU7vil1BfWZVndOnpEIozPv4fURD28gyPFeIkW2G+KXOvw== + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== "@types/node@^13.7.0": version "13.13.52" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/parse-json@^4.0.0": version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/prop-types@*": - version "15.7.5" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" - integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== - -"@types/react-dom@18.0.6": - version "18.0.6" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.6.tgz#36652900024842b74607a17786b6662dd1e103a1" - integrity sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA== - dependencies: - "@types/react" "*" - -"@types/react@*": - version "18.0.21" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.21.tgz#b8209e9626bb00a34c76f55482697edd2b43cc67" - integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - -"@types/react@18.0.17": - version "18.0.17" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4" - integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - -"@types/scheduler@*": - version "0.16.2" - resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" - integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== - -"@typescript-eslint/parser@^5.21.0": - version "5.38.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.38.0.tgz#5a59a1ff41a7b43aacd1bb2db54f6bf1c02b2ff8" - integrity sha512-/F63giJGLDr0ms1Cr8utDAxP2SPiglaD6V+pCOcG35P2jCqdfR7uuEhz1GIC3oy4hkUF8xA1XSXmd9hOh/a5EA== - dependencies: - "@typescript-eslint/scope-manager" "5.38.0" - "@typescript-eslint/types" "5.38.0" - "@typescript-eslint/typescript-estree" "5.38.0" - debug "^4.3.4" - -"@typescript-eslint/scope-manager@5.38.0": - version "5.38.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.38.0.tgz#8f0927024b6b24e28671352c93b393a810ab4553" - integrity sha512-ByhHIuNyKD9giwkkLqzezZ9y5bALW8VNY6xXcP+VxoH4JBDKjU5WNnsiD4HJdglHECdV+lyaxhvQjTUbRboiTA== - dependencies: - "@typescript-eslint/types" "5.38.0" - "@typescript-eslint/visitor-keys" "5.38.0" - -"@typescript-eslint/types@5.38.0": - version "5.38.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.38.0.tgz#8cd15825e4874354e31800dcac321d07548b8a5f" - integrity sha512-HHu4yMjJ7i3Cb+8NUuRCdOGu2VMkfmKyIJsOr9PfkBVYLYrtMCK/Ap50Rpov+iKpxDTfnqvDbuPLgBE5FwUNfA== - -"@typescript-eslint/typescript-estree@5.38.0": - version "5.38.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.38.0.tgz#89f86b2279815c6fb7f57d68cf9b813f0dc25d98" - integrity sha512-6P0RuphkR+UuV7Avv7MU3hFoWaGcrgOdi8eTe1NwhMp2/GjUJoODBTRWzlHpZh6lFOaPmSvgxGlROa0Sg5Zbyg== - dependencies: - "@typescript-eslint/types" "5.38.0" - "@typescript-eslint/visitor-keys" "5.38.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/visitor-keys@5.38.0": - version "5.38.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.38.0.tgz#60591ca3bf78aa12b25002c0993d067c00887e34" - integrity sha512-MxnrdIyArnTi+XyFLR+kt/uNAcdOnmT+879os7qDRI+EYySR4crXJq9BXPfRzzLGq0wgxkwidrCJ9WCAoacm1w== - dependencies: - "@typescript-eslint/types" "5.38.0" - eslint-visitor-keys "^3.3.0" - "@walletconnect/browser-utils@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== dependencies: "@walletconnect/safe-json" "1.0.0" @@ -1864,7 +1826,7 @@ "@walletconnect/client@1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== dependencies: "@walletconnect/core" "^1.8.0" @@ -1874,7 +1836,7 @@ "@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== dependencies: "@walletconnect/socket-transport" "^1.8.0" @@ -1883,7 +1845,7 @@ "@walletconnect/crypto@^1.0.2": version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== dependencies: "@walletconnect/encoding" "^1.0.1" @@ -1894,7 +1856,7 @@ "@walletconnect/encoding@^1.0.1": version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== dependencies: is-typedarray "1.0.0" @@ -1902,12 +1864,12 @@ "@walletconnect/environment@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== "@walletconnect/iso-crypto@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== dependencies: "@walletconnect/crypto" "^1.0.2" @@ -1916,14 +1878,14 @@ "@walletconnect/jsonrpc-types@^1.0.1": version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== dependencies: keyvaluestorage-interface "^1.0.0" "@walletconnect/jsonrpc-utils@^1.0.3": version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== dependencies: "@walletconnect/environment" "^1.0.0" @@ -1931,7 +1893,7 @@ "@walletconnect/node-crypto@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== dependencies: "@walletconnect/types" "^1.0.0" @@ -1939,7 +1901,7 @@ "@walletconnect/node@1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== dependencies: "@walletconnect/core" "^1.0.0" @@ -1949,7 +1911,7 @@ "@walletconnect/randombytes@^1.0.2": version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== dependencies: "@walletconnect/encoding" "^1.0.1" @@ -1958,12 +1920,12 @@ "@walletconnect/safe-json@1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== "@walletconnect/socket-transport@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== dependencies: "@walletconnect/types" "^1.8.0" @@ -1972,12 +1934,12 @@ "@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== "@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== dependencies: "@walletconnect/browser-utils" "^1.8.0" @@ -1990,34 +1952,29 @@ "@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== "@walletconnect/window-metadata@1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== dependencies: "@walletconnect/window-getters" "^1.0.0" "@zag-js/element-size@0.1.0": version "0.1.0" - resolved "https://registry.yarnpkg.com/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== "@zag-js/focus-visible@0.1.0": version "0.1.0" - resolved "https://registry.yarnpkg.com/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== -acorn-jsx@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - acorn-node@^1.8.2: version "1.8.2" - resolved "https://registry.yarnpkg.com/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8" + resolved "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz#114c95d64539e53dede23de8b9d96df7c7ae2af8" integrity sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A== dependencies: acorn "^7.0.0" @@ -2026,56 +1983,29 @@ acorn-node@^1.8.2: acorn-walk@^7.0.0: version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== acorn@^7.0.0: version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.8.0: - version "8.8.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" - integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== - aes-js@^3.1.2: version "3.1.2" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== -ajv@^6.10.0, ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - ansi-styles@^3.2.1: version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" -ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - anymatch@~3.1.2: version "3.1.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== dependencies: normalize-path "^3.0.0" @@ -2083,170 +2013,89 @@ anymatch@~3.1.2: arg@^5.0.2: version "5.0.2" - resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + resolved "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - aria-hidden@^1.1.1: version "1.2.1" - resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== dependencies: tslib "^2.0.0" -aria-query@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" - integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== - dependencies: - "@babel/runtime" "^7.10.2" - "@babel/runtime-corejs3" "^7.10.2" - -array-includes@^3.1.4, array-includes@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" - integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - get-intrinsic "^1.1.1" - is-string "^1.0.7" - -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.prototype.flat@^1.2.5: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" - integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -array.prototype.flatmap@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f" - integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -ast-types-flow@^0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" - integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== - asynckit@^0.4.0: version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -autoprefixer@^10.4.12: - version "10.4.12" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.12.tgz#183f30bf0b0722af54ee5ef257f7d4320bb33129" - integrity sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q== - dependencies: - browserslist "^4.21.4" - caniuse-lite "^1.0.30001407" - fraction.js "^4.2.0" - normalize-range "^0.1.2" - picocolors "^1.0.0" - postcss-value-parser "^4.2.0" - -axe-core@^4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.3.tgz#11c74d23d5013c0fa5d183796729bc3482bd2f6f" - integrity sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w== - axios@0.21.1: version "0.21.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== dependencies: follow-redirects "^1.10.0" axios@^0.21.1, axios@^0.21.2: version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== dependencies: follow-redirects "^1.14.0" axios@^0.27.2: version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== dependencies: follow-redirects "^1.14.9" form-data "^4.0.0" -axobject-query@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" - integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== - 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" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== dependencies: "@babel/runtime" "^7.12.5" cosmiconfig "^7.0.0" resolve "^1.19.0" -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - base-x@^3.0.2: version "3.0.9" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== dependencies: safe-buffer "^5.0.1" base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== bech32@^1.1.3, bech32@^1.1.4: version "1.1.4" - resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== big-integer@^1.6.48: version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== binary-extensions@^2.0.0: version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== bindings@^1.3.0: version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== dependencies: file-uri-to-path "1.0.0" bip32@^2.0.6: version "2.0.6" - resolved "https://registry.yarnpkg.com/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== dependencies: "@types/node" "10.12.18" @@ -2259,7 +2108,7 @@ bip32@^2.0.6: bip39@^3.0.2, bip39@^3.0.3: version "3.0.4" - resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== dependencies: "@types/node" "11.11.6" @@ -2269,64 +2118,46 @@ bip39@^3.0.2, bip39@^3.0.3: bn.js@4.11.8: version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== bn.js@^5.2.0, bn.js@^5.2.1: version "5.2.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== bowser@2.11.0, bowser@^2.11.0: version "2.11.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.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" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== dependencies: fill-range "^7.0.1" brorand@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browserslist@^4.21.4: - version "4.21.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" - integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== - dependencies: - caniuse-lite "^1.0.30001400" - electron-to-chromium "^1.4.251" - node-releases "^2.0.6" - update-browserslist-db "^1.0.9" - bs58@^4.0.0: version "4.0.1" - resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== dependencies: base-x "^3.0.2" bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: version "2.1.2" - resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== dependencies: bs58 "^4.0.0" @@ -2335,7 +2166,7 @@ bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: buffer@6.0.3, buffer@^6.0.3: version "6.0.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== dependencies: base64-js "^1.3.1" @@ -2343,38 +2174,38 @@ buffer@6.0.3, buffer@^6.0.3: buffer@~5.4.3: version "5.4.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== dependencies: base64-js "^1.0.2" ieee754 "^1.1.4" -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - callsites@^3.0.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== camelcase-css@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" + resolved "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== -caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001407: - version "1.0.30001412" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz#30f67d55a865da43e0aeec003f073ea8764d5d7c" - integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA== +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== -chain-registry@0.14.0, chain-registry@^0.14.0: +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: version "0.14.0" - resolved "https://registry.yarnpkg.com/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== dependencies: "@babel/runtime" "^7.19.0" @@ -2382,29 +2213,21 @@ chain-registry@0.14.0, chain-registry@^0.14.0: chalk@^2.0.0: version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== dependencies: ansi-styles "^3.2.1" escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0: - 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" - charenc@~0.0.1: version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== chokidar@^3.5.3: version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== dependencies: anymatch "~3.1.2" @@ -2419,7 +2242,7 @@ chokidar@^3.5.3: 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" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== dependencies: inherits "^2.0.1" @@ -2427,74 +2250,55 @@ cipher-base@^1.0.1, cipher-base@^1.0.3: color-convert@^1.9.0: version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== dependencies: color-name "1.1.3" -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - color-name@1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== -color-name@^1.1.4, color-name@~1.1.4: +color-name@^1.1.4: version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== combined-stream@^1.0.8: version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== dependencies: delayed-stream "~1.0.0" compute-scroll-into-view@1.0.14: version "1.0.14" - resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - convert-source-map@^1.5.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== copy-to-clipboard@3.3.1: version "3.3.1" - resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== dependencies: toggle-selection "^1.0.6" copy-to-clipboard@^3.3.2: version "3.3.2" - resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.2.tgz#5b263ec2366224b100181dded7ce0579b340c107" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.2.tgz#5b263ec2366224b100181dded7ce0579b340c107" integrity sha512-Vme1Z6RUDzrb6xAI7EZlVZ5uvOk2F//GaxKUxajDqm9LhOVM1inxNAD2vy+UZDYsd0uyA9s7b3/FVZPSxqrCfg== dependencies: toggle-selection "^1.0.6" -core-js-pure@^3.25.1: - version "3.25.3" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.25.3.tgz#66ac5bfa5754b47fdfd14f3841c5ed21c46db608" - integrity sha512-T/7qvgv70MEvRkZ8p6BasLZmOVYKzOaWNBEHAU8FmveCJkl4nko2quqPQOmy6AJIp5MBanhz9no3A94NoRb0XA== - cosmiconfig@^7.0.0: version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== dependencies: "@types/parse-json" "^4.0.0" @@ -2503,17 +2307,17 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -cosmjs-types@^0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.5.1.tgz#f9bc35e78c32b687fb6018dc573eb454b3ae2587" - integrity sha512-NcC58xUIVLlKdIimWWQAmSlmCjiMrJnuHf4i3LiD8PCextfHR0fT3V5/WlXZZreyMgdmh6ML1zPUfGTbbo3Z5g== +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== dependencies: long "^4.0.0" protobufjs "~6.11.2" create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== dependencies: cipher-base "^1.0.1" @@ -2524,7 +2328,7 @@ create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: create-hmac@^1.1.4, create-hmac@^1.1.7: version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== dependencies: cipher-base "^1.0.3" @@ -2534,91 +2338,51 @@ create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-spawn@^7.0.2: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - crypt@~0.0.1: version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== crypto-js@^4.0.0: version "4.1.1" - resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== css-box-model@1.2.1: version "1.2.1" - resolved "https://registry.yarnpkg.com/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== dependencies: tiny-invariant "^1.0.6" cssesc@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + resolved "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== csstype@^3.0.11, csstype@^3.0.2: version "3.1.1" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== curve25519-js@0.0.4: version "0.0.4" - resolved "https://registry.yarnpkg.com/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== -damerau-levenshtein@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" - integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== - -debug@^2.6.9: - 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.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" - -debug@^4.1.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" - decode-uri-component@^0.2.0: version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== -deep-is@^0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== - deepmerge@^4.2.2: version "4.2.2" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -define-properties@^1.1.3, define-properties@^1.1.4: +define-properties@^1.1.3: version "1.1.4" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== dependencies: has-property-descriptors "^1.0.0" @@ -2626,32 +2390,32 @@ define-properties@^1.1.3, define-properties@^1.1.4: defined@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" + resolved "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" integrity sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ== delay@^4.4.0: version "4.4.1" - resolved "https://registry.yarnpkg.com/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== delayed-stream@~1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== detect-browser@5.2.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== detect-node-es@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== detective@^5.2.1: version "5.2.1" - resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034" + resolved "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz#6af01eeda11015acb0e73f933242b70f24f91034" integrity sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw== dependencies: acorn-node "^1.8.2" @@ -2660,43 +2424,17 @@ detective@^5.2.1: didyoumean@^1.2.2: version "1.2.2" - resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" + resolved "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" integrity sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw== -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - dlv@^1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + resolved "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== -doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== - dependencies: - esutils "^2.0.2" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - -electron-to-chromium@^1.4.251: - version "1.4.262" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.262.tgz#25715dfbae4c2e0640517cba184715241ecd8e63" - integrity sha512-Ckn5haqmGh/xS8IbcgK3dnwAVnhDyo/WQnklWn6yaMucYTq7NNxwlGE8ElzEOnonzRLzUCo2Ot3vUb2GYUF2Hw== - elliptic@^6.4.0, elliptic@^6.5.3: version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== dependencies: bn.js "^4.11.9" @@ -2707,304 +2445,41 @@ elliptic@^6.4.0, elliptic@^6.5.3: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" -emoji-regex@^9.2.2: - version "9.2.2" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" - integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== - error-ex@^1.3.1: version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" -es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5: - version "1.20.3" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.3.tgz#90b143ff7aedc8b3d189bcfac7f1e3e3f81e9da1" - integrity sha512-AyrnaKVpMzljIdwjzrj+LxGmj8ik2LckwXacHqrJJ/jxz6dDDBcZ7I7nlHM0FvEW8MfbWJwOd+yT2XzYW49Frw== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.3" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.6" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" - unbox-primitive "^1.0.2" - -es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== - dependencies: - has "^1.0.3" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - escape-string-regexp@^1.0.5: version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-config-next@12.2.5: - version "12.2.5" - resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.2.5.tgz#76ce83f18cc02f6f42ed407a127f83db54fabd3c" - integrity sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw== - dependencies: - "@next/eslint-plugin-next" "12.2.5" - "@rushstack/eslint-patch" "^1.1.3" - "@typescript-eslint/parser" "^5.21.0" - eslint-import-resolver-node "^0.3.6" - eslint-import-resolver-typescript "^2.7.1" - eslint-plugin-import "^2.26.0" - eslint-plugin-jsx-a11y "^6.5.1" - eslint-plugin-react "^7.29.4" - eslint-plugin-react-hooks "^4.5.0" - -eslint-import-resolver-node@^0.3.6: - version "0.3.6" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd" - integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== - dependencies: - debug "^3.2.7" - resolve "^1.20.0" - -eslint-import-resolver-typescript@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751" - integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ== - dependencies: - debug "^4.3.4" - glob "^7.2.0" - is-glob "^4.0.3" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" - -eslint-module-utils@^2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" - integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== - dependencies: - debug "^3.2.7" - -eslint-plugin-import@^2.26.0: - version "2.26.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" - integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== - dependencies: - array-includes "^3.1.4" - array.prototype.flat "^1.2.5" - debug "^2.6.9" - doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.3" - has "^1.0.3" - is-core-module "^2.8.1" - is-glob "^4.0.3" - minimatch "^3.1.2" - object.values "^1.1.5" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" - -eslint-plugin-jsx-a11y@^6.5.1: - version "6.6.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz#93736fc91b83fdc38cc8d115deedfc3091aef1ff" - integrity sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q== - dependencies: - "@babel/runtime" "^7.18.9" - aria-query "^4.2.2" - array-includes "^3.1.5" - ast-types-flow "^0.0.7" - axe-core "^4.4.3" - axobject-query "^2.2.0" - damerau-levenshtein "^1.0.8" - emoji-regex "^9.2.2" - has "^1.0.3" - jsx-ast-utils "^3.3.2" - language-tags "^1.0.5" - minimatch "^3.1.2" - semver "^6.3.0" - -eslint-plugin-react-hooks@^4.5.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" - integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== - -eslint-plugin-react@^7.29.4: - version "7.31.8" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz#3a4f80c10be1bcbc8197be9e8b641b2a3ef219bf" - integrity sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw== - dependencies: - array-includes "^3.1.5" - array.prototype.flatmap "^1.3.0" - doctrine "^2.1.0" - estraverse "^5.3.0" - jsx-ast-utils "^2.4.1 || ^3.0.0" - minimatch "^3.1.2" - object.entries "^1.1.5" - object.fromentries "^2.0.5" - object.hasown "^1.1.1" - object.values "^1.1.5" - prop-types "^15.8.1" - resolve "^2.0.0-next.3" - semver "^6.3.0" - string.prototype.matchall "^4.0.7" - -eslint-scope@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" - integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== - dependencies: - esrecurse "^4.3.0" - estraverse "^5.2.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== - dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^2.0.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== - -eslint-visitor-keys@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" - integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== - -eslint@8.22.0: - version "8.22.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48" - integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA== - dependencies: - "@eslint/eslintrc" "^1.3.0" - "@humanwhocodes/config-array" "^0.10.4" - "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" - ajv "^6.10.0" - 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.1.1" - eslint-utils "^3.0.0" - eslint-visitor-keys "^3.3.0" - espree "^9.3.3" - esquery "^1.4.0" - esutils "^2.0.2" - fast-deep-equal "^3.1.3" - file-entry-cache "^6.0.1" - find-up "^5.0.0" - functional-red-black-tree "^1.0.1" - glob-parent "^6.0.1" - globals "^13.15.0" - globby "^11.1.0" - grapheme-splitter "^1.0.4" - ignore "^5.2.0" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^4.1.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.1.2" - natural-compare "^1.4.0" - optionator "^0.9.1" - regexpp "^3.2.0" - strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -espree@^9.3.3, espree@^9.4.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a" - integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw== - dependencies: - acorn "^8.8.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.3.0" - -esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" - integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - events@3.3.0: version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== fast-deep-equal@3.1.1: version "3.1.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: +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" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.2.11, fast-glob@^3.2.9: +fast-glob@^3.2.11: version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" @@ -3013,98 +2488,55 @@ fast-glob@^3.2.11, fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fast-levenshtein@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== - fastq@^1.6.0: version "1.13.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + resolved "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz" integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== dependencies: reusify "^1.0.4" -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== - dependencies: - flat-cache "^3.0.4" - file-uri-to-path@1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== fill-range@^7.0.1: version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== dependencies: to-regex-range "^5.0.1" find-root@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== -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" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== - dependencies: - flatted "^3.1.0" - rimraf "^3.0.2" - -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== - focus-lock@^0.11.2: version "0.11.3" - resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== dependencies: tslib "^2.0.3" follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== form-data@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: asynckit "^0.4.0" combined-stream "^1.0.8" mime-types "^2.1.12" -fraction.js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" - integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== - -framer-motion@7.3.6: - version "7.3.6" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.3.6.tgz#aff993b9b7064c8d13cf0afa118d24e07713570a" - integrity sha512-en8mLpDv6IcieZo54acHg56HSLpOSryRLZtMOd1Sj1s7hBbUTWnJsv68CWaHI2ysPKcbH/olGfAhRh4yrJn5tw== +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== dependencies: "@motionone/dom" "10.13.1" framesync "6.1.2" @@ -3117,56 +2549,31 @@ framer-motion@7.3.6: framesync@5.3.0: version "5.3.0" - resolved "https://registry.yarnpkg.com/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== dependencies: tslib "^2.1.0" framesync@6.1.2: version "6.1.2" - resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== dependencies: tslib "2.4.0" -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - fsevents@~2.3.2: version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== function-bind@^1.1.1: version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -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" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - 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: - version "1.2.3" - resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== - -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: +get-intrinsic@^1.1.1: version "1.1.3" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== dependencies: function-bind "^1.1.1" @@ -3175,130 +2582,57 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@ get-nonce@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - 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" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1, glob-parent@^6.0.2: +glob-parent@^6.0.2: version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: is-glob "^4.0.3" -glob@7.1.7: - version "7.1.7" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" - integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== - 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.3, glob@^7.2.0: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -globals@^13.15.0: - version "13.17.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.17.0.tgz#902eb1e680a41da93945adbdcb5a9f361ba69bd4" - integrity sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw== - dependencies: - type-fest "^0.20.2" - globalthis@^1.0.1: version "1.0.3" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== dependencies: define-properties "^1.1.3" -globby@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -grapheme-splitter@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" - integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== - -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - has-flag@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - has-property-descriptors@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== dependencies: get-intrinsic "^1.1.1" -has-symbols@^1.0.2, has-symbols@^1.0.3: +has-symbols@^1.0.3: version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== - dependencies: - has-symbols "^1.0.2" - has@^1.0.3: version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== dependencies: function-bind "^1.1.1" hash-base@^3.0.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== dependencies: inherits "^2.0.4" @@ -3307,7 +2641,7 @@ hash-base@^3.0.0: hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== dependencies: inherits "^2.0.3" @@ -3315,12 +2649,12 @@ hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: hey-listen@^1.0.8: version "1.0.8" - resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== hmac-drbg@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== dependencies: hash.js "^1.0.3" @@ -3329,202 +2663,95 @@ hmac-drbg@^1.0.1: hoist-non-react-statics@^3.3.1: version "3.3.2" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== dependencies: react-is "^16.7.0" ieee754@^1.1.4, ieee754@^1.2.1: version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== - -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.2.1: version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, 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" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" - invariant@^2.2.4: version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== dependencies: loose-envify "^1.0.0" is-arrayish@^0.2.1: version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - is-binary-path@~2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== dependencies: binary-extensions "^2.0.0" -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-buffer@~1.1.1: version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== -is-callable@^1.1.4, is-callable@^1.2.6: - 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-core-module@^2.8.1, is-core-module@^2.9.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" - integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== dependencies: has "^1.0.3" -is-date-object@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== - dependencies: - has-tostringtag "^1.0.0" - is-extglob@^2.1.1: version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: +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" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== - dependencies: - has-tostringtag "^1.0.0" - is-number@^7.0.0: version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== - dependencies: - call-bind "^1.0.2" - -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - 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" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - isomorphic-ws@^4.0.1: version "4.0.1" - resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== js-crypto-env@^0.3.2: version "0.3.2" - resolved "https://registry.yarnpkg.com/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== js-crypto-hash@^0.6.3: version "0.6.3" - resolved "https://registry.yarnpkg.com/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== dependencies: buffer "~5.4.3" @@ -3535,7 +2762,7 @@ js-crypto-hash@^0.6.3: js-crypto-hkdf@0.7.3: version "0.7.3" - resolved "https://registry.yarnpkg.com/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== dependencies: js-crypto-env "^0.3.2" @@ -3545,7 +2772,7 @@ js-crypto-hkdf@0.7.3: js-crypto-hmac@^0.6.3: version "0.6.3" - resolved "https://registry.yarnpkg.com/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== dependencies: js-crypto-env "^0.3.2" @@ -3553,159 +2780,85 @@ js-crypto-hmac@^0.6.3: js-crypto-random@^0.4.3: version "0.4.3" - resolved "https://registry.yarnpkg.com/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== dependencies: js-crypto-env "^0.3.2" js-encoding-utils@0.5.6: version "0.5.6" - resolved "https://registry.yarnpkg.com/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -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" - json-parse-even-better-errors@^2.3.0: version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== -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" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-stable-stringify-without-jsonify@^1.0.1: - version "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== - -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== - dependencies: - minimist "^1.2.0" - -"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.2: - version "3.3.3" - resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" - integrity sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw== - dependencies: - array-includes "^3.1.5" - object.assign "^4.1.3" - keyvaluestorage-interface@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== -language-subtag-registry@~0.3.2: - version "0.3.22" - resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" - integrity sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w== - -language-tags@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" - integrity sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ== - dependencies: - language-subtag-registry "~0.3.2" - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" - integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - libsodium-wrappers@^0.7.6: version "0.7.10" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== dependencies: libsodium "^0.7.0" libsodium@^0.7.0: version "0.7.10" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== lilconfig@^2.0.5, lilconfig@^2.0.6: version "2.0.6" - resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.6.tgz#32a384558bd58af3d4c6e077dd1ad1d397bc69d4" + resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz#32a384558bd58af3d4c6e077dd1ad1d397bc69d4" integrity sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg== lines-and-columns@^1.1.6: version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -lodash.castarray@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115" - integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q== - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - lodash.mergewith@4.6.2: version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== long@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== dependencies: js-tokens "^3.0.0 || ^4.0.0" lru-cache@^6.0.0: version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== dependencies: yallist "^4.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" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== dependencies: hash-base "^3.0.0" @@ -3714,21 +2867,21 @@ md5.js@^1.3.4: md5@~2.2.1: version "2.2.1" - resolved "https://registry.yarnpkg.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== dependencies: charenc "~0.0.1" crypt "~0.0.1" is-buffer "~1.1.1" -merge2@^1.3.0, merge2@^1.4.1: +merge2@^1.3.0: version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== micromatch@^4.0.4: version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== dependencies: braces "^3.0.2" @@ -3736,81 +2889,49 @@ micromatch@^4.0.4: mime-db@1.52.0: version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12: version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: mime-db "1.52.0" -mini-svg-data-uri@^1.2.3: - version "1.4.4" - resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz#8ab0aabcdf8c29ad5693ca595af19dd2ead09939" - integrity sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg== - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== minimalistic-crypto-utils@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@^3.0.4, 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== - dependencies: - brace-expansion "^1.1.7" - -minimist@^1.2.0, minimist@^1.2.6: +minimist@^1.2.6: version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== miscreant@0.3.2: version "0.3.2" - resolved "https://registry.yarnpkg.com/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.2: - version "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.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - nan@^2.13.2: - version "2.16.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" - integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== nanoid@^3.3.4: version "3.3.4" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - next@12.2.5: version "12.2.5" - resolved "https://registry.yarnpkg.com/next/-/next-12.2.5.tgz#14fb5975e8841fad09553b8ef41fe1393602b717" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== dependencies: "@next/env" "12.2.5" @@ -3834,139 +2955,46 @@ next@12.2.5: "@next/swc-win32-ia32-msvc" "12.2.5" "@next/swc-win32-x64-msvc" "12.2.5" -node-releases@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" - integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== - 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" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== - object-assign@^4.1.1: version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== object-hash@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + resolved "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== -object-inspect@^1.12.2, object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== - object-keys@^1.1.1: version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -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" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - has-symbols "^1.0.3" - object-keys "^1.1.1" - -object.entries@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" - integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.fromentries@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" - integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.hasown@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.1.tgz#ad1eecc60d03f49460600430d97f23882cf592a3" - integrity sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A== - dependencies: - define-properties "^1.1.4" - es-abstract "^1.19.5" - -object.values@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" - integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -once@^1.3.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== - dependencies: - wrappy "1" - -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== - 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.3" - -p-limit@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - pako@1.0.11: version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== pako@^2.0.2: version "2.0.4" - resolved "https://registry.yarnpkg.com/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== parent-module@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" parse-json@^5.0.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== dependencies: "@babel/code-frame" "^7.0.0" @@ -3974,34 +3002,19 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - path-parse@^1.0.7: version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-type@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== dependencies: create-hash "^1.1.2" @@ -4012,22 +3025,22 @@ pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: picocolors@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== pify@^2.3.0: version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== popmotion@11.0.5: version "11.0.5" - resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.5.tgz#8e3e014421a0ffa30ecd722564fd2558954e1f7d" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== dependencies: framesync "6.1.2" @@ -4037,7 +3050,7 @@ popmotion@11.0.5: postcss-import@^14.1.0: version "14.1.0" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-14.1.0.tgz#a7333ffe32f0b8795303ee9e40215dac922781f0" + resolved "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz#a7333ffe32f0b8795303ee9e40215dac922781f0" integrity sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw== dependencies: postcss-value-parser "^4.0.0" @@ -4046,14 +3059,14 @@ postcss-import@^14.1.0: postcss-js@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.0.tgz#31db79889531b80dc7bc9b0ad283e418dce0ac00" + resolved "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz#31db79889531b80dc7bc9b0ad283e418dce0ac00" integrity sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ== dependencies: camelcase-css "^2.0.1" postcss-load-config@^3.1.4: version "3.1.4" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" + resolved "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== dependencies: lilconfig "^2.0.5" @@ -4061,14 +3074,14 @@ postcss-load-config@^3.1.4: postcss-nested@5.0.6: version "5.0.6" - resolved "https://registry.yarnpkg.com/postcss-nested/-/postcss-nested-5.0.6.tgz#466343f7fc8d3d46af3e7dba3fcd47d052a945bc" + resolved "https://registry.npmjs.org/postcss-nested/-/postcss-nested-5.0.6.tgz#466343f7fc8d3d46af3e7dba3fcd47d052a945bc" integrity sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA== dependencies: postcss-selector-parser "^6.0.6" -postcss-selector-parser@6.0.10, postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.6: +postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.6: version "6.0.10" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" + resolved "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== dependencies: cssesc "^3.0.0" @@ -4076,12 +3089,12 @@ postcss-selector-parser@6.0.10, postcss-selector-parser@^6.0.10, postcss-selecto postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: version "4.2.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== postcss@8.4.14: version "8.4.14" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== dependencies: nanoid "^3.3.4" @@ -4090,21 +3103,16 @@ postcss@8.4.14: postcss@^8.4.14, postcss@^8.4.16: version "8.4.16" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz#33a1d675fac39941f5f445db0de4db2b6e01d43c" integrity sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ== dependencies: nanoid "^3.3.4" picocolors "^1.0.0" source-map-js "^1.0.2" -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" - integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== - -prop-types@^15.6.2, prop-types@^15.8.1: +prop-types@^15.6.2: version "15.8.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== dependencies: loose-envify "^1.4.0" @@ -4113,7 +3121,7 @@ prop-types@^15.6.2, prop-types@^15.8.1: protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: version "6.11.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== dependencies: "@protobufjs/aspromise" "^1.1.2" @@ -4132,7 +3140,7 @@ protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, pr protobufjs@~6.10.2: version "6.10.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== dependencies: "@protobufjs/aspromise" "^1.1.2" @@ -4149,19 +3157,14 @@ protobufjs@~6.10.2: "@types/node" "^13.7.0" long "^4.0.0" -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - qrcode.react@^3.1.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== query-string@6.13.5: version "6.13.5" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== dependencies: decode-uri-component "^0.2.0" @@ -4170,31 +3173,31 @@ query-string@6.13.5: queue-microtask@^1.2.2: version "1.2.3" - resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== quick-lru@^5.1.1: version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== randombytes@^2.0.1, randombytes@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" react-clientside-effect@^1.2.6: version "1.2.6" - resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== dependencies: "@babel/runtime" "^7.12.13" react-dom@18.2.0: version "18.2.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== dependencies: loose-envify "^1.1.0" @@ -4202,12 +3205,12 @@ react-dom@18.2.0: react-fast-compare@3.2.0: version "3.2.0" - resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== react-focus-lock@^2.9.1: version "2.9.1" - resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== dependencies: "@babel/runtime" "^7.0.0" @@ -4217,27 +3220,27 @@ react-focus-lock@^2.9.1: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-icons@4.4.0, react-icons@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.4.0.tgz#a13a8a20c254854e1ec9aecef28a95cdf24ef703" - integrity sha512-fSbvHeVYo/B5/L4VhB7sBA1i2tS8MkT0Hb9t2H1AVPkwGfVHLJCqyr2Py9dKMxsyM63Eng1GkdZfbWj+Fmv8Rg== +react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== react-remove-scroll-bar@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.3.tgz#e291f71b1bb30f5f67f023765b7435f4b2b2cd94" - integrity sha512-i9GMNWwpz8XpUpQ6QlevUtFjHGqnPG4Hxs+wlIJntu/xcsZVEpJcIV71K3ZkqNy2q3GfgvkD7y6t/Sv8ofYSbw== + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== dependencies: react-style-singleton "^2.2.1" tslib "^2.0.0" react-remove-scroll@^2.5.4: version "2.5.5" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== dependencies: react-remove-scroll-bar "^2.3.3" @@ -4248,7 +3251,7 @@ react-remove-scroll@^2.5.4: react-style-singleton@^2.2.1: version "2.2.1" - resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== dependencies: get-nonce "^1.0.0" @@ -4257,21 +3260,21 @@ react-style-singleton@^2.2.1: react@18.2.0: version "18.2.0" - resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== dependencies: loose-envify "^1.1.0" read-cache@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" + resolved "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== dependencies: pify "^2.3.0" readable-stream@^3.6.0: version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== dependencies: inherits "^2.0.3" @@ -4280,73 +3283,43 @@ readable-stream@^3.6.0: readdirp@~3.6.0: version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== dependencies: picomatch "^2.2.1" readonly-date@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== - -regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" - -regexpp@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== resolve-from@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -resolve@^1.1.7, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1: +resolve@^1.1.7, resolve@^1.19.0, resolve@^1.22.1: version "1.22.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== dependencies: is-core-module "^2.9.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^2.0.0-next.3: - version "2.0.0-next.4" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" - integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== - dependencies: - is-core-module "^2.9.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - reusify@^1.0.4: version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== dependencies: hash-base "^3.0.0" @@ -4354,40 +3327,26 @@ ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: run-parallel@^1.1.9: version "1.2.0" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== dependencies: queue-microtask "^1.2.2" safe-buffer@^5.0.1, safe-buffer@^5.1.0, 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" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" - is-regex "^1.1.4" - scheduler@^0.23.0: version "0.23.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== dependencies: loose-envify "^1.1.0" secretjs@0.17.7: version "0.17.7" - resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== dependencies: "@iov/crypto" "2.1.0" @@ -4404,7 +3363,7 @@ secretjs@0.17.7: secretjs@^0.17.0: version "0.17.8" - resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== dependencies: "@iov/crypto" "2.1.0" @@ -4421,24 +3380,19 @@ secretjs@^0.17.0: secure-random@1.1.2: version "1.1.2" - resolved "https://registry.yarnpkg.com/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== -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.7: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== dependencies: inherits "^2.0.1" @@ -4446,116 +3400,41 @@ sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: sha3@~2.1.0: version "2.1.4" - resolved "https://registry.yarnpkg.com/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== dependencies: buffer "6.0.3" -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.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== - source-map-js@^1.0.2: version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== source-map@^0.5.7: version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== 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" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== 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" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -string.prototype.matchall@^4.0.7: - version "4.0.7" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" - integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - get-intrinsic "^1.1.1" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - regexp.prototype.flags "^1.4.1" - side-channel "^1.0.4" - -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - string_decoder@^1.1.1: version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== dependencies: safe-buffer "~5.2.0" -strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== - -strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: - version "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== - style-value-types@5.1.2: version "5.1.2" - resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== dependencies: hey-listen "^1.0.8" @@ -4563,46 +3442,39 @@ style-value-types@5.1.2: styled-jsx@5.0.4: version "5.0.4" - resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.4.tgz#5b1bd0b9ab44caae3dd1361295559706e044aa53" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== stylis@4.0.13: version "4.0.13" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + supports-color@^5.3.0: version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== symbol-observable@^2.0.3: version "2.0.3" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== -tailwind-scrollbar-hide@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/tailwind-scrollbar-hide/-/tailwind-scrollbar-hide-1.1.7.tgz#90b481fb2e204030e3919427416650c54f56f847" - integrity sha512-X324n9OtpTmOMqEgDUEA/RgLrNfBF/jwJdctaPZDzB3mppxJk7TLIDmOreEDm1Bq4R9LSPu4Epf8VSdovNU+iA== - tailwindcss@^3.1.8: version "3.1.8" - resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.1.8.tgz#4f8520550d67a835d32f2f4021580f9fddb7b741" + resolved "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.8.tgz#4f8520550d67a835d32f2f4021580f9fddb7b741" integrity sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g== dependencies: arg "^5.0.2" @@ -4628,19 +3500,14 @@ tailwindcss@^3.1.8: quick-lru "^5.1.1" resolve "^1.22.1" -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== - tiny-invariant@^1.0.6: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" - integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== tiny-secp256k1@^1.1.3: version "1.1.6" - resolved "https://registry.yarnpkg.com/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== dependencies: bindings "^1.3.0" @@ -4651,122 +3518,58 @@ tiny-secp256k1@^1.1.3: to-fast-properties@^2.0.0: version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== 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" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== dependencies: is-number "^7.0.0" toggle-selection@^1.0.6: version "1.0.6" - resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== -tsconfig-paths@^3.14.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== - dependencies: - "@types/json5" "^0.0.29" - json5 "^1.0.1" - minimist "^1.2.6" - strip-bom "^3.0.0" - tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== -tslib@^1.8.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" - integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== - dependencies: - prelude-ls "^1.2.1" - -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - type-tagger@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== typedarray-to-buffer@3.1.5: version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== dependencies: is-typedarray "^1.0.0" typeforce@^1.11.5: version "1.18.0" - resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== -typescript@4.7.4: - version "4.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== - -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" - unorm@^1.5.0: version "1.6.0" - resolved "https://registry.yarnpkg.com/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== -update-browserslist-db@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz#2924d3927367a38d5c555413a7ce138fc95fcb18" - integrity sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - use-callback-ref@^1.3.0: version "1.3.0" - resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== dependencies: tslib "^2.0.0" use-sidecar@^1.1.2: version "1.1.2" - resolved "https://registry.yarnpkg.com/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== dependencies: detect-node-es "^1.1.0" @@ -4774,72 +3577,39 @@ use-sidecar@^1.1.2: use-sync-external-store@1.2.0: version "1.2.0" - resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== util-deprecate@^1.0.1, util-deprecate@^1.0.2: version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== utility-types@^3.10.0: version "3.10.0" - resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== -v8-compile-cache@^2.0.3: - 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== - -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - -which@^2.0.1: - 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" - wif@^2.0.6: version "2.0.6" - resolved "https://registry.yarnpkg.com/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== dependencies: bs58check "<3.0.0" -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== - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - ws@7.5.3: version "7.5.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== ws@^7: version "7.5.9" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== xstream@^11.14.0: version "11.14.0" - resolved "https://registry.yarnpkg.com/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== dependencies: globalthis "^1.0.1" @@ -4847,20 +3617,15 @@ xstream@^11.14.0: xtend@^4.0.2: version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== yallist@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 31b266217..6ac3b1feb 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -7,6 +7,9 @@ "build": "next build", "start": "next start", "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create", "codegen": "node scripts/codegen.js" }, "dependencies": { @@ -38,6 +41,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/examples/telescope/yarn.lock b/examples/telescope/yarn.lock new file mode 100644 index 000000000..0ca628fb0 --- /dev/null +++ b/examples/telescope/yarn.lock @@ -0,0 +1,3232 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/types@0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@^2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@^2.2.9", "@chakra-ui/react@^2.3.6": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@cosmos-kit/types@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@cosmos-kit/types/-/types-0.11.0.tgz" + integrity sha512-51NrvpCSMSk9BQ/PqThwItqIiFo4j2GMkuaJTjWuwCIRdoGsnHIbcH1rFEHvGR7P+QV7V16GcbjVzLyCsyp8uQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@walletconnect/client" "1.7.8" + "@walletconnect/types" "1.7.8" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@osmonauts/lcd/-/lcd-0.8.0.tgz#fcabba93edadd23f73b2046a5cad897b420a9c84" + integrity sha512-k7m2gAVnXc0H4m/eTq4z/8A6hFrr3MPS9wnLV4Xu9/K/WYltCnp2PpiObZm+feZUPK/svES6hxIQeO1bODLx8g== + dependencies: + "@babel/runtime" "^7.19.0" + axios "0.27.2" + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.8.tgz" + integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== + dependencies: + "@walletconnect/core" "^1.7.8" + "@walletconnect/iso-crypto" "^1.7.8" + "@walletconnect/types" "^1.7.8" + "@walletconnect/utils" "^1.7.8" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.7.8", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.7.8", "@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@1.7.8": + version "1.7.8" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.8.tgz" + integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@0.27.2, axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bignumber.js@9.1.0: + version "9.1.0" + resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" + integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/package.json b/package.json index ea9d1c2d5..cfb46a35b 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "lint": "lerna run lint", "format": "lerna run format", "test": "lerna run test --stream", + "locks": "lerna run locks --stream", "update": "yarn upgrade-interactive --latest" }, "devDependencies": { @@ -37,4 +38,4 @@ "type": "git", "url": "https://github.com/cosmology-tech/create-cosmos-app" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index f1df2f411..88c9c64f9 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chakra-ui/icons": "2.0.11", @@ -31,6 +34,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/templates/connect-chain/yarn.lock b/templates/connect-chain/yarn.lock new file mode 100644 index 000000000..26e4bf654 --- /dev/null +++ b/templates/connect-chain/yarn.lock @@ -0,0 +1,3262 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index e5668d1e7..c600b5f27 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "locks:remove": "rm -f yarn.lock", + "locks:create": "generate-lockfile --lockfile ../../yarn.lock --package package.json --write yarn.lock --force", + "locks": "npm run locks:remove && npm run locks:create" }, "dependencies": { "@chain-registry/types": "0.13.1", @@ -34,6 +37,7 @@ "@types/react-dom": "18.0.6", "eslint": "8.22.0", "eslint-config-next": "12.2.5", + "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} +} \ No newline at end of file diff --git a/templates/connect-multi-chain/yarn.lock b/templates/connect-multi-chain/yarn.lock new file mode 100644 index 000000000..2c9a43ef7 --- /dev/null +++ b/templates/connect-multi-chain/yarn.lock @@ -0,0 +1,3395 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-module-imports@^7.16.7": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.18.6": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.18.6" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" + integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/runtime@^7.12.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": + version "7.19.0" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + +"@babel/types@^7.18.6": + version "7.19.4" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7" + integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@chain-registry/keplr@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.0.0.tgz#72a4d0ab8d7815b4737b90b5654de40a2a8130a2" + integrity sha512-Eja3r5TskhA3/iA0qYPM2lhOIjZd/Ug8ppFP4b88PZqbUmvgjPBcfn2TLoCOIU1FxeYDqQrG5dJ+BqBz1UVHgA== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + semver "^7.3.7" + +"@chain-registry/types@0.13.1", "@chain-registry/types@^0.13.1": + version "0.13.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.13.1.tgz#be30130005448d6462d73a284e1fd26d080a06e8" + integrity sha512-NF4x7pqkQJ/zSQLoT28sYlBdzWUyCTFvWgVE9hJ2jkirX+It9VUHP5j1wtTq+vxQ74SZk2V8vRBo2uuoEYBB1A== + dependencies: + "@babel/runtime" "^7.19.4" + +"@chain-registry/types@^0.11.0": + version "0.11.1" + resolved "https://registry.npmjs.org/@chain-registry/types/-/types-0.11.1.tgz#afa4d6aaef5304b3d06c81d80e7b0b05b6712557" + integrity sha512-2zZkjAjK0X+aKef/1kvRs9CoWPFTVt/KUAq1HDajI30nqkwCMs2bGidtRugSbdEG8VtZvUlKg8TAtN69yI8gdw== + dependencies: + "@babel/runtime" "^7.19.0" + "@keplr-wallet/cosmos" "^0.10.24" + "@keplr-wallet/crypto" "^0.10.24" + +"@chakra-ui/accordion@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.2.tgz#f9d384b80f68a92689fa7ad4e43bd8944e6945c6" + integrity sha512-Jf7A6I0eIGk34zO5TiTW8orJOFQb5A/D1ekNYbaukNccoUPKJg/xdQ/b00oIR6LT93nJxggkoP/vszfmmTHuFg== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/alert@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/alert/-/alert-2.0.11.tgz#d792b0684ae7810befa3874af5bdd4aa115513a2" + integrity sha512-n40KHU3j1H6EbIdgptjEad92V7Fpv7YD++ZBjy2g1h4w9ay9nw4kGHib3gaIkBupLf52CfLqySEc8w0taoIlXQ== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/anatomy@2.0.7": + version "2.0.7" + resolved "https://registry.npmjs.org/@chakra-ui/anatomy/-/anatomy-2.0.7.tgz#33e60c7c4d6e5f949f6f8308249dc571f84ead1e" + integrity sha512-vzcB2gcsGCxhrKbldQQV6LnBPys4eSSsH2UA2mLsT+J3WlXw0aodZw0eE/nH7yLxe4zaQ4Gnc0KjkFW4EWNKSg== + +"@chakra-ui/avatar@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.0.tgz#58b5e650f7e4b3ab229f50e6a102c54b6eb4b23a" + integrity sha512-mpAkfr/JG+BNBw2WvU55CSRFYKeFBUyAQAu3YulznLzi2U3e7k3IA0J8ofbrDYlSH/9KqkDuuSrxqGZgct+Nug== + dependencies: + "@chakra-ui/image" "2.0.11" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breadcrumb@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/breadcrumb/-/breadcrumb-2.1.0.tgz#530ded99f931cfcb9f4bd4d951bc82b0a4e102ac" + integrity sha512-khBR579SLDEo6Wuo3tETRY6m0yJD/WCvSR7Res2g1B6OJgc9OQGM7yIMu4OdLUTwfXsCnlHTDoSQPUxFOVAMIQ== + dependencies: + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/breakpoint-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.4.tgz#6231eff8b20f4e3cbb4eb7c86d05c927679d905b" + integrity sha512-SUUEYnA/FCIKYDHMuEXcnBMwet+6RAAjQ+CqGD1hlwKPTfh7EK9fS8FoVAJa9KpRKAc/AawzPkgwvorzPj8NSg== + +"@chakra-ui/button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/button/-/button-2.0.11.tgz#98e0aa1e35ea7e193bb50f9a4b5d0ea23202ace8" + integrity sha512-J6iMRITqxTxa0JexHUY9c7BXUrTZtSkl3jZ2hxiFybB4MQL8J2wZ24O846B6M+WTYqy7XVuHRuVURnH4czWesw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/spinner" "2.0.10" + +"@chakra-ui/checkbox@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/checkbox/-/checkbox-2.2.2.tgz#494d7090ac11a0a43d05b7849aff6085f7a91045" + integrity sha512-Y6Zbkkk5VNoe0RzqU6F+rKlFVPlubz1KIgYcb7CCNHGOM97dLtRm78eAvJ+7Xmpitr+7zZ4hJLLjfAz+e1X7rA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/visually-hidden" "2.0.11" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/clickable@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/clickable/-/clickable-2.0.10.tgz#e89b7b3eaf9364753f6205e36fd5128b26a617d8" + integrity sha512-G6JdR6yAMlXpfjOJ70W2FL7aUwNuomiMFtkneeTpk7Q42bJ5iGHfYlbZEx5nJd8iB+UluXVM4xlhMv2MyytjGw== + dependencies: + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/close-button@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/close-button/-/close-button-2.0.11.tgz#8b0679da42738229014d3807885d05fac0fdf448" + integrity sha512-9WF/nwwK9BldS89WQ5PtXK2nFS4r8QOgKls2BOwXfE+rGmOUZtOsu8ne/drXRjgkiBRETR6CxdyUjm7EPzXllw== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/color-mode@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/color-mode/-/color-mode-2.1.9.tgz#d3a6f9ba9eee15d9e14cc96484e25d44cef1dbc1" + integrity sha512-0kx0I+AQon8oS23/X+qMtnhsv/1BUulyJvU56p3Uh8CRaBfgJ7Ly9CerShoUL+5kadu6hN1M9oty4cugaCwv2w== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/control-box@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/control-box/-/control-box-2.0.10.tgz#e8a849c9f0fa085da78ee15dda7e13e1734b983d" + integrity sha512-sHmZanFLEv4IDATl19ZTxq8Bi8PtjfvnsN6xF4k7JGSYUnk1YXUf1coyW7WKdcsczOASrMikfsLc3iEVAzx4Ng== + +"@chakra-ui/counter@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/counter/-/counter-2.0.10.tgz#861f00db021235892dfe0407e739a259f1c233b2" + integrity sha512-MZK8UKUZp4nFMd+GlV/cq0NIARS7UdlubTuCx+wockw9j2JI5OHzsyK0XiWuJiq5psegSTzpbtT99QfAUm3Yiw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/css-reset@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/css-reset/-/css-reset-2.0.8.tgz#093ce6b166b37f2dd14e63f246635c463a59c106" + integrity sha512-VuDD1rk1pFc+dItk4yUcstyoC9D2B35hatHDBtlPMqTczFAzpbgVJJYgEHANatXGfulM5SdckmYEIJ3Tac1Rtg== + +"@chakra-ui/descendant@3.0.10": + version "3.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/descendant/-/descendant-3.0.10.tgz#e54c95270896c451f61b57d31719ee042f4e1827" + integrity sha512-MHH0Qdm0fGllGP2xgx4WOycmrpctyyEdGw6zxcfs2VqZNlrwmjG3Yb9eVY+Q7UmEv5rwAq6qRn7BhQxgSPn3Cg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/dom-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/dom-utils/-/dom-utils-2.0.3.tgz#8a5498b107d3a42662f3502f7b8965cb73bf6a33" + integrity sha512-aeGlRmTxcv0cvW44DyeZHru1i68ZDQsXpfX2dnG1I1yBlT6GlVx1xYjCULis9mjhgvd2O3NfcYPRTkjNWTDUbA== + +"@chakra-ui/editable@2.0.13": + version "2.0.13" + resolved "https://registry.npmjs.org/@chakra-ui/editable/-/editable-2.0.13.tgz#4e6ff480956ae2dcacf4ba2a15019336486bd613" + integrity sha512-GM3n8t3/TOFFcDOWF/tuKsnqn66isZLsU+FkMRY2o0E8XjLBGjCKuXInPW5SRBqhje7EHC+kwViLE780PfwXbw== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/event-utils@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/event-utils/-/event-utils-2.0.5.tgz#23de21e319d1a70863953402d64cb4b0e6ce322f" + integrity sha512-VXoOAIsM0PFKDlhm+EZxkWlUXd5UFTb/LTux3y3A+S9G5fDxLRvpiLWByPUgTFTCDFcgTCF+YnQtdWJB4DLyxg== + +"@chakra-ui/focus-lock@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/focus-lock/-/focus-lock-2.0.12.tgz#11c0301a326249efe269c2dd0f54b11a67a04321" + integrity sha512-NvIP59A11ZNbxXZ3qwxSiQ5npjABkpSbTIjK0uZ9bZm5LMfepRnuuA19VsVlq31/BYV9nHFAy6xzIuG+Qf9xMA== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + react-focus-lock "^2.9.1" + +"@chakra-ui/form-control@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/form-control/-/form-control-2.0.11.tgz#fbfdddb02d1b5d2c67ffdc721c434ff16693e4bd" + integrity sha512-MVhIe0xY4Zn06IXRXFmS9tCa93snppK1SdUQb1P99Ipo424RrL5ykzLnJ8CAkQrhoVP3sxF7z3eOSzk8/iRfow== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/hooks@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.0.tgz#a8df3692e407c2fed8cc551c8ce7f3fcd0ea9864" + integrity sha512-4H6BDITq/YrStW99LXurgPkcz4qHSVy9V/QWXCvt1pCuiDTqNztiW4r508H3ApAOsL9NEbyXcM/zWYD7r5VDjA== + dependencies: + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/utils" "2.0.11" + compute-scroll-into-view "1.0.14" + copy-to-clipboard "3.3.1" + +"@chakra-ui/icon@3.0.11": + version "3.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icon/-/icon-3.0.11.tgz#a51dda24bed2f2ed77b4136ada8f22d3249c9870" + integrity sha512-RG4jf/XmBdaxOYI5J5QstEtTCPoVlmrQ/XiWhvN0LTgAnmZIqVwFl3Uw+satArdStHAs0GmJZg/E/soFTWuFmw== + dependencies: + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/icons@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/icons/-/icons-2.0.11.tgz#3faf53c499c7c61c65b6e5ff4b0933f48b9ba416" + integrity sha512-WjxrFMt9hHpuZlnBh4fhtGOkIVlwYwHNmwq4sJGxYWlg8UnEhVJMoOojheJDy/d3Gp9+ApetlK3vt8fV/rZamg== + dependencies: + "@chakra-ui/icon" "3.0.11" + +"@chakra-ui/image@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/image/-/image-2.0.11.tgz#eb880ecd2fce47f22ef50bbbba66cbb027c0304c" + integrity sha512-S6NqAprPcbHnck/J+2wg06r9SSol62v5A01O8Kke2PnAyjalMcS+6P59lDRO7wvPqsdxq4PPbSTZP6Dww2CvcA== + dependencies: + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.12.tgz#332db53a831daea4d76e1de6d3b4462fd50ae167" + integrity sha512-lJ5necu+Wt698HdCTC7L/ErA2nNVJAra7+knPe0qMR+AizGEL7LKCV/bdQe7eggjvKsDGD4alJIEczUvm3JVUQ== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/layout@2.1.9": + version "2.1.9" + resolved "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.9.tgz#3e9cc7b5915e033907367e40fc97d218efa5f777" + integrity sha512-ztsavtirtdtjxdqIkGR6fVcrffHp6hs1twRFO/dK14FGXrX3Nn9mi3J1fr1ITBHJq6y5B3yFEj0LHN2fO8dYyw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/object-utils" "2.0.4" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/shared-utils" "2.0.2" + +"@chakra-ui/lazy-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/lazy-utils/-/lazy-utils-2.0.2.tgz#d85f9afc60c2434ba76376fd4b23a7a0a1341e14" + integrity sha512-MTxutBJZvqNNqrrS0722cI7qrnGu0yUQpIebmTxYwI+F3cOnPEKf5Ni+hrA8hKcw4XJhSY4npAPPYu1zJbOV4w== + +"@chakra-ui/live-region@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/live-region/-/live-region-2.0.10.tgz#d33a784c85feed7ba96e2579553ca1d20c965171" + integrity sha512-eQ2ZIreR/plzi/KGszDYTi1TvIyGEBcPiWP52BQOS7xwpzb1vsoR1FgFAIELxAGJvKnMUs+9qVogfyRBX8PdOg== + +"@chakra-ui/media-query@3.2.7": + version "3.2.7" + resolved "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.7.tgz#ece5b2181136145305bf5e6ec82c696ef1d59a77" + integrity sha512-hbgm6JCe0kYU3PAhxASYYDopFQI26cW9kZnbp+5tRL1fykkVWNMPwoGC8FEZPur9JjXp7aoL6H4Jk7nrxY/XWw== + dependencies: + "@chakra-ui/breakpoint-utils" "2.0.4" + "@chakra-ui/react-env" "2.0.10" + +"@chakra-ui/menu@2.1.2": + version "2.1.2" + resolved "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.2.tgz#bbe39e1efdb408ba8e6616e0ec290417474f9454" + integrity sha512-6Z7ecXjp6BtZ1ExbFggfxsAj1hwtcathXekmCTxHpXOD+BdjAC/13+oLclwXeuBO85aoTmQrQ2ovfTkO31bzRQ== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-outside-click" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/transition" "2.0.11" + +"@chakra-ui/modal@2.2.2": + version "2.2.2" + resolved "https://registry.npmjs.org/@chakra-ui/modal/-/modal-2.2.2.tgz#bf3ef2673a8641a5c851faceb7811e0c0f323517" + integrity sha512-cCYuqLZO4QqFUI1H+uEqixDk6UiCP3yC+sxkhFTXHIApSG9Z44v5np7BVTd6LKdmAN8pAWcc8Oxf14RvD6LWLw== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/focus-lock" "2.0.12" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/transition" "2.0.11" + aria-hidden "^1.1.1" + react-remove-scroll "^2.5.4" + +"@chakra-ui/number-input@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/number-input/-/number-input-2.0.12.tgz#90a8408e6abb2d021793888ef2119d01761d7614" + integrity sha512-3owLjl01sCYpTd3xbq//fJo9QJ0Q3PVYSx9JeOzlXnnTW8ws+yHPrqQzPe7G+tO4yOYynWuUT+NJ9oyCeAJIxA== + dependencies: + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-interval" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/number-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/number-utils/-/number-utils-2.0.4.tgz#0331be05956f2c03125c073d35655e261e267cd4" + integrity sha512-MdYd29GboBoKaXY9jhbY0Wl+0NxG1t/fa32ZSIbU6VrfMsZuAMl4NEJsz7Xvhy50fummLdKn5J6HFS7o5iyIgw== + +"@chakra-ui/object-utils@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/object-utils/-/object-utils-2.0.4.tgz#d890ce285103a5e9b993f016a4fb38307aa55ac0" + integrity sha512-sY98L4v2wcjpwRX8GCXqT+WzpL0i5FHVxT1Okxw0360T2tGnZt7toAwpMfIOR3dzkemP9LfXMCyBmWR5Hi2zpQ== + +"@chakra-ui/pin-input@2.0.15": + version "2.0.15" + resolved "https://registry.npmjs.org/@chakra-ui/pin-input/-/pin-input-2.0.15.tgz#08e65c5e8468cef6192634a53859169b51c2c4a7" + integrity sha512-Ha8siSZm9gyjHHBK8ejwhKT6+75U12I/hNiYFvl2JHhc+Uh8tdi7+N+9SILO5vqbIv9kb+WGitvZ67I0cHjSfw== + dependencies: + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popover@2.1.1": + version "2.1.1" + resolved "https://registry.npmjs.org/@chakra-ui/popover/-/popover-2.1.1.tgz#1b5e05e334ba5f9bce4bc5bcabfb92563393fc84" + integrity sha512-j09NsesfT+eaYITkITYJXDlRcPoOeQUM80neJZKOBgul2iHkVsEoii8dwS5Ip5ONeu4ane1b6zEOlYvYj2SrkA== + dependencies: + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-animation-state" "2.0.5" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-focus-effect" "2.0.5" + "@chakra-ui/react-use-focus-on-pointer-down" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/popper@3.0.8": + version "3.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/popper/-/popper-3.0.8.tgz#89b6984aee405316974dbb70ba451f85832bf44e" + integrity sha512-246eUwuCRsLpTPxn5T8D8T9/6ODqmmz6pRRJAjGnLlUB0gNHgjisBn0UDBic5Gbxcg0sqKvxOMY3uurbW5lXTA== + dependencies: + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@popperjs/core" "^2.9.3" + +"@chakra-ui/portal@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/portal/-/portal-2.0.10.tgz#8ac21131cb0666a0bf6565468b3f7e799ef3bc8d" + integrity sha512-VRYvVAggIuqIZ3IQ6XZ1b5ujjjOUgPk9PPdc9jssUngZa7RG+5NXNhgoM8a5TsXv6aPEolBOlDNWuxzRQ4RSSg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/progress@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/progress/-/progress-2.0.12.tgz#7ce57fe2822d1741c26e82960ca02c667a265a05" + integrity sha512-9qtZimZosTliI7siAZkLeCVdCpXCTxmSETCudHcCUsC+FtcFacmA65+We8qij1nOIqmsbm+NYU6PP89TU2n4Hg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/provider@2.0.20": + version "2.0.20" + resolved "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.0.20.tgz#2f3f73f6142f4d2b2a5a8ad6dbd777a3fc4390ce" + integrity sha512-mNNfsgm05G4x1VzvHVR9+PNEiuxNnn9xUKDuEwoaO7+IHCMzCRMtPbSJjwmv0xvHUGB9+JChjPpZI5RuHQziJQ== + dependencies: + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/radio@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/radio/-/radio-2.0.12.tgz#d89eb463df0247a0e634cff1fb9ca755bcbab825" + integrity sha512-871hqAGQaufxyUzPP3aautPBIRZQmpi3fw5XPZ6SbY62dV61M4sjcttd46HfCf5SrAonoOADFQLMGQafznjhaA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@zag-js/focus-visible" "0.1.0" + +"@chakra-ui/react-children-utils@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-children-utils/-/react-children-utils-2.0.3.tgz#406b984c653befd6c99636fcefb55bd01d436a7d" + integrity sha512-tPQjLEEuAw/DYLRw0cNs/g8tcdhZ3r21Sr9dTAzoyvfk0vbZ24gCXRElltW2GZLiFA63mAidzhPmc+yQF3Wtgg== + +"@chakra-ui/react-context@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-context/-/react-context-2.0.4.tgz#1b6ab260d44d9073c95b975b7d1643f011e65e02" + integrity sha512-eBITFkf7fLSiMZrSdhweK4fYr41WUNMEeIEOP2dCWolE7WgKxNYaYleC+iRGY0GeXkFM2KYywUtixjJe29NuVA== + +"@chakra-ui/react-env@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/react-env/-/react-env-2.0.10.tgz#2eaa4ba64a14ecd2d279c32d5edfef7a6b5de3e8" + integrity sha512-3Yab5EbFcCGYzEsoijy4eA3354Z/JoXyk9chYIuW7Uwd+K6g/R8C0mUSAHeTmfp6Fix9kzDgerO5MWNM87b8cA== + +"@chakra-ui/react-types@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-types/-/react-types-2.0.3.tgz#dc454c4703b4de585e6461fd607304ede06fe595" + integrity sha512-1mJYOQldFTALE0Wr3j6tk/MYvgQIp6CKkJulNzZrI8QN+ox/bJOh8OVP4vhwqvfigdLTui0g0k8M9h+j2ub/Mw== + +"@chakra-ui/react-use-animation-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-animation-state/-/react-use-animation-state-2.0.5.tgz#f022baf0103c35aa494227b041422e7d2401b0d4" + integrity sha512-8gZIqZpMS5yTGlC+IqYoSrV13joiAYoeI0YR2t68WuDagcZ459OrjE57+gF04NLxfdV7eUgwqnpuv7IOLbJX/A== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-callback-ref@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-callback-ref/-/react-use-callback-ref-2.0.4.tgz#5099ef1df4413af42e434945f541de99394ec96f" + integrity sha512-he7EQfwMA4mwiDDKvX7cHIJaboCqf7UD3KYHGUcIjsF4dSc2Y8X5Ze4w+hmVZoJWIe4DWUzb3ili2SUm8eTgPg== + +"@chakra-ui/react-use-controllable-state@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-controllable-state/-/react-use-controllable-state-2.0.5.tgz#5ef9f600ae134a2a37fe080fd6231bbed83544bb" + integrity sha512-JrZZpMX24CUyfDuyqDczw9Z9IMvjH8ujETHK0Zu4M0SIsX/q4EqOwwngUFL03I2gx/O38HfSdeX8hMu4zbTAGA== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-disclosure@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-disclosure/-/react-use-disclosure-2.0.5.tgz#bb52340f0e7d614cc95819bd21cffd050783f96c" + integrity sha512-kPLB9oxImASRhAbKfvfc03/lbAJbsXndEVRzd+nvvL+QZm2RRfnel3k6OIkWvGFOXXYOPE2+slLe8ZPwbTGg9g== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-event-listener@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-event-listener/-/react-use-event-listener-2.0.4.tgz#3f893def57a7b10db6c355740dd1e82cd3216259" + integrity sha512-VqmalfKWMO8D21XuZO19WUtcP5xhbHXKzkggApTChZUN02UC5TC4pe0pYbDygoeUuNBhY+9lJKHeS08vYsljRg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-focus-effect@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-effect/-/react-use-focus-effect-2.0.5.tgz#b554277c38e84468b019e08a73579e9700e1003a" + integrity sha512-sbe1QnsXXfjukM+laxbKnT0UnMpHe/7kTzEPG/BYM6/ZDUUmrC1Nz+8l+3H/52iWIaruikDBdif/Xd37Yvu3Kg== + dependencies: + "@chakra-ui/dom-utils" "2.0.3" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/react-use-focus-on-pointer-down@2.0.3": + version "2.0.3" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-focus-on-pointer-down/-/react-use-focus-on-pointer-down-2.0.3.tgz#8b605063c9e707a18b021fbcaed8919c8660d1ed" + integrity sha512-8cKmpv26JnblexNaekWxEDI7M+MZnJcp1PJUz6lByjfQ1m4YjFr1cdbdhG4moaqzzYs7vTmO/qL8KVq8ZLUwyQ== + dependencies: + "@chakra-ui/react-use-event-listener" "2.0.4" + +"@chakra-ui/react-use-interval@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-interval/-/react-use-interval-2.0.2.tgz#6d1d5d5b5c5604ee2ea47f1e140e6eaf6e885df5" + integrity sha512-5U1c0pEB5n0Yri0E4RdFXWx2RVBZBBhD8Uu49dM33jkIguCbIPmZ+YgVry5DDzCHyz4RgDg4yZKOPK0PI8lEUg== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-latest-ref@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-latest-ref/-/react-use-latest-ref-2.0.2.tgz#4895d3ae2dc93a660ed86aaec7021b729830d3d2" + integrity sha512-Ra/NMV+DSQ3n0AdKsyIqdgnFzls5UntabtIRfDXLrqmJ4tI0a1tDdop2qop0Ue87AcqD9P1KtQue4KPx7wCElw== + +"@chakra-ui/react-use-merge-refs@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-merge-refs/-/react-use-merge-refs-2.0.4.tgz#c23f10fda1d3a6327a48708a8a7ad4b62ba918d3" + integrity sha512-aoWvtE5tDQNaLCiNUI6WV+MA2zVcCLR5mHSCISmowlTXyXOqOU5Fo9ZoUftzrmgCJpDu5x1jfUOivxuHUueb0g== + +"@chakra-ui/react-use-outside-click@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-outside-click/-/react-use-outside-click-2.0.4.tgz#977d873cfedec615c8e3acd48fca7b094b464b6e" + integrity sha512-uerJKS8dqg2kHs1xozA5vcCqW0UInuwrfCPb+rDWBTpu7aEqxABMw9W3e4gfOABrAjhKz2I0a/bu2i8zbVwdLw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-pan-event@2.0.5": + version "2.0.5" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-pan-event/-/react-use-pan-event-2.0.5.tgz#9269d4b798d1447e18b00ee0b28fa52c5c8efb26" + integrity sha512-nhE3b85++EEmBD2v6m46TLoA4LehSCZ349P8kvEjw/RC0K6XDOZndaBucIeAlnpEENSSUpczFfMSOLxSHdu0oA== + dependencies: + "@chakra-ui/event-utils" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + framesync "5.3.0" + +"@chakra-ui/react-use-previous@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-previous/-/react-use-previous-2.0.2.tgz#1091ae8abc2082ab504e3742f8b1d75409ae7b27" + integrity sha512-ap/teLRPKopaHYD80fnf0TR/NpTWHJO5VdKg6sPyF1y5ediYLAzPT1G2OqMCj4QfJsYDctioT142URDYe0Nn7w== + +"@chakra-ui/react-use-safe-layout-effect@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-safe-layout-effect/-/react-use-safe-layout-effect-2.0.2.tgz#31088eeb4b2a6910251683ddb15fb855d6127adf" + integrity sha512-gl5HDq9RVeDJiT8udtpx12KRV8JPLJHDIUX8f/yZcKpXow0C7FFGg5Yy5I9397NQog5ZjKMuOg+AUq9TLJxsyQ== + +"@chakra-ui/react-use-size@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.4.tgz#3634782f8dab6aa2a37699188afa89251cbae8f3" + integrity sha512-W6rgTLuoSC4ovZtqYco8cG+yBadH3bhlg92T5lgpKDakSDr0mXcZdbGx6g0AOkgxXm0V1jWNGO1743wudtF7ew== + dependencies: + "@zag-js/element-size" "0.1.0" + +"@chakra-ui/react-use-timeout@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-timeout/-/react-use-timeout-2.0.2.tgz#f1378de0d5e01f7aee60d5b9ec3205e1fc7d2fc4" + integrity sha512-n6zb3OmxtDmRMxYkDgILqKh15aDOa8jNLHBlqHzmlL6mEGNKmMFPW9j/KvpAqSgKjUTDRnnXcpneprTMKy/yrw== + dependencies: + "@chakra-ui/react-use-callback-ref" "2.0.4" + +"@chakra-ui/react-use-update-effect@2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@chakra-ui/react-use-update-effect/-/react-use-update-effect-2.0.4.tgz#522bc58b943fffe540a91f7a096d42e4a91b9748" + integrity sha512-F/I9LVnGAQyvww+x7tQb47wCwjhMYjpxtM1dTg1U3oCEXY0yF1Ts3NJLUAlsr3nAW6epJIwWx61niC7KWpam1w== + +"@chakra-ui/react-utils@2.0.8": + version "2.0.8" + resolved "https://registry.npmjs.org/@chakra-ui/react-utils/-/react-utils-2.0.8.tgz#1db4e920386f4afbf44fe9dd8aaaf6f22eefb371" + integrity sha512-OSHHBKZlJWTi2NZcPnBx1PyZvLQY+n5RPBtcri7/89EDdAwz2NdEhp2Dz1yQRctOSCF1kB/rnCYDP1U0oRk9RQ== + dependencies: + "@chakra-ui/utils" "2.0.11" + +"@chakra-ui/react@2.3.6", "@chakra-ui/react@^2.2.9": + version "2.3.6" + resolved "https://registry.npmjs.org/@chakra-ui/react/-/react-2.3.6.tgz#a6d3e092cab433fcd9cf8e9876756818c4261df6" + integrity sha512-xo43UU+yMqRGHZLU4fSgzojeRl5stlIfT+GLbT9CUVEm0HMJCt2m8RsNPBvGOMzANdC+bzwSiOm+MNzQBi9IBQ== + dependencies: + "@chakra-ui/accordion" "2.1.2" + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/avatar" "2.2.0" + "@chakra-ui/breadcrumb" "2.1.0" + "@chakra-ui/button" "2.0.11" + "@chakra-ui/checkbox" "2.2.2" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/control-box" "2.0.10" + "@chakra-ui/counter" "2.0.10" + "@chakra-ui/css-reset" "2.0.8" + "@chakra-ui/editable" "2.0.13" + "@chakra-ui/form-control" "2.0.11" + "@chakra-ui/hooks" "2.1.0" + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/image" "2.0.11" + "@chakra-ui/input" "2.0.12" + "@chakra-ui/layout" "2.1.9" + "@chakra-ui/live-region" "2.0.10" + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/menu" "2.1.2" + "@chakra-ui/modal" "2.2.2" + "@chakra-ui/number-input" "2.0.12" + "@chakra-ui/pin-input" "2.0.15" + "@chakra-ui/popover" "2.1.1" + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/progress" "2.0.12" + "@chakra-ui/provider" "2.0.20" + "@chakra-ui/radio" "2.0.12" + "@chakra-ui/react-env" "2.0.10" + "@chakra-ui/select" "2.0.12" + "@chakra-ui/skeleton" "2.0.17" + "@chakra-ui/slider" "2.0.12" + "@chakra-ui/spinner" "2.0.10" + "@chakra-ui/stat" "2.0.11" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/switch" "2.0.14" + "@chakra-ui/system" "2.3.0" + "@chakra-ui/table" "2.0.11" + "@chakra-ui/tabs" "2.1.4" + "@chakra-ui/tag" "2.0.11" + "@chakra-ui/textarea" "2.0.12" + "@chakra-ui/theme" "2.1.14" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/toast" "4.0.0" + "@chakra-ui/tooltip" "2.2.0" + "@chakra-ui/transition" "2.0.11" + "@chakra-ui/utils" "2.0.11" + "@chakra-ui/visually-hidden" "2.0.11" + +"@chakra-ui/select@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/select/-/select-2.0.12.tgz#9b485e6a28c9aa468bc1c0d8a78aabd985b0c370" + integrity sha512-NCDMb0w48GYCHmazVSQ7/ysEpbnri+Up6n+v7yytf6g43TPRkikvK5CsVgLnAEj0lIdCJhWXTcZer5wG5KOEgA== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/shared-utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@chakra-ui/shared-utils/-/shared-utils-2.0.2.tgz#1df08133194c12ac4df9302604ec37784c2bb026" + integrity sha512-wC58Fh6wCnFFQyiebVZ0NI7PFW9+Vch0QE6qN7iR+bLseOzQY9miYuzPJ1kMYiFd6QTOmPJkI39M3wHqrPYiOg== + +"@chakra-ui/skeleton@2.0.17": + version "2.0.17" + resolved "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.17.tgz#737e08f771980f5b73060dc6c940691e7759d044" + integrity sha512-dL7viXEKDEzmAJGbHMj+QbGl9PAd0VWztEcWcz5wOGfmAcJllA0lVh6NmG/yqLb6iXPCX4Y1Y0Yurm459TEYWg== + dependencies: + "@chakra-ui/media-query" "3.2.7" + "@chakra-ui/react-use-previous" "2.0.2" + +"@chakra-ui/slider@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.12.tgz#42fc5fe385c507276da29f4aa49a6408ee853978" + integrity sha512-Cna04J7e4+F3tJNb7tRNfPP+koicbDsKJBp+f1NpR32JbRzIfrf2Vdr4hfD5/uOfC4RGxnVInNZzZLGBelLtLw== + dependencies: + "@chakra-ui/number-utils" "2.0.4" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-callback-ref" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-latest-ref" "2.0.2" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-pan-event" "2.0.5" + "@chakra-ui/react-use-size" "2.0.4" + "@chakra-ui/react-use-update-effect" "2.0.4" + +"@chakra-ui/spinner@2.0.10": + version "2.0.10" + resolved "https://registry.npmjs.org/@chakra-ui/spinner/-/spinner-2.0.10.tgz#f8b1b6f1c8f45e3aeab44d5ab1f1debc71e52573" + integrity sha512-SwId1xPaaFAaEYrR9eHkQHAuB66CbxwjWaQonEjeEUSh9ecxkd5WbXlsQSyf2hVRIqXJg0m3HIYblcKUsQt9Rw== + +"@chakra-ui/stat@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/stat/-/stat-2.0.11.tgz#0c052aee68486a892e09e802bb569dc984e31eae" + integrity sha512-ZPFK2fKufDSHD8bp/KhO3jLgW/b3PzdG4zV+7iTO7OYjxm5pkBfBAeMqfXGx4cl51rtWUKzsY0HV4vLLjcSjHw== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/styled-system@2.3.4": + version "2.3.4" + resolved "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.3.4.tgz#6022c5a675b54a69b1d3c2d3e60258901dc7b82a" + integrity sha512-Lozbedu+GBj4EbHB/eGv475SFDLApsIEN9gNKiZJBJAE1HIhHn3Seh1iZQSrHC/Beq+D5cQq3Z+yPn3bXtFU7w== + dependencies: + csstype "^3.0.11" + lodash.mergewith "4.6.2" + +"@chakra-ui/switch@2.0.14": + version "2.0.14" + resolved "https://registry.npmjs.org/@chakra-ui/switch/-/switch-2.0.14.tgz#62372355bf73c19896b39fb7e75c132333c5a882" + integrity sha512-6lzhCkJq7vbD3yGaorGLp0ZZU4ewdKwAu0e62qR8TfYZwbcbpkXbBKloIHbA2XKOduISzS2WYqjmoP6jSKIxrA== + dependencies: + "@chakra-ui/checkbox" "2.2.2" + +"@chakra-ui/system@2.3.0": + version "2.3.0" + resolved "https://registry.npmjs.org/@chakra-ui/system/-/system-2.3.0.tgz#b7ba122872d4d48806fbf994f1187680ae2296a6" + integrity sha512-BxikahglBI0uU8FE3anEorDTU5oKTUuBIEKVcQrEVnrbNuRJEy1OVYyCNXfqW3MpruRO9ypYV2bWt02AZZWEaQ== + dependencies: + "@chakra-ui/color-mode" "2.1.9" + "@chakra-ui/react-utils" "2.0.8" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme-utils" "2.0.1" + "@chakra-ui/utils" "2.0.11" + react-fast-compare "3.2.0" + +"@chakra-ui/table@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/table/-/table-2.0.11.tgz#9bd25d5383c94982b89e792675bc1d1f667f81f3" + integrity sha512-zQTiqPKEgjdeO/PG0FByn0fH4sPF7dLJF+YszrIzDc6wvpD96iY6MYLeV+CSelbH1g0/uibcJ10PSaFStfGUZg== + dependencies: + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/tabs@2.1.4": + version "2.1.4" + resolved "https://registry.npmjs.org/@chakra-ui/tabs/-/tabs-2.1.4.tgz#38d9748ce2cfa583a123c0f695ea1cbce1a6bd42" + integrity sha512-/CQGj1lC9lvruT5BCYZH6Ok64W4CDSysDXuR2XPZXIih9kVOdXQEMXxG8+3vc63WqTBjHuURtZI0g8ouOy84ew== + dependencies: + "@chakra-ui/clickable" "2.0.10" + "@chakra-ui/descendant" "3.0.10" + "@chakra-ui/lazy-utils" "2.0.2" + "@chakra-ui/react-children-utils" "2.0.3" + "@chakra-ui/react-context" "2.0.4" + "@chakra-ui/react-use-controllable-state" "2.0.5" + "@chakra-ui/react-use-merge-refs" "2.0.4" + "@chakra-ui/react-use-safe-layout-effect" "2.0.2" + +"@chakra-ui/tag@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/tag/-/tag-2.0.11.tgz#14702adf5d1456dbbb84ea7a4b314953b92c323f" + integrity sha512-iJJcX+4hl+6Se/8eCRzG+xxDwZfiYgc4Ly/8s93M0uW2GLb+ybbfSE2DjeKSyk3mQVeGzuxGkBfDHH2c2v26ew== + dependencies: + "@chakra-ui/icon" "3.0.11" + "@chakra-ui/react-context" "2.0.4" + +"@chakra-ui/textarea@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/textarea/-/textarea-2.0.12.tgz#469c1d64cb855b3b534dcd7fcc1d927e60da8da1" + integrity sha512-msR9YMynRXwZIqR6DgjQ2MogA/cW1syBx/R0v3es+9Zx8zlbuKdoLhYqajHteCup8dUzTeIH2Vs2vAwgq4wu5A== + dependencies: + "@chakra-ui/form-control" "2.0.11" + +"@chakra-ui/theme-tools@2.0.12": + version "2.0.12" + resolved "https://registry.npmjs.org/@chakra-ui/theme-tools/-/theme-tools-2.0.12.tgz#b29d9fb626d35e3b00f532c64f95ea261d8f6997" + integrity sha512-mnMlKSmXkCjHUJsKWmJbgBTGF2vnLaMLv1ihkBn5eQcCubMQrBLTiMAEFl5pZdzuHItU6QdnLGA10smcXbNl0g== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@ctrl/tinycolor" "^3.4.0" + +"@chakra-ui/theme-utils@2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.1.tgz#a3dc99331ba943e155dd683fe25ce302e3084db0" + integrity sha512-NDwzgTPxm+v3PAJlSSU1MORHLMqO9vsRJ+ObELD5wpvE9aEyRziN/AZSoK2oLwCQMPEiU7R99K5ij1E6ptMt7w== + dependencies: + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + lodash.mergewith "4.6.2" + +"@chakra-ui/theme@2.1.14": + version "2.1.14" + resolved "https://registry.npmjs.org/@chakra-ui/theme/-/theme-2.1.14.tgz#4726d65a65515f8ee96b5f2a725d0d17804ddfc9" + integrity sha512-6EYJCQlrjSjNAJvZmw1un50F8+sQDFsdwu/7UzWe+TeANpKlz4ZcHbh0gkl3PD62lGis+ehITUwqRm8htvDOjw== + dependencies: + "@chakra-ui/anatomy" "2.0.7" + "@chakra-ui/theme-tools" "2.0.12" + +"@chakra-ui/toast@4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@chakra-ui/toast/-/toast-4.0.0.tgz#797c34c4ecfcad7c6899c1cda221af0ff04d5d0b" + integrity sha512-abeeloJac5T9WK2IN76fEM5FSRH+erNXln2HqDf5wLBn33avSBXWyTiUL8riVSUqto0lrIn6FuK/MmKo0DH4og== + dependencies: + "@chakra-ui/alert" "2.0.11" + "@chakra-ui/close-button" "2.0.11" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-use-timeout" "2.0.2" + "@chakra-ui/react-use-update-effect" "2.0.4" + "@chakra-ui/styled-system" "2.3.4" + "@chakra-ui/theme" "2.1.14" + +"@chakra-ui/tooltip@2.2.0": + version "2.2.0" + resolved "https://registry.npmjs.org/@chakra-ui/tooltip/-/tooltip-2.2.0.tgz#24e005f831cddf1c0e41dd246ed2771a97b8637c" + integrity sha512-oB97aQJBW+U3rRIt1ct7NaDRMnbW16JQ5ZBCl3BzN1VJWO3djiNuscpjVdZSceb+FdGSFo+GoDozp1ZwqdfFeQ== + dependencies: + "@chakra-ui/popper" "3.0.8" + "@chakra-ui/portal" "2.0.10" + "@chakra-ui/react-types" "2.0.3" + "@chakra-ui/react-use-disclosure" "2.0.5" + "@chakra-ui/react-use-event-listener" "2.0.4" + "@chakra-ui/react-use-merge-refs" "2.0.4" + +"@chakra-ui/transition@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/transition/-/transition-2.0.11.tgz#b2cfeb2150871c635cb9d03d9b525481dbe56f56" + integrity sha512-O0grc162LARPurjz1R+J+zr4AAKsVwN5+gaqLfZLMWg6TpvczJhwEA2fLCNAdkC/gomere390bJsy52xfUacUw== + +"@chakra-ui/utils@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/utils/-/utils-2.0.11.tgz#8e773f900a8356bd10c48b59151a781dba1c7b70" + integrity sha512-4ZQdK6tbOuTrUCsAQBHWo7tw5/Q6pBV93ZbVpats61cSWMFGv32AIQw9/hA4un2zDeSWN9ZMVLNjAY2Dq/KQOA== + dependencies: + "@types/lodash.mergewith" "4.6.6" + css-box-model "1.2.1" + framesync "5.3.0" + lodash.mergewith "4.6.2" + +"@chakra-ui/visually-hidden@2.0.11": + version "2.0.11" + resolved "https://registry.npmjs.org/@chakra-ui/visually-hidden/-/visually-hidden-2.0.11.tgz#b2eb236e803451b39cdfcce3c5ab52e773c066a3" + integrity sha512-e+5amYvnsmEQdiWH4XMyvrtGTdwz//+48vwj5CsNWWcselzkwqodmciy5rIrT71/SCQDOtmgnL7ZWAUOffxfsQ== + +"@confio/ics23@^0.6.8": + version "0.6.8" + resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" + integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + dependencies: + "@noble/hashes" "^1.0.0" + protobufjs "^6.8.8" + +"@cosmjs/amino@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.3.tgz#5aa338a301ea970a93e15522706615efea507c10" + integrity sha512-BFz1++ERerIggiFc7iGHhGe1CeV3rCv8BvkoBQTBN/ZwzHOaKvqQj8smDlRGlQxX3HWlTwgiLN2A+OB5yX4ZRw== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + +"@cosmjs/cosmwasm-stargate@0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.3.tgz#f6279fc6d590db01d6cb0f5cfae43bb2c88c279b" + integrity sha512-S13VlyWj2EGZ7hePT+kQkybksfjjYs/YffuZNVaD5P4CADiOcF52LGJcUCywyfYvC4RQYRVLOaq5hbAlLTUuew== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stargate" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + pako "^2.0.2" + +"@cosmjs/crypto@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.24.1.tgz#62da59c32b26344f26b10dd31a02b93655586d04" + integrity sha512-GPhaWmQO06mXldKj/b+oKF5o3jMNfRKpAw+Q8XQhrD7ItinVPDMu8Xgl6frUXWTUdgpYwqpvqOcpm85QUsYV0Q== + dependencies: + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.5.3" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.1.1" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + unorm "^1.5.0" + +"@cosmjs/crypto@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.3.tgz#4af0ac1264f1638c31d03cfcbedf2fca36e17890" + integrity sha512-dOCYLLEOnn5idNgoAcdQnuvFXZx/BmLnb2Mh8ZZtw6peFNvRePfaMX12HerngkLVAcLBc/V6pZHWoj9DBrsvng== + dependencies: + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.3" + libsodium-wrappers "^0.7.6" + +"@cosmjs/encoding@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.20.1.tgz#1d1162b3eca51b7244cd45102e313612cea77281" + integrity sha512-aBp153iq2LD4GwDGwodDWZk/eyAUZ8J8bbiqZ1uK8rrylzm9Rdw84aa6JxykezJe+uBPtoI4lx9eH7VQXCGDXw== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.24.1.tgz#b30e92cdb70fc200a163b8c7aa5254606c8a09ab" + integrity sha512-PMr+gaXAuM0XgjeXwB1zdX1QI0t+PgVhbmjgI/RSgswDzdExNH97qUopecL0/HG3p64vhIT/6ZjXYYTljZL7WA== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/encoding@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.29.3.tgz#191fe1192d78ac0f9eb01b6e0aa4ba976cfb2c7a" + integrity sha512-K6CTcDGovwzF3QOmLm9mWwjcu4Md64zCOBYgVK3boGbsaExP/6YAjT22e+yDsReXWlEUtSVCjqCC/9EEcwmYmg== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + +"@cosmjs/json-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.29.3.tgz#17d99b71410c24e082d492d307ad25463d0a72d1" + integrity sha512-GP3qSMxVcoTQFI1/tWQDou843ZO0s51LaT+oaSr7F6C4XNCBv9BnSiVteijeZOaIPmhSBMnZs+7QDORlDHpS7A== + dependencies: + "@cosmjs/stream" "^0.29.3" + xstream "^11.14.0" + +"@cosmjs/launchpad@^0.24.0-alpha.25", "@cosmjs/launchpad@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.24.1.tgz#fe7e80734dfd60ea093429a646d7a38634c70134" + integrity sha512-syqVGKRH6z1vw4DdAJOSu4OgUXJdkXQozqvDde0cXYwnvhb7EXGSg5CTtp+2GqTBJuNVfMZ2DSvrC2Ig8cWBQQ== + dependencies: + "@cosmjs/crypto" "^0.24.1" + "@cosmjs/encoding" "^0.24.1" + "@cosmjs/math" "^0.24.1" + "@cosmjs/utils" "^0.24.1" + axios "^0.21.1" + fast-deep-equal "^3.1.3" + +"@cosmjs/math@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.20.1.tgz#c3c2be821b8b5dbbb9b2c0401bd9f1472e821f2a" + integrity sha512-xt7BmpSw2OVGM2+JhlJvKv9OJs9+3DqgVL6+byUDC355CSISrZhFjJg9GFko1EFssDXz5YgvBZR5FkifC0xazw== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.24.1.tgz#9eed507885aacc9b269441fc9ecb00fb5876883a" + integrity sha512-eBQk8twgzmpHFCVkoNjTZhsZwWRbR+JXt0FhjXJoD85SBm4K8b2OnOyTg68uPHVKOJjLRwzyRVYgMrg5TBVgwQ== + dependencies: + bn.js "^4.11.8" + +"@cosmjs/math@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.3.tgz#29f98f6529f3d7654f1af85b329b48482eabbecb" + integrity sha512-4HGHqS+Yn81dZLOAYcDSQbROBD1a7ETW3ur5hziCTXMjZFILRJ3w71PlFUVppVb2u3kRDBBXuYHvZ6/V0M0nrg== + dependencies: + bn.js "^5.2.0" + +"@cosmjs/proto-signing@^0.24.0-alpha.25": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.24.1.tgz#4ee38d4e0d29c626344fb832235fda8e8d645c28" + integrity sha512-/rnyNx+FlG6b6O+igsb42eMN1/RXY+pTrNnAE8/YZaRloP9A6MXiTMO5JdYSTcjaD0mEVhejiy96bcyflKYXBg== + dependencies: + "@cosmjs/launchpad" "^0.24.1" + long "^4.0.0" + protobufjs "~6.10.2" + +"@cosmjs/proto-signing@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.3.tgz#fa5ed609ed2a0007d8d5eacbeb1f5a89ba1b77ff" + integrity sha512-Ai3l9THjMOrLJ4Ebn1Dgptwg6W5ZIRJqtnJjijHhGwTVC1WT0WdYU3aMZ7+PwubcA/cA1rH4ZTK7jrfYbra63g== + dependencies: + "@cosmjs/amino" "^0.29.3" + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + +"@cosmjs/socket@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.29.3.tgz#0c3fcf16066946c43a7666516ee0edc096ff977c" + integrity sha512-yP35avUsBId/HUBVPRg8z1KmW2iTjMNzflBcFVuTbVoDZrK9DHIlAsB8lV+XKIKPqqECvEq2Dtb1Z+XDy1WBEA== + dependencies: + "@cosmjs/stream" "^0.29.3" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + +"@cosmjs/stargate@0.29.3", "@cosmjs/stargate@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.29.3.tgz#9bd303bfd32a7399a233e662864e7cc32e2607af" + integrity sha512-455TgXStCi6E8KDjnhDAM8wt6aLSjobH4Dixvd7Up1DfCH6UB9NkC/G0fMJANNcNXMaM4wSX14niTXwD1d31BA== + dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/proto-signing" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + cosmjs-types "^0.5.2" + long "^4.0.0" + protobufjs "~6.11.3" + xstream "^11.14.0" + +"@cosmjs/stream@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.29.3.tgz#9d9a9ec952cbc96f2e524204c4833980e314e6cd" + integrity sha512-0fbKvslZjNyuVe43cB9NDSqlBUXOHG84wGry4HmYfwayRtHr1CDWH5nR3v04eG0/prmZht8J3TgPsfWozIP+cw== + dependencies: + xstream "^11.14.0" + +"@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.3.tgz#054f80e5095cdf328d98fa7bcf23cd785435d247" + integrity sha512-4l3VacUMQdyGGqfzbZ02kEwlVdMVOdAeWJt2euoVdfUR/HT+TTzQrrL+ORj9PEooLLtwtMl9dqms8uEiblYBDg== + dependencies: + "@cosmjs/crypto" "^0.29.3" + "@cosmjs/encoding" "^0.29.3" + "@cosmjs/json-rpc" "^0.29.3" + "@cosmjs/math" "^0.29.3" + "@cosmjs/socket" "^0.29.3" + "@cosmjs/stream" "^0.29.3" + "@cosmjs/utils" "^0.29.3" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + +"@cosmjs/utils@^0.20.0": + version "0.20.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.20.1.tgz#4d239b7d93c15523cdf109f225cbf61326fb69cd" + integrity sha512-xl9YnIrAAaBd6nFffwFbyrnKjqjD9zKGP8OBKxzyglxamHfqAS+PcJPEiaEpt+oUt7HAIOyhL3KK75Dh52hGvA== + +"@cosmjs/utils@^0.24.1": + version "0.24.1" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.24.1.tgz#0adfefe63b7f17222bc2bc12f71296f35e7ad378" + integrity sha512-VA3WFx1lMFb7esp9BqHWkDgMvHoA3D9w+uDRvWhVRpUpDc7RYHxMbWExASjz+gNblTCg556WJGzF64tXnf9tdQ== + +"@cosmjs/utils@^0.29.3": + version "0.29.3" + resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.3.tgz#d7e1f381267e61b7d3219ebd75d46defc397cd43" + integrity sha512-UuKoBN2xiRXcBpz7jzCwagKhOnLOsRmR8mu3IzY+Yx38i8rW52FSXMbxC/yE83X0vLea+zgMQFPwv0gy4QWUJw== + +"@cosmos-kit/config@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/config/-/config-0.16.2.tgz#17b3444bd28600286ab30c187ed81fcaf4fd324d" + integrity sha512-ywWdW4UOyYP6IOD+WSFoxdtaEEKvY/dYasoNk5FGsL35jE8fpJU2hmm3e0YxiXREafi4i31pv9pE5rtf0ijB3g== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@cosmos-kit/core" "^0.16.2" + "@cosmos-kit/keplr" "^0.16.2" + +"@cosmos-kit/core@0.20.0", "@cosmos-kit/core@^0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.20.0.tgz#cf230a818c12c3c029bf70e91568cce0382f09ac" + integrity sha512-gy6jarhd2HUwdBe3S3Y88jDp2VTE8Die6ngoNnEWdipiiaMFmw14cGZD0WzskzPI88md05L/r6/pUPeNNZE+DQ== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/core@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/core/-/core-0.16.2.tgz#9c07eb2c89388f9a265fc95edfd3aaf62ec607f8" + integrity sha512-ogMx4zdxt2sXKtFx/ifUYVDY1sb1QdnegD0FyvQ2rl6iJbAugWHZlRM/0lk+LMFQxrADbV3Fr/jxVyHIVZSYbg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + chain-registry "^0.14.0" + +"@cosmos-kit/keplr@0.20.0": + version "0.20.0" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.20.0.tgz#85a267b4fa295027e5eca1965127bcc3f86a325c" + integrity sha512-2LiHZiQQ2mg1G5jivA6UEnb3f/kUi9G9qWUh/GcCgaRHuW+OnlP+/RbwP6dDhK7wxvXLDUo0PKSfsP/ksY1GUw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/keplr" "1.0.0" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.20.0" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/keplr@^0.16.2": + version "0.16.2" + resolved "https://registry.npmjs.org/@cosmos-kit/keplr/-/keplr-0.16.2.tgz#7540cf78df4e1f48e123648ca54d33696456037d" + integrity sha512-NV+9zXmpI8EcNWwtKgYoV/PshZSD5Su+RFn+Et3YdWBP2xv4Nfn/7YjkxVqziFeXR198sUcQe51ACsmVN25vuw== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/core" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + "@keplr-wallet/types" "^0.11.3" + "@keplr-wallet/wc-client" "^0.11.3" + "@walletconnect/client" "1.8.0" + "@walletconnect/node" "1.0.0" + events "3.3.0" + react "18.2.0" + react-dom "18.2.0" + react-icons "^4.4.0" + +"@cosmos-kit/react@0.19.0": + version "0.19.0" + resolved "https://registry.npmjs.org/@cosmos-kit/react/-/react-0.19.0.tgz#0976c9678f57bbb710b4c73494047d1b17512f10" + integrity sha512-w8v18Us7t6VD3ERFa1XZvJ2/30vW9qTQ6PGkvoeoIHy3KVIDlLb9hNPgq9rm+wn7/ohGt1KXHiWmd3K5qZiPKg== + dependencies: + "@babel/runtime" "^7.11.2" + "@chain-registry/types" "^0.11.0" + "@chakra-ui/react" "^2.2.9" + "@cosmos-kit/config" "^0.16.2" + "@emotion/react" "^11" + "@emotion/styled" "^11" + bowser "2.11.0" + qrcode.react "^3.1.0" + react-icons "^4.4.0" + +"@ctrl/tinycolor@^3.4.0": + version "3.4.1" + resolved "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" + integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== + +"@emotion/babel-plugin@^11.10.0": + version "11.10.2" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.2.tgz#879db80ba622b3f6076917a1e6f648b1c7d008c7" + integrity sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.0.13" + +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + +"@emotion/cache@^11.10.0", "@emotion/cache@^11.4.0": + version "11.10.3" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.3.tgz" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + +"@emotion/is-prop-valid@^0.8.2": + version "0.8.8" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" + integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== + dependencies: + "@emotion/memoize" "0.7.4" + +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + +"@emotion/memoize@0.7.4": + version "0.7.4" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" + integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== + +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/react@^11", "@emotion/react@^11.8.1": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" + integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/cache" "^11.10.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" + +"@emotion/serialize@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.0.tgz#b1f97b1011b09346a40e9796c37a3397b4ea8ea8" + integrity sha512-F1ZZZW51T/fx+wKbVlwsfchr5q97iW8brAnXmsskz4d0hVB4O3M/SiA3SaeH06x02lSNzkkQv+n3AX3kCXKSFA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + +"@emotion/styled@11.10.5": + version "11.10.5" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz#1fe7bf941b0909802cb826457e362444e7e96a79" + integrity sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/styled@^11": + version "11.10.4" + resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" + integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.0" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.0" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@ethersproject/address@^5.6.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" + integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + +"@ethersproject/bignumber@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" + integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + bn.js "^5.2.1" + +"@ethersproject/bytes@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" + integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== + dependencies: + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" + integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== + dependencies: + "@ethersproject/bytes" "^5.7.0" + js-sha3 "0.8.0" + +"@ethersproject/logger@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" + integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== + +"@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@floating-ui/core@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@floating-ui/core/-/core-1.0.1.tgz#00e64d74e911602c8533957af0cce5af6b2e93c8" + integrity sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA== + +"@floating-ui/dom@^1.0.1": + version "1.0.4" + resolved "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.4.tgz#cc0f2a03db7193b1b932b90d09c5c81235682a60" + integrity sha512-maYJRv+sAXTy4K9mzdv0JPyNW5YPVHrqtY90tEdI6XNpuLOP26Ci2pfwPsKBA/Wh4Z3FX5sUrtUFTdMYj9v+ug== + dependencies: + "@floating-ui/core" "^1.0.1" + +"@iov/crypto@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/crypto/-/crypto-2.1.0.tgz#10e91b6692e154958c11626dfd096a80e8a481a4" + integrity sha512-jnb4XuK50admolm7fBxOcxfAW2TO+wYrZlhDWiMETItY/Y5gNNa1zaDSO2wNIjjfGng+8nQ1yqnNhqy7busV2Q== + dependencies: + "@iov/encoding" "^2.1.0" + bip39 "^3.0.2" + bn.js "^4.11.8" + elliptic "^6.4.0" + js-sha3 "^0.8.0" + libsodium-wrappers "^0.7.6" + pbkdf2 "^3.0.16" + ripemd160 "^2.0.2" + sha.js "^2.4.11" + type-tagger "^1.0.0" + unorm "^1.5.0" + +"@iov/encoding@2.1.0": + version "2.1.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.1.0.tgz#434203c39874c68bc1d96e1278251f0feb23be07" + integrity sha512-5IOdLO7Xg/uRykuiCqeMYghQ3IjWDtGxv7NTWXkgpHuna0aewx43mRpT2NPCpOZd1tpuorDtQ7/zbDNRaIIF/w== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.3" + bn.js "^4.11.8" + readonly-date "^1.0.0" + +"@iov/encoding@^2.1.0": + version "2.5.0" + resolved "https://registry.npmjs.org/@iov/encoding/-/encoding-2.5.0.tgz#9612e529f45e63633b2375c13db28b9330ce6293" + integrity sha512-HGHLlQEvD23rFjW5PQrxD2B/6LiBHVSxqX6gjOz9KfcmIMIftRA0qROrTITfjjjUr/yZZEeNk4qjuBls9TaYcA== + dependencies: + "@cosmjs/encoding" "^0.20.0" + "@cosmjs/math" "^0.20.0" + "@cosmjs/utils" "^0.20.0" + readonly-date "^1.0.0" + +"@iov/utils@2.0.2": + version "2.0.2" + resolved "https://registry.npmjs.org/@iov/utils/-/utils-2.0.2.tgz#3527f376d26100e07ac823bf87bebd0f24680d1c" + integrity sha512-4D8MEvTcFc/DVy5q25vHxRItmgJyeX85dixMH+MxdKr+yy71h3sYk+sVBEIn70uqGP7VqAJkGOPNFs08/XYELw== + +"@keplr-wallet/common@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.12.tgz#936d0bf3d824851ab495fe82062bf122981fef72" + integrity sha512-dl9n1pz532JhEXaJ6sXle5aU8i1r7PHfbBcdxWqxBUiGPUsnKJV3jSt7ZbjyuuU4a04EJRSF3GW4hKgW7WKPEA== + dependencies: + "@keplr-wallet/crypto" "0.11.12" + buffer "^6.0.3" + delay "^4.4.0" + +"@keplr-wallet/cosmos@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.10.24.tgz#1dbaaa65158b4a9614996813c04c35afb38c840e" + integrity sha512-fKaHoto4+AYL/HKR3ieZYMwYXlN8yTuQuIghAxDXHHaW8r+G2qrt7U1bLZR9E8e9/YxaxzBjiL2Xpd0WNdkjrQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@ethersproject/address" "^5.6.0" + "@keplr-wallet/crypto" "0.10.24" + "@keplr-wallet/proto-types" "0.10.24" + "@keplr-wallet/types" "0.10.24" + "@keplr-wallet/unit" "0.10.24" + axios "^0.27.2" + bech32 "^1.1.4" + buffer "^6.0.3" + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/crypto@0.10.24", "@keplr-wallet/crypto@^0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.10.24.tgz#9beba4aee83652e604b4edb6cdf2357d20d4a213" + integrity sha512-NBXOrX+qeVa4Pqr+g5VIswtPz3cIBlF869pIX98F9AN1xLWkSwqysNLWNPgCQaQGqtqrA1izagW3oGmePSpRPQ== + dependencies: + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/crypto@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.12.tgz#ed34f0db7ef9b7c3dbe9e2cd108b7481f26b30fc" + integrity sha512-Fa6OsU4dUZXVBOxg4zdcv+UcSR2c7rvSGzH/by9aR2bwhMQt4jXhpjxFWM4YDvDBWnDLovtf4ClzxREL7dT5pA== + dependencies: + "@ethersproject/keccak256" "^5.5.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bs58check "^2.1.2" + buffer "^6.0.3" + crypto-js "^4.0.0" + elliptic "^6.5.3" + sha.js "^2.4.11" + +"@keplr-wallet/proto-types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.10.24.tgz#6484da3c2311bf784e5954791299b53016c682bc" + integrity sha512-wcR2AcmYdMF2yQgj1CdNJqUHsvQWj4yFBPfJvZfpA3Cldq3ZRH+/UgpVm0QUYqUbuNmGHQMzkZkAkfZNtr8BSg== + dependencies: + long "^4.0.0" + protobufjs "^6.11.2" + +"@keplr-wallet/provider@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/provider/-/provider-0.11.12.tgz#2433ff11cc4f64066c5bea7939e48463f6d2060d" + integrity sha512-J0MCjd49JnDRdpNVPDCZ9z0NjwOnhWqvMntgCI9jgEHnw/RUZVKyl7dRXER73NRFXkX1OD18B+SknOYNqqQAgQ== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/router" "0.11.12" + "@keplr-wallet/types" "0.11.12" + buffer "^6.0.3" + deepmerge "^4.2.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/router@0.11.12": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/router/-/router-0.11.12.tgz#b7de29f143054cfae8fba358cf4ffe8007d85745" + integrity sha512-rBfEFVU53ghUgLm3vRC5ulqc0MH3IEo3wdaRylwy6R5eB90ReD9KT/yJvvBj2ryHGCZo+x2Moi6v3Fm0XRM9aQ== + +"@keplr-wallet/types@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.10.24.tgz#b795f3f45ccad852803c726812625c61ff2b4a29" + integrity sha512-L90/1/w2/QS9QMB9T0rqqfduy6qn9Isqjfdmi6AHewhKjy2TfZJaXBFuMvyYmpYBbkhkei+pM9mLh4+f3eblww== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "^0.17.0" + +"@keplr-wallet/types@0.11.12", "@keplr-wallet/types@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.12.tgz#b2cf0eee3ce534e4e54a50e9b17344a884dc3e01" + integrity sha512-/RABialOssLu1siPbuFwksOUYs+04OsjfG9twBIW9piimGG4FdO8q/Wihs0RRBFzXb5eka14kIoTvgunrkDj8A== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + axios "^0.27.2" + long "^4.0.0" + secretjs "0.17.7" + +"@keplr-wallet/unit@0.10.24": + version "0.10.24" + resolved "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.10.24.tgz#770109a46743c0fe16f9aaca930ad4b455d7f07b" + integrity sha512-8wDLpBUc/yQ6pWJOotk8V4OlxjPqU8V1OJgzYSQDF4FD9/BjRGifXY1LkYp2QhaJ7c6vKhw8v773SgmBq5w5vg== + dependencies: + "@keplr-wallet/types" "0.10.24" + big-integer "^1.6.48" + utility-types "^3.10.0" + +"@keplr-wallet/wc-client@^0.11.3": + version "0.11.12" + resolved "https://registry.npmjs.org/@keplr-wallet/wc-client/-/wc-client-0.11.12.tgz#8095004adcf5e2b0e89260fe8be6e5a80c47e168" + integrity sha512-CSpqpkl4AFlYLDt3TgAoNYG7mYNDEUC1imc9ioghuTLxR9FrOL1ov3PTKVfehoeypsrsL1CcJr3BqOl1vcimLg== + dependencies: + "@cosmjs/launchpad" "^0.24.0-alpha.25" + "@cosmjs/proto-signing" "^0.24.0-alpha.25" + "@keplr-wallet/common" "0.11.12" + "@keplr-wallet/provider" "0.11.12" + "@keplr-wallet/types" "0.11.12" + "@walletconnect/types" "^1.6.4" + "@walletconnect/utils" "^1.6.4" + buffer "^6.0.3" + deepmerge "^4.2.2" + secretjs "0.17.7" + +"@motionone/animation@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.14.0.tgz" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.13.1": + version "10.13.1" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.13.1.tgz" + integrity sha512-zjfX+AGMIt/fIqd/SL1Lj93S6AiJsEA3oc5M9VkUr+Gz+juRmYN1vfvZd6MvEkSqEjwPQgcjN7rGZHrDB9APfQ== + dependencies: + "@motionone/animation" "^10.13.1" + "@motionone/generators" "^10.13.1" + "@motionone/types" "^10.13.0" + "@motionone/utils" "^10.13.1" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.14.0.tgz" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.13.1": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.14.0.tgz" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.13.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.14.0.tgz" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.13.1", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.14.0.tgz" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@next/env@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/env/-/env-12.2.5.tgz" + integrity sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw== + +"@next/swc-android-arm-eabi@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.5.tgz#903a5479ab4c2705d9c08d080907475f7bacf94d" + integrity sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA== + +"@next/swc-android-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.5.tgz#2f9a98ec4166c7860510963b31bda1f57a77c792" + integrity sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg== + +"@next/swc-darwin-arm64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.5.tgz" + integrity sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg== + +"@next/swc-darwin-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.5.tgz#2e44dd82b2b7fef88238d1bc4d3bead5884cedfd" + integrity sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A== + +"@next/swc-freebsd-x64@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.5.tgz#e24e75d8c2581bfebc75e4f08f6ddbd116ce9dbd" + integrity sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw== + +"@next/swc-linux-arm-gnueabihf@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.5.tgz#46d8c514d834d2b5f67086013f0bd5e3081e10b9" + integrity sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg== + +"@next/swc-linux-arm64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.5.tgz#91f725ac217d3a1f4f9f53b553615ba582fd3d9f" + integrity sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ== + +"@next/swc-linux-arm64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.5.tgz#e627e8c867920995810250303cd9b8e963598383" + integrity sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg== + +"@next/swc-linux-x64-gnu@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.5.tgz#83a5e224fbc4d119ef2e0f29d0d79c40cc43887e" + integrity sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw== + +"@next/swc-linux-x64-musl@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.5.tgz#be700d48471baac1ec2e9539396625584a317e95" + integrity sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g== + +"@next/swc-win32-arm64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.5.tgz#a93e958133ad3310373fda33a79aa10af2a0aa97" + integrity sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw== + +"@next/swc-win32-ia32-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.5.tgz#4f5f7ba0a98ff89a883625d4af0125baed8b2e19" + integrity sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw== + +"@next/swc-win32-x64-msvc@12.2.5": + version "12.2.5" + resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.5.tgz#20fed129b04a0d3f632c6d0de135345bb623b1e4" + integrity sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.1.3" + resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz#360afc77610e0a61f3417e497dcf36862e4f8111" + integrity sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A== + +"@popperjs/core@^2.9.3": + version "2.11.6" + resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + +"@swc/helpers@0.4.3": + version "0.4.3" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz" + integrity sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA== + dependencies: + tslib "^2.4.0" + +"@types/lodash.mergewith@4.6.6": + version "4.6.6" + resolved "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.6.tgz#c4698f5b214a433ff35cb2c75ee6ec7f99d79f10" + integrity sha512-RY/8IaVENjG19rxTZu9Nukqh0W2UrYgmBj5sdns4hWRZaV8PqR7wIKHFKzvOTjo4zVRV7sVI+yFhAJql12Kfqg== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*": + version "4.14.186" + resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz#862e5514dd7bd66ada6c70ee5fce844b06c8ee97" + integrity sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw== + +"@types/long@^4.0.1": + version "4.0.2" + resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" + integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + +"@types/node@10.12.18": + version "10.12.18" + resolved "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" + integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + +"@types/node@>=13.7.0": + version "18.11.3" + resolved "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz#78a6d7ec962b596fc2d2ec102c4dd3ef073fea6a" + integrity sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A== + +"@types/node@^13.7.0": + version "13.13.52" + resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" + integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/prop-types@*": + version "15.7.5" + resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz" + integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== + +"@types/react-transition-group@^4.4.0": + version "4.4.5" + resolved "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.5.tgz" + integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== + dependencies: + "@types/react" "*" + +"@types/react@*": + version "18.0.20" + resolved "https://registry.npmjs.org/@types/react/-/react-18.0.20.tgz" + integrity sha512-MWul1teSPxujEHVwZl4a5HxQ9vVNsjTchVA+xRqv/VYGCuKGAU6UhfrTdF5aBefwD1BHUD8i/zq+O/vyCm/FrA== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/scheduler@*": + version "0.16.2" + resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz" + integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== + +"@walletconnect/browser-utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" + integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + dependencies: + "@walletconnect/safe-json" "1.0.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/window-getters" "1.0.0" + "@walletconnect/window-metadata" "1.0.0" + detect-browser "5.2.0" + +"@walletconnect/client@1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" + integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== + dependencies: + "@walletconnect/core" "^1.8.0" + "@walletconnect/iso-crypto" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/core@^1.0.0", "@walletconnect/core@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/core/-/core-1.8.0.tgz" + integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== + dependencies: + "@walletconnect/socket-transport" "^1.8.0" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + "@walletconnect/randombytes" "^1.0.2" + aes-js "^3.1.2" + hash.js "^1.1.7" + +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== + dependencies: + is-typedarray "1.0.0" + typedarray-to-buffer "3.1.5" + +"@walletconnect/environment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" + integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== + +"@walletconnect/iso-crypto@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz" + integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== + dependencies: + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + +"@walletconnect/jsonrpc-types@^1.0.1": + version "1.0.1" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" + integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/jsonrpc-utils@^1.0.3": + version "1.0.3" + resolved "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" + integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== + dependencies: + "@walletconnect/environment" "^1.0.0" + "@walletconnect/jsonrpc-types" "^1.0.1" + +"@walletconnect/node-crypto@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node-crypto/-/node-crypto-1.0.0.tgz#890f11292d12c62b44d2a6f4c9bdeb97f1b7a2fd" + integrity sha512-0Umq6k3aw5AtnOnyAlQITZgSrPsiUVOh5oLy5wxzKXSMlWSzvtx2/9dzV1AROFXYIfhp2HKXblyxb5e4PFvVcA== + dependencies: + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/node@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/node/-/node-1.0.0.tgz#6b981210b1af5cf84b091b66e8bee06b350cd854" + integrity sha512-yk5HGMWnysgqp0ePPuTrIbGB85V2Uhikh/+belffQfp03VYPQJnJj/x117KjMnAZXmzQD5lLl5bkvoy1CTKrJQ== + dependencies: + "@walletconnect/core" "^1.0.0" + "@walletconnect/node-crypto" "^1.0.0" + "@walletconnect/types" "^1.0.0" + "@walletconnect/utils" "^1.0.0" + +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.npmjs.org/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== + dependencies: + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/environment" "^1.0.0" + randombytes "^2.1.0" + +"@walletconnect/safe-json@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" + integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + +"@walletconnect/socket-transport@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" + integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== + dependencies: + "@walletconnect/types" "^1.8.0" + "@walletconnect/utils" "^1.8.0" + ws "7.5.3" + +"@walletconnect/types@^1.0.0", "@walletconnect/types@^1.6.4", "@walletconnect/types@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + +"@walletconnect/utils@^1.0.0", "@walletconnect/utils@^1.6.4", "@walletconnect/utils@^1.8.0": + version "1.8.0" + resolved "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.8.0.tgz" + integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== + dependencies: + "@walletconnect/browser-utils" "^1.8.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/jsonrpc-utils" "^1.0.3" + "@walletconnect/types" "^1.8.0" + bn.js "4.11.8" + js-sha3 "0.8.0" + query-string "6.13.5" + +"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" + integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + +"@walletconnect/window-metadata@1.0.0": + version "1.0.0" + resolved "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" + integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== + dependencies: + "@walletconnect/window-getters" "^1.0.0" + +"@zag-js/element-size@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" + integrity sha512-QF8wp0+V8++z+FHXiIw93+zudtubYszOtYbNgK39fg3pi+nCZtuSm4L1jC5QZMatNZ83MfOzyNCfgUubapagJQ== + +"@zag-js/focus-visible@0.1.0": + version "0.1.0" + resolved "https://registry.npmjs.org/@zag-js/focus-visible/-/focus-visible-0.1.0.tgz#9777bbaff8316d0b3a14a9095631e1494f69dbc7" + integrity sha512-PeaBcTmdZWcFf7n1aM+oiOdZc+sy14qi0emPIeUuGMTjbP0xLGrZu43kdpHnWSXy7/r4Ubp/vlg50MCV8+9Isg== + +aes-js@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +aria-hidden@^1.1.1: + version "1.2.1" + resolved "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.1.tgz#ad8c1edbde360b454eb2bf717ea02da00bfee0f8" + integrity sha512-PN344VAf9j1EAi+jyVHOJ8XidQdPVssGco39eNcsGdM4wcsILtxrKLkbuiMfLWYROK1FjRQasMWCBttrhjnr6A== + dependencies: + tslib "^2.0.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +axios@0.21.1: + version "0.21.1" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + +axios@^0.21.1, axios@^0.21.2: + version "0.21.4" + resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axios@^0.27.2: + version "0.27.2" + resolved "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== + dependencies: + follow-redirects "^1.14.9" + form-data "^4.0.0" + +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + +base-x@^3.0.2: + version "3.0.9" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== + dependencies: + safe-buffer "^5.0.1" + +base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bech32@^1.1.3, bech32@^1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + +big-integer@^1.6.48: + version "1.6.51" + resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +bindings@^1.3.0: + version "1.5.0" + resolved "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + +bip32@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" + integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== + dependencies: + "@types/node" "10.12.18" + bs58check "^2.1.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + tiny-secp256k1 "^1.1.3" + typeforce "^1.11.5" + wif "^2.0.6" + +bip39@^3.0.2, bip39@^3.0.3: + version "3.0.4" + resolved "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + +bn.js@4.11.8: + version "4.11.8" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== + +bn.js@^4.11.8, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.2.0, bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + +bowser@2.11.0: + version "2.11.0" + resolved "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + +bs58@^4.0.0: + version "4.0.1" + resolved "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" + integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== + dependencies: + base-x "^3.0.2" + +bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + +buffer@6.0.3, buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +buffer@~5.4.3: + version "5.4.3" + resolved "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz#3fbc9c69eb713d323e3fc1a895eee0710c072115" + integrity sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001332: + version "1.0.30001402" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001402.tgz" + integrity sha512-Mx4MlhXO5NwuvXGgVb+hg65HZ+bhUYsz8QtDGDo2QmaJS2GBX47Xfi2koL86lc8K+l+htXeTEB/Aeqvezoo6Ew== + +chain-registry@1.3.1: + version "1.3.1" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-1.3.1.tgz#21f252909506cb8b341e5a79ea511f74c5d9619a" + integrity sha512-/3rHkZiO4Q0Sah6gtYiIpPn4PCCat+eZDkbDkgtK6g4dzcUeZFcZXfsO6YhmGDfc5HSMC63CWUNjkLD2AG78Kw== + dependencies: + "@babel/runtime" "^7.19.4" + "@chain-registry/types" "^0.13.1" + +chain-registry@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/chain-registry/-/chain-registry-0.14.0.tgz#2672ee375a098f1d1f32aa352f79e77ec6b9c62c" + integrity sha512-7nsE0pkdUEuLWxVsLiLTvwrnGFH8ju8aB3y6c/SXZszwsRIQ4umZ2to9KNQHjvVVc2KkiX0//HkZjh+vUxTsOw== + dependencies: + "@babel/runtime" "^7.19.0" + "@chain-registry/types" "^0.11.0" + +chakra-react-select@4.4.0: + version "4.4.0" + resolved "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.4.0.tgz#ba4478b8356fbcd750d108be3075fd10e870a819" + integrity sha512-7lPPsaxDoaPEH0aPZazDc0mTzsUQq46nB2EAQtp2IWj2p2+ngmp/xHieT3NEGD1kMy9hGcS/y3kcGVcUabL1UQ== + dependencies: + react-select "^5.5.7" + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +charenc@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + +cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +compute-scroll-into-view@1.0.14: + version "1.0.14" + resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759" + integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ== + +convert-source-map@^1.5.0: + version "1.9.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +copy-to-clipboard@3.3.1: + version "3.3.1" + resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" + integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== + dependencies: + toggle-selection "^1.0.6" + +cosmiconfig@^7.0.0: + version "7.0.1" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + dependencies: + "@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" + +cosmjs-types@^0.5.2: + version "0.5.2" + resolved "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +crypt@~0.0.1: + version "0.0.2" + resolved "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + +crypto-js@^4.0.0: + version "4.1.1" + resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" + integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== + +css-box-model@1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1" + integrity sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw== + dependencies: + tiny-invariant "^1.0.6" + +csstype@^3.0.11, csstype@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + +curve25519-js@0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" + integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +delay@^4.4.0: + version "4.4.1" + resolved "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" + integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-browser@5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" + integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== + +detect-node-es@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493" + integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ== + +dom-helpers@^5.0.1: + version "5.2.1" + resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz" + integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== + dependencies: + "@babel/runtime" "^7.8.7" + csstype "^3.0.2" + +elliptic@^6.4.0, elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +events@3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" + integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== + +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-fuzzy@1.11.2: + version "1.11.2" + resolved "https://registry.npmjs.org/fast-fuzzy/-/fast-fuzzy-1.11.2.tgz" + integrity sha512-H1ct10Pzx+pSO4h7F1uBXET91ay2hy67J1aQZFKL23EXsOoanpwjPNQQoc+NhClKJMmlGGN+0bXhIdFJX70BJw== + dependencies: + graphemesplit "^2.4.1" + +file-uri-to-path@1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" + integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== + +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +focus-lock@^0.11.2: + version "0.11.3" + resolved "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.3.tgz#c094e8f109d780f56038abdeec79328fd56b627f" + integrity sha512-4n0pYcPTa/uI7Q66BZna61nRT7lDhnuJ9PJr6wiDjx4uStg491ks41y7uOG+s0umaaa+hulNKSldU9aTg9/yVg== + dependencies: + tslib "^2.0.3" + +follow-redirects@^1.10.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: + version "1.15.2" + resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +framer-motion@7.6.4: + version "7.6.4" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-7.6.4.tgz#e396b36f68a14e14cc95b01210feac8cd5d2824d" + integrity sha512-Ac3Bl9M45fS8A0ibOUnYMSCfjaCrFfWT0uh0/MZVm/DGWcr5IsRRinWRiVGABA9RGJgn4THehqcn235JVQkucQ== + dependencies: + "@motionone/dom" "10.13.1" + framesync "6.1.2" + hey-listen "^1.0.8" + popmotion "11.0.5" + style-value-types "5.1.2" + tslib "2.4.0" + optionalDependencies: + "@emotion/is-prop-valid" "^0.8.2" + +framesync@5.3.0: + version "5.3.0" + resolved "https://registry.npmjs.org/framesync/-/framesync-5.3.0.tgz#0ecfc955e8f5a6ddc8fdb0cc024070947e1a0d9b" + integrity sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA== + dependencies: + tslib "^2.1.0" + +framesync@6.1.2: + version "6.1.2" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz" + integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== + dependencies: + tslib "2.4.0" + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.1.1: + version "1.1.3" + resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-nonce@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" + integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== + +globalthis@^1.0.1: + version "1.0.3" + resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +graphemesplit@^2.4.1: + version "2.4.4" + resolved "https://registry.npmjs.org/graphemesplit/-/graphemesplit-2.4.4.tgz" + integrity sha512-lKrpp1mk1NH26USxC/Asw4OHbhSQf5XfrWZ+CDv/dFVvd1j17kFgMotdJvOesmHkbFX9P9sBfpH8VogxOWLg8w== + dependencies: + js-base64 "^3.6.0" + unicode-trie "^2.0.0" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7, hash.js@~1.1.7: + version "1.1.7" + resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hey-listen@^1.0.8: + version "1.0.8" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" + integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +ieee754@^1.1.4, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-buffer@~1.1.1: + version "1.1.6" + resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-typedarray@1.0.0, is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isomorphic-ws@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" + integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== + +js-base64@^3.6.0: + version "3.7.2" + resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz" + integrity sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ== + +js-crypto-env@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/js-crypto-env/-/js-crypto-env-0.3.2.tgz#02195723469da14449338ca2789fd7ff6784c533" + integrity sha512-F1uHiCkSOo36qBuuZABA4sBf+xeFBzhJZ0Sd7af8FAruszIhm1Xxv+Zr5Ne90Zlh7/fnxCsrdkj0N8f0a3lVlQ== + +js-crypto-hash@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hash/-/js-crypto-hash-0.6.3.tgz#748e3e1853f69dad714636db3290736825506641" + integrity sha512-SG8c9tM8y3sUb4k7WvpVfu5vU7zfPvX+eaYR5578TvehkehdaQbqAc+y+1FwxnqQ3WZ0gsYoOKp/mW+mqtNoWA== + dependencies: + buffer "~5.4.3" + hash.js "~1.1.7" + js-crypto-env "^0.3.2" + md5 "~2.2.1" + sha3 "~2.1.0" + +js-crypto-hkdf@0.7.3: + version "0.7.3" + resolved "https://registry.npmjs.org/js-crypto-hkdf/-/js-crypto-hkdf-0.7.3.tgz#537c394a2e65bca80032daa07d2ffe7e4f78d32f" + integrity sha512-eAaVArAjS2GCacWGXY4hjBiexrLQYlI0PMOcbwtrSEj84XU3kUfMYZm9bpTyaTXgdHC/eQoXe/Of6biG+RSEaQ== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hmac "^0.6.3" + js-crypto-random "^0.4.3" + js-encoding-utils "0.5.6" + +js-crypto-hmac@^0.6.3: + version "0.6.3" + resolved "https://registry.npmjs.org/js-crypto-hmac/-/js-crypto-hmac-0.6.3.tgz#c33352c1ee6076b17b8f4cb0e2167814b2b77d6d" + integrity sha512-T0pKOaHACOSG6Xs6/06G8RDDeZouQwIQNBq9L/zoUGsd4F67gAjpT3q2lGigAGpUd1hiyy7vnhvLpz7VDt6DbA== + dependencies: + js-crypto-env "^0.3.2" + js-crypto-hash "^0.6.3" + +js-crypto-random@^0.4.3: + version "0.4.3" + resolved "https://registry.npmjs.org/js-crypto-random/-/js-crypto-random-0.4.3.tgz#898c2d91991eead02b4e461005e878fa9827fd74" + integrity sha512-C3gzphPPfw9jfQ9Q/LjhJMZxQNp3AaoVRDvyZkiB+zYltfs8tKQPsskWkXACpg1Nzh01PtSRUvVijjptd2qGHQ== + dependencies: + js-crypto-env "^0.3.2" + +js-encoding-utils@0.5.6: + version "0.5.6" + resolved "https://registry.npmjs.org/js-encoding-utils/-/js-encoding-utils-0.5.6.tgz#517351d8f4a85b2ad121183d41df8319981bee03" + integrity sha512-qnAGsUIWrmzh5n+3AXqbxX1KsB9hkQmJZf3aA9DLAS7GpL/NEHCBreFFbW+imramoU+Q0TDyvkwhRbBRH1TVkg== + +js-sha3@0.8.0, js-sha3@^0.8.0: + version "0.8.0" + resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" + integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +keyvaluestorage-interface@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" + integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== + +libsodium-wrappers@^0.7.6: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== + dependencies: + libsodium "^0.7.0" + +libsodium@^0.7.0: + version "0.7.10" + resolved "https://registry.npmjs.org/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +lodash.mergewith@4.6.2: + version "4.6.2" + resolved "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +md5@~2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9" + integrity sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ== + dependencies: + charenc "~0.0.1" + crypt "~0.0.1" + is-buffer "~1.1.1" + +memoize-one@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045" + integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw== + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + +miscreant@0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/miscreant/-/miscreant-0.3.2.tgz#a91c046566cca70bd6b5e9fbdd3f67617fa85034" + integrity sha512-fL9KxsQz9BJB2KGPMHFrReioywkiomBiuaLk6EuChijK0BsJsIKJXdVomR+/bPj5mvbFD6wM0CM3bZio9g7OHA== + +nan@^2.13.2: + version "2.17.0" + resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" + integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== + +nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +next@12.2.5: + version "12.2.5" + resolved "https://registry.npmjs.org/next/-/next-12.2.5.tgz" + integrity sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA== + dependencies: + "@next/env" "12.2.5" + "@swc/helpers" "0.4.3" + caniuse-lite "^1.0.30001332" + postcss "8.4.14" + styled-jsx "5.0.4" + use-sync-external-store "1.2.0" + optionalDependencies: + "@next/swc-android-arm-eabi" "12.2.5" + "@next/swc-android-arm64" "12.2.5" + "@next/swc-darwin-arm64" "12.2.5" + "@next/swc-darwin-x64" "12.2.5" + "@next/swc-freebsd-x64" "12.2.5" + "@next/swc-linux-arm-gnueabihf" "12.2.5" + "@next/swc-linux-arm64-gnu" "12.2.5" + "@next/swc-linux-arm64-musl" "12.2.5" + "@next/swc-linux-x64-gnu" "12.2.5" + "@next/swc-linux-x64-musl" "12.2.5" + "@next/swc-win32-arm64-msvc" "12.2.5" + "@next/swc-win32-ia32-msvc" "12.2.5" + "@next/swc-win32-x64-msvc" "12.2.5" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +pako@1.0.11: + version "1.0.11" + resolved "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + +pako@^0.2.5: + version "0.2.9" + resolved "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz" + integrity sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA== + +pako@^2.0.2: + version "2.0.4" + resolved "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" + integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pbkdf2@^3.0.16, pbkdf2@^3.0.9, pbkdf2@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +popmotion@11.0.5: + version "11.0.5" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz" + integrity sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA== + dependencies: + framesync "6.1.2" + hey-listen "^1.0.8" + style-value-types "5.1.2" + tslib "2.4.0" + +postcss@8.4.14: + version "8.4.14" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +prop-types@^15.6.0, prop-types@^15.6.2: + version "15.8.1" + resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +protobufjs@6.11.3, protobufjs@^6.11.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: + version "6.11.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz" + integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +protobufjs@~6.10.2: + version "6.10.3" + resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" + integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +qrcode.react@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/qrcode.react/-/qrcode.react-3.1.0.tgz#5c91ddc0340f768316fbdb8fff2765134c2aecd8" + integrity sha512-oyF+Urr3oAMUG/OiOuONL3HXM+53wvuH3mtIWQrYmsXoAq0DkvZp2RYUWFSMFtbdOpuS++9v+WAkzNVkMlNW6Q== + +query-string@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" + integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== + dependencies: + decode-uri-component "^0.2.0" + split-on-first "^1.0.0" + strict-uri-encode "^2.0.0" + +randombytes@^2.0.1, randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-clientside-effect@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" + integrity sha512-XGGGRQAKY+q25Lz9a/4EPqom7WRjz3z9R2k4jhVKA/puQFH/5Nt27vFZYql4m4NVNdUvX8PS3O7r/Zzm7cjUlg== + dependencies: + "@babel/runtime" "^7.12.13" + +react-dom@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-fast-compare@3.2.0: + version "3.2.0" + resolved "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" + integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== + +react-focus-lock@^2.9.1: + version "2.9.1" + resolved "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.1.tgz#094cfc19b4f334122c73bb0bff65d77a0c92dd16" + integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.11.2" + prop-types "^15.6.2" + react-clientside-effect "^1.2.6" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-icons@4.6.0, react-icons@^4.4.0: + version "4.6.0" + resolved "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz#f83eda179af5d02c047449a20b702c858653d397" + integrity sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g== + +react-is@^16.13.1, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-remove-scroll-bar@^2.3.3: + version "2.3.4" + resolved "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" + integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== + dependencies: + react-style-singleton "^2.2.1" + tslib "^2.0.0" + +react-remove-scroll@^2.5.4: + version "2.5.5" + resolved "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" + integrity sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw== + dependencies: + react-remove-scroll-bar "^2.3.3" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.0" + use-sidecar "^1.1.2" + +react-select@^5.5.7: + version "5.5.9" + resolved "https://registry.npmjs.org/react-select/-/react-select-5.5.9.tgz#02f5664e9feff3cabd28f0748bb0e4a3d5438b7b" + integrity sha512-68/sd6KmHS2ISCz9PcDhXidGCjFvc1Q1u8yaxSdo8pT7MkKehID/zMoco304+XtdE79DP0Nq8Fz7ROAb7GJ5Xg== + dependencies: + "@babel/runtime" "^7.12.0" + "@emotion/cache" "^11.4.0" + "@emotion/react" "^11.8.1" + "@floating-ui/dom" "^1.0.1" + "@types/react-transition-group" "^4.4.0" + memoize-one "^6.0.0" + prop-types "^15.6.0" + react-transition-group "^4.3.0" + use-isomorphic-layout-effect "^1.1.2" + +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +react-transition-group@^4.3.0: + version "4.4.5" + resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== + dependencies: + "@babel/runtime" "^7.5.5" + dom-helpers "^5.0.1" + loose-envify "^1.4.0" + prop-types "^15.6.2" + +react@18.2.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readonly-date@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" + integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== + +regenerator-runtime@^0.13.4: + version "0.13.10" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz#ed07b19616bcbec5da6274ebc75ae95634bfc2ee" + integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +secretjs@0.17.7: + version "0.17.7" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.7.tgz#a1aef5866a35cf673be9ddd717d20729afd056ac" + integrity sha512-j39l9+vR2A8067QBqDDejS7LmRLgdkG4uRw2Ar6HMfzDGo26eTh7cIXVlVu/yHBumxtQzKun20epOXwuYHXjQg== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secretjs@^0.17.0: + version "0.17.8" + resolved "https://registry.npmjs.org/secretjs/-/secretjs-0.17.8.tgz#a7158ebf492727da8297f9b80cf9c83597e70cc9" + integrity sha512-PD/GUF52GjysBo8dDVK8KZXRXON1iPXkkyBNWIBVsaap3A1nZPbqynx/VUOjSpFx103KdjvzeA4+O0+EdWWWmw== + dependencies: + "@iov/crypto" "2.1.0" + "@iov/encoding" "2.1.0" + "@iov/utils" "2.0.2" + axios "0.21.1" + curve25519-js "0.0.4" + fast-deep-equal "3.1.1" + js-crypto-hkdf "0.7.3" + miscreant "0.3.2" + pako "1.0.11" + protobufjs "6.11.3" + secure-random "1.1.2" + +secure-random@1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/secure-random/-/secure-random-1.1.2.tgz#ed103b460a851632d420d46448b2a900a41e7f7c" + integrity sha512-H2bdSKERKdBV1SwoqYm6C0y+9EA94v6SUBOWO8kDndc4NoUih7Dv6Tsgma7zO1lv27wIvjlD0ZpMQk7um5dheQ== + +semver@^7.3.7: + version "7.3.8" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@~2.1.0: + version "2.1.4" + resolved "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz#000fac0fe7c2feac1f48a25e7a31b52a6492cc8f" + integrity sha512-S8cNxbyb0UGUM2VhRD4Poe5N58gJnJsLJ5vC7FYWGUmGhcsj4++WaIOBFVDxlG0W3To6xBuiRh+i0Qp2oNCOtg== + dependencies: + buffer "6.0.3" + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.7: + version "0.5.7" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +split-on-first@^1.0.0: + version "1.1.0" + resolved "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" + integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== + +strict-uri-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" + integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +style-value-types@5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz" + integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== + dependencies: + hey-listen "^1.0.8" + tslib "2.4.0" + +styled-jsx@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz" + integrity sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ== + +stylis@4.0.13: + version "4.0.13" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" + integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== + +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-observable@^2.0.3: + version "2.0.3" + resolved "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" + integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== + +tiny-inflate@^1.0.0: + version "1.0.3" + resolved "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz" + integrity sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw== + +tiny-invariant@^1.0.6: + version "1.3.1" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-secp256k1@^1.1.3: + version "1.1.6" + resolved "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" + integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== + dependencies: + bindings "^1.3.0" + bn.js "^4.11.8" + create-hmac "^1.1.7" + elliptic "^6.4.0" + nan "^2.13.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +toggle-selection@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" + integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== + +tslib@2.4.0, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +type-tagger@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/type-tagger/-/type-tagger-1.0.0.tgz#dc6297e52e17097c1b92b42c16816a18f631e7f4" + integrity sha512-FIPqqpmDgdaulCnRoKv1/d3U4xVBUrYn42QXWNP3XYmgfPUDuBUsgFOb9ntT0aIe0UsUP+lknpQ5d9Kn36RssA== + +typedarray-to-buffer@3.1.5: + version "3.1.5" + resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typeforce@^1.11.5: + version "1.18.0" + resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" + integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== + +unicode-trie@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz" + integrity sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ== + dependencies: + pako "^0.2.5" + tiny-inflate "^1.0.0" + +unorm@^1.5.0: + version "1.6.0" + resolved "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" + integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== + +use-callback-ref@^1.3.0: + version "1.3.0" + resolved "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" + integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + dependencies: + tslib "^2.0.0" + +use-isomorphic-layout-effect@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz#497cefb13d863d687b08477d9e5a164ad8c1a6fb" + integrity sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA== + +use-sidecar@^1.1.2: + version "1.1.2" + resolved "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.2.tgz#2f43126ba2d7d7e117aa5855e5d8f0276dfe73c2" + integrity sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw== + dependencies: + detect-node-es "^1.1.0" + tslib "^2.0.0" + +use-sync-external-store@1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +wif@^2.0.6: + version "2.0.6" + resolved "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" + integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== + dependencies: + bs58check "<3.0.0" + +ws@7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +ws@^7: + version "7.5.9" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xstream@^11.14.0: + version "11.14.0" + resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" + integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== + dependencies: + globalthis "^1.0.1" + symbol-observable "^2.0.3" + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== diff --git a/yarn.lock b/yarn.lock index 889f158c2..4b5a48019 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5785,6 +5785,11 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + "@zag-js/element-size@0.1.0": version "0.1.0" resolved "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.1.0.tgz#dfdb3f66a70328d0c3149aae29b8f99c10590c22" @@ -6834,6 +6839,13 @@ combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +commander-plus@^0.0.6: + version "0.0.6" + resolved "https://registry.npmjs.org/commander-plus/-/commander-plus-0.0.6.tgz#280e9d3e30a392d8cda0f3d2721b856c832f602b" + integrity sha512-exkj0VqadsWHY4waXhdcybPuUGeLlFM3MMUmla8G8GR0yQYsMo2Ldsx33nm/68082g8mJQvdVCVFmrOvgLcUWQ== + dependencies: + keypress "0.1.x" + commander@^4.0.1: version "4.1.1" resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" @@ -8187,6 +8199,15 @@ gauge@~2.7.3: strip-ansi "^3.0.1" wide-align "^1.1.0" +generate-lockfile@0.0.12: + version "0.0.12" + resolved "https://registry.npmjs.org/generate-lockfile/-/generate-lockfile-0.0.12.tgz#677ebfa137ceaa89577dec1b40389031f78c618c" + integrity sha512-uqZ0ZoCtn2r2tH3fkzAwZjXEXamjL/ZCGHCgZ1FJcRVgRNHsVSZBt7ZfRTqPXrZGi45k2cT/OsTEP8y8hrnDUQ== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^4.1.0" + commander-plus "^0.0.6" + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" @@ -9638,6 +9659,11 @@ juno-network@0.8.0: "@osmonauts/lcd" "0.8.0" protobufjs "^6.11.2" +keypress@0.1.x: + version "0.1.0" + resolved "https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz#4a3188d4291b66b4f65edb99f806aa9ae293592a" + integrity sha512-x0yf9PL/nx9Nw9oLL8ZVErFAk85/lslwEP7Vz7s5SI1ODXZIgit3C5qyWjw4DxOuO/3Hb4866SQh28a1V1d+WA== + keyvaluestorage-interface@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" From 44e6a4a7d1f44469a4af5295d475da4a765462d6 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 13:09:46 -0700 Subject: [PATCH 201/262] locks --- examples/contracts/package.json | 2 +- examples/cosmwasm/package.json | 2 +- examples/juno/package.json | 2 +- examples/osmosis-cosmwasm/package.json | 2 +- examples/osmosis/package.json | 2 +- examples/send-tokens/package.json | 2 +- examples/stargaze/package.json | 2 +- examples/tailwindcss/package.json | 2 +- examples/telescope/package.json | 2 +- packages/create-cosmos-app/package.json | 4 ++-- packages/create-cosmos-app/src/create-cosmos-app.ts | 10 +++++++++- packages/create-cosmos-app/src/git-cca-template.ts | 11 +++++++++++ templates/connect-chain/package.json | 2 +- templates/connect-multi-chain/package.json | 2 +- 14 files changed, 33 insertions(+), 14 deletions(-) diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 76fa483bb..57fc1fede 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/connect-chain-with-telescope-and-contracts", + "name": "@cosmology/connect-chain-with-telescope-and-contracts", "version": "1.0.3", "private": true, "scripts": { diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index 08a1d725c..e38517600 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/cosmwasm", + "name": "@cosmology/cosmwasm", "version": "1.2.1", "private": true, "scripts": { diff --git a/examples/juno/package.json b/examples/juno/package.json index 53e82ae03..006053e28 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/juno", + "name": "@cosmology/juno", "version": "1.1.1", "private": true, "scripts": { diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index 76e7d557d..e7eb42299 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/osmosis-cosmwasm", + "name": "@cosmology/osmosis-cosmwasm", "version": "1.2.1", "private": true, "scripts": { diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 1d5e9dc2c..658e74c38 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/osmosis", + "name": "@cosmology/osmosis", "version": "1.1.1", "private": true, "scripts": { diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 10ac06cce..2293c972f 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/send-tokens", + "name": "@cosmology/send-tokens", "version": "1.1.1", "private": true, "scripts": { diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index 3703d92fc..ecb8f8a49 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/stargaze", + "name": "@cosmology/stargaze", "version": "1.1.1", "private": true, "scripts": { diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 2c7886ff8..9f66e7b62 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/tailwindcss", + "name": "@cosmology/tailwindcss", "version": "1.1.1", "private": true, "scripts": { diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 6ac3b1feb..4affb4482 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/connect-chain-with-telescope", + "name": "@cosmology/connect-chain-with-telescope", "version": "1.0.3", "private": true, "scripts": { diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 4232b4220..42d7cfc4a 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -23,7 +23,7 @@ "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", "build:ts": "tsc --project ./tsconfig.json", "prepare": "npm run build", - "dev": "cross-env NODE_ENV=development babel-node src/index --extensions \".tsx,.ts,.js\"", + "dev": "cross-env NODE_ENV=development babel-node src/create-cosmos-app --extensions \".tsx,.ts,.js\"", "watch": "cross-env NODE_ENV=development babel-watch src/index --extensions \".tsx,.ts,.js\"", "lint": "eslint .", "format": "eslint --fix .", @@ -88,4 +88,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} +} \ No newline at end of file diff --git a/packages/create-cosmos-app/src/create-cosmos-app.ts b/packages/create-cosmos-app/src/create-cosmos-app.ts index 4353dcbbb..694cc4246 100755 --- a/packages/create-cosmos-app/src/create-cosmos-app.ts +++ b/packages/create-cosmos-app/src/create-cosmos-app.ts @@ -1,7 +1,15 @@ #!/usr/bin/env node import { cli } from './cli'; +import pkg from '../package.json'; var argv = require('minimist')(process.argv.slice(2)); (async () => { - await cli(argv); + if (argv._.includes('version') + || (argv.hasOwnProperty('version') && argv.version) + || (argv.hasOwnProperty('v') && argv.v) + ) { + console.log(pkg.version); + } else { + await cli(argv); + } })(); diff --git a/packages/create-cosmos-app/src/git-cca-template.ts b/packages/create-cosmos-app/src/git-cca-template.ts index 9f8d5dd95..e7839ea12 100644 --- a/packages/create-cosmos-app/src/git-cca-template.ts +++ b/packages/create-cosmos-app/src/git-cca-template.ts @@ -71,8 +71,19 @@ export const createGitApp = (repo: string) => { shell.cd(currentDirecotry); shell.rm('-rf', dir); shell.cd(`./${name}`); + + // clean up lock-file business... + const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8')); + delete pkg.scripts['locks:remove'] + delete pkg.scripts['locks:create'] + delete pkg.scripts['locks'] + delete pkg.devDependencies['generate-lockfile'] + fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2)); + + // now yarn... shell.exec(`yarn`); shell.cd(currentDirecotry); + const cmd = `cd ./${name} && yarn dev`; console.log(` diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 88c9c64f9..15c0b728f 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/connect-chain", + "name": "@cosmology/connect-chain", "version": "0.8.1", "private": true, "scripts": { diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index c600b5f27..65444e4c2 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,5 +1,5 @@ { - "name": "@cosmonauts/connect-multi-chain", + "name": "@cosmology/connect-multi-chain", "version": "0.8.1", "private": true, "scripts": { From f1ccea33483563ab4b2ed7b52843948b4547d1b7 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 14:21:10 -0700 Subject: [PATCH 202/262] upgrades --- packages/create-cosmos-app/src/create-cosmos-app.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/create-cosmos-app.ts b/packages/create-cosmos-app/src/create-cosmos-app.ts index 694cc4246..5ac37779e 100755 --- a/packages/create-cosmos-app/src/create-cosmos-app.ts +++ b/packages/create-cosmos-app/src/create-cosmos-app.ts @@ -1,6 +1,8 @@ #!/usr/bin/env node import { cli } from './cli'; import pkg from '../package.json'; +import * as shell from 'shelljs'; + var argv = require('minimist')(process.argv.slice(2)); (async () => { @@ -8,7 +10,11 @@ var argv = require('minimist')(process.argv.slice(2)); || (argv.hasOwnProperty('version') && argv.version) || (argv.hasOwnProperty('v') && argv.v) ) { - console.log(pkg.version); + console.log(pkg.version) + } else if (argv._.includes('upgrade') + || (argv.hasOwnProperty('upgrade') && argv.upgrade) + ) { + shell.exec(`npm install -g create-cosmos-app@latest`); } else { await cli(argv); } From 399cad63b963d94f2546b6aa89b7bfbfb2f5d576 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 14:22:58 -0700 Subject: [PATCH 203/262] chore(release): publish - @cosmology/connect-chain-with-telescope-and-contracts@1.0.4 - @cosmology/cosmwasm@1.2.2 - @cosmology/juno@1.1.2 - @cosmology/osmosis-cosmwasm@1.2.2 - @cosmology/osmosis@1.1.2 - @cosmology/send-tokens@1.1.2 - @cosmology/stargaze@1.1.2 - @cosmology/tailwindcss@1.1.2 - @cosmology/connect-chain-with-telescope@1.0.4 - create-cosmos-app@0.8.1 - create-cosmwasm-app@1.4.1 - create-juno-app@0.9.1 - create-osmosis-app@0.9.1 - create-stargaze-app@0.9.1 - @cosmology/connect-chain@0.8.2 - @cosmology/connect-multi-chain@0.8.2 --- examples/contracts/CHANGELOG.md | 8 ++++++++ examples/contracts/package.json | 4 ++-- examples/cosmwasm/CHANGELOG.md | 8 ++++++++ examples/cosmwasm/package.json | 4 ++-- examples/juno/CHANGELOG.md | 8 ++++++++ examples/juno/package.json | 4 ++-- examples/osmosis-cosmwasm/CHANGELOG.md | 8 ++++++++ examples/osmosis-cosmwasm/package.json | 4 ++-- examples/osmosis/CHANGELOG.md | 8 ++++++++ examples/osmosis/package.json | 4 ++-- examples/send-tokens/CHANGELOG.md | 8 ++++++++ examples/send-tokens/package.json | 4 ++-- examples/stargaze/CHANGELOG.md | 8 ++++++++ examples/stargaze/package.json | 4 ++-- examples/tailwindcss/CHANGELOG.md | 8 ++++++++ examples/tailwindcss/package.json | 4 ++-- examples/telescope/CHANGELOG.md | 8 ++++++++ examples/telescope/package.json | 4 ++-- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 4 ++-- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- templates/connect-chain/CHANGELOG.md | 8 ++++++++ templates/connect-chain/package.json | 4 ++-- templates/connect-multi-chain/CHANGELOG.md | 8 ++++++++ templates/connect-multi-chain/package.json | 4 ++-- 32 files changed, 160 insertions(+), 32 deletions(-) diff --git a/examples/contracts/CHANGELOG.md b/examples/contracts/CHANGELOG.md index f8ea2cce7..bb83a14f8 100644 --- a/examples/contracts/CHANGELOG.md +++ b/examples/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.4 (2022-11-01) + +**Note:** Version bump only for package @cosmology/connect-chain-with-telescope-and-contracts + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.2...@cosmonauts/connect-chain-with-telescope-and-contracts@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts diff --git a/examples/contracts/package.json b/examples/contracts/package.json index 57fc1fede..ba5dee8bc 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/connect-chain-with-telescope-and-contracts", - "version": "1.0.3", + "version": "1.0.4", "private": true, "scripts": { "dev": "next dev", @@ -45,4 +45,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/cosmwasm/CHANGELOG.md b/examples/cosmwasm/CHANGELOG.md index a5372c623..5d83bbc64 100644 --- a/examples/cosmwasm/CHANGELOG.md +++ b/examples/cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.2.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/cosmwasm + + + + + ## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/cosmwasm@1.2.0...@cosmonauts/cosmwasm@1.2.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/cosmwasm diff --git a/examples/cosmwasm/package.json b/examples/cosmwasm/package.json index e38517600..4e5a261b4 100644 --- a/examples/cosmwasm/package.json +++ b/examples/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/cosmwasm", - "version": "1.2.1", + "version": "1.2.2", "private": true, "scripts": { "dev": "next dev", @@ -43,4 +43,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/juno/CHANGELOG.md b/examples/juno/CHANGELOG.md index 55a13b33a..792943879 100644 --- a/examples/juno/CHANGELOG.md +++ b/examples/juno/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.1.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/juno + + + + + ## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/juno@1.1.0...@cosmonauts/juno@1.1.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/juno diff --git a/examples/juno/package.json b/examples/juno/package.json index 006053e28..ff23428fc 100644 --- a/examples/juno/package.json +++ b/examples/juno/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/juno", - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "dev": "next dev", @@ -41,4 +41,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis-cosmwasm/CHANGELOG.md b/examples/osmosis-cosmwasm/CHANGELOG.md index ae8741eb8..0d64e6ef3 100644 --- a/examples/osmosis-cosmwasm/CHANGELOG.md +++ b/examples/osmosis-cosmwasm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.2.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/osmosis-cosmwasm + + + + + ## [1.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis-cosmwasm@1.2.0...@cosmonauts/osmosis-cosmwasm@1.2.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/osmosis-cosmwasm diff --git a/examples/osmosis-cosmwasm/package.json b/examples/osmosis-cosmwasm/package.json index e7eb42299..6accb31a5 100644 --- a/examples/osmosis-cosmwasm/package.json +++ b/examples/osmosis-cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/osmosis-cosmwasm", - "version": "1.2.1", + "version": "1.2.2", "private": true, "scripts": { "dev": "next dev", @@ -43,4 +43,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/osmosis/CHANGELOG.md b/examples/osmosis/CHANGELOG.md index 2715f5b6a..6c5282eee 100644 --- a/examples/osmosis/CHANGELOG.md +++ b/examples/osmosis/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.1.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/osmosis + + + + + ## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.1.0...@cosmonauts/osmosis@1.1.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/osmosis diff --git a/examples/osmosis/package.json b/examples/osmosis/package.json index 658e74c38..3a0280746 100644 --- a/examples/osmosis/package.json +++ b/examples/osmosis/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/osmosis", - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "dev": "next dev", @@ -41,4 +41,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/send-tokens/CHANGELOG.md b/examples/send-tokens/CHANGELOG.md index 065af14b0..223549ed0 100644 --- a/examples/send-tokens/CHANGELOG.md +++ b/examples/send-tokens/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.1.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/send-tokens + + + + + ## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/send-tokens@1.1.0...@cosmonauts/send-tokens@1.1.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/send-tokens diff --git a/examples/send-tokens/package.json b/examples/send-tokens/package.json index 2293c972f..a9d8229f2 100644 --- a/examples/send-tokens/package.json +++ b/examples/send-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/send-tokens", - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "dev": "next dev", @@ -40,4 +40,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/stargaze/CHANGELOG.md b/examples/stargaze/CHANGELOG.md index d9888fde7..6b8ef5f7c 100644 --- a/examples/stargaze/CHANGELOG.md +++ b/examples/stargaze/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.1.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/stargaze + + + + + ## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/stargaze@1.1.0...@cosmonauts/stargaze@1.1.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/stargaze diff --git a/examples/stargaze/package.json b/examples/stargaze/package.json index ecb8f8a49..74c91bf1a 100644 --- a/examples/stargaze/package.json +++ b/examples/stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/stargaze", - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "dev": "next dev", @@ -40,4 +40,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/tailwindcss/CHANGELOG.md b/examples/tailwindcss/CHANGELOG.md index e1138dd12..d7b8c16f9 100644 --- a/examples/tailwindcss/CHANGELOG.md +++ b/examples/tailwindcss/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.1.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/tailwindcss + + + + + ## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/tailwindcss@1.1.0...@cosmonauts/tailwindcss@1.1.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/tailwindcss diff --git a/examples/tailwindcss/package.json b/examples/tailwindcss/package.json index 9f66e7b62..9a76b6dea 100644 --- a/examples/tailwindcss/package.json +++ b/examples/tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/tailwindcss", - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "dev": "next dev", @@ -47,4 +47,4 @@ "tailwind-scrollbar-hide": "^1.1.7", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/examples/telescope/CHANGELOG.md b/examples/telescope/CHANGELOG.md index f7271a59b..74414fd49 100644 --- a/examples/telescope/CHANGELOG.md +++ b/examples/telescope/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.4 (2022-11-01) + +**Note:** Version bump only for package @cosmology/connect-chain-with-telescope + + + + + ## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain-with-telescope@1.0.2...@cosmonauts/connect-chain-with-telescope@1.0.3) (2022-10-24) **Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope diff --git a/examples/telescope/package.json b/examples/telescope/package.json index 4affb4482..61aa2d3a5 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/connect-chain-with-telescope", - "version": "1.0.3", + "version": "1.0.4", "private": true, "scripts": { "dev": "next dev", @@ -44,4 +44,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index ecc9a2fd2..a451ab847 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.8.0...create-cosmos-app@0.8.1) (2022-11-01) + +**Note:** Version bump only for package create-cosmos-app + + + + + # [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.7.0...create-cosmos-app@0.8.0) (2022-10-26) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 42d7cfc4a..0b2cd10c1 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.8.0", + "version": "0.8.1", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -88,4 +88,4 @@ "shelljs": "0.8.5" }, "gitHead": "b980ddd90034f9ab6fd81ef5f17a21851823b83a" -} \ No newline at end of file +} diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index f99cdd1f7..a900a656d 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.4.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.4.0...create-cosmwasm-app@1.4.1) (2022-11-01) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + # [1.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.3.1...create-cosmwasm-app@1.4.0) (2022-10-26) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 175daabaa..7febefcd8 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.4.0", + "version": "1.4.1", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.0", + "create-cosmos-app": "^0.8.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 8478445eb..6523a8ef5 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.9.0...create-juno-app@0.9.1) (2022-11-01) + +**Note:** Version bump only for package create-juno-app + + + + + # [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.8.0...create-juno-app@0.9.0) (2022-10-26) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 250daf8ac..372503fec 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.9.0", + "version": "0.9.1", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.0", + "create-cosmos-app": "^0.8.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index b3be52d40..80032a31e 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.9.0...create-osmosis-app@0.9.1) (2022-11-01) + +**Note:** Version bump only for package create-osmosis-app + + + + + # [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.8.0...create-osmosis-app@0.9.0) (2022-10-26) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index eb025d829..6de9c7af2 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.9.0", + "version": "0.9.1", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.0", + "create-cosmos-app": "^0.8.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index ec2d60e28..831c27117 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.9.0...create-stargaze-app@0.9.1) (2022-11-01) + +**Note:** Version bump only for package create-stargaze-app + + + + + # [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.8.0...create-stargaze-app@0.9.0) (2022-10-26) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index 5509d13e7..dc4bb08b0 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.9.0", + "version": "0.9.1", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.0", + "create-cosmos-app": "^0.8.1", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/templates/connect-chain/CHANGELOG.md b/templates/connect-chain/CHANGELOG.md index 936e8a235..a60a11a38 100644 --- a/templates/connect-chain/CHANGELOG.md +++ b/templates/connect-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 0.8.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/connect-chain + + + + + ## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.8.0...@cosmonauts/connect-chain@0.8.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/connect-chain diff --git a/templates/connect-chain/package.json b/templates/connect-chain/package.json index 15c0b728f..cfd4017f2 100644 --- a/templates/connect-chain/package.json +++ b/templates/connect-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/connect-chain", - "version": "0.8.1", + "version": "0.8.2", "private": true, "scripts": { "dev": "next dev", @@ -37,4 +37,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} diff --git a/templates/connect-multi-chain/CHANGELOG.md b/templates/connect-multi-chain/CHANGELOG.md index 61948aa5c..831552f3e 100644 --- a/templates/connect-multi-chain/CHANGELOG.md +++ b/templates/connect-multi-chain/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 0.8.2 (2022-11-01) + +**Note:** Version bump only for package @cosmology/connect-multi-chain + + + + + ## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-multi-chain@0.8.0...@cosmonauts/connect-multi-chain@0.8.1) (2022-10-27) **Note:** Version bump only for package @cosmonauts/connect-multi-chain diff --git a/templates/connect-multi-chain/package.json b/templates/connect-multi-chain/package.json index 65444e4c2..3e93958e2 100644 --- a/templates/connect-multi-chain/package.json +++ b/templates/connect-multi-chain/package.json @@ -1,6 +1,6 @@ { "name": "@cosmology/connect-multi-chain", - "version": "0.8.1", + "version": "0.8.2", "private": true, "scripts": { "dev": "next dev", @@ -40,4 +40,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.7.4" } -} \ No newline at end of file +} From c39062e190c58527141b53ff58b2142a6232ff36 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 14:25:27 -0700 Subject: [PATCH 204/262] pkg --- packages/create-cosmos-app/src/create-cosmos-app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-cosmos-app/src/create-cosmos-app.ts b/packages/create-cosmos-app/src/create-cosmos-app.ts index 5ac37779e..2eff81e23 100755 --- a/packages/create-cosmos-app/src/create-cosmos-app.ts +++ b/packages/create-cosmos-app/src/create-cosmos-app.ts @@ -1,6 +1,6 @@ #!/usr/bin/env node -import { cli } from './cli'; import pkg from '../package.json'; +import { cli } from './cli'; import * as shell from 'shelljs'; var argv = require('minimist')(process.argv.slice(2)); From 3457646b0fbf977cb1de3948e9b50e4168fb579d Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 14:25:33 -0700 Subject: [PATCH 205/262] chore(release): publish - create-cosmos-app@0.9.0 - create-cosmwasm-app@1.5.0 - create-juno-app@0.10.0 - create-osmosis-app@0.10.0 - create-stargaze-app@0.10.0 --- packages/create-cosmos-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmos-app/package.json | 2 +- packages/create-cosmwasm-app/CHANGELOG.md | 8 ++++++++ packages/create-cosmwasm-app/package.json | 4 ++-- packages/create-juno-app/CHANGELOG.md | 8 ++++++++ packages/create-juno-app/package.json | 4 ++-- packages/create-osmosis-app/CHANGELOG.md | 8 ++++++++ packages/create-osmosis-app/package.json | 4 ++-- packages/create-stargaze-app/CHANGELOG.md | 8 ++++++++ packages/create-stargaze-app/package.json | 4 ++-- 10 files changed, 49 insertions(+), 9 deletions(-) diff --git a/packages/create-cosmos-app/CHANGELOG.md b/packages/create-cosmos-app/CHANGELOG.md index a451ab847..f4cbe50dc 100644 --- a/packages/create-cosmos-app/CHANGELOG.md +++ b/packages/create-cosmos-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.9.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.8.1...create-cosmos-app@0.9.0) (2022-11-01) + +**Note:** Version bump only for package create-cosmos-app + + + + + ## [0.8.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmos-app@0.8.0...create-cosmos-app@0.8.1) (2022-11-01) **Note:** Version bump only for package create-cosmos-app diff --git a/packages/create-cosmos-app/package.json b/packages/create-cosmos-app/package.json index 0b2cd10c1..a8fab9ea6 100644 --- a/packages/create-cosmos-app/package.json +++ b/packages/create-cosmos-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmos-app", - "version": "0.8.1", + "version": "0.9.0", "description": "Set up a modern Cosmos app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", diff --git a/packages/create-cosmwasm-app/CHANGELOG.md b/packages/create-cosmwasm-app/CHANGELOG.md index a900a656d..d34f8763d 100644 --- a/packages/create-cosmwasm-app/CHANGELOG.md +++ b/packages/create-cosmwasm-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.4.1...create-cosmwasm-app@1.5.0) (2022-11-01) + +**Note:** Version bump only for package create-cosmwasm-app + + + + + ## [1.4.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-cosmwasm-app@1.4.0...create-cosmwasm-app@1.4.1) (2022-11-01) **Note:** Version bump only for package create-cosmwasm-app diff --git a/packages/create-cosmwasm-app/package.json b/packages/create-cosmwasm-app/package.json index 7febefcd8..407ffa991 100644 --- a/packages/create-cosmwasm-app/package.json +++ b/packages/create-cosmwasm-app/package.json @@ -1,6 +1,6 @@ { "name": "create-cosmwasm-app", - "version": "1.4.1", + "version": "1.5.0", "description": "Set up a modern CosmWasm app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.1", + "create-cosmos-app": "^0.9.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-juno-app/CHANGELOG.md b/packages/create-juno-app/CHANGELOG.md index 6523a8ef5..5de836571 100644 --- a/packages/create-juno-app/CHANGELOG.md +++ b/packages/create-juno-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.10.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.9.1...create-juno-app@0.10.0) (2022-11-01) + +**Note:** Version bump only for package create-juno-app + + + + + ## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-juno-app@0.9.0...create-juno-app@0.9.1) (2022-11-01) **Note:** Version bump only for package create-juno-app diff --git a/packages/create-juno-app/package.json b/packages/create-juno-app/package.json index 372503fec..d90791068 100644 --- a/packages/create-juno-app/package.json +++ b/packages/create-juno-app/package.json @@ -1,6 +1,6 @@ { "name": "create-juno-app", - "version": "0.9.1", + "version": "0.10.0", "description": "Set up a modern Juno app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.1", + "create-cosmos-app": "^0.9.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-osmosis-app/CHANGELOG.md b/packages/create-osmosis-app/CHANGELOG.md index 80032a31e..89d9ac6a1 100644 --- a/packages/create-osmosis-app/CHANGELOG.md +++ b/packages/create-osmosis-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.10.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.9.1...create-osmosis-app@0.10.0) (2022-11-01) + +**Note:** Version bump only for package create-osmosis-app + + + + + ## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-osmosis-app@0.9.0...create-osmosis-app@0.9.1) (2022-11-01) **Note:** Version bump only for package create-osmosis-app diff --git a/packages/create-osmosis-app/package.json b/packages/create-osmosis-app/package.json index 6de9c7af2..6d5ca25a7 100644 --- a/packages/create-osmosis-app/package.json +++ b/packages/create-osmosis-app/package.json @@ -1,6 +1,6 @@ { "name": "create-osmosis-app", - "version": "0.9.1", + "version": "0.10.0", "description": "Set up a modern Osmosis app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.1", + "create-cosmos-app": "^0.9.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", diff --git a/packages/create-stargaze-app/CHANGELOG.md b/packages/create-stargaze-app/CHANGELOG.md index 831c27117..915016421 100644 --- a/packages/create-stargaze-app/CHANGELOG.md +++ b/packages/create-stargaze-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.10.0](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.9.1...create-stargaze-app@0.10.0) (2022-11-01) + +**Note:** Version bump only for package create-stargaze-app + + + + + ## [0.9.1](https://github.com/cosmology-tech/create-cosmos-app/compare/create-stargaze-app@0.9.0...create-stargaze-app@0.9.1) (2022-11-01) **Note:** Version bump only for package create-stargaze-app diff --git a/packages/create-stargaze-app/package.json b/packages/create-stargaze-app/package.json index dc4bb08b0..c2fb876d4 100644 --- a/packages/create-stargaze-app/package.json +++ b/packages/create-stargaze-app/package.json @@ -1,6 +1,6 @@ { "name": "create-stargaze-app", - "version": "0.9.1", + "version": "0.10.0", "description": "Set up a modern Stargaze app by running one command ⚛️", "author": "Dan Lynch ", "homepage": "https://github.com/cosmology-tech/create-cosmos-app#readme", @@ -80,7 +80,7 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "create-cosmos-app": "^0.8.1", + "create-cosmos-app": "^0.9.0", "dargs": "7.0.0", "fuzzy": "0.1.3", "inquirerer": "0.1.3", From f930640c7f1f9ee60df783d71914fe5589649883 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 18:34:22 -0700 Subject: [PATCH 206/262] add locks:remove to workspace --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index cfb46a35b..4d437be7a 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "format": "lerna run format", "test": "lerna run test --stream", "locks": "lerna run locks --stream", + "locks:remove": "lerna run locks:remove --stream", "update": "yarn upgrade-interactive --latest" }, "devDependencies": { From eb44ac07eedb5db43c0e888fbc70b621703a6421 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 1 Nov 2022 18:39:20 -0700 Subject: [PATCH 207/262] readme --- README.md | 18 ++++++++++++++++++ packages/create-cosmos-app/README.md | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/README.md b/README.md index f2d617303..75282bde1 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,24 @@ cca --name mywasmapp --example --template cosmwasm cca --name cca-tailwind --example --template tailwindcss ``` +## Development + +Because the nature of how template boilerplates are generated, we generate `yarn.lock` files inside of nested packages so we can fix versions to avoid non-deterministic installations. + +When adding packages, yarn workspaces will use the root `yarn.lock`. It could be ideal to remove it while adding packages, and when publishing or pushing new changes, generating the nested lock files. + +In the root, to remove all nested lock files: + +``` +yarn locks:remove +``` + +When you need to remove/generate locks for all nested packages, simply run `yarn locks` in the root: + +``` +yarn locks +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) diff --git a/packages/create-cosmos-app/README.md b/packages/create-cosmos-app/README.md index f2d617303..75282bde1 100644 --- a/packages/create-cosmos-app/README.md +++ b/packages/create-cosmos-app/README.md @@ -165,6 +165,24 @@ cca --name mywasmapp --example --template cosmwasm cca --name cca-tailwind --example --template tailwindcss ``` +## Development + +Because the nature of how template boilerplates are generated, we generate `yarn.lock` files inside of nested packages so we can fix versions to avoid non-deterministic installations. + +When adding packages, yarn workspaces will use the root `yarn.lock`. It could be ideal to remove it while adding packages, and when publishing or pushing new changes, generating the nested lock files. + +In the root, to remove all nested lock files: + +``` +yarn locks:remove +``` + +When you need to remove/generate locks for all nested packages, simply run `yarn locks` in the root: + +``` +yarn locks +``` + ## Credits 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) From a42ecf303c3bdc3861b016f6228e3d0d873fac19 Mon Sep 17 00:00:00 2001 From: liujun93 Date: Fri, 4 Nov 2022 16:58:38 +0800 Subject: [PATCH 208/262] upgrade --- examples/contracts/config/defaults.ts | 4 +- examples/contracts/package.json | 2 +- examples/contracts/pages/index.tsx | 4 +- examples/contracts/yarn.lock | 12 +- .../cosmwasm/hooks/use-hack-cw20-balance.ts | 6 +- examples/cosmwasm/package.json | 6 +- examples/cosmwasm/yarn.lock | 536 ++- examples/juno/package.json | 6 +- examples/juno/pages/index.tsx | 8 +- examples/juno/yarn.lock | 3103 +++++++++++++++- .../hooks/use-hack-cw20-balance.ts | 6 +- examples/osmosis-cosmwasm/package.json | 6 +- examples/osmosis-cosmwasm/yarn.lock | 3110 +++++++++++++++- examples/osmosis/config/defaults.ts | 4 +- examples/osmosis/package.json | 6 +- examples/osmosis/pages/index.tsx | 8 +- examples/osmosis/yarn.lock | 3110 +++++++++++++++- examples/send-tokens/config/defaults.ts | 4 +- examples/send-tokens/package.json | 6 +- examples/send-tokens/pages/index.tsx | 8 +- examples/send-tokens/yarn.lock | 536 ++- examples/stargaze/config/defaults.ts | 4 +- examples/stargaze/package.json | 6 +- examples/stargaze/pages/index.tsx | 8 +- examples/stargaze/yarn.lock | 2827 ++++++++++++++- examples/tailwindcss/package.json | 6 +- examples/tailwindcss/yarn.lock | 3058 +++++++++++++++- examples/telescope/config/defaults.ts | 4 +- examples/telescope/package.json | 2 +- examples/telescope/pages/index.tsx | 4 +- examples/telescope/yarn.lock | 12 +- templates/connect-chain/package.json | 6 +- templates/connect-chain/yarn.lock | 3121 ++++++++++++++++- .../connect-multi-chain/components/wallet.tsx | 6 +- templates/connect-multi-chain/package.json | 6 +- templates/connect-multi-chain/yarn.lock | 3116 +++++++++++++++- yarn.lock | 359 +- 37 files changed, 22491 insertions(+), 545 deletions(-) diff --git a/examples/contracts/config/defaults.ts b/examples/contracts/config/defaults.ts index 3baf1fb5d..c656151ef 100644 --- a/examples/contracts/config/defaults.ts +++ b/examples/contracts/config/defaults.ts @@ -13,12 +13,12 @@ export const baseAsset: Asset = chainassets.assets.find( ) as Asset; export const sendTokens = ( - getStargateClient: () => Promise, + getSigningStargateClient: () => Promise, setResp: () => any, address: string ) => { return async () => { - const stargateClient = await getStargateClient(); + const stargateClient = await getSigningStargateClient(); if (!stargateClient || !address) { console.error('stargateClient undefined or address undefined.'); return; diff --git a/examples/contracts/package.json b/examples/contracts/package.json index ba5dee8bc..390e3684c 100644 --- a/examples/contracts/package.json +++ b/examples/contracts/package.json @@ -19,7 +19,7 @@ "@chakra-ui/react": "^2.3.6", "@cosmjs/cosmwasm-stargate": "0.29.3", "@cosmjs/stargate": "0.29.3", - "@cosmos-kit/react": "0.19.0", + "@cosmos-kit/react": "0.19.1", "@cosmos-kit/types": "^0.11.0", "@emotion/react": "11.10.5", "@emotion/styled": "11.10.5", diff --git a/examples/contracts/pages/index.tsx b/examples/contracts/pages/index.tsx index 360403530..9b0696b9a 100644 --- a/examples/contracts/pages/index.tsx +++ b/examples/contracts/pages/index.tsx @@ -11,7 +11,7 @@ import { baseAsset, chainassets, chainName, sendTokens } from '../config'; export default function Home() { const { - getStargateClient, + getSigningStargateClient, address, currentWallet, walletStatus @@ -71,7 +71,7 @@ export default function Home() { + + {response && ( + + Result + +
{response}
+
+
+ )} +
+ ); +}; diff --git a/examples/telescope/config/defaults.ts b/examples/telescope/config/defaults.ts index 5070b5d9a..0291327b7 100644 --- a/examples/telescope/config/defaults.ts +++ b/examples/telescope/config/defaults.ts @@ -1,54 +1,12 @@ -import { Asset, AssetList } from "@chain-registry/types"; -import { SigningStargateClient } from "@cosmjs/stargate"; -import { cosmos } from "../codegen"; -import { StdFee } from '@cosmjs/amino'; import { assets } from 'chain-registry'; +import { AssetList, Asset } from '@chain-registry/types'; -export const chainName = 'osmosis'; +export const chainName = 'cosmoshub'; export const chainassets: AssetList = assets.find( (chain) => chain.chain_name === chainName ) as AssetList; -export const baseAsset: Asset = chainassets.assets.find( - (asset) => asset.base === 'uosmo' -) as Asset; - -export const sendTokens = ( - getSigningStargateClient: () => Promise, - setResp: (resp: string) => any, - address: string -) => { - return async () => { - const stargateClient = await getSigningStargateClient(); - if (!stargateClient || !address) { - console.error('stargateClient undefined or address undefined.'); - return; - } - - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - - const msg = send({ - amount: [ - { - denom: baseAsset.base, - amount: '1000' - } - ], - toAddress: address, - fromAddress: address - }); - - const fee: StdFee = { - amount: [ - { - denom: baseAsset.base, - amount: '0' - } - ], - gas: '86364' - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; \ No newline at end of file +export const coin: Asset = chainassets.assets.find( + (asset) => asset.base === 'uatom' +) as Asset; \ No newline at end of file diff --git a/examples/telescope/package.json b/examples/telescope/package.json index cd14613fe..f25c65e44 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -50,4 +50,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.8.4" } -} +} \ No newline at end of file diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index 067706ccd..376ef93d8 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -1,93 +1,247 @@ -import { Container, Button } from '@chakra-ui/react'; -import { useWallet } from '@cosmos-kit/react'; -import { useState } from 'react'; -import { SigningStargateClient } from '@cosmjs/stargate'; -import { WalletStatus } from '@cosmos-kit/core'; -import BigNumber from 'bignumber.js'; - -import { WalletSection } from '../components'; +import { useState } from "react"; +import Head from "next/head"; +import { useWallet } from "@cosmos-kit/react"; +import { StdFee } from "@cosmjs/amino"; +import { SigningStargateClient } from "@cosmjs/stargate"; +import BigNumber from "bignumber.js"; + +import { + Box, + Divider, + Grid, + Heading, + Text, + Stack, + Container, + Link, + Button, + Flex, + Icon, + useColorMode, + Center, +} from "@chakra-ui/react"; +import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; +import { + chainassets, + chainName, + coin, + dependencies, + products, +} from "../config"; + +import { WalletStatus } from "@cosmos-kit/core"; +import { + Product, + Dependency, + WalletSection, + handleChangeColorModeValue, +} from "../components"; +import { SendTokensCard } from "../components/react/send-tokens-card"; + import { cosmos } from '../codegen'; -import { chainName, chainassets, baseAsset, sendTokens } from '../config'; +const library = { + title: 'Telescope', + text: 'telescope', + href: 'https://github.com/osmosis-labs/telescope' +}; + +const sendTokens = ( + getSigningStargateClient: () => Promise, + setResp: (resp: string) => any, + address: string +) => { + return async () => { + const stargateClient = await getSigningStargateClient(); + if (!stargateClient || !address) { + console.error("stargateClient undefined or address undefined."); + return; + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: "1000", + }, + ], + toAddress: address, + fromAddress: address, + }); + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: "2000", + }, + ], + gas: "86364", + }; + const response = await stargateClient.signAndBroadcast(address, [msg], fee); + setResp(JSON.stringify(response, null, 2)); + }; +}; export default function Home() { - const { - getSigningStargateClient, - address, - currentWallet, - walletStatus - } = useWallet(); + const { colorMode, toggleColorMode } = useColorMode(); + + const { getSigningStargateClient, address, walletStatus, getRpcEndpoint } = + useWallet(); const [balance, setBalance] = useState(new BigNumber(0)); - const [resp, setResp] = useState(''); + const [isFetchingBalance, setFetchingBalance] = useState(false); + const [resp, setResp] = useState(""); const getBalance = async () => { if (!address) { setBalance(new BigNumber(0)); + setFetchingBalance(false); return; } - let restEndpoint = await currentWallet?.getRestEndpoint(); + let rpcEndpoint = await getRpcEndpoint(); - if (!restEndpoint) { - console.log('no rest endpoint — using a fallback'); - restEndpoint = `https://rest.cosmos.directory/${chainName}`; + if (!rpcEndpoint) { + console.log("no rpc endpoint — using a fallback"); + rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } - // get LCD client - const client = await cosmos.ClientFactory.createLCDClient({ - restEndpoint + // get RPC client + const client = await cosmos.ClientFactory.createRPCQueryClient({ + rpcEndpoint, }); // fetch balance const balance = await client.cosmos.bank.v1beta1.balance({ address, - denom: chainassets?.assets[0].base as string + denom: chainassets?.assets[0].base as string, }); // Get the display exponent // we can get the exponent from chain registry asset denom_units - const exp = baseAsset.denom_units.find( - (unit) => unit.denom === baseAsset.display - )?.exponent as number; + const exp = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number; // show balance in display values by exponentiating it const a = new BigNumber(balance.balance.amount); const amount = a.multipliedBy(10 ** -exp); setBalance(amount); + setFetchingBalance(false); }; return ( - - - {walletStatus === WalletStatus.Disconnected && ( - <>please connect your wallet! - )} - - {walletStatus === WalletStatus.Connected && ( - <> - Balance: {balance.toNumber()} - - - - + + + + Create Cosmos App + + + Welcome to  + - Send Tokens (to self) - - - )} - - {!!resp && ( - <> - Response: -
{resp}
- - )} + CosmosKit + Next.js +  + + {library.title} + +
+
+
+ + + +
+ Promise, + setResp as () => any, + address as string + )} + handleClickGetBalance={() => { + setFetchingBalance(true); + getBalance(); + }} + /> +
+ + + + + + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency) => ( + + ))} + + + + + + + Built with + + Cosmology + +
); } From b39f279992a55aeddc5e0e0153b703583876a49b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 14:52:12 -0800 Subject: [PATCH 241/262] remove old codegen --- examples/telescope/codegen/confio/proofs.ts | 1522 ------ .../codegen/cosmos/app/v1alpha1/config.ts | 176 - .../codegen/cosmos/app/v1alpha1/module.ts | 342 -- .../cosmos/app/v1alpha1/query.rpc.query.ts | 35 - .../codegen/cosmos/app/v1alpha1/query.ts | 99 - .../codegen/cosmos/auth/v1beta1/auth.ts | 284 -- .../codegen/cosmos/auth/v1beta1/genesis.ts | 76 - .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 83 - .../cosmos/auth/v1beta1/query.rpc.query.ts | 125 - .../codegen/cosmos/auth/v1beta1/query.ts | 771 --- .../codegen/cosmos/authz/v1beta1/authz.ts | 306 -- .../codegen/cosmos/authz/v1beta1/event.ts | 179 - .../codegen/cosmos/authz/v1beta1/genesis.ts | 57 - .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 79 - .../cosmos/authz/v1beta1/query.rpc.query.ts | 71 - .../codegen/cosmos/authz/v1beta1/query.ts | 463 -- .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 128 - .../cosmos/authz/v1beta1/tx.registry.ts | 79 - .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 56 - .../codegen/cosmos/authz/v1beta1/tx.ts | 395 -- .../codegen/cosmos/bank/v1beta1/authz.ts | 67 - .../codegen/cosmos/bank/v1beta1/bank.ts | 665 --- .../codegen/cosmos/bank/v1beta1/genesis.ts | 193 - .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 150 - .../cosmos/bank/v1beta1/query.rpc.query.ts | 160 - .../codegen/cosmos/bank/v1beta1/query.ts | 1300 ----- .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 110 - .../cosmos/bank/v1beta1/tx.registry.ts | 58 - .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 34 - .../codegen/cosmos/bank/v1beta1/tx.ts | 229 - .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1106 ----- .../codegen/cosmos/base/kv/v1beta1/kv.ts | 123 - .../cosmos/base/query/v1beta1/pagination.ts | 282 -- .../base/reflection/v1beta1/reflection.ts | 222 - .../base/reflection/v2alpha1/reflection.ts | 1707 ------- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 675 --- .../cosmos/base/store/v1beta1/commit_info.ts | 221 - .../cosmos/base/store/v1beta1/listening.ts | 110 - .../base/tendermint/v1beta1/query.lcd.ts | 81 - .../base/tendermint/v1beta1/query.rpc.svc.ts | 107 - .../cosmos/base/tendermint/v1beta1/query.ts | 1055 ---- .../codegen/cosmos/base/v1beta1/coin.ts | 265 - examples/telescope/codegen/cosmos/bundle.ts | 455 -- .../cosmos/capability/v1beta1/capability.ts | 197 - .../cosmos/capability/v1beta1/genesis.ts | 155 - examples/telescope/codegen/cosmos/client.ts | 75 - .../codegen/cosmos/crisis/v1beta1/genesis.ts | 65 - .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 37 - .../cosmos/crisis/v1beta1/tx.registry.ts | 37 - .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 24 - .../codegen/cosmos/crisis/v1beta1/tx.ts | 120 - .../codegen/cosmos/crypto/ed25519/keys.ts | 129 - .../codegen/cosmos/crypto/hd/v1/hd.ts | 128 - .../cosmos/crypto/keyring/v1/record.ts | 348 -- .../codegen/cosmos/crypto/multisig/keys.ts | 77 - .../crypto/multisig/v1beta1/multisig.ts | 141 - .../codegen/cosmos/crypto/secp256k1/keys.ts | 123 - .../codegen/cosmos/crypto/secp256r1/keys.ts | 121 - .../distribution/v1beta1/distribution.ts | 945 ---- .../cosmos/distribution/v1beta1/genesis.ts | 800 --- .../cosmos/distribution/v1beta1/query.lcd.ts | 104 - .../distribution/v1beta1/query.rpc.query.ts | 150 - .../cosmos/distribution/v1beta1/query.ts | 1187 ----- .../cosmos/distribution/v1beta1/tx.amino.ts | 120 - .../distribution/v1beta1/tx.registry.ts | 100 - .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 66 - .../codegen/cosmos/distribution/v1beta1/tx.ts | 472 -- .../cosmos/evidence/v1beta1/evidence.ts | 100 - .../cosmos/evidence/v1beta1/genesis.ts | 59 - .../cosmos/evidence/v1beta1/query.lcd.ts | 41 - .../evidence/v1beta1/query.rpc.query.ts | 51 - .../codegen/cosmos/evidence/v1beta1/query.ts | 259 - .../cosmos/evidence/v1beta1/tx.amino.ts | 41 - .../cosmos/evidence/v1beta1/tx.registry.ts | 37 - .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 27 - .../codegen/cosmos/evidence/v1beta1/tx.ts | 132 - .../cosmos/feegrant/v1beta1/feegrant.ts | 402 -- .../cosmos/feegrant/v1beta1/genesis.ts | 57 - .../cosmos/feegrant/v1beta1/query.lcd.ts | 56 - .../feegrant/v1beta1/query.rpc.query.ts | 66 - .../codegen/cosmos/feegrant/v1beta1/query.ts | 421 -- .../cosmos/feegrant/v1beta1/tx.amino.ts | 74 - .../cosmos/feegrant/v1beta1/tx.registry.ts | 58 - .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 40 - .../codegen/cosmos/feegrant/v1beta1/tx.ts | 250 - .../codegen/cosmos/genutil/v1beta1/genesis.ts | 58 - .../codegen/cosmos/gov/v1/genesis.ts | 156 - .../telescope/codegen/cosmos/gov/v1/gov.ts | 985 ---- .../codegen/cosmos/gov/v1/query.lcd.ts | 115 - .../codegen/cosmos/gov/v1/query.rpc.query.ts | 133 - .../telescope/codegen/cosmos/gov/v1/query.ts | 1114 ----- .../codegen/cosmos/gov/v1/tx.amino.ts | 226 - .../codegen/cosmos/gov/v1/tx.registry.ts | 121 - .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 67 - .../telescope/codegen/cosmos/gov/v1/tx.ts | 661 --- .../codegen/cosmos/gov/v1beta1/genesis.ts | 156 - .../codegen/cosmos/gov/v1beta1/gov.ts | 1066 ---- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 115 - .../cosmos/gov/v1beta1/query.rpc.query.ts | 133 - .../codegen/cosmos/gov/v1beta1/query.ts | 1114 ----- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 174 - .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 100 - .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 58 - .../codegen/cosmos/gov/v1beta1/tx.ts | 518 -- .../codegen/cosmos/group/v1/events.ts | 548 --- .../codegen/cosmos/group/v1/genesis.ts | 190 - .../codegen/cosmos/group/v1/query.lcd.ts | 183 - .../cosmos/group/v1/query.rpc.query.ts | 203 - .../codegen/cosmos/group/v1/query.ts | 1758 ------- .../codegen/cosmos/group/v1/tx.amino.ts | 583 --- .../codegen/cosmos/group/v1/tx.registry.ts | 310 -- .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 154 - .../telescope/codegen/cosmos/group/v1/tx.ts | 2065 -------- .../codegen/cosmos/group/v1/types.ts | 1658 ------- examples/telescope/codegen/cosmos/lcd.ts | 99 - .../codegen/cosmos/mint/v1beta1/genesis.ts | 75 - .../codegen/cosmos/mint/v1beta1/mint.ts | 212 - .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 38 - .../cosmos/mint/v1beta1/query.rpc.query.ts | 63 - .../codegen/cosmos/mint/v1beta1/query.ts | 311 -- .../telescope/codegen/cosmos/msg/v1/msg.ts | 1 - .../codegen/cosmos/nft/v1beta1/event.ts | 250 - .../codegen/cosmos/nft/v1beta1/genesis.ts | 144 - .../codegen/cosmos/nft/v1beta1/nft.ts | 276 -- .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 98 - .../cosmos/nft/v1beta1/query.rpc.query.ts | 124 - .../codegen/cosmos/nft/v1beta1/query.ts | 860 ---- .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 42 - .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 37 - .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 24 - .../codegen/cosmos/nft/v1beta1/tx.ts | 146 - .../telescope/codegen/cosmos/orm/v1/orm.ts | 423 -- .../codegen/cosmos/orm/v1alpha1/schema.ts | 335 -- .../codegen/cosmos/params/v1beta1/params.ts | 165 - .../cosmos/params/v1beta1/query.lcd.ts | 43 - .../cosmos/params/v1beta1/query.rpc.query.ts | 52 - .../codegen/cosmos/params/v1beta1/query.ts | 312 -- .../telescope/codegen/cosmos/rpc.query.ts | 68 - examples/telescope/codegen/cosmos/rpc.tx.ts | 49 - .../cosmos/slashing/v1beta1/genesis.ts | 329 -- .../cosmos/slashing/v1beta1/query.lcd.ts | 49 - .../slashing/v1beta1/query.rpc.query.ts | 65 - .../codegen/cosmos/slashing/v1beta1/query.ts | 360 -- .../cosmos/slashing/v1beta1/slashing.ts | 268 - .../cosmos/slashing/v1beta1/tx.amino.ts | 27 - .../cosmos/slashing/v1beta1/tx.registry.ts | 37 - .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 28 - .../codegen/cosmos/slashing/v1beta1/tx.ts | 96 - .../codegen/cosmos/staking/v1beta1/authz.ts | 265 - .../codegen/cosmos/staking/v1beta1/genesis.ts | 253 - .../cosmos/staking/v1beta1/query.lcd.ts | 199 - .../cosmos/staking/v1beta1/query.rpc.query.ts | 229 - .../codegen/cosmos/staking/v1beta1/query.ts | 1970 -------- .../codegen/cosmos/staking/v1beta1/staking.ts | 1958 -------- .../cosmos/staking/v1beta1/tx.amino.ts | 294 -- .../cosmos/staking/v1beta1/tx.registry.ts | 121 - .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 73 - .../codegen/cosmos/staking/v1beta1/tx.ts | 735 --- .../cosmos/tx/signing/v1beta1/signing.ts | 529 -- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 65 - .../cosmos/tx/v1beta1/service.rpc.svc.ts | 95 - .../codegen/cosmos/tx/v1beta1/service.ts | 986 ---- .../telescope/codegen/cosmos/tx/v1beta1/tx.ts | 1497 ------ .../cosmos/upgrade/v1beta1/query.lcd.ts | 69 - .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 102 - .../codegen/cosmos/upgrade/v1beta1/query.ts | 631 --- .../cosmos/upgrade/v1beta1/tx.amino.ts | 86 - .../cosmos/upgrade/v1beta1/tx.registry.ts | 58 - .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 43 - .../codegen/cosmos/upgrade/v1beta1/tx.ts | 244 - .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 432 -- .../cosmos/vesting/v1beta1/tx.amino.ts | 155 - .../cosmos/vesting/v1beta1/tx.registry.ts | 79 - .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 53 - .../codegen/cosmos/vesting/v1beta1/tx.ts | 421 -- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 468 -- .../telescope/codegen/cosmos_proto/bundle.ts | 3 - .../telescope/codegen/cosmos_proto/cosmos.ts | 289 -- examples/telescope/codegen/cosmwasm/bundle.ts | 34 - examples/telescope/codegen/cosmwasm/client.ts | 44 - examples/telescope/codegen/cosmwasm/lcd.ts | 106 - .../telescope/codegen/cosmwasm/rpc.query.ts | 73 - examples/telescope/codegen/cosmwasm/rpc.tx.ts | 54 - .../codegen/cosmwasm/wasm/v1/genesis.ts | 433 -- .../telescope/codegen/cosmwasm/wasm/v1/ibc.ts | 180 - .../codegen/cosmwasm/wasm/v1/proposal.ts | 1083 ----- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 131 - .../cosmwasm/wasm/v1/query.rpc.query.ts | 151 - .../codegen/cosmwasm/wasm/v1/query.ts | 1378 ------ .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 252 - .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 142 - .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 74 - .../telescope/codegen/cosmwasm/wasm/v1/tx.ts | 944 ---- .../codegen/cosmwasm/wasm/v1/types.ts | 863 ---- .../telescope/codegen/gogoproto/bundle.ts | 3 - examples/telescope/codegen/gogoproto/gogo.ts | 1 - .../codegen/google/api/annotations.ts | 1 - examples/telescope/codegen/google/api/http.ts | 978 ---- examples/telescope/codegen/google/bundle.ts | 18 - .../telescope/codegen/google/protobuf/any.ts | 290 -- .../codegen/google/protobuf/descriptor.ts | 4324 ----------------- .../codegen/google/protobuf/duration.ts | 215 - .../codegen/google/protobuf/empty.ts | 61 - .../codegen/google/protobuf/timestamp.ts | 259 - examples/telescope/codegen/helpers.ts | 240 - .../ibc/applications/transfer/v1/genesis.ts | 81 - .../ibc/applications/transfer/v1/query.lcd.ts | 49 - .../transfer/v1/query.rpc.query.ts | 65 - .../ibc/applications/transfer/v1/query.ts | 368 -- .../ibc/applications/transfer/v1/transfer.ts | 181 - .../ibc/applications/transfer/v1/tx.amino.ts | 73 - .../applications/transfer/v1/tx.registry.ts | 37 - .../applications/transfer/v1/tx.rpc.msg.ts | 24 - .../ibc/applications/transfer/v1/tx.ts | 217 - .../ibc/applications/transfer/v2/packet.ts | 114 - examples/telescope/codegen/ibc/bundle.ts | 137 - examples/telescope/codegen/ibc/client.ts | 53 - .../codegen/ibc/core/channel/v1/channel.ts | 925 ---- .../codegen/ibc/core/channel/v1/genesis.ts | 231 - .../codegen/ibc/core/channel/v1/query.lcd.ts | 165 - .../ibc/core/channel/v1/query.rpc.query.ts | 229 - .../codegen/ibc/core/channel/v1/query.ts | 2444 ---------- .../codegen/ibc/core/channel/v1/tx.amino.ts | 670 --- .../ibc/core/channel/v1/tx.registry.ts | 226 - .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 117 - .../codegen/ibc/core/channel/v1/tx.ts | 1492 ------ .../codegen/ibc/core/client/v1/client.ts | 629 --- .../codegen/ibc/core/client/v1/genesis.ts | 288 -- .../codegen/ibc/core/client/v1/query.lcd.ts | 107 - .../ibc/core/client/v1/query.rpc.query.ts | 141 - .../codegen/ibc/core/client/v1/query.ts | 1130 ----- .../codegen/ibc/core/client/v1/tx.amino.ts | 205 - .../codegen/ibc/core/client/v1/tx.registry.ts | 100 - .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 54 - .../codegen/ibc/core/client/v1/tx.ts | 602 --- .../ibc/core/commitment/v1/commitment.ts | 256 - .../ibc/core/connection/v1/connection.ts | 759 --- .../codegen/ibc/core/connection/v1/genesis.ts | 98 - .../ibc/core/connection/v1/query.lcd.ts | 68 - .../ibc/core/connection/v1/query.rpc.query.ts | 102 - .../codegen/ibc/core/connection/v1/query.ts | 836 ---- .../ibc/core/connection/v1/tx.amino.ts | 343 -- .../ibc/core/connection/v1/tx.registry.ts | 100 - .../ibc/core/connection/v1/tx.rpc.msg.ts | 57 - .../codegen/ibc/core/connection/v1/tx.ts | 795 --- .../ibc/core/port/v1/query.rpc.query.ts | 35 - .../codegen/ibc/core/port/v1/query.ts | 196 - .../codegen/ibc/core/types/v1/genesis.ts | 97 - examples/telescope/codegen/ibc/lcd.ts | 125 - .../lightclients/localhost/v1/localhost.ts | 81 - .../solomachine/v1/solomachine.ts | 1500 ------ .../solomachine/v2/solomachine.ts | 1500 ------ .../lightclients/tendermint/v1/tendermint.ts | 626 --- examples/telescope/codegen/ibc/rpc.query.ts | 89 - examples/telescope/codegen/ibc/rpc.tx.ts | 67 - examples/telescope/codegen/ics23/bundle.ts | 3 - examples/telescope/codegen/index.ts | 17 - .../codegen/tendermint/abci/types.ts | 3947 --------------- .../telescope/codegen/tendermint/bundle.ts | 32 - .../codegen/tendermint/crypto/keys.ts | 68 - .../codegen/tendermint/crypto/proof.ts | 375 -- .../codegen/tendermint/libs/bits/types.ts | 77 - .../telescope/codegen/tendermint/p2p/types.ts | 438 -- .../codegen/tendermint/types/block.ts | 90 - .../codegen/tendermint/types/evidence.ts | 325 -- .../codegen/tendermint/types/params.ts | 521 -- .../codegen/tendermint/types/types.ts | 1401 ------ .../codegen/tendermint/types/validator.ts | 228 - .../codegen/tendermint/version/types.ts | 152 - 269 files changed, 94113 deletions(-) delete mode 100644 examples/telescope/codegen/confio/proofs.ts delete mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/config.ts delete mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/module.ts delete mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts delete mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/event.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts delete mode 100644 examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts delete mode 100644 examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts delete mode 100644 examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts delete mode 100644 examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts delete mode 100644 examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts delete mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts delete mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts delete mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts delete mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/base/v1beta1/coin.ts delete mode 100644 examples/telescope/codegen/cosmos/bundle.ts delete mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts delete mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/client.ts delete mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/keys.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts delete mode 100644 examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/gov.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/events.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/group/v1/types.ts delete mode 100644 examples/telescope/codegen/cosmos/lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts delete mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/msg/v1/msg.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/event.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/orm/v1/orm.ts delete mode 100644 examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts delete mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/params.ts delete mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/rpc.tx.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts delete mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts delete mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.ts delete mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts delete mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts delete mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts delete mode 100644 examples/telescope/codegen/cosmos_proto/bundle.ts delete mode 100644 examples/telescope/codegen/cosmos_proto/cosmos.ts delete mode 100644 examples/telescope/codegen/cosmwasm/bundle.ts delete mode 100644 examples/telescope/codegen/cosmwasm/client.ts delete mode 100644 examples/telescope/codegen/cosmwasm/lcd.ts delete mode 100644 examples/telescope/codegen/cosmwasm/rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmwasm/rpc.tx.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts delete mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/types.ts delete mode 100644 examples/telescope/codegen/gogoproto/bundle.ts delete mode 100644 examples/telescope/codegen/gogoproto/gogo.ts delete mode 100644 examples/telescope/codegen/google/api/annotations.ts delete mode 100644 examples/telescope/codegen/google/api/http.ts delete mode 100644 examples/telescope/codegen/google/bundle.ts delete mode 100644 examples/telescope/codegen/google/protobuf/any.ts delete mode 100644 examples/telescope/codegen/google/protobuf/descriptor.ts delete mode 100644 examples/telescope/codegen/google/protobuf/duration.ts delete mode 100644 examples/telescope/codegen/google/protobuf/empty.ts delete mode 100644 examples/telescope/codegen/google/protobuf/timestamp.ts delete mode 100644 examples/telescope/codegen/helpers.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts delete mode 100644 examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts delete mode 100644 examples/telescope/codegen/ibc/bundle.ts delete mode 100644 examples/telescope/codegen/ibc/client.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/channel.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/genesis.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/client.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/genesis.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.ts delete mode 100644 examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/connection.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/genesis.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts delete mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.ts delete mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.ts delete mode 100644 examples/telescope/codegen/ibc/core/types/v1/genesis.ts delete mode 100644 examples/telescope/codegen/ibc/lcd.ts delete mode 100644 examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts delete mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts delete mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts delete mode 100644 examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts delete mode 100644 examples/telescope/codegen/ibc/rpc.query.ts delete mode 100644 examples/telescope/codegen/ibc/rpc.tx.ts delete mode 100644 examples/telescope/codegen/ics23/bundle.ts delete mode 100644 examples/telescope/codegen/index.ts delete mode 100644 examples/telescope/codegen/tendermint/abci/types.ts delete mode 100644 examples/telescope/codegen/tendermint/bundle.ts delete mode 100644 examples/telescope/codegen/tendermint/crypto/keys.ts delete mode 100644 examples/telescope/codegen/tendermint/crypto/proof.ts delete mode 100644 examples/telescope/codegen/tendermint/libs/bits/types.ts delete mode 100644 examples/telescope/codegen/tendermint/p2p/types.ts delete mode 100644 examples/telescope/codegen/tendermint/types/block.ts delete mode 100644 examples/telescope/codegen/tendermint/types/evidence.ts delete mode 100644 examples/telescope/codegen/tendermint/types/params.ts delete mode 100644 examples/telescope/codegen/tendermint/types/types.ts delete mode 100644 examples/telescope/codegen/tendermint/types/validator.ts delete mode 100644 examples/telescope/codegen/tendermint/version/types.ts diff --git a/examples/telescope/codegen/confio/proofs.ts b/examples/telescope/codegen/confio/proofs.ts deleted file mode 100644 index 354db9699..000000000 --- a/examples/telescope/codegen/confio/proofs.ts +++ /dev/null @@ -1,1522 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -export enum HashOp { - /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ - NO_HASH = 0, - SHA256 = 1, - SHA512 = 2, - KECCAK = 3, - RIPEMD160 = 4, - - /** BITCOIN - ripemd160(sha256(x)) */ - BITCOIN = 5, - UNRECOGNIZED = -1, -} -export enum HashOpSDKType { - /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ - NO_HASH = 0, - SHA256 = 1, - SHA512 = 2, - KECCAK = 3, - RIPEMD160 = 4, - - /** BITCOIN - ripemd160(sha256(x)) */ - BITCOIN = 5, - UNRECOGNIZED = -1, -} -export function hashOpFromJSON(object: any): HashOp { - switch (object) { - case 0: - case "NO_HASH": - return HashOp.NO_HASH; - - case 1: - case "SHA256": - return HashOp.SHA256; - - case 2: - case "SHA512": - return HashOp.SHA512; - - case 3: - case "KECCAK": - return HashOp.KECCAK; - - case 4: - case "RIPEMD160": - return HashOp.RIPEMD160; - - case 5: - case "BITCOIN": - return HashOp.BITCOIN; - - case -1: - case "UNRECOGNIZED": - default: - return HashOp.UNRECOGNIZED; - } -} -export function hashOpToJSON(object: HashOp): string { - switch (object) { - case HashOp.NO_HASH: - return "NO_HASH"; - - case HashOp.SHA256: - return "SHA256"; - - case HashOp.SHA512: - return "SHA512"; - - case HashOp.KECCAK: - return "KECCAK"; - - case HashOp.RIPEMD160: - return "RIPEMD160"; - - case HashOp.BITCOIN: - return "BITCOIN"; - - case HashOp.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * LengthOp defines how to process the key and value of the LeafOp - * to include length information. After encoding the length with the given - * algorithm, the length will be prepended to the key and value bytes. - * (Each one with it's own encoded length) - */ - -export enum LengthOp { - /** NO_PREFIX - NO_PREFIX don't include any length info */ - NO_PREFIX = 0, - - /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ - VAR_PROTO = 1, - - /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ - VAR_RLP = 2, - - /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ - FIXED32_BIG = 3, - - /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ - FIXED32_LITTLE = 4, - - /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ - FIXED64_BIG = 5, - - /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ - FIXED64_LITTLE = 6, - - /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ - REQUIRE_32_BYTES = 7, - - /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ - REQUIRE_64_BYTES = 8, - UNRECOGNIZED = -1, -} -/** - * LengthOp defines how to process the key and value of the LeafOp - * to include length information. After encoding the length with the given - * algorithm, the length will be prepended to the key and value bytes. - * (Each one with it's own encoded length) - */ - -export enum LengthOpSDKType { - /** NO_PREFIX - NO_PREFIX don't include any length info */ - NO_PREFIX = 0, - - /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ - VAR_PROTO = 1, - - /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ - VAR_RLP = 2, - - /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ - FIXED32_BIG = 3, - - /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ - FIXED32_LITTLE = 4, - - /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ - FIXED64_BIG = 5, - - /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ - FIXED64_LITTLE = 6, - - /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ - REQUIRE_32_BYTES = 7, - - /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ - REQUIRE_64_BYTES = 8, - UNRECOGNIZED = -1, -} -export function lengthOpFromJSON(object: any): LengthOp { - switch (object) { - case 0: - case "NO_PREFIX": - return LengthOp.NO_PREFIX; - - case 1: - case "VAR_PROTO": - return LengthOp.VAR_PROTO; - - case 2: - case "VAR_RLP": - return LengthOp.VAR_RLP; - - case 3: - case "FIXED32_BIG": - return LengthOp.FIXED32_BIG; - - case 4: - case "FIXED32_LITTLE": - return LengthOp.FIXED32_LITTLE; - - case 5: - case "FIXED64_BIG": - return LengthOp.FIXED64_BIG; - - case 6: - case "FIXED64_LITTLE": - return LengthOp.FIXED64_LITTLE; - - case 7: - case "REQUIRE_32_BYTES": - return LengthOp.REQUIRE_32_BYTES; - - case 8: - case "REQUIRE_64_BYTES": - return LengthOp.REQUIRE_64_BYTES; - - case -1: - case "UNRECOGNIZED": - default: - return LengthOp.UNRECOGNIZED; - } -} -export function lengthOpToJSON(object: LengthOp): string { - switch (object) { - case LengthOp.NO_PREFIX: - return "NO_PREFIX"; - - case LengthOp.VAR_PROTO: - return "VAR_PROTO"; - - case LengthOp.VAR_RLP: - return "VAR_RLP"; - - case LengthOp.FIXED32_BIG: - return "FIXED32_BIG"; - - case LengthOp.FIXED32_LITTLE: - return "FIXED32_LITTLE"; - - case LengthOp.FIXED64_BIG: - return "FIXED64_BIG"; - - case LengthOp.FIXED64_LITTLE: - return "FIXED64_LITTLE"; - - case LengthOp.REQUIRE_32_BYTES: - return "REQUIRE_32_BYTES"; - - case LengthOp.REQUIRE_64_BYTES: - return "REQUIRE_64_BYTES"; - - case LengthOp.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ - -export interface ExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp | undefined; - path: InnerOp[]; -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ - -export interface ExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType | undefined; - path: InnerOpSDKType[]; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ - -export interface NonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: ExistenceProof | undefined; - right?: ExistenceProof | undefined; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ - -export interface NonExistenceProofSDKType { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: ExistenceProofSDKType | undefined; - right?: ExistenceProofSDKType | undefined; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ - -export interface CommitmentProof { - exist?: ExistenceProof | undefined; - nonexist?: NonExistenceProof | undefined; - batch?: BatchProof | undefined; - compressed?: CompressedBatchProof | undefined; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ - -export interface CommitmentProofSDKType { - exist?: ExistenceProofSDKType | undefined; - nonexist?: NonExistenceProofSDKType | undefined; - batch?: BatchProofSDKType | undefined; - compressed?: CompressedBatchProofSDKType | undefined; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ - -export interface LeafOp { - hash: HashOp; - prehashKey: HashOp; - prehashValue: HashOp; - length: LengthOp; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - - prefix: Uint8Array; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ - -export interface LeafOpSDKType { - hash: HashOpSDKType; - prehash_key: HashOpSDKType; - prehash_value: HashOpSDKType; - length: LengthOpSDKType; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - - prefix: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ - -export interface InnerOp { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ - -export interface InnerOpSDKType { - hash: HashOpSDKType; - prefix: Uint8Array; - suffix: Uint8Array; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ - -export interface ProofSpec { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leafSpec?: LeafOp | undefined; - innerSpec?: InnerSpec | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - - maxDepth: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - - minDepth: number; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ - -export interface ProofSpecSDKType { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leaf_spec?: LeafOpSDKType | undefined; - inner_spec?: InnerSpecSDKType | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - - max_depth: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - - min_depth: number; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ - -export interface InnerSpec { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - childOrder: number[]; - childSize: number; - minPrefixLength: number; - maxPrefixLength: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - - emptyChild: Uint8Array; - /** hash is the algorithm that must be used for each InnerOp */ - - hash: HashOp; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ - -export interface InnerSpecSDKType { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - child_order: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - - empty_child: Uint8Array; - /** hash is the algorithm that must be used for each InnerOp */ - - hash: HashOpSDKType; -} -/** BatchProof is a group of multiple proof types than can be compressed */ - -export interface BatchProof { - entries: BatchEntry[]; -} -/** BatchProof is a group of multiple proof types than can be compressed */ - -export interface BatchProofSDKType { - entries: BatchEntrySDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface BatchEntry { - exist?: ExistenceProof | undefined; - nonexist?: NonExistenceProof | undefined; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface BatchEntrySDKType { - exist?: ExistenceProofSDKType | undefined; - nonexist?: NonExistenceProofSDKType | undefined; -} -export interface CompressedBatchProof { - entries: CompressedBatchEntry[]; - lookupInners: InnerOp[]; -} -export interface CompressedBatchProofSDKType { - entries: CompressedBatchEntrySDKType[]; - lookup_inners: InnerOpSDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface CompressedBatchEntry { - exist?: CompressedExistenceProof | undefined; - nonexist?: CompressedNonExistenceProof | undefined; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface CompressedBatchEntrySDKType { - exist?: CompressedExistenceProofSDKType | undefined; - nonexist?: CompressedNonExistenceProofSDKType | undefined; -} -export interface CompressedExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp | undefined; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - - path: number[]; -} -export interface CompressedExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType | undefined; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - - path: number[]; -} -export interface CompressedNonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProof | undefined; - right?: CompressedExistenceProof | undefined; -} -export interface CompressedNonExistenceProofSDKType { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProofSDKType | undefined; - right?: CompressedExistenceProofSDKType | undefined; -} - -function createBaseExistenceProof(): ExistenceProof { - return { - key: new Uint8Array(), - value: new Uint8Array(), - leaf: undefined, - path: [] - }; -} - -export const ExistenceProof = { - encode(message: ExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - - if (message.leaf !== undefined) { - LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.path) { - InnerOp.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExistenceProof(); - - 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.leaf = LeafOp.decode(reader, reader.uint32()); - break; - - case 4: - message.path.push(InnerOp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ExistenceProof { - const message = createBaseExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; - message.path = object.path?.map(e => InnerOp.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseNonExistenceProof(): NonExistenceProof { - return { - key: new Uint8Array(), - left: undefined, - right: undefined - }; -} - -export const NonExistenceProof = { - encode(message: NonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.left !== undefined) { - ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); - } - - if (message.right !== undefined) { - ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNonExistenceProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - case 2: - message.left = ExistenceProof.decode(reader, reader.uint32()); - break; - - case 3: - message.right = ExistenceProof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): NonExistenceProof { - const message = createBaseNonExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.left = object.left !== undefined && object.left !== null ? ExistenceProof.fromPartial(object.left) : undefined; - message.right = object.right !== undefined && object.right !== null ? ExistenceProof.fromPartial(object.right) : undefined; - return message; - } - -}; - -function createBaseCommitmentProof(): CommitmentProof { - return { - exist: undefined, - nonexist: undefined, - batch: undefined, - compressed: undefined - }; -} - -export const CommitmentProof = { - encode(message: CommitmentProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - - if (message.nonexist !== undefined) { - NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - - if (message.batch !== undefined) { - BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim(); - } - - if (message.compressed !== undefined) { - CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitmentProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.exist = ExistenceProof.decode(reader, reader.uint32()); - break; - - case 2: - message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); - break; - - case 3: - message.batch = BatchProof.decode(reader, reader.uint32()); - break; - - case 4: - message.compressed = CompressedBatchProof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommitmentProof { - const message = createBaseCommitmentProof(); - message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; - message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; - message.batch = object.batch !== undefined && object.batch !== null ? BatchProof.fromPartial(object.batch) : undefined; - message.compressed = object.compressed !== undefined && object.compressed !== null ? CompressedBatchProof.fromPartial(object.compressed) : undefined; - return message; - } - -}; - -function createBaseLeafOp(): LeafOp { - return { - hash: 0, - prehashKey: 0, - prehashValue: 0, - length: 0, - prefix: new Uint8Array() - }; -} - -export const LeafOp = { - encode(message: LeafOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== 0) { - writer.uint32(8).int32(message.hash); - } - - if (message.prehashKey !== 0) { - writer.uint32(16).int32(message.prehashKey); - } - - if (message.prehashValue !== 0) { - writer.uint32(24).int32(message.prehashValue); - } - - if (message.length !== 0) { - writer.uint32(32).int32(message.length); - } - - if (message.prefix.length !== 0) { - writer.uint32(42).bytes(message.prefix); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLeafOp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = (reader.int32() as any); - break; - - case 2: - message.prehashKey = (reader.int32() as any); - break; - - case 3: - message.prehashValue = (reader.int32() as any); - break; - - case 4: - message.length = (reader.int32() as any); - break; - - case 5: - message.prefix = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): LeafOp { - const message = createBaseLeafOp(); - message.hash = object.hash ?? 0; - message.prehashKey = object.prehashKey ?? 0; - message.prehashValue = object.prehashValue ?? 0; - message.length = object.length ?? 0; - message.prefix = object.prefix ?? new Uint8Array(); - return message; - } - -}; - -function createBaseInnerOp(): InnerOp { - return { - hash: 0, - prefix: new Uint8Array(), - suffix: new Uint8Array() - }; -} - -export const InnerOp = { - encode(message: InnerOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== 0) { - writer.uint32(8).int32(message.hash); - } - - if (message.prefix.length !== 0) { - writer.uint32(18).bytes(message.prefix); - } - - if (message.suffix.length !== 0) { - writer.uint32(26).bytes(message.suffix); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInnerOp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = (reader.int32() as any); - break; - - case 2: - message.prefix = reader.bytes(); - break; - - case 3: - message.suffix = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InnerOp { - const message = createBaseInnerOp(); - message.hash = object.hash ?? 0; - message.prefix = object.prefix ?? new Uint8Array(); - message.suffix = object.suffix ?? new Uint8Array(); - return message; - } - -}; - -function createBaseProofSpec(): ProofSpec { - return { - leafSpec: undefined, - innerSpec: undefined, - maxDepth: 0, - minDepth: 0 - }; -} - -export const ProofSpec = { - encode(message: ProofSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.leafSpec !== undefined) { - LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim(); - } - - if (message.innerSpec !== undefined) { - InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim(); - } - - if (message.maxDepth !== 0) { - writer.uint32(24).int32(message.maxDepth); - } - - if (message.minDepth !== 0) { - writer.uint32(32).int32(message.minDepth); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProofSpec(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.leafSpec = LeafOp.decode(reader, reader.uint32()); - break; - - case 2: - message.innerSpec = InnerSpec.decode(reader, reader.uint32()); - break; - - case 3: - message.maxDepth = reader.int32(); - break; - - case 4: - message.minDepth = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ProofSpec { - const message = createBaseProofSpec(); - message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; - message.innerSpec = object.innerSpec !== undefined && object.innerSpec !== null ? InnerSpec.fromPartial(object.innerSpec) : undefined; - message.maxDepth = object.maxDepth ?? 0; - message.minDepth = object.minDepth ?? 0; - return message; - } - -}; - -function createBaseInnerSpec(): InnerSpec { - return { - childOrder: [], - childSize: 0, - minPrefixLength: 0, - maxPrefixLength: 0, - emptyChild: new Uint8Array(), - hash: 0 - }; -} - -export const InnerSpec = { - encode(message: InnerSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.childOrder) { - writer.int32(v); - } - - writer.ldelim(); - - if (message.childSize !== 0) { - writer.uint32(16).int32(message.childSize); - } - - if (message.minPrefixLength !== 0) { - writer.uint32(24).int32(message.minPrefixLength); - } - - if (message.maxPrefixLength !== 0) { - writer.uint32(32).int32(message.maxPrefixLength); - } - - if (message.emptyChild.length !== 0) { - writer.uint32(42).bytes(message.emptyChild); - } - - if (message.hash !== 0) { - writer.uint32(48).int32(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInnerSpec(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.childOrder.push(reader.int32()); - } - } else { - message.childOrder.push(reader.int32()); - } - - break; - - case 2: - message.childSize = reader.int32(); - break; - - case 3: - message.minPrefixLength = reader.int32(); - break; - - case 4: - message.maxPrefixLength = reader.int32(); - break; - - case 5: - message.emptyChild = reader.bytes(); - break; - - case 6: - message.hash = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InnerSpec { - const message = createBaseInnerSpec(); - message.childOrder = object.childOrder?.map(e => e) || []; - message.childSize = object.childSize ?? 0; - message.minPrefixLength = object.minPrefixLength ?? 0; - message.maxPrefixLength = object.maxPrefixLength ?? 0; - message.emptyChild = object.emptyChild ?? new Uint8Array(); - message.hash = object.hash ?? 0; - return message; - } - -}; - -function createBaseBatchProof(): BatchProof { - return { - entries: [] - }; -} - -export const BatchProof = { - encode(message: BatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - BatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.entries.push(BatchEntry.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BatchProof { - const message = createBaseBatchProof(); - message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseBatchEntry(): BatchEntry { - return { - exist: undefined, - nonexist: undefined - }; -} - -export const BatchEntry = { - encode(message: BatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - - if (message.nonexist !== undefined) { - NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.exist = ExistenceProof.decode(reader, reader.uint32()); - break; - - case 2: - message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BatchEntry { - const message = createBaseBatchEntry(); - message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; - message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; - return message; - } - -}; - -function createBaseCompressedBatchProof(): CompressedBatchProof { - return { - entries: [], - lookupInners: [] - }; -} - -export const CompressedBatchProof = { - encode(message: CompressedBatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - CompressedBatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.lookupInners) { - InnerOp.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedBatchProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32())); - break; - - case 2: - message.lookupInners.push(InnerOp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CompressedBatchProof { - const message = createBaseCompressedBatchProof(); - message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; - message.lookupInners = object.lookupInners?.map(e => InnerOp.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCompressedBatchEntry(): CompressedBatchEntry { - return { - exist: undefined, - nonexist: undefined - }; -} - -export const CompressedBatchEntry = { - encode(message: CompressedBatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - - if (message.nonexist !== undefined) { - CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedBatchEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.exist = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - - case 2: - message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CompressedBatchEntry { - const message = createBaseCompressedBatchEntry(); - message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; - message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? CompressedNonExistenceProof.fromPartial(object.nonexist) : undefined; - return message; - } - -}; - -function createBaseCompressedExistenceProof(): CompressedExistenceProof { - return { - key: new Uint8Array(), - value: new Uint8Array(), - leaf: undefined, - path: [] - }; -} - -export const CompressedExistenceProof = { - encode(message: CompressedExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - - if (message.leaf !== undefined) { - LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); - } - - writer.uint32(34).fork(); - - for (const v of message.path) { - writer.int32(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedExistenceProof(); - - 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.leaf = LeafOp.decode(reader, reader.uint32()); - break; - - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CompressedExistenceProof { - const message = createBaseCompressedExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; - message.path = object.path?.map(e => e) || []; - return message; - } - -}; - -function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { - return { - key: new Uint8Array(), - left: undefined, - right: undefined - }; -} - -export const CompressedNonExistenceProof = { - encode(message: CompressedNonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.left !== undefined) { - CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); - } - - if (message.right !== undefined) { - CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedNonExistenceProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - case 2: - message.left = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - - case 3: - message.right = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CompressedNonExistenceProof { - const message = createBaseCompressedNonExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.left = object.left !== undefined && object.left !== null ? CompressedExistenceProof.fromPartial(object.left) : undefined; - message.right = object.right !== undefined && object.right !== null ? CompressedExistenceProof.fromPartial(object.right) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts deleted file mode 100644 index a67d60bde..000000000 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { Any, 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[]; -} -/** - * 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 are the module configurations for the app. */ - 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 | undefined; -} -/** ModuleConfig is a module configuration for an app. */ - -export interface ModuleConfigSDKType { - /** - * 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?: AnySDKType | undefined; -} - -function createBaseConfig(): Config { - return { - modules: [] - }; -} - -export const Config = { - encode(message: Config, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.modules) { - ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Config { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Config { - const message = createBaseConfig(); - message.modules = object.modules?.map(e => ModuleConfig.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseModuleConfig(): ModuleConfig { - return { - name: "", - config: undefined - }; -} - -export const ModuleConfig = { - encode(message: ModuleConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): ModuleConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts deleted file mode 100644 index 2041ee6c0..000000000 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts +++ /dev/null @@ -1,342 +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. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - 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[]; -} -/** ModuleDescriptor describes an app module. */ - -export interface ModuleDescriptorSDKType { - /** - * go_import names the package that should be imported by an app to load the - * module in the runtime module registry. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - 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: PackageReferenceSDKType[]; - /** - * 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: 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 fields containing the - * test "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; -} -/** PackageReference is a reference to a protobuf package used by a module. */ - -export interface PackageReferenceSDKType { - /** 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 fields containing the - * test "Revision N" where N is an integer revision. All packages start - * at revision 0 the first time they are released in a module. - * - * When a new version of a module is released and items are added to existing - * .proto files, these definitions should contain comments of the form - * "Since Revision N" where N is an integer revision. - * - * When the module runtime starts up, it will check the pinned proto - * image and panic if there are runtime protobuf definitions that are not - * in the pinned descriptor which do not have - * a "Since Revision N" comment or have a "Since Revision N" comment where - * N is <= to the revision specified here. This indicates that the protobuf - * files have been updated, but the pinned file descriptor hasn't. - * - * If there are items in the pinned file descriptor with a revision - * greater than the value indicated here, this will also cause a panic - * as it may mean that the pinned descriptor for a legacy module has been - * improperly updated or that there is some other versioning discrepancy. - * Runtime protobuf definitions will also be checked for compatibility - * with pinned file descriptors to make sure there are no incompatible changes. - * - * This behavior ensures that: - * * pinned proto images are up-to-date - * * protobuf files are carefully annotated with revision comments which - * are important good client UX - * * protobuf files are changed in backwards and forwards compatible ways - */ - - revision: number; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ - -export interface MigrateFromInfo { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ - -export interface MigrateFromInfoSDKType { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} - -function createBaseModuleDescriptor(): ModuleDescriptor { - return { - goImport: "", - usePackage: [], - canMigrateFrom: [] - }; -} - -export const ModuleDescriptor = { - encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.goImport !== "") { - writer.uint32(10).string(message.goImport); - } - - for (const v of message.usePackage) { - PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.canMigrateFrom) { - MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.goImport = reader.string(); - break; - - case 2: - message.usePackage.push(PackageReference.decode(reader, reader.uint32())); - break; - - case 3: - message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModuleDescriptor { - const message = createBaseModuleDescriptor(); - message.goImport = object.goImport ?? ""; - message.usePackage = object.usePackage?.map(e => PackageReference.fromPartial(e)) || []; - message.canMigrateFrom = object.canMigrateFrom?.map(e => MigrateFromInfo.fromPartial(e)) || []; - return message; - } - -}; - -function createBasePackageReference(): PackageReference { - return { - name: "", - revision: 0 - }; -} - -export const PackageReference = { - encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.revision !== 0) { - writer.uint32(16).uint32(message.revision); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePackageReference(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.revision = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PackageReference { - const message = createBasePackageReference(); - message.name = object.name ?? ""; - message.revision = object.revision ?? 0; - return message; - } - -}; - -function createBaseMigrateFromInfo(): MigrateFromInfo { - return { - module: "" - }; -} - -export const MigrateFromInfo = { - encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.module !== "") { - writer.uint32(10).string(message.module); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMigrateFromInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.module = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MigrateFromInfo { - const message = createBaseMigrateFromInfo(); - message.module = object.module ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts deleted file mode 100644 index 9ae7ca7f3..000000000 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(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/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts deleted file mode 100644 index 005f0d648..000000000 --- a/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { Config, ConfigSDKType } from "./config"; -import * as _m0 from "protobufjs/minimal"; -/** QueryConfigRequest is the Query/Config request type. */ - -export interface QueryConfigRequest {} -/** 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 | undefined; -} -/** QueryConfigRequest is the Query/Config response type. */ - -export interface QueryConfigResponseSDKType { - /** config is the current app config. */ - config?: ConfigSDKType | undefined; -} - -function createBaseQueryConfigRequest(): QueryConfigRequest { - return {}; -} - -export const QueryConfigRequest = { - encode(_: QueryConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryConfigRequest { - const message = createBaseQueryConfigRequest(); - return message; - } - -}; - -function createBaseQueryConfigResponse(): QueryConfigResponse { - return { - config: undefined - }; -} - -export const QueryConfigResponse = { - encode(message: QueryConfigResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.config !== undefined) { - Config.encode(message.config, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryConfigResponse { - const message = createBaseQueryConfigResponse(); - message.config = object.config !== undefined && object.config !== null ? Config.fromPartial(object.config) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts deleted file mode 100644 index 61a7013dd..000000000 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts +++ /dev/null @@ -1,284 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } 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 - * type for additional functionality (e.g. vesting). - */ - -export interface BaseAccount { - address: string; - pubKey?: Any | undefined; - accountNumber: Long; - sequence: Long; -} -/** - * 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 { - address: string; - pub_key?: AnySDKType | undefined; - account_number: Long; - sequence: Long; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ - -export interface ModuleAccount { - baseAccount?: BaseAccount | undefined; - name: string; - permissions: string[]; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ - -export interface ModuleAccountSDKType { - base_account?: BaseAccountSDKType | undefined; - 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; -} -/** 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; -} - -function createBaseBaseAccount(): BaseAccount { - return { - address: "", - pubKey: undefined, - accountNumber: Long.UZERO, - sequence: Long.UZERO - }; -} - -export const BaseAccount = { - encode(message: BaseAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - - if (!message.accountNumber.isZero()) { - writer.uint32(24).uint64(message.accountNumber); - } - - if (!message.sequence.isZero()) { - writer.uint32(32).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBaseAccount(); - - 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.accountNumber = (reader.uint64() as Long); - break; - - case 4: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BaseAccount { - const message = createBaseBaseAccount(); - message.address = object.address ?? ""; - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; - message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseModuleAccount(): ModuleAccount { - return { - baseAccount: undefined, - name: "", - permissions: [] - }; -} - -export const ModuleAccount = { - encode(message: ModuleAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseAccount !== undefined) { - BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); - } - - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - - for (const v of message.permissions) { - writer.uint32(26).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseAccount = BaseAccount.decode(reader, reader.uint32()); - break; - - case 2: - message.name = reader.string(); - break; - - case 3: - message.permissions.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModuleAccount { - const message = createBaseModuleAccount(); - message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; - message.name = object.name ?? ""; - message.permissions = object.permissions?.map(e => e) || []; - return message; - } - -}; - -function createBaseParams(): Params { - return { - maxMemoCharacters: Long.UZERO, - txSigLimit: Long.UZERO, - txSizeCostPerByte: Long.UZERO, - sigVerifyCostEd25519: Long.UZERO, - sigVerifyCostSecp256k1: Long.UZERO - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxMemoCharacters.isZero()) { - writer.uint32(8).uint64(message.maxMemoCharacters); - } - - if (!message.txSigLimit.isZero()) { - writer.uint32(16).uint64(message.txSigLimit); - } - - if (!message.txSizeCostPerByte.isZero()) { - writer.uint32(24).uint64(message.txSizeCostPerByte); - } - - if (!message.sigVerifyCostEd25519.isZero()) { - writer.uint32(32).uint64(message.sigVerifyCostEd25519); - } - - if (!message.sigVerifyCostSecp256k1.isZero()) { - writer.uint32(40).uint64(message.sigVerifyCostSecp256k1); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxMemoCharacters = (reader.uint64() as Long); - break; - - case 2: - message.txSigLimit = (reader.uint64() as Long); - break; - - case 3: - message.txSizeCostPerByte = (reader.uint64() as Long); - break; - - case 4: - message.sigVerifyCostEd25519 = (reader.uint64() as Long); - break; - - case 5: - message.sigVerifyCostSecp256k1 = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; - message.txSigLimit = object.txSigLimit !== undefined && object.txSigLimit !== null ? Long.fromValue(object.txSigLimit) : Long.UZERO; - message.txSizeCostPerByte = object.txSizeCostPerByte !== undefined && object.txSizeCostPerByte !== null ? Long.fromValue(object.txSizeCostPerByte) : Long.UZERO; - message.sigVerifyCostEd25519 = object.sigVerifyCostEd25519 !== undefined && object.sigVerifyCostEd25519 !== null ? Long.fromValue(object.sigVerifyCostEd25519) : Long.UZERO; - message.sigVerifyCostSecp256k1 = object.sigVerifyCostSecp256k1 !== undefined && object.sigVerifyCostSecp256k1 !== null ? Long.fromValue(object.sigVerifyCostSecp256k1) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts deleted file mode 100644 index af6abc863..000000000 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { Params, ParamsSDKType } from "./auth"; -import { Any, 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 | undefined; - /** accounts are the accounts present at genesis. */ - - accounts: Any[]; -} -/** GenesisState defines the auth module's genesis state. */ - -export interface GenesisStateSDKType { - /** params defines all the paramaters of the module. */ - params?: ParamsSDKType | undefined; - /** accounts are the accounts present at genesis. */ - - accounts: AnySDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - accounts: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.accounts) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.accounts.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts deleted file mode 100644 index 83fdf31f5..000000000 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.accounts = this.accounts.bind(this); - this.account = this.account.bind(this); - this.params = this.params.bind(this); - this.moduleAccounts = this.moduleAccounts.bind(this); - this.bech32Prefix = this.bech32Prefix.bind(this); - this.addressBytesToString = this.addressBytesToString.bind(this); - this.addressStringToBytes = this.addressStringToBytes.bind(this); - } - /* Accounts returns all the existing accounts - - Since: cosmos-sdk 0.43 */ - - - async accounts(params: QueryAccountsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/auth/v1beta1/accounts`; - return await this.req.get(endpoint, options); - } - /* Account returns account details based on address. */ - - - async account(params: QueryAccountRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; - return await this.req.get(endpoint); - } - /* Params queries all parameters. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/params`; - return await this.req.get(endpoint); - } - /* ModuleAccounts returns all the existing module accounts. */ - - - async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/module_accounts`; - return await this.req.get(endpoint); - } - /* Bech32 queries bech32Prefix */ - - - async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32`; - return await this.req.get(endpoint); - } - /* AddressBytesToString converts Account Address bytes to string */ - - - async addressBytesToString(params: AddressBytesToStringRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; - return await this.req.get(endpoint); - } - /* AddressStringToBytes converts Address string to bytes */ - - - async addressStringToBytes(params: AddressStringToBytesRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts deleted file mode 100644 index bd0c78f34..000000000 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, 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; - /** Params queries all parameters. */ - - params(request?: QueryParamsRequest): Promise; - /** ModuleAccounts returns all the existing module accounts. */ - - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - /** Bech32 queries bech32Prefix */ - - bech32Prefix(request?: Bech32PrefixRequest): Promise; - /** AddressBytesToString converts Account Address bytes to string */ - - addressBytesToString(request: AddressBytesToStringRequest): Promise; - /** AddressStringToBytes converts Address string to bytes */ - - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.accounts = this.accounts.bind(this); - this.account = this.account.bind(this); - this.params = this.params.bind(this); - this.moduleAccounts = this.moduleAccounts.bind(this); - this.bech32Prefix = this.bech32Prefix.bind(this); - this.addressBytesToString = this.addressBytesToString.bind(this); - this.addressStringToBytes = this.addressStringToBytes.bind(this); - } - - accounts(request: QueryAccountsRequest = { - pagination: undefined - }): Promise { - const data = QueryAccountsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); - return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); - } - - account(request: QueryAccountRequest): Promise { - const data = QueryAccountRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); - return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { - const data = QueryModuleAccountsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); - return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); - } - - bech32Prefix(request: Bech32PrefixRequest = {}): Promise { - const data = Bech32PrefixRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); - return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); - } - - addressBytesToString(request: AddressBytesToStringRequest): Promise { - const data = AddressBytesToStringRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); - return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); - } - - addressStringToBytes(request: AddressStringToBytesRequest): Promise { - const data = AddressStringToBytesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); - return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - accounts(request?: QueryAccountsRequest): Promise { - return queryService.accounts(request); - }, - - account(request: QueryAccountRequest): Promise { - return queryService.account(request); - }, - - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - moduleAccounts(request?: QueryModuleAccountsRequest): Promise { - return queryService.moduleAccounts(request); - }, - - bech32Prefix(request?: Bech32PrefixRequest): Promise { - return queryService.bech32Prefix(request); - }, - - addressBytesToString(request: AddressBytesToStringRequest): Promise { - return queryService.addressBytesToString(request); - }, - - addressStringToBytes(request: AddressStringToBytesRequest): Promise { - return queryService.addressStringToBytes(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts deleted file mode 100644 index d26e682dd..000000000 --- a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts +++ /dev/null @@ -1,771 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsSDKType } from "./auth"; -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 | undefined; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryAccountsRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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: Any[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryAccountsResponseSDKType { - /** accounts are the existing accounts */ - accounts: AnySDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ - -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ - -export interface QueryAccountRequestSDKType { - /** address defines the address to query for. */ - address: string; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ - -export interface QueryModuleAccountsRequest {} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ - -export interface QueryModuleAccountsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params?: Params | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** params defines the parameters of the module. */ - params?: ParamsSDKType | undefined; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ - -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account?: Any | undefined; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ - -export interface QueryAccountResponseSDKType { - /** account defines the account of the corresponding address. */ - account?: AnySDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType {} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ - -export interface QueryModuleAccountsResponse { - accounts: Any[]; -} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ - -export interface QueryModuleAccountsResponseSDKType { - accounts: AnySDKType[]; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ - -export interface Bech32PrefixRequest {} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ - -export interface Bech32PrefixRequestSDKType {} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ - -export interface Bech32PrefixResponse { - bech32Prefix: string; -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ - -export interface Bech32PrefixResponseSDKType { - bech32_prefix: string; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ - -export interface AddressBytesToStringRequest { - addressBytes: Uint8Array; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ - -export interface AddressBytesToStringRequestSDKType { - address_bytes: Uint8Array; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ - -export interface AddressBytesToStringResponse { - addressString: string; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ - -export interface AddressBytesToStringResponseSDKType { - address_string: string; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ - -export interface AddressStringToBytesRequest { - addressString: string; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ - -export interface AddressStringToBytesRequestSDKType { - address_string: string; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ - -export interface AddressStringToBytesResponse { - addressBytes: Uint8Array; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ - -export interface AddressStringToBytesResponseSDKType { - address_bytes: Uint8Array; -} - -function createBaseQueryAccountsRequest(): QueryAccountsRequest { - return { - pagination: undefined - }; -} - -export const QueryAccountsRequest = { - encode(message: QueryAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountsRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryAccountsRequest { - const message = createBaseQueryAccountsRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAccountsResponse(): QueryAccountsResponse { - return { - accounts: [], - pagination: undefined - }; -} - -export const QueryAccountsResponse = { - encode(message: QueryAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.accounts) { - 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: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.accounts.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; - }, - - fromPartial(object: Partial): QueryAccountsResponse { - const message = createBaseQueryAccountsResponse(); - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAccountRequest(): QueryAccountRequest { - return { - address: "" - }; -} - -export const QueryAccountRequest = { - encode(message: QueryAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAccountRequest { - const message = createBaseQueryAccountRequest(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseQueryModuleAccountsRequest(): QueryModuleAccountsRequest { - return {}; -} - -export const QueryModuleAccountsRequest = { - encode(_: QueryModuleAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleAccountsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryModuleAccountsRequest { - const message = createBaseQueryModuleAccountsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryAccountResponse(): QueryAccountResponse { - return { - account: undefined - }; -} - -export const QueryAccountResponse = { - encode(message: QueryAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.account !== undefined) { - Any.encode(message.account, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.account = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAccountResponse { - const message = createBaseQueryAccountResponse(); - message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryModuleAccountsResponse(): QueryModuleAccountsResponse { - return { - accounts: [] - }; -} - -export const QueryModuleAccountsResponse = { - encode(message: QueryModuleAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.accounts) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleAccountsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.accounts.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryModuleAccountsResponse { - const message = createBaseQueryModuleAccountsResponse(); - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseBech32PrefixRequest(): Bech32PrefixRequest { - return {}; -} - -export const Bech32PrefixRequest = { - encode(_: Bech32PrefixRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBech32PrefixRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): Bech32PrefixRequest { - const message = createBaseBech32PrefixRequest(); - return message; - } - -}; - -function createBaseBech32PrefixResponse(): Bech32PrefixResponse { - return { - bech32Prefix: "" - }; -} - -export const Bech32PrefixResponse = { - encode(message: Bech32PrefixResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bech32Prefix !== "") { - writer.uint32(10).string(message.bech32Prefix); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBech32PrefixResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bech32Prefix = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Bech32PrefixResponse { - const message = createBaseBech32PrefixResponse(); - message.bech32Prefix = object.bech32Prefix ?? ""; - return message; - } - -}; - -function createBaseAddressBytesToStringRequest(): AddressBytesToStringRequest { - return { - addressBytes: new Uint8Array() - }; -} - -export const AddressBytesToStringRequest = { - encode(message: AddressBytesToStringRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressBytes.length !== 0) { - writer.uint32(10).bytes(message.addressBytes); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressBytesToStringRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.addressBytes = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AddressBytesToStringRequest { - const message = createBaseAddressBytesToStringRequest(); - message.addressBytes = object.addressBytes ?? new Uint8Array(); - return message; - } - -}; - -function createBaseAddressBytesToStringResponse(): AddressBytesToStringResponse { - return { - addressString: "" - }; -} - -export const AddressBytesToStringResponse = { - encode(message: AddressBytesToStringResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressString !== "") { - writer.uint32(10).string(message.addressString); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressBytesToStringResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.addressString = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AddressBytesToStringResponse { - const message = createBaseAddressBytesToStringResponse(); - message.addressString = object.addressString ?? ""; - return message; - } - -}; - -function createBaseAddressStringToBytesRequest(): AddressStringToBytesRequest { - return { - addressString: "" - }; -} - -export const AddressStringToBytesRequest = { - encode(message: AddressStringToBytesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressString !== "") { - writer.uint32(10).string(message.addressString); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressStringToBytesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.addressString = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AddressStringToBytesRequest { - const message = createBaseAddressStringToBytesRequest(); - message.addressString = object.addressString ?? ""; - return message; - } - -}; - -function createBaseAddressStringToBytesResponse(): AddressStringToBytesResponse { - return { - addressBytes: new Uint8Array() - }; -} - -export const AddressStringToBytesResponse = { - encode(message: AddressStringToBytesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressBytes.length !== 0) { - writer.uint32(10).bytes(message.addressBytes); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressStringToBytesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.addressBytes = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AddressStringToBytesResponse { - const message = createBaseAddressStringToBytesResponse(); - message.addressBytes = object.addressBytes ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts deleted file mode 100644 index 519cb7f87..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts +++ /dev/null @@ -1,306 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "../../../helpers"; -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ - -export interface GenericAuthorization { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ - -export interface GenericAuthorizationSDKType { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ - -export interface Grant { - authorization?: 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?: Date | undefined; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ - -export interface GrantSDKType { - authorization?: AnySDKType | 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?: Date | 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 GrantAuthorization { - granter: string; - grantee: string; - authorization?: Any | undefined; - expiration?: Date | 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 GrantAuthorizationSDKType { - granter: string; - grantee: string; - authorization?: AnySDKType | undefined; - expiration?: Date | undefined; -} -/** 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[]; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ - -export interface GrantQueueItemSDKType { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msg_type_urls: string[]; -} - -function createBaseGenericAuthorization(): GenericAuthorization { - return { - msg: "" - }; -} - -export const GenericAuthorization = { - encode(message: GenericAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msg !== "") { - writer.uint32(10).string(message.msg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenericAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.msg = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenericAuthorization { - const message = createBaseGenericAuthorization(); - message.msg = object.msg ?? ""; - return message; - } - -}; - -function createBaseGrant(): Grant { - return { - authorization: undefined, - expiration: undefined - }; -} - -export const Grant = { - encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authorization !== undefined) { - Any.encode(message.authorization, writer.uint32(10).fork()).ldelim(); - } - - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Grant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrant(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.authorization = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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; - return message; - } - -}; - -function createBaseGrantAuthorization(): GrantAuthorization { - return { - granter: "", - grantee: "", - authorization: undefined, - expiration: undefined - }; -} - -export const GrantAuthorization = { - encode(message: GrantAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.authorization !== undefined) { - Any.encode(message.authorization, writer.uint32(26).fork()).ldelim(); - } - - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrantAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.authorization = Any.decode(reader, reader.uint32()); - break; - - case 4: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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; - return message; - } - -}; - -function createBaseGrantQueueItem(): GrantQueueItem { - return { - msgTypeUrls: [] - }; -} - -export const GrantQueueItem = { - encode(message: GrantQueueItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.msgTypeUrls) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrantQueueItem(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.msgTypeUrls.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GrantQueueItem { - const message = createBaseGrantQueueItem(); - message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts deleted file mode 100644 index 4ca6f0c5e..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts +++ /dev/null @@ -1,179 +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; -} -/** EventGrant is emitted on Msg/Grant */ - -export interface EventGrantSDKType { - /** Msg type URL for which an autorization is granted */ - msg_type_url: string; - /** Granter account address */ - - granter: string; - /** Grantee account address */ - - 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; -} -/** EventRevoke is emitted on Msg/Revoke */ - -export interface EventRevokeSDKType { - /** Msg type URL for which an autorization is revoked */ - msg_type_url: string; - /** Granter account address */ - - granter: string; - /** Grantee account address */ - - grantee: string; -} - -function createBaseEventGrant(): EventGrant { - return { - msgTypeUrl: "", - granter: "", - grantee: "" - }; -} - -export const EventGrant = { - encode(message: EventGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgTypeUrl !== "") { - writer.uint32(18).string(message.msgTypeUrl); - } - - if (message.granter !== "") { - writer.uint32(26).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(34).string(message.grantee); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventGrant(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.msgTypeUrl = reader.string(); - break; - - case 3: - message.granter = reader.string(); - break; - - case 4: - message.grantee = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventGrant { - const message = createBaseEventGrant(); - message.msgTypeUrl = object.msgTypeUrl ?? ""; - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - } - -}; - -function createBaseEventRevoke(): EventRevoke { - return { - msgTypeUrl: "", - granter: "", - grantee: "" - }; -} - -export const EventRevoke = { - encode(message: EventRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgTypeUrl !== "") { - writer.uint32(18).string(message.msgTypeUrl); - } - - if (message.granter !== "") { - writer.uint32(26).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(34).string(message.grantee); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventRevoke(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.msgTypeUrl = reader.string(); - break; - - case 3: - message.granter = reader.string(); - break; - - case 4: - message.grantee = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventRevoke { - const message = createBaseEventRevoke(); - message.msgTypeUrl = object.msgTypeUrl ?? ""; - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts deleted file mode 100644 index 9f09b9813..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the authz module's genesis state. */ - -export interface GenesisState { - authorization: GrantAuthorization[]; -} -/** GenesisState defines the authz module's genesis state. */ - -export interface GenesisStateSDKType { - authorization: GrantAuthorizationSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - authorization: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.authorization) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.authorization.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts deleted file mode 100644 index 0a8df3591..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.grants = this.grants.bind(this); - this.granterGrants = this.granterGrants.bind(this); - this.granteeGrants = this.granteeGrants.bind(this); - } - /* Returns list of `Authorization`, granted to the grantee by the granter. */ - - - async grants(params: QueryGrantsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.granter !== "undefined") { - options.params.granter = params.granter; - } - - if (typeof params?.grantee !== "undefined") { - options.params.grantee = params.grantee; - } - - if (typeof params?.msgTypeUrl !== "undefined") { - options.params.msg_type_url = params.msgTypeUrl; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/authz/v1beta1/grants`; - return await this.req.get(endpoint, options); - } - /* GranterGrants returns list of `GrantAuthorization`, granted by granter. - - Since: cosmos-sdk 0.46 */ - - - async granterGrants(params: QueryGranterGrantsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; - return await this.req.get(endpoint, options); - } - /* GranteeGrants returns a list of `GrantAuthorization` by grantee. - - Since: cosmos-sdk 0.46 */ - - - async granteeGrants(params: QueryGranteeGrantsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts deleted file mode 100644 index c2fda460f..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.grants = this.grants.bind(this); - this.granterGrants = this.granterGrants.bind(this); - this.granteeGrants = this.granteeGrants.bind(this); - } - - grants(request: QueryGrantsRequest): Promise { - const data = QueryGrantsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); - return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); - } - - granterGrants(request: QueryGranterGrantsRequest): Promise { - const data = QueryGranterGrantsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); - return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); - } - - granteeGrants(request: QueryGranteeGrantsRequest): Promise { - const data = QueryGranteeGrantsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); - return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - grants(request: QueryGrantsRequest): Promise { - return queryService.grants(request); - }, - - granterGrants(request: QueryGranterGrantsRequest): Promise { - return queryService.granterGrants(request); - }, - - granteeGrants(request: QueryGranteeGrantsRequest): Promise { - return queryService.granteeGrants(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts deleted file mode 100644 index cf5557e3b..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts +++ /dev/null @@ -1,463 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType, GrantAuthorization, 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 | undefined; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ - -export interface QueryGrantsRequestSDKType { - 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?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ - -export interface QueryGrantsResponseSDKType { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: GrantSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsRequestSDKType { - granter: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsResponseSDKType { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorizationSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ - -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ - -export interface QueryGranteeGrantsResponseSDKType { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorizationSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryGrantsRequest(): QueryGrantsRequest { - return { - granter: "", - grantee: "", - msgTypeUrl: "", - pagination: undefined - }; -} - -export const QueryGrantsRequest = { - encode(message: QueryGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.msgTypeUrl !== "") { - writer.uint32(26).string(message.msgTypeUrl); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGrantsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.msgTypeUrl = reader.string(); - break; - - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGrantsRequest { - const message = createBaseQueryGrantsRequest(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.msgTypeUrl = object.msgTypeUrl ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGrantsResponse(): QueryGrantsResponse { - return { - grants: [], - pagination: undefined - }; -} - -export const QueryGrantsResponse = { - encode(message: QueryGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGrantsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grants.push(Grant.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGrantsResponse { - const message = createBaseQueryGrantsResponse(); - message.grants = object.grants?.map(e => Grant.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { - return { - granter: "", - pagination: undefined - }; -} - -export const QueryGranterGrantsRequest = { - encode(message: QueryGranterGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranterGrantsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGranterGrantsRequest { - const message = createBaseQueryGranterGrantsRequest(); - message.granter = object.granter ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { - return { - grants: [], - pagination: undefined - }; -} - -export const QueryGranterGrantsResponse = { - encode(message: QueryGranterGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranterGrantsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGranterGrantsResponse { - const message = createBaseQueryGranterGrantsResponse(); - message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { - return { - grantee: "", - pagination: undefined - }; -} - -export const QueryGranteeGrantsRequest = { - encode(message: QueryGranteeGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranteeGrantsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGranteeGrantsRequest { - const message = createBaseQueryGranteeGrantsRequest(); - message.grantee = object.grantee ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { - return { - grants: [], - pagination: undefined - }; -} - -export const QueryGranteeGrantsResponse = { - encode(message: QueryGranteeGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranteeGrantsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGranteeGrantsResponse { - const message = createBaseQueryGranteeGrantsResponse(); - message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts deleted file mode 100644 index da254bafc..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -export interface AminoMsgGrant extends AminoMsg { - type: "cosmos-sdk/MsgGrant"; - value: { - granter: string; - grantee: string; - grant: { - authorization: { - type_url: string; - value: Uint8Array; - }; - expiration: { - seconds: string; - nanos: number; - }; - }; - }; -} -export interface AminoMsgExec extends AminoMsg { - type: "cosmos-sdk/MsgExec"; - value: { - grantee: string; - msgs: { - type_url: string; - value: Uint8Array; - }[]; - }; -} -export interface AminoMsgRevoke extends AminoMsg { - type: "cosmos-sdk/MsgRevoke"; - value: { - granter: string; - grantee: string; - msg_type_url: string; - }; -} -export const AminoConverter = { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: "cosmos-sdk/MsgGrant", - toAmino: ({ - granter, - grantee, - grant - }: MsgGrant): AminoMsgGrant["value"] => { - return { - granter, - grantee, - grant: { - authorization: { - type_url: grant.authorization.typeUrl, - value: grant.authorization.value - }, - expiration: grant.expiration - } - }; - }, - fromAmino: ({ - granter, - grantee, - grant - }: AminoMsgGrant["value"]): MsgGrant => { - return { - granter, - grantee, - grant: { - authorization: { - typeUrl: grant.authorization.type_url, - value: grant.authorization.value - }, - expiration: grant.expiration - } - }; - } - }, - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: "cosmos-sdk/MsgExec", - toAmino: ({ - grantee, - msgs - }: MsgExec): AminoMsgExec["value"] => { - return { - grantee, - msgs: msgs.map(el0 => ({ - type_url: el0.typeUrl, - value: el0.value - })) - }; - }, - fromAmino: ({ - grantee, - msgs - }: AminoMsgExec["value"]): MsgExec => { - return { - grantee, - msgs: msgs.map(el0 => ({ - typeUrl: el0.type_url, - value: el0.value - })) - }; - } - }, - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: "cosmos-sdk/MsgRevoke", - toAmino: ({ - granter, - grantee, - msgTypeUrl - }: MsgRevoke): AminoMsgRevoke["value"] => { - return { - granter, - grantee, - msg_type_url: msgTypeUrl - }; - }, - fromAmino: ({ - granter, - grantee, - msg_type_url - }: AminoMsgRevoke["value"]): MsgRevoke => { - return { - granter, - grantee, - msgTypeUrl: msg_type_url - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts deleted file mode 100644 index c4c1a539f..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts +++ /dev/null @@ -1,79 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.encode(value).finish() - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.encode(value).finish() - }; - }, - - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.encode(value).finish() - }; - } - - }, - withTypeUrl: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value - }; - }, - - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value - }; - } - - }, - fromPartial: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.fromPartial(value) - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.fromPartial(value) - }; - }, - - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 63499c426..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.grant = this.grant.bind(this); - this.exec = this.exec.bind(this); - this.revoke = this.revoke.bind(this); - } - - grant(request: MsgGrant): Promise { - const data = MsgGrant.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); - return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); - } - - exec(request: MsgExec): Promise { - const data = MsgExec.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); - return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); - } - - revoke(request: MsgRevoke): Promise { - const data = MsgRevoke.encode(request).finish(); - const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); - return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts deleted file mode 100644 index 105936746..000000000 --- a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts +++ /dev/null @@ -1,395 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, 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 | undefined; -} -/** - * 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 | undefined; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ - -export interface MsgExecResponse { - results: Uint8Array[]; -} -/** 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[]; -} -/** - * 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; - /** - * 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: AnySDKType[]; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ - -export interface MsgGrantResponse {} -/** 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; -} -/** - * 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 {} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ - -export interface MsgRevokeResponseSDKType {} - -function createBaseMsgGrant(): MsgGrant { - return { - granter: "", - grantee: "", - grant: undefined - }; -} - -export const MsgGrant = { - encode(message: MsgGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.grant !== undefined) { - Grant.encode(message.grant, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrant(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.grant = Grant.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgGrant { - const message = createBaseMsgGrant(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.grant = object.grant !== undefined && object.grant !== null ? Grant.fromPartial(object.grant) : undefined; - return message; - } - -}; - -function createBaseMsgExecResponse(): MsgExecResponse { - return { - results: [] - }; -} - -export const MsgExecResponse = { - encode(message: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.results) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.results.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExecResponse { - const message = createBaseMsgExecResponse(); - message.results = object.results?.map(e => e) || []; - return message; - } - -}; - -function createBaseMsgExec(): MsgExec { - return { - grantee: "", - msgs: [] - }; -} - -export const MsgExec = { - encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - - for (const v of message.msgs) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExec(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - - case 2: - message.msgs.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExec { - const message = createBaseMsgExec(); - message.grantee = object.grantee ?? ""; - message.msgs = object.msgs?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgGrantResponse(): MsgGrantResponse { - return {}; -} - -export const MsgGrantResponse = { - encode(_: MsgGrantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgGrantResponse { - const message = createBaseMsgGrantResponse(); - return message; - } - -}; - -function createBaseMsgRevoke(): MsgRevoke { - return { - granter: "", - grantee: "", - msgTypeUrl: "" - }; -} - -export const MsgRevoke = { - encode(message: MsgRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.msgTypeUrl !== "") { - writer.uint32(26).string(message.msgTypeUrl); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevoke(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.msgTypeUrl = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgRevoke { - const message = createBaseMsgRevoke(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.msgTypeUrl = object.msgTypeUrl ?? ""; - return message; - } - -}; - -function createBaseMsgRevokeResponse(): MsgRevokeResponse { - return {}; -} - -export const MsgRevokeResponse = { - encode(_: MsgRevokeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgRevokeResponse { - const message = createBaseMsgRevokeResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts deleted file mode 100644 index 09806a64a..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Coin, 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 { - spendLimit: Coin[]; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ - -export interface SendAuthorizationSDKType { - spend_limit: CoinSDKType[]; -} - -function createBaseSendAuthorization(): SendAuthorization { - return { - spendLimit: [] - }; -} - -export const SendAuthorization = { - encode(message: SendAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.spendLimit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSendAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.spendLimit.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SendAuthorization { - const message = createBaseSendAuthorization(); - message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts deleted file mode 100644 index 409c9e29d..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts +++ /dev/null @@ -1,665 +0,0 @@ -import { Coin, 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; -} -/** 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; -} -/** - * 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[]; -} -/** Input models transaction input. */ - -export interface InputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** Output models transaction outputs. */ - -export interface Output { - address: string; - coins: Coin[]; -} -/** 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 { - total: Coin[]; -} -/** - * 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 { - 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[]; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ - -export interface DenomUnitSDKType { - /** 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[]; -} -/** - * 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; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ - -export interface MetadataSDKType { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - - denom_units: DenomUnitSDKType[]; - /** 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; -} - -function createBaseParams(): Params { - return { - sendEnabled: [], - defaultSendEnabled: false - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.sendEnabled) { - SendEnabled.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.defaultSendEnabled === true) { - writer.uint32(16).bool(message.defaultSendEnabled); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled.push(SendEnabled.decode(reader, reader.uint32())); - break; - - case 2: - message.defaultSendEnabled = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.sendEnabled = object.sendEnabled?.map(e => SendEnabled.fromPartial(e)) || []; - message.defaultSendEnabled = object.defaultSendEnabled ?? false; - return message; - } - -}; - -function createBaseSendEnabled(): SendEnabled { - return { - denom: "", - enabled: false - }; -} - -export const SendEnabled = { - encode(message: SendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.enabled === true) { - writer.uint32(16).bool(message.enabled); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSendEnabled(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.enabled = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SendEnabled { - const message = createBaseSendEnabled(); - message.denom = object.denom ?? ""; - message.enabled = object.enabled ?? false; - return message; - } - -}; - -function createBaseInput(): Input { - return { - address: "", - coins: [] - }; -} - -export const Input = { - encode(message: Input, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Input { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInput(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Input { - const message = createBaseInput(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseOutput(): Output { - return { - address: "", - coins: [] - }; -} - -export const Output = { - encode(message: Output, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Output { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOutput(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Output { - const message = createBaseOutput(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSupply(): Supply { - return { - total: [] - }; -} - -export const Supply = { - encode(message: Supply, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.total) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Supply { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSupply(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.total.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Supply { - const message = createBaseSupply(); - message.total = object.total?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseDenomUnit(): DenomUnit { - return { - denom: "", - exponent: 0, - aliases: [] - }; -} - -export const DenomUnit = { - encode(message: DenomUnit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.exponent !== 0) { - writer.uint32(16).uint32(message.exponent); - } - - for (const v of message.aliases) { - writer.uint32(26).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDenomUnit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.exponent = reader.uint32(); - break; - - case 3: - message.aliases.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DenomUnit { - const message = createBaseDenomUnit(); - message.denom = object.denom ?? ""; - message.exponent = object.exponent ?? 0; - message.aliases = object.aliases?.map(e => e) || []; - return message; - } - -}; - -function createBaseMetadata(): Metadata { - return { - description: "", - denomUnits: [], - base: "", - display: "", - name: "", - symbol: "", - uri: "", - uriHash: "" - }; -} - -export const Metadata = { - encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== "") { - writer.uint32(10).string(message.description); - } - - for (const v of message.denomUnits) { - DenomUnit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.base !== "") { - writer.uint32(26).string(message.base); - } - - if (message.display !== "") { - writer.uint32(34).string(message.display); - } - - if (message.name !== "") { - writer.uint32(42).string(message.name); - } - - if (message.symbol !== "") { - writer.uint32(50).string(message.symbol); - } - - if (message.uri !== "") { - writer.uint32(58).string(message.uri); - } - - if (message.uriHash !== "") { - writer.uint32(66).string(message.uriHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.description = reader.string(); - break; - - case 2: - message.denomUnits.push(DenomUnit.decode(reader, reader.uint32())); - break; - - case 3: - message.base = reader.string(); - break; - - case 4: - message.display = reader.string(); - break; - - case 5: - message.name = reader.string(); - break; - - case 6: - message.symbol = reader.string(); - break; - - case 7: - message.uri = reader.string(); - break; - - case 8: - message.uriHash = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Metadata { - const message = createBaseMetadata(); - message.description = object.description ?? ""; - message.denomUnits = object.denomUnits?.map(e => DenomUnit.fromPartial(e)) || []; - message.base = object.base ?? ""; - message.display = object.display ?? ""; - message.name = object.name ?? ""; - message.symbol = object.symbol ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts deleted file mode 100644 index da2f39609..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; -import { Coin, 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 | undefined; - /** 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[]; -} -/** GenesisState defines the bank module's genesis state. */ - -export interface GenesisStateSDKType { - /** params defines all the paramaters of the module. */ - params?: ParamsSDKType | undefined; - /** balances is an array containing the balances of all the accounts. */ - - balances: BalanceSDKType[]; - /** - * 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: CoinSDKType[]; - /** denom_metadata defines the metadata of the differents coins. */ - - 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[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ - -export interface BalanceSDKType { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - - coins: CoinSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - balances: [], - supply: [], - denomMetadata: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.balances) { - Balance.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.supply) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.denomMetadata) { - Metadata.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balances.push(Balance.decode(reader, reader.uint32())); - break; - - case 3: - message.supply.push(Coin.decode(reader, reader.uint32())); - break; - - case 4: - message.denomMetadata.push(Metadata.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.balances = object.balances?.map(e => Balance.fromPartial(e)) || []; - message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; - message.denomMetadata = object.denomMetadata?.map(e => Metadata.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseBalance(): Balance { - return { - address: "", - coins: [] - }; -} - -export const Balance = { - encode(message: Balance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Balance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBalance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Balance { - const message = createBaseBalance(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts deleted file mode 100644 index 7535655dc..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ /dev/null @@ -1,150 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.balance = this.balance.bind(this); - this.allBalances = this.allBalances.bind(this); - this.spendableBalances = this.spendableBalances.bind(this); - this.totalSupply = this.totalSupply.bind(this); - this.supplyOf = this.supplyOf.bind(this); - this.params = this.params.bind(this); - this.denomMetadata = this.denomMetadata.bind(this); - this.denomsMetadata = this.denomsMetadata.bind(this); - this.denomOwners = this.denomOwners.bind(this); - } - /* Balance queries the balance of a single coin for a single account. */ - - - async balance(params: QueryBalanceRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.denom !== "undefined") { - options.params.denom = params.denom; - } - - const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; - return await this.req.get(endpoint, options); - } - /* AllBalances queries the balance of all coins for a single account. */ - - - async allBalances(params: QueryAllBalancesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; - return await this.req.get(endpoint, options); - } - /* SpendableBalances queries the spenable balance of all coins for a single - account. */ - - - async spendableBalances(params: QuerySpendableBalancesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; - return await this.req.get(endpoint, options); - } - /* TotalSupply queries the total supply of all coins. */ - - - async totalSupply(params: QueryTotalSupplyRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/bank/v1beta1/supply`; - return await this.req.get(endpoint, options); - } - /* SupplyOf queries the supply of a single coin. */ - - - async supplyOf(params: QuerySupplyOfRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.denom !== "undefined") { - options.params.denom = params.denom; - } - - const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; - return await this.req.get(endpoint, options); - } - /* Params queries the parameters of x/bank module. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/bank/v1beta1/params`; - return await this.req.get(endpoint); - } - /* DenomsMetadata queries the client metadata of a given coin denomination. */ - - - async denomMetadata(params: QueryDenomMetadataRequest): Promise { - const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; - return await this.req.get(endpoint); - } - /* DenomsMetadata queries the client metadata for all registered coin - denominations. */ - - - async denomsMetadata(params: QueryDenomsMetadataRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; - return await this.req.get(endpoint, options); - } - /* DenomOwners queries for all account addresses that own a particular token - denomination. */ - - - async denomOwners(params: QueryDenomOwnersRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts deleted file mode 100644 index a60bbc8c7..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,160 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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. - */ - - 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. - */ - - denomOwners(request: QueryDenomOwnersRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.balance = this.balance.bind(this); - this.allBalances = this.allBalances.bind(this); - this.spendableBalances = this.spendableBalances.bind(this); - this.totalSupply = this.totalSupply.bind(this); - this.supplyOf = this.supplyOf.bind(this); - this.params = this.params.bind(this); - this.denomMetadata = this.denomMetadata.bind(this); - this.denomsMetadata = this.denomsMetadata.bind(this); - this.denomOwners = this.denomOwners.bind(this); - } - - balance(request: QueryBalanceRequest): Promise { - const data = QueryBalanceRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); - return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); - } - - allBalances(request: QueryAllBalancesRequest): Promise { - const data = QueryAllBalancesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); - return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); - } - - spendableBalances(request: QuerySpendableBalancesRequest): Promise { - const data = QuerySpendableBalancesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); - return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); - } - - totalSupply(request: QueryTotalSupplyRequest = { - pagination: undefined - }): Promise { - const data = QueryTotalSupplyRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); - return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); - } - - supplyOf(request: QuerySupplyOfRequest): Promise { - const data = QuerySupplyOfRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); - return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - denomMetadata(request: QueryDenomMetadataRequest): Promise { - const data = QueryDenomMetadataRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); - return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); - } - - denomsMetadata(request: QueryDenomsMetadataRequest = { - pagination: undefined - }): Promise { - const data = QueryDenomsMetadataRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); - return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); - } - - denomOwners(request: QueryDenomOwnersRequest): Promise { - const data = QueryDenomOwnersRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); - return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - balance(request: QueryBalanceRequest): Promise { - return queryService.balance(request); - }, - - allBalances(request: QueryAllBalancesRequest): Promise { - return queryService.allBalances(request); - }, - - spendableBalances(request: QuerySpendableBalancesRequest): Promise { - return queryService.spendableBalances(request); - }, - - totalSupply(request?: QueryTotalSupplyRequest): Promise { - return queryService.totalSupply(request); - }, - - supplyOf(request: QuerySupplyOfRequest): Promise { - return queryService.supplyOf(request); - }, - - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - denomMetadata(request: QueryDenomMetadataRequest): Promise { - return queryService.denomMetadata(request); - }, - - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { - return queryService.denomsMetadata(request); - }, - - denomOwners(request: QueryDenomOwnersRequest): Promise { - return queryService.denomOwners(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts deleted file mode 100644 index 53ecb3fae..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts +++ /dev/null @@ -1,1300 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsSDKType, Metadata, 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; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ - -export interface QueryBalanceRequestSDKType { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - - 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 | undefined; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ - -export interface QueryBalanceResponseSDKType { - /** balance is the balance of the coin. */ - balance?: CoinSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ - -export interface QueryAllBalancesRequestSDKType { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ - -export interface QueryAllBalancesResponseSDKType { - /** balances is the balances of all the coins. */ - balances: CoinSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest | undefined; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesRequestSDKType { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesResponse { - /** balances is the spendable balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesResponseSDKType { - /** balances is the spendable balances of all the coins. */ - balances: CoinSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ - -export interface QueryTotalSupplyRequestSDKType { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ - -export interface QueryTotalSupplyResponseSDKType { - /** supply is the supply of the coins */ - supply: CoinSDKType[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfRequestSDKType { - /** denom is the coin denom to query balances for. */ - 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 | undefined; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfResponseSDKType { - /** amount is the supply of the coin. */ - amount?: CoinSDKType | undefined; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType | undefined; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ - -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ - -export interface QueryDenomsMetadataRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ - -export interface QueryDenomsMetadataResponseSDKType { - /** metadata provides the client information for all the registered tokens. */ - metadatas: MetadataSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ - -export interface QueryDenomMetadataRequestSDKType { - /** denom is the coin denom to query the metadata for. */ - 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 | undefined; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ - -export interface QueryDenomMetadataResponseSDKType { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: MetadataSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * 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 defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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. - */ - -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 | undefined; -} -/** - * 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. - */ - -export interface DenomOwnerSDKType { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - - balance?: CoinSDKType | undefined; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ - -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ - -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - address: "", - denom: "" - }; -} - -export const QueryBalanceRequest = { - encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.denom !== "") { - writer.uint32(18).string(message.denom); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.address = reader.string(); - break; - - case 2: - message.denom = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - message.address = object.address ?? ""; - message.denom = object.denom ?? ""; - return message; - } - -}; - -function createBaseQueryBalanceResponse(): QueryBalanceResponse { - return { - balance: undefined - }; -} - -export const QueryBalanceResponse = { - encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balance = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; - return message; - } - -}; - -function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QueryAllBalancesRequest = { - encode(message: QueryAllBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllBalancesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllBalancesRequest { - const message = createBaseQueryAllBalancesRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { - return { - balances: [], - pagination: undefined - }; -} - -export const QueryAllBalancesResponse = { - encode(message: QueryAllBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.balances) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllBalancesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.balances.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllBalancesResponse { - const message = createBaseQueryAllBalancesResponse(); - message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QuerySpendableBalancesRequest = { - encode(message: QuerySpendableBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySpendableBalancesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySpendableBalancesRequest { - const message = createBaseQuerySpendableBalancesRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { - return { - balances: [], - pagination: undefined - }; -} - -export const QuerySpendableBalancesResponse = { - encode(message: QuerySpendableBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.balances) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySpendableBalancesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.balances.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySpendableBalancesResponse { - const message = createBaseQuerySpendableBalancesResponse(); - message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { - return { - pagination: undefined - }; -} - -export const QueryTotalSupplyRequest = { - encode(message: QueryTotalSupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTotalSupplyRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryTotalSupplyRequest { - const message = createBaseQueryTotalSupplyRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { - return { - supply: [], - pagination: undefined - }; -} - -export const QueryTotalSupplyResponse = { - encode(message: QueryTotalSupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.supply) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTotalSupplyResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.supply.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTotalSupplyResponse { - const message = createBaseQueryTotalSupplyResponse(); - message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQuerySupplyOfRequest(): QuerySupplyOfRequest { - return { - denom: "" - }; -} - -export const QuerySupplyOfRequest = { - encode(message: QuerySupplyOfRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyOfRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySupplyOfRequest { - const message = createBaseQuerySupplyOfRequest(); - message.denom = object.denom ?? ""; - return message; - } - -}; - -function createBaseQuerySupplyOfResponse(): QuerySupplyOfResponse { - return { - amount: undefined - }; -} - -export const QuerySupplyOfResponse = { - encode(message: QuerySupplyOfResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyOfResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySupplyOfResponse { - const message = createBaseQuerySupplyOfResponse(); - message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { - return { - pagination: undefined - }; -} - -export const QueryDenomsMetadataRequest = { - encode(message: QueryDenomsMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomsMetadataRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryDenomsMetadataRequest { - const message = createBaseQueryDenomsMetadataRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { - return { - metadatas: [], - pagination: undefined - }; -} - -export const QueryDenomsMetadataResponse = { - encode(message: QueryDenomsMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.metadatas) { - Metadata.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomsMetadataResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.metadatas.push(Metadata.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomsMetadataResponse { - const message = createBaseQueryDenomsMetadataResponse(); - message.metadatas = object.metadatas?.map(e => Metadata.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDenomMetadataRequest(): QueryDenomMetadataRequest { - return { - denom: "" - }; -} - -export const QueryDenomMetadataRequest = { - encode(message: QueryDenomMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomMetadataRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomMetadataRequest { - const message = createBaseQueryDenomMetadataRequest(); - message.denom = object.denom ?? ""; - return message; - } - -}; - -function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { - return { - metadata: undefined - }; -} - -export const QueryDenomMetadataResponse = { - encode(message: QueryDenomMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metadata !== undefined) { - Metadata.encode(message.metadata, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomMetadataResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.metadata = Metadata.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomMetadataResponse { - const message = createBaseQueryDenomMetadataResponse(); - message.metadata = object.metadata !== undefined && object.metadata !== null ? Metadata.fromPartial(object.metadata) : undefined; - return message; - } - -}; - -function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { - return { - denom: "", - pagination: undefined - }; -} - -export const QueryDenomOwnersRequest = { - encode(message: QueryDenomOwnersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomOwnersRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomOwnersRequest { - const message = createBaseQueryDenomOwnersRequest(); - message.denom = object.denom ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseDenomOwner(): DenomOwner { - return { - address: "", - balance: undefined - }; -} - -export const DenomOwner = { - encode(message: DenomOwner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDenomOwner(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.balance = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DenomOwner { - const message = createBaseDenomOwner(); - message.address = object.address ?? ""; - message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; - return message; - } - -}; - -function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { - return { - denomOwners: [], - pagination: undefined - }; -} - -export const QueryDenomOwnersResponse = { - encode(message: QueryDenomOwnersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.denomOwners) { - DenomOwner.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomOwnersResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denomOwners.push(DenomOwner.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomOwnersResponse { - const message = createBaseQueryDenomOwnersResponse(); - message.denomOwners = object.denomOwners?.map(e => DenomOwner.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts deleted file mode 100644 index ea2280ee0..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgSend, MsgMultiSend } from "./tx"; -export interface AminoMsgSend extends AminoMsg { - type: "cosmos-sdk/MsgSend"; - value: { - from_address: string; - to_address: string; - amount: { - denom: string; - amount: string; - }[]; - }; -} -export interface AminoMsgMultiSend extends AminoMsg { - type: "cosmos-sdk/MsgMultiSend"; - value: { - inputs: { - address: string; - coins: { - denom: string; - amount: string; - }[]; - }[]; - outputs: { - address: string; - coins: { - denom: string; - amount: string; - }[]; - }[]; - }; -} -export const AminoConverter = { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: "cosmos-sdk/MsgSend", - toAmino: ({ - fromAddress, - toAddress, - amount - }: MsgSend): AminoMsgSend["value"] => { - return { - from_address: fromAddress, - to_address: toAddress, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - from_address, - to_address, - amount - }: AminoMsgSend["value"]): MsgSend => { - return { - fromAddress: from_address, - toAddress: to_address, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - }, - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: "cosmos-sdk/MsgMultiSend", - toAmino: ({ - inputs, - outputs - }: MsgMultiSend): AminoMsgMultiSend["value"] => { - return { - inputs: inputs.map(el0 => ({ - address: el0.address, - coins: el0.coins.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })), - outputs: outputs.map(el0 => ({ - address: el0.address, - coins: el0.coins.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })) - }; - }, - fromAmino: ({ - inputs, - outputs - }: AminoMsgMultiSend["value"]): MsgMultiSend => { - return { - inputs: inputs.map(el0 => ({ - address: el0.address, - coins: el0.coins.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })), - outputs: outputs.map(el0 => ({ - address: el0.address, - coins: el0.coins.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts deleted file mode 100644 index 5bc1dee0f..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts +++ /dev/null @@ -1,58 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.encode(value).finish() - }; - }, - - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.encode(value).finish() - }; - } - - }, - withTypeUrl: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value - }; - }, - - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value - }; - } - - }, - fromPartial: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.fromPartial(value) - }; - }, - - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 4112bb9d2..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.send = this.send.bind(this); - this.multiSend = this.multiSend.bind(this); - } - - send(request: MsgSend): Promise { - const data = MsgSend.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); - return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); - } - - multiSend(request: MsgMultiSend): Promise { - const data = MsgMultiSend.encode(request).finish(); - const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); - return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts deleted file mode 100644 index 8763f6b60..000000000 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, 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[]; -} -/** 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 {} -/** 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[]; -} -/** 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 {} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ - -export interface MsgMultiSendResponseSDKType {} - -function createBaseMsgSend(): MsgSend { - return { - fromAddress: "", - toAddress: "", - amount: [] - }; -} - -export const MsgSend = { - encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.fromAddress = reader.string(); - break; - - case 2: - message.toAddress = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSend { - const message = createBaseMsgSend(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgSendResponse(): MsgSendResponse { - return {}; -} - -export const MsgSendResponse = { - encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - } - -}; - -function createBaseMsgMultiSend(): MsgMultiSend { - return { - inputs: [], - outputs: [] - }; -} - -export const MsgMultiSend = { - encode(message: MsgMultiSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.inputs) { - Input.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.outputs) { - Output.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMultiSend(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.inputs.push(Input.decode(reader, reader.uint32())); - break; - - case 2: - message.outputs.push(Output.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgMultiSend { - const message = createBaseMsgMultiSend(); - message.inputs = object.inputs?.map(e => Input.fromPartial(e)) || []; - message.outputs = object.outputs?.map(e => Output.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgMultiSendResponse(): MsgMultiSendResponse { - return {}; -} - -export const MsgMultiSendResponse = { - encode(_: MsgMultiSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMultiSendResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgMultiSendResponse { - const message = createBaseMsgMultiSendResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts deleted file mode 100644 index d95c9ff4e..000000000 --- a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts +++ /dev/null @@ -1,1106 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventSDKType } from "../../../../tendermint/abci/types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * 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 | undefined; - /** - * 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 handler. 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[]; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ - -export interface TxResponseSDKType { - /** 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. - */ - - raw_log: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - - logs: ABCIMessageLogSDKType[]; - /** Additional information. May be non-deterministic. */ - - info: string; - /** Amount of gas requested for transaction. */ - - gas_wanted: Long; - /** Amount of gas consumed by transaction. */ - - gas_used: Long; - /** The request transaction bytes. */ - - tx?: AnySDKType | undefined; - /** - * 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 handler. 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: 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[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ - -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - - 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[]; -} -/** - * 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; -} -/** - * 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; -} -/** GasInfo defines tx execution gas context. */ - -export interface GasInfoSDKType { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gas_wanted: Long; - /** GasUsed is the amount of gas actually consumed. */ - - 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[]; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ - -export interface ResultSDKType { - /** - * 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: EventSDKType[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ - -export interface SimulationResponse { - gasInfo?: GasInfo | undefined; - result?: Result | undefined; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ - -export interface SimulationResponseSDKType { - gas_info?: GasInfoSDKType | undefined; - result?: ResultSDKType | undefined; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ - -/** @deprecated */ - -export interface MsgData { - msgType: string; - data: Uint8Array; -} -/** - * 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[]; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ - -export interface TxMsgDataSDKType { - /** data field is deprecated and not populated. */ - - /** @deprecated */ - data: MsgDataSDKType[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - - 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[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ - -export interface SearchTxsResultSDKType { - /** Count of all txs */ - total_count: Long; - /** Count of txs in current page */ - - count: Long; - /** Index of current page, start from 1 */ - - page_number: Long; - /** Count of total pages */ - - page_total: Long; - /** Max count txs per page */ - - limit: Long; - /** List of txs in current page */ - - txs: TxResponseSDKType[]; -} - -function createBaseTxResponse(): TxResponse { - return { - height: Long.ZERO, - txhash: "", - codespace: "", - code: 0, - data: "", - rawLog: "", - logs: [], - info: "", - gasWanted: Long.ZERO, - gasUsed: Long.ZERO, - tx: undefined, - timestamp: "", - events: [] - }; -} - -export const TxResponse = { - encode(message: TxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.txhash !== "") { - writer.uint32(18).string(message.txhash); - } - - if (message.codespace !== "") { - writer.uint32(26).string(message.codespace); - } - - if (message.code !== 0) { - writer.uint32(32).uint32(message.code); - } - - if (message.data !== "") { - writer.uint32(42).string(message.data); - } - - if (message.rawLog !== "") { - writer.uint32(50).string(message.rawLog); - } - - for (const v of message.logs) { - ABCIMessageLog.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (message.info !== "") { - writer.uint32(66).string(message.info); - } - - if (!message.gasWanted.isZero()) { - writer.uint32(72).int64(message.gasWanted); - } - - if (!message.gasUsed.isZero()) { - writer.uint32(80).int64(message.gasUsed); - } - - if (message.tx !== undefined) { - Any.encode(message.tx, writer.uint32(90).fork()).ldelim(); - } - - if (message.timestamp !== "") { - writer.uint32(98).string(message.timestamp); - } - - for (const v of message.events) { - Event.encode(v!, writer.uint32(106).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - case 2: - message.txhash = reader.string(); - break; - - case 3: - message.codespace = reader.string(); - break; - - case 4: - message.code = reader.uint32(); - break; - - case 5: - message.data = reader.string(); - break; - - case 6: - message.rawLog = reader.string(); - break; - - case 7: - message.logs.push(ABCIMessageLog.decode(reader, reader.uint32())); - break; - - case 8: - message.info = reader.string(); - break; - - case 9: - message.gasWanted = (reader.int64() as Long); - break; - - case 10: - message.gasUsed = (reader.int64() as Long); - break; - - case 11: - message.tx = Any.decode(reader, reader.uint32()); - break; - - case 12: - message.timestamp = reader.string(); - break; - - case 13: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxResponse { - const message = createBaseTxResponse(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.txhash = object.txhash ?? ""; - message.codespace = object.codespace ?? ""; - message.code = object.code ?? 0; - message.data = object.data ?? ""; - message.rawLog = object.rawLog ?? ""; - message.logs = object.logs?.map(e => ABCIMessageLog.fromPartial(e)) || []; - message.info = object.info ?? ""; - message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; - message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; - message.tx = object.tx !== undefined && object.tx !== null ? Any.fromPartial(object.tx) : undefined; - message.timestamp = object.timestamp ?? ""; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseABCIMessageLog(): ABCIMessageLog { - return { - msgIndex: 0, - log: "", - events: [] - }; -} - -export const ABCIMessageLog = { - encode(message: ABCIMessageLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgIndex !== 0) { - writer.uint32(8).uint32(message.msgIndex); - } - - if (message.log !== "") { - writer.uint32(18).string(message.log); - } - - for (const v of message.events) { - StringEvent.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseABCIMessageLog(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.msgIndex = reader.uint32(); - break; - - case 2: - message.log = reader.string(); - break; - - case 3: - message.events.push(StringEvent.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ABCIMessageLog { - const message = createBaseABCIMessageLog(); - message.msgIndex = object.msgIndex ?? 0; - message.log = object.log ?? ""; - message.events = object.events?.map(e => StringEvent.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseStringEvent(): StringEvent { - return { - type: "", - attributes: [] - }; -} - -export const StringEvent = { - encode(message: StringEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - - for (const v of message.attributes) { - Attribute.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStringEvent(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - - case 2: - message.attributes.push(Attribute.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StringEvent { - const message = createBaseStringEvent(); - message.type = object.type ?? ""; - message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseAttribute(): Attribute { - return { - key: "", - value: "" - }; -} - -export const Attribute = { - encode(message: Attribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Attribute { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAttribute(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - - case 2: - message.value = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Attribute { - const message = createBaseAttribute(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - } - -}; - -function createBaseGasInfo(): GasInfo { - return { - gasWanted: Long.UZERO, - gasUsed: Long.UZERO - }; -} - -export const GasInfo = { - encode(message: GasInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.gasWanted.isZero()) { - writer.uint32(8).uint64(message.gasWanted); - } - - if (!message.gasUsed.isZero()) { - writer.uint32(16).uint64(message.gasUsed); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGasInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.gasWanted = (reader.uint64() as Long); - break; - - case 2: - message.gasUsed = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GasInfo { - const message = createBaseGasInfo(); - message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; - message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.UZERO; - return message; - } - -}; - -function createBaseResult(): Result { - return { - data: new Uint8Array(), - log: "", - events: [], - msgResponses: [] - }; -} - -export const Result = { - encode(message: Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - if (message.log !== "") { - writer.uint32(18).string(message.log); - } - - for (const v of message.events) { - Event.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.msgResponses) { - Any.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Result { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - - case 2: - message.log = reader.string(); - break; - - case 3: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - case 4: - message.msgResponses.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Result { - const message = createBaseResult(); - message.data = object.data ?? new Uint8Array(); - message.log = object.log ?? ""; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSimulationResponse(): SimulationResponse { - return { - gasInfo: undefined, - result: undefined - }; -} - -export const SimulationResponse = { - encode(message: SimulationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.gasInfo !== undefined) { - GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); - } - - if (message.result !== undefined) { - Result.encode(message.result, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.gasInfo = GasInfo.decode(reader, reader.uint32()); - break; - - case 2: - message.result = Result.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SimulationResponse { - const message = createBaseSimulationResponse(); - message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; - message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; - return message; - } - -}; - -function createBaseMsgData(): MsgData { - return { - msgType: "", - data: new Uint8Array() - }; -} - -export const MsgData = { - encode(message: MsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgType !== "") { - writer.uint32(10).string(message.msgType); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.msgType = reader.string(); - break; - - case 2: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgData { - const message = createBaseMsgData(); - message.msgType = object.msgType ?? ""; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseTxMsgData(): TxMsgData { - return { - data: [], - msgResponses: [] - }; -} - -export const TxMsgData = { - encode(message: TxMsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.data) { - MsgData.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.msgResponses) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxMsgData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data.push(MsgData.decode(reader, reader.uint32())); - break; - - case 2: - message.msgResponses.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxMsgData { - const message = createBaseTxMsgData(); - message.data = object.data?.map(e => MsgData.fromPartial(e)) || []; - message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSearchTxsResult(): SearchTxsResult { - return { - totalCount: Long.UZERO, - count: Long.UZERO, - pageNumber: Long.UZERO, - pageTotal: Long.UZERO, - limit: Long.UZERO, - txs: [] - }; -} - -export const SearchTxsResult = { - encode(message: SearchTxsResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.totalCount.isZero()) { - writer.uint32(8).uint64(message.totalCount); - } - - if (!message.count.isZero()) { - writer.uint32(16).uint64(message.count); - } - - if (!message.pageNumber.isZero()) { - writer.uint32(24).uint64(message.pageNumber); - } - - if (!message.pageTotal.isZero()) { - writer.uint32(32).uint64(message.pageTotal); - } - - if (!message.limit.isZero()) { - writer.uint32(40).uint64(message.limit); - } - - for (const v of message.txs) { - TxResponse.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSearchTxsResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.totalCount = (reader.uint64() as Long); - break; - - case 2: - message.count = (reader.uint64() as Long); - break; - - case 3: - message.pageNumber = (reader.uint64() as Long); - break; - - case 4: - message.pageTotal = (reader.uint64() as Long); - break; - - case 5: - message.limit = (reader.uint64() as Long); - break; - - case 6: - message.txs.push(TxResponse.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SearchTxsResult { - const message = createBaseSearchTxsResult(); - message.totalCount = object.totalCount !== undefined && object.totalCount !== null ? Long.fromValue(object.totalCount) : Long.UZERO; - message.count = object.count !== undefined && object.count !== null ? Long.fromValue(object.count) : Long.UZERO; - message.pageNumber = object.pageNumber !== undefined && object.pageNumber !== null ? Long.fromValue(object.pageNumber) : Long.UZERO; - message.pageTotal = object.pageTotal !== undefined && object.pageTotal !== null ? Long.fromValue(object.pageTotal) : Long.UZERO; - message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; - message.txs = object.txs?.map(e => TxResponse.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts deleted file mode 100644 index 90713754f..000000000 --- a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts +++ /dev/null @@ -1,123 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** Pairs defines a repeated slice of Pair objects. */ - -export interface Pairs { - pairs: Pair[]; -} -/** 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; -} -/** Pair defines a key/value bytes tuple. */ - -export interface PairSDKType { - key: Uint8Array; - value: Uint8Array; -} - -function createBasePairs(): Pairs { - return { - pairs: [] - }; -} - -export const Pairs = { - encode(message: Pairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pairs) { - Pair.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Pairs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Pairs { - const message = createBasePairs(); - message.pairs = object.pairs?.map(e => Pair.fromPartial(e)) || []; - return message; - } - -}; - -function createBasePair(): Pair { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} - -export const Pair = { - encode(message: Pair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Pair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Pair { - const message = createBasePair(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts deleted file mode 100644 index b99bc3762..000000000 --- a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts +++ /dev/null @@ -1,282 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * 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; -} -/** - * 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 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. - */ - - 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; -} -/** - * 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; -} -/** - * 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 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: Long; -} - -function createBasePageRequest(): PageRequest { - return { - key: new Uint8Array(), - offset: Long.UZERO, - limit: Long.UZERO, - countTotal: false, - reverse: false - }; -} - -export const PageRequest = { - encode(message: PageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (!message.offset.isZero()) { - writer.uint32(16).uint64(message.offset); - } - - if (!message.limit.isZero()) { - writer.uint32(24).uint64(message.limit); - } - - if (message.countTotal === true) { - writer.uint32(32).bool(message.countTotal); - } - - if (message.reverse === true) { - writer.uint32(40).bool(message.reverse); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePageRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - case 2: - message.offset = (reader.uint64() as Long); - break; - - case 3: - message.limit = (reader.uint64() as Long); - break; - - case 4: - message.countTotal = reader.bool(); - break; - - case 5: - message.reverse = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PageRequest { - const message = createBasePageRequest(); - message.key = object.key ?? new Uint8Array(); - message.offset = object.offset !== undefined && object.offset !== null ? Long.fromValue(object.offset) : Long.UZERO; - message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; - message.countTotal = object.countTotal ?? false; - message.reverse = object.reverse ?? false; - return message; - } - -}; - -function createBasePageResponse(): PageResponse { - return { - nextKey: new Uint8Array(), - total: Long.UZERO - }; -} - -export const PageResponse = { - encode(message: PageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nextKey.length !== 0) { - writer.uint32(10).bytes(message.nextKey); - } - - if (!message.total.isZero()) { - writer.uint32(16).uint64(message.total); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePageResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.nextKey = reader.bytes(); - break; - - case 2: - message.total = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PageResponse { - const message = createBasePageResponse(); - message.nextKey = object.nextKey ?? new Uint8Array(); - message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts deleted file mode 100644 index 7846ab5e2..000000000 --- a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ /dev/null @@ -1,222 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ - -export interface ListAllInterfacesRequest {} -/** 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[]; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ - -export interface ListAllInterfacesResponseSDKType { - /** interface_names is an array of all the registered interfaces. */ - 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; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ - -export interface ListImplementationsRequestSDKType { - /** interface_name defines the interface to query the implementations for. */ - interface_name: string; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ - -export interface ListImplementationsResponse { - implementationMessageNames: string[]; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ - -export interface ListImplementationsResponseSDKType { - implementation_message_names: string[]; -} - -function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { - return {}; -} - -export const ListAllInterfacesRequest = { - encode(_: ListAllInterfacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): ListAllInterfacesRequest { - const message = createBaseListAllInterfacesRequest(); - return message; - } - -}; - -function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { - return { - interfaceNames: [] - }; -} - -export const ListAllInterfacesResponse = { - encode(message: ListAllInterfacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.interfaceNames) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): ListAllInterfacesResponse { - const message = createBaseListAllInterfacesResponse(); - message.interfaceNames = object.interfaceNames?.map(e => e) || []; - return message; - } - -}; - -function createBaseListImplementationsRequest(): ListImplementationsRequest { - return { - interfaceName: "" - }; -} - -export const ListImplementationsRequest = { - encode(message: ListImplementationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.interfaceName !== "") { - writer.uint32(10).string(message.interfaceName); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): ListImplementationsRequest { - const message = createBaseListImplementationsRequest(); - message.interfaceName = object.interfaceName ?? ""; - return message; - } - -}; - -function createBaseListImplementationsResponse(): ListImplementationsResponse { - return { - implementationMessageNames: [] - }; -} - -export const ListImplementationsResponse = { - encode(message: ListImplementationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.implementationMessageNames) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): ListImplementationsResponse { - const message = createBaseListImplementationsResponse(); - message.implementationMessageNames = object.implementationMessageNames?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts deleted file mode 100644 index 693dc5a95..000000000 --- a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ /dev/null @@ -1,1707 +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 | undefined; - /** chain provides the chain descriptor */ - - chain?: ChainDescriptor | undefined; - /** codec provides metadata information regarding codec related types */ - - codec?: CodecDescriptor | undefined; - /** configuration provides metadata information regarding the sdk.Config type */ - - configuration?: ConfigurationDescriptor | undefined; - /** query_services provides metadata information regarding the available queriable endpoints */ - - queryServices?: QueryServicesDescriptor | undefined; - /** tx provides metadata information regarding how to send transactions to the given application */ - - tx?: TxDescriptor | undefined; -} -/** AppDescriptor describes a cosmos-sdk based application */ - -export interface AppDescriptorSDKType { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn?: AuthnDescriptorSDKType | undefined; - /** chain provides the chain descriptor */ - - chain?: ChainDescriptorSDKType | undefined; - /** codec provides metadata information regarding codec related types */ - - codec?: CodecDescriptorSDKType | undefined; - /** configuration provides metadata information regarding the sdk.Config type */ - - configuration?: ConfigurationDescriptorSDKType | undefined; - /** query_services provides metadata information regarding the available queriable endpoints */ - - query_services?: QueryServicesDescriptorSDKType | undefined; - /** tx provides metadata information regarding how to send transactions to the given application */ - - tx?: TxDescriptorSDKType | undefined; -} -/** 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[]; -} -/** TxDescriptor describes the accepted transaction type */ - -export interface TxDescriptorSDKType { - /** - * 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: 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[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ - -export interface AuthnDescriptorSDKType { - /** sign_modes defines the supported signature algorithm */ - 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; -} -/** - * 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 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; -} -/** ChainDescriptor describes chain information of the application */ - -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -/** ChainDescriptor describes chain information of the application */ - -export interface ChainDescriptorSDKType { - /** id is the chain id */ - 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[]; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ - -export interface CodecDescriptorSDKType { - /** interfaces is a list of the registerted interfaces descriptors */ - 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[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ - -export interface InterfaceDescriptorSDKType { - /** 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: InterfaceAcceptingMessageDescriptorSDKType[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - - 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; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ - -export interface InterfaceImplementerDescriptorSDKType { - /** 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; -} -/** - * 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[]; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ - -export interface InterfaceAcceptingMessageDescriptorSDKType { - /** 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[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ - -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ - -export interface ConfigurationDescriptorSDKType { - /** bech32_account_address_prefix is the account address prefix */ - 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; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ - -export interface MsgDescriptorSDKType { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ - -export interface GetAuthnDescriptorRequest {} -/** 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 | undefined; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ - -export interface GetAuthnDescriptorResponseSDKType { - /** authn describes how to authenticate to the application when sending transactions */ - authn?: AuthnDescriptorSDKType | undefined; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ - -export interface GetChainDescriptorRequest {} -/** 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 | undefined; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ - -export interface GetChainDescriptorResponseSDKType { - /** chain describes application chain information */ - chain?: ChainDescriptorSDKType | undefined; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ - -export interface GetCodecDescriptorRequest {} -/** 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 | undefined; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ - -export interface GetCodecDescriptorResponseSDKType { - /** codec describes the application codec such as registered interfaces and implementations */ - codec?: CodecDescriptorSDKType | undefined; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ - -export interface GetConfigurationDescriptorRequest {} -/** 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 | undefined; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ - -export interface GetConfigurationDescriptorResponseSDKType { - /** config describes the application's sdk.Config */ - config?: ConfigurationDescriptorSDKType | undefined; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ - -export interface GetQueryServicesDescriptorRequest {} -/** 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 | undefined; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ - -export interface GetQueryServicesDescriptorResponseSDKType { - /** queries provides information on the available queryable services */ - queries?: QueryServicesDescriptorSDKType | undefined; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ - -export interface GetTxDescriptorRequest {} -/** 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 | undefined; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ - -export interface GetTxDescriptorResponseSDKType { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx?: TxDescriptorSDKType | undefined; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ - -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ - -export interface QueryServicesDescriptorSDKType { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - 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[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ - -export interface QueryServiceDescriptorSDKType { - /** 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: 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; -} -/** - * 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 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; -} - -function createBaseAppDescriptor(): AppDescriptor { - return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined - }; -} - -export const AppDescriptor = { - encode(message: AppDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authn !== undefined) { - AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); - } - - if (message.chain !== undefined) { - ChainDescriptor.encode(message.chain, writer.uint32(18).fork()).ldelim(); - } - - if (message.codec !== undefined) { - CodecDescriptor.encode(message.codec, writer.uint32(26).fork()).ldelim(); - } - - if (message.configuration !== undefined) { - ConfigurationDescriptor.encode(message.configuration, writer.uint32(34).fork()).ldelim(); - } - - if (message.queryServices !== undefined) { - QueryServicesDescriptor.encode(message.queryServices, writer.uint32(42).fork()).ldelim(); - } - - if (message.tx !== undefined) { - TxDescriptor.encode(message.tx, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAppDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.authn = AuthnDescriptor.decode(reader, reader.uint32()); - break; - - case 2: - message.chain = ChainDescriptor.decode(reader, reader.uint32()); - break; - - case 3: - message.codec = CodecDescriptor.decode(reader, reader.uint32()); - break; - - case 4: - message.configuration = ConfigurationDescriptor.decode(reader, reader.uint32()); - break; - - case 5: - message.queryServices = QueryServicesDescriptor.decode(reader, reader.uint32()); - break; - - case 6: - message.tx = TxDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AppDescriptor { - const message = createBaseAppDescriptor(); - message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; - message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; - message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; - message.configuration = object.configuration !== undefined && object.configuration !== null ? ConfigurationDescriptor.fromPartial(object.configuration) : undefined; - message.queryServices = object.queryServices !== undefined && object.queryServices !== null ? QueryServicesDescriptor.fromPartial(object.queryServices) : undefined; - message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; - return message; - } - -}; - -function createBaseTxDescriptor(): TxDescriptor { - return { - fullname: "", - msgs: [] - }; -} - -export const TxDescriptor = { - encode(message: TxDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - - for (const v of message.msgs) { - MsgDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - - case 2: - message.msgs.push(MsgDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxDescriptor { - const message = createBaseTxDescriptor(); - message.fullname = object.fullname ?? ""; - message.msgs = object.msgs?.map(e => MsgDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseAuthnDescriptor(): AuthnDescriptor { - return { - signModes: [] - }; -} - -export const AuthnDescriptor = { - encode(message: AuthnDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signModes) { - SigningModeDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthnDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signModes.push(SigningModeDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AuthnDescriptor { - const message = createBaseAuthnDescriptor(); - message.signModes = object.signModes?.map(e => SigningModeDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSigningModeDescriptor(): SigningModeDescriptor { - return { - name: "", - number: 0, - authnInfoProviderMethodFullname: "" - }; -} - -export const SigningModeDescriptor = { - encode(message: SigningModeDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.number !== 0) { - writer.uint32(16).int32(message.number); - } - - if (message.authnInfoProviderMethodFullname !== "") { - writer.uint32(26).string(message.authnInfoProviderMethodFullname); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSigningModeDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.number = reader.int32(); - break; - - case 3: - message.authnInfoProviderMethodFullname = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SigningModeDescriptor { - const message = createBaseSigningModeDescriptor(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.authnInfoProviderMethodFullname = object.authnInfoProviderMethodFullname ?? ""; - return message; - } - -}; - -function createBaseChainDescriptor(): ChainDescriptor { - return { - id: "" - }; -} - -export const ChainDescriptor = { - encode(message: ChainDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChainDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ChainDescriptor { - const message = createBaseChainDescriptor(); - message.id = object.id ?? ""; - return message; - } - -}; - -function createBaseCodecDescriptor(): CodecDescriptor { - return { - interfaces: [] - }; -} - -export const CodecDescriptor = { - encode(message: CodecDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.interfaces) { - InterfaceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodecDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.interfaces.push(InterfaceDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CodecDescriptor { - const message = createBaseCodecDescriptor(); - message.interfaces = object.interfaces?.map(e => InterfaceDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseInterfaceDescriptor(): InterfaceDescriptor { - return { - fullname: "", - interfaceAcceptingMessages: [], - interfaceImplementers: [] - }; -} - -export const InterfaceDescriptor = { - encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - - for (const v of message.interfaceAcceptingMessages) { - InterfaceAcceptingMessageDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.interfaceImplementers) { - InterfaceImplementerDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - - case 2: - message.interfaceAcceptingMessages.push(InterfaceAcceptingMessageDescriptor.decode(reader, reader.uint32())); - break; - - case 3: - message.interfaceImplementers.push(InterfaceImplementerDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InterfaceDescriptor { - const message = createBaseInterfaceDescriptor(); - message.fullname = object.fullname ?? ""; - message.interfaceAcceptingMessages = object.interfaceAcceptingMessages?.map(e => InterfaceAcceptingMessageDescriptor.fromPartial(e)) || []; - message.interfaceImplementers = object.interfaceImplementers?.map(e => InterfaceImplementerDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseInterfaceImplementerDescriptor(): InterfaceImplementerDescriptor { - return { - fullname: "", - typeUrl: "" - }; -} - -export const InterfaceImplementerDescriptor = { - encode(message: InterfaceImplementerDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - - if (message.typeUrl !== "") { - writer.uint32(18).string(message.typeUrl); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceImplementerDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - - case 2: - message.typeUrl = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InterfaceImplementerDescriptor { - const message = createBaseInterfaceImplementerDescriptor(); - message.fullname = object.fullname ?? ""; - message.typeUrl = object.typeUrl ?? ""; - return message; - } - -}; - -function createBaseInterfaceAcceptingMessageDescriptor(): InterfaceAcceptingMessageDescriptor { - return { - fullname: "", - fieldDescriptorNames: [] - }; -} - -export const InterfaceAcceptingMessageDescriptor = { - encode(message: InterfaceAcceptingMessageDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - - for (const v of message.fieldDescriptorNames) { - writer.uint32(18).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceAcceptingMessageDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - - case 2: - message.fieldDescriptorNames.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InterfaceAcceptingMessageDescriptor { - const message = createBaseInterfaceAcceptingMessageDescriptor(); - message.fullname = object.fullname ?? ""; - message.fieldDescriptorNames = object.fieldDescriptorNames?.map(e => e) || []; - return message; - } - -}; - -function createBaseConfigurationDescriptor(): ConfigurationDescriptor { - return { - bech32AccountAddressPrefix: "" - }; -} - -export const ConfigurationDescriptor = { - encode(message: ConfigurationDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bech32AccountAddressPrefix !== "") { - writer.uint32(10).string(message.bech32AccountAddressPrefix); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigurationDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bech32AccountAddressPrefix = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConfigurationDescriptor { - const message = createBaseConfigurationDescriptor(); - message.bech32AccountAddressPrefix = object.bech32AccountAddressPrefix ?? ""; - return message; - } - -}; - -function createBaseMsgDescriptor(): MsgDescriptor { - return { - msgTypeUrl: "" - }; -} - -export const MsgDescriptor = { - encode(message: MsgDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgTypeUrl !== "") { - writer.uint32(10).string(message.msgTypeUrl); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.msgTypeUrl = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgDescriptor { - const message = createBaseMsgDescriptor(); - message.msgTypeUrl = object.msgTypeUrl ?? ""; - return message; - } - -}; - -function createBaseGetAuthnDescriptorRequest(): GetAuthnDescriptorRequest { - return {}; -} - -export const GetAuthnDescriptorRequest = { - encode(_: GetAuthnDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetAuthnDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetAuthnDescriptorRequest { - const message = createBaseGetAuthnDescriptorRequest(); - return message; - } - -}; - -function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { - return { - authn: undefined - }; -} - -export const GetAuthnDescriptorResponse = { - encode(message: GetAuthnDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authn !== undefined) { - AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetAuthnDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.authn = AuthnDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetAuthnDescriptorResponse { - const message = createBaseGetAuthnDescriptorResponse(); - message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; - return message; - } - -}; - -function createBaseGetChainDescriptorRequest(): GetChainDescriptorRequest { - return {}; -} - -export const GetChainDescriptorRequest = { - encode(_: GetChainDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetChainDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetChainDescriptorRequest { - const message = createBaseGetChainDescriptorRequest(); - return message; - } - -}; - -function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { - return { - chain: undefined - }; -} - -export const GetChainDescriptorResponse = { - encode(message: GetChainDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.chain !== undefined) { - ChainDescriptor.encode(message.chain, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetChainDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.chain = ChainDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetChainDescriptorResponse { - const message = createBaseGetChainDescriptorResponse(); - message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; - return message; - } - -}; - -function createBaseGetCodecDescriptorRequest(): GetCodecDescriptorRequest { - return {}; -} - -export const GetCodecDescriptorRequest = { - encode(_: GetCodecDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetCodecDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetCodecDescriptorRequest { - const message = createBaseGetCodecDescriptorRequest(); - return message; - } - -}; - -function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { - return { - codec: undefined - }; -} - -export const GetCodecDescriptorResponse = { - encode(message: GetCodecDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codec !== undefined) { - CodecDescriptor.encode(message.codec, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetCodecDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codec = CodecDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetCodecDescriptorResponse { - const message = createBaseGetCodecDescriptorResponse(); - message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; - return message; - } - -}; - -function createBaseGetConfigurationDescriptorRequest(): GetConfigurationDescriptorRequest { - return {}; -} - -export const GetConfigurationDescriptorRequest = { - encode(_: GetConfigurationDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConfigurationDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetConfigurationDescriptorRequest { - const message = createBaseGetConfigurationDescriptorRequest(); - return message; - } - -}; - -function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { - return { - config: undefined - }; -} - -export const GetConfigurationDescriptorResponse = { - encode(message: GetConfigurationDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.config !== undefined) { - ConfigurationDescriptor.encode(message.config, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConfigurationDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.config = ConfigurationDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetConfigurationDescriptorResponse { - const message = createBaseGetConfigurationDescriptorResponse(); - message.config = object.config !== undefined && object.config !== null ? ConfigurationDescriptor.fromPartial(object.config) : undefined; - return message; - } - -}; - -function createBaseGetQueryServicesDescriptorRequest(): GetQueryServicesDescriptorRequest { - return {}; -} - -export const GetQueryServicesDescriptorRequest = { - encode(_: GetQueryServicesDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetQueryServicesDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetQueryServicesDescriptorRequest { - const message = createBaseGetQueryServicesDescriptorRequest(); - return message; - } - -}; - -function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { - return { - queries: undefined - }; -} - -export const GetQueryServicesDescriptorResponse = { - encode(message: GetQueryServicesDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.queries !== undefined) { - QueryServicesDescriptor.encode(message.queries, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetQueryServicesDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.queries = QueryServicesDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetQueryServicesDescriptorResponse { - const message = createBaseGetQueryServicesDescriptorResponse(); - message.queries = object.queries !== undefined && object.queries !== null ? QueryServicesDescriptor.fromPartial(object.queries) : undefined; - return message; - } - -}; - -function createBaseGetTxDescriptorRequest(): GetTxDescriptorRequest { - return {}; -} - -export const GetTxDescriptorRequest = { - encode(_: GetTxDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxDescriptorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): GetTxDescriptorRequest { - const message = createBaseGetTxDescriptorRequest(); - return message; - } - -}; - -function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { - return { - tx: undefined - }; -} - -export const GetTxDescriptorResponse = { - encode(message: GetTxDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - TxDescriptor.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxDescriptorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tx = TxDescriptor.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetTxDescriptorResponse { - const message = createBaseGetTxDescriptorResponse(); - message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; - return message; - } - -}; - -function createBaseQueryServicesDescriptor(): QueryServicesDescriptor { - return { - queryServices: [] - }; -} - -export const QueryServicesDescriptor = { - encode(message: QueryServicesDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.queryServices) { - QueryServiceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryServicesDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.queryServices.push(QueryServiceDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryServicesDescriptor { - const message = createBaseQueryServicesDescriptor(); - message.queryServices = object.queryServices?.map(e => QueryServiceDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseQueryServiceDescriptor(): QueryServiceDescriptor { - return { - fullname: "", - isModule: false, - methods: [] - }; -} - -export const QueryServiceDescriptor = { - encode(message: QueryServiceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - - if (message.isModule === true) { - writer.uint32(16).bool(message.isModule); - } - - for (const v of message.methods) { - QueryMethodDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryServiceDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - - case 2: - message.isModule = reader.bool(); - break; - - case 3: - message.methods.push(QueryMethodDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryServiceDescriptor { - const message = createBaseQueryServiceDescriptor(); - message.fullname = object.fullname ?? ""; - message.isModule = object.isModule ?? false; - message.methods = object.methods?.map(e => QueryMethodDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseQueryMethodDescriptor(): QueryMethodDescriptor { - return { - name: "", - fullQueryPath: "" - }; -} - -export const QueryMethodDescriptor = { - encode(message: QueryMethodDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.fullQueryPath !== "") { - writer.uint32(18).string(message.fullQueryPath); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryMethodDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.fullQueryPath = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryMethodDescriptor { - const message = createBaseQueryMethodDescriptor(); - message.name = object.name ?? ""; - message.fullQueryPath = object.fullQueryPath ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts deleted file mode 100644 index 3c4d0f0e4..000000000 --- a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ /dev/null @@ -1,675 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** Snapshot contains Tendermint state sync snapshot info. */ - -export interface Snapshot { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: Metadata | undefined; -} -/** Snapshot contains Tendermint state sync snapshot info. */ - -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: MetadataSDKType | undefined; -} -/** Metadata contains SDK-specific snapshot metadata. */ - -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -/** Metadata contains SDK-specific snapshot metadata. */ - -export interface MetadataSDKType { - /** SHA-256 chunk hashes */ - chunk_hashes: Uint8Array[]; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ - -export interface SnapshotItem { - store?: SnapshotStoreItem | undefined; - iavl?: SnapshotIAVLItem | undefined; - extension?: SnapshotExtensionMeta | undefined; - extensionPayload?: SnapshotExtensionPayload | undefined; - kv?: SnapshotKVItem | undefined; - schema?: SnapshotSchema | undefined; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ - -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType | undefined; - iavl?: SnapshotIAVLItemSDKType | undefined; - extension?: SnapshotExtensionMetaSDKType | undefined; - extension_payload?: SnapshotExtensionPayloadSDKType | undefined; - kv?: SnapshotKVItemSDKType | undefined; - schema?: SnapshotSchemaSDKType | undefined; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ - -export interface SnapshotStoreItem { - name: string; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ - -export interface SnapshotStoreItemSDKType { - name: string; -} -/** SnapshotIAVLItem is an exported IAVL node. */ - -export interface SnapshotIAVLItem { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - - version: Long; - /** height is depth of the tree. */ - - height: number; -} -/** SnapshotIAVLItem is an exported IAVL node. */ - -export interface SnapshotIAVLItemSDKType { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - - version: Long; - /** height is depth of the tree. */ - - height: number; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ - -export interface SnapshotExtensionMeta { - name: string; - format: number; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ - -export interface SnapshotExtensionMetaSDKType { - name: string; - format: number; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ - -export interface SnapshotExtensionPayload { - payload: Uint8Array; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ - -export interface SnapshotExtensionPayloadSDKType { - payload: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ - -export interface SnapshotKVItem { - key: Uint8Array; - value: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ - -export interface SnapshotKVItemSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** SnapshotSchema is an exported schema of smt store */ - -export interface SnapshotSchema { - keys: Uint8Array[]; -} -/** SnapshotSchema is an exported schema of smt store */ - -export interface SnapshotSchemaSDKType { - keys: Uint8Array[]; -} - -function createBaseSnapshot(): Snapshot { - return { - height: Long.UZERO, - format: 0, - chunks: 0, - hash: new Uint8Array(), - metadata: undefined - }; -} - -export const Snapshot = { - encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - 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: _m0.Reader | Uint8Array, length?: number): Snapshot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - 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; - }, - - fromPartial(object: Partial): Snapshot { - const message = createBaseSnapshot(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; - 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; - } - -}; - -function createBaseMetadata(): Metadata { - return { - chunkHashes: [] - }; -} - -export const Metadata = { - encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.chunkHashes) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Metadata { - const message = createBaseMetadata(); - message.chunkHashes = object.chunkHashes?.map(e => e) || []; - return message; - } - -}; - -function createBaseSnapshotItem(): SnapshotItem { - return { - store: undefined, - iavl: undefined, - extension: undefined, - extensionPayload: undefined, - kv: undefined, - schema: undefined - }; -} - -export const SnapshotItem = { - encode(message: SnapshotItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): SnapshotItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseSnapshotStoreItem(): SnapshotStoreItem { - return { - name: "" - }; -} - -export const SnapshotStoreItem = { - encode(message: SnapshotStoreItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): SnapshotStoreItem { - const message = createBaseSnapshotStoreItem(); - message.name = object.name ?? ""; - return message; - } - -}; - -function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { - return { - key: new Uint8Array(), - value: new Uint8Array(), - version: Long.ZERO, - height: 0 - }; -} - -export const SnapshotIAVLItem = { - encode(message: SnapshotIAVLItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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.isZero()) { - writer.uint32(24).int64(message.version); - } - - if (message.height !== 0) { - writer.uint32(32).int32(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 4: - message.height = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Long.fromValue(object.version) : Long.ZERO; - message.height = object.height ?? 0; - return message; - } - -}; - -function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { - return { - name: "", - format: 0 - }; -} - -export const SnapshotExtensionMeta = { - encode(message: SnapshotExtensionMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): SnapshotExtensionMeta { - const message = createBaseSnapshotExtensionMeta(); - message.name = object.name ?? ""; - message.format = object.format ?? 0; - return message; - } - -}; - -function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { - return { - payload: new Uint8Array() - }; -} - -export const SnapshotExtensionPayload = { - encode(message: SnapshotExtensionPayload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.payload.length !== 0) { - writer.uint32(10).bytes(message.payload); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): SnapshotExtensionPayload { - const message = createBaseSnapshotExtensionPayload(); - message.payload = object.payload ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSnapshotKVItem(): SnapshotKVItem { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} - -export const SnapshotKVItem = { - encode(message: SnapshotKVItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): SnapshotKVItem { - const message = createBaseSnapshotKVItem(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSnapshotSchema(): SnapshotSchema { - return { - keys: [] - }; -} - -export const SnapshotSchema = { - encode(message: SnapshotSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.keys) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): SnapshotSchema { - const message = createBaseSnapshotSchema(); - message.keys = object.keys?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts deleted file mode 100644 index 5e7599aa6..000000000 --- a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ /dev/null @@ -1,221 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ - -export interface CommitInfo { - version: Long; - storeInfos: StoreInfo[]; -} -/** - * 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 | undefined; -} -/** - * 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 | undefined; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ - -export interface CommitID { - version: Long; - hash: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ - -export interface CommitIDSDKType { - version: Long; - hash: Uint8Array; -} - -function createBaseCommitInfo(): CommitInfo { - return { - version: Long.ZERO, - storeInfos: [] - }; -} - -export const CommitInfo = { - encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.version.isZero()) { - writer.uint32(8).int64(message.version); - } - - for (const v of message.storeInfos) { - StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.storeInfos.push(StoreInfo.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommitInfo { - const message = createBaseCommitInfo(); - message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.ZERO; - message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseStoreInfo(): StoreInfo { - return { - name: "", - commitId: undefined - }; -} - -export const StoreInfo = { - encode(message: StoreInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): StoreInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseCommitID(): CommitID { - return { - version: Long.ZERO, - hash: new Uint8Array() - }; -} - -export const CommitID = { - encode(message: CommitID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.version.isZero()) { - writer.uint32(8).int64(message.version); - } - - if (message.hash.length !== 0) { - writer.uint32(18).bytes(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommitID { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.hash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommitID { - const message = createBaseCommitID(); - message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.ZERO; - message.hash = object.hash ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts deleted file mode 100644 index 9ca6d2365..000000000 --- a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts +++ /dev/null @@ -1,110 +0,0 @@ -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; -} -/** - * 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 { - /** 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; -} - -function createBaseStoreKVPair(): StoreKVPair { - return { - storeKey: "", - delete: false, - key: new Uint8Array(), - value: new Uint8Array() - }; -} - -export const StoreKVPair = { - encode(message: StoreKVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): StoreKVPair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts deleted file mode 100644 index 831fcf2c7..000000000 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } 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); - } - /* 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); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts deleted file mode 100644 index 3426fab27..000000000 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } 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; -} -export class QueryClientImpl 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); - } - - 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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(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); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts deleted file mode 100644 index e2fdee33e..000000000 --- a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ /dev/null @@ -1,1055 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../../tendermint/types/block"; -import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** 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 | undefined; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightRequestSDKType { - height: Long; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetRequestSDKType { - /** pagination defines an pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** Validator is the type for the validator-set. */ - -export interface Validator { - address: string; - pubKey?: Any | undefined; - votingPower: Long; - proposerPriority: Long; -} -/** Validator is the type for the validator-set. */ - -export interface ValidatorSDKType { - address: string; - pub_key?: AnySDKType | undefined; - voting_power: Long; - proposer_priority: Long; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ - -export interface GetBlockByHeightRequest { - height: Long; -} -/** 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 | undefined; - block?: Block | undefined; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ - -export interface GetBlockByHeightResponseSDKType { - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ - -export interface GetLatestBlockRequest {} -/** 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 | undefined; - block?: Block | undefined; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ - -export interface GetLatestBlockResponseSDKType { - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ - -export interface GetSyncingRequest {} -/** 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; -} -/** 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 {} -/** 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 { - nodeInfo?: NodeInfo | undefined; - applicationVersion?: VersionInfo | undefined; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ - -export interface GetNodeInfoResponseSDKType { - node_info?: NodeInfoSDKType | undefined; - application_version?: VersionInfoSDKType | undefined; -} -/** 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; -} -/** 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[]; - /** Since: cosmos-sdk 0.43 */ - - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ - -export interface Module { - /** module path */ - path: string; - /** module version */ - - version: string; - /** checksum */ - - sum: string; -} -/** Module is the type for VersionInfo */ - -export interface ModuleSDKType { - /** module path */ - path: string; - /** module version */ - - version: string; - /** checksum */ - - sum: string; -} - -function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { - return { - height: Long.ZERO, - pagination: undefined - }; -} - -export const GetValidatorSetByHeightRequest = { - encode(message: GetValidatorSetByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetValidatorSetByHeightRequest { - const message = createBaseGetValidatorSetByHeightRequest(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { - return { - blockHeight: Long.ZERO, - validators: [], - pagination: undefined - }; -} - -export const GetValidatorSetByHeightResponse = { - encode(message: GetValidatorSetByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - 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: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - 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; - }, - - fromPartial(object: Partial): GetValidatorSetByHeightResponse { - const message = createBaseGetValidatorSetByHeightResponse(); - message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.ZERO; - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { - return { - pagination: undefined - }; -} - -export const GetLatestValidatorSetRequest = { - encode(message: GetLatestValidatorSetRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): GetLatestValidatorSetRequest { - const message = createBaseGetLatestValidatorSetRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { - return { - blockHeight: Long.ZERO, - validators: [], - pagination: undefined - }; -} - -export const GetLatestValidatorSetResponse = { - encode(message: GetLatestValidatorSetResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - 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: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - 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; - }, - - fromPartial(object: Partial): GetLatestValidatorSetResponse { - const message = createBaseGetLatestValidatorSetResponse(); - message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.ZERO; - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseValidator(): Validator { - return { - address: "", - pubKey: undefined, - votingPower: Long.ZERO, - proposerPriority: Long.ZERO - }; -} - -export const Validator = { - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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.isZero()) { - writer.uint32(24).int64(message.votingPower); - } - - if (!message.proposerPriority.isZero()) { - writer.uint32(32).int64(message.proposerPriority); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 4: - message.proposerPriority = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Long.fromValue(object.votingPower) : Long.ZERO; - message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; - return message; - } - -}; - -function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { - return { - height: Long.ZERO - }; -} - -export const GetBlockByHeightRequest = { - encode(message: GetBlockByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetBlockByHeightRequest { - const message = createBaseGetBlockByHeightRequest(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - return message; - } - -}; - -function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { - return { - blockId: undefined, - block: undefined - }; -} - -export const GetBlockByHeightResponse = { - encode(message: GetBlockByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Block.fromPartial(object.block) : undefined; - return message; - } - -}; - -function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { - return {}; -} - -export const GetLatestBlockRequest = { - encode(_: GetLatestBlockRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): GetLatestBlockRequest { - const message = createBaseGetLatestBlockRequest(); - return message; - } - -}; - -function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { - return { - blockId: undefined, - block: undefined - }; -} - -export const GetLatestBlockResponse = { - encode(message: GetLatestBlockResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Block.fromPartial(object.block) : undefined; - return message; - } - -}; - -function createBaseGetSyncingRequest(): GetSyncingRequest { - return {}; -} - -export const GetSyncingRequest = { - encode(_: GetSyncingRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): GetSyncingRequest { - const message = createBaseGetSyncingRequest(); - return message; - } - -}; - -function createBaseGetSyncingResponse(): GetSyncingResponse { - return { - syncing: false - }; -} - -export const GetSyncingResponse = { - encode(message: GetSyncingResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.syncing === true) { - writer.uint32(8).bool(message.syncing); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): GetSyncingResponse { - const message = createBaseGetSyncingResponse(); - message.syncing = object.syncing ?? false; - return message; - } - -}; - -function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { - return {}; -} - -export const GetNodeInfoRequest = { - encode(_: GetNodeInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): GetNodeInfoRequest { - const message = createBaseGetNodeInfoRequest(); - return message; - } - -}; - -function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { - return { - nodeInfo: undefined, - applicationVersion: undefined - }; -} - -export const GetNodeInfoResponse = { - encode(message: GetNodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nodeInfo !== undefined) { - NodeInfo.encode(message.nodeInfo, writer.uint32(10).fork()).ldelim(); - } - - if (message.applicationVersion !== undefined) { - VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.nodeInfo = NodeInfo.decode(reader, reader.uint32()); - break; - - case 2: - message.applicationVersion = VersionInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetNodeInfoResponse { - const message = createBaseGetNodeInfoResponse(); - message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; - message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined; - return message; - } - -}; - -function createBaseVersionInfo(): VersionInfo { - return { - name: "", - appName: "", - version: "", - gitCommit: "", - buildTags: "", - goVersion: "", - buildDeps: [], - cosmosSdkVersion: "" - }; -} - -export const VersionInfo = { - encode(message: VersionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): VersionInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseModule(): Module { - return { - path: "", - version: "", - sum: "" - }; -} - -export const Module = { - encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Module { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Module { - const message = createBaseModule(); - message.path = object.path ?? ""; - message.version = object.version ?? ""; - message.sum = object.sum ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts deleted file mode 100644 index 9b5b3269c..000000000 --- a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts +++ /dev/null @@ -1,265 +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; -} -/** - * 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; -} -/** - * 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; -} -/** 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; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ - -export interface DecProtoSDKType { - dec: string; -} - -function createBaseCoin(): Coin { - return { - denom: "", - amount: "" - }; -} - -export const Coin = { - encode(message: Coin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.amount !== "") { - writer.uint32(18).string(message.amount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Coin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCoin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.amount = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Coin { - const message = createBaseCoin(); - message.denom = object.denom ?? ""; - message.amount = object.amount ?? ""; - return message; - } - -}; - -function createBaseDecCoin(): DecCoin { - return { - denom: "", - amount: "" - }; -} - -export const DecCoin = { - encode(message: DecCoin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.amount !== "") { - writer.uint32(18).string(message.amount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecCoin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.amount = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DecCoin { - const message = createBaseDecCoin(); - message.denom = object.denom ?? ""; - message.amount = object.amount ?? ""; - return message; - } - -}; - -function createBaseIntProto(): IntProto { - return { - int: "" - }; -} - -export const IntProto = { - encode(message: IntProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.int !== "") { - writer.uint32(10).string(message.int); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): IntProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIntProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.int = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): IntProto { - const message = createBaseIntProto(); - message.int = object.int ?? ""; - return message; - } - -}; - -function createBaseDecProto(): DecProto { - return { - dec: "" - }; -} - -export const DecProto = { - encode(message: DecProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.dec !== "") { - writer.uint32(10).string(message.dec); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DecProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.dec = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DecProto { - const message = createBaseDecProto(); - message.dec = object.dec ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts deleted file mode 100644 index d8008841a..000000000 --- a/examples/telescope/codegen/cosmos/bundle.ts +++ /dev/null @@ -1,455 +0,0 @@ -import * as _2 from "./app/v1alpha1/config"; -import * as _3 from "./app/v1alpha1/module"; -import * as _4 from "./app/v1alpha1/query"; -import * as _5 from "./auth/v1beta1/auth"; -import * as _6 from "./auth/v1beta1/genesis"; -import * as _7 from "./auth/v1beta1/query"; -import * as _8 from "./authz/v1beta1/authz"; -import * as _9 from "./authz/v1beta1/event"; -import * as _10 from "./authz/v1beta1/genesis"; -import * as _11 from "./authz/v1beta1/query"; -import * as _12 from "./authz/v1beta1/tx"; -import * as _13 from "./bank/v1beta1/authz"; -import * as _14 from "./bank/v1beta1/bank"; -import * as _15 from "./bank/v1beta1/genesis"; -import * as _16 from "./bank/v1beta1/query"; -import * as _17 from "./bank/v1beta1/tx"; -import * as _18 from "./base/abci/v1beta1/abci"; -import * as _19 from "./base/kv/v1beta1/kv"; -import * as _20 from "./base/query/v1beta1/pagination"; -import * as _21 from "./base/reflection/v1beta1/reflection"; -import * as _22 from "./base/reflection/v2alpha1/reflection"; -import * as _23 from "./base/snapshots/v1beta1/snapshot"; -import * as _24 from "./base/store/v1beta1/commit_info"; -import * as _25 from "./base/store/v1beta1/listening"; -import * as _26 from "./base/tendermint/v1beta1/query"; -import * as _27 from "./base/v1beta1/coin"; -import * as _28 from "./capability/v1beta1/capability"; -import * as _29 from "./capability/v1beta1/genesis"; -import * as _30 from "./crisis/v1beta1/genesis"; -import * as _31 from "./crisis/v1beta1/tx"; -import * as _32 from "./crypto/ed25519/keys"; -import * as _33 from "./crypto/hd/v1/hd"; -import * as _34 from "./crypto/keyring/v1/record"; -import * as _35 from "./crypto/multisig/keys"; -import * as _36 from "./crypto/secp256k1/keys"; -import * as _37 from "./crypto/secp256r1/keys"; -import * as _38 from "./distribution/v1beta1/distribution"; -import * as _39 from "./distribution/v1beta1/genesis"; -import * as _40 from "./distribution/v1beta1/query"; -import * as _41 from "./distribution/v1beta1/tx"; -import * as _42 from "./evidence/v1beta1/evidence"; -import * as _43 from "./evidence/v1beta1/genesis"; -import * as _44 from "./evidence/v1beta1/query"; -import * as _45 from "./evidence/v1beta1/tx"; -import * as _46 from "./feegrant/v1beta1/feegrant"; -import * as _47 from "./feegrant/v1beta1/genesis"; -import * as _48 from "./feegrant/v1beta1/query"; -import * as _49 from "./feegrant/v1beta1/tx"; -import * as _50 from "./genutil/v1beta1/genesis"; -import * as _51 from "./gov/v1/genesis"; -import * as _52 from "./gov/v1/gov"; -import * as _53 from "./gov/v1/query"; -import * as _54 from "./gov/v1/tx"; -import * as _55 from "./gov/v1beta1/genesis"; -import * as _56 from "./gov/v1beta1/gov"; -import * as _57 from "./gov/v1beta1/query"; -import * as _58 from "./gov/v1beta1/tx"; -import * as _59 from "./group/v1/events"; -import * as _60 from "./group/v1/genesis"; -import * as _61 from "./group/v1/query"; -import * as _62 from "./group/v1/tx"; -import * as _63 from "./group/v1/types"; -import * as _64 from "./mint/v1beta1/genesis"; -import * as _65 from "./mint/v1beta1/mint"; -import * as _66 from "./mint/v1beta1/query"; -import * as _67 from "./msg/v1/msg"; -import * as _68 from "./nft/v1beta1/event"; -import * as _69 from "./nft/v1beta1/genesis"; -import * as _70 from "./nft/v1beta1/nft"; -import * as _71 from "./nft/v1beta1/query"; -import * as _72 from "./nft/v1beta1/tx"; -import * as _73 from "./orm/v1/orm"; -import * as _74 from "./orm/v1alpha1/schema"; -import * as _75 from "./params/v1beta1/params"; -import * as _76 from "./params/v1beta1/query"; -import * as _77 from "./slashing/v1beta1/genesis"; -import * as _78 from "./slashing/v1beta1/query"; -import * as _79 from "./slashing/v1beta1/slashing"; -import * as _80 from "./slashing/v1beta1/tx"; -import * as _81 from "./staking/v1beta1/authz"; -import * as _82 from "./staking/v1beta1/genesis"; -import * as _83 from "./staking/v1beta1/query"; -import * as _84 from "./staking/v1beta1/staking"; -import * as _85 from "./staking/v1beta1/tx"; -import * as _86 from "./tx/signing/v1beta1/signing"; -import * as _87 from "./tx/v1beta1/service"; -import * as _88 from "./tx/v1beta1/tx"; -import * as _89 from "./upgrade/v1beta1/query"; -import * as _90 from "./upgrade/v1beta1/tx"; -import * as _91 from "./upgrade/v1beta1/upgrade"; -import * as _92 from "./vesting/v1beta1/tx"; -import * as _93 from "./vesting/v1beta1/vesting"; -import * as _143 from "./authz/v1beta1/tx.amino"; -import * as _144 from "./bank/v1beta1/tx.amino"; -import * as _145 from "./crisis/v1beta1/tx.amino"; -import * as _146 from "./distribution/v1beta1/tx.amino"; -import * as _147 from "./evidence/v1beta1/tx.amino"; -import * as _148 from "./feegrant/v1beta1/tx.amino"; -import * as _149 from "./gov/v1/tx.amino"; -import * as _150 from "./gov/v1beta1/tx.amino"; -import * as _151 from "./group/v1/tx.amino"; -import * as _152 from "./nft/v1beta1/tx.amino"; -import * as _153 from "./slashing/v1beta1/tx.amino"; -import * as _154 from "./staking/v1beta1/tx.amino"; -import * as _155 from "./upgrade/v1beta1/tx.amino"; -import * as _156 from "./vesting/v1beta1/tx.amino"; -import * as _157 from "./authz/v1beta1/tx.registry"; -import * as _158 from "./bank/v1beta1/tx.registry"; -import * as _159 from "./crisis/v1beta1/tx.registry"; -import * as _160 from "./distribution/v1beta1/tx.registry"; -import * as _161 from "./evidence/v1beta1/tx.registry"; -import * as _162 from "./feegrant/v1beta1/tx.registry"; -import * as _163 from "./gov/v1/tx.registry"; -import * as _164 from "./gov/v1beta1/tx.registry"; -import * as _165 from "./group/v1/tx.registry"; -import * as _166 from "./nft/v1beta1/tx.registry"; -import * as _167 from "./slashing/v1beta1/tx.registry"; -import * as _168 from "./staking/v1beta1/tx.registry"; -import * as _169 from "./upgrade/v1beta1/tx.registry"; -import * as _170 from "./vesting/v1beta1/tx.registry"; -import * as _171 from "./auth/v1beta1/query.lcd"; -import * as _172 from "./authz/v1beta1/query.lcd"; -import * as _173 from "./bank/v1beta1/query.lcd"; -import * as _174 from "./base/tendermint/v1beta1/query.lcd"; -import * as _175 from "./distribution/v1beta1/query.lcd"; -import * as _176 from "./evidence/v1beta1/query.lcd"; -import * as _177 from "./feegrant/v1beta1/query.lcd"; -import * as _178 from "./gov/v1/query.lcd"; -import * as _179 from "./gov/v1beta1/query.lcd"; -import * as _180 from "./group/v1/query.lcd"; -import * as _181 from "./mint/v1beta1/query.lcd"; -import * as _182 from "./nft/v1beta1/query.lcd"; -import * as _183 from "./params/v1beta1/query.lcd"; -import * as _184 from "./slashing/v1beta1/query.lcd"; -import * as _185 from "./staking/v1beta1/query.lcd"; -import * as _186 from "./tx/v1beta1/service.lcd"; -import * as _187 from "./upgrade/v1beta1/query.lcd"; -import * as _188 from "./app/v1alpha1/query.rpc.query"; -import * as _189 from "./auth/v1beta1/query.rpc.query"; -import * as _190 from "./authz/v1beta1/query.rpc.query"; -import * as _191 from "./bank/v1beta1/query.rpc.query"; -import * as _192 from "./base/tendermint/v1beta1/query.rpc.svc"; -import * as _193 from "./distribution/v1beta1/query.rpc.query"; -import * as _194 from "./evidence/v1beta1/query.rpc.query"; -import * as _195 from "./feegrant/v1beta1/query.rpc.query"; -import * as _196 from "./gov/v1/query.rpc.query"; -import * as _197 from "./gov/v1beta1/query.rpc.query"; -import * as _198 from "./group/v1/query.rpc.query"; -import * as _199 from "./mint/v1beta1/query.rpc.query"; -import * as _200 from "./nft/v1beta1/query.rpc.query"; -import * as _201 from "./params/v1beta1/query.rpc.query"; -import * as _202 from "./slashing/v1beta1/query.rpc.query"; -import * as _203 from "./staking/v1beta1/query.rpc.query"; -import * as _204 from "./tx/v1beta1/service.rpc.svc"; -import * as _205 from "./upgrade/v1beta1/query.rpc.query"; -import * as _206 from "./authz/v1beta1/tx.rpc.msg"; -import * as _207 from "./bank/v1beta1/tx.rpc.msg"; -import * as _208 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _209 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _210 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _211 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _212 from "./gov/v1/tx.rpc.msg"; -import * as _213 from "./gov/v1beta1/tx.rpc.msg"; -import * as _214 from "./group/v1/tx.rpc.msg"; -import * as _215 from "./nft/v1beta1/tx.rpc.msg"; -import * as _216 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _217 from "./staking/v1beta1/tx.rpc.msg"; -import * as _218 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _219 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _246 from "./lcd"; -import * as _247 from "./rpc.query"; -import * as _248 from "./rpc.tx"; -export namespace cosmos { - export namespace app { - export const v1alpha1 = { ..._2, - ..._3, - ..._4, - ..._188 - }; - } - export namespace auth { - export const v1beta1 = { ..._5, - ..._6, - ..._7, - ..._171, - ..._189 - }; - } - export namespace authz { - export const v1beta1 = { ..._8, - ..._9, - ..._10, - ..._11, - ..._12, - ..._143, - ..._157, - ..._172, - ..._190, - ..._206 - }; - } - export namespace bank { - export const v1beta1 = { ..._13, - ..._14, - ..._15, - ..._16, - ..._17, - ..._144, - ..._158, - ..._173, - ..._191, - ..._207 - }; - } - export namespace base { - export namespace abci { - export const v1beta1 = { ..._18 - }; - } - export namespace kv { - export const v1beta1 = { ..._19 - }; - } - export namespace query { - export const v1beta1 = { ..._20 - }; - } - export namespace reflection { - export const v1beta1 = { ..._21 - }; - export const v2alpha1 = { ..._22 - }; - } - export namespace snapshots { - export const v1beta1 = { ..._23 - }; - } - export namespace store { - export const v1beta1 = { ..._24, - ..._25 - }; - } - export namespace tendermint { - export const v1beta1 = { ..._26, - ..._174, - ..._192 - }; - } - export const v1beta1 = { ..._27 - }; - } - export namespace capability { - export const v1beta1 = { ..._28, - ..._29 - }; - } - export namespace crisis { - export const v1beta1 = { ..._30, - ..._31, - ..._145, - ..._159, - ..._208 - }; - } - export namespace crypto { - export const ed25519 = { ..._32 - }; - export namespace hd { - export const v1 = { ..._33 - }; - } - export namespace keyring { - export const v1 = { ..._34 - }; - } - export const multisig = { ..._35 - }; - export const secp256k1 = { ..._36 - }; - export const secp256r1 = { ..._37 - }; - } - export namespace distribution { - export const v1beta1 = { ..._38, - ..._39, - ..._40, - ..._41, - ..._146, - ..._160, - ..._175, - ..._193, - ..._209 - }; - } - export namespace evidence { - export const v1beta1 = { ..._42, - ..._43, - ..._44, - ..._45, - ..._147, - ..._161, - ..._176, - ..._194, - ..._210 - }; - } - export namespace feegrant { - export const v1beta1 = { ..._46, - ..._47, - ..._48, - ..._49, - ..._148, - ..._162, - ..._177, - ..._195, - ..._211 - }; - } - export namespace genutil { - export const v1beta1 = { ..._50 - }; - } - export namespace gov { - export const v1 = { ..._51, - ..._52, - ..._53, - ..._54, - ..._149, - ..._163, - ..._178, - ..._196, - ..._212 - }; - export const v1beta1 = { ..._55, - ..._56, - ..._57, - ..._58, - ..._150, - ..._164, - ..._179, - ..._197, - ..._213 - }; - } - export namespace group { - export const v1 = { ..._59, - ..._60, - ..._61, - ..._62, - ..._63, - ..._151, - ..._165, - ..._180, - ..._198, - ..._214 - }; - } - export namespace mint { - export const v1beta1 = { ..._64, - ..._65, - ..._66, - ..._181, - ..._199 - }; - } - export namespace msg { - export const v1 = { ..._67 - }; - } - export namespace nft { - export const v1beta1 = { ..._68, - ..._69, - ..._70, - ..._71, - ..._72, - ..._152, - ..._166, - ..._182, - ..._200, - ..._215 - }; - } - export namespace orm { - export const v1 = { ..._73 - }; - export const v1alpha1 = { ..._74 - }; - } - export namespace params { - export const v1beta1 = { ..._75, - ..._76, - ..._183, - ..._201 - }; - } - export namespace slashing { - export const v1beta1 = { ..._77, - ..._78, - ..._79, - ..._80, - ..._153, - ..._167, - ..._184, - ..._202, - ..._216 - }; - } - export namespace staking { - export const v1beta1 = { ..._81, - ..._82, - ..._83, - ..._84, - ..._85, - ..._154, - ..._168, - ..._185, - ..._203, - ..._217 - }; - } - export namespace tx { - export namespace signing { - export const v1beta1 = { ..._86 - }; - } - export const v1beta1 = { ..._87, - ..._88, - ..._186, - ..._204 - }; - } - export namespace upgrade { - export const v1beta1 = { ..._89, - ..._90, - ..._91, - ..._155, - ..._169, - ..._187, - ..._205, - ..._218 - }; - } - export namespace vesting { - export const v1beta1 = { ..._92, - ..._93, - ..._156, - ..._170, - ..._219 - }; - } - export const ClientFactory = { ..._246, - ..._247, - ..._248 - }; -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts deleted file mode 100644 index 85249c0eb..000000000 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts +++ /dev/null @@ -1,197 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ - -export interface Capability { - index: Long; -} -/** - * 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; -} -/** - * 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[]; -} -/** - * 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: Long.UZERO - }; -} - -export const Capability = { - encode(message: Capability, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Capability { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Capability { - const message = createBaseCapability(); - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; - return message; - } - -}; - -function createBaseOwner(): Owner { - return { - module: "", - name: "" - }; -} - -export const Owner = { - encode(message: Owner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.module !== "") { - writer.uint32(10).string(message.module); - } - - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Owner { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Owner { - const message = createBaseOwner(); - message.module = object.module ?? ""; - message.name = object.name ?? ""; - return message; - } - -}; - -function createBaseCapabilityOwners(): CapabilityOwners { - return { - owners: [] - }; -} - -export const CapabilityOwners = { - encode(message: CapabilityOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.owners) { - Owner.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): CapabilityOwners { - const message = createBaseCapabilityOwners(); - message.owners = object.owners?.map(e => Owner.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts deleted file mode 100644 index cf4a1df47..000000000 --- a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** 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 | undefined; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ - -export interface GenesisOwnersSDKType { - /** index is the index of the capability owner. */ - index: Long; - /** index_owners are the owners at the given index. */ - - index_owners?: CapabilityOwnersSDKType | undefined; -} -/** 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[]; -} -/** GenesisState defines the capability module's genesis state. */ - -export interface GenesisStateSDKType { - /** 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: GenesisOwnersSDKType[]; -} - -function createBaseGenesisOwners(): GenesisOwners { - return { - index: Long.UZERO, - indexOwners: undefined - }; -} - -export const GenesisOwners = { - encode(message: GenesisOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - - if (message.indexOwners !== undefined) { - CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.indexOwners = CapabilityOwners.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisOwners { - const message = createBaseGenesisOwners(); - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; - message.indexOwners = object.indexOwners !== undefined && object.indexOwners !== null ? CapabilityOwners.fromPartial(object.indexOwners) : undefined; - return message; - } - -}; - -function createBaseGenesisState(): GenesisState { - return { - index: Long.UZERO, - owners: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - - for (const v of message.owners) { - GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.owners.push(GenesisOwners.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; - message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/client.ts b/examples/telescope/codegen/cosmos/client.ts deleted file mode 100644 index 59543f0dd..000000000 --- a/examples/telescope/codegen/cosmos/client.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -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 getSigningCosmosClientOptions = (): { - registry: Registry; - aminoTypes: AminoTypes; -} => { - const registry = new Registry([...cosmosProtoRegistry]); - const aminoTypes = new AminoTypes({ ...cosmosAminoConverters - }); - return { - registry, - aminoTypes - }; -}; -export const getSigningCosmosClient = async ({ - rpcEndpoint, - signer -}: { - rpcEndpoint: string; - signer: OfflineSigner; -}) => { - const { - registry, - aminoTypes - } = getSigningCosmosClientOptions(); - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry, - aminoTypes - }); - return client; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts deleted file mode 100644 index 1b0864f9e..000000000 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Coin, 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 | undefined; -} -/** GenesisState defines the crisis module's genesis state. */ - -export interface GenesisStateSDKType { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constant_fee?: CoinSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - constantFee: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.constantFee !== undefined) { - Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.constantFee = object.constantFee !== undefined && object.constantFee !== null ? Coin.fromPartial(object.constantFee) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts deleted file mode 100644 index 7d4adbcef..000000000 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgVerifyInvariant } from "./tx"; -export interface AminoMsgVerifyInvariant extends AminoMsg { - type: "cosmos-sdk/MsgVerifyInvariant"; - value: { - sender: string; - invariant_module_name: string; - invariant_route: string; - }; -} -export const AminoConverter = { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: "cosmos-sdk/MsgVerifyInvariant", - toAmino: ({ - sender, - invariantModuleName, - invariantRoute - }: MsgVerifyInvariant): AminoMsgVerifyInvariant["value"] => { - return { - sender, - invariant_module_name: invariantModuleName, - invariant_route: invariantRoute - }; - }, - fromAmino: ({ - sender, - invariant_module_name, - invariant_route - }: AminoMsgVerifyInvariant["value"]): MsgVerifyInvariant => { - return { - sender, - invariantModuleName: invariant_module_name, - invariantRoute: invariant_route - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts deleted file mode 100644 index a3a6b31f5..000000000 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts +++ /dev/null @@ -1,37 +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 - }; - } - - }, - fromPartial: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index cd2c03878..000000000 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts deleted file mode 100644 index 31153100f..000000000 --- a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts +++ /dev/null @@ -1,120 +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; -} -/** 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 {} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ - -export interface MsgVerifyInvariantResponseSDKType {} - -function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { - return { - sender: "", - invariantModuleName: "", - invariantRoute: "" - }; -} - -export const MsgVerifyInvariant = { - encode(message: MsgVerifyInvariant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): MsgVerifyInvariant { - const message = createBaseMsgVerifyInvariant(); - message.sender = object.sender ?? ""; - message.invariantModuleName = object.invariantModuleName ?? ""; - message.invariantRoute = object.invariantRoute ?? ""; - return message; - } - -}; - -function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { - return {}; -} - -export const MsgVerifyInvariantResponse = { - encode(_: MsgVerifyInvariantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): MsgVerifyInvariantResponse { - const message = createBaseMsgVerifyInvariantResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts deleted file mode 100644 index 46b5d929a..000000000 --- a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts +++ /dev/null @@ -1,129 +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; -} -/** - * 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; -} -/** - * 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; -} - -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} - -export const PubKey = { - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; - -function createBasePrivKey(): PrivKey { - return { - key: new Uint8Array() - }; -} - -export const PrivKey = { - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts deleted file mode 100644 index 9af6f6ba6..000000000 --- a/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts +++ /dev/null @@ -1,128 +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; -} -/** BIP44Params is used as path field in ledger item in Record. */ - -export interface BIP44ParamsSDKType { - /** 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; -} - -function createBaseBIP44Params(): BIP44Params { - return { - purpose: 0, - coinType: 0, - account: 0, - change: false, - addressIndex: 0 - }; -} - -export const BIP44Params = { - encode(message: BIP44Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.purpose !== 0) { - writer.uint32(8).uint32(message.purpose); - } - - if (message.coinType !== 0) { - writer.uint32(16).uint32(message.coinType); - } - - if (message.account !== 0) { - writer.uint32(24).uint32(message.account); - } - - if (message.change === true) { - writer.uint32(32).bool(message.change); - } - - if (message.addressIndex !== 0) { - writer.uint32(40).uint32(message.addressIndex); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBIP44Params(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.purpose = reader.uint32(); - break; - - case 2: - message.coinType = reader.uint32(); - break; - - case 3: - message.account = reader.uint32(); - break; - - case 4: - message.change = reader.bool(); - break; - - case 5: - message.addressIndex = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BIP44Params { - const message = createBaseBIP44Params(); - message.purpose = object.purpose ?? 0; - message.coinType = object.coinType ?? 0; - message.account = object.account ?? 0; - message.change = object.change ?? false; - message.addressIndex = object.addressIndex ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts deleted file mode 100644 index c276eee82..000000000 --- a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts +++ /dev/null @@ -1,348 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, 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 | undefined; - /** local stores the public information about a locally stored key */ - - local?: Record_Local | undefined; - /** ledger stores the public information about a Ledger key */ - - ledger?: Record_Ledger | undefined; - /** Multi does not store any information. */ - - multi?: Record_Multi | undefined; - /** Offline does not store any information. */ - - offline?: Record_Offline | undefined; -} -/** Record is used for representing a key in the keyring. */ - -export interface RecordSDKType { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - - pub_key?: AnySDKType | undefined; - /** local stores the public information about a locally stored key */ - - local?: Record_LocalSDKType | undefined; - /** ledger stores the public information about a Ledger key */ - - ledger?: Record_LedgerSDKType | undefined; - /** Multi does not store any information. */ - - multi?: Record_MultiSDKType | undefined; - /** Offline does not store any information. */ - - offline?: Record_OfflineSDKType | undefined; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ - -export interface Record_Local { - privKey?: Any | undefined; - privKeyType: string; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ - -export interface Record_LocalSDKType { - priv_key?: AnySDKType | undefined; - priv_key_type: string; -} -/** Ledger item */ - -export interface Record_Ledger { - path?: BIP44Params | undefined; -} -/** Ledger item */ - -export interface Record_LedgerSDKType { - path?: BIP44ParamsSDKType | undefined; -} -/** Multi item */ - -export interface Record_Multi {} -/** Multi item */ - -export interface Record_MultiSDKType {} -/** Offline item */ - -export interface Record_Offline {} -/** Offline item */ - -export interface Record_OfflineSDKType {} - -function createBaseRecord(): Record { - return { - name: "", - pubKey: undefined, - local: undefined, - ledger: undefined, - multi: undefined, - offline: undefined - }; -} - -export const Record = { - encode(message: Record, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - - if (message.local !== undefined) { - Record_Local.encode(message.local, writer.uint32(26).fork()).ldelim(); - } - - if (message.ledger !== undefined) { - Record_Ledger.encode(message.ledger, writer.uint32(34).fork()).ldelim(); - } - - if (message.multi !== undefined) { - Record_Multi.encode(message.multi, writer.uint32(42).fork()).ldelim(); - } - - if (message.offline !== undefined) { - Record_Offline.encode(message.offline, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Record { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.pubKey = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.local = Record_Local.decode(reader, reader.uint32()); - break; - - case 4: - message.ledger = Record_Ledger.decode(reader, reader.uint32()); - break; - - case 5: - message.multi = Record_Multi.decode(reader, reader.uint32()); - break; - - case 6: - message.offline = Record_Offline.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Record { - const message = createBaseRecord(); - message.name = object.name ?? ""; - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; - message.local = object.local !== undefined && object.local !== null ? Record_Local.fromPartial(object.local) : undefined; - message.ledger = object.ledger !== undefined && object.ledger !== null ? Record_Ledger.fromPartial(object.ledger) : undefined; - message.multi = object.multi !== undefined && object.multi !== null ? Record_Multi.fromPartial(object.multi) : undefined; - message.offline = object.offline !== undefined && object.offline !== null ? Record_Offline.fromPartial(object.offline) : undefined; - return message; - } - -}; - -function createBaseRecord_Local(): Record_Local { - return { - privKey: undefined, - privKeyType: "" - }; -} - -export const Record_Local = { - encode(message: Record_Local, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.privKey !== undefined) { - Any.encode(message.privKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.privKeyType !== "") { - writer.uint32(18).string(message.privKeyType); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Local(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.privKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.privKeyType = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Record_Local { - const message = createBaseRecord_Local(); - message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; - message.privKeyType = object.privKeyType ?? ""; - return message; - } - -}; - -function createBaseRecord_Ledger(): Record_Ledger { - return { - path: undefined - }; -} - -export const Record_Ledger = { - encode(message: Record_Ledger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path !== undefined) { - BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Ledger(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = BIP44Params.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Record_Ledger { - const message = createBaseRecord_Ledger(); - message.path = object.path !== undefined && object.path !== null ? BIP44Params.fromPartial(object.path) : undefined; - return message; - } - -}; - -function createBaseRecord_Multi(): Record_Multi { - return {}; -} - -export const Record_Multi = { - encode(_: Record_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Multi(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): Record_Multi { - const message = createBaseRecord_Multi(); - return message; - } - -}; - -function createBaseRecord_Offline(): Record_Offline { - return {}; -} - -export const Record_Offline = { - encode(_: Record_Offline, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Offline(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): Record_Offline { - const message = createBaseRecord_Offline(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts deleted file mode 100644 index fe7eab10c..000000000 --- a/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Any, 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[]; -} -/** - * 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[]; -} - -function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { - return { - threshold: 0, - publicKeys: [] - }; -} - -export const LegacyAminoPubKey = { - encode(message: LegacyAminoPubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.threshold !== 0) { - writer.uint32(8).uint32(message.threshold); - } - - for (const v of message.publicKeys) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLegacyAminoPubKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.threshold = reader.uint32(); - break; - - case 2: - message.publicKeys.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): LegacyAminoPubKey { - const message = createBaseLegacyAminoPubKey(); - message.threshold = object.threshold ?? 0; - message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts deleted file mode 100644 index 73f700800..000000000 --- a/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +++ /dev/null @@ -1,141 +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[]; -} -/** - * 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; -} -/** - * 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; -} - -function createBaseMultiSignature(): MultiSignature { - return { - signatures: [] - }; -} - -export const MultiSignature = { - encode(message: MultiSignature, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signatures) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMultiSignature(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signatures.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MultiSignature { - const message = createBaseMultiSignature(); - message.signatures = object.signatures?.map(e => e) || []; - return message; - } - -}; - -function createBaseCompactBitArray(): CompactBitArray { - return { - extraBitsStored: 0, - elems: new Uint8Array() - }; -} - -export const CompactBitArray = { - encode(message: CompactBitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.extraBitsStored !== 0) { - writer.uint32(8).uint32(message.extraBitsStored); - } - - if (message.elems.length !== 0) { - writer.uint32(18).bytes(message.elems); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompactBitArray(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.extraBitsStored = reader.uint32(); - break; - - case 2: - message.elems = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CompactBitArray { - const message = createBaseCompactBitArray(); - message.extraBitsStored = object.extraBitsStored ?? 0; - message.elems = object.elems ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts deleted file mode 100644 index 093f1fcc3..000000000 --- a/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts +++ /dev/null @@ -1,123 +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; -} -/** - * 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; -} -/** PrivKey defines a secp256k1 private key. */ - -export interface PrivKeySDKType { - key: Uint8Array; -} - -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} - -export const PubKey = { - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; - -function createBasePrivKey(): PrivKey { - return { - key: new Uint8Array() - }; -} - -export const PrivKey = { - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts deleted file mode 100644 index cb4bc3b5f..000000000 --- a/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts +++ /dev/null @@ -1,121 +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; -} -/** PubKey defines a secp256r1 ECDSA public key. */ - -export interface PubKeySDKType { - /** - * 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; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ - -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ - -export interface PrivKeySDKType { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} - -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} - -export const PubKey = { - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; - -function createBasePrivKey(): PrivKey { - return { - secret: new Uint8Array() - }; -} - -export const PrivKey = { - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.secret.length !== 0) { - writer.uint32(10).bytes(message.secret); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.secret = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PrivKey { - const message = createBasePrivKey(); - message.secret = object.secret ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts deleted file mode 100644 index a89f32455..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts +++ /dev/null @@ -1,945 +0,0 @@ -import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** Params defines the set of params for the distribution module. */ - -export interface Params { - communityTax: string; - baseProposerReward: string; - bonusProposerReward: string; - withdrawAddrEnabled: boolean; -} -/** 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; -} -/** - * 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; -} -/** - * 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[]; -} -/** - * 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[]; -} -/** - * 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; -} -/** - * 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[]; -} -/** 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[]; -} -/** 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 { - title: string; - description: string; - recipient: string; - amount: Coin[]; -} -/** - * 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 { - 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; -} -/** - * 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[]; -} -/** - * 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 { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ - -export interface CommunityPoolSpendProposalWithDepositSDKType { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} - -function createBaseParams(): Params { - return { - communityTax: "", - baseProposerReward: "", - bonusProposerReward: "", - withdrawAddrEnabled: false - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.communityTax !== "") { - writer.uint32(10).string(message.communityTax); - } - - if (message.baseProposerReward !== "") { - writer.uint32(18).string(message.baseProposerReward); - } - - if (message.bonusProposerReward !== "") { - writer.uint32(26).string(message.bonusProposerReward); - } - - if (message.withdrawAddrEnabled === true) { - writer.uint32(32).bool(message.withdrawAddrEnabled); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.communityTax = reader.string(); - break; - - case 2: - message.baseProposerReward = reader.string(); - break; - - case 3: - message.bonusProposerReward = reader.string(); - break; - - case 4: - message.withdrawAddrEnabled = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.communityTax = object.communityTax ?? ""; - message.baseProposerReward = object.baseProposerReward ?? ""; - message.bonusProposerReward = object.bonusProposerReward ?? ""; - message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false; - return message; - } - -}; - -function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards { - return { - cumulativeRewardRatio: [], - referenceCount: 0 - }; -} - -export const ValidatorHistoricalRewards = { - encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.cumulativeRewardRatio) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.referenceCount !== 0) { - writer.uint32(16).uint32(message.referenceCount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorHistoricalRewards(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32())); - break; - - case 2: - message.referenceCount = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorHistoricalRewards { - const message = createBaseValidatorHistoricalRewards(); - message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || []; - message.referenceCount = object.referenceCount ?? 0; - return message; - } - -}; - -function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards { - return { - rewards: [], - period: Long.UZERO - }; -} - -export const ValidatorCurrentRewards = { - encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (!message.period.isZero()) { - writer.uint32(16).uint64(message.period); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorCurrentRewards(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - - case 2: - message.period = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorCurrentRewards { - const message = createBaseValidatorCurrentRewards(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; - return message; - } - -}; - -function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission { - return { - commission: [] - }; -} - -export const ValidatorAccumulatedCommission = { - encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.commission) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorAccumulatedCommission(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.commission.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorAccumulatedCommission { - const message = createBaseValidatorAccumulatedCommission(); - message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards { - return { - rewards: [] - }; -} - -export const ValidatorOutstandingRewards = { - encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorOutstandingRewards(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorOutstandingRewards { - const message = createBaseValidatorOutstandingRewards(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseValidatorSlashEvent(): ValidatorSlashEvent { - return { - validatorPeriod: Long.UZERO, - fraction: "" - }; -} - -export const ValidatorSlashEvent = { - encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.validatorPeriod.isZero()) { - writer.uint32(8).uint64(message.validatorPeriod); - } - - if (message.fraction !== "") { - writer.uint32(18).string(message.fraction); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEvent(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorPeriod = (reader.uint64() as Long); - break; - - case 2: - message.fraction = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorSlashEvent { - const message = createBaseValidatorSlashEvent(); - message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? Long.fromValue(object.validatorPeriod) : Long.UZERO; - message.fraction = object.fraction ?? ""; - return message; - } - -}; - -function createBaseValidatorSlashEvents(): ValidatorSlashEvents { - return { - validatorSlashEvents: [] - }; -} - -export const ValidatorSlashEvents = { - encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validatorSlashEvents) { - ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEvents(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorSlashEvents { - const message = createBaseValidatorSlashEvents(); - message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseFeePool(): FeePool { - return { - communityPool: [] - }; -} - -export const FeePool = { - encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.communityPool) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FeePool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFeePool(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.communityPool.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FeePool { - const message = createBaseFeePool(); - message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal { - return { - title: "", - description: "", - recipient: "", - amount: [] - }; -} - -export const CommunityPoolSpendProposal = { - encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.recipient !== "") { - writer.uint32(26).string(message.recipient); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommunityPoolSpendProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.recipient = reader.string(); - break; - - case 4: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommunityPoolSpendProposal { - const message = createBaseCommunityPoolSpendProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.recipient = object.recipient ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseDelegatorStartingInfo(): DelegatorStartingInfo { - return { - previousPeriod: Long.UZERO, - stake: "", - height: Long.UZERO - }; -} - -export const DelegatorStartingInfo = { - encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.previousPeriod.isZero()) { - writer.uint32(8).uint64(message.previousPeriod); - } - - if (message.stake !== "") { - writer.uint32(18).string(message.stake); - } - - if (!message.height.isZero()) { - writer.uint32(24).uint64(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorStartingInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.previousPeriod = (reader.uint64() as Long); - break; - - case 2: - message.stake = reader.string(); - break; - - case 3: - message.height = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelegatorStartingInfo { - const message = createBaseDelegatorStartingInfo(); - message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; - message.stake = object.stake ?? ""; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; - return message; - } - -}; - -function createBaseDelegationDelegatorReward(): DelegationDelegatorReward { - return { - validatorAddress: "", - reward: [] - }; -} - -export const DelegationDelegatorReward = { - encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - for (const v of message.reward) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegationDelegatorReward(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.reward.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelegationDelegatorReward { - const message = createBaseDelegationDelegatorReward(); - message.validatorAddress = object.validatorAddress ?? ""; - message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit { - return { - title: "", - description: "", - recipient: "", - amount: "", - deposit: "" - }; -} - -export const CommunityPoolSpendProposalWithDeposit = { - encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.recipient !== "") { - writer.uint32(26).string(message.recipient); - } - - if (message.amount !== "") { - writer.uint32(34).string(message.amount); - } - - if (message.deposit !== "") { - writer.uint32(42).string(message.deposit); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommunityPoolSpendProposalWithDeposit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.recipient = reader.string(); - break; - - case 4: - message.amount = reader.string(); - break; - - case 5: - message.deposit = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommunityPoolSpendProposalWithDeposit { - const message = createBaseCommunityPoolSpendProposalWithDeposit(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.recipient = object.recipient ?? ""; - message.amount = object.amount ?? ""; - message.deposit = object.deposit ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts deleted file mode 100644 index 9fef91a17..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts +++ /dev/null @@ -1,800 +0,0 @@ -import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; -import * as _m0 from "protobufjs/minimal"; -import { Long } 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 - * 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; -} -/** - * 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 is the address of the delegator. */ - delegator_address: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - - 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[]; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ - -export interface ValidatorOutstandingRewardsRecordSDKType { - /** validator_address is the address of the validator. */ - validator_address: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - - 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 | undefined; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorAccumulatedCommissionRecordSDKType { - /** validator_address is the address of the validator. */ - validator_address: string; - /** accumulated is the accumulated commission of a validator. */ - - accumulated?: ValidatorAccumulatedCommissionSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorHistoricalRewardsRecordSDKType { - /** validator_address is the address of the validator. */ - validator_address: string; - /** period defines the period the historical rewards apply to. */ - - period: Long; - /** rewards defines the historical rewards of a validator. */ - - rewards?: ValidatorHistoricalRewardsSDKType | undefined; -} -/** 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 | undefined; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ - -export interface ValidatorCurrentRewardsRecordSDKType { - /** validator_address is the address of the validator. */ - validator_address: string; - /** rewards defines the current rewards of a validator. */ - - rewards?: ValidatorCurrentRewardsSDKType | undefined; -} -/** 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 | undefined; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ - -export interface DelegatorStartingInfoRecordSDKType { - /** 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?: DelegatorStartingInfoSDKType | undefined; -} -/** 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 | undefined; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ - -export interface ValidatorSlashEventRecordSDKType { - /** validator_address is the address of the validator. */ - validator_address: 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. */ - - validator_slash_event?: ValidatorSlashEventSDKType | undefined; -} -/** GenesisState defines the distribution module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params | undefined; - /** fee_pool defines the fee pool at genesis. */ - - feePool?: FeePool | undefined; - /** 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[]; -} -/** GenesisState defines the distribution module's genesis state. */ - -export interface GenesisStateSDKType { - /** params defines all the paramaters of the module. */ - params?: ParamsSDKType | undefined; - /** fee_pool defines the fee pool at genesis. */ - - fee_pool?: FeePoolSDKType | undefined; - /** fee_pool defines the delegator withdraw infos at genesis. */ - - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - /** fee_pool defines the previous proposer at genesis. */ - - previous_proposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - /** fee_pool defines the delegator starting infos at genesis. */ - - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - /** fee_pool defines the validator slash events at genesis. */ - - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} - -function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { - return { - delegatorAddress: "", - withdrawAddress: "" - }; -} - -export const DelegatorWithdrawInfo = { - encode(message: DelegatorWithdrawInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.withdrawAddress !== "") { - writer.uint32(18).string(message.withdrawAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorWithdrawInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.withdrawAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelegatorWithdrawInfo { - const message = createBaseDelegatorWithdrawInfo(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - } - -}; - -function createBaseValidatorOutstandingRewardsRecord(): ValidatorOutstandingRewardsRecord { - return { - validatorAddress: "", - outstandingRewards: [] - }; -} - -export const ValidatorOutstandingRewardsRecord = { - encode(message: ValidatorOutstandingRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - for (const v of message.outstandingRewards) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorOutstandingRewardsRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorOutstandingRewardsRecord { - const message = createBaseValidatorOutstandingRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.outstandingRewards = object.outstandingRewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { - return { - validatorAddress: "", - accumulated: undefined - }; -} - -export const ValidatorAccumulatedCommissionRecord = { - encode(message: ValidatorAccumulatedCommissionRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - if (message.accumulated !== undefined) { - ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorAccumulatedCommissionRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorAccumulatedCommissionRecord { - const message = createBaseValidatorAccumulatedCommissionRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.accumulated = object.accumulated !== undefined && object.accumulated !== null ? ValidatorAccumulatedCommission.fromPartial(object.accumulated) : undefined; - return message; - } - -}; - -function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: "", - period: Long.UZERO, - rewards: undefined - }; -} - -export const ValidatorHistoricalRewardsRecord = { - encode(message: ValidatorHistoricalRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - if (!message.period.isZero()) { - writer.uint32(16).uint64(message.period); - } - - if (message.rewards !== undefined) { - ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorHistoricalRewardsRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.period = (reader.uint64() as Long); - break; - - case 3: - message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorHistoricalRewardsRecord { - const message = createBaseValidatorHistoricalRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; - message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorHistoricalRewards.fromPartial(object.rewards) : undefined; - return message; - } - -}; - -function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { - return { - validatorAddress: "", - rewards: undefined - }; -} - -export const ValidatorCurrentRewardsRecord = { - encode(message: ValidatorCurrentRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - if (message.rewards !== undefined) { - ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorCurrentRewardsRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorCurrentRewardsRecord { - const message = createBaseValidatorCurrentRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorCurrentRewards.fromPartial(object.rewards) : undefined; - return message; - } - -}; - -function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { - return { - delegatorAddress: "", - validatorAddress: "", - startingInfo: undefined - }; -} - -export const DelegatorStartingInfoRecord = { - encode(message: DelegatorStartingInfoRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - if (message.startingInfo !== undefined) { - DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorStartingInfoRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelegatorStartingInfoRecord { - const message = createBaseDelegatorStartingInfoRecord(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.startingInfo = object.startingInfo !== undefined && object.startingInfo !== null ? DelegatorStartingInfo.fromPartial(object.startingInfo) : undefined; - return message; - } - -}; - -function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { - return { - validatorAddress: "", - height: Long.UZERO, - period: Long.UZERO, - validatorSlashEvent: undefined - }; -} - -export const ValidatorSlashEventRecord = { - encode(message: ValidatorSlashEventRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - if (!message.height.isZero()) { - writer.uint32(16).uint64(message.height); - } - - if (!message.period.isZero()) { - writer.uint32(24).uint64(message.period); - } - - if (message.validatorSlashEvent !== undefined) { - ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEventRecord(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.height = (reader.uint64() as Long); - break; - - case 3: - message.period = (reader.uint64() as Long); - break; - - case 4: - message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorSlashEventRecord { - const message = createBaseValidatorSlashEventRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; - message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; - message.validatorSlashEvent = object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null ? ValidatorSlashEvent.fromPartial(object.validatorSlashEvent) : undefined; - return message; - } - -}; - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - feePool: undefined, - delegatorWithdrawInfos: [], - previousProposer: "", - outstandingRewards: [], - validatorAccumulatedCommissions: [], - validatorHistoricalRewards: [], - validatorCurrentRewards: [], - delegatorStartingInfos: [], - validatorSlashEvents: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - if (message.feePool !== undefined) { - FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.delegatorWithdrawInfos) { - DelegatorWithdrawInfo.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (message.previousProposer !== "") { - writer.uint32(34).string(message.previousProposer); - } - - for (const v of message.outstandingRewards) { - ValidatorOutstandingRewardsRecord.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - for (const v of message.validatorAccumulatedCommissions) { - ValidatorAccumulatedCommissionRecord.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - for (const v of message.validatorHistoricalRewards) { - ValidatorHistoricalRewardsRecord.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - for (const v of message.validatorCurrentRewards) { - ValidatorCurrentRewardsRecord.encode(v!, writer.uint32(66).fork()).ldelim(); - } - - for (const v of message.delegatorStartingInfos) { - DelegatorStartingInfoRecord.encode(v!, writer.uint32(74).fork()).ldelim(); - } - - for (const v of message.validatorSlashEvents) { - ValidatorSlashEventRecord.encode(v!, writer.uint32(82).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.feePool = FeePool.decode(reader, reader.uint32()); - break; - - case 3: - message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32())); - break; - - case 4: - message.previousProposer = reader.string(); - break; - - case 5: - message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32())); - break; - - case 6: - message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32())); - break; - - case 7: - message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32())); - break; - - case 8: - message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32())); - break; - - case 9: - message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32())); - break; - - case 10: - message.validatorSlashEvents.push(ValidatorSlashEventRecord.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.feePool = object.feePool !== undefined && object.feePool !== null ? FeePool.fromPartial(object.feePool) : undefined; - message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map(e => DelegatorWithdrawInfo.fromPartial(e)) || []; - message.previousProposer = object.previousProposer ?? ""; - message.outstandingRewards = object.outstandingRewards?.map(e => ValidatorOutstandingRewardsRecord.fromPartial(e)) || []; - message.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions?.map(e => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || []; - message.validatorHistoricalRewards = object.validatorHistoricalRewards?.map(e => ValidatorHistoricalRewardsRecord.fromPartial(e)) || []; - message.validatorCurrentRewards = object.validatorCurrentRewards?.map(e => ValidatorCurrentRewardsRecord.fromPartial(e)) || []; - message.delegatorStartingInfos = object.delegatorStartingInfos?.map(e => DelegatorStartingInfoRecord.fromPartial(e)) || []; - message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEventRecord.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts deleted file mode 100644 index 5c1f644e5..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); - this.validatorCommission = this.validatorCommission.bind(this); - this.validatorSlashes = this.validatorSlashes.bind(this); - this.delegationRewards = this.delegationRewards.bind(this); - this.delegationTotalRewards = this.delegationTotalRewards.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); - this.communityPool = this.communityPool.bind(this); - } - /* Params queries params of the distribution module. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/params`; - return await this.req.get(endpoint); - } - /* ValidatorOutstandingRewards queries rewards of a validator address. */ - - - async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; - return await this.req.get(endpoint); - } - /* ValidatorCommission queries accumulated commission for a validator. */ - - - async validatorCommission(params: QueryValidatorCommissionRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; - return await this.req.get(endpoint); - } - /* ValidatorSlashes queries slash events of a validator. */ - - - async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.startingHeight !== "undefined") { - options.params.starting_height = params.startingHeight; - } - - if (typeof params?.endingHeight !== "undefined") { - options.params.ending_height = params.endingHeight; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; - return await this.req.get(endpoint, options); - } - /* DelegationRewards queries the total rewards accrued by a delegation. */ - - - async delegationRewards(params: QueryDelegationRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; - return await this.req.get(endpoint); - } - /* DelegationTotalRewards queries the total rewards accrued by a each - validator. */ - - - async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; - return await this.req.get(endpoint); - } - /* DelegatorValidators queries the validators of a delegator. */ - - - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; - return await this.req.get(endpoint); - } - /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ - - - async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; - return await this.req.get(endpoint); - } - /* CommunityPool queries the community pool coins. */ - - - async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/community_pool`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts deleted file mode 100644 index 539882a1f..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,150 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.params = this.params.bind(this); - this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); - this.validatorCommission = this.validatorCommission.bind(this); - this.validatorSlashes = this.validatorSlashes.bind(this); - this.delegationRewards = this.delegationRewards.bind(this); - this.delegationTotalRewards = this.delegationTotalRewards.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); - this.communityPool = this.communityPool.bind(this); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { - const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); - return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); - } - - validatorCommission(request: QueryValidatorCommissionRequest): Promise { - const data = QueryValidatorCommissionRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); - return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); - } - - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { - const data = QueryValidatorSlashesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); - return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); - } - - delegationRewards(request: QueryDelegationRewardsRequest): Promise { - const data = QueryDelegationRewardsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); - return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); - } - - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { - const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); - return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); - } - - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { - const data = QueryDelegatorValidatorsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); - return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); - } - - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { - const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); - return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); - } - - communityPool(request: QueryCommunityPoolRequest = {}): Promise { - const data = QueryCommunityPoolRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); - return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { - return queryService.validatorOutstandingRewards(request); - }, - - validatorCommission(request: QueryValidatorCommissionRequest): Promise { - return queryService.validatorCommission(request); - }, - - validatorSlashes(request: QueryValidatorSlashesRequest): Promise { - return queryService.validatorSlashes(request); - }, - - delegationRewards(request: QueryDelegationRewardsRequest): Promise { - return queryService.delegationRewards(request); - }, - - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { - return queryService.delegationTotalRewards(request); - }, - - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { - return queryService.delegatorValidators(request); - }, - - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { - return queryService.delegatorWithdrawAddress(request); - }, - - communityPool(request?: QueryCommunityPoolRequest): Promise { - return queryService.communityPool(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts deleted file mode 100644 index 03ff9aacf..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts +++ /dev/null @@ -1,1187 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** params defines the parameters of the module. */ - params?: ParamsSDKType | undefined; -} -/** - * 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; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsRequestSDKType { - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsResponse { - rewards?: ValidatorOutstandingRewards | undefined; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards?: ValidatorOutstandingRewardsSDKType | undefined; -} -/** - * 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; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionRequestSDKType { - /** validator_address defines the validator address to query for. */ - 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 | undefined; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionResponseSDKType { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommissionSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ - -export interface QueryValidatorSlashesRequestSDKType { - /** 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: Long; - /** starting_height defines the optional ending height to query the slashes. */ - - ending_height: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ - -export interface QueryValidatorSlashesResponseSDKType { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEventSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsRequestSDKType { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; - /** validator_address defines the validator address to query for. */ - - 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[]; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsResponseSDKType { - /** rewards defines the rewards accrued by a delegation. */ - 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; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsRequestSDKType { - /** delegator_address defines the delegator address to query for. */ - 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[]; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsResponseSDKType { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorRewardSDKType[]; - /** total defines the sum of all the rewards. */ - - 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; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequestSDKType { - /** delegator_address defines the delegator address to query for. */ - 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[]; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponseSDKType { - /** validators defines the validators a delegator is delegating for. */ - 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; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressRequestSDKType { - /** delegator_address defines the delegator address to query for. */ - 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; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressResponseSDKType { - /** withdraw_address defines the delegator address to query for. */ - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ - -export interface QueryCommunityPoolRequest {} -/** - * 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[]; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ - -export interface QueryCommunityPoolResponseSDKType { - /** pool defines community pool's coins. */ - pool: DecCoinSDKType[]; -} - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorOutstandingRewardsRequest(): QueryValidatorOutstandingRewardsRequest { - return { - validatorAddress: "" - }; -} - -export const QueryValidatorOutstandingRewardsRequest = { - encode(message: QueryValidatorOutstandingRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorOutstandingRewardsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorOutstandingRewardsRequest { - const message = createBaseQueryValidatorOutstandingRewardsRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { - return { - rewards: undefined - }; -} - -export const QueryValidatorOutstandingRewardsResponse = { - encode(message: QueryValidatorOutstandingRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rewards !== undefined) { - ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorOutstandingRewardsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorOutstandingRewardsResponse { - const message = createBaseQueryValidatorOutstandingRewardsResponse(); - message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorCommissionRequest(): QueryValidatorCommissionRequest { - return { - validatorAddress: "" - }; -} - -export const QueryValidatorCommissionRequest = { - encode(message: QueryValidatorCommissionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorCommissionRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorCommissionRequest { - const message = createBaseQueryValidatorCommissionRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { - return { - commission: undefined - }; -} - -export const QueryValidatorCommissionResponse = { - encode(message: QueryValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.commission !== undefined) { - ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorCommissionResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorCommissionResponse { - const message = createBaseQueryValidatorCommissionResponse(); - message.commission = object.commission !== undefined && object.commission !== null ? ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest { - return { - validatorAddress: "", - startingHeight: Long.UZERO, - endingHeight: Long.UZERO, - pagination: undefined - }; -} - -export const QueryValidatorSlashesRequest = { - encode(message: QueryValidatorSlashesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - if (!message.startingHeight.isZero()) { - writer.uint32(16).uint64(message.startingHeight); - } - - if (!message.endingHeight.isZero()) { - writer.uint32(24).uint64(message.endingHeight); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorSlashesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - case 2: - message.startingHeight = (reader.uint64() as Long); - break; - - case 3: - message.endingHeight = (reader.uint64() as Long); - break; - - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorSlashesRequest { - const message = createBaseQueryValidatorSlashesRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - message.startingHeight = object.startingHeight !== undefined && object.startingHeight !== null ? Long.fromValue(object.startingHeight) : Long.UZERO; - message.endingHeight = object.endingHeight !== undefined && object.endingHeight !== null ? Long.fromValue(object.endingHeight) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { - return { - slashes: [], - pagination: undefined - }; -} - -export const QueryValidatorSlashesResponse = { - encode(message: QueryValidatorSlashesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.slashes) { - ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorSlashesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.slashes.push(ValidatorSlashEvent.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorSlashesResponse { - const message = createBaseQueryValidatorSlashesResponse(); - message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegationRewardsRequest(): QueryDelegationRewardsRequest { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} - -export const QueryDelegationRewardsRequest = { - encode(message: QueryDelegationRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRewardsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationRewardsRequest { - const message = createBaseQueryDelegationRewardsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryDelegationRewardsResponse(): QueryDelegationRewardsResponse { - return { - rewards: [] - }; -} - -export const QueryDelegationRewardsResponse = { - encode(message: QueryDelegationRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRewardsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationRewardsResponse { - const message = createBaseQueryDelegationRewardsResponse(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseQueryDelegationTotalRewardsRequest(): QueryDelegationTotalRewardsRequest { - return { - delegatorAddress: "" - }; -} - -export const QueryDelegationTotalRewardsRequest = { - encode(message: QueryDelegationTotalRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationTotalRewardsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationTotalRewardsRequest { - const message = createBaseQueryDelegationTotalRewardsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryDelegationTotalRewardsResponse(): QueryDelegationTotalRewardsResponse { - return { - rewards: [], - total: [] - }; -} - -export const QueryDelegationTotalRewardsResponse = { - encode(message: QueryDelegationTotalRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DelegationDelegatorReward.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.total) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationTotalRewardsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32())); - break; - - case 2: - message.total.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationTotalRewardsResponse { - const message = createBaseQueryDelegationTotalRewardsResponse(); - message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromPartial(e)) || []; - message.total = object.total?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { - return { - delegatorAddress: "" - }; -} - -export const QueryDelegatorValidatorsRequest = { - encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorsRequest { - const message = createBaseQueryDelegatorValidatorsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { - return { - validators: [] - }; -} - -export const QueryDelegatorValidatorsResponse = { - encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validators.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorsResponse { - const message = createBaseQueryDelegatorValidatorsResponse(); - message.validators = object.validators?.map(e => e) || []; - return message; - } - -}; - -function createBaseQueryDelegatorWithdrawAddressRequest(): QueryDelegatorWithdrawAddressRequest { - return { - delegatorAddress: "" - }; -} - -export const QueryDelegatorWithdrawAddressRequest = { - encode(message: QueryDelegatorWithdrawAddressRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorWithdrawAddressRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorWithdrawAddressRequest { - const message = createBaseQueryDelegatorWithdrawAddressRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - } - -}; - -function createBaseQueryDelegatorWithdrawAddressResponse(): QueryDelegatorWithdrawAddressResponse { - return { - withdrawAddress: "" - }; -} - -export const QueryDelegatorWithdrawAddressResponse = { - encode(message: QueryDelegatorWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.withdrawAddress !== "") { - writer.uint32(10).string(message.withdrawAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorWithdrawAddressResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.withdrawAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorWithdrawAddressResponse { - const message = createBaseQueryDelegatorWithdrawAddressResponse(); - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - } - -}; - -function createBaseQueryCommunityPoolRequest(): QueryCommunityPoolRequest { - return {}; -} - -export const QueryCommunityPoolRequest = { - encode(_: QueryCommunityPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCommunityPoolRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryCommunityPoolRequest { - const message = createBaseQueryCommunityPoolRequest(); - return message; - } - -}; - -function createBaseQueryCommunityPoolResponse(): QueryCommunityPoolResponse { - return { - pool: [] - }; -} - -export const QueryCommunityPoolResponse = { - encode(message: QueryCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pool) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCommunityPoolResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pool.push(DecCoin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryCommunityPoolResponse { - const message = createBaseQueryCommunityPoolResponse(); - message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts deleted file mode 100644 index b3a60ed6d..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts +++ /dev/null @@ -1,120 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -export interface AminoMsgSetWithdrawAddress extends AminoMsg { - type: "cosmos-sdk/MsgModifyWithdrawAddress"; - value: { - delegator_address: string; - withdraw_address: string; - }; -} -export interface AminoMsgWithdrawDelegatorReward extends AminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegationReward"; - value: { - delegator_address: string; - validator_address: string; - }; -} -export interface AminoMsgWithdrawValidatorCommission extends AminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommission"; - value: { - validator_address: string; - }; -} -export interface AminoMsgFundCommunityPool extends AminoMsg { - type: "cosmos-sdk/MsgFundCommunityPool"; - value: { - amount: { - denom: string; - amount: string; - }[]; - depositor: string; - }; -} -export const AminoConverter = { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", - toAmino: ({ - delegatorAddress, - withdrawAddress - }: MsgSetWithdrawAddress): AminoMsgSetWithdrawAddress["value"] => { - return { - delegator_address: delegatorAddress, - withdraw_address: withdrawAddress - }; - }, - fromAmino: ({ - delegator_address, - withdraw_address - }: AminoMsgSetWithdrawAddress["value"]): MsgSetWithdrawAddress => { - return { - delegatorAddress: delegator_address, - withdrawAddress: withdraw_address - }; - } - }, - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", - toAmino: ({ - delegatorAddress, - validatorAddress - }: MsgWithdrawDelegatorReward): AminoMsgWithdrawDelegatorReward["value"] => { - return { - delegator_address: delegatorAddress, - validator_address: validatorAddress - }; - }, - fromAmino: ({ - delegator_address, - validator_address - }: AminoMsgWithdrawDelegatorReward["value"]): MsgWithdrawDelegatorReward => { - return { - delegatorAddress: delegator_address, - validatorAddress: validator_address - }; - } - }, - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", - toAmino: ({ - validatorAddress - }: MsgWithdrawValidatorCommission): AminoMsgWithdrawValidatorCommission["value"] => { - return { - validator_address: validatorAddress - }; - }, - fromAmino: ({ - validator_address - }: AminoMsgWithdrawValidatorCommission["value"]): MsgWithdrawValidatorCommission => { - return { - validatorAddress: validator_address - }; - } - }, - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: "cosmos-sdk/MsgFundCommunityPool", - toAmino: ({ - amount, - depositor - }: MsgFundCommunityPool): AminoMsgFundCommunityPool["value"] => { - return { - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - depositor - }; - }, - fromAmino: ({ - amount, - depositor - }: AminoMsgFundCommunityPool["value"]): MsgFundCommunityPool => { - return { - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - depositor - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts deleted file mode 100644 index 52aa99f7a..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts +++ /dev/null @@ -1,100 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.encode(value).finish() - }; - }, - - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.encode(value).finish() - }; - }, - - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.encode(value).finish() - }; - }, - - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.encode(value).finish() - }; - } - - }, - withTypeUrl: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value - }; - }, - - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value - }; - }, - - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value - }; - }, - - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value - }; - } - - }, - fromPartial: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.fromPartial(value) - }; - }, - - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.fromPartial(value) - }; - }, - - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.fromPartial(value) - }; - }, - - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 64e7e1905..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.setWithdrawAddress = this.setWithdrawAddress.bind(this); - this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this); - this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this); - this.fundCommunityPool = this.fundCommunityPool.bind(this); - } - - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { - const data = MsgSetWithdrawAddress.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); - return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); - } - - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { - const data = MsgWithdrawDelegatorReward.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); - return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); - } - - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { - const data = MsgWithdrawValidatorCommission.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); - return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); - } - - fundCommunityPool(request: MsgFundCommunityPool): Promise { - const data = MsgFundCommunityPool.encode(request).finish(); - const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); - return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts deleted file mode 100644 index e4d3b018f..000000000 --- a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts +++ /dev/null @@ -1,472 +0,0 @@ -import { Coin, 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; -} -/** - * 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 {} -/** 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; -} -/** - * 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 { - amount: Coin[]; -} -/** 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; -} -/** - * 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 { - amount: Coin[]; -} -/** 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; -} -/** - * 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 {} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ - -export interface MsgFundCommunityPoolResponseSDKType {} - -function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { - return { - delegatorAddress: "", - withdrawAddress: "" - }; -} - -export const MsgSetWithdrawAddress = { - encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.withdrawAddress !== "") { - writer.uint32(18).string(message.withdrawAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSetWithdrawAddress(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.withdrawAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSetWithdrawAddress { - const message = createBaseMsgSetWithdrawAddress(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - } - -}; - -function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse { - return {}; -} - -export const MsgSetWithdrawAddressResponse = { - encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSetWithdrawAddressResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgSetWithdrawAddressResponse { - const message = createBaseMsgSetWithdrawAddressResponse(); - return message; - } - -}; - -function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} - -export const MsgWithdrawDelegatorReward = { - encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawDelegatorReward(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgWithdrawDelegatorReward { - const message = createBaseMsgWithdrawDelegatorReward(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse { - return { - amount: [] - }; -} - -export const MsgWithdrawDelegatorRewardResponse = { - encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawDelegatorRewardResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgWithdrawDelegatorRewardResponse { - const message = createBaseMsgWithdrawDelegatorRewardResponse(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission { - return { - validatorAddress: "" - }; -} - -export const MsgWithdrawValidatorCommission = { - encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawValidatorCommission(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgWithdrawValidatorCommission { - const message = createBaseMsgWithdrawValidatorCommission(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse { - return { - amount: [] - }; -} - -export const MsgWithdrawValidatorCommissionResponse = { - encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawValidatorCommissionResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgWithdrawValidatorCommissionResponse { - const message = createBaseMsgWithdrawValidatorCommissionResponse(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgFundCommunityPool(): MsgFundCommunityPool { - return { - amount: [], - depositor: "" - }; -} - -export const MsgFundCommunityPool = { - encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgFundCommunityPool(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.depositor = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgFundCommunityPool { - const message = createBaseMsgFundCommunityPool(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.depositor = object.depositor ?? ""; - return message; - } - -}; - -function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse { - return {}; -} - -export const MsgFundCommunityPoolResponse = { - encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgFundCommunityPoolResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgFundCommunityPoolResponse { - const message = createBaseMsgFundCommunityPoolResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts deleted file mode 100644 index 2aef61084..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ - -export interface Equivocation { - height: Long; - time?: Date | undefined; - power: Long; - consensusAddress: string; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ - -export interface EquivocationSDKType { - height: Long; - time?: Date | undefined; - power: Long; - consensus_address: string; -} - -function createBaseEquivocation(): Equivocation { - return { - height: Long.ZERO, - time: undefined, - power: Long.ZERO, - consensusAddress: "" - }; -} - -export const Equivocation = { - encode(message: Equivocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); - } - - if (!message.power.isZero()) { - writer.uint32(24).int64(message.power); - } - - if (message.consensusAddress !== "") { - writer.uint32(34).string(message.consensusAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 3: - message.power = (reader.int64() as Long); - break; - - case 4: - message.consensusAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Equivocation { - const message = createBaseEquivocation(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.time = object.time ?? undefined; - message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; - message.consensusAddress = object.consensusAddress ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts deleted file mode 100644 index 639c33dca..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Any, 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[]; -} -/** GenesisState defines the evidence module's genesis state. */ - -export interface GenesisStateSDKType { - /** evidence defines all the evidence at genesis. */ - evidence: AnySDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - evidence: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.evidence) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts deleted file mode 100644 index ff67beab4..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts deleted file mode 100644 index f55807bd8..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts deleted file mode 100644 index 11a303b08..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts +++ /dev/null @@ -1,259 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, 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; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceRequestSDKType { - /** evidence_hash defines the hash of the requested evidence. */ - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence?: Any | undefined; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceResponseSDKType { - /** evidence returns the requested evidence. */ - evidence?: AnySDKType | undefined; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceResponseSDKType { - /** evidence returns all evidences. */ - evidence: AnySDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { - return { - evidenceHash: new Uint8Array() - }; -} - -export const QueryEvidenceRequest = { - encode(message: QueryEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.evidenceHash.length !== 0) { - writer.uint32(10).bytes(message.evidenceHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryEvidenceRequest { - const message = createBaseQueryEvidenceRequest(); - message.evidenceHash = object.evidenceHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { - return { - evidence: undefined - }; -} - -export const QueryEvidenceResponse = { - encode(message: QueryEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.evidence !== undefined) { - Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryEvidenceResponse { - const message = createBaseQueryEvidenceResponse(); - message.evidence = object.evidence !== undefined && object.evidence !== null ? Any.fromPartial(object.evidence) : undefined; - return message; - } - -}; - -function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { - return { - pagination: undefined - }; -} - -export const QueryAllEvidenceRequest = { - encode(message: QueryAllEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryAllEvidenceRequest { - const message = createBaseQueryAllEvidenceRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { - return { - evidence: [], - pagination: undefined - }; -} - -export const QueryAllEvidenceResponse = { - encode(message: QueryAllEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts deleted file mode 100644 index 033b9c6c1..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgSubmitEvidence } from "./tx"; -export interface AminoMsgSubmitEvidence extends AminoMsg { - type: "cosmos-sdk/MsgSubmitEvidence"; - value: { - submitter: string; - evidence: { - type_url: string; - value: Uint8Array; - }; - }; -} -export const AminoConverter = { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: "cosmos-sdk/MsgSubmitEvidence", - toAmino: ({ - submitter, - evidence - }: MsgSubmitEvidence): AminoMsgSubmitEvidence["value"] => { - return { - submitter, - evidence: { - type_url: evidence.typeUrl, - value: evidence.value - } - }; - }, - fromAmino: ({ - submitter, - evidence - }: AminoMsgSubmitEvidence["value"]): MsgSubmitEvidence => { - return { - submitter, - evidence: { - typeUrl: evidence.type_url, - value: evidence.value - } - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts deleted file mode 100644 index 327c02be8..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts +++ /dev/null @@ -1,37 +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 - }; - } - - }, - fromPartial: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index afd22359e..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts deleted file mode 100644 index 3f2c3de54..000000000 --- a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { Any, 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; -} -/** - * 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; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ - -export interface MsgSubmitEvidenceResponseSDKType { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} - -function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { - return { - submitter: "", - evidence: undefined - }; -} - -export const MsgSubmitEvidence = { - encode(message: MsgSubmitEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.submitter !== "") { - writer.uint32(10).string(message.submitter); - } - - if (message.evidence !== undefined) { - Any.encode(message.evidence, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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; - } - -}; - -function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { - return { - hash: new Uint8Array() - }; -} - -export const MsgSubmitEvidenceResponse = { - encode(message: MsgSubmitEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash.length !== 0) { - writer.uint32(34).bytes(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): MsgSubmitEvidenceResponse { - const message = createBaseMsgSubmitEvidenceResponse(); - message.hash = object.hash ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts deleted file mode 100644 index 2028d9334..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ /dev/null @@ -1,402 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "../../../helpers"; -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ - -export interface BasicAllowance { - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens 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?: Date | undefined; -} -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ - -export interface BasicAllowanceSDKType { - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spend_limit: CoinSDKType[]; - /** expiration specifies an optional time when this allowance expires */ - - expiration?: Date | undefined; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ - -export interface PeriodicAllowance { - /** basic specifies a struct of `BasicAllowance` */ - basic?: BasicAllowance | undefined; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - - period?: Duration | undefined; - /** - * 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?: Date | undefined; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ - -export interface PeriodicAllowanceSDKType { - /** basic specifies a struct of `BasicAllowance` */ - basic?: BasicAllowanceSDKType | undefined; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - - period?: DurationSDKType | undefined; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - - period_spend_limit: CoinSDKType[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - - period_can_spend: CoinSDKType[]; - /** - * 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?: Date | undefined; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ - -export interface AllowedMsgAllowance { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: Any | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - - allowedMessages: string[]; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ - -export interface AllowedMsgAllowanceSDKType { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: AnySDKType | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - - 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?: Any | undefined; -} -/** Grant is stored in the KVStore to record a grant with full context */ - -export interface GrantSDKType { - /** 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?: AnySDKType | undefined; -} - -function createBaseBasicAllowance(): BasicAllowance { - return { - spendLimit: [], - expiration: undefined - }; -} - -export const BasicAllowance = { - encode(message: BasicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.spendLimit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBasicAllowance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.spendLimit.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BasicAllowance { - const message = createBaseBasicAllowance(); - message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - message.expiration = object.expiration ?? undefined; - return message; - } - -}; - -function createBasePeriodicAllowance(): PeriodicAllowance { - return { - basic: undefined, - period: undefined, - periodSpendLimit: [], - periodCanSpend: [], - periodReset: undefined - }; -} - -export const PeriodicAllowance = { - encode(message: PeriodicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.basic !== undefined) { - BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim(); - } - - if (message.period !== undefined) { - Duration.encode(message.period, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.periodSpendLimit) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.periodCanSpend) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.periodReset !== undefined) { - Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriodicAllowance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.basic = BasicAllowance.decode(reader, reader.uint32()); - break; - - case 2: - message.period = Duration.decode(reader, reader.uint32()); - break; - - case 3: - message.periodSpendLimit.push(Coin.decode(reader, reader.uint32())); - break; - - case 4: - message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); - break; - - case 5: - message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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; - return message; - } - -}; - -function createBaseAllowedMsgAllowance(): AllowedMsgAllowance { - return { - allowance: undefined, - allowedMessages: [] - }; -} - -export const AllowedMsgAllowance = { - encode(message: AllowedMsgAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowance !== undefined) { - Any.encode(message.allowance, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.allowedMessages) { - writer.uint32(18).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAllowedMsgAllowance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.allowance = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.allowedMessages.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AllowedMsgAllowance { - const message = createBaseAllowedMsgAllowance(); - message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; - message.allowedMessages = object.allowedMessages?.map(e => e) || []; - return message; - } - -}; - -function createBaseGrant(): Grant { - return { - granter: "", - grantee: "", - allowance: undefined - }; -} - -export const Grant = { - encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.allowance !== undefined) { - Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Grant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrant(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.allowance = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Grant { - const message = createBaseGrant(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts deleted file mode 100644 index cdb858fcc..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Grant, 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[]; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ - -export interface GenesisStateSDKType { - allowances: GrantSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - allowances: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowances.push(Grant.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts deleted file mode 100644 index c486edb7b..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.allowance = this.allowance.bind(this); - this.allowances = this.allowances.bind(this); - this.allowancesByGranter = this.allowancesByGranter.bind(this); - } - /* Allowance returns fee granted to the grantee by the granter. */ - - - async allowance(params: QueryAllowanceRequest): Promise { - const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; - return await this.req.get(endpoint); - } - /* Allowances returns all the grants for address. */ - - - async allowances(params: QueryAllowancesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; - return await this.req.get(endpoint, options); - } - /* AllowancesByGranter returns all the grants given by an address - Since v0.46 */ - - - async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts deleted file mode 100644 index a23808dcb..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 v0.46 - */ - - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.allowance = this.allowance.bind(this); - this.allowances = this.allowances.bind(this); - this.allowancesByGranter = this.allowancesByGranter.bind(this); - } - - allowance(request: QueryAllowanceRequest): Promise { - const data = QueryAllowanceRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); - return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); - } - - allowances(request: QueryAllowancesRequest): Promise { - const data = QueryAllowancesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); - return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); - } - - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { - const data = QueryAllowancesByGranterRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); - return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - allowance(request: QueryAllowanceRequest): Promise { - return queryService.allowance(request); - }, - - allowances(request: QueryAllowancesRequest): Promise { - return queryService.allowances(request); - }, - - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { - return queryService.allowancesByGranter(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts deleted file mode 100644 index 5d4f30446..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts +++ /dev/null @@ -1,421 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, 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; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ - -export interface QueryAllowanceRequestSDKType { - /** 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; -} -/** 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 | undefined; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ - -export interface QueryAllowanceResponseSDKType { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: GrantSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesRequestSDKType { - grantee: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesResponseSDKType { - /** allowances are allowance's granted for grantee by granter. */ - allowances: GrantSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest | undefined; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterResponse { - /** allowances that have been issued by the granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse | undefined; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterResponseSDKType { - /** allowances that have been issued by the granter. */ - allowances: GrantSDKType[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { - return { - granter: "", - grantee: "" - }; -} - -export const QueryAllowanceRequest = { - encode(message: QueryAllowanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowanceRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowanceRequest { - const message = createBaseQueryAllowanceRequest(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - } - -}; - -function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { - return { - allowance: undefined - }; -} - -export const QueryAllowanceResponse = { - encode(message: QueryAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowance !== undefined) { - Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowanceResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.allowance = Grant.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowanceResponse { - const message = createBaseQueryAllowanceResponse(); - message.allowance = object.allowance !== undefined && object.allowance !== null ? Grant.fromPartial(object.allowance) : undefined; - return message; - } - -}; - -function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { - return { - grantee: "", - pagination: undefined - }; -} - -export const QueryAllowancesRequest = { - encode(message: QueryAllowancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowancesRequest { - const message = createBaseQueryAllowancesRequest(); - message.grantee = object.grantee ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { - return { - allowances: [], - pagination: undefined - }; -} - -export const QueryAllowancesResponse = { - encode(message: QueryAllowancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.allowances.push(Grant.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowancesResponse { - const message = createBaseQueryAllowancesResponse(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { - return { - granter: "", - pagination: undefined - }; -} - -export const QueryAllowancesByGranterRequest = { - encode(message: QueryAllowancesByGranterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesByGranterRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowancesByGranterRequest { - const message = createBaseQueryAllowancesByGranterRequest(); - message.granter = object.granter ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { - return { - allowances: [], - pagination: undefined - }; -} - -export const QueryAllowancesByGranterResponse = { - encode(message: QueryAllowancesByGranterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesByGranterResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.allowances.push(Grant.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllowancesByGranterResponse { - const message = createBaseQueryAllowancesByGranterResponse(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts deleted file mode 100644 index 72aa6e5b1..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -export interface AminoMsgGrantAllowance extends AminoMsg { - type: "cosmos-sdk/MsgGrantAllowance"; - value: { - granter: string; - grantee: string; - allowance: { - type_url: string; - value: Uint8Array; - }; - }; -} -export interface AminoMsgRevokeAllowance extends AminoMsg { - type: "cosmos-sdk/MsgRevokeAllowance"; - value: { - granter: string; - grantee: string; - }; -} -export const AminoConverter = { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: "cosmos-sdk/MsgGrantAllowance", - toAmino: ({ - granter, - grantee, - allowance - }: MsgGrantAllowance): AminoMsgGrantAllowance["value"] => { - return { - granter, - grantee, - allowance: { - type_url: allowance.typeUrl, - value: allowance.value - } - }; - }, - fromAmino: ({ - granter, - grantee, - allowance - }: AminoMsgGrantAllowance["value"]): MsgGrantAllowance => { - return { - granter, - grantee, - allowance: { - typeUrl: allowance.type_url, - value: allowance.value - } - }; - } - }, - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: "cosmos-sdk/MsgRevokeAllowance", - toAmino: ({ - granter, - grantee - }: MsgRevokeAllowance): AminoMsgRevokeAllowance["value"] => { - return { - granter, - grantee - }; - }, - fromAmino: ({ - granter, - grantee - }: AminoMsgRevokeAllowance["value"]): MsgRevokeAllowance => { - return { - granter, - grantee - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts deleted file mode 100644 index 71c8e6ec8..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +++ /dev/null @@ -1,58 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.encode(value).finish() - }; - }, - - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.encode(value).finish() - }; - } - - }, - withTypeUrl: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value - }; - }, - - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value - }; - } - - }, - fromPartial: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.fromPartial(value) - }; - }, - - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 1bc315e34..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.grantAllowance = this.grantAllowance.bind(this); - this.revokeAllowance = this.revokeAllowance.bind(this); - } - - grantAllowance(request: MsgGrantAllowance): Promise { - const data = MsgGrantAllowance.encode(request).finish(); - const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); - return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); - } - - revokeAllowance(request: MsgRevokeAllowance): Promise { - const data = MsgRevokeAllowance.encode(request).finish(); - const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); - return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts deleted file mode 100644 index 8b88dee50..000000000 --- a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts +++ /dev/null @@ -1,250 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -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?: Any | undefined; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ - -export interface MsgGrantAllowanceSDKType { - /** 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?: AnySDKType | undefined; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ - -export interface MsgGrantAllowanceResponse {} -/** 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; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ - -export interface MsgRevokeAllowanceSDKType { - /** 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; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ - -export interface MsgRevokeAllowanceResponse {} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ - -export interface MsgRevokeAllowanceResponseSDKType {} - -function createBaseMsgGrantAllowance(): MsgGrantAllowance { - return { - granter: "", - grantee: "", - allowance: undefined - }; -} - -export const MsgGrantAllowance = { - encode(message: MsgGrantAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - if (message.allowance !== undefined) { - Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantAllowance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - case 3: - message.allowance = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgGrantAllowance { - const message = createBaseMsgGrantAllowance(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; - return message; - } - -}; - -function createBaseMsgGrantAllowanceResponse(): MsgGrantAllowanceResponse { - return {}; -} - -export const MsgGrantAllowanceResponse = { - encode(_: MsgGrantAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantAllowanceResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgGrantAllowanceResponse { - const message = createBaseMsgGrantAllowanceResponse(); - return message; - } - -}; - -function createBaseMsgRevokeAllowance(): MsgRevokeAllowance { - return { - granter: "", - grantee: "" - }; -} - -export const MsgRevokeAllowance = { - encode(message: MsgRevokeAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeAllowance(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - - case 2: - message.grantee = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgRevokeAllowance { - const message = createBaseMsgRevokeAllowance(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - } - -}; - -function createBaseMsgRevokeAllowanceResponse(): MsgRevokeAllowanceResponse { - return {}; -} - -export const MsgRevokeAllowanceResponse = { - encode(_: MsgRevokeAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeAllowanceResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgRevokeAllowanceResponse { - const message = createBaseMsgRevokeAllowanceResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts deleted file mode 100644 index 98e44e4e3..000000000 --- a/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts +++ /dev/null @@ -1,58 +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[]; -} -/** GenesisState defines the raw genesis transaction in JSON. */ - -export interface GenesisStateSDKType { - /** gen_txs defines the genesis transactions. */ - gen_txs: Uint8Array[]; -} - -function createBaseGenesisState(): GenesisState { - return { - genTxs: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.genTxs) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.genTxs = object.genTxs?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts deleted file mode 100644 index 000143893..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts +++ /dev/null @@ -1,156 +0,0 @@ -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** 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 | undefined; - /** params defines all the paramaters of related to voting. */ - - votingParams?: VotingParams | undefined; - /** params defines all the paramaters of related to tally. */ - - tallyParams?: TallyParams | undefined; -} -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisStateSDKType { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: Long; - /** deposits defines all the deposits present at genesis. */ - - deposits: DepositSDKType[]; - /** votes defines all the votes present at genesis. */ - - votes: VoteSDKType[]; - /** proposals defines all the proposals present at genesis. */ - - proposals: ProposalSDKType[]; - /** params defines all the paramaters of related to deposit. */ - - deposit_params?: DepositParamsSDKType | undefined; - /** params defines all the paramaters of related to voting. */ - - voting_params?: VotingParamsSDKType | undefined; - /** params defines all the paramaters of related to tally. */ - - tally_params?: TallyParamsSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - startingProposalId: Long.UZERO, - deposits: [], - votes: [], - proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.startingProposalId.isZero()) { - writer.uint32(8).uint64(message.startingProposalId); - } - - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); - } - - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); - } - - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); - break; - - case 2: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - - case 3: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 4: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 5: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - - case 6: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - - case 7: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? Long.fromValue(object.startingProposalId) : Long.UZERO; - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; - message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; - message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1/gov.ts deleted file mode 100644 index 5b213be53..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/gov.ts +++ /dev/null @@ -1,985 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { Long, 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. */ - 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, -} -/** VoteOption enumerates the valid vote options for a given governance proposal. */ - -export enum VoteOptionSDKType { - /** 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 function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ - -export enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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, -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ - -export enum ProposalStatusSDKType { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - - case 1: - case "PROPOSAL_STATUS_DEPOSIT_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; - - case 2: - case "PROPOSAL_STATUS_VOTING_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; - - case 3: - case "PROPOSAL_STATUS_PASSED": - return ProposalStatus.PROPOSAL_STATUS_PASSED; - - case 4: - case "PROPOSAL_STATUS_REJECTED": - return ProposalStatus.PROPOSAL_STATUS_REJECTED; - - case 5: - case "PROPOSAL_STATUS_FAILED": - return ProposalStatus.PROPOSAL_STATUS_FAILED; - - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - - case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: - return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; - - case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: - return "PROPOSAL_STATUS_VOTING_PERIOD"; - - case ProposalStatus.PROPOSAL_STATUS_PASSED: - return "PROPOSAL_STATUS_PASSED"; - - case ProposalStatus.PROPOSAL_STATUS_REJECTED: - return "PROPOSAL_STATUS_REJECTED"; - - case ProposalStatus.PROPOSAL_STATUS_FAILED: - return "PROPOSAL_STATUS_FAILED"; - - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** WeightedVoteOption defines a unit of vote for vote split. */ - -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ - -export interface WeightedVoteOptionSDKType { - option: VoteOptionSDKType; - weight: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ - -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -/** - * 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 | undefined; - submitTime?: Date | undefined; - depositEndTime?: Date | undefined; - totalDeposit: Coin[]; - votingStartTime?: Date | undefined; - votingEndTime?: Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ - - metadata: string; -} -/** Proposal defines the core field members of a governance proposal. */ - -export interface ProposalSDKType { - id: Long; - messages: AnySDKType[]; - status: ProposalStatusSDKType; - /** - * 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?: TallyResultSDKType | undefined; - submit_time?: Date | undefined; - deposit_end_time?: Date | undefined; - total_deposit: CoinSDKType[]; - voting_start_time?: Date | undefined; - voting_end_time?: Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ - - metadata: string; -} -/** TallyResult defines a standard tally for a governance proposal. */ - -export interface TallyResult { - yesCount: string; - abstainCount: string; - noCount: string; - noWithVetoCount: string; -} -/** 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; -} -/** - * 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 is any arbitrary metadata to attached to the vote. */ - - 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 | undefined; -} -/** DepositParams defines the params for deposits on governance proposals. */ - -export interface DepositParamsSDKType { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinSDKType[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - - max_deposit_period?: DurationSDKType | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParamsSDKType { - /** Length of the voting period. */ - voting_period?: DurationSDKType | undefined; -} -/** 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; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParamsSDKType { - /** - * 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; -} - -function createBaseWeightedVoteOption(): WeightedVoteOption { - return { - option: 0, - weight: "" - }; -} - -export const WeightedVoteOption = { - encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.option !== 0) { - writer.uint32(8).int32(message.option); - } - - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWeightedVoteOption(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.option = (reader.int32() as any); - break; - - case 2: - message.weight = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): WeightedVoteOption { - const message = createBaseWeightedVoteOption(); - message.option = object.option ?? 0; - message.weight = object.weight ?? ""; - return message; - } - -}; - -function createBaseDeposit(): Deposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} - -export const Deposit = { - encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeposit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Deposit { - const message = createBaseDeposit(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseProposal(): Proposal { - return { - id: Long.UZERO, - messages: [], - status: 0, - finalTallyResult: undefined, - submitTime: undefined, - depositEndTime: undefined, - totalDeposit: [], - votingStartTime: undefined, - votingEndTime: undefined, - metadata: "" - }; -} - -export const Proposal = { - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - - for (const v of message.messages) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.status !== 0) { - writer.uint32(24).int32(message.status); - } - - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); - } - - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - - if (message.depositEndTime !== undefined) { - 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); - } - - if (message.votingEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); - } - - if (message.metadata !== "") { - writer.uint32(82).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - - case 2: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - - case 3: - message.status = (reader.int32() as any); - break; - - case 4: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 6: - message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 7: - message.totalDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 8: - message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 9: - message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 10: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Proposal { - const message = createBaseProposal(); - message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; - 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; - message.depositEndTime = object.depositEndTime ?? undefined; - message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime ?? undefined; - message.votingEndTime = object.votingEndTime ?? undefined; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseTallyResult(): TallyResult { - return { - yesCount: "", - abstainCount: "", - noCount: "", - noWithVetoCount: "" - }; -} - -export const TallyResult = { - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yesCount !== "") { - writer.uint32(10).string(message.yesCount); - } - - if (message.abstainCount !== "") { - writer.uint32(18).string(message.abstainCount); - } - - if (message.noCount !== "") { - writer.uint32(26).string(message.noCount); - } - - if (message.noWithVetoCount !== "") { - writer.uint32(34).string(message.noWithVetoCount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.yesCount = reader.string(); - break; - - case 2: - message.abstainCount = reader.string(); - break; - - case 3: - message.noCount = reader.string(); - break; - - case 4: - message.noWithVetoCount = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TallyResult { - const message = createBaseTallyResult(); - message.yesCount = object.yesCount ?? ""; - message.abstainCount = object.abstainCount ?? ""; - message.noCount = object.noCount ?? ""; - message.noWithVetoCount = object.noWithVetoCount ?? ""; - return message; - } - -}; - -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - options: [], - metadata: "" - }; -} - -export const Vote = { - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.metadata !== "") { - writer.uint32(42).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 4: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - - case 5: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Vote { - const message = createBaseVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseDepositParams(): DepositParams { - return { - minDeposit: [], - maxDepositPeriod: undefined - }; -} - -export const DepositParams = { - encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.minDeposit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.maxDepositPeriod !== undefined) { - Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDepositParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.minDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DepositParams { - const message = createBaseDepositParams(); - message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; - return message; - } - -}; - -function createBaseVotingParams(): VotingParams { - return { - votingPeriod: undefined - }; -} - -export const VotingParams = { - encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVotingParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): VotingParams { - const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; - return message; - } - -}; - -function createBaseTallyParams(): TallyParams { - return { - quorum: "", - threshold: "", - vetoThreshold: "" - }; -} - -export const TallyParams = { - encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.quorum !== "") { - writer.uint32(10).string(message.quorum); - } - - if (message.threshold !== "") { - writer.uint32(18).string(message.threshold); - } - - if (message.vetoThreshold !== "") { - writer.uint32(26).string(message.vetoThreshold); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.quorum = reader.string(); - break; - - case 2: - message.threshold = reader.string(); - break; - - case 3: - message.vetoThreshold = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TallyParams { - const message = createBaseTallyParams(); - message.quorum = object.quorum ?? ""; - message.threshold = object.threshold ?? ""; - message.vetoThreshold = object.vetoThreshold ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts deleted file mode 100644 index c70703b85..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* Proposal queries proposal details based on ProposalID. */ - - - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* Proposals queries all proposals based on given status. */ - - - async proposals(params: QueryProposalsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.proposalStatus !== "undefined") { - options.params.proposal_status = params.proposalStatus; - } - - if (typeof params?.voter !== "undefined") { - options.params.voter = params.voter; - } - - if (typeof params?.depositor !== "undefined") { - options.params.depositor = params.depositor; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1/proposals`; - return await this.req.get(endpoint, options); - } - /* Vote queries voted information based on proposalID, voterAddr. */ - - - async vote(params: QueryVoteRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.req.get(endpoint); - } - /* Votes queries votes of a given proposal. */ - - - async votes(params: QueryVotesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; - return await this.req.get(endpoint, options); - } - /* Params queries all parameters of the gov module. */ - - - async params(params: QueryParamsRequest): Promise { - const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; - return await this.req.get(endpoint); - } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - - - async deposit(params: QueryDepositRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.req.get(endpoint); - } - /* Deposits queries all deposits of a single proposal. */ - - - async deposits(params: QueryDepositsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal vote. */ - - - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts deleted file mode 100644 index 35784235a..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.query.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - - proposal(request: QueryProposalRequest): Promise { - const data = QueryProposalRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); - return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); - } - - proposals(request: QueryProposalsRequest): Promise { - const data = QueryProposalsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); - return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); - } - - vote(request: QueryVoteRequest): Promise { - const data = QueryVoteRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); - return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); - } - - votes(request: QueryVotesRequest): Promise { - const data = QueryVotesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); - return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - deposit(request: QueryDepositRequest): Promise { - const data = QueryDepositRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); - return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); - } - - deposits(request: QueryDepositsRequest): Promise { - const data = QueryDepositsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); - return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); - } - - tallyResult(request: QueryTallyResultRequest): Promise { - const data = QueryTallyResultRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); - return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - proposal(request: QueryProposalRequest): Promise { - return queryService.proposal(request); - }, - - proposals(request: QueryProposalsRequest): Promise { - return queryService.proposals(request); - }, - - vote(request: QueryVoteRequest): Promise { - return queryService.vote(request); - }, - - votes(request: QueryVotesRequest): Promise { - return queryService.votes(request); - }, - - params(request: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - deposit(request: QueryDepositRequest): Promise { - return queryService.deposit(request); - }, - - deposits(request: QueryDepositsRequest): Promise { - return queryService.deposits(request); - }, - - tallyResult(request: QueryTallyResultRequest): Promise { - return queryService.tallyResult(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.ts deleted file mode 100644 index 0aad3e944..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/query.ts +++ /dev/null @@ -1,1114 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import * as _m0 from "protobufjs/minimal"; -import { Long } 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. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponse { - proposal?: Proposal | undefined; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequestSDKType { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatusSDKType; - /** 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?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 oter address for the proposals. */ - - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** voter defines the oter address for the proposals. */ - - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote | undefined; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponseSDKType { - /** vote defined the queried vote. */ - vote?: VoteSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponseSDKType { - /** votes defined the queried votes. */ - votes: VoteSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - - depositParams?: DepositParams | undefined; - /** tally_params defines the parameters related to tally. */ - - tallyParams?: TallyParams | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsSDKType | undefined; - /** deposit_params defines the parameters related to deposit. */ - - deposit_params?: DepositParamsSDKType | undefined; - /** tally_params defines the parameters related to tally. */ - - tally_params?: TallyParamsSDKType | undefined; -} -/** 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; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit | undefined; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponseSDKType { - /** deposit defines the requested deposit. */ - deposit?: DepositSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult | undefined; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponseSDKType { - /** tally defines the requested tally. */ - tally?: TallyResultSDKType | undefined; -} - -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryProposalRequest = { - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: undefined - }; -} - -export const QueryProposalResponse = { - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsRequest(): QueryProposalsRequest { - return { - proposalStatus: 0, - voter: "", - depositor: "", - pagination: undefined - }; -} - -export const QueryProposalsRequest = { - encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposalStatus !== 0) { - writer.uint32(8).int32(message.proposalStatus); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.depositor !== "") { - writer.uint32(26).string(message.depositor); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalStatus = (reader.int32() as any); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.depositor = reader.string(); - break; - - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsRequest { - const message = createBaseQueryProposalsRequest(); - message.proposalStatus = object.proposalStatus ?? 0; - message.voter = object.voter ?? ""; - message.depositor = object.depositor ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsResponse(): QueryProposalsResponse { - return { - proposals: [], - pagination: undefined - }; -} - -export const QueryProposalsResponse = { - encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsResponse { - const message = createBaseQueryProposalsResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVoteRequest(): QueryVoteRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} - -export const QueryVoteRequest = { - encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteRequest { - const message = createBaseQueryVoteRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - return message; - } - -}; - -function createBaseQueryVoteResponse(): QueryVoteResponse { - return { - vote: undefined - }; -} - -export const QueryVoteResponse = { - encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteResponse { - const message = createBaseQueryVoteResponse(); - message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; - return message; - } - -}; - -function createBaseQueryVotesRequest(): QueryVotesRequest { - return { - proposalId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryVotesRequest = { - encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesRequest { - const message = createBaseQueryVotesRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVotesResponse(): QueryVotesResponse { - return { - votes: [], - pagination: undefined - }; -} - -export const QueryVotesResponse = { - encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesResponse { - const message = createBaseQueryVotesResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - paramsType: "" - }; -} - -export const QueryParamsRequest = { - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.paramsType !== "") { - writer.uint32(10).string(message.paramsType); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.paramsType = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.paramsType = object.paramsType ?? ""; - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); - } - - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); - } - - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - - case 2: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - - case 3: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; - message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; - message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; - return message; - } - -}; - -function createBaseQueryDepositRequest(): QueryDepositRequest { - return { - proposalId: Long.UZERO, - depositor: "" - }; -} - -export const QueryDepositRequest = { - encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositRequest { - const message = createBaseQueryDepositRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - return message; - } - -}; - -function createBaseQueryDepositResponse(): QueryDepositResponse { - return { - deposit: undefined - }; -} - -export const QueryDepositResponse = { - encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deposit !== undefined) { - Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.deposit = Deposit.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositResponse { - const message = createBaseQueryDepositResponse(); - message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; - return message; - } - -}; - -function createBaseQueryDepositsRequest(): QueryDepositsRequest { - return { - proposalId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryDepositsRequest = { - encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositsRequest { - const message = createBaseQueryDepositsRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDepositsResponse(): QueryDepositsResponse { - return { - deposits: [], - pagination: undefined - }; -} - -export const QueryDepositsResponse = { - encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositsResponse { - const message = createBaseQueryDepositsResponse(); - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryTallyResultRequest = { - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: undefined - }; -} - -export const QueryTallyResultResponse = { - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts deleted file mode 100644 index 3b7ec125a..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { voteOptionFromJSON } from "./gov"; -import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "../../../helpers"; -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export interface AminoMsgSubmitProposal extends AminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposal"; - value: { - messages: { - type_url: string; - value: Uint8Array; - }[]; - initial_deposit: { - denom: string; - amount: string; - }[]; - proposer: string; - metadata: string; - }; -} -export interface AminoMsgExecLegacyContent extends AminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContent"; - value: { - content: { - type_url: string; - value: Uint8Array; - }; - authority: string; - }; -} -export interface AminoMsgVote extends AminoMsg { - type: "cosmos-sdk/v1/MsgVote"; - value: { - proposal_id: string; - voter: string; - option: number; - metadata: string; - }; -} -export interface AminoMsgVoteWeighted extends AminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeighted"; - value: { - proposal_id: string; - voter: string; - options: { - option: number; - weight: string; - }[]; - metadata: string; - }; -} -export interface AminoMsgDeposit extends AminoMsg { - type: "cosmos-sdk/v1/MsgDeposit"; - value: { - proposal_id: string; - depositor: string; - amount: { - denom: string; - amount: string; - }[]; - }; -} -export const AminoConverter = { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/v1/MsgSubmitProposal", - toAmino: ({ - messages, - initialDeposit, - proposer, - metadata - }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { - return { - messages: messages.map(el0 => ({ - type_url: el0.typeUrl, - value: el0.value - })), - initial_deposit: initialDeposit.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - proposer, - metadata - }; - }, - fromAmino: ({ - messages, - initial_deposit, - proposer, - metadata - }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { - return { - messages: messages.map(el0 => ({ - typeUrl: el0.type_url, - value: el0.value - })), - initialDeposit: initial_deposit.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - proposer, - metadata - }; - } - }, - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", - toAmino: ({ - content, - authority - }: MsgExecLegacyContent): AminoMsgExecLegacyContent["value"] => { - return { - content: { - type_url: content.typeUrl, - value: content.value - }, - authority - }; - }, - fromAmino: ({ - content, - authority - }: AminoMsgExecLegacyContent["value"]): MsgExecLegacyContent => { - return { - content: { - typeUrl: content.type_url, - value: content.value - }, - authority - }; - } - }, - "/cosmos.gov.v1.MsgVote": { - aminoType: "cosmos-sdk/v1/MsgVote", - toAmino: ({ - proposalId, - voter, - option, - metadata - }: MsgVote): AminoMsgVote["value"] => { - return { - proposal_id: proposalId.toString(), - voter, - option, - metadata - }; - }, - fromAmino: ({ - proposal_id, - voter, - option, - metadata - }: AminoMsgVote["value"]): MsgVote => { - return { - proposalId: Long.fromString(proposal_id), - voter, - option: voteOptionFromJSON(option), - metadata - }; - } - }, - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: "cosmos-sdk/v1/MsgVoteWeighted", - toAmino: ({ - proposalId, - voter, - options, - metadata - }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { - return { - proposal_id: proposalId.toString(), - voter, - options: options.map(el0 => ({ - option: el0.option, - weight: el0.weight - })), - metadata - }; - }, - fromAmino: ({ - proposal_id, - voter, - options, - metadata - }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { - return { - proposalId: Long.fromString(proposal_id), - voter, - options: options.map(el0 => ({ - option: voteOptionFromJSON(el0.option), - weight: el0.weight - })), - metadata - }; - } - }, - "/cosmos.gov.v1.MsgDeposit": { - aminoType: "cosmos-sdk/v1/MsgDeposit", - toAmino: ({ - proposalId, - depositor, - amount - }: MsgDeposit): AminoMsgDeposit["value"] => { - return { - proposal_id: proposalId.toString(), - depositor, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - proposal_id, - depositor, - amount - }: AminoMsgDeposit["value"]): MsgDeposit => { - return { - proposalId: Long.fromString(proposal_id), - depositor, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts deleted file mode 100644 index 37ce8ff81..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts +++ /dev/null @@ -1,121 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.encode(value).finish() - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(value).finish() - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.encode(value).finish() - }; - } - - }, - withTypeUrl: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value - }; - }, - - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value - }; - } - - }, - fromPartial: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.fromPartial(value) - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.fromPartial(value) - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts deleted file mode 100644 index 2bd32ee2b..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.submitProposal = this.submitProposal.bind(this); - this.execLegacyContent = this.execLegacyContent.bind(this); - this.vote = this.vote.bind(this); - this.voteWeighted = this.voteWeighted.bind(this); - this.deposit = this.deposit.bind(this); - } - - submitProposal(request: MsgSubmitProposal): Promise { - const data = MsgSubmitProposal.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); - return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); - } - - execLegacyContent(request: MsgExecLegacyContent): Promise { - const data = MsgExecLegacyContent.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); - return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); - } - - vote(request: MsgVote): Promise { - const data = MsgVote.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); - return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); - } - - voteWeighted(request: MsgVoteWeighted): Promise { - const data = MsgVoteWeighted.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); - return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); - } - - deposit(request: MsgDeposit): Promise { - const data = MsgDeposit.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); - return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.ts deleted file mode 100644 index f5fc6c120..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1/tx.ts +++ /dev/null @@ -1,661 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * 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; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ - -export interface MsgSubmitProposalSDKType { - messages: AnySDKType[]; - initial_deposit: CoinSDKType[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - - metadata: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -/** 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?: Any | undefined; - /** authority must be the gov module address. */ - - authority: string; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ - -export interface MsgExecLegacyContentSDKType { - /** content is the proposal's content. */ - content?: AnySDKType | undefined; - /** authority must be the gov module address. */ - - authority: string; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ - -export interface MsgExecLegacyContentResponse {} -/** 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; -} -/** MsgVote defines a message to cast a vote. */ - -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOptionSDKType; - metadata: string; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ - -export interface MsgVoteResponse {} -/** 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; -} -/** 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 {} -/** 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[]; -} -/** 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 {} -/** MsgDepositResponse defines the Msg/Deposit response type. */ - -export interface MsgDepositResponseSDKType {} - -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - messages: [], - initialDeposit: [], - proposer: "", - metadata: "" - }; -} - -export const MsgSubmitProposal = { - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.messages) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.initialDeposit) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.proposer !== "") { - writer.uint32(26).string(message.proposer); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - - case 2: - message.initialDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 3: - message.proposer = reader.string(); - break; - - case 4: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; - message.proposer = object.proposer ?? ""; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} - -export const MsgSubmitProposalResponse = { - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgExecLegacyContent(): MsgExecLegacyContent { - return { - content: undefined, - authority: "" - }; -} - -export const MsgExecLegacyContent = { - encode(message: MsgExecLegacyContent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.content !== undefined) { - Any.encode(message.content, writer.uint32(10).fork()).ldelim(); - } - - if (message.authority !== "") { - writer.uint32(18).string(message.authority); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecLegacyContent(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.content = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.authority = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExecLegacyContent { - const message = createBaseMsgExecLegacyContent(); - message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; - message.authority = object.authority ?? ""; - return message; - } - -}; - -function createBaseMsgExecLegacyContentResponse(): MsgExecLegacyContentResponse { - return {}; -} - -export const MsgExecLegacyContentResponse = { - encode(_: MsgExecLegacyContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecLegacyContentResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgExecLegacyContentResponse { - const message = createBaseMsgExecLegacyContentResponse(); - return message; - } - -}; - -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "" - }; -} - -export const MsgVote = { - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.option = (reader.int32() as any); - break; - - case 4: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgVote { - const message = createBaseMsgVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} - -export const MsgVoteResponse = { - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - } - -}; - -function createBaseMsgVoteWeighted(): MsgVoteWeighted { - return { - proposalId: Long.UZERO, - voter: "", - options: [], - metadata: "" - }; -} - -export const MsgVoteWeighted = { - encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeighted(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - - case 4: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgVoteWeighted { - const message = createBaseMsgVoteWeighted(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { - return {}; -} - -export const MsgVoteWeightedResponse = { - encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeightedResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgVoteWeightedResponse { - const message = createBaseMsgVoteWeightedResponse(); - return message; - } - -}; - -function createBaseMsgDeposit(): MsgDeposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} - -export const MsgDeposit = { - encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDeposit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgDeposit { - const message = createBaseMsgDeposit(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgDepositResponse(): MsgDepositResponse { - return {}; -} - -export const MsgDepositResponse = { - encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDepositResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts deleted file mode 100644 index 000143893..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts +++ /dev/null @@ -1,156 +0,0 @@ -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** 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 | undefined; - /** params defines all the paramaters of related to voting. */ - - votingParams?: VotingParams | undefined; - /** params defines all the paramaters of related to tally. */ - - tallyParams?: TallyParams | undefined; -} -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisStateSDKType { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: Long; - /** deposits defines all the deposits present at genesis. */ - - deposits: DepositSDKType[]; - /** votes defines all the votes present at genesis. */ - - votes: VoteSDKType[]; - /** proposals defines all the proposals present at genesis. */ - - proposals: ProposalSDKType[]; - /** params defines all the paramaters of related to deposit. */ - - deposit_params?: DepositParamsSDKType | undefined; - /** params defines all the paramaters of related to voting. */ - - voting_params?: VotingParamsSDKType | undefined; - /** params defines all the paramaters of related to tally. */ - - tally_params?: TallyParamsSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - startingProposalId: Long.UZERO, - deposits: [], - votes: [], - proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.startingProposalId.isZero()) { - writer.uint32(8).uint64(message.startingProposalId); - } - - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); - } - - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); - } - - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); - break; - - case 2: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - - case 3: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 4: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 5: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - - case 6: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - - case 7: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? Long.fromValue(object.startingProposalId) : Long.UZERO; - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; - message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; - message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts deleted file mode 100644 index 897b28389..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts +++ /dev/null @@ -1,1066 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { Long, 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. */ - 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, -} -/** VoteOption enumerates the valid vote options for a given governance proposal. */ - -export enum VoteOptionSDKType { - /** 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 function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ - -export enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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, -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ - -export enum ProposalStatusSDKType { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - - case 1: - case "PROPOSAL_STATUS_DEPOSIT_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; - - case 2: - case "PROPOSAL_STATUS_VOTING_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; - - case 3: - case "PROPOSAL_STATUS_PASSED": - return ProposalStatus.PROPOSAL_STATUS_PASSED; - - case 4: - case "PROPOSAL_STATUS_REJECTED": - return ProposalStatus.PROPOSAL_STATUS_REJECTED; - - case 5: - case "PROPOSAL_STATUS_FAILED": - return ProposalStatus.PROPOSAL_STATUS_FAILED; - - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - - case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: - return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; - - case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: - return "PROPOSAL_STATUS_VOTING_PERIOD"; - - case ProposalStatus.PROPOSAL_STATUS_PASSED: - return "PROPOSAL_STATUS_PASSED"; - - case ProposalStatus.PROPOSAL_STATUS_REJECTED: - return "PROPOSAL_STATUS_REJECTED"; - - case ProposalStatus.PROPOSAL_STATUS_FAILED: - return "PROPOSAL_STATUS_FAILED"; - - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ - -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ - -export interface WeightedVoteOptionSDKType { - option: VoteOptionSDKType; - weight: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ - -export interface TextProposal { - title: string; - description: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ - -export interface TextProposalSDKType { - 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[]; -} -/** - * 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?: 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 | undefined; - submitTime?: Date | undefined; - depositEndTime?: Date | undefined; - totalDeposit: Coin[]; - votingStartTime?: Date | undefined; - votingEndTime?: Date | undefined; -} -/** Proposal defines the core field members of a governance proposal. */ - -export interface ProposalSDKType { - proposal_id: Long; - content?: AnySDKType | undefined; - status: ProposalStatusSDKType; - /** - * 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?: TallyResultSDKType | undefined; - submit_time?: Date | undefined; - deposit_end_time?: Date | undefined; - total_deposit: CoinSDKType[]; - voting_start_time?: Date | undefined; - voting_end_time?: Date | undefined; -} -/** TallyResult defines a standard tally for a governance proposal. */ - -export interface TallyResult { - yes: string; - abstain: string; - no: string; - noWithVeto: string; -} -/** 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[]; -} -/** - * 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: 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: VoteOptionSDKType; - /** Since: cosmos-sdk 0.43 */ - - 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 | undefined; -} -/** DepositParams defines the params for deposits on governance proposals. */ - -export interface DepositParamsSDKType { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinSDKType[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - - max_deposit_period?: DurationSDKType | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParamsSDKType { - /** Length of the voting period. */ - voting_period?: DurationSDKType | undefined; -} -/** 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; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParamsSDKType { - /** - * 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; -} - -function createBaseWeightedVoteOption(): WeightedVoteOption { - return { - option: 0, - weight: "" - }; -} - -export const WeightedVoteOption = { - encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.option !== 0) { - writer.uint32(8).int32(message.option); - } - - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWeightedVoteOption(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.option = (reader.int32() as any); - break; - - case 2: - message.weight = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): WeightedVoteOption { - const message = createBaseWeightedVoteOption(); - message.option = object.option ?? 0; - message.weight = object.weight ?? ""; - return message; - } - -}; - -function createBaseTextProposal(): TextProposal { - return { - title: "", - description: "" - }; -} - -export const TextProposal = { - encode(message: TextProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTextProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TextProposal { - const message = createBaseTextProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - return message; - } - -}; - -function createBaseDeposit(): Deposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} - -export const Deposit = { - encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeposit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Deposit { - const message = createBaseDeposit(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseProposal(): Proposal { - return { - proposalId: Long.UZERO, - content: undefined, - status: 0, - finalTallyResult: undefined, - submitTime: undefined, - depositEndTime: undefined, - totalDeposit: [], - votingStartTime: undefined, - votingEndTime: undefined - }; -} - -export const Proposal = { - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.content !== undefined) { - Any.encode(message.content, writer.uint32(18).fork()).ldelim(); - } - - if (message.status !== 0) { - writer.uint32(24).int32(message.status); - } - - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); - } - - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - - if (message.depositEndTime !== undefined) { - 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); - } - - if (message.votingEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.content = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.status = (reader.int32() as any); - break; - - case 4: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 6: - message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 7: - message.totalDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 8: - message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 9: - message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Proposal { - const message = createBaseProposal(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - 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; - message.depositEndTime = object.depositEndTime ?? undefined; - message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime ?? undefined; - message.votingEndTime = object.votingEndTime ?? undefined; - return message; - } - -}; - -function createBaseTallyResult(): TallyResult { - return { - yes: "", - abstain: "", - no: "", - noWithVeto: "" - }; -} - -export const TallyResult = { - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yes !== "") { - writer.uint32(10).string(message.yes); - } - - if (message.abstain !== "") { - writer.uint32(18).string(message.abstain); - } - - if (message.no !== "") { - writer.uint32(26).string(message.no); - } - - if (message.noWithVeto !== "") { - writer.uint32(34).string(message.noWithVeto); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.yes = reader.string(); - break; - - case 2: - message.abstain = reader.string(); - break; - - case 3: - message.no = reader.string(); - break; - - case 4: - message.noWithVeto = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TallyResult { - const message = createBaseTallyResult(); - message.yes = object.yes ?? ""; - message.abstain = object.abstain ?? ""; - message.no = object.no ?? ""; - message.noWithVeto = object.noWithVeto ?? ""; - return message; - } - -}; - -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - options: [] - }; -} - -export const Vote = { - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.option = (reader.int32() as any); - break; - - case 4: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Vote { - const message = createBaseVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseDepositParams(): DepositParams { - return { - minDeposit: [], - maxDepositPeriod: undefined - }; -} - -export const DepositParams = { - encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.minDeposit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.maxDepositPeriod !== undefined) { - Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDepositParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.minDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DepositParams { - const message = createBaseDepositParams(); - message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; - return message; - } - -}; - -function createBaseVotingParams(): VotingParams { - return { - votingPeriod: undefined - }; -} - -export const VotingParams = { - encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVotingParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): VotingParams { - const message = createBaseVotingParams(); - message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; - return message; - } - -}; - -function createBaseTallyParams(): TallyParams { - return { - quorum: new Uint8Array(), - threshold: new Uint8Array(), - vetoThreshold: new Uint8Array() - }; -} - -export const TallyParams = { - encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.quorum.length !== 0) { - writer.uint32(10).bytes(message.quorum); - } - - if (message.threshold.length !== 0) { - writer.uint32(18).bytes(message.threshold); - } - - if (message.vetoThreshold.length !== 0) { - writer.uint32(26).bytes(message.vetoThreshold); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.quorum = reader.bytes(); - break; - - case 2: - message.threshold = reader.bytes(); - break; - - case 3: - message.vetoThreshold = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TallyParams { - const message = createBaseTallyParams(); - message.quorum = object.quorum ?? new Uint8Array(); - message.threshold = object.threshold ?? new Uint8Array(); - message.vetoThreshold = object.vetoThreshold ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts deleted file mode 100644 index 642759d59..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* Proposal queries proposal details based on ProposalID. */ - - - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* Proposals queries all proposals based on given status. */ - - - async proposals(params: QueryProposalsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.proposalStatus !== "undefined") { - options.params.proposal_status = params.proposalStatus; - } - - if (typeof params?.voter !== "undefined") { - options.params.voter = params.voter; - } - - if (typeof params?.depositor !== "undefined") { - options.params.depositor = params.depositor; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1beta1/proposals`; - return await this.req.get(endpoint, options); - } - /* Vote queries voted information based on proposalID, voterAddr. */ - - - async vote(params: QueryVoteRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; - return await this.req.get(endpoint); - } - /* Votes queries votes of a given proposal. */ - - - async votes(params: QueryVotesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; - return await this.req.get(endpoint, options); - } - /* Params queries all parameters of the gov module. */ - - - async params(params: QueryParamsRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; - return await this.req.get(endpoint); - } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - - - async deposit(params: QueryDepositRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; - return await this.req.get(endpoint); - } - /* Deposits queries all deposits of a single proposal. */ - - - async deposits(params: QueryDepositsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal vote. */ - - - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts deleted file mode 100644 index 246d7da99..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - - proposal(request: QueryProposalRequest): Promise { - const data = QueryProposalRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); - return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); - } - - proposals(request: QueryProposalsRequest): Promise { - const data = QueryProposalsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); - return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); - } - - vote(request: QueryVoteRequest): Promise { - const data = QueryVoteRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); - return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); - } - - votes(request: QueryVotesRequest): Promise { - const data = QueryVotesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); - return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - deposit(request: QueryDepositRequest): Promise { - const data = QueryDepositRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); - return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); - } - - deposits(request: QueryDepositsRequest): Promise { - const data = QueryDepositsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); - return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); - } - - tallyResult(request: QueryTallyResultRequest): Promise { - const data = QueryTallyResultRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); - return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - proposal(request: QueryProposalRequest): Promise { - return queryService.proposal(request); - }, - - proposals(request: QueryProposalsRequest): Promise { - return queryService.proposals(request); - }, - - vote(request: QueryVoteRequest): Promise { - return queryService.vote(request); - }, - - votes(request: QueryVotesRequest): Promise { - return queryService.votes(request); - }, - - params(request: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - deposit(request: QueryDepositRequest): Promise { - return queryService.deposit(request); - }, - - deposits(request: QueryDepositsRequest): Promise { - return queryService.deposits(request); - }, - - tallyResult(request: QueryTallyResultRequest): Promise { - return queryService.tallyResult(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts deleted file mode 100644 index 0aad3e944..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts +++ /dev/null @@ -1,1114 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import * as _m0 from "protobufjs/minimal"; -import { Long } 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. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponse { - proposal?: Proposal | undefined; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequestSDKType { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatusSDKType; - /** 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?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 oter address for the proposals. */ - - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** voter defines the oter address for the proposals. */ - - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote | undefined; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponseSDKType { - /** vote defined the queried vote. */ - vote?: VoteSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponseSDKType { - /** votes defined the queried votes. */ - votes: VoteSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - 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 | undefined; - /** deposit_params defines the parameters related to deposit. */ - - depositParams?: DepositParams | undefined; - /** tally_params defines the parameters related to tally. */ - - tallyParams?: TallyParams | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsSDKType | undefined; - /** deposit_params defines the parameters related to deposit. */ - - deposit_params?: DepositParamsSDKType | undefined; - /** tally_params defines the parameters related to tally. */ - - tally_params?: TallyParamsSDKType | undefined; -} -/** 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; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit | undefined; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponseSDKType { - /** deposit defines the requested deposit. */ - deposit?: DepositSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequestSDKType { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult | undefined; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponseSDKType { - /** tally defines the requested tally. */ - tally?: TallyResultSDKType | undefined; -} - -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryProposalRequest = { - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: undefined - }; -} - -export const QueryProposalResponse = { - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsRequest(): QueryProposalsRequest { - return { - proposalStatus: 0, - voter: "", - depositor: "", - pagination: undefined - }; -} - -export const QueryProposalsRequest = { - encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposalStatus !== 0) { - writer.uint32(8).int32(message.proposalStatus); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.depositor !== "") { - writer.uint32(26).string(message.depositor); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalStatus = (reader.int32() as any); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.depositor = reader.string(); - break; - - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsRequest { - const message = createBaseQueryProposalsRequest(); - message.proposalStatus = object.proposalStatus ?? 0; - message.voter = object.voter ?? ""; - message.depositor = object.depositor ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsResponse(): QueryProposalsResponse { - return { - proposals: [], - pagination: undefined - }; -} - -export const QueryProposalsResponse = { - encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsResponse { - const message = createBaseQueryProposalsResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVoteRequest(): QueryVoteRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} - -export const QueryVoteRequest = { - encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteRequest { - const message = createBaseQueryVoteRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - return message; - } - -}; - -function createBaseQueryVoteResponse(): QueryVoteResponse { - return { - vote: undefined - }; -} - -export const QueryVoteResponse = { - encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteResponse { - const message = createBaseQueryVoteResponse(); - message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; - return message; - } - -}; - -function createBaseQueryVotesRequest(): QueryVotesRequest { - return { - proposalId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryVotesRequest = { - encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesRequest { - const message = createBaseQueryVotesRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVotesResponse(): QueryVotesResponse { - return { - votes: [], - pagination: undefined - }; -} - -export const QueryVotesResponse = { - encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesResponse { - const message = createBaseQueryVotesResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - paramsType: "" - }; -} - -export const QueryParamsRequest = { - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.paramsType !== "") { - writer.uint32(10).string(message.paramsType); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.paramsType = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.paramsType = object.paramsType ?? ""; - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); - } - - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); - } - - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - - case 2: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - - case 3: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; - message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; - message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; - return message; - } - -}; - -function createBaseQueryDepositRequest(): QueryDepositRequest { - return { - proposalId: Long.UZERO, - depositor: "" - }; -} - -export const QueryDepositRequest = { - encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositRequest { - const message = createBaseQueryDepositRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - return message; - } - -}; - -function createBaseQueryDepositResponse(): QueryDepositResponse { - return { - deposit: undefined - }; -} - -export const QueryDepositResponse = { - encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deposit !== undefined) { - Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.deposit = Deposit.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositResponse { - const message = createBaseQueryDepositResponse(); - message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; - return message; - } - -}; - -function createBaseQueryDepositsRequest(): QueryDepositsRequest { - return { - proposalId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryDepositsRequest = { - encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositsRequest { - const message = createBaseQueryDepositsRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDepositsResponse(): QueryDepositsResponse { - return { - deposits: [], - pagination: undefined - }; -} - -export const QueryDepositsResponse = { - encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDepositsResponse { - const message = createBaseQueryDepositsResponse(); - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryTallyResultRequest = { - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: undefined - }; -} - -export const QueryTallyResultResponse = { - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts deleted file mode 100644 index bdf284576..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ /dev/null @@ -1,174 +0,0 @@ -import { voteOptionFromJSON } from "./gov"; -import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "../../../helpers"; -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export interface AminoMsgSubmitProposal extends AminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; - value: { - content: { - type_url: string; - value: Uint8Array; - }; - initial_deposit: { - denom: string; - amount: string; - }[]; - proposer: string; - }; -} -export interface AminoMsgVote extends AminoMsg { - type: "cosmos-sdk/MsgVote"; - value: { - proposal_id: string; - voter: string; - option: number; - }; -} -export interface AminoMsgVoteWeighted extends AminoMsg { - type: "cosmos-sdk/MsgVoteWeighted"; - value: { - proposal_id: string; - voter: string; - options: { - option: number; - weight: string; - }[]; - }; -} -export interface AminoMsgDeposit extends AminoMsg { - type: "cosmos-sdk/MsgDeposit"; - value: { - proposal_id: string; - depositor: string; - amount: { - denom: string; - amount: string; - }[]; - }; -} -export const AminoConverter = { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/MsgSubmitProposal", - toAmino: ({ - content, - initialDeposit, - proposer - }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { - return { - content: { - type_url: content.typeUrl, - value: content.value - }, - initial_deposit: initialDeposit.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - proposer - }; - }, - fromAmino: ({ - content, - initial_deposit, - proposer - }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { - return { - content: { - typeUrl: content.type_url, - value: content.value - }, - initialDeposit: initial_deposit.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - proposer - }; - } - }, - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: "cosmos-sdk/MsgVote", - toAmino: ({ - proposalId, - voter, - option - }: MsgVote): AminoMsgVote["value"] => { - return { - proposal_id: proposalId.toString(), - voter, - option - }; - }, - fromAmino: ({ - proposal_id, - voter, - option - }: AminoMsgVote["value"]): MsgVote => { - return { - proposalId: Long.fromString(proposal_id), - voter, - option: voteOptionFromJSON(option) - }; - } - }, - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: "cosmos-sdk/MsgVoteWeighted", - toAmino: ({ - proposalId, - voter, - options - }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { - return { - proposal_id: proposalId.toString(), - voter, - options: options.map(el0 => ({ - option: el0.option, - weight: el0.weight - })) - }; - }, - fromAmino: ({ - proposal_id, - voter, - options - }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { - return { - proposalId: Long.fromString(proposal_id), - voter, - options: options.map(el0 => ({ - option: voteOptionFromJSON(el0.option), - weight: el0.weight - })) - }; - } - }, - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: "cosmos-sdk/MsgDeposit", - toAmino: ({ - proposalId, - depositor, - amount - }: MsgDeposit): AminoMsgDeposit["value"] => { - return { - proposal_id: proposalId.toString(), - depositor, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - proposal_id, - depositor, - amount - }: AminoMsgDeposit["value"]): MsgDeposit => { - return { - proposalId: Long.fromString(proposal_id), - depositor, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts deleted file mode 100644 index 192c5e766..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts +++ /dev/null @@ -1,100 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(value).finish() - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.encode(value).finish() - }; - } - - }, - withTypeUrl: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value - }; - } - - }, - fromPartial: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.fromPartial(value) - }; - }, - - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 4e4cc252a..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.submitProposal = this.submitProposal.bind(this); - this.vote = this.vote.bind(this); - this.voteWeighted = this.voteWeighted.bind(this); - this.deposit = this.deposit.bind(this); - } - - submitProposal(request: MsgSubmitProposal): Promise { - const data = MsgSubmitProposal.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); - return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); - } - - vote(request: MsgVote): Promise { - const data = MsgVote.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); - return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); - } - - voteWeighted(request: MsgVoteWeighted): Promise { - const data = MsgVoteWeighted.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); - return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); - } - - deposit(request: MsgDeposit): Promise { - const data = MsgDeposit.encode(request).finish(); - const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); - return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts deleted file mode 100644 index 318741c62..000000000 --- a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts +++ /dev/null @@ -1,518 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ - -export interface MsgSubmitProposal { - content?: Any | undefined; - initialDeposit: Coin[]; - proposer: string; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ - -export interface MsgSubmitProposalSDKType { - content?: AnySDKType | undefined; - initial_deposit: CoinSDKType[]; - proposer: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -/** 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; -} -/** MsgVote defines a message to cast a vote. */ - -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOptionSDKType; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ - -export interface MsgVoteResponse {} -/** 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[]; -} -/** - * 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 {} -/** - * 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[]; -} -/** 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 {} -/** MsgDepositResponse defines the Msg/Deposit response type. */ - -export interface MsgDepositResponseSDKType {} - -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - content: undefined, - initialDeposit: [], - proposer: "" - }; -} - -export const MsgSubmitProposal = { - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.content !== undefined) { - Any.encode(message.content, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.initialDeposit) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.proposer !== "") { - writer.uint32(26).string(message.proposer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.content = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.initialDeposit.push(Coin.decode(reader, reader.uint32())); - break; - - case 3: - message.proposer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; - message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; - message.proposer = object.proposer ?? ""; - return message; - } - -}; - -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} - -export const MsgSubmitProposalResponse = { - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0 - }; -} - -export const MsgVote = { - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.option = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgVote { - const message = createBaseMsgVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - return message; - } - -}; - -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} - -export const MsgVoteResponse = { - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - } - -}; - -function createBaseMsgVoteWeighted(): MsgVoteWeighted { - return { - proposalId: Long.UZERO, - voter: "", - options: [] - }; -} - -export const MsgVoteWeighted = { - encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeighted(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgVoteWeighted { - const message = createBaseMsgVoteWeighted(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { - return {}; -} - -export const MsgVoteWeightedResponse = { - encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeightedResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgVoteWeightedResponse { - const message = createBaseMsgVoteWeightedResponse(); - return message; - } - -}; - -function createBaseMsgDeposit(): MsgDeposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} - -export const MsgDeposit = { - encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDeposit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.depositor = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgDeposit { - const message = createBaseMsgDeposit(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgDepositResponse(): MsgDepositResponse { - return {}; -} - -export const MsgDepositResponse = { - encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDepositResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/events.ts b/examples/telescope/codegen/cosmos/group/v1/events.ts deleted file mode 100644 index e239706b4..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/events.ts +++ /dev/null @@ -1,548 +0,0 @@ -import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** EventCreateGroup is an event emitted when a group is created. */ - -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** EventCreateGroup is an event emitted when a group is created. */ - -export interface EventCreateGroupSDKType { - /** group_id is the unique ID of the group. */ - 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; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ - -export interface EventUpdateGroupSDKType { - /** group_id is the unique ID of the group. */ - 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; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ - -export interface EventCreateGroupPolicySDKType { - /** address is the account address of the group policy. */ - 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; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ - -export interface EventUpdateGroupPolicySDKType { - /** address is the account address of the group policy. */ - 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; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ - -export interface EventSubmitProposalSDKType { - /** proposal_id is the unique ID of the proposal. */ - 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; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ - -export interface EventWithdrawProposalSDKType { - /** proposal_id is the unique ID of the proposal. */ - 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; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ - -export interface EventVoteSDKType { - /** proposal_id is the unique ID of the proposal. */ - 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; -} -/** EventExec is an event emitted when a proposal is executed. */ - -export interface EventExecSDKType { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: Long; - /** result is the proposal execution result. */ - - result: ProposalExecutorResultSDKType; -} -/** 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; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ - -export interface EventLeaveGroupSDKType { - /** group_id is the unique ID of the group. */ - group_id: Long; - /** address is the account address of the group member. */ - - address: string; -} - -function createBaseEventCreateGroup(): EventCreateGroup { - return { - groupId: Long.UZERO - }; -} - -export const EventCreateGroup = { - encode(message: EventCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventCreateGroup(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventCreateGroup { - const message = createBaseEventCreateGroup(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - return message; - } - -}; - -function createBaseEventUpdateGroup(): EventUpdateGroup { - return { - groupId: Long.UZERO - }; -} - -export const EventUpdateGroup = { - encode(message: EventUpdateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventUpdateGroup(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventUpdateGroup { - const message = createBaseEventUpdateGroup(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - return message; - } - -}; - -function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy { - return { - address: "" - }; -} - -export const EventCreateGroupPolicy = { - encode(message: EventCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventCreateGroupPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventCreateGroupPolicy { - const message = createBaseEventCreateGroupPolicy(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy { - return { - address: "" - }; -} - -export const EventUpdateGroupPolicy = { - encode(message: EventUpdateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventUpdateGroupPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventUpdateGroupPolicy { - const message = createBaseEventUpdateGroupPolicy(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseEventSubmitProposal(): EventSubmitProposal { - return { - proposalId: Long.UZERO - }; -} - -export const EventSubmitProposal = { - encode(message: EventSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventSubmitProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventSubmitProposal { - const message = createBaseEventSubmitProposal(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseEventWithdrawProposal(): EventWithdrawProposal { - return { - proposalId: Long.UZERO - }; -} - -export const EventWithdrawProposal = { - encode(message: EventWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventWithdrawProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventWithdrawProposal { - const message = createBaseEventWithdrawProposal(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseEventVote(): EventVote { - return { - proposalId: Long.UZERO - }; -} - -export const EventVote = { - encode(message: EventVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventVote { - const message = createBaseEventVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseEventExec(): EventExec { - return { - proposalId: Long.UZERO, - result: 0 - }; -} - -export const EventExec = { - encode(message: EventExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.result !== 0) { - writer.uint32(16).int32(message.result); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventExec(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.result = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventExec { - const message = createBaseEventExec(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.result = object.result ?? 0; - return message; - } - -}; - -function createBaseEventLeaveGroup(): EventLeaveGroup { - return { - groupId: Long.UZERO, - address: "" - }; -} - -export const EventLeaveGroup = { - encode(message: EventLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventLeaveGroup(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - case 2: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventLeaveGroup { - const message = createBaseEventLeaveGroup(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.address = object.address ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/genesis.ts b/examples/telescope/codegen/cosmos/group/v1/genesis.ts deleted file mode 100644 index a56366957..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/genesis.ts +++ /dev/null @@ -1,190 +0,0 @@ -import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** 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[]; -} -/** GenesisState defines the group module's genesis state. */ - -export interface GenesisStateSDKType { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - group_seq: Long; - /** groups is the list of groups info. */ - - groups: GroupInfoSDKType[]; - /** group_members is the list of groups members. */ - - group_members: GroupMemberSDKType[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - - group_policy_seq: Long; - /** group_policies is the list of group policies info. */ - - group_policies: GroupPolicyInfoSDKType[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - - proposal_seq: Long; - /** proposals is the list of proposals. */ - - proposals: ProposalSDKType[]; - /** votes is the list of votes. */ - - votes: VoteSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - groupSeq: Long.UZERO, - groups: [], - groupMembers: [], - groupPolicySeq: Long.UZERO, - groupPolicies: [], - proposalSeq: Long.UZERO, - proposals: [], - votes: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupSeq.isZero()) { - writer.uint32(8).uint64(message.groupSeq); - } - - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.groupMembers) { - GroupMember.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (!message.groupPolicySeq.isZero()) { - writer.uint32(32).uint64(message.groupPolicySeq); - } - - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - if (!message.proposalSeq.isZero()) { - writer.uint32(48).uint64(message.proposalSeq); - } - - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(66).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.groupSeq = (reader.uint64() as Long); - break; - - case 2: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - - case 3: - message.groupMembers.push(GroupMember.decode(reader, reader.uint32())); - break; - - case 4: - message.groupPolicySeq = (reader.uint64() as Long); - break; - - case 5: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - - case 6: - message.proposalSeq = (reader.uint64() as Long); - break; - - case 7: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 8: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.groupSeq = object.groupSeq !== undefined && object.groupSeq !== null ? Long.fromValue(object.groupSeq) : Long.UZERO; - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - message.groupMembers = object.groupMembers?.map(e => GroupMember.fromPartial(e)) || []; - message.groupPolicySeq = object.groupPolicySeq !== undefined && object.groupPolicySeq !== null ? Long.fromValue(object.groupPolicySeq) : Long.UZERO; - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - message.proposalSeq = object.proposalSeq !== undefined && object.proposalSeq !== null ? Long.fromValue(object.proposalSeq) : Long.UZERO; - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts deleted file mode 100644 index dae3205d7..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts +++ /dev/null @@ -1,183 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.groupInfo = this.groupInfo.bind(this); - this.groupPolicyInfo = this.groupPolicyInfo.bind(this); - this.groupMembers = this.groupMembers.bind(this); - this.groupsByAdmin = this.groupsByAdmin.bind(this); - this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); - this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); - this.proposal = this.proposal.bind(this); - this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); - this.voteByProposalVoter = this.voteByProposalVoter.bind(this); - this.votesByProposal = this.votesByProposal.bind(this); - this.votesByVoter = this.votesByVoter.bind(this); - this.groupsByMember = this.groupsByMember.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* GroupInfo queries group info based on group id. */ - - - async groupInfo(params: QueryGroupInfoRequest): Promise { - const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; - return await this.req.get(endpoint); - } - /* GroupPolicyInfo queries group policy info based on account address of group policy. */ - - - async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { - const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; - return await this.req.get(endpoint); - } - /* GroupMembers queries members of a group */ - - - async groupMembers(params: QueryGroupMembersRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; - return await this.req.get(endpoint, options); - } - /* GroupsByAdmin queries groups by admin address. */ - - - async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; - return await this.req.get(endpoint, options); - } - /* GroupPoliciesByGroup queries group policies by group id. */ - - - async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; - return await this.req.get(endpoint, options); - } - /* GroupsByAdmin queries group policies by admin address. */ - - - async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; - return await this.req.get(endpoint, options); - } - /* Proposal queries a proposal based on proposal id. */ - - - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - - - async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; - return await this.req.get(endpoint, options); - } - /* VoteByProposalVoter queries a vote by proposal id and voter. */ - - - async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { - const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; - return await this.req.get(endpoint); - } - /* VotesByProposal queries a vote by proposal. */ - - - async votesByProposal(params: QueryVotesByProposalRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; - return await this.req.get(endpoint, options); - } - /* VotesByVoter queries a vote by voter. */ - - - async votesByVoter(params: QueryVotesByVoterRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; - return await this.req.get(endpoint, options); - } - /* GroupsByMember queries groups by member address. */ - - - async groupsByMember(params: QueryGroupsByMemberRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal votes. */ - - - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts deleted file mode 100644 index 27d76df9e..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/query.rpc.query.ts +++ /dev/null @@ -1,203 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 queries the tally of a proposal votes. */ - - tallyResult(request: QueryTallyResultRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.groupInfo = this.groupInfo.bind(this); - this.groupPolicyInfo = this.groupPolicyInfo.bind(this); - this.groupMembers = this.groupMembers.bind(this); - this.groupsByAdmin = this.groupsByAdmin.bind(this); - this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); - this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); - this.proposal = this.proposal.bind(this); - this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); - this.voteByProposalVoter = this.voteByProposalVoter.bind(this); - this.votesByProposal = this.votesByProposal.bind(this); - this.votesByVoter = this.votesByVoter.bind(this); - this.groupsByMember = this.groupsByMember.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - - groupInfo(request: QueryGroupInfoRequest): Promise { - const data = QueryGroupInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); - return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); - } - - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { - const data = QueryGroupPolicyInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); - return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); - } - - groupMembers(request: QueryGroupMembersRequest): Promise { - const data = QueryGroupMembersRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); - return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); - } - - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { - const data = QueryGroupsByAdminRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); - return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); - } - - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { - const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); - return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); - } - - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { - const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); - return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); - } - - proposal(request: QueryProposalRequest): Promise { - const data = QueryProposalRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); - return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); - } - - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { - const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); - return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); - } - - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { - const data = QueryVoteByProposalVoterRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); - return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); - } - - votesByProposal(request: QueryVotesByProposalRequest): Promise { - const data = QueryVotesByProposalRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); - return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); - } - - votesByVoter(request: QueryVotesByVoterRequest): Promise { - const data = QueryVotesByVoterRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); - return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); - } - - groupsByMember(request: QueryGroupsByMemberRequest): Promise { - const data = QueryGroupsByMemberRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); - return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); - } - - tallyResult(request: QueryTallyResultRequest): Promise { - const data = QueryTallyResultRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); - return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - groupInfo(request: QueryGroupInfoRequest): Promise { - return queryService.groupInfo(request); - }, - - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { - return queryService.groupPolicyInfo(request); - }, - - groupMembers(request: QueryGroupMembersRequest): Promise { - return queryService.groupMembers(request); - }, - - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { - return queryService.groupsByAdmin(request); - }, - - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { - return queryService.groupPoliciesByGroup(request); - }, - - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { - return queryService.groupPoliciesByAdmin(request); - }, - - proposal(request: QueryProposalRequest): Promise { - return queryService.proposal(request); - }, - - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { - return queryService.proposalsByGroupPolicy(request); - }, - - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { - return queryService.voteByProposalVoter(request); - }, - - votesByProposal(request: QueryVotesByProposalRequest): Promise { - return queryService.votesByProposal(request); - }, - - votesByVoter(request: QueryVotesByVoterRequest): Promise { - return queryService.votesByVoter(request); - }, - - groupsByMember(request: QueryGroupsByMemberRequest): Promise { - return queryService.groupsByMember(request); - }, - - tallyResult(request: QueryTallyResultRequest): Promise { - return queryService.tallyResult(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.ts b/examples/telescope/codegen/cosmos/group/v1/query.ts deleted file mode 100644 index 88fce471f..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/query.ts +++ /dev/null @@ -1,1758 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ - -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ - -export interface QueryGroupInfoRequestSDKType { - /** group_id is the unique ID of the group. */ - group_id: Long; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ - -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info?: GroupInfo | undefined; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ - -export interface QueryGroupInfoResponseSDKType { - /** info is the GroupInfo for the group. */ - info?: GroupInfoSDKType | undefined; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ - -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ - -export interface QueryGroupPolicyInfoRequestSDKType { - /** address is the account address of the group policy. */ - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ - -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfo | undefined; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ - -export interface QueryGroupPolicyInfoResponseSDKType { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfoSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ - -export interface QueryGroupMembersRequestSDKType { - /** group_id is the unique ID of the group. */ - group_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ - -export interface QueryGroupMembersResponseSDKType { - /** members are the members of the group with given group_id. */ - members: GroupMemberSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ - -export interface QueryGroupsByAdminRequestSDKType { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ - -export interface QueryGroupsByAdminResponseSDKType { - /** groups are the groups info with the provided admin. */ - groups: GroupInfoSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ - -export interface QueryGroupPoliciesByGroupRequestSDKType { - /** group_id is the unique ID of the group policy's group. */ - group_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ - -export interface QueryGroupPoliciesByGroupResponseSDKType { - /** group_policies are the group policies info associated with the provided group. */ - group_policies: GroupPolicyInfoSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ - -export interface QueryGroupPoliciesByAdminRequestSDKType { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ - -export interface QueryGroupPoliciesByAdminResponseSDKType { - /** group_policies are the group policies info with provided admin. */ - group_policies: GroupPolicyInfoSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryProposalRequest is the Query/Proposal request type. */ - -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the Query/Proposal request type. */ - -export interface QueryProposalRequestSDKType { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: Long; -} -/** QueryProposalResponse is the Query/Proposal response type. */ - -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal?: Proposal | undefined; -} -/** QueryProposalResponse is the Query/Proposal response type. */ - -export interface QueryProposalResponseSDKType { - /** proposal is the proposal info. */ - proposal?: ProposalSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ - -export interface QueryProposalsByGroupPolicyRequestSDKType { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ - -export interface QueryProposalsByGroupPolicyResponseSDKType { - /** proposals are the proposals with given group policy. */ - proposals: ProposalSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ - -export interface QueryVoteByProposalVoterRequestSDKType { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: Long; - /** voter is a proposal voter account address. */ - - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ - -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote?: Vote | undefined; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ - -export interface QueryVoteByProposalVoterResponseSDKType { - /** vote is the vote with given proposal_id and voter. */ - vote?: VoteSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ - -export interface QueryVotesByProposalRequestSDKType { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ - -export interface QueryVotesByProposalResponseSDKType { - /** votes are the list of votes for given proposal_id. */ - votes: VoteSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ - -export interface QueryVotesByVoterRequestSDKType { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ - -export interface QueryVotesByVoterResponseSDKType { - /** votes are the list of votes by given voter. */ - votes: VoteSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ - -export interface QueryGroupsByMemberRequestSDKType { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ - -export interface QueryGroupsByMemberResponseSDKType { - /** groups are the groups info with the provided group member. */ - groups: GroupInfoSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ - -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ - -export interface QueryTallyResultRequestSDKType { - /** proposal_id is the unique id of a proposal. */ - proposal_id: Long; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult | undefined; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ - -export interface QueryTallyResultResponseSDKType { - /** tally defines the requested tally. */ - tally?: TallyResultSDKType | undefined; -} - -function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { - return { - groupId: Long.UZERO - }; -} - -export const QueryGroupInfoRequest = { - encode(message: QueryGroupInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupInfoRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupInfoRequest { - const message = createBaseQueryGroupInfoRequest(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { - return { - info: undefined - }; -} - -export const QueryGroupInfoResponse = { - encode(message: QueryGroupInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.info !== undefined) { - GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupInfoResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.info = GroupInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupInfoResponse { - const message = createBaseQueryGroupInfoResponse(); - message.info = object.info !== undefined && object.info !== null ? GroupInfo.fromPartial(object.info) : undefined; - return message; - } - -}; - -function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest { - return { - address: "" - }; -} - -export const QueryGroupPolicyInfoRequest = { - encode(message: QueryGroupPolicyInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPolicyInfoRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPolicyInfoRequest { - const message = createBaseQueryGroupPolicyInfoRequest(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { - return { - info: undefined - }; -} - -export const QueryGroupPolicyInfoResponse = { - encode(message: QueryGroupPolicyInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.info !== undefined) { - GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPolicyInfoResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.info = GroupPolicyInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPolicyInfoResponse { - const message = createBaseQueryGroupPolicyInfoResponse(); - message.info = object.info !== undefined && object.info !== null ? GroupPolicyInfo.fromPartial(object.info) : undefined; - return message; - } - -}; - -function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { - return { - groupId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryGroupMembersRequest = { - encode(message: QueryGroupMembersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupMembersRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupMembersRequest { - const message = createBaseQueryGroupMembersRequest(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { - return { - members: [], - pagination: undefined - }; -} - -export const QueryGroupMembersResponse = { - encode(message: QueryGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.members) { - GroupMember.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupMembersResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.members.push(GroupMember.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupMembersResponse { - const message = createBaseQueryGroupMembersResponse(); - message.members = object.members?.map(e => GroupMember.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { - return { - admin: "", - pagination: undefined - }; -} - -export const QueryGroupsByAdminRequest = { - encode(message: QueryGroupsByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByAdminRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupsByAdminRequest { - const message = createBaseQueryGroupsByAdminRequest(); - message.admin = object.admin ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { - return { - groups: [], - pagination: undefined - }; -} - -export const QueryGroupsByAdminResponse = { - encode(message: QueryGroupsByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupsByAdminResponse { - const message = createBaseQueryGroupsByAdminResponse(); - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { - return { - groupId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryGroupPoliciesByGroupRequest = { - encode(message: QueryGroupPoliciesByGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByGroupRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPoliciesByGroupRequest { - const message = createBaseQueryGroupPoliciesByGroupRequest(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { - return { - groupPolicies: [], - pagination: undefined - }; -} - -export const QueryGroupPoliciesByGroupResponse = { - encode(message: QueryGroupPoliciesByGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByGroupResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPoliciesByGroupResponse { - const message = createBaseQueryGroupPoliciesByGroupResponse(); - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { - return { - admin: "", - pagination: undefined - }; -} - -export const QueryGroupPoliciesByAdminRequest = { - encode(message: QueryGroupPoliciesByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByAdminRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPoliciesByAdminRequest { - const message = createBaseQueryGroupPoliciesByAdminRequest(); - message.admin = object.admin ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { - return { - groupPolicies: [], - pagination: undefined - }; -} - -export const QueryGroupPoliciesByAdminResponse = { - encode(message: QueryGroupPoliciesByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupPoliciesByAdminResponse { - const message = createBaseQueryGroupPoliciesByAdminResponse(); - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryProposalRequest = { - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: undefined - }; -} - -export const QueryProposalResponse = { - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QueryProposalsByGroupPolicyRequest = { - encode(message: QueryProposalsByGroupPolicyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsByGroupPolicyRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsByGroupPolicyRequest { - const message = createBaseQueryProposalsByGroupPolicyRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { - return { - proposals: [], - pagination: undefined - }; -} - -export const QueryProposalsByGroupPolicyResponse = { - encode(message: QueryProposalsByGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsByGroupPolicyResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryProposalsByGroupPolicyResponse { - const message = createBaseQueryProposalsByGroupPolicyResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} - -export const QueryVoteByProposalVoterRequest = { - encode(message: QueryVoteByProposalVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteByProposalVoterRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteByProposalVoterRequest { - const message = createBaseQueryVoteByProposalVoterRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - return message; - } - -}; - -function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { - return { - vote: undefined - }; -} - -export const QueryVoteByProposalVoterResponse = { - encode(message: QueryVoteByProposalVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteByProposalVoterResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVoteByProposalVoterResponse { - const message = createBaseQueryVoteByProposalVoterResponse(); - message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; - return message; - } - -}; - -function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { - return { - proposalId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryVotesByProposalRequest = { - encode(message: QueryVotesByProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByProposalRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesByProposalRequest { - const message = createBaseQueryVotesByProposalRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { - return { - votes: [], - pagination: undefined - }; -} - -export const QueryVotesByProposalResponse = { - encode(message: QueryVotesByProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesByProposalResponse { - const message = createBaseQueryVotesByProposalResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { - return { - voter: "", - pagination: undefined - }; -} - -export const QueryVotesByVoterRequest = { - encode(message: QueryVotesByVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.voter !== "") { - writer.uint32(10).string(message.voter); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByVoterRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.voter = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesByVoterRequest { - const message = createBaseQueryVotesByVoterRequest(); - message.voter = object.voter ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { - return { - votes: [], - pagination: undefined - }; -} - -export const QueryVotesByVoterResponse = { - encode(message: QueryVotesByVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByVoterResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryVotesByVoterResponse { - const message = createBaseQueryVotesByVoterResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QueryGroupsByMemberRequest = { - encode(message: QueryGroupsByMemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByMemberRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupsByMemberRequest { - const message = createBaseQueryGroupsByMemberRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { - return { - groups: [], - pagination: undefined - }; -} - -export const QueryGroupsByMemberResponse = { - encode(message: QueryGroupsByMemberResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByMemberResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryGroupsByMemberResponse { - const message = createBaseQueryGroupsByMemberResponse(); - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} - -export const QueryTallyResultRequest = { - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: undefined - }; -} - -export const QueryTallyResultResponse = { - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts deleted file mode 100644 index fac06b905..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts +++ /dev/null @@ -1,583 +0,0 @@ -import { voteOptionFromJSON } from "./types"; -import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "../../../helpers"; -import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -export interface AminoMsgCreateGroup extends AminoMsg { - type: "cosmos-sdk/MsgCreateGroup"; - value: { - admin: string; - members: { - address: string; - weight: string; - metadata: string; - added_at: { - seconds: string; - nanos: number; - }; - }[]; - metadata: string; - }; -} -export interface AminoMsgUpdateGroupMembers extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembers"; - value: { - admin: string; - group_id: string; - member_updates: { - address: string; - weight: string; - metadata: string; - added_at: { - seconds: string; - nanos: number; - }; - }[]; - }; -} -export interface AminoMsgUpdateGroupAdmin extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdmin"; - value: { - admin: string; - group_id: string; - new_admin: string; - }; -} -export interface AminoMsgUpdateGroupMetadata extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadata"; - value: { - admin: string; - group_id: string; - metadata: string; - }; -} -export interface AminoMsgCreateGroupPolicy extends AminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicy"; - value: { - admin: string; - group_id: string; - metadata: string; - decision_policy: { - type_url: string; - value: Uint8Array; - }; - }; -} -export interface AminoMsgCreateGroupWithPolicy extends AminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicy"; - value: { - admin: string; - members: { - address: string; - weight: string; - metadata: string; - added_at: { - seconds: string; - nanos: number; - }; - }[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy: { - type_url: string; - value: Uint8Array; - }; - }; -} -export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; - value: { - admin: string; - address: string; - new_admin: string; - }; -} -export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; - value: { - admin: string; - address: string; - decision_policy: { - type_url: string; - value: Uint8Array; - }; - }; -} -export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; - value: { - admin: string; - address: string; - metadata: string; - }; -} -export interface AminoMsgSubmitProposal extends AminoMsg { - type: "cosmos-sdk/group/MsgSubmitProposal"; - value: { - address: string; - proposers: string[]; - metadata: string; - messages: { - type_url: string; - value: Uint8Array; - }[]; - exec: number; - }; -} -export interface AminoMsgWithdrawProposal extends AminoMsg { - type: "cosmos-sdk/group/MsgWithdrawProposal"; - value: { - proposal_id: string; - address: string; - }; -} -export interface AminoMsgVote extends AminoMsg { - type: "cosmos-sdk/group/MsgVote"; - value: { - proposal_id: string; - voter: string; - option: number; - metadata: string; - exec: number; - }; -} -export interface AminoMsgExec extends AminoMsg { - type: "cosmos-sdk/group/MsgExec"; - value: { - proposal_id: string; - signer: string; - }; -} -export interface AminoMsgLeaveGroup extends AminoMsg { - type: "cosmos-sdk/group/MsgLeaveGroup"; - value: { - address: string; - group_id: string; - }; -} -export const AminoConverter = { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: "cosmos-sdk/MsgCreateGroup", - toAmino: ({ - admin, - members, - metadata - }: MsgCreateGroup): AminoMsgCreateGroup["value"] => { - return { - admin, - members: members.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - added_at: el0.addedAt - })), - metadata - }; - }, - fromAmino: ({ - admin, - members, - metadata - }: AminoMsgCreateGroup["value"]): MsgCreateGroup => { - return { - admin, - members: members.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - addedAt: el0.added_at - })), - metadata - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: "cosmos-sdk/MsgUpdateGroupMembers", - toAmino: ({ - admin, - groupId, - memberUpdates - }: MsgUpdateGroupMembers): AminoMsgUpdateGroupMembers["value"] => { - return { - admin, - group_id: groupId.toString(), - member_updates: memberUpdates.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - added_at: el0.addedAt - })) - }; - }, - fromAmino: ({ - admin, - group_id, - member_updates - }: AminoMsgUpdateGroupMembers["value"]): MsgUpdateGroupMembers => { - return { - admin, - groupId: Long.fromString(group_id), - memberUpdates: member_updates.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - addedAt: el0.added_at - })) - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", - toAmino: ({ - admin, - groupId, - newAdmin - }: MsgUpdateGroupAdmin): AminoMsgUpdateGroupAdmin["value"] => { - return { - admin, - group_id: groupId.toString(), - new_admin: newAdmin - }; - }, - fromAmino: ({ - admin, - group_id, - new_admin - }: AminoMsgUpdateGroupAdmin["value"]): MsgUpdateGroupAdmin => { - return { - admin, - groupId: Long.fromString(group_id), - newAdmin: new_admin - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", - toAmino: ({ - admin, - groupId, - metadata - }: MsgUpdateGroupMetadata): AminoMsgUpdateGroupMetadata["value"] => { - return { - admin, - group_id: groupId.toString(), - metadata - }; - }, - fromAmino: ({ - admin, - group_id, - metadata - }: AminoMsgUpdateGroupMetadata["value"]): MsgUpdateGroupMetadata => { - return { - admin, - groupId: Long.fromString(group_id), - metadata - }; - } - }, - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: "cosmos-sdk/MsgCreateGroupPolicy", - toAmino: ({ - admin, - groupId, - metadata, - decisionPolicy - }: MsgCreateGroupPolicy): AminoMsgCreateGroupPolicy["value"] => { - return { - admin, - group_id: groupId.toString(), - metadata, - decision_policy: { - type_url: decisionPolicy.typeUrl, - value: decisionPolicy.value - } - }; - }, - fromAmino: ({ - admin, - group_id, - metadata, - decision_policy - }: AminoMsgCreateGroupPolicy["value"]): MsgCreateGroupPolicy => { - return { - admin, - groupId: Long.fromString(group_id), - metadata, - decisionPolicy: { - typeUrl: decision_policy.type_url, - value: decision_policy.value - } - }; - } - }, - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", - toAmino: ({ - admin, - members, - groupMetadata, - groupPolicyMetadata, - groupPolicyAsAdmin, - decisionPolicy - }: MsgCreateGroupWithPolicy): AminoMsgCreateGroupWithPolicy["value"] => { - return { - admin, - members: members.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - added_at: el0.addedAt - })), - group_metadata: groupMetadata, - group_policy_metadata: groupPolicyMetadata, - group_policy_as_admin: groupPolicyAsAdmin, - decision_policy: { - type_url: decisionPolicy.typeUrl, - value: decisionPolicy.value - } - }; - }, - fromAmino: ({ - admin, - members, - group_metadata, - group_policy_metadata, - group_policy_as_admin, - decision_policy - }: AminoMsgCreateGroupWithPolicy["value"]): MsgCreateGroupWithPolicy => { - return { - admin, - members: members.map(el0 => ({ - address: el0.address, - weight: el0.weight, - metadata: el0.metadata, - addedAt: el0.added_at - })), - groupMetadata: group_metadata, - groupPolicyMetadata: group_policy_metadata, - groupPolicyAsAdmin: group_policy_as_admin, - decisionPolicy: { - typeUrl: decision_policy.type_url, - value: decision_policy.value - } - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", - toAmino: ({ - admin, - address, - newAdmin - }: MsgUpdateGroupPolicyAdmin): AminoMsgUpdateGroupPolicyAdmin["value"] => { - return { - admin, - address, - new_admin: newAdmin - }; - }, - fromAmino: ({ - admin, - address, - new_admin - }: AminoMsgUpdateGroupPolicyAdmin["value"]): MsgUpdateGroupPolicyAdmin => { - return { - admin, - address, - newAdmin: new_admin - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", - toAmino: ({ - admin, - address, - decisionPolicy - }: MsgUpdateGroupPolicyDecisionPolicy): AminoMsgUpdateGroupPolicyDecisionPolicy["value"] => { - return { - admin, - address, - decision_policy: { - type_url: decisionPolicy.typeUrl, - value: decisionPolicy.value - } - }; - }, - fromAmino: ({ - admin, - address, - decision_policy - }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]): MsgUpdateGroupPolicyDecisionPolicy => { - return { - admin, - address, - decisionPolicy: { - typeUrl: decision_policy.type_url, - value: decision_policy.value - } - }; - } - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", - toAmino: ({ - admin, - address, - metadata - }: MsgUpdateGroupPolicyMetadata): AminoMsgUpdateGroupPolicyMetadata["value"] => { - return { - admin, - address, - metadata - }; - }, - fromAmino: ({ - admin, - address, - metadata - }: AminoMsgUpdateGroupPolicyMetadata["value"]): MsgUpdateGroupPolicyMetadata => { - return { - admin, - address, - metadata - }; - } - }, - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/group/MsgSubmitProposal", - toAmino: ({ - address, - proposers, - metadata, - messages, - exec - }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { - return { - address, - proposers, - metadata, - messages: messages.map(el0 => ({ - type_url: el0.typeUrl, - value: el0.value - })), - exec - }; - }, - fromAmino: ({ - address, - proposers, - metadata, - messages, - exec - }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { - return { - address, - proposers, - metadata, - messages: messages.map(el0 => ({ - typeUrl: el0.type_url, - value: el0.value - })), - exec: execFromJSON(exec) - }; - } - }, - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: "cosmos-sdk/group/MsgWithdrawProposal", - toAmino: ({ - proposalId, - address - }: MsgWithdrawProposal): AminoMsgWithdrawProposal["value"] => { - return { - proposal_id: proposalId.toString(), - address - }; - }, - fromAmino: ({ - proposal_id, - address - }: AminoMsgWithdrawProposal["value"]): MsgWithdrawProposal => { - return { - proposalId: Long.fromString(proposal_id), - address - }; - } - }, - "/cosmos.group.v1.MsgVote": { - aminoType: "cosmos-sdk/group/MsgVote", - toAmino: ({ - proposalId, - voter, - option, - metadata, - exec - }: MsgVote): AminoMsgVote["value"] => { - return { - proposal_id: proposalId.toString(), - voter, - option, - metadata, - exec - }; - }, - fromAmino: ({ - proposal_id, - voter, - option, - metadata, - exec - }: AminoMsgVote["value"]): MsgVote => { - return { - proposalId: Long.fromString(proposal_id), - voter, - option: voteOptionFromJSON(option), - metadata, - exec: execFromJSON(exec) - }; - } - }, - "/cosmos.group.v1.MsgExec": { - aminoType: "cosmos-sdk/group/MsgExec", - toAmino: ({ - proposalId, - signer - }: MsgExec): AminoMsgExec["value"] => { - return { - proposal_id: proposalId.toString(), - signer - }; - }, - fromAmino: ({ - proposal_id, - signer - }: AminoMsgExec["value"]): MsgExec => { - return { - proposalId: Long.fromString(proposal_id), - signer - }; - } - }, - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: "cosmos-sdk/group/MsgLeaveGroup", - toAmino: ({ - address, - groupId - }: MsgLeaveGroup): AminoMsgLeaveGroup["value"] => { - return { - address, - group_id: groupId.toString() - }; - }, - fromAmino: ({ - address, - group_id - }: AminoMsgLeaveGroup["value"]): MsgLeaveGroup => { - return { - address, - groupId: Long.fromString(group_id) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts deleted file mode 100644 index 3441045f2..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts +++ /dev/null @@ -1,310 +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 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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.encode(value).finish() - }; - }, - - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.encode(value).finish() - }; - }, - - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.encode(value).finish() - }; - }, - - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.encode(value).finish() - }; - }, - - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.encode(value).finish() - }; - }, - - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.encode(value).finish() - }; - }, - - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.encode(value).finish() - }; - }, - - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish() - }; - }, - - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.encode(value).finish() - }; - }, - - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.encode(value).finish() - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.encode(value).finish() - }; - }, - - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.encode(value).finish() - }; - } - - }, - withTypeUrl: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value - }; - }, - - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value - }; - }, - - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value - }; - }, - - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value - }; - }, - - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value - }; - }, - - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value - }; - }, - - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value - }; - }, - - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value - }; - }, - - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value - }; - }, - - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value - }; - }, - - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value - }; - }, - - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value - }; - } - - }, - fromPartial: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.fromPartial(value) - }; - }, - - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.fromPartial(value) - }; - }, - - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.fromPartial(value) - }; - }, - - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.fromPartial(value) - }; - }, - - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.fromPartial(value) - }; - }, - - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.fromPartial(value) - }; - }, - - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.fromPartial(value) - }; - }, - - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) - }; - }, - - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.fromPartial(value) - }; - }, - - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.fromPartial(value) - }; - }, - - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.fromPartial(value) - }; - }, - - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts deleted file mode 100644 index b921d00c0..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 aborts 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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.createGroup = this.createGroup.bind(this); - this.updateGroupMembers = this.updateGroupMembers.bind(this); - this.updateGroupAdmin = this.updateGroupAdmin.bind(this); - this.updateGroupMetadata = this.updateGroupMetadata.bind(this); - this.createGroupPolicy = this.createGroupPolicy.bind(this); - this.createGroupWithPolicy = this.createGroupWithPolicy.bind(this); - this.updateGroupPolicyAdmin = this.updateGroupPolicyAdmin.bind(this); - this.updateGroupPolicyDecisionPolicy = this.updateGroupPolicyDecisionPolicy.bind(this); - this.updateGroupPolicyMetadata = this.updateGroupPolicyMetadata.bind(this); - this.submitProposal = this.submitProposal.bind(this); - this.withdrawProposal = this.withdrawProposal.bind(this); - this.vote = this.vote.bind(this); - this.exec = this.exec.bind(this); - this.leaveGroup = this.leaveGroup.bind(this); - } - - createGroup(request: MsgCreateGroup): Promise { - const data = MsgCreateGroup.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); - return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); - } - - updateGroupMembers(request: MsgUpdateGroupMembers): Promise { - const data = MsgUpdateGroupMembers.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); - return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); - } - - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { - const data = MsgUpdateGroupAdmin.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); - return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); - } - - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { - const data = MsgUpdateGroupMetadata.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); - return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); - } - - createGroupPolicy(request: MsgCreateGroupPolicy): Promise { - const data = MsgCreateGroupPolicy.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); - return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); - } - - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { - const data = MsgCreateGroupWithPolicy.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); - return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); - } - - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { - const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); - return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); - } - - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { - const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); - return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); - } - - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { - const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); - return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); - } - - submitProposal(request: MsgSubmitProposal): Promise { - const data = MsgSubmitProposal.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); - return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); - } - - withdrawProposal(request: MsgWithdrawProposal): Promise { - const data = MsgWithdrawProposal.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); - return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); - } - - vote(request: MsgVote): Promise { - const data = MsgVote.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); - return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); - } - - exec(request: MsgExec): Promise { - const data = MsgExec.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); - return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); - } - - leaveGroup(request: MsgLeaveGroup): Promise { - const data = MsgLeaveGroup.encode(request).finish(); - const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); - return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.ts b/examples/telescope/codegen/cosmos/group/v1/tx.ts deleted file mode 100644 index 6cb023bcd..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/tx.ts +++ /dev/null @@ -1,2065 +0,0 @@ -import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** Exec defines modes of execution of a proposal on creation or on new vote. */ - -export 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, -} -/** Exec defines modes of execution of a proposal on creation or on new vote. */ - -export enum ExecSDKType { - /** - * 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 function execFromJSON(object: any): Exec { - switch (object) { - case 0: - case "EXEC_UNSPECIFIED": - return Exec.EXEC_UNSPECIFIED; - - case 1: - case "EXEC_TRY": - return Exec.EXEC_TRY; - - case -1: - case "UNRECOGNIZED": - default: - return Exec.UNRECOGNIZED; - } -} -export function execToJSON(object: Exec): string { - switch (object) { - case Exec.EXEC_UNSPECIFIED: - return "EXEC_UNSPECIFIED"; - - case Exec.EXEC_TRY: - return "EXEC_TRY"; - - case Exec.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** 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: Member[]; - /** metadata is any arbitrary metadata to attached to the group. */ - - metadata: string; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ - -export interface MsgCreateGroupSDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - - members: MemberSDKType[]; - /** metadata is any arbitrary metadata to attached to the group. */ - - 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; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ - -export interface MsgCreateGroupResponseSDKType { - /** group_id is the unique ID of the newly created group. */ - 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: Member[]; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ - -export interface MsgUpdateGroupMembersSDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - - group_id: Long; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - - member_updates: MemberSDKType[]; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ - -export interface MsgUpdateGroupMembersResponse {} -/** 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; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ - -export interface MsgUpdateGroupAdminSDKType { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - - group_id: Long; - /** new_admin is the group new admin account address. */ - - new_admin: string; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ - -export interface MsgUpdateGroupAdminResponse {} -/** 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; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ - -export interface MsgUpdateGroupMetadataSDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - - group_id: Long; - /** metadata is the updated group's metadata. */ - - metadata: string; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ - -export interface MsgUpdateGroupMetadataResponse {} -/** 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?: Any | undefined; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ - -export interface MsgCreateGroupPolicySDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - - group_id: Long; - /** metadata is any arbitrary metadata attached to the group policy. */ - - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - - decision_policy?: 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; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ - -export interface MsgCreateGroupPolicyResponseSDKType { - /** address is the account address of the newly created group policy. */ - address: string; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ - -export interface MsgUpdateGroupPolicyAdmin { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of the group policy. */ - - address: string; - /** new_admin is the new group policy admin. */ - - newAdmin: string; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ - -export interface MsgUpdateGroupPolicyAdminSDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of the group policy. */ - - address: string; - /** new_admin is the new group policy admin. */ - - new_admin: string; -} -/** 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: Member[]; - /** 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?: Any | undefined; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ - -export interface MsgCreateGroupWithPolicySDKType { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - - members: MemberSDKType[]; - /** 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?: 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; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ - -export interface MsgCreateGroupWithPolicyResponseSDKType { - /** group_id is the unique ID of the newly created group with policy. */ - group_id: Long; - /** group_policy_address is the account address of the newly created group policy. */ - - group_policy_address: string; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ - -export interface MsgUpdateGroupPolicyAdminResponse {} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ - -export interface MsgUpdateGroupPolicyAdminResponseSDKType {} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ - -export interface MsgUpdateGroupPolicyDecisionPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - - address: string; - /** decision_policy is the updated group policy's decision policy. */ - - decisionPolicy?: Any | undefined; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ - -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - - address: string; - /** decision_policy is the updated group policy's decision policy. */ - - decision_policy?: AnySDKType | undefined; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ - -export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} -/** 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; - /** address is the account address of group policy. */ - - address: string; - /** metadata is the updated group policy metadata. */ - - metadata: string; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ - -export interface MsgUpdateGroupPolicyMetadataSDKType { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - - address: string; - /** metadata is the updated group policy metadata. */ - - metadata: string; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ - -export interface MsgUpdateGroupPolicyMetadataResponse {} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ - -export interface MsgUpdateGroupPolicyMetadataResponseSDKType {} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ - -export interface MsgSubmitProposal { - /** address is the account address of 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: 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; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ - -export interface MsgSubmitProposalSDKType { - /** address is the account address of 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: AnySDKType[]; - /** - * 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: ExecSDKType; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponseSDKType { - /** proposal is the unique ID of the proposal. */ - 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; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ - -export interface MsgWithdrawProposalSDKType { - /** proposal is the unique ID of the proposal. */ - proposal_id: Long; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ - -export interface MsgWithdrawProposalResponse {} -/** 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; -} -/** MsgVote is the Msg/Vote request type. */ - -export interface MsgVoteSDKType { - /** proposal is the unique ID of the proposal. */ - proposal_id: Long; - /** voter is the voter account address. */ - - voter: string; - /** option is the voter's choice on the proposal. */ - - option: VoteOptionSDKType; - /** 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: ExecSDKType; -} -/** MsgVoteResponse is the Msg/Vote response type. */ - -export interface MsgVoteResponse {} -/** 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; - /** signer is the account address used to execute the proposal. */ - - signer: string; -} -/** MsgExec is the Msg/Exec request type. */ - -export interface MsgExecSDKType { - /** proposal is the unique ID of the proposal. */ - proposal_id: Long; - /** signer is the account address used to execute the proposal. */ - - signer: string; -} -/** MsgExecResponse is the Msg/Exec request type. */ - -export interface MsgExecResponse {} -/** MsgExecResponse is the Msg/Exec request type. */ - -export interface MsgExecResponseSDKType {} -/** 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; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ - -export interface MsgLeaveGroupSDKType { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - - group_id: Long; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ - -export interface MsgLeaveGroupResponse {} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ - -export interface MsgLeaveGroupResponseSDKType {} - -function createBaseMsgCreateGroup(): MsgCreateGroup { - return { - admin: "", - members: [], - metadata: "" - }; -} - -export const MsgCreateGroup = { - encode(message: MsgCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - for (const v of message.members) { - Member.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroup(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.members.push(Member.decode(reader, reader.uint32())); - break; - - case 3: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroup { - const message = createBaseMsgCreateGroup(); - message.admin = object.admin ?? ""; - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse { - return { - groupId: Long.UZERO - }; -} - -export const MsgCreateGroupResponse = { - encode(message: MsgCreateGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroupResponse { - const message = createBaseMsgCreateGroupResponse(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers { - return { - admin: "", - groupId: Long.UZERO, - memberUpdates: [] - }; -} - -export const MsgUpdateGroupMembers = { - encode(message: MsgUpdateGroupMembers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - for (const v of message.memberUpdates) { - Member.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMembers(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - case 3: - message.memberUpdates.push(Member.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupMembers { - const message = createBaseMsgUpdateGroupMembers(); - message.admin = object.admin ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.memberUpdates = object.memberUpdates?.map(e => Member.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse { - return {}; -} - -export const MsgUpdateGroupMembersResponse = { - encode(_: MsgUpdateGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMembersResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupMembersResponse { - const message = createBaseMsgUpdateGroupMembersResponse(); - return message; - } - -}; - -function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin { - return { - admin: "", - groupId: Long.UZERO, - newAdmin: "" - }; -} - -export const MsgUpdateGroupAdmin = { - encode(message: MsgUpdateGroupAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupAdmin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - case 3: - message.newAdmin = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupAdmin { - const message = createBaseMsgUpdateGroupAdmin(); - message.admin = object.admin ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.newAdmin = object.newAdmin ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse { - return {}; -} - -export const MsgUpdateGroupAdminResponse = { - encode(_: MsgUpdateGroupAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupAdminResponse { - const message = createBaseMsgUpdateGroupAdminResponse(); - return message; - } - -}; - -function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata { - return { - admin: "", - groupId: Long.UZERO, - metadata: "" - }; -} - -export const MsgUpdateGroupMetadata = { - encode(message: MsgUpdateGroupMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMetadata(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - case 3: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupMetadata { - const message = createBaseMsgUpdateGroupMetadata(); - message.admin = object.admin ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse { - return {}; -} - -export const MsgUpdateGroupMetadataResponse = { - encode(_: MsgUpdateGroupMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMetadataResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupMetadataResponse { - const message = createBaseMsgUpdateGroupMetadataResponse(); - return message; - } - -}; - -function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy { - return { - admin: "", - groupId: Long.UZERO, - metadata: "", - decisionPolicy: undefined - }; -} - -export const MsgCreateGroupPolicy = { - encode(message: MsgCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - if (message.decisionPolicy !== undefined) { - Any.encode(message.decisionPolicy, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - case 3: - message.metadata = reader.string(); - break; - - case 4: - message.decisionPolicy = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroupPolicy { - const message = createBaseMsgCreateGroupPolicy(); - message.admin = object.admin ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.metadata = object.metadata ?? ""; - message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; - return message; - } - -}; - -function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse { - return { - address: "" - }; -} - -export const MsgCreateGroupPolicyResponse = { - encode(message: MsgCreateGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupPolicyResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroupPolicyResponse { - const message = createBaseMsgCreateGroupPolicyResponse(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin { - return { - admin: "", - address: "", - newAdmin: "" - }; -} - -export const MsgUpdateGroupPolicyAdmin = { - encode(message: MsgUpdateGroupPolicyAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyAdmin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.address = reader.string(); - break; - - case 3: - message.newAdmin = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { - const message = createBaseMsgUpdateGroupPolicyAdmin(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - message.newAdmin = object.newAdmin ?? ""; - return message; - } - -}; - -function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy { - return { - admin: "", - members: [], - groupMetadata: "", - groupPolicyMetadata: "", - groupPolicyAsAdmin: false, - decisionPolicy: undefined - }; -} - -export const MsgCreateGroupWithPolicy = { - encode(message: MsgCreateGroupWithPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - for (const v of message.members) { - Member.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.groupMetadata !== "") { - writer.uint32(26).string(message.groupMetadata); - } - - if (message.groupPolicyMetadata !== "") { - writer.uint32(34).string(message.groupPolicyMetadata); - } - - if (message.groupPolicyAsAdmin === true) { - writer.uint32(40).bool(message.groupPolicyAsAdmin); - } - - if (message.decisionPolicy !== undefined) { - Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupWithPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.members.push(Member.decode(reader, reader.uint32())); - break; - - case 3: - message.groupMetadata = reader.string(); - break; - - case 4: - message.groupPolicyMetadata = reader.string(); - break; - - case 5: - message.groupPolicyAsAdmin = reader.bool(); - break; - - case 6: - message.decisionPolicy = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroupWithPolicy { - const message = createBaseMsgCreateGroupWithPolicy(); - message.admin = object.admin ?? ""; - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - message.groupMetadata = object.groupMetadata ?? ""; - message.groupPolicyMetadata = object.groupPolicyMetadata ?? ""; - message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false; - message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; - return message; - } - -}; - -function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse { - return { - groupId: Long.UZERO, - groupPolicyAddress: "" - }; -} - -export const MsgCreateGroupWithPolicyResponse = { - encode(message: MsgCreateGroupWithPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - if (message.groupPolicyAddress !== "") { - writer.uint32(18).string(message.groupPolicyAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupWithPolicyResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - case 2: - message.groupPolicyAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateGroupWithPolicyResponse { - const message = createBaseMsgCreateGroupWithPolicyResponse(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.groupPolicyAddress = object.groupPolicyAddress ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse { - return {}; -} - -export const MsgUpdateGroupPolicyAdminResponse = { - encode(_: MsgUpdateGroupPolicyAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse { - const message = createBaseMsgUpdateGroupPolicyAdminResponse(); - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: "", - address: "", - decisionPolicy: undefined - }; -} - -export const MsgUpdateGroupPolicyDecisionPolicy = { - encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - if (message.decisionPolicy !== undefined) { - Any.encode(message.decisionPolicy, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.address = reader.string(); - break; - - case 3: - message.decisionPolicy = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupPolicyDecisionPolicy { - const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse { - return {}; -} - -export const MsgUpdateGroupPolicyDecisionPolicyResponse = { - encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse { - const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata { - return { - admin: "", - address: "", - metadata: "" - }; -} - -export const MsgUpdateGroupPolicyMetadata = { - encode(message: MsgUpdateGroupPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyMetadata(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - - case 2: - message.address = reader.string(); - break; - - case 3: - message.metadata = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { - const message = createBaseMsgUpdateGroupPolicyMetadata(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - message.metadata = object.metadata ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse { - return {}; -} - -export const MsgUpdateGroupPolicyMetadataResponse = { - encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse { - const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); - return message; - } - -}; - -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - address: "", - proposers: [], - metadata: "", - messages: [], - exec: 0 - }; -} - -export const MsgSubmitProposal = { - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - for (const v of message.proposers) { - writer.uint32(18).string(v!); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - for (const v of message.messages) { - Any.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.exec !== 0) { - writer.uint32(40).int32(message.exec); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.proposers.push(reader.string()); - break; - - case 3: - message.metadata = reader.string(); - break; - - case 4: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - - case 5: - message.exec = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - message.address = object.address ?? ""; - message.proposers = object.proposers?.map(e => e) || []; - message.metadata = object.metadata ?? ""; - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.exec = object.exec ?? 0; - return message; - } - -}; - -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} - -export const MsgSubmitProposalResponse = { - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgWithdrawProposal(): MsgWithdrawProposal { - return { - proposalId: Long.UZERO, - address: "" - }; -} - -export const MsgWithdrawProposal = { - encode(message: MsgWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgWithdrawProposal { - const message = createBaseMsgWithdrawProposal(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse { - return {}; -} - -export const MsgWithdrawProposalResponse = { - encode(_: MsgWithdrawProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawProposalResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgWithdrawProposalResponse { - const message = createBaseMsgWithdrawProposalResponse(); - return message; - } - -}; - -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "", - exec: 0 - }; -} - -export const MsgVote = { - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - if (message.exec !== 0) { - writer.uint32(40).int32(message.exec); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.option = (reader.int32() as any); - break; - - case 4: - message.metadata = reader.string(); - break; - - case 5: - message.exec = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgVote { - const message = createBaseMsgVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - message.exec = object.exec ?? 0; - return message; - } - -}; - -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} - -export const MsgVoteResponse = { - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - } - -}; - -function createBaseMsgExec(): MsgExec { - return { - proposalId: Long.UZERO, - signer: "" - }; -} - -export const MsgExec = { - encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.signer !== "") { - writer.uint32(18).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExec(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExec { - const message = createBaseMsgExec(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgExecResponse(): MsgExecResponse { - return {}; -} - -export const MsgExecResponse = { - encode(_: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgExecResponse { - const message = createBaseMsgExecResponse(); - return message; - } - -}; - -function createBaseMsgLeaveGroup(): MsgLeaveGroup { - return { - address: "", - groupId: Long.UZERO - }; -} - -export const MsgLeaveGroup = { - encode(message: MsgLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgLeaveGroup(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgLeaveGroup { - const message = createBaseMsgLeaveGroup(); - message.address = object.address ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse { - return {}; -} - -export const MsgLeaveGroupResponse = { - encode(_: MsgLeaveGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgLeaveGroupResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgLeaveGroupResponse { - const message = createBaseMsgLeaveGroupResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/types.ts b/examples/telescope/codegen/cosmos/group/v1/types.ts deleted file mode 100644 index 0e21e943d..000000000 --- a/examples/telescope/codegen/cosmos/group/v1/types.ts +++ /dev/null @@ -1,1658 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; -/** VoteOption enumerates the valid vote options for a given proposal. */ - -export 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, -} -/** VoteOption enumerates the valid vote options for a given proposal. */ - -export enum VoteOptionSDKType { - /** 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 function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus defines proposal statuses. */ - -export 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 persisted. */ - PROPOSAL_STATUS_SUBMITTED = 1, - - /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ - PROPOSAL_STATUS_CLOSED = 2, - - /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ - PROPOSAL_STATUS_ABORTED = 3, - - /** - * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status - * is Withdrawn. - */ - PROPOSAL_STATUS_WITHDRAWN = 4, - UNRECOGNIZED = -1, -} -/** ProposalStatus defines proposal statuses. */ - -export enum ProposalStatusSDKType { - /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - - /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ - PROPOSAL_STATUS_SUBMITTED = 1, - - /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ - PROPOSAL_STATUS_CLOSED = 2, - - /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ - PROPOSAL_STATUS_ABORTED = 3, - - /** - * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status - * is Withdrawn. - */ - PROPOSAL_STATUS_WITHDRAWN = 4, - UNRECOGNIZED = -1, -} -export function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - - case 1: - case "PROPOSAL_STATUS_SUBMITTED": - return ProposalStatus.PROPOSAL_STATUS_SUBMITTED; - - case 2: - case "PROPOSAL_STATUS_CLOSED": - return ProposalStatus.PROPOSAL_STATUS_CLOSED; - - case 3: - case "PROPOSAL_STATUS_ABORTED": - return ProposalStatus.PROPOSAL_STATUS_ABORTED; - - case 4: - case "PROPOSAL_STATUS_WITHDRAWN": - return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN; - - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - - case ProposalStatus.PROPOSAL_STATUS_SUBMITTED: - return "PROPOSAL_STATUS_SUBMITTED"; - - case ProposalStatus.PROPOSAL_STATUS_CLOSED: - return "PROPOSAL_STATUS_CLOSED"; - - case ProposalStatus.PROPOSAL_STATUS_ABORTED: - return "PROPOSAL_STATUS_ABORTED"; - - case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: - return "PROPOSAL_STATUS_WITHDRAWN"; - - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalResult defines types of proposal results. */ - -export enum ProposalResult { - /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ - PROPOSAL_RESULT_UNSPECIFIED = 0, - - /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ - PROPOSAL_RESULT_UNFINALIZED = 1, - - /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ - PROPOSAL_RESULT_ACCEPTED = 2, - - /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ - PROPOSAL_RESULT_REJECTED = 3, - UNRECOGNIZED = -1, -} -/** ProposalResult defines types of proposal results. */ - -export enum ProposalResultSDKType { - /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ - PROPOSAL_RESULT_UNSPECIFIED = 0, - - /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ - PROPOSAL_RESULT_UNFINALIZED = 1, - - /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ - PROPOSAL_RESULT_ACCEPTED = 2, - - /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ - PROPOSAL_RESULT_REJECTED = 3, - UNRECOGNIZED = -1, -} -export function proposalResultFromJSON(object: any): ProposalResult { - switch (object) { - case 0: - case "PROPOSAL_RESULT_UNSPECIFIED": - return ProposalResult.PROPOSAL_RESULT_UNSPECIFIED; - - case 1: - case "PROPOSAL_RESULT_UNFINALIZED": - return ProposalResult.PROPOSAL_RESULT_UNFINALIZED; - - case 2: - case "PROPOSAL_RESULT_ACCEPTED": - return ProposalResult.PROPOSAL_RESULT_ACCEPTED; - - case 3: - case "PROPOSAL_RESULT_REJECTED": - return ProposalResult.PROPOSAL_RESULT_REJECTED; - - case -1: - case "UNRECOGNIZED": - default: - return ProposalResult.UNRECOGNIZED; - } -} -export function proposalResultToJSON(object: ProposalResult): string { - switch (object) { - case ProposalResult.PROPOSAL_RESULT_UNSPECIFIED: - return "PROPOSAL_RESULT_UNSPECIFIED"; - - case ProposalResult.PROPOSAL_RESULT_UNFINALIZED: - return "PROPOSAL_RESULT_UNFINALIZED"; - - case ProposalResult.PROPOSAL_RESULT_ACCEPTED: - return "PROPOSAL_RESULT_ACCEPTED"; - - case ProposalResult.PROPOSAL_RESULT_REJECTED: - return "PROPOSAL_RESULT_REJECTED"; - - case ProposalResult.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalExecutorResult defines types of proposal executor results. */ - -export 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, -} -/** ProposalExecutorResult defines types of proposal executor results. */ - -export enum ProposalExecutorResultSDKType { - /** 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { - switch (object) { - case 0: - case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED; - - case 1: - case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN; - - case 2: - case "PROPOSAL_EXECUTOR_RESULT_SUCCESS": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS; - - case 3: - case "PROPOSAL_EXECUTOR_RESULT_FAILURE": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE; - - case -1: - case "UNRECOGNIZED": - default: - return ProposalExecutorResult.UNRECOGNIZED; - } -} -export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string { - switch (object) { - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: - return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"; - - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN: - return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN"; - - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS: - return "PROPOSAL_EXECUTOR_RESULT_SUCCESS"; - - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: - return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; - - case ProposalExecutorResult.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ - -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 to attached to the member. */ - - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - - addedAt?: Date | undefined; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ - -export interface MemberSDKType { - /** 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 to attached to the member. */ - - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - - added_at?: Date | undefined; -} -/** Members defines a repeated slice of Member objects. */ - -export interface Members { - /** members is the list of members. */ - members: Member[]; -} -/** Members defines a repeated slice of Member objects. */ - -export interface MembersSDKType { - /** members is the list of members. */ - members: MemberSDKType[]; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ - -export interface ThresholdDecisionPolicy { - /** 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 | undefined; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ - -export interface ThresholdDecisionPolicySDKType { - /** 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?: DecisionPolicyWindowsSDKType | undefined; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ - -export interface PercentageDecisionPolicy { - /** 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 | undefined; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ - -export interface PercentageDecisionPolicySDKType { - /** 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?: DecisionPolicyWindowsSDKType | undefined; -} -/** 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 | undefined; - /** - * 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 | undefined; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ - -export interface DecisionPolicyWindowsSDKType { - /** - * 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?: DurationSDKType | undefined; - /** - * 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?: DurationSDKType | undefined; -} -/** 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?: Date | undefined; -} -/** GroupInfo represents the high-level on-chain information for a group. */ - -export interface GroupInfoSDKType { - /** 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. */ - - total_weight: string; - /** created_at is a timestamp specifying when a group was created. */ - - created_at?: Date | undefined; -} -/** 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 | undefined; -} -/** GroupMember represents the relationship between a group and a member. */ - -export interface GroupMemberSDKType { - /** group_id is the unique ID of the group. */ - group_id: Long; - /** member is the member data. */ - - member?: MemberSDKType | undefined; -} -/** 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?: Any | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - - createdAt?: Date | undefined; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ - -export interface GroupPolicyInfoSDKType { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - - group_id: 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. */ - - decision_policy?: AnySDKType | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - - created_at?: Date | undefined; -} -/** - * 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; - /** address is the account address of 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. */ - - submitTime?: Date | undefined; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - - groupVersion: Long; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - - groupPolicyVersion: Long; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - - status: ProposalStatus; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - - result: ProposalResult; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - - finalTallyResult?: TallyResult | undefined; - /** - * 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`, as well - * as `status` and `result` fields will be accordingly updated. - */ - - votingPeriodEnd?: Date | undefined; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - - executorResult: ProposalExecutorResult; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - - messages: Any[]; -} -/** - * 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 is the unique id of the proposal. */ - id: Long; - /** address is the account address of 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?: Date | undefined; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - - group_version: Long; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - - group_policy_version: Long; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - - status: ProposalStatusSDKType; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - - result: ProposalResultSDKType; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - - final_tally_result?: TallyResultSDKType | undefined; - /** - * 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`, as well - * as `status` and `result` fields will be accordingly updated. - */ - - voting_period_end?: Date | undefined; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - - executor_result: ProposalExecutorResultSDKType; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - - 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 is the weighted sum of no votes. */ - - noCount: string; - /** no_with_veto_count is the weighted sum of veto. */ - - noWithVetoCount: string; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ - -export interface TallyResultSDKType { - /** yes_count is the weighted sum of yes votes. */ - yes_count: string; - /** abstain_count is the weighted sum of abstainers. */ - - abstain_count: string; - /** no 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; -} -/** 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?: Date | undefined; -} -/** Vote represents a vote for a proposal. */ - -export interface VoteSDKType { - /** proposal is the unique ID of the proposal. */ - proposal_id: Long; - /** voter is the account address of the voter. */ - - voter: string; - /** option is the voter's choice on the proposal. */ - - option: VoteOptionSDKType; - /** metadata is any arbitrary metadata to attached to the vote. */ - - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - - submit_time?: Date | undefined; -} - -function createBaseMember(): Member { - return { - address: "", - weight: "", - metadata: "", - addedAt: undefined - }; -} - -export const Member = { - encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - if (message.addedAt !== undefined) { - Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Member { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMember(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.weight = reader.string(); - break; - - case 3: - message.metadata = reader.string(); - break; - - case 4: - message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Member { - const message = createBaseMember(); - message.address = object.address ?? ""; - message.weight = object.weight ?? ""; - message.metadata = object.metadata ?? ""; - message.addedAt = object.addedAt ?? undefined; - return message; - } - -}; - -function createBaseMembers(): Members { - return { - members: [] - }; -} - -export const Members = { - encode(message: Members, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.members) { - Member.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Members { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMembers(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.members.push(Member.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Members { - const message = createBaseMembers(); - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { - return { - threshold: "", - windows: undefined - }; -} - -export const ThresholdDecisionPolicy = { - encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.threshold !== "") { - writer.uint32(10).string(message.threshold); - } - - if (message.windows !== undefined) { - DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseThresholdDecisionPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.threshold = reader.string(); - break; - - case 2: - message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ThresholdDecisionPolicy { - const message = createBaseThresholdDecisionPolicy(); - message.threshold = object.threshold ?? ""; - message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; - return message; - } - -}; - -function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { - return { - percentage: "", - windows: undefined - }; -} - -export const PercentageDecisionPolicy = { - encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.percentage !== "") { - writer.uint32(10).string(message.percentage); - } - - if (message.windows !== undefined) { - DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePercentageDecisionPolicy(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.percentage = reader.string(); - break; - - case 2: - message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PercentageDecisionPolicy { - const message = createBasePercentageDecisionPolicy(); - message.percentage = object.percentage ?? ""; - message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; - return message; - } - -}; - -function createBaseDecisionPolicyWindows(): DecisionPolicyWindows { - return { - votingPeriod: undefined, - minExecutionPeriod: undefined - }; -} - -export const DecisionPolicyWindows = { - encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - - if (message.minExecutionPeriod !== undefined) { - Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecisionPolicyWindows(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - - case 2: - message.minExecutionPeriod = Duration.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DecisionPolicyWindows { - const message = createBaseDecisionPolicyWindows(); - message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; - message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined; - return message; - } - -}; - -function createBaseGroupInfo(): GroupInfo { - return { - id: Long.UZERO, - admin: "", - metadata: "", - version: Long.UZERO, - totalWeight: "", - createdAt: undefined - }; -} - -export const GroupInfo = { - encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - - if (message.admin !== "") { - writer.uint32(18).string(message.admin); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - if (!message.version.isZero()) { - writer.uint32(32).uint64(message.version); - } - - if (message.totalWeight !== "") { - writer.uint32(42).string(message.totalWeight); - } - - if (message.createdAt !== undefined) { - Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - - case 2: - message.admin = reader.string(); - break; - - case 3: - message.metadata = reader.string(); - break; - - case 4: - message.version = (reader.uint64() as Long); - break; - - case 5: - message.totalWeight = reader.string(); - break; - - case 6: - message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GroupInfo { - const message = createBaseGroupInfo(); - message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; - message.admin = object.admin ?? ""; - message.metadata = object.metadata ?? ""; - message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; - message.totalWeight = object.totalWeight ?? ""; - message.createdAt = object.createdAt ?? undefined; - return message; - } - -}; - -function createBaseGroupMember(): GroupMember { - return { - groupId: Long.UZERO, - member: undefined - }; -} - -export const GroupMember = { - encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - - if (message.member !== undefined) { - Member.encode(message.member, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupMember(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - - case 2: - message.member = Member.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GroupMember { - const message = createBaseGroupMember(); - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined; - return message; - } - -}; - -function createBaseGroupPolicyInfo(): GroupPolicyInfo { - return { - address: "", - groupId: Long.UZERO, - admin: "", - metadata: "", - version: Long.UZERO, - decisionPolicy: undefined, - createdAt: undefined - }; -} - -export const GroupPolicyInfo = { - encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - - if (message.admin !== "") { - writer.uint32(26).string(message.admin); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - if (!message.version.isZero()) { - writer.uint32(40).uint64(message.version); - } - - if (message.decisionPolicy !== undefined) { - Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); - } - - if (message.createdAt !== undefined) { - Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupPolicyInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.groupId = (reader.uint64() as Long); - break; - - case 3: - message.admin = reader.string(); - break; - - case 4: - message.metadata = reader.string(); - break; - - case 5: - message.version = (reader.uint64() as Long); - break; - - case 6: - message.decisionPolicy = Any.decode(reader, reader.uint32()); - break; - - case 7: - message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GroupPolicyInfo { - const message = createBaseGroupPolicyInfo(); - message.address = object.address ?? ""; - message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; - message.admin = object.admin ?? ""; - message.metadata = object.metadata ?? ""; - message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; - message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; - message.createdAt = object.createdAt ?? undefined; - return message; - } - -}; - -function createBaseProposal(): Proposal { - return { - id: Long.UZERO, - address: "", - metadata: "", - proposers: [], - submitTime: undefined, - groupVersion: Long.UZERO, - groupPolicyVersion: Long.UZERO, - status: 0, - result: 0, - finalTallyResult: undefined, - votingPeriodEnd: undefined, - executorResult: 0, - messages: [] - }; -} - -export const Proposal = { - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - - for (const v of message.proposers) { - writer.uint32(34).string(v!); - } - - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - - if (!message.groupVersion.isZero()) { - writer.uint32(48).uint64(message.groupVersion); - } - - if (!message.groupPolicyVersion.isZero()) { - writer.uint32(56).uint64(message.groupPolicyVersion); - } - - if (message.status !== 0) { - writer.uint32(64).int32(message.status); - } - - if (message.result !== 0) { - writer.uint32(72).int32(message.result); - } - - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(82).fork()).ldelim(); - } - - if (message.votingPeriodEnd !== undefined) { - Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(90).fork()).ldelim(); - } - - if (message.executorResult !== 0) { - writer.uint32(96).int32(message.executorResult); - } - - for (const v of message.messages) { - Any.encode(v!, writer.uint32(106).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - - case 2: - message.address = reader.string(); - break; - - case 3: - message.metadata = reader.string(); - break; - - case 4: - message.proposers.push(reader.string()); - break; - - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 6: - message.groupVersion = (reader.uint64() as Long); - break; - - case 7: - message.groupPolicyVersion = (reader.uint64() as Long); - break; - - case 8: - message.status = (reader.int32() as any); - break; - - case 9: - message.result = (reader.int32() as any); - break; - - case 10: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - - case 11: - message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 12: - message.executorResult = (reader.int32() as any); - break; - - case 13: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Proposal { - const message = createBaseProposal(); - message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; - message.address = object.address ?? ""; - message.metadata = object.metadata ?? ""; - message.proposers = object.proposers?.map(e => e) || []; - message.submitTime = object.submitTime ?? undefined; - message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? Long.fromValue(object.groupVersion) : Long.UZERO; - message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO; - message.status = object.status ?? 0; - message.result = object.result ?? 0; - message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; - message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; - message.executorResult = object.executorResult ?? 0; - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseTallyResult(): TallyResult { - return { - yesCount: "", - abstainCount: "", - noCount: "", - noWithVetoCount: "" - }; -} - -export const TallyResult = { - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yesCount !== "") { - writer.uint32(10).string(message.yesCount); - } - - if (message.abstainCount !== "") { - writer.uint32(18).string(message.abstainCount); - } - - if (message.noCount !== "") { - writer.uint32(26).string(message.noCount); - } - - if (message.noWithVetoCount !== "") { - writer.uint32(34).string(message.noWithVetoCount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.yesCount = reader.string(); - break; - - case 2: - message.abstainCount = reader.string(); - break; - - case 3: - message.noCount = reader.string(); - break; - - case 4: - message.noWithVetoCount = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TallyResult { - const message = createBaseTallyResult(); - message.yesCount = object.yesCount ?? ""; - message.abstainCount = object.abstainCount ?? ""; - message.noCount = object.noCount ?? ""; - message.noWithVetoCount = object.noWithVetoCount ?? ""; - return message; - } - -}; - -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "", - submitTime: undefined - }; -} - -export const Vote = { - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - - case 2: - message.voter = reader.string(); - break; - - case 3: - message.option = (reader.int32() as any); - break; - - case 4: - message.metadata = reader.string(); - break; - - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Vote { - const message = createBaseVote(); - message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - message.submitTime = object.submitTime ?? undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/lcd.ts b/examples/telescope/codegen/cosmos/lcd.ts deleted file mode 100644 index 954fcdf89..000000000 --- a/examples/telescope/codegen/cosmos/lcd.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => { - const requestClient = new LCDClient({ - restEndpoint - }); - return { - cosmos: { - auth: { - v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - base: { - tendermint: { - v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - gov: { - v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ - requestClient - }), - v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - group: { - v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ - 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 - }) - }, - tx: { - v1beta1: new (await import("./tx/v1beta1/service.lcd")).LCDQueryClient({ - requestClient - }) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts deleted file mode 100644 index adfdc59fb..000000000 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { Minter, MinterSDKType, Params, 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 | undefined; - /** params defines all the paramaters of the module. */ - - params?: Params | undefined; -} -/** GenesisState defines the mint module's genesis state. */ - -export interface GenesisStateSDKType { - /** minter is a space for holding current inflation information. */ - minter?: MinterSDKType | undefined; - /** params defines all the paramaters of the module. */ - - params?: ParamsSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - minter: undefined, - params: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.minter !== undefined) { - Minter.encode(message.minter, writer.uint32(10).fork()).ldelim(); - } - - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.minter = Minter.decode(reader, reader.uint32()); - break; - - case 2: - message.params = Params.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.minter = object.minter !== undefined && object.minter !== null ? Minter.fromPartial(object.minter) : undefined; - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts deleted file mode 100644 index a51bb9df2..000000000 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts +++ /dev/null @@ -1,212 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** Minter represents the minting state. */ - -export interface Minter { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - - annualProvisions: string; -} -/** Minter represents the minting state. */ - -export interface MinterSDKType { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - - 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; -} -/** Params holds parameters for the mint module. */ - -export interface ParamsSDKType { - /** 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: Long; -} - -function createBaseMinter(): Minter { - return { - inflation: "", - annualProvisions: "" - }; -} - -export const Minter = { - encode(message: Minter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.inflation !== "") { - writer.uint32(10).string(message.inflation); - } - - if (message.annualProvisions !== "") { - writer.uint32(18).string(message.annualProvisions); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Minter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMinter(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.inflation = reader.string(); - break; - - case 2: - message.annualProvisions = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Minter { - const message = createBaseMinter(); - message.inflation = object.inflation ?? ""; - message.annualProvisions = object.annualProvisions ?? ""; - return message; - } - -}; - -function createBaseParams(): Params { - return { - mintDenom: "", - inflationRateChange: "", - inflationMax: "", - inflationMin: "", - goalBonded: "", - blocksPerYear: Long.UZERO - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mintDenom !== "") { - writer.uint32(10).string(message.mintDenom); - } - - if (message.inflationRateChange !== "") { - writer.uint32(18).string(message.inflationRateChange); - } - - if (message.inflationMax !== "") { - writer.uint32(26).string(message.inflationMax); - } - - if (message.inflationMin !== "") { - writer.uint32(34).string(message.inflationMin); - } - - if (message.goalBonded !== "") { - writer.uint32(42).string(message.goalBonded); - } - - if (!message.blocksPerYear.isZero()) { - writer.uint32(48).uint64(message.blocksPerYear); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.mintDenom = reader.string(); - break; - - case 2: - message.inflationRateChange = reader.string(); - break; - - case 3: - message.inflationMax = reader.string(); - break; - - case 4: - message.inflationMin = reader.string(); - break; - - case 5: - message.goalBonded = reader.string(); - break; - - case 6: - message.blocksPerYear = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.mintDenom = object.mintDenom ?? ""; - message.inflationRateChange = object.inflationRateChange ?? ""; - message.inflationMax = object.inflationMax ?? ""; - message.inflationMin = object.inflationMin ?? ""; - message.goalBonded = object.goalBonded ?? ""; - message.blocksPerYear = object.blocksPerYear !== undefined && object.blocksPerYear !== null ? Long.fromValue(object.blocksPerYear) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts deleted file mode 100644 index 920860407..000000000 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.inflation = this.inflation.bind(this); - this.annualProvisions = this.annualProvisions.bind(this); - } - /* Params returns the total set of minting parameters. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/params`; - return await this.req.get(endpoint); - } - /* Inflation returns the current minting inflation value. */ - - - async inflation(_params: QueryInflationRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/inflation`; - return await this.req.get(endpoint); - } - /* AnnualProvisions current minting annual provisions value. */ - - - async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/annual_provisions`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts deleted file mode 100644 index 4e7ca73e5..000000000 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.params = this.params.bind(this); - this.inflation = this.inflation.bind(this); - this.annualProvisions = this.annualProvisions.bind(this); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - inflation(request: QueryInflationRequest = {}): Promise { - const data = QueryInflationRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); - return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); - } - - annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { - const data = QueryAnnualProvisionsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); - return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - inflation(request?: QueryInflationRequest): Promise { - return queryService.inflation(request); - }, - - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { - return queryService.annualProvisions(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts deleted file mode 100644 index 789baf002..000000000 --- a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts +++ /dev/null @@ -1,311 +0,0 @@ -import { Params, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** params defines the parameters of the module. */ - params?: ParamsSDKType | undefined; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ - -export interface QueryInflationRequest {} -/** 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; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ - -export interface QueryInflationResponseSDKType { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ - -export interface QueryAnnualProvisionsRequest {} -/** - * 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; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ - -export interface QueryAnnualProvisionsResponseSDKType { - /** annual_provisions is the current minting annual provisions value. */ - annual_provisions: Uint8Array; -} - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryInflationRequest(): QueryInflationRequest { - return {}; -} - -export const QueryInflationRequest = { - encode(_: QueryInflationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryInflationRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryInflationRequest { - const message = createBaseQueryInflationRequest(); - return message; - } - -}; - -function createBaseQueryInflationResponse(): QueryInflationResponse { - return { - inflation: new Uint8Array() - }; -} - -export const QueryInflationResponse = { - encode(message: QueryInflationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.inflation.length !== 0) { - writer.uint32(10).bytes(message.inflation); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryInflationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.inflation = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryInflationResponse { - const message = createBaseQueryInflationResponse(); - message.inflation = object.inflation ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryAnnualProvisionsRequest(): QueryAnnualProvisionsRequest { - return {}; -} - -export const QueryAnnualProvisionsRequest = { - encode(_: QueryAnnualProvisionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAnnualProvisionsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryAnnualProvisionsRequest { - const message = createBaseQueryAnnualProvisionsRequest(); - return message; - } - -}; - -function createBaseQueryAnnualProvisionsResponse(): QueryAnnualProvisionsResponse { - return { - annualProvisions: new Uint8Array() - }; -} - -export const QueryAnnualProvisionsResponse = { - encode(message: QueryAnnualProvisionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.annualProvisions.length !== 0) { - writer.uint32(10).bytes(message.annualProvisions); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAnnualProvisionsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.annualProvisions = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAnnualProvisionsResponse { - const message = createBaseQueryAnnualProvisionsResponse(); - message.annualProvisions = object.annualProvisions ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/msg/v1/msg.ts b/examples/telescope/codegen/cosmos/msg/v1/msg.ts deleted file mode 100644 index 693da49fc..000000000 --- a/examples/telescope/codegen/cosmos/msg/v1/msg.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts deleted file mode 100644 index dac30f74b..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts +++ /dev/null @@ -1,250 +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; -} -/** 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; -} -/** 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; -} -/** 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 = { - encode(message: EventSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): EventSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseEventMint(): EventMint { - return { - classId: "", - id: "", - owner: "" - }; -} - -export const EventMint = { - encode(message: EventMint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): EventMint { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): EventMint { - const message = createBaseEventMint(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - } - -}; - -function createBaseEventBurn(): EventBurn { - return { - classId: "", - id: "", - owner: "" - }; -} - -export const EventBurn = { - encode(message: EventBurn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): EventBurn { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): EventBurn { - const message = createBaseEventBurn(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts deleted file mode 100644 index 879eeacce..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts +++ /dev/null @@ -1,144 +0,0 @@ -import { Class, ClassSDKType, NFT, 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[]; -} -/** GenesisState defines the nft module's genesis state. */ - -export interface GenesisStateSDKType { - /** class defines the class of the nft type. */ - 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[]; -} -/** Entry Defines all nft owned by a person */ - -export interface EntrySDKType { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - - nfts: NFTSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - classes: [], - entries: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseEntry(): Entry { - return { - owner: "", - nfts: [] - }; -} - -export const Entry = { - encode(message: Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): Entry { - const message = createBaseEntry(); - message.owner = object.owner ?? ""; - message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts deleted file mode 100644 index 930b93118..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts +++ /dev/null @@ -1,276 +0,0 @@ -import { Any, 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 | undefined; -} -/** Class defines the class of the nft type. */ - -export interface ClassSDKType { - /** 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?: AnySDKType | undefined; -} -/** 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 | undefined; -} -/** NFT defines the NFT. */ - -export interface NFTSDKType { - /** 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?: AnySDKType | undefined; -} - -function createBaseClass(): Class { - return { - id: "", - name: "", - symbol: "", - description: "", - uri: "", - uriHash: "", - data: undefined - }; -} - -export const Class = { - encode(message: Class, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Class { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseNFT(): NFT { - return { - classId: "", - id: "", - uri: "", - uriHash: "", - data: undefined - }; -} - -export const NFT = { - encode(message: NFT, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): NFT { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts deleted file mode 100644 index ca3a1dc1e..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts deleted file mode 100644 index 72e638152..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts deleted file mode 100644 index 8f79fa88b..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts +++ /dev/null @@ -1,860 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ - -export interface QueryBalanceRequest { - classId: string; - owner: string; -} -/** 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; -} -/** 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; -} -/** 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; -} -/** 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; -} -/** 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; -} -/** 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 | undefined; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ - -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ - -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination?: PageResponse | undefined; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ - -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ - -export interface QueryNFTRequest { - classId: string; - id: string; -} -/** 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 | undefined; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ - -export interface QueryNFTResponseSDKType { - nft?: NFTSDKType | undefined; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ - -export interface QueryClassRequest { - classId: string; -} -/** 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 | undefined; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ - -export interface QueryClassResponseSDKType { - class?: ClassSDKType | undefined; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ - -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ - -export interface QueryClassesRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ - -export interface QueryClassesResponse { - classes: Class[]; - pagination?: PageResponse | undefined; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ - -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - classId: "", - owner: "" - }; -} - -export const QueryBalanceRequest = { - encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - - if (message.owner !== "") { - writer.uint32(18).string(message.owner); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - message.classId = object.classId ?? ""; - message.owner = object.owner ?? ""; - return message; - } - -}; - -function createBaseQueryBalanceResponse(): QueryBalanceResponse { - return { - amount: Long.UZERO - }; -} - -export const QueryBalanceResponse = { - encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.amount.isZero()) { - writer.uint32(8).uint64(message.amount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryOwnerRequest(): QueryOwnerRequest { - return { - classId: "", - id: "" - }; -} - -export const QueryOwnerRequest = { - encode(message: QueryOwnerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryOwnerRequest { - const message = createBaseQueryOwnerRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - } - -}; - -function createBaseQueryOwnerResponse(): QueryOwnerResponse { - return { - owner: "" - }; -} - -export const QueryOwnerResponse = { - encode(message: QueryOwnerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.owner !== "") { - writer.uint32(10).string(message.owner); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryOwnerResponse { - const message = createBaseQueryOwnerResponse(); - message.owner = object.owner ?? ""; - return message; - } - -}; - -function createBaseQuerySupplyRequest(): QuerySupplyRequest { - return { - classId: "" - }; -} - -export const QuerySupplyRequest = { - encode(message: QuerySupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QuerySupplyRequest { - const message = createBaseQuerySupplyRequest(); - message.classId = object.classId ?? ""; - return message; - } - -}; - -function createBaseQuerySupplyResponse(): QuerySupplyResponse { - return { - amount: Long.UZERO - }; -} - -export const QuerySupplyResponse = { - encode(message: QuerySupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.amount.isZero()) { - writer.uint32(8).uint64(message.amount); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySupplyResponse { - const message = createBaseQuerySupplyResponse(); - message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryNFTsRequest(): QueryNFTsRequest { - return { - classId: "", - owner: "", - pagination: undefined - }; -} - -export const QueryNFTsRequest = { - encode(message: QueryNFTsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseQueryNFTsResponse(): QueryNFTsResponse { - return { - nfts: [], - pagination: undefined - }; -} - -export const QueryNFTsResponse = { - encode(message: QueryNFTsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseQueryNFTRequest(): QueryNFTRequest { - return { - classId: "", - id: "" - }; -} - -export const QueryNFTRequest = { - encode(message: QueryNFTRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryNFTRequest { - const message = createBaseQueryNFTRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - } - -}; - -function createBaseQueryNFTResponse(): QueryNFTResponse { - return { - nft: undefined - }; -} - -export const QueryNFTResponse = { - encode(message: QueryNFTResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nft !== undefined) { - NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryNFTResponse { - const message = createBaseQueryNFTResponse(); - message.nft = object.nft !== undefined && object.nft !== null ? NFT.fromPartial(object.nft) : undefined; - return message; - } - -}; - -function createBaseQueryClassRequest(): QueryClassRequest { - return { - classId: "" - }; -} - -export const QueryClassRequest = { - encode(message: QueryClassRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryClassRequest { - const message = createBaseQueryClassRequest(); - message.classId = object.classId ?? ""; - return message; - } - -}; - -function createBaseQueryClassResponse(): QueryClassResponse { - return { - class: undefined - }; -} - -export const QueryClassResponse = { - encode(message: QueryClassResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.class !== undefined) { - Class.encode(message.class, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryClassResponse { - const message = createBaseQueryClassResponse(); - message.class = object.class !== undefined && object.class !== null ? Class.fromPartial(object.class) : undefined; - return message; - } - -}; - -function createBaseQueryClassesRequest(): QueryClassesRequest { - return { - pagination: undefined - }; -} - -export const QueryClassesRequest = { - encode(message: QueryClassesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryClassesRequest { - const message = createBaseQueryClassesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryClassesResponse(): QueryClassesResponse { - return { - classes: [], - pagination: undefined - }; -} - -export const QueryClassesResponse = { - encode(message: QueryClassesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts deleted file mode 100644 index 68f2beb79..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgSend } from "./tx"; -export interface AminoMsgSend extends AminoMsg { - type: "cosmos-sdk/MsgNFTSend"; - value: { - class_id: string; - id: string; - sender: string; - receiver: string; - }; -} -export const AminoConverter = { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: "cosmos-sdk/MsgNFTSend", - toAmino: ({ - classId, - id, - sender, - receiver - }: MsgSend): AminoMsgSend["value"] => { - return { - class_id: classId, - id, - sender, - receiver - }; - }, - fromAmino: ({ - class_id, - id, - sender, - receiver - }: AminoMsgSend["value"]): MsgSend => { - return { - classId: class_id, - id, - sender, - receiver - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts deleted file mode 100644 index 0d9307539..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts +++ /dev/null @@ -1,37 +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 - }; - } - - }, - fromPartial: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b6ad14c77..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts deleted file mode 100644 index 987f40d85..000000000 --- a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts +++ /dev/null @@ -1,146 +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; -} -/** MsgSend represents a message to send a nft from one account to another account. */ - -export interface MsgSendSDKType { - /** 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; -} -/** MsgSendResponse defines the Msg/Send response type. */ - -export interface MsgSendResponse {} -/** MsgSendResponse defines the Msg/Send response type. */ - -export interface MsgSendResponseSDKType {} - -function createBaseMsgSend(): MsgSend { - return { - classId: "", - id: "", - sender: "", - receiver: "" - }; -} - -export const MsgSend = { - encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): MsgSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseMsgSendResponse(): MsgSendResponse { - return {}; -} - -export const MsgSendResponse = { - encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1/orm.ts b/examples/telescope/codegen/cosmos/orm/v1/orm.ts deleted file mode 100644 index 7b2a45d0a..000000000 --- a/examples/telescope/codegen/cosmos/orm/v1/orm.ts +++ /dev/null @@ -1,423 +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 | undefined; - /** 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; -} -/** TableDescriptor describes an ORM table. */ - -export interface TableDescriptorSDKType { - /** primary_key defines the primary key for the table. */ - primary_key?: PrimaryKeyDescriptorSDKType | undefined; - /** index defines one or more secondary indexes. */ - - index: SecondaryIndexDescriptorSDKType[]; - /** - * 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; -} -/** 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; -} -/** PrimaryKeyDescriptor describes a table primary key. */ - -export interface PrimaryKeyDescriptorSDKType { - /** - * 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; -} -/** 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 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; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ - -export interface SecondaryIndexDescriptorSDKType { - /** - * 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 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; -} -/** 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; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ - -export interface SingletonDescriptorSDKType { - /** - * 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; -} - -function createBaseTableDescriptor(): TableDescriptor { - return { - primaryKey: undefined, - index: [], - id: 0 - }; -} - -export const TableDescriptor = { - encode(message: TableDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.primaryKey !== undefined) { - PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.index) { - SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.id !== 0) { - writer.uint32(24).uint32(message.id); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTableDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32()); - break; - - case 2: - message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32())); - break; - - case 3: - message.id = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TableDescriptor { - const message = createBaseTableDescriptor(); - message.primaryKey = object.primaryKey !== undefined && object.primaryKey !== null ? PrimaryKeyDescriptor.fromPartial(object.primaryKey) : undefined; - message.index = object.index?.map(e => SecondaryIndexDescriptor.fromPartial(e)) || []; - message.id = object.id ?? 0; - return message; - } - -}; - -function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor { - return { - fields: "", - autoIncrement: false - }; -} - -export const PrimaryKeyDescriptor = { - encode(message: PrimaryKeyDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fields !== "") { - writer.uint32(10).string(message.fields); - } - - if (message.autoIncrement === true) { - writer.uint32(16).bool(message.autoIncrement); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrimaryKeyDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fields = reader.string(); - break; - - case 2: - message.autoIncrement = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PrimaryKeyDescriptor { - const message = createBasePrimaryKeyDescriptor(); - message.fields = object.fields ?? ""; - message.autoIncrement = object.autoIncrement ?? false; - return message; - } - -}; - -function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor { - return { - fields: "", - id: 0, - unique: false - }; -} - -export const SecondaryIndexDescriptor = { - encode(message: SecondaryIndexDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fields !== "") { - writer.uint32(10).string(message.fields); - } - - if (message.id !== 0) { - writer.uint32(16).uint32(message.id); - } - - if (message.unique === true) { - writer.uint32(24).bool(message.unique); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSecondaryIndexDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fields = reader.string(); - break; - - case 2: - message.id = reader.uint32(); - break; - - case 3: - message.unique = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SecondaryIndexDescriptor { - const message = createBaseSecondaryIndexDescriptor(); - message.fields = object.fields ?? ""; - message.id = object.id ?? 0; - message.unique = object.unique ?? false; - return message; - } - -}; - -function createBaseSingletonDescriptor(): SingletonDescriptor { - return { - id: 0 - }; -} - -export const SingletonDescriptor = { - encode(message: SingletonDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).uint32(message.id); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSingletonDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SingletonDescriptor { - const message = createBaseSingletonDescriptor(); - message.id = object.id ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts deleted file mode 100644 index f2ea65fc1..000000000 --- a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts +++ /dev/null @@ -1,335 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** 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, -} -/** StorageType */ - -export enum StorageTypeSDKType { - /** - * 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 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; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ - -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - - 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; -} -/** FileEntry describes an ORM file used in a module. */ - -export interface ModuleSchemaDescriptor_FileEntrySDKType { - /** - * 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: StorageTypeSDKType; -} - -function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { - return { - schemaFile: [], - prefix: new Uint8Array() - }; -} - -export const ModuleSchemaDescriptor = { - encode(message: ModuleSchemaDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { - return { - id: 0, - protoFileName: "", - storageType: 0 - }; -} - -export const ModuleSchemaDescriptor_FileEntry = { - encode(message: ModuleSchemaDescriptor_FileEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts deleted file mode 100644 index 0921dec84..000000000 --- a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts +++ /dev/null @@ -1,165 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ - -export interface ParameterChangeProposal { - title: string; - description: string; - changes: ParamChange[]; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ - -export interface ParameterChangeProposalSDKType { - 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; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ - -export interface ParamChangeSDKType { - subspace: string; - key: string; - value: string; -} - -function createBaseParameterChangeProposal(): ParameterChangeProposal { - return { - title: "", - description: "", - changes: [] - }; -} - -export const ParameterChangeProposal = { - encode(message: ParameterChangeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - for (const v of message.changes) { - ParamChange.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParameterChangeProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.changes.push(ParamChange.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ParameterChangeProposal { - const message = createBaseParameterChangeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseParamChange(): ParamChange { - return { - subspace: "", - key: "", - value: "" - }; -} - -export const ParamChange = { - encode(message: ParamChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - - if (message.key !== "") { - writer.uint32(18).string(message.key); - } - - if (message.value !== "") { - writer.uint32(26).string(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParamChange(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - - case 2: - message.key = reader.string(); - break; - - case 3: - message.value = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ParamChange { - const message = createBaseParamChange(); - message.subspace = object.subspace ?? ""; - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts deleted file mode 100644 index 7feab29f6..000000000 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.subspaces = this.subspaces.bind(this); - } - /* Params queries a specific parameter of a module, given its subspace and - key. */ - - - async params(params: QueryParamsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.subspace !== "undefined") { - options.params.subspace = params.subspace; - } - - if (typeof params?.key !== "undefined") { - options.params.key = params.key; - } - - const endpoint = `cosmos/params/v1beta1/params`; - return await this.req.get(endpoint, options); - } - /* Subspaces queries for all registered subspaces and all keys for a subspace. */ - - - async subspaces(_params: QuerySubspacesRequest = {}): Promise { - const endpoint = `cosmos/params/v1beta1/subspaces`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts deleted file mode 100644 index 4f5055144..000000000 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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. */ - - subspaces(request?: QuerySubspacesRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.params = this.params.bind(this); - this.subspaces = this.subspaces.bind(this); - } - - params(request: QueryParamsRequest): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - subspaces(request: QuerySubspacesRequest = {}): Promise { - const data = QuerySubspacesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); - return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - params(request: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - subspaces(request?: QuerySubspacesRequest): Promise { - return queryService.subspaces(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts deleted file mode 100644 index 1a6dcf007..000000000 --- a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts +++ /dev/null @@ -1,312 +0,0 @@ -import { ParamChange, 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; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param?: ParamChange | undefined; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** param defines the queried parameter. */ - param?: ParamChangeSDKType | undefined; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ - -export interface QuerySubspacesRequest {} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ - -export interface QuerySubspacesRequestSDKType {} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ - -export interface QuerySubspacesResponse { - subspaces: Subspace[]; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ - -export interface QuerySubspacesResponseSDKType { - subspaces: SubspaceSDKType[]; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ - -export interface Subspace { - subspace: string; - keys: string[]; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ - -export interface SubspaceSDKType { - subspace: string; - keys: string[]; -} - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - subspace: "", - key: "" - }; -} - -export const QueryParamsRequest = { - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - - if (message.key !== "") { - writer.uint32(18).string(message.key); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - - case 2: - message.key = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.subspace = object.subspace ?? ""; - message.key = object.key ?? ""; - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - param: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.param !== undefined) { - ParamChange.encode(message.param, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.param = ParamChange.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.param = object.param !== undefined && object.param !== null ? ParamChange.fromPartial(object.param) : undefined; - return message; - } - -}; - -function createBaseQuerySubspacesRequest(): QuerySubspacesRequest { - return {}; -} - -export const QuerySubspacesRequest = { - encode(_: QuerySubspacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySubspacesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QuerySubspacesRequest { - const message = createBaseQuerySubspacesRequest(); - return message; - } - -}; - -function createBaseQuerySubspacesResponse(): QuerySubspacesResponse { - return { - subspaces: [] - }; -} - -export const QuerySubspacesResponse = { - encode(message: QuerySubspacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.subspaces) { - Subspace.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySubspacesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.subspaces.push(Subspace.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySubspacesResponse { - const message = createBaseQuerySubspacesResponse(); - message.subspaces = object.subspaces?.map(e => Subspace.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSubspace(): Subspace { - return { - subspace: "", - keys: [] - }; -} - -export const Subspace = { - encode(message: Subspace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - - for (const v of message.keys) { - writer.uint32(18).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Subspace { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSubspace(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - - case 2: - message.keys.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Subspace { - const message = createBaseSubspace(); - message.subspace = object.subspace ?? ""; - message.keys = object.keys?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.query.ts b/examples/telescope/codegen/cosmos/rpc.query.ts deleted file mode 100644 index 463a76c44..000000000 --- a/examples/telescope/codegen/cosmos/rpc.query.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; -import { QueryClient } from "@cosmjs/stargate"; -export const createRPCQueryClient = async ({ - rpcEndpoint -}: { - rpcEndpoint: string; -}) => { - const tmClient = await Tendermint34Client.connect(rpcEndpoint); - 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) - }, - authz: { - v1beta1: (await import("./authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - bank: { - v1beta1: (await import("./bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - base: { - tendermint: { - v1beta1: (await import("./base/tendermint/v1beta1/query.rpc.svc")).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) - }, - gov: { - v1: (await import("./gov/v1/query.rpc.query")).createRpcQueryExtension(client), - v1beta1: (await import("./gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - group: { - v1: (await import("./group/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - 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) - }, - tx: { - v1beta1: (await import("./tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) - }, - upgrade: { - v1beta1: (await import("./upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.tx.ts b/examples/telescope/codegen/cosmos/rpc.tx.ts deleted file mode 100644 index 3a4dbf9b6..000000000 --- a/examples/telescope/codegen/cosmos/rpc.tx.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Rpc } from "../helpers"; -export const createRPCMsgClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - authz: { - v1beta1: new (await import("./authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - gov: { - v1: new (await import("./gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), - v1beta1: new (await import("./gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - vesting: { - v1beta1: new (await import("./vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - } - } -}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts deleted file mode 100644 index bd1a477cd..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts +++ /dev/null @@ -1,329 +0,0 @@ -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** GenesisState defines the slashing module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params?: Params | undefined; - /** - * 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[]; -} -/** GenesisState defines the slashing module's genesis state. */ - -export interface GenesisStateSDKType { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsSDKType | undefined; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - - signing_infos: SigningInfoSDKType[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - - 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 | undefined; -} -/** SigningInfo stores validator signing info of corresponding address. */ - -export interface SigningInfoSDKType { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - - validator_signing_info?: ValidatorSigningInfoSDKType | undefined; -} -/** - * 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[]; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ - -export interface ValidatorMissedBlocksSDKType { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - - 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; -} -/** MissedBlock contains height and missed status as boolean. */ - -export interface MissedBlockSDKType { - /** index is the height at which the block was missed. */ - index: Long; - /** missed is the missed status. */ - - missed: boolean; -} - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - signingInfos: [], - missedBlocks: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseSigningInfo(): SigningInfo { - return { - address: "", - validatorSigningInfo: undefined - }; -} - -export const SigningInfo = { - encode(message: SigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): SigningInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { - return { - address: "", - missedBlocks: [] - }; -} - -export const ValidatorMissedBlocks = { - encode(message: ValidatorMissedBlocks, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): ValidatorMissedBlocks { - const message = createBaseValidatorMissedBlocks(); - message.address = object.address ?? ""; - message.missedBlocks = object.missedBlocks?.map(e => MissedBlock.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMissedBlock(): MissedBlock { - return { - index: Long.ZERO, - missed: false - }; -} - -export const MissedBlock = { - encode(message: MissedBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).int64(message.index); - } - - if (message.missed === true) { - writer.uint32(16).bool(message.missed); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 2: - message.missed = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MissedBlock { - const message = createBaseMissedBlock(); - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; - message.missed = object.missed ?? false; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts deleted file mode 100644 index 346fd6cc7..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts deleted file mode 100644 index 94cb5ce46..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts deleted file mode 100644 index be9c60846..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts +++ /dev/null @@ -1,360 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the request type for the Query/Params RPC method */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType | undefined; -} -/** - * 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; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoRequestSDKType { - /** cons_address is the address to query signing info of */ - 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 | undefined; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoResponseSDKType { - /** val_signing_info is the signing info of requested val cons address */ - val_signing_info?: ValidatorSigningInfoSDKType | undefined; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosRequest { - pagination?: PageRequest | undefined; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosResponseSDKType { - /** info is the signing info of all validators */ - info: ValidatorSigningInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { - return { - consAddress: "" - }; -} - -export const QuerySigningInfoRequest = { - encode(message: QuerySigningInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consAddress !== "") { - writer.uint32(10).string(message.consAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QuerySigningInfoRequest { - const message = createBaseQuerySigningInfoRequest(); - message.consAddress = object.consAddress ?? ""; - return message; - } - -}; - -function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { - return { - valSigningInfo: undefined - }; -} - -export const QuerySigningInfoResponse = { - encode(message: QuerySigningInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.valSigningInfo !== undefined) { - ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QuerySigningInfoResponse { - const message = createBaseQuerySigningInfoResponse(); - message.valSigningInfo = object.valSigningInfo !== undefined && object.valSigningInfo !== null ? ValidatorSigningInfo.fromPartial(object.valSigningInfo) : undefined; - return message; - } - -}; - -function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { - return { - pagination: undefined - }; -} - -export const QuerySigningInfosRequest = { - encode(message: QuerySigningInfosRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QuerySigningInfosRequest { - const message = createBaseQuerySigningInfosRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { - return { - info: [], - pagination: undefined - }; -} - -export const QuerySigningInfosResponse = { - encode(message: QuerySigningInfosResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts deleted file mode 100644 index 19f85cb6d..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts +++ /dev/null @@ -1,268 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } 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: 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?: Date | undefined; - /** - * 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; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ - -export interface ValidatorSigningInfoSDKType { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - - start_height: 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`. - */ - - index_offset: Long; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - - jailed_until?: Date | undefined; - /** - * 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: Long; -} -/** Params represents the parameters used for by the slashing module. */ - -export interface Params { - signedBlocksWindow: Long; - minSignedPerWindow: Uint8Array; - downtimeJailDuration?: Duration | undefined; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -/** 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 | undefined; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} - -function createBaseValidatorSigningInfo(): ValidatorSigningInfo { - return { - address: "", - startHeight: Long.ZERO, - indexOffset: Long.ZERO, - jailedUntil: undefined, - tombstoned: false, - missedBlocksCounter: Long.ZERO - }; -} - -export const ValidatorSigningInfo = { - encode(message: ValidatorSigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (!message.startHeight.isZero()) { - writer.uint32(16).int64(message.startHeight); - } - - if (!message.indexOffset.isZero()) { - writer.uint32(24).int64(message.indexOffset); - } - - if (message.jailedUntil !== undefined) { - Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim(); - } - - if (message.tombstoned === true) { - writer.uint32(40).bool(message.tombstoned); - } - - if (!message.missedBlocksCounter.isZero()) { - writer.uint32(48).int64(message.missedBlocksCounter); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 3: - message.indexOffset = (reader.int64() as Long); - break; - - case 4: - message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 5: - message.tombstoned = reader.bool(); - break; - - case 6: - message.missedBlocksCounter = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorSigningInfo { - const message = createBaseValidatorSigningInfo(); - message.address = object.address ?? ""; - message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? Long.fromValue(object.startHeight) : Long.ZERO; - message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? Long.fromValue(object.indexOffset) : Long.ZERO; - message.jailedUntil = object.jailedUntil ?? undefined; - message.tombstoned = object.tombstoned ?? false; - message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO; - return message; - } - -}; - -function createBaseParams(): Params { - return { - signedBlocksWindow: Long.ZERO, - minSignedPerWindow: new Uint8Array(), - downtimeJailDuration: undefined, - slashFractionDoubleSign: new Uint8Array(), - slashFractionDowntime: new Uint8Array() - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.signedBlocksWindow.isZero()) { - 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: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - 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; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts deleted file mode 100644 index 2947b6068..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgUnjail } from "./tx"; -export interface AminoMsgUnjail extends AminoMsg { - type: "cosmos-sdk/MsgUnjail"; - value: { - validator_addr: string; - }; -} -export const AminoConverter = { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: "cosmos-sdk/MsgUnjail", - toAmino: ({ - validatorAddr - }: MsgUnjail): AminoMsgUnjail["value"] => { - return { - validator_addr: validatorAddr - }; - }, - fromAmino: ({ - validator_addr - }: AminoMsgUnjail["value"]): MsgUnjail => { - return { - validatorAddr: validator_addr - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts deleted file mode 100644 index 449d8a3ee..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts +++ /dev/null @@ -1,37 +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 - }; - } - - }, - fromPartial: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 622712b3e..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts deleted file mode 100644 index ca80962f5..000000000 --- a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts +++ /dev/null @@ -1,96 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** MsgUnjail defines the Msg/Unjail request type */ - -export interface MsgUnjail { - validatorAddr: string; -} -/** MsgUnjail defines the Msg/Unjail request type */ - -export interface MsgUnjailSDKType { - validator_addr: string; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ - -export interface MsgUnjailResponse {} -/** MsgUnjailResponse defines the Msg/Unjail response type */ - -export interface MsgUnjailResponseSDKType {} - -function createBaseMsgUnjail(): MsgUnjail { - return { - validatorAddr: "" - }; -} - -export const MsgUnjail = { - encode(message: MsgUnjail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): MsgUnjail { - const message = createBaseMsgUnjail(); - message.validatorAddr = object.validatorAddr ?? ""; - return message; - } - -}; - -function createBaseMsgUnjailResponse(): MsgUnjailResponse { - return {}; -} - -export const MsgUnjailResponse = { - encode(_: MsgUnjailResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): MsgUnjailResponse { - const message = createBaseMsgUnjailResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts deleted file mode 100644 index e6a9c9e05..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts +++ /dev/null @@ -1,265 +0,0 @@ -import { Coin, 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 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, -} -/** - * AuthorizationType defines the type of staking module authorization type - * - * Since: cosmos-sdk 0.43 - */ - -export enum AuthorizationTypeSDKType { - /** 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 function authorizationTypeFromJSON(object: any): AuthorizationType { - switch (object) { - case 0: - case "AUTHORIZATION_TYPE_UNSPECIFIED": - return AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED; - - case 1: - case "AUTHORIZATION_TYPE_DELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_DELEGATE; - - case 2: - case "AUTHORIZATION_TYPE_UNDELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE; - - case 3: - case "AUTHORIZATION_TYPE_REDELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE; - - case -1: - case "UNRECOGNIZED": - default: - return AuthorizationType.UNRECOGNIZED; - } -} -export function authorizationTypeToJSON(object: AuthorizationType): string { - switch (object) { - case AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED: - return "AUTHORIZATION_TYPE_UNSPECIFIED"; - - case AuthorizationType.AUTHORIZATION_TYPE_DELEGATE: - return "AUTHORIZATION_TYPE_DELEGATE"; - - case AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE: - return "AUTHORIZATION_TYPE_UNDELEGATE"; - - case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: - return "AUTHORIZATION_TYPE_REDELEGATE"; - - case AuthorizationType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ - -export interface StakeAuthorization { - /** - * 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 | undefined; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - - allowList?: StakeAuthorization_Validators | undefined; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - - denyList?: StakeAuthorization_Validators | undefined; - /** authorization_type defines one of AuthorizationType. */ - - authorizationType: AuthorizationType; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ - -export interface StakeAuthorizationSDKType { - /** - * 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?: CoinSDKType | undefined; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - - allow_list?: StakeAuthorization_ValidatorsSDKType | undefined; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - - deny_list?: StakeAuthorization_ValidatorsSDKType | undefined; - /** authorization_type defines one of AuthorizationType. */ - - authorization_type: AuthorizationTypeSDKType; -} -/** Validators defines list of validator addresses. */ - -export interface StakeAuthorization_Validators { - address: string[]; -} -/** Validators defines list of validator addresses. */ - -export interface StakeAuthorization_ValidatorsSDKType { - address: string[]; -} - -function createBaseStakeAuthorization(): StakeAuthorization { - return { - maxTokens: undefined, - allowList: undefined, - denyList: undefined, - authorizationType: 0 - }; -} - -export const StakeAuthorization = { - encode(message: StakeAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.maxTokens !== undefined) { - Coin.encode(message.maxTokens, writer.uint32(10).fork()).ldelim(); - } - - if (message.allowList !== undefined) { - StakeAuthorization_Validators.encode(message.allowList, writer.uint32(18).fork()).ldelim(); - } - - if (message.denyList !== undefined) { - StakeAuthorization_Validators.encode(message.denyList, writer.uint32(26).fork()).ldelim(); - } - - if (message.authorizationType !== 0) { - writer.uint32(32).int32(message.authorizationType); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStakeAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.maxTokens = Coin.decode(reader, reader.uint32()); - break; - - case 2: - message.allowList = StakeAuthorization_Validators.decode(reader, reader.uint32()); - break; - - case 3: - message.denyList = StakeAuthorization_Validators.decode(reader, reader.uint32()); - break; - - case 4: - message.authorizationType = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StakeAuthorization { - const message = createBaseStakeAuthorization(); - message.maxTokens = object.maxTokens !== undefined && object.maxTokens !== null ? Coin.fromPartial(object.maxTokens) : undefined; - message.allowList = object.allowList !== undefined && object.allowList !== null ? StakeAuthorization_Validators.fromPartial(object.allowList) : undefined; - message.denyList = object.denyList !== undefined && object.denyList !== null ? StakeAuthorization_Validators.fromPartial(object.denyList) : undefined; - message.authorizationType = object.authorizationType ?? 0; - return message; - } - -}; - -function createBaseStakeAuthorization_Validators(): StakeAuthorization_Validators { - return { - address: [] - }; -} - -export const StakeAuthorization_Validators = { - encode(message: StakeAuthorization_Validators, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.address) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStakeAuthorization_Validators(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StakeAuthorization_Validators { - const message = createBaseStakeAuthorization_Validators(); - message.address = object.address?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts deleted file mode 100644 index 6d48e920a..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts +++ /dev/null @@ -1,253 +0,0 @@ -import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** GenesisState defines the staking module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params?: Params | undefined; - /** - * 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; -} -/** GenesisState defines the staking module's genesis state. */ - -export interface GenesisStateSDKType { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsSDKType | undefined; - /** - * 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: LastValidatorPowerSDKType[]; - /** delegations defines the validator set at genesis. */ - - validators: ValidatorSDKType[]; - /** delegations defines the delegations active at genesis. */ - - delegations: DelegationSDKType[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - - unbonding_delegations: UnbondingDelegationSDKType[]; - /** redelegations defines the redelegations active at genesis. */ - - 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; -} -/** LastValidatorPower required for validator set update logic. */ - -export interface LastValidatorPowerSDKType { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - - power: Long; -} - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - lastTotalPower: new Uint8Array(), - lastValidatorPowers: [], - validators: [], - delegations: [], - unbondingDelegations: [], - redelegations: [], - exported: false - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - if (message.lastTotalPower.length !== 0) { - writer.uint32(18).bytes(message.lastTotalPower); - } - - for (const v of message.lastValidatorPowers) { - LastValidatorPower.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.delegations) { - Delegation.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - for (const v of message.unbondingDelegations) { - UnbondingDelegation.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - for (const v of message.redelegations) { - Redelegation.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (message.exported === true) { - writer.uint32(64).bool(message.exported); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.lastTotalPower = reader.bytes(); - break; - - case 3: - message.lastValidatorPowers.push(LastValidatorPower.decode(reader, reader.uint32())); - break; - - case 4: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - - case 5: - message.delegations.push(Delegation.decode(reader, reader.uint32())); - break; - - case 6: - message.unbondingDelegations.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - - case 7: - message.redelegations.push(Redelegation.decode(reader, reader.uint32())); - break; - - case 8: - message.exported = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.lastTotalPower = object.lastTotalPower ?? new Uint8Array(); - message.lastValidatorPowers = object.lastValidatorPowers?.map(e => LastValidatorPower.fromPartial(e)) || []; - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.delegations = object.delegations?.map(e => Delegation.fromPartial(e)) || []; - message.unbondingDelegations = object.unbondingDelegations?.map(e => UnbondingDelegation.fromPartial(e)) || []; - message.redelegations = object.redelegations?.map(e => Redelegation.fromPartial(e)) || []; - message.exported = object.exported ?? false; - return message; - } - -}; - -function createBaseLastValidatorPower(): LastValidatorPower { - return { - address: "", - power: Long.ZERO - }; -} - -export const LastValidatorPower = { - encode(message: LastValidatorPower, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (!message.power.isZero()) { - writer.uint32(16).int64(message.power); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLastValidatorPower(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.power = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): LastValidatorPower { - const message = createBaseLastValidatorPower(); - message.address = object.address ?? ""; - message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts deleted file mode 100644 index 7507dc0ae..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ /dev/null @@ -1,199 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -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 class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.validators = this.validators.bind(this); - this.validator = this.validator.bind(this); - this.validatorDelegations = this.validatorDelegations.bind(this); - this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); - this.delegation = this.delegation.bind(this); - this.unbondingDelegation = this.unbondingDelegation.bind(this); - this.delegatorDelegations = this.delegatorDelegations.bind(this); - this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); - this.redelegations = this.redelegations.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorValidator = this.delegatorValidator.bind(this); - this.historicalInfo = this.historicalInfo.bind(this); - this.pool = this.pool.bind(this); - this.params = this.params.bind(this); - } - /* Validators queries all validators that match the given status. */ - - - async validators(params: QueryValidatorsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.status !== "undefined") { - options.params.status = params.status; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/validators`; - return await this.req.get(endpoint, options); - } - /* Validator queries validator info for given validator address. */ - - - async validator(params: QueryValidatorRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; - return await this.req.get(endpoint); - } - /* ValidatorDelegations queries delegate info for given validator. */ - - - async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; - return await this.req.get(endpoint, options); - } - /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - - - async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; - return await this.req.get(endpoint, options); - } - /* Delegation queries delegate info for given validator delegator pair. */ - - - async delegation(params: QueryDelegationRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; - return await this.req.get(endpoint); - } - /* UnbondingDelegation queries unbonding info for given validator delegator - pair. */ - - - async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; - return await this.req.get(endpoint); - } - /* DelegatorDelegations queries all delegations of a given delegator address. */ - - - async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; - return await this.req.get(endpoint, options); - } - /* DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address. */ - - - async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; - return await this.req.get(endpoint, options); - } - /* Redelegations queries redelegations of given address. */ - - - async redelegations(params: QueryRedelegationsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.srcValidatorAddr !== "undefined") { - options.params.src_validator_addr = params.srcValidatorAddr; - } - - if (typeof params?.dstValidatorAddr !== "undefined") { - options.params.dst_validator_addr = params.dstValidatorAddr; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; - return await this.req.get(endpoint, options); - } - /* DelegatorValidators queries all validators info for given delegator - address. */ - - - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; - return await this.req.get(endpoint, options); - } - /* DelegatorValidator queries validator info for given delegator validator - pair. */ - - - async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; - return await this.req.get(endpoint); - } - /* HistoricalInfo queries the historical info for given height. */ - - - async historicalInfo(params: QueryHistoricalInfoRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; - return await this.req.get(endpoint); - } - /* Pool queries the pool info. */ - - - async pool(_params: QueryPoolRequest = {}): Promise { - const endpoint = `cosmos/staking/v1beta1/pool`; - return await this.req.get(endpoint); - } - /* Parameters queries the staking parameters. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/staking/v1beta1/params`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts deleted file mode 100644 index 550f592fe..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.validators = this.validators.bind(this); - this.validator = this.validator.bind(this); - this.validatorDelegations = this.validatorDelegations.bind(this); - this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); - this.delegation = this.delegation.bind(this); - this.unbondingDelegation = this.unbondingDelegation.bind(this); - this.delegatorDelegations = this.delegatorDelegations.bind(this); - this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); - this.redelegations = this.redelegations.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorValidator = this.delegatorValidator.bind(this); - this.historicalInfo = this.historicalInfo.bind(this); - this.pool = this.pool.bind(this); - this.params = this.params.bind(this); - } - - validators(request: QueryValidatorsRequest): Promise { - const data = QueryValidatorsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); - return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); - } - - validator(request: QueryValidatorRequest): Promise { - const data = QueryValidatorRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); - return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); - } - - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { - const data = QueryValidatorDelegationsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); - return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); - } - - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { - const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); - return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); - } - - delegation(request: QueryDelegationRequest): Promise { - const data = QueryDelegationRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); - return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); - } - - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { - const data = QueryUnbondingDelegationRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); - return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); - } - - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { - const data = QueryDelegatorDelegationsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); - return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); - } - - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { - const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); - return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); - } - - redelegations(request: QueryRedelegationsRequest): Promise { - const data = QueryRedelegationsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); - return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); - } - - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { - const data = QueryDelegatorValidatorsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); - return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); - } - - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { - const data = QueryDelegatorValidatorRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); - return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); - } - - historicalInfo(request: QueryHistoricalInfoRequest): Promise { - const data = QueryHistoricalInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); - return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); - } - - pool(request: QueryPoolRequest = {}): Promise { - const data = QueryPoolRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); - return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - validators(request: QueryValidatorsRequest): Promise { - return queryService.validators(request); - }, - - validator(request: QueryValidatorRequest): Promise { - return queryService.validator(request); - }, - - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { - return queryService.validatorDelegations(request); - }, - - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { - return queryService.validatorUnbondingDelegations(request); - }, - - delegation(request: QueryDelegationRequest): Promise { - return queryService.delegation(request); - }, - - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { - return queryService.unbondingDelegation(request); - }, - - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { - return queryService.delegatorDelegations(request); - }, - - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { - return queryService.delegatorUnbondingDelegations(request); - }, - - redelegations(request: QueryRedelegationsRequest): Promise { - return queryService.redelegations(request); - }, - - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { - return queryService.delegatorValidators(request); - }, - - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { - return queryService.delegatorValidator(request); - }, - - historicalInfo(request: QueryHistoricalInfoRequest): Promise { - return queryService.historicalInfo(request); - }, - - pool(request?: QueryPoolRequest): Promise { - return queryService.pool(request); - }, - - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts deleted file mode 100644 index 7585d5ff7..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts +++ /dev/null @@ -1,1970 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** 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 | undefined; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ - -export interface QueryValidatorsRequestSDKType { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** 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 | undefined; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ - -export interface QueryValidatorsResponseSDKType { - /** validators contains all the queried validators. */ - validators: ValidatorSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ - -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ - -export interface QueryValidatorRequestSDKType { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ - -export interface QueryValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator | undefined; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ - -export interface QueryValidatorResponseSDKType { - /** validator defines the the validator info. */ - validator?: ValidatorSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsRequestSDKType { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ - -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ - -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ - -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** 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; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ - -export interface QueryDelegationRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - - 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 | undefined; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ - -export interface QueryDelegationResponseSDKType { - /** delegation_responses defines the delegation info of a delegation. */ - delegation_response?: DelegationResponseSDKType | undefined; -} -/** - * 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; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ - -export interface QueryUnbondingDelegationRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - - 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 | undefined; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ - -export interface QueryUnbondingDelegationResponseSDKType { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegationSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsResponseSDKType { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegation_responses: DelegationResponseSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsRequestSDKType { - /** 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?: PageRequestSDKType | undefined; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponse { - /** validators defines the the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponseSDKType { - /** validators defines the the validators' info of a delegator. */ - validators: ValidatorSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorRequestSDKType { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator | undefined; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorResponseSDKType { - /** validator defines the the validator info. */ - validator?: ValidatorSDKType | undefined; -} -/** - * 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; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoRequestSDKType { - /** height defines at which height to query the historical info. */ - 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 | undefined; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoResponseSDKType { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfoSDKType | undefined; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ - -export interface QueryPoolRequest {} -/** 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 | undefined; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ - -export interface QueryPoolResponseSDKType { - /** pool defines the pool info. */ - pool?: PoolSDKType | undefined; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** params holds all the parameters of this module. */ - params?: ParamsSDKType | undefined; -} - -function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { - return { - status: "", - pagination: undefined - }; -} - -export const QueryValidatorsRequest = { - encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.status !== "") { - writer.uint32(10).string(message.status); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.status = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorsRequest { - const message = createBaseQueryValidatorsRequest(); - message.status = object.status ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { - return { - validators: [], - pagination: undefined - }; -} - -export const QueryValidatorsResponse = { - encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorsResponse { - const message = createBaseQueryValidatorsResponse(); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorRequest(): QueryValidatorRequest { - return { - validatorAddr: "" - }; -} - -export const QueryValidatorRequest = { - encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryValidatorRequest { - const message = createBaseQueryValidatorRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - return message; - } - -}; - -function createBaseQueryValidatorResponse(): QueryValidatorResponse { - return { - validator: undefined - }; -} - -export const QueryValidatorResponse = { - encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validator = Validator.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorResponse { - const message = createBaseQueryValidatorResponse(); - message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { - return { - validatorAddr: "", - pagination: undefined - }; -} - -export const QueryValidatorDelegationsRequest = { - encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorDelegationsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorDelegationsRequest { - const message = createBaseQueryValidatorDelegationsRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { - return { - delegationResponses: [], - pagination: undefined - }; -} - -export const QueryValidatorDelegationsResponse = { - encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.delegationResponses) { - DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorDelegationsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorDelegationsResponse { - const message = createBaseQueryValidatorDelegationsResponse(); - message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { - return { - validatorAddr: "", - pagination: undefined - }; -} - -export const QueryValidatorUnbondingDelegationsRequest = { - encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorUnbondingDelegationsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorUnbondingDelegationsRequest { - const message = createBaseQueryValidatorUnbondingDelegationsRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { - return { - unbondingResponses: [], - pagination: undefined - }; -} - -export const QueryValidatorUnbondingDelegationsResponse = { - encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.unbondingResponses) { - UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorUnbondingDelegationsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryValidatorUnbondingDelegationsResponse { - const message = createBaseQueryValidatorUnbondingDelegationsResponse(); - message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegationRequest(): QueryDelegationRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} - -export const QueryDelegationRequest = { - encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.validatorAddr = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationRequest { - const message = createBaseQueryDelegationRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - } - -}; - -function createBaseQueryDelegationResponse(): QueryDelegationResponse { - return { - delegationResponse: undefined - }; -} - -export const QueryDelegationResponse = { - encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegationResponse !== undefined) { - DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegationResponse = DelegationResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegationResponse { - const message = createBaseQueryDelegationResponse(); - message.delegationResponse = object.delegationResponse !== undefined && object.delegationResponse !== null ? DelegationResponse.fromPartial(object.delegationResponse) : undefined; - return message; - } - -}; - -function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} - -export const QueryUnbondingDelegationRequest = { - encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnbondingDelegationRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.validatorAddr = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnbondingDelegationRequest { - const message = createBaseQueryUnbondingDelegationRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - } - -}; - -function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { - return { - unbond: undefined - }; -} - -export const QueryUnbondingDelegationResponse = { - encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.unbond !== undefined) { - UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnbondingDelegationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.unbond = UnbondingDelegation.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnbondingDelegationResponse { - const message = createBaseQueryUnbondingDelegationResponse(); - message.unbond = object.unbond !== undefined && object.unbond !== null ? UnbondingDelegation.fromPartial(object.unbond) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { - return { - delegatorAddr: "", - pagination: undefined - }; -} - -export const QueryDelegatorDelegationsRequest = { - encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorDelegationsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorDelegationsRequest { - const message = createBaseQueryDelegatorDelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { - return { - delegationResponses: [], - pagination: undefined - }; -} - -export const QueryDelegatorDelegationsResponse = { - encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.delegationResponses) { - DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorDelegationsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorDelegationsResponse { - const message = createBaseQueryDelegatorDelegationsResponse(); - message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { - return { - delegatorAddr: "", - pagination: undefined - }; -} - -export const QueryDelegatorUnbondingDelegationsRequest = { - encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsRequest { - const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { - return { - unbondingResponses: [], - pagination: undefined - }; -} - -export const QueryDelegatorUnbondingDelegationsResponse = { - encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.unbondingResponses) { - UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsResponse { - const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); - message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { - return { - delegatorAddr: "", - srcValidatorAddr: "", - dstValidatorAddr: "", - pagination: undefined - }; -} - -export const QueryRedelegationsRequest = { - encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.srcValidatorAddr !== "") { - writer.uint32(18).string(message.srcValidatorAddr); - } - - if (message.dstValidatorAddr !== "") { - writer.uint32(26).string(message.dstValidatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRedelegationsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.srcValidatorAddr = reader.string(); - break; - - case 3: - message.dstValidatorAddr = reader.string(); - break; - - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryRedelegationsRequest { - const message = createBaseQueryRedelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.srcValidatorAddr = object.srcValidatorAddr ?? ""; - message.dstValidatorAddr = object.dstValidatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { - return { - redelegationResponses: [], - pagination: undefined - }; -} - -export const QueryRedelegationsResponse = { - encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.redelegationResponses) { - RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRedelegationsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.redelegationResponses.push(RedelegationResponse.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryRedelegationsResponse { - const message = createBaseQueryRedelegationsResponse(); - message.redelegationResponses = object.redelegationResponses?.map(e => RedelegationResponse.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { - return { - delegatorAddr: "", - pagination: undefined - }; -} - -export const QueryDelegatorValidatorsRequest = { - encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorsRequest { - const message = createBaseQueryDelegatorValidatorsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { - return { - validators: [], - pagination: undefined - }; -} - -export const QueryDelegatorValidatorsResponse = { - encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorsResponse { - const message = createBaseQueryDelegatorValidatorsResponse(); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} - -export const QueryDelegatorValidatorRequest = { - encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - - case 2: - message.validatorAddr = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorRequest { - const message = createBaseQueryDelegatorValidatorRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - } - -}; - -function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { - return { - validator: undefined - }; -} - -export const QueryDelegatorValidatorResponse = { - encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validator = Validator.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDelegatorValidatorResponse { - const message = createBaseQueryDelegatorValidatorResponse(); - message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; - return message; - } - -}; - -function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest { - return { - height: Long.ZERO - }; -} - -export const QueryHistoricalInfoRequest = { - encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryHistoricalInfoRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryHistoricalInfoRequest { - const message = createBaseQueryHistoricalInfoRequest(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - return message; - } - -}; - -function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { - return { - hist: undefined - }; -} - -export const QueryHistoricalInfoResponse = { - encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hist !== undefined) { - HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryHistoricalInfoResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hist = HistoricalInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryHistoricalInfoResponse { - const message = createBaseQueryHistoricalInfoResponse(); - message.hist = object.hist !== undefined && object.hist !== null ? HistoricalInfo.fromPartial(object.hist) : undefined; - return message; - } - -}; - -function createBaseQueryPoolRequest(): QueryPoolRequest { - return {}; -} - -export const QueryPoolRequest = { - encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPoolRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryPoolRequest { - const message = createBaseQueryPoolRequest(); - return message; - } - -}; - -function createBaseQueryPoolResponse(): QueryPoolResponse { - return { - pool: undefined - }; -} - -export const QueryPoolResponse = { - encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pool !== undefined) { - Pool.encode(message.pool, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPoolResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pool = Pool.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPoolResponse { - const message = createBaseQueryPoolResponse(); - message.pool = object.pool !== undefined && object.pool !== null ? Pool.fromPartial(object.pool) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts deleted file mode 100644 index 7bce26a77..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts +++ /dev/null @@ -1,1958 +0,0 @@ -import { Header, HeaderSDKType } from "../../../tendermint/types/types"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; -/** BondStatus is the status of a validator. */ - -export 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, -} -/** BondStatus is the status of a validator. */ - -export enum BondStatusSDKType { - /** 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 function bondStatusFromJSON(object: any): BondStatus { - switch (object) { - case 0: - case "BOND_STATUS_UNSPECIFIED": - return BondStatus.BOND_STATUS_UNSPECIFIED; - - case 1: - case "BOND_STATUS_UNBONDED": - return BondStatus.BOND_STATUS_UNBONDED; - - case 2: - case "BOND_STATUS_UNBONDING": - return BondStatus.BOND_STATUS_UNBONDING; - - case 3: - case "BOND_STATUS_BONDED": - return BondStatus.BOND_STATUS_BONDED; - - case -1: - case "UNRECOGNIZED": - default: - return BondStatus.UNRECOGNIZED; - } -} -export function bondStatusToJSON(object: BondStatus): string { - switch (object) { - case BondStatus.BOND_STATUS_UNSPECIFIED: - return "BOND_STATUS_UNSPECIFIED"; - - case BondStatus.BOND_STATUS_UNBONDED: - return "BOND_STATUS_UNBONDED"; - - case BondStatus.BOND_STATUS_UNBONDING: - return "BOND_STATUS_UNBONDING"; - - case BondStatus.BOND_STATUS_BONDED: - return "BOND_STATUS_BONDED"; - - case BondStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * 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 | undefined; - valset: Validator[]; -} -/** - * 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 | undefined; - 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; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ - -export interface CommissionRatesSDKType { - /** 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; -} -/** 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 | undefined; - /** update_time is the last time the commission rate was changed. */ - - updateTime?: Date | undefined; -} -/** Commission defines commission parameters for a given validator. */ - -export interface CommissionSDKType { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates?: CommissionRatesSDKType | undefined; - /** update_time is the last time the commission rate was changed. */ - - update_time?: Date | undefined; -} -/** 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; -} -/** Description defines a validator description. */ - -export interface DescriptionSDKType { - /** 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; -} -/** - * 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 | undefined; - /** 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?: Date | undefined; - /** commission defines the commission parameters. */ - - commission?: Commission | undefined; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - - minSelfDelegation: 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 ValidatorSDKType { - /** 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?: AnySDKType | 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: BondStatusSDKType; - /** 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?: DescriptionSDKType | undefined; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - - unbonding_height: Long; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - - unbonding_time?: Date | undefined; - /** commission defines the commission parameters. */ - - commission?: CommissionSDKType | undefined; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - - min_self_delegation: string; -} -/** ValAddresses defines a repeated set of validator addresses. */ - -export interface ValAddresses { - addresses: string[]; -} -/** 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; -} -/** - * 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[]; -} -/** 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; -} -/** - * 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[]; -} -/** 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; -} -/** - * 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 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; -} -/** - * 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[]; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ - -export interface UnbondingDelegationSDKType { - /** 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: 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?: Date | undefined; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - - initialBalance: string; - /** balance defines the tokens to receive at completion. */ - - balance: string; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ - -export interface UnbondingDelegationEntrySDKType { - /** creation_height is the height which the unbonding took place. */ - creation_height: Long; - /** completion_time is the unix time for unbonding completion. */ - - completion_time?: Date | undefined; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - - initial_balance: string; - /** balance defines the tokens to receive at completion. */ - - 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?: Date | undefined; - /** 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; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ - -export interface RedelegationEntrySDKType { - /** creation_height defines the height which the redelegation took place. */ - creation_height: Long; - /** completion_time defines the unix time for redelegation completion. */ - - completion_time?: Date | undefined; - /** 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; -} -/** - * 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[]; -} -/** - * 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 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: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ - -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime?: Duration | undefined; - /** 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; -} -/** Params defines the parameters for the staking module. */ - -export interface ParamsSDKType { - /** unbonding_time is the time duration of unbonding. */ - unbonding_time?: DurationSDKType | undefined; - /** 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; -} -/** - * 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 | undefined; - balance?: Coin | undefined; -} -/** - * 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 | undefined; - balance?: CoinSDKType | undefined; -} -/** - * 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 | undefined; - balance: string; -} -/** - * 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 | undefined; - 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 | undefined; - entries: RedelegationEntryResponse[]; -} -/** - * 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 | undefined; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ - -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -/** - * 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; -} - -function createBaseHistoricalInfo(): HistoricalInfo { - return { - header: undefined, - valset: [] - }; -} - -export const HistoricalInfo = { - encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.valset) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHistoricalInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.header = Header.decode(reader, reader.uint32()); - break; - - case 2: - message.valset.push(Validator.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): HistoricalInfo { - const message = createBaseHistoricalInfo(); - message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; - message.valset = object.valset?.map(e => Validator.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCommissionRates(): CommissionRates { - return { - rate: "", - maxRate: "", - maxChangeRate: "" - }; -} - -export const CommissionRates = { - encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rate !== "") { - writer.uint32(10).string(message.rate); - } - - if (message.maxRate !== "") { - writer.uint32(18).string(message.maxRate); - } - - if (message.maxChangeRate !== "") { - writer.uint32(26).string(message.maxChangeRate); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommissionRates(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rate = reader.string(); - break; - - case 2: - message.maxRate = reader.string(); - break; - - case 3: - message.maxChangeRate = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommissionRates { - const message = createBaseCommissionRates(); - message.rate = object.rate ?? ""; - message.maxRate = object.maxRate ?? ""; - message.maxChangeRate = object.maxChangeRate ?? ""; - return message; - } - -}; - -function createBaseCommission(): Commission { - return { - commissionRates: undefined, - updateTime: undefined - }; -} - -export const Commission = { - encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.commissionRates !== undefined) { - CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); - } - - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Commission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommission(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.commissionRates = CommissionRates.decode(reader, reader.uint32()); - break; - - case 2: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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; - return message; - } - -}; - -function createBaseDescription(): Description { - return { - moniker: "", - identity: "", - website: "", - securityContact: "", - details: "" - }; -} - -export const Description = { - encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.moniker !== "") { - writer.uint32(10).string(message.moniker); - } - - if (message.identity !== "") { - writer.uint32(18).string(message.identity); - } - - if (message.website !== "") { - writer.uint32(26).string(message.website); - } - - if (message.securityContact !== "") { - writer.uint32(34).string(message.securityContact); - } - - if (message.details !== "") { - writer.uint32(42).string(message.details); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Description { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescription(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.moniker = reader.string(); - break; - - case 2: - message.identity = reader.string(); - break; - - case 3: - message.website = reader.string(); - break; - - case 4: - message.securityContact = reader.string(); - break; - - case 5: - message.details = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Description { - const message = createBaseDescription(); - message.moniker = object.moniker ?? ""; - message.identity = object.identity ?? ""; - message.website = object.website ?? ""; - message.securityContact = object.securityContact ?? ""; - message.details = object.details ?? ""; - return message; - } - -}; - -function createBaseValidator(): Validator { - return { - operatorAddress: "", - consensusPubkey: undefined, - jailed: false, - status: 0, - tokens: "", - delegatorShares: "", - description: undefined, - unbondingHeight: Long.ZERO, - unbondingTime: undefined, - commission: undefined, - minSelfDelegation: "" - }; -} - -export const Validator = { - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operatorAddress !== "") { - writer.uint32(10).string(message.operatorAddress); - } - - if (message.consensusPubkey !== undefined) { - Any.encode(message.consensusPubkey, writer.uint32(18).fork()).ldelim(); - } - - if (message.jailed === true) { - writer.uint32(24).bool(message.jailed); - } - - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - - if (message.tokens !== "") { - writer.uint32(42).string(message.tokens); - } - - if (message.delegatorShares !== "") { - writer.uint32(50).string(message.delegatorShares); - } - - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(58).fork()).ldelim(); - } - - if (!message.unbondingHeight.isZero()) { - writer.uint32(64).int64(message.unbondingHeight); - } - - if (message.unbondingTime !== undefined) { - Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); - } - - if (message.commission !== undefined) { - Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); - } - - if (message.minSelfDelegation !== "") { - writer.uint32(90).string(message.minSelfDelegation); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.operatorAddress = reader.string(); - break; - - case 2: - message.consensusPubkey = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.jailed = reader.bool(); - break; - - case 4: - message.status = (reader.int32() as any); - break; - - case 5: - message.tokens = reader.string(); - break; - - case 6: - message.delegatorShares = reader.string(); - break; - - case 7: - message.description = Description.decode(reader, reader.uint32()); - break; - - case 8: - message.unbondingHeight = (reader.int64() as Long); - break; - - case 9: - message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 10: - message.commission = Commission.decode(reader, reader.uint32()); - break; - - case 11: - message.minSelfDelegation = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Validator { - const message = createBaseValidator(); - message.operatorAddress = object.operatorAddress ?? ""; - message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? Any.fromPartial(object.consensusPubkey) : undefined; - message.jailed = object.jailed ?? false; - message.status = object.status ?? 0; - message.tokens = object.tokens ?? ""; - 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 ? Long.fromValue(object.unbondingHeight) : Long.ZERO; - message.unbondingTime = object.unbondingTime ?? undefined; - message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined; - message.minSelfDelegation = object.minSelfDelegation ?? ""; - return message; - } - -}; - -function createBaseValAddresses(): ValAddresses { - return { - addresses: [] - }; -} - -export const ValAddresses = { - encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.addresses) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValAddresses(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.addresses.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValAddresses { - const message = createBaseValAddresses(); - message.addresses = object.addresses?.map(e => e) || []; - return message; - } - -}; - -function createBaseDVPair(): DVPair { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} - -export const DVPair = { - encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DVPair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVPair(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DVPair { - const message = createBaseDVPair(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - } - -}; - -function createBaseDVPairs(): DVPairs { - return { - pairs: [] - }; -} - -export const DVPairs = { - encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pairs) { - DVPair.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVPairs(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pairs.push(DVPair.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DVPairs { - const message = createBaseDVPairs(); - message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseDVVTriplet(): DVVTriplet { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "" - }; -} - -export const DVVTriplet = { - encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVVTriplet(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorSrcAddress = reader.string(); - break; - - case 3: - message.validatorDstAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DVVTriplet { - const message = createBaseDVVTriplet(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - return message; - } - -}; - -function createBaseDVVTriplets(): DVVTriplets { - return { - triplets: [] - }; -} - -export const DVVTriplets = { - encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.triplets) { - DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVVTriplets(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.triplets.push(DVVTriplet.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DVVTriplets { - const message = createBaseDVVTriplets(); - message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseDelegation(): Delegation { - return { - delegatorAddress: "", - validatorAddress: "", - shares: "" - }; -} - -export const Delegation = { - encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - if (message.shares !== "") { - writer.uint32(26).string(message.shares); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Delegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegation(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.shares = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Delegation { - const message = createBaseDelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.shares = object.shares ?? ""; - return message; - } - -}; - -function createBaseUnbondingDelegation(): UnbondingDelegation { - return { - delegatorAddress: "", - validatorAddress: "", - entries: [] - }; -} - -export const UnbondingDelegation = { - encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - for (const v of message.entries) { - UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnbondingDelegation(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UnbondingDelegation { - const message = createBaseUnbondingDelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { - return { - creationHeight: Long.ZERO, - completionTime: undefined, - initialBalance: "", - balance: "" - }; -} - -export const UnbondingDelegationEntry = { - encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.creationHeight.isZero()) { - writer.uint32(8).int64(message.creationHeight); - } - - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); - } - - if (message.initialBalance !== "") { - writer.uint32(26).string(message.initialBalance); - } - - if (message.balance !== "") { - writer.uint32(34).string(message.balance); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnbondingDelegationEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.creationHeight = (reader.int64() as Long); - break; - - case 2: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 3: - message.initialBalance = reader.string(); - break; - - case 4: - message.balance = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UnbondingDelegationEntry { - const message = createBaseUnbondingDelegationEntry(); - message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO; - message.completionTime = object.completionTime ?? undefined; - message.initialBalance = object.initialBalance ?? ""; - message.balance = object.balance ?? ""; - return message; - } - -}; - -function createBaseRedelegationEntry(): RedelegationEntry { - return { - creationHeight: Long.ZERO, - completionTime: undefined, - initialBalance: "", - sharesDst: "" - }; -} - -export const RedelegationEntry = { - encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.creationHeight.isZero()) { - writer.uint32(8).int64(message.creationHeight); - } - - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); - } - - if (message.initialBalance !== "") { - writer.uint32(26).string(message.initialBalance); - } - - if (message.sharesDst !== "") { - writer.uint32(34).string(message.sharesDst); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.creationHeight = (reader.int64() as Long); - break; - - case 2: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 3: - message.initialBalance = reader.string(); - break; - - case 4: - message.sharesDst = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RedelegationEntry { - const message = createBaseRedelegationEntry(); - message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO; - message.completionTime = object.completionTime ?? undefined; - message.initialBalance = object.initialBalance ?? ""; - message.sharesDst = object.sharesDst ?? ""; - return message; - } - -}; - -function createBaseRedelegation(): Redelegation { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "", - entries: [] - }; -} - -export const Redelegation = { - encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - - for (const v of message.entries) { - RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegation(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorSrcAddress = reader.string(); - break; - - case 3: - message.validatorDstAddress = reader.string(); - break; - - case 4: - message.entries.push(RedelegationEntry.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Redelegation { - const message = createBaseRedelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseParams(): Params { - return { - unbondingTime: undefined, - maxValidators: 0, - maxEntries: 0, - historicalEntries: 0, - bondDenom: "", - minCommissionRate: "" - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.unbondingTime !== undefined) { - Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim(); - } - - if (message.maxValidators !== 0) { - writer.uint32(16).uint32(message.maxValidators); - } - - if (message.maxEntries !== 0) { - writer.uint32(24).uint32(message.maxEntries); - } - - if (message.historicalEntries !== 0) { - writer.uint32(32).uint32(message.historicalEntries); - } - - if (message.bondDenom !== "") { - writer.uint32(42).string(message.bondDenom); - } - - if (message.minCommissionRate !== "") { - writer.uint32(50).string(message.minCommissionRate); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.unbondingTime = Duration.decode(reader, reader.uint32()); - break; - - case 2: - message.maxValidators = reader.uint32(); - break; - - case 3: - message.maxEntries = reader.uint32(); - break; - - case 4: - message.historicalEntries = reader.uint32(); - break; - - case 5: - message.bondDenom = reader.string(); - break; - - case 6: - message.minCommissionRate = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined; - message.maxValidators = object.maxValidators ?? 0; - message.maxEntries = object.maxEntries ?? 0; - message.historicalEntries = object.historicalEntries ?? 0; - message.bondDenom = object.bondDenom ?? ""; - message.minCommissionRate = object.minCommissionRate ?? ""; - return message; - } - -}; - -function createBaseDelegationResponse(): DelegationResponse { - return { - delegation: undefined, - balance: undefined - }; -} - -export const DelegationResponse = { - encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegation !== undefined) { - Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim(); - } - - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegation = Delegation.decode(reader, reader.uint32()); - break; - - case 2: - message.balance = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelegationResponse { - const message = createBaseDelegationResponse(); - message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined; - message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; - return message; - } - -}; - -function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { - return { - redelegationEntry: undefined, - balance: "" - }; -} - -export const RedelegationEntryResponse = { - encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.redelegationEntry !== undefined) { - RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim(); - } - - if (message.balance !== "") { - writer.uint32(34).string(message.balance); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationEntryResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32()); - break; - - case 4: - message.balance = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RedelegationEntryResponse { - const message = createBaseRedelegationEntryResponse(); - message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined; - message.balance = object.balance ?? ""; - return message; - } - -}; - -function createBaseRedelegationResponse(): RedelegationResponse { - return { - redelegation: undefined, - entries: [] - }; -} - -export const RedelegationResponse = { - encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.redelegation !== undefined) { - Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.entries) { - RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.redelegation = Redelegation.decode(reader, reader.uint32()); - break; - - case 2: - message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RedelegationResponse { - const message = createBaseRedelegationResponse(); - message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined; - message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || []; - return message; - } - -}; - -function createBasePool(): Pool { - return { - notBondedTokens: "", - bondedTokens: "" - }; -} - -export const Pool = { - encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.notBondedTokens !== "") { - writer.uint32(10).string(message.notBondedTokens); - } - - if (message.bondedTokens !== "") { - writer.uint32(18).string(message.bondedTokens); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Pool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePool(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.notBondedTokens = reader.string(); - break; - - case 2: - message.bondedTokens = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Pool { - const message = createBasePool(); - message.notBondedTokens = object.notBondedTokens ?? ""; - message.bondedTokens = object.bondedTokens ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts deleted file mode 100644 index b517897c9..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts +++ /dev/null @@ -1,294 +0,0 @@ -import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; -import { fromBase64, toBase64 } from "@cosmjs/encoding"; -import { Long } from "../../../helpers"; -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; -export interface AminoMsgCreateValidator extends AminoMsg { - type: "cosmos-sdk/MsgCreateValidator"; - value: { - description: { - moniker: string; - identity: string; - website: string; - security_contact: string; - details: string; - }; - commission: { - rate: string; - max_rate: string; - max_change_rate: string; - }; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey: { - type_url: string; - value: Uint8Array; - }; - value: { - denom: string; - amount: string; - }; - }; -} -export interface AminoMsgEditValidator extends AminoMsg { - type: "cosmos-sdk/MsgEditValidator"; - value: { - description: { - moniker: string; - identity: string; - website: string; - security_contact: string; - details: string; - }; - validator_address: string; - commission_rate: string; - min_self_delegation: string; - }; -} -export interface AminoMsgDelegate extends AminoMsg { - type: "cosmos-sdk/MsgDelegate"; - value: { - delegator_address: string; - validator_address: string; - amount: { - denom: string; - amount: string; - }; - }; -} -export interface AminoMsgBeginRedelegate extends AminoMsg { - type: "cosmos-sdk/MsgBeginRedelegate"; - value: { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount: { - denom: string; - amount: string; - }; - }; -} -export interface AminoMsgUndelegate extends AminoMsg { - type: "cosmos-sdk/MsgUndelegate"; - value: { - delegator_address: string; - validator_address: string; - amount: { - denom: string; - amount: string; - }; - }; -} -export const AminoConverter = { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: "cosmos-sdk/MsgCreateValidator", - toAmino: ({ - description, - commission, - minSelfDelegation, - delegatorAddress, - validatorAddress, - pubkey, - value - }: MsgCreateValidator): AminoMsgCreateValidator["value"] => { - return { - description: { - moniker: description.moniker, - identity: description.identity, - website: description.website, - security_contact: description.securityContact, - details: description.details - }, - commission: { - rate: commission.rate, - max_rate: commission.maxRate, - max_change_rate: commission.maxChangeRate - }, - min_self_delegation: minSelfDelegation, - delegator_address: delegatorAddress, - validator_address: validatorAddress, - pubkey: { - typeUrl: "/cosmos.crypto.secp256k1.PubKey", - value: fromBase64(decodeBech32Pubkey(pubkey).value) - }, - value: { - denom: value.denom, - amount: Long.fromNumber(value.amount).toString() - } - }; - }, - fromAmino: ({ - description, - commission, - min_self_delegation, - delegator_address, - validator_address, - pubkey, - value - }: AminoMsgCreateValidator["value"]): MsgCreateValidator => { - return { - description: { - moniker: description.moniker, - identity: description.identity, - website: description.website, - securityContact: description.security_contact, - details: description.details - }, - commission: { - rate: commission.rate, - maxRate: commission.max_rate, - maxChangeRate: commission.max_change_rate - }, - minSelfDelegation: min_self_delegation, - delegatorAddress: delegator_address, - validatorAddress: validator_address, - pubkey: encodeBech32Pubkey({ - type: "tendermint/PubKeySecp256k1", - value: toBase64(pubkey.value) - }, "cosmos"), - value: { - denom: value.denom, - amount: value.amount - } - }; - } - }, - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: "cosmos-sdk/MsgEditValidator", - toAmino: ({ - description, - validatorAddress, - commissionRate, - minSelfDelegation - }: MsgEditValidator): AminoMsgEditValidator["value"] => { - return { - description: { - moniker: description.moniker, - identity: description.identity, - website: description.website, - security_contact: description.securityContact, - details: description.details - }, - validator_address: validatorAddress, - commission_rate: commissionRate, - min_self_delegation: minSelfDelegation - }; - }, - fromAmino: ({ - description, - validator_address, - commission_rate, - min_self_delegation - }: AminoMsgEditValidator["value"]): MsgEditValidator => { - return { - description: { - moniker: description.moniker, - identity: description.identity, - website: description.website, - securityContact: description.security_contact, - details: description.details - }, - validatorAddress: validator_address, - commissionRate: commission_rate, - minSelfDelegation: min_self_delegation - }; - } - }, - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: "cosmos-sdk/MsgDelegate", - toAmino: ({ - delegatorAddress, - validatorAddress, - amount - }: MsgDelegate): AminoMsgDelegate["value"] => { - return { - delegator_address: delegatorAddress, - validator_address: validatorAddress, - amount: { - denom: amount.denom, - amount: Long.fromNumber(amount.amount).toString() - } - }; - }, - fromAmino: ({ - delegator_address, - validator_address, - amount - }: AminoMsgDelegate["value"]): MsgDelegate => { - return { - delegatorAddress: delegator_address, - validatorAddress: validator_address, - amount: { - denom: amount.denom, - amount: amount.amount - } - }; - } - }, - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: "cosmos-sdk/MsgBeginRedelegate", - toAmino: ({ - delegatorAddress, - validatorSrcAddress, - validatorDstAddress, - amount - }: MsgBeginRedelegate): AminoMsgBeginRedelegate["value"] => { - return { - delegator_address: delegatorAddress, - validator_src_address: validatorSrcAddress, - validator_dst_address: validatorDstAddress, - amount: { - denom: amount.denom, - amount: Long.fromNumber(amount.amount).toString() - } - }; - }, - fromAmino: ({ - delegator_address, - validator_src_address, - validator_dst_address, - amount - }: AminoMsgBeginRedelegate["value"]): MsgBeginRedelegate => { - return { - delegatorAddress: delegator_address, - validatorSrcAddress: validator_src_address, - validatorDstAddress: validator_dst_address, - amount: { - denom: amount.denom, - amount: amount.amount - } - }; - } - }, - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: "cosmos-sdk/MsgUndelegate", - toAmino: ({ - delegatorAddress, - validatorAddress, - amount - }: MsgUndelegate): AminoMsgUndelegate["value"] => { - return { - delegator_address: delegatorAddress, - validator_address: validatorAddress, - amount: { - denom: amount.denom, - amount: Long.fromNumber(amount.amount).toString() - } - }; - }, - fromAmino: ({ - delegator_address, - validator_address, - amount - }: AminoMsgUndelegate["value"]): MsgUndelegate => { - return { - delegatorAddress: delegator_address, - validatorAddress: validator_address, - amount: { - denom: amount.denom, - amount: amount.amount - } - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts deleted file mode 100644 index 66b2832e1..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } 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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.encode(value).finish() - }; - }, - - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.encode(value).finish() - }; - }, - - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.encode(value).finish() - }; - }, - - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.encode(value).finish() - }; - }, - - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.encode(value).finish() - }; - } - - }, - withTypeUrl: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value - }; - }, - - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value - }; - }, - - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value - }; - }, - - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value - }; - }, - - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value - }; - } - - }, - fromPartial: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.fromPartial(value) - }; - }, - - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.fromPartial(value) - }; - }, - - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.fromPartial(value) - }; - }, - - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.fromPartial(value) - }; - }, - - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b530ca148..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } 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; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.createValidator = this.createValidator.bind(this); - this.editValidator = this.editValidator.bind(this); - this.delegate = this.delegate.bind(this); - this.beginRedelegate = this.beginRedelegate.bind(this); - this.undelegate = this.undelegate.bind(this); - } - - createValidator(request: MsgCreateValidator): Promise { - const data = MsgCreateValidator.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); - return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); - } - - editValidator(request: MsgEditValidator): Promise { - const data = MsgEditValidator.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); - return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); - } - - delegate(request: MsgDelegate): Promise { - const data = MsgDelegate.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); - return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); - } - - beginRedelegate(request: MsgBeginRedelegate): Promise { - const data = MsgBeginRedelegate.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); - return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); - } - - undelegate(request: MsgUndelegate): Promise { - const data = MsgUndelegate.encode(request).finish(); - const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); - return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts deleted file mode 100644 index 06b309369..000000000 --- a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts +++ /dev/null @@ -1,735 +0,0 @@ -import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp } from "../../../helpers"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ - -export interface MsgCreateValidator { - description?: Description | undefined; - commission?: CommissionRates | undefined; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey?: Any | undefined; - value?: Coin | undefined; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ - -export interface MsgCreateValidatorSDKType { - description?: DescriptionSDKType | undefined; - commission?: CommissionRatesSDKType | undefined; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnySDKType | undefined; - value?: CoinSDKType | undefined; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ - -export interface MsgCreateValidatorResponse {} -/** 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 | undefined; - 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; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ - -export interface MsgEditValidatorSDKType { - description?: DescriptionSDKType | undefined; - 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; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ - -export interface MsgEditValidatorResponse {} -/** 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 | undefined; -} -/** - * 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 | undefined; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ - -export interface MsgDelegateResponse {} -/** 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 | undefined; -} -/** - * 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 | undefined; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ - -export interface MsgBeginRedelegateResponse { - completionTime?: Date | undefined; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ - -export interface MsgBeginRedelegateResponseSDKType { - completion_time?: Date | undefined; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ - -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount?: Coin | undefined; -} -/** - * 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 | undefined; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ - -export interface MsgUndelegateResponse { - completionTime?: Date | undefined; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ - -export interface MsgUndelegateResponseSDKType { - completion_time?: Date | undefined; -} - -function createBaseMsgCreateValidator(): MsgCreateValidator { - return { - description: undefined, - commission: undefined, - minSelfDelegation: "", - delegatorAddress: "", - validatorAddress: "", - pubkey: undefined, - value: undefined - }; -} - -export const MsgCreateValidator = { - encode(message: MsgCreateValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(10).fork()).ldelim(); - } - - if (message.commission !== undefined) { - CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim(); - } - - if (message.minSelfDelegation !== "") { - writer.uint32(26).string(message.minSelfDelegation); - } - - if (message.delegatorAddress !== "") { - writer.uint32(34).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(42).string(message.validatorAddress); - } - - if (message.pubkey !== undefined) { - Any.encode(message.pubkey, writer.uint32(50).fork()).ldelim(); - } - - if (message.value !== undefined) { - Coin.encode(message.value, writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateValidator(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.description = Description.decode(reader, reader.uint32()); - break; - - case 2: - message.commission = CommissionRates.decode(reader, reader.uint32()); - break; - - case 3: - message.minSelfDelegation = reader.string(); - break; - - case 4: - message.delegatorAddress = reader.string(); - break; - - case 5: - message.validatorAddress = reader.string(); - break; - - case 6: - message.pubkey = Any.decode(reader, reader.uint32()); - break; - - case 7: - message.value = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateValidator { - const message = createBaseMsgCreateValidator(); - message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; - message.commission = object.commission !== undefined && object.commission !== null ? CommissionRates.fromPartial(object.commission) : undefined; - message.minSelfDelegation = object.minSelfDelegation ?? ""; - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.pubkey = object.pubkey !== undefined && object.pubkey !== null ? Any.fromPartial(object.pubkey) : undefined; - message.value = object.value !== undefined && object.value !== null ? Coin.fromPartial(object.value) : undefined; - return message; - } - -}; - -function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse { - return {}; -} - -export const MsgCreateValidatorResponse = { - encode(_: MsgCreateValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateValidatorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCreateValidatorResponse { - const message = createBaseMsgCreateValidatorResponse(); - return message; - } - -}; - -function createBaseMsgEditValidator(): MsgEditValidator { - return { - description: undefined, - validatorAddress: "", - commissionRate: "", - minSelfDelegation: "" - }; -} - -export const MsgEditValidator = { - encode(message: MsgEditValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(10).fork()).ldelim(); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - if (message.commissionRate !== "") { - writer.uint32(26).string(message.commissionRate); - } - - if (message.minSelfDelegation !== "") { - writer.uint32(34).string(message.minSelfDelegation); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgEditValidator(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.description = Description.decode(reader, reader.uint32()); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.commissionRate = reader.string(); - break; - - case 4: - message.minSelfDelegation = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgEditValidator { - const message = createBaseMsgEditValidator(); - message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; - message.validatorAddress = object.validatorAddress ?? ""; - message.commissionRate = object.commissionRate ?? ""; - message.minSelfDelegation = object.minSelfDelegation ?? ""; - return message; - } - -}; - -function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse { - return {}; -} - -export const MsgEditValidatorResponse = { - encode(_: MsgEditValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgEditValidatorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgEditValidatorResponse { - const message = createBaseMsgEditValidatorResponse(); - return message; - } - -}; - -function createBaseMsgDelegate(): MsgDelegate { - return { - delegatorAddress: "", - validatorAddress: "", - amount: undefined - }; -} - -export const MsgDelegate = { - encode(message: MsgDelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDelegate(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.amount = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgDelegate { - const message = createBaseMsgDelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; - return message; - } - -}; - -function createBaseMsgDelegateResponse(): MsgDelegateResponse { - return {}; -} - -export const MsgDelegateResponse = { - encode(_: MsgDelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDelegateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgDelegateResponse { - const message = createBaseMsgDelegateResponse(); - return message; - } - -}; - -function createBaseMsgBeginRedelegate(): MsgBeginRedelegate { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "", - amount: undefined - }; -} - -export const MsgBeginRedelegate = { - encode(message: MsgBeginRedelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgBeginRedelegate(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorSrcAddress = reader.string(); - break; - - case 3: - message.validatorDstAddress = reader.string(); - break; - - case 4: - message.amount = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgBeginRedelegate { - const message = createBaseMsgBeginRedelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; - return message; - } - -}; - -function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { - return { - completionTime: undefined - }; -} - -export const MsgBeginRedelegateResponse = { - encode(message: MsgBeginRedelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgBeginRedelegateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgBeginRedelegateResponse { - const message = createBaseMsgBeginRedelegateResponse(); - message.completionTime = object.completionTime ?? undefined; - return message; - } - -}; - -function createBaseMsgUndelegate(): MsgUndelegate { - return { - delegatorAddress: "", - validatorAddress: "", - amount: undefined - }; -} - -export const MsgUndelegate = { - encode(message: MsgUndelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUndelegate(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - - case 2: - message.validatorAddress = reader.string(); - break; - - case 3: - message.amount = Coin.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUndelegate { - const message = createBaseMsgUndelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; - return message; - } - -}; - -function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { - return { - completionTime: undefined - }; -} - -export const MsgUndelegateResponse = { - encode(message: MsgUndelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUndelegateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUndelegateResponse { - const message = createBaseMsgUndelegateResponse(); - message.completionTime = object.completionTime ?? undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts deleted file mode 100644 index 997f72a7b..000000000 --- a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ /dev/null @@ -1,529 +0,0 @@ -import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * 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 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, - UNRECOGNIZED = -1, -} -/** - * 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 enum SignModeSDKType { - /** - * 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, - UNRECOGNIZED = -1, -} -export function signModeFromJSON(object: any): SignMode { - switch (object) { - case 0: - case "SIGN_MODE_UNSPECIFIED": - return SignMode.SIGN_MODE_UNSPECIFIED; - - case 1: - case "SIGN_MODE_DIRECT": - return SignMode.SIGN_MODE_DIRECT; - - case 2: - case "SIGN_MODE_TEXTUAL": - return SignMode.SIGN_MODE_TEXTUAL; - - case 3: - case "SIGN_MODE_DIRECT_AUX": - return SignMode.SIGN_MODE_DIRECT_AUX; - - case 127: - case "SIGN_MODE_LEGACY_AMINO_JSON": - return SignMode.SIGN_MODE_LEGACY_AMINO_JSON; - - case -1: - case "UNRECOGNIZED": - default: - return SignMode.UNRECOGNIZED; - } -} -export function signModeToJSON(object: SignMode): string { - switch (object) { - case SignMode.SIGN_MODE_UNSPECIFIED: - return "SIGN_MODE_UNSPECIFIED"; - - case SignMode.SIGN_MODE_DIRECT: - return "SIGN_MODE_DIRECT"; - - case SignMode.SIGN_MODE_TEXTUAL: - return "SIGN_MODE_TEXTUAL"; - - case SignMode.SIGN_MODE_DIRECT_AUX: - return "SIGN_MODE_DIRECT_AUX"; - - case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: - return "SIGN_MODE_LEGACY_AMINO_JSON"; - - case SignMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ - -export interface SignatureDescriptors { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptor[]; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ - -export interface SignatureDescriptorsSDKType { - /** signatures are the signature descriptors */ - 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 | undefined; - data?: SignatureDescriptor_Data | undefined; - /** - * 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; -} -/** - * 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 is the public key of the signer */ - public_key?: AnySDKType | undefined; - data?: SignatureDescriptor_DataSDKType | undefined; - /** - * 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; -} -/** Data represents signature data */ - -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single | undefined; - /** multi represents a multisig signer */ - - multi?: SignatureDescriptor_Data_Multi | undefined; -} -/** Data represents signature data */ - -export interface SignatureDescriptor_DataSDKType { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_SingleSDKType | undefined; - /** multi represents a multisig signer */ - - multi?: SignatureDescriptor_Data_MultiSDKType | undefined; -} -/** 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; -} -/** Single is the signature data for a single signer */ - -export interface SignatureDescriptor_Data_SingleSDKType { - /** mode is the signing mode of the single signer */ - mode: SignModeSDKType; - /** signature is the raw signature bytes */ - - 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 | undefined; - /** signatures is the signatures of the multi-signature */ - - signatures: SignatureDescriptor_Data[]; -} -/** Multi is the signature data for a multisig public key */ - -export interface SignatureDescriptor_Data_MultiSDKType { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArraySDKType | undefined; - /** signatures is the signatures of the multi-signature */ - - signatures: SignatureDescriptor_DataSDKType[]; -} - -function createBaseSignatureDescriptors(): SignatureDescriptors { - return { - signatures: [] - }; -} - -export const SignatureDescriptors = { - encode(message: SignatureDescriptors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signatures) { - SignatureDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptors(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signatures.push(SignatureDescriptor.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureDescriptors { - const message = createBaseSignatureDescriptors(); - message.signatures = object.signatures?.map(e => SignatureDescriptor.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSignatureDescriptor(): SignatureDescriptor { - return { - publicKey: undefined, - data: undefined, - sequence: Long.UZERO - }; -} - -export const SignatureDescriptor = { - encode(message: SignatureDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.data !== undefined) { - SignatureDescriptor_Data.encode(message.data, writer.uint32(18).fork()).ldelim(); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.data = SignatureDescriptor_Data.decode(reader, reader.uint32()); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureDescriptor { - const message = createBaseSignatureDescriptor(); - message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; - message.data = object.data !== undefined && object.data !== null ? SignatureDescriptor_Data.fromPartial(object.data) : undefined; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseSignatureDescriptor_Data(): SignatureDescriptor_Data { - return { - single: undefined, - multi: undefined - }; -} - -export const SignatureDescriptor_Data = { - encode(message: SignatureDescriptor_Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.single !== undefined) { - SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); - } - - if (message.multi !== undefined) { - SignatureDescriptor_Data_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.single = SignatureDescriptor_Data_Single.decode(reader, reader.uint32()); - break; - - case 2: - message.multi = SignatureDescriptor_Data_Multi.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureDescriptor_Data { - const message = createBaseSignatureDescriptor_Data(); - message.single = object.single !== undefined && object.single !== null ? SignatureDescriptor_Data_Single.fromPartial(object.single) : undefined; - message.multi = object.multi !== undefined && object.multi !== null ? SignatureDescriptor_Data_Multi.fromPartial(object.multi) : undefined; - return message; - } - -}; - -function createBaseSignatureDescriptor_Data_Single(): SignatureDescriptor_Data_Single { - return { - mode: 0, - signature: new Uint8Array() - }; -} - -export const SignatureDescriptor_Data_Single = { - encode(message: SignatureDescriptor_Data_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mode !== 0) { - writer.uint32(8).int32(message.mode); - } - - if (message.signature.length !== 0) { - writer.uint32(18).bytes(message.signature); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data_Single(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.mode = (reader.int32() as any); - break; - - case 2: - message.signature = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureDescriptor_Data_Single { - const message = createBaseSignatureDescriptor_Data_Single(); - message.mode = object.mode ?? 0; - message.signature = object.signature ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { - return { - bitarray: undefined, - signatures: [] - }; -} - -export const SignatureDescriptor_Data_Multi = { - encode(message: SignatureDescriptor_Data_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bitarray !== undefined) { - CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.signatures) { - SignatureDescriptor_Data.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data_Multi(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bitarray = CompactBitArray.decode(reader, reader.uint32()); - break; - - case 2: - message.signatures.push(SignatureDescriptor_Data.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureDescriptor_Data_Multi { - const message = createBaseSignatureDescriptor_Data_Multi(); - message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; - message.signatures = object.signatures?.map(e => SignatureDescriptor_Data.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts deleted file mode 100644 index ee31b21e5..000000000 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.getTx = this.getTx.bind(this); - this.getTxsEvent = this.getTxsEvent.bind(this); - this.getBlockWithTxs = this.getBlockWithTxs.bind(this); - } - /* GetTx fetches a tx by hash. */ - - - async getTx(params: GetTxRequest): Promise { - const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`; - return await this.req.get(endpoint); - } - /* GetTxsEvent fetches txs by event. */ - - - async getTxsEvent(params: GetTxsEventRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.events !== "undefined") { - options.params.events = params.events; - } - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - if (typeof params?.orderBy !== "undefined") { - options.params.order_by = params.orderBy; - } - - const endpoint = `cosmos/tx/v1beta1/txs`; - return await this.req.get(endpoint, options); - } - /* GetBlockWithTxs fetches a block with decoded txs. - - Since: cosmos-sdk 0.45.2 */ - - - async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts deleted file mode 100644 index 4c7049ca6..000000000 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Service { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.simulate = this.simulate.bind(this); - this.getTx = this.getTx.bind(this); - this.broadcastTx = this.broadcastTx.bind(this); - this.getTxsEvent = this.getTxsEvent.bind(this); - this.getBlockWithTxs = this.getBlockWithTxs.bind(this); - } - - simulate(request: SimulateRequest): Promise { - const data = SimulateRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); - return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); - } - - getTx(request: GetTxRequest): Promise { - const data = GetTxRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); - return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); - } - - broadcastTx(request: BroadcastTxRequest): Promise { - const data = BroadcastTxRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); - return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); - } - - getTxsEvent(request: GetTxsEventRequest): Promise { - const data = GetTxsEventRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); - return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); - } - - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { - const data = GetBlockWithTxsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); - return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - simulate(request: SimulateRequest): Promise { - return queryService.simulate(request); - }, - - getTx(request: GetTxRequest): Promise { - return queryService.getTx(request); - }, - - broadcastTx(request: BroadcastTxRequest): Promise { - return queryService.broadcastTx(request); - }, - - getTxsEvent(request: GetTxsEventRequest): Promise { - return queryService.getTxsEvent(request); - }, - - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { - return queryService.getBlockWithTxs(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts deleted file mode 100644 index 803ff3623..000000000 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts +++ /dev/null @@ -1,986 +0,0 @@ -import { Tx, TxSDKType } from "./tx"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../tendermint/types/block"; -import * as _m0 from "protobufjs/minimal"; -import { Long } 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. */ - 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, -} -/** OrderBy defines the sorting order */ - -export enum OrderBySDKType { - /** 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 function orderByFromJSON(object: any): OrderBy { - switch (object) { - case 0: - case "ORDER_BY_UNSPECIFIED": - return OrderBy.ORDER_BY_UNSPECIFIED; - - case 1: - case "ORDER_BY_ASC": - return OrderBy.ORDER_BY_ASC; - - case 2: - case "ORDER_BY_DESC": - return OrderBy.ORDER_BY_DESC; - - case -1: - case "UNRECOGNIZED": - default: - return OrderBy.UNRECOGNIZED; - } -} -export function orderByToJSON(object: OrderBy): string { - switch (object) { - case OrderBy.ORDER_BY_UNSPECIFIED: - return "ORDER_BY_UNSPECIFIED"; - - case OrderBy.ORDER_BY_ASC: - return "ORDER_BY_ASC"; - - case OrderBy.ORDER_BY_DESC: - return "ORDER_BY_DESC"; - - case OrderBy.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ - -export 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, -} -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ - -export enum BroadcastModeSDKType { - /** 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 function broadcastModeFromJSON(object: any): BroadcastMode { - switch (object) { - case 0: - case "BROADCAST_MODE_UNSPECIFIED": - return BroadcastMode.BROADCAST_MODE_UNSPECIFIED; - - case 1: - case "BROADCAST_MODE_BLOCK": - return BroadcastMode.BROADCAST_MODE_BLOCK; - - case 2: - case "BROADCAST_MODE_SYNC": - return BroadcastMode.BROADCAST_MODE_SYNC; - - case 3: - case "BROADCAST_MODE_ASYNC": - return BroadcastMode.BROADCAST_MODE_ASYNC; - - case -1: - case "UNRECOGNIZED": - default: - return BroadcastMode.UNRECOGNIZED; - } -} -export function broadcastModeToJSON(object: BroadcastMode): string { - switch (object) { - case BroadcastMode.BROADCAST_MODE_UNSPECIFIED: - return "BROADCAST_MODE_UNSPECIFIED"; - - case BroadcastMode.BROADCAST_MODE_BLOCK: - return "BROADCAST_MODE_BLOCK"; - - case BroadcastMode.BROADCAST_MODE_SYNC: - return "BROADCAST_MODE_SYNC"; - - case BroadcastMode.BROADCAST_MODE_ASYNC: - return "BROADCAST_MODE_ASYNC"; - - case BroadcastMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * 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. */ - - pagination?: PageRequest | undefined; - orderBy: OrderBy; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ - -export interface GetTxsEventRequestSDKType { - /** events is the list of transaction event type. */ - events: string[]; - /** pagination defines a pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; - order_by: OrderBySDKType; -} -/** - * 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. */ - - pagination?: PageResponse | undefined; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ - -export interface GetTxsEventResponseSDKType { - /** txs is the list of queried transactions. */ - txs: TxSDKType[]; - /** tx_responses is the list of queried TxResponses. */ - - tx_responses: TxResponseSDKType[]; - /** pagination defines a pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ - -export interface BroadcastTxRequest { - /** tx_bytes is the raw transaction. */ - txBytes: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ - -export interface BroadcastTxRequestSDKType { - /** tx_bytes is the raw transaction. */ - tx_bytes: Uint8Array; - mode: BroadcastModeSDKType; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ - -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse | undefined; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ - -export interface BroadcastTxResponseSDKType { - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseSDKType | undefined; -} -/** - * 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 | undefined; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - - txBytes: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ - -export interface SimulateRequestSDKType { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - - /** @deprecated */ - tx?: TxSDKType | undefined; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - - 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 | undefined; - /** result is the result of the simulation. */ - - result?: Result | undefined; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ - -export interface SimulateResponseSDKType { - /** gas_info is the information about gas used in the simulation. */ - gas_info?: GasInfoSDKType | undefined; - /** result is the result of the simulation. */ - - result?: ResultSDKType | undefined; -} -/** - * 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; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ - -export interface GetTxRequestSDKType { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ - -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx?: Tx | undefined; - /** tx_response is the queried TxResponses. */ - - txResponse?: TxResponse | undefined; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ - -export interface GetTxResponseSDKType { - /** tx is the queried transaction. */ - tx?: TxSDKType | undefined; - /** tx_response is the queried TxResponses. */ - - tx_response?: TxResponseSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsRequestSDKType { - /** height is the height of the block to query. */ - height: Long; - /** pagination defines a pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; - block?: Block | undefined; - /** pagination defines a pagination for the response. */ - - pagination?: PageResponse | undefined; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsResponseSDKType { - /** txs are the transactions in the block. */ - txs: TxSDKType[]; - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; - /** pagination defines a pagination for the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseGetTxsEventRequest(): GetTxsEventRequest { - return { - events: [], - pagination: undefined, - orderBy: 0 - }; -} - -export const GetTxsEventRequest = { - encode(message: GetTxsEventRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.events) { - writer.uint32(10).string(v!); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.orderBy !== 0) { - writer.uint32(24).int32(message.orderBy); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxsEventRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.events.push(reader.string()); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - case 3: - message.orderBy = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetTxsEventRequest { - const message = createBaseGetTxsEventRequest(); - message.events = object.events?.map(e => e) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - message.orderBy = object.orderBy ?? 0; - return message; - } - -}; - -function createBaseGetTxsEventResponse(): GetTxsEventResponse { - return { - txs: [], - txResponses: [], - pagination: undefined - }; -} - -export const GetTxsEventResponse = { - encode(message: GetTxsEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.txs) { - Tx.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.txResponses) { - TxResponse.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxsEventResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txs.push(Tx.decode(reader, reader.uint32())); - break; - - case 2: - message.txResponses.push(TxResponse.decode(reader, reader.uint32())); - break; - - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetTxsEventResponse { - const message = createBaseGetTxsEventResponse(); - message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; - message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseBroadcastTxRequest(): BroadcastTxRequest { - return { - txBytes: new Uint8Array(), - mode: 0 - }; -} - -export const BroadcastTxRequest = { - encode(message: BroadcastTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.txBytes.length !== 0) { - writer.uint32(10).bytes(message.txBytes); - } - - if (message.mode !== 0) { - writer.uint32(16).int32(message.mode); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBroadcastTxRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txBytes = reader.bytes(); - break; - - case 2: - message.mode = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BroadcastTxRequest { - const message = createBaseBroadcastTxRequest(); - message.txBytes = object.txBytes ?? new Uint8Array(); - message.mode = object.mode ?? 0; - return message; - } - -}; - -function createBaseBroadcastTxResponse(): BroadcastTxResponse { - return { - txResponse: undefined - }; -} - -export const BroadcastTxResponse = { - encode(message: BroadcastTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.txResponse !== undefined) { - TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBroadcastTxResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txResponse = TxResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BroadcastTxResponse { - const message = createBaseBroadcastTxResponse(); - message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; - return message; - } - -}; - -function createBaseSimulateRequest(): SimulateRequest { - return { - tx: undefined, - txBytes: new Uint8Array() - }; -} - -export const SimulateRequest = { - encode(message: SimulateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - - if (message.txBytes.length !== 0) { - writer.uint32(18).bytes(message.txBytes); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tx = Tx.decode(reader, reader.uint32()); - break; - - case 2: - message.txBytes = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SimulateRequest { - const message = createBaseSimulateRequest(); - message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; - message.txBytes = object.txBytes ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSimulateResponse(): SimulateResponse { - return { - gasInfo: undefined, - result: undefined - }; -} - -export const SimulateResponse = { - encode(message: SimulateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.gasInfo !== undefined) { - GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); - } - - if (message.result !== undefined) { - Result.encode(message.result, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.gasInfo = GasInfo.decode(reader, reader.uint32()); - break; - - case 2: - message.result = Result.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SimulateResponse { - const message = createBaseSimulateResponse(); - message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; - message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; - return message; - } - -}; - -function createBaseGetTxRequest(): GetTxRequest { - return { - hash: "" - }; -} - -export const GetTxRequest = { - encode(message: GetTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== "") { - writer.uint32(10).string(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetTxRequest { - const message = createBaseGetTxRequest(); - message.hash = object.hash ?? ""; - return message; - } - -}; - -function createBaseGetTxResponse(): GetTxResponse { - return { - tx: undefined, - txResponse: undefined - }; -} - -export const GetTxResponse = { - encode(message: GetTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - - if (message.txResponse !== undefined) { - TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tx = Tx.decode(reader, reader.uint32()); - break; - - case 2: - message.txResponse = TxResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetTxResponse { - const message = createBaseGetTxResponse(); - message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; - message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; - return message; - } - -}; - -function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { - return { - height: Long.ZERO, - pagination: undefined - }; -} - -export const GetBlockWithTxsRequest = { - encode(message: GetBlockWithTxsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockWithTxsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetBlockWithTxsRequest { - const message = createBaseGetBlockWithTxsRequest(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { - return { - txs: [], - blockId: undefined, - block: undefined, - pagination: undefined - }; -} - -export const GetBlockWithTxsResponse = { - encode(message: GetBlockWithTxsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.txs) { - Tx.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim(); - } - - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(26).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockWithTxsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txs.push(Tx.decode(reader, reader.uint32())); - break; - - case 2: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - - case 3: - message.block = Block.decode(reader, reader.uint32()); - break; - - case 4: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GetBlockWithTxsResponse { - const message = createBaseGetBlockWithTxsResponse(); - message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.block = object.block !== undefined && object.block !== null ? Block.fromPartial(object.block) : undefined; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts deleted file mode 100644 index a2484a3e8..000000000 --- a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts +++ /dev/null @@ -1,1497 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; -import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** Tx is the standard type used for broadcasting transactions. */ - -export interface Tx { - /** body is the processable content of the transaction */ - body?: TxBody | undefined; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - - authInfo?: AuthInfo | undefined; - /** - * 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[]; -} -/** Tx is the standard type used for broadcasting transactions. */ - -export interface TxSDKType { - /** body is the processable content of the transaction */ - body?: TxBodySDKType | undefined; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - - auth_info?: AuthInfoSDKType | undefined; - /** - * 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[]; -} -/** - * 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[]; -} -/** - * 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 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[]; -} -/** 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; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ - -export interface SignDocSDKType { - /** - * 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: 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 | undefined; - /** - * 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 meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - - tip?: Tip | undefined; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ - -export interface SignDocDirectAuxSDKType { - /** - * 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?: AnySDKType | undefined; - /** - * 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: Long; - /** sequence is the sequence number of the signing account. */ - - sequence: Long; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - - tip?: TipSDKType | undefined; -} -/** 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[]; -} -/** TxBody is the body of a transaction that all signers sign over. */ - -export interface TxBodySDKType { - /** - * 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: AnySDKType[]; - /** - * 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: 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 - */ - - extension_options: AnySDKType[]; - /** - * 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: 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 | undefined; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - - tip?: Tip | undefined; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ - -export interface AuthInfoSDKType { - /** - * 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: SignerInfoSDKType[]; - /** - * 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?: FeeSDKType | undefined; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - - tip?: TipSDKType | undefined; -} -/** - * 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 | undefined; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - - modeInfo?: ModeInfo | undefined; - /** - * 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; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ - -export interface SignerInfoSDKType { - /** - * 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?: AnySDKType | undefined; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - - mode_info?: ModeInfoSDKType | undefined; - /** - * 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; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ - -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single | undefined; - /** multi represents a nested multisig signer */ - - multi?: ModeInfo_Multi | undefined; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ - -export interface ModeInfoSDKType { - /** single represents a single signer */ - single?: ModeInfo_SingleSDKType | undefined; - /** multi represents a nested multisig signer */ - - multi?: ModeInfo_MultiSDKType | undefined; -} -/** - * 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; -} -/** - * 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 is the signing mode of the single signer */ - mode: SignModeSDKType; -} -/** 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 | undefined; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - - modeInfos: ModeInfo[]; -} -/** Multi is the mode info for a multisig public key */ - -export interface ModeInfo_MultiSDKType { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArraySDKType | undefined; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - - 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; -} -/** - * 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 is the amount of coins to be paid as a fee */ - amount: CoinSDKType[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - - gas_limit: 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; -} -/** - * 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; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - -export interface TipSDKType { - /** amount is the amount of the tip */ - amount: CoinSDKType[]; - /** tipper is the address of the account paying for the tip */ - - 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_MOD_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 | undefined; - /** mode is the signing mode of the single signer */ - - mode: SignMode; - /** sig is the signature of the sign doc. */ - - sig: 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 AuxSignerDataSDKType { - /** - * 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_MOD_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?: SignDocDirectAuxSDKType | undefined; - /** mode is the signing mode of the single signer */ - - mode: SignModeSDKType; - /** sig is the signature of the sign doc. */ - - sig: Uint8Array; -} - -function createBaseTx(): Tx { - return { - body: undefined, - authInfo: undefined, - signatures: [] - }; -} - -export const Tx = { - encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.body !== undefined) { - TxBody.encode(message.body, writer.uint32(10).fork()).ldelim(); - } - - if (message.authInfo !== undefined) { - AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.signatures) { - writer.uint32(26).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Tx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTx(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.body = TxBody.decode(reader, reader.uint32()); - break; - - case 2: - message.authInfo = AuthInfo.decode(reader, reader.uint32()); - break; - - case 3: - message.signatures.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Tx { - const message = createBaseTx(); - message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined; - message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined; - message.signatures = object.signatures?.map(e => e) || []; - return message; - } - -}; - -function createBaseTxRaw(): TxRaw { - return { - bodyBytes: new Uint8Array(), - authInfoBytes: new Uint8Array(), - signatures: [] - }; -} - -export const TxRaw = { - encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - - if (message.authInfoBytes.length !== 0) { - writer.uint32(18).bytes(message.authInfoBytes); - } - - for (const v of message.signatures) { - writer.uint32(26).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxRaw(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - - case 2: - message.authInfoBytes = reader.bytes(); - break; - - case 3: - message.signatures.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxRaw { - const message = createBaseTxRaw(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); - message.signatures = object.signatures?.map(e => e) || []; - return message; - } - -}; - -function createBaseSignDoc(): SignDoc { - return { - bodyBytes: new Uint8Array(), - authInfoBytes: new Uint8Array(), - chainId: "", - accountNumber: Long.UZERO - }; -} - -export const SignDoc = { - encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - - if (message.authInfoBytes.length !== 0) { - writer.uint32(18).bytes(message.authInfoBytes); - } - - if (message.chainId !== "") { - writer.uint32(26).string(message.chainId); - } - - if (!message.accountNumber.isZero()) { - writer.uint32(32).uint64(message.accountNumber); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignDoc(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - - case 2: - message.authInfoBytes = reader.bytes(); - break; - - case 3: - message.chainId = reader.string(); - break; - - case 4: - message.accountNumber = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignDoc { - const message = createBaseSignDoc(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); - message.chainId = object.chainId ?? ""; - message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; - return message; - } - -}; - -function createBaseSignDocDirectAux(): SignDocDirectAux { - return { - bodyBytes: new Uint8Array(), - publicKey: undefined, - chainId: "", - accountNumber: Long.UZERO, - sequence: Long.UZERO, - tip: undefined - }; -} - -export const SignDocDirectAux = { - encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim(); - } - - if (message.chainId !== "") { - writer.uint32(26).string(message.chainId); - } - - if (!message.accountNumber.isZero()) { - writer.uint32(32).uint64(message.accountNumber); - } - - if (!message.sequence.isZero()) { - writer.uint32(40).uint64(message.sequence); - } - - if (message.tip !== undefined) { - Tip.encode(message.tip, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignDocDirectAux(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - - case 2: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.chainId = reader.string(); - break; - - case 4: - message.accountNumber = (reader.uint64() as Long); - break; - - case 5: - message.sequence = (reader.uint64() as Long); - break; - - case 6: - message.tip = Tip.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignDocDirectAux { - const message = createBaseSignDocDirectAux(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; - message.chainId = object.chainId ?? ""; - message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; - return message; - } - -}; - -function createBaseTxBody(): TxBody { - return { - messages: [], - memo: "", - timeoutHeight: Long.UZERO, - extensionOptions: [], - nonCriticalExtensionOptions: [] - }; -} - -export const TxBody = { - encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.messages) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.memo !== "") { - writer.uint32(18).string(message.memo); - } - - if (!message.timeoutHeight.isZero()) { - writer.uint32(24).uint64(message.timeoutHeight); - } - - for (const v of message.extensionOptions) { - Any.encode(v!, writer.uint32(8186).fork()).ldelim(); - } - - for (const v of message.nonCriticalExtensionOptions) { - Any.encode(v!, writer.uint32(16378).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxBody { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxBody(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - - case 2: - message.memo = reader.string(); - break; - - case 3: - message.timeoutHeight = (reader.uint64() as Long); - break; - - case 1023: - message.extensionOptions.push(Any.decode(reader, reader.uint32())); - break; - - case 2047: - message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxBody { - const message = createBaseTxBody(); - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.memo = object.memo ?? ""; - message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; - message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || []; - message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseAuthInfo(): AuthInfo { - return { - signerInfos: [], - fee: undefined, - tip: undefined - }; -} - -export const AuthInfo = { - encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signerInfos) { - SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.fee !== undefined) { - Fee.encode(message.fee, writer.uint32(18).fork()).ldelim(); - } - - if (message.tip !== undefined) { - Tip.encode(message.tip, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signerInfos.push(SignerInfo.decode(reader, reader.uint32())); - break; - - case 2: - message.fee = Fee.decode(reader, reader.uint32()); - break; - - case 3: - message.tip = Tip.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AuthInfo { - const message = createBaseAuthInfo(); - message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || []; - message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined; - message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; - return message; - } - -}; - -function createBaseSignerInfo(): SignerInfo { - return { - publicKey: undefined, - modeInfo: undefined, - sequence: Long.UZERO - }; -} - -export const SignerInfo = { - encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.modeInfo !== undefined) { - ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim(); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignerInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.modeInfo = ModeInfo.decode(reader, reader.uint32()); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignerInfo { - const message = createBaseSignerInfo(); - message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; - message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseModeInfo(): ModeInfo { - return { - single: undefined, - multi: undefined - }; -} - -export const ModeInfo = { - encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.single !== undefined) { - ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); - } - - if (message.multi !== undefined) { - ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.single = ModeInfo_Single.decode(reader, reader.uint32()); - break; - - case 2: - message.multi = ModeInfo_Multi.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModeInfo { - const message = createBaseModeInfo(); - message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined; - message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined; - return message; - } - -}; - -function createBaseModeInfo_Single(): ModeInfo_Single { - return { - mode: 0 - }; -} - -export const ModeInfo_Single = { - encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mode !== 0) { - writer.uint32(8).int32(message.mode); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo_Single(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.mode = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModeInfo_Single { - const message = createBaseModeInfo_Single(); - message.mode = object.mode ?? 0; - return message; - } - -}; - -function createBaseModeInfo_Multi(): ModeInfo_Multi { - return { - bitarray: undefined, - modeInfos: [] - }; -} - -export const ModeInfo_Multi = { - encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bitarray !== undefined) { - CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.modeInfos) { - ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo_Multi(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bitarray = CompactBitArray.decode(reader, reader.uint32()); - break; - - case 2: - message.modeInfos.push(ModeInfo.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModeInfo_Multi { - const message = createBaseModeInfo_Multi(); - message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; - message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseFee(): Fee { - return { - amount: [], - gasLimit: Long.UZERO, - payer: "", - granter: "" - }; -} - -export const Fee = { - encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (!message.gasLimit.isZero()) { - writer.uint32(16).uint64(message.gasLimit); - } - - if (message.payer !== "") { - writer.uint32(26).string(message.payer); - } - - if (message.granter !== "") { - writer.uint32(34).string(message.granter); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Fee { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFee(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.gasLimit = (reader.uint64() as Long); - break; - - case 3: - message.payer = reader.string(); - break; - - case 4: - message.granter = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Fee { - const message = createBaseFee(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO; - message.payer = object.payer ?? ""; - message.granter = object.granter ?? ""; - return message; - } - -}; - -function createBaseTip(): Tip { - return { - amount: [], - tipper: "" - }; -} - -export const Tip = { - encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.tipper !== "") { - writer.uint32(18).string(message.tipper); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Tip { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTip(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - case 2: - message.tipper = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Tip { - const message = createBaseTip(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.tipper = object.tipper ?? ""; - return message; - } - -}; - -function createBaseAuxSignerData(): AuxSignerData { - return { - address: "", - signDoc: undefined, - mode: 0, - sig: new Uint8Array() - }; -} - -export const AuxSignerData = { - encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.signDoc !== undefined) { - SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim(); - } - - if (message.mode !== 0) { - writer.uint32(24).int32(message.mode); - } - - if (message.sig.length !== 0) { - writer.uint32(34).bytes(message.sig); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuxSignerData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.signDoc = SignDocDirectAux.decode(reader, reader.uint32()); - break; - - case 3: - message.mode = (reader.int32() as any); - break; - - case 4: - message.sig = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AuxSignerData { - const message = createBaseAuxSignerData(); - message.address = object.address ?? ""; - message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined; - message.mode = object.mode ?? 0; - message.sig = object.sig ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts deleted file mode 100644 index 36a7cf66c..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.currentPlan = this.currentPlan.bind(this); - this.appliedPlan = this.appliedPlan.bind(this); - this.upgradedConsensusState = this.upgradedConsensusState.bind(this); - this.moduleVersions = this.moduleVersions.bind(this); - this.authority = this.authority.bind(this); - } - /* CurrentPlan queries the current upgrade plan. */ - - - async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { - const endpoint = `cosmos/upgrade/v1beta1/current_plan`; - return await this.req.get(endpoint); - } - /* AppliedPlan queries a previously applied upgrade plan by its name. */ - - - async appliedPlan(params: QueryAppliedPlanRequest): Promise { - const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; - return await this.req.get(endpoint); - } - /* 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) */ - - - async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { - const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; - return await this.req.get(endpoint); - } - /* ModuleVersions queries the list of module versions from state. - - Since: cosmos-sdk 0.43 */ - - - async moduleVersions(params: QueryModuleVersionsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.moduleName !== "undefined") { - options.params.module_name = params.moduleName; - } - - const endpoint = `cosmos/upgrade/v1beta1/module_versions`; - return await this.req.get(endpoint, options); - } - /* Returns the account with authority to conduct upgrades */ - - - async authority(_params: QueryAuthorityRequest = {}): Promise { - const endpoint = `cosmos/upgrade/v1beta1/authority`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts deleted file mode 100644 index d2cea4ed8..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } 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 */ - - authority(request?: QueryAuthorityRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.currentPlan = this.currentPlan.bind(this); - this.appliedPlan = this.appliedPlan.bind(this); - this.upgradedConsensusState = this.upgradedConsensusState.bind(this); - this.moduleVersions = this.moduleVersions.bind(this); - this.authority = this.authority.bind(this); - } - - currentPlan(request: QueryCurrentPlanRequest = {}): Promise { - const data = QueryCurrentPlanRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); - return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); - } - - appliedPlan(request: QueryAppliedPlanRequest): Promise { - const data = QueryAppliedPlanRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); - return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); - } - - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { - const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); - return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); - } - - moduleVersions(request: QueryModuleVersionsRequest): Promise { - const data = QueryModuleVersionsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); - return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); - } - - authority(request: QueryAuthorityRequest = {}): Promise { - const data = QueryAuthorityRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); - return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - currentPlan(request?: QueryCurrentPlanRequest): Promise { - return queryService.currentPlan(request); - }, - - appliedPlan(request: QueryAppliedPlanRequest): Promise { - return queryService.appliedPlan(request); - }, - - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { - return queryService.upgradedConsensusState(request); - }, - - moduleVersions(request: QueryModuleVersionsRequest): Promise { - return queryService.moduleVersions(request); - }, - - authority(request?: QueryAuthorityRequest): Promise { - return queryService.authority(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts deleted file mode 100644 index ac180c2e8..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts +++ /dev/null @@ -1,631 +0,0 @@ -import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ - -export interface QueryCurrentPlanRequest {} -/** - * 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 | undefined; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ - -export interface QueryCurrentPlanResponseSDKType { - /** plan is the current upgrade plan. */ - plan?: PlanSDKType | undefined; -} -/** - * 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; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanRequestSDKType { - /** name is the name of the applied plan to query for. */ - 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; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanResponseSDKType { - /** height is the block height at which the plan was applied. */ - 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; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateRequestSDKType { - /** - * 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: Long; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateResponseSDKType { - /** Since: cosmos-sdk 0.43 */ - 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; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsRequestSDKType { - /** - * 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; -} -/** - * 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[]; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsResponseSDKType { - /** module_versions is a list of module names with their consensus versions. */ - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ - -export interface QueryAuthorityRequest {} -/** - * 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; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ - -export interface QueryAuthorityResponseSDKType { - address: string; -} - -function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { - return {}; -} - -export const QueryCurrentPlanRequest = { - encode(_: QueryCurrentPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCurrentPlanRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryCurrentPlanRequest { - const message = createBaseQueryCurrentPlanRequest(); - return message; - } - -}; - -function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { - return { - plan: undefined - }; -} - -export const QueryCurrentPlanResponse = { - encode(message: QueryCurrentPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCurrentPlanResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.plan = Plan.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryCurrentPlanResponse { - const message = createBaseQueryCurrentPlanResponse(); - message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; - return message; - } - -}; - -function createBaseQueryAppliedPlanRequest(): QueryAppliedPlanRequest { - return { - name: "" - }; -} - -export const QueryAppliedPlanRequest = { - encode(message: QueryAppliedPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppliedPlanRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryAppliedPlanRequest { - const message = createBaseQueryAppliedPlanRequest(); - message.name = object.name ?? ""; - return message; - } - -}; - -function createBaseQueryAppliedPlanResponse(): QueryAppliedPlanResponse { - return { - height: Long.ZERO - }; -} - -export const QueryAppliedPlanResponse = { - encode(message: QueryAppliedPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppliedPlanResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAppliedPlanResponse { - const message = createBaseQueryAppliedPlanResponse(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - return message; - } - -}; - -function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { - return { - lastHeight: Long.ZERO - }; -} - -export const QueryUpgradedConsensusStateRequest = { - encode(message: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.lastHeight.isZero()) { - writer.uint32(8).int64(message.lastHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.lastHeight = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { - const message = createBaseQueryUpgradedConsensusStateRequest(); - message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; - return message; - } - -}; - -function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: new Uint8Array() - }; -} - -export const QueryUpgradedConsensusStateResponse = { - encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.upgradedConsensusState.length !== 0) { - writer.uint32(18).bytes(message.upgradedConsensusState); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.upgradedConsensusState = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { - const message = createBaseQueryUpgradedConsensusStateResponse(); - message.upgradedConsensusState = object.upgradedConsensusState ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryModuleVersionsRequest(): QueryModuleVersionsRequest { - return { - moduleName: "" - }; -} - -export const QueryModuleVersionsRequest = { - encode(message: QueryModuleVersionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.moduleName !== "") { - writer.uint32(10).string(message.moduleName); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleVersionsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.moduleName = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryModuleVersionsRequest { - const message = createBaseQueryModuleVersionsRequest(); - message.moduleName = object.moduleName ?? ""; - return message; - } - -}; - -function createBaseQueryModuleVersionsResponse(): QueryModuleVersionsResponse { - return { - moduleVersions: [] - }; -} - -export const QueryModuleVersionsResponse = { - encode(message: QueryModuleVersionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.moduleVersions) { - ModuleVersion.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleVersionsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.moduleVersions.push(ModuleVersion.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryModuleVersionsResponse { - const message = createBaseQueryModuleVersionsResponse(); - message.moduleVersions = object.moduleVersions?.map(e => ModuleVersion.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseQueryAuthorityRequest(): QueryAuthorityRequest { - return {}; -} - -export const QueryAuthorityRequest = { - encode(_: QueryAuthorityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAuthorityRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryAuthorityRequest { - const message = createBaseQueryAuthorityRequest(); - return message; - } - -}; - -function createBaseQueryAuthorityResponse(): QueryAuthorityResponse { - return { - address: "" - }; -} - -export const QueryAuthorityResponse = { - encode(message: QueryAuthorityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAuthorityResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAuthorityResponse { - const message = createBaseQueryAuthorityResponse(); - message.address = object.address ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts deleted file mode 100644 index b5e65f6d7..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "../../../helpers"; -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -export interface AminoMsgSoftwareUpgrade extends AminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgrade"; - value: { - authority: string; - plan: { - name: string; - time: { - seconds: string; - nanos: number; - }; - height: string; - info: string; - upgraded_client_state: { - type_url: string; - value: Uint8Array; - }; - }; - }; -} -export interface AminoMsgCancelUpgrade extends AminoMsg { - type: "cosmos-sdk/MsgCancelUpgrade"; - value: { - authority: string; - }; -} -export const AminoConverter = { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: "cosmos-sdk/MsgSoftwareUpgrade", - toAmino: ({ - authority, - plan - }: MsgSoftwareUpgrade): AminoMsgSoftwareUpgrade["value"] => { - return { - authority, - plan: { - name: plan.name, - time: plan.time, - height: plan.height.toString(), - info: plan.info, - upgraded_client_state: { - type_url: plan.upgradedClientState.typeUrl, - value: plan.upgradedClientState.value - } - } - }; - }, - fromAmino: ({ - authority, - plan - }: AminoMsgSoftwareUpgrade["value"]): MsgSoftwareUpgrade => { - return { - authority, - plan: { - name: plan.name, - time: plan.time, - height: Long.fromString(plan.height), - info: plan.info, - upgradedClientState: { - typeUrl: plan.upgraded_client_state.type_url, - value: plan.upgraded_client_state.value - } - } - }; - } - }, - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: "cosmos-sdk/MsgCancelUpgrade", - toAmino: ({ - authority - }: MsgCancelUpgrade): AminoMsgCancelUpgrade["value"] => { - return { - authority - }; - }, - fromAmino: ({ - authority - }: AminoMsgCancelUpgrade["value"]): MsgCancelUpgrade => { - return { - authority - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts deleted file mode 100644 index caa3a0ed2..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +++ /dev/null @@ -1,58 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.encode(value).finish() - }; - }, - - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.encode(value).finish() - }; - } - - }, - withTypeUrl: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value - }; - }, - - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value - }; - } - - }, - fromPartial: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.fromPartial(value) - }; - }, - - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 901bdbd02..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.softwareUpgrade = this.softwareUpgrade.bind(this); - this.cancelUpgrade = this.cancelUpgrade.bind(this); - } - - softwareUpgrade(request: MsgSoftwareUpgrade): Promise { - const data = MsgSoftwareUpgrade.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); - return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); - } - - cancelUpgrade(request: MsgCancelUpgrade): Promise { - const data = MsgCancelUpgrade.encode(request).finish(); - const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); - return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts deleted file mode 100644 index f1a8f5c16..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts +++ /dev/null @@ -1,244 +0,0 @@ -import { Plan, 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 | undefined; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgSoftwareUpgradeSDKType { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - - plan?: PlanSDKType | undefined; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgSoftwareUpgradeResponse {} -/** - * 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; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgCancelUpgradeSDKType { - /** authority is the address of the governance account. */ - authority: string; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgCancelUpgradeResponse {} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgCancelUpgradeResponseSDKType {} - -function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { - return { - authority: "", - plan: undefined - }; -} - -export const MsgSoftwareUpgrade = { - encode(message: MsgSoftwareUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authority !== "") { - writer.uint32(10).string(message.authority); - } - - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSoftwareUpgrade(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.authority = reader.string(); - break; - - case 2: - message.plan = Plan.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSoftwareUpgrade { - const message = createBaseMsgSoftwareUpgrade(); - message.authority = object.authority ?? ""; - message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; - return message; - } - -}; - -function createBaseMsgSoftwareUpgradeResponse(): MsgSoftwareUpgradeResponse { - return {}; -} - -export const MsgSoftwareUpgradeResponse = { - encode(_: MsgSoftwareUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSoftwareUpgradeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgSoftwareUpgradeResponse { - const message = createBaseMsgSoftwareUpgradeResponse(); - return message; - } - -}; - -function createBaseMsgCancelUpgrade(): MsgCancelUpgrade { - return { - authority: "" - }; -} - -export const MsgCancelUpgrade = { - encode(message: MsgCancelUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authority !== "") { - writer.uint32(10).string(message.authority); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCancelUpgrade(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.authority = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCancelUpgrade { - const message = createBaseMsgCancelUpgrade(); - message.authority = object.authority ?? ""; - return message; - } - -}; - -function createBaseMsgCancelUpgradeResponse(): MsgCancelUpgradeResponse { - return {}; -} - -export const MsgCancelUpgradeResponse = { - encode(_: MsgCancelUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCancelUpgradeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCancelUpgradeResponse { - const message = createBaseMsgCancelUpgradeResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts deleted file mode 100644 index 0b2cc8456..000000000 --- a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ /dev/null @@ -1,432 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; -/** 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?: Date | undefined; - /** - * 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 | undefined; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ - -export interface PlanSDKType { - /** - * 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?: Date | undefined; - /** - * 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 */ - - upgraded_client_state?: AnySDKType | undefined; -} -/** - * 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 { - title: string; - description: string; - plan?: Plan | undefined; -} -/** - * 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 { - title: string; - description: string; - plan?: PlanSDKType | undefined; -} -/** - * 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 { - title: string; - description: string; -} -/** - * 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 { - 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; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ - -export interface ModuleVersionSDKType { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - - version: Long; -} - -function createBasePlan(): Plan { - return { - name: "", - time: undefined, - height: Long.ZERO, - info: "", - upgradedClientState: undefined - }; -} - -export const Plan = { - encode(message: Plan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); - } - - if (!message.height.isZero()) { - writer.uint32(24).int64(message.height); - } - - if (message.info !== "") { - writer.uint32(34).string(message.info); - } - - if (message.upgradedClientState !== undefined) { - Any.encode(message.upgradedClientState, writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Plan { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePlan(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 3: - message.height = (reader.int64() as Long); - break; - - case 4: - message.info = reader.string(); - break; - - case 5: - message.upgradedClientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Plan { - const message = createBasePlan(); - message.name = object.name ?? ""; - message.time = object.time ?? undefined; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.info = object.info ?? ""; - message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; - return message; - } - -}; - -function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { - return { - title: "", - description: "", - plan: undefined - }; -} - -export const SoftwareUpgradeProposal = { - encode(message: SoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSoftwareUpgradeProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.plan = Plan.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SoftwareUpgradeProposal { - const message = createBaseSoftwareUpgradeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; - return message; - } - -}; - -function createBaseCancelSoftwareUpgradeProposal(): CancelSoftwareUpgradeProposal { - return { - title: "", - description: "" - }; -} - -export const CancelSoftwareUpgradeProposal = { - encode(message: CancelSoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCancelSoftwareUpgradeProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CancelSoftwareUpgradeProposal { - const message = createBaseCancelSoftwareUpgradeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - return message; - } - -}; - -function createBaseModuleVersion(): ModuleVersion { - return { - name: "", - version: Long.UZERO - }; -} - -export const ModuleVersion = { - encode(message: ModuleVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (!message.version.isZero()) { - writer.uint32(16).uint64(message.version); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleVersion(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.version = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ModuleVersion { - const message = createBaseModuleVersion(); - message.name = object.name ?? ""; - message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts deleted file mode 100644 index 5f402b993..000000000 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { Long } from "../../../helpers"; -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -export interface AminoMsgCreateVestingAccount extends AminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccount"; - value: { - from_address: string; - to_address: string; - amount: { - denom: string; - amount: string; - }[]; - end_time: string; - delayed: boolean; - }; -} -export interface AminoMsgCreatePermanentLockedAccount extends AminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; - value: { - from_address: string; - to_address: string; - amount: { - denom: string; - amount: string; - }[]; - }; -} -export interface AminoMsgCreatePeriodicVestingAccount extends AminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; - value: { - from_address: string; - to_address: string; - start_time: string; - vesting_periods: { - length: string; - amount: { - denom: string; - amount: string; - }[]; - }[]; - }; -} -export const AminoConverter = { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: "cosmos-sdk/MsgCreateVestingAccount", - toAmino: ({ - fromAddress, - toAddress, - amount, - endTime, - delayed - }: MsgCreateVestingAccount): AminoMsgCreateVestingAccount["value"] => { - return { - from_address: fromAddress, - to_address: toAddress, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - end_time: endTime.toString(), - delayed - }; - }, - fromAmino: ({ - from_address, - to_address, - amount, - end_time, - delayed - }: AminoMsgCreateVestingAccount["value"]): MsgCreateVestingAccount => { - return { - fromAddress: from_address, - toAddress: to_address, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })), - endTime: Long.fromString(end_time), - delayed - }; - } - }, - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", - toAmino: ({ - fromAddress, - toAddress, - amount - }: MsgCreatePermanentLockedAccount): AminoMsgCreatePermanentLockedAccount["value"] => { - return { - from_address: fromAddress, - to_address: toAddress, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - from_address, - to_address, - amount - }: AminoMsgCreatePermanentLockedAccount["value"]): MsgCreatePermanentLockedAccount => { - return { - fromAddress: from_address, - toAddress: to_address, - amount: amount.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - }, - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", - toAmino: ({ - fromAddress, - toAddress, - startTime, - vestingPeriods - }: MsgCreatePeriodicVestingAccount): AminoMsgCreatePeriodicVestingAccount["value"] => { - return { - from_address: fromAddress, - to_address: toAddress, - start_time: startTime.toString(), - vesting_periods: vestingPeriods.map(el0 => ({ - length: el0.length.toString(), - amount: el0.amount.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })) - }; - }, - fromAmino: ({ - from_address, - to_address, - start_time, - vesting_periods - }: AminoMsgCreatePeriodicVestingAccount["value"]): MsgCreatePeriodicVestingAccount => { - return { - fromAddress: from_address, - toAddress: to_address, - startTime: Long.fromString(start_time), - vestingPeriods: vesting_periods.map(el0 => ({ - length: Long.fromString(el0.length), - amount: el0.amount.map(el1 => ({ - denom: el1.denom, - amount: el1.amount - })) - })) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts deleted file mode 100644 index d9679e7a4..000000000 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts +++ /dev/null @@ -1,79 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.encode(value).finish() - }; - }, - - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.encode(value).finish() - }; - }, - - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.encode(value).finish() - }; - } - - }, - withTypeUrl: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value - }; - }, - - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value - }; - }, - - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value - }; - } - - }, - fromPartial: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.fromPartial(value) - }; - }, - - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.fromPartial(value) - }; - }, - - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index f0728ea1c..000000000 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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. - */ - - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - /** - * CreatePeriodicVestingAccount defines a method that enables creating a - * periodic vesting account. - */ - - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.createVestingAccount = this.createVestingAccount.bind(this); - this.createPermanentLockedAccount = this.createPermanentLockedAccount.bind(this); - this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); - } - - createVestingAccount(request: MsgCreateVestingAccount): Promise { - const data = MsgCreateVestingAccount.encode(request).finish(); - const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); - return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); - } - - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { - const data = MsgCreatePermanentLockedAccount.encode(request).finish(); - const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); - return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); - } - - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { - const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); - const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); - return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts deleted file mode 100644 index 2fe5e8f83..000000000 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts +++ /dev/null @@ -1,421 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ - -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: Long; - delayed: boolean; -} -/** - * 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 {} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ - -export interface MsgCreateVestingAccountResponseSDKType {} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ - -export interface MsgCreatePermanentLockedAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ - -export interface MsgCreatePermanentLockedAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ - -export interface MsgCreatePermanentLockedAccountResponse {} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ - -export interface MsgCreatePermanentLockedAccountResponseSDKType {} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ - -export interface MsgCreatePeriodicVestingAccount { - fromAddress: string; - toAddress: string; - startTime: Long; - vestingPeriods: Period[]; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ - -export interface MsgCreatePeriodicVestingAccountSDKType { - from_address: string; - to_address: string; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ - -export interface MsgCreatePeriodicVestingAccountResponse {} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ - -export interface MsgCreatePeriodicVestingAccountResponseSDKType {} - -function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { - return { - fromAddress: "", - toAddress: "", - amount: [], - endTime: Long.ZERO, - delayed: false - }; -} - -export const MsgCreateVestingAccount = { - encode(message: MsgCreateVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (!message.endTime.isZero()) { - writer.uint32(32).int64(message.endTime); - } - - if (message.delayed === true) { - writer.uint32(40).bool(message.delayed); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - - case 2: - message.toAddress = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - case 4: - message.endTime = (reader.int64() as Long); - break; - - case 5: - message.delayed = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateVestingAccount { - const message = createBaseMsgCreateVestingAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; - message.delayed = object.delayed ?? false; - return message; - } - -}; - -function createBaseMsgCreateVestingAccountResponse(): MsgCreateVestingAccountResponse { - return {}; -} - -export const MsgCreateVestingAccountResponse = { - encode(_: MsgCreateVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateVestingAccountResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCreateVestingAccountResponse { - const message = createBaseMsgCreateVestingAccountResponse(); - return message; - } - -}; - -function createBaseMsgCreatePermanentLockedAccount(): MsgCreatePermanentLockedAccount { - return { - fromAddress: "", - toAddress: "", - amount: [] - }; -} - -export const MsgCreatePermanentLockedAccount = { - encode(message: MsgCreatePermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePermanentLockedAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - - case 2: - message.toAddress = reader.string(); - break; - - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreatePermanentLockedAccount { - const message = createBaseMsgCreatePermanentLockedAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgCreatePermanentLockedAccountResponse(): MsgCreatePermanentLockedAccountResponse { - return {}; -} - -export const MsgCreatePermanentLockedAccountResponse = { - encode(_: MsgCreatePermanentLockedAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePermanentLockedAccountResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse { - const message = createBaseMsgCreatePermanentLockedAccountResponse(); - return message; - } - -}; - -function createBaseMsgCreatePeriodicVestingAccount(): MsgCreatePeriodicVestingAccount { - return { - fromAddress: "", - toAddress: "", - startTime: Long.ZERO, - vestingPeriods: [] - }; -} - -export const MsgCreatePeriodicVestingAccount = { - encode(message: MsgCreatePeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - - if (!message.startTime.isZero()) { - writer.uint32(24).int64(message.startTime); - } - - for (const v of message.vestingPeriods) { - Period.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePeriodicVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - - case 2: - message.toAddress = reader.string(); - break; - - case 3: - message.startTime = (reader.int64() as Long); - break; - - case 4: - message.vestingPeriods.push(Period.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreatePeriodicVestingAccount { - const message = createBaseMsgCreatePeriodicVestingAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; - message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgCreatePeriodicVestingAccountResponse(): MsgCreatePeriodicVestingAccountResponse { - return {}; -} - -export const MsgCreatePeriodicVestingAccountResponse = { - encode(_: MsgCreatePeriodicVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePeriodicVestingAccountResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse { - const message = createBaseMsgCreatePeriodicVestingAccountResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts deleted file mode 100644 index 759944a84..000000000 --- a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts +++ /dev/null @@ -1,468 +0,0 @@ -import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ - -export interface BaseVestingAccount { - baseAccount?: BaseAccount | undefined; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: Long; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ - -export interface BaseVestingAccountSDKType { - base_account?: BaseAccountSDKType | undefined; - 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 | undefined; - startTime: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ - -export interface ContinuousVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; - 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 | undefined; -} -/** - * 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 | undefined; -} -/** Period defines a length of time and amount of coins that will vest. */ - -export interface Period { - length: Long; - amount: Coin[]; -} -/** 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 | undefined; - startTime: Long; - vestingPeriods: Period[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ - -export interface PeriodicVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; - 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 | undefined; -} -/** - * 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 | undefined; -} - -function createBaseBaseVestingAccount(): BaseVestingAccount { - return { - baseAccount: undefined, - originalVesting: [], - delegatedFree: [], - delegatedVesting: [], - endTime: Long.ZERO - }; -} - -export const BaseVestingAccount = { - encode(message: BaseVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseAccount !== undefined) { - BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.originalVesting) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.delegatedFree) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.delegatedVesting) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (!message.endTime.isZero()) { - writer.uint32(40).int64(message.endTime); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBaseVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseAccount = BaseAccount.decode(reader, reader.uint32()); - break; - - case 2: - message.originalVesting.push(Coin.decode(reader, reader.uint32())); - break; - - case 3: - message.delegatedFree.push(Coin.decode(reader, reader.uint32())); - break; - - case 4: - message.delegatedVesting.push(Coin.decode(reader, reader.uint32())); - break; - - case 5: - message.endTime = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BaseVestingAccount { - const message = createBaseBaseVestingAccount(); - message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; - message.originalVesting = object.originalVesting?.map(e => Coin.fromPartial(e)) || []; - message.delegatedFree = object.delegatedFree?.map(e => Coin.fromPartial(e)) || []; - message.delegatedVesting = object.delegatedVesting?.map(e => Coin.fromPartial(e)) || []; - message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; - return message; - } - -}; - -function createBaseContinuousVestingAccount(): ContinuousVestingAccount { - return { - baseVestingAccount: undefined, - startTime: Long.ZERO - }; -} - -export const ContinuousVestingAccount = { - encode(message: ContinuousVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - - if (!message.startTime.isZero()) { - writer.uint32(16).int64(message.startTime); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContinuousVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - - case 2: - message.startTime = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ContinuousVestingAccount { - const message = createBaseContinuousVestingAccount(); - message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; - message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; - return message; - } - -}; - -function createBaseDelayedVestingAccount(): DelayedVestingAccount { - return { - baseVestingAccount: undefined - }; -} - -export const DelayedVestingAccount = { - encode(message: DelayedVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelayedVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DelayedVestingAccount { - const message = createBaseDelayedVestingAccount(); - message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; - return message; - } - -}; - -function createBasePeriod(): Period { - return { - length: Long.ZERO, - amount: [] - }; -} - -export const Period = { - encode(message: Period, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.length.isZero()) { - writer.uint32(8).int64(message.length); - } - - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Period { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriod(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.length = (reader.int64() as Long); - break; - - case 2: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Period { - const message = createBasePeriod(); - message.length = object.length !== undefined && object.length !== null ? Long.fromValue(object.length) : Long.ZERO; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBasePeriodicVestingAccount(): PeriodicVestingAccount { - return { - baseVestingAccount: undefined, - startTime: Long.ZERO, - vestingPeriods: [] - }; -} - -export const PeriodicVestingAccount = { - encode(message: PeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - - if (!message.startTime.isZero()) { - writer.uint32(16).int64(message.startTime); - } - - for (const v of message.vestingPeriods) { - Period.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriodicVestingAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - - case 2: - message.startTime = (reader.int64() as Long); - break; - - case 3: - message.vestingPeriods.push(Period.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PeriodicVestingAccount { - const message = createBasePeriodicVestingAccount(); - message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; - message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; - message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; - return message; - } - -}; - -function createBasePermanentLockedAccount(): PermanentLockedAccount { - return { - baseVestingAccount: undefined - }; -} - -export const PermanentLockedAccount = { - encode(message: PermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePermanentLockedAccount(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PermanentLockedAccount { - const message = createBasePermanentLockedAccount(); - message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/bundle.ts b/examples/telescope/codegen/cosmos_proto/bundle.ts deleted file mode 100644 index 58b9e9aef..000000000 --- a/examples/telescope/codegen/cosmos_proto/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _1 from "./cosmos"; -export const cosmos_proto = { ..._1 -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/cosmos.ts b/examples/telescope/codegen/cosmos_proto/cosmos.ts deleted file mode 100644 index c5e1c290a..000000000 --- a/examples/telescope/codegen/cosmos_proto/cosmos.ts +++ /dev/null @@ -1,289 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -export enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1, -} -export enum ScalarTypeSDKType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1, -} -export function scalarTypeFromJSON(object: any): ScalarType { - switch (object) { - case 0: - case "SCALAR_TYPE_UNSPECIFIED": - return ScalarType.SCALAR_TYPE_UNSPECIFIED; - - case 1: - case "SCALAR_TYPE_STRING": - return ScalarType.SCALAR_TYPE_STRING; - - case 2: - case "SCALAR_TYPE_BYTES": - return ScalarType.SCALAR_TYPE_BYTES; - - case -1: - case "UNRECOGNIZED": - default: - return ScalarType.UNRECOGNIZED; - } -} -export function scalarTypeToJSON(object: ScalarType): string { - switch (object) { - case ScalarType.SCALAR_TYPE_UNSPECIFIED: - return "SCALAR_TYPE_UNSPECIFIED"; - - case ScalarType.SCALAR_TYPE_STRING: - return "SCALAR_TYPE_STRING"; - - case ScalarType.SCALAR_TYPE_BYTES: - return "SCALAR_TYPE_BYTES"; - - case ScalarType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * 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; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ - -export interface InterfaceDescriptorSDKType { - /** - * 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; -} -/** - * 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[]; -} -/** - * 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 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: ScalarTypeSDKType[]; -} - -function createBaseInterfaceDescriptor(): InterfaceDescriptor { - return { - name: "", - description: "" - }; -} - -export const InterfaceDescriptor = { - encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InterfaceDescriptor { - const message = createBaseInterfaceDescriptor(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - return message; - } - -}; - -function createBaseScalarDescriptor(): ScalarDescriptor { - return { - name: "", - description: "", - fieldType: [] - }; -} - -export const ScalarDescriptor = { - encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - writer.uint32(26).fork(); - - for (const v of message.fieldType) { - writer.int32(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseScalarDescriptor(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.fieldType.push((reader.int32() as any)); - } - } else { - message.fieldType.push((reader.int32() as any)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ScalarDescriptor { - const message = createBaseScalarDescriptor(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.fieldType = object.fieldType?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/bundle.ts b/examples/telescope/codegen/cosmwasm/bundle.ts deleted file mode 100644 index 2cf6fe383..000000000 --- a/examples/telescope/codegen/cosmwasm/bundle.ts +++ /dev/null @@ -1,34 +0,0 @@ -import * as _94 from "./wasm/v1/genesis"; -import * as _95 from "./wasm/v1/ibc"; -import * as _96 from "./wasm/v1/proposal"; -import * as _97 from "./wasm/v1/query"; -import * as _98 from "./wasm/v1/tx"; -import * as _99 from "./wasm/v1/types"; -import * as _220 from "./wasm/v1/tx.amino"; -import * as _221 from "./wasm/v1/tx.registry"; -import * as _222 from "./wasm/v1/query.lcd"; -import * as _223 from "./wasm/v1/query.rpc.query"; -import * as _224 from "./wasm/v1/tx.rpc.msg"; -import * as _249 from "./lcd"; -import * as _250 from "./rpc.query"; -import * as _251 from "./rpc.tx"; -export namespace cosmwasm { - export namespace wasm { - export const v1 = { ..._94, - ..._95, - ..._96, - ..._97, - ..._98, - ..._99, - ..._220, - ..._221, - ..._222, - ..._223, - ..._224 - }; - } - export const ClientFactory = { ..._249, - ..._250, - ..._251 - }; -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/client.ts b/examples/telescope/codegen/cosmwasm/client.ts deleted file mode 100644 index 2fbbb0251..000000000 --- a/examples/telescope/codegen/cosmwasm/client.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; -import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; -export const cosmwasmAminoConverters = { ...cosmwasmWasmV1TxAmino.AminoConverter -}; -export const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmwasmWasmV1TxRegistry.registry]; -export const getSigningCosmwasmClientOptions = ({ - defaultTypes = defaultRegistryTypes -}: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -} = {}): { - registry: Registry; - aminoTypes: AminoTypes; -} => { - const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]); - const aminoTypes = new AminoTypes({ ...cosmwasmAminoConverters - }); - return { - registry, - aminoTypes - }; -}; -export const getSigningCosmwasmClient = async ({ - rpcEndpoint, - signer, - defaultTypes = defaultRegistryTypes -}: { - rpcEndpoint: string; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - const { - registry, - aminoTypes - } = getSigningCosmwasmClientOptions({ - defaultTypes - }); - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry, - aminoTypes - }); - return client; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/lcd.ts b/examples/telescope/codegen/cosmwasm/lcd.ts deleted file mode 100644 index ce16f358d..000000000 --- a/examples/telescope/codegen/cosmwasm/lcd.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => { - const requestClient = new LCDClient({ - restEndpoint - }); - return { - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - base: { - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - 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 - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - requestClient - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - 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 - }) - }, - tx: { - v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ - requestClient - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.query.ts b/examples/telescope/codegen/cosmwasm/rpc.query.ts deleted file mode 100644 index 02b0294a4..000000000 --- a/examples/telescope/codegen/cosmwasm/rpc.query.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; -import { QueryClient } from "@cosmjs/stargate"; -export const createRPCQueryClient = async ({ - rpcEndpoint -}: { - rpcEndpoint: string; -}) => { - const tmClient = await Tendermint34Client.connect(rpcEndpoint); - 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) - }, - authz: { - v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - bank: { - v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - base: { - tendermint: { - v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) - }, - gov: { - v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), - v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - group: { - v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - 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) - }, - tx: { - v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) - }, - upgrade: { - v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - } - }, - cosmwasm: { - wasm: { - v1: (await import("./wasm/v1/query.rpc.query")).createRpcQueryExtension(client) - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.tx.ts b/examples/telescope/codegen/cosmwasm/rpc.tx.ts deleted file mode 100644 index e0ff07d48..000000000 --- a/examples/telescope/codegen/cosmwasm/rpc.tx.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Rpc } from "../helpers"; -export const createRPCMsgClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - vesting: { - v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/tx.rpc.msg")).MsgClientImpl(rpc) - } - } -}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts deleted file mode 100644 index 3cdd11cee..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts +++ /dev/null @@ -1,433 +0,0 @@ -import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; -import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** GenesisState - genesis state of x/wasm */ - -export interface GenesisState { - params?: Params | undefined; - codes: Code[]; - contracts: Contract[]; - sequences: Sequence[]; - genMsgs: GenesisState_GenMsgs[]; -} -/** GenesisState - genesis state of x/wasm */ - -export interface GenesisStateSDKType { - params?: ParamsSDKType | undefined; - codes: CodeSDKType[]; - contracts: ContractSDKType[]; - sequences: SequenceSDKType[]; - gen_msgs: GenesisState_GenMsgsSDKType[]; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ - -export interface GenesisState_GenMsgs { - storeCode?: MsgStoreCode | undefined; - instantiateContract?: MsgInstantiateContract | undefined; - executeContract?: MsgExecuteContract | undefined; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ - -export interface GenesisState_GenMsgsSDKType { - store_code?: MsgStoreCodeSDKType | undefined; - instantiate_contract?: MsgInstantiateContractSDKType | undefined; - execute_contract?: MsgExecuteContractSDKType | undefined; -} -/** Code struct encompasses CodeInfo and CodeBytes */ - -export interface Code { - codeId: Long; - codeInfo?: CodeInfo | undefined; - codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ - - pinned: boolean; -} -/** Code struct encompasses CodeInfo and CodeBytes */ - -export interface CodeSDKType { - code_id: Long; - code_info?: CodeInfoSDKType | undefined; - code_bytes: Uint8Array; - /** Pinned to wasmvm cache */ - - pinned: boolean; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ - -export interface Contract { - contractAddress: string; - contractInfo?: ContractInfo | undefined; - contractState: Model[]; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ - -export interface ContractSDKType { - contract_address: string; - contract_info?: ContractInfoSDKType | undefined; - contract_state: ModelSDKType[]; -} -/** Sequence key and value of an id generation counter */ - -export interface Sequence { - idKey: Uint8Array; - value: Long; -} -/** Sequence key and value of an id generation counter */ - -export interface SequenceSDKType { - id_key: Uint8Array; - value: Long; -} - -function createBaseGenesisState(): GenesisState { - return { - params: undefined, - codes: [], - contracts: [], - sequences: [], - genMsgs: [] - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.codes) { - Code.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.contracts) { - Contract.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.sequences) { - Sequence.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.genMsgs) { - GenesisState_GenMsgs.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codes.push(Code.decode(reader, reader.uint32())); - break; - - case 3: - message.contracts.push(Contract.decode(reader, reader.uint32())); - break; - - case 4: - message.sequences.push(Sequence.decode(reader, reader.uint32())); - break; - - case 5: - message.genMsgs.push(GenesisState_GenMsgs.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.codes = object.codes?.map(e => Code.fromPartial(e)) || []; - message.contracts = object.contracts?.map(e => Contract.fromPartial(e)) || []; - message.sequences = object.sequences?.map(e => Sequence.fromPartial(e)) || []; - message.genMsgs = object.genMsgs?.map(e => GenesisState_GenMsgs.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseGenesisState_GenMsgs(): GenesisState_GenMsgs { - return { - storeCode: undefined, - instantiateContract: undefined, - executeContract: undefined - }; -} - -export const GenesisState_GenMsgs = { - encode(message: GenesisState_GenMsgs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.storeCode !== undefined) { - MsgStoreCode.encode(message.storeCode, writer.uint32(10).fork()).ldelim(); - } - - if (message.instantiateContract !== undefined) { - MsgInstantiateContract.encode(message.instantiateContract, writer.uint32(18).fork()).ldelim(); - } - - if (message.executeContract !== undefined) { - MsgExecuteContract.encode(message.executeContract, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState_GenMsgs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState_GenMsgs(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.storeCode = MsgStoreCode.decode(reader, reader.uint32()); - break; - - case 2: - message.instantiateContract = MsgInstantiateContract.decode(reader, reader.uint32()); - break; - - case 3: - message.executeContract = MsgExecuteContract.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState_GenMsgs { - const message = createBaseGenesisState_GenMsgs(); - message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; - message.instantiateContract = object.instantiateContract !== undefined && object.instantiateContract !== null ? MsgInstantiateContract.fromPartial(object.instantiateContract) : undefined; - message.executeContract = object.executeContract !== undefined && object.executeContract !== null ? MsgExecuteContract.fromPartial(object.executeContract) : undefined; - return message; - } - -}; - -function createBaseCode(): Code { - return { - codeId: Long.UZERO, - codeInfo: undefined, - codeBytes: new Uint8Array(), - pinned: false - }; -} - -export const Code = { - encode(message: Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.codeInfo !== undefined) { - CodeInfo.encode(message.codeInfo, writer.uint32(18).fork()).ldelim(); - } - - if (message.codeBytes.length !== 0) { - writer.uint32(26).bytes(message.codeBytes); - } - - if (message.pinned === true) { - writer.uint32(32).bool(message.pinned); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Code { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCode(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - case 2: - message.codeInfo = CodeInfo.decode(reader, reader.uint32()); - break; - - case 3: - message.codeBytes = reader.bytes(); - break; - - case 4: - message.pinned = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Code { - const message = createBaseCode(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfo.fromPartial(object.codeInfo) : undefined; - message.codeBytes = object.codeBytes ?? new Uint8Array(); - message.pinned = object.pinned ?? false; - return message; - } - -}; - -function createBaseContract(): Contract { - return { - contractAddress: "", - contractInfo: undefined, - contractState: [] - }; -} - -export const Contract = { - encode(message: Contract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.contractAddress !== "") { - writer.uint32(10).string(message.contractAddress); - } - - if (message.contractInfo !== undefined) { - ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.contractState) { - Model.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Contract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContract(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.contractAddress = reader.string(); - break; - - case 2: - message.contractInfo = ContractInfo.decode(reader, reader.uint32()); - break; - - case 3: - message.contractState.push(Model.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Contract { - const message = createBaseContract(); - message.contractAddress = object.contractAddress ?? ""; - message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; - message.contractState = object.contractState?.map(e => Model.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSequence(): Sequence { - return { - idKey: new Uint8Array(), - value: Long.UZERO - }; -} - -export const Sequence = { - encode(message: Sequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.idKey.length !== 0) { - writer.uint32(10).bytes(message.idKey); - } - - if (!message.value.isZero()) { - writer.uint32(16).uint64(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Sequence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSequence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.idKey = reader.bytes(); - break; - - case 2: - message.value = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Sequence { - const message = createBaseSequence(); - message.idKey = object.idKey ?? new Uint8Array(); - message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts deleted file mode 100644 index 1c93c6db0..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts +++ /dev/null @@ -1,180 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** MsgIBCSend */ - -export interface MsgIBCSend { - /** the channel by which the packet will be sent */ - channel: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - - timeoutHeight: Long; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - - timeoutTimestamp: Long; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - - data: Uint8Array; -} -/** MsgIBCSend */ - -export interface MsgIBCSendSDKType { - /** the channel by which the packet will be sent */ - channel: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - - timeout_height: Long; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - - timeout_timestamp: Long; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - - data: Uint8Array; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ - -export interface MsgIBCCloseChannel { - channel: string; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ - -export interface MsgIBCCloseChannelSDKType { - channel: string; -} - -function createBaseMsgIBCSend(): MsgIBCSend { - return { - channel: "", - timeoutHeight: Long.UZERO, - timeoutTimestamp: Long.UZERO, - data: new Uint8Array() - }; -} - -export const MsgIBCSend = { - encode(message: MsgIBCSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.channel !== "") { - writer.uint32(18).string(message.channel); - } - - if (!message.timeoutHeight.isZero()) { - writer.uint32(32).uint64(message.timeoutHeight); - } - - if (!message.timeoutTimestamp.isZero()) { - writer.uint32(40).uint64(message.timeoutTimestamp); - } - - if (message.data.length !== 0) { - writer.uint32(50).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgIBCSend(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.channel = reader.string(); - break; - - case 4: - message.timeoutHeight = (reader.uint64() as Long); - break; - - case 5: - message.timeoutTimestamp = (reader.uint64() as Long); - break; - - case 6: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgIBCSend { - const message = createBaseMsgIBCSend(); - message.channel = object.channel ?? ""; - message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; - message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgIBCCloseChannel(): MsgIBCCloseChannel { - return { - channel: "" - }; -} - -export const MsgIBCCloseChannel = { - encode(message: MsgIBCCloseChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.channel !== "") { - writer.uint32(18).string(message.channel); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgIBCCloseChannel(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.channel = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgIBCCloseChannel { - const message = createBaseMsgIBCCloseChannel(); - message.channel = object.channel ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts deleted file mode 100644 index 4ff447cef..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts +++ /dev/null @@ -1,1083 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ - -export interface StoreCodeProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - runAs: string; - /** WASMByteCode can be raw or gzip compressed */ - - wasmByteCode: Uint8Array; - /** InstantiatePermission to apply on contract creation, optional */ - - instantiatePermission?: AccessConfig | undefined; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ - -export interface StoreCodeProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - run_as: string; - /** WASMByteCode can be raw or gzip compressed */ - - wasm_byte_code: Uint8Array; - /** InstantiatePermission to apply on contract creation, optional */ - - instantiate_permission?: AccessConfigSDKType | undefined; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ - -export interface InstantiateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - runAs: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** CodeID is the reference to the stored WASM code */ - - codeId: Long; - /** Label is optional metadata to be stored with a constract instance. */ - - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: Coin[]; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ - -export interface InstantiateContractProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - run_as: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** CodeID is the reference to the stored WASM code */ - - code_id: Long; - /** Label is optional metadata to be stored with a constract instance. */ - - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: CoinSDKType[]; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ - -export interface MigrateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** CodeID references the new WASM codesudo */ - - codeId: Long; - /** Msg json encoded message to be passed to the contract on migration */ - - msg: Uint8Array; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ - -export interface MigrateContractProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** CodeID references the new WASM codesudo */ - - code_id: Long; - /** Msg json encoded message to be passed to the contract on migration */ - - msg: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ - -export interface SudoContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract as sudo */ - - msg: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ - -export interface SudoContractProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract as sudo */ - - msg: Uint8Array; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ - -export interface ExecuteContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - runAs: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract as execute */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: Coin[]; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ - -export interface ExecuteContractProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - - run_as: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract as execute */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: CoinSDKType[]; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ - -export interface UpdateAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** NewAdmin address to be set */ - - newAdmin: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ - -export interface UpdateAdminProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** NewAdmin address to be set */ - - new_admin: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ - -export interface ClearAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ - -export interface ClearAdminProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ - -export interface PinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** CodeIDs references the new WASM codes */ - - codeIds: Long[]; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ - -export interface PinCodesProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** CodeIDs references the new WASM codes */ - - code_ids: Long[]; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ - -export interface UnpinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** CodeIDs references the WASM codes */ - - codeIds: Long[]; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ - -export interface UnpinCodesProposalSDKType { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** CodeIDs references the WASM codes */ - - code_ids: Long[]; -} - -function createBaseStoreCodeProposal(): StoreCodeProposal { - return { - title: "", - description: "", - runAs: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: undefined - }; -} - -export const StoreCodeProposal = { - encode(message: StoreCodeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - - if (message.wasmByteCode.length !== 0) { - writer.uint32(34).bytes(message.wasmByteCode); - } - - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreCodeProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.runAs = reader.string(); - break; - - case 4: - message.wasmByteCode = reader.bytes(); - break; - - case 7: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): StoreCodeProposal { - const message = createBaseStoreCodeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); - message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; - return message; - } - -}; - -function createBaseInstantiateContractProposal(): InstantiateContractProposal { - return { - title: "", - description: "", - runAs: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [] - }; -} - -export const InstantiateContractProposal = { - encode(message: InstantiateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - - if (message.admin !== "") { - writer.uint32(34).string(message.admin); - } - - if (!message.codeId.isZero()) { - writer.uint32(40).uint64(message.codeId); - } - - if (message.label !== "") { - writer.uint32(50).string(message.label); - } - - if (message.msg.length !== 0) { - writer.uint32(58).bytes(message.msg); - } - - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(66).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInstantiateContractProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.runAs = reader.string(); - break; - - case 4: - message.admin = reader.string(); - break; - - case 5: - message.codeId = (reader.uint64() as Long); - break; - - case 6: - message.label = reader.string(); - break; - - case 7: - message.msg = reader.bytes(); - break; - - case 8: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): InstantiateContractProposal { - const message = createBaseInstantiateContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.admin = object.admin ?? ""; - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.label = object.label ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMigrateContractProposal(): MigrateContractProposal { - return { - title: "", - description: "", - contract: "", - codeId: Long.UZERO, - msg: new Uint8Array() - }; -} - -export const MigrateContractProposal = { - encode(message: MigrateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - - if (!message.codeId.isZero()) { - writer.uint32(40).uint64(message.codeId); - } - - if (message.msg.length !== 0) { - writer.uint32(50).bytes(message.msg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMigrateContractProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 4: - message.contract = reader.string(); - break; - - case 5: - message.codeId = (reader.uint64() as Long); - break; - - case 6: - message.msg = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MigrateContractProposal { - const message = createBaseMigrateContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.msg = object.msg ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSudoContractProposal(): SudoContractProposal { - return { - title: "", - description: "", - contract: "", - msg: new Uint8Array() - }; -} - -export const SudoContractProposal = { - encode(message: SudoContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSudoContractProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.contract = reader.string(); - break; - - case 4: - message.msg = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SudoContractProposal { - const message = createBaseSudoContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - return message; - } - -}; - -function createBaseExecuteContractProposal(): ExecuteContractProposal { - return { - title: "", - description: "", - runAs: "", - contract: "", - msg: new Uint8Array(), - funds: [] - }; -} - -export const ExecuteContractProposal = { - encode(message: ExecuteContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - - if (message.msg.length !== 0) { - writer.uint32(42).bytes(message.msg); - } - - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExecuteContractProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.runAs = reader.string(); - break; - - case 4: - message.contract = reader.string(); - break; - - case 5: - message.msg = reader.bytes(); - break; - - case 6: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ExecuteContractProposal { - const message = createBaseExecuteContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseUpdateAdminProposal(): UpdateAdminProposal { - return { - title: "", - description: "", - newAdmin: "", - contract: "" - }; -} - -export const UpdateAdminProposal = { - encode(message: UpdateAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateAdminProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.newAdmin = reader.string(); - break; - - case 4: - message.contract = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UpdateAdminProposal { - const message = createBaseUpdateAdminProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.newAdmin = object.newAdmin ?? ""; - message.contract = object.contract ?? ""; - return message; - } - -}; - -function createBaseClearAdminProposal(): ClearAdminProposal { - return { - title: "", - description: "", - contract: "" - }; -} - -export const ClearAdminProposal = { - encode(message: ClearAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClearAdminProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.contract = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClearAdminProposal { - const message = createBaseClearAdminProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - return message; - } - -}; - -function createBasePinCodesProposal(): PinCodesProposal { - return { - title: "", - description: "", - codeIds: [] - }; -} - -export const PinCodesProposal = { - encode(message: PinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - writer.uint32(26).fork(); - - for (const v of message.codeIds) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePinCodesProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PinCodesProposal { - const message = createBasePinCodesProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; - -function createBaseUnpinCodesProposal(): UnpinCodesProposal { - return { - title: "", - description: "", - codeIds: [] - }; -} - -export const UnpinCodesProposal = { - encode(message: UnpinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - writer.uint32(26).fork(); - - for (const v of message.codeIds) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnpinCodesProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UnpinCodesProposal { - const message = createBaseUnpinCodesProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts deleted file mode 100644 index 6079083b4..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.contractInfo = this.contractInfo.bind(this); - this.contractHistory = this.contractHistory.bind(this); - this.contractsByCode = this.contractsByCode.bind(this); - this.allContractState = this.allContractState.bind(this); - this.rawContractState = this.rawContractState.bind(this); - this.smartContractState = this.smartContractState.bind(this); - this.code = this.code.bind(this); - this.codes = this.codes.bind(this); - this.pinnedCodes = this.pinnedCodes.bind(this); - } - /* ContractInfo gets the contract meta data */ - - - async contractInfo(params: QueryContractInfoRequest): Promise { - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; - return await this.req.get(endpoint); - } - /* ContractHistory gets the contract code history */ - - - async contractHistory(params: QueryContractHistoryRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; - return await this.req.get(endpoint, options); - } - /* ContractsByCode lists all smart contracts for a code id */ - - - async contractsByCode(params: QueryContractsByCodeRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; - return await this.req.get(endpoint, options); - } - /* AllContractState gets all raw store data for a single contract */ - - - async allContractState(params: QueryAllContractStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; - return await this.req.get(endpoint, options); - } - /* RawContractState gets single key from the raw store data of a contract */ - - - async rawContractState(params: QueryRawContractStateRequest): Promise { - const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; - return await this.req.get(endpoint); - } - /* SmartContractState get smart query result from the contract */ - - - async smartContractState(params: QuerySmartContractStateRequest): Promise { - const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; - return await this.req.get(endpoint); - } - /* Code gets the binary code and metadata for a singe wasm code */ - - - async code(params: QueryCodeRequest): Promise { - const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; - return await this.req.get(endpoint); - } - /* Codes gets the metadata for all stored wasm codes */ - - - async codes(params: QueryCodesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/code`; - return await this.req.get(endpoint, options); - } - /* PinnedCodes gets the pinned code ids */ - - - async pinnedCodes(params: QueryPinnedCodesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/codes/pinned`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts deleted file mode 100644 index 18b107d1e..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; -/** Query provides defines the gRPC querier service */ - -export interface Query { - /** ContractInfo gets the contract meta data */ - contractInfo(request: QueryContractInfoRequest): Promise; - /** ContractHistory gets the contract code history */ - - contractHistory(request: QueryContractHistoryRequest): Promise; - /** ContractsByCode lists all smart contracts for a code id */ - - contractsByCode(request: QueryContractsByCodeRequest): Promise; - /** AllContractState gets all raw store data for a single contract */ - - allContractState(request: QueryAllContractStateRequest): Promise; - /** RawContractState gets single key from the raw store data of a contract */ - - rawContractState(request: QueryRawContractStateRequest): Promise; - /** SmartContractState get smart query result from the contract */ - - smartContractState(request: QuerySmartContractStateRequest): Promise; - /** Code gets the binary code and metadata for a singe wasm code */ - - code(request: QueryCodeRequest): Promise; - /** Codes gets the metadata for all stored wasm codes */ - - codes(request?: QueryCodesRequest): Promise; - /** PinnedCodes gets the pinned code ids */ - - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.contractInfo = this.contractInfo.bind(this); - this.contractHistory = this.contractHistory.bind(this); - this.contractsByCode = this.contractsByCode.bind(this); - this.allContractState = this.allContractState.bind(this); - this.rawContractState = this.rawContractState.bind(this); - this.smartContractState = this.smartContractState.bind(this); - this.code = this.code.bind(this); - this.codes = this.codes.bind(this); - this.pinnedCodes = this.pinnedCodes.bind(this); - } - - contractInfo(request: QueryContractInfoRequest): Promise { - const data = QueryContractInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); - return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); - } - - contractHistory(request: QueryContractHistoryRequest): Promise { - const data = QueryContractHistoryRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); - return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); - } - - contractsByCode(request: QueryContractsByCodeRequest): Promise { - const data = QueryContractsByCodeRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); - return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); - } - - allContractState(request: QueryAllContractStateRequest): Promise { - const data = QueryAllContractStateRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); - return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); - } - - rawContractState(request: QueryRawContractStateRequest): Promise { - const data = QueryRawContractStateRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); - return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); - } - - smartContractState(request: QuerySmartContractStateRequest): Promise { - const data = QuerySmartContractStateRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); - return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); - } - - code(request: QueryCodeRequest): Promise { - const data = QueryCodeRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); - return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); - } - - codes(request: QueryCodesRequest = { - pagination: undefined - }): Promise { - const data = QueryCodesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); - return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); - } - - pinnedCodes(request: QueryPinnedCodesRequest = { - pagination: undefined - }): Promise { - const data = QueryPinnedCodesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); - return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - contractInfo(request: QueryContractInfoRequest): Promise { - return queryService.contractInfo(request); - }, - - contractHistory(request: QueryContractHistoryRequest): Promise { - return queryService.contractHistory(request); - }, - - contractsByCode(request: QueryContractsByCodeRequest): Promise { - return queryService.contractsByCode(request); - }, - - allContractState(request: QueryAllContractStateRequest): Promise { - return queryService.allContractState(request); - }, - - rawContractState(request: QueryRawContractStateRequest): Promise { - return queryService.rawContractState(request); - }, - - smartContractState(request: QuerySmartContractStateRequest): Promise { - return queryService.smartContractState(request); - }, - - code(request: QueryCodeRequest): Promise { - return queryService.code(request); - }, - - codes(request?: QueryCodesRequest): Promise { - return queryService.codes(request); - }, - - pinnedCodes(request?: QueryPinnedCodesRequest): Promise { - return queryService.pinnedCodes(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts deleted file mode 100644 index 8636ec5a0..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts +++ /dev/null @@ -1,1378 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ - -export interface QueryContractInfoRequest { - /** address is the address of the contract to query */ - address: string; -} -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ - -export interface QueryContractInfoRequestSDKType { - /** address is the address of the contract to query */ - address: string; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ - -export interface QueryContractInfoResponse { - /** address is the address of the contract */ - address: string; - contractInfo?: ContractInfo | undefined; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ - -export interface QueryContractInfoResponseSDKType { - /** address is the address of the contract */ - address: string; - contract_info?: ContractInfoSDKType | undefined; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ - -export interface QueryContractHistoryRequest { - /** address is the address of the contract to query */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest | undefined; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ - -export interface QueryContractHistoryRequestSDKType { - /** address is the address of the contract to query */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ - -export interface QueryContractHistoryResponse { - entries: ContractCodeHistoryEntry[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ - -export interface QueryContractHistoryResponseSDKType { - entries: ContractCodeHistoryEntrySDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ - -export interface QueryContractsByCodeRequest { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - codeId: Long; - pagination?: PageRequest | undefined; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ - -export interface QueryContractsByCodeRequestSDKType { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - code_id: Long; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ - -export interface QueryContractsByCodeResponse { - /** contracts are a set of contract addresses */ - contracts: string[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ - -export interface QueryContractsByCodeResponseSDKType { - /** contracts are a set of contract addresses */ - contracts: string[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateRequest { - /** address is the address of the contract */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest | undefined; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateRequestSDKType { - /** address is the address of the contract */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateResponse { - models: Model[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateResponseSDKType { - models: ModelSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ - -export interface QueryRawContractStateRequest { - /** address is the address of the contract */ - address: string; - queryData: Uint8Array; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ - -export interface QueryRawContractStateRequestSDKType { - /** address is the address of the contract */ - address: string; - query_data: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ - -export interface QueryRawContractStateResponse { - /** Data contains the raw store data */ - data: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ - -export interface QueryRawContractStateResponseSDKType { - /** Data contains the raw store data */ - data: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ - -export interface QuerySmartContractStateRequest { - /** address is the address of the contract */ - address: string; - /** QueryData contains the query data passed to the contract */ - - queryData: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ - -export interface QuerySmartContractStateRequestSDKType { - /** address is the address of the contract */ - address: string; - /** QueryData contains the query data passed to the contract */ - - query_data: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ - -export interface QuerySmartContractStateResponse { - /** Data contains the json data returned from the smart contract */ - data: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ - -export interface QuerySmartContractStateResponseSDKType { - /** Data contains the json data returned from the smart contract */ - data: Uint8Array; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ - -export interface QueryCodeRequest { - /** grpc-gateway_out does not support Go style CodID */ - codeId: Long; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ - -export interface QueryCodeRequestSDKType { - /** grpc-gateway_out does not support Go style CodID */ - code_id: Long; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ - -export interface CodeInfoResponse { - codeId: Long; - creator: string; - dataHash: Uint8Array; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ - -export interface CodeInfoResponseSDKType { - code_id: Long; - creator: string; - data_hash: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ - -export interface QueryCodeResponse { - codeInfo?: CodeInfoResponse | undefined; - data: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ - -export interface QueryCodeResponseSDKType { - code_info?: CodeInfoResponseSDKType | undefined; - data: Uint8Array; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ - -export interface QueryCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ - -export interface QueryCodesRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ - -export interface QueryCodesResponse { - codeInfos: CodeInfoResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ - -export interface QueryCodesResponseSDKType { - code_infos: CodeInfoResponseSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ - -export interface QueryPinnedCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ - -export interface QueryPinnedCodesRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ - -export interface QueryPinnedCodesResponse { - codeIds: Long[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse | undefined; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ - -export interface QueryPinnedCodesResponseSDKType { - code_ids: Long[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} - -function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { - return { - address: "" - }; -} - -export const QueryContractInfoRequest = { - encode(message: QueryContractInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractInfoRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractInfoRequest { - const message = createBaseQueryContractInfoRequest(); - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { - return { - address: "", - contractInfo: undefined - }; -} - -export const QueryContractInfoResponse = { - encode(message: QueryContractInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.contractInfo !== undefined) { - ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractInfoResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.contractInfo = ContractInfo.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractInfoResponse { - const message = createBaseQueryContractInfoResponse(); - message.address = object.address ?? ""; - message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; - return message; - } - -}; - -function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QueryContractHistoryRequest = { - encode(message: QueryContractHistoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractHistoryRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractHistoryRequest { - const message = createBaseQueryContractHistoryRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { - return { - entries: [], - pagination: undefined - }; -} - -export const QueryContractHistoryResponse = { - encode(message: QueryContractHistoryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractHistoryResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.entries.push(ContractCodeHistoryEntry.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractHistoryResponse { - const message = createBaseQueryContractHistoryResponse(); - message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { - return { - codeId: Long.UZERO, - pagination: undefined - }; -} - -export const QueryContractsByCodeRequest = { - encode(message: QueryContractsByCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCodeRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractsByCodeRequest { - const message = createBaseQueryContractsByCodeRequest(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { - return { - contracts: [], - pagination: undefined - }; -} - -export const QueryContractsByCodeResponse = { - encode(message: QueryContractsByCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.contracts) { - writer.uint32(10).string(v!); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCodeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.contracts.push(reader.string()); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryContractsByCodeResponse { - const message = createBaseQueryContractsByCodeResponse(); - message.contracts = object.contracts?.map(e => e) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { - return { - address: "", - pagination: undefined - }; -} - -export const QueryAllContractStateRequest = { - encode(message: QueryAllContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllContractStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllContractStateRequest { - const message = createBaseQueryAllContractStateRequest(); - message.address = object.address ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { - return { - models: [], - pagination: undefined - }; -} - -export const QueryAllContractStateResponse = { - encode(message: QueryAllContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.models) { - Model.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllContractStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.models.push(Model.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAllContractStateResponse { - const message = createBaseQueryAllContractStateResponse(); - message.models = object.models?.map(e => Model.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest { - return { - address: "", - queryData: new Uint8Array() - }; -} - -export const QueryRawContractStateRequest = { - encode(message: QueryRawContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.queryData.length !== 0) { - writer.uint32(18).bytes(message.queryData); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRawContractStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.queryData = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryRawContractStateRequest { - const message = createBaseQueryRawContractStateRequest(); - message.address = object.address ?? ""; - message.queryData = object.queryData ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse { - return { - data: new Uint8Array() - }; -} - -export const QueryRawContractStateResponse = { - encode(message: QueryRawContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRawContractStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryRawContractStateResponse { - const message = createBaseQueryRawContractStateResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest { - return { - address: "", - queryData: new Uint8Array() - }; -} - -export const QuerySmartContractStateRequest = { - encode(message: QuerySmartContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.queryData.length !== 0) { - writer.uint32(18).bytes(message.queryData); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySmartContractStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.queryData = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySmartContractStateRequest { - const message = createBaseQuerySmartContractStateRequest(); - message.address = object.address ?? ""; - message.queryData = object.queryData ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse { - return { - data: new Uint8Array() - }; -} - -export const QuerySmartContractStateResponse = { - encode(message: QuerySmartContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySmartContractStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QuerySmartContractStateResponse { - const message = createBaseQuerySmartContractStateResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryCodeRequest(): QueryCodeRequest { - return { - codeId: Long.UZERO - }; -} - -export const QueryCodeRequest = { - encode(message: QueryCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodeRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryCodeRequest { - const message = createBaseQueryCodeRequest(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - return message; - } - -}; - -function createBaseCodeInfoResponse(): CodeInfoResponse { - return { - codeId: Long.UZERO, - creator: "", - dataHash: new Uint8Array() - }; -} - -export const CodeInfoResponse = { - encode(message: CodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - - if (message.dataHash.length !== 0) { - writer.uint32(26).bytes(message.dataHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeInfoResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - case 2: - message.creator = reader.string(); - break; - - case 3: - message.dataHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CodeInfoResponse { - const message = createBaseCodeInfoResponse(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.creator = object.creator ?? ""; - message.dataHash = object.dataHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryCodeResponse(): QueryCodeResponse { - return { - codeInfo: undefined, - data: new Uint8Array() - }; -} - -export const QueryCodeResponse = { - encode(message: QueryCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeInfo !== undefined) { - CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim(); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32()); - break; - - case 2: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryCodeResponse { - const message = createBaseQueryCodeResponse(); - message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseQueryCodesRequest(): QueryCodesRequest { - return { - pagination: undefined - }; -} - -export const QueryCodesRequest = { - encode(message: QueryCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodesRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryCodesRequest { - const message = createBaseQueryCodesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryCodesResponse(): QueryCodesResponse { - return { - codeInfos: [], - pagination: undefined - }; -} - -export const QueryCodesResponse = { - encode(message: QueryCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.codeInfos) { - CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeInfos.push(CodeInfoResponse.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryCodesResponse { - const message = createBaseQueryCodesResponse(); - message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { - return { - pagination: undefined - }; -} - -export const QueryPinnedCodesRequest = { - encode(message: QueryPinnedCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPinnedCodesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPinnedCodesRequest { - const message = createBaseQueryPinnedCodesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { - return { - codeIds: [], - pagination: undefined - }; -} - -export const QueryPinnedCodesResponse = { - encode(message: QueryPinnedCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.codeIds) { - writer.uint64(v); - } - - writer.ldelim(); - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPinnedCodesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPinnedCodesResponse { - const message = createBaseQueryPinnedCodesResponse(); - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts deleted file mode 100644 index de8d2731e..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts +++ /dev/null @@ -1,252 +0,0 @@ -import { accessTypeFromJSON } from "./types"; -import { AminoMsg } from "@cosmjs/amino"; -import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; -import { Long } from "../../../helpers"; -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; -export interface AminoMsgStoreCode extends AminoMsg { - type: "wasm/MsgStoreCode"; - value: { - sender: string; - wasm_byte_code: string; - instantiate_permission: { - permission: number; - address: string; - }; - }; -} -export interface AminoMsgInstantiateContract extends AminoMsg { - type: "wasm/MsgInstantiateContract"; - value: { - sender: string; - admin: string; - code_id: string; - label: string; - msg: Uint8Array; - funds: { - denom: string; - amount: string; - }[]; - }; -} -export interface AminoMsgExecuteContract extends AminoMsg { - type: "wasm/MsgExecuteContract"; - value: { - sender: string; - contract: string; - msg: Uint8Array; - funds: { - denom: string; - amount: string; - }[]; - }; -} -export interface AminoMsgMigrateContract extends AminoMsg { - type: "wasm/MsgMigrateContract"; - value: { - sender: string; - contract: string; - code_id: string; - msg: Uint8Array; - }; -} -export interface AminoMsgUpdateAdmin extends AminoMsg { - type: "wasm/MsgUpdateAdmin"; - value: { - sender: string; - new_admin: string; - contract: string; - }; -} -export interface AminoMsgClearAdmin extends AminoMsg { - type: "wasm/MsgClearAdmin"; - value: { - sender: string; - contract: string; - }; -} -export const AminoConverter = { - "/cosmwasm.wasm.v1.MsgStoreCode": { - aminoType: "wasm/MsgStoreCode", - toAmino: ({ - sender, - wasmByteCode, - instantiatePermission - }: MsgStoreCode): AminoMsgStoreCode["value"] => { - return { - sender, - wasm_byte_code: toBase64(wasmByteCode), - instantiate_permission: { - permission: instantiatePermission.permission, - address: instantiatePermission.address - } - }; - }, - fromAmino: ({ - sender, - wasm_byte_code, - instantiate_permission - }: AminoMsgStoreCode["value"]): MsgStoreCode => { - return { - sender, - wasmByteCode: fromBase64(wasm_byte_code), - instantiatePermission: { - permission: accessTypeFromJSON(instantiate_permission.permission), - address: instantiate_permission.address - } - }; - } - }, - "/cosmwasm.wasm.v1.MsgInstantiateContract": { - aminoType: "wasm/MsgInstantiateContract", - toAmino: ({ - sender, - admin, - codeId, - label, - msg, - funds - }: MsgInstantiateContract): AminoMsgInstantiateContract["value"] => { - return { - sender, - admin, - code_id: codeId.toString(), - label, - msg: JSON.parse(fromUtf8(msg)), - funds: funds.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - sender, - admin, - code_id, - label, - msg, - funds - }: AminoMsgInstantiateContract["value"]): MsgInstantiateContract => { - return { - sender, - admin, - codeId: Long.fromString(code_id), - label, - msg: toUtf8(JSON.stringify(msg)), - funds: funds.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - }, - "/cosmwasm.wasm.v1.MsgExecuteContract": { - aminoType: "wasm/MsgExecuteContract", - toAmino: ({ - sender, - contract, - msg, - funds - }: MsgExecuteContract): AminoMsgExecuteContract["value"] => { - return { - sender, - contract, - msg: JSON.parse(fromUtf8(msg)), - funds: funds.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - }, - fromAmino: ({ - sender, - contract, - msg, - funds - }: AminoMsgExecuteContract["value"]): MsgExecuteContract => { - return { - sender, - contract, - msg: toUtf8(JSON.stringify(msg)), - funds: funds.map(el0 => ({ - denom: el0.denom, - amount: el0.amount - })) - }; - } - }, - "/cosmwasm.wasm.v1.MsgMigrateContract": { - aminoType: "wasm/MsgMigrateContract", - toAmino: ({ - sender, - contract, - codeId, - msg - }: MsgMigrateContract): AminoMsgMigrateContract["value"] => { - return { - sender, - contract, - code_id: codeId.toString(), - msg: JSON.parse(fromUtf8(msg)) - }; - }, - fromAmino: ({ - sender, - contract, - code_id, - msg - }: AminoMsgMigrateContract["value"]): MsgMigrateContract => { - return { - sender, - contract, - codeId: Long.fromString(code_id), - msg: toUtf8(JSON.stringify(msg)) - }; - } - }, - "/cosmwasm.wasm.v1.MsgUpdateAdmin": { - aminoType: "wasm/MsgUpdateAdmin", - toAmino: ({ - sender, - newAdmin, - contract - }: MsgUpdateAdmin): AminoMsgUpdateAdmin["value"] => { - return { - sender, - new_admin: newAdmin, - contract - }; - }, - fromAmino: ({ - sender, - new_admin, - contract - }: AminoMsgUpdateAdmin["value"]): MsgUpdateAdmin => { - return { - sender, - newAdmin: new_admin, - contract - }; - } - }, - "/cosmwasm.wasm.v1.MsgClearAdmin": { - aminoType: "wasm/MsgClearAdmin", - toAmino: ({ - sender, - contract - }: MsgClearAdmin): AminoMsgClearAdmin["value"] => { - return { - sender, - contract - }; - }, - fromAmino: ({ - sender, - contract - }: AminoMsgClearAdmin["value"]): MsgClearAdmin => { - return { - sender, - contract - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts deleted file mode 100644 index 456732595..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts +++ /dev/null @@ -1,142 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.encode(value).finish() - }; - }, - - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.encode(value).finish() - }; - }, - - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.encode(value).finish() - }; - }, - - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.encode(value).finish() - }; - }, - - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.encode(value).finish() - }; - }, - - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.encode(value).finish() - }; - } - - }, - withTypeUrl: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value - }; - }, - - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value - }; - }, - - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value - }; - }, - - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value - }; - }, - - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value - }; - }, - - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value - }; - } - - }, - fromPartial: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.fromPartial(value) - }; - }, - - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.fromPartial(value) - }; - }, - - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial(value) - }; - }, - - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.fromPartial(value) - }; - }, - - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.fromPartial(value) - }; - }, - - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts deleted file mode 100644 index 0e8007205..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; -/** Msg defines the wasm Msg service. */ - -export interface Msg { - /** StoreCode to submit Wasm code to the system */ - storeCode(request: MsgStoreCode): Promise; - /** Instantiate creates a new smart contract instance for the given code id. */ - - instantiateContract(request: MsgInstantiateContract): Promise; - /** Execute submits the given message data to a smart contract */ - - executeContract(request: MsgExecuteContract): Promise; - /** Migrate runs a code upgrade/ downgrade for a smart contract */ - - migrateContract(request: MsgMigrateContract): Promise; - /** UpdateAdmin sets a new admin for a smart contract */ - - updateAdmin(request: MsgUpdateAdmin): Promise; - /** ClearAdmin removes any admin stored for a smart contract */ - - clearAdmin(request: MsgClearAdmin): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.storeCode = this.storeCode.bind(this); - this.instantiateContract = this.instantiateContract.bind(this); - this.executeContract = this.executeContract.bind(this); - this.migrateContract = this.migrateContract.bind(this); - this.updateAdmin = this.updateAdmin.bind(this); - this.clearAdmin = this.clearAdmin.bind(this); - } - - storeCode(request: MsgStoreCode): Promise { - const data = MsgStoreCode.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); - return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); - } - - instantiateContract(request: MsgInstantiateContract): Promise { - const data = MsgInstantiateContract.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); - return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); - } - - executeContract(request: MsgExecuteContract): Promise { - const data = MsgExecuteContract.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); - return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); - } - - migrateContract(request: MsgMigrateContract): Promise { - const data = MsgMigrateContract.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); - return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); - } - - updateAdmin(request: MsgUpdateAdmin): Promise { - const data = MsgUpdateAdmin.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); - return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); - } - - clearAdmin(request: MsgClearAdmin): Promise { - const data = MsgClearAdmin.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); - return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts deleted file mode 100644 index b60a7ff27..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts +++ /dev/null @@ -1,944 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** MsgStoreCode submit Wasm code to the system */ - -export interface MsgStoreCode { - /** Sender is the that actor that signed the messages */ - sender: string; - /** WASMByteCode can be raw or gzip compressed */ - - wasmByteCode: Uint8Array; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - - instantiatePermission?: AccessConfig | undefined; -} -/** MsgStoreCode submit Wasm code to the system */ - -export interface MsgStoreCodeSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** WASMByteCode can be raw or gzip compressed */ - - wasm_byte_code: Uint8Array; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - - instantiate_permission?: AccessConfigSDKType | undefined; -} -/** MsgStoreCodeResponse returns store result data. */ - -export interface MsgStoreCodeResponse { - /** CodeID is the reference to the stored WASM code */ - codeId: Long; -} -/** MsgStoreCodeResponse returns store result data. */ - -export interface MsgStoreCodeResponseSDKType { - /** CodeID is the reference to the stored WASM code */ - code_id: Long; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ - -export interface MsgInstantiateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** CodeID is the reference to the stored WASM code */ - - codeId: Long; - /** Label is optional metadata to be stored with a contract instance. */ - - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: Coin[]; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ - -export interface MsgInstantiateContractSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** CodeID is the reference to the stored WASM code */ - - code_id: Long; - /** Label is optional metadata to be stored with a contract instance. */ - - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: CoinSDKType[]; -} -/** MsgInstantiateContractResponse return instantiation result data */ - -export interface MsgInstantiateContractResponse { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains base64-encoded bytes to returned from the contract */ - - data: Uint8Array; -} -/** MsgInstantiateContractResponse return instantiation result data */ - -export interface MsgInstantiateContractResponseSDKType { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains base64-encoded bytes to returned from the contract */ - - data: Uint8Array; -} -/** MsgExecuteContract submits the given message data to a smart contract */ - -export interface MsgExecuteContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on execution */ - - funds: Coin[]; -} -/** MsgExecuteContract submits the given message data to a smart contract */ - -export interface MsgExecuteContractSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** Msg json encoded message to be passed to the contract */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on execution */ - - funds: CoinSDKType[]; -} -/** MsgExecuteContractResponse returns execution result data. */ - -export interface MsgExecuteContractResponse { - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgExecuteContractResponse returns execution result data. */ - -export interface MsgExecuteContractResponseSDKType { - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ - -export interface MsgMigrateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** CodeID references the new WASM code */ - - codeId: Long; - /** Msg json encoded message to be passed to the contract on migration */ - - msg: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ - -export interface MsgMigrateContractSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; - /** CodeID references the new WASM code */ - - code_id: Long; - /** Msg json encoded message to be passed to the contract on migration */ - - msg: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ - -export interface MsgMigrateContractResponse { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ - -export interface MsgMigrateContractResponseSDKType { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data: Uint8Array; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ - -export interface MsgUpdateAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** NewAdmin address to be set */ - - newAdmin: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ - -export interface MsgUpdateAdminSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** NewAdmin address to be set */ - - new_admin: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** MsgUpdateAdminResponse returns empty data */ - -export interface MsgUpdateAdminResponse {} -/** MsgUpdateAdminResponse returns empty data */ - -export interface MsgUpdateAdminResponseSDKType {} -/** MsgClearAdmin removes any admin stored for a smart contract */ - -export interface MsgClearAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** MsgClearAdmin removes any admin stored for a smart contract */ - -export interface MsgClearAdminSDKType { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - - contract: string; -} -/** MsgClearAdminResponse returns empty data */ - -export interface MsgClearAdminResponse {} -/** MsgClearAdminResponse returns empty data */ - -export interface MsgClearAdminResponseSDKType {} - -function createBaseMsgStoreCode(): MsgStoreCode { - return { - sender: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: undefined - }; -} - -export const MsgStoreCode = { - encode(message: MsgStoreCode, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.wasmByteCode.length !== 0) { - writer.uint32(18).bytes(message.wasmByteCode); - } - - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgStoreCode(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 2: - message.wasmByteCode = reader.bytes(); - break; - - case 5: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgStoreCode { - const message = createBaseMsgStoreCode(); - message.sender = object.sender ?? ""; - message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); - message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; - return message; - } - -}; - -function createBaseMsgStoreCodeResponse(): MsgStoreCodeResponse { - return { - codeId: Long.UZERO - }; -} - -export const MsgStoreCodeResponse = { - encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgStoreCodeResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgStoreCodeResponse { - const message = createBaseMsgStoreCodeResponse(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgInstantiateContract(): MsgInstantiateContract { - return { - sender: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [] - }; -} - -export const MsgInstantiateContract = { - encode(message: MsgInstantiateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.admin !== "") { - writer.uint32(18).string(message.admin); - } - - if (!message.codeId.isZero()) { - writer.uint32(24).uint64(message.codeId); - } - - if (message.label !== "") { - writer.uint32(34).string(message.label); - } - - if (message.msg.length !== 0) { - writer.uint32(42).bytes(message.msg); - } - - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContract(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 2: - message.admin = reader.string(); - break; - - case 3: - message.codeId = (reader.uint64() as Long); - break; - - case 4: - message.label = reader.string(); - break; - - case 5: - message.msg = reader.bytes(); - break; - - case 6: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgInstantiateContract { - const message = createBaseMsgInstantiateContract(); - message.sender = object.sender ?? ""; - message.admin = object.admin ?? ""; - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.label = object.label ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgInstantiateContractResponse(): MsgInstantiateContractResponse { - return { - address: "", - data: new Uint8Array() - }; -} - -export const MsgInstantiateContractResponse = { - encode(message: MsgInstantiateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContractResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgInstantiateContractResponse { - const message = createBaseMsgInstantiateContractResponse(); - message.address = object.address ?? ""; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgExecuteContract(): MsgExecuteContract { - return { - sender: "", - contract: "", - msg: new Uint8Array(), - funds: [] - }; -} - -export const MsgExecuteContract = { - encode(message: MsgExecuteContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.contract !== "") { - writer.uint32(18).string(message.contract); - } - - if (message.msg.length !== 0) { - writer.uint32(26).bytes(message.msg); - } - - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecuteContract(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 2: - message.contract = reader.string(); - break; - - case 3: - message.msg = reader.bytes(); - break; - - case 5: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExecuteContract { - const message = createBaseMsgExecuteContract(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMsgExecuteContractResponse(): MsgExecuteContractResponse { - return { - data: new Uint8Array() - }; -} - -export const MsgExecuteContractResponse = { - encode(message: MsgExecuteContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecuteContractResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgExecuteContractResponse { - const message = createBaseMsgExecuteContractResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgMigrateContract(): MsgMigrateContract { - return { - sender: "", - contract: "", - codeId: Long.UZERO, - msg: new Uint8Array() - }; -} - -export const MsgMigrateContract = { - encode(message: MsgMigrateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.contract !== "") { - writer.uint32(18).string(message.contract); - } - - if (!message.codeId.isZero()) { - writer.uint32(24).uint64(message.codeId); - } - - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMigrateContract(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 2: - message.contract = reader.string(); - break; - - case 3: - message.codeId = (reader.uint64() as Long); - break; - - case 4: - message.msg = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgMigrateContract { - const message = createBaseMsgMigrateContract(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.msg = object.msg ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgMigrateContractResponse(): MsgMigrateContractResponse { - return { - data: new Uint8Array() - }; -} - -export const MsgMigrateContractResponse = { - encode(message: MsgMigrateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMigrateContractResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgMigrateContractResponse { - const message = createBaseMsgMigrateContractResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgUpdateAdmin(): MsgUpdateAdmin { - return { - sender: "", - newAdmin: "", - contract: "" - }; -} - -export const MsgUpdateAdmin = { - encode(message: MsgUpdateAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.newAdmin !== "") { - writer.uint32(18).string(message.newAdmin); - } - - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateAdmin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 2: - message.newAdmin = reader.string(); - break; - - case 3: - message.contract = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateAdmin { - const message = createBaseMsgUpdateAdmin(); - message.sender = object.sender ?? ""; - message.newAdmin = object.newAdmin ?? ""; - message.contract = object.contract ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateAdminResponse(): MsgUpdateAdminResponse { - return {}; -} - -export const MsgUpdateAdminResponse = { - encode(_: MsgUpdateAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateAdminResponse { - const message = createBaseMsgUpdateAdminResponse(); - return message; - } - -}; - -function createBaseMsgClearAdmin(): MsgClearAdmin { - return { - sender: "", - contract: "" - }; -} - -export const MsgClearAdmin = { - encode(message: MsgClearAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgClearAdmin(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - - case 3: - message.contract = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgClearAdmin { - const message = createBaseMsgClearAdmin(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - return message; - } - -}; - -function createBaseMsgClearAdminResponse(): MsgClearAdminResponse { - return {}; -} - -export const MsgClearAdminResponse = { - encode(_: MsgClearAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgClearAdminResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgClearAdminResponse { - const message = createBaseMsgClearAdminResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts deleted file mode 100644 index 5ca38183a..000000000 --- a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts +++ /dev/null @@ -1,863 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -/** AccessType permission types */ - -export enum AccessType { - /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ - ACCESS_TYPE_UNSPECIFIED = 0, - - /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ - ACCESS_TYPE_NOBODY = 1, - - /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - UNRECOGNIZED = -1, -} -/** AccessType permission types */ - -export enum AccessTypeSDKType { - /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ - ACCESS_TYPE_UNSPECIFIED = 0, - - /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ - ACCESS_TYPE_NOBODY = 1, - - /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - UNRECOGNIZED = -1, -} -export function accessTypeFromJSON(object: any): AccessType { - switch (object) { - case 0: - case "ACCESS_TYPE_UNSPECIFIED": - return AccessType.ACCESS_TYPE_UNSPECIFIED; - - case 1: - case "ACCESS_TYPE_NOBODY": - return AccessType.ACCESS_TYPE_NOBODY; - - case 2: - case "ACCESS_TYPE_ONLY_ADDRESS": - return AccessType.ACCESS_TYPE_ONLY_ADDRESS; - - case 3: - case "ACCESS_TYPE_EVERYBODY": - return AccessType.ACCESS_TYPE_EVERYBODY; - - case -1: - case "UNRECOGNIZED": - default: - return AccessType.UNRECOGNIZED; - } -} -export function accessTypeToJSON(object: AccessType): string { - switch (object) { - case AccessType.ACCESS_TYPE_UNSPECIFIED: - return "ACCESS_TYPE_UNSPECIFIED"; - - case AccessType.ACCESS_TYPE_NOBODY: - return "ACCESS_TYPE_NOBODY"; - - case AccessType.ACCESS_TYPE_ONLY_ADDRESS: - return "ACCESS_TYPE_ONLY_ADDRESS"; - - case AccessType.ACCESS_TYPE_EVERYBODY: - return "ACCESS_TYPE_EVERYBODY"; - - case AccessType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ContractCodeHistoryOperationType actions that caused a code change */ - -export enum ContractCodeHistoryOperationType { - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, - UNRECOGNIZED = -1, -} -/** ContractCodeHistoryOperationType actions that caused a code change */ - -export enum ContractCodeHistoryOperationTypeSDKType { - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, - - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, - UNRECOGNIZED = -1, -} -export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { - switch (object) { - case 0: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED; - - case 1: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT; - - case 2: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE; - - case 3: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS; - - case -1: - case "UNRECOGNIZED": - default: - return ContractCodeHistoryOperationType.UNRECOGNIZED; - } -} -export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string { - switch (object) { - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"; - - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"; - - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"; - - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; - - case ContractCodeHistoryOperationType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** AccessTypeParam */ - -export interface AccessTypeParam { - value: AccessType; -} -/** AccessTypeParam */ - -export interface AccessTypeParamSDKType { - value: AccessTypeSDKType; -} -/** AccessConfig access control type. */ - -export interface AccessConfig { - permission: AccessType; - address: string; -} -/** AccessConfig access control type. */ - -export interface AccessConfigSDKType { - permission: AccessTypeSDKType; - address: string; -} -/** Params defines the set of wasm parameters. */ - -export interface Params { - codeUploadAccess?: AccessConfig | undefined; - instantiateDefaultPermission: AccessType; - maxWasmCodeSize: Long; -} -/** Params defines the set of wasm parameters. */ - -export interface ParamsSDKType { - code_upload_access?: AccessConfigSDKType | undefined; - instantiate_default_permission: AccessTypeSDKType; - max_wasm_code_size: Long; -} -/** CodeInfo is data for the uploaded contract WASM code */ - -export interface CodeInfo { - /** CodeHash is the unique identifier created by wasmvm */ - codeHash: Uint8Array; - /** Creator address who initially stored the code */ - - creator: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - - instantiateConfig?: AccessConfig | undefined; -} -/** CodeInfo is data for the uploaded contract WASM code */ - -export interface CodeInfoSDKType { - /** CodeHash is the unique identifier created by wasmvm */ - code_hash: Uint8Array; - /** Creator address who initially stored the code */ - - creator: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - - instantiate_config?: AccessConfigSDKType | undefined; -} -/** ContractInfo stores a WASM contract instance */ - -export interface ContractInfo { - /** CodeID is the reference to the stored Wasm code */ - codeId: Long; - /** Creator address who initially instantiated the contract */ - - creator: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** Label is optional metadata to be stored with a contract instance. */ - - label: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - - created?: AbsoluteTxPosition | undefined; - ibcPortId: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - - extension?: Any | undefined; -} -/** ContractInfo stores a WASM contract instance */ - -export interface ContractInfoSDKType { - /** CodeID is the reference to the stored Wasm code */ - code_id: Long; - /** Creator address who initially instantiated the contract */ - - creator: string; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** Label is optional metadata to be stored with a contract instance. */ - - label: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - - created?: AbsoluteTxPositionSDKType | undefined; - ibc_port_id: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - - extension?: AnySDKType | undefined; -} -/** ContractCodeHistoryEntry metadata to a contract. */ - -export interface ContractCodeHistoryEntry { - operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - - codeId: Long; - /** Updated Tx position when the operation was executed. */ - - updated?: AbsoluteTxPosition | undefined; - msg: Uint8Array; -} -/** ContractCodeHistoryEntry metadata to a contract. */ - -export interface ContractCodeHistoryEntrySDKType { - operation: ContractCodeHistoryOperationTypeSDKType; - /** CodeID is the reference to the stored WASM code */ - - code_id: Long; - /** Updated Tx position when the operation was executed. */ - - updated?: AbsoluteTxPositionSDKType | undefined; - msg: Uint8Array; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ - -export interface AbsoluteTxPosition { - /** BlockHeight is the block the contract was created at */ - blockHeight: Long; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - - txIndex: Long; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ - -export interface AbsoluteTxPositionSDKType { - /** BlockHeight is the block the contract was created at */ - block_height: Long; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - - tx_index: Long; -} -/** Model is a struct that holds a KV pair */ - -export interface Model { - /** hex-encode key to read it better (this is often ascii) */ - key: Uint8Array; - /** base64-encode raw value */ - - value: Uint8Array; -} -/** Model is a struct that holds a KV pair */ - -export interface ModelSDKType { - /** hex-encode key to read it better (this is often ascii) */ - key: Uint8Array; - /** base64-encode raw value */ - - value: Uint8Array; -} - -function createBaseAccessTypeParam(): AccessTypeParam { - return { - value: 0 - }; -} - -export const AccessTypeParam = { - encode(message: AccessTypeParam, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).int32(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAccessTypeParam(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.value = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AccessTypeParam { - const message = createBaseAccessTypeParam(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseAccessConfig(): AccessConfig { - return { - permission: 0, - address: "" - }; -} - -export const AccessConfig = { - encode(message: AccessConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.permission !== 0) { - writer.uint32(8).int32(message.permission); - } - - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAccessConfig(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.permission = (reader.int32() as any); - break; - - case 2: - message.address = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AccessConfig { - const message = createBaseAccessConfig(); - message.permission = object.permission ?? 0; - message.address = object.address ?? ""; - return message; - } - -}; - -function createBaseParams(): Params { - return { - codeUploadAccess: undefined, - instantiateDefaultPermission: 0, - maxWasmCodeSize: Long.UZERO - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeUploadAccess !== undefined) { - AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim(); - } - - if (message.instantiateDefaultPermission !== 0) { - writer.uint32(16).int32(message.instantiateDefaultPermission); - } - - if (!message.maxWasmCodeSize.isZero()) { - writer.uint32(24).uint64(message.maxWasmCodeSize); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codeUploadAccess = AccessConfig.decode(reader, reader.uint32()); - break; - - case 2: - message.instantiateDefaultPermission = (reader.int32() as any); - break; - - case 3: - message.maxWasmCodeSize = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; - message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; - message.maxWasmCodeSize = object.maxWasmCodeSize !== undefined && object.maxWasmCodeSize !== null ? Long.fromValue(object.maxWasmCodeSize) : Long.UZERO; - return message; - } - -}; - -function createBaseCodeInfo(): CodeInfo { - return { - codeHash: new Uint8Array(), - creator: "", - instantiateConfig: undefined - }; -} - -export const CodeInfo = { - encode(message: CodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeHash.length !== 0) { - writer.uint32(10).bytes(message.codeHash); - } - - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - - if (message.instantiateConfig !== undefined) { - AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeHash = reader.bytes(); - break; - - case 2: - message.creator = reader.string(); - break; - - case 5: - message.instantiateConfig = AccessConfig.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CodeInfo { - const message = createBaseCodeInfo(); - message.codeHash = object.codeHash ?? new Uint8Array(); - message.creator = object.creator ?? ""; - message.instantiateConfig = object.instantiateConfig !== undefined && object.instantiateConfig !== null ? AccessConfig.fromPartial(object.instantiateConfig) : undefined; - return message; - } - -}; - -function createBaseContractInfo(): ContractInfo { - return { - codeId: Long.UZERO, - creator: "", - admin: "", - label: "", - created: undefined, - ibcPortId: "", - extension: undefined - }; -} - -export const ContractInfo = { - encode(message: ContractInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - - if (message.admin !== "") { - writer.uint32(26).string(message.admin); - } - - if (message.label !== "") { - writer.uint32(34).string(message.label); - } - - if (message.created !== undefined) { - AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim(); - } - - if (message.ibcPortId !== "") { - writer.uint32(50).string(message.ibcPortId); - } - - if (message.extension !== undefined) { - Any.encode(message.extension, writer.uint32(58).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - case 2: - message.creator = reader.string(); - break; - - case 3: - message.admin = reader.string(); - break; - - case 4: - message.label = reader.string(); - break; - - case 5: - message.created = AbsoluteTxPosition.decode(reader, reader.uint32()); - break; - - case 6: - message.ibcPortId = reader.string(); - break; - - case 7: - message.extension = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ContractInfo { - const message = createBaseContractInfo(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.creator = object.creator ?? ""; - message.admin = object.admin ?? ""; - message.label = object.label ?? ""; - message.created = object.created !== undefined && object.created !== null ? AbsoluteTxPosition.fromPartial(object.created) : undefined; - message.ibcPortId = object.ibcPortId ?? ""; - message.extension = object.extension !== undefined && object.extension !== null ? Any.fromPartial(object.extension) : undefined; - return message; - } - -}; - -function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { - return { - operation: 0, - codeId: Long.UZERO, - updated: undefined, - msg: new Uint8Array() - }; -} - -export const ContractCodeHistoryEntry = { - encode(message: ContractCodeHistoryEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operation !== 0) { - writer.uint32(8).int32(message.operation); - } - - if (!message.codeId.isZero()) { - writer.uint32(16).uint64(message.codeId); - } - - if (message.updated !== undefined) { - AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim(); - } - - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractCodeHistoryEntry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.operation = (reader.int32() as any); - break; - - case 2: - message.codeId = (reader.uint64() as Long); - break; - - case 3: - message.updated = AbsoluteTxPosition.decode(reader, reader.uint32()); - break; - - case 4: - message.msg = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ContractCodeHistoryEntry { - const message = createBaseContractCodeHistoryEntry(); - message.operation = object.operation ?? 0; - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.updated = object.updated !== undefined && object.updated !== null ? AbsoluteTxPosition.fromPartial(object.updated) : undefined; - message.msg = object.msg ?? new Uint8Array(); - return message; - } - -}; - -function createBaseAbsoluteTxPosition(): AbsoluteTxPosition { - return { - blockHeight: Long.UZERO, - txIndex: Long.UZERO - }; -} - -export const AbsoluteTxPosition = { - encode(message: AbsoluteTxPosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - writer.uint32(8).uint64(message.blockHeight); - } - - if (!message.txIndex.isZero()) { - writer.uint32(16).uint64(message.txIndex); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAbsoluteTxPosition(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.blockHeight = (reader.uint64() as Long); - break; - - case 2: - message.txIndex = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): AbsoluteTxPosition { - const message = createBaseAbsoluteTxPosition(); - message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; - message.txIndex = object.txIndex !== undefined && object.txIndex !== null ? Long.fromValue(object.txIndex) : Long.UZERO; - return message; - } - -}; - -function createBaseModel(): Model { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} - -export const Model = { - encode(message: Model, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Model { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModel(); - - 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; - }, - - fromPartial(object: Partial): Model { - const message = createBaseModel(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/bundle.ts b/examples/telescope/codegen/gogoproto/bundle.ts deleted file mode 100644 index c34b9c64c..000000000 --- a/examples/telescope/codegen/gogoproto/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _100 from "./gogo"; -export const gogoproto = { ..._100 -}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/gogo.ts b/examples/telescope/codegen/gogoproto/gogo.ts deleted file mode 100644 index 693da49fc..000000000 --- a/examples/telescope/codegen/gogoproto/gogo.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/annotations.ts b/examples/telescope/codegen/google/api/annotations.ts deleted file mode 100644 index 693da49fc..000000000 --- a/examples/telescope/codegen/google/api/annotations.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/http.ts b/examples/telescope/codegen/google/api/http.ts deleted file mode 100644 index 8edd441a2..000000000 --- a/examples/telescope/codegen/google/api/http.ts +++ /dev/null @@ -1,978 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * 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 - * to one or more HTTP REST API methods. - */ - -export interface Http { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: HttpRule[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - - fullyDecodeReservedExpansion: boolean; -} -/** - * 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 - * to one or more HTTP REST API methods. - */ - -export interface HttpSDKType { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: HttpRuleSDKType[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - - fully_decode_reserved_expansion: boolean; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - -export interface HttpRule { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - - custom?: CustomHttpPattern | undefined; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - - body: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - - responseBody: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - - additionalBindings: HttpRule[]; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ - -export interface HttpRuleSDKType { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - - custom?: CustomHttpPatternSDKType | undefined; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - - body: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - - response_body: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - - additional_bindings: HttpRuleSDKType[]; -} -/** A custom pattern is used for defining custom HTTP verb. */ - -export interface CustomHttpPattern { - /** The name of this custom HTTP verb. */ - kind: string; - /** The path matched by this custom verb. */ - - path: string; -} -/** A custom pattern is used for defining custom HTTP verb. */ - -export interface CustomHttpPatternSDKType { - /** The name of this custom HTTP verb. */ - kind: string; - /** The path matched by this custom verb. */ - - path: string; -} - -function createBaseHttp(): Http { - return { - rules: [], - fullyDecodeReservedExpansion: false - }; -} - -export const Http = { - encode(message: Http, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.fullyDecodeReservedExpansion === true) { - writer.uint32(16).bool(message.fullyDecodeReservedExpansion); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Http { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rules.push(HttpRule.decode(reader, reader.uint32())); - break; - - case 2: - message.fullyDecodeReservedExpansion = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Http { - const message = createBaseHttp(); - message.rules = object.rules?.map(e => HttpRule.fromPartial(e)) || []; - message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false; - return message; - } - -}; - -function createBaseHttpRule(): HttpRule { - return { - selector: "", - get: undefined, - put: undefined, - post: undefined, - delete: undefined, - patch: undefined, - custom: undefined, - body: "", - responseBody: "", - additionalBindings: [] - }; -} - -export const HttpRule = { - encode(message: HttpRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - - if (message.get !== undefined) { - writer.uint32(18).string(message.get); - } - - if (message.put !== undefined) { - writer.uint32(26).string(message.put); - } - - if (message.post !== undefined) { - writer.uint32(34).string(message.post); - } - - if (message.delete !== undefined) { - writer.uint32(42).string(message.delete); - } - - if (message.patch !== undefined) { - writer.uint32(50).string(message.patch); - } - - if (message.custom !== undefined) { - CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim(); - } - - if (message.body !== "") { - writer.uint32(58).string(message.body); - } - - if (message.responseBody !== "") { - writer.uint32(98).string(message.responseBody); - } - - for (const v of message.additionalBindings) { - HttpRule.encode(v!, writer.uint32(90).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttpRule(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - - case 2: - message.get = reader.string(); - break; - - case 3: - message.put = reader.string(); - break; - - case 4: - message.post = reader.string(); - break; - - case 5: - message.delete = reader.string(); - break; - - case 6: - message.patch = reader.string(); - break; - - case 8: - message.custom = CustomHttpPattern.decode(reader, reader.uint32()); - break; - - case 7: - message.body = reader.string(); - break; - - case 12: - message.responseBody = reader.string(); - break; - - case 11: - message.additionalBindings.push(HttpRule.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): HttpRule { - const message = createBaseHttpRule(); - message.selector = object.selector ?? ""; - message.get = object.get ?? undefined; - message.put = object.put ?? undefined; - message.post = object.post ?? undefined; - message.delete = object.delete ?? undefined; - message.patch = object.patch ?? undefined; - message.custom = object.custom !== undefined && object.custom !== null ? CustomHttpPattern.fromPartial(object.custom) : undefined; - message.body = object.body ?? ""; - message.responseBody = object.responseBody ?? ""; - message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCustomHttpPattern(): CustomHttpPattern { - return { - kind: "", - path: "" - }; -} - -export const CustomHttpPattern = { - encode(message: CustomHttpPattern, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.kind !== "") { - writer.uint32(10).string(message.kind); - } - - if (message.path !== "") { - writer.uint32(18).string(message.path); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCustomHttpPattern(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.kind = reader.string(); - break; - - case 2: - message.path = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CustomHttpPattern { - const message = createBaseCustomHttpPattern(); - message.kind = object.kind ?? ""; - message.path = object.path ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/bundle.ts b/examples/telescope/codegen/google/bundle.ts deleted file mode 100644 index 390b33a10..000000000 --- a/examples/telescope/codegen/google/bundle.ts +++ /dev/null @@ -1,18 +0,0 @@ -import * as _101 from "./api/annotations"; -import * as _102 from "./api/http"; -import * as _103 from "./protobuf/any"; -import * as _104 from "./protobuf/descriptor"; -import * as _105 from "./protobuf/duration"; -import * as _106 from "./protobuf/empty"; -import * as _107 from "./protobuf/timestamp"; -export namespace google { - export const api = { ..._101, - ..._102 - }; - export const protobuf = { ..._103, - ..._104, - ..._105, - ..._106, - ..._107 - }; -} \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/any.ts b/examples/telescope/codegen/google/protobuf/any.ts deleted file mode 100644 index 7e7f18573..000000000 --- a/examples/telescope/codegen/google/protobuf/any.ts +++ /dev/null @@ -1,290 +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 { - /** - * 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; -} -/** - * `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 { - /** - * 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_url: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - - value: Uint8Array; -} - -function createBaseAny(): Any { - return { - typeUrl: "", - value: new Uint8Array() - }; -} - -export const Any = { - encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.typeUrl !== "") { - writer.uint32(10).string(message.typeUrl); - } - - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Any { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAny(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.typeUrl = reader.string(); - break; - - case 2: - message.value = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Any { - const message = createBaseAny(); - message.typeUrl = object.typeUrl ?? ""; - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/descriptor.ts b/examples/telescope/codegen/google/protobuf/descriptor.ts deleted file mode 100644 index 346a5a8a1..000000000 --- a/examples/telescope/codegen/google/protobuf/descriptor.ts +++ /dev/null @@ -1,4324 +0,0 @@ -//@ts-nocheck -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -export 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 enum FieldDescriptorProto_TypeSDKType { - /** - * 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { - switch (object) { - case 1: - case "TYPE_DOUBLE": - return FieldDescriptorProto_Type.TYPE_DOUBLE; - - case 2: - case "TYPE_FLOAT": - return FieldDescriptorProto_Type.TYPE_FLOAT; - - case 3: - case "TYPE_INT64": - return FieldDescriptorProto_Type.TYPE_INT64; - - case 4: - case "TYPE_UINT64": - return FieldDescriptorProto_Type.TYPE_UINT64; - - case 5: - case "TYPE_INT32": - return FieldDescriptorProto_Type.TYPE_INT32; - - case 6: - case "TYPE_FIXED64": - return FieldDescriptorProto_Type.TYPE_FIXED64; - - case 7: - case "TYPE_FIXED32": - return FieldDescriptorProto_Type.TYPE_FIXED32; - - case 8: - case "TYPE_BOOL": - return FieldDescriptorProto_Type.TYPE_BOOL; - - case 9: - case "TYPE_STRING": - return FieldDescriptorProto_Type.TYPE_STRING; - - case 10: - case "TYPE_GROUP": - return FieldDescriptorProto_Type.TYPE_GROUP; - - case 11: - case "TYPE_MESSAGE": - return FieldDescriptorProto_Type.TYPE_MESSAGE; - - case 12: - case "TYPE_BYTES": - return FieldDescriptorProto_Type.TYPE_BYTES; - - case 13: - case "TYPE_UINT32": - return FieldDescriptorProto_Type.TYPE_UINT32; - - case 14: - case "TYPE_ENUM": - return FieldDescriptorProto_Type.TYPE_ENUM; - - case 15: - case "TYPE_SFIXED32": - return FieldDescriptorProto_Type.TYPE_SFIXED32; - - case 16: - case "TYPE_SFIXED64": - return FieldDescriptorProto_Type.TYPE_SFIXED64; - - case 17: - case "TYPE_SINT32": - return FieldDescriptorProto_Type.TYPE_SINT32; - - case 18: - case "TYPE_SINT64": - return FieldDescriptorProto_Type.TYPE_SINT64; - - case -1: - case "UNRECOGNIZED": - default: - return FieldDescriptorProto_Type.UNRECOGNIZED; - } -} -export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string { - switch (object) { - case FieldDescriptorProto_Type.TYPE_DOUBLE: - return "TYPE_DOUBLE"; - - case FieldDescriptorProto_Type.TYPE_FLOAT: - return "TYPE_FLOAT"; - - case FieldDescriptorProto_Type.TYPE_INT64: - return "TYPE_INT64"; - - case FieldDescriptorProto_Type.TYPE_UINT64: - return "TYPE_UINT64"; - - case FieldDescriptorProto_Type.TYPE_INT32: - return "TYPE_INT32"; - - case FieldDescriptorProto_Type.TYPE_FIXED64: - return "TYPE_FIXED64"; - - case FieldDescriptorProto_Type.TYPE_FIXED32: - return "TYPE_FIXED32"; - - case FieldDescriptorProto_Type.TYPE_BOOL: - return "TYPE_BOOL"; - - case FieldDescriptorProto_Type.TYPE_STRING: - return "TYPE_STRING"; - - case FieldDescriptorProto_Type.TYPE_GROUP: - return "TYPE_GROUP"; - - case FieldDescriptorProto_Type.TYPE_MESSAGE: - return "TYPE_MESSAGE"; - - case FieldDescriptorProto_Type.TYPE_BYTES: - return "TYPE_BYTES"; - - case FieldDescriptorProto_Type.TYPE_UINT32: - return "TYPE_UINT32"; - - case FieldDescriptorProto_Type.TYPE_ENUM: - return "TYPE_ENUM"; - - case FieldDescriptorProto_Type.TYPE_SFIXED32: - return "TYPE_SFIXED32"; - - case FieldDescriptorProto_Type.TYPE_SFIXED64: - return "TYPE_SFIXED64"; - - case FieldDescriptorProto_Type.TYPE_SINT32: - return "TYPE_SINT32"; - - case FieldDescriptorProto_Type.TYPE_SINT64: - return "TYPE_SINT64"; - - case FieldDescriptorProto_Type.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum FieldDescriptorProto_Label { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1, -} -export enum FieldDescriptorProto_LabelSDKType { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1, -} -export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { - switch (object) { - case 1: - case "LABEL_OPTIONAL": - return FieldDescriptorProto_Label.LABEL_OPTIONAL; - - case 2: - case "LABEL_REQUIRED": - return FieldDescriptorProto_Label.LABEL_REQUIRED; - - case 3: - case "LABEL_REPEATED": - return FieldDescriptorProto_Label.LABEL_REPEATED; - - case -1: - case "UNRECOGNIZED": - default: - return FieldDescriptorProto_Label.UNRECOGNIZED; - } -} -export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string { - switch (object) { - case FieldDescriptorProto_Label.LABEL_OPTIONAL: - return "LABEL_OPTIONAL"; - - case FieldDescriptorProto_Label.LABEL_REQUIRED: - return "LABEL_REQUIRED"; - - case FieldDescriptorProto_Label.LABEL_REPEATED: - return "LABEL_REPEATED"; - - case FieldDescriptorProto_Label.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Generated classes can be optimized for speed or code size. */ - -export 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, -} -/** Generated classes can be optimized for speed or code size. */ - -export enum FileOptions_OptimizeModeSDKType { - /** - * 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { - switch (object) { - case 1: - case "SPEED": - return FileOptions_OptimizeMode.SPEED; - - case 2: - case "CODE_SIZE": - return FileOptions_OptimizeMode.CODE_SIZE; - - case 3: - case "LITE_RUNTIME": - return FileOptions_OptimizeMode.LITE_RUNTIME; - - case -1: - case "UNRECOGNIZED": - default: - return FileOptions_OptimizeMode.UNRECOGNIZED; - } -} -export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string { - switch (object) { - case FileOptions_OptimizeMode.SPEED: - return "SPEED"; - - case FileOptions_OptimizeMode.CODE_SIZE: - return "CODE_SIZE"; - - case FileOptions_OptimizeMode.LITE_RUNTIME: - return "LITE_RUNTIME"; - - case FileOptions_OptimizeMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum FieldOptions_CType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1, -} -export enum FieldOptions_CTypeSDKType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1, -} -export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { - switch (object) { - case 0: - case "STRING": - return FieldOptions_CType.STRING; - - case 1: - case "CORD": - return FieldOptions_CType.CORD; - - case 2: - case "STRING_PIECE": - return FieldOptions_CType.STRING_PIECE; - - case -1: - case "UNRECOGNIZED": - default: - return FieldOptions_CType.UNRECOGNIZED; - } -} -export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { - switch (object) { - case FieldOptions_CType.STRING: - return "STRING"; - - case FieldOptions_CType.CORD: - return "CORD"; - - case FieldOptions_CType.STRING_PIECE: - return "STRING_PIECE"; - - case FieldOptions_CType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export 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 enum FieldOptions_JSTypeSDKType { - /** 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { - switch (object) { - case 0: - case "JS_NORMAL": - return FieldOptions_JSType.JS_NORMAL; - - case 1: - case "JS_STRING": - return FieldOptions_JSType.JS_STRING; - - case 2: - case "JS_NUMBER": - return FieldOptions_JSType.JS_NUMBER; - - case -1: - case "UNRECOGNIZED": - default: - return FieldOptions_JSType.UNRECOGNIZED; - } -} -export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { - switch (object) { - case FieldOptions_JSType.JS_NORMAL: - return "JS_NORMAL"; - - case FieldOptions_JSType.JS_STRING: - return "JS_STRING"; - - case FieldOptions_JSType.JS_NUMBER: - return "JS_NUMBER"; - - case FieldOptions_JSType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * 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 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, -} -/** - * 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 enum MethodOptions_IdempotencyLevelSDKType { - IDEMPOTENCY_UNKNOWN = 0, - - /** NO_SIDE_EFFECTS - implies idempotent */ - NO_SIDE_EFFECTS = 1, - - /** IDEMPOTENT - idempotent, but may have side effects */ - IDEMPOTENT = 2, - UNRECOGNIZED = -1, -} -export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { - switch (object) { - case 0: - case "IDEMPOTENCY_UNKNOWN": - return MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN; - - case 1: - case "NO_SIDE_EFFECTS": - return MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS; - - case 2: - case "IDEMPOTENT": - return MethodOptions_IdempotencyLevel.IDEMPOTENT; - - case -1: - case "UNRECOGNIZED": - default: - return MethodOptions_IdempotencyLevel.UNRECOGNIZED; - } -} -export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string { - switch (object) { - case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN: - return "IDEMPOTENCY_UNKNOWN"; - - case MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS: - return "NO_SIDE_EFFECTS"; - - case MethodOptions_IdempotencyLevel.IDEMPOTENT: - return "IDEMPOTENT"; - - case MethodOptions_IdempotencyLevel.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ - -export interface FileDescriptorSet { - file: FileDescriptorProto[]; -} -/** - * 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 | undefined; - /** - * 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 | undefined; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - - syntax: string; -} -/** Describes a complete .proto file. */ - -export interface FileDescriptorProtoSDKType { - /** 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: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options?: FileOptionsSDKType | undefined; - /** - * 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?: SourceCodeInfoSDKType | undefined; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - - 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 | undefined; - 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[]; -} -/** 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 | undefined; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - /** - * 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 DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - - end: number; - options?: ExtensionRangeOptions | undefined; -} -export interface DescriptorProto_ExtensionRangeSDKType { - /** Inclusive. */ - start: number; - /** Exclusive. */ - - end: number; - options?: ExtensionRangeOptionsSDKType | undefined; -} -/** - * 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; -} -/** - * 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 { - /** Inclusive. */ - start: number; - /** Exclusive. */ - - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsSDKType { - /** The parser stores options it doesn't recognize here. See above. */ - 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 | undefined; -} -/** Describes a field within a message. */ - -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_LabelSDKType; - /** - * 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_TypeSDKType; - /** - * 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?: FieldOptionsSDKType | undefined; -} -/** Describes a oneof. */ - -export interface OneofDescriptorProto { - name: string; - options?: OneofOptions | undefined; -} -/** Describes a oneof. */ - -export interface OneofDescriptorProtoSDKType { - name: string; - options?: OneofOptionsSDKType | undefined; -} -/** Describes an enum type. */ - -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options?: EnumOptions | undefined; - /** - * 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[]; -} -/** Describes an enum type. */ - -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options?: EnumOptionsSDKType | undefined; - /** - * 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_EnumReservedRangeSDKType[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - - 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; -} -/** - * 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 { - /** Inclusive. */ - start: number; - /** Inclusive. */ - - end: number; -} -/** Describes a value within an enum. */ - -export interface EnumValueDescriptorProto { - name: string; - number: number; - options?: EnumValueOptions | undefined; -} -/** Describes a value within an enum. */ - -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options?: EnumValueOptionsSDKType | undefined; -} -/** Describes a service. */ - -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options?: ServiceOptions | undefined; -} -/** Describes a service. */ - -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options?: ServiceOptionsSDKType | undefined; -} -/** 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 | undefined; - /** Identifies if client streams multiple client messages */ - - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - - serverStreaming: boolean; -} -/** Describes a method of a service. */ - -export interface MethodDescriptorProtoSDKType { - 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?: MethodOptionsSDKType | undefined; - /** Identifies if client streams multiple client messages */ - - client_streaming: boolean; - /** Identifies if server streams multiple server messages */ - - 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 FileOptionsSDKType { - /** - * 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_OptimizeModeSDKType; - /** - * 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: 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 MessageOptionsSDKType { - /** - * 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: 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 FieldOptionsSDKType { - /** - * 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_CTypeSDKType; - /** - * 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_JSTypeSDKType; - /** - * 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: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsSDKType { - /** The parser stores options it doesn't recognize here. See above. */ - 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 EnumOptionsSDKType { - /** - * 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: 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 EnumValueOptionsSDKType { - /** - * 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: 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 ServiceOptionsSDKType { - /** - * 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: 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 MethodOptionsSDKType { - /** - * 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_IdempotencyLevelSDKType; - /** The parser stores options it doesn't recognize here. See above. */ - - 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; -} -/** - * 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[]; - /** - * 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: 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; -} -/** - * 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[]; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ - -export interface SourceCodeInfoSDKType { - /** - * 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_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_LocationSDKType { - /** - * 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[]; -} -/** - * 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[]; -} -/** - * 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 { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - 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_AnnotationSDKType { - /** - * 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; -} - -function createBaseFileDescriptorSet(): FileDescriptorSet { - return { - file: [] - }; -} - -export const FileDescriptorSet = { - encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.file) { - FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileDescriptorSet(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.file.push(FileDescriptorProto.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FileDescriptorSet { - const message = createBaseFileDescriptorSet(); - message.file = object.file?.map(e => FileDescriptorProto.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseFileDescriptorProto(): FileDescriptorProto { - return { - name: "", - package: "", - dependency: [], - publicDependency: [], - weakDependency: [], - messageType: [], - enumType: [], - service: [], - extension: [], - options: undefined, - sourceCodeInfo: undefined, - syntax: "" - }; -} - -export const FileDescriptorProto = { - encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.package !== "") { - writer.uint32(18).string(message.package); - } - - for (const v of message.dependency) { - writer.uint32(26).string(v!); - } - - writer.uint32(82).fork(); - - for (const v of message.publicDependency) { - writer.int32(v); - } - - writer.ldelim(); - writer.uint32(90).fork(); - - for (const v of message.weakDependency) { - writer.int32(v); - } - - writer.ldelim(); - - for (const v of message.messageType) { - DescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.enumType) { - EnumDescriptorProto.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - for (const v of message.service) { - ServiceDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - for (const v of message.extension) { - FieldDescriptorProto.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (message.options !== undefined) { - FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); - } - - if (message.sourceCodeInfo !== undefined) { - SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim(); - } - - if (message.syntax !== "") { - writer.uint32(98).string(message.syntax); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.package = reader.string(); - break; - - case 3: - message.dependency.push(reader.string()); - break; - - case 10: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.publicDependency.push(reader.int32()); - } - } else { - message.publicDependency.push(reader.int32()); - } - - break; - - case 11: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.weakDependency.push(reader.int32()); - } - } else { - message.weakDependency.push(reader.int32()); - } - - break; - - case 4: - message.messageType.push(DescriptorProto.decode(reader, reader.uint32())); - break; - - case 5: - message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); - break; - - case 6: - message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32())); - break; - - case 7: - message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - - case 8: - message.options = FileOptions.decode(reader, reader.uint32()); - break; - - case 9: - message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32()); - break; - - case 12: - message.syntax = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FileDescriptorProto { - const message = createBaseFileDescriptorProto(); - message.name = object.name ?? ""; - message.package = object.package ?? ""; - message.dependency = object.dependency?.map(e => e) || []; - message.publicDependency = object.publicDependency?.map(e => e) || []; - message.weakDependency = object.weakDependency?.map(e => e) || []; - message.messageType = object.messageType?.map(e => DescriptorProto.fromPartial(e)) || []; - message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; - message.service = object.service?.map(e => ServiceDescriptorProto.fromPartial(e)) || []; - message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - message.options = object.options !== undefined && object.options !== null ? FileOptions.fromPartial(object.options) : undefined; - message.sourceCodeInfo = object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; - message.syntax = object.syntax ?? ""; - return message; - } - -}; - -function createBaseDescriptorProto(): DescriptorProto { - return { - name: "", - field: [], - extension: [], - nestedType: [], - enumType: [], - extensionRange: [], - oneofDecl: [], - options: undefined, - reservedRange: [], - reservedName: [] - }; -} - -export const DescriptorProto = { - encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - for (const v of message.field) { - FieldDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.extension) { - FieldDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - for (const v of message.nestedType) { - DescriptorProto.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.enumType) { - EnumDescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.extensionRange) { - DescriptorProto_ExtensionRange.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - for (const v of message.oneofDecl) { - OneofDescriptorProto.encode(v!, writer.uint32(66).fork()).ldelim(); - } - - if (message.options !== undefined) { - MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim(); - } - - for (const v of message.reservedRange) { - DescriptorProto_ReservedRange.encode(v!, writer.uint32(74).fork()).ldelim(); - } - - for (const v of message.reservedName) { - writer.uint32(82).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.field.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - - case 6: - message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - - case 3: - message.nestedType.push(DescriptorProto.decode(reader, reader.uint32())); - break; - - case 4: - message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); - break; - - case 5: - message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32())); - break; - - case 8: - message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32())); - break; - - case 7: - message.options = MessageOptions.decode(reader, reader.uint32()); - break; - - case 9: - message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32())); - break; - - case 10: - message.reservedName.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DescriptorProto { - const message = createBaseDescriptorProto(); - message.name = object.name ?? ""; - message.field = object.field?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - message.nestedType = object.nestedType?.map(e => DescriptorProto.fromPartial(e)) || []; - message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; - message.extensionRange = object.extensionRange?.map(e => DescriptorProto_ExtensionRange.fromPartial(e)) || []; - message.oneofDecl = object.oneofDecl?.map(e => OneofDescriptorProto.fromPartial(e)) || []; - message.options = object.options !== undefined && object.options !== null ? MessageOptions.fromPartial(object.options) : undefined; - message.reservedRange = object.reservedRange?.map(e => DescriptorProto_ReservedRange.fromPartial(e)) || []; - message.reservedName = object.reservedName?.map(e => e) || []; - return message; - } - -}; - -function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange { - return { - start: 0, - end: 0, - options: undefined - }; -} - -export const DescriptorProto_ExtensionRange = { - encode(message: DescriptorProto_ExtensionRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - - if (message.options !== undefined) { - ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto_ExtensionRange(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - - case 2: - message.end = reader.int32(); - break; - - case 3: - message.options = ExtensionRangeOptions.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DescriptorProto_ExtensionRange { - const message = createBaseDescriptorProto_ExtensionRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - message.options = object.options !== undefined && object.options !== null ? ExtensionRangeOptions.fromPartial(object.options) : undefined; - return message; - } - -}; - -function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange { - return { - start: 0, - end: 0 - }; -} - -export const DescriptorProto_ReservedRange = { - encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto_ReservedRange(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - - case 2: - message.end = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DescriptorProto_ReservedRange { - const message = createBaseDescriptorProto_ReservedRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - return message; - } - -}; - -function createBaseExtensionRangeOptions(): ExtensionRangeOptions { - return { - uninterpretedOption: [] - }; -} - -export const ExtensionRangeOptions = { - encode(message: ExtensionRangeOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExtensionRangeOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ExtensionRangeOptions { - const message = createBaseExtensionRangeOptions(); - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseFieldDescriptorProto(): FieldDescriptorProto { - return { - name: "", - number: 0, - label: 1, - type: 1, - typeName: "", - extendee: "", - defaultValue: "", - oneofIndex: 0, - jsonName: "", - options: undefined - }; -} - -export const FieldDescriptorProto = { - encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.number !== 0) { - writer.uint32(24).int32(message.number); - } - - if (message.label !== 1) { - writer.uint32(32).int32(message.label); - } - - if (message.type !== 1) { - writer.uint32(40).int32(message.type); - } - - if (message.typeName !== "") { - writer.uint32(50).string(message.typeName); - } - - if (message.extendee !== "") { - writer.uint32(18).string(message.extendee); - } - - if (message.defaultValue !== "") { - writer.uint32(58).string(message.defaultValue); - } - - if (message.oneofIndex !== 0) { - writer.uint32(72).int32(message.oneofIndex); - } - - if (message.jsonName !== "") { - writer.uint32(82).string(message.jsonName); - } - - if (message.options !== undefined) { - FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 3: - message.number = reader.int32(); - break; - - case 4: - message.label = (reader.int32() as any); - break; - - case 5: - message.type = (reader.int32() as any); - break; - - case 6: - message.typeName = reader.string(); - break; - - case 2: - message.extendee = reader.string(); - break; - - case 7: - message.defaultValue = reader.string(); - break; - - case 9: - message.oneofIndex = reader.int32(); - break; - - case 10: - message.jsonName = reader.string(); - break; - - case 8: - message.options = FieldOptions.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FieldDescriptorProto { - const message = createBaseFieldDescriptorProto(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.label = object.label ?? 1; - message.type = object.type ?? 1; - message.typeName = object.typeName ?? ""; - message.extendee = object.extendee ?? ""; - message.defaultValue = object.defaultValue ?? ""; - message.oneofIndex = object.oneofIndex ?? 0; - message.jsonName = object.jsonName ?? ""; - message.options = object.options !== undefined && object.options !== null ? FieldOptions.fromPartial(object.options) : undefined; - return message; - } - -}; - -function createBaseOneofDescriptorProto(): OneofDescriptorProto { - return { - name: "", - options: undefined - }; -} - -export const OneofDescriptorProto = { - encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.options !== undefined) { - OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOneofDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.options = OneofOptions.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): OneofDescriptorProto { - const message = createBaseOneofDescriptorProto(); - message.name = object.name ?? ""; - message.options = object.options !== undefined && object.options !== null ? OneofOptions.fromPartial(object.options) : undefined; - return message; - } - -}; - -function createBaseEnumDescriptorProto(): EnumDescriptorProto { - return { - name: "", - value: [], - options: undefined, - reservedRange: [], - reservedName: [] - }; -} - -export const EnumDescriptorProto = { - encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - for (const v of message.value) { - EnumValueDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.options !== undefined) { - EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.reservedRange) { - EnumDescriptorProto_EnumReservedRange.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.reservedName) { - writer.uint32(42).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; - - case 3: - message.options = EnumOptions.decode(reader, reader.uint32()); - break; - - case 4: - message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32())); - break; - - case 5: - message.reservedName.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EnumDescriptorProto { - const message = createBaseEnumDescriptorProto(); - message.name = object.name ?? ""; - message.value = object.value?.map(e => EnumValueDescriptorProto.fromPartial(e)) || []; - message.options = object.options !== undefined && object.options !== null ? EnumOptions.fromPartial(object.options) : undefined; - message.reservedRange = object.reservedRange?.map(e => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) || []; - message.reservedName = object.reservedName?.map(e => e) || []; - return message; - } - -}; - -function createBaseEnumDescriptorProto_EnumReservedRange(): EnumDescriptorProto_EnumReservedRange { - return { - start: 0, - end: 0 - }; -} - -export const EnumDescriptorProto_EnumReservedRange = { - encode(message: EnumDescriptorProto_EnumReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumDescriptorProto_EnumReservedRange(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - - case 2: - message.end = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EnumDescriptorProto_EnumReservedRange { - const message = createBaseEnumDescriptorProto_EnumReservedRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - return message; - } - -}; - -function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { - return { - name: "", - number: 0, - options: undefined - }; -} - -export const EnumValueDescriptorProto = { - encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.number !== 0) { - writer.uint32(16).int32(message.number); - } - - if (message.options !== undefined) { - EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValueDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.number = reader.int32(); - break; - - case 3: - message.options = EnumValueOptions.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EnumValueDescriptorProto { - const message = createBaseEnumValueDescriptorProto(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.options = object.options !== undefined && object.options !== null ? EnumValueOptions.fromPartial(object.options) : undefined; - return message; - } - -}; - -function createBaseServiceDescriptorProto(): ServiceDescriptorProto { - return { - name: "", - method: [], - options: undefined - }; -} - -export const ServiceDescriptorProto = { - encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - for (const v of message.method) { - MethodDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.options !== undefined) { - ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.method.push(MethodDescriptorProto.decode(reader, reader.uint32())); - break; - - case 3: - message.options = ServiceOptions.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ServiceDescriptorProto { - const message = createBaseServiceDescriptorProto(); - message.name = object.name ?? ""; - message.method = object.method?.map(e => MethodDescriptorProto.fromPartial(e)) || []; - message.options = object.options !== undefined && object.options !== null ? ServiceOptions.fromPartial(object.options) : undefined; - return message; - } - -}; - -function createBaseMethodDescriptorProto(): MethodDescriptorProto { - return { - name: "", - inputType: "", - outputType: "", - options: undefined, - clientStreaming: false, - serverStreaming: false - }; -} - -export const MethodDescriptorProto = { - encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - - if (message.inputType !== "") { - writer.uint32(18).string(message.inputType); - } - - if (message.outputType !== "") { - writer.uint32(26).string(message.outputType); - } - - if (message.options !== undefined) { - MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim(); - } - - if (message.clientStreaming === true) { - writer.uint32(40).bool(message.clientStreaming); - } - - if (message.serverStreaming === true) { - writer.uint32(48).bool(message.serverStreaming); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMethodDescriptorProto(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - - case 2: - message.inputType = reader.string(); - break; - - case 3: - message.outputType = reader.string(); - break; - - case 4: - message.options = MethodOptions.decode(reader, reader.uint32()); - break; - - case 5: - message.clientStreaming = reader.bool(); - break; - - case 6: - message.serverStreaming = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MethodDescriptorProto { - const message = createBaseMethodDescriptorProto(); - message.name = object.name ?? ""; - message.inputType = object.inputType ?? ""; - message.outputType = object.outputType ?? ""; - message.options = object.options !== undefined && object.options !== null ? MethodOptions.fromPartial(object.options) : undefined; - message.clientStreaming = object.clientStreaming ?? false; - message.serverStreaming = object.serverStreaming ?? false; - return message; - } - -}; - -function createBaseFileOptions(): FileOptions { - return { - javaPackage: "", - javaOuterClassname: "", - javaMultipleFiles: false, - javaGenerateEqualsAndHash: false, - javaStringCheckUtf8: false, - optimizeFor: 1, - goPackage: "", - ccGenericServices: false, - javaGenericServices: false, - pyGenericServices: false, - phpGenericServices: false, - deprecated: false, - ccEnableArenas: false, - objcClassPrefix: "", - csharpNamespace: "", - swiftPrefix: "", - phpClassPrefix: "", - phpNamespace: "", - phpMetadataNamespace: "", - rubyPackage: "", - uninterpretedOption: [] - }; -} - -export const FileOptions = { - encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.javaPackage !== "") { - writer.uint32(10).string(message.javaPackage); - } - - if (message.javaOuterClassname !== "") { - writer.uint32(66).string(message.javaOuterClassname); - } - - if (message.javaMultipleFiles === true) { - writer.uint32(80).bool(message.javaMultipleFiles); - } - - if (message.javaGenerateEqualsAndHash === true) { - writer.uint32(160).bool(message.javaGenerateEqualsAndHash); - } - - if (message.javaStringCheckUtf8 === true) { - writer.uint32(216).bool(message.javaStringCheckUtf8); - } - - if (message.optimizeFor !== 1) { - writer.uint32(72).int32(message.optimizeFor); - } - - if (message.goPackage !== "") { - writer.uint32(90).string(message.goPackage); - } - - if (message.ccGenericServices === true) { - writer.uint32(128).bool(message.ccGenericServices); - } - - if (message.javaGenericServices === true) { - writer.uint32(136).bool(message.javaGenericServices); - } - - if (message.pyGenericServices === true) { - writer.uint32(144).bool(message.pyGenericServices); - } - - if (message.phpGenericServices === true) { - writer.uint32(336).bool(message.phpGenericServices); - } - - if (message.deprecated === true) { - writer.uint32(184).bool(message.deprecated); - } - - if (message.ccEnableArenas === true) { - writer.uint32(248).bool(message.ccEnableArenas); - } - - if (message.objcClassPrefix !== "") { - writer.uint32(290).string(message.objcClassPrefix); - } - - if (message.csharpNamespace !== "") { - writer.uint32(298).string(message.csharpNamespace); - } - - if (message.swiftPrefix !== "") { - writer.uint32(314).string(message.swiftPrefix); - } - - if (message.phpClassPrefix !== "") { - writer.uint32(322).string(message.phpClassPrefix); - } - - if (message.phpNamespace !== "") { - writer.uint32(330).string(message.phpNamespace); - } - - if (message.phpMetadataNamespace !== "") { - writer.uint32(354).string(message.phpMetadataNamespace); - } - - if (message.rubyPackage !== "") { - writer.uint32(362).string(message.rubyPackage); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.javaPackage = reader.string(); - break; - - case 8: - message.javaOuterClassname = reader.string(); - break; - - case 10: - message.javaMultipleFiles = reader.bool(); - break; - - case 20: - message.javaGenerateEqualsAndHash = reader.bool(); - break; - - case 27: - message.javaStringCheckUtf8 = reader.bool(); - break; - - case 9: - message.optimizeFor = (reader.int32() as any); - break; - - case 11: - message.goPackage = reader.string(); - break; - - case 16: - message.ccGenericServices = reader.bool(); - break; - - case 17: - message.javaGenericServices = reader.bool(); - break; - - case 18: - message.pyGenericServices = reader.bool(); - break; - - case 42: - message.phpGenericServices = reader.bool(); - break; - - case 23: - message.deprecated = reader.bool(); - break; - - case 31: - message.ccEnableArenas = reader.bool(); - break; - - case 36: - message.objcClassPrefix = reader.string(); - break; - - case 37: - message.csharpNamespace = reader.string(); - break; - - case 39: - message.swiftPrefix = reader.string(); - break; - - case 40: - message.phpClassPrefix = reader.string(); - break; - - case 41: - message.phpNamespace = reader.string(); - break; - - case 44: - message.phpMetadataNamespace = reader.string(); - break; - - case 45: - message.rubyPackage = reader.string(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FileOptions { - const message = createBaseFileOptions(); - message.javaPackage = object.javaPackage ?? ""; - message.javaOuterClassname = object.javaOuterClassname ?? ""; - message.javaMultipleFiles = object.javaMultipleFiles ?? false; - message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; - message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; - message.optimizeFor = object.optimizeFor ?? 1; - message.goPackage = object.goPackage ?? ""; - message.ccGenericServices = object.ccGenericServices ?? false; - message.javaGenericServices = object.javaGenericServices ?? false; - message.pyGenericServices = object.pyGenericServices ?? false; - message.phpGenericServices = object.phpGenericServices ?? false; - message.deprecated = object.deprecated ?? false; - message.ccEnableArenas = object.ccEnableArenas ?? false; - message.objcClassPrefix = object.objcClassPrefix ?? ""; - message.csharpNamespace = object.csharpNamespace ?? ""; - message.swiftPrefix = object.swiftPrefix ?? ""; - message.phpClassPrefix = object.phpClassPrefix ?? ""; - message.phpNamespace = object.phpNamespace ?? ""; - message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; - message.rubyPackage = object.rubyPackage ?? ""; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMessageOptions(): MessageOptions { - return { - messageSetWireFormat: false, - noStandardDescriptorAccessor: false, - deprecated: false, - mapEntry: false, - uninterpretedOption: [] - }; -} - -export const MessageOptions = { - encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.messageSetWireFormat === true) { - writer.uint32(8).bool(message.messageSetWireFormat); - } - - if (message.noStandardDescriptorAccessor === true) { - writer.uint32(16).bool(message.noStandardDescriptorAccessor); - } - - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - - if (message.mapEntry === true) { - writer.uint32(56).bool(message.mapEntry); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMessageOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.messageSetWireFormat = reader.bool(); - break; - - case 2: - message.noStandardDescriptorAccessor = reader.bool(); - break; - - case 3: - message.deprecated = reader.bool(); - break; - - case 7: - message.mapEntry = reader.bool(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MessageOptions { - const message = createBaseMessageOptions(); - message.messageSetWireFormat = object.messageSetWireFormat ?? false; - message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; - message.deprecated = object.deprecated ?? false; - message.mapEntry = object.mapEntry ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseFieldOptions(): FieldOptions { - return { - ctype: 1, - packed: false, - jstype: 1, - lazy: false, - deprecated: false, - weak: false, - uninterpretedOption: [] - }; -} - -export const FieldOptions = { - encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.ctype !== 1) { - writer.uint32(8).int32(message.ctype); - } - - if (message.packed === true) { - writer.uint32(16).bool(message.packed); - } - - if (message.jstype !== 1) { - writer.uint32(48).int32(message.jstype); - } - - if (message.lazy === true) { - writer.uint32(40).bool(message.lazy); - } - - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - - if (message.weak === true) { - writer.uint32(80).bool(message.weak); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.ctype = (reader.int32() as any); - break; - - case 2: - message.packed = reader.bool(); - break; - - case 6: - message.jstype = (reader.int32() as any); - break; - - case 5: - message.lazy = reader.bool(); - break; - - case 3: - message.deprecated = reader.bool(); - break; - - case 10: - message.weak = reader.bool(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): FieldOptions { - const message = createBaseFieldOptions(); - message.ctype = object.ctype ?? 1; - message.packed = object.packed ?? false; - message.jstype = object.jstype ?? 1; - message.lazy = object.lazy ?? false; - message.deprecated = object.deprecated ?? false; - message.weak = object.weak ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseOneofOptions(): OneofOptions { - return { - uninterpretedOption: [] - }; -} - -export const OneofOptions = { - encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOneofOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): OneofOptions { - const message = createBaseOneofOptions(); - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseEnumOptions(): EnumOptions { - return { - allowAlias: false, - deprecated: false, - uninterpretedOption: [] - }; -} - -export const EnumOptions = { - encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowAlias === true) { - writer.uint32(16).bool(message.allowAlias); - } - - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.allowAlias = reader.bool(); - break; - - case 3: - message.deprecated = reader.bool(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EnumOptions { - const message = createBaseEnumOptions(); - message.allowAlias = object.allowAlias ?? false; - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseEnumValueOptions(): EnumValueOptions { - return { - deprecated: false, - uninterpretedOption: [] - }; -} - -export const EnumValueOptions = { - encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(8).bool(message.deprecated); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValueOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.deprecated = reader.bool(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EnumValueOptions { - const message = createBaseEnumValueOptions(); - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseServiceOptions(): ServiceOptions { - return { - deprecated: false, - uninterpretedOption: [] - }; -} - -export const ServiceOptions = { - encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(264).bool(message.deprecated); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ServiceOptions { - const message = createBaseServiceOptions(); - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseMethodOptions(): MethodOptions { - return { - deprecated: false, - idempotencyLevel: 1, - uninterpretedOption: [] - }; -} - -export const MethodOptions = { - encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(264).bool(message.deprecated); - } - - if (message.idempotencyLevel !== 1) { - writer.uint32(272).int32(message.idempotencyLevel); - } - - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMethodOptions(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - - case 34: - message.idempotencyLevel = (reader.int32() as any); - break; - - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MethodOptions { - const message = createBaseMethodOptions(); - message.deprecated = object.deprecated ?? false; - message.idempotencyLevel = object.idempotencyLevel ?? 1; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseUninterpretedOption(): UninterpretedOption { - return { - name: [], - identifierValue: "", - positiveIntValue: Long.UZERO, - negativeIntValue: Long.ZERO, - doubleValue: 0, - stringValue: new Uint8Array(), - aggregateValue: "" - }; -} - -export const UninterpretedOption = { - encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.name) { - UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.identifierValue !== "") { - writer.uint32(26).string(message.identifierValue); - } - - if (!message.positiveIntValue.isZero()) { - writer.uint32(32).uint64(message.positiveIntValue); - } - - if (!message.negativeIntValue.isZero()) { - writer.uint32(40).int64(message.negativeIntValue); - } - - if (message.doubleValue !== 0) { - writer.uint32(49).double(message.doubleValue); - } - - if (message.stringValue.length !== 0) { - writer.uint32(58).bytes(message.stringValue); - } - - if (message.aggregateValue !== "") { - writer.uint32(66).string(message.aggregateValue); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUninterpretedOption(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32())); - break; - - case 3: - message.identifierValue = reader.string(); - break; - - case 4: - message.positiveIntValue = (reader.uint64() as Long); - break; - - case 5: - message.negativeIntValue = (reader.int64() as Long); - break; - - case 6: - message.doubleValue = reader.double(); - break; - - case 7: - message.stringValue = reader.bytes(); - break; - - case 8: - message.aggregateValue = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UninterpretedOption { - const message = createBaseUninterpretedOption(); - message.name = object.name?.map(e => UninterpretedOption_NamePart.fromPartial(e)) || []; - message.identifierValue = object.identifierValue ?? ""; - message.positiveIntValue = object.positiveIntValue !== undefined && object.positiveIntValue !== null ? Long.fromValue(object.positiveIntValue) : Long.UZERO; - message.negativeIntValue = object.negativeIntValue !== undefined && object.negativeIntValue !== null ? Long.fromValue(object.negativeIntValue) : Long.ZERO; - message.doubleValue = object.doubleValue ?? 0; - message.stringValue = object.stringValue ?? new Uint8Array(); - message.aggregateValue = object.aggregateValue ?? ""; - return message; - } - -}; - -function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart { - return { - namePart: "", - isExtension: false - }; -} - -export const UninterpretedOption_NamePart = { - encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.namePart !== "") { - writer.uint32(10).string(message.namePart); - } - - if (message.isExtension === true) { - writer.uint32(16).bool(message.isExtension); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUninterpretedOption_NamePart(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.namePart = reader.string(); - break; - - case 2: - message.isExtension = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UninterpretedOption_NamePart { - const message = createBaseUninterpretedOption_NamePart(); - message.namePart = object.namePart ?? ""; - message.isExtension = object.isExtension ?? false; - return message; - } - -}; - -function createBaseSourceCodeInfo(): SourceCodeInfo { - return { - location: [] - }; -} - -export const SourceCodeInfo = { - encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.location) { - SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceCodeInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SourceCodeInfo { - const message = createBaseSourceCodeInfo(); - message.location = object.location?.map(e => SourceCodeInfo_Location.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location { - return { - path: [], - span: [], - leadingComments: "", - trailingComments: "", - leadingDetachedComments: [] - }; -} - -export const SourceCodeInfo_Location = { - encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.path) { - writer.int32(v); - } - - writer.ldelim(); - writer.uint32(18).fork(); - - for (const v of message.span) { - writer.int32(v); - } - - writer.ldelim(); - - if (message.leadingComments !== "") { - writer.uint32(26).string(message.leadingComments); - } - - if (message.trailingComments !== "") { - writer.uint32(34).string(message.trailingComments); - } - - for (const v of message.leadingDetachedComments) { - writer.uint32(50).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceCodeInfo_Location(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - - break; - - case 2: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.span.push(reader.int32()); - } - } else { - message.span.push(reader.int32()); - } - - break; - - case 3: - message.leadingComments = reader.string(); - break; - - case 4: - message.trailingComments = reader.string(); - break; - - case 6: - message.leadingDetachedComments.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SourceCodeInfo_Location { - const message = createBaseSourceCodeInfo_Location(); - message.path = object.path?.map(e => e) || []; - message.span = object.span?.map(e => e) || []; - message.leadingComments = object.leadingComments ?? ""; - message.trailingComments = object.trailingComments ?? ""; - message.leadingDetachedComments = object.leadingDetachedComments?.map(e => e) || []; - return message; - } - -}; - -function createBaseGeneratedCodeInfo(): GeneratedCodeInfo { - return { - annotation: [] - }; -} - -export const GeneratedCodeInfo = { - encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.annotation) { - GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGeneratedCodeInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GeneratedCodeInfo { - const message = createBaseGeneratedCodeInfo(); - message.annotation = object.annotation?.map(e => GeneratedCodeInfo_Annotation.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { - return { - path: [], - sourceFile: "", - begin: 0, - end: 0 - }; -} - -export const GeneratedCodeInfo_Annotation = { - encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.path) { - writer.int32(v); - } - - writer.ldelim(); - - if (message.sourceFile !== "") { - writer.uint32(18).string(message.sourceFile); - } - - if (message.begin !== 0) { - writer.uint32(24).int32(message.begin); - } - - if (message.end !== 0) { - writer.uint32(32).int32(message.end); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGeneratedCodeInfo_Annotation(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - - break; - - case 2: - message.sourceFile = reader.string(); - break; - - case 3: - message.begin = reader.int32(); - break; - - case 4: - message.end = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GeneratedCodeInfo_Annotation { - const message = createBaseGeneratedCodeInfo_Annotation(); - message.path = object.path?.map(e => e) || []; - message.sourceFile = object.sourceFile ?? ""; - message.begin = object.begin ?? 0; - message.end = object.end ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/duration.ts b/examples/telescope/codegen/google/protobuf/duration.ts deleted file mode 100644 index de9f82877..000000000 --- a/examples/telescope/codegen/google/protobuf/duration.ts +++ /dev/null @@ -1,215 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -/** - * 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; -} -/** - * 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 { - /** - * 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; -} - -function createBaseDuration(): Duration { - return { - seconds: Long.ZERO, - nanos: 0 - }; -} - -export const Duration = { - encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.seconds.isZero()) { - writer.uint32(8).int64(message.seconds); - } - - if (message.nanos !== 0) { - writer.uint32(16).int32(message.nanos); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Duration { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDuration(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.seconds = (reader.int64() as Long); - break; - - case 2: - message.nanos = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Duration { - const message = createBaseDuration(); - message.seconds = object.seconds !== undefined && object.seconds !== null ? Long.fromValue(object.seconds) : Long.ZERO; - message.nanos = object.nanos ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/empty.ts b/examples/telescope/codegen/google/protobuf/empty.ts deleted file mode 100644 index 6b8f72572..000000000 --- a/examples/telescope/codegen/google/protobuf/empty.ts +++ /dev/null @@ -1,61 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ - -export interface Empty {} -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ - -export interface EmptySDKType {} - -function createBaseEmpty(): Empty { - return {}; -} - -export const Empty = { - encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Empty { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEmpty(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): Empty { - const message = createBaseEmpty(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/timestamp.ts b/examples/telescope/codegen/google/protobuf/timestamp.ts deleted file mode 100644 index c3e0b298f..000000000 --- a/examples/telescope/codegen/google/protobuf/timestamp.ts +++ /dev/null @@ -1,259 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } 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 - * 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; -} -/** - * 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 { - /** - * 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; -} - -function createBaseTimestamp(): Timestamp { - return { - seconds: Long.ZERO, - nanos: 0 - }; -} - -export const Timestamp = { - encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.seconds.isZero()) { - writer.uint32(8).int64(message.seconds); - } - - if (message.nanos !== 0) { - writer.uint32(16).int32(message.nanos); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTimestamp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.seconds = (reader.int64() as Long); - break; - - case 2: - message.nanos = reader.int32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Timestamp { - const message = createBaseTimestamp(); - message.seconds = object.seconds !== undefined && object.seconds !== null ? Long.fromValue(object.seconds) : Long.ZERO; - message.nanos = object.nanos ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/helpers.ts b/examples/telescope/codegen/helpers.ts deleted file mode 100644 index b4cf3a376..000000000 --- a/examples/telescope/codegen/helpers.ts +++ /dev/null @@ -1,240 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 - * 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 * as _m0 from "protobufjs/minimal"; -import * as Long from 'long'; - -// @ts-ignore -if (_m0.util.Long !== Long) { - _m0.util.Long = (Long as any); - - _m0.configure(); -} - -export { Long }; - -declare var self: any | undefined; -declare var window: any | undefined; -declare var global: any | undefined; -var globalThis: any = (() => { - if (typeof globalThis !== 'undefined') return globalThis; - if (typeof self !== 'undefined') return self; - if (typeof window !== 'undefined') return window; - if (typeof global !== 'undefined') return global; - throw 'Unable to locate global object'; -})(); - -const atob: (b64: string) => string = - globalThis.atob || ((b64) => globalThis.Buffer.from(b64, 'base64').toString('binary')); - -export function bytesFromBase64(b64: string): Uint8Array { - const bin = atob(b64); - const arr = new Uint8Array(bin.length); - for (let i = 0; i < bin.length; ++i) { - arr[i] = bin.charCodeAt(i); - } - return arr; -} - -const btoa: (bin: string) => string = - globalThis.btoa || ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64')); - -export function base64FromBytes(arr: Uint8Array): string { - const bin: string[] = []; - arr.forEach((byte) => { - bin.push(String.fromCharCode(byte)); - }); - return btoa(bin.join('')); -} - -export interface AminoHeight { - readonly revision_number?: string; - readonly revision_height?: string; -}; - -export function omitDefault(input: T): T | undefined { - if (typeof input === "string") { - return input === "" ? undefined : input; - } - - if (typeof input === "number") { - return input === 0 ? undefined : input; - } - - if (Long.isLong(input)) { - return input.isZero() ? undefined : input; - } - - throw new Error(`Got unsupported type ${typeof input}`); -}; - -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 function toDuration(duration: string): Duration { - return { - seconds: Long.fromNumber(Math.floor(parseInt(duration) / 1000000000)), - nanos: parseInt(duration) % 1000000000 - }; -}; - -export function fromDuration(duration: Duration): string { - return (parseInt(duration.seconds.toString()) * 1000000000 + duration.nanos).toString(); -}; - -export function isSet(value: any): boolean { - return value !== null && value !== undefined; -}; - -export function isObject(value: any): boolean { - return typeof value === 'object' && value !== null; -}; - -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 const setPaginationParams = (options: Params, pagination?: PageRequest) => { - - if (!pagination) { - return options; - } - - if (typeof pagination?.countTotal !== "undefined") { - options.params['pagination.count_total'] = pagination.countTotal; - } - if (typeof pagination?.key !== "undefined") { - // String to Uint8Array - // let uint8arr = new Uint8Array(Buffer.from(data,'base64')); - - // Uint8Array to String - options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64'); - } - if (typeof pagination?.limit !== "undefined") { - options.params["pagination.limit"] = pagination.limit.toString() - } - if (typeof pagination?.offset !== "undefined") { - options.params["pagination.offset"] = pagination.offset.toString() - } - if (typeof pagination?.reverse !== "undefined") { - options.params['pagination.reverse'] = pagination.reverse; - } - - return options; -}; - -type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; - -export type DeepPartial = T extends Builtin - ? T - : 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 function toTimestamp(date: Date): Timestamp { - const seconds = numberToLong(date.getTime() / 1_000); - const nanos = date.getTime() % 1000 * 1000000; - return { - seconds, - nanos - }; -}; - -export function fromTimestamp(t: Timestamp): Date { - let millis = t.seconds.toNumber() * 1000; - millis += t.nanos / 1000000; - return new Date(millis); -}; - -const fromJSON = (object: any): Timestamp => { - return { - seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; -}; - -const timestampFromJSON = (object: any): Timestamp => { - return { - seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0, - }; -} - -export function fromJsonTimestamp(o: any): Timestamp { - if (o instanceof Date) { - return toTimestamp(o); - } else if (typeof o === "string") { - return toTimestamp(new Date(o)); - } else { - return timestampFromJSON(o); - } -} - -function numberToLong(number: number) { - return Long.fromNumber(number); -} diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts deleted file mode 100644 index 8c4e6380e..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { DenomTrace, DenomTraceSDKType, Params, 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 | undefined; -} -/** GenesisState defines the ibc-transfer genesis state */ - -export interface GenesisStateSDKType { - port_id: string; - denom_traces: DenomTraceSDKType[]; - params?: ParamsSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - portId: "", - denomTraces: [], - params: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - for (const v of message.denomTraces) { - DenomTrace.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.portId = reader.string(); - break; - - case 2: - message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); - break; - - case 3: - message.params = Params.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.portId = object.portId ?? ""; - message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts deleted file mode 100644 index 7bce53a40..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.denomTrace = this.denomTrace.bind(this); - this.denomTraces = this.denomTraces.bind(this); - this.params = this.params.bind(this); - } - /* DenomTrace queries a denomination trace information. */ - - - async denomTrace(params: QueryDenomTraceRequest): Promise { - const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; - return await this.req.get(endpoint); - } - /* DenomTraces queries all denomination traces. */ - - - async denomTraces(params: QueryDenomTracesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/apps/transfer/v1/denom_traces`; - return await this.req.get(endpoint, options); - } - /* Params queries all parameters of the ibc-transfer module. */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `ibc/apps/transfer/v1/params`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts deleted file mode 100644 index 62b2cc990..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } 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; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.denomTrace = this.denomTrace.bind(this); - this.denomTraces = this.denomTraces.bind(this); - this.params = this.params.bind(this); - } - - denomTrace(request: QueryDenomTraceRequest): Promise { - const data = QueryDenomTraceRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); - return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); - } - - denomTraces(request: QueryDenomTracesRequest = { - pagination: undefined - }): Promise { - const data = QueryDenomTracesRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); - return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - denomTrace(request: QueryDenomTraceRequest): Promise { - return queryService.denomTrace(request); - }, - - denomTraces(request?: QueryDenomTracesRequest): Promise { - return queryService.denomTraces(request); - }, - - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts deleted file mode 100644 index 78a22b4d6..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts +++ /dev/null @@ -1,368 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, DenomTraceSDKType, Params, 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) of the denomination trace information. */ - hash: string; -} -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ - -export interface QueryDenomTraceRequestSDKType { - /** hash (in hex format) of the denomination trace information. */ - 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 | undefined; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ - -export interface QueryDenomTraceResponseSDKType { - /** denom_trace returns the requested denomination trace information. */ - denom_trace?: DenomTraceSDKType | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ - -export interface QueryDenomTracesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ - -export interface QueryDenomTracesRequestSDKType { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ - -export interface QueryDenomTracesResponseSDKType { - /** denom_traces returns all denominations trace information. */ - denom_traces: DenomTraceSDKType[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponseSDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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 | undefined; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - /** params defines the parameters of the module. */ - params?: ParamsSDKType | undefined; -} - -function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { - return { - hash: "" - }; -} - -export const QueryDenomTraceRequest = { - encode(message: QueryDenomTraceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== "") { - writer.uint32(10).string(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomTraceRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomTraceRequest { - const message = createBaseQueryDenomTraceRequest(); - message.hash = object.hash ?? ""; - return message; - } - -}; - -function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { - return { - denomTrace: undefined - }; -} - -export const QueryDenomTraceResponse = { - encode(message: QueryDenomTraceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denomTrace !== undefined) { - DenomTrace.encode(message.denomTrace, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomTraceResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denomTrace = DenomTrace.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomTraceResponse { - const message = createBaseQueryDenomTraceResponse(); - message.denomTrace = object.denomTrace !== undefined && object.denomTrace !== null ? DenomTrace.fromPartial(object.denomTrace) : undefined; - return message; - } - -}; - -function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { - return { - pagination: undefined - }; -} - -export const QueryDenomTracesRequest = { - encode(message: QueryDenomTracesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomTracesRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryDenomTracesRequest { - const message = createBaseQueryDenomTracesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { - return { - denomTraces: [], - pagination: undefined - }; -} - -export const QueryDenomTracesResponse = { - encode(message: QueryDenomTracesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.denomTraces) { - DenomTrace.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomTracesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryDenomTracesResponse { - const message = createBaseQueryDenomTracesResponse(); - message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - } - -}; - -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: undefined - }; -} - -export const QueryParamsResponse = { - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts deleted file mode 100644 index b960d3dbd..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts +++ /dev/null @@ -1,181 +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; -} -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ - -export interface DenomTraceSDKType { - /** - * 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; -} -/** - * 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; -} -/** - * 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 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; -} - -function createBaseDenomTrace(): DenomTrace { - return { - path: "", - baseDenom: "" - }; -} - -export const DenomTrace = { - encode(message: DenomTrace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path !== "") { - writer.uint32(10).string(message.path); - } - - if (message.baseDenom !== "") { - writer.uint32(18).string(message.baseDenom); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDenomTrace(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.string(); - break; - - case 2: - message.baseDenom = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DenomTrace { - const message = createBaseDenomTrace(); - message.path = object.path ?? ""; - message.baseDenom = object.baseDenom ?? ""; - return message; - } - -}; - -function createBaseParams(): Params { - return { - sendEnabled: false, - receiveEnabled: false - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sendEnabled === true) { - writer.uint32(8).bool(message.sendEnabled); - } - - if (message.receiveEnabled === true) { - writer.uint32(16).bool(message.receiveEnabled); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled = reader.bool(); - break; - - case 2: - message.receiveEnabled = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.sendEnabled = object.sendEnabled ?? false; - message.receiveEnabled = object.receiveEnabled ?? false; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts deleted file mode 100644 index e99498bcc..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "../../../../helpers"; -import { MsgTransfer } from "./tx"; -export interface AminoMsgTransfer extends AminoMsg { - type: "cosmos-sdk/MsgTransfer"; - value: { - source_port: string; - source_channel: string; - token: { - denom: string; - amount: string; - }; - sender: string; - receiver: string; - timeout_height: AminoHeight; - timeout_timestamp: string; - }; -} -export const AminoConverter = { - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: "cosmos-sdk/MsgTransfer", - toAmino: ({ - sourcePort, - sourceChannel, - token, - sender, - receiver, - timeoutHeight, - timeoutTimestamp - }: MsgTransfer): AminoMsgTransfer["value"] => { - return { - source_port: sourcePort, - source_channel: sourceChannel, - token: { - denom: token.denom, - amount: Long.fromNumber(token.amount).toString() - }, - sender, - receiver, - timeout_height: timeoutHeight ? { - revision_height: omitDefault(timeoutHeight.revisionHeight)?.toString(), - revision_number: omitDefault(timeoutHeight.revisionNumber)?.toString() - } : {}, - timeout_timestamp: timeoutTimestamp.toString() - }; - }, - fromAmino: ({ - source_port, - source_channel, - token, - sender, - receiver, - timeout_height, - timeout_timestamp - }: AminoMsgTransfer["value"]): MsgTransfer => { - return { - sourcePort: source_port, - sourceChannel: source_channel, - token: { - denom: token.denom, - amount: token.amount - }, - sender, - receiver, - timeoutHeight: timeout_height ? { - revisionHeight: Long.fromString(timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(timeout_height.revision_number || "0", true) - } : undefined, - timeoutTimestamp: Long.fromString(timeout_timestamp) - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts deleted file mode 100644 index 548e3b8ca..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgTransfer } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - transfer(value: MsgTransfer) { - return { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", - value: MsgTransfer.encode(value).finish() - }; - } - - }, - withTypeUrl: { - transfer(value: MsgTransfer) { - return { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", - value - }; - } - - }, - fromPartial: { - transfer(value: MsgTransfer) { - return { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", - value: MsgTransfer.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts deleted file mode 100644 index b0ed7b31d..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.transfer = this.transfer.bind(this); - } - - transfer(request: MsgTransfer): Promise { - const data = MsgTransfer.encode(request).finish(); - const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); - return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts deleted file mode 100644 index fdeb7d480..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts +++ /dev/null @@ -1,217 +0,0 @@ -import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * 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 | undefined; - /** 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 | undefined; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - - timeoutTimestamp: Long; -} -/** - * 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 { - /** 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?: CoinSDKType | undefined; - /** 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?: HeightSDKType | undefined; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - - timeout_timestamp: Long; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ - -export interface MsgTransferResponse {} -/** MsgTransferResponse defines the Msg/Transfer response type. */ - -export interface MsgTransferResponseSDKType {} - -function createBaseMsgTransfer(): MsgTransfer { - return { - sourcePort: "", - sourceChannel: "", - token: undefined, - sender: "", - receiver: "", - timeoutHeight: undefined, - timeoutTimestamp: Long.UZERO - }; -} - -export const MsgTransfer = { - encode(message: MsgTransfer, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sourcePort !== "") { - writer.uint32(10).string(message.sourcePort); - } - - if (message.sourceChannel !== "") { - writer.uint32(18).string(message.sourceChannel); - } - - if (message.token !== undefined) { - Coin.encode(message.token, writer.uint32(26).fork()).ldelim(); - } - - if (message.sender !== "") { - writer.uint32(34).string(message.sender); - } - - if (message.receiver !== "") { - writer.uint32(42).string(message.receiver); - } - - if (message.timeoutHeight !== undefined) { - Height.encode(message.timeoutHeight, writer.uint32(50).fork()).ldelim(); - } - - if (!message.timeoutTimestamp.isZero()) { - writer.uint32(56).uint64(message.timeoutTimestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTransfer(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sourcePort = reader.string(); - break; - - case 2: - message.sourceChannel = reader.string(); - break; - - case 3: - message.token = Coin.decode(reader, reader.uint32()); - break; - - case 4: - message.sender = reader.string(); - break; - - case 5: - message.receiver = reader.string(); - break; - - case 6: - message.timeoutHeight = Height.decode(reader, reader.uint32()); - break; - - case 7: - message.timeoutTimestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgTransfer { - const message = createBaseMsgTransfer(); - message.sourcePort = object.sourcePort ?? ""; - message.sourceChannel = object.sourceChannel ?? ""; - message.token = object.token !== undefined && object.token !== null ? Coin.fromPartial(object.token) : undefined; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; - message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseMsgTransferResponse(): MsgTransferResponse { - return {}; -} - -export const MsgTransferResponse = { - encode(_: MsgTransferResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTransferResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgTransferResponse { - const message = createBaseMsgTransferResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts deleted file mode 100644 index 98bb4a6bc..000000000 --- a/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts +++ /dev/null @@ -1,114 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * FungibleTokenPacketData defines a struct for the packet payload - * See FungibleTokenPacketData spec: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ - -export interface FungibleTokenPacketData { - /** the token denomination to be transferred */ - denom: string; - /** the token amount to be transferred */ - - amount: string; - /** the sender address */ - - sender: string; - /** the recipient address on the destination chain */ - - receiver: string; -} -/** - * FungibleTokenPacketData defines a struct for the packet payload - * See FungibleTokenPacketData spec: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ - -export interface FungibleTokenPacketDataSDKType { - /** the token denomination to be transferred */ - denom: string; - /** the token amount to be transferred */ - - amount: string; - /** the sender address */ - - sender: string; - /** the recipient address on the destination chain */ - - receiver: string; -} - -function createBaseFungibleTokenPacketData(): FungibleTokenPacketData { - return { - denom: "", - amount: "", - sender: "", - receiver: "" - }; -} - -export const FungibleTokenPacketData = { - encode(message: FungibleTokenPacketData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - - if (message.amount !== "") { - writer.uint32(18).string(message.amount); - } - - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - - if (message.receiver !== "") { - writer.uint32(34).string(message.receiver); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FungibleTokenPacketData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFungibleTokenPacketData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - - case 2: - message.amount = 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; - }, - - fromPartial(object: Partial): FungibleTokenPacketData { - const message = createBaseFungibleTokenPacketData(); - message.denom = object.denom ?? ""; - message.amount = object.amount ?? ""; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/bundle.ts b/examples/telescope/codegen/ibc/bundle.ts deleted file mode 100644 index bf640e264..000000000 --- a/examples/telescope/codegen/ibc/bundle.ts +++ /dev/null @@ -1,137 +0,0 @@ -import * as _108 from "./applications/transfer/v1/genesis"; -import * as _109 from "./applications/transfer/v1/query"; -import * as _110 from "./applications/transfer/v1/transfer"; -import * as _111 from "./applications/transfer/v1/tx"; -import * as _112 from "./applications/transfer/v2/packet"; -import * as _113 from "./core/channel/v1/channel"; -import * as _114 from "./core/channel/v1/genesis"; -import * as _115 from "./core/channel/v1/query"; -import * as _116 from "./core/channel/v1/tx"; -import * as _117 from "./core/client/v1/client"; -import * as _118 from "./core/client/v1/genesis"; -import * as _119 from "./core/client/v1/query"; -import * as _120 from "./core/client/v1/tx"; -import * as _121 from "./core/commitment/v1/commitment"; -import * as _122 from "./core/connection/v1/connection"; -import * as _123 from "./core/connection/v1/genesis"; -import * as _124 from "./core/connection/v1/query"; -import * as _125 from "./core/connection/v1/tx"; -import * as _126 from "./core/port/v1/query"; -import * as _127 from "./core/types/v1/genesis"; -import * as _128 from "./lightclients/localhost/v1/localhost"; -import * as _129 from "./lightclients/solomachine/v1/solomachine"; -import * as _130 from "./lightclients/solomachine/v2/solomachine"; -import * as _131 from "./lightclients/tendermint/v1/tendermint"; -import * as _225 from "./applications/transfer/v1/tx.amino"; -import * as _226 from "./core/channel/v1/tx.amino"; -import * as _227 from "./core/client/v1/tx.amino"; -import * as _228 from "./core/connection/v1/tx.amino"; -import * as _229 from "./applications/transfer/v1/tx.registry"; -import * as _230 from "./core/channel/v1/tx.registry"; -import * as _231 from "./core/client/v1/tx.registry"; -import * as _232 from "./core/connection/v1/tx.registry"; -import * as _233 from "./applications/transfer/v1/query.lcd"; -import * as _234 from "./core/channel/v1/query.lcd"; -import * as _235 from "./core/client/v1/query.lcd"; -import * as _236 from "./core/connection/v1/query.lcd"; -import * as _237 from "./applications/transfer/v1/query.rpc.query"; -import * as _238 from "./core/channel/v1/query.rpc.query"; -import * as _239 from "./core/client/v1/query.rpc.query"; -import * as _240 from "./core/connection/v1/query.rpc.query"; -import * as _241 from "./core/port/v1/query.rpc.query"; -import * as _242 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _243 from "./core/channel/v1/tx.rpc.msg"; -import * as _244 from "./core/client/v1/tx.rpc.msg"; -import * as _245 from "./core/connection/v1/tx.rpc.msg"; -import * as _252 from "./lcd"; -import * as _253 from "./rpc.query"; -import * as _254 from "./rpc.tx"; -export namespace ibc { - export namespace applications { - export namespace transfer { - export const v1 = { ..._108, - ..._109, - ..._110, - ..._111, - ..._225, - ..._229, - ..._233, - ..._237, - ..._242 - }; - export const v2 = { ..._112 - }; - } - } - export namespace core { - export namespace channel { - export const v1 = { ..._113, - ..._114, - ..._115, - ..._116, - ..._226, - ..._230, - ..._234, - ..._238, - ..._243 - }; - } - export namespace client { - export const v1 = { ..._117, - ..._118, - ..._119, - ..._120, - ..._227, - ..._231, - ..._235, - ..._239, - ..._244 - }; - } - export namespace commitment { - export const v1 = { ..._121 - }; - } - export namespace connection { - export const v1 = { ..._122, - ..._123, - ..._124, - ..._125, - ..._228, - ..._232, - ..._236, - ..._240, - ..._245 - }; - } - export namespace port { - export const v1 = { ..._126, - ..._241 - }; - } - export namespace types { - export const v1 = { ..._127 - }; - } - } - export namespace lightclients { - export namespace localhost { - export const v1 = { ..._128 - }; - } - export namespace solomachine { - export const v1 = { ..._129 - }; - export const v2 = { ..._130 - }; - } - export namespace tendermint { - export const v1 = { ..._131 - }; - } - } - export const ClientFactory = { ..._252, - ..._253, - ..._254 - }; -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/client.ts b/examples/telescope/codegen/ibc/client.ts deleted file mode 100644 index d082598fa..000000000 --- a/examples/telescope/codegen/ibc/client.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import * as ibcApplicationsTransferV1TxRegistry from "./applications/transfer/v1/tx.registry"; -import * as ibcCoreChannelV1TxRegistry from "./core/channel/v1/tx.registry"; -import * as ibcCoreClientV1TxRegistry from "./core/client/v1/tx.registry"; -import * as ibcCoreConnectionV1TxRegistry from "./core/connection/v1/tx.registry"; -import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx.amino"; -import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; -import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; -import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; -export const ibcAminoConverters = { ...ibcApplicationsTransferV1TxAmino.AminoConverter, - ...ibcCoreChannelV1TxAmino.AminoConverter, - ...ibcCoreClientV1TxAmino.AminoConverter, - ...ibcCoreConnectionV1TxAmino.AminoConverter -}; -export const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]; -export const getSigningIbcClientOptions = ({ - defaultTypes = defaultRegistryTypes -}: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -} = {}): { - registry: Registry; - aminoTypes: AminoTypes; -} => { - const registry = new Registry([...defaultTypes, ...ibcProtoRegistry]); - const aminoTypes = new AminoTypes({ ...ibcAminoConverters - }); - return { - registry, - aminoTypes - }; -}; -export const getSigningIbcClient = async ({ - rpcEndpoint, - signer, - defaultTypes = defaultRegistryTypes -}: { - rpcEndpoint: string; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - const { - registry, - aminoTypes - } = getSigningIbcClientOptions({ - defaultTypes - }); - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry, - aminoTypes - }); - return client; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts deleted file mode 100644 index 135c1675a..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts +++ /dev/null @@ -1,925 +0,0 @@ -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * State defines if a channel is in one of the following states: - * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ - -export enum State { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - - /** STATE_INIT - A channel has just started the opening handshake. */ - STATE_INIT = 1, - - /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ - STATE_TRYOPEN = 2, - - /** - * STATE_OPEN - A channel has completed the handshake. Open channels are - * ready to send and receive packets. - */ - STATE_OPEN = 3, - - /** - * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive - * packets. - */ - STATE_CLOSED = 4, - UNRECOGNIZED = -1, -} -/** - * State defines if a channel is in one of the following states: - * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ - -export enum StateSDKType { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - - /** STATE_INIT - A channel has just started the opening handshake. */ - STATE_INIT = 1, - - /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ - STATE_TRYOPEN = 2, - - /** - * STATE_OPEN - A channel has completed the handshake. Open channels are - * ready to send and receive packets. - */ - STATE_OPEN = 3, - - /** - * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive - * packets. - */ - STATE_CLOSED = 4, - UNRECOGNIZED = -1, -} -export function stateFromJSON(object: any): State { - switch (object) { - case 0: - case "STATE_UNINITIALIZED_UNSPECIFIED": - return State.STATE_UNINITIALIZED_UNSPECIFIED; - - case 1: - case "STATE_INIT": - return State.STATE_INIT; - - case 2: - case "STATE_TRYOPEN": - return State.STATE_TRYOPEN; - - case 3: - case "STATE_OPEN": - return State.STATE_OPEN; - - case 4: - case "STATE_CLOSED": - return State.STATE_CLOSED; - - case -1: - case "UNRECOGNIZED": - default: - return State.UNRECOGNIZED; - } -} -export function stateToJSON(object: State): string { - switch (object) { - case State.STATE_UNINITIALIZED_UNSPECIFIED: - return "STATE_UNINITIALIZED_UNSPECIFIED"; - - case State.STATE_INIT: - return "STATE_INIT"; - - case State.STATE_TRYOPEN: - return "STATE_TRYOPEN"; - - case State.STATE_OPEN: - return "STATE_OPEN"; - - case State.STATE_CLOSED: - return "STATE_CLOSED"; - - case State.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Order defines if a channel is ORDERED or UNORDERED */ - -export enum Order { - /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ - ORDER_NONE_UNSPECIFIED = 0, - - /** - * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in - * which they were sent. - */ - ORDER_UNORDERED = 1, - - /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ - ORDER_ORDERED = 2, - UNRECOGNIZED = -1, -} -/** Order defines if a channel is ORDERED or UNORDERED */ - -export enum OrderSDKType { - /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ - ORDER_NONE_UNSPECIFIED = 0, - - /** - * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in - * which they were sent. - */ - ORDER_UNORDERED = 1, - - /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ - ORDER_ORDERED = 2, - UNRECOGNIZED = -1, -} -export function orderFromJSON(object: any): Order { - switch (object) { - case 0: - case "ORDER_NONE_UNSPECIFIED": - return Order.ORDER_NONE_UNSPECIFIED; - - case 1: - case "ORDER_UNORDERED": - return Order.ORDER_UNORDERED; - - case 2: - case "ORDER_ORDERED": - return Order.ORDER_ORDERED; - - case -1: - case "UNRECOGNIZED": - default: - return Order.UNRECOGNIZED; - } -} -export function orderToJSON(object: Order): string { - switch (object) { - case Order.ORDER_NONE_UNSPECIFIED: - return "ORDER_NONE_UNSPECIFIED"; - - case Order.ORDER_UNORDERED: - return "ORDER_UNORDERED"; - - case Order.ORDER_ORDERED: - return "ORDER_ORDERED"; - - case Order.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Channel defines pipeline for exactly-once packet delivery between specific - * modules on separate blockchains, which has at least one end capable of - * sending packets and one end capable of receiving packets. - */ - -export interface Channel { - /** current state of the channel end */ - state: State; - /** whether the channel is ordered or unordered */ - - ordering: Order; - /** counterparty channel end */ - - counterparty?: Counterparty | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - - connectionHops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - - version: string; -} -/** - * Channel defines pipeline for exactly-once packet delivery between specific - * modules on separate blockchains, which has at least one end capable of - * sending packets and one end capable of receiving packets. - */ - -export interface ChannelSDKType { - /** current state of the channel end */ - state: StateSDKType; - /** whether the channel is ordered or unordered */ - - ordering: OrderSDKType; - /** counterparty channel end */ - - counterparty?: CounterpartySDKType | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - - connection_hops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - - version: string; -} -/** - * IdentifiedChannel defines a channel with additional port and channel - * identifier fields. - */ - -export interface IdentifiedChannel { - /** current state of the channel end */ - state: State; - /** whether the channel is ordered or unordered */ - - ordering: Order; - /** counterparty channel end */ - - counterparty?: Counterparty | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - - connectionHops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - - version: string; - /** port identifier */ - - portId: string; - /** channel identifier */ - - channelId: string; -} -/** - * IdentifiedChannel defines a channel with additional port and channel - * identifier fields. - */ - -export interface IdentifiedChannelSDKType { - /** current state of the channel end */ - state: StateSDKType; - /** whether the channel is ordered or unordered */ - - ordering: OrderSDKType; - /** counterparty channel end */ - - counterparty?: CounterpartySDKType | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - - connection_hops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - - version: string; - /** port identifier */ - - port_id: string; - /** channel identifier */ - - channel_id: string; -} -/** Counterparty defines a channel end counterparty */ - -export interface Counterparty { - /** port on the counterparty chain which owns the other end of the channel. */ - portId: string; - /** channel end on the counterparty chain */ - - channelId: string; -} -/** Counterparty defines a channel end counterparty */ - -export interface CounterpartySDKType { - /** port on the counterparty chain which owns the other end of the channel. */ - port_id: string; - /** channel end on the counterparty chain */ - - channel_id: string; -} -/** Packet defines a type that carries data across different chains through IBC */ - -export interface Packet { - /** - * number corresponds to the order of sends and receives, where a Packet - * with an earlier sequence number must be sent and received before a Packet - * with a later sequence number. - */ - sequence: Long; - /** identifies the port on the sending chain. */ - - sourcePort: string; - /** identifies the channel end on the sending chain. */ - - sourceChannel: string; - /** identifies the port on the receiving chain. */ - - destinationPort: string; - /** identifies the channel end on the receiving chain. */ - - destinationChannel: string; - /** actual opaque bytes transferred directly to the application module */ - - data: Uint8Array; - /** block height after which the packet times out */ - - timeoutHeight?: Height | undefined; - /** block timestamp (in nanoseconds) after which the packet times out */ - - timeoutTimestamp: Long; -} -/** Packet defines a type that carries data across different chains through IBC */ - -export interface PacketSDKType { - /** - * number corresponds to the order of sends and receives, where a Packet - * with an earlier sequence number must be sent and received before a Packet - * with a later sequence number. - */ - sequence: Long; - /** identifies the port on the sending chain. */ - - source_port: string; - /** identifies the channel end on the sending chain. */ - - source_channel: string; - /** identifies the port on the receiving chain. */ - - destination_port: string; - /** identifies the channel end on the receiving chain. */ - - destination_channel: string; - /** actual opaque bytes transferred directly to the application module */ - - data: Uint8Array; - /** block height after which the packet times out */ - - timeout_height?: HeightSDKType | undefined; - /** block timestamp (in nanoseconds) after which the packet times out */ - - timeout_timestamp: Long; -} -/** - * PacketState defines the generic type necessary to retrieve and store - * packet commitments, acknowledgements, and receipts. - * Caller is responsible for knowing the context necessary to interpret this - * state as a commitment, acknowledgement, or a receipt. - */ - -export interface PacketState { - /** channel port identifier. */ - portId: string; - /** channel unique identifier. */ - - channelId: string; - /** packet sequence. */ - - sequence: Long; - /** embedded data that represents packet state. */ - - data: Uint8Array; -} -/** - * PacketState defines the generic type necessary to retrieve and store - * packet commitments, acknowledgements, and receipts. - * Caller is responsible for knowing the context necessary to interpret this - * state as a commitment, acknowledgement, or a receipt. - */ - -export interface PacketStateSDKType { - /** channel port identifier. */ - port_id: string; - /** channel unique identifier. */ - - channel_id: string; - /** packet sequence. */ - - sequence: Long; - /** embedded data that represents packet state. */ - - data: Uint8Array; -} -/** - * Acknowledgement is the recommended acknowledgement format to be used by - * app-specific protocols. - * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental - * conflicts with other protobuf message formats used for acknowledgements. - * The first byte of any message with this format will be the non-ASCII values - * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: - * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope - */ - -export interface Acknowledgement { - result?: Uint8Array; - error?: string; -} -/** - * Acknowledgement is the recommended acknowledgement format to be used by - * app-specific protocols. - * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental - * conflicts with other protobuf message formats used for acknowledgements. - * The first byte of any message with this format will be the non-ASCII values - * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: - * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope - */ - -export interface AcknowledgementSDKType { - result?: Uint8Array; - error?: string; -} - -function createBaseChannel(): Channel { - return { - state: 0, - ordering: 0, - counterparty: undefined, - connectionHops: [], - version: "" - }; -} - -export const Channel = { - encode(message: Channel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.state !== 0) { - writer.uint32(8).int32(message.state); - } - - if (message.ordering !== 0) { - writer.uint32(16).int32(message.ordering); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.connectionHops) { - writer.uint32(34).string(v!); - } - - if (message.version !== "") { - writer.uint32(42).string(message.version); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Channel { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChannel(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.state = (reader.int32() as any); - break; - - case 2: - message.ordering = (reader.int32() as any); - break; - - case 3: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 4: - message.connectionHops.push(reader.string()); - break; - - case 5: - message.version = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Channel { - const message = createBaseChannel(); - message.state = object.state ?? 0; - message.ordering = object.ordering ?? 0; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.connectionHops = object.connectionHops?.map(e => e) || []; - message.version = object.version ?? ""; - return message; - } - -}; - -function createBaseIdentifiedChannel(): IdentifiedChannel { - return { - state: 0, - ordering: 0, - counterparty: undefined, - connectionHops: [], - version: "", - portId: "", - channelId: "" - }; -} - -export const IdentifiedChannel = { - encode(message: IdentifiedChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.state !== 0) { - writer.uint32(8).int32(message.state); - } - - if (message.ordering !== 0) { - writer.uint32(16).int32(message.ordering); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.connectionHops) { - writer.uint32(34).string(v!); - } - - if (message.version !== "") { - writer.uint32(42).string(message.version); - } - - if (message.portId !== "") { - writer.uint32(50).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(58).string(message.channelId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdentifiedChannel(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.state = (reader.int32() as any); - break; - - case 2: - message.ordering = (reader.int32() as any); - break; - - case 3: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 4: - message.connectionHops.push(reader.string()); - break; - - case 5: - message.version = reader.string(); - break; - - case 6: - message.portId = reader.string(); - break; - - case 7: - message.channelId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): IdentifiedChannel { - const message = createBaseIdentifiedChannel(); - message.state = object.state ?? 0; - message.ordering = object.ordering ?? 0; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.connectionHops = object.connectionHops?.map(e => e) || []; - message.version = object.version ?? ""; - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - return message; - } - -}; - -function createBaseCounterparty(): Counterparty { - return { - portId: "", - channelId: "" - }; -} - -export const Counterparty = { - encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCounterparty(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Counterparty { - const message = createBaseCounterparty(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - return message; - } - -}; - -function createBasePacket(): Packet { - return { - sequence: Long.UZERO, - sourcePort: "", - sourceChannel: "", - destinationPort: "", - destinationChannel: "", - data: new Uint8Array(), - timeoutHeight: undefined, - timeoutTimestamp: Long.UZERO - }; -} - -export const Packet = { - encode(message: Packet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (message.sourcePort !== "") { - writer.uint32(18).string(message.sourcePort); - } - - if (message.sourceChannel !== "") { - writer.uint32(26).string(message.sourceChannel); - } - - if (message.destinationPort !== "") { - writer.uint32(34).string(message.destinationPort); - } - - if (message.destinationChannel !== "") { - writer.uint32(42).string(message.destinationChannel); - } - - if (message.data.length !== 0) { - writer.uint32(50).bytes(message.data); - } - - if (message.timeoutHeight !== undefined) { - Height.encode(message.timeoutHeight, writer.uint32(58).fork()).ldelim(); - } - - if (!message.timeoutTimestamp.isZero()) { - writer.uint32(64).uint64(message.timeoutTimestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Packet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacket(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sequence = (reader.uint64() as Long); - break; - - case 2: - message.sourcePort = reader.string(); - break; - - case 3: - message.sourceChannel = reader.string(); - break; - - case 4: - message.destinationPort = reader.string(); - break; - - case 5: - message.destinationChannel = reader.string(); - break; - - case 6: - message.data = reader.bytes(); - break; - - case 7: - message.timeoutHeight = Height.decode(reader, reader.uint32()); - break; - - case 8: - message.timeoutTimestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Packet { - const message = createBasePacket(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.sourcePort = object.sourcePort ?? ""; - message.sourceChannel = object.sourceChannel ?? ""; - message.destinationPort = object.destinationPort ?? ""; - message.destinationChannel = object.destinationChannel ?? ""; - message.data = object.data ?? new Uint8Array(); - message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; - message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; - return message; - } - -}; - -function createBasePacketState(): PacketState { - return { - portId: "", - channelId: "", - sequence: Long.UZERO, - data: new Uint8Array() - }; -} - -export const PacketState = { - encode(message: PacketState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - if (message.data.length !== 0) { - writer.uint32(34).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - case 4: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketState { - const message = createBasePacketState(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseAcknowledgement(): Acknowledgement { - return { - result: undefined, - error: undefined - }; -} - -export const Acknowledgement = { - encode(message: Acknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.result !== undefined) { - writer.uint32(170).bytes(message.result); - } - - if (message.error !== undefined) { - writer.uint32(178).string(message.error); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAcknowledgement(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 21: - message.result = reader.bytes(); - break; - - case 22: - message.error = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Acknowledgement { - const message = createBaseAcknowledgement(); - message.result = object.result ?? undefined; - message.error = object.error ?? undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts deleted file mode 100644 index 819579b03..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts +++ /dev/null @@ -1,231 +0,0 @@ -import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** GenesisState defines the ibc channel submodule's genesis state. */ - -export interface GenesisState { - channels: IdentifiedChannel[]; - acknowledgements: PacketState[]; - commitments: PacketState[]; - receipts: PacketState[]; - sendSequences: PacketSequence[]; - recvSequences: PacketSequence[]; - ackSequences: PacketSequence[]; - /** the sequence for the next generated channel identifier */ - - nextChannelSequence: Long; -} -/** GenesisState defines the ibc channel submodule's genesis state. */ - -export interface GenesisStateSDKType { - channels: IdentifiedChannelSDKType[]; - acknowledgements: PacketStateSDKType[]; - commitments: PacketStateSDKType[]; - receipts: PacketStateSDKType[]; - send_sequences: PacketSequenceSDKType[]; - recv_sequences: PacketSequenceSDKType[]; - ack_sequences: PacketSequenceSDKType[]; - /** the sequence for the next generated channel identifier */ - - next_channel_sequence: Long; -} -/** - * PacketSequence defines the genesis type necessary to retrieve and store - * next send and receive sequences. - */ - -export interface PacketSequence { - portId: string; - channelId: string; - sequence: Long; -} -/** - * PacketSequence defines the genesis type necessary to retrieve and store - * next send and receive sequences. - */ - -export interface PacketSequenceSDKType { - port_id: string; - channel_id: string; - sequence: Long; -} - -function createBaseGenesisState(): GenesisState { - return { - channels: [], - acknowledgements: [], - commitments: [], - receipts: [], - sendSequences: [], - recvSequences: [], - ackSequences: [], - nextChannelSequence: Long.UZERO - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.channels) { - IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.acknowledgements) { - PacketState.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.commitments) { - PacketState.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.receipts) { - PacketState.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - for (const v of message.sendSequences) { - PacketSequence.encode(v!, writer.uint32(42).fork()).ldelim(); - } - - for (const v of message.recvSequences) { - PacketSequence.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - for (const v of message.ackSequences) { - PacketSequence.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (!message.nextChannelSequence.isZero()) { - writer.uint32(64).uint64(message.nextChannelSequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); - break; - - case 2: - message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); - break; - - case 3: - message.commitments.push(PacketState.decode(reader, reader.uint32())); - break; - - case 4: - message.receipts.push(PacketState.decode(reader, reader.uint32())); - break; - - case 5: - message.sendSequences.push(PacketSequence.decode(reader, reader.uint32())); - break; - - case 6: - message.recvSequences.push(PacketSequence.decode(reader, reader.uint32())); - break; - - case 7: - message.ackSequences.push(PacketSequence.decode(reader, reader.uint32())); - break; - - case 8: - message.nextChannelSequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; - message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; - message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; - message.receipts = object.receipts?.map(e => PacketState.fromPartial(e)) || []; - message.sendSequences = object.sendSequences?.map(e => PacketSequence.fromPartial(e)) || []; - message.recvSequences = object.recvSequences?.map(e => PacketSequence.fromPartial(e)) || []; - message.ackSequences = object.ackSequences?.map(e => PacketSequence.fromPartial(e)) || []; - message.nextChannelSequence = object.nextChannelSequence !== undefined && object.nextChannelSequence !== null ? Long.fromValue(object.nextChannelSequence) : Long.UZERO; - return message; - } - -}; - -function createBasePacketSequence(): PacketSequence { - return { - portId: "", - channelId: "", - sequence: Long.UZERO - }; -} - -export const PacketSequence = { - encode(message: PacketSequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketSequence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketSequence { - const message = createBasePacketSequence(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts deleted file mode 100644 index dad6252aa..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.channel = this.channel.bind(this); - this.channels = this.channels.bind(this); - this.connectionChannels = this.connectionChannels.bind(this); - this.channelClientState = this.channelClientState.bind(this); - this.channelConsensusState = this.channelConsensusState.bind(this); - this.packetCommitment = this.packetCommitment.bind(this); - this.packetCommitments = this.packetCommitments.bind(this); - this.packetReceipt = this.packetReceipt.bind(this); - this.packetAcknowledgement = this.packetAcknowledgement.bind(this); - this.packetAcknowledgements = this.packetAcknowledgements.bind(this); - this.unreceivedPackets = this.unreceivedPackets.bind(this); - this.unreceivedAcks = this.unreceivedAcks.bind(this); - this.nextSequenceReceive = this.nextSequenceReceive.bind(this); - } - /* Channel queries an IBC Channel. */ - - - async channel(params: QueryChannelRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; - return await this.req.get(endpoint); - } - /* Channels queries all the IBC channels of a chain. */ - - - async channels(params: QueryChannelsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/channels`; - return await this.req.get(endpoint, options); - } - /* ConnectionChannels queries all the channels associated with a connection - end. */ - - - async connectionChannels(params: QueryConnectionChannelsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; - return await this.req.get(endpoint, options); - } - /* ChannelClientState queries for the client state for the channel associated - with the provided channel identifiers. */ - - - async channelClientState(params: QueryChannelClientStateRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; - return await this.req.get(endpoint); - } - /* ChannelConsensusState queries for the consensus state for the channel - associated with the provided channel identifiers. */ - - - async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.req.get(endpoint); - } - /* PacketCommitment queries a stored packet commitment hash. */ - - - async packetCommitment(params: QueryPacketCommitmentRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; - return await this.req.get(endpoint); - } - /* PacketCommitments returns all the packet commitments hashes associated - with a channel. */ - - - async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; - return await this.req.get(endpoint, options); - } - /* PacketReceipt queries if a given packet sequence has been received on the - queried chain */ - - - async packetReceipt(params: QueryPacketReceiptRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; - return await this.req.get(endpoint); - } - /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ - - - async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; - return await this.req.get(endpoint); - } - /* PacketAcknowledgements returns all the packet acknowledgements associated - with a channel. */ - - - async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - if (typeof params?.packetCommitmentSequences !== "undefined") { - options.params.packet_commitment_sequences = params.packetCommitmentSequences; - } - - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; - return await this.req.get(endpoint, options); - } - /* UnreceivedPackets returns all the unreceived IBC packets associated with a - channel and sequences. */ - - - async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; - return await this.req.get(endpoint); - } - /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated - with a channel and sequences. */ - - - async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; - return await this.req.get(endpoint); - } - /* NextSequenceReceive returns the next receive sequence for a given channel. */ - - - async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { - const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts deleted file mode 100644 index 4fbeb5b70..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.query.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; -/** Query provides defines the gRPC querier service */ - -export interface Query { - /** Channel queries an IBC Channel. */ - channel(request: QueryChannelRequest): Promise; - /** Channels queries all the IBC channels of a chain. */ - - channels(request?: QueryChannelsRequest): Promise; - /** - * ConnectionChannels queries all the channels associated with a connection - * end. - */ - - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - /** - * ChannelClientState queries for the client state for the channel associated - * with the provided channel identifiers. - */ - - channelClientState(request: QueryChannelClientStateRequest): Promise; - /** - * ChannelConsensusState queries for the consensus state for the channel - * associated with the provided channel identifiers. - */ - - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - /** PacketCommitment queries a stored packet commitment hash. */ - - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - /** - * PacketCommitments returns all the packet commitments hashes associated - * with a channel. - */ - - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - /** - * PacketReceipt queries if a given packet sequence has been received on the - * queried chain - */ - - packetReceipt(request: QueryPacketReceiptRequest): Promise; - /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ - - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - /** - * PacketAcknowledgements returns all the packet acknowledgements associated - * with a channel. - */ - - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - /** - * UnreceivedPackets returns all the unreceived IBC packets associated with a - * channel and sequences. - */ - - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - /** - * UnreceivedAcks returns all the unreceived IBC acknowledgements associated - * with a channel and sequences. - */ - - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - /** NextSequenceReceive returns the next receive sequence for a given channel. */ - - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.channel = this.channel.bind(this); - this.channels = this.channels.bind(this); - this.connectionChannels = this.connectionChannels.bind(this); - this.channelClientState = this.channelClientState.bind(this); - this.channelConsensusState = this.channelConsensusState.bind(this); - this.packetCommitment = this.packetCommitment.bind(this); - this.packetCommitments = this.packetCommitments.bind(this); - this.packetReceipt = this.packetReceipt.bind(this); - this.packetAcknowledgement = this.packetAcknowledgement.bind(this); - this.packetAcknowledgements = this.packetAcknowledgements.bind(this); - this.unreceivedPackets = this.unreceivedPackets.bind(this); - this.unreceivedAcks = this.unreceivedAcks.bind(this); - this.nextSequenceReceive = this.nextSequenceReceive.bind(this); - } - - channel(request: QueryChannelRequest): Promise { - const data = QueryChannelRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); - return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); - } - - channels(request: QueryChannelsRequest = { - pagination: undefined - }): Promise { - const data = QueryChannelsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); - return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); - } - - connectionChannels(request: QueryConnectionChannelsRequest): Promise { - const data = QueryConnectionChannelsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); - return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); - } - - channelClientState(request: QueryChannelClientStateRequest): Promise { - const data = QueryChannelClientStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); - return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); - } - - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { - const data = QueryChannelConsensusStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); - return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); - } - - packetCommitment(request: QueryPacketCommitmentRequest): Promise { - const data = QueryPacketCommitmentRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); - return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); - } - - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { - const data = QueryPacketCommitmentsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); - return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); - } - - packetReceipt(request: QueryPacketReceiptRequest): Promise { - const data = QueryPacketReceiptRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); - return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); - } - - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { - const data = QueryPacketAcknowledgementRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); - return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); - } - - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { - const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); - return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); - } - - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { - const data = QueryUnreceivedPacketsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); - return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); - } - - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { - const data = QueryUnreceivedAcksRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); - return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); - } - - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { - const data = QueryNextSequenceReceiveRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); - return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - channel(request: QueryChannelRequest): Promise { - return queryService.channel(request); - }, - - channels(request?: QueryChannelsRequest): Promise { - return queryService.channels(request); - }, - - connectionChannels(request: QueryConnectionChannelsRequest): Promise { - return queryService.connectionChannels(request); - }, - - channelClientState(request: QueryChannelClientStateRequest): Promise { - return queryService.channelClientState(request); - }, - - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { - return queryService.channelConsensusState(request); - }, - - packetCommitment(request: QueryPacketCommitmentRequest): Promise { - return queryService.packetCommitment(request); - }, - - packetCommitments(request: QueryPacketCommitmentsRequest): Promise { - return queryService.packetCommitments(request); - }, - - packetReceipt(request: QueryPacketReceiptRequest): Promise { - return queryService.packetReceipt(request); - }, - - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { - return queryService.packetAcknowledgement(request); - }, - - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { - return queryService.packetAcknowledgements(request); - }, - - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { - return queryService.unreceivedPackets(request); - }, - - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { - return queryService.unreceivedAcks(request); - }, - - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { - return queryService.nextSequenceReceive(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.ts deleted file mode 100644 index b4b4b297b..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/query.ts +++ /dev/null @@ -1,2444 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; -import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** QueryChannelRequest is the request type for the Query/Channel RPC method */ - -export interface QueryChannelRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; -} -/** QueryChannelRequest is the request type for the Query/Channel RPC method */ - -export interface QueryChannelRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; -} -/** - * QueryChannelResponse is the response type for the Query/Channel RPC method. - * Besides the Channel end, it includes a proof and the height from which the - * proof was retrieved. - */ - -export interface QueryChannelResponse { - /** channel associated with the request identifiers */ - channel?: Channel | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryChannelResponse is the response type for the Query/Channel RPC method. - * Besides the Channel end, it includes a proof and the height from which the - * proof was retrieved. - */ - -export interface QueryChannelResponseSDKType { - /** channel associated with the request identifiers */ - channel?: ChannelSDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ - -export interface QueryChannelsRequest { - /** pagination request */ - pagination?: PageRequest | undefined; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ - -export interface QueryChannelsRequestSDKType { - /** pagination request */ - pagination?: PageRequestSDKType | undefined; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ - -export interface QueryChannelsResponse { - /** list of stored channels of the chain. */ - channels: IdentifiedChannel[]; - /** pagination response */ - - pagination?: PageResponse | undefined; - /** query block height */ - - height?: Height | undefined; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ - -export interface QueryChannelsResponseSDKType { - /** list of stored channels of the chain. */ - channels: IdentifiedChannelSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsRequest { - /** connection unique identifier */ - connection: string; - /** pagination request */ - - pagination?: PageRequest | undefined; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsRequestSDKType { - /** connection unique identifier */ - connection: string; - /** pagination request */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsResponse { - /** list of channels associated with a connection. */ - channels: IdentifiedChannel[]; - /** pagination response */ - - pagination?: PageResponse | undefined; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsResponseSDKType { - /** list of channels associated with a connection. */ - channels: IdentifiedChannelSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryChannelClientStateRequest is the request type for the Query/ClientState - * RPC method - */ - -export interface QueryChannelClientStateRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; -} -/** - * QueryChannelClientStateRequest is the request type for the Query/ClientState - * RPC method - */ - -export interface QueryChannelClientStateRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelClientStateResponseSDKType { - /** client state associated with the channel */ - identified_client_state?: IdentifiedClientStateSDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryChannelConsensusStateRequest is the request type for the - * Query/ConsensusState RPC method - */ - -export interface QueryChannelConsensusStateRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** revision number of the consensus state */ - - revisionNumber: Long; - /** revision height of the consensus state */ - - revisionHeight: Long; -} -/** - * QueryChannelConsensusStateRequest is the request type for the - * Query/ConsensusState RPC method - */ - -export interface QueryChannelConsensusStateRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** revision number of the consensus state */ - - revision_number: Long; - /** revision height of the consensus state */ - - revision_height: Long; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelConsensusStateResponse { - /** consensus state associated with the channel */ - consensusState?: Any | undefined; - /** client ID associated with the consensus state */ - - clientId: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelConsensusStateResponseSDKType { - /** consensus state associated with the channel */ - consensus_state?: AnySDKType | undefined; - /** client ID associated with the consensus state */ - - client_id: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryPacketCommitmentRequest is the request type for the - * Query/PacketCommitment RPC method - */ - -export interface QueryPacketCommitmentRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketCommitmentRequest is the request type for the - * Query/PacketCommitment RPC method - */ - -export interface QueryPacketCommitmentRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketCommitmentResponse defines the client query response for a packet - * which also includes a proof and the height from which the proof was - * retrieved - */ - -export interface QueryPacketCommitmentResponse { - /** packet associated with the request fields */ - commitment: Uint8Array; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryPacketCommitmentResponse defines the client query response for a packet - * which also includes a proof and the height from which the proof was - * retrieved - */ - -export interface QueryPacketCommitmentResponseSDKType { - /** packet associated with the request fields */ - commitment: Uint8Array; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** pagination request */ - - pagination?: PageRequest | undefined; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** pagination request */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsResponse { - commitments: PacketState[]; - /** pagination response */ - - pagination?: PageResponse | undefined; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsResponseSDKType { - commitments: PacketStateSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryPacketReceiptRequest is the request type for the - * Query/PacketReceipt RPC method - */ - -export interface QueryPacketReceiptRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketReceiptRequest is the request type for the - * Query/PacketReceipt RPC method - */ - -export interface QueryPacketReceiptRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketReceiptResponse defines the client query response for a packet - * receipt which also includes a proof, and the height from which the proof was - * retrieved - */ - -export interface QueryPacketReceiptResponse { - /** success flag for if receipt exists */ - received: boolean; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryPacketReceiptResponse defines the client query response for a packet - * receipt which also includes a proof, and the height from which the proof was - * retrieved - */ - -export interface QueryPacketReceiptResponseSDKType { - /** success flag for if receipt exists */ - received: boolean; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryPacketAcknowledgementRequest is the request type for the - * Query/PacketAcknowledgement RPC method - */ - -export interface QueryPacketAcknowledgementRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketAcknowledgementRequest is the request type for the - * Query/PacketAcknowledgement RPC method - */ - -export interface QueryPacketAcknowledgementRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** packet sequence */ - - sequence: Long; -} -/** - * QueryPacketAcknowledgementResponse defines the client query response for a - * packet which also includes a proof and the height from which the - * proof was retrieved - */ - -export interface QueryPacketAcknowledgementResponse { - /** packet associated with the request fields */ - acknowledgement: Uint8Array; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryPacketAcknowledgementResponse defines the client query response for a - * packet which also includes a proof and the height from which the - * proof was retrieved - */ - -export interface QueryPacketAcknowledgementResponseSDKType { - /** packet associated with the request fields */ - acknowledgement: Uint8Array; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketAcknowledgementsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** pagination request */ - - pagination?: PageRequest | undefined; - /** list of packet sequences */ - - packetCommitmentSequences: Long[]; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketAcknowledgementsRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** pagination request */ - - pagination?: PageRequestSDKType | undefined; - /** list of packet sequences */ - - packet_commitment_sequences: Long[]; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ - -export interface QueryPacketAcknowledgementsResponse { - acknowledgements: PacketState[]; - /** pagination response */ - - pagination?: PageResponse | undefined; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ - -export interface QueryPacketAcknowledgementsResponseSDKType { - acknowledgements: PacketStateSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryUnreceivedPacketsRequest is the request type for the - * Query/UnreceivedPackets RPC method - */ - -export interface QueryUnreceivedPacketsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** list of packet sequences */ - - packetCommitmentSequences: Long[]; -} -/** - * QueryUnreceivedPacketsRequest is the request type for the - * Query/UnreceivedPackets RPC method - */ - -export interface QueryUnreceivedPacketsRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** list of packet sequences */ - - packet_commitment_sequences: Long[]; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ - -export interface QueryUnreceivedPacketsResponse { - /** list of unreceived packet sequences */ - sequences: Long[]; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ - -export interface QueryUnreceivedPacketsResponseSDKType { - /** list of unreceived packet sequences */ - sequences: Long[]; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryUnreceivedAcks is the request type for the - * Query/UnreceivedAcks RPC method - */ - -export interface QueryUnreceivedAcksRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; - /** list of acknowledgement sequences */ - - packetAckSequences: Long[]; -} -/** - * QueryUnreceivedAcks is the request type for the - * Query/UnreceivedAcks RPC method - */ - -export interface QueryUnreceivedAcksRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; - /** list of acknowledgement sequences */ - - packet_ack_sequences: Long[]; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ - -export interface QueryUnreceivedAcksResponse { - /** list of unreceived acknowledgement sequences */ - sequences: Long[]; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ - -export interface QueryUnreceivedAcksResponseSDKType { - /** list of unreceived acknowledgement sequences */ - sequences: Long[]; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryNextSequenceReceiveRequest is the request type for the - * Query/QueryNextSequenceReceiveRequest RPC method - */ - -export interface QueryNextSequenceReceiveRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - - channelId: string; -} -/** - * QueryNextSequenceReceiveRequest is the request type for the - * Query/QueryNextSequenceReceiveRequest RPC method - */ - -export interface QueryNextSequenceReceiveRequestSDKType { - /** port unique identifier */ - port_id: string; - /** channel unique identifier */ - - channel_id: string; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ - -export interface QueryNextSequenceReceiveResponse { - /** next sequence receive number */ - nextSequenceReceive: Long; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ - -export interface QueryNextSequenceReceiveResponseSDKType { - /** next sequence receive number */ - next_sequence_receive: Long; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} - -function createBaseQueryChannelRequest(): QueryChannelRequest { - return { - portId: "", - channelId: "" - }; -} - -export const QueryChannelRequest = { - encode(message: QueryChannelRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelRequest { - const message = createBaseQueryChannelRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - return message; - } - -}; - -function createBaseQueryChannelResponse(): QueryChannelResponse { - return { - channel: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryChannelResponse = { - encode(message: QueryChannelResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.channel !== undefined) { - Channel.encode(message.channel, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.channel = Channel.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelResponse { - const message = createBaseQueryChannelResponse(); - message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryChannelsRequest(): QueryChannelsRequest { - return { - pagination: undefined - }; -} - -export const QueryChannelsRequest = { - encode(message: QueryChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelsRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryChannelsRequest { - const message = createBaseQueryChannelsRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryChannelsResponse(): QueryChannelsResponse { - return { - channels: [], - pagination: undefined, - height: undefined - }; -} - -export const QueryChannelsResponse = { - encode(message: QueryChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.channels) { - IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - case 3: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelsResponse { - const message = createBaseQueryChannelsResponse(); - message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { - return { - connection: "", - pagination: undefined - }; -} - -export const QueryConnectionChannelsRequest = { - encode(message: QueryConnectionChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connection !== "") { - writer.uint32(10).string(message.connection); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionChannelsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connection = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionChannelsRequest { - const message = createBaseQueryConnectionChannelsRequest(); - message.connection = object.connection ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { - return { - channels: [], - pagination: undefined, - height: undefined - }; -} - -export const QueryConnectionChannelsResponse = { - encode(message: QueryConnectionChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.channels) { - IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionChannelsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - case 3: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionChannelsResponse { - const message = createBaseQueryConnectionChannelsResponse(); - message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryChannelClientStateRequest(): QueryChannelClientStateRequest { - return { - portId: "", - channelId: "" - }; -} - -export const QueryChannelClientStateRequest = { - encode(message: QueryChannelClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelClientStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelClientStateRequest { - const message = createBaseQueryChannelClientStateRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - return message; - } - -}; - -function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { - return { - identifiedClientState: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryChannelClientStateResponse = { - encode(message: QueryChannelClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.identifiedClientState !== undefined) { - IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelClientStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelClientStateResponse { - const message = createBaseQueryChannelClientStateResponse(); - message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryChannelConsensusStateRequest(): QueryChannelConsensusStateRequest { - return { - portId: "", - channelId: "", - revisionNumber: Long.UZERO, - revisionHeight: Long.UZERO - }; -} - -export const QueryChannelConsensusStateRequest = { - encode(message: QueryChannelConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.revisionNumber.isZero()) { - writer.uint32(24).uint64(message.revisionNumber); - } - - if (!message.revisionHeight.isZero()) { - writer.uint32(32).uint64(message.revisionHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelConsensusStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.revisionNumber = (reader.uint64() as Long); - break; - - case 4: - message.revisionHeight = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelConsensusStateRequest { - const message = createBaseQueryChannelConsensusStateRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; - message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusStateResponse { - return { - consensusState: undefined, - clientId: "", - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryChannelConsensusStateResponse = { - encode(message: QueryChannelConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); - } - - if (message.clientId !== "") { - writer.uint32(18).string(message.clientId); - } - - if (message.proof.length !== 0) { - writer.uint32(26).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryChannelConsensusStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.clientId = reader.string(); - break; - - case 3: - message.proof = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryChannelConsensusStateResponse { - const message = createBaseQueryChannelConsensusStateResponse(); - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - message.clientId = object.clientId ?? ""; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryPacketCommitmentRequest(): QueryPacketCommitmentRequest { - return { - portId: "", - channelId: "", - sequence: Long.UZERO - }; -} - -export const QueryPacketCommitmentRequest = { - encode(message: QueryPacketCommitmentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketCommitmentRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketCommitmentRequest { - const message = createBaseQueryPacketCommitmentRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentResponse { - return { - commitment: new Uint8Array(), - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryPacketCommitmentResponse = { - encode(message: QueryPacketCommitmentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.commitment.length !== 0) { - writer.uint32(10).bytes(message.commitment); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketCommitmentResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.commitment = reader.bytes(); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketCommitmentResponse { - const message = createBaseQueryPacketCommitmentResponse(); - message.commitment = object.commitment ?? new Uint8Array(); - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsRequest { - return { - portId: "", - channelId: "", - pagination: undefined - }; -} - -export const QueryPacketCommitmentsRequest = { - encode(message: QueryPacketCommitmentsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketCommitmentsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketCommitmentsRequest { - const message = createBaseQueryPacketCommitmentsRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { - return { - commitments: [], - pagination: undefined, - height: undefined - }; -} - -export const QueryPacketCommitmentsResponse = { - encode(message: QueryPacketCommitmentsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.commitments) { - PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketCommitmentsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.commitments.push(PacketState.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - case 3: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketCommitmentsResponse { - const message = createBaseQueryPacketCommitmentsResponse(); - message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryPacketReceiptRequest(): QueryPacketReceiptRequest { - return { - portId: "", - channelId: "", - sequence: Long.UZERO - }; -} - -export const QueryPacketReceiptRequest = { - encode(message: QueryPacketReceiptRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketReceiptRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketReceiptRequest { - const message = createBaseQueryPacketReceiptRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { - return { - received: false, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryPacketReceiptResponse = { - encode(message: QueryPacketReceiptResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.received === true) { - writer.uint32(16).bool(message.received); - } - - if (message.proof.length !== 0) { - writer.uint32(26).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketReceiptResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.received = reader.bool(); - break; - - case 3: - message.proof = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketReceiptResponse { - const message = createBaseQueryPacketReceiptResponse(); - message.received = object.received ?? false; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryPacketAcknowledgementRequest(): QueryPacketAcknowledgementRequest { - return { - portId: "", - channelId: "", - sequence: Long.UZERO - }; -} - -export const QueryPacketAcknowledgementRequest = { - encode(message: QueryPacketAcknowledgementRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketAcknowledgementRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.sequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketAcknowledgementRequest { - const message = createBaseQueryPacketAcknowledgementRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgementResponse { - return { - acknowledgement: new Uint8Array(), - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryPacketAcknowledgementResponse = { - encode(message: QueryPacketAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.acknowledgement.length !== 0) { - writer.uint32(10).bytes(message.acknowledgement); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketAcknowledgementResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.acknowledgement = reader.bytes(); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketAcknowledgementResponse { - const message = createBaseQueryPacketAcknowledgementResponse(); - message.acknowledgement = object.acknowledgement ?? new Uint8Array(); - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgementsRequest { - return { - portId: "", - channelId: "", - pagination: undefined, - packetCommitmentSequences: [] - }; -} - -export const QueryPacketAcknowledgementsRequest = { - encode(message: QueryPacketAcknowledgementsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - - writer.uint32(34).fork(); - - for (const v of message.packetCommitmentSequences) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketAcknowledgementsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.packetCommitmentSequences.push((reader.uint64() as Long)); - } - } else { - message.packetCommitmentSequences.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { - const message = createBaseQueryPacketAcknowledgementsRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; - -function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { - return { - acknowledgements: [], - pagination: undefined, - height: undefined - }; -} - -export const QueryPacketAcknowledgementsResponse = { - encode(message: QueryPacketAcknowledgementsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.acknowledgements) { - PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPacketAcknowledgementsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - case 3: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { - const message = createBaseQueryPacketAcknowledgementsResponse(); - message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryUnreceivedPacketsRequest(): QueryUnreceivedPacketsRequest { - return { - portId: "", - channelId: "", - packetCommitmentSequences: [] - }; -} - -export const QueryUnreceivedPacketsRequest = { - encode(message: QueryUnreceivedPacketsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - writer.uint32(26).fork(); - - for (const v of message.packetCommitmentSequences) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnreceivedPacketsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.packetCommitmentSequences.push((reader.uint64() as Long)); - } - } else { - message.packetCommitmentSequences.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnreceivedPacketsRequest { - const message = createBaseQueryUnreceivedPacketsRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; - -function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { - return { - sequences: [], - height: undefined - }; -} - -export const QueryUnreceivedPacketsResponse = { - encode(message: QueryUnreceivedPacketsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.sequences) { - writer.uint64(v); - } - - writer.ldelim(); - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnreceivedPacketsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.sequences.push((reader.uint64() as Long)); - } - } else { - message.sequences.push((reader.uint64() as Long)); - } - - break; - - case 2: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnreceivedPacketsResponse { - const message = createBaseQueryUnreceivedPacketsResponse(); - message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryUnreceivedAcksRequest(): QueryUnreceivedAcksRequest { - return { - portId: "", - channelId: "", - packetAckSequences: [] - }; -} - -export const QueryUnreceivedAcksRequest = { - encode(message: QueryUnreceivedAcksRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - writer.uint32(26).fork(); - - for (const v of message.packetAckSequences) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnreceivedAcksRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.packetAckSequences.push((reader.uint64() as Long)); - } - } else { - message.packetAckSequences.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnreceivedAcksRequest { - const message = createBaseQueryUnreceivedAcksRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.packetAckSequences = object.packetAckSequences?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; - -function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { - return { - sequences: [], - height: undefined - }; -} - -export const QueryUnreceivedAcksResponse = { - encode(message: QueryUnreceivedAcksResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - - for (const v of message.sequences) { - writer.uint64(v); - } - - writer.ldelim(); - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnreceivedAcksResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.sequences.push((reader.uint64() as Long)); - } - } else { - message.sequences.push((reader.uint64() as Long)); - } - - break; - - case 2: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUnreceivedAcksResponse { - const message = createBaseQueryUnreceivedAcksResponse(); - message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryNextSequenceReceiveRequest(): QueryNextSequenceReceiveRequest { - return { - portId: "", - channelId: "" - }; -} - -export const QueryNextSequenceReceiveRequest = { - encode(message: QueryNextSequenceReceiveRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNextSequenceReceiveRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryNextSequenceReceiveRequest { - const message = createBaseQueryNextSequenceReceiveRequest(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - return message; - } - -}; - -function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveResponse { - return { - nextSequenceReceive: Long.UZERO, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryNextSequenceReceiveResponse = { - encode(message: QueryNextSequenceReceiveResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.nextSequenceReceive.isZero()) { - writer.uint32(8).uint64(message.nextSequenceReceive); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNextSequenceReceiveResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.nextSequenceReceive = (reader.uint64() as Long); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryNextSequenceReceiveResponse { - const message = createBaseQueryNextSequenceReceiveResponse(); - message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts deleted file mode 100644 index 51cd3b06b..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts +++ /dev/null @@ -1,670 +0,0 @@ -import { stateFromJSON, orderFromJSON } from "./channel"; -import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, omitDefault, Long } from "../../../../helpers"; -import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; -export interface AminoMsgChannelOpenInit extends AminoMsg { - type: "cosmos-sdk/MsgChannelOpenInit"; - value: { - port_id: string; - channel: { - state: number; - ordering: number; - counterparty: { - port_id: string; - channel_id: string; - }; - connection_hops: string[]; - version: string; - }; - signer: string; - }; -} -export interface AminoMsgChannelOpenTry extends AminoMsg { - type: "cosmos-sdk/MsgChannelOpenTry"; - value: { - port_id: string; - previous_channel_id: string; - channel: { - state: number; - ordering: number; - counterparty: { - port_id: string; - channel_id: string; - }; - connection_hops: string[]; - version: string; - }; - counterparty_version: string; - proof_init: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgChannelOpenAck extends AminoMsg { - type: "cosmos-sdk/MsgChannelOpenAck"; - value: { - port_id: string; - channel_id: string; - counterparty_channel_id: string; - counterparty_version: string; - proof_try: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgChannelOpenConfirm extends AminoMsg { - type: "cosmos-sdk/MsgChannelOpenConfirm"; - value: { - port_id: string; - channel_id: string; - proof_ack: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgChannelCloseInit extends AminoMsg { - type: "cosmos-sdk/MsgChannelCloseInit"; - value: { - port_id: string; - channel_id: string; - signer: string; - }; -} -export interface AminoMsgChannelCloseConfirm extends AminoMsg { - type: "cosmos-sdk/MsgChannelCloseConfirm"; - value: { - port_id: string; - channel_id: string; - proof_init: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgRecvPacket extends AminoMsg { - type: "cosmos-sdk/MsgRecvPacket"; - value: { - packet: { - sequence: string; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height: AminoHeight; - timeout_timestamp: string; - }; - proof_commitment: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgTimeout extends AminoMsg { - type: "cosmos-sdk/MsgTimeout"; - value: { - packet: { - sequence: string; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height: AminoHeight; - timeout_timestamp: string; - }; - proof_unreceived: Uint8Array; - proof_height: AminoHeight; - next_sequence_recv: string; - signer: string; - }; -} -export interface AminoMsgTimeoutOnClose extends AminoMsg { - type: "cosmos-sdk/MsgTimeoutOnClose"; - value: { - packet: { - sequence: string; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height: AminoHeight; - timeout_timestamp: string; - }; - proof_unreceived: Uint8Array; - proof_close: Uint8Array; - proof_height: AminoHeight; - next_sequence_recv: string; - signer: string; - }; -} -export interface AminoMsgAcknowledgement extends AminoMsg { - type: "cosmos-sdk/MsgAcknowledgement"; - value: { - packet: { - sequence: string; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height: AminoHeight; - timeout_timestamp: string; - }; - acknowledgement: Uint8Array; - proof_acked: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export const AminoConverter = { - "/ibc.core.channel.v1.MsgChannelOpenInit": { - aminoType: "cosmos-sdk/MsgChannelOpenInit", - toAmino: ({ - portId, - channel, - signer - }: MsgChannelOpenInit): AminoMsgChannelOpenInit["value"] => { - return { - port_id: portId, - channel: { - state: channel.state, - ordering: channel.ordering, - counterparty: { - port_id: channel.counterparty.portId, - channel_id: channel.counterparty.channelId - }, - connection_hops: channel.connectionHops, - version: channel.version - }, - signer - }; - }, - fromAmino: ({ - port_id, - channel, - signer - }: AminoMsgChannelOpenInit["value"]): MsgChannelOpenInit => { - return { - portId: port_id, - channel: { - state: stateFromJSON(channel.state), - ordering: orderFromJSON(channel.ordering), - counterparty: { - portId: channel.counterparty.port_id, - channelId: channel.counterparty.channel_id - }, - connectionHops: channel.connection_hops, - version: channel.version - }, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgChannelOpenTry": { - aminoType: "cosmos-sdk/MsgChannelOpenTry", - toAmino: ({ - portId, - previousChannelId, - channel, - counterpartyVersion, - proofInit, - proofHeight, - signer - }: MsgChannelOpenTry): AminoMsgChannelOpenTry["value"] => { - return { - port_id: portId, - previous_channel_id: previousChannelId, - channel: { - state: channel.state, - ordering: channel.ordering, - counterparty: { - port_id: channel.counterparty.portId, - channel_id: channel.counterparty.channelId - }, - connection_hops: channel.connectionHops, - version: channel.version - }, - counterparty_version: counterpartyVersion, - proof_init: proofInit, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - port_id, - previous_channel_id, - channel, - counterparty_version, - proof_init, - proof_height, - signer - }: AminoMsgChannelOpenTry["value"]): MsgChannelOpenTry => { - return { - portId: port_id, - previousChannelId: previous_channel_id, - channel: { - state: stateFromJSON(channel.state), - ordering: orderFromJSON(channel.ordering), - counterparty: { - portId: channel.counterparty.port_id, - channelId: channel.counterparty.channel_id - }, - connectionHops: channel.connection_hops, - version: channel.version - }, - counterpartyVersion: counterparty_version, - proofInit: proof_init, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgChannelOpenAck": { - aminoType: "cosmos-sdk/MsgChannelOpenAck", - toAmino: ({ - portId, - channelId, - counterpartyChannelId, - counterpartyVersion, - proofTry, - proofHeight, - signer - }: MsgChannelOpenAck): AminoMsgChannelOpenAck["value"] => { - return { - port_id: portId, - channel_id: channelId, - counterparty_channel_id: counterpartyChannelId, - counterparty_version: counterpartyVersion, - proof_try: proofTry, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - port_id, - channel_id, - counterparty_channel_id, - counterparty_version, - proof_try, - proof_height, - signer - }: AminoMsgChannelOpenAck["value"]): MsgChannelOpenAck => { - return { - portId: port_id, - channelId: channel_id, - counterpartyChannelId: counterparty_channel_id, - counterpartyVersion: counterparty_version, - proofTry: proof_try, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgChannelOpenConfirm": { - aminoType: "cosmos-sdk/MsgChannelOpenConfirm", - toAmino: ({ - portId, - channelId, - proofAck, - proofHeight, - signer - }: MsgChannelOpenConfirm): AminoMsgChannelOpenConfirm["value"] => { - return { - port_id: portId, - channel_id: channelId, - proof_ack: proofAck, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - port_id, - channel_id, - proof_ack, - proof_height, - signer - }: AminoMsgChannelOpenConfirm["value"]): MsgChannelOpenConfirm => { - return { - portId: port_id, - channelId: channel_id, - proofAck: proof_ack, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgChannelCloseInit": { - aminoType: "cosmos-sdk/MsgChannelCloseInit", - toAmino: ({ - portId, - channelId, - signer - }: MsgChannelCloseInit): AminoMsgChannelCloseInit["value"] => { - return { - port_id: portId, - channel_id: channelId, - signer - }; - }, - fromAmino: ({ - port_id, - channel_id, - signer - }: AminoMsgChannelCloseInit["value"]): MsgChannelCloseInit => { - return { - portId: port_id, - channelId: channel_id, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgChannelCloseConfirm": { - aminoType: "cosmos-sdk/MsgChannelCloseConfirm", - toAmino: ({ - portId, - channelId, - proofInit, - proofHeight, - signer - }: MsgChannelCloseConfirm): AminoMsgChannelCloseConfirm["value"] => { - return { - port_id: portId, - channel_id: channelId, - proof_init: proofInit, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - port_id, - channel_id, - proof_init, - proof_height, - signer - }: AminoMsgChannelCloseConfirm["value"]): MsgChannelCloseConfirm => { - return { - portId: port_id, - channelId: channel_id, - proofInit: proof_init, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgRecvPacket": { - aminoType: "cosmos-sdk/MsgRecvPacket", - toAmino: ({ - packet, - proofCommitment, - proofHeight, - signer - }: MsgRecvPacket): AminoMsgRecvPacket["value"] => { - return { - packet: { - sequence: packet.sequence.toString(), - source_port: packet.sourcePort, - source_channel: packet.sourceChannel, - destination_port: packet.destinationPort, - destination_channel: packet.destinationChannel, - data: packet.data, - timeout_height: packet.timeoutHeight ? { - revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), - revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() - } : {}, - timeout_timestamp: packet.timeoutTimestamp.toString() - }, - proof_commitment: proofCommitment, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - packet, - proof_commitment, - proof_height, - signer - }: AminoMsgRecvPacket["value"]): MsgRecvPacket => { - return { - packet: { - sequence: Long.fromString(packet.sequence), - sourcePort: packet.source_port, - sourceChannel: packet.source_channel, - destinationPort: packet.destination_port, - destinationChannel: packet.destination_channel, - data: packet.data, - timeoutHeight: packet.timeout_height ? { - revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) - } : undefined, - timeoutTimestamp: Long.fromString(packet.timeout_timestamp) - }, - proofCommitment: proof_commitment, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.channel.v1.MsgTimeout": { - aminoType: "cosmos-sdk/MsgTimeout", - toAmino: ({ - packet, - proofUnreceived, - proofHeight, - nextSequenceRecv, - signer - }: MsgTimeout): AminoMsgTimeout["value"] => { - return { - packet: { - sequence: packet.sequence.toString(), - source_port: packet.sourcePort, - source_channel: packet.sourceChannel, - destination_port: packet.destinationPort, - destination_channel: packet.destinationChannel, - data: packet.data, - timeout_height: packet.timeoutHeight ? { - revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), - revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() - } : {}, - timeout_timestamp: packet.timeoutTimestamp.toString() - }, - proof_unreceived: proofUnreceived, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - next_sequence_recv: nextSequenceRecv.toString(), - signer - }; - }, - fromAmino: ({ - packet, - proof_unreceived, - proof_height, - next_sequence_recv, - signer - }: AminoMsgTimeout["value"]): MsgTimeout => { - return { - packet: { - sequence: Long.fromString(packet.sequence), - sourcePort: packet.source_port, - sourceChannel: packet.source_channel, - destinationPort: packet.destination_port, - destinationChannel: packet.destination_channel, - data: packet.data, - timeoutHeight: packet.timeout_height ? { - revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) - } : undefined, - timeoutTimestamp: Long.fromString(packet.timeout_timestamp) - }, - proofUnreceived: proof_unreceived, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - nextSequenceRecv: Long.fromString(next_sequence_recv), - signer - }; - } - }, - "/ibc.core.channel.v1.MsgTimeoutOnClose": { - aminoType: "cosmos-sdk/MsgTimeoutOnClose", - toAmino: ({ - packet, - proofUnreceived, - proofClose, - proofHeight, - nextSequenceRecv, - signer - }: MsgTimeoutOnClose): AminoMsgTimeoutOnClose["value"] => { - return { - packet: { - sequence: packet.sequence.toString(), - source_port: packet.sourcePort, - source_channel: packet.sourceChannel, - destination_port: packet.destinationPort, - destination_channel: packet.destinationChannel, - data: packet.data, - timeout_height: packet.timeoutHeight ? { - revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), - revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() - } : {}, - timeout_timestamp: packet.timeoutTimestamp.toString() - }, - proof_unreceived: proofUnreceived, - proof_close: proofClose, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - next_sequence_recv: nextSequenceRecv.toString(), - signer - }; - }, - fromAmino: ({ - packet, - proof_unreceived, - proof_close, - proof_height, - next_sequence_recv, - signer - }: AminoMsgTimeoutOnClose["value"]): MsgTimeoutOnClose => { - return { - packet: { - sequence: Long.fromString(packet.sequence), - sourcePort: packet.source_port, - sourceChannel: packet.source_channel, - destinationPort: packet.destination_port, - destinationChannel: packet.destination_channel, - data: packet.data, - timeoutHeight: packet.timeout_height ? { - revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) - } : undefined, - timeoutTimestamp: Long.fromString(packet.timeout_timestamp) - }, - proofUnreceived: proof_unreceived, - proofClose: proof_close, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - nextSequenceRecv: Long.fromString(next_sequence_recv), - signer - }; - } - }, - "/ibc.core.channel.v1.MsgAcknowledgement": { - aminoType: "cosmos-sdk/MsgAcknowledgement", - toAmino: ({ - packet, - acknowledgement, - proofAcked, - proofHeight, - signer - }: MsgAcknowledgement): AminoMsgAcknowledgement["value"] => { - return { - packet: { - sequence: packet.sequence.toString(), - source_port: packet.sourcePort, - source_channel: packet.sourceChannel, - destination_port: packet.destinationPort, - destination_channel: packet.destinationChannel, - data: packet.data, - timeout_height: packet.timeoutHeight ? { - revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), - revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() - } : {}, - timeout_timestamp: packet.timeoutTimestamp.toString() - }, - acknowledgement, - proof_acked: proofAcked, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - packet, - acknowledgement, - proof_acked, - proof_height, - signer - }: AminoMsgAcknowledgement["value"]): MsgAcknowledgement => { - return { - packet: { - sequence: Long.fromString(packet.sequence), - sourcePort: packet.source_port, - sourceChannel: packet.source_channel, - destinationPort: packet.destination_port, - destinationChannel: packet.destination_channel, - data: packet.data, - timeoutHeight: packet.timeout_height ? { - revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) - } : undefined, - timeoutTimestamp: Long.fromString(packet.timeout_timestamp) - }, - acknowledgement, - proofAcked: proof_acked, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts deleted file mode 100644 index 667978aad..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - channelOpenInit(value: MsgChannelOpenInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", - value: MsgChannelOpenInit.encode(value).finish() - }; - }, - - channelOpenTry(value: MsgChannelOpenTry) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", - value: MsgChannelOpenTry.encode(value).finish() - }; - }, - - channelOpenAck(value: MsgChannelOpenAck) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", - value: MsgChannelOpenAck.encode(value).finish() - }; - }, - - channelOpenConfirm(value: MsgChannelOpenConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", - value: MsgChannelOpenConfirm.encode(value).finish() - }; - }, - - channelCloseInit(value: MsgChannelCloseInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", - value: MsgChannelCloseInit.encode(value).finish() - }; - }, - - channelCloseConfirm(value: MsgChannelCloseConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", - value: MsgChannelCloseConfirm.encode(value).finish() - }; - }, - - recvPacket(value: MsgRecvPacket) { - return { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", - value: MsgRecvPacket.encode(value).finish() - }; - }, - - timeout(value: MsgTimeout) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeout", - value: MsgTimeout.encode(value).finish() - }; - }, - - timeoutOnClose(value: MsgTimeoutOnClose) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", - value: MsgTimeoutOnClose.encode(value).finish() - }; - }, - - acknowledgement(value: MsgAcknowledgement) { - return { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", - value: MsgAcknowledgement.encode(value).finish() - }; - } - - }, - withTypeUrl: { - channelOpenInit(value: MsgChannelOpenInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", - value - }; - }, - - channelOpenTry(value: MsgChannelOpenTry) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", - value - }; - }, - - channelOpenAck(value: MsgChannelOpenAck) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", - value - }; - }, - - channelOpenConfirm(value: MsgChannelOpenConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", - value - }; - }, - - channelCloseInit(value: MsgChannelCloseInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", - value - }; - }, - - channelCloseConfirm(value: MsgChannelCloseConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", - value - }; - }, - - recvPacket(value: MsgRecvPacket) { - return { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", - value - }; - }, - - timeout(value: MsgTimeout) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeout", - value - }; - }, - - timeoutOnClose(value: MsgTimeoutOnClose) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", - value - }; - }, - - acknowledgement(value: MsgAcknowledgement) { - return { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", - value - }; - } - - }, - fromPartial: { - channelOpenInit(value: MsgChannelOpenInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", - value: MsgChannelOpenInit.fromPartial(value) - }; - }, - - channelOpenTry(value: MsgChannelOpenTry) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", - value: MsgChannelOpenTry.fromPartial(value) - }; - }, - - channelOpenAck(value: MsgChannelOpenAck) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", - value: MsgChannelOpenAck.fromPartial(value) - }; - }, - - channelOpenConfirm(value: MsgChannelOpenConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", - value: MsgChannelOpenConfirm.fromPartial(value) - }; - }, - - channelCloseInit(value: MsgChannelCloseInit) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", - value: MsgChannelCloseInit.fromPartial(value) - }; - }, - - channelCloseConfirm(value: MsgChannelCloseConfirm) { - return { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", - value: MsgChannelCloseConfirm.fromPartial(value) - }; - }, - - recvPacket(value: MsgRecvPacket) { - return { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", - value: MsgRecvPacket.fromPartial(value) - }; - }, - - timeout(value: MsgTimeout) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeout", - value: MsgTimeout.fromPartial(value) - }; - }, - - timeoutOnClose(value: MsgTimeoutOnClose) { - return { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", - value: MsgTimeoutOnClose.fromPartial(value) - }; - }, - - acknowledgement(value: MsgAcknowledgement) { - return { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", - value: MsgAcknowledgement.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts deleted file mode 100644 index b9ebcc50b..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; -/** Msg defines the ibc/channel Msg service. */ - -export interface Msg { - /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */ - channelOpenInit(request: MsgChannelOpenInit): Promise; - /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */ - - channelOpenTry(request: MsgChannelOpenTry): Promise; - /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */ - - channelOpenAck(request: MsgChannelOpenAck): Promise; - /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */ - - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; - /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */ - - channelCloseInit(request: MsgChannelCloseInit): Promise; - /** - * ChannelCloseConfirm defines a rpc handler method for - * MsgChannelCloseConfirm. - */ - - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; - /** RecvPacket defines a rpc handler method for MsgRecvPacket. */ - - recvPacket(request: MsgRecvPacket): Promise; - /** Timeout defines a rpc handler method for MsgTimeout. */ - - timeout(request: MsgTimeout): Promise; - /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */ - - timeoutOnClose(request: MsgTimeoutOnClose): Promise; - /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */ - - acknowledgement(request: MsgAcknowledgement): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.channelOpenInit = this.channelOpenInit.bind(this); - this.channelOpenTry = this.channelOpenTry.bind(this); - this.channelOpenAck = this.channelOpenAck.bind(this); - this.channelOpenConfirm = this.channelOpenConfirm.bind(this); - this.channelCloseInit = this.channelCloseInit.bind(this); - this.channelCloseConfirm = this.channelCloseConfirm.bind(this); - this.recvPacket = this.recvPacket.bind(this); - this.timeout = this.timeout.bind(this); - this.timeoutOnClose = this.timeoutOnClose.bind(this); - this.acknowledgement = this.acknowledgement.bind(this); - } - - channelOpenInit(request: MsgChannelOpenInit): Promise { - const data = MsgChannelOpenInit.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); - return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); - } - - channelOpenTry(request: MsgChannelOpenTry): Promise { - const data = MsgChannelOpenTry.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); - return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); - } - - channelOpenAck(request: MsgChannelOpenAck): Promise { - const data = MsgChannelOpenAck.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); - return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); - } - - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { - const data = MsgChannelOpenConfirm.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); - return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); - } - - channelCloseInit(request: MsgChannelCloseInit): Promise { - const data = MsgChannelCloseInit.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); - return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); - } - - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { - const data = MsgChannelCloseConfirm.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); - return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); - } - - recvPacket(request: MsgRecvPacket): Promise { - const data = MsgRecvPacket.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); - return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); - } - - timeout(request: MsgTimeout): Promise { - const data = MsgTimeout.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); - return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); - } - - timeoutOnClose(request: MsgTimeoutOnClose): Promise { - const data = MsgTimeoutOnClose.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); - return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); - } - - acknowledgement(request: MsgAcknowledgement): Promise { - const data = MsgAcknowledgement.encode(request).finish(); - const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); - return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts deleted file mode 100644 index 46bf2e53c..000000000 --- a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts +++ /dev/null @@ -1,1492 +0,0 @@ -import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It - * is called by a relayer on Chain A. - */ - -export interface MsgChannelOpenInit { - portId: string; - channel?: Channel | undefined; - signer: string; -} -/** - * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It - * is called by a relayer on Chain A. - */ - -export interface MsgChannelOpenInitSDKType { - port_id: string; - channel?: ChannelSDKType | undefined; - signer: string; -} -/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ - -export interface MsgChannelOpenInitResponse {} -/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ - -export interface MsgChannelOpenInitResponseSDKType {} -/** - * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel - * on Chain B. - */ - -export interface MsgChannelOpenTry { - portId: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the channel identifier of the previous channel in state INIT - */ - - previousChannelId: string; - channel?: Channel | undefined; - counterpartyVersion: string; - proofInit: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** - * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel - * on Chain B. - */ - -export interface MsgChannelOpenTrySDKType { - port_id: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the channel identifier of the previous channel in state INIT - */ - - previous_channel_id: string; - channel?: ChannelSDKType | undefined; - counterparty_version: string; - proof_init: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ - -export interface MsgChannelOpenTryResponse {} -/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ - -export interface MsgChannelOpenTryResponseSDKType {} -/** - * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge - * the change of channel state to TRYOPEN on Chain B. - */ - -export interface MsgChannelOpenAck { - portId: string; - channelId: string; - counterpartyChannelId: string; - counterpartyVersion: string; - proofTry: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** - * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge - * the change of channel state to TRYOPEN on Chain B. - */ - -export interface MsgChannelOpenAckSDKType { - port_id: string; - channel_id: string; - counterparty_channel_id: string; - counterparty_version: string; - proof_try: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ - -export interface MsgChannelOpenAckResponse {} -/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ - -export interface MsgChannelOpenAckResponseSDKType {} -/** - * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of channel state to OPEN on Chain A. - */ - -export interface MsgChannelOpenConfirm { - portId: string; - channelId: string; - proofAck: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** - * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of channel state to OPEN on Chain A. - */ - -export interface MsgChannelOpenConfirmSDKType { - port_id: string; - channel_id: string; - proof_ack: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** - * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - * type. - */ - -export interface MsgChannelOpenConfirmResponse {} -/** - * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - * type. - */ - -export interface MsgChannelOpenConfirmResponseSDKType {} -/** - * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - * to close a channel with Chain B. - */ - -export interface MsgChannelCloseInit { - portId: string; - channelId: string; - signer: string; -} -/** - * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - * to close a channel with Chain B. - */ - -export interface MsgChannelCloseInitSDKType { - port_id: string; - channel_id: string; - signer: string; -} -/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ - -export interface MsgChannelCloseInitResponse {} -/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ - -export interface MsgChannelCloseInitResponseSDKType {} -/** - * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - * to acknowledge the change of channel state to CLOSED on Chain A. - */ - -export interface MsgChannelCloseConfirm { - portId: string; - channelId: string; - proofInit: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** - * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - * to acknowledge the change of channel state to CLOSED on Chain A. - */ - -export interface MsgChannelCloseConfirmSDKType { - port_id: string; - channel_id: string; - proof_init: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** - * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response - * type. - */ - -export interface MsgChannelCloseConfirmResponse {} -/** - * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response - * type. - */ - -export interface MsgChannelCloseConfirmResponseSDKType {} -/** MsgRecvPacket receives incoming IBC packet */ - -export interface MsgRecvPacket { - packet?: Packet | undefined; - proofCommitment: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** MsgRecvPacket receives incoming IBC packet */ - -export interface MsgRecvPacketSDKType { - packet?: PacketSDKType | undefined; - proof_commitment: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ - -export interface MsgRecvPacketResponse {} -/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ - -export interface MsgRecvPacketResponseSDKType {} -/** MsgTimeout receives timed-out packet */ - -export interface MsgTimeout { - packet?: Packet | undefined; - proofUnreceived: Uint8Array; - proofHeight?: Height | undefined; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeout receives timed-out packet */ - -export interface MsgTimeoutSDKType { - packet?: PacketSDKType | undefined; - proof_unreceived: Uint8Array; - proof_height?: HeightSDKType | undefined; - next_sequence_recv: Long; - signer: string; -} -/** MsgTimeoutResponse defines the Msg/Timeout response type. */ - -export interface MsgTimeoutResponse {} -/** MsgTimeoutResponse defines the Msg/Timeout response type. */ - -export interface MsgTimeoutResponseSDKType {} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ - -export interface MsgTimeoutOnClose { - packet?: Packet | undefined; - proofUnreceived: Uint8Array; - proofClose: Uint8Array; - proofHeight?: Height | undefined; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ - -export interface MsgTimeoutOnCloseSDKType { - packet?: PacketSDKType | undefined; - proof_unreceived: Uint8Array; - proof_close: Uint8Array; - proof_height?: HeightSDKType | undefined; - next_sequence_recv: Long; - signer: string; -} -/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ - -export interface MsgTimeoutOnCloseResponse {} -/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ - -export interface MsgTimeoutOnCloseResponseSDKType {} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ - -export interface MsgAcknowledgement { - packet?: Packet | undefined; - acknowledgement: Uint8Array; - proofAcked: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ - -export interface MsgAcknowledgementSDKType { - packet?: PacketSDKType | undefined; - acknowledgement: Uint8Array; - proof_acked: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ - -export interface MsgAcknowledgementResponse {} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ - -export interface MsgAcknowledgementResponseSDKType {} - -function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { - return { - portId: "", - channel: undefined, - signer: "" - }; -} - -export const MsgChannelOpenInit = { - encode(message: MsgChannelOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channel !== undefined) { - Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(26).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenInit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channel = Channel.decode(reader, reader.uint32()); - break; - - case 3: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelOpenInit { - const message = createBaseMsgChannelOpenInit(); - message.portId = object.portId ?? ""; - message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelOpenInitResponse(): MsgChannelOpenInitResponse { - return {}; -} - -export const MsgChannelOpenInitResponse = { - encode(_: MsgChannelOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenInitResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelOpenInitResponse { - const message = createBaseMsgChannelOpenInitResponse(); - return message; - } - -}; - -function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { - return { - portId: "", - previousChannelId: "", - channel: undefined, - counterpartyVersion: "", - proofInit: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgChannelOpenTry = { - encode(message: MsgChannelOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.previousChannelId !== "") { - writer.uint32(18).string(message.previousChannelId); - } - - if (message.channel !== undefined) { - Channel.encode(message.channel, writer.uint32(26).fork()).ldelim(); - } - - if (message.counterpartyVersion !== "") { - writer.uint32(34).string(message.counterpartyVersion); - } - - if (message.proofInit.length !== 0) { - writer.uint32(42).bytes(message.proofInit); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(58).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenTry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.previousChannelId = reader.string(); - break; - - case 3: - message.channel = Channel.decode(reader, reader.uint32()); - break; - - case 4: - message.counterpartyVersion = reader.string(); - break; - - case 5: - message.proofInit = reader.bytes(); - break; - - case 6: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 7: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelOpenTry { - const message = createBaseMsgChannelOpenTry(); - message.portId = object.portId ?? ""; - message.previousChannelId = object.previousChannelId ?? ""; - message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; - message.counterpartyVersion = object.counterpartyVersion ?? ""; - message.proofInit = object.proofInit ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelOpenTryResponse(): MsgChannelOpenTryResponse { - return {}; -} - -export const MsgChannelOpenTryResponse = { - encode(_: MsgChannelOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenTryResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelOpenTryResponse { - const message = createBaseMsgChannelOpenTryResponse(); - return message; - } - -}; - -function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { - return { - portId: "", - channelId: "", - counterpartyChannelId: "", - counterpartyVersion: "", - proofTry: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgChannelOpenAck = { - encode(message: MsgChannelOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.counterpartyChannelId !== "") { - writer.uint32(26).string(message.counterpartyChannelId); - } - - if (message.counterpartyVersion !== "") { - writer.uint32(34).string(message.counterpartyVersion); - } - - if (message.proofTry.length !== 0) { - writer.uint32(42).bytes(message.proofTry); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(58).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAck { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenAck(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.counterpartyChannelId = reader.string(); - break; - - case 4: - message.counterpartyVersion = reader.string(); - break; - - case 5: - message.proofTry = reader.bytes(); - break; - - case 6: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 7: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelOpenAck { - const message = createBaseMsgChannelOpenAck(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.counterpartyChannelId = object.counterpartyChannelId ?? ""; - message.counterpartyVersion = object.counterpartyVersion ?? ""; - message.proofTry = object.proofTry ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelOpenAckResponse(): MsgChannelOpenAckResponse { - return {}; -} - -export const MsgChannelOpenAckResponse = { - encode(_: MsgChannelOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenAckResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelOpenAckResponse { - const message = createBaseMsgChannelOpenAckResponse(); - return message; - } - -}; - -function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { - return { - portId: "", - channelId: "", - proofAck: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgChannelOpenConfirm = { - encode(message: MsgChannelOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.proofAck.length !== 0) { - writer.uint32(26).bytes(message.proofAck); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(42).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirm { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenConfirm(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.proofAck = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 5: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelOpenConfirm { - const message = createBaseMsgChannelOpenConfirm(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.proofAck = object.proofAck ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelOpenConfirmResponse(): MsgChannelOpenConfirmResponse { - return {}; -} - -export const MsgChannelOpenConfirmResponse = { - encode(_: MsgChannelOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelOpenConfirmResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelOpenConfirmResponse { - const message = createBaseMsgChannelOpenConfirmResponse(); - return message; - } - -}; - -function createBaseMsgChannelCloseInit(): MsgChannelCloseInit { - return { - portId: "", - channelId: "", - signer: "" - }; -} - -export const MsgChannelCloseInit = { - encode(message: MsgChannelCloseInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.signer !== "") { - writer.uint32(26).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelCloseInit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelCloseInit { - const message = createBaseMsgChannelCloseInit(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelCloseInitResponse(): MsgChannelCloseInitResponse { - return {}; -} - -export const MsgChannelCloseInitResponse = { - encode(_: MsgChannelCloseInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelCloseInitResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelCloseInitResponse { - const message = createBaseMsgChannelCloseInitResponse(); - return message; - } - -}; - -function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { - return { - portId: "", - channelId: "", - proofInit: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgChannelCloseConfirm = { - encode(message: MsgChannelCloseConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.channelId !== "") { - writer.uint32(18).string(message.channelId); - } - - if (message.proofInit.length !== 0) { - writer.uint32(26).bytes(message.proofInit); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(42).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirm { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelCloseConfirm(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.channelId = reader.string(); - break; - - case 3: - message.proofInit = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 5: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgChannelCloseConfirm { - const message = createBaseMsgChannelCloseConfirm(); - message.portId = object.portId ?? ""; - message.channelId = object.channelId ?? ""; - message.proofInit = object.proofInit ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgChannelCloseConfirmResponse(): MsgChannelCloseConfirmResponse { - return {}; -} - -export const MsgChannelCloseConfirmResponse = { - encode(_: MsgChannelCloseConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgChannelCloseConfirmResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgChannelCloseConfirmResponse { - const message = createBaseMsgChannelCloseConfirmResponse(); - return message; - } - -}; - -function createBaseMsgRecvPacket(): MsgRecvPacket { - return { - packet: undefined, - proofCommitment: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgRecvPacket = { - encode(message: MsgRecvPacket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.packet !== undefined) { - Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); - } - - if (message.proofCommitment.length !== 0) { - writer.uint32(18).bytes(message.proofCommitment); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(34).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacket { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRecvPacket(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.packet = Packet.decode(reader, reader.uint32()); - break; - - case 2: - message.proofCommitment = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 4: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgRecvPacket { - const message = createBaseMsgRecvPacket(); - message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; - message.proofCommitment = object.proofCommitment ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgRecvPacketResponse(): MsgRecvPacketResponse { - return {}; -} - -export const MsgRecvPacketResponse = { - encode(_: MsgRecvPacketResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRecvPacketResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgRecvPacketResponse { - const message = createBaseMsgRecvPacketResponse(); - return message; - } - -}; - -function createBaseMsgTimeout(): MsgTimeout { - return { - packet: undefined, - proofUnreceived: new Uint8Array(), - proofHeight: undefined, - nextSequenceRecv: Long.UZERO, - signer: "" - }; -} - -export const MsgTimeout = { - encode(message: MsgTimeout, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.packet !== undefined) { - Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); - } - - if (message.proofUnreceived.length !== 0) { - writer.uint32(18).bytes(message.proofUnreceived); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - if (!message.nextSequenceRecv.isZero()) { - writer.uint32(32).uint64(message.nextSequenceRecv); - } - - if (message.signer !== "") { - writer.uint32(42).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeout { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTimeout(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.packet = Packet.decode(reader, reader.uint32()); - break; - - case 2: - message.proofUnreceived = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 4: - message.nextSequenceRecv = (reader.uint64() as Long); - break; - - case 5: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgTimeout { - const message = createBaseMsgTimeout(); - message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; - message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgTimeoutResponse(): MsgTimeoutResponse { - return {}; -} - -export const MsgTimeoutResponse = { - encode(_: MsgTimeoutResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTimeoutResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgTimeoutResponse { - const message = createBaseMsgTimeoutResponse(); - return message; - } - -}; - -function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { - return { - packet: undefined, - proofUnreceived: new Uint8Array(), - proofClose: new Uint8Array(), - proofHeight: undefined, - nextSequenceRecv: Long.UZERO, - signer: "" - }; -} - -export const MsgTimeoutOnClose = { - encode(message: MsgTimeoutOnClose, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.packet !== undefined) { - Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); - } - - if (message.proofUnreceived.length !== 0) { - writer.uint32(18).bytes(message.proofUnreceived); - } - - if (message.proofClose.length !== 0) { - writer.uint32(26).bytes(message.proofClose); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - if (!message.nextSequenceRecv.isZero()) { - writer.uint32(40).uint64(message.nextSequenceRecv); - } - - if (message.signer !== "") { - writer.uint32(50).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnClose { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTimeoutOnClose(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.packet = Packet.decode(reader, reader.uint32()); - break; - - case 2: - message.proofUnreceived = reader.bytes(); - break; - - case 3: - message.proofClose = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 5: - message.nextSequenceRecv = (reader.uint64() as Long); - break; - - case 6: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgTimeoutOnClose { - const message = createBaseMsgTimeoutOnClose(); - message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; - message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); - message.proofClose = object.proofClose ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgTimeoutOnCloseResponse(): MsgTimeoutOnCloseResponse { - return {}; -} - -export const MsgTimeoutOnCloseResponse = { - encode(_: MsgTimeoutOnCloseResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgTimeoutOnCloseResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgTimeoutOnCloseResponse { - const message = createBaseMsgTimeoutOnCloseResponse(); - return message; - } - -}; - -function createBaseMsgAcknowledgement(): MsgAcknowledgement { - return { - packet: undefined, - acknowledgement: new Uint8Array(), - proofAcked: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgAcknowledgement = { - encode(message: MsgAcknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.packet !== undefined) { - Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); - } - - if (message.acknowledgement.length !== 0) { - writer.uint32(18).bytes(message.acknowledgement); - } - - if (message.proofAcked.length !== 0) { - writer.uint32(26).bytes(message.proofAcked); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(42).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgement { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgAcknowledgement(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.packet = Packet.decode(reader, reader.uint32()); - break; - - case 2: - message.acknowledgement = reader.bytes(); - break; - - case 3: - message.proofAcked = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 5: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgAcknowledgement { - const message = createBaseMsgAcknowledgement(); - message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; - message.acknowledgement = object.acknowledgement ?? new Uint8Array(); - message.proofAcked = object.proofAcked ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgAcknowledgementResponse(): MsgAcknowledgementResponse { - return {}; -} - -export const MsgAcknowledgementResponse = { - encode(_: MsgAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgAcknowledgementResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgAcknowledgementResponse { - const message = createBaseMsgAcknowledgementResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/client.ts b/examples/telescope/codegen/ibc/core/client/v1/client.ts deleted file mode 100644 index 7d7dbc203..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/client.ts +++ /dev/null @@ -1,629 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ - -export interface IdentifiedClientState { - /** client identifier */ - clientId: string; - /** client state */ - - clientState?: Any | undefined; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ - -export interface IdentifiedClientStateSDKType { - /** client identifier */ - client_id: string; - /** client state */ - - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ - -export interface ConsensusStateWithHeight { - /** consensus state height */ - height?: Height | undefined; - /** consensus state */ - - consensusState?: Any | undefined; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ - -export interface ConsensusStateWithHeightSDKType { - /** consensus state height */ - height?: HeightSDKType | undefined; - /** consensus state */ - - consensus_state?: AnySDKType | undefined; -} -/** - * 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[]; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ - -export interface ClientConsensusStatesSDKType { - /** client identifier */ - client_id: string; - /** consensus states and their heights associated with the client */ - - 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 { - /** 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; -} -/** - * 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 { - /** 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; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ - -export interface UpgradeProposal { - title: string; - description: string; - plan?: Plan | undefined; - /** - * 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 | undefined; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ - -export interface UpgradeProposalSDKType { - title: string; - description: string; - plan?: PlanSDKType | undefined; - /** - * 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?: AnySDKType | undefined; -} -/** - * 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; -} -/** - * 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 { - /** the revision that the client is currently on */ - revision_number: Long; - /** the height within the given revision */ - - 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[]; -} -/** Params defines the set of IBC light client parameters. */ - -export interface ParamsSDKType { - /** allowed_clients defines the list of allowed client state types. */ - allowed_clients: string[]; -} - -function createBaseIdentifiedClientState(): IdentifiedClientState { - return { - clientId: "", - clientState: undefined - }; -} - -export const IdentifiedClientState = { - encode(message: IdentifiedClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdentifiedClientState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): IdentifiedClientState { - const message = createBaseIdentifiedClientState(); - message.clientId = object.clientId ?? ""; - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - return message; - } - -}; - -function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { - return { - height: undefined, - consensusState: undefined - }; -} - -export const ConsensusStateWithHeight = { - encode(message: ConsensusStateWithHeight, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(10).fork()).ldelim(); - } - - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusStateWithHeight(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = Height.decode(reader, reader.uint32()); - break; - - case 2: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusStateWithHeight { - const message = createBaseConsensusStateWithHeight(); - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - return message; - } - -}; - -function createBaseClientConsensusStates(): ClientConsensusStates { - return { - clientId: "", - consensusStates: [] - }; -} - -export const ClientConsensusStates = { - encode(message: ClientConsensusStates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - for (const v of message.consensusStates) { - ConsensusStateWithHeight.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientConsensusStates(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientConsensusStates { - const message = createBaseClientConsensusStates(); - message.clientId = object.clientId ?? ""; - message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseClientUpdateProposal(): ClientUpdateProposal { - return { - title: "", - description: "", - subjectClientId: "", - substituteClientId: "" - }; -} - -export const ClientUpdateProposal = { - encode(message: ClientUpdateProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.subjectClientId !== "") { - writer.uint32(26).string(message.subjectClientId); - } - - if (message.substituteClientId !== "") { - writer.uint32(34).string(message.substituteClientId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientUpdateProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.subjectClientId = reader.string(); - break; - - case 4: - message.substituteClientId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientUpdateProposal { - const message = createBaseClientUpdateProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.subjectClientId = object.subjectClientId ?? ""; - message.substituteClientId = object.substituteClientId ?? ""; - return message; - } - -}; - -function createBaseUpgradeProposal(): UpgradeProposal { - return { - title: "", - description: "", - plan: undefined, - upgradedClientState: undefined - }; -} - -export const UpgradeProposal = { - encode(message: UpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); - } - - if (message.upgradedClientState !== undefined) { - Any.encode(message.upgradedClientState, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpgradeProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - - case 2: - message.description = reader.string(); - break; - - case 3: - message.plan = Plan.decode(reader, reader.uint32()); - break; - - case 4: - message.upgradedClientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): UpgradeProposal { - const message = createBaseUpgradeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; - message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; - return message; - } - -}; - -function createBaseHeight(): Height { - return { - revisionNumber: Long.UZERO, - revisionHeight: Long.UZERO - }; -} - -export const Height = { - encode(message: Height, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.revisionNumber.isZero()) { - writer.uint32(8).uint64(message.revisionNumber); - } - - if (!message.revisionHeight.isZero()) { - writer.uint32(16).uint64(message.revisionHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Height { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHeight(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.revisionNumber = (reader.uint64() as Long); - break; - - case 2: - message.revisionHeight = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Height { - const message = createBaseHeight(); - message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; - message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; - return message; - } - -}; - -function createBaseParams(): Params { - return { - allowedClients: [] - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowedClients) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowedClients.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.allowedClients = object.allowedClients?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts deleted file mode 100644 index 4f326ca3b..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts +++ /dev/null @@ -1,288 +0,0 @@ -import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** 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 | undefined; - /** create localhost on initialization */ - - createLocalhost: boolean; - /** the sequence for the next generated client identifier */ - - nextClientSequence: Long; -} -/** GenesisState defines the ibc client submodule's genesis state. */ - -export interface GenesisStateSDKType { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientStateSDKType[]; - /** consensus states from each client */ - - clients_consensus: ClientConsensusStatesSDKType[]; - /** metadata from each client */ - - clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params?: ParamsSDKType | undefined; - /** create localhost on initialization */ - - create_localhost: boolean; - /** the sequence for the next generated client identifier */ - - 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; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ - -export interface GenesisMetadataSDKType { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ - -export interface IdentifiedGenesisMetadata { - clientId: string; - clientMetadata: GenesisMetadata[]; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ - -export interface IdentifiedGenesisMetadataSDKType { - client_id: string; - client_metadata: GenesisMetadataSDKType[]; -} - -function createBaseGenesisState(): GenesisState { - return { - clients: [], - clientsConsensus: [], - clientsMetadata: [], - params: undefined, - createLocalhost: false, - nextClientSequence: Long.UZERO - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.clients) { - IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.clientsConsensus) { - ClientConsensusStates.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.clientsMetadata) { - IdentifiedGenesisMetadata.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(34).fork()).ldelim(); - } - - if (message.createLocalhost === true) { - writer.uint32(40).bool(message.createLocalhost); - } - - if (!message.nextClientSequence.isZero()) { - writer.uint32(48).uint64(message.nextClientSequence); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clients.push(IdentifiedClientState.decode(reader, reader.uint32())); - break; - - case 2: - message.clientsConsensus.push(ClientConsensusStates.decode(reader, reader.uint32())); - break; - - case 3: - message.clientsMetadata.push(IdentifiedGenesisMetadata.decode(reader, reader.uint32())); - break; - - case 4: - message.params = Params.decode(reader, reader.uint32()); - break; - - case 5: - message.createLocalhost = reader.bool(); - break; - - case 6: - message.nextClientSequence = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; - message.clientsConsensus = object.clientsConsensus?.map(e => ClientConsensusStates.fromPartial(e)) || []; - message.clientsMetadata = object.clientsMetadata?.map(e => IdentifiedGenesisMetadata.fromPartial(e)) || []; - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.createLocalhost = object.createLocalhost ?? false; - message.nextClientSequence = object.nextClientSequence !== undefined && object.nextClientSequence !== null ? Long.fromValue(object.nextClientSequence) : Long.UZERO; - return message; - } - -}; - -function createBaseGenesisMetadata(): GenesisMetadata { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} - -export const GenesisMetadata = { - encode(message: GenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): GenesisMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisMetadata(); - - 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; - }, - - fromPartial(object: Partial): GenesisMetadata { - const message = createBaseGenesisMetadata(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - } - -}; - -function createBaseIdentifiedGenesisMetadata(): IdentifiedGenesisMetadata { - return { - clientId: "", - clientMetadata: [] - }; -} - -export const IdentifiedGenesisMetadata = { - encode(message: IdentifiedGenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - for (const v of message.clientMetadata) { - GenesisMetadata.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdentifiedGenesisMetadata(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.clientMetadata.push(GenesisMetadata.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): IdentifiedGenesisMetadata { - const message = createBaseIdentifiedGenesisMetadata(); - message.clientId = object.clientId ?? ""; - message.clientMetadata = object.clientMetadata?.map(e => GenesisMetadata.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts deleted file mode 100644 index 16255995c..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.clientState = this.clientState.bind(this); - this.clientStates = this.clientStates.bind(this); - this.consensusState = this.consensusState.bind(this); - this.consensusStates = this.consensusStates.bind(this); - this.clientStatus = this.clientStatus.bind(this); - this.clientParams = this.clientParams.bind(this); - this.upgradedClientState = this.upgradedClientState.bind(this); - this.upgradedConsensusState = this.upgradedConsensusState.bind(this); - } - /* ClientState queries an IBC light client. */ - - - async clientState(params: QueryClientStateRequest): Promise { - const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; - return await this.req.get(endpoint); - } - /* ClientStates queries all the IBC light clients of a chain. */ - - - async clientStates(params: QueryClientStatesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/client/v1/client_states`; - return await this.req.get(endpoint, options); - } - /* ConsensusState queries a consensus state associated with a client state at - a given height. */ - - - async consensusState(params: QueryConsensusStateRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.latestHeight !== "undefined") { - options.params.latest_height = params.latestHeight; - } - - const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.req.get(endpoint, options); - } - /* ConsensusStates queries all the consensus state associated with a given - client. */ - - - async consensusStates(params: QueryConsensusStatesRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; - return await this.req.get(endpoint, options); - } - /* Status queries the status of an IBC client. */ - - - async clientStatus(params: QueryClientStatusRequest): Promise { - const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; - return await this.req.get(endpoint); - } - /* ClientParams queries all parameters of the ibc client. */ - - - async clientParams(_params: QueryClientParamsRequest = {}): Promise { - const endpoint = `ibc/client/v1/params`; - return await this.req.get(endpoint); - } - /* UpgradedClientState queries an Upgraded IBC light client. */ - - - async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { - const endpoint = `ibc/core/client/v1/upgraded_client_states`; - return await this.req.get(endpoint); - } - /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ - - - async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { - const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts deleted file mode 100644 index 58429d53b..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.query.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, 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; - /** 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 class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.clientState = this.clientState.bind(this); - this.clientStates = this.clientStates.bind(this); - this.consensusState = this.consensusState.bind(this); - this.consensusStates = this.consensusStates.bind(this); - this.clientStatus = this.clientStatus.bind(this); - this.clientParams = this.clientParams.bind(this); - this.upgradedClientState = this.upgradedClientState.bind(this); - this.upgradedConsensusState = this.upgradedConsensusState.bind(this); - } - - clientState(request: QueryClientStateRequest): Promise { - const data = QueryClientStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); - return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); - } - - clientStates(request: QueryClientStatesRequest = { - pagination: undefined - }): Promise { - const data = QueryClientStatesRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); - return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); - } - - consensusState(request: QueryConsensusStateRequest): Promise { - const data = QueryConsensusStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); - return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); - } - - consensusStates(request: QueryConsensusStatesRequest): Promise { - const data = QueryConsensusStatesRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); - return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); - } - - clientStatus(request: QueryClientStatusRequest): Promise { - const data = QueryClientStatusRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); - return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); - } - - clientParams(request: QueryClientParamsRequest = {}): Promise { - const data = QueryClientParamsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); - return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); - } - - upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { - const data = QueryUpgradedClientStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); - return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); - } - - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { - const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); - return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - clientState(request: QueryClientStateRequest): Promise { - return queryService.clientState(request); - }, - - clientStates(request?: QueryClientStatesRequest): Promise { - return queryService.clientStates(request); - }, - - consensusState(request: QueryConsensusStateRequest): Promise { - return queryService.consensusState(request); - }, - - consensusStates(request: QueryConsensusStatesRequest): Promise { - return queryService.consensusStates(request); - }, - - clientStatus(request: QueryClientStatusRequest): Promise { - return queryService.clientStatus(request); - }, - - clientParams(request?: QueryClientParamsRequest): Promise { - return queryService.clientParams(request); - }, - - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { - return queryService.upgradedClientState(request); - }, - - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { - return queryService.upgradedConsensusState(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.ts deleted file mode 100644 index 02d4a0510..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/query.ts +++ /dev/null @@ -1,1130 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ - -export interface QueryClientStateRequest { - /** client state unique identifier */ - clientId: string; -} -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ - -export interface QueryClientStateRequestSDKType { - /** client state unique identifier */ - 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 | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * 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 associated with the request identifier */ - client_state?: AnySDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ - -export interface QueryClientStatesRequest { - /** pagination request */ - pagination?: PageRequest | undefined; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ - -export interface QueryClientStatesRequestSDKType { - /** pagination request */ - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ - -export interface QueryClientStatesResponseSDKType { - /** list of stored ClientStates of the chain. */ - client_states: IdentifiedClientStateSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * 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; -} -/** - * 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 identifier */ - client_id: string; - /** consensus state revision number */ - - revision_number: Long; - /** consensus state revision height */ - - revision_height: Long; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - - 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 | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ - -export interface QueryConsensusStateResponseSDKType { - /** consensus state associated with the client identifier at the given height */ - consensus_state?: AnySDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ - -export interface QueryConsensusStatesRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - - pagination?: PageRequest | undefined; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ - -export interface QueryConsensusStatesRequestSDKType { - /** client identifier */ - client_id: string; - /** pagination request */ - - pagination?: PageRequestSDKType | undefined; -} -/** - * 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 | undefined; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ - -export interface QueryConsensusStatesResponseSDKType { - /** consensus states associated with the identifier */ - consensus_states: ConsensusStateWithHeightSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ - -export interface QueryClientStatusRequest { - /** client unique identifier */ - clientId: string; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ - -export interface QueryClientStatusRequestSDKType { - /** client unique identifier */ - 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; -} -/** - * 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 {} -/** - * 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 | undefined; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ - -export interface QueryClientParamsResponseSDKType { - /** params defines the parameters of the module. */ - params?: ParamsSDKType | undefined; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ - -export interface QueryUpgradedClientStateRequest {} -/** - * 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 | undefined; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ - -export interface QueryUpgradedClientStateResponseSDKType { - /** client state associated with the request identifier */ - upgraded_client_state?: AnySDKType | undefined; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ - -export interface QueryUpgradedConsensusStateRequest {} -/** - * 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 | undefined; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ - -export interface QueryUpgradedConsensusStateResponseSDKType { - /** Consensus state associated with the request identifier */ - upgraded_consensus_state?: AnySDKType | undefined; -} - -function createBaseQueryClientStateRequest(): QueryClientStateRequest { - return { - clientId: "" - }; -} - -export const QueryClientStateRequest = { - encode(message: QueryClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientStateRequest { - const message = createBaseQueryClientStateRequest(); - message.clientId = object.clientId ?? ""; - return message; - } - -}; - -function createBaseQueryClientStateResponse(): QueryClientStateResponse { - return { - clientState: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryClientStateResponse = { - encode(message: QueryClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientStateResponse { - const message = createBaseQueryClientStateResponse(); - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { - return { - pagination: undefined - }; -} - -export const QueryClientStatesRequest = { - encode(message: QueryClientStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStatesRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryClientStatesRequest { - const message = createBaseQueryClientStatesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { - return { - clientStates: [], - pagination: undefined - }; -} - -export const QueryClientStatesResponse = { - encode(message: QueryClientStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.clientStates) { - IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStatesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientStates.push(IdentifiedClientState.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientStatesResponse { - const message = createBaseQueryClientStatesResponse(); - message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest { - return { - clientId: "", - revisionNumber: Long.UZERO, - revisionHeight: Long.UZERO, - latestHeight: false - }; -} - -export const QueryConsensusStateRequest = { - encode(message: QueryConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (!message.revisionNumber.isZero()) { - writer.uint32(16).uint64(message.revisionNumber); - } - - if (!message.revisionHeight.isZero()) { - writer.uint32(24).uint64(message.revisionHeight); - } - - if (message.latestHeight === true) { - writer.uint32(32).bool(message.latestHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConsensusStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.revisionNumber = (reader.uint64() as Long); - break; - - case 3: - message.revisionHeight = (reader.uint64() as Long); - break; - - case 4: - message.latestHeight = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConsensusStateRequest { - const message = createBaseQueryConsensusStateRequest(); - message.clientId = object.clientId ?? ""; - message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; - message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; - message.latestHeight = object.latestHeight ?? false; - return message; - } - -}; - -function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { - return { - consensusState: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryConsensusStateResponse = { - encode(message: QueryConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConsensusStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConsensusStateResponse { - const message = createBaseQueryConsensusStateResponse(); - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { - return { - clientId: "", - pagination: undefined - }; -} - -export const QueryConsensusStatesRequest = { - encode(message: QueryConsensusStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConsensusStatesRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConsensusStatesRequest { - const message = createBaseQueryConsensusStatesRequest(); - message.clientId = object.clientId ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { - return { - consensusStates: [], - pagination: undefined - }; -} - -export const QueryConsensusStatesResponse = { - encode(message: QueryConsensusStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.consensusStates) { - ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConsensusStatesResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConsensusStatesResponse { - const message = createBaseQueryConsensusStatesResponse(); - message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryClientStatusRequest(): QueryClientStatusRequest { - return { - clientId: "" - }; -} - -export const QueryClientStatusRequest = { - encode(message: QueryClientStatusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStatusRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientStatusRequest { - const message = createBaseQueryClientStatusRequest(); - message.clientId = object.clientId ?? ""; - return message; - } - -}; - -function createBaseQueryClientStatusResponse(): QueryClientStatusResponse { - return { - status: "" - }; -} - -export const QueryClientStatusResponse = { - encode(message: QueryClientStatusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.status !== "") { - writer.uint32(10).string(message.status); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientStatusResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.status = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientStatusResponse { - const message = createBaseQueryClientStatusResponse(); - message.status = object.status ?? ""; - return message; - } - -}; - -function createBaseQueryClientParamsRequest(): QueryClientParamsRequest { - return {}; -} - -export const QueryClientParamsRequest = { - encode(_: QueryClientParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientParamsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryClientParamsRequest { - const message = createBaseQueryClientParamsRequest(); - return message; - } - -}; - -function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { - return { - params: undefined - }; -} - -export const QueryClientParamsResponse = { - encode(message: QueryClientParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientParamsResponse(); - - 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; - }, - - fromPartial(object: Partial): QueryClientParamsResponse { - const message = createBaseQueryClientParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest { - return {}; -} - -export const QueryUpgradedClientStateRequest = { - encode(_: QueryUpgradedClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedClientStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryUpgradedClientStateRequest { - const message = createBaseQueryUpgradedClientStateRequest(); - return message; - } - -}; - -function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse { - return { - upgradedClientState: undefined - }; -} - -export const QueryUpgradedClientStateResponse = { - encode(message: QueryUpgradedClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.upgradedClientState !== undefined) { - Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedClientStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.upgradedClientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUpgradedClientStateResponse { - const message = createBaseQueryUpgradedClientStateResponse(); - message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; - return message; - } - -}; - -function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { - return {}; -} - -export const QueryUpgradedConsensusStateRequest = { - encode(_: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): QueryUpgradedConsensusStateRequest { - const message = createBaseQueryUpgradedConsensusStateRequest(); - return message; - } - -}; - -function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: undefined - }; -} - -export const QueryUpgradedConsensusStateResponse = { - encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.upgradedConsensusState !== undefined) { - Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.upgradedConsensusState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { - const message = createBaseQueryUpgradedConsensusStateResponse(); - message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts deleted file mode 100644 index b6e162ad4..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts +++ /dev/null @@ -1,205 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -export interface AminoMsgCreateClient extends AminoMsg { - type: "cosmos-sdk/MsgCreateClient"; - value: { - client_state: { - type_url: string; - value: Uint8Array; - }; - consensus_state: { - type_url: string; - value: Uint8Array; - }; - signer: string; - }; -} -export interface AminoMsgUpdateClient extends AminoMsg { - type: "cosmos-sdk/MsgUpdateClient"; - value: { - client_id: string; - header: { - type_url: string; - value: Uint8Array; - }; - signer: string; - }; -} -export interface AminoMsgUpgradeClient extends AminoMsg { - type: "cosmos-sdk/MsgUpgradeClient"; - value: { - client_id: string; - client_state: { - type_url: string; - value: Uint8Array; - }; - consensus_state: { - type_url: string; - value: Uint8Array; - }; - proof_upgrade_client: Uint8Array; - proof_upgrade_consensus_state: Uint8Array; - signer: string; - }; -} -export interface AminoMsgSubmitMisbehaviour extends AminoMsg { - type: "cosmos-sdk/MsgSubmitMisbehaviour"; - value: { - client_id: string; - misbehaviour: { - type_url: string; - value: Uint8Array; - }; - signer: string; - }; -} -export const AminoConverter = { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: "cosmos-sdk/MsgCreateClient", - toAmino: ({ - clientState, - consensusState, - signer - }: MsgCreateClient): AminoMsgCreateClient["value"] => { - return { - client_state: { - type_url: clientState.typeUrl, - value: clientState.value - }, - consensus_state: { - type_url: consensusState.typeUrl, - value: consensusState.value - }, - signer - }; - }, - fromAmino: ({ - client_state, - consensus_state, - signer - }: AminoMsgCreateClient["value"]): MsgCreateClient => { - return { - clientState: { - typeUrl: client_state.type_url, - value: client_state.value - }, - consensusState: { - typeUrl: consensus_state.type_url, - value: consensus_state.value - }, - signer - }; - } - }, - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: "cosmos-sdk/MsgUpdateClient", - toAmino: ({ - clientId, - header, - signer - }: MsgUpdateClient): AminoMsgUpdateClient["value"] => { - return { - client_id: clientId, - header: { - type_url: header.typeUrl, - value: header.value - }, - signer - }; - }, - fromAmino: ({ - client_id, - header, - signer - }: AminoMsgUpdateClient["value"]): MsgUpdateClient => { - return { - clientId: client_id, - header: { - typeUrl: header.type_url, - value: header.value - }, - signer - }; - } - }, - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: "cosmos-sdk/MsgUpgradeClient", - toAmino: ({ - clientId, - clientState, - consensusState, - proofUpgradeClient, - proofUpgradeConsensusState, - signer - }: MsgUpgradeClient): AminoMsgUpgradeClient["value"] => { - return { - client_id: clientId, - client_state: { - type_url: clientState.typeUrl, - value: clientState.value - }, - consensus_state: { - type_url: consensusState.typeUrl, - value: consensusState.value - }, - proof_upgrade_client: proofUpgradeClient, - proof_upgrade_consensus_state: proofUpgradeConsensusState, - signer - }; - }, - fromAmino: ({ - client_id, - client_state, - consensus_state, - proof_upgrade_client, - proof_upgrade_consensus_state, - signer - }: AminoMsgUpgradeClient["value"]): MsgUpgradeClient => { - return { - clientId: client_id, - clientState: { - typeUrl: client_state.type_url, - value: client_state.value - }, - consensusState: { - typeUrl: consensus_state.type_url, - value: consensus_state.value - }, - proofUpgradeClient: proof_upgrade_client, - proofUpgradeConsensusState: proof_upgrade_consensus_state, - signer - }; - } - }, - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: "cosmos-sdk/MsgSubmitMisbehaviour", - toAmino: ({ - clientId, - misbehaviour, - signer - }: MsgSubmitMisbehaviour): AminoMsgSubmitMisbehaviour["value"] => { - return { - client_id: clientId, - misbehaviour: { - type_url: misbehaviour.typeUrl, - value: misbehaviour.value - }, - signer - }; - }, - fromAmino: ({ - client_id, - misbehaviour, - signer - }: AminoMsgSubmitMisbehaviour["value"]): MsgSubmitMisbehaviour => { - return { - clientId: client_id, - misbehaviour: { - typeUrl: misbehaviour.type_url, - value: misbehaviour.value - }, - signer - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts deleted file mode 100644 index 461eccde2..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts +++ /dev/null @@ -1,100 +0,0 @@ -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]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createClient(value: MsgCreateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgCreateClient", - value: MsgCreateClient.encode(value).finish() - }; - }, - - updateClient(value: MsgUpdateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient", - value: MsgUpdateClient.encode(value).finish() - }; - }, - - upgradeClient(value: MsgUpgradeClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", - value: MsgUpgradeClient.encode(value).finish() - }; - }, - - submitMisbehaviour(value: MsgSubmitMisbehaviour) { - return { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", - value: MsgSubmitMisbehaviour.encode(value).finish() - }; - } - - }, - withTypeUrl: { - createClient(value: MsgCreateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgCreateClient", - value - }; - }, - - updateClient(value: MsgUpdateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient", - value - }; - }, - - upgradeClient(value: MsgUpgradeClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", - value - }; - }, - - submitMisbehaviour(value: MsgSubmitMisbehaviour) { - return { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", - value - }; - } - - }, - fromPartial: { - createClient(value: MsgCreateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgCreateClient", - value: MsgCreateClient.fromPartial(value) - }; - }, - - updateClient(value: MsgUpdateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient", - value: MsgUpdateClient.fromPartial(value) - }; - }, - - upgradeClient(value: MsgUpgradeClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", - value: MsgUpgradeClient.fromPartial(value) - }; - }, - - submitMisbehaviour(value: MsgSubmitMisbehaviour) { - return { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", - value: MsgSubmitMisbehaviour.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts deleted file mode 100644 index 3197da3f9..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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 class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.createClient = this.createClient.bind(this); - this.updateClient = this.updateClient.bind(this); - this.upgradeClient = this.upgradeClient.bind(this); - this.submitMisbehaviour = this.submitMisbehaviour.bind(this); - } - - createClient(request: MsgCreateClient): Promise { - const data = MsgCreateClient.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); - return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); - } - - updateClient(request: MsgUpdateClient): Promise { - const data = MsgUpdateClient.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); - return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); - } - - upgradeClient(request: MsgUpgradeClient): Promise { - const data = MsgUpgradeClient.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); - return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); - } - - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { - const data = MsgSubmitMisbehaviour.encode(request).finish(); - const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); - return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.ts deleted file mode 100644 index 24b579e8a..000000000 --- a/examples/telescope/codegen/ibc/core/client/v1/tx.ts +++ /dev/null @@ -1,602 +0,0 @@ -import { Any, 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 | undefined; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - - consensusState?: Any | undefined; - /** signer address */ - - signer: string; -} -/** MsgCreateClient defines a message to create an IBC client */ - -export interface MsgCreateClientSDKType { - /** light client state */ - client_state?: AnySDKType | undefined; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - - consensus_state?: AnySDKType | undefined; - /** signer address */ - - signer: string; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ - -export interface MsgCreateClientResponse {} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ - -export interface MsgCreateClientResponseSDKType {} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ - -export interface MsgUpdateClient { - /** client unique identifier */ - clientId: string; - /** header to update the light client */ - - header?: Any | undefined; - /** signer address */ - - signer: string; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ - -export interface MsgUpdateClientSDKType { - /** client unique identifier */ - client_id: string; - /** header to update the light client */ - - header?: AnySDKType | undefined; - /** signer address */ - - signer: string; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ - -export interface MsgUpdateClientResponse {} -/** 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 | undefined; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - - consensusState?: Any | undefined; - /** 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; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ - -export interface MsgUpgradeClientSDKType { - /** client unique identifier */ - client_id: string; - /** upgraded client state */ - - client_state?: AnySDKType | undefined; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - - consensus_state?: AnySDKType | undefined; - /** 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; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ - -export interface MsgUpgradeClientResponse {} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ - -export interface MsgUpgradeClientResponseSDKType {} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ - -export interface MsgSubmitMisbehaviour { - /** client unique identifier */ - clientId: string; - /** misbehaviour used for freezing the light client */ - - misbehaviour?: Any | undefined; - /** signer address */ - - signer: string; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ - -export interface MsgSubmitMisbehaviourSDKType { - /** client unique identifier */ - client_id: string; - /** misbehaviour used for freezing the light client */ - - misbehaviour?: AnySDKType | undefined; - /** signer address */ - - signer: string; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ - -export interface MsgSubmitMisbehaviourResponse {} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ - -export interface MsgSubmitMisbehaviourResponseSDKType {} - -function createBaseMsgCreateClient(): MsgCreateClient { - return { - clientState: undefined, - consensusState: undefined, - signer: "" - }; -} - -export const MsgCreateClient = { - encode(message: MsgCreateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); - } - - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(26).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateClient(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgCreateClient { - const message = createBaseMsgCreateClient(); - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgCreateClientResponse(): MsgCreateClientResponse { - return {}; -} - -export const MsgCreateClientResponse = { - encode(_: MsgCreateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateClientResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgCreateClientResponse { - const message = createBaseMsgCreateClientResponse(); - return message; - } - -}; - -function createBaseMsgUpdateClient(): MsgUpdateClient { - return { - clientId: "", - header: undefined, - signer: "" - }; -} - -export const MsgUpdateClient = { - encode(message: MsgUpdateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.header !== undefined) { - Any.encode(message.header, writer.uint32(18).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(26).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateClient(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.header = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpdateClient { - const message = createBaseMsgUpdateClient(); - message.clientId = object.clientId ?? ""; - message.header = object.header !== undefined && object.header !== null ? Any.fromPartial(object.header) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgUpdateClientResponse(): MsgUpdateClientResponse { - return {}; -} - -export const MsgUpdateClientResponse = { - encode(_: MsgUpdateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateClientResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpdateClientResponse { - const message = createBaseMsgUpdateClientResponse(); - return message; - } - -}; - -function createBaseMsgUpgradeClient(): MsgUpgradeClient { - return { - clientId: "", - clientState: undefined, - consensusState: undefined, - proofUpgradeClient: new Uint8Array(), - proofUpgradeConsensusState: new Uint8Array(), - signer: "" - }; -} - -export const MsgUpgradeClient = { - encode(message: MsgUpgradeClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); - } - - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); - } - - if (message.proofUpgradeClient.length !== 0) { - writer.uint32(34).bytes(message.proofUpgradeClient); - } - - if (message.proofUpgradeConsensusState.length !== 0) { - writer.uint32(42).bytes(message.proofUpgradeConsensusState); - } - - if (message.signer !== "") { - writer.uint32(50).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpgradeClient(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - case 4: - message.proofUpgradeClient = reader.bytes(); - break; - - case 5: - message.proofUpgradeConsensusState = reader.bytes(); - break; - - case 6: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgUpgradeClient { - const message = createBaseMsgUpgradeClient(); - message.clientId = object.clientId ?? ""; - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - message.proofUpgradeClient = object.proofUpgradeClient ?? new Uint8Array(); - message.proofUpgradeConsensusState = object.proofUpgradeConsensusState ?? new Uint8Array(); - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgUpgradeClientResponse(): MsgUpgradeClientResponse { - return {}; -} - -export const MsgUpgradeClientResponse = { - encode(_: MsgUpgradeClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpgradeClientResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgUpgradeClientResponse { - const message = createBaseMsgUpgradeClientResponse(); - return message; - } - -}; - -function createBaseMsgSubmitMisbehaviour(): MsgSubmitMisbehaviour { - return { - clientId: "", - misbehaviour: undefined, - signer: "" - }; -} - -export const MsgSubmitMisbehaviour = { - encode(message: MsgSubmitMisbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.misbehaviour !== undefined) { - Any.encode(message.misbehaviour, writer.uint32(18).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(26).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitMisbehaviour(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.misbehaviour = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgSubmitMisbehaviour { - const message = createBaseMsgSubmitMisbehaviour(); - message.clientId = object.clientId ?? ""; - message.misbehaviour = object.misbehaviour !== undefined && object.misbehaviour !== null ? Any.fromPartial(object.misbehaviour) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgSubmitMisbehaviourResponse(): MsgSubmitMisbehaviourResponse { - return {}; -} - -export const MsgSubmitMisbehaviourResponse = { - encode(_: MsgSubmitMisbehaviourResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitMisbehaviourResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgSubmitMisbehaviourResponse { - const message = createBaseMsgSubmitMisbehaviourResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts deleted file mode 100644 index 571febed0..000000000 --- a/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts +++ /dev/null @@ -1,256 +0,0 @@ -import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; -import * as _m0 from "protobufjs/minimal"; -/** - * MerkleRoot defines a merkle root hash. - * In the Cosmos SDK, the AppHash of a block header becomes the root. - */ - -export interface MerkleRoot { - hash: Uint8Array; -} -/** - * MerkleRoot defines a merkle root hash. - * In the Cosmos SDK, the AppHash of a block header becomes the root. - */ - -export interface MerkleRootSDKType { - hash: Uint8Array; -} -/** - * MerklePrefix is merkle path prefixed to the key. - * The constructed key from the Path and the key will be append(Path.KeyPath, - * append(Path.KeyPrefix, key...)) - */ - -export interface MerklePrefix { - keyPrefix: Uint8Array; -} -/** - * MerklePrefix is merkle path prefixed to the key. - * The constructed key from the Path and the key will be append(Path.KeyPath, - * append(Path.KeyPrefix, key...)) - */ - -export interface MerklePrefixSDKType { - key_prefix: Uint8Array; -} -/** - * MerklePath is the path used to verify commitment proofs, which can be an - * arbitrary structured object (defined by a commitment type). - * MerklePath is represented from root-to-leaf - */ - -export interface MerklePath { - keyPath: string[]; -} -/** - * MerklePath is the path used to verify commitment proofs, which can be an - * arbitrary structured object (defined by a commitment type). - * MerklePath is represented from root-to-leaf - */ - -export interface MerklePathSDKType { - key_path: string[]; -} -/** - * MerkleProof is a wrapper type over a chain of CommitmentProofs. - * It demonstrates membership or non-membership for an element or set of - * elements, verifiable in conjunction with a known commitment root. Proofs - * should be succinct. - * MerkleProofs are ordered from leaf-to-root - */ - -export interface MerkleProof { - proofs: CommitmentProof[]; -} -/** - * MerkleProof is a wrapper type over a chain of CommitmentProofs. - * It demonstrates membership or non-membership for an element or set of - * elements, verifiable in conjunction with a known commitment root. Proofs - * should be succinct. - * MerkleProofs are ordered from leaf-to-root - */ - -export interface MerkleProofSDKType { - proofs: CommitmentProofSDKType[]; -} - -function createBaseMerkleRoot(): MerkleRoot { - return { - hash: new Uint8Array() - }; -} - -export const MerkleRoot = { - encode(message: MerkleRoot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash.length !== 0) { - writer.uint32(10).bytes(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMerkleRoot(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MerkleRoot { - const message = createBaseMerkleRoot(); - message.hash = object.hash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMerklePrefix(): MerklePrefix { - return { - keyPrefix: new Uint8Array() - }; -} - -export const MerklePrefix = { - encode(message: MerklePrefix, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.keyPrefix.length !== 0) { - writer.uint32(10).bytes(message.keyPrefix); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMerklePrefix(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.keyPrefix = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MerklePrefix { - const message = createBaseMerklePrefix(); - message.keyPrefix = object.keyPrefix ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMerklePath(): MerklePath { - return { - keyPath: [] - }; -} - -export const MerklePath = { - encode(message: MerklePath, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.keyPath) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMerklePath(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.keyPath.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MerklePath { - const message = createBaseMerklePath(); - message.keyPath = object.keyPath?.map(e => e) || []; - return message; - } - -}; - -function createBaseMerkleProof(): MerkleProof { - return { - proofs: [] - }; -} - -export const MerkleProof = { - encode(message: MerkleProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proofs) { - CommitmentProof.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMerkleProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.proofs.push(CommitmentProof.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MerkleProof { - const message = createBaseMerkleProof(); - message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts deleted file mode 100644 index f232ce385..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts +++ /dev/null @@ -1,759 +0,0 @@ -import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * State defines if a connection is in one of the following states: - * INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ - -export enum State { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - - /** STATE_INIT - A connection end has just started the opening handshake. */ - STATE_INIT = 1, - - /** - * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty - * chain. - */ - STATE_TRYOPEN = 2, - - /** STATE_OPEN - A connection end has completed the handshake. */ - STATE_OPEN = 3, - UNRECOGNIZED = -1, -} -/** - * State defines if a connection is in one of the following states: - * INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ - -export enum StateSDKType { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - - /** STATE_INIT - A connection end has just started the opening handshake. */ - STATE_INIT = 1, - - /** - * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty - * chain. - */ - STATE_TRYOPEN = 2, - - /** STATE_OPEN - A connection end has completed the handshake. */ - STATE_OPEN = 3, - UNRECOGNIZED = -1, -} -export function stateFromJSON(object: any): State { - switch (object) { - case 0: - case "STATE_UNINITIALIZED_UNSPECIFIED": - return State.STATE_UNINITIALIZED_UNSPECIFIED; - - case 1: - case "STATE_INIT": - return State.STATE_INIT; - - case 2: - case "STATE_TRYOPEN": - return State.STATE_TRYOPEN; - - case 3: - case "STATE_OPEN": - return State.STATE_OPEN; - - case -1: - case "UNRECOGNIZED": - default: - return State.UNRECOGNIZED; - } -} -export function stateToJSON(object: State): string { - switch (object) { - case State.STATE_UNINITIALIZED_UNSPECIFIED: - return "STATE_UNINITIALIZED_UNSPECIFIED"; - - case State.STATE_INIT: - return "STATE_INIT"; - - case State.STATE_TRYOPEN: - return "STATE_TRYOPEN"; - - case State.STATE_OPEN: - return "STATE_OPEN"; - - case State.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * ConnectionEnd defines a stateful object on a chain connected to another - * separate one. - * NOTE: there must only be 2 defined ConnectionEnds to establish - * a connection between two chains. - */ - -export interface ConnectionEnd { - /** client associated with this connection. */ - clientId: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection. - */ - - versions: Version[]; - /** current state of the connection end. */ - - state: State; - /** counterparty chain associated with this connection. */ - - counterparty?: Counterparty | undefined; - /** - * delay period that must pass before a consensus state can be used for - * packet-verification NOTE: delay period logic is only implemented by some - * clients. - */ - - delayPeriod: Long; -} -/** - * ConnectionEnd defines a stateful object on a chain connected to another - * separate one. - * NOTE: there must only be 2 defined ConnectionEnds to establish - * a connection between two chains. - */ - -export interface ConnectionEndSDKType { - /** client associated with this connection. */ - client_id: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection. - */ - - versions: VersionSDKType[]; - /** current state of the connection end. */ - - state: StateSDKType; - /** counterparty chain associated with this connection. */ - - counterparty?: CounterpartySDKType | undefined; - /** - * delay period that must pass before a consensus state can be used for - * packet-verification NOTE: delay period logic is only implemented by some - * clients. - */ - - delay_period: Long; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ - -export interface IdentifiedConnection { - /** connection identifier. */ - id: string; - /** client associated with this connection. */ - - clientId: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection - */ - - versions: Version[]; - /** current state of the connection end. */ - - state: State; - /** counterparty chain associated with this connection. */ - - counterparty?: Counterparty | undefined; - /** delay period associated with this connection. */ - - delayPeriod: Long; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ - -export interface IdentifiedConnectionSDKType { - /** connection identifier. */ - id: string; - /** client associated with this connection. */ - - client_id: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection - */ - - versions: VersionSDKType[]; - /** current state of the connection end. */ - - state: StateSDKType; - /** counterparty chain associated with this connection. */ - - counterparty?: CounterpartySDKType | undefined; - /** delay period associated with this connection. */ - - delay_period: Long; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ - -export interface Counterparty { - /** - * identifies the client on the counterparty chain associated with a given - * connection. - */ - clientId: string; - /** - * identifies the connection end on the counterparty chain associated with a - * given connection. - */ - - connectionId: string; - /** commitment merkle prefix of the counterparty chain. */ - - prefix?: MerklePrefix | undefined; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ - -export interface CounterpartySDKType { - /** - * identifies the client on the counterparty chain associated with a given - * connection. - */ - client_id: string; - /** - * identifies the connection end on the counterparty chain associated with a - * given connection. - */ - - connection_id: string; - /** commitment merkle prefix of the counterparty chain. */ - - prefix?: MerklePrefixSDKType | undefined; -} -/** ClientPaths define all the connection paths for a client state. */ - -export interface ClientPaths { - /** list of connection paths */ - paths: string[]; -} -/** ClientPaths define all the connection paths for a client state. */ - -export interface ClientPathsSDKType { - /** list of connection paths */ - paths: string[]; -} -/** ConnectionPaths define all the connection paths for a given client state. */ - -export interface ConnectionPaths { - /** client state unique identifier */ - clientId: string; - /** list of connection paths */ - - paths: string[]; -} -/** ConnectionPaths define all the connection paths for a given client state. */ - -export interface ConnectionPathsSDKType { - /** client state unique identifier */ - client_id: string; - /** list of connection paths */ - - paths: string[]; -} -/** - * Version defines the versioning scheme used to negotiate the IBC verison in - * the connection handshake. - */ - -export interface Version { - /** unique version identifier */ - identifier: string; - /** list of features compatible with the specified identifier */ - - features: string[]; -} -/** - * Version defines the versioning scheme used to negotiate the IBC verison in - * the connection handshake. - */ - -export interface VersionSDKType { - /** unique version identifier */ - identifier: string; - /** list of features compatible with the specified identifier */ - - features: string[]; -} -/** Params defines the set of Connection parameters. */ - -export interface Params { - /** - * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - * largest amount of time that the chain might reasonably take to produce the next block under normal operating - * conditions. A safe choice is 3-5x the expected time per block. - */ - maxExpectedTimePerBlock: Long; -} -/** Params defines the set of Connection parameters. */ - -export interface ParamsSDKType { - /** - * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - * largest amount of time that the chain might reasonably take to produce the next block under normal operating - * conditions. A safe choice is 3-5x the expected time per block. - */ - max_expected_time_per_block: Long; -} - -function createBaseConnectionEnd(): ConnectionEnd { - return { - clientId: "", - versions: [], - state: 0, - counterparty: undefined, - delayPeriod: Long.UZERO - }; -} - -export const ConnectionEnd = { - encode(message: ConnectionEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - for (const v of message.versions) { - Version.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.state !== 0) { - writer.uint32(24).int32(message.state); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); - } - - if (!message.delayPeriod.isZero()) { - writer.uint32(40).uint64(message.delayPeriod); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConnectionEnd(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.versions.push(Version.decode(reader, reader.uint32())); - break; - - case 3: - message.state = (reader.int32() as any); - break; - - case 4: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 5: - message.delayPeriod = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConnectionEnd { - const message = createBaseConnectionEnd(); - message.clientId = object.clientId ?? ""; - message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; - message.state = object.state ?? 0; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; - return message; - } - -}; - -function createBaseIdentifiedConnection(): IdentifiedConnection { - return { - id: "", - clientId: "", - versions: [], - state: 0, - counterparty: undefined, - delayPeriod: Long.UZERO - }; -} - -export const IdentifiedConnection = { - encode(message: IdentifiedConnection, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - - if (message.clientId !== "") { - writer.uint32(18).string(message.clientId); - } - - for (const v of message.versions) { - Version.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (message.state !== 0) { - writer.uint32(32).int32(message.state); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(42).fork()).ldelim(); - } - - if (!message.delayPeriod.isZero()) { - writer.uint32(48).uint64(message.delayPeriod); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdentifiedConnection(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - - case 2: - message.clientId = reader.string(); - break; - - case 3: - message.versions.push(Version.decode(reader, reader.uint32())); - break; - - case 4: - message.state = (reader.int32() as any); - break; - - case 5: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 6: - message.delayPeriod = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): IdentifiedConnection { - const message = createBaseIdentifiedConnection(); - message.id = object.id ?? ""; - message.clientId = object.clientId ?? ""; - message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; - message.state = object.state ?? 0; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; - return message; - } - -}; - -function createBaseCounterparty(): Counterparty { - return { - clientId: "", - connectionId: "", - prefix: undefined - }; -} - -export const Counterparty = { - encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.connectionId !== "") { - writer.uint32(18).string(message.connectionId); - } - - if (message.prefix !== undefined) { - MerklePrefix.encode(message.prefix, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCounterparty(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.connectionId = reader.string(); - break; - - case 3: - message.prefix = MerklePrefix.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Counterparty { - const message = createBaseCounterparty(); - message.clientId = object.clientId ?? ""; - message.connectionId = object.connectionId ?? ""; - message.prefix = object.prefix !== undefined && object.prefix !== null ? MerklePrefix.fromPartial(object.prefix) : undefined; - return message; - } - -}; - -function createBaseClientPaths(): ClientPaths { - return { - paths: [] - }; -} - -export const ClientPaths = { - encode(message: ClientPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.paths) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientPaths(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.paths.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientPaths { - const message = createBaseClientPaths(); - message.paths = object.paths?.map(e => e) || []; - return message; - } - -}; - -function createBaseConnectionPaths(): ConnectionPaths { - return { - clientId: "", - paths: [] - }; -} - -export const ConnectionPaths = { - encode(message: ConnectionPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - for (const v of message.paths) { - writer.uint32(18).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConnectionPaths(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.paths.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConnectionPaths { - const message = createBaseConnectionPaths(); - message.clientId = object.clientId ?? ""; - message.paths = object.paths?.map(e => e) || []; - return message; - } - -}; - -function createBaseVersion(): Version { - return { - identifier: "", - features: [] - }; -} - -export const Version = { - encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.identifier !== "") { - writer.uint32(10).string(message.identifier); - } - - for (const v of message.features) { - writer.uint32(18).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Version { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVersion(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.identifier = reader.string(); - break; - - case 2: - message.features.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Version { - const message = createBaseVersion(); - message.identifier = object.identifier ?? ""; - message.features = object.features?.map(e => e) || []; - return message; - } - -}; - -function createBaseParams(): Params { - return { - maxExpectedTimePerBlock: Long.UZERO - }; -} - -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxExpectedTimePerBlock.isZero()) { - writer.uint32(8).uint64(message.maxExpectedTimePerBlock); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxExpectedTimePerBlock = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts deleted file mode 100644 index 9bc46b727..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** GenesisState defines the ibc connection submodule's genesis state. */ - -export interface GenesisState { - connections: IdentifiedConnection[]; - clientConnectionPaths: ConnectionPaths[]; - /** the sequence for the next generated connection identifier */ - - nextConnectionSequence: Long; - params?: Params | undefined; -} -/** GenesisState defines the ibc connection submodule's genesis state. */ - -export interface GenesisStateSDKType { - connections: IdentifiedConnectionSDKType[]; - client_connection_paths: ConnectionPathsSDKType[]; - /** the sequence for the next generated connection identifier */ - - next_connection_sequence: Long; - params?: ParamsSDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - connections: [], - clientConnectionPaths: [], - nextConnectionSequence: Long.UZERO, - params: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.connections) { - IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.clientConnectionPaths) { - ConnectionPaths.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (!message.nextConnectionSequence.isZero()) { - writer.uint32(24).uint64(message.nextConnectionSequence); - } - - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); - break; - - case 2: - message.clientConnectionPaths.push(ConnectionPaths.decode(reader, reader.uint32())); - break; - - case 3: - message.nextConnectionSequence = (reader.uint64() as Long); - break; - - case 4: - message.params = Params.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; - message.clientConnectionPaths = object.clientConnectionPaths?.map(e => ConnectionPaths.fromPartial(e)) || []; - message.nextConnectionSequence = object.nextConnectionSequence !== undefined && object.nextConnectionSequence !== null ? Long.fromValue(object.nextConnectionSequence) : Long.UZERO; - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts deleted file mode 100644 index 5f34519b7..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@osmonauts/lcd"; -import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.connection = this.connection.bind(this); - this.connections = this.connections.bind(this); - this.clientConnections = this.clientConnections.bind(this); - this.connectionClientState = this.connectionClientState.bind(this); - this.connectionConsensusState = this.connectionConsensusState.bind(this); - } - /* Connection queries an IBC connection end. */ - - - async connection(params: QueryConnectionRequest): Promise { - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; - return await this.req.get(endpoint); - } - /* Connections queries all the IBC connections of a chain. */ - - - async connections(params: QueryConnectionsRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `ibc/core/connection/v1/connections`; - return await this.req.get(endpoint, options); - } - /* ClientConnections queries the connection paths associated with a client - state. */ - - - async clientConnections(params: QueryClientConnectionsRequest): Promise { - const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; - return await this.req.get(endpoint); - } - /* ConnectionClientState queries the client state associated with the - connection. */ - - - async connectionClientState(params: QueryConnectionClientStateRequest): Promise { - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; - return await this.req.get(endpoint); - } - /* ConnectionConsensusState queries the consensus state associated with the - connection. */ - - - async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { - const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; - return await this.req.get(endpoint); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts deleted file mode 100644 index e3af26e15..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.query.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; -/** Query provides defines the gRPC querier service */ - -export interface Query { - /** Connection queries an IBC connection end. */ - connection(request: QueryConnectionRequest): Promise; - /** Connections queries all the IBC connections of a chain. */ - - connections(request?: QueryConnectionsRequest): Promise; - /** - * ClientConnections queries the connection paths associated with a client - * state. - */ - - clientConnections(request: QueryClientConnectionsRequest): Promise; - /** - * ConnectionClientState queries the client state associated with the - * connection. - */ - - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - /** - * ConnectionConsensusState queries the consensus state associated with the - * connection. - */ - - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.connection = this.connection.bind(this); - this.connections = this.connections.bind(this); - this.clientConnections = this.clientConnections.bind(this); - this.connectionClientState = this.connectionClientState.bind(this); - this.connectionConsensusState = this.connectionConsensusState.bind(this); - } - - connection(request: QueryConnectionRequest): Promise { - const data = QueryConnectionRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); - return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); - } - - connections(request: QueryConnectionsRequest = { - pagination: undefined - }): Promise { - const data = QueryConnectionsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); - return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); - } - - clientConnections(request: QueryClientConnectionsRequest): Promise { - const data = QueryClientConnectionsRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); - return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); - } - - connectionClientState(request: QueryConnectionClientStateRequest): Promise { - const data = QueryConnectionClientStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); - return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); - } - - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { - const data = QueryConnectionConsensusStateRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); - return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - connection(request: QueryConnectionRequest): Promise { - return queryService.connection(request); - }, - - connections(request?: QueryConnectionsRequest): Promise { - return queryService.connections(request); - }, - - clientConnections(request: QueryClientConnectionsRequest): Promise { - return queryService.clientConnections(request); - }, - - connectionClientState(request: QueryConnectionClientStateRequest): Promise { - return queryService.connectionClientState(request); - }, - - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { - return queryService.connectionConsensusState(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.ts deleted file mode 100644 index 47a24de55..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/query.ts +++ /dev/null @@ -1,836 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection"; -import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * QueryConnectionRequest is the request type for the Query/Connection RPC - * method - */ - -export interface QueryConnectionRequest { - /** connection unique identifier */ - connectionId: string; -} -/** - * QueryConnectionRequest is the request type for the Query/Connection RPC - * method - */ - -export interface QueryConnectionRequestSDKType { - /** connection unique identifier */ - connection_id: string; -} -/** - * QueryConnectionResponse is the response type for the Query/Connection RPC - * method. Besides the connection end, it includes a proof and the height from - * which the proof was retrieved. - */ - -export interface QueryConnectionResponse { - /** connection associated with the request identifier */ - connection?: ConnectionEnd | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryConnectionResponse is the response type for the Query/Connection RPC - * method. Besides the connection end, it includes a proof and the height from - * which the proof was retrieved. - */ - -export interface QueryConnectionResponseSDKType { - /** connection associated with the request identifier */ - connection?: ConnectionEndSDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ - -export interface QueryConnectionsRequest { - pagination?: PageRequest | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ - -export interface QueryConnectionsRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ - -export interface QueryConnectionsResponse { - /** list of stored connections of the chain. */ - connections: IdentifiedConnection[]; - /** pagination response */ - - pagination?: PageResponse | undefined; - /** query block height */ - - height?: Height | undefined; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ - -export interface QueryConnectionsResponseSDKType { - /** list of stored connections of the chain. */ - connections: IdentifiedConnectionSDKType[]; - /** pagination response */ - - pagination?: PageResponseSDKType | undefined; - /** query block height */ - - height?: HeightSDKType | undefined; -} -/** - * QueryClientConnectionsRequest is the request type for the - * Query/ClientConnections RPC method - */ - -export interface QueryClientConnectionsRequest { - /** client identifier associated with a connection */ - clientId: string; -} -/** - * QueryClientConnectionsRequest is the request type for the - * Query/ClientConnections RPC method - */ - -export interface QueryClientConnectionsRequestSDKType { - /** client identifier associated with a connection */ - client_id: string; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ - -export interface QueryClientConnectionsResponse { - /** slice of all the connection paths associated with a client. */ - connectionPaths: string[]; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was generated */ - - proofHeight?: Height | undefined; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ - -export interface QueryClientConnectionsResponseSDKType { - /** slice of all the connection paths associated with a client. */ - connection_paths: string[]; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was generated */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryConnectionClientStateRequest is the request type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateRequest { - /** connection identifier */ - connectionId: string; -} -/** - * QueryConnectionClientStateRequest is the request type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateRequestSDKType { - /** connection identifier */ - connection_id: string; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateResponseSDKType { - /** client state associated with the channel */ - identified_client_state?: IdentifiedClientStateSDKType | undefined; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} -/** - * QueryConnectionConsensusStateRequest is the request type for the - * Query/ConnectionConsensusState RPC method - */ - -export interface QueryConnectionConsensusStateRequest { - /** connection identifier */ - connectionId: string; - revisionNumber: Long; - revisionHeight: Long; -} -/** - * QueryConnectionConsensusStateRequest is the request type for the - * Query/ConnectionConsensusState RPC method - */ - -export interface QueryConnectionConsensusStateRequestSDKType { - /** connection identifier */ - connection_id: string; - revision_number: Long; - revision_height: Long; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ - -export interface QueryConnectionConsensusStateResponse { - /** consensus state associated with the channel */ - consensusState?: Any | undefined; - /** client ID associated with the consensus state */ - - clientId: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height | undefined; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ - -export interface QueryConnectionConsensusStateResponseSDKType { - /** consensus state associated with the channel */ - consensus_state?: AnySDKType | undefined; - /** client ID associated with the consensus state */ - - client_id: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proof_height?: HeightSDKType | undefined; -} - -function createBaseQueryConnectionRequest(): QueryConnectionRequest { - return { - connectionId: "" - }; -} - -export const QueryConnectionRequest = { - encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connectionId !== "") { - writer.uint32(10).string(message.connectionId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionRequest { - const message = createBaseQueryConnectionRequest(); - message.connectionId = object.connectionId ?? ""; - return message; - } - -}; - -function createBaseQueryConnectionResponse(): QueryConnectionResponse { - return { - connection: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryConnectionResponse = { - encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connection !== undefined) { - ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connection = ConnectionEnd.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionResponse { - const message = createBaseQueryConnectionResponse(); - message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { - return { - pagination: undefined - }; -} - -export const QueryConnectionsRequest = { - encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionsRequest(); - - 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; - }, - - fromPartial(object: Partial): QueryConnectionsRequest { - const message = createBaseQueryConnectionsRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { - return { - connections: [], - pagination: undefined, - height: undefined - }; -} - -export const QueryConnectionsResponse = { - encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.connections) { - IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - case 3: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionsResponse { - const message = createBaseQueryConnectionsResponse(); - message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; - -function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest { - return { - clientId: "" - }; -} - -export const QueryClientConnectionsRequest = { - encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientConnectionsRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientConnectionsRequest { - const message = createBaseQueryClientConnectionsRequest(); - message.clientId = object.clientId ?? ""; - return message; - } - -}; - -function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse { - return { - connectionPaths: [], - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryClientConnectionsResponse = { - encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.connectionPaths) { - writer.uint32(10).string(v!); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClientConnectionsResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionPaths.push(reader.string()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryClientConnectionsResponse { - const message = createBaseQueryClientConnectionsResponse(); - message.connectionPaths = object.connectionPaths?.map(e => e) || []; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest { - return { - connectionId: "" - }; -} - -export const QueryConnectionClientStateRequest = { - encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connectionId !== "") { - writer.uint32(10).string(message.connectionId); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionClientStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionId = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionClientStateRequest { - const message = createBaseQueryConnectionClientStateRequest(); - message.connectionId = object.connectionId ?? ""; - return message; - } - -}; - -function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { - return { - identifiedClientState: undefined, - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryConnectionClientStateResponse = { - encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.identifiedClientState !== undefined) { - IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); - } - - if (message.proof.length !== 0) { - writer.uint32(18).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionClientStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); - break; - - case 2: - message.proof = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionClientStateResponse { - const message = createBaseQueryConnectionClientStateResponse(); - message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; - -function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest { - return { - connectionId: "", - revisionNumber: Long.UZERO, - revisionHeight: Long.UZERO - }; -} - -export const QueryConnectionConsensusStateRequest = { - encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connectionId !== "") { - writer.uint32(10).string(message.connectionId); - } - - if (!message.revisionNumber.isZero()) { - writer.uint32(16).uint64(message.revisionNumber); - } - - if (!message.revisionHeight.isZero()) { - writer.uint32(24).uint64(message.revisionHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionConsensusStateRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionId = reader.string(); - break; - - case 2: - message.revisionNumber = (reader.uint64() as Long); - break; - - case 3: - message.revisionHeight = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionConsensusStateRequest { - const message = createBaseQueryConnectionConsensusStateRequest(); - message.connectionId = object.connectionId ?? ""; - message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; - message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; - return message; - } - -}; - -function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse { - return { - consensusState: undefined, - clientId: "", - proof: new Uint8Array(), - proofHeight: undefined - }; -} - -export const QueryConnectionConsensusStateResponse = { - encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); - } - - if (message.clientId !== "") { - writer.uint32(18).string(message.clientId); - } - - if (message.proof.length !== 0) { - writer.uint32(26).bytes(message.proof); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConnectionConsensusStateResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.clientId = reader.string(); - break; - - case 3: - message.proof = reader.bytes(); - break; - - case 4: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryConnectionConsensusStateResponse { - const message = createBaseQueryConnectionConsensusStateResponse(); - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - message.clientId = object.clientId ?? ""; - message.proof = object.proof ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts deleted file mode 100644 index cf870e601..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts +++ /dev/null @@ -1,343 +0,0 @@ -import { AminoMsg } from "@cosmjs/amino"; -import { AminoHeight, Long, omitDefault } from "../../../../helpers"; -import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; -export interface AminoMsgConnectionOpenInit extends AminoMsg { - type: "cosmos-sdk/MsgConnectionOpenInit"; - value: { - client_id: string; - counterparty: { - client_id: string; - connection_id: string; - prefix: { - key_prefix: Uint8Array; - }; - }; - version: { - identifier: string; - features: string[]; - }; - delay_period: string; - signer: string; - }; -} -export interface AminoMsgConnectionOpenTry extends AminoMsg { - type: "cosmos-sdk/MsgConnectionOpenTry"; - value: { - client_id: string; - previous_connection_id: string; - client_state: { - type_url: string; - value: Uint8Array; - }; - counterparty: { - client_id: string; - connection_id: string; - prefix: { - key_prefix: Uint8Array; - }; - }; - delay_period: string; - counterparty_versions: { - identifier: string; - features: string[]; - }[]; - proof_height: AminoHeight; - proof_init: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgConnectionOpenAck extends AminoMsg { - type: "cosmos-sdk/MsgConnectionOpenAck"; - value: { - connection_id: string; - counterparty_connection_id: string; - version: { - identifier: string; - features: string[]; - }; - client_state: { - type_url: string; - value: Uint8Array; - }; - proof_height: AminoHeight; - proof_try: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height: AminoHeight; - signer: string; - }; -} -export interface AminoMsgConnectionOpenConfirm extends AminoMsg { - type: "cosmos-sdk/MsgConnectionOpenConfirm"; - value: { - connection_id: string; - proof_ack: Uint8Array; - proof_height: AminoHeight; - signer: string; - }; -} -export const AminoConverter = { - "/ibc.core.connection.v1.MsgConnectionOpenInit": { - aminoType: "cosmos-sdk/MsgConnectionOpenInit", - toAmino: ({ - clientId, - counterparty, - version, - delayPeriod, - signer - }: MsgConnectionOpenInit): AminoMsgConnectionOpenInit["value"] => { - return { - client_id: clientId, - counterparty: { - client_id: counterparty.clientId, - connection_id: counterparty.connectionId, - prefix: { - key_prefix: counterparty.prefix.keyPrefix - } - }, - version: { - identifier: version.identifier, - features: version.features - }, - delay_period: delayPeriod.toString(), - signer - }; - }, - fromAmino: ({ - client_id, - counterparty, - version, - delay_period, - signer - }: AminoMsgConnectionOpenInit["value"]): MsgConnectionOpenInit => { - return { - clientId: client_id, - counterparty: { - clientId: counterparty.client_id, - connectionId: counterparty.connection_id, - prefix: { - keyPrefix: counterparty.prefix.key_prefix - } - }, - version: { - identifier: version.identifier, - features: version.features - }, - delayPeriod: Long.fromString(delay_period), - signer - }; - } - }, - "/ibc.core.connection.v1.MsgConnectionOpenTry": { - aminoType: "cosmos-sdk/MsgConnectionOpenTry", - toAmino: ({ - clientId, - previousConnectionId, - clientState, - counterparty, - delayPeriod, - counterpartyVersions, - proofHeight, - proofInit, - proofClient, - proofConsensus, - consensusHeight, - signer - }: MsgConnectionOpenTry): AminoMsgConnectionOpenTry["value"] => { - return { - client_id: clientId, - previous_connection_id: previousConnectionId, - client_state: { - type_url: clientState.typeUrl, - value: clientState.value - }, - counterparty: { - client_id: counterparty.clientId, - connection_id: counterparty.connectionId, - prefix: { - key_prefix: counterparty.prefix.keyPrefix - } - }, - delay_period: delayPeriod.toString(), - counterparty_versions: counterpartyVersions.map(el0 => ({ - identifier: el0.identifier, - features: el0.features - })), - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - proof_init: proofInit, - proof_client: proofClient, - proof_consensus: proofConsensus, - consensus_height: consensusHeight ? { - revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), - revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - client_id, - previous_connection_id, - client_state, - counterparty, - delay_period, - counterparty_versions, - proof_height, - proof_init, - proof_client, - proof_consensus, - consensus_height, - signer - }: AminoMsgConnectionOpenTry["value"]): MsgConnectionOpenTry => { - return { - clientId: client_id, - previousConnectionId: previous_connection_id, - clientState: { - typeUrl: client_state.type_url, - value: client_state.value - }, - counterparty: { - clientId: counterparty.client_id, - connectionId: counterparty.connection_id, - prefix: { - keyPrefix: counterparty.prefix.key_prefix - } - }, - delayPeriod: Long.fromString(delay_period), - counterpartyVersions: counterparty_versions.map(el0 => ({ - identifier: el0.identifier, - features: el0.features - })), - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - proofInit: proof_init, - proofClient: proof_client, - proofConsensus: proof_consensus, - consensusHeight: consensus_height ? { - revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), - revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.connection.v1.MsgConnectionOpenAck": { - aminoType: "cosmos-sdk/MsgConnectionOpenAck", - toAmino: ({ - connectionId, - counterpartyConnectionId, - version, - clientState, - proofHeight, - proofTry, - proofClient, - proofConsensus, - consensusHeight, - signer - }: MsgConnectionOpenAck): AminoMsgConnectionOpenAck["value"] => { - return { - connection_id: connectionId, - counterparty_connection_id: counterpartyConnectionId, - version: { - identifier: version.identifier, - features: version.features - }, - client_state: { - type_url: clientState.typeUrl, - value: clientState.value - }, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - proof_try: proofTry, - proof_client: proofClient, - proof_consensus: proofConsensus, - consensus_height: consensusHeight ? { - revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), - revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - connection_id, - counterparty_connection_id, - version, - client_state, - proof_height, - proof_try, - proof_client, - proof_consensus, - consensus_height, - signer - }: AminoMsgConnectionOpenAck["value"]): MsgConnectionOpenAck => { - return { - connectionId: connection_id, - counterpartyConnectionId: counterparty_connection_id, - version: { - identifier: version.identifier, - features: version.features - }, - clientState: { - typeUrl: client_state.type_url, - value: client_state.value - }, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - proofTry: proof_try, - proofClient: proof_client, - proofConsensus: proof_consensus, - consensusHeight: consensus_height ? { - revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), - revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) - } : undefined, - signer - }; - } - }, - "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { - aminoType: "cosmos-sdk/MsgConnectionOpenConfirm", - toAmino: ({ - connectionId, - proofAck, - proofHeight, - signer - }: MsgConnectionOpenConfirm): AminoMsgConnectionOpenConfirm["value"] => { - return { - connection_id: connectionId, - proof_ack: proofAck, - proof_height: proofHeight ? { - revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), - revision_number: omitDefault(proofHeight.revisionNumber)?.toString() - } : {}, - signer - }; - }, - fromAmino: ({ - connection_id, - proof_ack, - proof_height, - signer - }: AminoMsgConnectionOpenConfirm["value"]): MsgConnectionOpenConfirm => { - return { - connectionId: connection_id, - proofAck: proof_ack, - proofHeight: proof_height ? { - revisionHeight: Long.fromString(proof_height.revision_height || "0", true), - revisionNumber: Long.fromString(proof_height.revision_number || "0", true) - } : undefined, - signer - }; - } - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts deleted file mode 100644 index 1cc79cfa4..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - connectionOpenInit(value: MsgConnectionOpenInit) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", - value: MsgConnectionOpenInit.encode(value).finish() - }; - }, - - connectionOpenTry(value: MsgConnectionOpenTry) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", - value: MsgConnectionOpenTry.encode(value).finish() - }; - }, - - connectionOpenAck(value: MsgConnectionOpenAck) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", - value: MsgConnectionOpenAck.encode(value).finish() - }; - }, - - connectionOpenConfirm(value: MsgConnectionOpenConfirm) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", - value: MsgConnectionOpenConfirm.encode(value).finish() - }; - } - - }, - withTypeUrl: { - connectionOpenInit(value: MsgConnectionOpenInit) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", - value - }; - }, - - connectionOpenTry(value: MsgConnectionOpenTry) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", - value - }; - }, - - connectionOpenAck(value: MsgConnectionOpenAck) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", - value - }; - }, - - connectionOpenConfirm(value: MsgConnectionOpenConfirm) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", - value - }; - } - - }, - fromPartial: { - connectionOpenInit(value: MsgConnectionOpenInit) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", - value: MsgConnectionOpenInit.fromPartial(value) - }; - }, - - connectionOpenTry(value: MsgConnectionOpenTry) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", - value: MsgConnectionOpenTry.fromPartial(value) - }; - }, - - connectionOpenAck(value: MsgConnectionOpenAck) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", - value: MsgConnectionOpenAck.fromPartial(value) - }; - }, - - connectionOpenConfirm(value: MsgConnectionOpenConfirm) { - return { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", - value: MsgConnectionOpenConfirm.fromPartial(value) - }; - } - - } -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts deleted file mode 100644 index bfda3f8cf..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; -/** Msg defines the ibc/connection Msg service. */ - -export interface Msg { - /** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */ - connectionOpenInit(request: MsgConnectionOpenInit): Promise; - /** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */ - - connectionOpenTry(request: MsgConnectionOpenTry): Promise; - /** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */ - - connectionOpenAck(request: MsgConnectionOpenAck): Promise; - /** - * ConnectionOpenConfirm defines a rpc handler method for - * MsgConnectionOpenConfirm. - */ - - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.connectionOpenInit = this.connectionOpenInit.bind(this); - this.connectionOpenTry = this.connectionOpenTry.bind(this); - this.connectionOpenAck = this.connectionOpenAck.bind(this); - this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); - } - - connectionOpenInit(request: MsgConnectionOpenInit): Promise { - const data = MsgConnectionOpenInit.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); - return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); - } - - connectionOpenTry(request: MsgConnectionOpenTry): Promise { - const data = MsgConnectionOpenTry.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); - return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); - } - - connectionOpenAck(request: MsgConnectionOpenAck): Promise { - const data = MsgConnectionOpenAck.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); - return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); - } - - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { - const data = MsgConnectionOpenConfirm.encode(request).finish(); - const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); - return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); - } - -} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts deleted file mode 100644 index e4f7ba63a..000000000 --- a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts +++ /dev/null @@ -1,795 +0,0 @@ -import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * MsgConnectionOpenInit defines the msg sent by an account on Chain A to - * initialize a connection with Chain B. - */ - -export interface MsgConnectionOpenInit { - clientId: string; - counterparty?: Counterparty | undefined; - version?: Version | undefined; - delayPeriod: Long; - signer: string; -} -/** - * MsgConnectionOpenInit defines the msg sent by an account on Chain A to - * initialize a connection with Chain B. - */ - -export interface MsgConnectionOpenInitSDKType { - client_id: string; - counterparty?: CounterpartySDKType | undefined; - version?: VersionSDKType | undefined; - delay_period: Long; - signer: string; -} -/** - * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - * type. - */ - -export interface MsgConnectionOpenInitResponse {} -/** - * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - * type. - */ - -export interface MsgConnectionOpenInitResponseSDKType {} -/** - * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - * connection on Chain B. - */ - -export interface MsgConnectionOpenTry { - clientId: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the connection identifier of the previous connection in state INIT - */ - - previousConnectionId: string; - clientState?: Any | undefined; - counterparty?: Counterparty | undefined; - delayPeriod: Long; - counterpartyVersions: Version[]; - proofHeight?: Height | undefined; - /** - * proof of the initialization the connection on Chain A: `UNITIALIZED -> - * INIT` - */ - - proofInit: Uint8Array; - /** proof of client state included in message */ - - proofClient: Uint8Array; - /** proof of client consensus state */ - - proofConsensus: Uint8Array; - consensusHeight?: Height | undefined; - signer: string; -} -/** - * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - * connection on Chain B. - */ - -export interface MsgConnectionOpenTrySDKType { - client_id: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the connection identifier of the previous connection in state INIT - */ - - previous_connection_id: string; - client_state?: AnySDKType | undefined; - counterparty?: CounterpartySDKType | undefined; - delay_period: Long; - counterparty_versions: VersionSDKType[]; - proof_height?: HeightSDKType | undefined; - /** - * proof of the initialization the connection on Chain A: `UNITIALIZED -> - * INIT` - */ - - proof_init: Uint8Array; - /** proof of client state included in message */ - - proof_client: Uint8Array; - /** proof of client consensus state */ - - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ - -export interface MsgConnectionOpenTryResponse {} -/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ - -export interface MsgConnectionOpenTryResponseSDKType {} -/** - * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - * acknowledge the change of connection state to TRYOPEN on Chain B. - */ - -export interface MsgConnectionOpenAck { - connectionId: string; - counterpartyConnectionId: string; - version?: Version | undefined; - clientState?: Any | undefined; - proofHeight?: Height | undefined; - /** - * proof of the initialization the connection on Chain B: `UNITIALIZED -> - * TRYOPEN` - */ - - proofTry: Uint8Array; - /** proof of client state included in message */ - - proofClient: Uint8Array; - /** proof of client consensus state */ - - proofConsensus: Uint8Array; - consensusHeight?: Height | undefined; - signer: string; -} -/** - * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - * acknowledge the change of connection state to TRYOPEN on Chain B. - */ - -export interface MsgConnectionOpenAckSDKType { - connection_id: string; - counterparty_connection_id: string; - version?: VersionSDKType | undefined; - client_state?: AnySDKType | undefined; - proof_height?: HeightSDKType | undefined; - /** - * proof of the initialization the connection on Chain B: `UNITIALIZED -> - * TRYOPEN` - */ - - proof_try: Uint8Array; - /** proof of client state included in message */ - - proof_client: Uint8Array; - /** proof of client consensus state */ - - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType | undefined; - signer: string; -} -/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ - -export interface MsgConnectionOpenAckResponse {} -/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ - -export interface MsgConnectionOpenAckResponseSDKType {} -/** - * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of connection state to OPEN on Chain A. - */ - -export interface MsgConnectionOpenConfirm { - connectionId: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ - - proofAck: Uint8Array; - proofHeight?: Height | undefined; - signer: string; -} -/** - * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of connection state to OPEN on Chain A. - */ - -export interface MsgConnectionOpenConfirmSDKType { - connection_id: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ - - proof_ack: Uint8Array; - proof_height?: HeightSDKType | undefined; - signer: string; -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ - -export interface MsgConnectionOpenConfirmResponse {} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ - -export interface MsgConnectionOpenConfirmResponseSDKType {} - -function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { - return { - clientId: "", - counterparty: undefined, - version: undefined, - delayPeriod: Long.UZERO, - signer: "" - }; -} - -export const MsgConnectionOpenInit = { - encode(message: MsgConnectionOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(18).fork()).ldelim(); - } - - if (message.version !== undefined) { - Version.encode(message.version, writer.uint32(26).fork()).ldelim(); - } - - if (!message.delayPeriod.isZero()) { - writer.uint32(32).uint64(message.delayPeriod); - } - - if (message.signer !== "") { - writer.uint32(42).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenInit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 3: - message.version = Version.decode(reader, reader.uint32()); - break; - - case 4: - message.delayPeriod = (reader.uint64() as Long); - break; - - case 5: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgConnectionOpenInit { - const message = createBaseMsgConnectionOpenInit(); - message.clientId = object.clientId ?? ""; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; - message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgConnectionOpenInitResponse(): MsgConnectionOpenInitResponse { - return {}; -} - -export const MsgConnectionOpenInitResponse = { - encode(_: MsgConnectionOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenInitResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgConnectionOpenInitResponse { - const message = createBaseMsgConnectionOpenInitResponse(); - return message; - } - -}; - -function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { - return { - clientId: "", - previousConnectionId: "", - clientState: undefined, - counterparty: undefined, - delayPeriod: Long.UZERO, - counterpartyVersions: [], - proofHeight: undefined, - proofInit: new Uint8Array(), - proofClient: new Uint8Array(), - proofConsensus: new Uint8Array(), - consensusHeight: undefined, - signer: "" - }; -} - -export const MsgConnectionOpenTry = { - encode(message: MsgConnectionOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.previousConnectionId !== "") { - writer.uint32(18).string(message.previousConnectionId); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(26).fork()).ldelim(); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); - } - - if (!message.delayPeriod.isZero()) { - writer.uint32(40).uint64(message.delayPeriod); - } - - for (const v of message.counterpartyVersions) { - Version.encode(v!, writer.uint32(50).fork()).ldelim(); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(58).fork()).ldelim(); - } - - if (message.proofInit.length !== 0) { - writer.uint32(66).bytes(message.proofInit); - } - - if (message.proofClient.length !== 0) { - writer.uint32(74).bytes(message.proofClient); - } - - if (message.proofConsensus.length !== 0) { - writer.uint32(82).bytes(message.proofConsensus); - } - - if (message.consensusHeight !== undefined) { - Height.encode(message.consensusHeight, writer.uint32(90).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(98).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenTry(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.previousConnectionId = reader.string(); - break; - - case 3: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - case 4: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 5: - message.delayPeriod = (reader.uint64() as Long); - break; - - case 6: - message.counterpartyVersions.push(Version.decode(reader, reader.uint32())); - break; - - case 7: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 8: - message.proofInit = reader.bytes(); - break; - - case 9: - message.proofClient = reader.bytes(); - break; - - case 10: - message.proofConsensus = reader.bytes(); - break; - - case 11: - message.consensusHeight = Height.decode(reader, reader.uint32()); - break; - - case 12: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgConnectionOpenTry { - const message = createBaseMsgConnectionOpenTry(); - message.clientId = object.clientId ?? ""; - message.previousConnectionId = object.previousConnectionId ?? ""; - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; - message.counterpartyVersions = object.counterpartyVersions?.map(e => Version.fromPartial(e)) || []; - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.proofInit = object.proofInit ?? new Uint8Array(); - message.proofClient = object.proofClient ?? new Uint8Array(); - message.proofConsensus = object.proofConsensus ?? new Uint8Array(); - message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgConnectionOpenTryResponse(): MsgConnectionOpenTryResponse { - return {}; -} - -export const MsgConnectionOpenTryResponse = { - encode(_: MsgConnectionOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenTryResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgConnectionOpenTryResponse { - const message = createBaseMsgConnectionOpenTryResponse(); - return message; - } - -}; - -function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { - return { - connectionId: "", - counterpartyConnectionId: "", - version: undefined, - clientState: undefined, - proofHeight: undefined, - proofTry: new Uint8Array(), - proofClient: new Uint8Array(), - proofConsensus: new Uint8Array(), - consensusHeight: undefined, - signer: "" - }; -} - -export const MsgConnectionOpenAck = { - encode(message: MsgConnectionOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connectionId !== "") { - writer.uint32(10).string(message.connectionId); - } - - if (message.counterpartyConnectionId !== "") { - writer.uint32(18).string(message.counterpartyConnectionId); - } - - if (message.version !== undefined) { - Version.encode(message.version, writer.uint32(26).fork()).ldelim(); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(34).fork()).ldelim(); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim(); - } - - if (message.proofTry.length !== 0) { - writer.uint32(50).bytes(message.proofTry); - } - - if (message.proofClient.length !== 0) { - writer.uint32(58).bytes(message.proofClient); - } - - if (message.proofConsensus.length !== 0) { - writer.uint32(66).bytes(message.proofConsensus); - } - - if (message.consensusHeight !== undefined) { - Height.encode(message.consensusHeight, writer.uint32(74).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(82).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenAck(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionId = reader.string(); - break; - - case 2: - message.counterpartyConnectionId = reader.string(); - break; - - case 3: - message.version = Version.decode(reader, reader.uint32()); - break; - - case 4: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - case 5: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 6: - message.proofTry = reader.bytes(); - break; - - case 7: - message.proofClient = reader.bytes(); - break; - - case 8: - message.proofConsensus = reader.bytes(); - break; - - case 9: - message.consensusHeight = Height.decode(reader, reader.uint32()); - break; - - case 10: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgConnectionOpenAck { - const message = createBaseMsgConnectionOpenAck(); - message.connectionId = object.connectionId ?? ""; - message.counterpartyConnectionId = object.counterpartyConnectionId ?? ""; - message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.proofTry = object.proofTry ?? new Uint8Array(); - message.proofClient = object.proofClient ?? new Uint8Array(); - message.proofConsensus = object.proofConsensus ?? new Uint8Array(); - message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgConnectionOpenAckResponse(): MsgConnectionOpenAckResponse { - return {}; -} - -export const MsgConnectionOpenAckResponse = { - encode(_: MsgConnectionOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenAckResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgConnectionOpenAckResponse { - const message = createBaseMsgConnectionOpenAckResponse(); - return message; - } - -}; - -function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { - return { - connectionId: "", - proofAck: new Uint8Array(), - proofHeight: undefined, - signer: "" - }; -} - -export const MsgConnectionOpenConfirm = { - encode(message: MsgConnectionOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.connectionId !== "") { - writer.uint32(10).string(message.connectionId); - } - - if (message.proofAck.length !== 0) { - writer.uint32(18).bytes(message.proofAck); - } - - if (message.proofHeight !== undefined) { - Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); - } - - if (message.signer !== "") { - writer.uint32(34).string(message.signer); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenConfirm(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.connectionId = reader.string(); - break; - - case 2: - message.proofAck = reader.bytes(); - break; - - case 3: - message.proofHeight = Height.decode(reader, reader.uint32()); - break; - - case 4: - message.signer = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): MsgConnectionOpenConfirm { - const message = createBaseMsgConnectionOpenConfirm(); - message.connectionId = object.connectionId ?? ""; - message.proofAck = object.proofAck ?? new Uint8Array(); - message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; - message.signer = object.signer ?? ""; - return message; - } - -}; - -function createBaseMsgConnectionOpenConfirmResponse(): MsgConnectionOpenConfirmResponse { - return {}; -} - -export const MsgConnectionOpenConfirmResponse = { - encode(_: MsgConnectionOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgConnectionOpenConfirmResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { - const message = createBaseMsgConnectionOpenConfirmResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts deleted file mode 100644 index df3c124c1..000000000 --- a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.query.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; -/** Query defines the gRPC querier service */ - -export interface Query { - /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ - appVersion(request: QueryAppVersionRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - - constructor(rpc: Rpc) { - this.rpc = rpc; - this.appVersion = this.appVersion.bind(this); - } - - appVersion(request: QueryAppVersionRequest): Promise { - const data = QueryAppVersionRequest.encode(request).finish(); - const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); - return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); - } - -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - appVersion(request: QueryAppVersionRequest): Promise { - return queryService.appVersion(request); - } - - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.ts deleted file mode 100644 index 933166edc..000000000 --- a/examples/telescope/codegen/ibc/core/port/v1/query.ts +++ /dev/null @@ -1,196 +0,0 @@ -import { Order, OrderSDKType, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; -import * as _m0 from "protobufjs/minimal"; -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ - -export interface QueryAppVersionRequest { - /** port unique identifier */ - portId: string; - /** connection unique identifier */ - - connectionId: string; - /** whether the channel is ordered or unordered */ - - ordering: Order; - /** counterparty channel end */ - - counterparty?: Counterparty | undefined; - /** proposed version */ - - proposedVersion: string; -} -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ - -export interface QueryAppVersionRequestSDKType { - /** port unique identifier */ - port_id: string; - /** connection unique identifier */ - - connection_id: string; - /** whether the channel is ordered or unordered */ - - ordering: OrderSDKType; - /** counterparty channel end */ - - counterparty?: CounterpartySDKType | undefined; - /** proposed version */ - - proposed_version: string; -} -/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ - -export interface QueryAppVersionResponse { - /** port id associated with the request identifiers */ - portId: string; - /** supported app version */ - - version: string; -} -/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ - -export interface QueryAppVersionResponseSDKType { - /** port id associated with the request identifiers */ - port_id: string; - /** supported app version */ - - version: string; -} - -function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { - return { - portId: "", - connectionId: "", - ordering: 0, - counterparty: undefined, - proposedVersion: "" - }; -} - -export const QueryAppVersionRequest = { - encode(message: QueryAppVersionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.connectionId !== "") { - writer.uint32(18).string(message.connectionId); - } - - if (message.ordering !== 0) { - writer.uint32(24).int32(message.ordering); - } - - if (message.counterparty !== undefined) { - Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); - } - - if (message.proposedVersion !== "") { - writer.uint32(42).string(message.proposedVersion); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppVersionRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.connectionId = reader.string(); - break; - - case 3: - message.ordering = (reader.int32() as any); - break; - - case 4: - message.counterparty = Counterparty.decode(reader, reader.uint32()); - break; - - case 5: - message.proposedVersion = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAppVersionRequest { - const message = createBaseQueryAppVersionRequest(); - message.portId = object.portId ?? ""; - message.connectionId = object.connectionId ?? ""; - message.ordering = object.ordering ?? 0; - message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; - message.proposedVersion = object.proposedVersion ?? ""; - return message; - } - -}; - -function createBaseQueryAppVersionResponse(): QueryAppVersionResponse { - return { - portId: "", - version: "" - }; -} - -export const QueryAppVersionResponse = { - encode(message: QueryAppVersionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.portId !== "") { - writer.uint32(10).string(message.portId); - } - - if (message.version !== "") { - writer.uint32(18).string(message.version); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppVersionResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.portId = reader.string(); - break; - - case 2: - message.version = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): QueryAppVersionResponse { - const message = createBaseQueryAppVersionResponse(); - message.portId = object.portId ?? ""; - message.version = object.version ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts deleted file mode 100644 index 9a8843a04..000000000 --- a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts +++ /dev/null @@ -1,97 +0,0 @@ -//@ts-nocheck -import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; -import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis"; -import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; -import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis"; -import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; -import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the ibc module's genesis state. */ - -export interface GenesisState { - /** ICS002 - Clients genesis state */ - clientGenesis?: GenesisState1 | undefined; - /** ICS003 - Connections genesis state */ - - connectionGenesis?: GenesisState2 | undefined; - /** ICS004 - Channel genesis state */ - - channelGenesis?: GenesisState3 | undefined; -} -/** GenesisState defines the ibc module's genesis state. */ - -export interface GenesisStateSDKType { - /** ICS002 - Clients genesis state */ - client_genesis?: GenesisState1SDKType | undefined; - /** ICS003 - Connections genesis state */ - - connection_genesis?: GenesisState2SDKType | undefined; - /** ICS004 - Channel genesis state */ - - channel_genesis?: GenesisState3SDKType | undefined; -} - -function createBaseGenesisState(): GenesisState { - return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined - }; -} - -export const GenesisState = { - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientGenesis !== undefined) { - GenesisState1.encode(message.clientGenesis, writer.uint32(10).fork()).ldelim(); - } - - if (message.connectionGenesis !== undefined) { - GenesisState2.encode(message.connectionGenesis, writer.uint32(18).fork()).ldelim(); - } - - if (message.channelGenesis !== undefined) { - GenesisState3.encode(message.channelGenesis, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clientGenesis = GenesisState1.decode(reader, reader.uint32()); - break; - - case 2: - message.connectionGenesis = GenesisState2.decode(reader, reader.uint32()); - break; - - case 3: - message.channelGenesis = GenesisState3.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState1.fromPartial(object.clientGenesis) : undefined; - message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState2.fromPartial(object.connectionGenesis) : undefined; - message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState3.fromPartial(object.channelGenesis) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lcd.ts b/examples/telescope/codegen/ibc/lcd.ts deleted file mode 100644 index 100c9f9c4..000000000 --- a/examples/telescope/codegen/ibc/lcd.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => { - const requestClient = new LCDClient({ - restEndpoint - }); - return { - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - base: { - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - 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 - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - requestClient - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - 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 - }) - }, - tx: { - v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ - requestClient - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - client: { - v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - connection: { - v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts deleted file mode 100644 index 2e3f7d916..000000000 --- a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ - -export interface ClientState { - /** self chain ID */ - chainId: string; - /** self latest block height */ - - height?: Height | undefined; -} -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ - -export interface ClientStateSDKType { - /** self chain ID */ - chain_id: string; - /** self latest block height */ - - height?: HeightSDKType | undefined; -} - -function createBaseClientState(): ClientState { - return { - chainId: "", - height: undefined - }; -} - -export const ClientState = { - encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.chainId !== "") { - writer.uint32(10).string(message.chainId); - } - - if (message.height !== undefined) { - Height.encode(message.height, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.chainId = reader.string(); - break; - - case 2: - message.height = Height.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientState { - const message = createBaseClientState(); - message.chainId = object.chainId ?? ""; - message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts deleted file mode 100644 index 3193aa6bf..000000000 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +++ /dev/null @@ -1,1500 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; -import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ - -export enum DataType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1, -} -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ - -export enum DataTypeSDKType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1, -} -export function dataTypeFromJSON(object: any): DataType { - switch (object) { - case 0: - case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": - return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; - - case 1: - case "DATA_TYPE_CLIENT_STATE": - return DataType.DATA_TYPE_CLIENT_STATE; - - case 2: - case "DATA_TYPE_CONSENSUS_STATE": - return DataType.DATA_TYPE_CONSENSUS_STATE; - - case 3: - case "DATA_TYPE_CONNECTION_STATE": - return DataType.DATA_TYPE_CONNECTION_STATE; - - case 4: - case "DATA_TYPE_CHANNEL_STATE": - return DataType.DATA_TYPE_CHANNEL_STATE; - - case 5: - case "DATA_TYPE_PACKET_COMMITMENT": - return DataType.DATA_TYPE_PACKET_COMMITMENT; - - case 6: - case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": - return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; - - case 7: - case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": - return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; - - case 8: - case "DATA_TYPE_NEXT_SEQUENCE_RECV": - return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; - - case 9: - case "DATA_TYPE_HEADER": - return DataType.DATA_TYPE_HEADER; - - case -1: - case "UNRECOGNIZED": - default: - return DataType.UNRECOGNIZED; - } -} -export function dataTypeToJSON(object: DataType): string { - switch (object) { - case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: - return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; - - case DataType.DATA_TYPE_CLIENT_STATE: - return "DATA_TYPE_CLIENT_STATE"; - - case DataType.DATA_TYPE_CONSENSUS_STATE: - return "DATA_TYPE_CONSENSUS_STATE"; - - case DataType.DATA_TYPE_CONNECTION_STATE: - return "DATA_TYPE_CONNECTION_STATE"; - - case DataType.DATA_TYPE_CHANNEL_STATE: - return "DATA_TYPE_CHANNEL_STATE"; - - case DataType.DATA_TYPE_PACKET_COMMITMENT: - return "DATA_TYPE_PACKET_COMMITMENT"; - - case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: - return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; - - case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: - return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; - - case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: - return "DATA_TYPE_NEXT_SEQUENCE_RECV"; - - case DataType.DATA_TYPE_HEADER: - return "DATA_TYPE_HEADER"; - - case DataType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ - -export interface ClientState { - /** latest sequence of the client state */ - sequence: Long; - /** frozen sequence of the solo machine */ - - frozenSequence: Long; - consensusState?: ConsensusState | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - - allowUpdateAfterProposal: boolean; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ - -export interface ClientStateSDKType { - /** latest sequence of the client state */ - sequence: Long; - /** frozen sequence of the solo machine */ - - frozen_sequence: Long; - consensus_state?: ConsensusStateSDKType | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - - allow_update_after_proposal: boolean; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ - -export interface ConsensusState { - /** public key of the solo machine */ - publicKey?: Any | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - - diversifier: string; - timestamp: Long; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ - -export interface ConsensusStateSDKType { - /** public key of the solo machine */ - public_key?: AnySDKType | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - - diversifier: string; - timestamp: Long; -} -/** Header defines a solo machine consensus header */ - -export interface Header { - /** sequence to update solo machine public key at */ - sequence: Long; - timestamp: Long; - signature: Uint8Array; - newPublicKey?: Any | undefined; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ - -export interface HeaderSDKType { - /** sequence to update solo machine public key at */ - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ - -export interface Misbehaviour { - clientId: string; - sequence: Long; - signatureOne?: SignatureAndData | undefined; - signatureTwo?: SignatureAndData | undefined; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ - -export interface MisbehaviourSDKType { - client_id: string; - sequence: Long; - signature_one?: SignatureAndDataSDKType | undefined; - signature_two?: SignatureAndDataSDKType | undefined; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ - -export interface SignatureAndData { - signature: Uint8Array; - dataType: DataType; - data: Uint8Array; - timestamp: Long; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ - -export interface SignatureAndDataSDKType { - signature: Uint8Array; - data_type: DataTypeSDKType; - data: Uint8Array; - timestamp: Long; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ - -export interface TimestampedSignatureData { - signatureData: Uint8Array; - timestamp: Long; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ - -export interface TimestampedSignatureDataSDKType { - signature_data: Uint8Array; - timestamp: Long; -} -/** SignBytes defines the signed bytes used for signature verification. */ - -export interface SignBytes { - sequence: Long; - timestamp: Long; - diversifier: string; - /** type of the data used */ - - dataType: DataType; - /** marshaled data */ - - data: Uint8Array; -} -/** SignBytes defines the signed bytes used for signature verification. */ - -export interface SignBytesSDKType { - sequence: Long; - timestamp: Long; - diversifier: string; - /** type of the data used */ - - data_type: DataTypeSDKType; - /** marshaled data */ - - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderData { - /** header public key */ - newPubKey?: Any | undefined; - /** header diversifier */ - - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderDataSDKType { - /** header public key */ - new_pub_key?: AnySDKType | undefined; - /** header diversifier */ - - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateData { - path: Uint8Array; - clientState?: Any | undefined; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType | undefined; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ - -export interface PacketCommitmentData { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ - -export interface PacketCommitmentDataSDKType { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ - -export interface PacketAcknowledgementData { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ - -export interface PacketAcknowledgementDataSDKType { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ - -export interface PacketReceiptAbsenceData { - path: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ - -export interface PacketReceiptAbsenceDataSDKType { - path: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ - -export interface NextSequenceRecvData { - path: Uint8Array; - nextSeqRecv: Long; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ - -export interface NextSequenceRecvDataSDKType { - path: Uint8Array; - next_seq_recv: Long; -} - -function createBaseClientState(): ClientState { - return { - sequence: Long.UZERO, - frozenSequence: Long.UZERO, - consensusState: undefined, - allowUpdateAfterProposal: false - }; -} - -export const ClientState = { - encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (!message.frozenSequence.isZero()) { - writer.uint32(16).uint64(message.frozenSequence); - } - - if (message.consensusState !== undefined) { - ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); - } - - if (message.allowUpdateAfterProposal === true) { - writer.uint32(32).bool(message.allowUpdateAfterProposal); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sequence = (reader.uint64() as Long); - break; - - case 2: - message.frozenSequence = (reader.uint64() as Long); - break; - - case 3: - message.consensusState = ConsensusState.decode(reader, reader.uint32()); - break; - - case 4: - message.allowUpdateAfterProposal = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientState { - const message = createBaseClientState(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.frozenSequence = object.frozenSequence !== undefined && object.frozenSequence !== null ? Long.fromValue(object.frozenSequence) : Long.UZERO; - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; - message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; - return message; - } - -}; - -function createBaseConsensusState(): ConsensusState { - return { - publicKey: undefined, - diversifier: "", - timestamp: Long.UZERO - }; -} - -export const ConsensusState = { - encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.diversifier !== "") { - writer.uint32(18).string(message.diversifier); - } - - if (!message.timestamp.isZero()) { - writer.uint32(24).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.diversifier = reader.string(); - break; - - case 3: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusState { - const message = createBaseConsensusState(); - message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; - message.diversifier = object.diversifier ?? ""; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseHeader(): Header { - return { - sequence: Long.UZERO, - timestamp: Long.UZERO, - signature: new Uint8Array(), - newPublicKey: undefined, - newDiversifier: "" - }; -} - -export const Header = { - encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - if (message.signature.length !== 0) { - writer.uint32(26).bytes(message.signature); - } - - if (message.newPublicKey !== undefined) { - Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); - } - - if (message.newDiversifier !== "") { - writer.uint32(42).string(message.newDiversifier); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Header { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - case 3: - message.signature = reader.bytes(); - break; - - case 4: - message.newPublicKey = Any.decode(reader, reader.uint32()); - break; - - case 5: - message.newDiversifier = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial
): Header { - const message = createBaseHeader(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - message.signature = object.signature ?? new Uint8Array(); - message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; - message.newDiversifier = object.newDiversifier ?? ""; - return message; - } - -}; - -function createBaseMisbehaviour(): Misbehaviour { - return { - clientId: "", - sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined - }; -} - -export const Misbehaviour = { - encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (!message.sequence.isZero()) { - writer.uint32(16).uint64(message.sequence); - } - - if (message.signatureOne !== undefined) { - SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); - } - - if (message.signatureTwo !== undefined) { - SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMisbehaviour(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.sequence = (reader.uint64() as Long); - break; - - case 3: - message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); - break; - - case 4: - message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Misbehaviour { - const message = createBaseMisbehaviour(); - message.clientId = object.clientId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; - message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; - return message; - } - -}; - -function createBaseSignatureAndData(): SignatureAndData { - return { - signature: new Uint8Array(), - dataType: 0, - data: new Uint8Array(), - timestamp: Long.UZERO - }; -} - -export const SignatureAndData = { - encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signature.length !== 0) { - writer.uint32(10).bytes(message.signature); - } - - if (message.dataType !== 0) { - writer.uint32(16).int32(message.dataType); - } - - if (message.data.length !== 0) { - writer.uint32(26).bytes(message.data); - } - - if (!message.timestamp.isZero()) { - writer.uint32(32).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureAndData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signature = reader.bytes(); - break; - - case 2: - message.dataType = (reader.int32() as any); - break; - - case 3: - message.data = reader.bytes(); - break; - - case 4: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureAndData { - const message = createBaseSignatureAndData(); - message.signature = object.signature ?? new Uint8Array(); - message.dataType = object.dataType ?? 0; - message.data = object.data ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseTimestampedSignatureData(): TimestampedSignatureData { - return { - signatureData: new Uint8Array(), - timestamp: Long.UZERO - }; -} - -export const TimestampedSignatureData = { - encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signatureData.length !== 0) { - writer.uint32(10).bytes(message.signatureData); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTimestampedSignatureData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signatureData = reader.bytes(); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TimestampedSignatureData { - const message = createBaseTimestampedSignatureData(); - message.signatureData = object.signatureData ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseSignBytes(): SignBytes { - return { - sequence: Long.UZERO, - timestamp: Long.UZERO, - diversifier: "", - dataType: 0, - data: new Uint8Array() - }; -} - -export const SignBytes = { - encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - if (message.diversifier !== "") { - writer.uint32(26).string(message.diversifier); - } - - if (message.dataType !== 0) { - writer.uint32(32).int32(message.dataType); - } - - if (message.data.length !== 0) { - writer.uint32(42).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignBytes(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sequence = (reader.uint64() as Long); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - case 3: - message.diversifier = reader.string(); - break; - - case 4: - message.dataType = (reader.int32() as any); - break; - - case 5: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignBytes { - const message = createBaseSignBytes(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - message.diversifier = object.diversifier ?? ""; - message.dataType = object.dataType ?? 0; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseHeaderData(): HeaderData { - return { - newPubKey: undefined, - newDiversifier: "" - }; -} - -export const HeaderData = { - encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.newPubKey !== undefined) { - Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.newDiversifier !== "") { - writer.uint32(18).string(message.newDiversifier); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHeaderData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.newPubKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.newDiversifier = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): HeaderData { - const message = createBaseHeaderData(); - message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; - message.newDiversifier = object.newDiversifier ?? ""; - return message; - } - -}; - -function createBaseClientStateData(): ClientStateData { - return { - path: new Uint8Array(), - clientState: undefined - }; -} - -export const ClientStateData = { - encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientStateData { - const message = createBaseClientStateData(); - message.path = object.path ?? new Uint8Array(); - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - return message; - } - -}; - -function createBaseConsensusStateData(): ConsensusStateData { - return { - path: new Uint8Array(), - consensusState: undefined - }; -} - -export const ConsensusStateData = { - encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusStateData { - const message = createBaseConsensusStateData(); - message.path = object.path ?? new Uint8Array(); - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - return message; - } - -}; - -function createBaseConnectionStateData(): ConnectionStateData { - return { - path: new Uint8Array(), - connection: undefined - }; -} - -export const ConnectionStateData = { - encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.connection !== undefined) { - ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConnectionStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.connection = ConnectionEnd.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConnectionStateData { - const message = createBaseConnectionStateData(); - message.path = object.path ?? new Uint8Array(); - message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; - return message; - } - -}; - -function createBaseChannelStateData(): ChannelStateData { - return { - path: new Uint8Array(), - channel: undefined - }; -} - -export const ChannelStateData = { - encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.channel !== undefined) { - Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChannelStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.channel = Channel.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ChannelStateData { - const message = createBaseChannelStateData(); - message.path = object.path ?? new Uint8Array(); - message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; - return message; - } - -}; - -function createBasePacketCommitmentData(): PacketCommitmentData { - return { - path: new Uint8Array(), - commitment: new Uint8Array() - }; -} - -export const PacketCommitmentData = { - encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.commitment.length !== 0) { - writer.uint32(18).bytes(message.commitment); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketCommitmentData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.commitment = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketCommitmentData { - const message = createBasePacketCommitmentData(); - message.path = object.path ?? new Uint8Array(); - message.commitment = object.commitment ?? new Uint8Array(); - return message; - } - -}; - -function createBasePacketAcknowledgementData(): PacketAcknowledgementData { - return { - path: new Uint8Array(), - acknowledgement: new Uint8Array() - }; -} - -export const PacketAcknowledgementData = { - encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.acknowledgement.length !== 0) { - writer.uint32(18).bytes(message.acknowledgement); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketAcknowledgementData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.acknowledgement = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketAcknowledgementData { - const message = createBasePacketAcknowledgementData(); - message.path = object.path ?? new Uint8Array(); - message.acknowledgement = object.acknowledgement ?? new Uint8Array(); - return message; - } - -}; - -function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { - return { - path: new Uint8Array() - }; -} - -export const PacketReceiptAbsenceData = { - encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketReceiptAbsenceData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketReceiptAbsenceData { - const message = createBasePacketReceiptAbsenceData(); - message.path = object.path ?? new Uint8Array(); - return message; - } - -}; - -function createBaseNextSequenceRecvData(): NextSequenceRecvData { - return { - path: new Uint8Array(), - nextSeqRecv: Long.UZERO - }; -} - -export const NextSequenceRecvData = { - encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (!message.nextSeqRecv.isZero()) { - writer.uint32(16).uint64(message.nextSeqRecv); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNextSequenceRecvData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.nextSeqRecv = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): NextSequenceRecvData { - const message = createBaseNextSequenceRecvData(); - message.path = object.path ?? new Uint8Array(); - message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts deleted file mode 100644 index c7a3d08be..000000000 --- a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +++ /dev/null @@ -1,1500 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; -import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../../helpers"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ - -export enum DataType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1, -} -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ - -export enum DataTypeSDKType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1, -} -export function dataTypeFromJSON(object: any): DataType { - switch (object) { - case 0: - case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": - return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; - - case 1: - case "DATA_TYPE_CLIENT_STATE": - return DataType.DATA_TYPE_CLIENT_STATE; - - case 2: - case "DATA_TYPE_CONSENSUS_STATE": - return DataType.DATA_TYPE_CONSENSUS_STATE; - - case 3: - case "DATA_TYPE_CONNECTION_STATE": - return DataType.DATA_TYPE_CONNECTION_STATE; - - case 4: - case "DATA_TYPE_CHANNEL_STATE": - return DataType.DATA_TYPE_CHANNEL_STATE; - - case 5: - case "DATA_TYPE_PACKET_COMMITMENT": - return DataType.DATA_TYPE_PACKET_COMMITMENT; - - case 6: - case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": - return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; - - case 7: - case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": - return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; - - case 8: - case "DATA_TYPE_NEXT_SEQUENCE_RECV": - return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; - - case 9: - case "DATA_TYPE_HEADER": - return DataType.DATA_TYPE_HEADER; - - case -1: - case "UNRECOGNIZED": - default: - return DataType.UNRECOGNIZED; - } -} -export function dataTypeToJSON(object: DataType): string { - switch (object) { - case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: - return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; - - case DataType.DATA_TYPE_CLIENT_STATE: - return "DATA_TYPE_CLIENT_STATE"; - - case DataType.DATA_TYPE_CONSENSUS_STATE: - return "DATA_TYPE_CONSENSUS_STATE"; - - case DataType.DATA_TYPE_CONNECTION_STATE: - return "DATA_TYPE_CONNECTION_STATE"; - - case DataType.DATA_TYPE_CHANNEL_STATE: - return "DATA_TYPE_CHANNEL_STATE"; - - case DataType.DATA_TYPE_PACKET_COMMITMENT: - return "DATA_TYPE_PACKET_COMMITMENT"; - - case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: - return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; - - case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: - return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; - - case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: - return "DATA_TYPE_NEXT_SEQUENCE_RECV"; - - case DataType.DATA_TYPE_HEADER: - return "DATA_TYPE_HEADER"; - - case DataType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ - -export interface ClientState { - /** latest sequence of the client state */ - sequence: Long; - /** frozen sequence of the solo machine */ - - isFrozen: boolean; - consensusState?: ConsensusState | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - - allowUpdateAfterProposal: boolean; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ - -export interface ClientStateSDKType { - /** latest sequence of the client state */ - sequence: Long; - /** frozen sequence of the solo machine */ - - is_frozen: boolean; - consensus_state?: ConsensusStateSDKType | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - - allow_update_after_proposal: boolean; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ - -export interface ConsensusState { - /** public key of the solo machine */ - publicKey?: Any | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - - diversifier: string; - timestamp: Long; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ - -export interface ConsensusStateSDKType { - /** public key of the solo machine */ - public_key?: AnySDKType | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - - diversifier: string; - timestamp: Long; -} -/** Header defines a solo machine consensus header */ - -export interface Header { - /** sequence to update solo machine public key at */ - sequence: Long; - timestamp: Long; - signature: Uint8Array; - newPublicKey?: Any | undefined; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ - -export interface HeaderSDKType { - /** sequence to update solo machine public key at */ - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ - -export interface Misbehaviour { - clientId: string; - sequence: Long; - signatureOne?: SignatureAndData | undefined; - signatureTwo?: SignatureAndData | undefined; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ - -export interface MisbehaviourSDKType { - client_id: string; - sequence: Long; - signature_one?: SignatureAndDataSDKType | undefined; - signature_two?: SignatureAndDataSDKType | undefined; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ - -export interface SignatureAndData { - signature: Uint8Array; - dataType: DataType; - data: Uint8Array; - timestamp: Long; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ - -export interface SignatureAndDataSDKType { - signature: Uint8Array; - data_type: DataTypeSDKType; - data: Uint8Array; - timestamp: Long; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ - -export interface TimestampedSignatureData { - signatureData: Uint8Array; - timestamp: Long; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ - -export interface TimestampedSignatureDataSDKType { - signature_data: Uint8Array; - timestamp: Long; -} -/** SignBytes defines the signed bytes used for signature verification. */ - -export interface SignBytes { - sequence: Long; - timestamp: Long; - diversifier: string; - /** type of the data used */ - - dataType: DataType; - /** marshaled data */ - - data: Uint8Array; -} -/** SignBytes defines the signed bytes used for signature verification. */ - -export interface SignBytesSDKType { - sequence: Long; - timestamp: Long; - diversifier: string; - /** type of the data used */ - - data_type: DataTypeSDKType; - /** marshaled data */ - - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderData { - /** header public key */ - newPubKey?: Any | undefined; - /** header diversifier */ - - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderDataSDKType { - /** header public key */ - new_pub_key?: AnySDKType | undefined; - /** header diversifier */ - - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateData { - path: Uint8Array; - clientState?: Any | undefined; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType | undefined; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ - -export interface PacketCommitmentData { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ - -export interface PacketCommitmentDataSDKType { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ - -export interface PacketAcknowledgementData { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ - -export interface PacketAcknowledgementDataSDKType { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ - -export interface PacketReceiptAbsenceData { - path: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ - -export interface PacketReceiptAbsenceDataSDKType { - path: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ - -export interface NextSequenceRecvData { - path: Uint8Array; - nextSeqRecv: Long; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ - -export interface NextSequenceRecvDataSDKType { - path: Uint8Array; - next_seq_recv: Long; -} - -function createBaseClientState(): ClientState { - return { - sequence: Long.UZERO, - isFrozen: false, - consensusState: undefined, - allowUpdateAfterProposal: false - }; -} - -export const ClientState = { - encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (message.isFrozen === true) { - writer.uint32(16).bool(message.isFrozen); - } - - if (message.consensusState !== undefined) { - ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); - } - - if (message.allowUpdateAfterProposal === true) { - writer.uint32(32).bool(message.allowUpdateAfterProposal); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sequence = (reader.uint64() as Long); - break; - - case 2: - message.isFrozen = reader.bool(); - break; - - case 3: - message.consensusState = ConsensusState.decode(reader, reader.uint32()); - break; - - case 4: - message.allowUpdateAfterProposal = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientState { - const message = createBaseClientState(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.isFrozen = object.isFrozen ?? false; - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; - message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; - return message; - } - -}; - -function createBaseConsensusState(): ConsensusState { - return { - publicKey: undefined, - diversifier: "", - timestamp: Long.UZERO - }; -} - -export const ConsensusState = { - encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.diversifier !== "") { - writer.uint32(18).string(message.diversifier); - } - - if (!message.timestamp.isZero()) { - writer.uint32(24).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.diversifier = reader.string(); - break; - - case 3: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusState { - const message = createBaseConsensusState(); - message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; - message.diversifier = object.diversifier ?? ""; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseHeader(): Header { - return { - sequence: Long.UZERO, - timestamp: Long.UZERO, - signature: new Uint8Array(), - newPublicKey: undefined, - newDiversifier: "" - }; -} - -export const Header = { - encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - if (message.signature.length !== 0) { - writer.uint32(26).bytes(message.signature); - } - - if (message.newPublicKey !== undefined) { - Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); - } - - if (message.newDiversifier !== "") { - writer.uint32(42).string(message.newDiversifier); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Header { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - case 3: - message.signature = reader.bytes(); - break; - - case 4: - message.newPublicKey = Any.decode(reader, reader.uint32()); - break; - - case 5: - message.newDiversifier = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial
): Header { - const message = createBaseHeader(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - message.signature = object.signature ?? new Uint8Array(); - message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; - message.newDiversifier = object.newDiversifier ?? ""; - return message; - } - -}; - -function createBaseMisbehaviour(): Misbehaviour { - return { - clientId: "", - sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined - }; -} - -export const Misbehaviour = { - encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (!message.sequence.isZero()) { - writer.uint32(16).uint64(message.sequence); - } - - if (message.signatureOne !== undefined) { - SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); - } - - if (message.signatureTwo !== undefined) { - SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMisbehaviour(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.sequence = (reader.uint64() as Long); - break; - - case 3: - message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); - break; - - case 4: - message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Misbehaviour { - const message = createBaseMisbehaviour(); - message.clientId = object.clientId ?? ""; - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; - message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; - return message; - } - -}; - -function createBaseSignatureAndData(): SignatureAndData { - return { - signature: new Uint8Array(), - dataType: 0, - data: new Uint8Array(), - timestamp: Long.UZERO - }; -} - -export const SignatureAndData = { - encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signature.length !== 0) { - writer.uint32(10).bytes(message.signature); - } - - if (message.dataType !== 0) { - writer.uint32(16).int32(message.dataType); - } - - if (message.data.length !== 0) { - writer.uint32(26).bytes(message.data); - } - - if (!message.timestamp.isZero()) { - writer.uint32(32).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureAndData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signature = reader.bytes(); - break; - - case 2: - message.dataType = (reader.int32() as any); - break; - - case 3: - message.data = reader.bytes(); - break; - - case 4: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignatureAndData { - const message = createBaseSignatureAndData(); - message.signature = object.signature ?? new Uint8Array(); - message.dataType = object.dataType ?? 0; - message.data = object.data ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseTimestampedSignatureData(): TimestampedSignatureData { - return { - signatureData: new Uint8Array(), - timestamp: Long.UZERO - }; -} - -export const TimestampedSignatureData = { - encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signatureData.length !== 0) { - writer.uint32(10).bytes(message.signatureData); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTimestampedSignatureData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signatureData = reader.bytes(); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TimestampedSignatureData { - const message = createBaseTimestampedSignatureData(); - message.signatureData = object.signatureData ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - return message; - } - -}; - -function createBaseSignBytes(): SignBytes { - return { - sequence: Long.UZERO, - timestamp: Long.UZERO, - diversifier: "", - dataType: 0, - data: new Uint8Array() - }; -} - -export const SignBytes = { - encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.sequence.isZero()) { - writer.uint32(8).uint64(message.sequence); - } - - if (!message.timestamp.isZero()) { - writer.uint32(16).uint64(message.timestamp); - } - - if (message.diversifier !== "") { - writer.uint32(26).string(message.diversifier); - } - - if (message.dataType !== 0) { - writer.uint32(32).int32(message.dataType); - } - - if (message.data.length !== 0) { - writer.uint32(42).bytes(message.data); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignBytes(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.sequence = (reader.uint64() as Long); - break; - - case 2: - message.timestamp = (reader.uint64() as Long); - break; - - case 3: - message.diversifier = reader.string(); - break; - - case 4: - message.dataType = (reader.int32() as any); - break; - - case 5: - message.data = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignBytes { - const message = createBaseSignBytes(); - message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; - message.diversifier = object.diversifier ?? ""; - message.dataType = object.dataType ?? 0; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseHeaderData(): HeaderData { - return { - newPubKey: undefined, - newDiversifier: "" - }; -} - -export const HeaderData = { - encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.newPubKey !== undefined) { - Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); - } - - if (message.newDiversifier !== "") { - writer.uint32(18).string(message.newDiversifier); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHeaderData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.newPubKey = Any.decode(reader, reader.uint32()); - break; - - case 2: - message.newDiversifier = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): HeaderData { - const message = createBaseHeaderData(); - message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; - message.newDiversifier = object.newDiversifier ?? ""; - return message; - } - -}; - -function createBaseClientStateData(): ClientStateData { - return { - path: new Uint8Array(), - clientState: undefined - }; -} - -export const ClientStateData = { - encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.clientState !== undefined) { - Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.clientState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientStateData { - const message = createBaseClientStateData(); - message.path = object.path ?? new Uint8Array(); - message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; - return message; - } - -}; - -function createBaseConsensusStateData(): ConsensusStateData { - return { - path: new Uint8Array(), - consensusState: undefined - }; -} - -export const ConsensusStateData = { - encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.consensusState !== undefined) { - Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.consensusState = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusStateData { - const message = createBaseConsensusStateData(); - message.path = object.path ?? new Uint8Array(); - message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; - return message; - } - -}; - -function createBaseConnectionStateData(): ConnectionStateData { - return { - path: new Uint8Array(), - connection: undefined - }; -} - -export const ConnectionStateData = { - encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.connection !== undefined) { - ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConnectionStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.connection = ConnectionEnd.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConnectionStateData { - const message = createBaseConnectionStateData(); - message.path = object.path ?? new Uint8Array(); - message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; - return message; - } - -}; - -function createBaseChannelStateData(): ChannelStateData { - return { - path: new Uint8Array(), - channel: undefined - }; -} - -export const ChannelStateData = { - encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.channel !== undefined) { - Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChannelStateData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.channel = Channel.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ChannelStateData { - const message = createBaseChannelStateData(); - message.path = object.path ?? new Uint8Array(); - message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; - return message; - } - -}; - -function createBasePacketCommitmentData(): PacketCommitmentData { - return { - path: new Uint8Array(), - commitment: new Uint8Array() - }; -} - -export const PacketCommitmentData = { - encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.commitment.length !== 0) { - writer.uint32(18).bytes(message.commitment); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketCommitmentData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.commitment = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketCommitmentData { - const message = createBasePacketCommitmentData(); - message.path = object.path ?? new Uint8Array(); - message.commitment = object.commitment ?? new Uint8Array(); - return message; - } - -}; - -function createBasePacketAcknowledgementData(): PacketAcknowledgementData { - return { - path: new Uint8Array(), - acknowledgement: new Uint8Array() - }; -} - -export const PacketAcknowledgementData = { - encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (message.acknowledgement.length !== 0) { - writer.uint32(18).bytes(message.acknowledgement); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketAcknowledgementData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.acknowledgement = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketAcknowledgementData { - const message = createBasePacketAcknowledgementData(); - message.path = object.path ?? new Uint8Array(); - message.acknowledgement = object.acknowledgement ?? new Uint8Array(); - return message; - } - -}; - -function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { - return { - path: new Uint8Array() - }; -} - -export const PacketReceiptAbsenceData = { - encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePacketReceiptAbsenceData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PacketReceiptAbsenceData { - const message = createBasePacketReceiptAbsenceData(); - message.path = object.path ?? new Uint8Array(); - return message; - } - -}; - -function createBaseNextSequenceRecvData(): NextSequenceRecvData { - return { - path: new Uint8Array(), - nextSeqRecv: Long.UZERO - }; -} - -export const NextSequenceRecvData = { - encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path.length !== 0) { - writer.uint32(10).bytes(message.path); - } - - if (!message.nextSeqRecv.isZero()) { - writer.uint32(16).uint64(message.nextSeqRecv); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNextSequenceRecvData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.path = reader.bytes(); - break; - - case 2: - message.nextSeqRecv = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): NextSequenceRecvData { - const message = createBaseNextSequenceRecvData(); - message.path = object.path ?? new Uint8Array(); - message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts deleted file mode 100644 index 795673042..000000000 --- a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +++ /dev/null @@ -1,626 +0,0 @@ -import { Duration, DurationSDKType } from "../../../../google/protobuf/duration"; -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs"; -import { Timestamp } from "../../../../google/protobuf/timestamp"; -import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commitment"; -import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; -import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, Long } from "../../../../helpers"; -/** - * ClientState from Tendermint tracks the current validator set, latest height, - * and a possible frozen height. - */ - -export interface ClientState { - chainId: string; - trustLevel?: Fraction | undefined; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - - trustingPeriod?: Duration | undefined; - /** duration of the staking unbonding period */ - - unbondingPeriod?: Duration | undefined; - /** defines how much new (untrusted) header's Time can drift into the future. */ - - maxClockDrift?: Duration | undefined; - /** Block height when the client was frozen due to a misbehaviour */ - - frozenHeight?: Height | undefined; - /** Latest height the client was updated to */ - - latestHeight?: Height | undefined; - /** Proof specifications used in verifying counterparty state */ - - proofSpecs: ProofSpec[]; - /** - * Path at which next upgraded client will be committed. - * Each element corresponds to the key for a single CommitmentProof in the - * chained proof. NOTE: ClientState must stored under - * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - * the default upgrade module, upgrade_path should be []string{"upgrade", - * "upgradedIBCState"}` - */ - - upgradePath: string[]; - /** - * This flag, when set to true, will allow governance to recover a client - * which has expired - */ - - allowUpdateAfterExpiry: boolean; - /** - * This flag, when set to true, will allow governance to unfreeze a client - * whose chain has experienced a misbehaviour event - */ - - allowUpdateAfterMisbehaviour: boolean; -} -/** - * ClientState from Tendermint tracks the current validator set, latest height, - * and a possible frozen height. - */ - -export interface ClientStateSDKType { - chain_id: string; - trust_level?: FractionSDKType | undefined; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - - trusting_period?: DurationSDKType | undefined; - /** duration of the staking unbonding period */ - - unbonding_period?: DurationSDKType | undefined; - /** defines how much new (untrusted) header's Time can drift into the future. */ - - max_clock_drift?: DurationSDKType | undefined; - /** Block height when the client was frozen due to a misbehaviour */ - - frozen_height?: HeightSDKType | undefined; - /** Latest height the client was updated to */ - - latest_height?: HeightSDKType | undefined; - /** Proof specifications used in verifying counterparty state */ - - proof_specs: ProofSpecSDKType[]; - /** - * Path at which next upgraded client will be committed. - * Each element corresponds to the key for a single CommitmentProof in the - * chained proof. NOTE: ClientState must stored under - * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - * the default upgrade module, upgrade_path should be []string{"upgrade", - * "upgradedIBCState"}` - */ - - upgrade_path: string[]; - /** - * This flag, when set to true, will allow governance to recover a client - * which has expired - */ - - allow_update_after_expiry: boolean; - /** - * This flag, when set to true, will allow governance to unfreeze a client - * whose chain has experienced a misbehaviour event - */ - - allow_update_after_misbehaviour: boolean; -} -/** ConsensusState defines the consensus state from Tendermint. */ - -export interface ConsensusState { - /** - * timestamp that corresponds to the block height in which the ConsensusState - * was stored. - */ - timestamp?: Date | undefined; - /** commitment root (i.e app hash) */ - - root?: MerkleRoot | undefined; - nextValidatorsHash: Uint8Array; -} -/** ConsensusState defines the consensus state from Tendermint. */ - -export interface ConsensusStateSDKType { - /** - * timestamp that corresponds to the block height in which the ConsensusState - * was stored. - */ - timestamp?: Date | undefined; - /** commitment root (i.e app hash) */ - - root?: MerkleRootSDKType | undefined; - next_validators_hash: Uint8Array; -} -/** - * Misbehaviour is a wrapper over two conflicting Headers - * that implements Misbehaviour interface expected by ICS-02 - */ - -export interface Misbehaviour { - clientId: string; - header1?: Header | undefined; - header2?: Header | undefined; -} -/** - * Misbehaviour is a wrapper over two conflicting Headers - * that implements Misbehaviour interface expected by ICS-02 - */ - -export interface MisbehaviourSDKType { - client_id: string; - header_1?: HeaderSDKType | undefined; - header_2?: HeaderSDKType | undefined; -} -/** - * Header defines the Tendermint client consensus Header. - * It encapsulates all the information necessary to update from a trusted - * Tendermint ConsensusState. The inclusion of TrustedHeight and - * TrustedValidators allows this update to process correctly, so long as the - * ConsensusState for the TrustedHeight exists, this removes race conditions - * among relayers The SignedHeader and ValidatorSet are the new untrusted update - * fields for the client. The TrustedHeight is the height of a stored - * ConsensusState on the client that will be used to verify the new untrusted - * header. The Trusted ConsensusState must be within the unbonding period of - * current time in order to correctly verify, and the TrustedValidators must - * hash to TrustedConsensusState.NextValidatorsHash since that is the last - * trusted validator set at the TrustedHeight. - */ - -export interface Header { - signedHeader?: SignedHeader | undefined; - validatorSet?: ValidatorSet | undefined; - trustedHeight?: Height | undefined; - trustedValidators?: ValidatorSet | undefined; -} -/** - * Header defines the Tendermint client consensus Header. - * It encapsulates all the information necessary to update from a trusted - * Tendermint ConsensusState. The inclusion of TrustedHeight and - * TrustedValidators allows this update to process correctly, so long as the - * ConsensusState for the TrustedHeight exists, this removes race conditions - * among relayers The SignedHeader and ValidatorSet are the new untrusted update - * fields for the client. The TrustedHeight is the height of a stored - * ConsensusState on the client that will be used to verify the new untrusted - * header. The Trusted ConsensusState must be within the unbonding period of - * current time in order to correctly verify, and the TrustedValidators must - * hash to TrustedConsensusState.NextValidatorsHash since that is the last - * trusted validator set at the TrustedHeight. - */ - -export interface HeaderSDKType { - signed_header?: SignedHeaderSDKType | undefined; - validator_set?: ValidatorSetSDKType | undefined; - trusted_height?: HeightSDKType | undefined; - trusted_validators?: ValidatorSetSDKType | undefined; -} -/** - * Fraction defines the protobuf message type for tmmath.Fraction that only - * supports positive values. - */ - -export interface Fraction { - numerator: Long; - denominator: Long; -} -/** - * Fraction defines the protobuf message type for tmmath.Fraction that only - * supports positive values. - */ - -export interface FractionSDKType { - numerator: Long; - denominator: Long; -} - -function createBaseClientState(): ClientState { - return { - chainId: "", - trustLevel: undefined, - trustingPeriod: undefined, - unbondingPeriod: undefined, - maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, - proofSpecs: [], - upgradePath: [], - allowUpdateAfterExpiry: false, - allowUpdateAfterMisbehaviour: false - }; -} - -export const ClientState = { - encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.chainId !== "") { - writer.uint32(10).string(message.chainId); - } - - if (message.trustLevel !== undefined) { - Fraction.encode(message.trustLevel, writer.uint32(18).fork()).ldelim(); - } - - if (message.trustingPeriod !== undefined) { - Duration.encode(message.trustingPeriod, writer.uint32(26).fork()).ldelim(); - } - - if (message.unbondingPeriod !== undefined) { - Duration.encode(message.unbondingPeriod, writer.uint32(34).fork()).ldelim(); - } - - if (message.maxClockDrift !== undefined) { - Duration.encode(message.maxClockDrift, writer.uint32(42).fork()).ldelim(); - } - - if (message.frozenHeight !== undefined) { - Height.encode(message.frozenHeight, writer.uint32(50).fork()).ldelim(); - } - - if (message.latestHeight !== undefined) { - Height.encode(message.latestHeight, writer.uint32(58).fork()).ldelim(); - } - - for (const v of message.proofSpecs) { - ProofSpec.encode(v!, writer.uint32(66).fork()).ldelim(); - } - - for (const v of message.upgradePath) { - writer.uint32(74).string(v!); - } - - if (message.allowUpdateAfterExpiry === true) { - writer.uint32(80).bool(message.allowUpdateAfterExpiry); - } - - if (message.allowUpdateAfterMisbehaviour === true) { - writer.uint32(88).bool(message.allowUpdateAfterMisbehaviour); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClientState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.chainId = reader.string(); - break; - - case 2: - message.trustLevel = Fraction.decode(reader, reader.uint32()); - break; - - case 3: - message.trustingPeriod = Duration.decode(reader, reader.uint32()); - break; - - case 4: - message.unbondingPeriod = Duration.decode(reader, reader.uint32()); - break; - - case 5: - message.maxClockDrift = Duration.decode(reader, reader.uint32()); - break; - - case 6: - message.frozenHeight = Height.decode(reader, reader.uint32()); - break; - - case 7: - message.latestHeight = Height.decode(reader, reader.uint32()); - break; - - case 8: - message.proofSpecs.push(ProofSpec.decode(reader, reader.uint32())); - break; - - case 9: - message.upgradePath.push(reader.string()); - break; - - case 10: - message.allowUpdateAfterExpiry = reader.bool(); - break; - - case 11: - message.allowUpdateAfterMisbehaviour = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ClientState { - const message = createBaseClientState(); - message.chainId = object.chainId ?? ""; - message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; - message.trustingPeriod = object.trustingPeriod !== undefined && object.trustingPeriod !== null ? Duration.fromPartial(object.trustingPeriod) : undefined; - message.unbondingPeriod = object.unbondingPeriod !== undefined && object.unbondingPeriod !== null ? Duration.fromPartial(object.unbondingPeriod) : undefined; - message.maxClockDrift = object.maxClockDrift !== undefined && object.maxClockDrift !== null ? Duration.fromPartial(object.maxClockDrift) : undefined; - message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; - message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; - message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; - message.upgradePath = object.upgradePath?.map(e => e) || []; - message.allowUpdateAfterExpiry = object.allowUpdateAfterExpiry ?? false; - message.allowUpdateAfterMisbehaviour = object.allowUpdateAfterMisbehaviour ?? false; - return message; - } - -}; - -function createBaseConsensusState(): ConsensusState { - return { - timestamp: undefined, - root: undefined, - nextValidatorsHash: new Uint8Array() - }; -} - -export const ConsensusState = { - encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim(); - } - - if (message.root !== undefined) { - MerkleRoot.encode(message.root, writer.uint32(18).fork()).ldelim(); - } - - if (message.nextValidatorsHash.length !== 0) { - writer.uint32(26).bytes(message.nextValidatorsHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusState(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 2: - message.root = MerkleRoot.decode(reader, reader.uint32()); - break; - - case 3: - message.nextValidatorsHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusState { - const message = createBaseConsensusState(); - message.timestamp = object.timestamp ?? undefined; - message.root = object.root !== undefined && object.root !== null ? MerkleRoot.fromPartial(object.root) : undefined; - message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMisbehaviour(): Misbehaviour { - return { - clientId: "", - header1: undefined, - header2: undefined - }; -} - -export const Misbehaviour = { - encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.clientId !== "") { - writer.uint32(10).string(message.clientId); - } - - if (message.header1 !== undefined) { - Header.encode(message.header1, writer.uint32(18).fork()).ldelim(); - } - - if (message.header2 !== undefined) { - Header.encode(message.header2, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMisbehaviour(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.clientId = reader.string(); - break; - - case 2: - message.header1 = Header.decode(reader, reader.uint32()); - break; - - case 3: - message.header2 = Header.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Misbehaviour { - const message = createBaseMisbehaviour(); - message.clientId = object.clientId ?? ""; - message.header1 = object.header1 !== undefined && object.header1 !== null ? Header.fromPartial(object.header1) : undefined; - message.header2 = object.header2 !== undefined && object.header2 !== null ? Header.fromPartial(object.header2) : undefined; - return message; - } - -}; - -function createBaseHeader(): Header { - return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined - }; -} - -export const Header = { - encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signedHeader !== undefined) { - SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); - } - - if (message.validatorSet !== undefined) { - ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); - } - - if (message.trustedHeight !== undefined) { - Height.encode(message.trustedHeight, writer.uint32(26).fork()).ldelim(); - } - - if (message.trustedValidators !== undefined) { - ValidatorSet.encode(message.trustedValidators, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Header { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.signedHeader = SignedHeader.decode(reader, reader.uint32()); - break; - - case 2: - message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); - break; - - case 3: - message.trustedHeight = Height.decode(reader, reader.uint32()); - break; - - case 4: - message.trustedValidators = ValidatorSet.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial
): Header { - const message = createBaseHeader(); - message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; - message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; - message.trustedHeight = object.trustedHeight !== undefined && object.trustedHeight !== null ? Height.fromPartial(object.trustedHeight) : undefined; - message.trustedValidators = object.trustedValidators !== undefined && object.trustedValidators !== null ? ValidatorSet.fromPartial(object.trustedValidators) : undefined; - return message; - } - -}; - -function createBaseFraction(): Fraction { - return { - numerator: Long.UZERO, - denominator: Long.UZERO - }; -} - -export const Fraction = { - encode(message: Fraction, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.numerator.isZero()) { - writer.uint32(8).uint64(message.numerator); - } - - if (!message.denominator.isZero()) { - writer.uint32(16).uint64(message.denominator); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Fraction { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFraction(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.numerator = (reader.uint64() as Long); - break; - - case 2: - message.denominator = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Fraction { - const message = createBaseFraction(); - message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; - message.denominator = object.denominator !== undefined && object.denominator !== null ? Long.fromValue(object.denominator) : Long.UZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.query.ts b/examples/telescope/codegen/ibc/rpc.query.ts deleted file mode 100644 index 2ed23009f..000000000 --- a/examples/telescope/codegen/ibc/rpc.query.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; -import { QueryClient } from "@cosmjs/stargate"; -export const createRPCQueryClient = async ({ - rpcEndpoint -}: { - rpcEndpoint: string; -}) => { - const tmClient = await Tendermint34Client.connect(rpcEndpoint); - 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) - }, - authz: { - v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - bank: { - v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - base: { - tendermint: { - v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.svc")).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) - }, - gov: { - v1: (await import("../cosmos/gov/v1/query.rpc.query")).createRpcQueryExtension(client), - v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - }, - group: { - v1: (await import("../cosmos/group/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - 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) - }, - tx: { - v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.svc")).createRpcQueryExtension(client) - }, - upgrade: { - v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).createRpcQueryExtension(client) - } - }, - ibc: { - applications: { - transfer: { - v1: (await import("./applications/transfer/v1/query.rpc.query")).createRpcQueryExtension(client) - } - }, - core: { - channel: { - v1: (await import("./core/channel/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - client: { - v1: (await import("./core/client/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - connection: { - v1: (await import("./core/connection/v1/query.rpc.query")).createRpcQueryExtension(client) - }, - port: { - v1: (await import("./core/port/v1/query.rpc.query")).createRpcQueryExtension(client) - } - } - } - }; -}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.tx.ts b/examples/telescope/codegen/ibc/rpc.tx.ts deleted file mode 100644 index 62cb610c4..000000000 --- a/examples/telescope/codegen/ibc/rpc.tx.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Rpc } from "../helpers"; -export const createRPCMsgClient = async ({ - rpc -}: { - rpc: Rpc; -}) => ({ - cosmos: { - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), - v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - 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) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - vesting: { - v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - } - }, - ibc: { - applications: { - transfer: { - v1: new (await import("./applications/transfer/v1/tx.rpc.msg")).MsgClientImpl(rpc) - } - }, - core: { - channel: { - v1: new (await import("./core/channel/v1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - client: { - v1: new (await import("./core/client/v1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - connection: { - v1: new (await import("./core/connection/v1/tx.rpc.msg")).MsgClientImpl(rpc) - } - } - } -}); \ No newline at end of file diff --git a/examples/telescope/codegen/ics23/bundle.ts b/examples/telescope/codegen/ics23/bundle.ts deleted file mode 100644 index dcacaf237..000000000 --- a/examples/telescope/codegen/ics23/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _0 from "../confio/proofs"; -export const ics23 = { ..._0 -}; \ No newline at end of file diff --git a/examples/telescope/codegen/index.ts b/examples/telescope/codegen/index.ts deleted file mode 100644 index 2cb228499..000000000 --- a/examples/telescope/codegen/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.66.1 - * 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 "./ics23/bundle"; -export * from "./cosmos_proto/bundle"; -export * from "./cosmos/bundle"; -export * from "./cosmos/client"; -export * from "./cosmwasm/bundle"; -export * from "./cosmwasm/client"; -export * from "./gogoproto/bundle"; -export * from "./google/bundle"; -export * from "./ibc/bundle"; -export * from "./ibc/client"; -export * from "./tendermint/bundle"; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/abci/types.ts b/examples/telescope/codegen/tendermint/abci/types.ts deleted file mode 100644 index f7c2d2947..000000000 --- a/examples/telescope/codegen/tendermint/abci/types.ts +++ /dev/null @@ -1,3947 +0,0 @@ -import { Timestamp } from "../../google/protobuf/timestamp"; -import { Header, HeaderSDKType } from "../types/types"; -import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; -import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; -import { PublicKey, PublicKeySDKType } from "../crypto/keys"; -import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "../../helpers"; -export enum CheckTxType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1, -} -export enum CheckTxTypeSDKType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1, -} -export function checkTxTypeFromJSON(object: any): CheckTxType { - switch (object) { - case 0: - case "NEW": - return CheckTxType.NEW; - - case 1: - case "RECHECK": - return CheckTxType.RECHECK; - - case -1: - case "UNRECOGNIZED": - default: - return CheckTxType.UNRECOGNIZED; - } -} -export function checkTxTypeToJSON(object: CheckTxType): string { - switch (object) { - case CheckTxType.NEW: - return "NEW"; - - case CheckTxType.RECHECK: - return "RECHECK"; - - case CheckTxType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export 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 enum ResponseOfferSnapshot_ResultSDKType { - /** 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { - switch (object) { - case 0: - case "UNKNOWN": - return ResponseOfferSnapshot_Result.UNKNOWN; - - case 1: - case "ACCEPT": - return ResponseOfferSnapshot_Result.ACCEPT; - - case 2: - case "ABORT": - return ResponseOfferSnapshot_Result.ABORT; - - case 3: - case "REJECT": - return ResponseOfferSnapshot_Result.REJECT; - - case 4: - case "REJECT_FORMAT": - return ResponseOfferSnapshot_Result.REJECT_FORMAT; - - case 5: - case "REJECT_SENDER": - return ResponseOfferSnapshot_Result.REJECT_SENDER; - - case -1: - case "UNRECOGNIZED": - default: - return ResponseOfferSnapshot_Result.UNRECOGNIZED; - } -} -export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string { - switch (object) { - case ResponseOfferSnapshot_Result.UNKNOWN: - return "UNKNOWN"; - - case ResponseOfferSnapshot_Result.ACCEPT: - return "ACCEPT"; - - case ResponseOfferSnapshot_Result.ABORT: - return "ABORT"; - - case ResponseOfferSnapshot_Result.REJECT: - return "REJECT"; - - case ResponseOfferSnapshot_Result.REJECT_FORMAT: - return "REJECT_FORMAT"; - - case ResponseOfferSnapshot_Result.REJECT_SENDER: - return "REJECT_SENDER"; - - case ResponseOfferSnapshot_Result.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export 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 enum ResponseApplySnapshotChunk_ResultSDKType { - /** 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { - switch (object) { - case 0: - case "UNKNOWN": - return ResponseApplySnapshotChunk_Result.UNKNOWN; - - case 1: - case "ACCEPT": - return ResponseApplySnapshotChunk_Result.ACCEPT; - - case 2: - case "ABORT": - return ResponseApplySnapshotChunk_Result.ABORT; - - case 3: - case "RETRY": - return ResponseApplySnapshotChunk_Result.RETRY; - - case 4: - case "RETRY_SNAPSHOT": - return ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT; - - case 5: - case "REJECT_SNAPSHOT": - return ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT; - - case -1: - case "UNRECOGNIZED": - default: - return ResponseApplySnapshotChunk_Result.UNRECOGNIZED; - } -} -export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string { - switch (object) { - case ResponseApplySnapshotChunk_Result.UNKNOWN: - return "UNKNOWN"; - - case ResponseApplySnapshotChunk_Result.ACCEPT: - return "ACCEPT"; - - case ResponseApplySnapshotChunk_Result.ABORT: - return "ABORT"; - - case ResponseApplySnapshotChunk_Result.RETRY: - return "RETRY"; - - case ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT: - return "RETRY_SNAPSHOT"; - - case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: - return "REJECT_SNAPSHOT"; - - case ResponseApplySnapshotChunk_Result.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum EvidenceType { - UNKNOWN = 0, - DUPLICATE_VOTE = 1, - LIGHT_CLIENT_ATTACK = 2, - UNRECOGNIZED = -1, -} -export enum EvidenceTypeSDKType { - UNKNOWN = 0, - DUPLICATE_VOTE = 1, - LIGHT_CLIENT_ATTACK = 2, - UNRECOGNIZED = -1, -} -export function evidenceTypeFromJSON(object: any): EvidenceType { - switch (object) { - case 0: - case "UNKNOWN": - return EvidenceType.UNKNOWN; - - case 1: - case "DUPLICATE_VOTE": - return EvidenceType.DUPLICATE_VOTE; - - case 2: - case "LIGHT_CLIENT_ATTACK": - return EvidenceType.LIGHT_CLIENT_ATTACK; - - case -1: - case "UNRECOGNIZED": - default: - return EvidenceType.UNRECOGNIZED; - } -} -export function evidenceTypeToJSON(object: EvidenceType): string { - switch (object) { - case EvidenceType.UNKNOWN: - return "UNKNOWN"; - - case EvidenceType.DUPLICATE_VOTE: - return "DUPLICATE_VOTE"; - - case EvidenceType.LIGHT_CLIENT_ATTACK: - return "LIGHT_CLIENT_ATTACK"; - - case EvidenceType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export interface Request { - echo?: RequestEcho | undefined; - flush?: RequestFlush | undefined; - info?: RequestInfo | undefined; - setOption?: RequestSetOption | undefined; - initChain?: RequestInitChain | undefined; - query?: RequestQuery | undefined; - beginBlock?: RequestBeginBlock | undefined; - checkTx?: RequestCheckTx | undefined; - deliverTx?: RequestDeliverTx | undefined; - endBlock?: RequestEndBlock | undefined; - commit?: RequestCommit | undefined; - listSnapshots?: RequestListSnapshots | undefined; - offerSnapshot?: RequestOfferSnapshot | undefined; - loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; - applySnapshotChunk?: RequestApplySnapshotChunk | undefined; -} -export interface RequestSDKType { - echo?: RequestEchoSDKType | undefined; - flush?: RequestFlushSDKType | undefined; - info?: RequestInfoSDKType | undefined; - set_option?: RequestSetOptionSDKType | undefined; - init_chain?: RequestInitChainSDKType | undefined; - query?: RequestQuerySDKType | undefined; - begin_block?: RequestBeginBlockSDKType | undefined; - check_tx?: RequestCheckTxSDKType | undefined; - deliver_tx?: RequestDeliverTxSDKType | undefined; - end_block?: RequestEndBlockSDKType | undefined; - commit?: RequestCommitSDKType | undefined; - list_snapshots?: RequestListSnapshotsSDKType | undefined; - offer_snapshot?: RequestOfferSnapshotSDKType | undefined; - load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType | undefined; - apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType | undefined; -} -export interface RequestEcho { - message: string; -} -export interface RequestEchoSDKType { - message: string; -} -export interface RequestFlush {} -export interface RequestFlushSDKType {} -export interface RequestInfo { - version: string; - blockVersion: Long; - p2pVersion: Long; -} -export interface RequestInfoSDKType { - version: string; - block_version: Long; - p2p_version: Long; -} -/** nondeterministic */ - -export interface RequestSetOption { - key: string; - value: string; -} -/** nondeterministic */ - -export interface RequestSetOptionSDKType { - key: string; - value: string; -} -export interface RequestInitChain { - time?: Date | undefined; - chainId: string; - consensusParams?: ConsensusParams | undefined; - validators: ValidatorUpdate[]; - appStateBytes: Uint8Array; - initialHeight: Long; -} -export interface RequestInitChainSDKType { - time?: Date | undefined; - chain_id: string; - consensus_params?: ConsensusParamsSDKType | undefined; - validators: ValidatorUpdateSDKType[]; - app_state_bytes: Uint8Array; - initial_height: Long; -} -export interface RequestQuery { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestQuerySDKType { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestBeginBlock { - hash: Uint8Array; - header?: Header | undefined; - lastCommitInfo?: LastCommitInfo | undefined; - byzantineValidators: Evidence[]; -} -export interface RequestBeginBlockSDKType { - hash: Uint8Array; - header?: HeaderSDKType | undefined; - last_commit_info?: LastCommitInfoSDKType | undefined; - byzantine_validators: EvidenceSDKType[]; -} -export interface RequestCheckTx { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxSDKType { - tx: Uint8Array; - type: CheckTxTypeSDKType; -} -export interface RequestDeliverTx { - tx: Uint8Array; -} -export interface RequestDeliverTxSDKType { - tx: Uint8Array; -} -export interface RequestEndBlock { - height: Long; -} -export interface RequestEndBlockSDKType { - height: Long; -} -export interface RequestCommit {} -export interface RequestCommitSDKType {} -/** lists available snapshots */ - -export interface RequestListSnapshots {} -/** lists available snapshots */ - -export interface RequestListSnapshotsSDKType {} -/** offers a snapshot to the application */ - -export interface RequestOfferSnapshot { - /** snapshot offered by peers */ - snapshot?: Snapshot | undefined; - /** light client-verified app hash for snapshot height */ - - appHash: Uint8Array; -} -/** offers a snapshot to the application */ - -export interface RequestOfferSnapshotSDKType { - /** snapshot offered by peers */ - snapshot?: SnapshotSDKType | undefined; - /** light client-verified app hash for snapshot height */ - - app_hash: Uint8Array; -} -/** loads a snapshot chunk */ - -export interface RequestLoadSnapshotChunk { - height: Long; - format: number; - chunk: number; -} -/** 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; -} -/** Applies a snapshot chunk */ - -export interface RequestApplySnapshotChunkSDKType { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface Response { - exception?: ResponseException | undefined; - echo?: ResponseEcho | undefined; - flush?: ResponseFlush | undefined; - info?: ResponseInfo | undefined; - setOption?: ResponseSetOption | undefined; - initChain?: ResponseInitChain | undefined; - query?: ResponseQuery | undefined; - beginBlock?: ResponseBeginBlock | undefined; - checkTx?: ResponseCheckTx | undefined; - deliverTx?: ResponseDeliverTx | undefined; - endBlock?: ResponseEndBlock | undefined; - commit?: ResponseCommit | undefined; - listSnapshots?: ResponseListSnapshots | undefined; - offerSnapshot?: ResponseOfferSnapshot | undefined; - loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; - applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; -} -export interface ResponseSDKType { - exception?: ResponseExceptionSDKType | undefined; - echo?: ResponseEchoSDKType | undefined; - flush?: ResponseFlushSDKType | undefined; - info?: ResponseInfoSDKType | undefined; - set_option?: ResponseSetOptionSDKType | undefined; - init_chain?: ResponseInitChainSDKType | undefined; - query?: ResponseQuerySDKType | undefined; - begin_block?: ResponseBeginBlockSDKType | undefined; - check_tx?: ResponseCheckTxSDKType | undefined; - deliver_tx?: ResponseDeliverTxSDKType | undefined; - end_block?: ResponseEndBlockSDKType | undefined; - commit?: ResponseCommitSDKType | undefined; - list_snapshots?: ResponseListSnapshotsSDKType | undefined; - offer_snapshot?: ResponseOfferSnapshotSDKType | undefined; - load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType | undefined; - apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType | undefined; -} -/** nondeterministic */ - -export interface ResponseException { - error: string; -} -/** nondeterministic */ - -export interface ResponseExceptionSDKType { - error: string; -} -export interface ResponseEcho { - message: string; -} -export interface ResponseEchoSDKType { - message: string; -} -export interface ResponseFlush {} -export interface ResponseFlushSDKType {} -export interface ResponseInfo { - data: string; - version: string; - appVersion: Long; - lastBlockHeight: Long; - lastBlockAppHash: Uint8Array; -} -export interface ResponseInfoSDKType { - data: string; - version: string; - app_version: Long; - last_block_height: Long; - last_block_app_hash: Uint8Array; -} -/** nondeterministic */ - -export interface ResponseSetOption { - code: number; - /** bytes data = 2; */ - - log: string; - info: string; -} -/** nondeterministic */ - -export interface ResponseSetOptionSDKType { - code: number; - /** bytes data = 2; */ - - log: string; - info: string; -} -export interface ResponseInitChain { - consensusParams?: ConsensusParams | undefined; - validators: ValidatorUpdate[]; - appHash: Uint8Array; -} -export interface ResponseInitChainSDKType { - consensus_params?: ConsensusParamsSDKType | undefined; - 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 | undefined; - height: Long; - codespace: string; -} -export interface ResponseQuerySDKType { - code: number; - /** bytes data = 2; // use "value" instead. */ - - log: string; - /** nondeterministic */ - - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsSDKType | undefined; - height: Long; - codespace: string; -} -export interface ResponseBeginBlock { - events: Event[]; -} -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; -} -export interface ResponseCheckTxSDKType { - code: number; - data: Uint8Array; - /** nondeterministic */ - - log: string; - /** nondeterministic */ - - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseDeliverTx { - code: number; - data: Uint8Array; - /** nondeterministic */ - - log: string; - /** nondeterministic */ - - info: string; - gasWanted: Long; - gasUsed: Long; - events: Event[]; - codespace: string; -} -export interface ResponseDeliverTxSDKType { - code: number; - data: Uint8Array; - /** nondeterministic */ - - log: string; - /** nondeterministic */ - - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseEndBlock { - validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates?: ConsensusParams | undefined; - events: Event[]; -} -export interface ResponseEndBlockSDKType { - validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates?: ConsensusParamsSDKType | undefined; - events: EventSDKType[]; -} -export interface ResponseCommit { - /** reserve 1 */ - data: Uint8Array; - retainHeight: Long; -} -export interface ResponseCommitSDKType { - /** reserve 1 */ - data: Uint8Array; - retain_height: Long; -} -export interface ResponseListSnapshots { - snapshots: Snapshot[]; -} -export interface ResponseListSnapshotsSDKType { - snapshots: SnapshotSDKType[]; -} -export interface ResponseOfferSnapshot { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseOfferSnapshotSDKType { - result: ResponseOfferSnapshot_ResultSDKType; -} -export interface ResponseLoadSnapshotChunk { - chunk: Uint8Array; -} -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 ResponseApplySnapshotChunkSDKType { - result: ResponseApplySnapshotChunk_ResultSDKType; - /** Chunks to refetch and reapply */ - - refetch_chunks: number[]; - /** Chunk senders to reject and ban */ - - reject_senders: string[]; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ - -export interface ConsensusParams { - block?: BlockParams | undefined; - evidence?: EvidenceParams | undefined; - validator?: ValidatorParams | undefined; - version?: VersionParams | undefined; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ - -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType | undefined; - evidence?: EvidenceParamsSDKType | undefined; - validator?: ValidatorParamsSDKType | undefined; - version?: VersionParamsSDKType | undefined; -} -/** BlockParams contains limits on the block size. */ - -export interface BlockParams { - /** Note: must be greater than 0 */ - maxBytes: Long; - /** Note: must be greater or equal to -1 */ - - maxGas: Long; -} -/** BlockParams contains limits on the block size. */ - -export interface BlockParamsSDKType { - /** Note: must be greater than 0 */ - max_bytes: Long; - /** Note: must be greater or equal to -1 */ - - max_gas: Long; -} -export interface LastCommitInfo { - round: number; - votes: VoteInfo[]; -} -export interface LastCommitInfoSDKType { - round: number; - votes: VoteInfoSDKType[]; -} -/** - * 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[]; -} -/** - * 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: Uint8Array; - value: Uint8Array; - /** nondeterministic */ - - index: boolean; -} -/** EventAttribute is a single key-value pair, associated with an event. */ - -export interface EventAttributeSDKType { - key: Uint8Array; - value: Uint8Array; - /** nondeterministic */ - - 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 | undefined; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ - -export interface TxResultSDKType { - height: Long; - index: number; - tx: Uint8Array; - result?: ResponseDeliverTxSDKType | undefined; -} -/** 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; -} -/** Validator */ - -export interface ValidatorSDKType { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - - power: Long; -} -/** ValidatorUpdate */ - -export interface ValidatorUpdate { - pubKey?: PublicKey | undefined; - power: Long; -} -/** ValidatorUpdate */ - -export interface ValidatorUpdateSDKType { - pub_key?: PublicKeySDKType | undefined; - power: Long; -} -/** VoteInfo */ - -export interface VoteInfo { - validator?: Validator | undefined; - signedLastBlock: boolean; -} -/** VoteInfo */ - -export interface VoteInfoSDKType { - validator?: ValidatorSDKType | undefined; - signed_last_block: boolean; -} -export interface Evidence { - type: EvidenceType; - /** The offending validator */ - - validator?: Validator | undefined; - /** The height when the offense occurred */ - - height: Long; - /** The corresponding time where the offense occurred */ - - time?: Date | undefined; - /** - * 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 EvidenceSDKType { - type: EvidenceTypeSDKType; - /** The offending validator */ - - validator?: ValidatorSDKType | undefined; - /** The height when the offense occurred */ - - height: Long; - /** The corresponding time where the offense occurred */ - - time?: Date | undefined; - /** - * 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: 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 SnapshotSDKType { - /** 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; -} - -function createBaseRequest(): Request { - return { - echo: undefined, - flush: undefined, - info: undefined, - setOption: undefined, - initChain: undefined, - query: undefined, - beginBlock: undefined, - checkTx: undefined, - deliverTx: undefined, - endBlock: undefined, - commit: undefined, - listSnapshots: undefined, - offerSnapshot: undefined, - loadSnapshotChunk: undefined, - applySnapshotChunk: undefined - }; -} - -export const Request = { - encode(message: Request, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.echo !== undefined) { - RequestEcho.encode(message.echo, writer.uint32(10).fork()).ldelim(); - } - - if (message.flush !== undefined) { - RequestFlush.encode(message.flush, writer.uint32(18).fork()).ldelim(); - } - - if (message.info !== undefined) { - RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim(); - } - - if (message.setOption !== undefined) { - RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim(); - } - - if (message.initChain !== undefined) { - RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim(); - } - - if (message.query !== undefined) { - RequestQuery.encode(message.query, writer.uint32(50).fork()).ldelim(); - } - - if (message.beginBlock !== undefined) { - RequestBeginBlock.encode(message.beginBlock, writer.uint32(58).fork()).ldelim(); - } - - if (message.checkTx !== undefined) { - RequestCheckTx.encode(message.checkTx, writer.uint32(66).fork()).ldelim(); - } - - if (message.deliverTx !== undefined) { - RequestDeliverTx.encode(message.deliverTx, writer.uint32(74).fork()).ldelim(); - } - - if (message.endBlock !== undefined) { - RequestEndBlock.encode(message.endBlock, writer.uint32(82).fork()).ldelim(); - } - - if (message.commit !== undefined) { - RequestCommit.encode(message.commit, writer.uint32(90).fork()).ldelim(); - } - - if (message.listSnapshots !== undefined) { - RequestListSnapshots.encode(message.listSnapshots, writer.uint32(98).fork()).ldelim(); - } - - if (message.offerSnapshot !== undefined) { - RequestOfferSnapshot.encode(message.offerSnapshot, writer.uint32(106).fork()).ldelim(); - } - - if (message.loadSnapshotChunk !== undefined) { - RequestLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(114).fork()).ldelim(); - } - - if (message.applySnapshotChunk !== undefined) { - RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Request { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.echo = RequestEcho.decode(reader, reader.uint32()); - break; - - case 2: - message.flush = RequestFlush.decode(reader, reader.uint32()); - break; - - case 3: - message.info = RequestInfo.decode(reader, reader.uint32()); - break; - - case 4: - message.setOption = RequestSetOption.decode(reader, reader.uint32()); - break; - - case 5: - message.initChain = RequestInitChain.decode(reader, reader.uint32()); - break; - - case 6: - message.query = RequestQuery.decode(reader, reader.uint32()); - break; - - case 7: - message.beginBlock = RequestBeginBlock.decode(reader, reader.uint32()); - break; - - case 8: - message.checkTx = RequestCheckTx.decode(reader, reader.uint32()); - break; - - case 9: - message.deliverTx = RequestDeliverTx.decode(reader, reader.uint32()); - break; - - case 10: - message.endBlock = RequestEndBlock.decode(reader, reader.uint32()); - break; - - case 11: - message.commit = RequestCommit.decode(reader, reader.uint32()); - break; - - case 12: - message.listSnapshots = RequestListSnapshots.decode(reader, reader.uint32()); - break; - - case 13: - message.offerSnapshot = RequestOfferSnapshot.decode(reader, reader.uint32()); - break; - - case 14: - message.loadSnapshotChunk = RequestLoadSnapshotChunk.decode(reader, reader.uint32()); - break; - - case 15: - message.applySnapshotChunk = RequestApplySnapshotChunk.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Request { - const message = createBaseRequest(); - message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; - message.flush = object.flush !== undefined && object.flush !== null ? RequestFlush.fromPartial(object.flush) : undefined; - message.info = object.info !== undefined && object.info !== null ? RequestInfo.fromPartial(object.info) : undefined; - message.setOption = object.setOption !== undefined && object.setOption !== null ? RequestSetOption.fromPartial(object.setOption) : undefined; - message.initChain = object.initChain !== undefined && object.initChain !== null ? RequestInitChain.fromPartial(object.initChain) : undefined; - message.query = object.query !== undefined && object.query !== null ? RequestQuery.fromPartial(object.query) : undefined; - message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? RequestBeginBlock.fromPartial(object.beginBlock) : undefined; - message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? RequestCheckTx.fromPartial(object.checkTx) : undefined; - message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? RequestDeliverTx.fromPartial(object.deliverTx) : undefined; - message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? RequestEndBlock.fromPartial(object.endBlock) : undefined; - message.commit = object.commit !== undefined && object.commit !== null ? RequestCommit.fromPartial(object.commit) : undefined; - message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? RequestListSnapshots.fromPartial(object.listSnapshots) : undefined; - message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? RequestOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; - message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? RequestLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; - message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; - return message; - } - -}; - -function createBaseRequestEcho(): RequestEcho { - return { - message: "" - }; -} - -export const RequestEcho = { - encode(message: RequestEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.message !== "") { - writer.uint32(10).string(message.message); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestEcho(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.message = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestEcho { - const message = createBaseRequestEcho(); - message.message = object.message ?? ""; - return message; - } - -}; - -function createBaseRequestFlush(): RequestFlush { - return {}; -} - -export const RequestFlush = { - encode(_: RequestFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestFlush(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): RequestFlush { - const message = createBaseRequestFlush(); - return message; - } - -}; - -function createBaseRequestInfo(): RequestInfo { - return { - version: "", - blockVersion: Long.UZERO, - p2pVersion: Long.UZERO - }; -} - -export const RequestInfo = { - encode(message: RequestInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.version !== "") { - writer.uint32(10).string(message.version); - } - - if (!message.blockVersion.isZero()) { - writer.uint32(16).uint64(message.blockVersion); - } - - if (!message.p2pVersion.isZero()) { - writer.uint32(24).uint64(message.p2pVersion); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.version = reader.string(); - break; - - case 2: - message.blockVersion = (reader.uint64() as Long); - break; - - case 3: - message.p2pVersion = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestInfo { - const message = createBaseRequestInfo(); - message.version = object.version ?? ""; - message.blockVersion = object.blockVersion !== undefined && object.blockVersion !== null ? Long.fromValue(object.blockVersion) : Long.UZERO; - message.p2pVersion = object.p2pVersion !== undefined && object.p2pVersion !== null ? Long.fromValue(object.p2pVersion) : Long.UZERO; - return message; - } - -}; - -function createBaseRequestSetOption(): RequestSetOption { - return { - key: "", - value: "" - }; -} - -export const RequestSetOption = { - encode(message: RequestSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestSetOption(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - - case 2: - message.value = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestSetOption { - const message = createBaseRequestSetOption(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - } - -}; - -function createBaseRequestInitChain(): RequestInitChain { - return { - time: undefined, - chainId: "", - consensusParams: undefined, - validators: [], - appStateBytes: new Uint8Array(), - initialHeight: Long.ZERO - }; -} - -export const RequestInitChain = { - encode(message: RequestInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim(); - } - - if (message.chainId !== "") { - writer.uint32(18).string(message.chainId); - } - - if (message.consensusParams !== undefined) { - ConsensusParams.encode(message.consensusParams, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.validators) { - ValidatorUpdate.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - if (message.appStateBytes.length !== 0) { - writer.uint32(42).bytes(message.appStateBytes); - } - - if (!message.initialHeight.isZero()) { - writer.uint32(48).int64(message.initialHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestInitChain(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 2: - message.chainId = reader.string(); - break; - - case 3: - message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); - break; - - case 4: - message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); - break; - - case 5: - message.appStateBytes = reader.bytes(); - break; - - case 6: - message.initialHeight = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestInitChain { - const message = createBaseRequestInitChain(); - 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)) || []; - message.appStateBytes = object.appStateBytes ?? new Uint8Array(); - message.initialHeight = object.initialHeight !== undefined && object.initialHeight !== null ? Long.fromValue(object.initialHeight) : Long.ZERO; - return message; - } - -}; - -function createBaseRequestQuery(): RequestQuery { - return { - data: new Uint8Array(), - path: "", - height: Long.ZERO, - prove: false - }; -} - -export const RequestQuery = { - encode(message: RequestQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - - if (message.path !== "") { - writer.uint32(18).string(message.path); - } - - if (!message.height.isZero()) { - writer.uint32(24).int64(message.height); - } - - if (message.prove === true) { - writer.uint32(32).bool(message.prove); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestQuery(); - - 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() as Long); - break; - - case 4: - message.prove = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestQuery { - const message = createBaseRequestQuery(); - message.data = object.data ?? new Uint8Array(); - message.path = object.path ?? ""; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.prove = object.prove ?? false; - return message; - } - -}; - -function createBaseRequestBeginBlock(): RequestBeginBlock { - return { - hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, - byzantineValidators: [] - }; -} - -export const RequestBeginBlock = { - encode(message: RequestBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash.length !== 0) { - writer.uint32(10).bytes(message.hash); - } - - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(18).fork()).ldelim(); - } - - if (message.lastCommitInfo !== undefined) { - LastCommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.byzantineValidators) { - Evidence.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestBeginBlock(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = reader.bytes(); - break; - - case 2: - message.header = Header.decode(reader, reader.uint32()); - break; - - case 3: - message.lastCommitInfo = LastCommitInfo.decode(reader, reader.uint32()); - break; - - case 4: - message.byzantineValidators.push(Evidence.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestBeginBlock { - const message = createBaseRequestBeginBlock(); - message.hash = object.hash ?? new Uint8Array(); - message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; - message.lastCommitInfo = object.lastCommitInfo !== undefined && object.lastCommitInfo !== null ? LastCommitInfo.fromPartial(object.lastCommitInfo) : undefined; - message.byzantineValidators = object.byzantineValidators?.map(e => Evidence.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseRequestCheckTx(): RequestCheckTx { - return { - tx: new Uint8Array(), - type: 0 - }; -} - -export const RequestCheckTx = { - encode(message: RequestCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx.length !== 0) { - writer.uint32(10).bytes(message.tx); - } - - if (message.type !== 0) { - writer.uint32(16).int32(message.type); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestCheckTx(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tx = reader.bytes(); - break; - - case 2: - message.type = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestCheckTx { - const message = createBaseRequestCheckTx(); - message.tx = object.tx ?? new Uint8Array(); - message.type = object.type ?? 0; - return message; - } - -}; - -function createBaseRequestDeliverTx(): RequestDeliverTx { - return { - tx: new Uint8Array() - }; -} - -export const RequestDeliverTx = { - encode(message: RequestDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx.length !== 0) { - writer.uint32(10).bytes(message.tx); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestDeliverTx(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.tx = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestDeliverTx { - const message = createBaseRequestDeliverTx(); - message.tx = object.tx ?? new Uint8Array(); - return message; - } - -}; - -function createBaseRequestEndBlock(): RequestEndBlock { - return { - height: Long.ZERO - }; -} - -export const RequestEndBlock = { - encode(message: RequestEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestEndBlock(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestEndBlock { - const message = createBaseRequestEndBlock(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - return message; - } - -}; - -function createBaseRequestCommit(): RequestCommit { - return {}; -} - -export const RequestCommit = { - encode(_: RequestCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestCommit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): RequestCommit { - const message = createBaseRequestCommit(); - return message; - } - -}; - -function createBaseRequestListSnapshots(): RequestListSnapshots { - return {}; -} - -export const RequestListSnapshots = { - encode(_: RequestListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestListSnapshots(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): RequestListSnapshots { - const message = createBaseRequestListSnapshots(); - return message; - } - -}; - -function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { - return { - snapshot: undefined, - appHash: new Uint8Array() - }; -} - -export const RequestOfferSnapshot = { - encode(message: RequestOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.snapshot !== undefined) { - Snapshot.encode(message.snapshot, writer.uint32(10).fork()).ldelim(); - } - - if (message.appHash.length !== 0) { - writer.uint32(18).bytes(message.appHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestOfferSnapshot(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.snapshot = Snapshot.decode(reader, reader.uint32()); - break; - - case 2: - message.appHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestOfferSnapshot { - const message = createBaseRequestOfferSnapshot(); - message.snapshot = object.snapshot !== undefined && object.snapshot !== null ? Snapshot.fromPartial(object.snapshot) : undefined; - message.appHash = object.appHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseRequestLoadSnapshotChunk(): RequestLoadSnapshotChunk { - return { - height: Long.UZERO, - format: 0, - chunk: 0 - }; -} - -export const RequestLoadSnapshotChunk = { - encode(message: RequestLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).uint64(message.height); - } - - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - - if (message.chunk !== 0) { - writer.uint32(24).uint32(message.chunk); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestLoadSnapshotChunk(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.uint64() as Long); - break; - - case 2: - message.format = reader.uint32(); - break; - - case 3: - message.chunk = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestLoadSnapshotChunk { - const message = createBaseRequestLoadSnapshotChunk(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; - message.format = object.format ?? 0; - message.chunk = object.chunk ?? 0; - return message; - } - -}; - -function createBaseRequestApplySnapshotChunk(): RequestApplySnapshotChunk { - return { - index: 0, - chunk: new Uint8Array(), - sender: "" - }; -} - -export const RequestApplySnapshotChunk = { - encode(message: RequestApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.index !== 0) { - writer.uint32(8).uint32(message.index); - } - - if (message.chunk.length !== 0) { - writer.uint32(18).bytes(message.chunk); - } - - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRequestApplySnapshotChunk(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.index = reader.uint32(); - break; - - case 2: - message.chunk = reader.bytes(); - break; - - case 3: - message.sender = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): RequestApplySnapshotChunk { - const message = createBaseRequestApplySnapshotChunk(); - message.index = object.index ?? 0; - message.chunk = object.chunk ?? new Uint8Array(); - message.sender = object.sender ?? ""; - return message; - } - -}; - -function createBaseResponse(): Response { - return { - exception: undefined, - echo: undefined, - flush: undefined, - info: undefined, - setOption: undefined, - initChain: undefined, - query: undefined, - beginBlock: undefined, - checkTx: undefined, - deliverTx: undefined, - endBlock: undefined, - commit: undefined, - listSnapshots: undefined, - offerSnapshot: undefined, - loadSnapshotChunk: undefined, - applySnapshotChunk: undefined - }; -} - -export const Response = { - encode(message: Response, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exception !== undefined) { - ResponseException.encode(message.exception, writer.uint32(10).fork()).ldelim(); - } - - if (message.echo !== undefined) { - ResponseEcho.encode(message.echo, writer.uint32(18).fork()).ldelim(); - } - - if (message.flush !== undefined) { - ResponseFlush.encode(message.flush, writer.uint32(26).fork()).ldelim(); - } - - if (message.info !== undefined) { - ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim(); - } - - if (message.setOption !== undefined) { - ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim(); - } - - if (message.initChain !== undefined) { - ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim(); - } - - if (message.query !== undefined) { - ResponseQuery.encode(message.query, writer.uint32(58).fork()).ldelim(); - } - - if (message.beginBlock !== undefined) { - ResponseBeginBlock.encode(message.beginBlock, writer.uint32(66).fork()).ldelim(); - } - - if (message.checkTx !== undefined) { - ResponseCheckTx.encode(message.checkTx, writer.uint32(74).fork()).ldelim(); - } - - if (message.deliverTx !== undefined) { - ResponseDeliverTx.encode(message.deliverTx, writer.uint32(82).fork()).ldelim(); - } - - if (message.endBlock !== undefined) { - ResponseEndBlock.encode(message.endBlock, writer.uint32(90).fork()).ldelim(); - } - - if (message.commit !== undefined) { - ResponseCommit.encode(message.commit, writer.uint32(98).fork()).ldelim(); - } - - if (message.listSnapshots !== undefined) { - ResponseListSnapshots.encode(message.listSnapshots, writer.uint32(106).fork()).ldelim(); - } - - if (message.offerSnapshot !== undefined) { - ResponseOfferSnapshot.encode(message.offerSnapshot, writer.uint32(114).fork()).ldelim(); - } - - if (message.loadSnapshotChunk !== undefined) { - ResponseLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(122).fork()).ldelim(); - } - - if (message.applySnapshotChunk !== undefined) { - ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Response { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.exception = ResponseException.decode(reader, reader.uint32()); - break; - - case 2: - message.echo = ResponseEcho.decode(reader, reader.uint32()); - break; - - case 3: - message.flush = ResponseFlush.decode(reader, reader.uint32()); - break; - - case 4: - message.info = ResponseInfo.decode(reader, reader.uint32()); - break; - - case 5: - message.setOption = ResponseSetOption.decode(reader, reader.uint32()); - break; - - case 6: - message.initChain = ResponseInitChain.decode(reader, reader.uint32()); - break; - - case 7: - message.query = ResponseQuery.decode(reader, reader.uint32()); - break; - - case 8: - message.beginBlock = ResponseBeginBlock.decode(reader, reader.uint32()); - break; - - case 9: - message.checkTx = ResponseCheckTx.decode(reader, reader.uint32()); - break; - - case 10: - message.deliverTx = ResponseDeliverTx.decode(reader, reader.uint32()); - break; - - case 11: - message.endBlock = ResponseEndBlock.decode(reader, reader.uint32()); - break; - - case 12: - message.commit = ResponseCommit.decode(reader, reader.uint32()); - break; - - case 13: - message.listSnapshots = ResponseListSnapshots.decode(reader, reader.uint32()); - break; - - case 14: - message.offerSnapshot = ResponseOfferSnapshot.decode(reader, reader.uint32()); - break; - - case 15: - message.loadSnapshotChunk = ResponseLoadSnapshotChunk.decode(reader, reader.uint32()); - break; - - case 16: - message.applySnapshotChunk = ResponseApplySnapshotChunk.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Response { - const message = createBaseResponse(); - message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; - message.echo = object.echo !== undefined && object.echo !== null ? ResponseEcho.fromPartial(object.echo) : undefined; - message.flush = object.flush !== undefined && object.flush !== null ? ResponseFlush.fromPartial(object.flush) : undefined; - message.info = object.info !== undefined && object.info !== null ? ResponseInfo.fromPartial(object.info) : undefined; - message.setOption = object.setOption !== undefined && object.setOption !== null ? ResponseSetOption.fromPartial(object.setOption) : undefined; - message.initChain = object.initChain !== undefined && object.initChain !== null ? ResponseInitChain.fromPartial(object.initChain) : undefined; - message.query = object.query !== undefined && object.query !== null ? ResponseQuery.fromPartial(object.query) : undefined; - message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? ResponseBeginBlock.fromPartial(object.beginBlock) : undefined; - message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? ResponseCheckTx.fromPartial(object.checkTx) : undefined; - message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? ResponseDeliverTx.fromPartial(object.deliverTx) : undefined; - message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? ResponseEndBlock.fromPartial(object.endBlock) : undefined; - message.commit = object.commit !== undefined && object.commit !== null ? ResponseCommit.fromPartial(object.commit) : undefined; - message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? ResponseListSnapshots.fromPartial(object.listSnapshots) : undefined; - message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? ResponseOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; - message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? ResponseLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; - message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; - return message; - } - -}; - -function createBaseResponseException(): ResponseException { - return { - error: "" - }; -} - -export const ResponseException = { - encode(message: ResponseException, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.error !== "") { - writer.uint32(10).string(message.error); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseException(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.error = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseException { - const message = createBaseResponseException(); - message.error = object.error ?? ""; - return message; - } - -}; - -function createBaseResponseEcho(): ResponseEcho { - return { - message: "" - }; -} - -export const ResponseEcho = { - encode(message: ResponseEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.message !== "") { - writer.uint32(10).string(message.message); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseEcho(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.message = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseEcho { - const message = createBaseResponseEcho(); - message.message = object.message ?? ""; - return message; - } - -}; - -function createBaseResponseFlush(): ResponseFlush { - return {}; -} - -export const ResponseFlush = { - encode(_: ResponseFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseFlush(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: Partial): ResponseFlush { - const message = createBaseResponseFlush(); - return message; - } - -}; - -function createBaseResponseInfo(): ResponseInfo { - return { - data: "", - version: "", - appVersion: Long.UZERO, - lastBlockHeight: Long.ZERO, - lastBlockAppHash: new Uint8Array() - }; -} - -export const ResponseInfo = { - encode(message: ResponseInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data !== "") { - writer.uint32(10).string(message.data); - } - - if (message.version !== "") { - writer.uint32(18).string(message.version); - } - - if (!message.appVersion.isZero()) { - writer.uint32(24).uint64(message.appVersion); - } - - if (!message.lastBlockHeight.isZero()) { - writer.uint32(32).int64(message.lastBlockHeight); - } - - if (message.lastBlockAppHash.length !== 0) { - writer.uint32(42).bytes(message.lastBlockAppHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.data = reader.string(); - break; - - case 2: - message.version = reader.string(); - break; - - case 3: - message.appVersion = (reader.uint64() as Long); - break; - - case 4: - message.lastBlockHeight = (reader.int64() as Long); - break; - - case 5: - message.lastBlockAppHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseInfo { - const message = createBaseResponseInfo(); - message.data = object.data ?? ""; - message.version = object.version ?? ""; - message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; - message.lastBlockHeight = object.lastBlockHeight !== undefined && object.lastBlockHeight !== null ? Long.fromValue(object.lastBlockHeight) : Long.ZERO; - message.lastBlockAppHash = object.lastBlockAppHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseResponseSetOption(): ResponseSetOption { - return { - code: 0, - log: "", - info: "" - }; -} - -export const ResponseSetOption = { - encode(message: ResponseSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseSetOption(); - - 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; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseSetOption { - const message = createBaseResponseSetOption(); - message.code = object.code ?? 0; - message.log = object.log ?? ""; - message.info = object.info ?? ""; - return message; - } - -}; - -function createBaseResponseInitChain(): ResponseInitChain { - return { - consensusParams: undefined, - validators: [], - appHash: new Uint8Array() - }; -} - -export const ResponseInitChain = { - encode(message: ResponseInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consensusParams !== undefined) { - ConsensusParams.encode(message.consensusParams, writer.uint32(10).fork()).ldelim(); - } - - for (const v of message.validators) { - ValidatorUpdate.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.appHash.length !== 0) { - writer.uint32(26).bytes(message.appHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseInitChain(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); - break; - - case 2: - message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); - break; - - case 3: - message.appHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseInitChain { - const message = createBaseResponseInitChain(); - message.consensusParams = object.consensusParams !== undefined && object.consensusParams !== null ? ConsensusParams.fromPartial(object.consensusParams) : undefined; - message.validators = object.validators?.map(e => ValidatorUpdate.fromPartial(e)) || []; - message.appHash = object.appHash ?? new Uint8Array(); - return message; - } - -}; - -function createBaseResponseQuery(): ResponseQuery { - return { - code: 0, - log: "", - info: "", - index: Long.ZERO, - key: new Uint8Array(), - value: new Uint8Array(), - proofOps: undefined, - height: Long.ZERO, - codespace: "" - }; -} - -export const ResponseQuery = { - encode(message: ResponseQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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.isZero()) { - 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.isZero()) { - writer.uint32(72).int64(message.height); - } - - if (message.codespace !== "") { - writer.uint32(82).string(message.codespace); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseQuery(); - - 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() as Long); - 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() as Long); - break; - - case 10: - message.codespace = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseQuery { - const message = createBaseResponseQuery(); - message.code = object.code ?? 0; - message.log = object.log ?? ""; - message.info = object.info ?? ""; - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; - 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 ? Long.fromValue(object.height) : Long.ZERO; - message.codespace = object.codespace ?? ""; - return message; - } - -}; - -function createBaseResponseBeginBlock(): ResponseBeginBlock { - return { - events: [] - }; -} - -export const ResponseBeginBlock = { - encode(message: ResponseBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.events) { - Event.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseBeginBlock(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseBeginBlock { - const message = createBaseResponseBeginBlock(); - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseResponseCheckTx(): ResponseCheckTx { - return { - code: 0, - data: new Uint8Array(), - log: "", - info: "", - gasWanted: Long.ZERO, - gasUsed: Long.ZERO, - events: [], - codespace: "" - }; -} - -export const ResponseCheckTx = { - encode(message: ResponseCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.code !== 0) { - writer.uint32(8).uint32(message.code); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - if (message.log !== "") { - writer.uint32(26).string(message.log); - } - - if (message.info !== "") { - writer.uint32(34).string(message.info); - } - - if (!message.gasWanted.isZero()) { - writer.uint32(40).int64(message.gasWanted); - } - - if (!message.gasUsed.isZero()) { - writer.uint32(48).int64(message.gasUsed); - } - - for (const v of message.events) { - Event.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (message.codespace !== "") { - writer.uint32(66).string(message.codespace); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseCheckTx(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.code = reader.uint32(); - break; - - case 2: - message.data = reader.bytes(); - break; - - case 3: - message.log = reader.string(); - break; - - case 4: - message.info = reader.string(); - break; - - case 5: - message.gasWanted = (reader.int64() as Long); - break; - - case 6: - message.gasUsed = (reader.int64() as Long); - break; - - case 7: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - case 8: - message.codespace = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseCheckTx { - const message = createBaseResponseCheckTx(); - message.code = object.code ?? 0; - message.data = object.data ?? new Uint8Array(); - message.log = object.log ?? ""; - message.info = object.info ?? ""; - message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; - message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - message.codespace = object.codespace ?? ""; - return message; - } - -}; - -function createBaseResponseDeliverTx(): ResponseDeliverTx { - return { - code: 0, - data: new Uint8Array(), - log: "", - info: "", - gasWanted: Long.ZERO, - gasUsed: Long.ZERO, - events: [], - codespace: "" - }; -} - -export const ResponseDeliverTx = { - encode(message: ResponseDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.code !== 0) { - writer.uint32(8).uint32(message.code); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - if (message.log !== "") { - writer.uint32(26).string(message.log); - } - - if (message.info !== "") { - writer.uint32(34).string(message.info); - } - - if (!message.gasWanted.isZero()) { - writer.uint32(40).int64(message.gasWanted); - } - - if (!message.gasUsed.isZero()) { - writer.uint32(48).int64(message.gasUsed); - } - - for (const v of message.events) { - Event.encode(v!, writer.uint32(58).fork()).ldelim(); - } - - if (message.codespace !== "") { - writer.uint32(66).string(message.codespace); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseDeliverTx(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.code = reader.uint32(); - break; - - case 2: - message.data = reader.bytes(); - break; - - case 3: - message.log = reader.string(); - break; - - case 4: - message.info = reader.string(); - break; - - case 5: - message.gasWanted = (reader.int64() as Long); - break; - - case 6: - message.gasUsed = (reader.int64() as Long); - break; - - case 7: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - case 8: - message.codespace = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseDeliverTx { - const message = createBaseResponseDeliverTx(); - message.code = object.code ?? 0; - message.data = object.data ?? new Uint8Array(); - message.log = object.log ?? ""; - message.info = object.info ?? ""; - message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; - message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - message.codespace = object.codespace ?? ""; - return message; - } - -}; - -function createBaseResponseEndBlock(): ResponseEndBlock { - return { - validatorUpdates: [], - consensusParamUpdates: undefined, - events: [] - }; -} - -export const ResponseEndBlock = { - encode(message: ResponseEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validatorUpdates) { - ValidatorUpdate.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.consensusParamUpdates !== undefined) { - ConsensusParams.encode(message.consensusParamUpdates, writer.uint32(18).fork()).ldelim(); - } - - for (const v of message.events) { - Event.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseEndBlock(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validatorUpdates.push(ValidatorUpdate.decode(reader, reader.uint32())); - break; - - case 2: - message.consensusParamUpdates = ConsensusParams.decode(reader, reader.uint32()); - break; - - case 3: - message.events.push(Event.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseEndBlock { - const message = createBaseResponseEndBlock(); - message.validatorUpdates = object.validatorUpdates?.map(e => ValidatorUpdate.fromPartial(e)) || []; - message.consensusParamUpdates = object.consensusParamUpdates !== undefined && object.consensusParamUpdates !== null ? ConsensusParams.fromPartial(object.consensusParamUpdates) : undefined; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseResponseCommit(): ResponseCommit { - return { - data: new Uint8Array(), - retainHeight: Long.ZERO - }; -} - -export const ResponseCommit = { - encode(message: ResponseCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - if (!message.retainHeight.isZero()) { - writer.uint32(24).int64(message.retainHeight); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseCommit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 2: - message.data = reader.bytes(); - break; - - case 3: - message.retainHeight = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseCommit { - const message = createBaseResponseCommit(); - message.data = object.data ?? new Uint8Array(); - message.retainHeight = object.retainHeight !== undefined && object.retainHeight !== null ? Long.fromValue(object.retainHeight) : Long.ZERO; - return message; - } - -}; - -function createBaseResponseListSnapshots(): ResponseListSnapshots { - return { - snapshots: [] - }; -} - -export const ResponseListSnapshots = { - encode(message: ResponseListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.snapshots) { - Snapshot.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseListSnapshots(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.snapshots.push(Snapshot.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseListSnapshots { - const message = createBaseResponseListSnapshots(); - message.snapshots = object.snapshots?.map(e => Snapshot.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseResponseOfferSnapshot(): ResponseOfferSnapshot { - return { - result: 0 - }; -} - -export const ResponseOfferSnapshot = { - encode(message: ResponseOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.result !== 0) { - writer.uint32(8).int32(message.result); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseOfferSnapshot(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.result = (reader.int32() as any); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseOfferSnapshot { - const message = createBaseResponseOfferSnapshot(); - message.result = object.result ?? 0; - return message; - } - -}; - -function createBaseResponseLoadSnapshotChunk(): ResponseLoadSnapshotChunk { - return { - chunk: new Uint8Array() - }; -} - -export const ResponseLoadSnapshotChunk = { - encode(message: ResponseLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.chunk.length !== 0) { - writer.uint32(10).bytes(message.chunk); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseLoadSnapshotChunk(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.chunk = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseLoadSnapshotChunk { - const message = createBaseResponseLoadSnapshotChunk(); - message.chunk = object.chunk ?? new Uint8Array(); - return message; - } - -}; - -function createBaseResponseApplySnapshotChunk(): ResponseApplySnapshotChunk { - return { - result: 0, - refetchChunks: [], - rejectSenders: [] - }; -} - -export const ResponseApplySnapshotChunk = { - encode(message: ResponseApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.result !== 0) { - writer.uint32(8).int32(message.result); - } - - writer.uint32(18).fork(); - - for (const v of message.refetchChunks) { - writer.uint32(v); - } - - writer.ldelim(); - - for (const v of message.rejectSenders) { - writer.uint32(26).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResponseApplySnapshotChunk(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.result = (reader.int32() as any); - break; - - case 2: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.refetchChunks.push(reader.uint32()); - } - } else { - message.refetchChunks.push(reader.uint32()); - } - - break; - - case 3: - message.rejectSenders.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ResponseApplySnapshotChunk { - const message = createBaseResponseApplySnapshotChunk(); - message.result = object.result ?? 0; - message.refetchChunks = object.refetchChunks?.map(e => e) || []; - message.rejectSenders = object.rejectSenders?.map(e => e) || []; - return message; - } - -}; - -function createBaseConsensusParams(): ConsensusParams { - return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined - }; -} - -export const ConsensusParams = { - encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.block !== undefined) { - BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); - } - - if (message.evidence !== undefined) { - EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); - } - - if (message.validator !== undefined) { - ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); - } - - if (message.version !== undefined) { - VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.block = BlockParams.decode(reader, reader.uint32()); - break; - - case 2: - message.evidence = EvidenceParams.decode(reader, reader.uint32()); - break; - - case 3: - message.validator = ValidatorParams.decode(reader, reader.uint32()); - break; - - case 4: - message.version = VersionParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusParams { - const message = createBaseConsensusParams(); - message.block = object.block !== undefined && object.block !== null ? BlockParams.fromPartial(object.block) : undefined; - message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; - message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; - message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; - return message; - } - -}; - -function createBaseBlockParams(): BlockParams { - return { - maxBytes: Long.ZERO, - maxGas: Long.ZERO - }; -} - -export const BlockParams = { - encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxBytes.isZero()) { - writer.uint32(8).int64(message.maxBytes); - } - - if (!message.maxGas.isZero()) { - writer.uint32(16).int64(message.maxGas); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.maxBytes = (reader.int64() as Long); - break; - - case 2: - message.maxGas = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BlockParams { - const message = createBaseBlockParams(); - message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; - message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; - return message; - } - -}; - -function createBaseLastCommitInfo(): LastCommitInfo { - return { - round: 0, - votes: [] - }; -} - -export const LastCommitInfo = { - encode(message: LastCommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.round !== 0) { - writer.uint32(8).int32(message.round); - } - - for (const v of message.votes) { - VoteInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LastCommitInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLastCommitInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.round = reader.int32(); - break; - - case 2: - message.votes.push(VoteInfo.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): LastCommitInfo { - const message = createBaseLastCommitInfo(); - message.round = object.round ?? 0; - message.votes = object.votes?.map(e => VoteInfo.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseEvent(): Event { - return { - type: "", - attributes: [] - }; -} - -export const Event = { - encode(message: Event, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - - for (const v of message.attributes) { - EventAttribute.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Event { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvent(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - - case 2: - message.attributes.push(EventAttribute.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Event { - const message = createBaseEvent(); - message.type = object.type ?? ""; - message.attributes = object.attributes?.map(e => EventAttribute.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseEventAttribute(): EventAttribute { - return { - key: new Uint8Array(), - value: new Uint8Array(), - index: false - }; -} - -export const EventAttribute = { - encode(message: EventAttribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - - if (message.index === true) { - writer.uint32(24).bool(message.index); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventAttribute(); - - 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.index = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EventAttribute { - const message = createBaseEventAttribute(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - message.index = object.index ?? false; - return message; - } - -}; - -function createBaseTxResult(): TxResult { - return { - height: Long.ZERO, - index: 0, - tx: new Uint8Array(), - result: undefined - }; -} - -export const TxResult = { - encode(message: TxResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.index !== 0) { - writer.uint32(16).uint32(message.index); - } - - if (message.tx.length !== 0) { - writer.uint32(26).bytes(message.tx); - } - - if (message.result !== undefined) { - ResponseDeliverTx.encode(message.result, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxResult(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - case 2: - message.index = reader.uint32(); - break; - - case 3: - message.tx = reader.bytes(); - break; - - case 4: - message.result = ResponseDeliverTx.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxResult { - const message = createBaseTxResult(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.index = object.index ?? 0; - message.tx = object.tx ?? new Uint8Array(); - message.result = object.result !== undefined && object.result !== null ? ResponseDeliverTx.fromPartial(object.result) : undefined; - return message; - } - -}; - -function createBaseValidator(): Validator { - return { - address: new Uint8Array(), - power: Long.ZERO - }; -} - -export const Validator = { - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address.length !== 0) { - writer.uint32(10).bytes(message.address); - } - - if (!message.power.isZero()) { - writer.uint32(24).int64(message.power); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); - break; - - case 3: - message.power = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Validator { - const message = createBaseValidator(); - message.address = object.address ?? new Uint8Array(); - message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; - return message; - } - -}; - -function createBaseValidatorUpdate(): ValidatorUpdate { - return { - pubKey: undefined, - power: Long.ZERO - }; -} - -export const ValidatorUpdate = { - encode(message: ValidatorUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pubKey !== undefined) { - PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); - } - - if (!message.power.isZero()) { - writer.uint32(16).int64(message.power); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorUpdate(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pubKey = PublicKey.decode(reader, reader.uint32()); - break; - - case 2: - message.power = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorUpdate { - const message = createBaseValidatorUpdate(); - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; - message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; - return message; - } - -}; - -function createBaseVoteInfo(): VoteInfo { - return { - validator: undefined, - signedLastBlock: false - }; -} - -export const VoteInfo = { - encode(message: VoteInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); - } - - if (message.signedLastBlock === true) { - writer.uint32(16).bool(message.signedLastBlock); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVoteInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validator = Validator.decode(reader, reader.uint32()); - break; - - case 2: - message.signedLastBlock = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): VoteInfo { - const message = createBaseVoteInfo(); - message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; - message.signedLastBlock = object.signedLastBlock ?? false; - return message; - } - -}; - -function createBaseEvidence(): Evidence { - return { - type: 0, - validator: undefined, - height: Long.ZERO, - time: undefined, - totalVotingPower: Long.ZERO - }; -} - -export const Evidence = { - encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== 0) { - writer.uint32(8).int32(message.type); - } - - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(18).fork()).ldelim(); - } - - if (!message.height.isZero()) { - writer.uint32(24).int64(message.height); - } - - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); - } - - if (!message.totalVotingPower.isZero()) { - writer.uint32(40).int64(message.totalVotingPower); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvidence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.type = (reader.int32() as any); - break; - - case 2: - message.validator = Validator.decode(reader, reader.uint32()); - break; - - case 3: - message.height = (reader.int64() as Long); - break; - - case 4: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 5: - message.totalVotingPower = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Evidence { - const message = createBaseEvidence(); - 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 ? Long.fromValue(object.height) : Long.ZERO; - message.time = object.time ?? undefined; - message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; - return message; - } - -}; - -function createBaseSnapshot(): Snapshot { - return { - height: Long.UZERO, - format: 0, - chunks: 0, - hash: new Uint8Array(), - metadata: new Uint8Array() - }; -} - -export const Snapshot = { - encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - 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.length !== 0) { - writer.uint32(42).bytes(message.metadata); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - 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 = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Snapshot { - const message = createBaseSnapshot(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; - message.format = object.format ?? 0; - message.chunks = object.chunks ?? 0; - message.hash = object.hash ?? new Uint8Array(); - message.metadata = object.metadata ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/bundle.ts b/examples/telescope/codegen/tendermint/bundle.ts deleted file mode 100644 index 22fa7923b..000000000 --- a/examples/telescope/codegen/tendermint/bundle.ts +++ /dev/null @@ -1,32 +0,0 @@ -import * as _132 from "./abci/types"; -import * as _133 from "./crypto/keys"; -import * as _134 from "./crypto/proof"; -import * as _135 from "./libs/bits/types"; -import * as _136 from "./p2p/types"; -import * as _137 from "./types/block"; -import * as _138 from "./types/evidence"; -import * as _139 from "./types/params"; -import * as _140 from "./types/types"; -import * as _141 from "./types/validator"; -import * as _142 from "./version/types"; -export namespace tendermint { - export const abci = { ..._132 - }; - export const crypto = { ..._133, - ..._134 - }; - export namespace libs { - export const bits = { ..._135 - }; - } - export const p2p = { ..._136 - }; - export const types = { ..._137, - ..._138, - ..._139, - ..._140, - ..._141 - }; - export const version = { ..._142 - }; -} \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/keys.ts b/examples/telescope/codegen/tendermint/crypto/keys.ts deleted file mode 100644 index c38413da3..000000000 --- a/examples/telescope/codegen/tendermint/crypto/keys.ts +++ /dev/null @@ -1,68 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** PublicKey defines the keys available for use with Tendermint Validators */ - -export interface PublicKey { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -/** PublicKey defines the keys available for use with Tendermint Validators */ - -export interface PublicKeySDKType { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} - -function createBasePublicKey(): PublicKey { - return { - ed25519: undefined, - secp256k1: undefined - }; -} - -export const PublicKey = { - encode(message: PublicKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.ed25519 !== undefined) { - writer.uint32(10).bytes(message.ed25519); - } - - if (message.secp256k1 !== undefined) { - writer.uint32(18).bytes(message.secp256k1); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePublicKey(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.ed25519 = reader.bytes(); - break; - - case 2: - message.secp256k1 = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PublicKey { - const message = createBasePublicKey(); - message.ed25519 = object.ed25519 ?? undefined; - message.secp256k1 = object.secp256k1 ?? undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/proof.ts b/examples/telescope/codegen/tendermint/crypto/proof.ts deleted file mode 100644 index 3c742f03e..000000000 --- a/examples/telescope/codegen/tendermint/crypto/proof.ts +++ /dev/null @@ -1,375 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -export interface Proof { - total: Long; - index: Long; - leafHash: Uint8Array; - aunts: Uint8Array[]; -} -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 | undefined; -} -export interface ValueOpSDKType { - /** Encoded in ProofOp.Key. */ - key: Uint8Array; - /** To encode in ProofOp.Data */ - - proof?: ProofSDKType | undefined; -} -export interface DominoOp { - key: string; - input: string; - output: string; -} -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; -} -/** - * 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[]; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ - -export interface ProofOpsSDKType { - ops: ProofOpSDKType[]; -} - -function createBaseProof(): Proof { - return { - total: Long.ZERO, - index: Long.ZERO, - leafHash: new Uint8Array(), - aunts: [] - }; -} - -export const Proof = { - encode(message: Proof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.total.isZero()) { - writer.uint32(8).int64(message.total); - } - - if (!message.index.isZero()) { - writer.uint32(16).int64(message.index); - } - - if (message.leafHash.length !== 0) { - writer.uint32(26).bytes(message.leafHash); - } - - for (const v of message.aunts) { - writer.uint32(34).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Proof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.total = (reader.int64() as Long); - break; - - case 2: - message.index = (reader.int64() as Long); - break; - - case 3: - message.leafHash = reader.bytes(); - break; - - case 4: - message.aunts.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Proof { - const message = createBaseProof(); - message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.ZERO; - message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; - message.leafHash = object.leafHash ?? new Uint8Array(); - message.aunts = object.aunts?.map(e => e) || []; - return message; - } - -}; - -function createBaseValueOp(): ValueOp { - return { - key: new Uint8Array(), - proof: undefined - }; -} - -export const ValueOp = { - encode(message: ValueOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - - if (message.proof !== undefined) { - Proof.encode(message.proof, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValueOp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - - case 2: - message.proof = Proof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValueOp { - const message = createBaseValueOp(); - message.key = object.key ?? new Uint8Array(); - message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; - return message; - } - -}; - -function createBaseDominoOp(): DominoOp { - return { - key: "", - input: "", - output: "" - }; -} - -export const DominoOp = { - encode(message: DominoOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - - if (message.input !== "") { - writer.uint32(18).string(message.input); - } - - if (message.output !== "") { - writer.uint32(26).string(message.output); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDominoOp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - - case 2: - message.input = reader.string(); - break; - - case 3: - message.output = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): DominoOp { - const message = createBaseDominoOp(); - message.key = object.key ?? ""; - message.input = object.input ?? ""; - message.output = object.output ?? ""; - return message; - } - -}; - -function createBaseProofOp(): ProofOp { - return { - type: "", - key: new Uint8Array(), - data: new Uint8Array() - }; -} - -export const ProofOp = { - encode(message: ProofOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): ProofOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; - -function createBaseProofOps(): ProofOps { - return { - ops: [] - }; -} - -export const ProofOps = { - encode(message: ProofOps, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.ops) { - ProofOp.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - fromPartial(object: Partial): ProofOps { - const message = createBaseProofOps(); - message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/libs/bits/types.ts b/examples/telescope/codegen/tendermint/libs/bits/types.ts deleted file mode 100644 index 46f450393..000000000 --- a/examples/telescope/codegen/tendermint/libs/bits/types.ts +++ /dev/null @@ -1,77 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../../helpers"; -export interface BitArray { - bits: Long; - elems: Long[]; -} -export interface BitArraySDKType { - bits: Long; - elems: Long[]; -} - -function createBaseBitArray(): BitArray { - return { - bits: Long.ZERO, - elems: [] - }; -} - -export const BitArray = { - encode(message: BitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.bits.isZero()) { - writer.uint32(8).int64(message.bits); - } - - writer.uint32(18).fork(); - - for (const v of message.elems) { - writer.uint64(v); - } - - writer.ldelim(); - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BitArray { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBitArray(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.bits = (reader.int64() as Long); - break; - - case 2: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - - while (reader.pos < end2) { - message.elems.push((reader.uint64() as Long)); - } - } else { - message.elems.push((reader.uint64() as Long)); - } - - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BitArray { - const message = createBaseBitArray(); - message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; - message.elems = object.elems?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/p2p/types.ts b/examples/telescope/codegen/tendermint/p2p/types.ts deleted file mode 100644 index 9f412046d..000000000 --- a/examples/telescope/codegen/tendermint/p2p/types.ts +++ /dev/null @@ -1,438 +0,0 @@ -import { Timestamp } from "../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { Long, toTimestamp, fromTimestamp } from "../../helpers"; -export interface ProtocolVersion { - p2p: Long; - block: Long; - app: Long; -} -export interface ProtocolVersionSDKType { - p2p: Long; - block: Long; - app: Long; -} -export interface NodeInfo { - protocolVersion?: ProtocolVersion | undefined; - nodeId: string; - listenAddr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOther | undefined; -} -export interface NodeInfoSDKType { - protocol_version?: ProtocolVersionSDKType | undefined; - node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOtherSDKType | undefined; -} -export interface NodeInfoOther { - txIndex: string; - rpcAddress: string; -} -export interface NodeInfoOtherSDKType { - tx_index: string; - rpc_address: string; -} -export interface PeerInfo { - id: string; - addressInfo: PeerAddressInfo[]; - lastConnected?: Date | undefined; -} -export interface PeerInfoSDKType { - id: string; - address_info: PeerAddressInfoSDKType[]; - last_connected?: Date | undefined; -} -export interface PeerAddressInfo { - address: string; - lastDialSuccess?: Date | undefined; - lastDialFailure?: Date | undefined; - dialFailures: number; -} -export interface PeerAddressInfoSDKType { - address: string; - last_dial_success?: Date | undefined; - last_dial_failure?: Date | undefined; - dial_failures: number; -} - -function createBaseProtocolVersion(): ProtocolVersion { - return { - p2p: Long.UZERO, - block: Long.UZERO, - app: Long.UZERO - }; -} - -export const ProtocolVersion = { - encode(message: ProtocolVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.p2p.isZero()) { - writer.uint32(8).uint64(message.p2p); - } - - if (!message.block.isZero()) { - writer.uint32(16).uint64(message.block); - } - - if (!message.app.isZero()) { - writer.uint32(24).uint64(message.app); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProtocolVersion(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.p2p = (reader.uint64() as Long); - break; - - case 2: - message.block = (reader.uint64() as Long); - break; - - case 3: - message.app = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ProtocolVersion { - const message = createBaseProtocolVersion(); - message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; - message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; - message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; - return message; - } - -}; - -function createBaseNodeInfo(): NodeInfo { - return { - protocolVersion: undefined, - nodeId: "", - listenAddr: "", - network: "", - version: "", - channels: new Uint8Array(), - moniker: "", - other: undefined - }; -} - -export const NodeInfo = { - encode(message: NodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.protocolVersion !== undefined) { - ProtocolVersion.encode(message.protocolVersion, writer.uint32(10).fork()).ldelim(); - } - - if (message.nodeId !== "") { - writer.uint32(18).string(message.nodeId); - } - - if (message.listenAddr !== "") { - writer.uint32(26).string(message.listenAddr); - } - - if (message.network !== "") { - writer.uint32(34).string(message.network); - } - - if (message.version !== "") { - writer.uint32(42).string(message.version); - } - - if (message.channels.length !== 0) { - writer.uint32(50).bytes(message.channels); - } - - if (message.moniker !== "") { - writer.uint32(58).string(message.moniker); - } - - if (message.other !== undefined) { - NodeInfoOther.encode(message.other, writer.uint32(66).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNodeInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.protocolVersion = ProtocolVersion.decode(reader, reader.uint32()); - break; - - case 2: - message.nodeId = reader.string(); - break; - - case 3: - message.listenAddr = reader.string(); - break; - - case 4: - message.network = reader.string(); - break; - - case 5: - message.version = reader.string(); - break; - - case 6: - message.channels = reader.bytes(); - break; - - case 7: - message.moniker = reader.string(); - break; - - case 8: - message.other = NodeInfoOther.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): NodeInfo { - const message = createBaseNodeInfo(); - message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; - message.nodeId = object.nodeId ?? ""; - message.listenAddr = object.listenAddr ?? ""; - message.network = object.network ?? ""; - message.version = object.version ?? ""; - message.channels = object.channels ?? new Uint8Array(); - message.moniker = object.moniker ?? ""; - message.other = object.other !== undefined && object.other !== null ? NodeInfoOther.fromPartial(object.other) : undefined; - return message; - } - -}; - -function createBaseNodeInfoOther(): NodeInfoOther { - return { - txIndex: "", - rpcAddress: "" - }; -} - -export const NodeInfoOther = { - encode(message: NodeInfoOther, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.txIndex !== "") { - writer.uint32(10).string(message.txIndex); - } - - if (message.rpcAddress !== "") { - writer.uint32(18).string(message.rpcAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfoOther { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNodeInfoOther(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txIndex = reader.string(); - break; - - case 2: - message.rpcAddress = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): NodeInfoOther { - const message = createBaseNodeInfoOther(); - message.txIndex = object.txIndex ?? ""; - message.rpcAddress = object.rpcAddress ?? ""; - return message; - } - -}; - -function createBasePeerInfo(): PeerInfo { - return { - id: "", - addressInfo: [], - lastConnected: undefined - }; -} - -export const PeerInfo = { - encode(message: PeerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - - for (const v of message.addressInfo) { - PeerAddressInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - if (message.lastConnected !== undefined) { - Timestamp.encode(toTimestamp(message.lastConnected), writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PeerInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeerInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - - case 2: - message.addressInfo.push(PeerAddressInfo.decode(reader, reader.uint32())); - break; - - case 3: - message.lastConnected = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PeerInfo { - const message = createBasePeerInfo(); - message.id = object.id ?? ""; - message.addressInfo = object.addressInfo?.map(e => PeerAddressInfo.fromPartial(e)) || []; - message.lastConnected = object.lastConnected ?? undefined; - return message; - } - -}; - -function createBasePeerAddressInfo(): PeerAddressInfo { - return { - address: "", - lastDialSuccess: undefined, - lastDialFailure: undefined, - dialFailures: 0 - }; -} - -export const PeerAddressInfo = { - encode(message: PeerAddressInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - - if (message.lastDialSuccess !== undefined) { - Timestamp.encode(toTimestamp(message.lastDialSuccess), writer.uint32(18).fork()).ldelim(); - } - - if (message.lastDialFailure !== undefined) { - Timestamp.encode(toTimestamp(message.lastDialFailure), writer.uint32(26).fork()).ldelim(); - } - - if (message.dialFailures !== 0) { - writer.uint32(32).uint32(message.dialFailures); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PeerAddressInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeerAddressInfo(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - - case 2: - message.lastDialSuccess = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 3: - message.lastDialFailure = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 4: - message.dialFailures = reader.uint32(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PeerAddressInfo { - const message = createBasePeerAddressInfo(); - message.address = object.address ?? ""; - message.lastDialSuccess = object.lastDialSuccess ?? undefined; - message.lastDialFailure = object.lastDialFailure ?? undefined; - message.dialFailures = object.dialFailures ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/block.ts b/examples/telescope/codegen/tendermint/types/block.ts deleted file mode 100644 index b6f39fec9..000000000 --- a/examples/telescope/codegen/tendermint/types/block.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; -import { EvidenceList, EvidenceListSDKType } from "./evidence"; -import * as _m0 from "protobufjs/minimal"; -export interface Block { - header?: Header | undefined; - data?: Data | undefined; - evidence?: EvidenceList | undefined; - lastCommit?: Commit | undefined; -} -export interface BlockSDKType { - header?: HeaderSDKType | undefined; - data?: DataSDKType | undefined; - evidence?: EvidenceListSDKType | undefined; - last_commit?: CommitSDKType | undefined; -} - -function createBaseBlock(): Block { - return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined - }; -} - -export const Block = { - encode(message: Block, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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: _m0.Reader | Uint8Array, length?: number): Block { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; - }, - - 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; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/evidence.ts b/examples/telescope/codegen/tendermint/types/evidence.ts deleted file mode 100644 index 1e36496fb..000000000 --- a/examples/telescope/codegen/tendermint/types/evidence.ts +++ /dev/null @@ -1,325 +0,0 @@ -import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; -import { Timestamp } from "../../google/protobuf/timestamp"; -import { Validator, ValidatorSDKType } from "./validator"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "../../helpers"; -export interface Evidence { - duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; - lightClientAttackEvidence?: LightClientAttackEvidence | undefined; -} -export interface EvidenceSDKType { - duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType | undefined; - light_client_attack_evidence?: LightClientAttackEvidenceSDKType | undefined; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ - -export interface DuplicateVoteEvidence { - voteA?: Vote | undefined; - voteB?: Vote | undefined; - totalVotingPower: Long; - validatorPower: Long; - timestamp?: Date | undefined; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ - -export interface DuplicateVoteEvidenceSDKType { - vote_a?: VoteSDKType | undefined; - vote_b?: VoteSDKType | undefined; - total_voting_power: Long; - validator_power: Long; - timestamp?: Date | undefined; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ - -export interface LightClientAttackEvidence { - conflictingBlock?: LightBlock | undefined; - commonHeight: Long; - byzantineValidators: Validator[]; - totalVotingPower: Long; - timestamp?: Date | undefined; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ - -export interface LightClientAttackEvidenceSDKType { - conflicting_block?: LightBlockSDKType | undefined; - common_height: Long; - byzantine_validators: ValidatorSDKType[]; - total_voting_power: Long; - timestamp?: Date | undefined; -} -export interface EvidenceList { - evidence: Evidence[]; -} -export interface EvidenceListSDKType { - evidence: EvidenceSDKType[]; -} - -function createBaseEvidence(): Evidence { - return { - duplicateVoteEvidence: undefined, - lightClientAttackEvidence: undefined - }; -} - -export const Evidence = { - encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.duplicateVoteEvidence !== undefined) { - DuplicateVoteEvidence.encode(message.duplicateVoteEvidence, writer.uint32(10).fork()).ldelim(); - } - - if (message.lightClientAttackEvidence !== undefined) { - LightClientAttackEvidence.encode(message.lightClientAttackEvidence, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvidence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.duplicateVoteEvidence = DuplicateVoteEvidence.decode(reader, reader.uint32()); - break; - - case 2: - message.lightClientAttackEvidence = LightClientAttackEvidence.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Evidence { - const message = createBaseEvidence(); - message.duplicateVoteEvidence = object.duplicateVoteEvidence !== undefined && object.duplicateVoteEvidence !== null ? DuplicateVoteEvidence.fromPartial(object.duplicateVoteEvidence) : undefined; - message.lightClientAttackEvidence = object.lightClientAttackEvidence !== undefined && object.lightClientAttackEvidence !== null ? LightClientAttackEvidence.fromPartial(object.lightClientAttackEvidence) : undefined; - return message; - } - -}; - -function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { - return { - voteA: undefined, - voteB: undefined, - totalVotingPower: Long.ZERO, - validatorPower: Long.ZERO, - timestamp: undefined - }; -} - -export const DuplicateVoteEvidence = { - encode(message: DuplicateVoteEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.voteA !== undefined) { - Vote.encode(message.voteA, writer.uint32(10).fork()).ldelim(); - } - - if (message.voteB !== undefined) { - Vote.encode(message.voteB, writer.uint32(18).fork()).ldelim(); - } - - if (!message.totalVotingPower.isZero()) { - writer.uint32(24).int64(message.totalVotingPower); - } - - if (!message.validatorPower.isZero()) { - writer.uint32(32).int64(message.validatorPower); - } - - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDuplicateVoteEvidence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.voteA = Vote.decode(reader, reader.uint32()); - break; - - case 2: - message.voteB = Vote.decode(reader, reader.uint32()); - break; - - case 3: - message.totalVotingPower = (reader.int64() as Long); - break; - - case 4: - message.validatorPower = (reader.int64() as Long); - break; - - case 5: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Long.fromValue(object.totalVotingPower) : Long.ZERO; - message.validatorPower = object.validatorPower !== undefined && object.validatorPower !== null ? Long.fromValue(object.validatorPower) : Long.ZERO; - message.timestamp = object.timestamp ?? undefined; - return message; - } - -}; - -function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { - return { - conflictingBlock: undefined, - commonHeight: Long.ZERO, - byzantineValidators: [], - totalVotingPower: Long.ZERO, - timestamp: undefined - }; -} - -export const LightClientAttackEvidence = { - encode(message: LightClientAttackEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.conflictingBlock !== undefined) { - LightBlock.encode(message.conflictingBlock, writer.uint32(10).fork()).ldelim(); - } - - if (!message.commonHeight.isZero()) { - writer.uint32(16).int64(message.commonHeight); - } - - for (const v of message.byzantineValidators) { - Validator.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - if (!message.totalVotingPower.isZero()) { - writer.uint32(32).int64(message.totalVotingPower); - } - - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLightClientAttackEvidence(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.conflictingBlock = LightBlock.decode(reader, reader.uint32()); - break; - - case 2: - message.commonHeight = (reader.int64() as Long); - break; - - case 3: - message.byzantineValidators.push(Validator.decode(reader, reader.uint32())); - break; - - case 4: - message.totalVotingPower = (reader.int64() as Long); - break; - - case 5: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Long.fromValue(object.commonHeight) : Long.ZERO; - message.byzantineValidators = object.byzantineValidators?.map(e => Validator.fromPartial(e)) || []; - message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; - message.timestamp = object.timestamp ?? undefined; - return message; - } - -}; - -function createBaseEvidenceList(): EvidenceList { - return { - evidence: [] - }; -} - -export const EvidenceList = { - encode(message: EvidenceList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.evidence) { - Evidence.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvidenceList(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.evidence.push(Evidence.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EvidenceList { - const message = createBaseEvidenceList(); - message.evidence = object.evidence?.map(e => Evidence.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/params.ts b/examples/telescope/codegen/tendermint/types/params.ts deleted file mode 100644 index aa14cf61b..000000000 --- a/examples/telescope/codegen/tendermint/types/params.ts +++ /dev/null @@ -1,521 +0,0 @@ -import { Duration, DurationSDKType } from "../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ - -export interface ConsensusParams { - block?: BlockParams | undefined; - evidence?: EvidenceParams | undefined; - validator?: ValidatorParams | undefined; - version?: VersionParams | undefined; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ - -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType | undefined; - evidence?: EvidenceParamsSDKType | undefined; - validator?: ValidatorParamsSDKType | undefined; - version?: VersionParamsSDKType | undefined; -} -/** 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; - /** - * Minimum time increment between consecutive blocks (in milliseconds) If the - * block header timestamp is ahead of the system clock, decrease this value. - * - * Not exposed to the application. - */ - - timeIotaMs: Long; -} -/** BlockParams contains limits on the block size. */ - -export interface BlockParamsSDKType { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - max_bytes: Long; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - - max_gas: Long; - /** - * Minimum time increment between consecutive blocks (in milliseconds) If the - * block header timestamp is ahead of the system clock, decrease this value. - * - * Not exposed to the application. - */ - - time_iota_ms: 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 | undefined; - /** - * 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; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ - -export interface EvidenceParamsSDKType { - /** - * Max age of evidence, in blocks. - * - * The basic formula for calculating this is: MaxAgeDuration / {average block - * time}. - */ - max_age_num_blocks: 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). - */ - - max_age_duration?: DurationSDKType | undefined; - /** - * 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: Long; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ - -export interface ValidatorParams { - pubKeyTypes: string[]; -} -/** - * 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 { - appVersion: Long; -} -/** VersionParams contains the ABCI application version. */ - -export interface VersionParamsSDKType { - app_version: Long; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ - -export interface HashedParams { - blockMaxBytes: Long; - blockMaxGas: Long; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ - -export interface HashedParamsSDKType { - block_max_bytes: Long; - block_max_gas: Long; -} - -function createBaseConsensusParams(): ConsensusParams { - return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined - }; -} - -export const ConsensusParams = { - encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.block !== undefined) { - BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); - } - - if (message.evidence !== undefined) { - EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); - } - - if (message.validator !== undefined) { - ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); - } - - if (message.version !== undefined) { - VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensusParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.block = BlockParams.decode(reader, reader.uint32()); - break; - - case 2: - message.evidence = EvidenceParams.decode(reader, reader.uint32()); - break; - - case 3: - message.validator = ValidatorParams.decode(reader, reader.uint32()); - break; - - case 4: - message.version = VersionParams.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ConsensusParams { - const message = createBaseConsensusParams(); - message.block = object.block !== undefined && object.block !== null ? BlockParams.fromPartial(object.block) : undefined; - message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; - message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; - message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; - return message; - } - -}; - -function createBaseBlockParams(): BlockParams { - return { - maxBytes: Long.ZERO, - maxGas: Long.ZERO, - timeIotaMs: Long.ZERO - }; -} - -export const BlockParams = { - encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxBytes.isZero()) { - writer.uint32(8).int64(message.maxBytes); - } - - if (!message.maxGas.isZero()) { - writer.uint32(16).int64(message.maxGas); - } - - if (!message.timeIotaMs.isZero()) { - writer.uint32(24).int64(message.timeIotaMs); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.maxBytes = (reader.int64() as Long); - break; - - case 2: - message.maxGas = (reader.int64() as Long); - break; - - case 3: - message.timeIotaMs = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BlockParams { - const message = createBaseBlockParams(); - message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; - message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; - message.timeIotaMs = object.timeIotaMs !== undefined && object.timeIotaMs !== null ? Long.fromValue(object.timeIotaMs) : Long.ZERO; - return message; - } - -}; - -function createBaseEvidenceParams(): EvidenceParams { - return { - maxAgeNumBlocks: Long.ZERO, - maxAgeDuration: undefined, - maxBytes: Long.ZERO - }; -} - -export const EvidenceParams = { - encode(message: EvidenceParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxAgeNumBlocks.isZero()) { - writer.uint32(8).int64(message.maxAgeNumBlocks); - } - - if (message.maxAgeDuration !== undefined) { - Duration.encode(message.maxAgeDuration, writer.uint32(18).fork()).ldelim(); - } - - if (!message.maxBytes.isZero()) { - writer.uint32(24).int64(message.maxBytes); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvidenceParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.maxAgeNumBlocks = (reader.int64() as Long); - break; - - case 2: - message.maxAgeDuration = Duration.decode(reader, reader.uint32()); - break; - - case 3: - message.maxBytes = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): EvidenceParams { - const message = createBaseEvidenceParams(); - message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; - message.maxAgeDuration = object.maxAgeDuration !== undefined && object.maxAgeDuration !== null ? Duration.fromPartial(object.maxAgeDuration) : undefined; - message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; - return message; - } - -}; - -function createBaseValidatorParams(): ValidatorParams { - return { - pubKeyTypes: [] - }; -} - -export const ValidatorParams = { - encode(message: ValidatorParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pubKeyTypes) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pubKeyTypes.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorParams { - const message = createBaseValidatorParams(); - message.pubKeyTypes = object.pubKeyTypes?.map(e => e) || []; - return message; - } - -}; - -function createBaseVersionParams(): VersionParams { - return { - appVersion: Long.UZERO - }; -} - -export const VersionParams = { - encode(message: VersionParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.appVersion.isZero()) { - writer.uint32(8).uint64(message.appVersion); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVersionParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.appVersion = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): VersionParams { - const message = createBaseVersionParams(); - message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; - return message; - } - -}; - -function createBaseHashedParams(): HashedParams { - return { - blockMaxBytes: Long.ZERO, - blockMaxGas: Long.ZERO - }; -} - -export const HashedParams = { - encode(message: HashedParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockMaxBytes.isZero()) { - writer.uint32(8).int64(message.blockMaxBytes); - } - - if (!message.blockMaxGas.isZero()) { - writer.uint32(16).int64(message.blockMaxGas); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHashedParams(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.blockMaxBytes = (reader.int64() as Long); - break; - - case 2: - message.blockMaxGas = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): HashedParams { - const message = createBaseHashedParams(); - message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; - message.blockMaxGas = object.blockMaxGas !== undefined && object.blockMaxGas !== null ? Long.fromValue(object.blockMaxGas) : Long.ZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/types.ts b/examples/telescope/codegen/tendermint/types/types.ts deleted file mode 100644 index ecac9fb1f..000000000 --- a/examples/telescope/codegen/tendermint/types/types.ts +++ /dev/null @@ -1,1401 +0,0 @@ -import { Proof, ProofSDKType } from "../crypto/proof"; -import { Consensus, ConsensusSDKType } from "../version/types"; -import { Timestamp } from "../../google/protobuf/timestamp"; -import { ValidatorSet, ValidatorSetSDKType } from "./validator"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, Long, fromTimestamp } from "../../helpers"; -/** BlockIdFlag indicates which BlcokID the signature is for */ - -export enum BlockIDFlag { - BLOCK_ID_FLAG_UNKNOWN = 0, - BLOCK_ID_FLAG_ABSENT = 1, - BLOCK_ID_FLAG_COMMIT = 2, - BLOCK_ID_FLAG_NIL = 3, - UNRECOGNIZED = -1, -} -/** BlockIdFlag indicates which BlcokID the signature is for */ - -export enum BlockIDFlagSDKType { - BLOCK_ID_FLAG_UNKNOWN = 0, - BLOCK_ID_FLAG_ABSENT = 1, - BLOCK_ID_FLAG_COMMIT = 2, - BLOCK_ID_FLAG_NIL = 3, - UNRECOGNIZED = -1, -} -export function blockIDFlagFromJSON(object: any): BlockIDFlag { - switch (object) { - case 0: - case "BLOCK_ID_FLAG_UNKNOWN": - return BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN; - - case 1: - case "BLOCK_ID_FLAG_ABSENT": - return BlockIDFlag.BLOCK_ID_FLAG_ABSENT; - - case 2: - case "BLOCK_ID_FLAG_COMMIT": - return BlockIDFlag.BLOCK_ID_FLAG_COMMIT; - - case 3: - case "BLOCK_ID_FLAG_NIL": - return BlockIDFlag.BLOCK_ID_FLAG_NIL; - - case -1: - case "UNRECOGNIZED": - default: - return BlockIDFlag.UNRECOGNIZED; - } -} -export function blockIDFlagToJSON(object: BlockIDFlag): string { - switch (object) { - case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN: - return "BLOCK_ID_FLAG_UNKNOWN"; - - case BlockIDFlag.BLOCK_ID_FLAG_ABSENT: - return "BLOCK_ID_FLAG_ABSENT"; - - case BlockIDFlag.BLOCK_ID_FLAG_COMMIT: - return "BLOCK_ID_FLAG_COMMIT"; - - case BlockIDFlag.BLOCK_ID_FLAG_NIL: - return "BLOCK_ID_FLAG_NIL"; - - case BlockIDFlag.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** SignedMsgType is a type of signed message in the consensus. */ - -export 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, -} -/** SignedMsgType is a type of signed message in the consensus. */ - -export enum SignedMsgTypeSDKType { - 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { - switch (object) { - case 0: - case "SIGNED_MSG_TYPE_UNKNOWN": - return SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN; - - case 1: - case "SIGNED_MSG_TYPE_PREVOTE": - return SignedMsgType.SIGNED_MSG_TYPE_PREVOTE; - - case 2: - case "SIGNED_MSG_TYPE_PRECOMMIT": - return SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT; - - case 32: - case "SIGNED_MSG_TYPE_PROPOSAL": - return SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL; - - case -1: - case "UNRECOGNIZED": - default: - return SignedMsgType.UNRECOGNIZED; - } -} -export function signedMsgTypeToJSON(object: SignedMsgType): string { - switch (object) { - case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN: - return "SIGNED_MSG_TYPE_UNKNOWN"; - - case SignedMsgType.SIGNED_MSG_TYPE_PREVOTE: - return "SIGNED_MSG_TYPE_PREVOTE"; - - case SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT: - return "SIGNED_MSG_TYPE_PRECOMMIT"; - - case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: - return "SIGNED_MSG_TYPE_PROPOSAL"; - - case SignedMsgType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** PartsetHeader */ - -export interface PartSetHeader { - total: number; - hash: Uint8Array; -} -/** PartsetHeader */ - -export interface PartSetHeaderSDKType { - total: number; - hash: Uint8Array; -} -export interface Part { - index: number; - bytes: Uint8Array; - proof?: Proof | undefined; -} -export interface PartSDKType { - index: number; - bytes: Uint8Array; - proof?: ProofSDKType | undefined; -} -/** BlockID */ - -export interface BlockID { - hash: Uint8Array; - partSetHeader?: PartSetHeader | undefined; -} -/** BlockID */ - -export interface BlockIDSDKType { - hash: Uint8Array; - part_set_header?: PartSetHeaderSDKType | undefined; -} -/** Header defines the structure of a Tendermint block header. */ - -export interface Header { - /** basic block info */ - version?: Consensus | undefined; - chainId: string; - height: Long; - time?: Date | undefined; - /** prev block info */ - - lastBlockId?: BlockID | undefined; - /** 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; -} -/** Header defines the structure of a Tendermint block header. */ - -export interface HeaderSDKType { - /** basic block info */ - version?: ConsensusSDKType | undefined; - chain_id: string; - height: Long; - time?: Date | undefined; - /** prev block info */ - - last_block_id?: BlockIDSDKType | undefined; - /** 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; -} -/** 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[]; -} -/** Data contains the set of transactions included in the block */ - -export interface DataSDKType { - /** - * 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[]; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ - -export interface Vote { - type: SignedMsgType; - height: Long; - round: number; - /** zero if vote is nil. */ - - blockId?: BlockID | undefined; - timestamp?: Date | undefined; - validatorAddress: Uint8Array; - validatorIndex: number; - signature: Uint8Array; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ - -export interface VoteSDKType { - type: SignedMsgTypeSDKType; - height: Long; - round: number; - /** zero if vote is nil. */ - - block_id?: BlockIDSDKType | undefined; - timestamp?: Date | undefined; - 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 | undefined; - signatures: CommitSig[]; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ - -export interface CommitSDKType { - height: Long; - round: number; - block_id?: BlockIDSDKType | undefined; - signatures: CommitSigSDKType[]; -} -/** CommitSig is a part of the Vote included in a Commit. */ - -export interface CommitSig { - blockIdFlag: BlockIDFlag; - validatorAddress: Uint8Array; - timestamp?: Date | undefined; - signature: Uint8Array; -} -/** CommitSig is a part of the Vote included in a Commit. */ - -export interface CommitSigSDKType { - block_id_flag: BlockIDFlagSDKType; - validator_address: Uint8Array; - timestamp?: Date | undefined; - signature: Uint8Array; -} -export interface Proposal { - type: SignedMsgType; - height: Long; - round: number; - polRound: number; - blockId?: BlockID | undefined; - timestamp?: Date | undefined; - signature: Uint8Array; -} -export interface ProposalSDKType { - type: SignedMsgTypeSDKType; - height: Long; - round: number; - pol_round: number; - block_id?: BlockIDSDKType | undefined; - timestamp?: Date | undefined; - signature: Uint8Array; -} -export interface SignedHeader { - header?: Header | undefined; - commit?: Commit | undefined; -} -export interface SignedHeaderSDKType { - header?: HeaderSDKType | undefined; - commit?: CommitSDKType | undefined; -} -export interface LightBlock { - signedHeader?: SignedHeader | undefined; - validatorSet?: ValidatorSet | undefined; -} -export interface LightBlockSDKType { - signed_header?: SignedHeaderSDKType | undefined; - validator_set?: ValidatorSetSDKType | undefined; -} -export interface BlockMeta { - blockId?: BlockID | undefined; - blockSize: Long; - header?: Header | undefined; - numTxs: Long; -} -export interface BlockMetaSDKType { - block_id?: BlockIDSDKType | undefined; - block_size: Long; - header?: HeaderSDKType | undefined; - 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 | undefined; -} -/** 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 | undefined; -} - -function createBasePartSetHeader(): PartSetHeader { - return { - total: 0, - hash: new Uint8Array() - }; -} - -export const PartSetHeader = { - encode(message: PartSetHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.total !== 0) { - writer.uint32(8).uint32(message.total); - } - - if (message.hash.length !== 0) { - writer.uint32(18).bytes(message.hash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePartSetHeader(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.total = reader.uint32(); - break; - - case 2: - message.hash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): PartSetHeader { - const message = createBasePartSetHeader(); - message.total = object.total ?? 0; - message.hash = object.hash ?? new Uint8Array(); - return message; - } - -}; - -function createBasePart(): Part { - return { - index: 0, - bytes: new Uint8Array(), - proof: undefined - }; -} - -export const Part = { - encode(message: Part, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.index !== 0) { - writer.uint32(8).uint32(message.index); - } - - if (message.bytes.length !== 0) { - writer.uint32(18).bytes(message.bytes); - } - - if (message.proof !== undefined) { - Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Part { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePart(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.index = reader.uint32(); - break; - - case 2: - message.bytes = reader.bytes(); - break; - - case 3: - message.proof = Proof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Part { - const message = createBasePart(); - message.index = object.index ?? 0; - message.bytes = object.bytes ?? new Uint8Array(); - message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; - return message; - } - -}; - -function createBaseBlockID(): BlockID { - return { - hash: new Uint8Array(), - partSetHeader: undefined - }; -} - -export const BlockID = { - encode(message: BlockID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash.length !== 0) { - writer.uint32(10).bytes(message.hash); - } - - if (message.partSetHeader !== undefined) { - PartSetHeader.encode(message.partSetHeader, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BlockID { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockID(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.hash = reader.bytes(); - break; - - case 2: - message.partSetHeader = PartSetHeader.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BlockID { - const message = createBaseBlockID(); - message.hash = object.hash ?? new Uint8Array(); - message.partSetHeader = object.partSetHeader !== undefined && object.partSetHeader !== null ? PartSetHeader.fromPartial(object.partSetHeader) : undefined; - return message; - } - -}; - -function createBaseHeader(): Header { - return { - version: undefined, - chainId: "", - height: Long.ZERO, - time: undefined, - lastBlockId: undefined, - 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: new Uint8Array() - }; -} - -export const Header = { - encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - 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.isZero()) { - writer.uint32(24).int64(message.height); - } - - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(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.length !== 0) { - writer.uint32(114).bytes(message.proposerAddress); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Header { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); - break; - - case 4: - message.time = fromTimestamp(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.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - 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 ? Long.fromValue(object.height) : Long.ZERO; - 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(); - 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 ?? new Uint8Array(); - return message; - } - -}; - -function createBaseData(): Data { - return { - txs: [] - }; -} - -export const Data = { - encode(message: Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.txs) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Data { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseData(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.txs.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Data { - const message = createBaseData(); - message.txs = object.txs?.map(e => e) || []; - return message; - } - -}; - -function createBaseVote(): Vote { - return { - type: 0, - height: Long.ZERO, - round: 0, - blockId: undefined, - timestamp: undefined, - validatorAddress: new Uint8Array(), - validatorIndex: 0, - signature: new Uint8Array() - }; -} - -export const Vote = { - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== 0) { - writer.uint32(8).int32(message.type); - } - - if (!message.height.isZero()) { - writer.uint32(16).int64(message.height); - } - - if (message.round !== 0) { - writer.uint32(24).int32(message.round); - } - - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim(); - } - - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); - } - - if (message.validatorAddress.length !== 0) { - writer.uint32(50).bytes(message.validatorAddress); - } - - if (message.validatorIndex !== 0) { - writer.uint32(56).int32(message.validatorIndex); - } - - if (message.signature.length !== 0) { - writer.uint32(66).bytes(message.signature); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.type = (reader.int32() as any); - break; - - case 2: - message.height = (reader.int64() as Long); - break; - - case 3: - message.round = reader.int32(); - break; - - case 4: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - - case 5: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 6: - message.validatorAddress = reader.bytes(); - break; - - case 7: - message.validatorIndex = reader.int32(); - break; - - case 8: - message.signature = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Vote { - const message = createBaseVote(); - message.type = object.type ?? 0; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.round = object.round ?? 0; - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.timestamp = object.timestamp ?? undefined; - message.validatorAddress = object.validatorAddress ?? new Uint8Array(); - message.validatorIndex = object.validatorIndex ?? 0; - message.signature = object.signature ?? new Uint8Array(); - return message; - } - -}; - -function createBaseCommit(): Commit { - return { - height: Long.ZERO, - round: 0, - blockId: undefined, - signatures: [] - }; -} - -export const Commit = { - encode(message: Commit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - - if (message.round !== 0) { - writer.uint32(16).int32(message.round); - } - - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim(); - } - - for (const v of message.signatures) { - CommitSig.encode(v!, writer.uint32(34).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Commit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - - case 2: - message.round = reader.int32(); - break; - - case 3: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - - case 4: - message.signatures.push(CommitSig.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Commit { - const message = createBaseCommit(); - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - message.round = object.round ?? 0; - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.signatures = object.signatures?.map(e => CommitSig.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCommitSig(): CommitSig { - return { - blockIdFlag: 0, - validatorAddress: new Uint8Array(), - timestamp: undefined, - signature: new Uint8Array() - }; -} - -export const CommitSig = { - encode(message: CommitSig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockIdFlag !== 0) { - writer.uint32(8).int32(message.blockIdFlag); - } - - if (message.validatorAddress.length !== 0) { - writer.uint32(18).bytes(message.validatorAddress); - } - - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); - } - - if (message.signature.length !== 0) { - writer.uint32(34).bytes(message.signature); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitSig(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.blockIdFlag = (reader.int32() as any); - break; - - case 2: - message.validatorAddress = reader.bytes(); - break; - - case 3: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 4: - message.signature = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): CommitSig { - const message = createBaseCommitSig(); - message.blockIdFlag = object.blockIdFlag ?? 0; - message.validatorAddress = object.validatorAddress ?? new Uint8Array(); - message.timestamp = object.timestamp ?? undefined; - message.signature = object.signature ?? new Uint8Array(); - return message; - } - -}; - -function createBaseProposal(): Proposal { - return { - type: 0, - height: Long.ZERO, - round: 0, - polRound: 0, - blockId: undefined, - timestamp: undefined, - signature: new Uint8Array() - }; -} - -export const Proposal = { - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== 0) { - writer.uint32(8).int32(message.type); - } - - if (!message.height.isZero()) { - writer.uint32(16).int64(message.height); - } - - if (message.round !== 0) { - writer.uint32(24).int32(message.round); - } - - if (message.polRound !== 0) { - writer.uint32(32).int32(message.polRound); - } - - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim(); - } - - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim(); - } - - if (message.signature.length !== 0) { - writer.uint32(58).bytes(message.signature); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.type = (reader.int32() as any); - break; - - case 2: - message.height = (reader.int64() as Long); - break; - - case 3: - message.round = reader.int32(); - break; - - case 4: - message.polRound = reader.int32(); - break; - - case 5: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - - case 6: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - - case 7: - message.signature = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Proposal { - const message = createBaseProposal(); - message.type = object.type ?? 0; - message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; - 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; - message.signature = object.signature ?? new Uint8Array(); - return message; - } - -}; - -function createBaseSignedHeader(): SignedHeader { - return { - header: undefined, - commit: undefined - }; -} - -export const SignedHeader = { - encode(message: SignedHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(10).fork()).ldelim(); - } - - if (message.commit !== undefined) { - Commit.encode(message.commit, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignedHeader(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.header = Header.decode(reader, reader.uint32()); - break; - - case 2: - message.commit = Commit.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SignedHeader { - const message = createBaseSignedHeader(); - message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; - message.commit = object.commit !== undefined && object.commit !== null ? Commit.fromPartial(object.commit) : undefined; - return message; - } - -}; - -function createBaseLightBlock(): LightBlock { - return { - signedHeader: undefined, - validatorSet: undefined - }; -} - -export const LightBlock = { - encode(message: LightBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.signedHeader !== undefined) { - SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); - } - - if (message.validatorSet !== undefined) { - ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLightBlock(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.signedHeader = SignedHeader.decode(reader, reader.uint32()); - break; - - case 2: - message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): LightBlock { - const message = createBaseLightBlock(); - message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; - message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; - return message; - } - -}; - -function createBaseBlockMeta(): BlockMeta { - return { - blockId: undefined, - blockSize: Long.ZERO, - header: undefined, - numTxs: Long.ZERO - }; -} - -export const BlockMeta = { - encode(message: BlockMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - - if (!message.blockSize.isZero()) { - writer.uint32(16).int64(message.blockSize); - } - - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(26).fork()).ldelim(); - } - - if (!message.numTxs.isZero()) { - writer.uint32(32).int64(message.numTxs); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockMeta(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - - case 2: - message.blockSize = (reader.int64() as Long); - break; - - case 3: - message.header = Header.decode(reader, reader.uint32()); - break; - - case 4: - message.numTxs = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): BlockMeta { - const message = createBaseBlockMeta(); - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.blockSize = object.blockSize !== undefined && object.blockSize !== null ? Long.fromValue(object.blockSize) : Long.ZERO; - message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; - message.numTxs = object.numTxs !== undefined && object.numTxs !== null ? Long.fromValue(object.numTxs) : Long.ZERO; - return message; - } - -}; - -function createBaseTxProof(): TxProof { - return { - rootHash: new Uint8Array(), - data: new Uint8Array(), - proof: undefined - }; -} - -export const TxProof = { - encode(message: TxProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rootHash.length !== 0) { - writer.uint32(10).bytes(message.rootHash); - } - - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - - if (message.proof !== undefined) { - Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): TxProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxProof(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.rootHash = reader.bytes(); - break; - - case 2: - message.data = reader.bytes(); - break; - - case 3: - message.proof = Proof.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): TxProof { - const message = createBaseTxProof(); - message.rootHash = object.rootHash ?? new Uint8Array(); - message.data = object.data ?? new Uint8Array(); - message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/validator.ts b/examples/telescope/codegen/tendermint/types/validator.ts deleted file mode 100644 index 17c07b8c5..000000000 --- a/examples/telescope/codegen/tendermint/types/validator.ts +++ /dev/null @@ -1,228 +0,0 @@ -import { PublicKey, PublicKeySDKType } from "../crypto/keys"; -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -export interface ValidatorSet { - validators: Validator[]; - proposer?: Validator | undefined; - totalVotingPower: Long; -} -export interface ValidatorSetSDKType { - validators: ValidatorSDKType[]; - proposer?: ValidatorSDKType | undefined; - total_voting_power: Long; -} -export interface Validator { - address: Uint8Array; - pubKey?: PublicKey | undefined; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorSDKType { - address: Uint8Array; - pub_key?: PublicKeySDKType | undefined; - voting_power: Long; - proposer_priority: Long; -} -export interface SimpleValidator { - pubKey?: PublicKey | undefined; - votingPower: Long; -} -export interface SimpleValidatorSDKType { - pub_key?: PublicKeySDKType | undefined; - voting_power: Long; -} - -function createBaseValidatorSet(): ValidatorSet { - return { - validators: [], - proposer: undefined, - totalVotingPower: Long.ZERO - }; -} - -export const ValidatorSet = { - encode(message: ValidatorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - if (message.proposer !== undefined) { - Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim(); - } - - if (!message.totalVotingPower.isZero()) { - writer.uint32(24).int64(message.totalVotingPower); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSet(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - - case 2: - message.proposer = Validator.decode(reader, reader.uint32()); - break; - - case 3: - message.totalVotingPower = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): ValidatorSet { - const message = createBaseValidatorSet(); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.proposer = object.proposer !== undefined && object.proposer !== null ? Validator.fromPartial(object.proposer) : undefined; - message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; - return message; - } - -}; - -function createBaseValidator(): Validator { - return { - address: new Uint8Array(), - pubKey: undefined, - votingPower: Long.ZERO, - proposerPriority: Long.ZERO - }; -} - -export const Validator = { - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address.length !== 0) { - writer.uint32(10).bytes(message.address); - } - - if (message.pubKey !== undefined) { - PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - - if (!message.votingPower.isZero()) { - writer.uint32(24).int64(message.votingPower); - } - - if (!message.proposerPriority.isZero()) { - writer.uint32(32).int64(message.proposerPriority); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); - break; - - case 2: - message.pubKey = PublicKey.decode(reader, reader.uint32()); - break; - - case 3: - message.votingPower = (reader.int64() as Long); - break; - - case 4: - message.proposerPriority = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Validator { - const message = createBaseValidator(); - message.address = object.address ?? new Uint8Array(); - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; - message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; - message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; - return message; - } - -}; - -function createBaseSimpleValidator(): SimpleValidator { - return { - pubKey: undefined, - votingPower: Long.ZERO - }; -} - -export const SimpleValidator = { - encode(message: SimpleValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pubKey !== undefined) { - PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); - } - - if (!message.votingPower.isZero()) { - writer.uint32(16).int64(message.votingPower); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimpleValidator(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.pubKey = PublicKey.decode(reader, reader.uint32()); - break; - - case 2: - message.votingPower = (reader.int64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): SimpleValidator { - const message = createBaseSimpleValidator(); - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; - message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; - return message; - } - -}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/version/types.ts b/examples/telescope/codegen/tendermint/version/types.ts deleted file mode 100644 index 69add730b..000000000 --- a/examples/telescope/codegen/tendermint/version/types.ts +++ /dev/null @@ -1,152 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { Long } from "../../helpers"; -/** - * 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; -} -/** - * 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; -} -/** - * 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; -} - -function createBaseApp(): App { - return { - protocol: Long.UZERO, - software: "" - }; -} - -export const App = { - encode(message: App, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.protocol.isZero()) { - writer.uint32(8).uint64(message.protocol); - } - - if (message.software !== "") { - writer.uint32(18).string(message.software); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): App { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseApp(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.protocol = (reader.uint64() as Long); - break; - - case 2: - message.software = reader.string(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): App { - const message = createBaseApp(); - message.protocol = object.protocol !== undefined && object.protocol !== null ? Long.fromValue(object.protocol) : Long.UZERO; - message.software = object.software ?? ""; - return message; - } - -}; - -function createBaseConsensus(): Consensus { - return { - block: Long.UZERO, - app: Long.UZERO - }; -} - -export const Consensus = { - encode(message: Consensus, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.block.isZero()) { - writer.uint32(8).uint64(message.block); - } - - if (!message.app.isZero()) { - writer.uint32(16).uint64(message.app); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): Consensus { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsensus(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.block = (reader.uint64() as Long); - break; - - case 2: - message.app = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: Partial): Consensus { - const message = createBaseConsensus(); - message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; - message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; - return message; - } - -}; \ No newline at end of file From 3af54f03e907342577d027f2c7e11047374e0c9b Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 14:52:23 -0800 Subject: [PATCH 242/262] codegen --- examples/telescope/codegen/confio/proofs.ts | 1522 ++++++ .../codegen/cosmos/app/v1alpha1/config.ts | 176 + .../codegen/cosmos/app/v1alpha1/module.ts | 342 ++ .../cosmos/app/v1alpha1/query.rpc.Query.ts | 35 + .../codegen/cosmos/app/v1alpha1/query.ts | 99 + .../codegen/cosmos/auth/v1beta1/auth.ts | 284 ++ .../codegen/cosmos/auth/v1beta1/genesis.ts | 76 + .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 83 + .../cosmos/auth/v1beta1/query.rpc.Query.ts | 125 + .../codegen/cosmos/auth/v1beta1/query.ts | 771 +++ .../codegen/cosmos/authz/v1beta1/authz.ts | 306 ++ .../codegen/cosmos/authz/v1beta1/event.ts | 179 + .../codegen/cosmos/authz/v1beta1/genesis.ts | 57 + .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 79 + .../cosmos/authz/v1beta1/query.rpc.Query.ts | 71 + .../codegen/cosmos/authz/v1beta1/query.ts | 463 ++ .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 128 + .../cosmos/authz/v1beta1/tx.registry.ts | 79 + .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 56 + .../codegen/cosmos/authz/v1beta1/tx.ts | 395 ++ .../codegen/cosmos/bank/v1beta1/authz.ts | 67 + .../codegen/cosmos/bank/v1beta1/bank.ts | 665 +++ .../codegen/cosmos/bank/v1beta1/genesis.ts | 193 + .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 150 + .../cosmos/bank/v1beta1/query.rpc.Query.ts | 160 + .../codegen/cosmos/bank/v1beta1/query.ts | 1300 +++++ .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 110 + .../cosmos/bank/v1beta1/tx.registry.ts | 58 + .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 34 + .../codegen/cosmos/bank/v1beta1/tx.ts | 229 + .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1106 +++++ .../codegen/cosmos/base/kv/v1beta1/kv.ts | 123 + .../cosmos/base/query/v1beta1/pagination.ts | 282 ++ .../base/reflection/v1beta1/reflection.ts | 222 + .../base/reflection/v2alpha1/reflection.ts | 1707 +++++++ .../cosmos/base/snapshots/v1beta1/snapshot.ts | 675 +++ .../cosmos/base/store/v1beta1/commit_info.ts | 221 + .../cosmos/base/store/v1beta1/listening.ts | 110 + .../base/tendermint/v1beta1/query.lcd.ts | 81 + .../tendermint/v1beta1/query.rpc.Service.ts | 107 + .../cosmos/base/tendermint/v1beta1/query.ts | 1055 ++++ .../codegen/cosmos/base/v1beta1/coin.ts | 265 + examples/telescope/codegen/cosmos/bundle.ts | 455 ++ .../cosmos/capability/v1beta1/capability.ts | 197 + .../cosmos/capability/v1beta1/genesis.ts | 155 + examples/telescope/codegen/cosmos/client.ts | 76 + .../codegen/cosmos/crisis/v1beta1/genesis.ts | 65 + .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 37 + .../cosmos/crisis/v1beta1/tx.registry.ts | 37 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 24 + .../codegen/cosmos/crisis/v1beta1/tx.ts | 120 + .../codegen/cosmos/crypto/ed25519/keys.ts | 129 + .../codegen/cosmos/crypto/hd/v1/hd.ts | 128 + .../cosmos/crypto/keyring/v1/record.ts | 348 ++ .../codegen/cosmos/crypto/multisig/keys.ts | 77 + .../crypto/multisig/v1beta1/multisig.ts | 141 + .../codegen/cosmos/crypto/secp256k1/keys.ts | 123 + .../codegen/cosmos/crypto/secp256r1/keys.ts | 121 + .../distribution/v1beta1/distribution.ts | 945 ++++ .../cosmos/distribution/v1beta1/genesis.ts | 800 +++ .../cosmos/distribution/v1beta1/query.lcd.ts | 104 + .../distribution/v1beta1/query.rpc.Query.ts | 150 + .../cosmos/distribution/v1beta1/query.ts | 1187 +++++ .../cosmos/distribution/v1beta1/tx.amino.ts | 120 + .../distribution/v1beta1/tx.registry.ts | 100 + .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 66 + .../codegen/cosmos/distribution/v1beta1/tx.ts | 472 ++ .../cosmos/evidence/v1beta1/evidence.ts | 100 + .../cosmos/evidence/v1beta1/genesis.ts | 59 + .../cosmos/evidence/v1beta1/query.lcd.ts | 41 + .../evidence/v1beta1/query.rpc.Query.ts | 51 + .../codegen/cosmos/evidence/v1beta1/query.ts | 259 + .../cosmos/evidence/v1beta1/tx.amino.ts | 41 + .../cosmos/evidence/v1beta1/tx.registry.ts | 37 + .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 27 + .../codegen/cosmos/evidence/v1beta1/tx.ts | 132 + .../cosmos/feegrant/v1beta1/feegrant.ts | 402 ++ .../cosmos/feegrant/v1beta1/genesis.ts | 57 + .../cosmos/feegrant/v1beta1/query.lcd.ts | 56 + .../feegrant/v1beta1/query.rpc.Query.ts | 66 + .../codegen/cosmos/feegrant/v1beta1/query.ts | 421 ++ .../cosmos/feegrant/v1beta1/tx.amino.ts | 74 + .../cosmos/feegrant/v1beta1/tx.registry.ts | 58 + .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 40 + .../codegen/cosmos/feegrant/v1beta1/tx.ts | 250 + .../codegen/cosmos/genutil/v1beta1/genesis.ts | 58 + .../codegen/cosmos/gov/v1/genesis.ts | 156 + .../telescope/codegen/cosmos/gov/v1/gov.ts | 985 ++++ .../codegen/cosmos/gov/v1/query.lcd.ts | 115 + .../codegen/cosmos/gov/v1/query.rpc.Query.ts | 133 + .../telescope/codegen/cosmos/gov/v1/query.ts | 1114 +++++ .../codegen/cosmos/gov/v1/tx.amino.ts | 226 + .../codegen/cosmos/gov/v1/tx.registry.ts | 121 + .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 67 + .../telescope/codegen/cosmos/gov/v1/tx.ts | 661 +++ .../codegen/cosmos/gov/v1beta1/genesis.ts | 156 + .../codegen/cosmos/gov/v1beta1/gov.ts | 1066 ++++ .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 115 + .../cosmos/gov/v1beta1/query.rpc.Query.ts | 133 + .../codegen/cosmos/gov/v1beta1/query.ts | 1114 +++++ .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 174 + .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 100 + .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 58 + .../codegen/cosmos/gov/v1beta1/tx.ts | 518 ++ .../codegen/cosmos/group/v1/events.ts | 548 +++ .../codegen/cosmos/group/v1/genesis.ts | 190 + .../codegen/cosmos/group/v1/query.lcd.ts | 183 + .../cosmos/group/v1/query.rpc.Query.ts | 203 + .../codegen/cosmos/group/v1/query.ts | 1758 +++++++ .../codegen/cosmos/group/v1/tx.amino.ts | 583 +++ .../codegen/cosmos/group/v1/tx.registry.ts | 310 ++ .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 154 + .../telescope/codegen/cosmos/group/v1/tx.ts | 2065 ++++++++ .../codegen/cosmos/group/v1/types.ts | 1658 +++++++ examples/telescope/codegen/cosmos/lcd.ts | 99 + .../codegen/cosmos/mint/v1beta1/genesis.ts | 75 + .../codegen/cosmos/mint/v1beta1/mint.ts | 212 + .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 38 + .../cosmos/mint/v1beta1/query.rpc.Query.ts | 63 + .../codegen/cosmos/mint/v1beta1/query.ts | 311 ++ .../telescope/codegen/cosmos/msg/v1/msg.ts | 1 + .../codegen/cosmos/nft/v1beta1/event.ts | 250 + .../codegen/cosmos/nft/v1beta1/genesis.ts | 144 + .../codegen/cosmos/nft/v1beta1/nft.ts | 276 ++ .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 98 + .../cosmos/nft/v1beta1/query.rpc.Query.ts | 124 + .../codegen/cosmos/nft/v1beta1/query.ts | 860 ++++ .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 42 + .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 37 + .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 24 + .../codegen/cosmos/nft/v1beta1/tx.ts | 146 + .../telescope/codegen/cosmos/orm/v1/orm.ts | 423 ++ .../codegen/cosmos/orm/v1alpha1/schema.ts | 335 ++ .../codegen/cosmos/params/v1beta1/params.ts | 165 + .../cosmos/params/v1beta1/query.lcd.ts | 43 + .../cosmos/params/v1beta1/query.rpc.Query.ts | 52 + .../codegen/cosmos/params/v1beta1/query.ts | 312 ++ .../telescope/codegen/cosmos/rpc.query.ts | 68 + examples/telescope/codegen/cosmos/rpc.tx.ts | 49 + .../cosmos/slashing/v1beta1/genesis.ts | 329 ++ .../cosmos/slashing/v1beta1/query.lcd.ts | 49 + .../slashing/v1beta1/query.rpc.Query.ts | 65 + .../codegen/cosmos/slashing/v1beta1/query.ts | 360 ++ .../cosmos/slashing/v1beta1/slashing.ts | 268 + .../cosmos/slashing/v1beta1/tx.amino.ts | 27 + .../cosmos/slashing/v1beta1/tx.registry.ts | 37 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 28 + .../codegen/cosmos/slashing/v1beta1/tx.ts | 96 + .../codegen/cosmos/staking/v1beta1/authz.ts | 265 + .../codegen/cosmos/staking/v1beta1/genesis.ts | 253 + .../cosmos/staking/v1beta1/query.lcd.ts | 199 + .../cosmos/staking/v1beta1/query.rpc.Query.ts | 229 + .../codegen/cosmos/staking/v1beta1/query.ts | 1970 ++++++++ .../codegen/cosmos/staking/v1beta1/staking.ts | 1958 ++++++++ .../cosmos/staking/v1beta1/tx.amino.ts | 294 ++ .../cosmos/staking/v1beta1/tx.registry.ts | 121 + .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 73 + .../codegen/cosmos/staking/v1beta1/tx.ts | 735 +++ .../cosmos/tx/signing/v1beta1/signing.ts | 529 ++ .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 65 + .../cosmos/tx/v1beta1/service.rpc.Service.ts | 95 + .../codegen/cosmos/tx/v1beta1/service.ts | 986 ++++ .../telescope/codegen/cosmos/tx/v1beta1/tx.ts | 1497 ++++++ .../cosmos/upgrade/v1beta1/query.lcd.ts | 69 + .../cosmos/upgrade/v1beta1/query.rpc.Query.ts | 102 + .../codegen/cosmos/upgrade/v1beta1/query.ts | 631 +++ .../cosmos/upgrade/v1beta1/tx.amino.ts | 86 + .../cosmos/upgrade/v1beta1/tx.registry.ts | 58 + .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 43 + .../codegen/cosmos/upgrade/v1beta1/tx.ts | 244 + .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 432 ++ .../cosmos/vesting/v1beta1/tx.amino.ts | 155 + .../cosmos/vesting/v1beta1/tx.registry.ts | 79 + .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 53 + .../codegen/cosmos/vesting/v1beta1/tx.ts | 421 ++ .../codegen/cosmos/vesting/v1beta1/vesting.ts | 468 ++ .../telescope/codegen/cosmos_proto/bundle.ts | 3 + .../telescope/codegen/cosmos_proto/cosmos.ts | 289 ++ examples/telescope/codegen/cosmwasm/bundle.ts | 34 + examples/telescope/codegen/cosmwasm/client.ts | 45 + examples/telescope/codegen/cosmwasm/lcd.ts | 106 + .../telescope/codegen/cosmwasm/rpc.query.ts | 73 + examples/telescope/codegen/cosmwasm/rpc.tx.ts | 54 + .../codegen/cosmwasm/wasm/v1/genesis.ts | 433 ++ .../telescope/codegen/cosmwasm/wasm/v1/ibc.ts | 180 + .../codegen/cosmwasm/wasm/v1/proposal.ts | 1083 +++++ .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 131 + .../cosmwasm/wasm/v1/query.rpc.Query.ts | 151 + .../codegen/cosmwasm/wasm/v1/query.ts | 1378 ++++++ .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 252 + .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 142 + .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 74 + .../telescope/codegen/cosmwasm/wasm/v1/tx.ts | 944 ++++ .../codegen/cosmwasm/wasm/v1/types.ts | 863 ++++ .../telescope/codegen/gogoproto/bundle.ts | 3 + examples/telescope/codegen/gogoproto/gogo.ts | 1 + .../codegen/google/api/annotations.ts | 1 + examples/telescope/codegen/google/api/http.ts | 978 ++++ examples/telescope/codegen/google/bundle.ts | 18 + .../telescope/codegen/google/protobuf/any.ts | 290 ++ .../codegen/google/protobuf/descriptor.ts | 4324 +++++++++++++++++ .../codegen/google/protobuf/duration.ts | 215 + .../codegen/google/protobuf/empty.ts | 61 + .../codegen/google/protobuf/timestamp.ts | 259 + examples/telescope/codegen/helpers.ts | 240 + .../ibc/applications/transfer/v1/genesis.ts | 81 + .../ibc/applications/transfer/v1/query.lcd.ts | 49 + .../transfer/v1/query.rpc.Query.ts | 65 + .../ibc/applications/transfer/v1/query.ts | 368 ++ .../ibc/applications/transfer/v1/transfer.ts | 181 + .../ibc/applications/transfer/v1/tx.amino.ts | 73 + .../applications/transfer/v1/tx.registry.ts | 37 + .../applications/transfer/v1/tx.rpc.msg.ts | 24 + .../ibc/applications/transfer/v1/tx.ts | 217 + .../ibc/applications/transfer/v2/packet.ts | 114 + examples/telescope/codegen/ibc/bundle.ts | 137 + examples/telescope/codegen/ibc/client.ts | 54 + .../codegen/ibc/core/channel/v1/channel.ts | 925 ++++ .../codegen/ibc/core/channel/v1/genesis.ts | 231 + .../codegen/ibc/core/channel/v1/query.lcd.ts | 165 + .../ibc/core/channel/v1/query.rpc.Query.ts | 229 + .../codegen/ibc/core/channel/v1/query.ts | 2444 ++++++++++ .../codegen/ibc/core/channel/v1/tx.amino.ts | 670 +++ .../ibc/core/channel/v1/tx.registry.ts | 226 + .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 117 + .../codegen/ibc/core/channel/v1/tx.ts | 1492 ++++++ .../codegen/ibc/core/client/v1/client.ts | 629 +++ .../codegen/ibc/core/client/v1/genesis.ts | 288 ++ .../codegen/ibc/core/client/v1/query.lcd.ts | 107 + .../ibc/core/client/v1/query.rpc.Query.ts | 141 + .../codegen/ibc/core/client/v1/query.ts | 1130 +++++ .../codegen/ibc/core/client/v1/tx.amino.ts | 205 + .../codegen/ibc/core/client/v1/tx.registry.ts | 100 + .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 54 + .../codegen/ibc/core/client/v1/tx.ts | 602 +++ .../ibc/core/commitment/v1/commitment.ts | 256 + .../ibc/core/connection/v1/connection.ts | 759 +++ .../codegen/ibc/core/connection/v1/genesis.ts | 98 + .../ibc/core/connection/v1/query.lcd.ts | 68 + .../ibc/core/connection/v1/query.rpc.Query.ts | 102 + .../codegen/ibc/core/connection/v1/query.ts | 836 ++++ .../ibc/core/connection/v1/tx.amino.ts | 343 ++ .../ibc/core/connection/v1/tx.registry.ts | 100 + .../ibc/core/connection/v1/tx.rpc.msg.ts | 57 + .../codegen/ibc/core/connection/v1/tx.ts | 795 +++ .../ibc/core/port/v1/query.rpc.Query.ts | 35 + .../codegen/ibc/core/port/v1/query.ts | 196 + .../codegen/ibc/core/types/v1/genesis.ts | 97 + examples/telescope/codegen/ibc/lcd.ts | 125 + .../lightclients/localhost/v1/localhost.ts | 81 + .../solomachine/v1/solomachine.ts | 1500 ++++++ .../solomachine/v2/solomachine.ts | 1500 ++++++ .../lightclients/tendermint/v1/tendermint.ts | 626 +++ examples/telescope/codegen/ibc/rpc.query.ts | 89 + examples/telescope/codegen/ibc/rpc.tx.ts | 67 + examples/telescope/codegen/ics23/bundle.ts | 3 + examples/telescope/codegen/index.ts | 17 + .../codegen/tendermint/abci/types.ts | 3947 +++++++++++++++ .../telescope/codegen/tendermint/bundle.ts | 32 + .../codegen/tendermint/crypto/keys.ts | 68 + .../codegen/tendermint/crypto/proof.ts | 375 ++ .../codegen/tendermint/libs/bits/types.ts | 77 + .../telescope/codegen/tendermint/p2p/types.ts | 438 ++ .../codegen/tendermint/types/block.ts | 90 + .../codegen/tendermint/types/evidence.ts | 325 ++ .../codegen/tendermint/types/params.ts | 521 ++ .../codegen/tendermint/types/types.ts | 1401 ++++++ .../codegen/tendermint/types/validator.ts | 228 + .../codegen/tendermint/version/types.ts | 152 + 269 files changed, 94116 insertions(+) create mode 100644 examples/telescope/codegen/confio/proofs.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/config.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/module.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/app/v1alpha1/query.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/auth/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/event.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts create mode 100644 examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts create mode 100644 examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts create mode 100644 examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts create mode 100644 examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts create mode 100644 examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts create mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts create mode 100644 examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts create mode 100644 examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/base/v1beta1/coin.ts create mode 100644 examples/telescope/codegen/cosmos/bundle.ts create mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts create mode 100644 examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/client.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts create mode 100644 examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/gov.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/events.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/query.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/group/v1/types.ts create mode 100644 examples/telescope/codegen/cosmos/lcd.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/mint/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/msg/v1/msg.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/event.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/orm/v1/orm.ts create mode 100644 examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/params.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/params/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/rpc.query.ts create mode 100644 examples/telescope/codegen/cosmos/rpc.tx.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/service.ts create mode 100644 examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts create mode 100644 examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts create mode 100644 examples/telescope/codegen/cosmos_proto/bundle.ts create mode 100644 examples/telescope/codegen/cosmos_proto/cosmos.ts create mode 100644 examples/telescope/codegen/cosmwasm/bundle.ts create mode 100644 examples/telescope/codegen/cosmwasm/client.ts create mode 100644 examples/telescope/codegen/cosmwasm/lcd.ts create mode 100644 examples/telescope/codegen/cosmwasm/rpc.query.ts create mode 100644 examples/telescope/codegen/cosmwasm/rpc.tx.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/query.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts create mode 100644 examples/telescope/codegen/cosmwasm/wasm/v1/types.ts create mode 100644 examples/telescope/codegen/gogoproto/bundle.ts create mode 100644 examples/telescope/codegen/gogoproto/gogo.ts create mode 100644 examples/telescope/codegen/google/api/annotations.ts create mode 100644 examples/telescope/codegen/google/api/http.ts create mode 100644 examples/telescope/codegen/google/bundle.ts create mode 100644 examples/telescope/codegen/google/protobuf/any.ts create mode 100644 examples/telescope/codegen/google/protobuf/descriptor.ts create mode 100644 examples/telescope/codegen/google/protobuf/duration.ts create mode 100644 examples/telescope/codegen/google/protobuf/empty.ts create mode 100644 examples/telescope/codegen/google/protobuf/timestamp.ts create mode 100644 examples/telescope/codegen/helpers.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts create mode 100644 examples/telescope/codegen/ibc/bundle.ts create mode 100644 examples/telescope/codegen/ibc/client.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/channel.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/channel/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/client.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/client/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/connection.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts create mode 100644 examples/telescope/codegen/ibc/core/connection/v1/tx.ts create mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.rpc.Query.ts create mode 100644 examples/telescope/codegen/ibc/core/port/v1/query.ts create mode 100644 examples/telescope/codegen/ibc/core/types/v1/genesis.ts create mode 100644 examples/telescope/codegen/ibc/lcd.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts create mode 100644 examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts create mode 100644 examples/telescope/codegen/ibc/rpc.query.ts create mode 100644 examples/telescope/codegen/ibc/rpc.tx.ts create mode 100644 examples/telescope/codegen/ics23/bundle.ts create mode 100644 examples/telescope/codegen/index.ts create mode 100644 examples/telescope/codegen/tendermint/abci/types.ts create mode 100644 examples/telescope/codegen/tendermint/bundle.ts create mode 100644 examples/telescope/codegen/tendermint/crypto/keys.ts create mode 100644 examples/telescope/codegen/tendermint/crypto/proof.ts create mode 100644 examples/telescope/codegen/tendermint/libs/bits/types.ts create mode 100644 examples/telescope/codegen/tendermint/p2p/types.ts create mode 100644 examples/telescope/codegen/tendermint/types/block.ts create mode 100644 examples/telescope/codegen/tendermint/types/evidence.ts create mode 100644 examples/telescope/codegen/tendermint/types/params.ts create mode 100644 examples/telescope/codegen/tendermint/types/types.ts create mode 100644 examples/telescope/codegen/tendermint/types/validator.ts create mode 100644 examples/telescope/codegen/tendermint/version/types.ts diff --git a/examples/telescope/codegen/confio/proofs.ts b/examples/telescope/codegen/confio/proofs.ts new file mode 100644 index 000000000..354db9699 --- /dev/null +++ b/examples/telescope/codegen/confio/proofs.ts @@ -0,0 +1,1522 @@ +import * as _m0 from "protobufjs/minimal"; +export enum HashOp { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} +export enum HashOpSDKType { + /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + + /** BITCOIN - ripemd160(sha256(x)) */ + BITCOIN = 5, + UNRECOGNIZED = -1, +} +export function hashOpFromJSON(object: any): HashOp { + switch (object) { + case 0: + case "NO_HASH": + return HashOp.NO_HASH; + + case 1: + case "SHA256": + return HashOp.SHA256; + + case 2: + case "SHA512": + return HashOp.SHA512; + + case 3: + case "KECCAK": + return HashOp.KECCAK; + + case 4: + case "RIPEMD160": + return HashOp.RIPEMD160; + + case 5: + case "BITCOIN": + return HashOp.BITCOIN; + + case -1: + case "UNRECOGNIZED": + default: + return HashOp.UNRECOGNIZED; + } +} +export function hashOpToJSON(object: HashOp): string { + switch (object) { + case HashOp.NO_HASH: + return "NO_HASH"; + + case HashOp.SHA256: + return "SHA256"; + + case HashOp.SHA512: + return "SHA512"; + + case HashOp.KECCAK: + return "KECCAK"; + + case HashOp.RIPEMD160: + return "RIPEMD160"; + + case HashOp.BITCOIN: + return "BITCOIN"; + + case HashOp.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ + +export enum LengthOp { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} +/** + * LengthOp defines how to process the key and value of the LeafOp + * to include length information. After encoding the length with the given + * algorithm, the length will be prepended to the key and value bytes. + * (Each one with it's own encoded length) + */ + +export enum LengthOpSDKType { + /** NO_PREFIX - NO_PREFIX don't include any length info */ + NO_PREFIX = 0, + + /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ + VAR_PROTO = 1, + + /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ + VAR_RLP = 2, + + /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ + FIXED32_BIG = 3, + + /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ + FIXED32_LITTLE = 4, + + /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ + FIXED64_BIG = 5, + + /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ + FIXED64_LITTLE = 6, + + /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ + REQUIRE_32_BYTES = 7, + + /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ + REQUIRE_64_BYTES = 8, + UNRECOGNIZED = -1, +} +export function lengthOpFromJSON(object: any): LengthOp { + switch (object) { + case 0: + case "NO_PREFIX": + return LengthOp.NO_PREFIX; + + case 1: + case "VAR_PROTO": + return LengthOp.VAR_PROTO; + + case 2: + case "VAR_RLP": + return LengthOp.VAR_RLP; + + case 3: + case "FIXED32_BIG": + return LengthOp.FIXED32_BIG; + + case 4: + case "FIXED32_LITTLE": + return LengthOp.FIXED32_LITTLE; + + case 5: + case "FIXED64_BIG": + return LengthOp.FIXED64_BIG; + + case 6: + case "FIXED64_LITTLE": + return LengthOp.FIXED64_LITTLE; + + case 7: + case "REQUIRE_32_BYTES": + return LengthOp.REQUIRE_32_BYTES; + + case 8: + case "REQUIRE_64_BYTES": + return LengthOp.REQUIRE_64_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return LengthOp.UNRECOGNIZED; + } +} +export function lengthOpToJSON(object: LengthOp): string { + switch (object) { + case LengthOp.NO_PREFIX: + return "NO_PREFIX"; + + case LengthOp.VAR_PROTO: + return "VAR_PROTO"; + + case LengthOp.VAR_RLP: + return "VAR_RLP"; + + case LengthOp.FIXED32_BIG: + return "FIXED32_BIG"; + + case LengthOp.FIXED32_LITTLE: + return "FIXED32_LITTLE"; + + case LengthOp.FIXED64_BIG: + return "FIXED64_BIG"; + + case LengthOp.FIXED64_LITTLE: + return "FIXED64_LITTLE"; + + case LengthOp.REQUIRE_32_BYTES: + return "REQUIRE_32_BYTES"; + + case LengthOp.REQUIRE_64_BYTES: + return "REQUIRE_64_BYTES"; + + case LengthOp.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ + +export interface ExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf?: LeafOp | undefined; + path: InnerOp[]; +} +/** + * ExistenceProof takes a key and a value and a set of steps to perform on it. + * The result of peforming all these steps will provide a "root hash", which can + * be compared to the value in a header. + * + * Since it is computationally infeasible to produce a hash collission for any of the used + * cryptographic hash functions, if someone can provide a series of operations to transform + * a given key and value into a root hash that matches some trusted root, these key and values + * must be in the referenced merkle tree. + * + * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, + * which should be controlled by a spec. Eg. with lengthOp as NONE, + * prefix = FOO, key = BAR, value = CHOICE + * and + * prefix = F, key = OOBAR, value = CHOICE + * would produce the same value. + * + * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field + * in the ProofSpec is valuable to prevent this mutability. And why all trees should + * length-prefix the data before hashing it. + */ + +export interface ExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf?: LeafOpSDKType | undefined; + path: InnerOpSDKType[]; +} +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ + +export interface NonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left?: ExistenceProof | undefined; + right?: ExistenceProof | undefined; +} +/** + * NonExistenceProof takes a proof of two neighbors, one left of the desired key, + * one right of the desired key. If both proofs are valid AND they are neighbors, + * then there is no valid proof for the given key. + */ + +export interface NonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left?: ExistenceProofSDKType | undefined; + right?: ExistenceProofSDKType | undefined; +} +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ + +export interface CommitmentProof { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; + batch?: BatchProof | undefined; + compressed?: CompressedBatchProof | undefined; +} +/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ + +export interface CommitmentProofSDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; + batch?: BatchProofSDKType | undefined; + compressed?: CompressedBatchProofSDKType | undefined; +} +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ + +export interface LeafOp { + hash: HashOp; + prehashKey: HashOp; + prehashValue: HashOp; + length: LengthOp; + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + + prefix: Uint8Array; +} +/** + * LeafOp represents the raw key-value data we wish to prove, and + * must be flexible to represent the internal transformation from + * the original key-value pairs into the basis hash, for many existing + * merkle trees. + * + * key and value are passed in. So that the signature of this operation is: + * leafOp(key, value) -> output + * + * To process this, first prehash the keys and values if needed (ANY means no hash in this case): + * hkey = prehashKey(key) + * hvalue = prehashValue(value) + * + * Then combine the bytes, and hash it + * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) + */ + +export interface LeafOpSDKType { + hash: HashOpSDKType; + prehash_key: HashOpSDKType; + prehash_value: HashOpSDKType; + length: LengthOpSDKType; + /** + * prefix is a fixed bytes that may optionally be included at the beginning to differentiate + * a leaf node from an inner node. + */ + + prefix: Uint8Array; +} +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ + +export interface InnerOp { + hash: HashOp; + prefix: Uint8Array; + suffix: Uint8Array; +} +/** + * InnerOp represents a merkle-proof step that is not a leaf. + * It represents concatenating two children and hashing them to provide the next result. + * + * The result of the previous step is passed in, so the signature of this op is: + * innerOp(child) -> output + * + * The result of applying InnerOp should be: + * output = op.hash(op.prefix || child || op.suffix) + * + * where the || operator is concatenation of binary data, + * and child is the result of hashing all the tree below this step. + * + * Any special data, like prepending child with the length, or prepending the entire operation with + * some value to differentiate from leaf nodes, should be included in prefix and suffix. + * If either of prefix or suffix is empty, we just treat it as an empty string + */ + +export interface InnerOpSDKType { + hash: HashOpSDKType; + prefix: Uint8Array; + suffix: Uint8Array; +} +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ + +export interface ProofSpec { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leafSpec?: LeafOp | undefined; + innerSpec?: InnerSpec | undefined; + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + + maxDepth: number; + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + + minDepth: number; +} +/** + * ProofSpec defines what the expected parameters are for a given proof type. + * This can be stored in the client and used to validate any incoming proofs. + * + * verify(ProofSpec, Proof) -> Proof | Error + * + * As demonstrated in tests, if we don't fix the algorithm used to calculate the + * LeafHash for a given tree, there are many possible key-value pairs that can + * generate a given hash (by interpretting the preimage differently). + * We need this for proper security, requires client knows a priori what + * tree format server uses. But not in code, rather a configuration object. + */ + +export interface ProofSpecSDKType { + /** + * any field in the ExistenceProof must be the same as in this spec. + * except Prefix, which is just the first bytes of prefix (spec can be longer) + */ + leaf_spec?: LeafOpSDKType | undefined; + inner_spec?: InnerSpecSDKType | undefined; + /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ + + max_depth: number; + /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ + + min_depth: number; +} +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ + +export interface InnerSpec { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + childOrder: number[]; + childSize: number; + minPrefixLength: number; + maxPrefixLength: number; + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + + emptyChild: Uint8Array; + /** hash is the algorithm that must be used for each InnerOp */ + + hash: HashOp; +} +/** + * InnerSpec contains all store-specific structure info to determine if two proofs from a + * given store are neighbors. + * + * This enables: + * + * isLeftMost(spec: InnerSpec, op: InnerOp) + * isRightMost(spec: InnerSpec, op: InnerOp) + * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) + */ + +export interface InnerSpecSDKType { + /** + * Child order is the ordering of the children node, must count from 0 + * iavl tree is [0, 1] (left then right) + * merk is [0, 2, 1] (left, right, here) + */ + child_order: number[]; + child_size: number; + min_prefix_length: number; + max_prefix_length: number; + /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ + + empty_child: Uint8Array; + /** hash is the algorithm that must be used for each InnerOp */ + + hash: HashOpSDKType; +} +/** BatchProof is a group of multiple proof types than can be compressed */ + +export interface BatchProof { + entries: BatchEntry[]; +} +/** BatchProof is a group of multiple proof types than can be compressed */ + +export interface BatchProofSDKType { + entries: BatchEntrySDKType[]; +} +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface BatchEntry { + exist?: ExistenceProof | undefined; + nonexist?: NonExistenceProof | undefined; +} +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface BatchEntrySDKType { + exist?: ExistenceProofSDKType | undefined; + nonexist?: NonExistenceProofSDKType | undefined; +} +export interface CompressedBatchProof { + entries: CompressedBatchEntry[]; + lookupInners: InnerOp[]; +} +export interface CompressedBatchProofSDKType { + entries: CompressedBatchEntrySDKType[]; + lookup_inners: InnerOpSDKType[]; +} +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface CompressedBatchEntry { + exist?: CompressedExistenceProof | undefined; + nonexist?: CompressedNonExistenceProof | undefined; +} +/** Use BatchEntry not CommitmentProof, to avoid recursion */ + +export interface CompressedBatchEntrySDKType { + exist?: CompressedExistenceProofSDKType | undefined; + nonexist?: CompressedNonExistenceProofSDKType | undefined; +} +export interface CompressedExistenceProof { + key: Uint8Array; + value: Uint8Array; + leaf?: LeafOp | undefined; + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + + path: number[]; +} +export interface CompressedExistenceProofSDKType { + key: Uint8Array; + value: Uint8Array; + leaf?: LeafOpSDKType | undefined; + /** these are indexes into the lookup_inners table in CompressedBatchProof */ + + path: number[]; +} +export interface CompressedNonExistenceProof { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left?: CompressedExistenceProof | undefined; + right?: CompressedExistenceProof | undefined; +} +export interface CompressedNonExistenceProofSDKType { + /** TODO: remove this as unnecessary??? we prove a range */ + key: Uint8Array; + left?: CompressedExistenceProofSDKType | undefined; + right?: CompressedExistenceProofSDKType | undefined; +} + +function createBaseExistenceProof(): ExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const ExistenceProof = { + encode(message: ExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.path) { + InnerOp.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + message.path.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ExistenceProof { + const message = createBaseExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseNonExistenceProof(): NonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const NonExistenceProof = { + encode(message: NonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = ExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): NonExistenceProof { + const message = createBaseNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? ExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? ExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; + +function createBaseCommitmentProof(): CommitmentProof { + return { + exist: undefined, + nonexist: undefined, + batch: undefined, + compressed: undefined + }; +} + +export const CommitmentProof = { + encode(message: CommitmentProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + if (message.batch !== undefined) { + BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim(); + } + + if (message.compressed !== undefined) { + CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitmentProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.batch = BatchProof.decode(reader, reader.uint32()); + break; + + case 4: + message.compressed = CompressedBatchProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommitmentProof { + const message = createBaseCommitmentProof(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + message.batch = object.batch !== undefined && object.batch !== null ? BatchProof.fromPartial(object.batch) : undefined; + message.compressed = object.compressed !== undefined && object.compressed !== null ? CompressedBatchProof.fromPartial(object.compressed) : undefined; + return message; + } + +}; + +function createBaseLeafOp(): LeafOp { + return { + hash: 0, + prehashKey: 0, + prehashValue: 0, + length: 0, + prefix: new Uint8Array() + }; +} + +export const LeafOp = { + encode(message: LeafOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prehashKey !== 0) { + writer.uint32(16).int32(message.prehashKey); + } + + if (message.prehashValue !== 0) { + writer.uint32(24).int32(message.prehashValue); + } + + if (message.length !== 0) { + writer.uint32(32).int32(message.length); + } + + if (message.prefix.length !== 0) { + writer.uint32(42).bytes(message.prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLeafOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prehashKey = (reader.int32() as any); + break; + + case 3: + message.prehashValue = (reader.int32() as any); + break; + + case 4: + message.length = (reader.int32() as any); + break; + + case 5: + message.prefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): LeafOp { + const message = createBaseLeafOp(); + message.hash = object.hash ?? 0; + message.prehashKey = object.prehashKey ?? 0; + message.prehashValue = object.prehashValue ?? 0; + message.length = object.length ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseInnerOp(): InnerOp { + return { + hash: 0, + prefix: new Uint8Array(), + suffix: new Uint8Array() + }; +} + +export const InnerOp = { + encode(message: InnerOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== 0) { + writer.uint32(8).int32(message.hash); + } + + if (message.prefix.length !== 0) { + writer.uint32(18).bytes(message.prefix); + } + + if (message.suffix.length !== 0) { + writer.uint32(26).bytes(message.suffix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = (reader.int32() as any); + break; + + case 2: + message.prefix = reader.bytes(); + break; + + case 3: + message.suffix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InnerOp { + const message = createBaseInnerOp(); + message.hash = object.hash ?? 0; + message.prefix = object.prefix ?? new Uint8Array(); + message.suffix = object.suffix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProofSpec(): ProofSpec { + return { + leafSpec: undefined, + innerSpec: undefined, + maxDepth: 0, + minDepth: 0 + }; +} + +export const ProofSpec = { + encode(message: ProofSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.leafSpec !== undefined) { + LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim(); + } + + if (message.innerSpec !== undefined) { + InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim(); + } + + if (message.maxDepth !== 0) { + writer.uint32(24).int32(message.maxDepth); + } + + if (message.minDepth !== 0) { + writer.uint32(32).int32(message.minDepth); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProofSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.leafSpec = LeafOp.decode(reader, reader.uint32()); + break; + + case 2: + message.innerSpec = InnerSpec.decode(reader, reader.uint32()); + break; + + case 3: + message.maxDepth = reader.int32(); + break; + + case 4: + message.minDepth = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ProofSpec { + const message = createBaseProofSpec(); + message.leafSpec = object.leafSpec !== undefined && object.leafSpec !== null ? LeafOp.fromPartial(object.leafSpec) : undefined; + message.innerSpec = object.innerSpec !== undefined && object.innerSpec !== null ? InnerSpec.fromPartial(object.innerSpec) : undefined; + message.maxDepth = object.maxDepth ?? 0; + message.minDepth = object.minDepth ?? 0; + return message; + } + +}; + +function createBaseInnerSpec(): InnerSpec { + return { + childOrder: [], + childSize: 0, + minPrefixLength: 0, + maxPrefixLength: 0, + emptyChild: new Uint8Array(), + hash: 0 + }; +} + +export const InnerSpec = { + encode(message: InnerSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.childOrder) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.childSize !== 0) { + writer.uint32(16).int32(message.childSize); + } + + if (message.minPrefixLength !== 0) { + writer.uint32(24).int32(message.minPrefixLength); + } + + if (message.maxPrefixLength !== 0) { + writer.uint32(32).int32(message.maxPrefixLength); + } + + if (message.emptyChild.length !== 0) { + writer.uint32(42).bytes(message.emptyChild); + } + + if (message.hash !== 0) { + writer.uint32(48).int32(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInnerSpec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.childOrder.push(reader.int32()); + } + } else { + message.childOrder.push(reader.int32()); + } + + break; + + case 2: + message.childSize = reader.int32(); + break; + + case 3: + message.minPrefixLength = reader.int32(); + break; + + case 4: + message.maxPrefixLength = reader.int32(); + break; + + case 5: + message.emptyChild = reader.bytes(); + break; + + case 6: + message.hash = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InnerSpec { + const message = createBaseInnerSpec(); + message.childOrder = object.childOrder?.map(e => e) || []; + message.childSize = object.childSize ?? 0; + message.minPrefixLength = object.minPrefixLength ?? 0; + message.maxPrefixLength = object.maxPrefixLength ?? 0; + message.emptyChild = object.emptyChild ?? new Uint8Array(); + message.hash = object.hash ?? 0; + return message; + } + +}; + +function createBaseBatchProof(): BatchProof { + return { + entries: [] + }; +} + +export const BatchProof = { + encode(message: BatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + BatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(BatchEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BatchProof { + const message = createBaseBatchProof(); + message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBatchEntry(): BatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const BatchEntry = { + encode(message: BatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = ExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BatchEntry { + const message = createBaseBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? ExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? NonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedBatchProof(): CompressedBatchProof { + return { + entries: [], + lookupInners: [] + }; +} + +export const CompressedBatchProof = { + encode(message: CompressedBatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + CompressedBatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.lookupInners) { + InnerOp.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32())); + break; + + case 2: + message.lookupInners.push(InnerOp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CompressedBatchProof { + const message = createBaseCompressedBatchProof(); + message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; + message.lookupInners = object.lookupInners?.map(e => InnerOp.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCompressedBatchEntry(): CompressedBatchEntry { + return { + exist: undefined, + nonexist: undefined + }; +} + +export const CompressedBatchEntry = { + encode(message: CompressedBatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exist !== undefined) { + CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); + } + + if (message.nonexist !== undefined) { + CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedBatchEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exist = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 2: + message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CompressedBatchEntry { + const message = createBaseCompressedBatchEntry(); + message.exist = object.exist !== undefined && object.exist !== null ? CompressedExistenceProof.fromPartial(object.exist) : undefined; + message.nonexist = object.nonexist !== undefined && object.nonexist !== null ? CompressedNonExistenceProof.fromPartial(object.nonexist) : undefined; + return message; + } + +}; + +function createBaseCompressedExistenceProof(): CompressedExistenceProof { + return { + key: new Uint8Array(), + value: new Uint8Array(), + leaf: undefined, + path: [] + }; +} + +export const CompressedExistenceProof = { + encode(message: CompressedExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.leaf !== undefined) { + LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedExistenceProof(); + + 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.leaf = LeafOp.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CompressedExistenceProof { + const message = createBaseCompressedExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.leaf = object.leaf !== undefined && object.leaf !== null ? LeafOp.fromPartial(object.leaf) : undefined; + message.path = object.path?.map(e => e) || []; + return message; + } + +}; + +function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { + return { + key: new Uint8Array(), + left: undefined, + right: undefined + }; +} + +export const CompressedNonExistenceProof = { + encode(message: CompressedNonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.left !== undefined) { + CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); + } + + if (message.right !== undefined) { + CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompressedNonExistenceProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.left = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + case 3: + message.right = CompressedExistenceProof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CompressedNonExistenceProof { + const message = createBaseCompressedNonExistenceProof(); + message.key = object.key ?? new Uint8Array(); + message.left = object.left !== undefined && object.left !== null ? CompressedExistenceProof.fromPartial(object.left) : undefined; + message.right = object.right !== undefined && object.right !== null ? CompressedExistenceProof.fromPartial(object.right) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts new file mode 100644 index 000000000..a67d60bde --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/config.ts @@ -0,0 +1,176 @@ +import { Any, 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[]; +} +/** + * 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 are the module configurations for the app. */ + 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 | undefined; +} +/** ModuleConfig is a module configuration for an app. */ + +export interface ModuleConfigSDKType { + /** + * 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?: AnySDKType | undefined; +} + +function createBaseConfig(): Config { + return { + modules: [] + }; +} + +export const Config = { + encode(message: Config, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.modules) { + ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Config { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Config { + const message = createBaseConfig(); + message.modules = object.modules?.map(e => ModuleConfig.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseModuleConfig(): ModuleConfig { + return { + name: "", + config: undefined + }; +} + +export const ModuleConfig = { + encode(message: ModuleConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts new file mode 100644 index 000000000..2041ee6c0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/module.ts @@ -0,0 +1,342 @@ +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. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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[]; +} +/** ModuleDescriptor describes an app module. */ + +export interface ModuleDescriptorSDKType { + /** + * go_import names the package that should be imported by an app to load the + * module in the runtime module registry. Either go_import must be defined here + * or the go_package option must be defined at the file level to indicate + * to users where to location the module implementation. go_import takes + * precedence over go_package when both are defined. + */ + 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: PackageReferenceSDKType[]; + /** + * 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: 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 fields containing the + * test "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; +} +/** PackageReference is a reference to a protobuf package used by a module. */ + +export interface PackageReferenceSDKType { + /** 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 fields containing the + * test "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + + revision: number; +} +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ + +export interface MigrateFromInfo { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ + +export interface MigrateFromInfoSDKType { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} + +function createBaseModuleDescriptor(): ModuleDescriptor { + return { + goImport: "", + usePackage: [], + canMigrateFrom: [] + }; +} + +export const ModuleDescriptor = { + encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.goImport !== "") { + writer.uint32(10).string(message.goImport); + } + + for (const v of message.usePackage) { + PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.canMigrateFrom) { + MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.goImport = reader.string(); + break; + + case 2: + message.usePackage.push(PackageReference.decode(reader, reader.uint32())); + break; + + case 3: + message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModuleDescriptor { + const message = createBaseModuleDescriptor(); + message.goImport = object.goImport ?? ""; + message.usePackage = object.usePackage?.map(e => PackageReference.fromPartial(e)) || []; + message.canMigrateFrom = object.canMigrateFrom?.map(e => MigrateFromInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePackageReference(): PackageReference { + return { + name: "", + revision: 0 + }; +} + +export const PackageReference = { + encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.revision !== 0) { + writer.uint32(16).uint32(message.revision); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePackageReference(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.revision = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PackageReference { + const message = createBasePackageReference(); + message.name = object.name ?? ""; + message.revision = object.revision ?? 0; + return message; + } + +}; + +function createBaseMigrateFromInfo(): MigrateFromInfo { + return { + module: "" + }; +} + +export const MigrateFromInfo = { + encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateFromInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.module = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MigrateFromInfo { + const message = createBaseMigrateFromInfo(); + message.module = object.module ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts new file mode 100644 index 000000000..9ae7ca7f3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts @@ -0,0 +1,35 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(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/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts new file mode 100644 index 000000000..005f0d648 --- /dev/null +++ b/examples/telescope/codegen/cosmos/app/v1alpha1/query.ts @@ -0,0 +1,99 @@ +import { Config, ConfigSDKType } from "./config"; +import * as _m0 from "protobufjs/minimal"; +/** QueryConfigRequest is the Query/Config request type. */ + +export interface QueryConfigRequest {} +/** 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 | undefined; +} +/** QueryConfigRequest is the Query/Config response type. */ + +export interface QueryConfigResponseSDKType { + /** config is the current app config. */ + config?: ConfigSDKType | undefined; +} + +function createBaseQueryConfigRequest(): QueryConfigRequest { + return {}; +} + +export const QueryConfigRequest = { + encode(_: QueryConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryConfigRequest { + const message = createBaseQueryConfigRequest(); + return message; + } + +}; + +function createBaseQueryConfigResponse(): QueryConfigResponse { + return { + config: undefined + }; +} + +export const QueryConfigResponse = { + encode(message: QueryConfigResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + Config.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryConfigResponse { + const message = createBaseQueryConfigResponse(); + message.config = object.config !== undefined && object.config !== null ? Config.fromPartial(object.config) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts new file mode 100644 index 000000000..61a7013dd --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/auth.ts @@ -0,0 +1,284 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } 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 + * type for additional functionality (e.g. vesting). + */ + +export interface BaseAccount { + address: string; + pubKey?: Any | undefined; + accountNumber: Long; + sequence: Long; +} +/** + * 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 { + address: string; + pub_key?: AnySDKType | undefined; + account_number: Long; + sequence: Long; +} +/** ModuleAccount defines an account for modules that holds coins on a pool. */ + +export interface ModuleAccount { + baseAccount?: BaseAccount | undefined; + name: string; + permissions: string[]; +} +/** ModuleAccount defines an account for modules that holds coins on a pool. */ + +export interface ModuleAccountSDKType { + base_account?: BaseAccountSDKType | undefined; + 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; +} +/** 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; +} + +function createBaseBaseAccount(): BaseAccount { + return { + address: "", + pubKey: undefined, + accountNumber: Long.UZERO, + sequence: Long.UZERO + }; +} + +export const BaseAccount = { + encode(message: BaseAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(24).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(32).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseAccount(); + + 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.accountNumber = (reader.uint64() as Long); + break; + + case 4: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BaseAccount { + const message = createBaseBaseAccount(); + message.address = object.address ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModuleAccount(): ModuleAccount { + return { + baseAccount: undefined, + name: "", + permissions: [] + }; +} + +export const ModuleAccount = { + encode(message: ModuleAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + for (const v of message.permissions) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.name = reader.string(); + break; + + case 3: + message.permissions.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModuleAccount { + const message = createBaseModuleAccount(); + message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; + message.name = object.name ?? ""; + message.permissions = object.permissions?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxMemoCharacters: Long.UZERO, + txSigLimit: Long.UZERO, + txSizeCostPerByte: Long.UZERO, + sigVerifyCostEd25519: Long.UZERO, + sigVerifyCostSecp256k1: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxMemoCharacters.isZero()) { + writer.uint32(8).uint64(message.maxMemoCharacters); + } + + if (!message.txSigLimit.isZero()) { + writer.uint32(16).uint64(message.txSigLimit); + } + + if (!message.txSizeCostPerByte.isZero()) { + writer.uint32(24).uint64(message.txSizeCostPerByte); + } + + if (!message.sigVerifyCostEd25519.isZero()) { + writer.uint32(32).uint64(message.sigVerifyCostEd25519); + } + + if (!message.sigVerifyCostSecp256k1.isZero()) { + writer.uint32(40).uint64(message.sigVerifyCostSecp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxMemoCharacters = (reader.uint64() as Long); + break; + + case 2: + message.txSigLimit = (reader.uint64() as Long); + break; + + case 3: + message.txSizeCostPerByte = (reader.uint64() as Long); + break; + + case 4: + message.sigVerifyCostEd25519 = (reader.uint64() as Long); + break; + + case 5: + message.sigVerifyCostSecp256k1 = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? Long.fromValue(object.maxMemoCharacters) : Long.UZERO; + message.txSigLimit = object.txSigLimit !== undefined && object.txSigLimit !== null ? Long.fromValue(object.txSigLimit) : Long.UZERO; + message.txSizeCostPerByte = object.txSizeCostPerByte !== undefined && object.txSizeCostPerByte !== null ? Long.fromValue(object.txSizeCostPerByte) : Long.UZERO; + message.sigVerifyCostEd25519 = object.sigVerifyCostEd25519 !== undefined && object.sigVerifyCostEd25519 !== null ? Long.fromValue(object.sigVerifyCostEd25519) : Long.UZERO; + message.sigVerifyCostSecp256k1 = object.sigVerifyCostSecp256k1 !== undefined && object.sigVerifyCostSecp256k1 !== null ? Long.fromValue(object.sigVerifyCostSecp256k1) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts new file mode 100644 index 000000000..af6abc863 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/genesis.ts @@ -0,0 +1,76 @@ +import { Params, ParamsSDKType } from "./auth"; +import { Any, 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 | undefined; + /** accounts are the accounts present at genesis. */ + + accounts: Any[]; +} +/** GenesisState defines the auth module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params?: ParamsSDKType | undefined; + /** accounts are the accounts present at genesis. */ + + accounts: AnySDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + accounts: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.accounts.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts new file mode 100644 index 000000000..83fdf31f5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.lcd.ts @@ -0,0 +1,83 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); + } + /* Accounts returns all the existing accounts + + Since: cosmos-sdk 0.43 */ + + + async accounts(params: QueryAccountsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/auth/v1beta1/accounts`; + return await this.req.get(endpoint, options); + } + /* Account returns account details based on address. */ + + + async account(params: QueryAccountRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; + return await this.req.get(endpoint); + } + /* Params queries all parameters. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/params`; + return await this.req.get(endpoint); + } + /* ModuleAccounts returns all the existing module accounts. */ + + + async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/module_accounts`; + return await this.req.get(endpoint); + } + /* Bech32 queries bech32Prefix */ + + + async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32`; + return await this.req.get(endpoint); + } + /* AddressBytesToString converts Account Address bytes to string */ + + + async addressBytesToString(params: AddressBytesToStringRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; + return await this.req.get(endpoint); + } + /* AddressStringToBytes converts Address string to bytes */ + + + async addressStringToBytes(params: AddressStringToBytesRequest): Promise { + const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..bd0c78f34 --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts @@ -0,0 +1,125 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, 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; + /** Params queries all parameters. */ + + params(request?: QueryParamsRequest): Promise; + /** ModuleAccounts returns all the existing module accounts. */ + + moduleAccounts(request?: QueryModuleAccountsRequest): Promise; + /** Bech32 queries bech32Prefix */ + + bech32Prefix(request?: Bech32PrefixRequest): Promise; + /** AddressBytesToString converts Account Address bytes to string */ + + addressBytesToString(request: AddressBytesToStringRequest): Promise; + /** AddressStringToBytes converts Address string to bytes */ + + addressStringToBytes(request: AddressStringToBytesRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.accounts = this.accounts.bind(this); + this.account = this.account.bind(this); + this.params = this.params.bind(this); + this.moduleAccounts = this.moduleAccounts.bind(this); + this.bech32Prefix = this.bech32Prefix.bind(this); + this.addressBytesToString = this.addressBytesToString.bind(this); + this.addressStringToBytes = this.addressStringToBytes.bind(this); + } + + accounts(request: QueryAccountsRequest = { + pagination: undefined + }): Promise { + const data = QueryAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Accounts", data); + return promise.then(data => QueryAccountsResponse.decode(new _m0.Reader(data))); + } + + account(request: QueryAccountRequest): Promise { + const data = QueryAccountRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Account", data); + return promise.then(data => QueryAccountResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + moduleAccounts(request: QueryModuleAccountsRequest = {}): Promise { + const data = QueryModuleAccountsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "ModuleAccounts", data); + return promise.then(data => QueryModuleAccountsResponse.decode(new _m0.Reader(data))); + } + + bech32Prefix(request: Bech32PrefixRequest = {}): Promise { + const data = Bech32PrefixRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "Bech32Prefix", data); + return promise.then(data => Bech32PrefixResponse.decode(new _m0.Reader(data))); + } + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + const data = AddressBytesToStringRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressBytesToString", data); + return promise.then(data => AddressBytesToStringResponse.decode(new _m0.Reader(data))); + } + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + const data = AddressStringToBytesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.auth.v1beta1.Query", "AddressStringToBytes", data); + return promise.then(data => AddressStringToBytesResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + accounts(request?: QueryAccountsRequest): Promise { + return queryService.accounts(request); + }, + + account(request: QueryAccountRequest): Promise { + return queryService.account(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + moduleAccounts(request?: QueryModuleAccountsRequest): Promise { + return queryService.moduleAccounts(request); + }, + + bech32Prefix(request?: Bech32PrefixRequest): Promise { + return queryService.bech32Prefix(request); + }, + + addressBytesToString(request: AddressBytesToStringRequest): Promise { + return queryService.addressBytesToString(request); + }, + + addressStringToBytes(request: AddressStringToBytesRequest): Promise { + return queryService.addressStringToBytes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts new file mode 100644 index 000000000..d26e682dd --- /dev/null +++ b/examples/telescope/codegen/cosmos/auth/v1beta1/query.ts @@ -0,0 +1,771 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Params, ParamsSDKType } from "./auth"; +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 | undefined; +} +/** + * QueryAccountsRequest is the request type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryAccountsRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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: Any[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryAccountsResponse is the response type for the Query/Accounts RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryAccountsResponseSDKType { + /** accounts are the existing accounts */ + accounts: AnySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ + +export interface QueryAccountRequest { + /** address defines the address to query for. */ + address: string; +} +/** QueryAccountRequest is the request type for the Query/Account RPC method. */ + +export interface QueryAccountRequestSDKType { + /** address defines the address to query for. */ + address: string; +} +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ + +export interface QueryModuleAccountsRequest {} +/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ + +export interface QueryModuleAccountsRequestSDKType {} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponse { + /** params defines the parameters of the module. */ + params?: Params | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params?: ParamsSDKType | undefined; +} +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ + +export interface QueryAccountResponse { + /** account defines the account of the corresponding address. */ + account?: Any | undefined; +} +/** QueryAccountResponse is the response type for the Query/Account RPC method. */ + +export interface QueryAccountResponseSDKType { + /** account defines the account of the corresponding address. */ + account?: AnySDKType | undefined; +} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequest {} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType {} +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ + +export interface QueryModuleAccountsResponse { + accounts: Any[]; +} +/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ + +export interface QueryModuleAccountsResponseSDKType { + accounts: AnySDKType[]; +} +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ + +export interface Bech32PrefixRequest {} +/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ + +export interface Bech32PrefixRequestSDKType {} +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ + +export interface Bech32PrefixResponse { + bech32Prefix: string; +} +/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ + +export interface Bech32PrefixResponseSDKType { + bech32_prefix: string; +} +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ + +export interface AddressBytesToStringRequest { + addressBytes: Uint8Array; +} +/** AddressBytesToStringRequest is the request type for AddressString rpc method */ + +export interface AddressBytesToStringRequestSDKType { + address_bytes: Uint8Array; +} +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ + +export interface AddressBytesToStringResponse { + addressString: string; +} +/** AddressBytesToStringResponse is the response type for AddressString rpc method */ + +export interface AddressBytesToStringResponseSDKType { + address_string: string; +} +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ + +export interface AddressStringToBytesRequest { + addressString: string; +} +/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ + +export interface AddressStringToBytesRequestSDKType { + address_string: string; +} +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + +export interface AddressStringToBytesResponse { + addressBytes: Uint8Array; +} +/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ + +export interface AddressStringToBytesResponseSDKType { + address_bytes: Uint8Array; +} + +function createBaseQueryAccountsRequest(): QueryAccountsRequest { + return { + pagination: undefined + }; +} + +export const QueryAccountsRequest = { + encode(message: QueryAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryAccountsRequest { + const message = createBaseQueryAccountsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAccountsResponse(): QueryAccountsResponse { + return { + accounts: [], + pagination: undefined + }; +} + +export const QueryAccountsResponse = { + encode(message: QueryAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + 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: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.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; + }, + + fromPartial(object: Partial): QueryAccountsResponse { + const message = createBaseQueryAccountsResponse(); + message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAccountRequest(): QueryAccountRequest { + return { + address: "" + }; +} + +export const QueryAccountRequest = { + encode(message: QueryAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAccountRequest { + const message = createBaseQueryAccountRequest(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseQueryModuleAccountsRequest(): QueryModuleAccountsRequest { + return {}; +} + +export const QueryModuleAccountsRequest = { + encode(_: QueryModuleAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryModuleAccountsRequest { + const message = createBaseQueryModuleAccountsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQueryAccountResponse(): QueryAccountResponse { + return { + account: undefined + }; +} + +export const QueryAccountResponse = { + encode(message: QueryAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.account !== undefined) { + Any.encode(message.account, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.account = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAccountResponse { + const message = createBaseQueryAccountResponse(); + message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryModuleAccountsResponse(): QueryModuleAccountsResponse { + return { + accounts: [] + }; +} + +export const QueryModuleAccountsResponse = { + encode(message: QueryModuleAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.accounts) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleAccountsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.accounts.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryModuleAccountsResponse { + const message = createBaseQueryModuleAccountsResponse(); + message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBech32PrefixRequest(): Bech32PrefixRequest { + return {}; +} + +export const Bech32PrefixRequest = { + encode(_: Bech32PrefixRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): Bech32PrefixRequest { + const message = createBaseBech32PrefixRequest(); + return message; + } + +}; + +function createBaseBech32PrefixResponse(): Bech32PrefixResponse { + return { + bech32Prefix: "" + }; +} + +export const Bech32PrefixResponse = { + encode(message: Bech32PrefixResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32Prefix !== "") { + writer.uint32(10).string(message.bech32Prefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBech32PrefixResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32Prefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Bech32PrefixResponse { + const message = createBaseBech32PrefixResponse(); + message.bech32Prefix = object.bech32Prefix ?? ""; + return message; + } + +}; + +function createBaseAddressBytesToStringRequest(): AddressBytesToStringRequest { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressBytesToStringRequest = { + encode(message: AddressBytesToStringRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AddressBytesToStringRequest { + const message = createBaseAddressBytesToStringRequest(); + message.addressBytes = object.addressBytes ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAddressBytesToStringResponse(): AddressBytesToStringResponse { + return { + addressString: "" + }; +} + +export const AddressBytesToStringResponse = { + encode(message: AddressBytesToStringResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressBytesToStringResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AddressBytesToStringResponse { + const message = createBaseAddressBytesToStringResponse(); + message.addressString = object.addressString ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesRequest(): AddressStringToBytesRequest { + return { + addressString: "" + }; +} + +export const AddressStringToBytesRequest = { + encode(message: AddressStringToBytesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressString !== "") { + writer.uint32(10).string(message.addressString); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressString = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AddressStringToBytesRequest { + const message = createBaseAddressStringToBytesRequest(); + message.addressString = object.addressString ?? ""; + return message; + } + +}; + +function createBaseAddressStringToBytesResponse(): AddressStringToBytesResponse { + return { + addressBytes: new Uint8Array() + }; +} + +export const AddressStringToBytesResponse = { + encode(message: AddressStringToBytesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.addressBytes.length !== 0) { + writer.uint32(10).bytes(message.addressBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressStringToBytesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addressBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AddressStringToBytesResponse { + const message = createBaseAddressStringToBytesResponse(); + message.addressBytes = object.addressBytes ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts new file mode 100644 index 000000000..519cb7f87 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/authz.ts @@ -0,0 +1,306 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ + +export interface GenericAuthorization { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} +/** + * GenericAuthorization gives the grantee unrestricted permissions to execute + * the provided method on behalf of the granter's account. + */ + +export interface GenericAuthorizationSDKType { + /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ + msg: string; +} +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ + +export interface Grant { + authorization?: 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?: Date | undefined; +} +/** + * Grant gives permissions to execute + * the provide method with expiration time. + */ + +export interface GrantSDKType { + authorization?: AnySDKType | 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?: Date | 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 GrantAuthorization { + granter: string; + grantee: string; + authorization?: Any | undefined; + expiration?: Date | 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 GrantAuthorizationSDKType { + granter: string; + grantee: string; + authorization?: AnySDKType | undefined; + expiration?: Date | undefined; +} +/** 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[]; +} +/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ + +export interface GrantQueueItemSDKType { + /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ + msg_type_urls: string[]; +} + +function createBaseGenericAuthorization(): GenericAuthorization { + return { + msg: "" + }; +} + +export const GenericAuthorization = { + encode(message: GenericAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msg !== "") { + writer.uint32(10).string(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenericAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msg = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenericAuthorization { + const message = createBaseGenericAuthorization(); + message.msg = object.msg ?? ""; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + authorization: undefined, + expiration: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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; + return message; + } + +}; + +function createBaseGrantAuthorization(): GrantAuthorization { + return { + granter: "", + grantee: "", + authorization: undefined, + expiration: undefined + }; +} + +export const GrantAuthorization = { + encode(message: GrantAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.authorization !== undefined) { + Any.encode(message.authorization, writer.uint32(26).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.authorization = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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; + return message; + } + +}; + +function createBaseGrantQueueItem(): GrantQueueItem { + return { + msgTypeUrls: [] + }; +} + +export const GrantQueueItem = { + encode(message: GrantQueueItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.msgTypeUrls) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrantQueueItem(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrls.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GrantQueueItem { + const message = createBaseGrantQueueItem(); + message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts new file mode 100644 index 000000000..4ca6f0c5e --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/event.ts @@ -0,0 +1,179 @@ +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; +} +/** EventGrant is emitted on Msg/Grant */ + +export interface EventGrantSDKType { + /** Msg type URL for which an autorization is granted */ + msg_type_url: string; + /** Granter account address */ + + granter: string; + /** Grantee account address */ + + 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; +} +/** EventRevoke is emitted on Msg/Revoke */ + +export interface EventRevokeSDKType { + /** Msg type URL for which an autorization is revoked */ + msg_type_url: string; + /** Granter account address */ + + granter: string; + /** Grantee account address */ + + grantee: string; +} + +function createBaseEventGrant(): EventGrant { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventGrant = { + encode(message: EventGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventGrant { + const message = createBaseEventGrant(); + message.msgTypeUrl = object.msgTypeUrl ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseEventRevoke(): EventRevoke { + return { + msgTypeUrl: "", + granter: "", + grantee: "" + }; +} + +export const EventRevoke = { + encode(message: EventRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(18).string(message.msgTypeUrl); + } + + if (message.granter !== "") { + writer.uint32(26).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(34).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.msgTypeUrl = reader.string(); + break; + + case 3: + message.granter = reader.string(); + break; + + case 4: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventRevoke { + const message = createBaseEventRevoke(); + message.msgTypeUrl = object.msgTypeUrl ?? ""; + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts new file mode 100644 index 000000000..9f09b9813 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/genesis.ts @@ -0,0 +1,57 @@ +import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; +import * as _m0 from "protobufjs/minimal"; +/** GenesisState defines the authz module's genesis state. */ + +export interface GenesisState { + authorization: GrantAuthorization[]; +} +/** GenesisState defines the authz module's genesis state. */ + +export interface GenesisStateSDKType { + authorization: GrantAuthorizationSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + authorization: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.authorization) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.authorization.push(GrantAuthorization.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts new file mode 100644 index 000000000..0a8df3591 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.lcd.ts @@ -0,0 +1,79 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); + } + /* Returns list of `Authorization`, granted to the grantee by the granter. */ + + + async grants(params: QueryGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.granter !== "undefined") { + options.params.granter = params.granter; + } + + if (typeof params?.grantee !== "undefined") { + options.params.grantee = params.grantee; + } + + if (typeof params?.msgTypeUrl !== "undefined") { + options.params.msg_type_url = params.msgTypeUrl; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants`; + return await this.req.get(endpoint, options); + } + /* GranterGrants returns list of `GrantAuthorization`, granted by granter. + + Since: cosmos-sdk 0.46 */ + + + async granterGrants(params: QueryGranterGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; + return await this.req.get(endpoint, options); + } + /* GranteeGrants returns a list of `GrantAuthorization` by grantee. + + Since: cosmos-sdk 0.46 */ + + + async granteeGrants(params: QueryGranteeGrantsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..c2fda460f --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts @@ -0,0 +1,71 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grants = this.grants.bind(this); + this.granterGrants = this.granterGrants.bind(this); + this.granteeGrants = this.granteeGrants.bind(this); + } + + grants(request: QueryGrantsRequest): Promise { + const data = QueryGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "Grants", data); + return promise.then(data => QueryGrantsResponse.decode(new _m0.Reader(data))); + } + + granterGrants(request: QueryGranterGrantsRequest): Promise { + const data = QueryGranterGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranterGrants", data); + return promise.then(data => QueryGranterGrantsResponse.decode(new _m0.Reader(data))); + } + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + const data = QueryGranteeGrantsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Query", "GranteeGrants", data); + return promise.then(data => QueryGranteeGrantsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + grants(request: QueryGrantsRequest): Promise { + return queryService.grants(request); + }, + + granterGrants(request: QueryGranterGrantsRequest): Promise { + return queryService.granterGrants(request); + }, + + granteeGrants(request: QueryGranteeGrantsRequest): Promise { + return queryService.granteeGrants(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts new file mode 100644 index 000000000..cf5557e3b --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/query.ts @@ -0,0 +1,463 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, GrantSDKType, GrantAuthorization, 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 | undefined; +} +/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ + +export interface QueryGrantsRequestSDKType { + 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?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ + +export interface QueryGrantsResponseSDKType { + /** authorizations is a list of grants granted for grantee by granter. */ + grants: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ + +export interface QueryGranterGrantsRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ + +export interface QueryGranterGrantsResponseSDKType { + /** grants is a list of grants granted by the granter. */ + grants: GrantAuthorizationSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ + +export interface QueryGranteeGrantsRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ + +export interface QueryGranteeGrantsResponseSDKType { + /** grants is a list of grants granted to the grantee. */ + grants: GrantAuthorizationSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryGrantsRequest(): QueryGrantsRequest { + return { + granter: "", + grantee: "", + msgTypeUrl: "", + pagination: undefined + }; +} + +export const QueryGrantsRequest = { + encode(message: QueryGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGrantsRequest { + const message = createBaseQueryGrantsRequest(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGrantsResponse(): QueryGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGrantsResponse = { + encode(message: QueryGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(Grant.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGrantsResponse { + const message = createBaseQueryGrantsResponse(); + message.grants = object.grants?.map(e => Grant.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryGranterGrantsRequest = { + encode(message: QueryGranterGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGranterGrantsRequest { + const message = createBaseQueryGranterGrantsRequest(); + message.granter = object.granter ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranterGrantsResponse = { + encode(message: QueryGranterGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranterGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGranterGrantsResponse { + const message = createBaseQueryGranterGrantsResponse(); + message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryGranteeGrantsRequest = { + encode(message: QueryGranteeGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGranteeGrantsRequest { + const message = createBaseQueryGranteeGrantsRequest(); + message.grantee = object.grantee ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { + return { + grants: [], + pagination: undefined + }; +} + +export const QueryGranteeGrantsResponse = { + encode(message: QueryGranteeGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.grants) { + GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGranteeGrantsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGranteeGrantsResponse { + const message = createBaseQueryGranteeGrantsResponse(); + message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts new file mode 100644 index 000000000..da254bafc --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.amino.ts @@ -0,0 +1,128 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; +export interface AminoMsgGrant extends AminoMsg { + type: "cosmos-sdk/MsgGrant"; + value: { + granter: string; + grantee: string; + grant: { + authorization: { + type_url: string; + value: Uint8Array; + }; + expiration: { + seconds: string; + nanos: number; + }; + }; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/MsgExec"; + value: { + grantee: string; + msgs: { + type_url: string; + value: Uint8Array; + }[]; + }; +} +export interface AminoMsgRevoke extends AminoMsg { + type: "cosmos-sdk/MsgRevoke"; + value: { + granter: string; + grantee: string; + msg_type_url: string; + }; +} +export const AminoConverter = { + "/cosmos.authz.v1beta1.MsgGrant": { + aminoType: "cosmos-sdk/MsgGrant", + toAmino: ({ + granter, + grantee, + grant + }: MsgGrant): AminoMsgGrant["value"] => { + return { + granter, + grantee, + grant: { + authorization: { + type_url: grant.authorization.typeUrl, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + }, + fromAmino: ({ + granter, + grantee, + grant + }: AminoMsgGrant["value"]): MsgGrant => { + return { + granter, + grantee, + grant: { + authorization: { + typeUrl: grant.authorization.type_url, + value: grant.authorization.value + }, + expiration: grant.expiration + } + }; + } + }, + "/cosmos.authz.v1beta1.MsgExec": { + aminoType: "cosmos-sdk/MsgExec", + toAmino: ({ + grantee, + msgs + }: MsgExec): AminoMsgExec["value"] => { + return { + grantee, + msgs: msgs.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })) + }; + }, + fromAmino: ({ + grantee, + msgs + }: AminoMsgExec["value"]): MsgExec => { + return { + grantee, + msgs: msgs.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })) + }; + } + }, + "/cosmos.authz.v1beta1.MsgRevoke": { + aminoType: "cosmos-sdk/MsgRevoke", + toAmino: ({ + granter, + grantee, + msgTypeUrl + }: MsgRevoke): AminoMsgRevoke["value"] => { + return { + granter, + grantee, + msg_type_url: msgTypeUrl + }; + }, + fromAmino: ({ + granter, + grantee, + msg_type_url + }: AminoMsgRevoke["value"]): MsgRevoke => { + return { + granter, + grantee, + msgTypeUrl: msg_type_url + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts new file mode 100644 index 000000000..c4c1a539f --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.registry.ts @@ -0,0 +1,79 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value + }; + } + + }, + fromPartial: { + grant(value: MsgGrant) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgGrant", + value: MsgGrant.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + revoke(value: MsgRevoke) { + return { + typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", + value: MsgRevoke.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..63499c426 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,56 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grant = this.grant.bind(this); + this.exec = this.exec.bind(this); + this.revoke = this.revoke.bind(this); + } + + grant(request: MsgGrant): Promise { + const data = MsgGrant.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Grant", data); + return promise.then(data => MsgGrantResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + revoke(request: MsgRevoke): Promise { + const data = MsgRevoke.encode(request).finish(); + const promise = this.rpc.request("cosmos.authz.v1beta1.Msg", "Revoke", data); + return promise.then(data => MsgRevokeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts new file mode 100644 index 000000000..105936746 --- /dev/null +++ b/examples/telescope/codegen/cosmos/authz/v1beta1/tx.ts @@ -0,0 +1,395 @@ +import { Grant, GrantSDKType } from "./authz"; +import { Any, 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 | undefined; +} +/** + * 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 | undefined; +} +/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ + +export interface MsgExecResponse { + results: Uint8Array[]; +} +/** 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[]; +} +/** + * 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; + /** + * 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: AnySDKType[]; +} +/** MsgGrantResponse defines the Msg/MsgGrant response type. */ + +export interface MsgGrantResponse {} +/** 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; +} +/** + * 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 {} +/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ + +export interface MsgRevokeResponseSDKType {} + +function createBaseMsgGrant(): MsgGrant { + return { + granter: "", + grantee: "", + grant: undefined + }; +} + +export const MsgGrant = { + encode(message: MsgGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.grant !== undefined) { + Grant.encode(message.grant, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.grant = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgGrant { + const message = createBaseMsgGrant(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + message.grant = object.grant !== undefined && object.grant !== null ? Grant.fromPartial(object.grant) : undefined; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return { + results: [] + }; +} + +export const MsgExecResponse = { + encode(message: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.results) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.results.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExecResponse { + const message = createBaseMsgExecResponse(); + message.results = object.results?.map(e => e) || []; + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + grantee: "", + msgs: [] + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + for (const v of message.msgs) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.msgs.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExec { + const message = createBaseMsgExec(); + message.grantee = object.grantee ?? ""; + message.msgs = object.msgs?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgGrantResponse(): MsgGrantResponse { + return {}; +} + +export const MsgGrantResponse = { + encode(_: MsgGrantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgGrantResponse { + const message = createBaseMsgGrantResponse(); + return message; + } + +}; + +function createBaseMsgRevoke(): MsgRevoke { + return { + granter: "", + grantee: "", + msgTypeUrl: "" + }; +} + +export const MsgRevoke = { + encode(message: MsgRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.msgTypeUrl !== "") { + writer.uint32(26).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevoke(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgRevoke { + const message = createBaseMsgRevoke(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + message.msgTypeUrl = object.msgTypeUrl ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeResponse(): MsgRevokeResponse { + return {}; +} + +export const MsgRevokeResponse = { + encode(_: MsgRevokeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgRevokeResponse { + const message = createBaseMsgRevokeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts new file mode 100644 index 000000000..09806a64a --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/authz.ts @@ -0,0 +1,67 @@ +import { Coin, 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 { + spendLimit: Coin[]; +} +/** + * SendAuthorization allows the grantee to spend up to spend_limit coins from + * the granter's account. + * + * Since: cosmos-sdk 0.43 + */ + +export interface SendAuthorizationSDKType { + spend_limit: CoinSDKType[]; +} + +function createBaseSendAuthorization(): SendAuthorization { + return { + spendLimit: [] + }; +} + +export const SendAuthorization = { + encode(message: SendAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SendAuthorization { + const message = createBaseSendAuthorization(); + message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts new file mode 100644 index 000000000..409c9e29d --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/bank.ts @@ -0,0 +1,665 @@ +import { Coin, 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; +} +/** 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; +} +/** + * 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[]; +} +/** Input models transaction input. */ + +export interface InputSDKType { + address: string; + coins: CoinSDKType[]; +} +/** Output models transaction outputs. */ + +export interface Output { + address: string; + coins: Coin[]; +} +/** 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 { + total: Coin[]; +} +/** + * 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 { + 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[]; +} +/** + * DenomUnit represents a struct that describes a given + * denomination unit of the basic token. + */ + +export interface DenomUnitSDKType { + /** 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[]; +} +/** + * 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; +} +/** + * Metadata represents a struct that describes + * a basic token. + */ + +export interface MetadataSDKType { + description: string; + /** denom_units represents the list of DenomUnit's for a given coin */ + + denom_units: DenomUnitSDKType[]; + /** 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; +} + +function createBaseParams(): Params { + return { + sendEnabled: [], + defaultSendEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.sendEnabled) { + SendEnabled.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.defaultSendEnabled === true) { + writer.uint32(16).bool(message.defaultSendEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled.push(SendEnabled.decode(reader, reader.uint32())); + break; + + case 2: + message.defaultSendEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.sendEnabled = object.sendEnabled?.map(e => SendEnabled.fromPartial(e)) || []; + message.defaultSendEnabled = object.defaultSendEnabled ?? false; + return message; + } + +}; + +function createBaseSendEnabled(): SendEnabled { + return { + denom: "", + enabled: false + }; +} + +export const SendEnabled = { + encode(message: SendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.enabled === true) { + writer.uint32(16).bool(message.enabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSendEnabled(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.enabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SendEnabled { + const message = createBaseSendEnabled(); + message.denom = object.denom ?? ""; + message.enabled = object.enabled ?? false; + return message; + } + +}; + +function createBaseInput(): Input { + return { + address: "", + coins: [] + }; +} + +export const Input = { + encode(message: Input, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Input { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Input { + const message = createBaseInput(); + message.address = object.address ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOutput(): Output { + return { + address: "", + coins: [] + }; +} + +export const Output = { + encode(message: Output, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Output { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOutput(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Output { + const message = createBaseOutput(); + message.address = object.address ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSupply(): Supply { + return { + total: [] + }; +} + +export const Supply = { + encode(message: Supply, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.total) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Supply { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSupply(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Supply { + const message = createBaseSupply(); + message.total = object.total?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDenomUnit(): DenomUnit { + return { + denom: "", + exponent: 0, + aliases: [] + }; +} + +export const DenomUnit = { + encode(message: DenomUnit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.exponent !== 0) { + writer.uint32(16).uint32(message.exponent); + } + + for (const v of message.aliases) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomUnit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.exponent = reader.uint32(); + break; + + case 3: + message.aliases.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DenomUnit { + const message = createBaseDenomUnit(); + message.denom = object.denom ?? ""; + message.exponent = object.exponent ?? 0; + message.aliases = object.aliases?.map(e => e) || []; + return message; + } + +}; + +function createBaseMetadata(): Metadata { + return { + description: "", + denomUnits: [], + base: "", + display: "", + name: "", + symbol: "", + uri: "", + uriHash: "" + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== "") { + writer.uint32(10).string(message.description); + } + + for (const v of message.denomUnits) { + DenomUnit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.base !== "") { + writer.uint32(26).string(message.base); + } + + if (message.display !== "") { + writer.uint32(34).string(message.display); + } + + if (message.name !== "") { + writer.uint32(42).string(message.name); + } + + if (message.symbol !== "") { + writer.uint32(50).string(message.symbol); + } + + if (message.uri !== "") { + writer.uint32(58).string(message.uri); + } + + if (message.uriHash !== "") { + writer.uint32(66).string(message.uriHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.description = reader.string(); + break; + + case 2: + message.denomUnits.push(DenomUnit.decode(reader, reader.uint32())); + break; + + case 3: + message.base = reader.string(); + break; + + case 4: + message.display = reader.string(); + break; + + case 5: + message.name = reader.string(); + break; + + case 6: + message.symbol = reader.string(); + break; + + case 7: + message.uri = reader.string(); + break; + + case 8: + message.uriHash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Metadata { + const message = createBaseMetadata(); + message.description = object.description ?? ""; + message.denomUnits = object.denomUnits?.map(e => DenomUnit.fromPartial(e)) || []; + message.base = object.base ?? ""; + message.display = object.display ?? ""; + message.name = object.name ?? ""; + message.symbol = object.symbol ?? ""; + message.uri = object.uri ?? ""; + message.uriHash = object.uriHash ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts new file mode 100644 index 000000000..da2f39609 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/genesis.ts @@ -0,0 +1,193 @@ +import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; +import { Coin, 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 | undefined; + /** 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[]; +} +/** GenesisState defines the bank module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params?: ParamsSDKType | undefined; + /** balances is an array containing the balances of all the accounts. */ + + balances: BalanceSDKType[]; + /** + * 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: CoinSDKType[]; + /** denom_metadata defines the metadata of the differents coins. */ + + 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[]; +} +/** + * Balance defines an account address and balance pair used in the bank module's + * genesis state. + */ + +export interface BalanceSDKType { + /** address is the address of the balance holder. */ + address: string; + /** coins defines the different coins this balance holds. */ + + coins: CoinSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + balances: [], + supply: [], + denomMetadata: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.balances) { + Balance.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.denomMetadata) { + Metadata.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balances.push(Balance.decode(reader, reader.uint32())); + break; + + case 3: + message.supply.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.denomMetadata.push(Metadata.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.balances = object.balances?.map(e => Balance.fromPartial(e)) || []; + message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; + message.denomMetadata = object.denomMetadata?.map(e => Metadata.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseBalance(): Balance { + return { + address: "", + coins: [] + }; +} + +export const Balance = { + encode(message: Balance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.coins) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Balance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBalance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.coins.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Balance { + const message = createBaseBalance(); + message.address = object.address ?? ""; + message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts new file mode 100644 index 000000000..7535655dc --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.lcd.ts @@ -0,0 +1,150 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); + } + /* Balance queries the balance of a single coin for a single account. */ + + + async balance(params: QueryBalanceRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; + return await this.req.get(endpoint, options); + } + /* AllBalances queries the balance of all coins for a single account. */ + + + async allBalances(params: QueryAllBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; + return await this.req.get(endpoint, options); + } + /* SpendableBalances queries the spenable balance of all coins for a single + account. */ + + + async spendableBalances(params: QuerySpendableBalancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; + return await this.req.get(endpoint, options); + } + /* TotalSupply queries the total supply of all coins. */ + + + async totalSupply(params: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/supply`; + return await this.req.get(endpoint, options); + } + /* SupplyOf queries the supply of a single coin. */ + + + async supplyOf(params: QuerySupplyOfRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.denom !== "undefined") { + options.params.denom = params.denom; + } + + const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; + return await this.req.get(endpoint, options); + } + /* Params queries the parameters of x/bank module. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/bank/v1beta1/params`; + return await this.req.get(endpoint); + } + /* DenomsMetadata queries the client metadata of a given coin denomination. */ + + + async denomMetadata(params: QueryDenomMetadataRequest): Promise { + const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; + return await this.req.get(endpoint); + } + /* DenomsMetadata queries the client metadata for all registered coin + denominations. */ + + + async denomsMetadata(params: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; + return await this.req.get(endpoint, options); + } + /* DenomOwners queries for all account addresses that own a particular token + denomination. */ + + + async denomOwners(params: QueryDenomOwnersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..a60bbc8c7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts @@ -0,0 +1,160 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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. + */ + + 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. + */ + + denomOwners(request: QueryDenomOwnersRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.balance = this.balance.bind(this); + this.allBalances = this.allBalances.bind(this); + this.spendableBalances = this.spendableBalances.bind(this); + this.totalSupply = this.totalSupply.bind(this); + this.supplyOf = this.supplyOf.bind(this); + this.params = this.params.bind(this); + this.denomMetadata = this.denomMetadata.bind(this); + this.denomsMetadata = this.denomsMetadata.bind(this); + this.denomOwners = this.denomOwners.bind(this); + } + + balance(request: QueryBalanceRequest): Promise { + const data = QueryBalanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Balance", data); + return promise.then(data => QueryBalanceResponse.decode(new _m0.Reader(data))); + } + + allBalances(request: QueryAllBalancesRequest): Promise { + const data = QueryAllBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "AllBalances", data); + return promise.then(data => QueryAllBalancesResponse.decode(new _m0.Reader(data))); + } + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + const data = QuerySpendableBalancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SpendableBalances", data); + return promise.then(data => QuerySpendableBalancesResponse.decode(new _m0.Reader(data))); + } + + totalSupply(request: QueryTotalSupplyRequest = { + pagination: undefined + }): Promise { + const data = QueryTotalSupplyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "TotalSupply", data); + return promise.then(data => QueryTotalSupplyResponse.decode(new _m0.Reader(data))); + } + + supplyOf(request: QuerySupplyOfRequest): Promise { + const data = QuerySupplyOfRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "SupplyOf", data); + return promise.then(data => QuerySupplyOfResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + const data = QueryDenomMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomMetadata", data); + return promise.then(data => QueryDenomMetadataResponse.decode(new _m0.Reader(data))); + } + + denomsMetadata(request: QueryDenomsMetadataRequest = { + pagination: undefined + }): Promise { + const data = QueryDenomsMetadataRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomsMetadata", data); + return promise.then(data => QueryDenomsMetadataResponse.decode(new _m0.Reader(data))); + } + + denomOwners(request: QueryDenomOwnersRequest): Promise { + const data = QueryDenomOwnersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Query", "DenomOwners", data); + return promise.then(data => QueryDenomOwnersResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + balance(request: QueryBalanceRequest): Promise { + return queryService.balance(request); + }, + + allBalances(request: QueryAllBalancesRequest): Promise { + return queryService.allBalances(request); + }, + + spendableBalances(request: QuerySpendableBalancesRequest): Promise { + return queryService.spendableBalances(request); + }, + + totalSupply(request?: QueryTotalSupplyRequest): Promise { + return queryService.totalSupply(request); + }, + + supplyOf(request: QuerySupplyOfRequest): Promise { + return queryService.supplyOf(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + denomMetadata(request: QueryDenomMetadataRequest): Promise { + return queryService.denomMetadata(request); + }, + + denomsMetadata(request?: QueryDenomsMetadataRequest): Promise { + return queryService.denomsMetadata(request); + }, + + denomOwners(request: QueryDenomOwnersRequest): Promise { + return queryService.denomOwners(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts new file mode 100644 index 000000000..53ecb3fae --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.ts @@ -0,0 +1,1300 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Params, ParamsSDKType, Metadata, 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; +} +/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ + +export interface QueryBalanceRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** denom is the coin denom to query balances for. */ + + 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 | undefined; +} +/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ + +export interface QueryBalanceResponseSDKType { + /** balance is the balance of the coin. */ + balance?: CoinSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ + +export interface QueryAllBalancesRequestSDKType { + /** address is the address to query balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC + * method. + */ + +export interface QueryAllBalancesResponseSDKType { + /** balances is the balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesRequest { + /** address is the address to query spendable balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequest | undefined; +} +/** + * QuerySpendableBalancesRequest defines the gRPC request structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesRequestSDKType { + /** address is the address to query spendable balances for. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesResponse { + /** balances is the spendable balances of all the coins. */ + balances: Coin[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QuerySpendableBalancesResponse defines the gRPC response structure for querying + * an account's spendable balances. + */ + +export interface QuerySpendableBalancesResponseSDKType { + /** balances is the spendable balances of all the coins. */ + balances: CoinSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC + * method. + */ + +export interface QueryTotalSupplyRequestSDKType { + /** + * pagination defines an optional pagination for the request. + * + * Since: cosmos-sdk 0.43 + */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC + * method + */ + +export interface QueryTotalSupplyResponseSDKType { + /** supply is the supply of the coins */ + supply: CoinSDKType[]; + /** + * pagination defines the pagination in the response. + * + * Since: cosmos-sdk 0.43 + */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ + +export interface QuerySupplyOfRequestSDKType { + /** denom is the coin denom to query balances for. */ + 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 | undefined; +} +/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ + +export interface QuerySupplyOfResponseSDKType { + /** amount is the supply of the coin. */ + amount?: CoinSDKType | undefined; +} +/** QueryParamsRequest defines the request type for querying x/bank parameters. */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse defines the response type for querying x/bank parameters. */ + +export interface QueryParamsResponseSDKType { + params?: ParamsSDKType | undefined; +} +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ + +export interface QueryDenomsMetadataRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ + +export interface QueryDenomsMetadataRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC + * method. + */ + +export interface QueryDenomsMetadataResponseSDKType { + /** metadata provides the client information for all the registered tokens. */ + metadatas: MetadataSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ + +export interface QueryDenomMetadataRequestSDKType { + /** denom is the coin denom to query the metadata for. */ + 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 | undefined; +} +/** + * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC + * method. + */ + +export interface QueryDenomMetadataResponseSDKType { + /** metadata describes and provides all the client information for the requested token. */ + metadata?: MetadataSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * 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 defines the coin denomination to query all account holders for. */ + denom: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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. + */ + +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 | undefined; +} +/** + * 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. + */ + +export interface DenomOwnerSDKType { + /** address defines the address that owns a particular denomination. */ + address: string; + /** balance is the balance of the denominated coin for an account. */ + + balance?: CoinSDKType | undefined; +} +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ + +export interface QueryDenomOwnersResponse { + denomOwners: DenomOwner[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ + +export interface QueryDenomOwnersResponseSDKType { + denom_owners: DenomOwnerSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + address: "", + denom: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.denom !== "") { + writer.uint32(18).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.address = reader.string(); + break; + + case 2: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryBalanceRequest { + const message = createBaseQueryBalanceRequest(); + message.address = object.address ?? ""; + message.denom = object.denom ?? ""; + return message; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + balance: undefined + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryBalanceResponse { + const message = createBaseQueryBalanceResponse(); + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllBalancesRequest = { + encode(message: QueryAllBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllBalancesRequest { + const message = createBaseQueryAllBalancesRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QueryAllBalancesResponse = { + encode(message: QueryAllBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllBalancesResponse { + const message = createBaseQueryAllBalancesResponse(); + message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QuerySpendableBalancesRequest = { + encode(message: QuerySpendableBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySpendableBalancesRequest { + const message = createBaseQuerySpendableBalancesRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { + return { + balances: [], + pagination: undefined + }; +} + +export const QuerySpendableBalancesResponse = { + encode(message: QuerySpendableBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.balances) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySpendableBalancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.balances.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySpendableBalancesResponse { + const message = createBaseQuerySpendableBalancesResponse(); + message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { + return { + pagination: undefined + }; +} + +export const QueryTotalSupplyRequest = { + encode(message: QueryTotalSupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryTotalSupplyRequest { + const message = createBaseQueryTotalSupplyRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { + return { + supply: [], + pagination: undefined + }; +} + +export const QueryTotalSupplyResponse = { + encode(message: QueryTotalSupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.supply) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTotalSupplyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.supply.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTotalSupplyResponse { + const message = createBaseQueryTotalSupplyResponse(); + message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySupplyOfRequest(): QuerySupplyOfRequest { + return { + denom: "" + }; +} + +export const QuerySupplyOfRequest = { + encode(message: QuerySupplyOfRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySupplyOfRequest { + const message = createBaseQuerySupplyOfRequest(); + message.denom = object.denom ?? ""; + return message; + } + +}; + +function createBaseQuerySupplyOfResponse(): QuerySupplyOfResponse { + return { + amount: undefined + }; +} + +export const QuerySupplyOfResponse = { + encode(message: QuerySupplyOfResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySupplyOfResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySupplyOfResponse { + const message = createBaseQuerySupplyOfResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomsMetadataRequest = { + encode(message: QueryDenomsMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryDenomsMetadataRequest { + const message = createBaseQueryDenomsMetadataRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { + return { + metadatas: [], + pagination: undefined + }; +} + +export const QueryDenomsMetadataResponse = { + encode(message: QueryDenomsMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.metadatas) { + Metadata.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomsMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadatas.push(Metadata.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomsMetadataResponse { + const message = createBaseQueryDenomsMetadataResponse(); + message.metadatas = object.metadatas?.map(e => Metadata.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDenomMetadataRequest(): QueryDenomMetadataRequest { + return { + denom: "" + }; +} + +export const QueryDenomMetadataRequest = { + encode(message: QueryDenomMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomMetadataRequest { + const message = createBaseQueryDenomMetadataRequest(); + message.denom = object.denom ?? ""; + return message; + } + +}; + +function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { + return { + metadata: undefined + }; +} + +export const QueryDenomMetadataResponse = { + encode(message: QueryDenomMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.metadata !== undefined) { + Metadata.encode(message.metadata, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.metadata = Metadata.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomMetadataResponse { + const message = createBaseQueryDenomMetadataResponse(); + message.metadata = object.metadata !== undefined && object.metadata !== null ? Metadata.fromPartial(object.metadata) : undefined; + return message; + } + +}; + +function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { + return { + denom: "", + pagination: undefined + }; +} + +export const QueryDenomOwnersRequest = { + encode(message: QueryDenomOwnersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomOwnersRequest { + const message = createBaseQueryDenomOwnersRequest(); + message.denom = object.denom ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseDenomOwner(): DenomOwner { + return { + address: "", + balance: undefined + }; +} + +export const DenomOwner = { + encode(message: DenomOwner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomOwner(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DenomOwner { + const message = createBaseDenomOwner(); + message.address = object.address ?? ""; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { + return { + denomOwners: [], + pagination: undefined + }; +} + +export const QueryDenomOwnersResponse = { + encode(message: QueryDenomOwnersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomOwners) { + DenomOwner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomOwnersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomOwners.push(DenomOwner.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomOwnersResponse { + const message = createBaseQueryDenomOwnersResponse(); + message.denomOwners = object.denomOwners?.map(e => DenomOwner.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts new file mode 100644 index 000000000..ea2280ee0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.amino.ts @@ -0,0 +1,110 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend, MsgMultiSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgSend"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMultiSend extends AminoMsg { + type: "cosmos-sdk/MsgMultiSend"; + value: { + inputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + outputs: { + address: string; + coins: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.bank.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgSend", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgSend): AminoMsgSend["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgSend["value"]): MsgSend => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.bank.v1beta1.MsgMultiSend": { + aminoType: "cosmos-sdk/MsgMultiSend", + toAmino: ({ + inputs, + outputs + }: MsgMultiSend): AminoMsgMultiSend["value"] => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + inputs, + outputs + }: AminoMsgMultiSend["value"]): MsgMultiSend => { + return { + inputs: inputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })), + outputs: outputs.map(el0 => ({ + address: el0.address, + coins: el0.coins.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts new file mode 100644 index 000000000..5bc1dee0f --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.encode(value).finish() + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.encode(value).finish() + }; + } + + }, + withTypeUrl: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value + }; + } + + }, + fromPartial: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgSend", + value: MsgSend.fromPartial(value) + }; + }, + + multiSend(value: MsgMultiSend) { + return { + typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", + value: MsgMultiSend.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..4112bb9d2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,34 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.send = this.send.bind(this); + this.multiSend = this.multiSend.bind(this); + } + + send(request: MsgSend): Promise { + const data = MsgSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "Send", data); + return promise.then(data => MsgSendResponse.decode(new _m0.Reader(data))); + } + + multiSend(request: MsgMultiSend): Promise { + const data = MsgMultiSend.encode(request).finish(); + const promise = this.rpc.request("cosmos.bank.v1beta1.Msg", "MultiSend", data); + return promise.then(data => MsgMultiSendResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts new file mode 100644 index 000000000..8763f6b60 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/tx.ts @@ -0,0 +1,229 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Input, InputSDKType, Output, 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[]; +} +/** 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 {} +/** 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[]; +} +/** 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 {} +/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ + +export interface MsgMultiSendResponseSDKType {} + +function createBaseMsgSend(): MsgSend { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSend { + const message = createBaseMsgSend(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): MsgSendResponse { + const message = createBaseMsgSendResponse(); + return message; + } + +}; + +function createBaseMsgMultiSend(): MsgMultiSend { + return { + inputs: [], + outputs: [] + }; +} + +export const MsgMultiSend = { + encode(message: MsgMultiSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.inputs) { + Input.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.outputs) { + Output.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inputs.push(Input.decode(reader, reader.uint32())); + break; + + case 2: + message.outputs.push(Output.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgMultiSend { + const message = createBaseMsgMultiSend(); + message.inputs = object.inputs?.map(e => Input.fromPartial(e)) || []; + message.outputs = object.outputs?.map(e => Output.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgMultiSendResponse(): MsgMultiSendResponse { + return {}; +} + +export const MsgMultiSendResponse = { + encode(_: MsgMultiSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMultiSendResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgMultiSendResponse { + const message = createBaseMsgMultiSendResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts new file mode 100644 index 000000000..d95c9ff4e --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/abci/v1beta1/abci.ts @@ -0,0 +1,1106 @@ +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Event, EventSDKType } from "../../../../tendermint/abci/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * 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 | undefined; + /** + * 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 handler. 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[]; +} +/** + * TxResponse defines a structure containing relevant tx data and metadata. The + * tags are stringified and the log is JSON decoded. + */ + +export interface TxResponseSDKType { + /** 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. + */ + + raw_log: string; + /** The output of the application's logger (typed). May be non-deterministic. */ + + logs: ABCIMessageLogSDKType[]; + /** Additional information. May be non-deterministic. */ + + info: string; + /** Amount of gas requested for transaction. */ + + gas_wanted: Long; + /** Amount of gas consumed by transaction. */ + + gas_used: Long; + /** The request transaction bytes. */ + + tx?: AnySDKType | undefined; + /** + * 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 handler. 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: 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[]; +} +/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ + +export interface ABCIMessageLogSDKType { + msg_index: number; + log: string; + /** + * Events contains a slice of Event objects that were emitted during some + * execution. + */ + + 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[]; +} +/** + * 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; +} +/** + * 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; +} +/** GasInfo defines tx execution gas context. */ + +export interface GasInfoSDKType { + /** GasWanted is the maximum units of work we allow this tx to perform. */ + gas_wanted: Long; + /** GasUsed is the amount of gas actually consumed. */ + + 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[]; +} +/** Result is the union of ResponseFormat and ResponseCheckTx. */ + +export interface ResultSDKType { + /** + * 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: EventSDKType[]; + /** + * msg_responses contains the Msg handler responses type packed in Anys. + * + * Since: cosmos-sdk 0.46 + */ + + msg_responses: AnySDKType[]; +} +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ + +export interface SimulationResponse { + gasInfo?: GasInfo | undefined; + result?: Result | undefined; +} +/** + * SimulationResponse defines the response generated when a transaction is + * successfully simulated. + */ + +export interface SimulationResponseSDKType { + gas_info?: GasInfoSDKType | undefined; + result?: ResultSDKType | undefined; +} +/** + * MsgData defines the data returned in a Result object during message + * execution. + */ + +/** @deprecated */ + +export interface MsgData { + msgType: string; + data: Uint8Array; +} +/** + * 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[]; +} +/** + * TxMsgData defines a list of MsgData. A transaction will have a MsgData object + * for each message. + */ + +export interface TxMsgDataSDKType { + /** data field is deprecated and not populated. */ + + /** @deprecated */ + data: MsgDataSDKType[]; + /** + * msg_responses contains the Msg handler responses packed into Anys. + * + * Since: cosmos-sdk 0.46 + */ + + 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[]; +} +/** SearchTxsResult defines a structure for querying txs pageable */ + +export interface SearchTxsResultSDKType { + /** Count of all txs */ + total_count: Long; + /** Count of txs in current page */ + + count: Long; + /** Index of current page, start from 1 */ + + page_number: Long; + /** Count of total pages */ + + page_total: Long; + /** Max count txs per page */ + + limit: Long; + /** List of txs in current page */ + + txs: TxResponseSDKType[]; +} + +function createBaseTxResponse(): TxResponse { + return { + height: Long.ZERO, + txhash: "", + codespace: "", + code: 0, + data: "", + rawLog: "", + logs: [], + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + tx: undefined, + timestamp: "", + events: [] + }; +} + +export const TxResponse = { + encode(message: TxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.txhash !== "") { + writer.uint32(18).string(message.txhash); + } + + if (message.codespace !== "") { + writer.uint32(26).string(message.codespace); + } + + if (message.code !== 0) { + writer.uint32(32).uint32(message.code); + } + + if (message.data !== "") { + writer.uint32(42).string(message.data); + } + + if (message.rawLog !== "") { + writer.uint32(50).string(message.rawLog); + } + + for (const v of message.logs) { + ABCIMessageLog.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.info !== "") { + writer.uint32(66).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(72).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(80).int64(message.gasUsed); + } + + if (message.tx !== undefined) { + Any.encode(message.tx, writer.uint32(90).fork()).ldelim(); + } + + if (message.timestamp !== "") { + writer.uint32(98).string(message.timestamp); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.txhash = reader.string(); + break; + + case 3: + message.codespace = reader.string(); + break; + + case 4: + message.code = reader.uint32(); + break; + + case 5: + message.data = reader.string(); + break; + + case 6: + message.rawLog = reader.string(); + break; + + case 7: + message.logs.push(ABCIMessageLog.decode(reader, reader.uint32())); + break; + + case 8: + message.info = reader.string(); + break; + + case 9: + message.gasWanted = (reader.int64() as Long); + break; + + case 10: + message.gasUsed = (reader.int64() as Long); + break; + + case 11: + message.tx = Any.decode(reader, reader.uint32()); + break; + + case 12: + message.timestamp = reader.string(); + break; + + case 13: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxResponse { + const message = createBaseTxResponse(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.txhash = object.txhash ?? ""; + message.codespace = object.codespace ?? ""; + message.code = object.code ?? 0; + message.data = object.data ?? ""; + message.rawLog = object.rawLog ?? ""; + message.logs = object.logs?.map(e => ABCIMessageLog.fromPartial(e)) || []; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.tx = object.tx !== undefined && object.tx !== null ? Any.fromPartial(object.tx) : undefined; + message.timestamp = object.timestamp ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseABCIMessageLog(): ABCIMessageLog { + return { + msgIndex: 0, + log: "", + events: [] + }; +} + +export const ABCIMessageLog = { + encode(message: ABCIMessageLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgIndex !== 0) { + writer.uint32(8).uint32(message.msgIndex); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + StringEvent.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseABCIMessageLog(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgIndex = reader.uint32(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(StringEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ABCIMessageLog { + const message = createBaseABCIMessageLog(); + message.msgIndex = object.msgIndex ?? 0; + message.log = object.log ?? ""; + message.events = object.events?.map(e => StringEvent.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStringEvent(): StringEvent { + return { + type: "", + attributes: [] + }; +} + +export const StringEvent = { + encode(message: StringEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + Attribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStringEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(Attribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): StringEvent { + const message = createBaseStringEvent(); + message.type = object.type ?? ""; + message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAttribute(): Attribute { + return { + key: "", + value: "" + }; +} + +export const Attribute = { + encode(message: Attribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Attribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAttribute(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Attribute { + const message = createBaseAttribute(); + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseGasInfo(): GasInfo { + return { + gasWanted: Long.UZERO, + gasUsed: Long.UZERO + }; +} + +export const GasInfo = { + encode(message: GasInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.gasWanted.isZero()) { + writer.uint32(8).uint64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(16).uint64(message.gasUsed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGasInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasWanted = (reader.uint64() as Long); + break; + + case 2: + message.gasUsed = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GasInfo { + const message = createBaseGasInfo(); + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.UZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.UZERO; + return message; + } + +}; + +function createBaseResult(): Result { + return { + data: new Uint8Array(), + log: "", + events: [], + msgResponses: [] + }; +} + +export const Result = { + encode(message: Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(18).string(message.log); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Result { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + case 2: + message.log = reader.string(); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 4: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Result { + const message = createBaseResult(); + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSimulationResponse(): SimulationResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulationResponse = { + encode(message: SimulationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SimulationResponse { + const message = createBaseSimulationResponse(); + message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseMsgData(): MsgData { + return { + msgType: "", + data: new Uint8Array() + }; +} + +export const MsgData = { + encode(message: MsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgType !== "") { + writer.uint32(10).string(message.msgType); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgType = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgData { + const message = createBaseMsgData(); + message.msgType = object.msgType ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseTxMsgData(): TxMsgData { + return { + data: [], + msgResponses: [] + }; +} + +export const TxMsgData = { + encode(message: TxMsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.data) { + MsgData.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.msgResponses) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxMsgData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data.push(MsgData.decode(reader, reader.uint32())); + break; + + case 2: + message.msgResponses.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxMsgData { + const message = createBaseTxMsgData(); + message.data = object.data?.map(e => MsgData.fromPartial(e)) || []; + message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSearchTxsResult(): SearchTxsResult { + return { + totalCount: Long.UZERO, + count: Long.UZERO, + pageNumber: Long.UZERO, + pageTotal: Long.UZERO, + limit: Long.UZERO, + txs: [] + }; +} + +export const SearchTxsResult = { + encode(message: SearchTxsResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.totalCount.isZero()) { + writer.uint32(8).uint64(message.totalCount); + } + + if (!message.count.isZero()) { + writer.uint32(16).uint64(message.count); + } + + if (!message.pageNumber.isZero()) { + writer.uint32(24).uint64(message.pageNumber); + } + + if (!message.pageTotal.isZero()) { + writer.uint32(32).uint64(message.pageTotal); + } + + if (!message.limit.isZero()) { + writer.uint32(40).uint64(message.limit); + } + + for (const v of message.txs) { + TxResponse.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSearchTxsResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.totalCount = (reader.uint64() as Long); + break; + + case 2: + message.count = (reader.uint64() as Long); + break; + + case 3: + message.pageNumber = (reader.uint64() as Long); + break; + + case 4: + message.pageTotal = (reader.uint64() as Long); + break; + + case 5: + message.limit = (reader.uint64() as Long); + break; + + case 6: + message.txs.push(TxResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SearchTxsResult { + const message = createBaseSearchTxsResult(); + message.totalCount = object.totalCount !== undefined && object.totalCount !== null ? Long.fromValue(object.totalCount) : Long.UZERO; + message.count = object.count !== undefined && object.count !== null ? Long.fromValue(object.count) : Long.UZERO; + message.pageNumber = object.pageNumber !== undefined && object.pageNumber !== null ? Long.fromValue(object.pageNumber) : Long.UZERO; + message.pageTotal = object.pageTotal !== undefined && object.pageTotal !== null ? Long.fromValue(object.pageTotal) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.txs = object.txs?.map(e => TxResponse.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts new file mode 100644 index 000000000..90713754f --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/kv/v1beta1/kv.ts @@ -0,0 +1,123 @@ +import * as _m0 from "protobufjs/minimal"; +/** Pairs defines a repeated slice of Pair objects. */ + +export interface Pairs { + pairs: Pair[]; +} +/** 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; +} +/** Pair defines a key/value bytes tuple. */ + +export interface PairSDKType { + key: Uint8Array; + value: Uint8Array; +} + +function createBasePairs(): Pairs { + return { + pairs: [] + }; +} + +export const Pairs = { + encode(message: Pairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + Pair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Pairs { + const message = createBasePairs(); + message.pairs = object.pairs?.map(e => Pair.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePair(): Pair { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Pair = { + encode(message: Pair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Pair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Pair { + const message = createBasePair(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts new file mode 100644 index 000000000..b99bc3762 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/query/v1beta1/pagination.ts @@ -0,0 +1,282 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * 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; +} +/** + * 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 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. + */ + + 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; +} +/** + * 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; +} +/** + * 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 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: Long; +} + +function createBasePageRequest(): PageRequest { + return { + key: new Uint8Array(), + offset: Long.UZERO, + limit: Long.UZERO, + countTotal: false, + reverse: false + }; +} + +export const PageRequest = { + encode(message: PageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (!message.offset.isZero()) { + writer.uint32(16).uint64(message.offset); + } + + if (!message.limit.isZero()) { + writer.uint32(24).uint64(message.limit); + } + + if (message.countTotal === true) { + writer.uint32(32).bool(message.countTotal); + } + + if (message.reverse === true) { + writer.uint32(40).bool(message.reverse); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.offset = (reader.uint64() as Long); + break; + + case 3: + message.limit = (reader.uint64() as Long); + break; + + case 4: + message.countTotal = reader.bool(); + break; + + case 5: + message.reverse = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PageRequest { + const message = createBasePageRequest(); + message.key = object.key ?? new Uint8Array(); + message.offset = object.offset !== undefined && object.offset !== null ? Long.fromValue(object.offset) : Long.UZERO; + message.limit = object.limit !== undefined && object.limit !== null ? Long.fromValue(object.limit) : Long.UZERO; + message.countTotal = object.countTotal ?? false; + message.reverse = object.reverse ?? false; + return message; + } + +}; + +function createBasePageResponse(): PageResponse { + return { + nextKey: new Uint8Array(), + total: Long.UZERO + }; +} + +export const PageResponse = { + encode(message: PageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nextKey.length !== 0) { + writer.uint32(10).bytes(message.nextKey); + } + + if (!message.total.isZero()) { + writer.uint32(16).uint64(message.total); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePageResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextKey = reader.bytes(); + break; + + case 2: + message.total = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PageResponse { + const message = createBasePageResponse(); + message.nextKey = object.nextKey ?? new Uint8Array(); + message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts new file mode 100644 index 000000000..7846ab5e2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/reflection/v1beta1/reflection.ts @@ -0,0 +1,222 @@ +import * as _m0 from "protobufjs/minimal"; +/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ + +export interface ListAllInterfacesRequest {} +/** 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[]; +} +/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ + +export interface ListAllInterfacesResponseSDKType { + /** interface_names is an array of all the registered interfaces. */ + 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; +} +/** + * ListImplementationsRequest is the request type of the ListImplementations + * RPC. + */ + +export interface ListImplementationsRequestSDKType { + /** interface_name defines the interface to query the implementations for. */ + interface_name: string; +} +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ + +export interface ListImplementationsResponse { + implementationMessageNames: string[]; +} +/** + * ListImplementationsResponse is the response type of the ListImplementations + * RPC. + */ + +export interface ListImplementationsResponseSDKType { + implementation_message_names: string[]; +} + +function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { + return {}; +} + +export const ListAllInterfacesRequest = { + encode(_: ListAllInterfacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): ListAllInterfacesRequest { + const message = createBaseListAllInterfacesRequest(); + return message; + } + +}; + +function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { + return { + interfaceNames: [] + }; +} + +export const ListAllInterfacesResponse = { + encode(message: ListAllInterfacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaceNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): ListAllInterfacesResponse { + const message = createBaseListAllInterfacesResponse(); + message.interfaceNames = object.interfaceNames?.map(e => e) || []; + return message; + } + +}; + +function createBaseListImplementationsRequest(): ListImplementationsRequest { + return { + interfaceName: "" + }; +} + +export const ListImplementationsRequest = { + encode(message: ListImplementationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.interfaceName !== "") { + writer.uint32(10).string(message.interfaceName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): ListImplementationsRequest { + const message = createBaseListImplementationsRequest(); + message.interfaceName = object.interfaceName ?? ""; + return message; + } + +}; + +function createBaseListImplementationsResponse(): ListImplementationsResponse { + return { + implementationMessageNames: [] + }; +} + +export const ListImplementationsResponse = { + encode(message: ListImplementationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.implementationMessageNames) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): ListImplementationsResponse { + const message = createBaseListImplementationsResponse(); + message.implementationMessageNames = object.implementationMessageNames?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts new file mode 100644 index 000000000..693dc5a95 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/reflection/v2alpha1/reflection.ts @@ -0,0 +1,1707 @@ +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 | undefined; + /** chain provides the chain descriptor */ + + chain?: ChainDescriptor | undefined; + /** codec provides metadata information regarding codec related types */ + + codec?: CodecDescriptor | undefined; + /** configuration provides metadata information regarding the sdk.Config type */ + + configuration?: ConfigurationDescriptor | undefined; + /** query_services provides metadata information regarding the available queriable endpoints */ + + queryServices?: QueryServicesDescriptor | undefined; + /** tx provides metadata information regarding how to send transactions to the given application */ + + tx?: TxDescriptor | undefined; +} +/** AppDescriptor describes a cosmos-sdk based application */ + +export interface AppDescriptorSDKType { + /** + * AuthnDescriptor provides information on how to authenticate transactions on the application + * NOTE: experimental and subject to change in future releases. + */ + authn?: AuthnDescriptorSDKType | undefined; + /** chain provides the chain descriptor */ + + chain?: ChainDescriptorSDKType | undefined; + /** codec provides metadata information regarding codec related types */ + + codec?: CodecDescriptorSDKType | undefined; + /** configuration provides metadata information regarding the sdk.Config type */ + + configuration?: ConfigurationDescriptorSDKType | undefined; + /** query_services provides metadata information regarding the available queriable endpoints */ + + query_services?: QueryServicesDescriptorSDKType | undefined; + /** tx provides metadata information regarding how to send transactions to the given application */ + + tx?: TxDescriptorSDKType | undefined; +} +/** 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[]; +} +/** TxDescriptor describes the accepted transaction type */ + +export interface TxDescriptorSDKType { + /** + * 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: 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[]; +} +/** + * AuthnDescriptor provides information on how to sign transactions without relying + * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures + */ + +export interface AuthnDescriptorSDKType { + /** sign_modes defines the supported signature algorithm */ + 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; +} +/** + * 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 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; +} +/** ChainDescriptor describes chain information of the application */ + +export interface ChainDescriptor { + /** id is the chain id */ + id: string; +} +/** ChainDescriptor describes chain information of the application */ + +export interface ChainDescriptorSDKType { + /** id is the chain id */ + 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[]; +} +/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ + +export interface CodecDescriptorSDKType { + /** interfaces is a list of the registerted interfaces descriptors */ + 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[]; +} +/** InterfaceDescriptor describes the implementation of an interface */ + +export interface InterfaceDescriptorSDKType { + /** 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: InterfaceAcceptingMessageDescriptorSDKType[]; + /** interface_implementers is a list of the descriptors of the interface implementers */ + + 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; +} +/** InterfaceImplementerDescriptor describes an interface implementer */ + +export interface InterfaceImplementerDescriptorSDKType { + /** 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; +} +/** + * 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[]; +} +/** + * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains + * an interface represented as a google.protobuf.Any + */ + +export interface InterfaceAcceptingMessageDescriptorSDKType { + /** 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[]; +} +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ + +export interface ConfigurationDescriptor { + /** bech32_account_address_prefix is the account address prefix */ + bech32AccountAddressPrefix: string; +} +/** ConfigurationDescriptor contains metadata information on the sdk.Config */ + +export interface ConfigurationDescriptorSDKType { + /** bech32_account_address_prefix is the account address prefix */ + 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; +} +/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ + +export interface MsgDescriptorSDKType { + /** msg_type_url contains the TypeURL of a sdk.Msg. */ + msg_type_url: string; +} +/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ + +export interface GetAuthnDescriptorRequest {} +/** 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 | undefined; +} +/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ + +export interface GetAuthnDescriptorResponseSDKType { + /** authn describes how to authenticate to the application when sending transactions */ + authn?: AuthnDescriptorSDKType | undefined; +} +/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ + +export interface GetChainDescriptorRequest {} +/** 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 | undefined; +} +/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ + +export interface GetChainDescriptorResponseSDKType { + /** chain describes application chain information */ + chain?: ChainDescriptorSDKType | undefined; +} +/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ + +export interface GetCodecDescriptorRequest {} +/** 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 | undefined; +} +/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ + +export interface GetCodecDescriptorResponseSDKType { + /** codec describes the application codec such as registered interfaces and implementations */ + codec?: CodecDescriptorSDKType | undefined; +} +/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ + +export interface GetConfigurationDescriptorRequest {} +/** 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 | undefined; +} +/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ + +export interface GetConfigurationDescriptorResponseSDKType { + /** config describes the application's sdk.Config */ + config?: ConfigurationDescriptorSDKType | undefined; +} +/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ + +export interface GetQueryServicesDescriptorRequest {} +/** 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 | undefined; +} +/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ + +export interface GetQueryServicesDescriptorResponseSDKType { + /** queries provides information on the available queryable services */ + queries?: QueryServicesDescriptorSDKType | undefined; +} +/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ + +export interface GetTxDescriptorRequest {} +/** 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 | undefined; +} +/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ + +export interface GetTxDescriptorResponseSDKType { + /** + * tx provides information on msgs that can be forwarded to the application + * alongside the accepted transaction protobuf type + */ + tx?: TxDescriptorSDKType | undefined; +} +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ + +export interface QueryServicesDescriptor { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + queryServices: QueryServiceDescriptor[]; +} +/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ + +export interface QueryServicesDescriptorSDKType { + /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ + 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[]; +} +/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ + +export interface QueryServiceDescriptorSDKType { + /** 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: 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; +} +/** + * 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 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; +} + +function createBaseAppDescriptor(): AppDescriptor { + return { + authn: undefined, + chain: undefined, + codec: undefined, + configuration: undefined, + queryServices: undefined, + tx: undefined + }; +} + +export const AppDescriptor = { + encode(message: AppDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(18).fork()).ldelim(); + } + + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(26).fork()).ldelim(); + } + + if (message.configuration !== undefined) { + ConfigurationDescriptor.encode(message.configuration, writer.uint32(34).fork()).ldelim(); + } + + if (message.queryServices !== undefined) { + QueryServicesDescriptor.encode(message.queryServices, writer.uint32(42).fork()).ldelim(); + } + + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAppDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + case 3: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + case 4: + message.configuration = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + case 5: + message.queryServices = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + case 6: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AppDescriptor { + const message = createBaseAppDescriptor(); + message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; + message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; + message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; + message.configuration = object.configuration !== undefined && object.configuration !== null ? ConfigurationDescriptor.fromPartial(object.configuration) : undefined; + message.queryServices = object.queryServices !== undefined && object.queryServices !== null ? QueryServicesDescriptor.fromPartial(object.queryServices) : undefined; + message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; + return message; + } + +}; + +function createBaseTxDescriptor(): TxDescriptor { + return { + fullname: "", + msgs: [] + }; +} + +export const TxDescriptor = { + encode(message: TxDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.msgs) { + MsgDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.msgs.push(MsgDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxDescriptor { + const message = createBaseTxDescriptor(); + message.fullname = object.fullname ?? ""; + message.msgs = object.msgs?.map(e => MsgDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthnDescriptor(): AuthnDescriptor { + return { + signModes: [] + }; +} + +export const AuthnDescriptor = { + encode(message: AuthnDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signModes) { + SigningModeDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthnDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signModes.push(SigningModeDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AuthnDescriptor { + const message = createBaseAuthnDescriptor(); + message.signModes = object.signModes?.map(e => SigningModeDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSigningModeDescriptor(): SigningModeDescriptor { + return { + name: "", + number: 0, + authnInfoProviderMethodFullname: "" + }; +} + +export const SigningModeDescriptor = { + encode(message: SigningModeDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.authnInfoProviderMethodFullname !== "") { + writer.uint32(26).string(message.authnInfoProviderMethodFullname); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSigningModeDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.authnInfoProviderMethodFullname = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SigningModeDescriptor { + const message = createBaseSigningModeDescriptor(); + message.name = object.name ?? ""; + message.number = object.number ?? 0; + message.authnInfoProviderMethodFullname = object.authnInfoProviderMethodFullname ?? ""; + return message; + } + +}; + +function createBaseChainDescriptor(): ChainDescriptor { + return { + id: "" + }; +} + +export const ChainDescriptor = { + encode(message: ChainDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChainDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ChainDescriptor { + const message = createBaseChainDescriptor(); + message.id = object.id ?? ""; + return message; + } + +}; + +function createBaseCodecDescriptor(): CodecDescriptor { + return { + interfaces: [] + }; +} + +export const CodecDescriptor = { + encode(message: CodecDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.interfaces) { + InterfaceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodecDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.interfaces.push(InterfaceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CodecDescriptor { + const message = createBaseCodecDescriptor(); + message.interfaces = object.interfaces?.map(e => InterfaceDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + fullname: "", + interfaceAcceptingMessages: [], + interfaceImplementers: [] + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.interfaceAcceptingMessages) { + InterfaceAcceptingMessageDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.interfaceImplementers) { + InterfaceImplementerDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.interfaceAcceptingMessages.push(InterfaceAcceptingMessageDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.interfaceImplementers.push(InterfaceImplementerDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InterfaceDescriptor { + const message = createBaseInterfaceDescriptor(); + message.fullname = object.fullname ?? ""; + message.interfaceAcceptingMessages = object.interfaceAcceptingMessages?.map(e => InterfaceAcceptingMessageDescriptor.fromPartial(e)) || []; + message.interfaceImplementers = object.interfaceImplementers?.map(e => InterfaceImplementerDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseInterfaceImplementerDescriptor(): InterfaceImplementerDescriptor { + return { + fullname: "", + typeUrl: "" + }; +} + +export const InterfaceImplementerDescriptor = { + encode(message: InterfaceImplementerDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.typeUrl !== "") { + writer.uint32(18).string(message.typeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceImplementerDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.typeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InterfaceImplementerDescriptor { + const message = createBaseInterfaceImplementerDescriptor(); + message.fullname = object.fullname ?? ""; + message.typeUrl = object.typeUrl ?? ""; + return message; + } + +}; + +function createBaseInterfaceAcceptingMessageDescriptor(): InterfaceAcceptingMessageDescriptor { + return { + fullname: "", + fieldDescriptorNames: [] + }; +} + +export const InterfaceAcceptingMessageDescriptor = { + encode(message: InterfaceAcceptingMessageDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + for (const v of message.fieldDescriptorNames) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceAcceptingMessageDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.fieldDescriptorNames.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InterfaceAcceptingMessageDescriptor { + const message = createBaseInterfaceAcceptingMessageDescriptor(); + message.fullname = object.fullname ?? ""; + message.fieldDescriptorNames = object.fieldDescriptorNames?.map(e => e) || []; + return message; + } + +}; + +function createBaseConfigurationDescriptor(): ConfigurationDescriptor { + return { + bech32AccountAddressPrefix: "" + }; +} + +export const ConfigurationDescriptor = { + encode(message: ConfigurationDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bech32AccountAddressPrefix !== "") { + writer.uint32(10).string(message.bech32AccountAddressPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConfigurationDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bech32AccountAddressPrefix = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConfigurationDescriptor { + const message = createBaseConfigurationDescriptor(); + message.bech32AccountAddressPrefix = object.bech32AccountAddressPrefix ?? ""; + return message; + } + +}; + +function createBaseMsgDescriptor(): MsgDescriptor { + return { + msgTypeUrl: "" + }; +} + +export const MsgDescriptor = { + encode(message: MsgDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.msgTypeUrl !== "") { + writer.uint32(10).string(message.msgTypeUrl); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.msgTypeUrl = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgDescriptor { + const message = createBaseMsgDescriptor(); + message.msgTypeUrl = object.msgTypeUrl ?? ""; + return message; + } + +}; + +function createBaseGetAuthnDescriptorRequest(): GetAuthnDescriptorRequest { + return {}; +} + +export const GetAuthnDescriptorRequest = { + encode(_: GetAuthnDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetAuthnDescriptorRequest { + const message = createBaseGetAuthnDescriptorRequest(); + return message; + } + +}; + +function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { + return { + authn: undefined + }; +} + +export const GetAuthnDescriptorResponse = { + encode(message: GetAuthnDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authn !== undefined) { + AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetAuthnDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authn = AuthnDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetAuthnDescriptorResponse { + const message = createBaseGetAuthnDescriptorResponse(); + message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; + return message; + } + +}; + +function createBaseGetChainDescriptorRequest(): GetChainDescriptorRequest { + return {}; +} + +export const GetChainDescriptorRequest = { + encode(_: GetChainDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetChainDescriptorRequest { + const message = createBaseGetChainDescriptorRequest(); + return message; + } + +}; + +function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { + return { + chain: undefined + }; +} + +export const GetChainDescriptorResponse = { + encode(message: GetChainDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chain !== undefined) { + ChainDescriptor.encode(message.chain, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetChainDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chain = ChainDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetChainDescriptorResponse { + const message = createBaseGetChainDescriptorResponse(); + message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; + return message; + } + +}; + +function createBaseGetCodecDescriptorRequest(): GetCodecDescriptorRequest { + return {}; +} + +export const GetCodecDescriptorRequest = { + encode(_: GetCodecDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetCodecDescriptorRequest { + const message = createBaseGetCodecDescriptorRequest(); + return message; + } + +}; + +function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { + return { + codec: undefined + }; +} + +export const GetCodecDescriptorResponse = { + encode(message: GetCodecDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codec !== undefined) { + CodecDescriptor.encode(message.codec, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetCodecDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codec = CodecDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetCodecDescriptorResponse { + const message = createBaseGetCodecDescriptorResponse(); + message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; + return message; + } + +}; + +function createBaseGetConfigurationDescriptorRequest(): GetConfigurationDescriptorRequest { + return {}; +} + +export const GetConfigurationDescriptorRequest = { + encode(_: GetConfigurationDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetConfigurationDescriptorRequest { + const message = createBaseGetConfigurationDescriptorRequest(); + return message; + } + +}; + +function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { + return { + config: undefined + }; +} + +export const GetConfigurationDescriptorResponse = { + encode(message: GetConfigurationDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.config !== undefined) { + ConfigurationDescriptor.encode(message.config, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetConfigurationDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.config = ConfigurationDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetConfigurationDescriptorResponse { + const message = createBaseGetConfigurationDescriptorResponse(); + message.config = object.config !== undefined && object.config !== null ? ConfigurationDescriptor.fromPartial(object.config) : undefined; + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorRequest(): GetQueryServicesDescriptorRequest { + return {}; +} + +export const GetQueryServicesDescriptorRequest = { + encode(_: GetQueryServicesDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetQueryServicesDescriptorRequest { + const message = createBaseGetQueryServicesDescriptorRequest(); + return message; + } + +}; + +function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { + return { + queries: undefined + }; +} + +export const GetQueryServicesDescriptorResponse = { + encode(message: GetQueryServicesDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.queries !== undefined) { + QueryServicesDescriptor.encode(message.queries, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetQueryServicesDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queries = QueryServicesDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetQueryServicesDescriptorResponse { + const message = createBaseGetQueryServicesDescriptorResponse(); + message.queries = object.queries !== undefined && object.queries !== null ? QueryServicesDescriptor.fromPartial(object.queries) : undefined; + return message; + } + +}; + +function createBaseGetTxDescriptorRequest(): GetTxDescriptorRequest { + return {}; +} + +export const GetTxDescriptorRequest = { + encode(_: GetTxDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): GetTxDescriptorRequest { + const message = createBaseGetTxDescriptorRequest(); + return message; + } + +}; + +function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { + return { + tx: undefined + }; +} + +export const GetTxDescriptorResponse = { + encode(message: GetTxDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + TxDescriptor.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxDescriptorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = TxDescriptor.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetTxDescriptorResponse { + const message = createBaseGetTxDescriptorResponse(); + message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; + return message; + } + +}; + +function createBaseQueryServicesDescriptor(): QueryServicesDescriptor { + return { + queryServices: [] + }; +} + +export const QueryServicesDescriptor = { + encode(message: QueryServicesDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.queryServices) { + QueryServiceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServicesDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.queryServices.push(QueryServiceDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryServicesDescriptor { + const message = createBaseQueryServicesDescriptor(); + message.queryServices = object.queryServices?.map(e => QueryServiceDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryServiceDescriptor(): QueryServiceDescriptor { + return { + fullname: "", + isModule: false, + methods: [] + }; +} + +export const QueryServiceDescriptor = { + encode(message: QueryServiceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fullname !== "") { + writer.uint32(10).string(message.fullname); + } + + if (message.isModule === true) { + writer.uint32(16).bool(message.isModule); + } + + for (const v of message.methods) { + QueryMethodDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryServiceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fullname = reader.string(); + break; + + case 2: + message.isModule = reader.bool(); + break; + + case 3: + message.methods.push(QueryMethodDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryServiceDescriptor { + const message = createBaseQueryServiceDescriptor(); + message.fullname = object.fullname ?? ""; + message.isModule = object.isModule ?? false; + message.methods = object.methods?.map(e => QueryMethodDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryMethodDescriptor(): QueryMethodDescriptor { + return { + name: "", + fullQueryPath: "" + }; +} + +export const QueryMethodDescriptor = { + encode(message: QueryMethodDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.fullQueryPath !== "") { + writer.uint32(18).string(message.fullQueryPath); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryMethodDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.fullQueryPath = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryMethodDescriptor { + const message = createBaseQueryMethodDescriptor(); + message.name = object.name ?? ""; + message.fullQueryPath = object.fullQueryPath ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts new file mode 100644 index 000000000..3c4d0f0e4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -0,0 +1,675 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** Snapshot contains Tendermint state sync snapshot info. */ + +export interface Snapshot { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata?: Metadata | undefined; +} +/** Snapshot contains Tendermint state sync snapshot info. */ + +export interface SnapshotSDKType { + height: Long; + format: number; + chunks: number; + hash: Uint8Array; + metadata?: MetadataSDKType | undefined; +} +/** Metadata contains SDK-specific snapshot metadata. */ + +export interface Metadata { + /** SHA-256 chunk hashes */ + chunkHashes: Uint8Array[]; +} +/** Metadata contains SDK-specific snapshot metadata. */ + +export interface MetadataSDKType { + /** SHA-256 chunk hashes */ + chunk_hashes: Uint8Array[]; +} +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ + +export interface SnapshotItem { + store?: SnapshotStoreItem | undefined; + iavl?: SnapshotIAVLItem | undefined; + extension?: SnapshotExtensionMeta | undefined; + extensionPayload?: SnapshotExtensionPayload | undefined; + kv?: SnapshotKVItem | undefined; + schema?: SnapshotSchema | undefined; +} +/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ + +export interface SnapshotItemSDKType { + store?: SnapshotStoreItemSDKType | undefined; + iavl?: SnapshotIAVLItemSDKType | undefined; + extension?: SnapshotExtensionMetaSDKType | undefined; + extension_payload?: SnapshotExtensionPayloadSDKType | undefined; + kv?: SnapshotKVItemSDKType | undefined; + schema?: SnapshotSchemaSDKType | undefined; +} +/** SnapshotStoreItem contains metadata about a snapshotted store. */ + +export interface SnapshotStoreItem { + name: string; +} +/** SnapshotStoreItem contains metadata about a snapshotted store. */ + +export interface SnapshotStoreItemSDKType { + name: string; +} +/** SnapshotIAVLItem is an exported IAVL node. */ + +export interface SnapshotIAVLItem { + key: Uint8Array; + value: Uint8Array; + /** version is block height */ + + version: Long; + /** height is depth of the tree. */ + + height: number; +} +/** SnapshotIAVLItem is an exported IAVL node. */ + +export interface SnapshotIAVLItemSDKType { + key: Uint8Array; + value: Uint8Array; + /** version is block height */ + + version: Long; + /** height is depth of the tree. */ + + height: number; +} +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ + +export interface SnapshotExtensionMeta { + name: string; + format: number; +} +/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ + +export interface SnapshotExtensionMetaSDKType { + name: string; + format: number; +} +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ + +export interface SnapshotExtensionPayload { + payload: Uint8Array; +} +/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ + +export interface SnapshotExtensionPayloadSDKType { + payload: Uint8Array; +} +/** SnapshotKVItem is an exported Key/Value Pair */ + +export interface SnapshotKVItem { + key: Uint8Array; + value: Uint8Array; +} +/** SnapshotKVItem is an exported Key/Value Pair */ + +export interface SnapshotKVItemSDKType { + key: Uint8Array; + value: Uint8Array; +} +/** SnapshotSchema is an exported schema of smt store */ + +export interface SnapshotSchema { + keys: Uint8Array[]; +} +/** SnapshotSchema is an exported schema of smt store */ + +export interface SnapshotSchemaSDKType { + keys: Uint8Array[]; +} + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: undefined + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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; + }, + + fromPartial(object: Partial): Snapshot { + const message = createBaseSnapshot(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + 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; + } + +}; + +function createBaseMetadata(): Metadata { + return { + chunkHashes: [] + }; +} + +export const Metadata = { + encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.chunkHashes) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Metadata { + const message = createBaseMetadata(); + message.chunkHashes = object.chunkHashes?.map(e => e) || []; + return message; + } + +}; + +function createBaseSnapshotItem(): SnapshotItem { + return { + store: undefined, + iavl: undefined, + extension: undefined, + extensionPayload: undefined, + kv: undefined, + schema: undefined + }; +} + +export const SnapshotItem = { + encode(message: SnapshotItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseSnapshotStoreItem(): SnapshotStoreItem { + return { + name: "" + }; +} + +export const SnapshotStoreItem = { + encode(message: SnapshotStoreItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): SnapshotStoreItem { + const message = createBaseSnapshotStoreItem(); + message.name = object.name ?? ""; + return message; + } + +}; + +function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { + return { + key: new Uint8Array(), + value: new Uint8Array(), + version: Long.ZERO, + height: 0 + }; +} + +export const SnapshotIAVLItem = { + encode(message: SnapshotIAVLItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.version); + } + + if (message.height !== 0) { + writer.uint32(32).int32(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.height = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Long.fromValue(object.version) : Long.ZERO; + message.height = object.height ?? 0; + return message; + } + +}; + +function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { + return { + name: "", + format: 0 + }; +} + +export const SnapshotExtensionMeta = { + encode(message: SnapshotExtensionMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): SnapshotExtensionMeta { + const message = createBaseSnapshotExtensionMeta(); + message.name = object.name ?? ""; + message.format = object.format ?? 0; + return message; + } + +}; + +function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { + return { + payload: new Uint8Array() + }; +} + +export const SnapshotExtensionPayload = { + encode(message: SnapshotExtensionPayload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.payload.length !== 0) { + writer.uint32(10).bytes(message.payload); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): SnapshotExtensionPayload { + const message = createBaseSnapshotExtensionPayload(); + message.payload = object.payload ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSnapshotKVItem(): SnapshotKVItem { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const SnapshotKVItem = { + encode(message: SnapshotKVItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): SnapshotKVItem { + const message = createBaseSnapshotKVItem(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSnapshotSchema(): SnapshotSchema { + return { + keys: [] + }; +} + +export const SnapshotSchema = { + encode(message: SnapshotSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keys) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): SnapshotSchema { + const message = createBaseSnapshotSchema(); + message.keys = object.keys?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts new file mode 100644 index 000000000..5e7599aa6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/commit_info.ts @@ -0,0 +1,221 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * CommitInfo defines commit information used by the multi-store when committing + * a version/height. + */ + +export interface CommitInfo { + version: Long; + storeInfos: StoreInfo[]; +} +/** + * 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 | undefined; +} +/** + * 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 | undefined; +} +/** + * CommitID defines the committment information when a specific store is + * committed. + */ + +export interface CommitID { + version: Long; + hash: Uint8Array; +} +/** + * CommitID defines the committment information when a specific store is + * committed. + */ + +export interface CommitIDSDKType { + version: Long; + hash: Uint8Array; +} + +function createBaseCommitInfo(): CommitInfo { + return { + version: Long.ZERO, + storeInfos: [] + }; +} + +export const CommitInfo = { + encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + for (const v of message.storeInfos) { + StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.storeInfos.push(StoreInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommitInfo { + const message = createBaseCommitInfo(); + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.ZERO; + message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseStoreInfo(): StoreInfo { + return { + name: "", + commitId: undefined + }; +} + +export const StoreInfo = { + encode(message: StoreInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseCommitID(): CommitID { + return { + version: Long.ZERO, + hash: new Uint8Array() + }; +} + +export const CommitID = { + encode(message: CommitID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.version.isZero()) { + writer.uint32(8).int64(message.version); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommitID { + const message = createBaseCommitID(); + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.ZERO; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts new file mode 100644 index 000000000..9ca6d2365 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/store/v1beta1/listening.ts @@ -0,0 +1,110 @@ +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; +} +/** + * 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 { + /** 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; +} + +function createBaseStoreKVPair(): StoreKVPair { + return { + storeKey: "", + delete: false, + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const StoreKVPair = { + encode(message: StoreKVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): StoreKVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..831fcf2c7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts @@ -0,0 +1,81 @@ +import { setPaginationParams } from "../../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } 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); + } + /* 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); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts new file mode 100644 index 000000000..ce8c91874 --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts @@ -0,0 +1,107 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } 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; +} +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); + } + + 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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts new file mode 100644 index 000000000..e2fdee33e --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/tendermint/v1beta1/query.ts @@ -0,0 +1,1055 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../../tendermint/types/block"; +import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** 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 | undefined; +} +/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetValidatorSetByHeightRequestSDKType { + height: Long; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetValidatorSetByHeightResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetLatestValidatorSetRequest { + /** pagination defines an pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetLatestValidatorSetRequestSDKType { + /** pagination defines an pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ + +export interface GetLatestValidatorSetResponseSDKType { + block_height: Long; + validators: ValidatorSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** Validator is the type for the validator-set. */ + +export interface Validator { + address: string; + pubKey?: Any | undefined; + votingPower: Long; + proposerPriority: Long; +} +/** Validator is the type for the validator-set. */ + +export interface ValidatorSDKType { + address: string; + pub_key?: AnySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} +/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ + +export interface GetBlockByHeightRequest { + height: Long; +} +/** 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 | undefined; + block?: Block | undefined; +} +/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ + +export interface GetBlockByHeightResponseSDKType { + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; +} +/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ + +export interface GetLatestBlockRequest {} +/** 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 | undefined; + block?: Block | undefined; +} +/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ + +export interface GetLatestBlockResponseSDKType { + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; +} +/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ + +export interface GetSyncingRequest {} +/** 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; +} +/** 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 {} +/** 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 { + nodeInfo?: NodeInfo | undefined; + applicationVersion?: VersionInfo | undefined; +} +/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ + +export interface GetNodeInfoResponseSDKType { + node_info?: NodeInfoSDKType | undefined; + application_version?: VersionInfoSDKType | undefined; +} +/** 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; +} +/** 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[]; + /** Since: cosmos-sdk 0.43 */ + + cosmos_sdk_version: string; +} +/** Module is the type for VersionInfo */ + +export interface Module { + /** module path */ + path: string; + /** module version */ + + version: string; + /** checksum */ + + sum: string; +} +/** Module is the type for VersionInfo */ + +export interface ModuleSDKType { + /** module path */ + path: string; + /** module version */ + + version: string; + /** checksum */ + + sum: string; +} + +function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetValidatorSetByHeightRequest = { + encode(message: GetValidatorSetByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetValidatorSetByHeightRequest { + const message = createBaseGetValidatorSetByHeightRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetValidatorSetByHeightResponse = { + encode(message: GetValidatorSetByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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; + }, + + fromPartial(object: Partial): GetValidatorSetByHeightResponse { + const message = createBaseGetValidatorSetByHeightResponse(); + message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { + return { + pagination: undefined + }; +} + +export const GetLatestValidatorSetRequest = { + encode(message: GetLatestValidatorSetRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): GetLatestValidatorSetRequest { + const message = createBaseGetLatestValidatorSetRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { + return { + blockHeight: Long.ZERO, + validators: [], + pagination: undefined + }; +} + +export const GetLatestValidatorSetResponse = { + encode(message: GetLatestValidatorSetResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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; + }, + + fromPartial(object: Partial): GetLatestValidatorSetResponse { + const message = createBaseGetLatestValidatorSetResponse(); + message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.ZERO; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: "", + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { + return { + height: Long.ZERO + }; +} + +export const GetBlockByHeightRequest = { + encode(message: GetBlockByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetBlockByHeightRequest { + const message = createBaseGetBlockByHeightRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetBlockByHeightResponse = { + encode(message: GetBlockByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { + return {}; +} + +export const GetLatestBlockRequest = { + encode(_: GetLatestBlockRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): GetLatestBlockRequest { + const message = createBaseGetLatestBlockRequest(); + return message; + } + +}; + +function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { + return { + blockId: undefined, + block: undefined + }; +} + +export const GetLatestBlockResponse = { + encode(message: GetLatestBlockResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Block.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Block.fromPartial(object.block) : undefined; + return message; + } + +}; + +function createBaseGetSyncingRequest(): GetSyncingRequest { + return {}; +} + +export const GetSyncingRequest = { + encode(_: GetSyncingRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): GetSyncingRequest { + const message = createBaseGetSyncingRequest(); + return message; + } + +}; + +function createBaseGetSyncingResponse(): GetSyncingResponse { + return { + syncing: false + }; +} + +export const GetSyncingResponse = { + encode(message: GetSyncingResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.syncing === true) { + writer.uint32(8).bool(message.syncing); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): GetSyncingResponse { + const message = createBaseGetSyncingResponse(); + message.syncing = object.syncing ?? false; + return message; + } + +}; + +function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { + return {}; +} + +export const GetNodeInfoRequest = { + encode(_: GetNodeInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): GetNodeInfoRequest { + const message = createBaseGetNodeInfoRequest(); + return message; + } + +}; + +function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { + return { + nodeInfo: undefined, + applicationVersion: undefined + }; +} + +export const GetNodeInfoResponse = { + encode(message: GetNodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nodeInfo !== undefined) { + NodeInfo.encode(message.nodeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.applicationVersion !== undefined) { + VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.nodeInfo = NodeInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.applicationVersion = VersionInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetNodeInfoResponse { + const message = createBaseGetNodeInfoResponse(); + message.nodeInfo = object.nodeInfo !== undefined && object.nodeInfo !== null ? NodeInfo.fromPartial(object.nodeInfo) : undefined; + message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined; + return message; + } + +}; + +function createBaseVersionInfo(): VersionInfo { + return { + name: "", + appName: "", + version: "", + gitCommit: "", + buildTags: "", + goVersion: "", + buildDeps: [], + cosmosSdkVersion: "" + }; +} + +export const VersionInfo = { + encode(message: VersionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): VersionInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseModule(): Module { + return { + path: "", + version: "", + sum: "" + }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Module { + const message = createBaseModule(); + message.path = object.path ?? ""; + message.version = object.version ?? ""; + message.sum = object.sum ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts new file mode 100644 index 000000000..9b5b3269c --- /dev/null +++ b/examples/telescope/codegen/cosmos/base/v1beta1/coin.ts @@ -0,0 +1,265 @@ +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; +} +/** + * 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; +} +/** + * 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; +} +/** 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; +} +/** DecProto defines a Protobuf wrapper around a Dec object. */ + +export interface DecProtoSDKType { + dec: string; +} + +function createBaseCoin(): Coin { + return { + denom: "", + amount: "" + }; +} + +export const Coin = { + encode(message: Coin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Coin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Coin { + const message = createBaseCoin(); + message.denom = object.denom ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseDecCoin(): DecCoin { + return { + denom: "", + amount: "" + }; +} + +export const DecCoin = { + encode(message: DecCoin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecCoin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DecCoin { + const message = createBaseDecCoin(); + message.denom = object.denom ?? ""; + message.amount = object.amount ?? ""; + return message; + } + +}; + +function createBaseIntProto(): IntProto { + return { + int: "" + }; +} + +export const IntProto = { + encode(message: IntProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.int !== "") { + writer.uint32(10).string(message.int); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IntProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIntProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.int = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): IntProto { + const message = createBaseIntProto(); + message.int = object.int ?? ""; + return message; + } + +}; + +function createBaseDecProto(): DecProto { + return { + dec: "" + }; +} + +export const DecProto = { + encode(message: DecProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.dec !== "") { + writer.uint32(10).string(message.dec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.dec = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DecProto { + const message = createBaseDecProto(); + message.dec = object.dec ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts new file mode 100644 index 000000000..df6d01da1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/bundle.ts @@ -0,0 +1,455 @@ +import * as _2 from "./app/v1alpha1/config"; +import * as _3 from "./app/v1alpha1/module"; +import * as _4 from "./app/v1alpha1/query"; +import * as _5 from "./auth/v1beta1/auth"; +import * as _6 from "./auth/v1beta1/genesis"; +import * as _7 from "./auth/v1beta1/query"; +import * as _8 from "./authz/v1beta1/authz"; +import * as _9 from "./authz/v1beta1/event"; +import * as _10 from "./authz/v1beta1/genesis"; +import * as _11 from "./authz/v1beta1/query"; +import * as _12 from "./authz/v1beta1/tx"; +import * as _13 from "./bank/v1beta1/authz"; +import * as _14 from "./bank/v1beta1/bank"; +import * as _15 from "./bank/v1beta1/genesis"; +import * as _16 from "./bank/v1beta1/query"; +import * as _17 from "./bank/v1beta1/tx"; +import * as _18 from "./base/abci/v1beta1/abci"; +import * as _19 from "./base/kv/v1beta1/kv"; +import * as _20 from "./base/query/v1beta1/pagination"; +import * as _21 from "./base/reflection/v1beta1/reflection"; +import * as _22 from "./base/reflection/v2alpha1/reflection"; +import * as _23 from "./base/snapshots/v1beta1/snapshot"; +import * as _24 from "./base/store/v1beta1/commit_info"; +import * as _25 from "./base/store/v1beta1/listening"; +import * as _26 from "./base/tendermint/v1beta1/query"; +import * as _27 from "./base/v1beta1/coin"; +import * as _28 from "./capability/v1beta1/capability"; +import * as _29 from "./capability/v1beta1/genesis"; +import * as _30 from "./crisis/v1beta1/genesis"; +import * as _31 from "./crisis/v1beta1/tx"; +import * as _32 from "./crypto/ed25519/keys"; +import * as _33 from "./crypto/hd/v1/hd"; +import * as _34 from "./crypto/keyring/v1/record"; +import * as _35 from "./crypto/multisig/keys"; +import * as _36 from "./crypto/secp256k1/keys"; +import * as _37 from "./crypto/secp256r1/keys"; +import * as _38 from "./distribution/v1beta1/distribution"; +import * as _39 from "./distribution/v1beta1/genesis"; +import * as _40 from "./distribution/v1beta1/query"; +import * as _41 from "./distribution/v1beta1/tx"; +import * as _42 from "./evidence/v1beta1/evidence"; +import * as _43 from "./evidence/v1beta1/genesis"; +import * as _44 from "./evidence/v1beta1/query"; +import * as _45 from "./evidence/v1beta1/tx"; +import * as _46 from "./feegrant/v1beta1/feegrant"; +import * as _47 from "./feegrant/v1beta1/genesis"; +import * as _48 from "./feegrant/v1beta1/query"; +import * as _49 from "./feegrant/v1beta1/tx"; +import * as _50 from "./genutil/v1beta1/genesis"; +import * as _51 from "./gov/v1/genesis"; +import * as _52 from "./gov/v1/gov"; +import * as _53 from "./gov/v1/query"; +import * as _54 from "./gov/v1/tx"; +import * as _55 from "./gov/v1beta1/genesis"; +import * as _56 from "./gov/v1beta1/gov"; +import * as _57 from "./gov/v1beta1/query"; +import * as _58 from "./gov/v1beta1/tx"; +import * as _59 from "./group/v1/events"; +import * as _60 from "./group/v1/genesis"; +import * as _61 from "./group/v1/query"; +import * as _62 from "./group/v1/tx"; +import * as _63 from "./group/v1/types"; +import * as _64 from "./mint/v1beta1/genesis"; +import * as _65 from "./mint/v1beta1/mint"; +import * as _66 from "./mint/v1beta1/query"; +import * as _67 from "./msg/v1/msg"; +import * as _68 from "./nft/v1beta1/event"; +import * as _69 from "./nft/v1beta1/genesis"; +import * as _70 from "./nft/v1beta1/nft"; +import * as _71 from "./nft/v1beta1/query"; +import * as _72 from "./nft/v1beta1/tx"; +import * as _73 from "./orm/v1/orm"; +import * as _74 from "./orm/v1alpha1/schema"; +import * as _75 from "./params/v1beta1/params"; +import * as _76 from "./params/v1beta1/query"; +import * as _77 from "./slashing/v1beta1/genesis"; +import * as _78 from "./slashing/v1beta1/query"; +import * as _79 from "./slashing/v1beta1/slashing"; +import * as _80 from "./slashing/v1beta1/tx"; +import * as _81 from "./staking/v1beta1/authz"; +import * as _82 from "./staking/v1beta1/genesis"; +import * as _83 from "./staking/v1beta1/query"; +import * as _84 from "./staking/v1beta1/staking"; +import * as _85 from "./staking/v1beta1/tx"; +import * as _86 from "./tx/signing/v1beta1/signing"; +import * as _87 from "./tx/v1beta1/service"; +import * as _88 from "./tx/v1beta1/tx"; +import * as _89 from "./upgrade/v1beta1/query"; +import * as _90 from "./upgrade/v1beta1/tx"; +import * as _91 from "./upgrade/v1beta1/upgrade"; +import * as _92 from "./vesting/v1beta1/tx"; +import * as _93 from "./vesting/v1beta1/vesting"; +import * as _143 from "./authz/v1beta1/tx.amino"; +import * as _144 from "./bank/v1beta1/tx.amino"; +import * as _145 from "./crisis/v1beta1/tx.amino"; +import * as _146 from "./distribution/v1beta1/tx.amino"; +import * as _147 from "./evidence/v1beta1/tx.amino"; +import * as _148 from "./feegrant/v1beta1/tx.amino"; +import * as _149 from "./gov/v1/tx.amino"; +import * as _150 from "./gov/v1beta1/tx.amino"; +import * as _151 from "./group/v1/tx.amino"; +import * as _152 from "./nft/v1beta1/tx.amino"; +import * as _153 from "./slashing/v1beta1/tx.amino"; +import * as _154 from "./staking/v1beta1/tx.amino"; +import * as _155 from "./upgrade/v1beta1/tx.amino"; +import * as _156 from "./vesting/v1beta1/tx.amino"; +import * as _157 from "./authz/v1beta1/tx.registry"; +import * as _158 from "./bank/v1beta1/tx.registry"; +import * as _159 from "./crisis/v1beta1/tx.registry"; +import * as _160 from "./distribution/v1beta1/tx.registry"; +import * as _161 from "./evidence/v1beta1/tx.registry"; +import * as _162 from "./feegrant/v1beta1/tx.registry"; +import * as _163 from "./gov/v1/tx.registry"; +import * as _164 from "./gov/v1beta1/tx.registry"; +import * as _165 from "./group/v1/tx.registry"; +import * as _166 from "./nft/v1beta1/tx.registry"; +import * as _167 from "./slashing/v1beta1/tx.registry"; +import * as _168 from "./staking/v1beta1/tx.registry"; +import * as _169 from "./upgrade/v1beta1/tx.registry"; +import * as _170 from "./vesting/v1beta1/tx.registry"; +import * as _171 from "./auth/v1beta1/query.lcd"; +import * as _172 from "./authz/v1beta1/query.lcd"; +import * as _173 from "./bank/v1beta1/query.lcd"; +import * as _174 from "./base/tendermint/v1beta1/query.lcd"; +import * as _175 from "./distribution/v1beta1/query.lcd"; +import * as _176 from "./evidence/v1beta1/query.lcd"; +import * as _177 from "./feegrant/v1beta1/query.lcd"; +import * as _178 from "./gov/v1/query.lcd"; +import * as _179 from "./gov/v1beta1/query.lcd"; +import * as _180 from "./group/v1/query.lcd"; +import * as _181 from "./mint/v1beta1/query.lcd"; +import * as _182 from "./nft/v1beta1/query.lcd"; +import * as _183 from "./params/v1beta1/query.lcd"; +import * as _184 from "./slashing/v1beta1/query.lcd"; +import * as _185 from "./staking/v1beta1/query.lcd"; +import * as _186 from "./tx/v1beta1/service.lcd"; +import * as _187 from "./upgrade/v1beta1/query.lcd"; +import * as _188 from "./app/v1alpha1/query.rpc.Query"; +import * as _189 from "./auth/v1beta1/query.rpc.Query"; +import * as _190 from "./authz/v1beta1/query.rpc.Query"; +import * as _191 from "./bank/v1beta1/query.rpc.Query"; +import * as _192 from "./base/tendermint/v1beta1/query.rpc.Service"; +import * as _193 from "./distribution/v1beta1/query.rpc.Query"; +import * as _194 from "./evidence/v1beta1/query.rpc.Query"; +import * as _195 from "./feegrant/v1beta1/query.rpc.Query"; +import * as _196 from "./gov/v1/query.rpc.Query"; +import * as _197 from "./gov/v1beta1/query.rpc.Query"; +import * as _198 from "./group/v1/query.rpc.Query"; +import * as _199 from "./mint/v1beta1/query.rpc.Query"; +import * as _200 from "./nft/v1beta1/query.rpc.Query"; +import * as _201 from "./params/v1beta1/query.rpc.Query"; +import * as _202 from "./slashing/v1beta1/query.rpc.Query"; +import * as _203 from "./staking/v1beta1/query.rpc.Query"; +import * as _204 from "./tx/v1beta1/service.rpc.Service"; +import * as _205 from "./upgrade/v1beta1/query.rpc.Query"; +import * as _206 from "./authz/v1beta1/tx.rpc.msg"; +import * as _207 from "./bank/v1beta1/tx.rpc.msg"; +import * as _208 from "./crisis/v1beta1/tx.rpc.msg"; +import * as _209 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _210 from "./evidence/v1beta1/tx.rpc.msg"; +import * as _211 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _212 from "./gov/v1/tx.rpc.msg"; +import * as _213 from "./gov/v1beta1/tx.rpc.msg"; +import * as _214 from "./group/v1/tx.rpc.msg"; +import * as _215 from "./nft/v1beta1/tx.rpc.msg"; +import * as _216 from "./slashing/v1beta1/tx.rpc.msg"; +import * as _217 from "./staking/v1beta1/tx.rpc.msg"; +import * as _218 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _219 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _246 from "./lcd"; +import * as _247 from "./rpc.query"; +import * as _248 from "./rpc.tx"; +export namespace cosmos { + export namespace app { + export const v1alpha1 = { ..._2, + ..._3, + ..._4, + ..._188 + }; + } + export namespace auth { + export const v1beta1 = { ..._5, + ..._6, + ..._7, + ..._171, + ..._189 + }; + } + export namespace authz { + export const v1beta1 = { ..._8, + ..._9, + ..._10, + ..._11, + ..._12, + ..._143, + ..._157, + ..._172, + ..._190, + ..._206 + }; + } + export namespace bank { + export const v1beta1 = { ..._13, + ..._14, + ..._15, + ..._16, + ..._17, + ..._144, + ..._158, + ..._173, + ..._191, + ..._207 + }; + } + export namespace base { + export namespace abci { + export const v1beta1 = { ..._18 + }; + } + export namespace kv { + export const v1beta1 = { ..._19 + }; + } + export namespace query { + export const v1beta1 = { ..._20 + }; + } + export namespace reflection { + export const v1beta1 = { ..._21 + }; + export const v2alpha1 = { ..._22 + }; + } + export namespace snapshots { + export const v1beta1 = { ..._23 + }; + } + export namespace store { + export const v1beta1 = { ..._24, + ..._25 + }; + } + export namespace tendermint { + export const v1beta1 = { ..._26, + ..._174, + ..._192 + }; + } + export const v1beta1 = { ..._27 + }; + } + export namespace capability { + export const v1beta1 = { ..._28, + ..._29 + }; + } + export namespace crisis { + export const v1beta1 = { ..._30, + ..._31, + ..._145, + ..._159, + ..._208 + }; + } + export namespace crypto { + export const ed25519 = { ..._32 + }; + export namespace hd { + export const v1 = { ..._33 + }; + } + export namespace keyring { + export const v1 = { ..._34 + }; + } + export const multisig = { ..._35 + }; + export const secp256k1 = { ..._36 + }; + export const secp256r1 = { ..._37 + }; + } + export namespace distribution { + export const v1beta1 = { ..._38, + ..._39, + ..._40, + ..._41, + ..._146, + ..._160, + ..._175, + ..._193, + ..._209 + }; + } + export namespace evidence { + export const v1beta1 = { ..._42, + ..._43, + ..._44, + ..._45, + ..._147, + ..._161, + ..._176, + ..._194, + ..._210 + }; + } + export namespace feegrant { + export const v1beta1 = { ..._46, + ..._47, + ..._48, + ..._49, + ..._148, + ..._162, + ..._177, + ..._195, + ..._211 + }; + } + export namespace genutil { + export const v1beta1 = { ..._50 + }; + } + export namespace gov { + export const v1 = { ..._51, + ..._52, + ..._53, + ..._54, + ..._149, + ..._163, + ..._178, + ..._196, + ..._212 + }; + export const v1beta1 = { ..._55, + ..._56, + ..._57, + ..._58, + ..._150, + ..._164, + ..._179, + ..._197, + ..._213 + }; + } + export namespace group { + export const v1 = { ..._59, + ..._60, + ..._61, + ..._62, + ..._63, + ..._151, + ..._165, + ..._180, + ..._198, + ..._214 + }; + } + export namespace mint { + export const v1beta1 = { ..._64, + ..._65, + ..._66, + ..._181, + ..._199 + }; + } + export namespace msg { + export const v1 = { ..._67 + }; + } + export namespace nft { + export const v1beta1 = { ..._68, + ..._69, + ..._70, + ..._71, + ..._72, + ..._152, + ..._166, + ..._182, + ..._200, + ..._215 + }; + } + export namespace orm { + export const v1 = { ..._73 + }; + export const v1alpha1 = { ..._74 + }; + } + export namespace params { + export const v1beta1 = { ..._75, + ..._76, + ..._183, + ..._201 + }; + } + export namespace slashing { + export const v1beta1 = { ..._77, + ..._78, + ..._79, + ..._80, + ..._153, + ..._167, + ..._184, + ..._202, + ..._216 + }; + } + export namespace staking { + export const v1beta1 = { ..._81, + ..._82, + ..._83, + ..._84, + ..._85, + ..._154, + ..._168, + ..._185, + ..._203, + ..._217 + }; + } + export namespace tx { + export namespace signing { + export const v1beta1 = { ..._86 + }; + } + export const v1beta1 = { ..._87, + ..._88, + ..._186, + ..._204 + }; + } + export namespace upgrade { + export const v1beta1 = { ..._89, + ..._90, + ..._91, + ..._155, + ..._169, + ..._187, + ..._205, + ..._218 + }; + } + export namespace vesting { + export const v1beta1 = { ..._92, + ..._93, + ..._156, + ..._170, + ..._219 + }; + } + export const ClientFactory = { ..._246, + ..._247, + ..._248 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts new file mode 100644 index 000000000..85249c0eb --- /dev/null +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/capability.ts @@ -0,0 +1,197 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * Capability defines an implementation of an object capability. The index + * provided to a Capability must be globally unique. + */ + +export interface Capability { + index: Long; +} +/** + * 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; +} +/** + * 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[]; +} +/** + * 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: Long.UZERO + }; +} + +export const Capability = { + encode(message: Capability, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Capability { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Capability { + const message = createBaseCapability(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; + return message; + } + +}; + +function createBaseOwner(): Owner { + return { + module: "", + name: "" + }; +} + +export const Owner = { + encode(message: Owner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + + if (message.name !== "") { + writer.uint32(18).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Owner { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Owner { + const message = createBaseOwner(); + message.module = object.module ?? ""; + message.name = object.name ?? ""; + return message; + } + +}; + +function createBaseCapabilityOwners(): CapabilityOwners { + return { + owners: [] + }; +} + +export const CapabilityOwners = { + encode(message: CapabilityOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.owners) { + Owner.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): CapabilityOwners { + const message = createBaseCapabilityOwners(); + message.owners = object.owners?.map(e => Owner.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts new file mode 100644 index 000000000..cf4a1df47 --- /dev/null +++ b/examples/telescope/codegen/cosmos/capability/v1beta1/genesis.ts @@ -0,0 +1,155 @@ +import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** 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 | undefined; +} +/** GenesisOwners defines the capability owners with their corresponding index. */ + +export interface GenesisOwnersSDKType { + /** index is the index of the capability owner. */ + index: Long; + /** index_owners are the owners at the given index. */ + + index_owners?: CapabilityOwnersSDKType | undefined; +} +/** 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[]; +} +/** GenesisState defines the capability module's genesis state. */ + +export interface GenesisStateSDKType { + /** 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: GenesisOwnersSDKType[]; +} + +function createBaseGenesisOwners(): GenesisOwners { + return { + index: Long.UZERO, + indexOwners: undefined + }; +} + +export const GenesisOwners = { + encode(message: GenesisOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + if (message.indexOwners !== undefined) { + CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.indexOwners = CapabilityOwners.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisOwners { + const message = createBaseGenesisOwners(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; + message.indexOwners = object.indexOwners !== undefined && object.indexOwners !== null ? CapabilityOwners.fromPartial(object.indexOwners) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + index: Long.UZERO, + owners: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).uint64(message.index); + } + + for (const v of message.owners) { + GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.owners.push(GenesisOwners.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.UZERO; + message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/client.ts b/examples/telescope/codegen/cosmos/client.ts new file mode 100644 index 000000000..31516272a --- /dev/null +++ b/examples/telescope/codegen/cosmos/client.ts @@ -0,0 +1,76 @@ +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 getSigningCosmosClientOptions = (): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...cosmosProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmosAminoConverters + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmosClient = async ({ + rpcEndpoint, + signer +}: { + rpcEndpoint: string | HttpEndpoint; + signer: OfflineSigner; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmosClientOptions(); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts new file mode 100644 index 000000000..1b0864f9e --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/genesis.ts @@ -0,0 +1,65 @@ +import { Coin, 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 | undefined; +} +/** GenesisState defines the crisis module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * constant_fee is the fee used to verify the invariant in the crisis + * module. + */ + constant_fee?: CoinSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + constantFee: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.constantFee !== undefined) { + Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.constantFee = object.constantFee !== undefined && object.constantFee !== null ? Coin.fromPartial(object.constantFee) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts new file mode 100644 index 000000000..7d4adbcef --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.amino.ts @@ -0,0 +1,37 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgVerifyInvariant } from "./tx"; +export interface AminoMsgVerifyInvariant extends AminoMsg { + type: "cosmos-sdk/MsgVerifyInvariant"; + value: { + sender: string; + invariant_module_name: string; + invariant_route: string; + }; +} +export const AminoConverter = { + "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { + aminoType: "cosmos-sdk/MsgVerifyInvariant", + toAmino: ({ + sender, + invariantModuleName, + invariantRoute + }: MsgVerifyInvariant): AminoMsgVerifyInvariant["value"] => { + return { + sender, + invariant_module_name: invariantModuleName, + invariant_route: invariantRoute + }; + }, + fromAmino: ({ + sender, + invariant_module_name, + invariant_route + }: AminoMsgVerifyInvariant["value"]): MsgVerifyInvariant => { + return { + sender, + invariantModuleName: invariant_module_name, + invariantRoute: invariant_route + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts new file mode 100644 index 000000000..a3a6b31f5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + verifyInvariant(value: MsgVerifyInvariant) { + return { + typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", + value: MsgVerifyInvariant.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..cd2c03878 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,24 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts new file mode 100644 index 000000000..31153100f --- /dev/null +++ b/examples/telescope/codegen/cosmos/crisis/v1beta1/tx.ts @@ -0,0 +1,120 @@ +import * as _m0 from "protobufjs/minimal"; +/** MsgVerifyInvariant represents a message to verify a particular invariance. */ + +export interface MsgVerifyInvariant { + sender: string; + invariantModuleName: string; + invariantRoute: string; +} +/** 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 {} +/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ + +export interface MsgVerifyInvariantResponseSDKType {} + +function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { + return { + sender: "", + invariantModuleName: "", + invariantRoute: "" + }; +} + +export const MsgVerifyInvariant = { + encode(message: MsgVerifyInvariant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): MsgVerifyInvariant { + const message = createBaseMsgVerifyInvariant(); + message.sender = object.sender ?? ""; + message.invariantModuleName = object.invariantModuleName ?? ""; + message.invariantRoute = object.invariantRoute ?? ""; + return message; + } + +}; + +function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { + return {}; +} + +export const MsgVerifyInvariantResponse = { + encode(_: MsgVerifyInvariantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): MsgVerifyInvariantResponse { + const message = createBaseMsgVerifyInvariantResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts new file mode 100644 index 000000000..46b5d929a --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/ed25519/keys.ts @@ -0,0 +1,129 @@ +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; +} +/** + * 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; +} +/** + * 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; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PubKey { + const message = createBasePubKey(); + message.key = object.key ?? new Uint8Array(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PrivKey { + const message = createBasePrivKey(); + message.key = object.key ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts new file mode 100644 index 000000000..9af6f6ba6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/hd/v1/hd.ts @@ -0,0 +1,128 @@ +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; +} +/** BIP44Params is used as path field in ledger item in Record. */ + +export interface BIP44ParamsSDKType { + /** 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; +} + +function createBaseBIP44Params(): BIP44Params { + return { + purpose: 0, + coinType: 0, + account: 0, + change: false, + addressIndex: 0 + }; +} + +export const BIP44Params = { + encode(message: BIP44Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.purpose !== 0) { + writer.uint32(8).uint32(message.purpose); + } + + if (message.coinType !== 0) { + writer.uint32(16).uint32(message.coinType); + } + + if (message.account !== 0) { + writer.uint32(24).uint32(message.account); + } + + if (message.change === true) { + writer.uint32(32).bool(message.change); + } + + if (message.addressIndex !== 0) { + writer.uint32(40).uint32(message.addressIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBIP44Params(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.purpose = reader.uint32(); + break; + + case 2: + message.coinType = reader.uint32(); + break; + + case 3: + message.account = reader.uint32(); + break; + + case 4: + message.change = reader.bool(); + break; + + case 5: + message.addressIndex = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BIP44Params { + const message = createBaseBIP44Params(); + message.purpose = object.purpose ?? 0; + message.coinType = object.coinType ?? 0; + message.account = object.account ?? 0; + message.change = object.change ?? false; + message.addressIndex = object.addressIndex ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts new file mode 100644 index 000000000..c276eee82 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/keyring/v1/record.ts @@ -0,0 +1,348 @@ +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { BIP44Params, 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 | undefined; + /** local stores the public information about a locally stored key */ + + local?: Record_Local | undefined; + /** ledger stores the public information about a Ledger key */ + + ledger?: Record_Ledger | undefined; + /** Multi does not store any information. */ + + multi?: Record_Multi | undefined; + /** Offline does not store any information. */ + + offline?: Record_Offline | undefined; +} +/** Record is used for representing a key in the keyring. */ + +export interface RecordSDKType { + /** name represents a name of Record */ + name: string; + /** pub_key represents a public key in any format */ + + pub_key?: AnySDKType | undefined; + /** local stores the public information about a locally stored key */ + + local?: Record_LocalSDKType | undefined; + /** ledger stores the public information about a Ledger key */ + + ledger?: Record_LedgerSDKType | undefined; + /** Multi does not store any information. */ + + multi?: Record_MultiSDKType | undefined; + /** Offline does not store any information. */ + + offline?: Record_OfflineSDKType | undefined; +} +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ + +export interface Record_Local { + privKey?: Any | undefined; + privKeyType: string; +} +/** + * Item is a keyring item stored in a keyring backend. + * Local item + */ + +export interface Record_LocalSDKType { + priv_key?: AnySDKType | undefined; + priv_key_type: string; +} +/** Ledger item */ + +export interface Record_Ledger { + path?: BIP44Params | undefined; +} +/** Ledger item */ + +export interface Record_LedgerSDKType { + path?: BIP44ParamsSDKType | undefined; +} +/** Multi item */ + +export interface Record_Multi {} +/** Multi item */ + +export interface Record_MultiSDKType {} +/** Offline item */ + +export interface Record_Offline {} +/** Offline item */ + +export interface Record_OfflineSDKType {} + +function createBaseRecord(): Record { + return { + name: "", + pubKey: undefined, + local: undefined, + ledger: undefined, + multi: undefined, + offline: undefined + }; +} + +export const Record = { + encode(message: Record, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.pubKey !== undefined) { + Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.local !== undefined) { + Record_Local.encode(message.local, writer.uint32(26).fork()).ldelim(); + } + + if (message.ledger !== undefined) { + Record_Ledger.encode(message.ledger, writer.uint32(34).fork()).ldelim(); + } + + if (message.multi !== undefined) { + Record_Multi.encode(message.multi, writer.uint32(42).fork()).ldelim(); + } + + if (message.offline !== undefined) { + Record_Offline.encode(message.offline, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.pubKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.local = Record_Local.decode(reader, reader.uint32()); + break; + + case 4: + message.ledger = Record_Ledger.decode(reader, reader.uint32()); + break; + + case 5: + message.multi = Record_Multi.decode(reader, reader.uint32()); + break; + + case 6: + message.offline = Record_Offline.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Record { + const message = createBaseRecord(); + message.name = object.name ?? ""; + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; + message.local = object.local !== undefined && object.local !== null ? Record_Local.fromPartial(object.local) : undefined; + message.ledger = object.ledger !== undefined && object.ledger !== null ? Record_Ledger.fromPartial(object.ledger) : undefined; + message.multi = object.multi !== undefined && object.multi !== null ? Record_Multi.fromPartial(object.multi) : undefined; + message.offline = object.offline !== undefined && object.offline !== null ? Record_Offline.fromPartial(object.offline) : undefined; + return message; + } + +}; + +function createBaseRecord_Local(): Record_Local { + return { + privKey: undefined, + privKeyType: "" + }; +} + +export const Record_Local = { + encode(message: Record_Local, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.privKey !== undefined) { + Any.encode(message.privKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.privKeyType !== "") { + writer.uint32(18).string(message.privKeyType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Local(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.privKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.privKeyType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Record_Local { + const message = createBaseRecord_Local(); + message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; + message.privKeyType = object.privKeyType ?? ""; + return message; + } + +}; + +function createBaseRecord_Ledger(): Record_Ledger { + return { + path: undefined + }; +} + +export const Record_Ledger = { + encode(message: Record_Ledger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== undefined) { + BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Ledger(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = BIP44Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Record_Ledger { + const message = createBaseRecord_Ledger(); + message.path = object.path !== undefined && object.path !== null ? BIP44Params.fromPartial(object.path) : undefined; + return message; + } + +}; + +function createBaseRecord_Multi(): Record_Multi { + return {}; +} + +export const Record_Multi = { + encode(_: Record_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): Record_Multi { + const message = createBaseRecord_Multi(); + return message; + } + +}; + +function createBaseRecord_Offline(): Record_Offline { + return {}; +} + +export const Record_Offline = { + encode(_: Record_Offline, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRecord_Offline(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): Record_Offline { + const message = createBaseRecord_Offline(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts new file mode 100644 index 000000000..fe7eab10c --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/multisig/keys.ts @@ -0,0 +1,77 @@ +import { Any, 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[]; +} +/** + * 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[]; +} + +function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { + return { + threshold: 0, + publicKeys: [] + }; +} + +export const LegacyAminoPubKey = { + encode(message: LegacyAminoPubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== 0) { + writer.uint32(8).uint32(message.threshold); + } + + for (const v of message.publicKeys) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLegacyAminoPubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.uint32(); + break; + + case 2: + message.publicKeys.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): LegacyAminoPubKey { + const message = createBaseLegacyAminoPubKey(); + message.threshold = object.threshold ?? 0; + message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts new file mode 100644 index 000000000..73f700800 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -0,0 +1,141 @@ +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[]; +} +/** + * 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; +} +/** + * 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; +} + +function createBaseMultiSignature(): MultiSignature { + return { + signatures: [] + }; +} + +export const MultiSignature = { + encode(message: MultiSignature, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMultiSignature(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MultiSignature { + const message = createBaseMultiSignature(); + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseCompactBitArray(): CompactBitArray { + return { + extraBitsStored: 0, + elems: new Uint8Array() + }; +} + +export const CompactBitArray = { + encode(message: CompactBitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.extraBitsStored !== 0) { + writer.uint32(8).uint32(message.extraBitsStored); + } + + if (message.elems.length !== 0) { + writer.uint32(18).bytes(message.elems); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCompactBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.extraBitsStored = reader.uint32(); + break; + + case 2: + message.elems = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CompactBitArray { + const message = createBaseCompactBitArray(); + message.extraBitsStored = object.extraBitsStored ?? 0; + message.elems = object.elems ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts new file mode 100644 index 000000000..093f1fcc3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/secp256k1/keys.ts @@ -0,0 +1,123 @@ +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; +} +/** + * 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; +} +/** PrivKey defines a secp256k1 private key. */ + +export interface PrivKeySDKType { + key: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PubKey { + const message = createBasePubKey(); + message.key = object.key ?? new Uint8Array(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + key: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PrivKey { + const message = createBasePrivKey(); + message.key = object.key ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts new file mode 100644 index 000000000..cb4bc3b5f --- /dev/null +++ b/examples/telescope/codegen/cosmos/crypto/secp256r1/keys.ts @@ -0,0 +1,121 @@ +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; +} +/** PubKey defines a secp256r1 ECDSA public key. */ + +export interface PubKeySDKType { + /** + * 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; +} +/** PrivKey defines a secp256r1 ECDSA private key. */ + +export interface PrivKey { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} +/** PrivKey defines a secp256r1 ECDSA private key. */ + +export interface PrivKeySDKType { + /** secret number serialized using big-endian encoding */ + secret: Uint8Array; +} + +function createBasePubKey(): PubKey { + return { + key: new Uint8Array() + }; +} + +export const PubKey = { + encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePubKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PubKey { + const message = createBasePubKey(); + message.key = object.key ?? new Uint8Array(); + return message; + } + +}; + +function createBasePrivKey(): PrivKey { + return { + secret: new Uint8Array() + }; +} + +export const PrivKey = { + encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.secret.length !== 0) { + writer.uint32(10).bytes(message.secret); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrivKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.secret = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PrivKey { + const message = createBasePrivKey(); + message.secret = object.secret ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts new file mode 100644 index 000000000..a89f32455 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/distribution.ts @@ -0,0 +1,945 @@ +import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** Params defines the set of params for the distribution module. */ + +export interface Params { + communityTax: string; + baseProposerReward: string; + bonusProposerReward: string; + withdrawAddrEnabled: boolean; +} +/** 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; +} +/** + * 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; +} +/** + * 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[]; +} +/** + * 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[]; +} +/** + * 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; +} +/** + * 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[]; +} +/** 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[]; +} +/** 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 { + title: string; + description: string; + recipient: string; + amount: Coin[]; +} +/** + * 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 { + 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; +} +/** + * 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[]; +} +/** + * 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 { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} +/** + * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal + * with a deposit + */ + +export interface CommunityPoolSpendProposalWithDepositSDKType { + title: string; + description: string; + recipient: string; + amount: string; + deposit: string; +} + +function createBaseParams(): Params { + return { + communityTax: "", + baseProposerReward: "", + bonusProposerReward: "", + withdrawAddrEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.communityTax !== "") { + writer.uint32(10).string(message.communityTax); + } + + if (message.baseProposerReward !== "") { + writer.uint32(18).string(message.baseProposerReward); + } + + if (message.bonusProposerReward !== "") { + writer.uint32(26).string(message.bonusProposerReward); + } + + if (message.withdrawAddrEnabled === true) { + writer.uint32(32).bool(message.withdrawAddrEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.communityTax = reader.string(); + break; + + case 2: + message.baseProposerReward = reader.string(); + break; + + case 3: + message.bonusProposerReward = reader.string(); + break; + + case 4: + message.withdrawAddrEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.communityTax = object.communityTax ?? ""; + message.baseProposerReward = object.baseProposerReward ?? ""; + message.bonusProposerReward = object.bonusProposerReward ?? ""; + message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false; + return message; + } + +}; + +function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards { + return { + cumulativeRewardRatio: [], + referenceCount: 0 + }; +} + +export const ValidatorHistoricalRewards = { + encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.cumulativeRewardRatio) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.referenceCount !== 0) { + writer.uint32(16).uint32(message.referenceCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.referenceCount = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorHistoricalRewards { + const message = createBaseValidatorHistoricalRewards(); + message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || []; + message.referenceCount = object.referenceCount ?? 0; + return message; + } + +}; + +function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards { + return { + rewards: [], + period: Long.UZERO + }; +} + +export const ValidatorCurrentRewards = { + encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorCurrentRewards { + const message = createBaseValidatorCurrentRewards(); + message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission { + return { + commission: [] + }; +} + +export const ValidatorAccumulatedCommission = { + encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commission) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorAccumulatedCommission { + const message = createBaseValidatorAccumulatedCommission(); + message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards { + return { + rewards: [] + }; +} + +export const ValidatorOutstandingRewards = { + encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewards(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorOutstandingRewards { + const message = createBaseValidatorOutstandingRewards(); + message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseValidatorSlashEvent(): ValidatorSlashEvent { + return { + validatorPeriod: Long.UZERO, + fraction: "" + }; +} + +export const ValidatorSlashEvent = { + encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.validatorPeriod.isZero()) { + writer.uint32(8).uint64(message.validatorPeriod); + } + + if (message.fraction !== "") { + writer.uint32(18).string(message.fraction); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorPeriod = (reader.uint64() as Long); + break; + + case 2: + message.fraction = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorSlashEvent { + const message = createBaseValidatorSlashEvent(); + message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? Long.fromValue(object.validatorPeriod) : Long.UZERO; + message.fraction = object.fraction ?? ""; + return message; + } + +}; + +function createBaseValidatorSlashEvents(): ValidatorSlashEvents { + return { + validatorSlashEvents: [] + }; +} + +export const ValidatorSlashEvents = { + encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorSlashEvents) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEvents(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorSlashEvents { + const message = createBaseValidatorSlashEvents(); + message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFeePool(): FeePool { + return { + communityPool: [] + }; +} + +export const FeePool = { + encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.communityPool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FeePool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFeePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.communityPool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FeePool { + const message = createBaseFeePool(); + message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal { + return { + title: "", + description: "", + recipient: "", + amount: [] + }; +} + +export const CommunityPoolSpendProposal = { + encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommunityPoolSpendProposal { + const message = createBaseCommunityPoolSpendProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDelegatorStartingInfo(): DelegatorStartingInfo { + return { + previousPeriod: Long.UZERO, + stake: "", + height: Long.UZERO + }; +} + +export const DelegatorStartingInfo = { + encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.previousPeriod.isZero()) { + writer.uint32(8).uint64(message.previousPeriod); + } + + if (message.stake !== "") { + writer.uint32(18).string(message.stake); + } + + if (!message.height.isZero()) { + writer.uint32(24).uint64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.previousPeriod = (reader.uint64() as Long); + break; + + case 2: + message.stake = reader.string(); + break; + + case 3: + message.height = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelegatorStartingInfo { + const message = createBaseDelegatorStartingInfo(); + message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? Long.fromValue(object.previousPeriod) : Long.UZERO; + message.stake = object.stake ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + return message; + } + +}; + +function createBaseDelegationDelegatorReward(): DelegationDelegatorReward { + return { + validatorAddress: "", + reward: [] + }; +} + +export const DelegationDelegatorReward = { + encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.reward) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.reward.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelegationDelegatorReward { + const message = createBaseDelegationDelegatorReward(); + message.validatorAddress = object.validatorAddress ?? ""; + message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit { + return { + title: "", + description: "", + recipient: "", + amount: "", + deposit: "" + }; +} + +export const CommunityPoolSpendProposalWithDeposit = { + encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.recipient !== "") { + writer.uint32(26).string(message.recipient); + } + + if (message.amount !== "") { + writer.uint32(34).string(message.amount); + } + + if (message.deposit !== "") { + writer.uint32(42).string(message.deposit); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommunityPoolSpendProposalWithDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.recipient = reader.string(); + break; + + case 4: + message.amount = reader.string(); + break; + + case 5: + message.deposit = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommunityPoolSpendProposalWithDeposit { + const message = createBaseCommunityPoolSpendProposalWithDeposit(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.recipient = object.recipient ?? ""; + message.amount = object.amount ?? ""; + message.deposit = object.deposit ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts new file mode 100644 index 000000000..9fef91a17 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/genesis.ts @@ -0,0 +1,800 @@ +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; +import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution"; +import * as _m0 from "protobufjs/minimal"; +import { Long } 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 + * 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; +} +/** + * 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 is the address of the delegator. */ + delegator_address: string; + /** withdraw_address is the address to withdraw the delegation rewards to. */ + + 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[]; +} +/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ + +export interface ValidatorOutstandingRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** outstanding_rewards represents the oustanding rewards of a validator. */ + + 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 | undefined; +} +/** + * ValidatorAccumulatedCommissionRecord is used for import / export via genesis + * json. + */ + +export interface ValidatorAccumulatedCommissionRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** accumulated is the accumulated commission of a validator. */ + + accumulated?: ValidatorAccumulatedCommissionSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * ValidatorHistoricalRewardsRecord is used for import / export via genesis + * json. + */ + +export interface ValidatorHistoricalRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** period defines the period the historical rewards apply to. */ + + period: Long; + /** rewards defines the historical rewards of a validator. */ + + rewards?: ValidatorHistoricalRewardsSDKType | undefined; +} +/** 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 | undefined; +} +/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ + +export interface ValidatorCurrentRewardsRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: string; + /** rewards defines the current rewards of a validator. */ + + rewards?: ValidatorCurrentRewardsSDKType | undefined; +} +/** 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 | undefined; +} +/** DelegatorStartingInfoRecord used for import / export via genesis json. */ + +export interface DelegatorStartingInfoRecordSDKType { + /** 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?: DelegatorStartingInfoSDKType | undefined; +} +/** 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 | undefined; +} +/** ValidatorSlashEventRecord is used for import / export via genesis json. */ + +export interface ValidatorSlashEventRecordSDKType { + /** validator_address is the address of the validator. */ + validator_address: 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. */ + + validator_slash_event?: ValidatorSlashEventSDKType | undefined; +} +/** GenesisState defines the distribution module's genesis state. */ + +export interface GenesisState { + /** params defines all the paramaters of the module. */ + params?: Params | undefined; + /** fee_pool defines the fee pool at genesis. */ + + feePool?: FeePool | undefined; + /** 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[]; +} +/** GenesisState defines the distribution module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of the module. */ + params?: ParamsSDKType | undefined; + /** fee_pool defines the fee pool at genesis. */ + + fee_pool?: FeePoolSDKType | undefined; + /** fee_pool defines the delegator withdraw infos at genesis. */ + + delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; + /** fee_pool defines the previous proposer at genesis. */ + + previous_proposer: string; + /** fee_pool defines the outstanding rewards of all validators at genesis. */ + + outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; + /** fee_pool defines the accumulated commisions of all validators at genesis. */ + + validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; + /** fee_pool defines the historical rewards of all validators at genesis. */ + + validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; + /** fee_pool defines the current rewards of all validators at genesis. */ + + validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; + /** fee_pool defines the delegator starting infos at genesis. */ + + delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; + /** fee_pool defines the validator slash events at genesis. */ + + validator_slash_events: ValidatorSlashEventRecordSDKType[]; +} + +function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const DelegatorWithdrawInfo = { + encode(message: DelegatorWithdrawInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorWithdrawInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelegatorWithdrawInfo { + const message = createBaseDelegatorWithdrawInfo(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseValidatorOutstandingRewardsRecord(): ValidatorOutstandingRewardsRecord { + return { + validatorAddress: "", + outstandingRewards: [] + }; +} + +export const ValidatorOutstandingRewardsRecord = { + encode(message: ValidatorOutstandingRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + for (const v of message.outstandingRewards) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorOutstandingRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorOutstandingRewardsRecord { + const message = createBaseValidatorOutstandingRewardsRecord(); + message.validatorAddress = object.validatorAddress ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { + return { + validatorAddress: "", + accumulated: undefined + }; +} + +export const ValidatorAccumulatedCommissionRecord = { + encode(message: ValidatorAccumulatedCommissionRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.accumulated !== undefined) { + ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorAccumulatedCommissionRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorAccumulatedCommissionRecord { + const message = createBaseValidatorAccumulatedCommissionRecord(); + message.validatorAddress = object.validatorAddress ?? ""; + message.accumulated = object.accumulated !== undefined && object.accumulated !== null ? ValidatorAccumulatedCommission.fromPartial(object.accumulated) : undefined; + return message; + } + +}; + +function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalRewardsRecord { + return { + validatorAddress: "", + period: Long.UZERO, + rewards: undefined + }; +} + +export const ValidatorHistoricalRewardsRecord = { + encode(message: ValidatorHistoricalRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.period.isZero()) { + writer.uint32(16).uint64(message.period); + } + + if (message.rewards !== undefined) { + ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorHistoricalRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.period = (reader.uint64() as Long); + break; + + case 3: + message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorHistoricalRewardsRecord { + const message = createBaseValidatorHistoricalRewardsRecord(); + message.validatorAddress = object.validatorAddress ?? ""; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorHistoricalRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { + return { + validatorAddress: "", + rewards: undefined + }; +} + +export const ValidatorCurrentRewardsRecord = { + encode(message: ValidatorCurrentRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (message.rewards !== undefined) { + ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorCurrentRewardsRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorCurrentRewardsRecord { + const message = createBaseValidatorCurrentRewardsRecord(); + message.validatorAddress = object.validatorAddress ?? ""; + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorCurrentRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { + return { + delegatorAddress: "", + validatorAddress: "", + startingInfo: undefined + }; +} + +export const DelegatorStartingInfoRecord = { + encode(message: DelegatorStartingInfoRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.startingInfo !== undefined) { + DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegatorStartingInfoRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelegatorStartingInfoRecord { + const message = createBaseDelegatorStartingInfoRecord(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.startingInfo = object.startingInfo !== undefined && object.startingInfo !== null ? DelegatorStartingInfo.fromPartial(object.startingInfo) : undefined; + return message; + } + +}; + +function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { + return { + validatorAddress: "", + height: Long.UZERO, + period: Long.UZERO, + validatorSlashEvent: undefined + }; +} + +export const ValidatorSlashEventRecord = { + encode(message: ValidatorSlashEventRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.height.isZero()) { + writer.uint32(16).uint64(message.height); + } + + if (!message.period.isZero()) { + writer.uint32(24).uint64(message.period); + } + + if (message.validatorSlashEvent !== undefined) { + ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSlashEventRecord(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.height = (reader.uint64() as Long); + break; + + case 3: + message.period = (reader.uint64() as Long); + break; + + case 4: + message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorSlashEventRecord { + const message = createBaseValidatorSlashEventRecord(); + message.validatorAddress = object.validatorAddress ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + message.period = object.period !== undefined && object.period !== null ? Long.fromValue(object.period) : Long.UZERO; + message.validatorSlashEvent = object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null ? ValidatorSlashEvent.fromPartial(object.validatorSlashEvent) : undefined; + return message; + } + +}; + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + feePool: undefined, + delegatorWithdrawInfos: [], + previousProposer: "", + outstandingRewards: [], + validatorAccumulatedCommissions: [], + validatorHistoricalRewards: [], + validatorCurrentRewards: [], + delegatorStartingInfos: [], + validatorSlashEvents: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.feePool !== undefined) { + FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatorWithdrawInfos) { + DelegatorWithdrawInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.previousProposer !== "") { + writer.uint32(34).string(message.previousProposer); + } + + for (const v of message.outstandingRewards) { + ValidatorOutstandingRewardsRecord.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.validatorAccumulatedCommissions) { + ValidatorAccumulatedCommissionRecord.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.validatorHistoricalRewards) { + ValidatorHistoricalRewardsRecord.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.validatorCurrentRewards) { + ValidatorCurrentRewardsRecord.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.delegatorStartingInfos) { + DelegatorStartingInfoRecord.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.validatorSlashEvents) { + ValidatorSlashEventRecord.encode(v!, writer.uint32(82).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.feePool = FeePool.decode(reader, reader.uint32()); + break; + + case 3: + message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32())); + break; + + case 4: + message.previousProposer = reader.string(); + break; + + case 5: + message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32())); + break; + + case 7: + message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32())); + break; + + case 8: + message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32())); + break; + + case 9: + message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32())); + break; + + case 10: + message.validatorSlashEvents.push(ValidatorSlashEventRecord.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.feePool = object.feePool !== undefined && object.feePool !== null ? FeePool.fromPartial(object.feePool) : undefined; + message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map(e => DelegatorWithdrawInfo.fromPartial(e)) || []; + message.previousProposer = object.previousProposer ?? ""; + message.outstandingRewards = object.outstandingRewards?.map(e => ValidatorOutstandingRewardsRecord.fromPartial(e)) || []; + message.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions?.map(e => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || []; + message.validatorHistoricalRewards = object.validatorHistoricalRewards?.map(e => ValidatorHistoricalRewardsRecord.fromPartial(e)) || []; + message.validatorCurrentRewards = object.validatorCurrentRewards?.map(e => ValidatorCurrentRewardsRecord.fromPartial(e)) || []; + message.delegatorStartingInfos = object.delegatorStartingInfos?.map(e => DelegatorStartingInfoRecord.fromPartial(e)) || []; + message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEventRecord.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts new file mode 100644 index 000000000..5c1f644e5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.lcd.ts @@ -0,0 +1,104 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); + } + /* Params queries params of the distribution module. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/params`; + return await this.req.get(endpoint); + } + /* ValidatorOutstandingRewards queries rewards of a validator address. */ + + + async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; + return await this.req.get(endpoint); + } + /* ValidatorCommission queries accumulated commission for a validator. */ + + + async validatorCommission(params: QueryValidatorCommissionRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; + return await this.req.get(endpoint); + } + /* ValidatorSlashes queries slash events of a validator. */ + + + async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.startingHeight !== "undefined") { + options.params.starting_height = params.startingHeight; + } + + if (typeof params?.endingHeight !== "undefined") { + options.params.ending_height = params.endingHeight; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; + return await this.req.get(endpoint, options); + } + /* DelegationRewards queries the total rewards accrued by a delegation. */ + + + async delegationRewards(params: QueryDelegationRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}rewards/${params.validatorAddress}`; + return await this.req.get(endpoint); + } + /* DelegationTotalRewards queries the total rewards accrued by a each + validator. */ + + + async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; + return await this.req.get(endpoint); + } + /* DelegatorValidators queries the validators of a delegator. */ + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; + return await this.req.get(endpoint); + } + /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ + + + async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { + const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; + return await this.req.get(endpoint); + } + /* CommunityPool queries the community pool coins. */ + + + async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { + const endpoint = `cosmos/distribution/v1beta1/community_pool`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..539882a1f --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts @@ -0,0 +1,150 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); + this.validatorCommission = this.validatorCommission.bind(this); + this.validatorSlashes = this.validatorSlashes.bind(this); + this.delegationRewards = this.delegationRewards.bind(this); + this.delegationTotalRewards = this.delegationTotalRewards.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); + this.communityPool = this.communityPool.bind(this); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + const data = QueryValidatorOutstandingRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorOutstandingRewards", data); + return promise.then(data => QueryValidatorOutstandingRewardsResponse.decode(new _m0.Reader(data))); + } + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + const data = QueryValidatorCommissionRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorCommission", data); + return promise.then(data => QueryValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + const data = QueryValidatorSlashesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "ValidatorSlashes", data); + return promise.then(data => QueryValidatorSlashesResponse.decode(new _m0.Reader(data))); + } + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + const data = QueryDelegationRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationRewards", data); + return promise.then(data => QueryDelegationRewardsResponse.decode(new _m0.Reader(data))); + } + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + const data = QueryDelegationTotalRewardsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegationTotalRewards", data); + return promise.then(data => QueryDelegationTotalRewardsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + const data = QueryDelegatorWithdrawAddressRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "DelegatorWithdrawAddress", data); + return promise.then(data => QueryDelegatorWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + communityPool(request: QueryCommunityPoolRequest = {}): Promise { + const data = QueryCommunityPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Query", "CommunityPool", data); + return promise.then(data => QueryCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise { + return queryService.validatorOutstandingRewards(request); + }, + + validatorCommission(request: QueryValidatorCommissionRequest): Promise { + return queryService.validatorCommission(request); + }, + + validatorSlashes(request: QueryValidatorSlashesRequest): Promise { + return queryService.validatorSlashes(request); + }, + + delegationRewards(request: QueryDelegationRewardsRequest): Promise { + return queryService.delegationRewards(request); + }, + + delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise { + return queryService.delegationTotalRewards(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise { + return queryService.delegatorWithdrawAddress(request); + }, + + communityPool(request?: QueryCommunityPoolRequest): Promise { + return queryService.communityPool(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts new file mode 100644 index 000000000..03ff9aacf --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/query.ts @@ -0,0 +1,1187 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; +import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params?: ParamsSDKType | undefined; +} +/** + * 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; +} +/** + * QueryValidatorOutstandingRewardsRequest is the request type for the + * Query/ValidatorOutstandingRewards RPC method. + */ + +export interface QueryValidatorOutstandingRewardsRequestSDKType { + /** validator_address defines the validator address to query for. */ + validator_address: string; +} +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ + +export interface QueryValidatorOutstandingRewardsResponse { + rewards?: ValidatorOutstandingRewards | undefined; +} +/** + * QueryValidatorOutstandingRewardsResponse is the response type for the + * Query/ValidatorOutstandingRewards RPC method. + */ + +export interface QueryValidatorOutstandingRewardsResponseSDKType { + rewards?: ValidatorOutstandingRewardsSDKType | undefined; +} +/** + * 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; +} +/** + * QueryValidatorCommissionRequest is the request type for the + * Query/ValidatorCommission RPC method + */ + +export interface QueryValidatorCommissionRequestSDKType { + /** validator_address defines the validator address to query for. */ + 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 | undefined; +} +/** + * QueryValidatorCommissionResponse is the response type for the + * Query/ValidatorCommission RPC method + */ + +export interface QueryValidatorCommissionResponseSDKType { + /** commission defines the commision the validator received. */ + commission?: ValidatorAccumulatedCommissionSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryValidatorSlashesRequest is the request type for the + * Query/ValidatorSlashes RPC method + */ + +export interface QueryValidatorSlashesRequestSDKType { + /** 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: Long; + /** starting_height defines the optional ending height to query the slashes. */ + + ending_height: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryValidatorSlashesResponse is the response type for the + * Query/ValidatorSlashes RPC method. + */ + +export interface QueryValidatorSlashesResponseSDKType { + /** slashes defines the slashes the validator received. */ + slashes: ValidatorSlashEventSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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; +} +/** + * QueryDelegationRewardsRequest is the request type for the + * Query/DelegationRewards RPC method. + */ + +export interface QueryDelegationRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + delegator_address: string; + /** validator_address defines the validator address to query for. */ + + 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[]; +} +/** + * QueryDelegationRewardsResponse is the response type for the + * Query/DelegationRewards RPC method. + */ + +export interface QueryDelegationRewardsResponseSDKType { + /** rewards defines the rewards accrued by a delegation. */ + 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; +} +/** + * QueryDelegationTotalRewardsRequest is the request type for the + * Query/DelegationTotalRewards RPC method. + */ + +export interface QueryDelegationTotalRewardsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; +} +/** + * QueryDelegationTotalRewardsResponse is the response type for the + * Query/DelegationTotalRewards RPC method. + */ + +export interface QueryDelegationTotalRewardsResponseSDKType { + /** rewards defines all the rewards accrued by a delegator. */ + rewards: DelegationDelegatorRewardSDKType[]; + /** total defines the sum of all the rewards. */ + + 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; +} +/** + * QueryDelegatorValidatorsRequest is the request type for the + * Query/DelegatorValidators RPC method. + */ + +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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[]; +} +/** + * QueryDelegatorValidatorsResponse is the response type for the + * Query/DelegatorValidators RPC method. + */ + +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the validators a delegator is delegating for. */ + 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; +} +/** + * QueryDelegatorWithdrawAddressRequest is the request type for the + * Query/DelegatorWithdrawAddress RPC method. + */ + +export interface QueryDelegatorWithdrawAddressRequestSDKType { + /** delegator_address defines the delegator address to query for. */ + 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; +} +/** + * QueryDelegatorWithdrawAddressResponse is the response type for the + * Query/DelegatorWithdrawAddress RPC method. + */ + +export interface QueryDelegatorWithdrawAddressResponseSDKType { + /** withdraw_address defines the delegator address to query for. */ + withdraw_address: string; +} +/** + * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC + * method. + */ + +export interface QueryCommunityPoolRequest {} +/** + * 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[]; +} +/** + * QueryCommunityPoolResponse is the response type for the Query/CommunityPool + * RPC method. + */ + +export interface QueryCommunityPoolResponseSDKType { + /** pool defines community pool's coins. */ + pool: DecCoinSDKType[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsRequest(): QueryValidatorOutstandingRewardsRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorOutstandingRewardsRequest = { + encode(message: QueryValidatorOutstandingRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorOutstandingRewardsRequest { + const message = createBaseQueryValidatorOutstandingRewardsRequest(); + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { + return { + rewards: undefined + }; +} + +export const QueryValidatorOutstandingRewardsResponse = { + encode(message: QueryValidatorOutstandingRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rewards !== undefined) { + ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorOutstandingRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorOutstandingRewardsResponse { + const message = createBaseQueryValidatorOutstandingRewardsResponse(); + message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorCommissionRequest(): QueryValidatorCommissionRequest { + return { + validatorAddress: "" + }; +} + +export const QueryValidatorCommissionRequest = { + encode(message: QueryValidatorCommissionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorCommissionRequest { + const message = createBaseQueryValidatorCommissionRequest(); + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { + return { + commission: undefined + }; +} + +export const QueryValidatorCommissionResponse = { + encode(message: QueryValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commission !== undefined) { + ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorCommissionResponse { + const message = createBaseQueryValidatorCommissionResponse(); + message.commission = object.commission !== undefined && object.commission !== null ? ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest { + return { + validatorAddress: "", + startingHeight: Long.UZERO, + endingHeight: Long.UZERO, + pagination: undefined + }; +} + +export const QueryValidatorSlashesRequest = { + encode(message: QueryValidatorSlashesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + if (!message.startingHeight.isZero()) { + writer.uint32(16).uint64(message.startingHeight); + } + + if (!message.endingHeight.isZero()) { + writer.uint32(24).uint64(message.endingHeight); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + case 2: + message.startingHeight = (reader.uint64() as Long); + break; + + case 3: + message.endingHeight = (reader.uint64() as Long); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorSlashesRequest { + const message = createBaseQueryValidatorSlashesRequest(); + message.validatorAddress = object.validatorAddress ?? ""; + message.startingHeight = object.startingHeight !== undefined && object.startingHeight !== null ? Long.fromValue(object.startingHeight) : Long.UZERO; + message.endingHeight = object.endingHeight !== undefined && object.endingHeight !== null ? Long.fromValue(object.endingHeight) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { + return { + slashes: [], + pagination: undefined + }; +} + +export const QueryValidatorSlashesResponse = { + encode(message: QueryValidatorSlashesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.slashes) { + ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorSlashesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.slashes.push(ValidatorSlashEvent.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorSlashesResponse { + const message = createBaseQueryValidatorSlashesResponse(); + message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRewardsRequest(): QueryDelegationRewardsRequest { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const QueryDelegationRewardsRequest = { + encode(message: QueryDelegationRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationRewardsRequest { + const message = createBaseQueryDelegationRewardsRequest(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationRewardsResponse(): QueryDelegationRewardsResponse { + return { + rewards: [] + }; +} + +export const QueryDelegationRewardsResponse = { + encode(message: QueryDelegationRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationRewardsResponse { + const message = createBaseQueryDelegationRewardsResponse(); + message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsRequest(): QueryDelegationTotalRewardsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegationTotalRewardsRequest = { + encode(message: QueryDelegationTotalRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationTotalRewardsRequest { + const message = createBaseQueryDelegationTotalRewardsRequest(); + message.delegatorAddress = object.delegatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationTotalRewardsResponse(): QueryDelegationTotalRewardsResponse { + return { + rewards: [], + total: [] + }; +} + +export const QueryDelegationTotalRewardsResponse = { + encode(message: QueryDelegationTotalRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rewards) { + DelegationDelegatorReward.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.total) { + DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationTotalRewardsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32())); + break; + + case 2: + message.total.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationTotalRewardsResponse { + const message = createBaseQueryDelegationTotalRewardsResponse(); + message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromPartial(e)) || []; + message.total = object.total?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorsRequest { + const message = createBaseQueryDelegatorValidatorsRequest(); + message.delegatorAddress = object.delegatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [] + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorsResponse { + const message = createBaseQueryDelegatorValidatorsResponse(); + message.validators = object.validators?.map(e => e) || []; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressRequest(): QueryDelegatorWithdrawAddressRequest { + return { + delegatorAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressRequest = { + encode(message: QueryDelegatorWithdrawAddressRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorWithdrawAddressRequest { + const message = createBaseQueryDelegatorWithdrawAddressRequest(); + message.delegatorAddress = object.delegatorAddress ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorWithdrawAddressResponse(): QueryDelegatorWithdrawAddressResponse { + return { + withdrawAddress: "" + }; +} + +export const QueryDelegatorWithdrawAddressResponse = { + encode(message: QueryDelegatorWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.withdrawAddress !== "") { + writer.uint32(10).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorWithdrawAddressResponse { + const message = createBaseQueryDelegatorWithdrawAddressResponse(); + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseQueryCommunityPoolRequest(): QueryCommunityPoolRequest { + return {}; +} + +export const QueryCommunityPoolRequest = { + encode(_: QueryCommunityPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryCommunityPoolRequest { + const message = createBaseQueryCommunityPoolRequest(); + return message; + } + +}; + +function createBaseQueryCommunityPoolResponse(): QueryCommunityPoolResponse { + return { + pool: [] + }; +} + +export const QueryCommunityPoolResponse = { + encode(message: QueryCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pool) { + DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool.push(DecCoin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryCommunityPoolResponse { + const message = createBaseQueryCommunityPoolResponse(); + message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b3a60ed6d --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.amino.ts @@ -0,0 +1,120 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; +export interface AminoMsgSetWithdrawAddress extends AminoMsg { + type: "cosmos-sdk/MsgModifyWithdrawAddress"; + value: { + delegator_address: string; + withdraw_address: string; + }; +} +export interface AminoMsgWithdrawDelegatorReward extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawDelegationReward"; + value: { + delegator_address: string; + validator_address: string; + }; +} +export interface AminoMsgWithdrawValidatorCommission extends AminoMsg { + type: "cosmos-sdk/MsgWithdrawValidatorCommission"; + value: { + validator_address: string; + }; +} +export interface AminoMsgFundCommunityPool extends AminoMsg { + type: "cosmos-sdk/MsgFundCommunityPool"; + value: { + amount: { + denom: string; + amount: string; + }[]; + depositor: string; + }; +} +export const AminoConverter = { + "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { + aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", + toAmino: ({ + delegatorAddress, + withdrawAddress + }: MsgSetWithdrawAddress): AminoMsgSetWithdrawAddress["value"] => { + return { + delegator_address: delegatorAddress, + withdraw_address: withdrawAddress + }; + }, + fromAmino: ({ + delegator_address, + withdraw_address + }: AminoMsgSetWithdrawAddress["value"]): MsgSetWithdrawAddress => { + return { + delegatorAddress: delegator_address, + withdrawAddress: withdraw_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { + aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", + toAmino: ({ + delegatorAddress, + validatorAddress + }: MsgWithdrawDelegatorReward): AminoMsgWithdrawDelegatorReward["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress + }; + }, + fromAmino: ({ + delegator_address, + validator_address + }: AminoMsgWithdrawDelegatorReward["value"]): MsgWithdrawDelegatorReward => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { + aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", + toAmino: ({ + validatorAddress + }: MsgWithdrawValidatorCommission): AminoMsgWithdrawValidatorCommission["value"] => { + return { + validator_address: validatorAddress + }; + }, + fromAmino: ({ + validator_address + }: AminoMsgWithdrawValidatorCommission["value"]): MsgWithdrawValidatorCommission => { + return { + validatorAddress: validator_address + }; + } + }, + "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { + aminoType: "cosmos-sdk/MsgFundCommunityPool", + toAmino: ({ + amount, + depositor + }: MsgFundCommunityPool): AminoMsgFundCommunityPool["value"] => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + }, + fromAmino: ({ + amount, + depositor + }: AminoMsgFundCommunityPool["value"]): MsgFundCommunityPool => { + return { + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + depositor + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts new file mode 100644 index 000000000..52aa99f7a --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.encode(value).finish() + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.encode(value).finish() + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.encode(value).finish() + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.encode(value).finish() + }; + } + + }, + withTypeUrl: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value + }; + } + + }, + fromPartial: { + setWithdrawAddress(value: MsgSetWithdrawAddress) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", + value: MsgSetWithdrawAddress.fromPartial(value) + }; + }, + + withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", + value: MsgWithdrawDelegatorReward.fromPartial(value) + }; + }, + + withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", + value: MsgWithdrawValidatorCommission.fromPartial(value) + }; + }, + + fundCommunityPool(value: MsgFundCommunityPool) { + return { + typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", + value: MsgFundCommunityPool.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..64e7e1905 --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,66 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.setWithdrawAddress = this.setWithdrawAddress.bind(this); + this.withdrawDelegatorReward = this.withdrawDelegatorReward.bind(this); + this.withdrawValidatorCommission = this.withdrawValidatorCommission.bind(this); + this.fundCommunityPool = this.fundCommunityPool.bind(this); + } + + setWithdrawAddress(request: MsgSetWithdrawAddress): Promise { + const data = MsgSetWithdrawAddress.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "SetWithdrawAddress", data); + return promise.then(data => MsgSetWithdrawAddressResponse.decode(new _m0.Reader(data))); + } + + withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise { + const data = MsgWithdrawDelegatorReward.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawDelegatorReward", data); + return promise.then(data => MsgWithdrawDelegatorRewardResponse.decode(new _m0.Reader(data))); + } + + withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise { + const data = MsgWithdrawValidatorCommission.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "WithdrawValidatorCommission", data); + return promise.then(data => MsgWithdrawValidatorCommissionResponse.decode(new _m0.Reader(data))); + } + + fundCommunityPool(request: MsgFundCommunityPool): Promise { + const data = MsgFundCommunityPool.encode(request).finish(); + const promise = this.rpc.request("cosmos.distribution.v1beta1.Msg", "FundCommunityPool", data); + return promise.then(data => MsgFundCommunityPoolResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts new file mode 100644 index 000000000..e4d3b018f --- /dev/null +++ b/examples/telescope/codegen/cosmos/distribution/v1beta1/tx.ts @@ -0,0 +1,472 @@ +import { Coin, 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; +} +/** + * 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 {} +/** 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; +} +/** + * 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 { + amount: Coin[]; +} +/** 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; +} +/** + * 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 { + amount: Coin[]; +} +/** 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; +} +/** + * 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 {} +/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ + +export interface MsgFundCommunityPoolResponseSDKType {} + +function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { + return { + delegatorAddress: "", + withdrawAddress: "" + }; +} + +export const MsgSetWithdrawAddress = { + encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.withdrawAddress !== "") { + writer.uint32(18).string(message.withdrawAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddress(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.withdrawAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSetWithdrawAddress { + const message = createBaseMsgSetWithdrawAddress(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.withdrawAddress = object.withdrawAddress ?? ""; + return message; + } + +}; + +function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse { + return {}; +} + +export const MsgSetWithdrawAddressResponse = { + encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSetWithdrawAddressResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgSetWithdrawAddressResponse { + const message = createBaseMsgSetWithdrawAddressResponse(); + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const MsgWithdrawDelegatorReward = { + encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgWithdrawDelegatorReward { + const message = createBaseMsgWithdrawDelegatorReward(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawDelegatorRewardResponse = { + encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawDelegatorRewardResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgWithdrawDelegatorRewardResponse { + const message = createBaseMsgWithdrawDelegatorRewardResponse(); + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission { + return { + validatorAddress: "" + }; +} + +export const MsgWithdrawValidatorCommission = { + encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddress !== "") { + writer.uint32(10).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgWithdrawValidatorCommission { + const message = createBaseMsgWithdrawValidatorCommission(); + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse { + return { + amount: [] + }; +} + +export const MsgWithdrawValidatorCommissionResponse = { + encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawValidatorCommissionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgWithdrawValidatorCommissionResponse { + const message = createBaseMsgWithdrawValidatorCommissionResponse(); + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgFundCommunityPool(): MsgFundCommunityPool { + return { + amount: [], + depositor: "" + }; +} + +export const MsgFundCommunityPool = { + encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgFundCommunityPool { + const message = createBaseMsgFundCommunityPool(); + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse { + return {}; +} + +export const MsgFundCommunityPoolResponse = { + encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgFundCommunityPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgFundCommunityPoolResponse { + const message = createBaseMsgFundCommunityPoolResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts new file mode 100644 index 000000000..2aef61084 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/evidence.ts @@ -0,0 +1,100 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp } from "../../../helpers"; +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ + +export interface Equivocation { + height: Long; + time?: Date | undefined; + power: Long; + consensusAddress: string; +} +/** + * Equivocation implements the Evidence interface and defines evidence of double + * signing misbehavior. + */ + +export interface EquivocationSDKType { + height: Long; + time?: Date | undefined; + power: Long; + consensus_address: string; +} + +function createBaseEquivocation(): Equivocation { + return { + height: Long.ZERO, + time: undefined, + power: Long.ZERO, + consensusAddress: "" + }; +} + +export const Equivocation = { + encode(message: Equivocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + if (message.consensusAddress !== "") { + writer.uint32(34).string(message.consensusAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.power = (reader.int64() as Long); + break; + + case 4: + message.consensusAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Equivocation { + const message = createBaseEquivocation(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + message.consensusAddress = object.consensusAddress ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts new file mode 100644 index 000000000..639c33dca --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/genesis.ts @@ -0,0 +1,59 @@ +import { Any, 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[]; +} +/** GenesisState defines the evidence module's genesis state. */ + +export interface GenesisStateSDKType { + /** evidence defines all the evidence at genesis. */ + evidence: AnySDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + evidence: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts new file mode 100644 index 000000000..ff67beab4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.lcd.ts @@ -0,0 +1,41 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..f55807bd8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts @@ -0,0 +1,51 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts new file mode 100644 index 000000000..11a303b08 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/query.ts @@ -0,0 +1,259 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Any, 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; +} +/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ + +export interface QueryEvidenceRequestSDKType { + /** evidence_hash defines the hash of the requested evidence. */ + evidence_hash: Uint8Array; +} +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ + +export interface QueryEvidenceResponse { + /** evidence returns the requested evidence. */ + evidence?: Any | undefined; +} +/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ + +export interface QueryEvidenceResponseSDKType { + /** evidence returns the requested evidence. */ + evidence?: AnySDKType | undefined; +} +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ + +export interface QueryAllEvidenceRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** + * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC + * method. + */ + +export interface QueryAllEvidenceRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC + * method. + */ + +export interface QueryAllEvidenceResponseSDKType { + /** evidence returns all evidences. */ + evidence: AnySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { + return { + evidenceHash: new Uint8Array() + }; +} + +export const QueryEvidenceRequest = { + encode(message: QueryEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidenceHash.length !== 0) { + writer.uint32(10).bytes(message.evidenceHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryEvidenceRequest { + const message = createBaseQueryEvidenceRequest(); + message.evidenceHash = object.evidenceHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { + return { + evidence: undefined + }; +} + +export const QueryEvidenceResponse = { + encode(message: QueryEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryEvidenceResponse { + const message = createBaseQueryEvidenceResponse(); + message.evidence = object.evidence !== undefined && object.evidence !== null ? Any.fromPartial(object.evidence) : undefined; + return message; + } + +}; + +function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { + return { + pagination: undefined + }; +} + +export const QueryAllEvidenceRequest = { + encode(message: QueryAllEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryAllEvidenceRequest { + const message = createBaseQueryAllEvidenceRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { + return { + evidence: [], + pagination: undefined + }; +} + +export const QueryAllEvidenceResponse = { + encode(message: QueryAllEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts new file mode 100644 index 000000000..033b9c6c1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.amino.ts @@ -0,0 +1,41 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSubmitEvidence } from "./tx"; +export interface AminoMsgSubmitEvidence extends AminoMsg { + type: "cosmos-sdk/MsgSubmitEvidence"; + value: { + submitter: string; + evidence: { + type_url: string; + value: Uint8Array; + }; + }; +} +export const AminoConverter = { + "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { + aminoType: "cosmos-sdk/MsgSubmitEvidence", + toAmino: ({ + submitter, + evidence + }: MsgSubmitEvidence): AminoMsgSubmitEvidence["value"] => { + return { + submitter, + evidence: { + type_url: evidence.typeUrl, + value: evidence.value + } + }; + }, + fromAmino: ({ + submitter, + evidence + }: AminoMsgSubmitEvidence["value"]): MsgSubmitEvidence => { + return { + submitter, + evidence: { + typeUrl: evidence.type_url, + value: evidence.value + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts new file mode 100644 index 000000000..327c02be8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + submitEvidence(value: MsgSubmitEvidence) { + return { + typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", + value: MsgSubmitEvidence.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..afd22359e --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,27 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts new file mode 100644 index 000000000..3f2c3de54 --- /dev/null +++ b/examples/telescope/codegen/cosmos/evidence/v1beta1/tx.ts @@ -0,0 +1,132 @@ +import { Any, 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; +} +/** + * 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; +} +/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ + +export interface MsgSubmitEvidenceResponseSDKType { + /** hash defines the hash of the evidence. */ + hash: Uint8Array; +} + +function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { + return { + submitter: "", + evidence: undefined + }; +} + +export const MsgSubmitEvidence = { + encode(message: MsgSubmitEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.submitter !== "") { + writer.uint32(10).string(message.submitter); + } + + if (message.evidence !== undefined) { + Any.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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 = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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; + } + +}; + +function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { + return { + hash: new Uint8Array() + }; +} + +export const MsgSubmitEvidenceResponse = { + encode(message: MsgSubmitEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(34).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): MsgSubmitEvidenceResponse { + const message = createBaseMsgSubmitEvidenceResponse(); + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts new file mode 100644 index 000000000..2028d9334 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/feegrant.ts @@ -0,0 +1,402 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ + +export interface BasicAllowance { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens 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?: Date | undefined; +} +/** + * BasicAllowance implements Allowance with a one-time grant of tokens + * that optionally expires. The grantee can use up to SpendLimit to cover fees. + */ + +export interface BasicAllowanceSDKType { + /** + * spend_limit specifies the maximum amount of tokens that can be spent + * by this allowance and will be updated as tokens are spent. If it is + * empty, there is no spend limit and any amount of coins can be spent. + */ + spend_limit: CoinSDKType[]; + /** expiration specifies an optional time when this allowance expires */ + + expiration?: Date | undefined; +} +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ + +export interface PeriodicAllowance { + /** basic specifies a struct of `BasicAllowance` */ + basic?: BasicAllowance | undefined; + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + + period?: Duration | undefined; + /** + * 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?: Date | undefined; +} +/** + * PeriodicAllowance extends Allowance to allow for both a maximum cap, + * as well as a limit per time period. + */ + +export interface PeriodicAllowanceSDKType { + /** basic specifies a struct of `BasicAllowance` */ + basic?: BasicAllowanceSDKType | undefined; + /** + * period specifies the time duration in which period_spend_limit coins can + * be spent before that allowance is reset + */ + + period?: DurationSDKType | undefined; + /** + * period_spend_limit specifies the maximum number of coins that can be spent + * in the period + */ + + period_spend_limit: CoinSDKType[]; + /** period_can_spend is the number of coins left to be spent before the period_reset time */ + + period_can_spend: CoinSDKType[]; + /** + * 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?: Date | undefined; +} +/** AllowedMsgAllowance creates allowance only for specified message types. */ + +export interface AllowedMsgAllowance { + /** allowance can be any of basic and periodic fee allowance. */ + allowance?: Any | undefined; + /** allowed_messages are the messages for which the grantee has the access. */ + + allowedMessages: string[]; +} +/** AllowedMsgAllowance creates allowance only for specified message types. */ + +export interface AllowedMsgAllowanceSDKType { + /** allowance can be any of basic and periodic fee allowance. */ + allowance?: AnySDKType | undefined; + /** allowed_messages are the messages for which the grantee has the access. */ + + 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?: Any | undefined; +} +/** Grant is stored in the KVStore to record a grant with full context */ + +export interface GrantSDKType { + /** 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?: AnySDKType | undefined; +} + +function createBaseBasicAllowance(): BasicAllowance { + return { + spendLimit: [], + expiration: undefined + }; +} + +export const BasicAllowance = { + encode(message: BasicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.spendLimit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.expiration !== undefined) { + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBasicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.spendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BasicAllowance { + const message = createBaseBasicAllowance(); + message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; + message.expiration = object.expiration ?? undefined; + return message; + } + +}; + +function createBasePeriodicAllowance(): PeriodicAllowance { + return { + basic: undefined, + period: undefined, + periodSpendLimit: [], + periodCanSpend: [], + periodReset: undefined + }; +} + +export const PeriodicAllowance = { + encode(message: PeriodicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.basic !== undefined) { + BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim(); + } + + if (message.period !== undefined) { + Duration.encode(message.period, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.periodSpendLimit) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.periodCanSpend) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.periodReset !== undefined) { + Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.basic = BasicAllowance.decode(reader, reader.uint32()); + break; + + case 2: + message.period = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.periodSpendLimit.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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; + return message; + } + +}; + +function createBaseAllowedMsgAllowance(): AllowedMsgAllowance { + return { + allowance: undefined, + allowedMessages: [] + }; +} + +export const AllowedMsgAllowance = { + encode(message: AllowedMsgAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.allowedMessages) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAllowedMsgAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.allowedMessages.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AllowedMsgAllowance { + const message = createBaseAllowedMsgAllowance(); + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + message.allowedMessages = object.allowedMessages?.map(e => e) || []; + return message; + } + +}; + +function createBaseGrant(): Grant { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const Grant = { + encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Grant { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGrant(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Grant { + const message = createBaseGrant(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts new file mode 100644 index 000000000..cdb858fcc --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/genesis.ts @@ -0,0 +1,57 @@ +import { Grant, 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[]; +} +/** GenesisState contains a set of fee allowances, persisted from the store */ + +export interface GenesisStateSDKType { + allowances: GrantSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + allowances: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowances.push(Grant.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts new file mode 100644 index 000000000..c486edb7b --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.lcd.ts @@ -0,0 +1,56 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); + } + /* Allowance returns fee granted to the grantee by the granter. */ + + + async allowance(params: QueryAllowanceRequest): Promise { + const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; + return await this.req.get(endpoint); + } + /* Allowances returns all the grants for address. */ + + + async allowances(params: QueryAllowancesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; + return await this.req.get(endpoint, options); + } + /* AllowancesByGranter returns all the grants given by an address + Since v0.46 */ + + + async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..a23808dcb --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts @@ -0,0 +1,66 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 v0.46 + */ + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.allowance = this.allowance.bind(this); + this.allowances = this.allowances.bind(this); + this.allowancesByGranter = this.allowancesByGranter.bind(this); + } + + allowance(request: QueryAllowanceRequest): Promise { + const data = QueryAllowanceRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowance", data); + return promise.then(data => QueryAllowanceResponse.decode(new _m0.Reader(data))); + } + + allowances(request: QueryAllowancesRequest): Promise { + const data = QueryAllowancesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data); + return promise.then(data => QueryAllowancesResponse.decode(new _m0.Reader(data))); + } + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + const data = QueryAllowancesByGranterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data); + return promise.then(data => QueryAllowancesByGranterResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + allowance(request: QueryAllowanceRequest): Promise { + return queryService.allowance(request); + }, + + allowances(request: QueryAllowancesRequest): Promise { + return queryService.allowances(request); + }, + + allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise { + return queryService.allowancesByGranter(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts new file mode 100644 index 000000000..5d4f30446 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/query.ts @@ -0,0 +1,421 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Grant, 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; +} +/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ + +export interface QueryAllowanceRequestSDKType { + /** 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; +} +/** 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 | undefined; +} +/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ + +export interface QueryAllowanceResponseSDKType { + /** allowance is a allowance granted for grantee by granter. */ + allowance?: GrantSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ + +export interface QueryAllowancesRequestSDKType { + grantee: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ + +export interface QueryAllowancesResponseSDKType { + /** allowances are allowance's granted for grantee by granter. */ + allowances: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterRequest { + granter: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequest | undefined; +} +/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterRequestSDKType { + granter: string; + /** pagination defines an pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterResponse { + /** allowances that have been issued by the granter. */ + allowances: Grant[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponse | undefined; +} +/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ + +export interface QueryAllowancesByGranterResponseSDKType { + /** allowances that have been issued by the granter. */ + allowances: GrantSDKType[]; + /** pagination defines an pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { + return { + granter: "", + grantee: "" + }; +} + +export const QueryAllowanceRequest = { + encode(message: QueryAllowanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowanceRequest { + const message = createBaseQueryAllowanceRequest(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { + return { + allowance: undefined + }; +} + +export const QueryAllowanceResponse = { + encode(message: QueryAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowance !== undefined) { + Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowance = Grant.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowanceResponse { + const message = createBaseQueryAllowanceResponse(); + message.allowance = object.allowance !== undefined && object.allowance !== null ? Grant.fromPartial(object.allowance) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { + return { + grantee: "", + pagination: undefined + }; +} + +export const QueryAllowancesRequest = { + encode(message: QueryAllowancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.grantee !== "") { + writer.uint32(10).string(message.grantee); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.grantee = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowancesRequest { + const message = createBaseQueryAllowancesRequest(); + message.grantee = object.grantee ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesResponse = { + encode(message: QueryAllowancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowancesResponse { + const message = createBaseQueryAllowancesResponse(); + message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { + return { + granter: "", + pagination: undefined + }; +} + +export const QueryAllowancesByGranterRequest = { + encode(message: QueryAllowancesByGranterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowancesByGranterRequest { + const message = createBaseQueryAllowancesByGranterRequest(); + message.granter = object.granter ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { + return { + allowances: [], + pagination: undefined + }; +} + +export const QueryAllowancesByGranterResponse = { + encode(message: QueryAllowancesByGranterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowances) { + Grant.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllowancesByGranterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.allowances.push(Grant.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllowancesByGranterResponse { + const message = createBaseQueryAllowancesByGranterResponse(); + message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts new file mode 100644 index 000000000..72aa6e5b1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.amino.ts @@ -0,0 +1,74 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; +export interface AminoMsgGrantAllowance extends AminoMsg { + type: "cosmos-sdk/MsgGrantAllowance"; + value: { + granter: string; + grantee: string; + allowance: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgRevokeAllowance extends AminoMsg { + type: "cosmos-sdk/MsgRevokeAllowance"; + value: { + granter: string; + grantee: string; + }; +} +export const AminoConverter = { + "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { + aminoType: "cosmos-sdk/MsgGrantAllowance", + toAmino: ({ + granter, + grantee, + allowance + }: MsgGrantAllowance): AminoMsgGrantAllowance["value"] => { + return { + granter, + grantee, + allowance: { + type_url: allowance.typeUrl, + value: allowance.value + } + }; + }, + fromAmino: ({ + granter, + grantee, + allowance + }: AminoMsgGrantAllowance["value"]): MsgGrantAllowance => { + return { + granter, + grantee, + allowance: { + typeUrl: allowance.type_url, + value: allowance.value + } + }; + } + }, + "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { + aminoType: "cosmos-sdk/MsgRevokeAllowance", + toAmino: ({ + granter, + grantee + }: MsgRevokeAllowance): AminoMsgRevokeAllowance["value"] => { + return { + granter, + grantee + }; + }, + fromAmino: ({ + granter, + grantee + }: AminoMsgRevokeAllowance["value"]): MsgRevokeAllowance => { + return { + granter, + grantee + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts new file mode 100644 index 000000000..71c8e6ec8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.encode(value).finish() + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.encode(value).finish() + }; + } + + }, + withTypeUrl: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value + }; + } + + }, + fromPartial: { + grantAllowance(value: MsgGrantAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + value: MsgGrantAllowance.fromPartial(value) + }; + }, + + revokeAllowance(value: MsgRevokeAllowance) { + return { + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", + value: MsgRevokeAllowance.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..1bc315e34 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,40 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.grantAllowance = this.grantAllowance.bind(this); + this.revokeAllowance = this.revokeAllowance.bind(this); + } + + grantAllowance(request: MsgGrantAllowance): Promise { + const data = MsgGrantAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "GrantAllowance", data); + return promise.then(data => MsgGrantAllowanceResponse.decode(new _m0.Reader(data))); + } + + revokeAllowance(request: MsgRevokeAllowance): Promise { + const data = MsgRevokeAllowance.encode(request).finish(); + const promise = this.rpc.request("cosmos.feegrant.v1beta1.Msg", "RevokeAllowance", data); + return promise.then(data => MsgRevokeAllowanceResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts new file mode 100644 index 000000000..8b88dee50 --- /dev/null +++ b/examples/telescope/codegen/cosmos/feegrant/v1beta1/tx.ts @@ -0,0 +1,250 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +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?: Any | undefined; +} +/** + * MsgGrantAllowance adds permission for Grantee to spend up to Allowance + * of fees from the account of Granter. + */ + +export interface MsgGrantAllowanceSDKType { + /** 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?: AnySDKType | undefined; +} +/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ + +export interface MsgGrantAllowanceResponse {} +/** 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; +} +/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ + +export interface MsgRevokeAllowanceSDKType { + /** 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; +} +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + +export interface MsgRevokeAllowanceResponse {} +/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ + +export interface MsgRevokeAllowanceResponseSDKType {} + +function createBaseMsgGrantAllowance(): MsgGrantAllowance { + return { + granter: "", + grantee: "", + allowance: undefined + }; +} + +export const MsgGrantAllowance = { + encode(message: MsgGrantAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + if (message.allowance !== undefined) { + Any.encode(message.allowance, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + case 3: + message.allowance = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgGrantAllowance { + const message = createBaseMsgGrantAllowance(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; + return message; + } + +}; + +function createBaseMsgGrantAllowanceResponse(): MsgGrantAllowanceResponse { + return {}; +} + +export const MsgGrantAllowanceResponse = { + encode(_: MsgGrantAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgGrantAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgGrantAllowanceResponse { + const message = createBaseMsgGrantAllowanceResponse(); + return message; + } + +}; + +function createBaseMsgRevokeAllowance(): MsgRevokeAllowance { + return { + granter: "", + grantee: "" + }; +} + +export const MsgRevokeAllowance = { + encode(message: MsgRevokeAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.granter !== "") { + writer.uint32(10).string(message.granter); + } + + if (message.grantee !== "") { + writer.uint32(18).string(message.grantee); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowance(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.granter = reader.string(); + break; + + case 2: + message.grantee = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgRevokeAllowance { + const message = createBaseMsgRevokeAllowance(); + message.granter = object.granter ?? ""; + message.grantee = object.grantee ?? ""; + return message; + } + +}; + +function createBaseMsgRevokeAllowanceResponse(): MsgRevokeAllowanceResponse { + return {}; +} + +export const MsgRevokeAllowanceResponse = { + encode(_: MsgRevokeAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRevokeAllowanceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgRevokeAllowanceResponse { + const message = createBaseMsgRevokeAllowanceResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts new file mode 100644 index 000000000..98e44e4e3 --- /dev/null +++ b/examples/telescope/codegen/cosmos/genutil/v1beta1/genesis.ts @@ -0,0 +1,58 @@ +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[]; +} +/** GenesisState defines the raw genesis transaction in JSON. */ + +export interface GenesisStateSDKType { + /** gen_txs defines the genesis transactions. */ + gen_txs: Uint8Array[]; +} + +function createBaseGenesisState(): GenesisState { + return { + genTxs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.genTxs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.genTxs = object.genTxs?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts new file mode 100644 index 000000000..000143893 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/genesis.ts @@ -0,0 +1,156 @@ +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** 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 | undefined; + /** params defines all the paramaters of related to voting. */ + + votingParams?: VotingParams | undefined; + /** params defines all the paramaters of related to tally. */ + + tallyParams?: TallyParams | undefined; +} +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params?: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params?: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params?: TallyParamsSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1/gov.ts new file mode 100644 index 000000000..5b213be53 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/gov.ts @@ -0,0 +1,985 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { Long, 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. */ + 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, +} +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + case VoteOption.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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, +} +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + case ProposalStatus.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** WeightedVoteOption defines a unit of vote for vote split. */ + +export interface WeightedVoteOption { + option: VoteOption; + weight: string; +} +/** WeightedVoteOption defines a unit of vote for vote split. */ + +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} +/** + * Deposit defines an amount deposited by an account address to an active + * proposal. + */ + +export interface Deposit { + proposalId: Long; + depositor: string; + amount: Coin[]; +} +/** + * 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 | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; + totalDeposit: Coin[]; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; + /** metadata is any arbitrary metadata attached to the proposal. */ + + metadata: string; +} +/** Proposal defines the core field members of a governance proposal. */ + +export interface ProposalSDKType { + id: Long; + messages: AnySDKType[]; + status: ProposalStatusSDKType; + /** + * 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?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; + /** metadata is any arbitrary metadata attached to the proposal. */ + + metadata: string; +} +/** TallyResult defines a standard tally for a governance proposal. */ + +export interface TallyResult { + yesCount: string; + abstainCount: string; + noCount: string; + noWithVetoCount: string; +} +/** 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; +} +/** + * 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 is any arbitrary metadata to attached to the vote. */ + + 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 | undefined; +} +/** DepositParams defines the params for deposits on governance proposals. */ + +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period?: DurationSDKType | undefined; +} +/** VotingParams defines the params for voting on governance proposals. */ + +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod?: Duration | undefined; +} +/** VotingParams defines the params for voting on governance proposals. */ + +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period?: DurationSDKType | undefined; +} +/** 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; +} +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): WeightedVoteOption { + const message = createBaseWeightedVoteOption(); + message.option = object.option ?? 0; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Deposit { + const message = createBaseDeposit(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + messages: [], + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined, + metadata: "" + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(82).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TallyResult { + const message = createBaseTallyResult(); + message.yesCount = object.yesCount ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(42).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 5: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: "", + threshold: "", + vetoThreshold: "" + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum !== "") { + writer.uint32(10).string(message.quorum); + } + + if (message.threshold !== "") { + writer.uint32(18).string(message.threshold); + } + + if (message.vetoThreshold !== "") { + writer.uint32(26).string(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.string(); + break; + + case 2: + message.threshold = reader.string(); + break; + + case 3: + message.vetoThreshold = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TallyParams { + const message = createBaseTallyParams(); + message.quorum = object.quorum ?? ""; + message.threshold = object.threshold ?? ""; + message.vetoThreshold = object.vetoThreshold ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts new file mode 100644 index 000000000..c70703b85 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.lcd.ts @@ -0,0 +1,115 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + /* Proposal queries proposal details based on ProposalID. */ + + + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; + return await this.req.get(endpoint); + } + /* Proposals queries all proposals based on given status. */ + + + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals`; + return await this.req.get(endpoint, options); + } + /* Vote queries voted information based on proposalID, voterAddr. */ + + + async vote(params: QueryVoteRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.req.get(endpoint); + } + /* Votes queries votes of a given proposal. */ + + + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; + return await this.req.get(endpoint, options); + } + /* Params queries all parameters of the gov module. */ + + + async params(params: QueryParamsRequest): Promise { + const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; + return await this.req.get(endpoint); + } + /* Deposit queries single deposit information based proposalID, depositAddr. */ + + + async deposit(params: QueryDepositRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.req.get(endpoint); + } + /* Deposits queries all deposits of a single proposal. */ + + + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; + return await this.req.get(endpoint, options); + } + /* TallyResult queries the tally of a proposal vote. */ + + + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.Query.ts new file mode 100644 index 000000000..35784235a --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.rpc.Query.ts @@ -0,0 +1,133 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/query.ts b/examples/telescope/codegen/cosmos/gov/v1/query.ts new file mode 100644 index 000000000..0aad3e944 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/query.ts @@ -0,0 +1,1114 @@ +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long } 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. */ + proposalId: Long; +} +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ + +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + +export interface QueryProposalResponse { + proposal?: Proposal | undefined; +} +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + +export interface QueryProposalResponseSDKType { + proposal?: ProposalSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 oter address for the proposals. */ + + voter: string; +} +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ + +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote?: Vote | undefined; +} +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote?: VoteSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; + /** deposit_params defines the parameters related to deposit. */ + + depositParams?: DepositParams | undefined; + /** tally_params defines the parameters related to tally. */ + + tallyParams?: TallyParams | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params?: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params?: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + + tally_params?: TallyParamsSDKType | undefined; +} +/** 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; +} +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ + +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit?: Deposit | undefined; +} +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit?: DepositSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ + +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally?: TallyResult | undefined; +} +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally?: TallyResultSDKType | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalResponse { + const message = createBaseQueryProposalResponse(); + message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsRequest { + const message = createBaseQueryProposalsRequest(); + message.proposalStatus = object.proposalStatus ?? 0; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsResponse { + const message = createBaseQueryProposalsResponse(); + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteRequest { + const message = createBaseQueryVoteRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteResponse { + const message = createBaseQueryVoteResponse(); + message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesRequest { + const message = createBaseQueryVotesRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesResponse { + const message = createBaseQueryVotesResponse(); + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + message.paramsType = object.paramsType ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositRequest { + const message = createBaseQueryDepositRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositResponse { + const message = createBaseQueryDepositResponse(); + message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositsRequest { + const message = createBaseQueryDepositsRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositsResponse { + const message = createBaseQueryDepositsResponse(); + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultResponse { + const message = createBaseQueryTallyResultResponse(); + message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts new file mode 100644 index 000000000..3b7ec125a --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.amino.ts @@ -0,0 +1,226 @@ +import { voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "../../../helpers"; +import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/v1/MsgSubmitProposal"; + value: { + messages: { + type_url: string; + value: Uint8Array; + }[]; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + metadata: string; + }; +} +export interface AminoMsgExecLegacyContent extends AminoMsg { + type: "cosmos-sdk/v1/MsgExecLegacyContent"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + authority: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/v1/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/v1/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + metadata: string; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/v1/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/v1/MsgSubmitProposal", + toAmino: ({ + messages, + initialDeposit, + proposer, + metadata + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + }, + fromAmino: ({ + messages, + initial_deposit, + proposer, + metadata + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer, + metadata + }; + } + }, + "/cosmos.gov.v1.MsgExecLegacyContent": { + aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", + toAmino: ({ + content, + authority + }: MsgExecLegacyContent): AminoMsgExecLegacyContent["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + authority + }; + }, + fromAmino: ({ + content, + authority + }: AminoMsgExecLegacyContent["value"]): MsgExecLegacyContent => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + authority + }; + } + }, + "/cosmos.gov.v1.MsgVote": { + aminoType: "cosmos-sdk/v1/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/v1/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options, + metadata + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })), + metadata + }; + }, + fromAmino: ({ + proposal_id, + voter, + options, + metadata + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })), + metadata + }; + } + }, + "/cosmos.gov.v1.MsgDeposit": { + aminoType: "cosmos-sdk/v1/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts new file mode 100644 index 000000000..37ce8ff81 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.registry.ts @@ -0,0 +1,121 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value + }; + } + + }, + fromPartial: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + execLegacyContent(value: MsgExecLegacyContent) { + return { + typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", + value: MsgExecLegacyContent.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..2bd32ee2b --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.rpc.msg.ts @@ -0,0 +1,67 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.execLegacyContent = this.execLegacyContent.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + execLegacyContent(request: MsgExecLegacyContent): Promise { + const data = MsgExecLegacyContent.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "ExecLegacyContent", data); + return promise.then(data => MsgExecLegacyContentResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1/tx.ts new file mode 100644 index 000000000..f5fc6c120 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1/tx.ts @@ -0,0 +1,661 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * 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; +} +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ + +export interface MsgSubmitProposalSDKType { + messages: AnySDKType[]; + initial_deposit: CoinSDKType[]; + proposer: string; + /** metadata is any arbitrary metadata attached to the proposal. */ + + metadata: string; +} +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + +export interface MsgSubmitProposalResponse { + proposalId: Long; +} +/** 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?: Any | undefined; + /** authority must be the gov module address. */ + + authority: string; +} +/** + * MsgExecLegacyContent is used to wrap the legacy content field into a message. + * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. + */ + +export interface MsgExecLegacyContentSDKType { + /** content is the proposal's content. */ + content?: AnySDKType | undefined; + /** authority must be the gov module address. */ + + authority: string; +} +/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ + +export interface MsgExecLegacyContentResponse {} +/** 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; +} +/** MsgVote defines a message to cast a vote. */ + +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; + metadata: string; +} +/** MsgVoteResponse defines the Msg/Vote response type. */ + +export interface MsgVoteResponse {} +/** 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; +} +/** 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 {} +/** 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[]; +} +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + messages: [], + initialDeposit: [], + proposer: "", + metadata: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposal { + const message = createBaseMsgSubmitProposal(); + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgExecLegacyContent(): MsgExecLegacyContent { + return { + content: undefined, + authority: "" + }; +} + +export const MsgExecLegacyContent = { + encode(message: MsgExecLegacyContent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + if (message.authority !== "") { + writer.uint32(18).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExecLegacyContent { + const message = createBaseMsgExecLegacyContent(); + message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; + message.authority = object.authority ?? ""; + return message; + } + +}; + +function createBaseMsgExecLegacyContentResponse(): MsgExecLegacyContentResponse { + return {}; +} + +export const MsgExecLegacyContentResponse = { + encode(_: MsgExecLegacyContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecLegacyContentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgExecLegacyContentResponse { + const message = createBaseMsgExecLegacyContentResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "" + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgVote { + const message = createBaseMsgVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [], + metadata: "" + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + case 4: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgVoteWeighted { + const message = createBaseMsgVoteWeighted(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgDeposit { + const message = createBaseMsgDeposit(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts new file mode 100644 index 000000000..000143893 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/genesis.ts @@ -0,0 +1,156 @@ +import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** 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 | undefined; + /** params defines all the paramaters of related to voting. */ + + votingParams?: VotingParams | undefined; + /** params defines all the paramaters of related to tally. */ + + tallyParams?: TallyParams | undefined; +} +/** GenesisState defines the gov module's genesis state. */ + +export interface GenesisStateSDKType { + /** starting_proposal_id is the ID of the starting proposal. */ + starting_proposal_id: Long; + /** deposits defines all the deposits present at genesis. */ + + deposits: DepositSDKType[]; + /** votes defines all the votes present at genesis. */ + + votes: VoteSDKType[]; + /** proposals defines all the proposals present at genesis. */ + + proposals: ProposalSDKType[]; + /** params defines all the paramaters of related to deposit. */ + + deposit_params?: DepositParamsSDKType | undefined; + /** params defines all the paramaters of related to voting. */ + + voting_params?: VotingParamsSDKType | undefined; + /** params defines all the paramaters of related to tally. */ + + tally_params?: TallyParamsSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + startingProposalId: Long.UZERO, + deposits: [], + votes: [], + proposals: [], + depositParams: undefined, + votingParams: undefined, + tallyParams: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.startingProposalId.isZero()) { + writer.uint32(8).uint64(message.startingProposalId); + } + + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); + } + + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.startingProposalId = (reader.uint64() as Long); + break; + + case 2: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 3: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 4: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 5: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 6: + message.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 7: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? Long.fromValue(object.startingProposalId) : Long.UZERO; + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts new file mode 100644 index 000000000..897b28389 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/gov.ts @@ -0,0 +1,1066 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { Long, 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. */ + 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, +} +/** VoteOption enumerates the valid vote options for a given governance proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + case VoteOption.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatus { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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, +} +/** ProposalStatus enumerates the valid statuses of a proposal. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal 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 function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_DEPOSIT_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; + + case 2: + case "PROPOSAL_STATUS_VOTING_PERIOD": + return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; + + case 3: + case "PROPOSAL_STATUS_PASSED": + return ProposalStatus.PROPOSAL_STATUS_PASSED; + + case 4: + case "PROPOSAL_STATUS_REJECTED": + return ProposalStatus.PROPOSAL_STATUS_REJECTED; + + case 5: + case "PROPOSAL_STATUS_FAILED": + return ProposalStatus.PROPOSAL_STATUS_FAILED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: + return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: + return "PROPOSAL_STATUS_VOTING_PERIOD"; + + case ProposalStatus.PROPOSAL_STATUS_PASSED: + return "PROPOSAL_STATUS_PASSED"; + + case ProposalStatus.PROPOSAL_STATUS_REJECTED: + return "PROPOSAL_STATUS_REJECTED"; + + case ProposalStatus.PROPOSAL_STATUS_FAILED: + return "PROPOSAL_STATUS_FAILED"; + + case ProposalStatus.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ + +export interface WeightedVoteOption { + option: VoteOption; + weight: string; +} +/** + * WeightedVoteOption defines a unit of vote for vote split. + * + * Since: cosmos-sdk 0.43 + */ + +export interface WeightedVoteOptionSDKType { + option: VoteOptionSDKType; + weight: string; +} +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ + +export interface TextProposal { + title: string; + description: string; +} +/** + * TextProposal defines a standard text proposal whose changes need to be + * manually updated in case of approval. + */ + +export interface TextProposalSDKType { + 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[]; +} +/** + * 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?: 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 | undefined; + submitTime?: Date | undefined; + depositEndTime?: Date | undefined; + totalDeposit: Coin[]; + votingStartTime?: Date | undefined; + votingEndTime?: Date | undefined; +} +/** Proposal defines the core field members of a governance proposal. */ + +export interface ProposalSDKType { + proposal_id: Long; + content?: AnySDKType | undefined; + status: ProposalStatusSDKType; + /** + * 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?: TallyResultSDKType | undefined; + submit_time?: Date | undefined; + deposit_end_time?: Date | undefined; + total_deposit: CoinSDKType[]; + voting_start_time?: Date | undefined; + voting_end_time?: Date | undefined; +} +/** TallyResult defines a standard tally for a governance proposal. */ + +export interface TallyResult { + yes: string; + abstain: string; + no: string; + noWithVeto: string; +} +/** 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[]; +} +/** + * 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: 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: VoteOptionSDKType; + /** Since: cosmos-sdk 0.43 */ + + 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 | undefined; +} +/** DepositParams defines the params for deposits on governance proposals. */ + +export interface DepositParamsSDKType { + /** Minimum deposit for a proposal to enter voting period. */ + min_deposit: CoinSDKType[]; + /** + * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + * months. + */ + + max_deposit_period?: DurationSDKType | undefined; +} +/** VotingParams defines the params for voting on governance proposals. */ + +export interface VotingParams { + /** Length of the voting period. */ + votingPeriod?: Duration | undefined; +} +/** VotingParams defines the params for voting on governance proposals. */ + +export interface VotingParamsSDKType { + /** Length of the voting period. */ + voting_period?: DurationSDKType | undefined; +} +/** 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; +} +/** TallyParams defines the params for tallying votes on governance proposals. */ + +export interface TallyParamsSDKType { + /** + * 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; +} + +function createBaseWeightedVoteOption(): WeightedVoteOption { + return { + option: 0, + weight: "" + }; +} + +export const WeightedVoteOption = { + encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.option !== 0) { + writer.uint32(8).int32(message.option); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseWeightedVoteOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.option = (reader.int32() as any); + break; + + case 2: + message.weight = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): WeightedVoteOption { + const message = createBaseWeightedVoteOption(); + message.option = object.option ?? 0; + message.weight = object.weight ?? ""; + return message; + } + +}; + +function createBaseTextProposal(): TextProposal { + return { + title: "", + description: "" + }; +} + +export const TextProposal = { + encode(message: TextProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTextProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TextProposal { + const message = createBaseTextProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseDeposit(): Deposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const Deposit = { + encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Deposit { + const message = createBaseDeposit(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + proposalId: Long.UZERO, + content: undefined, + status: 0, + finalTallyResult: undefined, + submitTime: undefined, + depositEndTime: undefined, + totalDeposit: [], + votingStartTime: undefined, + votingEndTime: undefined + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(18).fork()).ldelim(); + } + + if (message.status !== 0) { + writer.uint32(24).int32(message.status); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (message.depositEndTime !== undefined) { + 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(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); + } + + if (message.votingEndTime !== undefined) { + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.status = (reader.int32() as any); + break; + + case 4: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.totalDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 8: + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 9: + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + 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; + message.depositEndTime = object.depositEndTime ?? undefined; + message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yes: "", + abstain: "", + no: "", + noWithVeto: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yes !== "") { + writer.uint32(10).string(message.yes); + } + + if (message.abstain !== "") { + writer.uint32(18).string(message.abstain); + } + + if (message.no !== "") { + writer.uint32(26).string(message.no); + } + + if (message.noWithVeto !== "") { + writer.uint32(34).string(message.noWithVeto); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yes = reader.string(); + break; + + case 2: + message.abstain = reader.string(); + break; + + case 3: + message.no = reader.string(); + break; + + case 4: + message.noWithVeto = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TallyResult { + const message = createBaseTallyResult(); + message.yes = object.yes ?? ""; + message.abstain = object.abstain ?? ""; + message.no = object.no ?? ""; + message.noWithVeto = object.noWithVeto ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + options: [] + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDepositParams(): DepositParams { + return { + minDeposit: [], + maxDepositPeriod: undefined + }; +} + +export const DepositParams = { + encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.minDeposit) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxDepositPeriod !== undefined) { + Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDepositParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.minDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DepositParams { + const message = createBaseDepositParams(); + message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; + message.maxDepositPeriod = object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null ? Duration.fromPartial(object.maxDepositPeriod) : undefined; + return message; + } + +}; + +function createBaseVotingParams(): VotingParams { + return { + votingPeriod: undefined + }; +} + +export const VotingParams = { + encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVotingParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): VotingParams { + const message = createBaseVotingParams(); + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; + return message; + } + +}; + +function createBaseTallyParams(): TallyParams { + return { + quorum: new Uint8Array(), + threshold: new Uint8Array(), + vetoThreshold: new Uint8Array() + }; +} + +export const TallyParams = { + encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.quorum.length !== 0) { + writer.uint32(10).bytes(message.quorum); + } + + if (message.threshold.length !== 0) { + writer.uint32(18).bytes(message.threshold); + } + + if (message.vetoThreshold.length !== 0) { + writer.uint32(26).bytes(message.vetoThreshold); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.quorum = reader.bytes(); + break; + + case 2: + message.threshold = reader.bytes(); + break; + + case 3: + message.vetoThreshold = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TallyParams { + const message = createBaseTallyParams(); + message.quorum = object.quorum ?? new Uint8Array(); + message.threshold = object.threshold ?? new Uint8Array(); + message.vetoThreshold = object.vetoThreshold ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts new file mode 100644 index 000000000..642759d59 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.lcd.ts @@ -0,0 +1,115 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + /* Proposal queries proposal details based on ProposalID. */ + + + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; + return await this.req.get(endpoint); + } + /* Proposals queries all proposals based on given status. */ + + + async proposals(params: QueryProposalsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.proposalStatus !== "undefined") { + options.params.proposal_status = params.proposalStatus; + } + + if (typeof params?.voter !== "undefined") { + options.params.voter = params.voter; + } + + if (typeof params?.depositor !== "undefined") { + options.params.depositor = params.depositor; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals`; + return await this.req.get(endpoint, options); + } + /* Vote queries voted information based on proposalID, voterAddr. */ + + + async vote(params: QueryVoteRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}votes/${params.voter}`; + return await this.req.get(endpoint); + } + /* Votes queries votes of a given proposal. */ + + + async votes(params: QueryVotesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; + return await this.req.get(endpoint, options); + } + /* Params queries all parameters of the gov module. */ + + + async params(params: QueryParamsRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; + return await this.req.get(endpoint); + } + /* Deposit queries single deposit information based proposalID, depositAddr. */ + + + async deposit(params: QueryDepositRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}deposits/${params.depositor}`; + return await this.req.get(endpoint); + } + /* Deposits queries all deposits of a single proposal. */ + + + async deposits(params: QueryDepositsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; + return await this.req.get(endpoint, options); + } + /* TallyResult queries the tally of a proposal vote. */ + + + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..246d7da99 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts @@ -0,0 +1,133 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.proposal = this.proposal.bind(this); + this.proposals = this.proposals.bind(this); + this.vote = this.vote.bind(this); + this.votes = this.votes.bind(this); + this.params = this.params.bind(this); + this.deposit = this.deposit.bind(this); + this.deposits = this.deposits.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposals(request: QueryProposalsRequest): Promise { + const data = QueryProposalsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Proposals", data); + return promise.then(data => QueryProposalsResponse.decode(new _m0.Reader(data))); + } + + vote(request: QueryVoteRequest): Promise { + const data = QueryVoteRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Vote", data); + return promise.then(data => QueryVoteResponse.decode(new _m0.Reader(data))); + } + + votes(request: QueryVotesRequest): Promise { + const data = QueryVotesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Votes", data); + return promise.then(data => QueryVotesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + deposit(request: QueryDepositRequest): Promise { + const data = QueryDepositRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposit", data); + return promise.then(data => QueryDepositResponse.decode(new _m0.Reader(data))); + } + + deposits(request: QueryDepositsRequest): Promise { + const data = QueryDepositsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "Deposits", data); + return promise.then(data => QueryDepositsResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposals(request: QueryProposalsRequest): Promise { + return queryService.proposals(request); + }, + + vote(request: QueryVoteRequest): Promise { + return queryService.vote(request); + }, + + votes(request: QueryVotesRequest): Promise { + return queryService.votes(request); + }, + + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + deposit(request: QueryDepositRequest): Promise { + return queryService.deposit(request); + }, + + deposits(request: QueryDepositsRequest): Promise { + return queryService.deposits(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts new file mode 100644 index 000000000..0aad3e944 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/query.ts @@ -0,0 +1,1114 @@ +import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import * as _m0 from "protobufjs/minimal"; +import { Long } 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. */ + proposalId: Long; +} +/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ + +export interface QueryProposalRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + +export interface QueryProposalResponse { + proposal?: Proposal | undefined; +} +/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ + +export interface QueryProposalResponseSDKType { + proposal?: ProposalSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ + +export interface QueryProposalsRequestSDKType { + /** proposal_status defines the status of the proposals. */ + proposal_status: ProposalStatusSDKType; + /** 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?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryProposalsResponse is the response type for the Query/Proposals RPC + * method. + */ + +export interface QueryProposalsResponseSDKType { + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 oter address for the proposals. */ + + voter: string; +} +/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ + +export interface QueryVoteRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** voter defines the oter address for the proposals. */ + + voter: string; +} +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + +export interface QueryVoteResponse { + /** vote defined the queried vote. */ + vote?: Vote | undefined; +} +/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ + +export interface QueryVoteResponseSDKType { + /** vote defined the queried vote. */ + vote?: VoteSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ + +export interface QueryVotesRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ + +export interface QueryVotesResponseSDKType { + /** votes defined the queried votes. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType { + /** + * params_type defines which parameters to query for, can be one of "voting", + * "tallying" or "deposit". + */ + 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 | undefined; + /** deposit_params defines the parameters related to deposit. */ + + depositParams?: DepositParams | undefined; + /** tally_params defines the parameters related to tally. */ + + tallyParams?: TallyParams | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** voting_params defines the parameters related to voting. */ + voting_params?: VotingParamsSDKType | undefined; + /** deposit_params defines the parameters related to deposit. */ + + deposit_params?: DepositParamsSDKType | undefined; + /** tally_params defines the parameters related to tally. */ + + tally_params?: TallyParamsSDKType | undefined; +} +/** 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; +} +/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ + +export interface QueryDepositRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** depositor defines the deposit addresses from the proposals. */ + + depositor: string; +} +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + +export interface QueryDepositResponse { + /** deposit defines the requested deposit. */ + deposit?: Deposit | undefined; +} +/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ + +export interface QueryDepositResponseSDKType { + /** deposit defines the requested deposit. */ + deposit?: DepositSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ + +export interface QueryDepositsRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ + +export interface QueryDepositsResponseSDKType { + deposits: DepositSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ + +export interface QueryTallyResultRequestSDKType { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: Long; +} +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally?: TallyResult | undefined; +} +/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally?: TallyResultSDKType | undefined; +} + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalResponse { + const message = createBaseQueryProposalResponse(); + message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsRequest(): QueryProposalsRequest { + return { + proposalStatus: 0, + voter: "", + depositor: "", + pagination: undefined + }; +} + +export const QueryProposalsRequest = { + encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposalStatus !== 0) { + writer.uint32(8).int32(message.proposalStatus); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.depositor !== "") { + writer.uint32(26).string(message.depositor); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalStatus = (reader.int32() as any); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.depositor = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsRequest { + const message = createBaseQueryProposalsRequest(); + message.proposalStatus = object.proposalStatus ?? 0; + message.voter = object.voter ?? ""; + message.depositor = object.depositor ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsResponse(): QueryProposalsResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsResponse = { + encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsResponse { + const message = createBaseQueryProposalsResponse(); + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteRequest(): QueryVoteRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteRequest = { + encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteRequest { + const message = createBaseQueryVoteRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteResponse(): QueryVoteResponse { + return { + vote: undefined + }; +} + +export const QueryVoteResponse = { + encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteResponse { + const message = createBaseQueryVoteResponse(); + message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; + return message; + } + +}; + +function createBaseQueryVotesRequest(): QueryVotesRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesRequest = { + encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesRequest { + const message = createBaseQueryVotesRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesResponse(): QueryVotesResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesResponse = { + encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesResponse { + const message = createBaseQueryVotesResponse(); + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + paramsType: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.paramsType !== "") { + writer.uint32(10).string(message.paramsType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paramsType = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + message.paramsType = object.paramsType ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + votingParams: undefined, + depositParams: undefined, + tallyParams: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingParams !== undefined) { + VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); + } + + if (message.depositParams !== undefined) { + DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); + } + + if (message.tallyParams !== undefined) { + TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.votingParams = VotingParams.decode(reader, reader.uint32()); + break; + + case 2: + message.depositParams = DepositParams.decode(reader, reader.uint32()); + break; + + case 3: + message.tallyParams = TallyParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; + message.depositParams = object.depositParams !== undefined && object.depositParams !== null ? DepositParams.fromPartial(object.depositParams) : undefined; + message.tallyParams = object.tallyParams !== undefined && object.tallyParams !== null ? TallyParams.fromPartial(object.tallyParams) : undefined; + return message; + } + +}; + +function createBaseQueryDepositRequest(): QueryDepositRequest { + return { + proposalId: Long.UZERO, + depositor: "" + }; +} + +export const QueryDepositRequest = { + encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositRequest { + const message = createBaseQueryDepositRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + return message; + } + +}; + +function createBaseQueryDepositResponse(): QueryDepositResponse { + return { + deposit: undefined + }; +} + +export const QueryDepositResponse = { + encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deposit !== undefined) { + Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposit = Deposit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositResponse { + const message = createBaseQueryDepositResponse(); + message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsRequest(): QueryDepositsRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryDepositsRequest = { + encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositsRequest { + const message = createBaseQueryDepositsRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDepositsResponse(): QueryDepositsResponse { + return { + deposits: [], + pagination: undefined + }; +} + +export const QueryDepositsResponse = { + encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.deposits) { + Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDepositsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deposits.push(Deposit.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDepositsResponse { + const message = createBaseQueryDepositsResponse(); + message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultResponse { + const message = createBaseQueryTallyResultResponse(); + message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts new file mode 100644 index 000000000..bdf284576 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.amino.ts @@ -0,0 +1,174 @@ +import { voteOptionFromJSON } from "./gov"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "../../../helpers"; +import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/MsgSubmitProposal"; + value: { + content: { + type_url: string; + value: Uint8Array; + }; + initial_deposit: { + denom: string; + amount: string; + }[]; + proposer: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + }; +} +export interface AminoMsgVoteWeighted extends AminoMsg { + type: "cosmos-sdk/MsgVoteWeighted"; + value: { + proposal_id: string; + voter: string; + options: { + option: number; + weight: string; + }[]; + }; +} +export interface AminoMsgDeposit extends AminoMsg { + type: "cosmos-sdk/MsgDeposit"; + value: { + proposal_id: string; + depositor: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.gov.v1beta1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/MsgSubmitProposal", + toAmino: ({ + content, + initialDeposit, + proposer + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + content: { + type_url: content.typeUrl, + value: content.value + }, + initial_deposit: initialDeposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + }, + fromAmino: ({ + content, + initial_deposit, + proposer + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + content: { + typeUrl: content.type_url, + value: content.value + }, + initialDeposit: initial_deposit.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + proposer + }; + } + }, + "/cosmos.gov.v1beta1.MsgVote": { + aminoType: "cosmos-sdk/MsgVote", + toAmino: ({ + proposalId, + voter, + option + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option + }; + }, + fromAmino: ({ + proposal_id, + voter, + option + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option) + }; + } + }, + "/cosmos.gov.v1beta1.MsgVoteWeighted": { + aminoType: "cosmos-sdk/MsgVoteWeighted", + toAmino: ({ + proposalId, + voter, + options + }: MsgVoteWeighted): AminoMsgVoteWeighted["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + options: options.map(el0 => ({ + option: el0.option, + weight: el0.weight + })) + }; + }, + fromAmino: ({ + proposal_id, + voter, + options + }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { + return { + proposalId: Long.fromString(proposal_id), + voter, + options: options.map(el0 => ({ + option: voteOptionFromJSON(el0.option), + weight: el0.weight + })) + }; + } + }, + "/cosmos.gov.v1beta1.MsgDeposit": { + aminoType: "cosmos-sdk/MsgDeposit", + toAmino: ({ + proposalId, + depositor, + amount + }: MsgDeposit): AminoMsgDeposit["value"] => { + return { + proposal_id: proposalId.toString(), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + proposal_id, + depositor, + amount + }: AminoMsgDeposit["value"]): MsgDeposit => { + return { + proposalId: Long.fromString(proposal_id), + depositor, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts new file mode 100644 index 000000000..192c5e766 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.encode(value).finish() + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.encode(value).finish() + }; + } + + }, + withTypeUrl: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value + }; + } + + }, + fromPartial: { + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + voteWeighted(value: MsgVoteWeighted) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", + value: MsgVoteWeighted.fromPartial(value) + }; + }, + + deposit(value: MsgDeposit) { + return { + typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", + value: MsgDeposit.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..4e4cc252a --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,58 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.submitProposal = this.submitProposal.bind(this); + this.vote = this.vote.bind(this); + this.voteWeighted = this.voteWeighted.bind(this); + this.deposit = this.deposit.bind(this); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + voteWeighted(request: MsgVoteWeighted): Promise { + const data = MsgVoteWeighted.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "VoteWeighted", data); + return promise.then(data => MsgVoteWeightedResponse.decode(new _m0.Reader(data))); + } + + deposit(request: MsgDeposit): Promise { + const data = MsgDeposit.encode(request).finish(); + const promise = this.rpc.request("cosmos.gov.v1beta1.Msg", "Deposit", data); + return promise.then(data => MsgDepositResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts new file mode 100644 index 000000000..318741c62 --- /dev/null +++ b/examples/telescope/codegen/cosmos/gov/v1beta1/tx.ts @@ -0,0 +1,518 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ + +export interface MsgSubmitProposal { + content?: Any | undefined; + initialDeposit: Coin[]; + proposer: string; +} +/** + * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary + * proposal Content. + */ + +export interface MsgSubmitProposalSDKType { + content?: AnySDKType | undefined; + initial_deposit: CoinSDKType[]; + proposer: string; +} +/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ + +export interface MsgSubmitProposalResponse { + proposalId: Long; +} +/** 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; +} +/** MsgVote defines a message to cast a vote. */ + +export interface MsgVoteSDKType { + proposal_id: Long; + voter: string; + option: VoteOptionSDKType; +} +/** MsgVoteResponse defines the Msg/Vote response type. */ + +export interface MsgVoteResponse {} +/** 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[]; +} +/** + * 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 {} +/** + * 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[]; +} +/** 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 {} +/** MsgDepositResponse defines the Msg/Deposit response type. */ + +export interface MsgDepositResponseSDKType {} + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + content: undefined, + initialDeposit: [], + proposer: "" + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.content !== undefined) { + Any.encode(message.content, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.initialDeposit) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.proposer !== "") { + writer.uint32(26).string(message.proposer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.content = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.initialDeposit.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.proposer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposal { + const message = createBaseMsgSubmitProposal(); + message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; + message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; + message.proposer = object.proposer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgVote { + const message = createBaseMsgVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgVoteWeighted(): MsgVoteWeighted { + return { + proposalId: Long.UZERO, + voter: "", + options: [] + }; +} + +export const MsgVoteWeighted = { + encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + for (const v of message.options) { + WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeighted(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgVoteWeighted { + const message = createBaseMsgVoteWeighted(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { + return {}; +} + +export const MsgVoteWeightedResponse = { + encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteWeightedResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgVoteWeightedResponse { + const message = createBaseMsgVoteWeightedResponse(); + return message; + } + +}; + +function createBaseMsgDeposit(): MsgDeposit { + return { + proposalId: Long.UZERO, + depositor: "", + amount: [] + }; +} + +export const MsgDeposit = { + encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.depositor !== "") { + writer.uint32(18).string(message.depositor); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDeposit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.depositor = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgDeposit { + const message = createBaseMsgDeposit(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.depositor = object.depositor ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgDepositResponse(): MsgDepositResponse { + return {}; +} + +export const MsgDepositResponse = { + encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDepositResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgDepositResponse { + const message = createBaseMsgDepositResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/events.ts b/examples/telescope/codegen/cosmos/group/v1/events.ts new file mode 100644 index 000000000..e239706b4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/events.ts @@ -0,0 +1,548 @@ +import { ProposalExecutorResult, ProposalExecutorResultSDKType } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** EventCreateGroup is an event emitted when a group is created. */ + +export interface EventCreateGroup { + /** group_id is the unique ID of the group. */ + groupId: Long; +} +/** EventCreateGroup is an event emitted when a group is created. */ + +export interface EventCreateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; +} +/** EventUpdateGroup is an event emitted when a group is updated. */ + +export interface EventUpdateGroupSDKType { + /** group_id is the unique ID of the group. */ + 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; +} +/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ + +export interface EventCreateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; +} +/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ + +export interface EventUpdateGroupPolicySDKType { + /** address is the account address of the group policy. */ + 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; +} +/** EventSubmitProposal is an event emitted when a proposal is created. */ + +export interface EventSubmitProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; +} +/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ + +export interface EventWithdrawProposalSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; +} +/** EventVote is an event emitted when a voter votes on a proposal. */ + +export interface EventVoteSDKType { + /** proposal_id is the unique ID of the proposal. */ + 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; +} +/** EventExec is an event emitted when a proposal is executed. */ + +export interface EventExecSDKType { + /** proposal_id is the unique ID of the proposal. */ + proposal_id: Long; + /** result is the proposal execution result. */ + + result: ProposalExecutorResultSDKType; +} +/** 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; +} +/** EventLeaveGroup is an event emitted when group member leaves the group. */ + +export interface EventLeaveGroupSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** address is the account address of the group member. */ + + address: string; +} + +function createBaseEventCreateGroup(): EventCreateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventCreateGroup = { + encode(message: EventCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventCreateGroup { + const message = createBaseEventCreateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventUpdateGroup(): EventUpdateGroup { + return { + groupId: Long.UZERO + }; +} + +export const EventUpdateGroup = { + encode(message: EventUpdateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventUpdateGroup { + const message = createBaseEventUpdateGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy { + return { + address: "" + }; +} + +export const EventCreateGroupPolicy = { + encode(message: EventCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventCreateGroupPolicy { + const message = createBaseEventCreateGroupPolicy(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy { + return { + address: "" + }; +} + +export const EventUpdateGroupPolicy = { + encode(message: EventUpdateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventUpdateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventUpdateGroupPolicy { + const message = createBaseEventUpdateGroupPolicy(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseEventSubmitProposal(): EventSubmitProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventSubmitProposal = { + encode(message: EventSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventSubmitProposal { + const message = createBaseEventSubmitProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventWithdrawProposal(): EventWithdrawProposal { + return { + proposalId: Long.UZERO + }; +} + +export const EventWithdrawProposal = { + encode(message: EventWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventWithdrawProposal { + const message = createBaseEventWithdrawProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventVote(): EventVote { + return { + proposalId: Long.UZERO + }; +} + +export const EventVote = { + encode(message: EventVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventVote { + const message = createBaseEventVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseEventExec(): EventExec { + return { + proposalId: Long.UZERO, + result: 0 + }; +} + +export const EventExec = { + encode(message: EventExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.result !== 0) { + writer.uint32(16).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventExec { + const message = createBaseEventExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.result = object.result ?? 0; + return message; + } + +}; + +function createBaseEventLeaveGroup(): EventLeaveGroup { + return { + groupId: Long.UZERO, + address: "" + }; +} + +export const EventLeaveGroup = { + encode(message: EventLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventLeaveGroup { + const message = createBaseEventLeaveGroup(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/genesis.ts b/examples/telescope/codegen/cosmos/group/v1/genesis.ts new file mode 100644 index 000000000..a56366957 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/genesis.ts @@ -0,0 +1,190 @@ +import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** 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[]; +} +/** GenesisState defines the group module's genesis state. */ + +export interface GenesisStateSDKType { + /** + * group_seq is the group table orm.Sequence, + * it is used to get the next group ID. + */ + group_seq: Long; + /** groups is the list of groups info. */ + + groups: GroupInfoSDKType[]; + /** group_members is the list of groups members. */ + + group_members: GroupMemberSDKType[]; + /** + * group_policy_seq is the group policy table orm.Sequence, + * it is used to generate the next group policy account address. + */ + + group_policy_seq: Long; + /** group_policies is the list of group policies info. */ + + group_policies: GroupPolicyInfoSDKType[]; + /** + * proposal_seq is the proposal table orm.Sequence, + * it is used to get the next proposal ID. + */ + + proposal_seq: Long; + /** proposals is the list of proposals. */ + + proposals: ProposalSDKType[]; + /** votes is the list of votes. */ + + votes: VoteSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + groupSeq: Long.UZERO, + groups: [], + groupMembers: [], + groupPolicySeq: Long.UZERO, + groupPolicies: [], + proposalSeq: Long.UZERO, + proposals: [], + votes: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupSeq.isZero()) { + writer.uint32(8).uint64(message.groupSeq); + } + + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.groupMembers) { + GroupMember.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.groupPolicySeq.isZero()) { + writer.uint32(32).uint64(message.groupPolicySeq); + } + + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + if (!message.proposalSeq.isZero()) { + writer.uint32(48).uint64(message.proposalSeq); + } + + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.groupSeq = (reader.uint64() as Long); + break; + + case 2: + message.groups.push(GroupInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMembers.push(GroupMember.decode(reader, reader.uint32())); + break; + + case 4: + message.groupPolicySeq = (reader.uint64() as Long); + break; + + case 5: + message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); + break; + + case 6: + message.proposalSeq = (reader.uint64() as Long); + break; + + case 7: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 8: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.groupSeq = object.groupSeq !== undefined && object.groupSeq !== null ? Long.fromValue(object.groupSeq) : Long.UZERO; + message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; + message.groupMembers = object.groupMembers?.map(e => GroupMember.fromPartial(e)) || []; + message.groupPolicySeq = object.groupPolicySeq !== undefined && object.groupPolicySeq !== null ? Long.fromValue(object.groupPolicySeq) : Long.UZERO; + message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; + message.proposalSeq = object.proposalSeq !== undefined && object.proposalSeq !== null ? Long.fromValue(object.proposalSeq) : Long.UZERO; + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts new file mode 100644 index 000000000..dae3205d7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.lcd.ts @@ -0,0 +1,183 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + /* GroupInfo queries group info based on group id. */ + + + async groupInfo(params: QueryGroupInfoRequest): Promise { + const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; + return await this.req.get(endpoint); + } + /* GroupPolicyInfo queries group policy info based on account address of group policy. */ + + + async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { + const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; + return await this.req.get(endpoint); + } + /* GroupMembers queries members of a group */ + + + async groupMembers(params: QueryGroupMembersRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; + return await this.req.get(endpoint, options); + } + /* GroupsByAdmin queries groups by admin address. */ + + + async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; + return await this.req.get(endpoint, options); + } + /* GroupPoliciesByGroup queries group policies by group id. */ + + + async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; + return await this.req.get(endpoint, options); + } + /* GroupsByAdmin queries group policies by admin address. */ + + + async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; + return await this.req.get(endpoint, options); + } + /* Proposal queries a proposal based on proposal id. */ + + + async proposal(params: QueryProposalRequest): Promise { + const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; + return await this.req.get(endpoint); + } + /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ + + + async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; + return await this.req.get(endpoint, options); + } + /* VoteByProposalVoter queries a vote by proposal id and voter. */ + + + async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { + const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; + return await this.req.get(endpoint); + } + /* VotesByProposal queries a vote by proposal. */ + + + async votesByProposal(params: QueryVotesByProposalRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; + return await this.req.get(endpoint, options); + } + /* VotesByVoter queries a vote by voter. */ + + + async votesByVoter(params: QueryVotesByVoterRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; + return await this.req.get(endpoint, options); + } + /* GroupsByMember queries groups by member address. */ + + + async groupsByMember(params: QueryGroupsByMemberRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; + return await this.req.get(endpoint, options); + } + /* TallyResult queries the tally of a proposal votes. */ + + + async tallyResult(params: QueryTallyResultRequest): Promise { + const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/group/v1/query.rpc.Query.ts new file mode 100644 index 000000000..27d76df9e --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.rpc.Query.ts @@ -0,0 +1,203 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 queries the tally of a proposal votes. */ + + tallyResult(request: QueryTallyResultRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.groupInfo = this.groupInfo.bind(this); + this.groupPolicyInfo = this.groupPolicyInfo.bind(this); + this.groupMembers = this.groupMembers.bind(this); + this.groupsByAdmin = this.groupsByAdmin.bind(this); + this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); + this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); + this.proposal = this.proposal.bind(this); + this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); + this.voteByProposalVoter = this.voteByProposalVoter.bind(this); + this.votesByProposal = this.votesByProposal.bind(this); + this.votesByVoter = this.votesByVoter.bind(this); + this.groupsByMember = this.groupsByMember.bind(this); + this.tallyResult = this.tallyResult.bind(this); + } + + groupInfo(request: QueryGroupInfoRequest): Promise { + const data = QueryGroupInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupInfo", data); + return promise.then(data => QueryGroupInfoResponse.decode(new _m0.Reader(data))); + } + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + const data = QueryGroupPolicyInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPolicyInfo", data); + return promise.then(data => QueryGroupPolicyInfoResponse.decode(new _m0.Reader(data))); + } + + groupMembers(request: QueryGroupMembersRequest): Promise { + const data = QueryGroupMembersRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupMembers", data); + return promise.then(data => QueryGroupMembersResponse.decode(new _m0.Reader(data))); + } + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + const data = QueryGroupsByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByAdmin", data); + return promise.then(data => QueryGroupsByAdminResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + const data = QueryGroupPoliciesByGroupRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByGroup", data); + return promise.then(data => QueryGroupPoliciesByGroupResponse.decode(new _m0.Reader(data))); + } + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + const data = QueryGroupPoliciesByAdminRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupPoliciesByAdmin", data); + return promise.then(data => QueryGroupPoliciesByAdminResponse.decode(new _m0.Reader(data))); + } + + proposal(request: QueryProposalRequest): Promise { + const data = QueryProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "Proposal", data); + return promise.then(data => QueryProposalResponse.decode(new _m0.Reader(data))); + } + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + const data = QueryProposalsByGroupPolicyRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "ProposalsByGroupPolicy", data); + return promise.then(data => QueryProposalsByGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + const data = QueryVoteByProposalVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VoteByProposalVoter", data); + return promise.then(data => QueryVoteByProposalVoterResponse.decode(new _m0.Reader(data))); + } + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + const data = QueryVotesByProposalRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByProposal", data); + return promise.then(data => QueryVotesByProposalResponse.decode(new _m0.Reader(data))); + } + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + const data = QueryVotesByVoterRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "VotesByVoter", data); + return promise.then(data => QueryVotesByVoterResponse.decode(new _m0.Reader(data))); + } + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + const data = QueryGroupsByMemberRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "GroupsByMember", data); + return promise.then(data => QueryGroupsByMemberResponse.decode(new _m0.Reader(data))); + } + + tallyResult(request: QueryTallyResultRequest): Promise { + const data = QueryTallyResultRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Query", "TallyResult", data); + return promise.then(data => QueryTallyResultResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + groupInfo(request: QueryGroupInfoRequest): Promise { + return queryService.groupInfo(request); + }, + + groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise { + return queryService.groupPolicyInfo(request); + }, + + groupMembers(request: QueryGroupMembersRequest): Promise { + return queryService.groupMembers(request); + }, + + groupsByAdmin(request: QueryGroupsByAdminRequest): Promise { + return queryService.groupsByAdmin(request); + }, + + groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise { + return queryService.groupPoliciesByGroup(request); + }, + + groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise { + return queryService.groupPoliciesByAdmin(request); + }, + + proposal(request: QueryProposalRequest): Promise { + return queryService.proposal(request); + }, + + proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise { + return queryService.proposalsByGroupPolicy(request); + }, + + voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise { + return queryService.voteByProposalVoter(request); + }, + + votesByProposal(request: QueryVotesByProposalRequest): Promise { + return queryService.votesByProposal(request); + }, + + votesByVoter(request: QueryVotesByVoterRequest): Promise { + return queryService.votesByVoter(request); + }, + + groupsByMember(request: QueryGroupsByMemberRequest): Promise { + return queryService.groupsByMember(request); + }, + + tallyResult(request: QueryTallyResultRequest): Promise { + return queryService.tallyResult(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/query.ts b/examples/telescope/codegen/cosmos/group/v1/query.ts new file mode 100644 index 000000000..88fce471f --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/query.ts @@ -0,0 +1,1758 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ + +export interface QueryGroupInfoRequest { + /** group_id is the unique ID of the group. */ + groupId: Long; +} +/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ + +export interface QueryGroupInfoRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; +} +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ + +export interface QueryGroupInfoResponse { + /** info is the GroupInfo for the group. */ + info?: GroupInfo | undefined; +} +/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ + +export interface QueryGroupInfoResponseSDKType { + /** info is the GroupInfo for the group. */ + info?: GroupInfoSDKType | undefined; +} +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ + +export interface QueryGroupPolicyInfoRequest { + /** address is the account address of the group policy. */ + address: string; +} +/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ + +export interface QueryGroupPolicyInfoRequestSDKType { + /** address is the account address of the group policy. */ + address: string; +} +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ + +export interface QueryGroupPolicyInfoResponse { + /** info is the GroupPolicyInfo for the group policy. */ + info?: GroupPolicyInfo | undefined; +} +/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ + +export interface QueryGroupPolicyInfoResponseSDKType { + /** info is the GroupPolicyInfo for the group policy. */ + info?: GroupPolicyInfoSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ + +export interface QueryGroupMembersRequestSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ + +export interface QueryGroupMembersResponseSDKType { + /** members are the members of the group with given group_id. */ + members: GroupMemberSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ + +export interface QueryGroupsByAdminRequestSDKType { + /** admin is the account address of a group's admin. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ + +export interface QueryGroupsByAdminResponseSDKType { + /** groups are the groups info with the provided admin. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ + +export interface QueryGroupPoliciesByGroupRequestSDKType { + /** group_id is the unique ID of the group policy's group. */ + group_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ + +export interface QueryGroupPoliciesByGroupResponseSDKType { + /** group_policies are the group policies info associated with the provided group. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ + +export interface QueryGroupPoliciesByAdminRequestSDKType { + /** admin is the admin address of the group policy. */ + admin: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ + +export interface QueryGroupPoliciesByAdminResponseSDKType { + /** group_policies are the group policies info with provided admin. */ + group_policies: GroupPolicyInfoSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryProposalRequest is the Query/Proposal request type. */ + +export interface QueryProposalRequest { + /** proposal_id is the unique ID of a proposal. */ + proposalId: Long; +} +/** QueryProposalRequest is the Query/Proposal request type. */ + +export interface QueryProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; +} +/** QueryProposalResponse is the Query/Proposal response type. */ + +export interface QueryProposalResponse { + /** proposal is the proposal info. */ + proposal?: Proposal | undefined; +} +/** QueryProposalResponse is the Query/Proposal response type. */ + +export interface QueryProposalResponseSDKType { + /** proposal is the proposal info. */ + proposal?: ProposalSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ + +export interface QueryProposalsByGroupPolicyRequestSDKType { + /** address is the account address of the group policy related to proposals. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ + +export interface QueryProposalsByGroupPolicyResponseSDKType { + /** proposals are the proposals with given group policy. */ + proposals: ProposalSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ + +export interface QueryVoteByProposalVoterRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** voter is a proposal voter account address. */ + + voter: string; +} +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ + +export interface QueryVoteByProposalVoterResponse { + /** vote is the vote with given proposal_id and voter. */ + vote?: Vote | undefined; +} +/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ + +export interface QueryVoteByProposalVoterResponseSDKType { + /** vote is the vote with given proposal_id and voter. */ + vote?: VoteSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ + +export interface QueryVotesByProposalRequestSDKType { + /** proposal_id is the unique ID of a proposal. */ + proposal_id: Long; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ + +export interface QueryVotesByProposalResponseSDKType { + /** votes are the list of votes for given proposal_id. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ + +export interface QueryVotesByVoterRequestSDKType { + /** voter is a proposal voter account address. */ + voter: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ + +export interface QueryVotesByVoterResponseSDKType { + /** votes are the list of votes by given voter. */ + votes: VoteSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ + +export interface QueryGroupsByMemberRequestSDKType { + /** address is the group member address. */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ + +export interface QueryGroupsByMemberResponseSDKType { + /** groups are the groups info with the provided group member. */ + groups: GroupInfoSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryTallyResultRequest is the Query/TallyResult request type. */ + +export interface QueryTallyResultRequest { + /** proposal_id is the unique id of a proposal. */ + proposalId: Long; +} +/** QueryTallyResultRequest is the Query/TallyResult request type. */ + +export interface QueryTallyResultRequestSDKType { + /** proposal_id is the unique id of a proposal. */ + proposal_id: Long; +} +/** QueryTallyResultResponse is the Query/TallyResult response type. */ + +export interface QueryTallyResultResponse { + /** tally defines the requested tally. */ + tally?: TallyResult | undefined; +} +/** QueryTallyResultResponse is the Query/TallyResult response type. */ + +export interface QueryTallyResultResponseSDKType { + /** tally defines the requested tally. */ + tally?: TallyResultSDKType | undefined; +} + +function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { + return { + groupId: Long.UZERO + }; +} + +export const QueryGroupInfoRequest = { + encode(message: QueryGroupInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupInfoRequest { + const message = createBaseQueryGroupInfoRequest(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupInfoResponse = { + encode(message: QueryGroupInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupInfoResponse { + const message = createBaseQueryGroupInfoResponse(); + message.info = object.info !== undefined && object.info !== null ? GroupInfo.fromPartial(object.info) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest { + return { + address: "" + }; +} + +export const QueryGroupPolicyInfoRequest = { + encode(message: QueryGroupPolicyInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPolicyInfoRequest { + const message = createBaseQueryGroupPolicyInfoRequest(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { + return { + info: undefined + }; +} + +export const QueryGroupPolicyInfoResponse = { + encode(message: QueryGroupPolicyInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.info !== undefined) { + GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPolicyInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.info = GroupPolicyInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPolicyInfoResponse { + const message = createBaseQueryGroupPolicyInfoResponse(); + message.info = object.info !== undefined && object.info !== null ? GroupPolicyInfo.fromPartial(object.info) : undefined; + return message; + } + +}; + +function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupMembersRequest = { + encode(message: QueryGroupMembersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupMembersRequest { + const message = createBaseQueryGroupMembersRequest(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { + return { + members: [], + pagination: undefined + }; +} + +export const QueryGroupMembersResponse = { + encode(message: QueryGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + GroupMember.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(GroupMember.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupMembersResponse { + const message = createBaseQueryGroupMembersResponse(); + message.members = object.members?.map(e => GroupMember.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupsByAdminRequest = { + encode(message: QueryGroupsByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupsByAdminRequest { + const message = createBaseQueryGroupsByAdminRequest(); + message.admin = object.admin ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByAdminResponse = { + encode(message: QueryGroupsByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupsByAdminResponse { + const message = createBaseQueryGroupsByAdminResponse(); + message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { + return { + groupId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupRequest = { + encode(message: QueryGroupPoliciesByGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPoliciesByGroupRequest { + const message = createBaseQueryGroupPoliciesByGroupRequest(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByGroupResponse = { + encode(message: QueryGroupPoliciesByGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPoliciesByGroupResponse { + const message = createBaseQueryGroupPoliciesByGroupResponse(); + message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { + return { + admin: "", + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminRequest = { + encode(message: QueryGroupPoliciesByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPoliciesByAdminRequest { + const message = createBaseQueryGroupPoliciesByAdminRequest(); + message.admin = object.admin ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { + return { + groupPolicies: [], + pagination: undefined + }; +} + +export const QueryGroupPoliciesByAdminResponse = { + encode(message: QueryGroupPoliciesByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groupPolicies) { + GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupPoliciesByAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupPoliciesByAdminResponse { + const message = createBaseQueryGroupPoliciesByAdminResponse(); + message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalRequest(): QueryProposalRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryProposalRequest = { + encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalRequest { + const message = createBaseQueryProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryProposalResponse(): QueryProposalResponse { + return { + proposal: undefined + }; +} + +export const QueryProposalResponse = { + encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal !== undefined) { + Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposal = Proposal.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalResponse { + const message = createBaseQueryProposalResponse(); + message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyRequest = { + encode(message: QueryProposalsByGroupPolicyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsByGroupPolicyRequest { + const message = createBaseQueryProposalsByGroupPolicyRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { + return { + proposals: [], + pagination: undefined + }; +} + +export const QueryProposalsByGroupPolicyResponse = { + encode(message: QueryProposalsByGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proposals) { + Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryProposalsByGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposals.push(Proposal.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryProposalsByGroupPolicyResponse { + const message = createBaseQueryProposalsByGroupPolicyResponse(); + message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest { + return { + proposalId: Long.UZERO, + voter: "" + }; +} + +export const QueryVoteByProposalVoterRequest = { + encode(message: QueryVoteByProposalVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteByProposalVoterRequest { + const message = createBaseQueryVoteByProposalVoterRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + return message; + } + +}; + +function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { + return { + vote: undefined + }; +} + +export const QueryVoteByProposalVoterResponse = { + encode(message: QueryVoteByProposalVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.vote !== undefined) { + Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVoteByProposalVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.vote = Vote.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVoteByProposalVoterResponse { + const message = createBaseQueryVoteByProposalVoterResponse(); + message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { + return { + proposalId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryVotesByProposalRequest = { + encode(message: QueryVotesByProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesByProposalRequest { + const message = createBaseQueryVotesByProposalRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByProposalResponse = { + encode(message: QueryVotesByProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesByProposalResponse { + const message = createBaseQueryVotesByProposalResponse(); + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { + return { + voter: "", + pagination: undefined + }; +} + +export const QueryVotesByVoterRequest = { + encode(message: QueryVotesByVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voter !== "") { + writer.uint32(10).string(message.voter); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voter = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesByVoterRequest { + const message = createBaseQueryVotesByVoterRequest(); + message.voter = object.voter ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { + return { + votes: [], + pagination: undefined + }; +} + +export const QueryVotesByVoterResponse = { + encode(message: QueryVotesByVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.votes) { + Vote.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryVotesByVoterResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votes.push(Vote.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryVotesByVoterResponse { + const message = createBaseQueryVotesByVoterResponse(); + message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryGroupsByMemberRequest = { + encode(message: QueryGroupsByMemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupsByMemberRequest { + const message = createBaseQueryGroupsByMemberRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { + return { + groups: [], + pagination: undefined + }; +} + +export const QueryGroupsByMemberResponse = { + encode(message: QueryGroupsByMemberResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.groups) { + GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryGroupsByMemberResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groups.push(GroupInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryGroupsByMemberResponse { + const message = createBaseQueryGroupsByMemberResponse(); + message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { + return { + proposalId: Long.UZERO + }; +} + +export const QueryTallyResultRequest = { + encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultRequest { + const message = createBaseQueryTallyResultRequest(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { + return { + tally: undefined + }; +} + +export const QueryTallyResultResponse = { + encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tally !== undefined) { + TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryTallyResultResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tally = TallyResult.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryTallyResultResponse { + const message = createBaseQueryTallyResultResponse(); + message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts new file mode 100644 index 000000000..fac06b905 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.amino.ts @@ -0,0 +1,583 @@ +import { voteOptionFromJSON } from "./types"; +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "../../../helpers"; +import { execFromJSON, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; +export interface AminoMsgCreateGroup extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroup"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + metadata: string; + }; +} +export interface AminoMsgUpdateGroupMembers extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMembers"; + value: { + admin: string; + group_id: string; + member_updates: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + }; +} +export interface AminoMsgUpdateGroupAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupAdmin"; + value: { + admin: string; + group_id: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupMetadata"; + value: { + admin: string; + group_id: string; + metadata: string; + }; +} +export interface AminoMsgCreateGroupPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupPolicy"; + value: { + admin: string; + group_id: string; + metadata: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgCreateGroupWithPolicy extends AminoMsg { + type: "cosmos-sdk/MsgCreateGroupWithPolicy"; + value: { + admin: string; + members: { + address: string; + weight: string; + metadata: string; + added_at: { + seconds: string; + nanos: number; + }; + }[]; + group_metadata: string; + group_policy_metadata: string; + group_policy_as_admin: boolean; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; + value: { + admin: string; + address: string; + new_admin: string; + }; +} +export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; + value: { + admin: string; + address: string; + decision_policy: { + type_url: string; + value: Uint8Array; + }; + }; +} +export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg { + type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; + value: { + admin: string; + address: string; + metadata: string; + }; +} +export interface AminoMsgSubmitProposal extends AminoMsg { + type: "cosmos-sdk/group/MsgSubmitProposal"; + value: { + address: string; + proposers: string[]; + metadata: string; + messages: { + type_url: string; + value: Uint8Array; + }[]; + exec: number; + }; +} +export interface AminoMsgWithdrawProposal extends AminoMsg { + type: "cosmos-sdk/group/MsgWithdrawProposal"; + value: { + proposal_id: string; + address: string; + }; +} +export interface AminoMsgVote extends AminoMsg { + type: "cosmos-sdk/group/MsgVote"; + value: { + proposal_id: string; + voter: string; + option: number; + metadata: string; + exec: number; + }; +} +export interface AminoMsgExec extends AminoMsg { + type: "cosmos-sdk/group/MsgExec"; + value: { + proposal_id: string; + signer: string; + }; +} +export interface AminoMsgLeaveGroup extends AminoMsg { + type: "cosmos-sdk/group/MsgLeaveGroup"; + value: { + address: string; + group_id: string; + }; +} +export const AminoConverter = { + "/cosmos.group.v1.MsgCreateGroup": { + aminoType: "cosmos-sdk/MsgCreateGroup", + toAmino: ({ + admin, + members, + metadata + }: MsgCreateGroup): AminoMsgCreateGroup["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + metadata + }; + }, + fromAmino: ({ + admin, + members, + metadata + }: AminoMsgCreateGroup["value"]): MsgCreateGroup => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + metadata + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMembers": { + aminoType: "cosmos-sdk/MsgUpdateGroupMembers", + toAmino: ({ + admin, + groupId, + memberUpdates + }: MsgUpdateGroupMembers): AminoMsgUpdateGroupMembers["value"] => { + return { + admin, + group_id: groupId.toString(), + member_updates: memberUpdates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })) + }; + }, + fromAmino: ({ + admin, + group_id, + member_updates + }: AminoMsgUpdateGroupMembers["value"]): MsgUpdateGroupMembers => { + return { + admin, + groupId: Long.fromString(group_id), + memberUpdates: member_updates.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })) + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", + toAmino: ({ + admin, + groupId, + newAdmin + }: MsgUpdateGroupAdmin): AminoMsgUpdateGroupAdmin["value"] => { + return { + admin, + group_id: groupId.toString(), + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + group_id, + new_admin + }: AminoMsgUpdateGroupAdmin["value"]): MsgUpdateGroupAdmin => { + return { + admin, + groupId: Long.fromString(group_id), + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", + toAmino: ({ + admin, + groupId, + metadata + }: MsgUpdateGroupMetadata): AminoMsgUpdateGroupMetadata["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata + }; + }, + fromAmino: ({ + admin, + group_id, + metadata + }: AminoMsgUpdateGroupMetadata["value"]): MsgUpdateGroupMetadata => { + return { + admin, + groupId: Long.fromString(group_id), + metadata + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupPolicy", + toAmino: ({ + admin, + groupId, + metadata, + decisionPolicy + }: MsgCreateGroupPolicy): AminoMsgCreateGroupPolicy["value"] => { + return { + admin, + group_id: groupId.toString(), + metadata, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + group_id, + metadata, + decision_policy + }: AminoMsgCreateGroupPolicy["value"]): MsgCreateGroupPolicy => { + return { + admin, + groupId: Long.fromString(group_id), + metadata, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgCreateGroupWithPolicy": { + aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", + toAmino: ({ + admin, + members, + groupMetadata, + groupPolicyMetadata, + groupPolicyAsAdmin, + decisionPolicy + }: MsgCreateGroupWithPolicy): AminoMsgCreateGroupWithPolicy["value"] => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + added_at: el0.addedAt + })), + group_metadata: groupMetadata, + group_policy_metadata: groupPolicyMetadata, + group_policy_as_admin: groupPolicyAsAdmin, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + members, + group_metadata, + group_policy_metadata, + group_policy_as_admin, + decision_policy + }: AminoMsgCreateGroupWithPolicy["value"]): MsgCreateGroupWithPolicy => { + return { + admin, + members: members.map(el0 => ({ + address: el0.address, + weight: el0.weight, + metadata: el0.metadata, + addedAt: el0.added_at + })), + groupMetadata: group_metadata, + groupPolicyMetadata: group_policy_metadata, + groupPolicyAsAdmin: group_policy_as_admin, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", + toAmino: ({ + admin, + address, + newAdmin + }: MsgUpdateGroupPolicyAdmin): AminoMsgUpdateGroupPolicyAdmin["value"] => { + return { + admin, + address, + new_admin: newAdmin + }; + }, + fromAmino: ({ + admin, + address, + new_admin + }: AminoMsgUpdateGroupPolicyAdmin["value"]): MsgUpdateGroupPolicyAdmin => { + return { + admin, + address, + newAdmin: new_admin + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", + toAmino: ({ + admin, + address, + decisionPolicy + }: MsgUpdateGroupPolicyDecisionPolicy): AminoMsgUpdateGroupPolicyDecisionPolicy["value"] => { + return { + admin, + address, + decision_policy: { + type_url: decisionPolicy.typeUrl, + value: decisionPolicy.value + } + }; + }, + fromAmino: ({ + admin, + address, + decision_policy + }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]): MsgUpdateGroupPolicyDecisionPolicy => { + return { + admin, + address, + decisionPolicy: { + typeUrl: decision_policy.type_url, + value: decision_policy.value + } + }; + } + }, + "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { + aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", + toAmino: ({ + admin, + address, + metadata + }: MsgUpdateGroupPolicyMetadata): AminoMsgUpdateGroupPolicyMetadata["value"] => { + return { + admin, + address, + metadata + }; + }, + fromAmino: ({ + admin, + address, + metadata + }: AminoMsgUpdateGroupPolicyMetadata["value"]): MsgUpdateGroupPolicyMetadata => { + return { + admin, + address, + metadata + }; + } + }, + "/cosmos.group.v1.MsgSubmitProposal": { + aminoType: "cosmos-sdk/group/MsgSubmitProposal", + toAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: MsgSubmitProposal): AminoMsgSubmitProposal["value"] => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + type_url: el0.typeUrl, + value: el0.value + })), + exec + }; + }, + fromAmino: ({ + address, + proposers, + metadata, + messages, + exec + }: AminoMsgSubmitProposal["value"]): MsgSubmitProposal => { + return { + address, + proposers, + metadata, + messages: messages.map(el0 => ({ + typeUrl: el0.type_url, + value: el0.value + })), + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgWithdrawProposal": { + aminoType: "cosmos-sdk/group/MsgWithdrawProposal", + toAmino: ({ + proposalId, + address + }: MsgWithdrawProposal): AminoMsgWithdrawProposal["value"] => { + return { + proposal_id: proposalId.toString(), + address + }; + }, + fromAmino: ({ + proposal_id, + address + }: AminoMsgWithdrawProposal["value"]): MsgWithdrawProposal => { + return { + proposalId: Long.fromString(proposal_id), + address + }; + } + }, + "/cosmos.group.v1.MsgVote": { + aminoType: "cosmos-sdk/group/MsgVote", + toAmino: ({ + proposalId, + voter, + option, + metadata, + exec + }: MsgVote): AminoMsgVote["value"] => { + return { + proposal_id: proposalId.toString(), + voter, + option, + metadata, + exec + }; + }, + fromAmino: ({ + proposal_id, + voter, + option, + metadata, + exec + }: AminoMsgVote["value"]): MsgVote => { + return { + proposalId: Long.fromString(proposal_id), + voter, + option: voteOptionFromJSON(option), + metadata, + exec: execFromJSON(exec) + }; + } + }, + "/cosmos.group.v1.MsgExec": { + aminoType: "cosmos-sdk/group/MsgExec", + toAmino: ({ + proposalId, + signer + }: MsgExec): AminoMsgExec["value"] => { + return { + proposal_id: proposalId.toString(), + signer + }; + }, + fromAmino: ({ + proposal_id, + signer + }: AminoMsgExec["value"]): MsgExec => { + return { + proposalId: Long.fromString(proposal_id), + signer + }; + } + }, + "/cosmos.group.v1.MsgLeaveGroup": { + aminoType: "cosmos-sdk/group/MsgLeaveGroup", + toAmino: ({ + address, + groupId + }: MsgLeaveGroup): AminoMsgLeaveGroup["value"] => { + return { + address, + group_id: groupId.toString() + }; + }, + fromAmino: ({ + address, + group_id + }: AminoMsgLeaveGroup["value"]): MsgLeaveGroup => { + return { + address, + groupId: Long.fromString(group_id) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts new file mode 100644 index 000000000..3441045f2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.registry.ts @@ -0,0 +1,310 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.encode(value).finish() + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.encode(value).finish() + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.encode(value).finish() + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.encode(value).finish() + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.encode(value).finish() + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.encode(value).finish() + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish() + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.encode(value).finish() + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.encode(value).finish() + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.encode(value).finish() + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.encode(value).finish() + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.encode(value).finish() + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value + }; + } + + }, + fromPartial: { + createGroup(value: MsgCreateGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroup", + value: MsgCreateGroup.fromPartial(value) + }; + }, + + updateGroupMembers(value: MsgUpdateGroupMembers) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", + value: MsgUpdateGroupMembers.fromPartial(value) + }; + }, + + updateGroupAdmin(value: MsgUpdateGroupAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", + value: MsgUpdateGroupAdmin.fromPartial(value) + }; + }, + + updateGroupMetadata(value: MsgUpdateGroupMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", + value: MsgUpdateGroupMetadata.fromPartial(value) + }; + }, + + createGroupPolicy(value: MsgCreateGroupPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", + value: MsgCreateGroupPolicy.fromPartial(value) + }; + }, + + createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", + value: MsgCreateGroupWithPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", + value: MsgUpdateGroupPolicyAdmin.fromPartial(value) + }; + }, + + updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", + value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) + }; + }, + + updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { + return { + typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", + value: MsgUpdateGroupPolicyMetadata.fromPartial(value) + }; + }, + + submitProposal(value: MsgSubmitProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgSubmitProposal", + value: MsgSubmitProposal.fromPartial(value) + }; + }, + + withdrawProposal(value: MsgWithdrawProposal) { + return { + typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", + value: MsgWithdrawProposal.fromPartial(value) + }; + }, + + vote(value: MsgVote) { + return { + typeUrl: "/cosmos.group.v1.MsgVote", + value: MsgVote.fromPartial(value) + }; + }, + + exec(value: MsgExec) { + return { + typeUrl: "/cosmos.group.v1.MsgExec", + value: MsgExec.fromPartial(value) + }; + }, + + leaveGroup(value: MsgLeaveGroup) { + return { + typeUrl: "/cosmos.group.v1.MsgLeaveGroup", + value: MsgLeaveGroup.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..b921d00c0 --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.rpc.msg.ts @@ -0,0 +1,154 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 aborts 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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createGroup = this.createGroup.bind(this); + this.updateGroupMembers = this.updateGroupMembers.bind(this); + this.updateGroupAdmin = this.updateGroupAdmin.bind(this); + this.updateGroupMetadata = this.updateGroupMetadata.bind(this); + this.createGroupPolicy = this.createGroupPolicy.bind(this); + this.createGroupWithPolicy = this.createGroupWithPolicy.bind(this); + this.updateGroupPolicyAdmin = this.updateGroupPolicyAdmin.bind(this); + this.updateGroupPolicyDecisionPolicy = this.updateGroupPolicyDecisionPolicy.bind(this); + this.updateGroupPolicyMetadata = this.updateGroupPolicyMetadata.bind(this); + this.submitProposal = this.submitProposal.bind(this); + this.withdrawProposal = this.withdrawProposal.bind(this); + this.vote = this.vote.bind(this); + this.exec = this.exec.bind(this); + this.leaveGroup = this.leaveGroup.bind(this); + } + + createGroup(request: MsgCreateGroup): Promise { + const data = MsgCreateGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroup", data); + return promise.then(data => MsgCreateGroupResponse.decode(new _m0.Reader(data))); + } + + updateGroupMembers(request: MsgUpdateGroupMembers): Promise { + const data = MsgUpdateGroupMembers.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMembers", data); + return promise.then(data => MsgUpdateGroupMembersResponse.decode(new _m0.Reader(data))); + } + + updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise { + const data = MsgUpdateGroupAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupAdmin", data); + return promise.then(data => MsgUpdateGroupAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise { + const data = MsgUpdateGroupMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupMetadata", data); + return promise.then(data => MsgUpdateGroupMetadataResponse.decode(new _m0.Reader(data))); + } + + createGroupPolicy(request: MsgCreateGroupPolicy): Promise { + const data = MsgCreateGroupPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupPolicy", data); + return promise.then(data => MsgCreateGroupPolicyResponse.decode(new _m0.Reader(data))); + } + + createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise { + const data = MsgCreateGroupWithPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "CreateGroupWithPolicy", data); + return promise.then(data => MsgCreateGroupWithPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise { + const data = MsgUpdateGroupPolicyAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyAdmin", data); + return promise.then(data => MsgUpdateGroupPolicyAdminResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise { + const data = MsgUpdateGroupPolicyDecisionPolicy.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyDecisionPolicy", data); + return promise.then(data => MsgUpdateGroupPolicyDecisionPolicyResponse.decode(new _m0.Reader(data))); + } + + updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise { + const data = MsgUpdateGroupPolicyMetadata.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "UpdateGroupPolicyMetadata", data); + return promise.then(data => MsgUpdateGroupPolicyMetadataResponse.decode(new _m0.Reader(data))); + } + + submitProposal(request: MsgSubmitProposal): Promise { + const data = MsgSubmitProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "SubmitProposal", data); + return promise.then(data => MsgSubmitProposalResponse.decode(new _m0.Reader(data))); + } + + withdrawProposal(request: MsgWithdrawProposal): Promise { + const data = MsgWithdrawProposal.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "WithdrawProposal", data); + return promise.then(data => MsgWithdrawProposalResponse.decode(new _m0.Reader(data))); + } + + vote(request: MsgVote): Promise { + const data = MsgVote.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Vote", data); + return promise.then(data => MsgVoteResponse.decode(new _m0.Reader(data))); + } + + exec(request: MsgExec): Promise { + const data = MsgExec.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "Exec", data); + return promise.then(data => MsgExecResponse.decode(new _m0.Reader(data))); + } + + leaveGroup(request: MsgLeaveGroup): Promise { + const data = MsgLeaveGroup.encode(request).finish(); + const promise = this.rpc.request("cosmos.group.v1.Msg", "LeaveGroup", data); + return promise.then(data => MsgLeaveGroupResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/tx.ts b/examples/telescope/codegen/cosmos/group/v1/tx.ts new file mode 100644 index 000000000..6cb023bcd --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/tx.ts @@ -0,0 +1,2065 @@ +import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** Exec defines modes of execution of a proposal on creation or on new vote. */ + +export 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, +} +/** Exec defines modes of execution of a proposal on creation or on new vote. */ + +export enum ExecSDKType { + /** + * 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 function execFromJSON(object: any): Exec { + switch (object) { + case 0: + case "EXEC_UNSPECIFIED": + return Exec.EXEC_UNSPECIFIED; + + case 1: + case "EXEC_TRY": + return Exec.EXEC_TRY; + + case -1: + case "UNRECOGNIZED": + default: + return Exec.UNRECOGNIZED; + } +} +export function execToJSON(object: Exec): string { + switch (object) { + case Exec.EXEC_UNSPECIFIED: + return "EXEC_UNSPECIFIED"; + + case Exec.EXEC_TRY: + return "EXEC_TRY"; + + case Exec.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** 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: Member[]; + /** metadata is any arbitrary metadata to attached to the group. */ + + metadata: string; +} +/** MsgCreateGroup is the Msg/CreateGroup request type. */ + +export interface MsgCreateGroupSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** metadata is any arbitrary metadata to attached to the group. */ + + 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; +} +/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ + +export interface MsgCreateGroupResponseSDKType { + /** group_id is the unique ID of the newly created group. */ + 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: Member[]; +} +/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ + +export interface MsgUpdateGroupMembersSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** + * member_updates is the list of members to update, + * set weight to 0 to remove a member. + */ + + member_updates: MemberSDKType[]; +} +/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ + +export interface MsgUpdateGroupMembersResponse {} +/** 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; +} +/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ + +export interface MsgUpdateGroupAdminSDKType { + /** admin is the current account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** new_admin is the group new admin account address. */ + + new_admin: string; +} +/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ + +export interface MsgUpdateGroupAdminResponse {} +/** 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; +} +/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ + +export interface MsgUpdateGroupMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** metadata is the updated group's metadata. */ + + metadata: string; +} +/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ + +export interface MsgUpdateGroupMetadataResponse {} +/** 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?: Any | undefined; +} +/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ + +export interface MsgCreateGroupPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; + /** metadata is any arbitrary metadata attached to the group policy. */ + + metadata: string; + /** decision_policy specifies the group policy's decision policy. */ + + decision_policy?: 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; +} +/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ + +export interface MsgCreateGroupPolicyResponseSDKType { + /** address is the account address of the newly created group policy. */ + address: string; +} +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + +export interface MsgUpdateGroupPolicyAdmin { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of the group policy. */ + + address: string; + /** new_admin is the new group policy admin. */ + + newAdmin: string; +} +/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ + +export interface MsgUpdateGroupPolicyAdminSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of the group policy. */ + + address: string; + /** new_admin is the new group policy admin. */ + + new_admin: string; +} +/** 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: Member[]; + /** 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?: Any | undefined; +} +/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ + +export interface MsgCreateGroupWithPolicySDKType { + /** admin is the account address of the group and group policy admin. */ + admin: string; + /** members defines the group members. */ + + members: MemberSDKType[]; + /** 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?: 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; +} +/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ + +export interface MsgCreateGroupWithPolicyResponseSDKType { + /** group_id is the unique ID of the newly created group with policy. */ + group_id: Long; + /** group_policy_address is the account address of the newly created group policy. */ + + group_policy_address: string; +} +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ + +export interface MsgUpdateGroupPolicyAdminResponse {} +/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ + +export interface MsgUpdateGroupPolicyAdminResponseSDKType {} +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + +export interface MsgUpdateGroupPolicyDecisionPolicy { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + + address: string; + /** decision_policy is the updated group policy's decision policy. */ + + decisionPolicy?: Any | undefined; +} +/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ + +export interface MsgUpdateGroupPolicyDecisionPolicySDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + + address: string; + /** decision_policy is the updated group policy's decision policy. */ + + decision_policy?: AnySDKType | undefined; +} +/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ + +export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} +/** 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; + /** address is the account address of group policy. */ + + address: string; + /** metadata is the updated group policy metadata. */ + + metadata: string; +} +/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ + +export interface MsgUpdateGroupPolicyMetadataSDKType { + /** admin is the account address of the group admin. */ + admin: string; + /** address is the account address of group policy. */ + + address: string; + /** metadata is the updated group policy metadata. */ + + metadata: string; +} +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ + +export interface MsgUpdateGroupPolicyMetadataResponse {} +/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ + +export interface MsgUpdateGroupPolicyMetadataResponseSDKType {} +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + +export interface MsgSubmitProposal { + /** address is the account address of 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: 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; +} +/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ + +export interface MsgSubmitProposalSDKType { + /** address is the account address of 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: AnySDKType[]; + /** + * 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: ExecSDKType; +} +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ + +export interface MsgSubmitProposalResponse { + /** proposal is the unique ID of the proposal. */ + proposalId: Long; +} +/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ + +export interface MsgSubmitProposalResponseSDKType { + /** proposal is the unique ID of the proposal. */ + 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; +} +/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ + +export interface MsgWithdrawProposalSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** address is the admin of the group policy or one of the proposer of the proposal. */ + + address: string; +} +/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ + +export interface MsgWithdrawProposalResponse {} +/** 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; +} +/** MsgVote is the Msg/Vote request type. */ + +export interface MsgVoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the voter account address. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** 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: ExecSDKType; +} +/** MsgVoteResponse is the Msg/Vote response type. */ + +export interface MsgVoteResponse {} +/** 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; + /** signer is the account address used to execute the proposal. */ + + signer: string; +} +/** MsgExec is the Msg/Exec request type. */ + +export interface MsgExecSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** signer is the account address used to execute the proposal. */ + + signer: string; +} +/** MsgExecResponse is the Msg/Exec request type. */ + +export interface MsgExecResponse {} +/** MsgExecResponse is the Msg/Exec request type. */ + +export interface MsgExecResponseSDKType {} +/** 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; +} +/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ + +export interface MsgLeaveGroupSDKType { + /** address is the account address of the group member. */ + address: string; + /** group_id is the unique ID of the group. */ + + group_id: Long; +} +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + +export interface MsgLeaveGroupResponse {} +/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ + +export interface MsgLeaveGroupResponseSDKType {} + +function createBaseMsgCreateGroup(): MsgCreateGroup { + return { + admin: "", + members: [], + metadata: "" + }; +} + +export const MsgCreateGroup = { + encode(message: MsgCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroup { + const message = createBaseMsgCreateGroup(); + message.admin = object.admin ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse { + return { + groupId: Long.UZERO + }; +} + +export const MsgCreateGroupResponse = { + encode(message: MsgCreateGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroupResponse { + const message = createBaseMsgCreateGroupResponse(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers { + return { + admin: "", + groupId: Long.UZERO, + memberUpdates: [] + }; +} + +export const MsgUpdateGroupMembers = { + encode(message: MsgUpdateGroupMembers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + for (const v of message.memberUpdates) { + Member.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.memberUpdates.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupMembers { + const message = createBaseMsgUpdateGroupMembers(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.memberUpdates = object.memberUpdates?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse { + return {}; +} + +export const MsgUpdateGroupMembersResponse = { + encode(_: MsgUpdateGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMembersResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupMembersResponse { + const message = createBaseMsgUpdateGroupMembersResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin { + return { + admin: "", + groupId: Long.UZERO, + newAdmin: "" + }; +} + +export const MsgUpdateGroupAdmin = { + encode(message: MsgUpdateGroupAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupAdmin { + const message = createBaseMsgUpdateGroupAdmin(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse { + return {}; +} + +export const MsgUpdateGroupAdminResponse = { + encode(_: MsgUpdateGroupAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupAdminResponse { + const message = createBaseMsgUpdateGroupAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata { + return { + admin: "", + groupId: Long.UZERO, + metadata: "" + }; +} + +export const MsgUpdateGroupMetadata = { + encode(message: MsgUpdateGroupMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupMetadata { + const message = createBaseMsgUpdateGroupMetadata(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse { + return {}; +} + +export const MsgUpdateGroupMetadataResponse = { + encode(_: MsgUpdateGroupMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupMetadataResponse { + const message = createBaseMsgUpdateGroupMetadataResponse(); + return message; + } + +}; + +function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy { + return { + admin: "", + groupId: Long.UZERO, + metadata: "", + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupPolicy = { + encode(message: MsgCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroupPolicy { + const message = createBaseMsgCreateGroupPolicy(); + message.admin = object.admin ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.metadata = object.metadata ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse { + return { + address: "" + }; +} + +export const MsgCreateGroupPolicyResponse = { + encode(message: MsgCreateGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroupPolicyResponse { + const message = createBaseMsgCreateGroupPolicyResponse(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin { + return { + admin: "", + address: "", + newAdmin: "" + }; +} + +export const MsgUpdateGroupPolicyAdmin = { + encode(message: MsgUpdateGroupPolicyAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { + const message = createBaseMsgUpdateGroupPolicyAdmin(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.newAdmin = object.newAdmin ?? ""; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy { + return { + admin: "", + members: [], + groupMetadata: "", + groupPolicyMetadata: "", + groupPolicyAsAdmin: false, + decisionPolicy: undefined + }; +} + +export const MsgCreateGroupWithPolicy = { + encode(message: MsgCreateGroupWithPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + for (const v of message.members) { + Member.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.groupMetadata !== "") { + writer.uint32(26).string(message.groupMetadata); + } + + if (message.groupPolicyMetadata !== "") { + writer.uint32(34).string(message.groupPolicyMetadata); + } + + if (message.groupPolicyAsAdmin === true) { + writer.uint32(40).bool(message.groupPolicyAsAdmin); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + case 3: + message.groupMetadata = reader.string(); + break; + + case 4: + message.groupPolicyMetadata = reader.string(); + break; + + case 5: + message.groupPolicyAsAdmin = reader.bool(); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroupWithPolicy { + const message = createBaseMsgCreateGroupWithPolicy(); + message.admin = object.admin ?? ""; + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + message.groupMetadata = object.groupMetadata ?? ""; + message.groupPolicyMetadata = object.groupPolicyMetadata ?? ""; + message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse { + return { + groupId: Long.UZERO, + groupPolicyAddress: "" + }; +} + +export const MsgCreateGroupWithPolicyResponse = { + encode(message: MsgCreateGroupWithPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.groupPolicyAddress !== "") { + writer.uint32(18).string(message.groupPolicyAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateGroupWithPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.groupPolicyAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateGroupWithPolicyResponse { + const message = createBaseMsgCreateGroupWithPolicyResponse(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.groupPolicyAddress = object.groupPolicyAddress ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse { + return {}; +} + +export const MsgUpdateGroupPolicyAdminResponse = { + encode(_: MsgUpdateGroupPolicyAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse { + const message = createBaseMsgUpdateGroupPolicyAdminResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy { + return { + admin: "", + address: "", + decisionPolicy: undefined + }; +} + +export const MsgUpdateGroupPolicyDecisionPolicy = { + encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyDecisionPolicy { + const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse { + return {}; +} + +export const MsgUpdateGroupPolicyDecisionPolicyResponse = { + encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse { + const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata { + return { + admin: "", + address: "", + metadata: "" + }; +} + +export const MsgUpdateGroupPolicyMetadata = { + encode(message: MsgUpdateGroupPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.admin !== "") { + writer.uint32(10).string(message.admin); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.admin = reader.string(); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { + const message = createBaseMsgUpdateGroupPolicyMetadata(); + message.admin = object.admin ?? ""; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse { + return {}; +} + +export const MsgUpdateGroupPolicyMetadataResponse = { + encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse { + const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); + return message; + } + +}; + +function createBaseMsgSubmitProposal(): MsgSubmitProposal { + return { + address: "", + proposers: [], + metadata: "", + messages: [], + exec: 0 + }; +} + +export const MsgSubmitProposal = { + encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + for (const v of message.proposers) { + writer.uint32(18).string(v!); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.proposers.push(reader.string()); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposal { + const message = createBaseMsgSubmitProposal(); + message.address = object.address ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.metadata = object.metadata ?? ""; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { + return { + proposalId: Long.UZERO + }; +} + +export const MsgSubmitProposalResponse = { + encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitProposalResponse { + const message = createBaseMsgSubmitProposalResponse(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgWithdrawProposal(): MsgWithdrawProposal { + return { + proposalId: Long.UZERO, + address: "" + }; +} + +export const MsgWithdrawProposal = { + encode(message: MsgWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgWithdrawProposal { + const message = createBaseMsgWithdrawProposal(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse { + return {}; +} + +export const MsgWithdrawProposalResponse = { + encode(_: MsgWithdrawProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgWithdrawProposalResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgWithdrawProposalResponse { + const message = createBaseMsgWithdrawProposalResponse(); + return message; + } + +}; + +function createBaseMsgVote(): MsgVote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + exec: 0 + }; +} + +export const MsgVote = { + encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.exec !== 0) { + writer.uint32(40).int32(message.exec); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.exec = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgVote { + const message = createBaseMsgVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.exec = object.exec ?? 0; + return message; + } + +}; + +function createBaseMsgVoteResponse(): MsgVoteResponse { + return {}; +} + +export const MsgVoteResponse = { + encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgVoteResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgVoteResponse { + const message = createBaseMsgVoteResponse(); + return message; + } + +}; + +function createBaseMsgExec(): MsgExec { + return { + proposalId: Long.UZERO, + signer: "" + }; +} + +export const MsgExec = { + encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.signer !== "") { + writer.uint32(18).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExec(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExec { + const message = createBaseMsgExec(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgExecResponse(): MsgExecResponse { + return {}; +} + +export const MsgExecResponse = { + encode(_: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgExecResponse { + const message = createBaseMsgExecResponse(); + return message; + } + +}; + +function createBaseMsgLeaveGroup(): MsgLeaveGroup { + return { + address: "", + groupId: Long.UZERO + }; +} + +export const MsgLeaveGroup = { + encode(message: MsgLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroup(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgLeaveGroup { + const message = createBaseMsgLeaveGroup(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse { + return {}; +} + +export const MsgLeaveGroupResponse = { + encode(_: MsgLeaveGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgLeaveGroupResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgLeaveGroupResponse { + const message = createBaseMsgLeaveGroupResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/group/v1/types.ts b/examples/telescope/codegen/cosmos/group/v1/types.ts new file mode 100644 index 000000000..0e21e943d --- /dev/null +++ b/examples/telescope/codegen/cosmos/group/v1/types.ts @@ -0,0 +1,1658 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; +/** VoteOption enumerates the valid vote options for a given proposal. */ + +export 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, +} +/** VoteOption enumerates the valid vote options for a given proposal. */ + +export enum VoteOptionSDKType { + /** 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 function voteOptionFromJSON(object: any): VoteOption { + switch (object) { + case 0: + case "VOTE_OPTION_UNSPECIFIED": + return VoteOption.VOTE_OPTION_UNSPECIFIED; + + case 1: + case "VOTE_OPTION_YES": + return VoteOption.VOTE_OPTION_YES; + + case 2: + case "VOTE_OPTION_ABSTAIN": + return VoteOption.VOTE_OPTION_ABSTAIN; + + case 3: + case "VOTE_OPTION_NO": + return VoteOption.VOTE_OPTION_NO; + + case 4: + case "VOTE_OPTION_NO_WITH_VETO": + return VoteOption.VOTE_OPTION_NO_WITH_VETO; + + case -1: + case "UNRECOGNIZED": + default: + return VoteOption.UNRECOGNIZED; + } +} +export function voteOptionToJSON(object: VoteOption): string { + switch (object) { + case VoteOption.VOTE_OPTION_UNSPECIFIED: + return "VOTE_OPTION_UNSPECIFIED"; + + case VoteOption.VOTE_OPTION_YES: + return "VOTE_OPTION_YES"; + + case VoteOption.VOTE_OPTION_ABSTAIN: + return "VOTE_OPTION_ABSTAIN"; + + case VoteOption.VOTE_OPTION_NO: + return "VOTE_OPTION_NO"; + + case VoteOption.VOTE_OPTION_NO_WITH_VETO: + return "VOTE_OPTION_NO_WITH_VETO"; + + case VoteOption.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ProposalStatus defines proposal statuses. */ + +export 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 persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} +/** ProposalStatus defines proposal statuses. */ + +export enum ProposalStatusSDKType { + /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ + PROPOSAL_STATUS_UNSPECIFIED = 0, + + /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ + PROPOSAL_STATUS_SUBMITTED = 1, + + /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ + PROPOSAL_STATUS_CLOSED = 2, + + /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ + PROPOSAL_STATUS_ABORTED = 3, + + /** + * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status + * is Withdrawn. + */ + PROPOSAL_STATUS_WITHDRAWN = 4, + UNRECOGNIZED = -1, +} +export function proposalStatusFromJSON(object: any): ProposalStatus { + switch (object) { + case 0: + case "PROPOSAL_STATUS_UNSPECIFIED": + return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; + + case 1: + case "PROPOSAL_STATUS_SUBMITTED": + return ProposalStatus.PROPOSAL_STATUS_SUBMITTED; + + case 2: + case "PROPOSAL_STATUS_CLOSED": + return ProposalStatus.PROPOSAL_STATUS_CLOSED; + + case 3: + case "PROPOSAL_STATUS_ABORTED": + return ProposalStatus.PROPOSAL_STATUS_ABORTED; + + case 4: + case "PROPOSAL_STATUS_WITHDRAWN": + return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalStatus.UNRECOGNIZED; + } +} +export function proposalStatusToJSON(object: ProposalStatus): string { + switch (object) { + case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: + return "PROPOSAL_STATUS_UNSPECIFIED"; + + case ProposalStatus.PROPOSAL_STATUS_SUBMITTED: + return "PROPOSAL_STATUS_SUBMITTED"; + + case ProposalStatus.PROPOSAL_STATUS_CLOSED: + return "PROPOSAL_STATUS_CLOSED"; + + case ProposalStatus.PROPOSAL_STATUS_ABORTED: + return "PROPOSAL_STATUS_ABORTED"; + + case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: + return "PROPOSAL_STATUS_WITHDRAWN"; + + case ProposalStatus.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ProposalResult defines types of proposal results. */ + +export enum ProposalResult { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} +/** ProposalResult defines types of proposal results. */ + +export enum ProposalResultSDKType { + /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ + PROPOSAL_RESULT_UNSPECIFIED = 0, + + /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ + PROPOSAL_RESULT_UNFINALIZED = 1, + + /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ + PROPOSAL_RESULT_ACCEPTED = 2, + + /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ + PROPOSAL_RESULT_REJECTED = 3, + UNRECOGNIZED = -1, +} +export function proposalResultFromJSON(object: any): ProposalResult { + switch (object) { + case 0: + case "PROPOSAL_RESULT_UNSPECIFIED": + return ProposalResult.PROPOSAL_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_RESULT_UNFINALIZED": + return ProposalResult.PROPOSAL_RESULT_UNFINALIZED; + + case 2: + case "PROPOSAL_RESULT_ACCEPTED": + return ProposalResult.PROPOSAL_RESULT_ACCEPTED; + + case 3: + case "PROPOSAL_RESULT_REJECTED": + return ProposalResult.PROPOSAL_RESULT_REJECTED; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalResult.UNRECOGNIZED; + } +} +export function proposalResultToJSON(object: ProposalResult): string { + switch (object) { + case ProposalResult.PROPOSAL_RESULT_UNSPECIFIED: + return "PROPOSAL_RESULT_UNSPECIFIED"; + + case ProposalResult.PROPOSAL_RESULT_UNFINALIZED: + return "PROPOSAL_RESULT_UNFINALIZED"; + + case ProposalResult.PROPOSAL_RESULT_ACCEPTED: + return "PROPOSAL_RESULT_ACCEPTED"; + + case ProposalResult.PROPOSAL_RESULT_REJECTED: + return "PROPOSAL_RESULT_REJECTED"; + + case ProposalResult.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ProposalExecutorResult defines types of proposal executor results. */ + +export 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, +} +/** ProposalExecutorResult defines types of proposal executor results. */ + +export enum ProposalExecutorResultSDKType { + /** 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 function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { + switch (object) { + case 0: + case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED; + + case 1: + case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN; + + case 2: + case "PROPOSAL_EXECUTOR_RESULT_SUCCESS": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS; + + case 3: + case "PROPOSAL_EXECUTOR_RESULT_FAILURE": + return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE; + + case -1: + case "UNRECOGNIZED": + default: + return ProposalExecutorResult.UNRECOGNIZED; + } +} +export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string { + switch (object) { + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: + return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN: + return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS: + return "PROPOSAL_EXECUTOR_RESULT_SUCCESS"; + + case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: + return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; + + case ProposalExecutorResult.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ + +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 to attached to the member. */ + + metadata: string; + /** added_at is a timestamp specifying when a member was added. */ + + addedAt?: Date | undefined; +} +/** + * Member represents a group member with an account address, + * non-zero weight and metadata. + */ + +export interface MemberSDKType { + /** 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 to attached to the member. */ + + metadata: string; + /** added_at is a timestamp specifying when a member was added. */ + + added_at?: Date | undefined; +} +/** Members defines a repeated slice of Member objects. */ + +export interface Members { + /** members is the list of members. */ + members: Member[]; +} +/** Members defines a repeated slice of Member objects. */ + +export interface MembersSDKType { + /** members is the list of members. */ + members: MemberSDKType[]; +} +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + +export interface ThresholdDecisionPolicy { + /** 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 | undefined; +} +/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ + +export interface ThresholdDecisionPolicySDKType { + /** 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?: DecisionPolicyWindowsSDKType | undefined; +} +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ + +export interface PercentageDecisionPolicy { + /** 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 | undefined; +} +/** PercentageDecisionPolicy implements the DecisionPolicy interface */ + +export interface PercentageDecisionPolicySDKType { + /** 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?: DecisionPolicyWindowsSDKType | undefined; +} +/** 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 | undefined; + /** + * 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 | undefined; +} +/** DecisionPolicyWindows defines the different windows for voting and execution. */ + +export interface DecisionPolicyWindowsSDKType { + /** + * 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?: DurationSDKType | undefined; + /** + * 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?: DurationSDKType | undefined; +} +/** 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?: Date | undefined; +} +/** GroupInfo represents the high-level on-chain information for a group. */ + +export interface GroupInfoSDKType { + /** 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. */ + + total_weight: string; + /** created_at is a timestamp specifying when a group was created. */ + + created_at?: Date | undefined; +} +/** 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 | undefined; +} +/** GroupMember represents the relationship between a group and a member. */ + +export interface GroupMemberSDKType { + /** group_id is the unique ID of the group. */ + group_id: Long; + /** member is the member data. */ + + member?: MemberSDKType | undefined; +} +/** 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?: Any | undefined; + /** created_at is a timestamp specifying when a group policy was created. */ + + createdAt?: Date | undefined; +} +/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ + +export interface GroupPolicyInfoSDKType { + /** address is the account address of group policy. */ + address: string; + /** group_id is the unique ID of the group. */ + + group_id: 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. */ + + decision_policy?: AnySDKType | undefined; + /** created_at is a timestamp specifying when a group policy was created. */ + + created_at?: Date | undefined; +} +/** + * 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; + /** address is the account address of 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. */ + + submitTime?: Date | undefined; + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + + groupVersion: Long; + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + + groupPolicyVersion: Long; + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + + status: ProposalStatus; + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + + result: ProposalResult; + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + + finalTallyResult?: TallyResult | undefined; + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + + votingPeriodEnd?: Date | undefined; + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + + executorResult: ProposalExecutorResult; + /** messages is a list of Msgs that will be executed if the proposal passes. */ + + messages: Any[]; +} +/** + * 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 is the unique id of the proposal. */ + id: Long; + /** address is the account address of 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?: Date | undefined; + /** + * group_version tracks the version of the group that this proposal corresponds to. + * When group membership is changed, existing proposals from previous group versions will become invalid. + */ + + group_version: Long; + /** + * group_policy_version tracks the version of the group policy that this proposal corresponds to. + * When a decision policy is changed, existing proposals from previous policy versions will become invalid. + */ + + group_policy_version: Long; + /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ + + status: ProposalStatusSDKType; + /** + * result is the final result based on the votes and election rule. Initial value is unfinalized. + * The result is persisted so that clients can always rely on this state and not have to replicate the logic. + */ + + result: ProposalResultSDKType; + /** + * final_tally_result contains the sums of all weighted votes for this + * proposal for each vote option, after tallying. When querying a proposal + * via gRPC, this field is not populated until the proposal's voting period + * has ended. + */ + + final_tally_result?: TallyResultSDKType | undefined; + /** + * 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`, as well + * as `status` and `result` fields will be accordingly updated. + */ + + voting_period_end?: Date | undefined; + /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ + + executor_result: ProposalExecutorResultSDKType; + /** messages is a list of Msgs that will be executed if the proposal passes. */ + + 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 is the weighted sum of no votes. */ + + noCount: string; + /** no_with_veto_count is the weighted sum of veto. */ + + noWithVetoCount: string; +} +/** TallyResult represents the sum of weighted votes for each vote option. */ + +export interface TallyResultSDKType { + /** yes_count is the weighted sum of yes votes. */ + yes_count: string; + /** abstain_count is the weighted sum of abstainers. */ + + abstain_count: string; + /** no 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; +} +/** 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?: Date | undefined; +} +/** Vote represents a vote for a proposal. */ + +export interface VoteSDKType { + /** proposal is the unique ID of the proposal. */ + proposal_id: Long; + /** voter is the account address of the voter. */ + + voter: string; + /** option is the voter's choice on the proposal. */ + + option: VoteOptionSDKType; + /** metadata is any arbitrary metadata to attached to the vote. */ + + metadata: string; + /** submit_time is the timestamp when the vote was submitted. */ + + submit_time?: Date | undefined; +} + +function createBaseMember(): Member { + return { + address: "", + weight: "", + metadata: "", + addedAt: undefined + }; +} + +export const Member = { + encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.weight !== "") { + writer.uint32(18).string(message.weight); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (message.addedAt !== undefined) { + Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Member { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.weight = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Member { + const message = createBaseMember(); + message.address = object.address ?? ""; + message.weight = object.weight ?? ""; + message.metadata = object.metadata ?? ""; + message.addedAt = object.addedAt ?? undefined; + return message; + } + +}; + +function createBaseMembers(): Members { + return { + members: [] + }; +} + +export const Members = { + encode(message: Members, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.members) { + Member.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Members { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMembers(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.members.push(Member.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Members { + const message = createBaseMembers(); + message.members = object.members?.map(e => Member.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { + return { + threshold: "", + windows: undefined + }; +} + +export const ThresholdDecisionPolicy = { + encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.threshold !== "") { + writer.uint32(10).string(message.threshold); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseThresholdDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.threshold = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ThresholdDecisionPolicy { + const message = createBaseThresholdDecisionPolicy(); + message.threshold = object.threshold ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { + return { + percentage: "", + windows: undefined + }; +} + +export const PercentageDecisionPolicy = { + encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.percentage !== "") { + writer.uint32(10).string(message.percentage); + } + + if (message.windows !== undefined) { + DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePercentageDecisionPolicy(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.percentage = reader.string(); + break; + + case 2: + message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PercentageDecisionPolicy { + const message = createBasePercentageDecisionPolicy(); + message.percentage = object.percentage ?? ""; + message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined; + return message; + } + +}; + +function createBaseDecisionPolicyWindows(): DecisionPolicyWindows { + return { + votingPeriod: undefined, + minExecutionPeriod: undefined + }; +} + +export const DecisionPolicyWindows = { + encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.votingPeriod !== undefined) { + Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); + } + + if (message.minExecutionPeriod !== undefined) { + Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDecisionPolicyWindows(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.votingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.minExecutionPeriod = Duration.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DecisionPolicyWindows { + const message = createBaseDecisionPolicyWindows(); + message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; + message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined; + return message; + } + +}; + +function createBaseGroupInfo(): GroupInfo { + return { + id: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + totalWeight: "", + createdAt: undefined + }; +} + +export const GroupInfo = { + encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(32).uint64(message.version); + } + + if (message.totalWeight !== "") { + writer.uint32(42).string(message.totalWeight); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.version = (reader.uint64() as Long); + break; + + case 5: + message.totalWeight = reader.string(); + break; + + case 6: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GroupInfo { + const message = createBaseGroupInfo(); + message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.totalWeight = object.totalWeight ?? ""; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseGroupMember(): GroupMember { + return { + groupId: Long.UZERO, + member: undefined + }; +} + +export const GroupMember = { + encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.groupId.isZero()) { + writer.uint32(8).uint64(message.groupId); + } + + if (message.member !== undefined) { + Member.encode(message.member, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupMember(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.groupId = (reader.uint64() as Long); + break; + + case 2: + message.member = Member.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GroupMember { + const message = createBaseGroupMember(); + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined; + return message; + } + +}; + +function createBaseGroupPolicyInfo(): GroupPolicyInfo { + return { + address: "", + groupId: Long.UZERO, + admin: "", + metadata: "", + version: Long.UZERO, + decisionPolicy: undefined, + createdAt: undefined + }; +} + +export const GroupPolicyInfo = { + encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.groupId.isZero()) { + writer.uint32(16).uint64(message.groupId); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (!message.version.isZero()) { + writer.uint32(40).uint64(message.version); + } + + if (message.decisionPolicy !== undefined) { + Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim(); + } + + if (message.createdAt !== undefined) { + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGroupPolicyInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.groupId = (reader.uint64() as Long); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.version = (reader.uint64() as Long); + break; + + case 6: + message.decisionPolicy = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GroupPolicyInfo { + const message = createBaseGroupPolicyInfo(); + message.address = object.address ?? ""; + message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO; + message.admin = object.admin ?? ""; + message.metadata = object.metadata ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; + message.createdAt = object.createdAt ?? undefined; + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + id: Long.UZERO, + address: "", + metadata: "", + proposers: [], + submitTime: undefined, + groupVersion: Long.UZERO, + groupPolicyVersion: Long.UZERO, + status: 0, + result: 0, + finalTallyResult: undefined, + votingPeriodEnd: undefined, + executorResult: 0, + messages: [] + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.id.isZero()) { + writer.uint32(8).uint64(message.id); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + if (message.metadata !== "") { + writer.uint32(26).string(message.metadata); + } + + for (const v of message.proposers) { + writer.uint32(34).string(v!); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + if (!message.groupVersion.isZero()) { + writer.uint32(48).uint64(message.groupVersion); + } + + if (!message.groupPolicyVersion.isZero()) { + writer.uint32(56).uint64(message.groupPolicyVersion); + } + + if (message.status !== 0) { + writer.uint32(64).int32(message.status); + } + + if (message.result !== 0) { + writer.uint32(72).int32(message.result); + } + + if (message.finalTallyResult !== undefined) { + TallyResult.encode(message.finalTallyResult, writer.uint32(82).fork()).ldelim(); + } + + if (message.votingPeriodEnd !== undefined) { + Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(90).fork()).ldelim(); + } + + if (message.executorResult !== 0) { + writer.uint32(96).int32(message.executorResult); + } + + for (const v of message.messages) { + Any.encode(v!, writer.uint32(106).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = (reader.uint64() as Long); + break; + + case 2: + message.address = reader.string(); + break; + + case 3: + message.metadata = reader.string(); + break; + + case 4: + message.proposers.push(reader.string()); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.groupVersion = (reader.uint64() as Long); + break; + + case 7: + message.groupPolicyVersion = (reader.uint64() as Long); + break; + + case 8: + message.status = (reader.int32() as any); + break; + + case 9: + message.result = (reader.int32() as any); + break; + + case 10: + message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); + break; + + case 11: + message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 12: + message.executorResult = (reader.int32() as any); + break; + + case 13: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO; + message.address = object.address ?? ""; + message.metadata = object.metadata ?? ""; + message.proposers = object.proposers?.map(e => e) || []; + message.submitTime = object.submitTime ?? undefined; + message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? Long.fromValue(object.groupVersion) : Long.UZERO; + message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO; + message.status = object.status ?? 0; + message.result = object.result ?? 0; + message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; + message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; + message.executorResult = object.executorResult ?? 0; + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseTallyResult(): TallyResult { + return { + yesCount: "", + abstainCount: "", + noCount: "", + noWithVetoCount: "" + }; +} + +export const TallyResult = { + encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.yesCount !== "") { + writer.uint32(10).string(message.yesCount); + } + + if (message.abstainCount !== "") { + writer.uint32(18).string(message.abstainCount); + } + + if (message.noCount !== "") { + writer.uint32(26).string(message.noCount); + } + + if (message.noWithVetoCount !== "") { + writer.uint32(34).string(message.noWithVetoCount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTallyResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.yesCount = reader.string(); + break; + + case 2: + message.abstainCount = reader.string(); + break; + + case 3: + message.noCount = reader.string(); + break; + + case 4: + message.noWithVetoCount = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TallyResult { + const message = createBaseTallyResult(); + message.yesCount = object.yesCount ?? ""; + message.abstainCount = object.abstainCount ?? ""; + message.noCount = object.noCount ?? ""; + message.noWithVetoCount = object.noWithVetoCount ?? ""; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + proposalId: Long.UZERO, + voter: "", + option: 0, + metadata: "", + submitTime: undefined + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.proposalId.isZero()) { + writer.uint32(8).uint64(message.proposalId); + } + + if (message.voter !== "") { + writer.uint32(18).string(message.voter); + } + + if (message.option !== 0) { + writer.uint32(24).int32(message.option); + } + + if (message.metadata !== "") { + writer.uint32(34).string(message.metadata); + } + + if (message.submitTime !== undefined) { + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proposalId = (reader.uint64() as Long); + break; + + case 2: + message.voter = reader.string(); + break; + + case 3: + message.option = (reader.int32() as any); + break; + + case 4: + message.metadata = reader.string(); + break; + + case 5: + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO; + message.voter = object.voter ?? ""; + message.option = object.option ?? 0; + message.metadata = object.metadata ?? ""; + message.submitTime = object.submitTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/lcd.ts b/examples/telescope/codegen/cosmos/lcd.ts new file mode 100644 index 000000000..954fcdf89 --- /dev/null +++ b/examples/telescope/codegen/cosmos/lcd.ts @@ -0,0 +1,99 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + evidence: { + v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + feegrant: { + v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + gov: { + v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("./tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts new file mode 100644 index 000000000..adfdc59fb --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/genesis.ts @@ -0,0 +1,75 @@ +import { Minter, MinterSDKType, Params, 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 | undefined; + /** params defines all the paramaters of the module. */ + + params?: Params | undefined; +} +/** GenesisState defines the mint module's genesis state. */ + +export interface GenesisStateSDKType { + /** minter is a space for holding current inflation information. */ + minter?: MinterSDKType | undefined; + /** params defines all the paramaters of the module. */ + + params?: ParamsSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + minter: undefined, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.minter !== undefined) { + Minter.encode(message.minter, writer.uint32(10).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.minter = Minter.decode(reader, reader.uint32()); + break; + + case 2: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.minter = object.minter !== undefined && object.minter !== null ? Minter.fromPartial(object.minter) : undefined; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts new file mode 100644 index 000000000..a51bb9df2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/mint.ts @@ -0,0 +1,212 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** Minter represents the minting state. */ + +export interface Minter { + /** current annual inflation rate */ + inflation: string; + /** current annual expected provisions */ + + annualProvisions: string; +} +/** Minter represents the minting state. */ + +export interface MinterSDKType { + /** current annual inflation rate */ + inflation: string; + /** current annual expected provisions */ + + 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; +} +/** Params holds parameters for the mint module. */ + +export interface ParamsSDKType { + /** 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: Long; +} + +function createBaseMinter(): Minter { + return { + inflation: "", + annualProvisions: "" + }; +} + +export const Minter = { + encode(message: Minter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation !== "") { + writer.uint32(10).string(message.inflation); + } + + if (message.annualProvisions !== "") { + writer.uint32(18).string(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Minter { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMinter(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.string(); + break; + + case 2: + message.annualProvisions = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Minter { + const message = createBaseMinter(); + message.inflation = object.inflation ?? ""; + message.annualProvisions = object.annualProvisions ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + mintDenom: "", + inflationRateChange: "", + inflationMax: "", + inflationMin: "", + goalBonded: "", + blocksPerYear: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mintDenom !== "") { + writer.uint32(10).string(message.mintDenom); + } + + if (message.inflationRateChange !== "") { + writer.uint32(18).string(message.inflationRateChange); + } + + if (message.inflationMax !== "") { + writer.uint32(26).string(message.inflationMax); + } + + if (message.inflationMin !== "") { + writer.uint32(34).string(message.inflationMin); + } + + if (message.goalBonded !== "") { + writer.uint32(42).string(message.goalBonded); + } + + if (!message.blocksPerYear.isZero()) { + writer.uint32(48).uint64(message.blocksPerYear); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.mintDenom = reader.string(); + break; + + case 2: + message.inflationRateChange = reader.string(); + break; + + case 3: + message.inflationMax = reader.string(); + break; + + case 4: + message.inflationMin = reader.string(); + break; + + case 5: + message.goalBonded = reader.string(); + break; + + case 6: + message.blocksPerYear = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.mintDenom = object.mintDenom ?? ""; + message.inflationRateChange = object.inflationRateChange ?? ""; + message.inflationMax = object.inflationMax ?? ""; + message.inflationMin = object.inflationMin ?? ""; + message.goalBonded = object.goalBonded ?? ""; + message.blocksPerYear = object.blocksPerYear !== undefined && object.blocksPerYear !== null ? Long.fromValue(object.blocksPerYear) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts new file mode 100644 index 000000000..920860407 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.lcd.ts @@ -0,0 +1,38 @@ +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + /* Params returns the total set of minting parameters. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/params`; + return await this.req.get(endpoint); + } + /* Inflation returns the current minting inflation value. */ + + + async inflation(_params: QueryInflationRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/inflation`; + return await this.req.get(endpoint); + } + /* AnnualProvisions current minting annual provisions value. */ + + + async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { + const endpoint = `cosmos/mint/v1beta1/annual_provisions`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..4e7ca73e5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts @@ -0,0 +1,63 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.inflation = this.inflation.bind(this); + this.annualProvisions = this.annualProvisions.bind(this); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + inflation(request: QueryInflationRequest = {}): Promise { + const data = QueryInflationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "Inflation", data); + return promise.then(data => QueryInflationResponse.decode(new _m0.Reader(data))); + } + + annualProvisions(request: QueryAnnualProvisionsRequest = {}): Promise { + const data = QueryAnnualProvisionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.mint.v1beta1.Query", "AnnualProvisions", data); + return promise.then(data => QueryAnnualProvisionsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + inflation(request?: QueryInflationRequest): Promise { + return queryService.inflation(request); + }, + + annualProvisions(request?: QueryAnnualProvisionsRequest): Promise { + return queryService.annualProvisions(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts new file mode 100644 index 000000000..789baf002 --- /dev/null +++ b/examples/telescope/codegen/cosmos/mint/v1beta1/query.ts @@ -0,0 +1,311 @@ +import { Params, ParamsSDKType } from "./mint"; +import * as _m0 from "protobufjs/minimal"; +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params?: ParamsSDKType | undefined; +} +/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ + +export interface QueryInflationRequest {} +/** 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; +} +/** + * QueryInflationResponse is the response type for the Query/Inflation RPC + * method. + */ + +export interface QueryInflationResponseSDKType { + /** inflation is the current minting inflation value. */ + inflation: Uint8Array; +} +/** + * QueryAnnualProvisionsRequest is the request type for the + * Query/AnnualProvisions RPC method. + */ + +export interface QueryAnnualProvisionsRequest {} +/** + * 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; +} +/** + * QueryAnnualProvisionsResponse is the response type for the + * Query/AnnualProvisions RPC method. + */ + +export interface QueryAnnualProvisionsResponseSDKType { + /** annual_provisions is the current minting annual provisions value. */ + annual_provisions: Uint8Array; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQueryInflationRequest(): QueryInflationRequest { + return {}; +} + +export const QueryInflationRequest = { + encode(_: QueryInflationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryInflationRequest { + const message = createBaseQueryInflationRequest(); + return message; + } + +}; + +function createBaseQueryInflationResponse(): QueryInflationResponse { + return { + inflation: new Uint8Array() + }; +} + +export const QueryInflationResponse = { + encode(message: QueryInflationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.inflation.length !== 0) { + writer.uint32(10).bytes(message.inflation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryInflationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.inflation = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryInflationResponse { + const message = createBaseQueryInflationResponse(); + message.inflation = object.inflation ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsRequest(): QueryAnnualProvisionsRequest { + return {}; +} + +export const QueryAnnualProvisionsRequest = { + encode(_: QueryAnnualProvisionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryAnnualProvisionsRequest { + const message = createBaseQueryAnnualProvisionsRequest(); + return message; + } + +}; + +function createBaseQueryAnnualProvisionsResponse(): QueryAnnualProvisionsResponse { + return { + annualProvisions: new Uint8Array() + }; +} + +export const QueryAnnualProvisionsResponse = { + encode(message: QueryAnnualProvisionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.annualProvisions.length !== 0) { + writer.uint32(10).bytes(message.annualProvisions); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAnnualProvisionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annualProvisions = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAnnualProvisionsResponse { + const message = createBaseQueryAnnualProvisionsResponse(); + message.annualProvisions = object.annualProvisions ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/msg/v1/msg.ts b/examples/telescope/codegen/cosmos/msg/v1/msg.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/cosmos/msg/v1/msg.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts new file mode 100644 index 000000000..dac30f74b --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/event.ts @@ -0,0 +1,250 @@ +import * as _m0 from "protobufjs/minimal"; +/** EventSend is emitted on Msg/Send */ + +export interface EventSend { + classId: string; + id: string; + sender: string; + receiver: string; +} +/** 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; +} +/** 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; +} +/** 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 = { + encode(message: EventSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseEventMint(): EventMint { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventMint = { + encode(message: EventMint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventMint { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): EventMint { + const message = createBaseEventMint(); + message.classId = object.classId ?? ""; + message.id = object.id ?? ""; + message.owner = object.owner ?? ""; + return message; + } + +}; + +function createBaseEventBurn(): EventBurn { + return { + classId: "", + id: "", + owner: "" + }; +} + +export const EventBurn = { + encode(message: EventBurn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): EventBurn { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): EventBurn { + const message = createBaseEventBurn(); + message.classId = object.classId ?? ""; + message.id = object.id ?? ""; + message.owner = object.owner ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts new file mode 100644 index 000000000..879eeacce --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/genesis.ts @@ -0,0 +1,144 @@ +import { Class, ClassSDKType, NFT, 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[]; +} +/** GenesisState defines the nft module's genesis state. */ + +export interface GenesisStateSDKType { + /** class defines the class of the nft type. */ + 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[]; +} +/** Entry Defines all nft owned by a person */ + +export interface EntrySDKType { + /** owner is the owner address of the following nft */ + owner: string; + /** nfts is a group of nfts of the same owner */ + + nfts: NFTSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + classes: [], + entries: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseEntry(): Entry { + return { + owner: "", + nfts: [] + }; +} + +export const Entry = { + encode(message: Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Entry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): Entry { + const message = createBaseEntry(); + message.owner = object.owner ?? ""; + message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts new file mode 100644 index 000000000..930b93118 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/nft.ts @@ -0,0 +1,276 @@ +import { Any, 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 | undefined; +} +/** Class defines the class of the nft type. */ + +export interface ClassSDKType { + /** 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?: AnySDKType | undefined; +} +/** 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 | undefined; +} +/** NFT defines the NFT. */ + +export interface NFTSDKType { + /** 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?: AnySDKType | undefined; +} + +function createBaseClass(): Class { + return { + id: "", + name: "", + symbol: "", + description: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const Class = { + encode(message: Class, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Class { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseNFT(): NFT { + return { + classId: "", + id: "", + uri: "", + uriHash: "", + data: undefined + }; +} + +export const NFT = { + encode(message: NFT, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): NFT { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts new file mode 100644 index 000000000..ca3a1dc1e --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.lcd.ts @@ -0,0 +1,98 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..72e638152 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts @@ -0,0 +1,124 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts new file mode 100644 index 000000000..8f79fa88b --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/query.ts @@ -0,0 +1,860 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ + +export interface QueryBalanceRequest { + classId: string; + owner: string; +} +/** 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; +} +/** 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; +} +/** 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; +} +/** 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; +} +/** 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; +} +/** 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 | undefined; +} +/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ + +export interface QueryNFTsRequestSDKType { + class_id: string; + owner: string; + pagination?: PageRequestSDKType | undefined; +} +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ + +export interface QueryNFTsResponse { + nfts: NFT[]; + pagination?: PageResponse | undefined; +} +/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ + +export interface QueryNFTsResponseSDKType { + nfts: NFTSDKType[]; + pagination?: PageResponseSDKType | undefined; +} +/** QueryNFTRequest is the request type for the Query/NFT RPC method */ + +export interface QueryNFTRequest { + classId: string; + id: string; +} +/** 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 | undefined; +} +/** QueryNFTResponse is the response type for the Query/NFT RPC method */ + +export interface QueryNFTResponseSDKType { + nft?: NFTSDKType | undefined; +} +/** QueryClassRequest is the request type for the Query/Class RPC method */ + +export interface QueryClassRequest { + classId: string; +} +/** 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 | undefined; +} +/** QueryClassResponse is the response type for the Query/Class RPC method */ + +export interface QueryClassResponseSDKType { + class?: ClassSDKType | undefined; +} +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ + +export interface QueryClassesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** QueryClassesRequest is the request type for the Query/Classes RPC method */ + +export interface QueryClassesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ + +export interface QueryClassesResponse { + classes: Class[]; + pagination?: PageResponse | undefined; +} +/** QueryClassesResponse is the response type for the Query/Classes RPC method */ + +export interface QueryClassesResponseSDKType { + classes: ClassSDKType[]; + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryBalanceRequest(): QueryBalanceRequest { + return { + classId: "", + owner: "" + }; +} + +export const QueryBalanceRequest = { + encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.owner !== "") { + writer.uint32(18).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryBalanceRequest { + const message = createBaseQueryBalanceRequest(); + message.classId = object.classId ?? ""; + message.owner = object.owner ?? ""; + return message; + } + +}; + +function createBaseQueryBalanceResponse(): QueryBalanceResponse { + return { + amount: Long.UZERO + }; +} + +export const QueryBalanceResponse = { + encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryBalanceResponse { + const message = createBaseQueryBalanceResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryOwnerRequest(): QueryOwnerRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryOwnerRequest = { + encode(message: QueryOwnerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryOwnerRequest { + const message = createBaseQueryOwnerRequest(); + message.classId = object.classId ?? ""; + message.id = object.id ?? ""; + return message; + } + +}; + +function createBaseQueryOwnerResponse(): QueryOwnerResponse { + return { + owner: "" + }; +} + +export const QueryOwnerResponse = { + encode(message: QueryOwnerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.owner !== "") { + writer.uint32(10).string(message.owner); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryOwnerResponse { + const message = createBaseQueryOwnerResponse(); + message.owner = object.owner ?? ""; + return message; + } + +}; + +function createBaseQuerySupplyRequest(): QuerySupplyRequest { + return { + classId: "" + }; +} + +export const QuerySupplyRequest = { + encode(message: QuerySupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QuerySupplyRequest { + const message = createBaseQuerySupplyRequest(); + message.classId = object.classId ?? ""; + return message; + } + +}; + +function createBaseQuerySupplyResponse(): QuerySupplyResponse { + return { + amount: Long.UZERO + }; +} + +export const QuerySupplyResponse = { + encode(message: QuerySupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.amount.isZero()) { + writer.uint32(8).uint64(message.amount); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySupplyResponse { + const message = createBaseQuerySupplyResponse(); + message.amount = object.amount !== undefined && object.amount !== null ? Long.fromValue(object.amount) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryNFTsRequest(): QueryNFTsRequest { + return { + classId: "", + owner: "", + pagination: undefined + }; +} + +export const QueryNFTsRequest = { + encode(message: QueryNFTsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseQueryNFTsResponse(): QueryNFTsResponse { + return { + nfts: [], + pagination: undefined + }; +} + +export const QueryNFTsResponse = { + encode(message: QueryNFTsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseQueryNFTRequest(): QueryNFTRequest { + return { + classId: "", + id: "" + }; +} + +export const QueryNFTRequest = { + encode(message: QueryNFTRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + if (message.id !== "") { + writer.uint32(18).string(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryNFTRequest { + const message = createBaseQueryNFTRequest(); + message.classId = object.classId ?? ""; + message.id = object.id ?? ""; + return message; + } + +}; + +function createBaseQueryNFTResponse(): QueryNFTResponse { + return { + nft: undefined + }; +} + +export const QueryNFTResponse = { + encode(message: QueryNFTResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.nft !== undefined) { + NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryNFTResponse { + const message = createBaseQueryNFTResponse(); + message.nft = object.nft !== undefined && object.nft !== null ? NFT.fromPartial(object.nft) : undefined; + return message; + } + +}; + +function createBaseQueryClassRequest(): QueryClassRequest { + return { + classId: "" + }; +} + +export const QueryClassRequest = { + encode(message: QueryClassRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.classId !== "") { + writer.uint32(10).string(message.classId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryClassRequest { + const message = createBaseQueryClassRequest(); + message.classId = object.classId ?? ""; + return message; + } + +}; + +function createBaseQueryClassResponse(): QueryClassResponse { + return { + class: undefined + }; +} + +export const QueryClassResponse = { + encode(message: QueryClassResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.class !== undefined) { + Class.encode(message.class, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryClassResponse { + const message = createBaseQueryClassResponse(); + message.class = object.class !== undefined && object.class !== null ? Class.fromPartial(object.class) : undefined; + return message; + } + +}; + +function createBaseQueryClassesRequest(): QueryClassesRequest { + return { + pagination: undefined + }; +} + +export const QueryClassesRequest = { + encode(message: QueryClassesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryClassesRequest { + const message = createBaseQueryClassesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryClassesResponse(): QueryClassesResponse { + return { + classes: [], + pagination: undefined + }; +} + +export const QueryClassesResponse = { + encode(message: QueryClassesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts new file mode 100644 index 000000000..68f2beb79 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.amino.ts @@ -0,0 +1,42 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgSend } from "./tx"; +export interface AminoMsgSend extends AminoMsg { + type: "cosmos-sdk/MsgNFTSend"; + value: { + class_id: string; + id: string; + sender: string; + receiver: string; + }; +} +export const AminoConverter = { + "/cosmos.nft.v1beta1.MsgSend": { + aminoType: "cosmos-sdk/MsgNFTSend", + toAmino: ({ + classId, + id, + sender, + receiver + }: MsgSend): AminoMsgSend["value"] => { + return { + class_id: classId, + id, + sender, + receiver + }; + }, + fromAmino: ({ + class_id, + id, + sender, + receiver + }: AminoMsgSend["value"]): MsgSend => { + return { + classId: class_id, + id, + sender, + receiver + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts new file mode 100644 index 000000000..0d9307539 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + send(value: MsgSend) { + return { + typeUrl: "/cosmos.nft.v1beta1.MsgSend", + value: MsgSend.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..b6ad14c77 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,24 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts new file mode 100644 index 000000000..987f40d85 --- /dev/null +++ b/examples/telescope/codegen/cosmos/nft/v1beta1/tx.ts @@ -0,0 +1,146 @@ +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; +} +/** MsgSend represents a message to send a nft from one account to another account. */ + +export interface MsgSendSDKType { + /** 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; +} +/** MsgSendResponse defines the Msg/Send response type. */ + +export interface MsgSendResponse {} +/** MsgSendResponse defines the Msg/Send response type. */ + +export interface MsgSendResponseSDKType {} + +function createBaseMsgSend(): MsgSend { + return { + classId: "", + id: "", + sender: "", + receiver: "" + }; +} + +export const MsgSend = { + encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): MsgSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseMsgSendResponse(): MsgSendResponse { + return {}; +} + +export const MsgSendResponse = { + encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): MsgSendResponse { + const message = createBaseMsgSendResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1/orm.ts b/examples/telescope/codegen/cosmos/orm/v1/orm.ts new file mode 100644 index 000000000..7b2a45d0a --- /dev/null +++ b/examples/telescope/codegen/cosmos/orm/v1/orm.ts @@ -0,0 +1,423 @@ +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 | undefined; + /** 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; +} +/** TableDescriptor describes an ORM table. */ + +export interface TableDescriptorSDKType { + /** primary_key defines the primary key for the table. */ + primary_key?: PrimaryKeyDescriptorSDKType | undefined; + /** index defines one or more secondary indexes. */ + + index: SecondaryIndexDescriptorSDKType[]; + /** + * 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; +} +/** 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; +} +/** PrimaryKeyDescriptor describes a table primary key. */ + +export interface PrimaryKeyDescriptorSDKType { + /** + * 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; +} +/** 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 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; +} +/** PrimaryKeyDescriptor describes a table secondary index. */ + +export interface SecondaryIndexDescriptorSDKType { + /** + * 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 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; +} +/** 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; +} +/** TableDescriptor describes an ORM singleton table which has at most one instance. */ + +export interface SingletonDescriptorSDKType { + /** + * 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; +} + +function createBaseTableDescriptor(): TableDescriptor { + return { + primaryKey: undefined, + index: [], + id: 0 + }; +} + +export const TableDescriptor = { + encode(message: TableDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.primaryKey !== undefined) { + PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.index) { + SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.id !== 0) { + writer.uint32(24).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTableDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32()); + break; + + case 2: + message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32())); + break; + + case 3: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TableDescriptor { + const message = createBaseTableDescriptor(); + message.primaryKey = object.primaryKey !== undefined && object.primaryKey !== null ? PrimaryKeyDescriptor.fromPartial(object.primaryKey) : undefined; + message.index = object.index?.map(e => SecondaryIndexDescriptor.fromPartial(e)) || []; + message.id = object.id ?? 0; + return message; + } + +}; + +function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor { + return { + fields: "", + autoIncrement: false + }; +} + +export const PrimaryKeyDescriptor = { + encode(message: PrimaryKeyDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.autoIncrement === true) { + writer.uint32(16).bool(message.autoIncrement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePrimaryKeyDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.autoIncrement = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PrimaryKeyDescriptor { + const message = createBasePrimaryKeyDescriptor(); + message.fields = object.fields ?? ""; + message.autoIncrement = object.autoIncrement ?? false; + return message; + } + +}; + +function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor { + return { + fields: "", + id: 0, + unique: false + }; +} + +export const SecondaryIndexDescriptor = { + encode(message: SecondaryIndexDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fields !== "") { + writer.uint32(10).string(message.fields); + } + + if (message.id !== 0) { + writer.uint32(16).uint32(message.id); + } + + if (message.unique === true) { + writer.uint32(24).bool(message.unique); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSecondaryIndexDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fields = reader.string(); + break; + + case 2: + message.id = reader.uint32(); + break; + + case 3: + message.unique = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SecondaryIndexDescriptor { + const message = createBaseSecondaryIndexDescriptor(); + message.fields = object.fields ?? ""; + message.id = object.id ?? 0; + message.unique = object.unique ?? false; + return message; + } + +}; + +function createBaseSingletonDescriptor(): SingletonDescriptor { + return { + id: 0 + }; +} + +export const SingletonDescriptor = { + encode(message: SingletonDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== 0) { + writer.uint32(8).uint32(message.id); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSingletonDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SingletonDescriptor { + const message = createBaseSingletonDescriptor(); + message.id = object.id ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts new file mode 100644 index 000000000..f2ea65fc1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/orm/v1alpha1/schema.ts @@ -0,0 +1,335 @@ +import * as _m0 from "protobufjs/minimal"; +/** 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, +} +/** StorageType */ + +export enum StorageTypeSDKType { + /** + * 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 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; +} +/** ModuleSchemaDescriptor describe's a module's ORM schema. */ + +export interface ModuleSchemaDescriptorSDKType { + schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; + /** + * prefix is an optional prefix that precedes all keys in this module's + * store. + */ + + 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; +} +/** FileEntry describes an ORM file used in a module. */ + +export interface ModuleSchemaDescriptor_FileEntrySDKType { + /** + * 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: StorageTypeSDKType; +} + +function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { + return { + schemaFile: [], + prefix: new Uint8Array() + }; +} + +export const ModuleSchemaDescriptor = { + encode(message: ModuleSchemaDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { + return { + id: 0, + protoFileName: "", + storageType: 0 + }; +} + +export const ModuleSchemaDescriptor_FileEntry = { + encode(message: ModuleSchemaDescriptor_FileEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/params.ts b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts new file mode 100644 index 000000000..0921dec84 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/params.ts @@ -0,0 +1,165 @@ +import * as _m0 from "protobufjs/minimal"; +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ + +export interface ParameterChangeProposal { + title: string; + description: string; + changes: ParamChange[]; +} +/** ParameterChangeProposal defines a proposal to change one or more parameters. */ + +export interface ParameterChangeProposalSDKType { + 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; +} +/** + * ParamChange defines an individual parameter change, for use in + * ParameterChangeProposal. + */ + +export interface ParamChangeSDKType { + subspace: string; + key: string; + value: string; +} + +function createBaseParameterChangeProposal(): ParameterChangeProposal { + return { + title: "", + description: "", + changes: [] + }; +} + +export const ParameterChangeProposal = { + encode(message: ParameterChangeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + for (const v of message.changes) { + ParamChange.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParameterChangeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.changes.push(ParamChange.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ParameterChangeProposal { + const message = createBaseParameterChangeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParamChange(): ParamChange { + return { + subspace: "", + key: "", + value: "" + }; +} + +export const ParamChange = { + encode(message: ParamChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + if (message.value !== "") { + writer.uint32(26).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParamChange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + case 3: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ParamChange { + const message = createBaseParamChange(); + message.subspace = object.subspace ?? ""; + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts new file mode 100644 index 000000000..7feab29f6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.lcd.ts @@ -0,0 +1,43 @@ +import { LCDClient } from "@osmonauts/lcd"; +import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); + } + /* Params queries a specific parameter of a module, given its subspace and + key. */ + + + async params(params: QueryParamsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.subspace !== "undefined") { + options.params.subspace = params.subspace; + } + + if (typeof params?.key !== "undefined") { + options.params.key = params.key; + } + + const endpoint = `cosmos/params/v1beta1/params`; + return await this.req.get(endpoint, options); + } + /* Subspaces queries for all registered subspaces and all keys for a subspace. */ + + + async subspaces(_params: QuerySubspacesRequest = {}): Promise { + const endpoint = `cosmos/params/v1beta1/subspaces`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..4f5055144 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.rpc.Query.ts @@ -0,0 +1,52 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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. */ + + subspaces(request?: QuerySubspacesRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.params = this.params.bind(this); + this.subspaces = this.subspaces.bind(this); + } + + params(request: QueryParamsRequest): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + + subspaces(request: QuerySubspacesRequest = {}): Promise { + const data = QuerySubspacesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.params.v1beta1.Query", "Subspaces", data); + return promise.then(data => QuerySubspacesResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + params(request: QueryParamsRequest): Promise { + return queryService.params(request); + }, + + subspaces(request?: QuerySubspacesRequest): Promise { + return queryService.subspaces(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/params/v1beta1/query.ts b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts new file mode 100644 index 000000000..1a6dcf007 --- /dev/null +++ b/examples/telescope/codegen/cosmos/params/v1beta1/query.ts @@ -0,0 +1,312 @@ +import { ParamChange, 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; +} +/** QueryParamsRequest is request type for the Query/Params RPC method. */ + +export interface QueryParamsRequestSDKType { + /** subspace defines the module to query the parameter for. */ + subspace: string; + /** key defines the key of the parameter in the subspace. */ + + key: string; +} +/** QueryParamsResponse is response type for the Query/Params RPC method. */ + +export interface QueryParamsResponse { + /** param defines the queried parameter. */ + param?: ParamChange | undefined; +} +/** QueryParamsResponse is response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** param defines the queried parameter. */ + param?: ParamChangeSDKType | undefined; +} +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ + +export interface QuerySubspacesRequest {} +/** + * QuerySubspacesRequest defines a request type for querying for all registered + * subspaces and all keys for a subspace. + */ + +export interface QuerySubspacesRequestSDKType {} +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ + +export interface QuerySubspacesResponse { + subspaces: Subspace[]; +} +/** + * QuerySubspacesResponse defines the response types for querying for all + * registered subspaces and all keys for a subspace. + */ + +export interface QuerySubspacesResponseSDKType { + subspaces: SubspaceSDKType[]; +} +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ + +export interface Subspace { + subspace: string; + keys: string[]; +} +/** + * Subspace defines a parameter subspace name and all the keys that exist for + * the subspace. + */ + +export interface SubspaceSDKType { + subspace: string; + keys: string[]; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return { + subspace: "", + key: "" + }; +} + +export const QueryParamsRequest = { + encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + if (message.key !== "") { + writer.uint32(18).string(message.key); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.key = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + message.subspace = object.subspace ?? ""; + message.key = object.key ?? ""; + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + param: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.param !== undefined) { + ParamChange.encode(message.param, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.param = ParamChange.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.param = object.param !== undefined && object.param !== null ? ParamChange.fromPartial(object.param) : undefined; + return message; + } + +}; + +function createBaseQuerySubspacesRequest(): QuerySubspacesRequest { + return {}; +} + +export const QuerySubspacesRequest = { + encode(_: QuerySubspacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QuerySubspacesRequest { + const message = createBaseQuerySubspacesRequest(); + return message; + } + +}; + +function createBaseQuerySubspacesResponse(): QuerySubspacesResponse { + return { + subspaces: [] + }; +} + +export const QuerySubspacesResponse = { + encode(message: QuerySubspacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.subspaces) { + Subspace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySubspacesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspaces.push(Subspace.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySubspacesResponse { + const message = createBaseQuerySubspacesResponse(); + message.subspaces = object.subspaces?.map(e => Subspace.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSubspace(): Subspace { + return { + subspace: "", + keys: [] + }; +} + +export const Subspace = { + encode(message: Subspace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.subspace !== "") { + writer.uint32(10).string(message.subspace); + } + + for (const v of message.keys) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Subspace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSubspace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.subspace = reader.string(); + break; + + case 2: + message.keys.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Subspace { + const message = createBaseSubspace(); + message.subspace = object.subspace ?? ""; + message.keys = object.keys?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.query.ts b/examples/telescope/codegen/cosmos/rpc.query.ts new file mode 100644 index 000000000..ac1a16a88 --- /dev/null +++ b/examples/telescope/codegen/cosmos/rpc.query.ts @@ -0,0 +1,68 @@ +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string | HttpEndpoint; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("./authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("./bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + base: { + 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) + }, + gov: { + v1: (await import("./gov/v1/query.rpc.Query")).createRpcQueryExtension(client), + v1beta1: (await import("./gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("./group/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("./tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("./upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.tx.ts b/examples/telescope/codegen/cosmos/rpc.tx.ts new file mode 100644 index 000000000..3a4dbf9b6 --- /dev/null +++ b/examples/telescope/codegen/cosmos/rpc.tx.ts @@ -0,0 +1,49 @@ +import { Rpc } from "../helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("./authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("./gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("./gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("./upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("./vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts new file mode 100644 index 000000000..bd1a477cd --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/genesis.ts @@ -0,0 +1,329 @@ +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** GenesisState defines the slashing module's genesis state. */ + +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params?: Params | undefined; + /** + * 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[]; +} +/** GenesisState defines the slashing module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params?: ParamsSDKType | undefined; + /** + * signing_infos represents a map between validator addresses and their + * signing infos. + */ + + signing_infos: SigningInfoSDKType[]; + /** + * missed_blocks represents a map between validator addresses and their + * missed blocks. + */ + + 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 | undefined; +} +/** SigningInfo stores validator signing info of corresponding address. */ + +export interface SigningInfoSDKType { + /** address is the validator address. */ + address: string; + /** validator_signing_info represents the signing info of this validator. */ + + validator_signing_info?: ValidatorSigningInfoSDKType | undefined; +} +/** + * 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[]; +} +/** + * ValidatorMissedBlocks contains array of missed blocks of corresponding + * address. + */ + +export interface ValidatorMissedBlocksSDKType { + /** address is the validator address. */ + address: string; + /** missed_blocks is an array of missed blocks by the validator. */ + + 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; +} +/** MissedBlock contains height and missed status as boolean. */ + +export interface MissedBlockSDKType { + /** index is the height at which the block was missed. */ + index: Long; + /** missed is the missed status. */ + + missed: boolean; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + signingInfos: [], + missedBlocks: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseSigningInfo(): SigningInfo { + return { + address: "", + validatorSigningInfo: undefined + }; +} + +export const SigningInfo = { + encode(message: SigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): SigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { + return { + address: "", + missedBlocks: [] + }; +} + +export const ValidatorMissedBlocks = { + encode(message: ValidatorMissedBlocks, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): ValidatorMissedBlocks { + const message = createBaseValidatorMissedBlocks(); + message.address = object.address ?? ""; + message.missedBlocks = object.missedBlocks?.map(e => MissedBlock.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMissedBlock(): MissedBlock { + return { + index: Long.ZERO, + missed: false + }; +} + +export const MissedBlock = { + encode(message: MissedBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.index.isZero()) { + writer.uint32(8).int64(message.index); + } + + if (message.missed === true) { + writer.uint32(16).bool(message.missed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 2: + message.missed = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MissedBlock { + const message = createBaseMissedBlock(); + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + message.missed = object.missed ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts new file mode 100644 index 000000000..346fd6cc7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.lcd.ts @@ -0,0 +1,49 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/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/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..94cb5ce46 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts @@ -0,0 +1,65 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(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 _m0.Reader(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 _m0.Reader(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/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts new file mode 100644 index 000000000..be9c60846 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/query.ts @@ -0,0 +1,360 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; +import * as _m0 from "protobufjs/minimal"; +/** QueryParamsRequest is the request type for the Query/Params RPC method */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method */ + +export interface QueryParamsResponseSDKType { + params?: ParamsSDKType | undefined; +} +/** + * 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; +} +/** + * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC + * method + */ + +export interface QuerySigningInfoRequestSDKType { + /** cons_address is the address to query signing info of */ + 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 | undefined; +} +/** + * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC + * method + */ + +export interface QuerySigningInfoResponseSDKType { + /** val_signing_info is the signing info of requested val cons address */ + val_signing_info?: ValidatorSigningInfoSDKType | undefined; +} +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ + +export interface QuerySigningInfosRequest { + pagination?: PageRequest | undefined; +} +/** + * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC + * method + */ + +export interface QuerySigningInfosRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC + * method + */ + +export interface QuerySigningInfosResponseSDKType { + /** info is the signing info of all validators */ + info: ValidatorSigningInfoSDKType[]; + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { + return { + consAddress: "" + }; +} + +export const QuerySigningInfoRequest = { + encode(message: QuerySigningInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consAddress !== "") { + writer.uint32(10).string(message.consAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QuerySigningInfoRequest { + const message = createBaseQuerySigningInfoRequest(); + message.consAddress = object.consAddress ?? ""; + return message; + } + +}; + +function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { + return { + valSigningInfo: undefined + }; +} + +export const QuerySigningInfoResponse = { + encode(message: QuerySigningInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.valSigningInfo !== undefined) { + ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QuerySigningInfoResponse { + const message = createBaseQuerySigningInfoResponse(); + message.valSigningInfo = object.valSigningInfo !== undefined && object.valSigningInfo !== null ? ValidatorSigningInfo.fromPartial(object.valSigningInfo) : undefined; + return message; + } + +}; + +function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { + return { + pagination: undefined + }; +} + +export const QuerySigningInfosRequest = { + encode(message: QuerySigningInfosRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QuerySigningInfosRequest { + const message = createBaseQuerySigningInfosRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { + return { + info: [], + pagination: undefined + }; +} + +export const QuerySigningInfosResponse = { + encode(message: QuerySigningInfosResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts new file mode 100644 index 000000000..19f85cb6d --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/slashing.ts @@ -0,0 +1,268 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp } 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: 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?: Date | undefined; + /** + * 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; +} +/** + * ValidatorSigningInfo defines a validator's signing info for monitoring their + * liveness activity. + */ + +export interface ValidatorSigningInfoSDKType { + address: string; + /** Height at which validator was first a candidate OR was unjailed */ + + start_height: 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`. + */ + + index_offset: Long; + /** Timestamp until which the validator is jailed due to liveness downtime. */ + + jailed_until?: Date | undefined; + /** + * 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: Long; +} +/** Params represents the parameters used for by the slashing module. */ + +export interface Params { + signedBlocksWindow: Long; + minSignedPerWindow: Uint8Array; + downtimeJailDuration?: Duration | undefined; + slashFractionDoubleSign: Uint8Array; + slashFractionDowntime: Uint8Array; +} +/** 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 | undefined; + slash_fraction_double_sign: Uint8Array; + slash_fraction_downtime: Uint8Array; +} + +function createBaseValidatorSigningInfo(): ValidatorSigningInfo { + return { + address: "", + startHeight: Long.ZERO, + indexOffset: Long.ZERO, + jailedUntil: undefined, + tombstoned: false, + missedBlocksCounter: Long.ZERO + }; +} + +export const ValidatorSigningInfo = { + encode(message: ValidatorSigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.startHeight.isZero()) { + writer.uint32(16).int64(message.startHeight); + } + + if (!message.indexOffset.isZero()) { + writer.uint32(24).int64(message.indexOffset); + } + + if (message.jailedUntil !== undefined) { + Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim(); + } + + if (message.tombstoned === true) { + writer.uint32(40).bool(message.tombstoned); + } + + if (!message.missedBlocksCounter.isZero()) { + writer.uint32(48).int64(message.missedBlocksCounter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 3: + message.indexOffset = (reader.int64() as Long); + break; + + case 4: + message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.tombstoned = reader.bool(); + break; + + case 6: + message.missedBlocksCounter = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorSigningInfo { + const message = createBaseValidatorSigningInfo(); + message.address = object.address ?? ""; + message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? Long.fromValue(object.startHeight) : Long.ZERO; + message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? Long.fromValue(object.indexOffset) : Long.ZERO; + message.jailedUntil = object.jailedUntil ?? undefined; + message.tombstoned = object.tombstoned ?? false; + message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + signedBlocksWindow: Long.ZERO, + minSignedPerWindow: new Uint8Array(), + downtimeJailDuration: undefined, + slashFractionDoubleSign: new Uint8Array(), + slashFractionDowntime: new Uint8Array() + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.signedBlocksWindow.isZero()) { + 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: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO; + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts new file mode 100644 index 000000000..2947b6068 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.amino.ts @@ -0,0 +1,27 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgUnjail } from "./tx"; +export interface AminoMsgUnjail extends AminoMsg { + type: "cosmos-sdk/MsgUnjail"; + value: { + validator_addr: string; + }; +} +export const AminoConverter = { + "/cosmos.slashing.v1beta1.MsgUnjail": { + aminoType: "cosmos-sdk/MsgUnjail", + toAmino: ({ + validatorAddr + }: MsgUnjail): AminoMsgUnjail["value"] => { + return { + validator_addr: validatorAddr + }; + }, + fromAmino: ({ + validator_addr + }: AminoMsgUnjail["value"]): MsgUnjail => { + return { + validatorAddr: validator_addr + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts new file mode 100644 index 000000000..449d8a3ee --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.registry.ts @@ -0,0 +1,37 @@ +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 + }; + } + + }, + fromPartial: { + unjail(value: MsgUnjail) { + return { + typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", + value: MsgUnjail.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..622712b3e --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,28 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts new file mode 100644 index 000000000..ca80962f5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/slashing/v1beta1/tx.ts @@ -0,0 +1,96 @@ +import * as _m0 from "protobufjs/minimal"; +/** MsgUnjail defines the Msg/Unjail request type */ + +export interface MsgUnjail { + validatorAddr: string; +} +/** MsgUnjail defines the Msg/Unjail request type */ + +export interface MsgUnjailSDKType { + validator_addr: string; +} +/** MsgUnjailResponse defines the Msg/Unjail response type */ + +export interface MsgUnjailResponse {} +/** MsgUnjailResponse defines the Msg/Unjail response type */ + +export interface MsgUnjailResponseSDKType {} + +function createBaseMsgUnjail(): MsgUnjail { + return { + validatorAddr: "" + }; +} + +export const MsgUnjail = { + encode(message: MsgUnjail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): MsgUnjail { + const message = createBaseMsgUnjail(); + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseMsgUnjailResponse(): MsgUnjailResponse { + return {}; +} + +export const MsgUnjailResponse = { + encode(_: MsgUnjailResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): MsgUnjailResponse { + const message = createBaseMsgUnjailResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts new file mode 100644 index 000000000..e6a9c9e05 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/authz.ts @@ -0,0 +1,265 @@ +import { Coin, 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 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, +} +/** + * AuthorizationType defines the type of staking module authorization type + * + * Since: cosmos-sdk 0.43 + */ + +export enum AuthorizationTypeSDKType { + /** 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 function authorizationTypeFromJSON(object: any): AuthorizationType { + switch (object) { + case 0: + case "AUTHORIZATION_TYPE_UNSPECIFIED": + return AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED; + + case 1: + case "AUTHORIZATION_TYPE_DELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_DELEGATE; + + case 2: + case "AUTHORIZATION_TYPE_UNDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE; + + case 3: + case "AUTHORIZATION_TYPE_REDELEGATE": + return AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE; + + case -1: + case "UNRECOGNIZED": + default: + return AuthorizationType.UNRECOGNIZED; + } +} +export function authorizationTypeToJSON(object: AuthorizationType): string { + switch (object) { + case AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED: + return "AUTHORIZATION_TYPE_UNSPECIFIED"; + + case AuthorizationType.AUTHORIZATION_TYPE_DELEGATE: + return "AUTHORIZATION_TYPE_DELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE: + return "AUTHORIZATION_TYPE_UNDELEGATE"; + + case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: + return "AUTHORIZATION_TYPE_REDELEGATE"; + + case AuthorizationType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ + +export interface StakeAuthorization { + /** + * 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 | undefined; + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + + allowList?: StakeAuthorization_Validators | undefined; + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + + denyList?: StakeAuthorization_Validators | undefined; + /** authorization_type defines one of AuthorizationType. */ + + authorizationType: AuthorizationType; +} +/** + * StakeAuthorization defines authorization for delegate/undelegate/redelegate. + * + * Since: cosmos-sdk 0.43 + */ + +export interface StakeAuthorizationSDKType { + /** + * 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?: CoinSDKType | undefined; + /** + * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's + * account. + */ + + allow_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ + + deny_list?: StakeAuthorization_ValidatorsSDKType | undefined; + /** authorization_type defines one of AuthorizationType. */ + + authorization_type: AuthorizationTypeSDKType; +} +/** Validators defines list of validator addresses. */ + +export interface StakeAuthorization_Validators { + address: string[]; +} +/** Validators defines list of validator addresses. */ + +export interface StakeAuthorization_ValidatorsSDKType { + address: string[]; +} + +function createBaseStakeAuthorization(): StakeAuthorization { + return { + maxTokens: undefined, + allowList: undefined, + denyList: undefined, + authorizationType: 0 + }; +} + +export const StakeAuthorization = { + encode(message: StakeAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.maxTokens !== undefined) { + Coin.encode(message.maxTokens, writer.uint32(10).fork()).ldelim(); + } + + if (message.allowList !== undefined) { + StakeAuthorization_Validators.encode(message.allowList, writer.uint32(18).fork()).ldelim(); + } + + if (message.denyList !== undefined) { + StakeAuthorization_Validators.encode(message.denyList, writer.uint32(26).fork()).ldelim(); + } + + if (message.authorizationType !== 0) { + writer.uint32(32).int32(message.authorizationType); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxTokens = Coin.decode(reader, reader.uint32()); + break; + + case 2: + message.allowList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 3: + message.denyList = StakeAuthorization_Validators.decode(reader, reader.uint32()); + break; + + case 4: + message.authorizationType = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): StakeAuthorization { + const message = createBaseStakeAuthorization(); + message.maxTokens = object.maxTokens !== undefined && object.maxTokens !== null ? Coin.fromPartial(object.maxTokens) : undefined; + message.allowList = object.allowList !== undefined && object.allowList !== null ? StakeAuthorization_Validators.fromPartial(object.allowList) : undefined; + message.denyList = object.denyList !== undefined && object.denyList !== null ? StakeAuthorization_Validators.fromPartial(object.denyList) : undefined; + message.authorizationType = object.authorizationType ?? 0; + return message; + } + +}; + +function createBaseStakeAuthorization_Validators(): StakeAuthorization_Validators { + return { + address: [] + }; +} + +export const StakeAuthorization_Validators = { + encode(message: StakeAuthorization_Validators, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.address) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStakeAuthorization_Validators(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): StakeAuthorization_Validators { + const message = createBaseStakeAuthorization_Validators(); + message.address = object.address?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts new file mode 100644 index 000000000..6d48e920a --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/genesis.ts @@ -0,0 +1,253 @@ +import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** GenesisState defines the staking module's genesis state. */ + +export interface GenesisState { + /** params defines all the paramaters of related to deposit. */ + params?: Params | undefined; + /** + * 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; +} +/** GenesisState defines the staking module's genesis state. */ + +export interface GenesisStateSDKType { + /** params defines all the paramaters of related to deposit. */ + params?: ParamsSDKType | undefined; + /** + * 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: LastValidatorPowerSDKType[]; + /** delegations defines the validator set at genesis. */ + + validators: ValidatorSDKType[]; + /** delegations defines the delegations active at genesis. */ + + delegations: DelegationSDKType[]; + /** unbonding_delegations defines the unbonding delegations active at genesis. */ + + unbonding_delegations: UnbondingDelegationSDKType[]; + /** redelegations defines the redelegations active at genesis. */ + + 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; +} +/** LastValidatorPower required for validator set update logic. */ + +export interface LastValidatorPowerSDKType { + /** address is the address of the validator. */ + address: string; + /** power defines the power of the validator. */ + + power: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + lastTotalPower: new Uint8Array(), + lastValidatorPowers: [], + validators: [], + delegations: [], + unbondingDelegations: [], + redelegations: [], + exported: false + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + if (message.lastTotalPower.length !== 0) { + writer.uint32(18).bytes(message.lastTotalPower); + } + + for (const v of message.lastValidatorPowers) { + LastValidatorPower.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.delegations) { + Delegation.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.unbondingDelegations) { + UnbondingDelegation.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.redelegations) { + Redelegation.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.exported === true) { + writer.uint32(64).bool(message.exported); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.lastTotalPower = reader.bytes(); + break; + + case 3: + message.lastValidatorPowers.push(LastValidatorPower.decode(reader, reader.uint32())); + break; + + case 4: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 5: + message.delegations.push(Delegation.decode(reader, reader.uint32())); + break; + + case 6: + message.unbondingDelegations.push(UnbondingDelegation.decode(reader, reader.uint32())); + break; + + case 7: + message.redelegations.push(Redelegation.decode(reader, reader.uint32())); + break; + + case 8: + message.exported = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.lastTotalPower = object.lastTotalPower ?? new Uint8Array(); + message.lastValidatorPowers = object.lastValidatorPowers?.map(e => LastValidatorPower.fromPartial(e)) || []; + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.delegations = object.delegations?.map(e => Delegation.fromPartial(e)) || []; + message.unbondingDelegations = object.unbondingDelegations?.map(e => UnbondingDelegation.fromPartial(e)) || []; + message.redelegations = object.redelegations?.map(e => Redelegation.fromPartial(e)) || []; + message.exported = object.exported ?? false; + return message; + } + +}; + +function createBaseLastValidatorPower(): LastValidatorPower { + return { + address: "", + power: Long.ZERO + }; +} + +export const LastValidatorPower = { + encode(message: LastValidatorPower, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastValidatorPower(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): LastValidatorPower { + const message = createBaseLastValidatorPower(); + message.address = object.address ?? ""; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts new file mode 100644 index 000000000..7507dc0ae --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.lcd.ts @@ -0,0 +1,199 @@ +import { setPaginationParams } from "../../../helpers"; +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 class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); + } + /* Validators queries all validators that match the given status. */ + + + async validators(params: QueryValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.status !== "undefined") { + options.params.status = params.status; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators`; + return await this.req.get(endpoint, options); + } + /* Validator queries validator info for given validator address. */ + + + async validator(params: QueryValidatorRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; + return await this.req.get(endpoint); + } + /* ValidatorDelegations queries delegate info for given validator. */ + + + async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; + return await this.req.get(endpoint, options); + } + /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ + + + async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; + return await this.req.get(endpoint, options); + } + /* Delegation queries delegate info for given validator delegator pair. */ + + + async delegation(params: QueryDelegationRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}delegations/${params.delegatorAddr}`; + return await this.req.get(endpoint); + } + /* UnbondingDelegation queries unbonding info for given validator delegator + pair. */ + + + async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; + return await this.req.get(endpoint); + } + /* DelegatorDelegations queries all delegations of a given delegator address. */ + + + async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; + return await this.req.get(endpoint, options); + } + /* DelegatorUnbondingDelegations queries all unbonding delegations of a given + delegator address. */ + + + async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; + return await this.req.get(endpoint, options); + } + /* Redelegations queries redelegations of given address. */ + + + async redelegations(params: QueryRedelegationsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.srcValidatorAddr !== "undefined") { + options.params.src_validator_addr = params.srcValidatorAddr; + } + + if (typeof params?.dstValidatorAddr !== "undefined") { + options.params.dst_validator_addr = params.dstValidatorAddr; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; + return await this.req.get(endpoint, options); + } + /* DelegatorValidators queries all validators info for given delegator + address. */ + + + async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; + return await this.req.get(endpoint, options); + } + /* DelegatorValidator queries validator info for given delegator validator + pair. */ + + + async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}validators/${params.validatorAddr}`; + return await this.req.get(endpoint); + } + /* HistoricalInfo queries the historical info for given height. */ + + + async historicalInfo(params: QueryHistoricalInfoRequest): Promise { + const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; + return await this.req.get(endpoint); + } + /* Pool queries the pool info. */ + + + async pool(_params: QueryPoolRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/pool`; + return await this.req.get(endpoint); + } + /* Parameters queries the staking parameters. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `cosmos/staking/v1beta1/params`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..550f592fe --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts @@ -0,0 +1,229 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.validators = this.validators.bind(this); + this.validator = this.validator.bind(this); + this.validatorDelegations = this.validatorDelegations.bind(this); + this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); + this.delegation = this.delegation.bind(this); + this.unbondingDelegation = this.unbondingDelegation.bind(this); + this.delegatorDelegations = this.delegatorDelegations.bind(this); + this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); + this.redelegations = this.redelegations.bind(this); + this.delegatorValidators = this.delegatorValidators.bind(this); + this.delegatorValidator = this.delegatorValidator.bind(this); + this.historicalInfo = this.historicalInfo.bind(this); + this.pool = this.pool.bind(this); + this.params = this.params.bind(this); + } + + validators(request: QueryValidatorsRequest): Promise { + const data = QueryValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validators", data); + return promise.then(data => QueryValidatorsResponse.decode(new _m0.Reader(data))); + } + + validator(request: QueryValidatorRequest): Promise { + const data = QueryValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Validator", data); + return promise.then(data => QueryValidatorResponse.decode(new _m0.Reader(data))); + } + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + const data = QueryValidatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorDelegations", data); + return promise.then(data => QueryValidatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + const data = QueryValidatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "ValidatorUnbondingDelegations", data); + return promise.then(data => QueryValidatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegation(request: QueryDelegationRequest): Promise { + const data = QueryDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Delegation", data); + return promise.then(data => QueryDelegationResponse.decode(new _m0.Reader(data))); + } + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + const data = QueryUnbondingDelegationRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "UnbondingDelegation", data); + return promise.then(data => QueryUnbondingDelegationResponse.decode(new _m0.Reader(data))); + } + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + const data = QueryDelegatorDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorDelegations", data); + return promise.then(data => QueryDelegatorDelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + const data = QueryDelegatorUnbondingDelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorUnbondingDelegations", data); + return promise.then(data => QueryDelegatorUnbondingDelegationsResponse.decode(new _m0.Reader(data))); + } + + redelegations(request: QueryRedelegationsRequest): Promise { + const data = QueryRedelegationsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Redelegations", data); + return promise.then(data => QueryRedelegationsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + const data = QueryDelegatorValidatorsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidators", data); + return promise.then(data => QueryDelegatorValidatorsResponse.decode(new _m0.Reader(data))); + } + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + const data = QueryDelegatorValidatorRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "DelegatorValidator", data); + return promise.then(data => QueryDelegatorValidatorResponse.decode(new _m0.Reader(data))); + } + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + const data = QueryHistoricalInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "HistoricalInfo", data); + return promise.then(data => QueryHistoricalInfoResponse.decode(new _m0.Reader(data))); + } + + pool(request: QueryPoolRequest = {}): Promise { + const data = QueryPoolRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Pool", data); + return promise.then(data => QueryPoolResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + validators(request: QueryValidatorsRequest): Promise { + return queryService.validators(request); + }, + + validator(request: QueryValidatorRequest): Promise { + return queryService.validator(request); + }, + + validatorDelegations(request: QueryValidatorDelegationsRequest): Promise { + return queryService.validatorDelegations(request); + }, + + validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise { + return queryService.validatorUnbondingDelegations(request); + }, + + delegation(request: QueryDelegationRequest): Promise { + return queryService.delegation(request); + }, + + unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise { + return queryService.unbondingDelegation(request); + }, + + delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise { + return queryService.delegatorDelegations(request); + }, + + delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise { + return queryService.delegatorUnbondingDelegations(request); + }, + + redelegations(request: QueryRedelegationsRequest): Promise { + return queryService.redelegations(request); + }, + + delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise { + return queryService.delegatorValidators(request); + }, + + delegatorValidator(request: QueryDelegatorValidatorRequest): Promise { + return queryService.delegatorValidator(request); + }, + + historicalInfo(request: QueryHistoricalInfoRequest): Promise { + return queryService.historicalInfo(request); + }, + + pool(request?: QueryPoolRequest): Promise { + return queryService.pool(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts new file mode 100644 index 000000000..7585d5ff7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/query.ts @@ -0,0 +1,1970 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** 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 | undefined; +} +/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ + +export interface QueryValidatorsRequestSDKType { + /** status enables to query for validators matching a given status. */ + status: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** 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 | undefined; +} +/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ + +export interface QueryValidatorsResponseSDKType { + /** validators contains all the queried validators. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ + +export interface QueryValidatorRequest { + /** validator_addr defines the validator address to query for. */ + validatorAddr: string; +} +/** QueryValidatorRequest is response type for the Query/Validator RPC method */ + +export interface QueryValidatorRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; +} +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ + +export interface QueryValidatorResponse { + /** validator defines the the validator info. */ + validator?: Validator | undefined; +} +/** QueryValidatorResponse is response type for the Query/Validator RPC method */ + +export interface QueryValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator?: ValidatorSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryValidatorDelegationsRequest is request type for the + * Query/ValidatorDelegations RPC method + */ + +export interface QueryValidatorDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ + +export interface QueryValidatorDelegationsResponse { + delegationResponses: DelegationResponse[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryValidatorDelegationsResponse is response type for the + * Query/ValidatorDelegations RPC method + */ + +export interface QueryValidatorDelegationsResponseSDKType { + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryValidatorUnbondingDelegationsRequest is required type for the + * Query/ValidatorUnbondingDelegations RPC method + */ + +export interface QueryValidatorUnbondingDelegationsRequestSDKType { + /** validator_addr defines the validator address to query for. */ + validator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ + +export interface QueryValidatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryValidatorUnbondingDelegationsResponse is response type for the + * Query/ValidatorUnbondingDelegations RPC method. + */ + +export interface QueryValidatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** 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; +} +/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ + +export interface QueryDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + 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 | undefined; +} +/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ + +export interface QueryDelegationResponseSDKType { + /** delegation_responses defines the delegation info of a delegation. */ + delegation_response?: DelegationResponseSDKType | undefined; +} +/** + * 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; +} +/** + * QueryUnbondingDelegationRequest is request type for the + * Query/UnbondingDelegation RPC method. + */ + +export interface QueryUnbondingDelegationRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + 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 | undefined; +} +/** + * QueryDelegationResponse is response type for the Query/UnbondingDelegation + * RPC method. + */ + +export interface QueryUnbondingDelegationResponseSDKType { + /** unbond defines the unbonding information of a delegation. */ + unbond?: UnbondingDelegationSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryDelegatorDelegationsRequest is request type for the + * Query/DelegatorDelegations RPC method. + */ + +export interface QueryDelegatorDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryDelegatorDelegationsResponse is response type for the + * Query/DelegatorDelegations RPC method. + */ + +export interface QueryDelegatorDelegationsResponseSDKType { + /** delegation_responses defines all the delegations' info of a delegator. */ + delegation_responses: DelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryDelegatorUnbondingDelegationsRequest is request type for the + * Query/DelegatorUnbondingDelegations RPC method. + */ + +export interface QueryDelegatorUnbondingDelegationsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ + +export interface QueryDelegatorUnbondingDelegationsResponse { + unbondingResponses: UnbondingDelegation[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryUnbondingDelegatorDelegationsResponse is response type for the + * Query/UnbondingDelegatorDelegations RPC method. + */ + +export interface QueryDelegatorUnbondingDelegationsResponseSDKType { + unbonding_responses: UnbondingDelegationSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryRedelegationsRequest is request type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsRequestSDKType { + /** 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?: PageRequestSDKType | undefined; +} +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsResponse { + redelegationResponses: RedelegationResponse[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryRedelegationsResponse is response type for the Query/Redelegations RPC + * method. + */ + +export interface QueryRedelegationsResponseSDKType { + redelegation_responses: RedelegationResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryDelegatorValidatorsRequest is request type for the + * Query/DelegatorValidators RPC method. + */ + +export interface QueryDelegatorValidatorsRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ + +export interface QueryDelegatorValidatorsResponse { + /** validators defines the the validators' info of a delegator. */ + validators: Validator[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryDelegatorValidatorsResponse is response type for the + * Query/DelegatorValidators RPC method. + */ + +export interface QueryDelegatorValidatorsResponseSDKType { + /** validators defines the the validators' info of a delegator. */ + validators: ValidatorSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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; +} +/** + * QueryDelegatorValidatorRequest is request type for the + * Query/DelegatorValidator RPC method. + */ + +export interface QueryDelegatorValidatorRequestSDKType { + /** delegator_addr defines the delegator address to query for. */ + delegator_addr: string; + /** validator_addr defines the validator address to query for. */ + + validator_addr: string; +} +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ + +export interface QueryDelegatorValidatorResponse { + /** validator defines the the validator info. */ + validator?: Validator | undefined; +} +/** + * QueryDelegatorValidatorResponse response type for the + * Query/DelegatorValidator RPC method. + */ + +export interface QueryDelegatorValidatorResponseSDKType { + /** validator defines the the validator info. */ + validator?: ValidatorSDKType | undefined; +} +/** + * 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; +} +/** + * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC + * method. + */ + +export interface QueryHistoricalInfoRequestSDKType { + /** height defines at which height to query the historical info. */ + 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 | undefined; +} +/** + * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC + * method. + */ + +export interface QueryHistoricalInfoResponseSDKType { + /** hist defines the historical info at the given height. */ + hist?: HistoricalInfoSDKType | undefined; +} +/** QueryPoolRequest is request type for the Query/Pool RPC method. */ + +export interface QueryPoolRequest {} +/** 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 | undefined; +} +/** QueryPoolResponse is response type for the Query/Pool RPC method. */ + +export interface QueryPoolResponseSDKType { + /** pool defines the pool info. */ + pool?: PoolSDKType | undefined; +} +/** QueryParamsRequest is request type for the Query/Params RPC method. */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse is response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params holds all the parameters of this module. */ + params?: ParamsSDKType | undefined; +} + +function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { + return { + status: "", + pagination: undefined + }; +} + +export const QueryValidatorsRequest = { + encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorsRequest { + const message = createBaseQueryValidatorsRequest(); + message.status = object.status ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryValidatorsResponse = { + encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorsResponse { + const message = createBaseQueryValidatorsResponse(); + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorRequest(): QueryValidatorRequest { + return { + validatorAddr: "" + }; +} + +export const QueryValidatorRequest = { + encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryValidatorRequest { + const message = createBaseQueryValidatorRequest(); + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryValidatorResponse(): QueryValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryValidatorResponse = { + encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorResponse { + const message = createBaseQueryValidatorResponse(); + message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorDelegationsRequest = { + encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorDelegationsRequest { + const message = createBaseQueryValidatorDelegationsRequest(); + message.validatorAddr = object.validatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorDelegationsResponse = { + encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorDelegationsResponse { + const message = createBaseQueryValidatorDelegationsResponse(); + message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { + return { + validatorAddr: "", + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsRequest = { + encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validatorAddr !== "") { + writer.uint32(10).string(message.validatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorUnbondingDelegationsRequest { + const message = createBaseQueryValidatorUnbondingDelegationsRequest(); + message.validatorAddr = object.validatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryValidatorUnbondingDelegationsResponse = { + encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryValidatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryValidatorUnbondingDelegationsResponse { + const message = createBaseQueryValidatorUnbondingDelegationsResponse(); + message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegationRequest(): QueryDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegationRequest = { + encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationRequest { + const message = createBaseQueryDelegationRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegationResponse(): QueryDelegationResponse { + return { + delegationResponse: undefined + }; +} + +export const QueryDelegationResponse = { + encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegationResponse !== undefined) { + DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponse = DelegationResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegationResponse { + const message = createBaseQueryDelegationResponse(); + message.delegationResponse = object.delegationResponse !== undefined && object.delegationResponse !== null ? DelegationResponse.fromPartial(object.delegationResponse) : undefined; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryUnbondingDelegationRequest = { + encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnbondingDelegationRequest { + const message = createBaseQueryUnbondingDelegationRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { + return { + unbond: undefined + }; +} + +export const QueryUnbondingDelegationResponse = { + encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbond !== undefined) { + UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnbondingDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbond = UnbondingDelegation.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnbondingDelegationResponse { + const message = createBaseQueryUnbondingDelegationResponse(); + message.unbond = object.unbond !== undefined && object.unbond !== null ? UnbondingDelegation.fromPartial(object.unbond) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsRequest = { + encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorDelegationsRequest { + const message = createBaseQueryDelegatorDelegationsRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { + return { + delegationResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorDelegationsResponse = { + encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.delegationResponses) { + DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorDelegationsResponse { + const message = createBaseQueryDelegatorDelegationsResponse(); + message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsRequest = { + encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsRequest { + const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { + return { + unbondingResponses: [], + pagination: undefined + }; +} + +export const QueryDelegatorUnbondingDelegationsResponse = { + encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.unbondingResponses) { + UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsResponse { + const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); + message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { + return { + delegatorAddr: "", + srcValidatorAddr: "", + dstValidatorAddr: "", + pagination: undefined + }; +} + +export const QueryRedelegationsRequest = { + encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.srcValidatorAddr !== "") { + writer.uint32(18).string(message.srcValidatorAddr); + } + + if (message.dstValidatorAddr !== "") { + writer.uint32(26).string(message.dstValidatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.srcValidatorAddr = reader.string(); + break; + + case 3: + message.dstValidatorAddr = reader.string(); + break; + + case 4: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryRedelegationsRequest { + const message = createBaseQueryRedelegationsRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.srcValidatorAddr = object.srcValidatorAddr ?? ""; + message.dstValidatorAddr = object.dstValidatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { + return { + redelegationResponses: [], + pagination: undefined + }; +} + +export const QueryRedelegationsResponse = { + encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.redelegationResponses) { + RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRedelegationsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationResponses.push(RedelegationResponse.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryRedelegationsResponse { + const message = createBaseQueryRedelegationsResponse(); + message.redelegationResponses = object.redelegationResponses?.map(e => RedelegationResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { + return { + delegatorAddr: "", + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsRequest = { + encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorsRequest { + const message = createBaseQueryDelegatorValidatorsRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { + return { + validators: [], + pagination: undefined + }; +} + +export const QueryDelegatorValidatorsResponse = { + encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorsResponse { + const message = createBaseQueryDelegatorValidatorsResponse(); + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest { + return { + delegatorAddr: "", + validatorAddr: "" + }; +} + +export const QueryDelegatorValidatorRequest = { + encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddr !== "") { + writer.uint32(10).string(message.delegatorAddr); + } + + if (message.validatorAddr !== "") { + writer.uint32(18).string(message.validatorAddr); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddr = reader.string(); + break; + + case 2: + message.validatorAddr = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorRequest { + const message = createBaseQueryDelegatorValidatorRequest(); + message.delegatorAddr = object.delegatorAddr ?? ""; + message.validatorAddr = object.validatorAddr ?? ""; + return message; + } + +}; + +function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { + return { + validator: undefined + }; +} + +export const QueryDelegatorValidatorResponse = { + encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDelegatorValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDelegatorValidatorResponse { + const message = createBaseQueryDelegatorValidatorResponse(); + message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; + return message; + } + +}; + +function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest { + return { + height: Long.ZERO + }; +} + +export const QueryHistoricalInfoRequest = { + encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryHistoricalInfoRequest { + const message = createBaseQueryHistoricalInfoRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { + return { + hist: undefined + }; +} + +export const QueryHistoricalInfoResponse = { + encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hist !== undefined) { + HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryHistoricalInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hist = HistoricalInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryHistoricalInfoResponse { + const message = createBaseQueryHistoricalInfoResponse(); + message.hist = object.hist !== undefined && object.hist !== null ? HistoricalInfo.fromPartial(object.hist) : undefined; + return message; + } + +}; + +function createBaseQueryPoolRequest(): QueryPoolRequest { + return {}; +} + +export const QueryPoolRequest = { + encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryPoolRequest { + const message = createBaseQueryPoolRequest(); + return message; + } + +}; + +function createBaseQueryPoolResponse(): QueryPoolResponse { + return { + pool: undefined + }; +} + +export const QueryPoolResponse = { + encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pool !== undefined) { + Pool.encode(message.pool, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPoolResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pool = Pool.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPoolResponse { + const message = createBaseQueryPoolResponse(); + message.pool = object.pool !== undefined && object.pool !== null ? Pool.fromPartial(object.pool) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts new file mode 100644 index 000000000..7bce26a77 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/staking.ts @@ -0,0 +1,1958 @@ +import { Header, HeaderSDKType } from "../../../tendermint/types/types"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; +/** BondStatus is the status of a validator. */ + +export 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, +} +/** BondStatus is the status of a validator. */ + +export enum BondStatusSDKType { + /** 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 function bondStatusFromJSON(object: any): BondStatus { + switch (object) { + case 0: + case "BOND_STATUS_UNSPECIFIED": + return BondStatus.BOND_STATUS_UNSPECIFIED; + + case 1: + case "BOND_STATUS_UNBONDED": + return BondStatus.BOND_STATUS_UNBONDED; + + case 2: + case "BOND_STATUS_UNBONDING": + return BondStatus.BOND_STATUS_UNBONDING; + + case 3: + case "BOND_STATUS_BONDED": + return BondStatus.BOND_STATUS_BONDED; + + case -1: + case "UNRECOGNIZED": + default: + return BondStatus.UNRECOGNIZED; + } +} +export function bondStatusToJSON(object: BondStatus): string { + switch (object) { + case BondStatus.BOND_STATUS_UNSPECIFIED: + return "BOND_STATUS_UNSPECIFIED"; + + case BondStatus.BOND_STATUS_UNBONDED: + return "BOND_STATUS_UNBONDED"; + + case BondStatus.BOND_STATUS_UNBONDING: + return "BOND_STATUS_UNBONDING"; + + case BondStatus.BOND_STATUS_BONDED: + return "BOND_STATUS_BONDED"; + + case BondStatus.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * 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 | undefined; + valset: Validator[]; +} +/** + * 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 | undefined; + 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; +} +/** + * CommissionRates defines the initial commission rates to be used for creating + * a validator. + */ + +export interface CommissionRatesSDKType { + /** 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; +} +/** 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 | undefined; + /** update_time is the last time the commission rate was changed. */ + + updateTime?: Date | undefined; +} +/** Commission defines commission parameters for a given validator. */ + +export interface CommissionSDKType { + /** commission_rates defines the initial commission rates to be used for creating a validator. */ + commission_rates?: CommissionRatesSDKType | undefined; + /** update_time is the last time the commission rate was changed. */ + + update_time?: Date | undefined; +} +/** 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; +} +/** Description defines a validator description. */ + +export interface DescriptionSDKType { + /** 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; +} +/** + * 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 | undefined; + /** 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?: Date | undefined; + /** commission defines the commission parameters. */ + + commission?: Commission | undefined; + /** min_self_delegation is the validator's self declared minimum self delegation. */ + + minSelfDelegation: 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 ValidatorSDKType { + /** 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?: AnySDKType | 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: BondStatusSDKType; + /** 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?: DescriptionSDKType | undefined; + /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ + + unbonding_height: Long; + /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ + + unbonding_time?: Date | undefined; + /** commission defines the commission parameters. */ + + commission?: CommissionSDKType | undefined; + /** min_self_delegation is the validator's self declared minimum self delegation. */ + + min_self_delegation: string; +} +/** ValAddresses defines a repeated set of validator addresses. */ + +export interface ValAddresses { + addresses: string[]; +} +/** 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; +} +/** + * 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[]; +} +/** 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; +} +/** + * 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[]; +} +/** 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; +} +/** + * 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 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; +} +/** + * 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[]; +} +/** + * UnbondingDelegation stores all of a single delegator's unbonding bonds + * for a single validator in an time-ordered list. + */ + +export interface UnbondingDelegationSDKType { + /** 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: 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?: Date | undefined; + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + + initialBalance: string; + /** balance defines the tokens to receive at completion. */ + + balance: string; +} +/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ + +export interface UnbondingDelegationEntrySDKType { + /** creation_height is the height which the unbonding took place. */ + creation_height: Long; + /** completion_time is the unix time for unbonding completion. */ + + completion_time?: Date | undefined; + /** initial_balance defines the tokens initially scheduled to receive at completion. */ + + initial_balance: string; + /** balance defines the tokens to receive at completion. */ + + 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?: Date | undefined; + /** 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; +} +/** RedelegationEntry defines a redelegation object with relevant metadata. */ + +export interface RedelegationEntrySDKType { + /** creation_height defines the height which the redelegation took place. */ + creation_height: Long; + /** completion_time defines the unix time for redelegation completion. */ + + completion_time?: Date | undefined; + /** 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; +} +/** + * 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[]; +} +/** + * 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 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: RedelegationEntrySDKType[]; +} +/** Params defines the parameters for the staking module. */ + +export interface Params { + /** unbonding_time is the time duration of unbonding. */ + unbondingTime?: Duration | undefined; + /** 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; +} +/** Params defines the parameters for the staking module. */ + +export interface ParamsSDKType { + /** unbonding_time is the time duration of unbonding. */ + unbonding_time?: DurationSDKType | undefined; + /** 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; +} +/** + * 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 | undefined; + balance?: Coin | undefined; +} +/** + * 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 | undefined; + balance?: CoinSDKType | undefined; +} +/** + * 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 | undefined; + balance: string; +} +/** + * 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 | undefined; + 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 | undefined; + entries: RedelegationEntryResponse[]; +} +/** + * 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 | undefined; + entries: RedelegationEntryResponseSDKType[]; +} +/** + * Pool is used for tracking bonded and not-bonded token supply of the bond + * denomination. + */ + +export interface Pool { + notBondedTokens: string; + bondedTokens: string; +} +/** + * 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; +} + +function createBaseHistoricalInfo(): HistoricalInfo { + return { + header: undefined, + valset: [] + }; +} + +export const HistoricalInfo = { + encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.valset) { + Validator.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHistoricalInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.valset.push(Validator.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): HistoricalInfo { + const message = createBaseHistoricalInfo(); + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.valset = object.valset?.map(e => Validator.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommissionRates(): CommissionRates { + return { + rate: "", + maxRate: "", + maxChangeRate: "" + }; +} + +export const CommissionRates = { + encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rate !== "") { + writer.uint32(10).string(message.rate); + } + + if (message.maxRate !== "") { + writer.uint32(18).string(message.maxRate); + } + + if (message.maxChangeRate !== "") { + writer.uint32(26).string(message.maxChangeRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommissionRates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rate = reader.string(); + break; + + case 2: + message.maxRate = reader.string(); + break; + + case 3: + message.maxChangeRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommissionRates { + const message = createBaseCommissionRates(); + message.rate = object.rate ?? ""; + message.maxRate = object.maxRate ?? ""; + message.maxChangeRate = object.maxChangeRate ?? ""; + return message; + } + +}; + +function createBaseCommission(): Commission { + return { + commissionRates: undefined, + updateTime: undefined + }; +} + +export const Commission = { + encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commissionRates !== undefined) { + CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); + } + + if (message.updateTime !== undefined) { + Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commission { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommission(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commissionRates = CommissionRates.decode(reader, reader.uint32()); + break; + + case 2: + message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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; + return message; + } + +}; + +function createBaseDescription(): Description { + return { + moniker: "", + identity: "", + website: "", + securityContact: "", + details: "" + }; +} + +export const Description = { + encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moniker !== "") { + writer.uint32(10).string(message.moniker); + } + + if (message.identity !== "") { + writer.uint32(18).string(message.identity); + } + + if (message.website !== "") { + writer.uint32(26).string(message.website); + } + + if (message.securityContact !== "") { + writer.uint32(34).string(message.securityContact); + } + + if (message.details !== "") { + writer.uint32(42).string(message.details); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Description { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescription(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moniker = reader.string(); + break; + + case 2: + message.identity = reader.string(); + break; + + case 3: + message.website = reader.string(); + break; + + case 4: + message.securityContact = reader.string(); + break; + + case 5: + message.details = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Description { + const message = createBaseDescription(); + message.moniker = object.moniker ?? ""; + message.identity = object.identity ?? ""; + message.website = object.website ?? ""; + message.securityContact = object.securityContact ?? ""; + message.details = object.details ?? ""; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + operatorAddress: "", + consensusPubkey: undefined, + jailed: false, + status: 0, + tokens: "", + delegatorShares: "", + description: undefined, + unbondingHeight: Long.ZERO, + unbondingTime: undefined, + commission: undefined, + minSelfDelegation: "" + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operatorAddress !== "") { + writer.uint32(10).string(message.operatorAddress); + } + + if (message.consensusPubkey !== undefined) { + Any.encode(message.consensusPubkey, writer.uint32(18).fork()).ldelim(); + } + + if (message.jailed === true) { + writer.uint32(24).bool(message.jailed); + } + + if (message.status !== 0) { + writer.uint32(32).int32(message.status); + } + + if (message.tokens !== "") { + writer.uint32(42).string(message.tokens); + } + + if (message.delegatorShares !== "") { + writer.uint32(50).string(message.delegatorShares); + } + + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(58).fork()).ldelim(); + } + + if (!message.unbondingHeight.isZero()) { + writer.uint32(64).int64(message.unbondingHeight); + } + + if (message.unbondingTime !== undefined) { + Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); + } + + if (message.commission !== undefined) { + Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(90).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.operatorAddress = reader.string(); + break; + + case 2: + message.consensusPubkey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.jailed = reader.bool(); + break; + + case 4: + message.status = (reader.int32() as any); + break; + + case 5: + message.tokens = reader.string(); + break; + + case 6: + message.delegatorShares = reader.string(); + break; + + case 7: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 8: + message.unbondingHeight = (reader.int64() as Long); + break; + + case 9: + message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 10: + message.commission = Commission.decode(reader, reader.uint32()); + break; + + case 11: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.operatorAddress = object.operatorAddress ?? ""; + message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? Any.fromPartial(object.consensusPubkey) : undefined; + message.jailed = object.jailed ?? false; + message.status = object.status ?? 0; + message.tokens = object.tokens ?? ""; + 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 ? Long.fromValue(object.unbondingHeight) : Long.ZERO; + message.unbondingTime = object.unbondingTime ?? undefined; + message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseValAddresses(): ValAddresses { + return { + addresses: [] + }; +} + +export const ValAddresses = { + encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.addresses) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValAddresses(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.addresses.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValAddresses { + const message = createBaseValAddresses(); + message.addresses = object.addresses?.map(e => e) || []; + return message; + } + +}; + +function createBaseDVPair(): DVPair { + return { + delegatorAddress: "", + validatorAddress: "" + }; +} + +export const DVPair = { + encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPair { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPair(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DVPair { + const message = createBaseDVPair(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + return message; + } + +}; + +function createBaseDVPairs(): DVPairs { + return { + pairs: [] + }; +} + +export const DVPairs = { + encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pairs) { + DVPair.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVPairs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pairs.push(DVPair.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DVPairs { + const message = createBaseDVPairs(); + message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDVVTriplet(): DVVTriplet { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "" + }; +} + +export const DVVTriplet = { + encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DVVTriplet { + const message = createBaseDVVTriplet(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + return message; + } + +}; + +function createBaseDVVTriplets(): DVVTriplets { + return { + triplets: [] + }; +} + +export const DVVTriplets = { + encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.triplets) { + DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDVVTriplets(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.triplets.push(DVVTriplet.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DVVTriplets { + const message = createBaseDVVTriplets(); + message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseDelegation(): Delegation { + return { + delegatorAddress: "", + validatorAddress: "", + shares: "" + }; +} + +export const Delegation = { + encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.shares !== "") { + writer.uint32(26).string(message.shares); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Delegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.shares = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Delegation { + const message = createBaseDelegation(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.shares = object.shares ?? ""; + return message; + } + +}; + +function createBaseUnbondingDelegation(): UnbondingDelegation { + return { + delegatorAddress: "", + validatorAddress: "", + entries: [] + }; +} + +export const UnbondingDelegation = { + encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + for (const v of message.entries) { + UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UnbondingDelegation { + const message = createBaseUnbondingDelegation(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + balance: "" + }; +} + +export const UnbondingDelegationEntry = { + encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnbondingDelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UnbondingDelegationEntry { + const message = createBaseUnbondingDelegationEntry(); + message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationEntry(): RedelegationEntry { + return { + creationHeight: Long.ZERO, + completionTime: undefined, + initialBalance: "", + sharesDst: "" + }; +} + +export const RedelegationEntry = { + encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.creationHeight.isZero()) { + writer.uint32(8).int64(message.creationHeight); + } + + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); + } + + if (message.initialBalance !== "") { + writer.uint32(26).string(message.initialBalance); + } + + if (message.sharesDst !== "") { + writer.uint32(34).string(message.sharesDst); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.creationHeight = (reader.int64() as Long); + break; + + case 2: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.initialBalance = reader.string(); + break; + + case 4: + message.sharesDst = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RedelegationEntry { + const message = createBaseRedelegationEntry(); + message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO; + message.completionTime = object.completionTime ?? undefined; + message.initialBalance = object.initialBalance ?? ""; + message.sharesDst = object.sharesDst ?? ""; + return message; + } + +}; + +function createBaseRedelegation(): Redelegation { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + entries: [] + }; +} + +export const Redelegation = { + encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + for (const v of message.entries) { + RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.entries.push(RedelegationEntry.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Redelegation { + const message = createBaseRedelegation(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + unbondingTime: undefined, + maxValidators: 0, + maxEntries: 0, + historicalEntries: 0, + bondDenom: "", + minCommissionRate: "" + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.unbondingTime !== undefined) { + Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim(); + } + + if (message.maxValidators !== 0) { + writer.uint32(16).uint32(message.maxValidators); + } + + if (message.maxEntries !== 0) { + writer.uint32(24).uint32(message.maxEntries); + } + + if (message.historicalEntries !== 0) { + writer.uint32(32).uint32(message.historicalEntries); + } + + if (message.bondDenom !== "") { + writer.uint32(42).string(message.bondDenom); + } + + if (message.minCommissionRate !== "") { + writer.uint32(50).string(message.minCommissionRate); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.unbondingTime = Duration.decode(reader, reader.uint32()); + break; + + case 2: + message.maxValidators = reader.uint32(); + break; + + case 3: + message.maxEntries = reader.uint32(); + break; + + case 4: + message.historicalEntries = reader.uint32(); + break; + + case 5: + message.bondDenom = reader.string(); + break; + + case 6: + message.minCommissionRate = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined; + message.maxValidators = object.maxValidators ?? 0; + message.maxEntries = object.maxEntries ?? 0; + message.historicalEntries = object.historicalEntries ?? 0; + message.bondDenom = object.bondDenom ?? ""; + message.minCommissionRate = object.minCommissionRate ?? ""; + return message; + } + +}; + +function createBaseDelegationResponse(): DelegationResponse { + return { + delegation: undefined, + balance: undefined + }; +} + +export const DelegationResponse = { + encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegation !== undefined) { + Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== undefined) { + Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegation = Delegation.decode(reader, reader.uint32()); + break; + + case 2: + message.balance = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelegationResponse { + const message = createBaseDelegationResponse(); + message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined; + message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; + return message; + } + +}; + +function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { + return { + redelegationEntry: undefined, + balance: "" + }; +} + +export const RedelegationEntryResponse = { + encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegationEntry !== undefined) { + RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim(); + } + + if (message.balance !== "") { + writer.uint32(34).string(message.balance); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationEntryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32()); + break; + + case 4: + message.balance = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RedelegationEntryResponse { + const message = createBaseRedelegationEntryResponse(); + message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined; + message.balance = object.balance ?? ""; + return message; + } + +}; + +function createBaseRedelegationResponse(): RedelegationResponse { + return { + redelegation: undefined, + entries: [] + }; +} + +export const RedelegationResponse = { + encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.redelegation !== undefined) { + Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.entries) { + RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRedelegationResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.redelegation = Redelegation.decode(reader, reader.uint32()); + break; + + case 2: + message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RedelegationResponse { + const message = createBaseRedelegationResponse(); + message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined; + message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePool(): Pool { + return { + notBondedTokens: "", + bondedTokens: "" + }; +} + +export const Pool = { + encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.notBondedTokens !== "") { + writer.uint32(10).string(message.notBondedTokens); + } + + if (message.bondedTokens !== "") { + writer.uint32(18).string(message.bondedTokens); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Pool { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePool(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.notBondedTokens = reader.string(); + break; + + case 2: + message.bondedTokens = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Pool { + const message = createBasePool(); + message.notBondedTokens = object.notBondedTokens ?? ""; + message.bondedTokens = object.bondedTokens ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts new file mode 100644 index 000000000..9ece1b2b2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.amino.ts @@ -0,0 +1,294 @@ +import { AminoMsg, decodeBech32Pubkey, encodeBech32Pubkey } from "@cosmjs/amino"; +import { fromBase64, toBase64 } from "@cosmjs/encoding"; +import { Long } from "../../../helpers"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; +export interface AminoMsgCreateValidator extends AminoMsg { + type: "cosmos-sdk/MsgCreateValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + commission: { + rate: string; + max_rate: string; + max_change_rate: string; + }; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey: { + type_url: string; + value: Uint8Array; + }; + value: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgEditValidator extends AminoMsg { + type: "cosmos-sdk/MsgEditValidator"; + value: { + description: { + moniker: string; + identity: string; + website: string; + security_contact: string; + details: string; + }; + validator_address: string; + commission_rate: string; + min_self_delegation: string; + }; +} +export interface AminoMsgDelegate extends AminoMsg { + type: "cosmos-sdk/MsgDelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgBeginRedelegate extends AminoMsg { + type: "cosmos-sdk/MsgBeginRedelegate"; + value: { + delegator_address: string; + validator_src_address: string; + validator_dst_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export interface AminoMsgUndelegate extends AminoMsg { + type: "cosmos-sdk/MsgUndelegate"; + value: { + delegator_address: string; + validator_address: string; + amount: { + denom: string; + amount: string; + }; + }; +} +export const AminoConverter = { + "/cosmos.staking.v1beta1.MsgCreateValidator": { + aminoType: "cosmos-sdk/MsgCreateValidator", + toAmino: ({ + description, + commission, + minSelfDelegation, + delegatorAddress, + validatorAddress, + pubkey, + value + }: MsgCreateValidator): AminoMsgCreateValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + commission: { + rate: commission.rate, + max_rate: commission.maxRate, + max_change_rate: commission.maxChangeRate + }, + min_self_delegation: minSelfDelegation, + delegator_address: delegatorAddress, + validator_address: validatorAddress, + pubkey: { + typeUrl: "/cosmos.crypto.secp256k1.PubKey", + value: fromBase64(decodeBech32Pubkey(pubkey).value) + }, + value: { + denom: value.denom, + amount: Long.fromValue(value.amount).toString() + } + }; + }, + fromAmino: ({ + description, + commission, + min_self_delegation, + delegator_address, + validator_address, + pubkey, + value + }: AminoMsgCreateValidator["value"]): MsgCreateValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + commission: { + rate: commission.rate, + maxRate: commission.max_rate, + maxChangeRate: commission.max_change_rate + }, + minSelfDelegation: min_self_delegation, + delegatorAddress: delegator_address, + validatorAddress: validator_address, + pubkey: encodeBech32Pubkey({ + type: "tendermint/PubKeySecp256k1", + value: toBase64(pubkey.value) + }, "cosmos"), + value: { + denom: value.denom, + amount: value.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgEditValidator": { + aminoType: "cosmos-sdk/MsgEditValidator", + toAmino: ({ + description, + validatorAddress, + commissionRate, + minSelfDelegation + }: MsgEditValidator): AminoMsgEditValidator["value"] => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + security_contact: description.securityContact, + details: description.details + }, + validator_address: validatorAddress, + commission_rate: commissionRate, + min_self_delegation: minSelfDelegation + }; + }, + fromAmino: ({ + description, + validator_address, + commission_rate, + min_self_delegation + }: AminoMsgEditValidator["value"]): MsgEditValidator => { + return { + description: { + moniker: description.moniker, + identity: description.identity, + website: description.website, + securityContact: description.security_contact, + details: description.details + }, + validatorAddress: validator_address, + commissionRate: commission_rate, + minSelfDelegation: min_self_delegation + }; + } + }, + "/cosmos.staking.v1beta1.MsgDelegate": { + aminoType: "cosmos-sdk/MsgDelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgDelegate): AminoMsgDelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromValue(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgDelegate["value"]): MsgDelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgBeginRedelegate": { + aminoType: "cosmos-sdk/MsgBeginRedelegate", + toAmino: ({ + delegatorAddress, + validatorSrcAddress, + validatorDstAddress, + amount + }: MsgBeginRedelegate): AminoMsgBeginRedelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_src_address: validatorSrcAddress, + validator_dst_address: validatorDstAddress, + amount: { + denom: amount.denom, + amount: Long.fromValue(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_src_address, + validator_dst_address, + amount + }: AminoMsgBeginRedelegate["value"]): MsgBeginRedelegate => { + return { + delegatorAddress: delegator_address, + validatorSrcAddress: validator_src_address, + validatorDstAddress: validator_dst_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + }, + "/cosmos.staking.v1beta1.MsgUndelegate": { + aminoType: "cosmos-sdk/MsgUndelegate", + toAmino: ({ + delegatorAddress, + validatorAddress, + amount + }: MsgUndelegate): AminoMsgUndelegate["value"] => { + return { + delegator_address: delegatorAddress, + validator_address: validatorAddress, + amount: { + denom: amount.denom, + amount: Long.fromValue(amount.amount).toString() + } + }; + }, + fromAmino: ({ + delegator_address, + validator_address, + amount + }: AminoMsgUndelegate["value"]): MsgUndelegate => { + return { + delegatorAddress: delegator_address, + validatorAddress: validator_address, + amount: { + denom: amount.denom, + amount: amount.amount + } + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts new file mode 100644 index 000000000..66b2832e1 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.registry.ts @@ -0,0 +1,121 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } 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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.encode(value).finish() + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.encode(value).finish() + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.encode(value).finish() + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.encode(value).finish() + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value + }; + } + + }, + fromPartial: { + createValidator(value: MsgCreateValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", + value: MsgCreateValidator.fromPartial(value) + }; + }, + + editValidator(value: MsgEditValidator) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", + value: MsgEditValidator.fromPartial(value) + }; + }, + + delegate(value: MsgDelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", + value: MsgDelegate.fromPartial(value) + }; + }, + + beginRedelegate(value: MsgBeginRedelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", + value: MsgBeginRedelegate.fromPartial(value) + }; + }, + + undelegate(value: MsgUndelegate) { + return { + typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", + value: MsgUndelegate.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..b530ca148 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,73 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse } 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; +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createValidator = this.createValidator.bind(this); + this.editValidator = this.editValidator.bind(this); + this.delegate = this.delegate.bind(this); + this.beginRedelegate = this.beginRedelegate.bind(this); + this.undelegate = this.undelegate.bind(this); + } + + createValidator(request: MsgCreateValidator): Promise { + const data = MsgCreateValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "CreateValidator", data); + return promise.then(data => MsgCreateValidatorResponse.decode(new _m0.Reader(data))); + } + + editValidator(request: MsgEditValidator): Promise { + const data = MsgEditValidator.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "EditValidator", data); + return promise.then(data => MsgEditValidatorResponse.decode(new _m0.Reader(data))); + } + + delegate(request: MsgDelegate): Promise { + const data = MsgDelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Delegate", data); + return promise.then(data => MsgDelegateResponse.decode(new _m0.Reader(data))); + } + + beginRedelegate(request: MsgBeginRedelegate): Promise { + const data = MsgBeginRedelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "BeginRedelegate", data); + return promise.then(data => MsgBeginRedelegateResponse.decode(new _m0.Reader(data))); + } + + undelegate(request: MsgUndelegate): Promise { + const data = MsgUndelegate.encode(request).finish(); + const promise = this.rpc.request("cosmos.staking.v1beta1.Msg", "Undelegate", data); + return promise.then(data => MsgUndelegateResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts new file mode 100644 index 000000000..06b309369 --- /dev/null +++ b/examples/telescope/codegen/cosmos/staking/v1beta1/tx.ts @@ -0,0 +1,735 @@ +import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Timestamp } from "../../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; +/** MsgCreateValidator defines a SDK message for creating a new validator. */ + +export interface MsgCreateValidator { + description?: Description | undefined; + commission?: CommissionRates | undefined; + minSelfDelegation: string; + delegatorAddress: string; + validatorAddress: string; + pubkey?: Any | undefined; + value?: Coin | undefined; +} +/** MsgCreateValidator defines a SDK message for creating a new validator. */ + +export interface MsgCreateValidatorSDKType { + description?: DescriptionSDKType | undefined; + commission?: CommissionRatesSDKType | undefined; + min_self_delegation: string; + delegator_address: string; + validator_address: string; + pubkey?: AnySDKType | undefined; + value?: CoinSDKType | undefined; +} +/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ + +export interface MsgCreateValidatorResponse {} +/** 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 | undefined; + 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; +} +/** MsgEditValidator defines a SDK message for editing an existing validator. */ + +export interface MsgEditValidatorSDKType { + description?: DescriptionSDKType | undefined; + 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; +} +/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ + +export interface MsgEditValidatorResponse {} +/** 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 | undefined; +} +/** + * 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 | undefined; +} +/** MsgDelegateResponse defines the Msg/Delegate response type. */ + +export interface MsgDelegateResponse {} +/** 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 | undefined; +} +/** + * 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 | undefined; +} +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ + +export interface MsgBeginRedelegateResponse { + completionTime?: Date | undefined; +} +/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ + +export interface MsgBeginRedelegateResponseSDKType { + completion_time?: Date | undefined; +} +/** + * MsgUndelegate defines a SDK message for performing an undelegation from a + * delegate and a validator. + */ + +export interface MsgUndelegate { + delegatorAddress: string; + validatorAddress: string; + amount?: Coin | undefined; +} +/** + * 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 | undefined; +} +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + +export interface MsgUndelegateResponse { + completionTime?: Date | undefined; +} +/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ + +export interface MsgUndelegateResponseSDKType { + completion_time?: Date | undefined; +} + +function createBaseMsgCreateValidator(): MsgCreateValidator { + return { + description: undefined, + commission: undefined, + minSelfDelegation: "", + delegatorAddress: "", + validatorAddress: "", + pubkey: undefined, + value: undefined + }; +} + +export const MsgCreateValidator = { + encode(message: MsgCreateValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.commission !== undefined) { + CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim(); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(26).string(message.minSelfDelegation); + } + + if (message.delegatorAddress !== "") { + writer.uint32(34).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(42).string(message.validatorAddress); + } + + if (message.pubkey !== undefined) { + Any.encode(message.pubkey, writer.uint32(50).fork()).ldelim(); + } + + if (message.value !== undefined) { + Coin.encode(message.value, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.commission = CommissionRates.decode(reader, reader.uint32()); + break; + + case 3: + message.minSelfDelegation = reader.string(); + break; + + case 4: + message.delegatorAddress = reader.string(); + break; + + case 5: + message.validatorAddress = reader.string(); + break; + + case 6: + message.pubkey = Any.decode(reader, reader.uint32()); + break; + + case 7: + message.value = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateValidator { + const message = createBaseMsgCreateValidator(); + message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; + message.commission = object.commission !== undefined && object.commission !== null ? CommissionRates.fromPartial(object.commission) : undefined; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.pubkey = object.pubkey !== undefined && object.pubkey !== null ? Any.fromPartial(object.pubkey) : undefined; + message.value = object.value !== undefined && object.value !== null ? Coin.fromPartial(object.value) : undefined; + return message; + } + +}; + +function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse { + return {}; +} + +export const MsgCreateValidatorResponse = { + encode(_: MsgCreateValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCreateValidatorResponse { + const message = createBaseMsgCreateValidatorResponse(); + return message; + } + +}; + +function createBaseMsgEditValidator(): MsgEditValidator { + return { + description: undefined, + validatorAddress: "", + commissionRate: "", + minSelfDelegation: "" + }; +} + +export const MsgEditValidator = { + encode(message: MsgEditValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.description !== undefined) { + Description.encode(message.description, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.commissionRate !== "") { + writer.uint32(26).string(message.commissionRate); + } + + if (message.minSelfDelegation !== "") { + writer.uint32(34).string(message.minSelfDelegation); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.description = Description.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.commissionRate = reader.string(); + break; + + case 4: + message.minSelfDelegation = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgEditValidator { + const message = createBaseMsgEditValidator(); + message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; + message.validatorAddress = object.validatorAddress ?? ""; + message.commissionRate = object.commissionRate ?? ""; + message.minSelfDelegation = object.minSelfDelegation ?? ""; + return message; + } + +}; + +function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse { + return {}; +} + +export const MsgEditValidatorResponse = { + encode(_: MsgEditValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgEditValidatorResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgEditValidatorResponse { + const message = createBaseMsgEditValidatorResponse(); + return message; + } + +}; + +function createBaseMsgDelegate(): MsgDelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgDelegate = { + encode(message: MsgDelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgDelegate { + const message = createBaseMsgDelegate(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgDelegateResponse(): MsgDelegateResponse { + return {}; +} + +export const MsgDelegateResponse = { + encode(_: MsgDelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgDelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgDelegateResponse { + const message = createBaseMsgDelegateResponse(); + return message; + } + +}; + +function createBaseMsgBeginRedelegate(): MsgBeginRedelegate { + return { + delegatorAddress: "", + validatorSrcAddress: "", + validatorDstAddress: "", + amount: undefined + }; +} + +export const MsgBeginRedelegate = { + encode(message: MsgBeginRedelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorSrcAddress !== "") { + writer.uint32(18).string(message.validatorSrcAddress); + } + + if (message.validatorDstAddress !== "") { + writer.uint32(26).string(message.validatorDstAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorSrcAddress = reader.string(); + break; + + case 3: + message.validatorDstAddress = reader.string(); + break; + + case 4: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgBeginRedelegate { + const message = createBaseMsgBeginRedelegate(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorSrcAddress = object.validatorSrcAddress ?? ""; + message.validatorDstAddress = object.validatorDstAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgBeginRedelegateResponse = { + encode(message: MsgBeginRedelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgBeginRedelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgBeginRedelegateResponse { + const message = createBaseMsgBeginRedelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; + +function createBaseMsgUndelegate(): MsgUndelegate { + return { + delegatorAddress: "", + validatorAddress: "", + amount: undefined + }; +} + +export const MsgUndelegate = { + encode(message: MsgUndelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.delegatorAddress !== "") { + writer.uint32(10).string(message.delegatorAddress); + } + + if (message.validatorAddress !== "") { + writer.uint32(18).string(message.validatorAddress); + } + + if (message.amount !== undefined) { + Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.delegatorAddress = reader.string(); + break; + + case 2: + message.validatorAddress = reader.string(); + break; + + case 3: + message.amount = Coin.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUndelegate { + const message = createBaseMsgUndelegate(); + message.delegatorAddress = object.delegatorAddress ?? ""; + message.validatorAddress = object.validatorAddress ?? ""; + message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; + return message; + } + +}; + +function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { + return { + completionTime: undefined + }; +} + +export const MsgUndelegateResponse = { + encode(message: MsgUndelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.completionTime !== undefined) { + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUndelegateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUndelegateResponse { + const message = createBaseMsgUndelegateResponse(); + message.completionTime = object.completionTime ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts new file mode 100644 index 000000000..997f72a7b --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/signing/v1beta1/signing.ts @@ -0,0 +1,529 @@ +import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * 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 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, + UNRECOGNIZED = -1, +} +/** + * 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 enum SignModeSDKType { + /** + * 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, + UNRECOGNIZED = -1, +} +export function signModeFromJSON(object: any): SignMode { + switch (object) { + case 0: + case "SIGN_MODE_UNSPECIFIED": + return SignMode.SIGN_MODE_UNSPECIFIED; + + case 1: + case "SIGN_MODE_DIRECT": + return SignMode.SIGN_MODE_DIRECT; + + case 2: + case "SIGN_MODE_TEXTUAL": + return SignMode.SIGN_MODE_TEXTUAL; + + case 3: + case "SIGN_MODE_DIRECT_AUX": + return SignMode.SIGN_MODE_DIRECT_AUX; + + case 127: + case "SIGN_MODE_LEGACY_AMINO_JSON": + return SignMode.SIGN_MODE_LEGACY_AMINO_JSON; + + case -1: + case "UNRECOGNIZED": + default: + return SignMode.UNRECOGNIZED; + } +} +export function signModeToJSON(object: SignMode): string { + switch (object) { + case SignMode.SIGN_MODE_UNSPECIFIED: + return "SIGN_MODE_UNSPECIFIED"; + + case SignMode.SIGN_MODE_DIRECT: + return "SIGN_MODE_DIRECT"; + + case SignMode.SIGN_MODE_TEXTUAL: + return "SIGN_MODE_TEXTUAL"; + + case SignMode.SIGN_MODE_DIRECT_AUX: + return "SIGN_MODE_DIRECT_AUX"; + + case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: + return "SIGN_MODE_LEGACY_AMINO_JSON"; + + case SignMode.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ + +export interface SignatureDescriptors { + /** signatures are the signature descriptors */ + signatures: SignatureDescriptor[]; +} +/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ + +export interface SignatureDescriptorsSDKType { + /** signatures are the signature descriptors */ + 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 | undefined; + data?: SignatureDescriptor_Data | undefined; + /** + * 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; +} +/** + * 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 is the public key of the signer */ + public_key?: AnySDKType | undefined; + data?: SignatureDescriptor_DataSDKType | undefined; + /** + * 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; +} +/** Data represents signature data */ + +export interface SignatureDescriptor_Data { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_Single | undefined; + /** multi represents a multisig signer */ + + multi?: SignatureDescriptor_Data_Multi | undefined; +} +/** Data represents signature data */ + +export interface SignatureDescriptor_DataSDKType { + /** single represents a single signer */ + single?: SignatureDescriptor_Data_SingleSDKType | undefined; + /** multi represents a multisig signer */ + + multi?: SignatureDescriptor_Data_MultiSDKType | undefined; +} +/** 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; +} +/** Single is the signature data for a single signer */ + +export interface SignatureDescriptor_Data_SingleSDKType { + /** mode is the signing mode of the single signer */ + mode: SignModeSDKType; + /** signature is the raw signature bytes */ + + 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 | undefined; + /** signatures is the signatures of the multi-signature */ + + signatures: SignatureDescriptor_Data[]; +} +/** Multi is the signature data for a multisig public key */ + +export interface SignatureDescriptor_Data_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray?: CompactBitArraySDKType | undefined; + /** signatures is the signatures of the multi-signature */ + + signatures: SignatureDescriptor_DataSDKType[]; +} + +function createBaseSignatureDescriptors(): SignatureDescriptors { + return { + signatures: [] + }; +} + +export const SignatureDescriptors = { + encode(message: SignatureDescriptors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signatures) { + SignatureDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptors(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatures.push(SignatureDescriptor.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureDescriptors { + const message = createBaseSignatureDescriptors(); + message.signatures = object.signatures?.map(e => SignatureDescriptor.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSignatureDescriptor(): SignatureDescriptor { + return { + publicKey: undefined, + data: undefined, + sequence: Long.UZERO + }; +} + +export const SignatureDescriptor = { + encode(message: SignatureDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.data !== undefined) { + SignatureDescriptor_Data.encode(message.data, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.data = SignatureDescriptor_Data.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureDescriptor { + const message = createBaseSignatureDescriptor(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.data = object.data !== undefined && object.data !== null ? SignatureDescriptor_Data.fromPartial(object.data) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data(): SignatureDescriptor_Data { + return { + single: undefined, + multi: undefined + }; +} + +export const SignatureDescriptor_Data = { + encode(message: SignatureDescriptor_Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + SignatureDescriptor_Data_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = SignatureDescriptor_Data_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = SignatureDescriptor_Data_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureDescriptor_Data { + const message = createBaseSignatureDescriptor_Data(); + message.single = object.single !== undefined && object.single !== null ? SignatureDescriptor_Data_Single.fromPartial(object.single) : undefined; + message.multi = object.multi !== undefined && object.multi !== null ? SignatureDescriptor_Data_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Single(): SignatureDescriptor_Data_Single { + return { + mode: 0, + signature: new Uint8Array() + }; +} + +export const SignatureDescriptor_Data_Single = { + encode(message: SignatureDescriptor_Data_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + if (message.signature.length !== 0) { + writer.uint32(18).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + case 2: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureDescriptor_Data_Single { + const message = createBaseSignatureDescriptor_Data_Single(); + message.mode = object.mode ?? 0; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { + return { + bitarray: undefined, + signatures: [] + }; +} + +export const SignatureDescriptor_Data_Multi = { + encode(message: SignatureDescriptor_Data_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.signatures) { + SignatureDescriptor_Data.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureDescriptor_Data_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.signatures.push(SignatureDescriptor_Data.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureDescriptor_Data_Multi { + const message = createBaseSignatureDescriptor_Data_Multi(); + message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; + message.signatures = object.signatures?.map(e => SignatureDescriptor_Data.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts new file mode 100644 index 000000000..ee31b21e5 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.lcd.ts @@ -0,0 +1,65 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.getTx = this.getTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + /* GetTx fetches a tx by hash. */ + + + async getTx(params: GetTxRequest): Promise { + const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`; + return await this.req.get(endpoint); + } + /* GetTxsEvent fetches txs by event. */ + + + async getTxsEvent(params: GetTxsEventRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.events !== "undefined") { + options.params.events = params.events; + } + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.orderBy !== "undefined") { + options.params.order_by = params.orderBy; + } + + const endpoint = `cosmos/tx/v1beta1/txs`; + return await this.req.get(endpoint, options); + } + /* GetBlockWithTxs fetches a block with decoded txs. + + Since: cosmos-sdk 0.45.2 */ + + + async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts new file mode 100644 index 000000000..385b42d55 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts @@ -0,0 +1,95 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 class ServiceClientImpl implements Service { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.simulate = this.simulate.bind(this); + this.getTx = this.getTx.bind(this); + this.broadcastTx = this.broadcastTx.bind(this); + this.getTxsEvent = this.getTxsEvent.bind(this); + this.getBlockWithTxs = this.getBlockWithTxs.bind(this); + } + + simulate(request: SimulateRequest): Promise { + const data = SimulateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "Simulate", data); + return promise.then(data => SimulateResponse.decode(new _m0.Reader(data))); + } + + getTx(request: GetTxRequest): Promise { + const data = GetTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTx", data); + return promise.then(data => GetTxResponse.decode(new _m0.Reader(data))); + } + + broadcastTx(request: BroadcastTxRequest): Promise { + const data = BroadcastTxRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "BroadcastTx", data); + return promise.then(data => BroadcastTxResponse.decode(new _m0.Reader(data))); + } + + getTxsEvent(request: GetTxsEventRequest): Promise { + const data = GetTxsEventRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetTxsEvent", data); + return promise.then(data => GetTxsEventResponse.decode(new _m0.Reader(data))); + } + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + const data = GetBlockWithTxsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.tx.v1beta1.Service", "GetBlockWithTxs", data); + return promise.then(data => GetBlockWithTxsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new ServiceClientImpl(rpc); + return { + simulate(request: SimulateRequest): Promise { + return queryService.simulate(request); + }, + + getTx(request: GetTxRequest): Promise { + return queryService.getTx(request); + }, + + broadcastTx(request: BroadcastTxRequest): Promise { + return queryService.broadcastTx(request); + }, + + getTxsEvent(request: GetTxsEventRequest): Promise { + return queryService.getTxsEvent(request); + }, + + getBlockWithTxs(request: GetBlockWithTxsRequest): Promise { + return queryService.getBlockWithTxs(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts new file mode 100644 index 000000000..803ff3623 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/service.ts @@ -0,0 +1,986 @@ +import { Tx, TxSDKType } from "./tx"; +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; +import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; +import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; +import { Block, BlockSDKType } from "../../../tendermint/types/block"; +import * as _m0 from "protobufjs/minimal"; +import { Long } 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. */ + 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, +} +/** OrderBy defines the sorting order */ + +export enum OrderBySDKType { + /** 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 function orderByFromJSON(object: any): OrderBy { + switch (object) { + case 0: + case "ORDER_BY_UNSPECIFIED": + return OrderBy.ORDER_BY_UNSPECIFIED; + + case 1: + case "ORDER_BY_ASC": + return OrderBy.ORDER_BY_ASC; + + case 2: + case "ORDER_BY_DESC": + return OrderBy.ORDER_BY_DESC; + + case -1: + case "UNRECOGNIZED": + default: + return OrderBy.UNRECOGNIZED; + } +} +export function orderByToJSON(object: OrderBy): string { + switch (object) { + case OrderBy.ORDER_BY_UNSPECIFIED: + return "ORDER_BY_UNSPECIFIED"; + + case OrderBy.ORDER_BY_ASC: + return "ORDER_BY_ASC"; + + case OrderBy.ORDER_BY_DESC: + return "ORDER_BY_DESC"; + + case OrderBy.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + +export 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, +} +/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ + +export enum BroadcastModeSDKType { + /** 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 function broadcastModeFromJSON(object: any): BroadcastMode { + switch (object) { + case 0: + case "BROADCAST_MODE_UNSPECIFIED": + return BroadcastMode.BROADCAST_MODE_UNSPECIFIED; + + case 1: + case "BROADCAST_MODE_BLOCK": + return BroadcastMode.BROADCAST_MODE_BLOCK; + + case 2: + case "BROADCAST_MODE_SYNC": + return BroadcastMode.BROADCAST_MODE_SYNC; + + case 3: + case "BROADCAST_MODE_ASYNC": + return BroadcastMode.BROADCAST_MODE_ASYNC; + + case -1: + case "UNRECOGNIZED": + default: + return BroadcastMode.UNRECOGNIZED; + } +} +export function broadcastModeToJSON(object: BroadcastMode): string { + switch (object) { + case BroadcastMode.BROADCAST_MODE_UNSPECIFIED: + return "BROADCAST_MODE_UNSPECIFIED"; + + case BroadcastMode.BROADCAST_MODE_BLOCK: + return "BROADCAST_MODE_BLOCK"; + + case BroadcastMode.BROADCAST_MODE_SYNC: + return "BROADCAST_MODE_SYNC"; + + case BroadcastMode.BROADCAST_MODE_ASYNC: + return "BROADCAST_MODE_ASYNC"; + + case BroadcastMode.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * 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. */ + + pagination?: PageRequest | undefined; + orderBy: OrderBy; +} +/** + * GetTxsEventRequest is the request type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventRequestSDKType { + /** events is the list of transaction event type. */ + events: string[]; + /** pagination defines a pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; + order_by: OrderBySDKType; +} +/** + * 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. */ + + pagination?: PageResponse | undefined; +} +/** + * GetTxsEventResponse is the response type for the Service.TxsByEvents + * RPC method. + */ + +export interface GetTxsEventResponseSDKType { + /** txs is the list of queried transactions. */ + txs: TxSDKType[]; + /** tx_responses is the list of queried TxResponses. */ + + tx_responses: TxResponseSDKType[]; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ + +export interface BroadcastTxRequest { + /** tx_bytes is the raw transaction. */ + txBytes: Uint8Array; + mode: BroadcastMode; +} +/** + * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest + * RPC method. + */ + +export interface BroadcastTxRequestSDKType { + /** tx_bytes is the raw transaction. */ + tx_bytes: Uint8Array; + mode: BroadcastModeSDKType; +} +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ + +export interface BroadcastTxResponse { + /** tx_response is the queried TxResponses. */ + txResponse?: TxResponse | undefined; +} +/** + * BroadcastTxResponse is the response type for the + * Service.BroadcastTx method. + */ + +export interface BroadcastTxResponseSDKType { + /** tx_response is the queried TxResponses. */ + tx_response?: TxResponseSDKType | undefined; +} +/** + * 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 | undefined; + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + + txBytes: Uint8Array; +} +/** + * SimulateRequest is the request type for the Service.Simulate + * RPC method. + */ + +export interface SimulateRequestSDKType { + /** + * tx is the transaction to simulate. + * Deprecated. Send raw tx bytes instead. + */ + + /** @deprecated */ + tx?: TxSDKType | undefined; + /** + * tx_bytes is the raw transaction. + * + * Since: cosmos-sdk 0.43 + */ + + 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 | undefined; + /** result is the result of the simulation. */ + + result?: Result | undefined; +} +/** + * SimulateResponse is the response type for the + * Service.SimulateRPC method. + */ + +export interface SimulateResponseSDKType { + /** gas_info is the information about gas used in the simulation. */ + gas_info?: GasInfoSDKType | undefined; + /** result is the result of the simulation. */ + + result?: ResultSDKType | undefined; +} +/** + * 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; +} +/** + * GetTxRequest is the request type for the Service.GetTx + * RPC method. + */ + +export interface GetTxRequestSDKType { + /** hash is the tx hash to query, encoded as a hex string. */ + hash: string; +} +/** GetTxResponse is the response type for the Service.GetTx method. */ + +export interface GetTxResponse { + /** tx is the queried transaction. */ + tx?: Tx | undefined; + /** tx_response is the queried TxResponses. */ + + txResponse?: TxResponse | undefined; +} +/** GetTxResponse is the response type for the Service.GetTx method. */ + +export interface GetTxResponseSDKType { + /** tx is the queried transaction. */ + tx?: TxSDKType | undefined; + /** tx_response is the queried TxResponses. */ + + tx_response?: TxResponseSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs + * RPC method. + * + * Since: cosmos-sdk 0.45.2 + */ + +export interface GetBlockWithTxsRequestSDKType { + /** height is the height of the block to query. */ + height: Long; + /** pagination defines a pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; + block?: Block | undefined; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponse | undefined; +} +/** + * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. + * + * Since: cosmos-sdk 0.45.2 + */ + +export interface GetBlockWithTxsResponseSDKType { + /** txs are the transactions in the block. */ + txs: TxSDKType[]; + block_id?: BlockIDSDKType | undefined; + block?: BlockSDKType | undefined; + /** pagination defines a pagination for the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseGetTxsEventRequest(): GetTxsEventRequest { + return { + events: [], + pagination: undefined, + orderBy: 0 + }; +} + +export const GetTxsEventRequest = { + encode(message: GetTxsEventRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.orderBy !== 0) { + writer.uint32(24).int32(message.orderBy); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(reader.string()); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 3: + message.orderBy = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetTxsEventRequest { + const message = createBaseGetTxsEventRequest(); + message.events = object.events?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.orderBy = object.orderBy ?? 0; + return message; + } + +}; + +function createBaseGetTxsEventResponse(): GetTxsEventResponse { + return { + txs: [], + txResponses: [], + pagination: undefined + }; +} + +export const GetTxsEventResponse = { + encode(message: GetTxsEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.txResponses) { + TxResponse.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxsEventResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.txResponses.push(TxResponse.decode(reader, reader.uint32())); + break; + + case 3: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetTxsEventResponse { + const message = createBaseGetTxsEventResponse(); + message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; + message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseBroadcastTxRequest(): BroadcastTxRequest { + return { + txBytes: new Uint8Array(), + mode: 0 + }; +} + +export const BroadcastTxRequest = { + encode(message: BroadcastTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txBytes.length !== 0) { + writer.uint32(10).bytes(message.txBytes); + } + + if (message.mode !== 0) { + writer.uint32(16).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txBytes = reader.bytes(); + break; + + case 2: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BroadcastTxRequest { + const message = createBaseBroadcastTxRequest(); + message.txBytes = object.txBytes ?? new Uint8Array(); + message.mode = object.mode ?? 0; + return message; + } + +}; + +function createBaseBroadcastTxResponse(): BroadcastTxResponse { + return { + txResponse: undefined + }; +} + +export const BroadcastTxResponse = { + encode(message: BroadcastTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBroadcastTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BroadcastTxResponse { + const message = createBaseBroadcastTxResponse(); + message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; + return message; + } + +}; + +function createBaseSimulateRequest(): SimulateRequest { + return { + tx: undefined, + txBytes: new Uint8Array() + }; +} + +export const SimulateRequest = { + encode(message: SimulateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txBytes.length !== 0) { + writer.uint32(18).bytes(message.txBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txBytes = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SimulateRequest { + const message = createBaseSimulateRequest(); + message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; + message.txBytes = object.txBytes ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSimulateResponse(): SimulateResponse { + return { + gasInfo: undefined, + result: undefined + }; +} + +export const SimulateResponse = { + encode(message: SimulateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.gasInfo !== undefined) { + GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.result !== undefined) { + Result.encode(message.result, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimulateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.gasInfo = GasInfo.decode(reader, reader.uint32()); + break; + + case 2: + message.result = Result.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SimulateResponse { + const message = createBaseSimulateResponse(); + message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; + message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseGetTxRequest(): GetTxRequest { + return { + hash: "" + }; +} + +export const GetTxRequest = { + encode(message: GetTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetTxRequest { + const message = createBaseGetTxRequest(); + message.hash = object.hash ?? ""; + return message; + } + +}; + +function createBaseGetTxResponse(): GetTxResponse { + return { + tx: undefined, + txResponse: undefined + }; +} + +export const GetTxResponse = { + encode(message: GetTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx !== undefined) { + Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); + } + + if (message.txResponse !== undefined) { + TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetTxResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = Tx.decode(reader, reader.uint32()); + break; + + case 2: + message.txResponse = TxResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetTxResponse { + const message = createBaseGetTxResponse(); + message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; + message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { + return { + height: Long.ZERO, + pagination: undefined + }; +} + +export const GetBlockWithTxsRequest = { + encode(message: GetBlockWithTxsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetBlockWithTxsRequest { + const message = createBaseGetBlockWithTxsRequest(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { + return { + txs: [], + blockId: undefined, + block: undefined, + pagination: undefined + }; +} + +export const GetBlockWithTxsResponse = { + encode(message: GetBlockWithTxsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + Tx.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim(); + } + + if (message.block !== undefined) { + Block.encode(message.block, writer.uint32(26).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGetBlockWithTxsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(Tx.decode(reader, reader.uint32())); + break; + + case 2: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 3: + message.block = Block.decode(reader, reader.uint32()); + break; + + case 4: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GetBlockWithTxsResponse { + const message = createBaseGetBlockWithTxsResponse(); + message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.block = object.block !== undefined && object.block !== null ? Block.fromPartial(object.block) : undefined; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts new file mode 100644 index 000000000..a2484a3e8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/tx/v1beta1/tx.ts @@ -0,0 +1,1497 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing"; +import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** Tx is the standard type used for broadcasting transactions. */ + +export interface Tx { + /** body is the processable content of the transaction */ + body?: TxBody | undefined; + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + + authInfo?: AuthInfo | undefined; + /** + * 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[]; +} +/** Tx is the standard type used for broadcasting transactions. */ + +export interface TxSDKType { + /** body is the processable content of the transaction */ + body?: TxBodySDKType | undefined; + /** + * auth_info is the authorization related content of the transaction, + * specifically signers, signer modes and fee + */ + + auth_info?: AuthInfoSDKType | undefined; + /** + * 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[]; +} +/** + * 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[]; +} +/** + * 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 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[]; +} +/** 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; +} +/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ + +export interface SignDocSDKType { + /** + * 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: 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 | undefined; + /** + * 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 meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + + tip?: Tip | undefined; +} +/** + * SignDocDirectAux is the type used for generating sign bytes for + * SIGN_MODE_DIRECT_AUX. + * + * Since: cosmos-sdk 0.46 + */ + +export interface SignDocDirectAuxSDKType { + /** + * 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?: AnySDKType | undefined; + /** + * 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: Long; + /** sequence is the sequence number of the signing account. */ + + sequence: Long; + /** + * Tip is the optional tip used for meta-transactions. It should be left + * empty if the signer is not the tipper for this transaction. + */ + + tip?: TipSDKType | undefined; +} +/** 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[]; +} +/** TxBody is the body of a transaction that all signers sign over. */ + +export interface TxBodySDKType { + /** + * 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: AnySDKType[]; + /** + * 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: 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 + */ + + extension_options: AnySDKType[]; + /** + * 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: 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 | undefined; + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + + tip?: Tip | undefined; +} +/** + * AuthInfo describes the fee and signer modes that are used to sign a + * transaction. + */ + +export interface AuthInfoSDKType { + /** + * 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: SignerInfoSDKType[]; + /** + * 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?: FeeSDKType | undefined; + /** + * Tip is the optional tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + + tip?: TipSDKType | undefined; +} +/** + * 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 | undefined; + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + + modeInfo?: ModeInfo | undefined; + /** + * 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; +} +/** + * SignerInfo describes the public key and signing mode of a single top-level + * signer. + */ + +export interface SignerInfoSDKType { + /** + * 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?: AnySDKType | undefined; + /** + * mode_info describes the signing mode of the signer and is a nested + * structure to support nested multisig pubkey's + */ + + mode_info?: ModeInfoSDKType | undefined; + /** + * 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; +} +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ + +export interface ModeInfo { + /** single represents a single signer */ + single?: ModeInfo_Single | undefined; + /** multi represents a nested multisig signer */ + + multi?: ModeInfo_Multi | undefined; +} +/** ModeInfo describes the signing mode of a single or nested multisig signer. */ + +export interface ModeInfoSDKType { + /** single represents a single signer */ + single?: ModeInfo_SingleSDKType | undefined; + /** multi represents a nested multisig signer */ + + multi?: ModeInfo_MultiSDKType | undefined; +} +/** + * 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; +} +/** + * 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 is the signing mode of the single signer */ + mode: SignModeSDKType; +} +/** 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 | undefined; + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + + modeInfos: ModeInfo[]; +} +/** Multi is the mode info for a multisig public key */ + +export interface ModeInfo_MultiSDKType { + /** bitarray specifies which keys within the multisig are signing */ + bitarray?: CompactBitArraySDKType | undefined; + /** + * mode_infos is the corresponding modes of the signers of the multisig + * which could include nested multisig public keys + */ + + 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; +} +/** + * 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 is the amount of coins to be paid as a fee */ + amount: CoinSDKType[]; + /** + * gas_limit is the maximum gas that can be used in transaction processing + * before an out of gas error occurs + */ + + gas_limit: 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; +} +/** + * 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; +} +/** + * Tip is the tip used for meta-transactions. + * + * Since: cosmos-sdk 0.46 + */ + +export interface TipSDKType { + /** amount is the amount of the tip */ + amount: CoinSDKType[]; + /** tipper is the address of the account paying for the tip */ + + 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_MOD_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 | undefined; + /** mode is the signing mode of the single signer */ + + mode: SignMode; + /** sig is the signature of the sign doc. */ + + sig: 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 AuxSignerDataSDKType { + /** + * 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_MOD_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?: SignDocDirectAuxSDKType | undefined; + /** mode is the signing mode of the single signer */ + + mode: SignModeSDKType; + /** sig is the signature of the sign doc. */ + + sig: Uint8Array; +} + +function createBaseTx(): Tx { + return { + body: undefined, + authInfo: undefined, + signatures: [] + }; +} + +export const Tx = { + encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.body !== undefined) { + TxBody.encode(message.body, writer.uint32(10).fork()).ldelim(); + } + + if (message.authInfo !== undefined) { + AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.body = TxBody.decode(reader, reader.uint32()); + break; + + case 2: + message.authInfo = AuthInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Tx { + const message = createBaseTx(); + message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined; + message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined; + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseTxRaw(): TxRaw { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + signatures: [] + }; +} + +export const TxRaw = { + encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + for (const v of message.signatures) { + writer.uint32(26).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxRaw(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.signatures.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxRaw { + const message = createBaseTxRaw(); + message.bodyBytes = object.bodyBytes ?? new Uint8Array(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.signatures = object.signatures?.map(e => e) || []; + return message; + } + +}; + +function createBaseSignDoc(): SignDoc { + return { + bodyBytes: new Uint8Array(), + authInfoBytes: new Uint8Array(), + chainId: "", + accountNumber: Long.UZERO + }; +} + +export const SignDoc = { + encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.authInfoBytes.length !== 0) { + writer.uint32(18).bytes(message.authInfoBytes); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDoc(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.authInfoBytes = reader.bytes(); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignDoc { + const message = createBaseSignDoc(); + message.bodyBytes = object.bodyBytes ?? new Uint8Array(); + message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + return message; + } + +}; + +function createBaseSignDocDirectAux(): SignDocDirectAux { + return { + bodyBytes: new Uint8Array(), + publicKey: undefined, + chainId: "", + accountNumber: Long.UZERO, + sequence: Long.UZERO, + tip: undefined + }; +} + +export const SignDocDirectAux = { + encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bodyBytes.length !== 0) { + writer.uint32(10).bytes(message.bodyBytes); + } + + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(26).string(message.chainId); + } + + if (!message.accountNumber.isZero()) { + writer.uint32(32).uint64(message.accountNumber); + } + + if (!message.sequence.isZero()) { + writer.uint32(40).uint64(message.sequence); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignDocDirectAux(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bodyBytes = reader.bytes(); + break; + + case 2: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.chainId = reader.string(); + break; + + case 4: + message.accountNumber = (reader.uint64() as Long); + break; + + case 5: + message.sequence = (reader.uint64() as Long); + break; + + case 6: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignDocDirectAux { + const message = createBaseSignDocDirectAux(); + message.bodyBytes = object.bodyBytes ?? new Uint8Array(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.chainId = object.chainId ?? ""; + message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? Long.fromValue(object.accountNumber) : Long.UZERO; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseTxBody(): TxBody { + return { + messages: [], + memo: "", + timeoutHeight: Long.UZERO, + extensionOptions: [], + nonCriticalExtensionOptions: [] + }; +} + +export const TxBody = { + encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.messages) { + Any.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.memo !== "") { + writer.uint32(18).string(message.memo); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(24).uint64(message.timeoutHeight); + } + + for (const v of message.extensionOptions) { + Any.encode(v!, writer.uint32(8186).fork()).ldelim(); + } + + for (const v of message.nonCriticalExtensionOptions) { + Any.encode(v!, writer.uint32(16378).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxBody { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxBody(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messages.push(Any.decode(reader, reader.uint32())); + break; + + case 2: + message.memo = reader.string(); + break; + + case 3: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 1023: + message.extensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + case 2047: + message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxBody { + const message = createBaseTxBody(); + message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; + message.memo = object.memo ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || []; + message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAuthInfo(): AuthInfo { + return { + signerInfos: [], + fee: undefined, + tip: undefined + }; +} + +export const AuthInfo = { + encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.signerInfos) { + SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fee !== undefined) { + Fee.encode(message.fee, writer.uint32(18).fork()).ldelim(); + } + + if (message.tip !== undefined) { + Tip.encode(message.tip, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuthInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signerInfos.push(SignerInfo.decode(reader, reader.uint32())); + break; + + case 2: + message.fee = Fee.decode(reader, reader.uint32()); + break; + + case 3: + message.tip = Tip.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AuthInfo { + const message = createBaseAuthInfo(); + message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || []; + message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined; + message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined; + return message; + } + +}; + +function createBaseSignerInfo(): SignerInfo { + return { + publicKey: undefined, + modeInfo: undefined, + sequence: Long.UZERO + }; +} + +export const SignerInfo = { + encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.modeInfo !== undefined) { + ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfo = ModeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignerInfo { + const message = createBaseSignerInfo(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseModeInfo(): ModeInfo { + return { + single: undefined, + multi: undefined + }; +} + +export const ModeInfo = { + encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.single !== undefined) { + ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); + } + + if (message.multi !== undefined) { + ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.single = ModeInfo_Single.decode(reader, reader.uint32()); + break; + + case 2: + message.multi = ModeInfo_Multi.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModeInfo { + const message = createBaseModeInfo(); + message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined; + message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined; + return message; + } + +}; + +function createBaseModeInfo_Single(): ModeInfo_Single { + return { + mode: 0 + }; +} + +export const ModeInfo_Single = { + encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.mode !== 0) { + writer.uint32(8).int32(message.mode); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Single(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.mode = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModeInfo_Single { + const message = createBaseModeInfo_Single(); + message.mode = object.mode ?? 0; + return message; + } + +}; + +function createBaseModeInfo_Multi(): ModeInfo_Multi { + return { + bitarray: undefined, + modeInfos: [] + }; +} + +export const ModeInfo_Multi = { + encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.bitarray !== undefined) { + CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.modeInfos) { + ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModeInfo_Multi(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bitarray = CompactBitArray.decode(reader, reader.uint32()); + break; + + case 2: + message.modeInfos.push(ModeInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModeInfo_Multi { + const message = createBaseModeInfo_Multi(); + message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; + message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFee(): Fee { + return { + amount: [], + gasLimit: Long.UZERO, + payer: "", + granter: "" + }; +} + +export const Fee = { + encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (!message.gasLimit.isZero()) { + writer.uint32(16).uint64(message.gasLimit); + } + + if (message.payer !== "") { + writer.uint32(26).string(message.payer); + } + + if (message.granter !== "") { + writer.uint32(34).string(message.granter); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fee { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFee(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.gasLimit = (reader.uint64() as Long); + break; + + case 3: + message.payer = reader.string(); + break; + + case 4: + message.granter = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Fee { + const message = createBaseFee(); + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? Long.fromValue(object.gasLimit) : Long.UZERO; + message.payer = object.payer ?? ""; + message.granter = object.granter ?? ""; + return message; + } + +}; + +function createBaseTip(): Tip { + return { + amount: [], + tipper: "" + }; +} + +export const Tip = { + encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.tipper !== "") { + writer.uint32(18).string(message.tipper); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Tip { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTip(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 2: + message.tipper = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Tip { + const message = createBaseTip(); + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.tipper = object.tipper ?? ""; + return message; + } + +}; + +function createBaseAuxSignerData(): AuxSignerData { + return { + address: "", + signDoc: undefined, + mode: 0, + sig: new Uint8Array() + }; +} + +export const AuxSignerData = { + encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.signDoc !== undefined) { + SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim(); + } + + if (message.mode !== 0) { + writer.uint32(24).int32(message.mode); + } + + if (message.sig.length !== 0) { + writer.uint32(34).bytes(message.sig); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAuxSignerData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.signDoc = SignDocDirectAux.decode(reader, reader.uint32()); + break; + + case 3: + message.mode = (reader.int32() as any); + break; + + case 4: + message.sig = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AuxSignerData { + const message = createBaseAuxSignerData(); + message.address = object.address ?? ""; + message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined; + message.mode = object.mode ?? 0; + message.sig = object.sig ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts new file mode 100644 index 000000000..36a7cf66c --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.lcd.ts @@ -0,0 +1,69 @@ +import { LCDClient } from "@osmonauts/lcd"; +import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); + } + /* CurrentPlan queries the current upgrade plan. */ + + + async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/current_plan`; + return await this.req.get(endpoint); + } + /* AppliedPlan queries a previously applied upgrade plan by its name. */ + + + async appliedPlan(params: QueryAppliedPlanRequest): Promise { + const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; + return await this.req.get(endpoint); + } + /* 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) */ + + + async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { + const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; + return await this.req.get(endpoint); + } + /* ModuleVersions queries the list of module versions from state. + + Since: cosmos-sdk 0.43 */ + + + async moduleVersions(params: QueryModuleVersionsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.moduleName !== "undefined") { + options.params.module_name = params.moduleName; + } + + const endpoint = `cosmos/upgrade/v1beta1/module_versions`; + return await this.req.get(endpoint, options); + } + /* Returns the account with authority to conduct upgrades */ + + + async authority(_params: QueryAuthorityRequest = {}): Promise { + const endpoint = `cosmos/upgrade/v1beta1/authority`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts new file mode 100644 index 000000000..d2cea4ed8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts @@ -0,0 +1,102 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } 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 */ + + authority(request?: QueryAuthorityRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.currentPlan = this.currentPlan.bind(this); + this.appliedPlan = this.appliedPlan.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + this.moduleVersions = this.moduleVersions.bind(this); + this.authority = this.authority.bind(this); + } + + currentPlan(request: QueryCurrentPlanRequest = {}): Promise { + const data = QueryCurrentPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "CurrentPlan", data); + return promise.then(data => QueryCurrentPlanResponse.decode(new _m0.Reader(data))); + } + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + const data = QueryAppliedPlanRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "AppliedPlan", data); + return promise.then(data => QueryAppliedPlanResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + const data = QueryModuleVersionsRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "ModuleVersions", data); + return promise.then(data => QueryModuleVersionsResponse.decode(new _m0.Reader(data))); + } + + authority(request: QueryAuthorityRequest = {}): Promise { + const data = QueryAuthorityRequest.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Query", "Authority", data); + return promise.then(data => QueryAuthorityResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + currentPlan(request?: QueryCurrentPlanRequest): Promise { + return queryService.currentPlan(request); + }, + + appliedPlan(request: QueryAppliedPlanRequest): Promise { + return queryService.appliedPlan(request); + }, + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + }, + + moduleVersions(request: QueryModuleVersionsRequest): Promise { + return queryService.moduleVersions(request); + }, + + authority(request?: QueryAuthorityRequest): Promise { + return queryService.authority(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts new file mode 100644 index 000000000..ac180c2e8 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/query.ts @@ -0,0 +1,631 @@ +import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC + * method. + */ + +export interface QueryCurrentPlanRequest {} +/** + * 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 | undefined; +} +/** + * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC + * method. + */ + +export interface QueryCurrentPlanResponseSDKType { + /** plan is the current upgrade plan. */ + plan?: PlanSDKType | undefined; +} +/** + * 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; +} +/** + * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC + * method. + */ + +export interface QueryAppliedPlanRequestSDKType { + /** name is the name of the applied plan to query for. */ + 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; +} +/** + * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC + * method. + */ + +export interface QueryAppliedPlanResponseSDKType { + /** height is the block height at which the plan was applied. */ + 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; +} +/** + * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ + +export interface QueryUpgradedConsensusStateRequestSDKType { + /** + * 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: Long; +} +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ + +export interface QueryUpgradedConsensusStateResponse { + /** Since: cosmos-sdk 0.43 */ + upgradedConsensusState: Uint8Array; +} +/** + * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState + * RPC method. + */ + +/** @deprecated */ + +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Since: cosmos-sdk 0.43 */ + 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; +} +/** + * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryModuleVersionsRequestSDKType { + /** + * 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; +} +/** + * 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[]; +} +/** + * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions + * RPC method. + * + * Since: cosmos-sdk 0.43 + */ + +export interface QueryModuleVersionsResponseSDKType { + /** module_versions is a list of module names with their consensus versions. */ + module_versions: ModuleVersionSDKType[]; +} +/** + * QueryAuthorityRequest is the request type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ + +export interface QueryAuthorityRequest {} +/** + * 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; +} +/** + * QueryAuthorityResponse is the response type for Query/Authority + * + * Since: cosmos-sdk 0.46 + */ + +export interface QueryAuthorityResponseSDKType { + address: string; +} + +function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { + return {}; +} + +export const QueryCurrentPlanRequest = { + encode(_: QueryCurrentPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryCurrentPlanRequest { + const message = createBaseQueryCurrentPlanRequest(); + return message; + } + +}; + +function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { + return { + plan: undefined + }; +} + +export const QueryCurrentPlanResponse = { + encode(message: QueryCurrentPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCurrentPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryCurrentPlanResponse { + const message = createBaseQueryCurrentPlanResponse(); + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseQueryAppliedPlanRequest(): QueryAppliedPlanRequest { + return { + name: "" + }; +} + +export const QueryAppliedPlanRequest = { + encode(message: QueryAppliedPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryAppliedPlanRequest { + const message = createBaseQueryAppliedPlanRequest(); + message.name = object.name ?? ""; + return message; + } + +}; + +function createBaseQueryAppliedPlanResponse(): QueryAppliedPlanResponse { + return { + height: Long.ZERO + }; +} + +export const QueryAppliedPlanResponse = { + encode(message: QueryAppliedPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppliedPlanResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAppliedPlanResponse { + const message = createBaseQueryAppliedPlanResponse(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return { + lastHeight: Long.ZERO + }; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(message: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.lastHeight.isZero()) { + writer.uint32(8).int64(message.lastHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.lastHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? Long.fromValue(object.lastHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: new Uint8Array() + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState.length !== 0) { + writer.uint32(18).bytes(message.upgradedConsensusState); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.upgradedConsensusState = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { + const message = createBaseQueryUpgradedConsensusStateResponse(); + message.upgradedConsensusState = object.upgradedConsensusState ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryModuleVersionsRequest(): QueryModuleVersionsRequest { + return { + moduleName: "" + }; +} + +export const QueryModuleVersionsRequest = { + encode(message: QueryModuleVersionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.moduleName !== "") { + writer.uint32(10).string(message.moduleName); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleName = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryModuleVersionsRequest { + const message = createBaseQueryModuleVersionsRequest(); + message.moduleName = object.moduleName ?? ""; + return message; + } + +}; + +function createBaseQueryModuleVersionsResponse(): QueryModuleVersionsResponse { + return { + moduleVersions: [] + }; +} + +export const QueryModuleVersionsResponse = { + encode(message: QueryModuleVersionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.moduleVersions) { + ModuleVersion.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryModuleVersionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.moduleVersions.push(ModuleVersion.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryModuleVersionsResponse { + const message = createBaseQueryModuleVersionsResponse(); + message.moduleVersions = object.moduleVersions?.map(e => ModuleVersion.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseQueryAuthorityRequest(): QueryAuthorityRequest { + return {}; +} + +export const QueryAuthorityRequest = { + encode(_: QueryAuthorityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryAuthorityRequest { + const message = createBaseQueryAuthorityRequest(); + return message; + } + +}; + +function createBaseQueryAuthorityResponse(): QueryAuthorityResponse { + return { + address: "" + }; +} + +export const QueryAuthorityResponse = { + encode(message: QueryAuthorityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAuthorityResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAuthorityResponse { + const message = createBaseQueryAuthorityResponse(); + message.address = object.address ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts new file mode 100644 index 000000000..b5e65f6d7 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.amino.ts @@ -0,0 +1,86 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "../../../helpers"; +import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; +export interface AminoMsgSoftwareUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgSoftwareUpgrade"; + value: { + authority: string; + plan: { + name: string; + time: { + seconds: string; + nanos: number; + }; + height: string; + info: string; + upgraded_client_state: { + type_url: string; + value: Uint8Array; + }; + }; + }; +} +export interface AminoMsgCancelUpgrade extends AminoMsg { + type: "cosmos-sdk/MsgCancelUpgrade"; + value: { + authority: string; + }; +} +export const AminoConverter = { + "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { + aminoType: "cosmos-sdk/MsgSoftwareUpgrade", + toAmino: ({ + authority, + plan + }: MsgSoftwareUpgrade): AminoMsgSoftwareUpgrade["value"] => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: plan.height.toString(), + info: plan.info, + upgraded_client_state: { + type_url: plan.upgradedClientState.typeUrl, + value: plan.upgradedClientState.value + } + } + }; + }, + fromAmino: ({ + authority, + plan + }: AminoMsgSoftwareUpgrade["value"]): MsgSoftwareUpgrade => { + return { + authority, + plan: { + name: plan.name, + time: plan.time, + height: Long.fromString(plan.height), + info: plan.info, + upgradedClientState: { + typeUrl: plan.upgraded_client_state.type_url, + value: plan.upgraded_client_state.value + } + } + }; + } + }, + "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { + aminoType: "cosmos-sdk/MsgCancelUpgrade", + toAmino: ({ + authority + }: MsgCancelUpgrade): AminoMsgCancelUpgrade["value"] => { + return { + authority + }; + }, + fromAmino: ({ + authority + }: AminoMsgCancelUpgrade["value"]): MsgCancelUpgrade => { + return { + authority + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts new file mode 100644 index 000000000..caa3a0ed2 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.registry.ts @@ -0,0 +1,58 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.encode(value).finish() + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.encode(value).finish() + }; + } + + }, + withTypeUrl: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value + }; + } + + }, + fromPartial: { + softwareUpgrade(value: MsgSoftwareUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", + value: MsgSoftwareUpgrade.fromPartial(value) + }; + }, + + cancelUpgrade(value: MsgCancelUpgrade) { + return { + typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", + value: MsgCancelUpgrade.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..901bdbd02 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,43 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.softwareUpgrade = this.softwareUpgrade.bind(this); + this.cancelUpgrade = this.cancelUpgrade.bind(this); + } + + softwareUpgrade(request: MsgSoftwareUpgrade): Promise { + const data = MsgSoftwareUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "SoftwareUpgrade", data); + return promise.then(data => MsgSoftwareUpgradeResponse.decode(new _m0.Reader(data))); + } + + cancelUpgrade(request: MsgCancelUpgrade): Promise { + const data = MsgCancelUpgrade.encode(request).finish(); + const promise = this.rpc.request("cosmos.upgrade.v1beta1.Msg", "CancelUpgrade", data); + return promise.then(data => MsgCancelUpgradeResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts new file mode 100644 index 000000000..f1a8f5c16 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/tx.ts @@ -0,0 +1,244 @@ +import { Plan, 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 | undefined; +} +/** + * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgSoftwareUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; + /** plan is the upgrade plan. */ + + plan?: PlanSDKType | undefined; +} +/** + * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgSoftwareUpgradeResponse {} +/** + * 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; +} +/** + * MsgCancelUpgrade is the Msg/CancelUpgrade request type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgCancelUpgradeSDKType { + /** authority is the address of the governance account. */ + authority: string; +} +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgCancelUpgradeResponse {} +/** + * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. + * + * Since: cosmos-sdk 0.46 + */ + +export interface MsgCancelUpgradeResponseSDKType {} + +function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { + return { + authority: "", + plan: undefined + }; +} + +export const MsgSoftwareUpgrade = { + encode(message: MsgSoftwareUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + case 2: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSoftwareUpgrade { + const message = createBaseMsgSoftwareUpgrade(); + message.authority = object.authority ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseMsgSoftwareUpgradeResponse(): MsgSoftwareUpgradeResponse { + return {}; +} + +export const MsgSoftwareUpgradeResponse = { + encode(_: MsgSoftwareUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSoftwareUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgSoftwareUpgradeResponse { + const message = createBaseMsgSoftwareUpgradeResponse(); + return message; + } + +}; + +function createBaseMsgCancelUpgrade(): MsgCancelUpgrade { + return { + authority: "" + }; +} + +export const MsgCancelUpgrade = { + encode(message: MsgCancelUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgrade(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.authority = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCancelUpgrade { + const message = createBaseMsgCancelUpgrade(); + message.authority = object.authority ?? ""; + return message; + } + +}; + +function createBaseMsgCancelUpgradeResponse(): MsgCancelUpgradeResponse { + return {}; +} + +export const MsgCancelUpgradeResponse = { + encode(_: MsgCancelUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelUpgradeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCancelUpgradeResponse { + const message = createBaseMsgCancelUpgradeResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts new file mode 100644 index 000000000..0b2cc8456 --- /dev/null +++ b/examples/telescope/codegen/cosmos/upgrade/v1beta1/upgrade.ts @@ -0,0 +1,432 @@ +import { Timestamp } from "../../../google/protobuf/timestamp"; +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long } from "../../../helpers"; +/** 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?: Date | undefined; + /** + * 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 | undefined; +} +/** Plan specifies information about a planned upgrade and when it should occur. */ + +export interface PlanSDKType { + /** + * 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?: Date | undefined; + /** + * 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 */ + + upgraded_client_state?: AnySDKType | undefined; +} +/** + * 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 { + title: string; + description: string; + plan?: Plan | undefined; +} +/** + * 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 { + title: string; + description: string; + plan?: PlanSDKType | undefined; +} +/** + * 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 { + title: string; + description: string; +} +/** + * 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 { + 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; +} +/** + * ModuleVersion specifies a module and its consensus version. + * + * Since: cosmos-sdk 0.43 + */ + +export interface ModuleVersionSDKType { + /** name of the app module */ + name: string; + /** consensus version of the app module */ + + version: Long; +} + +function createBasePlan(): Plan { + return { + name: "", + time: undefined, + height: Long.ZERO, + info: "", + upgradedClientState: undefined + }; +} + +export const Plan = { + encode(message: Plan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Plan { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePlan(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Plan { + const message = createBasePlan(); + message.name = object.name ?? ""; + message.time = object.time ?? undefined; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.info = object.info ?? ""; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { + return { + title: "", + description: "", + plan: undefined + }; +} + +export const SoftwareUpgradeProposal = { + encode(message: SoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SoftwareUpgradeProposal { + const message = createBaseSoftwareUpgradeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + return message; + } + +}; + +function createBaseCancelSoftwareUpgradeProposal(): CancelSoftwareUpgradeProposal { + return { + title: "", + description: "" + }; +} + +export const CancelSoftwareUpgradeProposal = { + encode(message: CancelSoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCancelSoftwareUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CancelSoftwareUpgradeProposal { + const message = createBaseCancelSoftwareUpgradeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseModuleVersion(): ModuleVersion { + return { + name: "", + version: Long.UZERO + }; +} + +export const ModuleVersion = { + encode(message: ModuleVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (!message.version.isZero()) { + writer.uint32(16).uint64(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.version = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ModuleVersion { + const message = createBaseModuleVersion(); + message.name = object.name ?? ""; + message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts new file mode 100644 index 000000000..5f402b993 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.amino.ts @@ -0,0 +1,155 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { Long } from "../../../helpers"; +import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; +export interface AminoMsgCreateVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreateVestingAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + end_time: string; + delayed: boolean; + }; +} +export interface AminoMsgCreatePermanentLockedAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; + value: { + from_address: string; + to_address: string; + amount: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgCreatePeriodicVestingAccount extends AminoMsg { + type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; + value: { + from_address: string; + to_address: string; + start_time: string; + vesting_periods: { + length: string; + amount: { + denom: string; + amount: string; + }[]; + }[]; + }; +} +export const AminoConverter = { + "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { + aminoType: "cosmos-sdk/MsgCreateVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + amount, + endTime, + delayed + }: MsgCreateVestingAccount): AminoMsgCreateVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + end_time: endTime.toString(), + delayed + }; + }, + fromAmino: ({ + from_address, + to_address, + amount, + end_time, + delayed + }: AminoMsgCreateVestingAccount["value"]): MsgCreateVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })), + endTime: Long.fromString(end_time), + delayed + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { + aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", + toAmino: ({ + fromAddress, + toAddress, + amount + }: MsgCreatePermanentLockedAccount): AminoMsgCreatePermanentLockedAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + amount + }: AminoMsgCreatePermanentLockedAccount["value"]): MsgCreatePermanentLockedAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + amount: amount.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { + aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", + toAmino: ({ + fromAddress, + toAddress, + startTime, + vestingPeriods + }: MsgCreatePeriodicVestingAccount): AminoMsgCreatePeriodicVestingAccount["value"] => { + return { + from_address: fromAddress, + to_address: toAddress, + start_time: startTime.toString(), + vesting_periods: vestingPeriods.map(el0 => ({ + length: el0.length.toString(), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + }, + fromAmino: ({ + from_address, + to_address, + start_time, + vesting_periods + }: AminoMsgCreatePeriodicVestingAccount["value"]): MsgCreatePeriodicVestingAccount => { + return { + fromAddress: from_address, + toAddress: to_address, + startTime: Long.fromString(start_time), + vestingPeriods: vesting_periods.map(el0 => ({ + length: Long.fromString(el0.length), + amount: el0.amount.map(el1 => ({ + denom: el1.denom, + amount: el1.amount + })) + })) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts new file mode 100644 index 000000000..d9679e7a4 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.registry.ts @@ -0,0 +1,79 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.encode(value).finish() + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.encode(value).finish() + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value + }; + } + + }, + fromPartial: { + createVestingAccount(value: MsgCreateVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", + value: MsgCreateVestingAccount.fromPartial(value) + }; + }, + + createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", + value: MsgCreatePermanentLockedAccount.fromPartial(value) + }; + }, + + createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { + return { + typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", + value: MsgCreatePeriodicVestingAccount.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts new file mode 100644 index 000000000..f0728ea1c --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -0,0 +1,53 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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. + */ + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; + /** + * CreatePeriodicVestingAccount defines a method that enables creating a + * periodic vesting account. + */ + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createVestingAccount = this.createVestingAccount.bind(this); + this.createPermanentLockedAccount = this.createPermanentLockedAccount.bind(this); + this.createPeriodicVestingAccount = this.createPeriodicVestingAccount.bind(this); + } + + createVestingAccount(request: MsgCreateVestingAccount): Promise { + const data = MsgCreateVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreateVestingAccount", data); + return promise.then(data => MsgCreateVestingAccountResponse.decode(new _m0.Reader(data))); + } + + createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise { + const data = MsgCreatePermanentLockedAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePermanentLockedAccount", data); + return promise.then(data => MsgCreatePermanentLockedAccountResponse.decode(new _m0.Reader(data))); + } + + createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise { + const data = MsgCreatePeriodicVestingAccount.encode(request).finish(); + const promise = this.rpc.request("cosmos.vesting.v1beta1.Msg", "CreatePeriodicVestingAccount", data); + return promise.then(data => MsgCreatePeriodicVestingAccountResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts new file mode 100644 index 000000000..2fe5e8f83 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/tx.ts @@ -0,0 +1,421 @@ +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import { Period, PeriodSDKType } from "./vesting"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ + +export interface MsgCreateVestingAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; + endTime: Long; + delayed: boolean; +} +/** + * 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 {} +/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ + +export interface MsgCreateVestingAccountResponseSDKType {} +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ + +export interface MsgCreatePermanentLockedAccount { + fromAddress: string; + toAddress: string; + amount: Coin[]; +} +/** + * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent + * locked account. + */ + +export interface MsgCreatePermanentLockedAccountSDKType { + from_address: string; + to_address: string; + amount: CoinSDKType[]; +} +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ + +export interface MsgCreatePermanentLockedAccountResponse {} +/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ + +export interface MsgCreatePermanentLockedAccountResponseSDKType {} +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ + +export interface MsgCreatePeriodicVestingAccount { + fromAddress: string; + toAddress: string; + startTime: Long; + vestingPeriods: Period[]; +} +/** + * MsgCreateVestingAccount defines a message that enables creating a vesting + * account. + */ + +export interface MsgCreatePeriodicVestingAccountSDKType { + from_address: string; + to_address: string; + start_time: Long; + vesting_periods: PeriodSDKType[]; +} +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ + +export interface MsgCreatePeriodicVestingAccountResponse {} +/** + * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount + * response type. + */ + +export interface MsgCreatePeriodicVestingAccountResponseSDKType {} + +function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { + return { + fromAddress: "", + toAddress: "", + amount: [], + endTime: Long.ZERO, + delayed: false + }; +} + +export const MsgCreateVestingAccount = { + encode(message: MsgCreateVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(32).int64(message.endTime); + } + + if (message.delayed === true) { + writer.uint32(40).bool(message.delayed); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.endTime = (reader.int64() as Long); + break; + + case 5: + message.delayed = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateVestingAccount { + const message = createBaseMsgCreateVestingAccount(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + message.delayed = object.delayed ?? false; + return message; + } + +}; + +function createBaseMsgCreateVestingAccountResponse(): MsgCreateVestingAccountResponse { + return {}; +} + +export const MsgCreateVestingAccountResponse = { + encode(_: MsgCreateVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCreateVestingAccountResponse { + const message = createBaseMsgCreateVestingAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccount(): MsgCreatePermanentLockedAccount { + return { + fromAddress: "", + toAddress: "", + amount: [] + }; +} + +export const MsgCreatePermanentLockedAccount = { + encode(message: MsgCreatePermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreatePermanentLockedAccount { + const message = createBaseMsgCreatePermanentLockedAccount(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePermanentLockedAccountResponse(): MsgCreatePermanentLockedAccountResponse { + return {}; +} + +export const MsgCreatePermanentLockedAccountResponse = { + encode(_: MsgCreatePermanentLockedAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse { + const message = createBaseMsgCreatePermanentLockedAccountResponse(); + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccount(): MsgCreatePeriodicVestingAccount { + return { + fromAddress: "", + toAddress: "", + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const MsgCreatePeriodicVestingAccount = { + encode(message: MsgCreatePeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.fromAddress !== "") { + writer.uint32(10).string(message.fromAddress); + } + + if (message.toAddress !== "") { + writer.uint32(18).string(message.toAddress); + } + + if (!message.startTime.isZero()) { + writer.uint32(24).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.fromAddress = reader.string(); + break; + + case 2: + message.toAddress = reader.string(); + break; + + case 3: + message.startTime = (reader.int64() as Long); + break; + + case 4: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreatePeriodicVestingAccount { + const message = createBaseMsgCreatePeriodicVestingAccount(); + message.fromAddress = object.fromAddress ?? ""; + message.toAddress = object.toAddress ?? ""; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgCreatePeriodicVestingAccountResponse(): MsgCreatePeriodicVestingAccountResponse { + return {}; +} + +export const MsgCreatePeriodicVestingAccountResponse = { + encode(_: MsgCreatePeriodicVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse { + const message = createBaseMsgCreatePeriodicVestingAccountResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts new file mode 100644 index 000000000..759944a84 --- /dev/null +++ b/examples/telescope/codegen/cosmos/vesting/v1beta1/vesting.ts @@ -0,0 +1,468 @@ +import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; +import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ + +export interface BaseVestingAccount { + baseAccount?: BaseAccount | undefined; + originalVesting: Coin[]; + delegatedFree: Coin[]; + delegatedVesting: Coin[]; + endTime: Long; +} +/** + * BaseVestingAccount implements the VestingAccount interface. It contains all + * the necessary fields needed for any vesting account implementation. + */ + +export interface BaseVestingAccountSDKType { + base_account?: BaseAccountSDKType | undefined; + 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 | undefined; + startTime: Long; +} +/** + * ContinuousVestingAccount implements the VestingAccount interface. It + * continuously vests by unlocking coins linearly with respect to time. + */ + +export interface ContinuousVestingAccountSDKType { + base_vesting_account?: BaseVestingAccountSDKType | undefined; + 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 | undefined; +} +/** + * 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 | undefined; +} +/** Period defines a length of time and amount of coins that will vest. */ + +export interface Period { + length: Long; + amount: Coin[]; +} +/** 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 | undefined; + startTime: Long; + vestingPeriods: Period[]; +} +/** + * PeriodicVestingAccount implements the VestingAccount interface. It + * periodically vests by unlocking coins during each specified period. + */ + +export interface PeriodicVestingAccountSDKType { + base_vesting_account?: BaseVestingAccountSDKType | undefined; + 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 | undefined; +} +/** + * 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 | undefined; +} + +function createBaseBaseVestingAccount(): BaseVestingAccount { + return { + baseAccount: undefined, + originalVesting: [], + delegatedFree: [], + delegatedVesting: [], + endTime: Long.ZERO + }; +} + +export const BaseVestingAccount = { + encode(message: BaseVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseAccount !== undefined) { + BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.originalVesting) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.delegatedFree) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.delegatedVesting) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (!message.endTime.isZero()) { + writer.uint32(40).int64(message.endTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBaseVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseAccount = BaseAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.originalVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 3: + message.delegatedFree.push(Coin.decode(reader, reader.uint32())); + break; + + case 4: + message.delegatedVesting.push(Coin.decode(reader, reader.uint32())); + break; + + case 5: + message.endTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BaseVestingAccount { + const message = createBaseBaseVestingAccount(); + message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; + message.originalVesting = object.originalVesting?.map(e => Coin.fromPartial(e)) || []; + message.delegatedFree = object.delegatedFree?.map(e => Coin.fromPartial(e)) || []; + message.delegatedVesting = object.delegatedVesting?.map(e => Coin.fromPartial(e)) || []; + message.endTime = object.endTime !== undefined && object.endTime !== null ? Long.fromValue(object.endTime) : Long.ZERO; + return message; + } + +}; + +function createBaseContinuousVestingAccount(): ContinuousVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO + }; +} + +export const ContinuousVestingAccount = { + encode(message: ContinuousVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContinuousVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ContinuousVestingAccount { + const message = createBaseContinuousVestingAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + return message; + } + +}; + +function createBaseDelayedVestingAccount(): DelayedVestingAccount { + return { + baseVestingAccount: undefined + }; +} + +export const DelayedVestingAccount = { + encode(message: DelayedVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDelayedVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DelayedVestingAccount { + const message = createBaseDelayedVestingAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + return message; + } + +}; + +function createBasePeriod(): Period { + return { + length: Long.ZERO, + amount: [] + }; +} + +export const Period = { + encode(message: Period, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.length.isZero()) { + writer.uint32(8).int64(message.length); + } + + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Period { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriod(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.length = (reader.int64() as Long); + break; + + case 2: + message.amount.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Period { + const message = createBasePeriod(); + message.length = object.length !== undefined && object.length !== null ? Long.fromValue(object.length) : Long.ZERO; + message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePeriodicVestingAccount(): PeriodicVestingAccount { + return { + baseVestingAccount: undefined, + startTime: Long.ZERO, + vestingPeriods: [] + }; +} + +export const PeriodicVestingAccount = { + encode(message: PeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + if (!message.startTime.isZero()) { + writer.uint32(16).int64(message.startTime); + } + + for (const v of message.vestingPeriods) { + Period.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeriodicVestingAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + case 2: + message.startTime = (reader.int64() as Long); + break; + + case 3: + message.vestingPeriods.push(Period.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PeriodicVestingAccount { + const message = createBasePeriodicVestingAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + message.startTime = object.startTime !== undefined && object.startTime !== null ? Long.fromValue(object.startTime) : Long.ZERO; + message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; + return message; + } + +}; + +function createBasePermanentLockedAccount(): PermanentLockedAccount { + return { + baseVestingAccount: undefined + }; +} + +export const PermanentLockedAccount = { + encode(message: PermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.baseVestingAccount !== undefined) { + BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePermanentLockedAccount(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PermanentLockedAccount { + const message = createBasePermanentLockedAccount(); + message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/bundle.ts b/examples/telescope/codegen/cosmos_proto/bundle.ts new file mode 100644 index 000000000..58b9e9aef --- /dev/null +++ b/examples/telescope/codegen/cosmos_proto/bundle.ts @@ -0,0 +1,3 @@ +import * as _1 from "./cosmos"; +export const cosmos_proto = { ..._1 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos_proto/cosmos.ts b/examples/telescope/codegen/cosmos_proto/cosmos.ts new file mode 100644 index 000000000..c5e1c290a --- /dev/null +++ b/examples/telescope/codegen/cosmos_proto/cosmos.ts @@ -0,0 +1,289 @@ +import * as _m0 from "protobufjs/minimal"; +export enum ScalarType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} +export enum ScalarTypeSDKType { + SCALAR_TYPE_UNSPECIFIED = 0, + SCALAR_TYPE_STRING = 1, + SCALAR_TYPE_BYTES = 2, + UNRECOGNIZED = -1, +} +export function scalarTypeFromJSON(object: any): ScalarType { + switch (object) { + case 0: + case "SCALAR_TYPE_UNSPECIFIED": + return ScalarType.SCALAR_TYPE_UNSPECIFIED; + + case 1: + case "SCALAR_TYPE_STRING": + return ScalarType.SCALAR_TYPE_STRING; + + case 2: + case "SCALAR_TYPE_BYTES": + return ScalarType.SCALAR_TYPE_BYTES; + + case -1: + case "UNRECOGNIZED": + default: + return ScalarType.UNRECOGNIZED; + } +} +export function scalarTypeToJSON(object: ScalarType): string { + switch (object) { + case ScalarType.SCALAR_TYPE_UNSPECIFIED: + return "SCALAR_TYPE_UNSPECIFIED"; + + case ScalarType.SCALAR_TYPE_STRING: + return "SCALAR_TYPE_STRING"; + + case ScalarType.SCALAR_TYPE_BYTES: + return "SCALAR_TYPE_BYTES"; + + case ScalarType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * 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; +} +/** + * InterfaceDescriptor describes an interface type to be used with + * accepts_interface and implements_interface and declared by declare_interface. + */ + +export interface InterfaceDescriptorSDKType { + /** + * 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; +} +/** + * 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[]; +} +/** + * 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 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: ScalarTypeSDKType[]; +} + +function createBaseInterfaceDescriptor(): InterfaceDescriptor { + return { + name: "", + description: "" + }; +} + +export const InterfaceDescriptor = { + encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInterfaceDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InterfaceDescriptor { + const message = createBaseInterfaceDescriptor(); + message.name = object.name ?? ""; + message.description = object.description ?? ""; + return message; + } + +}; + +function createBaseScalarDescriptor(): ScalarDescriptor { + return { + name: "", + description: "", + fieldType: [] + }; +} + +export const ScalarDescriptor = { + encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.fieldType) { + writer.int32(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseScalarDescriptor(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.fieldType.push((reader.int32() as any)); + } + } else { + message.fieldType.push((reader.int32() as any)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ScalarDescriptor { + const message = createBaseScalarDescriptor(); + message.name = object.name ?? ""; + message.description = object.description ?? ""; + message.fieldType = object.fieldType?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/bundle.ts b/examples/telescope/codegen/cosmwasm/bundle.ts new file mode 100644 index 000000000..411c4b2d3 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/bundle.ts @@ -0,0 +1,34 @@ +import * as _94 from "./wasm/v1/genesis"; +import * as _95 from "./wasm/v1/ibc"; +import * as _96 from "./wasm/v1/proposal"; +import * as _97 from "./wasm/v1/query"; +import * as _98 from "./wasm/v1/tx"; +import * as _99 from "./wasm/v1/types"; +import * as _220 from "./wasm/v1/tx.amino"; +import * as _221 from "./wasm/v1/tx.registry"; +import * as _222 from "./wasm/v1/query.lcd"; +import * as _223 from "./wasm/v1/query.rpc.Query"; +import * as _224 from "./wasm/v1/tx.rpc.msg"; +import * as _249 from "./lcd"; +import * as _250 from "./rpc.query"; +import * as _251 from "./rpc.tx"; +export namespace cosmwasm { + export namespace wasm { + export const v1 = { ..._94, + ..._95, + ..._96, + ..._97, + ..._98, + ..._99, + ..._220, + ..._221, + ..._222, + ..._223, + ..._224 + }; + } + export const ClientFactory = { ..._249, + ..._250, + ..._251 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/client.ts b/examples/telescope/codegen/cosmwasm/client.ts new file mode 100644 index 000000000..c7bcbfeb1 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/client.ts @@ -0,0 +1,45 @@ +import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; +import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; +export const cosmwasmAminoConverters = { ...cosmwasmWasmV1TxAmino.AminoConverter +}; +export const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmwasmWasmV1TxRegistry.registry]; +export const getSigningCosmwasmClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]); + const aminoTypes = new AminoTypes({ ...cosmwasmAminoConverters + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningCosmwasmClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string | HttpEndpoint; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningCosmwasmClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/lcd.ts b/examples/telescope/codegen/cosmwasm/lcd.ts new file mode 100644 index 000000000..ce16f358d --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/lcd.ts @@ -0,0 +1,106 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.query.ts b/examples/telescope/codegen/cosmwasm/rpc.query.ts new file mode 100644 index 000000000..8fa980295 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/rpc.query.ts @@ -0,0 +1,73 @@ +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string | HttpEndpoint; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + base: { + 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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + } + }, + cosmwasm: { + wasm: { + v1: (await import("./wasm/v1/query.rpc.Query")).createRpcQueryExtension(client) + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/rpc.tx.ts b/examples/telescope/codegen/cosmwasm/rpc.tx.ts new file mode 100644 index 000000000..e0ff07d48 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/rpc.tx.ts @@ -0,0 +1,54 @@ +import { Rpc } from "../helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + cosmwasm: { + wasm: { + v1: new (await import("./wasm/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts new file mode 100644 index 000000000..3cdd11cee --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/genesis.ts @@ -0,0 +1,433 @@ +import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx"; +import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** GenesisState - genesis state of x/wasm */ + +export interface GenesisState { + params?: Params | undefined; + codes: Code[]; + contracts: Contract[]; + sequences: Sequence[]; + genMsgs: GenesisState_GenMsgs[]; +} +/** GenesisState - genesis state of x/wasm */ + +export interface GenesisStateSDKType { + params?: ParamsSDKType | undefined; + codes: CodeSDKType[]; + contracts: ContractSDKType[]; + sequences: SequenceSDKType[]; + gen_msgs: GenesisState_GenMsgsSDKType[]; +} +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ + +export interface GenesisState_GenMsgs { + storeCode?: MsgStoreCode | undefined; + instantiateContract?: MsgInstantiateContract | undefined; + executeContract?: MsgExecuteContract | undefined; +} +/** + * GenMsgs define the messages that can be executed during genesis phase in + * order. The intention is to have more human readable data that is auditable. + */ + +export interface GenesisState_GenMsgsSDKType { + store_code?: MsgStoreCodeSDKType | undefined; + instantiate_contract?: MsgInstantiateContractSDKType | undefined; + execute_contract?: MsgExecuteContractSDKType | undefined; +} +/** Code struct encompasses CodeInfo and CodeBytes */ + +export interface Code { + codeId: Long; + codeInfo?: CodeInfo | undefined; + codeBytes: Uint8Array; + /** Pinned to wasmvm cache */ + + pinned: boolean; +} +/** Code struct encompasses CodeInfo and CodeBytes */ + +export interface CodeSDKType { + code_id: Long; + code_info?: CodeInfoSDKType | undefined; + code_bytes: Uint8Array; + /** Pinned to wasmvm cache */ + + pinned: boolean; +} +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ + +export interface Contract { + contractAddress: string; + contractInfo?: ContractInfo | undefined; + contractState: Model[]; +} +/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ + +export interface ContractSDKType { + contract_address: string; + contract_info?: ContractInfoSDKType | undefined; + contract_state: ModelSDKType[]; +} +/** Sequence key and value of an id generation counter */ + +export interface Sequence { + idKey: Uint8Array; + value: Long; +} +/** Sequence key and value of an id generation counter */ + +export interface SequenceSDKType { + id_key: Uint8Array; + value: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + params: undefined, + codes: [], + contracts: [], + sequences: [], + genMsgs: [] + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.codes) { + Code.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contracts) { + Contract.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.sequences) { + Sequence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.genMsgs) { + GenesisState_GenMsgs.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codes.push(Code.decode(reader, reader.uint32())); + break; + + case 3: + message.contracts.push(Contract.decode(reader, reader.uint32())); + break; + + case 4: + message.sequences.push(Sequence.decode(reader, reader.uint32())); + break; + + case 5: + message.genMsgs.push(GenesisState_GenMsgs.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.codes = object.codes?.map(e => Code.fromPartial(e)) || []; + message.contracts = object.contracts?.map(e => Contract.fromPartial(e)) || []; + message.sequences = object.sequences?.map(e => Sequence.fromPartial(e)) || []; + message.genMsgs = object.genMsgs?.map(e => GenesisState_GenMsgs.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseGenesisState_GenMsgs(): GenesisState_GenMsgs { + return { + storeCode: undefined, + instantiateContract: undefined, + executeContract: undefined + }; +} + +export const GenesisState_GenMsgs = { + encode(message: GenesisState_GenMsgs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.storeCode !== undefined) { + MsgStoreCode.encode(message.storeCode, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateContract !== undefined) { + MsgInstantiateContract.encode(message.instantiateContract, writer.uint32(18).fork()).ldelim(); + } + + if (message.executeContract !== undefined) { + MsgExecuteContract.encode(message.executeContract, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState_GenMsgs { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisState_GenMsgs(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.storeCode = MsgStoreCode.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateContract = MsgInstantiateContract.decode(reader, reader.uint32()); + break; + + case 3: + message.executeContract = MsgExecuteContract.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState_GenMsgs { + const message = createBaseGenesisState_GenMsgs(); + message.storeCode = object.storeCode !== undefined && object.storeCode !== null ? MsgStoreCode.fromPartial(object.storeCode) : undefined; + message.instantiateContract = object.instantiateContract !== undefined && object.instantiateContract !== null ? MsgInstantiateContract.fromPartial(object.instantiateContract) : undefined; + message.executeContract = object.executeContract !== undefined && object.executeContract !== null ? MsgExecuteContract.fromPartial(object.executeContract) : undefined; + return message; + } + +}; + +function createBaseCode(): Code { + return { + codeId: Long.UZERO, + codeInfo: undefined, + codeBytes: new Uint8Array(), + pinned: false + }; +} + +export const Code = { + encode(message: Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.codeInfo !== undefined) { + CodeInfo.encode(message.codeInfo, writer.uint32(18).fork()).ldelim(); + } + + if (message.codeBytes.length !== 0) { + writer.uint32(26).bytes(message.codeBytes); + } + + if (message.pinned === true) { + writer.uint32(32).bool(message.pinned); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Code { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.codeInfo = CodeInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.codeBytes = reader.bytes(); + break; + + case 4: + message.pinned = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Code { + const message = createBaseCode(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfo.fromPartial(object.codeInfo) : undefined; + message.codeBytes = object.codeBytes ?? new Uint8Array(); + message.pinned = object.pinned ?? false; + return message; + } + +}; + +function createBaseContract(): Contract { + return { + contractAddress: "", + contractInfo: undefined, + contractState: [] + }; +} + +export const Contract = { + encode(message: Contract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.contractAddress !== "") { + writer.uint32(10).string(message.contractAddress); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.contractState) { + Model.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Contract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contractAddress = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + case 3: + message.contractState.push(Model.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Contract { + const message = createBaseContract(); + message.contractAddress = object.contractAddress ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + message.contractState = object.contractState?.map(e => Model.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSequence(): Sequence { + return { + idKey: new Uint8Array(), + value: Long.UZERO + }; +} + +export const Sequence = { + encode(message: Sequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.idKey.length !== 0) { + writer.uint32(10).bytes(message.idKey); + } + + if (!message.value.isZero()) { + writer.uint32(16).uint64(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Sequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.idKey = reader.bytes(); + break; + + case 2: + message.value = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Sequence { + const message = createBaseSequence(); + message.idKey = object.idKey ?? new Uint8Array(); + message.value = object.value !== undefined && object.value !== null ? Long.fromValue(object.value) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts new file mode 100644 index 000000000..1c93c6db0 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/ibc.ts @@ -0,0 +1,180 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** MsgIBCSend */ + +export interface MsgIBCSend { + /** the channel by which the packet will be sent */ + channel: string; + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + + timeoutHeight: Long; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeoutTimestamp: Long; + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + + data: Uint8Array; +} +/** MsgIBCSend */ + +export interface MsgIBCSendSDKType { + /** the channel by which the packet will be sent */ + channel: string; + /** + * Timeout height relative to the current block height. + * The timeout is disabled when set to 0. + */ + + timeout_height: Long; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeout_timestamp: Long; + /** + * Data is the payload to transfer. We must not make assumption what format or + * content is in here. + */ + + data: Uint8Array; +} +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ + +export interface MsgIBCCloseChannel { + channel: string; +} +/** MsgIBCCloseChannel port and channel need to be owned by the contract */ + +export interface MsgIBCCloseChannelSDKType { + channel: string; +} + +function createBaseMsgIBCSend(): MsgIBCSend { + return { + channel: "", + timeoutHeight: Long.UZERO, + timeoutTimestamp: Long.UZERO, + data: new Uint8Array() + }; +} + +export const MsgIBCSend = { + encode(message: MsgIBCSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + if (!message.timeoutHeight.isZero()) { + writer.uint32(32).uint64(message.timeoutHeight); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(40).uint64(message.timeoutTimestamp); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCSend(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + case 4: + message.timeoutHeight = (reader.uint64() as Long); + break; + + case 5: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + case 6: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgIBCSend { + const message = createBaseMsgIBCSend(); + message.channel = object.channel ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Long.fromValue(object.timeoutHeight) : Long.UZERO; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgIBCCloseChannel(): MsgIBCCloseChannel { + return { + channel: "" + }; +} + +export const MsgIBCCloseChannel = { + encode(message: MsgIBCCloseChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== "") { + writer.uint32(18).string(message.channel); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgIBCCloseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.channel = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgIBCCloseChannel { + const message = createBaseMsgIBCCloseChannel(); + message.channel = object.channel ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts new file mode 100644 index 000000000..4ff447cef --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/proposal.ts @@ -0,0 +1,1083 @@ +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + +export interface StoreCodeProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + runAs: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasmByteCode: Uint8Array; + /** InstantiatePermission to apply on contract creation, optional */ + + instantiatePermission?: AccessConfig | undefined; +} +/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ + +export interface StoreCodeProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasm_byte_code: Uint8Array; + /** InstantiatePermission to apply on contract creation, optional */ + + instantiate_permission?: AccessConfigSDKType | undefined; +} +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ + +export interface InstantiateContractProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + runAs: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + codeId: Long; + /** Label is optional metadata to be stored with a constract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: Coin[]; +} +/** + * InstantiateContractProposal gov proposal content type to instantiate a + * contract. + */ + +export interface InstantiateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a constract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: CoinSDKType[]; +} +/** MigrateContractProposal gov proposal content type to migrate a contract. */ + +export interface MigrateContractProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** CodeID references the new WASM codesudo */ + + codeId: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} +/** MigrateContractProposal gov proposal content type to migrate a contract. */ + +export interface MigrateContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** CodeID references the new WASM codesudo */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ + +export interface SudoContractProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as sudo */ + + msg: Uint8Array; +} +/** SudoContractProposal gov proposal content type to call sudo on a contract. */ + +export interface SudoContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as sudo */ + + msg: Uint8Array; +} +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ + +export interface ExecuteContractProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + runAs: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as execute */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: Coin[]; +} +/** + * ExecuteContractProposal gov proposal content type to call execute on a + * contract. + */ + +export interface ExecuteContractProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** RunAs is the address that is passed to the contract's environment as sender */ + + run_as: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract as execute */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: CoinSDKType[]; +} +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + +export interface UpdateAdminProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** NewAdmin address to be set */ + + newAdmin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ + +export interface UpdateAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** NewAdmin address to be set */ + + new_admin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ + +export interface ClearAdminProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** + * ClearAdminProposal gov proposal content type to clear the admin of a + * contract. + */ + +export interface ClearAdminProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ + +export interface PinCodesProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the new WASM codes */ + + codeIds: Long[]; +} +/** + * PinCodesProposal gov proposal content type to pin a set of code ids in the + * wasmvm cache. + */ + +export interface PinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the new WASM codes */ + + code_ids: Long[]; +} +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ + +export interface UnpinCodesProposal { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the WASM codes */ + + codeIds: Long[]; +} +/** + * UnpinCodesProposal gov proposal content type to unpin a set of code ids in + * the wasmvm cache. + */ + +export interface UnpinCodesProposalSDKType { + /** Title is a short summary */ + title: string; + /** Description is a human readable text */ + + description: string; + /** CodeIDs references the WASM codes */ + + code_ids: Long[]; +} + +function createBaseStoreCodeProposal(): StoreCodeProposal { + return { + title: "", + description: "", + runAs: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const StoreCodeProposal = { + encode(message: StoreCodeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(34).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStoreCodeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.wasmByteCode = reader.bytes(); + break; + + case 7: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): StoreCodeProposal { + const message = createBaseStoreCodeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseInstantiateContractProposal(): InstantiateContractProposal { + return { + title: "", + description: "", + runAs: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const InstantiateContractProposal = { + encode(message: InstantiateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.admin !== "") { + writer.uint32(34).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(50).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(58).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseInstantiateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.admin = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.label = reader.string(); + break; + + case 7: + message.msg = reader.bytes(); + break; + + case 8: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): InstantiateContractProposal { + const message = createBaseInstantiateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMigrateContractProposal(): MigrateContractProposal { + return { + title: "", + description: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MigrateContractProposal = { + encode(message: MigrateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(40).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(50).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.codeId = (reader.uint64() as Long); + break; + + case 6: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MigrateContractProposal { + const message = createBaseMigrateContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSudoContractProposal(): SudoContractProposal { + return { + title: "", + description: "", + contract: "", + msg: new Uint8Array() + }; +} + +export const SudoContractProposal = { + encode(message: SudoContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSudoContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SudoContractProposal { + const message = createBaseSudoContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseExecuteContractProposal(): ExecuteContractProposal { + return { + title: "", + description: "", + runAs: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const ExecuteContractProposal = { + encode(message: ExecuteContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.runAs !== "") { + writer.uint32(26).string(message.runAs); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExecuteContractProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.runAs = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ExecuteContractProposal { + const message = createBaseExecuteContractProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.runAs = object.runAs ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUpdateAdminProposal(): UpdateAdminProposal { + return { + title: "", + description: "", + newAdmin: "", + contract: "" + }; +} + +export const UpdateAdminProposal = { + encode(message: UpdateAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.newAdmin !== "") { + writer.uint32(26).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(34).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpdateAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.newAdmin = reader.string(); + break; + + case 4: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UpdateAdminProposal { + const message = createBaseUpdateAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseClearAdminProposal(): ClearAdminProposal { + return { + title: "", + description: "", + contract: "" + }; +} + +export const ClearAdminProposal = { + encode(message: ClearAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClearAdminProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClearAdminProposal { + const message = createBaseClearAdminProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBasePinCodesProposal(): PinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const PinCodesProposal = { + encode(message: PinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PinCodesProposal { + const message = createBasePinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseUnpinCodesProposal(): UnpinCodesProposal { + return { + title: "", + description: "", + codeIds: [] + }; +} + +export const UnpinCodesProposal = { + encode(message: UnpinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + writer.uint32(26).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUnpinCodesProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UnpinCodesProposal { + const message = createBaseUnpinCodesProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts new file mode 100644 index 000000000..6079083b4 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.lcd.ts @@ -0,0 +1,131 @@ +import { setPaginationParams } from "../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); + } + /* ContractInfo gets the contract meta data */ + + + async contractInfo(params: QueryContractInfoRequest): Promise { + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; + return await this.req.get(endpoint); + } + /* ContractHistory gets the contract code history */ + + + async contractHistory(params: QueryContractHistoryRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; + return await this.req.get(endpoint, options); + } + /* ContractsByCode lists all smart contracts for a code id */ + + + async contractsByCode(params: QueryContractsByCodeRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; + return await this.req.get(endpoint, options); + } + /* AllContractState gets all raw store data for a single contract */ + + + async allContractState(params: QueryAllContractStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; + return await this.req.get(endpoint, options); + } + /* RawContractState gets single key from the raw store data of a contract */ + + + async rawContractState(params: QueryRawContractStateRequest): Promise { + const endpoint = `wasm/v1/contract/${params.address}raw/${params.queryData}`; + return await this.req.get(endpoint); + } + /* SmartContractState get smart query result from the contract */ + + + async smartContractState(params: QuerySmartContractStateRequest): Promise { + const endpoint = `wasm/v1/contract/${params.address}smart/${params.queryData}`; + return await this.req.get(endpoint); + } + /* Code gets the binary code and metadata for a singe wasm code */ + + + async code(params: QueryCodeRequest): Promise { + const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; + return await this.req.get(endpoint); + } + /* Codes gets the metadata for all stored wasm codes */ + + + async codes(params: QueryCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/code`; + return await this.req.get(endpoint, options); + } + /* PinnedCodes gets the pinned code ids */ + + + async pinnedCodes(params: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `cosmwasm/wasm/v1/codes/pinned`; + return await this.req.get(endpoint, options); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts new file mode 100644 index 000000000..18b107d1e --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts @@ -0,0 +1,151 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; +/** Query provides defines the gRPC querier service */ + +export interface Query { + /** ContractInfo gets the contract meta data */ + contractInfo(request: QueryContractInfoRequest): Promise; + /** ContractHistory gets the contract code history */ + + contractHistory(request: QueryContractHistoryRequest): Promise; + /** ContractsByCode lists all smart contracts for a code id */ + + contractsByCode(request: QueryContractsByCodeRequest): Promise; + /** AllContractState gets all raw store data for a single contract */ + + allContractState(request: QueryAllContractStateRequest): Promise; + /** RawContractState gets single key from the raw store data of a contract */ + + rawContractState(request: QueryRawContractStateRequest): Promise; + /** SmartContractState get smart query result from the contract */ + + smartContractState(request: QuerySmartContractStateRequest): Promise; + /** Code gets the binary code and metadata for a singe wasm code */ + + code(request: QueryCodeRequest): Promise; + /** Codes gets the metadata for all stored wasm codes */ + + codes(request?: QueryCodesRequest): Promise; + /** PinnedCodes gets the pinned code ids */ + + pinnedCodes(request?: QueryPinnedCodesRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.contractInfo = this.contractInfo.bind(this); + this.contractHistory = this.contractHistory.bind(this); + this.contractsByCode = this.contractsByCode.bind(this); + this.allContractState = this.allContractState.bind(this); + this.rawContractState = this.rawContractState.bind(this); + this.smartContractState = this.smartContractState.bind(this); + this.code = this.code.bind(this); + this.codes = this.codes.bind(this); + this.pinnedCodes = this.pinnedCodes.bind(this); + } + + contractInfo(request: QueryContractInfoRequest): Promise { + const data = QueryContractInfoRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractInfo", data); + return promise.then(data => QueryContractInfoResponse.decode(new _m0.Reader(data))); + } + + contractHistory(request: QueryContractHistoryRequest): Promise { + const data = QueryContractHistoryRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractHistory", data); + return promise.then(data => QueryContractHistoryResponse.decode(new _m0.Reader(data))); + } + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + const data = QueryContractsByCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCode", data); + return promise.then(data => QueryContractsByCodeResponse.decode(new _m0.Reader(data))); + } + + allContractState(request: QueryAllContractStateRequest): Promise { + const data = QueryAllContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "AllContractState", data); + return promise.then(data => QueryAllContractStateResponse.decode(new _m0.Reader(data))); + } + + rawContractState(request: QueryRawContractStateRequest): Promise { + const data = QueryRawContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "RawContractState", data); + return promise.then(data => QueryRawContractStateResponse.decode(new _m0.Reader(data))); + } + + smartContractState(request: QuerySmartContractStateRequest): Promise { + const data = QuerySmartContractStateRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "SmartContractState", data); + return promise.then(data => QuerySmartContractStateResponse.decode(new _m0.Reader(data))); + } + + code(request: QueryCodeRequest): Promise { + const data = QueryCodeRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Code", data); + return promise.then(data => QueryCodeResponse.decode(new _m0.Reader(data))); + } + + codes(request: QueryCodesRequest = { + pagination: undefined + }): Promise { + const data = QueryCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Codes", data); + return promise.then(data => QueryCodesResponse.decode(new _m0.Reader(data))); + } + + pinnedCodes(request: QueryPinnedCodesRequest = { + pagination: undefined + }): Promise { + const data = QueryPinnedCodesRequest.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "PinnedCodes", data); + return promise.then(data => QueryPinnedCodesResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + contractInfo(request: QueryContractInfoRequest): Promise { + return queryService.contractInfo(request); + }, + + contractHistory(request: QueryContractHistoryRequest): Promise { + return queryService.contractHistory(request); + }, + + contractsByCode(request: QueryContractsByCodeRequest): Promise { + return queryService.contractsByCode(request); + }, + + allContractState(request: QueryAllContractStateRequest): Promise { + return queryService.allContractState(request); + }, + + rawContractState(request: QueryRawContractStateRequest): Promise { + return queryService.rawContractState(request); + }, + + smartContractState(request: QuerySmartContractStateRequest): Promise { + return queryService.smartContractState(request); + }, + + code(request: QueryCodeRequest): Promise { + return queryService.code(request); + }, + + codes(request?: QueryCodesRequest): Promise { + return queryService.codes(request); + }, + + pinnedCodes(request?: QueryPinnedCodesRequest): Promise { + return queryService.pinnedCodes(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts new file mode 100644 index 000000000..8636ec5a0 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/query.ts @@ -0,0 +1,1378 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; +import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ + +export interface QueryContractInfoRequest { + /** address is the address of the contract to query */ + address: string; +} +/** + * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC + * method + */ + +export interface QueryContractInfoRequestSDKType { + /** address is the address of the contract to query */ + address: string; +} +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ + +export interface QueryContractInfoResponse { + /** address is the address of the contract */ + address: string; + contractInfo?: ContractInfo | undefined; +} +/** + * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC + * method + */ + +export interface QueryContractInfoResponseSDKType { + /** address is the address of the contract */ + address: string; + contract_info?: ContractInfoSDKType | undefined; +} +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ + +export interface QueryContractHistoryRequest { + /** address is the address of the contract to query */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequest | undefined; +} +/** + * QueryContractHistoryRequest is the request type for the Query/ContractHistory + * RPC method + */ + +export interface QueryContractHistoryRequestSDKType { + /** address is the address of the contract to query */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ + +export interface QueryContractHistoryResponse { + entries: ContractCodeHistoryEntry[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryContractHistoryResponse is the response type for the + * Query/ContractHistory RPC method + */ + +export interface QueryContractHistoryResponseSDKType { + entries: ContractCodeHistoryEntrySDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ + +export interface QueryContractsByCodeRequest { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + codeId: Long; + pagination?: PageRequest | undefined; +} +/** + * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode + * RPC method + */ + +export interface QueryContractsByCodeRequestSDKType { + /** + * grpc-gateway_out does not support Go style CodID + * pagination defines an optional pagination for the request. + */ + code_id: Long; + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ + +export interface QueryContractsByCodeResponse { + /** contracts are a set of contract addresses */ + contracts: string[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryContractsByCodeResponse is the response type for the + * Query/ContractsByCode RPC method + */ + +export interface QueryContractsByCodeResponseSDKType { + /** contracts are a set of contract addresses */ + contracts: string[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateRequest { + /** address is the address of the contract */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequest | undefined; +} +/** + * QueryAllContractStateRequest is the request type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** pagination defines an optional pagination for the request. */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateResponse { + models: Model[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryAllContractStateResponse is the response type for the + * Query/AllContractState RPC method + */ + +export interface QueryAllContractStateResponseSDKType { + models: ModelSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ + +export interface QueryRawContractStateRequest { + /** address is the address of the contract */ + address: string; + queryData: Uint8Array; +} +/** + * QueryRawContractStateRequest is the request type for the + * Query/RawContractState RPC method + */ + +export interface QueryRawContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + query_data: Uint8Array; +} +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ + +export interface QueryRawContractStateResponse { + /** Data contains the raw store data */ + data: Uint8Array; +} +/** + * QueryRawContractStateResponse is the response type for the + * Query/RawContractState RPC method + */ + +export interface QueryRawContractStateResponseSDKType { + /** Data contains the raw store data */ + data: Uint8Array; +} +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateRequest { + /** address is the address of the contract */ + address: string; + /** QueryData contains the query data passed to the contract */ + + queryData: Uint8Array; +} +/** + * QuerySmartContractStateRequest is the request type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateRequestSDKType { + /** address is the address of the contract */ + address: string; + /** QueryData contains the query data passed to the contract */ + + query_data: Uint8Array; +} +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateResponse { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} +/** + * QuerySmartContractStateResponse is the response type for the + * Query/SmartContractState RPC method + */ + +export interface QuerySmartContractStateResponseSDKType { + /** Data contains the json data returned from the smart contract */ + data: Uint8Array; +} +/** QueryCodeRequest is the request type for the Query/Code RPC method */ + +export interface QueryCodeRequest { + /** grpc-gateway_out does not support Go style CodID */ + codeId: Long; +} +/** QueryCodeRequest is the request type for the Query/Code RPC method */ + +export interface QueryCodeRequestSDKType { + /** grpc-gateway_out does not support Go style CodID */ + code_id: Long; +} +/** CodeInfoResponse contains code meta data from CodeInfo */ + +export interface CodeInfoResponse { + codeId: Long; + creator: string; + dataHash: Uint8Array; +} +/** CodeInfoResponse contains code meta data from CodeInfo */ + +export interface CodeInfoResponseSDKType { + code_id: Long; + creator: string; + data_hash: Uint8Array; +} +/** QueryCodeResponse is the response type for the Query/Code RPC method */ + +export interface QueryCodeResponse { + codeInfo?: CodeInfoResponse | undefined; + data: Uint8Array; +} +/** QueryCodeResponse is the response type for the Query/Code RPC method */ + +export interface QueryCodeResponseSDKType { + code_info?: CodeInfoResponseSDKType | undefined; + data: Uint8Array; +} +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ + +export interface QueryCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** QueryCodesRequest is the request type for the Query/Codes RPC method */ + +export interface QueryCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ + +export interface QueryCodesResponse { + codeInfos: CodeInfoResponse[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** QueryCodesResponse is the response type for the Query/Codes RPC method */ + +export interface QueryCodesResponseSDKType { + code_infos: CodeInfoResponseSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ + +export interface QueryPinnedCodesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** + * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes + * RPC method + */ + +export interface QueryPinnedCodesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ + +export interface QueryPinnedCodesResponse { + codeIds: Long[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponse | undefined; +} +/** + * QueryPinnedCodesResponse is the response type for the + * Query/PinnedCodes RPC method + */ + +export interface QueryPinnedCodesResponseSDKType { + code_ids: Long[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} + +function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { + return { + address: "" + }; +} + +export const QueryContractInfoRequest = { + encode(message: QueryContractInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractInfoRequest { + const message = createBaseQueryContractInfoRequest(); + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { + return { + address: "", + contractInfo: undefined + }; +} + +export const QueryContractInfoResponse = { + encode(message: QueryContractInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.contractInfo !== undefined) { + ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.contractInfo = ContractInfo.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractInfoResponse { + const message = createBaseQueryContractInfoResponse(); + message.address = object.address ?? ""; + message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryContractHistoryRequest = { + encode(message: QueryContractHistoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractHistoryRequest { + const message = createBaseQueryContractHistoryRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { + return { + entries: [], + pagination: undefined + }; +} + +export const QueryContractHistoryResponse = { + encode(message: QueryContractHistoryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.entries) { + ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractHistoryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.entries.push(ContractCodeHistoryEntry.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractHistoryResponse { + const message = createBaseQueryContractHistoryResponse(); + message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { + return { + codeId: Long.UZERO, + pagination: undefined + }; +} + +export const QueryContractsByCodeRequest = { + encode(message: QueryContractsByCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractsByCodeRequest { + const message = createBaseQueryContractsByCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { + return { + contracts: [], + pagination: undefined + }; +} + +export const QueryContractsByCodeResponse = { + encode(message: QueryContractsByCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.contracts) { + writer.uint32(10).string(v!); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryContractsByCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.contracts.push(reader.string()); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryContractsByCodeResponse { + const message = createBaseQueryContractsByCodeResponse(); + message.contracts = object.contracts?.map(e => e) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { + return { + address: "", + pagination: undefined + }; +} + +export const QueryAllContractStateRequest = { + encode(message: QueryAllContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllContractStateRequest { + const message = createBaseQueryAllContractStateRequest(); + message.address = object.address ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { + return { + models: [], + pagination: undefined + }; +} + +export const QueryAllContractStateResponse = { + encode(message: QueryAllContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.models) { + Model.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAllContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.models.push(Model.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAllContractStateResponse { + const message = createBaseQueryAllContractStateResponse(); + message.models = object.models?.map(e => Model.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QueryRawContractStateRequest = { + encode(message: QueryRawContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryRawContractStateRequest { + const message = createBaseQueryRawContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QueryRawContractStateResponse = { + encode(message: QueryRawContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryRawContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryRawContractStateResponse { + const message = createBaseQueryRawContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest { + return { + address: "", + queryData: new Uint8Array() + }; +} + +export const QuerySmartContractStateRequest = { + encode(message: QuerySmartContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.queryData.length !== 0) { + writer.uint32(18).bytes(message.queryData); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.queryData = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySmartContractStateRequest { + const message = createBaseQuerySmartContractStateRequest(); + message.address = object.address ?? ""; + message.queryData = object.queryData ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse { + return { + data: new Uint8Array() + }; +} + +export const QuerySmartContractStateResponse = { + encode(message: QuerySmartContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQuerySmartContractStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QuerySmartContractStateResponse { + const message = createBaseQuerySmartContractStateResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeRequest(): QueryCodeRequest { + return { + codeId: Long.UZERO + }; +} + +export const QueryCodeRequest = { + encode(message: QueryCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryCodeRequest { + const message = createBaseQueryCodeRequest(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfoResponse(): CodeInfoResponse { + return { + codeId: Long.UZERO, + creator: "", + dataHash: new Uint8Array() + }; +} + +export const CodeInfoResponse = { + encode(message: CodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.dataHash.length !== 0) { + writer.uint32(26).bytes(message.dataHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfoResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.dataHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CodeInfoResponse { + const message = createBaseCodeInfoResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.dataHash = object.dataHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodeResponse(): QueryCodeResponse { + return { + codeInfo: undefined, + data: new Uint8Array() + }; +} + +export const QueryCodeResponse = { + encode(message: QueryCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeInfo !== undefined) { + CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim(); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32()); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryCodeResponse { + const message = createBaseQueryCodeResponse(); + message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseQueryCodesRequest(): QueryCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryCodesRequest = { + encode(message: QueryCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryCodesRequest { + const message = createBaseQueryCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryCodesResponse(): QueryCodesResponse { + return { + codeInfos: [], + pagination: undefined + }; +} + +export const QueryCodesResponse = { + encode(message: QueryCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.codeInfos) { + CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeInfos.push(CodeInfoResponse.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryCodesResponse { + const message = createBaseQueryCodesResponse(); + message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { + return { + pagination: undefined + }; +} + +export const QueryPinnedCodesRequest = { + encode(message: QueryPinnedCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPinnedCodesRequest { + const message = createBaseQueryPinnedCodesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { + return { + codeIds: [], + pagination: undefined + }; +} + +export const QueryPinnedCodesResponse = { + encode(message: QueryPinnedCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.codeIds) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPinnedCodesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.codeIds.push((reader.uint64() as Long)); + } + } else { + message.codeIds.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPinnedCodesResponse { + const message = createBaseQueryPinnedCodesResponse(); + message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts new file mode 100644 index 000000000..de8d2731e --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.amino.ts @@ -0,0 +1,252 @@ +import { accessTypeFromJSON } from "./types"; +import { AminoMsg } from "@cosmjs/amino"; +import { toBase64, fromBase64, fromUtf8, toUtf8 } from "@cosmjs/encoding"; +import { Long } from "../../../helpers"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export interface AminoMsgStoreCode extends AminoMsg { + type: "wasm/MsgStoreCode"; + value: { + sender: string; + wasm_byte_code: string; + instantiate_permission: { + permission: number; + address: string; + }; + }; +} +export interface AminoMsgInstantiateContract extends AminoMsg { + type: "wasm/MsgInstantiateContract"; + value: { + sender: string; + admin: string; + code_id: string; + label: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgExecuteContract extends AminoMsg { + type: "wasm/MsgExecuteContract"; + value: { + sender: string; + contract: string; + msg: Uint8Array; + funds: { + denom: string; + amount: string; + }[]; + }; +} +export interface AminoMsgMigrateContract extends AminoMsg { + type: "wasm/MsgMigrateContract"; + value: { + sender: string; + contract: string; + code_id: string; + msg: Uint8Array; + }; +} +export interface AminoMsgUpdateAdmin extends AminoMsg { + type: "wasm/MsgUpdateAdmin"; + value: { + sender: string; + new_admin: string; + contract: string; + }; +} +export interface AminoMsgClearAdmin extends AminoMsg { + type: "wasm/MsgClearAdmin"; + value: { + sender: string; + contract: string; + }; +} +export const AminoConverter = { + "/cosmwasm.wasm.v1.MsgStoreCode": { + aminoType: "wasm/MsgStoreCode", + toAmino: ({ + sender, + wasmByteCode, + instantiatePermission + }: MsgStoreCode): AminoMsgStoreCode["value"] => { + return { + sender, + wasm_byte_code: toBase64(wasmByteCode), + instantiate_permission: { + permission: instantiatePermission.permission, + address: instantiatePermission.address + } + }; + }, + fromAmino: ({ + sender, + wasm_byte_code, + instantiate_permission + }: AminoMsgStoreCode["value"]): MsgStoreCode => { + return { + sender, + wasmByteCode: fromBase64(wasm_byte_code), + instantiatePermission: { + permission: accessTypeFromJSON(instantiate_permission.permission), + address: instantiate_permission.address + } + }; + } + }, + "/cosmwasm.wasm.v1.MsgInstantiateContract": { + aminoType: "wasm/MsgInstantiateContract", + toAmino: ({ + sender, + admin, + codeId, + label, + msg, + funds + }: MsgInstantiateContract): AminoMsgInstantiateContract["value"] => { + return { + sender, + admin, + code_id: codeId.toString(), + label, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + admin, + code_id, + label, + msg, + funds + }: AminoMsgInstantiateContract["value"]): MsgInstantiateContract => { + return { + sender, + admin, + codeId: Long.fromString(code_id), + label, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgExecuteContract": { + aminoType: "wasm/MsgExecuteContract", + toAmino: ({ + sender, + contract, + msg, + funds + }: MsgExecuteContract): AminoMsgExecuteContract["value"] => { + return { + sender, + contract, + msg: JSON.parse(fromUtf8(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + }, + fromAmino: ({ + sender, + contract, + msg, + funds + }: AminoMsgExecuteContract["value"]): MsgExecuteContract => { + return { + sender, + contract, + msg: toUtf8(JSON.stringify(msg)), + funds: funds.map(el0 => ({ + denom: el0.denom, + amount: el0.amount + })) + }; + } + }, + "/cosmwasm.wasm.v1.MsgMigrateContract": { + aminoType: "wasm/MsgMigrateContract", + toAmino: ({ + sender, + contract, + codeId, + msg + }: MsgMigrateContract): AminoMsgMigrateContract["value"] => { + return { + sender, + contract, + code_id: codeId.toString(), + msg: JSON.parse(fromUtf8(msg)) + }; + }, + fromAmino: ({ + sender, + contract, + code_id, + msg + }: AminoMsgMigrateContract["value"]): MsgMigrateContract => { + return { + sender, + contract, + codeId: Long.fromString(code_id), + msg: toUtf8(JSON.stringify(msg)) + }; + } + }, + "/cosmwasm.wasm.v1.MsgUpdateAdmin": { + aminoType: "wasm/MsgUpdateAdmin", + toAmino: ({ + sender, + newAdmin, + contract + }: MsgUpdateAdmin): AminoMsgUpdateAdmin["value"] => { + return { + sender, + new_admin: newAdmin, + contract + }; + }, + fromAmino: ({ + sender, + new_admin, + contract + }: AminoMsgUpdateAdmin["value"]): MsgUpdateAdmin => { + return { + sender, + newAdmin: new_admin, + contract + }; + } + }, + "/cosmwasm.wasm.v1.MsgClearAdmin": { + aminoType: "wasm/MsgClearAdmin", + toAmino: ({ + sender, + contract + }: MsgClearAdmin): AminoMsgClearAdmin["value"] => { + return { + sender, + contract + }; + }, + fromAmino: ({ + sender, + contract + }: AminoMsgClearAdmin["value"]): MsgClearAdmin => { + return { + sender, + contract + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts new file mode 100644 index 000000000..456732595 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.registry.ts @@ -0,0 +1,142 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.encode(value).finish() + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.encode(value).finish() + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.encode(value).finish() + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.encode(value).finish() + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.encode(value).finish() + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.encode(value).finish() + }; + } + + }, + withTypeUrl: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value + }; + } + + }, + fromPartial: { + storeCode(value: MsgStoreCode) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: MsgStoreCode.fromPartial(value) + }; + }, + + instantiateContract(value: MsgInstantiateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", + value: MsgInstantiateContract.fromPartial(value) + }; + }, + + executeContract(value: MsgExecuteContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", + value: MsgExecuteContract.fromPartial(value) + }; + }, + + migrateContract(value: MsgMigrateContract) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", + value: MsgMigrateContract.fromPartial(value) + }; + }, + + updateAdmin(value: MsgUpdateAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", + value: MsgUpdateAdmin.fromPartial(value) + }; + }, + + clearAdmin(value: MsgClearAdmin) { + return { + typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", + value: MsgClearAdmin.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..0e8007205 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts @@ -0,0 +1,74 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx"; +/** Msg defines the wasm Msg service. */ + +export interface Msg { + /** StoreCode to submit Wasm code to the system */ + storeCode(request: MsgStoreCode): Promise; + /** Instantiate creates a new smart contract instance for the given code id. */ + + instantiateContract(request: MsgInstantiateContract): Promise; + /** Execute submits the given message data to a smart contract */ + + executeContract(request: MsgExecuteContract): Promise; + /** Migrate runs a code upgrade/ downgrade for a smart contract */ + + migrateContract(request: MsgMigrateContract): Promise; + /** UpdateAdmin sets a new admin for a smart contract */ + + updateAdmin(request: MsgUpdateAdmin): Promise; + /** ClearAdmin removes any admin stored for a smart contract */ + + clearAdmin(request: MsgClearAdmin): Promise; +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.storeCode = this.storeCode.bind(this); + this.instantiateContract = this.instantiateContract.bind(this); + this.executeContract = this.executeContract.bind(this); + this.migrateContract = this.migrateContract.bind(this); + this.updateAdmin = this.updateAdmin.bind(this); + this.clearAdmin = this.clearAdmin.bind(this); + } + + storeCode(request: MsgStoreCode): Promise { + const data = MsgStoreCode.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "StoreCode", data); + return promise.then(data => MsgStoreCodeResponse.decode(new _m0.Reader(data))); + } + + instantiateContract(request: MsgInstantiateContract): Promise { + const data = MsgInstantiateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract", data); + return promise.then(data => MsgInstantiateContractResponse.decode(new _m0.Reader(data))); + } + + executeContract(request: MsgExecuteContract): Promise { + const data = MsgExecuteContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ExecuteContract", data); + return promise.then(data => MsgExecuteContractResponse.decode(new _m0.Reader(data))); + } + + migrateContract(request: MsgMigrateContract): Promise { + const data = MsgMigrateContract.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "MigrateContract", data); + return promise.then(data => MsgMigrateContractResponse.decode(new _m0.Reader(data))); + } + + updateAdmin(request: MsgUpdateAdmin): Promise { + const data = MsgUpdateAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "UpdateAdmin", data); + return promise.then(data => MsgUpdateAdminResponse.decode(new _m0.Reader(data))); + } + + clearAdmin(request: MsgClearAdmin): Promise { + const data = MsgClearAdmin.encode(request).finish(); + const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "ClearAdmin", data); + return promise.then(data => MsgClearAdminResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts new file mode 100644 index 000000000..b60a7ff27 --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/tx.ts @@ -0,0 +1,944 @@ +import { AccessConfig, AccessConfigSDKType } from "./types"; +import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** MsgStoreCode submit Wasm code to the system */ + +export interface MsgStoreCode { + /** Sender is the that actor that signed the messages */ + sender: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasmByteCode: Uint8Array; + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + + instantiatePermission?: AccessConfig | undefined; +} +/** MsgStoreCode submit Wasm code to the system */ + +export interface MsgStoreCodeSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** WASMByteCode can be raw or gzip compressed */ + + wasm_byte_code: Uint8Array; + /** + * InstantiatePermission access control to apply on contract creation, + * optional + */ + + instantiate_permission?: AccessConfigSDKType | undefined; +} +/** MsgStoreCodeResponse returns store result data. */ + +export interface MsgStoreCodeResponse { + /** CodeID is the reference to the stored WASM code */ + codeId: Long; +} +/** MsgStoreCodeResponse returns store result data. */ + +export interface MsgStoreCodeResponseSDKType { + /** CodeID is the reference to the stored WASM code */ + code_id: Long; +} +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ + +export interface MsgInstantiateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + codeId: Long; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: Coin[]; +} +/** + * MsgInstantiateContract create a new smart contract instance for the given + * code id. + */ + +export interface MsgInstantiateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** Msg json encoded message to be passed to the contract on instantiation */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on instantiation */ + + funds: CoinSDKType[]; +} +/** MsgInstantiateContractResponse return instantiation result data */ + +export interface MsgInstantiateContractResponse { + /** Address is the bech32 address of the new contract instance. */ + address: string; + /** Data contains base64-encoded bytes to returned from the contract */ + + data: Uint8Array; +} +/** MsgInstantiateContractResponse return instantiation result data */ + +export interface MsgInstantiateContractResponseSDKType { + /** Address is the bech32 address of the new contract instance. */ + address: string; + /** Data contains base64-encoded bytes to returned from the contract */ + + data: Uint8Array; +} +/** MsgExecuteContract submits the given message data to a smart contract */ + +export interface MsgExecuteContract { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on execution */ + + funds: Coin[]; +} +/** MsgExecuteContract submits the given message data to a smart contract */ + +export interface MsgExecuteContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** Msg json encoded message to be passed to the contract */ + + msg: Uint8Array; + /** Funds coins that are transferred to the contract on execution */ + + funds: CoinSDKType[]; +} +/** MsgExecuteContractResponse returns execution result data. */ + +export interface MsgExecuteContractResponse { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} +/** MsgExecuteContractResponse returns execution result data. */ + +export interface MsgExecuteContractResponseSDKType { + /** Data contains base64-encoded bytes to returned from the contract */ + data: Uint8Array; +} +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + +export interface MsgMigrateContract { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** CodeID references the new WASM code */ + + codeId: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} +/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ + +export interface MsgMigrateContractSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; + /** CodeID references the new WASM code */ + + code_id: Long; + /** Msg json encoded message to be passed to the contract on migration */ + + msg: Uint8Array; +} +/** MsgMigrateContractResponse returns contract migration result data. */ + +export interface MsgMigrateContractResponse { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} +/** MsgMigrateContractResponse returns contract migration result data. */ + +export interface MsgMigrateContractResponseSDKType { + /** + * Data contains same raw bytes returned as data from the wasm contract. + * (May be empty) + */ + data: Uint8Array; +} +/** MsgUpdateAdmin sets a new admin for a smart contract */ + +export interface MsgUpdateAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + /** NewAdmin address to be set */ + + newAdmin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** MsgUpdateAdmin sets a new admin for a smart contract */ + +export interface MsgUpdateAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** NewAdmin address to be set */ + + new_admin: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** MsgUpdateAdminResponse returns empty data */ + +export interface MsgUpdateAdminResponse {} +/** MsgUpdateAdminResponse returns empty data */ + +export interface MsgUpdateAdminResponseSDKType {} +/** MsgClearAdmin removes any admin stored for a smart contract */ + +export interface MsgClearAdmin { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** MsgClearAdmin removes any admin stored for a smart contract */ + +export interface MsgClearAdminSDKType { + /** Sender is the that actor that signed the messages */ + sender: string; + /** Contract is the address of the smart contract */ + + contract: string; +} +/** MsgClearAdminResponse returns empty data */ + +export interface MsgClearAdminResponse {} +/** MsgClearAdminResponse returns empty data */ + +export interface MsgClearAdminResponseSDKType {} + +function createBaseMsgStoreCode(): MsgStoreCode { + return { + sender: "", + wasmByteCode: new Uint8Array(), + instantiatePermission: undefined + }; +} + +export const MsgStoreCode = { + encode(message: MsgStoreCode, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.wasmByteCode.length !== 0) { + writer.uint32(18).bytes(message.wasmByteCode); + } + + if (message.instantiatePermission !== undefined) { + AccessConfig.encode(message.instantiatePermission, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCode(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.wasmByteCode = reader.bytes(); + break; + + case 5: + message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgStoreCode { + const message = createBaseMsgStoreCode(); + message.sender = object.sender ?? ""; + message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); + message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; + return message; + } + +}; + +function createBaseMsgStoreCodeResponse(): MsgStoreCodeResponse { + return { + codeId: Long.UZERO + }; +} + +export const MsgStoreCodeResponse = { + encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgStoreCodeResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgStoreCodeResponse { + const message = createBaseMsgStoreCodeResponse(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgInstantiateContract(): MsgInstantiateContract { + return { + sender: "", + admin: "", + codeId: Long.UZERO, + label: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgInstantiateContract = { + encode(message: MsgInstantiateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.admin !== "") { + writer.uint32(18).string(message.admin); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.msg.length !== 0) { + writer.uint32(42).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.admin = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.msg = reader.bytes(); + break; + + case 6: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgInstantiateContract { + const message = createBaseMsgInstantiateContract(); + message.sender = object.sender ?? ""; + message.admin = object.admin ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.label = object.label ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgInstantiateContractResponse(): MsgInstantiateContractResponse { + return { + address: "", + data: new Uint8Array() + }; +} + +export const MsgInstantiateContractResponse = { + encode(message: MsgInstantiateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgInstantiateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgInstantiateContractResponse { + const message = createBaseMsgInstantiateContractResponse(); + message.address = object.address ?? ""; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgExecuteContract(): MsgExecuteContract { + return { + sender: "", + contract: "", + msg: new Uint8Array(), + funds: [] + }; +} + +export const MsgExecuteContract = { + encode(message: MsgExecuteContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (message.msg.length !== 0) { + writer.uint32(26).bytes(message.msg); + } + + for (const v of message.funds) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.msg = reader.bytes(); + break; + + case 5: + message.funds.push(Coin.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExecuteContract { + const message = createBaseMsgExecuteContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.msg = object.msg ?? new Uint8Array(); + message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMsgExecuteContractResponse(): MsgExecuteContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgExecuteContractResponse = { + encode(message: MsgExecuteContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgExecuteContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgExecuteContractResponse { + const message = createBaseMsgExecuteContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContract(): MsgMigrateContract { + return { + sender: "", + contract: "", + codeId: Long.UZERO, + msg: new Uint8Array() + }; +} + +export const MsgMigrateContract = { + encode(message: MsgMigrateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(18).string(message.contract); + } + + if (!message.codeId.isZero()) { + writer.uint32(24).uint64(message.codeId); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContract(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.contract = reader.string(); + break; + + case 3: + message.codeId = (reader.uint64() as Long); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgMigrateContract { + const message = createBaseMsgMigrateContract(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgMigrateContractResponse(): MsgMigrateContractResponse { + return { + data: new Uint8Array() + }; +} + +export const MsgMigrateContractResponse = { + encode(message: MsgMigrateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgMigrateContractResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgMigrateContractResponse { + const message = createBaseMsgMigrateContractResponse(); + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMsgUpdateAdmin(): MsgUpdateAdmin { + return { + sender: "", + newAdmin: "", + contract: "" + }; +} + +export const MsgUpdateAdmin = { + encode(message: MsgUpdateAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.newAdmin !== "") { + writer.uint32(18).string(message.newAdmin); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 2: + message.newAdmin = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateAdmin { + const message = createBaseMsgUpdateAdmin(); + message.sender = object.sender ?? ""; + message.newAdmin = object.newAdmin ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateAdminResponse(): MsgUpdateAdminResponse { + return {}; +} + +export const MsgUpdateAdminResponse = { + encode(_: MsgUpdateAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateAdminResponse { + const message = createBaseMsgUpdateAdminResponse(); + return message; + } + +}; + +function createBaseMsgClearAdmin(): MsgClearAdmin { + return { + sender: "", + contract: "" + }; +} + +export const MsgClearAdmin = { + encode(message: MsgClearAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sender !== "") { + writer.uint32(10).string(message.sender); + } + + if (message.contract !== "") { + writer.uint32(26).string(message.contract); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdmin(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sender = reader.string(); + break; + + case 3: + message.contract = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgClearAdmin { + const message = createBaseMsgClearAdmin(); + message.sender = object.sender ?? ""; + message.contract = object.contract ?? ""; + return message; + } + +}; + +function createBaseMsgClearAdminResponse(): MsgClearAdminResponse { + return {}; +} + +export const MsgClearAdminResponse = { + encode(_: MsgClearAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgClearAdminResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgClearAdminResponse { + const message = createBaseMsgClearAdminResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts new file mode 100644 index 000000000..5ca38183a --- /dev/null +++ b/examples/telescope/codegen/cosmwasm/wasm/v1/types.ts @@ -0,0 +1,863 @@ +import { Any, AnySDKType } from "../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +/** AccessType permission types */ + +export enum AccessType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} +/** AccessType permission types */ + +export enum AccessTypeSDKType { + /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ + ACCESS_TYPE_UNSPECIFIED = 0, + + /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ + ACCESS_TYPE_NOBODY = 1, + + /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ + ACCESS_TYPE_ONLY_ADDRESS = 2, + + /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ + ACCESS_TYPE_EVERYBODY = 3, + UNRECOGNIZED = -1, +} +export function accessTypeFromJSON(object: any): AccessType { + switch (object) { + case 0: + case "ACCESS_TYPE_UNSPECIFIED": + return AccessType.ACCESS_TYPE_UNSPECIFIED; + + case 1: + case "ACCESS_TYPE_NOBODY": + return AccessType.ACCESS_TYPE_NOBODY; + + case 2: + case "ACCESS_TYPE_ONLY_ADDRESS": + return AccessType.ACCESS_TYPE_ONLY_ADDRESS; + + case 3: + case "ACCESS_TYPE_EVERYBODY": + return AccessType.ACCESS_TYPE_EVERYBODY; + + case -1: + case "UNRECOGNIZED": + default: + return AccessType.UNRECOGNIZED; + } +} +export function accessTypeToJSON(object: AccessType): string { + switch (object) { + case AccessType.ACCESS_TYPE_UNSPECIFIED: + return "ACCESS_TYPE_UNSPECIFIED"; + + case AccessType.ACCESS_TYPE_NOBODY: + return "ACCESS_TYPE_NOBODY"; + + case AccessType.ACCESS_TYPE_ONLY_ADDRESS: + return "ACCESS_TYPE_ONLY_ADDRESS"; + + case AccessType.ACCESS_TYPE_EVERYBODY: + return "ACCESS_TYPE_EVERYBODY"; + + case AccessType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** ContractCodeHistoryOperationType actions that caused a code change */ + +export enum ContractCodeHistoryOperationType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} +/** ContractCodeHistoryOperationType actions that caused a code change */ + +export enum ContractCodeHistoryOperationTypeSDKType { + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, + + /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ + CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, + UNRECOGNIZED = -1, +} +export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { + switch (object) { + case 0: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED; + + case 1: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT; + + case 2: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE; + + case 3: + case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS": + return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS; + + case -1: + case "UNRECOGNIZED": + default: + return ContractCodeHistoryOperationType.UNRECOGNIZED; + } +} +export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string { + switch (object) { + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"; + + case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: + return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; + + case ContractCodeHistoryOperationType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** AccessTypeParam */ + +export interface AccessTypeParam { + value: AccessType; +} +/** AccessTypeParam */ + +export interface AccessTypeParamSDKType { + value: AccessTypeSDKType; +} +/** AccessConfig access control type. */ + +export interface AccessConfig { + permission: AccessType; + address: string; +} +/** AccessConfig access control type. */ + +export interface AccessConfigSDKType { + permission: AccessTypeSDKType; + address: string; +} +/** Params defines the set of wasm parameters. */ + +export interface Params { + codeUploadAccess?: AccessConfig | undefined; + instantiateDefaultPermission: AccessType; + maxWasmCodeSize: Long; +} +/** Params defines the set of wasm parameters. */ + +export interface ParamsSDKType { + code_upload_access?: AccessConfigSDKType | undefined; + instantiate_default_permission: AccessTypeSDKType; + max_wasm_code_size: Long; +} +/** CodeInfo is data for the uploaded contract WASM code */ + +export interface CodeInfo { + /** CodeHash is the unique identifier created by wasmvm */ + codeHash: Uint8Array; + /** Creator address who initially stored the code */ + + creator: string; + /** InstantiateConfig access control to apply on contract creation, optional */ + + instantiateConfig?: AccessConfig | undefined; +} +/** CodeInfo is data for the uploaded contract WASM code */ + +export interface CodeInfoSDKType { + /** CodeHash is the unique identifier created by wasmvm */ + code_hash: Uint8Array; + /** Creator address who initially stored the code */ + + creator: string; + /** InstantiateConfig access control to apply on contract creation, optional */ + + instantiate_config?: AccessConfigSDKType | undefined; +} +/** ContractInfo stores a WASM contract instance */ + +export interface ContractInfo { + /** CodeID is the reference to the stored Wasm code */ + codeId: Long; + /** Creator address who initially instantiated the contract */ + + creator: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + + created?: AbsoluteTxPosition | undefined; + ibcPortId: string; + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + + extension?: Any | undefined; +} +/** ContractInfo stores a WASM contract instance */ + +export interface ContractInfoSDKType { + /** CodeID is the reference to the stored Wasm code */ + code_id: Long; + /** Creator address who initially instantiated the contract */ + + creator: string; + /** Admin is an optional address that can execute migrations */ + + admin: string; + /** Label is optional metadata to be stored with a contract instance. */ + + label: string; + /** + * Created Tx position when the contract was instantiated. + * This data should kept internal and not be exposed via query results. Just + * use for sorting + */ + + created?: AbsoluteTxPositionSDKType | undefined; + ibc_port_id: string; + /** + * Extension is an extension point to store custom metadata within the + * persistence model. + */ + + extension?: AnySDKType | undefined; +} +/** ContractCodeHistoryEntry metadata to a contract. */ + +export interface ContractCodeHistoryEntry { + operation: ContractCodeHistoryOperationType; + /** CodeID is the reference to the stored WASM code */ + + codeId: Long; + /** Updated Tx position when the operation was executed. */ + + updated?: AbsoluteTxPosition | undefined; + msg: Uint8Array; +} +/** ContractCodeHistoryEntry metadata to a contract. */ + +export interface ContractCodeHistoryEntrySDKType { + operation: ContractCodeHistoryOperationTypeSDKType; + /** CodeID is the reference to the stored WASM code */ + + code_id: Long; + /** Updated Tx position when the operation was executed. */ + + updated?: AbsoluteTxPositionSDKType | undefined; + msg: Uint8Array; +} +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ + +export interface AbsoluteTxPosition { + /** BlockHeight is the block the contract was created at */ + blockHeight: Long; + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + + txIndex: Long; +} +/** + * AbsoluteTxPosition is a unique transaction position that allows for global + * ordering of transactions. + */ + +export interface AbsoluteTxPositionSDKType { + /** BlockHeight is the block the contract was created at */ + block_height: Long; + /** + * TxIndex is a monotonic counter within the block (actual transaction index, + * or gas consumed) + */ + + tx_index: Long; +} +/** Model is a struct that holds a KV pair */ + +export interface Model { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; + /** base64-encode raw value */ + + value: Uint8Array; +} +/** Model is a struct that holds a KV pair */ + +export interface ModelSDKType { + /** hex-encode key to read it better (this is often ascii) */ + key: Uint8Array; + /** base64-encode raw value */ + + value: Uint8Array; +} + +function createBaseAccessTypeParam(): AccessTypeParam { + return { + value: 0 + }; +} + +export const AccessTypeParam = { + encode(message: AccessTypeParam, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.value !== 0) { + writer.uint32(8).int32(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessTypeParam(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.value = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AccessTypeParam { + const message = createBaseAccessTypeParam(); + message.value = object.value ?? 0; + return message; + } + +}; + +function createBaseAccessConfig(): AccessConfig { + return { + permission: 0, + address: "" + }; +} + +export const AccessConfig = { + encode(message: AccessConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.permission !== 0) { + writer.uint32(8).int32(message.permission); + } + + if (message.address !== "") { + writer.uint32(18).string(message.address); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAccessConfig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.permission = (reader.int32() as any); + break; + + case 2: + message.address = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AccessConfig { + const message = createBaseAccessConfig(); + message.permission = object.permission ?? 0; + message.address = object.address ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + codeUploadAccess: undefined, + instantiateDefaultPermission: 0, + maxWasmCodeSize: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeUploadAccess !== undefined) { + AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim(); + } + + if (message.instantiateDefaultPermission !== 0) { + writer.uint32(16).int32(message.instantiateDefaultPermission); + } + + if (!message.maxWasmCodeSize.isZero()) { + writer.uint32(24).uint64(message.maxWasmCodeSize); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.codeUploadAccess = AccessConfig.decode(reader, reader.uint32()); + break; + + case 2: + message.instantiateDefaultPermission = (reader.int32() as any); + break; + + case 3: + message.maxWasmCodeSize = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; + message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; + message.maxWasmCodeSize = object.maxWasmCodeSize !== undefined && object.maxWasmCodeSize !== null ? Long.fromValue(object.maxWasmCodeSize) : Long.UZERO; + return message; + } + +}; + +function createBaseCodeInfo(): CodeInfo { + return { + codeHash: new Uint8Array(), + creator: "", + instantiateConfig: undefined + }; +} + +export const CodeInfo = { + encode(message: CodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.codeHash.length !== 0) { + writer.uint32(10).bytes(message.codeHash); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.instantiateConfig !== undefined) { + AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeHash = reader.bytes(); + break; + + case 2: + message.creator = reader.string(); + break; + + case 5: + message.instantiateConfig = AccessConfig.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CodeInfo { + const message = createBaseCodeInfo(); + message.codeHash = object.codeHash ?? new Uint8Array(); + message.creator = object.creator ?? ""; + message.instantiateConfig = object.instantiateConfig !== undefined && object.instantiateConfig !== null ? AccessConfig.fromPartial(object.instantiateConfig) : undefined; + return message; + } + +}; + +function createBaseContractInfo(): ContractInfo { + return { + codeId: Long.UZERO, + creator: "", + admin: "", + label: "", + created: undefined, + ibcPortId: "", + extension: undefined + }; +} + +export const ContractInfo = { + encode(message: ContractInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.codeId.isZero()) { + writer.uint32(8).uint64(message.codeId); + } + + if (message.creator !== "") { + writer.uint32(18).string(message.creator); + } + + if (message.admin !== "") { + writer.uint32(26).string(message.admin); + } + + if (message.label !== "") { + writer.uint32(34).string(message.label); + } + + if (message.created !== undefined) { + AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim(); + } + + if (message.ibcPortId !== "") { + writer.uint32(50).string(message.ibcPortId); + } + + if (message.extension !== undefined) { + Any.encode(message.extension, writer.uint32(58).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.codeId = (reader.uint64() as Long); + break; + + case 2: + message.creator = reader.string(); + break; + + case 3: + message.admin = reader.string(); + break; + + case 4: + message.label = reader.string(); + break; + + case 5: + message.created = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 6: + message.ibcPortId = reader.string(); + break; + + case 7: + message.extension = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ContractInfo { + const message = createBaseContractInfo(); + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.creator = object.creator ?? ""; + message.admin = object.admin ?? ""; + message.label = object.label ?? ""; + message.created = object.created !== undefined && object.created !== null ? AbsoluteTxPosition.fromPartial(object.created) : undefined; + message.ibcPortId = object.ibcPortId ?? ""; + message.extension = object.extension !== undefined && object.extension !== null ? Any.fromPartial(object.extension) : undefined; + return message; + } + +}; + +function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { + return { + operation: 0, + codeId: Long.UZERO, + updated: undefined, + msg: new Uint8Array() + }; +} + +export const ContractCodeHistoryEntry = { + encode(message: ContractCodeHistoryEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.operation !== 0) { + writer.uint32(8).int32(message.operation); + } + + if (!message.codeId.isZero()) { + writer.uint32(16).uint64(message.codeId); + } + + if (message.updated !== undefined) { + AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim(); + } + + if (message.msg.length !== 0) { + writer.uint32(34).bytes(message.msg); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseContractCodeHistoryEntry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.operation = (reader.int32() as any); + break; + + case 2: + message.codeId = (reader.uint64() as Long); + break; + + case 3: + message.updated = AbsoluteTxPosition.decode(reader, reader.uint32()); + break; + + case 4: + message.msg = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ContractCodeHistoryEntry { + const message = createBaseContractCodeHistoryEntry(); + message.operation = object.operation ?? 0; + message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; + message.updated = object.updated !== undefined && object.updated !== null ? AbsoluteTxPosition.fromPartial(object.updated) : undefined; + message.msg = object.msg ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAbsoluteTxPosition(): AbsoluteTxPosition { + return { + blockHeight: Long.UZERO, + txIndex: Long.UZERO + }; +} + +export const AbsoluteTxPosition = { + encode(message: AbsoluteTxPosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockHeight.isZero()) { + writer.uint32(8).uint64(message.blockHeight); + } + + if (!message.txIndex.isZero()) { + writer.uint32(16).uint64(message.txIndex); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAbsoluteTxPosition(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockHeight = (reader.uint64() as Long); + break; + + case 2: + message.txIndex = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): AbsoluteTxPosition { + const message = createBaseAbsoluteTxPosition(); + message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? Long.fromValue(object.blockHeight) : Long.UZERO; + message.txIndex = object.txIndex !== undefined && object.txIndex !== null ? Long.fromValue(object.txIndex) : Long.UZERO; + return message; + } + +}; + +function createBaseModel(): Model { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const Model = { + encode(message: Model, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Model { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModel(); + + 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; + }, + + fromPartial(object: Partial): Model { + const message = createBaseModel(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/bundle.ts b/examples/telescope/codegen/gogoproto/bundle.ts new file mode 100644 index 000000000..c34b9c64c --- /dev/null +++ b/examples/telescope/codegen/gogoproto/bundle.ts @@ -0,0 +1,3 @@ +import * as _100 from "./gogo"; +export const gogoproto = { ..._100 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/gogoproto/gogo.ts b/examples/telescope/codegen/gogoproto/gogo.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/gogoproto/gogo.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/annotations.ts b/examples/telescope/codegen/google/api/annotations.ts new file mode 100644 index 000000000..693da49fc --- /dev/null +++ b/examples/telescope/codegen/google/api/annotations.ts @@ -0,0 +1 @@ +export {} \ No newline at end of file diff --git a/examples/telescope/codegen/google/api/http.ts b/examples/telescope/codegen/google/api/http.ts new file mode 100644 index 000000000..8edd441a2 --- /dev/null +++ b/examples/telescope/codegen/google/api/http.ts @@ -0,0 +1,978 @@ +import * as _m0 from "protobufjs/minimal"; +/** + * 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 + * to one or more HTTP REST API methods. + */ + +export interface Http { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRule[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + + fullyDecodeReservedExpansion: boolean; +} +/** + * 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 + * to one or more HTTP REST API methods. + */ + +export interface HttpSDKType { + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules: HttpRuleSDKType[]; + /** + * When set to true, URL path parameters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + + fully_decode_reserved_expansion: boolean; +} +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ + +export interface HttpRule { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + + get?: string; + /** Maps to HTTP PUT. Used for replacing a resource. */ + + put?: string; + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + + post?: string; + /** Maps to HTTP DELETE. Used for deleting a resource. */ + + delete?: string; + /** Maps to HTTP PATCH. Used for updating a resource. */ + + patch?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + + custom?: CustomHttpPattern | undefined; + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + + body: string; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + + responseBody: string; + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + + additionalBindings: HttpRule[]; +} +/** + * # gRPC Transcoding + * + * gRPC Transcoding is a feature for mapping between a gRPC method and one or + * more HTTP REST endpoints. It allows developers to build a single API service + * that supports both gRPC APIs and REST APIs. Many systems, including [Google + * APIs](https://github.com/googleapis/googleapis), + * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC + * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), + * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature + * and use it for large scale production services. + * + * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies + * how different portions of the gRPC request message are mapped to the URL + * path, URL query parameters, and HTTP request body. It also controls how the + * gRPC response message is mapped to the HTTP response body. `HttpRule` is + * typically specified as an `google.api.http` annotation on the gRPC method. + * + * Each mapping specifies a URL path template and an HTTP method. The path + * template may refer to one or more fields in the gRPC request message, as long + * as each field is a non-repeated field with a primitive (non-message) type. + * The path template controls how fields of the request message are mapped to + * the URL path. + * + * Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } + * + * This enables an HTTP REST to gRPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` + * + * Any fields in the request message which are not bound by the path template + * automatically become HTTP query parameters if there is no HTTP request body. + * For example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } + * + * This enables a HTTP JSON to RPC mapping as below: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` + * + * Note that fields which are mapped to URL query parameters must have a + * primitive type or a repeated primitive type or a non-repeated message type. + * In the case of a repeated type, the parameter can be repeated in the URL + * as `...?param=A¶m=B`. In the case of a message type, each field of the + * message is mapped to a separate parameter, such as + * `...?foo.a=A&foo.b=B&foo.c=C`. + * + * For HTTP methods that allow a request body, the `body` field + * specifies the mapping. Consider a REST update method on the + * message resource collection: + * + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } + * + * The following HTTP JSON to RPC mapping is enabled, where the + * representation of the JSON in the request body is determined by + * protos JSON encoding: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` + * + * The special name `*` can be used in the body mapping to define that + * every field not bound by the path template should be mapped to the + * request body. This enables the following alternative definition of + * the update method: + * + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } + * + * + * The following HTTP JSON to RPC mapping is enabled: + * + * HTTP | gRPC + * -----|----- + * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: + * "123456" text: "Hi!")` + * + * Note that when using `*` in the body mapping, it is not possible to + * have HTTP parameters, as all fields not bound by the path end in + * the body. This makes this option more rarely used in practice when + * defining REST APIs. The common usage of `*` is in custom methods + * which don't use the URL at all for transferring data. + * + * It is possible to define multiple HTTP methods for one RPC by using + * the `additional_bindings` option. Example: + * + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } + * + * This enables the following two alternative HTTP JSON to RPC mappings: + * + * HTTP | gRPC + * -----|----- + * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` + * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: + * "123456")` + * + * ## Rules for HTTP mapping + * + * 1. Leaf request fields (recursive expansion nested messages in the request + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * fields are passed via URL path and URL query parameters. + * + * ### Path template syntax + * + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; + * + * The syntax `*` matches a single URL path segment. The syntax `**` matches + * zero or more URL path segments, which must be the last part of the URL path + * except the `Verb`. + * + * The syntax `Variable` matches part of the URL path as specified by its + * template. A variable template must not contain other variables. If a variable + * matches a single path segment, its template may be omitted, e.g. `{var}` + * is equivalent to `{var=*}`. + * + * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` + * contains any reserved character, such characters should be percent-encoded + * before the matching. + * + * If a variable contains exactly one path segment, such as `"{var}"` or + * `"{var=*}"`, when such a variable is expanded into a URL path on the client + * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The + * server side does the reverse decoding. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{var}`. + * + * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * or `"{var=**}"`, when such a variable is expanded into a URL path on the + * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. + * The server side does the reverse decoding, except "%2F" and "%2f" are left + * unchanged. Such variables show up in the + * [Discovery + * Document](https://developers.google.com/discovery/v1/reference/apis) as + * `{+var}`. + * + * ## Using gRPC API Service Configuration + * + * gRPC API Service Configuration (service config) is a configuration language + * for configuring a gRPC service to become a user-facing product. The + * service config is simply the YAML representation of the `google.api.Service` + * proto message. + * + * As an alternative to annotating your proto file, you can configure gRPC + * transcoding in your service config YAML files. You do this by specifying a + * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same + * effect as the proto annotation. This can be particularly useful if you + * have a proto that is reused in multiple services. Note that any transcoding + * specified in the service config will override any matching transcoding + * configuration in the proto. + * + * Example: + * + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} + * + * ## Special notes + * + * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the + * proto to JSON conversion must follow the [proto3 + * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). + * + * While the single segment variable follows the semantics of + * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String + * Expansion, the multi segment variable **does not** follow RFC 6570 Section + * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion + * does not expand special characters like `?` and `#`, which would lead + * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding + * for multi segment variables. + * + * The path variables **must not** refer to any repeated or mapped field, + * because client libraries are not capable of handling such variable expansion. + * + * The path variables **must not** capture the leading "/" character. The reason + * is that the most common use case "{var}" does not capture the leading "/" + * character. For consistency, all path variables must share the same behavior. + * + * Repeated message fields must not be mapped to URL query parameters, because + * no client library can support such complicated mapping. + * + * If an API needs to use a JSON array for request or response body, it can map + * the request or response body to a repeated field. However, some gRPC + * Transcoding implementations may not support this feature. + */ + +export interface HttpRuleSDKType { + /** + * Selects a method to which this rule applies. + * + * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + */ + selector: string; + /** + * Maps to HTTP GET. Used for listing and getting information about + * resources. + */ + + get?: string; + /** Maps to HTTP PUT. Used for replacing a resource. */ + + put?: string; + /** Maps to HTTP POST. Used for creating a resource or performing an action. */ + + post?: string; + /** Maps to HTTP DELETE. Used for deleting a resource. */ + + delete?: string; + /** Maps to HTTP PATCH. Used for updating a resource. */ + + patch?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + + custom?: CustomHttpPatternSDKType | undefined; + /** + * The name of the request field whose value is mapped to the HTTP request + * body, or `*` for mapping all request fields not captured by the path + * pattern to the HTTP body, or omitted for not having any HTTP request body. + * + * NOTE: the referred field must be present at the top-level of the request + * message type. + */ + + body: string; + /** + * Optional. The name of the response field whose value is mapped to the HTTP + * response body. When omitted, the entire response message will be used + * as the HTTP response body. + * + * NOTE: The referred field must be present at the top-level of the response + * message type. + */ + + response_body: string; + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + + additional_bindings: HttpRuleSDKType[]; +} +/** A custom pattern is used for defining custom HTTP verb. */ + +export interface CustomHttpPattern { + /** The name of this custom HTTP verb. */ + kind: string; + /** The path matched by this custom verb. */ + + path: string; +} +/** A custom pattern is used for defining custom HTTP verb. */ + +export interface CustomHttpPatternSDKType { + /** The name of this custom HTTP verb. */ + kind: string; + /** The path matched by this custom verb. */ + + path: string; +} + +function createBaseHttp(): Http { + return { + rules: [], + fullyDecodeReservedExpansion: false + }; +} + +export const Http = { + encode(message: Http, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.rules) { + HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.fullyDecodeReservedExpansion === true) { + writer.uint32(16).bool(message.fullyDecodeReservedExpansion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Http { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rules.push(HttpRule.decode(reader, reader.uint32())); + break; + + case 2: + message.fullyDecodeReservedExpansion = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Http { + const message = createBaseHttp(); + message.rules = object.rules?.map(e => HttpRule.fromPartial(e)) || []; + message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false; + return message; + } + +}; + +function createBaseHttpRule(): HttpRule { + return { + selector: "", + get: undefined, + put: undefined, + post: undefined, + delete: undefined, + patch: undefined, + custom: undefined, + body: "", + responseBody: "", + additionalBindings: [] + }; +} + +export const HttpRule = { + encode(message: HttpRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.selector !== "") { + writer.uint32(10).string(message.selector); + } + + if (message.get !== undefined) { + writer.uint32(18).string(message.get); + } + + if (message.put !== undefined) { + writer.uint32(26).string(message.put); + } + + if (message.post !== undefined) { + writer.uint32(34).string(message.post); + } + + if (message.delete !== undefined) { + writer.uint32(42).string(message.delete); + } + + if (message.patch !== undefined) { + writer.uint32(50).string(message.patch); + } + + if (message.custom !== undefined) { + CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim(); + } + + if (message.body !== "") { + writer.uint32(58).string(message.body); + } + + if (message.responseBody !== "") { + writer.uint32(98).string(message.responseBody); + } + + for (const v of message.additionalBindings) { + HttpRule.encode(v!, writer.uint32(90).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHttpRule(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.selector = reader.string(); + break; + + case 2: + message.get = reader.string(); + break; + + case 3: + message.put = reader.string(); + break; + + case 4: + message.post = reader.string(); + break; + + case 5: + message.delete = reader.string(); + break; + + case 6: + message.patch = reader.string(); + break; + + case 8: + message.custom = CustomHttpPattern.decode(reader, reader.uint32()); + break; + + case 7: + message.body = reader.string(); + break; + + case 12: + message.responseBody = reader.string(); + break; + + case 11: + message.additionalBindings.push(HttpRule.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): HttpRule { + const message = createBaseHttpRule(); + message.selector = object.selector ?? ""; + message.get = object.get ?? undefined; + message.put = object.put ?? undefined; + message.post = object.post ?? undefined; + message.delete = object.delete ?? undefined; + message.patch = object.patch ?? undefined; + message.custom = object.custom !== undefined && object.custom !== null ? CustomHttpPattern.fromPartial(object.custom) : undefined; + message.body = object.body ?? ""; + message.responseBody = object.responseBody ?? ""; + message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCustomHttpPattern(): CustomHttpPattern { + return { + kind: "", + path: "" + }; +} + +export const CustomHttpPattern = { + encode(message: CustomHttpPattern, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.kind !== "") { + writer.uint32(10).string(message.kind); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCustomHttpPattern(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.kind = reader.string(); + break; + + case 2: + message.path = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CustomHttpPattern { + const message = createBaseCustomHttpPattern(); + message.kind = object.kind ?? ""; + message.path = object.path ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/bundle.ts b/examples/telescope/codegen/google/bundle.ts new file mode 100644 index 000000000..390b33a10 --- /dev/null +++ b/examples/telescope/codegen/google/bundle.ts @@ -0,0 +1,18 @@ +import * as _101 from "./api/annotations"; +import * as _102 from "./api/http"; +import * as _103 from "./protobuf/any"; +import * as _104 from "./protobuf/descriptor"; +import * as _105 from "./protobuf/duration"; +import * as _106 from "./protobuf/empty"; +import * as _107 from "./protobuf/timestamp"; +export namespace google { + export const api = { ..._101, + ..._102 + }; + export const protobuf = { ..._103, + ..._104, + ..._105, + ..._106, + ..._107 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/any.ts b/examples/telescope/codegen/google/protobuf/any.ts new file mode 100644 index 000000000..7e7f18573 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/any.ts @@ -0,0 +1,290 @@ +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 { + /** + * 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; +} +/** + * `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 { + /** + * 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_url: string; + /** Must be a valid serialized protocol buffer of the above specified type. */ + + value: Uint8Array; +} + +function createBaseAny(): Any { + return { + typeUrl: "", + value: new Uint8Array() + }; +} + +export const Any = { + encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.typeUrl !== "") { + writer.uint32(10).string(message.typeUrl); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Any { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAny(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.typeUrl = reader.string(); + break; + + case 2: + message.value = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Any { + const message = createBaseAny(); + message.typeUrl = object.typeUrl ?? ""; + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/descriptor.ts b/examples/telescope/codegen/google/protobuf/descriptor.ts new file mode 100644 index 000000000..346a5a8a1 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/descriptor.ts @@ -0,0 +1,4324 @@ +//@ts-nocheck +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +export 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 enum FieldDescriptorProto_TypeSDKType { + /** + * 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 function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { + switch (object) { + case 1: + case "TYPE_DOUBLE": + return FieldDescriptorProto_Type.TYPE_DOUBLE; + + case 2: + case "TYPE_FLOAT": + return FieldDescriptorProto_Type.TYPE_FLOAT; + + case 3: + case "TYPE_INT64": + return FieldDescriptorProto_Type.TYPE_INT64; + + case 4: + case "TYPE_UINT64": + return FieldDescriptorProto_Type.TYPE_UINT64; + + case 5: + case "TYPE_INT32": + return FieldDescriptorProto_Type.TYPE_INT32; + + case 6: + case "TYPE_FIXED64": + return FieldDescriptorProto_Type.TYPE_FIXED64; + + case 7: + case "TYPE_FIXED32": + return FieldDescriptorProto_Type.TYPE_FIXED32; + + case 8: + case "TYPE_BOOL": + return FieldDescriptorProto_Type.TYPE_BOOL; + + case 9: + case "TYPE_STRING": + return FieldDescriptorProto_Type.TYPE_STRING; + + case 10: + case "TYPE_GROUP": + return FieldDescriptorProto_Type.TYPE_GROUP; + + case 11: + case "TYPE_MESSAGE": + return FieldDescriptorProto_Type.TYPE_MESSAGE; + + case 12: + case "TYPE_BYTES": + return FieldDescriptorProto_Type.TYPE_BYTES; + + case 13: + case "TYPE_UINT32": + return FieldDescriptorProto_Type.TYPE_UINT32; + + case 14: + case "TYPE_ENUM": + return FieldDescriptorProto_Type.TYPE_ENUM; + + case 15: + case "TYPE_SFIXED32": + return FieldDescriptorProto_Type.TYPE_SFIXED32; + + case 16: + case "TYPE_SFIXED64": + return FieldDescriptorProto_Type.TYPE_SFIXED64; + + case 17: + case "TYPE_SINT32": + return FieldDescriptorProto_Type.TYPE_SINT32; + + case 18: + case "TYPE_SINT64": + return FieldDescriptorProto_Type.TYPE_SINT64; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Type.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string { + switch (object) { + case FieldDescriptorProto_Type.TYPE_DOUBLE: + return "TYPE_DOUBLE"; + + case FieldDescriptorProto_Type.TYPE_FLOAT: + return "TYPE_FLOAT"; + + case FieldDescriptorProto_Type.TYPE_INT64: + return "TYPE_INT64"; + + case FieldDescriptorProto_Type.TYPE_UINT64: + return "TYPE_UINT64"; + + case FieldDescriptorProto_Type.TYPE_INT32: + return "TYPE_INT32"; + + case FieldDescriptorProto_Type.TYPE_FIXED64: + return "TYPE_FIXED64"; + + case FieldDescriptorProto_Type.TYPE_FIXED32: + return "TYPE_FIXED32"; + + case FieldDescriptorProto_Type.TYPE_BOOL: + return "TYPE_BOOL"; + + case FieldDescriptorProto_Type.TYPE_STRING: + return "TYPE_STRING"; + + case FieldDescriptorProto_Type.TYPE_GROUP: + return "TYPE_GROUP"; + + case FieldDescriptorProto_Type.TYPE_MESSAGE: + return "TYPE_MESSAGE"; + + case FieldDescriptorProto_Type.TYPE_BYTES: + return "TYPE_BYTES"; + + case FieldDescriptorProto_Type.TYPE_UINT32: + return "TYPE_UINT32"; + + case FieldDescriptorProto_Type.TYPE_ENUM: + return "TYPE_ENUM"; + + case FieldDescriptorProto_Type.TYPE_SFIXED32: + return "TYPE_SFIXED32"; + + case FieldDescriptorProto_Type.TYPE_SFIXED64: + return "TYPE_SFIXED64"; + + case FieldDescriptorProto_Type.TYPE_SINT32: + return "TYPE_SINT32"; + + case FieldDescriptorProto_Type.TYPE_SINT64: + return "TYPE_SINT64"; + + case FieldDescriptorProto_Type.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export enum FieldDescriptorProto_Label { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} +export enum FieldDescriptorProto_LabelSDKType { + /** LABEL_OPTIONAL - 0 is reserved for errors */ + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, + UNRECOGNIZED = -1, +} +export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { + switch (object) { + case 1: + case "LABEL_OPTIONAL": + return FieldDescriptorProto_Label.LABEL_OPTIONAL; + + case 2: + case "LABEL_REQUIRED": + return FieldDescriptorProto_Label.LABEL_REQUIRED; + + case 3: + case "LABEL_REPEATED": + return FieldDescriptorProto_Label.LABEL_REPEATED; + + case -1: + case "UNRECOGNIZED": + default: + return FieldDescriptorProto_Label.UNRECOGNIZED; + } +} +export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string { + switch (object) { + case FieldDescriptorProto_Label.LABEL_OPTIONAL: + return "LABEL_OPTIONAL"; + + case FieldDescriptorProto_Label.LABEL_REQUIRED: + return "LABEL_REQUIRED"; + + case FieldDescriptorProto_Label.LABEL_REPEATED: + return "LABEL_REPEATED"; + + case FieldDescriptorProto_Label.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** Generated classes can be optimized for speed or code size. */ + +export 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, +} +/** Generated classes can be optimized for speed or code size. */ + +export enum FileOptions_OptimizeModeSDKType { + /** + * 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 function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { + switch (object) { + case 1: + case "SPEED": + return FileOptions_OptimizeMode.SPEED; + + case 2: + case "CODE_SIZE": + return FileOptions_OptimizeMode.CODE_SIZE; + + case 3: + case "LITE_RUNTIME": + return FileOptions_OptimizeMode.LITE_RUNTIME; + + case -1: + case "UNRECOGNIZED": + default: + return FileOptions_OptimizeMode.UNRECOGNIZED; + } +} +export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string { + switch (object) { + case FileOptions_OptimizeMode.SPEED: + return "SPEED"; + + case FileOptions_OptimizeMode.CODE_SIZE: + return "CODE_SIZE"; + + case FileOptions_OptimizeMode.LITE_RUNTIME: + return "LITE_RUNTIME"; + + case FileOptions_OptimizeMode.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export enum FieldOptions_CType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} +export enum FieldOptions_CTypeSDKType { + /** STRING - Default mode. */ + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + UNRECOGNIZED = -1, +} +export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { + switch (object) { + case 0: + case "STRING": + return FieldOptions_CType.STRING; + + case 1: + case "CORD": + return FieldOptions_CType.CORD; + + case 2: + case "STRING_PIECE": + return FieldOptions_CType.STRING_PIECE; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_CType.UNRECOGNIZED; + } +} +export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { + switch (object) { + case FieldOptions_CType.STRING: + return "STRING"; + + case FieldOptions_CType.CORD: + return "CORD"; + + case FieldOptions_CType.STRING_PIECE: + return "STRING_PIECE"; + + case FieldOptions_CType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export 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 enum FieldOptions_JSTypeSDKType { + /** 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 function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { + switch (object) { + case 0: + case "JS_NORMAL": + return FieldOptions_JSType.JS_NORMAL; + + case 1: + case "JS_STRING": + return FieldOptions_JSType.JS_STRING; + + case 2: + case "JS_NUMBER": + return FieldOptions_JSType.JS_NUMBER; + + case -1: + case "UNRECOGNIZED": + default: + return FieldOptions_JSType.UNRECOGNIZED; + } +} +export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { + switch (object) { + case FieldOptions_JSType.JS_NORMAL: + return "JS_NORMAL"; + + case FieldOptions_JSType.JS_STRING: + return "JS_STRING"; + + case FieldOptions_JSType.JS_NUMBER: + return "JS_NUMBER"; + + case FieldOptions_JSType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * 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 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, +} +/** + * 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 enum MethodOptions_IdempotencyLevelSDKType { + IDEMPOTENCY_UNKNOWN = 0, + + /** NO_SIDE_EFFECTS - implies idempotent */ + NO_SIDE_EFFECTS = 1, + + /** IDEMPOTENT - idempotent, but may have side effects */ + IDEMPOTENT = 2, + UNRECOGNIZED = -1, +} +export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { + switch (object) { + case 0: + case "IDEMPOTENCY_UNKNOWN": + return MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN; + + case 1: + case "NO_SIDE_EFFECTS": + return MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS; + + case 2: + case "IDEMPOTENT": + return MethodOptions_IdempotencyLevel.IDEMPOTENT; + + case -1: + case "UNRECOGNIZED": + default: + return MethodOptions_IdempotencyLevel.UNRECOGNIZED; + } +} +export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string { + switch (object) { + case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN: + return "IDEMPOTENCY_UNKNOWN"; + + case MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS: + return "NO_SIDE_EFFECTS"; + + case MethodOptions_IdempotencyLevel.IDEMPOTENT: + return "IDEMPOTENT"; + + case MethodOptions_IdempotencyLevel.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * The protocol compiler can output a FileDescriptorSet containing the .proto + * files it parses. + */ + +export interface FileDescriptorSet { + file: FileDescriptorProto[]; +} +/** + * 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 | undefined; + /** + * 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 | undefined; + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + + syntax: string; +} +/** Describes a complete .proto file. */ + +export interface FileDescriptorProtoSDKType { + /** 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: DescriptorProtoSDKType[]; + enum_type: EnumDescriptorProtoSDKType[]; + service: ServiceDescriptorProtoSDKType[]; + extension: FieldDescriptorProtoSDKType[]; + options?: FileOptionsSDKType | undefined; + /** + * 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?: SourceCodeInfoSDKType | undefined; + /** + * The syntax of the proto file. + * The supported values are "proto2" and "proto3". + */ + + 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 | undefined; + 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[]; +} +/** 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 | undefined; + reserved_range: DescriptorProto_ReservedRangeSDKType[]; + /** + * 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 DescriptorProto_ExtensionRange { + /** Inclusive. */ + start: number; + /** Exclusive. */ + + end: number; + options?: ExtensionRangeOptions | undefined; +} +export interface DescriptorProto_ExtensionRangeSDKType { + /** Inclusive. */ + start: number; + /** Exclusive. */ + + end: number; + options?: ExtensionRangeOptionsSDKType | undefined; +} +/** + * 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; +} +/** + * 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 { + /** Inclusive. */ + start: number; + /** Exclusive. */ + + end: number; +} +export interface ExtensionRangeOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} +export interface ExtensionRangeOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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 | undefined; +} +/** Describes a field within a message. */ + +export interface FieldDescriptorProtoSDKType { + name: string; + number: number; + label: FieldDescriptorProto_LabelSDKType; + /** + * 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_TypeSDKType; + /** + * 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?: FieldOptionsSDKType | undefined; +} +/** Describes a oneof. */ + +export interface OneofDescriptorProto { + name: string; + options?: OneofOptions | undefined; +} +/** Describes a oneof. */ + +export interface OneofDescriptorProtoSDKType { + name: string; + options?: OneofOptionsSDKType | undefined; +} +/** Describes an enum type. */ + +export interface EnumDescriptorProto { + name: string; + value: EnumValueDescriptorProto[]; + options?: EnumOptions | undefined; + /** + * 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[]; +} +/** Describes an enum type. */ + +export interface EnumDescriptorProtoSDKType { + name: string; + value: EnumValueDescriptorProtoSDKType[]; + options?: EnumOptionsSDKType | undefined; + /** + * 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_EnumReservedRangeSDKType[]; + /** + * Reserved enum value names, which may not be reused. A given name may only + * be reserved once. + */ + + 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; +} +/** + * 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 { + /** Inclusive. */ + start: number; + /** Inclusive. */ + + end: number; +} +/** Describes a value within an enum. */ + +export interface EnumValueDescriptorProto { + name: string; + number: number; + options?: EnumValueOptions | undefined; +} +/** Describes a value within an enum. */ + +export interface EnumValueDescriptorProtoSDKType { + name: string; + number: number; + options?: EnumValueOptionsSDKType | undefined; +} +/** Describes a service. */ + +export interface ServiceDescriptorProto { + name: string; + method: MethodDescriptorProto[]; + options?: ServiceOptions | undefined; +} +/** Describes a service. */ + +export interface ServiceDescriptorProtoSDKType { + name: string; + method: MethodDescriptorProtoSDKType[]; + options?: ServiceOptionsSDKType | undefined; +} +/** 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 | undefined; + /** Identifies if client streams multiple client messages */ + + clientStreaming: boolean; + /** Identifies if server streams multiple server messages */ + + serverStreaming: boolean; +} +/** Describes a method of a service. */ + +export interface MethodDescriptorProtoSDKType { + 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?: MethodOptionsSDKType | undefined; + /** Identifies if client streams multiple client messages */ + + client_streaming: boolean; + /** Identifies if server streams multiple server messages */ + + 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 FileOptionsSDKType { + /** + * 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_OptimizeModeSDKType; + /** + * 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: 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 MessageOptionsSDKType { + /** + * 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: 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 FieldOptionsSDKType { + /** + * 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_CTypeSDKType; + /** + * 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_JSTypeSDKType; + /** + * 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: UninterpretedOptionSDKType[]; +} +export interface OneofOptions { + /** The parser stores options it doesn't recognize here. See above. */ + uninterpretedOption: UninterpretedOption[]; +} +export interface OneofOptionsSDKType { + /** The parser stores options it doesn't recognize here. See above. */ + 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 EnumOptionsSDKType { + /** + * 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: 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 EnumValueOptionsSDKType { + /** + * 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: 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 ServiceOptionsSDKType { + /** + * 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: 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 MethodOptionsSDKType { + /** + * 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_IdempotencyLevelSDKType; + /** The parser stores options it doesn't recognize here. See above. */ + + 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; +} +/** + * 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[]; + /** + * 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: 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; +} +/** + * 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[]; +} +/** + * Encapsulates information about the original source file from which a + * FileDescriptorProto was generated. + */ + +export interface SourceCodeInfoSDKType { + /** + * 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_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_LocationSDKType { + /** + * 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[]; +} +/** + * 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[]; +} +/** + * 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 { + /** + * An Annotation connects some span of text in generated code to an element + * of its generating .proto file. + */ + 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_AnnotationSDKType { + /** + * 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; +} + +function createBaseFileDescriptorSet(): FileDescriptorSet { + return { + file: [] + }; +} + +export const FileDescriptorSet = { + encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.file) { + FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.file.push(FileDescriptorProto.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FileDescriptorSet { + const message = createBaseFileDescriptorSet(); + message.file = object.file?.map(e => FileDescriptorProto.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFileDescriptorProto(): FileDescriptorProto { + return { + name: "", + package: "", + dependency: [], + publicDependency: [], + weakDependency: [], + messageType: [], + enumType: [], + service: [], + extension: [], + options: undefined, + sourceCodeInfo: undefined, + syntax: "" + }; +} + +export const FileDescriptorProto = { + encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.package !== "") { + writer.uint32(18).string(message.package); + } + + for (const v of message.dependency) { + writer.uint32(26).string(v!); + } + + writer.uint32(82).fork(); + + for (const v of message.publicDependency) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(90).fork(); + + for (const v of message.weakDependency) { + writer.int32(v); + } + + writer.ldelim(); + + for (const v of message.messageType) { + DescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.service) { + ServiceDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.options !== undefined) { + FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + if (message.sourceCodeInfo !== undefined) { + SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim(); + } + + if (message.syntax !== "") { + writer.uint32(98).string(message.syntax); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.package = reader.string(); + break; + + case 3: + message.dependency.push(reader.string()); + break; + + case 10: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.publicDependency.push(reader.int32()); + } + } else { + message.publicDependency.push(reader.int32()); + } + + break; + + case 11: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.weakDependency.push(reader.int32()); + } + } else { + message.weakDependency.push(reader.int32()); + } + + break; + + case 4: + message.messageType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 8: + message.options = FileOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32()); + break; + + case 12: + message.syntax = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FileDescriptorProto { + const message = createBaseFileDescriptorProto(); + message.name = object.name ?? ""; + message.package = object.package ?? ""; + message.dependency = object.dependency?.map(e => e) || []; + message.publicDependency = object.publicDependency?.map(e => e) || []; + message.weakDependency = object.weakDependency?.map(e => e) || []; + message.messageType = object.messageType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.service = object.service?.map(e => ServiceDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? FileOptions.fromPartial(object.options) : undefined; + message.sourceCodeInfo = object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; + message.syntax = object.syntax ?? ""; + return message; + } + +}; + +function createBaseDescriptorProto(): DescriptorProto { + return { + name: "", + field: [], + extension: [], + nestedType: [], + enumType: [], + extensionRange: [], + oneofDecl: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const DescriptorProto = { + encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.field) { + FieldDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.extension) { + FieldDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.nestedType) { + DescriptorProto.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.enumType) { + EnumDescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.extensionRange) { + DescriptorProto_ExtensionRange.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.oneofDecl) { + OneofDescriptorProto.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + if (message.options !== undefined) { + MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + DescriptorProto_ReservedRange.encode(v!, writer.uint32(74).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(82).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.field.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 6: + message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.nestedType.push(DescriptorProto.decode(reader, reader.uint32())); + break; + + case 4: + message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); + break; + + case 5: + message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32())); + break; + + case 8: + message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32())); + break; + + case 7: + message.options = MessageOptions.decode(reader, reader.uint32()); + break; + + case 9: + message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32())); + break; + + case 10: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DescriptorProto { + const message = createBaseDescriptorProto(); + message.name = object.name ?? ""; + message.field = object.field?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; + message.nestedType = object.nestedType?.map(e => DescriptorProto.fromPartial(e)) || []; + message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; + message.extensionRange = object.extensionRange?.map(e => DescriptorProto_ExtensionRange.fromPartial(e)) || []; + message.oneofDecl = object.oneofDecl?.map(e => OneofDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? MessageOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => DescriptorProto_ReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange { + return { + start: 0, + end: 0, + options: undefined + }; +} + +export const DescriptorProto_ExtensionRange = { + encode(message: DescriptorProto_ExtensionRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + if (message.options !== undefined) { + ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ExtensionRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + case 3: + message.options = ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DescriptorProto_ExtensionRange { + const message = createBaseDescriptorProto_ExtensionRange(); + message.start = object.start ?? 0; + message.end = object.end ?? 0; + message.options = object.options !== undefined && object.options !== null ? ExtensionRangeOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const DescriptorProto_ReservedRange = { + encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDescriptorProto_ReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DescriptorProto_ReservedRange { + const message = createBaseDescriptorProto_ReservedRange(); + message.start = object.start ?? 0; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseExtensionRangeOptions(): ExtensionRangeOptions { + return { + uninterpretedOption: [] + }; +} + +export const ExtensionRangeOptions = { + encode(message: ExtensionRangeOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseExtensionRangeOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ExtensionRangeOptions { + const message = createBaseExtensionRangeOptions(); + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFieldDescriptorProto(): FieldDescriptorProto { + return { + name: "", + number: 0, + label: 1, + type: 1, + typeName: "", + extendee: "", + defaultValue: "", + oneofIndex: 0, + jsonName: "", + options: undefined + }; +} + +export const FieldDescriptorProto = { + encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(24).int32(message.number); + } + + if (message.label !== 1) { + writer.uint32(32).int32(message.label); + } + + if (message.type !== 1) { + writer.uint32(40).int32(message.type); + } + + if (message.typeName !== "") { + writer.uint32(50).string(message.typeName); + } + + if (message.extendee !== "") { + writer.uint32(18).string(message.extendee); + } + + if (message.defaultValue !== "") { + writer.uint32(58).string(message.defaultValue); + } + + if (message.oneofIndex !== 0) { + writer.uint32(72).int32(message.oneofIndex); + } + + if (message.jsonName !== "") { + writer.uint32(82).string(message.jsonName); + } + + if (message.options !== undefined) { + FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 3: + message.number = reader.int32(); + break; + + case 4: + message.label = (reader.int32() as any); + break; + + case 5: + message.type = (reader.int32() as any); + break; + + case 6: + message.typeName = reader.string(); + break; + + case 2: + message.extendee = reader.string(); + break; + + case 7: + message.defaultValue = reader.string(); + break; + + case 9: + message.oneofIndex = reader.int32(); + break; + + case 10: + message.jsonName = reader.string(); + break; + + case 8: + message.options = FieldOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FieldDescriptorProto { + const message = createBaseFieldDescriptorProto(); + message.name = object.name ?? ""; + message.number = object.number ?? 0; + message.label = object.label ?? 1; + message.type = object.type ?? 1; + message.typeName = object.typeName ?? ""; + message.extendee = object.extendee ?? ""; + message.defaultValue = object.defaultValue ?? ""; + message.oneofIndex = object.oneofIndex ?? 0; + message.jsonName = object.jsonName ?? ""; + message.options = object.options !== undefined && object.options !== null ? FieldOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseOneofDescriptorProto(): OneofDescriptorProto { + return { + name: "", + options: undefined + }; +} + +export const OneofDescriptorProto = { + encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.options !== undefined) { + OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.options = OneofOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): OneofDescriptorProto { + const message = createBaseOneofDescriptorProto(); + message.name = object.name ?? ""; + message.options = object.options !== undefined && object.options !== null ? OneofOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseEnumDescriptorProto(): EnumDescriptorProto { + return { + name: "", + value: [], + options: undefined, + reservedRange: [], + reservedName: [] + }; +} + +export const EnumDescriptorProto = { + encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.value) { + EnumValueDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.reservedRange) { + EnumDescriptorProto_EnumReservedRange.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.reservedName) { + writer.uint32(42).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = EnumOptions.decode(reader, reader.uint32()); + break; + + case 4: + message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32())); + break; + + case 5: + message.reservedName.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EnumDescriptorProto { + const message = createBaseEnumDescriptorProto(); + message.name = object.name ?? ""; + message.value = object.value?.map(e => EnumValueDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? EnumOptions.fromPartial(object.options) : undefined; + message.reservedRange = object.reservedRange?.map(e => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) || []; + message.reservedName = object.reservedName?.map(e => e) || []; + return message; + } + +}; + +function createBaseEnumDescriptorProto_EnumReservedRange(): EnumDescriptorProto_EnumReservedRange { + return { + start: 0, + end: 0 + }; +} + +export const EnumDescriptorProto_EnumReservedRange = { + encode(message: EnumDescriptorProto_EnumReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.start !== 0) { + writer.uint32(8).int32(message.start); + } + + if (message.end !== 0) { + writer.uint32(16).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumDescriptorProto_EnumReservedRange(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.start = reader.int32(); + break; + + case 2: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EnumDescriptorProto_EnumReservedRange { + const message = createBaseEnumDescriptorProto_EnumReservedRange(); + message.start = object.start ?? 0; + message.end = object.end ?? 0; + return message; + } + +}; + +function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { + return { + name: "", + number: 0, + options: undefined + }; +} + +export const EnumValueDescriptorProto = { + encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.number !== 0) { + writer.uint32(16).int32(message.number); + } + + if (message.options !== undefined) { + EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.number = reader.int32(); + break; + + case 3: + message.options = EnumValueOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EnumValueDescriptorProto { + const message = createBaseEnumValueDescriptorProto(); + message.name = object.name ?? ""; + message.number = object.number ?? 0; + message.options = object.options !== undefined && object.options !== null ? EnumValueOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseServiceDescriptorProto(): ServiceDescriptorProto { + return { + name: "", + method: [], + options: undefined + }; +} + +export const ServiceDescriptorProto = { + encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + for (const v of message.method) { + MethodDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.options !== undefined) { + ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.method.push(MethodDescriptorProto.decode(reader, reader.uint32())); + break; + + case 3: + message.options = ServiceOptions.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ServiceDescriptorProto { + const message = createBaseServiceDescriptorProto(); + message.name = object.name ?? ""; + message.method = object.method?.map(e => MethodDescriptorProto.fromPartial(e)) || []; + message.options = object.options !== undefined && object.options !== null ? ServiceOptions.fromPartial(object.options) : undefined; + return message; + } + +}; + +function createBaseMethodDescriptorProto(): MethodDescriptorProto { + return { + name: "", + inputType: "", + outputType: "", + options: undefined, + clientStreaming: false, + serverStreaming: false + }; +} + +export const MethodDescriptorProto = { + encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + + if (message.inputType !== "") { + writer.uint32(18).string(message.inputType); + } + + if (message.outputType !== "") { + writer.uint32(26).string(message.outputType); + } + + if (message.options !== undefined) { + MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim(); + } + + if (message.clientStreaming === true) { + writer.uint32(40).bool(message.clientStreaming); + } + + if (message.serverStreaming === true) { + writer.uint32(48).bool(message.serverStreaming); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodDescriptorProto(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.name = reader.string(); + break; + + case 2: + message.inputType = reader.string(); + break; + + case 3: + message.outputType = reader.string(); + break; + + case 4: + message.options = MethodOptions.decode(reader, reader.uint32()); + break; + + case 5: + message.clientStreaming = reader.bool(); + break; + + case 6: + message.serverStreaming = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MethodDescriptorProto { + const message = createBaseMethodDescriptorProto(); + message.name = object.name ?? ""; + message.inputType = object.inputType ?? ""; + message.outputType = object.outputType ?? ""; + message.options = object.options !== undefined && object.options !== null ? MethodOptions.fromPartial(object.options) : undefined; + message.clientStreaming = object.clientStreaming ?? false; + message.serverStreaming = object.serverStreaming ?? false; + return message; + } + +}; + +function createBaseFileOptions(): FileOptions { + return { + javaPackage: "", + javaOuterClassname: "", + javaMultipleFiles: false, + javaGenerateEqualsAndHash: false, + javaStringCheckUtf8: false, + optimizeFor: 1, + goPackage: "", + ccGenericServices: false, + javaGenericServices: false, + pyGenericServices: false, + phpGenericServices: false, + deprecated: false, + ccEnableArenas: false, + objcClassPrefix: "", + csharpNamespace: "", + swiftPrefix: "", + phpClassPrefix: "", + phpNamespace: "", + phpMetadataNamespace: "", + rubyPackage: "", + uninterpretedOption: [] + }; +} + +export const FileOptions = { + encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.javaPackage !== "") { + writer.uint32(10).string(message.javaPackage); + } + + if (message.javaOuterClassname !== "") { + writer.uint32(66).string(message.javaOuterClassname); + } + + if (message.javaMultipleFiles === true) { + writer.uint32(80).bool(message.javaMultipleFiles); + } + + if (message.javaGenerateEqualsAndHash === true) { + writer.uint32(160).bool(message.javaGenerateEqualsAndHash); + } + + if (message.javaStringCheckUtf8 === true) { + writer.uint32(216).bool(message.javaStringCheckUtf8); + } + + if (message.optimizeFor !== 1) { + writer.uint32(72).int32(message.optimizeFor); + } + + if (message.goPackage !== "") { + writer.uint32(90).string(message.goPackage); + } + + if (message.ccGenericServices === true) { + writer.uint32(128).bool(message.ccGenericServices); + } + + if (message.javaGenericServices === true) { + writer.uint32(136).bool(message.javaGenericServices); + } + + if (message.pyGenericServices === true) { + writer.uint32(144).bool(message.pyGenericServices); + } + + if (message.phpGenericServices === true) { + writer.uint32(336).bool(message.phpGenericServices); + } + + if (message.deprecated === true) { + writer.uint32(184).bool(message.deprecated); + } + + if (message.ccEnableArenas === true) { + writer.uint32(248).bool(message.ccEnableArenas); + } + + if (message.objcClassPrefix !== "") { + writer.uint32(290).string(message.objcClassPrefix); + } + + if (message.csharpNamespace !== "") { + writer.uint32(298).string(message.csharpNamespace); + } + + if (message.swiftPrefix !== "") { + writer.uint32(314).string(message.swiftPrefix); + } + + if (message.phpClassPrefix !== "") { + writer.uint32(322).string(message.phpClassPrefix); + } + + if (message.phpNamespace !== "") { + writer.uint32(330).string(message.phpNamespace); + } + + if (message.phpMetadataNamespace !== "") { + writer.uint32(354).string(message.phpMetadataNamespace); + } + + if (message.rubyPackage !== "") { + writer.uint32(362).string(message.rubyPackage); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFileOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.javaPackage = reader.string(); + break; + + case 8: + message.javaOuterClassname = reader.string(); + break; + + case 10: + message.javaMultipleFiles = reader.bool(); + break; + + case 20: + message.javaGenerateEqualsAndHash = reader.bool(); + break; + + case 27: + message.javaStringCheckUtf8 = reader.bool(); + break; + + case 9: + message.optimizeFor = (reader.int32() as any); + break; + + case 11: + message.goPackage = reader.string(); + break; + + case 16: + message.ccGenericServices = reader.bool(); + break; + + case 17: + message.javaGenericServices = reader.bool(); + break; + + case 18: + message.pyGenericServices = reader.bool(); + break; + + case 42: + message.phpGenericServices = reader.bool(); + break; + + case 23: + message.deprecated = reader.bool(); + break; + + case 31: + message.ccEnableArenas = reader.bool(); + break; + + case 36: + message.objcClassPrefix = reader.string(); + break; + + case 37: + message.csharpNamespace = reader.string(); + break; + + case 39: + message.swiftPrefix = reader.string(); + break; + + case 40: + message.phpClassPrefix = reader.string(); + break; + + case 41: + message.phpNamespace = reader.string(); + break; + + case 44: + message.phpMetadataNamespace = reader.string(); + break; + + case 45: + message.rubyPackage = reader.string(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FileOptions { + const message = createBaseFileOptions(); + message.javaPackage = object.javaPackage ?? ""; + message.javaOuterClassname = object.javaOuterClassname ?? ""; + message.javaMultipleFiles = object.javaMultipleFiles ?? false; + message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; + message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; + message.optimizeFor = object.optimizeFor ?? 1; + message.goPackage = object.goPackage ?? ""; + message.ccGenericServices = object.ccGenericServices ?? false; + message.javaGenericServices = object.javaGenericServices ?? false; + message.pyGenericServices = object.pyGenericServices ?? false; + message.phpGenericServices = object.phpGenericServices ?? false; + message.deprecated = object.deprecated ?? false; + message.ccEnableArenas = object.ccEnableArenas ?? false; + message.objcClassPrefix = object.objcClassPrefix ?? ""; + message.csharpNamespace = object.csharpNamespace ?? ""; + message.swiftPrefix = object.swiftPrefix ?? ""; + message.phpClassPrefix = object.phpClassPrefix ?? ""; + message.phpNamespace = object.phpNamespace ?? ""; + message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; + message.rubyPackage = object.rubyPackage ?? ""; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMessageOptions(): MessageOptions { + return { + messageSetWireFormat: false, + noStandardDescriptorAccessor: false, + deprecated: false, + mapEntry: false, + uninterpretedOption: [] + }; +} + +export const MessageOptions = { + encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.messageSetWireFormat === true) { + writer.uint32(8).bool(message.messageSetWireFormat); + } + + if (message.noStandardDescriptorAccessor === true) { + writer.uint32(16).bool(message.noStandardDescriptorAccessor); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.mapEntry === true) { + writer.uint32(56).bool(message.mapEntry); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMessageOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.messageSetWireFormat = reader.bool(); + break; + + case 2: + message.noStandardDescriptorAccessor = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 7: + message.mapEntry = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MessageOptions { + const message = createBaseMessageOptions(); + message.messageSetWireFormat = object.messageSetWireFormat ?? false; + message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; + message.deprecated = object.deprecated ?? false; + message.mapEntry = object.mapEntry ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseFieldOptions(): FieldOptions { + return { + ctype: 1, + packed: false, + jstype: 1, + lazy: false, + deprecated: false, + weak: false, + uninterpretedOption: [] + }; +} + +export const FieldOptions = { + encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ctype !== 1) { + writer.uint32(8).int32(message.ctype); + } + + if (message.packed === true) { + writer.uint32(16).bool(message.packed); + } + + if (message.jstype !== 1) { + writer.uint32(48).int32(message.jstype); + } + + if (message.lazy === true) { + writer.uint32(40).bool(message.lazy); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + if (message.weak === true) { + writer.uint32(80).bool(message.weak); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFieldOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ctype = (reader.int32() as any); + break; + + case 2: + message.packed = reader.bool(); + break; + + case 6: + message.jstype = (reader.int32() as any); + break; + + case 5: + message.lazy = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 10: + message.weak = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): FieldOptions { + const message = createBaseFieldOptions(); + message.ctype = object.ctype ?? 1; + message.packed = object.packed ?? false; + message.jstype = object.jstype ?? 1; + message.lazy = object.lazy ?? false; + message.deprecated = object.deprecated ?? false; + message.weak = object.weak ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseOneofOptions(): OneofOptions { + return { + uninterpretedOption: [] + }; +} + +export const OneofOptions = { + encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseOneofOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): OneofOptions { + const message = createBaseOneofOptions(); + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEnumOptions(): EnumOptions { + return { + allowAlias: false, + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumOptions = { + encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.allowAlias === true) { + writer.uint32(16).bool(message.allowAlias); + } + + if (message.deprecated === true) { + writer.uint32(24).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.allowAlias = reader.bool(); + break; + + case 3: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EnumOptions { + const message = createBaseEnumOptions(); + message.allowAlias = object.allowAlias ?? false; + message.deprecated = object.deprecated ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEnumValueOptions(): EnumValueOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const EnumValueOptions = { + encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(8).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEnumValueOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EnumValueOptions { + const message = createBaseEnumValueOptions(); + message.deprecated = object.deprecated ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseServiceOptions(): ServiceOptions { + return { + deprecated: false, + uninterpretedOption: [] + }; +} + +export const ServiceOptions = { + encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseServiceOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ServiceOptions { + const message = createBaseServiceOptions(); + message.deprecated = object.deprecated ?? false; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseMethodOptions(): MethodOptions { + return { + deprecated: false, + idempotencyLevel: 1, + uninterpretedOption: [] + }; +} + +export const MethodOptions = { + encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.deprecated === true) { + writer.uint32(264).bool(message.deprecated); + } + + if (message.idempotencyLevel !== 1) { + writer.uint32(272).int32(message.idempotencyLevel); + } + + for (const v of message.uninterpretedOption) { + UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMethodOptions(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 33: + message.deprecated = reader.bool(); + break; + + case 34: + message.idempotencyLevel = (reader.int32() as any); + break; + + case 999: + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MethodOptions { + const message = createBaseMethodOptions(); + message.deprecated = object.deprecated ?? false; + message.idempotencyLevel = object.idempotencyLevel ?? 1; + message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseUninterpretedOption(): UninterpretedOption { + return { + name: [], + identifierValue: "", + positiveIntValue: Long.UZERO, + negativeIntValue: Long.ZERO, + doubleValue: 0, + stringValue: new Uint8Array(), + aggregateValue: "" + }; +} + +export const UninterpretedOption = { + encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.name) { + UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.identifierValue !== "") { + writer.uint32(26).string(message.identifierValue); + } + + if (!message.positiveIntValue.isZero()) { + writer.uint32(32).uint64(message.positiveIntValue); + } + + if (!message.negativeIntValue.isZero()) { + writer.uint32(40).int64(message.negativeIntValue); + } + + if (message.doubleValue !== 0) { + writer.uint32(49).double(message.doubleValue); + } + + if (message.stringValue.length !== 0) { + writer.uint32(58).bytes(message.stringValue); + } + + if (message.aggregateValue !== "") { + writer.uint32(66).string(message.aggregateValue); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32())); + break; + + case 3: + message.identifierValue = reader.string(); + break; + + case 4: + message.positiveIntValue = (reader.uint64() as Long); + break; + + case 5: + message.negativeIntValue = (reader.int64() as Long); + break; + + case 6: + message.doubleValue = reader.double(); + break; + + case 7: + message.stringValue = reader.bytes(); + break; + + case 8: + message.aggregateValue = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UninterpretedOption { + const message = createBaseUninterpretedOption(); + message.name = object.name?.map(e => UninterpretedOption_NamePart.fromPartial(e)) || []; + message.identifierValue = object.identifierValue ?? ""; + message.positiveIntValue = object.positiveIntValue !== undefined && object.positiveIntValue !== null ? Long.fromValue(object.positiveIntValue) : Long.UZERO; + message.negativeIntValue = object.negativeIntValue !== undefined && object.negativeIntValue !== null ? Long.fromValue(object.negativeIntValue) : Long.ZERO; + message.doubleValue = object.doubleValue ?? 0; + message.stringValue = object.stringValue ?? new Uint8Array(); + message.aggregateValue = object.aggregateValue ?? ""; + return message; + } + +}; + +function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart { + return { + namePart: "", + isExtension: false + }; +} + +export const UninterpretedOption_NamePart = { + encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.namePart !== "") { + writer.uint32(10).string(message.namePart); + } + + if (message.isExtension === true) { + writer.uint32(16).bool(message.isExtension); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUninterpretedOption_NamePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.namePart = reader.string(); + break; + + case 2: + message.isExtension = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UninterpretedOption_NamePart { + const message = createBaseUninterpretedOption_NamePart(); + message.namePart = object.namePart ?? ""; + message.isExtension = object.isExtension ?? false; + return message; + } + +}; + +function createBaseSourceCodeInfo(): SourceCodeInfo { + return { + location: [] + }; +} + +export const SourceCodeInfo = { + encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.location) { + SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SourceCodeInfo { + const message = createBaseSourceCodeInfo(); + message.location = object.location?.map(e => SourceCodeInfo_Location.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location { + return { + path: [], + span: [], + leadingComments: "", + trailingComments: "", + leadingDetachedComments: [] + }; +} + +export const SourceCodeInfo_Location = { + encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + writer.uint32(18).fork(); + + for (const v of message.span) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.leadingComments !== "") { + writer.uint32(26).string(message.leadingComments); + } + + if (message.trailingComments !== "") { + writer.uint32(34).string(message.trailingComments); + } + + for (const v of message.leadingDetachedComments) { + writer.uint32(50).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSourceCodeInfo_Location(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.span.push(reader.int32()); + } + } else { + message.span.push(reader.int32()); + } + + break; + + case 3: + message.leadingComments = reader.string(); + break; + + case 4: + message.trailingComments = reader.string(); + break; + + case 6: + message.leadingDetachedComments.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SourceCodeInfo_Location { + const message = createBaseSourceCodeInfo_Location(); + message.path = object.path?.map(e => e) || []; + message.span = object.span?.map(e => e) || []; + message.leadingComments = object.leadingComments ?? ""; + message.trailingComments = object.trailingComments ?? ""; + message.leadingDetachedComments = object.leadingDetachedComments?.map(e => e) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo(): GeneratedCodeInfo { + return { + annotation: [] + }; +} + +export const GeneratedCodeInfo = { + encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.annotation) { + GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GeneratedCodeInfo { + const message = createBaseGeneratedCodeInfo(); + message.annotation = object.annotation?.map(e => GeneratedCodeInfo_Annotation.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { + return { + path: [], + sourceFile: "", + begin: 0, + end: 0 + }; +} + +export const GeneratedCodeInfo_Annotation = { + encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.path) { + writer.int32(v); + } + + writer.ldelim(); + + if (message.sourceFile !== "") { + writer.uint32(18).string(message.sourceFile); + } + + if (message.begin !== 0) { + writer.uint32(24).int32(message.begin); + } + + if (message.end !== 0) { + writer.uint32(32).int32(message.end); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGeneratedCodeInfo_Annotation(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.path.push(reader.int32()); + } + } else { + message.path.push(reader.int32()); + } + + break; + + case 2: + message.sourceFile = reader.string(); + break; + + case 3: + message.begin = reader.int32(); + break; + + case 4: + message.end = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GeneratedCodeInfo_Annotation { + const message = createBaseGeneratedCodeInfo_Annotation(); + message.path = object.path?.map(e => e) || []; + message.sourceFile = object.sourceFile ?? ""; + message.begin = object.begin ?? 0; + message.end = object.end ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/duration.ts b/examples/telescope/codegen/google/protobuf/duration.ts new file mode 100644 index 000000000..de9f82877 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/duration.ts @@ -0,0 +1,215 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +/** + * 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; +} +/** + * 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 { + /** + * 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; +} + +function createBaseDuration(): Duration { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Duration = { + encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Duration { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuration(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Duration { + const message = createBaseDuration(); + message.seconds = object.seconds !== undefined && object.seconds !== null ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/empty.ts b/examples/telescope/codegen/google/protobuf/empty.ts new file mode 100644 index 000000000..6b8f72572 --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/empty.ts @@ -0,0 +1,61 @@ +import * as _m0 from "protobufjs/minimal"; +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ + +export interface Empty {} +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * + * The JSON representation for `Empty` is empty JSON object `{}`. + */ + +export interface EmptySDKType {} + +function createBaseEmpty(): Empty { + return {}; +} + +export const Empty = { + encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Empty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEmpty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): Empty { + const message = createBaseEmpty(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/google/protobuf/timestamp.ts b/examples/telescope/codegen/google/protobuf/timestamp.ts new file mode 100644 index 000000000..c3e0b298f --- /dev/null +++ b/examples/telescope/codegen/google/protobuf/timestamp.ts @@ -0,0 +1,259 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } 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 + * 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; +} +/** + * 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 { + /** + * 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; +} + +function createBaseTimestamp(): Timestamp { + return { + seconds: Long.ZERO, + nanos: 0 + }; +} + +export const Timestamp = { + encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.seconds.isZero()) { + writer.uint32(8).int64(message.seconds); + } + + if (message.nanos !== 0) { + writer.uint32(16).int32(message.nanos); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestamp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.seconds = (reader.int64() as Long); + break; + + case 2: + message.nanos = reader.int32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Timestamp { + const message = createBaseTimestamp(); + message.seconds = object.seconds !== undefined && object.seconds !== null ? Long.fromValue(object.seconds) : Long.ZERO; + message.nanos = object.nanos ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/helpers.ts b/examples/telescope/codegen/helpers.ts new file mode 100644 index 000000000..cea1e8f12 --- /dev/null +++ b/examples/telescope/codegen/helpers.ts @@ -0,0 +1,240 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.75.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 * as _m0 from "protobufjs/minimal"; +import Long from 'long'; + +// @ts-ignore +if (_m0.util.Long !== Long) { + _m0.util.Long = (Long as any); + + _m0.configure(); +} + +export { Long }; + +declare var self: any | undefined; +declare var window: any | undefined; +declare var global: any | undefined; +var globalThis: any = (() => { + if (typeof globalThis !== 'undefined') return globalThis; + if (typeof self !== 'undefined') return self; + if (typeof window !== 'undefined') return window; + if (typeof global !== 'undefined') return global; + throw 'Unable to locate global object'; +})(); + +const atob: (b64: string) => string = + globalThis.atob || ((b64) => globalThis.Buffer.from(b64, 'base64').toString('binary')); + +export function bytesFromBase64(b64: string): Uint8Array { + const bin = atob(b64); + const arr = new Uint8Array(bin.length); + for (let i = 0; i < bin.length; ++i) { + arr[i] = bin.charCodeAt(i); + } + return arr; +} + +const btoa: (bin: string) => string = + globalThis.btoa || ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64')); + +export function base64FromBytes(arr: Uint8Array): string { + const bin: string[] = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return btoa(bin.join('')); +} + +export interface AminoHeight { + readonly revision_number?: string; + readonly revision_height?: string; +}; + +export function omitDefault(input: T): T | undefined { + if (typeof input === "string") { + return input === "" ? undefined : input; + } + + if (typeof input === "number") { + return input === 0 ? undefined : input; + } + + if (Long.isLong(input)) { + return input.isZero() ? undefined : input; + } + + throw new Error(`Got unsupported type ${typeof input}`); +}; + +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 function toDuration(duration: string): Duration { + return { + seconds: Long.fromNumber(Math.floor(parseInt(duration) / 1000000000)), + nanos: parseInt(duration) % 1000000000 + }; +}; + +export function fromDuration(duration: Duration): string { + return (parseInt(duration.seconds.toString()) * 1000000000 + duration.nanos).toString(); +}; + +export function isSet(value: any): boolean { + return value !== null && value !== undefined; +}; + +export function isObject(value: any): boolean { + return typeof value === 'object' && value !== null; +}; + +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 const setPaginationParams = (options: Params, pagination?: PageRequest) => { + + if (!pagination) { + return options; + } + + if (typeof pagination?.countTotal !== "undefined") { + options.params['pagination.count_total'] = pagination.countTotal; + } + if (typeof pagination?.key !== "undefined") { + // String to Uint8Array + // let uint8arr = new Uint8Array(Buffer.from(data,'base64')); + + // Uint8Array to String + options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64'); + } + if (typeof pagination?.limit !== "undefined") { + options.params["pagination.limit"] = pagination.limit.toString() + } + if (typeof pagination?.offset !== "undefined") { + options.params["pagination.offset"] = pagination.offset.toString() + } + if (typeof pagination?.reverse !== "undefined") { + options.params['pagination.reverse'] = pagination.reverse; + } + + return options; +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin + ? T + : 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 function toTimestamp(date: Date): Timestamp { + const seconds = numberToLong(date.getTime() / 1_000); + const nanos = date.getTime() % 1000 * 1000000; + return { + seconds, + nanos + }; +}; + +export function fromTimestamp(t: Timestamp): Date { + let millis = t.seconds.toNumber() * 1000; + millis += t.nanos / 1000000; + return new Date(millis); +}; + +const fromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromString(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0 + }; +}; + +const timestampFromJSON = (object: any): Timestamp => { + return { + seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0, + }; +} + +export function fromJsonTimestamp(o: any): Timestamp { + if (o instanceof Date) { + return toTimestamp(o); + } else if (typeof o === "string") { + return toTimestamp(new Date(o)); + } else { + return timestampFromJSON(o); + } +} + +function numberToLong(number: number) { + return Long.fromNumber(number); +} diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts new file mode 100644 index 000000000..8c4e6380e --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/genesis.ts @@ -0,0 +1,81 @@ +import { DenomTrace, DenomTraceSDKType, Params, 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 | undefined; +} +/** GenesisState defines the ibc-transfer genesis state */ + +export interface GenesisStateSDKType { + port_id: string; + denom_traces: DenomTraceSDKType[]; + params?: ParamsSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + portId: "", + denomTraces: [], + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.portId = reader.string(); + break; + + case 2: + message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); + break; + + case 3: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.portId = object.portId ?? ""; + message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts new file mode 100644 index 000000000..7bce53a40 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.lcd.ts @@ -0,0 +1,49 @@ +import { setPaginationParams } from "../../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); + } + /* DenomTrace queries a denomination trace information. */ + + + async denomTrace(params: QueryDenomTraceRequest): Promise { + const endpoint = `ibc/apps/transfer/v1/denom_traces/${params.hash}`; + return await this.req.get(endpoint); + } + /* DenomTraces queries all denomination traces. */ + + + async denomTraces(params: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/apps/transfer/v1/denom_traces`; + return await this.req.get(endpoint, options); + } + /* Params queries all parameters of the ibc-transfer module. */ + + + async params(_params: QueryParamsRequest = {}): Promise { + const endpoint = `ibc/apps/transfer/v1/params`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts new file mode 100644 index 000000000..62b2cc990 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts @@ -0,0 +1,65 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } 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; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.denomTrace = this.denomTrace.bind(this); + this.denomTraces = this.denomTraces.bind(this); + this.params = this.params.bind(this); + } + + denomTrace(request: QueryDenomTraceRequest): Promise { + const data = QueryDenomTraceRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTrace", data); + return promise.then(data => QueryDenomTraceResponse.decode(new _m0.Reader(data))); + } + + denomTraces(request: QueryDenomTracesRequest = { + pagination: undefined + }): Promise { + const data = QueryDenomTracesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "DenomTraces", data); + return promise.then(data => QueryDenomTracesResponse.decode(new _m0.Reader(data))); + } + + params(request: QueryParamsRequest = {}): Promise { + const data = QueryParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Query", "Params", data); + return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + denomTrace(request: QueryDenomTraceRequest): Promise { + return queryService.denomTrace(request); + }, + + denomTraces(request?: QueryDenomTracesRequest): Promise { + return queryService.denomTraces(request); + }, + + params(request?: QueryParamsRequest): Promise { + return queryService.params(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts new file mode 100644 index 000000000..78a22b4d6 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/query.ts @@ -0,0 +1,368 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { DenomTrace, DenomTraceSDKType, Params, 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) of the denomination trace information. */ + hash: string; +} +/** + * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC + * method + */ + +export interface QueryDenomTraceRequestSDKType { + /** hash (in hex format) of the denomination trace information. */ + 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 | undefined; +} +/** + * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC + * method. + */ + +export interface QueryDenomTraceResponseSDKType { + /** denom_trace returns the requested denomination trace information. */ + denom_trace?: DenomTraceSDKType | undefined; +} +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ + +export interface QueryDenomTracesRequest { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequest | undefined; +} +/** + * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC + * method + */ + +export interface QueryDenomTracesRequestSDKType { + /** pagination defines an optional pagination for the request. */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC + * method. + */ + +export interface QueryDenomTracesResponseSDKType { + /** denom_traces returns all denominations trace information. */ + denom_traces: DenomTraceSDKType[]; + /** pagination defines the pagination in the response. */ + + pagination?: PageResponseSDKType | undefined; +} +/** QueryParamsRequest is the request type for the Query/Params RPC method. */ + +export interface QueryParamsRequest {} +/** 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 | undefined; +} +/** QueryParamsResponse is the response type for the Query/Params RPC method. */ + +export interface QueryParamsResponseSDKType { + /** params defines the parameters of the module. */ + params?: ParamsSDKType | undefined; +} + +function createBaseQueryDenomTraceRequest(): QueryDenomTraceRequest { + return { + hash: "" + }; +} + +export const QueryDenomTraceRequest = { + encode(message: QueryDenomTraceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash !== "") { + writer.uint32(10).string(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomTraceRequest { + const message = createBaseQueryDenomTraceRequest(); + message.hash = object.hash ?? ""; + return message; + } + +}; + +function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { + return { + denomTrace: undefined + }; +} + +export const QueryDenomTraceResponse = { + encode(message: QueryDenomTraceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denomTrace !== undefined) { + DenomTrace.encode(message.denomTrace, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTraceResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTrace = DenomTrace.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomTraceResponse { + const message = createBaseQueryDenomTraceResponse(); + message.denomTrace = object.denomTrace !== undefined && object.denomTrace !== null ? DenomTrace.fromPartial(object.denomTrace) : undefined; + return message; + } + +}; + +function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { + return { + pagination: undefined + }; +} + +export const QueryDenomTracesRequest = { + encode(message: QueryDenomTracesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryDenomTracesRequest { + const message = createBaseQueryDenomTracesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { + return { + denomTraces: [], + pagination: undefined + }; +} + +export const QueryDenomTracesResponse = { + encode(message: QueryDenomTracesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.denomTraces) { + DenomTrace.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryDenomTracesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denomTraces.push(DenomTrace.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryDenomTracesResponse { + const message = createBaseQueryDenomTracesResponse(); + message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryParamsRequest(): QueryParamsRequest { + return {}; +} + +export const QueryParamsRequest = { + encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(_: Partial): QueryParamsRequest { + const message = createBaseQueryParamsRequest(); + return message; + } + +}; + +function createBaseQueryParamsResponse(): QueryParamsResponse { + return { + params: undefined + }; +} + +export const QueryParamsResponse = { + encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): QueryParamsResponse { + const message = createBaseQueryParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts new file mode 100644 index 000000000..b960d3dbd --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/transfer.ts @@ -0,0 +1,181 @@ +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; +} +/** + * DenomTrace contains the base denomination for ICS20 fungible tokens and the + * source tracing information path. + */ + +export interface DenomTraceSDKType { + /** + * 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; +} +/** + * 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; +} +/** + * 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 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; +} + +function createBaseDenomTrace(): DenomTrace { + return { + path: "", + baseDenom: "" + }; +} + +export const DenomTrace = { + encode(message: DenomTrace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path !== "") { + writer.uint32(10).string(message.path); + } + + if (message.baseDenom !== "") { + writer.uint32(18).string(message.baseDenom); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDenomTrace(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.string(); + break; + + case 2: + message.baseDenom = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DenomTrace { + const message = createBaseDenomTrace(); + message.path = object.path ?? ""; + message.baseDenom = object.baseDenom ?? ""; + return message; + } + +}; + +function createBaseParams(): Params { + return { + sendEnabled: false, + receiveEnabled: false + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sendEnabled === true) { + writer.uint32(8).bool(message.sendEnabled); + } + + if (message.receiveEnabled === true) { + writer.uint32(16).bool(message.receiveEnabled); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sendEnabled = reader.bool(); + break; + + case 2: + message.receiveEnabled = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.sendEnabled = object.sendEnabled ?? false; + message.receiveEnabled = object.receiveEnabled ?? false; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts new file mode 100644 index 000000000..27b3d3e41 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.amino.ts @@ -0,0 +1,73 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; +import { MsgTransfer } from "./tx"; +export interface AminoMsgTransfer extends AminoMsg { + type: "cosmos-sdk/MsgTransfer"; + value: { + source_port: string; + source_channel: string; + token: { + denom: string; + amount: string; + }; + sender: string; + receiver: string; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; +} +export const AminoConverter = { + "/ibc.applications.transfer.v1.MsgTransfer": { + aminoType: "cosmos-sdk/MsgTransfer", + toAmino: ({ + sourcePort, + sourceChannel, + token, + sender, + receiver, + timeoutHeight, + timeoutTimestamp + }: MsgTransfer): AminoMsgTransfer["value"] => { + return { + source_port: sourcePort, + source_channel: sourceChannel, + token: { + denom: token.denom, + amount: Long.fromValue(token.amount).toString() + }, + sender, + receiver, + timeout_height: timeoutHeight ? { + revision_height: omitDefault(timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: timeoutTimestamp.toString() + }; + }, + fromAmino: ({ + source_port, + source_channel, + token, + sender, + receiver, + timeout_height, + timeout_timestamp + }: AminoMsgTransfer["value"]): MsgTransfer => { + return { + sourcePort: source_port, + sourceChannel: source_channel, + token: { + denom: token.denom, + amount: token.amount + }, + sender, + receiver, + timeoutHeight: timeout_height ? { + revisionHeight: Long.fromString(timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(timeout_timestamp) + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts new file mode 100644 index 000000000..548e3b8ca --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.registry.ts @@ -0,0 +1,37 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgTransfer } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.encode(value).finish() + }; + } + + }, + withTypeUrl: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value + }; + } + + }, + fromPartial: { + transfer(value: MsgTransfer) { + return { + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: MsgTransfer.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..b0ed7b31d --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -0,0 +1,24 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.transfer = this.transfer.bind(this); + } + + transfer(request: MsgTransfer): Promise { + const data = MsgTransfer.encode(request).finish(); + const promise = this.rpc.request("ibc.applications.transfer.v1.Msg", "Transfer", data); + return promise.then(data => MsgTransferResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts new file mode 100644 index 000000000..fdeb7d480 --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v1/tx.ts @@ -0,0 +1,217 @@ +import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * 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 | undefined; + /** 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 | undefined; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeoutTimestamp: Long; +} +/** + * 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 { + /** 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?: CoinSDKType | undefined; + /** 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?: HeightSDKType | undefined; + /** + * Timeout timestamp (in nanoseconds) relative to the current block timestamp. + * The timeout is disabled when set to 0. + */ + + timeout_timestamp: Long; +} +/** MsgTransferResponse defines the Msg/Transfer response type. */ + +export interface MsgTransferResponse {} +/** MsgTransferResponse defines the Msg/Transfer response type. */ + +export interface MsgTransferResponseSDKType {} + +function createBaseMsgTransfer(): MsgTransfer { + return { + sourcePort: "", + sourceChannel: "", + token: undefined, + sender: "", + receiver: "", + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const MsgTransfer = { + encode(message: MsgTransfer, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.sourcePort !== "") { + writer.uint32(10).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(18).string(message.sourceChannel); + } + + if (message.token !== undefined) { + Coin.encode(message.token, writer.uint32(26).fork()).ldelim(); + } + + if (message.sender !== "") { + writer.uint32(34).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(42).string(message.receiver); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(50).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(56).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransfer(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sourcePort = reader.string(); + break; + + case 2: + message.sourceChannel = reader.string(); + break; + + case 3: + message.token = Coin.decode(reader, reader.uint32()); + break; + + case 4: + message.sender = reader.string(); + break; + + case 5: + message.receiver = reader.string(); + break; + + case 6: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgTransfer { + const message = createBaseMsgTransfer(); + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.token = object.token !== undefined && object.token !== null ? Coin.fromPartial(object.token) : undefined; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseMsgTransferResponse(): MsgTransferResponse { + return {}; +} + +export const MsgTransferResponse = { + encode(_: MsgTransferResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTransferResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgTransferResponse { + const message = createBaseMsgTransferResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts new file mode 100644 index 000000000..98bb4a6bc --- /dev/null +++ b/examples/telescope/codegen/ibc/applications/transfer/v2/packet.ts @@ -0,0 +1,114 @@ +import * as _m0 from "protobufjs/minimal"; +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ + +export interface FungibleTokenPacketData { + /** the token denomination to be transferred */ + denom: string; + /** the token amount to be transferred */ + + amount: string; + /** the sender address */ + + sender: string; + /** the recipient address on the destination chain */ + + receiver: string; +} +/** + * FungibleTokenPacketData defines a struct for the packet payload + * See FungibleTokenPacketData spec: + * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures + */ + +export interface FungibleTokenPacketDataSDKType { + /** the token denomination to be transferred */ + denom: string; + /** the token amount to be transferred */ + + amount: string; + /** the sender address */ + + sender: string; + /** the recipient address on the destination chain */ + + receiver: string; +} + +function createBaseFungibleTokenPacketData(): FungibleTokenPacketData { + return { + denom: "", + amount: "", + sender: "", + receiver: "" + }; +} + +export const FungibleTokenPacketData = { + encode(message: FungibleTokenPacketData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.denom !== "") { + writer.uint32(10).string(message.denom); + } + + if (message.amount !== "") { + writer.uint32(18).string(message.amount); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + if (message.receiver !== "") { + writer.uint32(34).string(message.receiver); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): FungibleTokenPacketData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFungibleTokenPacketData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.denom = reader.string(); + break; + + case 2: + message.amount = 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; + }, + + fromPartial(object: Partial): FungibleTokenPacketData { + const message = createBaseFungibleTokenPacketData(); + message.denom = object.denom ?? ""; + message.amount = object.amount ?? ""; + message.sender = object.sender ?? ""; + message.receiver = object.receiver ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/bundle.ts b/examples/telescope/codegen/ibc/bundle.ts new file mode 100644 index 000000000..c99686d16 --- /dev/null +++ b/examples/telescope/codegen/ibc/bundle.ts @@ -0,0 +1,137 @@ +import * as _108 from "./applications/transfer/v1/genesis"; +import * as _109 from "./applications/transfer/v1/query"; +import * as _110 from "./applications/transfer/v1/transfer"; +import * as _111 from "./applications/transfer/v1/tx"; +import * as _112 from "./applications/transfer/v2/packet"; +import * as _113 from "./core/channel/v1/channel"; +import * as _114 from "./core/channel/v1/genesis"; +import * as _115 from "./core/channel/v1/query"; +import * as _116 from "./core/channel/v1/tx"; +import * as _117 from "./core/client/v1/client"; +import * as _118 from "./core/client/v1/genesis"; +import * as _119 from "./core/client/v1/query"; +import * as _120 from "./core/client/v1/tx"; +import * as _121 from "./core/commitment/v1/commitment"; +import * as _122 from "./core/connection/v1/connection"; +import * as _123 from "./core/connection/v1/genesis"; +import * as _124 from "./core/connection/v1/query"; +import * as _125 from "./core/connection/v1/tx"; +import * as _126 from "./core/port/v1/query"; +import * as _127 from "./core/types/v1/genesis"; +import * as _128 from "./lightclients/localhost/v1/localhost"; +import * as _129 from "./lightclients/solomachine/v1/solomachine"; +import * as _130 from "./lightclients/solomachine/v2/solomachine"; +import * as _131 from "./lightclients/tendermint/v1/tendermint"; +import * as _225 from "./applications/transfer/v1/tx.amino"; +import * as _226 from "./core/channel/v1/tx.amino"; +import * as _227 from "./core/client/v1/tx.amino"; +import * as _228 from "./core/connection/v1/tx.amino"; +import * as _229 from "./applications/transfer/v1/tx.registry"; +import * as _230 from "./core/channel/v1/tx.registry"; +import * as _231 from "./core/client/v1/tx.registry"; +import * as _232 from "./core/connection/v1/tx.registry"; +import * as _233 from "./applications/transfer/v1/query.lcd"; +import * as _234 from "./core/channel/v1/query.lcd"; +import * as _235 from "./core/client/v1/query.lcd"; +import * as _236 from "./core/connection/v1/query.lcd"; +import * as _237 from "./applications/transfer/v1/query.rpc.Query"; +import * as _238 from "./core/channel/v1/query.rpc.Query"; +import * as _239 from "./core/client/v1/query.rpc.Query"; +import * as _240 from "./core/connection/v1/query.rpc.Query"; +import * as _241 from "./core/port/v1/query.rpc.Query"; +import * as _242 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _243 from "./core/channel/v1/tx.rpc.msg"; +import * as _244 from "./core/client/v1/tx.rpc.msg"; +import * as _245 from "./core/connection/v1/tx.rpc.msg"; +import * as _252 from "./lcd"; +import * as _253 from "./rpc.query"; +import * as _254 from "./rpc.tx"; +export namespace ibc { + export namespace applications { + export namespace transfer { + export const v1 = { ..._108, + ..._109, + ..._110, + ..._111, + ..._225, + ..._229, + ..._233, + ..._237, + ..._242 + }; + export const v2 = { ..._112 + }; + } + } + export namespace core { + export namespace channel { + export const v1 = { ..._113, + ..._114, + ..._115, + ..._116, + ..._226, + ..._230, + ..._234, + ..._238, + ..._243 + }; + } + export namespace client { + export const v1 = { ..._117, + ..._118, + ..._119, + ..._120, + ..._227, + ..._231, + ..._235, + ..._239, + ..._244 + }; + } + export namespace commitment { + export const v1 = { ..._121 + }; + } + export namespace connection { + export const v1 = { ..._122, + ..._123, + ..._124, + ..._125, + ..._228, + ..._232, + ..._236, + ..._240, + ..._245 + }; + } + export namespace port { + export const v1 = { ..._126, + ..._241 + }; + } + export namespace types { + export const v1 = { ..._127 + }; + } + } + export namespace lightclients { + export namespace localhost { + export const v1 = { ..._128 + }; + } + export namespace solomachine { + export const v1 = { ..._129 + }; + export const v2 = { ..._130 + }; + } + export namespace tendermint { + export const v1 = { ..._131 + }; + } + } + export const ClientFactory = { ..._252, + ..._253, + ..._254 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/client.ts b/examples/telescope/codegen/ibc/client.ts new file mode 100644 index 000000000..48e231807 --- /dev/null +++ b/examples/telescope/codegen/ibc/client.ts @@ -0,0 +1,54 @@ +import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; +import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; +import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import * as ibcApplicationsTransferV1TxRegistry from "./applications/transfer/v1/tx.registry"; +import * as ibcCoreChannelV1TxRegistry from "./core/channel/v1/tx.registry"; +import * as ibcCoreClientV1TxRegistry from "./core/client/v1/tx.registry"; +import * as ibcCoreConnectionV1TxRegistry from "./core/connection/v1/tx.registry"; +import * as ibcApplicationsTransferV1TxAmino from "./applications/transfer/v1/tx.amino"; +import * as ibcCoreChannelV1TxAmino from "./core/channel/v1/tx.amino"; +import * as ibcCoreClientV1TxAmino from "./core/client/v1/tx.amino"; +import * as ibcCoreConnectionV1TxAmino from "./core/connection/v1/tx.amino"; +export const ibcAminoConverters = { ...ibcApplicationsTransferV1TxAmino.AminoConverter, + ...ibcCoreChannelV1TxAmino.AminoConverter, + ...ibcCoreClientV1TxAmino.AminoConverter, + ...ibcCoreConnectionV1TxAmino.AminoConverter +}; +export const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...ibcApplicationsTransferV1TxRegistry.registry, ...ibcCoreChannelV1TxRegistry.registry, ...ibcCoreClientV1TxRegistry.registry, ...ibcCoreConnectionV1TxRegistry.registry]; +export const getSigningIbcClientOptions = ({ + defaultTypes = defaultRegistryTypes +}: { + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +} = {}): { + registry: Registry; + aminoTypes: AminoTypes; +} => { + const registry = new Registry([...defaultTypes, ...ibcProtoRegistry]); + const aminoTypes = new AminoTypes({ ...ibcAminoConverters + }); + return { + registry, + aminoTypes + }; +}; +export const getSigningIbcClient = async ({ + rpcEndpoint, + signer, + defaultTypes = defaultRegistryTypes +}: { + rpcEndpoint: string | HttpEndpoint; + signer: OfflineSigner; + defaultTypes?: ReadonlyArray<[string, GeneratedType]>; +}) => { + const { + registry, + aminoTypes + } = getSigningIbcClientOptions({ + defaultTypes + }); + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes + }); + return client; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/channel.ts b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts new file mode 100644 index 000000000..135c1675a --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/channel.ts @@ -0,0 +1,925 @@ +import { Height, HeightSDKType } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} +/** + * State defines if a channel is in one of the following states: + * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A channel has just started the opening handshake. */ + STATE_INIT = 1, + + /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ + STATE_TRYOPEN = 2, + + /** + * STATE_OPEN - A channel has completed the handshake. Open channels are + * ready to send and receive packets. + */ + STATE_OPEN = 3, + + /** + * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive + * packets. + */ + STATE_CLOSED = 4, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case 4: + case "STATE_CLOSED": + return State.STATE_CLOSED; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + case State.STATE_CLOSED: + return "STATE_CLOSED"; + + case State.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** Order defines if a channel is ORDERED or UNORDERED */ + +export enum Order { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} +/** Order defines if a channel is ORDERED or UNORDERED */ + +export enum OrderSDKType { + /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ + ORDER_NONE_UNSPECIFIED = 0, + + /** + * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in + * which they were sent. + */ + ORDER_UNORDERED = 1, + + /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ + ORDER_ORDERED = 2, + UNRECOGNIZED = -1, +} +export function orderFromJSON(object: any): Order { + switch (object) { + case 0: + case "ORDER_NONE_UNSPECIFIED": + return Order.ORDER_NONE_UNSPECIFIED; + + case 1: + case "ORDER_UNORDERED": + return Order.ORDER_UNORDERED; + + case 2: + case "ORDER_ORDERED": + return Order.ORDER_ORDERED; + + case -1: + case "UNRECOGNIZED": + default: + return Order.UNRECOGNIZED; + } +} +export function orderToJSON(object: Order): string { + switch (object) { + case Order.ORDER_NONE_UNSPECIFIED: + return "ORDER_NONE_UNSPECIFIED"; + + case Order.ORDER_UNORDERED: + return "ORDER_UNORDERED"; + + case Order.ORDER_ORDERED: + return "ORDER_ORDERED"; + + case Order.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ + +export interface Channel { + /** current state of the channel end */ + state: State; + /** whether the channel is ordered or unordered */ + + ordering: Order; + /** counterparty channel end */ + + counterparty?: Counterparty | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connectionHops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; +} +/** + * Channel defines pipeline for exactly-once packet delivery between specific + * modules on separate blockchains, which has at least one end capable of + * sending packets and one end capable of receiving packets. + */ + +export interface ChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty?: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; +} +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ + +export interface IdentifiedChannel { + /** current state of the channel end */ + state: State; + /** whether the channel is ordered or unordered */ + + ordering: Order; + /** counterparty channel end */ + + counterparty?: Counterparty | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connectionHops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; + /** port identifier */ + + portId: string; + /** channel identifier */ + + channelId: string; +} +/** + * IdentifiedChannel defines a channel with additional port and channel + * identifier fields. + */ + +export interface IdentifiedChannelSDKType { + /** current state of the channel end */ + state: StateSDKType; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty?: CounterpartySDKType | undefined; + /** + * list of connection identifiers, in order, along which packets sent on + * this channel will travel + */ + + connection_hops: string[]; + /** opaque channel version, which is agreed upon during the handshake */ + + version: string; + /** port identifier */ + + port_id: string; + /** channel identifier */ + + channel_id: string; +} +/** Counterparty defines a channel end counterparty */ + +export interface Counterparty { + /** port on the counterparty chain which owns the other end of the channel. */ + portId: string; + /** channel end on the counterparty chain */ + + channelId: string; +} +/** Counterparty defines a channel end counterparty */ + +export interface CounterpartySDKType { + /** port on the counterparty chain which owns the other end of the channel. */ + port_id: string; + /** channel end on the counterparty chain */ + + channel_id: string; +} +/** Packet defines a type that carries data across different chains through IBC */ + +export interface Packet { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + /** identifies the port on the sending chain. */ + + sourcePort: string; + /** identifies the channel end on the sending chain. */ + + sourceChannel: string; + /** identifies the port on the receiving chain. */ + + destinationPort: string; + /** identifies the channel end on the receiving chain. */ + + destinationChannel: string; + /** actual opaque bytes transferred directly to the application module */ + + data: Uint8Array; + /** block height after which the packet times out */ + + timeoutHeight?: Height | undefined; + /** block timestamp (in nanoseconds) after which the packet times out */ + + timeoutTimestamp: Long; +} +/** Packet defines a type that carries data across different chains through IBC */ + +export interface PacketSDKType { + /** + * number corresponds to the order of sends and receives, where a Packet + * with an earlier sequence number must be sent and received before a Packet + * with a later sequence number. + */ + sequence: Long; + /** identifies the port on the sending chain. */ + + source_port: string; + /** identifies the channel end on the sending chain. */ + + source_channel: string; + /** identifies the port on the receiving chain. */ + + destination_port: string; + /** identifies the channel end on the receiving chain. */ + + destination_channel: string; + /** actual opaque bytes transferred directly to the application module */ + + data: Uint8Array; + /** block height after which the packet times out */ + + timeout_height?: HeightSDKType | undefined; + /** block timestamp (in nanoseconds) after which the packet times out */ + + timeout_timestamp: Long; +} +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ + +export interface PacketState { + /** channel port identifier. */ + portId: string; + /** channel unique identifier. */ + + channelId: string; + /** packet sequence. */ + + sequence: Long; + /** embedded data that represents packet state. */ + + data: Uint8Array; +} +/** + * PacketState defines the generic type necessary to retrieve and store + * packet commitments, acknowledgements, and receipts. + * Caller is responsible for knowing the context necessary to interpret this + * state as a commitment, acknowledgement, or a receipt. + */ + +export interface PacketStateSDKType { + /** channel port identifier. */ + port_id: string; + /** channel unique identifier. */ + + channel_id: string; + /** packet sequence. */ + + sequence: Long; + /** embedded data that represents packet state. */ + + data: Uint8Array; +} +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ + +export interface Acknowledgement { + result?: Uint8Array; + error?: string; +} +/** + * Acknowledgement is the recommended acknowledgement format to be used by + * app-specific protocols. + * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental + * conflicts with other protobuf message formats used for acknowledgements. + * The first byte of any message with this format will be the non-ASCII values + * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: + * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope + */ + +export interface AcknowledgementSDKType { + result?: Uint8Array; + error?: string; +} + +function createBaseChannel(): Channel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "" + }; +} + +export const Channel = { + encode(message: Channel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Channel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Channel { + const message = createBaseChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + return message; + } + +}; + +function createBaseIdentifiedChannel(): IdentifiedChannel { + return { + state: 0, + ordering: 0, + counterparty: undefined, + connectionHops: [], + version: "", + portId: "", + channelId: "" + }; +} + +export const IdentifiedChannel = { + encode(message: IdentifiedChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.state !== 0) { + writer.uint32(8).int32(message.state); + } + + if (message.ordering !== 0) { + writer.uint32(16).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.connectionHops) { + writer.uint32(34).string(v!); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.portId !== "") { + writer.uint32(50).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(58).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedChannel(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.state = (reader.int32() as any); + break; + + case 2: + message.ordering = (reader.int32() as any); + break; + + case 3: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 4: + message.connectionHops.push(reader.string()); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.portId = reader.string(); + break; + + case 7: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): IdentifiedChannel { + const message = createBaseIdentifiedChannel(); + message.state = object.state ?? 0; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.connectionHops = object.connectionHops?.map(e => e) || []; + message.version = object.version ?? ""; + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + portId: "", + channelId: "" + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBasePacket(): Packet { + return { + sequence: Long.UZERO, + sourcePort: "", + sourceChannel: "", + destinationPort: "", + destinationChannel: "", + data: new Uint8Array(), + timeoutHeight: undefined, + timeoutTimestamp: Long.UZERO + }; +} + +export const Packet = { + encode(message: Packet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.sourcePort !== "") { + writer.uint32(18).string(message.sourcePort); + } + + if (message.sourceChannel !== "") { + writer.uint32(26).string(message.sourceChannel); + } + + if (message.destinationPort !== "") { + writer.uint32(34).string(message.destinationPort); + } + + if (message.destinationChannel !== "") { + writer.uint32(42).string(message.destinationChannel); + } + + if (message.data.length !== 0) { + writer.uint32(50).bytes(message.data); + } + + if (message.timeoutHeight !== undefined) { + Height.encode(message.timeoutHeight, writer.uint32(58).fork()).ldelim(); + } + + if (!message.timeoutTimestamp.isZero()) { + writer.uint32(64).uint64(message.timeoutTimestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Packet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.sourcePort = reader.string(); + break; + + case 3: + message.sourceChannel = reader.string(); + break; + + case 4: + message.destinationPort = reader.string(); + break; + + case 5: + message.destinationChannel = reader.string(); + break; + + case 6: + message.data = reader.bytes(); + break; + + case 7: + message.timeoutHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.timeoutTimestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Packet { + const message = createBasePacket(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.sourcePort = object.sourcePort ?? ""; + message.sourceChannel = object.sourceChannel ?? ""; + message.destinationPort = object.destinationPort ?? ""; + message.destinationChannel = object.destinationChannel ?? ""; + message.data = object.data ?? new Uint8Array(); + message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? Height.fromPartial(object.timeoutHeight) : undefined; + message.timeoutTimestamp = object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null ? Long.fromValue(object.timeoutTimestamp) : Long.UZERO; + return message; + } + +}; + +function createBasePacketState(): PacketState { + return { + portId: "", + channelId: "", + sequence: Long.UZERO, + data: new Uint8Array() + }; +} + +export const PacketState = { + encode(message: PacketState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + if (message.data.length !== 0) { + writer.uint32(34).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + case 4: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketState { + const message = createBasePacketState(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseAcknowledgement(): Acknowledgement { + return { + result: undefined, + error: undefined + }; +} + +export const Acknowledgement = { + encode(message: Acknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== undefined) { + writer.uint32(170).bytes(message.result); + } + + if (message.error !== undefined) { + writer.uint32(178).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 21: + message.result = reader.bytes(); + break; + + case 22: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Acknowledgement { + const message = createBaseAcknowledgement(); + message.result = object.result ?? undefined; + message.error = object.error ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts new file mode 100644 index 000000000..819579b03 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/genesis.ts @@ -0,0 +1,231 @@ +import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** GenesisState defines the ibc channel submodule's genesis state. */ + +export interface GenesisState { + channels: IdentifiedChannel[]; + acknowledgements: PacketState[]; + commitments: PacketState[]; + receipts: PacketState[]; + sendSequences: PacketSequence[]; + recvSequences: PacketSequence[]; + ackSequences: PacketSequence[]; + /** the sequence for the next generated channel identifier */ + + nextChannelSequence: Long; +} +/** GenesisState defines the ibc channel submodule's genesis state. */ + +export interface GenesisStateSDKType { + channels: IdentifiedChannelSDKType[]; + acknowledgements: PacketStateSDKType[]; + commitments: PacketStateSDKType[]; + receipts: PacketStateSDKType[]; + send_sequences: PacketSequenceSDKType[]; + recv_sequences: PacketSequenceSDKType[]; + ack_sequences: PacketSequenceSDKType[]; + /** the sequence for the next generated channel identifier */ + + next_channel_sequence: Long; +} +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ + +export interface PacketSequence { + portId: string; + channelId: string; + sequence: Long; +} +/** + * PacketSequence defines the genesis type necessary to retrieve and store + * next send and receive sequences. + */ + +export interface PacketSequenceSDKType { + port_id: string; + channel_id: string; + sequence: Long; +} + +function createBaseGenesisState(): GenesisState { + return { + channels: [], + acknowledgements: [], + commitments: [], + receipts: [], + sendSequences: [], + recvSequences: [], + ackSequences: [], + nextChannelSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.receipts) { + PacketState.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + for (const v of message.sendSequences) { + PacketSequence.encode(v!, writer.uint32(42).fork()).ldelim(); + } + + for (const v of message.recvSequences) { + PacketSequence.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + for (const v of message.ackSequences) { + PacketSequence.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (!message.nextChannelSequence.isZero()) { + writer.uint32(64).uint64(message.nextChannelSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 3: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 4: + message.receipts.push(PacketState.decode(reader, reader.uint32())); + break; + + case 5: + message.sendSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 6: + message.recvSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 7: + message.ackSequences.push(PacketSequence.decode(reader, reader.uint32())); + break; + + case 8: + message.nextChannelSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.receipts = object.receipts?.map(e => PacketState.fromPartial(e)) || []; + message.sendSequences = object.sendSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.recvSequences = object.recvSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.ackSequences = object.ackSequences?.map(e => PacketSequence.fromPartial(e)) || []; + message.nextChannelSequence = object.nextChannelSequence !== undefined && object.nextChannelSequence !== null ? Long.fromValue(object.nextChannelSequence) : Long.UZERO; + return message; + } + +}; + +function createBasePacketSequence(): PacketSequence { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const PacketSequence = { + encode(message: PacketSequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketSequence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketSequence { + const message = createBasePacketSequence(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts new file mode 100644 index 000000000..dad6252aa --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.lcd.ts @@ -0,0 +1,165 @@ +import { setPaginationParams } from "../../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryChannelRequest, QueryChannelResponseSDKType, QueryChannelsRequest, QueryChannelsResponseSDKType, QueryConnectionChannelsRequest, QueryConnectionChannelsResponseSDKType, QueryChannelClientStateRequest, QueryChannelClientStateResponseSDKType, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponseSDKType, QueryPacketCommitmentRequest, QueryPacketCommitmentResponseSDKType, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponseSDKType, QueryPacketReceiptRequest, QueryPacketReceiptResponseSDKType, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponseSDKType, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponseSDKType, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponseSDKType, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponseSDKType, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); + } + /* Channel queries an IBC Channel. */ + + + async channel(params: QueryChannelRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}ports/${params.portId}`; + return await this.req.get(endpoint); + } + /* Channels queries all the IBC channels of a chain. */ + + + async channels(params: QueryChannelsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels`; + return await this.req.get(endpoint, options); + } + /* ConnectionChannels queries all the channels associated with a connection + end. */ + + + async connectionChannels(params: QueryConnectionChannelsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/connections/${params.connection}/channels`; + return await this.req.get(endpoint, options); + } + /* ChannelClientState queries for the client state for the channel associated + with the provided channel identifiers. */ + + + async channelClientState(params: QueryChannelClientStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/client_state`; + return await this.req.get(endpoint); + } + /* ChannelConsensusState queries for the consensus state for the channel + associated with the provided channel identifiers. */ + + + async channelConsensusState(params: QueryChannelConsensusStateRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint); + } + /* PacketCommitment queries a stored packet commitment hash. */ + + + async packetCommitment(params: QueryPacketCommitmentRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_commitments/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketCommitments returns all the packet commitments hashes associated + with a channel. */ + + + async packetCommitments(params: QueryPacketCommitmentsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments`; + return await this.req.get(endpoint, options); + } + /* PacketReceipt queries if a given packet sequence has been received on the + queried chain */ + + + async packetReceipt(params: QueryPacketReceiptRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_receipts/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketAcknowledgement queries a stored packet acknowledgement hash. */ + + + async packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}packet_acks/${params.sequence}`; + return await this.req.get(endpoint); + } + /* PacketAcknowledgements returns all the packet acknowledgements associated + with a channel. */ + + + async packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + if (typeof params?.packetCommitmentSequences !== "undefined") { + options.params.packet_commitment_sequences = params.packetCommitmentSequences; + } + + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_acknowledgements`; + return await this.req.get(endpoint, options); + } + /* UnreceivedPackets returns all the unreceived IBC packets associated with a + channel and sequences. */ + + + async unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetCommitmentSequences}/unreceived_packets`; + return await this.req.get(endpoint); + } + /* UnreceivedAcks returns all the unreceived IBC acknowledgements associated + with a channel and sequences. */ + + + async unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/packet_commitments/${params.packetAckSequences}/unreceived_acks`; + return await this.req.get(endpoint); + } + /* NextSequenceReceive returns the next receive sequence for a given channel. */ + + + async nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise { + const endpoint = `ibc/core/channel/v1/channels/${params.channelId}/ports/${params.portId}/next_sequence`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.Query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.Query.ts new file mode 100644 index 000000000..4fbeb5b70 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.rpc.Query.ts @@ -0,0 +1,229 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; +/** Query provides defines the gRPC querier service */ + +export interface Query { + /** Channel queries an IBC Channel. */ + channel(request: QueryChannelRequest): Promise; + /** Channels queries all the IBC channels of a chain. */ + + channels(request?: QueryChannelsRequest): Promise; + /** + * ConnectionChannels queries all the channels associated with a connection + * end. + */ + + connectionChannels(request: QueryConnectionChannelsRequest): Promise; + /** + * ChannelClientState queries for the client state for the channel associated + * with the provided channel identifiers. + */ + + channelClientState(request: QueryChannelClientStateRequest): Promise; + /** + * ChannelConsensusState queries for the consensus state for the channel + * associated with the provided channel identifiers. + */ + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; + /** PacketCommitment queries a stored packet commitment hash. */ + + packetCommitment(request: QueryPacketCommitmentRequest): Promise; + /** + * PacketCommitments returns all the packet commitments hashes associated + * with a channel. + */ + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise; + /** + * PacketReceipt queries if a given packet sequence has been received on the + * queried chain + */ + + packetReceipt(request: QueryPacketReceiptRequest): Promise; + /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; + /** + * PacketAcknowledgements returns all the packet acknowledgements associated + * with a channel. + */ + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; + /** + * UnreceivedPackets returns all the unreceived IBC packets associated with a + * channel and sequences. + */ + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; + /** + * UnreceivedAcks returns all the unreceived IBC acknowledgements associated + * with a channel and sequences. + */ + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; + /** NextSequenceReceive returns the next receive sequence for a given channel. */ + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channel = this.channel.bind(this); + this.channels = this.channels.bind(this); + this.connectionChannels = this.connectionChannels.bind(this); + this.channelClientState = this.channelClientState.bind(this); + this.channelConsensusState = this.channelConsensusState.bind(this); + this.packetCommitment = this.packetCommitment.bind(this); + this.packetCommitments = this.packetCommitments.bind(this); + this.packetReceipt = this.packetReceipt.bind(this); + this.packetAcknowledgement = this.packetAcknowledgement.bind(this); + this.packetAcknowledgements = this.packetAcknowledgements.bind(this); + this.unreceivedPackets = this.unreceivedPackets.bind(this); + this.unreceivedAcks = this.unreceivedAcks.bind(this); + this.nextSequenceReceive = this.nextSequenceReceive.bind(this); + } + + channel(request: QueryChannelRequest): Promise { + const data = QueryChannelRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channel", data); + return promise.then(data => QueryChannelResponse.decode(new _m0.Reader(data))); + } + + channels(request: QueryChannelsRequest = { + pagination: undefined + }): Promise { + const data = QueryChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "Channels", data); + return promise.then(data => QueryChannelsResponse.decode(new _m0.Reader(data))); + } + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + const data = QueryConnectionChannelsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ConnectionChannels", data); + return promise.then(data => QueryConnectionChannelsResponse.decode(new _m0.Reader(data))); + } + + channelClientState(request: QueryChannelClientStateRequest): Promise { + const data = QueryChannelClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelClientState", data); + return promise.then(data => QueryChannelClientStateResponse.decode(new _m0.Reader(data))); + } + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + const data = QueryChannelConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "ChannelConsensusState", data); + return promise.then(data => QueryChannelConsensusStateResponse.decode(new _m0.Reader(data))); + } + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + const data = QueryPacketCommitmentRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitment", data); + return promise.then(data => QueryPacketCommitmentResponse.decode(new _m0.Reader(data))); + } + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + const data = QueryPacketCommitmentsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketCommitments", data); + return promise.then(data => QueryPacketCommitmentsResponse.decode(new _m0.Reader(data))); + } + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + const data = QueryPacketReceiptRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketReceipt", data); + return promise.then(data => QueryPacketReceiptResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + const data = QueryPacketAcknowledgementRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgement", data); + return promise.then(data => QueryPacketAcknowledgementResponse.decode(new _m0.Reader(data))); + } + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + const data = QueryPacketAcknowledgementsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "PacketAcknowledgements", data); + return promise.then(data => QueryPacketAcknowledgementsResponse.decode(new _m0.Reader(data))); + } + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + const data = QueryUnreceivedPacketsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedPackets", data); + return promise.then(data => QueryUnreceivedPacketsResponse.decode(new _m0.Reader(data))); + } + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + const data = QueryUnreceivedAcksRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "UnreceivedAcks", data); + return promise.then(data => QueryUnreceivedAcksResponse.decode(new _m0.Reader(data))); + } + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + const data = QueryNextSequenceReceiveRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Query", "NextSequenceReceive", data); + return promise.then(data => QueryNextSequenceReceiveResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + channel(request: QueryChannelRequest): Promise { + return queryService.channel(request); + }, + + channels(request?: QueryChannelsRequest): Promise { + return queryService.channels(request); + }, + + connectionChannels(request: QueryConnectionChannelsRequest): Promise { + return queryService.connectionChannels(request); + }, + + channelClientState(request: QueryChannelClientStateRequest): Promise { + return queryService.channelClientState(request); + }, + + channelConsensusState(request: QueryChannelConsensusStateRequest): Promise { + return queryService.channelConsensusState(request); + }, + + packetCommitment(request: QueryPacketCommitmentRequest): Promise { + return queryService.packetCommitment(request); + }, + + packetCommitments(request: QueryPacketCommitmentsRequest): Promise { + return queryService.packetCommitments(request); + }, + + packetReceipt(request: QueryPacketReceiptRequest): Promise { + return queryService.packetReceipt(request); + }, + + packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise { + return queryService.packetAcknowledgement(request); + }, + + packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise { + return queryService.packetAcknowledgements(request); + }, + + unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise { + return queryService.unreceivedPackets(request); + }, + + unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise { + return queryService.unreceivedAcks(request); + }, + + nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise { + return queryService.nextSequenceReceive(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/query.ts b/examples/telescope/codegen/ibc/core/channel/v1/query.ts new file mode 100644 index 000000000..b4b4b297b --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/query.ts @@ -0,0 +1,2444 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Channel, ChannelSDKType, IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ + +export interface QueryChannelRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; +} +/** QueryChannelRequest is the request type for the Query/Channel RPC method */ + +export interface QueryChannelRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ + +export interface QueryChannelResponse { + /** channel associated with the request identifiers */ + channel?: Channel | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryChannelResponse is the response type for the Query/Channel RPC method. + * Besides the Channel end, it includes a proof and the height from which the + * proof was retrieved. + */ + +export interface QueryChannelResponseSDKType { + /** channel associated with the request identifiers */ + channel?: ChannelSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ + +export interface QueryChannelsRequest { + /** pagination request */ + pagination?: PageRequest | undefined; +} +/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ + +export interface QueryChannelsRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ + +export interface QueryChannelsResponse { + /** list of stored channels of the chain. */ + channels: IdentifiedChannel[]; + /** pagination response */ + + pagination?: PageResponse | undefined; + /** query block height */ + + height?: Height | undefined; +} +/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ + +export interface QueryChannelsResponseSDKType { + /** list of stored channels of the chain. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsRequest { + /** connection unique identifier */ + connection: string; + /** pagination request */ + + pagination?: PageRequest | undefined; +} +/** + * QueryConnectionChannelsRequest is the request type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsRequestSDKType { + /** connection unique identifier */ + connection: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsResponse { + /** list of channels associated with a connection. */ + channels: IdentifiedChannel[]; + /** pagination response */ + + pagination?: PageResponse | undefined; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryConnectionChannelsResponse is the Response type for the + * Query/QueryConnectionChannels RPC method + */ + +export interface QueryConnectionChannelsResponseSDKType { + /** list of channels associated with a connection. */ + channels: IdentifiedChannelSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ + +export interface QueryChannelClientStateRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; +} +/** + * QueryChannelClientStateRequest is the request type for the Query/ClientState + * RPC method + */ + +export interface QueryChannelClientStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelClientStateResponse { + /** client state associated with the channel */ + identifiedClientState?: IdentifiedClientState | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state?: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ + +export interface QueryChannelConsensusStateRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** revision number of the consensus state */ + + revisionNumber: Long; + /** revision height of the consensus state */ + + revisionHeight: Long; +} +/** + * QueryChannelConsensusStateRequest is the request type for the + * Query/ConsensusState RPC method + */ + +export interface QueryChannelConsensusStateRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** revision number of the consensus state */ + + revision_number: Long; + /** revision height of the consensus state */ + + revision_height: Long; +} +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState?: Any | undefined; + /** client ID associated with the consensus state */ + + clientId: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryChannelClientStateResponse is the Response type for the + * Query/QueryChannelClientState RPC method + */ + +export interface QueryChannelConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state?: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ + +export interface QueryPacketCommitmentRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketCommitmentRequest is the request type for the + * Query/PacketCommitment RPC method + */ + +export interface QueryPacketCommitmentRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ + +export interface QueryPacketCommitmentResponse { + /** packet associated with the request fields */ + commitment: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryPacketCommitmentResponse defines the client query response for a packet + * which also includes a proof and the height from which the proof was + * retrieved + */ + +export interface QueryPacketCommitmentResponseSDKType { + /** packet associated with the request fields */ + commitment: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** pagination request */ + + pagination?: PageRequest | undefined; +} +/** + * QueryPacketCommitmentsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsResponse { + commitments: PacketState[]; + /** pagination response */ + + pagination?: PageResponse | undefined; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryPacketCommitmentsResponse is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketCommitmentsResponseSDKType { + commitments: PacketStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ + +export interface QueryPacketReceiptRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketReceiptRequest is the request type for the + * Query/PacketReceipt RPC method + */ + +export interface QueryPacketReceiptRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ + +export interface QueryPacketReceiptResponse { + /** success flag for if receipt exists */ + received: boolean; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryPacketReceiptResponse defines the client query response for a packet + * receipt which also includes a proof, and the height from which the proof was + * retrieved + */ + +export interface QueryPacketReceiptResponseSDKType { + /** success flag for if receipt exists */ + received: boolean; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ + +export interface QueryPacketAcknowledgementRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketAcknowledgementRequest is the request type for the + * Query/PacketAcknowledgement RPC method + */ + +export interface QueryPacketAcknowledgementRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** packet sequence */ + + sequence: Long; +} +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ + +export interface QueryPacketAcknowledgementResponse { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryPacketAcknowledgementResponse defines the client query response for a + * packet which also includes a proof and the height from which the + * proof was retrieved + */ + +export interface QueryPacketAcknowledgementResponseSDKType { + /** packet associated with the request fields */ + acknowledgement: Uint8Array; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketAcknowledgementsRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** pagination request */ + + pagination?: PageRequest | undefined; + /** list of packet sequences */ + + packetCommitmentSequences: Long[]; +} +/** + * QueryPacketAcknowledgementsRequest is the request type for the + * Query/QueryPacketCommitments RPC method + */ + +export interface QueryPacketAcknowledgementsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; + /** list of packet sequences */ + + packet_commitment_sequences: Long[]; +} +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ + +export interface QueryPacketAcknowledgementsResponse { + acknowledgements: PacketState[]; + /** pagination response */ + + pagination?: PageResponse | undefined; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryPacketAcknowledgemetsResponse is the request type for the + * Query/QueryPacketAcknowledgements RPC method + */ + +export interface QueryPacketAcknowledgementsResponseSDKType { + acknowledgements: PacketStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ + +export interface QueryUnreceivedPacketsRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** list of packet sequences */ + + packetCommitmentSequences: Long[]; +} +/** + * QueryUnreceivedPacketsRequest is the request type for the + * Query/UnreceivedPackets RPC method + */ + +export interface QueryUnreceivedPacketsRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of packet sequences */ + + packet_commitment_sequences: Long[]; +} +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ + +export interface QueryUnreceivedPacketsResponse { + /** list of unreceived packet sequences */ + sequences: Long[]; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryUnreceivedPacketsResponse is the response type for the + * Query/UnreceivedPacketCommitments RPC method + */ + +export interface QueryUnreceivedPacketsResponseSDKType { + /** list of unreceived packet sequences */ + sequences: Long[]; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; + /** list of acknowledgement sequences */ + + packetAckSequences: Long[]; +} +/** + * QueryUnreceivedAcks is the request type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; + /** list of acknowledgement sequences */ + + packet_ack_sequences: Long[]; +} +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksResponse { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryUnreceivedAcksResponse is the response type for the + * Query/UnreceivedAcks RPC method + */ + +export interface QueryUnreceivedAcksResponseSDKType { + /** list of unreceived acknowledgement sequences */ + sequences: Long[]; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ + +export interface QueryNextSequenceReceiveRequest { + /** port unique identifier */ + portId: string; + /** channel unique identifier */ + + channelId: string; +} +/** + * QueryNextSequenceReceiveRequest is the request type for the + * Query/QueryNextSequenceReceiveRequest RPC method + */ + +export interface QueryNextSequenceReceiveRequestSDKType { + /** port unique identifier */ + port_id: string; + /** channel unique identifier */ + + channel_id: string; +} +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ + +export interface QueryNextSequenceReceiveResponse { + /** next sequence receive number */ + nextSequenceReceive: Long; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QuerySequenceResponse is the request type for the + * Query/QueryNextSequenceReceiveResponse RPC method + */ + +export interface QueryNextSequenceReceiveResponseSDKType { + /** next sequence receive number */ + next_sequence_receive: Long; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} + +function createBaseQueryChannelRequest(): QueryChannelRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelRequest = { + encode(message: QueryChannelRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelRequest { + const message = createBaseQueryChannelRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelResponse(): QueryChannelResponse { + return { + channel: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelResponse = { + encode(message: QueryChannelResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelResponse { + const message = createBaseQueryChannelResponse(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsRequest(): QueryChannelsRequest { + return { + pagination: undefined + }; +} + +export const QueryChannelsRequest = { + encode(message: QueryChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryChannelsRequest { + const message = createBaseQueryChannelsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryChannelsResponse(): QueryChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryChannelsResponse = { + encode(message: QueryChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelsResponse { + const message = createBaseQueryChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { + return { + connection: "", + pagination: undefined + }; +} + +export const QueryConnectionChannelsRequest = { + encode(message: QueryConnectionChannelsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== "") { + writer.uint32(10).string(message.connection); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionChannelsRequest { + const message = createBaseQueryConnectionChannelsRequest(); + message.connection = object.connection ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { + return { + channels: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionChannelsResponse = { + encode(message: QueryConnectionChannelsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.channels) { + IdentifiedChannel.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionChannelsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.channels.push(IdentifiedChannel.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionChannelsResponse { + const message = createBaseQueryConnectionChannelsResponse(); + message.channels = object.channels?.map(e => IdentifiedChannel.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryChannelClientStateRequest(): QueryChannelClientStateRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryChannelClientStateRequest = { + encode(message: QueryChannelClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelClientStateRequest { + const message = createBaseQueryChannelClientStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelClientStateResponse = { + encode(message: QueryChannelClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelClientStateResponse { + const message = createBaseQueryChannelClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateRequest(): QueryChannelConsensusStateRequest { + return { + portId: "", + channelId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryChannelConsensusStateRequest = { + encode(message: QueryChannelConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(24).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(32).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 4: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelConsensusStateRequest { + const message = createBaseQueryChannelConsensusStateRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryChannelConsensusStateResponse = { + encode(message: QueryChannelConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryChannelConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryChannelConsensusStateResponse { + const message = createBaseQueryChannelConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentRequest(): QueryPacketCommitmentRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketCommitmentRequest = { + encode(message: QueryPacketCommitmentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketCommitmentRequest { + const message = createBaseQueryPacketCommitmentRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentResponse { + return { + commitment: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketCommitmentResponse = { + encode(message: QueryPacketCommitmentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.commitment.length !== 0) { + writer.uint32(10).bytes(message.commitment); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitment = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketCommitmentResponse { + const message = createBaseQueryPacketCommitmentResponse(); + message.commitment = object.commitment ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsRequest { + return { + portId: "", + channelId: "", + pagination: undefined + }; +} + +export const QueryPacketCommitmentsRequest = { + encode(message: QueryPacketCommitmentsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsRequest { + const message = createBaseQueryPacketCommitmentsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { + return { + commitments: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketCommitmentsResponse = { + encode(message: QueryPacketCommitmentsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.commitments) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketCommitmentsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.commitments.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketCommitmentsResponse { + const message = createBaseQueryPacketCommitmentsResponse(); + message.commitments = object.commitments?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryPacketReceiptRequest(): QueryPacketReceiptRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketReceiptRequest = { + encode(message: QueryPacketReceiptRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketReceiptRequest { + const message = createBaseQueryPacketReceiptRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { + return { + received: false, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketReceiptResponse = { + encode(message: QueryPacketReceiptResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.received === true) { + writer.uint32(16).bool(message.received); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketReceiptResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.received = reader.bool(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketReceiptResponse { + const message = createBaseQueryPacketReceiptResponse(); + message.received = object.received ?? false; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementRequest(): QueryPacketAcknowledgementRequest { + return { + portId: "", + channelId: "", + sequence: Long.UZERO + }; +} + +export const QueryPacketAcknowledgementRequest = { + encode(message: QueryPacketAcknowledgementRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (!message.sequence.isZero()) { + writer.uint32(24).uint64(message.sequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.sequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementRequest { + const message = createBaseQueryPacketAcknowledgementRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgementResponse { + return { + acknowledgement: new Uint8Array(), + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryPacketAcknowledgementResponse = { + encode(message: QueryPacketAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.acknowledgement.length !== 0) { + writer.uint32(10).bytes(message.acknowledgement); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgement = reader.bytes(); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementResponse { + const message = createBaseQueryPacketAcknowledgementResponse(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgementsRequest { + return { + portId: "", + channelId: "", + pagination: undefined, + packetCommitmentSequences: [] + }; +} + +export const QueryPacketAcknowledgementsRequest = { + encode(message: QueryPacketAcknowledgementsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); + } + + writer.uint32(34).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + case 4: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsRequest { + const message = createBaseQueryPacketAcknowledgementsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { + return { + acknowledgements: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryPacketAcknowledgementsResponse = { + encode(message: QueryPacketAcknowledgementsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.acknowledgements) { + PacketState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryPacketAcknowledgementsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.acknowledgements.push(PacketState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryPacketAcknowledgementsResponse { + const message = createBaseQueryPacketAcknowledgementsResponse(); + message.acknowledgements = object.acknowledgements?.map(e => PacketState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsRequest(): QueryUnreceivedPacketsRequest { + return { + portId: "", + channelId: "", + packetCommitmentSequences: [] + }; +} + +export const QueryUnreceivedPacketsRequest = { + encode(message: QueryUnreceivedPacketsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetCommitmentSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + } else { + message.packetCommitmentSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsRequest { + const message = createBaseQueryUnreceivedPacketsRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetCommitmentSequences = object.packetCommitmentSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedPacketsResponse = { + encode(message: QueryUnreceivedPacketsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedPacketsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnreceivedPacketsResponse { + const message = createBaseQueryUnreceivedPacketsResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksRequest(): QueryUnreceivedAcksRequest { + return { + portId: "", + channelId: "", + packetAckSequences: [] + }; +} + +export const QueryUnreceivedAcksRequest = { + encode(message: QueryUnreceivedAcksRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + writer.uint32(26).fork(); + + for (const v of message.packetAckSequences) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.packetAckSequences.push((reader.uint64() as Long)); + } + } else { + message.packetAckSequences.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksRequest { + const message = createBaseQueryUnreceivedAcksRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.packetAckSequences = object.packetAckSequences?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; + +function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { + return { + sequences: [], + height: undefined + }; +} + +export const QueryUnreceivedAcksResponse = { + encode(message: QueryUnreceivedAcksResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + writer.uint32(10).fork(); + + for (const v of message.sequences) { + writer.uint64(v); + } + + writer.ldelim(); + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUnreceivedAcksResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.sequences.push((reader.uint64() as Long)); + } + } else { + message.sequences.push((reader.uint64() as Long)); + } + + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUnreceivedAcksResponse { + const message = createBaseQueryUnreceivedAcksResponse(); + message.sequences = object.sequences?.map(e => Long.fromValue(e)) || []; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveRequest(): QueryNextSequenceReceiveRequest { + return { + portId: "", + channelId: "" + }; +} + +export const QueryNextSequenceReceiveRequest = { + encode(message: QueryNextSequenceReceiveRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryNextSequenceReceiveRequest { + const message = createBaseQueryNextSequenceReceiveRequest(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + return message; + } + +}; + +function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveResponse { + return { + nextSequenceReceive: Long.UZERO, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryNextSequenceReceiveResponse = { + encode(message: QueryNextSequenceReceiveResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.nextSequenceReceive.isZero()) { + writer.uint32(8).uint64(message.nextSequenceReceive); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryNextSequenceReceiveResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.nextSequenceReceive = (reader.uint64() as Long); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryNextSequenceReceiveResponse { + const message = createBaseQueryNextSequenceReceiveResponse(); + message.nextSequenceReceive = object.nextSequenceReceive !== undefined && object.nextSequenceReceive !== null ? Long.fromValue(object.nextSequenceReceive) : Long.UZERO; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts new file mode 100644 index 000000000..51cd3b06b --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.amino.ts @@ -0,0 +1,670 @@ +import { stateFromJSON, orderFromJSON } from "./channel"; +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, omitDefault, Long } from "../../../../helpers"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export interface AminoMsgChannelOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenInit"; + value: { + port_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + signer: string; + }; +} +export interface AminoMsgChannelOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenTry"; + value: { + port_id: string; + previous_channel_id: string; + channel: { + state: number; + ordering: number; + counterparty: { + port_id: string; + channel_id: string; + }; + connection_hops: string[]; + version: string; + }; + counterparty_version: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenAck"; + value: { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelOpenConfirm"; + value: { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgChannelCloseInit extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseInit"; + value: { + port_id: string; + channel_id: string; + signer: string; + }; +} +export interface AminoMsgChannelCloseConfirm extends AminoMsg { + type: "cosmos-sdk/MsgChannelCloseConfirm"; + value: { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgRecvPacket extends AminoMsg { + type: "cosmos-sdk/MsgRecvPacket"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_commitment: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgTimeout extends AminoMsg { + type: "cosmos-sdk/MsgTimeout"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgTimeoutOnClose extends AminoMsg { + type: "cosmos-sdk/MsgTimeoutOnClose"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height: AminoHeight; + next_sequence_recv: string; + signer: string; + }; +} +export interface AminoMsgAcknowledgement extends AminoMsg { + type: "cosmos-sdk/MsgAcknowledgement"; + value: { + packet: { + sequence: string; + source_port: string; + source_channel: string; + destination_port: string; + destination_channel: string; + data: Uint8Array; + timeout_height: AminoHeight; + timeout_timestamp: string; + }; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.channel.v1.MsgChannelOpenInit": { + aminoType: "cosmos-sdk/MsgChannelOpenInit", + toAmino: ({ + portId, + channel, + signer + }: MsgChannelOpenInit): AminoMsgChannelOpenInit["value"] => { + return { + port_id: portId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + signer + }; + }, + fromAmino: ({ + port_id, + channel, + signer + }: AminoMsgChannelOpenInit["value"]): MsgChannelOpenInit => { + return { + portId: port_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenTry": { + aminoType: "cosmos-sdk/MsgChannelOpenTry", + toAmino: ({ + portId, + previousChannelId, + channel, + counterpartyVersion, + proofInit, + proofHeight, + signer + }: MsgChannelOpenTry): AminoMsgChannelOpenTry["value"] => { + return { + port_id: portId, + previous_channel_id: previousChannelId, + channel: { + state: channel.state, + ordering: channel.ordering, + counterparty: { + port_id: channel.counterparty.portId, + channel_id: channel.counterparty.channelId + }, + connection_hops: channel.connectionHops, + version: channel.version + }, + counterparty_version: counterpartyVersion, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + previous_channel_id, + channel, + counterparty_version, + proof_init, + proof_height, + signer + }: AminoMsgChannelOpenTry["value"]): MsgChannelOpenTry => { + return { + portId: port_id, + previousChannelId: previous_channel_id, + channel: { + state: stateFromJSON(channel.state), + ordering: orderFromJSON(channel.ordering), + counterparty: { + portId: channel.counterparty.port_id, + channelId: channel.counterparty.channel_id + }, + connectionHops: channel.connection_hops, + version: channel.version + }, + counterpartyVersion: counterparty_version, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenAck": { + aminoType: "cosmos-sdk/MsgChannelOpenAck", + toAmino: ({ + portId, + channelId, + counterpartyChannelId, + counterpartyVersion, + proofTry, + proofHeight, + signer + }: MsgChannelOpenAck): AminoMsgChannelOpenAck["value"] => { + return { + port_id: portId, + channel_id: channelId, + counterparty_channel_id: counterpartyChannelId, + counterparty_version: counterpartyVersion, + proof_try: proofTry, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + counterparty_channel_id, + counterparty_version, + proof_try, + proof_height, + signer + }: AminoMsgChannelOpenAck["value"]): MsgChannelOpenAck => { + return { + portId: port_id, + channelId: channel_id, + counterpartyChannelId: counterparty_channel_id, + counterpartyVersion: counterparty_version, + proofTry: proof_try, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelOpenConfirm": { + aminoType: "cosmos-sdk/MsgChannelOpenConfirm", + toAmino: ({ + portId, + channelId, + proofAck, + proofHeight, + signer + }: MsgChannelOpenConfirm): AminoMsgChannelOpenConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_ack, + proof_height, + signer + }: AminoMsgChannelOpenConfirm["value"]): MsgChannelOpenConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseInit": { + aminoType: "cosmos-sdk/MsgChannelCloseInit", + toAmino: ({ + portId, + channelId, + signer + }: MsgChannelCloseInit): AminoMsgChannelCloseInit["value"] => { + return { + port_id: portId, + channel_id: channelId, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + signer + }: AminoMsgChannelCloseInit["value"]): MsgChannelCloseInit => { + return { + portId: port_id, + channelId: channel_id, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgChannelCloseConfirm": { + aminoType: "cosmos-sdk/MsgChannelCloseConfirm", + toAmino: ({ + portId, + channelId, + proofInit, + proofHeight, + signer + }: MsgChannelCloseConfirm): AminoMsgChannelCloseConfirm["value"] => { + return { + port_id: portId, + channel_id: channelId, + proof_init: proofInit, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + port_id, + channel_id, + proof_init, + proof_height, + signer + }: AminoMsgChannelCloseConfirm["value"]): MsgChannelCloseConfirm => { + return { + portId: port_id, + channelId: channel_id, + proofInit: proof_init, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgRecvPacket": { + aminoType: "cosmos-sdk/MsgRecvPacket", + toAmino: ({ + packet, + proofCommitment, + proofHeight, + signer + }: MsgRecvPacket): AminoMsgRecvPacket["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_commitment: proofCommitment, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + proof_commitment, + proof_height, + signer + }: AminoMsgRecvPacket["value"]): MsgRecvPacket => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofCommitment: proof_commitment, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeout": { + aminoType: "cosmos-sdk/MsgTimeout", + toAmino: ({ + packet, + proofUnreceived, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeout): AminoMsgTimeout["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeout["value"]): MsgTimeout => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgTimeoutOnClose": { + aminoType: "cosmos-sdk/MsgTimeoutOnClose", + toAmino: ({ + packet, + proofUnreceived, + proofClose, + proofHeight, + nextSequenceRecv, + signer + }: MsgTimeoutOnClose): AminoMsgTimeoutOnClose["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + proof_unreceived: proofUnreceived, + proof_close: proofClose, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + next_sequence_recv: nextSequenceRecv.toString(), + signer + }; + }, + fromAmino: ({ + packet, + proof_unreceived, + proof_close, + proof_height, + next_sequence_recv, + signer + }: AminoMsgTimeoutOnClose["value"]): MsgTimeoutOnClose => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + proofUnreceived: proof_unreceived, + proofClose: proof_close, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + nextSequenceRecv: Long.fromString(next_sequence_recv), + signer + }; + } + }, + "/ibc.core.channel.v1.MsgAcknowledgement": { + aminoType: "cosmos-sdk/MsgAcknowledgement", + toAmino: ({ + packet, + acknowledgement, + proofAcked, + proofHeight, + signer + }: MsgAcknowledgement): AminoMsgAcknowledgement["value"] => { + return { + packet: { + sequence: packet.sequence.toString(), + source_port: packet.sourcePort, + source_channel: packet.sourceChannel, + destination_port: packet.destinationPort, + destination_channel: packet.destinationChannel, + data: packet.data, + timeout_height: packet.timeoutHeight ? { + revision_height: omitDefault(packet.timeoutHeight.revisionHeight)?.toString(), + revision_number: omitDefault(packet.timeoutHeight.revisionNumber)?.toString() + } : {}, + timeout_timestamp: packet.timeoutTimestamp.toString() + }, + acknowledgement, + proof_acked: proofAcked, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + packet, + acknowledgement, + proof_acked, + proof_height, + signer + }: AminoMsgAcknowledgement["value"]): MsgAcknowledgement => { + return { + packet: { + sequence: Long.fromString(packet.sequence), + sourcePort: packet.source_port, + sourceChannel: packet.source_channel, + destinationPort: packet.destination_port, + destinationChannel: packet.destination_channel, + data: packet.data, + timeoutHeight: packet.timeout_height ? { + revisionHeight: Long.fromString(packet.timeout_height.revision_height || "0", true), + revisionNumber: Long.fromString(packet.timeout_height.revision_number || "0", true) + } : undefined, + timeoutTimestamp: Long.fromString(packet.timeout_timestamp) + }, + acknowledgement, + proofAcked: proof_acked, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts new file mode 100644 index 000000000..667978aad --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.registry.ts @@ -0,0 +1,226 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.channel.v1.MsgChannelOpenInit", MsgChannelOpenInit], ["/ibc.core.channel.v1.MsgChannelOpenTry", MsgChannelOpenTry], ["/ibc.core.channel.v1.MsgChannelOpenAck", MsgChannelOpenAck], ["/ibc.core.channel.v1.MsgChannelOpenConfirm", MsgChannelOpenConfirm], ["/ibc.core.channel.v1.MsgChannelCloseInit", MsgChannelCloseInit], ["/ibc.core.channel.v1.MsgChannelCloseConfirm", MsgChannelCloseConfirm], ["/ibc.core.channel.v1.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v1.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v1.MsgTimeoutOnClose", MsgTimeoutOnClose], ["/ibc.core.channel.v1.MsgAcknowledgement", MsgAcknowledgement]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.encode(value).finish() + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.encode(value).finish() + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.encode(value).finish() + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.encode(value).finish() + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.encode(value).finish() + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.encode(value).finish() + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.encode(value).finish() + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.encode(value).finish() + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.encode(value).finish() + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.encode(value).finish() + }; + } + + }, + withTypeUrl: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value + }; + } + + }, + fromPartial: { + channelOpenInit(value: MsgChannelOpenInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit", + value: MsgChannelOpenInit.fromPartial(value) + }; + }, + + channelOpenTry(value: MsgChannelOpenTry) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry", + value: MsgChannelOpenTry.fromPartial(value) + }; + }, + + channelOpenAck(value: MsgChannelOpenAck) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck", + value: MsgChannelOpenAck.fromPartial(value) + }; + }, + + channelOpenConfirm(value: MsgChannelOpenConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm", + value: MsgChannelOpenConfirm.fromPartial(value) + }; + }, + + channelCloseInit(value: MsgChannelCloseInit) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit", + value: MsgChannelCloseInit.fromPartial(value) + }; + }, + + channelCloseConfirm(value: MsgChannelCloseConfirm) { + return { + typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm", + value: MsgChannelCloseConfirm.fromPartial(value) + }; + }, + + recvPacket(value: MsgRecvPacket) { + return { + typeUrl: "/ibc.core.channel.v1.MsgRecvPacket", + value: MsgRecvPacket.fromPartial(value) + }; + }, + + timeout(value: MsgTimeout) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeout", + value: MsgTimeout.fromPartial(value) + }; + }, + + timeoutOnClose(value: MsgTimeoutOnClose) { + return { + typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose", + value: MsgTimeoutOnClose.fromPartial(value) + }; + }, + + acknowledgement(value: MsgAcknowledgement) { + return { + typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement", + value: MsgAcknowledgement.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..b9ebcc50b --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.rpc.msg.ts @@ -0,0 +1,117 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgChannelOpenInit, MsgChannelOpenInitResponse, MsgChannelOpenTry, MsgChannelOpenTryResponse, MsgChannelOpenAck, MsgChannelOpenAckResponse, MsgChannelOpenConfirm, MsgChannelOpenConfirmResponse, MsgChannelCloseInit, MsgChannelCloseInitResponse, MsgChannelCloseConfirm, MsgChannelCloseConfirmResponse, MsgRecvPacket, MsgRecvPacketResponse, MsgTimeout, MsgTimeoutResponse, MsgTimeoutOnClose, MsgTimeoutOnCloseResponse, MsgAcknowledgement, MsgAcknowledgementResponse } from "./tx"; +/** Msg defines the ibc/channel Msg service. */ + +export interface Msg { + /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */ + channelOpenInit(request: MsgChannelOpenInit): Promise; + /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */ + + channelOpenTry(request: MsgChannelOpenTry): Promise; + /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */ + + channelOpenAck(request: MsgChannelOpenAck): Promise; + /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */ + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; + /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */ + + channelCloseInit(request: MsgChannelCloseInit): Promise; + /** + * ChannelCloseConfirm defines a rpc handler method for + * MsgChannelCloseConfirm. + */ + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; + /** RecvPacket defines a rpc handler method for MsgRecvPacket. */ + + recvPacket(request: MsgRecvPacket): Promise; + /** Timeout defines a rpc handler method for MsgTimeout. */ + + timeout(request: MsgTimeout): Promise; + /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */ + + timeoutOnClose(request: MsgTimeoutOnClose): Promise; + /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */ + + acknowledgement(request: MsgAcknowledgement): Promise; +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.channelOpenInit = this.channelOpenInit.bind(this); + this.channelOpenTry = this.channelOpenTry.bind(this); + this.channelOpenAck = this.channelOpenAck.bind(this); + this.channelOpenConfirm = this.channelOpenConfirm.bind(this); + this.channelCloseInit = this.channelCloseInit.bind(this); + this.channelCloseConfirm = this.channelCloseConfirm.bind(this); + this.recvPacket = this.recvPacket.bind(this); + this.timeout = this.timeout.bind(this); + this.timeoutOnClose = this.timeoutOnClose.bind(this); + this.acknowledgement = this.acknowledgement.bind(this); + } + + channelOpenInit(request: MsgChannelOpenInit): Promise { + const data = MsgChannelOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data); + return promise.then(data => MsgChannelOpenInitResponse.decode(new _m0.Reader(data))); + } + + channelOpenTry(request: MsgChannelOpenTry): Promise { + const data = MsgChannelOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data); + return promise.then(data => MsgChannelOpenTryResponse.decode(new _m0.Reader(data))); + } + + channelOpenAck(request: MsgChannelOpenAck): Promise { + const data = MsgChannelOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data); + return promise.then(data => MsgChannelOpenAckResponse.decode(new _m0.Reader(data))); + } + + channelOpenConfirm(request: MsgChannelOpenConfirm): Promise { + const data = MsgChannelOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data); + return promise.then(data => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data))); + } + + channelCloseInit(request: MsgChannelCloseInit): Promise { + const data = MsgChannelCloseInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data); + return promise.then(data => MsgChannelCloseInitResponse.decode(new _m0.Reader(data))); + } + + channelCloseConfirm(request: MsgChannelCloseConfirm): Promise { + const data = MsgChannelCloseConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data); + return promise.then(data => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data))); + } + + recvPacket(request: MsgRecvPacket): Promise { + const data = MsgRecvPacket.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data); + return promise.then(data => MsgRecvPacketResponse.decode(new _m0.Reader(data))); + } + + timeout(request: MsgTimeout): Promise { + const data = MsgTimeout.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data); + return promise.then(data => MsgTimeoutResponse.decode(new _m0.Reader(data))); + } + + timeoutOnClose(request: MsgTimeoutOnClose): Promise { + const data = MsgTimeoutOnClose.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data); + return promise.then(data => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data))); + } + + acknowledgement(request: MsgAcknowledgement): Promise { + const data = MsgAcknowledgement.encode(request).finish(); + const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data); + return promise.then(data => MsgAcknowledgementResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/channel/v1/tx.ts b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts new file mode 100644 index 000000000..46bf2e53c --- /dev/null +++ b/examples/telescope/codegen/ibc/core/channel/v1/tx.ts @@ -0,0 +1,1492 @@ +import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; +import { Height, HeightSDKType } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ + +export interface MsgChannelOpenInit { + portId: string; + channel?: Channel | undefined; + signer: string; +} +/** + * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It + * is called by a relayer on Chain A. + */ + +export interface MsgChannelOpenInitSDKType { + port_id: string; + channel?: ChannelSDKType | undefined; + signer: string; +} +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ + +export interface MsgChannelOpenInitResponse {} +/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ + +export interface MsgChannelOpenInitResponseSDKType {} +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ + +export interface MsgChannelOpenTry { + portId: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + + previousChannelId: string; + channel?: Channel | undefined; + counterpartyVersion: string; + proofInit: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** + * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel + * on Chain B. + */ + +export interface MsgChannelOpenTrySDKType { + port_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the channel identifier of the previous channel in state INIT + */ + + previous_channel_id: string; + channel?: ChannelSDKType | undefined; + counterparty_version: string; + proof_init: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ + +export interface MsgChannelOpenTryResponse {} +/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ + +export interface MsgChannelOpenTryResponseSDKType {} +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ + +export interface MsgChannelOpenAck { + portId: string; + channelId: string; + counterpartyChannelId: string; + counterpartyVersion: string; + proofTry: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** + * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge + * the change of channel state to TRYOPEN on Chain B. + */ + +export interface MsgChannelOpenAckSDKType { + port_id: string; + channel_id: string; + counterparty_channel_id: string; + counterparty_version: string; + proof_try: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ + +export interface MsgChannelOpenAckResponse {} +/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ + +export interface MsgChannelOpenAckResponseSDKType {} +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ + +export interface MsgChannelOpenConfirm { + portId: string; + channelId: string; + proofAck: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** + * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of channel state to OPEN on Chain A. + */ + +export interface MsgChannelOpenConfirmSDKType { + port_id: string; + channel_id: string; + proof_ack: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ + +export interface MsgChannelOpenConfirmResponse {} +/** + * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response + * type. + */ + +export interface MsgChannelOpenConfirmResponseSDKType {} +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ + +export interface MsgChannelCloseInit { + portId: string; + channelId: string; + signer: string; +} +/** + * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A + * to close a channel with Chain B. + */ + +export interface MsgChannelCloseInitSDKType { + port_id: string; + channel_id: string; + signer: string; +} +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ + +export interface MsgChannelCloseInitResponse {} +/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ + +export interface MsgChannelCloseInitResponseSDKType {} +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ + +export interface MsgChannelCloseConfirm { + portId: string; + channelId: string; + proofInit: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** + * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B + * to acknowledge the change of channel state to CLOSED on Chain A. + */ + +export interface MsgChannelCloseConfirmSDKType { + port_id: string; + channel_id: string; + proof_init: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ + +export interface MsgChannelCloseConfirmResponse {} +/** + * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response + * type. + */ + +export interface MsgChannelCloseConfirmResponseSDKType {} +/** MsgRecvPacket receives incoming IBC packet */ + +export interface MsgRecvPacket { + packet?: Packet | undefined; + proofCommitment: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** MsgRecvPacket receives incoming IBC packet */ + +export interface MsgRecvPacketSDKType { + packet?: PacketSDKType | undefined; + proof_commitment: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ + +export interface MsgRecvPacketResponse {} +/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ + +export interface MsgRecvPacketResponseSDKType {} +/** MsgTimeout receives timed-out packet */ + +export interface MsgTimeout { + packet?: Packet | undefined; + proofUnreceived: Uint8Array; + proofHeight?: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} +/** MsgTimeout receives timed-out packet */ + +export interface MsgTimeoutSDKType { + packet?: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_height?: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ + +export interface MsgTimeoutResponse {} +/** MsgTimeoutResponse defines the Msg/Timeout response type. */ + +export interface MsgTimeoutResponseSDKType {} +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ + +export interface MsgTimeoutOnClose { + packet?: Packet | undefined; + proofUnreceived: Uint8Array; + proofClose: Uint8Array; + proofHeight?: Height | undefined; + nextSequenceRecv: Long; + signer: string; +} +/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ + +export interface MsgTimeoutOnCloseSDKType { + packet?: PacketSDKType | undefined; + proof_unreceived: Uint8Array; + proof_close: Uint8Array; + proof_height?: HeightSDKType | undefined; + next_sequence_recv: Long; + signer: string; +} +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ + +export interface MsgTimeoutOnCloseResponse {} +/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ + +export interface MsgTimeoutOnCloseResponseSDKType {} +/** MsgAcknowledgement receives incoming IBC acknowledgement */ + +export interface MsgAcknowledgement { + packet?: Packet | undefined; + acknowledgement: Uint8Array; + proofAcked: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** MsgAcknowledgement receives incoming IBC acknowledgement */ + +export interface MsgAcknowledgementSDKType { + packet?: PacketSDKType | undefined; + acknowledgement: Uint8Array; + proof_acked: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + +export interface MsgAcknowledgementResponse {} +/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ + +export interface MsgAcknowledgementResponseSDKType {} + +function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { + return { + portId: "", + channel: undefined, + signer: "" + }; +} + +export const MsgChannelOpenInit = { + encode(message: MsgChannelOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelOpenInit { + const message = createBaseMsgChannelOpenInit(); + message.portId = object.portId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenInitResponse(): MsgChannelOpenInitResponse { + return {}; +} + +export const MsgChannelOpenInitResponse = { + encode(_: MsgChannelOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelOpenInitResponse { + const message = createBaseMsgChannelOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { + return { + portId: "", + previousChannelId: "", + channel: undefined, + counterpartyVersion: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenTry = { + encode(message: MsgChannelOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.previousChannelId !== "") { + writer.uint32(18).string(message.previousChannelId); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofInit.length !== 0) { + writer.uint32(42).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.previousChannelId = reader.string(); + break; + + case 3: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofInit = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelOpenTry { + const message = createBaseMsgChannelOpenTry(); + message.portId = object.portId ?? ""; + message.previousChannelId = object.previousChannelId ?? ""; + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenTryResponse(): MsgChannelOpenTryResponse { + return {}; +} + +export const MsgChannelOpenTryResponse = { + encode(_: MsgChannelOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelOpenTryResponse { + const message = createBaseMsgChannelOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { + return { + portId: "", + channelId: "", + counterpartyChannelId: "", + counterpartyVersion: "", + proofTry: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenAck = { + encode(message: MsgChannelOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.counterpartyChannelId !== "") { + writer.uint32(26).string(message.counterpartyChannelId); + } + + if (message.counterpartyVersion !== "") { + writer.uint32(34).string(message.counterpartyVersion); + } + + if (message.proofTry.length !== 0) { + writer.uint32(42).bytes(message.proofTry); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(58).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.counterpartyChannelId = reader.string(); + break; + + case 4: + message.counterpartyVersion = reader.string(); + break; + + case 5: + message.proofTry = reader.bytes(); + break; + + case 6: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelOpenAck { + const message = createBaseMsgChannelOpenAck(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.counterpartyChannelId = object.counterpartyChannelId ?? ""; + message.counterpartyVersion = object.counterpartyVersion ?? ""; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenAckResponse(): MsgChannelOpenAckResponse { + return {}; +} + +export const MsgChannelOpenAckResponse = { + encode(_: MsgChannelOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelOpenAckResponse { + const message = createBaseMsgChannelOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { + return { + portId: "", + channelId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelOpenConfirm = { + encode(message: MsgChannelOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(26).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofAck = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelOpenConfirm { + const message = createBaseMsgChannelOpenConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelOpenConfirmResponse(): MsgChannelOpenConfirmResponse { + return {}; +} + +export const MsgChannelOpenConfirmResponse = { + encode(_: MsgChannelOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelOpenConfirmResponse { + const message = createBaseMsgChannelOpenConfirmResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseInit(): MsgChannelCloseInit { + return { + portId: "", + channelId: "", + signer: "" + }; +} + +export const MsgChannelCloseInit = { + encode(message: MsgChannelCloseInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelCloseInit { + const message = createBaseMsgChannelCloseInit(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseInitResponse(): MsgChannelCloseInitResponse { + return {}; +} + +export const MsgChannelCloseInitResponse = { + encode(_: MsgChannelCloseInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelCloseInitResponse { + const message = createBaseMsgChannelCloseInitResponse(); + return message; + } + +}; + +function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { + return { + portId: "", + channelId: "", + proofInit: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgChannelCloseConfirm = { + encode(message: MsgChannelCloseConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.channelId !== "") { + writer.uint32(18).string(message.channelId); + } + + if (message.proofInit.length !== 0) { + writer.uint32(26).bytes(message.proofInit); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.channelId = reader.string(); + break; + + case 3: + message.proofInit = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgChannelCloseConfirm { + const message = createBaseMsgChannelCloseConfirm(); + message.portId = object.portId ?? ""; + message.channelId = object.channelId ?? ""; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgChannelCloseConfirmResponse(): MsgChannelCloseConfirmResponse { + return {}; +} + +export const MsgChannelCloseConfirmResponse = { + encode(_: MsgChannelCloseConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgChannelCloseConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgChannelCloseConfirmResponse { + const message = createBaseMsgChannelCloseConfirmResponse(); + return message; + } + +}; + +function createBaseMsgRecvPacket(): MsgRecvPacket { + return { + packet: undefined, + proofCommitment: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgRecvPacket = { + encode(message: MsgRecvPacket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofCommitment.length !== 0) { + writer.uint32(18).bytes(message.proofCommitment); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacket { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacket(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofCommitment = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgRecvPacket { + const message = createBaseMsgRecvPacket(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofCommitment = object.proofCommitment ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgRecvPacketResponse(): MsgRecvPacketResponse { + return {}; +} + +export const MsgRecvPacketResponse = { + encode(_: MsgRecvPacketResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgRecvPacketResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgRecvPacketResponse { + const message = createBaseMsgRecvPacketResponse(); + return message; + } + +}; + +function createBaseMsgTimeout(): MsgTimeout { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeout = { + encode(message: MsgTimeout, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(32).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeout { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeout(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgTimeout { + const message = createBaseMsgTimeout(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutResponse(): MsgTimeoutResponse { + return {}; +} + +export const MsgTimeoutResponse = { + encode(_: MsgTimeoutResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgTimeoutResponse { + const message = createBaseMsgTimeoutResponse(); + return message; + } + +}; + +function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { + return { + packet: undefined, + proofUnreceived: new Uint8Array(), + proofClose: new Uint8Array(), + proofHeight: undefined, + nextSequenceRecv: Long.UZERO, + signer: "" + }; +} + +export const MsgTimeoutOnClose = { + encode(message: MsgTimeoutOnClose, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.proofUnreceived.length !== 0) { + writer.uint32(18).bytes(message.proofUnreceived); + } + + if (message.proofClose.length !== 0) { + writer.uint32(26).bytes(message.proofClose); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (!message.nextSequenceRecv.isZero()) { + writer.uint32(40).uint64(message.nextSequenceRecv); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnClose { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnClose(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.proofUnreceived = reader.bytes(); + break; + + case 3: + message.proofClose = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.nextSequenceRecv = (reader.uint64() as Long); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgTimeoutOnClose { + const message = createBaseMsgTimeoutOnClose(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.proofUnreceived = object.proofUnreceived ?? new Uint8Array(); + message.proofClose = object.proofClose ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? Long.fromValue(object.nextSequenceRecv) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgTimeoutOnCloseResponse(): MsgTimeoutOnCloseResponse { + return {}; +} + +export const MsgTimeoutOnCloseResponse = { + encode(_: MsgTimeoutOnCloseResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgTimeoutOnCloseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgTimeoutOnCloseResponse { + const message = createBaseMsgTimeoutOnCloseResponse(); + return message; + } + +}; + +function createBaseMsgAcknowledgement(): MsgAcknowledgement { + return { + packet: undefined, + acknowledgement: new Uint8Array(), + proofAcked: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgAcknowledgement = { + encode(message: MsgAcknowledgement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.packet !== undefined) { + Packet.encode(message.packet, writer.uint32(10).fork()).ldelim(); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + if (message.proofAcked.length !== 0) { + writer.uint32(26).bytes(message.proofAcked); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgement { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgement(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.packet = Packet.decode(reader, reader.uint32()); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + case 3: + message.proofAcked = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgAcknowledgement { + const message = createBaseMsgAcknowledgement(); + message.packet = object.packet !== undefined && object.packet !== null ? Packet.fromPartial(object.packet) : undefined; + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + message.proofAcked = object.proofAcked ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgAcknowledgementResponse(): MsgAcknowledgementResponse { + return {}; +} + +export const MsgAcknowledgementResponse = { + encode(_: MsgAcknowledgementResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgAcknowledgementResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgAcknowledgementResponse { + const message = createBaseMsgAcknowledgementResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/client.ts b/examples/telescope/codegen/ibc/core/client/v1/client.ts new file mode 100644 index 000000000..7d7dbc203 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/client.ts @@ -0,0 +1,629 @@ +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ + +export interface IdentifiedClientState { + /** client identifier */ + clientId: string; + /** client state */ + + clientState?: Any | undefined; +} +/** + * IdentifiedClientState defines a client state with an additional client + * identifier field. + */ + +export interface IdentifiedClientStateSDKType { + /** client identifier */ + client_id: string; + /** client state */ + + client_state?: AnySDKType | undefined; +} +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ + +export interface ConsensusStateWithHeight { + /** consensus state height */ + height?: Height | undefined; + /** consensus state */ + + consensusState?: Any | undefined; +} +/** + * ConsensusStateWithHeight defines a consensus state with an additional height + * field. + */ + +export interface ConsensusStateWithHeightSDKType { + /** consensus state height */ + height?: HeightSDKType | undefined; + /** consensus state */ + + consensus_state?: AnySDKType | undefined; +} +/** + * 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[]; +} +/** + * ClientConsensusStates defines all the stored consensus states for a given + * client. + */ + +export interface ClientConsensusStatesSDKType { + /** client identifier */ + client_id: string; + /** consensus states and their heights associated with the client */ + + 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 { + /** 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; +} +/** + * 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 { + /** 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; +} +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ + +export interface UpgradeProposal { + title: string; + description: string; + plan?: Plan | undefined; + /** + * 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 | undefined; +} +/** + * UpgradeProposal is a gov Content type for initiating an IBC breaking + * upgrade. + */ + +export interface UpgradeProposalSDKType { + title: string; + description: string; + plan?: PlanSDKType | undefined; + /** + * 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?: AnySDKType | undefined; +} +/** + * 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; +} +/** + * 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 { + /** the revision that the client is currently on */ + revision_number: Long; + /** the height within the given revision */ + + 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[]; +} +/** Params defines the set of IBC light client parameters. */ + +export interface ParamsSDKType { + /** allowed_clients defines the list of allowed client state types. */ + allowed_clients: string[]; +} + +function createBaseIdentifiedClientState(): IdentifiedClientState { + return { + clientId: "", + clientState: undefined + }; +} + +export const IdentifiedClientState = { + encode(message: IdentifiedClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): IdentifiedClientState { + const message = createBaseIdentifiedClientState(); + message.clientId = object.clientId ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { + return { + height: undefined, + consensusState: undefined + }; +} + +export const ConsensusStateWithHeight = { + encode(message: ConsensusStateWithHeight, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateWithHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = Height.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusStateWithHeight { + const message = createBaseConsensusStateWithHeight(); + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseClientConsensusStates(): ClientConsensusStates { + return { + clientId: "", + consensusStates: [] + }; +} + +export const ClientConsensusStates = { + encode(message: ClientConsensusStates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientConsensusStates(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientConsensusStates { + const message = createBaseClientConsensusStates(); + message.clientId = object.clientId ?? ""; + message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseClientUpdateProposal(): ClientUpdateProposal { + return { + title: "", + description: "", + subjectClientId: "", + substituteClientId: "" + }; +} + +export const ClientUpdateProposal = { + encode(message: ClientUpdateProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.subjectClientId !== "") { + writer.uint32(26).string(message.subjectClientId); + } + + if (message.substituteClientId !== "") { + writer.uint32(34).string(message.substituteClientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientUpdateProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.subjectClientId = reader.string(); + break; + + case 4: + message.substituteClientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientUpdateProposal { + const message = createBaseClientUpdateProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.subjectClientId = object.subjectClientId ?? ""; + message.substituteClientId = object.substituteClientId ?? ""; + return message; + } + +}; + +function createBaseUpgradeProposal(): UpgradeProposal { + return { + title: "", + description: "", + plan: undefined, + upgradedClientState: undefined + }; +} + +export const UpgradeProposal = { + encode(message: UpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.title !== "") { + writer.uint32(10).string(message.title); + } + + if (message.description !== "") { + writer.uint32(18).string(message.description); + } + + if (message.plan !== undefined) { + Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); + } + + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseUpgradeProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.title = reader.string(); + break; + + case 2: + message.description = reader.string(); + break; + + case 3: + message.plan = Plan.decode(reader, reader.uint32()); + break; + + case 4: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): UpgradeProposal { + const message = createBaseUpgradeProposal(); + message.title = object.title ?? ""; + message.description = object.description ?? ""; + message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseHeight(): Height { + return { + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const Height = { + encode(message: Height, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.revisionNumber.isZero()) { + writer.uint32(8).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(16).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Height { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeight(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 2: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Height { + const message = createBaseHeight(); + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseParams(): Params { + return { + allowedClients: [] + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.allowedClients) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.allowedClients.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.allowedClients = object.allowedClients?.map(e => e) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/genesis.ts b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts new file mode 100644 index 000000000..4f326ca3b --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/genesis.ts @@ -0,0 +1,288 @@ +import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** 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 | undefined; + /** create localhost on initialization */ + + createLocalhost: boolean; + /** the sequence for the next generated client identifier */ + + nextClientSequence: Long; +} +/** GenesisState defines the ibc client submodule's genesis state. */ + +export interface GenesisStateSDKType { + /** client states with their corresponding identifiers */ + clients: IdentifiedClientStateSDKType[]; + /** consensus states from each client */ + + clients_consensus: ClientConsensusStatesSDKType[]; + /** metadata from each client */ + + clients_metadata: IdentifiedGenesisMetadataSDKType[]; + params?: ParamsSDKType | undefined; + /** create localhost on initialization */ + + create_localhost: boolean; + /** the sequence for the next generated client identifier */ + + 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; +} +/** + * GenesisMetadata defines the genesis type for metadata that clients may return + * with ExportMetadata + */ + +export interface GenesisMetadataSDKType { + /** store key of metadata without clientID-prefix */ + key: Uint8Array; + /** metadata value */ + + value: Uint8Array; +} +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ + +export interface IdentifiedGenesisMetadata { + clientId: string; + clientMetadata: GenesisMetadata[]; +} +/** + * IdentifiedGenesisMetadata has the client metadata with the corresponding + * client id. + */ + +export interface IdentifiedGenesisMetadataSDKType { + client_id: string; + client_metadata: GenesisMetadataSDKType[]; +} + +function createBaseGenesisState(): GenesisState { + return { + clients: [], + clientsConsensus: [], + clientsMetadata: [], + params: undefined, + createLocalhost: false, + nextClientSequence: Long.UZERO + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clients) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientsConsensus) { + ClientConsensusStates.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.clientsMetadata) { + IdentifiedGenesisMetadata.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + if (message.createLocalhost === true) { + writer.uint32(40).bool(message.createLocalhost); + } + + if (!message.nextClientSequence.isZero()) { + writer.uint32(48).uint64(message.nextClientSequence); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clients.push(IdentifiedClientState.decode(reader, reader.uint32())); + break; + + case 2: + message.clientsConsensus.push(ClientConsensusStates.decode(reader, reader.uint32())); + break; + + case 3: + message.clientsMetadata.push(IdentifiedGenesisMetadata.decode(reader, reader.uint32())); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + case 5: + message.createLocalhost = reader.bool(); + break; + + case 6: + message.nextClientSequence = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; + message.clientsConsensus = object.clientsConsensus?.map(e => ClientConsensusStates.fromPartial(e)) || []; + message.clientsMetadata = object.clientsMetadata?.map(e => IdentifiedGenesisMetadata.fromPartial(e)) || []; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + message.createLocalhost = object.createLocalhost ?? false; + message.nextClientSequence = object.nextClientSequence !== undefined && object.nextClientSequence !== null ? Long.fromValue(object.nextClientSequence) : Long.UZERO; + return message; + } + +}; + +function createBaseGenesisMetadata(): GenesisMetadata { + return { + key: new Uint8Array(), + value: new Uint8Array() + }; +} + +export const GenesisMetadata = { + encode(message: GenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): GenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseGenesisMetadata(); + + 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; + }, + + fromPartial(object: Partial): GenesisMetadata { + const message = createBaseGenesisMetadata(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + return message; + } + +}; + +function createBaseIdentifiedGenesisMetadata(): IdentifiedGenesisMetadata { + return { + clientId: "", + clientMetadata: [] + }; +} + +export const IdentifiedGenesisMetadata = { + encode(message: IdentifiedGenesisMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.clientMetadata) { + GenesisMetadata.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedGenesisMetadata(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientMetadata.push(GenesisMetadata.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): IdentifiedGenesisMetadata { + const message = createBaseIdentifiedGenesisMetadata(); + message.clientId = object.clientId ?? ""; + message.clientMetadata = object.clientMetadata?.map(e => GenesisMetadata.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts new file mode 100644 index 000000000..16255995c --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.lcd.ts @@ -0,0 +1,107 @@ +import { setPaginationParams } from "../../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + } + /* ClientState queries an IBC light client. */ + + + async clientState(params: QueryClientStateRequest): Promise { + const endpoint = `ibc/core/client/v1/client_states/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ClientStates queries all the IBC light clients of a chain. */ + + + async clientStates(params: QueryClientStatesRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/client_states`; + return await this.req.get(endpoint, options); + } + /* ConsensusState queries a consensus state associated with a client state at + a given height. */ + + + async consensusState(params: QueryConsensusStateRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.latestHeight !== "undefined") { + options.params.latest_height = params.latestHeight; + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint, options); + } + /* ConsensusStates queries all the consensus state associated with a given + client. */ + + + async consensusStates(params: QueryConsensusStatesRequest): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/client/v1/consensus_states/${params.clientId}`; + return await this.req.get(endpoint, options); + } + /* Status queries the status of an IBC client. */ + + + async clientStatus(params: QueryClientStatusRequest): Promise { + const endpoint = `ibc/core/client/v1/client_status/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ClientParams queries all parameters of the ibc client. */ + + + async clientParams(_params: QueryClientParamsRequest = {}): Promise { + const endpoint = `ibc/client/v1/params`; + return await this.req.get(endpoint); + } + /* UpgradedClientState queries an Upgraded IBC light client. */ + + + async upgradedClientState(_params: QueryUpgradedClientStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_client_states`; + return await this.req.get(endpoint); + } + /* UpgradedConsensusState queries an Upgraded IBC consensus state. */ + + + async upgradedConsensusState(_params: QueryUpgradedConsensusStateRequest = {}): Promise { + const endpoint = `ibc/core/client/v1/upgraded_consensus_states`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.rpc.Query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.Query.ts new file mode 100644 index 000000000..58429d53b --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.rpc.Query.ts @@ -0,0 +1,141 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, 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; + /** 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 class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.clientState = this.clientState.bind(this); + this.clientStates = this.clientStates.bind(this); + this.consensusState = this.consensusState.bind(this); + this.consensusStates = this.consensusStates.bind(this); + this.clientStatus = this.clientStatus.bind(this); + this.clientParams = this.clientParams.bind(this); + this.upgradedClientState = this.upgradedClientState.bind(this); + this.upgradedConsensusState = this.upgradedConsensusState.bind(this); + } + + clientState(request: QueryClientStateRequest): Promise { + const data = QueryClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientState", data); + return promise.then(data => QueryClientStateResponse.decode(new _m0.Reader(data))); + } + + clientStates(request: QueryClientStatesRequest = { + pagination: undefined + }): Promise { + const data = QueryClientStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStates", data); + return promise.then(data => QueryClientStatesResponse.decode(new _m0.Reader(data))); + } + + consensusState(request: QueryConsensusStateRequest): Promise { + const data = QueryConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusState", data); + return promise.then(data => QueryConsensusStateResponse.decode(new _m0.Reader(data))); + } + + consensusStates(request: QueryConsensusStatesRequest): Promise { + const data = QueryConsensusStatesRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ConsensusStates", data); + return promise.then(data => QueryConsensusStatesResponse.decode(new _m0.Reader(data))); + } + + clientStatus(request: QueryClientStatusRequest): Promise { + const data = QueryClientStatusRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientStatus", data); + return promise.then(data => QueryClientStatusResponse.decode(new _m0.Reader(data))); + } + + clientParams(request: QueryClientParamsRequest = {}): Promise { + const data = QueryClientParamsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "ClientParams", data); + return promise.then(data => QueryClientParamsResponse.decode(new _m0.Reader(data))); + } + + upgradedClientState(request: QueryUpgradedClientStateRequest = {}): Promise { + const data = QueryUpgradedClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedClientState", data); + return promise.then(data => QueryUpgradedClientStateResponse.decode(new _m0.Reader(data))); + } + + upgradedConsensusState(request: QueryUpgradedConsensusStateRequest = {}): Promise { + const data = QueryUpgradedConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Query", "UpgradedConsensusState", data); + return promise.then(data => QueryUpgradedConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + clientState(request: QueryClientStateRequest): Promise { + return queryService.clientState(request); + }, + + clientStates(request?: QueryClientStatesRequest): Promise { + return queryService.clientStates(request); + }, + + consensusState(request: QueryConsensusStateRequest): Promise { + return queryService.consensusState(request); + }, + + consensusStates(request: QueryConsensusStatesRequest): Promise { + return queryService.consensusStates(request); + }, + + clientStatus(request: QueryClientStatusRequest): Promise { + return queryService.clientStatus(request); + }, + + clientParams(request?: QueryClientParamsRequest): Promise { + return queryService.clientParams(request); + }, + + upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise { + return queryService.upgradedClientState(request); + }, + + upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise { + return queryService.upgradedConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/query.ts b/examples/telescope/codegen/ibc/core/client/v1/query.ts new file mode 100644 index 000000000..02d4a0510 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/query.ts @@ -0,0 +1,1130 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ + +export interface QueryClientStateRequest { + /** client state unique identifier */ + clientId: string; +} +/** + * QueryClientStateRequest is the request type for the Query/ClientState RPC + * method + */ + +export interface QueryClientStateRequestSDKType { + /** client state unique identifier */ + 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 | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * 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 associated with the request identifier */ + client_state?: AnySDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ + +export interface QueryClientStatesRequest { + /** pagination request */ + pagination?: PageRequest | undefined; +} +/** + * QueryClientStatesRequest is the request type for the Query/ClientStates RPC + * method + */ + +export interface QueryClientStatesRequestSDKType { + /** pagination request */ + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryClientStatesResponse is the response type for the Query/ClientStates RPC + * method. + */ + +export interface QueryClientStatesResponseSDKType { + /** list of stored ClientStates of the chain. */ + client_states: IdentifiedClientStateSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * 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; +} +/** + * 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 identifier */ + client_id: string; + /** consensus state revision number */ + + revision_number: Long; + /** consensus state revision height */ + + revision_height: Long; + /** + * latest_height overrrides the height field and queries the latest stored + * ConsensusState + */ + + 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 | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryConsensusStateResponse is the response type for the Query/ConsensusState + * RPC method + */ + +export interface QueryConsensusStateResponseSDKType { + /** consensus state associated with the client identifier at the given height */ + consensus_state?: AnySDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ + +export interface QueryConsensusStatesRequest { + /** client identifier */ + clientId: string; + /** pagination request */ + + pagination?: PageRequest | undefined; +} +/** + * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates + * RPC method. + */ + +export interface QueryConsensusStatesRequestSDKType { + /** client identifier */ + client_id: string; + /** pagination request */ + + pagination?: PageRequestSDKType | undefined; +} +/** + * 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 | undefined; +} +/** + * QueryConsensusStatesResponse is the response type for the + * Query/ConsensusStates RPC method + */ + +export interface QueryConsensusStatesResponseSDKType { + /** consensus states associated with the identifier */ + consensus_states: ConsensusStateWithHeightSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; +} +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ + +export interface QueryClientStatusRequest { + /** client unique identifier */ + clientId: string; +} +/** + * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC + * method + */ + +export interface QueryClientStatusRequestSDKType { + /** client unique identifier */ + 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; +} +/** + * 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 {} +/** + * 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 | undefined; +} +/** + * QueryClientParamsResponse is the response type for the Query/ClientParams RPC + * method. + */ + +export interface QueryClientParamsResponseSDKType { + /** params defines the parameters of the module. */ + params?: ParamsSDKType | undefined; +} +/** + * QueryUpgradedClientStateRequest is the request type for the + * Query/UpgradedClientState RPC method + */ + +export interface QueryUpgradedClientStateRequest {} +/** + * 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 | undefined; +} +/** + * QueryUpgradedClientStateResponse is the response type for the + * Query/UpgradedClientState RPC method. + */ + +export interface QueryUpgradedClientStateResponseSDKType { + /** client state associated with the request identifier */ + upgraded_client_state?: AnySDKType | undefined; +} +/** + * QueryUpgradedConsensusStateRequest is the request type for the + * Query/UpgradedConsensusState RPC method + */ + +export interface QueryUpgradedConsensusStateRequest {} +/** + * 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 | undefined; +} +/** + * QueryUpgradedConsensusStateResponse is the response type for the + * Query/UpgradedConsensusState RPC method. + */ + +export interface QueryUpgradedConsensusStateResponseSDKType { + /** Consensus state associated with the request identifier */ + upgraded_consensus_state?: AnySDKType | undefined; +} + +function createBaseQueryClientStateRequest(): QueryClientStateRequest { + return { + clientId: "" + }; +} + +export const QueryClientStateRequest = { + encode(message: QueryClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientStateRequest { + const message = createBaseQueryClientStateRequest(); + message.clientId = object.clientId ?? ""; + return message; + } + +}; + +function createBaseQueryClientStateResponse(): QueryClientStateResponse { + return { + clientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientStateResponse = { + encode(message: QueryClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientStateResponse { + const message = createBaseQueryClientStateResponse(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { + return { + pagination: undefined + }; +} + +export const QueryClientStatesRequest = { + encode(message: QueryClientStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryClientStatesRequest { + const message = createBaseQueryClientStatesRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { + return { + clientStates: [], + pagination: undefined + }; +} + +export const QueryClientStatesResponse = { + encode(message: QueryClientStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.clientStates) { + IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientStates.push(IdentifiedClientState.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientStatesResponse { + const message = createBaseQueryClientStatesResponse(); + message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest { + return { + clientId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO, + latestHeight: false + }; +} + +export const QueryConsensusStateRequest = { + encode(message: QueryConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + if (message.latestHeight === true) { + writer.uint32(32).bool(message.latestHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + case 4: + message.latestHeight = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConsensusStateRequest { + const message = createBaseQueryConsensusStateRequest(); + message.clientId = object.clientId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + message.latestHeight = object.latestHeight ?? false; + return message; + } + +}; + +function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { + return { + consensusState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConsensusStateResponse = { + encode(message: QueryConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConsensusStateResponse { + const message = createBaseQueryConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { + return { + clientId: "", + pagination: undefined + }; +} + +export const QueryConsensusStatesRequest = { + encode(message: QueryConsensusStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.pagination = PageRequest.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConsensusStatesRequest { + const message = createBaseQueryConsensusStatesRequest(); + message.clientId = object.clientId ?? ""; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { + return { + consensusStates: [], + pagination: undefined + }; +} + +export const QueryConsensusStatesResponse = { + encode(message: QueryConsensusStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.consensusStates) { + ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConsensusStatesResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConsensusStatesResponse { + const message = createBaseQueryConsensusStatesResponse(); + message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryClientStatusRequest(): QueryClientStatusRequest { + return { + clientId: "" + }; +} + +export const QueryClientStatusRequest = { + encode(message: QueryClientStatusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientStatusRequest { + const message = createBaseQueryClientStatusRequest(); + message.clientId = object.clientId ?? ""; + return message; + } + +}; + +function createBaseQueryClientStatusResponse(): QueryClientStatusResponse { + return { + status: "" + }; +} + +export const QueryClientStatusResponse = { + encode(message: QueryClientStatusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.status !== "") { + writer.uint32(10).string(message.status); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientStatusResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.status = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientStatusResponse { + const message = createBaseQueryClientStatusResponse(); + message.status = object.status ?? ""; + return message; + } + +}; + +function createBaseQueryClientParamsRequest(): QueryClientParamsRequest { + return {}; +} + +export const QueryClientParamsRequest = { + encode(_: QueryClientParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryClientParamsRequest { + const message = createBaseQueryClientParamsRequest(); + return message; + } + +}; + +function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { + return { + params: undefined + }; +} + +export const QueryClientParamsResponse = { + encode(message: QueryClientParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientParamsResponse(); + + 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; + }, + + fromPartial(object: Partial): QueryClientParamsResponse { + const message = createBaseQueryClientParamsResponse(); + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; + +function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest { + return {}; +} + +export const QueryUpgradedClientStateRequest = { + encode(_: QueryUpgradedClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryUpgradedClientStateRequest { + const message = createBaseQueryUpgradedClientStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse { + return { + upgradedClientState: undefined + }; +} + +export const QueryUpgradedClientStateResponse = { + encode(message: QueryUpgradedClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedClientState !== undefined) { + Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedClientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUpgradedClientStateResponse { + const message = createBaseQueryUpgradedClientStateResponse(); + message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { + return {}; +} + +export const QueryUpgradedConsensusStateRequest = { + encode(_: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): QueryUpgradedConsensusStateRequest { + const message = createBaseQueryUpgradedConsensusStateRequest(); + return message; + } + +}; + +function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { + return { + upgradedConsensusState: undefined + }; +} + +export const QueryUpgradedConsensusStateResponse = { + encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.upgradedConsensusState !== undefined) { + Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryUpgradedConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.upgradedConsensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { + const message = createBaseQueryUpgradedConsensusStateResponse(); + message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts new file mode 100644 index 000000000..b6e162ad4 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.amino.ts @@ -0,0 +1,205 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; +export interface AminoMsgCreateClient extends AminoMsg { + type: "cosmos-sdk/MsgCreateClient"; + value: { + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpdateClient extends AminoMsg { + type: "cosmos-sdk/MsgUpdateClient"; + value: { + client_id: string; + header: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export interface AminoMsgUpgradeClient extends AminoMsg { + type: "cosmos-sdk/MsgUpgradeClient"; + value: { + client_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + consensus_state: { + type_url: string; + value: Uint8Array; + }; + proof_upgrade_client: Uint8Array; + proof_upgrade_consensus_state: Uint8Array; + signer: string; + }; +} +export interface AminoMsgSubmitMisbehaviour extends AminoMsg { + type: "cosmos-sdk/MsgSubmitMisbehaviour"; + value: { + client_id: string; + misbehaviour: { + type_url: string; + value: Uint8Array; + }; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.client.v1.MsgCreateClient": { + aminoType: "cosmos-sdk/MsgCreateClient", + toAmino: ({ + clientState, + consensusState, + signer + }: MsgCreateClient): AminoMsgCreateClient["value"] => { + return { + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + signer + }; + }, + fromAmino: ({ + client_state, + consensus_state, + signer + }: AminoMsgCreateClient["value"]): MsgCreateClient => { + return { + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpdateClient": { + aminoType: "cosmos-sdk/MsgUpdateClient", + toAmino: ({ + clientId, + header, + signer + }: MsgUpdateClient): AminoMsgUpdateClient["value"] => { + return { + client_id: clientId, + header: { + type_url: header.typeUrl, + value: header.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + header, + signer + }: AminoMsgUpdateClient["value"]): MsgUpdateClient => { + return { + clientId: client_id, + header: { + typeUrl: header.type_url, + value: header.value + }, + signer + }; + } + }, + "/ibc.core.client.v1.MsgUpgradeClient": { + aminoType: "cosmos-sdk/MsgUpgradeClient", + toAmino: ({ + clientId, + clientState, + consensusState, + proofUpgradeClient, + proofUpgradeConsensusState, + signer + }: MsgUpgradeClient): AminoMsgUpgradeClient["value"] => { + return { + client_id: clientId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + consensus_state: { + type_url: consensusState.typeUrl, + value: consensusState.value + }, + proof_upgrade_client: proofUpgradeClient, + proof_upgrade_consensus_state: proofUpgradeConsensusState, + signer + }; + }, + fromAmino: ({ + client_id, + client_state, + consensus_state, + proof_upgrade_client, + proof_upgrade_consensus_state, + signer + }: AminoMsgUpgradeClient["value"]): MsgUpgradeClient => { + return { + clientId: client_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + consensusState: { + typeUrl: consensus_state.type_url, + value: consensus_state.value + }, + proofUpgradeClient: proof_upgrade_client, + proofUpgradeConsensusState: proof_upgrade_consensus_state, + signer + }; + } + }, + "/ibc.core.client.v1.MsgSubmitMisbehaviour": { + aminoType: "cosmos-sdk/MsgSubmitMisbehaviour", + toAmino: ({ + clientId, + misbehaviour, + signer + }: MsgSubmitMisbehaviour): AminoMsgSubmitMisbehaviour["value"] => { + return { + client_id: clientId, + misbehaviour: { + type_url: misbehaviour.typeUrl, + value: misbehaviour.value + }, + signer + }; + }, + fromAmino: ({ + client_id, + misbehaviour, + signer + }: AminoMsgSubmitMisbehaviour["value"]): MsgSubmitMisbehaviour => { + return { + clientId: client_id, + misbehaviour: { + typeUrl: misbehaviour.type_url, + value: misbehaviour.value + }, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts new file mode 100644 index 000000000..461eccde2 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.registry.ts @@ -0,0 +1,100 @@ +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]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.encode(value).finish() + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.encode(value).finish() + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.encode(value).finish() + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.encode(value).finish() + }; + } + + }, + withTypeUrl: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value + }; + } + + }, + fromPartial: { + createClient(value: MsgCreateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgCreateClient", + value: MsgCreateClient.fromPartial(value) + }; + }, + + updateClient(value: MsgUpdateClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpdateClient", + value: MsgUpdateClient.fromPartial(value) + }; + }, + + upgradeClient(value: MsgUpgradeClient) { + return { + typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", + value: MsgUpgradeClient.fromPartial(value) + }; + }, + + submitMisbehaviour(value: MsgSubmitMisbehaviour) { + return { + typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", + value: MsgSubmitMisbehaviour.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..3197da3f9 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.rpc.msg.ts @@ -0,0 +1,54 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +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 class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.createClient = this.createClient.bind(this); + this.updateClient = this.updateClient.bind(this); + this.upgradeClient = this.upgradeClient.bind(this); + this.submitMisbehaviour = this.submitMisbehaviour.bind(this); + } + + createClient(request: MsgCreateClient): Promise { + const data = MsgCreateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "CreateClient", data); + return promise.then(data => MsgCreateClientResponse.decode(new _m0.Reader(data))); + } + + updateClient(request: MsgUpdateClient): Promise { + const data = MsgUpdateClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpdateClient", data); + return promise.then(data => MsgUpdateClientResponse.decode(new _m0.Reader(data))); + } + + upgradeClient(request: MsgUpgradeClient): Promise { + const data = MsgUpgradeClient.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "UpgradeClient", data); + return promise.then(data => MsgUpgradeClientResponse.decode(new _m0.Reader(data))); + } + + submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise { + const data = MsgSubmitMisbehaviour.encode(request).finish(); + const promise = this.rpc.request("ibc.core.client.v1.Msg", "SubmitMisbehaviour", data); + return promise.then(data => MsgSubmitMisbehaviourResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/client/v1/tx.ts b/examples/telescope/codegen/ibc/core/client/v1/tx.ts new file mode 100644 index 000000000..24b579e8a --- /dev/null +++ b/examples/telescope/codegen/ibc/core/client/v1/tx.ts @@ -0,0 +1,602 @@ +import { Any, 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 | undefined; + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + + consensusState?: Any | undefined; + /** signer address */ + + signer: string; +} +/** MsgCreateClient defines a message to create an IBC client */ + +export interface MsgCreateClientSDKType { + /** light client state */ + client_state?: AnySDKType | undefined; + /** + * consensus state associated with the client that corresponds to a given + * height. + */ + + consensus_state?: AnySDKType | undefined; + /** signer address */ + + signer: string; +} +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ + +export interface MsgCreateClientResponse {} +/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ + +export interface MsgCreateClientResponseSDKType {} +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ + +export interface MsgUpdateClient { + /** client unique identifier */ + clientId: string; + /** header to update the light client */ + + header?: Any | undefined; + /** signer address */ + + signer: string; +} +/** + * MsgUpdateClient defines an sdk.Msg to update a IBC client state using + * the given header. + */ + +export interface MsgUpdateClientSDKType { + /** client unique identifier */ + client_id: string; + /** header to update the light client */ + + header?: AnySDKType | undefined; + /** signer address */ + + signer: string; +} +/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ + +export interface MsgUpdateClientResponse {} +/** 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 | undefined; + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + + consensusState?: Any | undefined; + /** 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; +} +/** + * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client + * state + */ + +export interface MsgUpgradeClientSDKType { + /** client unique identifier */ + client_id: string; + /** upgraded client state */ + + client_state?: AnySDKType | undefined; + /** + * upgraded consensus state, only contains enough information to serve as a + * basis of trust in update logic + */ + + consensus_state?: AnySDKType | undefined; + /** 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; +} +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ + +export interface MsgUpgradeClientResponse {} +/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ + +export interface MsgUpgradeClientResponseSDKType {} +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ + +export interface MsgSubmitMisbehaviour { + /** client unique identifier */ + clientId: string; + /** misbehaviour used for freezing the light client */ + + misbehaviour?: Any | undefined; + /** signer address */ + + signer: string; +} +/** + * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for + * light client misbehaviour. + */ + +export interface MsgSubmitMisbehaviourSDKType { + /** client unique identifier */ + client_id: string; + /** misbehaviour used for freezing the light client */ + + misbehaviour?: AnySDKType | undefined; + /** signer address */ + + signer: string; +} +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ + +export interface MsgSubmitMisbehaviourResponse {} +/** + * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response + * type. + */ + +export interface MsgSubmitMisbehaviourResponseSDKType {} + +function createBaseMsgCreateClient(): MsgCreateClient { + return { + clientState: undefined, + consensusState: undefined, + signer: "" + }; +} + +export const MsgCreateClient = { + encode(message: MsgCreateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgCreateClient { + const message = createBaseMsgCreateClient(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgCreateClientResponse(): MsgCreateClientResponse { + return {}; +} + +export const MsgCreateClientResponse = { + encode(_: MsgCreateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCreateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgCreateClientResponse { + const message = createBaseMsgCreateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpdateClient(): MsgUpdateClient { + return { + clientId: "", + header: undefined, + signer: "" + }; +} + +export const MsgUpdateClient = { + encode(message: MsgUpdateClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header !== undefined) { + Any.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpdateClient { + const message = createBaseMsgUpdateClient(); + message.clientId = object.clientId ?? ""; + message.header = object.header !== undefined && object.header !== null ? Any.fromPartial(object.header) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpdateClientResponse(): MsgUpdateClientResponse { + return {}; +} + +export const MsgUpdateClientResponse = { + encode(_: MsgUpdateClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpdateClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpdateClientResponse { + const message = createBaseMsgUpdateClientResponse(); + return message; + } + +}; + +function createBaseMsgUpgradeClient(): MsgUpgradeClient { + return { + clientId: "", + clientState: undefined, + consensusState: undefined, + proofUpgradeClient: new Uint8Array(), + proofUpgradeConsensusState: new Uint8Array(), + signer: "" + }; +} + +export const MsgUpgradeClient = { + encode(message: MsgUpgradeClient, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.proofUpgradeClient.length !== 0) { + writer.uint32(34).bytes(message.proofUpgradeClient); + } + + if (message.proofUpgradeConsensusState.length !== 0) { + writer.uint32(42).bytes(message.proofUpgradeConsensusState); + } + + if (message.signer !== "") { + writer.uint32(50).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClient(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.proofUpgradeClient = reader.bytes(); + break; + + case 5: + message.proofUpgradeConsensusState = reader.bytes(); + break; + + case 6: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgUpgradeClient { + const message = createBaseMsgUpgradeClient(); + message.clientId = object.clientId ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.proofUpgradeClient = object.proofUpgradeClient ?? new Uint8Array(); + message.proofUpgradeConsensusState = object.proofUpgradeConsensusState ?? new Uint8Array(); + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgUpgradeClientResponse(): MsgUpgradeClientResponse { + return {}; +} + +export const MsgUpgradeClientResponse = { + encode(_: MsgUpgradeClientResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgUpgradeClientResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgUpgradeClientResponse { + const message = createBaseMsgUpgradeClientResponse(); + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviour(): MsgSubmitMisbehaviour { + return { + clientId: "", + misbehaviour: undefined, + signer: "" + }; +} + +export const MsgSubmitMisbehaviour = { + encode(message: MsgSubmitMisbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.misbehaviour !== undefined) { + Any.encode(message.misbehaviour, writer.uint32(18).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(26).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.misbehaviour = Any.decode(reader, reader.uint32()); + break; + + case 3: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgSubmitMisbehaviour { + const message = createBaseMsgSubmitMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.misbehaviour = object.misbehaviour !== undefined && object.misbehaviour !== null ? Any.fromPartial(object.misbehaviour) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgSubmitMisbehaviourResponse(): MsgSubmitMisbehaviourResponse { + return {}; +} + +export const MsgSubmitMisbehaviourResponse = { + encode(_: MsgSubmitMisbehaviourResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgSubmitMisbehaviourResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgSubmitMisbehaviourResponse { + const message = createBaseMsgSubmitMisbehaviourResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts new file mode 100644 index 000000000..571febed0 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/commitment/v1/commitment.ts @@ -0,0 +1,256 @@ +import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; +import * as _m0 from "protobufjs/minimal"; +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ + +export interface MerkleRoot { + hash: Uint8Array; +} +/** + * MerkleRoot defines a merkle root hash. + * In the Cosmos SDK, the AppHash of a block header becomes the root. + */ + +export interface MerkleRootSDKType { + hash: Uint8Array; +} +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ + +export interface MerklePrefix { + keyPrefix: Uint8Array; +} +/** + * MerklePrefix is merkle path prefixed to the key. + * The constructed key from the Path and the key will be append(Path.KeyPath, + * append(Path.KeyPrefix, key...)) + */ + +export interface MerklePrefixSDKType { + key_prefix: Uint8Array; +} +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ + +export interface MerklePath { + keyPath: string[]; +} +/** + * MerklePath is the path used to verify commitment proofs, which can be an + * arbitrary structured object (defined by a commitment type). + * MerklePath is represented from root-to-leaf + */ + +export interface MerklePathSDKType { + key_path: string[]; +} +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ + +export interface MerkleProof { + proofs: CommitmentProof[]; +} +/** + * MerkleProof is a wrapper type over a chain of CommitmentProofs. + * It demonstrates membership or non-membership for an element or set of + * elements, verifiable in conjunction with a known commitment root. Proofs + * should be succinct. + * MerkleProofs are ordered from leaf-to-root + */ + +export interface MerkleProofSDKType { + proofs: CommitmentProofSDKType[]; +} + +function createBaseMerkleRoot(): MerkleRoot { + return { + hash: new Uint8Array() + }; +} + +export const MerkleRoot = { + encode(message: MerkleRoot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleRoot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MerkleRoot { + const message = createBaseMerkleRoot(); + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePrefix(): MerklePrefix { + return { + keyPrefix: new Uint8Array() + }; +} + +export const MerklePrefix = { + encode(message: MerklePrefix, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.keyPrefix.length !== 0) { + writer.uint32(10).bytes(message.keyPrefix); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePrefix(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPrefix = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MerklePrefix { + const message = createBaseMerklePrefix(); + message.keyPrefix = object.keyPrefix ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMerklePath(): MerklePath { + return { + keyPath: [] + }; +} + +export const MerklePath = { + encode(message: MerklePath, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.keyPath) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerklePath(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.keyPath.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MerklePath { + const message = createBaseMerklePath(); + message.keyPath = object.keyPath?.map(e => e) || []; + return message; + } + +}; + +function createBaseMerkleProof(): MerkleProof { + return { + proofs: [] + }; +} + +export const MerkleProof = { + encode(message: MerkleProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.proofs) { + CommitmentProof.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMerkleProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.proofs.push(CommitmentProof.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MerkleProof { + const message = createBaseMerkleProof(); + message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/connection.ts b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts new file mode 100644 index 000000000..f232ce385 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/connection.ts @@ -0,0 +1,759 @@ +import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum State { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} +/** + * State defines if a connection is in one of the following states: + * INIT, TRYOPEN, OPEN or UNINITIALIZED. + */ + +export enum StateSDKType { + /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ + STATE_UNINITIALIZED_UNSPECIFIED = 0, + + /** STATE_INIT - A connection end has just started the opening handshake. */ + STATE_INIT = 1, + + /** + * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty + * chain. + */ + STATE_TRYOPEN = 2, + + /** STATE_OPEN - A connection end has completed the handshake. */ + STATE_OPEN = 3, + UNRECOGNIZED = -1, +} +export function stateFromJSON(object: any): State { + switch (object) { + case 0: + case "STATE_UNINITIALIZED_UNSPECIFIED": + return State.STATE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "STATE_INIT": + return State.STATE_INIT; + + case 2: + case "STATE_TRYOPEN": + return State.STATE_TRYOPEN; + + case 3: + case "STATE_OPEN": + return State.STATE_OPEN; + + case -1: + case "UNRECOGNIZED": + default: + return State.UNRECOGNIZED; + } +} +export function stateToJSON(object: State): string { + switch (object) { + case State.STATE_UNINITIALIZED_UNSPECIFIED: + return "STATE_UNINITIALIZED_UNSPECIFIED"; + + case State.STATE_INIT: + return "STATE_INIT"; + + case State.STATE_TRYOPEN: + return "STATE_TRYOPEN"; + + case State.STATE_OPEN: + return "STATE_OPEN"; + + case State.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ + +export interface ConnectionEnd { + /** client associated with this connection. */ + clientId: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + + versions: Version[]; + /** current state of the connection end. */ + + state: State; + /** counterparty chain associated with this connection. */ + + counterparty?: Counterparty | undefined; + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + + delayPeriod: Long; +} +/** + * ConnectionEnd defines a stateful object on a chain connected to another + * separate one. + * NOTE: there must only be 2 defined ConnectionEnds to establish + * a connection between two chains. + */ + +export interface ConnectionEndSDKType { + /** client associated with this connection. */ + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection. + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty?: CounterpartySDKType | undefined; + /** + * delay period that must pass before a consensus state can be used for + * packet-verification NOTE: delay period logic is only implemented by some + * clients. + */ + + delay_period: Long; +} +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ + +export interface IdentifiedConnection { + /** connection identifier. */ + id: string; + /** client associated with this connection. */ + + clientId: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + + versions: Version[]; + /** current state of the connection end. */ + + state: State; + /** counterparty chain associated with this connection. */ + + counterparty?: Counterparty | undefined; + /** delay period associated with this connection. */ + + delayPeriod: Long; +} +/** + * IdentifiedConnection defines a connection with additional connection + * identifier field. + */ + +export interface IdentifiedConnectionSDKType { + /** connection identifier. */ + id: string; + /** client associated with this connection. */ + + client_id: string; + /** + * IBC version which can be utilised to determine encodings or protocols for + * channels or packets utilising this connection + */ + + versions: VersionSDKType[]; + /** current state of the connection end. */ + + state: StateSDKType; + /** counterparty chain associated with this connection. */ + + counterparty?: CounterpartySDKType | undefined; + /** delay period associated with this connection. */ + + delay_period: Long; +} +/** Counterparty defines the counterparty chain associated with a connection end. */ + +export interface Counterparty { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + clientId: string; + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + + connectionId: string; + /** commitment merkle prefix of the counterparty chain. */ + + prefix?: MerklePrefix | undefined; +} +/** Counterparty defines the counterparty chain associated with a connection end. */ + +export interface CounterpartySDKType { + /** + * identifies the client on the counterparty chain associated with a given + * connection. + */ + client_id: string; + /** + * identifies the connection end on the counterparty chain associated with a + * given connection. + */ + + connection_id: string; + /** commitment merkle prefix of the counterparty chain. */ + + prefix?: MerklePrefixSDKType | undefined; +} +/** ClientPaths define all the connection paths for a client state. */ + +export interface ClientPaths { + /** list of connection paths */ + paths: string[]; +} +/** ClientPaths define all the connection paths for a client state. */ + +export interface ClientPathsSDKType { + /** list of connection paths */ + paths: string[]; +} +/** ConnectionPaths define all the connection paths for a given client state. */ + +export interface ConnectionPaths { + /** client state unique identifier */ + clientId: string; + /** list of connection paths */ + + paths: string[]; +} +/** ConnectionPaths define all the connection paths for a given client state. */ + +export interface ConnectionPathsSDKType { + /** client state unique identifier */ + client_id: string; + /** list of connection paths */ + + paths: string[]; +} +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ + +export interface Version { + /** unique version identifier */ + identifier: string; + /** list of features compatible with the specified identifier */ + + features: string[]; +} +/** + * Version defines the versioning scheme used to negotiate the IBC verison in + * the connection handshake. + */ + +export interface VersionSDKType { + /** unique version identifier */ + identifier: string; + /** list of features compatible with the specified identifier */ + + features: string[]; +} +/** Params defines the set of Connection parameters. */ + +export interface Params { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + maxExpectedTimePerBlock: Long; +} +/** Params defines the set of Connection parameters. */ + +export interface ParamsSDKType { + /** + * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the + * largest amount of time that the chain might reasonably take to produce the next block under normal operating + * conditions. A safe choice is 3-5x the expected time per block. + */ + max_expected_time_per_block: Long; +} + +function createBaseConnectionEnd(): ConnectionEnd { + return { + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const ConnectionEnd = { + encode(message: ConnectionEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(24).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionEnd(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 3: + message.state = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConnectionEnd { + const message = createBaseConnectionEnd(); + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseIdentifiedConnection(): IdentifiedConnection { + return { + id: "", + clientId: "", + versions: [], + state: 0, + counterparty: undefined, + delayPeriod: Long.UZERO + }; +} + +export const IdentifiedConnection = { + encode(message: IdentifiedConnection, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + for (const v of message.versions) { + Version.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (message.state !== 0) { + writer.uint32(32).int32(message.state); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(42).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(48).uint64(message.delayPeriod); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseIdentifiedConnection(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.versions.push(Version.decode(reader, reader.uint32())); + break; + + case 4: + message.state = (reader.int32() as any); + break; + + case 5: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 6: + message.delayPeriod = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): IdentifiedConnection { + const message = createBaseIdentifiedConnection(); + message.id = object.id ?? ""; + message.clientId = object.clientId ?? ""; + message.versions = object.versions?.map(e => Version.fromPartial(e)) || []; + message.state = object.state ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + return message; + } + +}; + +function createBaseCounterparty(): Counterparty { + return { + clientId: "", + connectionId: "", + prefix: undefined + }; +} + +export const Counterparty = { + encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.prefix !== undefined) { + MerklePrefix.encode(message.prefix, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCounterparty(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.prefix = MerklePrefix.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Counterparty { + const message = createBaseCounterparty(); + message.clientId = object.clientId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.prefix = object.prefix !== undefined && object.prefix !== null ? MerklePrefix.fromPartial(object.prefix) : undefined; + return message; + } + +}; + +function createBaseClientPaths(): ClientPaths { + return { + paths: [] + }; +} + +export const ClientPaths = { + encode(message: ClientPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.paths) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientPaths { + const message = createBaseClientPaths(); + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseConnectionPaths(): ConnectionPaths { + return { + clientId: "", + paths: [] + }; +} + +export const ConnectionPaths = { + encode(message: ConnectionPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + for (const v of message.paths) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionPaths(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.paths.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConnectionPaths { + const message = createBaseConnectionPaths(); + message.clientId = object.clientId ?? ""; + message.paths = object.paths?.map(e => e) || []; + return message; + } + +}; + +function createBaseVersion(): Version { + return { + identifier: "", + features: [] + }; +} + +export const Version = { + encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifier !== "") { + writer.uint32(10).string(message.identifier); + } + + for (const v of message.features) { + writer.uint32(18).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Version { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifier = reader.string(); + break; + + case 2: + message.features.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Version { + const message = createBaseVersion(); + message.identifier = object.identifier ?? ""; + message.features = object.features?.map(e => e) || []; + return message; + } + +}; + +function createBaseParams(): Params { + return { + maxExpectedTimePerBlock: Long.UZERO + }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxExpectedTimePerBlock.isZero()) { + writer.uint32(8).uint64(message.maxExpectedTimePerBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.maxExpectedTimePerBlock = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Params { + const message = createBaseParams(); + message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts new file mode 100644 index 000000000..9bc46b727 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/genesis.ts @@ -0,0 +1,98 @@ +import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** GenesisState defines the ibc connection submodule's genesis state. */ + +export interface GenesisState { + connections: IdentifiedConnection[]; + clientConnectionPaths: ConnectionPaths[]; + /** the sequence for the next generated connection identifier */ + + nextConnectionSequence: Long; + params?: Params | undefined; +} +/** GenesisState defines the ibc connection submodule's genesis state. */ + +export interface GenesisStateSDKType { + connections: IdentifiedConnectionSDKType[]; + client_connection_paths: ConnectionPathsSDKType[]; + /** the sequence for the next generated connection identifier */ + + next_connection_sequence: Long; + params?: ParamsSDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + connections: [], + clientConnectionPaths: [], + nextConnectionSequence: Long.UZERO, + params: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.clientConnectionPaths) { + ConnectionPaths.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (!message.nextConnectionSequence.isZero()) { + writer.uint32(24).uint64(message.nextConnectionSequence); + } + + if (message.params !== undefined) { + Params.encode(message.params, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.clientConnectionPaths.push(ConnectionPaths.decode(reader, reader.uint32())); + break; + + case 3: + message.nextConnectionSequence = (reader.uint64() as Long); + break; + + case 4: + message.params = Params.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.clientConnectionPaths = object.clientConnectionPaths?.map(e => ConnectionPaths.fromPartial(e)) || []; + message.nextConnectionSequence = object.nextConnectionSequence !== undefined && object.nextConnectionSequence !== null ? Long.fromValue(object.nextConnectionSequence) : Long.UZERO; + message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts new file mode 100644 index 000000000..5f34519b7 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.lcd.ts @@ -0,0 +1,68 @@ +import { setPaginationParams } from "../../../../helpers"; +import { LCDClient } from "@osmonauts/lcd"; +import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; +export class LCDQueryClient { + req: LCDClient; + + constructor({ + requestClient + }: { + requestClient: LCDClient; + }) { + this.req = requestClient; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); + } + /* Connection queries an IBC connection end. */ + + + async connection(params: QueryConnectionRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}`; + return await this.req.get(endpoint); + } + /* Connections queries all the IBC connections of a chain. */ + + + async connections(params: QueryConnectionsRequest = { + pagination: undefined + }): Promise { + const options: any = { + params: {} + }; + + if (typeof params?.pagination !== "undefined") { + setPaginationParams(options, params.pagination); + } + + const endpoint = `ibc/core/connection/v1/connections`; + return await this.req.get(endpoint, options); + } + /* ClientConnections queries the connection paths associated with a client + state. */ + + + async clientConnections(params: QueryClientConnectionsRequest): Promise { + const endpoint = `ibc/core/connection/v1/client_connections/${params.clientId}`; + return await this.req.get(endpoint); + } + /* ConnectionClientState queries the client state associated with the + connection. */ + + + async connectionClientState(params: QueryConnectionClientStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/client_state`; + return await this.req.get(endpoint); + } + /* ConnectionConsensusState queries the consensus state associated with the + connection. */ + + + async connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise { + const endpoint = `ibc/core/connection/v1/connections/${params.connectionId}/consensus_state/revision/${params.revisionNumber}height/${params.revisionHeight}`; + return await this.req.get(endpoint); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.Query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.Query.ts new file mode 100644 index 000000000..e3af26e15 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.rpc.Query.ts @@ -0,0 +1,102 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; +/** Query provides defines the gRPC querier service */ + +export interface Query { + /** Connection queries an IBC connection end. */ + connection(request: QueryConnectionRequest): Promise; + /** Connections queries all the IBC connections of a chain. */ + + connections(request?: QueryConnectionsRequest): Promise; + /** + * ClientConnections queries the connection paths associated with a client + * state. + */ + + clientConnections(request: QueryClientConnectionsRequest): Promise; + /** + * ConnectionClientState queries the client state associated with the + * connection. + */ + + connectionClientState(request: QueryConnectionClientStateRequest): Promise; + /** + * ConnectionConsensusState queries the consensus state associated with the + * connection. + */ + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connection = this.connection.bind(this); + this.connections = this.connections.bind(this); + this.clientConnections = this.clientConnections.bind(this); + this.connectionClientState = this.connectionClientState.bind(this); + this.connectionConsensusState = this.connectionConsensusState.bind(this); + } + + connection(request: QueryConnectionRequest): Promise { + const data = QueryConnectionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data); + return promise.then(data => QueryConnectionResponse.decode(new _m0.Reader(data))); + } + + connections(request: QueryConnectionsRequest = { + pagination: undefined + }): Promise { + const data = QueryConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data); + return promise.then(data => QueryConnectionsResponse.decode(new _m0.Reader(data))); + } + + clientConnections(request: QueryClientConnectionsRequest): Promise { + const data = QueryClientConnectionsRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data); + return promise.then(data => QueryClientConnectionsResponse.decode(new _m0.Reader(data))); + } + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + const data = QueryConnectionClientStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data); + return promise.then(data => QueryConnectionClientStateResponse.decode(new _m0.Reader(data))); + } + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + const data = QueryConnectionConsensusStateRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data); + return promise.then(data => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + connection(request: QueryConnectionRequest): Promise { + return queryService.connection(request); + }, + + connections(request?: QueryConnectionsRequest): Promise { + return queryService.connections(request); + }, + + clientConnections(request: QueryClientConnectionsRequest): Promise { + return queryService.clientConnections(request); + }, + + connectionClientState(request: QueryConnectionClientStateRequest): Promise { + return queryService.connectionClientState(request); + }, + + connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise { + return queryService.connectionConsensusState(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/query.ts b/examples/telescope/codegen/ibc/core/connection/v1/query.ts new file mode 100644 index 000000000..47a24de55 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/query.ts @@ -0,0 +1,836 @@ +import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; +import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection"; +import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ + +export interface QueryConnectionRequest { + /** connection unique identifier */ + connectionId: string; +} +/** + * QueryConnectionRequest is the request type for the Query/Connection RPC + * method + */ + +export interface QueryConnectionRequestSDKType { + /** connection unique identifier */ + connection_id: string; +} +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ + +export interface QueryConnectionResponse { + /** connection associated with the request identifier */ + connection?: ConnectionEnd | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryConnectionResponse is the response type for the Query/Connection RPC + * method. Besides the connection end, it includes a proof and the height from + * which the proof was retrieved. + */ + +export interface QueryConnectionResponseSDKType { + /** connection associated with the request identifier */ + connection?: ConnectionEndSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ + +export interface QueryConnectionsRequest { + pagination?: PageRequest | undefined; +} +/** + * QueryConnectionsRequest is the request type for the Query/Connections RPC + * method + */ + +export interface QueryConnectionsRequestSDKType { + pagination?: PageRequestSDKType | undefined; +} +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ + +export interface QueryConnectionsResponse { + /** list of stored connections of the chain. */ + connections: IdentifiedConnection[]; + /** pagination response */ + + pagination?: PageResponse | undefined; + /** query block height */ + + height?: Height | undefined; +} +/** + * QueryConnectionsResponse is the response type for the Query/Connections RPC + * method. + */ + +export interface QueryConnectionsResponseSDKType { + /** list of stored connections of the chain. */ + connections: IdentifiedConnectionSDKType[]; + /** pagination response */ + + pagination?: PageResponseSDKType | undefined; + /** query block height */ + + height?: HeightSDKType | undefined; +} +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ + +export interface QueryClientConnectionsRequest { + /** client identifier associated with a connection */ + clientId: string; +} +/** + * QueryClientConnectionsRequest is the request type for the + * Query/ClientConnections RPC method + */ + +export interface QueryClientConnectionsRequestSDKType { + /** client identifier associated with a connection */ + client_id: string; +} +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ + +export interface QueryClientConnectionsResponse { + /** slice of all the connection paths associated with a client. */ + connectionPaths: string[]; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was generated */ + + proofHeight?: Height | undefined; +} +/** + * QueryClientConnectionsResponse is the response type for the + * Query/ClientConnections RPC method + */ + +export interface QueryClientConnectionsResponseSDKType { + /** slice of all the connection paths associated with a client. */ + connection_paths: string[]; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was generated */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateRequest { + /** connection identifier */ + connectionId: string; +} +/** + * QueryConnectionClientStateRequest is the request type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateRequestSDKType { + /** connection identifier */ + connection_id: string; +} +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateResponse { + /** client state associated with the channel */ + identifiedClientState?: IdentifiedClientState | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryConnectionClientStateResponse is the response type for the + * Query/ConnectionClientState RPC method + */ + +export interface QueryConnectionClientStateResponseSDKType { + /** client state associated with the channel */ + identified_client_state?: IdentifiedClientStateSDKType | undefined; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateRequest { + /** connection identifier */ + connectionId: string; + revisionNumber: Long; + revisionHeight: Long; +} +/** + * QueryConnectionConsensusStateRequest is the request type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateRequestSDKType { + /** connection identifier */ + connection_id: string; + revision_number: Long; + revision_height: Long; +} +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateResponse { + /** consensus state associated with the channel */ + consensusState?: Any | undefined; + /** client ID associated with the consensus state */ + + clientId: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proofHeight?: Height | undefined; +} +/** + * QueryConnectionConsensusStateResponse is the response type for the + * Query/ConnectionConsensusState RPC method + */ + +export interface QueryConnectionConsensusStateResponseSDKType { + /** consensus state associated with the channel */ + consensus_state?: AnySDKType | undefined; + /** client ID associated with the consensus state */ + + client_id: string; + /** merkle proof of existence */ + + proof: Uint8Array; + /** height at which the proof was retrieved */ + + proof_height?: HeightSDKType | undefined; +} + +function createBaseQueryConnectionRequest(): QueryConnectionRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionRequest = { + encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionRequest { + const message = createBaseQueryConnectionRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionResponse(): QueryConnectionResponse { + return { + connection: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionResponse = { + encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionResponse { + const message = createBaseQueryConnectionResponse(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { + return { + pagination: undefined + }; +} + +export const QueryConnectionsRequest = { + encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pagination !== undefined) { + PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsRequest(); + + 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; + }, + + fromPartial(object: Partial): QueryConnectionsRequest { + const message = createBaseQueryConnectionsRequest(); + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { + return { + connections: [], + pagination: undefined, + height: undefined + }; +} + +export const QueryConnectionsResponse = { + encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connections) { + IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.pagination !== undefined) { + PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connections.push(IdentifiedConnection.decode(reader, reader.uint32())); + break; + + case 2: + message.pagination = PageResponse.decode(reader, reader.uint32()); + break; + + case 3: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionsResponse { + const message = createBaseQueryConnectionsResponse(); + message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || []; + message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; + +function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest { + return { + clientId: "" + }; +} + +export const QueryClientConnectionsRequest = { + encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientConnectionsRequest { + const message = createBaseQueryClientConnectionsRequest(); + message.clientId = object.clientId ?? ""; + return message; + } + +}; + +function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse { + return { + connectionPaths: [], + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryClientConnectionsResponse = { + encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.connectionPaths) { + writer.uint32(10).string(v!); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryClientConnectionsResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionPaths.push(reader.string()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryClientConnectionsResponse { + const message = createBaseQueryClientConnectionsResponse(); + message.connectionPaths = object.connectionPaths?.map(e => e) || []; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest { + return { + connectionId: "" + }; +} + +export const QueryConnectionClientStateRequest = { + encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionClientStateRequest { + const message = createBaseQueryConnectionClientStateRequest(); + message.connectionId = object.connectionId ?? ""; + return message; + } + +}; + +function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { + return { + identifiedClientState: undefined, + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionClientStateResponse = { + encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.identifiedClientState !== undefined) { + IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim(); + } + + if (message.proof.length !== 0) { + writer.uint32(18).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionClientStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32()); + break; + + case 2: + message.proof = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionClientStateResponse { + const message = createBaseQueryConnectionClientStateResponse(); + message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest { + return { + connectionId: "", + revisionNumber: Long.UZERO, + revisionHeight: Long.UZERO + }; +} + +export const QueryConnectionConsensusStateRequest = { + encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (!message.revisionNumber.isZero()) { + writer.uint32(16).uint64(message.revisionNumber); + } + + if (!message.revisionHeight.isZero()) { + writer.uint32(24).uint64(message.revisionHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.revisionNumber = (reader.uint64() as Long); + break; + + case 3: + message.revisionHeight = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionConsensusStateRequest { + const message = createBaseQueryConnectionConsensusStateRequest(); + message.connectionId = object.connectionId ?? ""; + message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO; + message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO; + return message; + } + +}; + +function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse { + return { + consensusState: undefined, + clientId: "", + proof: new Uint8Array(), + proofHeight: undefined + }; +} + +export const QueryConnectionConsensusStateResponse = { + encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim(); + } + + if (message.clientId !== "") { + writer.uint32(18).string(message.clientId); + } + + if (message.proof.length !== 0) { + writer.uint32(26).bytes(message.proof); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryConnectionConsensusStateResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.clientId = reader.string(); + break; + + case 3: + message.proof = reader.bytes(); + break; + + case 4: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryConnectionConsensusStateResponse { + const message = createBaseQueryConnectionConsensusStateResponse(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + message.clientId = object.clientId ?? ""; + message.proof = object.proof ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts new file mode 100644 index 000000000..cf870e601 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.amino.ts @@ -0,0 +1,343 @@ +import { AminoMsg } from "@cosmjs/amino"; +import { AminoHeight, Long, omitDefault } from "../../../../helpers"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export interface AminoMsgConnectionOpenInit extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenInit"; + value: { + client_id: string; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + version: { + identifier: string; + features: string[]; + }; + delay_period: string; + signer: string; + }; +} +export interface AminoMsgConnectionOpenTry extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenTry"; + value: { + client_id: string; + previous_connection_id: string; + client_state: { + type_url: string; + value: Uint8Array; + }; + counterparty: { + client_id: string; + connection_id: string; + prefix: { + key_prefix: Uint8Array; + }; + }; + delay_period: string; + counterparty_versions: { + identifier: string; + features: string[]; + }[]; + proof_height: AminoHeight; + proof_init: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenAck extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenAck"; + value: { + connection_id: string; + counterparty_connection_id: string; + version: { + identifier: string; + features: string[]; + }; + client_state: { + type_url: string; + value: Uint8Array; + }; + proof_height: AminoHeight; + proof_try: Uint8Array; + proof_client: Uint8Array; + proof_consensus: Uint8Array; + consensus_height: AminoHeight; + signer: string; + }; +} +export interface AminoMsgConnectionOpenConfirm extends AminoMsg { + type: "cosmos-sdk/MsgConnectionOpenConfirm"; + value: { + connection_id: string; + proof_ack: Uint8Array; + proof_height: AminoHeight; + signer: string; + }; +} +export const AminoConverter = { + "/ibc.core.connection.v1.MsgConnectionOpenInit": { + aminoType: "cosmos-sdk/MsgConnectionOpenInit", + toAmino: ({ + clientId, + counterparty, + version, + delayPeriod, + signer + }: MsgConnectionOpenInit): AminoMsgConnectionOpenInit["value"] => { + return { + client_id: clientId, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delay_period: delayPeriod.toString(), + signer + }; + }, + fromAmino: ({ + client_id, + counterparty, + version, + delay_period, + signer + }: AminoMsgConnectionOpenInit["value"]): MsgConnectionOpenInit => { + return { + clientId: client_id, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + version: { + identifier: version.identifier, + features: version.features + }, + delayPeriod: Long.fromString(delay_period), + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenTry": { + aminoType: "cosmos-sdk/MsgConnectionOpenTry", + toAmino: ({ + clientId, + previousConnectionId, + clientState, + counterparty, + delayPeriod, + counterpartyVersions, + proofHeight, + proofInit, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenTry): AminoMsgConnectionOpenTry["value"] => { + return { + client_id: clientId, + previous_connection_id: previousConnectionId, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + counterparty: { + client_id: counterparty.clientId, + connection_id: counterparty.connectionId, + prefix: { + key_prefix: counterparty.prefix.keyPrefix + } + }, + delay_period: delayPeriod.toString(), + counterparty_versions: counterpartyVersions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_init: proofInit, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + client_id, + previous_connection_id, + client_state, + counterparty, + delay_period, + counterparty_versions, + proof_height, + proof_init, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenTry["value"]): MsgConnectionOpenTry => { + return { + clientId: client_id, + previousConnectionId: previous_connection_id, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + counterparty: { + clientId: counterparty.client_id, + connectionId: counterparty.connection_id, + prefix: { + keyPrefix: counterparty.prefix.key_prefix + } + }, + delayPeriod: Long.fromString(delay_period), + counterpartyVersions: counterparty_versions.map(el0 => ({ + identifier: el0.identifier, + features: el0.features + })), + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofInit: proof_init, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenAck": { + aminoType: "cosmos-sdk/MsgConnectionOpenAck", + toAmino: ({ + connectionId, + counterpartyConnectionId, + version, + clientState, + proofHeight, + proofTry, + proofClient, + proofConsensus, + consensusHeight, + signer + }: MsgConnectionOpenAck): AminoMsgConnectionOpenAck["value"] => { + return { + connection_id: connectionId, + counterparty_connection_id: counterpartyConnectionId, + version: { + identifier: version.identifier, + features: version.features + }, + client_state: { + type_url: clientState.typeUrl, + value: clientState.value + }, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + proof_try: proofTry, + proof_client: proofClient, + proof_consensus: proofConsensus, + consensus_height: consensusHeight ? { + revision_height: omitDefault(consensusHeight.revisionHeight)?.toString(), + revision_number: omitDefault(consensusHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + counterparty_connection_id, + version, + client_state, + proof_height, + proof_try, + proof_client, + proof_consensus, + consensus_height, + signer + }: AminoMsgConnectionOpenAck["value"]): MsgConnectionOpenAck => { + return { + connectionId: connection_id, + counterpartyConnectionId: counterparty_connection_id, + version: { + identifier: version.identifier, + features: version.features + }, + clientState: { + typeUrl: client_state.type_url, + value: client_state.value + }, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + proofTry: proof_try, + proofClient: proof_client, + proofConsensus: proof_consensus, + consensusHeight: consensus_height ? { + revisionHeight: Long.fromString(consensus_height.revision_height || "0", true), + revisionNumber: Long.fromString(consensus_height.revision_number || "0", true) + } : undefined, + signer + }; + } + }, + "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { + aminoType: "cosmos-sdk/MsgConnectionOpenConfirm", + toAmino: ({ + connectionId, + proofAck, + proofHeight, + signer + }: MsgConnectionOpenConfirm): AminoMsgConnectionOpenConfirm["value"] => { + return { + connection_id: connectionId, + proof_ack: proofAck, + proof_height: proofHeight ? { + revision_height: omitDefault(proofHeight.revisionHeight)?.toString(), + revision_number: omitDefault(proofHeight.revisionNumber)?.toString() + } : {}, + signer + }; + }, + fromAmino: ({ + connection_id, + proof_ack, + proof_height, + signer + }: AminoMsgConnectionOpenConfirm["value"]): MsgConnectionOpenConfirm => { + return { + connectionId: connection_id, + proofAck: proof_ack, + proofHeight: proof_height ? { + revisionHeight: Long.fromString(proof_height.revision_height || "0", true), + revisionNumber: Long.fromString(proof_height.revision_number || "0", true) + } : undefined, + signer + }; + } + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts new file mode 100644 index 000000000..1cc79cfa4 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.registry.ts @@ -0,0 +1,100 @@ +import { GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; +export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm]]; +export const load = (protoRegistry: Registry) => { + registry.forEach(([typeUrl, mod]) => { + protoRegistry.register(typeUrl, mod); + }); +}; +export const MessageComposer = { + encoded: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.encode(value).finish() + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.encode(value).finish() + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.encode(value).finish() + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.encode(value).finish() + }; + } + + }, + withTypeUrl: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value + }; + } + + }, + fromPartial: { + connectionOpenInit(value: MsgConnectionOpenInit) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit", + value: MsgConnectionOpenInit.fromPartial(value) + }; + }, + + connectionOpenTry(value: MsgConnectionOpenTry) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry", + value: MsgConnectionOpenTry.fromPartial(value) + }; + }, + + connectionOpenAck(value: MsgConnectionOpenAck) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck", + value: MsgConnectionOpenAck.fromPartial(value) + }; + }, + + connectionOpenConfirm(value: MsgConnectionOpenConfirm) { + return { + typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm", + value: MsgConnectionOpenConfirm.fromPartial(value) + }; + } + + } +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts new file mode 100644 index 000000000..bfda3f8cf --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.rpc.msg.ts @@ -0,0 +1,57 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx"; +/** Msg defines the ibc/connection Msg service. */ + +export interface Msg { + /** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */ + connectionOpenInit(request: MsgConnectionOpenInit): Promise; + /** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */ + + connectionOpenTry(request: MsgConnectionOpenTry): Promise; + /** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */ + + connectionOpenAck(request: MsgConnectionOpenAck): Promise; + /** + * ConnectionOpenConfirm defines a rpc handler method for + * MsgConnectionOpenConfirm. + */ + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; +} +export class MsgClientImpl implements Msg { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.connectionOpenInit = this.connectionOpenInit.bind(this); + this.connectionOpenTry = this.connectionOpenTry.bind(this); + this.connectionOpenAck = this.connectionOpenAck.bind(this); + this.connectionOpenConfirm = this.connectionOpenConfirm.bind(this); + } + + connectionOpenInit(request: MsgConnectionOpenInit): Promise { + const data = MsgConnectionOpenInit.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenInit", data); + return promise.then(data => MsgConnectionOpenInitResponse.decode(new _m0.Reader(data))); + } + + connectionOpenTry(request: MsgConnectionOpenTry): Promise { + const data = MsgConnectionOpenTry.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenTry", data); + return promise.then(data => MsgConnectionOpenTryResponse.decode(new _m0.Reader(data))); + } + + connectionOpenAck(request: MsgConnectionOpenAck): Promise { + const data = MsgConnectionOpenAck.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenAck", data); + return promise.then(data => MsgConnectionOpenAckResponse.decode(new _m0.Reader(data))); + } + + connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise { + const data = MsgConnectionOpenConfirm.encode(request).finish(); + const promise = this.rpc.request("ibc.core.connection.v1.Msg", "ConnectionOpenConfirm", data); + return promise.then(data => MsgConnectionOpenConfirmResponse.decode(new _m0.Reader(data))); + } + +} \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/connection/v1/tx.ts b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts new file mode 100644 index 000000000..e4f7ba63a --- /dev/null +++ b/examples/telescope/codegen/ibc/core/connection/v1/tx.ts @@ -0,0 +1,795 @@ +import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { Height, HeightSDKType } from "../../client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ + +export interface MsgConnectionOpenInit { + clientId: string; + counterparty?: Counterparty | undefined; + version?: Version | undefined; + delayPeriod: Long; + signer: string; +} +/** + * MsgConnectionOpenInit defines the msg sent by an account on Chain A to + * initialize a connection with Chain B. + */ + +export interface MsgConnectionOpenInitSDKType { + client_id: string; + counterparty?: CounterpartySDKType | undefined; + version?: VersionSDKType | undefined; + delay_period: Long; + signer: string; +} +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ + +export interface MsgConnectionOpenInitResponse {} +/** + * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response + * type. + */ + +export interface MsgConnectionOpenInitResponseSDKType {} +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ + +export interface MsgConnectionOpenTry { + clientId: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + + previousConnectionId: string; + clientState?: Any | undefined; + counterparty?: Counterparty | undefined; + delayPeriod: Long; + counterpartyVersions: Version[]; + proofHeight?: Height | undefined; + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + + proofInit: Uint8Array; + /** proof of client state included in message */ + + proofClient: Uint8Array; + /** proof of client consensus state */ + + proofConsensus: Uint8Array; + consensusHeight?: Height | undefined; + signer: string; +} +/** + * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a + * connection on Chain B. + */ + +export interface MsgConnectionOpenTrySDKType { + client_id: string; + /** + * in the case of crossing hello's, when both chains call OpenInit, we need + * the connection identifier of the previous connection in state INIT + */ + + previous_connection_id: string; + client_state?: AnySDKType | undefined; + counterparty?: CounterpartySDKType | undefined; + delay_period: Long; + counterparty_versions: VersionSDKType[]; + proof_height?: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain A: `UNITIALIZED -> + * INIT` + */ + + proof_init: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ + +export interface MsgConnectionOpenTryResponse {} +/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ + +export interface MsgConnectionOpenTryResponseSDKType {} +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ + +export interface MsgConnectionOpenAck { + connectionId: string; + counterpartyConnectionId: string; + version?: Version | undefined; + clientState?: Any | undefined; + proofHeight?: Height | undefined; + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + + proofTry: Uint8Array; + /** proof of client state included in message */ + + proofClient: Uint8Array; + /** proof of client consensus state */ + + proofConsensus: Uint8Array; + consensusHeight?: Height | undefined; + signer: string; +} +/** + * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to + * acknowledge the change of connection state to TRYOPEN on Chain B. + */ + +export interface MsgConnectionOpenAckSDKType { + connection_id: string; + counterparty_connection_id: string; + version?: VersionSDKType | undefined; + client_state?: AnySDKType | undefined; + proof_height?: HeightSDKType | undefined; + /** + * proof of the initialization the connection on Chain B: `UNITIALIZED -> + * TRYOPEN` + */ + + proof_try: Uint8Array; + /** proof of client state included in message */ + + proof_client: Uint8Array; + /** proof of client consensus state */ + + proof_consensus: Uint8Array; + consensus_height?: HeightSDKType | undefined; + signer: string; +} +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ + +export interface MsgConnectionOpenAckResponse {} +/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ + +export interface MsgConnectionOpenAckResponseSDKType {} +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ + +export interface MsgConnectionOpenConfirm { + connectionId: string; + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + + proofAck: Uint8Array; + proofHeight?: Height | undefined; + signer: string; +} +/** + * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to + * acknowledge the change of connection state to OPEN on Chain A. + */ + +export interface MsgConnectionOpenConfirmSDKType { + connection_id: string; + /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ + + proof_ack: Uint8Array; + proof_height?: HeightSDKType | undefined; + signer: string; +} +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ + +export interface MsgConnectionOpenConfirmResponse {} +/** + * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm + * response type. + */ + +export interface MsgConnectionOpenConfirmResponseSDKType {} + +function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { + return { + clientId: "", + counterparty: undefined, + version: undefined, + delayPeriod: Long.UZERO, + signer: "" + }; +} + +export const MsgConnectionOpenInit = { + encode(message: MsgConnectionOpenInit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(18).fork()).ldelim(); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(32).uint64(message.delayPeriod); + } + + if (message.signer !== "") { + writer.uint32(42).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 5: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgConnectionOpenInit { + const message = createBaseMsgConnectionOpenInit(); + message.clientId = object.clientId ?? ""; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenInitResponse(): MsgConnectionOpenInitResponse { + return {}; +} + +export const MsgConnectionOpenInitResponse = { + encode(_: MsgConnectionOpenInitResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenInitResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgConnectionOpenInitResponse { + const message = createBaseMsgConnectionOpenInitResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { + return { + clientId: "", + previousConnectionId: "", + clientState: undefined, + counterparty: undefined, + delayPeriod: Long.UZERO, + counterpartyVersions: [], + proofHeight: undefined, + proofInit: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenTry = { + encode(message: MsgConnectionOpenTry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.previousConnectionId !== "") { + writer.uint32(18).string(message.previousConnectionId); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(26).fork()).ldelim(); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (!message.delayPeriod.isZero()) { + writer.uint32(40).uint64(message.delayPeriod); + } + + for (const v of message.counterpartyVersions) { + Version.encode(v!, writer.uint32(50).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(58).fork()).ldelim(); + } + + if (message.proofInit.length !== 0) { + writer.uint32(66).bytes(message.proofInit); + } + + if (message.proofClient.length !== 0) { + writer.uint32(74).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(82).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(90).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(98).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTry(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.previousConnectionId = reader.string(); + break; + + case 3: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.delayPeriod = (reader.uint64() as Long); + break; + + case 6: + message.counterpartyVersions.push(Version.decode(reader, reader.uint32())); + break; + + case 7: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofInit = reader.bytes(); + break; + + case 9: + message.proofClient = reader.bytes(); + break; + + case 10: + message.proofConsensus = reader.bytes(); + break; + + case 11: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 12: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgConnectionOpenTry { + const message = createBaseMsgConnectionOpenTry(); + message.clientId = object.clientId ?? ""; + message.previousConnectionId = object.previousConnectionId ?? ""; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO; + message.counterpartyVersions = object.counterpartyVersions?.map(e => Version.fromPartial(e)) || []; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofInit = object.proofInit ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenTryResponse(): MsgConnectionOpenTryResponse { + return {}; +} + +export const MsgConnectionOpenTryResponse = { + encode(_: MsgConnectionOpenTryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenTryResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgConnectionOpenTryResponse { + const message = createBaseMsgConnectionOpenTryResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { + return { + connectionId: "", + counterpartyConnectionId: "", + version: undefined, + clientState: undefined, + proofHeight: undefined, + proofTry: new Uint8Array(), + proofClient: new Uint8Array(), + proofConsensus: new Uint8Array(), + consensusHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenAck = { + encode(message: MsgConnectionOpenAck, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.counterpartyConnectionId !== "") { + writer.uint32(18).string(message.counterpartyConnectionId); + } + + if (message.version !== undefined) { + Version.encode(message.version, writer.uint32(26).fork()).ldelim(); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(34).fork()).ldelim(); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim(); + } + + if (message.proofTry.length !== 0) { + writer.uint32(50).bytes(message.proofTry); + } + + if (message.proofClient.length !== 0) { + writer.uint32(58).bytes(message.proofClient); + } + + if (message.proofConsensus.length !== 0) { + writer.uint32(66).bytes(message.proofConsensus); + } + + if (message.consensusHeight !== undefined) { + Height.encode(message.consensusHeight, writer.uint32(74).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(82).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAck(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.counterpartyConnectionId = reader.string(); + break; + + case 3: + message.version = Version.decode(reader, reader.uint32()); + break; + + case 4: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 6: + message.proofTry = reader.bytes(); + break; + + case 7: + message.proofClient = reader.bytes(); + break; + + case 8: + message.proofConsensus = reader.bytes(); + break; + + case 9: + message.consensusHeight = Height.decode(reader, reader.uint32()); + break; + + case 10: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgConnectionOpenAck { + const message = createBaseMsgConnectionOpenAck(); + message.connectionId = object.connectionId ?? ""; + message.counterpartyConnectionId = object.counterpartyConnectionId ?? ""; + message.version = object.version !== undefined && object.version !== null ? Version.fromPartial(object.version) : undefined; + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.proofTry = object.proofTry ?? new Uint8Array(); + message.proofClient = object.proofClient ?? new Uint8Array(); + message.proofConsensus = object.proofConsensus ?? new Uint8Array(); + message.consensusHeight = object.consensusHeight !== undefined && object.consensusHeight !== null ? Height.fromPartial(object.consensusHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenAckResponse(): MsgConnectionOpenAckResponse { + return {}; +} + +export const MsgConnectionOpenAckResponse = { + encode(_: MsgConnectionOpenAckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenAckResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgConnectionOpenAckResponse { + const message = createBaseMsgConnectionOpenAckResponse(); + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { + return { + connectionId: "", + proofAck: new Uint8Array(), + proofHeight: undefined, + signer: "" + }; +} + +export const MsgConnectionOpenConfirm = { + encode(message: MsgConnectionOpenConfirm, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.connectionId !== "") { + writer.uint32(10).string(message.connectionId); + } + + if (message.proofAck.length !== 0) { + writer.uint32(18).bytes(message.proofAck); + } + + if (message.proofHeight !== undefined) { + Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.signer !== "") { + writer.uint32(34).string(message.signer); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirm(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.connectionId = reader.string(); + break; + + case 2: + message.proofAck = reader.bytes(); + break; + + case 3: + message.proofHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.signer = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): MsgConnectionOpenConfirm { + const message = createBaseMsgConnectionOpenConfirm(); + message.connectionId = object.connectionId ?? ""; + message.proofAck = object.proofAck ?? new Uint8Array(); + message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined; + message.signer = object.signer ?? ""; + return message; + } + +}; + +function createBaseMsgConnectionOpenConfirmResponse(): MsgConnectionOpenConfirmResponse { + return {}; +} + +export const MsgConnectionOpenConfirmResponse = { + encode(_: MsgConnectionOpenConfirmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgConnectionOpenConfirmResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): MsgConnectionOpenConfirmResponse { + const message = createBaseMsgConnectionOpenConfirmResponse(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.rpc.Query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.Query.ts new file mode 100644 index 000000000..df3c124c1 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/port/v1/query.rpc.Query.ts @@ -0,0 +1,35 @@ +import { Rpc } from "../../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; +/** Query defines the gRPC querier service */ + +export interface Query { + /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ + appVersion(request: QueryAppVersionRequest): Promise; +} +export class QueryClientImpl implements Query { + private readonly rpc: Rpc; + + constructor(rpc: Rpc) { + this.rpc = rpc; + this.appVersion = this.appVersion.bind(this); + } + + appVersion(request: QueryAppVersionRequest): Promise { + const data = QueryAppVersionRequest.encode(request).finish(); + const promise = this.rpc.request("ibc.core.port.v1.Query", "AppVersion", data); + return promise.then(data => QueryAppVersionResponse.decode(new _m0.Reader(data))); + } + +} +export const createRpcQueryExtension = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + appVersion(request: QueryAppVersionRequest): Promise { + return queryService.appVersion(request); + } + + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/port/v1/query.ts b/examples/telescope/codegen/ibc/core/port/v1/query.ts new file mode 100644 index 000000000..933166edc --- /dev/null +++ b/examples/telescope/codegen/ibc/core/port/v1/query.ts @@ -0,0 +1,196 @@ +import { Order, OrderSDKType, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ + +export interface QueryAppVersionRequest { + /** port unique identifier */ + portId: string; + /** connection unique identifier */ + + connectionId: string; + /** whether the channel is ordered or unordered */ + + ordering: Order; + /** counterparty channel end */ + + counterparty?: Counterparty | undefined; + /** proposed version */ + + proposedVersion: string; +} +/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ + +export interface QueryAppVersionRequestSDKType { + /** port unique identifier */ + port_id: string; + /** connection unique identifier */ + + connection_id: string; + /** whether the channel is ordered or unordered */ + + ordering: OrderSDKType; + /** counterparty channel end */ + + counterparty?: CounterpartySDKType | undefined; + /** proposed version */ + + proposed_version: string; +} +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + +export interface QueryAppVersionResponse { + /** port id associated with the request identifiers */ + portId: string; + /** supported app version */ + + version: string; +} +/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ + +export interface QueryAppVersionResponseSDKType { + /** port id associated with the request identifiers */ + port_id: string; + /** supported app version */ + + version: string; +} + +function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { + return { + portId: "", + connectionId: "", + ordering: 0, + counterparty: undefined, + proposedVersion: "" + }; +} + +export const QueryAppVersionRequest = { + encode(message: QueryAppVersionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.connectionId !== "") { + writer.uint32(18).string(message.connectionId); + } + + if (message.ordering !== 0) { + writer.uint32(24).int32(message.ordering); + } + + if (message.counterparty !== undefined) { + Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim(); + } + + if (message.proposedVersion !== "") { + writer.uint32(42).string(message.proposedVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.connectionId = reader.string(); + break; + + case 3: + message.ordering = (reader.int32() as any); + break; + + case 4: + message.counterparty = Counterparty.decode(reader, reader.uint32()); + break; + + case 5: + message.proposedVersion = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAppVersionRequest { + const message = createBaseQueryAppVersionRequest(); + message.portId = object.portId ?? ""; + message.connectionId = object.connectionId ?? ""; + message.ordering = object.ordering ?? 0; + message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined; + message.proposedVersion = object.proposedVersion ?? ""; + return message; + } + +}; + +function createBaseQueryAppVersionResponse(): QueryAppVersionResponse { + return { + portId: "", + version: "" + }; +} + +export const QueryAppVersionResponse = { + encode(message: QueryAppVersionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.portId !== "") { + writer.uint32(10).string(message.portId); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseQueryAppVersionResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.portId = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): QueryAppVersionResponse { + const message = createBaseQueryAppVersionResponse(); + message.portId = object.portId ?? ""; + message.version = object.version ?? ""; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/core/types/v1/genesis.ts b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts new file mode 100644 index 000000000..9a8843a04 --- /dev/null +++ b/examples/telescope/codegen/ibc/core/types/v1/genesis.ts @@ -0,0 +1,97 @@ +//@ts-nocheck +import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; +import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis"; +import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; +import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis"; +import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; +import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis"; +import * as _m0 from "protobufjs/minimal"; +/** GenesisState defines the ibc module's genesis state. */ + +export interface GenesisState { + /** ICS002 - Clients genesis state */ + clientGenesis?: GenesisState1 | undefined; + /** ICS003 - Connections genesis state */ + + connectionGenesis?: GenesisState2 | undefined; + /** ICS004 - Channel genesis state */ + + channelGenesis?: GenesisState3 | undefined; +} +/** GenesisState defines the ibc module's genesis state. */ + +export interface GenesisStateSDKType { + /** ICS002 - Clients genesis state */ + client_genesis?: GenesisState1SDKType | undefined; + /** ICS003 - Connections genesis state */ + + connection_genesis?: GenesisState2SDKType | undefined; + /** ICS004 - Channel genesis state */ + + channel_genesis?: GenesisState3SDKType | undefined; +} + +function createBaseGenesisState(): GenesisState { + return { + clientGenesis: undefined, + connectionGenesis: undefined, + channelGenesis: undefined + }; +} + +export const GenesisState = { + encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientGenesis !== undefined) { + GenesisState1.encode(message.clientGenesis, writer.uint32(10).fork()).ldelim(); + } + + if (message.connectionGenesis !== undefined) { + GenesisState2.encode(message.connectionGenesis, writer.uint32(18).fork()).ldelim(); + } + + if (message.channelGenesis !== undefined) { + GenesisState3.encode(message.channelGenesis, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.clientGenesis = GenesisState1.decode(reader, reader.uint32()); + break; + + case 2: + message.connectionGenesis = GenesisState2.decode(reader, reader.uint32()); + break; + + case 3: + message.channelGenesis = GenesisState3.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): GenesisState { + const message = createBaseGenesisState(); + message.clientGenesis = object.clientGenesis !== undefined && object.clientGenesis !== null ? GenesisState1.fromPartial(object.clientGenesis) : undefined; + message.connectionGenesis = object.connectionGenesis !== undefined && object.connectionGenesis !== null ? GenesisState2.fromPartial(object.connectionGenesis) : undefined; + message.channelGenesis = object.channelGenesis !== undefined && object.channelGenesis !== null ? GenesisState3.fromPartial(object.channelGenesis) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lcd.ts b/examples/telescope/codegen/ibc/lcd.ts new file mode 100644 index 000000000..100c9f9c4 --- /dev/null +++ b/examples/telescope/codegen/ibc/lcd.ts @@ -0,0 +1,125 @@ +import { LCDClient } from "@osmonauts/lcd"; +export const createLCDClient = async ({ + restEndpoint +}: { + restEndpoint: string; +}) => { + const requestClient = new LCDClient({ + restEndpoint + }); + return { + cosmos: { + auth: { + v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + bank: { + v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + base: { + tendermint: { + v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + distribution: { + v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ + requestClient + }), + v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + group: { + v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + mint: { + v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ + 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 + }) + }, + tx: { + v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ + requestClient + }) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + client: { + v1: new (await import("./core/client/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + }, + connection: { + v1: new (await import("./core/connection/v1/query.lcd")).LCDQueryClient({ + requestClient + }) + } + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts new file mode 100644 index 000000000..2e3f7d916 --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/localhost/v1/localhost.ts @@ -0,0 +1,81 @@ +import { Height, HeightSDKType } from "../../../core/client/v1/client"; +import * as _m0 from "protobufjs/minimal"; +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ + +export interface ClientState { + /** self chain ID */ + chainId: string; + /** self latest block height */ + + height?: Height | undefined; +} +/** + * ClientState defines a loopback (localhost) client. It requires (read-only) + * access to keys outside the client prefix. + */ + +export interface ClientStateSDKType { + /** self chain ID */ + chain_id: string; + /** self latest block height */ + + height?: HeightSDKType | undefined; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + height: undefined + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.height !== undefined) { + Height.encode(message.height, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.height = Height.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts new file mode 100644 index 000000000..3193aa6bf --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v1/solomachine.ts @@ -0,0 +1,1500 @@ +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + case DataType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ + +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + frozenSequence: Long; + consensusState?: ConsensusState | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allowUpdateAfterProposal: boolean; +} +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ + +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + frozen_sequence: Long; + consensus_state?: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusState { + /** public key of the solo machine */ + publicKey?: Any | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + + diversifier: string; + timestamp: Long; +} +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key?: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + + diversifier: string; + timestamp: Long; +} +/** Header defines a solo machine consensus header */ + +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey?: Any | undefined; + newDiversifier: string; +} +/** Header defines a solo machine consensus header */ + +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key?: AnySDKType | undefined; + new_diversifier: string; +} +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ + +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; +} +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ + +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; +} +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ + +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ + +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ + +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ + +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + + dataType: DataType; + /** marshaled data */ + + data: Uint8Array; +} +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} +/** HeaderData returns the SignBytes data for update verification. */ + +export interface HeaderData { + /** header public key */ + newPubKey?: Any | undefined; + /** header diversifier */ + + newDiversifier: string; +} +/** HeaderData returns the SignBytes data for update verification. */ + +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key?: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} +/** ClientStateData returns the SignBytes data for client state verification. */ + +export interface ClientStateData { + path: Uint8Array; + clientState?: Any | undefined; +} +/** ClientStateData returns the SignBytes data for client state verification. */ + +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state?: AnySDKType | undefined; +} +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ + +export interface ConsensusStateData { + path: Uint8Array; + consensusState?: Any | undefined; +} +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ + +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state?: AnySDKType | undefined; +} +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ + +export interface ConnectionStateData { + path: Uint8Array; + connection?: ConnectionEnd | undefined; +} +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ + +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection?: ConnectionEndSDKType | undefined; +} +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ + +export interface ChannelStateData { + path: Uint8Array; + channel?: Channel | undefined; +} +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ + +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel?: ChannelSDKType | undefined; +} +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ + +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ + +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ + +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ + +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ + +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ + +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + frozenSequence: Long.UZERO, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.frozenSequence.isZero()) { + writer.uint32(16).uint64(message.frozenSequence); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.frozenSequence = (reader.uint64() as Long); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.frozenSequence = object.frozenSequence !== undefined && object.frozenSequence !== null ? Long.fromValue(object.frozenSequence) : Long.UZERO; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts new file mode 100644 index 000000000..c7a3d08be --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/solomachine/v2/solomachine.ts @@ -0,0 +1,1500 @@ +import { Any, AnySDKType } from "../../../../google/protobuf/any"; +import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; +import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../../helpers"; +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +/** + * DataType defines the type of solo machine proof being created. This is done + * to preserve uniqueness of different data sign byte encodings. + */ + +export enum DataTypeSDKType { + /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, + + /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ + DATA_TYPE_CLIENT_STATE = 1, + + /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ + DATA_TYPE_CONSENSUS_STATE = 2, + + /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ + DATA_TYPE_CONNECTION_STATE = 3, + + /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ + DATA_TYPE_CHANNEL_STATE = 4, + + /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ + DATA_TYPE_PACKET_COMMITMENT = 5, + + /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, + + /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, + + /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ + DATA_TYPE_NEXT_SEQUENCE_RECV = 8, + + /** DATA_TYPE_HEADER - Data type for header verification */ + DATA_TYPE_HEADER = 9, + UNRECOGNIZED = -1, +} +export function dataTypeFromJSON(object: any): DataType { + switch (object) { + case 0: + case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": + return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED; + + case 1: + case "DATA_TYPE_CLIENT_STATE": + return DataType.DATA_TYPE_CLIENT_STATE; + + case 2: + case "DATA_TYPE_CONSENSUS_STATE": + return DataType.DATA_TYPE_CONSENSUS_STATE; + + case 3: + case "DATA_TYPE_CONNECTION_STATE": + return DataType.DATA_TYPE_CONNECTION_STATE; + + case 4: + case "DATA_TYPE_CHANNEL_STATE": + return DataType.DATA_TYPE_CHANNEL_STATE; + + case 5: + case "DATA_TYPE_PACKET_COMMITMENT": + return DataType.DATA_TYPE_PACKET_COMMITMENT; + + case 6: + case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": + return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT; + + case 7: + case "DATA_TYPE_PACKET_RECEIPT_ABSENCE": + return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE; + + case 8: + case "DATA_TYPE_NEXT_SEQUENCE_RECV": + return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV; + + case 9: + case "DATA_TYPE_HEADER": + return DataType.DATA_TYPE_HEADER; + + case -1: + case "UNRECOGNIZED": + default: + return DataType.UNRECOGNIZED; + } +} +export function dataTypeToJSON(object: DataType): string { + switch (object) { + case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED: + return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED"; + + case DataType.DATA_TYPE_CLIENT_STATE: + return "DATA_TYPE_CLIENT_STATE"; + + case DataType.DATA_TYPE_CONSENSUS_STATE: + return "DATA_TYPE_CONSENSUS_STATE"; + + case DataType.DATA_TYPE_CONNECTION_STATE: + return "DATA_TYPE_CONNECTION_STATE"; + + case DataType.DATA_TYPE_CHANNEL_STATE: + return "DATA_TYPE_CHANNEL_STATE"; + + case DataType.DATA_TYPE_PACKET_COMMITMENT: + return "DATA_TYPE_PACKET_COMMITMENT"; + + case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT: + return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT"; + + case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE: + return "DATA_TYPE_PACKET_RECEIPT_ABSENCE"; + + case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV: + return "DATA_TYPE_NEXT_SEQUENCE_RECV"; + + case DataType.DATA_TYPE_HEADER: + return "DATA_TYPE_HEADER"; + + case DataType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ + +export interface ClientState { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + isFrozen: boolean; + consensusState?: ConsensusState | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allowUpdateAfterProposal: boolean; +} +/** + * ClientState defines a solo machine client that tracks the current consensus + * state and if the client is frozen. + */ + +export interface ClientStateSDKType { + /** latest sequence of the client state */ + sequence: Long; + /** frozen sequence of the solo machine */ + + is_frozen: boolean; + consensus_state?: ConsensusStateSDKType | undefined; + /** + * when set to true, will allow governance to update a solo machine client. + * The client will be unfrozen if it is frozen. + */ + + allow_update_after_proposal: boolean; +} +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusState { + /** public key of the solo machine */ + publicKey?: Any | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + + diversifier: string; + timestamp: Long; +} +/** + * ConsensusState defines a solo machine consensus state. The sequence of a + * consensus state is contained in the "height" key used in storing the + * consensus state. + */ + +export interface ConsensusStateSDKType { + /** public key of the solo machine */ + public_key?: AnySDKType | undefined; + /** + * diversifier allows the same public key to be re-used across different solo + * machine clients (potentially on different chains) without being considered + * misbehaviour. + */ + + diversifier: string; + timestamp: Long; +} +/** Header defines a solo machine consensus header */ + +export interface Header { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + newPublicKey?: Any | undefined; + newDiversifier: string; +} +/** Header defines a solo machine consensus header */ + +export interface HeaderSDKType { + /** sequence to update solo machine public key at */ + sequence: Long; + timestamp: Long; + signature: Uint8Array; + new_public_key?: AnySDKType | undefined; + new_diversifier: string; +} +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ + +export interface Misbehaviour { + clientId: string; + sequence: Long; + signatureOne?: SignatureAndData | undefined; + signatureTwo?: SignatureAndData | undefined; +} +/** + * Misbehaviour defines misbehaviour for a solo machine which consists + * of a sequence and two signatures over different messages at that sequence. + */ + +export interface MisbehaviourSDKType { + client_id: string; + sequence: Long; + signature_one?: SignatureAndDataSDKType | undefined; + signature_two?: SignatureAndDataSDKType | undefined; +} +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ + +export interface SignatureAndData { + signature: Uint8Array; + dataType: DataType; + data: Uint8Array; + timestamp: Long; +} +/** + * SignatureAndData contains a signature and the data signed over to create that + * signature. + */ + +export interface SignatureAndDataSDKType { + signature: Uint8Array; + data_type: DataTypeSDKType; + data: Uint8Array; + timestamp: Long; +} +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ + +export interface TimestampedSignatureData { + signatureData: Uint8Array; + timestamp: Long; +} +/** + * TimestampedSignatureData contains the signature data and the timestamp of the + * signature. + */ + +export interface TimestampedSignatureDataSDKType { + signature_data: Uint8Array; + timestamp: Long; +} +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytes { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + + dataType: DataType; + /** marshaled data */ + + data: Uint8Array; +} +/** SignBytes defines the signed bytes used for signature verification. */ + +export interface SignBytesSDKType { + sequence: Long; + timestamp: Long; + diversifier: string; + /** type of the data used */ + + data_type: DataTypeSDKType; + /** marshaled data */ + + data: Uint8Array; +} +/** HeaderData returns the SignBytes data for update verification. */ + +export interface HeaderData { + /** header public key */ + newPubKey?: Any | undefined; + /** header diversifier */ + + newDiversifier: string; +} +/** HeaderData returns the SignBytes data for update verification. */ + +export interface HeaderDataSDKType { + /** header public key */ + new_pub_key?: AnySDKType | undefined; + /** header diversifier */ + + new_diversifier: string; +} +/** ClientStateData returns the SignBytes data for client state verification. */ + +export interface ClientStateData { + path: Uint8Array; + clientState?: Any | undefined; +} +/** ClientStateData returns the SignBytes data for client state verification. */ + +export interface ClientStateDataSDKType { + path: Uint8Array; + client_state?: AnySDKType | undefined; +} +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ + +export interface ConsensusStateData { + path: Uint8Array; + consensusState?: Any | undefined; +} +/** + * ConsensusStateData returns the SignBytes data for consensus state + * verification. + */ + +export interface ConsensusStateDataSDKType { + path: Uint8Array; + consensus_state?: AnySDKType | undefined; +} +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ + +export interface ConnectionStateData { + path: Uint8Array; + connection?: ConnectionEnd | undefined; +} +/** + * ConnectionStateData returns the SignBytes data for connection state + * verification. + */ + +export interface ConnectionStateDataSDKType { + path: Uint8Array; + connection?: ConnectionEndSDKType | undefined; +} +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ + +export interface ChannelStateData { + path: Uint8Array; + channel?: Channel | undefined; +} +/** + * ChannelStateData returns the SignBytes data for channel state + * verification. + */ + +export interface ChannelStateDataSDKType { + path: Uint8Array; + channel?: ChannelSDKType | undefined; +} +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ + +export interface PacketCommitmentData { + path: Uint8Array; + commitment: Uint8Array; +} +/** + * PacketCommitmentData returns the SignBytes data for packet commitment + * verification. + */ + +export interface PacketCommitmentDataSDKType { + path: Uint8Array; + commitment: Uint8Array; +} +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ + +export interface PacketAcknowledgementData { + path: Uint8Array; + acknowledgement: Uint8Array; +} +/** + * PacketAcknowledgementData returns the SignBytes data for acknowledgement + * verification. + */ + +export interface PacketAcknowledgementDataSDKType { + path: Uint8Array; + acknowledgement: Uint8Array; +} +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ + +export interface PacketReceiptAbsenceData { + path: Uint8Array; +} +/** + * PacketReceiptAbsenceData returns the SignBytes data for + * packet receipt absence verification. + */ + +export interface PacketReceiptAbsenceDataSDKType { + path: Uint8Array; +} +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvData { + path: Uint8Array; + nextSeqRecv: Long; +} +/** + * NextSequenceRecvData returns the SignBytes data for verification of the next + * sequence to be received. + */ + +export interface NextSequenceRecvDataSDKType { + path: Uint8Array; + next_seq_recv: Long; +} + +function createBaseClientState(): ClientState { + return { + sequence: Long.UZERO, + isFrozen: false, + consensusState: undefined, + allowUpdateAfterProposal: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (message.isFrozen === true) { + writer.uint32(16).bool(message.isFrozen); + } + + if (message.consensusState !== undefined) { + ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim(); + } + + if (message.allowUpdateAfterProposal === true) { + writer.uint32(32).bool(message.allowUpdateAfterProposal); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.isFrozen = reader.bool(); + break; + + case 3: + message.consensusState = ConsensusState.decode(reader, reader.uint32()); + break; + + case 4: + message.allowUpdateAfterProposal = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.isFrozen = object.isFrozen ?? false; + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined; + message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + publicKey: undefined, + diversifier: "", + timestamp: Long.UZERO + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.publicKey !== undefined) { + Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.diversifier !== "") { + writer.uint32(18).string(message.diversifier); + } + + if (!message.timestamp.isZero()) { + writer.uint32(24).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.publicKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.diversifier = reader.string(); + break; + + case 3: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; + message.diversifier = object.diversifier ?? ""; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + signature: new Uint8Array(), + newPublicKey: undefined, + newDiversifier: "" + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.signature.length !== 0) { + writer.uint32(26).bytes(message.signature); + } + + if (message.newPublicKey !== undefined) { + Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(42).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.signature = reader.bytes(); + break; + + case 4: + message.newPublicKey = Any.decode(reader, reader.uint32()); + break; + + case 5: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.signature = object.signature ?? new Uint8Array(); + message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + sequence: Long.UZERO, + signatureOne: undefined, + signatureTwo: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (!message.sequence.isZero()) { + writer.uint32(16).uint64(message.sequence); + } + + if (message.signatureOne !== undefined) { + SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim(); + } + + if (message.signatureTwo !== undefined) { + SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.sequence = (reader.uint64() as Long); + break; + + case 3: + message.signatureOne = SignatureAndData.decode(reader, reader.uint32()); + break; + + case 4: + message.signatureTwo = SignatureAndData.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined; + message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined; + return message; + } + +}; + +function createBaseSignatureAndData(): SignatureAndData { + return { + signature: new Uint8Array(), + dataType: 0, + data: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const SignatureAndData = { + encode(message: SignatureAndData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signature.length !== 0) { + writer.uint32(10).bytes(message.signature); + } + + if (message.dataType !== 0) { + writer.uint32(16).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(26).bytes(message.data); + } + + if (!message.timestamp.isZero()) { + writer.uint32(32).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignatureAndData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signature = reader.bytes(); + break; + + case 2: + message.dataType = (reader.int32() as any); + break; + + case 3: + message.data = reader.bytes(); + break; + + case 4: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignatureAndData { + const message = createBaseSignatureAndData(); + message.signature = object.signature ?? new Uint8Array(); + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseTimestampedSignatureData(): TimestampedSignatureData { + return { + signatureData: new Uint8Array(), + timestamp: Long.UZERO + }; +} + +export const TimestampedSignatureData = { + encode(message: TimestampedSignatureData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signatureData.length !== 0) { + writer.uint32(10).bytes(message.signatureData); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTimestampedSignatureData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signatureData = reader.bytes(); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TimestampedSignatureData { + const message = createBaseTimestampedSignatureData(); + message.signatureData = object.signatureData ?? new Uint8Array(); + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + return message; + } + +}; + +function createBaseSignBytes(): SignBytes { + return { + sequence: Long.UZERO, + timestamp: Long.UZERO, + diversifier: "", + dataType: 0, + data: new Uint8Array() + }; +} + +export const SignBytes = { + encode(message: SignBytes, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.sequence.isZero()) { + writer.uint32(8).uint64(message.sequence); + } + + if (!message.timestamp.isZero()) { + writer.uint32(16).uint64(message.timestamp); + } + + if (message.diversifier !== "") { + writer.uint32(26).string(message.diversifier); + } + + if (message.dataType !== 0) { + writer.uint32(32).int32(message.dataType); + } + + if (message.data.length !== 0) { + writer.uint32(42).bytes(message.data); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignBytes(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.sequence = (reader.uint64() as Long); + break; + + case 2: + message.timestamp = (reader.uint64() as Long); + break; + + case 3: + message.diversifier = reader.string(); + break; + + case 4: + message.dataType = (reader.int32() as any); + break; + + case 5: + message.data = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignBytes { + const message = createBaseSignBytes(); + message.sequence = object.sequence !== undefined && object.sequence !== null ? Long.fromValue(object.sequence) : Long.UZERO; + message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Long.fromValue(object.timestamp) : Long.UZERO; + message.diversifier = object.diversifier ?? ""; + message.dataType = object.dataType ?? 0; + message.data = object.data ?? new Uint8Array(); + return message; + } + +}; + +function createBaseHeaderData(): HeaderData { + return { + newPubKey: undefined, + newDiversifier: "" + }; +} + +export const HeaderData = { + encode(message: HeaderData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.newPubKey !== undefined) { + Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim(); + } + + if (message.newDiversifier !== "") { + writer.uint32(18).string(message.newDiversifier); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHeaderData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.newPubKey = Any.decode(reader, reader.uint32()); + break; + + case 2: + message.newDiversifier = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): HeaderData { + const message = createBaseHeaderData(); + message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined; + message.newDiversifier = object.newDiversifier ?? ""; + return message; + } + +}; + +function createBaseClientStateData(): ClientStateData { + return { + path: new Uint8Array(), + clientState: undefined + }; +} + +export const ClientStateData = { + encode(message: ClientStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.clientState !== undefined) { + Any.encode(message.clientState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.clientState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientStateData { + const message = createBaseClientStateData(); + message.path = object.path ?? new Uint8Array(); + message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; + return message; + } + +}; + +function createBaseConsensusStateData(): ConsensusStateData { + return { + path: new Uint8Array(), + consensusState: undefined + }; +} + +export const ConsensusStateData = { + encode(message: ConsensusStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.consensusState !== undefined) { + Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.consensusState = Any.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusStateData { + const message = createBaseConsensusStateData(); + message.path = object.path ?? new Uint8Array(); + message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; + return message; + } + +}; + +function createBaseConnectionStateData(): ConnectionStateData { + return { + path: new Uint8Array(), + connection: undefined + }; +} + +export const ConnectionStateData = { + encode(message: ConnectionStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.connection !== undefined) { + ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConnectionStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.connection = ConnectionEnd.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConnectionStateData { + const message = createBaseConnectionStateData(); + message.path = object.path ?? new Uint8Array(); + message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined; + return message; + } + +}; + +function createBaseChannelStateData(): ChannelStateData { + return { + path: new Uint8Array(), + channel: undefined + }; +} + +export const ChannelStateData = { + encode(message: ChannelStateData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.channel !== undefined) { + Channel.encode(message.channel, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseChannelStateData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.channel = Channel.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ChannelStateData { + const message = createBaseChannelStateData(); + message.path = object.path ?? new Uint8Array(); + message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined; + return message; + } + +}; + +function createBasePacketCommitmentData(): PacketCommitmentData { + return { + path: new Uint8Array(), + commitment: new Uint8Array() + }; +} + +export const PacketCommitmentData = { + encode(message: PacketCommitmentData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.commitment.length !== 0) { + writer.uint32(18).bytes(message.commitment); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketCommitmentData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.commitment = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketCommitmentData { + const message = createBasePacketCommitmentData(); + message.path = object.path ?? new Uint8Array(); + message.commitment = object.commitment ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketAcknowledgementData(): PacketAcknowledgementData { + return { + path: new Uint8Array(), + acknowledgement: new Uint8Array() + }; +} + +export const PacketAcknowledgementData = { + encode(message: PacketAcknowledgementData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (message.acknowledgement.length !== 0) { + writer.uint32(18).bytes(message.acknowledgement); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketAcknowledgementData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.acknowledgement = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketAcknowledgementData { + const message = createBasePacketAcknowledgementData(); + message.path = object.path ?? new Uint8Array(); + message.acknowledgement = object.acknowledgement ?? new Uint8Array(); + return message; + } + +}; + +function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData { + return { + path: new Uint8Array() + }; +} + +export const PacketReceiptAbsenceData = { + encode(message: PacketReceiptAbsenceData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePacketReceiptAbsenceData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PacketReceiptAbsenceData { + const message = createBasePacketReceiptAbsenceData(); + message.path = object.path ?? new Uint8Array(); + return message; + } + +}; + +function createBaseNextSequenceRecvData(): NextSequenceRecvData { + return { + path: new Uint8Array(), + nextSeqRecv: Long.UZERO + }; +} + +export const NextSequenceRecvData = { + encode(message: NextSequenceRecvData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.path.length !== 0) { + writer.uint32(10).bytes(message.path); + } + + if (!message.nextSeqRecv.isZero()) { + writer.uint32(16).uint64(message.nextSeqRecv); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNextSequenceRecvData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.path = reader.bytes(); + break; + + case 2: + message.nextSeqRecv = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): NextSequenceRecvData { + const message = createBaseNextSequenceRecvData(); + message.path = object.path ?? new Uint8Array(); + message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? Long.fromValue(object.nextSeqRecv) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts new file mode 100644 index 000000000..795673042 --- /dev/null +++ b/examples/telescope/codegen/ibc/lightclients/tendermint/v1/tendermint.ts @@ -0,0 +1,626 @@ +import { Duration, DurationSDKType } from "../../../../google/protobuf/duration"; +import { Height, HeightSDKType } from "../../../core/client/v1/client"; +import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; +import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commitment"; +import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types"; +import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, fromTimestamp, Long } from "../../../../helpers"; +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ + +export interface ClientState { + chainId: string; + trustLevel?: Fraction | undefined; + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + + trustingPeriod?: Duration | undefined; + /** duration of the staking unbonding period */ + + unbondingPeriod?: Duration | undefined; + /** defines how much new (untrusted) header's Time can drift into the future. */ + + maxClockDrift?: Duration | undefined; + /** Block height when the client was frozen due to a misbehaviour */ + + frozenHeight?: Height | undefined; + /** Latest height the client was updated to */ + + latestHeight?: Height | undefined; + /** Proof specifications used in verifying counterparty state */ + + proofSpecs: ProofSpec[]; + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + + upgradePath: string[]; + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + + allowUpdateAfterExpiry: boolean; + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + + allowUpdateAfterMisbehaviour: boolean; +} +/** + * ClientState from Tendermint tracks the current validator set, latest height, + * and a possible frozen height. + */ + +export interface ClientStateSDKType { + chain_id: string; + trust_level?: FractionSDKType | undefined; + /** + * duration of the period since the LastestTimestamp during which the + * submitted headers are valid for upgrade + */ + + trusting_period?: DurationSDKType | undefined; + /** duration of the staking unbonding period */ + + unbonding_period?: DurationSDKType | undefined; + /** defines how much new (untrusted) header's Time can drift into the future. */ + + max_clock_drift?: DurationSDKType | undefined; + /** Block height when the client was frozen due to a misbehaviour */ + + frozen_height?: HeightSDKType | undefined; + /** Latest height the client was updated to */ + + latest_height?: HeightSDKType | undefined; + /** Proof specifications used in verifying counterparty state */ + + proof_specs: ProofSpecSDKType[]; + /** + * Path at which next upgraded client will be committed. + * Each element corresponds to the key for a single CommitmentProof in the + * chained proof. NOTE: ClientState must stored under + * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored + * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using + * the default upgrade module, upgrade_path should be []string{"upgrade", + * "upgradedIBCState"}` + */ + + upgrade_path: string[]; + /** + * This flag, when set to true, will allow governance to recover a client + * which has expired + */ + + allow_update_after_expiry: boolean; + /** + * This flag, when set to true, will allow governance to unfreeze a client + * whose chain has experienced a misbehaviour event + */ + + allow_update_after_misbehaviour: boolean; +} +/** ConsensusState defines the consensus state from Tendermint. */ + +export interface ConsensusState { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp?: Date | undefined; + /** commitment root (i.e app hash) */ + + root?: MerkleRoot | undefined; + nextValidatorsHash: Uint8Array; +} +/** ConsensusState defines the consensus state from Tendermint. */ + +export interface ConsensusStateSDKType { + /** + * timestamp that corresponds to the block height in which the ConsensusState + * was stored. + */ + timestamp?: Date | undefined; + /** commitment root (i.e app hash) */ + + root?: MerkleRootSDKType | undefined; + next_validators_hash: Uint8Array; +} +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ + +export interface Misbehaviour { + clientId: string; + header1?: Header | undefined; + header2?: Header | undefined; +} +/** + * Misbehaviour is a wrapper over two conflicting Headers + * that implements Misbehaviour interface expected by ICS-02 + */ + +export interface MisbehaviourSDKType { + client_id: string; + header_1?: HeaderSDKType | undefined; + header_2?: HeaderSDKType | undefined; +} +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ + +export interface Header { + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; + trustedHeight?: Height | undefined; + trustedValidators?: ValidatorSet | undefined; +} +/** + * Header defines the Tendermint client consensus Header. + * It encapsulates all the information necessary to update from a trusted + * Tendermint ConsensusState. The inclusion of TrustedHeight and + * TrustedValidators allows this update to process correctly, so long as the + * ConsensusState for the TrustedHeight exists, this removes race conditions + * among relayers The SignedHeader and ValidatorSet are the new untrusted update + * fields for the client. The TrustedHeight is the height of a stored + * ConsensusState on the client that will be used to verify the new untrusted + * header. The Trusted ConsensusState must be within the unbonding period of + * current time in order to correctly verify, and the TrustedValidators must + * hash to TrustedConsensusState.NextValidatorsHash since that is the last + * trusted validator set at the TrustedHeight. + */ + +export interface HeaderSDKType { + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; + trusted_height?: HeightSDKType | undefined; + trusted_validators?: ValidatorSetSDKType | undefined; +} +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ + +export interface Fraction { + numerator: Long; + denominator: Long; +} +/** + * Fraction defines the protobuf message type for tmmath.Fraction that only + * supports positive values. + */ + +export interface FractionSDKType { + numerator: Long; + denominator: Long; +} + +function createBaseClientState(): ClientState { + return { + chainId: "", + trustLevel: undefined, + trustingPeriod: undefined, + unbondingPeriod: undefined, + maxClockDrift: undefined, + frozenHeight: undefined, + latestHeight: undefined, + proofSpecs: [], + upgradePath: [], + allowUpdateAfterExpiry: false, + allowUpdateAfterMisbehaviour: false + }; +} + +export const ClientState = { + encode(message: ClientState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chainId !== "") { + writer.uint32(10).string(message.chainId); + } + + if (message.trustLevel !== undefined) { + Fraction.encode(message.trustLevel, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustingPeriod !== undefined) { + Duration.encode(message.trustingPeriod, writer.uint32(26).fork()).ldelim(); + } + + if (message.unbondingPeriod !== undefined) { + Duration.encode(message.unbondingPeriod, writer.uint32(34).fork()).ldelim(); + } + + if (message.maxClockDrift !== undefined) { + Duration.encode(message.maxClockDrift, writer.uint32(42).fork()).ldelim(); + } + + if (message.frozenHeight !== undefined) { + Height.encode(message.frozenHeight, writer.uint32(50).fork()).ldelim(); + } + + if (message.latestHeight !== undefined) { + Height.encode(message.latestHeight, writer.uint32(58).fork()).ldelim(); + } + + for (const v of message.proofSpecs) { + ProofSpec.encode(v!, writer.uint32(66).fork()).ldelim(); + } + + for (const v of message.upgradePath) { + writer.uint32(74).string(v!); + } + + if (message.allowUpdateAfterExpiry === true) { + writer.uint32(80).bool(message.allowUpdateAfterExpiry); + } + + if (message.allowUpdateAfterMisbehaviour === true) { + writer.uint32(88).bool(message.allowUpdateAfterMisbehaviour); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ClientState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseClientState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chainId = reader.string(); + break; + + case 2: + message.trustLevel = Fraction.decode(reader, reader.uint32()); + break; + + case 3: + message.trustingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 4: + message.unbondingPeriod = Duration.decode(reader, reader.uint32()); + break; + + case 5: + message.maxClockDrift = Duration.decode(reader, reader.uint32()); + break; + + case 6: + message.frozenHeight = Height.decode(reader, reader.uint32()); + break; + + case 7: + message.latestHeight = Height.decode(reader, reader.uint32()); + break; + + case 8: + message.proofSpecs.push(ProofSpec.decode(reader, reader.uint32())); + break; + + case 9: + message.upgradePath.push(reader.string()); + break; + + case 10: + message.allowUpdateAfterExpiry = reader.bool(); + break; + + case 11: + message.allowUpdateAfterMisbehaviour = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ClientState { + const message = createBaseClientState(); + message.chainId = object.chainId ?? ""; + message.trustLevel = object.trustLevel !== undefined && object.trustLevel !== null ? Fraction.fromPartial(object.trustLevel) : undefined; + message.trustingPeriod = object.trustingPeriod !== undefined && object.trustingPeriod !== null ? Duration.fromPartial(object.trustingPeriod) : undefined; + message.unbondingPeriod = object.unbondingPeriod !== undefined && object.unbondingPeriod !== null ? Duration.fromPartial(object.unbondingPeriod) : undefined; + message.maxClockDrift = object.maxClockDrift !== undefined && object.maxClockDrift !== null ? Duration.fromPartial(object.maxClockDrift) : undefined; + message.frozenHeight = object.frozenHeight !== undefined && object.frozenHeight !== null ? Height.fromPartial(object.frozenHeight) : undefined; + message.latestHeight = object.latestHeight !== undefined && object.latestHeight !== null ? Height.fromPartial(object.latestHeight) : undefined; + message.proofSpecs = object.proofSpecs?.map(e => ProofSpec.fromPartial(e)) || []; + message.upgradePath = object.upgradePath?.map(e => e) || []; + message.allowUpdateAfterExpiry = object.allowUpdateAfterExpiry ?? false; + message.allowUpdateAfterMisbehaviour = object.allowUpdateAfterMisbehaviour ?? false; + return message; + } + +}; + +function createBaseConsensusState(): ConsensusState { + return { + timestamp: undefined, + root: undefined, + nextValidatorsHash: new Uint8Array() + }; +} + +export const ConsensusState = { + encode(message: ConsensusState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).ldelim(); + } + + if (message.root !== undefined) { + MerkleRoot.encode(message.root, writer.uint32(18).fork()).ldelim(); + } + + if (message.nextValidatorsHash.length !== 0) { + writer.uint32(26).bytes(message.nextValidatorsHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusState(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.root = MerkleRoot.decode(reader, reader.uint32()); + break; + + case 3: + message.nextValidatorsHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusState { + const message = createBaseConsensusState(); + message.timestamp = object.timestamp ?? undefined; + message.root = object.root !== undefined && object.root !== null ? MerkleRoot.fromPartial(object.root) : undefined; + message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseMisbehaviour(): Misbehaviour { + return { + clientId: "", + header1: undefined, + header2: undefined + }; +} + +export const Misbehaviour = { + encode(message: Misbehaviour, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.clientId !== "") { + writer.uint32(10).string(message.clientId); + } + + if (message.header1 !== undefined) { + Header.encode(message.header1, writer.uint32(18).fork()).ldelim(); + } + + if (message.header2 !== undefined) { + Header.encode(message.header2, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMisbehaviour(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.clientId = reader.string(); + break; + + case 2: + message.header1 = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.header2 = Header.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Misbehaviour { + const message = createBaseMisbehaviour(); + message.clientId = object.clientId ?? ""; + message.header1 = object.header1 !== undefined && object.header1 !== null ? Header.fromPartial(object.header1) : undefined; + message.header2 = object.header2 !== undefined && object.header2 !== null ? Header.fromPartial(object.header2) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + signedHeader: undefined, + validatorSet: undefined, + trustedHeight: undefined, + trustedValidators: undefined + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + if (message.trustedHeight !== undefined) { + Height.encode(message.trustedHeight, writer.uint32(26).fork()).ldelim(); + } + + if (message.trustedValidators !== undefined) { + ValidatorSet.encode(message.trustedValidators, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + case 3: + message.trustedHeight = Height.decode(reader, reader.uint32()); + break; + + case 4: + message.trustedValidators = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial
): Header { + const message = createBaseHeader(); + message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + message.trustedHeight = object.trustedHeight !== undefined && object.trustedHeight !== null ? Height.fromPartial(object.trustedHeight) : undefined; + message.trustedValidators = object.trustedValidators !== undefined && object.trustedValidators !== null ? ValidatorSet.fromPartial(object.trustedValidators) : undefined; + return message; + } + +}; + +function createBaseFraction(): Fraction { + return { + numerator: Long.UZERO, + denominator: Long.UZERO + }; +} + +export const Fraction = { + encode(message: Fraction, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.numerator.isZero()) { + writer.uint32(8).uint64(message.numerator); + } + + if (!message.denominator.isZero()) { + writer.uint32(16).uint64(message.denominator); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Fraction { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseFraction(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.numerator = (reader.uint64() as Long); + break; + + case 2: + message.denominator = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Fraction { + const message = createBaseFraction(); + message.numerator = object.numerator !== undefined && object.numerator !== null ? Long.fromValue(object.numerator) : Long.UZERO; + message.denominator = object.denominator !== undefined && object.denominator !== null ? Long.fromValue(object.denominator) : Long.UZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.query.ts b/examples/telescope/codegen/ibc/rpc.query.ts new file mode 100644 index 000000000..0d0dbcd9d --- /dev/null +++ b/examples/telescope/codegen/ibc/rpc.query.ts @@ -0,0 +1,89 @@ +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryClient = async ({ + rpcEndpoint +}: { + rpcEndpoint: string | HttpEndpoint; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + 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) + }, + authz: { + v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + bank: { + v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + base: { + 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) + }, + gov: { + v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client), + v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + }, + group: { + v1: (await import("../cosmos/group/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + 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) + }, + tx: { + v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client) + }, + upgrade: { + v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) + } + }, + ibc: { + applications: { + transfer: { + v1: (await import("./applications/transfer/v1/query.rpc.Query")).createRpcQueryExtension(client) + } + }, + core: { + channel: { + v1: (await import("./core/channel/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + client: { + v1: (await import("./core/client/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + connection: { + v1: (await import("./core/connection/v1/query.rpc.Query")).createRpcQueryExtension(client) + }, + port: { + v1: (await import("./core/port/v1/query.rpc.Query")).createRpcQueryExtension(client) + } + } + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/ibc/rpc.tx.ts b/examples/telescope/codegen/ibc/rpc.tx.ts new file mode 100644 index 000000000..62cb610c4 --- /dev/null +++ b/examples/telescope/codegen/ibc/rpc.tx.ts @@ -0,0 +1,67 @@ +import { Rpc } from "../helpers"; +export const createRPCMsgClient = async ({ + rpc +}: { + rpc: Rpc; +}) => ({ + cosmos: { + authz: { + v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + gov: { + v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc), + v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + 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) + }, + upgrade: { + v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + vesting: { + v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + ibc: { + applications: { + transfer: { + v1: new (await import("./applications/transfer/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + }, + core: { + channel: { + v1: new (await import("./core/channel/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + client: { + v1: new (await import("./core/client/v1/tx.rpc.msg")).MsgClientImpl(rpc) + }, + connection: { + v1: new (await import("./core/connection/v1/tx.rpc.msg")).MsgClientImpl(rpc) + } + } + } +}); \ No newline at end of file diff --git a/examples/telescope/codegen/ics23/bundle.ts b/examples/telescope/codegen/ics23/bundle.ts new file mode 100644 index 000000000..dcacaf237 --- /dev/null +++ b/examples/telescope/codegen/ics23/bundle.ts @@ -0,0 +1,3 @@ +import * as _0 from "../confio/proofs"; +export const ics23 = { ..._0 +}; \ No newline at end of file diff --git a/examples/telescope/codegen/index.ts b/examples/telescope/codegen/index.ts new file mode 100644 index 000000000..45d57b39d --- /dev/null +++ b/examples/telescope/codegen/index.ts @@ -0,0 +1,17 @@ +/** + * This file and any referenced files were automatically generated by @osmonauts/telescope@0.75.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 "./ics23/bundle"; +export * from "./cosmos_proto/bundle"; +export * from "./cosmos/bundle"; +export * from "./cosmos/client"; +export * from "./cosmwasm/bundle"; +export * from "./cosmwasm/client"; +export * from "./gogoproto/bundle"; +export * from "./google/bundle"; +export * from "./ibc/bundle"; +export * from "./ibc/client"; +export * from "./tendermint/bundle"; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/abci/types.ts b/examples/telescope/codegen/tendermint/abci/types.ts new file mode 100644 index 000000000..f7c2d2947 --- /dev/null +++ b/examples/telescope/codegen/tendermint/abci/types.ts @@ -0,0 +1,3947 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Header, HeaderSDKType } from "../types/types"; +import { ProofOps, ProofOpsSDKType } from "../crypto/proof"; +import { EvidenceParams, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsSDKType, VersionParams, VersionParamsSDKType } from "../types/params"; +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; +export enum CheckTxType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} +export enum CheckTxTypeSDKType { + NEW = 0, + RECHECK = 1, + UNRECOGNIZED = -1, +} +export function checkTxTypeFromJSON(object: any): CheckTxType { + switch (object) { + case 0: + case "NEW": + return CheckTxType.NEW; + + case 1: + case "RECHECK": + return CheckTxType.RECHECK; + + case -1: + case "UNRECOGNIZED": + default: + return CheckTxType.UNRECOGNIZED; + } +} +export function checkTxTypeToJSON(object: CheckTxType): string { + switch (object) { + case CheckTxType.NEW: + return "NEW"; + + case CheckTxType.RECHECK: + return "RECHECK"; + + case CheckTxType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export 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 enum ResponseOfferSnapshot_ResultSDKType { + /** 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 function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseOfferSnapshot_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseOfferSnapshot_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseOfferSnapshot_Result.ABORT; + + case 3: + case "REJECT": + return ResponseOfferSnapshot_Result.REJECT; + + case 4: + case "REJECT_FORMAT": + return ResponseOfferSnapshot_Result.REJECT_FORMAT; + + case 5: + case "REJECT_SENDER": + return ResponseOfferSnapshot_Result.REJECT_SENDER; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseOfferSnapshot_Result.UNRECOGNIZED; + } +} +export function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string { + switch (object) { + case ResponseOfferSnapshot_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseOfferSnapshot_Result.ACCEPT: + return "ACCEPT"; + + case ResponseOfferSnapshot_Result.ABORT: + return "ABORT"; + + case ResponseOfferSnapshot_Result.REJECT: + return "REJECT"; + + case ResponseOfferSnapshot_Result.REJECT_FORMAT: + return "REJECT_FORMAT"; + + case ResponseOfferSnapshot_Result.REJECT_SENDER: + return "REJECT_SENDER"; + + case ResponseOfferSnapshot_Result.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export 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 enum ResponseApplySnapshotChunk_ResultSDKType { + /** 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 function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result { + switch (object) { + case 0: + case "UNKNOWN": + return ResponseApplySnapshotChunk_Result.UNKNOWN; + + case 1: + case "ACCEPT": + return ResponseApplySnapshotChunk_Result.ACCEPT; + + case 2: + case "ABORT": + return ResponseApplySnapshotChunk_Result.ABORT; + + case 3: + case "RETRY": + return ResponseApplySnapshotChunk_Result.RETRY; + + case 4: + case "RETRY_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT; + + case 5: + case "REJECT_SNAPSHOT": + return ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT; + + case -1: + case "UNRECOGNIZED": + default: + return ResponseApplySnapshotChunk_Result.UNRECOGNIZED; + } +} +export function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string { + switch (object) { + case ResponseApplySnapshotChunk_Result.UNKNOWN: + return "UNKNOWN"; + + case ResponseApplySnapshotChunk_Result.ACCEPT: + return "ACCEPT"; + + case ResponseApplySnapshotChunk_Result.ABORT: + return "ABORT"; + + case ResponseApplySnapshotChunk_Result.RETRY: + return "RETRY"; + + case ResponseApplySnapshotChunk_Result.RETRY_SNAPSHOT: + return "RETRY_SNAPSHOT"; + + case ResponseApplySnapshotChunk_Result.REJECT_SNAPSHOT: + return "REJECT_SNAPSHOT"; + + case ResponseApplySnapshotChunk_Result.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export enum EvidenceType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} +export enum EvidenceTypeSDKType { + UNKNOWN = 0, + DUPLICATE_VOTE = 1, + LIGHT_CLIENT_ATTACK = 2, + UNRECOGNIZED = -1, +} +export function evidenceTypeFromJSON(object: any): EvidenceType { + switch (object) { + case 0: + case "UNKNOWN": + return EvidenceType.UNKNOWN; + + case 1: + case "DUPLICATE_VOTE": + return EvidenceType.DUPLICATE_VOTE; + + case 2: + case "LIGHT_CLIENT_ATTACK": + return EvidenceType.LIGHT_CLIENT_ATTACK; + + case -1: + case "UNRECOGNIZED": + default: + return EvidenceType.UNRECOGNIZED; + } +} +export function evidenceTypeToJSON(object: EvidenceType): string { + switch (object) { + case EvidenceType.UNKNOWN: + return "UNKNOWN"; + + case EvidenceType.DUPLICATE_VOTE: + return "DUPLICATE_VOTE"; + + case EvidenceType.LIGHT_CLIENT_ATTACK: + return "LIGHT_CLIENT_ATTACK"; + + case EvidenceType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +export interface Request { + echo?: RequestEcho | undefined; + flush?: RequestFlush | undefined; + info?: RequestInfo | undefined; + setOption?: RequestSetOption | undefined; + initChain?: RequestInitChain | undefined; + query?: RequestQuery | undefined; + beginBlock?: RequestBeginBlock | undefined; + checkTx?: RequestCheckTx | undefined; + deliverTx?: RequestDeliverTx | undefined; + endBlock?: RequestEndBlock | undefined; + commit?: RequestCommit | undefined; + listSnapshots?: RequestListSnapshots | undefined; + offerSnapshot?: RequestOfferSnapshot | undefined; + loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; + applySnapshotChunk?: RequestApplySnapshotChunk | undefined; +} +export interface RequestSDKType { + echo?: RequestEchoSDKType | undefined; + flush?: RequestFlushSDKType | undefined; + info?: RequestInfoSDKType | undefined; + set_option?: RequestSetOptionSDKType | undefined; + init_chain?: RequestInitChainSDKType | undefined; + query?: RequestQuerySDKType | undefined; + begin_block?: RequestBeginBlockSDKType | undefined; + check_tx?: RequestCheckTxSDKType | undefined; + deliver_tx?: RequestDeliverTxSDKType | undefined; + end_block?: RequestEndBlockSDKType | undefined; + commit?: RequestCommitSDKType | undefined; + list_snapshots?: RequestListSnapshotsSDKType | undefined; + offer_snapshot?: RequestOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType | undefined; +} +export interface RequestEcho { + message: string; +} +export interface RequestEchoSDKType { + message: string; +} +export interface RequestFlush {} +export interface RequestFlushSDKType {} +export interface RequestInfo { + version: string; + blockVersion: Long; + p2pVersion: Long; +} +export interface RequestInfoSDKType { + version: string; + block_version: Long; + p2p_version: Long; +} +/** nondeterministic */ + +export interface RequestSetOption { + key: string; + value: string; +} +/** nondeterministic */ + +export interface RequestSetOptionSDKType { + key: string; + value: string; +} +export interface RequestInitChain { + time?: Date | undefined; + chainId: string; + consensusParams?: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appStateBytes: Uint8Array; + initialHeight: Long; +} +export interface RequestInitChainSDKType { + time?: Date | undefined; + chain_id: string; + consensus_params?: ConsensusParamsSDKType | undefined; + validators: ValidatorUpdateSDKType[]; + app_state_bytes: Uint8Array; + initial_height: Long; +} +export interface RequestQuery { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} +export interface RequestQuerySDKType { + data: Uint8Array; + path: string; + height: Long; + prove: boolean; +} +export interface RequestBeginBlock { + hash: Uint8Array; + header?: Header | undefined; + lastCommitInfo?: LastCommitInfo | undefined; + byzantineValidators: Evidence[]; +} +export interface RequestBeginBlockSDKType { + hash: Uint8Array; + header?: HeaderSDKType | undefined; + last_commit_info?: LastCommitInfoSDKType | undefined; + byzantine_validators: EvidenceSDKType[]; +} +export interface RequestCheckTx { + tx: Uint8Array; + type: CheckTxType; +} +export interface RequestCheckTxSDKType { + tx: Uint8Array; + type: CheckTxTypeSDKType; +} +export interface RequestDeliverTx { + tx: Uint8Array; +} +export interface RequestDeliverTxSDKType { + tx: Uint8Array; +} +export interface RequestEndBlock { + height: Long; +} +export interface RequestEndBlockSDKType { + height: Long; +} +export interface RequestCommit {} +export interface RequestCommitSDKType {} +/** lists available snapshots */ + +export interface RequestListSnapshots {} +/** lists available snapshots */ + +export interface RequestListSnapshotsSDKType {} +/** offers a snapshot to the application */ + +export interface RequestOfferSnapshot { + /** snapshot offered by peers */ + snapshot?: Snapshot | undefined; + /** light client-verified app hash for snapshot height */ + + appHash: Uint8Array; +} +/** offers a snapshot to the application */ + +export interface RequestOfferSnapshotSDKType { + /** snapshot offered by peers */ + snapshot?: SnapshotSDKType | undefined; + /** light client-verified app hash for snapshot height */ + + app_hash: Uint8Array; +} +/** loads a snapshot chunk */ + +export interface RequestLoadSnapshotChunk { + height: Long; + format: number; + chunk: number; +} +/** 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; +} +/** Applies a snapshot chunk */ + +export interface RequestApplySnapshotChunkSDKType { + index: number; + chunk: Uint8Array; + sender: string; +} +export interface Response { + exception?: ResponseException | undefined; + echo?: ResponseEcho | undefined; + flush?: ResponseFlush | undefined; + info?: ResponseInfo | undefined; + setOption?: ResponseSetOption | undefined; + initChain?: ResponseInitChain | undefined; + query?: ResponseQuery | undefined; + beginBlock?: ResponseBeginBlock | undefined; + checkTx?: ResponseCheckTx | undefined; + deliverTx?: ResponseDeliverTx | undefined; + endBlock?: ResponseEndBlock | undefined; + commit?: ResponseCommit | undefined; + listSnapshots?: ResponseListSnapshots | undefined; + offerSnapshot?: ResponseOfferSnapshot | undefined; + loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; + applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; +} +export interface ResponseSDKType { + exception?: ResponseExceptionSDKType | undefined; + echo?: ResponseEchoSDKType | undefined; + flush?: ResponseFlushSDKType | undefined; + info?: ResponseInfoSDKType | undefined; + set_option?: ResponseSetOptionSDKType | undefined; + init_chain?: ResponseInitChainSDKType | undefined; + query?: ResponseQuerySDKType | undefined; + begin_block?: ResponseBeginBlockSDKType | undefined; + check_tx?: ResponseCheckTxSDKType | undefined; + deliver_tx?: ResponseDeliverTxSDKType | undefined; + end_block?: ResponseEndBlockSDKType | undefined; + commit?: ResponseCommitSDKType | undefined; + list_snapshots?: ResponseListSnapshotsSDKType | undefined; + offer_snapshot?: ResponseOfferSnapshotSDKType | undefined; + load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType | undefined; + apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType | undefined; +} +/** nondeterministic */ + +export interface ResponseException { + error: string; +} +/** nondeterministic */ + +export interface ResponseExceptionSDKType { + error: string; +} +export interface ResponseEcho { + message: string; +} +export interface ResponseEchoSDKType { + message: string; +} +export interface ResponseFlush {} +export interface ResponseFlushSDKType {} +export interface ResponseInfo { + data: string; + version: string; + appVersion: Long; + lastBlockHeight: Long; + lastBlockAppHash: Uint8Array; +} +export interface ResponseInfoSDKType { + data: string; + version: string; + app_version: Long; + last_block_height: Long; + last_block_app_hash: Uint8Array; +} +/** nondeterministic */ + +export interface ResponseSetOption { + code: number; + /** bytes data = 2; */ + + log: string; + info: string; +} +/** nondeterministic */ + +export interface ResponseSetOptionSDKType { + code: number; + /** bytes data = 2; */ + + log: string; + info: string; +} +export interface ResponseInitChain { + consensusParams?: ConsensusParams | undefined; + validators: ValidatorUpdate[]; + appHash: Uint8Array; +} +export interface ResponseInitChainSDKType { + consensus_params?: ConsensusParamsSDKType | undefined; + 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 | undefined; + height: Long; + codespace: string; +} +export interface ResponseQuerySDKType { + code: number; + /** bytes data = 2; // use "value" instead. */ + + log: string; + /** nondeterministic */ + + info: string; + index: Long; + key: Uint8Array; + value: Uint8Array; + proof_ops?: ProofOpsSDKType | undefined; + height: Long; + codespace: string; +} +export interface ResponseBeginBlock { + events: Event[]; +} +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; +} +export interface ResponseCheckTxSDKType { + code: number; + data: Uint8Array; + /** nondeterministic */ + + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} +export interface ResponseDeliverTx { + code: number; + data: Uint8Array; + /** nondeterministic */ + + log: string; + /** nondeterministic */ + + info: string; + gasWanted: Long; + gasUsed: Long; + events: Event[]; + codespace: string; +} +export interface ResponseDeliverTxSDKType { + code: number; + data: Uint8Array; + /** nondeterministic */ + + log: string; + /** nondeterministic */ + + info: string; + gas_wanted: Long; + gas_used: Long; + events: EventSDKType[]; + codespace: string; +} +export interface ResponseEndBlock { + validatorUpdates: ValidatorUpdate[]; + consensusParamUpdates?: ConsensusParams | undefined; + events: Event[]; +} +export interface ResponseEndBlockSDKType { + validator_updates: ValidatorUpdateSDKType[]; + consensus_param_updates?: ConsensusParamsSDKType | undefined; + events: EventSDKType[]; +} +export interface ResponseCommit { + /** reserve 1 */ + data: Uint8Array; + retainHeight: Long; +} +export interface ResponseCommitSDKType { + /** reserve 1 */ + data: Uint8Array; + retain_height: Long; +} +export interface ResponseListSnapshots { + snapshots: Snapshot[]; +} +export interface ResponseListSnapshotsSDKType { + snapshots: SnapshotSDKType[]; +} +export interface ResponseOfferSnapshot { + result: ResponseOfferSnapshot_Result; +} +export interface ResponseOfferSnapshotSDKType { + result: ResponseOfferSnapshot_ResultSDKType; +} +export interface ResponseLoadSnapshotChunk { + chunk: Uint8Array; +} +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 ResponseApplySnapshotChunkSDKType { + result: ResponseApplySnapshotChunk_ResultSDKType; + /** Chunks to refetch and reapply */ + + refetch_chunks: number[]; + /** Chunk senders to reject and ban */ + + reject_senders: string[]; +} +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ + +export interface ConsensusParams { + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; +} +/** + * ConsensusParams contains all consensus-relevant parameters + * that can be adjusted by the abci app + */ + +export interface ConsensusParamsSDKType { + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; +} +/** BlockParams contains limits on the block size. */ + +export interface BlockParams { + /** Note: must be greater than 0 */ + maxBytes: Long; + /** Note: must be greater or equal to -1 */ + + maxGas: Long; +} +/** BlockParams contains limits on the block size. */ + +export interface BlockParamsSDKType { + /** Note: must be greater than 0 */ + max_bytes: Long; + /** Note: must be greater or equal to -1 */ + + max_gas: Long; +} +export interface LastCommitInfo { + round: number; + votes: VoteInfo[]; +} +export interface LastCommitInfoSDKType { + round: number; + votes: VoteInfoSDKType[]; +} +/** + * 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[]; +} +/** + * 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: Uint8Array; + value: Uint8Array; + /** nondeterministic */ + + index: boolean; +} +/** EventAttribute is a single key-value pair, associated with an event. */ + +export interface EventAttributeSDKType { + key: Uint8Array; + value: Uint8Array; + /** nondeterministic */ + + 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 | undefined; +} +/** + * TxResult contains results of executing the transaction. + * + * One usage is indexing transaction results. + */ + +export interface TxResultSDKType { + height: Long; + index: number; + tx: Uint8Array; + result?: ResponseDeliverTxSDKType | undefined; +} +/** 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; +} +/** Validator */ + +export interface ValidatorSDKType { + /** + * The first 20 bytes of SHA256(public key) + * PubKey pub_key = 2 [(gogoproto.nullable)=false]; + */ + address: Uint8Array; + /** The voting power */ + + power: Long; +} +/** ValidatorUpdate */ + +export interface ValidatorUpdate { + pubKey?: PublicKey | undefined; + power: Long; +} +/** ValidatorUpdate */ + +export interface ValidatorUpdateSDKType { + pub_key?: PublicKeySDKType | undefined; + power: Long; +} +/** VoteInfo */ + +export interface VoteInfo { + validator?: Validator | undefined; + signedLastBlock: boolean; +} +/** VoteInfo */ + +export interface VoteInfoSDKType { + validator?: ValidatorSDKType | undefined; + signed_last_block: boolean; +} +export interface Evidence { + type: EvidenceType; + /** The offending validator */ + + validator?: Validator | undefined; + /** The height when the offense occurred */ + + height: Long; + /** The corresponding time where the offense occurred */ + + time?: Date | undefined; + /** + * 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 EvidenceSDKType { + type: EvidenceTypeSDKType; + /** The offending validator */ + + validator?: ValidatorSDKType | undefined; + /** The height when the offense occurred */ + + height: Long; + /** The corresponding time where the offense occurred */ + + time?: Date | undefined; + /** + * 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: 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 SnapshotSDKType { + /** 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; +} + +function createBaseRequest(): Request { + return { + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Request = { + encode(message: Request, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.echo !== undefined) { + RequestEcho.encode(message.echo, writer.uint32(10).fork()).ldelim(); + } + + if (message.flush !== undefined) { + RequestFlush.encode(message.flush, writer.uint32(18).fork()).ldelim(); + } + + if (message.info !== undefined) { + RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim(); + } + + if (message.query !== undefined) { + RequestQuery.encode(message.query, writer.uint32(50).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + RequestBeginBlock.encode(message.beginBlock, writer.uint32(58).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + RequestCheckTx.encode(message.checkTx, writer.uint32(66).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + RequestDeliverTx.encode(message.deliverTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + RequestEndBlock.encode(message.endBlock, writer.uint32(82).fork()).ldelim(); + } + + if (message.commit !== undefined) { + RequestCommit.encode(message.commit, writer.uint32(90).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + RequestListSnapshots.encode(message.listSnapshots, writer.uint32(98).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + RequestOfferSnapshot.encode(message.offerSnapshot, writer.uint32(106).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + RequestLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(114).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Request { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequest(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.echo = RequestEcho.decode(reader, reader.uint32()); + break; + + case 2: + message.flush = RequestFlush.decode(reader, reader.uint32()); + break; + + case 3: + message.info = RequestInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.setOption = RequestSetOption.decode(reader, reader.uint32()); + break; + + case 5: + message.initChain = RequestInitChain.decode(reader, reader.uint32()); + break; + + case 6: + message.query = RequestQuery.decode(reader, reader.uint32()); + break; + + case 7: + message.beginBlock = RequestBeginBlock.decode(reader, reader.uint32()); + break; + + case 8: + message.checkTx = RequestCheckTx.decode(reader, reader.uint32()); + break; + + case 9: + message.deliverTx = RequestDeliverTx.decode(reader, reader.uint32()); + break; + + case 10: + message.endBlock = RequestEndBlock.decode(reader, reader.uint32()); + break; + + case 11: + message.commit = RequestCommit.decode(reader, reader.uint32()); + break; + + case 12: + message.listSnapshots = RequestListSnapshots.decode(reader, reader.uint32()); + break; + + case 13: + message.offerSnapshot = RequestOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 14: + message.loadSnapshotChunk = RequestLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 15: + message.applySnapshotChunk = RequestApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Request { + const message = createBaseRequest(); + message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? RequestFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? RequestInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? RequestSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? RequestInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? RequestQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? RequestBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? RequestCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? RequestDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? RequestEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? RequestCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? RequestListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? RequestOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? RequestLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseRequestEcho(): RequestEcho { + return { + message: "" + }; +} + +export const RequestEcho = { + encode(message: RequestEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestEcho { + const message = createBaseRequestEcho(); + message.message = object.message ?? ""; + return message; + } + +}; + +function createBaseRequestFlush(): RequestFlush { + return {}; +} + +export const RequestFlush = { + encode(_: RequestFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): RequestFlush { + const message = createBaseRequestFlush(); + return message; + } + +}; + +function createBaseRequestInfo(): RequestInfo { + return { + version: "", + blockVersion: Long.UZERO, + p2pVersion: Long.UZERO + }; +} + +export const RequestInfo = { + encode(message: RequestInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.version !== "") { + writer.uint32(10).string(message.version); + } + + if (!message.blockVersion.isZero()) { + writer.uint32(16).uint64(message.blockVersion); + } + + if (!message.p2pVersion.isZero()) { + writer.uint32(24).uint64(message.p2pVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.version = reader.string(); + break; + + case 2: + message.blockVersion = (reader.uint64() as Long); + break; + + case 3: + message.p2pVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestInfo { + const message = createBaseRequestInfo(); + message.version = object.version ?? ""; + message.blockVersion = object.blockVersion !== undefined && object.blockVersion !== null ? Long.fromValue(object.blockVersion) : Long.UZERO; + message.p2pVersion = object.p2pVersion !== undefined && object.p2pVersion !== null ? Long.fromValue(object.p2pVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseRequestSetOption(): RequestSetOption { + return { + key: "", + value: "" + }; +} + +export const RequestSetOption = { + encode(message: RequestSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.value !== "") { + writer.uint32(18).string(message.value); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestSetOption(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.value = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestSetOption { + const message = createBaseRequestSetOption(); + message.key = object.key ?? ""; + message.value = object.value ?? ""; + return message; + } + +}; + +function createBaseRequestInitChain(): RequestInitChain { + return { + time: undefined, + chainId: "", + consensusParams: undefined, + validators: [], + appStateBytes: new Uint8Array(), + initialHeight: Long.ZERO + }; +} + +export const RequestInitChain = { + encode(message: RequestInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim(); + } + + if (message.chainId !== "") { + writer.uint32(18).string(message.chainId); + } + + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + if (message.appStateBytes.length !== 0) { + writer.uint32(42).bytes(message.appStateBytes); + } + + if (!message.initialHeight.isZero()) { + writer.uint32(48).int64(message.initialHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 2: + message.chainId = reader.string(); + break; + + case 3: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 4: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 5: + message.appStateBytes = reader.bytes(); + break; + + case 6: + message.initialHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestInitChain { + const message = createBaseRequestInitChain(); + 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)) || []; + message.appStateBytes = object.appStateBytes ?? new Uint8Array(); + message.initialHeight = object.initialHeight !== undefined && object.initialHeight !== null ? Long.fromValue(object.initialHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestQuery(): RequestQuery { + return { + data: new Uint8Array(), + path: "", + height: Long.ZERO, + prove: false + }; +} + +export const RequestQuery = { + encode(message: RequestQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(10).bytes(message.data); + } + + if (message.path !== "") { + writer.uint32(18).string(message.path); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.prove === true) { + writer.uint32(32).bool(message.prove); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestQuery(); + + 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() as Long); + break; + + case 4: + message.prove = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestQuery { + const message = createBaseRequestQuery(); + message.data = object.data ?? new Uint8Array(); + message.path = object.path ?? ""; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.prove = object.prove ?? false; + return message; + } + +}; + +function createBaseRequestBeginBlock(): RequestBeginBlock { + return { + hash: new Uint8Array(), + header: undefined, + lastCommitInfo: undefined, + byzantineValidators: [] + }; +} + +export const RequestBeginBlock = { + encode(message: RequestBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastCommitInfo !== undefined) { + LastCommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.byzantineValidators) { + Evidence.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 3: + message.lastCommitInfo = LastCommitInfo.decode(reader, reader.uint32()); + break; + + case 4: + message.byzantineValidators.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestBeginBlock { + const message = createBaseRequestBeginBlock(); + message.hash = object.hash ?? new Uint8Array(); + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.lastCommitInfo = object.lastCommitInfo !== undefined && object.lastCommitInfo !== null ? LastCommitInfo.fromPartial(object.lastCommitInfo) : undefined; + message.byzantineValidators = object.byzantineValidators?.map(e => Evidence.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseRequestCheckTx(): RequestCheckTx { + return { + tx: new Uint8Array(), + type: 0 + }; +} + +export const RequestCheckTx = { + encode(message: RequestCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + if (message.type !== 0) { + writer.uint32(16).int32(message.type); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + case 2: + message.type = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestCheckTx { + const message = createBaseRequestCheckTx(); + message.tx = object.tx ?? new Uint8Array(); + message.type = object.type ?? 0; + return message; + } + +}; + +function createBaseRequestDeliverTx(): RequestDeliverTx { + return { + tx: new Uint8Array() + }; +} + +export const RequestDeliverTx = { + encode(message: RequestDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.tx.length !== 0) { + writer.uint32(10).bytes(message.tx); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tx = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestDeliverTx { + const message = createBaseRequestDeliverTx(); + message.tx = object.tx ?? new Uint8Array(); + return message; + } + +}; + +function createBaseRequestEndBlock(): RequestEndBlock { + return { + height: Long.ZERO + }; +} + +export const RequestEndBlock = { + encode(message: RequestEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestEndBlock { + const message = createBaseRequestEndBlock(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + return message; + } + +}; + +function createBaseRequestCommit(): RequestCommit { + return {}; +} + +export const RequestCommit = { + encode(_: RequestCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): RequestCommit { + const message = createBaseRequestCommit(); + return message; + } + +}; + +function createBaseRequestListSnapshots(): RequestListSnapshots { + return {}; +} + +export const RequestListSnapshots = { + encode(_: RequestListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): RequestListSnapshots { + const message = createBaseRequestListSnapshots(); + return message; + } + +}; + +function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { + return { + snapshot: undefined, + appHash: new Uint8Array() + }; +} + +export const RequestOfferSnapshot = { + encode(message: RequestOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.snapshot !== undefined) { + Snapshot.encode(message.snapshot, writer.uint32(10).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(18).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshot = Snapshot.decode(reader, reader.uint32()); + break; + + case 2: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestOfferSnapshot { + const message = createBaseRequestOfferSnapshot(); + message.snapshot = object.snapshot !== undefined && object.snapshot !== null ? Snapshot.fromPartial(object.snapshot) : undefined; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseRequestLoadSnapshotChunk(): RequestLoadSnapshotChunk { + return { + height: Long.UZERO, + format: 0, + chunk: 0 + }; +} + +export const RequestLoadSnapshotChunk = { + encode(message: RequestLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).uint64(message.height); + } + + if (message.format !== 0) { + writer.uint32(16).uint32(message.format); + } + + if (message.chunk !== 0) { + writer.uint32(24).uint32(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.uint64() as Long); + break; + + case 2: + message.format = reader.uint32(); + break; + + case 3: + message.chunk = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestLoadSnapshotChunk { + const message = createBaseRequestLoadSnapshotChunk(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunk = object.chunk ?? 0; + return message; + } + +}; + +function createBaseRequestApplySnapshotChunk(): RequestApplySnapshotChunk { + return { + index: 0, + chunk: new Uint8Array(), + sender: "" + }; +} + +export const RequestApplySnapshotChunk = { + encode(message: RequestApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.chunk.length !== 0) { + writer.uint32(18).bytes(message.chunk); + } + + if (message.sender !== "") { + writer.uint32(26).string(message.sender); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseRequestApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.chunk = reader.bytes(); + break; + + case 3: + message.sender = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): RequestApplySnapshotChunk { + const message = createBaseRequestApplySnapshotChunk(); + message.index = object.index ?? 0; + message.chunk = object.chunk ?? new Uint8Array(); + message.sender = object.sender ?? ""; + return message; + } + +}; + +function createBaseResponse(): Response { + return { + exception: undefined, + echo: undefined, + flush: undefined, + info: undefined, + setOption: undefined, + initChain: undefined, + query: undefined, + beginBlock: undefined, + checkTx: undefined, + deliverTx: undefined, + endBlock: undefined, + commit: undefined, + listSnapshots: undefined, + offerSnapshot: undefined, + loadSnapshotChunk: undefined, + applySnapshotChunk: undefined + }; +} + +export const Response = { + encode(message: Response, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.exception !== undefined) { + ResponseException.encode(message.exception, writer.uint32(10).fork()).ldelim(); + } + + if (message.echo !== undefined) { + ResponseEcho.encode(message.echo, writer.uint32(18).fork()).ldelim(); + } + + if (message.flush !== undefined) { + ResponseFlush.encode(message.flush, writer.uint32(26).fork()).ldelim(); + } + + if (message.info !== undefined) { + ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim(); + } + + if (message.setOption !== undefined) { + ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim(); + } + + if (message.initChain !== undefined) { + ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim(); + } + + if (message.query !== undefined) { + ResponseQuery.encode(message.query, writer.uint32(58).fork()).ldelim(); + } + + if (message.beginBlock !== undefined) { + ResponseBeginBlock.encode(message.beginBlock, writer.uint32(66).fork()).ldelim(); + } + + if (message.checkTx !== undefined) { + ResponseCheckTx.encode(message.checkTx, writer.uint32(74).fork()).ldelim(); + } + + if (message.deliverTx !== undefined) { + ResponseDeliverTx.encode(message.deliverTx, writer.uint32(82).fork()).ldelim(); + } + + if (message.endBlock !== undefined) { + ResponseEndBlock.encode(message.endBlock, writer.uint32(90).fork()).ldelim(); + } + + if (message.commit !== undefined) { + ResponseCommit.encode(message.commit, writer.uint32(98).fork()).ldelim(); + } + + if (message.listSnapshots !== undefined) { + ResponseListSnapshots.encode(message.listSnapshots, writer.uint32(106).fork()).ldelim(); + } + + if (message.offerSnapshot !== undefined) { + ResponseOfferSnapshot.encode(message.offerSnapshot, writer.uint32(114).fork()).ldelim(); + } + + if (message.loadSnapshotChunk !== undefined) { + ResponseLoadSnapshotChunk.encode(message.loadSnapshotChunk, writer.uint32(122).fork()).ldelim(); + } + + if (message.applySnapshotChunk !== undefined) { + ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Response { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponse(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.exception = ResponseException.decode(reader, reader.uint32()); + break; + + case 2: + message.echo = ResponseEcho.decode(reader, reader.uint32()); + break; + + case 3: + message.flush = ResponseFlush.decode(reader, reader.uint32()); + break; + + case 4: + message.info = ResponseInfo.decode(reader, reader.uint32()); + break; + + case 5: + message.setOption = ResponseSetOption.decode(reader, reader.uint32()); + break; + + case 6: + message.initChain = ResponseInitChain.decode(reader, reader.uint32()); + break; + + case 7: + message.query = ResponseQuery.decode(reader, reader.uint32()); + break; + + case 8: + message.beginBlock = ResponseBeginBlock.decode(reader, reader.uint32()); + break; + + case 9: + message.checkTx = ResponseCheckTx.decode(reader, reader.uint32()); + break; + + case 10: + message.deliverTx = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + case 11: + message.endBlock = ResponseEndBlock.decode(reader, reader.uint32()); + break; + + case 12: + message.commit = ResponseCommit.decode(reader, reader.uint32()); + break; + + case 13: + message.listSnapshots = ResponseListSnapshots.decode(reader, reader.uint32()); + break; + + case 14: + message.offerSnapshot = ResponseOfferSnapshot.decode(reader, reader.uint32()); + break; + + case 15: + message.loadSnapshotChunk = ResponseLoadSnapshotChunk.decode(reader, reader.uint32()); + break; + + case 16: + message.applySnapshotChunk = ResponseApplySnapshotChunk.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Response { + const message = createBaseResponse(); + message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; + message.echo = object.echo !== undefined && object.echo !== null ? ResponseEcho.fromPartial(object.echo) : undefined; + message.flush = object.flush !== undefined && object.flush !== null ? ResponseFlush.fromPartial(object.flush) : undefined; + message.info = object.info !== undefined && object.info !== null ? ResponseInfo.fromPartial(object.info) : undefined; + message.setOption = object.setOption !== undefined && object.setOption !== null ? ResponseSetOption.fromPartial(object.setOption) : undefined; + message.initChain = object.initChain !== undefined && object.initChain !== null ? ResponseInitChain.fromPartial(object.initChain) : undefined; + message.query = object.query !== undefined && object.query !== null ? ResponseQuery.fromPartial(object.query) : undefined; + message.beginBlock = object.beginBlock !== undefined && object.beginBlock !== null ? ResponseBeginBlock.fromPartial(object.beginBlock) : undefined; + message.checkTx = object.checkTx !== undefined && object.checkTx !== null ? ResponseCheckTx.fromPartial(object.checkTx) : undefined; + message.deliverTx = object.deliverTx !== undefined && object.deliverTx !== null ? ResponseDeliverTx.fromPartial(object.deliverTx) : undefined; + message.endBlock = object.endBlock !== undefined && object.endBlock !== null ? ResponseEndBlock.fromPartial(object.endBlock) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? ResponseCommit.fromPartial(object.commit) : undefined; + message.listSnapshots = object.listSnapshots !== undefined && object.listSnapshots !== null ? ResponseListSnapshots.fromPartial(object.listSnapshots) : undefined; + message.offerSnapshot = object.offerSnapshot !== undefined && object.offerSnapshot !== null ? ResponseOfferSnapshot.fromPartial(object.offerSnapshot) : undefined; + message.loadSnapshotChunk = object.loadSnapshotChunk !== undefined && object.loadSnapshotChunk !== null ? ResponseLoadSnapshotChunk.fromPartial(object.loadSnapshotChunk) : undefined; + message.applySnapshotChunk = object.applySnapshotChunk !== undefined && object.applySnapshotChunk !== null ? ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk) : undefined; + return message; + } + +}; + +function createBaseResponseException(): ResponseException { + return { + error: "" + }; +} + +export const ResponseException = { + encode(message: ResponseException, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.error !== "") { + writer.uint32(10).string(message.error); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseException(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.error = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseException { + const message = createBaseResponseException(); + message.error = object.error ?? ""; + return message; + } + +}; + +function createBaseResponseEcho(): ResponseEcho { + return { + message: "" + }; +} + +export const ResponseEcho = { + encode(message: ResponseEcho, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.message !== "") { + writer.uint32(10).string(message.message); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEcho(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.message = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseEcho { + const message = createBaseResponseEcho(); + message.message = object.message ?? ""; + return message; + } + +}; + +function createBaseResponseFlush(): ResponseFlush { + return {}; +} + +export const ResponseFlush = { + encode(_: ResponseFlush, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseFlush(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(_: Partial): ResponseFlush { + const message = createBaseResponseFlush(); + return message; + } + +}; + +function createBaseResponseInfo(): ResponseInfo { + return { + data: "", + version: "", + appVersion: Long.UZERO, + lastBlockHeight: Long.ZERO, + lastBlockAppHash: new Uint8Array() + }; +} + +export const ResponseInfo = { + encode(message: ResponseInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data !== "") { + writer.uint32(10).string(message.data); + } + + if (message.version !== "") { + writer.uint32(18).string(message.version); + } + + if (!message.appVersion.isZero()) { + writer.uint32(24).uint64(message.appVersion); + } + + if (!message.lastBlockHeight.isZero()) { + writer.uint32(32).int64(message.lastBlockHeight); + } + + if (message.lastBlockAppHash.length !== 0) { + writer.uint32(42).bytes(message.lastBlockAppHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.data = reader.string(); + break; + + case 2: + message.version = reader.string(); + break; + + case 3: + message.appVersion = (reader.uint64() as Long); + break; + + case 4: + message.lastBlockHeight = (reader.int64() as Long); + break; + + case 5: + message.lastBlockAppHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseInfo { + const message = createBaseResponseInfo(); + message.data = object.data ?? ""; + message.version = object.version ?? ""; + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + message.lastBlockHeight = object.lastBlockHeight !== undefined && object.lastBlockHeight !== null ? Long.fromValue(object.lastBlockHeight) : Long.ZERO; + message.lastBlockAppHash = object.lastBlockAppHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseSetOption(): ResponseSetOption { + return { + code: 0, + log: "", + info: "" + }; +} + +export const ResponseSetOption = { + encode(message: ResponseSetOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseSetOption(); + + 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; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseSetOption { + const message = createBaseResponseSetOption(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + return message; + } + +}; + +function createBaseResponseInitChain(): ResponseInitChain { + return { + consensusParams: undefined, + validators: [], + appHash: new Uint8Array() + }; +} + +export const ResponseInitChain = { + encode(message: ResponseInitChain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.consensusParams !== undefined) { + ConsensusParams.encode(message.consensusParams, writer.uint32(10).fork()).ldelim(); + } + + for (const v of message.validators) { + ValidatorUpdate.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.appHash.length !== 0) { + writer.uint32(26).bytes(message.appHash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseInitChain(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.consensusParams = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 2: + message.validators.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 3: + message.appHash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseInitChain { + const message = createBaseResponseInitChain(); + message.consensusParams = object.consensusParams !== undefined && object.consensusParams !== null ? ConsensusParams.fromPartial(object.consensusParams) : undefined; + message.validators = object.validators?.map(e => ValidatorUpdate.fromPartial(e)) || []; + message.appHash = object.appHash ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseQuery(): ResponseQuery { + return { + code: 0, + log: "", + info: "", + index: Long.ZERO, + key: new Uint8Array(), + value: new Uint8Array(), + proofOps: undefined, + height: Long.ZERO, + codespace: "" + }; +} + +export const ResponseQuery = { + encode(message: ResponseQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + 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.isZero()) { + writer.uint32(72).int64(message.height); + } + + if (message.codespace !== "") { + writer.uint32(82).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseQuery(); + + 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() as Long); + 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() as Long); + break; + + case 10: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseQuery { + const message = createBaseResponseQuery(); + message.code = object.code ?? 0; + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseBeginBlock(): ResponseBeginBlock { + return { + events: [] + }; +} + +export const ResponseBeginBlock = { + encode(message: ResponseBeginBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.events) { + Event.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseBeginBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseBeginBlock { + const message = createBaseResponseBeginBlock(); + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseResponseCheckTx(): ResponseCheckTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseCheckTx = { + encode(message: ResponseCheckTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCheckTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseCheckTx { + const message = createBaseResponseCheckTx(); + message.code = object.code ?? 0; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseDeliverTx(): ResponseDeliverTx { + return { + code: 0, + data: new Uint8Array(), + log: "", + info: "", + gasWanted: Long.ZERO, + gasUsed: Long.ZERO, + events: [], + codespace: "" + }; +} + +export const ResponseDeliverTx = { + encode(message: ResponseDeliverTx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.code !== 0) { + writer.uint32(8).uint32(message.code); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.log !== "") { + writer.uint32(26).string(message.log); + } + + if (message.info !== "") { + writer.uint32(34).string(message.info); + } + + if (!message.gasWanted.isZero()) { + writer.uint32(40).int64(message.gasWanted); + } + + if (!message.gasUsed.isZero()) { + writer.uint32(48).int64(message.gasUsed); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(58).fork()).ldelim(); + } + + if (message.codespace !== "") { + writer.uint32(66).string(message.codespace); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseDeliverTx(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.code = reader.uint32(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.log = reader.string(); + break; + + case 4: + message.info = reader.string(); + break; + + case 5: + message.gasWanted = (reader.int64() as Long); + break; + + case 6: + message.gasUsed = (reader.int64() as Long); + break; + + case 7: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + case 8: + message.codespace = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseDeliverTx { + const message = createBaseResponseDeliverTx(); + message.code = object.code ?? 0; + message.data = object.data ?? new Uint8Array(); + message.log = object.log ?? ""; + message.info = object.info ?? ""; + message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? Long.fromValue(object.gasWanted) : Long.ZERO; + message.gasUsed = object.gasUsed !== undefined && object.gasUsed !== null ? Long.fromValue(object.gasUsed) : Long.ZERO; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + message.codespace = object.codespace ?? ""; + return message; + } + +}; + +function createBaseResponseEndBlock(): ResponseEndBlock { + return { + validatorUpdates: [], + consensusParamUpdates: undefined, + events: [] + }; +} + +export const ResponseEndBlock = { + encode(message: ResponseEndBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validatorUpdates) { + ValidatorUpdate.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.consensusParamUpdates !== undefined) { + ConsensusParams.encode(message.consensusParamUpdates, writer.uint32(18).fork()).ldelim(); + } + + for (const v of message.events) { + Event.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseEndBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validatorUpdates.push(ValidatorUpdate.decode(reader, reader.uint32())); + break; + + case 2: + message.consensusParamUpdates = ConsensusParams.decode(reader, reader.uint32()); + break; + + case 3: + message.events.push(Event.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseEndBlock { + const message = createBaseResponseEndBlock(); + message.validatorUpdates = object.validatorUpdates?.map(e => ValidatorUpdate.fromPartial(e)) || []; + message.consensusParamUpdates = object.consensusParamUpdates !== undefined && object.consensusParamUpdates !== null ? ConsensusParams.fromPartial(object.consensusParamUpdates) : undefined; + message.events = object.events?.map(e => Event.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseResponseCommit(): ResponseCommit { + return { + data: new Uint8Array(), + retainHeight: Long.ZERO + }; +} + +export const ResponseCommit = { + encode(message: ResponseCommit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (!message.retainHeight.isZero()) { + writer.uint32(24).int64(message.retainHeight); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.retainHeight = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseCommit { + const message = createBaseResponseCommit(); + message.data = object.data ?? new Uint8Array(); + message.retainHeight = object.retainHeight !== undefined && object.retainHeight !== null ? Long.fromValue(object.retainHeight) : Long.ZERO; + return message; + } + +}; + +function createBaseResponseListSnapshots(): ResponseListSnapshots { + return { + snapshots: [] + }; +} + +export const ResponseListSnapshots = { + encode(message: ResponseListSnapshots, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.snapshots) { + Snapshot.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseListSnapshots(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.snapshots.push(Snapshot.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseListSnapshots { + const message = createBaseResponseListSnapshots(); + message.snapshots = object.snapshots?.map(e => Snapshot.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseResponseOfferSnapshot(): ResponseOfferSnapshot { + return { + result: 0 + }; +} + +export const ResponseOfferSnapshot = { + encode(message: ResponseOfferSnapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseOfferSnapshot(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseOfferSnapshot { + const message = createBaseResponseOfferSnapshot(); + message.result = object.result ?? 0; + return message; + } + +}; + +function createBaseResponseLoadSnapshotChunk(): ResponseLoadSnapshotChunk { + return { + chunk: new Uint8Array() + }; +} + +export const ResponseLoadSnapshotChunk = { + encode(message: ResponseLoadSnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.chunk.length !== 0) { + writer.uint32(10).bytes(message.chunk); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseLoadSnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.chunk = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseLoadSnapshotChunk { + const message = createBaseResponseLoadSnapshotChunk(); + message.chunk = object.chunk ?? new Uint8Array(); + return message; + } + +}; + +function createBaseResponseApplySnapshotChunk(): ResponseApplySnapshotChunk { + return { + result: 0, + refetchChunks: [], + rejectSenders: [] + }; +} + +export const ResponseApplySnapshotChunk = { + encode(message: ResponseApplySnapshotChunk, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.result !== 0) { + writer.uint32(8).int32(message.result); + } + + writer.uint32(18).fork(); + + for (const v of message.refetchChunks) { + writer.uint32(v); + } + + writer.ldelim(); + + for (const v of message.rejectSenders) { + writer.uint32(26).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseResponseApplySnapshotChunk(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.result = (reader.int32() as any); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.refetchChunks.push(reader.uint32()); + } + } else { + message.refetchChunks.push(reader.uint32()); + } + + break; + + case 3: + message.rejectSenders.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ResponseApplySnapshotChunk { + const message = createBaseResponseApplySnapshotChunk(); + message.result = object.result ?? 0; + message.refetchChunks = object.refetchChunks?.map(e => e) || []; + message.rejectSenders = object.rejectSenders?.map(e => e) || []; + return message; + } + +}; + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusParams { + const message = createBaseConsensusParams(); + message.block = object.block !== undefined && object.block !== null ? BlockParams.fromPartial(object.block) : undefined; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + return message; + } + +}; + +function createBaseLastCommitInfo(): LastCommitInfo { + return { + round: 0, + votes: [] + }; +} + +export const LastCommitInfo = { + encode(message: LastCommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.round !== 0) { + writer.uint32(8).int32(message.round); + } + + for (const v of message.votes) { + VoteInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LastCommitInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLastCommitInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.round = reader.int32(); + break; + + case 2: + message.votes.push(VoteInfo.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): LastCommitInfo { + const message = createBaseLastCommitInfo(); + message.round = object.round ?? 0; + message.votes = object.votes?.map(e => VoteInfo.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEvent(): Event { + return { + type: "", + attributes: [] + }; +} + +export const Event = { + encode(message: Event, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== "") { + writer.uint32(10).string(message.type); + } + + for (const v of message.attributes) { + EventAttribute.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Event { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvent(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = reader.string(); + break; + + case 2: + message.attributes.push(EventAttribute.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Event { + const message = createBaseEvent(); + message.type = object.type ?? ""; + message.attributes = object.attributes?.map(e => EventAttribute.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseEventAttribute(): EventAttribute { + return { + key: new Uint8Array(), + value: new Uint8Array(), + index: false + }; +} + +export const EventAttribute = { + encode(message: EventAttribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.value.length !== 0) { + writer.uint32(18).bytes(message.value); + } + + if (message.index === true) { + writer.uint32(24).bool(message.index); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEventAttribute(); + + 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.index = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EventAttribute { + const message = createBaseEventAttribute(); + message.key = object.key ?? new Uint8Array(); + message.value = object.value ?? new Uint8Array(); + message.index = object.index ?? false; + return message; + } + +}; + +function createBaseTxResult(): TxResult { + return { + height: Long.ZERO, + index: 0, + tx: new Uint8Array(), + result: undefined + }; +} + +export const TxResult = { + encode(message: TxResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.index !== 0) { + writer.uint32(16).uint32(message.index); + } + + if (message.tx.length !== 0) { + writer.uint32(26).bytes(message.tx); + } + + if (message.result !== undefined) { + ResponseDeliverTx.encode(message.result, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxResult { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxResult(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.index = reader.uint32(); + break; + + case 3: + message.tx = reader.bytes(); + break; + + case 4: + message.result = ResponseDeliverTx.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxResult { + const message = createBaseTxResult(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.index = object.index ?? 0; + message.tx = object.tx ?? new Uint8Array(); + message.result = object.result !== undefined && object.result !== null ? ResponseDeliverTx.fromPartial(object.result) : undefined; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + power: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (!message.power.isZero()) { + writer.uint32(24).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 3: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorUpdate(): ValidatorUpdate { + return { + pubKey: undefined, + power: Long.ZERO + }; +} + +export const ValidatorUpdate = { + encode(message: ValidatorUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.power.isZero()) { + writer.uint32(16).int64(message.power); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorUpdate(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.power = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorUpdate { + const message = createBaseValidatorUpdate(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO; + return message; + } + +}; + +function createBaseVoteInfo(): VoteInfo { + return { + validator: undefined, + signedLastBlock: false + }; +} + +export const VoteInfo = { + encode(message: VoteInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); + } + + if (message.signedLastBlock === true) { + writer.uint32(16).bool(message.signedLastBlock); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVoteInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 2: + message.signedLastBlock = reader.bool(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): VoteInfo { + const message = createBaseVoteInfo(); + message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; + message.signedLastBlock = object.signedLastBlock ?? false; + return message; + } + +}; + +function createBaseEvidence(): Evidence { + return { + type: 0, + validator: undefined, + height: Long.ZERO, + time: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (message.validator !== undefined) { + Validator.encode(message.validator, writer.uint32(18).fork()).ldelim(); + } + + if (!message.height.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(40).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.validator = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.height = (reader.int64() as Long); + break; + + case 4: + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 5: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Evidence { + const message = createBaseEvidence(); + 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 ? Long.fromValue(object.height) : Long.ZERO; + message.time = object.time ?? undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseSnapshot(): Snapshot { + return { + height: Long.UZERO, + format: 0, + chunks: 0, + hash: new Uint8Array(), + metadata: new Uint8Array() + }; +} + +export const Snapshot = { + encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + 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.length !== 0) { + writer.uint32(42).bytes(message.metadata); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + 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 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Snapshot { + const message = createBaseSnapshot(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.UZERO; + message.format = object.format ?? 0; + message.chunks = object.chunks ?? 0; + message.hash = object.hash ?? new Uint8Array(); + message.metadata = object.metadata ?? new Uint8Array(); + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/bundle.ts b/examples/telescope/codegen/tendermint/bundle.ts new file mode 100644 index 000000000..22fa7923b --- /dev/null +++ b/examples/telescope/codegen/tendermint/bundle.ts @@ -0,0 +1,32 @@ +import * as _132 from "./abci/types"; +import * as _133 from "./crypto/keys"; +import * as _134 from "./crypto/proof"; +import * as _135 from "./libs/bits/types"; +import * as _136 from "./p2p/types"; +import * as _137 from "./types/block"; +import * as _138 from "./types/evidence"; +import * as _139 from "./types/params"; +import * as _140 from "./types/types"; +import * as _141 from "./types/validator"; +import * as _142 from "./version/types"; +export namespace tendermint { + export const abci = { ..._132 + }; + export const crypto = { ..._133, + ..._134 + }; + export namespace libs { + export const bits = { ..._135 + }; + } + export const p2p = { ..._136 + }; + export const types = { ..._137, + ..._138, + ..._139, + ..._140, + ..._141 + }; + export const version = { ..._142 + }; +} \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/keys.ts b/examples/telescope/codegen/tendermint/crypto/keys.ts new file mode 100644 index 000000000..c38413da3 --- /dev/null +++ b/examples/telescope/codegen/tendermint/crypto/keys.ts @@ -0,0 +1,68 @@ +import * as _m0 from "protobufjs/minimal"; +/** PublicKey defines the keys available for use with Tendermint Validators */ + +export interface PublicKey { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} +/** PublicKey defines the keys available for use with Tendermint Validators */ + +export interface PublicKeySDKType { + ed25519?: Uint8Array; + secp256k1?: Uint8Array; +} + +function createBasePublicKey(): PublicKey { + return { + ed25519: undefined, + secp256k1: undefined + }; +} + +export const PublicKey = { + encode(message: PublicKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.ed25519 !== undefined) { + writer.uint32(10).bytes(message.ed25519); + } + + if (message.secp256k1 !== undefined) { + writer.uint32(18).bytes(message.secp256k1); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePublicKey(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.ed25519 = reader.bytes(); + break; + + case 2: + message.secp256k1 = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PublicKey { + const message = createBasePublicKey(); + message.ed25519 = object.ed25519 ?? undefined; + message.secp256k1 = object.secp256k1 ?? undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/crypto/proof.ts b/examples/telescope/codegen/tendermint/crypto/proof.ts new file mode 100644 index 000000000..3c742f03e --- /dev/null +++ b/examples/telescope/codegen/tendermint/crypto/proof.ts @@ -0,0 +1,375 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +export interface Proof { + total: Long; + index: Long; + leafHash: Uint8Array; + aunts: Uint8Array[]; +} +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 | undefined; +} +export interface ValueOpSDKType { + /** Encoded in ProofOp.Key. */ + key: Uint8Array; + /** To encode in ProofOp.Data */ + + proof?: ProofSDKType | undefined; +} +export interface DominoOp { + key: string; + input: string; + output: string; +} +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; +} +/** + * 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[]; +} +/** ProofOps is Merkle proof defined by the list of ProofOps */ + +export interface ProofOpsSDKType { + ops: ProofOpSDKType[]; +} + +function createBaseProof(): Proof { + return { + total: Long.ZERO, + index: Long.ZERO, + leafHash: new Uint8Array(), + aunts: [] + }; +} + +export const Proof = { + encode(message: Proof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.total.isZero()) { + writer.uint32(8).int64(message.total); + } + + if (!message.index.isZero()) { + writer.uint32(16).int64(message.index); + } + + if (message.leafHash.length !== 0) { + writer.uint32(26).bytes(message.leafHash); + } + + for (const v of message.aunts) { + writer.uint32(34).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = (reader.int64() as Long); + break; + + case 2: + message.index = (reader.int64() as Long); + break; + + case 3: + message.leafHash = reader.bytes(); + break; + + case 4: + message.aunts.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Proof { + const message = createBaseProof(); + message.total = object.total !== undefined && object.total !== null ? Long.fromValue(object.total) : Long.ZERO; + message.index = object.index !== undefined && object.index !== null ? Long.fromValue(object.index) : Long.ZERO; + message.leafHash = object.leafHash ?? new Uint8Array(); + message.aunts = object.aunts?.map(e => e) || []; + return message; + } + +}; + +function createBaseValueOp(): ValueOp { + return { + key: new Uint8Array(), + proof: undefined + }; +} + +export const ValueOp = { + encode(message: ValueOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key.length !== 0) { + writer.uint32(10).bytes(message.key); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValueOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.bytes(); + break; + + case 2: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValueOp { + const message = createBaseValueOp(); + message.key = object.key ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseDominoOp(): DominoOp { + return { + key: "", + input: "", + output: "" + }; +} + +export const DominoOp = { + encode(message: DominoOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.key !== "") { + writer.uint32(10).string(message.key); + } + + if (message.input !== "") { + writer.uint32(18).string(message.input); + } + + if (message.output !== "") { + writer.uint32(26).string(message.output); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDominoOp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.key = reader.string(); + break; + + case 2: + message.input = reader.string(); + break; + + case 3: + message.output = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): DominoOp { + const message = createBaseDominoOp(); + message.key = object.key ?? ""; + message.input = object.input ?? ""; + message.output = object.output ?? ""; + return message; + } + +}; + +function createBaseProofOp(): ProofOp { + return { + type: "", + key: new Uint8Array(), + data: new Uint8Array() + }; +} + +export const ProofOp = { + encode(message: ProofOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): ProofOp { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; + +function createBaseProofOps(): ProofOps { + return { + ops: [] + }; +} + +export const ProofOps = { + encode(message: ProofOps, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.ops) { + ProofOp.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + fromPartial(object: Partial): ProofOps { + const message = createBaseProofOps(); + message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/libs/bits/types.ts b/examples/telescope/codegen/tendermint/libs/bits/types.ts new file mode 100644 index 000000000..46f450393 --- /dev/null +++ b/examples/telescope/codegen/tendermint/libs/bits/types.ts @@ -0,0 +1,77 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../../helpers"; +export interface BitArray { + bits: Long; + elems: Long[]; +} +export interface BitArraySDKType { + bits: Long; + elems: Long[]; +} + +function createBaseBitArray(): BitArray { + return { + bits: Long.ZERO, + elems: [] + }; +} + +export const BitArray = { + encode(message: BitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.bits.isZero()) { + writer.uint32(8).int64(message.bits); + } + + writer.uint32(18).fork(); + + for (const v of message.elems) { + writer.uint64(v); + } + + writer.ldelim(); + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BitArray { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBitArray(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.bits = (reader.int64() as Long); + break; + + case 2: + if ((tag & 7) === 2) { + const end2 = reader.uint32() + reader.pos; + + while (reader.pos < end2) { + message.elems.push((reader.uint64() as Long)); + } + } else { + message.elems.push((reader.uint64() as Long)); + } + + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BitArray { + const message = createBaseBitArray(); + message.bits = object.bits !== undefined && object.bits !== null ? Long.fromValue(object.bits) : Long.ZERO; + message.elems = object.elems?.map(e => Long.fromValue(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/p2p/types.ts b/examples/telescope/codegen/tendermint/p2p/types.ts new file mode 100644 index 000000000..9f412046d --- /dev/null +++ b/examples/telescope/codegen/tendermint/p2p/types.ts @@ -0,0 +1,438 @@ +import { Timestamp } from "../../google/protobuf/timestamp"; +import * as _m0 from "protobufjs/minimal"; +import { Long, toTimestamp, fromTimestamp } from "../../helpers"; +export interface ProtocolVersion { + p2p: Long; + block: Long; + app: Long; +} +export interface ProtocolVersionSDKType { + p2p: Long; + block: Long; + app: Long; +} +export interface NodeInfo { + protocolVersion?: ProtocolVersion | undefined; + nodeId: string; + listenAddr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other?: NodeInfoOther | undefined; +} +export interface NodeInfoSDKType { + protocol_version?: ProtocolVersionSDKType | undefined; + node_id: string; + listen_addr: string; + network: string; + version: string; + channels: Uint8Array; + moniker: string; + other?: NodeInfoOtherSDKType | undefined; +} +export interface NodeInfoOther { + txIndex: string; + rpcAddress: string; +} +export interface NodeInfoOtherSDKType { + tx_index: string; + rpc_address: string; +} +export interface PeerInfo { + id: string; + addressInfo: PeerAddressInfo[]; + lastConnected?: Date | undefined; +} +export interface PeerInfoSDKType { + id: string; + address_info: PeerAddressInfoSDKType[]; + last_connected?: Date | undefined; +} +export interface PeerAddressInfo { + address: string; + lastDialSuccess?: Date | undefined; + lastDialFailure?: Date | undefined; + dialFailures: number; +} +export interface PeerAddressInfoSDKType { + address: string; + last_dial_success?: Date | undefined; + last_dial_failure?: Date | undefined; + dial_failures: number; +} + +function createBaseProtocolVersion(): ProtocolVersion { + return { + p2p: Long.UZERO, + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const ProtocolVersion = { + encode(message: ProtocolVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.p2p.isZero()) { + writer.uint32(8).uint64(message.p2p); + } + + if (!message.block.isZero()) { + writer.uint32(16).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(24).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProtocolVersion(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.p2p = (reader.uint64() as Long); + break; + + case 2: + message.block = (reader.uint64() as Long); + break; + + case 3: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ProtocolVersion { + const message = createBaseProtocolVersion(); + message.p2p = object.p2p !== undefined && object.p2p !== null ? Long.fromValue(object.p2p) : Long.UZERO; + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; + +function createBaseNodeInfo(): NodeInfo { + return { + protocolVersion: undefined, + nodeId: "", + listenAddr: "", + network: "", + version: "", + channels: new Uint8Array(), + moniker: "", + other: undefined + }; +} + +export const NodeInfo = { + encode(message: NodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.protocolVersion !== undefined) { + ProtocolVersion.encode(message.protocolVersion, writer.uint32(10).fork()).ldelim(); + } + + if (message.nodeId !== "") { + writer.uint32(18).string(message.nodeId); + } + + if (message.listenAddr !== "") { + writer.uint32(26).string(message.listenAddr); + } + + if (message.network !== "") { + writer.uint32(34).string(message.network); + } + + if (message.version !== "") { + writer.uint32(42).string(message.version); + } + + if (message.channels.length !== 0) { + writer.uint32(50).bytes(message.channels); + } + + if (message.moniker !== "") { + writer.uint32(58).string(message.moniker); + } + + if (message.other !== undefined) { + NodeInfoOther.encode(message.other, writer.uint32(66).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocolVersion = ProtocolVersion.decode(reader, reader.uint32()); + break; + + case 2: + message.nodeId = reader.string(); + break; + + case 3: + message.listenAddr = reader.string(); + break; + + case 4: + message.network = reader.string(); + break; + + case 5: + message.version = reader.string(); + break; + + case 6: + message.channels = reader.bytes(); + break; + + case 7: + message.moniker = reader.string(); + break; + + case 8: + message.other = NodeInfoOther.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): NodeInfo { + const message = createBaseNodeInfo(); + message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; + message.nodeId = object.nodeId ?? ""; + message.listenAddr = object.listenAddr ?? ""; + message.network = object.network ?? ""; + message.version = object.version ?? ""; + message.channels = object.channels ?? new Uint8Array(); + message.moniker = object.moniker ?? ""; + message.other = object.other !== undefined && object.other !== null ? NodeInfoOther.fromPartial(object.other) : undefined; + return message; + } + +}; + +function createBaseNodeInfoOther(): NodeInfoOther { + return { + txIndex: "", + rpcAddress: "" + }; +} + +export const NodeInfoOther = { + encode(message: NodeInfoOther, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.txIndex !== "") { + writer.uint32(10).string(message.txIndex); + } + + if (message.rpcAddress !== "") { + writer.uint32(18).string(message.rpcAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfoOther { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseNodeInfoOther(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txIndex = reader.string(); + break; + + case 2: + message.rpcAddress = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): NodeInfoOther { + const message = createBaseNodeInfoOther(); + message.txIndex = object.txIndex ?? ""; + message.rpcAddress = object.rpcAddress ?? ""; + return message; + } + +}; + +function createBasePeerInfo(): PeerInfo { + return { + id: "", + addressInfo: [], + lastConnected: undefined + }; +} + +export const PeerInfo = { + encode(message: PeerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.id !== "") { + writer.uint32(10).string(message.id); + } + + for (const v of message.addressInfo) { + PeerAddressInfo.encode(v!, writer.uint32(18).fork()).ldelim(); + } + + if (message.lastConnected !== undefined) { + Timestamp.encode(toTimestamp(message.lastConnected), writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + + case 2: + message.addressInfo.push(PeerAddressInfo.decode(reader, reader.uint32())); + break; + + case 3: + message.lastConnected = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PeerInfo { + const message = createBasePeerInfo(); + message.id = object.id ?? ""; + message.addressInfo = object.addressInfo?.map(e => PeerAddressInfo.fromPartial(e)) || []; + message.lastConnected = object.lastConnected ?? undefined; + return message; + } + +}; + +function createBasePeerAddressInfo(): PeerAddressInfo { + return { + address: "", + lastDialSuccess: undefined, + lastDialFailure: undefined, + dialFailures: 0 + }; +} + +export const PeerAddressInfo = { + encode(message: PeerAddressInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address !== "") { + writer.uint32(10).string(message.address); + } + + if (message.lastDialSuccess !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialSuccess), writer.uint32(18).fork()).ldelim(); + } + + if (message.lastDialFailure !== undefined) { + Timestamp.encode(toTimestamp(message.lastDialFailure), writer.uint32(26).fork()).ldelim(); + } + + if (message.dialFailures !== 0) { + writer.uint32(32).uint32(message.dialFailures); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PeerAddressInfo { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePeerAddressInfo(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.address = reader.string(); + break; + + case 2: + message.lastDialSuccess = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 3: + message.lastDialFailure = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.dialFailures = reader.uint32(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PeerAddressInfo { + const message = createBasePeerAddressInfo(); + message.address = object.address ?? ""; + message.lastDialSuccess = object.lastDialSuccess ?? undefined; + message.lastDialFailure = object.lastDialFailure ?? undefined; + message.dialFailures = object.dialFailures ?? 0; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/block.ts b/examples/telescope/codegen/tendermint/types/block.ts new file mode 100644 index 000000000..b6f39fec9 --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/block.ts @@ -0,0 +1,90 @@ +import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; +import { EvidenceList, EvidenceListSDKType } from "./evidence"; +import * as _m0 from "protobufjs/minimal"; +export interface Block { + header?: Header | undefined; + data?: Data | undefined; + evidence?: EvidenceList | undefined; + lastCommit?: Commit | undefined; +} +export interface BlockSDKType { + header?: HeaderSDKType | undefined; + data?: DataSDKType | undefined; + evidence?: EvidenceListSDKType | undefined; + last_commit?: CommitSDKType | undefined; +} + +function createBaseBlock(): Block { + return { + header: undefined, + data: undefined, + evidence: undefined, + lastCommit: undefined + }; +} + +export const Block = { + encode(message: Block, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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: _m0.Reader | Uint8Array, length?: number): Block { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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; + }, + + 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; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/evidence.ts b/examples/telescope/codegen/tendermint/types/evidence.ts new file mode 100644 index 000000000..1e36496fb --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/evidence.ts @@ -0,0 +1,325 @@ +import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { Validator, ValidatorSDKType } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; +export interface Evidence { + duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; + lightClientAttackEvidence?: LightClientAttackEvidence | undefined; +} +export interface EvidenceSDKType { + duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType | undefined; + light_client_attack_evidence?: LightClientAttackEvidenceSDKType | undefined; +} +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ + +export interface DuplicateVoteEvidence { + voteA?: Vote | undefined; + voteB?: Vote | undefined; + totalVotingPower: Long; + validatorPower: Long; + timestamp?: Date | undefined; +} +/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ + +export interface DuplicateVoteEvidenceSDKType { + vote_a?: VoteSDKType | undefined; + vote_b?: VoteSDKType | undefined; + total_voting_power: Long; + validator_power: Long; + timestamp?: Date | undefined; +} +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + +export interface LightClientAttackEvidence { + conflictingBlock?: LightBlock | undefined; + commonHeight: Long; + byzantineValidators: Validator[]; + totalVotingPower: Long; + timestamp?: Date | undefined; +} +/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ + +export interface LightClientAttackEvidenceSDKType { + conflicting_block?: LightBlockSDKType | undefined; + common_height: Long; + byzantine_validators: ValidatorSDKType[]; + total_voting_power: Long; + timestamp?: Date | undefined; +} +export interface EvidenceList { + evidence: Evidence[]; +} +export interface EvidenceListSDKType { + evidence: EvidenceSDKType[]; +} + +function createBaseEvidence(): Evidence { + return { + duplicateVoteEvidence: undefined, + lightClientAttackEvidence: undefined + }; +} + +export const Evidence = { + encode(message: Evidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.duplicateVoteEvidence !== undefined) { + DuplicateVoteEvidence.encode(message.duplicateVoteEvidence, writer.uint32(10).fork()).ldelim(); + } + + if (message.lightClientAttackEvidence !== undefined) { + LightClientAttackEvidence.encode(message.lightClientAttackEvidence, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Evidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.duplicateVoteEvidence = DuplicateVoteEvidence.decode(reader, reader.uint32()); + break; + + case 2: + message.lightClientAttackEvidence = LightClientAttackEvidence.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Evidence { + const message = createBaseEvidence(); + message.duplicateVoteEvidence = object.duplicateVoteEvidence !== undefined && object.duplicateVoteEvidence !== null ? DuplicateVoteEvidence.fromPartial(object.duplicateVoteEvidence) : undefined; + message.lightClientAttackEvidence = object.lightClientAttackEvidence !== undefined && object.lightClientAttackEvidence !== null ? LightClientAttackEvidence.fromPartial(object.lightClientAttackEvidence) : undefined; + return message; + } + +}; + +function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { + return { + voteA: undefined, + voteB: undefined, + totalVotingPower: Long.ZERO, + validatorPower: Long.ZERO, + timestamp: undefined + }; +} + +export const DuplicateVoteEvidence = { + encode(message: DuplicateVoteEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.voteA !== undefined) { + Vote.encode(message.voteA, writer.uint32(10).fork()).ldelim(); + } + + if (message.voteB !== undefined) { + Vote.encode(message.voteB, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + if (!message.validatorPower.isZero()) { + writer.uint32(32).int64(message.validatorPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseDuplicateVoteEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.voteA = Vote.decode(reader, reader.uint32()); + break; + + case 2: + message.voteB = Vote.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 4: + message.validatorPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.validatorPower = object.validatorPower !== undefined && object.validatorPower !== null ? Long.fromValue(object.validatorPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { + return { + conflictingBlock: undefined, + commonHeight: Long.ZERO, + byzantineValidators: [], + totalVotingPower: Long.ZERO, + timestamp: undefined + }; +} + +export const LightClientAttackEvidence = { + encode(message: LightClientAttackEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.conflictingBlock !== undefined) { + LightBlock.encode(message.conflictingBlock, writer.uint32(10).fork()).ldelim(); + } + + if (!message.commonHeight.isZero()) { + writer.uint32(16).int64(message.commonHeight); + } + + for (const v of message.byzantineValidators) { + Validator.encode(v!, writer.uint32(26).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(32).int64(message.totalVotingPower); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightClientAttackEvidence(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.conflictingBlock = LightBlock.decode(reader, reader.uint32()); + break; + + case 2: + message.commonHeight = (reader.int64() as Long); + break; + + case 3: + message.byzantineValidators.push(Validator.decode(reader, reader.uint32())); + break; + + case 4: + message.totalVotingPower = (reader.int64() as Long); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Long.fromValue(object.commonHeight) : Long.ZERO; + message.byzantineValidators = object.byzantineValidators?.map(e => Validator.fromPartial(e)) || []; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + message.timestamp = object.timestamp ?? undefined; + return message; + } + +}; + +function createBaseEvidenceList(): EvidenceList { + return { + evidence: [] + }; +} + +export const EvidenceList = { + encode(message: EvidenceList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.evidence) { + Evidence.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceList(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.evidence.push(Evidence.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EvidenceList { + const message = createBaseEvidenceList(); + message.evidence = object.evidence?.map(e => Evidence.fromPartial(e)) || []; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/params.ts b/examples/telescope/codegen/tendermint/types/params.ts new file mode 100644 index 000000000..aa14cf61b --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/params.ts @@ -0,0 +1,521 @@ +import { Duration, DurationSDKType } from "../../google/protobuf/duration"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ + +export interface ConsensusParams { + block?: BlockParams | undefined; + evidence?: EvidenceParams | undefined; + validator?: ValidatorParams | undefined; + version?: VersionParams | undefined; +} +/** + * ConsensusParams contains consensus critical parameters that determine the + * validity of blocks. + */ + +export interface ConsensusParamsSDKType { + block?: BlockParamsSDKType | undefined; + evidence?: EvidenceParamsSDKType | undefined; + validator?: ValidatorParamsSDKType | undefined; + version?: VersionParamsSDKType | undefined; +} +/** 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; + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + + timeIotaMs: Long; +} +/** BlockParams contains limits on the block size. */ + +export interface BlockParamsSDKType { + /** + * Max block size, in bytes. + * Note: must be greater than 0 + */ + max_bytes: Long; + /** + * Max gas per block. + * Note: must be greater or equal to -1 + */ + + max_gas: Long; + /** + * Minimum time increment between consecutive blocks (in milliseconds) If the + * block header timestamp is ahead of the system clock, decrease this value. + * + * Not exposed to the application. + */ + + time_iota_ms: 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 | undefined; + /** + * 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; +} +/** EvidenceParams determine how we handle evidence of malfeasance. */ + +export interface EvidenceParamsSDKType { + /** + * Max age of evidence, in blocks. + * + * The basic formula for calculating this is: MaxAgeDuration / {average block + * time}. + */ + max_age_num_blocks: 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). + */ + + max_age_duration?: DurationSDKType | undefined; + /** + * 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: Long; +} +/** + * ValidatorParams restrict the public key types validators can use. + * NOTE: uses ABCI pubkey naming, not Amino names. + */ + +export interface ValidatorParams { + pubKeyTypes: string[]; +} +/** + * 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 { + appVersion: Long; +} +/** VersionParams contains the ABCI application version. */ + +export interface VersionParamsSDKType { + app_version: Long; +} +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ + +export interface HashedParams { + blockMaxBytes: Long; + blockMaxGas: Long; +} +/** + * HashedParams is a subset of ConsensusParams. + * + * It is hashed into the Header.ConsensusHash. + */ + +export interface HashedParamsSDKType { + block_max_bytes: Long; + block_max_gas: Long; +} + +function createBaseConsensusParams(): ConsensusParams { + return { + block: undefined, + evidence: undefined, + validator: undefined, + version: undefined + }; +} + +export const ConsensusParams = { + encode(message: ConsensusParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.block !== undefined) { + BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim(); + } + + if (message.evidence !== undefined) { + EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim(); + } + + if (message.validator !== undefined) { + ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim(); + } + + if (message.version !== undefined) { + VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensusParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = BlockParams.decode(reader, reader.uint32()); + break; + + case 2: + message.evidence = EvidenceParams.decode(reader, reader.uint32()); + break; + + case 3: + message.validator = ValidatorParams.decode(reader, reader.uint32()); + break; + + case 4: + message.version = VersionParams.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ConsensusParams { + const message = createBaseConsensusParams(); + message.block = object.block !== undefined && object.block !== null ? BlockParams.fromPartial(object.block) : undefined; + message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceParams.fromPartial(object.evidence) : undefined; + message.validator = object.validator !== undefined && object.validator !== null ? ValidatorParams.fromPartial(object.validator) : undefined; + message.version = object.version !== undefined && object.version !== null ? VersionParams.fromPartial(object.version) : undefined; + return message; + } + +}; + +function createBaseBlockParams(): BlockParams { + return { + maxBytes: Long.ZERO, + maxGas: Long.ZERO, + timeIotaMs: Long.ZERO + }; +} + +export const BlockParams = { + encode(message: BlockParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxBytes.isZero()) { + writer.uint32(8).int64(message.maxBytes); + } + + if (!message.maxGas.isZero()) { + writer.uint32(16).int64(message.maxGas); + } + + if (!message.timeIotaMs.isZero()) { + writer.uint32(24).int64(message.timeIotaMs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxBytes = (reader.int64() as Long); + break; + + case 2: + message.maxGas = (reader.int64() as Long); + break; + + case 3: + message.timeIotaMs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BlockParams { + const message = createBaseBlockParams(); + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + message.maxGas = object.maxGas !== undefined && object.maxGas !== null ? Long.fromValue(object.maxGas) : Long.ZERO; + message.timeIotaMs = object.timeIotaMs !== undefined && object.timeIotaMs !== null ? Long.fromValue(object.timeIotaMs) : Long.ZERO; + return message; + } + +}; + +function createBaseEvidenceParams(): EvidenceParams { + return { + maxAgeNumBlocks: Long.ZERO, + maxAgeDuration: undefined, + maxBytes: Long.ZERO + }; +} + +export const EvidenceParams = { + encode(message: EvidenceParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.maxAgeNumBlocks.isZero()) { + writer.uint32(8).int64(message.maxAgeNumBlocks); + } + + if (message.maxAgeDuration !== undefined) { + Duration.encode(message.maxAgeDuration, writer.uint32(18).fork()).ldelim(); + } + + if (!message.maxBytes.isZero()) { + writer.uint32(24).int64(message.maxBytes); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseEvidenceParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.maxAgeNumBlocks = (reader.int64() as Long); + break; + + case 2: + message.maxAgeDuration = Duration.decode(reader, reader.uint32()); + break; + + case 3: + message.maxBytes = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): EvidenceParams { + const message = createBaseEvidenceParams(); + message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? Long.fromValue(object.maxAgeNumBlocks) : Long.ZERO; + message.maxAgeDuration = object.maxAgeDuration !== undefined && object.maxAgeDuration !== null ? Duration.fromPartial(object.maxAgeDuration) : undefined; + message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? Long.fromValue(object.maxBytes) : Long.ZERO; + return message; + } + +}; + +function createBaseValidatorParams(): ValidatorParams { + return { + pubKeyTypes: [] + }; +} + +export const ValidatorParams = { + encode(message: ValidatorParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.pubKeyTypes) { + writer.uint32(10).string(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKeyTypes.push(reader.string()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorParams { + const message = createBaseValidatorParams(); + message.pubKeyTypes = object.pubKeyTypes?.map(e => e) || []; + return message; + } + +}; + +function createBaseVersionParams(): VersionParams { + return { + appVersion: Long.UZERO + }; +} + +export const VersionParams = { + encode(message: VersionParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.appVersion.isZero()) { + writer.uint32(8).uint64(message.appVersion); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVersionParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.appVersion = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): VersionParams { + const message = createBaseVersionParams(); + message.appVersion = object.appVersion !== undefined && object.appVersion !== null ? Long.fromValue(object.appVersion) : Long.UZERO; + return message; + } + +}; + +function createBaseHashedParams(): HashedParams { + return { + blockMaxBytes: Long.ZERO, + blockMaxGas: Long.ZERO + }; +} + +export const HashedParams = { + encode(message: HashedParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.blockMaxBytes.isZero()) { + writer.uint32(8).int64(message.blockMaxBytes); + } + + if (!message.blockMaxGas.isZero()) { + writer.uint32(16).int64(message.blockMaxGas); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseHashedParams(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockMaxBytes = (reader.int64() as Long); + break; + + case 2: + message.blockMaxGas = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): HashedParams { + const message = createBaseHashedParams(); + message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? Long.fromValue(object.blockMaxBytes) : Long.ZERO; + message.blockMaxGas = object.blockMaxGas !== undefined && object.blockMaxGas !== null ? Long.fromValue(object.blockMaxGas) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/types.ts b/examples/telescope/codegen/tendermint/types/types.ts new file mode 100644 index 000000000..ecac9fb1f --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/types.ts @@ -0,0 +1,1401 @@ +import { Proof, ProofSDKType } from "../crypto/proof"; +import { Consensus, ConsensusSDKType } from "../version/types"; +import { Timestamp } from "../../google/protobuf/timestamp"; +import { ValidatorSet, ValidatorSetSDKType } from "./validator"; +import * as _m0 from "protobufjs/minimal"; +import { toTimestamp, Long, fromTimestamp } from "../../helpers"; +/** BlockIdFlag indicates which BlcokID the signature is for */ + +export enum BlockIDFlag { + BLOCK_ID_FLAG_UNKNOWN = 0, + BLOCK_ID_FLAG_ABSENT = 1, + BLOCK_ID_FLAG_COMMIT = 2, + BLOCK_ID_FLAG_NIL = 3, + UNRECOGNIZED = -1, +} +/** BlockIdFlag indicates which BlcokID the signature is for */ + +export enum BlockIDFlagSDKType { + BLOCK_ID_FLAG_UNKNOWN = 0, + BLOCK_ID_FLAG_ABSENT = 1, + BLOCK_ID_FLAG_COMMIT = 2, + BLOCK_ID_FLAG_NIL = 3, + UNRECOGNIZED = -1, +} +export function blockIDFlagFromJSON(object: any): BlockIDFlag { + switch (object) { + case 0: + case "BLOCK_ID_FLAG_UNKNOWN": + return BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN; + + case 1: + case "BLOCK_ID_FLAG_ABSENT": + return BlockIDFlag.BLOCK_ID_FLAG_ABSENT; + + case 2: + case "BLOCK_ID_FLAG_COMMIT": + return BlockIDFlag.BLOCK_ID_FLAG_COMMIT; + + case 3: + case "BLOCK_ID_FLAG_NIL": + return BlockIDFlag.BLOCK_ID_FLAG_NIL; + + case -1: + case "UNRECOGNIZED": + default: + return BlockIDFlag.UNRECOGNIZED; + } +} +export function blockIDFlagToJSON(object: BlockIDFlag): string { + switch (object) { + case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN: + return "BLOCK_ID_FLAG_UNKNOWN"; + + case BlockIDFlag.BLOCK_ID_FLAG_ABSENT: + return "BLOCK_ID_FLAG_ABSENT"; + + case BlockIDFlag.BLOCK_ID_FLAG_COMMIT: + return "BLOCK_ID_FLAG_COMMIT"; + + case BlockIDFlag.BLOCK_ID_FLAG_NIL: + return "BLOCK_ID_FLAG_NIL"; + + case BlockIDFlag.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** SignedMsgType is a type of signed message in the consensus. */ + +export 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, +} +/** SignedMsgType is a type of signed message in the consensus. */ + +export enum SignedMsgTypeSDKType { + 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 function signedMsgTypeFromJSON(object: any): SignedMsgType { + switch (object) { + case 0: + case "SIGNED_MSG_TYPE_UNKNOWN": + return SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN; + + case 1: + case "SIGNED_MSG_TYPE_PREVOTE": + return SignedMsgType.SIGNED_MSG_TYPE_PREVOTE; + + case 2: + case "SIGNED_MSG_TYPE_PRECOMMIT": + return SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT; + + case 32: + case "SIGNED_MSG_TYPE_PROPOSAL": + return SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL; + + case -1: + case "UNRECOGNIZED": + default: + return SignedMsgType.UNRECOGNIZED; + } +} +export function signedMsgTypeToJSON(object: SignedMsgType): string { + switch (object) { + case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN: + return "SIGNED_MSG_TYPE_UNKNOWN"; + + case SignedMsgType.SIGNED_MSG_TYPE_PREVOTE: + return "SIGNED_MSG_TYPE_PREVOTE"; + + case SignedMsgType.SIGNED_MSG_TYPE_PRECOMMIT: + return "SIGNED_MSG_TYPE_PRECOMMIT"; + + case SignedMsgType.SIGNED_MSG_TYPE_PROPOSAL: + return "SIGNED_MSG_TYPE_PROPOSAL"; + + case SignedMsgType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} +/** PartsetHeader */ + +export interface PartSetHeader { + total: number; + hash: Uint8Array; +} +/** PartsetHeader */ + +export interface PartSetHeaderSDKType { + total: number; + hash: Uint8Array; +} +export interface Part { + index: number; + bytes: Uint8Array; + proof?: Proof | undefined; +} +export interface PartSDKType { + index: number; + bytes: Uint8Array; + proof?: ProofSDKType | undefined; +} +/** BlockID */ + +export interface BlockID { + hash: Uint8Array; + partSetHeader?: PartSetHeader | undefined; +} +/** BlockID */ + +export interface BlockIDSDKType { + hash: Uint8Array; + part_set_header?: PartSetHeaderSDKType | undefined; +} +/** Header defines the structure of a Tendermint block header. */ + +export interface Header { + /** basic block info */ + version?: Consensus | undefined; + chainId: string; + height: Long; + time?: Date | undefined; + /** prev block info */ + + lastBlockId?: BlockID | undefined; + /** 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; +} +/** Header defines the structure of a Tendermint block header. */ + +export interface HeaderSDKType { + /** basic block info */ + version?: ConsensusSDKType | undefined; + chain_id: string; + height: Long; + time?: Date | undefined; + /** prev block info */ + + last_block_id?: BlockIDSDKType | undefined; + /** 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; +} +/** 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[]; +} +/** Data contains the set of transactions included in the block */ + +export interface DataSDKType { + /** + * 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[]; +} +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ + +export interface Vote { + type: SignedMsgType; + height: Long; + round: number; + /** zero if vote is nil. */ + + blockId?: BlockID | undefined; + timestamp?: Date | undefined; + validatorAddress: Uint8Array; + validatorIndex: number; + signature: Uint8Array; +} +/** + * Vote represents a prevote, precommit, or commit vote from validators for + * consensus. + */ + +export interface VoteSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + /** zero if vote is nil. */ + + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; + 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 | undefined; + signatures: CommitSig[]; +} +/** Commit contains the evidence that a block was committed by a set of validators. */ + +export interface CommitSDKType { + height: Long; + round: number; + block_id?: BlockIDSDKType | undefined; + signatures: CommitSigSDKType[]; +} +/** CommitSig is a part of the Vote included in a Commit. */ + +export interface CommitSig { + blockIdFlag: BlockIDFlag; + validatorAddress: Uint8Array; + timestamp?: Date | undefined; + signature: Uint8Array; +} +/** CommitSig is a part of the Vote included in a Commit. */ + +export interface CommitSigSDKType { + block_id_flag: BlockIDFlagSDKType; + validator_address: Uint8Array; + timestamp?: Date | undefined; + signature: Uint8Array; +} +export interface Proposal { + type: SignedMsgType; + height: Long; + round: number; + polRound: number; + blockId?: BlockID | undefined; + timestamp?: Date | undefined; + signature: Uint8Array; +} +export interface ProposalSDKType { + type: SignedMsgTypeSDKType; + height: Long; + round: number; + pol_round: number; + block_id?: BlockIDSDKType | undefined; + timestamp?: Date | undefined; + signature: Uint8Array; +} +export interface SignedHeader { + header?: Header | undefined; + commit?: Commit | undefined; +} +export interface SignedHeaderSDKType { + header?: HeaderSDKType | undefined; + commit?: CommitSDKType | undefined; +} +export interface LightBlock { + signedHeader?: SignedHeader | undefined; + validatorSet?: ValidatorSet | undefined; +} +export interface LightBlockSDKType { + signed_header?: SignedHeaderSDKType | undefined; + validator_set?: ValidatorSetSDKType | undefined; +} +export interface BlockMeta { + blockId?: BlockID | undefined; + blockSize: Long; + header?: Header | undefined; + numTxs: Long; +} +export interface BlockMetaSDKType { + block_id?: BlockIDSDKType | undefined; + block_size: Long; + header?: HeaderSDKType | undefined; + 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 | undefined; +} +/** 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 | undefined; +} + +function createBasePartSetHeader(): PartSetHeader { + return { + total: 0, + hash: new Uint8Array() + }; +} + +export const PartSetHeader = { + encode(message: PartSetHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.total !== 0) { + writer.uint32(8).uint32(message.total); + } + + if (message.hash.length !== 0) { + writer.uint32(18).bytes(message.hash); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePartSetHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.total = reader.uint32(); + break; + + case 2: + message.hash = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): PartSetHeader { + const message = createBasePartSetHeader(); + message.total = object.total ?? 0; + message.hash = object.hash ?? new Uint8Array(); + return message; + } + +}; + +function createBasePart(): Part { + return { + index: 0, + bytes: new Uint8Array(), + proof: undefined + }; +} + +export const Part = { + encode(message: Part, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.index !== 0) { + writer.uint32(8).uint32(message.index); + } + + if (message.bytes.length !== 0) { + writer.uint32(18).bytes(message.bytes); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Part { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePart(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.index = reader.uint32(); + break; + + case 2: + message.bytes = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Part { + const message = createBasePart(); + message.index = object.index ?? 0; + message.bytes = object.bytes ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; + +function createBaseBlockID(): BlockID { + return { + hash: new Uint8Array(), + partSetHeader: undefined + }; +} + +export const BlockID = { + encode(message: BlockID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.hash.length !== 0) { + writer.uint32(10).bytes(message.hash); + } + + if (message.partSetHeader !== undefined) { + PartSetHeader.encode(message.partSetHeader, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockID { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockID(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.hash = reader.bytes(); + break; + + case 2: + message.partSetHeader = PartSetHeader.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BlockID { + const message = createBaseBlockID(); + message.hash = object.hash ?? new Uint8Array(); + message.partSetHeader = object.partSetHeader !== undefined && object.partSetHeader !== null ? PartSetHeader.fromPartial(object.partSetHeader) : undefined; + return message; + } + +}; + +function createBaseHeader(): Header { + return { + version: undefined, + chainId: "", + height: Long.ZERO, + time: undefined, + lastBlockId: undefined, + 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: new Uint8Array() + }; +} + +export const Header = { + encode(message: Header, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + 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.isZero()) { + writer.uint32(24).int64(message.height); + } + + if (message.time !== undefined) { + Timestamp.encode(toTimestamp(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.length !== 0) { + writer.uint32(114).bytes(message.proposerAddress); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Header { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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() as Long); + break; + + case 4: + message.time = fromTimestamp(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.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + 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 ? Long.fromValue(object.height) : Long.ZERO; + 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(); + 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 ?? new Uint8Array(); + return message; + } + +}; + +function createBaseData(): Data { + return { + txs: [] + }; +} + +export const Data = { + encode(message: Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.txs) { + writer.uint32(10).bytes(v!); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Data { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseData(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.txs.push(reader.bytes()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Data { + const message = createBaseData(); + message.txs = object.txs?.map(e => e) || []; + return message; + } + +}; + +function createBaseVote(): Vote { + return { + type: 0, + height: Long.ZERO, + round: 0, + blockId: undefined, + timestamp: undefined, + validatorAddress: new Uint8Array(), + validatorIndex: 0, + signature: new Uint8Array() + }; +} + +export const Vote = { + encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(50).bytes(message.validatorAddress); + } + + if (message.validatorIndex !== 0) { + writer.uint32(56).int32(message.validatorIndex); + } + + if (message.signature.length !== 0) { + writer.uint32(66).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Vote { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseVote(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 5: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 6: + message.validatorAddress = reader.bytes(); + break; + + case 7: + message.validatorIndex = reader.int32(); + break; + + case 8: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Vote { + const message = createBaseVote(); + message.type = object.type ?? 0; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.timestamp = object.timestamp ?? undefined; + message.validatorAddress = object.validatorAddress ?? new Uint8Array(); + message.validatorIndex = object.validatorIndex ?? 0; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseCommit(): Commit { + return { + height: Long.ZERO, + round: 0, + blockId: undefined, + signatures: [] + }; +} + +export const Commit = { + encode(message: Commit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.height.isZero()) { + writer.uint32(8).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(16).int32(message.round); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(26).fork()).ldelim(); + } + + for (const v of message.signatures) { + CommitSig.encode(v!, writer.uint32(34).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Commit { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommit(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.height = (reader.int64() as Long); + break; + + case 2: + message.round = reader.int32(); + break; + + case 3: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 4: + message.signatures.push(CommitSig.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Commit { + const message = createBaseCommit(); + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + message.round = object.round ?? 0; + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.signatures = object.signatures?.map(e => CommitSig.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseCommitSig(): CommitSig { + return { + blockIdFlag: 0, + validatorAddress: new Uint8Array(), + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const CommitSig = { + encode(message: CommitSig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockIdFlag !== 0) { + writer.uint32(8).int32(message.blockIdFlag); + } + + if (message.validatorAddress.length !== 0) { + writer.uint32(18).bytes(message.validatorAddress); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(34).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseCommitSig(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockIdFlag = (reader.int32() as any); + break; + + case 2: + message.validatorAddress = reader.bytes(); + break; + + case 3: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 4: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): CommitSig { + const message = createBaseCommitSig(); + message.blockIdFlag = object.blockIdFlag ?? 0; + message.validatorAddress = object.validatorAddress ?? new Uint8Array(); + message.timestamp = object.timestamp ?? undefined; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseProposal(): Proposal { + return { + type: 0, + height: Long.ZERO, + round: 0, + polRound: 0, + blockId: undefined, + timestamp: undefined, + signature: new Uint8Array() + }; +} + +export const Proposal = { + encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.type !== 0) { + writer.uint32(8).int32(message.type); + } + + if (!message.height.isZero()) { + writer.uint32(16).int64(message.height); + } + + if (message.round !== 0) { + writer.uint32(24).int32(message.round); + } + + if (message.polRound !== 0) { + writer.uint32(32).int32(message.polRound); + } + + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim(); + } + + if (message.timestamp !== undefined) { + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim(); + } + + if (message.signature.length !== 0) { + writer.uint32(58).bytes(message.signature); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseProposal(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.type = (reader.int32() as any); + break; + + case 2: + message.height = (reader.int64() as Long); + break; + + case 3: + message.round = reader.int32(); + break; + + case 4: + message.polRound = reader.int32(); + break; + + case 5: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 6: + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + break; + + case 7: + message.signature = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Proposal { + const message = createBaseProposal(); + message.type = object.type ?? 0; + message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO; + 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; + message.signature = object.signature ?? new Uint8Array(); + return message; + } + +}; + +function createBaseSignedHeader(): SignedHeader { + return { + header: undefined, + commit: undefined + }; +} + +export const SignedHeader = { + encode(message: SignedHeader, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(10).fork()).ldelim(); + } + + if (message.commit !== undefined) { + Commit.encode(message.commit, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSignedHeader(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 2: + message.commit = Commit.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SignedHeader { + const message = createBaseSignedHeader(); + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.commit = object.commit !== undefined && object.commit !== null ? Commit.fromPartial(object.commit) : undefined; + return message; + } + +}; + +function createBaseLightBlock(): LightBlock { + return { + signedHeader: undefined, + validatorSet: undefined + }; +} + +export const LightBlock = { + encode(message: LightBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.signedHeader !== undefined) { + SignedHeader.encode(message.signedHeader, writer.uint32(10).fork()).ldelim(); + } + + if (message.validatorSet !== undefined) { + ValidatorSet.encode(message.validatorSet, writer.uint32(18).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseLightBlock(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.signedHeader = SignedHeader.decode(reader, reader.uint32()); + break; + + case 2: + message.validatorSet = ValidatorSet.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): LightBlock { + const message = createBaseLightBlock(); + message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; + message.validatorSet = object.validatorSet !== undefined && object.validatorSet !== null ? ValidatorSet.fromPartial(object.validatorSet) : undefined; + return message; + } + +}; + +function createBaseBlockMeta(): BlockMeta { + return { + blockId: undefined, + blockSize: Long.ZERO, + header: undefined, + numTxs: Long.ZERO + }; +} + +export const BlockMeta = { + encode(message: BlockMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.blockId !== undefined) { + BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); + } + + if (!message.blockSize.isZero()) { + writer.uint32(16).int64(message.blockSize); + } + + if (message.header !== undefined) { + Header.encode(message.header, writer.uint32(26).fork()).ldelim(); + } + + if (!message.numTxs.isZero()) { + writer.uint32(32).int64(message.numTxs); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseBlockMeta(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.blockId = BlockID.decode(reader, reader.uint32()); + break; + + case 2: + message.blockSize = (reader.int64() as Long); + break; + + case 3: + message.header = Header.decode(reader, reader.uint32()); + break; + + case 4: + message.numTxs = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): BlockMeta { + const message = createBaseBlockMeta(); + message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; + message.blockSize = object.blockSize !== undefined && object.blockSize !== null ? Long.fromValue(object.blockSize) : Long.ZERO; + message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; + message.numTxs = object.numTxs !== undefined && object.numTxs !== null ? Long.fromValue(object.numTxs) : Long.ZERO; + return message; + } + +}; + +function createBaseTxProof(): TxProof { + return { + rootHash: new Uint8Array(), + data: new Uint8Array(), + proof: undefined + }; +} + +export const TxProof = { + encode(message: TxProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.rootHash.length !== 0) { + writer.uint32(10).bytes(message.rootHash); + } + + if (message.data.length !== 0) { + writer.uint32(18).bytes(message.data); + } + + if (message.proof !== undefined) { + Proof.encode(message.proof, writer.uint32(26).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TxProof { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTxProof(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.rootHash = reader.bytes(); + break; + + case 2: + message.data = reader.bytes(); + break; + + case 3: + message.proof = Proof.decode(reader, reader.uint32()); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): TxProof { + const message = createBaseTxProof(); + message.rootHash = object.rootHash ?? new Uint8Array(); + message.data = object.data ?? new Uint8Array(); + message.proof = object.proof !== undefined && object.proof !== null ? Proof.fromPartial(object.proof) : undefined; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/types/validator.ts b/examples/telescope/codegen/tendermint/types/validator.ts new file mode 100644 index 000000000..17c07b8c5 --- /dev/null +++ b/examples/telescope/codegen/tendermint/types/validator.ts @@ -0,0 +1,228 @@ +import { PublicKey, PublicKeySDKType } from "../crypto/keys"; +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +export interface ValidatorSet { + validators: Validator[]; + proposer?: Validator | undefined; + totalVotingPower: Long; +} +export interface ValidatorSetSDKType { + validators: ValidatorSDKType[]; + proposer?: ValidatorSDKType | undefined; + total_voting_power: Long; +} +export interface Validator { + address: Uint8Array; + pubKey?: PublicKey | undefined; + votingPower: Long; + proposerPriority: Long; +} +export interface ValidatorSDKType { + address: Uint8Array; + pub_key?: PublicKeySDKType | undefined; + voting_power: Long; + proposer_priority: Long; +} +export interface SimpleValidator { + pubKey?: PublicKey | undefined; + votingPower: Long; +} +export interface SimpleValidatorSDKType { + pub_key?: PublicKeySDKType | undefined; + voting_power: Long; +} + +function createBaseValidatorSet(): ValidatorSet { + return { + validators: [], + proposer: undefined, + totalVotingPower: Long.ZERO + }; +} + +export const ValidatorSet = { + encode(message: ValidatorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.validators) { + Validator.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + if (message.proposer !== undefined) { + Validator.encode(message.proposer, writer.uint32(18).fork()).ldelim(); + } + + if (!message.totalVotingPower.isZero()) { + writer.uint32(24).int64(message.totalVotingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseValidatorSet(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.validators.push(Validator.decode(reader, reader.uint32())); + break; + + case 2: + message.proposer = Validator.decode(reader, reader.uint32()); + break; + + case 3: + message.totalVotingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): ValidatorSet { + const message = createBaseValidatorSet(); + message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; + message.proposer = object.proposer !== undefined && object.proposer !== null ? Validator.fromPartial(object.proposer) : undefined; + message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? Long.fromValue(object.totalVotingPower) : Long.ZERO; + return message; + } + +}; + +function createBaseValidator(): Validator { + return { + address: new Uint8Array(), + pubKey: undefined, + votingPower: Long.ZERO, + proposerPriority: Long.ZERO + }; +} + +export const Validator = { + encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.address.length !== 0) { + writer.uint32(10).bytes(message.address); + } + + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(24).int64(message.votingPower); + } + + if (!message.proposerPriority.isZero()) { + writer.uint32(32).int64(message.proposerPriority); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Validator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(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.bytes(); + break; + + case 2: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 3: + message.votingPower = (reader.int64() as Long); + break; + + case 4: + message.proposerPriority = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Validator { + const message = createBaseValidator(); + message.address = object.address ?? new Uint8Array(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? Long.fromValue(object.proposerPriority) : Long.ZERO; + return message; + } + +}; + +function createBaseSimpleValidator(): SimpleValidator { + return { + pubKey: undefined, + votingPower: Long.ZERO + }; +} + +export const SimpleValidator = { + encode(message: SimpleValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.pubKey !== undefined) { + PublicKey.encode(message.pubKey, writer.uint32(10).fork()).ldelim(); + } + + if (!message.votingPower.isZero()) { + writer.uint32(16).int64(message.votingPower); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseSimpleValidator(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.pubKey = PublicKey.decode(reader, reader.uint32()); + break; + + case 2: + message.votingPower = (reader.int64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): SimpleValidator { + const message = createBaseSimpleValidator(); + message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; + message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? Long.fromValue(object.votingPower) : Long.ZERO; + return message; + } + +}; \ No newline at end of file diff --git a/examples/telescope/codegen/tendermint/version/types.ts b/examples/telescope/codegen/tendermint/version/types.ts new file mode 100644 index 000000000..69add730b --- /dev/null +++ b/examples/telescope/codegen/tendermint/version/types.ts @@ -0,0 +1,152 @@ +import * as _m0 from "protobufjs/minimal"; +import { Long } from "../../helpers"; +/** + * 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; +} +/** + * 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; +} +/** + * 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; +} + +function createBaseApp(): App { + return { + protocol: Long.UZERO, + software: "" + }; +} + +export const App = { + encode(message: App, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.protocol.isZero()) { + writer.uint32(8).uint64(message.protocol); + } + + if (message.software !== "") { + writer.uint32(18).string(message.software); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): App { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseApp(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.protocol = (reader.uint64() as Long); + break; + + case 2: + message.software = reader.string(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): App { + const message = createBaseApp(); + message.protocol = object.protocol !== undefined && object.protocol !== null ? Long.fromValue(object.protocol) : Long.UZERO; + message.software = object.software ?? ""; + return message; + } + +}; + +function createBaseConsensus(): Consensus { + return { + block: Long.UZERO, + app: Long.UZERO + }; +} + +export const Consensus = { + encode(message: Consensus, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (!message.block.isZero()) { + writer.uint32(8).uint64(message.block); + } + + if (!message.app.isZero()) { + writer.uint32(16).uint64(message.app); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Consensus { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseConsensus(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.block = (reader.uint64() as Long); + break; + + case 2: + message.app = (reader.uint64() as Long); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: Partial): Consensus { + const message = createBaseConsensus(); + message.block = object.block !== undefined && object.block !== null ? Long.fromValue(object.block) : Long.UZERO; + message.app = object.app !== undefined && object.app !== null ? Long.fromValue(object.app) : Long.UZERO; + return message; + } + +}; \ No newline at end of file From ea15be139d752f1b69f064b6a12ee2e2dbbed035 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 16:55:55 -0800 Subject: [PATCH 243/262] pkg --- examples/telescope/package.json | 3 ++- yarn.lock | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/examples/telescope/package.json b/examples/telescope/package.json index f25c65e44..7fb870fab 100644 --- a/examples/telescope/package.json +++ b/examples/telescope/package.json @@ -28,6 +28,7 @@ "@emotion/react": "11.10.5", "@emotion/styled": "11.10.5", "@osmonauts/lcd": "^0.8.0", + "@tanstack/react-query": "4.16.1", "bignumber.js": "9.1.0", "chain-registry": "1.5.0", "framer-motion": "7.6.5", @@ -50,4 +51,4 @@ "generate-lockfile": "0.0.12", "typescript": "4.8.4" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 4d225a4ca..e382eb4e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5679,6 +5679,19 @@ lodash.merge "^4.6.2" postcss-selector-parser "6.0.10" +"@tanstack/query-core@4.15.1": + version "4.15.1" + resolved "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.15.1.tgz#a282f04fe5e612b50019e1cfaf0efabd220e00ce" + integrity sha512-+UfqJsNbPIVo0a9ANW0ZxtjiMfGLaaoIaL9vZeVycvmBuWywJGtSi7fgPVMCPdZQFOzMsaXaOsDtSKQD5xLRVQ== + +"@tanstack/react-query@4.16.1": + version "4.16.1" + resolved "https://registry.npmjs.org/@tanstack/react-query/-/react-query-4.16.1.tgz#077006b8eb2c87fbe8d1597c1a0083a2d218b791" + integrity sha512-PDE9u49wSDykPazlCoLFevUpceLjQ0Mm8i6038HgtTEKb/aoVnUZdlUP7C392ds3Cd75+EGlHU7qpEX06R7d9Q== + dependencies: + "@tanstack/query-core" "4.15.1" + use-sync-external-store "^1.2.0" + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" @@ -13173,7 +13186,7 @@ use-sidecar@^1.1.2: detect-node-es "^1.1.0" tslib "^2.0.0" -use-sync-external-store@1.2.0: +use-sync-external-store@1.2.0, use-sync-external-store@^1.2.0: version "1.2.0" resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== From 078062d2641061d0b3db5474292f6aaf415cec33 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 16:56:12 -0800 Subject: [PATCH 244/262] react-query hook --- .../bank/v1beta1/query.rpc.react-query.ts | 33 +++++++++++++++++++ .../telescope/codegen/cosmos/rpc.hooks.ts | 17 ++++++++++ 2 files changed, 50 insertions(+) create mode 100644 examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts create mode 100644 examples/telescope/codegen/cosmos/rpc.hooks.ts diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts new file mode 100644 index 000000000..0882f599d --- /dev/null +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts @@ -0,0 +1,33 @@ +import { Rpc } from "../../../helpers"; +import * as _m0 from "protobufjs/minimal"; +import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; +import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; +import { QueryClientImpl } from "./query.rpc.Query"; + +import { + useQuery, + UseQueryOptions, +} from '@tanstack/react-query'; + +interface ReactQueryParams { + options?: UseQueryOptions; +} + +export interface UseBalanceQuery extends ReactQueryParams { + args: QueryBalanceRequest; +} + +export const createRpcQueryHooks = (base: QueryClient) => { + const rpc = createProtobufRpcClient(base); + const queryService = new QueryClientImpl(rpc); + return { + useBalance({ + args, + options + }) { + return useQuery(["queryBalance", args], () => { + return queryService.balance(args) + }, options); + } + }; +}; \ No newline at end of file diff --git a/examples/telescope/codegen/cosmos/rpc.hooks.ts b/examples/telescope/codegen/cosmos/rpc.hooks.ts new file mode 100644 index 000000000..65bb81d6e --- /dev/null +++ b/examples/telescope/codegen/cosmos/rpc.hooks.ts @@ -0,0 +1,17 @@ +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; +export const createRPCQueryHooks = async ({ + rpcEndpoint +}: { + rpcEndpoint: string | HttpEndpoint; +}) => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + const client = new QueryClient(tmClient); + return { + cosmos: { + bank: { + v1beta1: (await import("./bank/v1beta1/query.rpc.react-query")).createRpcQueryHooks(client) + } + } + }; +}; \ No newline at end of file From a475f57c78683cdf4432331cda7ca6146615fdde Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 17:33:38 -0800 Subject: [PATCH 245/262] bundle --- examples/telescope/codegen/cosmos/bundle.ts | 127 +++++++++++++------- 1 file changed, 85 insertions(+), 42 deletions(-) diff --git a/examples/telescope/codegen/cosmos/bundle.ts b/examples/telescope/codegen/cosmos/bundle.ts index df6d01da1..f98764adb 100644 --- a/examples/telescope/codegen/cosmos/bundle.ts +++ b/examples/telescope/codegen/cosmos/bundle.ts @@ -170,16 +170,19 @@ import * as _219 from "./vesting/v1beta1/tx.rpc.msg"; import * as _246 from "./lcd"; import * as _247 from "./rpc.query"; import * as _248 from "./rpc.tx"; +import * as _hooks from "./rpc.hooks"; export namespace cosmos { export namespace app { - export const v1alpha1 = { ..._2, + export const v1alpha1 = { + ..._2, ..._3, ..._4, ..._188 }; } export namespace auth { - export const v1beta1 = { ..._5, + export const v1beta1 = { + ..._5, ..._6, ..._7, ..._171, @@ -187,7 +190,8 @@ export namespace cosmos { }; } export namespace authz { - export const v1beta1 = { ..._8, + export const v1beta1 = { + ..._8, ..._9, ..._10, ..._11, @@ -200,7 +204,8 @@ export namespace cosmos { }; } export namespace bank { - export const v1beta1 = { ..._13, + export const v1beta1 = { + ..._13, ..._14, ..._15, ..._16, @@ -214,48 +219,59 @@ export namespace cosmos { } export namespace base { export namespace abci { - export const v1beta1 = { ..._18 + export const v1beta1 = { + ..._18 }; } export namespace kv { - export const v1beta1 = { ..._19 + export const v1beta1 = { + ..._19 }; } export namespace query { - export const v1beta1 = { ..._20 + export const v1beta1 = { + ..._20 }; } export namespace reflection { - export const v1beta1 = { ..._21 + export const v1beta1 = { + ..._21 }; - export const v2alpha1 = { ..._22 + export const v2alpha1 = { + ..._22 }; } export namespace snapshots { - export const v1beta1 = { ..._23 + export const v1beta1 = { + ..._23 }; } export namespace store { - export const v1beta1 = { ..._24, + export const v1beta1 = { + ..._24, ..._25 }; } export namespace tendermint { - export const v1beta1 = { ..._26, + export const v1beta1 = { + ..._26, ..._174, ..._192 }; } - export const v1beta1 = { ..._27 + export const v1beta1 = { + ..._27 }; } export namespace capability { - export const v1beta1 = { ..._28, + export const v1beta1 = { + ..._28, ..._29 }; } export namespace crisis { - export const v1beta1 = { ..._30, + export const v1beta1 = { + ..._30, ..._31, ..._145, ..._159, @@ -263,25 +279,32 @@ export namespace cosmos { }; } export namespace crypto { - export const ed25519 = { ..._32 + export const ed25519 = { + ..._32 }; export namespace hd { - export const v1 = { ..._33 + export const v1 = { + ..._33 }; } export namespace keyring { - export const v1 = { ..._34 + export const v1 = { + ..._34 }; } - export const multisig = { ..._35 + export const multisig = { + ..._35 }; - export const secp256k1 = { ..._36 + export const secp256k1 = { + ..._36 }; - export const secp256r1 = { ..._37 + export const secp256r1 = { + ..._37 }; } export namespace distribution { - export const v1beta1 = { ..._38, + export const v1beta1 = { + ..._38, ..._39, ..._40, ..._41, @@ -293,7 +316,8 @@ export namespace cosmos { }; } export namespace evidence { - export const v1beta1 = { ..._42, + export const v1beta1 = { + ..._42, ..._43, ..._44, ..._45, @@ -305,7 +329,8 @@ export namespace cosmos { }; } export namespace feegrant { - export const v1beta1 = { ..._46, + export const v1beta1 = { + ..._46, ..._47, ..._48, ..._49, @@ -317,11 +342,13 @@ export namespace cosmos { }; } export namespace genutil { - export const v1beta1 = { ..._50 + export const v1beta1 = { + ..._50 }; } export namespace gov { - export const v1 = { ..._51, + export const v1 = { + ..._51, ..._52, ..._53, ..._54, @@ -331,7 +358,8 @@ export namespace cosmos { ..._196, ..._212 }; - export const v1beta1 = { ..._55, + export const v1beta1 = { + ..._55, ..._56, ..._57, ..._58, @@ -343,7 +371,8 @@ export namespace cosmos { }; } export namespace group { - export const v1 = { ..._59, + export const v1 = { + ..._59, ..._60, ..._61, ..._62, @@ -356,7 +385,8 @@ export namespace cosmos { }; } export namespace mint { - export const v1beta1 = { ..._64, + export const v1beta1 = { + ..._64, ..._65, ..._66, ..._181, @@ -364,11 +394,13 @@ export namespace cosmos { }; } export namespace msg { - export const v1 = { ..._67 + export const v1 = { + ..._67 }; } export namespace nft { - export const v1beta1 = { ..._68, + export const v1beta1 = { + ..._68, ..._69, ..._70, ..._71, @@ -381,20 +413,24 @@ export namespace cosmos { }; } export namespace orm { - export const v1 = { ..._73 + export const v1 = { + ..._73 }; - export const v1alpha1 = { ..._74 + export const v1alpha1 = { + ..._74 }; } export namespace params { - export const v1beta1 = { ..._75, + export const v1beta1 = { + ..._75, ..._76, ..._183, ..._201 }; } export namespace slashing { - export const v1beta1 = { ..._77, + export const v1beta1 = { + ..._77, ..._78, ..._79, ..._80, @@ -406,7 +442,8 @@ export namespace cosmos { }; } export namespace staking { - export const v1beta1 = { ..._81, + export const v1beta1 = { + ..._81, ..._82, ..._83, ..._84, @@ -420,17 +457,20 @@ export namespace cosmos { } export namespace tx { export namespace signing { - export const v1beta1 = { ..._86 + export const v1beta1 = { + ..._86 }; } - export const v1beta1 = { ..._87, + export const v1beta1 = { + ..._87, ..._88, ..._186, ..._204 }; } export namespace upgrade { - export const v1beta1 = { ..._89, + export const v1beta1 = { + ..._89, ..._90, ..._91, ..._155, @@ -441,15 +481,18 @@ export namespace cosmos { }; } export namespace vesting { - export const v1beta1 = { ..._92, + export const v1beta1 = { + ..._92, ..._93, ..._156, ..._170, ..._219 }; } - export const ClientFactory = { ..._246, + export const ClientFactory = { + ..._246, ..._247, - ..._248 + ..._248, + ..._hooks }; } \ No newline at end of file From 42f9bcc21f7e2a9039faec9c161bdf1ced3a902f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 17:38:20 -0800 Subject: [PATCH 246/262] add test --- examples/telescope/pages/test.tsx | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/telescope/pages/test.tsx diff --git a/examples/telescope/pages/test.tsx b/examples/telescope/pages/test.tsx new file mode 100644 index 000000000..fbe350383 --- /dev/null +++ b/examples/telescope/pages/test.tsx @@ -0,0 +1,6 @@ +import { cosmos } from '../codegen' + +const client = await cosmos.ClientFactory.createRPCQueryHooks({ rpcEndpoint }); +const data = client.cosmos.bank.v1beta1.useBalance({ + +}) \ No newline at end of file From 47242ce57eda1dc85820d25ecb7d7eb8911f1eb0 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 17:50:17 -0800 Subject: [PATCH 247/262] typed --- .../codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts index 0882f599d..574dcc3e7 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts @@ -24,7 +24,7 @@ export const createRpcQueryHooks = (base: QueryClient) => { useBalance({ args, options - }) { + }: UseBalanceQuery) { return useQuery(["queryBalance", args], () => { return queryService.balance(args) }, options); From 4a0908614933f37d75d15caf3300f2dab2bcc6d5 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 17:51:29 -0800 Subject: [PATCH 248/262] req --- .../codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts index 574dcc3e7..eb09c5000 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts @@ -14,7 +14,7 @@ interface ReactQueryParams { } export interface UseBalanceQuery extends ReactQueryParams { - args: QueryBalanceRequest; + request: QueryBalanceRequest; } export const createRpcQueryHooks = (base: QueryClient) => { @@ -22,11 +22,11 @@ export const createRpcQueryHooks = (base: QueryClient) => { const queryService = new QueryClientImpl(rpc); return { useBalance({ - args, + request, options }: UseBalanceQuery) { - return useQuery(["queryBalance", args], () => { - return queryService.balance(args) + return useQuery(["queryBalance", request], () => { + return queryService.balance(request) }, options); } }; From bcdfcbe00da6c06ba2d959103c21c4b676dce96a Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Thu, 17 Nov 2022 17:58:15 -0800 Subject: [PATCH 249/262] test --- examples/telescope/pages/index.tsx | 11 +++++++++++ examples/telescope/pages/test.tsx | 6 ------ 2 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 examples/telescope/pages/test.tsx diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index 376ef93d8..d29dae7d5 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -108,6 +108,17 @@ export default function Home() { rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; } + + const hooks = await cosmos.ClientFactory.createRPCQueryHooks({ rpcEndpoint }); + const hookData = hooks.cosmos.bank.v1beta1.useBalance({ + request: { + address, + denom: chainassets?.assets[0].base as string + } + }); + + console.log(hookData); + // get RPC client const client = await cosmos.ClientFactory.createRPCQueryClient({ rpcEndpoint, diff --git a/examples/telescope/pages/test.tsx b/examples/telescope/pages/test.tsx deleted file mode 100644 index fbe350383..000000000 --- a/examples/telescope/pages/test.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { cosmos } from '../codegen' - -const client = await cosmos.ClientFactory.createRPCQueryHooks({ rpcEndpoint }); -const data = client.cosmos.bank.v1beta1.useBalance({ - -}) \ No newline at end of file From f5b9d64dbb4313881487f7655d4c4df6a7624d83 Mon Sep 17 00:00:00 2001 From: adairrr <32375605+adairrr@users.noreply.github.com> Date: Fri, 18 Nov 2022 13:31:26 -0800 Subject: [PATCH 250/262] Update react-query example with hook factory --- .../telescope-with-contracts/next-env.d.ts | 5 + .../bank/v1beta1/query.rpc.react-query.ts | 78 ++++--- .../telescope/codegen/cosmos/rpc.hooks.ts | 14 +- examples/telescope/pages/_app.tsx | 23 +- examples/telescope/pages/index.tsx | 198 +++++++----------- 5 files changed, 162 insertions(+), 156 deletions(-) create mode 100644 examples/telescope-with-contracts/next-env.d.ts diff --git a/examples/telescope-with-contracts/next-env.d.ts b/examples/telescope-with-contracts/next-env.d.ts new file mode 100644 index 000000000..4f11a03dc --- /dev/null +++ b/examples/telescope-with-contracts/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts index eb09c5000..58017cbce 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts @@ -1,33 +1,63 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -import { QueryClientImpl } from "./query.rpc.Query"; +import { Rpc } from '../../../helpers' +import * as _m0 from 'protobufjs/minimal' +import { QueryClient, createProtobufRpcClient } from '@cosmjs/stargate' +import { + QueryBalanceRequest, + QueryBalanceResponse, + QueryAllBalancesRequest, + QueryAllBalancesResponse, + QuerySpendableBalancesRequest, + QuerySpendableBalancesResponse, + QueryTotalSupplyRequest, + QueryTotalSupplyResponse, + QuerySupplyOfRequest, + QuerySupplyOfResponse, + QueryParamsRequest, + QueryParamsResponse, + QueryDenomMetadataRequest, + QueryDenomMetadataResponse, + QueryDenomsMetadataRequest, + QueryDenomsMetadataResponse, + QueryDenomOwnersRequest, + QueryDenomOwnersResponse, +} from './query' +import { QueryClientImpl } from './query.rpc.Query' + +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; import { - useQuery, - UseQueryOptions, -} from '@tanstack/react-query'; + useQuery, + UseQueryOptions, +} from '@tanstack/react-query' interface ReactQueryParams { - options?: UseQueryOptions; + options?: UseQueryOptions; } export interface UseBalanceQuery extends ReactQueryParams { - request: QueryBalanceRequest; + request: QueryBalanceRequest; +} + +export const createRpcQueryHooks = (rpcEndpoint: string | HttpEndpoint) => { + const useBalance = ({ + request, + options, + }: UseBalanceQuery) => + useQuery(['queryBalance', request], async () => { + const tmClient = await Tendermint34Client.connect(rpcEndpoint) + //@ts-ignore + const client = new QueryClient(tmClient) + + const rpc = createProtobufRpcClient(client) + const queryService = new QueryClientImpl(rpc) + + return queryService.balance(request) + }, options) + + + return { + useBalance + } } -export const createRpcQueryHooks = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - useBalance({ - request, - options - }: UseBalanceQuery) { - return useQuery(["queryBalance", request], () => { - return queryService.balance(request) - }, options); - } - }; -}; \ No newline at end of file +export default createRpcQueryHooks diff --git a/examples/telescope/codegen/cosmos/rpc.hooks.ts b/examples/telescope/codegen/cosmos/rpc.hooks.ts index 65bb81d6e..75e8cc3ac 100644 --- a/examples/telescope/codegen/cosmos/rpc.hooks.ts +++ b/examples/telescope/codegen/cosmos/rpc.hooks.ts @@ -1,17 +1,19 @@ +import React from 'react' + import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; -import { QueryClient } from "@cosmjs/stargate"; -export const createRPCQueryHooks = async ({ +// We can't use async imports +import { createRpcQueryHooks as createHooks } from './bank/v1beta1/query.rpc.react-query' + +export const createRPCQueryHooks = ({ rpcEndpoint }: { rpcEndpoint: string | HttpEndpoint; }) => { - const tmClient = await Tendermint34Client.connect(rpcEndpoint); - const client = new QueryClient(tmClient); return { cosmos: { bank: { - v1beta1: (await import("./bank/v1beta1/query.rpc.react-query")).createRpcQueryHooks(client) + v1beta1: createHooks(rpcEndpoint) } } }; -}; \ No newline at end of file +}; diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 1319b30ad..1b6da4ba8 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -6,6 +6,8 @@ import { defaultTheme, chainName } from '../config'; import { wallets as keplrWallets } from '@cosmos-kit/keplr'; import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation'; import { wallets as leapWallets } from '@cosmos-kit/leap'; +import { QueryClientProvider, QueryClient } from '@tanstack/react-query'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; @@ -14,6 +16,8 @@ import { SignerOptions } from '@cosmos-kit/core'; import { Chain } from '@chain-registry/types'; import { GasPrice } from '@cosmjs/stargate'; +const queryClient = new QueryClient(); + function CreateCosmosApp({ Component, pageProps }: AppProps) { const signerOptions: SignerOptions = { signingStargate: (_chain: Chain) => { @@ -39,14 +43,17 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { return ( - - - + + + + + + ); } diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index d29dae7d5..c2ebd04ad 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -1,161 +1,126 @@ -import { useState } from "react"; -import Head from "next/head"; -import { useWallet } from "@cosmos-kit/react"; -import { StdFee } from "@cosmjs/amino"; -import { SigningStargateClient } from "@cosmjs/stargate"; -import BigNumber from "bignumber.js"; +import { useState } from 'react' +import Head from 'next/head' +import { useWallet } from '@cosmos-kit/react' +import { StdFee } from '@cosmjs/amino' +import { SigningStargateClient } from '@cosmjs/stargate' +import BigNumber from 'bignumber.js' import { Box, + Button, + Center, + Container, Divider, + Flex, Grid, Heading, - Text, - Stack, - Container, - Link, - Button, - Flex, Icon, + Link, + Stack, + Text, useColorMode, - Center, -} from "@chakra-ui/react"; -import { BsFillMoonStarsFill, BsFillSunFill } from "react-icons/bs"; -import { - chainassets, - chainName, - coin, - dependencies, - products, -} from "../config"; + useColorModeValue, +} from '@chakra-ui/react' +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs' +import { chainassets, chainName, coin, dependencies, products } from '../config' -import { WalletStatus } from "@cosmos-kit/core"; -import { - Product, - Dependency, - WalletSection, - handleChangeColorModeValue, -} from "../components"; -import { SendTokensCard } from "../components/react/send-tokens-card"; +import { WalletStatus } from '@cosmos-kit/core' +import { Dependency, handleChangeColorModeValue, Product, WalletSection } from '../components' +import { SendTokensCard } from '../components/react/send-tokens-card' -import { cosmos } from '../codegen'; +import { cosmos } from '../codegen' const library = { title: 'Telescope', text: 'telescope', - href: 'https://github.com/osmosis-labs/telescope' -}; + href: 'https://github.com/osmosis-labs/telescope', +} const sendTokens = ( getSigningStargateClient: () => Promise, setResp: (resp: string) => any, - address: string + address: string, ) => { return async () => { - const stargateClient = await getSigningStargateClient(); + const stargateClient = await getSigningStargateClient() if (!stargateClient || !address) { - console.error("stargateClient undefined or address undefined."); - return; + console.error('stargateClient undefined or address undefined.') + return } - const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; + const {send} = cosmos.bank.v1beta1.MessageComposer.withTypeUrl const msg = send({ amount: [ { denom: coin.base, - amount: "1000", + amount: '1000', }, ], toAddress: address, fromAddress: address, - }); + }) const fee: StdFee = { amount: [ { denom: coin.base, - amount: "2000", + amount: '2000', }, ], - gas: "86364", - }; - const response = await stargateClient.signAndBroadcast(address, [msg], fee); - setResp(JSON.stringify(response, null, 2)); - }; -}; - -export default function Home() { - const { colorMode, toggleColorMode } = useColorMode(); - - const { getSigningStargateClient, address, walletStatus, getRpcEndpoint } = - useWallet(); - - const [balance, setBalance] = useState(new BigNumber(0)); - const [isFetchingBalance, setFetchingBalance] = useState(false); - const [resp, setResp] = useState(""); - const getBalance = async () => { - if (!address) { - setBalance(new BigNumber(0)); - setFetchingBalance(false); - return; + gas: '86364', } + const response = await stargateClient.signAndBroadcast(address, [msg], fee) + setResp(JSON.stringify(response, null, 2)) + } +} - let rpcEndpoint = await getRpcEndpoint(); - - if (!rpcEndpoint) { - console.log("no rpc endpoint — using a fallback"); - rpcEndpoint = `https://rpc.cosmos.directory/${chainName}`; - } +// Get the display exponent +// we can get the exponent from chain registry asset denom_units +const COIN_DISPLAY_EXPONENT = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number +export default function Home() { + const {colorMode, toggleColorMode} = useColorMode() - const hooks = await cosmos.ClientFactory.createRPCQueryHooks({ rpcEndpoint }); - const hookData = hooks.cosmos.bank.v1beta1.useBalance({ - request: { - address, - denom: chainassets?.assets[0].base as string - } - }); + const {getSigningStargateClient, address, walletStatus, getRpcEndpoint} = + useWallet() - console.log(hookData); + const [resp, setResp] = useState('') - // get RPC client - const client = await cosmos.ClientFactory.createRPCQueryClient({ - rpcEndpoint, - }); + // this could be CONST + const cosmosHooks = cosmos.ClientFactory.createRPCQueryHooks({rpcEndpoint: `https://rpc.cosmos.directory/${chainName}`}) - // fetch balance - const balance = await client.cosmos.bank.v1beta1.balance({ - address, + const { + data: balance, + isSuccess: isBalanceLoaded, + isLoading: isFetchingBalance, + refetch: refetchBalance, + } = cosmosHooks.cosmos.bank.v1beta1.useBalance({ + request: { + address: address || '', denom: chainassets?.assets[0].base as string, - }); - - // Get the display exponent - // we can get the exponent from chain registry asset denom_units - const exp = coin.denom_units.find((unit) => unit.denom === coin.display) - ?.exponent as number; - - // show balance in display values by exponentiating it - const a = new BigNumber(balance.balance.amount); - const amount = a.multipliedBy(10 ** -exp); - setBalance(amount); - setFetchingBalance(false); - }; + }, + options: { + enabled: !!address, + // transform the returned balance into a BigNumber + select: ({balance}) => new BigNumber(balance?.amount ?? 0).multipliedBy(10 ** -COIN_DISPLAY_EXPONENT), + }, + }) return ( Create Cosmos App - - + + @@ -163,7 +128,7 @@ export default function Home() { @@ -172,15 +137,15 @@ export default function Home() { Welcome to  CosmosKit + Next.js +  @@ -191,34 +156,31 @@ export default function Home() { - +
Promise, setResp as () => any, - address as string + address as string, )} - handleClickGetBalance={() => { - setFetchingBalance(true); - getBalance(); - }} + handleClickGetBalance={refetchBalance} />
- + ))} - + {dependencies.map((dependency) => ( @@ -235,7 +197,7 @@ export default function Home() { - +
- ); + ) } From 0ab7afcfd3100563b796574ba834d1e950f3ccfc Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 18 Nov 2022 17:04:11 -0800 Subject: [PATCH 251/262] rpc --- .../bank/v1beta1/query.rpc.react-query.ts | 76 +++++++++---------- examples/telescope/codegen/helpers.ts | 65 +++++++++++----- examples/telescope/pages/_app.tsx | 4 +- examples/telescope/pages/index.tsx | 34 +++++---- 4 files changed, 105 insertions(+), 74 deletions(-) diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts index 58017cbce..70588ff04 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.react-query.ts @@ -1,63 +1,55 @@ -import { Rpc } from '../../../helpers' +import { getRpcClient } from '../../../helpers' import * as _m0 from 'protobufjs/minimal' -import { QueryClient, createProtobufRpcClient } from '@cosmjs/stargate' import { - QueryBalanceRequest, - QueryBalanceResponse, - QueryAllBalancesRequest, - QueryAllBalancesResponse, - QuerySpendableBalancesRequest, - QuerySpendableBalancesResponse, - QueryTotalSupplyRequest, - QueryTotalSupplyResponse, - QuerySupplyOfRequest, - QuerySupplyOfResponse, - QueryParamsRequest, - QueryParamsResponse, - QueryDenomMetadataRequest, - QueryDenomMetadataResponse, - QueryDenomsMetadataRequest, - QueryDenomsMetadataResponse, - QueryDenomOwnersRequest, - QueryDenomOwnersResponse, + QueryBalanceRequest, + QueryBalanceResponse, + QueryAllBalancesRequest, + QueryAllBalancesResponse, + QuerySpendableBalancesRequest, + QuerySpendableBalancesResponse, + QueryTotalSupplyRequest, + QueryTotalSupplyResponse, + QuerySupplyOfRequest, + QuerySupplyOfResponse, + QueryParamsRequest, + QueryParamsResponse, + QueryDenomMetadataRequest, + QueryDenomMetadataResponse, + QueryDenomsMetadataRequest, + QueryDenomsMetadataResponse, + QueryDenomOwnersRequest, + QueryDenomOwnersResponse, } from './query' import { QueryClientImpl } from './query.rpc.Query' -import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; +import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; import { - useQuery, - UseQueryOptions, + useQuery, + UseQueryOptions, } from '@tanstack/react-query' interface ReactQueryParams { - options?: UseQueryOptions; + options?: UseQueryOptions; } export interface UseBalanceQuery extends ReactQueryParams { - request: QueryBalanceRequest; + request: QueryBalanceRequest; } export const createRpcQueryHooks = (rpcEndpoint: string | HttpEndpoint) => { - const useBalance = ({ + const useBalance = ({ request, options, - }: UseBalanceQuery) => - useQuery(['queryBalance', request], async () => { - const tmClient = await Tendermint34Client.connect(rpcEndpoint) - //@ts-ignore - const client = new QueryClient(tmClient) - - const rpc = createProtobufRpcClient(client) - const queryService = new QueryClientImpl(rpc) - - return queryService.balance(request) - }, options) - - - return { - useBalance - } + }: UseBalanceQuery) => + useQuery(['queryBalance', request], async () => { + const rpc = await getRpcClient(rpcEndpoint) + const queryService = new QueryClientImpl(rpc) + return queryService.balance(request) + }, options) + return { + useBalance + } } export default createRpcQueryHooks diff --git a/examples/telescope/codegen/helpers.ts b/examples/telescope/codegen/helpers.ts index cea1e8f12..c3dbd11c9 100644 --- a/examples/telescope/codegen/helpers.ts +++ b/examples/telescope/codegen/helpers.ts @@ -3,7 +3,11 @@ * 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 { QueryClient, createProtobufRpcClient, ProtobufRpcClient } from '@cosmjs/stargate' +import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; + + import * as _m0 from "protobufjs/minimal"; import Long from 'long'; @@ -146,11 +150,11 @@ export const setPaginationParams = (options: Params, pagination?: PageRequest) = options.params['pagination.key'] = Buffer.from(pagination.key).toString('base64'); } if (typeof pagination?.limit !== "undefined") { - options.params["pagination.limit"] = pagination.limit.toString() + options.params["pagination.limit"] = pagination.limit.toString() } if (typeof pagination?.offset !== "undefined") { - options.params["pagination.offset"] = pagination.offset.toString() - } + options.params["pagination.offset"] = pagination.offset.toString() + } if (typeof pagination?.reverse !== "undefined") { options.params['pagination.reverse'] = pagination.reverse; } @@ -219,22 +223,49 @@ const fromJSON = (object: any): Timestamp => { }; const timestampFromJSON = (object: any): Timestamp => { - return { - seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, - nanos: isSet(object.nanos) ? Number(object.nanos) : 0, - }; + return { + seconds: isSet(object.seconds) ? Long.fromValue(object.seconds) : Long.ZERO, + nanos: isSet(object.nanos) ? Number(object.nanos) : 0, + }; } - + export function fromJsonTimestamp(o: any): Timestamp { - if (o instanceof Date) { - return toTimestamp(o); - } else if (typeof o === "string") { - return toTimestamp(new Date(o)); - } else { - return timestampFromJSON(o); - } + if (o instanceof Date) { + return toTimestamp(o); + } else if (typeof o === "string") { + return toTimestamp(new Date(o)); + } else { + return timestampFromJSON(o); + } } - + function numberToLong(number: number) { return Long.fromNumber(number); } + +const _rpcClients: Record = {}; +export const getRpcClient = async (rpcEndpoint: string | HttpEndpoint) => { + if (typeof rpcEndpoint === 'string' && + _rpcClients.hasOwnProperty(rpcEndpoint)) { + return _rpcClients[rpcEndpoint]; + } else if ( + //@ts-ignore + _rpcClients.hasOwnProperty(rpcEndpoint.url) + ) { + //@ts-ignore + return _rpcClients[rpcEndpoint.url]; + } + + const tmClient = await Tendermint34Client.connect(rpcEndpoint); + //@ts-ignore + const client = new QueryClient(tmClient); + const rpc = createProtobufRpcClient(client); + + if (typeof rpcEndpoint === 'string') { + _rpcClients[rpcEndpoint] = rpc; + } else { + //@ts-ignore + _rpcClients[rpcEndpoint.url] = rpc; + } + return rpc; +} diff --git a/examples/telescope/pages/_app.tsx b/examples/telescope/pages/_app.tsx index 1b6da4ba8..7965c2d75 100644 --- a/examples/telescope/pages/_app.tsx +++ b/examples/telescope/pages/_app.tsx @@ -7,7 +7,7 @@ import { wallets as keplrWallets } from '@cosmos-kit/keplr'; import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation'; import { wallets as leapWallets } from '@cosmos-kit/leap'; import { QueryClientProvider, QueryClient } from '@tanstack/react-query'; -import { ReactQueryDevtools } from '@tanstack/react-query-devtools' +// import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { chains, assets } from 'chain-registry'; import { getSigningCosmosClientOptions } from '../codegen'; @@ -52,7 +52,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) { > - + {/* */} ); diff --git a/examples/telescope/pages/index.tsx b/examples/telescope/pages/index.tsx index c2ebd04ad..e9c3a93f5 100644 --- a/examples/telescope/pages/index.tsx +++ b/examples/telescope/pages/index.tsx @@ -48,7 +48,7 @@ const sendTokens = ( return } - const {send} = cosmos.bank.v1beta1.MessageComposer.withTypeUrl + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl const msg = send({ amount: [ @@ -81,15 +81,15 @@ const COIN_DISPLAY_EXPONENT = coin.denom_units.find((unit) => unit.denom === coi ?.exponent as number export default function Home() { - const {colorMode, toggleColorMode} = useColorMode() + const { colorMode, toggleColorMode } = useColorMode() - const {getSigningStargateClient, address, walletStatus, getRpcEndpoint} = + const { getSigningStargateClient, address, walletStatus, getRpcEndpoint } = useWallet() const [resp, setResp] = useState('') // this could be CONST - const cosmosHooks = cosmos.ClientFactory.createRPCQueryHooks({rpcEndpoint: `https://rpc.cosmos.directory/${chainName}`}) + const cosmosHooks = cosmos.ClientFactory.createRPCQueryHooks({ rpcEndpoint: `https://rpc.cosmos.directory/${chainName}` }) const { data: balance, @@ -104,16 +104,24 @@ export default function Home() { options: { enabled: !!address, // transform the returned balance into a BigNumber - select: ({balance}) => new BigNumber(balance?.amount ?? 0).multipliedBy(10 ** -COIN_DISPLAY_EXPONENT), + select: ({ balance }) => new BigNumber(balance?.amount ?? 0).multipliedBy(10 ** -COIN_DISPLAY_EXPONENT), }, }) + console.log(JSON.stringify({ + address, + balance, + isBalanceLoaded, + isFetchingBalance, + refetchBalance + }, null, 2)) + return ( Create Cosmos App - - + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js +  + + {library.title} + + + + + + + +
+ Promise, + setResp as () => any, + address as string, + )} + handleClickGetBalance={refetchBalance} + /> +
+ + + + + + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency) => ( + + ))} + + + + + + + Built with + + Cosmology + + +
+ ) +} diff --git a/examples/telescope/pages/recoil.tsx b/examples/telescope/pages/recoil.tsx new file mode 100644 index 000000000..f92fb8114 --- /dev/null +++ b/examples/telescope/pages/recoil.tsx @@ -0,0 +1,220 @@ +import { useState } from 'react' +import Head from 'next/head' +import { useWallet } from '@cosmos-kit/react' +import { StdFee } from '@cosmjs/amino' +import { SigningStargateClient } from '@cosmjs/stargate' +import BigNumber from 'bignumber.js' + +import { + Box, + Button, + Center, + Container, + Divider, + Flex, + Grid, + Heading, + Icon, + Link, + Stack, + Text, + useColorMode, + useColorModeValue, +} from '@chakra-ui/react' +import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs' +import { chainassets, coin, dependencies, products } from '../config' + +import { WalletStatus } from '@cosmos-kit/core' +import { Dependency, handleChangeColorModeValue, Product, WalletSection } from '../components' +import { SendTokensCard } from '../components/react/send-tokens-card' + +import { cosmos, createRecoilSelectors, selectors } from '../codegen' +import { useRpcClient } from '../codegen' +import { useRecoilValue } from 'recoil' + +const library = { + title: 'Telescope', + text: 'telescope', + href: 'https://github.com/osmosis-labs/telescope', +} + +const sendTokens = ( + getSigningStargateClient: () => Promise, + setResp: (resp: string) => any, + address: string, +) => { + return async () => { + const stargateClient = await getSigningStargateClient() + if (!stargateClient || !address) { + console.error('stargateClient undefined or address undefined.') + return + } + + const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl + + const msg = send({ + amount: [ + { + denom: coin.base, + amount: '1000', + }, + ], + toAddress: address, + fromAddress: address, + }) + + const fee: StdFee = { + amount: [ + { + denom: coin.base, + amount: '2000', + }, + ], + gas: '86364', + } + const response = await stargateClient.signAndBroadcast(address, [msg], fee) + setResp(JSON.stringify(response, null, 2)) + } +} + +// Get the display exponent +// we can get the exponent from chain registry asset denom_units +const COIN_DISPLAY_EXPONENT = coin.denom_units.find((unit) => unit.denom === coin.display) + ?.exponent as number + +export default function Home() { + const { colorMode, toggleColorMode } = useColorMode() + + const { getSigningStargateClient, address, walletStatus, getRpcEndpoint } = useWallet() + + const [resp, setResp] = useState('') + + const rpcEndpoint = 'https://rpc.cosmos.directory/cosmoshub'; + // const cosmosSelectors = createRecoilSelectors({ rpc: rpcClient }) + + const request = { + address: address || '', + denom: chainassets?.assets[0].base as string, + }; + + const isBalanceLoaded = true; + const isFetchingBalance = false; + const refetchBalance = () => { }; + + const balance = useRecoilValue(selectors.cosmos.bank.v1beta1.balance({ + rpcEndpoint, + request + })) + + // const balance = BigNumber('1') + + return ( + + + Create Cosmos App + + + + + + + + + Create Cosmos App + + + Welcome to  + + CosmosKit + Next.js +  + + {library.title} + + + + + + + +
+ Promise, + setResp as () => any, + address as string, + )} + handleClickGetBalance={refetchBalance} + /> +
+ + + + + + {products.map((product) => ( + + ))} + + + + {dependencies.map((dependency) => ( + + ))} + + + + + + + Built with + + Cosmology + + +
+ ) +} diff --git a/yarn.lock b/yarn.lock index a10ad49ec..cb082072c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8015,6 +8015,11 @@ graphemesplit@^2.4.1: js-base64 "^3.6.0" unicode-trie "^2.0.0" +hamt_plus@1.0.2: + version "1.0.2" + resolved "https://registry.npmjs.org/hamt_plus/-/hamt_plus-1.0.2.tgz#e21c252968c7e33b20f6a1b094cd85787a265601" + integrity sha512-t2JXKaehnMb9paaYA7J0BX8QQAY8lwfQ9Gjf4pg/mk4krt+cmwmU652HOoWonf+7+EQV97ARPMhhVgU1ra2GhA== + handlebars@^4.7.7: version "4.7.7" resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -11230,6 +11235,13 @@ rechoir@^0.6.2: dependencies: resolve "^1.1.6" +recoil@0.7.6: + version "0.7.6" + resolved "https://registry.npmjs.org/recoil/-/recoil-0.7.6.tgz#75297ecd70bbfeeb72e861aa6141a86bb6dfcd5e" + integrity sha512-hsBEw7jFdpBCY/tu2GweiyaqHKxVj6EqF2/SfrglbKvJHhpN57SANWvPW+gE90i3Awi+A5gssOd3u+vWlT+g7g== + dependencies: + hamt_plus "1.0.2" + redent@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" From 8999c30a5a93a67fcbfa94885937da0444a28339 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 25 Nov 2022 15:58:31 -0800 Subject: [PATCH 261/262] async --- .../telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts index 3bd0c3ac1..bca89cf02 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts @@ -369,9 +369,8 @@ export const balance = selectorFamily key: 'balance', get: ({ rpcEndpoint, request }) => async () => { if (!rpcEndpoint) throw new Error("no rpc endpoint"); - const rpc = getRpcClient(rpcEndpoint); + const rpc = await getRpcClient(rpcEndpoint); if (!rpc) throw new Error("RPC not initialized"); - // @ts-ignore const queryService = getQueryService(rpc); if (!queryService) throw new Error("Query Service not initialized"); return await queryService.balance(request); From b5fc42045927693fc61ea9cbe29b6627222e895f Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 25 Nov 2022 16:33:35 -0800 Subject: [PATCH 262/262] wip --- .../cosmos/bank/v1beta1/query.rpc.Query.ts | 38 ++++++++++++++++--- examples/telescope/pages/recoil.tsx | 7 ++-- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts index bca89cf02..4bee3507e 100644 --- a/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +++ b/examples/telescope/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts @@ -365,14 +365,42 @@ type BalanceSelectorType = { request: SelectorMapper }; +type AllBalancesSelectorType = { + rpcEndpoint: string; + request: SelectorMapper +}; + + +export const rpcClientSelector = selectorFamily({ + key: 'rpcClientSelector', + get: (rpcEndpoint: string) => async () => + await getRpcClient(rpcEndpoint) +}) + +export const rpcQueryService = selectorFamily({ + key: 'rpcQueryService', + get: (rpcEndpoint: string) => async ({ get }) => { + const rpc = get(rpcClientSelector(rpcEndpoint)); + const queryService = getQueryService(rpc); + return queryService; + }, +}); + export const balance = selectorFamily({ key: 'balance', - get: ({ rpcEndpoint, request }) => async () => { - if (!rpcEndpoint) throw new Error("no rpc endpoint"); - const rpc = await getRpcClient(rpcEndpoint); - if (!rpc) throw new Error("RPC not initialized"); - const queryService = getQueryService(rpc); + get: ({ rpcEndpoint, request }) => async ({ get }) => { + const queryService = get(rpcQueryService(rpcEndpoint)) if (!queryService) throw new Error("Query Service not initialized"); return await queryService.balance(request); }, +}); + + +export const allBalances = selectorFamily({ + key: 'allBalances', + get: ({ rpcEndpoint, request }) => async ({ get }) => { + const queryService = get(rpcQueryService(rpcEndpoint)) + if (!queryService) throw new Error("Query Service not initialized"); + return await queryService.allBalances(request); + }, }); \ No newline at end of file diff --git a/examples/telescope/pages/recoil.tsx b/examples/telescope/pages/recoil.tsx index f92fb8114..99d7fa091 100644 --- a/examples/telescope/pages/recoil.tsx +++ b/examples/telescope/pages/recoil.tsx @@ -28,8 +28,7 @@ import { WalletStatus } from '@cosmos-kit/core' import { Dependency, handleChangeColorModeValue, Product, WalletSection } from '../components' import { SendTokensCard } from '../components/react/send-tokens-card' -import { cosmos, createRecoilSelectors, selectors } from '../codegen' -import { useRpcClient } from '../codegen' +import { cosmos, selectors } from '../codegen' import { useRecoilValue } from 'recoil' const library = { @@ -93,7 +92,7 @@ export default function Home() { // const cosmosSelectors = createRecoilSelectors({ rpc: rpcClient }) const request = { - address: address || '', + address: address || 'cosmos144sh8vyv5nqfylmg4mlydnpe3l4w780jsrmf4k', denom: chainassets?.assets[0].base as string, }; @@ -161,7 +160,7 @@ export default function Home() {